@hubstr/kit 0.1.0 → 0.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubstr/kit",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Hubstr UI, icons, editor, charts, TTS, analytics, and CLI tooling.",
5
5
  "license": "MIT",
6
6
  "author": "Hubstr",
@@ -1,29 +1,29 @@
1
- import { LogoSpline, type LogoSplineProps } from '@hubstr/kit/ui/brand';
2
- import { StoryBook, useControls, useCreateStore } from '@hubstr/kit/ui/storybook';
3
-
4
- export default () => {
5
- const store = useCreateStore();
6
- const control = useControls(
7
- {
8
- height: {
9
- max: 640,
10
- min: 24,
11
- step: 1,
12
- value: 400,
13
- },
14
- width: {
15
- max: 640,
16
- min: 24,
17
- step: 1,
18
- value: 640,
19
- },
20
- },
21
- { store },
22
- ) as LogoSplineProps;
23
-
24
- return (
25
- <StoryBook levaStore={store}>
26
- <LogoSpline {...control} />
27
- </StoryBook>
28
- );
29
- };
1
+ import { LogoSpline, type LogoSplineProps } from '@hubstr/kit/ui/brand';
2
+ import { StoryBook, useControls, useCreateStore } from '@hubstr/kit/ui/storybook';
3
+
4
+ export default () => {
5
+ const store = useCreateStore();
6
+ const control = useControls(
7
+ {
8
+ height: {
9
+ max: 640,
10
+ min: 24,
11
+ step: 1,
12
+ value: 400,
13
+ },
14
+ width: {
15
+ max: 640,
16
+ min: 24,
17
+ step: 1,
18
+ value: 640,
19
+ },
20
+ },
21
+ { store },
22
+ ) as LogoSplineProps;
23
+
24
+ return (
25
+ <StoryBook levaStore={store}>
26
+ <LogoSpline {...control} />
27
+ </StoryBook>
28
+ );
29
+ };
package/ui/src/index.ts CHANGED
@@ -298,7 +298,7 @@ export {
298
298
  HubstrUIProvider,
299
299
  I18nProvider,
300
300
  type I18nProviderProps,
301
- HubstrUIProvider,
301
+ useI18n,
302
302
  useTranslation,
303
303
  } from './Provider';
304
304
  export * from './ScrollArea';