@kaizen/components 0.0.0-canary-kz-components-css-layer-pre-release-20250527021003 → 0.0.0-canary-fix-fms-popover-20250603003244

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