@kaizen/components 0.0.0-canary-test-cherry-picked-updates-20250702235156 → 0.0.0-canary-ssr-generic-modal-2-20250709041326

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 (320) hide show
  1. package/dist/cjs/alpha.cjs +4 -0
  2. package/dist/cjs/src/Button/Button/Button.cjs +5 -0
  3. package/dist/cjs/src/Button/IconButton/IconButton.cjs +5 -0
  4. package/dist/cjs/src/LikertScaleLegacy/LikertScaleLegacy.cjs +3 -0
  5. package/dist/cjs/src/Modal/GenericModal/GenericModal.cjs +11 -1
  6. package/dist/cjs/src/Skirt/Skirt.cjs +3 -0
  7. package/dist/cjs/src/Skirt/subcomponents/SkirtCard/SkirtCard.cjs +4 -0
  8. package/dist/cjs/src/SplitButton/SplitButton.cjs +2 -0
  9. package/dist/cjs/src/TitleBlockZen/TitleBlockZen.cjs +3 -0
  10. package/dist/cjs/src/__alpha__/SingleSelect/SingleSelect.cjs +32 -0
  11. package/dist/cjs/src/__alpha__/SingleSelect/SingleSelect.module.css.cjs +6 -0
  12. package/dist/cjs/src/__alpha__/SingleSelect/subcomponents/List/List.cjs +24 -0
  13. package/dist/cjs/src/__alpha__/SingleSelect/subcomponents/List/List.module.css.cjs +6 -0
  14. package/dist/cjs/src/__alpha__/SingleSelect/subcomponents/ListItem/ListItem.cjs +24 -0
  15. package/dist/cjs/src/__alpha__/SingleSelect/subcomponents/ListItem/ListItem.module.css.cjs +6 -0
  16. package/dist/cjs/src/__alpha__/SingleSelect/subcomponents/ListSection/ListSection.cjs +25 -0
  17. package/dist/cjs/src/__alpha__/SingleSelect/subcomponents/ListSection/ListSection.module.css.cjs +6 -0
  18. package/dist/cjs/src/__alpha__/SingleSelect/subcomponents/Trigger/Trigger.cjs +21 -0
  19. package/dist/cjs/src/__alpha__/SingleSelect/subcomponents/Trigger/Trigger.module.css.cjs +6 -0
  20. package/dist/cjs/src/__next__/Select/Select.cjs +4 -3
  21. package/dist/cjs/src/__next__/Select/subcomponents/Overlay/Overlay.cjs +3 -3
  22. package/dist/cjs/src/__next__/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.cjs +5 -2
  23. package/dist/cjs/src/__next__/Tabs/subcomponents/TabList/TabList.cjs +3 -3
  24. package/dist/esm/alpha.mjs +1 -0
  25. package/dist/esm/src/Button/Button/Button.mjs +5 -0
  26. package/dist/esm/src/Button/IconButton/IconButton.mjs +5 -0
  27. package/dist/esm/src/LikertScaleLegacy/LikertScaleLegacy.mjs +3 -0
  28. package/dist/esm/src/Modal/GenericModal/GenericModal.mjs +11 -1
  29. package/dist/esm/src/Skirt/Skirt.mjs +3 -0
  30. package/dist/esm/src/Skirt/subcomponents/SkirtCard/SkirtCard.mjs +4 -0
  31. package/dist/esm/src/SplitButton/SplitButton.mjs +2 -0
  32. package/dist/esm/src/TitleBlockZen/TitleBlockZen.mjs +3 -0
  33. package/dist/esm/src/__alpha__/SingleSelect/SingleSelect.mjs +27 -0
  34. package/dist/esm/src/__alpha__/SingleSelect/SingleSelect.module.css.mjs +4 -0
  35. package/dist/esm/src/__alpha__/SingleSelect/subcomponents/List/List.mjs +18 -0
  36. package/dist/esm/src/__alpha__/SingleSelect/subcomponents/List/List.module.css.mjs +4 -0
  37. package/dist/esm/src/__alpha__/SingleSelect/subcomponents/ListItem/ListItem.mjs +18 -0
  38. package/dist/esm/src/__alpha__/SingleSelect/subcomponents/ListItem/ListItem.module.css.mjs +4 -0
  39. package/dist/esm/src/__alpha__/SingleSelect/subcomponents/ListSection/ListSection.mjs +19 -0
  40. package/dist/esm/src/__alpha__/SingleSelect/subcomponents/ListSection/ListSection.module.css.mjs +4 -0
  41. package/dist/esm/src/__alpha__/SingleSelect/subcomponents/Trigger/Trigger.mjs +13 -0
  42. package/dist/esm/src/__alpha__/SingleSelect/subcomponents/Trigger/Trigger.module.css.mjs +4 -0
  43. package/dist/esm/src/__next__/Select/Select.mjs +4 -3
  44. package/dist/esm/src/__next__/Select/subcomponents/Overlay/Overlay.mjs +3 -3
  45. package/dist/esm/src/__next__/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.mjs +5 -2
  46. package/dist/esm/src/__next__/Tabs/subcomponents/TabList/TabList.mjs +3 -3
  47. package/dist/styles.css +9901 -10026
  48. package/dist/types/Button/Button/Button.d.ts +5 -0
  49. package/dist/types/Button/IconButton/IconButton.d.ts +5 -0
  50. package/dist/types/LikertScaleLegacy/LikertScaleLegacy.d.ts +3 -0
  51. package/dist/types/Skirt/Skirt.d.ts +3 -0
  52. package/dist/types/Skirt/subcomponents/SkirtCard/SkirtCard.d.ts +3 -0
  53. package/dist/types/SplitButton/SplitButton.d.ts +2 -0
  54. package/dist/types/TitleBlockZen/TitleBlockZen.d.ts +3 -0
  55. package/dist/types/__alpha__/SingleSelect/SingleSelect.d.ts +23 -0
  56. package/dist/types/__alpha__/SingleSelect/_docs/mockData.d.ts +59 -0
  57. package/dist/types/__alpha__/SingleSelect/index.d.ts +1 -0
  58. package/dist/types/__alpha__/SingleSelect/subcomponents/List/List.d.ts +6 -0
  59. package/dist/types/__alpha__/SingleSelect/subcomponents/List/index.d.ts +1 -0
  60. package/dist/types/__alpha__/SingleSelect/subcomponents/ListItem/ListItem.d.ts +6 -0
  61. package/dist/types/__alpha__/SingleSelect/subcomponents/ListItem/index.d.ts +1 -0
  62. package/dist/types/__alpha__/SingleSelect/subcomponents/ListSection/ListSection.d.ts +8 -0
  63. package/dist/types/__alpha__/SingleSelect/subcomponents/ListSection/index.d.ts +1 -0
  64. package/dist/types/__alpha__/SingleSelect/subcomponents/Trigger/Trigger.d.ts +1 -0
  65. package/dist/types/__alpha__/SingleSelect/subcomponents/Trigger/index.d.ts +1 -0
  66. package/dist/types/__alpha__/SingleSelect/subcomponents/index.d.ts +4 -0
  67. package/dist/types/__alpha__/index.d.ts +1 -0
  68. package/dist/types/__next__/Select/Select.d.ts +6 -2
  69. package/dist/types/__next__/Select/subcomponents/Overlay/Overlay.d.ts +2 -1
  70. package/dist/types/__next__/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.d.ts +2 -1
  71. package/package.json +1 -1
  72. package/src/Avatar/Avatar.module.css +137 -135
  73. package/src/AvatarGroup/AvatarGroup.module.css +58 -56
  74. package/src/Badge/Badge.module.css +98 -96
  75. package/src/Brand/Brand.module.css +5 -3
  76. package/src/BrandMoment/BrandMoment.module.css +147 -145
  77. package/src/BrandMoment/_docs/ExampleHeaders.module.scss +68 -66
  78. package/src/Button/Button/Button.module.scss +135 -133
  79. package/src/Button/Button/Button.tsx +5 -0
  80. package/src/Button/GenericButton/GenericButton.module.scss +81 -79
  81. package/src/Button/IconButton/IconButton.module.scss +20 -18
  82. package/src/Button/IconButton/IconButton.tsx +5 -0
  83. package/src/ButtonGroup/ButtonGroup.module.css +38 -36
  84. package/src/ButtonGroup/ButtonGroup.module.scss +41 -39
  85. package/src/Calendar/CalendarPopover/CalendarPopover.module.scss +19 -17
  86. package/src/Calendar/CalendarRange/CalendarRange.module.scss +48 -46
  87. package/src/Calendar/CalendarSingle/CalendarSingle.module.scss +12 -10
  88. package/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.module.scss +20 -18
  89. package/src/Calendar/baseCalendarClassNames.module.scss +148 -146
  90. package/src/Card/Card.module.css +91 -89
  91. package/src/Checkbox/Checkbox/Checkbox.module.scss +89 -87
  92. package/src/Checkbox/CheckboxField/CheckboxField.module.scss +32 -30
  93. package/src/Checkbox/CheckboxGroup/CheckboxGroup.module.scss +11 -9
  94. package/src/ClearButton/ClearButton.module.scss +32 -30
  95. package/src/Collapsible/Collapsible/Collapsible.module.scss +87 -85
  96. package/src/Collapsible/CollapsibleGroup/CollapsibleGroup.module.scss +9 -7
  97. package/src/Collapsible/ExpertAdviceCollapsible/ExpertAdviceCollapsible.module.scss +35 -33
  98. package/src/Container/Container.module.scss +11 -9
  99. package/src/Content/Content.module.scss +10 -8
  100. package/src/DateInput/DateInput/DateInput.module.scss +7 -5
  101. package/src/DateInput/DateInputDescription/DateInputDescription.module.scss +15 -13
  102. package/src/DateInput/DateInputWithIconButton/DateInputWithIconButton.module.scss +32 -30
  103. package/src/DatePicker/DatePicker.module.scss +7 -5
  104. package/src/DatePicker/subcomponents/DateInputField/DateInputField.module.scss +5 -3
  105. package/src/DateRangePicker/DateRangePicker.module.scss +75 -73
  106. package/src/Divider/Divider.module.scss +35 -33
  107. package/src/EmptyState/EmptyState.module.css +95 -93
  108. package/src/ErrorPage/ErrorPage.module.scss +4 -2
  109. package/src/FieldGroup/FieldGroup.module.scss +8 -6
  110. package/src/FieldMessage/FieldMessage.module.scss +53 -51
  111. package/src/Filter/Filter/Filter.module.css +5 -3
  112. package/src/Filter/Filter/subcomponents/FilterContents/FilterContents.module.css +4 -2
  113. package/src/Filter/Filter/subcomponents/FilterPopover/FilterPopover.module.css +8 -6
  114. package/src/Filter/FilterBar/FilterBar.module.css +17 -15
  115. package/src/Filter/FilterBar/subcomponents/ClearAllButton/ClearAllButton.module.css +7 -5
  116. package/src/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.module.css +4 -2
  117. package/src/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.module.css +5 -3
  118. package/src/Filter/FilterButton/FilterButton/FilterButton.module.css +19 -17
  119. package/src/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.module.css +4 -2
  120. package/src/Filter/FilterButton/subcomponents/FilterButtonBase/FilterButtonBase.module.scss +42 -40
  121. package/src/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.module.scss +4 -2
  122. package/src/Filter/FilterDatePicker/subcomponents/FilterDatePickerField/FilterDatePickerField.module.scss +6 -4
  123. package/src/Filter/FilterDateRangePicker/FilterDateRangePicker.module.css +7 -5
  124. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeDisplayLabel/DateRangeDisplayLabel.module.scss +5 -3
  125. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.module.scss +36 -34
  126. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeValidationMessage/DateRangeValidationMessage.module.scss +5 -3
  127. package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.module.scss +7 -5
  128. package/src/Filter/FilterMultiSelect/subcomponents/ListBox/ListBox.module.scss +19 -17
  129. package/src/Filter/FilterMultiSelect/subcomponents/ListBoxSection/ListBoxSection.module.scss +14 -12
  130. package/src/Filter/FilterMultiSelect/subcomponents/LoadMoreButton/LoadMoreButton.module.scss +4 -2
  131. package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuFooter/MenuFooter.module.scss +7 -5
  132. package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuLoadingSkeleton/MenuLoadingSkeleton.module.scss +8 -6
  133. package/src/Filter/FilterMultiSelect/subcomponents/MenuPopup/MenuPopup.module.scss +17 -15
  134. package/src/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.module.scss +90 -88
  135. package/src/Filter/FilterMultiSelect/subcomponents/NoResults/NoResults.module.scss +4 -2
  136. package/src/Filter/FilterMultiSelect/subcomponents/SearchInput/SearchInput.module.scss +5 -3
  137. package/src/Filter/FilterMultiSelect/subcomponents/SectionDivider/SectionDivider.module.scss +4 -2
  138. package/src/Filter/FilterMultiSelect/subcomponents/SelectionControlButton/SelectionControlButton.module.scss +52 -50
  139. package/src/Filter/FilterMultiSelect/subcomponents/Trigger/RemovableFilterTrigger/RemovableFilterTrigger.module.css +4 -2
  140. package/src/Filter/FilterSelect/FilterSelect.module.css +9 -7
  141. package/src/Focusable/Focusable.module.scss +4 -2
  142. package/src/GuidanceBlock/GuidanceBlock.module.css +212 -210
  143. package/src/Heading/Heading.module.scss +87 -85
  144. package/src/Icon/_docs/icon.module.scss +35 -33
  145. package/src/Icon/subcomponents/SVG/SVG.module.scss +26 -24
  146. package/src/Illustration/subcomponents/Base/Base.module.scss +100 -98
  147. package/src/Input/Input/Input.module.scss +217 -215
  148. package/src/Input/InputRange/InputRange.module.scss +138 -136
  149. package/src/Input/InputSearch/InputSearch.module.scss +155 -152
  150. package/src/Label/Label.module.scss +82 -80
  151. package/src/LabelledMessage/LabelledMessage.module.scss +8 -6
  152. package/src/LikertScaleLegacy/LikertScaleLegacy.module.scss +266 -264
  153. package/src/LikertScaleLegacy/LikertScaleLegacy.tsx +3 -0
  154. package/src/LikertScaleLegacy/_docs/LikertScaleLegacy.mdx +3 -2
  155. package/src/LikertScaleLegacy/_docs/LikertScaleLegacy.stickersheet.stories.tsx +1 -1
  156. package/src/LikertScaleLegacy/_docs/LikertScaleLegacy.stories.tsx +1 -1
  157. package/src/Link/Link.module.css +115 -113
  158. package/src/LinkButton/LinkButton.module.css +5 -3
  159. package/src/Loading/LoadingGraphic/LoadingGraphic.module.scss +12 -10
  160. package/src/Loading/LoadingHeading/LoadingHeading.module.scss +44 -42
  161. package/src/Loading/LoadingInput/LoadingInput.module.scss +11 -9
  162. package/src/Loading/LoadingParagraph/LoadingParagraph.module.scss +47 -45
  163. package/src/Loading/LoadingSpinner/LoadingSpinner.module.css +22 -20
  164. package/src/Loading/_mixins.scss +11 -9
  165. package/src/Menu/subcomponents/MenuDropdown/MenuDropdown.module.scss +18 -16
  166. package/src/Menu/subcomponents/MenuHeading/MenuHeading.module.scss +8 -6
  167. package/src/Menu/subcomponents/MenuItem/MenuItem.module.scss +74 -72
  168. package/src/Menu/subcomponents/MenuList/MenuList.module.scss +14 -12
  169. package/src/Menu/subcomponents/StatelessMenu/StatelessMenu.module.scss +4 -2
  170. package/src/Modal/ConfirmationModal/ConfirmationModal.module.scss +126 -124
  171. package/src/Modal/ContextModal/ContextModal.module.scss +72 -70
  172. package/src/Modal/GenericModal/GenericModal.module.scss +94 -90
  173. package/src/Modal/GenericModal/GenericModal.tsx +18 -1
  174. package/src/Modal/GenericModal/_docs/GenericModal.spec.stories.tsx +6 -1
  175. package/src/Modal/GenericModal/subcomponents/ModalAccessibleDescription/ModalAccessibleDescription.module.scss +4 -2
  176. package/src/Modal/GenericModal/subcomponents/ModalAccessibleLabel/ModalAccessibleLabel.module.scss +25 -23
  177. package/src/Modal/GenericModal/subcomponents/ModalBody/ModalBody.module.scss +5 -3
  178. package/src/Modal/GenericModal/subcomponents/ModalFooter/ModalFooter.module.scss +55 -53
  179. package/src/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.module.scss +17 -15
  180. package/src/Modal/InputEditModal/InputEditModal.module.scss +32 -30
  181. package/src/MultiSelect/MultiSelect.module.scss +7 -5
  182. package/src/MultiSelect/subcomponents/Checkbox/Checkbox.module.scss +59 -57
  183. package/src/MultiSelect/subcomponents/MultiSelectOptionField/MultiSelectOptionField.module.scss +55 -53
  184. package/src/MultiSelect/subcomponents/MultiSelectOptions/MultiSelectOptions.module.scss +8 -6
  185. package/src/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.module.scss +66 -64
  186. package/src/MultiSelect/subcomponents/Popover/Popover.module.scss +15 -13
  187. package/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.module.scss +21 -19
  188. package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +112 -110
  189. package/src/Notification/subcomponents/GenericNotification/_mixins.scss +278 -276
  190. package/src/Notification/subcomponents/NotificationIcon/NotificationIcon.module.css +4 -2
  191. package/src/Pagination/Pagination.module.scss +39 -37
  192. package/src/Pagination/subcomponents/DirectionalLink/DirectionalLink.module.scss +11 -9
  193. package/src/Pagination/subcomponents/PaginationLink/PaginationLink.module.scss +53 -51
  194. package/src/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.module.css +10 -8
  195. package/src/Popover/Popover.module.scss +187 -185
  196. package/src/ProgressBar/ProgressBar.module.scss +75 -73
  197. package/src/ProgressBar/subcomponents/Label/Label.module.scss +6 -4
  198. package/src/Radio/Radio/Radio.module.scss +60 -58
  199. package/src/Radio/RadioField/RadioField.module.scss +33 -31
  200. package/src/Radio/RadioGroup/RadioGroup.module.scss +18 -16
  201. package/src/RichTextEditor/EditableRichTextContent/EditableRichTextContent.module.scss +32 -30
  202. package/src/RichTextEditor/RichTextContent/RichTextContent.module.scss +4 -2
  203. package/src/RichTextEditor/RichTextEditor/RichTextEditor.module.scss +76 -74
  204. package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/ToggleIconButton.module.scss +92 -90
  205. package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/Toolbar.module.scss +5 -3
  206. package/src/RichTextEditor/RichTextEditor/subcomponents/ToolbarSection/ToolbarSection.module.scss +12 -10
  207. package/src/RichTextEditor/_mixins.scss +1 -1
  208. package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkModal/LinkModal.module.scss +5 -3
  209. package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.module.scss +22 -20
  210. package/src/SearchField/SearchField.module.scss +5 -3
  211. package/src/Select/Select.module.scss +17 -0
  212. package/src/Skirt/Skirt.module.scss +24 -22
  213. package/src/Skirt/Skirt.tsx +4 -0
  214. package/src/Skirt/_docs/Skirt.mdx +3 -1
  215. package/src/Skirt/_docs/Skirt.stories.tsx +1 -1
  216. package/src/Skirt/subcomponents/SkirtCard/SkirtCard.module.scss +13 -11
  217. package/src/Skirt/subcomponents/SkirtCard/SkirtCard.tsx +4 -0
  218. package/src/Slider/Slider.module.scss +34 -32
  219. package/src/SplitButton/SplitButton.module.scss +5 -3
  220. package/src/SplitButton/SplitButton.tsx +2 -0
  221. package/src/SplitButton/_docs/SplitButton.mdx +3 -1
  222. package/src/SplitButton/_docs/SplitButton.stickersheet.stories.tsx +1 -1
  223. package/src/SplitButton/_docs/SplitButton.stories.tsx +1 -1
  224. package/src/SplitButton/subcomponents/ActionButton/ActionButton.module.scss +7 -5
  225. package/src/SplitButton/subcomponents/BaseButton/BaseButton.module.scss +65 -63
  226. package/src/SplitButton/subcomponents/DropdownButton/DropdownButton.module.scss +19 -17
  227. package/src/Table/Table.module.scss +251 -249
  228. package/src/Tabs/subcomponents/Tab.module.scss +81 -79
  229. package/src/Tabs/subcomponents/TabList.module.scss +8 -6
  230. package/src/Tabs/subcomponents/TabPanel.module.scss +10 -8
  231. package/src/Tag/Tag.module.scss +166 -164
  232. package/src/Tag/subcomponents/LiveIcon/LiveIcon.module.css +42 -40
  233. package/src/Text/Text.module.scss +57 -55
  234. package/src/TextArea/TextArea.module.css +102 -99
  235. package/src/TextAreaField/TextAreaField.module.scss +14 -12
  236. package/src/TextField/TextField.module.scss +16 -14
  237. package/src/Tile/MultiActionTile/MultiActionTile.module.scss +7 -5
  238. package/src/Tile/TileGrid/TileGrid.module.scss +18 -16
  239. package/src/Tile/subcomponents/GenericTile/GenericTile.module.scss +123 -121
  240. package/src/TimeField/TimeField.module.scss +57 -55
  241. package/src/TimeField/subcomponents/TimeSegment/TimeSegment.module.scss +37 -35
  242. package/src/TitleBlockZen/TitleBlockZen.module.scss +507 -505
  243. package/src/TitleBlockZen/TitleBlockZen.tsx +3 -0
  244. package/src/TitleBlockZen/_docs/TitleBlockZen.mdx +3 -2
  245. package/src/TitleBlockZen/subcomponents/MainActions.module.scss +11 -9
  246. package/src/TitleBlockZen/subcomponents/MobileActions.module.scss +146 -144
  247. package/src/TitleBlockZen/subcomponents/NavigationTabs.module.scss +105 -103
  248. package/src/TitleBlockZen/subcomponents/TitleBlockMenuItem.module.scss +74 -72
  249. package/src/TitleBlockZen/subcomponents/Toolbar.module.scss +28 -26
  250. package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss +105 -103
  251. package/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss +11 -9
  252. package/src/Tooltip/Tooltip.module.scss +139 -137
  253. package/src/VisuallyHidden/VisuallyHidden.module.scss +10 -8
  254. package/src/Well/Well.module.css +104 -102
  255. package/src/Workflow/subcomponents/Footer/components/FooterActions/FooterActions.module.css +14 -12
  256. package/src/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.module.css +101 -99
  257. package/src/Workflow/subcomponents/Footer/components/Root/FooterRoot.module.css +19 -17
  258. package/src/Workflow/subcomponents/Header/components/Actions/Actions.module.css +14 -12
  259. package/src/Workflow/subcomponents/Header/components/Branding/Branding.module.css +12 -10
  260. package/src/Workflow/subcomponents/Header/components/Root/Root.module.css +19 -17
  261. package/src/Workflow/subcomponents/Header/components/Titles/Titles.module.css +19 -17
  262. package/src/Workflow/subcomponents/Main/Main.module.css +5 -3
  263. package/src/Workflow/subcomponents/Wrapper/Wrapper.module.css +8 -6
  264. package/src/__alpha__/SingleSelect/SingleSelect.module.css +9 -0
  265. package/src/__alpha__/SingleSelect/SingleSelect.spec.tsx +26 -0
  266. package/src/__alpha__/SingleSelect/SingleSelect.tsx +27 -0
  267. package/src/__alpha__/SingleSelect/_docs/SingleSelect.mdx +27 -0
  268. package/src/__alpha__/SingleSelect/_docs/SingleSelect.stickersheet.stories.tsx +83 -0
  269. package/src/__alpha__/SingleSelect/_docs/SingleSelect.stories.tsx +23 -0
  270. package/src/__alpha__/SingleSelect/_docs/mockData.ts +92 -0
  271. package/src/__alpha__/SingleSelect/index.ts +1 -0
  272. package/src/__alpha__/SingleSelect/subcomponents/List/List.module.css +7 -0
  273. package/src/__alpha__/SingleSelect/subcomponents/List/List.tsx +17 -0
  274. package/src/__alpha__/SingleSelect/subcomponents/List/index.ts +1 -0
  275. package/src/__alpha__/SingleSelect/subcomponents/ListItem/ListItem.module.css +9 -0
  276. package/src/__alpha__/SingleSelect/subcomponents/ListItem/ListItem.tsx +17 -0
  277. package/src/__alpha__/SingleSelect/subcomponents/ListItem/index.ts +1 -0
  278. package/src/__alpha__/SingleSelect/subcomponents/ListSection/ListSection.module.css +9 -0
  279. package/src/__alpha__/SingleSelect/subcomponents/ListSection/ListSection.tsx +23 -0
  280. package/src/__alpha__/SingleSelect/subcomponents/ListSection/index.ts +1 -0
  281. package/src/__alpha__/SingleSelect/subcomponents/Trigger/Trigger.module.css +18 -0
  282. package/src/__alpha__/SingleSelect/subcomponents/Trigger/Trigger.tsx +13 -0
  283. package/src/__alpha__/SingleSelect/subcomponents/Trigger/index.ts +1 -0
  284. package/src/__alpha__/SingleSelect/subcomponents/index.ts +4 -0
  285. package/src/__alpha__/index.ts +1 -0
  286. package/src/__next__/Button/Button.module.css +220 -218
  287. package/src/__next__/Button/_docs/Button--migration-guide.mdx +12 -5
  288. package/src/__next__/Button/subcomponents/ButtonContent/ButtonContent.module.css +17 -15
  289. package/src/__next__/Button/subcomponents/PendingContent/PendingContent.module.css +15 -13
  290. package/src/__next__/Icon/Icon.module.css +40 -38
  291. package/src/__next__/Icon/_docs/Icon--migration-guide.mdx +11 -3
  292. package/src/__next__/Icon/_docs/Icon.docs.module.css +13 -11
  293. package/src/__next__/Menu/Menu.module.css +30 -28
  294. package/src/__next__/Menu/MenuItem.module.css +41 -39
  295. package/src/__next__/Menu/_docs/Menu--migration-guide.mdx +91 -0
  296. package/src/__next__/Select/Select.module.scss +8 -6
  297. package/src/__next__/Select/Select.tsx +9 -3
  298. package/src/__next__/Select/subcomponents/ListBox/ListBox.module.scss +12 -10
  299. package/src/__next__/Select/subcomponents/ListBoxSection/ListBoxSection.module.scss +15 -13
  300. package/src/__next__/Select/subcomponents/Option/Option.module.scss +53 -51
  301. package/src/__next__/Select/subcomponents/Overlay/Overlay.tsx +4 -2
  302. package/src/__next__/Select/subcomponents/SectionDivider/SectionDivider.module.scss +8 -6
  303. package/src/__next__/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.module.scss +4 -2
  304. package/src/__next__/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.tsx +3 -1
  305. package/src/__next__/Select/subcomponents/SelectToggle/SelectToggle.module.scss +105 -103
  306. package/src/__next__/Tabs/_docs/Tabs--migration-guide.mdx +10 -2
  307. package/src/__next__/Tabs/_docs/Tabs.spec.stories.tsx +48 -3
  308. package/src/__next__/Tabs/_docs/Tabs.stories.tsx +13 -2
  309. package/src/__next__/Tabs/subcomponents/Tab/Tab.module.css +81 -79
  310. package/src/__next__/Tabs/subcomponents/TabList/TabList.module.css +58 -54
  311. package/src/__next__/Tabs/subcomponents/TabList/TabList.tsx +3 -3
  312. package/src/__next__/Tabs/subcomponents/TabPanel/TabPanel.module.css +10 -8
  313. package/src/__next__/Tag/RemovableTag/RemovableTag.module.scss +6 -4
  314. package/src/__next__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss +26 -24
  315. package/src/__next__/Tag/Tag/Tag.module.scss +56 -54
  316. package/src/__next__/Tooltip/OverlayArrow.module.scss +40 -38
  317. package/src/__next__/Tooltip/Tooltip.module.scss +39 -37
  318. package/src/__next__/Tooltip/_docs/Tooltip--migration-guide.mdx +62 -0
  319. package/src/__next__/Tooltip/_docs/Tooltip.spec.stories.tsx +12 -6
  320. package/src/utils/AppearanceAnim.module.scss +14 -12
@@ -9,660 +9,663 @@
9
9
  @import './mixins';
10
10
  @import './variables';
11
11
 
12
- $title-block-margin-width-on-medium-and-small: 12px;
13
- $breadcrumb-circle-width: 48px;
14
- $breadcrumb-breakpoint-width: $layout-content-max-width + $layout-content-side-margin * 2 +
15
- $breadcrumb-circle-width * 2.25;
16
- $title-block-separator-height: 0.1875rem;
17
- $tab-container-height-default: $ca-grid * 3;
18
- $tab-container-height-small: $ca-grid * 2.5;
19
- $tab-container-height-default-collapsed: 0;
20
- $tab-container-height-medium-and-small-collapsed: 0;
21
-
22
- /* stylelint-disable no-descending-specificity */
23
- .titleBlock {
24
- position: relative;
25
- -webkit-font-smoothing: antialiased;
26
- -moz-osx-font-smoothing: grayscale;
27
- background-color: $dt-color-background-color-default;
28
- width: 100%;
29
- display: flex;
30
- justify-content: center;
31
- flex-direction: column;
32
-
33
- &.educationVariant {
34
- background-color: $dt-color-background-color-eduction;
35
- }
36
-
37
- &.adminVariant {
38
- background-color: $dt-color-background-color-admin;
39
- }
40
-
41
- @media print {
42
- display: none;
43
- }
44
- }
45
-
46
- .titleRow,
47
- .rowBelowSeparator {
48
- display: flex;
49
- width: 100%;
50
- justify-content: center;
51
- }
12
+ @layer kz-components {
13
+ $title-block-margin-width-on-medium-and-small: 12px;
14
+ $breadcrumb-circle-width: 48px;
15
+ $breadcrumb-breakpoint-width: $layout-content-max-width + $layout-content-side-margin * 2 +
16
+ $breadcrumb-circle-width * 2.25;
17
+ $title-block-separator-height: 0.1875rem;
18
+ $tab-container-height-default: $ca-grid * 3;
19
+ $tab-container-height-small: $ca-grid * 2.5;
20
+ $tab-container-height-default-collapsed: 0;
21
+ $tab-container-height-medium-and-small-collapsed: 0;
22
+
23
+ /* stylelint-disable no-descending-specificity */
24
+ .titleBlock {
25
+ position: relative;
26
+ -webkit-font-smoothing: antialiased;
27
+ -moz-osx-font-smoothing: grayscale;
28
+ background-color: $dt-color-background-color-default;
29
+ width: 100%;
30
+ display: flex;
31
+ justify-content: center;
32
+ flex-direction: column;
52
33
 
53
- .adminVariant .titleRow {
54
- background-color: $color-white;
55
- }
34
+ &.educationVariant {
35
+ background-color: $dt-color-background-color-eduction;
36
+ }
56
37
 
57
- %titleBlockInner {
58
- max-width: $layout-content-max-width;
59
- margin: 0 $layout-content-side-margin;
60
- display: flex;
61
- flex-direction: column;
62
- width: 100%;
63
- min-width: 0; // this is an important trick to prevent flexbox items from overflowing
38
+ &.adminVariant {
39
+ background-color: $dt-color-background-color-admin;
40
+ }
64
41
 
65
- @include title-block-medium-and-small {
66
- margin: 0 $title-block-margin-width-on-medium-and-small;
42
+ @media print {
43
+ display: none;
44
+ }
67
45
  }
68
- }
69
46
 
70
- .titleRowInner {
71
- @extend %titleBlockInner;
72
- }
47
+ .titleRow,
48
+ .rowBelowSeparator {
49
+ display: flex;
50
+ width: 100%;
51
+ justify-content: center;
52
+ }
73
53
 
74
- .rowBelowSeparatorInner {
75
- @extend %titleBlockInner;
76
- }
54
+ .adminVariant .titleRow {
55
+ background-color: $color-white;
56
+ }
77
57
 
78
- .titleRowInnerContent {
79
- position: relative;
80
- display: flex;
81
- width: 100%;
82
- align-items: center;
83
- min-height: $ca-grid * 3.5;
84
- justify-content: space-between;
85
- border-bottom: $title-block-separator-height solid rgba($color-white-rgb, 0.1);
58
+ %titleBlockInner {
59
+ max-width: $layout-content-max-width;
60
+ margin: 0 $layout-content-side-margin;
61
+ display: flex;
62
+ flex-direction: column;
63
+ width: 100%;
64
+ min-width: 0; // this is an important trick to prevent flexbox items from overflowing
86
65
 
87
- .educationVariant & {
88
- border-bottom-color: rgba($color-purple-700-rgb, 0.2);
66
+ @include title-block-medium-and-small {
67
+ margin: 0 $title-block-margin-width-on-medium-and-small;
68
+ }
89
69
  }
90
70
 
91
- .adminVariant &,
92
- .collapseNavigationArea & {
93
- border-bottom-color: transparent;
71
+ .titleRowInner {
72
+ @extend %titleBlockInner;
94
73
  }
95
74
 
96
- @include title-block-medium-and-small {
97
- border-bottom: none;
75
+ .rowBelowSeparatorInner {
76
+ @extend %titleBlockInner;
98
77
  }
99
- }
100
78
 
101
- .title {
102
- display: flex;
103
- align-items: center;
104
- min-width: 0; // this is an important trick to prevent flexbox items from overflowing
105
-
106
- // Applying width 100% when the title is *not* long and is followed by a subtitle
107
- // causes misalignment of both.
108
- @include title-block-under-1366 {
79
+ .titleRowInnerContent {
80
+ position: relative;
81
+ display: flex;
109
82
  width: 100%;
110
- }
111
- }
83
+ align-items: center;
84
+ min-height: $ca-grid * 3.5;
85
+ justify-content: space-between;
86
+ border-bottom: $title-block-separator-height solid rgba($color-white-rgb, 0.1);
112
87
 
113
- .titleAndSubtitle {
114
- display: flex;
115
- align-items: center;
116
- min-width: 0; // this is an important trick to prevent flexbox items from overflowing
117
- transform: translateY(-0.0833em);
88
+ .educationVariant & {
89
+ border-bottom-color: rgba($color-purple-700-rgb, 0.2);
90
+ }
118
91
 
119
- .hasSubtitle & {
120
- @include title-block-under-1366 {
121
- transform: translateY(-0.3833em);
92
+ .adminVariant &,
93
+ .collapseNavigationArea & {
94
+ border-bottom-color: transparent;
122
95
  }
123
- }
124
- }
125
96
 
126
- .titleAndSubtitleInner {
127
- display: flex;
128
- min-width: 0; // this is an important trick to prevent flexbox items from overflowing
97
+ @include title-block-medium-and-small {
98
+ border-bottom: none;
99
+ }
100
+ }
129
101
 
130
- // TODO: removing .hasLongTitle here fixes the alignment on Performance story, but we should be able to not wrap subtitle.
131
- .hasSubtitle.hasLongTitle.hasLongSubtitle & {
102
+ .title {
103
+ display: flex;
132
104
  align-items: center;
105
+ min-width: 0; // this is an important trick to prevent flexbox items from overflowing
133
106
 
107
+ // Applying width 100% when the title is *not* long and is followed by a subtitle
108
+ // causes misalignment of both.
134
109
  @include title-block-under-1366 {
135
- align-items: baseline;
110
+ width: 100%;
136
111
  }
137
112
  }
138
113
 
139
- .hasPageSwitcherSelect & {
140
- @include title-block-medium-and-small {
141
- align-items: normal;
142
- flex-direction: column;
143
- justify-content: space-between;
144
- transform: translateY(calc(#{$ca-grid} / 3));
114
+ .titleAndSubtitle {
115
+ display: flex;
116
+ align-items: center;
117
+ min-width: 0; // this is an important trick to prevent flexbox items from overflowing
118
+ transform: translateY(-0.0833em);
119
+
120
+ .hasSubtitle & {
121
+ @include title-block-under-1366 {
122
+ transform: translateY(-0.3833em);
123
+ }
145
124
  }
146
125
  }
147
126
 
148
- .hasSubtitle & {
149
- align-items: baseline;
150
- overflow: hidden;
127
+ .titleAndSubtitleInner {
128
+ display: flex;
129
+ min-width: 0; // this is an important trick to prevent flexbox items from overflowing
151
130
 
152
- @include title-block-under-1366 {
153
- align-items: normal;
154
- flex-direction: column;
155
- justify-content: space-between;
156
- transform: translateY(calc(#{$ca-grid} / 3));
131
+ // TODO: removing .hasLongTitle here fixes the alignment on Performance story, but we should be able to not wrap subtitle.
132
+ .hasSubtitle.hasLongTitle.hasLongSubtitle & {
133
+ align-items: center;
157
134
 
158
- .hasLongTitle.hasLongSubtitle & {
135
+ @include title-block-under-1366 {
159
136
  align-items: baseline;
160
137
  }
161
138
  }
162
139
 
163
- @include title-block-medium-and-small {
164
- transform: translateY(calc(#{$ca-grid} / 2));
140
+ .hasPageSwitcherSelect & {
141
+ @include title-block-medium-and-small {
142
+ align-items: normal;
143
+ flex-direction: column;
144
+ justify-content: space-between;
145
+ transform: translateY(calc(#{$ca-grid} / 3));
146
+ }
165
147
  }
166
- }
167
- }
168
148
 
169
- .titleTextOverride.titleTextOverride {
170
- padding: 4px 0;
149
+ .hasSubtitle & {
150
+ align-items: baseline;
151
+ overflow: hidden;
171
152
 
172
- @include title-block-under-1366 {
173
- font-size: $typography-heading-2-font-size;
174
- line-height: $typography-heading-2-line-height;
175
- letter-spacing: $typography-heading-2-letter-spacing;
176
- padding: 2px 0;
153
+ @include title-block-under-1366 {
154
+ align-items: normal;
155
+ flex-direction: column;
156
+ justify-content: space-between;
157
+ transform: translateY(calc(#{$ca-grid} / 3));
158
+
159
+ .hasLongTitle.hasLongSubtitle & {
160
+ align-items: baseline;
161
+ }
162
+ }
163
+
164
+ @include title-block-medium-and-small {
165
+ transform: translateY(calc(#{$ca-grid} / 2));
166
+ }
167
+ }
177
168
  }
178
169
 
179
- .hasLongTitle & {
170
+ .titleTextOverride.titleTextOverride {
171
+ padding: 4px 0;
172
+
180
173
  @include title-block-under-1366 {
181
- font-size: $typography-heading-3-font-size;
182
- line-height: $typography-heading-3-line-height;
183
- letter-spacing: $typography-heading-3-letter-spacing;
174
+ font-size: $typography-heading-2-font-size;
175
+ line-height: $typography-heading-2-line-height;
176
+ letter-spacing: $typography-heading-2-letter-spacing;
184
177
  padding: 2px 0;
185
178
  }
186
- }
187
179
 
188
- @include title-block-medium-and-small {
189
- font-size: $typography-heading-4-font-size;
190
- line-height: $typography-heading-4-line-height;
191
- letter-spacing: $typography-heading-4-letter-spacing;
192
- padding: 0;
180
+ .hasLongTitle & {
181
+ @include title-block-under-1366 {
182
+ font-size: $typography-heading-3-font-size;
183
+ line-height: $typography-heading-3-line-height;
184
+ letter-spacing: $typography-heading-3-letter-spacing;
185
+ padding: 2px 0;
186
+ }
187
+ }
188
+
189
+ @include title-block-medium-and-small {
190
+ font-size: $typography-heading-4-font-size;
191
+ line-height: $typography-heading-4-line-height;
192
+ letter-spacing: $typography-heading-4-letter-spacing;
193
+ padding: 0;
194
+ }
193
195
  }
194
- }
195
196
 
196
- .avatar {
197
- display: none;
198
- box-sizing: border-box;
199
- overflow: hidden;
200
- height: $ca-grid * 2;
201
- width: $ca-grid * 2;
197
+ .avatar {
198
+ display: none;
199
+ box-sizing: border-box;
200
+ overflow: hidden;
201
+ height: $ca-grid * 2;
202
+ width: $ca-grid * 2;
202
203
 
203
- @include ca-margin($end: calc(#{$ca-grid} / 2));
204
+ @include ca-margin($end: calc(#{$ca-grid} / 2));
204
205
 
205
- > * {
206
- max-width: 100%;
207
- }
206
+ > * {
207
+ max-width: 100%;
208
+ }
208
209
 
209
- @media (min-width: $layout-breakpoints-large) {
210
- display: block;
211
- }
210
+ @media (min-width: $layout-breakpoints-large) {
211
+ display: block;
212
+ }
212
213
 
213
- &.withBorder {
214
- border: 3px solid $color-white;
215
- border-radius: 50%;
214
+ &.withBorder {
215
+ border: 3px solid $color-white;
216
+ border-radius: 50%;
217
+ }
218
+
219
+ .hasLongTitle & {
220
+ display: none;
221
+ }
216
222
  }
217
223
 
218
- .hasLongTitle & {
224
+ .hamburger {
219
225
  display: none;
220
- }
221
- }
222
226
 
223
- .hamburger {
224
- display: none;
227
+ @include ca-margin($end: $spacing-xs);
225
228
 
226
- @include ca-margin($end: $spacing-xs);
229
+ @include title-block-medium-and-small {
230
+ display: flex;
231
+ align-items: center;
232
+ }
233
+ }
227
234
 
228
- @include title-block-medium-and-small {
235
+ .subtitle {
229
236
  display: flex;
230
237
  align-items: center;
231
- }
232
- }
233
-
234
- .subtitle {
235
- display: flex;
236
- align-items: center;
237
- color: $color-white;
238
- font-family: $typography-paragraph-small-font-family;
239
- font-weight: $typography-paragraph-small-font-weight;
240
- font-size: $typography-paragraph-small-font-size;
241
- line-height: $typography-paragraph-small-line-height;
242
- letter-spacing: $typography-paragraph-small-letter-spacing;
243
- max-width: 230px;
244
- margin-inline: var(--spacing-12) 0;
238
+ color: $color-white;
239
+ font-family: $typography-paragraph-small-font-family;
240
+ font-weight: $typography-paragraph-small-font-weight;
241
+ font-size: $typography-paragraph-small-font-size;
242
+ line-height: $typography-paragraph-small-line-height;
243
+ letter-spacing: $typography-paragraph-small-letter-spacing;
244
+ max-width: 230px;
245
+ margin-inline: var(--spacing-12) 0;
246
+
247
+ .adminVariant & {
248
+ color: $color-purple-800;
249
+ }
245
250
 
246
- .adminVariant & {
247
- color: $color-purple-800;
251
+ @include title-block-under-1366 {
252
+ white-space: nowrap;
253
+ text-overflow: ellipsis;
254
+ overflow: hidden;
255
+ max-width: none;
256
+ margin: calc(#{$ca-grid} / 5) 0;
257
+ }
248
258
  }
249
259
 
250
- @include title-block-under-1366 {
251
- white-space: nowrap;
252
- text-overflow: ellipsis;
253
- overflow: hidden;
254
- max-width: none;
255
- margin: calc(#{$ca-grid} / 5) 0;
260
+ .subtitleText {
261
+ @include title-block-under-1366 {
262
+ max-width: 42vw;
263
+ white-space: nowrap;
264
+ text-overflow: ellipsis;
265
+ overflow: hidden;
266
+ }
267
+
268
+ @include title-block-small {
269
+ max-width: 88vw;
270
+ }
256
271
  }
257
- }
258
272
 
259
- .subtitleText {
260
- @include title-block-under-1366 {
261
- max-width: 42vw;
262
- white-space: nowrap;
263
- text-overflow: ellipsis;
264
- overflow: hidden;
273
+ .sectionTitleContainer {
274
+ display: flex;
275
+ align-items: center;
276
+ padding: calc(#{$ca-grid} * 3 / 4) 0;
265
277
  }
266
278
 
267
- @include title-block-small {
268
- max-width: 88vw;
279
+ .sectionTitleInner {
280
+ display: flex;
281
+ flex-direction: column;
269
282
  }
270
- }
271
283
 
272
- .sectionTitleContainer {
273
- display: flex;
274
- align-items: center;
275
- padding: calc(#{$ca-grid} * 3 / 4) 0;
276
- }
284
+ .sectionTitleOverride.sectionTitleOverride {
285
+ white-space: nowrap;
286
+ margin-inline: 0 var(--spacing-24);
287
+ font-family: $typography-heading-2-font-family;
288
+ font-weight: $typography-heading-2-font-weight;
289
+ font-size: $typography-heading-2-font-size;
290
+ line-height: $typography-heading-2-line-height;
291
+ letter-spacing: $typography-heading-2-letter-spacing;
277
292
 
278
- .sectionTitleInner {
279
- display: flex;
280
- flex-direction: column;
281
- }
293
+ @include title-block-under-1645 {
294
+ font-family: $typography-heading-3-font-family;
295
+ font-weight: $typography-heading-3-font-weight;
296
+ font-size: $typography-heading-3-font-size;
297
+ line-height: $typography-heading-3-line-height;
298
+ letter-spacing: $typography-heading-3-letter-spacing;
299
+ }
282
300
 
283
- .sectionTitleOverride.sectionTitleOverride {
284
- white-space: nowrap;
285
- margin-inline: 0 var(--spacing-24);
286
- font-family: $typography-heading-2-font-family;
287
- font-weight: $typography-heading-2-font-weight;
288
- font-size: $typography-heading-2-font-size;
289
- line-height: $typography-heading-2-line-height;
290
- letter-spacing: $typography-heading-2-letter-spacing;
291
-
292
- @include title-block-under-1645 {
293
- font-family: $typography-heading-3-font-family;
294
- font-weight: $typography-heading-3-font-weight;
295
- font-size: $typography-heading-3-font-size;
296
- line-height: $typography-heading-3-line-height;
297
- letter-spacing: $typography-heading-3-letter-spacing;
298
- }
299
-
300
- @include title-block-medium-and-small {
301
- font-family: $typography-heading-4-font-family;
302
- font-weight: $typography-heading-4-font-weight;
303
- font-size: $typography-heading-4-font-size;
304
- line-height: $typography-heading-4-line-height;
305
- letter-spacing: $typography-heading-4-letter-spacing;
301
+ @include title-block-medium-and-small {
302
+ font-family: $typography-heading-4-font-family;
303
+ font-weight: $typography-heading-4-font-weight;
304
+ font-size: $typography-heading-4-font-size;
305
+ line-height: $typography-heading-4-line-height;
306
+ letter-spacing: $typography-heading-4-letter-spacing;
307
+ }
306
308
  }
307
- }
308
309
 
309
- .sectionTitle {
310
- display: block;
311
- }
310
+ .sectionTitle {
311
+ display: block;
312
+ }
312
313
 
313
- .sectionTitleDescription {
314
- color: $color-white;
315
- max-width: 780px;
316
- font-family: $typography-paragraph-small-font-family;
317
- font-weight: $typography-paragraph-small-font-weight;
318
- font-size: $typography-paragraph-small-font-size;
319
- line-height: $typography-paragraph-small-line-height;
320
- letter-spacing: $typography-paragraph-small-letter-spacing;
314
+ .sectionTitleDescription {
315
+ color: $color-white;
316
+ max-width: 780px;
317
+ font-family: $typography-paragraph-small-font-family;
318
+ font-weight: $typography-paragraph-small-font-weight;
319
+ font-size: $typography-paragraph-small-font-size;
320
+ line-height: $typography-paragraph-small-line-height;
321
+ letter-spacing: $typography-paragraph-small-letter-spacing;
322
+
323
+ .sectionTitle + & {
324
+ margin-top: var(--spacing-6);
325
+ }
321
326
 
322
- .sectionTitle + & {
323
- margin-top: var(--spacing-6);
327
+ &.dark {
328
+ color: rgba($color-purple-800-rgb, 0.7);
329
+ }
324
330
  }
325
331
 
326
- &.dark {
327
- color: rgba($color-purple-800-rgb, 0.7);
332
+ .rowBelowSeparatorInnerContent {
333
+ display: flex;
334
+ width: 100%;
335
+ margin-top: -$title-block-separator-height;
336
+ justify-content: space-between;
328
337
  }
329
- }
330
-
331
- .rowBelowSeparatorInnerContent {
332
- display: flex;
333
- width: 100%;
334
- margin-top: -$title-block-separator-height;
335
- justify-content: space-between;
336
- }
337
338
 
338
- .titleAndAdjacent {
339
- display: flex;
340
- min-width: 0; // this is an important trick to prevent flexbox items from overflowing
341
- }
339
+ .titleAndAdjacent {
340
+ display: flex;
341
+ min-width: 0; // this is an important trick to prevent flexbox items from overflowing
342
+ }
342
343
 
343
- .titleAndAdjacentNotBreadcrumb {
344
- display: flex;
345
- transition: opacity 0.3s ease;
346
- min-width: 0; // this is an important trick to prevent flexbox items from overflowing
347
- align-items: center;
344
+ .titleAndAdjacentNotBreadcrumb {
345
+ display: flex;
346
+ transition: opacity 0.3s ease;
347
+ min-width: 0; // this is an important trick to prevent flexbox items from overflowing
348
+ align-items: center;
348
349
 
349
- .breadcrumb:hover ~ &,
350
- .breadcrumb:focus ~ &,
351
- .breadcrumbTextLink:hover ~ &,
352
- .breadcrumbTextLink:focus ~ & {
353
- opacity: 0%;
350
+ .breadcrumb:hover ~ &,
351
+ .breadcrumb:focus ~ &,
352
+ .breadcrumbTextLink:hover ~ &,
353
+ .breadcrumbTextLink:focus ~ & {
354
+ opacity: 0%;
355
+ }
354
356
  }
355
- }
356
357
 
357
- .tag {
358
- display: flex;
359
- align-items: center;
360
- margin-inline: var(--spacing-12) 0;
358
+ .tag {
359
+ display: flex;
360
+ align-items: center;
361
+ margin-inline: var(--spacing-12) 0;
361
362
 
362
- @include title-block-medium-and-small {
363
- display: none;
364
- }
363
+ @include title-block-medium-and-small {
364
+ display: none;
365
+ }
365
366
 
366
- + .pageSwitcherSelectNextToTitle {
367
- margin-inline-start: 0;
367
+ + .pageSwitcherSelectNextToTitle {
368
+ margin-inline-start: 0;
369
+ }
368
370
  }
369
- }
370
371
 
371
- .pageSwitcherSelectNextToTitle {
372
- flex-shrink: 0;
373
- width: var(--spacing-240);
374
- margin-inline: var(--spacing-12) 0;
375
- }
372
+ .pageSwitcherSelectNextToTitle {
373
+ flex-shrink: 0;
374
+ width: var(--spacing-240);
375
+ margin-inline: var(--spacing-12) 0;
376
+ }
376
377
 
377
- .pageSwitcherSelectUnderneathTitle {
378
- flex-shrink: 0;
379
- max-width: var(--spacing-240);
380
- }
378
+ .pageSwitcherSelectUnderneathTitle {
379
+ flex-shrink: 0;
380
+ max-width: var(--spacing-240);
381
+ }
381
382
 
382
- .navigationTabsContainer {
383
- height: $tab-container-height-default;
383
+ .navigationTabsContainer {
384
+ height: $tab-container-height-default;
384
385
 
385
- @include title-block-small {
386
- height: $tab-container-height-small;
386
+ @include title-block-small {
387
+ height: $tab-container-height-small;
388
+ }
387
389
  }
388
- }
389
390
 
390
- .navigationTabsContainerCollapsed {
391
- height: $tab-container-height-default-collapsed;
391
+ .navigationTabsContainerCollapsed {
392
+ height: $tab-container-height-default-collapsed;
392
393
 
393
- @include title-block-medium-and-small {
394
- height: $tab-container-height-medium-and-small-collapsed;
394
+ @include title-block-medium-and-small {
395
+ height: $tab-container-height-medium-and-small-collapsed;
396
+ }
395
397
  }
396
- }
397
398
 
398
- .navigationTabScrollerContainer {
399
- .hasNavigationTabs & {
400
- @include title-block-small {
401
- display: block;
402
- overflow-x: scroll;
403
- scrollbar-width: none;
404
- width: 100vw;
399
+ .navigationTabScrollerContainer {
400
+ .hasNavigationTabs & {
401
+ @include title-block-small {
402
+ display: block;
403
+ overflow-x: scroll;
404
+ scrollbar-width: none;
405
+ width: 100vw;
405
406
 
406
- &::-webkit-scrollbar {
407
- display: none;
407
+ &::-webkit-scrollbar {
408
+ display: none;
409
+ }
408
410
  }
409
411
  }
410
412
  }
411
- }
412
-
413
- .navigationTabsNav {
414
- height: 100%;
415
- }
416
-
417
- .navigationTabsList {
418
- list-style: none;
419
- padding: 0;
420
- margin: 0;
421
- display: flex;
422
- height: 100%;
423
- }
424
413
 
425
- %navigationTabEdgeShadow {
426
- display: none;
427
- pointer-events: none;
414
+ .navigationTabsNav {
415
+ height: 100%;
416
+ }
428
417
 
429
- @include title-block-small {
430
- display: block;
431
- position: absolute;
432
- top: $tab-container-height-small - $title-block-separator-height;
433
- width: $tab-container-height-small;
434
- height: $tab-container-height-small;
435
- background: linear-gradient(0deg, $color-purple-600, rgba($color-purple-600-rgb, 0));
436
- z-index: 1;
418
+ .navigationTabsList {
419
+ list-style: none;
420
+ padding: 0;
421
+ margin: 0;
422
+ display: flex;
423
+ height: 100%;
437
424
  }
438
425
 
439
- .adminVariant & {
426
+ %navigationTabEdgeShadow {
427
+ display: none;
428
+ pointer-events: none;
429
+
440
430
  @include title-block-small {
441
- background: linear-gradient(0deg, $color-gray-100, rgba($color-gray-100-rgb, 0));
431
+ display: block;
432
+ position: absolute;
433
+ top: $tab-container-height-small - $title-block-separator-height;
434
+ width: $tab-container-height-small;
435
+ height: $tab-container-height-small;
436
+ background: linear-gradient(0deg, $color-purple-600, rgba($color-purple-600-rgb, 0));
437
+ z-index: 1;
442
438
  }
443
- }
444
439
 
445
- .educationVariant & {
446
- @include title-block-small {
447
- background: linear-gradient(0deg, $color-blue-200, rgba($color-blue-200-rgb, 0));
440
+ .adminVariant & {
441
+ @include title-block-small {
442
+ background: linear-gradient(0deg, $color-gray-100, rgba($color-gray-100-rgb, 0));
443
+ }
444
+ }
445
+
446
+ .educationVariant & {
447
+ @include title-block-small {
448
+ background: linear-gradient(0deg, $color-blue-200, rgba($color-blue-200-rgb, 0));
449
+ }
448
450
  }
449
451
  }
450
- }
451
452
 
452
- .navigationTabEdgeShadowLeft {
453
- @extend %navigationTabEdgeShadow;
453
+ .navigationTabEdgeShadowLeft {
454
+ @extend %navigationTabEdgeShadow;
454
455
 
455
- transform: rotate(90deg);
456
- left: 0;
457
- top: calc(100% - #{$tab-container-height-default});
456
+ transform: rotate(90deg);
457
+ left: 0;
458
+ top: calc(100% - #{$tab-container-height-default});
458
459
 
459
- @include title-block-small {
460
- top: calc(100% - #{$tab-container-height-small});
460
+ @include title-block-small {
461
+ top: calc(100% - #{$tab-container-height-small});
462
+ }
461
463
  }
462
- }
463
464
 
464
- .navigationTabEdgeShadowRight {
465
- @extend %navigationTabEdgeShadow;
465
+ .navigationTabEdgeShadowRight {
466
+ @extend %navigationTabEdgeShadow;
466
467
 
467
- transform: rotate(-90deg);
468
- right: 0;
469
- top: calc(100% - #{$tab-container-height-default});
468
+ transform: rotate(-90deg);
469
+ right: 0;
470
+ top: calc(100% - #{$tab-container-height-default});
470
471
 
471
- @include title-block-small {
472
- top: calc(100% - #{$tab-container-height-small});
472
+ @include title-block-small {
473
+ top: calc(100% - #{$tab-container-height-small});
474
+ }
473
475
  }
474
- }
475
-
476
- // This should be in SecondaryAction.module.scss,
477
- // but the variants prevent us from breaking this out.
478
- .secondaryActionsContainer {
479
- display: flex;
480
- align-items: flex-start;
481
- justify-content: flex-end;
482
- padding: (calc(#{$ca-grid} / 2)) 0;
483
476
 
484
- @include ca-margin($start: $ca-grid * 1.5);
477
+ // This should be in SecondaryAction.module.scss,
478
+ // but the variants prevent us from breaking this out.
479
+ .secondaryActionsContainer {
480
+ display: flex;
481
+ align-items: flex-start;
482
+ justify-content: flex-end;
483
+ padding: (calc(#{$ca-grid} / 2)) 0;
484
+
485
+ @include ca-margin($start: $ca-grid * 1.5);
486
+
487
+ // To be removed eventually – the Dropdown does not
488
+ // currently set its own color, and we want it
489
+ // to be Cluny like the default secondary buttons
490
+ .educationVariant &,
491
+ .adminVariant & {
492
+ color: $color-blue-500;
493
+ }
485
494
 
486
- // To be removed eventually – the Dropdown does not
487
- // currently set its own color, and we want it
488
- // to be Cluny like the default secondary buttons
489
- .educationVariant &,
490
- .adminVariant & {
491
- color: $color-blue-500;
495
+ @include title-block-medium-and-small {
496
+ display: none;
497
+ }
492
498
  }
493
499
 
494
- @include title-block-medium-and-small {
495
- display: none;
496
- }
497
- }
500
+ .breadcrumb {
501
+ @include button-reset;
498
502
 
499
- .breadcrumb {
500
- @include button-reset;
503
+ cursor: pointer;
504
+ display: flex;
505
+ position: absolute;
506
+ align-items: center;
507
+ top: 50%;
508
+ transform: translateY(-50%);
509
+ text-decoration: none;
501
510
 
502
- cursor: pointer;
503
- display: flex;
504
- position: absolute;
505
- align-items: center;
506
- top: 50%;
507
- transform: translateY(-50%);
508
- text-decoration: none;
511
+ @include ca-position($start: calc(-#{$breadcrumb-circle-width} - #{$ca-grid}));
509
512
 
510
- @include ca-position($start: calc(-#{$breadcrumb-circle-width} - #{$ca-grid}));
513
+ align-self: normal;
511
514
 
512
- align-self: normal;
515
+ &:hover .breadcrumbTextLink {
516
+ text-decoration: underline;
517
+ }
513
518
 
514
- &:hover .breadcrumbTextLink {
515
- text-decoration: underline;
516
- }
519
+ &:focus {
520
+ outline: none;
521
+
522
+ &::after {
523
+ $focus-ring-offset: calc(
524
+ (-2 * #{$border-focus-ring-border-width}) - #{$border-focus-ring-border-width}
525
+ );
526
+
527
+ content: '';
528
+ position: absolute;
529
+ background: transparent;
530
+ border-color: $color-blue-200;
531
+ border-radius: 50%;
532
+ border-width: $border-focus-ring-border-width;
533
+ border-style: $border-focus-ring-border-style;
534
+ inset: $focus-ring-offset;
535
+ }
536
+ }
517
537
 
518
- &:focus {
519
- outline: none;
538
+ @media only screen and (max-width: $breadcrumb-breakpoint-width) {
539
+ position: relative;
540
+ transform: translateY(0);
541
+ margin-inline: 0 var(--spacing-12);
520
542
 
521
- &::after {
522
- $focus-ring-offset: calc(
523
- (-2 * #{$border-focus-ring-border-width}) - #{$border-focus-ring-border-width}
524
- );
543
+ @include ca-position($start: 0);
544
+ }
525
545
 
526
- content: '';
527
- position: absolute;
528
- background: transparent;
529
- border-color: $color-blue-200;
530
- border-radius: 50%;
531
- border-width: $border-focus-ring-border-width;
532
- border-style: $border-focus-ring-border-style;
533
- inset: $focus-ring-offset;
546
+ @include title-block-medium-and-small {
547
+ display: none;
534
548
  }
535
549
  }
536
550
 
537
- @media only screen and (max-width: $breadcrumb-breakpoint-width) {
538
- position: relative;
539
- transform: translateY(0);
540
- margin-inline: 0 var(--spacing-12);
541
-
542
- @include ca-position($start: 0);
551
+ @mixin visually-hidden {
552
+ clip: rect(0 0 0 0);
553
+ clip-path: inset(50%);
554
+ height: 1px;
555
+ overflow: hidden;
556
+ position: absolute;
557
+ white-space: nowrap;
558
+ width: 1px;
543
559
  }
544
560
 
545
- @include title-block-medium-and-small {
546
- display: none;
561
+ @mixin visually-hidden-reset {
562
+ clip: initial;
563
+ clip-path: initial;
564
+ height: initial;
565
+ overflow: initial;
566
+ position: initial;
567
+ white-space: initial;
568
+ width: initial;
547
569
  }
548
- }
549
570
 
550
- @mixin visually-hidden {
551
- clip: rect(0 0 0 0);
552
- clip-path: inset(50%);
553
- height: 1px;
554
- overflow: hidden;
555
- position: absolute;
556
- white-space: nowrap;
557
- width: 1px;
558
- }
571
+ .breadcrumbTextLink {
572
+ // We are using visually hidden here instead of display:none so that a screen reader
573
+ // navigating via 'read mode' (which doesn't trigger hover/focus) will still hear this link name
574
+ @include visually-hidden;
575
+ @include ca-position($start: -2 * $ca-grid);
559
576
 
560
- @mixin visually-hidden-reset {
561
- clip: initial;
562
- clip-path: initial;
563
- height: initial;
564
- overflow: initial;
565
- position: initial;
566
- white-space: initial;
567
- width: initial;
568
- }
577
+ position: absolute;
569
578
 
570
- .breadcrumbTextLink {
571
- // We are using visually hidden here instead of display:none so that a screen reader
572
- // navigating via 'read mode' (which doesn't trigger hover/focus) will still hear this link name
573
- @include visually-hidden;
574
- @include ca-position($start: -2 * $ca-grid);
579
+ @include title-block-under-1645 {
580
+ @include ca-position($start: $ca-grid);
581
+ }
575
582
 
576
- position: absolute;
583
+ @media only screen and (min-width: $breadcrumb-breakpoint-width) {
584
+ @include ca-position($start: calc(#{$breadcrumb-circle-width} - #{$ca-grid}));
585
+ }
577
586
 
578
- @include title-block-under-1645 {
579
- @include ca-position($start: $ca-grid);
587
+ &:hover,
588
+ &:focus,
589
+ .breadcrumb:hover &,
590
+ .breadcrumb:focus & {
591
+ @include visually-hidden-reset;
592
+ // ^be careful of this mixin unsetting values you need
593
+ // e.g. I needed to set position:absolute again below
594
+ position: absolute;
595
+ display: block;
596
+ animation: slide-fade 0.4s;
597
+
598
+ [dir='rtl'] & {
599
+ animation: reverse-slide-fade 0.4s;
600
+ }
601
+ }
580
602
  }
581
603
 
582
- @media only screen and (min-width: $breadcrumb-breakpoint-width) {
583
- @include ca-position($start: calc(#{$breadcrumb-circle-width} - #{$ca-grid}));
604
+ .breadcrumbText {
605
+ margin-inline-start: $spacing-xl;
606
+ white-space: nowrap;
607
+ font-family: $typography-heading-5-font-family;
608
+ font-weight: $typography-heading-5-font-weight;
609
+ font-size: $typography-heading-5-font-size;
610
+ line-height: $typography-heading-5-line-height;
611
+ letter-spacing: $typography-heading-5-letter-spacing;
584
612
  }
585
613
 
586
- &:hover,
587
- &:focus,
588
- .breadcrumb:hover &,
589
- .breadcrumb:focus & {
590
- @include visually-hidden-reset;
591
- // ^be careful of this mixin unsetting values you need
592
- // e.g. I needed to set position:absolute again below
593
- position: absolute;
594
- display: block;
595
- animation: slide-fade 0.4s;
614
+ .breadcrumb,
615
+ .breadcrumb:hover,
616
+ .breadcrumbText {
617
+ color: $color-white;
596
618
 
597
- [dir='rtl'] & {
598
- animation: reverse-slide-fade 0.4s;
619
+ .educationVariant &,
620
+ .adminVariant & {
621
+ color: $color-purple-800;
599
622
  }
600
623
  }
601
- }
602
-
603
- .breadcrumbText {
604
- margin-inline-start: $spacing-xl;
605
- white-space: nowrap;
606
- font-family: $typography-heading-5-font-family;
607
- font-weight: $typography-heading-5-font-weight;
608
- font-size: $typography-heading-5-font-size;
609
- line-height: $typography-heading-5-line-height;
610
- letter-spacing: $typography-heading-5-letter-spacing;
611
- }
612
624
 
613
- .breadcrumb,
614
- .breadcrumb:hover,
615
- .breadcrumbText {
616
- color: $color-white;
625
+ .circle {
626
+ $border-width: 3px;
617
627
 
618
- .educationVariant &,
619
- .adminVariant & {
620
- color: $color-purple-800;
621
- }
622
- }
623
-
624
- .circle {
625
- $border-width: 3px;
626
-
627
- flex: 0 0 $breadcrumb-circle-width;
628
- box-sizing: border-box;
629
- width: $breadcrumb-circle-width;
630
- height: $breadcrumb-circle-width;
631
- color: $color-white;
632
- border-color: rgba($color-white-rgb, 0.5);
633
- border-width: 2px;
634
- border-radius: 50%;
635
- border-style: solid;
636
- display: flex;
637
- align-items: center;
638
- justify-content: center;
639
- transition:
640
- background-color 0.3s ease,
641
- transform 0.3s ease;
642
-
643
- .breadcrumb:hover &,
644
- .breadcrumb:focus & {
645
- transform: scale(1.1);
646
- border-color: $color-white;
628
+ flex: 0 0 $breadcrumb-circle-width;
629
+ box-sizing: border-box;
630
+ width: $breadcrumb-circle-width;
631
+ height: $breadcrumb-circle-width;
647
632
  color: $color-white;
648
- background-color: rgba($color-white-rgb, 0.1);
649
- }
633
+ border-color: rgba($color-white-rgb, 0.5);
634
+ border-width: 2px;
635
+ border-radius: 50%;
636
+ border-style: solid;
637
+ display: flex;
638
+ align-items: center;
639
+ justify-content: center;
640
+ transition:
641
+ background-color 0.3s ease,
642
+ transform 0.3s ease;
643
+
644
+ .breadcrumb:hover &,
645
+ .breadcrumb:focus & {
646
+ transform: scale(1.1);
647
+ border-color: $color-white;
648
+ color: $color-white;
649
+ background-color: rgba($color-white-rgb, 0.1);
650
+ }
650
651
 
651
- .educationVariant &,
652
- .adminVariant & {
653
- color: $color-blue-500;
654
- border-color: $color-blue-300;
655
- border-width: $border-width;
656
- }
652
+ .educationVariant &,
653
+ .adminVariant & {
654
+ color: $color-blue-500;
655
+ border-color: $color-blue-300;
656
+ border-width: $border-width;
657
+ }
657
658
 
658
- .educationVariant .breadcrumb:hover &,
659
- .educationVariant .breadcrumb:focus &,
660
- .adminVariant .breadcrumb:hover &,
661
- .adminVariant .breadcrumb:focus & {
662
- border-color: $color-blue-500;
663
- color: $color-blue-500;
664
- background-color: rgba($color-blue-500-rgb, 0.1);
659
+ .educationVariant .breadcrumb:hover &,
660
+ .educationVariant .breadcrumb:focus &,
661
+ .adminVariant .breadcrumb:hover &,
662
+ .adminVariant .breadcrumb:focus & {
663
+ border-color: $color-blue-500;
664
+ color: $color-blue-500;
665
+ background-color: rgba($color-blue-500-rgb, 0.1);
666
+ }
665
667
  }
668
+ /* stylelint-enable no-descending-specificity */
666
669
  }
667
670
 
668
671
  @keyframes slide-fade {
@@ -700,4 +703,3 @@ $tab-container-height-medium-and-small-collapsed: 0;
700
703
  transform: translateX(0);
701
704
  }
702
705
  }
703
- /* stylelint-enable no-descending-specificity */