@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
@@ -1,117 +1,119 @@
1
- .stepsContainer {
2
- --progress-stepper-indicator-size: 1.25rem;
1
+ @layer kz-components {
2
+ .stepsContainer {
3
+ --progress-stepper-indicator-size: 1.25rem;
3
4
 
4
- width: 100%;
5
- grid-area: stepper;
6
- }
5
+ width: 100%;
6
+ grid-area: stepper;
7
+ }
7
8
 
8
- .stepList {
9
- display: none;
10
- justify-content: center;
11
- align-items: flex-end;
12
- list-style: none;
13
- margin: 0;
14
- padding: 0;
9
+ .stepList {
10
+ display: none;
11
+ justify-content: center;
12
+ align-items: flex-end;
13
+ list-style: none;
14
+ margin: 0;
15
+ padding: 0;
16
+
17
+ @media (width >= 768px) {
18
+ display: flex;
19
+ }
20
+ }
15
21
 
16
- @media (width >= 768px) {
22
+ .step {
17
23
  display: flex;
24
+ flex-grow: 1;
25
+ flex-basis: 100%;
26
+ justify-content: center;
27
+ max-width: var(--spacing-96);
28
+ overflow-wrap: break-word;
29
+ position: relative;
30
+ container: step / inline-size;
18
31
  }
19
- }
20
-
21
- .step {
22
- display: flex;
23
- flex-grow: 1;
24
- flex-basis: 100%;
25
- justify-content: center;
26
- max-width: var(--spacing-96);
27
- overflow-wrap: break-word;
28
- position: relative;
29
- container: step / inline-size;
30
- }
31
-
32
- .stepContent {
33
- display: flex;
34
- align-items: center;
35
- flex-direction: column;
36
- }
37
32
 
38
- .stepIndicator {
39
- width: var(--progress-stepper-indicator-size);
40
- height: var(--progress-stepper-indicator-size);
41
- position: relative;
42
- }
43
-
44
- .stepName {
45
- display: none;
46
- text-align: center;
47
- margin-bottom: var(--spacing-12);
48
- font-family: var(--typography-paragraph-small-font-family);
49
- font-size: var(--typography-paragraph-small-font-size);
50
- line-height: var(--typography-paragraph-small-line-height);
51
- font-weight: var(--typography-paragraph-bold-font-weight);
52
- color: var(--color-gray-600);
53
- }
33
+ .stepContent {
34
+ display: flex;
35
+ align-items: center;
36
+ flex-direction: column;
37
+ }
54
38
 
55
- .stepName.isCurrent {
56
- color: var(--color-purple-800);
57
- }
39
+ .stepIndicator {
40
+ width: var(--progress-stepper-indicator-size);
41
+ height: var(--progress-stepper-indicator-size);
42
+ position: relative;
43
+ }
58
44
 
59
- .stepIcon {
60
- color: var(--color-purple-800);
61
- position: absolute;
62
- width: var(--progress-stepper-indicator-size);
63
- height: var(--progress-stepper-indicator-size);
64
- left: 50%;
65
- top: 50%;
66
- transform: translate(-50%, -50%);
67
- }
45
+ .stepName {
46
+ display: none;
47
+ text-align: center;
48
+ margin-bottom: var(--spacing-12);
49
+ font-family: var(--typography-paragraph-small-font-family);
50
+ font-size: var(--typography-paragraph-small-font-size);
51
+ line-height: var(--typography-paragraph-small-line-height);
52
+ font-weight: var(--typography-paragraph-bold-font-weight);
53
+ color: var(--color-gray-600);
54
+ }
68
55
 
69
- .stepIcon.isCompleted {
70
- color: var(--color-green-500);
71
- }
56
+ .stepName.isCurrent {
57
+ color: var(--color-purple-800);
58
+ }
72
59
 
73
- .stepDivider {
74
- height: 0;
75
- display: flex;
76
- position: absolute;
77
- flex-grow: 1;
78
- min-width: calc(100% - var(--spacing-24));
79
- border: solid var(--spacing-1) var(--color-gray-300);
80
- margin: 0;
81
- border-radius: var(--border-solid-border-radius);
82
- inset-inline-start: 100%;
83
-
84
- /* sets fron the bottom to the centre of the dot */
85
- top: calc(100% - calc(var(--progress-stepper-indicator-size) / 2));
86
- transform: translateX(-50%);
87
-
88
- :dir(rtl) & {
89
- left: unset;
90
- right: 100%;
91
- transform: translateX(50%);
60
+ .stepIcon {
61
+ color: var(--color-purple-800);
62
+ position: absolute;
63
+ width: var(--progress-stepper-indicator-size);
64
+ height: var(--progress-stepper-indicator-size);
65
+ left: 50%;
66
+ top: 50%;
67
+ transform: translate(-50%, -50%);
92
68
  }
93
- }
94
69
 
95
- .stepperDescription {
96
- display: flex;
97
- justify-content: center;
98
- font-family: var(--typography-paragraph-small-font-family);
99
- font-weight: var(--typography-paragraph-small-font-weight);
100
- font-size: var(--typography-paragraph-small-font-size);
101
- line-height: var(--typography-paragraph-small-line-height);
70
+ .stepIcon.isCompleted {
71
+ color: var(--color-green-500);
72
+ }
102
73
 
103
- @media (width >= 768px) {
104
- /* sr hidden styles */
105
- position: absolute;
106
- width: 0;
74
+ .stepDivider {
107
75
  height: 0;
108
- overflow: hidden;
76
+ display: flex;
77
+ position: absolute;
78
+ flex-grow: 1;
79
+ min-width: calc(100% - var(--spacing-24));
80
+ border: solid var(--spacing-1) var(--color-gray-300);
81
+ margin: 0;
82
+ border-radius: var(--border-solid-border-radius);
83
+ inset-inline-start: 100%;
84
+
85
+ /* sets fron the bottom to the centre of the dot */
86
+ top: calc(100% - calc(var(--progress-stepper-indicator-size) / 2));
87
+ transform: translateX(-50%);
88
+
89
+ :dir(rtl) & {
90
+ left: unset;
91
+ right: 100%;
92
+ transform: translateX(50%);
93
+ }
109
94
  }
110
- }
111
95
 
112
- /* Some defensive CSS for many steps on desktop screens */
113
- @container step (width >= 4.5rem) {
114
- .stepName {
115
- display: inline;
96
+ .stepperDescription {
97
+ display: flex;
98
+ justify-content: center;
99
+ font-family: var(--typography-paragraph-small-font-family);
100
+ font-weight: var(--typography-paragraph-small-font-weight);
101
+ font-size: var(--typography-paragraph-small-font-size);
102
+ line-height: var(--typography-paragraph-small-line-height);
103
+
104
+ @media (width >= 768px) {
105
+ /* sr hidden styles */
106
+ position: absolute;
107
+ width: 0;
108
+ height: 0;
109
+ overflow: hidden;
110
+ }
111
+ }
112
+
113
+ /* Some defensive CSS for many steps on desktop screens */
114
+ @container step (width >= 4.5rem) {
115
+ .stepName {
116
+ display: inline;
117
+ }
116
118
  }
117
119
  }
@@ -1,20 +1,22 @@
1
- .footerRoot {
2
- display: grid;
3
- grid-template-areas: 'prev stepper next';
4
- grid-template-columns: 1fr 2fr 1fr;
5
- flex-grow: 1;
6
- justify-content: center;
7
- align-items: center;
8
- padding: var(--spacing-24) var(--spacing-12);
9
- background: var(--color-white);
10
- gap: var(--spacing-16);
11
- border-top: 2px solid rgba(var(--color-gray-600-rgb), 0.1);
1
+ @layer kz-components {
2
+ .footerRoot {
3
+ display: grid;
4
+ grid-template-areas: 'prev stepper next';
5
+ grid-template-columns: 1fr 2fr 1fr;
6
+ flex-grow: 1;
7
+ justify-content: center;
8
+ align-items: center;
9
+ padding: var(--spacing-24) var(--spacing-12);
10
+ background: var(--color-white);
11
+ gap: var(--spacing-16);
12
+ border-top: 2px solid rgb(var(--color-gray-600-rgb), 0.1);
12
13
 
13
- @media (width >= 768px) {
14
- grid-template-columns: 1fr 5fr 1fr;
15
- padding: var(--spacing-24) var(--spacing-32);
16
- position: sticky;
17
- bottom: 0;
18
- z-index: 1;
14
+ @media (width >= 768px) {
15
+ grid-template-columns: 1fr 5fr 1fr;
16
+ padding: var(--spacing-24) var(--spacing-32);
17
+ position: sticky;
18
+ bottom: 0;
19
+ z-index: 1;
20
+ }
19
21
  }
20
22
  }
@@ -1,15 +1,17 @@
1
- .actions {
2
- grid-area: actions;
3
- display: flex;
4
- flex-direction: column;
5
- flex-grow: 1;
6
- justify-content: center;
7
- align-items: center;
1
+ @layer kz-components {
2
+ .actions {
3
+ grid-area: actions;
4
+ display: flex;
5
+ flex-direction: column;
6
+ flex-grow: 1;
7
+ justify-content: center;
8
+ align-items: center;
8
9
 
9
- @media (width >= 768px) {
10
- flex-direction: row;
11
- align-items: flex-start;
12
- justify-content: flex-end;
13
- margin-top: calc(-1 * var(--spacing-12));
10
+ @media (width >= 768px) {
11
+ flex-direction: row;
12
+ align-items: flex-start;
13
+ justify-content: flex-end;
14
+ margin-top: calc(-1 * var(--spacing-12));
15
+ }
14
16
  }
15
17
  }
@@ -1,14 +1,16 @@
1
- .branding {
2
- grid-area: branding;
3
- display: flex;
4
- justify-content: center;
5
- padding-top: var(--spacing-4);
1
+ @layer kz-components {
2
+ .branding {
3
+ grid-area: branding;
4
+ display: flex;
5
+ justify-content: center;
6
+ padding-top: var(--spacing-4);
6
7
 
7
- @media (width >=768px) {
8
- justify-content: unset;
8
+ @media (width >=768px) {
9
+ justify-content: unset;
10
+ }
9
11
  }
10
- }
11
12
 
12
- .logo {
13
- width: 7.5rem;
13
+ .logo {
14
+ width: 7.5rem;
15
+ }
14
16
  }
@@ -1,20 +1,22 @@
1
- .root {
2
- display: grid;
3
- background-color: var(--color-white);
4
- grid-template: 'branding' min-content 'titles' max-content 'actions' min-content / 1fr;
5
- flex-grow: 1;
6
- justify-content: center;
7
- align-items: center;
8
- text-align: center;
9
- padding: var(--spacing-24);
10
- gap: var(--spacing-16);
11
- border-bottom: 2px solid rgb(var(--color-gray-600-rgb), 0.1);
1
+ @layer kz-components {
2
+ .root {
3
+ display: grid;
4
+ background-color: var(--color-white);
5
+ grid-template: 'branding' min-content 'titles' max-content 'actions' min-content / 1fr;
6
+ flex-grow: 1;
7
+ justify-content: center;
8
+ align-items: center;
9
+ text-align: center;
10
+ padding: var(--spacing-24);
11
+ gap: var(--spacing-16);
12
+ border-bottom: 2px solid rgb(var(--color-gray-600-rgb), 0.1);
12
13
 
13
- @media (width >= 768px) {
14
- align-items: start;
15
- grid-template: 'branding titles actions' min-content / 1fr max-content 1fr;
16
- position: sticky;
17
- top: 0;
18
- z-index: 1;
14
+ @media (width >= 768px) {
15
+ align-items: start;
16
+ grid-template: 'branding titles actions' min-content / 1fr max-content 1fr;
17
+ position: sticky;
18
+ top: 0;
19
+ z-index: 1;
20
+ }
19
21
  }
20
22
  }
@@ -1,21 +1,23 @@
1
- .titles {
2
- grid-area: titles;
3
- display: flex;
4
- flex-direction: column;
5
- align-items: center;
6
- justify-content: center;
7
- flex-grow: 1;
8
- }
1
+ @layer kz-components {
2
+ .titles {
3
+ grid-area: titles;
4
+ display: flex;
5
+ flex-direction: column;
6
+ align-items: center;
7
+ justify-content: center;
8
+ flex-grow: 1;
9
+ }
9
10
 
10
- .pageTitle {
11
- display: flex;
12
- flex-direction: column;
13
- }
11
+ .pageTitle {
12
+ display: flex;
13
+ flex-direction: column;
14
+ }
14
15
 
15
- .prefix {
16
- margin-bottom: var(--spacing-4);
17
- }
16
+ .prefix {
17
+ margin-bottom: var(--spacing-4);
18
+ }
18
19
 
19
- .statusTag {
20
- margin-top: var(--spacing-8);
20
+ .statusTag {
21
+ margin-top: var(--spacing-8);
22
+ }
21
23
  }
@@ -1,4 +1,6 @@
1
- .main {
2
- /* This is set so children will sit beneath the header and footer when sticky */
3
- z-index: 0;
1
+ @layer kz-components {
2
+ .main {
3
+ /* This is set so children will sit beneath the header and footer when sticky */
4
+ z-index: 0;
5
+ }
4
6
  }
@@ -1,7 +1,9 @@
1
- .wrapper {
2
- display: grid;
3
- grid-template-rows: min-content 1fr min-content;
4
- position: relative;
5
- min-height: 100vh;
6
- background: var(--color-gray-100);
1
+ @layer kz-components {
2
+ .wrapper {
3
+ display: grid;
4
+ grid-template-rows: min-content 1fr min-content;
5
+ position: relative;
6
+ min-height: 100vh;
7
+ background: var(--color-gray-100);
8
+ }
7
9
  }