@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.
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ThemeTool
3
- } from "../../chunk-MSSXLFPL.js";
3
+ } from "../../chunk-YXF4RUSK.js";
4
4
  import "../../chunk-HSBRF2QZ.js";
5
- import "../../chunk-UK7U2PBM.js";
5
+ import "../../chunk-BTQOTIPQ.js";
6
6
  export {
7
7
  ThemeTool
8
8
  };
@@ -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", "0");
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-GII4NPN2.js";
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-UK7U2PBM.js";
7
+ import "../../chunk-BTQOTIPQ.js";
8
8
  export {
9
9
  ChakraProviderDecorator
10
10
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  DirectionTool
3
- } from "../../chunk-SGM3YTWS.js";
3
+ } from "../../chunk-KOZXHA3B.js";
4
4
  import "../../chunk-HSBRF2QZ.js";
5
- import "../../chunk-UK7U2PBM.js";
5
+ import "../../chunk-BTQOTIPQ.js";
6
6
  export {
7
7
  DirectionTool
8
8
  };
@@ -2,7 +2,7 @@ import {
2
2
  useDirection
3
3
  } from "../../chunk-N4JZ67DU.js";
4
4
  import "../../chunk-HSBRF2QZ.js";
5
- import "../../chunk-UK7U2PBM.js";
5
+ import "../../chunk-BTQOTIPQ.js";
6
6
  export {
7
7
  useDirection
8
8
  };
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  EVENTS,
9
9
  THEME_TOOL_ID
10
10
  } from "./chunk-HSBRF2QZ.js";
11
- import "./chunk-UK7U2PBM.js";
11
+ import "./chunk-BTQOTIPQ.js";
12
12
  export {
13
13
  ADDON_ID,
14
14
  COLOR_MODE_TOOL_ID,
@@ -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", "0");
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-GII4NPN2.js";
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-UK7U2PBM.js";
7
+ import "../chunk-BTQOTIPQ.js";
8
8
 
9
9
  // src/preset/decorators.ts
10
10
  var decorators = [ChakraProviderDecorator];
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __require
3
- } from "../chunk-UK7U2PBM.js";
3
+ } from "../chunk-BTQOTIPQ.js";
4
4
 
5
5
  // src/preset/index.ts
6
6
  function config(entry = []) {