@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
@@ -4,306 +4,308 @@
4
4
  @import '~@kaizen/design-tokens/sass/spacing';
5
5
  @import '~@kaizen/design-tokens/sass/color';
6
6
 
7
- // Taken from design-tokens/sass/shadow
8
- // we need control of the x and y offset in this component
9
- $box-shadow-color-sm: rgb(53, 55, 74, 0.09);
10
- $row-height: 60px;
11
- $row-height-data-variant: 48px;
12
-
13
- @mixin anchor-reset {
14
- text-decoration: none;
15
- color: $color-purple-800;
16
- display: block;
17
- }
18
-
19
- @mixin anchor-reset-pseudo-states {
20
- &:hover,
21
- &:active,
22
- &:focus {
7
+ @layer kz-components {
8
+ // Taken from design-tokens/sass/shadow
9
+ // we need control of the x and y offset in this component
10
+ $box-shadow-color-sm: rgb(53, 55, 74, 0.09);
11
+ $row-height: 60px;
12
+ $row-height-data-variant: 48px;
13
+
14
+ @mixin anchor-reset {
23
15
  text-decoration: none;
16
+ color: $color-purple-800;
17
+ display: block;
24
18
  }
25
- }
26
-
27
- // Special Table-only button reset
28
- @mixin button-reset {
29
- appearance: none;
30
- background: transparent;
31
- border: none;
32
- font: inherit;
33
- margin: 0;
34
- padding: 0;
35
- transition: none; // override Murmur global styles :(
36
- outline: none;
37
- }
38
19
 
39
- .container {
40
- width: 100%;
41
- margin-bottom: $spacing-sm;
42
- }
43
-
44
- .headerRowCell {
45
- display: flex;
46
- align-items: stretch;
47
- text-align: start;
48
- justify-content: flex-start;
49
- // The 8px usually makes the height of the header cell 40px
50
- padding: 8px $spacing-md;
51
- // This is required as so the tooltip will display directly above the header cell
52
- position: relative;
53
- }
54
-
55
- .headerRowCellNoWrap {
56
- .headerRowCellLabel {
57
- text-overflow: ellipsis;
58
- overflow: hidden;
59
- white-space: nowrap;
20
+ @mixin anchor-reset-pseudo-states {
21
+ &:hover,
22
+ &:active,
23
+ &:focus {
24
+ text-decoration: none;
25
+ }
60
26
  }
61
- }
62
-
63
- .headerRowCellAlignCenter {
64
- justify-content: center;
65
- text-align: center;
66
- }
67
-
68
- .headerRowCellAlignEnd {
69
- justify-content: flex-end;
70
- text-align: end;
71
- }
72
27
 
73
- .headerRowCellCheckbox {
74
- margin-inline-end: 10px;
75
- }
76
-
77
- // The .headerRowCell wrapper is required to increase the specificity, as so
78
- // we can override the `Tooltip` component's styling.
79
- .headerRowCell .headerRowCellTooltip {
80
- display: flex;
81
- align-items: stretch;
82
- max-width: 100%;
83
- }
84
-
85
- .headerRowCell.headerRowCellNoWrap .headerRowCellContent {
86
- max-width: 100%;
87
- }
88
-
89
- .headerRowCellButton {
90
- @include button-reset;
91
- @include anchor-reset;
92
-
93
- display: flex;
94
- align-items: stretch;
95
- width: 100%;
96
- // Ensures that the 100% doesn't go outside of the `headerRowCell` width
97
- box-sizing: border-box;
28
+ // Special Table-only button reset
29
+ @mixin button-reset {
30
+ appearance: none;
31
+ background: transparent;
32
+ border: none;
33
+ font: inherit;
34
+ margin: 0;
35
+ padding: 0;
36
+ transition: none; // override Murmur global styles :(
37
+ outline: none;
38
+ }
98
39
 
99
- @include anchor-reset-pseudo-states;
40
+ .container {
41
+ width: 100%;
42
+ margin-bottom: $spacing-sm;
43
+ }
100
44
 
101
- &:focus-visible {
102
- outline: none;
45
+ .headerRowCell {
46
+ display: flex;
47
+ align-items: stretch;
48
+ text-align: start;
49
+ justify-content: flex-start;
50
+ // The 8px usually makes the height of the header cell 40px
51
+ padding: 8px $spacing-md;
52
+ // This is required as so the tooltip will display directly above the header cell
103
53
  position: relative;
54
+ }
104
55
 
105
- &::after {
106
- // This offset provide enough gap on reverse for contrast ratios
107
- $focus-ring-offset: calc((#{$border-focus-ring-border-width} * 2) + 1px);
108
-
109
- top: 50%;
110
- left: 50%;
111
- transform: translate(-50%, -50%);
112
- width: calc(100% + #{$focus-ring-offset});
113
- height: calc(100% + #{$focus-ring-offset});
114
- content: '';
115
- position: absolute;
116
- background: transparent;
117
- border-color: $color-blue-500;
118
- border-width: $border-focus-ring-border-width;
119
- border-style: $border-focus-ring-border-style;
120
- border-radius: $border-focus-ring-border-radius;
56
+ .headerRowCellNoWrap {
57
+ .headerRowCellLabel {
58
+ text-overflow: ellipsis;
59
+ overflow: hidden;
60
+ white-space: nowrap;
121
61
  }
122
62
  }
123
- }
124
63
 
125
- .headerRowCellButtonReversed {
126
- color: $color-white;
127
-
128
- &:focus-visible::after {
129
- border-color: $color-blue-100;
64
+ .headerRowCellAlignCenter {
65
+ justify-content: center;
66
+ text-align: center;
130
67
  }
131
- }
132
68
 
133
- .headerRowCellNoButton {
134
- display: flex;
135
- align-items: stretch;
136
- width: 100%;
137
- // Ensures that the 100% doesn't go outside of the `headerRowCell` width
138
- box-sizing: border-box;
139
- }
69
+ .headerRowCellAlignEnd {
70
+ justify-content: flex-end;
71
+ text-align: end;
72
+ }
140
73
 
141
- .headerRowCellLabelAndIcons {
142
- display: flex;
143
- align-items: center;
144
- flex: 1 1 100%;
145
- width: 100%;
146
- }
74
+ .headerRowCellCheckbox {
75
+ margin-inline-end: 10px;
76
+ }
147
77
 
148
- .headerRowCellTooltipIcon {
149
- color: $color-blue-500;
150
- margin-inline-end: $spacing-xs;
151
- }
78
+ // The .headerRowCell wrapper is required to increase the specificity, as so
79
+ // we can override the `Tooltip` component's styling.
80
+ .headerRowCell .headerRowCellTooltip {
81
+ display: flex;
82
+ align-items: stretch;
83
+ max-width: 100%;
84
+ }
152
85
 
153
- .headerRowCellIcon {
154
- color: rgba($color-purple-800-rgb, 0.7);
155
- height: 20px;
86
+ .headerRowCell.headerRowCellNoWrap .headerRowCellContent {
87
+ max-width: 100%;
88
+ }
156
89
 
157
- .headerRowCellActive & {
158
- color: $color-purple-800;
90
+ .headerRowCellButton {
91
+ @include button-reset;
92
+ @include anchor-reset;
93
+
94
+ display: flex;
95
+ align-items: stretch;
96
+ width: 100%;
97
+ // Ensures that the 100% doesn't go outside of the `headerRowCell` width
98
+ box-sizing: border-box;
99
+
100
+ @include anchor-reset-pseudo-states;
101
+
102
+ &:focus-visible {
103
+ outline: none;
104
+ position: relative;
105
+
106
+ &::after {
107
+ // This offset provide enough gap on reverse for contrast ratios
108
+ $focus-ring-offset: calc((#{$border-focus-ring-border-width} * 2) + 1px);
109
+
110
+ top: 50%;
111
+ left: 50%;
112
+ transform: translate(-50%, -50%);
113
+ width: calc(100% + #{$focus-ring-offset});
114
+ height: calc(100% + #{$focus-ring-offset});
115
+ content: '';
116
+ position: absolute;
117
+ background: transparent;
118
+ border-color: $color-blue-500;
119
+ border-width: $border-focus-ring-border-width;
120
+ border-style: $border-focus-ring-border-style;
121
+ border-radius: $border-focus-ring-border-radius;
122
+ }
123
+ }
159
124
  }
160
125
 
161
- .headerRowCellButtonReversed & {
126
+ .headerRowCellButtonReversed {
162
127
  color: $color-white;
128
+
129
+ &:focus-visible::after {
130
+ border-color: $color-blue-100;
131
+ }
163
132
  }
164
- }
165
133
 
166
- .card {
167
- @include button-reset;
168
- // These css properties are required for when the rows are anchor elements
169
- @include anchor-reset;
170
-
171
- // This is an optical hack to stop the card shadow from overlapping over
172
- // the proceeding cards
173
- box-shadow: 0 4px 6px rgb(53, 55, 74, 0.04);
174
- border: solid 1px rgba($color-purple-700-rgb, 0.1);
175
- transition:
176
- box-shadow $animation-duration-rapid,
177
- border-color $animation-duration-rapid,
178
- margin $animation-duration-rapid,
179
- padding $animation-duration-rapid,
180
- width $animation-duration-rapid;
181
- background: $color-white;
182
-
183
- @include anchor-reset-pseudo-states;
184
-
185
- &:not(:first-child) {
186
- margin-top: -1px;
134
+ .headerRowCellNoButton {
135
+ display: flex;
136
+ align-items: stretch;
137
+ width: 100%;
138
+ // Ensures that the 100% doesn't go outside of the `headerRowCell` width
139
+ box-sizing: border-box;
187
140
  }
188
141
 
189
- &:last-child {
190
- border-bottom-left-radius: $border-solid-border-radius;
191
- border-bottom-right-radius: $border-solid-border-radius;
142
+ .headerRowCellLabelAndIcons {
143
+ display: flex;
144
+ align-items: center;
145
+ flex: 1 1 100%;
146
+ width: 100%;
192
147
  }
193
148
 
194
- &:hover {
195
- will-change: box-shadow, border-color, margin, padding, width;
149
+ .headerRowCellTooltipIcon {
150
+ color: $color-blue-500;
151
+ margin-inline-end: $spacing-xs;
196
152
  }
197
153
 
198
- &:focus-visible {
199
- outline: none;
200
- position: relative;
154
+ .headerRowCellIcon {
155
+ color: rgb($color-purple-800-rgb, 0.7);
156
+ height: 20px;
201
157
 
202
- &::after {
203
- // This offset provide enough gap on on reverse for contrast ratios
204
- $focus-ring-offset: calc(#{$border-focus-ring-border-width} + 2px);
205
-
206
- top: 50%;
207
- left: 50%;
208
- transform: translate(-50%, -50%);
209
- width: calc(100% + #{$focus-ring-offset});
210
- height: calc(100% + #{$focus-ring-offset});
211
- content: '';
212
- position: absolute;
213
- background: transparent;
214
- border-color: $color-blue-500;
215
- border-width: $border-focus-ring-border-width;
216
- border-style: $border-focus-ring-border-style;
217
- border-radius: inherit;
158
+ .headerRowCellActive & {
159
+ color: $color-purple-800;
218
160
  }
219
- }
220
161
 
221
- &.well {
222
- margin-top: $spacing-sm;
162
+ .headerRowCellButtonReversed & {
163
+ color: $color-white;
164
+ }
223
165
  }
224
- }
225
166
 
226
- // target the first child card when there is a heading present
227
- [role='rowgroup'] + .card {
228
- border-top-left-radius: $border-solid-border-radius;
229
- border-top-right-radius: $border-solid-border-radius;
230
- box-shadow: $shadow-small-box-shadow;
231
- }
167
+ .card {
168
+ @include button-reset;
169
+ // These css properties are required for when the rows are anchor elements
170
+ @include anchor-reset;
171
+
172
+ // This is an optical hack to stop the card shadow from overlapping over
173
+ // the proceeding cards
174
+ box-shadow: 0 4px 6px rgb(53, 55, 74, 0.04);
175
+ border: solid 1px rgb($color-purple-700-rgb, 0.1);
176
+ transition:
177
+ box-shadow $animation-duration-rapid,
178
+ border-color $animation-duration-rapid,
179
+ margin $animation-duration-rapid,
180
+ padding $animation-duration-rapid,
181
+ width $animation-duration-rapid;
182
+ background: $color-white;
183
+
184
+ @include anchor-reset-pseudo-states;
185
+
186
+ &:not(:first-child) {
187
+ margin-top: -1px;
188
+ }
232
189
 
233
- .card:first-child {
234
- border-top-left-radius: $border-solid-border-radius;
235
- border-top-right-radius: $border-solid-border-radius;
236
- box-shadow: $shadow-small-box-shadow;
237
- }
190
+ &:last-child {
191
+ border-bottom-left-radius: $border-solid-border-radius;
192
+ border-bottom-right-radius: $border-solid-border-radius;
193
+ }
238
194
 
239
- .row {
240
- display: flex;
241
- }
195
+ &:hover {
196
+ will-change: box-shadow, border-color, margin, padding, width;
197
+ }
242
198
 
243
- .well {
244
- border-color: $border-borderless-border-color;
245
- box-shadow: none;
246
- border-radius: $border-solid-border-radius;
247
- background-color: $color-gray-300;
248
- margin-bottom: $spacing-sm;
249
- }
199
+ &:focus-visible {
200
+ outline: none;
201
+ position: relative;
202
+
203
+ &::after {
204
+ // This offset provide enough gap on on reverse for contrast ratios
205
+ $focus-ring-offset: calc(#{$border-focus-ring-border-width} + 2px);
206
+
207
+ top: 50%;
208
+ left: 50%;
209
+ transform: translate(-50%, -50%);
210
+ width: calc(100% + #{$focus-ring-offset});
211
+ height: calc(100% + #{$focus-ring-offset});
212
+ content: '';
213
+ position: absolute;
214
+ background: transparent;
215
+ border-color: $color-blue-500;
216
+ border-width: $border-focus-ring-border-width;
217
+ border-style: $border-focus-ring-border-style;
218
+ border-radius: inherit;
219
+ }
220
+ }
250
221
 
251
- .popout {
252
- box-shadow: $shadow-large-box-shadow;
253
- }
222
+ &.well {
223
+ margin-top: $spacing-sm;
224
+ }
225
+ }
254
226
 
255
- .expanded {
256
- position: relative;
257
- z-index: 1;
258
- margin-left: calc(#{$spacing-sm} * -1);
259
- margin-right: calc(#{$spacing-sm} * -1);
260
- padding-left: $spacing-sm;
261
- padding-right: $spacing-sm;
262
- }
227
+ // target the first child card when there is a heading present
228
+ [role='rowgroup'] + .card {
229
+ border-top-left-radius: $border-solid-border-radius;
230
+ border-top-right-radius: $border-solid-border-radius;
231
+ box-shadow: $shadow-small-box-shadow;
232
+ }
263
233
 
264
- .hasHoverState {
265
- width: 100%;
266
- text-align: left;
267
- cursor: pointer;
234
+ .card:first-child {
235
+ border-top-left-radius: $border-solid-border-radius;
236
+ border-top-right-radius: $border-solid-border-radius;
237
+ box-shadow: $shadow-small-box-shadow;
238
+ }
268
239
 
269
- &.expanded {
270
- width: calc(100% + #{$spacing-md});
240
+ .row {
241
+ display: flex;
271
242
  }
272
243
 
273
- &:focus,
274
- &:hover {
275
- background-color: $color-gray-100;
244
+ .well {
245
+ border-color: $border-borderless-border-color;
246
+ box-shadow: none;
247
+ border-radius: $border-solid-border-radius;
248
+ background-color: $color-gray-300;
249
+ margin-bottom: $spacing-sm;
250
+ }
251
+
252
+ .popout {
253
+ box-shadow: $shadow-large-box-shadow;
254
+ }
255
+
256
+ .expanded {
257
+ position: relative;
258
+ z-index: 1;
259
+ margin-left: calc(#{$spacing-sm} * -1);
260
+ margin-right: calc(#{$spacing-sm} * -1);
261
+ padding-left: $spacing-sm;
262
+ padding-right: $spacing-sm;
276
263
  }
277
- }
278
264
 
279
- .rowCell {
280
- // These css properties are required for when the cells are anchor elements
281
- @include anchor-reset;
265
+ .hasHoverState {
266
+ width: 100%;
267
+ text-align: left;
268
+ cursor: pointer;
282
269
 
283
- min-height: $row-height;
284
- padding: 0 $spacing-md;
285
- display: flex;
286
- align-items: center;
270
+ &.expanded {
271
+ width: calc(100% + #{$spacing-md});
272
+ }
287
273
 
288
- .defaultSpacing & {
289
- padding: $spacing-sm $spacing-md;
274
+ &:focus,
275
+ &:hover {
276
+ background-color: $color-gray-100;
277
+ }
290
278
  }
291
279
 
292
- .dataVariant & {
293
- min-height: $row-height-data-variant;
280
+ .rowCell {
281
+ // These css properties are required for when the cells are anchor elements
282
+ @include anchor-reset;
283
+
284
+ min-height: $row-height;
285
+ padding: 0 $spacing-md;
286
+ display: flex;
287
+ align-items: center;
288
+
289
+ .defaultSpacing & {
290
+ padding: $spacing-sm $spacing-md;
291
+ }
292
+
293
+ .dataVariant & {
294
+ min-height: $row-height-data-variant;
295
+ }
294
296
  }
295
- }
296
297
 
297
- .rowCellAlignCenter {
298
- justify-content: center;
299
- text-align: center;
300
- }
298
+ .rowCellAlignCenter {
299
+ justify-content: center;
300
+ text-align: center;
301
+ }
301
302
 
302
- .rowCellAlignEnd {
303
- justify-content: flex-end;
304
- text-align: right;
305
- }
303
+ .rowCellAlignEnd {
304
+ justify-content: flex-end;
305
+ text-align: right;
306
+ }
306
307
 
307
- .whiteText {
308
- color: $color-white;
308
+ .whiteText {
309
+ color: $color-white;
310
+ }
309
311
  }