@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.
Files changed (204) hide show
  1. package/dist/styles.css +10589 -10782
  2. package/package.json +1 -1
  3. package/src/Avatar/Avatar.module.css +137 -135
  4. package/src/AvatarGroup/AvatarGroup.module.css +58 -56
  5. package/src/Badge/Badge.module.css +98 -96
  6. package/src/Brand/Brand.module.css +5 -3
  7. package/src/BrandMoment/BrandMoment.module.css +147 -145
  8. package/src/BrandMoment/_docs/ExampleHeaders.module.scss +68 -66
  9. package/src/Button/Button/Button.module.scss +135 -133
  10. package/src/Button/GenericButton/GenericButton.module.scss +81 -79
  11. package/src/Button/IconButton/IconButton.module.scss +20 -18
  12. package/src/ButtonGroup/ButtonGroup.module.css +38 -36
  13. package/src/ButtonGroup/ButtonGroup.module.scss +41 -39
  14. package/src/Calendar/CalendarPopover/CalendarPopover.module.scss +19 -17
  15. package/src/Calendar/CalendarRange/CalendarRange.module.scss +48 -46
  16. package/src/Calendar/CalendarSingle/CalendarSingle.module.scss +12 -10
  17. package/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.module.scss +20 -18
  18. package/src/Calendar/baseCalendarClassNames.module.scss +148 -146
  19. package/src/Card/Card.module.css +91 -89
  20. package/src/Checkbox/Checkbox/Checkbox.module.scss +89 -87
  21. package/src/Checkbox/CheckboxField/CheckboxField.module.scss +32 -30
  22. package/src/Checkbox/CheckboxGroup/CheckboxGroup.module.scss +11 -9
  23. package/src/ClearButton/ClearButton.module.scss +32 -30
  24. package/src/Collapsible/Collapsible/Collapsible.module.scss +87 -85
  25. package/src/Collapsible/CollapsibleGroup/CollapsibleGroup.module.scss +9 -7
  26. package/src/Collapsible/ExpertAdviceCollapsible/ExpertAdviceCollapsible.module.scss +35 -33
  27. package/src/Container/Container.module.scss +11 -9
  28. package/src/Content/Content.module.scss +10 -8
  29. package/src/DateInput/DateInput/DateInput.module.scss +7 -5
  30. package/src/DateInput/DateInputDescription/DateInputDescription.module.scss +15 -13
  31. package/src/DateInput/DateInputWithIconButton/DateInputWithIconButton.module.scss +32 -30
  32. package/src/DatePicker/DatePicker.module.scss +7 -5
  33. package/src/DatePicker/subcomponents/DateInputField/DateInputField.module.scss +5 -3
  34. package/src/DateRangePicker/DateRangePicker.module.scss +75 -73
  35. package/src/Divider/Divider.module.scss +35 -33
  36. package/src/EmptyState/EmptyState.module.css +95 -93
  37. package/src/ErrorPage/ErrorPage.module.scss +4 -2
  38. package/src/FieldGroup/FieldGroup.module.scss +8 -6
  39. package/src/FieldMessage/FieldMessage.module.scss +53 -51
  40. package/src/Filter/Filter/Filter.module.css +5 -3
  41. package/src/Filter/Filter/subcomponents/FilterContents/FilterContents.module.css +4 -2
  42. package/src/Filter/Filter/subcomponents/FilterPopover/FilterPopover.module.css +8 -6
  43. package/src/Filter/FilterBar/FilterBar.module.css +17 -15
  44. package/src/Filter/FilterBar/subcomponents/ClearAllButton/ClearAllButton.module.css +7 -5
  45. package/src/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.module.css +4 -2
  46. package/src/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.module.css +5 -3
  47. package/src/Filter/FilterButton/FilterButton/FilterButton.module.css +19 -17
  48. package/src/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.module.css +4 -2
  49. package/src/Filter/FilterButton/subcomponents/FilterButtonBase/FilterButtonBase.module.scss +42 -40
  50. package/src/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.module.scss +4 -2
  51. package/src/Filter/FilterDatePicker/subcomponents/FilterDatePickerField/FilterDatePickerField.module.scss +6 -4
  52. package/src/Filter/FilterDateRangePicker/FilterDateRangePicker.module.css +7 -5
  53. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeDisplayLabel/DateRangeDisplayLabel.module.scss +5 -3
  54. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.module.scss +36 -34
  55. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeValidationMessage/DateRangeValidationMessage.module.scss +5 -3
  56. package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.module.scss +7 -5
  57. package/src/Filter/FilterMultiSelect/subcomponents/ListBox/ListBox.module.scss +19 -17
  58. package/src/Filter/FilterMultiSelect/subcomponents/ListBoxSection/ListBoxSection.module.scss +14 -12
  59. package/src/Filter/FilterMultiSelect/subcomponents/LoadMoreButton/LoadMoreButton.module.scss +4 -2
  60. package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuFooter/MenuFooter.module.scss +7 -5
  61. package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuLoadingSkeleton/MenuLoadingSkeleton.module.scss +8 -6
  62. package/src/Filter/FilterMultiSelect/subcomponents/MenuPopup/MenuPopup.module.scss +17 -15
  63. package/src/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.module.scss +90 -88
  64. package/src/Filter/FilterMultiSelect/subcomponents/NoResults/NoResults.module.scss +4 -2
  65. package/src/Filter/FilterMultiSelect/subcomponents/SearchInput/SearchInput.module.scss +5 -3
  66. package/src/Filter/FilterMultiSelect/subcomponents/SectionDivider/SectionDivider.module.scss +4 -2
  67. package/src/Filter/FilterMultiSelect/subcomponents/SelectionControlButton/SelectionControlButton.module.scss +52 -50
  68. package/src/Filter/FilterMultiSelect/subcomponents/Trigger/RemovableFilterTrigger/RemovableFilterTrigger.module.css +4 -2
  69. package/src/Filter/FilterSelect/FilterSelect.module.css +9 -7
  70. package/src/Focusable/Focusable.module.scss +4 -2
  71. package/src/GuidanceBlock/GuidanceBlock.module.css +212 -210
  72. package/src/Heading/Heading.module.scss +87 -85
  73. package/src/Icon/_docs/icon.module.scss +35 -33
  74. package/src/Icon/subcomponents/SVG/SVG.module.scss +26 -24
  75. package/src/Illustration/subcomponents/Base/Base.module.scss +100 -98
  76. package/src/Input/Input/Input.module.scss +217 -215
  77. package/src/Input/InputRange/InputRange.module.scss +138 -136
  78. package/src/Input/InputSearch/InputSearch.module.scss +155 -152
  79. package/src/Label/Label.module.scss +82 -80
  80. package/src/LabelledMessage/LabelledMessage.module.scss +8 -6
  81. package/src/LikertScaleLegacy/LikertScaleLegacy.module.scss +266 -264
  82. package/src/Link/Link.module.css +115 -113
  83. package/src/LinkButton/LinkButton.module.css +5 -3
  84. package/src/Loading/LoadingGraphic/LoadingGraphic.module.scss +12 -10
  85. package/src/Loading/LoadingHeading/LoadingHeading.module.scss +44 -42
  86. package/src/Loading/LoadingInput/LoadingInput.module.scss +11 -9
  87. package/src/Loading/LoadingParagraph/LoadingParagraph.module.scss +47 -45
  88. package/src/Loading/LoadingSpinner/LoadingSpinner.module.css +22 -20
  89. package/src/Loading/_mixins.scss +11 -9
  90. package/src/Menu/subcomponents/MenuDropdown/MenuDropdown.module.scss +18 -16
  91. package/src/Menu/subcomponents/MenuHeading/MenuHeading.module.scss +8 -6
  92. package/src/Menu/subcomponents/MenuItem/MenuItem.module.scss +74 -72
  93. package/src/Menu/subcomponents/MenuList/MenuList.module.scss +14 -12
  94. package/src/Menu/subcomponents/StatelessMenu/StatelessMenu.module.scss +4 -2
  95. package/src/Modal/ConfirmationModal/ConfirmationModal.module.scss +126 -124
  96. package/src/Modal/ContextModal/ContextModal.module.scss +72 -70
  97. package/src/Modal/GenericModal/GenericModal.module.scss +92 -90
  98. package/src/Modal/GenericModal/subcomponents/ModalAccessibleDescription/ModalAccessibleDescription.module.scss +4 -2
  99. package/src/Modal/GenericModal/subcomponents/ModalAccessibleLabel/ModalAccessibleLabel.module.scss +25 -23
  100. package/src/Modal/GenericModal/subcomponents/ModalBody/ModalBody.module.scss +5 -3
  101. package/src/Modal/GenericModal/subcomponents/ModalFooter/ModalFooter.module.scss +55 -53
  102. package/src/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.module.scss +17 -15
  103. package/src/Modal/InputEditModal/InputEditModal.module.scss +32 -30
  104. package/src/MultiSelect/MultiSelect.module.scss +7 -5
  105. package/src/MultiSelect/subcomponents/Checkbox/Checkbox.module.scss +59 -57
  106. package/src/MultiSelect/subcomponents/MultiSelectOptionField/MultiSelectOptionField.module.scss +55 -53
  107. package/src/MultiSelect/subcomponents/MultiSelectOptions/MultiSelectOptions.module.scss +8 -6
  108. package/src/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.module.scss +66 -64
  109. package/src/MultiSelect/subcomponents/Popover/Popover.module.scss +15 -13
  110. package/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.module.scss +21 -19
  111. package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +112 -110
  112. package/src/Notification/subcomponents/GenericNotification/_mixins.scss +278 -276
  113. package/src/Notification/subcomponents/NotificationIcon/NotificationIcon.module.css +4 -2
  114. package/src/Pagination/Pagination.module.scss +39 -37
  115. package/src/Pagination/subcomponents/DirectionalLink/DirectionalLink.module.scss +11 -9
  116. package/src/Pagination/subcomponents/PaginationLink/PaginationLink.module.scss +53 -51
  117. package/src/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.module.css +10 -8
  118. package/src/Popover/Popover.module.scss +187 -185
  119. package/src/ProgressBar/ProgressBar.module.scss +75 -73
  120. package/src/ProgressBar/subcomponents/Label/Label.module.scss +6 -4
  121. package/src/Radio/Radio/Radio.module.scss +60 -58
  122. package/src/Radio/RadioField/RadioField.module.scss +33 -31
  123. package/src/Radio/RadioGroup/RadioGroup.module.scss +18 -16
  124. package/src/RichTextEditor/EditableRichTextContent/EditableRichTextContent.module.scss +32 -30
  125. package/src/RichTextEditor/RichTextContent/RichTextContent.module.scss +4 -2
  126. package/src/RichTextEditor/RichTextEditor/RichTextEditor.module.scss +76 -74
  127. package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/ToggleIconButton.module.scss +92 -90
  128. package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/Toolbar.module.scss +5 -3
  129. package/src/RichTextEditor/RichTextEditor/subcomponents/ToolbarSection/ToolbarSection.module.scss +12 -10
  130. package/src/RichTextEditor/_mixins.scss +1 -1
  131. package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkModal/LinkModal.module.scss +5 -3
  132. package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.module.scss +22 -20
  133. package/src/SearchField/SearchField.module.scss +5 -3
  134. package/src/Select/Select.module.scss +17 -0
  135. package/src/Skirt/Skirt.module.scss +24 -22
  136. package/src/Skirt/subcomponents/SkirtCard/SkirtCard.module.scss +13 -11
  137. package/src/Slider/Slider.module.scss +34 -32
  138. package/src/SplitButton/SplitButton.module.scss +5 -3
  139. package/src/SplitButton/subcomponents/ActionButton/ActionButton.module.scss +7 -5
  140. package/src/SplitButton/subcomponents/BaseButton/BaseButton.module.scss +65 -63
  141. package/src/SplitButton/subcomponents/DropdownButton/DropdownButton.module.scss +19 -17
  142. package/src/Table/Table.module.scss +251 -249
  143. package/src/Tabs/subcomponents/Tab.module.scss +81 -79
  144. package/src/Tabs/subcomponents/TabList.module.scss +8 -6
  145. package/src/Tabs/subcomponents/TabPanel.module.scss +10 -8
  146. package/src/Tag/Tag.module.scss +166 -164
  147. package/src/Tag/subcomponents/LiveIcon/LiveIcon.module.css +42 -40
  148. package/src/Text/Text.module.scss +57 -55
  149. package/src/TextArea/TextArea.module.css +102 -99
  150. package/src/TextAreaField/TextAreaField.module.scss +14 -12
  151. package/src/TextField/TextField.module.scss +16 -14
  152. package/src/Tile/MultiActionTile/MultiActionTile.module.scss +7 -5
  153. package/src/Tile/TileGrid/TileGrid.module.scss +18 -16
  154. package/src/Tile/subcomponents/GenericTile/GenericTile.module.scss +123 -121
  155. package/src/TimeField/TimeField.module.scss +57 -55
  156. package/src/TimeField/subcomponents/TimeSegment/TimeSegment.module.scss +37 -35
  157. package/src/TitleBlockZen/TitleBlockZen.module.scss +507 -505
  158. package/src/TitleBlockZen/subcomponents/MainActions.module.scss +11 -9
  159. package/src/TitleBlockZen/subcomponents/MobileActions.module.scss +146 -144
  160. package/src/TitleBlockZen/subcomponents/NavigationTabs.module.scss +105 -103
  161. package/src/TitleBlockZen/subcomponents/TitleBlockMenuItem.module.scss +74 -72
  162. package/src/TitleBlockZen/subcomponents/Toolbar.module.scss +28 -26
  163. package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss +105 -103
  164. package/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss +11 -9
  165. package/src/Tooltip/Tooltip.module.scss +139 -137
  166. package/src/VisuallyHidden/VisuallyHidden.module.scss +10 -8
  167. package/src/Well/Well.module.css +104 -102
  168. package/src/Workflow/subcomponents/Footer/components/FooterActions/FooterActions.module.css +14 -12
  169. package/src/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.module.css +101 -99
  170. package/src/Workflow/subcomponents/Footer/components/Root/FooterRoot.module.css +19 -17
  171. package/src/Workflow/subcomponents/Header/components/Actions/Actions.module.css +14 -12
  172. package/src/Workflow/subcomponents/Header/components/Branding/Branding.module.css +12 -10
  173. package/src/Workflow/subcomponents/Header/components/Root/Root.module.css +19 -17
  174. package/src/Workflow/subcomponents/Header/components/Titles/Titles.module.css +19 -17
  175. package/src/Workflow/subcomponents/Main/Main.module.css +5 -3
  176. package/src/Workflow/subcomponents/Wrapper/Wrapper.module.css +8 -6
  177. package/src/__next__/Button/Button.module.css +220 -218
  178. package/src/__next__/Button/subcomponents/ButtonContent/ButtonContent.module.css +17 -15
  179. package/src/__next__/Button/subcomponents/PendingContent/PendingContent.module.css +15 -13
  180. package/src/__next__/Icon/Icon.module.css +40 -38
  181. package/src/__next__/Icon/_docs/Icon.docs.module.css +13 -11
  182. package/src/__next__/Menu/Menu.module.css +30 -28
  183. package/src/__next__/Menu/MenuItem.module.css +41 -39
  184. package/src/__next__/Select/Select.module.scss +8 -6
  185. package/src/__next__/Select/subcomponents/ListBox/ListBox.module.scss +12 -10
  186. package/src/__next__/Select/subcomponents/ListBoxSection/ListBoxSection.module.scss +15 -13
  187. package/src/__next__/Select/subcomponents/Option/Option.module.scss +53 -51
  188. package/src/__next__/Select/subcomponents/SectionDivider/SectionDivider.module.scss +8 -6
  189. package/src/__next__/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.module.scss +4 -2
  190. package/src/__next__/Select/subcomponents/SelectToggle/SelectToggle.module.scss +105 -103
  191. package/src/__next__/Tabs/subcomponents/Tab/Tab.module.css +81 -79
  192. package/src/__next__/Tabs/subcomponents/TabList/TabList.module.css +56 -54
  193. package/src/__next__/Tabs/subcomponents/TabPanel/TabPanel.module.css +10 -8
  194. package/src/__next__/Tag/RemovableTag/RemovableTag.module.scss +6 -4
  195. package/src/__next__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss +26 -24
  196. package/src/__next__/Tag/Tag/Tag.module.scss +56 -54
  197. package/src/__next__/Tooltip/OverlayArrow.module.scss +40 -38
  198. package/src/__next__/Tooltip/Tooltip.module.scss +39 -37
  199. package/src/__next__/Tooltip/_docs/ApiSpecification.mdx +2 -2
  200. package/src/__next__/Tooltip/_docs/Tooltip.docs.stories.tsx +15 -30
  201. package/src/__next__/Tooltip/_docs/Tooltip.mdx +1 -1
  202. package/src/__next__/Tooltip/_docs/Tooltip.spec.stories.tsx +21 -58
  203. package/src/__next__/Tooltip/_docs/Tooltip.stories.tsx +2 -2
  204. package/src/utils/AppearanceAnim.module.scss +14 -12
@@ -1,19 +1,21 @@
1
- .filterBar {
2
- display: flex;
3
- padding: var(--spacing-8);
4
- border-radius: var(--border-solid-border-radius);
5
- background-color: var(--color-white);
6
- }
7
-
8
- @media (width < 768px) {
1
+ @layer kz-components {
9
2
  .filterBar {
10
- flex-direction: column;
3
+ display: flex;
4
+ padding: var(--spacing-8);
5
+ border-radius: var(--border-solid-border-radius);
6
+ background-color: var(--color-white);
11
7
  }
12
- }
13
8
 
14
- .filtersContainer {
15
- display: flex;
16
- flex-grow: 1;
17
- flex-wrap: wrap;
18
- gap: var(--spacing-8);
9
+ @media (width < 768px) {
10
+ .filterBar {
11
+ flex-direction: column;
12
+ }
13
+ }
14
+
15
+ .filtersContainer {
16
+ display: flex;
17
+ flex-grow: 1;
18
+ flex-wrap: wrap;
19
+ gap: var(--spacing-8);
20
+ }
19
21
  }
@@ -1,7 +1,9 @@
1
- .clearAllButton {
2
- white-space: nowrap;
3
- }
1
+ @layer kz-components {
2
+ .clearAllButton {
3
+ white-space: nowrap;
4
+ }
4
5
 
5
- .hidden {
6
- visibility: hidden;
6
+ .hidden {
7
+ visibility: hidden;
8
+ }
7
9
  }
@@ -1,3 +1,5 @@
1
- .filterBarButton {
2
- width: 100%;
1
+ @layer kz-components {
2
+ .filterBarButton {
3
+ width: 100%;
4
+ }
3
5
  }
@@ -1,5 +1,7 @@
1
- @media (width < 768px) {
2
- .filterMultiSelect {
3
- flex-basis: 100%;
1
+ @layer kz-components {
2
+ @media (width < 768px) {
3
+ .filterMultiSelect {
4
+ flex-basis: 100%;
5
+ }
4
6
  }
5
7
  }
@@ -1,23 +1,25 @@
1
- .filterButton {
2
- gap: var(--spacing-6);
3
- justify-content: space-between;
4
- }
5
-
6
- @media (width < 768px) {
1
+ @layer kz-components {
7
2
  .filterButton {
8
- flex-grow: 1;
3
+ gap: var(--spacing-6);
4
+ justify-content: space-between;
9
5
  }
10
- }
11
6
 
12
- .labelContainer {
13
- display: inline-flex;
14
- flex-wrap: wrap;
15
- }
7
+ @media (width < 768px) {
8
+ .filterButton {
9
+ flex-grow: 1;
10
+ }
11
+ }
16
12
 
17
- .hasSelectedValues {
18
- font-weight: bold;
19
- }
13
+ .labelContainer {
14
+ display: inline-flex;
15
+ flex-wrap: wrap;
16
+ }
20
17
 
21
- .labelSeparator {
22
- margin-inline-end: var(--spacing-6);
18
+ .hasSelectedValues {
19
+ font-weight: bold;
20
+ }
21
+
22
+ .labelSeparator {
23
+ margin-inline-end: var(--spacing-6);
24
+ }
23
25
  }
@@ -1,3 +1,5 @@
1
- .filterButtonBase {
2
- height: 100%;
1
+ @layer kz-components {
2
+ .filterButtonBase {
3
+ height: 100%;
4
+ }
3
5
  }
@@ -5,52 +5,54 @@
5
5
  @import '../../../../../styles/utils/button-reset';
6
6
  @import './variables';
7
7
 
8
- .filterButtonBase {
9
- @include button-reset;
8
+ @layer kz-components {
9
+ .filterButtonBase {
10
+ @include button-reset;
10
11
 
11
- -webkit-font-smoothing: antialiased;
12
- -moz-osx-font-smoothing: grayscale;
13
- position: relative;
14
- display: inline-flex;
15
- align-items: center;
16
- min-height: 3rem; // 48px
17
- padding: $spacing-sm;
18
- border-width: 0;
19
- border-radius: $border-solid-border-radius;
20
- background-color: $color-blue-100;
21
- font-family: $typography-button-secondary-font-family;
22
- font-weight: $typography-button-secondary-font-weight;
23
- font-size: $typography-button-secondary-font-size;
24
- line-height: $typography-button-secondary-line-height;
25
- letter-spacing: $typography-button-secondary-letter-spacing;
26
- color: $color-blue-500;
27
- text-align: start;
12
+ -webkit-font-smoothing: antialiased;
13
+ -moz-osx-font-smoothing: grayscale;
14
+ position: relative;
15
+ display: inline-flex;
16
+ align-items: center;
17
+ min-height: 3rem; // 48px
18
+ padding: $spacing-sm;
19
+ border-width: 0;
20
+ border-radius: $border-solid-border-radius;
21
+ background-color: $color-blue-100;
22
+ font-family: $typography-button-secondary-font-family;
23
+ font-weight: $typography-button-secondary-font-weight;
24
+ font-size: $typography-button-secondary-font-size;
25
+ line-height: $typography-button-secondary-line-height;
26
+ letter-spacing: $typography-button-secondary-letter-spacing;
27
+ color: $color-blue-500;
28
+ text-align: start;
28
29
 
29
- &:hover,
30
- &:active {
31
- z-index: 2;
32
- }
30
+ &:hover,
31
+ &:active {
32
+ z-index: 2;
33
+ }
33
34
 
34
- &:hover,
35
- &:active,
36
- &:focus-visible {
37
- background-color: $color-blue-200;
38
- }
35
+ &:hover,
36
+ &:active,
37
+ &:focus-visible {
38
+ background-color: $color-blue-200;
39
+ }
39
40
 
40
- &:focus {
41
- outline: none;
42
- }
41
+ &:focus {
42
+ outline: none;
43
+ }
43
44
 
44
- &:focus-visible {
45
- outline: none;
45
+ &:focus-visible {
46
+ outline: none;
46
47
 
47
- &::after {
48
- content: '';
49
- z-index: 3;
50
- position: absolute;
51
- inset: $focus-ring-offset-outer;
52
- border-radius: $border-focus-ring-border-radius;
53
- border: $border-focus-ring-border-width $border-focus-ring-border-style $color-blue-500;
48
+ &::after {
49
+ content: '';
50
+ z-index: 3;
51
+ position: absolute;
52
+ inset: $focus-ring-offset-outer;
53
+ border-radius: $border-focus-ring-border-radius;
54
+ border: $border-focus-ring-border-width $border-focus-ring-border-style $color-blue-500;
55
+ }
54
56
  }
55
57
  }
56
58
  }
@@ -1,3 +1,5 @@
1
- .disabled {
2
- opacity: 0.3;
1
+ @layer kz-components {
2
+ .disabled {
3
+ opacity: 0.3;
4
+ }
3
5
  }
@@ -1,7 +1,9 @@
1
1
  @import '~@kaizen/design-tokens/sass/spacing';
2
2
 
3
- .filterDatePickerField {
4
- width: 288px;
5
- display: grid;
6
- gap: $spacing-16;
3
+ @layer kz-components {
4
+ .filterDatePickerField {
5
+ width: 288px;
6
+ display: grid;
7
+ gap: $spacing-16;
8
+ }
7
9
  }
@@ -1,7 +1,9 @@
1
- @media (width <= 320px) {
2
- .filterDateRangePickerContents {
3
- padding: var(--spacing-16);
4
- max-width: 320px;
5
- box-sizing: border-box;
1
+ @layer kz-components {
2
+ @media (width <= 320px) {
3
+ .filterDateRangePickerContents {
4
+ padding: var(--spacing-16);
5
+ max-width: 320px;
6
+ box-sizing: border-box;
7
+ }
6
8
  }
7
9
  }
@@ -1,6 +1,8 @@
1
1
  @import '~@kaizen/design-tokens/sass/spacing';
2
2
 
3
- .dateRangeDisplayLabel {
4
- display: inline-flex;
5
- gap: $spacing-6;
3
+ @layer kz-components {
4
+ .dateRangeDisplayLabel {
5
+ display: inline-flex;
6
+ gap: $spacing-6;
7
+ }
6
8
  }
@@ -1,45 +1,47 @@
1
1
  @import '~@kaizen/design-tokens/sass/border';
2
2
 
3
- $input-disabled-opacity: 0.3;
3
+ @layer kz-components {
4
+ $input-disabled-opacity: 0.3;
4
5
 
5
- .dateRangeInputContainer {
6
- display: flex;
7
- margin: 0;
8
- padding: 0;
9
- border: none;
10
- }
6
+ .dateRangeInputContainer {
7
+ display: flex;
8
+ margin: 0;
9
+ padding: 0;
10
+ border: none;
11
+ }
11
12
 
12
- .inputStartDate input {
13
- border-start-end-radius: 0;
14
- border-end-end-radius: 0;
13
+ .inputStartDate input {
14
+ border-start-end-radius: 0;
15
+ border-end-end-radius: 0;
15
16
 
16
- // `postcss-preset-env` v8 has this style as a lower priority
17
- // than what it wants to override so we must make everything important
18
- + [class*='focusRing'] {
19
- /* stylelint-disable declaration-no-important */
20
- border-start-end-radius: 0 !important;
21
- border-end-end-radius: 0 !important;
22
- /* stylelint-enable declaration-no-important */
17
+ // `postcss-preset-env` v8 has this style as a lower priority
18
+ // than what it wants to override so we must make everything important
19
+ + [class*='focusRing'] {
20
+ /* stylelint-disable declaration-no-important */
21
+ border-start-end-radius: 0 !important;
22
+ border-end-end-radius: 0 !important;
23
+ /* stylelint-enable declaration-no-important */
24
+ }
23
25
  }
24
- }
25
26
 
26
- .inputEndDate input {
27
- position: relative;
28
- inset-inline-start: calc(-1 * #{$border-solid-border-width});
29
- border-start-start-radius: 0;
30
- border-end-start-radius: 0;
27
+ .inputEndDate input {
28
+ position: relative;
29
+ inset-inline-start: calc(-1 * #{$border-solid-border-width});
30
+ border-start-start-radius: 0;
31
+ border-end-start-radius: 0;
31
32
 
32
- // `postcss-preset-env` v8 has this style as a lower priority
33
- // than what it wants to override so we must make everything important
34
- + [class*='focusRing'] {
35
- /* stylelint-disable declaration-no-important */
36
- border-start-start-radius: 0 !important;
37
- border-end-start-radius: 0 !important;
38
- inset-inline: calc(-1 * calc(2 * #{$border-solid-border-width} + 1px)) -1px !important;
39
- /* stylelint-enable declaration-no-important */
33
+ // `postcss-preset-env` v8 has this style as a lower priority
34
+ // than what it wants to override so we must make everything important
35
+ + [class*='focusRing'] {
36
+ /* stylelint-disable declaration-no-important */
37
+ border-start-start-radius: 0 !important;
38
+ border-end-start-radius: 0 !important;
39
+ inset-inline: calc(-1 * calc(2 * #{$border-solid-border-width} + 1px)) -1px !important;
40
+ /* stylelint-enable declaration-no-important */
41
+ }
40
42
  }
41
- }
42
43
 
43
- .disabled {
44
- opacity: $input-disabled-opacity;
44
+ .disabled {
45
+ opacity: $input-disabled-opacity;
46
+ }
45
47
  }
@@ -1,6 +1,8 @@
1
1
  @import '~@kaizen/design-tokens/sass/spacing';
2
2
 
3
- .fieldMessageList {
4
- margin: $spacing-0;
5
- padding-inline-start: $spacing-24;
3
+ @layer kz-components {
4
+ .fieldMessageList {
5
+ margin: $spacing-0;
6
+ padding-inline-start: $spacing-24;
7
+ }
6
8
  }
@@ -1,9 +1,11 @@
1
1
  @import '~@kaizen/design-tokens/sass/spacing';
2
2
 
3
- .filterDateRangePickerField {
4
- display: contents;
5
- }
3
+ @layer kz-components {
4
+ .filterDateRangePickerField {
5
+ display: contents;
6
+ }
6
7
 
7
- .dateRangeInputField {
8
- margin-bottom: $spacing-24;
8
+ .dateRangeInputField {
9
+ margin-bottom: $spacing-24;
10
+ }
9
11
  }
@@ -1,23 +1,25 @@
1
1
  @import '~@kaizen/design-tokens/sass/spacing';
2
2
 
3
- .listBox {
4
- list-style: none;
5
- padding: $spacing-sm;
6
- margin: 0 $spacing-sm 0 0;
7
- display: grid;
8
- max-height: 22rem;
9
- overflow-y: auto;
10
- }
3
+ @layer kz-components {
4
+ .listBox {
5
+ list-style: none;
6
+ padding: $spacing-sm;
7
+ margin: 0 $spacing-sm 0 0;
8
+ display: grid;
9
+ max-height: 22rem;
10
+ overflow-y: auto;
11
+ }
11
12
 
12
- .overflown {
13
- padding-right: $spacing-sm;
14
- }
13
+ .overflown {
14
+ padding-right: $spacing-sm;
15
+ }
15
16
 
16
- .hidden {
17
- display: none;
18
- }
17
+ .hidden {
18
+ display: none;
19
+ }
19
20
 
20
- // this is a div but remove styles briefly flickering to a bullet list as the sections are removed
21
- .noResultsWrapper {
22
- list-style: none;
21
+ // this is a div but remove styles briefly flickering to a bullet list as the sections are removed
22
+ .noResultsWrapper {
23
+ list-style: none;
24
+ }
23
25
  }
@@ -2,17 +2,19 @@
2
2
  @import '~@kaizen/design-tokens/sass/color';
3
3
  @import '~@kaizen/design-tokens/sass/spacing';
4
4
 
5
- .listBoxSection {
6
- display: grid;
7
- list-style: none;
8
- padding: 0;
9
- }
5
+ @layer kz-components {
6
+ .listBoxSection {
7
+ display: grid;
8
+ list-style: none;
9
+ padding: 0;
10
+ }
10
11
 
11
- .listBoxSectionHeader {
12
- font-family: $typography-heading-6-font-family;
13
- font-size: $typography-heading-6-font-size;
14
- font-weight: $typography-heading-6-font-weight;
15
- line-height: $typography-heading-6-line-height;
16
- color: rgba($color-purple-800-rgb, 0.7);
17
- margin: $spacing-6 0;
12
+ .listBoxSectionHeader {
13
+ font-family: $typography-heading-6-font-family;
14
+ font-size: $typography-heading-6-font-size;
15
+ font-weight: $typography-heading-6-font-weight;
16
+ line-height: $typography-heading-6-line-height;
17
+ color: rgba($color-purple-800-rgb, 0.7);
18
+ margin: $spacing-6 0;
19
+ }
18
20
  }
@@ -1,5 +1,7 @@
1
1
  @import '~@kaizen/design-tokens/sass/spacing';
2
2
 
3
- .container {
4
- padding: $spacing-sm $spacing-sm 0;
3
+ @layer kz-components {
4
+ .container {
5
+ padding: $spacing-sm $spacing-sm 0;
6
+ }
5
7
  }
@@ -1,9 +1,11 @@
1
1
  @import '~@kaizen/design-tokens/sass/color';
2
2
  @import '~@kaizen/design-tokens/sass/spacing';
3
3
 
4
- .footer {
5
- border-top: 1px solid rgba($color-gray-600-rgb, 0.1);
6
- gap: $spacing-xs;
7
- display: flex;
8
- padding: $spacing-sm $spacing-sm 0;
4
+ @layer kz-components {
5
+ .footer {
6
+ border-top: 1px solid rgba($color-gray-600-rgb, 0.1);
7
+ gap: $spacing-xs;
8
+ display: flex;
9
+ padding: $spacing-sm $spacing-sm 0;
10
+ }
9
11
  }
@@ -1,10 +1,12 @@
1
1
  @import '~@kaizen/design-tokens/sass/spacing';
2
2
 
3
- .loadingInput {
4
- margin-bottom: $spacing-sm;
5
- }
3
+ @layer kz-components {
4
+ .loadingInput {
5
+ margin-bottom: $spacing-sm;
6
+ }
6
7
 
7
- .loadingContainer {
8
- margin-left: $spacing-sm;
9
- margin-right: $spacing-sm;
8
+ .loadingContainer {
9
+ margin-left: $spacing-sm;
10
+ margin-right: $spacing-sm;
11
+ }
10
12
  }
@@ -3,20 +3,22 @@
3
3
  @import '~@kaizen/design-tokens/sass/border';
4
4
  @import '~@kaizen/design-tokens/sass/color';
5
5
 
6
- // figma hard coded: https://www.figma.com/file/eZKEE5kXbEMY3lx84oz8iN/%E2%9D%A4%EF%B8%8F-UI-Kit%3A-Heart?node-id=22814%3A96966
7
- $menu-container-width: 294px;
8
- $menu-container-max-height: 312px;
6
+ @layer kz-components {
7
+ // figma hard coded: https://www.figma.com/file/eZKEE5kXbEMY3lx84oz8iN/%E2%9D%A4%EF%B8%8F-UI-Kit%3A-Heart?node-id=22814%3A96966
8
+ $menu-container-width: 294px;
9
+ $menu-container-max-height: 312px;
9
10
 
10
- .menuPopup {
11
- position: absolute;
12
- z-index: 1000; // from $ca-z-index-dropdown
13
- box-sizing: border-box;
14
- background: $color-white;
15
- color: $color-purple-800;
16
- border-radius: $border-solid-border-radius;
17
- box-shadow: $shadow-large-box-shadow;
18
- padding: $spacing-sm 0;
19
- margin-top: $spacing-xs;
20
- text-align: start;
21
- width: $menu-container-width;
11
+ .menuPopup {
12
+ position: absolute;
13
+ z-index: 1000; // from $ca-z-index-dropdown
14
+ box-sizing: border-box;
15
+ background: $color-white;
16
+ color: $color-purple-800;
17
+ border-radius: $border-solid-border-radius;
18
+ box-shadow: $shadow-large-box-shadow;
19
+ padding: $spacing-sm 0;
20
+ margin-top: $spacing-xs;
21
+ text-align: start;
22
+ width: $menu-container-width;
23
+ }
22
24
  }