@kaizen/components 1.78.1 → 1.79.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/dist/styles.css +10589 -10782
- package/package.json +1 -1
- package/src/Avatar/Avatar.module.css +137 -135
- package/src/AvatarGroup/AvatarGroup.module.css +58 -56
- package/src/Badge/Badge.module.css +98 -96
- package/src/Brand/Brand.module.css +5 -3
- package/src/BrandMoment/BrandMoment.module.css +147 -145
- package/src/BrandMoment/_docs/ExampleHeaders.module.scss +68 -66
- package/src/Button/Button/Button.module.scss +135 -133
- package/src/Button/GenericButton/GenericButton.module.scss +81 -79
- package/src/Button/IconButton/IconButton.module.scss +20 -18
- package/src/ButtonGroup/ButtonGroup.module.css +38 -36
- package/src/ButtonGroup/ButtonGroup.module.scss +41 -39
- package/src/Calendar/CalendarPopover/CalendarPopover.module.scss +19 -17
- package/src/Calendar/CalendarRange/CalendarRange.module.scss +48 -46
- package/src/Calendar/CalendarSingle/CalendarSingle.module.scss +12 -10
- package/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.module.scss +20 -18
- package/src/Calendar/baseCalendarClassNames.module.scss +148 -146
- package/src/Card/Card.module.css +91 -89
- package/src/Checkbox/Checkbox/Checkbox.module.scss +89 -87
- package/src/Checkbox/CheckboxField/CheckboxField.module.scss +32 -30
- package/src/Checkbox/CheckboxGroup/CheckboxGroup.module.scss +11 -9
- package/src/ClearButton/ClearButton.module.scss +32 -30
- package/src/Collapsible/Collapsible/Collapsible.module.scss +87 -85
- package/src/Collapsible/CollapsibleGroup/CollapsibleGroup.module.scss +9 -7
- package/src/Collapsible/ExpertAdviceCollapsible/ExpertAdviceCollapsible.module.scss +35 -33
- package/src/Container/Container.module.scss +11 -9
- package/src/Content/Content.module.scss +10 -8
- package/src/DateInput/DateInput/DateInput.module.scss +7 -5
- package/src/DateInput/DateInputDescription/DateInputDescription.module.scss +15 -13
- package/src/DateInput/DateInputWithIconButton/DateInputWithIconButton.module.scss +32 -30
- package/src/DatePicker/DatePicker.module.scss +7 -5
- package/src/DatePicker/subcomponents/DateInputField/DateInputField.module.scss +5 -3
- package/src/DateRangePicker/DateRangePicker.module.scss +75 -73
- package/src/Divider/Divider.module.scss +35 -33
- package/src/EmptyState/EmptyState.module.css +95 -93
- package/src/ErrorPage/ErrorPage.module.scss +4 -2
- package/src/FieldGroup/FieldGroup.module.scss +8 -6
- package/src/FieldMessage/FieldMessage.module.scss +53 -51
- package/src/Filter/Filter/Filter.module.css +5 -3
- package/src/Filter/Filter/subcomponents/FilterContents/FilterContents.module.css +4 -2
- package/src/Filter/Filter/subcomponents/FilterPopover/FilterPopover.module.css +8 -6
- package/src/Filter/FilterBar/FilterBar.module.css +17 -15
- package/src/Filter/FilterBar/subcomponents/ClearAllButton/ClearAllButton.module.css +7 -5
- package/src/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.module.css +4 -2
- package/src/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.module.css +5 -3
- package/src/Filter/FilterButton/FilterButton/FilterButton.module.css +19 -17
- package/src/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.module.css +4 -2
- package/src/Filter/FilterButton/subcomponents/FilterButtonBase/FilterButtonBase.module.scss +42 -40
- package/src/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.module.scss +4 -2
- package/src/Filter/FilterDatePicker/subcomponents/FilterDatePickerField/FilterDatePickerField.module.scss +6 -4
- package/src/Filter/FilterDateRangePicker/FilterDateRangePicker.module.css +7 -5
- package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeDisplayLabel/DateRangeDisplayLabel.module.scss +5 -3
- package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.module.scss +36 -34
- package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeValidationMessage/DateRangeValidationMessage.module.scss +5 -3
- package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.module.scss +7 -5
- package/src/Filter/FilterMultiSelect/subcomponents/ListBox/ListBox.module.scss +19 -17
- package/src/Filter/FilterMultiSelect/subcomponents/ListBoxSection/ListBoxSection.module.scss +14 -12
- package/src/Filter/FilterMultiSelect/subcomponents/LoadMoreButton/LoadMoreButton.module.scss +4 -2
- package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuFooter/MenuFooter.module.scss +7 -5
- package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuLoadingSkeleton/MenuLoadingSkeleton.module.scss +8 -6
- package/src/Filter/FilterMultiSelect/subcomponents/MenuPopup/MenuPopup.module.scss +17 -15
- package/src/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.module.scss +90 -88
- package/src/Filter/FilterMultiSelect/subcomponents/NoResults/NoResults.module.scss +4 -2
- package/src/Filter/FilterMultiSelect/subcomponents/SearchInput/SearchInput.module.scss +5 -3
- package/src/Filter/FilterMultiSelect/subcomponents/SectionDivider/SectionDivider.module.scss +4 -2
- package/src/Filter/FilterMultiSelect/subcomponents/SelectionControlButton/SelectionControlButton.module.scss +52 -50
- package/src/Filter/FilterMultiSelect/subcomponents/Trigger/RemovableFilterTrigger/RemovableFilterTrigger.module.css +4 -2
- package/src/Filter/FilterSelect/FilterSelect.module.css +9 -7
- package/src/Focusable/Focusable.module.scss +4 -2
- package/src/GuidanceBlock/GuidanceBlock.module.css +212 -210
- package/src/Heading/Heading.module.scss +87 -85
- package/src/Icon/_docs/icon.module.scss +35 -33
- package/src/Icon/subcomponents/SVG/SVG.module.scss +26 -24
- package/src/Illustration/subcomponents/Base/Base.module.scss +100 -98
- package/src/Input/Input/Input.module.scss +217 -215
- package/src/Input/InputRange/InputRange.module.scss +138 -136
- package/src/Input/InputSearch/InputSearch.module.scss +155 -152
- package/src/Label/Label.module.scss +82 -80
- package/src/LabelledMessage/LabelledMessage.module.scss +8 -6
- package/src/LikertScaleLegacy/LikertScaleLegacy.module.scss +266 -264
- package/src/Link/Link.module.css +115 -113
- package/src/LinkButton/LinkButton.module.css +5 -3
- package/src/Loading/LoadingGraphic/LoadingGraphic.module.scss +12 -10
- package/src/Loading/LoadingHeading/LoadingHeading.module.scss +44 -42
- package/src/Loading/LoadingInput/LoadingInput.module.scss +11 -9
- package/src/Loading/LoadingParagraph/LoadingParagraph.module.scss +47 -45
- package/src/Loading/LoadingSpinner/LoadingSpinner.module.css +22 -20
- package/src/Loading/_mixins.scss +11 -9
- package/src/Menu/subcomponents/MenuDropdown/MenuDropdown.module.scss +18 -16
- package/src/Menu/subcomponents/MenuHeading/MenuHeading.module.scss +8 -6
- package/src/Menu/subcomponents/MenuItem/MenuItem.module.scss +74 -72
- package/src/Menu/subcomponents/MenuList/MenuList.module.scss +14 -12
- package/src/Menu/subcomponents/StatelessMenu/StatelessMenu.module.scss +4 -2
- package/src/Modal/ConfirmationModal/ConfirmationModal.module.scss +126 -124
- package/src/Modal/ContextModal/ContextModal.module.scss +72 -70
- package/src/Modal/GenericModal/GenericModal.module.scss +92 -90
- package/src/Modal/GenericModal/subcomponents/ModalAccessibleDescription/ModalAccessibleDescription.module.scss +4 -2
- package/src/Modal/GenericModal/subcomponents/ModalAccessibleLabel/ModalAccessibleLabel.module.scss +25 -23
- package/src/Modal/GenericModal/subcomponents/ModalBody/ModalBody.module.scss +5 -3
- package/src/Modal/GenericModal/subcomponents/ModalFooter/ModalFooter.module.scss +55 -53
- package/src/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.module.scss +17 -15
- package/src/Modal/InputEditModal/InputEditModal.module.scss +32 -30
- package/src/MultiSelect/MultiSelect.module.scss +7 -5
- package/src/MultiSelect/subcomponents/Checkbox/Checkbox.module.scss +59 -57
- package/src/MultiSelect/subcomponents/MultiSelectOptionField/MultiSelectOptionField.module.scss +55 -53
- package/src/MultiSelect/subcomponents/MultiSelectOptions/MultiSelectOptions.module.scss +8 -6
- package/src/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.module.scss +66 -64
- package/src/MultiSelect/subcomponents/Popover/Popover.module.scss +15 -13
- package/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.module.scss +21 -19
- package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +112 -110
- package/src/Notification/subcomponents/GenericNotification/_mixins.scss +278 -276
- package/src/Notification/subcomponents/NotificationIcon/NotificationIcon.module.css +4 -2
- package/src/Pagination/Pagination.module.scss +39 -37
- package/src/Pagination/subcomponents/DirectionalLink/DirectionalLink.module.scss +11 -9
- package/src/Pagination/subcomponents/PaginationLink/PaginationLink.module.scss +53 -51
- package/src/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.module.css +10 -8
- package/src/Popover/Popover.module.scss +187 -185
- package/src/ProgressBar/ProgressBar.module.scss +75 -73
- package/src/ProgressBar/subcomponents/Label/Label.module.scss +6 -4
- package/src/Radio/Radio/Radio.module.scss +60 -58
- package/src/Radio/RadioField/RadioField.module.scss +33 -31
- package/src/Radio/RadioGroup/RadioGroup.module.scss +18 -16
- package/src/RichTextEditor/EditableRichTextContent/EditableRichTextContent.module.scss +32 -30
- package/src/RichTextEditor/RichTextContent/RichTextContent.module.scss +4 -2
- package/src/RichTextEditor/RichTextEditor/RichTextEditor.module.scss +76 -74
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/ToggleIconButton.module.scss +92 -90
- package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/Toolbar.module.scss +5 -3
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToolbarSection/ToolbarSection.module.scss +12 -10
- package/src/RichTextEditor/_mixins.scss +1 -1
- package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkModal/LinkModal.module.scss +5 -3
- package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.module.scss +22 -20
- package/src/SearchField/SearchField.module.scss +5 -3
- package/src/Select/Select.module.scss +17 -0
- package/src/Skirt/Skirt.module.scss +24 -22
- package/src/Skirt/subcomponents/SkirtCard/SkirtCard.module.scss +13 -11
- package/src/Slider/Slider.module.scss +34 -32
- package/src/SplitButton/SplitButton.module.scss +5 -3
- package/src/SplitButton/subcomponents/ActionButton/ActionButton.module.scss +7 -5
- package/src/SplitButton/subcomponents/BaseButton/BaseButton.module.scss +65 -63
- package/src/SplitButton/subcomponents/DropdownButton/DropdownButton.module.scss +19 -17
- package/src/Table/Table.module.scss +251 -249
- package/src/Tabs/subcomponents/Tab.module.scss +81 -79
- package/src/Tabs/subcomponents/TabList.module.scss +8 -6
- package/src/Tabs/subcomponents/TabPanel.module.scss +10 -8
- package/src/Tag/Tag.module.scss +166 -164
- package/src/Tag/subcomponents/LiveIcon/LiveIcon.module.css +42 -40
- package/src/Text/Text.module.scss +57 -55
- package/src/TextArea/TextArea.module.css +102 -99
- package/src/TextAreaField/TextAreaField.module.scss +14 -12
- package/src/TextField/TextField.module.scss +16 -14
- package/src/Tile/MultiActionTile/MultiActionTile.module.scss +7 -5
- package/src/Tile/TileGrid/TileGrid.module.scss +18 -16
- package/src/Tile/subcomponents/GenericTile/GenericTile.module.scss +123 -121
- package/src/TimeField/TimeField.module.scss +57 -55
- package/src/TimeField/subcomponents/TimeSegment/TimeSegment.module.scss +37 -35
- package/src/TitleBlockZen/TitleBlockZen.module.scss +507 -505
- package/src/TitleBlockZen/subcomponents/MainActions.module.scss +11 -9
- package/src/TitleBlockZen/subcomponents/MobileActions.module.scss +146 -144
- package/src/TitleBlockZen/subcomponents/NavigationTabs.module.scss +105 -103
- package/src/TitleBlockZen/subcomponents/TitleBlockMenuItem.module.scss +74 -72
- package/src/TitleBlockZen/subcomponents/Toolbar.module.scss +28 -26
- package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss +105 -103
- package/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss +11 -9
- package/src/Tooltip/Tooltip.module.scss +139 -137
- package/src/VisuallyHidden/VisuallyHidden.module.scss +10 -8
- package/src/Well/Well.module.css +104 -102
- package/src/Workflow/subcomponents/Footer/components/FooterActions/FooterActions.module.css +14 -12
- package/src/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.module.css +101 -99
- package/src/Workflow/subcomponents/Footer/components/Root/FooterRoot.module.css +19 -17
- package/src/Workflow/subcomponents/Header/components/Actions/Actions.module.css +14 -12
- package/src/Workflow/subcomponents/Header/components/Branding/Branding.module.css +12 -10
- package/src/Workflow/subcomponents/Header/components/Root/Root.module.css +19 -17
- package/src/Workflow/subcomponents/Header/components/Titles/Titles.module.css +19 -17
- package/src/Workflow/subcomponents/Main/Main.module.css +5 -3
- package/src/Workflow/subcomponents/Wrapper/Wrapper.module.css +8 -6
- package/src/__next__/Button/Button.module.css +220 -218
- package/src/__next__/Button/subcomponents/ButtonContent/ButtonContent.module.css +17 -15
- package/src/__next__/Button/subcomponents/PendingContent/PendingContent.module.css +15 -13
- package/src/__next__/Icon/Icon.module.css +40 -38
- package/src/__next__/Icon/_docs/Icon.docs.module.css +13 -11
- package/src/__next__/Menu/Menu.module.css +30 -28
- package/src/__next__/Menu/MenuItem.module.css +41 -39
- package/src/__next__/Select/Select.module.scss +8 -6
- package/src/__next__/Select/subcomponents/ListBox/ListBox.module.scss +12 -10
- package/src/__next__/Select/subcomponents/ListBoxSection/ListBoxSection.module.scss +15 -13
- package/src/__next__/Select/subcomponents/Option/Option.module.scss +53 -51
- package/src/__next__/Select/subcomponents/SectionDivider/SectionDivider.module.scss +8 -6
- package/src/__next__/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.module.scss +4 -2
- package/src/__next__/Select/subcomponents/SelectToggle/SelectToggle.module.scss +105 -103
- package/src/__next__/Tabs/subcomponents/Tab/Tab.module.css +81 -79
- package/src/__next__/Tabs/subcomponents/TabList/TabList.module.css +56 -54
- package/src/__next__/Tabs/subcomponents/TabPanel/TabPanel.module.css +10 -8
- package/src/__next__/Tag/RemovableTag/RemovableTag.module.scss +6 -4
- package/src/__next__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss +26 -24
- package/src/__next__/Tag/Tag/Tag.module.scss +56 -54
- package/src/__next__/Tooltip/OverlayArrow.module.scss +40 -38
- package/src/__next__/Tooltip/Tooltip.module.scss +39 -37
- package/src/__next__/Tooltip/_docs/ApiSpecification.mdx +2 -2
- package/src/__next__/Tooltip/_docs/Tooltip.docs.stories.tsx +15 -30
- package/src/__next__/Tooltip/_docs/Tooltip.mdx +1 -1
- package/src/__next__/Tooltip/_docs/Tooltip.spec.stories.tsx +21 -58
- package/src/__next__/Tooltip/_docs/Tooltip.stories.tsx +2 -2
- package/src/utils/AppearanceAnim.module.scss +14 -12
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
@import '../../../styles/utils/legacy/layout';
|
|
2
2
|
@import '../mixins';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
@layer kz-components {
|
|
5
|
+
.mainActionsContainer {
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: flex-end;
|
|
9
|
+
flex-grow: 1;
|
|
10
|
+
flex-shrink: 0;
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
@include ca-margin($start: calc(#{$ca-grid} / 2));
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
@include title-block-small {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -8,186 +8,189 @@
|
|
|
8
8
|
@import '../../../styles/utils/layers';
|
|
9
9
|
@import '../mixins';
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
$
|
|
13
|
-
$focus-
|
|
14
|
-
$
|
|
15
|
-
$
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
11
|
+
@layer kz-components {
|
|
12
|
+
$expand-button-width: 3.75rem;
|
|
13
|
+
$focus-spacing: 2px;
|
|
14
|
+
$focus-ring-border-width: 2px; // should be $border-focus-ring-border-width but CSS vars makes this hard
|
|
15
|
+
$space-for-focus-ring: ($focus-ring-border-width * 2) + ($focus-spacing * 2);
|
|
16
|
+
$slide-up-duration: 0.4s;
|
|
17
|
+
|
|
18
|
+
/* stylelint-disable no-descending-specificity */
|
|
19
|
+
.mobileActionsContainer {
|
|
20
|
+
display: none;
|
|
21
|
+
z-index: $ca-z-index-fixed;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
position: fixed;
|
|
24
|
+
bottom: 0;
|
|
25
|
+
left: 0;
|
|
26
|
+
right: 0;
|
|
27
|
+
border-start-start-radius: $border-solid-border-radius;
|
|
28
|
+
border-start-end-radius: $border-solid-border-radius;
|
|
29
|
+
-webkit-font-smoothing: antialiased;
|
|
30
|
+
-moz-osx-font-smoothing: grayscale;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
transform: translateY(calc(100% - #{$layout-mobile-actions-drawer-height}));
|
|
33
|
+
transition: $slide-up-duration ease;
|
|
34
|
+
animation: slide-up 1s ease;
|
|
35
|
+
|
|
36
|
+
&.isOpen {
|
|
37
|
+
transform: translateY(0%);
|
|
38
|
+
|
|
39
|
+
.mobileActionsMenuContainer {
|
|
40
|
+
visibility: visible;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@include title-block-small {
|
|
45
|
+
display: flex;
|
|
40
46
|
}
|
|
41
47
|
}
|
|
42
48
|
|
|
43
|
-
|
|
49
|
+
.mobileActionsTopRow {
|
|
44
50
|
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: space-between;
|
|
53
|
+
height: $layout-mobile-actions-drawer-height;
|
|
45
54
|
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.mobileActionsTopRow {
|
|
49
|
-
display: flex;
|
|
50
|
-
align-items: center;
|
|
51
|
-
justify-content: space-between;
|
|
52
|
-
height: $layout-mobile-actions-drawer-height;
|
|
53
|
-
}
|
|
54
55
|
|
|
55
|
-
.mobileActionsTopRow.mobileActionsTopRowSingleButton {
|
|
56
|
-
|
|
57
|
-
}
|
|
56
|
+
.mobileActionsTopRow.mobileActionsTopRowSingleButton {
|
|
57
|
+
justify-content: center;
|
|
58
|
+
}
|
|
58
59
|
|
|
59
|
-
.mobileActionsMenuContainer {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
60
|
+
.mobileActionsMenuContainer {
|
|
61
|
+
visibility: hidden;
|
|
62
|
+
width: 100%;
|
|
63
|
+
background: $color-white;
|
|
64
|
+
padding: $spacing-xs 0;
|
|
65
|
+
transition: visibility $slide-up-duration;
|
|
66
|
+
}
|
|
66
67
|
|
|
67
|
-
.drawerHandleIcon {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
.drawerHandleIcon {
|
|
69
|
+
display: flex;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
align-items: center;
|
|
71
72
|
|
|
72
|
-
|
|
73
|
+
@include ca-margin($end: calc(#{$ca-grid} / 2));
|
|
73
74
|
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
.drawerHandleLabelText + & {
|
|
76
|
+
@include ca-margin($start: calc(#{$ca-grid} / 2));
|
|
77
|
+
}
|
|
76
78
|
}
|
|
77
|
-
}
|
|
78
79
|
|
|
79
|
-
.mobileActionsPrimaryLabel {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.mobileActionsPrimaryButton,
|
|
93
|
-
.mobileActionsExpandButton {
|
|
94
|
-
display: flex;
|
|
95
|
-
position: relative;
|
|
96
|
-
justify-content: flex-start;
|
|
97
|
-
align-items: center;
|
|
98
|
-
height: 100%;
|
|
99
|
-
border: 0;
|
|
100
|
-
box-sizing: border-box;
|
|
101
|
-
color: $color-white;
|
|
102
|
-
background-color: $color-blue-500;
|
|
103
|
-
|
|
104
|
-
&:focus {
|
|
105
|
-
background-color: $color-blue-600;
|
|
106
|
-
outline: none;
|
|
80
|
+
.mobileActionsPrimaryLabel {
|
|
81
|
+
text-align: left;
|
|
82
|
+
text-decoration: none;
|
|
83
|
+
color: $color-white;
|
|
84
|
+
font-family: $typography-button-primary-font-family;
|
|
85
|
+
font-weight: $typography-button-primary-font-weight;
|
|
86
|
+
font-size: $typography-button-primary-font-size;
|
|
87
|
+
line-height: $typography-button-primary-line-height;
|
|
88
|
+
letter-spacing: $typography-button-primary-letter-spacing;
|
|
89
|
+
|
|
90
|
+
@include ca-padding($start: $ca-grid * 0.75);
|
|
107
91
|
}
|
|
108
92
|
|
|
109
|
-
|
|
110
|
-
|
|
93
|
+
.mobileActionsPrimaryButton,
|
|
94
|
+
.mobileActionsExpandButton {
|
|
95
|
+
display: flex;
|
|
96
|
+
position: relative;
|
|
97
|
+
justify-content: flex-start;
|
|
98
|
+
align-items: center;
|
|
99
|
+
height: 100%;
|
|
100
|
+
border: 0;
|
|
101
|
+
box-sizing: border-box;
|
|
102
|
+
color: $color-white;
|
|
103
|
+
background-color: $color-blue-500;
|
|
104
|
+
|
|
105
|
+
&:focus {
|
|
106
|
+
background-color: $color-blue-600;
|
|
107
|
+
outline: none;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&:focus-visible {
|
|
111
|
+
height: $layout-mobile-actions-drawer-height - $space-for-focus-ring;
|
|
111
112
|
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
&::after {
|
|
114
|
+
$focus-ring-offset: calc((#{$border-focus-ring-border-width} * 2));
|
|
114
115
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
116
|
+
content: '';
|
|
117
|
+
position: absolute;
|
|
118
|
+
background: transparent;
|
|
119
|
+
border-width: $focus-ring-border-width;
|
|
120
|
+
border-style: $border-focus-ring-border-style;
|
|
121
|
+
border-color: $color-blue-500;
|
|
122
|
+
inset: calc(-1 * #{$focus-ring-offset});
|
|
123
|
+
}
|
|
122
124
|
}
|
|
123
|
-
}
|
|
124
125
|
|
|
125
|
-
|
|
126
|
-
|
|
126
|
+
&:hover {
|
|
127
|
+
text-decoration: none;
|
|
128
|
+
}
|
|
127
129
|
}
|
|
128
|
-
}
|
|
129
130
|
|
|
130
|
-
// Full width versions
|
|
131
|
-
.mobileActionsPrimaryButton:only-child,
|
|
132
|
-
.mobileActionsExpandButton:only-child {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
131
|
+
// Full width versions
|
|
132
|
+
.mobileActionsPrimaryButton:only-child,
|
|
133
|
+
.mobileActionsExpandButton:only-child {
|
|
134
|
+
flex-basis: 100%;
|
|
135
|
+
border-start-start-radius: $border-solid-border-radius;
|
|
136
|
+
border-start-end-radius: $border-solid-border-radius;
|
|
136
137
|
|
|
137
|
-
|
|
138
|
-
|
|
138
|
+
&:focus-visible {
|
|
139
|
+
flex-basis: calc(100% - #{$space-for-focus-ring});
|
|
139
140
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
&::after {
|
|
142
|
+
border-start-start-radius: $border-focus-ring-border-radius;
|
|
143
|
+
border-start-end-radius: $border-focus-ring-border-radius;
|
|
144
|
+
}
|
|
143
145
|
}
|
|
144
146
|
}
|
|
145
|
-
}
|
|
146
147
|
|
|
147
|
-
// Non full width versions
|
|
148
|
-
.mobileActionsPrimaryButton:not(:only-child) {
|
|
149
|
-
|
|
148
|
+
// Non full width versions
|
|
149
|
+
.mobileActionsPrimaryButton:not(:only-child) {
|
|
150
|
+
flex: 0 0 calc(100% - #{$expand-button-width});
|
|
150
151
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
&:focus-visible {
|
|
153
|
+
flex-basis: calc(100% - #{$expand-button-width} - #{$space-for-focus-ring});
|
|
154
|
+
margin-left: $focus-ring-border-width * 2;
|
|
155
|
+
border-start-start-radius: $border-solid-border-radius;
|
|
155
156
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
& + .mobileActionsExpandButton {
|
|
158
|
+
border-color: $color-white;
|
|
159
|
+
}
|
|
159
160
|
|
|
160
|
-
|
|
161
|
-
|
|
161
|
+
&::after {
|
|
162
|
+
border-start-start-radius: $border-focus-ring-border-radius;
|
|
163
|
+
}
|
|
162
164
|
}
|
|
163
165
|
}
|
|
164
|
-
}
|
|
165
166
|
|
|
166
|
-
.mobileActionsExpandButton:not(:only-child) {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
.mobileActionsExpandButton:not(:only-child) {
|
|
168
|
+
flex: 0 0 $expand-button-width;
|
|
169
|
+
border-left: 2px solid $color-blue-200;
|
|
170
|
+
justify-content: center;
|
|
170
171
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
172
|
+
&:focus-visible {
|
|
173
|
+
border-color: $color-white;
|
|
174
|
+
flex-basis: calc(#{$expand-button-width} - #{$space-for-focus-ring});
|
|
175
|
+
margin-right: $focus-ring-border-width * 2;
|
|
176
|
+
border-start-end-radius: $border-solid-border-radius;
|
|
176
177
|
|
|
177
|
-
|
|
178
|
-
|
|
178
|
+
&::after {
|
|
179
|
+
border-start-end-radius: $border-focus-ring-border-radius;
|
|
180
|
+
}
|
|
179
181
|
}
|
|
180
182
|
}
|
|
181
|
-
}
|
|
182
183
|
|
|
183
|
-
.mobileActionsChevronSquare {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
184
|
+
.mobileActionsChevronSquare {
|
|
185
|
+
display: flex;
|
|
186
|
+
justify-content: center;
|
|
187
|
+
align-items: center;
|
|
188
|
+
height: 100%;
|
|
189
|
+
position: absolute;
|
|
189
190
|
|
|
190
|
-
|
|
191
|
+
@include ca-position($end: 20px);
|
|
192
|
+
}
|
|
193
|
+
/* stylelint-enable no-descending-specificity */
|
|
191
194
|
}
|
|
192
195
|
|
|
193
196
|
@keyframes slide-up {
|
|
@@ -203,4 +206,3 @@ $slide-up-duration: 0.4s;
|
|
|
203
206
|
transform: translateY(calc(100% - #{$layout-mobile-actions-drawer-height}));
|
|
204
207
|
}
|
|
205
208
|
}
|
|
206
|
-
/* stylelint-enable no-descending-specificity */
|
|
@@ -4,132 +4,134 @@
|
|
|
4
4
|
@import '~@kaizen/design-tokens/sass/color';
|
|
5
5
|
@import '../mixins';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
@layer kz-components {
|
|
8
|
+
.container {
|
|
9
|
+
display: flex;
|
|
10
|
+
-webkit-font-smoothing: antialiased;
|
|
11
|
+
-moz-osx-font-smoothing: grayscale;
|
|
12
|
+
}
|
|
12
13
|
|
|
13
|
-
.linkAnchor {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
text-decoration: none;
|
|
26
|
-
white-space: nowrap;
|
|
27
|
-
margin-inline-end: $spacing-md;
|
|
28
|
-
|
|
29
|
-
&:hover {
|
|
30
|
-
color: $color-white;
|
|
14
|
+
.linkAnchor {
|
|
15
|
+
display: flex;
|
|
16
|
+
height: 100%;
|
|
17
|
+
align-items: center;
|
|
18
|
+
padding: 0 $spacing-sm;
|
|
19
|
+
position: relative;
|
|
20
|
+
color: rgba($color-white-rgb, 0.7);
|
|
21
|
+
font-family: $typography-heading-4-font-family;
|
|
22
|
+
font-weight: $typography-heading-4-font-weight;
|
|
23
|
+
font-size: $typography-heading-4-font-size;
|
|
24
|
+
line-height: $typography-heading-4-line-height;
|
|
25
|
+
letter-spacing: $typography-heading-4-letter-spacing;
|
|
31
26
|
text-decoration: none;
|
|
32
|
-
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
margin-inline-end: $spacing-md;
|
|
33
29
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
line-height: $typography-heading-5-line-height;
|
|
39
|
-
letter-spacing: $typography-heading-5-letter-spacing;
|
|
40
|
-
}
|
|
30
|
+
&:hover {
|
|
31
|
+
color: $color-white;
|
|
32
|
+
text-decoration: none;
|
|
33
|
+
}
|
|
41
34
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
35
|
+
@include title-block-under-1366 {
|
|
36
|
+
font-family: $typography-heading-5-font-family;
|
|
37
|
+
font-weight: $typography-heading-5-font-weight;
|
|
38
|
+
font-size: $typography-heading-5-font-size;
|
|
39
|
+
line-height: $typography-heading-5-line-height;
|
|
40
|
+
letter-spacing: $typography-heading-5-letter-spacing;
|
|
41
|
+
}
|
|
45
42
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
@include title-block-under-1440 {
|
|
44
|
+
margin-inline-end: $spacing-xs;
|
|
45
|
+
}
|
|
49
46
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
&.active,
|
|
53
|
-
&:focus {
|
|
54
|
-
color: $color-white;
|
|
55
|
-
|
|
56
|
-
&::before {
|
|
57
|
-
content: '';
|
|
58
|
-
display: block;
|
|
59
|
-
height: $active-tab-marker-height;
|
|
60
|
-
position: absolute;
|
|
61
|
-
top: 0;
|
|
62
|
-
left: 0;
|
|
63
|
-
right: 0;
|
|
64
|
-
background-color: $color-white;
|
|
65
|
-
transition: transform cubic-bezier(0.55, 0.085, 0.68, 0.53) 150ms;
|
|
66
|
-
border-radius: 0 0 $border-solid-border-radius $border-solid-border-radius;
|
|
67
|
-
|
|
68
|
-
@include title-block-medium-and-small {
|
|
69
|
-
top: auto;
|
|
70
|
-
bottom: 0;
|
|
71
|
-
border-radius: $border-solid-border-radius $border-solid-border-radius 0 0;
|
|
72
|
-
}
|
|
47
|
+
@media (max-width: 1189px) {
|
|
48
|
+
margin: 0;
|
|
73
49
|
}
|
|
74
|
-
}
|
|
75
50
|
|
|
76
|
-
|
|
77
|
-
outline: none;
|
|
51
|
+
$active-tab-marker-height: 5px;
|
|
78
52
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
53
|
+
&.active,
|
|
54
|
+
&:focus {
|
|
55
|
+
color: $color-white;
|
|
82
56
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
57
|
+
&::before {
|
|
58
|
+
content: '';
|
|
59
|
+
display: block;
|
|
60
|
+
height: $active-tab-marker-height;
|
|
61
|
+
position: absolute;
|
|
62
|
+
top: 0;
|
|
63
|
+
left: 0;
|
|
64
|
+
right: 0;
|
|
65
|
+
background-color: $color-white;
|
|
66
|
+
transition: transform cubic-bezier(0.55, 0.085, 0.68, 0.53) 150ms;
|
|
67
|
+
border-radius: 0 0 $border-solid-border-radius $border-solid-border-radius;
|
|
68
|
+
|
|
69
|
+
@include title-block-medium-and-small {
|
|
70
|
+
top: auto;
|
|
71
|
+
bottom: 0;
|
|
72
|
+
border-radius: $border-solid-border-radius $border-solid-border-radius 0 0;
|
|
73
|
+
}
|
|
98
74
|
}
|
|
99
75
|
}
|
|
100
|
-
}
|
|
101
76
|
|
|
102
|
-
@media (forced-colors: active) {
|
|
103
|
-
&.active,
|
|
104
77
|
&:focus {
|
|
78
|
+
outline: none;
|
|
79
|
+
|
|
105
80
|
&::before {
|
|
81
|
+
background-color: $color-blue-200;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&::after {
|
|
85
|
+
$focus-ring-offset: calc((-1 * #{$border-focus-ring-border-width}));
|
|
86
|
+
|
|
87
|
+
content: '';
|
|
88
|
+
position: absolute;
|
|
106
89
|
background: transparent;
|
|
107
|
-
|
|
108
|
-
border: $
|
|
109
|
-
|
|
90
|
+
border-color: $color-blue-200;
|
|
91
|
+
border-radius: 0 0 $border-focus-ring-border-radius $border-focus-ring-border-radius;
|
|
92
|
+
border-width: $border-focus-ring-border-width;
|
|
93
|
+
border-style: $border-focus-ring-border-style;
|
|
94
|
+
inset: 0 $focus-ring-offset $active-tab-marker-height;
|
|
95
|
+
|
|
96
|
+
@include title-block-medium-and-small {
|
|
97
|
+
border-radius: $border-focus-ring-border-radius $border-focus-ring-border-radius 0 0;
|
|
98
|
+
inset: $active-tab-marker-height $focus-ring-offset 0 $focus-ring-offset;
|
|
99
|
+
}
|
|
110
100
|
}
|
|
111
101
|
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.linkAnchor.lightBackground {
|
|
116
|
-
color: rgba($color-purple-800-rgb, 0.75);
|
|
117
102
|
|
|
118
|
-
|
|
119
|
-
|
|
103
|
+
@media (forced-colors: active) {
|
|
104
|
+
&.active,
|
|
105
|
+
&:focus {
|
|
106
|
+
&::before {
|
|
107
|
+
background: transparent;
|
|
108
|
+
// instead of height we're using the border to create a active tab mark to make it friendlier for Windows High Contrast Mode.
|
|
109
|
+
border: $active-tab-marker-height solid transparent;
|
|
110
|
+
height: 0;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
120
114
|
}
|
|
121
115
|
|
|
122
|
-
|
|
123
|
-
color: $color-
|
|
116
|
+
.linkAnchor.lightBackground {
|
|
117
|
+
color: rgba($color-purple-800-rgb, 0.75);
|
|
124
118
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
119
|
+
&:hover {
|
|
120
|
+
color: $color-blue-500;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.active {
|
|
124
|
+
color: $color-blue-500;
|
|
128
125
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
126
|
+
&::before {
|
|
127
|
+
background-color: $color-blue-500;
|
|
128
|
+
top: 3px;
|
|
129
|
+
|
|
130
|
+
@include title-block-medium-and-small {
|
|
131
|
+
top: auto;
|
|
132
|
+
bottom: 0;
|
|
133
|
+
border-radius: $border-solid-border-radius $border-solid-border-radius 0 0;
|
|
134
|
+
}
|
|
133
135
|
}
|
|
134
136
|
}
|
|
135
137
|
}
|