@kaizen/components 1.78.0 → 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/cjs/src/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.cjs +1 -1
- package/dist/esm/src/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.mjs +1 -1
- package/dist/styles.css +9823 -10017
- package/package.json +27 -26
- 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/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.tsx +1 -1
- 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 -32
- 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 +103 -100
- 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,98 +1,100 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
@layer kz-components {
|
|
2
|
+
.tab {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
border: 2px solid transparent;
|
|
6
|
+
border-bottom: 0;
|
|
7
|
+
border-top-left-radius: var(--border-borderless-border-radius);
|
|
8
|
+
border-top-right-radius: var(--border-borderless-border-radius);
|
|
9
|
+
background: var(--color-white);
|
|
10
|
+
white-space: nowrap;
|
|
11
|
+
text-decoration: none;
|
|
12
|
+
padding: var(--spacing-md) var(--spacing-md);
|
|
13
|
+
margin: 0;
|
|
14
|
+
font-family: var(--typography-heading-4-font-family);
|
|
15
|
+
font-size: var(--typography-heading-4-font-size);
|
|
16
|
+
font-weight: var(--typography-heading-4-font-weight);
|
|
17
|
+
line-height: var(--typography-heading-4-line-height);
|
|
18
|
+
letter-spacing: var(--typography-heading-4-letter-spacing);
|
|
19
|
+
color: var(--color-purple-800);
|
|
20
|
+
cursor: default;
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
&:focus {
|
|
23
|
+
outline: none;
|
|
24
|
+
}
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
&:focus-visible {
|
|
27
|
+
color: var(--color-blue-500);
|
|
28
|
+
border-color: var(--color-blue-500);
|
|
29
|
+
}
|
|
29
30
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
&[data-disabled] {
|
|
32
|
+
opacity: 0.3;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:not(:first-child) {
|
|
36
|
+
margin-inline-start: var(--spacing-xs);
|
|
37
|
+
}
|
|
33
38
|
|
|
34
|
-
|
|
35
|
-
|
|
39
|
+
&:not([data-disabled]):hover {
|
|
40
|
+
background: var(--color-blue-200);
|
|
41
|
+
color: var(--color-blue-500);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:not([data-disabled]):active {
|
|
45
|
+
background: var(--color-blue-100);
|
|
46
|
+
}
|
|
36
47
|
}
|
|
37
48
|
|
|
38
|
-
|
|
39
|
-
|
|
49
|
+
.tab[data-selected] {
|
|
50
|
+
position: relative;
|
|
40
51
|
color: var(--color-blue-500);
|
|
41
|
-
}
|
|
42
52
|
|
|
43
|
-
|
|
44
|
-
|
|
53
|
+
&::before {
|
|
54
|
+
content: '';
|
|
55
|
+
display: block;
|
|
56
|
+
border-top-left-radius: 5px;
|
|
57
|
+
border-top-right-radius: 5px;
|
|
58
|
+
background-color: currentcolor;
|
|
59
|
+
height: 5px;
|
|
60
|
+
width: 100%;
|
|
61
|
+
position: absolute;
|
|
62
|
+
left: 0;
|
|
63
|
+
right: 0;
|
|
64
|
+
bottom: 0;
|
|
65
|
+
}
|
|
45
66
|
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.tab[data-selected] {
|
|
49
|
-
position: relative;
|
|
50
|
-
color: var(--color-blue-500);
|
|
51
67
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
display:
|
|
55
|
-
|
|
56
|
-
border-top-right-radius: 5px;
|
|
57
|
-
background-color: currentcolor;
|
|
58
|
-
height: 5px;
|
|
59
|
-
width: 100%;
|
|
60
|
-
position: absolute;
|
|
61
|
-
left: 0;
|
|
62
|
-
right: 0;
|
|
63
|
-
bottom: 0;
|
|
68
|
+
.badge {
|
|
69
|
+
margin-inline-start: var(--spacing-sm);
|
|
70
|
+
display: inline-flex;
|
|
71
|
+
align-items: center;
|
|
64
72
|
}
|
|
65
|
-
}
|
|
66
73
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
align-items: center;
|
|
71
|
-
}
|
|
74
|
+
@media (forced-colors: active) {
|
|
75
|
+
.tab {
|
|
76
|
+
border: 2px solid transparent;
|
|
72
77
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
78
|
+
&:focus-visible::after {
|
|
79
|
+
content: '';
|
|
80
|
+
position: absolute;
|
|
81
|
+
background: transparent;
|
|
82
|
+
border-radius: var(--border-focus-ring-border-radius);
|
|
83
|
+
border-width: var(--border-focus-ring-border-width);
|
|
84
|
+
border-style: var(--border-focus-ring-border-style);
|
|
85
|
+
border-color: transparent;
|
|
86
|
+
inset: -2px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
76
89
|
|
|
77
|
-
|
|
90
|
+
.tab[data-selected]::before {
|
|
91
|
+
/* High contrast also doesn't see the pseudo element created to show the active tab. */
|
|
78
92
|
content: '';
|
|
79
93
|
position: absolute;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
border-
|
|
84
|
-
border-color: transparent;
|
|
85
|
-
inset: -2px;
|
|
94
|
+
left: 0;
|
|
95
|
+
right: 0;
|
|
96
|
+
bottom: 0;
|
|
97
|
+
border-bottom: 2px solid transparent;
|
|
86
98
|
}
|
|
87
99
|
}
|
|
88
|
-
|
|
89
|
-
.tab[data-selected]::before {
|
|
90
|
-
/* High contrast also doesn't see the pseudo element created to show the active tab. */
|
|
91
|
-
content: '';
|
|
92
|
-
position: absolute;
|
|
93
|
-
left: 0;
|
|
94
|
-
right: 0;
|
|
95
|
-
bottom: 0;
|
|
96
|
-
border-bottom: 2px solid transparent;
|
|
97
|
-
}
|
|
98
100
|
}
|
|
@@ -1,67 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
@layer kz-components {
|
|
2
|
+
.container {
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
|
4
5
|
|
|
5
|
-
.tabList {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
6
|
+
.tabList {
|
|
7
|
+
border-bottom: 1px solid var(--color-gray-300);
|
|
8
|
+
padding: var(--spacing-6) 0 0;
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
overflow-x: scroll;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
scrollbar-width: none;
|
|
14
|
+
scroll-behavior: smooth;
|
|
15
|
+
}
|
|
15
16
|
|
|
16
|
-
.noPadding {
|
|
17
|
-
|
|
18
|
-
}
|
|
17
|
+
.noPadding {
|
|
18
|
+
padding: 0;
|
|
19
|
+
}
|
|
19
20
|
|
|
20
|
-
.leftArrow,
|
|
21
|
-
.rightArrow {
|
|
22
|
-
|
|
21
|
+
.leftArrow,
|
|
22
|
+
.rightArrow {
|
|
23
|
+
--icon-size: 24;
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
position: absolute;
|
|
29
|
+
z-index: 10000;
|
|
30
|
+
background: var(--color-white);
|
|
31
|
+
inset-block: 0 1px;
|
|
32
|
+
width: 48px;
|
|
33
|
+
cursor: default;
|
|
34
|
+
user-select: none;
|
|
35
|
+
}
|
|
35
36
|
|
|
36
|
-
/*
|
|
37
|
+
/*
|
|
37
38
|
* Note: we're purposefully using directional properties instead of start/end for positioning and styling related to the carousel arrows
|
|
38
39
|
*/
|
|
39
|
-
.leftArrow {
|
|
40
|
-
|
|
41
|
-
}
|
|
40
|
+
.leftArrow {
|
|
41
|
+
left: 0;
|
|
42
|
+
}
|
|
42
43
|
|
|
43
|
-
.leftArrow,
|
|
44
|
-
.leftArrow:hover {
|
|
45
|
-
|
|
46
|
-
}
|
|
44
|
+
.leftArrow,
|
|
45
|
+
.leftArrow:hover {
|
|
46
|
+
border-right: 1px solid var(--color-gray-300);
|
|
47
|
+
}
|
|
47
48
|
|
|
48
|
-
.rightArrow {
|
|
49
|
-
|
|
50
|
-
}
|
|
49
|
+
.rightArrow {
|
|
50
|
+
right: 0;
|
|
51
|
+
}
|
|
51
52
|
|
|
52
|
-
.rightArrow,
|
|
53
|
-
.rightArrow:hover {
|
|
54
|
-
|
|
55
|
-
}
|
|
53
|
+
.rightArrow,
|
|
54
|
+
.rightArrow:hover {
|
|
55
|
+
border-left: 1px solid var(--color-gray-300);
|
|
56
|
+
}
|
|
56
57
|
|
|
57
|
-
.leftArrow:hover,
|
|
58
|
-
.rightArrow:hover {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
58
|
+
.leftArrow:hover,
|
|
59
|
+
.rightArrow:hover {
|
|
60
|
+
background: var(--color-blue-200);
|
|
61
|
+
color: var(--color-blue-500);
|
|
62
|
+
}
|
|
62
63
|
|
|
63
|
-
.leftArrow:active,
|
|
64
|
-
.rightArrow:active {
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
.leftArrow:active,
|
|
65
|
+
.rightArrow:active {
|
|
66
|
+
background: var(--color-blue-100);
|
|
67
|
+
color: var(--color-blue-500);
|
|
68
|
+
}
|
|
67
69
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
@layer kz-components {
|
|
2
|
+
.tabPanel {
|
|
3
|
+
border: 2px solid transparent;
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
&:focus {
|
|
6
|
+
outline: none;
|
|
7
|
+
}
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
&:focus-visible {
|
|
10
|
+
border-color: var(--color-blue-500);
|
|
11
|
+
border-radius: var(--border-focus-ring-border-radius);
|
|
12
|
+
}
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@import '~@kaizen/design-tokens/sass/spacing';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
@layer kz-components {
|
|
4
|
+
.removableTag {
|
|
5
|
+
padding: $spacing-4 $spacing-4 $spacing-4 $spacing-8;
|
|
6
|
+
padding-block: $spacing-4;
|
|
7
|
+
padding-inline: $spacing-8 $spacing-4;
|
|
8
|
+
}
|
|
7
9
|
}
|
|
@@ -2,33 +2,35 @@
|
|
|
2
2
|
@import '~@kaizen/design-tokens/sass/color';
|
|
3
3
|
@import '../../../../../styles/utils/button-reset';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
@layer kz-components {
|
|
6
|
+
.removeButton {
|
|
7
|
+
@include button-reset;
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
position: relative;
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
color: rgba($color-purple-800-rgb, 0.7);
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
&:focus,
|
|
15
|
+
&:focus-visible {
|
|
16
|
+
outline: var(--border-focus-ring-border-width) var(--border-focus-ring-border-style)
|
|
17
|
+
var(--color-blue-500);
|
|
18
|
+
outline-offset: 1px;
|
|
19
|
+
}
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
&::before {
|
|
22
|
+
position: absolute;
|
|
23
|
+
content: '';
|
|
24
|
+
inset: -5px;
|
|
25
|
+
border-radius: 50%;
|
|
26
|
+
}
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
&:hover,
|
|
29
|
+
&:focus,
|
|
30
|
+
&:focus-visible {
|
|
31
|
+
background-color: rgba($color-gray-600-rgb, 0.2);
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
color: $color-purple-800;
|
|
34
|
+
}
|
|
33
35
|
}
|
|
34
36
|
}
|
|
@@ -2,78 +2,80 @@
|
|
|
2
2
|
@import '~@kaizen/design-tokens/sass/spacing';
|
|
3
3
|
@import '~@kaizen/design-tokens/sass/typography';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
@layer kz-components {
|
|
6
|
+
.tag {
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
padding: $spacing-4 $spacing-8;
|
|
10
|
+
gap: $spacing-4;
|
|
11
|
+
border-radius: 28px;
|
|
12
|
+
font-family: $typography-paragraph-intro-lede-font-family;
|
|
13
|
+
font-size: $typography-paragraph-small-font-size;
|
|
14
|
+
font-weight: $typography-paragraph-small-font-weight;
|
|
15
|
+
line-height: $typography-paragraph-small-line-height;
|
|
16
|
+
white-space: nowrap;
|
|
17
|
+
}
|
|
17
18
|
|
|
18
|
-
.iconContainer {
|
|
19
|
-
|
|
20
|
-
}
|
|
19
|
+
.iconContainer {
|
|
20
|
+
display: inline-flex;
|
|
21
|
+
}
|
|
21
22
|
|
|
22
|
-
.gray {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
23
|
+
.gray {
|
|
24
|
+
background-color: $color-gray-300;
|
|
25
|
+
color: $color-purple-800;
|
|
26
|
+
}
|
|
26
27
|
|
|
27
|
-
.blue {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
.blue {
|
|
29
|
+
background-color: $color-blue-100;
|
|
30
|
+
color: $color-blue-700;
|
|
30
31
|
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
.iconContainer {
|
|
33
|
+
color: $color-blue-500;
|
|
34
|
+
}
|
|
33
35
|
}
|
|
34
|
-
}
|
|
35
36
|
|
|
36
|
-
.green {
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
.green {
|
|
38
|
+
background-color: $color-green-100;
|
|
39
|
+
color: $color-green-700;
|
|
39
40
|
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
.iconContainer {
|
|
42
|
+
color: $color-green-500;
|
|
43
|
+
}
|
|
42
44
|
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.yellow {
|
|
46
|
-
background-color: $color-yellow-100;
|
|
47
|
-
color: $color-yellow-700;
|
|
48
45
|
|
|
49
|
-
.
|
|
46
|
+
.yellow {
|
|
47
|
+
background-color: $color-yellow-100;
|
|
50
48
|
color: $color-yellow-700;
|
|
49
|
+
|
|
50
|
+
.iconContainer {
|
|
51
|
+
color: $color-yellow-700;
|
|
52
|
+
}
|
|
51
53
|
}
|
|
52
|
-
}
|
|
53
54
|
|
|
54
|
-
.orange {
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
.orange {
|
|
56
|
+
background-color: $color-orange-100;
|
|
57
|
+
color: $color-orange-700;
|
|
57
58
|
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
.iconContainer {
|
|
60
|
+
color: $color-orange-500;
|
|
61
|
+
}
|
|
60
62
|
}
|
|
61
|
-
}
|
|
62
63
|
|
|
63
|
-
.red {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
.red {
|
|
65
|
+
background-color: $color-red-100;
|
|
66
|
+
color: $color-red-700;
|
|
66
67
|
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
.iconContainer {
|
|
69
|
+
color: $color-red-500;
|
|
70
|
+
}
|
|
69
71
|
}
|
|
70
|
-
}
|
|
71
72
|
|
|
72
|
-
.purple {
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
.purple {
|
|
74
|
+
background-color: $color-purple-100;
|
|
75
|
+
color: $color-purple-700;
|
|
75
76
|
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
.iconContainer {
|
|
78
|
+
color: $color-purple-500;
|
|
79
|
+
}
|
|
78
80
|
}
|
|
79
81
|
}
|
|
@@ -1,43 +1,45 @@
|
|
|
1
1
|
@import '~@kaizen/design-tokens/sass/shadow';
|
|
2
2
|
@import '~@kaizen/design-tokens/sass/color';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
4
|
+
@layer kz-components {
|
|
5
|
+
.overlayArrow {
|
|
6
|
+
display: flex;
|
|
7
|
+
|
|
8
|
+
// for correct arrow positioning with rounded corners we need to do bit trickery here
|
|
9
|
+
// the positioning is done in js in RAC and works by first getting size of arrow without data-placement, and isn't recomputed after update
|
|
10
|
+
// so we first set padding on arrow from all sides (that'll be used for start position computation)
|
|
11
|
+
// and then we remove it from the oposite axis
|
|
12
|
+
padding: 8px;
|
|
13
|
+
|
|
14
|
+
&[data-placement='top'],
|
|
15
|
+
&[data-placement='bottom'] {
|
|
16
|
+
padding: 0 8px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&[data-placement='left'],
|
|
20
|
+
&[data-placement='right'] {
|
|
21
|
+
padding: 8px 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
path {
|
|
25
|
+
fill: $color-purple-800;
|
|
26
|
+
box-shadow: $shadow-small-box-shadow;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&[data-placement='right'] svg {
|
|
30
|
+
transform: rotate(90deg);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&[data-placement='bottom'] svg {
|
|
34
|
+
transform: rotate(180deg);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&[data-placement='left'] svg {
|
|
38
|
+
transform: rotate(270deg);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.reversed path {
|
|
42
|
+
fill: $color-white;
|
|
43
|
+
}
|
|
42
44
|
}
|
|
43
45
|
}
|