@slabui/theme-react 0.0.2 → 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.
- package/CHANGELOG.md +13 -0
- package/README.md +2 -2
- package/dist/editor/index.mjs +12 -76
- package/dist/editor/index.mjs.map +1 -1
- package/dist/index.d.mts +3 -0
- package/dist/index.mjs +1 -0
- package/package.json +10 -5
package/dist/index.d.mts
ADDED
|
@@ -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.
|
|
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",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"type": "module",
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
32
|
-
"types": "./dist/
|
|
33
|
-
"import": "./dist/
|
|
32
|
+
"types": "./dist/index.d.mts",
|
|
33
|
+
"import": "./dist/index.mjs"
|
|
34
34
|
},
|
|
35
35
|
"./editor": {
|
|
36
36
|
"types": "./dist/editor/index.d.mts",
|
|
@@ -53,12 +53,14 @@
|
|
|
53
53
|
"CHANGELOG.md"
|
|
54
54
|
],
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@slabui/theme-core": "0.0.
|
|
57
|
-
"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"
|
|
58
59
|
},
|
|
59
60
|
"peerDependencies": {
|
|
60
61
|
"next": ">=15",
|
|
61
62
|
"react": ">=19",
|
|
63
|
+
"react-dom": ">=19",
|
|
62
64
|
"vite": ">=6"
|
|
63
65
|
},
|
|
64
66
|
"peerDependenciesMeta": {
|
|
@@ -68,6 +70,9 @@
|
|
|
68
70
|
"react": {
|
|
69
71
|
"optional": true
|
|
70
72
|
},
|
|
73
|
+
"react-dom": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
71
76
|
"vite": {
|
|
72
77
|
"optional": true
|
|
73
78
|
}
|