@adea-ai/ui 0.128.4 → 0.129.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.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The no-flash boot script, importable where there is no UI runtime.
3
+ *
4
+ * `themeScript` writes the document attributes before first paint. A host that
5
+ * renders its HTML at build time (a Vite `index.html` served by a desktop shell
6
+ * whose CSP allows no inline script) needs the string in Node, and the provider
7
+ * entries cannot be imported there: they load Solid's client runtime. This entry
8
+ * holds only the script and the types it takes, so it loads anywhere.
9
+ */
10
+ export { inlineScriptLiteral, themeScript, type ThemeScriptOptions } from './theme-script';
11
+ export type { ThemeStorageSchema } from './theme-persistence';
12
+ //# sourceMappingURL=script.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"script.d.ts","sourceRoot":"","sources":["../../../src/components/theme/script.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAC1F,YAAY,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { inlineScriptLiteral, themeScript } from "./theme-script.js";
2
+ export { inlineScriptLiteral, themeScript };
@@ -2532,6 +2532,11 @@
2532
2532
  "type": "registry:ui",
2533
2533
  "target": "components/theming/lazy.ts"
2534
2534
  },
2535
+ {
2536
+ "path": "src/components/theme/script.ts",
2537
+ "type": "registry:ui",
2538
+ "target": "components/theming/script.ts"
2539
+ },
2535
2540
  {
2536
2541
  "path": "src/components/theme/theme-catalogue-source.ts",
2537
2542
  "type": "registry:ui",
@@ -0,0 +1,11 @@
1
+ /**
2
+ * The no-flash boot script, importable where there is no UI runtime.
3
+ *
4
+ * `themeScript` writes the document attributes before first paint. A host that
5
+ * renders its HTML at build time (a Vite `index.html` served by a desktop shell
6
+ * whose CSP allows no inline script) needs the string in Node, and the provider
7
+ * entries cannot be imported there: they load Solid's client runtime. This entry
8
+ * holds only the script and the types it takes, so it loads anywhere.
9
+ */
10
+ export { inlineScriptLiteral, themeScript, type ThemeScriptOptions } from './theme-script'
11
+ export type { ThemeStorageSchema } from './theme-persistence'
@@ -33,6 +33,11 @@
33
33
  "type": "registry:ui",
34
34
  "target": "components/theming/lazy.ts"
35
35
  },
36
+ {
37
+ "path": "src/components/theme/script.ts",
38
+ "type": "registry:ui",
39
+ "target": "components/theming/script.ts"
40
+ },
36
41
  {
37
42
  "path": "src/components/theme/theme-catalogue-source.ts",
38
43
  "type": "registry:ui",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adea-ai/ui",
3
- "version": "0.128.4",
3
+ "version": "0.129.0",
4
4
  "description": "The Adea design system: Kobalte-backed Solid components, semantic OKLCH tokens, and the app-shell layout primitives shared by Adea and Cortana.",
5
5
  "keywords": [
6
6
  "adea",
@@ -74,6 +74,12 @@
74
74
  "./fonts.css": "./src/styles/fonts.css",
75
75
  "./registry.json": "./registry.json",
76
76
  "./package.json": "./package.json",
77
+ "./components/theme/script": {
78
+ "types": "./dist/components/theme/script.d.ts",
79
+ "solid": "./src/components/theme/script.ts",
80
+ "development": "./src/components/theme/script.ts",
81
+ "import": "./dist/components/theme/script.js"
82
+ },
77
83
  "./components/theme/lazy": {
78
84
  "types": "./dist/components/theme/lazy.d.ts",
79
85
  "solid": "./src/components/theme/lazy.ts",
package/registry.json CHANGED
@@ -2532,6 +2532,11 @@
2532
2532
  "type": "registry:ui",
2533
2533
  "target": "components/theming/lazy.ts"
2534
2534
  },
2535
+ {
2536
+ "path": "src/components/theme/script.ts",
2537
+ "type": "registry:ui",
2538
+ "target": "components/theming/script.ts"
2539
+ },
2535
2540
  {
2536
2541
  "path": "src/components/theme/theme-catalogue-source.ts",
2537
2542
  "type": "registry:ui",
@@ -0,0 +1,11 @@
1
+ /**
2
+ * The no-flash boot script, importable where there is no UI runtime.
3
+ *
4
+ * `themeScript` writes the document attributes before first paint. A host that
5
+ * renders its HTML at build time (a Vite `index.html` served by a desktop shell
6
+ * whose CSP allows no inline script) needs the string in Node, and the provider
7
+ * entries cannot be imported there: they load Solid's client runtime. This entry
8
+ * holds only the script and the types it takes, so it loads anywhere.
9
+ */
10
+ export { inlineScriptLiteral, themeScript, type ThemeScriptOptions } from './theme-script'
11
+ export type { ThemeStorageSchema } from './theme-persistence'