Amit Upadhyay

Results 74 issues of Amit Upadhyay

If current package has `l1(default)` and `l2`, and `l3` was requested, and current package imports some package with all three, `l1` gets selected even for the imported package.

``` -- component footer: ds: design-system -- footer.ds.section-column: ds: $footer.ds -- ftd.image: src: https://www.fifthtry.com/-/fifthtry.com/assets/images/logo-ycom-dark.svg -- end: footer.ds.section-column -- end: footer ``` Leads to error in `-- end: footer.ds.section-column` line.

If the component definition does not use the property, required property acts like optional property.

```ftd -- component hero: module ds: design-system -- hero.ds.section-row: hero section ds: $hero.ds ;; this doesn't work ;; margin.px: $hero.ds.spaces.vertical-gap.extra-extra-large.gap ;; following both work ;; margin.px: 128 margin.px: $design-system.spaces.vertical-gap.extra-extra-large.gap .....

```ftd -- component basic-header: module design-system: ds ftd.length.px margin: $basic-header.design-system.spaces.vertical-gap.large.gap .. body omitted .. -- end: basic-header ```

If a module has this: ```ftd -- import: fastn-community.github.io/design-system/form/button export: button ``` And is imported from another module, and they try to use `.button`, server freezes. Current work around is...

has-workaround

Same project works when it is in my $HOME etc, but doesn't when its in `/Users/amitu/Projects/slides/frontend/.packages/ui.fifthtry.com/.packages/fastn-community.github.io/Font-Awesome`. `fastn serve` starts, but get request to `/` gets stuck.

has-workaround

If I attach JS to a component, eg: ```ftd -- component icon: caption url: string prefix: optional ftd.color color: integer size: 24 -- ftd.container: display: inline width.fixed.px: $icon.size height.fixed.px: $icon.size...

has-workaround

When trying the following: ``` -- login-page: lang if { lang == "hi" }: hi lang: en -- component login-page: module lang: en .. body omitted -- end: login-page ```...