tycho-storybook 0.2.7 → 0.3.0

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.
Files changed (36) hide show
  1. package/dist/AlphaFilter/AlphaFilter.stories.d.ts +2 -2
  2. package/dist/AlphaFilter/AlphaFilter.stories.js +2 -0
  3. package/dist/AnchorLink/AnchorLink.stories.d.ts +5 -5
  4. package/dist/AudioMedia/AudioMedia.stories.d.ts +2 -2
  5. package/dist/AudioPlayer/AudioPlayer.stories.d.ts +1 -1
  6. package/dist/Avatar/Avatar.stories.d.ts +3 -3
  7. package/dist/Badge/Badge.stories.d.ts +3 -3
  8. package/dist/Button/Button.stories.d.ts +9 -9
  9. package/dist/DropdownButton/DropdownButton.stories.d.ts +8 -8
  10. package/dist/DropdownList/DropdownList.stories.d.ts +3 -3
  11. package/dist/DropdownList/DropdownList.stories.js +3 -1
  12. package/dist/DropdownMenu/DropdownMenu.stories.d.ts +1 -1
  13. package/dist/DropdownMenu/DropdownMenu.stories.js +1 -1
  14. package/dist/Dummy/Dummy.stories.d.ts +1 -1
  15. package/dist/FilterDropdown/FilterDropdown.stories.d.ts +4 -4
  16. package/dist/Icon/Icon.stories.d.ts +3 -3
  17. package/dist/IconButton/IconButton.stories.d.ts +9 -9
  18. package/dist/ImageUpload/ImageUpload.stories.d.ts +1 -1
  19. package/dist/Pill/Pill.stories.d.ts +6 -6
  20. package/dist/ProfileDropdown/ProfileDropdown.stories.d.ts +3 -3
  21. package/dist/SearchBar/SearchBar.stories.d.ts +3 -3
  22. package/dist/SearchBar/SearchBar.stories.js +2 -2
  23. package/dist/SearchList/SearchList.stories.d.ts +1 -1
  24. package/dist/SearchList/SearchList.stories.js +1 -1
  25. package/dist/SelectField/SelectField.stories.d.ts +9 -9
  26. package/dist/SelectField/SelectField.stories.js +1 -1
  27. package/dist/Spinner/Spinner.stories.d.ts +4 -4
  28. package/dist/StorybookUtils.d.ts +3 -3
  29. package/dist/StorybookUtils.js +2 -3
  30. package/dist/Tabs/Tabs.stories.d.ts +4 -4
  31. package/dist/Tabs/Tabs.stories.js +3 -3
  32. package/dist/Tag/Tag.stories.d.ts +7 -7
  33. package/dist/Tooltip/Tooltip.stories.d.ts +3 -3
  34. package/dist/VerticalButton/VerticalButton.stories.d.ts +1 -1
  35. package/dist/styles/main.scss +7 -7
  36. package/package.json +13 -15
@@ -9,10 +9,10 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  className: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  disabled: {
15
- control: string;
15
+ control: "boolean";
16
16
  };
17
17
  };
18
18
  };
@@ -1,4 +1,5 @@
1
1
  import AlphaFilter from './AlphaFilter';
2
+ import { fn } from 'storybook/test';
2
3
  const LETTERS = [
3
4
  'A',
4
5
  'B',
@@ -43,5 +44,6 @@ export default meta;
43
44
  export const Primary = {
44
45
  args: {
45
46
  items: LETTERS,
47
+ onSelect: fn(),
46
48
  },
47
49
  };
@@ -9,19 +9,19 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  title: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  subtitle: {
15
- control: string;
15
+ control: "text";
16
16
  };
17
17
  className: {
18
- control: string;
18
+ control: "text";
19
19
  };
20
20
  fixed: {
21
- control: string;
21
+ control: "boolean";
22
22
  };
23
23
  active: {
24
- control: string;
24
+ control: "boolean";
25
25
  };
26
26
  };
27
27
  };
@@ -9,10 +9,10 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  src: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  placement: {
15
- control: string;
15
+ control: "text";
16
16
  };
17
17
  };
18
18
  };
@@ -9,7 +9,7 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  src: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  };
15
15
  };
@@ -3,17 +3,17 @@ import Avatar from './Avatar';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: typeof Avatar;
6
- decorators: ((Story: import("@storybook/react").StoryFn) => import("react/jsx-runtime").JSX.Element)[];
6
+ decorators: import("@storybook/react").Decorator[];
7
7
  parameters: {
8
8
  layout: string;
9
9
  };
10
10
  tags: string[];
11
11
  argTypes: {
12
12
  src: {
13
- control: string;
13
+ control: "text";
14
14
  };
15
15
  size: {
16
- control: string;
16
+ control: "select";
17
17
  options: readonly ["x-large", "large", "medium", "small", "x-small"];
18
18
  };
19
19
  };
@@ -9,14 +9,14 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  text: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  color: {
15
- control: string;
15
+ control: "select";
16
16
  options: readonly ["none", "black", "blue", "green", "red", "yellow", "violet"];
17
17
  };
18
18
  size: {
19
- control: string;
19
+ control: "select";
20
20
  options: readonly ["large", "medium", "small", "x-small"];
21
21
  };
22
22
  };
@@ -9,34 +9,34 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  text: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  color: {
15
- control: string;
15
+ control: "select";
16
16
  options: readonly ["accent", "danger", "white"];
17
17
  };
18
18
  size: {
19
- control: string;
19
+ control: "select";
20
20
  options: readonly ["large", "medium", "small", "x-small"];
21
21
  };
22
22
  mode: {
23
- control: string;
23
+ control: "select";
24
24
  options: readonly ["filled", "tonal", "outlined", "ghost"];
25
25
  };
26
26
  active: {
27
- control: string;
27
+ control: "boolean";
28
28
  };
29
29
  disabled: {
30
- control: string;
30
+ control: "boolean";
31
31
  };
32
32
  title: {
33
- control: string;
33
+ control: "text";
34
34
  };
35
35
  icon: {
36
- control: string;
36
+ control: "text";
37
37
  };
38
38
  iconPosition: {
39
- control: string;
39
+ control: "select";
40
40
  options: readonly ["left", "right"];
41
41
  };
42
42
  };
@@ -9,30 +9,30 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  text: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  color: {
15
- control: string;
15
+ control: "select";
16
16
  options: readonly ["primary", "secondary", "tertiary"];
17
17
  };
18
18
  size: {
19
- control: string;
19
+ control: "select";
20
20
  options: readonly ["large", "medium", "small"];
21
21
  };
22
22
  active: {
23
- control: string;
23
+ control: "boolean";
24
24
  };
25
25
  disabled: {
26
- control: string;
26
+ control: "boolean";
27
27
  };
28
28
  hideIcon: {
29
- control: string;
29
+ control: "boolean";
30
30
  };
31
31
  hideDivider: {
32
- control: string;
32
+ control: "boolean";
33
33
  };
34
34
  right: {
35
- control: string;
35
+ control: "boolean";
36
36
  };
37
37
  };
38
38
  };
@@ -3,17 +3,17 @@ import DropdownList from './DropdownList';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: typeof DropdownList;
6
- decorators: ((Story: import("@storybook/react").StoryFn) => import("react/jsx-runtime").JSX.Element)[];
6
+ decorators: import("@storybook/react").Decorator[];
7
7
  parameters: {
8
8
  layout: string;
9
9
  };
10
10
  tags: string[];
11
11
  argTypes: {
12
12
  list: {
13
- control: string;
13
+ control: "object";
14
14
  };
15
15
  className: {
16
- control: string;
16
+ control: "text";
17
17
  };
18
18
  };
19
19
  };
@@ -1,6 +1,7 @@
1
1
  import DropdownList from './DropdownList';
2
2
  import avatar from '../Avatar/avatar.png';
3
3
  import StorybookUtils from '../StorybookUtils';
4
+ import { fn } from 'storybook/test';
4
5
  const meta = {
5
6
  title: 'Components/DropdownList',
6
7
  component: DropdownList,
@@ -10,13 +11,14 @@ const meta = {
10
11
  },
11
12
  tags: ['autodocs'],
12
13
  argTypes: {
13
- list: { control: 'array' },
14
+ list: { control: 'object' },
14
15
  className: { control: 'text' },
15
16
  },
16
17
  };
17
18
  export default meta;
18
19
  export const Primary = {
19
20
  args: {
21
+ onSelect: fn(),
20
22
  list: [
21
23
  { label: 'Label', value: 'Label', tag: 'Tag' },
22
24
  { label: 'Label', value: 'Label', icon: 'Star', sublabel: 'hist.' },
@@ -9,7 +9,7 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  list: {
12
- control: string;
12
+ control: "object";
13
13
  };
14
14
  };
15
15
  };
@@ -7,7 +7,7 @@ const meta = {
7
7
  },
8
8
  tags: ['autodocs'],
9
9
  argTypes: {
10
- list: { control: 'array' },
10
+ list: { control: 'object' },
11
11
  },
12
12
  };
13
13
  export default meta;
@@ -9,7 +9,7 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  mode: {
12
- control: string;
12
+ control: "select";
13
13
  options: readonly ["white", "blue"];
14
14
  };
15
15
  };
@@ -9,17 +9,17 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  text: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  size: {
15
- control: string;
15
+ control: "select";
16
16
  options: readonly ["large", "medium", "small"];
17
17
  };
18
18
  active: {
19
- control: string;
19
+ control: "boolean";
20
20
  };
21
21
  disabled: {
22
- control: string;
22
+ control: "boolean";
23
23
  };
24
24
  };
25
25
  };
@@ -9,14 +9,14 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  name: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  size: {
15
- control: string;
15
+ control: "select";
16
16
  options: readonly ["x-large", "large", "medium", "small", "x-small"];
17
17
  };
18
18
  weight: {
19
- control: string;
19
+ control: "select";
20
20
  options: readonly ["regular", "heavy"];
21
21
  };
22
22
  };
@@ -3,38 +3,38 @@ import IconButton from './IconButton';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: typeof IconButton;
6
- decorators: ((Story: import("@storybook/react").StoryFn) => import("react/jsx-runtime").JSX.Element)[];
6
+ decorators: import("@storybook/react").Decorator[];
7
7
  parameters: {
8
8
  layout: string;
9
9
  };
10
10
  tags: string[];
11
11
  argTypes: {
12
12
  name: {
13
- control: string;
13
+ control: "text";
14
14
  };
15
15
  color: {
16
- control: string;
16
+ control: "select";
17
17
  options: readonly ["accent", "danger", "white"];
18
18
  };
19
19
  size: {
20
- control: string;
20
+ control: "select";
21
21
  options: readonly ["large", "medium", "small", "x-small"];
22
22
  };
23
23
  mode: {
24
- control: string;
24
+ control: "select";
25
25
  options: readonly ["filled", "tonal", "outlined", "ghost"];
26
26
  };
27
27
  active: {
28
- control: string;
28
+ control: "boolean";
29
29
  };
30
30
  disabled: {
31
- control: string;
31
+ control: "boolean";
32
32
  };
33
33
  spin: {
34
- control: string;
34
+ control: "boolean";
35
35
  };
36
36
  title: {
37
- control: string;
37
+ control: "text";
38
38
  };
39
39
  };
40
40
  };
@@ -9,7 +9,7 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  className: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  };
15
15
  };
@@ -9,23 +9,23 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  text: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  icon: {
15
- control: string;
15
+ control: "text";
16
16
  };
17
17
  active: {
18
- control: string;
18
+ control: "boolean";
19
19
  };
20
20
  className: {
21
- control: string;
21
+ control: "text";
22
22
  };
23
23
  size: {
24
- control: string;
24
+ control: "select";
25
25
  options: readonly ["large", "medium", "small"];
26
26
  };
27
27
  type: {
28
- control: string;
28
+ control: "select";
29
29
  options: readonly ["outlined", "filled"];
30
30
  };
31
31
  };
@@ -3,18 +3,18 @@ import ProfileDropdown from './ProfileDropdown';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: typeof ProfileDropdown;
6
- decorators: ((Story: import("@storybook/react").StoryFn) => import("react/jsx-runtime").JSX.Element)[];
6
+ decorators: import("@storybook/react").Decorator[];
7
7
  parameters: {
8
8
  layout: string;
9
9
  };
10
10
  tags: string[];
11
11
  argTypes: {
12
12
  color: {
13
- control: string;
13
+ control: "select";
14
14
  options: readonly ["white", "blue"];
15
15
  };
16
16
  disabled: {
17
- control: string;
17
+ control: "boolean";
18
18
  };
19
19
  };
20
20
  };
@@ -9,14 +9,14 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  value: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  size: {
15
- control: string;
15
+ control: "select";
16
16
  options: readonly ["large", "medium", "small"];
17
17
  };
18
18
  disabled: {
19
- control: string;
19
+ control: "boolean";
20
20
  };
21
21
  onChange: {
22
22
  action: string;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import SearchBar, { SearchBarSizes } from './SearchBar';
3
- import { action } from '@storybook/addon-actions';
3
+ import { fn } from 'storybook/test';
4
4
  import { useState } from 'react';
5
5
  const meta = {
6
6
  title: 'Components/SearchBar',
@@ -31,6 +31,6 @@ export const Primary = {
31
31
  args: {
32
32
  size: 'medium',
33
33
  disabled: false,
34
- onChange: action('onChange'),
34
+ onChange: fn(),
35
35
  },
36
36
  };
@@ -9,7 +9,7 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  list: {
12
- control: string;
12
+ control: "object";
13
13
  };
14
14
  };
15
15
  };
@@ -7,7 +7,7 @@ const meta = {
7
7
  },
8
8
  tags: ['autodocs'],
9
9
  argTypes: {
10
- list: { control: 'array' },
10
+ list: { control: 'object' },
11
11
  },
12
12
  };
13
13
  export default meta;
@@ -8,31 +8,31 @@ declare const meta: {
8
8
  tags: string[];
9
9
  argTypes: {
10
10
  label: {
11
- control: string;
11
+ control: "text";
12
12
  };
13
13
  attr: {
14
- control: string;
14
+ control: "text";
15
15
  };
16
16
  createdForm: {
17
- control: boolean;
17
+ control: false;
18
18
  };
19
19
  className: {
20
- control: string;
20
+ control: "text";
21
21
  };
22
22
  title: {
23
- control: string;
23
+ control: "text";
24
24
  };
25
25
  placeholder: {
26
- control: string;
26
+ control: "text";
27
27
  };
28
28
  disabled: {
29
- control: string;
29
+ control: "boolean";
30
30
  };
31
31
  multiple: {
32
- control: string;
32
+ control: "boolean";
33
33
  };
34
34
  options: {
35
- control: string;
35
+ control: "object";
36
36
  };
37
37
  };
38
38
  };
@@ -17,7 +17,7 @@ const meta = {
17
17
  placeholder: { control: 'text' },
18
18
  disabled: { control: 'boolean' },
19
19
  multiple: { control: 'boolean' },
20
- options: { control: 'array' },
20
+ options: { control: 'object' },
21
21
  },
22
22
  };
23
23
  export default meta;
@@ -9,17 +9,17 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  size: {
12
- control: string;
12
+ control: "select";
13
13
  options: readonly ["large", "medium", "small", "x-small"];
14
14
  };
15
15
  title: {
16
- control: string;
16
+ control: "text";
17
17
  };
18
18
  description: {
19
- control: string;
19
+ control: "text";
20
20
  };
21
21
  titlePlacement: {
22
- control: string;
22
+ control: "select";
23
23
  options: readonly ["right", "bottom"];
24
24
  };
25
25
  };
@@ -1,6 +1,6 @@
1
- import type { StoryFn } from '@storybook/react';
1
+ import type { Decorator } from '@storybook/react';
2
2
  declare const StorybookUtils: {
3
- WithDynamicDocsBackground: (Story: StoryFn) => import("react/jsx-runtime").JSX.Element;
4
- WithSecondaryDocsBackground: (Story: StoryFn) => import("react/jsx-runtime").JSX.Element;
3
+ WithDynamicDocsBackground: Decorator;
4
+ WithSecondaryDocsBackground: Decorator;
5
5
  };
6
6
  export default StorybookUtils;
@@ -1,10 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useArgs } from '@storybook/preview-api';
3
2
  import { useEffect } from 'react';
4
3
  const secondaryBackgroundColor = '#185ABD';
5
4
  // This is now a proper React component
6
- const WithDynamicDocsBackground = (Story) => {
7
- const [{ color }] = useArgs();
5
+ const WithDynamicDocsBackground = (Story, context) => {
6
+ const { color } = context.args || {};
8
7
  useEffect(() => {
9
8
  const backgroundColor = color === 'white' ? '#185ABD' : '#FFFFFF';
10
9
  const docsStoryElement = document.querySelector('.docs-story');
@@ -3,23 +3,23 @@ import Tabs from './Tabs';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: typeof Tabs;
6
- decorators: ((Story: import("@storybook/react").StoryFn) => import("react/jsx-runtime").JSX.Element)[];
6
+ decorators: import("@storybook/react").Decorator[];
7
7
  parameters: {
8
8
  layout: string;
9
9
  };
10
10
  tags: string[];
11
11
  argTypes: {
12
12
  items: {
13
- control: string;
13
+ control: "object";
14
14
  };
15
15
  className: {
16
- control: string;
16
+ control: "text";
17
17
  };
18
18
  onSelect: {
19
19
  action: string;
20
20
  };
21
21
  color: {
22
- control: string;
22
+ control: "select";
23
23
  options: readonly ["white", "blue"];
24
24
  };
25
25
  };
@@ -1,4 +1,4 @@
1
- import { action } from '@storybook/addon-actions';
1
+ import { fn } from 'storybook/test';
2
2
  import Tabs, { TabsColors } from './Tabs';
3
3
  import StorybookUtils from '../StorybookUtils';
4
4
  const meta = {
@@ -10,7 +10,7 @@ const meta = {
10
10
  },
11
11
  tags: ['autodocs'],
12
12
  argTypes: {
13
- items: { control: 'array' },
13
+ items: { control: 'object' },
14
14
  className: { control: 'text' },
15
15
  onSelect: { action: 'onSelect' },
16
16
  color: { control: 'select', options: TabsColors },
@@ -25,6 +25,6 @@ export const Primary = {
25
25
  { label: 'Tab C', value: 'tab_c', active: true },
26
26
  { label: 'Tab D', value: 'tab_d', disabled: true },
27
27
  ],
28
- onSelect: action('onSelect'),
28
+ onSelect: fn(),
29
29
  },
30
30
  };
@@ -9,28 +9,28 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  text: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  color: {
15
- control: string;
15
+ control: "select";
16
16
  options: readonly ["gray", "blue", "green", "red", "yellow", "violet"];
17
17
  };
18
18
  size: {
19
- control: string;
19
+ control: "select";
20
20
  options: readonly ["large", "medium", "small"];
21
21
  };
22
22
  type: {
23
- control: string;
23
+ control: "select";
24
24
  options: readonly ["low", "accent"];
25
25
  };
26
26
  disabled: {
27
- control: string;
27
+ control: "boolean";
28
28
  };
29
29
  title: {
30
- control: string;
30
+ control: "text";
31
31
  };
32
32
  className: {
33
- control: string;
33
+ control: "text";
34
34
  };
35
35
  };
36
36
  };
@@ -9,14 +9,14 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  mode: {
12
- control: string;
12
+ control: "select";
13
13
  options: readonly ["simple", "confirmation", "delete"];
14
14
  };
15
15
  placement: {
16
- control: string;
16
+ control: "text";
17
17
  };
18
18
  title: {
19
- control: string;
19
+ control: "text";
20
20
  };
21
21
  };
22
22
  };
@@ -9,7 +9,7 @@ declare const meta: {
9
9
  tags: string[];
10
10
  argTypes: {
11
11
  text: {
12
- control: string;
12
+ control: "text";
13
13
  };
14
14
  };
15
15
  };
@@ -1,10 +1,10 @@
1
- @use 'base/typographs' as *;
2
- @import 'base/borders';
3
- @import 'base/colors';
4
- @import 'base/displays';
5
- @import 'base/margins';
6
- @import 'base/spacing';
7
- @import 'base/tokens';
1
+ @use "base/typographs" as *;
2
+ @use "base/borders";
3
+ @use "base/colors";
4
+ @use "base/displays";
5
+ @use "base/margins";
6
+ @use "base/spacing";
7
+ @use "base/tokens";
8
8
 
9
9
  .pointer {
10
10
  cursor: pointer;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "tycho-storybook",
3
3
  "private": false,
4
- "version": "0.2.7",
4
+ "version": "0.3.0",
5
5
  "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
6
+ "types": "dist/index.d.ts",
7
7
  "exports": {
8
8
  ".": {
9
+ "types": "./dist/index.d.ts",
9
10
  "import": "./dist/index.js",
10
- "require": "./dist/index.js",
11
- "types": "./dist/index.d.ts"
11
+ "require": "./dist/index.js"
12
12
  },
13
13
  "./dist/styles/main": "./dist/styles/main.scss",
14
14
  "./dist/styles/base/typographs": "./dist/styles/base/_typographs.scss"
@@ -31,29 +31,27 @@
31
31
  "react-dom": ">=17 <19"
32
32
  },
33
33
  "devDependencies": {
34
- "@storybook/addon-essentials": "^7.5.3",
35
- "@storybook/addon-interactions": "^7.5.3",
36
- "@storybook/addon-links": "^7.5.3",
37
- "@storybook/addon-onboarding": "^1.0.8",
38
- "@storybook/blocks": "^7.5.3",
39
- "@storybook/cli": "^8.4.7",
40
- "@storybook/react": "^7.5.3",
41
- "@storybook/react-vite": "^7.5.3",
34
+ "@storybook/addon-docs": "^10.1.11",
35
+ "@storybook/addon-onboarding": "^10.1.11",
36
+ "@storybook/cli": "^10.1.11",
37
+ "@storybook/react": "^10.1.11",
38
+ "@storybook/react-vite": "^10.1.11",
42
39
  "@storybook/testing-library": "^0.2.2",
43
40
  "@types/react": "^18.2.0",
44
41
  "@types/react-dom": "^18.2.0",
45
42
  "@typescript-eslint/eslint-plugin": "^5.62.0",
46
43
  "@typescript-eslint/parser": "^5.62.0",
47
- "@vitejs/plugin-react": "^4.1.1",
44
+ "@vitejs/plugin-react": "^5.0.0",
48
45
  "eslint": "^8.57.1",
49
46
  "eslint-plugin-react-hooks": "^4.6.2",
50
47
  "eslint-plugin-react-refresh": "^0.4.1",
51
48
  "eslint-plugin-storybook": "^0.11.2",
52
49
  "react": "^18.2.0",
53
50
  "react-dom": "^18.2.0",
54
- "storybook": "^7.5.3",
51
+ "sass-embedded": "^1.97.2",
52
+ "storybook": "^10.1.11",
55
53
  "typescript": "^5.2.2",
56
- "vite": "^4.5.0"
54
+ "vite": "^7.0.0"
57
55
  },
58
56
  "scripts": {
59
57
  "start": "storybook dev -p 6006",