@fuzdev/fuz_ui 0.187.0 → 0.188.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.
@@ -62,21 +62,27 @@
62
62
  <h1 class="mt_xl4">{module_name}</h1>
63
63
  {/snippet}
64
64
 
65
- {#if !module && directory_modules}
66
- <section>
67
- <p>{directory_modules.length} module{directory_modules.length === 1 ? '' : 's'}</p>
68
- <ul>
69
- {#each directory_modules as child_module (child_module.path)}
70
- <li>
71
- <ModuleLink module_path={child_module.path} />
72
- </li>
73
- {/each}
74
- </ul>
75
- </section>
76
- {:else if !module}
77
- <section>
78
- <p>Module not found: {module_path}</p>
79
- </section>
65
+ {#if !module}
66
+ <!-- no module, maybe a dir? -->
67
+ {#if !directory_modules}
68
+ <section>
69
+ <p>Module not found: {module_path}</p>
70
+ </section>
71
+ {:else}
72
+ <section>
73
+ <p>{directory_modules.length} module{directory_modules.length === 1 ? '' : 's'}</p>
74
+ <ul class="unstyled">
75
+ {#each directory_modules as child_module (child_module.path)}
76
+ <li>
77
+ <h3><ModuleLink module_path={child_module.path} /></h3>
78
+ {#if child_module.module_comment}
79
+ <Mdz content={child_module.module_comment} />
80
+ {/if}
81
+ </li>
82
+ {/each}
83
+ </ul>
84
+ </section>
85
+ {/if}
80
86
  {:else}
81
87
  {#if module.module_comment}
82
88
  <section>
@@ -1 +1 @@
1
- {"version":3,"file":"ApiModule.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/ApiModule.svelte"],"names":[],"mappings":"AAGA,OAAO,EAAkB,KAAK,OAAO,EAAC,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAmB,KAAK,IAAI,EAAC,MAAM,WAAW,CAAC;AAUrD,KAAK,gBAAgB,GAAI;IACxB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACZ,CAAC;AA2HH,QAAA,MAAM,SAAS,sDAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"ApiModule.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/ApiModule.svelte"],"names":[],"mappings":"AAGA,OAAO,EAAkB,KAAK,OAAO,EAAC,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAmB,KAAK,IAAI,EAAC,MAAM,WAAW,CAAC;AAUrD,KAAK,gBAAgB,GAAI;IACxB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACZ,CAAC;AAiIH,QAAA,MAAM,SAAS,sDAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { CspSourceSpec } from './csp.ts';
2
+ /**
3
+ * Trusted sources owned by fuz.dev.
4
+ */
5
+ export declare const csp_trusted_sources_of_fuzdev: Array<CspSourceSpec>;
6
+ //# sourceMappingURL=csp_of_fuzdev.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"csp_of_fuzdev.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/csp_of_fuzdev.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,aAAa,CAK9D,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Trusted sources owned by fuz.dev.
3
+ */
4
+ export const csp_trusted_sources_of_fuzdev = [
5
+ { source: 'https://*.fuz.dev/', trust: 'low' },
6
+ { source: 'https://*.zzz.software/', trust: 'low' },
7
+ // if needed
8
+ // {source: 'https://fuzdev.github.io/', trust: 'low'},
9
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuzdev/fuz_ui",
3
- "version": "0.187.0",
3
+ "version": "0.188.0",
4
4
  "description": "Svelte UI library",
5
5
  "motto": "friendly user zystem",
6
6
  "glyph": "🧶",
@@ -45,6 +45,7 @@
45
45
  "esm-env": "^1",
46
46
  "svelte": "^5",
47
47
  "svelte2tsx": "^0.7.45",
48
+ "vite": ">=6",
48
49
  "zod": "^4.1.12"
49
50
  },
50
51
  "peerDependenciesMeta": {
@@ -69,6 +70,9 @@
69
70
  "svelte2tsx": {
70
71
  "optional": true
71
72
  },
73
+ "vite": {
74
+ "optional": true
75
+ },
72
76
  "zod": {
73
77
  "optional": true
74
78
  }
@@ -101,6 +105,7 @@
101
105
  "tslib": "^2.8.1",
102
106
  "typescript": "^5.9.3",
103
107
  "typescript-eslint": "^8.48.1",
108
+ "vite": "^7.3.1",
104
109
  "vitest": "^4.0.15",
105
110
  "zimmerframe": "^1.1.4",
106
111
  "zod": "^4.3.6"
@@ -0,0 +1,11 @@
1
+ import type {CspSourceSpec} from './csp.ts';
2
+
3
+ /**
4
+ * Trusted sources owned by fuz.dev.
5
+ */
6
+ export const csp_trusted_sources_of_fuzdev: Array<CspSourceSpec> = [
7
+ {source: 'https://*.fuz.dev/', trust: 'low'},
8
+ {source: 'https://*.zzz.software/', trust: 'low'},
9
+ // if needed
10
+ // {source: 'https://fuzdev.github.io/', trust: 'low'},
11
+ ];
@@ -1,6 +0,0 @@
1
- import type { CspSourceSpec } from './csp.js';
2
- /**
3
- * Trusted sources owned by ryanatkn.
4
- */
5
- export declare const csp_trusted_sources_of_ryanatkn: Array<CspSourceSpec>;
6
- //# sourceMappingURL=csp_of_ryanatkn.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"csp_of_ryanatkn.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/csp_of_ryanatkn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,aAAa,CAUhE,CAAC"}
@@ -1,14 +0,0 @@
1
- /**
2
- * Trusted sources owned by ryanatkn.
3
- */
4
- export const csp_trusted_sources_of_ryanatkn = [
5
- { source: 'https://*.ryanatkn.com/', trust: 'low' },
6
- { source: 'https://*.spiderspace.org/', trust: 'low' },
7
- { source: 'https://*.webdevladder.net/', trust: 'low' },
8
- { source: 'https://*.dealt.dev/', trust: 'low' },
9
- { source: 'https://*.fuz.dev/', trust: 'low' },
10
- { source: 'https://*.ztack.net/', trust: 'low' },
11
- { source: 'https://*.zzz.software/', trust: 'low' },
12
- { source: 'https://*.cosmicplayground.org/', trust: 'low' },
13
- { source: 'https://ryanatkn.github.io/', trust: 'low' },
14
- ];
@@ -1,16 +0,0 @@
1
- import type {CspSourceSpec} from './csp.js';
2
-
3
- /**
4
- * Trusted sources owned by ryanatkn.
5
- */
6
- export const csp_trusted_sources_of_ryanatkn: Array<CspSourceSpec> = [
7
- {source: 'https://*.ryanatkn.com/', trust: 'low'},
8
- {source: 'https://*.spiderspace.org/', trust: 'low'},
9
- {source: 'https://*.webdevladder.net/', trust: 'low'},
10
- {source: 'https://*.dealt.dev/', trust: 'low'},
11
- {source: 'https://*.fuz.dev/', trust: 'low'},
12
- {source: 'https://*.ztack.net/', trust: 'low'},
13
- {source: 'https://*.zzz.software/', trust: 'low'},
14
- {source: 'https://*.cosmicplayground.org/', trust: 'low'},
15
- {source: 'https://ryanatkn.github.io/', trust: 'low'},
16
- ];