@slabui/theme-react 0.0.1 → 0.0.3

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,3 @@
1
+ import { THEME_ATTRIBUTE, THEME_ENV, isThemeName, themeAttribute, themeSelector } from "@slabui/theme-core/attribute";
2
+ import { ThemeEditor, ThemeEditorProps } from "./editor/index.mjs";
3
+ export { THEME_ATTRIBUTE, THEME_ENV, ThemeEditor, type ThemeEditorProps, isThemeName, themeAttribute, themeSelector };
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ import{THEME_ATTRIBUTE as e,THEME_ENV as t,isThemeName as n,themeAttribute as r,themeSelector as i}from"@slabui/theme-core/attribute";import{ThemeEditor as a}from"./editor/index.mjs";export{e as THEME_ATTRIBUTE,t as THEME_ENV,a as ThemeEditor,n as isThemeName,r as themeAttribute,i as themeSelector};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slabui/theme-react",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "Live theme editor for SlabUI and its Vite and Next plugins",
5
5
  "keywords": [
6
6
  "slabui",
@@ -28,6 +28,10 @@
28
28
  },
29
29
  "type": "module",
30
30
  "exports": {
31
+ ".": {
32
+ "types": "./dist/index.d.mts",
33
+ "import": "./dist/index.mjs"
34
+ },
31
35
  "./editor": {
32
36
  "types": "./dist/editor/index.d.mts",
33
37
  "import": "./dist/editor/index.mjs"
@@ -49,12 +53,14 @@
49
53
  "CHANGELOG.md"
50
54
  ],
51
55
  "dependencies": {
52
- "@slabui/theme-core": "0.0.1",
53
- "get-tsconfig": "4.14.3"
56
+ "@slabui/theme-core": "0.0.3",
57
+ "get-tsconfig": "4.14.3",
58
+ "use-sync-external-store": "1.7.0"
54
59
  },
55
60
  "peerDependencies": {
56
61
  "next": ">=15",
57
62
  "react": ">=19",
63
+ "react-dom": ">=19",
58
64
  "vite": ">=6"
59
65
  },
60
66
  "peerDependenciesMeta": {
@@ -64,6 +70,9 @@
64
70
  "react": {
65
71
  "optional": true
66
72
  },
73
+ "react-dom": {
74
+ "optional": true
75
+ },
67
76
  "vite": {
68
77
  "optional": true
69
78
  }