@kaizen/components 0.0.0-canary-fix-select-futureselect-focus-jumping-20241003232256 → 0.0.0-canary-tsx-codemod-20241029235345
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/bin/codemod.sh +2 -2
- package/codemods/README.md +12 -4
- package/codemods/upgradeIconV1/getNewIconPropsFromOldIconName.ts +255 -0
- package/codemods/upgradeIconV1/index.ts +33 -0
- package/codemods/upgradeIconV1/transformCaMonogramIconToBrand.spec.ts +83 -0
- package/codemods/upgradeIconV1/transformCaMonogramIconToBrand.ts +53 -0
- package/codemods/upgradeIconV1/transformIcon.spec.ts +181 -0
- package/codemods/upgradeIconV1/transformIcon.ts +115 -0
- package/codemods/upgradeIconV1/transformSpinnerIconToLoadingSpinner.spec.ts +81 -0
- package/codemods/upgradeIconV1/transformSpinnerIconToLoadingSpinner.ts +41 -0
- package/codemods/upgradeIconV1/upgradeIconV1.spec.ts +306 -0
- package/codemods/upgradeIconV1/upgradeIconV1.ts +94 -0
- package/codemods/utils/createProp.spec.ts +83 -0
- package/codemods/utils/createProp.ts +51 -0
- package/codemods/utils/getKaioTagName.spec.ts +85 -0
- package/codemods/utils/getKaioTagName.ts +129 -0
- package/codemods/utils/index.ts +3 -1
- package/codemods/utils/transformComponentsInDir.ts +32 -16
- package/codemods/utils/transformSource.ts +10 -5
- package/codemods/utils/updateJsxElementWithNewProps.ts +4 -3
- package/codemods/utils/updateKaioImports.spec.ts +223 -0
- package/codemods/utils/updateKaioImports.ts +233 -0
- package/dist/cjs/Avatar/Avatar.cjs +16 -13
- package/dist/cjs/Calendar/CalendarRange/CalendarRange.cjs +9 -7
- package/dist/cjs/Calendar/CalendarSingle/CalendarSingle.cjs +9 -7
- package/dist/cjs/Calendar/LegacyCalendarRange/LegacyCalendarRange.cjs +9 -7
- package/dist/cjs/Checkbox/Checkbox/Checkbox.cjs +5 -11
- package/dist/cjs/ClearButton/ClearButton.cjs +5 -4
- package/dist/cjs/Collapsible/Collapsible/Collapsible.cjs +4 -7
- package/dist/cjs/DateInput/DateInputWithIconButton/DateInputWithIconButton.cjs +5 -4
- package/dist/cjs/DateRangePicker/DateRangePicker.cjs +5 -4
- package/dist/cjs/ErrorPage/ErrorPage.cjs +9 -7
- package/dist/cjs/FieldMessage/FieldMessage.cjs +5 -11
- package/dist/cjs/Filter/FilterBar/context/FilterBarContext.cjs +17 -2
- package/dist/cjs/Filter/FilterBar/context/reducer/filterBarStateReducer.cjs +4 -0
- package/dist/cjs/Filter/FilterBar/context/reducer/setupFilterBarState.cjs +2 -1
- package/dist/cjs/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.cjs +16 -6
- package/dist/cjs/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.cjs +12 -1
- package/dist/cjs/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.cjs +13 -2
- package/dist/cjs/Filter/FilterButton/FilterButton/FilterButton.cjs +4 -7
- package/dist/cjs/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.cjs +5 -5
- package/dist/cjs/Filter/FilterMultiSelect/FilterMultiSelect.cjs +4 -2
- package/dist/cjs/Filter/FilterMultiSelect/context/MenuTriggerProvider/MenuTriggerProvider.cjs +4 -2
- package/dist/cjs/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.cjs +4 -4
- package/dist/cjs/Filter/FilterSelect/FilterSelect.cjs +2 -1
- package/dist/cjs/GuidanceBlock/GuidanceBlock.cjs +5 -4
- package/dist/cjs/Illustration/utils/usePausePlay.cjs +5 -8
- package/dist/cjs/Input/InputSearch/InputSearch.cjs +4 -3
- package/dist/cjs/LikertScaleLegacy/LikertScaleLegacy.cjs +5 -6
- package/dist/cjs/Loading/LoadingSpinner/LoadingSpinner.cjs +6 -42
- package/dist/cjs/Loading/LoadingSpinner/LoadingSpinner.module.css.cjs +10 -0
- package/dist/cjs/Loading/LoadingSpinner/subcomponents/SpinnerIcon.cjs +80 -0
- package/dist/cjs/Modal/ConfirmationModal/ConfirmationModal.cjs +31 -26
- package/dist/cjs/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.cjs +4 -5
- package/dist/cjs/MultiSelect/subcomponents/Checkbox/Checkbox.cjs +7 -17
- package/dist/cjs/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.cjs +4 -7
- package/dist/cjs/Notification/subcomponents/CancelButton/CancelButton.cjs +4 -3
- package/dist/cjs/Notification/subcomponents/NotificationIcon/NotificationIcon.cjs +33 -38
- package/dist/cjs/Notification/subcomponents/NotificationIcon/NotificationIcon.module.css.cjs +6 -0
- package/dist/cjs/Pagination/subcomponents/DirectionalLink/DirectionalLink.cjs +11 -19
- package/dist/cjs/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.cjs +4 -5
- package/dist/cjs/Popover/Popover.cjs +5 -4
- package/dist/cjs/Popover/utils/classMappers.cjs +21 -16
- package/dist/cjs/RichTextEditor/RichTextEditor/utils/controlmap.cjs +29 -25
- package/dist/cjs/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.cjs +10 -12
- package/dist/cjs/Select/Select.cjs +8 -10
- package/dist/cjs/SplitButton/subcomponents/DropdownButton/DropdownButton.cjs +4 -4
- package/dist/cjs/Table/Table.cjs +11 -10
- package/dist/cjs/Tag/Tag.cjs +21 -17
- package/dist/cjs/TextArea/TextArea.cjs +20 -52
- package/dist/cjs/TextArea/TextArea.module.css.cjs +14 -0
- package/dist/cjs/TextField/TextField.cjs +7 -6
- package/dist/cjs/TextField/TextField.module.scss.cjs +4 -6
- package/dist/cjs/Tile/subcomponents/GenericTile/GenericTile.cjs +8 -7
- package/dist/cjs/TitleBlockZen/TitleBlockZen.cjs +9 -12
- package/dist/cjs/TitleBlockZen/subcomponents/MainActions.cjs +7 -7
- package/dist/cjs/TitleBlockZen/subcomponents/MobileActions.cjs +10 -15
- package/dist/cjs/TitleBlockZen/subcomponents/SecondaryActions.cjs +7 -7
- package/dist/cjs/ToggleSwitch/ToggleSwitch/ToggleSwitch.cjs +5 -5
- package/dist/cjs/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.cjs +13 -18
- package/dist/cjs/__future__/Icon/Icon.cjs +47 -0
- package/dist/cjs/__future__/Icon/Icon.module.css.cjs +10 -0
- package/dist/cjs/__future__/Icon/constants.cjs +8 -0
- package/dist/cjs/__future__/Select/subcomponents/ListBox/ListBox.cjs +7 -10
- package/dist/cjs/__future__/Select/subcomponents/Option/Option.cjs +4 -5
- package/dist/cjs/__future__/Select/subcomponents/SelectToggle/SelectToggle.cjs +5 -9
- package/dist/cjs/__future__/Tabs/Tabs.cjs +23 -0
- package/dist/cjs/__future__/Tabs/subcomponents/Tab/Tab.cjs +39 -0
- package/dist/cjs/__future__/Tabs/subcomponents/Tab/Tab.module.css.cjs +7 -0
- package/dist/cjs/__future__/Tabs/subcomponents/TabList/TabList.cjs +31 -0
- package/dist/cjs/__future__/Tabs/subcomponents/TabList/TabList.module.css.cjs +7 -0
- package/dist/cjs/__future__/Tabs/subcomponents/TabPanel/TabPanel.cjs +24 -0
- package/dist/cjs/__future__/Tag/RemovableTag/subcomponents/RemoveButton.cjs +4 -3
- package/dist/cjs/future.cjs +10 -0
- package/dist/esm/Avatar/Avatar.mjs +16 -13
- package/dist/esm/Calendar/CalendarRange/CalendarRange.mjs +9 -7
- package/dist/esm/Calendar/CalendarSingle/CalendarSingle.mjs +9 -7
- package/dist/esm/Calendar/LegacyCalendarRange/LegacyCalendarRange.mjs +9 -7
- package/dist/esm/Checkbox/Checkbox/Checkbox.mjs +5 -11
- package/dist/esm/ClearButton/ClearButton.mjs +5 -4
- package/dist/esm/Collapsible/Collapsible/Collapsible.mjs +5 -8
- package/dist/esm/DateInput/DateInputWithIconButton/DateInputWithIconButton.mjs +5 -4
- package/dist/esm/DateRangePicker/DateRangePicker.mjs +5 -4
- package/dist/esm/ErrorPage/ErrorPage.mjs +10 -8
- package/dist/esm/FieldMessage/FieldMessage.mjs +6 -12
- package/dist/esm/Filter/FilterBar/context/FilterBarContext.mjs +17 -2
- package/dist/esm/Filter/FilterBar/context/reducer/filterBarStateReducer.mjs +4 -0
- package/dist/esm/Filter/FilterBar/context/reducer/setupFilterBarState.mjs +2 -1
- package/dist/esm/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.mjs +17 -7
- package/dist/esm/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.mjs +13 -2
- package/dist/esm/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.mjs +14 -3
- package/dist/esm/Filter/FilterButton/FilterButton/FilterButton.mjs +5 -8
- package/dist/esm/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.mjs +5 -5
- package/dist/esm/Filter/FilterMultiSelect/FilterMultiSelect.mjs +4 -2
- package/dist/esm/Filter/FilterMultiSelect/context/MenuTriggerProvider/MenuTriggerProvider.mjs +4 -2
- package/dist/esm/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.mjs +4 -4
- package/dist/esm/Filter/FilterSelect/FilterSelect.mjs +2 -1
- package/dist/esm/GuidanceBlock/GuidanceBlock.mjs +5 -4
- package/dist/esm/Illustration/utils/usePausePlay.mjs +5 -8
- package/dist/esm/Input/InputSearch/InputSearch.mjs +4 -3
- package/dist/esm/LikertScaleLegacy/LikertScaleLegacy.mjs +5 -6
- package/dist/esm/Loading/LoadingSpinner/LoadingSpinner.mjs +6 -42
- package/dist/esm/Loading/LoadingSpinner/LoadingSpinner.module.css.mjs +8 -0
- package/dist/esm/Loading/LoadingSpinner/subcomponents/SpinnerIcon.mjs +72 -0
- package/dist/esm/Modal/ConfirmationModal/ConfirmationModal.mjs +31 -26
- package/dist/esm/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.mjs +4 -5
- package/dist/esm/MultiSelect/subcomponents/Checkbox/Checkbox.mjs +7 -17
- package/dist/esm/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.mjs +5 -8
- package/dist/esm/Notification/subcomponents/CancelButton/CancelButton.mjs +4 -3
- package/dist/esm/Notification/subcomponents/NotificationIcon/NotificationIcon.mjs +33 -38
- package/dist/esm/Notification/subcomponents/NotificationIcon/NotificationIcon.module.css.mjs +4 -0
- package/dist/esm/Pagination/subcomponents/DirectionalLink/DirectionalLink.mjs +11 -19
- package/dist/esm/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.mjs +4 -5
- package/dist/esm/Popover/Popover.mjs +5 -4
- package/dist/esm/Popover/utils/classMappers.mjs +21 -16
- package/dist/esm/RichTextEditor/RichTextEditor/utils/controlmap.mjs +33 -29
- package/dist/esm/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.mjs +10 -12
- package/dist/esm/Select/Select.mjs +9 -11
- package/dist/esm/SplitButton/subcomponents/DropdownButton/DropdownButton.mjs +4 -4
- package/dist/esm/Table/Table.mjs +11 -10
- package/dist/esm/Tag/Tag.mjs +21 -17
- package/dist/esm/TextArea/TextArea.mjs +21 -53
- package/dist/esm/TextArea/TextArea.module.css.mjs +12 -0
- package/dist/esm/TextField/TextField.mjs +7 -6
- package/dist/esm/TextField/TextField.module.scss.mjs +4 -6
- package/dist/esm/Tile/subcomponents/GenericTile/GenericTile.mjs +8 -7
- package/dist/esm/TitleBlockZen/TitleBlockZen.mjs +9 -12
- package/dist/esm/TitleBlockZen/subcomponents/MainActions.mjs +7 -7
- package/dist/esm/TitleBlockZen/subcomponents/MobileActions.mjs +13 -18
- package/dist/esm/TitleBlockZen/subcomponents/SecondaryActions.mjs +7 -7
- package/dist/esm/ToggleSwitch/ToggleSwitch/ToggleSwitch.mjs +5 -5
- package/dist/esm/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.mjs +16 -21
- package/dist/esm/__future__/Icon/Icon.mjs +38 -0
- package/dist/esm/__future__/Icon/Icon.module.css.mjs +8 -0
- package/dist/esm/__future__/Icon/constants.mjs +6 -0
- package/dist/esm/__future__/Select/subcomponents/ListBox/ListBox.mjs +7 -11
- package/dist/esm/__future__/Select/subcomponents/Option/Option.mjs +4 -5
- package/dist/esm/__future__/Select/subcomponents/SelectToggle/SelectToggle.mjs +6 -10
- package/dist/esm/__future__/Tabs/Tabs.mjs +15 -0
- package/dist/esm/__future__/Tabs/subcomponents/Tab/Tab.mjs +30 -0
- package/dist/esm/__future__/Tabs/subcomponents/Tab/Tab.module.css.mjs +5 -0
- package/dist/esm/__future__/Tabs/subcomponents/TabList/TabList.mjs +22 -0
- package/dist/esm/__future__/Tabs/subcomponents/TabList/TabList.module.css.mjs +5 -0
- package/dist/esm/__future__/Tabs/subcomponents/TabPanel/TabPanel.mjs +16 -0
- package/dist/esm/__future__/Tag/RemovableTag/subcomponents/RemoveButton.mjs +4 -3
- package/dist/esm/future.mjs +5 -0
- package/dist/styles.css +828 -1388
- package/dist/types/Filter/FilterBar/context/FilterBarContext.d.ts +2 -0
- package/dist/types/Filter/FilterBar/context/reducer/filterBarStateReducer.d.ts +3 -0
- package/dist/types/Filter/FilterBar/context/types.d.ts +1 -0
- package/dist/types/Filter/FilterMultiSelect/FilterMultiSelect.d.ts +2 -1
- package/dist/types/Filter/FilterMultiSelect/context/MenuTriggerProvider/MenuTriggerProvider.d.ts +2 -1
- package/dist/types/Loading/LoadingSpinner/LoadingSpinner.d.ts +2 -2
- package/dist/types/Loading/LoadingSpinner/subcomponents/SpinnerIcon.d.ts +5 -0
- package/dist/types/Loading/LoadingSpinner/subcomponents/index.d.ts +1 -0
- package/dist/types/Tabs/subcomponents/index.d.ts +0 -1
- package/dist/types/TextArea/TextArea.d.ts +4 -0
- package/dist/types/__future__/Icon/Icon.d.ts +21 -0
- package/dist/types/__future__/Icon/constants.d.ts +5 -0
- package/dist/types/__future__/Icon/index.d.ts +1 -0
- package/dist/types/__future__/Icon/types.d.ts +4 -0
- package/dist/types/__future__/Tabs/Tabs.d.ts +11 -0
- package/dist/types/__future__/Tabs/index.d.ts +2 -0
- package/dist/types/__future__/Tabs/subcomponents/Tab/Tab.d.ts +12 -0
- package/dist/types/__future__/Tabs/subcomponents/Tab/index.d.ts +1 -0
- package/dist/types/__future__/Tabs/subcomponents/TabList/TabList.d.ts +17 -0
- package/dist/types/__future__/Tabs/subcomponents/TabList/index.d.ts +1 -0
- package/dist/types/__future__/Tabs/subcomponents/TabPanel/TabPanel.d.ts +6 -0
- package/dist/types/__future__/Tabs/subcomponents/TabPanel/index.d.ts +1 -0
- package/dist/types/__future__/Tabs/subcomponents/index.d.ts +3 -0
- package/dist/types/__future__/index.d.ts +2 -0
- package/package.json +36 -37
- package/src/Avatar/Avatar.module.scss +10 -12
- package/src/Avatar/Avatar.tsx +14 -5
- package/src/BrandMoment/_docs/BrandMoment.stories.tsx +6 -10
- package/src/BrandMoment/_docs/ExampleHeaders.tsx +2 -2
- package/src/Calendar/CalendarRange/CalendarRange.tsx +7 -3
- package/src/Calendar/CalendarSingle/CalendarSingle.tsx +7 -3
- package/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.tsx +7 -3
- package/src/Calendar/baseCalendarClassNames.module.scss +0 -4
- package/src/Checkbox/Checkbox/Checkbox.module.scss +2 -10
- package/src/Checkbox/Checkbox/Checkbox.tsx +6 -8
- package/src/ClearButton/ClearButton.tsx +2 -2
- package/src/Collapsible/Collapsible/Collapsible.tsx +5 -6
- package/src/Collapsible/Collapsible/_docs/Collapsible.stories.tsx +2 -2
- package/src/DateInput/DateInputWithIconButton/DateInputWithIconButton.module.scss +2 -7
- package/src/DateInput/DateInputWithIconButton/DateInputWithIconButton.tsx +2 -2
- package/src/DateRangePicker/DateRangePicker.tsx +2 -2
- package/src/EmptyState/_docs/EmptyState.stickersheet.stories.tsx +8 -2
- package/src/EmptyState/_docs/EmptyState.stories.tsx +4 -2
- package/src/ErrorPage/ErrorPage.tsx +5 -3
- package/src/FieldMessage/FieldMessage.tsx +6 -14
- package/src/Filter/FilterBar/FilterBar.spec.tsx +99 -12
- package/src/Filter/FilterBar/context/FilterBarContext.tsx +11 -2
- package/src/Filter/FilterBar/context/reducer/filterBarStateReducer.ts +7 -0
- package/src/Filter/FilterBar/context/reducer/setupFilterBarState.ts +1 -0
- package/src/Filter/FilterBar/context/types.ts +1 -0
- package/src/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.tsx +14 -4
- package/src/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.tsx +10 -2
- package/src/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.tsx +18 -3
- package/src/Filter/FilterButton/FilterButton/FilterButton.module.scss +1 -1
- package/src/Filter/FilterButton/FilterButton/FilterButton.tsx +5 -6
- package/src/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.tsx +2 -2
- package/src/Filter/FilterDateRangePicker/FilterDateRangePicker.spec.tsx +0 -1
- package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.spec.tsx +2 -1
- package/src/Filter/FilterMultiSelect/FilterMultiSelect.tsx +3 -1
- package/src/Filter/FilterMultiSelect/context/MenuTriggerProvider/MenuTriggerProvider.tsx +4 -1
- package/src/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.tsx +2 -2
- package/src/Filter/FilterMultiSelect/subcomponents/SelectionControlButton/SelectionControlButton.module.scss +9 -11
- package/src/Filter/FilterSelect/FilterSelect.spec.tsx +52 -21
- package/src/Filter/FilterSelect/FilterSelect.tsx +2 -1
- package/src/Filter/FilterSelect/_docs/FilterSelect.stories.tsx +0 -1
- package/src/GuidanceBlock/GuidanceBlock.module.scss +4 -5
- package/src/GuidanceBlock/GuidanceBlock.tsx +6 -2
- package/src/Icon/_docs/{Icon.stories.tsx → Icon.docs.stories.tsx} +1 -1
- package/src/Icon/_docs/Icon.mdx +1 -2
- package/src/Icon/_docs/Icon.stickersheet.stories.tsx +1 -1
- package/src/Icon/bin/update-icons.sh +1 -1
- package/src/Illustration/utils/usePausePlay.tsx +7 -5
- package/src/Input/Input/_docs/Input.stickersheet.stories.tsx +7 -5
- package/src/Input/Input/_docs/Input.stories.tsx +5 -3
- package/src/Input/InputRange/InputRange.module.scss +4 -4
- package/src/Input/InputSearch/InputSearch.module.scss +21 -21
- package/src/Input/InputSearch/InputSearch.tsx +2 -2
- package/src/Label/Label.module.scss +4 -0
- package/src/LikertScaleLegacy/LikertScaleLegacy.module.scss +7 -8
- package/src/LikertScaleLegacy/LikertScaleLegacy.tsx +2 -2
- package/src/Loading/LoadingGraphic/_docs/LoadingGraphic.stories.tsx +2 -2
- package/src/Loading/LoadingSpinner/LoadingSpinner.module.css +32 -0
- package/src/Loading/LoadingSpinner/LoadingSpinner.tsx +10 -54
- package/src/Loading/LoadingSpinner/_docs/LoadingSpinner.mdx +7 -2
- package/src/Loading/LoadingSpinner/_docs/LoadingSpinner.stickersheet.stories.tsx +2 -1
- package/src/Loading/LoadingSpinner/_docs/LoadingSpinner.stories.tsx +19 -0
- package/src/Loading/LoadingSpinner/subcomponents/SpinnerIcon.tsx +87 -0
- package/src/Loading/LoadingSpinner/subcomponents/index.ts +1 -0
- package/src/Modal/ConfirmationModal/ConfirmationModal.module.scss +2 -0
- package/src/Modal/ConfirmationModal/ConfirmationModal.tsx +32 -35
- package/src/Modal/ContextModal/ContextModal.module.scss +4 -4
- package/src/Modal/GenericModal/GenericModal.module.scss +8 -8
- package/src/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.module.scss +2 -2
- package/src/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.tsx +2 -2
- package/src/Modal/InputEditModal/InputEditModal.module.scss +4 -4
- package/src/MultiSelect/MultiSelect.spec.tsx +7 -3
- package/src/MultiSelect/subcomponents/Checkbox/Checkbox.module.scss +0 -6
- package/src/MultiSelect/subcomponents/Checkbox/Checkbox.tsx +10 -9
- package/src/MultiSelect/subcomponents/MultiSelectOptions/MultiSelectOptions.spec.tsx +11 -7
- package/src/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.tsx +5 -7
- package/src/Notification/subcomponents/CancelButton/CancelButton.tsx +2 -2
- package/src/Notification/subcomponents/GenericNotification/_mixins.scss +9 -8
- package/src/Notification/subcomponents/NotificationIcon/NotificationIcon.module.css +3 -0
- package/src/Notification/subcomponents/NotificationIcon/NotificationIcon.tsx +22 -16
- package/src/Pagination/subcomponents/DirectionalLink/DirectionalLink.module.scss +0 -4
- package/src/Pagination/subcomponents/DirectionalLink/DirectionalLink.tsx +13 -12
- package/src/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.module.scss +0 -1
- package/src/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.tsx +2 -2
- package/src/Popover/Popover.module.scss +3 -3
- package/src/Popover/Popover.tsx +2 -2
- package/src/Popover/utils/classMappers.tsx +6 -11
- package/src/RichTextEditor/RichTextEditor/RichTextEditor.module.scss +2 -2
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/ToggleIconButton.module.scss +1 -1
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/_docs/ToggleIconButton.stickersheet.stories.tsx +7 -7
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/_docs/ToggleIconButton.stories.tsx +2 -2
- package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/Toolbar.spec.tsx +7 -4
- package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/_docs/Toolbar.stories.tsx +18 -12
- package/src/RichTextEditor/RichTextEditor/utils/controlmap.tsx +25 -18
- package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.tsx +4 -8
- package/src/Select/Select.module.scss +9 -9
- package/src/Select/Select.tsx +10 -7
- package/src/SplitButton/subcomponents/DropdownButton/DropdownButton.spec.tsx +4 -5
- package/src/SplitButton/subcomponents/DropdownButton/DropdownButton.tsx +2 -2
- package/src/Table/Table.module.scss +11 -7
- package/src/Table/Table.tsx +4 -8
- package/src/Table/_docs/Table.stickersheet.stories.tsx +4 -4
- package/src/Table/_docs/Table.stories.tsx +3 -3
- package/src/Tabs/subcomponents/index.ts +0 -1
- package/src/Tag/Tag.module.scss +2 -0
- package/src/Tag/Tag.tsx +7 -13
- package/src/Text/Text.module.scss +2 -0
- package/src/TextArea/TextArea.module.css +142 -0
- package/src/TextArea/TextArea.tsx +25 -53
- package/src/TextField/TextField.module.scss +10 -36
- package/src/TextField/TextField.spec.tsx +9 -4
- package/src/TextField/TextField.tsx +4 -6
- package/src/TextField/_docs/TextField.stickersheet.stories.tsx +9 -1
- package/src/TextField/_docs/TextField.stories.tsx +4 -3
- package/src/Tile/subcomponents/GenericTile/GenericTile.module.scss +7 -8
- package/src/Tile/subcomponents/GenericTile/GenericTile.tsx +3 -3
- package/src/TitleBlockZen/TitleBlockZen.module.scss +15 -21
- package/src/TitleBlockZen/TitleBlockZen.spec.tsx +1 -1
- package/src/TitleBlockZen/TitleBlockZen.tsx +6 -9
- package/src/TitleBlockZen/_docs/TitleBlockZen.stories.tsx +5 -5
- package/src/TitleBlockZen/subcomponents/MainActions.tsx +5 -3
- package/src/TitleBlockZen/subcomponents/MobileActions.module.scss +2 -2
- package/src/TitleBlockZen/subcomponents/MobileActions.tsx +13 -16
- package/src/TitleBlockZen/subcomponents/SecondaryActions.tsx +3 -3
- package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss +0 -3
- package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.tsx +2 -2
- package/src/Workflow/_docs/Workflow.stories.tsx +4 -5
- package/src/Workflow/_docs/WorkflowHeader.stories.tsx +4 -5
- package/src/Workflow/_docs/controls/controls.tsx +4 -4
- package/src/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.tsx +6 -31
- package/src/__actions__/Button/v1/Button/Button.module.scss +0 -1
- package/src/__actions__/Button/v1/Button/_docs/Button.mdx +1 -1
- package/src/__actions__/Button/v1/Button/_docs/Button.stickersheet.stories.tsx +6 -6
- package/src/__actions__/Button/v1/Button/_docs/Button.stories.tsx +7 -6
- package/src/__actions__/Button/v1/IconButton/_docs/IconButton.stickersheet.stories.tsx +7 -7
- package/src/__actions__/Button/v1/IconButton/_docs/IconButton.stories.tsx +5 -5
- package/src/__actions__/Button/v2/Button/_docs/Button.mdx +1 -1
- package/src/__actions__/Button/v2/Button/_docs/Button.stories.tsx +7 -6
- package/src/__actions__/Button/v2/IconButton/_docs/IconButton.stories.tsx +5 -5
- package/src/__actions__/Button/v3/_docs/ApiSpecification.mdx +1 -1
- package/src/__actions__/Button/v3/_docs/Button.docs.stories.tsx +1 -1
- package/src/__actions__/Button/v3/_docs/Button.mdx +1 -1
- package/src/__actions__/Button/v3/_docs/Button.spec.stories.tsx +1 -1
- package/src/__actions__/Button/v3/_docs/Button.stickersheet.stories.tsx +3 -3
- package/src/__actions__/Button/v3/_docs/Button.stories.tsx +1 -1
- package/src/__actions__/Menu/v1/_docs/Menu.stickersheet.stories.tsx +3 -3
- package/src/__actions__/Menu/v1/_docs/Menu.stories.tsx +3 -3
- package/src/__actions__/Menu/v1/_docs/MenuContentExample.tsx +6 -6
- package/src/__actions__/Menu/v1/_docs/examples.tsx +5 -5
- package/src/__actions__/Menu/v2/_docs/Menu.stories.tsx +3 -3
- package/src/__actions__/Menu/v3/_docs/ApiSpecification.mdx +1 -3
- package/src/__actions__/Menu/v3/_docs/Menu.docs.stories.tsx +46 -45
- package/src/__actions__/Menu/v3/_docs/Menu.mdx +1 -1
- package/src/__actions__/Menu/v3/_docs/Menu.spec.stories.tsx +21 -23
- package/src/__actions__/Menu/v3/_docs/Menu.stories.tsx +12 -15
- package/src/__future__/Icon/Icon.module.css +35 -0
- package/src/__future__/Icon/Icon.spec.tsx +36 -0
- package/src/__future__/Icon/Icon.tsx +85 -0
- package/src/__future__/Icon/_docs/Icon--api-specification.mdx +98 -0
- package/src/__future__/Icon/_docs/Icon--usage-guidelines.mdx +145 -0
- package/src/__future__/Icon/_docs/Icon.docs.module.css +17 -0
- package/src/__future__/Icon/_docs/Icon.docs.stories.tsx +524 -0
- package/src/__future__/Icon/_docs/Icon.stickersheet.stories.tsx +126 -0
- package/src/__future__/Icon/_docs/assets/interface-dont.png +0 -0
- package/src/__future__/Icon/_docs/assets/tooltip-dont.png +0 -0
- package/src/__future__/Icon/constants.ts +149 -0
- package/src/__future__/Icon/index.ts +1 -0
- package/src/__future__/Icon/material-symbols-metadata.json +3370 -0
- package/src/__future__/Icon/types.ts +11 -0
- package/src/__future__/Select/_docs/Select.stories.tsx +1 -2
- package/src/__future__/Select/subcomponents/ListBox/ListBox.tsx +3 -4
- package/src/__future__/Select/subcomponents/Option/Option.tsx +2 -2
- package/src/__future__/Select/subcomponents/SelectToggle/SelectToggle.module.scss +1 -1
- package/src/__future__/Select/subcomponents/SelectToggle/SelectToggle.tsx +6 -9
- package/src/__future__/Tabs/Tabs.tsx +18 -0
- package/src/__future__/Tabs/_docs/Tabs--api-specification.mdx +43 -0
- package/src/__future__/Tabs/_docs/Tabs--migration-guide.mdx +93 -0
- package/src/__future__/Tabs/_docs/Tabs.stories.tsx +74 -0
- package/src/__future__/Tabs/index.ts +2 -0
- package/src/__future__/Tabs/subcomponents/Tab/Tab.module.css +94 -0
- package/src/__future__/Tabs/subcomponents/Tab/Tab.tsx +58 -0
- package/src/__future__/Tabs/subcomponents/Tab/index.ts +1 -0
- package/src/__future__/Tabs/subcomponents/TabList/TabList.module.css +8 -0
- package/src/__future__/Tabs/subcomponents/TabList/TabList.tsx +45 -0
- package/src/__future__/Tabs/subcomponents/TabList/index.ts +1 -0
- package/src/__future__/Tabs/subcomponents/TabPanel/TabPanel.module.css +12 -0
- package/src/__future__/Tabs/subcomponents/TabPanel/TabPanel.tsx +20 -0
- package/src/__future__/Tabs/subcomponents/TabPanel/index.ts +1 -0
- package/src/__future__/Tabs/subcomponents/index.ts +3 -0
- package/src/__future__/Tag/RemovableTag/_docs/RemovableTag.stories.tsx +0 -77
- package/src/__future__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss +1 -58
- package/src/__future__/Tag/RemovableTag/subcomponents/RemoveButton.tsx +2 -12
- package/src/__future__/Tag/Tag/Tag.module.scss +1 -1
- package/src/__future__/Tag/Tag/_docs/Tag-migration-guide.stories.tsx +6 -17
- package/src/__future__/Tag/Tag/_docs/Tag.stickersheet.stories.tsx +5 -2
- package/src/__future__/Tag/Tag/_docs/Tag.stories.tsx +13 -6
- package/src/__future__/index.ts +2 -0
- package/src/__overlays__/Tooltip/v1/_docs/Tooltip.stickersheet.stories.tsx +10 -10
- package/src/__overlays__/Tooltip/v1/_docs/Tooltip.stories.tsx +7 -4
- package/src/__overlays__/Tooltip/v1/utils/isSemanticElement.spec.tsx +4 -11
- package/src/__overlays__/Tooltip/v3/_docs/Tooltip.docs.stories.tsx +10 -10
- package/src/__overlays__/Tooltip/v3/_docs/Tooltip.spec.stories.tsx +3 -3
- package/codemods/utils/getTagName.spec.ts +0 -24
- package/codemods/utils/getTagName.ts +0 -32
- package/dist/cjs/Loading/LoadingSpinner/LoadingSpinner.module.scss.cjs +0 -7
- package/dist/cjs/TextArea/TextArea.module.scss.cjs +0 -13
- package/dist/cjs/__future__/Tag/RemovableTag/subcomponents/RemoveTagIcon.cjs +0 -23
- package/dist/esm/Loading/LoadingSpinner/LoadingSpinner.module.scss.mjs +0 -5
- package/dist/esm/TextArea/TextArea.module.scss.mjs +0 -11
- package/dist/esm/__future__/Tag/RemovableTag/subcomponents/RemoveTagIcon.mjs +0 -15
- package/dist/types/__future__/Tag/RemovableTag/subcomponents/RemoveTagIcon.d.ts +0 -2
- package/src/Loading/LoadingSpinner/LoadingSpinner.module.scss +0 -16
- package/src/TextArea/TextArea.module.scss +0 -137
- package/src/__future__/Tag/RemovableTag/subcomponents/RemoveTagIcon.tsx +0 -21
- /package/dist/cjs/__utilities__/{isClientReady → useIsClientReady}/useIsClientReady.cjs +0 -0
- /package/dist/esm/__utilities__/{isClientReady → useIsClientReady}/useIsClientReady.mjs +0 -0
- /package/dist/types/__utilities__/{isClientReady → useIsClientReady}/index.d.ts +0 -0
- /package/dist/types/__utilities__/{isClientReady → useIsClientReady}/useIsClientReady.d.ts +0 -0
- /package/src/__utilities__/{isClientReady → useIsClientReady}/index.ts +0 -0
- /package/src/__utilities__/{isClientReady → useIsClientReady}/useIsClientReady.tsx +0 -0
|
@@ -3,12 +3,12 @@ import React, { useRef } from 'react';
|
|
|
3
3
|
import { useIntl } from '@cultureamp/i18n-react-intl';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { ClearButton } from '../../ClearButton/ClearButton.mjs';
|
|
6
|
-
import { SearchIcon } from '../../Icon/SearchIcon.mjs';
|
|
7
6
|
import '../../Loading/LoadingGraphic/LoadingGraphic.mjs';
|
|
8
7
|
import '../../Loading/LoadingHeading/LoadingHeading.mjs';
|
|
9
8
|
import '../../Loading/LoadingInput/LoadingInput.mjs';
|
|
10
9
|
import '../../Loading/LoadingParagraph/LoadingParagraph.mjs';
|
|
11
10
|
import { LoadingSpinner } from '../../Loading/LoadingSpinner/LoadingSpinner.mjs';
|
|
11
|
+
import { Icon } from '../../__future__/Icon/Icon.mjs';
|
|
12
12
|
import styles from './InputSearch.module.scss.mjs';
|
|
13
13
|
const InputSearch = /*#__PURE__*/function () {
|
|
14
14
|
const InputSearch = function (props) {
|
|
@@ -44,8 +44,9 @@ const InputSearch = /*#__PURE__*/function () {
|
|
|
44
44
|
accessibilityLabel: "",
|
|
45
45
|
size: "sm",
|
|
46
46
|
classNameOverride: styles.loadingSpinner
|
|
47
|
-
})) : ( /*#__PURE__*/React.createElement(
|
|
48
|
-
|
|
47
|
+
})) : ( /*#__PURE__*/React.createElement(Icon, {
|
|
48
|
+
name: "search",
|
|
49
|
+
isPresentational: true
|
|
49
50
|
}))), /*#__PURE__*/React.createElement("input", __assign({
|
|
50
51
|
ref: inputRef,
|
|
51
52
|
type: "search",
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import React, { useState, createRef } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
3
|
import { FieldMessage } from '../FieldMessage/FieldMessage.mjs';
|
|
4
|
-
import 'tslib';
|
|
5
|
-
import '../Icon/subcomponents/SVG/SVG.mjs';
|
|
6
|
-
import { CheckIcon } from '../Icon/CheckIcon.mjs';
|
|
7
4
|
import { Text } from '../Text/Text.mjs';
|
|
5
|
+
import { Icon } from '../__future__/Icon/Icon.mjs';
|
|
8
6
|
import determineSelectionFromKeyPress from './utils/determineSelectionFromKeyPress.mjs';
|
|
9
7
|
import styles from './LikertScaleLegacy.module.scss.mjs';
|
|
10
8
|
var SelectedItemIcon = function () {
|
|
11
|
-
return /*#__PURE__*/React.createElement(
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
10
|
+
name: "check",
|
|
11
|
+
isPresentational: true,
|
|
12
|
+
className: styles.check
|
|
14
13
|
});
|
|
15
14
|
};
|
|
16
15
|
/**
|
|
@@ -2,7 +2,8 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { VisuallyHidden } from '../../VisuallyHidden/VisuallyHidden.mjs';
|
|
5
|
-
import
|
|
5
|
+
import { SpinnerIcon } from './subcomponents/SpinnerIcon.mjs';
|
|
6
|
+
import styles from './LoadingSpinner.module.css.mjs';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082093253/Loading+Spinner Guidance} |
|
|
@@ -17,48 +18,11 @@ const LoadingSpinner = /*#__PURE__*/function () {
|
|
|
17
18
|
classNameOverride = _a.classNameOverride,
|
|
18
19
|
props = __rest(_a, ["accessibilityLabel", "size", "classNameOverride"]);
|
|
19
20
|
return /*#__PURE__*/React.createElement("div", __assign({
|
|
20
|
-
|
|
21
|
-
className: classnames(styles.loadingSpinner, classNameOverride),
|
|
21
|
+
className: classnames(styles.loadingSpinner, styles[size], classNameOverride),
|
|
22
22
|
role: "status"
|
|
23
|
-
}, props), /*#__PURE__*/React.createElement(VisuallyHidden, null, accessibilityLabel),
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
viewBox: "0 0 48 48",
|
|
27
|
-
width: 48,
|
|
28
|
-
fill: "none",
|
|
29
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
30
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
31
|
-
cx: "24",
|
|
32
|
-
cy: "24",
|
|
33
|
-
r: "22.5",
|
|
34
|
-
stroke: "currentColor",
|
|
35
|
-
strokeWidth: "3",
|
|
36
|
-
strokeOpacity: "0.3"
|
|
37
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
38
|
-
fillRule: "evenodd",
|
|
39
|
-
clipRule: "evenodd",
|
|
40
|
-
fill: "currentColor",
|
|
41
|
-
d: "M46.5 24c.8284 0 1.5049-.6734 1.4539-1.5002C47.21 10.44 37.5601.789989 25.5003.0461639 24.6734-.004835 24 .671607 24 1.50003c0 .82843.6738 1.49444 1.5002 1.55277 10.4023.73424 18.7128 9.0447 19.447 19.447C45.0056 23.3262 45.6716 24 46.5 24z"
|
|
42
|
-
}))) : ( /*#__PURE__*/React.createElement("svg", {
|
|
43
|
-
className: styles.spinner,
|
|
44
|
-
"aria-hidden": "true",
|
|
45
|
-
viewBox: "0 0 24 24",
|
|
46
|
-
width: 24,
|
|
47
|
-
fill: "none",
|
|
48
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
49
|
-
}, /*#__PURE__*/React.createElement("circle", {
|
|
50
|
-
cx: "12",
|
|
51
|
-
cy: "12",
|
|
52
|
-
r: "9",
|
|
53
|
-
stroke: "currentColor",
|
|
54
|
-
strokeWidth: "2",
|
|
55
|
-
strokeOpacity: "0.3"
|
|
56
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
57
|
-
fillRule: "evenodd",
|
|
58
|
-
clipRule: "evenodd",
|
|
59
|
-
fill: "currentColor",
|
|
60
|
-
d: "M21.0564 13c.5076 0 .9377-.3851.9431-.8926.0004-.0358.0005-.0716.0005-.1074 0-5.52285-4.4771-10-10-10-.0359 0-.0718.00019-.1076.00057-.5076.00535-.8926.43552-.8926.94308v.11543C10.9998 3.59163 11.4675 4 12 4c4.4183 0 8 3.58172 8 8 0 .5324.4083 1 .9407 1h.1157z"
|
|
61
|
-
}))));
|
|
23
|
+
}, props), /*#__PURE__*/React.createElement(VisuallyHidden, null, accessibilityLabel), /*#__PURE__*/React.createElement(SpinnerIcon, {
|
|
24
|
+
size: size
|
|
25
|
+
}));
|
|
62
26
|
};
|
|
63
27
|
LoadingSpinner.displayName = "LoadingSpinner";
|
|
64
28
|
return LoadingSpinner;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"loadingSpinner": "LoadingSpinner-module_loadingSpinner__Zc2mJ",
|
|
3
|
+
"xs": "LoadingSpinner-module_xs__y46OT",
|
|
4
|
+
"sm": "LoadingSpinner-module_sm__nkmIa",
|
|
5
|
+
"md": "LoadingSpinner-module_md__OWP2-",
|
|
6
|
+
"spinner": "LoadingSpinner-module_spinner__BKrX0"
|
|
7
|
+
};
|
|
8
|
+
export { styles as default };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styles from '../LoadingSpinner.module.css.mjs';
|
|
3
|
+
var SmallSpinnerIcon = function () {
|
|
4
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
5
|
+
className: styles.spinner,
|
|
6
|
+
"aria-hidden": "true",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: "none",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
10
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
11
|
+
cx: "12",
|
|
12
|
+
cy: "12",
|
|
13
|
+
r: "9",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeWidth: "2",
|
|
16
|
+
strokeOpacity: "0.3"
|
|
17
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
clipRule: "evenodd",
|
|
20
|
+
fill: "currentColor",
|
|
21
|
+
d: "M21.0564 13c.5076 0 .9377-.3851.9431-.8926.0004-.0358.0005-.0716.0005-.1074 0-5.52285-4.4771-10-10-10-.0359 0-.0718.00019-.1076.00057-.5076.00535-.8926.43552-.8926.94308v.11543C10.9998 3.59163 11.4675 4 12 4c4.4183 0 8 3.58172 8 8 0 .5324.4083 1 .9407 1h.1157z"
|
|
22
|
+
}));
|
|
23
|
+
};
|
|
24
|
+
var MediumSpinnerIcon = function () {
|
|
25
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
26
|
+
className: styles.spinner,
|
|
27
|
+
"aria-hidden": "true",
|
|
28
|
+
viewBox: "0 0 48 48",
|
|
29
|
+
fill: "none",
|
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
31
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
32
|
+
cx: "24",
|
|
33
|
+
cy: "24",
|
|
34
|
+
r: "22.5",
|
|
35
|
+
stroke: "currentColor",
|
|
36
|
+
strokeWidth: "3",
|
|
37
|
+
strokeOpacity: "0.3"
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
fillRule: "evenodd",
|
|
40
|
+
clipRule: "evenodd",
|
|
41
|
+
fill: "currentColor",
|
|
42
|
+
d: "M46.5 24c.8284 0 1.5049-.6734 1.4539-1.5002C47.21 10.44 37.5601.789989 25.5003.0461639 24.6734-.004835 24 .671607 24 1.50003c0 .82843.6738 1.49444 1.5002 1.55277 10.4023.73424 18.7128 9.0447 19.447 19.447C45.0056 23.3262 45.6716 24 46.5 24z"
|
|
43
|
+
}));
|
|
44
|
+
};
|
|
45
|
+
var ExtraSmallSpinnerIcon = function () {
|
|
46
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
47
|
+
className: styles.spinner,
|
|
48
|
+
viewBox: "0 0 16 16",
|
|
49
|
+
fill: "none",
|
|
50
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
51
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
52
|
+
opacity: "0.3",
|
|
53
|
+
cx: "8",
|
|
54
|
+
cy: "8",
|
|
55
|
+
r: "6",
|
|
56
|
+
stroke: "currentColor",
|
|
57
|
+
strokeWidth: "2"
|
|
58
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
59
|
+
d: "M14 8C14 4.68629 11.3137 2 8 2",
|
|
60
|
+
stroke: "currentColor",
|
|
61
|
+
strokeWidth: "2",
|
|
62
|
+
strokeLinecap: "round",
|
|
63
|
+
strokeLinejoin: "round"
|
|
64
|
+
}));
|
|
65
|
+
};
|
|
66
|
+
var SpinnerIcon = function (_a) {
|
|
67
|
+
var size = _a.size;
|
|
68
|
+
if (size === "xs") return /*#__PURE__*/React.createElement(ExtraSmallSpinnerIcon, null);
|
|
69
|
+
if (size === "sm") return /*#__PURE__*/React.createElement(SmallSpinnerIcon, null);
|
|
70
|
+
return /*#__PURE__*/React.createElement(MediumSpinnerIcon, null);
|
|
71
|
+
};
|
|
72
|
+
export { SpinnerIcon };
|
|
@@ -2,11 +2,6 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { Heading } from '../../Heading/Heading.mjs';
|
|
5
|
-
import '../../Icon/subcomponents/SVG/SVG.mjs';
|
|
6
|
-
import { CautionWhiteIcon } from '../../Icon/CautionWhiteIcon.mjs';
|
|
7
|
-
import { ExclamationWhiteIcon } from '../../Icon/ExclamationWhiteIcon.mjs';
|
|
8
|
-
import { InformationWhiteIcon } from '../../Icon/InformationWhiteIcon.mjs';
|
|
9
|
-
import { SuccessWhiteIcon } from '../../Icon/SuccessWhiteIcon.mjs';
|
|
10
5
|
import { Assertive, Positive, Negative, Informative, Cautionary } from '../../Illustration/Spot/Spot.mjs';
|
|
11
6
|
import '../../Illustration/Scene/BrandMomentCaptureIntro/BrandMomentCaptureIntro.mjs';
|
|
12
7
|
import '../../Illustration/Scene/Scene.mjs';
|
|
@@ -17,37 +12,47 @@ import { ModalFooter } from '../GenericModal/subcomponents/ModalFooter/ModalFoot
|
|
|
17
12
|
import { ModalHeader } from '../GenericModal/subcomponents/ModalHeader/ModalHeader.mjs';
|
|
18
13
|
import { ModalAccessibleLabel } from '../GenericModal/subcomponents/ModalAccessibleLabel/ModalAccessibleLabel.mjs';
|
|
19
14
|
import { ModalBody } from '../GenericModal/subcomponents/ModalBody/ModalBody.mjs';
|
|
15
|
+
import { Icon } from '../../__future__/Icon/Icon.mjs';
|
|
20
16
|
import styles from './ConfirmationModal.module.scss.mjs';
|
|
21
|
-
var
|
|
17
|
+
var getIconName = function (variantName) {
|
|
22
18
|
switch (variantName) {
|
|
23
19
|
case "cautionary":
|
|
24
|
-
return
|
|
25
|
-
inheritSize: true,
|
|
26
|
-
role: "presentation"
|
|
27
|
-
}));
|
|
20
|
+
return "warning";
|
|
28
21
|
case "informative":
|
|
29
|
-
return
|
|
30
|
-
inheritSize: true,
|
|
31
|
-
role: "presentation"
|
|
32
|
-
}));
|
|
22
|
+
return "info";
|
|
33
23
|
case "negative":
|
|
34
24
|
case "warning":
|
|
35
|
-
return
|
|
36
|
-
inheritSize: true,
|
|
37
|
-
role: "presentation"
|
|
38
|
-
}));
|
|
25
|
+
return "error";
|
|
39
26
|
case "positive":
|
|
40
27
|
case "success":
|
|
41
|
-
return
|
|
42
|
-
inheritSize: true,
|
|
43
|
-
role: "presentation"
|
|
44
|
-
}));
|
|
28
|
+
return "check_circle";
|
|
45
29
|
case "assertive":
|
|
46
|
-
return
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
30
|
+
return "error";
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
var getIcon = function (variantName, isProminent) {
|
|
34
|
+
if (isProminent) {
|
|
35
|
+
switch (variantName) {
|
|
36
|
+
case "cautionary":
|
|
37
|
+
return /*#__PURE__*/React.createElement(Cautionary, null);
|
|
38
|
+
case "informative":
|
|
39
|
+
return /*#__PURE__*/React.createElement(Informative, null);
|
|
40
|
+
case "negative":
|
|
41
|
+
case "warning":
|
|
42
|
+
return /*#__PURE__*/React.createElement(Negative, null);
|
|
43
|
+
case "positive":
|
|
44
|
+
case "success":
|
|
45
|
+
return /*#__PURE__*/React.createElement(Positive, null);
|
|
46
|
+
case "assertive":
|
|
47
|
+
return /*#__PURE__*/React.createElement(Assertive, null);
|
|
48
|
+
}
|
|
50
49
|
}
|
|
50
|
+
var iconName = getIconName(variantName);
|
|
51
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
52
|
+
name: iconName,
|
|
53
|
+
isPresentational: true,
|
|
54
|
+
isFilled: true
|
|
55
|
+
});
|
|
51
56
|
};
|
|
52
57
|
/**
|
|
53
58
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082093114/Modal Guidance} |
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import '
|
|
3
|
-
import '../../../../Icon/subcomponents/SVG/SVG.mjs';
|
|
4
|
-
import { CloseIcon } from '../../../../Icon/CloseIcon.mjs';
|
|
2
|
+
import { Icon } from '../../../../__future__/Icon/Icon.mjs';
|
|
5
3
|
import { ModalBody } from '../ModalBody/ModalBody.mjs';
|
|
6
4
|
import styles from './ModalHeader.module.scss.mjs';
|
|
7
5
|
import { IconButton } from '../../../../__actions__/Button/v1/IconButton/IconButton.mjs';
|
|
@@ -14,8 +12,9 @@ const ModalHeader = /*#__PURE__*/function () {
|
|
|
14
12
|
className: styles.dismissButton
|
|
15
13
|
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
16
14
|
label: "Dismiss",
|
|
17
|
-
icon: /*#__PURE__*/React.createElement(
|
|
18
|
-
|
|
15
|
+
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
16
|
+
name: "close",
|
|
17
|
+
isPresentational: true
|
|
19
18
|
}),
|
|
20
19
|
reversed: reversed,
|
|
21
20
|
onClick: onDismiss,
|
|
@@ -1,25 +1,15 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React, { useRef, useEffect } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
-
import '../../../Icon/
|
|
5
|
-
import { CheckIcon } from '../../../Icon/CheckIcon.mjs';
|
|
6
|
-
import { MinusIcon } from '../../../Icon/MinusIcon.mjs';
|
|
4
|
+
import { Icon } from '../../../__future__/Icon/Icon.mjs';
|
|
7
5
|
import styles from './Checkbox.module.scss.mjs';
|
|
8
6
|
var renderIcon = function (status) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
case "checked":
|
|
16
|
-
return /*#__PURE__*/React.createElement(CheckIcon, {
|
|
17
|
-
role: "presentation",
|
|
18
|
-
classNameOverride: styles.icon
|
|
19
|
-
});
|
|
20
|
-
default:
|
|
21
|
-
return null;
|
|
22
|
-
}
|
|
7
|
+
if (status === "unchecked") return null;
|
|
8
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
9
|
+
name: status === "checked" ? "check" : "remove",
|
|
10
|
+
isPresentational: true,
|
|
11
|
+
className: styles.icon
|
|
12
|
+
});
|
|
23
13
|
};
|
|
24
14
|
const Checkbox = /*#__PURE__*/function () {
|
|
25
15
|
const Checkbox = function (_a) {
|
|
@@ -2,11 +2,9 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef, useId } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { ClearButton } from '../../../ClearButton/ClearButton.mjs';
|
|
5
|
-
import '../../../Icon/subcomponents/SVG/SVG.mjs';
|
|
6
|
-
import { ChevronDownIcon } from '../../../Icon/ChevronDownIcon.mjs';
|
|
7
|
-
import { ChevronUpIcon } from '../../../Icon/ChevronUpIcon.mjs';
|
|
8
5
|
import styles from './MultiSelectToggle.module.scss.mjs';
|
|
9
6
|
import { RemovableTag } from '../../../__future__/Tag/RemovableTag/RemovableTag.mjs';
|
|
7
|
+
import { Icon } from '../../../__future__/Icon/Icon.mjs';
|
|
10
8
|
const MultiSelectToggle = /*#__PURE__*/function () {
|
|
11
9
|
const MultiSelectToggle = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
12
10
|
var onClick = _a.onClick,
|
|
@@ -38,11 +36,10 @@ const MultiSelectToggle = /*#__PURE__*/function () {
|
|
|
38
36
|
e.stopPropagation();
|
|
39
37
|
onClick(e);
|
|
40
38
|
}
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
39
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
40
|
+
name: isOpen ? "keyboard_arrow_up" : "keyboard_arrow_down",
|
|
41
|
+
isPresentational: true
|
|
42
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
46
43
|
className: classnames(styles.selectedItemsContainer, selectedOptions.length && styles.hasSelectedItems)
|
|
47
44
|
}, selectedOptions.length > 0 && ( /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("ul", {
|
|
48
45
|
role: "list",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Icon } from '../../../__future__/Icon/Icon.mjs';
|
|
3
3
|
import styles from '../GenericNotification/GenericNotification.module.scss.mjs';
|
|
4
4
|
const CancelButton = /*#__PURE__*/function () {
|
|
5
5
|
const CancelButton = function (_a) {
|
|
@@ -10,8 +10,9 @@ const CancelButton = /*#__PURE__*/function () {
|
|
|
10
10
|
onClick: onClick,
|
|
11
11
|
"data-testid": "close-button",
|
|
12
12
|
"aria-label": "Close notification"
|
|
13
|
-
}, /*#__PURE__*/React.createElement(
|
|
14
|
-
|
|
13
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
14
|
+
name: "close",
|
|
15
|
+
isPresentational: true
|
|
15
16
|
}));
|
|
16
17
|
};
|
|
17
18
|
CancelButton.displayName = "CancelButton";
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import styles from './NotificationIcon.module.css.mjs';
|
|
3
|
+
import { Icon } from '../../../__future__/Icon/Icon.mjs';
|
|
4
|
+
var NotificationIcon = function (_a) {
|
|
5
|
+
var name = _a.name;
|
|
6
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
7
|
+
name: name,
|
|
8
|
+
isFilled: true,
|
|
9
|
+
isPresentational: true,
|
|
10
|
+
className: styles.notificationIcon
|
|
11
|
+
});
|
|
12
|
+
};
|
|
7
13
|
const NotificationIconType = /*#__PURE__*/function () {
|
|
8
14
|
const NotificationIconType = function (_a) {
|
|
9
15
|
var type = _a.type;
|
|
10
16
|
switch (type) {
|
|
11
17
|
case "positive":
|
|
12
|
-
return /*#__PURE__*/React.createElement(
|
|
13
|
-
|
|
14
|
-
inheritSize: true
|
|
18
|
+
return /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
19
|
+
name: "check_circle"
|
|
15
20
|
});
|
|
16
21
|
case "negative":
|
|
17
|
-
return /*#__PURE__*/React.createElement(
|
|
18
|
-
|
|
19
|
-
inheritSize: true
|
|
22
|
+
return /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
23
|
+
name: "error"
|
|
20
24
|
});
|
|
21
25
|
case "cautionary":
|
|
22
|
-
return /*#__PURE__*/React.createElement(
|
|
23
|
-
|
|
24
|
-
inheritSize: true
|
|
26
|
+
return /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
27
|
+
name: "warning"
|
|
25
28
|
});
|
|
26
29
|
case "informative":
|
|
27
|
-
return /*#__PURE__*/React.createElement(
|
|
28
|
-
|
|
29
|
-
inheritSize: true
|
|
30
|
+
return /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
31
|
+
name: "info"
|
|
30
32
|
});
|
|
31
33
|
case "security":
|
|
32
|
-
return /*#__PURE__*/React.createElement(
|
|
33
|
-
|
|
34
|
-
inheritSize: true
|
|
34
|
+
return /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
35
|
+
name: "privacy_tip"
|
|
35
36
|
});
|
|
36
37
|
default:
|
|
37
|
-
return /*#__PURE__*/React.createElement(
|
|
38
|
-
|
|
39
|
-
inheritSize: true
|
|
38
|
+
return /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
39
|
+
name: "info"
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
};
|
|
@@ -48,29 +48,24 @@ const NotificationIconVariant = /*#__PURE__*/function () {
|
|
|
48
48
|
var variant = _a.variant;
|
|
49
49
|
switch (variant) {
|
|
50
50
|
case "success":
|
|
51
|
-
return /*#__PURE__*/React.createElement(
|
|
52
|
-
|
|
53
|
-
inheritSize: true
|
|
51
|
+
return /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
52
|
+
name: "check_circle"
|
|
54
53
|
});
|
|
55
54
|
case "warning":
|
|
56
|
-
return /*#__PURE__*/React.createElement(
|
|
57
|
-
|
|
58
|
-
inheritSize: true
|
|
55
|
+
return /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
56
|
+
name: "error"
|
|
59
57
|
});
|
|
60
58
|
case "cautionary":
|
|
61
|
-
return /*#__PURE__*/React.createElement(
|
|
62
|
-
|
|
63
|
-
inheritSize: true
|
|
59
|
+
return /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
60
|
+
name: "warning"
|
|
64
61
|
});
|
|
65
62
|
case "informative":
|
|
66
|
-
return /*#__PURE__*/React.createElement(
|
|
67
|
-
|
|
68
|
-
inheritSize: true
|
|
63
|
+
return /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
64
|
+
name: "info"
|
|
69
65
|
});
|
|
70
66
|
case "security":
|
|
71
|
-
return /*#__PURE__*/React.createElement(
|
|
72
|
-
|
|
73
|
-
inheritSize: true
|
|
67
|
+
return /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
68
|
+
name: "privacy_tip"
|
|
74
69
|
});
|
|
75
70
|
}
|
|
76
71
|
};
|
|
@@ -1,24 +1,12 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import '../../../Icon/subcomponents/SVG/SVG.mjs';
|
|
4
|
-
import { ArrowBackwardIcon } from '../../../Icon/ArrowBackwardIcon.mjs';
|
|
5
|
-
import { ArrowForwardIcon } from '../../../Icon/ArrowForwardIcon.mjs';
|
|
6
|
-
import { EndIcon } from '../../../Icon/EndIcon.mjs';
|
|
7
|
-
import { StartIcon } from '../../../Icon/StartIcon.mjs';
|
|
8
3
|
import { GenericButton } from '../../../__actions__/Button/v1/GenericButton/GenericButton.mjs';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}),
|
|
16
|
-
start: /*#__PURE__*/React.createElement(StartIcon, {
|
|
17
|
-
role: "presentation"
|
|
18
|
-
}),
|
|
19
|
-
end: /*#__PURE__*/React.createElement(EndIcon, {
|
|
20
|
-
role: "presentation"
|
|
21
|
-
})
|
|
4
|
+
import { Icon } from '../../../__future__/Icon/Icon.mjs';
|
|
5
|
+
var iconNameMap = {
|
|
6
|
+
prev: "arrow_back",
|
|
7
|
+
next: "arrow_forward",
|
|
8
|
+
start: "keyboard_tab_rtl",
|
|
9
|
+
end: "keyboard_tab"
|
|
22
10
|
};
|
|
23
11
|
/**
|
|
24
12
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082092975/Pagination Guidance} |
|
|
@@ -37,7 +25,11 @@ const DirectionalLink = /*#__PURE__*/function () {
|
|
|
37
25
|
}, otherProps, {
|
|
38
26
|
iconButton: true,
|
|
39
27
|
directionalLink: true,
|
|
40
|
-
icon:
|
|
28
|
+
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
29
|
+
name: iconNameMap[otherProps.direction],
|
|
30
|
+
isPresentational: true,
|
|
31
|
+
shouldMirrorInRTL: true
|
|
32
|
+
})
|
|
41
33
|
}));
|
|
42
34
|
};
|
|
43
35
|
DirectionalLink.displayName = "DirectionalLink";
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import '
|
|
3
|
-
import '../../../Icon/subcomponents/SVG/SVG.mjs';
|
|
4
|
-
import { EllipsisIcon } from '../../../Icon/EllipsisIcon.mjs';
|
|
2
|
+
import { Icon } from '../../../__future__/Icon/Icon.mjs';
|
|
5
3
|
import styles from './TruncateIndicator.module.scss.mjs';
|
|
6
4
|
var TruncateIndicator = function () {
|
|
7
5
|
return /*#__PURE__*/React.createElement("div", {
|
|
8
6
|
className: styles.truncateIndicatorWrapper,
|
|
9
7
|
"data-testid": "truncate-indicator"
|
|
10
|
-
}, /*#__PURE__*/React.createElement(
|
|
11
|
-
|
|
8
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
9
|
+
name: "more_horiz",
|
|
10
|
+
isPresentational: true
|
|
12
11
|
}));
|
|
13
12
|
};
|
|
14
13
|
export { TruncateIndicator };
|
|
@@ -3,9 +3,8 @@ import React, { useState, useMemo } from 'react';
|
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { usePopper } from 'react-popper';
|
|
5
5
|
import { Heading } from '../Heading/Heading.mjs';
|
|
6
|
-
import '../Icon/subcomponents/SVG/SVG.mjs';
|
|
7
|
-
import { CloseIcon } from '../Icon/CloseIcon.mjs';
|
|
8
6
|
import { Text } from '../Text/Text.mjs';
|
|
7
|
+
import { Icon } from '../__future__/Icon/Icon.mjs';
|
|
9
8
|
import { mapSizeToClass, mapVariantToBoxClass, mapVariantToIconClass, mapVariantToIcon, mapLineVariant, mapArrowVariantToClass } from './utils/classMappers.mjs';
|
|
10
9
|
import styles from './Popover.module.scss.mjs';
|
|
11
10
|
|
|
@@ -96,8 +95,10 @@ const Popover = /*#__PURE__*/function () {
|
|
|
96
95
|
onClick: onClose,
|
|
97
96
|
type: "button",
|
|
98
97
|
"aria-label": "close"
|
|
99
|
-
}, /*#__PURE__*/React.createElement(
|
|
100
|
-
|
|
98
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
99
|
+
name: "close",
|
|
100
|
+
isPresentational: true,
|
|
101
|
+
isFilled: true
|
|
101
102
|
}))))), /*#__PURE__*/React.createElement(Text, {
|
|
102
103
|
tag: "div",
|
|
103
104
|
variant: "small",
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import '
|
|
3
|
-
import '../../Icon/subcomponents/SVG/SVG.mjs';
|
|
4
|
-
import { CautionIcon } from '../../Icon/CautionIcon.mjs';
|
|
5
|
-
import { ExclamationIcon } from '../../Icon/ExclamationIcon.mjs';
|
|
6
|
-
import { InformationIcon } from '../../Icon/InformationIcon.mjs';
|
|
7
|
-
import { SuccessIcon } from '../../Icon/SuccessIcon.mjs';
|
|
2
|
+
import { Icon } from '../../__future__/Icon/Icon.mjs';
|
|
8
3
|
import styles from '../Popover.module.scss.mjs';
|
|
9
4
|
var mapVariantToBoxClass = function (variant) {
|
|
10
5
|
switch (variant) {
|
|
@@ -37,24 +32,34 @@ var mapVariantToIconClass = function (variant) {
|
|
|
37
32
|
var mapVariantToIcon = function (variant) {
|
|
38
33
|
switch (variant) {
|
|
39
34
|
case "informative":
|
|
40
|
-
return /*#__PURE__*/React.createElement(
|
|
41
|
-
|
|
35
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
36
|
+
name: "info",
|
|
37
|
+
isPresentational: true,
|
|
38
|
+
isFilled: true
|
|
42
39
|
});
|
|
43
40
|
case "positive":
|
|
44
|
-
return /*#__PURE__*/React.createElement(
|
|
45
|
-
|
|
41
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
42
|
+
name: "check_circle",
|
|
43
|
+
isPresentational: true,
|
|
44
|
+
isFilled: true
|
|
46
45
|
});
|
|
47
46
|
case "negative":
|
|
48
|
-
return /*#__PURE__*/React.createElement(
|
|
49
|
-
|
|
47
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
48
|
+
name: "error",
|
|
49
|
+
isPresentational: true,
|
|
50
|
+
isFilled: true
|
|
50
51
|
});
|
|
51
52
|
case "cautionary":
|
|
52
|
-
return /*#__PURE__*/React.createElement(
|
|
53
|
-
|
|
53
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
54
|
+
name: "warning",
|
|
55
|
+
isPresentational: true,
|
|
56
|
+
isFilled: true
|
|
54
57
|
});
|
|
55
58
|
default:
|
|
56
|
-
return /*#__PURE__*/React.createElement(
|
|
57
|
-
|
|
59
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
60
|
+
name: "info",
|
|
61
|
+
isPresentational: true,
|
|
62
|
+
isFilled: true
|
|
58
63
|
});
|
|
59
64
|
}
|
|
60
65
|
};
|