@fuzdev/fuz_ui 0.177.1 โ†’ 0.178.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,11 +4,11 @@
4
4
 
5
5
  > friendly user zystem ๐Ÿงถ [fuz.dev](https://ui.fuz.dev/)
6
6
 
7
- Fuz UI is a [Svelte](https://svelte.dev/) UI library
7
+ fuz_ui is a [Svelte](https://svelte.dev/) UI library
8
8
  with components and helpers for making zippy websites.
9
9
  It's in early alpha and it will go through many breaking changes.
10
10
 
11
- Fuz UI is being made to support
11
+ fuz_ui is being made to support
12
12
  [my other projects](https://www.ryanatkn.com/)
13
13
  that focus on end-users.
14
14
  Fuz emphasizes capability and efficiency and tries to be simple for those goals.
@@ -19,9 +19,9 @@ Feel free to take the ideas and code for your own purposes.
19
19
 
20
20
  The Svelte components and helpers:
21
21
 
22
- - builds on [Fuz CSS](https://github.com/fuzdev/fuz_css)
22
+ - builds on [fuz_css](https://github.com/fuzdev/fuz_css)
23
23
  - plain CSS and minimal abstraction
24
- - near-zero dependencies except for Svelte, SvelteKit, Fuz CSS,
24
+ - near-zero dependencies except for Svelte, SvelteKit, fuz_css,
25
25
  and my utility library [`@fuzdev/fuz_util`](https://github.com/fuzdev/fuz_util)
26
26
  (not all components require SvelteKit but some do import its modules, needs more consideration)
27
27
  - not a fully-featured enterprise-ready set of components,
@@ -36,7 +36,7 @@ The Svelte components and helpers:
36
36
  > thank you see [contributing.md](contributing.md), your input is appreciated.
37
37
  >
38
38
  > If you feel comfortable looking at the source code,
39
- > Fuz UI is ready to use in your own projects,
39
+ > fuz_ui is ready to use in your own projects,
40
40
  > with the major caveat that there will be a lot of breaking changes ahead.
41
41
  > The code is significantly incomplete but I think it's stable enough to use
42
42
  > if you're willing to keep up with the relatively fast-moving changelog.
@@ -45,17 +45,17 @@ The Svelte components and helpers:
45
45
  npm i -D @fuzdev/fuz_ui
46
46
  ```
47
47
 
48
- Fuz uses my style framework [Fuz CSS](https://github.com/fuzdev/fuz_css).
48
+ Fuz uses my style framework [fuz_css](https://github.com/fuzdev/fuz_css).
49
49
  Import modules at their full paths:
50
50
 
51
51
  ```ts
52
- // Fuz CSS has one main plain CSS stylesheet:
52
+ // fuz_css has one main plain CSS stylesheet:
53
53
  import '@fuzdev/fuz_css/style.css';
54
54
 
55
- // and import a Fuz CSS theme:
55
+ // and import a fuz_css theme:
56
56
  import '@fuzdev/fuz_css/theme.css'; // or bring your own
57
57
 
58
- // using Gro generates Fuz CSS' utility classes stylesheet by default:
58
+ // using Gro generates fuz_css' utility classes stylesheet by default:
59
59
  import '$routes/fuz.css';
60
60
 
61
61
  // then import Fuz Svelte components:
@@ -25,7 +25,7 @@
25
25
  {#each declarations as declaration (`${declaration.module_path}:${declaration.name}`)}
26
26
  <TomeSection>
27
27
  <TomeSectionHeader text={declaration.name}>
28
- <div class="word_break_break_all">{declaration.name}</div>
28
+ <div class="word-break:break-all">{declaration.name}</div>
29
29
  </TomeSectionHeader>
30
30
  <article id={declaration.name}>
31
31
  <DeclarationDetail {declaration} />
@@ -12,7 +12,7 @@
12
12
  </script>
13
13
 
14
14
  <!-- Metadata -->
15
- <p class="row justify_content_space_between">
15
+ <p class="row justify-content:space-between">
16
16
  <ModuleLink module_path={declaration.module_path} />
17
17
  {#if declaration.url_github}
18
18
  <!-- eslint-disable-next-line svelte/no-navigation-without-resolve -->
@@ -22,7 +22,7 @@
22
22
  } = $props();
23
23
  </script>
24
24
 
25
- <div {...rest} class="width_upto_md {rest.class}">
25
+ <div {...rest} class="width_atmost_md {rest.class}">
26
26
  {#if header}
27
27
  {@render header()}
28
28
  {:else}
@@ -30,7 +30,7 @@
30
30
  </DocsList>
31
31
 
32
32
  {#snippet content()}
33
- <nav aria-label="on this page" class="width_100">
33
+ <nav aria-label="on this page" class="width:100%">
34
34
  <ul class="unstyled">
35
35
  {#each docs_links.docs_links as item (item.id)}
36
36
  <li
@@ -23,12 +23,12 @@
23
23
  const has_search = $derived(search_query.trim().length > 0);
24
24
  </script>
25
25
 
26
- <label class="display_block position_relative">
26
+ <label class="display:block position:relative">
27
27
  <input {...rest} type="search" {placeholder} bind:value={search_query} />
28
28
  {#if has_search}
29
29
  <button
30
30
  type="button"
31
- class="plain icon_button position_absolute right_0 top_0"
31
+ class="plain icon_button position:absolute right:0 top:0"
32
32
  onclick={() => {
33
33
  search_query = '';
34
34
  }}
@@ -66,8 +66,8 @@
66
66
 
67
67
  <!-- TODO -next-line doesnt work? -->
68
68
  <!-- eslint-disable svelte/no-navigation-without-resolve -->
69
- <a {...rest} {href} class="github_link white_space_nowrap {rest.class}" rel="noopener"
70
- ><Svg data={logo_github} inline size="var(--icon_size_xs)" class="mx_xs3 vertical_align_middle" />
69
+ <a {...rest} {href} class="github_link white-space:nowrap {rest.class}" rel="noopener"
70
+ ><Svg data={logo_github} inline size="var(--icon_size_xs)" class="mx_xs3 vertical-align:middle" />
71
71
  {#if typeof final_children === 'string'}
72
72
  <span class="font_family_mono">{final_children}</span>
73
73
  {:else if final_children}
package/dist/Glyph.svelte CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  <span
20
20
  {...rest}
21
- class="glyph display_inline_block text_align_center line_height_1 white_space_nowrap font_weight_400 {rest.class}"
21
+ class="glyph display:inline-block text-align:center line-height:1 white-space:nowrap font-weight:400 {rest.class}"
22
22
  style:width={final_size}
23
23
  style:height={final_size}
24
24
  style:min-width={final_size}
@@ -44,7 +44,7 @@
44
44
  style:width={final_width}
45
45
  style:height={final_height}
46
46
  >
47
- <image href={src} class="width_100 height_100" />
47
+ <image href={src} class="width:100% height:100%" />
48
48
  </svg>
49
49
  {:else}
50
50
  <img
@@ -48,7 +48,7 @@
48
48
  <div class="library_detail">
49
49
  <!-- TODO maybe continue this snippet pattern, or maybe simplify? -->
50
50
  <div class="info">
51
- <div class="display_flex flex_1">
51
+ <div class="display:flex flex:1">
52
52
  <!-- add yet another wrapper so it flows like we want -->
53
53
  <div>
54
54
  <header>
@@ -65,7 +65,7 @@
65
65
  {#if description}
66
66
  {@render description(package_json.description, package_json.glyph)}
67
67
  {:else}
68
- <p class="text_align_center">
68
+ <p class="text-align:center">
69
69
  {package_json.description}
70
70
  {#if !package_json.motto}
71
71
  {package_json.glyph}
@@ -28,8 +28,8 @@
28
28
 
29
29
  <!-- TODO -next-line doesnt work? -->
30
30
  <!-- eslint-disable svelte/no-navigation-without-resolve -->
31
- <a {...rest} {href} class="mdn_link white_space_nowrap {rest.class}" rel="noopener"
32
- ><Svg data={logo_mdn} inline size="var(--icon_size_xs)" class="mx_xs3 vertical_align_middle" />
31
+ <a {...rest} {href} class="mdn_link white-space:nowrap {rest.class}" rel="noopener"
32
+ ><Svg data={logo_mdn} inline size="var(--icon_size_xs)" class="mx_xs3 vertical-align:middle" />
33
33
  {#if typeof final_children === 'string'}
34
34
  <span class="font_family_mono">{final_children}</span>
35
35
  {:else}
package/dist/Mdz.svelte CHANGED
@@ -21,8 +21,7 @@
21
21
  <svelte:element
22
22
  this={inline ? 'span' : 'div'}
23
23
  {...rest}
24
- class:white_space_pre={nowrap}
25
- class:white_space_pre_wrap={!nowrap}
24
+ class="{rest.class} {nowrap ? 'white-space:pre' : 'white-space:pre-wrap'}"
26
25
  >
27
26
  {#each nodes as node (node)}
28
27
  <MdzNodeView {node} />
@@ -21,11 +21,10 @@
21
21
 
22
22
  <span
23
23
  {...rest}
24
- class="pending_animation {rest.class}"
24
+ class="pending_animation {rest.class} {inline
25
+ ? 'display:inline-flex align-items:center'
26
+ : 'display:flex'}"
25
27
  class:running
26
- class:display_flex={!inline}
27
- class:display_inline_flex={inline}
28
- class:align_items_center={inline}
29
28
  ><span {...item_attrs} style:animation-delay="0s"
30
29
  >{#if children}{@render children(0)}{:else}โ€ข{/if}</span
31
30
  ><span {...item_attrs} style:animation-delay="0.09s"
@@ -1 +1 @@
1
- {"version":3,"file":"PendingAnimation.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/PendingAnimation.svelte"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AM,gBAAgB,sDAAwC,CAAC;AAC/D,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC5D,eAAe,gBAAgB,CAAC"}
@@ -46,9 +46,9 @@
46
46
  <!-- eslint-disable-next-line svelte/no-navigation-without-resolve -->
47
47
  <a class="thumbnail row bg px_md py_xs border_radius_sm mb_lg" href={project_item.url}
48
48
  ><Svg shrink={false} data={project_item.logo} size="var(--icon_size_lg)" />
49
- <div class="pl_lg width_upto_sm">
49
+ <div class="pl_lg width_atmost_sm">
50
50
  <div class="thumbnail_name {project_item.color_class}">{project_item.name}</div>
51
- <div class="thumbnail_description font_size_md text_color_3 font_weight_500">
51
+ <div class="thumbnail_description font_size_md text_color_3 font-weight:500">
52
52
  {project_item.description}
53
53
  {project_item.glyph}
54
54
  </div>
package/dist/Svg.svelte CHANGED
@@ -81,11 +81,10 @@
81
81
  {...data.attrs}
82
82
  {...rest}
83
83
  aria-label={label ?? data.label}
84
- class:display_inline_block={inline}
85
- class:position_relative={inline}
84
+ class="{data.attrs?.class} {rest.class}"
85
+ class:inline
86
86
  style:width={final_width}
87
87
  style:height={final_height}
88
- style:top={inline ? '0.1em' : undefined}
89
88
  style:flex-shrink={shrink ? 1 : 0}
90
89
  {style}
91
90
  >
@@ -96,3 +95,12 @@
96
95
  {/each}
97
96
  {/if}
98
97
  </svg>
98
+
99
+ <style>
100
+ .inline {
101
+ display: inline-block;
102
+ position: relative;
103
+ /* TODO idk about this, but vertical align doesnt seem quite right either */
104
+ top: 0.1em;
105
+ }
106
+ </style>
@@ -1 +1 @@
1
- {"version":3,"file":"Svg.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/Svg.svelte"],"names":[],"mappings":"AAIC,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAExD,MAAM,WAAW,OAAO;IACvB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;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C;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAC,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,GAAG,IAAI,CAAC;IAC/D,KAAK,CAAC,EAAE,kBAAkB,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;IACzC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,KAAK,gBAAgB,GAAI,kBAAkB,CAAC,KAAK,CAAC,GAAG;IACpD,IAAI,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AA2CH,QAAA,MAAM,GAAG,sDAAwC,CAAC;AAClD,KAAK,GAAG,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC;AAClC,eAAe,GAAG,CAAC"}
@@ -30,7 +30,7 @@
30
30
  </script>
31
31
 
32
32
  <section
33
- class="tome_content width_upto_md mb_xl9"
33
+ class="tome_content width_atmost_md mb_xl9"
34
34
  {@attach intersect(() =>
35
35
  at_root
36
36
  ? ({intersecting}) => {
@@ -44,7 +44,7 @@
44
44
  )}
45
45
  >
46
46
  <header
47
- class="mb_xl3 position_sticky top_0"
47
+ class="mb_xl3 position:sticky top:0"
48
48
  {@attach intersect(() =>
49
49
  at_root
50
50
  ? null
@@ -65,7 +65,7 @@
65
65
 
66
66
  <header>
67
67
  <svelte:element this={final_tag} {...rest} class:tome_section_header={true}>
68
- <div class="flex_1">
68
+ <div class="flex:1">
69
69
  {#if children}
70
70
  {@render children()}
71
71
  {:else}
package/dist/constants.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // TODO the 60px is a hack, need `--docs_primary_nav_height` exported or :root values from Fuz -- the --space_lg also needs to be kept in sync
2
- // see also the same issue in Fuz CSS
2
+ // see also the same issue in fuz_css
3
3
  export const MAIN_HEADER_MARGIN_TOP = 'calc(60px + var(--space_lg))';
@@ -138,6 +138,7 @@ export declare class Library {
138
138
  module_comment?: string | undefined;
139
139
  dependencies?: string[] | undefined;
140
140
  dependents?: string[] | undefined;
141
+ star_exports?: string[] | undefined;
141
142
  }[] | undefined;
142
143
  };
143
144
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"library.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/library.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAGlE,OAAO,EAAC,WAAW,EAAC,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAE1C;;;;;;;;GAQG;AACH,qBAAa,OAAO;IACnB,QAAQ,CAAC,YAAY,EAAE,WAAW,CAAiB;IAEnD,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA4C;IACxD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA2C;IAEtD,IAAI,SAAoC;IACxC,SAAS,SAAyC;IAClD,QAAQ,wCAAwC;IAChD,UAAU,gBAA0C;IACpD,YAAY,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BAA0C;IACpD,YAAY,+CAA4C;IACxD,QAAQ,+CAAwC;IAChD,QAAQ,SAAwC;IAChD,OAAO,+CAAuC;IAC9C,aAAa,+CAA6C;IAC1D,SAAS,UAAyC;IAElD;;OAEG;IACH,OAAO,gBAML;IAEF;;OAEG;IACH,OAAO,WAIL;IAEF;;OAEG;IACH,cAAc,WAA4E;IAE1F;;OAEG;IACH,YAAY,gBAAmE;IAE/E;;OAEG;IACH,eAAe,2BAAgE;gBAEnE,YAAY,EAAE,WAAW;IAIrC;;OAEG;IACH,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAIzD;;OAEG;IACH,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAItC;;OAEG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAI/C;;OAEG;IACH,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,WAAW,CAAC;CAGtD;AAED,eAAO,MAAM,eAAe;;;;CAA4B,CAAC"}
@@ -91,7 +91,7 @@ export interface ModuleAnalysis {
91
91
  * Analyze a source file and extract module metadata.
92
92
  *
93
93
  * Unified entry point that dispatches to the appropriate analyzer based on file type:
94
- * - TypeScript/JavaScript files โ†’ `ts_analyze_module`
94
+ * - TypeScript/JS files โ†’ `ts_analyze_module`
95
95
  * - Svelte components โ†’ `svelte_analyze_module`
96
96
  *
97
97
  * Returns raw analysis data including `nodocs` flags on declarations.
@@ -50,7 +50,7 @@ import { module_extract_path, } from './module_helpers.js';
50
50
  * Analyze a source file and extract module metadata.
51
51
  *
52
52
  * Unified entry point that dispatches to the appropriate analyzer based on file type:
53
- * - TypeScript/JavaScript files โ†’ `ts_analyze_module`
53
+ * - TypeScript/JS files โ†’ `ts_analyze_module`
54
54
  * - Svelte components โ†’ `svelte_analyze_module`
55
55
  *
56
56
  * Returns raw analysis data including `nodocs` flags on declarations.
@@ -1 +1 @@
1
- {"version":3,"file":"library_gen.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/library_gen.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AAExD,OAAO,EACN,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EAKxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAmB,KAAK,oBAAoB,EAAC,MAAM,uBAAuB,CAAC;AAElF,0CAA0C;AAC1C,MAAM,WAAW,iBAAiB;IACjC;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAC5D;;;;;;;;;;;;;;;;;;OAkBG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAC;CACrC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,GAAI,UAAU,QAAQ,KAAG,cAY9D,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,2CAA2C,GACvD,WAAW,QAAQ,CAAC,QAAQ,CAAC,EAC7B,SAAS,mBAAmB,EAC5B,MAAM;IAAC,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IAAC,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;CAAC,KACtF,KAAK,CAAC,cAAc,CA6BtB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,WAAW,GAAI,UAAU,iBAAiB,KAAG,GA0CzD,CAAC"}
1
+ {"version":3,"file":"library_gen.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/library_gen.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AAExD,OAAO,EACN,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EAKxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAmB,KAAK,oBAAoB,EAAC,MAAM,uBAAuB,CAAC;AAElF,0CAA0C;AAC1C,MAAM,WAAW,iBAAiB;IACjC;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAC5D;;;;;;;;;;;;;;;;;;OAkBG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAC;CACrC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,GAAI,UAAU,QAAQ,KAAG,cAY9D,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,2CAA2C,GACvD,WAAW,QAAQ,CAAC,QAAQ,CAAC,EAC7B,SAAS,mBAAmB,EAC5B,MAAM;IAAC,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IAAC,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;CAAC,KACtF,KAAK,CAAC,cAAc,CA6BtB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,WAAW,GAAI,UAAU,iBAAiB,KAAG,GA2CzD,CAAC"}
@@ -91,6 +91,7 @@ export const library_collect_source_files_from_disknodes = (disknodes, options,
91
91
  */
92
92
  export const library_gen = (options) => {
93
93
  return {
94
+ dependencies: 'all',
94
95
  generate: async ({ log, filer }) => {
95
96
  log.info('generating library metadata with full TypeScript analysis...');
96
97
  // Build source options with project_root from cwd
package/dist/logos.js CHANGED
@@ -9,7 +9,7 @@ Logo colors are the midpoint between the light and dark versions of color varian
9
9
  --color_c: #d93636;
10
10
  --color_d: #8866cc;
11
11
  --color_e: #d8bc31;
12
- --color_f: #84522a; // TODO this one isn't the midpoint bc Fuz CSS's color needs tweaking, too light in dark mode
12
+ --color_f: #84522a; // TODO this one isn't the midpoint bc fuz_css's color needs tweaking, too light in dark mode
13
13
  --color_g: #e55d95;
14
14
  --color_h: #f4672f;
15
15
  --color_i: #36e2e2;
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * Analyzer type for source files.
13
13
  *
14
- * - `'typescript'` - TypeScript/JavaScript files analyzed via TypeScript Compiler API
14
+ * - `'typescript'` - TypeScript/JS files analyzed via TypeScript Compiler API
15
15
  * - `'svelte'` - Svelte components analyzed via svelte2tsx + TypeScript Compiler API
16
16
  */
17
17
  export type AnalyzerType = 'typescript' | 'svelte';
@@ -243,7 +243,7 @@ export declare const module_get_component_name: (module_path: string) => string;
243
243
  */
244
244
  export declare const module_get_key: (module_path: string) => string;
245
245
  /**
246
- * Check if a path is a TypeScript or JavaScript file.
246
+ * Check if a path is a TypeScript or JS file.
247
247
  *
248
248
  * Includes both `.ts` and `.js` files since JS files are valid in TS projects.
249
249
  * Excludes `.d.ts` declaration files - use a custom `get_analyzer` to include them.
@@ -213,7 +213,7 @@ export const module_get_component_name = (module_path) => module_path.replace(/^
213
213
  */
214
214
  export const module_get_key = (module_path) => `./${module_path}`;
215
215
  /**
216
- * Check if a path is a TypeScript or JavaScript file.
216
+ * Check if a path is a TypeScript or JS file.
217
217
  *
218
218
  * Includes both `.ts` and `.js` files since JS files are valid in TS projects.
219
219
  * Excludes `.d.ts` declaration files - use a custom `get_analyzer` to include them.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuzdev/fuz_ui",
3
- "version": "0.177.1",
3
+ "version": "0.178.1",
4
4
  "description": "Svelte UI library",
5
5
  "motto": "friendly user zystem",
6
6
  "glyph": "๐Ÿงถ",
@@ -35,8 +35,8 @@
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@fuzdev/fuz_code": ">=0.37.0",
38
- "@fuzdev/fuz_css": ">=0.40.0",
39
- "@fuzdev/fuz_util": ">=0.42.0",
38
+ "@fuzdev/fuz_css": ">=0.44.0",
39
+ "@fuzdev/fuz_util": ">=0.45.3",
40
40
  "@jridgewell/trace-mapping": "^0.3",
41
41
  "@ryanatkn/gro": ">=0.183.0",
42
42
  "@sveltejs/kit": "^2.47.3",
@@ -62,8 +62,8 @@
62
62
  "devDependencies": {
63
63
  "@changesets/changelog-git": "^0.2.1",
64
64
  "@fuzdev/fuz_code": "^0.39.0",
65
- "@fuzdev/fuz_css": "^0.42.1",
66
- "@fuzdev/fuz_util": "^0.45.1",
65
+ "@fuzdev/fuz_css": "^0.44.0",
66
+ "@fuzdev/fuz_util": "^0.45.3",
67
67
  "@jridgewell/trace-mapping": "^0.3.31",
68
68
  "@ryanatkn/eslint-config": "^0.9.0",
69
69
  "@ryanatkn/gro": "^0.183.0",
@@ -72,6 +72,7 @@
72
72
  "@sveltejs/package": "^2.5.7",
73
73
  "@sveltejs/vite-plugin-svelte": "^6.2.1",
74
74
  "@types/node": "^24.10.1",
75
+ "@webref/css": "^8.2.0",
75
76
  "eslint": "^9.39.1",
76
77
  "eslint-plugin-svelte": "^3.13.1",
77
78
  "esm-env": "^1.2.2",
@@ -1,3 +1,3 @@
1
1
  // TODO the 60px is a hack, need `--docs_primary_nav_height` exported or :root values from Fuz -- the --space_lg also needs to be kept in sync
2
- // see also the same issue in Fuz CSS
2
+ // see also the same issue in fuz_css
3
3
  export const MAIN_HEADER_MARGIN_TOP = 'calc(60px + var(--space_lg))';
@@ -103,7 +103,7 @@ export interface ModuleAnalysis {
103
103
  * Analyze a source file and extract module metadata.
104
104
  *
105
105
  * Unified entry point that dispatches to the appropriate analyzer based on file type:
106
- * - TypeScript/JavaScript files โ†’ `ts_analyze_module`
106
+ * - TypeScript/JS files โ†’ `ts_analyze_module`
107
107
  * - Svelte components โ†’ `svelte_analyze_module`
108
108
  *
109
109
  * Returns raw analysis data including `nodocs` flags on declarations.
@@ -150,6 +150,7 @@ export const library_collect_source_files_from_disknodes = (
150
150
  */
151
151
  export const library_gen = (options?: LibraryGenOptions): Gen => {
152
152
  return {
153
+ dependencies: 'all',
153
154
  generate: async ({log, filer}) => {
154
155
  log.info('generating library metadata with full TypeScript analysis...');
155
156
 
package/src/lib/logos.ts CHANGED
@@ -12,7 +12,7 @@ Logo colors are the midpoint between the light and dark versions of color varian
12
12
  --color_c: #d93636;
13
13
  --color_d: #8866cc;
14
14
  --color_e: #d8bc31;
15
- --color_f: #84522a; // TODO this one isn't the midpoint bc Fuz CSS's color needs tweaking, too light in dark mode
15
+ --color_f: #84522a; // TODO this one isn't the midpoint bc fuz_css's color needs tweaking, too light in dark mode
16
16
  --color_g: #e55d95;
17
17
  --color_h: #f4672f;
18
18
  --color_i: #36e2e2;
@@ -12,7 +12,7 @@
12
12
  /**
13
13
  * Analyzer type for source files.
14
14
  *
15
- * - `'typescript'` - TypeScript/JavaScript files analyzed via TypeScript Compiler API
15
+ * - `'typescript'` - TypeScript/JS files analyzed via TypeScript Compiler API
16
16
  * - `'svelte'` - Svelte components analyzed via svelte2tsx + TypeScript Compiler API
17
17
  */
18
18
  export type AnalyzerType = 'typescript' | 'svelte';
@@ -362,7 +362,7 @@ export const module_get_component_name = (module_path: string): string =>
362
362
  export const module_get_key = (module_path: string): string => `./${module_path}`;
363
363
 
364
364
  /**
365
- * Check if a path is a TypeScript or JavaScript file.
365
+ * Check if a path is a TypeScript or JS file.
366
366
  *
367
367
  * Includes both `.ts` and `.js` files since JS files are valid in TS projects.
368
368
  * Excludes `.d.ts` declaration files - use a custom `get_analyzer` to include them.