@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
package/src/Link/Link.module.css
CHANGED
|
@@ -1,114 +1,116 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var(--
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
1
|
+
@layer kz-components {
|
|
2
|
+
.link {
|
|
3
|
+
color: var(--link-text-color, var(--color-blue-500));
|
|
4
|
+
font-family: var(--typography-paragraph-body-font-family);
|
|
5
|
+
font-size: var(--link-font-size, inherit);
|
|
6
|
+
line-height: var(--link-line-height, inherit);
|
|
7
|
+
font-weight: var(--typography-paragraph-body-font-weight);
|
|
8
|
+
text-decoration: none;
|
|
9
|
+
position: relative;
|
|
10
|
+
white-space: nowrap;
|
|
11
|
+
outline: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.link[data-focus-visible] {
|
|
15
|
+
outline: var(--border-focus-ring-border-width) var(--border-focus-ring-border-style)
|
|
16
|
+
var(--color-blue-500);
|
|
17
|
+
outline-offset: 3px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.isUnderlined {
|
|
21
|
+
border-bottom: var(--spacing-1) solid var(--link-text-color, var(--color-blue-500));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.icon > * {
|
|
25
|
+
vertical-align: text-bottom;
|
|
26
|
+
font-size: var(--icon-font-size, 1em);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.iconStart {
|
|
30
|
+
margin-inline-start: var(--text-icon-gap, 0.5em);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.iconEnd {
|
|
34
|
+
margin-inline-end: var(--text-icon-gap, 0.5em);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.primary[data-hovered] {
|
|
38
|
+
--link-text-color: var(--color-blue-600);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.primary[data-pressed] {
|
|
42
|
+
--link-text-color: var(--color-blue-700);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.secondary {
|
|
46
|
+
--link-text-color: var(--color-purple-800);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.secondary[data-hovered] {
|
|
50
|
+
--link-text-color: var(--color-gray-600);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.secondary[data-pressed] {
|
|
54
|
+
--link-text-color: var(--color-black);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[class*='extra-small'] .link.isInline,
|
|
58
|
+
.extra-small {
|
|
59
|
+
--link-font-size: var(--typography-paragraph-extra-small-font-size);
|
|
60
|
+
--link-line-height: var(--typography-paragraph-extra-small-line-height);
|
|
61
|
+
--icon-font-size: 0.875rem;
|
|
62
|
+
--text-icon-gap: var(--spacing-2);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
[class*='body'] .link.isInline,
|
|
66
|
+
.body {
|
|
67
|
+
--link-font-size: var(--typography-paragraph-body-font-size);
|
|
68
|
+
--link-line-height: var(--typography-paragraph-body-line-height);
|
|
69
|
+
--icon-font-size: 1.25rem;
|
|
70
|
+
--text-icon-gap: var(--spacing-6);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[class*='intro-lede'] .link.isInline,
|
|
74
|
+
.intro-lede {
|
|
75
|
+
--link-font-size: var(--typography-paragraph-intro-lede-font-size);
|
|
76
|
+
--link-line-height: var(--typography-paragraph-intro-lede-line-height);
|
|
77
|
+
--icon-font-size: 1.5rem;
|
|
78
|
+
--text-icon-gap: var(--spacing-8);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
[class*='small']:not([class*='extra-small']) .link.isInline,
|
|
82
|
+
.small {
|
|
83
|
+
--link-font-size: var(--typography-paragraph-small-font-size);
|
|
84
|
+
--link-line-height: var(--typography-paragraph-small-line-height);
|
|
85
|
+
--icon-font-size: 1rem;
|
|
86
|
+
--text-icon-gap: var(--spacing-4);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.white {
|
|
90
|
+
--link-text-color: var(--color-white);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.white[data-focus-visible] {
|
|
94
|
+
outline-color: var(--color-blue-300);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.white.isDisabled {
|
|
98
|
+
--link-text-color: rgb(var(--color-white-rgb), 0.2);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.reversed {
|
|
102
|
+
--link-text-color: var(--color-white);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.reversed[data-focus-visible] {
|
|
106
|
+
outline-color: var(--color-blue-300);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.link.isDisabled {
|
|
110
|
+
--link-text-color: var(--color-gray-400);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.reversed.isDisabled {
|
|
114
|
+
--link-text-color: rgb(var(--color-white-rgb), 0.2);
|
|
115
|
+
}
|
|
114
116
|
}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
@import '~@kaizen/design-tokens/sass/color';
|
|
2
2
|
@import '../mixins';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
@layer kz-components {
|
|
5
|
+
.loadingGraphic {
|
|
6
|
+
@extend %loadingBase;
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
8
|
+
background-color: rgba($color-gray-600-rgb, 0.1);
|
|
9
|
+
border-radius: 50%;
|
|
10
|
+
}
|
|
10
11
|
|
|
11
|
-
.isReversed {
|
|
12
|
-
|
|
13
|
-
}
|
|
12
|
+
.isReversed {
|
|
13
|
+
background-color: rgba($color-white-rgb, 0.1);
|
|
14
|
+
}
|
|
14
15
|
|
|
15
|
-
.isAnimated {
|
|
16
|
-
|
|
16
|
+
.isAnimated {
|
|
17
|
+
@extend %loadingAnimated;
|
|
18
|
+
}
|
|
17
19
|
}
|
|
@@ -2,59 +2,61 @@
|
|
|
2
2
|
@import '~@kaizen/design-tokens/sass/typography';
|
|
3
3
|
@import '../mixins';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
@layer kz-components {
|
|
6
|
+
.loadingHeading {
|
|
7
|
+
@extend %loadingBase;
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
}
|
|
9
|
+
background-color: rgba($color-gray-500-rgb, 0.2);
|
|
10
|
+
}
|
|
10
11
|
|
|
11
|
-
.isAnimated {
|
|
12
|
-
|
|
13
|
-
}
|
|
12
|
+
.isAnimated {
|
|
13
|
+
@extend %loadingAnimated;
|
|
14
|
+
}
|
|
14
15
|
|
|
15
|
-
.display-0 {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
16
|
+
.display-0 {
|
|
17
|
+
height: $typography-display-0-font-size;
|
|
18
|
+
margin-bottom: calc(#{$typography-display-0-line-height} - #{$typography-display-0-font-size});
|
|
19
|
+
}
|
|
19
20
|
|
|
20
|
-
.heading-1 {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
21
|
+
.heading-1 {
|
|
22
|
+
height: $typography-heading-1-font-size;
|
|
23
|
+
margin-bottom: calc(#{$typography-heading-1-line-height} - #{$typography-heading-1-font-size});
|
|
24
|
+
}
|
|
24
25
|
|
|
25
|
-
.heading-2 {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
26
|
+
.heading-2 {
|
|
27
|
+
height: $typography-heading-2-font-size;
|
|
28
|
+
margin-bottom: calc(#{$typography-heading-2-line-height} - #{$typography-heading-2-font-size});
|
|
29
|
+
}
|
|
29
30
|
|
|
30
|
-
.heading-3 {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
31
|
+
.heading-3 {
|
|
32
|
+
height: $typography-heading-3-font-size;
|
|
33
|
+
margin-bottom: calc(#{$typography-heading-3-line-height} - #{$typography-heading-3-font-size});
|
|
34
|
+
}
|
|
34
35
|
|
|
35
|
-
.heading-4 {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
36
|
+
.heading-4 {
|
|
37
|
+
height: $typography-heading-4-font-size;
|
|
38
|
+
margin-bottom: calc(#{$typography-heading-4-line-height} - #{$typography-heading-4-font-size});
|
|
39
|
+
}
|
|
39
40
|
|
|
40
|
-
.heading-5 {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
41
|
+
.heading-5 {
|
|
42
|
+
height: $typography-heading-5-font-size;
|
|
43
|
+
margin-bottom: calc(#{$typography-heading-5-line-height} - #{$typography-heading-5-font-size});
|
|
44
|
+
}
|
|
44
45
|
|
|
45
|
-
.heading-6 {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
46
|
+
.heading-6 {
|
|
47
|
+
height: $typography-heading-6-font-size;
|
|
48
|
+
margin-bottom: calc(#{$typography-heading-6-line-height} - #{$typography-heading-6-font-size});
|
|
49
|
+
}
|
|
49
50
|
|
|
50
|
-
.isReversed {
|
|
51
|
-
|
|
52
|
-
}
|
|
51
|
+
.isReversed {
|
|
52
|
+
background-color: rgba($color-white-rgb, 0.2);
|
|
53
|
+
}
|
|
53
54
|
|
|
54
|
-
.link {
|
|
55
|
-
|
|
55
|
+
.link {
|
|
56
|
+
background-color: rgba($color-blue-500-rgb, 0.2);
|
|
56
57
|
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
&.isReversed {
|
|
59
|
+
background-color: rgba($color-white-rgb, 0.65);
|
|
60
|
+
}
|
|
59
61
|
}
|
|
60
62
|
}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
@import '~@kaizen/design-tokens/sass/color';
|
|
2
2
|
@import '../mixins';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
@layer kz-components {
|
|
5
|
+
.loadingInput {
|
|
6
|
+
@extend %loadingBase;
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
}
|
|
8
|
+
background-color: rgba($color-gray-600-rgb, 0.1);
|
|
9
|
+
}
|
|
9
10
|
|
|
10
|
-
.isAnimated {
|
|
11
|
-
|
|
12
|
-
}
|
|
11
|
+
.isAnimated {
|
|
12
|
+
@extend %loadingAnimated;
|
|
13
|
+
}
|
|
13
14
|
|
|
14
|
-
.isReversed {
|
|
15
|
-
|
|
15
|
+
.isReversed {
|
|
16
|
+
background-color: rgba($color-white-rgb, 0.1);
|
|
17
|
+
}
|
|
16
18
|
}
|
|
@@ -2,49 +2,51 @@
|
|
|
2
2
|
@import '~@kaizen/design-tokens/sass/spacing';
|
|
3
3
|
@import '../mixins';
|
|
4
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
.
|
|
49
|
-
|
|
5
|
+
@layer kz-components {
|
|
6
|
+
.loadingParagraph {
|
|
7
|
+
@extend %loadingBase;
|
|
8
|
+
|
|
9
|
+
background-color: $color-gray-300;
|
|
10
|
+
height: calc(#{$spacing-md} * 0.625);
|
|
11
|
+
margin-bottom: calc(#{$spacing-md} * 0.5);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.isReversed {
|
|
15
|
+
background-color: rgba($color-white-rgb, 0.1);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.isLink {
|
|
19
|
+
background-color: rgba($color-blue-500-rgb, 0.2);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.isLink.isReversed {
|
|
23
|
+
background-color: rgba($color-white-rgb, 0.65);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.isAnimated {
|
|
27
|
+
@extend %loadingAnimated;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.isCentered {
|
|
31
|
+
margin-left: auto;
|
|
32
|
+
margin-right: auto;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.isInline {
|
|
36
|
+
display: inline-block;
|
|
37
|
+
margin-bottom: calc(#{$spacing-md} * 0.35);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.isInline + .isInline {
|
|
41
|
+
margin-inline-start: $spacing-md;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.noBottomMargin {
|
|
45
|
+
margin-bottom: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// We double the class selector to increase specificity above rules like `h1.default-style`
|
|
49
|
+
.inheritBaseline.inheritBaseline {
|
|
50
|
+
position: static;
|
|
51
|
+
}
|
|
50
52
|
}
|
|
@@ -1,28 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
@layer kz-components {
|
|
2
|
+
.loadingSpinner {
|
|
3
|
+
--loading-spinner-size: 48px;
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
5
|
+
display: flex;
|
|
6
|
+
width: var(--loading-spinner-size);
|
|
7
|
+
height: var(--loading-spinner-size);
|
|
8
|
+
}
|
|
8
9
|
|
|
9
|
-
.xs {
|
|
10
|
-
|
|
11
|
-
}
|
|
10
|
+
.xs {
|
|
11
|
+
--loading-spinner-size: 16px;
|
|
12
|
+
}
|
|
12
13
|
|
|
13
|
-
.sm {
|
|
14
|
-
|
|
15
|
-
}
|
|
14
|
+
.sm {
|
|
15
|
+
--loading-spinner-size: 24px;
|
|
16
|
+
}
|
|
16
17
|
|
|
17
|
-
.md {
|
|
18
|
-
|
|
19
|
-
}
|
|
18
|
+
.md {
|
|
19
|
+
--loading-spinner-size: 48px;
|
|
20
|
+
}
|
|
20
21
|
|
|
21
|
-
.spinner {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
.spinner {
|
|
23
|
+
animation: spinner var(--animation-duration-deliberate)
|
|
24
|
+
var(--animation-easing-function-ease-in-out) infinite;
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
}
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
@keyframes spinner {
|
package/src/Loading/_mixins.scss
CHANGED
|
@@ -2,9 +2,17 @@
|
|
|
2
2
|
@import '~@kaizen/design-tokens/sass/spacing';
|
|
3
3
|
@import '~@kaizen/design-tokens/sass/border';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
@layer kz-components {
|
|
6
|
+
%loadingBase {
|
|
7
|
+
border-radius: $border-solid-border-radius;
|
|
8
|
+
top: calc(#{$spacing-md} * 0.175);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
%loadingAnimated {
|
|
12
|
+
animation-name: fade-in-out;
|
|
13
|
+
animation-duration: calc(#{$animation-duration-deliberate} * 2);
|
|
14
|
+
animation-iteration-count: infinite;
|
|
15
|
+
}
|
|
8
16
|
}
|
|
9
17
|
|
|
10
18
|
@keyframes fade-in-out {
|
|
@@ -20,9 +28,3 @@
|
|
|
20
28
|
opacity: 60%;
|
|
21
29
|
}
|
|
22
30
|
}
|
|
23
|
-
|
|
24
|
-
%loadingAnimated {
|
|
25
|
-
animation-name: fade-in-out;
|
|
26
|
-
animation-duration: calc(#{$animation-duration-deliberate} * 2);
|
|
27
|
-
animation-iteration-count: infinite;
|
|
28
|
-
}
|
|
@@ -3,22 +3,24 @@
|
|
|
3
3
|
@import '~@kaizen/design-tokens/sass/shadow';
|
|
4
4
|
@import '~@kaizen/design-tokens/sass/spacing';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
$
|
|
6
|
+
@layer kz-components {
|
|
7
|
+
$menu-container-width: 248px;
|
|
8
|
+
$dropdown-index: 1000;
|
|
8
9
|
|
|
9
|
-
.menuContainer {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
10
|
+
.menuContainer {
|
|
11
|
+
z-index: $dropdown-index;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
background: $color-white;
|
|
14
|
+
color: $color-purple-800;
|
|
15
|
+
border-radius: $border-solid-border-radius;
|
|
16
|
+
box-shadow: $shadow-large-box-shadow;
|
|
17
|
+
max-height: 22rem;
|
|
18
|
+
overflow: auto;
|
|
19
|
+
padding: $spacing-xs 0;
|
|
20
|
+
text-align: start;
|
|
21
|
+
}
|
|
21
22
|
|
|
22
|
-
.defaultWidth {
|
|
23
|
-
|
|
23
|
+
.defaultWidth {
|
|
24
|
+
width: $menu-container-width;
|
|
25
|
+
}
|
|
24
26
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
@import '~@kaizen/design-tokens/sass/color';
|
|
2
2
|
@import '~@kaizen/design-tokens/sass/spacing';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
@layer kz-components {
|
|
5
|
+
$gutter: calc(#{$spacing-md} * 1 / 6);
|
|
5
6
|
|
|
6
|
-
.heading {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
.heading {
|
|
8
|
+
padding: 10px $spacing-sm 5px;
|
|
9
|
+
color: $color-purple-800;
|
|
10
|
+
margin: 0 $gutter;
|
|
11
|
+
display: block;
|
|
12
|
+
}
|
|
11
13
|
}
|