@saas-ui/storybook-addon 1.0.1-next.1 → 1.1.0-rc.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +12 -0
- package/dist/chunk-BTQOTIPQ.js +32 -0
- package/dist/{chunk-SGM3YTWS.js → chunk-KOZXHA3B.js} +1 -1
- package/dist/{chunk-GII4NPN2.js → chunk-VAH7CV3O.js} +2 -2
- package/dist/chunk-YXF4RUSK.js +77 -0
- package/dist/constants.js +1 -1
- package/dist/feature/arg-types.js +1 -1
- package/dist/feature/color-mode/ColorModeSync.js +1 -1
- package/dist/feature/color-mode/ColorModeTool.js +1 -1
- package/dist/feature/color-mode/ThemeTool.cjs +32 -4972
- package/dist/feature/color-mode/ThemeTool.js +2 -2
- package/dist/feature/decorator/ChakraProviderDecorator.cjs +1 -1
- package/dist/feature/decorator/ChakraProviderDecorator.js +2 -2
- package/dist/feature/direction/DirectionTool.js +2 -2
- package/dist/feature/direction/useDirection.js +1 -1
- package/dist/index.js +1 -1
- package/dist/preset/decorators.cjs +1 -1
- package/dist/preset/decorators.js +2 -2
- package/dist/preset/index.js +1 -1
- package/dist/preset/register.cjs +83 -5018
- package/dist/preset/register.js +3 -3
- package/package.json +9 -12
- package/dist/chunk-MSSXLFPL.js +0 -4979
- package/dist/chunk-UK7U2PBM.js +0 -70
@@ -110,7 +110,7 @@ var import_theme_glass = require("@saas-ui/theme-glass");
|
|
110
110
|
var import_jsx_runtime = require("react/jsx-runtime");
|
111
111
|
var glassTheme = (0, import_react5.extendTheme)(import_theme_glass.theme, import_theme.theme);
|
112
112
|
var useThemeSync = () => {
|
113
|
-
const [themeId, setTheme] = (0, import_react6.useLocalStorage)("storybook.theme", "
|
113
|
+
const [themeId, setTheme] = (0, import_react6.useLocalStorage)("storybook.theme", "1");
|
114
114
|
import_react4.default.useEffect(() => {
|
115
115
|
const channel = import_addons3.addons.getChannel();
|
116
116
|
const themeCallback = (value) => setTheme(value);
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import {
|
2
2
|
ChakraProviderDecorator
|
3
|
-
} from "../../chunk-
|
3
|
+
} from "../../chunk-VAH7CV3O.js";
|
4
4
|
import "../../chunk-N4JZ67DU.js";
|
5
5
|
import "../../chunk-SVHNULTN.js";
|
6
6
|
import "../../chunk-HSBRF2QZ.js";
|
7
|
-
import "../../chunk-
|
7
|
+
import "../../chunk-BTQOTIPQ.js";
|
8
8
|
export {
|
9
9
|
ChakraProviderDecorator
|
10
10
|
};
|
package/dist/index.js
CHANGED
@@ -112,7 +112,7 @@ var import_theme_glass = require("@saas-ui/theme-glass");
|
|
112
112
|
var import_jsx_runtime = require("react/jsx-runtime");
|
113
113
|
var glassTheme = (0, import_react5.extendTheme)(import_theme_glass.theme, import_theme.theme);
|
114
114
|
var useThemeSync = () => {
|
115
|
-
const [themeId, setTheme] = (0, import_react6.useLocalStorage)("storybook.theme", "
|
115
|
+
const [themeId, setTheme] = (0, import_react6.useLocalStorage)("storybook.theme", "1");
|
116
116
|
import_react4.default.useEffect(() => {
|
117
117
|
const channel = import_addons3.addons.getChannel();
|
118
118
|
const themeCallback = (value) => setTheme(value);
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import {
|
2
2
|
ChakraProviderDecorator
|
3
|
-
} from "../chunk-
|
3
|
+
} from "../chunk-VAH7CV3O.js";
|
4
4
|
import "../chunk-N4JZ67DU.js";
|
5
5
|
import "../chunk-SVHNULTN.js";
|
6
6
|
import "../chunk-HSBRF2QZ.js";
|
7
|
-
import "../chunk-
|
7
|
+
import "../chunk-BTQOTIPQ.js";
|
8
8
|
|
9
9
|
// src/preset/decorators.ts
|
10
10
|
var decorators = [ChakraProviderDecorator];
|