@fuzdev/fuz_ui 0.220.0 → 0.221.0

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.
@@ -42,14 +42,20 @@ external types, and more.
42
42
  return filtered.length ? filtered : undefined;
43
43
  });
44
44
 
45
- // the "inferred" chip marks entries found by a `var()` fallback, which only
46
- // distinguishes anything when the list also has `@cssprop`-documented ones
45
+ // the "inferred" chip marks entries found by a `var()` fallback or an
46
+ // `@property` rule, which only distinguishes anything when the list also
47
+ // has `@cssprop`-documented ones
47
48
  const css_property_chips_shown = $derived.by(() => {
48
49
  const css_properties = declaration.css_custom_properties;
49
50
  if (!css_properties) return false;
50
51
  return css_properties.some((p) => p.documented) && css_properties.some((p) => !p.documented);
51
52
  });
52
53
 
54
+ // a documented `default` (the tag's claim) and the style's `fallback` are
55
+ // shown as one row when they agree, as the analyzer compares them
56
+ const css_values_agree = (a: string, b: string): boolean =>
57
+ a.replace(/\s+/g, ' ').trim() === b.replace(/\s+/g, ' ').trim();
58
+
53
59
  // render mdz inline `code` as API-linking `DocsLink` and fenced blocks as syntax-highlighted
54
60
  // `Code`, matching the rest of the docs — the injection mdz core leaves open
55
61
  mdz_set_context_with_fallback(mdz_code_context, () => DocsLink);
@@ -331,14 +337,15 @@ external types, and more.
331
337
  <!-- CSS custom properties (for Svelte components): the styling API a
332
338
  consumer sets on the component or an ancestor; `documented` entries come
333
339
  from `@cssprop` tags and arrive first, the rest are inferred from `var()`
334
- fallbacks in the component's styles, marked only when the list mixes both -->
340
+ fallbacks and `@property` rules in the component's styles, marked only when
341
+ the list mixes both -->
335
342
  {#if declaration.css_custom_properties?.length}
336
343
  <section>
337
344
  <h4>CSS custom properties</h4>
338
345
  {#if css_property_chips_shown}
339
346
  <p>
340
347
  Properties marked <span class="chip">inferred</span> are found by their <code>var()</code>
341
- fallback, not documented with <code>@cssprop</code>.
348
+ fallback or <code>@property</code> rule, not documented with <code>@cssprop</code>.
342
349
  </p>
343
350
  {/if}
344
351
  {#each declaration.css_custom_properties as css_property (css_property.name)}
@@ -358,7 +365,16 @@ external types, and more.
358
365
  <code>{css_property.syntax}</code>
359
366
  </div>
360
367
  {/if}
361
- {#if css_property.fallback !== undefined}
368
+ {#if css_property.default !== undefined}
369
+ <div class="row gap_md">
370
+ <strong>default</strong>
371
+ <Code lang="css" content={dedent_css_fallback(css_property.default)} wrap />
372
+ </div>
373
+ {/if}
374
+ {#if css_property.fallback !== undefined &&
375
+ (css_property.default === undefined ||
376
+ !css_values_agree(css_property.default, css_property.fallback))
377
+ }
362
378
  <div class="row gap_md">
363
379
  <strong>fallback</strong>
364
380
  {#if css_property.fallback}
@@ -1 +1 @@
1
- {"version":3,"file":"DeclarationDetail.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/DeclarationDetail.svelte"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAoB1D,KAAK,gBAAgB,GAAI;IAAE,WAAW,EAAE,WAAW,CAAA;CAAE,CAAC;AAikBvD;;;;;;;;;GASG;AACH,QAAA,MAAM,iBAAiB,sDAAwC,CAAC;AAChE,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC9D,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"DeclarationDetail.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/DeclarationDetail.svelte"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAoB1D,KAAK,gBAAgB,GAAI;IAAE,WAAW,EAAE,WAAW,CAAA;CAAE,CAAC;AA+kBvD;;;;;;;;;GASG;AACH,QAAA,MAAM,iBAAiB,sDAAwC,CAAC;AAChE,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC9D,eAAe,iBAAiB,CAAC"}
@@ -106,9 +106,10 @@ export declare class Declaration {
106
106
  get merged_value(): boolean | undefined;
107
107
  /**
108
108
  * The component's styling API: CSS custom properties its styles read with
109
- * a `var()` fallback, plus any its doc comment documents with `@cssprop`
110
- * tags (`documented`), the documented ones first.
111
- * Present on `component` kind only.
109
+ * a `var()` fallback or register with `@property`, plus any its doc comment
110
+ * documents with `@cssprop` tags (`documented`), the documented ones first.
111
+ * A documented entry carries the tag's `default` beside the style's
112
+ * `fallback`. Present on `component` kind only.
112
113
  */
113
114
  get css_custom_properties(): Array<ComponentCssPropertyJsonInput> | undefined;
114
115
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"declaration.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/declaration.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,6BAA6B,EAC7B,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,MAAM,yBAAyB,CAAC;AAIjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAcjD;;;;;;;;;;;;GAYG;AACH,qBAAa,WAAW;;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAiB;IACxC,QAAQ,CAAC,gBAAgB,EAAE,oBAAoB,CAAiB;IAEhE,IAAI,OAAO,IAAI,MAAM,CAAC,SAAS,CAAC,CAE/B;IAED;;OAEG;IACH,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,IAAI,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAEvC;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,MAAM,GAAG,SAAS,CAQnC;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,MAAM,CAEpB;IAID;;OAEG;IACH,IAAI,gBAAgB,IAAI,MAAM,CAS7B;IAED;;OAEG;IACH,IAAI,YAAY,IAAI,MAAM,GAAG,SAAS,CAIrC;IAID;;OAEG;IACH,IAAI,Y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OAAO,IAAI,oBAAoB,CAAC,SAAS,CAAC,CAE7C;IAED;;;;OAIG;IACH,IAAI,gBAAgB,IAAI,MAAM,GAAG,SAAS,CAEzC;IAED;;;;OAIG;IACH,IAAI,UAAU,IAAI,UAAU,GAAG,SAAS,CAEvC;IAED,IAAI,YAAY,IAAI,OAAO,CAE1B;IAGD,IAAI,aAAa,IAAI,OAAO,CAE3B;IAGD,IAAI,WAAW,IAAI,OAAO,CAEzB;IAED,IAAI,iBAAiB,IAAI,OAAO,CAE/B;IAED,IAAI,cAAc,IAAI,OAAO,CAG5B;IAED,IAAI,SAAS,IAAI,OAAO,CAGvB;IAED,IAAI,YAAY,IAAI,OAAO,CAE1B;gBAEW,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,oBAAoB;CAIlE"}
@@ -195,9 +195,10 @@ export class Declaration {
195
195
  }
196
196
  /**
197
197
  * The component's styling API: CSS custom properties its styles read with
198
- * a `var()` fallback, plus any its doc comment documents with `@cssprop`
199
- * tags (`documented`), the documented ones first.
200
- * Present on `component` kind only.
198
+ * a `var()` fallback or register with `@property`, plus any its doc comment
199
+ * documents with `@cssprop` tags (`documented`), the documented ones first.
200
+ * A documented entry carries the tag's `default` beside the style's
201
+ * `fallback`. Present on `component` kind only.
201
202
  */
202
203
  get css_custom_properties() {
203
204
  return field(this.declaration_json, 'cssCustomProperties');
package/dist/logos.d.ts CHANGED
@@ -69,6 +69,14 @@ export declare const logo_svelte_docinfo: {
69
69
  d: string;
70
70
  }[];
71
71
  };
72
+ export declare const logo_mdz: {
73
+ label: string;
74
+ fill: string;
75
+ paths: {
76
+ 'fill-rule': "evenodd";
77
+ d: string;
78
+ }[];
79
+ };
72
80
  export declare const logo_fuz_template: {
73
81
  label: string;
74
82
  fill: string;
@@ -1 +1 @@
1
- {"version":3,"file":"logos.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/logos.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,QAAQ;;;;;;CAgCF,CAAC;AA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B,eAAO,MAAM,iBAAiB;;;;;;CAQX,CAAC;AAEpB,eAAO,MAAM,aAAa;;;;;;CAwBP,CAAC;AAEpB,eAAO,MAAM,aAAa;;;;;;CAQP,CAAC;AAEpB,eAAO,MAAM,QAAQ;;;;;;CAQF,CAAC;AAEpB,eAAO,MAAM,WAAW;;;;;;;;;CAWL,CAAC;AAEpB,eAAO,MAAM,QAAQ;;;;;;CAQF,CAAC"}
package/dist/logos.js CHANGED
@@ -104,6 +104,16 @@ export const logo_svelte_docinfo = {
104
104
  }
105
105
  ]
106
106
  };
107
+ export const logo_mdz = {
108
+ label: 'a purple pen nib hovering over an inkwell with a glint of light',
109
+ fill: '#8866cc',
110
+ paths: [
111
+ {
112
+ 'fill-rule': 'evenodd',
113
+ d: 'M36.05 40.56H61.35Q64.27 40.56 64.27 43.48V48.35H59.4V56.13L71.08 56.13Q80.81 56.13 82.76 65.86Q86.26 76.56 86.65 87.27Q87.62 97 77.89 97H19.51Q9.78 97 10.76 87.27Q11.14 76.56 14.65 65.86Q16.59 56.13 26.32 56.13L38 56.13V48.35H33.13V43.48Q33.13 40.56 36.05 40.56ZM23.04 64.89Q17.76 76.56 19.37 89.21L24.23 89.21Q22.55 77.54 26.71 65.86ZM53.57 35.7L64.72 12.36L79.22 2.99L90.22 16.12L78.49 28.77ZM67.95 22.37L55.4 32.9L56.64 34.37L69.2 23.85ZM67.78 21.25a2.99 2.99 0 1 1 6 0a2.99 2.99 0 1 1 -6 0Z'
114
+ }
115
+ ]
116
+ };
107
117
  export const logo_fuz_template = {
108
118
  label: 'a friendly orange pixelated spider facing you',
109
119
  fill: '#f4672f',
@@ -1 +1 @@
1
- {"version":3,"file":"projects.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAkBxC;;GAEG;AACH,MAAM,WAAW,WAAW;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACpB;AAID,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,WAAW,CAa5C,CAAC"}
1
+ {"version":3,"file":"projects.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAmBxC;;GAEG;AACH,MAAM,WAAW,WAAW;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACpB;AAID,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,WAAW,CAc5C,CAAC"}
package/dist/projects.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  // TODO when fuz.dev is ready
3
3
  // logo_fuz,
4
- logo_fuz_ui, logo_fuz_code, logo_fuz_blog, logo_fuz_repos, logo_fuz_template, logo_fuz_css, logo_fuz_util, logo_fuz_host, logo_gro, logo_svelte_docinfo, logo_fuz_app, logo_tsv } from './logos.js';
4
+ logo_fuz_ui, logo_fuz_code, logo_mdz, logo_fuz_blog, logo_fuz_repos, logo_fuz_template, logo_fuz_css, logo_fuz_util, logo_fuz_host, logo_gro, logo_svelte_docinfo, logo_fuz_app, logo_tsv } from './logos.js';
5
5
  // TODO ideally this wouldn't duplicate metadata like descriptions, but adding fuz_repos to this repo is heavy
6
6
  // prettier-ignore
7
7
  export const project_items = [
@@ -11,6 +11,7 @@ export const project_items = [
11
11
  { name: 'fuz_template', url: 'https://template.fuz.dev/', logo: logo_fuz_template, description: 'a web app template with TypeScript + SvelteKit + optional Rust for the fuz-stack', glyph: '❄', color_class: 'color_h_50' },
12
12
  { name: 'fuz_blog', url: 'https://blog.fuz.dev/', logo: logo_fuz_blog, description: 'blog software from scratch with SvelteKit', glyph: '🖊️', color_class: 'color_e_50' },
13
13
  { name: 'fuz_code', url: 'https://code.fuz.dev/', logo: logo_fuz_code, description: 'syntax styling utilities and components for TypeScript, Svelte, Markdown, and more', glyph: '🎨', color_class: 'color_g_50' },
14
+ { name: 'mdz', url: 'https://mdz.fuz.dev/', logo: logo_mdz, description: 'a strict markdown dialect built for streaming, Svelte authoring, docs websites, and untrusted content', glyph: '📝', color_class: 'color_d_50' },
14
15
  { name: 'fuz_repos', url: 'https://repos.fuz.dev/', logo: logo_fuz_repos, description: 'a tool for managing many repos', glyph: '🪄', color_class: 'color_a_50' },
15
16
  { name: 'svelte-docinfo', url: 'https://svelte-docinfo.fuz.dev/', logo: logo_svelte_docinfo, description: 'static analysis for TypeScript and Svelte', glyph: '📜', color_class: 'color_i_50' },
16
17
  { name: 'fuz_util', url: 'https://util.fuz.dev/', logo: logo_fuz_util, description: 'utility belt for JS', glyph: '🦕', color_class: 'color_f_50' },
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@fuzdev/fuz_ui",
3
- "version": "0.220.0",
3
+ "version": "0.221.0",
4
4
  "description": "Svelte UI library",
5
5
  "tagline": "friendly user zystem",
6
6
  "glyph": "🧶",
7
7
  "logo": "logo.svg",
8
- "logo_alt": "a friendly brown spider facing you",
8
+ "logo_alt": "a friendly red spider facing you",
9
9
  "license": "0BSD",
10
10
  "homepage": "https://ui.fuz.dev/",
11
11
  "author": {
@@ -37,11 +37,11 @@
37
37
  "node": ">=24.14"
38
38
  },
39
39
  "peerDependencies": {
40
- "@fuzdev/fuz_code": ">=0.54.0",
41
- "@fuzdev/fuz_css": ">=0.70.0",
42
- "@fuzdev/fuz_util": ">=0.77.0",
43
- "@fuzdev/gro": ">=0.220.0",
44
- "@fuzdev/mdz": ">=0.6.0",
40
+ "@fuzdev/fuz_code": ">=0.56.0",
41
+ "@fuzdev/fuz_css": ">=0.72.0",
42
+ "@fuzdev/fuz_util": ">=0.79.0",
43
+ "@fuzdev/gro": ">=0.223.0",
44
+ "@fuzdev/mdz": ">=0.7.0",
45
45
  "@sveltejs/kit": "^3",
46
46
  "esm-env": "^1",
47
47
  "svelte": "^5"
@@ -63,12 +63,12 @@
63
63
  "devDependencies": {
64
64
  "@changesets/changelog-git": "^0.2.1",
65
65
  "@fuzdev/blake3-wasm": "^0.2.0",
66
- "@fuzdev/fuz_code": "^0.54.0",
67
- "@fuzdev/fuz_css": "^0.71.0",
66
+ "@fuzdev/fuz_code": "^0.56.0",
67
+ "@fuzdev/fuz_css": "^0.72.0",
68
68
  "@fuzdev/fuz_schema": "^0.5.0",
69
- "@fuzdev/fuz_util": "^0.77.0",
70
- "@fuzdev/gro": "^0.220.0",
71
- "@fuzdev/mdz": "^0.6.0",
69
+ "@fuzdev/fuz_util": "^0.79.0",
70
+ "@fuzdev/gro": "^0.223.0",
71
+ "@fuzdev/mdz": "^0.7.0",
72
72
  "@ryanatkn/eslint-config": "^0.13.1",
73
73
  "@sveltejs/adapter-static": "^4.0.0",
74
74
  "@sveltejs/kit": "^3.0.1",
@@ -82,7 +82,7 @@
82
82
  "jsdom": "^29.1.1",
83
83
  "svelte": "^5.57.2",
84
84
  "svelte-check": "^4.7.6",
85
- "svelte-docinfo": "^0.16.0",
85
+ "svelte-docinfo": "^0.17.0",
86
86
  "tslib": "^2.8.1",
87
87
  "typescript": "^6.0.3",
88
88
  "typescript-eslint": "^8.71.1",
@@ -254,9 +254,10 @@ export class Declaration {
254
254
 
255
255
  /**
256
256
  * The component's styling API: CSS custom properties its styles read with
257
- * a `var()` fallback, plus any its doc comment documents with `@cssprop`
258
- * tags (`documented`), the documented ones first.
259
- * Present on `component` kind only.
257
+ * a `var()` fallback or register with `@property`, plus any its doc comment
258
+ * documents with `@cssprop` tags (`documented`), the documented ones first.
259
+ * A documented entry carries the tag's `default` beside the style's
260
+ * `fallback`. Present on `component` kind only.
260
261
  */
261
262
  get css_custom_properties(): Array<ComponentCssPropertyJsonInput> | undefined {
262
263
  return field<Array<ComponentCssPropertyJsonInput>>(
package/src/lib/logos.ts CHANGED
@@ -118,6 +118,17 @@ export const logo_svelte_docinfo = {
118
118
  ]
119
119
  } satisfies SvgData;
120
120
 
121
+ export const logo_mdz = {
122
+ label: 'a purple pen nib hovering over an inkwell with a glint of light',
123
+ fill: '#8866cc',
124
+ paths: [
125
+ {
126
+ 'fill-rule': 'evenodd',
127
+ d: 'M36.05 40.56H61.35Q64.27 40.56 64.27 43.48V48.35H59.4V56.13L71.08 56.13Q80.81 56.13 82.76 65.86Q86.26 76.56 86.65 87.27Q87.62 97 77.89 97H19.51Q9.78 97 10.76 87.27Q11.14 76.56 14.65 65.86Q16.59 56.13 26.32 56.13L38 56.13V48.35H33.13V43.48Q33.13 40.56 36.05 40.56ZM23.04 64.89Q17.76 76.56 19.37 89.21L24.23 89.21Q22.55 77.54 26.71 65.86ZM53.57 35.7L64.72 12.36L79.22 2.99L90.22 16.12L78.49 28.77ZM67.95 22.37L55.4 32.9L56.64 34.37L69.2 23.85ZM67.78 21.25a2.99 2.99 0 1 1 6 0a2.99 2.99 0 1 1 -6 0Z'
128
+ }
129
+ ]
130
+ } satisfies SvgData;
131
+
121
132
  export const logo_fuz_template = {
122
133
  label: 'a friendly orange pixelated spider facing you',
123
134
  fill: '#f4672f',
@@ -4,6 +4,7 @@ import {
4
4
  // logo_fuz,
5
5
  logo_fuz_ui,
6
6
  logo_fuz_code,
7
+ logo_mdz,
7
8
  logo_fuz_blog,
8
9
  logo_fuz_repos,
9
10
  logo_fuz_template,
@@ -37,6 +38,7 @@ export const project_items: Array<ProjectItem> = [
37
38
  {name: 'fuz_template', url: 'https://template.fuz.dev/', logo: logo_fuz_template, description: 'a web app template with TypeScript + SvelteKit + optional Rust for the fuz-stack', glyph: '❄', color_class: 'color_h_50'},
38
39
  {name: 'fuz_blog', url: 'https://blog.fuz.dev/', logo: logo_fuz_blog, description: 'blog software from scratch with SvelteKit', glyph: '🖊️', color_class: 'color_e_50'},
39
40
  {name: 'fuz_code', url: 'https://code.fuz.dev/', logo: logo_fuz_code, description: 'syntax styling utilities and components for TypeScript, Svelte, Markdown, and more', glyph: '🎨', color_class: 'color_g_50'},
41
+ {name: 'mdz', url: 'https://mdz.fuz.dev/', logo: logo_mdz, description: 'a strict markdown dialect built for streaming, Svelte authoring, docs websites, and untrusted content', glyph: '📝', color_class: 'color_d_50'},
40
42
  {name: 'fuz_repos', url: 'https://repos.fuz.dev/', logo: logo_fuz_repos, description: 'a tool for managing many repos', glyph: '🪄', color_class: 'color_a_50'},
41
43
  {name: 'svelte-docinfo', url: 'https://svelte-docinfo.fuz.dev/', logo: logo_svelte_docinfo, description: 'static analysis for TypeScript and Svelte', glyph: '📜', color_class: 'color_i_50'},
42
44
  {name: 'fuz_util', url: 'https://util.fuz.dev/', logo: logo_fuz_util, description: 'utility belt for JS', glyph: '🦕', color_class: 'color_f_50'},