@kaizen/components 1.39.1 → 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/Calendar/LegacyCalendarRange/LegacyCalendarRange.cjs.map +1 -1
- package/dist/cjs/Calendar/utils/formatDateAsNumeral.cjs.map +1 -1
- package/dist/cjs/Calendar/utils/formatDateAsText.cjs.map +1 -1
- package/dist/cjs/Calendar/utils/parseDateAsTextOrNumeral.cjs.map +1 -1
- package/dist/cjs/Calendar/utils/parseDateFromNumeralFormatValue.cjs.map +1 -1
- package/dist/cjs/Calendar/utils/parseDateFromTextFormatValue.cjs.map +1 -1
- package/dist/cjs/DateInput/DateInputDescription/DateInputDescription.cjs.map +1 -1
- package/dist/cjs/DateInput/DateInputDescription/utils/formatDescriptionInputFormat.cjs.map +1 -1
- package/dist/cjs/DatePicker/subcomponents/DateInputField/DateInputField.cjs.map +1 -1
- package/dist/cjs/DatePicker/utils/getLocale.cjs.map +1 -1
- package/dist/cjs/ErrorPage/hooks/useErrorMessages.cjs +4 -4
- package/dist/cjs/ErrorPage/hooks/useErrorMessages.cjs.map +1 -1
- package/dist/cjs/Filter/Filter/Filter.cjs +4 -1
- package/dist/cjs/Filter/Filter/Filter.cjs.map +1 -1
- package/dist/cjs/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.cjs +3 -3
- package/dist/cjs/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.cjs.map +1 -1
- package/dist/cjs/Filter/FilterBar/subcomponents/FilterBarDatePicker/FilterBarDatePicker.cjs +1 -1
- package/dist/cjs/Filter/FilterBar/subcomponents/FilterBarDatePicker/FilterBarDatePicker.cjs.map +1 -1
- package/dist/cjs/Filter/FilterBar/subcomponents/FilterBarDateRangePicker/FilterBarDateRangePicker.cjs +1 -1
- package/dist/cjs/Filter/FilterBar/subcomponents/FilterBarDateRangePicker/FilterBarDateRangePicker.cjs.map +1 -1
- package/dist/cjs/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.cjs +1 -1
- package/dist/cjs/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.cjs.map +1 -1
- package/dist/cjs/Filter/FilterDatePicker/hooks/useDateInputHandlers.cjs.map +1 -1
- package/dist/cjs/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.cjs.map +1 -1
- package/dist/cjs/Filter/FilterDatePicker/utils/transformDateToInputValue.cjs.map +1 -1
- package/dist/cjs/Filter/FilterDateRangePicker/subcomponents/DateRangeDisplayLabel/DateRangeDisplayLabel.cjs.map +1 -1
- package/dist/cjs/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.cjs.map +1 -1
- package/dist/cjs/dts/Calendar/LegacyCalendarRange/LegacyCalendarRange.d.ts +1 -0
- package/dist/cjs/dts/Calendar/utils/formatDateAsNumeral.d.ts +1 -0
- package/dist/cjs/dts/Calendar/utils/formatDateAsText.d.ts +1 -0
- package/dist/cjs/dts/Calendar/utils/parseDateAsTextOrNumeral.d.ts +1 -0
- package/dist/cjs/dts/Calendar/utils/parseDateFromNumeralFormatValue.d.ts +1 -0
- package/dist/cjs/dts/Calendar/utils/parseDateFromTextFormatValue.d.ts +1 -0
- package/dist/cjs/dts/DateInput/DateInputDescription/DateInputDescription.d.ts +1 -0
- package/dist/cjs/dts/DateInput/DateInputDescription/utils/formatDescriptionInputFormat.d.ts +1 -0
- package/dist/cjs/dts/DatePicker/subcomponents/DateInputField/DateInputField.d.ts +1 -0
- package/dist/cjs/dts/DatePicker/utils/getLocale.d.ts +1 -0
- package/dist/cjs/dts/Filter/Filter/Filter.d.ts +1 -0
- package/dist/cjs/dts/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.d.ts +2 -2
- package/dist/cjs/dts/Filter/FilterDatePicker/_docs/controls/validationControls.d.ts +4 -4
- package/dist/cjs/dts/Filter/FilterDatePicker/hooks/useDateInputHandlers.d.ts +1 -0
- package/dist/cjs/dts/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.d.ts +1 -0
- package/dist/cjs/dts/Filter/FilterDatePicker/utils/transformDateToInputValue.d.ts +1 -0
- package/dist/cjs/dts/Filter/FilterDateRangePicker/_docs/controls/validationControls.d.ts +4 -4
- package/dist/cjs/dts/Filter/FilterDateRangePicker/subcomponents/DateRangeDisplayLabel/DateRangeDisplayLabel.d.ts +1 -0
- package/dist/cjs/dts/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.d.ts +1 -0
- package/dist/cjs/dts/Menu/_docs/examples.d.ts +1 -1
- package/dist/cjs/index.css +4 -4
- package/dist/esm/Calendar/LegacyCalendarRange/LegacyCalendarRange.mjs.map +1 -1
- package/dist/esm/Calendar/utils/formatDateAsNumeral.mjs.map +1 -1
- package/dist/esm/Calendar/utils/formatDateAsText.mjs.map +1 -1
- package/dist/esm/Calendar/utils/parseDateAsTextOrNumeral.mjs.map +1 -1
- package/dist/esm/Calendar/utils/parseDateFromNumeralFormatValue.mjs.map +1 -1
- package/dist/esm/Calendar/utils/parseDateFromTextFormatValue.mjs.map +1 -1
- package/dist/esm/DateInput/DateInputDescription/DateInputDescription.mjs.map +1 -1
- package/dist/esm/DateInput/DateInputDescription/utils/formatDescriptionInputFormat.mjs.map +1 -1
- package/dist/esm/DatePicker/subcomponents/DateInputField/DateInputField.mjs.map +1 -1
- package/dist/esm/DatePicker/utils/getLocale.mjs.map +1 -1
- package/dist/esm/ErrorPage/hooks/useErrorMessages.mjs +4 -4
- package/dist/esm/ErrorPage/hooks/useErrorMessages.mjs.map +1 -1
- package/dist/esm/Filter/Filter/Filter.mjs +5 -2
- package/dist/esm/Filter/Filter/Filter.mjs.map +1 -1
- package/dist/esm/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.mjs +3 -3
- package/dist/esm/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.mjs.map +1 -1
- package/dist/esm/Filter/FilterBar/subcomponents/FilterBarDatePicker/FilterBarDatePicker.mjs +1 -1
- package/dist/esm/Filter/FilterBar/subcomponents/FilterBarDatePicker/FilterBarDatePicker.mjs.map +1 -1
- package/dist/esm/Filter/FilterBar/subcomponents/FilterBarDateRangePicker/FilterBarDateRangePicker.mjs +1 -1
- package/dist/esm/Filter/FilterBar/subcomponents/FilterBarDateRangePicker/FilterBarDateRangePicker.mjs.map +1 -1
- package/dist/esm/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.mjs +1 -1
- package/dist/esm/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.mjs.map +1 -1
- package/dist/esm/Filter/FilterDatePicker/hooks/useDateInputHandlers.mjs.map +1 -1
- package/dist/esm/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.mjs.map +1 -1
- package/dist/esm/Filter/FilterDatePicker/utils/transformDateToInputValue.mjs.map +1 -1
- package/dist/esm/Filter/FilterDateRangePicker/subcomponents/DateRangeDisplayLabel/DateRangeDisplayLabel.mjs.map +1 -1
- package/dist/esm/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.mjs.map +1 -1
- package/dist/esm/dts/Calendar/LegacyCalendarRange/LegacyCalendarRange.d.ts +1 -0
- package/dist/esm/dts/Calendar/utils/formatDateAsNumeral.d.ts +1 -0
- package/dist/esm/dts/Calendar/utils/formatDateAsText.d.ts +1 -0
- package/dist/esm/dts/Calendar/utils/parseDateAsTextOrNumeral.d.ts +1 -0
- package/dist/esm/dts/Calendar/utils/parseDateFromNumeralFormatValue.d.ts +1 -0
- package/dist/esm/dts/Calendar/utils/parseDateFromTextFormatValue.d.ts +1 -0
- package/dist/esm/dts/DateInput/DateInputDescription/DateInputDescription.d.ts +1 -0
- package/dist/esm/dts/DateInput/DateInputDescription/utils/formatDescriptionInputFormat.d.ts +1 -0
- package/dist/esm/dts/DatePicker/subcomponents/DateInputField/DateInputField.d.ts +1 -0
- package/dist/esm/dts/DatePicker/utils/getLocale.d.ts +1 -0
- package/dist/esm/dts/Filter/Filter/Filter.d.ts +1 -0
- package/dist/esm/dts/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.d.ts +2 -2
- package/dist/esm/dts/Filter/FilterDatePicker/_docs/controls/validationControls.d.ts +4 -4
- package/dist/esm/dts/Filter/FilterDatePicker/hooks/useDateInputHandlers.d.ts +1 -0
- package/dist/esm/dts/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.d.ts +1 -0
- package/dist/esm/dts/Filter/FilterDatePicker/utils/transformDateToInputValue.d.ts +1 -0
- package/dist/esm/dts/Filter/FilterDateRangePicker/_docs/controls/validationControls.d.ts +4 -4
- package/dist/esm/dts/Filter/FilterDateRangePicker/subcomponents/DateRangeDisplayLabel/DateRangeDisplayLabel.d.ts +1 -0
- package/dist/esm/dts/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.d.ts +1 -0
- package/dist/esm/dts/Menu/_docs/examples.d.ts +1 -1
- package/dist/esm/index.css +2 -2
- package/dist/index.d.ts +2 -0
- 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 +25 -25
- 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 +20 -9
- package/src/Calendar/CalendarSingle/_docs/CalendarSingle.mdx +2 -6
- package/src/Calendar/CalendarSingle/_docs/CalendarSingle.stickersheet.stories.tsx +23 -30
- package/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.tsx +1 -0
- package/src/Calendar/utils/formatDateAsNumeral.ts +1 -1
- package/src/Calendar/utils/formatDateAsText.ts +1 -1
- package/src/Calendar/utils/isSelectingDayInCalendar.spec.tsx +4 -5
- package/src/Calendar/utils/parseDateAsTextOrNumeral.ts +1 -0
- package/src/Calendar/utils/parseDateFromNumeralFormatValue.ts +1 -1
- package/src/Calendar/utils/parseDateFromTextFormatValue.ts +1 -1
- package/src/Calendar/utils/setFocusInCalendar.spec.tsx +21 -16
- 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/DateInput/DateInputDescription/DateInputDescription.tsx +1 -0
- package/src/DateInput/DateInputDescription/utils/formatDescriptionInputFormat.ts +2 -0
- package/src/DatePicker/DatePicker.spec.tsx +12 -16
- package/src/DatePicker/_docs/DatePicker.mdx +2 -6
- package/src/DatePicker/subcomponents/DateInputField/DateInputField.tsx +1 -0
- package/src/DatePicker/utils/getLocale.ts +1 -0
- 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/Filter.spec.tsx +6 -4
- package/src/Filter/Filter/Filter.tsx +11 -1
- package/src/Filter/Filter/_docs/Filter.mdx +2 -6
- package/src/Filter/FilterBar/FilterBar.spec.tsx +12 -1
- package/src/Filter/FilterBar/_docs/FilterBar.mdx +2 -6
- package/src/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.spec.tsx +1 -1
- package/src/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.tsx +3 -3
- package/src/Filter/FilterBar/subcomponents/FilterBarDatePicker/FilterBarDatePicker.spec.tsx +17 -22
- package/src/Filter/FilterBar/subcomponents/FilterBarDatePicker/FilterBarDatePicker.tsx +1 -1
- package/src/Filter/FilterBar/subcomponents/FilterBarDateRangePicker/FilterBarDateRangePicker.spec.tsx +6 -7
- package/src/Filter/FilterBar/subcomponents/FilterBarDateRangePicker/FilterBarDateRangePicker.tsx +1 -1
- package/src/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.tsx +1 -1
- package/src/Filter/FilterButton/_docs/filter-buttons.mdx +2 -6
- package/src/Filter/FilterDatePicker/FilterDatePicker.spec.stories.tsx +2 -3
- package/src/Filter/FilterDatePicker/FilterDatePicker.spec.tsx +3 -5
- package/src/Filter/FilterDatePicker/_docs/FilterDatePicker.mdx +2 -6
- package/src/Filter/FilterDatePicker/hooks/useDateInputHandlers.ts +1 -0
- package/src/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.tsx +1 -0
- package/src/Filter/FilterDatePicker/subcomponents/FilterDatePickerField/FilterDatePickerField.spec.tsx +25 -21
- package/src/Filter/FilterDatePicker/utils/transformDateToInputValue.ts +1 -0
- package/src/Filter/FilterDateRangePicker/_docs/FilterDateRangePicker.mdx +2 -6
- package/src/Filter/FilterDateRangePicker/_docs/FilterDateRangePicker.stickersheet.stories.tsx +1 -1
- package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeDisplayLabel/DateRangeDisplayLabel.tsx +1 -0
- package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.tsx +1 -0
- package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.spec.tsx +30 -24
- 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 React, { useState, FocusEvent } from "react"
|
|
2
|
-
import { render, screen, waitFor } from "@testing-library/react"
|
|
2
|
+
import { render, screen, waitFor, within } from "@testing-library/react"
|
|
3
3
|
import userEvent from "@testing-library/user-event"
|
|
4
4
|
import { DateRange } from "~components/Calendar"
|
|
5
5
|
import { FilterDateRangePickerField, FilterDateRangePickerFieldProps } from "."
|
|
@@ -92,10 +92,11 @@ describe("<FilterDateRangePickerField />", () => {
|
|
|
92
92
|
expect(inputStartDate).toHaveValue("2 May 2022")
|
|
93
93
|
expect(inputEndDate).toHaveValue("22 May 2022")
|
|
94
94
|
|
|
95
|
-
const
|
|
96
|
-
|
|
95
|
+
const targetMonth = screen.getByRole("grid", { name: "May 2022" })
|
|
96
|
+
const targetDay = within(targetMonth).getByRole("gridcell", {
|
|
97
|
+
name: "1",
|
|
97
98
|
})
|
|
98
|
-
expect(targetDay).not.toHaveAttribute("aria-
|
|
99
|
+
expect(targetDay).not.toHaveAttribute("aria-selected")
|
|
99
100
|
|
|
100
101
|
await user.click(inputStartDate)
|
|
101
102
|
await user.clear(inputStartDate)
|
|
@@ -108,7 +109,7 @@ describe("<FilterDateRangePickerField />", () => {
|
|
|
108
109
|
expect(startDateOnBlur).toHaveBeenCalled()
|
|
109
110
|
expect(inputEndDate).toHaveValue("22 May 2022")
|
|
110
111
|
expect(endDateOnBlur).not.toHaveBeenCalled()
|
|
111
|
-
expect(targetDay).toHaveAttribute("aria-
|
|
112
|
+
expect(targetDay).toHaveAttribute("aria-selected", "true")
|
|
112
113
|
})
|
|
113
114
|
})
|
|
114
115
|
|
|
@@ -132,10 +133,11 @@ describe("<FilterDateRangePickerField />", () => {
|
|
|
132
133
|
expect(inputStartDate).toHaveValue("1 May 2022")
|
|
133
134
|
expect(inputEndDate).toHaveValue("22 May 2022")
|
|
134
135
|
|
|
135
|
-
const
|
|
136
|
-
|
|
136
|
+
const targetMonth = screen.getByRole("grid", { name: "May 2022" })
|
|
137
|
+
const targetDay = within(targetMonth).getByRole("gridcell", {
|
|
138
|
+
name: "31",
|
|
137
139
|
})
|
|
138
|
-
expect(targetDay).not.toHaveAttribute("aria-
|
|
140
|
+
expect(targetDay).not.toHaveAttribute("aria-selected")
|
|
139
141
|
|
|
140
142
|
await user.click(inputEndDate)
|
|
141
143
|
await user.clear(inputEndDate)
|
|
@@ -148,7 +150,7 @@ describe("<FilterDateRangePickerField />", () => {
|
|
|
148
150
|
expect(startDateOnBlur).not.toHaveBeenCalled()
|
|
149
151
|
expect(inputEndDate).toHaveValue("31 May 2022")
|
|
150
152
|
expect(endDateOnBlur).toHaveBeenCalled()
|
|
151
|
-
expect(targetDay).toHaveAttribute("aria-
|
|
153
|
+
expect(targetDay).toHaveAttribute("aria-selected", "true")
|
|
152
154
|
})
|
|
153
155
|
})
|
|
154
156
|
})
|
|
@@ -236,14 +238,15 @@ describe("<FilterDateRangePickerField />", () => {
|
|
|
236
238
|
const inputStartDate = screen.getByLabelText("Date from")
|
|
237
239
|
expect(inputStartDate).toHaveValue("15 May 2022")
|
|
238
240
|
|
|
239
|
-
const
|
|
240
|
-
|
|
241
|
+
const targetMonth = screen.getByRole("grid", { name: "May 2022" })
|
|
242
|
+
const targetDay = within(targetMonth).getByRole("gridcell", {
|
|
243
|
+
name: "12",
|
|
241
244
|
})
|
|
242
|
-
expect(targetDay).not.toHaveAttribute("aria-
|
|
245
|
+
expect(targetDay).not.toHaveAttribute("aria-selected")
|
|
243
246
|
await user.click(targetDay)
|
|
244
247
|
|
|
245
248
|
await waitFor(() => {
|
|
246
|
-
expect(targetDay).toHaveAttribute("aria-
|
|
249
|
+
expect(targetDay).toHaveAttribute("aria-selected", "true")
|
|
247
250
|
expect(inputStartDate).toHaveValue("12 May 2022")
|
|
248
251
|
})
|
|
249
252
|
})
|
|
@@ -261,14 +264,15 @@ describe("<FilterDateRangePickerField />", () => {
|
|
|
261
264
|
const inputEndDate = screen.getByLabelText("Date to")
|
|
262
265
|
expect(inputEndDate).toHaveValue("15 Jun 2022")
|
|
263
266
|
|
|
264
|
-
const
|
|
265
|
-
|
|
267
|
+
const targetMonth = screen.getByRole("grid", { name: "June 2022" })
|
|
268
|
+
const targetDay = within(targetMonth).getByRole("gridcell", {
|
|
269
|
+
name: "23",
|
|
266
270
|
})
|
|
267
|
-
expect(targetDay).not.toHaveAttribute("aria-
|
|
271
|
+
expect(targetDay).not.toHaveAttribute("aria-selected")
|
|
268
272
|
await user.click(targetDay)
|
|
269
273
|
|
|
270
274
|
await waitFor(() => {
|
|
271
|
-
expect(targetDay).toHaveAttribute("aria-
|
|
275
|
+
expect(targetDay).toHaveAttribute("aria-selected", "true")
|
|
272
276
|
expect(inputEndDate).toHaveValue("23 Jun 2022")
|
|
273
277
|
})
|
|
274
278
|
})
|
|
@@ -288,8 +292,9 @@ describe("<FilterDateRangePickerField />", () => {
|
|
|
288
292
|
expect(inputStartDate).toHaveValue("15 May 2022")
|
|
289
293
|
expect(inputEndDate).toHaveValue("22 May 2022")
|
|
290
294
|
|
|
291
|
-
const
|
|
292
|
-
|
|
295
|
+
const targetMonth = screen.getByRole("grid", { name: "May 2022" })
|
|
296
|
+
const firstSelectedDay = within(targetMonth).getByRole("gridcell", {
|
|
297
|
+
name: "15",
|
|
293
298
|
})
|
|
294
299
|
await user.click(firstSelectedDay)
|
|
295
300
|
|
|
@@ -455,7 +460,7 @@ describe("<FilterDateRangePickerField />", () => {
|
|
|
455
460
|
)
|
|
456
461
|
// End date in Calendar is deselected
|
|
457
462
|
expect(
|
|
458
|
-
screen.getAllByRole("
|
|
463
|
+
screen.getAllByRole("gridcell", { selected: true }).length
|
|
459
464
|
).toEqual(1)
|
|
460
465
|
})
|
|
461
466
|
|
|
@@ -470,7 +475,7 @@ describe("<FilterDateRangePickerField />", () => {
|
|
|
470
475
|
expect(dateEndErrorContainer).not.toBeInTheDocument()
|
|
471
476
|
// End date in Calendar is re-selected
|
|
472
477
|
expect(
|
|
473
|
-
screen.getAllByRole("
|
|
478
|
+
screen.getAllByRole("gridcell", { selected: true }).length
|
|
474
479
|
).toEqual(3)
|
|
475
480
|
})
|
|
476
481
|
})
|
|
@@ -499,7 +504,7 @@ describe("<FilterDateRangePickerField />", () => {
|
|
|
499
504
|
)
|
|
500
505
|
// End date in Calendar is deselected
|
|
501
506
|
expect(
|
|
502
|
-
screen.getAllByRole("
|
|
507
|
+
screen.getAllByRole("gridcell", { selected: true }).length
|
|
503
508
|
).toEqual(1)
|
|
504
509
|
})
|
|
505
510
|
})
|
|
@@ -636,8 +641,9 @@ describe("<FilterDateRangePickerField />", () => {
|
|
|
636
641
|
)
|
|
637
642
|
})
|
|
638
643
|
|
|
639
|
-
const
|
|
640
|
-
|
|
644
|
+
const targetMonth = screen.getByRole("grid", { name: "May 2022" })
|
|
645
|
+
const targetDay = within(targetMonth).getByRole("gridcell", {
|
|
646
|
+
name: "12",
|
|
641
647
|
})
|
|
642
648
|
await user.click(targetDay)
|
|
643
649
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Description, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation, NoClipCanvas } from "~storybook/components"
|
|
3
3
|
import * as FilterSelectStickerSheet from "./FilterSelect.stickersheet.stories"
|
|
4
4
|
import * as FilterSelectStories from "./FilterSelect.stories"
|
|
5
5
|
|
|
@@ -14,11 +14,7 @@ import * as FilterSelectStories from "./FilterSelect.stories"
|
|
|
14
14
|
className="!mb-8"
|
|
15
15
|
/>
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
<Installation
|
|
19
|
-
installCommand="yarn add @kaizen/components"
|
|
20
|
-
importStatement='import { FilterSelect } from "@kaizen/components"'
|
|
21
|
-
/>
|
|
17
|
+
<KAIOInstallation exportNames="FilterSelect" />
|
|
22
18
|
|
|
23
19
|
## Playground
|
|
24
20
|
|
|
@@ -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 GuidanceBlockStories from "./GuidanceBlock.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={GuidanceBlockStories} />
|
|
@@ -13,11 +13,7 @@ import * as GuidanceBlockStories from "./GuidanceBlock.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { GuidanceBlock } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="GuidanceBlock" />
|
|
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 HeadingStories from "./Heading.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={HeadingStories} />
|
|
@@ -12,11 +12,7 @@ import * as HeadingStories from "./Heading.stories"
|
|
|
12
12
|
className="!mb-8"
|
|
13
13
|
/>
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
<Installation
|
|
17
|
-
installCommand="yarn add @kaizen/components"
|
|
18
|
-
importStatement='import { Heading } from "@kaizen/components"'
|
|
19
|
-
/>
|
|
15
|
+
<KAIOInstallation exportNames="Heading" />
|
|
20
16
|
|
|
21
17
|
## Overview
|
|
22
18
|
Renders a heading element `h1-h6` and applies styling for headings.
|
|
@@ -34,4 +30,3 @@ People using a screen reader rely on heading elements to get an understanding of
|
|
|
34
30
|
In most cases, you will need to use the `tag` prop to adjust the heading level to suit your page.
|
|
35
31
|
|
|
36
32
|
There will the odd case where you want heading styling, but the text isn't actually acting as a heading. In those cases, use `tag="div"` or `tag="span"`.
|
|
37
|
-
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
pnpm svgo -f ./assets/svgs/icons -o ./src/Icon/bin/built-svgs/
|
|
4
4
|
|
|
5
5
|
ts-node ./src/Icon/bin/wrapSVGs.ts --source-dir ./src/Icon/bin/built-svgs --output-dir ./src/Icon --delete-source-dir
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
pnpm prettier -w ./src/Icon
|
package/src/Icon/bin/wrapSVGs.ts
CHANGED
|
File without changes
|
|
@@ -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 BrandMomentCaptureIntroStories from "./BrandMomentCaptureIntro.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={BrandMomentCaptureIntroStories} />
|
|
@@ -13,11 +13,7 @@ import * as BrandMomentCaptureIntroStories from "./BrandMomentCaptureIntro.stori
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { BrandMomentCaptureIntro } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="BrandMomentCaptureIntro" />
|
|
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 Stickersheets from "./Scene.stickersheet.stories"
|
|
4
4
|
import * as SceneStories from "./Scene.stories"
|
|
5
5
|
|
|
@@ -13,8 +13,7 @@ import * as SceneStories from "./Scene.stories"
|
|
|
13
13
|
/>
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
<
|
|
17
|
-
installCommand="yarn add @kaizen/components"
|
|
16
|
+
<KAIOInstallation
|
|
18
17
|
/>
|
|
19
18
|
|
|
20
19
|
## Overview
|
|
@@ -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 StickerSheetStories from "./Spot.stickersheet.stories"
|
|
4
4
|
import * as SpotIllustrationStories from "./Spot.stories"
|
|
5
5
|
|
|
@@ -14,11 +14,7 @@ import * as SpotIllustrationStories from "./Spot.stories"
|
|
|
14
14
|
className="!mb-8"
|
|
15
15
|
/>
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
<Installation
|
|
19
|
-
installCommand="yarn add @kaizen/components"
|
|
20
|
-
importStatement='import { CompanyDetails } from "@kaizen/components"'
|
|
21
|
-
/>
|
|
17
|
+
<KAIOInstallation exportNames="CompanyDetails" />
|
|
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 { LinkTo } from "~storybook/components/LinkTo"
|
|
4
4
|
import * as InputStories from "./Input.stories"
|
|
5
5
|
|
|
@@ -12,11 +12,7 @@ import * as InputStories from "./Input.stories"
|
|
|
12
12
|
className="!mb-8"
|
|
13
13
|
/>
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
<Installation
|
|
17
|
-
installCommand="yarn add @kaizen/components"
|
|
18
|
-
importStatement='import { Input } from "@kaizen/components"'
|
|
19
|
-
/>
|
|
15
|
+
<KAIOInstallation exportNames="Input" />
|
|
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 InputRangeStories from "./InputRange.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={InputRangeStories} />
|
|
@@ -11,11 +11,7 @@ import * as InputRangeStories from "./InputRange.stories"
|
|
|
11
11
|
className="!mb-8"
|
|
12
12
|
/>
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
<Installation
|
|
16
|
-
installCommand="yarn add @kaizen/components"
|
|
17
|
-
importStatement='import { InputRange } from "@kaizen/components"'
|
|
18
|
-
/>
|
|
14
|
+
<KAIOInstallation exportNames="InputRange" />
|
|
19
15
|
|
|
20
16
|
## Overview
|
|
21
17
|
|
|
@@ -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 InputSearchStories from "./InputSearch.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={InputSearchStories} />
|
|
@@ -11,11 +11,7 @@ import * as InputSearchStories from "./InputSearch.stories"
|
|
|
11
11
|
className="!mb-8"
|
|
12
12
|
/>
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
<Installation
|
|
16
|
-
installCommand="yarn add @kaizen/components"
|
|
17
|
-
importStatement='import { InputSearch } from "@kaizen/components"'
|
|
18
|
-
/>
|
|
14
|
+
<KAIOInstallation exportNames="InputSearch" />
|
|
19
15
|
|
|
20
16
|
## Overview
|
|
21
17
|
|
|
@@ -46,4 +42,3 @@ Adding text will automatically show the clear button.
|
|
|
46
42
|
## Reversed
|
|
47
43
|
|
|
48
44
|
<Canvas of={InputSearchStories.Reversed} />
|
|
49
|
-
|
|
@@ -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 LabelStories from "./Label.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={LabelStories} />
|
|
@@ -11,11 +11,7 @@ import * as LabelStories from "./Label.stories"
|
|
|
11
11
|
className="!mb-8"
|
|
12
12
|
/>
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
<Installation
|
|
16
|
-
installCommand="yarn add @kaizen/components"
|
|
17
|
-
importStatement='import { Label } from "@kaizen/components"'
|
|
18
|
-
/>
|
|
14
|
+
<KAIOInstallation exportNames="Label" />
|
|
19
15
|
|
|
20
16
|
## Overview
|
|
21
17
|
|
|
@@ -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 LikertScaleLegacyStories from "./LikertScaleLegacy.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={LikertScaleLegacyStories} />
|
|
@@ -13,11 +13,7 @@ import * as LikertScaleLegacyStories from "./LikertScaleLegacy.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { LikertScaleLegacy } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="LikertScaleLegacy" />
|
|
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 LoadingGraphicStories from "./LoadingGraphic.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={LoadingGraphicStories} />
|
|
@@ -13,11 +13,7 @@ import * as LoadingGraphicStories from "./LoadingGraphic.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { LoadingGraphic } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="LoadingGraphic" />
|
|
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 LoadingHeadingStories from "./LoadingHeading.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={LoadingHeadingStories} />
|
|
@@ -13,11 +13,7 @@ import * as LoadingHeadingStories from "./LoadingHeading.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { LoadingHeading } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="LoadingHeading" />
|
|
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 LoadingInputStories from "./LoadingInput.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={LoadingInputStories} />
|
|
@@ -13,11 +13,7 @@ import * as LoadingInputStories from "./LoadingInput.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { LoadingInput } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="LoadingInput" />
|
|
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 LoadingParagraphStories from "./LoadingParagraph.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={LoadingParagraphStories} />
|
|
@@ -13,11 +13,7 @@ import * as LoadingParagraphStories from "./LoadingParagraph.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { LoadingParagraph } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="LoadingParagraph" />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from "@storybook/blocks"
|
|
2
|
-
import { ResourceLinks,
|
|
2
|
+
import { ResourceLinks, KAIOInstallation } from "~storybook/components"
|
|
3
3
|
import * as LoadingSpinnerStories from "./LoadingSpinner.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={LoadingSpinnerStories} />
|
|
6
6
|
|
|
7
7
|
# LoadingSpinner
|
|
8
8
|
|
|
9
|
-
{/*
|
|
10
|
-
* @todo:
|
|
11
|
-
* - Adjust Github link (if needed)
|
|
12
|
-
* - Add Figma and Design Guidelines (Confluence) link
|
|
13
|
-
*/}
|
|
14
9
|
<ResourceLinks
|
|
15
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/LoadingSpinner"
|
|
16
11
|
figma=""
|
|
@@ -18,11 +13,7 @@ import * as LoadingSpinnerStories from "./LoadingSpinner.stories"
|
|
|
18
13
|
className="!mb-8"
|
|
19
14
|
/>
|
|
20
15
|
|
|
21
|
-
|
|
22
|
-
<Installation
|
|
23
|
-
installCommand="yarn add @kaizen/components"
|
|
24
|
-
importStatement='import { LoadingSpinner } from "@kaizen/components"'
|
|
25
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="LoadingSpinner" />
|
|
26
17
|
|
|
27
18
|
## Overview
|
|
28
19
|
|
package/src/Menu/_docs/Menu.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 MenuStories from "./Menu.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={MenuStories} />
|
|
@@ -13,11 +13,7 @@ import * as MenuStories from "./Menu.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { Menu } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="Menu" />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|
|
File without changes
|
|
@@ -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 ConfirmationModalStories from "./ConfirmationModal.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={ConfirmationModalStories} />
|
|
@@ -13,11 +13,7 @@ import * as ConfirmationModalStories from "./ConfirmationModal.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { ConfirmationModal } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="ConfirmationModal" />
|
|
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 ContextModalStories from "./ContextModal.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={ContextModalStories} />
|
|
@@ -13,11 +13,7 @@ import * as ContextModalStories from "./ContextModal.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { ContextModal } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="ContextModal" />
|
|
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 GenericModal from "./GenericModal.stories"
|
|
5
5
|
|
|
@@ -12,11 +12,7 @@ import * as GenericModal from "./GenericModal.stories"
|
|
|
12
12
|
className="!mb-8"
|
|
13
13
|
/>
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
<Installation
|
|
17
|
-
installCommand="yarn add @kaizen/components"
|
|
18
|
-
importStatement='import { GenericModal } from "@kaizen/components"'
|
|
19
|
-
/>
|
|
15
|
+
<KAIOInstallation exportNames="GenericModal" />
|
|
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 InputEditModalStories from "./InputEditModal.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={InputEditModalStories} />
|
|
@@ -13,11 +13,7 @@ import * as InputEditModalStories from "./InputEditModal.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { InputEditModal } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="InputEditModal" />
|
|
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, SbReleaseNotification} from "~storybook/components"
|
|
3
3
|
import * as MultiSelectStories from "./MultiSelect.stories"
|
|
4
4
|
|
|
5
5
|
<Meta of={MultiSelectStories} />
|
|
@@ -14,10 +14,7 @@ import * as MultiSelectStories from "./MultiSelect.stories"
|
|
|
14
14
|
|
|
15
15
|
<SbReleaseNotification />
|
|
16
16
|
|
|
17
|
-
<
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { MultiSelect } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
17
|
+
<KAIOInstallation exportNames="MultiSelect" />
|
|
21
18
|
|
|
22
19
|
## Overview
|
|
23
20
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta, Description} from "@storybook/blocks"
|
|
2
|
-
import {
|
|
2
|
+
import { KAIOInstallation, ResourceLinks } from "~storybook/components"
|
|
3
3
|
import * as GlobalNotificationExamples from "./GlobalNotification.stories"
|
|
4
4
|
|
|
5
5
|
<Meta title="Components/Notifications/Global Notification" />
|
|
@@ -13,11 +13,7 @@ import * as GlobalNotificationExamples from "./GlobalNotification.stories"
|
|
|
13
13
|
className="!mb-8"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
<Installation
|
|
18
|
-
installCommand="yarn add @kaizen/components"
|
|
19
|
-
importStatement='import { GlobalNotification } from "@kaizen/components"'
|
|
20
|
-
/>
|
|
16
|
+
<KAIOInstallation exportNames="GlobalNotification" />
|
|
21
17
|
|
|
22
18
|
## Overview
|
|
23
19
|
|