@kaizen/components 1.71.0 → 1.72.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/codemods/README.md +3 -3
- package/codemods/upgradeIconV1/getNewIconPropsFromOldIconName.ts +1 -1
- package/codemods/upgradeIconV1/index.ts +1 -1
- package/codemods/upgradeIconV1/upgradeIconV1.spec.ts +4 -4
- package/codemods/upgradeIconV1/upgradeIconV1.ts +1 -1
- package/codemods/utils/getKaioTagName.spec.ts +4 -4
- package/codemods/utils/getKaioTagName.ts +1 -1
- package/codemods/utils/updateKaioImports.spec.ts +20 -20
- package/dist/cjs/Avatar/Avatar.cjs +1 -1
- package/dist/cjs/ButtonGroup/ButtonGroup.cjs +4 -4
- package/dist/cjs/Calendar/CalendarRange/CalendarRange.cjs +1 -1
- package/dist/cjs/Calendar/CalendarSingle/CalendarSingle.cjs +1 -1
- package/dist/cjs/Calendar/LegacyCalendarRange/LegacyCalendarRange.cjs +1 -1
- package/dist/cjs/Checkbox/Checkbox/Checkbox.cjs +1 -1
- package/dist/cjs/ClearButton/ClearButton.cjs +1 -1
- package/dist/cjs/Collapsible/Collapsible/Collapsible.cjs +1 -1
- package/dist/cjs/DateInput/DateInputWithIconButton/DateInputWithIconButton.cjs +1 -1
- package/dist/cjs/DateRangePicker/DateRangePicker.cjs +1 -1
- package/dist/cjs/ErrorPage/ErrorPage.cjs +1 -1
- package/dist/cjs/FieldMessage/FieldMessage.cjs +1 -1
- package/dist/cjs/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.cjs +1 -1
- package/dist/cjs/Filter/FilterButton/FilterButton/FilterButton.cjs +1 -1
- package/dist/cjs/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.cjs +3 -3
- package/dist/cjs/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.cjs +1 -1
- package/dist/cjs/Filter/FilterSelect/FilterSelect.cjs +12 -12
- package/dist/cjs/Focusable/Focusable.module.scss.cjs +6 -0
- package/dist/cjs/GuidanceBlock/GuidanceBlock.cjs +3 -3
- package/dist/cjs/Illustration/utils/usePausePlay.cjs +1 -1
- package/dist/cjs/Input/InputSearch/InputSearch.cjs +1 -1
- package/dist/cjs/LikertScaleLegacy/LikertScaleLegacy.cjs +1 -1
- package/dist/cjs/LinkButton/LinkButton.cjs +3 -3
- package/dist/cjs/Menu/index.cjs +0 -1
- package/dist/cjs/Modal/ConfirmationModal/ConfirmationModal.cjs +1 -1
- package/dist/cjs/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.cjs +1 -1
- package/dist/cjs/MultiSelect/subcomponents/Checkbox/Checkbox.cjs +1 -1
- package/dist/cjs/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.cjs +2 -2
- package/dist/cjs/Notification/subcomponents/CancelButton/CancelButton.cjs +1 -1
- package/dist/cjs/Notification/subcomponents/NotificationIcon/NotificationIcon.cjs +1 -1
- package/dist/cjs/Pagination/Pagination.cjs +1 -0
- package/dist/cjs/Pagination/subcomponents/DirectionalLink/DirectionalLink.cjs +1 -1
- package/dist/cjs/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.cjs +1 -1
- package/dist/cjs/Popover/Popover.cjs +1 -1
- package/dist/cjs/Popover/utils/classMappers.cjs +1 -1
- package/dist/cjs/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/ToggleIconButton.cjs +2 -2
- package/dist/cjs/RichTextEditor/RichTextEditor/utils/controlmap.cjs +1 -1
- package/dist/cjs/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.cjs +1 -1
- package/dist/cjs/Select/Select.cjs +1 -1
- package/dist/cjs/SplitButton/subcomponents/DropdownButton/DropdownButton.cjs +1 -1
- package/dist/cjs/Table/Table.cjs +3 -3
- package/dist/cjs/Tag/Tag.cjs +1 -1
- package/dist/cjs/TextField/TextField.cjs +1 -1
- package/dist/cjs/Tile/subcomponents/GenericTile/GenericTile.cjs +1 -1
- package/dist/cjs/TitleBlockZen/TitleBlockZen.cjs +1 -1
- package/dist/cjs/TitleBlockZen/subcomponents/MainActions.cjs +1 -1
- package/dist/cjs/TitleBlockZen/subcomponents/MobileActions.cjs +1 -1
- package/dist/cjs/TitleBlockZen/subcomponents/SecondaryActions.cjs +1 -1
- package/dist/cjs/ToggleSwitch/ToggleSwitch/ToggleSwitch.cjs +1 -1
- package/dist/cjs/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.cjs +1 -1
- package/dist/cjs/{__rc__ → __next__}/Button/Button.cjs +1 -1
- package/dist/cjs/__next__/Button/Button.module.css.cjs +21 -0
- package/dist/cjs/__next__/Button/subcomponents/ButtonContent/ButtonContent.module.css.cjs +9 -0
- package/dist/cjs/__next__/Button/subcomponents/PendingContent/PendingContent.module.css.cjs +8 -0
- package/dist/cjs/__next__/Icon/Icon.module.css.cjs +11 -0
- package/dist/cjs/{__rc__ → __next__}/Menu/Menu.module.css.cjs +1 -1
- package/dist/cjs/__next__/Menu/MenuItem.module.css.cjs +8 -0
- package/dist/cjs/__next__/Select/Select.module.scss.cjs +7 -0
- package/dist/cjs/{__rc__ → __next__}/Select/subcomponents/ListBox/ListBox.cjs +1 -1
- package/dist/cjs/{__rc__ → __next__}/Select/subcomponents/ListBox/ListBox.module.scss.cjs +1 -1
- package/dist/cjs/__next__/Select/subcomponents/ListBoxSection/ListBoxSection.module.scss.cjs +8 -0
- package/dist/cjs/__next__/Select/subcomponents/Option/Option.module.scss.cjs +10 -0
- package/dist/cjs/{__rc__ → __next__}/Select/subcomponents/SectionDivider/SectionDivider.module.scss.cjs +1 -1
- package/dist/cjs/{__rc__ → __next__}/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.module.scss.cjs +1 -1
- package/dist/cjs/__next__/Select/subcomponents/SelectToggle/SelectToggle.module.scss.cjs +14 -0
- package/dist/cjs/__next__/Tabs/subcomponents/Tab/Tab.module.css.cjs +7 -0
- package/dist/cjs/{__rc__ → __next__}/Tabs/subcomponents/TabList/TabList.cjs +1 -1
- package/dist/cjs/__next__/Tabs/subcomponents/TabList/TabList.module.css.cjs +10 -0
- package/dist/cjs/__next__/Tag/RemovableTag/RemovableTag.module.scss.cjs +6 -0
- package/dist/cjs/__next__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss.cjs +6 -0
- package/dist/cjs/__next__/Tag/Tag/Tag.module.scss.cjs +14 -0
- package/dist/cjs/{__rc__ → __next__}/Tooltip/OverlayArrow.cjs +1 -1
- package/dist/cjs/__next__/Tooltip/OverlayArrow.module.scss.cjs +7 -0
- package/dist/cjs/{__rc__ → __next__}/Tooltip/Tooltip.cjs +1 -1
- package/dist/cjs/__next__/Tooltip/Tooltip.module.scss.cjs +8 -0
- package/dist/cjs/actionsV3.cjs +7 -7
- package/dist/cjs/future.cjs +18 -18
- package/dist/cjs/index.cjs +7 -2
- package/dist/cjs/next.cjs +45 -0
- package/dist/cjs/overlaysV1.cjs +2 -2
- package/dist/cjs/overlaysV2.cjs +2 -2
- package/dist/cjs/overlaysV3.cjs +2 -4
- package/dist/cjs/utilitiesV3.cjs +1053 -1
- package/dist/esm/Avatar/Avatar.mjs +1 -1
- package/dist/esm/ButtonGroup/ButtonGroup.mjs +1 -1
- package/dist/esm/Calendar/CalendarRange/CalendarRange.mjs +1 -1
- package/dist/esm/Calendar/CalendarSingle/CalendarSingle.mjs +1 -1
- package/dist/esm/Calendar/LegacyCalendarRange/LegacyCalendarRange.mjs +1 -1
- package/dist/esm/Checkbox/Checkbox/Checkbox.mjs +1 -1
- package/dist/esm/ClearButton/ClearButton.mjs +1 -1
- package/dist/esm/Collapsible/Collapsible/Collapsible.mjs +1 -1
- package/dist/esm/DateInput/DateInputWithIconButton/DateInputWithIconButton.mjs +1 -1
- package/dist/esm/DateRangePicker/DateRangePicker.mjs +1 -1
- package/dist/esm/ErrorPage/ErrorPage.mjs +1 -1
- package/dist/esm/FieldMessage/FieldMessage.mjs +1 -1
- package/dist/esm/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.mjs +1 -1
- package/dist/esm/Filter/FilterButton/FilterButton/FilterButton.mjs +1 -1
- package/dist/esm/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.mjs +2 -2
- package/dist/esm/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.mjs +1 -1
- package/dist/esm/Filter/FilterSelect/FilterSelect.mjs +12 -12
- package/dist/esm/Focusable/Focusable.module.scss.mjs +4 -0
- package/dist/esm/GuidanceBlock/GuidanceBlock.mjs +2 -2
- package/dist/esm/Illustration/utils/usePausePlay.mjs +1 -1
- package/dist/esm/Input/InputSearch/InputSearch.mjs +1 -1
- package/dist/esm/LikertScaleLegacy/LikertScaleLegacy.mjs +1 -1
- package/dist/esm/LinkButton/LinkButton.mjs +3 -3
- package/dist/esm/Menu/index.mjs +0 -1
- package/dist/esm/Modal/ConfirmationModal/ConfirmationModal.mjs +1 -1
- package/dist/esm/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.mjs +1 -1
- package/dist/esm/MultiSelect/subcomponents/Checkbox/Checkbox.mjs +1 -1
- package/dist/esm/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.mjs +2 -2
- package/dist/esm/Notification/subcomponents/CancelButton/CancelButton.mjs +1 -1
- package/dist/esm/Notification/subcomponents/NotificationIcon/NotificationIcon.mjs +1 -1
- package/dist/esm/Pagination/Pagination.mjs +1 -0
- package/dist/esm/Pagination/subcomponents/DirectionalLink/DirectionalLink.mjs +1 -1
- package/dist/esm/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.mjs +1 -1
- package/dist/esm/Popover/Popover.mjs +1 -1
- package/dist/esm/Popover/utils/classMappers.mjs +1 -1
- package/dist/esm/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/ToggleIconButton.mjs +1 -1
- package/dist/esm/RichTextEditor/RichTextEditor/utils/controlmap.mjs +1 -1
- package/dist/esm/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.mjs +1 -1
- package/dist/esm/Select/Select.mjs +1 -1
- package/dist/esm/SplitButton/subcomponents/DropdownButton/DropdownButton.mjs +1 -1
- package/dist/esm/Table/Table.mjs +2 -2
- package/dist/esm/Tag/Tag.mjs +1 -1
- package/dist/esm/TextField/TextField.mjs +1 -1
- package/dist/esm/Tile/subcomponents/GenericTile/GenericTile.mjs +1 -1
- package/dist/esm/TitleBlockZen/TitleBlockZen.mjs +1 -1
- package/dist/esm/TitleBlockZen/subcomponents/MainActions.mjs +1 -1
- package/dist/esm/TitleBlockZen/subcomponents/MobileActions.mjs +1 -1
- package/dist/esm/TitleBlockZen/subcomponents/SecondaryActions.mjs +1 -1
- package/dist/esm/ToggleSwitch/ToggleSwitch/ToggleSwitch.mjs +1 -1
- package/dist/esm/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.mjs +1 -1
- package/dist/esm/{__rc__ → __next__}/Button/Button.mjs +1 -1
- package/dist/esm/__next__/Button/Button.module.css.mjs +19 -0
- package/dist/esm/__next__/Button/subcomponents/ButtonContent/ButtonContent.module.css.mjs +7 -0
- package/dist/esm/__next__/Button/subcomponents/PendingContent/PendingContent.module.css.mjs +6 -0
- package/dist/esm/__next__/Icon/Icon.module.css.mjs +9 -0
- package/dist/esm/{__rc__ → __next__}/Menu/Menu.module.css.mjs +1 -1
- package/dist/esm/__next__/Menu/MenuItem.module.css.mjs +6 -0
- package/dist/esm/__next__/Select/Select.module.scss.mjs +5 -0
- package/dist/esm/{__rc__ → __next__}/Select/subcomponents/ListBox/ListBox.mjs +1 -1
- package/dist/esm/{__rc__ → __next__}/Select/subcomponents/ListBox/ListBox.module.scss.mjs +1 -1
- package/dist/esm/__next__/Select/subcomponents/ListBoxSection/ListBoxSection.module.scss.mjs +6 -0
- package/dist/esm/__next__/Select/subcomponents/Option/Option.module.scss.mjs +8 -0
- package/dist/esm/__next__/Select/subcomponents/SectionDivider/SectionDivider.module.scss.mjs +4 -0
- package/dist/esm/{__rc__ → __next__}/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.module.scss.mjs +1 -1
- package/dist/esm/__next__/Select/subcomponents/SelectToggle/SelectToggle.module.scss.mjs +12 -0
- package/dist/esm/__next__/Tabs/subcomponents/Tab/Tab.module.css.mjs +5 -0
- package/dist/esm/{__rc__ → __next__}/Tabs/subcomponents/TabList/TabList.mjs +1 -1
- package/dist/esm/__next__/Tabs/subcomponents/TabList/TabList.module.css.mjs +8 -0
- package/dist/esm/__next__/Tag/RemovableTag/RemovableTag.module.scss.mjs +4 -0
- package/dist/esm/__next__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss.mjs +4 -0
- package/dist/esm/__next__/Tag/Tag/Tag.module.scss.mjs +12 -0
- package/dist/esm/{__rc__ → __next__}/Tooltip/OverlayArrow.mjs +1 -1
- package/dist/esm/__next__/Tooltip/OverlayArrow.module.scss.mjs +5 -0
- package/dist/esm/{__rc__ → __next__}/Tooltip/Tooltip.mjs +1 -1
- package/dist/esm/__next__/Tooltip/Tooltip.module.scss.mjs +6 -0
- package/dist/esm/actionsV3.mjs +7 -7
- package/dist/esm/future.mjs +18 -18
- package/dist/esm/index.mjs +3 -1
- package/dist/esm/next.mjs +19 -0
- package/dist/esm/overlaysV1.mjs +1 -1
- package/dist/esm/overlaysV2.mjs +1 -1
- package/dist/esm/overlaysV3.mjs +2 -3
- package/dist/esm/utilitiesV3.mjs +422 -1
- package/dist/styles.css +155 -155
- package/dist/types/Filter/FilterSelect/FilterSelect.d.ts +4 -4
- package/dist/types/Filter/FilterSelect/types.d.ts +1 -1
- package/dist/types/LinkButton/LinkButton.d.ts +1 -1
- package/dist/types/Tooltip/index.d.ts +1 -8
- package/dist/types/{__rc__ → __next__}/Button/Button.d.ts +2 -2
- package/dist/types/{__rc__ → __next__}/Tooltip/index.d.ts +0 -1
- package/dist/types/{__rc__ → __next__}/index.d.ts +1 -0
- package/dist/types/__utilities__/index.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/v3-actions.d.ts +2 -2
- package/dist/types/v3-overlays.d.ts +1 -1
- package/future/README.md +2 -24
- package/future/package.json +1 -1
- package/next/README.md +27 -0
- package/next/package.json +5 -0
- package/package.json +11 -5
- package/src/Avatar/Avatar.tsx +1 -1
- package/src/BrandMoment/_docs/BrandMoment.stickersheet.stories.tsx +1 -1
- package/src/BrandMoment/_docs/BrandMoment.stories.tsx +2 -2
- package/src/BrandMoment/_docs/ExampleHeaders.tsx +1 -1
- package/src/Button/Button/_docs/Button.mdx +5 -4
- package/src/Button/Button/_docs/Button.stickersheet.stories.tsx +2 -2
- package/src/Button/Button/_docs/Button.stories.tsx +2 -2
- package/src/Button/IconButton/_docs/IconButton.mdx +5 -3
- package/src/Button/IconButton/_docs/IconButton.stickersheet.stories.tsx +2 -2
- package/src/Button/IconButton/_docs/IconButton.stories.tsx +2 -2
- package/src/Calendar/CalendarPopover/_docs/CalendarPopover.stickersheet.stories.tsx +1 -1
- package/src/Calendar/CalendarRange/CalendarRange.tsx +1 -1
- package/src/Calendar/CalendarRange/_docs/CalendarRange.stickersheet.stories.tsx +1 -1
- package/src/Calendar/CalendarRange/_docs/CalendarRange.stories.tsx +1 -1
- package/src/Calendar/CalendarSingle/CalendarSingle.tsx +1 -1
- package/src/Calendar/CalendarSingle/_docs/CalendarSingle.stickersheet.stories.tsx +1 -1
- package/src/Calendar/CalendarSingle/_docs/CalendarSingle.stories.tsx +1 -1
- package/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.tsx +1 -1
- package/src/Checkbox/Checkbox/Checkbox.tsx +1 -1
- package/src/Checkbox/Checkbox/_docs/Checkbox.stickersheet.stories.tsx +1 -1
- package/src/Checkbox/Checkbox/_docs/Checkbox.stories.tsx +1 -1
- package/src/Checkbox/CheckboxField/_docs/CheckboxField.stickersheet.stories.tsx +1 -1
- package/src/Checkbox/CheckboxField/_docs/CheckboxField.stories.tsx +1 -1
- package/src/Checkbox/CheckboxGroup/_docs/CheckboxGroup.stickersheet.stories.tsx +1 -1
- package/src/Checkbox/CheckboxGroup/_docs/CheckboxGroup.stories.tsx +1 -1
- package/src/ClearButton/ClearButton.tsx +1 -1
- package/src/Collapsible/Collapsible/Collapsible.tsx +1 -1
- package/src/Collapsible/Collapsible/_docs/Collapsible.stories.tsx +1 -1
- package/src/DateInput/DateInputWithIconButton/DateInputWithIconButton.tsx +1 -1
- package/src/DatePicker/_docs/DatePicker.stickersheet.stories.tsx +1 -1
- package/src/DatePicker/_docs/DatePicker.stories.tsx +1 -1
- package/src/DatePicker/_docs/getLocale.stickersheet.stories.tsx +1 -1
- package/src/DateRangePicker/DateRangePicker.tsx +1 -1
- package/src/DateRangePicker/_docs/DateRangePicker.stickersheet.stories.tsx +1 -1
- package/src/DateRangePicker/_docs/DateRangePicker.stories.tsx +1 -1
- package/src/EmptyState/_docs/EmptyState.stickersheet.stories.tsx +1 -1
- package/src/EmptyState/_docs/EmptyState.stories.tsx +1 -1
- package/src/ErrorPage/ErrorPage.tsx +1 -1
- package/src/FieldGroup/_docs/FieldGroup.stickersheet.stories.tsx +1 -1
- package/src/FieldGroup/_docs/FieldGroup.stories.tsx +1 -1
- package/src/FieldMessage/FieldMessage.tsx +1 -1
- package/src/FieldMessage/_docs/FieldMessage.stickersheet.stories.tsx +1 -1
- package/src/FieldMessage/_docs/FieldMessage.stories.tsx +1 -1
- package/src/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.tsx +1 -1
- package/src/Filter/FilterButton/FilterButton/FilterButton.tsx +1 -1
- package/src/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.tsx +1 -1
- package/src/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.tsx +1 -1
- package/src/Filter/FilterSelect/FilterSelect.tsx +4 -4
- package/src/Filter/FilterSelect/types.ts +2 -2
- package/src/{__rc__/Tooltip/subcomponents/Focusable → Focusable}/_docs/ApiSpecification.mdx +5 -5
- package/src/{__rc__/Tooltip/subcomponents/Focusable → Focusable}/_docs/Focusable.stories.tsx +2 -2
- package/src/GuidanceBlock/GuidanceBlock.tsx +1 -1
- package/src/Icon/_docs/Icon.docs.stories.tsx +2 -2
- package/src/Icon/_docs/Icon.mdx +4 -2
- package/src/Icon/_docs/Icon.stickersheet.stories.tsx +1 -1
- package/src/Illustration/utils/usePausePlay.tsx +1 -1
- package/src/Input/Input/_docs/Input.stickersheet.stories.tsx +2 -2
- package/src/Input/Input/_docs/Input.stories.tsx +2 -2
- package/src/Input/InputRange/_docs/InputRange.stickersheet.stories.tsx +1 -1
- package/src/Input/InputRange/_docs/InputRange.stories.tsx +1 -1
- package/src/Input/InputSearch/InputSearch.tsx +1 -1
- package/src/Input/InputSearch/_docs/InputSearch.stickersheet.stories.tsx +1 -1
- package/src/Input/InputSearch/_docs/InputSearch.stories.tsx +1 -1
- package/src/Label/_docs/Label.stickersheet.stories.tsx +1 -1
- package/src/Label/_docs/Label.stories.tsx +1 -1
- package/src/LabelledMessage/_docs/LabelledMessage.stickersheet.stories.tsx +1 -1
- package/src/LabelledMessage/_docs/LabelledMessage.stories.tsx +1 -1
- package/src/LikertScaleLegacy/LikertScaleLegacy.tsx +1 -1
- package/src/LinkButton/LinkButton.tsx +4 -4
- package/src/LinkButton/_docs/LinkButton--api-specification.mdx +8 -8
- package/src/LinkButton/_docs/LinkButton--usage-guidelines.mdx +1 -1
- package/src/LinkButton/_docs/LinkButton.doc.stories.tsx +1 -1
- package/src/LinkButton/_docs/LinkButton.spec.stories.tsx +1 -1
- package/src/LinkButton/_docs/LinkButton.stickersheet.stories.tsx +1 -1
- package/src/Loading/LoadingGraphic/_docs/LoadingGraphic.stories.tsx +1 -1
- package/src/Menu/_docs/Menu.mdx +5 -5
- package/src/Menu/_docs/Menu.stickersheet.stories.tsx +2 -2
- package/src/Menu/_docs/Menu.stories.tsx +2 -2
- package/src/Menu/_docs/MenuContentExample.tsx +1 -1
- package/src/Menu/_docs/examples.tsx +1 -1
- package/src/Menu/index.ts +0 -2
- package/src/Modal/ConfirmationModal/ConfirmationModal.tsx +1 -1
- package/src/Modal/GenericModal/_docs/GenericModal.spec.stories.tsx +1 -1
- package/src/Modal/GenericModal/_docs/GenericModal.stories.tsx +1 -1
- package/src/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.tsx +1 -1
- package/src/MultiSelect/subcomponents/Checkbox/Checkbox.tsx +1 -1
- package/src/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.tsx +1 -1
- package/src/Notification/subcomponents/CancelButton/CancelButton.tsx +1 -1
- package/src/Notification/subcomponents/NotificationIcon/NotificationIcon.tsx +1 -1
- package/src/Pagination/subcomponents/DirectionalLink/DirectionalLink.tsx +1 -1
- package/src/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.tsx +1 -1
- package/src/Popover/Popover.tsx +1 -1
- package/src/Popover/utils/classMappers.tsx +1 -1
- package/src/Radio/Radio/_docs/Radio.stickersheet.stories.tsx +1 -1
- package/src/Radio/Radio/_docs/Radio.stories.tsx +1 -1
- package/src/Radio/RadioField/_docs/RadioField.stickersheet.stories.tsx +1 -1
- package/src/Radio/RadioField/_docs/RadioField.stories.tsx +1 -1
- package/src/Radio/RadioGroup/_docs/RadioGroup.stickersheet.stories.tsx +1 -1
- package/src/Radio/RadioGroup/_docs/RadioGroup.stories.tsx +1 -1
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/_docs/ToggleIconButton.stickersheet.stories.tsx +1 -1
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/_docs/ToggleIconButton.stories.tsx +1 -1
- package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/Toolbar.spec.tsx +1 -1
- package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/_docs/Toolbar.stories.tsx +1 -1
- package/src/RichTextEditor/RichTextEditor/utils/controlmap.tsx +1 -1
- package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.tsx +1 -1
- package/src/Select/Select.tsx +1 -1
- package/src/Select/_docs/Select.mdx +1 -1
- package/src/SplitButton/subcomponents/DropdownButton/DropdownButton.tsx +1 -1
- package/src/Table/Table.tsx +1 -1
- package/src/Table/_docs/Table.stickersheet.stories.tsx +1 -1
- package/src/Table/_docs/Table.stories.tsx +1 -1
- package/src/Tabs/_docs/Tabs.mdx +4 -2
- package/src/Tabs/_docs/Tabs.stories.tsx +1 -1
- package/src/Tag/Tag.tsx +1 -1
- package/src/Tag/_docs/Tag.mdx +3 -8
- package/src/Tag/_docs/Tag.stickersheet.stories.tsx +1 -1
- package/src/Tag/_docs/Tag.stories.tsx +1 -1
- package/src/TextArea/_docs/TextArea.stickersheet.stories.tsx +1 -1
- package/src/TextArea/_docs/TextArea.stories.tsx +1 -1
- package/src/TextAreaField/_docs/TextAreaField.stickersheet.stories.tsx +1 -1
- package/src/TextAreaField/_docs/TextAreaField.stories.tsx +1 -1
- package/src/TextField/TextField.tsx +1 -1
- package/src/TextField/_docs/TextField.stickersheet.stories.tsx +1 -1
- package/src/TextField/_docs/TextField.stories.tsx +2 -2
- package/src/Tile/subcomponents/GenericTile/GenericTile.spec.stories.tsx +1 -1
- package/src/Tile/subcomponents/GenericTile/GenericTile.tsx +1 -1
- package/src/Tile/subcomponents/GenericTile/_docs/GenericTile.stickersheet.stories.tsx +1 -1
- package/src/TitleBlockZen/TitleBlockZen.tsx +1 -1
- package/src/TitleBlockZen/_docs/TitleBlockZen.stories.tsx +1 -1
- package/src/TitleBlockZen/subcomponents/MainActions.tsx +1 -1
- package/src/TitleBlockZen/subcomponents/MobileActions.tsx +1 -1
- package/src/TitleBlockZen/subcomponents/SecondaryActions.tsx +1 -1
- package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.tsx +1 -1
- package/src/ToggleSwitch/ToggleSwitch/_docs/ToggleSwitch.stickersheet.stories.tsx +1 -1
- package/src/ToggleSwitch/ToggleSwitch/_docs/ToggleSwitch.stories.tsx +1 -1
- package/src/ToggleSwitch/ToggleSwitchField/_docs/ToggleSwitchField.stickersheet.stories.tsx +1 -1
- package/src/ToggleSwitch/ToggleSwitchField/_docs/ToggleSwitchField.stories.tsx +1 -1
- package/src/Tooltip/_docs/Tooltip.mdx +5 -8
- package/src/Tooltip/_docs/Tooltip.stickersheet.stories.tsx +2 -2
- package/src/Tooltip/_docs/Tooltip.stories.tsx +3 -3
- package/src/Tooltip/index.ts +1 -7
- package/src/Tooltip/utils/isSemanticElement.spec.tsx +1 -1
- package/src/Workflow/_docs/Workflow.stories.tsx +1 -1
- package/src/Workflow/_docs/WorkflowHeader.stories.tsx +1 -1
- package/src/Workflow/_docs/controls/controls.tsx +1 -1
- package/src/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.tsx +1 -1
- package/src/{__rc__ → __next__}/Button/Button.tsx +3 -3
- package/src/{__rc__ → __next__}/Button/_docs/Button--api-specification.mdx +9 -9
- package/src/{__rc__ → __next__}/Button/_docs/Button--usage-guidelines.mdx +5 -5
- package/src/{__rc__ → __next__}/Button/_docs/Button.docs.stories.tsx +3 -3
- package/src/{__rc__ → __next__}/Button/_docs/Button.spec.stories.tsx +2 -2
- package/src/{__rc__ → __next__}/Button/_docs/Button.stickersheet.stories.tsx +2 -2
- package/src/{__rc__ → __next__}/Icon/_docs/Icon--api-specification.mdx +3 -3
- package/src/{__rc__ → __next__}/Icon/_docs/Icon--migration-guide.mdx +3 -3
- package/src/{__rc__ → __next__}/Icon/_docs/Icon--usage-guidelines.mdx +4 -4
- package/src/{__rc__ → __next__}/Icon/_docs/Icon.docs.stories.tsx +3 -3
- package/src/{__rc__ → __next__}/Icon/_docs/Icon.stickersheet.stories.tsx +3 -3
- package/src/{__rc__ → __next__}/Menu/_docs/Menu--api-specification.mdx +5 -6
- package/src/{__rc__ → __next__}/Menu/_docs/Menu--usage-guidelines.mdx +3 -4
- package/src/{__rc__ → __next__}/Menu/_docs/Menu.docs.stories.tsx +3 -3
- package/src/{__rc__ → __next__}/Menu/_docs/Menu.spec.stories.tsx +3 -3
- package/src/{__rc__ → __next__}/Menu/_docs/Menu.stories.tsx +3 -3
- package/src/{__rc__ → __next__}/Select/_docs/Select.mdx +2 -2
- package/src/{__rc__ → __next__}/Select/_docs/Select.stickersheet.stories.tsx +1 -1
- package/src/{__rc__ → __next__}/Select/_docs/Select.stories.tsx +1 -1
- package/src/{__rc__ → __next__}/Select/subcomponents/ListBox/ListBox.tsx +1 -1
- package/src/{__rc__ → __next__}/Select/subcomponents/Option/Option.tsx +1 -1
- package/src/{__rc__ → __next__}/Select/subcomponents/SelectToggle/SelectToggle.tsx +1 -1
- package/src/{__rc__ → __next__}/Tabs/_docs/Tabs--api-specification.mdx +3 -3
- package/src/{__rc__ → __next__}/Tabs/_docs/Tabs--migration-guide.mdx +3 -3
- package/src/{__rc__ → __next__}/Tabs/_docs/Tabs.spec.stories.tsx +1 -1
- package/src/{__rc__ → __next__}/Tabs/_docs/Tabs.stickersheet.stories.tsx +1 -1
- package/src/{__rc__ → __next__}/Tabs/_docs/Tabs.stories.tsx +1 -1
- package/src/{__rc__ → __next__}/Tabs/subcomponents/TabList/TabList.tsx +2 -2
- package/src/{__rc__ → __next__}/Tag/RemovableTag/_docs/RemovableTag.mdx +3 -3
- package/src/{__rc__ → __next__}/Tag/RemovableTag/_docs/RemovableTag.stickersheet.stories.tsx +1 -1
- package/src/{__rc__ → __next__}/Tag/RemovableTag/_docs/RemovableTag.stories.tsx +1 -1
- package/src/{__rc__ → __next__}/Tag/RemovableTag/subcomponents/RemoveButton.tsx +1 -1
- package/src/{__rc__ → __next__}/Tag/Tag/_docs/Tag-migration-guide.mdx +8 -8
- package/src/{__rc__ → __next__}/Tag/Tag/_docs/Tag-migration-guide.stories.tsx +2 -2
- package/src/{__rc__ → __next__}/Tag/Tag/_docs/Tag.mdx +5 -5
- package/src/{__rc__ → __next__}/Tag/Tag/_docs/Tag.stickersheet.stories.tsx +2 -2
- package/src/{__rc__ → __next__}/Tag/Tag/_docs/Tag.stories.tsx +2 -2
- package/src/{__rc__ → __next__}/Tooltip/OverlayArrow.tsx +1 -1
- package/src/{__rc__ → __next__}/Tooltip/Tooltip.tsx +1 -1
- package/src/{__rc__ → __next__}/Tooltip/_docs/ApiSpecification.mdx +6 -6
- package/src/{__rc__ → __next__}/Tooltip/_docs/Tooltip.docs.stories.tsx +4 -3
- package/src/{__rc__ → __next__}/Tooltip/_docs/Tooltip.mdx +5 -5
- package/src/{__rc__ → __next__}/Tooltip/_docs/Tooltip.spec.stories.tsx +6 -5
- package/src/{__rc__ → __next__}/Tooltip/_docs/Tooltip.stickersheet.stories.tsx +2 -2
- package/src/{__rc__ → __next__}/Tooltip/_docs/Tooltip.stories.tsx +4 -3
- package/src/{__rc__ → __next__}/Tooltip/index.ts +0 -1
- package/src/__next__/index.ts +11 -0
- package/src/__utilities__/index.ts +2 -0
- package/src/index.ts +1 -0
- package/src/utils/index.ts +1 -0
- package/src/v3-actions.ts +2 -2
- package/src/v3-overlays.ts +1 -1
- package/v3/utilities/package.json +1 -1
- package/dist/cjs/Tooltip/index.cjs +0 -8
- package/dist/cjs/__rc__/Button/Button.module.css.cjs +0 -21
- package/dist/cjs/__rc__/Button/subcomponents/ButtonContent/ButtonContent.module.css.cjs +0 -9
- package/dist/cjs/__rc__/Button/subcomponents/PendingContent/PendingContent.module.css.cjs +0 -8
- package/dist/cjs/__rc__/Icon/Icon.module.css.cjs +0 -11
- package/dist/cjs/__rc__/Menu/MenuItem.module.css.cjs +0 -8
- package/dist/cjs/__rc__/Select/Select.module.scss.cjs +0 -7
- package/dist/cjs/__rc__/Select/subcomponents/ListBoxSection/ListBoxSection.module.scss.cjs +0 -8
- package/dist/cjs/__rc__/Select/subcomponents/Option/Option.module.scss.cjs +0 -10
- package/dist/cjs/__rc__/Select/subcomponents/SelectToggle/SelectToggle.module.scss.cjs +0 -14
- package/dist/cjs/__rc__/Tabs/subcomponents/Tab/Tab.module.css.cjs +0 -7
- package/dist/cjs/__rc__/Tabs/subcomponents/TabList/TabList.module.css.cjs +0 -10
- package/dist/cjs/__rc__/Tag/RemovableTag/RemovableTag.module.scss.cjs +0 -6
- package/dist/cjs/__rc__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss.cjs +0 -6
- package/dist/cjs/__rc__/Tag/Tag/Tag.module.scss.cjs +0 -14
- package/dist/cjs/__rc__/Tooltip/OverlayArrow.module.scss.cjs +0 -7
- package/dist/cjs/__rc__/Tooltip/Tooltip.module.scss.cjs +0 -8
- package/dist/cjs/__rc__/Tooltip/subcomponents/Focusable/Focusable.module.scss.cjs +0 -6
- package/dist/esm/Tooltip/index.mjs +0 -6
- package/dist/esm/__rc__/Button/Button.module.css.mjs +0 -19
- package/dist/esm/__rc__/Button/subcomponents/ButtonContent/ButtonContent.module.css.mjs +0 -7
- package/dist/esm/__rc__/Button/subcomponents/PendingContent/PendingContent.module.css.mjs +0 -6
- package/dist/esm/__rc__/Icon/Icon.module.css.mjs +0 -9
- package/dist/esm/__rc__/Menu/MenuItem.module.css.mjs +0 -6
- package/dist/esm/__rc__/Select/Select.module.scss.mjs +0 -5
- package/dist/esm/__rc__/Select/subcomponents/ListBoxSection/ListBoxSection.module.scss.mjs +0 -6
- package/dist/esm/__rc__/Select/subcomponents/Option/Option.module.scss.mjs +0 -8
- package/dist/esm/__rc__/Select/subcomponents/SectionDivider/SectionDivider.module.scss.mjs +0 -4
- package/dist/esm/__rc__/Select/subcomponents/SelectToggle/SelectToggle.module.scss.mjs +0 -12
- package/dist/esm/__rc__/Tabs/subcomponents/Tab/Tab.module.css.mjs +0 -5
- package/dist/esm/__rc__/Tabs/subcomponents/TabList/TabList.module.css.mjs +0 -8
- package/dist/esm/__rc__/Tag/RemovableTag/RemovableTag.module.scss.mjs +0 -4
- package/dist/esm/__rc__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss.mjs +0 -4
- package/dist/esm/__rc__/Tag/Tag/Tag.module.scss.mjs +0 -12
- package/dist/esm/__rc__/Tooltip/OverlayArrow.module.scss.mjs +0 -5
- package/dist/esm/__rc__/Tooltip/Tooltip.module.scss.mjs +0 -6
- package/dist/esm/__rc__/Tooltip/subcomponents/Focusable/Focusable.module.scss.mjs +0 -4
- package/dist/types/__utilities__/v3.d.ts +0 -1
- package/src/Button/Button/_docs/v2/Button.mdx +0 -98
- package/src/Button/Button/_docs/v2/Button.stories.tsx +0 -162
- package/src/Button/IconButton/_docs/v2/IconButton.mdx +0 -24
- package/src/Button/IconButton/_docs/v2/IconButton.stories.tsx +0 -37
- package/src/Menu/_docs/v2/Menu.mdx +0 -31
- package/src/Menu/_docs/v2/Menu.stories.tsx +0 -54
- package/src/Tooltip/_docs/v2/Tooltip.mdx +0 -130
- package/src/Tooltip/_docs/v2/Tooltip.stories.tsx +0 -47
- package/src/__rc__/index.ts +0 -7
- package/src/__utilities__/v3.ts +0 -1
- /package/dist/cjs/{__rc__/Tooltip/subcomponents/Focusable → Focusable}/Focusable.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Button/subcomponents/ButtonContent/ButtonContent.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Button/subcomponents/PendingContent/PendingContent.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Icon/Icon.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Icon/constants.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Menu/Menu.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Menu/MenuHeader.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Menu/MenuItem.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Menu/MenuPopover.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Menu/MenuSection.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Menu/MenuTrigger.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Select/Select.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Select/context/SelectContext.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Select/subcomponents/ListBoxSection/ListBoxSection.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Select/subcomponents/ListItem/ListItem.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Select/subcomponents/ListItems/ListItems.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Select/subcomponents/Option/Option.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Select/subcomponents/Overlay/Overlay.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Select/subcomponents/SectionDivider/SectionDivider.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Select/subcomponents/SelectToggle/SelectToggle.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Select/utils/getDisabledKeysFromItems.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Select/utils/isSelectOptionGroup.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Select/utils/transformSelectItemToCollectionElement.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Tabs/Tabs.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Tabs/constants.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Tabs/subcomponents/Tab/Tab.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Tabs/subcomponents/TabPanel/TabPanel.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Tag/RemovableTag/RemovableTag.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Tag/RemovableTag/subcomponents/RemoveButton.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Tag/Tag/Tag.cjs +0 -0
- /package/dist/cjs/{__rc__ → __next__}/Tooltip/TooltipTrigger.cjs +0 -0
- /package/dist/cjs/{__utilities__/ReversedColors/v3 → utils/ReversedColors}/ReversedColors.cjs +0 -0
- /package/dist/cjs/{__utilities__ → utils}/isRTL/isRTL.cjs +0 -0
- /package/dist/cjs/{__utilities__ → utils}/useIsClientReady/useIsClientReady.cjs +0 -0
- /package/dist/esm/{__rc__/Tooltip/subcomponents/Focusable → Focusable}/Focusable.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Button/subcomponents/ButtonContent/ButtonContent.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Button/subcomponents/PendingContent/PendingContent.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Icon/Icon.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Icon/constants.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Menu/Menu.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Menu/MenuHeader.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Menu/MenuItem.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Menu/MenuPopover.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Menu/MenuSection.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Menu/MenuTrigger.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Select/Select.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Select/context/SelectContext.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Select/subcomponents/ListBoxSection/ListBoxSection.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Select/subcomponents/ListItem/ListItem.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Select/subcomponents/ListItems/ListItems.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Select/subcomponents/Option/Option.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Select/subcomponents/Overlay/Overlay.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Select/subcomponents/SectionDivider/SectionDivider.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Select/subcomponents/SelectToggle/SelectToggle.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Select/utils/getDisabledKeysFromItems.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Select/utils/isSelectOptionGroup.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Select/utils/transformSelectItemToCollectionElement.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Tabs/Tabs.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Tabs/constants.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Tabs/subcomponents/Tab/Tab.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Tabs/subcomponents/TabPanel/TabPanel.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Tag/RemovableTag/RemovableTag.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Tag/RemovableTag/subcomponents/RemoveButton.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Tag/Tag/Tag.mjs +0 -0
- /package/dist/esm/{__rc__ → __next__}/Tooltip/TooltipTrigger.mjs +0 -0
- /package/dist/esm/{__utilities__/ReversedColors/v3 → utils/ReversedColors}/ReversedColors.mjs +0 -0
- /package/dist/esm/{__utilities__ → utils}/isRTL/isRTL.mjs +0 -0
- /package/dist/esm/{__utilities__ → utils}/useIsClientReady/useIsClientReady.mjs +0 -0
- /package/dist/types/{__rc__/Tooltip/subcomponents/Focusable → Focusable}/Focusable.d.ts +0 -0
- /package/dist/types/{__rc__/Tooltip/subcomponents/Focusable → Focusable}/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Button/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Button/subcomponents/ButtonContent/ButtonContent.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Button/subcomponents/ButtonContent/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Button/subcomponents/PendingContent/PendingContent.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Button/subcomponents/PendingContent/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Button/subcomponents/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Button/types.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Icon/Icon.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Icon/constants.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Icon/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Icon/types.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Menu/Menu.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Menu/MenuHeader.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Menu/MenuItem.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Menu/MenuPopover.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Menu/MenuSection.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Menu/MenuTrigger.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Menu/SubmenuTrigger.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Menu/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/Select.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/_docs/mockData.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/context/SelectContext.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/context/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/ListBox/ListBox.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/ListBox/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/ListBoxSection/ListBoxSection.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/ListBoxSection/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/ListItem/ListItem.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/ListItem/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/ListItems/ListItems.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/ListItems/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/Option/Option.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/Option/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/Overlay/Overlay.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/Overlay/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/SectionDivider/SectionDivider.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/SectionDivider/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/SelectPopoverContents/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/SelectToggle/SelectToggle.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/SelectToggle/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/subcomponents/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/types.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/utils/getDisabledKeysFromItems.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/utils/isSelectOptionGroup.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Select/utils/transformSelectItemToCollectionElement.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tabs/Tabs.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tabs/constants.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tabs/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tabs/subcomponents/Tab/Tab.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tabs/subcomponents/Tab/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tabs/subcomponents/TabList/TabList.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tabs/subcomponents/TabList/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tabs/subcomponents/TabPanel/TabPanel.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tabs/subcomponents/TabPanel/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tabs/subcomponents/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tag/RemovableTag/RemovableTag.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tag/RemovableTag/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tag/RemovableTag/subcomponents/RemoveButton.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tag/Tag/Tag.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tag/Tag/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tag/Tag/types.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tag/index.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tooltip/OverlayArrow.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tooltip/Tooltip.d.ts +0 -0
- /package/dist/types/{__rc__ → __next__}/Tooltip/TooltipTrigger.d.ts +0 -0
- /package/dist/types/{__utilities__/ReversedColors/v3 → utils/ReversedColors}/ReversedColors.d.ts +0 -0
- /package/dist/types/{__utilities__/ReversedColors/v3 → utils/ReversedColors}/index.d.ts +0 -0
- /package/dist/types/{__utilities__ → utils}/isRTL/index.d.ts +0 -0
- /package/dist/types/{__utilities__ → utils}/isRTL/isRTL.d.ts +0 -0
- /package/dist/types/{__utilities__ → utils}/useIsClientReady/index.d.ts +0 -0
- /package/dist/types/{__utilities__ → utils}/useIsClientReady/useIsClientReady.d.ts +0 -0
- /package/src/{__rc__/Tooltip/subcomponents/Focusable → Focusable}/Focusable.module.scss +0 -0
- /package/src/{__rc__/Tooltip/subcomponents/Focusable → Focusable}/Focusable.tsx +0 -0
- /package/src/{__rc__/Tooltip/subcomponents/Focusable → Focusable}/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Button/Button.module.css +0 -0
- /package/src/{__rc__ → __next__}/Button/_docs/assets/button_anatomy.png +0 -0
- /package/src/{__rc__ → __next__}/Button/_docs/assets/button_icon_only_spec.png +0 -0
- /package/src/{__rc__ → __next__}/Button/_docs/assets/button_icon_spec.png +0 -0
- /package/src/{__rc__ → __next__}/Button/_docs/assets/button_spec.png +0 -0
- /package/src/{__rc__ → __next__}/Button/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Button/subcomponents/ButtonContent/ButtonContent.module.css +0 -0
- /package/src/{__rc__ → __next__}/Button/subcomponents/ButtonContent/ButtonContent.tsx +0 -0
- /package/src/{__rc__ → __next__}/Button/subcomponents/ButtonContent/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Button/subcomponents/PendingContent/PendingContent.module.css +0 -0
- /package/src/{__rc__ → __next__}/Button/subcomponents/PendingContent/PendingContent.tsx +0 -0
- /package/src/{__rc__ → __next__}/Button/subcomponents/PendingContent/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Button/subcomponents/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Button/types.ts +0 -0
- /package/src/{__rc__ → __next__}/Icon/Icon.module.css +0 -0
- /package/src/{__rc__ → __next__}/Icon/Icon.spec.tsx +0 -0
- /package/src/{__rc__ → __next__}/Icon/Icon.tsx +0 -0
- /package/src/{__rc__ → __next__}/Icon/_docs/Icon.docs.module.css +0 -0
- /package/src/{__rc__ → __next__}/Icon/_docs/assets/interface-dont.png +0 -0
- /package/src/{__rc__ → __next__}/Icon/_docs/assets/tooltip-dont.png +0 -0
- /package/src/{__rc__ → __next__}/Icon/constants.ts +0 -0
- /package/src/{__rc__ → __next__}/Icon/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Icon/material-symbols-metadata.json +0 -0
- /package/src/{__rc__ → __next__}/Icon/types.ts +0 -0
- /package/src/{__rc__ → __next__}/Menu/Menu.module.css +0 -0
- /package/src/{__rc__ → __next__}/Menu/Menu.tsx +0 -0
- /package/src/{__rc__ → __next__}/Menu/MenuHeader.tsx +0 -0
- /package/src/{__rc__ → __next__}/Menu/MenuItem.module.css +0 -0
- /package/src/{__rc__ → __next__}/Menu/MenuItem.tsx +0 -0
- /package/src/{__rc__ → __next__}/Menu/MenuPopover.tsx +0 -0
- /package/src/{__rc__ → __next__}/Menu/MenuSection.tsx +0 -0
- /package/src/{__rc__ → __next__}/Menu/MenuTrigger.tsx +0 -0
- /package/src/{__rc__ → __next__}/Menu/SubmenuTrigger.tsx +0 -0
- /package/src/{__rc__ → __next__}/Menu/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/Select.module.scss +0 -0
- /package/src/{__rc__ → __next__}/Select/Select.spec.tsx +0 -0
- /package/src/{__rc__ → __next__}/Select/Select.tsx +0 -0
- /package/src/{__rc__ → __next__}/Select/_docs/mockData.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/context/SelectContext.tsx +0 -0
- /package/src/{__rc__ → __next__}/Select/context/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/ListBox/ListBox.module.scss +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/ListBox/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/ListBoxSection/ListBoxSection.module.scss +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/ListBoxSection/ListBoxSection.tsx +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/ListBoxSection/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/ListItem/ListItem.tsx +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/ListItem/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/ListItems/ListItems.tsx +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/ListItems/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/Option/Option.module.scss +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/Option/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/Overlay/Overlay.tsx +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/Overlay/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/SectionDivider/SectionDivider.module.scss +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/SectionDivider/SectionDivider.tsx +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/SectionDivider/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.module.scss +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.tsx +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/SelectPopoverContents/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/SelectToggle/SelectToggle.module.scss +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/SelectToggle/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/subcomponents/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/types.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/utils/getDisabledKeysFromItems.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/utils/isSelectOptionGroup.ts +0 -0
- /package/src/{__rc__ → __next__}/Select/utils/transformSelectItemToCollectionElement.tsx +0 -0
- /package/src/{__rc__ → __next__}/Tabs/Tabs.tsx +0 -0
- /package/src/{__rc__ → __next__}/Tabs/constants.ts +0 -0
- /package/src/{__rc__ → __next__}/Tabs/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Tabs/subcomponents/Tab/Tab.module.css +0 -0
- /package/src/{__rc__ → __next__}/Tabs/subcomponents/Tab/Tab.tsx +0 -0
- /package/src/{__rc__ → __next__}/Tabs/subcomponents/Tab/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Tabs/subcomponents/TabList/TabList.module.css +0 -0
- /package/src/{__rc__ → __next__}/Tabs/subcomponents/TabList/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Tabs/subcomponents/TabPanel/TabPanel.module.css +0 -0
- /package/src/{__rc__ → __next__}/Tabs/subcomponents/TabPanel/TabPanel.tsx +0 -0
- /package/src/{__rc__ → __next__}/Tabs/subcomponents/TabPanel/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Tabs/subcomponents/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Tag/RemovableTag/RemovableTag.module.scss +0 -0
- /package/src/{__rc__ → __next__}/Tag/RemovableTag/RemovableTag.tsx +0 -0
- /package/src/{__rc__ → __next__}/Tag/RemovableTag/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Tag/RemovableTag/subcomponents/RemoveButton.module.scss +0 -0
- /package/src/{__rc__ → __next__}/Tag/Tag/Tag.module.scss +0 -0
- /package/src/{__rc__ → __next__}/Tag/Tag/Tag.tsx +0 -0
- /package/src/{__rc__ → __next__}/Tag/Tag/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Tag/Tag/types.ts +0 -0
- /package/src/{__rc__ → __next__}/Tag/index.ts +0 -0
- /package/src/{__rc__ → __next__}/Tooltip/OverlayArrow.module.scss +0 -0
- /package/src/{__rc__ → __next__}/Tooltip/Tooltip.module.scss +0 -0
- /package/src/{__rc__ → __next__}/Tooltip/TooltipTrigger.tsx +0 -0
- /package/src/{__rc__ → __next__}/Tooltip/_docs/assets/tooltip_anatomy.png +0 -0
- /package/src/{__rc__ → __next__}/Tooltip/_docs/assets/tooltip_placement.png +0 -0
- /package/src/{__rc__ → __next__}/Tooltip/_docs/assets/tooltip_spec.png +0 -0
- /package/src/{__rc__ → __next__}/Tooltip/_docs/assets/tooltip_trigger_1.png +0 -0
- /package/src/{__rc__ → __next__}/Tooltip/_docs/assets/tooltip_trigger_2.png +0 -0
- /package/src/{__rc__ → __next__}/Tooltip/_docs/assets/tooltip_trigger_3.png +0 -0
- /package/src/{__rc__ → __next__}/Tooltip/_docs/assets/tooltip_variant.png +0 -0
- /package/src/{__rc__ → __next__}/Tooltip/_docs/assets/tooltip_when_to_use.png +0 -0
- /package/src/{__utilities__/ReversedColors/v3 → utils/ReversedColors}/ReversedColors.tsx +0 -0
- /package/src/{__utilities__/ReversedColors/v3 → utils/ReversedColors}/index.ts +0 -0
- /package/src/{__utilities__ → utils}/isRTL/index.ts +0 -0
- /package/src/{__utilities__ → utils}/isRTL/isRTL.spec.tsx +0 -0
- /package/src/{__utilities__ → utils}/isRTL/isRTL.ts +0 -0
- /package/src/{__utilities__ → utils}/useIsClientReady/index.ts +0 -0
- /package/src/{__utilities__ → utils}/useIsClientReady/useIsClientReady.tsx +0 -0
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
-
import { ResourceLinks, Installation } from '~storybook/components'
|
|
2
|
+
import { ResourceLinks, Installation, ReplacementNotice } from '~storybook/components'
|
|
3
3
|
import * as TooltipStories from './Tooltip.stories'
|
|
4
4
|
|
|
5
5
|
<Meta of={TooltipStories} />
|
|
6
6
|
|
|
7
|
-
# Tooltip (
|
|
7
|
+
# Tooltip (deprecated)
|
|
8
8
|
|
|
9
9
|
<ResourceLinks
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Tooltip"
|
|
11
11
|
figma="https://www.figma.com/file/eZKEE5kXbEMY3lx84oz8iN/%F0%9F%92%9C-UI-Kit%3A-Heart?type=design&node-id=1929%3A32006&mode=design&t=LwTCBZ5E1uRvOA1l-1"
|
|
12
12
|
designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3075604978/Tooltip"
|
|
13
|
-
|
|
14
13
|
/>
|
|
15
14
|
|
|
15
|
+
<ReplacementNotice />
|
|
16
|
+
|
|
16
17
|
<Installation
|
|
17
18
|
installCommand="pnpm add @kaizen/components"
|
|
18
|
-
importStatement='import { Tooltip } from "@kaizen/components
|
|
19
|
+
importStatement='import { Tooltip } from "@kaizen/components"'
|
|
19
20
|
/>
|
|
20
21
|
|
|
21
|
-
It is recommended that you import from the `v2` entry point.
|
|
22
|
-
|
|
23
22
|
## Overview
|
|
24
23
|
|
|
25
24
|
Adds a popover that will show on hover or focus of the child element, with simple text content.
|
|
@@ -122,8 +121,6 @@ While `Tooltip` should be avoided if there are no interactive states within the
|
|
|
122
121
|
|
|
123
122
|
<Canvas of={TooltipStories.TagWithTooltip} />
|
|
124
123
|
|
|
125
|
-
The [future Tag](?path=/docs/components-tag-future--docs#overview) offers a composable solution for those needing to add more context to an interactive `Tag`.
|
|
126
|
-
|
|
127
124
|
#### Form components and tooltips
|
|
128
125
|
|
|
129
126
|
While a `Tooltip` can seem like a natural pairing when space is a commodity, form elements still require a concise label that is _ideally_ visible (See MDN's guide on [Tooltip best practices](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tooltip_role#best_practices)).
|
|
@@ -2,14 +2,14 @@ import React from 'react'
|
|
|
2
2
|
import { type Meta } from '@storybook/react'
|
|
3
3
|
import isChromatic from 'chromatic/isChromatic'
|
|
4
4
|
import { IconButton } from '~components/Button'
|
|
5
|
-
import { Icon } from '~components/
|
|
5
|
+
import { Icon } from '~components/__next__/Icon'
|
|
6
6
|
import { StickerSheet, type StickerSheetStory } from '~storybook/components/StickerSheet'
|
|
7
7
|
import { Tooltip } from '../index'
|
|
8
8
|
|
|
9
9
|
const IS_CHROMATIC = isChromatic()
|
|
10
10
|
|
|
11
11
|
export default {
|
|
12
|
-
title: 'Components/Tooltip/Tooltip (
|
|
12
|
+
title: 'Components/Tooltip/Tooltip (deprecated)',
|
|
13
13
|
parameters: {
|
|
14
14
|
chromatic: { disable: false },
|
|
15
15
|
controls: { disable: true },
|
|
@@ -6,12 +6,12 @@ import { CheckboxField } from '~components/Checkbox'
|
|
|
6
6
|
import { FilterButtonBase } from '~components/Filter/FilterButton/subcomponents/FilterButtonBase'
|
|
7
7
|
import { TableContainer, TableHeader, TableHeaderRowCell, TableRow } from '~components/Table'
|
|
8
8
|
import { Text } from '~components/Text'
|
|
9
|
-
import { Icon } from '~components/
|
|
10
|
-
import { Tag } from '~components/
|
|
9
|
+
import { Icon } from '~components/__next__'
|
|
10
|
+
import { Tag } from '~components/__next__/Tag'
|
|
11
11
|
import { Tooltip } from '../index'
|
|
12
12
|
|
|
13
13
|
const meta = {
|
|
14
|
-
title: 'Components/Tooltip/Tooltip (
|
|
14
|
+
title: 'Components/Tooltip/Tooltip (deprecated)',
|
|
15
15
|
component: Tooltip,
|
|
16
16
|
args: {
|
|
17
17
|
text: 'Example tooltip text.',
|
package/src/Tooltip/index.ts
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { Tooltip as TooltipV1, type TooltipProps as TooltipPropsV1 } from './Tooltip'
|
|
3
|
-
|
|
4
|
-
/** * @deprecated use v2 or upgrade to v3 for the latest release */
|
|
5
|
-
export const Tooltip = TooltipV1
|
|
6
|
-
/** * @deprecated use v2 or upgrade to v3 for the latest release */
|
|
7
|
-
export type TooltipProps = TooltipPropsV1
|
|
1
|
+
export * from './Tooltip'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { vi } from 'vitest'
|
|
3
3
|
import { Button, IconButton } from '~components/Button'
|
|
4
|
-
import { Icon } from '~components/
|
|
4
|
+
import { Icon } from '~components/__next__'
|
|
5
5
|
import { isSemanticElement } from './isSemanticElement'
|
|
6
6
|
|
|
7
7
|
describe('isSemanticElement', () => {
|
|
@@ -4,7 +4,7 @@ import { Button } from '~components/Button'
|
|
|
4
4
|
import { Heading } from '~components/Heading'
|
|
5
5
|
import { Text } from '~components/Text'
|
|
6
6
|
import { TextField } from '~components/TextField'
|
|
7
|
-
import { Icon, Tag } from '~components/
|
|
7
|
+
import { Icon, Tag } from '~components/__next__'
|
|
8
8
|
import { Workflow } from '../'
|
|
9
9
|
import { WorkflowControls } from './controls'
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { type Meta, type StoryObj } from '@storybook/react'
|
|
3
3
|
import { Button } from '~components/Button'
|
|
4
|
-
import { Icon, Tag } from '~components/
|
|
4
|
+
import { Icon, Tag } from '~components/__next__'
|
|
5
5
|
import { Workflow } from '../'
|
|
6
6
|
import { WorkflowControls } from './controls'
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { type ArgTypes } from '@storybook/react'
|
|
3
3
|
import { Button } from '~components/Button'
|
|
4
|
-
import { Icon } from '~components/
|
|
4
|
+
import { Icon } from '~components/__next__/Icon'
|
|
5
5
|
|
|
6
6
|
export const WorkflowControls: Partial<ArgTypes> = {
|
|
7
7
|
headerActions: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import classnames from 'classnames'
|
|
3
3
|
import { VisuallyHidden } from '~components/VisuallyHidden'
|
|
4
|
-
import { Icon } from '~components/
|
|
4
|
+
import { Icon } from '~components/__next__/Icon'
|
|
5
5
|
import styles from './ProgressStepper.module.css'
|
|
6
6
|
|
|
7
7
|
export type Step = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react'
|
|
2
2
|
import { Button as RACButton, type ButtonProps as RACButtonProps } from 'react-aria-components'
|
|
3
|
-
import { useReversedColors } from '~components/
|
|
3
|
+
import { useReversedColors } from '~components/utils'
|
|
4
4
|
import { mergeClassNames } from '~components/utils/mergeClassNames'
|
|
5
5
|
import { ButtonContent, PendingContent } from './subcomponents'
|
|
6
6
|
import { type ButtonSizes, type ButtonVariants, type PendingButtonProps } from './types'
|
|
@@ -16,7 +16,7 @@ export type ButtonUIProps = {
|
|
|
16
16
|
/** The visual size of the button. `medium` was formerly `regular`
|
|
17
17
|
* @default "medium" */
|
|
18
18
|
size?: ButtonSizes
|
|
19
|
-
/** Renders an icon at the `iconPosition` provided. To the size scales with the button, we recommend using the `Icon` component from `"@kaizen/components/
|
|
19
|
+
/** Renders an icon at the `iconPosition` provided. To the size scales with the button, we recommend using the `Icon` component from `"@kaizen/components/next"` */
|
|
20
20
|
icon?: JSX.Element
|
|
21
21
|
/** Controls the position of the Icon passed in as props. @default "start" */
|
|
22
22
|
iconPosition?: 'start' | 'end'
|
|
@@ -24,7 +24,7 @@ export type ButtonUIProps = {
|
|
|
24
24
|
isFullWidth?: boolean
|
|
25
25
|
/**
|
|
26
26
|
* Controls the reversed style of Button
|
|
27
|
-
* @deprecated Use the ReversedColors Provider instead. This is here to support gradual migration to the ReversedColors Provider and will take precedence if a value is provided. {@link https://cultureamp.design/?path=/docs/actions-button-button-
|
|
27
|
+
* @deprecated Use the ReversedColors Provider instead. This is here to support gradual migration to the ReversedColors Provider and will take precedence if a value is provided. {@link https://cultureamp.design/?path=/docs/actions-button-button-next-api-specification--docs#variants}
|
|
28
28
|
*/
|
|
29
29
|
isReversed?: boolean
|
|
30
30
|
}
|
|
@@ -3,19 +3,19 @@ import { ResourceLinks, KAIOInstallation, LinkTo } from '~storybook/components'
|
|
|
3
3
|
import * as exampleStories from './Button.docs.stories'
|
|
4
4
|
import * as specStories from './Button.spec.stories'
|
|
5
5
|
|
|
6
|
-
<Meta title="Components/Button/Button (
|
|
6
|
+
<Meta title="Components/Button/Button (next)/API Specification" />
|
|
7
7
|
|
|
8
|
-
# Button API Specification (
|
|
8
|
+
# Button API Specification (next)
|
|
9
9
|
|
|
10
10
|
Updated Nov 19, 2024
|
|
11
11
|
|
|
12
12
|
<ResourceLinks
|
|
13
|
-
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/
|
|
13
|
+
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/__next__/Button"
|
|
14
14
|
figma="https://www.figma.com/design/eZKEE5kXbEMY3lx84oz8iN/branch/sPhYSlgPScLOAOYfAbkaI5/%F0%9F%92%9C-Heart-UI-Kit?node-id=1929-17364&node-type=canvas&m=dev"
|
|
15
|
-
designGuidelines="/?path=/docs/
|
|
15
|
+
designGuidelines="/?path=/docs/components-button-button-next-usage-guidelines--docs"
|
|
16
16
|
/>
|
|
17
17
|
|
|
18
|
-
<KAIOInstallation exportNames={'Button'}
|
|
18
|
+
<KAIOInstallation exportNames={'Button'} isNext />
|
|
19
19
|
|
|
20
20
|
## Overview
|
|
21
21
|
|
|
@@ -69,8 +69,8 @@ Reversed variants are handled via the `ReversedColors` Provider.
|
|
|
69
69
|
To enable the reversed theme, you will need to wrap the component or application in the `ReversedColors` provider, ie:
|
|
70
70
|
|
|
71
71
|
```tsx
|
|
72
|
-
import { Button } from '@kaizen/components/
|
|
73
|
-
import { ReversedColors } from '@kaizen/components
|
|
72
|
+
import { Button } from '@kaizen/components/next'
|
|
73
|
+
import { ReversedColors } from '@kaizen/components'
|
|
74
74
|
// application code
|
|
75
75
|
|
|
76
76
|
return (
|
|
@@ -116,11 +116,11 @@ While in most cases, `children` will be a `ReactNode`, `Button` also accepts a r
|
|
|
116
116
|
|
|
117
117
|
### Icons and positioning
|
|
118
118
|
|
|
119
|
-
The `icon` property abstracts the need to handle positioning and sizing logic for icons within the `Button`. When paired with the [Icon component](/docs/illustrations-icon-icon-
|
|
119
|
+
The `icon` property abstracts the need to handle positioning and sizing logic for icons within the `Button`. When paired with the [Icon component](/docs/illustrations-icon-icon-next-api-specification--docs), this will scale the icon to the `Button`'s `size` prop.
|
|
120
120
|
|
|
121
121
|
<Canvas of={exampleStories.ButtonWithIconStart} />
|
|
122
122
|
|
|
123
|
-
Set the position of the icon using the `iconPosition` prop. This will ensure content is flipped in `RTL` layouts. Note that icons will need the [shouldMirrorInRTL](/docs/illustrations-icon-icon-
|
|
123
|
+
Set the position of the icon using the `iconPosition` prop. This will ensure content is flipped in `RTL` layouts. Note that icons will need the [shouldMirrorInRTL](/docs/illustrations-icon-icon-next-api-specification--docs#mirror-in-rtl) prop set to `true` when mirroring is required.
|
|
124
124
|
|
|
125
125
|
<Canvas of={exampleStories.ButtonWithIconEnd} />
|
|
126
126
|
|
|
@@ -6,19 +6,19 @@ import ButtonIconSpec from './assets/button_icon_spec.png'
|
|
|
6
6
|
import ButtonSpec from './assets/button_spec.png'
|
|
7
7
|
import ButtonAnatomy from './assets/button_anatomy.png'
|
|
8
8
|
|
|
9
|
-
<Meta title="Components/Button/Button (
|
|
9
|
+
<Meta title="Components/Button/Button (next)/Usage Guidelines" />
|
|
10
10
|
|
|
11
|
-
# Button (
|
|
11
|
+
# Button (next)
|
|
12
12
|
|
|
13
13
|
Updated July 12, 2024
|
|
14
14
|
|
|
15
15
|
<ResourceLinks
|
|
16
|
-
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/
|
|
16
|
+
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/__next__/Button"
|
|
17
17
|
figma="https://www.figma.com/design/eZKEE5kXbEMY3lx84oz8iN/branch/sPhYSlgPScLOAOYfAbkaI5/%F0%9F%92%9C-Heart-UI-Kit?node-id=1929-17364&node-type=canvas&m=dev"
|
|
18
|
-
apiSpecification="/?path=/docs/actions-button-button-
|
|
18
|
+
apiSpecification="/?path=/docs/actions-button-button-next-api-specification--docs"
|
|
19
19
|
/>
|
|
20
20
|
|
|
21
|
-
<KAIOInstallation exportNames={['Button']}
|
|
21
|
+
<KAIOInstallation exportNames={['Button']} isNext />
|
|
22
22
|
|
|
23
23
|
## Overview
|
|
24
24
|
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
Select,
|
|
13
13
|
Tooltip,
|
|
14
14
|
TooltipTrigger,
|
|
15
|
-
} from '~components/
|
|
16
|
-
import { ReversedColors } from '~components/
|
|
15
|
+
} from '~components/__next__'
|
|
16
|
+
import { ReversedColors } from '~components/utils'
|
|
17
17
|
import { Button } from '../index'
|
|
18
18
|
|
|
19
19
|
const meta = {
|
|
20
|
-
title: 'Components/Button/Button (
|
|
20
|
+
title: 'Components/Button/Button (next)',
|
|
21
21
|
component: Button,
|
|
22
22
|
args: {
|
|
23
23
|
children: 'Label',
|
|
@@ -2,13 +2,13 @@ import React from 'react'
|
|
|
2
2
|
import { type Meta, type StoryObj } from '@storybook/react'
|
|
3
3
|
import { expect, fn, userEvent, waitFor, within } from '@storybook/test'
|
|
4
4
|
import { VisuallyHidden } from '~components/VisuallyHidden'
|
|
5
|
-
import { Icon } from '~components/
|
|
5
|
+
import { Icon } from '~components/__next__/Icon'
|
|
6
6
|
import { Button } from '../index'
|
|
7
7
|
|
|
8
8
|
const onPressEvent = fn()
|
|
9
9
|
|
|
10
10
|
const meta = {
|
|
11
|
-
title: 'Components/Button/Button (
|
|
11
|
+
title: 'Components/Button/Button (next)/Button (next) tests',
|
|
12
12
|
component: Button,
|
|
13
13
|
args: {
|
|
14
14
|
children: 'Label',
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { type Meta } from '@storybook/react'
|
|
3
3
|
import { within } from '@storybook/test'
|
|
4
|
-
import { Icon } from '~components/
|
|
4
|
+
import { Icon } from '~components/__next__/Icon'
|
|
5
5
|
import { StickerSheet, type StickerSheetStory } from '~storybook/components/StickerSheet'
|
|
6
6
|
import { Button, type ButtonSizes, type ButtonVariants } from '../index'
|
|
7
7
|
|
|
8
8
|
export default {
|
|
9
|
-
title: 'Components/Button/Button (
|
|
9
|
+
title: 'Components/Button/Button (next)',
|
|
10
10
|
parameters: {
|
|
11
11
|
chromatic: { disable: false },
|
|
12
12
|
controls: { disable: true },
|
|
@@ -2,9 +2,9 @@ import { Canvas, Meta, Controls, Story } from '@storybook/blocks'
|
|
|
2
2
|
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
3
|
import * as IconStories from './Icon.docs.stories'
|
|
4
4
|
|
|
5
|
-
<Meta title="Components/Icon/Icon (
|
|
5
|
+
<Meta title="Components/Icon/Icon (next)/API Specification" />
|
|
6
6
|
|
|
7
|
-
# Icon API Specification (
|
|
7
|
+
# Icon API Specification (next)
|
|
8
8
|
|
|
9
9
|
Updated September 4, 2024
|
|
10
10
|
|
|
@@ -13,7 +13,7 @@ Updated September 4, 2024
|
|
|
13
13
|
designGuidelines="/?path=/docs/illustrations-icon-v2-usage-guidelines--docs"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
<KAIOInstallation exportNames="Icon"
|
|
16
|
+
<KAIOInstallation exportNames="Icon" isNext />
|
|
17
17
|
|
|
18
18
|
### Set up
|
|
19
19
|
|
|
@@ -2,9 +2,9 @@ import { Canvas, Meta, Controls, Story } from '@storybook/blocks'
|
|
|
2
2
|
import { ResourceLinks, KAIOInstallation, LinkTo } from '~storybook/components'
|
|
3
3
|
import * as IconStories from './Icon.docs.stories'
|
|
4
4
|
|
|
5
|
-
<Meta title="Components/Icon/
|
|
5
|
+
<Meta title="Components/Icon/Migration guide" />
|
|
6
6
|
|
|
7
|
-
# Icon
|
|
7
|
+
# Icon migration guide
|
|
8
8
|
|
|
9
9
|
This is a short guide to assist in migration from the old to new Icon component.
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ This is a short guide to assist in migration from the old to new Icon component.
|
|
|
12
12
|
|
|
13
13
|
To assist in migration we have created the `upgradeiconv1` codemod. This will loop through the given directory and update all instances of Icon to the latest implementation. You can refer to this [README](https://github.com/cultureamp/kaizen-design-system/blob/main/packages/components/codemods/README.md#upgradeiconv1) on how to run this within your repository.
|
|
14
14
|
|
|
15
|
-
For more information on the changes to the API, we recommend referring the <LinkTo pageId="components-icon-icon-
|
|
15
|
+
For more information on the changes to the API, we recommend referring the <LinkTo pageId="components-icon-icon-next-api-specification--docs">API Specification</LinkTo>.
|
|
16
16
|
|
|
17
17
|
## Changes to Icon exportNames
|
|
18
18
|
|
|
@@ -2,19 +2,19 @@ import { Canvas, Meta, Controls, Story } from '@storybook/blocks'
|
|
|
2
2
|
import { ResourceLinks, KAIOInstallation, DosAndDonts, DoOrDont } from '~storybook/components'
|
|
3
3
|
import * as IconStories from './Icon.docs.stories'
|
|
4
4
|
|
|
5
|
-
<Meta title="Components/Icon/Icon (
|
|
5
|
+
<Meta title="Components/Icon/Icon (next)/Usage Guidelines" />
|
|
6
6
|
|
|
7
|
-
# Icon (
|
|
7
|
+
# Icon (next)
|
|
8
8
|
|
|
9
9
|
Updated September 13, 2024
|
|
10
10
|
|
|
11
11
|
<ResourceLinks
|
|
12
|
-
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/__illustrations__/Icon/
|
|
12
|
+
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/__illustrations__/Icon/next"
|
|
13
13
|
apiSpecification="/?path=/docs/illustrations-icon-v3-api-specification--docs"
|
|
14
14
|
figma="https://www.figma.com/design/eZKEE5kXbEMY3lx84oz8iN/%F0%9F%92%9C-Heart-UI-Kit?node-id=1929-3974"
|
|
15
15
|
/>
|
|
16
16
|
|
|
17
|
-
<KAIOInstallation exportNames="Icon"
|
|
17
|
+
<KAIOInstallation exportNames="Icon" isNext />
|
|
18
18
|
|
|
19
19
|
## Overview
|
|
20
20
|
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
} from '~components/Table'
|
|
13
13
|
import { Text } from '~components/Text'
|
|
14
14
|
import { ToggleSwitchField } from '~components/ToggleSwitch'
|
|
15
|
-
import { Button } from '~components/
|
|
16
|
-
import { Tag } from '~components/
|
|
15
|
+
import { Button } from '~components/__next__/Button'
|
|
16
|
+
import { Tag } from '~components/__next__/Tag'
|
|
17
17
|
import { StickerSheet } from '~storybook/components/StickerSheet'
|
|
18
18
|
import { iconMap } from '../../../../codemods/upgradeIconV1/getNewIconPropsFromOldIconName'
|
|
19
19
|
import { iconDefaultSet } from '../constants'
|
|
@@ -23,7 +23,7 @@ import imgTooltipDont from './assets/tooltip-dont.png'
|
|
|
23
23
|
import styles from './Icon.docs.module.css'
|
|
24
24
|
|
|
25
25
|
const meta = {
|
|
26
|
-
title: 'Components/Icon/Icon (
|
|
26
|
+
title: 'Components/Icon/Icon (next)',
|
|
27
27
|
component: Icon,
|
|
28
28
|
args: {
|
|
29
29
|
name: 'star',
|
|
@@ -4,13 +4,13 @@ import { Button } from '~components/Button'
|
|
|
4
4
|
import { CheckboxField } from '~components/Checkbox'
|
|
5
5
|
import { Label } from '~components/Label'
|
|
6
6
|
import { Text } from '~components/Text'
|
|
7
|
-
import { Button as ButtonRC } from '~components/
|
|
7
|
+
import { Button as ButtonRC } from '~components/__next__/Button'
|
|
8
8
|
import { StickerSheet, type StickerSheetStory } from '~storybook/components/StickerSheet'
|
|
9
9
|
import { handledRtlIcons, iconDefaultSet } from '../constants'
|
|
10
10
|
import { Icon, type IconProps } from '../index'
|
|
11
11
|
|
|
12
12
|
export default {
|
|
13
|
-
title: 'Components/Icon/Icon (
|
|
13
|
+
title: 'Components/Icon/Icon (next)',
|
|
14
14
|
parameters: {
|
|
15
15
|
chromatic: { disable: false },
|
|
16
16
|
controls: { disable: true },
|
|
@@ -89,7 +89,7 @@ const StickerSheetTemplate: StickerSheetStory = {
|
|
|
89
89
|
<StickerSheet.Row header="Button (v2)">
|
|
90
90
|
<Button label="Button label" icon={<Icon {...defaultProps} />} />
|
|
91
91
|
</StickerSheet.Row>
|
|
92
|
-
<StickerSheet.Row header="Button (
|
|
92
|
+
<StickerSheet.Row header="Button (next)">
|
|
93
93
|
<ButtonRC>
|
|
94
94
|
<Icon {...defaultProps} /> Button label
|
|
95
95
|
</ButtonRC>
|
|
@@ -3,28 +3,27 @@ import { KAIOInstallation, ResourceLinks } from '~storybook/components'
|
|
|
3
3
|
import * as docsStories from './Menu.docs.stories'
|
|
4
4
|
import * as exampleStories from './Menu.stories'
|
|
5
5
|
|
|
6
|
-
<Meta title="Components/Menu/Menu (
|
|
6
|
+
<Meta title="Components/Menu/Menu (next)/API Specification" />
|
|
7
7
|
|
|
8
|
-
# Menu API Specification (
|
|
8
|
+
# Menu API Specification (next)
|
|
9
9
|
|
|
10
10
|
Updated December 16, 2024
|
|
11
11
|
|
|
12
12
|
<ResourceLinks
|
|
13
13
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/__actions__/Menu"
|
|
14
14
|
figma="https://www.figma.com/design/eZKEE5kXbEMY3lx84oz8iN/%F0%9F%92%9C-Heart-UI-Kit?m=auto&node-id=6262-0&t=I4H23jCrCJz4O2nf-1"
|
|
15
|
-
designGuidelines="/?path=/docs/
|
|
15
|
+
designGuidelines="/?path=/docs/components-menu-menu-next-usage-guidelines--docs"
|
|
16
16
|
ariaComponentPage="https://react-spectrum.adobe.com/react-aria/Menu.html"
|
|
17
17
|
/>
|
|
18
18
|
|
|
19
19
|
<KAIOInstallation
|
|
20
20
|
exportNames={['Menu', 'MenuTrigger', 'MenuItem', 'MenuPopover', 'MenuSection', 'MenuHeader']}
|
|
21
|
-
|
|
22
|
-
version="3"
|
|
21
|
+
isNext
|
|
23
22
|
/>
|
|
24
23
|
|
|
25
24
|
## Compatibility
|
|
26
25
|
|
|
27
|
-
The `Menu`
|
|
26
|
+
The `next/Menu` component is not backwards compatible with the current `Button` component (or a native `<button>` element). This will only work when used with the `next/Button` component.
|
|
28
27
|
|
|
29
28
|
## Overview
|
|
30
29
|
|
|
@@ -3,9 +3,9 @@ import { ResourceLinks, KAIOInstallation, DosAndDonts, DoOrDont } from '~storybo
|
|
|
3
3
|
import * as MenuDocsStories from './Menu.docs.stories'
|
|
4
4
|
import * as MenuStories from './Menu.stories'
|
|
5
5
|
|
|
6
|
-
<Meta title="Components/Menu/Menu (
|
|
6
|
+
<Meta title="Components/Menu/Menu (next)/Usage Guidelines" />
|
|
7
7
|
|
|
8
|
-
# Menu (
|
|
8
|
+
# Menu (next)
|
|
9
9
|
|
|
10
10
|
Updated July 6, 2024
|
|
11
11
|
|
|
@@ -18,8 +18,7 @@ Updated July 6, 2024
|
|
|
18
18
|
|
|
19
19
|
<KAIOInstallation
|
|
20
20
|
exportNames={['Menu', 'MenuTrigger', 'MenuItem', 'MenuPopover', 'MenuSection', 'MenuHeader']}
|
|
21
|
-
|
|
22
|
-
version="3"
|
|
21
|
+
isNext
|
|
23
22
|
/>
|
|
24
23
|
|
|
25
24
|
## Overview
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { type FunctionComponent, type ReactNode } from 'react'
|
|
2
2
|
import { type Meta, type StoryObj } from '@storybook/react'
|
|
3
3
|
import isChromatic from 'chromatic'
|
|
4
|
-
import { Button } from '~components/
|
|
5
|
-
import { Icon } from '~components/
|
|
4
|
+
import { Button } from '~components/__next__/Button'
|
|
5
|
+
import { Icon } from '~components/__next__/Icon'
|
|
6
6
|
import { Menu, MenuHeader, MenuItem, MenuPopover, MenuSection, MenuTrigger } from '../index'
|
|
7
7
|
|
|
8
8
|
const meta = {
|
|
9
|
-
title: 'Components/Menu/Menu (
|
|
9
|
+
title: 'Components/Menu/Menu (next)/Docs Assets',
|
|
10
10
|
component: MenuTrigger,
|
|
11
11
|
args: {
|
|
12
12
|
defaultOpen: isChromatic(),
|
|
@@ -2,12 +2,12 @@ import React, { useState } from 'react'
|
|
|
2
2
|
import { type Meta, type StoryObj } from '@storybook/react'
|
|
3
3
|
import { expect, fn, userEvent, waitFor, within } from '@storybook/test'
|
|
4
4
|
import isChromatic from 'chromatic'
|
|
5
|
-
import { Button } from '~components/
|
|
6
|
-
import { Icon } from '~components/
|
|
5
|
+
import { Button } from '~components/__next__/Button'
|
|
6
|
+
import { Icon } from '~components/__next__/Icon'
|
|
7
7
|
import { Menu, MenuHeader, MenuItem, MenuPopover, MenuSection, MenuTrigger } from '../index'
|
|
8
8
|
|
|
9
9
|
const meta = {
|
|
10
|
-
title: 'Components/Menu/Menu (
|
|
10
|
+
title: 'Components/Menu/Menu (next)/Menu (next) tests',
|
|
11
11
|
component: MenuTrigger,
|
|
12
12
|
args: {
|
|
13
13
|
defaultOpen: isChromatic(),
|
|
@@ -2,13 +2,13 @@ import React, { type FunctionComponent } from 'react'
|
|
|
2
2
|
import { type Meta, type StoryObj } from '@storybook/react'
|
|
3
3
|
import isChromatic from 'chromatic'
|
|
4
4
|
import { Text } from '~components/Text'
|
|
5
|
-
import { Button } from '~components/
|
|
6
|
-
import { Icon } from '~components/
|
|
5
|
+
import { Button } from '~components/__next__/Button'
|
|
6
|
+
import { Icon } from '~components/__next__/Icon'
|
|
7
7
|
import { Menu, MenuHeader, MenuItem, MenuPopover, MenuSection, MenuTrigger } from '../index'
|
|
8
8
|
import * as testStories from './Menu.spec.stories'
|
|
9
9
|
|
|
10
10
|
const meta = {
|
|
11
|
-
title: 'Components/Menu/Menu (
|
|
11
|
+
title: 'Components/Menu/Menu (next)',
|
|
12
12
|
component: MenuTrigger,
|
|
13
13
|
args: {
|
|
14
14
|
defaultOpen: isChromatic(),
|
|
@@ -4,7 +4,7 @@ import * as SelectStories from './Select.stories'
|
|
|
4
4
|
|
|
5
5
|
<Meta of={SelectStories} />
|
|
6
6
|
|
|
7
|
-
# Select
|
|
7
|
+
# Select (future)
|
|
8
8
|
|
|
9
9
|
<ResourceLinks
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Select"
|
|
@@ -13,7 +13,7 @@ import * as SelectStories from './Select.stories'
|
|
|
13
13
|
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
<KAIOInstallation exportNames="Select"
|
|
16
|
+
<KAIOInstallation exportNames="Select" isNext />
|
|
17
17
|
|
|
18
18
|
## Playground
|
|
19
19
|
|
|
@@ -7,7 +7,7 @@ import { type SelectOption } from '../types'
|
|
|
7
7
|
import { groupedMockItems, mixedMockItemsDisabled, singleMockItems } from './mockData'
|
|
8
8
|
|
|
9
9
|
const meta = {
|
|
10
|
-
title: 'Components/Select/
|
|
10
|
+
title: 'Components/Select/Select (future)',
|
|
11
11
|
component: Select,
|
|
12
12
|
argTypes: {
|
|
13
13
|
items: {
|
|
@@ -2,8 +2,8 @@ import React, { useEffect, useRef, type HTMLAttributes, type Key, type ReactNode
|
|
|
2
2
|
import { useListBox, type AriaListBoxOptions } from '@react-aria/listbox'
|
|
3
3
|
import { type SelectState } from '@react-stately/select'
|
|
4
4
|
import classnames from 'classnames'
|
|
5
|
-
import { useIsClientReady } from '~components/__utilities__/useIsClientReady'
|
|
6
5
|
import { type OverrideClassName } from '~components/types/OverrideClassName'
|
|
6
|
+
import { useIsClientReady } from '~components/utils/useIsClientReady'
|
|
7
7
|
import { useSelectContext } from '../../context'
|
|
8
8
|
import { type SelectItem, type SelectOption } from '../../types'
|
|
9
9
|
import styles from './ListBox.module.scss'
|
|
@@ -2,7 +2,7 @@ import React, { type HTMLAttributes } from 'react'
|
|
|
2
2
|
import { type FocusableElement } from '@react-types/shared'
|
|
3
3
|
import classnames from 'classnames'
|
|
4
4
|
import { mergeProps, useFocusRing, useOption } from 'react-aria'
|
|
5
|
-
import { Icon } from '~components/
|
|
5
|
+
import { Icon } from '~components/__next__/Icon'
|
|
6
6
|
import { type OverrideClassName } from '~components/types/OverrideClassName'
|
|
7
7
|
import { useSelectContext } from '../../context'
|
|
8
8
|
import { type SelectOption, type SelectOptionNode } from '../../types'
|
|
@@ -2,7 +2,7 @@ import React, { type HTMLAttributes } from 'react'
|
|
|
2
2
|
import { type DOMAttributes, type FocusableElement } from '@react-types/shared'
|
|
3
3
|
import classnames from 'classnames'
|
|
4
4
|
import { Label } from '~components/Label'
|
|
5
|
-
import { Icon } from '~components/
|
|
5
|
+
import { Icon } from '~components/__next__/Icon'
|
|
6
6
|
import { type OverrideClassName } from '~components/types/OverrideClassName'
|
|
7
7
|
import styles from './SelectToggle.module.scss'
|
|
8
8
|
|
|
@@ -2,9 +2,9 @@ import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
|
2
2
|
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
|
|
3
3
|
import * as TabsStories from './Tabs.stories'
|
|
4
4
|
|
|
5
|
-
<Meta title="Components/Tabs/Tabs (
|
|
5
|
+
<Meta title="Components/Tabs/Tabs (next)/API Specification" />
|
|
6
6
|
|
|
7
|
-
# Tabs
|
|
7
|
+
# Tabs (next)
|
|
8
8
|
|
|
9
9
|
<ResourceLinks
|
|
10
10
|
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Tabs"
|
|
@@ -13,7 +13,7 @@ import * as TabsStories from './Tabs.stories'
|
|
|
13
13
|
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
<KAIOInstallation exportNames={['Tabs', 'TabList', 'Tab', 'TabPanel']}
|
|
16
|
+
<KAIOInstallation exportNames={['Tabs', 'TabList', 'Tab', 'TabPanel']} isNext />
|
|
17
17
|
|
|
18
18
|
## Overview
|
|
19
19
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Meta } from '@storybook/blocks'
|
|
2
2
|
|
|
3
|
-
<Meta title="Components/Tabs/
|
|
3
|
+
<Meta title="Components/Tabs/Migration guide" />
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# Next Tabs migration guide
|
|
6
6
|
|
|
7
|
-
A brief guide on how and why to migrate from Kaizen's current `Tabs` to the `
|
|
7
|
+
A brief guide on how and why to migrate from Kaizen's current `Tabs` to the `next` release.
|
|
8
8
|
|
|
9
9
|
## Why the change?
|
|
10
10
|
|