@kaizen/components 1.68.2 → 1.68.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.
Files changed (105) hide show
  1. package/dist/cjs/Tile/subcomponents/GenericTile/GenericTile.cjs +16 -3
  2. package/dist/esm/Tile/subcomponents/GenericTile/GenericTile.mjs +16 -3
  3. package/dist/styles.css +112 -112
  4. package/dist/types/Tile/subcomponents/GenericTile/GenericTile.d.ts +3 -1
  5. package/locales/en.json +8 -0
  6. package/package.json +1 -1
  7. package/src/Avatar/_docs/Avatar.stickersheet.stories.tsx +30 -32
  8. package/src/AvatarGroup/_docs/AvatarGroup.stickersheet.stories.tsx +14 -16
  9. package/src/Badge/_docs/Badge.stickersheet.stories.tsx +22 -22
  10. package/src/Brand/_docs/Brand.stickersheet.stories.tsx +24 -26
  11. package/src/BrandMoment/_docs/BrandMoment.stickersheet.stories.tsx +35 -39
  12. package/src/ButtonGroup/_docs/ButtonGroup.stickersheet.stories.tsx +117 -122
  13. package/src/Calendar/CalendarPopover/_docs/CalendarPopover.stickersheet.stories.tsx +4 -4
  14. package/src/Calendar/CalendarRange/_docs/CalendarRange.stickersheet.stories.tsx +22 -30
  15. package/src/Calendar/CalendarSingle/_docs/CalendarSingle.stickersheet.stories.tsx +58 -58
  16. package/src/Card/_docs/Card.stickersheet.stories.tsx +12 -16
  17. package/src/Checkbox/Checkbox/_docs/Checkbox.stickersheet.stories.tsx +24 -27
  18. package/src/Checkbox/CheckboxField/_docs/CheckboxField.stickersheet.stories.tsx +31 -34
  19. package/src/Checkbox/CheckboxGroup/_docs/CheckboxGroup.stickersheet.stories.tsx +25 -29
  20. package/src/ClearButton/_docs/ClearButton.stickersheet.stories.tsx +9 -9
  21. package/src/Collapsible/Collapsible/_docs/Collapsible.stickersheet.stories.tsx +56 -62
  22. package/src/Collapsible/CollapsibleGroup/_docs/CollapsibleGroup.stickersheet.stories.tsx +19 -21
  23. package/src/Collapsible/ExpertAdviceCollapsible/_docs/ExpertAdviceCollapsible.stickersheets.stories.tsx +6 -8
  24. package/src/DatePicker/_docs/DatePicker.stickersheet.stories.tsx +129 -144
  25. package/src/DatePicker/_docs/getLocale.stickersheet.stories.tsx +9 -11
  26. package/src/DateRangePicker/_docs/DateRangePicker.stickersheet.stories.tsx +26 -28
  27. package/src/Divider/_docs/Divider.stickersheet.stories.tsx +13 -10
  28. package/src/EmptyState/_docs/EmptyState.stickersheet.stories.tsx +7 -2
  29. package/src/ErrorPage/_docs/ErrorPage.stickersheet.stories.tsx +16 -20
  30. package/src/FieldGroup/_docs/FieldGroup.stickersheet.stories.tsx +5 -8
  31. package/src/FieldMessage/_docs/FieldMessage.stickersheet.stories.tsx +10 -20
  32. package/src/Filter/Filter/_docs/Filter.stickersheet.stories.tsx +13 -15
  33. package/src/Filter/FilterBar/_docs/FilterBar.stickersheet.stories.tsx +33 -47
  34. package/src/Filter/FilterButton/_docs/filter-buttons.stickersheet.stories.tsx +45 -51
  35. package/src/Filter/FilterDatePicker/_docs/FilterDatePicker.stickersheet.stories.tsx +74 -93
  36. package/src/Filter/FilterDateRangePicker/_docs/FilterDateRangePicker.stickersheet.stories.tsx +110 -128
  37. package/src/Filter/FilterSelect/_docs/FilterSelect.stickersheet.stories.tsx +239 -249
  38. package/src/GuidanceBlock/_docs/GuidanceBlock.stickersheet.stories.tsx +38 -40
  39. package/src/Heading/_docs/Heading.stickersheet.stories.tsx +101 -111
  40. package/src/Icon/_docs/Icon.stickersheet.stories.tsx +13 -19
  41. package/src/Illustration/Scene/BrandMomentCaptureIntro/_docs/BrandMomentCaptureIntro.stickersheet.stories.tsx +8 -8
  42. package/src/Illustration/Scene/_docs/Scene.stickersheet.stories.tsx +139 -185
  43. package/src/Illustration/subcomponents/VideoPlayer/VideoPlayer.stickersheet.stories.tsx +39 -41
  44. package/src/Input/Input/_docs/Input.stickersheet.stories.tsx +30 -33
  45. package/src/Input/InputRange/_docs/InputRange.stickersheet.stories.tsx +21 -20
  46. package/src/Input/InputSearch/_docs/InputSearch.stickersheet.stories.tsx +137 -144
  47. package/src/Label/_docs/Label.stickersheet.stories.tsx +78 -85
  48. package/src/LabelledMessage/_docs/LabelledMessage.stickersheet.stories.tsx +3 -5
  49. package/src/LikertScaleLegacy/_docs/LikertScaleLegacy.stickersheet.stories.tsx +82 -82
  50. package/src/Loading/LoadingGraphic/_docs/LoadingGraphic.stickersheet.stories.tsx +18 -20
  51. package/src/Loading/LoadingGraphic/_docs/LoadingGraphic.stories.tsx +46 -52
  52. package/src/Loading/LoadingHeading/_docs/LoadingHeading.stickersheet.stories.tsx +14 -18
  53. package/src/Loading/LoadingHeading/_docs/LoadingHeading.stories.tsx +7 -13
  54. package/src/Loading/LoadingParagraph/_docs/LoadingParagraph.stickersheet.stories.tsx +14 -16
  55. package/src/Loading/LoadingSpinner/_docs/LoadingSpinner.stickersheet.stories.tsx +13 -15
  56. package/src/MultiSelect/_docs/MultiSelect.stickersheet.stories.tsx +69 -74
  57. package/src/MultiSelect/subcomponents/Checkbox/_docs/Checkbox.stickersheet.stories.tsx +22 -28
  58. package/src/MultiSelect/subcomponents/MultiSelectOptionField/_docs/MultiSelectOptionField.stickersheet.stories.tsx +62 -67
  59. package/src/MultiSelect/subcomponents/MultiSelectOptions/_docs/MultiSelectOptions.stickersheet.stories.tsx +21 -28
  60. package/src/MultiSelect/subcomponents/MultiSelectToggle/_docs/MultiSelectToggle.stickersheet.stories.tsx +69 -93
  61. package/src/Notification/GlobalNotification/_docs/GlobalNotification.stickersheet.stories.tsx +13 -16
  62. package/src/Notification/InlineNotification/_docs/InlineNotification.stickersheet.stories.tsx +13 -16
  63. package/src/Pagination/_docs/Pagination.stickersheet.stories.tsx +60 -74
  64. package/src/Pagination/subcomponents/DirectionalLink/_docs/DirectionalLink.stickersheet.stories.tsx +21 -23
  65. package/src/Pagination/subcomponents/PaginationLink/_docs/PaginationLink.stickersheet.stories.tsx +24 -28
  66. package/src/Popover/_docs/Popover.stickersheet.stories.tsx +33 -45
  67. package/src/ProgressBar/_docs/ProgressBar.stickersheet.stories.tsx +15 -26
  68. package/src/Radio/Radio/_docs/Radio.stickersheet.stories.tsx +46 -54
  69. package/src/Radio/RadioField/_docs/RadioField.stickersheet.stories.tsx +51 -54
  70. package/src/Radio/RadioGroup/_docs/RadioGroup.stickersheet.stories.tsx +80 -86
  71. package/src/RichTextEditor/EditableRichTextContent/_docs/EditableRichTextContent.stickersheet.stories.tsx +42 -58
  72. package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/_docs/ToggleIconButton.stickersheet.stories.tsx +34 -57
  73. package/src/SearchField/_docs/SearchField.stickersheet.stories.tsx +32 -31
  74. package/src/Select/_docs/Select.stickersheet.stories.tsx +128 -127
  75. package/src/Slider/_docs/Slider.stickersheet.stories.tsx +85 -96
  76. package/src/SplitButton/_docs/SplitButton.stickersheet.stories.tsx +62 -68
  77. package/src/Tag/_docs/Tag.stickersheet.stories.tsx +49 -57
  78. package/src/Text/_docs/Text.stickersheet.stories.tsx +43 -47
  79. package/src/TextArea/_docs/TextArea.stickersheet.stories.tsx +28 -31
  80. package/src/TextAreaField/_docs/TextAreaField.stickersheet.stories.tsx +71 -89
  81. package/src/TextField/_docs/TextField.stickersheet.stories.tsx +47 -50
  82. package/src/Tile/InformationTile/_docs/InformationTile.mdx +4 -0
  83. package/src/Tile/InformationTile/_docs/InformationTile.stickersheet.stories.tsx +15 -21
  84. package/src/Tile/InformationTile/_docs/InformationTile.stories.tsx +7 -0
  85. package/src/Tile/MultiActionTile/_docs/MultiActionTile.stickersheet.stories.tsx +15 -21
  86. package/src/Tile/TileGrid/_docs/TileGrid.stickersheet.stories.tsx +91 -99
  87. package/src/Tile/subcomponents/GenericTile/GenericTile.spec.stories.tsx +65 -5
  88. package/src/Tile/subcomponents/GenericTile/GenericTile.tsx +20 -2
  89. package/src/Tile/subcomponents/GenericTile/_docs/GenericTile.stickersheet.stories.tsx +15 -21
  90. package/src/TimeField/_docs/TimeField.stickersheet.stories.tsx +74 -83
  91. package/src/TitleBlockZen/_docs/TitleBlockZen.stories.tsx +73 -75
  92. package/src/ToggleSwitch/ToggleSwitch/_docs/ToggleSwitch.stickersheet.stories.tsx +24 -27
  93. package/src/ToggleSwitch/ToggleSwitchField/_docs/ToggleSwitchField.stickersheet.stories.tsx +47 -50
  94. package/src/Well/_docs/Well.stickersheet.stories.tsx +31 -41
  95. package/src/__actions__/Button/v1/Button/_docs/Button.stickersheet.stories.tsx +107 -146
  96. package/src/__actions__/Button/v1/IconButton/_docs/IconButton.stickersheet.stories.tsx +26 -29
  97. package/src/__actions__/Button/v3/_docs/Button.stickersheet.stories.tsx +141 -159
  98. package/src/__actions__/Menu/v1/_docs/Menu.stickersheet.stories.tsx +33 -36
  99. package/src/__future__/Icon/_docs/Icon.docs.stories.tsx +17 -23
  100. package/src/__future__/Icon/_docs/Icon.stickersheet.stories.tsx +63 -72
  101. package/src/__future__/Select/_docs/Select.stickersheet.stories.tsx +287 -309
  102. package/src/__future__/Tag/RemovableTag/_docs/RemovableTag.stickersheet.stories.tsx +42 -46
  103. package/src/__future__/Tag/Tag/_docs/Tag.stickersheet.stories.tsx +14 -17
  104. package/src/__overlays__/Tooltip/v1/_docs/Tooltip.stickersheet.stories.tsx +101 -103
  105. package/src/__overlays__/Tooltip/v3/_docs/Tooltip.stickersheet.stories.tsx +3 -4
@@ -16,52 +16,48 @@ export default {
16
16
 
17
17
  const StickerSheetTemplate: StickerSheetStory = {
18
18
  render: () => (
19
- <>
20
- <StickerSheet heading="Button Group">
21
- <StickerSheet.Header
22
- headings={["Default", "Hover", "Focus", "Focus visible"]}
23
- />
24
- <StickerSheet.Body>
25
- <StickerSheet.Row>
26
- <RemovableTag
27
- removeButtonProps={{
28
- ariaLabel: "Remove tag",
29
- onClick: () => alert("clicked"),
30
- }}
31
- >
32
- My tag
33
- </RemovableTag>
34
- <RemovableTag
35
- data-sb-pseudo-styles="hover"
36
- removeButtonProps={{
37
- ariaLabel: "Remove tag",
38
- onClick: () => alert("clicked"),
39
- }}
40
- >
41
- My tag
42
- </RemovableTag>
43
- <RemovableTag
44
- data-sb-pseudo-styles="focus"
45
- removeButtonProps={{
46
- ariaLabel: "Remove tag",
47
- onClick: () => alert("clicked"),
48
- }}
49
- >
50
- My tag
51
- </RemovableTag>
52
- <RemovableTag
53
- data-sb-pseudo-styles="focus-visible"
54
- removeButtonProps={{
55
- ariaLabel: "Remove tag",
56
- onClick: () => alert("clicked"),
57
- }}
58
- >
59
- My tag
60
- </RemovableTag>
61
- </StickerSheet.Row>
62
- </StickerSheet.Body>
63
- </StickerSheet>
64
- </>
19
+ <StickerSheet
20
+ title="RemovableTag"
21
+ headers={["Default", "Hover", "Focus", "Focus visible"]}
22
+ >
23
+ <StickerSheet.Row>
24
+ <RemovableTag
25
+ removeButtonProps={{
26
+ ariaLabel: "Remove tag",
27
+ onClick: () => alert("clicked"),
28
+ }}
29
+ >
30
+ My tag
31
+ </RemovableTag>
32
+ <RemovableTag
33
+ data-sb-pseudo-styles="hover"
34
+ removeButtonProps={{
35
+ ariaLabel: "Remove tag",
36
+ onClick: () => alert("clicked"),
37
+ }}
38
+ >
39
+ My tag
40
+ </RemovableTag>
41
+ <RemovableTag
42
+ data-sb-pseudo-styles="focus"
43
+ removeButtonProps={{
44
+ ariaLabel: "Remove tag",
45
+ onClick: () => alert("clicked"),
46
+ }}
47
+ >
48
+ My tag
49
+ </RemovableTag>
50
+ <RemovableTag
51
+ data-sb-pseudo-styles="focus-visible"
52
+ removeButtonProps={{
53
+ ariaLabel: "Remove tag",
54
+ onClick: () => alert("clicked"),
55
+ }}
56
+ >
57
+ My tag
58
+ </RemovableTag>
59
+ </StickerSheet.Row>
60
+ </StickerSheet>
65
61
  ),
66
62
  parameters: {
67
63
  pseudo: {
@@ -18,23 +18,20 @@ export default {
18
18
 
19
19
  const StickerSheetTemplate: StickerSheetStory = {
20
20
  render: () => (
21
- <StickerSheet heading="Tag">
22
- <StickerSheet.Header headings={["Label Only", "Icon"]} />
23
- <StickerSheet.Body>
24
- {TagColorKeys.map(color => (
25
- <StickerSheet.Row key={color}>
26
- <Tag color={color}>
27
- {color.charAt(0).toUpperCase() + color.slice(1)}
28
- </Tag>
29
- <Tag
30
- icon={<Icon name="label" isPresentational isFilled />}
31
- color={color}
32
- >
33
- {color.charAt(0).toUpperCase() + color.slice(1)}
34
- </Tag>
35
- </StickerSheet.Row>
36
- ))}
37
- </StickerSheet.Body>
21
+ <StickerSheet title="Tag" headers={["Label Only", "Icon"]}>
22
+ {TagColorKeys.map(color => (
23
+ <StickerSheet.Row key={color}>
24
+ <Tag color={color}>
25
+ {color.charAt(0).toUpperCase() + color.slice(1)}
26
+ </Tag>
27
+ <Tag
28
+ icon={<Icon name="label" isPresentational isFilled />}
29
+ color={color}
30
+ >
31
+ {color.charAt(0).toUpperCase() + color.slice(1)}
32
+ </Tag>
33
+ </StickerSheet.Row>
34
+ ))}
38
35
  </StickerSheet>
39
36
  ),
40
37
  }
@@ -1,5 +1,5 @@
1
1
  import React from "react"
2
- import { Decorator, Meta } from "@storybook/react"
2
+ import { Meta } from "@storybook/react"
3
3
  import isChromatic from "chromatic/isChromatic"
4
4
  import { IconButton } from "~components/__actions__/v2"
5
5
  import { Icon } from "~components/__future__/Icon"
@@ -9,10 +9,7 @@ import {
9
9
  } from "~storybook/components/StickerSheet"
10
10
  import { Tooltip } from "../index"
11
11
 
12
- const openTooltipInChromatic: Decorator = (Story, { args }) => {
13
- if (isChromatic()) args.isInitiallyVisible = true
14
- return <Story />
15
- }
12
+ const IS_CHROMATIC = isChromatic()
16
13
 
17
14
  export default {
18
15
  title: "Overlays/Tooltip/v1",
@@ -20,7 +17,9 @@ export default {
20
17
  chromatic: { disable: false },
21
18
  controls: { disable: true },
22
19
  },
23
- decorators: [openTooltipInChromatic],
20
+ args: {
21
+ isInitiallyVisible: IS_CHROMATIC,
22
+ },
24
23
  } satisfies Meta
25
24
 
26
25
  const cellStyle = {
@@ -30,104 +29,103 @@ const cellStyle = {
30
29
  const StickerSheetTemplate: StickerSheetStory = {
31
30
  render: props => (
32
31
  <div style={{ padding: "50px 100px" }}>
33
- <StickerSheet heading="Positions">
34
- <StickerSheet.Header headings={["Top", "Bottom", "Left", "Right"]} />
35
- <StickerSheet.Body>
36
- <StickerSheet.Row>
37
- <StickerSheet.Cell style={cellStyle}>
38
- <Tooltip {...props} position="above" text="Tooltip label">
39
- <IconButton
40
- label="Label"
41
- icon={<Icon name="more_horiz" isPresentational />}
42
- />
43
- </Tooltip>
44
- </StickerSheet.Cell>
45
- <StickerSheet.Cell style={cellStyle}>
46
- <Tooltip {...props} position="below" text="Tooltip label">
47
- <IconButton
48
- label="Label"
49
- icon={<Icon name="more_horiz" isPresentational />}
50
- />
51
- </Tooltip>
52
- </StickerSheet.Cell>
53
- <StickerSheet.Cell style={cellStyle}>
54
- <Tooltip {...props} position="left" text="Tooltip label">
55
- <IconButton
56
- label="Label"
57
- icon={<Icon name="more_horiz" isPresentational />}
58
- />
59
- </Tooltip>
60
- </StickerSheet.Cell>
61
- <StickerSheet.Cell style={cellStyle}>
62
- <Tooltip
63
- {...props}
64
- position="right"
65
- text="Tooltip label"
66
- mood="default"
67
- >
68
- <IconButton
69
- label="Label"
70
- icon={<Icon name="more_horiz" isPresentational />}
71
- />
72
- </Tooltip>
73
- </StickerSheet.Cell>
74
- </StickerSheet.Row>
75
- </StickerSheet.Body>
32
+ <StickerSheet
33
+ title="Positions"
34
+ headers={["Top", "Bottom", "Left", "Right"]}
35
+ >
36
+ <StickerSheet.Row>
37
+ <StickerSheet.Cell style={cellStyle}>
38
+ <Tooltip {...props} position="above" text="Tooltip label">
39
+ <IconButton
40
+ label="Label"
41
+ icon={<Icon name="more_horiz" isPresentational />}
42
+ />
43
+ </Tooltip>
44
+ </StickerSheet.Cell>
45
+ <StickerSheet.Cell style={cellStyle}>
46
+ <Tooltip {...props} position="below" text="Tooltip label">
47
+ <IconButton
48
+ label="Label"
49
+ icon={<Icon name="more_horiz" isPresentational />}
50
+ />
51
+ </Tooltip>
52
+ </StickerSheet.Cell>
53
+ <StickerSheet.Cell style={cellStyle}>
54
+ <Tooltip {...props} position="left" text="Tooltip label">
55
+ <IconButton
56
+ label="Label"
57
+ icon={<Icon name="more_horiz" isPresentational />}
58
+ />
59
+ </Tooltip>
60
+ </StickerSheet.Cell>
61
+ <StickerSheet.Cell style={cellStyle}>
62
+ <Tooltip
63
+ {...props}
64
+ position="right"
65
+ text="Tooltip label"
66
+ mood="default"
67
+ >
68
+ <IconButton
69
+ label="Label"
70
+ icon={<Icon name="more_horiz" isPresentational />}
71
+ />
72
+ </Tooltip>
73
+ </StickerSheet.Cell>
74
+ </StickerSheet.Row>
76
75
  </StickerSheet>
77
- <StickerSheet heading="Moods">
78
- <StickerSheet.Header
79
- headings={[
80
- "Default",
81
- "Informative",
82
- "Positive",
83
- "Highlight",
84
- "Cautionary",
85
- ]}
86
- />
87
- <StickerSheet.Body>
88
- <StickerSheet.Row>
89
- <StickerSheet.Cell style={cellStyle}>
90
- <Tooltip {...props} text="Tooltip label" mood="default">
91
- <IconButton
92
- label="Label"
93
- icon={<Icon name="more_horiz" isPresentational />}
94
- />
95
- </Tooltip>
96
- </StickerSheet.Cell>
97
- <StickerSheet.Cell style={cellStyle}>
98
- <Tooltip {...props} text="Tooltip label" mood="informative">
99
- <IconButton
100
- label="Label"
101
- icon={<Icon name="more_horiz" isPresentational />}
102
- />
103
- </Tooltip>
104
- </StickerSheet.Cell>
105
- <StickerSheet.Cell style={cellStyle}>
106
- <Tooltip {...props} text="Tooltip label" mood="positive">
107
- <IconButton
108
- label="Label"
109
- icon={<Icon name="more_horiz" isPresentational />}
110
- />
111
- </Tooltip>
112
- </StickerSheet.Cell>
113
- <StickerSheet.Cell style={cellStyle}>
114
- <Tooltip {...props} text="Tooltip label" mood="highlight">
115
- <IconButton
116
- label="Label"
117
- icon={<Icon name="more_horiz" isPresentational />}
118
- />
119
- </Tooltip>
120
- </StickerSheet.Cell>
121
- <StickerSheet.Cell style={cellStyle}>
122
- <Tooltip {...props} text="Tooltip label" mood="cautionary">
123
- <IconButton
124
- label="Label"
125
- icon={<Icon name="more_horiz" isPresentational />}
126
- />
127
- </Tooltip>
128
- </StickerSheet.Cell>
129
- </StickerSheet.Row>
130
- </StickerSheet.Body>
76
+
77
+ <StickerSheet
78
+ title="Moods"
79
+ headers={[
80
+ "Default",
81
+ "Informative",
82
+ "Positive",
83
+ "Highlight",
84
+ "Cautionary",
85
+ ]}
86
+ >
87
+ <StickerSheet.Row>
88
+ <StickerSheet.Cell style={cellStyle}>
89
+ <Tooltip {...props} text="Tooltip label" mood="default">
90
+ <IconButton
91
+ label="Label"
92
+ icon={<Icon name="more_horiz" isPresentational />}
93
+ />
94
+ </Tooltip>
95
+ </StickerSheet.Cell>
96
+ <StickerSheet.Cell style={cellStyle}>
97
+ <Tooltip {...props} text="Tooltip label" mood="informative">
98
+ <IconButton
99
+ label="Label"
100
+ icon={<Icon name="more_horiz" isPresentational />}
101
+ />
102
+ </Tooltip>
103
+ </StickerSheet.Cell>
104
+ <StickerSheet.Cell style={cellStyle}>
105
+ <Tooltip {...props} text="Tooltip label" mood="positive">
106
+ <IconButton
107
+ label="Label"
108
+ icon={<Icon name="more_horiz" isPresentational />}
109
+ />
110
+ </Tooltip>
111
+ </StickerSheet.Cell>
112
+ <StickerSheet.Cell style={cellStyle}>
113
+ <Tooltip {...props} text="Tooltip label" mood="highlight">
114
+ <IconButton
115
+ label="Label"
116
+ icon={<Icon name="more_horiz" isPresentational />}
117
+ />
118
+ </Tooltip>
119
+ </StickerSheet.Cell>
120
+ <StickerSheet.Cell style={cellStyle}>
121
+ <Tooltip {...props} text="Tooltip label" mood="cautionary">
122
+ <IconButton
123
+ label="Label"
124
+ icon={<Icon name="more_horiz" isPresentational />}
125
+ />
126
+ </Tooltip>
127
+ </StickerSheet.Cell>
128
+ </StickerSheet.Row>
131
129
  </StickerSheet>
132
130
  </div>
133
131
  ),
@@ -1,8 +1,7 @@
1
1
  import React from "react"
2
- import { Meta, composeStories } from "@storybook/react"
2
+ import { type Meta, type StoryObj, composeStories } from "@storybook/react"
3
3
  import { ReversedColors } from "~components/__utilities__/v3"
4
4
  import { mergeClassNames } from "~components/utils/mergeClassNames"
5
- import { StickerSheetStory } from "~storybook/components/StickerSheet"
6
5
  import * as testStories from "./Tooltip.spec.stories"
7
6
 
8
7
  export default {
@@ -15,7 +14,7 @@ export default {
15
14
 
16
15
  const Stories = composeStories(testStories)
17
16
 
18
- export const Standard: StickerSheetStory = {
17
+ export const Standard: StoryObj = {
19
18
  name: "Sticker Sheet (Default)",
20
19
  render: args => (
21
20
  <div className="grid gap-x-128 gap-y-128 grid-cols-1 md:grid-cols-2 lg:grid-cols-3">
@@ -36,7 +35,7 @@ export const Standard: StickerSheetStory = {
36
35
  ),
37
36
  }
38
37
 
39
- export const StickerSheetRTL: StickerSheetStory = {
38
+ export const StickerSheetRTL: StoryObj = {
40
39
  ...Standard,
41
40
  name: "Sticker Sheet (RTL)",
42
41
  parameters: {