@kaizen/components 0.0.0-canary-kz-components-css-layer-pre-release-20250527021003 → 0.0.0-canary-fix-fms-popover-20250603003244
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/dist/cjs/src/Calendar/CalendarRange/CalendarRange.cjs +13 -12
- package/dist/cjs/src/Calendar/CalendarRange/CalendarRange.module.scss.cjs +3 -2
- package/dist/cjs/src/Calendar/CalendarSingle/CalendarSingle.cjs +8 -8
- package/dist/cjs/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.cjs +12 -11
- package/dist/cjs/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.module.scss.cjs +1 -0
- package/dist/cjs/src/Calendar/baseCalendarClassNames.cjs +13 -11
- package/dist/cjs/src/Calendar/baseCalendarClassNames.module.scss.cjs +2 -1
- package/dist/cjs/src/Calendar/utils/setFocusInCalendar.cjs +6 -7
- package/dist/cjs/src/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.cjs +1 -1
- package/dist/cjs/src/Filter/FilterMultiSelect/FilterMultiSelect.cjs +7 -3
- package/dist/cjs/src/Filter/FilterMultiSelect/subcomponents/MenuPopup/MenuPopup.cjs +67 -37
- package/dist/cjs/src/RichTextEditor/utils/schema/marks.cjs +5 -6
- package/dist/esm/src/Calendar/CalendarRange/CalendarRange.mjs +13 -12
- package/dist/esm/src/Calendar/CalendarRange/CalendarRange.module.scss.mjs +3 -2
- package/dist/esm/src/Calendar/CalendarSingle/CalendarSingle.mjs +8 -8
- package/dist/esm/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.mjs +12 -11
- package/dist/esm/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.module.scss.mjs +1 -0
- package/dist/esm/src/Calendar/baseCalendarClassNames.mjs +13 -11
- package/dist/esm/src/Calendar/baseCalendarClassNames.module.scss.mjs +2 -1
- package/dist/esm/src/Calendar/utils/setFocusInCalendar.mjs +6 -7
- package/dist/esm/src/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.mjs +1 -1
- package/dist/esm/src/Filter/FilterMultiSelect/FilterMultiSelect.mjs +7 -3
- package/dist/esm/src/Filter/FilterMultiSelect/subcomponents/MenuPopup/MenuPopup.mjs +68 -40
- package/dist/esm/src/RichTextEditor/utils/schema/marks.mjs +5 -6
- package/dist/styles.css +10102 -9903
- package/dist/types/Calendar/CalendarRange/CalendarRange.d.ts +2 -2
- package/dist/types/Calendar/CalendarSingle/CalendarSingle.d.ts +2 -2
- package/dist/types/Calendar/LegacyCalendarRange/LegacyCalendarRange.d.ts +2 -3
- package/dist/types/Calendar/baseCalendarClassNames.d.ts +2 -2
- package/dist/types/Filter/FilterMultiSelect/FilterMultiSelect.d.ts +1 -1
- package/dist/types/Filter/FilterMultiSelect/subcomponents/MenuPopup/MenuPopup.d.ts +7 -4
- package/dist/types/RichTextEditor/utils/schema/marks.d.ts +1 -1
- package/package.json +43 -44
- package/src/Avatar/Avatar.module.css +135 -137
- package/src/AvatarGroup/AvatarGroup.module.css +56 -58
- package/src/Badge/Badge.module.css +96 -98
- package/src/Brand/Brand.module.css +3 -5
- package/src/BrandMoment/BrandMoment.module.css +145 -147
- package/src/BrandMoment/_docs/ExampleHeaders.module.scss +66 -68
- package/src/Button/Button/Button.module.scss +133 -135
- package/src/Button/GenericButton/GenericButton.module.scss +79 -81
- package/src/Button/IconButton/IconButton.module.scss +18 -20
- package/src/ButtonGroup/ButtonGroup.module.css +36 -38
- package/src/ButtonGroup/ButtonGroup.module.scss +39 -41
- package/src/Calendar/CalendarPopover/CalendarPopover.module.scss +17 -19
- package/src/Calendar/CalendarRange/CalendarRange.module.scss +45 -47
- package/src/Calendar/CalendarRange/CalendarRange.tsx +11 -15
- package/src/Calendar/CalendarRange/_docs/CalendarRange.stickersheet.stories.tsx +1 -2
- package/src/Calendar/CalendarSingle/CalendarSingle.module.scss +9 -12
- package/src/Calendar/CalendarSingle/CalendarSingle.tsx +6 -11
- package/src/Calendar/CalendarSingle/_docs/CalendarSingle.stickersheet.stories.tsx +3 -8
- package/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.module.scss +18 -21
- package/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.tsx +11 -15
- package/src/Calendar/baseCalendarClassNames.module.scss +156 -151
- package/src/Calendar/baseCalendarClassNames.ts +15 -13
- package/src/Calendar/utils/isSelectingDayInCalendar.spec.tsx +1 -2
- package/src/Calendar/utils/setFocusInCalendar.spec.tsx +4 -8
- package/src/Calendar/utils/setFocusInCalendar.ts +10 -10
- package/src/Card/Card.module.css +89 -91
- package/src/Checkbox/Checkbox/Checkbox.module.scss +87 -89
- package/src/Checkbox/CheckboxField/CheckboxField.module.scss +30 -32
- package/src/Checkbox/CheckboxGroup/CheckboxGroup.module.scss +9 -11
- package/src/ClearButton/ClearButton.module.scss +30 -32
- package/src/Collapsible/Collapsible/Collapsible.module.scss +85 -87
- package/src/Collapsible/CollapsibleGroup/CollapsibleGroup.module.scss +7 -9
- package/src/Collapsible/ExpertAdviceCollapsible/ExpertAdviceCollapsible.module.scss +33 -35
- package/src/Container/Container.module.scss +9 -11
- package/src/Content/Content.module.scss +8 -10
- package/src/DateInput/DateInput/DateInput.module.scss +5 -7
- package/src/DateInput/DateInputDescription/DateInputDescription.module.scss +13 -15
- package/src/DateInput/DateInputWithIconButton/DateInputWithIconButton.module.scss +30 -32
- package/src/DatePicker/DatePicker.module.scss +5 -7
- package/src/DatePicker/DatePicker.spec.tsx +9 -10
- package/src/DatePicker/DatePicker.tsx +2 -2
- package/src/DatePicker/subcomponents/DateInputField/DateInputField.module.scss +3 -5
- package/src/DateRangePicker/DateRangePicker.module.scss +73 -75
- package/src/Divider/Divider.module.scss +33 -35
- package/src/EmptyState/EmptyState.module.css +93 -95
- package/src/ErrorPage/ErrorPage.module.scss +2 -4
- package/src/FieldGroup/FieldGroup.module.scss +6 -8
- package/src/FieldMessage/FieldMessage.module.scss +51 -53
- package/src/Filter/Filter/Filter.module.css +3 -5
- package/src/Filter/Filter/subcomponents/FilterContents/FilterContents.module.css +2 -4
- package/src/Filter/Filter/subcomponents/FilterPopover/FilterPopover.module.css +6 -8
- package/src/Filter/FilterBar/FilterBar.module.css +15 -17
- package/src/Filter/FilterBar/subcomponents/ClearAllButton/ClearAllButton.module.css +5 -7
- package/src/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.module.css +2 -4
- package/src/Filter/FilterBar/subcomponents/FilterBarDatePicker/FilterBarDatePicker.spec.tsx +2 -4
- package/src/Filter/FilterBar/subcomponents/FilterBarDateRangePicker/FilterBarDateRangePicker.spec.tsx +2 -6
- package/src/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.module.css +3 -5
- package/src/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.spec.tsx +1 -0
- package/src/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.tsx +1 -1
- package/src/Filter/FilterButton/FilterButton/FilterButton.module.css +17 -19
- package/src/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.module.css +2 -4
- package/src/Filter/FilterButton/subcomponents/FilterButtonBase/FilterButtonBase.module.scss +40 -42
- package/src/Filter/FilterDatePicker/FilterDatePicker.spec.tsx +2 -3
- package/src/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.module.scss +2 -4
- package/src/Filter/FilterDatePicker/subcomponents/FilterDatePickerField/FilterDatePickerField.module.scss +4 -6
- package/src/Filter/FilterDatePicker/subcomponents/FilterDatePickerField/FilterDatePickerField.spec.tsx +4 -8
- package/src/Filter/FilterDateRangePicker/FilterDateRangePicker.module.css +5 -7
- package/src/Filter/FilterDateRangePicker/_docs/FilterDateRangePicker.stories.tsx +2 -2
- package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeDisplayLabel/DateRangeDisplayLabel.module.scss +3 -5
- package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.module.scss +34 -36
- package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeValidationMessage/DateRangeValidationMessage.module.scss +3 -5
- package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.module.scss +5 -7
- package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.spec.tsx +8 -14
- package/src/Filter/FilterMultiSelect/FilterMultiSelect.tsx +3 -2
- package/src/Filter/FilterMultiSelect/_docs/FilterMultiSelect.mdx +8 -0
- package/src/Filter/FilterMultiSelect/_docs/FilterMultiSelect.stories.tsx +88 -0
- package/src/Filter/FilterMultiSelect/context/MenuTriggerProvider/MenuTriggerProvider.spec.tsx +2 -18
- package/src/Filter/FilterMultiSelect/subcomponents/ListBox/ListBox.module.scss +17 -19
- package/src/Filter/FilterMultiSelect/subcomponents/ListBoxSection/ListBoxSection.module.scss +12 -14
- package/src/Filter/FilterMultiSelect/subcomponents/LoadMoreButton/LoadMoreButton.module.scss +2 -4
- package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuFooter/MenuFooter.module.scss +5 -7
- package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuLoadingSkeleton/MenuLoadingSkeleton.module.scss +6 -8
- package/src/Filter/FilterMultiSelect/subcomponents/MenuPopup/MenuPopup.module.scss +21 -17
- package/src/Filter/FilterMultiSelect/subcomponents/MenuPopup/MenuPopup.tsx +81 -41
- package/src/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.module.scss +88 -90
- package/src/Filter/FilterMultiSelect/subcomponents/NoResults/NoResults.module.scss +2 -4
- package/src/Filter/FilterMultiSelect/subcomponents/SearchInput/SearchInput.module.scss +3 -5
- package/src/Filter/FilterMultiSelect/subcomponents/SectionDivider/SectionDivider.module.scss +2 -4
- package/src/Filter/FilterMultiSelect/subcomponents/SelectionControlButton/SelectionControlButton.module.scss +50 -52
- package/src/Filter/FilterMultiSelect/subcomponents/Trigger/RemovableFilterTrigger/RemovableFilterTrigger.module.css +2 -4
- package/src/Filter/FilterSelect/FilterSelect.module.css +7 -9
- package/src/Focusable/Focusable.module.scss +2 -4
- package/src/GuidanceBlock/GuidanceBlock.module.css +210 -212
- package/src/Heading/Heading.module.scss +85 -87
- package/src/Icon/_docs/icon.module.scss +33 -35
- package/src/Icon/subcomponents/SVG/SVG.module.scss +24 -26
- package/src/Illustration/subcomponents/Base/Base.module.scss +98 -100
- package/src/Input/Input/Input.module.scss +215 -217
- package/src/Input/InputRange/InputRange.module.scss +136 -138
- package/src/Input/InputSearch/InputSearch.module.scss +152 -155
- package/src/Label/Label.module.scss +80 -82
- package/src/LabelledMessage/LabelledMessage.module.scss +6 -8
- package/src/LikertScaleLegacy/LikertScaleLegacy.module.scss +264 -266
- package/src/Link/Link.module.css +113 -115
- package/src/LinkButton/LinkButton.module.css +3 -5
- package/src/Loading/LoadingGraphic/LoadingGraphic.module.scss +10 -12
- package/src/Loading/LoadingHeading/LoadingHeading.module.scss +42 -44
- package/src/Loading/LoadingInput/LoadingInput.module.scss +9 -11
- package/src/Loading/LoadingParagraph/LoadingParagraph.module.scss +45 -47
- package/src/Loading/LoadingSpinner/LoadingSpinner.module.css +20 -22
- package/src/Loading/_mixins.scss +9 -11
- package/src/Menu/subcomponents/MenuDropdown/MenuDropdown.module.scss +16 -18
- package/src/Menu/subcomponents/MenuHeading/MenuHeading.module.scss +6 -8
- package/src/Menu/subcomponents/MenuItem/MenuItem.module.scss +72 -74
- package/src/Menu/subcomponents/MenuList/MenuList.module.scss +12 -14
- package/src/Menu/subcomponents/StatelessMenu/StatelessMenu.module.scss +2 -4
- package/src/Modal/ConfirmationModal/ConfirmationModal.module.scss +124 -126
- package/src/Modal/ContextModal/ContextModal.module.scss +70 -72
- package/src/Modal/GenericModal/GenericModal.module.scss +90 -92
- package/src/Modal/GenericModal/subcomponents/ModalAccessibleDescription/ModalAccessibleDescription.module.scss +2 -4
- package/src/Modal/GenericModal/subcomponents/ModalAccessibleLabel/ModalAccessibleLabel.module.scss +23 -25
- package/src/Modal/GenericModal/subcomponents/ModalBody/ModalBody.module.scss +3 -5
- package/src/Modal/GenericModal/subcomponents/ModalFooter/ModalFooter.module.scss +53 -55
- package/src/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.module.scss +15 -17
- package/src/Modal/InputEditModal/InputEditModal.module.scss +30 -32
- package/src/MultiSelect/MultiSelect.module.scss +5 -7
- package/src/MultiSelect/subcomponents/Checkbox/Checkbox.module.scss +57 -59
- package/src/MultiSelect/subcomponents/MultiSelectOptionField/MultiSelectOptionField.module.scss +53 -55
- package/src/MultiSelect/subcomponents/MultiSelectOptions/MultiSelectOptions.module.scss +6 -8
- package/src/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.module.scss +64 -66
- package/src/MultiSelect/subcomponents/Popover/Popover.module.scss +13 -15
- package/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.module.scss +19 -21
- package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +110 -112
- package/src/Notification/subcomponents/GenericNotification/_mixins.scss +276 -278
- package/src/Notification/subcomponents/NotificationIcon/NotificationIcon.module.css +2 -4
- package/src/Pagination/Pagination.module.scss +37 -39
- package/src/Pagination/subcomponents/DirectionalLink/DirectionalLink.module.scss +9 -11
- package/src/Pagination/subcomponents/PaginationLink/PaginationLink.module.scss +51 -53
- package/src/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.module.css +8 -10
- package/src/Popover/Popover.module.scss +185 -187
- package/src/ProgressBar/ProgressBar.module.scss +73 -75
- package/src/ProgressBar/subcomponents/Label/Label.module.scss +4 -6
- package/src/Radio/Radio/Radio.module.scss +58 -60
- package/src/Radio/RadioField/RadioField.module.scss +32 -33
- package/src/Radio/RadioGroup/RadioGroup.module.scss +16 -18
- package/src/RichTextEditor/EditableRichTextContent/EditableRichTextContent.module.scss +30 -32
- package/src/RichTextEditor/RichTextContent/RichTextContent.module.scss +2 -4
- package/src/RichTextEditor/RichTextEditor/RichTextEditor.module.scss +74 -76
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/ToggleIconButton.module.scss +90 -92
- package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/Toolbar.module.scss +3 -5
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToolbarSection/ToolbarSection.module.scss +10 -12
- package/src/RichTextEditor/_mixins.scss +1 -2
- package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkModal/LinkModal.module.scss +3 -5
- package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.module.scss +20 -22
- package/src/RichTextEditor/utils/schema/marks.ts +8 -9
- package/src/SearchField/SearchField.module.scss +3 -5
- package/src/Select/Select.module.scss +0 -17
- package/src/Skirt/Skirt.module.scss +22 -24
- package/src/Skirt/subcomponents/SkirtCard/SkirtCard.module.scss +11 -13
- package/src/Slider/Slider.module.scss +32 -34
- package/src/SplitButton/SplitButton.module.scss +3 -5
- package/src/SplitButton/subcomponents/ActionButton/ActionButton.module.scss +5 -7
- package/src/SplitButton/subcomponents/BaseButton/BaseButton.module.scss +63 -65
- package/src/SplitButton/subcomponents/DropdownButton/DropdownButton.module.scss +17 -19
- package/src/Table/Table.module.scss +249 -251
- package/src/Tabs/subcomponents/Tab.module.scss +79 -81
- package/src/Tabs/subcomponents/TabList.module.scss +6 -8
- package/src/Tabs/subcomponents/TabPanel.module.scss +8 -10
- package/src/Tag/Tag.module.scss +164 -166
- package/src/Tag/subcomponents/LiveIcon/LiveIcon.module.css +40 -42
- package/src/Text/Text.module.scss +55 -57
- package/src/TextArea/TextArea.module.css +100 -103
- package/src/TextAreaField/TextAreaField.module.scss +12 -14
- package/src/TextField/TextField.module.scss +14 -16
- package/src/Tile/MultiActionTile/MultiActionTile.module.scss +5 -7
- package/src/Tile/TileGrid/TileGrid.module.scss +16 -18
- package/src/Tile/subcomponents/GenericTile/GenericTile.module.scss +121 -123
- package/src/TimeField/TimeField.module.scss +55 -57
- package/src/TimeField/subcomponents/TimeSegment/TimeSegment.module.scss +35 -37
- package/src/TitleBlockZen/TitleBlockZen.module.scss +505 -507
- package/src/TitleBlockZen/subcomponents/MainActions.module.scss +9 -11
- package/src/TitleBlockZen/subcomponents/MobileActions.module.scss +144 -146
- package/src/TitleBlockZen/subcomponents/NavigationTabs.module.scss +103 -105
- package/src/TitleBlockZen/subcomponents/TitleBlockMenuItem.module.scss +72 -74
- package/src/TitleBlockZen/subcomponents/Toolbar.module.scss +26 -28
- package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss +103 -105
- package/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss +9 -11
- package/src/Tooltip/Tooltip.module.scss +137 -139
- package/src/VisuallyHidden/VisuallyHidden.module.scss +8 -10
- package/src/Well/Well.module.css +102 -104
- package/src/Workflow/subcomponents/Footer/components/FooterActions/FooterActions.module.css +12 -14
- package/src/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.module.css +99 -101
- package/src/Workflow/subcomponents/Footer/components/Root/FooterRoot.module.css +17 -19
- package/src/Workflow/subcomponents/Header/components/Actions/Actions.module.css +12 -14
- package/src/Workflow/subcomponents/Header/components/Branding/Branding.module.css +10 -12
- package/src/Workflow/subcomponents/Header/components/Root/Root.module.css +17 -19
- package/src/Workflow/subcomponents/Header/components/Titles/Titles.module.css +17 -19
- package/src/Workflow/subcomponents/Main/Main.module.css +3 -5
- package/src/Workflow/subcomponents/Wrapper/Wrapper.module.css +6 -8
- package/src/__next__/Button/Button.module.css +218 -220
- package/src/__next__/Button/subcomponents/ButtonContent/ButtonContent.module.css +15 -17
- package/src/__next__/Button/subcomponents/PendingContent/PendingContent.module.css +13 -15
- package/src/__next__/Icon/Icon.module.css +38 -40
- package/src/__next__/Icon/_docs/Icon.docs.module.css +11 -13
- package/src/__next__/Menu/Menu.module.css +28 -30
- package/src/__next__/Menu/MenuItem.module.css +39 -41
- package/src/__next__/Select/Select.module.scss +6 -8
- package/src/__next__/Select/subcomponents/ListBox/ListBox.module.scss +10 -12
- package/src/__next__/Select/subcomponents/ListBoxSection/ListBoxSection.module.scss +13 -15
- package/src/__next__/Select/subcomponents/Option/Option.module.scss +51 -53
- package/src/__next__/Select/subcomponents/SectionDivider/SectionDivider.module.scss +6 -8
- package/src/__next__/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.module.scss +2 -4
- package/src/__next__/Select/subcomponents/SelectToggle/SelectToggle.module.scss +103 -105
- package/src/__next__/Tabs/subcomponents/Tab/Tab.module.css +79 -81
- package/src/__next__/Tabs/subcomponents/TabList/TabList.module.css +54 -56
- package/src/__next__/Tabs/subcomponents/TabPanel/TabPanel.module.css +8 -10
- package/src/__next__/Tag/RemovableTag/RemovableTag.module.scss +4 -6
- package/src/__next__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss +24 -26
- package/src/__next__/Tag/Tag/Tag.module.scss +54 -56
- package/src/__next__/Tooltip/OverlayArrow.module.scss +38 -40
- package/src/__next__/Tooltip/Tooltip.module.scss +37 -39
- package/src/__next__/Tooltip/_docs/ApiSpecification.mdx +2 -2
- package/src/__next__/Tooltip/_docs/Tooltip.docs.stories.tsx +30 -15
- package/src/__next__/Tooltip/_docs/Tooltip.mdx +1 -1
- package/src/__next__/Tooltip/_docs/Tooltip.spec.stories.tsx +58 -21
- package/src/__next__/Tooltip/_docs/Tooltip.stories.tsx +2 -2
- package/src/utils/AppearanceAnim.module.scss +12 -14
|
@@ -3,106 +3,104 @@
|
|
|
3
3
|
@import '~@kaizen/design-tokens/sass/spacing';
|
|
4
4
|
@import '../GenericModal/GenericModal.module';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
@extend %genericModal;
|
|
6
|
+
.modal {
|
|
7
|
+
@extend %genericModal;
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
min-width: 300px;
|
|
10
|
+
max-width: 840px;
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
@media (min-width: $layout-breakpoints-medium) {
|
|
13
|
+
width: 90%;
|
|
14
|
+
}
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
.animatingEnter & {
|
|
17
|
+
animation-duration: $ca-duration-fast;
|
|
18
|
+
animation-fill-mode: forwards;
|
|
19
|
+
animation-timing-function: $ca-bounce-in;
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
@include ca-animation(fade($from: 0, $to: 1), zoom($from: 0.5, $to: 1));
|
|
22
|
+
}
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
.animatingLeave & {
|
|
25
|
+
animation-duration: $ca-duration-rapid;
|
|
26
|
+
animation-fill-mode: forwards;
|
|
27
|
+
animation-timing-function: $ca-bounce-out;
|
|
29
28
|
|
|
30
|
-
|
|
31
|
-
}
|
|
29
|
+
@include ca-animation(fade($from: 1, $to: 0), zoom($from: 1, $to: 0.5));
|
|
32
30
|
}
|
|
31
|
+
}
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
.header {
|
|
34
|
+
color: $color-purple-800;
|
|
35
|
+
text-align: start;
|
|
37
36
|
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
&.padded {
|
|
38
|
+
padding: $spacing-md;
|
|
40
39
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
40
|
+
@media (min-width: $layout-breakpoints-medium) {
|
|
41
|
+
padding: $spacing-md $spacing-lg;
|
|
44
42
|
}
|
|
45
43
|
}
|
|
44
|
+
}
|
|
46
45
|
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
%footer {
|
|
47
|
+
white-space: initial;
|
|
49
48
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
49
|
+
@media (min-width: $layout-breakpoints-medium) {
|
|
50
|
+
white-space: nowrap;
|
|
53
51
|
}
|
|
52
|
+
}
|
|
54
53
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
.footer {
|
|
55
|
+
@extend %footer;
|
|
56
|
+
}
|
|
58
57
|
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
.footerWithSecondaryAction {
|
|
59
|
+
@extend %footer;
|
|
61
60
|
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
margin-inline-start: calc(-1 * #{$spacing-sm});
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.emptyFooter {
|
|
65
|
+
height: $spacing-sm;
|
|
66
|
+
}
|
|
64
67
|
|
|
65
|
-
|
|
66
|
-
|
|
68
|
+
.portraitContentlayout {
|
|
69
|
+
padding: $spacing-md;
|
|
70
|
+
display: block;
|
|
71
|
+
box-sizing: content-box;
|
|
72
|
+
|
|
73
|
+
@media (min-width: $layout-breakpoints-medium) {
|
|
74
|
+
display: grid;
|
|
75
|
+
max-width: 800px;
|
|
76
|
+
grid-auto-columns: 1fr;
|
|
77
|
+
grid-auto-flow: column;
|
|
78
|
+
column-gap: $spacing-xl;
|
|
79
|
+
padding: $spacing-md $spacing-lg;
|
|
67
80
|
}
|
|
81
|
+
}
|
|
68
82
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
83
|
+
.landscapeContentlayout {
|
|
84
|
+
display: flex;
|
|
85
|
+
padding: $spacing-md;
|
|
86
|
+
flex-direction: column;
|
|
73
87
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
max-width: 800px;
|
|
77
|
-
grid-auto-columns: 1fr;
|
|
78
|
-
grid-auto-flow: column;
|
|
79
|
-
column-gap: $spacing-xl;
|
|
80
|
-
padding: $spacing-md $spacing-lg;
|
|
81
|
-
}
|
|
88
|
+
@media (min-width: $layout-breakpoints-medium) {
|
|
89
|
+
padding: $spacing-md $spacing-lg;
|
|
82
90
|
}
|
|
83
91
|
|
|
84
|
-
.
|
|
92
|
+
.image {
|
|
85
93
|
display: flex;
|
|
86
|
-
padding: $spacing-md;
|
|
87
94
|
flex-direction: column;
|
|
95
|
+
align-items: center;
|
|
96
|
+
justify-content: center;
|
|
97
|
+
}
|
|
88
98
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.image {
|
|
94
|
-
display: flex;
|
|
95
|
-
flex-direction: column;
|
|
96
|
-
align-items: center;
|
|
97
|
-
justify-content: center;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.content {
|
|
101
|
-
padding-inline-start: 0;
|
|
99
|
+
.content {
|
|
100
|
+
padding-inline-start: 0;
|
|
102
101
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
102
|
+
@media (min-width: $layout-breakpoints-medium) {
|
|
103
|
+
max-width: 100%;
|
|
106
104
|
}
|
|
107
105
|
}
|
|
108
106
|
}
|
|
@@ -8,125 +8,123 @@
|
|
|
8
8
|
@import '../../../styles/utils/border';
|
|
9
9
|
@import '../../../styles/utils/animation';
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
11
|
+
.defaultModalWidth {
|
|
12
|
+
min-width: 300px;
|
|
13
|
+
max-width: 600px;
|
|
14
|
+
}
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
.backdropLayer {
|
|
17
|
+
position: fixed;
|
|
18
|
+
background-color: #000;
|
|
19
|
+
opacity: 50%;
|
|
20
|
+
z-index: $ca-z-index-modal-backdrop;
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
@include ca-position($start: 0, $end: 0, $top: 0, $bottom: 0);
|
|
23
|
+
}
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
.scrollLayer {
|
|
26
|
+
position: fixed;
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
z-index: $ca-z-index-modal;
|
|
30
|
+
overflow-y: auto;
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
@include ca-position($start: 0, $end: 0, $top: 0, $bottom: 0);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.modalLayer {
|
|
36
|
+
// use flexbox auto margins to horizontally and vertically centre the modal
|
|
37
|
+
// because in IE11, `align-items: center` and `justify-content: center` cause
|
|
38
|
+
// long modal content to become unreachable if they go off-screen
|
|
39
|
+
margin: auto;
|
|
40
|
+
padding: $ca-grid 0;
|
|
41
|
+
width: 100%;
|
|
42
|
+
}
|
|
35
43
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
%genericModal {
|
|
45
|
+
margin: auto;
|
|
46
|
+
background-color: $color-white;
|
|
47
|
+
border-radius: $border-solid-border-radius;
|
|
48
|
+
box-shadow: $shadow-large-box-shadow;
|
|
49
|
+
position: relative;
|
|
50
|
+
width: 90%;
|
|
51
|
+
-webkit-font-smoothing: antialiased;
|
|
52
|
+
color: $color-purple-800;
|
|
53
|
+
|
|
54
|
+
@include ca-media-tablet-and-up {
|
|
42
55
|
width: 100%;
|
|
43
56
|
}
|
|
44
57
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
border-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
width: 90%;
|
|
52
|
-
-webkit-font-smoothing: antialiased;
|
|
53
|
-
color: $color-purple-800;
|
|
54
|
-
|
|
55
|
-
@include ca-media-tablet-and-up {
|
|
56
|
-
width: 100%;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// wrap the modal container with a focus ring when the title has focus
|
|
60
|
-
// for the rebuild: rather than putting the focus on the title, put it on the role=dialog element itself
|
|
61
|
-
&:has(:global([class*='modalLabel']):focus-visible) {
|
|
62
|
-
outline: var(--border-focus-ring-border-width) var(--border-focus-ring-border-style)
|
|
63
|
-
var(--color-blue-300);
|
|
64
|
-
outline-offset: 2px;
|
|
65
|
-
}
|
|
58
|
+
// wrap the modal container with a focus ring when the title has focus
|
|
59
|
+
// for the rebuild: rather than putting the focus on the title, put it on the role=dialog element itself
|
|
60
|
+
&:has(:global([class*='modalLabel']):focus-visible) {
|
|
61
|
+
outline: var(--border-focus-ring-border-width) var(--border-focus-ring-border-style)
|
|
62
|
+
var(--color-blue-300);
|
|
63
|
+
outline-offset: 2px;
|
|
66
64
|
}
|
|
65
|
+
}
|
|
67
66
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
.transitionLayer {
|
|
68
|
+
transition: opacity $ca-duration-fast ease-in-out;
|
|
69
|
+
opacity: 1;
|
|
71
70
|
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
.backdropLayer {
|
|
72
|
+
/*
|
|
74
73
|
There's a weird bug in Chrome/Blink 102.x that animates the opacity
|
|
75
74
|
all the way to 1 with 200ms ("rapid" token), but is fine with
|
|
76
75
|
201ms, see Jira [KDS-523]
|
|
77
76
|
*/
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
@include ca-animation-fade($duration: 201ms, $from: 0, $to: 0.5);
|
|
78
|
+
}
|
|
80
79
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
[data-modal] {
|
|
81
|
+
animation-duration: $ca-duration-fast;
|
|
82
|
+
animation-fill-mode: forwards;
|
|
83
|
+
animation-timing-function: $ca-bounce-in;
|
|
85
84
|
|
|
86
|
-
|
|
87
|
-
}
|
|
85
|
+
@include ca-animation(fade($from: 0, $to: 1), zoom($from: 0.5, $to: 1));
|
|
88
86
|
}
|
|
87
|
+
}
|
|
89
88
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
89
|
+
// WAITING FOR TEXTFIELD
|
|
90
|
+
.animatingEnter {
|
|
91
|
+
[data-modal] {
|
|
92
|
+
animation-duration: $ca-duration-fast;
|
|
93
|
+
animation-fill-mode: forwards;
|
|
94
|
+
animation-timing-function: $ca-bounce-in;
|
|
96
95
|
|
|
97
|
-
|
|
98
|
-
}
|
|
96
|
+
@include ca-animation(fade($from: 0, $to: 1), zoom($from: 0.5, $to: 1));
|
|
99
97
|
}
|
|
98
|
+
}
|
|
100
99
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
.animatingLeave {
|
|
101
|
+
transition-duration: $ca-duration-rapid;
|
|
102
|
+
opacity: 0;
|
|
104
103
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
.backdropLayer {
|
|
105
|
+
@include ca-animation-fade($duration: $ca-duration-rapid, $from: 0.5, $to: 0);
|
|
106
|
+
}
|
|
108
107
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
108
|
+
[data-modal] {
|
|
109
|
+
animation-duration: $ca-duration-rapid;
|
|
110
|
+
animation-fill-mode: forwards;
|
|
111
|
+
animation-timing-function: $ca-bounce-out;
|
|
113
112
|
|
|
114
|
-
|
|
115
|
-
}
|
|
113
|
+
@include ca-animation(fade($from: 1, $to: 0), zoom($from: 1, $to: 0.5));
|
|
116
114
|
}
|
|
115
|
+
}
|
|
117
116
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
117
|
+
.unscrollable {
|
|
118
|
+
/* Tech debt - this !important existed before Stylelint rules */
|
|
119
|
+
overflow: hidden !important; /* stylelint-disable-line declaration-no-important */
|
|
120
|
+
}
|
|
122
121
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
122
|
+
.pseudoScrollbar {
|
|
123
|
+
/* Tech debt - this !important existed before Stylelint rules */
|
|
124
|
+
padding-inline-end: 15px !important; /* stylelint-disable-line declaration-no-important */
|
|
125
|
+
}
|
|
127
126
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
127
|
+
.hide {
|
|
128
|
+
opacity: 0%;
|
|
129
|
+
pointer-events: none;
|
|
132
130
|
}
|
package/src/Modal/GenericModal/subcomponents/ModalAccessibleLabel/ModalAccessibleLabel.module.scss
CHANGED
|
@@ -2,37 +2,35 @@
|
|
|
2
2
|
@import '~@kaizen/design-tokens/sass/border';
|
|
3
3
|
@import '~@kaizen/design-tokens/sass/layout';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
$ca-breakpoint-small-mobile: 375px;
|
|
5
|
+
// TODO - Remove below styles for Heading once responsive styling has been added to the Heading Component
|
|
6
|
+
$ca-breakpoint-small-mobile: 375px;
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
8
|
+
@mixin ca-media-small-mobile {
|
|
9
|
+
@media (max-width: #{$ca-breakpoint-small-mobile}) {
|
|
10
|
+
@content;
|
|
13
11
|
}
|
|
12
|
+
}
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@include ca-media-small-mobile {
|
|
24
|
-
font-size: 1.5rem;
|
|
25
|
-
line-height: 1.875rem;
|
|
26
|
-
}
|
|
14
|
+
.modalLabel {
|
|
15
|
+
// TODO - Remove below styles for Heading once responsive styling has been added to the Heading Component
|
|
16
|
+
h2 {
|
|
17
|
+
@media (max-width: $layout-breakpoints-medium) {
|
|
18
|
+
font-size: 1.625rem;
|
|
19
|
+
line-height: 2rem;
|
|
27
20
|
}
|
|
28
21
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
22
|
+
@include ca-media-small-mobile {
|
|
23
|
+
font-size: 1.5rem;
|
|
24
|
+
line-height: 1.875rem;
|
|
32
25
|
}
|
|
26
|
+
}
|
|
33
27
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
&.prominent {
|
|
29
|
+
grid-column-start: 2;
|
|
30
|
+
text-align: start;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:focus {
|
|
34
|
+
outline: none;
|
|
37
35
|
}
|
|
38
36
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
@import '~@kaizen/design-tokens/sass/color';
|
|
2
2
|
@import '~@kaizen/design-tokens/sass/border';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
border-radius: $border-solid-border-radius;
|
|
8
|
-
}
|
|
4
|
+
.inputEdit {
|
|
5
|
+
background-color: $color-gray-200;
|
|
6
|
+
border-radius: $border-solid-border-radius;
|
|
9
7
|
}
|
|
@@ -2,76 +2,74 @@
|
|
|
2
2
|
@import '~@kaizen/design-tokens/sass/spacing';
|
|
3
3
|
@import '~@kaizen/design-tokens/sass/layout';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
5
|
+
.actions {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row-reverse;
|
|
8
|
+
justify-content: flex-start;
|
|
9
|
+
}
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
.actionsAlignStart {
|
|
12
|
+
flex-direction: row-reverse;
|
|
13
|
+
justify-content: flex-end;
|
|
14
|
+
}
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
.padded {
|
|
17
|
+
padding: $spacing-md;
|
|
18
|
+
flex-direction: column;
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
20
|
+
@media (min-width: $layout-breakpoints-medium) {
|
|
21
|
+
padding: 0 $spacing-lg $spacing-lg;
|
|
22
|
+
flex-direction: row-reverse;
|
|
25
23
|
}
|
|
24
|
+
}
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
.actionButton {
|
|
27
|
+
width: 100%;
|
|
29
28
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
29
|
+
@media (min-width: $layout-breakpoints-medium) {
|
|
30
|
+
width: inherit;
|
|
33
31
|
}
|
|
32
|
+
}
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
.actionButton + .actionButton {
|
|
35
|
+
margin-inline-end: $spacing-sm;
|
|
37
36
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
37
|
+
@media (max-width: (calc(#{$layout-breakpoints-medium} - 1px))) {
|
|
38
|
+
margin-block-start: $spacing-sm;
|
|
41
39
|
}
|
|
40
|
+
}
|
|
42
41
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
.footerWrap {
|
|
43
|
+
align-items: baseline;
|
|
44
|
+
width: 100%;
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
}
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
.center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
53
52
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
.border {
|
|
54
|
+
border-block-start: 1px solid $border-solid-border-color;
|
|
55
|
+
}
|
|
57
56
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
.start {
|
|
58
|
+
display: flex;
|
|
59
|
+
justify-content: flex-start;
|
|
60
|
+
}
|
|
62
61
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
.end {
|
|
63
|
+
display: flex;
|
|
64
|
+
justify-content: flex-end;
|
|
65
|
+
}
|
|
67
66
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
67
|
+
.fixed {
|
|
68
|
+
position: absolute;
|
|
69
|
+
inset-block-end: 0;
|
|
70
|
+
inset-inline-start: 0;
|
|
71
|
+
}
|
|
73
72
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
73
|
+
.filler {
|
|
74
|
+
visibility: hidden;
|
|
77
75
|
}
|
|
@@ -2,25 +2,23 @@
|
|
|
2
2
|
@import '../../../../../styles/utils/legacy/layout';
|
|
3
3
|
@import '../../../../../styles/utils/layers';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
z-index: $ca-z-index-popover;
|
|
5
|
+
.dismissButton {
|
|
6
|
+
position: absolute;
|
|
7
|
+
z-index: $ca-z-index-popover;
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
@include ca-position($end: 0, $top: 0);
|
|
10
|
+
}
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
.layout {
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
.fixed {
|
|
17
|
+
position: absolute;
|
|
18
|
+
inset-block-start: 0;
|
|
19
|
+
inset-inline-start: 0;
|
|
20
|
+
}
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
22
|
+
.filler {
|
|
23
|
+
visibility: hidden;
|
|
26
24
|
}
|