@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.
Files changed (207) hide show
  1. package/dist/cjs/src/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.cjs +1 -1
  2. package/dist/esm/src/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.mjs +1 -1
  3. package/dist/styles.css +9823 -10017
  4. package/package.json +27 -26
  5. package/src/Avatar/Avatar.module.css +137 -135
  6. package/src/AvatarGroup/AvatarGroup.module.css +58 -56
  7. package/src/Badge/Badge.module.css +98 -96
  8. package/src/Brand/Brand.module.css +5 -3
  9. package/src/BrandMoment/BrandMoment.module.css +147 -145
  10. package/src/BrandMoment/_docs/ExampleHeaders.module.scss +68 -66
  11. package/src/Button/Button/Button.module.scss +135 -133
  12. package/src/Button/GenericButton/GenericButton.module.scss +81 -79
  13. package/src/Button/IconButton/IconButton.module.scss +20 -18
  14. package/src/ButtonGroup/ButtonGroup.module.css +38 -36
  15. package/src/ButtonGroup/ButtonGroup.module.scss +41 -39
  16. package/src/Calendar/CalendarPopover/CalendarPopover.module.scss +19 -17
  17. package/src/Calendar/CalendarRange/CalendarRange.module.scss +48 -46
  18. package/src/Calendar/CalendarSingle/CalendarSingle.module.scss +12 -10
  19. package/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.module.scss +20 -18
  20. package/src/Calendar/baseCalendarClassNames.module.scss +148 -146
  21. package/src/Card/Card.module.css +91 -89
  22. package/src/Checkbox/Checkbox/Checkbox.module.scss +89 -87
  23. package/src/Checkbox/CheckboxField/CheckboxField.module.scss +32 -30
  24. package/src/Checkbox/CheckboxGroup/CheckboxGroup.module.scss +11 -9
  25. package/src/ClearButton/ClearButton.module.scss +32 -30
  26. package/src/Collapsible/Collapsible/Collapsible.module.scss +87 -85
  27. package/src/Collapsible/CollapsibleGroup/CollapsibleGroup.module.scss +9 -7
  28. package/src/Collapsible/ExpertAdviceCollapsible/ExpertAdviceCollapsible.module.scss +35 -33
  29. package/src/Container/Container.module.scss +11 -9
  30. package/src/Content/Content.module.scss +10 -8
  31. package/src/DateInput/DateInput/DateInput.module.scss +7 -5
  32. package/src/DateInput/DateInputDescription/DateInputDescription.module.scss +15 -13
  33. package/src/DateInput/DateInputWithIconButton/DateInputWithIconButton.module.scss +32 -30
  34. package/src/DatePicker/DatePicker.module.scss +7 -5
  35. package/src/DatePicker/subcomponents/DateInputField/DateInputField.module.scss +5 -3
  36. package/src/DateRangePicker/DateRangePicker.module.scss +75 -73
  37. package/src/Divider/Divider.module.scss +35 -33
  38. package/src/EmptyState/EmptyState.module.css +95 -93
  39. package/src/ErrorPage/ErrorPage.module.scss +4 -2
  40. package/src/FieldGroup/FieldGroup.module.scss +8 -6
  41. package/src/FieldMessage/FieldMessage.module.scss +53 -51
  42. package/src/Filter/Filter/Filter.module.css +5 -3
  43. package/src/Filter/Filter/subcomponents/FilterContents/FilterContents.module.css +4 -2
  44. package/src/Filter/Filter/subcomponents/FilterPopover/FilterPopover.module.css +8 -6
  45. package/src/Filter/FilterBar/FilterBar.module.css +17 -15
  46. package/src/Filter/FilterBar/subcomponents/ClearAllButton/ClearAllButton.module.css +7 -5
  47. package/src/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.module.css +4 -2
  48. package/src/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.module.css +5 -3
  49. package/src/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.tsx +1 -1
  50. package/src/Filter/FilterButton/FilterButton/FilterButton.module.css +19 -17
  51. package/src/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.module.css +4 -2
  52. package/src/Filter/FilterButton/subcomponents/FilterButtonBase/FilterButtonBase.module.scss +42 -40
  53. package/src/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.module.scss +4 -2
  54. package/src/Filter/FilterDatePicker/subcomponents/FilterDatePickerField/FilterDatePickerField.module.scss +6 -4
  55. package/src/Filter/FilterDateRangePicker/FilterDateRangePicker.module.css +7 -5
  56. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeDisplayLabel/DateRangeDisplayLabel.module.scss +5 -3
  57. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.module.scss +36 -34
  58. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeValidationMessage/DateRangeValidationMessage.module.scss +5 -3
  59. package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.module.scss +7 -5
  60. package/src/Filter/FilterMultiSelect/subcomponents/ListBox/ListBox.module.scss +19 -17
  61. package/src/Filter/FilterMultiSelect/subcomponents/ListBoxSection/ListBoxSection.module.scss +14 -12
  62. package/src/Filter/FilterMultiSelect/subcomponents/LoadMoreButton/LoadMoreButton.module.scss +4 -2
  63. package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuFooter/MenuFooter.module.scss +7 -5
  64. package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuLoadingSkeleton/MenuLoadingSkeleton.module.scss +8 -6
  65. package/src/Filter/FilterMultiSelect/subcomponents/MenuPopup/MenuPopup.module.scss +17 -15
  66. package/src/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.module.scss +90 -88
  67. package/src/Filter/FilterMultiSelect/subcomponents/NoResults/NoResults.module.scss +4 -2
  68. package/src/Filter/FilterMultiSelect/subcomponents/SearchInput/SearchInput.module.scss +5 -3
  69. package/src/Filter/FilterMultiSelect/subcomponents/SectionDivider/SectionDivider.module.scss +4 -2
  70. package/src/Filter/FilterMultiSelect/subcomponents/SelectionControlButton/SelectionControlButton.module.scss +52 -50
  71. package/src/Filter/FilterMultiSelect/subcomponents/Trigger/RemovableFilterTrigger/RemovableFilterTrigger.module.css +4 -2
  72. package/src/Filter/FilterSelect/FilterSelect.module.css +9 -7
  73. package/src/Focusable/Focusable.module.scss +4 -2
  74. package/src/GuidanceBlock/GuidanceBlock.module.css +212 -210
  75. package/src/Heading/Heading.module.scss +87 -85
  76. package/src/Icon/_docs/icon.module.scss +35 -33
  77. package/src/Icon/subcomponents/SVG/SVG.module.scss +26 -24
  78. package/src/Illustration/subcomponents/Base/Base.module.scss +100 -98
  79. package/src/Input/Input/Input.module.scss +217 -215
  80. package/src/Input/InputRange/InputRange.module.scss +138 -136
  81. package/src/Input/InputSearch/InputSearch.module.scss +155 -152
  82. package/src/Label/Label.module.scss +82 -80
  83. package/src/LabelledMessage/LabelledMessage.module.scss +8 -6
  84. package/src/LikertScaleLegacy/LikertScaleLegacy.module.scss +266 -264
  85. package/src/Link/Link.module.css +115 -113
  86. package/src/LinkButton/LinkButton.module.css +5 -3
  87. package/src/Loading/LoadingGraphic/LoadingGraphic.module.scss +12 -10
  88. package/src/Loading/LoadingHeading/LoadingHeading.module.scss +44 -42
  89. package/src/Loading/LoadingInput/LoadingInput.module.scss +11 -9
  90. package/src/Loading/LoadingParagraph/LoadingParagraph.module.scss +47 -45
  91. package/src/Loading/LoadingSpinner/LoadingSpinner.module.css +22 -20
  92. package/src/Loading/_mixins.scss +11 -9
  93. package/src/Menu/subcomponents/MenuDropdown/MenuDropdown.module.scss +18 -16
  94. package/src/Menu/subcomponents/MenuHeading/MenuHeading.module.scss +8 -6
  95. package/src/Menu/subcomponents/MenuItem/MenuItem.module.scss +74 -72
  96. package/src/Menu/subcomponents/MenuList/MenuList.module.scss +14 -12
  97. package/src/Menu/subcomponents/StatelessMenu/StatelessMenu.module.scss +4 -2
  98. package/src/Modal/ConfirmationModal/ConfirmationModal.module.scss +126 -124
  99. package/src/Modal/ContextModal/ContextModal.module.scss +72 -70
  100. package/src/Modal/GenericModal/GenericModal.module.scss +92 -90
  101. package/src/Modal/GenericModal/subcomponents/ModalAccessibleDescription/ModalAccessibleDescription.module.scss +4 -2
  102. package/src/Modal/GenericModal/subcomponents/ModalAccessibleLabel/ModalAccessibleLabel.module.scss +25 -23
  103. package/src/Modal/GenericModal/subcomponents/ModalBody/ModalBody.module.scss +5 -3
  104. package/src/Modal/GenericModal/subcomponents/ModalFooter/ModalFooter.module.scss +55 -53
  105. package/src/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.module.scss +17 -15
  106. package/src/Modal/InputEditModal/InputEditModal.module.scss +32 -30
  107. package/src/MultiSelect/MultiSelect.module.scss +7 -5
  108. package/src/MultiSelect/subcomponents/Checkbox/Checkbox.module.scss +59 -57
  109. package/src/MultiSelect/subcomponents/MultiSelectOptionField/MultiSelectOptionField.module.scss +55 -53
  110. package/src/MultiSelect/subcomponents/MultiSelectOptions/MultiSelectOptions.module.scss +8 -6
  111. package/src/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.module.scss +66 -64
  112. package/src/MultiSelect/subcomponents/Popover/Popover.module.scss +15 -13
  113. package/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.module.scss +21 -19
  114. package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +112 -110
  115. package/src/Notification/subcomponents/GenericNotification/_mixins.scss +278 -276
  116. package/src/Notification/subcomponents/NotificationIcon/NotificationIcon.module.css +4 -2
  117. package/src/Pagination/Pagination.module.scss +39 -37
  118. package/src/Pagination/subcomponents/DirectionalLink/DirectionalLink.module.scss +11 -9
  119. package/src/Pagination/subcomponents/PaginationLink/PaginationLink.module.scss +53 -51
  120. package/src/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.module.css +10 -8
  121. package/src/Popover/Popover.module.scss +187 -185
  122. package/src/ProgressBar/ProgressBar.module.scss +75 -73
  123. package/src/ProgressBar/subcomponents/Label/Label.module.scss +6 -4
  124. package/src/Radio/Radio/Radio.module.scss +60 -58
  125. package/src/Radio/RadioField/RadioField.module.scss +33 -32
  126. package/src/Radio/RadioGroup/RadioGroup.module.scss +18 -16
  127. package/src/RichTextEditor/EditableRichTextContent/EditableRichTextContent.module.scss +32 -30
  128. package/src/RichTextEditor/RichTextContent/RichTextContent.module.scss +4 -2
  129. package/src/RichTextEditor/RichTextEditor/RichTextEditor.module.scss +76 -74
  130. package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/ToggleIconButton.module.scss +92 -90
  131. package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/Toolbar.module.scss +5 -3
  132. package/src/RichTextEditor/RichTextEditor/subcomponents/ToolbarSection/ToolbarSection.module.scss +12 -10
  133. package/src/RichTextEditor/_mixins.scss +1 -1
  134. package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkModal/LinkModal.module.scss +5 -3
  135. package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.module.scss +22 -20
  136. package/src/SearchField/SearchField.module.scss +5 -3
  137. package/src/Select/Select.module.scss +17 -0
  138. package/src/Skirt/Skirt.module.scss +24 -22
  139. package/src/Skirt/subcomponents/SkirtCard/SkirtCard.module.scss +13 -11
  140. package/src/Slider/Slider.module.scss +34 -32
  141. package/src/SplitButton/SplitButton.module.scss +5 -3
  142. package/src/SplitButton/subcomponents/ActionButton/ActionButton.module.scss +7 -5
  143. package/src/SplitButton/subcomponents/BaseButton/BaseButton.module.scss +65 -63
  144. package/src/SplitButton/subcomponents/DropdownButton/DropdownButton.module.scss +19 -17
  145. package/src/Table/Table.module.scss +251 -249
  146. package/src/Tabs/subcomponents/Tab.module.scss +81 -79
  147. package/src/Tabs/subcomponents/TabList.module.scss +8 -6
  148. package/src/Tabs/subcomponents/TabPanel.module.scss +10 -8
  149. package/src/Tag/Tag.module.scss +166 -164
  150. package/src/Tag/subcomponents/LiveIcon/LiveIcon.module.css +42 -40
  151. package/src/Text/Text.module.scss +57 -55
  152. package/src/TextArea/TextArea.module.css +103 -100
  153. package/src/TextAreaField/TextAreaField.module.scss +14 -12
  154. package/src/TextField/TextField.module.scss +16 -14
  155. package/src/Tile/MultiActionTile/MultiActionTile.module.scss +7 -5
  156. package/src/Tile/TileGrid/TileGrid.module.scss +18 -16
  157. package/src/Tile/subcomponents/GenericTile/GenericTile.module.scss +123 -121
  158. package/src/TimeField/TimeField.module.scss +57 -55
  159. package/src/TimeField/subcomponents/TimeSegment/TimeSegment.module.scss +37 -35
  160. package/src/TitleBlockZen/TitleBlockZen.module.scss +507 -505
  161. package/src/TitleBlockZen/subcomponents/MainActions.module.scss +11 -9
  162. package/src/TitleBlockZen/subcomponents/MobileActions.module.scss +146 -144
  163. package/src/TitleBlockZen/subcomponents/NavigationTabs.module.scss +105 -103
  164. package/src/TitleBlockZen/subcomponents/TitleBlockMenuItem.module.scss +74 -72
  165. package/src/TitleBlockZen/subcomponents/Toolbar.module.scss +28 -26
  166. package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss +105 -103
  167. package/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss +11 -9
  168. package/src/Tooltip/Tooltip.module.scss +139 -137
  169. package/src/VisuallyHidden/VisuallyHidden.module.scss +10 -8
  170. package/src/Well/Well.module.css +104 -102
  171. package/src/Workflow/subcomponents/Footer/components/FooterActions/FooterActions.module.css +14 -12
  172. package/src/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.module.css +101 -99
  173. package/src/Workflow/subcomponents/Footer/components/Root/FooterRoot.module.css +19 -17
  174. package/src/Workflow/subcomponents/Header/components/Actions/Actions.module.css +14 -12
  175. package/src/Workflow/subcomponents/Header/components/Branding/Branding.module.css +12 -10
  176. package/src/Workflow/subcomponents/Header/components/Root/Root.module.css +19 -17
  177. package/src/Workflow/subcomponents/Header/components/Titles/Titles.module.css +19 -17
  178. package/src/Workflow/subcomponents/Main/Main.module.css +5 -3
  179. package/src/Workflow/subcomponents/Wrapper/Wrapper.module.css +8 -6
  180. package/src/__next__/Button/Button.module.css +220 -218
  181. package/src/__next__/Button/subcomponents/ButtonContent/ButtonContent.module.css +17 -15
  182. package/src/__next__/Button/subcomponents/PendingContent/PendingContent.module.css +15 -13
  183. package/src/__next__/Icon/Icon.module.css +40 -38
  184. package/src/__next__/Icon/_docs/Icon.docs.module.css +13 -11
  185. package/src/__next__/Menu/Menu.module.css +30 -28
  186. package/src/__next__/Menu/MenuItem.module.css +41 -39
  187. package/src/__next__/Select/Select.module.scss +8 -6
  188. package/src/__next__/Select/subcomponents/ListBox/ListBox.module.scss +12 -10
  189. package/src/__next__/Select/subcomponents/ListBoxSection/ListBoxSection.module.scss +15 -13
  190. package/src/__next__/Select/subcomponents/Option/Option.module.scss +53 -51
  191. package/src/__next__/Select/subcomponents/SectionDivider/SectionDivider.module.scss +8 -6
  192. package/src/__next__/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.module.scss +4 -2
  193. package/src/__next__/Select/subcomponents/SelectToggle/SelectToggle.module.scss +105 -103
  194. package/src/__next__/Tabs/subcomponents/Tab/Tab.module.css +81 -79
  195. package/src/__next__/Tabs/subcomponents/TabList/TabList.module.css +56 -54
  196. package/src/__next__/Tabs/subcomponents/TabPanel/TabPanel.module.css +10 -8
  197. package/src/__next__/Tag/RemovableTag/RemovableTag.module.scss +6 -4
  198. package/src/__next__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss +26 -24
  199. package/src/__next__/Tag/Tag/Tag.module.scss +56 -54
  200. package/src/__next__/Tooltip/OverlayArrow.module.scss +40 -38
  201. package/src/__next__/Tooltip/Tooltip.module.scss +39 -37
  202. package/src/__next__/Tooltip/_docs/ApiSpecification.mdx +2 -2
  203. package/src/__next__/Tooltip/_docs/Tooltip.docs.stories.tsx +15 -30
  204. package/src/__next__/Tooltip/_docs/Tooltip.mdx +1 -1
  205. package/src/__next__/Tooltip/_docs/Tooltip.spec.stories.tsx +21 -58
  206. package/src/__next__/Tooltip/_docs/Tooltip.stories.tsx +2 -2
  207. package/src/utils/AppearanceAnim.module.scss +14 -12
@@ -6,150 +6,152 @@
6
6
  @import '../../../../styles/utils/responsive';
7
7
  @import './variables';
8
8
 
9
- $tilePaddingTop: $spacing-xl;
9
+ @layer kz-components {
10
+ $tilePaddingTop: $spacing-xl;
10
11
 
11
- .root {
12
- perspective: 800px;
13
- }
14
-
15
- .tile {
16
- position: relative;
17
- width: $tileWidth;
18
- height: $tileHeight;
19
- transition: transform $ca-duration-slow $ca-default;
20
- transform-style: preserve-3d;
21
- box-shadow: $shadow-small-box-shadow;
22
- border-radius: 7px;
23
- background-color: $color-white;
24
-
25
- [data-tile-grid] & {
26
- width: auto;
12
+ .root {
13
+ perspective: 800px;
27
14
  }
28
15
 
29
- @include ca-media-mobile {
30
- width: 100%;
31
- min-width: 226px;
32
- max-width: $tileHeight;
16
+ .tile {
17
+ position: relative;
18
+ width: $tileWidth;
19
+ height: $tileHeight;
20
+ transition: transform $ca-duration-slow $ca-default;
21
+ transform-style: preserve-3d;
22
+ box-shadow: $shadow-small-box-shadow;
23
+ border-radius: 7px;
24
+ background-color: $color-white;
25
+
26
+ [data-tile-grid] & {
27
+ width: auto;
28
+ }
29
+
30
+ @include ca-media-mobile {
31
+ width: 100%;
32
+ min-width: 226px;
33
+ max-width: $tileHeight;
34
+ }
35
+
36
+ @media (max-width: 480px) {
37
+ max-width: 100%;
38
+ }
33
39
  }
34
40
 
35
- @media (max-width: 480px) {
36
- max-width: 100%;
41
+ .titleMeta {
42
+ padding-top: $spacing-4;
37
43
  }
38
- }
39
44
 
40
- .titleMeta {
41
- padding-top: $spacing-4;
42
- }
43
-
44
- .face {
45
- position: absolute;
46
- box-sizing: border-box;
47
- display: flex;
48
- flex-direction: column;
49
- align-items: center;
50
- width: 100%;
51
- height: 100%;
52
- backface-visibility: hidden;
53
- border: var(--border-width-1) solid var(--generic-tile-border-color);
54
- border-radius: var(--border-solid-border-radius);
55
- background-color: var(--generic-tile-background-color);
56
-
57
- * {
45
+ .face {
46
+ position: absolute;
47
+ box-sizing: border-box;
48
+ display: flex;
49
+ flex-direction: column;
50
+ align-items: center;
51
+ width: 100%;
52
+ height: 100%;
58
53
  backface-visibility: hidden;
54
+ border: var(--border-width-1) solid var(--generic-tile-border-color);
55
+ border-radius: var(--border-solid-border-radius);
56
+ background-color: var(--generic-tile-background-color);
57
+
58
+ * {
59
+ backface-visibility: hidden;
60
+ }
59
61
  }
60
- }
61
62
 
62
- .faceFront {
63
- justify-content: space-between;
64
- padding: $tilePaddingTop $spacing-md $spacing-md;
65
- }
63
+ .faceFront {
64
+ justify-content: space-between;
65
+ padding: $tilePaddingTop $spacing-md $spacing-md;
66
+ }
66
67
 
67
- .faceBack {
68
- --generic-tile-border-color: var(--color-blue-400);
69
- --generic-tile-background-color: var(--color-blue-100);
68
+ .faceBack {
69
+ --generic-tile-border-color: var(--color-blue-400);
70
+ --generic-tile-background-color: var(--color-blue-100);
70
71
 
71
- padding-top: $tilePaddingTop;
72
- transform: rotateY(180deg);
73
- }
72
+ padding-top: $tilePaddingTop;
73
+ transform: rotateY(180deg);
74
+ }
74
75
 
75
- /** @deprecated */
76
- .positive {
77
- --generic-tile-border-color: var(--color-green-500);
78
- --generic-tile-background-color: var(--color-green-100);
79
- }
76
+ /** @deprecated */
77
+ .positive {
78
+ --generic-tile-border-color: var(--color-green-500);
79
+ --generic-tile-background-color: var(--color-green-100);
80
+ }
80
81
 
81
- .informative {
82
- --generic-tile-border-color: var(--color-blue-400);
83
- --generic-tile-background-color: var(--color-blue-100);
84
- }
82
+ .informative {
83
+ --generic-tile-border-color: var(--color-blue-400);
84
+ --generic-tile-background-color: var(--color-blue-100);
85
+ }
85
86
 
86
- .cautionary {
87
- --generic-tile-border-color: var(--color-yellow-700);
88
- --generic-tile-background-color: var(--color-yellow-100);
89
- }
87
+ .cautionary {
88
+ --generic-tile-border-color: var(--color-yellow-700);
89
+ --generic-tile-background-color: var(--color-yellow-100);
90
+ }
90
91
 
91
- .negative,
92
- .assertive {
93
- --generic-tile-border-color: var(--color-red-500);
94
- --generic-tile-background-color: var(--color-red-100);
95
- }
92
+ .negative,
93
+ .assertive {
94
+ --generic-tile-border-color: var(--color-red-500);
95
+ --generic-tile-background-color: var(--color-red-100);
96
+ }
96
97
 
97
- .prominent {
98
- --generic-tile-border-color: var(--color-purple-400);
99
- --generic-tile-background-color: var(--color-purple-100);
100
- }
98
+ .prominent {
99
+ --generic-tile-border-color: var(--color-purple-400);
100
+ --generic-tile-background-color: var(--color-purple-100);
101
+ }
101
102
 
102
- /** end @deprecated */
103
- .default {
104
- --generic-tile-border-color: var(--color-gray-500);
105
- --generic-tile-background-color: var(--color-white);
106
- }
103
+ /** end @deprecated */
104
+ .default {
105
+ --generic-tile-border-color: var(--color-gray-500);
106
+ --generic-tile-background-color: var(--color-white);
107
+ }
107
108
 
108
- .expert-advice {
109
- --generic-tile-border-color: var(--color-purple-400);
110
- --generic-tile-background-color: var(--color-purple-100);
111
- }
109
+ .expert-advice {
110
+ --generic-tile-border-color: var(--color-purple-400);
111
+ --generic-tile-background-color: var(--color-purple-100);
112
+ }
112
113
 
113
- .isFlipped {
114
- transform: rotateY(179deg);
115
- }
114
+ .isFlipped {
115
+ transform: rotateY(179deg);
116
+ }
116
117
 
117
- .title {
118
- text-align: center;
119
- padding-bottom: $spacing-sm;
120
- backface-visibility: hidden;
121
- }
118
+ .title {
119
+ text-align: center;
120
+ padding-bottom: $spacing-sm;
121
+ backface-visibility: hidden;
122
+ }
122
123
 
123
- .actions {
124
- display: flex;
125
- }
124
+ .actions {
125
+ display: flex;
126
+ }
126
127
 
127
- .informationBtn {
128
- inset-block-start: 0;
129
- inset-inline-end: 0;
130
- position: absolute;
131
- color: rgba($color-purple-800-rgb, 0.5);
132
- }
128
+ .informationBtn {
129
+ inset-block-start: 0;
130
+ inset-inline-end: 0;
131
+ position: absolute;
132
+ color: rgba($color-purple-800-rgb, 0.5);
133
+ }
133
134
 
134
- .information {
135
- display: flex;
136
- padding-bottom: $spacing-md;
137
- padding-right: $spacing-md;
138
- padding-left: $spacing-md;
139
- flex-direction: column;
140
- align-items: center;
141
- justify-content: space-between;
142
- box-sizing: border-box;
143
- width: 100%;
144
- height: 100%;
145
- text-align: left;
146
- border-radius: 0 0 7px 7px;
147
- }
135
+ .information {
136
+ display: flex;
137
+ padding-bottom: $spacing-md;
138
+ padding-right: $spacing-md;
139
+ padding-left: $spacing-md;
140
+ flex-direction: column;
141
+ align-items: center;
142
+ justify-content: space-between;
143
+ box-sizing: border-box;
144
+ width: 100%;
145
+ height: 100%;
146
+ text-align: left;
147
+ border-radius: 0 0 7px 7px;
148
+ }
148
149
 
149
- .footer {
150
- display: flex;
151
- align-items: center;
152
- justify-content: center;
153
- margin-top: $spacing-sm;
154
- height: $spacing-xl;
150
+ .footer {
151
+ display: flex;
152
+ align-items: center;
153
+ justify-content: center;
154
+ margin-top: $spacing-sm;
155
+ height: $spacing-xl;
156
+ }
155
157
  }
@@ -3,69 +3,71 @@
3
3
  @import '~@kaizen/design-tokens/sass/color';
4
4
  @import '~@kaizen/design-tokens/sass/spacing';
5
5
 
6
- $input-height: 48px;
6
+ @layer kz-components {
7
+ $input-height: 48px;
7
8
 
8
- .wrapper {
9
- position: relative;
10
- display: flex;
11
- flex-direction: column;
12
- align-items: flex-start;
13
- font-family: $typography-paragraph-body-font-family;
14
- font-weight: $typography-paragraph-body-font-weight;
15
- font-size: $typography-paragraph-body-font-size;
16
- line-height: $typography-paragraph-body-line-height;
17
- letter-spacing: $typography-paragraph-body-letter-spacing;
18
- color: $color-purple-800;
19
- }
9
+ .wrapper {
10
+ position: relative;
11
+ display: flex;
12
+ flex-direction: column;
13
+ align-items: flex-start;
14
+ font-family: $typography-paragraph-body-font-family;
15
+ font-weight: $typography-paragraph-body-font-weight;
16
+ font-size: $typography-paragraph-body-font-size;
17
+ line-height: $typography-paragraph-body-line-height;
18
+ letter-spacing: $typography-paragraph-body-letter-spacing;
19
+ color: $color-purple-800;
20
+ }
20
21
 
21
- .label {
22
- display: block;
23
- margin-bottom: $spacing-6;
24
- }
22
+ .label {
23
+ display: block;
24
+ margin-bottom: $spacing-6;
25
+ }
25
26
 
26
- .input {
27
- display: inline-flex;
28
- align-items: center;
29
- background-color: $color-white;
30
- background-clip: padding-box;
31
- border: $border-solid-border-width $border-solid-border-style $color-gray-500;
32
- border-radius: $border-solid-border-radius;
33
- font-size: $typography-paragraph-body-font-size;
34
- line-height: $typography-paragraph-body-line-height;
35
- padding: 0 $spacing-sm;
36
- height: $input-height;
37
- width: 100%;
38
- box-sizing: border-box;
27
+ .input {
28
+ display: inline-flex;
29
+ align-items: center;
30
+ background-color: $color-white;
31
+ background-clip: padding-box;
32
+ border: $border-solid-border-width $border-solid-border-style $color-gray-500;
33
+ border-radius: $border-solid-border-radius;
34
+ font-size: $typography-paragraph-body-font-size;
35
+ line-height: $typography-paragraph-body-line-height;
36
+ padding: 0 $spacing-sm;
37
+ height: $input-height;
38
+ width: 100%;
39
+ box-sizing: border-box;
39
40
 
40
- &:hover,
41
- &:focus-within {
42
- border-color: $color-gray-600;
43
- background-color: $color-gray-200;
41
+ &:hover,
42
+ &:focus-within {
43
+ border-color: $color-gray-600;
44
+ background-color: $color-gray-200;
45
+ }
44
46
  }
45
- }
46
47
 
47
- .input:focus-within {
48
- .focusRing {
49
- $focus-ring-offset: 3px;
48
+ .input:focus-within {
49
+ .focusRing {
50
+ $focus-ring-offset: 3px;
50
51
 
51
- position: absolute;
52
- background: transparent;
53
- border-radius: $border-focus-ring-border-radius;
54
- border-width: $border-focus-ring-border-width;
55
- border-style: $border-focus-ring-border-style;
56
- border-color: $color-blue-500;
57
- inset: -$focus-ring-offset;
58
- pointer-events: none;
52
+ position: absolute;
53
+ background: transparent;
54
+ border-radius: $border-focus-ring-border-radius;
55
+ border-width: $border-focus-ring-border-width;
56
+ border-style: $border-focus-ring-border-style;
57
+ border-color: $color-blue-500;
58
+ inset: -$focus-ring-offset;
59
+ pointer-events: none;
60
+ }
59
61
  }
60
- }
61
62
 
62
- .isDisabled {
63
- pointer-events: none;
64
- background-color: transparent;
65
- border-color: $color-gray-500;
66
- opacity: 30%;
67
- }
63
+ .isDisabled {
64
+ pointer-events: none;
65
+ background-color: transparent;
66
+ border-color: $color-gray-500;
67
+ opacity: 30%;
68
+ }
68
69
 
69
- .error {
70
- border: $border-solid-border-width $border-solid-border-style $color-red-500;
70
+ .error {
71
+ border: $border-solid-border-width $border-solid-border-style $color-red-500;
72
+ }
71
73
  }
@@ -1,47 +1,49 @@
1
1
  @import '~@kaizen/design-tokens/sass/color';
2
2
 
3
- // Chrome has a bug where `contenteditable` elements receive focus from external clicks.
4
- // This (in combination with the invisible character ​) creates boundaries
5
- // for the element.
6
- // https://stackoverflow.com/a/34445203
7
- .timeSegmentWrapper {
8
- white-space: nowrap;
9
- }
10
-
11
- .timeSegment {
12
- display: block;
13
- text-align: end;
14
- background-color: $color-gray-300;
15
- border-radius: 3px;
16
- color: $color-purple-800;
17
-
18
- &:hover {
19
- background-color: $color-white;
3
+ @layer kz-components {
4
+ // Chrome has a bug where `contenteditable` elements receive focus from external clicks.
5
+ // This (in combination with the invisible character ​) creates boundaries
6
+ // for the element.
7
+ // https://stackoverflow.com/a/34445203
8
+ .timeSegmentWrapper {
9
+ white-space: nowrap;
20
10
  }
21
11
 
22
- &:focus-visible {
23
- color: white;
24
- background: $color-blue-500;
25
- outline: none;
12
+ .timeSegment {
13
+ display: block;
14
+ text-align: end;
15
+ background-color: $color-gray-300;
16
+ border-radius: 3px;
17
+ color: $color-purple-800;
18
+
19
+ &:hover {
20
+ background-color: $color-white;
21
+ }
22
+
23
+ &:focus-visible {
24
+ color: white;
25
+ background: $color-blue-500;
26
+ outline: none;
27
+ }
26
28
  }
27
- }
28
-
29
- .hasPadding {
30
- padding: 0 4px;
31
- }
32
29
 
33
- .placeholder {
34
- color: rgba($color-purple-800-rgb, 0.7);
35
- }
30
+ .hasPadding {
31
+ padding: 0 4px;
32
+ }
36
33
 
37
- .literal {
38
- background: none;
34
+ .placeholder {
35
+ color: rgba($color-purple-800-rgb, 0.7);
36
+ }
39
37
 
40
- &:hover {
38
+ .literal {
41
39
  background: none;
40
+
41
+ &:hover {
42
+ background: none;
43
+ }
42
44
  }
43
- }
44
45
 
45
- .dayPeriod {
46
- margin-right: 4px;
46
+ .dayPeriod {
47
+ margin-right: 4px;
48
+ }
47
49
  }