@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
@@ -1,5 +1,3 @@
1
- @layer kz-components {
2
- .divider {
3
- margin: 0.5rem 0;
4
- }
1
+ .divider {
2
+ margin: 0.5rem 0;
5
3
  }
@@ -4,68 +4,66 @@
4
4
  @import '~@kaizen/design-tokens/sass/spacing';
5
5
  @import '../../../../../styles/utils/button-reset';
6
6
 
7
- @layer kz-components {
8
- $focus-ring-offset: 1px;
7
+ $focus-ring-offset: 1px;
9
8
 
10
- .button {
11
- @include button-reset;
9
+ .button {
10
+ @include button-reset;
12
11
 
13
- -webkit-font-smoothing: antialiased;
14
- -moz-osx-font-smoothing: grayscale;
15
- position: relative;
16
- display: inline-flex;
17
- align-items: center;
18
- gap: $spacing-xs;
19
- border: $border-solid-border-width $border-solid-border-style;
20
- border-color: $border-borderless-border-color;
21
- border-radius: $border-solid-border-radius;
22
- padding: $spacing-4 $spacing-8;
23
- font-weight: $typography-button-secondary-font-weight;
24
- font-family: $typography-button-secondary-font-family;
25
- font-size: $typography-button-secondary-font-size;
26
- line-height: $typography-button-secondary-line-height;
27
- letter-spacing: $typography-button-secondary-letter-spacing;
28
- color: $color-blue-500;
12
+ -webkit-font-smoothing: antialiased;
13
+ -moz-osx-font-smoothing: grayscale;
14
+ position: relative;
15
+ display: inline-flex;
16
+ align-items: center;
17
+ gap: $spacing-xs;
18
+ border: $border-solid-border-width $border-solid-border-style;
19
+ border-color: $border-borderless-border-color;
20
+ border-radius: $border-solid-border-radius;
21
+ padding: $spacing-4 $spacing-8;
22
+ font-weight: $typography-button-secondary-font-weight;
23
+ font-family: $typography-button-secondary-font-family;
24
+ font-size: $typography-button-secondary-font-size;
25
+ line-height: $typography-button-secondary-line-height;
26
+ letter-spacing: $typography-button-secondary-letter-spacing;
27
+ color: $color-blue-500;
29
28
 
30
- &:focus {
31
- outline: none;
32
- }
29
+ &:focus {
30
+ outline: none;
31
+ }
33
32
 
34
- &:hover,
35
- &:active,
36
- &:focus {
37
- &:not(.isDisabled) {
38
- background-color: $color-blue-100;
39
- }
33
+ &:hover,
34
+ &:active,
35
+ &:focus {
36
+ &:not(.isDisabled) {
37
+ background-color: $color-blue-100;
40
38
  }
39
+ }
41
40
 
42
- &:focus-visible::after {
43
- $focus-ring-offset: calc((#{$border-focus-ring-border-width} * 2) + 1px);
41
+ &:focus-visible::after {
42
+ $focus-ring-offset: calc((#{$border-focus-ring-border-width} * 2) + 1px);
44
43
 
45
- content: '';
46
- position: absolute;
47
- background: transparent;
48
- border-radius: $border-focus-ring-border-radius;
49
- border-width: $border-focus-ring-border-width;
50
- border-style: $border-focus-ring-border-style;
51
- border-color: $color-blue-500;
52
- inset: calc(-1 * #{$focus-ring-offset});
53
- }
44
+ content: '';
45
+ position: absolute;
46
+ background: transparent;
47
+ border-radius: $border-focus-ring-border-radius;
48
+ border-width: $border-focus-ring-border-width;
49
+ border-style: $border-focus-ring-border-style;
50
+ border-color: $color-blue-500;
51
+ inset: calc(-1 * #{$focus-ring-offset});
52
+ }
54
53
 
55
- // TODO: copied from Calendar button since the design is not settled
56
- &.isDisabled {
57
- pointer-events: none;
58
- color: rgba($color-purple-800-rgb, 0.3);
59
- opacity: 100%;
54
+ // TODO: copied from Calendar button since the design is not settled
55
+ &.isDisabled {
56
+ pointer-events: none;
57
+ color: rgba($color-purple-800-rgb, 0.3);
58
+ opacity: 100%;
60
59
 
61
- &:focus {
62
- outline: none;
63
- border: 2px solid transparent;
64
- }
60
+ &:focus {
61
+ outline: none;
62
+ border: 2px solid transparent;
63
+ }
65
64
 
66
- &:focus-visible::after {
67
- border-color: $color-gray-400;
68
- }
65
+ &:focus-visible::after {
66
+ border-color: $color-gray-400;
69
67
  }
70
68
  }
71
69
  }
@@ -1,5 +1,3 @@
1
- @layer kz-components {
2
- .filterButtonRemovable {
3
- width: 100%;
4
- }
1
+ .filterButtonRemovable {
2
+ width: 100%;
5
3
  }
@@ -1,10 +1,8 @@
1
- @layer kz-components {
2
- /* This a temporary fix to increase specificity, until we figure out why this CSS is being compiled later than the padding in the FilterContents sub-component */
3
- .filterContents.filterContents {
4
- box-sizing: border-box;
5
- min-width: 12.25rem; /* 196px */
6
- max-width: 25rem; /* 400px */
7
- overflow: auto;
8
- padding: unset; /* Padding is added by <SelectPopoverContents> */
9
- }
1
+ /* This a temporary fix to increase specificity, until we figure out why this CSS is being compiled later than the padding in the FilterContents sub-component */
2
+ .filterContents.filterContents {
3
+ box-sizing: border-box;
4
+ min-width: 12.25rem; /* 196px */
5
+ max-width: 25rem; /* 400px */
6
+ overflow: auto;
7
+ padding: unset; /* Padding is added by <SelectPopoverContents> */
10
8
  }
@@ -1,5 +1,3 @@
1
- @layer kz-components {
2
- .focusableWrapper {
3
- display: inline-flex;
4
- }
1
+ .focusableWrapper {
2
+ display: inline-flex;
5
3
  }
@@ -1,277 +1,275 @@
1
- @layer kz-components {
2
- .banner.noMaxWidth {
3
- max-width: inherit;
1
+ .banner.noMaxWidth {
2
+ max-width: inherit;
3
+ }
4
+
5
+ .banner {
6
+ --border-width: var(--border-width-1);
7
+ --banner-padding: var(--spacing-lg);
8
+
9
+ display: flex;
10
+ flex-direction: column;
11
+ gap: var(--spacing-12);
12
+ min-width: 320px;
13
+ max-width: var(--layout-breakpoints-large);
14
+ border: var(--border-width) var(--border-solid-border-style);
15
+ border-radius: var(--border-solid-border-radius);
16
+ padding: calc(var(--banner-padding) - var(--border-width));
17
+ box-shadow: var(--shadow-small-box-shadow);
18
+ position: relative;
19
+ top: -1px;
20
+ transition:
21
+ opacity var(--animation-duration-slow) ease,
22
+ margin-top var(--animation-duration-fast) var(--animation-duration-slow) ease;
23
+ color: var(--color-purple-800);
24
+
25
+ @media (width >= 1024px) {
26
+ min-height: calc(12rem - calc(var(--banner-padding) * 2));
27
+ flex-direction: row;
28
+ gap: var(--spacing-24);
29
+ width: auto;
30
+ align-items: center;
4
31
  }
5
32
 
6
- .banner {
7
- --border-width: var(--border-width-1);
8
- --banner-padding: var(--spacing-lg);
33
+ @media (width <= 767px) {
34
+ min-width: unset;
35
+ }
36
+ }
9
37
 
10
- display: flex;
11
- flex-direction: column;
12
- gap: var(--spacing-12);
13
- min-width: 320px;
14
- max-width: var(--layout-breakpoints-large);
15
- border: var(--border-width) var(--border-solid-border-style);
16
- border-radius: var(--border-solid-border-radius);
17
- padding: calc(var(--banner-padding) - var(--border-width));
18
- box-shadow: var(--shadow-small-box-shadow);
19
- position: relative;
20
- top: -1px;
21
- transition:
22
- opacity var(--animation-duration-slow) ease,
23
- margin-top var(--animation-duration-fast) var(--animation-duration-slow) ease;
24
- color: var(--color-purple-800);
38
+ .illustrationWrapper {
39
+ display: flex;
25
40
 
26
- @media (width >= 1024px) {
27
- min-height: calc(12rem - calc(var(--banner-padding) * 2));
28
- flex-direction: row;
29
- gap: var(--spacing-24);
30
- width: auto;
31
- align-items: center;
32
- }
41
+ @media (768px <= width <= 1023px) {
42
+ text-align: center;
43
+ justify-content: center;
44
+ align-self: center;
45
+ padding: var(--spacing-12);
46
+ }
33
47
 
34
- @media (width <= 767px) {
35
- min-width: unset;
36
- }
48
+ @media (width <= 767px) {
49
+ display: none;
37
50
  }
51
+ }
38
52
 
39
- .illustrationWrapper {
53
+ .illustration {
54
+ --illustration-size: 155px;
55
+ --scene-illustration-size: 300px;
56
+
57
+ width: var(--illustration-size);
58
+ height: var(--illustration-size);
59
+
60
+ /* This has been created to handle scene illustrations consistently until the tile component is created */
61
+ .hasSceneIllustration & {
40
62
  display: flex;
63
+ justify-content: center;
64
+ max-width: var(--scene-illustration-size);
65
+ max-height: var(--scene-illustration-size);
66
+ width: var(--scene-illustration-size);
67
+ height: auto;
41
68
 
42
- @media (768px <= width <= 1023px) {
43
- text-align: center;
44
- justify-content: center;
45
- align-self: center;
46
- padding: var(--spacing-12);
69
+ figure {
70
+ max-height: 100%;
71
+ max-width: 100%;
72
+ aspect-ratio: 4/3;
47
73
  }
48
74
 
49
- @media (width <= 767px) {
50
- display: none;
75
+ img {
76
+ height: 100%;
77
+ object-fit: contain;
78
+ object-position: center;
51
79
  }
52
80
  }
81
+ }
53
82
 
54
- .illustration {
55
- --illustration-size: 155px;
56
- --scene-illustration-size: 300px;
57
-
58
- width: var(--illustration-size);
59
- height: var(--illustration-size);
83
+ .descriptionContainer {
84
+ flex: 1;
85
+ text-align: center;
86
+ align-self: center;
87
+ max-width: 780px;
60
88
 
61
- /* This has been created to handle scene illustrations consistently until the tile component is created */
62
- .hasSceneIllustration & {
63
- display: flex;
64
- justify-content: center;
65
- max-width: var(--scene-illustration-size);
66
- max-height: var(--scene-illustration-size);
67
- width: var(--scene-illustration-size);
68
- height: auto;
69
-
70
- figure {
71
- max-height: 100%;
72
- max-width: 100%;
73
- aspect-ratio: 4/3;
74
- }
75
-
76
- img {
77
- height: 100%;
78
- object-fit: contain;
79
- object-position: center;
80
- }
81
- }
89
+ @media (width >= 1024px) {
90
+ padding: 0 var(--spacing-12);
91
+ text-align: start;
82
92
  }
83
93
 
84
- .descriptionContainer {
85
- flex: 1;
86
- text-align: center;
87
- align-self: center;
88
- max-width: 780px;
94
+ @media (width <= 767px) {
95
+ margin: var(--spacing-12);
96
+ max-width: 100%;
97
+ }
98
+ }
89
99
 
90
- @media (width >= 1024px) {
91
- padding: 0 var(--spacing-12);
92
- text-align: start;
93
- }
100
+ .descriptionAndActions {
101
+ display: flex;
102
+ flex: 1;
103
+ align-items: center;
104
+ justify-content: space-between;
105
+ gap: var(--spacing-24);
94
106
 
95
- @media (width <= 767px) {
96
- margin: var(--spacing-12);
97
- max-width: 100%;
98
- }
107
+ @media (width <= 1023px) {
108
+ flex-direction: column;
109
+ width: 100%;
110
+ align-items: unset;
99
111
  }
112
+ }
100
113
 
101
- .descriptionAndActions {
102
- display: flex;
103
- flex: 1;
104
- align-items: center;
105
- justify-content: space-between;
106
- gap: var(--spacing-24);
114
+ .buttonContainer {
115
+ display: flex;
116
+ justify-content: center;
117
+ flex-direction: row-reverse;
118
+ gap: var(--spacing-12);
119
+ min-width: max-content;
107
120
 
108
- @media (width <= 1023px) {
109
- flex-direction: column;
110
- width: 100%;
111
- align-items: unset;
112
- }
121
+ @media (width >= 768px) {
122
+ text-align: center;
113
123
  }
114
124
 
115
- .buttonContainer {
116
- display: flex;
117
- justify-content: center;
118
- flex-direction: row-reverse;
119
- gap: var(--spacing-12);
120
- min-width: max-content;
125
+ @media (width <= 767px) {
126
+ flex-direction: column;
127
+ width: 100%;
128
+ margin-top: var(--spacing-6);
129
+ }
130
+ }
121
131
 
122
- @media (width >= 768px) {
123
- text-align: center;
124
- }
132
+ .hidden {
133
+ opacity: 0;
134
+ margin-bottom: 0;
135
+ }
125
136
 
126
- @media (width <= 767px) {
127
- flex-direction: column;
128
- width: 100%;
129
- margin-top: var(--spacing-6);
130
- }
131
- }
137
+ .headingWrapper {
138
+ margin-bottom: var(--spacing-24);
139
+ }
132
140
 
133
- .hidden {
134
- opacity: 0;
135
- margin-bottom: 0;
136
- }
141
+ .default {
142
+ border-color: var(--color-gray-500);
143
+ background: var(--color-white);
144
+ }
137
145
 
138
- .headingWrapper {
139
- margin-bottom: var(--spacing-24);
140
- }
146
+ .positive {
147
+ border-color: var(--color-green-500);
148
+ background: var(--color-green-100);
149
+ }
141
150
 
142
- .default {
143
- border-color: var(--color-gray-500);
144
- background: var(--color-white);
145
- }
151
+ .negative,
152
+ .assertive {
153
+ border-color: var(--color-red-500);
154
+ background: var(--color-red-100);
155
+ }
146
156
 
147
- .positive {
148
- border-color: var(--color-green-500);
149
- background: var(--color-green-100);
150
- }
157
+ .informative {
158
+ border-color: var(--color-blue-400);
159
+ background: var(--color-blue-100);
160
+ }
151
161
 
152
- .negative,
153
- .assertive {
154
- border-color: var(--color-red-500);
155
- background: var(--color-red-100);
156
- }
162
+ .cautionary {
163
+ border-color: var(--color-yellow-700);
164
+ background: var(--color-yellow-100);
165
+ }
157
166
 
158
- .informative {
159
- border-color: var(--color-blue-400);
160
- background: var(--color-blue-100);
161
- }
167
+ .prominent {
168
+ border-color: var(--color-purple-400);
169
+ background: var(--color-purple-100);
170
+ }
162
171
 
163
- .cautionary {
164
- border-color: var(--color-yellow-700);
165
- background: var(--color-yellow-100);
166
- }
172
+ .inline,
173
+ .stacked {
174
+ flex-flow: row wrap;
175
+ align-items: unset;
176
+ gap: var(--spacing-24);
177
+ min-width: unset;
167
178
 
168
- .prominent {
169
- border-color: var(--color-purple-400);
170
- background: var(--color-purple-100);
179
+ @media (width <= 1023px) {
180
+ flex-direction: unset;
171
181
  }
172
182
 
173
- .inline,
174
- .stacked {
175
- flex-flow: row wrap;
176
- align-items: unset;
177
- gap: var(--spacing-24);
178
- min-width: unset;
183
+ .illustrationWrapper {
184
+ margin-inline-end: var(--spacing-12);
179
185
 
180
- @media (width <= 1023px) {
181
- flex-direction: unset;
186
+ @media (768px <= width <= 1023px) {
187
+ padding: 0;
182
188
  }
183
189
 
184
- .illustrationWrapper {
185
- margin-inline-end: var(--spacing-12);
190
+ @media (width <= 767px) {
191
+ display: flex;
192
+ }
193
+ }
186
194
 
187
- @media (768px <= width <= 1023px) {
188
- padding: 0;
189
- }
195
+ .descriptionAndActions {
196
+ margin: auto 0;
197
+ }
190
198
 
191
- @media (width <= 767px) {
192
- display: flex;
193
- }
194
- }
199
+ .descriptionContainer {
200
+ text-align: start;
201
+ max-width: unset;
202
+ min-width: 320px;
195
203
 
196
- .descriptionAndActions {
197
- margin: auto 0;
204
+ @media (width >= 1024px) {
205
+ padding: 0;
198
206
  }
199
207
 
200
- .descriptionContainer {
201
- text-align: start;
202
- max-width: unset;
203
- min-width: 320px;
208
+ @media (width <= 767px) {
209
+ margin: 0;
210
+ }
211
+ }
204
212
 
205
- @media (width >= 1024px) {
206
- padding: 0;
207
- }
213
+ .buttonContainer {
214
+ padding-inline-start: var(--spacing-12);
215
+ justify-content: flex-start;
216
+ width: unset;
217
+ min-width: unset;
208
218
 
209
- @media (width <= 767px) {
210
- margin: 0;
211
- }
219
+ @media (width <= 767px) {
220
+ flex-direction: row-reverse;
212
221
  }
213
222
 
214
- .buttonContainer {
215
- padding-inline-start: var(--spacing-12);
216
- justify-content: flex-start;
223
+ > * {
217
224
  width: unset;
218
- min-width: unset;
225
+ }
226
+ }
219
227
 
220
- @media (width <= 767px) {
221
- flex-direction: row-reverse;
222
- }
228
+ &.hasSceneIllustration {
229
+ justify-content: center;
230
+ }
223
231
 
224
- > * {
225
- width: unset;
226
- }
227
- }
232
+ &.centerContent {
233
+ flex-direction: column;
228
234
 
229
- &.hasSceneIllustration {
230
- justify-content: center;
235
+ &.hasSceneIllustration .illustration {
236
+ width: 100%;
231
237
  }
232
238
 
233
- &.centerContent {
234
- flex-direction: column;
235
-
236
- &.hasSceneIllustration .illustration {
237
- width: 100%;
238
- }
239
-
240
- .illustrationWrapper {
241
- margin: 0 auto;
242
- align-self: center;
243
- }
244
-
245
- .descriptionContainer {
246
- text-align: center;
247
- min-width: unset;
248
- }
249
-
250
- .buttonContainer {
251
- padding: 0;
252
- flex-direction: column;
253
- min-width: unset;
254
- justify-content: center;
255
- }
239
+ .illustrationWrapper {
240
+ margin: 0 auto;
241
+ align-self: center;
256
242
  }
257
243
 
258
- &.centerContent.smallScreenTextAlignment {
259
- .descriptionContainer {
260
- text-align: start;
261
- }
244
+ .descriptionContainer {
245
+ text-align: center;
246
+ min-width: unset;
262
247
  }
263
- }
264
248
 
265
- /* stylelint-disable no-descending-specificity */
266
- .stacked {
267
- .descriptionAndActions {
249
+ .buttonContainer {
250
+ padding: 0;
268
251
  flex-direction: column;
269
- align-items: unset;
252
+ min-width: unset;
253
+ justify-content: center;
270
254
  }
255
+ }
271
256
 
257
+ &.centerContent.smallScreenTextAlignment {
272
258
  .descriptionContainer {
273
- align-self: flex-start;
259
+ text-align: start;
274
260
  }
275
261
  }
276
- /* stylelint-enable no-descending-specificity */
277
262
  }
263
+
264
+ /* stylelint-disable no-descending-specificity */
265
+ .stacked {
266
+ .descriptionAndActions {
267
+ flex-direction: column;
268
+ align-items: unset;
269
+ }
270
+
271
+ .descriptionContainer {
272
+ align-self: flex-start;
273
+ }
274
+ }
275
+ /* stylelint-enable no-descending-specificity */