@lobehub/ui 1.101.2 → 1.101.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.
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { DivProps } from "../types";
3
- export interface StroyBookProps extends DivProps {
3
+ export interface StoryBookProps extends DivProps {
4
4
  /**
5
5
  * @description The Leva store instance to be used by the component
6
6
  * @type levaStore
@@ -11,6 +11,6 @@ export interface StroyBookProps extends DivProps {
11
11
  */
12
12
  noPadding?: boolean;
13
13
  }
14
- export declare const StroyBook: import("react").NamedExoticComponent<StroyBookProps>;
15
- export default StroyBook;
14
+ export declare const StoryBook: import("react").NamedExoticComponent<StoryBookProps>;
15
+ export default StoryBook;
16
16
  export { useControls, useCreateStore } from 'leva';
@@ -10,7 +10,7 @@ import DraggablePanel from "../DraggablePanel";
10
10
  import { useStyles } from "./style";
11
11
  import { jsx as _jsx } from "react/jsx-runtime";
12
12
  import { jsxs as _jsxs } from "react/jsx-runtime";
13
- export var StroyBook = /*#__PURE__*/memo(function (_ref) {
13
+ export var StoryBook = /*#__PURE__*/memo(function (_ref) {
14
14
  var levaStore = _ref.levaStore,
15
15
  noPadding = _ref.noPadding,
16
16
  className = _ref.className,
@@ -43,5 +43,5 @@ export var StroyBook = /*#__PURE__*/memo(function (_ref) {
43
43
  })]
44
44
  }));
45
45
  });
46
- export default StroyBook;
46
+ export default StoryBook;
47
47
  export { useControls, useCreateStore } from 'leva';
package/es/index.d.ts CHANGED
@@ -62,7 +62,15 @@ export { default as SliderWithInput, type SliderWithInputProps } from './SliderW
62
62
  export { default as Snippet, type SnippetProps } from './Snippet';
63
63
  export { default as Spotlight, type SpotlightProps } from './Spotlight';
64
64
  export { default as SpotlightCard, type SpotlightCardProps } from './SpotlightCard';
65
- export { default as StroyBook, type StroyBookProps, useControls, useCreateStore, } from './StroyBook';
65
+ export { default as StoryBook, type StoryBookProps,
66
+ /**
67
+ * @deprecated Use `StoryBookProps` instead. It was a typo.
68
+ */
69
+ default as StroyBook,
70
+ /**
71
+ * @deprecated Use `StoryBookProps` instead. It was a typo.
72
+ */
73
+ type StoryBookProps as StroyBookProps, useControls, useCreateStore, } from './StoryBook';
66
74
  export * from './styles';
67
75
  export { default as Swatches, type SwatchesProps } from './Swatches';
68
76
  export { default as TabsNav, type TabsNavProps } from './TabsNav';
package/es/index.js CHANGED
@@ -61,7 +61,14 @@ export { default as SliderWithInput } from "./SliderWithInput";
61
61
  export { default as Snippet } from "./Snippet";
62
62
  export { default as Spotlight } from "./Spotlight";
63
63
  export { default as SpotlightCard } from "./SpotlightCard";
64
- export { default as StroyBook, useControls, useCreateStore } from "./StroyBook";
64
+ export { default as StoryBook,
65
+ /**
66
+ * @deprecated Use `StoryBookProps` instead. It was a typo.
67
+ */
68
+ default as StroyBook
69
+ /**
70
+ * @deprecated Use `StoryBookProps` instead. It was a typo.
71
+ */, useControls, useCreateStore } from "./StoryBook";
65
72
  export * from "./styles";
66
73
  export { default as Swatches } from "./Swatches";
67
74
  export { default as TabsNav } from "./TabsNav";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "1.101.2",
3
+ "version": "1.101.3",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",
File without changes
File without changes