@kaizen/components 1.39.2 → 1.40.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.
- package/LICENSE +21 -0
- package/dist/cjs/ErrorPage/hooks/useErrorMessages.cjs +4 -4
- package/dist/cjs/ErrorPage/hooks/useErrorMessages.cjs.map +1 -1
- package/dist/cjs/dts/Filter/FilterDatePicker/_docs/controls/validationControls.d.ts +4 -4
- package/dist/cjs/dts/Filter/FilterDateRangePicker/_docs/controls/validationControls.d.ts +4 -4
- package/dist/cjs/dts/Menu/_docs/examples.d.ts +1 -1
- package/dist/cjs/index.css +2 -2
- package/dist/esm/ErrorPage/hooks/useErrorMessages.mjs +4 -4
- package/dist/esm/ErrorPage/hooks/useErrorMessages.mjs.map +1 -1
- package/dist/esm/dts/Filter/FilterDatePicker/_docs/controls/validationControls.d.ts +4 -4
- package/dist/esm/dts/Filter/FilterDateRangePicker/_docs/controls/validationControls.d.ts +4 -4
- package/dist/esm/dts/Menu/_docs/examples.d.ts +1 -1
- package/dist/esm/index.css +1 -1
- package/dist/styles.css +1 -1
- package/locales/ar.json +4 -4
- package/locales/bg.json +4 -4
- package/locales/cs.json +4 -4
- package/locales/cy.json +4 -4
- package/locales/da.json +4 -4
- package/locales/de.json +4 -4
- package/locales/el.json +4 -4
- package/locales/en-GB.json +4 -4
- package/locales/en.json +4 -4
- package/locales/es-419.json +4 -4
- package/locales/es.json +4 -4
- package/locales/et.json +4 -4
- package/locales/fi.json +4 -4
- package/locales/fr-CA.json +4 -4
- package/locales/fr.json +4 -4
- package/locales/he.json +4 -4
- package/locales/hi.json +4 -4
- package/locales/ht.json +4 -4
- package/locales/hu.json +4 -4
- package/locales/id.json +4 -4
- package/locales/it.json +4 -4
- package/locales/ja.json +4 -4
- package/locales/km-KH.json +4 -4
- package/locales/ko.json +4 -4
- package/locales/lt.json +4 -4
- package/locales/lv.json +4 -4
- package/locales/mi.json +4 -4
- package/locales/ms.json +4 -4
- package/locales/nb.json +4 -4
- package/locales/nl.json +4 -4
- package/locales/pl.json +4 -4
- package/locales/pt-BR.json +4 -4
- package/locales/pt.json +4 -4
- package/locales/ro.json +4 -4
- package/locales/ru.json +4 -4
- package/locales/si-LK.json +4 -4
- package/locales/sk.json +4 -4
- package/locales/sr.json +4 -4
- package/locales/sv.json +4 -4
- package/locales/th.json +4 -4
- package/locales/tl.json +4 -4
- package/locales/tr.json +4 -4
- package/locales/uk.json +4 -4
- package/locales/vi.json +4 -4
- package/locales/zh-TW.json +4 -4
- package/locales/zh.json +4 -4
- package/package.json +23 -23
- package/src/Avatar/_docs/Avatar.mdx +2 -5
- package/src/AvatarGroup/_docs/AvatarGroup.mdx +2 -6
- package/src/Badge/_docs/Badge.mdx +2 -6
- package/src/Brand/_docs/Brand.mdx +2 -5
- package/src/BrandMoment/_docs/BrandMoment.mdx +2 -6
- package/src/BrandMoment/_docs/BrandMoment.stories.tsx +1 -1
- package/src/Button/Button/Button.tsx +0 -0
- package/src/Button/Button/_docs/Button.mdx +2 -5
- package/src/Button/GenericButton/GenericButton.module.scss +0 -0
- package/src/Button/GenericButton/GenericButton.tsx +0 -0
- package/src/Button/IconButton/_docs/IconButton.mdx +2 -6
- package/src/ButtonGroup/_docs/ButtonGroup.stories.tsx +1 -1
- package/src/Calendar/CalendarRange/_docs/CalendarRange.mdx +2 -6
- package/src/Calendar/CalendarRange/_docs/CalendarRange.stickersheet.stories.tsx +1 -1
- package/src/Calendar/CalendarSingle/_docs/CalendarSingle.mdx +2 -6
- package/src/Calendar/CalendarSingle/_docs/CalendarSingle.stickersheet.stories.tsx +1 -1
- package/src/Card/_docs/Card.mdx +2 -6
- package/src/Checkbox/Checkbox/_docs/Checkbox.mdx +2 -6
- package/src/Checkbox/CheckboxField/_docs/CheckboxField.mdx +2 -6
- package/src/Checkbox/CheckboxGroup/_docs/CheckboxGroup.mdx +2 -11
- package/src/Collapsible/Collapsible/_docs/Collapsible.mdx +2 -6
- package/src/Collapsible/CollapsibleGroup/_docs/CollapsibleGroup.mdx +2 -6
- package/src/Collapsible/ExpertAdviceCollapsible/_docs/ExpertAdviceCollapsible.mdx +2 -6
- package/src/Container/_docs/Container.mdx +2 -6
- package/src/Content/_docs/Content.mdx +2 -6
- package/src/DatePicker/_docs/DatePicker.mdx +2 -6
- package/src/DateRangePicker/_docs/DateRangePicker.mdx +2 -6
- package/src/Divider/_docs/Divider.mdx +2 -6
- package/src/EmptyState/_docs/EmptyState.mdx +2 -6
- package/src/EmptyState/illustrations/action.png +0 -0
- package/src/EmptyState/illustrations/informative.png +0 -0
- package/src/EmptyState/illustrations/negative.png +0 -0
- package/src/EmptyState/illustrations/neutral.png +0 -0
- package/src/EmptyState/illustrations/positive.png +0 -0
- package/src/ErrorPage/hooks/useErrorMessages.ts +4 -4
- package/src/FieldGroup/_docs/FieldGroup.mdx +2 -8
- package/src/FieldMessage/_docs/FieldMessage.mdx +2 -6
- package/src/Filter/Filter/_docs/Filter.mdx +2 -6
- package/src/Filter/FilterBar/_docs/FilterBar.mdx +2 -6
- package/src/Filter/FilterButton/_docs/filter-buttons.mdx +2 -6
- package/src/Filter/FilterDatePicker/FilterDatePicker.spec.stories.tsx +1 -2
- package/src/Filter/FilterDatePicker/_docs/FilterDatePicker.mdx +2 -6
- package/src/Filter/FilterDateRangePicker/_docs/FilterDateRangePicker.mdx +2 -6
- package/src/Filter/FilterDateRangePicker/_docs/FilterDateRangePicker.stickersheet.stories.tsx +1 -1
- package/src/Filter/FilterSelect/_docs/FilterSelect.mdx +2 -6
- package/src/GuidanceBlock/_docs/GuidanceBlock.mdx +2 -6
- package/src/Heading/_docs/Heading.mdx +2 -7
- package/src/Icon/bin/update-icons.sh +2 -2
- package/src/Icon/bin/wrapSVGs.ts +0 -0
- package/src/Illustration/Scene/BrandMomentCaptureIntro/_docs/BrandMomentCaptureIntro.mdx +2 -6
- package/src/Illustration/Scene/_docs/Scene.mdx +2 -3
- package/src/Illustration/Spot/_docs/Spot.mdx +2 -6
- package/src/Input/Input/_docs/Input.mdx +2 -6
- package/src/Input/InputRange/_docs/InputRange.mdx +2 -6
- package/src/Input/InputSearch/_docs/InputSearch.mdx +2 -7
- package/src/Label/_docs/Label.mdx +2 -6
- package/src/LikertScaleLegacy/_docs/LikertScaleLegacy.mdx +2 -6
- package/src/Loading/LoadingGraphic/_docs/LoadingGraphic.mdx +2 -6
- package/src/Loading/LoadingHeading/_docs/LoadingHeading.mdx +2 -6
- package/src/Loading/LoadingInput/_docs/LoadingInput.mdx +2 -6
- package/src/Loading/LoadingParagraph/_docs/LoadingParagraph.mdx +2 -6
- package/src/Loading/LoadingSpinner/_docs/LoadingSpinner.mdx +2 -11
- package/src/Menu/_docs/Menu.mdx +2 -6
- package/src/Menu/subcomponents/StatelessMenu/StatelessMenu.module.scss +0 -0
- package/src/Modal/ConfirmationModal/_docs/ConfirmationModal.mdx +2 -6
- package/src/Modal/ContextModal/_docs/ContextModal.mdx +2 -6
- package/src/Modal/GenericModal/_docs/GenericModal.mdx +2 -6
- package/src/Modal/InputEditModal/_docs/InputEditModal.mdx +2 -6
- package/src/MultiSelect/_docs/MultiSelect.mdx +2 -5
- package/src/Notification/GlobalNotification/_docs/GlobalNotification.mdx +2 -6
- package/src/Notification/InlineNotification/_docs/InlineNotification.mdx +2 -6
- package/src/Notification/ToastNotification/_docs/ToastNotification.mdx +2 -6
- package/src/Pagination/_docs/Pagination.mdx +2 -6
- package/src/Pagination/subcomponents/DirectionalLink/_docs/DirectionalLink.mdx +2 -6
- package/src/Pagination/subcomponents/PaginationLink/_docs/PaginationLink.mdx +2 -7
- package/src/Popover/_docs/Popover.mdx +2 -6
- package/src/ProgressBar/_docs/ProgressBar.mdx +2 -6
- package/src/Radio/Radio/_docs/Radio.mdx +2 -6
- package/src/Radio/RadioField/_docs/RadioField.mdx +2 -6
- package/src/Radio/RadioGroup/_docs/RadioGroup.mdx +2 -6
- package/src/RichTextEditor/EditableRichTextContent/_docs/EditableRichTextContent.mdx +2 -6
- package/src/RichTextEditor/RichTextContent/_docs/RichTextContent.mdx +2 -6
- package/src/RichTextEditor/RichTextEditor/RichTextEditor.spec.stories.tsx +1 -2
- package/src/RichTextEditor/RichTextEditor/_docs/RichTextEditor.mdx +2 -8
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/_docs/ToggleIconButton.mdx +2 -6
- package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/_docs/Toolbar.mdx +2 -6
- package/src/RichTextEditor/index.ts +0 -0
- package/src/SearchField/_docs/SearchField.mdx +2 -6
- package/src/Select/_docs/Select.mdx +2 -6
- package/src/Skirt/_docs/Skirt.mdx +2 -6
- package/src/Slider/_docs/Slider.mdx +2 -6
- package/src/SplitButton/_docs/SplitButton.mdx +2 -6
- package/src/Table/_docs/Table.mdx +3 -6
- package/src/Tabs/_docs/Tabs.mdx +3 -5
- package/src/Tag/_docs/Tag.mdx +2 -6
- package/src/Text/_docs/Text.mdx +2 -6
- package/src/TextArea/_docs/TextArea.mdx +2 -7
- package/src/TextAreaField/_docs/TextAreaField.mdx +2 -6
- package/src/TextField/_docs/TextField.mdx +2 -6
- package/src/Tile/InformationTile/_docs/InformationTile.mdx +2 -6
- package/src/Tile/MultiActionTile/_docs/MultiActionTile.mdx +2 -6
- package/src/Tile/TileGrid/_docs/TileGrid.mdx +2 -6
- package/src/Tile/subcomponents/GenericTile/GenericTile.spec.stories.tsx +1 -3
- package/src/TimeField/_docs/TimeField.mdx +2 -6
- package/src/TitleBlockZen/_docs/TitleBlockZen.mdx +2 -6
- package/src/ToggleSwitch/ToggleSwitch/_docs/ToggleSwitch.mdx +2 -6
- package/src/ToggleSwitch/ToggleSwitchField/_docs/ToggleSwitchField.mdx +2 -6
- package/src/Tooltip/_docs/Tooltip.mdx +2 -6
- package/src/VisuallyHidden/_docs/VisuallyHidden.mdx +2 -6
- package/src/Well/_docs/Well.mdx +2 -6
- package/src/Workflow/_docs/ProgressStepper.stories.tsx +1 -1
- package/src/Workflow/_docs/Workflow.mdx +2 -6
- package/src/Workflow/_docs/WorkflowFooter.stories.tsx +1 -1
- package/src/Workflow/_docs/WorkflowHeader.stories.tsx +1 -1
- package/src/__future__/Select/_docs/Select.mdx +2 -6
- package/src/__future__/Tag/RemovableTag/_docs/RemovableTag.mdx +2 -7
- package/src/__future__/Tag/Tag/_docs/Tag.mdx +2 -6
- package/src/__future__/Workflow/_docs/ProgressStepper.mdx +2 -6
- package/src/__future__/Workflow/_docs/Workflow.mdx +2 -5
- package/src/__future__/Workflow/_docs/WorkflowFooter.mdx +2 -5
- package/src/__future__/Workflow/_docs/WorkflowHeader.mdx +2 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as SelectStories from "./Select.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={SelectStories} />
|
|
@@ -13,11 +13,7 @@ import * as SelectStories from "./Select.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { Select } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="Select" />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as SkirtStories from "./Skirt.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={SkirtStories} />
|
|
@@ -13,11 +13,7 @@ import * as SkirtStories from "./Skirt.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { Skirt, SkirtCard } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames={["Skirt", "SkirtCard"]} />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as SliderStories from "./Slider.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={SliderStories} />
|
|
@@ -13,11 +13,7 @@ import * as SliderStories from "./Slider.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { Slider } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="Slider" />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, DocsStory, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation, LinkTo } from "~storybook/components"
|
|
3
3
|
import * as SplitButtonStories from "./SplitButton.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={SplitButtonStories} />
|
|
@@ -13,11 +13,7 @@ import * as SplitButtonStories from "./SplitButton.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { SplitButton } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="SplitButton" />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as TableStories from "./Table.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={TableStories} />
|
|
@@ -13,10 +13,8 @@ import * as TableStories from "./Table.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { TableCard, TableContainer, TableHeader, TableHeaderRowCell, TableRow, TableRowCell } from "@kaizen/components"'
|
|
16
|
+
<KAIOInstallation
|
|
17
|
+
exportNames={["TableCard", "TableContainer", "TableHeader", "TableHeaderRow", "TableHeaderRowCell", "TableRow", "TableRowCell"]}
|
|
20
18
|
/>
|
|
21
19
|
|
|
22
20
|
## Overview
|
|
@@ -53,4 +51,3 @@ A table displays rows of data, including all data in a set, making it efficient
|
|
|
53
51
|
|
|
54
52
|
### Reversed
|
|
55
53
|
<Canvas of={TableStories.Reversed} />
|
|
56
|
-
|
package/src/Tabs/_docs/Tabs.mdx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as TabsStories from "./Tabs.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={TabsStories} />
|
|
@@ -13,10 +13,8 @@ import * as TabsStories from "./Tabs.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { Tabs, TabList, Tab, TabPanels, TabPanel } from "@kaizen/components"'
|
|
16
|
+
<KAIOInstallation
|
|
17
|
+
exportNames={["Tabs", "TabList", "Tab", "TabPanels", "TabPanel"]}
|
|
20
18
|
/>
|
|
21
19
|
|
|
22
20
|
## Overview
|
package/src/Tag/_docs/Tag.mdx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls , Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as TagStories from "./Tag.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={TagStories} />
|
|
@@ -13,11 +13,7 @@ import * as TagStories from "./Tag.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { Tag } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="Tag" />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|
package/src/Text/_docs/Text.mdx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as TextStories from "./Text.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={TextStories} />
|
|
@@ -12,11 +12,7 @@ import * as TextStories from "./Text.stories"
|
|
|
12
12
|
className="!mb-8"
|
|
13
13
|
/>
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
<Installation
|
|
17
|
-
installCommand="yarn add @kaizen/components"
|
|
18
|
-
importStatement='import { Text } from "@kaizen/components"'
|
|
19
|
-
/>
|
|
15
|
+
<KAIOInstallation exportNames="Text" />
|
|
20
16
|
|
|
21
17
|
## Overview
|
|
22
18
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import { LinkTo } from "~storybook/components/LinkTo"
|
|
4
4
|
import * as TextAreaStories from "./TextArea.stories"
|
|
5
5
|
|
|
@@ -12,11 +12,7 @@ import * as TextAreaStories from "./TextArea.stories"
|
|
|
12
12
|
className="!mb-8"
|
|
13
13
|
/>
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
<Installation
|
|
17
|
-
installCommand="yarn add @kaizen/components"
|
|
18
|
-
importStatement='import { TextArea } from "@kaizen/components"'
|
|
19
|
-
/>
|
|
15
|
+
<KAIOInstallation exportNames="TextArea" />
|
|
20
16
|
|
|
21
17
|
## Overview
|
|
22
18
|
|
|
@@ -47,4 +43,3 @@ For linking text that isn't in a `Label` you can use `aria-labelledBy`
|
|
|
47
43
|
<Text id="exampleTextArea">My free form text label<Text>
|
|
48
44
|
<TextArea aria-labelledby="exampleTextArea" />
|
|
49
45
|
```
|
|
50
|
-
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as TextAreaFieldStories from "./TextAreaField.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={TextAreaFieldStories} />
|
|
@@ -13,11 +13,7 @@ import * as TextAreaFieldStories from "./TextAreaField.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { TextAreaField } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="TextAreaField" />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import { LinkTo } from "~storybook/components/LinkTo"
|
|
4
4
|
import * as TextFieldStories from "./TextField.stories"
|
|
5
5
|
|
|
@@ -14,11 +14,7 @@ import * as TextFieldStories from "./TextField.stories"
|
|
|
14
14
|
className="!mb-8"
|
|
15
15
|
/>
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
<Installation
|
|
19
|
-
installCommand="yarn add @kaizen/components"
|
|
20
|
-
importStatement='import { TextField } from "@kaizen/components"'
|
|
21
|
-
/>
|
|
17
|
+
<KAIOInstallation exportNames="TextField" />
|
|
22
18
|
|
|
23
19
|
## Overview
|
|
24
20
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as InformationTileStories from "./InformationTile.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={InformationTileStories} />
|
|
@@ -13,11 +13,7 @@ import * as InformationTileStories from "./InformationTile.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { InformationTile } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="InformationTile" />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as MultiActionTileStories from "./MultiActionTile.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={MultiActionTileStories} />
|
|
@@ -13,11 +13,7 @@ import * as MultiActionTileStories from "./MultiActionTile.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { MultiActionTile } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="MultiActionTile" />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as TileGridStories from "./TileGrid.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={TileGridStories} />
|
|
@@ -12,11 +12,7 @@ import * as TileGridStories from "./TileGrid.stories"
|
|
|
12
12
|
className="!mb-8"
|
|
13
13
|
/>
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
<Installation
|
|
17
|
-
installCommand="yarn add @kaizen/components"
|
|
18
|
-
importStatement='import { TileGrid } from "@kaizen/components"'
|
|
19
|
-
/>
|
|
15
|
+
<KAIOInstallation exportNames="TileGrid" />
|
|
20
16
|
|
|
21
17
|
## Overview
|
|
22
18
|
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import React from "react"
|
|
2
|
-
import { expect } from "@storybook/jest"
|
|
3
2
|
import type { Meta, StoryObj } from "@storybook/react"
|
|
4
|
-
|
|
5
|
-
import { within, userEvent } from "@storybook/testing-library"
|
|
3
|
+
import { expect, within, userEvent } from "@storybook/test"
|
|
6
4
|
|
|
7
5
|
import { GenericTile } from "./GenericTile"
|
|
8
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as TimeFieldStories from "./TimeField.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={TimeFieldStories} />
|
|
@@ -13,11 +13,7 @@ import * as TimeFieldStories from "./TimeField.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { TimeField } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="TimeField" />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as TitleBlockZenStories from "./TitleBlockZen.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={TitleBlockZenStories} />
|
|
@@ -12,11 +12,7 @@ import * as TitleBlockZenStories from "./TitleBlockZen.stories"
|
|
|
12
12
|
className="!mb-8"
|
|
13
13
|
/>
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
<Installation
|
|
17
|
-
installCommand="yarn add @kaizen/components"
|
|
18
|
-
importStatement='import { TitleBlockZen } from "@kaizen/components"'
|
|
19
|
-
/>
|
|
15
|
+
<KAIOInstallation exportNames="TitleBlockZen" />
|
|
20
16
|
|
|
21
17
|
## Overview
|
|
22
18
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, DocsStory, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation, LinkTo } from "~storybook/components"
|
|
3
3
|
import * as ToggleSwitchStories from "./ToggleSwitch.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={ToggleSwitchStories} />
|
|
@@ -11,11 +11,7 @@ import * as ToggleSwitchStories from "./ToggleSwitch.stories"
|
|
|
11
11
|
className="!mb-8"
|
|
12
12
|
/>
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
<Installation
|
|
16
|
-
installCommand="yarn add @kaizen/components"
|
|
17
|
-
importStatement='import { ToggleSwitch } from "@kaizen/components"'
|
|
18
|
-
/>
|
|
14
|
+
<KAIOInstallation exportNames="ToggleSwitch" />
|
|
19
15
|
|
|
20
16
|
## Overview
|
|
21
17
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, DocsStory, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as ToggleSwitchFieldStories from "./ToggleSwitchField.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={ToggleSwitchFieldStories} />
|
|
@@ -12,11 +12,7 @@ import * as ToggleSwitchFieldStories from "./ToggleSwitchField.stories"
|
|
|
12
12
|
className="!mb-8"
|
|
13
13
|
/>
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
<Installation
|
|
17
|
-
installCommand="yarn add @kaizen/components"
|
|
18
|
-
importStatement='import { ToggleSwitchField } from "@kaizen/components"'
|
|
19
|
-
/>
|
|
15
|
+
<KAIOInstallation exportNames="ToggleSwitchField" />
|
|
20
16
|
|
|
21
17
|
## Overview
|
|
22
18
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as TooltipStories from "./Tooltip.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={TooltipStories} />
|
|
@@ -13,11 +13,7 @@ import * as TooltipStories from "./Tooltip.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { Tooltip } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="Tooltip" />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as VisuallyHiddenStories from "./VisuallyHidden.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={VisuallyHiddenStories} />
|
|
@@ -11,11 +11,7 @@ import * as VisuallyHiddenStories from "./VisuallyHidden.stories"
|
|
|
11
11
|
className="!mb-8"
|
|
12
12
|
/>
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
<Installation
|
|
16
|
-
installCommand="yarn add @kaizen/components"
|
|
17
|
-
importStatement='import { VisuallyHidden } from "@kaizen/components"'
|
|
18
|
-
/>
|
|
14
|
+
<KAIOInstallation exportNames="VisuallyHidden" />
|
|
19
15
|
|
|
20
16
|
## Overview
|
|
21
17
|
|
package/src/Well/_docs/Well.mdx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as WellStories from "./Well.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={WellStories} />
|
|
@@ -13,11 +13,7 @@ import * as WellStories from "./Well.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { Well } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="Well" />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ArgTypes, Canvas, Meta } from "@storybook/blocks"
|
|
2
2
|
import { InlineNotification } from "~components/Notification"
|
|
3
|
-
import {
|
|
3
|
+
import { KAIOInstallation, ResourceLinks } from "~storybook/components"
|
|
4
4
|
import * as Workflow from "./Workflow.stories"
|
|
5
5
|
import * as WorkflowFooter from "./WorkflowFooter.stories"
|
|
6
6
|
import * as WorkflowHeader from "./WorkflowHeader.stories"
|
|
@@ -20,11 +20,7 @@ import * as WorkflowHeader from "./WorkflowHeader.stories"
|
|
|
20
20
|
Import from "@kaizen/components/future" for the latest version.`}
|
|
21
21
|
</InlineNotification>
|
|
22
22
|
|
|
23
|
-
<
|
|
24
|
-
installCommand="yarn add @kaizen/components"
|
|
25
|
-
importStatement='import { Workflow } from "@kaizen/components"'
|
|
26
|
-
/>
|
|
27
|
-
|
|
23
|
+
<KAIOInstallation exportNames="Workflow" />
|
|
28
24
|
|
|
29
25
|
## Overview
|
|
30
26
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as SelectStories from "./Select.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={SelectStories} />
|
|
@@ -13,11 +13,7 @@ import * as SelectStories from "./Select.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { Select } from "@kaizen/components/future"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="Select" isFuture />
|
|
21
17
|
|
|
22
18
|
## Playground
|
|
23
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as RemovableTagStories from "./RemovableTag.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={RemovableTagStories} />
|
|
@@ -10,11 +10,7 @@ import * as RemovableTagStories from "./RemovableTag.stories"
|
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/__future__/Tag/RemovableTag.tsx"
|
|
11
11
|
/>
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
<Installation
|
|
15
|
-
installCommand="yarn add @kaizen/components"
|
|
16
|
-
importStatement="import { RemovableTag } from `@kaizen/components/future`"
|
|
17
|
-
/>
|
|
13
|
+
<KAIOInstallation exportNames="RemovableTag" />
|
|
18
14
|
|
|
19
15
|
## Overview
|
|
20
16
|
|
|
@@ -53,4 +49,3 @@ The string passed here will be read out by screen-readers when the remove button
|
|
|
53
49
|
A callback that gets invoked when clicking the remove button.
|
|
54
50
|
For example, if the removal of a tag is controlled by a function, that function can
|
|
55
51
|
be passed as a callback via this prop, and executed when clicking the remove button.
|
|
56
|
-
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as TagStories from "./Tag.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={TagStories} />
|
|
@@ -12,11 +12,7 @@ import * as TagStories from "./Tag.stories"
|
|
|
12
12
|
className="!mb-8"
|
|
13
13
|
/>
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
<Installation
|
|
17
|
-
installCommand="yarn add @kaizen/components"
|
|
18
|
-
importStatement="import { Tag } from `@kaizen/components/future`"
|
|
19
|
-
/>
|
|
15
|
+
<KAIOInstallation exportNames="Tag" isFuture />
|
|
20
16
|
|
|
21
17
|
## Overview
|
|
22
18
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, DocsStory, Meta } from "@storybook/blocks"
|
|
2
|
-
import {
|
|
2
|
+
import { KAIOInstallation, ResourceLinks, KaioLegacyDocsNotification } from "~storybook/components"
|
|
3
3
|
import * as ProgressStepperStories from "./ProgressStepper.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={ProgressStepperStories} />
|
|
@@ -13,13 +13,9 @@ import * as ProgressStepperStories from "./ProgressStepper.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
16
|
<KaioLegacyDocsNotification version="1.16.0" />
|
|
18
17
|
|
|
19
|
-
<
|
|
20
|
-
installCommand="yarn add @kaizen/components"
|
|
21
|
-
importStatement="import { ProgressStepper } from `@kaizen/components/future`"
|
|
22
|
-
/>
|
|
18
|
+
<KAIOInstallation exportNames="ProgressStepper" isFuture />
|
|
23
19
|
|
|
24
20
|
## Overview
|
|
25
21
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ArgTypes, Canvas, Meta } from "@storybook/blocks"
|
|
2
|
-
import {
|
|
2
|
+
import { KAIOInstallation, KaioLegacyDocsNotification, ResourceLinks } from "~storybook/components"
|
|
3
3
|
import * as Workflow from "./Workflow.stories"
|
|
4
4
|
import * as WorkflowFooter from "./WorkflowFooter.stories"
|
|
5
5
|
import * as WorkflowHeader from "./WorkflowHeader.stories"
|
|
@@ -16,10 +16,7 @@ import * as WorkflowHeader from "./WorkflowHeader.stories"
|
|
|
16
16
|
|
|
17
17
|
<KaioLegacyDocsNotification version="1.16.0" />
|
|
18
18
|
|
|
19
|
-
<
|
|
20
|
-
installCommand="yarn add @kaizen/components"
|
|
21
|
-
importStatement='import { Workflow } from "@kaizen/components/future"'
|
|
22
|
-
/>
|
|
19
|
+
<KAIOInstallation exportNames="Workflow" isFuture />
|
|
23
20
|
|
|
24
21
|
## Overview
|
|
25
22
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, DocsStory, Meta } from "@storybook/blocks"
|
|
2
|
-
import {
|
|
2
|
+
import { KAIOInstallation, KaioLegacyDocsNotification, ResourceLinks } from "~storybook/components"
|
|
3
3
|
import * as WorkflowFooterStories from "./WorkflowFooter.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={WorkflowFooterStories} />
|
|
@@ -16,10 +16,7 @@ import * as WorkflowFooterStories from "./WorkflowFooter.stories"
|
|
|
16
16
|
|
|
17
17
|
<KaioLegacyDocsNotification version="1.16.0" />
|
|
18
18
|
|
|
19
|
-
<
|
|
20
|
-
installCommand="yarn add @kaizen/components"
|
|
21
|
-
importStatement="import { WorkflowFooter } from `@kaizen/components/future`"
|
|
22
|
-
/>
|
|
19
|
+
<KAIOInstallation exportNames="WorkflowFooter" isFuture />
|
|
23
20
|
|
|
24
21
|
## Overview
|
|
25
22
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, DocsStory, Meta } from "@storybook/blocks"
|
|
2
|
-
import {
|
|
2
|
+
import { KAIOInstallation, KaioLegacyDocsNotification, ResourceLinks } from "~storybook/components"
|
|
3
3
|
import * as WorkflowHeaderStories from "./WorkflowHeader.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={WorkflowHeaderStories} />
|
|
@@ -16,10 +16,7 @@ import * as WorkflowHeaderStories from "./WorkflowHeader.stories"
|
|
|
16
16
|
|
|
17
17
|
<KaioLegacyDocsNotification version="1.16.0" />
|
|
18
18
|
|
|
19
|
-
<
|
|
20
|
-
installCommand="yarn add @kaizen/components"
|
|
21
|
-
importStatement="import { WorkflowHeader } from `@kaizen/components/future`"
|
|
22
|
-
/>
|
|
19
|
+
<KAIOInstallation exportNames="WorkflowHeader" isFuture />
|
|
23
20
|
|
|
24
21
|
## Overview
|
|
25
22
|
|