@vibe/core 3.58.1 → 3.58.2

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 (1554) hide show
  1. package/dist/components/Accordion/Accordion/Accordion.d.ts +2 -2
  2. package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +2 -2
  3. package/dist/components/AlertBanner/AlertBanner.d.ts +6 -6
  4. package/dist/components/AlertBanner/AlertBannerButton/AlertBannerButton.d.ts +2 -2
  5. package/dist/components/AlertBanner/AlertBannerContext.d.ts +1 -1
  6. package/dist/components/AlertBanner/AlertBannerLink/AlertBannerLink.d.ts +2 -2
  7. package/dist/components/AlertBanner/AlertBannerText/AlertBannerText.d.ts +2 -2
  8. package/dist/components/AttentionBox/AttentionBox.d.ts +2 -2
  9. package/dist/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.d.ts +1 -1
  10. package/dist/components/Avatar/Avatar.d.ts +6 -6
  11. package/dist/components/Avatar/AvatarBadge.d.ts +2 -2
  12. package/dist/components/Avatar/AvatarContent.d.ts +2 -2
  13. package/dist/components/AvatarGroup/AvatarGroup.d.ts +6 -6
  14. package/dist/components/AvatarGroup/AvatarGroup.types.d.ts +1 -1
  15. package/dist/components/AvatarGroup/AvatarGroupCounter.d.ts +6 -6
  16. package/dist/components/AvatarGroup/AvatarGroupCounterTooltipContainer.d.ts +5 -5
  17. package/dist/components/AvatarGroup/AvatarGroupCounterTooltipContent.d.ts +4 -4
  18. package/dist/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.d.ts +5 -5
  19. package/dist/components/AvatarGroup/AvatarGroupCounterTooltipHelper.d.ts +4 -4
  20. package/dist/components/AvatarGroup/AvatarGroupHelper.d.ts +2 -2
  21. package/dist/components/Badge/Badge.d.ts +4 -4
  22. package/dist/components/Badge/Indicator/Indicator.d.ts +2 -2
  23. package/dist/components/BaseInput/BaseInput.d.ts +1 -1
  24. package/dist/components/BaseInput/BaseInput.types.d.ts +3 -3
  25. package/dist/components/BaseList/BaseList.d.ts +1 -1
  26. package/dist/components/BaseList/BaseList.types.d.ts +4 -3
  27. package/dist/components/BaseListItem/BaseListItem.d.ts +1 -1
  28. package/dist/components/BaseListItem/BaseListItem.types.d.ts +6 -5
  29. package/dist/components/BaseListItem/utils.d.ts +2 -2
  30. package/dist/components/Box/Box.d.ts +2 -2
  31. package/dist/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.d.ts +1 -1
  32. package/dist/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.d.ts +1 -1
  33. package/dist/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbMenu.d.ts +1 -1
  34. package/dist/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbMenuItem/BreadcrumbMenuItem.d.ts +2 -2
  35. package/dist/components/BreadcrumbsBar/BreadcrumbsBar.d.ts +5 -5
  36. package/dist/components/Button/Button.d.ts +3 -3
  37. package/dist/components/Button/ButtonConstants.d.ts +1 -1
  38. package/dist/components/ButtonGroup/ButtonGroup.d.ts +6 -6
  39. package/dist/components/ButtonGroup/ButtonWrapper.d.ts +3 -3
  40. package/dist/components/Checkbox/Checkbox.d.ts +6 -1
  41. package/dist/components/Chips/Chips.d.ts +3 -3
  42. package/dist/components/Clickable/Clickable.d.ts +2 -2
  43. package/dist/components/Clickable/ClickableWrapper.d.ts +2 -2
  44. package/dist/components/ColorPicker/ColorPicker.d.ts +3 -3
  45. package/dist/components/ColorPicker/ColorPicker.types.d.ts +1 -1
  46. package/dist/components/ColorPicker/ColorPickerConstants.d.ts +1 -1
  47. package/dist/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.d.ts +1 -1
  48. package/dist/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.d.ts +5 -5
  49. package/dist/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.d.ts +4 -4
  50. package/dist/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.d.ts +3 -3
  51. package/dist/components/ColorPicker/services/ColorPickerStyleService.d.ts +1 -1
  52. package/dist/components/Combobox/Combobox.d.ts +5 -5
  53. package/dist/components/Combobox/ComboboxHelpers/ComboboxHelpers.d.ts +2 -2
  54. package/dist/components/Combobox/ComboboxService.d.ts +1 -1
  55. package/dist/components/Combobox/components/ComboboxCategory/ComboboxCategory.d.ts +2 -2
  56. package/dist/components/Combobox/components/ComboboxConstants.d.ts +2 -2
  57. package/dist/components/Combobox/components/ComboboxItems/ComboboxItems.d.ts +1 -1
  58. package/dist/components/Combobox/components/ComboboxOption/ComboboxOption.d.ts +2 -2
  59. package/dist/components/Counter/Counter.d.ts +2 -2
  60. package/dist/components/DatePicker/DatePicker.d.ts +3 -3
  61. package/dist/components/DatePicker/DatePickerHeader/DatePickerHeader.d.ts +1 -1
  62. package/dist/components/DatePicker/YearPicker/YearPicker.d.ts +1 -1
  63. package/dist/components/DatePicker/types.d.ts +1 -1
  64. package/dist/components/Dialog/Dialog.d.ts +5 -5
  65. package/dist/components/Dialog/DialogContent/DialogContent.d.ts +4 -4
  66. package/dist/components/Dialog/modifiers/observeContentResizeModifier.d.ts +1 -1
  67. package/dist/components/Dialog/modifiers/observeReferenceResizeModifier.d.ts +1 -1
  68. package/dist/components/DialogContentContainer/DialogContentContainer.d.ts +7 -2
  69. package/dist/components/Divider/Divider.d.ts +2 -2
  70. package/dist/components/Dropdown/Dropdown.d.ts +1 -1
  71. package/dist/components/Dropdown/Dropdown.types.d.ts +4 -3
  72. package/dist/components/DropdownNew/Dropdown.d.ts +2 -2
  73. package/dist/components/DropdownNew/Dropdown.types.d.ts +5 -5
  74. package/dist/components/DropdownNew/components/DropdownWrapperUI.d.ts +2 -2
  75. package/dist/components/DropdownNew/components/Menu/Menu.d.ts +1 -1
  76. package/dist/components/DropdownNew/components/MultiSelectedValues/MultiSelectedValues.d.ts +1 -1
  77. package/dist/components/DropdownNew/components/Trigger/DropdownChip.d.ts +1 -1
  78. package/dist/components/DropdownNew/context/DropdownContext.d.ts +5 -5
  79. package/dist/components/DropdownNew/context/DropdownContext.types.d.ts +4 -4
  80. package/dist/components/DropdownNew/hooks/useDropdownCombobox.d.ts +2 -2
  81. package/dist/components/DropdownNew/hooks/useDropdownFiltering.d.ts +3 -3
  82. package/dist/components/DropdownNew/hooks/useDropdownMultiCombobox.d.ts +2 -2
  83. package/dist/components/DropdownNew/hooks/useDropdownMultiSelect.d.ts +2 -2
  84. package/dist/components/DropdownNew/hooks/useDropdownSelect.d.ts +2 -2
  85. package/dist/components/DropdownNew/modes/DropdownComboboxController.d.ts +2 -2
  86. package/dist/components/DropdownNew/modes/DropdownMultiComboboxController.d.ts +2 -2
  87. package/dist/components/DropdownNew/modes/DropdownMultiSelectController.d.ts +2 -2
  88. package/dist/components/DropdownNew/modes/DropdownSelectController.d.ts +2 -2
  89. package/dist/components/DropdownNew/utils/dropdown-modifiers.d.ts +1 -1
  90. package/dist/components/DropdownNew/utils/dropdownUtils.d.ts +2 -2
  91. package/dist/components/EditableHeading/EditableHeading.d.ts +3 -3
  92. package/dist/components/EditableText/EditableText.d.ts +3 -3
  93. package/dist/components/EditableTypography/EditableTypography.d.ts +5 -5
  94. package/dist/components/EmptyState/EmptyState.d.ts +1 -1
  95. package/dist/components/EmptyState/EmptyState.types.d.ts +4 -4
  96. package/dist/components/ExpandCollapse/ExpandCollapse.d.ts +3 -3
  97. package/dist/components/FieldLabel/FieldLabel.d.ts +2 -2
  98. package/dist/components/Flex/Flex.d.ts +2 -2
  99. package/dist/components/FormattedNumber/FormattedNumber.d.ts +1 -1
  100. package/dist/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.d.ts +2 -2
  101. package/dist/components/GridKeyboardNavigationContext/GridKeyboardNavigationContextConstants.d.ts +2 -2
  102. package/dist/components/GridKeyboardNavigationContext/helper.d.ts +1 -1
  103. package/dist/components/Heading/Heading.d.ts +4 -4
  104. package/dist/components/HiddenText/HiddenText.d.ts +1 -1
  105. package/dist/components/Icon/CustomSvgIcon/CustomSvgIcon.d.ts +2 -2
  106. package/dist/components/Icon/FontIcon/FontIcon.d.ts +2 -2
  107. package/dist/components/Icon/Icon.d.ts +3 -3
  108. package/dist/components/Icon/hooks/useIconProps.d.ts +1 -1
  109. package/dist/components/IconButton/IconButton.d.ts +5 -5
  110. package/dist/components/InfoText/InfoText.d.ts +1 -1
  111. package/dist/components/Label/Label.d.ts +3 -3
  112. package/dist/components/Label/Label.types.d.ts +1 -1
  113. package/dist/components/Label/LabelConstants.d.ts +2 -2
  114. package/dist/components/LayerProvider/LayerProvider.d.ts +1 -1
  115. package/dist/components/LegacyModal/LegacyModal.d.ts +2 -2
  116. package/dist/components/LegacyModal/LegacyModalContent/LegacyModalContent.d.ts +2 -2
  117. package/dist/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.d.ts +2 -2
  118. package/dist/components/LegacyModal/LegacyModalFooter/LegacyModalFooterButtons/LegacyModalFooterButtons.d.ts +1 -1
  119. package/dist/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.d.ts +1 -1
  120. package/dist/components/LegacyModal/ModalHelper.d.ts +1 -1
  121. package/dist/components/LegacyModal/useAnimationProps.d.ts +1 -1
  122. package/dist/components/LegacyModal/useBodyScrollLock.d.ts +1 -1
  123. package/dist/components/LegacyModal/useShowHideModal.d.ts +1 -1
  124. package/dist/components/Link/Link.d.ts +2 -2
  125. package/dist/components/List/List.d.ts +5 -5
  126. package/dist/components/List/VirtualizedListItems/VirtualizedListItems.d.ts +3 -3
  127. package/dist/components/List/utils/ListUtils.d.ts +3 -3
  128. package/dist/components/ListItem/ListItem.d.ts +3 -3
  129. package/dist/components/ListItem/ListItem.types.d.ts +1 -1
  130. package/dist/components/ListItemAvatar/ListItemAvatar.d.ts +2 -2
  131. package/dist/components/ListItemIcon/ListItemIcon.d.ts +3 -3
  132. package/dist/components/ListTitle/ListTitle.d.ts +1 -1
  133. package/dist/components/Loader/Loader.d.ts +2 -2
  134. package/dist/components/Menu/Menu/Menu.d.ts +2 -2
  135. package/dist/components/Menu/Menu/MenuConstants.d.ts +1 -1
  136. package/dist/components/Menu/Menu/hooks/useAdjacentSelectableMenuIndex.d.ts +1 -1
  137. package/dist/components/Menu/Menu/hooks/useCloseMenuOnKeyEvent.d.ts +2 -2
  138. package/dist/components/Menu/Menu/hooks/useFocusOnMount.d.ts +1 -1
  139. package/dist/components/Menu/Menu/hooks/useMenuKeyboardNavigation.d.ts +1 -1
  140. package/dist/components/Menu/Menu/hooks/useMouseLeave.d.ts +1 -1
  141. package/dist/components/Menu/Menu/hooks/useOnCloseMenu.d.ts +1 -1
  142. package/dist/components/Menu/Menu/utils/utils.d.ts +2 -2
  143. package/dist/components/Menu/MenuDivider/MenuDivider.d.ts +1 -1
  144. package/dist/components/Menu/MenuGridItem/MenuGridItem.d.ts +3 -3
  145. package/dist/components/Menu/MenuGridItem/useFocusGridItemByActiveStatus.d.ts +1 -1
  146. package/dist/components/Menu/MenuGridItem/useMenuGridItemNavContext.d.ts +3 -3
  147. package/dist/components/Menu/MenuItem/AvatarMenuItem.d.ts +3 -3
  148. package/dist/components/Menu/MenuItem/MenuItem.d.ts +7 -7
  149. package/dist/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.d.ts +1 -1
  150. package/dist/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.types.d.ts +4 -4
  151. package/dist/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.d.ts +1 -1
  152. package/dist/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.types.d.ts +2 -2
  153. package/dist/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.d.ts +1 -1
  154. package/dist/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.types.d.ts +4 -4
  155. package/dist/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.d.ts +1 -1
  156. package/dist/components/Menu/MenuItem/hooks/useMenuItemKeyboardEvents.d.ts +2 -2
  157. package/dist/components/Menu/MenuItem/hooks/useMenuItemMouseEvents.d.ts +1 -1
  158. package/dist/components/Menu/MenuItemButton/MenuItemButton.d.ts +3 -3
  159. package/dist/components/Menu/MenuTitle/MenuTitle.d.ts +2 -2
  160. package/dist/components/MenuButton/MenuButton.d.ts +5 -5
  161. package/dist/components/Modal/Modal/Modal.d.ts +1 -1
  162. package/dist/components/Modal/Modal/Modal.types.d.ts +4 -4
  163. package/dist/components/Modal/ModalContent/ModalContent.d.ts +1 -1
  164. package/dist/components/Modal/ModalContent/ModalContent.types.d.ts +2 -2
  165. package/dist/components/Modal/ModalHeader/ModalHeader.d.ts +1 -1
  166. package/dist/components/Modal/ModalHeader/ModalHeader.types.d.ts +2 -2
  167. package/dist/components/Modal/ModalMedia/ModalMedia.d.ts +1 -1
  168. package/dist/components/Modal/ModalMedia/ModalMedia.types.d.ts +2 -2
  169. package/dist/components/Modal/ModalTopActions/ModalTopActions.d.ts +1 -1
  170. package/dist/components/Modal/ModalTopActions/ModalTopActions.types.d.ts +4 -4
  171. package/dist/components/Modal/context/ModalContext.d.ts +1 -1
  172. package/dist/components/Modal/context/ModalContext.types.d.ts +1 -1
  173. package/dist/components/Modal/footers/ModalFooter/ModalFooter.d.ts +1 -1
  174. package/dist/components/Modal/footers/ModalFooter/ModalFooter.types.d.ts +2 -2
  175. package/dist/components/Modal/footers/ModalFooterBase/ModalFooterBase.d.ts +1 -1
  176. package/dist/components/Modal/footers/ModalFooterBase/ModalFooterBase.types.d.ts +4 -4
  177. package/dist/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.d.ts +1 -1
  178. package/dist/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.types.d.ts +2 -2
  179. package/dist/components/Modal/footers/utils/getPropsForButton.d.ts +1 -1
  180. package/dist/components/Modal/hooks/usePortalTarget/usePortalTarget.d.ts +1 -1
  181. package/dist/components/Modal/hooks/usePortalTarget/usePortalTarget.types.d.ts +1 -1
  182. package/dist/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.d.ts +1 -1
  183. package/dist/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.types.d.ts +2 -2
  184. package/dist/components/Modal/layouts/ModalFooterShadow.d.ts +1 -1
  185. package/dist/components/Modal/layouts/ModalLayoutScrollableContent.d.ts +1 -1
  186. package/dist/components/Modal/layouts/ModalLayoutScrollableContent.types.d.ts +1 -1
  187. package/dist/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.d.ts +1 -1
  188. package/dist/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.types.d.ts +2 -2
  189. package/dist/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.d.ts +1 -1
  190. package/dist/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.types.d.ts +2 -2
  191. package/dist/components/Modal/layouts/useLayoutScrolledContent.d.ts +1 -1
  192. package/dist/components/Modal/utils/animationVariants.d.ts +1 -1
  193. package/dist/components/MultiStepIndicator/MultiStepIndicator.d.ts +2 -2
  194. package/dist/components/MultiStepIndicator/components/StepIndicator/StepIndicator.d.ts +2 -2
  195. package/dist/components/NumberField/NumberField.d.ts +1 -1
  196. package/dist/components/NumberField/NumberField.types.d.ts +3 -3
  197. package/dist/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.d.ts +1 -1
  198. package/dist/components/NumberField/hooks/useNumberFieldState.d.ts +1 -1
  199. package/dist/components/NumberField/hooks/useSpinButtonHandlers.d.ts +1 -1
  200. package/dist/components/NumberField/utils/calcValue.d.ts +1 -1
  201. package/dist/components/ProgressBars/LinearProgressBar/Bar/Bar.d.ts +3 -3
  202. package/dist/components/ProgressBars/LinearProgressBar/LinearProgressBar.d.ts +2 -2
  203. package/dist/components/ProgressBars/LinearProgressBar/LinearProgressBar.types.d.ts +1 -1
  204. package/dist/components/ProgressBars/LinearProgressBar/LinearProgressBarHelpers.d.ts +1 -1
  205. package/dist/components/ProgressBars/PercentageLabel/PercentageLabel.d.ts +1 -1
  206. package/dist/components/RadioButton/RadioButton.d.ts +1 -1
  207. package/dist/components/Refable/Refable.d.ts +2 -2
  208. package/dist/components/Search/Search.d.ts +1 -1
  209. package/dist/components/Search/Search.types.d.ts +5 -5
  210. package/dist/components/Skeleton/Skeleton.d.ts +2 -2
  211. package/dist/components/SlideTransition/SlideTransition.d.ts +1 -1
  212. package/dist/components/SlideTransition/SlideTransition.types.d.ts +2 -2
  213. package/dist/components/SlideTransition/utils/animationVariants.d.ts +1 -1
  214. package/dist/components/Slider/SelectionIndicator.d.ts +2 -2
  215. package/dist/components/Slider/Slider.d.ts +3 -3
  216. package/dist/components/Slider/Slider.types.d.ts +3 -3
  217. package/dist/components/Slider/SliderBase/SliderBase.d.ts +2 -2
  218. package/dist/components/Slider/SliderBase/SliderFilledTrack.d.ts +3 -3
  219. package/dist/components/Slider/SliderBase/SliderRail.d.ts +4 -4
  220. package/dist/components/Slider/SliderBase/SliderThumb.d.ts +3 -3
  221. package/dist/components/Slider/SliderBase/SliderTrack.d.ts +3 -3
  222. package/dist/components/Slider/SliderConstants.d.ts +3 -3
  223. package/dist/components/Slider/SliderContext.d.ts +4 -4
  224. package/dist/components/Slider/SliderInfix.d.ts +2 -2
  225. package/dist/components/Slider/SliderInfixHooks.d.ts +2 -2
  226. package/dist/components/SplitButton/SplitButton.d.ts +4 -4
  227. package/dist/components/SplitButton/SplitButtonMenu/SplitButtonMenu.d.ts +1 -1
  228. package/dist/components/Steps/Steps.d.ts +4 -4
  229. package/dist/components/Steps/StepsCommand.d.ts +4 -4
  230. package/dist/components/Steps/StepsDot.d.ts +3 -3
  231. package/dist/components/Steps/StepsGalleryHeader.d.ts +3 -3
  232. package/dist/components/Steps/StepsHeader.d.ts +4 -4
  233. package/dist/components/Steps/StepsNumbersHeader.d.ts +3 -3
  234. package/dist/components/Switch/Switch.d.ts +3 -3
  235. package/dist/components/Table/Table/Table.d.ts +5 -5
  236. package/dist/components/Table/Table/tableHelpers.d.ts +4 -3
  237. package/dist/components/Table/TableBody/TableBody.d.ts +4 -4
  238. package/dist/components/Table/TableCell/TableCell.d.ts +1 -1
  239. package/dist/components/Table/TableCellSkeleton/TableCellSkeleton.d.ts +2 -2
  240. package/dist/components/Table/TableContainer/TableContainer.d.ts +1 -1
  241. package/dist/components/Table/TableContainer/TableContainer.types.d.ts +2 -2
  242. package/dist/components/Table/TableHeader/TableHeader.d.ts +2 -2
  243. package/dist/components/Table/TableHeaderCell/TableHeaderCell.d.ts +1 -1
  244. package/dist/components/Table/TableRow/TableRow.d.ts +2 -2
  245. package/dist/components/Table/TableRowMenu/TableRowMenu.d.ts +1 -1
  246. package/dist/components/Table/TableRowMenu/TableRowMenu.types.d.ts +2 -2
  247. package/dist/components/Table/TableVirtualizedBody/TableVirtualizedBody.d.ts +3 -3
  248. package/dist/components/Table/context/TableContainerContext/TableContainerContext.d.ts +1 -1
  249. package/dist/components/Table/context/TableContainerContext/TableContainerContext.types.d.ts +1 -1
  250. package/dist/components/Table/context/TableContext/TableContext.d.ts +1 -1
  251. package/dist/components/Table/context/TableContext/TableContext.types.d.ts +3 -2
  252. package/dist/components/Table/context/TableRowMenuContext/TableRowMenuContext.d.ts +1 -1
  253. package/dist/components/Table/context/TableRowMenuContext/TableRowMenuContext.types.d.ts +1 -1
  254. package/dist/components/Tabs/Tab/Tab.d.ts +5 -5
  255. package/dist/components/Tabs/TabList/TabList.d.ts +3 -3
  256. package/dist/components/Tabs/TabPanel/TabPanel.d.ts +2 -2
  257. package/dist/components/Tabs/TabPanels/TabPanels.d.ts +4 -4
  258. package/dist/components/Tabs/TabsContext/TabsContext.d.ts +2 -2
  259. package/dist/components/Text/Text.d.ts +3 -3
  260. package/dist/components/TextArea/TextArea.d.ts +1 -1
  261. package/dist/components/TextArea/TextArea.types.d.ts +2 -2
  262. package/dist/components/TextField/TextField.d.ts +2 -2
  263. package/dist/components/TextWithHighlight/TextWithHighlight.d.ts +3 -3
  264. package/dist/components/ThemeProvider/ThemeProvider.d.ts +3 -3
  265. package/dist/components/ThemeProvider/ThemeProviderUtils.d.ts +2 -2
  266. package/dist/components/Tipseen/Tipseen.d.ts +7 -7
  267. package/dist/components/Tipseen/TipseenBasicContent.d.ts +2 -2
  268. package/dist/components/Tipseen/TipseenContent.d.ts +4 -4
  269. package/dist/components/Tipseen/TipseenMedia/TipseenMedia.d.ts +2 -2
  270. package/dist/components/Tipseen/TipseenTitle.d.ts +2 -2
  271. package/dist/components/Tipseen/TipseenWizard.d.ts +2 -2
  272. package/dist/components/Toast/Toast.d.ts +4 -4
  273. package/dist/components/Toast/ToastButton/ToastButton.d.ts +2 -2
  274. package/dist/components/Toast/ToastHelpers.d.ts +2 -2
  275. package/dist/components/Toast/ToastLink/ToastLink.d.ts +2 -2
  276. package/dist/components/Toggle/MockToggle.d.ts +3 -3
  277. package/dist/components/Toggle/Toggle.d.ts +3 -3
  278. package/dist/components/Toggle/ToggleText.d.ts +2 -2
  279. package/dist/components/Tooltip/Tooltip.d.ts +8 -8
  280. package/dist/components/TransitionView/TransitionView.d.ts +1 -1
  281. package/dist/components/TransitionView/TransitionView.types.d.ts +3 -3
  282. package/dist/components/Typography/Typography.d.ts +5 -5
  283. package/dist/components/Typography/TypographyHooks.d.ts +3 -3
  284. package/dist/components/VirtualizedGrid/VirtualizedGrid.d.ts +4 -4
  285. package/dist/components/VirtualizedList/VirtualizedList.d.ts +3 -3
  286. package/dist/hooks/useActiveDescendantListFocus/index.d.ts +2 -1
  287. package/dist/hooks/useActiveDescendantListFocus/useActiveDescendantListFocusHooks.d.ts +4 -3
  288. package/dist/hooks/useAfterFirstRender/index.d.ts +1 -1
  289. package/dist/hooks/useClickOutside/index.d.ts +2 -2
  290. package/dist/hooks/useClickableProps/useClickableProps.d.ts +2 -2
  291. package/dist/hooks/useDebounceEvent/index.d.ts +1 -1
  292. package/dist/hooks/useElementsOverflowingIndex.d.ts +1 -1
  293. package/dist/hooks/useEventListener/index.d.ts +2 -2
  294. package/dist/hooks/useFocusWithin.d.ts +1 -1
  295. package/dist/hooks/useFullKeyboardListeners.d.ts +2 -2
  296. package/dist/hooks/useGridKeyboardNavigation/useGridKeyboardNavigation.d.ts +1 -1
  297. package/dist/hooks/useHover/useHover.d.ts +1 -1
  298. package/dist/hooks/useIsMouseEnter.d.ts +1 -1
  299. package/dist/hooks/useIsMouseOver.d.ts +1 -1
  300. package/dist/hooks/useIsOverflowing/useIsOverflowing.d.ts +1 -1
  301. package/dist/hooks/useItemsOverflow/useItemsOverflow.d.ts +1 -1
  302. package/dist/hooks/useKeyEvent/index.d.ts +2 -2
  303. package/dist/hooks/useKeyboard.d.ts +1 -1
  304. package/dist/hooks/useKeyboardButtonPressedFunc.d.ts +1 -1
  305. package/dist/hooks/useListenFocusTriggers/index.d.ts +1 -1
  306. package/dist/hooks/useMergeRef.d.ts +1 -1
  307. package/dist/hooks/useMergeRefs.d.ts +1 -1
  308. package/dist/hooks/useRefWithCallback.d.ts +1 -1
  309. package/dist/hooks/useResizeObserver.d.ts +1 -1
  310. package/dist/hooks/useSetFocus/index.d.ts +1 -1
  311. package/dist/hooks/useStyle.d.ts +1 -1
  312. package/dist/hooks/useSwitch/index.d.ts +1 -1
  313. package/dist/hooks/useWizard/useWizard.d.ts +1 -1
  314. package/dist/metadata.json +20 -0
  315. package/dist/mocked_classnames/components/Accordion/Accordion/Accordion.d.ts +2 -2
  316. package/dist/mocked_classnames/components/Accordion/AccordionItem/AccordionItem.d.ts +2 -2
  317. package/dist/mocked_classnames/components/AlertBanner/AlertBanner.d.ts +6 -6
  318. package/dist/mocked_classnames/components/AlertBanner/AlertBannerButton/AlertBannerButton.d.ts +2 -2
  319. package/dist/mocked_classnames/components/AlertBanner/AlertBannerContext.d.ts +1 -1
  320. package/dist/mocked_classnames/components/AlertBanner/AlertBannerLink/AlertBannerLink.d.ts +2 -2
  321. package/dist/mocked_classnames/components/AlertBanner/AlertBannerText/AlertBannerText.d.ts +2 -2
  322. package/dist/mocked_classnames/components/AttentionBox/AttentionBox.d.ts +2 -2
  323. package/dist/mocked_classnames/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.d.ts +1 -1
  324. package/dist/mocked_classnames/components/Avatar/Avatar.d.ts +6 -6
  325. package/dist/mocked_classnames/components/Avatar/AvatarBadge.d.ts +2 -2
  326. package/dist/mocked_classnames/components/Avatar/AvatarContent.d.ts +2 -2
  327. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroup.d.ts +6 -6
  328. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroup.types.d.ts +1 -1
  329. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroupCounter.d.ts +6 -6
  330. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroupCounterTooltipContainer.d.ts +5 -5
  331. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroupCounterTooltipContent.d.ts +4 -4
  332. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.d.ts +5 -5
  333. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroupCounterTooltipHelper.d.ts +4 -4
  334. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroupHelper.d.ts +2 -2
  335. package/dist/mocked_classnames/components/Badge/Badge.d.ts +4 -4
  336. package/dist/mocked_classnames/components/Badge/Indicator/Indicator.d.ts +2 -2
  337. package/dist/mocked_classnames/components/BaseInput/BaseInput.d.ts +1 -1
  338. package/dist/mocked_classnames/components/BaseInput/BaseInput.types.d.ts +3 -3
  339. package/dist/mocked_classnames/components/BaseList/BaseList.d.ts +1 -1
  340. package/dist/mocked_classnames/components/BaseList/BaseList.types.d.ts +4 -3
  341. package/dist/mocked_classnames/components/BaseListItem/BaseListItem.d.ts +1 -1
  342. package/dist/mocked_classnames/components/BaseListItem/BaseListItem.types.d.ts +6 -5
  343. package/dist/mocked_classnames/components/BaseListItem/utils.d.ts +2 -2
  344. package/dist/mocked_classnames/components/Box/Box.d.ts +2 -2
  345. package/dist/mocked_classnames/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.d.ts +1 -1
  346. package/dist/mocked_classnames/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.d.ts +1 -1
  347. package/dist/mocked_classnames/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbMenu.d.ts +1 -1
  348. package/dist/mocked_classnames/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbMenuItem/BreadcrumbMenuItem.d.ts +2 -2
  349. package/dist/mocked_classnames/components/BreadcrumbsBar/BreadcrumbsBar.d.ts +5 -5
  350. package/dist/mocked_classnames/components/Button/Button.d.ts +3 -3
  351. package/dist/mocked_classnames/components/Button/ButtonConstants.d.ts +1 -1
  352. package/dist/mocked_classnames/components/ButtonGroup/ButtonGroup.d.ts +6 -6
  353. package/dist/mocked_classnames/components/ButtonGroup/ButtonWrapper.d.ts +3 -3
  354. package/dist/mocked_classnames/components/Checkbox/Checkbox.d.ts +6 -1
  355. package/dist/mocked_classnames/components/Chips/Chips.d.ts +3 -3
  356. package/dist/mocked_classnames/components/Clickable/Clickable.d.ts +2 -2
  357. package/dist/mocked_classnames/components/Clickable/ClickableWrapper.d.ts +2 -2
  358. package/dist/mocked_classnames/components/ColorPicker/ColorPicker.d.ts +3 -3
  359. package/dist/mocked_classnames/components/ColorPicker/ColorPicker.types.d.ts +1 -1
  360. package/dist/mocked_classnames/components/ColorPicker/ColorPickerConstants.d.ts +1 -1
  361. package/dist/mocked_classnames/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.d.ts +1 -1
  362. package/dist/mocked_classnames/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.d.ts +5 -5
  363. package/dist/mocked_classnames/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.d.ts +4 -4
  364. package/dist/mocked_classnames/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.d.ts +3 -3
  365. package/dist/mocked_classnames/components/ColorPicker/services/ColorPickerStyleService.d.ts +1 -1
  366. package/dist/mocked_classnames/components/Combobox/Combobox.d.ts +5 -5
  367. package/dist/mocked_classnames/components/Combobox/ComboboxHelpers/ComboboxHelpers.d.ts +2 -2
  368. package/dist/mocked_classnames/components/Combobox/ComboboxService.d.ts +1 -1
  369. package/dist/mocked_classnames/components/Combobox/components/ComboboxCategory/ComboboxCategory.d.ts +2 -2
  370. package/dist/mocked_classnames/components/Combobox/components/ComboboxConstants.d.ts +2 -2
  371. package/dist/mocked_classnames/components/Combobox/components/ComboboxItems/ComboboxItems.d.ts +1 -1
  372. package/dist/mocked_classnames/components/Combobox/components/ComboboxOption/ComboboxOption.d.ts +2 -2
  373. package/dist/mocked_classnames/components/Counter/Counter.d.ts +2 -2
  374. package/dist/mocked_classnames/components/DatePicker/DatePicker.d.ts +3 -3
  375. package/dist/mocked_classnames/components/DatePicker/DatePickerHeader/DatePickerHeader.d.ts +1 -1
  376. package/dist/mocked_classnames/components/DatePicker/YearPicker/YearPicker.d.ts +1 -1
  377. package/dist/mocked_classnames/components/DatePicker/types.d.ts +1 -1
  378. package/dist/mocked_classnames/components/Dialog/Dialog.d.ts +5 -5
  379. package/dist/mocked_classnames/components/Dialog/DialogContent/DialogContent.d.ts +4 -4
  380. package/dist/mocked_classnames/components/Dialog/modifiers/observeContentResizeModifier.d.ts +1 -1
  381. package/dist/mocked_classnames/components/Dialog/modifiers/observeReferenceResizeModifier.d.ts +1 -1
  382. package/dist/mocked_classnames/components/DialogContentContainer/DialogContentContainer.d.ts +7 -2
  383. package/dist/mocked_classnames/components/Divider/Divider.d.ts +2 -2
  384. package/dist/mocked_classnames/components/Dropdown/Dropdown.d.ts +1 -1
  385. package/dist/mocked_classnames/components/Dropdown/Dropdown.types.d.ts +4 -3
  386. package/dist/mocked_classnames/components/DropdownNew/Dropdown.d.ts +2 -2
  387. package/dist/mocked_classnames/components/DropdownNew/Dropdown.types.d.ts +5 -5
  388. package/dist/mocked_classnames/components/DropdownNew/components/DropdownWrapperUI.d.ts +2 -2
  389. package/dist/mocked_classnames/components/DropdownNew/components/Menu/Menu.d.ts +1 -1
  390. package/dist/mocked_classnames/components/DropdownNew/components/MultiSelectedValues/MultiSelectedValues.d.ts +1 -1
  391. package/dist/mocked_classnames/components/DropdownNew/components/Trigger/DropdownChip.d.ts +1 -1
  392. package/dist/mocked_classnames/components/DropdownNew/context/DropdownContext.d.ts +5 -5
  393. package/dist/mocked_classnames/components/DropdownNew/context/DropdownContext.types.d.ts +4 -4
  394. package/dist/mocked_classnames/components/DropdownNew/hooks/useDropdownCombobox.d.ts +2 -2
  395. package/dist/mocked_classnames/components/DropdownNew/hooks/useDropdownFiltering.d.ts +3 -3
  396. package/dist/mocked_classnames/components/DropdownNew/hooks/useDropdownMultiCombobox.d.ts +2 -2
  397. package/dist/mocked_classnames/components/DropdownNew/hooks/useDropdownMultiSelect.d.ts +2 -2
  398. package/dist/mocked_classnames/components/DropdownNew/hooks/useDropdownSelect.d.ts +2 -2
  399. package/dist/mocked_classnames/components/DropdownNew/modes/DropdownComboboxController.d.ts +2 -2
  400. package/dist/mocked_classnames/components/DropdownNew/modes/DropdownMultiComboboxController.d.ts +2 -2
  401. package/dist/mocked_classnames/components/DropdownNew/modes/DropdownMultiSelectController.d.ts +2 -2
  402. package/dist/mocked_classnames/components/DropdownNew/modes/DropdownSelectController.d.ts +2 -2
  403. package/dist/mocked_classnames/components/DropdownNew/utils/dropdown-modifiers.d.ts +1 -1
  404. package/dist/mocked_classnames/components/DropdownNew/utils/dropdownUtils.d.ts +2 -2
  405. package/dist/mocked_classnames/components/EditableHeading/EditableHeading.d.ts +3 -3
  406. package/dist/mocked_classnames/components/EditableText/EditableText.d.ts +3 -3
  407. package/dist/mocked_classnames/components/EditableTypography/EditableTypography.d.ts +5 -5
  408. package/dist/mocked_classnames/components/EmptyState/EmptyState.d.ts +1 -1
  409. package/dist/mocked_classnames/components/EmptyState/EmptyState.types.d.ts +4 -4
  410. package/dist/mocked_classnames/components/ExpandCollapse/ExpandCollapse.d.ts +3 -3
  411. package/dist/mocked_classnames/components/FieldLabel/FieldLabel.d.ts +2 -2
  412. package/dist/mocked_classnames/components/Flex/Flex.d.ts +2 -2
  413. package/dist/mocked_classnames/components/FormattedNumber/FormattedNumber.d.ts +1 -1
  414. package/dist/mocked_classnames/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.d.ts +2 -2
  415. package/dist/mocked_classnames/components/GridKeyboardNavigationContext/GridKeyboardNavigationContextConstants.d.ts +2 -2
  416. package/dist/mocked_classnames/components/GridKeyboardNavigationContext/helper.d.ts +1 -1
  417. package/dist/mocked_classnames/components/Heading/Heading.d.ts +4 -4
  418. package/dist/mocked_classnames/components/HiddenText/HiddenText.d.ts +1 -1
  419. package/dist/mocked_classnames/components/Icon/CustomSvgIcon/CustomSvgIcon.d.ts +2 -2
  420. package/dist/mocked_classnames/components/Icon/FontIcon/FontIcon.d.ts +2 -2
  421. package/dist/mocked_classnames/components/Icon/Icon.d.ts +3 -3
  422. package/dist/mocked_classnames/components/Icon/hooks/useIconProps.d.ts +1 -1
  423. package/dist/mocked_classnames/components/IconButton/IconButton.d.ts +5 -5
  424. package/dist/mocked_classnames/components/InfoText/InfoText.d.ts +1 -1
  425. package/dist/mocked_classnames/components/Label/Label.d.ts +3 -3
  426. package/dist/mocked_classnames/components/Label/Label.types.d.ts +1 -1
  427. package/dist/mocked_classnames/components/Label/LabelConstants.d.ts +2 -2
  428. package/dist/mocked_classnames/components/LayerProvider/LayerProvider.d.ts +1 -1
  429. package/dist/mocked_classnames/components/LegacyModal/LegacyModal.d.ts +2 -2
  430. package/dist/mocked_classnames/components/LegacyModal/LegacyModalContent/LegacyModalContent.d.ts +2 -2
  431. package/dist/mocked_classnames/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.d.ts +2 -2
  432. package/dist/mocked_classnames/components/LegacyModal/LegacyModalFooter/LegacyModalFooterButtons/LegacyModalFooterButtons.d.ts +1 -1
  433. package/dist/mocked_classnames/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.d.ts +1 -1
  434. package/dist/mocked_classnames/components/LegacyModal/ModalHelper.d.ts +1 -1
  435. package/dist/mocked_classnames/components/LegacyModal/useAnimationProps.d.ts +1 -1
  436. package/dist/mocked_classnames/components/LegacyModal/useBodyScrollLock.d.ts +1 -1
  437. package/dist/mocked_classnames/components/LegacyModal/useShowHideModal.d.ts +1 -1
  438. package/dist/mocked_classnames/components/Link/Link.d.ts +2 -2
  439. package/dist/mocked_classnames/components/List/List.d.ts +5 -5
  440. package/dist/mocked_classnames/components/List/VirtualizedListItems/VirtualizedListItems.d.ts +3 -3
  441. package/dist/mocked_classnames/components/List/utils/ListUtils.d.ts +3 -3
  442. package/dist/mocked_classnames/components/ListItem/ListItem.d.ts +3 -3
  443. package/dist/mocked_classnames/components/ListItem/ListItem.types.d.ts +1 -1
  444. package/dist/mocked_classnames/components/ListItemAvatar/ListItemAvatar.d.ts +2 -2
  445. package/dist/mocked_classnames/components/ListItemIcon/ListItemIcon.d.ts +3 -3
  446. package/dist/mocked_classnames/components/ListTitle/ListTitle.d.ts +1 -1
  447. package/dist/mocked_classnames/components/Loader/Loader.d.ts +2 -2
  448. package/dist/mocked_classnames/components/Menu/Menu/Menu.d.ts +2 -2
  449. package/dist/mocked_classnames/components/Menu/Menu/MenuConstants.d.ts +1 -1
  450. package/dist/mocked_classnames/components/Menu/Menu/hooks/useAdjacentSelectableMenuIndex.d.ts +1 -1
  451. package/dist/mocked_classnames/components/Menu/Menu/hooks/useCloseMenuOnKeyEvent.d.ts +2 -2
  452. package/dist/mocked_classnames/components/Menu/Menu/hooks/useFocusOnMount.d.ts +1 -1
  453. package/dist/mocked_classnames/components/Menu/Menu/hooks/useMenuKeyboardNavigation.d.ts +1 -1
  454. package/dist/mocked_classnames/components/Menu/Menu/hooks/useMouseLeave.d.ts +1 -1
  455. package/dist/mocked_classnames/components/Menu/Menu/hooks/useOnCloseMenu.d.ts +1 -1
  456. package/dist/mocked_classnames/components/Menu/Menu/utils/utils.d.ts +2 -2
  457. package/dist/mocked_classnames/components/Menu/MenuDivider/MenuDivider.d.ts +1 -1
  458. package/dist/mocked_classnames/components/Menu/MenuGridItem/MenuGridItem.d.ts +3 -3
  459. package/dist/mocked_classnames/components/Menu/MenuGridItem/useFocusGridItemByActiveStatus.d.ts +1 -1
  460. package/dist/mocked_classnames/components/Menu/MenuGridItem/useMenuGridItemNavContext.d.ts +3 -3
  461. package/dist/mocked_classnames/components/Menu/MenuItem/AvatarMenuItem.d.ts +3 -3
  462. package/dist/mocked_classnames/components/Menu/MenuItem/MenuItem.d.ts +7 -7
  463. package/dist/mocked_classnames/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.d.ts +1 -1
  464. package/dist/mocked_classnames/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.types.d.ts +4 -4
  465. package/dist/mocked_classnames/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.d.ts +1 -1
  466. package/dist/mocked_classnames/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.types.d.ts +2 -2
  467. package/dist/mocked_classnames/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.d.ts +1 -1
  468. package/dist/mocked_classnames/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.types.d.ts +4 -4
  469. package/dist/mocked_classnames/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.d.ts +1 -1
  470. package/dist/mocked_classnames/components/Menu/MenuItem/hooks/useMenuItemKeyboardEvents.d.ts +2 -2
  471. package/dist/mocked_classnames/components/Menu/MenuItem/hooks/useMenuItemMouseEvents.d.ts +1 -1
  472. package/dist/mocked_classnames/components/Menu/MenuItemButton/MenuItemButton.d.ts +3 -3
  473. package/dist/mocked_classnames/components/Menu/MenuTitle/MenuTitle.d.ts +2 -2
  474. package/dist/mocked_classnames/components/MenuButton/MenuButton.d.ts +5 -5
  475. package/dist/mocked_classnames/components/Modal/Modal/Modal.d.ts +1 -1
  476. package/dist/mocked_classnames/components/Modal/Modal/Modal.types.d.ts +4 -4
  477. package/dist/mocked_classnames/components/Modal/ModalContent/ModalContent.d.ts +1 -1
  478. package/dist/mocked_classnames/components/Modal/ModalContent/ModalContent.types.d.ts +2 -2
  479. package/dist/mocked_classnames/components/Modal/ModalHeader/ModalHeader.d.ts +1 -1
  480. package/dist/mocked_classnames/components/Modal/ModalHeader/ModalHeader.types.d.ts +2 -2
  481. package/dist/mocked_classnames/components/Modal/ModalMedia/ModalMedia.d.ts +1 -1
  482. package/dist/mocked_classnames/components/Modal/ModalMedia/ModalMedia.types.d.ts +2 -2
  483. package/dist/mocked_classnames/components/Modal/ModalTopActions/ModalTopActions.d.ts +1 -1
  484. package/dist/mocked_classnames/components/Modal/ModalTopActions/ModalTopActions.types.d.ts +4 -4
  485. package/dist/mocked_classnames/components/Modal/context/ModalContext.d.ts +1 -1
  486. package/dist/mocked_classnames/components/Modal/context/ModalContext.types.d.ts +1 -1
  487. package/dist/mocked_classnames/components/Modal/footers/ModalFooter/ModalFooter.d.ts +1 -1
  488. package/dist/mocked_classnames/components/Modal/footers/ModalFooter/ModalFooter.types.d.ts +2 -2
  489. package/dist/mocked_classnames/components/Modal/footers/ModalFooterBase/ModalFooterBase.d.ts +1 -1
  490. package/dist/mocked_classnames/components/Modal/footers/ModalFooterBase/ModalFooterBase.types.d.ts +4 -4
  491. package/dist/mocked_classnames/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.d.ts +1 -1
  492. package/dist/mocked_classnames/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.types.d.ts +2 -2
  493. package/dist/mocked_classnames/components/Modal/footers/utils/getPropsForButton.d.ts +1 -1
  494. package/dist/mocked_classnames/components/Modal/hooks/usePortalTarget/usePortalTarget.d.ts +1 -1
  495. package/dist/mocked_classnames/components/Modal/hooks/usePortalTarget/usePortalTarget.types.d.ts +1 -1
  496. package/dist/mocked_classnames/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.d.ts +1 -1
  497. package/dist/mocked_classnames/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.types.d.ts +2 -2
  498. package/dist/mocked_classnames/components/Modal/layouts/ModalFooterShadow.d.ts +1 -1
  499. package/dist/mocked_classnames/components/Modal/layouts/ModalLayoutScrollableContent.d.ts +1 -1
  500. package/dist/mocked_classnames/components/Modal/layouts/ModalLayoutScrollableContent.types.d.ts +1 -1
  501. package/dist/mocked_classnames/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.d.ts +1 -1
  502. package/dist/mocked_classnames/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.types.d.ts +2 -2
  503. package/dist/mocked_classnames/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.d.ts +1 -1
  504. package/dist/mocked_classnames/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.types.d.ts +2 -2
  505. package/dist/mocked_classnames/components/Modal/layouts/useLayoutScrolledContent.d.ts +1 -1
  506. package/dist/mocked_classnames/components/Modal/utils/animationVariants.d.ts +1 -1
  507. package/dist/mocked_classnames/components/MultiStepIndicator/MultiStepIndicator.d.ts +2 -2
  508. package/dist/mocked_classnames/components/MultiStepIndicator/components/StepIndicator/StepIndicator.d.ts +2 -2
  509. package/dist/mocked_classnames/components/NumberField/NumberField.d.ts +1 -1
  510. package/dist/mocked_classnames/components/NumberField/NumberField.types.d.ts +3 -3
  511. package/dist/mocked_classnames/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.d.ts +1 -1
  512. package/dist/mocked_classnames/components/NumberField/hooks/useNumberFieldState.d.ts +1 -1
  513. package/dist/mocked_classnames/components/NumberField/hooks/useSpinButtonHandlers.d.ts +1 -1
  514. package/dist/mocked_classnames/components/NumberField/utils/calcValue.d.ts +1 -1
  515. package/dist/mocked_classnames/components/ProgressBars/LinearProgressBar/Bar/Bar.d.ts +3 -3
  516. package/dist/mocked_classnames/components/ProgressBars/LinearProgressBar/LinearProgressBar.d.ts +2 -2
  517. package/dist/mocked_classnames/components/ProgressBars/LinearProgressBar/LinearProgressBar.types.d.ts +1 -1
  518. package/dist/mocked_classnames/components/ProgressBars/LinearProgressBar/LinearProgressBarHelpers.d.ts +1 -1
  519. package/dist/mocked_classnames/components/ProgressBars/PercentageLabel/PercentageLabel.d.ts +1 -1
  520. package/dist/mocked_classnames/components/RadioButton/RadioButton.d.ts +1 -1
  521. package/dist/mocked_classnames/components/Refable/Refable.d.ts +2 -2
  522. package/dist/mocked_classnames/components/Search/Search.d.ts +1 -1
  523. package/dist/mocked_classnames/components/Search/Search.types.d.ts +5 -5
  524. package/dist/mocked_classnames/components/Skeleton/Skeleton.d.ts +2 -2
  525. package/dist/mocked_classnames/components/SlideTransition/SlideTransition.d.ts +1 -1
  526. package/dist/mocked_classnames/components/SlideTransition/SlideTransition.types.d.ts +2 -2
  527. package/dist/mocked_classnames/components/SlideTransition/utils/animationVariants.d.ts +1 -1
  528. package/dist/mocked_classnames/components/Slider/SelectionIndicator.d.ts +2 -2
  529. package/dist/mocked_classnames/components/Slider/Slider.d.ts +3 -3
  530. package/dist/mocked_classnames/components/Slider/Slider.types.d.ts +3 -3
  531. package/dist/mocked_classnames/components/Slider/SliderBase/SliderBase.d.ts +2 -2
  532. package/dist/mocked_classnames/components/Slider/SliderBase/SliderFilledTrack.d.ts +3 -3
  533. package/dist/mocked_classnames/components/Slider/SliderBase/SliderRail.d.ts +4 -4
  534. package/dist/mocked_classnames/components/Slider/SliderBase/SliderThumb.d.ts +3 -3
  535. package/dist/mocked_classnames/components/Slider/SliderBase/SliderTrack.d.ts +3 -3
  536. package/dist/mocked_classnames/components/Slider/SliderConstants.d.ts +3 -3
  537. package/dist/mocked_classnames/components/Slider/SliderContext.d.ts +4 -4
  538. package/dist/mocked_classnames/components/Slider/SliderInfix.d.ts +2 -2
  539. package/dist/mocked_classnames/components/Slider/SliderInfixHooks.d.ts +2 -2
  540. package/dist/mocked_classnames/components/SplitButton/SplitButton.d.ts +4 -4
  541. package/dist/mocked_classnames/components/SplitButton/SplitButtonMenu/SplitButtonMenu.d.ts +1 -1
  542. package/dist/mocked_classnames/components/Steps/Steps.d.ts +4 -4
  543. package/dist/mocked_classnames/components/Steps/StepsCommand.d.ts +4 -4
  544. package/dist/mocked_classnames/components/Steps/StepsDot.d.ts +3 -3
  545. package/dist/mocked_classnames/components/Steps/StepsGalleryHeader.d.ts +3 -3
  546. package/dist/mocked_classnames/components/Steps/StepsHeader.d.ts +4 -4
  547. package/dist/mocked_classnames/components/Steps/StepsNumbersHeader.d.ts +3 -3
  548. package/dist/mocked_classnames/components/Switch/Switch.d.ts +3 -3
  549. package/dist/mocked_classnames/components/Table/Table/Table.d.ts +5 -5
  550. package/dist/mocked_classnames/components/Table/Table/tableHelpers.d.ts +4 -3
  551. package/dist/mocked_classnames/components/Table/TableBody/TableBody.d.ts +4 -4
  552. package/dist/mocked_classnames/components/Table/TableCell/TableCell.d.ts +1 -1
  553. package/dist/mocked_classnames/components/Table/TableCellSkeleton/TableCellSkeleton.d.ts +2 -2
  554. package/dist/mocked_classnames/components/Table/TableContainer/TableContainer.d.ts +1 -1
  555. package/dist/mocked_classnames/components/Table/TableContainer/TableContainer.types.d.ts +2 -2
  556. package/dist/mocked_classnames/components/Table/TableHeader/TableHeader.d.ts +2 -2
  557. package/dist/mocked_classnames/components/Table/TableHeaderCell/TableHeaderCell.d.ts +1 -1
  558. package/dist/mocked_classnames/components/Table/TableRow/TableRow.d.ts +2 -2
  559. package/dist/mocked_classnames/components/Table/TableRowMenu/TableRowMenu.d.ts +1 -1
  560. package/dist/mocked_classnames/components/Table/TableRowMenu/TableRowMenu.types.d.ts +2 -2
  561. package/dist/mocked_classnames/components/Table/TableVirtualizedBody/TableVirtualizedBody.d.ts +3 -3
  562. package/dist/mocked_classnames/components/Table/context/TableContainerContext/TableContainerContext.d.ts +1 -1
  563. package/dist/mocked_classnames/components/Table/context/TableContainerContext/TableContainerContext.types.d.ts +1 -1
  564. package/dist/mocked_classnames/components/Table/context/TableContext/TableContext.d.ts +1 -1
  565. package/dist/mocked_classnames/components/Table/context/TableContext/TableContext.types.d.ts +3 -2
  566. package/dist/mocked_classnames/components/Table/context/TableRowMenuContext/TableRowMenuContext.d.ts +1 -1
  567. package/dist/mocked_classnames/components/Table/context/TableRowMenuContext/TableRowMenuContext.types.d.ts +1 -1
  568. package/dist/mocked_classnames/components/Tabs/Tab/Tab.d.ts +5 -5
  569. package/dist/mocked_classnames/components/Tabs/TabList/TabList.d.ts +3 -3
  570. package/dist/mocked_classnames/components/Tabs/TabPanel/TabPanel.d.ts +2 -2
  571. package/dist/mocked_classnames/components/Tabs/TabPanels/TabPanels.d.ts +4 -4
  572. package/dist/mocked_classnames/components/Tabs/TabsContext/TabsContext.d.ts +2 -2
  573. package/dist/mocked_classnames/components/Text/Text.d.ts +3 -3
  574. package/dist/mocked_classnames/components/TextArea/TextArea.d.ts +1 -1
  575. package/dist/mocked_classnames/components/TextArea/TextArea.types.d.ts +2 -2
  576. package/dist/mocked_classnames/components/TextField/TextField.d.ts +2 -2
  577. package/dist/mocked_classnames/components/TextWithHighlight/TextWithHighlight.d.ts +3 -3
  578. package/dist/mocked_classnames/components/ThemeProvider/ThemeProvider.d.ts +3 -3
  579. package/dist/mocked_classnames/components/ThemeProvider/ThemeProviderUtils.d.ts +2 -2
  580. package/dist/mocked_classnames/components/Tipseen/Tipseen.d.ts +7 -7
  581. package/dist/mocked_classnames/components/Tipseen/TipseenBasicContent.d.ts +2 -2
  582. package/dist/mocked_classnames/components/Tipseen/TipseenContent.d.ts +4 -4
  583. package/dist/mocked_classnames/components/Tipseen/TipseenMedia/TipseenMedia.d.ts +2 -2
  584. package/dist/mocked_classnames/components/Tipseen/TipseenTitle.d.ts +2 -2
  585. package/dist/mocked_classnames/components/Tipseen/TipseenWizard.d.ts +2 -2
  586. package/dist/mocked_classnames/components/Toast/Toast.d.ts +4 -4
  587. package/dist/mocked_classnames/components/Toast/ToastButton/ToastButton.d.ts +2 -2
  588. package/dist/mocked_classnames/components/Toast/ToastHelpers.d.ts +2 -2
  589. package/dist/mocked_classnames/components/Toast/ToastLink/ToastLink.d.ts +2 -2
  590. package/dist/mocked_classnames/components/Toggle/MockToggle.d.ts +3 -3
  591. package/dist/mocked_classnames/components/Toggle/Toggle.d.ts +3 -3
  592. package/dist/mocked_classnames/components/Toggle/ToggleText.d.ts +2 -2
  593. package/dist/mocked_classnames/components/Tooltip/Tooltip.d.ts +8 -8
  594. package/dist/mocked_classnames/components/TransitionView/TransitionView.d.ts +1 -1
  595. package/dist/mocked_classnames/components/TransitionView/TransitionView.types.d.ts +3 -3
  596. package/dist/mocked_classnames/components/Typography/Typography.d.ts +5 -5
  597. package/dist/mocked_classnames/components/Typography/TypographyHooks.d.ts +3 -3
  598. package/dist/mocked_classnames/components/VirtualizedGrid/VirtualizedGrid.d.ts +4 -4
  599. package/dist/mocked_classnames/components/VirtualizedList/VirtualizedList.d.ts +3 -3
  600. package/dist/mocked_classnames/hooks/useActiveDescendantListFocus/index.d.ts +2 -1
  601. package/dist/mocked_classnames/hooks/useActiveDescendantListFocus/useActiveDescendantListFocusHooks.d.ts +4 -3
  602. package/dist/mocked_classnames/hooks/useAfterFirstRender/index.d.ts +1 -1
  603. package/dist/mocked_classnames/hooks/useClickOutside/index.d.ts +2 -2
  604. package/dist/mocked_classnames/hooks/useClickableProps/useClickableProps.d.ts +2 -2
  605. package/dist/mocked_classnames/hooks/useDebounceEvent/index.d.ts +1 -1
  606. package/dist/mocked_classnames/hooks/useElementsOverflowingIndex.d.ts +1 -1
  607. package/dist/mocked_classnames/hooks/useEventListener/index.d.ts +2 -2
  608. package/dist/mocked_classnames/hooks/useFocusWithin.d.ts +1 -1
  609. package/dist/mocked_classnames/hooks/useFullKeyboardListeners.d.ts +2 -2
  610. package/dist/mocked_classnames/hooks/useGridKeyboardNavigation/useGridKeyboardNavigation.d.ts +1 -1
  611. package/dist/mocked_classnames/hooks/useHover/useHover.d.ts +1 -1
  612. package/dist/mocked_classnames/hooks/useIsMouseEnter.d.ts +1 -1
  613. package/dist/mocked_classnames/hooks/useIsMouseOver.d.ts +1 -1
  614. package/dist/mocked_classnames/hooks/useIsOverflowing/useIsOverflowing.d.ts +1 -1
  615. package/dist/mocked_classnames/hooks/useItemsOverflow/useItemsOverflow.d.ts +1 -1
  616. package/dist/mocked_classnames/hooks/useKeyEvent/index.d.ts +2 -2
  617. package/dist/mocked_classnames/hooks/useKeyboard.d.ts +1 -1
  618. package/dist/mocked_classnames/hooks/useKeyboardButtonPressedFunc.d.ts +1 -1
  619. package/dist/mocked_classnames/hooks/useListenFocusTriggers/index.d.ts +1 -1
  620. package/dist/mocked_classnames/hooks/useMergeRef.d.ts +1 -1
  621. package/dist/mocked_classnames/hooks/useMergeRefs.d.ts +1 -1
  622. package/dist/mocked_classnames/hooks/useRefWithCallback.d.ts +1 -1
  623. package/dist/mocked_classnames/hooks/useResizeObserver.d.ts +1 -1
  624. package/dist/mocked_classnames/hooks/useSetFocus/index.d.ts +1 -1
  625. package/dist/mocked_classnames/hooks/useStyle.d.ts +1 -1
  626. package/dist/mocked_classnames/hooks/useSwitch/index.d.ts +1 -1
  627. package/dist/mocked_classnames/hooks/useWizard/useWizard.d.ts +1 -1
  628. package/dist/mocked_classnames/src/components/Accordion/Accordion/Accordion.js.map +1 -1
  629. package/dist/mocked_classnames/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
  630. package/dist/mocked_classnames/src/components/Accordion/AccordionItem/AccordionItem.js.map +1 -1
  631. package/dist/mocked_classnames/src/components/AlertBanner/AlertBanner.js.map +1 -1
  632. package/dist/mocked_classnames/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
  633. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.js.map +1 -1
  634. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
  635. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerContext.js.map +1 -1
  636. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.js.map +1 -1
  637. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
  638. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerText/AlertBannerText.js.map +1 -1
  639. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
  640. package/dist/mocked_classnames/src/components/AttentionBox/AttentionBox.js.map +1 -1
  641. package/dist/mocked_classnames/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
  642. package/dist/mocked_classnames/src/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.js.map +1 -1
  643. package/dist/mocked_classnames/src/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
  644. package/dist/mocked_classnames/src/components/Avatar/Avatar.js.map +1 -1
  645. package/dist/mocked_classnames/src/components/Avatar/Avatar.module.scss.js +1 -1
  646. package/dist/mocked_classnames/src/components/Avatar/AvatarBadge.js.map +1 -1
  647. package/dist/mocked_classnames/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
  648. package/dist/mocked_classnames/src/components/Avatar/AvatarContent.js.map +1 -1
  649. package/dist/mocked_classnames/src/components/Avatar/AvatarContent.module.scss.js +1 -1
  650. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroup.js.map +1 -1
  651. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
  652. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounter.js.map +1 -1
  653. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
  654. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContainer.js.map +1 -1
  655. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.js.map +1 -1
  656. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
  657. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.js.map +1 -1
  658. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
  659. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipHelper.js.map +1 -1
  660. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupHelper.js.map +1 -1
  661. package/dist/mocked_classnames/src/components/Badge/Badge.js.map +1 -1
  662. package/dist/mocked_classnames/src/components/Badge/Badge.module.scss.js +1 -1
  663. package/dist/mocked_classnames/src/components/Badge/Indicator/Indicator.js.map +1 -1
  664. package/dist/mocked_classnames/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
  665. package/dist/mocked_classnames/src/components/BaseInput/BaseInput.js.map +1 -1
  666. package/dist/mocked_classnames/src/components/BaseInput/BaseInput.module.scss.js +1 -1
  667. package/dist/mocked_classnames/src/components/BaseList/BaseList.js.map +1 -1
  668. package/dist/mocked_classnames/src/components/BaseList/BaseList.module.scss.js +1 -1
  669. package/dist/mocked_classnames/src/components/BaseListItem/BaseListItem.js.map +1 -1
  670. package/dist/mocked_classnames/src/components/BaseListItem/BaseListItem.module.scss.js +1 -1
  671. package/dist/mocked_classnames/src/components/BaseListItem/utils.js.map +1 -1
  672. package/dist/mocked_classnames/src/components/Box/Box.js.map +1 -1
  673. package/dist/mocked_classnames/src/components/Box/Box.module.scss.js +1 -1
  674. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.js.map +1 -1
  675. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
  676. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.js.map +1 -1
  677. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
  678. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbMenu.js.map +1 -1
  679. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbMenuItem/BreadcrumbMenuItem.js.map +1 -1
  680. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbsMenu.module.scss.js +1 -1
  681. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbsBar.js.map +1 -1
  682. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
  683. package/dist/mocked_classnames/src/components/Button/Button.js.map +1 -1
  684. package/dist/mocked_classnames/src/components/Button/Button.module.scss.js +1 -1
  685. package/dist/mocked_classnames/src/components/Button/ButtonConstants.js.map +1 -1
  686. package/dist/mocked_classnames/src/components/ButtonGroup/ButtonGroup.js.map +1 -1
  687. package/dist/mocked_classnames/src/components/ButtonGroup/ButtonGroup.module.scss.js +1 -1
  688. package/dist/mocked_classnames/src/components/ButtonGroup/ButtonWrapper.js.map +1 -1
  689. package/dist/mocked_classnames/src/components/Checkbox/Checkbox.js +1 -1
  690. package/dist/mocked_classnames/src/components/Checkbox/Checkbox.js.map +1 -1
  691. package/dist/mocked_classnames/src/components/Checkbox/Checkbox.module.scss.js +1 -1
  692. package/dist/mocked_classnames/src/components/Chips/Chips.js.map +1 -1
  693. package/dist/mocked_classnames/src/components/Chips/Chips.module.scss.js +1 -1
  694. package/dist/mocked_classnames/src/components/Clickable/Clickable.js.map +1 -1
  695. package/dist/mocked_classnames/src/components/Clickable/Clickable.module.scss.js +1 -1
  696. package/dist/mocked_classnames/src/components/Clickable/ClickableWrapper.js.map +1 -1
  697. package/dist/mocked_classnames/src/components/ColorPicker/ColorPicker.js.map +1 -1
  698. package/dist/mocked_classnames/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
  699. package/dist/mocked_classnames/src/components/ColorPicker/ColorPickerConstants.js.map +1 -1
  700. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.js.map +1 -1
  701. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
  702. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.js.map +1 -1
  703. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
  704. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.js.map +1 -1
  705. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.js.map +1 -1
  706. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
  707. package/dist/mocked_classnames/src/components/ColorPicker/services/ColorPickerStyleService.js.map +1 -1
  708. package/dist/mocked_classnames/src/components/Combobox/Combobox.js.map +1 -1
  709. package/dist/mocked_classnames/src/components/Combobox/Combobox.module.scss.js +1 -1
  710. package/dist/mocked_classnames/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.js.map +1 -1
  711. package/dist/mocked_classnames/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
  712. package/dist/mocked_classnames/src/components/Combobox/ComboboxService.js.map +1 -1
  713. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.js.map +1 -1
  714. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
  715. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxConstants.js.map +1 -1
  716. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxItems/ComboboxItems.js.map +1 -1
  717. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
  718. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxOption/ComboboxOption.js.map +1 -1
  719. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
  720. package/dist/mocked_classnames/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
  721. package/dist/mocked_classnames/src/components/Counter/Counter.js.map +1 -1
  722. package/dist/mocked_classnames/src/components/Counter/Counter.module.scss.js +1 -1
  723. package/dist/mocked_classnames/src/components/DatePicker/DateNavigationItem/DateNavigationItem.module.scss.js +1 -1
  724. package/dist/mocked_classnames/src/components/DatePicker/DatePicker.js.map +1 -1
  725. package/dist/mocked_classnames/src/components/DatePicker/DatePicker.module.scss.js +1 -1
  726. package/dist/mocked_classnames/src/components/DatePicker/DatePickerHeader/DatePickerHeader.js.map +1 -1
  727. package/dist/mocked_classnames/src/components/DatePicker/DatePickerHeader/DatePickerHeader.module.scss.js +1 -1
  728. package/dist/mocked_classnames/src/components/DatePicker/YearPicker/YearPicker.js.map +1 -1
  729. package/dist/mocked_classnames/src/components/DatePicker/YearPicker/YearPicker.module.scss.js +1 -1
  730. package/dist/mocked_classnames/src/components/DatePicker/external_datepicker.scss.js +1 -1
  731. package/dist/mocked_classnames/src/components/DatePicker/types.js.map +1 -1
  732. package/dist/mocked_classnames/src/components/Dialog/Dialog.js.map +1 -1
  733. package/dist/mocked_classnames/src/components/Dialog/Dialog.module.scss.js +1 -1
  734. package/dist/mocked_classnames/src/components/Dialog/DialogContent/DialogContent.js.map +1 -1
  735. package/dist/mocked_classnames/src/components/Dialog/DialogContent/DialogContent.module.scss.js +1 -1
  736. package/dist/mocked_classnames/src/components/Dialog/modifiers/observeContentResizeModifier.js.map +1 -1
  737. package/dist/mocked_classnames/src/components/Dialog/modifiers/observeReferenceResizeModifier.js.map +1 -1
  738. package/dist/mocked_classnames/src/components/DialogContentContainer/DialogContentContainer.js +1 -1
  739. package/dist/mocked_classnames/src/components/DialogContentContainer/DialogContentContainer.js.map +1 -1
  740. package/dist/mocked_classnames/src/components/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
  741. package/dist/mocked_classnames/src/components/Divider/Divider.js.map +1 -1
  742. package/dist/mocked_classnames/src/components/Divider/Divider.module.scss.js +1 -1
  743. package/dist/mocked_classnames/src/components/Dropdown/Dropdown.js.map +1 -1
  744. package/dist/mocked_classnames/src/components/Dropdown/Dropdown.module.scss.js +1 -1
  745. package/dist/mocked_classnames/src/components/Dropdown/components/ChildrenContent/ChildrenContent.module.scss.js +1 -1
  746. package/dist/mocked_classnames/src/components/Dropdown/components/MultiValueContainer/MultiValueContainer.module.scss.js +1 -1
  747. package/dist/mocked_classnames/src/components/Dropdown/components/menu/menu.module.scss.js +1 -1
  748. package/dist/mocked_classnames/src/components/Dropdown/components/option/option.module.scss.js +1 -1
  749. package/dist/mocked_classnames/src/components/Dropdown/components/singleValue/singleValue.module.scss.js +1 -1
  750. package/dist/mocked_classnames/src/components/DropdownNew/Dropdown.js.map +1 -1
  751. package/dist/mocked_classnames/src/components/DropdownNew/components/DropdownBase/DropdownBase.js.map +1 -1
  752. package/dist/mocked_classnames/src/components/DropdownNew/components/DropdownBase/DropdownBase.module.scss.js +1 -1
  753. package/dist/mocked_classnames/src/components/DropdownNew/components/DropdownWrapperUI.js.map +1 -1
  754. package/dist/mocked_classnames/src/components/DropdownNew/components/Menu/Menu.js.map +1 -1
  755. package/dist/mocked_classnames/src/components/DropdownNew/components/Menu/Menu.module.scss.js +1 -1
  756. package/dist/mocked_classnames/src/components/DropdownNew/components/MultiSelectedValues/MultiSelectedValues.js.map +1 -1
  757. package/dist/mocked_classnames/src/components/DropdownNew/components/MultiSelectedValues/MultiSelectedValues.module.scss.js +1 -1
  758. package/dist/mocked_classnames/src/components/DropdownNew/components/Trigger/DropdownChip.js.map +1 -1
  759. package/dist/mocked_classnames/src/components/DropdownNew/components/Trigger/DropdownInput.js.map +1 -1
  760. package/dist/mocked_classnames/src/components/DropdownNew/components/Trigger/MultiSelectTrigger.js.map +1 -1
  761. package/dist/mocked_classnames/src/components/DropdownNew/components/Trigger/SingleSelectTrigger.js.map +1 -1
  762. package/dist/mocked_classnames/src/components/DropdownNew/components/Trigger/Trigger.module.scss.js +1 -1
  763. package/dist/mocked_classnames/src/components/DropdownNew/components/Trigger/TriggerActions.js.map +1 -1
  764. package/dist/mocked_classnames/src/components/DropdownNew/context/DropdownContext.js.map +1 -1
  765. package/dist/mocked_classnames/src/components/DropdownNew/hooks/useDropdownCombobox.js.map +1 -1
  766. package/dist/mocked_classnames/src/components/DropdownNew/hooks/useDropdownFiltering.js.map +1 -1
  767. package/dist/mocked_classnames/src/components/DropdownNew/hooks/useDropdownMultiCombobox.js.map +1 -1
  768. package/dist/mocked_classnames/src/components/DropdownNew/hooks/useDropdownMultiSelect.js.map +1 -1
  769. package/dist/mocked_classnames/src/components/DropdownNew/hooks/useDropdownSelect.js.map +1 -1
  770. package/dist/mocked_classnames/src/components/DropdownNew/modes/DropdownComboboxController.js.map +1 -1
  771. package/dist/mocked_classnames/src/components/DropdownNew/modes/DropdownMultiComboboxController.js.map +1 -1
  772. package/dist/mocked_classnames/src/components/DropdownNew/modes/DropdownMultiSelectController.js.map +1 -1
  773. package/dist/mocked_classnames/src/components/DropdownNew/modes/DropdownSelectController.js.map +1 -1
  774. package/dist/mocked_classnames/src/components/DropdownNew/utils/dropdown-modifiers.js.map +1 -1
  775. package/dist/mocked_classnames/src/components/DropdownNew/utils/dropdownUtils.js.map +1 -1
  776. package/dist/mocked_classnames/src/components/EditableHeading/EditableHeading.js.map +1 -1
  777. package/dist/mocked_classnames/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
  778. package/dist/mocked_classnames/src/components/EditableText/EditableText.js.map +1 -1
  779. package/dist/mocked_classnames/src/components/EditableText/EditableText.module.scss.js +1 -1
  780. package/dist/mocked_classnames/src/components/EditableTypography/EditableTypography.js.map +1 -1
  781. package/dist/mocked_classnames/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
  782. package/dist/mocked_classnames/src/components/EmptyState/EmptyState.js.map +1 -1
  783. package/dist/mocked_classnames/src/components/EmptyState/EmptyState.module.scss.js +1 -1
  784. package/dist/mocked_classnames/src/components/ExpandCollapse/ExpandCollapse.js.map +1 -1
  785. package/dist/mocked_classnames/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
  786. package/dist/mocked_classnames/src/components/FieldLabel/FieldLabel.js.map +1 -1
  787. package/dist/mocked_classnames/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
  788. package/dist/mocked_classnames/src/components/Flex/Flex.js.map +1 -1
  789. package/dist/mocked_classnames/src/components/Flex/Flex.module.scss.js +1 -1
  790. package/dist/mocked_classnames/src/components/FormattedNumber/FormattedNumber.js.map +1 -1
  791. package/dist/mocked_classnames/src/components/FormattedNumber/FormattedNumber.module.scss.js +1 -1
  792. package/dist/mocked_classnames/src/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.js.map +1 -1
  793. package/dist/mocked_classnames/src/components/GridKeyboardNavigationContext/helper.js.map +1 -1
  794. package/dist/mocked_classnames/src/components/Heading/Heading.js.map +1 -1
  795. package/dist/mocked_classnames/src/components/Heading/Heading.module.scss.js +1 -1
  796. package/dist/mocked_classnames/src/components/HiddenText/HiddenText.js.map +1 -1
  797. package/dist/mocked_classnames/src/components/HiddenText/HiddenText.module.scss.js +1 -1
  798. package/dist/mocked_classnames/src/components/Icon/CustomSvgIcon/CustomSvgIcon.js.map +1 -1
  799. package/dist/mocked_classnames/src/components/Icon/FontIcon/FontIcon.js.map +1 -1
  800. package/dist/mocked_classnames/src/components/Icon/Icon.js.map +1 -1
  801. package/dist/mocked_classnames/src/components/Icon/Icon.module.scss.js +1 -1
  802. package/dist/mocked_classnames/src/components/Icon/hooks/useIconProps.js.map +1 -1
  803. package/dist/mocked_classnames/src/components/IconButton/IconButton.js.map +1 -1
  804. package/dist/mocked_classnames/src/components/IconButton/IconButton.module.scss.js +1 -1
  805. package/dist/mocked_classnames/src/components/InfoText/InfoText.js.map +1 -1
  806. package/dist/mocked_classnames/src/components/InfoText/InfoText.module.scss.js +1 -1
  807. package/dist/mocked_classnames/src/components/Label/Label.js.map +1 -1
  808. package/dist/mocked_classnames/src/components/Label/Label.module.scss.js +1 -1
  809. package/dist/mocked_classnames/src/components/Label/LabelCelebrationAnimation.module.scss.js +1 -1
  810. package/dist/mocked_classnames/src/components/Label/LabelConstants.js.map +1 -1
  811. package/dist/mocked_classnames/src/components/LayerProvider/LayerProvider.js.map +1 -1
  812. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModal.js.map +1 -1
  813. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModal.module.scss.js +1 -1
  814. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalContent/LegacyModalContent.js.map +1 -1
  815. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalContent/LegacyModalContent.module.scss.js +1 -1
  816. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.js.map +1 -1
  817. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.module.scss.js +1 -1
  818. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooterButtons/LegacyModalFooterButtons.js.map +1 -1
  819. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.js.map +1 -1
  820. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.module.scss.js +1 -1
  821. package/dist/mocked_classnames/src/components/LegacyModal/ModalHelper.js.map +1 -1
  822. package/dist/mocked_classnames/src/components/LegacyModal/a11yDialog.js.map +1 -1
  823. package/dist/mocked_classnames/src/components/LegacyModal/useAnimationProps.js.map +1 -1
  824. package/dist/mocked_classnames/src/components/LegacyModal/useBodyScrollLock.js.map +1 -1
  825. package/dist/mocked_classnames/src/components/LegacyModal/useShowHideModal.js.map +1 -1
  826. package/dist/mocked_classnames/src/components/Link/Link.js.map +1 -1
  827. package/dist/mocked_classnames/src/components/Link/Link.module.scss.js +1 -1
  828. package/dist/mocked_classnames/src/components/List/List.js.map +1 -1
  829. package/dist/mocked_classnames/src/components/List/List.module.scss.js +1 -1
  830. package/dist/mocked_classnames/src/components/List/VirtualizedListItems/VirtualizedListItems.js.map +1 -1
  831. package/dist/mocked_classnames/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
  832. package/dist/mocked_classnames/src/components/List/utils/ListUtils.js.map +1 -1
  833. package/dist/mocked_classnames/src/components/ListItem/ListItem.js.map +1 -1
  834. package/dist/mocked_classnames/src/components/ListItem/ListItem.module.scss.js +1 -1
  835. package/dist/mocked_classnames/src/components/ListItemAvatar/ListItemAvatar.js.map +1 -1
  836. package/dist/mocked_classnames/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
  837. package/dist/mocked_classnames/src/components/ListItemIcon/ListItemIcon.js.map +1 -1
  838. package/dist/mocked_classnames/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
  839. package/dist/mocked_classnames/src/components/ListTitle/ListTitle.js.map +1 -1
  840. package/dist/mocked_classnames/src/components/ListTitle/ListTitle.module.scss.js +1 -1
  841. package/dist/mocked_classnames/src/components/Loader/Loader.js.map +1 -1
  842. package/dist/mocked_classnames/src/components/Loader/Loader.module.scss.js +1 -1
  843. package/dist/mocked_classnames/src/components/Menu/Menu/Menu.js.map +1 -1
  844. package/dist/mocked_classnames/src/components/Menu/Menu/Menu.module.scss.js +1 -1
  845. package/dist/mocked_classnames/src/components/Menu/Menu/hooks/useAdjacentSelectableMenuIndex.js.map +1 -1
  846. package/dist/mocked_classnames/src/components/Menu/Menu/hooks/useCloseMenuOnKeyEvent.js.map +1 -1
  847. package/dist/mocked_classnames/src/components/Menu/Menu/hooks/useFocusOnMount.js.map +1 -1
  848. package/dist/mocked_classnames/src/components/Menu/Menu/hooks/useMenuKeyboardNavigation.js.map +1 -1
  849. package/dist/mocked_classnames/src/components/Menu/Menu/hooks/useMouseLeave.js.map +1 -1
  850. package/dist/mocked_classnames/src/components/Menu/Menu/hooks/useOnCloseMenu.js.map +1 -1
  851. package/dist/mocked_classnames/src/components/Menu/Menu/utils/utils.js.map +1 -1
  852. package/dist/mocked_classnames/src/components/Menu/MenuDivider/MenuDivider.js.map +1 -1
  853. package/dist/mocked_classnames/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
  854. package/dist/mocked_classnames/src/components/Menu/MenuGridItem/MenuGridItem.js.map +1 -1
  855. package/dist/mocked_classnames/src/components/Menu/MenuGridItem/useFocusGridItemByActiveStatus.js.map +1 -1
  856. package/dist/mocked_classnames/src/components/Menu/MenuGridItem/useMenuGridItemNavContext.js.map +1 -1
  857. package/dist/mocked_classnames/src/components/Menu/MenuItem/AvatarMenuItem.js.map +1 -1
  858. package/dist/mocked_classnames/src/components/Menu/MenuItem/MenuItem.js.map +1 -1
  859. package/dist/mocked_classnames/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
  860. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.js.map +1 -1
  861. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
  862. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.js.map +1 -1
  863. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
  864. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.js.map +1 -1
  865. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.js.map +1 -1
  866. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
  867. package/dist/mocked_classnames/src/components/Menu/MenuItem/hooks/useMenuItemKeyboardEvents.js.map +1 -1
  868. package/dist/mocked_classnames/src/components/Menu/MenuItem/hooks/useMenuItemMouseEvents.js.map +1 -1
  869. package/dist/mocked_classnames/src/components/Menu/MenuItemButton/MenuItemButton.js.map +1 -1
  870. package/dist/mocked_classnames/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
  871. package/dist/mocked_classnames/src/components/Menu/MenuTitle/MenuTitle.js.map +1 -1
  872. package/dist/mocked_classnames/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
  873. package/dist/mocked_classnames/src/components/MenuButton/MenuButton.js +1 -1
  874. package/dist/mocked_classnames/src/components/MenuButton/MenuButton.js.map +1 -1
  875. package/dist/mocked_classnames/src/components/MenuButton/MenuButton.module.scss.js +1 -1
  876. package/dist/mocked_classnames/src/components/Modal/Modal/Modal.js.map +1 -1
  877. package/dist/mocked_classnames/src/components/Modal/Modal/Modal.module.scss.js +1 -1
  878. package/dist/mocked_classnames/src/components/Modal/ModalContent/ModalContent.js.map +1 -1
  879. package/dist/mocked_classnames/src/components/Modal/ModalHeader/ModalHeader.js.map +1 -1
  880. package/dist/mocked_classnames/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
  881. package/dist/mocked_classnames/src/components/Modal/ModalMedia/ModalMedia.js.map +1 -1
  882. package/dist/mocked_classnames/src/components/Modal/ModalMedia/ModalMedia.module.scss.js +1 -1
  883. package/dist/mocked_classnames/src/components/Modal/ModalTopActions/ModalTopActions.js.map +1 -1
  884. package/dist/mocked_classnames/src/components/Modal/ModalTopActions/ModalTopActions.module.scss.js +1 -1
  885. package/dist/mocked_classnames/src/components/Modal/context/ModalContext.js.map +1 -1
  886. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooter/ModalFooter.js.map +1 -1
  887. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooter/ModalFooter.module.scss.js +1 -1
  888. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.js.map +1 -1
  889. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.module.scss.js +1 -1
  890. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.js.map +1 -1
  891. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.module.scss.js +1 -1
  892. package/dist/mocked_classnames/src/components/Modal/footers/utils/getPropsForButton.js.map +1 -1
  893. package/dist/mocked_classnames/src/components/Modal/hooks/usePortalTarget/usePortalTarget.js.map +1 -1
  894. package/dist/mocked_classnames/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.js.map +1 -1
  895. package/dist/mocked_classnames/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.module.scss.js +1 -1
  896. package/dist/mocked_classnames/src/components/Modal/layouts/ModalFooterShadow.js.map +1 -1
  897. package/dist/mocked_classnames/src/components/Modal/layouts/ModalFooterShadow.module.scss.js +1 -1
  898. package/dist/mocked_classnames/src/components/Modal/layouts/ModalLayoutScrollableContent.js.map +1 -1
  899. package/dist/mocked_classnames/src/components/Modal/layouts/ModalLayoutScrollableContent.module.scss.js +1 -1
  900. package/dist/mocked_classnames/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.js.map +1 -1
  901. package/dist/mocked_classnames/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.module.scss.js +1 -1
  902. package/dist/mocked_classnames/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.js.map +1 -1
  903. package/dist/mocked_classnames/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.module.scss.js +1 -1
  904. package/dist/mocked_classnames/src/components/Modal/layouts/useLayoutScrolledContent.js.map +1 -1
  905. package/dist/mocked_classnames/src/components/Modal/utils/animationVariants.js.map +1 -1
  906. package/dist/mocked_classnames/src/components/MultiStepIndicator/MultiStepIndicator.js.map +1 -1
  907. package/dist/mocked_classnames/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
  908. package/dist/mocked_classnames/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.js.map +1 -1
  909. package/dist/mocked_classnames/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
  910. package/dist/mocked_classnames/src/components/NumberField/NumberField.js.map +1 -1
  911. package/dist/mocked_classnames/src/components/NumberField/NumberField.module.scss.js +1 -1
  912. package/dist/mocked_classnames/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.js.map +1 -1
  913. package/dist/mocked_classnames/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js +1 -1
  914. package/dist/mocked_classnames/src/components/NumberField/hooks/useNumberFieldState.js.map +1 -1
  915. package/dist/mocked_classnames/src/components/NumberField/hooks/useSpinButtonHandlers.js.map +1 -1
  916. package/dist/mocked_classnames/src/components/NumberField/utils/calcValue.js.map +1 -1
  917. package/dist/mocked_classnames/src/components/ProgressBars/LinearProgressBar/Bar/Bar.js.map +1 -1
  918. package/dist/mocked_classnames/src/components/ProgressBars/LinearProgressBar/Bar/Bar.module.scss.js +1 -1
  919. package/dist/mocked_classnames/src/components/ProgressBars/LinearProgressBar/LinearProgressBar.js.map +1 -1
  920. package/dist/mocked_classnames/src/components/ProgressBars/LinearProgressBar/LinearProgressBar.module.scss.js +1 -1
  921. package/dist/mocked_classnames/src/components/ProgressBars/LinearProgressBar/LinearProgressBarHelpers.js.map +1 -1
  922. package/dist/mocked_classnames/src/components/ProgressBars/PercentageLabel/PercentageLabel.js.map +1 -1
  923. package/dist/mocked_classnames/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
  924. package/dist/mocked_classnames/src/components/RadioButton/RadioButton.js.map +1 -1
  925. package/dist/mocked_classnames/src/components/RadioButton/RadioButton.module.scss.js +1 -1
  926. package/dist/mocked_classnames/src/components/Refable/Refable.js.map +1 -1
  927. package/dist/mocked_classnames/src/components/Search/Search.js.map +1 -1
  928. package/dist/mocked_classnames/src/components/Search/Search.module.scss.js +1 -1
  929. package/dist/mocked_classnames/src/components/Skeleton/Skeleton.js.map +1 -1
  930. package/dist/mocked_classnames/src/components/Skeleton/Skeleton.module.scss.js +1 -1
  931. package/dist/mocked_classnames/src/components/SlideTransition/SlideTransition.js.map +1 -1
  932. package/dist/mocked_classnames/src/components/SlideTransition/SlideTransition.module.scss.js +1 -1
  933. package/dist/mocked_classnames/src/components/SlideTransition/utils/animationVariants.js.map +1 -1
  934. package/dist/mocked_classnames/src/components/Slider/SelectionIndicator.js.map +1 -1
  935. package/dist/mocked_classnames/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
  936. package/dist/mocked_classnames/src/components/Slider/Slider.js.map +1 -1
  937. package/dist/mocked_classnames/src/components/Slider/Slider.module.scss.js +1 -1
  938. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderBase.js.map +1 -1
  939. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
  940. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderFilledTrack.js.map +1 -1
  941. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
  942. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderRail.js.map +1 -1
  943. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
  944. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderThumb.js.map +1 -1
  945. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
  946. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderTrack.js.map +1 -1
  947. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
  948. package/dist/mocked_classnames/src/components/Slider/SliderConstants.js.map +1 -1
  949. package/dist/mocked_classnames/src/components/Slider/SliderContext.js.map +1 -1
  950. package/dist/mocked_classnames/src/components/Slider/SliderInfix.js.map +1 -1
  951. package/dist/mocked_classnames/src/components/Slider/SliderInfix.module.scss.js +1 -1
  952. package/dist/mocked_classnames/src/components/Slider/SliderInfixHooks.js.map +1 -1
  953. package/dist/mocked_classnames/src/components/SplitButton/SplitButton.js.map +1 -1
  954. package/dist/mocked_classnames/src/components/SplitButton/SplitButton.module.scss.js +1 -1
  955. package/dist/mocked_classnames/src/components/SplitButton/SplitButtonMenu/SplitButtonMenu.js.map +1 -1
  956. package/dist/mocked_classnames/src/components/Steps/Steps.js.map +1 -1
  957. package/dist/mocked_classnames/src/components/Steps/Steps.module.scss.js +1 -1
  958. package/dist/mocked_classnames/src/components/Steps/StepsCommand.js.map +1 -1
  959. package/dist/mocked_classnames/src/components/Steps/StepsCommand.module.scss.js +1 -1
  960. package/dist/mocked_classnames/src/components/Steps/StepsDot.js.map +1 -1
  961. package/dist/mocked_classnames/src/components/Steps/StepsDot.module.scss.js +1 -1
  962. package/dist/mocked_classnames/src/components/Steps/StepsGalleryHeader.js.map +1 -1
  963. package/dist/mocked_classnames/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
  964. package/dist/mocked_classnames/src/components/Steps/StepsHeader.js.map +1 -1
  965. package/dist/mocked_classnames/src/components/Steps/StepsHeader.module.scss.js +1 -1
  966. package/dist/mocked_classnames/src/components/Steps/StepsNumbersHeader.js.map +1 -1
  967. package/dist/mocked_classnames/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
  968. package/dist/mocked_classnames/src/components/Switch/Switch.js.map +1 -1
  969. package/dist/mocked_classnames/src/components/Switch/Switch.module.scss.js +1 -1
  970. package/dist/mocked_classnames/src/components/Table/Table/Table.js.map +1 -1
  971. package/dist/mocked_classnames/src/components/Table/Table/Table.module.scss.js +1 -1
  972. package/dist/mocked_classnames/src/components/Table/Table/tableHelpers.js.map +1 -1
  973. package/dist/mocked_classnames/src/components/Table/TableBody/TableBody.js.map +1 -1
  974. package/dist/mocked_classnames/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
  975. package/dist/mocked_classnames/src/components/Table/TableCell/TableCell.js.map +1 -1
  976. package/dist/mocked_classnames/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
  977. package/dist/mocked_classnames/src/components/Table/TableCellSkeleton/TableCellSkeleton.js.map +1 -1
  978. package/dist/mocked_classnames/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
  979. package/dist/mocked_classnames/src/components/Table/TableContainer/TableContainer.js.map +1 -1
  980. package/dist/mocked_classnames/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
  981. package/dist/mocked_classnames/src/components/Table/TableHeader/TableHeader.js.map +1 -1
  982. package/dist/mocked_classnames/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
  983. package/dist/mocked_classnames/src/components/Table/TableHeaderCell/TableHeaderCell.js.map +1 -1
  984. package/dist/mocked_classnames/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
  985. package/dist/mocked_classnames/src/components/Table/TableRow/TableRow.js.map +1 -1
  986. package/dist/mocked_classnames/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
  987. package/dist/mocked_classnames/src/components/Table/TableRowMenu/TableRowMenu.js.map +1 -1
  988. package/dist/mocked_classnames/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
  989. package/dist/mocked_classnames/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.js.map +1 -1
  990. package/dist/mocked_classnames/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
  991. package/dist/mocked_classnames/src/components/Table/context/TableContainerContext/TableContainerContext.js.map +1 -1
  992. package/dist/mocked_classnames/src/components/Table/context/TableContext/TableContext.js.map +1 -1
  993. package/dist/mocked_classnames/src/components/Table/context/TableRowMenuContext/TableRowMenuContext.js.map +1 -1
  994. package/dist/mocked_classnames/src/components/Tabs/Tab/Tab.js.map +1 -1
  995. package/dist/mocked_classnames/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
  996. package/dist/mocked_classnames/src/components/Tabs/TabList/TabList.js.map +1 -1
  997. package/dist/mocked_classnames/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
  998. package/dist/mocked_classnames/src/components/Tabs/TabPanel/TabPanel.js.map +1 -1
  999. package/dist/mocked_classnames/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
  1000. package/dist/mocked_classnames/src/components/Tabs/TabPanels/TabPanels.js.map +1 -1
  1001. package/dist/mocked_classnames/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
  1002. package/dist/mocked_classnames/src/components/Tabs/TabsContext/TabsContext.js.map +1 -1
  1003. package/dist/mocked_classnames/src/components/Text/Text.js.map +1 -1
  1004. package/dist/mocked_classnames/src/components/Text/Text.module.scss.js +1 -1
  1005. package/dist/mocked_classnames/src/components/TextArea/TextArea.js +1 -1
  1006. package/dist/mocked_classnames/src/components/TextArea/TextArea.js.map +1 -1
  1007. package/dist/mocked_classnames/src/components/TextArea/TextArea.module.scss.js +1 -1
  1008. package/dist/mocked_classnames/src/components/TextField/TextField.js +1 -1
  1009. package/dist/mocked_classnames/src/components/TextField/TextField.js.map +1 -1
  1010. package/dist/mocked_classnames/src/components/TextField/TextField.module.scss.js +1 -1
  1011. package/dist/mocked_classnames/src/components/TextWithHighlight/TextWithHighlight.js.map +1 -1
  1012. package/dist/mocked_classnames/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
  1013. package/dist/mocked_classnames/src/components/ThemeProvider/ThemeProvider.js.map +1 -1
  1014. package/dist/mocked_classnames/src/components/ThemeProvider/ThemeProviderUtils.js.map +1 -1
  1015. package/dist/mocked_classnames/src/components/Tipseen/Tipseen.js.map +1 -1
  1016. package/dist/mocked_classnames/src/components/Tipseen/Tipseen.module.scss.js +1 -1
  1017. package/dist/mocked_classnames/src/components/Tipseen/TipseenBasicContent.js.map +1 -1
  1018. package/dist/mocked_classnames/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
  1019. package/dist/mocked_classnames/src/components/Tipseen/TipseenContent.js.map +1 -1
  1020. package/dist/mocked_classnames/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
  1021. package/dist/mocked_classnames/src/components/Tipseen/TipseenImage.module.scss.js +1 -1
  1022. package/dist/mocked_classnames/src/components/Tipseen/TipseenMedia/TipseenMedia.js.map +1 -1
  1023. package/dist/mocked_classnames/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
  1024. package/dist/mocked_classnames/src/components/Tipseen/TipseenTitle.js.map +1 -1
  1025. package/dist/mocked_classnames/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
  1026. package/dist/mocked_classnames/src/components/Tipseen/TipseenWizard.js.map +1 -1
  1027. package/dist/mocked_classnames/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
  1028. package/dist/mocked_classnames/src/components/Toast/Toast.js.map +1 -1
  1029. package/dist/mocked_classnames/src/components/Toast/Toast.module.scss.js +1 -1
  1030. package/dist/mocked_classnames/src/components/Toast/ToastButton/ToastButton.js.map +1 -1
  1031. package/dist/mocked_classnames/src/components/Toast/ToastHelpers.js.map +1 -1
  1032. package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.js.map +1 -1
  1033. package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
  1034. package/dist/mocked_classnames/src/components/Toggle/MockToggle.js.map +1 -1
  1035. package/dist/mocked_classnames/src/components/Toggle/MockToggle.module.scss.js +1 -1
  1036. package/dist/mocked_classnames/src/components/Toggle/Toggle.js.map +1 -1
  1037. package/dist/mocked_classnames/src/components/Toggle/Toggle.module.scss.js +1 -1
  1038. package/dist/mocked_classnames/src/components/Toggle/ToggleText.js.map +1 -1
  1039. package/dist/mocked_classnames/src/components/Toggle/ToggleText.module.scss.js +1 -1
  1040. package/dist/mocked_classnames/src/components/Tooltip/Tooltip.js.map +1 -1
  1041. package/dist/mocked_classnames/src/components/Tooltip/Tooltip.module.scss.js +1 -1
  1042. package/dist/mocked_classnames/src/components/TransitionView/TransitionView.js.map +1 -1
  1043. package/dist/mocked_classnames/src/components/TransitionView/TransitionView.module.scss.js +1 -1
  1044. package/dist/mocked_classnames/src/components/Typography/Typography.js.map +1 -1
  1045. package/dist/mocked_classnames/src/components/Typography/Typography.module.scss.js +1 -1
  1046. package/dist/mocked_classnames/src/components/Typography/TypographyHooks.js.map +1 -1
  1047. package/dist/mocked_classnames/src/components/VirtualizedGrid/VirtualizedGrid.js.map +1 -1
  1048. package/dist/mocked_classnames/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
  1049. package/dist/mocked_classnames/src/components/VirtualizedList/VirtualizedList.js.map +1 -1
  1050. package/dist/mocked_classnames/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
  1051. package/dist/mocked_classnames/src/hooks/useActiveDescendantListFocus/index.js.map +1 -1
  1052. package/dist/mocked_classnames/src/hooks/useActiveDescendantListFocus/useActiveDescendantListFocusHooks.js.map +1 -1
  1053. package/dist/mocked_classnames/src/hooks/useAfterFirstRender/index.js.map +1 -1
  1054. package/dist/mocked_classnames/src/hooks/useClickOutside/index.js.map +1 -1
  1055. package/dist/mocked_classnames/src/hooks/useClickableProps/useClickableProps.js.map +1 -1
  1056. package/dist/mocked_classnames/src/hooks/useDebounceEvent/index.js.map +1 -1
  1057. package/dist/mocked_classnames/src/hooks/useElementsOverflowingIndex.js.map +1 -1
  1058. package/dist/mocked_classnames/src/hooks/useEventListener/index.js.map +1 -1
  1059. package/dist/mocked_classnames/src/hooks/useFocusWithin.js.map +1 -1
  1060. package/dist/mocked_classnames/src/hooks/useFullKeyboardListeners.js.map +1 -1
  1061. package/dist/mocked_classnames/src/hooks/useGridKeyboardNavigation/useGridKeyboardNavigation.js.map +1 -1
  1062. package/dist/mocked_classnames/src/hooks/useHover/useHover.js.map +1 -1
  1063. package/dist/mocked_classnames/src/hooks/useIsMouseEnter.js.map +1 -1
  1064. package/dist/mocked_classnames/src/hooks/useIsMouseOver.js.map +1 -1
  1065. package/dist/mocked_classnames/src/hooks/useIsOverflowing/useIsOverflowing.js.map +1 -1
  1066. package/dist/mocked_classnames/src/hooks/useItemsOverflow/useItemsOverflow.js.map +1 -1
  1067. package/dist/mocked_classnames/src/hooks/useKeyEvent/index.js.map +1 -1
  1068. package/dist/mocked_classnames/src/hooks/useKeyboardButtonPressedFunc.js.map +1 -1
  1069. package/dist/mocked_classnames/src/hooks/useListenFocusTriggers/index.js.map +1 -1
  1070. package/dist/mocked_classnames/src/hooks/useMergeRef.js.map +1 -1
  1071. package/dist/mocked_classnames/src/hooks/useMergeRefs.js.map +1 -1
  1072. package/dist/mocked_classnames/src/hooks/useResizeObserver.js.map +1 -1
  1073. package/dist/mocked_classnames/src/hooks/useSetFocus/index.js.map +1 -1
  1074. package/dist/mocked_classnames/src/hooks/useSwitch/index.js.map +1 -1
  1075. package/dist/mocked_classnames/src/hooks/useWizard/useWizard.js.map +1 -1
  1076. package/dist/mocked_classnames/src/tests/interactionsTests.js.map +1 -1
  1077. package/dist/mocked_classnames/src/types/withStaticProps.js.map +1 -1
  1078. package/dist/mocked_classnames/src/utils/colors-utils.js.map +1 -1
  1079. package/dist/mocked_classnames/src/utils/dom-event-utils.js.map +1 -1
  1080. package/dist/mocked_classnames/src/utils/function-utils.js.map +1 -1
  1081. package/dist/mocked_classnames/style/dist/index.min.css.js +1 -1
  1082. package/dist/mocked_classnames/tests/interactions-utils.d.ts +2 -2
  1083. package/dist/mocked_classnames/types/ElementContent.d.ts +1 -1
  1084. package/dist/mocked_classnames/types/SubIcon.d.ts +2 -2
  1085. package/dist/mocked_classnames/types/VibeComponent.d.ts +1 -1
  1086. package/dist/mocked_classnames/types/events.d.ts +1 -1
  1087. package/dist/mocked_classnames/types/withStaticProps.d.ts +1 -1
  1088. package/dist/mocked_classnames/utils/colors-utils.d.ts +1 -1
  1089. package/dist/mocked_classnames/utils/dom-event-utils.d.ts +1 -1
  1090. package/dist/mocked_classnames/utils/function-utils.d.ts +1 -1
  1091. package/dist/src/components/Accordion/Accordion/Accordion.js.map +1 -1
  1092. package/dist/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
  1093. package/dist/src/components/Accordion/AccordionItem/AccordionItem.js.map +1 -1
  1094. package/dist/src/components/AlertBanner/AlertBanner.js.map +1 -1
  1095. package/dist/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
  1096. package/dist/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.js.map +1 -1
  1097. package/dist/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
  1098. package/dist/src/components/AlertBanner/AlertBannerContext.js.map +1 -1
  1099. package/dist/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.js.map +1 -1
  1100. package/dist/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
  1101. package/dist/src/components/AlertBanner/AlertBannerText/AlertBannerText.js.map +1 -1
  1102. package/dist/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
  1103. package/dist/src/components/AttentionBox/AttentionBox.js.map +1 -1
  1104. package/dist/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
  1105. package/dist/src/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.js.map +1 -1
  1106. package/dist/src/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
  1107. package/dist/src/components/Avatar/Avatar.js.map +1 -1
  1108. package/dist/src/components/Avatar/Avatar.module.scss.js +1 -1
  1109. package/dist/src/components/Avatar/AvatarBadge.js.map +1 -1
  1110. package/dist/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
  1111. package/dist/src/components/Avatar/AvatarContent.js.map +1 -1
  1112. package/dist/src/components/Avatar/AvatarContent.module.scss.js +1 -1
  1113. package/dist/src/components/AvatarGroup/AvatarGroup.js.map +1 -1
  1114. package/dist/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
  1115. package/dist/src/components/AvatarGroup/AvatarGroupCounter.js.map +1 -1
  1116. package/dist/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
  1117. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContainer.js.map +1 -1
  1118. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.js.map +1 -1
  1119. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
  1120. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.js.map +1 -1
  1121. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
  1122. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipHelper.js.map +1 -1
  1123. package/dist/src/components/AvatarGroup/AvatarGroupHelper.js.map +1 -1
  1124. package/dist/src/components/Badge/Badge.js.map +1 -1
  1125. package/dist/src/components/Badge/Badge.module.scss.js +1 -1
  1126. package/dist/src/components/Badge/Indicator/Indicator.js.map +1 -1
  1127. package/dist/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
  1128. package/dist/src/components/BaseInput/BaseInput.js.map +1 -1
  1129. package/dist/src/components/BaseInput/BaseInput.module.scss.js +1 -1
  1130. package/dist/src/components/BaseList/BaseList.js.map +1 -1
  1131. package/dist/src/components/BaseList/BaseList.module.scss.js +1 -1
  1132. package/dist/src/components/BaseListItem/BaseListItem.js.map +1 -1
  1133. package/dist/src/components/BaseListItem/BaseListItem.module.scss.js +1 -1
  1134. package/dist/src/components/BaseListItem/utils.js.map +1 -1
  1135. package/dist/src/components/Box/Box.js.map +1 -1
  1136. package/dist/src/components/Box/Box.module.scss.js +1 -1
  1137. package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.js.map +1 -1
  1138. package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
  1139. package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.js.map +1 -1
  1140. package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
  1141. package/dist/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbMenu.js.map +1 -1
  1142. package/dist/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbMenuItem/BreadcrumbMenuItem.js.map +1 -1
  1143. package/dist/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbsMenu.module.scss.js +1 -1
  1144. package/dist/src/components/BreadcrumbsBar/BreadcrumbsBar.js.map +1 -1
  1145. package/dist/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
  1146. package/dist/src/components/Button/Button.js.map +1 -1
  1147. package/dist/src/components/Button/Button.module.scss.js +1 -1
  1148. package/dist/src/components/Button/ButtonConstants.js.map +1 -1
  1149. package/dist/src/components/ButtonGroup/ButtonGroup.js.map +1 -1
  1150. package/dist/src/components/ButtonGroup/ButtonGroup.module.scss.js +1 -1
  1151. package/dist/src/components/ButtonGroup/ButtonWrapper.js.map +1 -1
  1152. package/dist/src/components/Checkbox/Checkbox.js +1 -1
  1153. package/dist/src/components/Checkbox/Checkbox.js.map +1 -1
  1154. package/dist/src/components/Checkbox/Checkbox.module.scss.js +1 -1
  1155. package/dist/src/components/Chips/Chips.js.map +1 -1
  1156. package/dist/src/components/Chips/Chips.module.scss.js +1 -1
  1157. package/dist/src/components/Clickable/Clickable.js.map +1 -1
  1158. package/dist/src/components/Clickable/Clickable.module.scss.js +1 -1
  1159. package/dist/src/components/Clickable/ClickableWrapper.js.map +1 -1
  1160. package/dist/src/components/ColorPicker/ColorPicker.js.map +1 -1
  1161. package/dist/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
  1162. package/dist/src/components/ColorPicker/ColorPickerConstants.js.map +1 -1
  1163. package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.js.map +1 -1
  1164. package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
  1165. package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.js.map +1 -1
  1166. package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
  1167. package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.js.map +1 -1
  1168. package/dist/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.js.map +1 -1
  1169. package/dist/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
  1170. package/dist/src/components/ColorPicker/services/ColorPickerStyleService.js.map +1 -1
  1171. package/dist/src/components/Combobox/Combobox.js.map +1 -1
  1172. package/dist/src/components/Combobox/Combobox.module.scss.js +1 -1
  1173. package/dist/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.js.map +1 -1
  1174. package/dist/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
  1175. package/dist/src/components/Combobox/ComboboxService.js.map +1 -1
  1176. package/dist/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.js.map +1 -1
  1177. package/dist/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
  1178. package/dist/src/components/Combobox/components/ComboboxConstants.js.map +1 -1
  1179. package/dist/src/components/Combobox/components/ComboboxItems/ComboboxItems.js.map +1 -1
  1180. package/dist/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
  1181. package/dist/src/components/Combobox/components/ComboboxOption/ComboboxOption.js.map +1 -1
  1182. package/dist/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
  1183. package/dist/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
  1184. package/dist/src/components/Counter/Counter.js.map +1 -1
  1185. package/dist/src/components/Counter/Counter.module.scss.js +1 -1
  1186. package/dist/src/components/DatePicker/DateNavigationItem/DateNavigationItem.module.scss.js +1 -1
  1187. package/dist/src/components/DatePicker/DatePicker.js.map +1 -1
  1188. package/dist/src/components/DatePicker/DatePicker.module.scss.js +1 -1
  1189. package/dist/src/components/DatePicker/DatePickerHeader/DatePickerHeader.js.map +1 -1
  1190. package/dist/src/components/DatePicker/DatePickerHeader/DatePickerHeader.module.scss.js +1 -1
  1191. package/dist/src/components/DatePicker/YearPicker/YearPicker.js.map +1 -1
  1192. package/dist/src/components/DatePicker/YearPicker/YearPicker.module.scss.js +1 -1
  1193. package/dist/src/components/DatePicker/external_datepicker.scss.js +1 -1
  1194. package/dist/src/components/DatePicker/types.js.map +1 -1
  1195. package/dist/src/components/Dialog/Dialog.js.map +1 -1
  1196. package/dist/src/components/Dialog/Dialog.module.scss.js +1 -1
  1197. package/dist/src/components/Dialog/DialogContent/DialogContent.js.map +1 -1
  1198. package/dist/src/components/Dialog/DialogContent/DialogContent.module.scss.js +1 -1
  1199. package/dist/src/components/Dialog/modifiers/observeContentResizeModifier.js.map +1 -1
  1200. package/dist/src/components/Dialog/modifiers/observeReferenceResizeModifier.js.map +1 -1
  1201. package/dist/src/components/DialogContentContainer/DialogContentContainer.js +1 -1
  1202. package/dist/src/components/DialogContentContainer/DialogContentContainer.js.map +1 -1
  1203. package/dist/src/components/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
  1204. package/dist/src/components/Divider/Divider.js.map +1 -1
  1205. package/dist/src/components/Divider/Divider.module.scss.js +1 -1
  1206. package/dist/src/components/Dropdown/Dropdown.js.map +1 -1
  1207. package/dist/src/components/Dropdown/Dropdown.module.scss.js +1 -1
  1208. package/dist/src/components/Dropdown/components/ChildrenContent/ChildrenContent.module.scss.js +1 -1
  1209. package/dist/src/components/Dropdown/components/MultiValueContainer/MultiValueContainer.module.scss.js +1 -1
  1210. package/dist/src/components/Dropdown/components/menu/menu.module.scss.js +1 -1
  1211. package/dist/src/components/Dropdown/components/option/option.module.scss.js +1 -1
  1212. package/dist/src/components/Dropdown/components/singleValue/singleValue.module.scss.js +1 -1
  1213. package/dist/src/components/DropdownNew/Dropdown.js.map +1 -1
  1214. package/dist/src/components/DropdownNew/components/DropdownBase/DropdownBase.js.map +1 -1
  1215. package/dist/src/components/DropdownNew/components/DropdownBase/DropdownBase.module.scss.js +1 -1
  1216. package/dist/src/components/DropdownNew/components/DropdownWrapperUI.js.map +1 -1
  1217. package/dist/src/components/DropdownNew/components/Menu/Menu.js.map +1 -1
  1218. package/dist/src/components/DropdownNew/components/Menu/Menu.module.scss.js +1 -1
  1219. package/dist/src/components/DropdownNew/components/MultiSelectedValues/MultiSelectedValues.js.map +1 -1
  1220. package/dist/src/components/DropdownNew/components/MultiSelectedValues/MultiSelectedValues.module.scss.js +1 -1
  1221. package/dist/src/components/DropdownNew/components/Trigger/DropdownChip.js.map +1 -1
  1222. package/dist/src/components/DropdownNew/components/Trigger/DropdownInput.js.map +1 -1
  1223. package/dist/src/components/DropdownNew/components/Trigger/MultiSelectTrigger.js.map +1 -1
  1224. package/dist/src/components/DropdownNew/components/Trigger/SingleSelectTrigger.js.map +1 -1
  1225. package/dist/src/components/DropdownNew/components/Trigger/Trigger.module.scss.js +1 -1
  1226. package/dist/src/components/DropdownNew/components/Trigger/TriggerActions.js.map +1 -1
  1227. package/dist/src/components/DropdownNew/context/DropdownContext.js.map +1 -1
  1228. package/dist/src/components/DropdownNew/hooks/useDropdownCombobox.js.map +1 -1
  1229. package/dist/src/components/DropdownNew/hooks/useDropdownFiltering.js.map +1 -1
  1230. package/dist/src/components/DropdownNew/hooks/useDropdownMultiCombobox.js.map +1 -1
  1231. package/dist/src/components/DropdownNew/hooks/useDropdownMultiSelect.js.map +1 -1
  1232. package/dist/src/components/DropdownNew/hooks/useDropdownSelect.js.map +1 -1
  1233. package/dist/src/components/DropdownNew/modes/DropdownComboboxController.js.map +1 -1
  1234. package/dist/src/components/DropdownNew/modes/DropdownMultiComboboxController.js.map +1 -1
  1235. package/dist/src/components/DropdownNew/modes/DropdownMultiSelectController.js.map +1 -1
  1236. package/dist/src/components/DropdownNew/modes/DropdownSelectController.js.map +1 -1
  1237. package/dist/src/components/DropdownNew/utils/dropdown-modifiers.js.map +1 -1
  1238. package/dist/src/components/DropdownNew/utils/dropdownUtils.js.map +1 -1
  1239. package/dist/src/components/EditableHeading/EditableHeading.js.map +1 -1
  1240. package/dist/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
  1241. package/dist/src/components/EditableText/EditableText.js.map +1 -1
  1242. package/dist/src/components/EditableText/EditableText.module.scss.js +1 -1
  1243. package/dist/src/components/EditableTypography/EditableTypography.js.map +1 -1
  1244. package/dist/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
  1245. package/dist/src/components/EmptyState/EmptyState.js.map +1 -1
  1246. package/dist/src/components/EmptyState/EmptyState.module.scss.js +1 -1
  1247. package/dist/src/components/ExpandCollapse/ExpandCollapse.js.map +1 -1
  1248. package/dist/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
  1249. package/dist/src/components/FieldLabel/FieldLabel.js.map +1 -1
  1250. package/dist/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
  1251. package/dist/src/components/Flex/Flex.js.map +1 -1
  1252. package/dist/src/components/Flex/Flex.module.scss.js +1 -1
  1253. package/dist/src/components/FormattedNumber/FormattedNumber.js.map +1 -1
  1254. package/dist/src/components/FormattedNumber/FormattedNumber.module.scss.js +1 -1
  1255. package/dist/src/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.js.map +1 -1
  1256. package/dist/src/components/GridKeyboardNavigationContext/helper.js.map +1 -1
  1257. package/dist/src/components/Heading/Heading.js.map +1 -1
  1258. package/dist/src/components/Heading/Heading.module.scss.js +1 -1
  1259. package/dist/src/components/HiddenText/HiddenText.js.map +1 -1
  1260. package/dist/src/components/HiddenText/HiddenText.module.scss.js +1 -1
  1261. package/dist/src/components/Icon/CustomSvgIcon/CustomSvgIcon.js.map +1 -1
  1262. package/dist/src/components/Icon/FontIcon/FontIcon.js.map +1 -1
  1263. package/dist/src/components/Icon/Icon.js.map +1 -1
  1264. package/dist/src/components/Icon/Icon.module.scss.js +1 -1
  1265. package/dist/src/components/Icon/hooks/useIconProps.js.map +1 -1
  1266. package/dist/src/components/IconButton/IconButton.js.map +1 -1
  1267. package/dist/src/components/IconButton/IconButton.module.scss.js +1 -1
  1268. package/dist/src/components/InfoText/InfoText.js.map +1 -1
  1269. package/dist/src/components/InfoText/InfoText.module.scss.js +1 -1
  1270. package/dist/src/components/Label/Label.js.map +1 -1
  1271. package/dist/src/components/Label/Label.module.scss.js +1 -1
  1272. package/dist/src/components/Label/LabelCelebrationAnimation.module.scss.js +1 -1
  1273. package/dist/src/components/Label/LabelConstants.js.map +1 -1
  1274. package/dist/src/components/LayerProvider/LayerProvider.js.map +1 -1
  1275. package/dist/src/components/LegacyModal/LegacyModal.js.map +1 -1
  1276. package/dist/src/components/LegacyModal/LegacyModal.module.scss.js +1 -1
  1277. package/dist/src/components/LegacyModal/LegacyModalContent/LegacyModalContent.js.map +1 -1
  1278. package/dist/src/components/LegacyModal/LegacyModalContent/LegacyModalContent.module.scss.js +1 -1
  1279. package/dist/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.js.map +1 -1
  1280. package/dist/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.module.scss.js +1 -1
  1281. package/dist/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooterButtons/LegacyModalFooterButtons.js.map +1 -1
  1282. package/dist/src/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.js.map +1 -1
  1283. package/dist/src/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.module.scss.js +1 -1
  1284. package/dist/src/components/LegacyModal/ModalHelper.js.map +1 -1
  1285. package/dist/src/components/LegacyModal/a11yDialog.js.map +1 -1
  1286. package/dist/src/components/LegacyModal/useAnimationProps.js.map +1 -1
  1287. package/dist/src/components/LegacyModal/useBodyScrollLock.js.map +1 -1
  1288. package/dist/src/components/LegacyModal/useShowHideModal.js.map +1 -1
  1289. package/dist/src/components/Link/Link.js.map +1 -1
  1290. package/dist/src/components/Link/Link.module.scss.js +1 -1
  1291. package/dist/src/components/List/List.js.map +1 -1
  1292. package/dist/src/components/List/List.module.scss.js +1 -1
  1293. package/dist/src/components/List/VirtualizedListItems/VirtualizedListItems.js.map +1 -1
  1294. package/dist/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
  1295. package/dist/src/components/List/utils/ListUtils.js.map +1 -1
  1296. package/dist/src/components/ListItem/ListItem.js.map +1 -1
  1297. package/dist/src/components/ListItem/ListItem.module.scss.js +1 -1
  1298. package/dist/src/components/ListItemAvatar/ListItemAvatar.js.map +1 -1
  1299. package/dist/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
  1300. package/dist/src/components/ListItemIcon/ListItemIcon.js.map +1 -1
  1301. package/dist/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
  1302. package/dist/src/components/ListTitle/ListTitle.js.map +1 -1
  1303. package/dist/src/components/ListTitle/ListTitle.module.scss.js +1 -1
  1304. package/dist/src/components/Loader/Loader.js.map +1 -1
  1305. package/dist/src/components/Loader/Loader.module.scss.js +1 -1
  1306. package/dist/src/components/Menu/Menu/Menu.js.map +1 -1
  1307. package/dist/src/components/Menu/Menu/Menu.module.scss.js +1 -1
  1308. package/dist/src/components/Menu/Menu/hooks/useAdjacentSelectableMenuIndex.js.map +1 -1
  1309. package/dist/src/components/Menu/Menu/hooks/useCloseMenuOnKeyEvent.js.map +1 -1
  1310. package/dist/src/components/Menu/Menu/hooks/useFocusOnMount.js.map +1 -1
  1311. package/dist/src/components/Menu/Menu/hooks/useMenuKeyboardNavigation.js.map +1 -1
  1312. package/dist/src/components/Menu/Menu/hooks/useMouseLeave.js.map +1 -1
  1313. package/dist/src/components/Menu/Menu/hooks/useOnCloseMenu.js.map +1 -1
  1314. package/dist/src/components/Menu/Menu/utils/utils.js.map +1 -1
  1315. package/dist/src/components/Menu/MenuDivider/MenuDivider.js.map +1 -1
  1316. package/dist/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
  1317. package/dist/src/components/Menu/MenuGridItem/MenuGridItem.js.map +1 -1
  1318. package/dist/src/components/Menu/MenuGridItem/useFocusGridItemByActiveStatus.js.map +1 -1
  1319. package/dist/src/components/Menu/MenuGridItem/useMenuGridItemNavContext.js.map +1 -1
  1320. package/dist/src/components/Menu/MenuItem/AvatarMenuItem.js.map +1 -1
  1321. package/dist/src/components/Menu/MenuItem/MenuItem.js.map +1 -1
  1322. package/dist/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
  1323. package/dist/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.js.map +1 -1
  1324. package/dist/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
  1325. package/dist/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.js.map +1 -1
  1326. package/dist/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
  1327. package/dist/src/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.js.map +1 -1
  1328. package/dist/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.js.map +1 -1
  1329. package/dist/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
  1330. package/dist/src/components/Menu/MenuItem/hooks/useMenuItemKeyboardEvents.js.map +1 -1
  1331. package/dist/src/components/Menu/MenuItem/hooks/useMenuItemMouseEvents.js.map +1 -1
  1332. package/dist/src/components/Menu/MenuItemButton/MenuItemButton.js.map +1 -1
  1333. package/dist/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
  1334. package/dist/src/components/Menu/MenuTitle/MenuTitle.js.map +1 -1
  1335. package/dist/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
  1336. package/dist/src/components/MenuButton/MenuButton.js +1 -1
  1337. package/dist/src/components/MenuButton/MenuButton.js.map +1 -1
  1338. package/dist/src/components/MenuButton/MenuButton.module.scss.js +1 -1
  1339. package/dist/src/components/Modal/Modal/Modal.js.map +1 -1
  1340. package/dist/src/components/Modal/Modal/Modal.module.scss.js +1 -1
  1341. package/dist/src/components/Modal/ModalContent/ModalContent.js.map +1 -1
  1342. package/dist/src/components/Modal/ModalHeader/ModalHeader.js.map +1 -1
  1343. package/dist/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
  1344. package/dist/src/components/Modal/ModalMedia/ModalMedia.js.map +1 -1
  1345. package/dist/src/components/Modal/ModalMedia/ModalMedia.module.scss.js +1 -1
  1346. package/dist/src/components/Modal/ModalTopActions/ModalTopActions.js.map +1 -1
  1347. package/dist/src/components/Modal/ModalTopActions/ModalTopActions.module.scss.js +1 -1
  1348. package/dist/src/components/Modal/context/ModalContext.js.map +1 -1
  1349. package/dist/src/components/Modal/footers/ModalFooter/ModalFooter.js.map +1 -1
  1350. package/dist/src/components/Modal/footers/ModalFooter/ModalFooter.module.scss.js +1 -1
  1351. package/dist/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.js.map +1 -1
  1352. package/dist/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.module.scss.js +1 -1
  1353. package/dist/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.js.map +1 -1
  1354. package/dist/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.module.scss.js +1 -1
  1355. package/dist/src/components/Modal/footers/utils/getPropsForButton.js.map +1 -1
  1356. package/dist/src/components/Modal/hooks/usePortalTarget/usePortalTarget.js.map +1 -1
  1357. package/dist/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.js.map +1 -1
  1358. package/dist/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.module.scss.js +1 -1
  1359. package/dist/src/components/Modal/layouts/ModalFooterShadow.js.map +1 -1
  1360. package/dist/src/components/Modal/layouts/ModalFooterShadow.module.scss.js +1 -1
  1361. package/dist/src/components/Modal/layouts/ModalLayoutScrollableContent.js.map +1 -1
  1362. package/dist/src/components/Modal/layouts/ModalLayoutScrollableContent.module.scss.js +1 -1
  1363. package/dist/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.js.map +1 -1
  1364. package/dist/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.module.scss.js +1 -1
  1365. package/dist/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.js.map +1 -1
  1366. package/dist/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.module.scss.js +1 -1
  1367. package/dist/src/components/Modal/layouts/useLayoutScrolledContent.js.map +1 -1
  1368. package/dist/src/components/Modal/utils/animationVariants.js.map +1 -1
  1369. package/dist/src/components/MultiStepIndicator/MultiStepIndicator.js.map +1 -1
  1370. package/dist/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
  1371. package/dist/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.js.map +1 -1
  1372. package/dist/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
  1373. package/dist/src/components/NumberField/NumberField.js.map +1 -1
  1374. package/dist/src/components/NumberField/NumberField.module.scss.js +1 -1
  1375. package/dist/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.js.map +1 -1
  1376. package/dist/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js +1 -1
  1377. package/dist/src/components/NumberField/hooks/useNumberFieldState.js.map +1 -1
  1378. package/dist/src/components/NumberField/hooks/useSpinButtonHandlers.js.map +1 -1
  1379. package/dist/src/components/NumberField/utils/calcValue.js.map +1 -1
  1380. package/dist/src/components/ProgressBars/LinearProgressBar/Bar/Bar.js.map +1 -1
  1381. package/dist/src/components/ProgressBars/LinearProgressBar/Bar/Bar.module.scss.js +1 -1
  1382. package/dist/src/components/ProgressBars/LinearProgressBar/LinearProgressBar.js.map +1 -1
  1383. package/dist/src/components/ProgressBars/LinearProgressBar/LinearProgressBar.module.scss.js +1 -1
  1384. package/dist/src/components/ProgressBars/LinearProgressBar/LinearProgressBarHelpers.js.map +1 -1
  1385. package/dist/src/components/ProgressBars/PercentageLabel/PercentageLabel.js.map +1 -1
  1386. package/dist/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
  1387. package/dist/src/components/RadioButton/RadioButton.js.map +1 -1
  1388. package/dist/src/components/RadioButton/RadioButton.module.scss.js +1 -1
  1389. package/dist/src/components/Refable/Refable.js.map +1 -1
  1390. package/dist/src/components/Search/Search.js.map +1 -1
  1391. package/dist/src/components/Search/Search.module.scss.js +1 -1
  1392. package/dist/src/components/Skeleton/Skeleton.js.map +1 -1
  1393. package/dist/src/components/Skeleton/Skeleton.module.scss.js +1 -1
  1394. package/dist/src/components/SlideTransition/SlideTransition.js.map +1 -1
  1395. package/dist/src/components/SlideTransition/SlideTransition.module.scss.js +1 -1
  1396. package/dist/src/components/SlideTransition/utils/animationVariants.js.map +1 -1
  1397. package/dist/src/components/Slider/SelectionIndicator.js.map +1 -1
  1398. package/dist/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
  1399. package/dist/src/components/Slider/Slider.js.map +1 -1
  1400. package/dist/src/components/Slider/Slider.module.scss.js +1 -1
  1401. package/dist/src/components/Slider/SliderBase/SliderBase.js.map +1 -1
  1402. package/dist/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
  1403. package/dist/src/components/Slider/SliderBase/SliderFilledTrack.js.map +1 -1
  1404. package/dist/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
  1405. package/dist/src/components/Slider/SliderBase/SliderRail.js.map +1 -1
  1406. package/dist/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
  1407. package/dist/src/components/Slider/SliderBase/SliderThumb.js.map +1 -1
  1408. package/dist/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
  1409. package/dist/src/components/Slider/SliderBase/SliderTrack.js.map +1 -1
  1410. package/dist/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
  1411. package/dist/src/components/Slider/SliderConstants.js.map +1 -1
  1412. package/dist/src/components/Slider/SliderContext.js.map +1 -1
  1413. package/dist/src/components/Slider/SliderInfix.js.map +1 -1
  1414. package/dist/src/components/Slider/SliderInfix.module.scss.js +1 -1
  1415. package/dist/src/components/Slider/SliderInfixHooks.js.map +1 -1
  1416. package/dist/src/components/SplitButton/SplitButton.js.map +1 -1
  1417. package/dist/src/components/SplitButton/SplitButton.module.scss.js +1 -1
  1418. package/dist/src/components/SplitButton/SplitButtonMenu/SplitButtonMenu.js.map +1 -1
  1419. package/dist/src/components/Steps/Steps.js.map +1 -1
  1420. package/dist/src/components/Steps/Steps.module.scss.js +1 -1
  1421. package/dist/src/components/Steps/StepsCommand.js.map +1 -1
  1422. package/dist/src/components/Steps/StepsCommand.module.scss.js +1 -1
  1423. package/dist/src/components/Steps/StepsDot.js.map +1 -1
  1424. package/dist/src/components/Steps/StepsDot.module.scss.js +1 -1
  1425. package/dist/src/components/Steps/StepsGalleryHeader.js.map +1 -1
  1426. package/dist/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
  1427. package/dist/src/components/Steps/StepsHeader.js.map +1 -1
  1428. package/dist/src/components/Steps/StepsHeader.module.scss.js +1 -1
  1429. package/dist/src/components/Steps/StepsNumbersHeader.js.map +1 -1
  1430. package/dist/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
  1431. package/dist/src/components/Switch/Switch.js.map +1 -1
  1432. package/dist/src/components/Switch/Switch.module.scss.js +1 -1
  1433. package/dist/src/components/Table/Table/Table.js.map +1 -1
  1434. package/dist/src/components/Table/Table/Table.module.scss.js +1 -1
  1435. package/dist/src/components/Table/Table/tableHelpers.js.map +1 -1
  1436. package/dist/src/components/Table/TableBody/TableBody.js.map +1 -1
  1437. package/dist/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
  1438. package/dist/src/components/Table/TableCell/TableCell.js.map +1 -1
  1439. package/dist/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
  1440. package/dist/src/components/Table/TableCellSkeleton/TableCellSkeleton.js.map +1 -1
  1441. package/dist/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
  1442. package/dist/src/components/Table/TableContainer/TableContainer.js.map +1 -1
  1443. package/dist/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
  1444. package/dist/src/components/Table/TableHeader/TableHeader.js.map +1 -1
  1445. package/dist/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
  1446. package/dist/src/components/Table/TableHeaderCell/TableHeaderCell.js.map +1 -1
  1447. package/dist/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
  1448. package/dist/src/components/Table/TableRow/TableRow.js.map +1 -1
  1449. package/dist/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
  1450. package/dist/src/components/Table/TableRowMenu/TableRowMenu.js.map +1 -1
  1451. package/dist/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
  1452. package/dist/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.js.map +1 -1
  1453. package/dist/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
  1454. package/dist/src/components/Table/context/TableContainerContext/TableContainerContext.js.map +1 -1
  1455. package/dist/src/components/Table/context/TableContext/TableContext.js.map +1 -1
  1456. package/dist/src/components/Table/context/TableRowMenuContext/TableRowMenuContext.js.map +1 -1
  1457. package/dist/src/components/Tabs/Tab/Tab.js.map +1 -1
  1458. package/dist/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
  1459. package/dist/src/components/Tabs/TabList/TabList.js.map +1 -1
  1460. package/dist/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
  1461. package/dist/src/components/Tabs/TabPanel/TabPanel.js.map +1 -1
  1462. package/dist/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
  1463. package/dist/src/components/Tabs/TabPanels/TabPanels.js.map +1 -1
  1464. package/dist/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
  1465. package/dist/src/components/Tabs/TabsContext/TabsContext.js.map +1 -1
  1466. package/dist/src/components/Text/Text.js.map +1 -1
  1467. package/dist/src/components/Text/Text.module.scss.js +1 -1
  1468. package/dist/src/components/TextArea/TextArea.js +1 -1
  1469. package/dist/src/components/TextArea/TextArea.js.map +1 -1
  1470. package/dist/src/components/TextArea/TextArea.module.scss.js +1 -1
  1471. package/dist/src/components/TextField/TextField.js +1 -1
  1472. package/dist/src/components/TextField/TextField.js.map +1 -1
  1473. package/dist/src/components/TextField/TextField.module.scss.js +1 -1
  1474. package/dist/src/components/TextWithHighlight/TextWithHighlight.js.map +1 -1
  1475. package/dist/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
  1476. package/dist/src/components/ThemeProvider/ThemeProvider.js.map +1 -1
  1477. package/dist/src/components/ThemeProvider/ThemeProviderUtils.js.map +1 -1
  1478. package/dist/src/components/Tipseen/Tipseen.js.map +1 -1
  1479. package/dist/src/components/Tipseen/Tipseen.module.scss.js +1 -1
  1480. package/dist/src/components/Tipseen/TipseenBasicContent.js.map +1 -1
  1481. package/dist/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
  1482. package/dist/src/components/Tipseen/TipseenContent.js.map +1 -1
  1483. package/dist/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
  1484. package/dist/src/components/Tipseen/TipseenImage.module.scss.js +1 -1
  1485. package/dist/src/components/Tipseen/TipseenMedia/TipseenMedia.js.map +1 -1
  1486. package/dist/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
  1487. package/dist/src/components/Tipseen/TipseenTitle.js.map +1 -1
  1488. package/dist/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
  1489. package/dist/src/components/Tipseen/TipseenWizard.js.map +1 -1
  1490. package/dist/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
  1491. package/dist/src/components/Toast/Toast.js.map +1 -1
  1492. package/dist/src/components/Toast/Toast.module.scss.js +1 -1
  1493. package/dist/src/components/Toast/ToastButton/ToastButton.js.map +1 -1
  1494. package/dist/src/components/Toast/ToastHelpers.js.map +1 -1
  1495. package/dist/src/components/Toast/ToastLink/ToastLink.js.map +1 -1
  1496. package/dist/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
  1497. package/dist/src/components/Toggle/MockToggle.js.map +1 -1
  1498. package/dist/src/components/Toggle/MockToggle.module.scss.js +1 -1
  1499. package/dist/src/components/Toggle/Toggle.js.map +1 -1
  1500. package/dist/src/components/Toggle/Toggle.module.scss.js +1 -1
  1501. package/dist/src/components/Toggle/ToggleText.js.map +1 -1
  1502. package/dist/src/components/Toggle/ToggleText.module.scss.js +1 -1
  1503. package/dist/src/components/Tooltip/Tooltip.js.map +1 -1
  1504. package/dist/src/components/Tooltip/Tooltip.module.scss.js +1 -1
  1505. package/dist/src/components/TransitionView/TransitionView.js.map +1 -1
  1506. package/dist/src/components/TransitionView/TransitionView.module.scss.js +1 -1
  1507. package/dist/src/components/Typography/Typography.js.map +1 -1
  1508. package/dist/src/components/Typography/Typography.module.scss.js +1 -1
  1509. package/dist/src/components/Typography/TypographyHooks.js.map +1 -1
  1510. package/dist/src/components/VirtualizedGrid/VirtualizedGrid.js.map +1 -1
  1511. package/dist/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
  1512. package/dist/src/components/VirtualizedList/VirtualizedList.js.map +1 -1
  1513. package/dist/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
  1514. package/dist/src/hooks/useActiveDescendantListFocus/index.js.map +1 -1
  1515. package/dist/src/hooks/useActiveDescendantListFocus/useActiveDescendantListFocusHooks.js.map +1 -1
  1516. package/dist/src/hooks/useAfterFirstRender/index.js.map +1 -1
  1517. package/dist/src/hooks/useClickOutside/index.js.map +1 -1
  1518. package/dist/src/hooks/useClickableProps/useClickableProps.js.map +1 -1
  1519. package/dist/src/hooks/useDebounceEvent/index.js.map +1 -1
  1520. package/dist/src/hooks/useElementsOverflowingIndex.js.map +1 -1
  1521. package/dist/src/hooks/useEventListener/index.js.map +1 -1
  1522. package/dist/src/hooks/useFocusWithin.js.map +1 -1
  1523. package/dist/src/hooks/useFullKeyboardListeners.js.map +1 -1
  1524. package/dist/src/hooks/useGridKeyboardNavigation/useGridKeyboardNavigation.js.map +1 -1
  1525. package/dist/src/hooks/useHover/useHover.js.map +1 -1
  1526. package/dist/src/hooks/useIsMouseEnter.js.map +1 -1
  1527. package/dist/src/hooks/useIsMouseOver.js.map +1 -1
  1528. package/dist/src/hooks/useIsOverflowing/useIsOverflowing.js.map +1 -1
  1529. package/dist/src/hooks/useItemsOverflow/useItemsOverflow.js.map +1 -1
  1530. package/dist/src/hooks/useKeyEvent/index.js.map +1 -1
  1531. package/dist/src/hooks/useKeyboardButtonPressedFunc.js.map +1 -1
  1532. package/dist/src/hooks/useListenFocusTriggers/index.js.map +1 -1
  1533. package/dist/src/hooks/useMergeRef.js.map +1 -1
  1534. package/dist/src/hooks/useMergeRefs.js.map +1 -1
  1535. package/dist/src/hooks/useResizeObserver.js.map +1 -1
  1536. package/dist/src/hooks/useSetFocus/index.js.map +1 -1
  1537. package/dist/src/hooks/useSwitch/index.js.map +1 -1
  1538. package/dist/src/hooks/useWizard/useWizard.js.map +1 -1
  1539. package/dist/src/tests/interactionsTests.js.map +1 -1
  1540. package/dist/src/types/withStaticProps.js.map +1 -1
  1541. package/dist/src/utils/colors-utils.js.map +1 -1
  1542. package/dist/src/utils/dom-event-utils.js.map +1 -1
  1543. package/dist/src/utils/function-utils.js.map +1 -1
  1544. package/dist/style/dist/index.min.css.js +1 -1
  1545. package/dist/tests/interactions-utils.d.ts +2 -2
  1546. package/dist/types/ElementContent.d.ts +1 -1
  1547. package/dist/types/SubIcon.d.ts +2 -2
  1548. package/dist/types/VibeComponent.d.ts +1 -1
  1549. package/dist/types/events.d.ts +1 -1
  1550. package/dist/types/withStaticProps.d.ts +1 -1
  1551. package/dist/utils/colors-utils.d.ts +1 -1
  1552. package/dist/utils/dom-event-utils.d.ts +1 -1
  1553. package/dist/utils/function-utils.d.ts +1 -1
  1554. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"ClickableWrapper.js","sources":["../../../../../src/components/Clickable/ClickableWrapper.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport Clickable from \"./Clickable\";\nimport { VibeComponentProps } from \"../../types\";\nimport { ClickableProps } from \"./Clickable\";\n\nexport interface ClickableWrapperProps extends VibeComponentProps {\n /**\n * The content inside the wrapper.\n */\n children: React.ReactNode;\n /**\n * If true, wraps the content in a `Clickable` component.\n */\n isClickable: boolean;\n /**\n * Props passed to the `Clickable` component.\n */\n clickableProps: ClickableProps;\n}\n\nconst ClickableWrapper = forwardRef(\n (\n { children, isClickable = true, clickableProps = {} }: ClickableWrapperProps,\n ref: React.ForwardedRef<HTMLElement>\n ) => {\n if (!isClickable) {\n return <>{children}</>;\n }\n\n return (\n <Clickable {...clickableProps} ref={ref}>\n {children}\n </Clickable>\n );\n }\n);\n\nexport default ClickableWrapper;\n"],"names":["ClickableWrapper","forwardRef","_ref","ref","children","_ref$isClickable","isClickable","_ref$clickableProps","clickableProps","React","createElement","Clickable","Object","assign","Fragment"],"mappings":"oEAoBMA,IAAAA,EAAmBC,GACvB,SAAAC,EAEEC,GACE,IAFAC,EAAQF,EAARE,SAAQC,EAAAH,EAAEI,YAAkBC,EAAAL,EAAEM,eAGhC,YAH0B,IAAHH,GAAOA,EAQ5BI,EAAAC,cAACC,EAASC,OAAAC,OAAA,CAAA,OARkC,IAAAN,EAAG,CAAA,EAAEA,EAQpB,CAAEJ,IAAKA,IACjCC,GALIK,EAAAC,cAAAD,EAAAK,SAAA,KAAGV,EAQd"}
1
+ {"version":3,"file":"ClickableWrapper.js","sources":["../../../../../src/components/Clickable/ClickableWrapper.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport Clickable from \"./Clickable\";\nimport { type VibeComponentProps } from \"../../types\";\nimport { type ClickableProps } from \"./Clickable\";\n\nexport interface ClickableWrapperProps extends VibeComponentProps {\n /**\n * The content inside the wrapper.\n */\n children: React.ReactNode;\n /**\n * If true, wraps the content in a `Clickable` component.\n */\n isClickable: boolean;\n /**\n * Props passed to the `Clickable` component.\n */\n clickableProps: ClickableProps;\n}\n\nconst ClickableWrapper = forwardRef(\n (\n { children, isClickable = true, clickableProps = {} }: ClickableWrapperProps,\n ref: React.ForwardedRef<HTMLElement>\n ) => {\n if (!isClickable) {\n return <>{children}</>;\n }\n\n return (\n <Clickable {...clickableProps} ref={ref}>\n {children}\n </Clickable>\n );\n }\n);\n\nexport default ClickableWrapper;\n"],"names":["ClickableWrapper","forwardRef","_ref","ref","children","_ref$isClickable","isClickable","_ref$clickableProps","clickableProps","React","createElement","Clickable","Object","assign","Fragment"],"mappings":"oEAoBMA,IAAAA,EAAmBC,GACvB,SAAAC,EAEEC,GACE,IAFAC,EAAQF,EAARE,SAAQC,EAAAH,EAAEI,YAAkBC,EAAAL,EAAEM,eAGhC,YAH0B,IAAHH,GAAOA,EAQ5BI,EAAAC,cAACC,EAASC,OAAAC,OAAA,CAAA,OARkC,IAAAN,EAAG,CAAA,EAAEA,EAQpB,CAAEJ,IAAKA,IACjCC,GALIK,EAAAC,cAAAD,EAAAK,SAAA,KAAGV,EAQd"}
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPicker.js","sources":["../../../../../src/components/ColorPicker/ColorPicker.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport React, { forwardRef, useCallback, useRef } from \"react\";\nimport { BaseSizes } from \"../../constants\";\nimport useMergeRef from \"../../hooks/useMergeRef\";\nimport DialogContentContainer from \"../DialogContentContainer/DialogContentContainer\";\nimport { ColorStyle as ColorStyleEnum } from \"../../utils/colors-vars-map\";\nimport { NoColor } from \"@vibe/icons\";\nimport ColorPickerContent from \"./components/ColorPickerContent/ColorPickerContent\";\nimport { ColorShapes as ColorShapesEnum, DEFAULT_NUMBER_OF_COLORS_IN_LINE } from \"./ColorPickerConstants\";\nimport { ColorShapes, ColorPickerSizes, ColorPickerValue, ColorPickerArrayValueOnly } from \"./ColorPicker.types\";\nimport { calculateColorPickerDialogWidth } from \"./services/ColorPickerStyleService\";\nimport { VibeComponentProps, SubIcon, withStaticProps } from \"../../types\";\nimport { NOOP } from \"../../utils/function-utils\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport styles from \"./ColorPicker.module.scss\";\nimport { ColorStyle } from \"../../types/Colors\";\nimport { ComponentVibeId } from \"../../tests/constants\";\n\nexport interface ColorPickerProps extends VibeComponentProps {\n /**\n * The selected color(s).\n */\n value?: ColorPickerValue;\n /**\n * Callback fired when the selected color(s) change.\n */\n onSave?: (value: ColorPickerArrayValueOnly) => void;\n /**\n * Icon displayed as an indicator inside the color.\n */\n ColorIndicatorIcon?: SubIcon;\n /**\n * Icon displayed when a color is selected.\n */\n SelectedIndicatorIcon?: SubIcon;\n /**\n * Icon used for clearing the color selection.\n */\n NoColorIcon?: SubIcon;\n /**\n * The style applied to the colors.\n */\n colorStyle?: ColorStyle;\n /**\n * Text displayed for the \"no color\" option.\n */\n noColorText?: string;\n /**\n * If true, renders the color indicator without a background.\n */\n shouldRenderIndicatorWithoutBackground?: boolean;\n /**\n * If true, treats the color list as a blacklist rather than a whitelist.\n */\n isBlackListMode?: boolean;\n /**\n * The list of colors available for selection.\n */\n colorsList?: ColorPickerArrayValueOnly;\n /**\n * If true, allows selecting multiple colors.\n */\n isMultiselect?: boolean;\n /**\n * The size of the color items.\n */\n colorSize?: ColorPickerSizes;\n /**\n * The number of colors displayed per row.\n */\n numberOfColorsInLine?: number;\n /**\n * If true, the first color is focused when the component mounts.\n */\n focusOnMount?: boolean;\n /**\n * The shape of the color items.\n */\n colorShape?: ColorShapes;\n /**\n * Used to force the component render the colorList prop as is. Usually, this flag should not be used. It's intended only for edge cases.\n * Usually, only \"monday colors\" will be rendered (unless blacklist mode is used). This flag will override this behavior.\n */\n forceUseRawColorList?: boolean;\n /**\n * Used to enable color name tooltip on each color in the component.\n * When \"tooltipContentByColor\" is supplied, it will override the color name tooltip.\n *\n */\n showColorNameTooltip?: boolean;\n}\n\nconst ColorPicker = forwardRef(\n (\n {\n className,\n onSave = NOOP,\n value = \"\",\n noColorText,\n colorStyle = \"regular\",\n ColorIndicatorIcon,\n SelectedIndicatorIcon,\n shouldRenderIndicatorWithoutBackground,\n NoColorIcon = NoColor,\n isBlackListMode = true,\n colorsList = [],\n isMultiselect,\n colorSize = \"medium\",\n numberOfColorsInLine = DEFAULT_NUMBER_OF_COLORS_IN_LINE,\n focusOnMount,\n colorShape = \"square\",\n forceUseRawColorList,\n showColorNameTooltip,\n id,\n \"data-testid\": dataTestId\n }: ColorPickerProps,\n ref: React.ForwardedRef<HTMLElement>\n ) => {\n const componentRef = useRef(null);\n const mergedRef = useMergeRef(ref, componentRef);\n\n const onChange = useCallback(onSave, [onSave]);\n\n const width = calculateColorPickerDialogWidth(colorSize as BaseSizes, numberOfColorsInLine);\n\n return (\n <DialogContentContainer\n ref={mergedRef}\n className={cx(styles.colorPicker, styles.colorPickerDialogContent, className)}\n ariaLabelledby=\"Color Picker Dialog\"\n ariaDescribedby=\"Pick color\"\n style={{ width }}\n >\n <ColorPickerContent\n onValueChange={onChange}\n value={value}\n noColorText={noColorText}\n shouldRenderIndicatorWithoutBackground={ColorIndicatorIcon && shouldRenderIndicatorWithoutBackground}\n colorStyle={colorStyle}\n ColorIndicatorIcon={ColorIndicatorIcon}\n SelectedIndicatorIcon={SelectedIndicatorIcon}\n NoColorIcon={NoColorIcon}\n colorsList={colorsList}\n isBlackListMode={isBlackListMode}\n isMultiselect={isMultiselect}\n colorSize={colorSize}\n numberOfColorsInLine={numberOfColorsInLine}\n focusOnMount={focusOnMount}\n colorShape={colorShape}\n forceUseRawColorList={forceUseRawColorList}\n showColorNameTooltip={showColorNameTooltip}\n id={id}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.COLOR_PICKER, id)}\n data-vibe={ComponentVibeId.COLOR_PICKER}\n />\n </DialogContentContainer>\n );\n }\n);\n\ninterface ColorPickerStaticProps {\n sizes: typeof BaseSizes;\n colorStyles: typeof ColorStyleEnum;\n colorSizes: typeof BaseSizes;\n colorShapes: typeof ColorShapesEnum;\n}\n\nexport default withStaticProps<ColorPickerProps, ColorPickerStaticProps>(ColorPicker, {\n sizes: BaseSizes,\n colorStyles: ColorStyleEnum,\n colorSizes: BaseSizes,\n colorShapes: ColorShapesEnum\n});\n"],"names":["withStaticProps","forwardRef","_ref","ref","className","_ref$onSave","onSave","NOOP","_ref$value","value","noColorText","_ref$colorStyle","colorStyle","ColorIndicatorIcon","SelectedIndicatorIcon","shouldRenderIndicatorWithoutBackground","_ref$NoColorIcon","NoColorIcon","NoColor","_ref$isBlackListMode","isBlackListMode","_ref$colorsList","colorsList","isMultiselect","_ref$colorSize","colorSize","_ref$numberOfColorsIn","numberOfColorsInLine","DEFAULT_NUMBER_OF_COLORS_IN_LINE","focusOnMount","_ref$colorShape","colorShape","forceUseRawColorList","showColorNameTooltip","id","dataTestId","componentRef","useRef","mergedRef","useMergeRef","onChange","useCallback","width","calculateColorPickerDialogWidth","React","createElement","DialogContentContainer","cx","styles","colorPicker","colorPickerDialogContent","ariaLabelledby","ariaDescribedby","style","ColorPickerContent","onValueChange","getTestId","ComponentDefaultTestId","COLOR_PICKER","ComponentVibeId","sizes","BaseSizes","colorStyles","ColorStyleEnum","colorSizes","colorShapes","ColorShapesEnum"],"mappings":"s5BA4FA,IA2EeA,EAAAA,EA3EKC,GAClB,SAAAC,EAuBEC,GACE,IAtBAC,EAASF,EAATE,UAASC,EAAAH,EACTI,OAAAA,OAASC,IAAHF,EAAGE,EAAIF,EAAAG,EAAAN,EACbO,MAAAA,OAAQ,IAAHD,EAAG,GAAEA,EACVE,EAAWR,EAAXQ,YAAWC,EAAAT,EACXU,WAAAA,OAAa,IAAHD,EAAG,UAASA,EACtBE,EAAkBX,EAAlBW,mBACAC,EAAqBZ,EAArBY,sBACAC,EAAsCb,EAAtCa,uCAAsCC,EAAAd,EACtCe,YAAAA,OAAcC,IAAHF,EAAGE,EAAOF,EAAAG,EAAAjB,EACrBkB,gBAAAA,OAAkB,IAAHD,GAAOA,EAAAE,EAAAnB,EACtBoB,WAAAA,OAAa,IAAHD,EAAG,GAAEA,EACfE,EAAarB,EAAbqB,cAAaC,EAAAtB,EACbuB,UAAAA,OAAY,IAAHD,EAAG,SAAQA,EAAAE,EAAAxB,EACpByB,qBAAAA,OAAuBC,IAAHF,EAAGE,EAAgCF,EACvDG,EAAY3B,EAAZ2B,aAAYC,EAAA5B,EACZ6B,WAAAA,OAAa,IAAHD,EAAG,SAAQA,EACrBE,EAAoB9B,EAApB8B,qBACAC,EAAoB/B,EAApB+B,qBACAC,EAAEhC,EAAFgC,GACeC,EAAUjC,EAAzB,eAIIkC,EAAeC,EAAO,MACtBC,EAAYC,EAAYpC,EAAKiC,GAE7BI,EAAWC,EAAYnC,EAAQ,CAACA,IAEhCoC,EAAQC,EAAgClB,EAAwBE,GAEtE,OACEiB,EAAAC,cAACC,EAAsB,CACrB3C,IAAKmC,EACLlC,UAAW2C,EAAGC,EAAOC,YAAaD,EAAOE,yBAA0B9C,GACnE+C,eAAe,sBACfC,gBAAgB,aAChBC,MAAO,CAAEX,MAAAA,IAETE,EAACC,cAAAS,GACCC,cAAef,EACf/B,MAAOA,EACPC,YAAaA,EACbK,uCAAwCF,GAAsBE,EAC9DH,WAAYA,EACZC,mBAAoBA,EACpBC,sBAAuBA,EACvBG,YAAaA,EACbK,WAAYA,EACZF,gBAAiBA,EACjBG,cAAeA,EACfE,UAAWA,EACXE,qBAAsBA,EACtBE,aAAcA,EACdE,WAAYA,EACZC,qBAAsBA,EACtBC,qBAAsBA,EACtBC,GAAIA,EAAE,cACOC,GAAcqB,EAAUC,EAAuBC,aAAcxB,GAC/D,YAAAyB,EAAgBD,eAInC,IAUoF,CACpFE,MAAOC,EACPC,YAAaC,EACbC,WAAYH,EACZI,YAAaC"}
1
+ {"version":3,"file":"ColorPicker.js","sources":["../../../../../src/components/ColorPicker/ColorPicker.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport React, { forwardRef, useCallback, useRef } from \"react\";\nimport { BaseSizes } from \"../../constants\";\nimport useMergeRef from \"../../hooks/useMergeRef\";\nimport DialogContentContainer from \"../DialogContentContainer/DialogContentContainer\";\nimport { ColorStyle as ColorStyleEnum } from \"../../utils/colors-vars-map\";\nimport { NoColor } from \"@vibe/icons\";\nimport ColorPickerContent from \"./components/ColorPickerContent/ColorPickerContent\";\nimport { ColorShapes as ColorShapesEnum, DEFAULT_NUMBER_OF_COLORS_IN_LINE } from \"./ColorPickerConstants\";\nimport {\n type ColorShapes,\n type ColorPickerSizes,\n type ColorPickerValue,\n type ColorPickerArrayValueOnly\n} from \"./ColorPicker.types\";\nimport { calculateColorPickerDialogWidth } from \"./services/ColorPickerStyleService\";\nimport { type VibeComponentProps, type SubIcon, withStaticProps } from \"../../types\";\nimport { NOOP } from \"../../utils/function-utils\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport styles from \"./ColorPicker.module.scss\";\nimport { type ColorStyle } from \"../../types/Colors\";\nimport { ComponentVibeId } from \"../../tests/constants\";\n\nexport interface ColorPickerProps extends VibeComponentProps {\n /**\n * The selected color(s).\n */\n value?: ColorPickerValue;\n /**\n * Callback fired when the selected color(s) change.\n */\n onSave?: (value: ColorPickerArrayValueOnly) => void;\n /**\n * Icon displayed as an indicator inside the color.\n */\n ColorIndicatorIcon?: SubIcon;\n /**\n * Icon displayed when a color is selected.\n */\n SelectedIndicatorIcon?: SubIcon;\n /**\n * Icon used for clearing the color selection.\n */\n NoColorIcon?: SubIcon;\n /**\n * The style applied to the colors.\n */\n colorStyle?: ColorStyle;\n /**\n * Text displayed for the \"no color\" option.\n */\n noColorText?: string;\n /**\n * If true, renders the color indicator without a background.\n */\n shouldRenderIndicatorWithoutBackground?: boolean;\n /**\n * If true, treats the color list as a blacklist rather than a whitelist.\n */\n isBlackListMode?: boolean;\n /**\n * The list of colors available for selection.\n */\n colorsList?: ColorPickerArrayValueOnly;\n /**\n * If true, allows selecting multiple colors.\n */\n isMultiselect?: boolean;\n /**\n * The size of the color items.\n */\n colorSize?: ColorPickerSizes;\n /**\n * The number of colors displayed per row.\n */\n numberOfColorsInLine?: number;\n /**\n * If true, the first color is focused when the component mounts.\n */\n focusOnMount?: boolean;\n /**\n * The shape of the color items.\n */\n colorShape?: ColorShapes;\n /**\n * Used to force the component render the colorList prop as is. Usually, this flag should not be used. It's intended only for edge cases.\n * Usually, only \"monday colors\" will be rendered (unless blacklist mode is used). This flag will override this behavior.\n */\n forceUseRawColorList?: boolean;\n /**\n * Used to enable color name tooltip on each color in the component.\n * When \"tooltipContentByColor\" is supplied, it will override the color name tooltip.\n *\n */\n showColorNameTooltip?: boolean;\n}\n\nconst ColorPicker = forwardRef(\n (\n {\n className,\n onSave = NOOP,\n value = \"\",\n noColorText,\n colorStyle = \"regular\",\n ColorIndicatorIcon,\n SelectedIndicatorIcon,\n shouldRenderIndicatorWithoutBackground,\n NoColorIcon = NoColor,\n isBlackListMode = true,\n colorsList = [],\n isMultiselect,\n colorSize = \"medium\",\n numberOfColorsInLine = DEFAULT_NUMBER_OF_COLORS_IN_LINE,\n focusOnMount,\n colorShape = \"square\",\n forceUseRawColorList,\n showColorNameTooltip,\n id,\n \"data-testid\": dataTestId\n }: ColorPickerProps,\n ref: React.ForwardedRef<HTMLElement>\n ) => {\n const componentRef = useRef(null);\n const mergedRef = useMergeRef(ref, componentRef);\n\n const onChange = useCallback(onSave, [onSave]);\n\n const width = calculateColorPickerDialogWidth(colorSize as BaseSizes, numberOfColorsInLine);\n\n return (\n <DialogContentContainer\n ref={mergedRef}\n className={cx(styles.colorPicker, styles.colorPickerDialogContent, className)}\n ariaLabelledby=\"Color Picker Dialog\"\n ariaDescribedby=\"Pick color\"\n style={{ width }}\n >\n <ColorPickerContent\n onValueChange={onChange}\n value={value}\n noColorText={noColorText}\n shouldRenderIndicatorWithoutBackground={ColorIndicatorIcon && shouldRenderIndicatorWithoutBackground}\n colorStyle={colorStyle}\n ColorIndicatorIcon={ColorIndicatorIcon}\n SelectedIndicatorIcon={SelectedIndicatorIcon}\n NoColorIcon={NoColorIcon}\n colorsList={colorsList}\n isBlackListMode={isBlackListMode}\n isMultiselect={isMultiselect}\n colorSize={colorSize}\n numberOfColorsInLine={numberOfColorsInLine}\n focusOnMount={focusOnMount}\n colorShape={colorShape}\n forceUseRawColorList={forceUseRawColorList}\n showColorNameTooltip={showColorNameTooltip}\n id={id}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.COLOR_PICKER, id)}\n data-vibe={ComponentVibeId.COLOR_PICKER}\n />\n </DialogContentContainer>\n );\n }\n);\n\ninterface ColorPickerStaticProps {\n sizes: typeof BaseSizes;\n colorStyles: typeof ColorStyleEnum;\n colorSizes: typeof BaseSizes;\n colorShapes: typeof ColorShapesEnum;\n}\n\nexport default withStaticProps<ColorPickerProps, ColorPickerStaticProps>(ColorPicker, {\n sizes: BaseSizes,\n colorStyles: ColorStyleEnum,\n colorSizes: BaseSizes,\n colorShapes: ColorShapesEnum\n});\n"],"names":["withStaticProps","forwardRef","_ref","ref","className","_ref$onSave","onSave","NOOP","_ref$value","value","noColorText","_ref$colorStyle","colorStyle","ColorIndicatorIcon","SelectedIndicatorIcon","shouldRenderIndicatorWithoutBackground","_ref$NoColorIcon","NoColorIcon","NoColor","_ref$isBlackListMode","isBlackListMode","_ref$colorsList","colorsList","isMultiselect","_ref$colorSize","colorSize","_ref$numberOfColorsIn","numberOfColorsInLine","DEFAULT_NUMBER_OF_COLORS_IN_LINE","focusOnMount","_ref$colorShape","colorShape","forceUseRawColorList","showColorNameTooltip","id","dataTestId","componentRef","useRef","mergedRef","useMergeRef","onChange","useCallback","width","calculateColorPickerDialogWidth","React","createElement","DialogContentContainer","cx","styles","colorPicker","colorPickerDialogContent","ariaLabelledby","ariaDescribedby","style","ColorPickerContent","onValueChange","getTestId","ComponentDefaultTestId","COLOR_PICKER","ComponentVibeId","sizes","BaseSizes","colorStyles","ColorStyleEnum","colorSizes","colorShapes","ColorShapesEnum"],"mappings":"s5BAiGA,IA2EeA,EAAAA,EA3EKC,GAClB,SAAAC,EAuBEC,GACE,IAtBAC,EAASF,EAATE,UAASC,EAAAH,EACTI,OAAAA,OAASC,IAAHF,EAAGE,EAAIF,EAAAG,EAAAN,EACbO,MAAAA,OAAQ,IAAHD,EAAG,GAAEA,EACVE,EAAWR,EAAXQ,YAAWC,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xB,GAC/D,YAAAyB,EAAgBD,eAInC,IAUoF,CACpFE,MAAOC,EACPC,YAAaC,EACbC,WAAYH,EACZI,YAAaC"}
@@ -1,2 +1,2 @@
1
- var e={colorPicker:"colorPicker",colorPickerDialogContent:"colorPickerDialogContent"};!function(e){const t="s_id-ffacbf9b6446_3_58_0";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const o=document.createElement("style");o.id=t,n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".colorPicker.colorPickerDialogContent {\n z-index: 1;\n padding: 12px;\n display: flex;\n justify-content: center;\n align-items: center;\n}");export{e as default};
1
+ var e={colorPicker:"colorPicker",colorPickerDialogContent:"colorPickerDialogContent"};!function(e){const t="s_id-ffacbf9b6446_3_58_1";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const o=document.createElement("style");o.id=t,n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".colorPicker.colorPickerDialogContent {\n z-index: 1;\n padding: 12px;\n display: flex;\n justify-content: center;\n align-items: center;\n}");export{e as default};
2
2
  //# sourceMappingURL=ColorPicker.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPickerConstants.js","sources":["../../../../../src/components/ColorPicker/ColorPickerConstants.ts"],"sourcesContent":["import { BaseSizes, SIZES } from \"../../constants/sizes\";\n\nexport const DEFAULT_NUMBER_OF_COLORS_IN_LINE = 5;\n\nexport const COLOR_SIZES: Record<BaseSizes, number> = {\n [SIZES.SMALL]: 24,\n [SIZES.MEDIUM]: 32,\n [SIZES.LARGE]: 40\n};\n\nexport const COLOR_PADDING = 8;\nexport const DIALOG_WIDTH_PADDING = 24;\n\n/**\n * @deprecated\n */\nexport enum ColorShapes {\n SQUARE = \"square\",\n CIRCLE = \"circle\"\n}\n"],"names":["ColorShapes","DEFAULT_NUMBER_OF_COLORS_IN_LINE","COLOR_SIZES","_defineProperty","SIZES","SMALL","MEDIUM","LARGE","COLOR_PADDING","DIALOG_WIDTH_PADDING"],"mappings":"iIAEO,IAcKA,EAdCC,EAAmC,EAEnCC,EAAWC,EAAAA,EAAAA,EAAA,CAAA,EACrBC,EAAMC,MAAQ,IACdD,EAAME,OAAS,IACfF,EAAMG,MAAQ,IAGJC,EAAgB,EAChBC,EAAuB,IAKpC,SAAYT,GACVA,EAAA,OAAA,SACAA,EAAA,OAAA,QACD,CAHD,CAAYA,IAAAA,EAGX,CAAA"}
1
+ {"version":3,"file":"ColorPickerConstants.js","sources":["../../../../../src/components/ColorPicker/ColorPickerConstants.ts"],"sourcesContent":["import { type BaseSizes, SIZES } from \"../../constants/sizes\";\n\nexport const DEFAULT_NUMBER_OF_COLORS_IN_LINE = 5;\n\nexport const COLOR_SIZES: Record<BaseSizes, number> = {\n [SIZES.SMALL]: 24,\n [SIZES.MEDIUM]: 32,\n [SIZES.LARGE]: 40\n};\n\nexport const COLOR_PADDING = 8;\nexport const DIALOG_WIDTH_PADDING = 24;\n\n/**\n * @deprecated\n */\nexport enum ColorShapes {\n SQUARE = \"square\",\n CIRCLE = \"circle\"\n}\n"],"names":["ColorShapes","DEFAULT_NUMBER_OF_COLORS_IN_LINE","COLOR_SIZES","_defineProperty","SIZES","SMALL","MEDIUM","LARGE","COLOR_PADDING","DIALOG_WIDTH_PADDING"],"mappings":"iIAEO,IAcKA,EAdCC,EAAmC,EAEnCC,EAAWC,EAAAA,EAAAA,EAAA,CAAA,EACrBC,EAAMC,MAAQ,IACdD,EAAME,OAAS,IACfF,EAAMG,MAAQ,IAGJC,EAAgB,EAChBC,EAAuB,IAKpC,SAAYT,GACVA,EAAA,OAAA,SACAA,EAAA,OAAA,QACD,CAHD,CAAYA,IAAAA,EAGX,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPickerClearButton.js","sources":["../../../../../../../src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport useGridKeyboardNavigation from \"../../../../hooks/useGridKeyboardNavigation/useGridKeyboardNavigation\";\nimport Button from \"../../../Button/Button\";\nimport { VibeComponentProps, SubIcon } from \"../../../../types\";\nimport { NOOP } from \"../../../../utils/function-utils\";\nimport styles from \"./ColorPickerClearButton.module.scss\";\n\nexport interface ColorPickerClearButtonProps extends VibeComponentProps {\n /**\n * Callback fired when the clear button is clicked.\n */\n onClick: () => void;\n /**\n * The text displayed inside the button.\n */\n text?: string;\n /**\n * The icon displayed inside the button.\n */\n Icon: SubIcon;\n}\n\nconst ColorPickerClearButton = forwardRef(\n ({ onClick, text, Icon }: ColorPickerClearButtonProps, ref: React.ForwardedRef<HTMLElement>) => {\n const { onSelectionAction } = useGridKeyboardNavigation({\n ref: ref as React.MutableRefObject<HTMLElement>,\n itemsCount: 1,\n numberOfItemsInLine: 1,\n onItemClicked: onClick,\n getItemByIndex: NOOP //hack - we don't really have a grid, it's just for keyboard navigation outside the clear button\n });\n\n return (\n <Button\n ref={ref}\n size=\"small\"\n kind=\"tertiary\"\n onClick={() => onSelectionAction(-1)} //hack - we don't really have a grid, it's just for keyboard navigation outside the clear button\n blurOnMouseUp={false}\n className={styles.clearColorButton}\n >\n <Icon size=\"16\" className={styles.clearColorIcon} />\n {text || \"Clear\"}\n </Button>\n );\n }\n);\n\nexport default ColorPickerClearButton;\n"],"names":["ColorPickerClearButton","forwardRef","_ref","ref","text","Icon","onSelectionAction","useGridKeyboardNavigation","itemsCount","numberOfItemsInLine","onItemClicked","onClick","getItemByIndex","NOOP","React","createElement","Button","size","kind","blurOnMouseUp","className","styles","clearColorButton","clearColorIcon"],"mappings":"yRAsBMA,IAAAA,EAAyBC,GAC7B,SAAAC,EAAuDC,GAAwC,IAAnFC,EAAIF,EAAJE,KAAMC,EAAIH,EAAJG,KACRC,EAAsBC,EAA0B,CACtDJ,IAAKA,EACLK,WAAY,EACZC,oBAAqB,EACrBC,cALMR,EAAPS,QAMCC,eAAgBC,IALVP,kBAQR,OACEQ,EAAAC,cAACC,EAAM,CACLb,IAAKA,EACLc,KAAK,QACLC,KAAK,WACLP,QAAS,WAAA,OAAML,GAAmB,EAAE,EACpCa,eAAe,EACfC,UAAWC,EAAOC,kBAElBR,EAACC,cAAAV,EAAK,CAAAY,KAAK,KAAKG,UAAWC,EAAOE,iBACjCnB,GAAQ,QAGf"}
1
+ {"version":3,"file":"ColorPickerClearButton.js","sources":["../../../../../../../src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport useGridKeyboardNavigation from \"../../../../hooks/useGridKeyboardNavigation/useGridKeyboardNavigation\";\nimport Button from \"../../../Button/Button\";\nimport { type VibeComponentProps, type SubIcon } from \"../../../../types\";\nimport { NOOP } from \"../../../../utils/function-utils\";\nimport styles from \"./ColorPickerClearButton.module.scss\";\n\nexport interface ColorPickerClearButtonProps extends VibeComponentProps {\n /**\n * Callback fired when the clear button is clicked.\n */\n onClick: () => void;\n /**\n * The text displayed inside the button.\n */\n text?: string;\n /**\n * The icon displayed inside the button.\n */\n Icon: SubIcon;\n}\n\nconst ColorPickerClearButton = forwardRef(\n ({ onClick, text, Icon }: ColorPickerClearButtonProps, ref: React.ForwardedRef<HTMLElement>) => {\n const { onSelectionAction } = useGridKeyboardNavigation({\n ref: ref as React.MutableRefObject<HTMLElement>,\n itemsCount: 1,\n numberOfItemsInLine: 1,\n onItemClicked: onClick,\n getItemByIndex: NOOP //hack - we don't really have a grid, it's just for keyboard navigation outside the clear button\n });\n\n return (\n <Button\n ref={ref}\n size=\"small\"\n kind=\"tertiary\"\n onClick={() => onSelectionAction(-1)} //hack - we don't really have a grid, it's just for keyboard navigation outside the clear button\n blurOnMouseUp={false}\n className={styles.clearColorButton}\n >\n <Icon size=\"16\" className={styles.clearColorIcon} />\n {text || \"Clear\"}\n </Button>\n );\n }\n);\n\nexport default ColorPickerClearButton;\n"],"names":["ColorPickerClearButton","forwardRef","_ref","ref","text","Icon","onSelectionAction","useGridKeyboardNavigation","itemsCount","numberOfItemsInLine","onItemClicked","onClick","getItemByIndex","NOOP","React","createElement","Button","size","kind","blurOnMouseUp","className","styles","clearColorButton","clearColorIcon"],"mappings":"yRAsBMA,IAAAA,EAAyBC,GAC7B,SAAAC,EAAuDC,GAAwC,IAAnFC,EAAIF,EAAJE,KAAMC,EAAIH,EAAJG,KACRC,EAAsBC,EAA0B,CACtDJ,IAAKA,EACLK,WAAY,EACZC,oBAAqB,EACrBC,cALMR,EAAPS,QAMCC,eAAgBC,IALVP,kBAQR,OACEQ,EAAAC,cAACC,EAAM,CACLb,IAAKA,EACLc,KAAK,QACLC,KAAK,WACLP,QAAS,WAAA,OAAML,GAAmB,EAAE,EACpCa,eAAe,EACfC,UAAWC,EAAOC,kBAElBR,EAACC,cAAAV,EAAK,CAAAY,KAAK,KAAKG,UAAWC,EAAOE,iBACjCnB,GAAQ,QAGf"}
@@ -1,2 +1,2 @@
1
- var e={clearColorIcon:"clearColorIcon",clearColorButton:"clearColorButton"};!function(e){const n="s_id-774e60a23ee3_3_58_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const o=document.createElement("style");o.id=n,t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".clearColorIcon {\n margin-right: var(--spacing-small);\n}\n\n.clearColorButton {\n margin-top: var(--spacing-small);\n}");export{e as default};
1
+ var e={clearColorIcon:"clearColorIcon",clearColorButton:"clearColorButton"};!function(e){const n="s_id-774e60a23ee3_3_58_1";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const o=document.createElement("style");o.id=n,t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".clearColorIcon {\n margin-right: var(--spacing-small);\n}\n\n.clearColorButton {\n margin-top: var(--spacing-small);\n}");export{e as default};
2
2
  //# sourceMappingURL=ColorPickerClearButton.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPickerColorsGrid.js","sources":["../../../../../../../src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.tsx"],"sourcesContent":["import React, { forwardRef, useCallback } from \"react\";\nimport useGridKeyboardNavigation from \"../../../../hooks/useGridKeyboardNavigation/useGridKeyboardNavigation\";\nimport ColorPickerItemComponent from \"../ColorPickerItemComponent/ColorPickerItemComponent\";\nimport { CONTENT_COLORS_VALUES } from \"../../../../utils/colors-vars-map\";\nimport { ColorPickerArrayValueOnly, ColorPickerValueOnly } from \"../../ColorPicker.types\";\nimport { ColorShapes, ColorPickerSizes } from \"../../ColorPicker.types\";\nimport { SubIcon, VibeComponentProps } from \"../../../../types\";\nimport styles from \"./ColorPickerColorsGrid.module.scss\";\nimport { ColorStyle } from \"../../../../types\";\n\nconst formatColorNameForTooltip = (color: ColorPickerValueOnly) => {\n return color.replace(/-|_/g, \" \").replace(/(?:^|\\s)\\S/g, function (a) {\n return a.toUpperCase();\n });\n};\n\nconst calculateColorTooltip = (\n color: ColorPickerValueOnly,\n tooltipContentByColor?: Partial<Record<CONTENT_COLORS_VALUES, string> & Record<string, string>>\n) => {\n if (tooltipContentByColor && tooltipContentByColor[color]) {\n return tooltipContentByColor[color];\n } else {\n return formatColorNameForTooltip(color);\n }\n};\n\nexport interface ColorPickerColorsGridProps extends VibeComponentProps {\n /**\n * Callback fired when a color is clicked.\n */\n onColorClicked?: (color: ColorPickerValueOnly) => void;\n /**\n * The list of colors to be displayed.\n */\n colorsToRender?: ColorPickerArrayValueOnly;\n /**\n * Icon displayed as an indicator inside the color.\n */\n ColorIndicatorIcon?: SubIcon;\n /**\n * Icon displayed when a color is selected.\n */\n SelectedIndicatorIcon?: SubIcon;\n /**\n * The style applied to the colors.\n */\n colorStyle?: ColorStyle;\n /**\n * The currently selected color or colors.\n */\n value?: string | string[];\n /**\n * If true, renders the color indicator without a background.\n */\n shouldRenderIndicatorWithoutBackground?: boolean;\n /**\n * The size of the color items.\n */\n colorSize?: ColorPickerSizes;\n /**\n * The number of colors per row.\n */\n numberOfColorsInLine?: number;\n /**\n * Custom tooltip content for specific colors.\n */\n tooltipContentByColor?: Partial<Record<CONTENT_COLORS_VALUES, string> & Record<string, string>>;\n /**\n * If true, the first color is focused when the component mounts.\n */\n focusOnMount?: boolean;\n /**\n * The shape of the color items.\n */\n colorShape?: ColorShapes;\n /**\n * If true, displays a tooltip with the color name.\n */\n showColorNameTooltip?: boolean;\n}\n\nconst ColorPickerColorsGrid = forwardRef(\n (\n {\n onColorClicked,\n colorsToRender,\n numberOfColorsInLine,\n focusOnMount,\n value,\n colorStyle,\n ColorIndicatorIcon,\n shouldRenderIndicatorWithoutBackground,\n SelectedIndicatorIcon,\n colorSize,\n tooltipContentByColor,\n colorShape,\n showColorNameTooltip: showColorNameTooltip,\n id,\n \"data-testid\": dataTestId\n }: ColorPickerColorsGridProps,\n ref: React.ForwardedRef<HTMLUListElement>\n ) => {\n const getItemByIndex = useCallback((index: number) => colorsToRender[index], [colorsToRender]);\n\n const { activeIndex, onSelectionAction } = useGridKeyboardNavigation({\n focusOnMount,\n ref: ref as React.MutableRefObject<HTMLUListElement>,\n onItemClicked: onColorClicked,\n itemsCount: colorsToRender.length,\n numberOfItemsInLine: numberOfColorsInLine,\n entryFocusStrategy: \"first\",\n getItemByIndex\n });\n\n return (\n <ul className={styles.colorsGrid} ref={ref} tabIndex={0} id={id} data-testid={dataTestId} role=\"grid\">\n {colorsToRender.map((color, index) => {\n return (\n <ColorPickerItemComponent\n key={color}\n color={color}\n onColorClicked={() => onSelectionAction(index)}\n shouldRenderIndicatorWithoutBackground={ColorIndicatorIcon && shouldRenderIndicatorWithoutBackground}\n colorStyle={colorStyle}\n ColorIndicatorIcon={ColorIndicatorIcon}\n SelectedIndicatorIcon={SelectedIndicatorIcon}\n isSelected={Array.isArray(value) ? value.includes(color) : value === color}\n isActive={index === activeIndex}\n colorSize={colorSize}\n tooltipContent={showColorNameTooltip ? calculateColorTooltip(color, tooltipContentByColor) : undefined}\n colorShape={colorShape}\n />\n );\n })}\n </ul>\n );\n }\n);\n\nexport default ColorPickerColorsGrid;\n"],"names":["calculateColorTooltip","color","tooltipContentByColor","replace","a","toUpperCase","formatColorNameForTooltip","ColorPickerColorsGrid","forwardRef","_ref","ref","onColorClicked","colorsToRender","numberOfColorsInLine","focusOnMount","value","colorStyle","ColorIndicatorIcon","shouldRenderIndicatorWithoutBackground","SelectedIndicatorIcon","colorSize","colorShape","showColorNameTooltip","id","dataTestId","getItemByIndex","useCallback","index","_useGridKeyboardNavig","useGridKeyboardNavigation","onItemClicked","itemsCount","length","numberOfItemsInLine","entryFocusStrategy","activeIndex","onSelectionAction","React","createElement","className","styles","colorsGrid","tabIndex","role","map","ColorPickerItemComponent","key","isSelected","Array","isArray","includes","isActive","tooltipContent","undefined"],"mappings":"4QAUA,IAMMA,EAAwB,SAC5BC,EACAC,GAEA,OAAIA,GAAyBA,EAAsBD,GAC1CC,EAAsBD,GAXC,SAACA,GACjC,OAAOA,EAAME,QAAQ,OAAQ,KAAKA,QAAQ,eAAe,SAAUC,GACjE,OAAOA,EAAEC,aACX,GACF,CASWC,CAA0BL,EAErC,EAyDMM,EAAwBC,GAC5B,SAAAC,EAkBEC,GACE,IAjBAC,EAAcF,EAAdE,eACAC,EAAcH,EAAdG,eACAC,EAAoBJ,EAApBI,qBACAC,EAAYL,EAAZK,aACAC,EAAKN,EAALM,MACAC,EAAUP,EAAVO,WACAC,EAAkBR,EAAlBQ,mBACAC,EAAsCT,EAAtCS,uCACAC,EAAqBV,EAArBU,sBACAC,EAASX,EAATW,UACAlB,EAAqBO,EAArBP,sBACAmB,EAAUZ,EAAVY,WACsBC,EAAoBb,EAA1Ca,qBACAC,EAAEd,EAAFc,GACeC,EAAUf,EAAzB,eAIIgB,EAAiBC,GAAY,SAACC,GAAa,OAAKf,EAAee,KAAQ,CAACf,IAE9EgB,EAA2CC,EAA0B,CACnEf,aAAAA,EACAJ,IAAKA,EACLoB,cAAenB,EACfoB,WAAYnB,EAAeoB,OAC3BC,oBAAqBpB,EACrBqB,mBAAoB,QACpBT,eAAAA,IAPMU,EAAWP,EAAXO,YAAaC,EAAiBR,EAAjBQ,kBAUrB,OACEC,EAAAC,cAAA,KAAA,CAAIC,UAAWC,EAAOC,WAAY/B,IAAKA,EAAKgC,SAAU,EAAGnB,GAAIA,gBAAiBC,EAAYmB,KAAK,QAC5F/B,EAAegC,KAAI,SAAC3C,EAAO0B,GAC1B,OACEU,gBAACQ,EAAwB,CACvBC,IAAK7C,EACLA,MAAOA,EACPU,eAAgB,WAAA,OAAMyB,EAAkBT,EAAM,EAC9CT,uCAAwCD,GAAsBC,EAC9DF,WAAYA,EACZC,mBAAoBA,EACpBE,sBAAuBA,EACvB4B,WAAYC,MAAMC,QAAQlC,GAASA,EAAMmC,SAASjD,GAASc,IAAUd,EACrEkD,SAAUxB,IAAUQ,EACpBf,UAAWA,EACXgC,eAAgB9B,EAAuBtB,EAAsBC,EAAOC,QAAyBmD,EAC7FhC,WAAYA,GAGjB,IAGP"}
1
+ {"version":3,"file":"ColorPickerColorsGrid.js","sources":["../../../../../../../src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.tsx"],"sourcesContent":["import React, { forwardRef, useCallback } from \"react\";\nimport useGridKeyboardNavigation from \"../../../../hooks/useGridKeyboardNavigation/useGridKeyboardNavigation\";\nimport ColorPickerItemComponent from \"../ColorPickerItemComponent/ColorPickerItemComponent\";\nimport { type CONTENT_COLORS_VALUES } from \"../../../../utils/colors-vars-map\";\nimport { type ColorPickerArrayValueOnly, type ColorPickerValueOnly } from \"../../ColorPicker.types\";\nimport { type ColorShapes, type ColorPickerSizes } from \"../../ColorPicker.types\";\nimport { type SubIcon, type VibeComponentProps } from \"../../../../types\";\nimport styles from \"./ColorPickerColorsGrid.module.scss\";\nimport { type ColorStyle } from \"../../../../types\";\n\nconst formatColorNameForTooltip = (color: ColorPickerValueOnly) => {\n return color.replace(/-|_/g, \" \").replace(/(?:^|\\s)\\S/g, function (a) {\n return a.toUpperCase();\n });\n};\n\nconst calculateColorTooltip = (\n color: ColorPickerValueOnly,\n tooltipContentByColor?: Partial<Record<CONTENT_COLORS_VALUES, string> & Record<string, string>>\n) => {\n if (tooltipContentByColor && tooltipContentByColor[color]) {\n return tooltipContentByColor[color];\n } else {\n return formatColorNameForTooltip(color);\n }\n};\n\nexport interface ColorPickerColorsGridProps extends VibeComponentProps {\n /**\n * Callback fired when a color is clicked.\n */\n onColorClicked?: (color: ColorPickerValueOnly) => void;\n /**\n * The list of colors to be displayed.\n */\n colorsToRender?: ColorPickerArrayValueOnly;\n /**\n * Icon displayed as an indicator inside the color.\n */\n ColorIndicatorIcon?: SubIcon;\n /**\n * Icon displayed when a color is selected.\n */\n SelectedIndicatorIcon?: SubIcon;\n /**\n * The style applied to the colors.\n */\n colorStyle?: ColorStyle;\n /**\n * The currently selected color or colors.\n */\n value?: string | string[];\n /**\n * If true, renders the color indicator without a background.\n */\n shouldRenderIndicatorWithoutBackground?: boolean;\n /**\n * The size of the color items.\n */\n colorSize?: ColorPickerSizes;\n /**\n * The number of colors per row.\n */\n numberOfColorsInLine?: number;\n /**\n * Custom tooltip content for specific colors.\n */\n tooltipContentByColor?: Partial<Record<CONTENT_COLORS_VALUES, string> & Record<string, string>>;\n /**\n * If true, the first color is focused when the component mounts.\n */\n focusOnMount?: boolean;\n /**\n * The shape of the color items.\n */\n colorShape?: ColorShapes;\n /**\n * If true, displays a tooltip with the color name.\n */\n showColorNameTooltip?: boolean;\n}\n\nconst ColorPickerColorsGrid = forwardRef(\n (\n {\n onColorClicked,\n colorsToRender,\n numberOfColorsInLine,\n focusOnMount,\n value,\n colorStyle,\n ColorIndicatorIcon,\n shouldRenderIndicatorWithoutBackground,\n SelectedIndicatorIcon,\n colorSize,\n tooltipContentByColor,\n colorShape,\n showColorNameTooltip: showColorNameTooltip,\n id,\n \"data-testid\": dataTestId\n }: ColorPickerColorsGridProps,\n ref: React.ForwardedRef<HTMLUListElement>\n ) => {\n const getItemByIndex = useCallback((index: number) => colorsToRender[index], [colorsToRender]);\n\n const { activeIndex, onSelectionAction } = useGridKeyboardNavigation({\n focusOnMount,\n ref: ref as React.MutableRefObject<HTMLUListElement>,\n onItemClicked: onColorClicked,\n itemsCount: colorsToRender.length,\n numberOfItemsInLine: numberOfColorsInLine,\n entryFocusStrategy: \"first\",\n getItemByIndex\n });\n\n return (\n <ul className={styles.colorsGrid} ref={ref} tabIndex={0} id={id} data-testid={dataTestId} role=\"grid\">\n {colorsToRender.map((color, index) => {\n return (\n <ColorPickerItemComponent\n key={color}\n color={color}\n onColorClicked={() => onSelectionAction(index)}\n shouldRenderIndicatorWithoutBackground={ColorIndicatorIcon && shouldRenderIndicatorWithoutBackground}\n colorStyle={colorStyle}\n ColorIndicatorIcon={ColorIndicatorIcon}\n SelectedIndicatorIcon={SelectedIndicatorIcon}\n isSelected={Array.isArray(value) ? value.includes(color) : value === color}\n isActive={index === activeIndex}\n colorSize={colorSize}\n tooltipContent={showColorNameTooltip ? calculateColorTooltip(color, tooltipContentByColor) : undefined}\n colorShape={colorShape}\n />\n );\n })}\n </ul>\n );\n }\n);\n\nexport default ColorPickerColorsGrid;\n"],"names":["calculateColorTooltip","color","tooltipContentByColor","replace","a","toUpperCase","formatColorNameForTooltip","ColorPickerColorsGrid","forwardRef","_ref","ref","onColorClicked","colorsToRender","numberOfColorsInLine","focusOnMount","value","colorStyle","ColorIndicatorIcon","shouldRenderIndicatorWithoutBackground","SelectedIndicatorIcon","colorSize","colorShape","showColorNameTooltip","id","dataTestId","getItemByIndex","useCallback","index","_useGridKeyboardNavig","useGridKeyboardNavigation","onItemClicked","itemsCount","length","numberOfItemsInLine","entryFocusStrategy","activeIndex","onSelectionAction","React","createElement","className","styles","colorsGrid","tabIndex","role","map","ColorPickerItemComponent","key","isSelected","Array","isArray","includes","isActive","tooltipContent","undefined"],"mappings":"4QAUA,IAMMA,EAAwB,SAC5BC,EACAC,GAEA,OAAIA,GAAyBA,EAAsBD,GAC1CC,EAAsBD,GAXC,SAACA,GACjC,OAAOA,EAAME,QAAQ,OAAQ,KAAKA,QAAQ,eAAe,SAAUC,GACjE,OAAOA,EAAEC,aACX,GACF,CASWC,CAA0BL,EAErC,EAyDMM,EAAwBC,GAC5B,SAAAC,EAkBEC,GACE,IAjBAC,EAAcF,EAAdE,eACAC,EAAcH,EAAdG,eACAC,EAAoBJ,EAApBI,qBACAC,EAAYL,EAAZK,aACAC,EAAKN,EAALM,MACAC,EAAUP,EAAVO,WACAC,EAAkBR,EAAlBQ,mBACAC,EAAsCT,EAAtCS,uCACAC,EAAqBV,EAArBU,sBACAC,EAASX,EAATW,UACAlB,EAAqBO,EAArBP,sBACAmB,EAAUZ,EAAVY,WACsBC,EAAoBb,EAA1Ca,qBACAC,EAAEd,EAAFc,GACeC,EAAUf,EAAzB,eAIIgB,EAAiBC,GAAY,SAACC,GAAa,OAAKf,EAAee,KAAQ,CAACf,IAE9EgB,EAA2CC,EAA0B,CACnEf,aAAAA,EACAJ,IAAKA,EACLoB,cAAenB,EACfoB,WAAYnB,EAAeoB,OAC3BC,oBAAqBpB,EACrBqB,mBAAoB,QACpBT,eAAAA,IAPMU,EAAWP,EAAXO,YAAaC,EAAiBR,EAAjBQ,kBAUrB,OACEC,EAAAC,cAAA,KAAA,CAAIC,UAAWC,EAAOC,WAAY/B,IAAKA,EAAKgC,SAAU,EAAGnB,GAAIA,gBAAiBC,EAAYmB,KAAK,QAC5F/B,EAAegC,KAAI,SAAC3C,EAAO0B,GAC1B,OACEU,gBAACQ,EAAwB,CACvBC,IAAK7C,EACLA,MAAOA,EACPU,eAAgB,WAAA,OAAMyB,EAAkBT,EAAM,EAC9CT,uCAAwCD,GAAsBC,EAC9DF,WAAYA,EACZC,mBAAoBA,EACpBE,sBAAuBA,EACvB4B,WAAYC,MAAMC,QAAQlC,GAASA,EAAMmC,SAASjD,GAASc,IAAUd,EACrEkD,SAAUxB,IAAUQ,EACpBf,UAAWA,EACXgC,eAAgB9B,EAAuBtB,EAAsBC,EAAOC,QAAyBmD,EAC7FhC,WAAYA,GAGjB,IAGP"}
@@ -1,2 +1,2 @@
1
- var e={colorsGrid:"colorsGrid"};!function(e){const n="s_id-0a5f0eb78ee4_3_58_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const d=document.createElement("style");d.id=n,t.firstChild?t.insertBefore(d,t.firstChild):t.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".colorsGrid {\n padding: 0;\n outline: none;\n display: flex;\n flex-wrap: wrap;\n}");export{e as default};
1
+ var e={colorsGrid:"colorsGrid"};!function(e){const n="s_id-0a5f0eb78ee4_3_58_1";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const d=document.createElement("style");d.id=n,t.firstChild?t.insertBefore(d,t.firstChild):t.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".colorsGrid {\n padding: 0;\n outline: none;\n display: flex;\n flex-wrap: wrap;\n}");export{e as default};
2
2
  //# sourceMappingURL=ColorPickerColorsGrid.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPickerContent.js","sources":["../../../../../../../src/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.tsx"],"sourcesContent":["import { difference as _difference, intersection as _intersection } from \"lodash-es\";\nimport React, { forwardRef, useCallback, useMemo, useRef } from \"react\";\nimport { BaseSizes } from \"../../../../constants\";\nimport { ColorStyle as ColorStyleEnum, CONTENT_COLORS_VALUES, contentColors } from \"../../../../utils/colors-vars-map\";\nimport { NoColor } from \"@vibe/icons\";\nimport { ColorShapes as ColorShapesEnum, DEFAULT_NUMBER_OF_COLORS_IN_LINE } from \"../../ColorPickerConstants\";\nimport { ColorShapes, ColorPickerSizes, ColorPickerValue, ColorPickerArrayValueOnly } from \"../../ColorPicker.types\";\nimport { calculateColorPickerWidth } from \"../../services/ColorPickerStyleService\";\nimport {\n GridKeyboardNavigationContext,\n useGridKeyboardNavigationContext\n} from \"../../../GridKeyboardNavigationContext\";\nimport ColorPickerClearButton from \"./ColorPickerClearButton\";\nimport ColorPickerColorsGrid from \"./ColorPickerColorsGrid\";\nimport { VibeComponentProps, SubIcon, withStaticProps } from \"../../../../types\";\nimport useMergeRef from \"../../../../hooks/useMergeRef\";\nimport { ColorStyle } from \"../../../../types\";\n\nexport interface ColorPickerContentProps extends VibeComponentProps {\n /**\n * The selected color(s).\n */\n value: ColorPickerValue;\n /**\n * Callback fired when the selected color(s) change.\n */\n onValueChange: (value: ColorPickerArrayValueOnly) => void;\n /**\n * The list of colors available for selection.\n */\n colorsList: ColorPickerArrayValueOnly;\n /**\n * Icon displayed as an indicator inside the color.\n */\n ColorIndicatorIcon?: SubIcon;\n /**\n * Icon displayed when a color is selected.\n */\n SelectedIndicatorIcon?: SubIcon;\n /**\n * Icon used for clearing the color selection.\n */\n NoColorIcon?: SubIcon;\n /**\n * The style applied to the colors.\n */\n colorStyle?: ColorStyle;\n /**\n * The size of the color items.\n */\n colorSize?: ColorPickerSizes;\n /**\n * The shape of the color items.\n */\n colorShape?: ColorShapes;\n /**\n * Custom tooltip content for specific colors.\n */\n tooltipContentByColor?: Partial<Record<CONTENT_COLORS_VALUES, string>>;\n /**\n * Text displayed for the \"no color\" option.\n */\n noColorText?: string;\n /**\n * If true, renders the color indicator without a background.\n */\n shouldRenderIndicatorWithoutBackground?: boolean;\n /**\n * If true, treats the color list as a blacklist rather than a whitelist.\n */\n isBlackListMode?: boolean;\n /**\n * The number of colors displayed per row.\n */\n numberOfColorsInLine?: number;\n /**\n * If true, the first color is focused when the component mounts.\n */\n focusOnMount?: boolean;\n /**\n * If true, allows selecting multiple colors.\n */\n isMultiselect?: boolean;\n /**\n * Used to force the component render the colorList prop as is. Usually, this flag should not be used. It's intended only for edge cases.\n * Usually, only \"monday colors\" will be rendered (unless blacklist mode is used). This flag will override this behavior.\n */\n forceUseRawColorList?: boolean;\n /**\n * Used to enable color name tooltip on each color in the component.\n * When \"tooltipContentByColor\" is supplied, it will override the color name tooltip.\n */\n showColorNameTooltip?: boolean;\n}\n\nconst ColorPickerContent = forwardRef(\n (\n {\n className,\n onValueChange,\n value,\n noColorText,\n colorStyle = \"regular\",\n ColorIndicatorIcon,\n SelectedIndicatorIcon,\n shouldRenderIndicatorWithoutBackground,\n NoColorIcon = NoColor,\n isBlackListMode = true,\n colorsList,\n isMultiselect,\n colorSize = BaseSizes.MEDIUM,\n numberOfColorsInLine = DEFAULT_NUMBER_OF_COLORS_IN_LINE,\n tooltipContentByColor = {},\n focusOnMount,\n colorShape = \"square\",\n forceUseRawColorList,\n showColorNameTooltip,\n id,\n \"data-testid\": dataTestId\n }: ColorPickerContentProps,\n ref: React.ForwardedRef<HTMLDivElement>\n ) => {\n const gridRef = useRef(null);\n const mergedRef = useMergeRef(ref, gridRef);\n const colorsRef = useRef(null);\n const buttonRef = useRef(null);\n\n const onClearButton = useCallback(() => {\n onValueChange(null);\n }, [onValueChange]);\n\n const colorsToRender = useMemo(() => {\n if (forceUseRawColorList) {\n return colorsList;\n }\n return isBlackListMode ? _difference(contentColors, colorsList) : _intersection(contentColors, colorsList);\n }, [forceUseRawColorList, isBlackListMode, colorsList]);\n\n const onColorClicked = useCallback(\n (color: CONTENT_COLORS_VALUES) => {\n if (!isMultiselect) {\n onValueChange([color]);\n return;\n }\n const colors = [...value];\n if (colors.includes(color)) {\n const indexInSelected = colors.indexOf(color);\n if (indexInSelected > -1) {\n colors.splice(indexInSelected, 1);\n }\n } else {\n colors.push(color);\n }\n onValueChange(colors);\n },\n [isMultiselect, onValueChange, value]\n );\n\n const positions = useMemo(() => [{ topElement: colorsRef, bottomElement: buttonRef }], []);\n const keyboardContext = useGridKeyboardNavigationContext(positions, gridRef);\n const width = calculateColorPickerWidth(colorSize as BaseSizes, numberOfColorsInLine);\n\n return (\n <div className={className} style={{ width }} ref={mergedRef} tabIndex={-1}>\n <GridKeyboardNavigationContext.Provider value={keyboardContext}>\n <ColorPickerColorsGrid\n ref={colorsRef}\n onColorClicked={onColorClicked}\n colorsToRender={colorsToRender}\n numberOfColorsInLine={numberOfColorsInLine}\n focusOnMount={focusOnMount}\n value={value}\n colorStyle={colorStyle}\n ColorIndicatorIcon={ColorIndicatorIcon}\n shouldRenderIndicatorWithoutBackground={shouldRenderIndicatorWithoutBackground}\n SelectedIndicatorIcon={SelectedIndicatorIcon}\n colorSize={colorSize}\n tooltipContentByColor={tooltipContentByColor}\n colorShape={colorShape}\n showColorNameTooltip={showColorNameTooltip}\n id={id}\n data-testid={dataTestId}\n />\n {noColorText && (\n <ColorPickerClearButton Icon={NoColorIcon} onClick={onClearButton} text={noColorText} ref={buttonRef} />\n )}\n </GridKeyboardNavigationContext.Provider>\n </div>\n );\n }\n);\n\ninterface ColorPickerContentStaticProps {\n sizes: typeof BaseSizes;\n colorStyles: typeof ColorStyleEnum;\n colorSizes: typeof BaseSizes;\n colorShapes: typeof ColorShapesEnum;\n}\n\nexport default withStaticProps<ColorPickerContentProps, ColorPickerContentStaticProps>(ColorPickerContent, {\n sizes: BaseSizes,\n colorStyles: ColorStyleEnum,\n colorSizes: BaseSizes,\n colorShapes: ColorShapesEnum\n});\n"],"names":["withStaticProps","forwardRef","_ref","ref","className","onValueChange","value","noColorText","_ref$colorStyle","colorStyle","ColorIndicatorIcon","SelectedIndicatorIcon","shouldRenderIndicatorWithoutBackground","_ref$NoColorIcon","NoColorIcon","NoColor","_ref$isBlackListMode","isBlackListMode","colorsList","isMultiselect","_ref$colorSize","colorSize","BaseSizes","MEDIUM","_ref$numberOfColorsIn","numberOfColorsInLine","DEFAULT_NUMBER_OF_COLORS_IN_LINE","_ref$tooltipContentBy","tooltipContentByColor","focusOnMount","_ref$colorShape","colorShape","forceUseRawColorList","showColorNameTooltip","id","dataTestId","gridRef","useRef","mergedRef","useMergeRef","colorsRef","buttonRef","onClearButton","useCallback","colorsToRender","useMemo","_difference","contentColors","_intersection","onColorClicked","color","colors","_toConsumableArray","includes","indexInSelected","indexOf","splice","push","positions","topElement","bottomElement","keyboardContext","useGridKeyboardNavigationContext","width","calculateColorPickerWidth","React","createElement","style","tabIndex","GridKeyboardNavigationContext","Provider","ColorPickerColorsGrid","ColorPickerClearButton","Icon","onClick","text","sizes","colorStyles","ColorStyleEnum","colorSizes","colorShapes","ColorShapesEnum"],"mappings":"88BA+FA,IAwGeA,EAAAA,EAxGYC,GACzB,SAAAC,EAwBEC,GACE,IAvBAC,EAASF,EAATE,UACAC,EAAaH,EAAbG,cACAC,EAAKJ,EAALI,MACAC,EAAWL,EAAXK,YAAWC,EAAAN,EACXO,WAAAA,OAAa,IAAHD,EAAG,UAASA,EACtBE,EAAkBR,EAAlBQ,mBACAC,EAAqBT,EAArBS,sBACAC,EAAsCV,EAAtCU,uCAAsCC,EAAAX,EACtCY,YAAAA,OAAcC,IAAHF,EAAGE,EAAOF,EAAAG,EAAAd,EACrBe,gBAAAA,OAAkB,IAAHD,GAAOA,EACtBE,EAAUhB,EAAVgB,WACAC,EAAajB,EAAbiB,cAAaC,EAAAlB,EACbmB,UAAAA,OAAS,IAAAD,EAAGE,EAAUC,OAAMH,EAAAI,EAAAtB,EAC5BuB,qBAAAA,OAAuBC,IAAHF,EAAGE,EAAgCF,EAAAG,EAAAzB,EACvD0B,sBAAAA,OAAqB,IAAAD,EAAG,CAAE,EAAAA,EAC1BE,EAAY3B,EAAZ2B,aAAYC,EAAA5B,EACZ6B,WAAAA,OAAa,IAAHD,EAAG,SAAQA,EACrBE,EAAoB9B,EAApB8B,qB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EAAE,cACOC,IAEd5B,GACC0D,EAAAC,cAACM,EAAsB,CAACC,KAAM3D,EAAa4D,QAAShC,EAAeiC,KAAMpE,EAAaJ,IAAKsC,KAKrG,IAUyG,CACzGmC,MAAOtD,EACPuD,YAAaC,EACbC,WAAYzD,EACZ0D,YAAaC"}
1
+ {"version":3,"file":"ColorPickerContent.js","sources":["../../../../../../../src/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.tsx"],"sourcesContent":["import { difference as _difference, intersection as _intersection } from \"lodash-es\";\nimport React, { forwardRef, useCallback, useMemo, useRef } from \"react\";\nimport { BaseSizes } from \"../../../../constants\";\nimport {\n ColorStyle as ColorStyleEnum,\n type CONTENT_COLORS_VALUES,\n contentColors\n} from \"../../../../utils/colors-vars-map\";\nimport { NoColor } from \"@vibe/icons\";\nimport { ColorShapes as ColorShapesEnum, DEFAULT_NUMBER_OF_COLORS_IN_LINE } from \"../../ColorPickerConstants\";\nimport {\n type ColorShapes,\n type ColorPickerSizes,\n type ColorPickerValue,\n type ColorPickerArrayValueOnly\n} from \"../../ColorPicker.types\";\nimport { calculateColorPickerWidth } from \"../../services/ColorPickerStyleService\";\nimport {\n GridKeyboardNavigationContext,\n useGridKeyboardNavigationContext\n} from \"../../../GridKeyboardNavigationContext\";\nimport ColorPickerClearButton from \"./ColorPickerClearButton\";\nimport ColorPickerColorsGrid from \"./ColorPickerColorsGrid\";\nimport { type VibeComponentProps, type SubIcon, withStaticProps } from \"../../../../types\";\nimport useMergeRef from \"../../../../hooks/useMergeRef\";\nimport { type ColorStyle } from \"../../../../types\";\n\nexport interface ColorPickerContentProps extends VibeComponentProps {\n /**\n * The selected color(s).\n */\n value: ColorPickerValue;\n /**\n * Callback fired when the selected color(s) change.\n */\n onValueChange: (value: ColorPickerArrayValueOnly) => void;\n /**\n * The list of colors available for selection.\n */\n colorsList: ColorPickerArrayValueOnly;\n /**\n * Icon displayed as an indicator inside the color.\n */\n ColorIndicatorIcon?: SubIcon;\n /**\n * Icon displayed when a color is selected.\n */\n SelectedIndicatorIcon?: SubIcon;\n /**\n * Icon used for clearing the color selection.\n */\n NoColorIcon?: SubIcon;\n /**\n * The style applied to the colors.\n */\n colorStyle?: ColorStyle;\n /**\n * The size of the color items.\n */\n colorSize?: ColorPickerSizes;\n /**\n * The shape of the color items.\n */\n colorShape?: ColorShapes;\n /**\n * Custom tooltip content for specific colors.\n */\n tooltipContentByColor?: Partial<Record<CONTENT_COLORS_VALUES, string>>;\n /**\n * Text displayed for the \"no color\" option.\n */\n noColorText?: string;\n /**\n * If true, renders the color indicator without a background.\n */\n shouldRenderIndicatorWithoutBackground?: boolean;\n /**\n * If true, treats the color list as a blacklist rather than a whitelist.\n */\n isBlackListMode?: boolean;\n /**\n * The number of colors displayed per row.\n */\n numberOfColorsInLine?: number;\n /**\n * If true, the first color is focused when the component mounts.\n */\n focusOnMount?: boolean;\n /**\n * If true, allows selecting multiple colors.\n */\n isMultiselect?: boolean;\n /**\n * Used to force the component render the colorList prop as is. Usually, this flag should not be used. It's intended only for edge cases.\n * Usually, only \"monday colors\" will be rendered (unless blacklist mode is used). This flag will override this behavior.\n */\n forceUseRawColorList?: boolean;\n /**\n * Used to enable color name tooltip on each color in the component.\n * When \"tooltipContentByColor\" is supplied, it will override the color name tooltip.\n */\n showColorNameTooltip?: boolean;\n}\n\nconst ColorPickerContent = forwardRef(\n (\n {\n className,\n onValueChange,\n value,\n noColorText,\n colorStyle = \"regular\",\n ColorIndicatorIcon,\n SelectedIndicatorIcon,\n shouldRenderIndicatorWithoutBackground,\n NoColorIcon = NoColor,\n isBlackListMode = true,\n colorsList,\n isMultiselect,\n colorSize = BaseSizes.MEDIUM,\n numberOfColorsInLine = DEFAULT_NUMBER_OF_COLORS_IN_LINE,\n tooltipContentByColor = {},\n focusOnMount,\n colorShape = \"square\",\n forceUseRawColorList,\n showColorNameTooltip,\n id,\n \"data-testid\": dataTestId\n }: ColorPickerContentProps,\n ref: React.ForwardedRef<HTMLDivElement>\n ) => {\n const gridRef = useRef(null);\n const mergedRef = useMergeRef(ref, gridRef);\n const colorsRef = useRef(null);\n const buttonRef = useRef(null);\n\n const onClearButton = useCallback(() => {\n onValueChange(null);\n }, [onValueChange]);\n\n const colorsToRender = useMemo(() => {\n if (forceUseRawColorList) {\n return colorsList;\n }\n return isBlackListMode ? _difference(contentColors, colorsList) : _intersection(contentColors, colorsList);\n }, [forceUseRawColorList, isBlackListMode, colorsList]);\n\n const onColorClicked = useCallback(\n (color: CONTENT_COLORS_VALUES) => {\n if (!isMultiselect) {\n onValueChange([color]);\n return;\n }\n const colors = [...value];\n if (colors.includes(color)) {\n const indexInSelected = colors.indexOf(color);\n if (indexInSelected > -1) {\n colors.splice(indexInSelected, 1);\n }\n } else {\n colors.push(color);\n }\n onValueChange(colors);\n },\n [isMultiselect, onValueChange, value]\n );\n\n const positions = useMemo(() => [{ topElement: colorsRef, bottomElement: buttonRef }], []);\n const keyboardContext = useGridKeyboardNavigationContext(positions, gridRef);\n const width = calculateColorPickerWidth(colorSize as BaseSizes, numberOfColorsInLine);\n\n return (\n <div className={className} style={{ width }} ref={mergedRef} tabIndex={-1}>\n <GridKeyboardNavigationContext.Provider value={keyboardContext}>\n <ColorPickerColorsGrid\n ref={colorsRef}\n onColorClicked={onColorClicked}\n colorsToRender={colorsToRender}\n numberOfColorsInLine={numberOfColorsInLine}\n focusOnMount={focusOnMount}\n value={value}\n colorStyle={colorStyle}\n ColorIndicatorIcon={ColorIndicatorIcon}\n shouldRenderIndicatorWithoutBackground={shouldRenderIndicatorWithoutBackground}\n SelectedIndicatorIcon={SelectedIndicatorIcon}\n colorSize={colorSize}\n tooltipContentByColor={tooltipContentByColor}\n colorShape={colorShape}\n showColorNameTooltip={showColorNameTooltip}\n id={id}\n data-testid={dataTestId}\n />\n {noColorText && (\n <ColorPickerClearButton Icon={NoColorIcon} onClick={onClearButton} text={noColorText} ref={buttonRef} />\n )}\n </GridKeyboardNavigationContext.Provider>\n </div>\n );\n }\n);\n\ninterface ColorPickerContentStaticProps {\n sizes: typeof BaseSizes;\n colorStyles: typeof ColorStyleEnum;\n colorSizes: typeof BaseSizes;\n colorShapes: typeof ColorShapesEnum;\n}\n\nexport default withStaticProps<ColorPickerContentProps, ColorPickerContentStaticProps>(ColorPickerContent, {\n sizes: BaseSizes,\n colorStyles: ColorStyleEnum,\n colorSizes: BaseSizes,\n colorShapes: ColorShapesEnum\n});\n"],"names":["withStaticProps","forwardRef","_ref","ref","className","onValueChange","value","noColorText","_ref$colorStyle","colorStyle","ColorIndicatorIcon","SelectedIndicatorIcon","shouldRenderIndicatorWithoutBackground","_ref$NoColorIcon","NoColorIcon","NoColor","_ref$isBlackListMode","isBlackListMode","colorsList","isMultiselect","_ref$colorSize","colorSize","BaseSizes","MEDIUM","_ref$numberOfColorsIn","numberOfColorsInLine","DEFAULT_NUMBER_OF_COLORS_IN_LINE","_ref$tooltipContentBy","tooltipContentByColor","focusOnMount","_ref$colorShape","colorShape","forceUseRawColorList","showColorNameTooltip","id","dataTestId","gridRef","useRef","mergedRef","useMergeRef","colorsRef","buttonRef","onClearButton","useCallback","colorsToRender","useMemo","_difference","contentColors","_intersection","onColorClicked","color","colors","_toConsumableArray","includes","indexInSelected","indexOf","splice","push","positions","topElement","bottomElement","keyboardContext","useGridKeyboardNavigationContext","width","calculateColorPickerWidth","React","createElement","style","tabIndex","GridKeyboardNavigationContext","Provider","ColorPickerColorsGrid","ColorPickerClearButton","Icon","onClick","text","sizes","colorStyles","ColorStyleEnum","colorSizes","colorShapes","ColorShapesEnum"],"mappings":"88BAwGA,IAwGeA,EAAAA,EAxGYC,GACzB,SAAAC,EAwBEC,GACE,IAvBAC,EAASF,EAATE,UACAC,EAAaH,EAAbG,cACAC,EAAKJ,EAALI,MACAC,EAAWL,EAAXK,YAAWC,EAAAN,EACXO,WAAAA,OAAa,IAAHD,EAAG,UAASA,EACtBE,EAAkBR,EAAlBQ,mBACAC,EAAqBT,EAArBS,sBACAC,EAAsCV,EAAtCU,uCAAsCC,EA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9D2B,GAAQC,EAA0B3C,EAAwBI,GAEhE,OACEwC,EAAKC,cAAA,MAAA,CAAA9D,UAAWA,EAAW+D,MAAO,CAAEJ,MAAAA,IAAS5D,IAAKmC,EAAW8B,UAAW,GACtEH,EAAAC,cAACG,EAA8BC,SAAS,CAAAhE,MAAOuD,IAC7CI,EAAAC,cAACK,EAAqB,CACpBpE,IAAKqC,EACLS,eAAgBA,EAChBL,eAAgBA,EAChBnB,qBAAsBA,EACtBI,aAAcA,EACdvB,MAAOA,EACPG,WAAYA,EACZC,mBAAoBA,EACpBE,uCAAwCA,EACxCD,sBAAuBA,EACvBU,UAAWA,EACXO,sBAAuBA,EACvBG,WAAYA,EACZE,qBAAsBA,EACtBC,GAAIA,EAAE,cACOC,IAEd5B,GACC0D,EAAAC,cAACM,EAAsB,CAACC,KAAM3D,EAAa4D,QAAShC,EAAeiC,KAAMpE,EAAaJ,IAAKsC,KAKrG,IAUyG,CACzGmC,MAAOtD,EACPuD,YAAaC,EACbC,WAAYzD,EACZ0D,YAAaC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPickerItemComponent.js","sources":["../../../../../../../src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.tsx"],"sourcesContent":["import { camelCase } from \"lodash-es\";\nimport { getStyle } from \"../../../../helpers/typesciptCssModulesHelper\";\nimport cx from \"classnames\";\nimport React, { useRef, useCallback, useMemo, forwardRef, useEffect } from \"react\";\nimport { contentColors } from \"../../../../utils/colors-vars-map\";\nimport ColorUtils from \"../../../../utils/colors-utils\";\nimport Icon from \"../../../Icon/Icon\";\nimport Tooltip from \"../../../Tooltip/Tooltip\";\nimport Clickable from \"../../../Clickable/Clickable\";\nimport { ColorPickerValueOnly } from \"../../ColorPicker.types\";\nimport { ColorShapes, ColorPickerSizes } from \"../../ColorPicker.types\";\nimport { getTestId } from \"../../../../tests/test-ids-utils\";\nimport { ComponentDefaultTestId } from \"../../../../tests/constants\";\nimport { SubIcon, VibeComponentProps, ElementContent, ColorStyle } from \"../../../../types\";\nimport styles from \"./ColorPickerItemComponent.module.scss\";\n\nexport interface ColorPickerItemComponentProps extends VibeComponentProps {\n /**\n * The color value of the item.\n */\n color: ColorPickerValueOnly;\n /**\n * Callback fired when the color is clicked.\n */\n onColorClicked: (color: ColorPickerValueOnly) => void;\n /**\n * The style applied to the color.\n */\n colorStyle: ColorStyle;\n /**\n * If true, renders the color indicator without a background.\n */\n shouldRenderIndicatorWithoutBackground: boolean;\n /**\n * Icon displayed inside the color item.\n */\n ColorIndicatorIcon: SubIcon;\n /**\n * Icon displayed when the color is selected.\n */\n SelectedIndicatorIcon: SubIcon;\n /**\n * If true, the color is marked as selected.\n */\n isSelected: boolean;\n /**\n * The size of the color item.\n */\n colorSize: ColorPickerSizes;\n /**\n * Tooltip content for the color item.\n */\n tooltipContent: ElementContent;\n /**\n * If true, the color item is currently active.\n */\n isActive: boolean;\n /**\n * The shape of the color item.\n */\n colorShape: ColorShapes;\n}\n\nconst ColorPickerItemComponent = forwardRef(\n (\n {\n color,\n onColorClicked,\n colorStyle = \"regular\",\n shouldRenderIndicatorWithoutBackground,\n ColorIndicatorIcon,\n SelectedIndicatorIcon = ColorIndicatorIcon,\n isSelected,\n colorSize,\n tooltipContent,\n isActive,\n colorShape,\n \"data-testid\": dataTestId\n }: ColorPickerItemComponentProps,\n _ref: React.ForwardedRef<HTMLElement>\n ) => {\n const isMondayColor = useMemo(() => (contentColors as readonly string[]).includes(color), [color]); // casting to any since color can be one of the system content colors but can also be a custom one\n const colorAsStyle = isMondayColor ? ColorUtils.getMondayColorAsStyle(color, colorStyle) : color;\n const itemRef = useRef<HTMLDivElement>(null);\n\n const onClick = useCallback(() => onColorClicked(color), [onColorClicked, color]);\n\n useEffect(() => {\n if (!itemRef?.current || shouldRenderIndicatorWithoutBackground || !isMondayColor) return;\n const item = itemRef.current;\n const setHoverColor = (e: MouseEvent) => {\n if (colorStyle === \"selected\") {\n (e.target as HTMLDivElement).style.background = ColorUtils.getMondayColorAsStyle(color, \"regular\");\n } else {\n (e.target as HTMLDivElement).style.background = ColorUtils.getMondayColorAsStyle(color, \"hover\");\n }\n };\n const restoreToOriginalColor = (e: MouseEvent) => {\n (e.target as HTMLDivElement).style.background = colorAsStyle;\n };\n item.addEventListener(\"mouseenter\", setHoverColor, false);\n item.addEventListener(\"mouseleave\", restoreToOriginalColor, false);\n\n return () => {\n item.removeEventListener(\"mouseenter\", setHoverColor, false);\n item.removeEventListener(\"mouseleave\", restoreToOriginalColor, false);\n };\n }, [color, colorAsStyle, colorStyle, isMondayColor, itemRef, shouldRenderIndicatorWithoutBackground]);\n\n const shouldRenderIcon = isSelected || ColorIndicatorIcon;\n const colorIndicatorWrapperStyle = shouldRenderIndicatorWithoutBackground ? { color: colorAsStyle } : {};\n return (\n <Tooltip content={tooltipContent}>\n <li\n className={cx(styles.itemWrapper, {\n [styles.selectedColor]: isSelected,\n [styles.active]: isActive,\n [styles.circle]: colorShape === \"circle\"\n })}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.COLOR_PICKER_ITEM, color)}\n >\n <div className={cx(styles.feedbackIndicator)} />\n <Clickable\n ref={itemRef}\n ariaLabel={color}\n className={cx(styles.colorItem, getStyle(styles, camelCase(\"color-item-size-\" + colorSize)), {\n [styles.colorItemTextMode]: shouldRenderIndicatorWithoutBackground\n })}\n style={{ background: shouldRenderIndicatorWithoutBackground ? \"transparent\" : colorAsStyle }}\n onClick={onClick}\n tabIndex=\"-1\"\n onMouseDown={e => e.preventDefault()} // this is for quill to not lose the selection\n >\n <div className={cx(styles.colorIndicatorWrapper)} style={colorIndicatorWrapperStyle}>\n {shouldRenderIcon && (\n <Icon\n icon={isSelected ? SelectedIndicatorIcon : ColorIndicatorIcon}\n className={cx({\n [styles.colorIconWhite]: !shouldRenderIndicatorWithoutBackground\n })}\n ignoreFocusStyle\n />\n )}\n </div>\n </Clickable>\n </li>\n </Tooltip>\n );\n }\n);\n\nexport default ColorPickerItemComponent;\n"],"names":["ColorPickerItemComponent","forwardRef","_ref2","_ref","color","onColorClicked","_ref2$colorStyle","colorStyle","shouldRenderIndicatorWithoutBackground","ColorIndicatorIcon","_ref2$SelectedIndicat","SelectedIndicatorIcon","isSelected","colorSize","tooltipContent","isActive","colorShape","dataTestId","isMondayColor","useMemo","contentColors","includes","colorAsStyle","ColorUtils","getMondayColorAsStyle","itemRef","useRef","onClick","useCallback","useEffect","current","item","setHoverColor","e","target","style","background","restoreToOriginalColor","addEventListener","removeEventListener","shouldRenderIcon","colorIndicatorWrapperStyle","React","createElement","Tooltip","content","className","cx","styles","itemWrapper","_defineProperty","selectedColor","active","circle","getTestId","ComponentDefaultTestId","COLOR_PICKER_ITEM","feedbackIndicator","Clickable","ref","ariaLabel","colorItem","getStyle","camelCase","colorItemTextMode","tabIndex","onMouseDown","preventDefault","colorIndicatorWrapper","Icon","icon","colorIconWhite","ignoreFocusStyle"],"mappings":"gvBA+DMA,IAAAA,EAA2BC,GAC/B,SAAAC,EAeEC,GACE,IAdAC,EAAKF,EAALE,MACAC,EAAcH,EAAdG,eAAcC,EAAAJ,EACdK,WAAAA,OAAa,IAAHD,EAAG,UAASA,EACtBE,EAAsCN,EAAtCM,uCACAC,EAAkBP,EAAlBO,mBAAkBC,EAAAR,EAClBS,sBAAAA,OAAwBF,IAAHC,EAAGD,EAAkBC,EAC1CE,EAAUV,EAAVU,WACAC,EAASX,EAATW,UACAC,EAAcZ,EAAdY,eACAC,EAAQb,EAARa,SACAC,EAAUd,EAAVc,WACeC,EAAUf,EAAzB,eAIIgB,EAAgBC,GAAQ,WAAA,OAAOC,EAAoCC,SAASjB,EAAM,GAAE,CAACA,IACrFkB,EAAeJ,EAAgBK,EAAWC,sBAAsBpB,EAAOG,GAAcH,EACrFqB,EAAUC,EAAuB,MAEjCC,EAAUC,GAAY,WAAA,OAAMvB,EAAeD,EAAM,GAAE,CAACC,EAAgBD,IAE1EyB,GAAU,WACR,IAAKJ,aAAA,EAAAA,EAASK,WAAWtB,GAA2CU,EA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CACHC,KAAM1D,EAAaD,EAAwBF,EAC3CqC,UAAWC,EAAEG,EACVF,CAAAA,EAAAA,EAAOuB,gBAAkB/D,IAE5BgE,kBACA,OAOhB"}
1
+ {"version":3,"file":"ColorPickerItemComponent.js","sources":["../../../../../../../src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.tsx"],"sourcesContent":["import { camelCase } from \"lodash-es\";\nimport { getStyle } from \"../../../../helpers/typesciptCssModulesHelper\";\nimport cx from \"classnames\";\nimport React, { useRef, useCallback, useMemo, forwardRef, useEffect } from \"react\";\nimport { contentColors } from \"../../../../utils/colors-vars-map\";\nimport ColorUtils from \"../../../../utils/colors-utils\";\nimport Icon from \"../../../Icon/Icon\";\nimport Tooltip from \"../../../Tooltip/Tooltip\";\nimport Clickable from \"../../../Clickable/Clickable\";\nimport { type ColorPickerValueOnly } from \"../../ColorPicker.types\";\nimport { type ColorShapes, type ColorPickerSizes } from \"../../ColorPicker.types\";\nimport { getTestId } from \"../../../../tests/test-ids-utils\";\nimport { ComponentDefaultTestId } from \"../../../../tests/constants\";\nimport { type SubIcon, type VibeComponentProps, type ElementContent, type ColorStyle } from \"../../../../types\";\nimport styles from \"./ColorPickerItemComponent.module.scss\";\n\nexport interface ColorPickerItemComponentProps extends VibeComponentProps {\n /**\n * The color value of the item.\n */\n color: ColorPickerValueOnly;\n /**\n * Callback fired when the color is clicked.\n */\n onColorClicked: (color: ColorPickerValueOnly) => void;\n /**\n * The style applied to the color.\n */\n colorStyle: ColorStyle;\n /**\n * If true, renders the color indicator without a background.\n */\n shouldRenderIndicatorWithoutBackground: boolean;\n /**\n * Icon displayed inside the color item.\n */\n ColorIndicatorIcon: SubIcon;\n /**\n * Icon displayed when the color is selected.\n */\n SelectedIndicatorIcon: SubIcon;\n /**\n * If true, the color is marked as selected.\n */\n isSelected: boolean;\n /**\n * The size of the color item.\n */\n colorSize: ColorPickerSizes;\n /**\n * Tooltip content for the color item.\n */\n tooltipContent: ElementContent;\n /**\n * If true, the color item is currently active.\n */\n isActive: boolean;\n /**\n * The shape of the color item.\n */\n colorShape: ColorShapes;\n}\n\nconst ColorPickerItemComponent = forwardRef(\n (\n {\n color,\n onColorClicked,\n colorStyle = \"regular\",\n shouldRenderIndicatorWithoutBackground,\n ColorIndicatorIcon,\n SelectedIndicatorIcon = ColorIndicatorIcon,\n isSelected,\n colorSize,\n tooltipContent,\n isActive,\n colorShape,\n \"data-testid\": dataTestId\n }: ColorPickerItemComponentProps,\n _ref: React.ForwardedRef<HTMLElement>\n ) => {\n const isMondayColor = useMemo(() => (contentColors as readonly string[]).includes(color), [color]); // casting to any since color can be one of the system content colors but can also be a custom one\n const colorAsStyle = isMondayColor ? ColorUtils.getMondayColorAsStyle(color, colorStyle) : color;\n const itemRef = useRef<HTMLDivElement>(null);\n\n const onClick = useCallback(() => onColorClicked(color), [onColorClicked, color]);\n\n useEffect(() => {\n if (!itemRef?.current || shouldRenderIndicatorWithoutBackground || !isMondayColor) return;\n const item = itemRef.current;\n const setHoverColor = (e: MouseEvent) => {\n if (colorStyle === \"selected\") {\n (e.target as HTMLDivElement).style.background = ColorUtils.getMondayColorAsStyle(color, \"regular\");\n } else {\n (e.target as HTMLDivElement).style.background = ColorUtils.getMondayColorAsStyle(color, \"hover\");\n }\n };\n const restoreToOriginalColor = (e: MouseEvent) => {\n (e.target as HTMLDivElement).style.background = colorAsStyle;\n };\n item.addEventListener(\"mouseenter\", setHoverColor, false);\n item.addEventListener(\"mouseleave\", restoreToOriginalColor, false);\n\n return () => {\n item.removeEventListener(\"mouseenter\", setHoverColor, false);\n item.removeEventListener(\"mouseleave\", restoreToOriginalColor, false);\n };\n }, [color, colorAsStyle, colorStyle, isMondayColor, itemRef, shouldRenderIndicatorWithoutBackground]);\n\n const shouldRenderIcon = isSelected || ColorIndicatorIcon;\n const colorIndicatorWrapperStyle = shouldRenderIndicatorWithoutBackground ? { color: colorAsStyle } : {};\n return (\n <Tooltip content={tooltipContent}>\n <li\n className={cx(styles.itemWrapper, {\n [styles.selectedColor]: isSelected,\n [styles.active]: isActive,\n [styles.circle]: colorShape === \"circle\"\n })}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.COLOR_PICKER_ITEM, color)}\n >\n <div className={cx(styles.feedbackIndicator)} />\n <Clickable\n ref={itemRef}\n ariaLabel={color}\n className={cx(styles.colorItem, getStyle(styles, camelCase(\"color-item-size-\" + colorSize)), {\n [styles.colorItemTextMode]: shouldRenderIndicatorWithoutBackground\n })}\n style={{ background: shouldRenderIndicatorWithoutBackground ? \"transparent\" : colorAsStyle }}\n onClick={onClick}\n tabIndex=\"-1\"\n onMouseDown={e => e.preventDefault()} // this is for quill to not lose the selection\n >\n <div className={cx(styles.colorIndicatorWrapper)} style={colorIndicatorWrapperStyle}>\n {shouldRenderIcon && (\n <Icon\n icon={isSelected ? SelectedIndicatorIcon : ColorIndicatorIcon}\n className={cx({\n [styles.colorIconWhite]: !shouldRenderIndicatorWithoutBackground\n })}\n ignoreFocusStyle\n />\n )}\n </div>\n </Clickable>\n </li>\n </Tooltip>\n );\n }\n);\n\nexport default ColorPickerItemComponent;\n"],"names":["ColorPickerItemComponent","forwardRef","_ref2","_ref","color","onColorClicked","_ref2$colorStyle","colorStyle","shouldRenderIndicatorWithoutBackground","ColorIndicatorIcon","_ref2$SelectedIndicat","SelectedIndicatorIcon","isSelected","colorSize","tooltipContent","isActive","colorShape","dataTestId","isMondayColor","useMemo","contentColors","includes","colorAsStyle","ColorUtils","getMondayColorAsStyle","itemRef","useRef","onClick","useCallback","useEffect","current","item","setHoverColor","e","target","style","background","restoreToOriginalColor","addEventListener","removeEventListener","shouldRenderIcon","colorIndicatorWrapperStyle","React","createElement","Tooltip","content","className","cx","styles","itemWrapper","_defineProperty","selectedColor","active","circle","getTestId","ComponentDefaultTestId","COLOR_PICKER_ITEM","feedbackIndicator","Clickable","ref","ariaLabel","colorItem","getStyle","camelCase","colorItemTextMode","tabIndex","onMouseDown","preventDefault","colorIndicatorWrapper","Icon","icon","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Q,CAAAC,QAAS/B,GAChB4B,EAAAC,cAAA,KAAA,CACEG,UAAWC,EAAGC,EAAOC,YAAWC,EAAAA,EAAAA,EAAA,CAAA,EAC7BF,EAAOG,cAAgBvC,GACvBoC,EAAOI,OAASrC,GAChBiC,EAAOK,OAAwB,WAAfrC,IACjB,cACWC,GAAcqC,EAAUC,EAAuBC,kBAAmBpD,IAE/EsC,EAAKC,cAAA,MAAA,CAAAG,UAAWC,EAAGC,EAAOS,qBAC1Bf,EAAAC,cAACe,EAAS,CACRC,IAAKlC,EACLmC,UAAWxD,EACX0C,UAAWC,EAAGC,EAAOa,UAAWC,EAASd,EAAQe,EAAU,mBAAqBlD,IAAWqC,EAAA,CAAA,EACxFF,EAAOgB,kBAAoBxD,IAE9B2B,MAAO,CAAEC,WAAY5B,EAAyC,cAAgBc,GAC9EK,QAASA,EACTsC,SAAS,KACTC,YAAa,SAAAjC,GAAC,OAAIA,EAAEkC,gBAAgB,GAEpCzB,EAAAC,cAAA,MAAA,CAAKG,UAAWC,EAAGC,EAAOoB,uBAAwBjC,MAAOM,GACtDD,GACCE,EAAAC,cAAC0B,EAAI,CACHC,KAAM1D,EAAaD,EAAwBF,EAC3CqC,UAAWC,EAAEG,EACVF,CAAAA,EAAAA,EAAOuB,gBAAkB/D,IAE5BgE,kBACA,OAOhB"}
@@ -1,2 +1,2 @@
1
- var e={itemWrapper:"itemWrapper",circle:"circle",feedbackIndicator:"feedbackIndicator",active:"active",selectedColor:"selectedColor",colorItem:"colorItem",colorIndicatorWrapper:"colorIndicatorWrapper",colorItemSizeSmall:"colorItemSizeSmall",colorItemSizeMedium:"colorItemSizeMedium",colorItemSizeLarge:"colorItemSizeLarge",colorItemTextMode:"colorItemTextMode",colorIconWhite:"colorIconWhite"};!function(e){const r="s_id-4f41e3ef6859_3_58_0";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+r))return;const o=document.createElement("style");o.id=r,n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[r]=e)}('.itemWrapper.circle {\n --border-radius-multiplier: 99999;\n}\n\n/* stylelint-disable scss/operator-no-unspaced */\n\n.itemWrapper {\n --border-radius-multiplier: 1;\n margin: 4px;\n display: flex;\n list-style-type: none;\n position: relative;\n}\n\n.itemWrapper .feedbackIndicator {\n position: absolute;\n inset: 0;\n pointer-events: none;\n}\n\n.itemWrapper:focus,\n.itemWrapper:focus-visible,\n.itemWrapper.active {\n outline: none;\n}\n\n.itemWrapper:focus .feedbackIndicator:before,\n.itemWrapper:focus-visible .feedbackIndicator:before,\n.itemWrapper.active .feedbackIndicator:before {\n content: " ";\n position: absolute;\n border-radius: calc(7px * var(--border-radius-multiplier, 1));\n inset: -4px;\n border: 4px solid;\n border-color: var(--primary-selected-color);\n pointer-events: none;\n}\n\n.itemWrapper:focus .feedbackIndicator:after,\n.itemWrapper:focus-visible .feedbackIndicator:after,\n.itemWrapper.active .feedbackIndicator:after {\n content: " ";\n position: absolute;\n border-radius: calc(7px * var(--border-radius-multiplier, 1));\n inset: -1px;\n border: 1px solid;\n border-color: var(--primary-color);\n pointer-events: none;\n}\n\n/* active elements have no "hover feedback" */\n\n.itemWrapper:hover:not(.active):not(.selectedColor) .feedbackIndicator {\n content: " ";\n position: absolute;\n border-radius: calc(8px * var(--border-radius-multiplier, 1));\n inset: -4px;\n border: 4px solid;\n border-color: var(--primary-background-hover-color);\n pointer-events: none;\n}\n\n.itemWrapper .colorItem {\n display: flex;\n justify-content: center;\n align-items: center;\n border: 2px solid transparent;\n border-radius: calc(4px * var(--border-radius-multiplier, 1));\n cursor: pointer;\n}\n\n.itemWrapper .colorItem .colorIndicatorWrapper {\n display: flex;\n}\n\n.itemWrapper .colorItem.colorItemSizeSmall {\n width: 24px;\n height: 24px;\n}\n\n.itemWrapper .colorItem.colorItemSizeMedium {\n width: 32px;\n height: 32px;\n}\n\n.itemWrapper .colorItem.colorItemSizeLarge {\n width: 40px;\n height: 40px;\n}\n\n.itemWrapper.selectedColor {\n position: relative;\n}\n\n.itemWrapper.selectedColor:before {\n content: " ";\n position: absolute;\n border-radius: calc(7px * var(--border-radius-multiplier, 1));\n inset: -4px;\n border: 2px solid;\n border-color: var(--primary-color);\n pointer-events: none;\n}\n\n.itemWrapper.selectedColor .feedbackIndicator:before {\n /* hide the outer border from the "active" feedback indicator */\n display: none;\n}\n\n.itemWrapper .colorItemTextMode:hover {\n background-color: var(--primary-background-hover-color) !important;\n}\n\n.itemWrapper .colorIconWhite {\n color: var(--color-snow_white);\n}');export{e as default};
1
+ var e={itemWrapper:"itemWrapper",circle:"circle",feedbackIndicator:"feedbackIndicator",active:"active",selectedColor:"selectedColor",colorItem:"colorItem",colorIndicatorWrapper:"colorIndicatorWrapper",colorItemSizeSmall:"colorItemSizeSmall",colorItemSizeMedium:"colorItemSizeMedium",colorItemSizeLarge:"colorItemSizeLarge",colorItemTextMode:"colorItemTextMode",colorIconWhite:"colorIconWhite"};!function(e){const r="s_id-4f41e3ef6859_3_58_1";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+r))return;const o=document.createElement("style");o.id=r,n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[r]=e)}('.itemWrapper.circle {\n --border-radius-multiplier: 99999;\n}\n\n/* stylelint-disable scss/operator-no-unspaced */\n\n.itemWrapper {\n --border-radius-multiplier: 1;\n margin: 4px;\n display: flex;\n list-style-type: none;\n position: relative;\n}\n\n.itemWrapper .feedbackIndicator {\n position: absolute;\n inset: 0;\n pointer-events: none;\n}\n\n.itemWrapper:focus,\n.itemWrapper:focus-visible,\n.itemWrapper.active {\n outline: none;\n}\n\n.itemWrapper:focus .feedbackIndicator:before,\n.itemWrapper:focus-visible .feedbackIndicator:before,\n.itemWrapper.active .feedbackIndicator:before {\n content: " ";\n position: absolute;\n border-radius: calc(7px * var(--border-radius-multiplier, 1));\n inset: -4px;\n border: 4px solid;\n border-color: var(--primary-selected-color);\n pointer-events: none;\n}\n\n.itemWrapper:focus .feedbackIndicator:after,\n.itemWrapper:focus-visible .feedbackIndicator:after,\n.itemWrapper.active .feedbackIndicator:after {\n content: " ";\n position: absolute;\n border-radius: calc(7px * var(--border-radius-multiplier, 1));\n inset: -1px;\n border: 1px solid;\n border-color: var(--primary-color);\n pointer-events: none;\n}\n\n/* active elements have no "hover feedback" */\n\n.itemWrapper:hover:not(.active):not(.selectedColor) .feedbackIndicator {\n content: " ";\n position: absolute;\n border-radius: calc(8px * var(--border-radius-multiplier, 1));\n inset: -4px;\n border: 4px solid;\n border-color: var(--primary-background-hover-color);\n pointer-events: none;\n}\n\n.itemWrapper .colorItem {\n display: flex;\n justify-content: center;\n align-items: center;\n border: 2px solid transparent;\n border-radius: calc(4px * var(--border-radius-multiplier, 1));\n cursor: pointer;\n}\n\n.itemWrapper .colorItem .colorIndicatorWrapper {\n display: flex;\n}\n\n.itemWrapper .colorItem.colorItemSizeSmall {\n width: 24px;\n height: 24px;\n}\n\n.itemWrapper .colorItem.colorItemSizeMedium {\n width: 32px;\n height: 32px;\n}\n\n.itemWrapper .colorItem.colorItemSizeLarge {\n width: 40px;\n height: 40px;\n}\n\n.itemWrapper.selectedColor {\n position: relative;\n}\n\n.itemWrapper.selectedColor:before {\n content: " ";\n position: absolute;\n border-radius: calc(7px * var(--border-radius-multiplier, 1));\n inset: -4px;\n border: 2px solid;\n border-color: var(--primary-color);\n pointer-events: none;\n}\n\n.itemWrapper.selectedColor .feedbackIndicator:before {\n /* hide the outer border from the "active" feedback indicator */\n display: none;\n}\n\n.itemWrapper .colorItemTextMode:hover {\n background-color: var(--primary-background-hover-color) !important;\n}\n\n.itemWrapper .colorIconWhite {\n color: var(--color-snow_white);\n}');export{e as default};
2
2
  //# sourceMappingURL=ColorPickerItemComponent.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPickerStyleService.js","sources":["../../../../../../src/components/ColorPicker/services/ColorPickerStyleService.ts"],"sourcesContent":["import { DIALOG_WIDTH_PADDING, COLOR_SIZES, COLOR_PADDING } from \"../ColorPickerConstants\";\nimport { BaseSizes } from \"../../../constants/sizes\";\n\nexport const calculateColorPickerWidth = (colorSize: BaseSizes, numberOfColorsInLine: number) => {\n return numberOfColorsInLine * (COLOR_SIZES[colorSize] + COLOR_PADDING);\n};\n\nexport const calculateColorPickerDialogWidth = (colorSize: BaseSizes, numberOfColorsInLine: number) => {\n return calculateColorPickerWidth(colorSize, numberOfColorsInLine) + DIALOG_WIDTH_PADDING;\n};\n"],"names":["calculateColorPickerWidth","colorSize","numberOfColorsInLine","COLOR_SIZES","COLOR_PADDING","calculateColorPickerDialogWidth","DIALOG_WIDTH_PADDING"],"mappings":"sGAGO,IAAMA,EAA4B,SAACC,EAAsBC,GAC9D,OAAOA,GAAwBC,EAAYF,GAAaG,EAC1D,EAEaC,EAAkC,SAACJ,EAAsBC,GACpE,OAAOF,EAA0BC,EAAWC,GAAwBI,CACtE"}
1
+ {"version":3,"file":"ColorPickerStyleService.js","sources":["../../../../../../src/components/ColorPicker/services/ColorPickerStyleService.ts"],"sourcesContent":["import { DIALOG_WIDTH_PADDING, COLOR_SIZES, COLOR_PADDING } from \"../ColorPickerConstants\";\nimport { type BaseSizes } from \"../../../constants/sizes\";\n\nexport const calculateColorPickerWidth = (colorSize: BaseSizes, numberOfColorsInLine: number) => {\n return numberOfColorsInLine * (COLOR_SIZES[colorSize] + COLOR_PADDING);\n};\n\nexport const calculateColorPickerDialogWidth = (colorSize: BaseSizes, numberOfColorsInLine: number) => {\n return calculateColorPickerWidth(colorSize, numberOfColorsInLine) + DIALOG_WIDTH_PADDING;\n};\n"],"names":["calculateColorPickerWidth","colorSize","numberOfColorsInLine","COLOR_SIZES","COLOR_PADDING","calculateColorPickerDialogWidth","DIALOG_WIDTH_PADDING"],"mappings":"sGAGO,IAAMA,EAA4B,SAACC,EAAsBC,GAC9D,OAAOA,GAAwBC,EAAYF,GAAaG,EAC1D,EAEaC,EAAkC,SAACJ,EAAsBC,GACpE,OAAOF,EAA0BC,EAAWC,GAAwBI,CACtE"}
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.js","sources":["../../../../../src/components/Combobox/Combobox.tsx"],"sourcesContent":["import { camelCase } from \"lodash-es\";\nimport cx from \"classnames\";\nimport React, { useRef, useState, forwardRef, useMemo, useCallback } from \"react\";\nimport { isFunction, noop as NOOP } from \"lodash-es\";\nimport { getStyle } from \"../../helpers/typesciptCssModulesHelper\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport useMergeRef from \"../../hooks/useMergeRef\";\nimport Search from \"../Search/Search\";\nimport { BASE_SIZES } from \"../../constants\";\nimport Button from \"../Button/Button\";\nimport Text from \"../Text/Text\";\nimport ComboboxOption from \"./components/ComboboxOption/ComboboxOption\";\nimport { defaultFilter } from \"./ComboboxService\";\nimport { ComboboxItems } from \"./components/ComboboxItems/ComboboxItems\";\nimport { StickyCategoryHeader } from \"./components/StickyCategoryHeader/StickyCategoryHeader\";\nimport { useItemsData, useKeyboardNavigation } from \"./ComboboxHelpers/ComboboxHelpers\";\nimport { getOptionId } from \"./helpers\";\nimport { ElementContent, SubIcon, VibeComponentProps, withStaticProps } from \"../../types\";\nimport {\n IComboboxCategoryMap,\n IComboboxItem,\n IComboboxOption,\n COMBOBOX_LISTBOX_ID,\n IComboboxCategory\n} from \"./components/ComboboxConstants\";\nimport styles from \"./Combobox.module.scss\";\nimport { ComboboxSizes } from \"./Combobox.types\";\nimport IconButton from \"../IconButton/IconButton\";\nimport MenuButton from \"../MenuButton/MenuButton\";\n\nexport interface ComboboxProps extends VibeComponentProps {\n /**\n * Class name applied to each option item.\n */\n optionClassName?: string;\n /**\n * Class name applied to the search wrapper.\n */\n searchWrapperClassName?: string;\n /**\n * Class name applied to the sticky category header.\n */\n stickyCategoryClassName?: string;\n /**\n * Placeholder text displayed in the search input.\n */\n placeholder?: string;\n /**\n * Message displayed when no results are found.\n */\n noResultsMessage?: string;\n /**\n * If true, the combobox is disabled.\n */\n disabled?: boolean;\n /**\n * The list of available options.\n */\n options?: IComboboxOption[];\n /**\n * The list of available categories.\n */\n categories?: IComboboxCategoryMap;\n /**\n * If true, displays a divider between category sections.\n */\n withCategoriesDivider?: boolean;\n /**\n * The size of the combobox.\n */\n size?: ComboboxSizes;\n /**\n * The height of each option item.\n */\n optionLineHeight?: number;\n /**\n * The height of the options list.\n */\n optionsListHeight?: number;\n /**\n * If true, the search input is focused when the component mounts.\n */\n autoFocus?: boolean;\n /**\n * Callback fired when the \"Add new\" button is clicked.\n */\n onAddNew?: (value: string) => void;\n /**\n * Label displayed for the \"Add new\" button.\n */\n addNewLabel?: ((label: string) => ElementContent) | string;\n /**\n * Custom filter function for searching options.\n */\n filter?: (filterValue: string, options: IComboboxOption[]) => IComboboxOption[];\n /**\n * The default search input\n */\n defaultFilter?: string;\n /**\n * If true, disables filtering.\n */\n disableFilter?: boolean;\n /**\n * Controlled search input value.\n */\n filterValue?: string;\n /**\n * Callback fired when the search input value changes.\n */\n onFilterChanged?: (value: string) => void;\n /**\n * If true, displays a loading state.\n */\n loading?: boolean;\n /**\n * Callback fired when an option is hovered.\n */\n onOptionHover?: (event: React.MouseEvent, index: number, option: IComboboxOption) => void;\n /**\n * Callback fired when the mouse leaves an option.\n */\n onOptionLeave?: () => void;\n /**\n * If true, automatically scrolls to the selected option.\n */\n shouldScrollToSelectedItem?: boolean;\n /**\n * Custom renderer for when no results are found.\n */\n noResultsRenderer?: () => JSX.Element;\n /**\n * If true, keeps categories visible when scrolling.\n */\n stickyCategories?: boolean;\n /**\n * If true, visually focuses the first item by default.\n */\n defaultVisualFocusFirstIndex?: boolean;\n /**\n * If true, clears the search input when an option is selected.\n */\n clearFilterOnSelection?: boolean;\n /**\n * Custom renderer for options.\n */\n optionRenderer?: (option: IComboboxOption) => JSX.Element;\n /**\n * Maximum number of options displayed before scrolling.\n */\n maxOptionsWithoutScroll?: number;\n /**\n * If true, renders only visible options for performance optimization.\n */\n renderOnlyVisibleOptions?: boolean;\n /**\n * Callback fired when an option is clicked.\n */\n onClick?: (optionData: IComboboxOption) => void;\n /**\n * Custom search icon.\n */\n searchIcon?: SubIcon;\n /**\n * ARIA label for the search input.\n */\n searchInputAriaLabel?: string;\n /**\n * The debounce rate for filtering.\n */\n debounceRate?: number;\n /**\n * Ref for the search input element.\n */\n searchInputRef?: React.RefObject<HTMLInputElement>;\n /**\n * Additional action button inside the search input.\n */\n renderAction?: React.ReactElement<typeof IconButton | typeof MenuButton>;\n /**\n * If true, hides the additional action when the user types in the search input.\n */\n hideRenderActionOnInput?: boolean;\n}\n\nconst Combobox = forwardRef(\n (\n {\n className = \"\",\n optionClassName = \"\",\n searchWrapperClassName,\n stickyCategoryClassName,\n searchIcon,\n id = \"\",\n placeholder = \"\",\n size = \"medium\",\n defaultVisualFocusFirstIndex,\n optionLineHeight = 32,\n optionsListHeight,\n autoFocus = false,\n disabled = false,\n options = [],\n categories,\n withCategoriesDivider = false,\n noResultsMessage = \"No results found\",\n onAddNew,\n addNewLabel = \"Add new\",\n onClick = (_optionData: IComboboxOption) => {},\n filter = defaultFilter,\n disableFilter = false,\n filterValue: filterValueProp,\n onFilterChanged,\n loading = false,\n onOptionHover = NOOP,\n onOptionLeave = NOOP,\n shouldScrollToSelectedItem = true,\n noResultsRenderer,\n stickyCategories = false,\n optionRenderer = null,\n renderOnlyVisibleOptions = false,\n clearFilterOnSelection = false,\n maxOptionsWithoutScroll,\n defaultFilter: defaultFilterValue = \"\",\n searchInputAriaLabel = \"Search for content\",\n \"data-testid\": dataTestId,\n debounceRate,\n searchInputRef,\n renderAction: RenderAction,\n hideRenderActionOnInput\n }: ComboboxProps,\n ref: React.ForwardedRef<HTMLElement>\n ) => {\n const componentRef = useRef(null);\n const inputRef = useRef(null);\n const mergedRef = useMergeRef(ref, componentRef);\n const mergedInputRef = useMergeRef(inputRef, searchInputRef);\n\n const [filterValue, setFilterValue] = useState(filterValueProp || defaultFilterValue);\n\n if (filterValueProp !== undefined && filterValueProp !== filterValue) {\n setFilterValue(filterValueProp);\n }\n\n const onChangeCallback = useCallback(\n (value: string) => {\n setActiveOptionIndex(-1);\n if (onFilterChanged) {\n onFilterChanged(value);\n }\n setFilterValue(value);\n },\n [setFilterValue, onFilterChanged]\n );\n\n const onOptionHoverCB = useCallback(\n (event: React.MouseEvent, index: number, option: IComboboxOption) => {\n onOptionHover(event, index, option);\n },\n [onOptionHover]\n );\n\n const filteredOptions: IComboboxOption[] = useMemo(() => {\n if (disableFilter) {\n return options;\n }\n return filter(filterValue, options);\n }, [options, filterValue, filter, disableFilter]);\n\n const [activeOptionIndex, setActiveOptionIndex] = useState(-1);\n\n const isChildSelectable = useCallback(\n (index: number) => {\n return index !== undefined && filteredOptions[index] && !filteredOptions[index].disabled;\n },\n [filteredOptions]\n );\n\n const onAddNewCallback = useCallback(() => {\n onAddNew && onAddNew(filterValue);\n // clear filter after adding\n setFilterValue(\"\");\n }, [onAddNew, filterValue, setFilterValue]);\n\n const hasResults = filteredOptions.length > 0;\n const hasFilter = filterValue.length > 0;\n\n function getAddNewLabel() {\n if (isFunction(addNewLabel)) {\n return addNewLabel(filterValue);\n }\n return addNewLabel;\n }\n\n function renderNoResults() {\n if (noResultsRenderer) {\n return noResultsRenderer();\n }\n\n return (\n <div className={styles.comboboxNoResults}>\n <div className={styles.comboboxMessageWrapper}>\n <span className={styles.comboboxMessage}>{noResultsMessage}</span>\n </div>\n {onAddNew && !disabled && (\n <Button className={styles.addNewButton} size={size} kind=\"tertiary\" onClick={onAddNewCallback}>\n <span className={styles.buttonLabel}>{getAddNewLabel()}</span>\n </Button>\n )}\n </div>\n );\n }\n\n const [activeCategory, setActiveCategory] = useState<IComboboxCategory>();\n\n const onActiveCategoryChanged = useCallback(\n (categoryData: IComboboxItem) => {\n if (categoryData?.category?.label !== activeCategory?.label) {\n setActiveCategory(categoryData?.category);\n }\n },\n [activeCategory]\n );\n\n const { items, itemsMap, selectableItems } = useItemsData({\n categories,\n options: filteredOptions,\n filterValue,\n withCategoriesDivider,\n optionLineHeight\n });\n\n const overrideOnClick = useCallback(\n (_event: React.MouseEvent | React.KeyboardEvent, itemIndex: number) => {\n onClick(selectableItems[itemIndex]);\n if (isChildSelectable(itemIndex)) {\n setActiveOptionIndex(itemIndex);\n }\n if (clearFilterOnSelection) {\n // clear filter after adding\n onChangeCallback(\"\");\n }\n },\n [onClick, selectableItems, isChildSelectable, clearFilterOnSelection, onChangeCallback]\n );\n\n const {\n visualFocusItemIndex,\n visualFocusItemId,\n onOptionClick: overrideOnOptionClick\n } = useKeyboardNavigation({\n getOptionId,\n defaultVisualFocusFirstIndex,\n onClick: overrideOnClick,\n isChildSelectable,\n options: selectableItems,\n inputRef: mergedInputRef\n });\n\n return (\n <Text\n type=\"text2\"\n ref={mergedRef}\n className={cx(styles.combobox, className, getStyle(styles, camelCase(\"size-\" + size)), {\n [styles.empty]: !hasResults,\n [styles.stickyCategory]: stickyCategories\n })}\n id={id}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.COMBOBOX, id)}\n ellipsis={false}\n >\n <div className={styles.comboboxList} style={{ maxHeight: optionsListHeight }}>\n <Search\n ref={mergedInputRef}\n value={filterValue}\n className={cx(styles.comboboxSearchWrapper, searchWrapperClassName)}\n inputAriaLabel={searchInputAriaLabel}\n currentAriaResultId={visualFocusItemId}\n id=\"combobox-search\"\n placeholder={placeholder}\n size={size}\n disabled={disabled}\n onChange={onChangeCallback}\n autoFocus={autoFocus}\n loading={loading}\n searchIconName={searchIcon}\n ariaExpanded={hasFilter || hasResults}\n ariaHasPopup=\"listbox\"\n searchResultsContainerId={id ? `${id}-listbox` : COMBOBOX_LISTBOX_ID}\n debounceRate={debounceRate}\n renderAction={RenderAction}\n hideRenderActionOnInput={hideRenderActionOnInput}\n />\n {stickyCategories && (\n <StickyCategoryHeader\n label={activeCategory?.label}\n color={activeCategory?.color}\n className={stickyCategoryClassName}\n />\n )}\n {hasResults && (\n <ComboboxItems\n stickyCategories={stickyCategories}\n categories={categories}\n options={items}\n itemsMap={itemsMap}\n optionClassName={optionClassName}\n optionRenderer={optionRenderer}\n activeItemIndex={activeOptionIndex}\n onActiveCategoryChanged={onActiveCategoryChanged}\n onOptionClick={overrideOnOptionClick}\n onOptionEnter={onOptionHoverCB}\n onOptionLeave={onOptionLeave}\n optionLineHeight={optionLineHeight}\n shouldScrollToSelectedItem={shouldScrollToSelectedItem}\n renderOnlyVisibleOptions={renderOnlyVisibleOptions}\n maxOptionsWithoutScroll={maxOptionsWithoutScroll}\n visualFocusItemIndex={visualFocusItemIndex}\n id={id ? `${id}-listbox` : COMBOBOX_LISTBOX_ID}\n />\n )}\n </div>\n {hasFilter && !hasResults && !loading && renderNoResults()}\n </Text>\n );\n }\n);\n\n// Locate loading next to search icon\n// color it with --secondary-text-color\n// size it like the icon - we think it's 16px - make sure it's not fat\n\ninterface ComboboxStaticProps {\n sizes: typeof BASE_SIZES;\n iconTypes: typeof ComboboxOption.iconTypes;\n}\n\nexport default withStaticProps<ComboboxProps, ComboboxStaticProps>(Combobox, {\n sizes: BASE_SIZES,\n iconTypes: ComboboxOption.iconTypes\n});\n"],"names":["withStaticProps","forwardRef","_ref","ref","_ref$className","className","_ref$optionClassName","optionClassName","searchWrapperClassName","stickyCategoryClassName","searchIcon","_ref$id","id","_ref$placeholder","placeholder","_ref$size","size","defaultVisualFocusFirstIndex","_ref$optionLineHeight","optionLineHeight","optionsListHeight","_ref$autoFocus","autoFocus","_ref$disabled","disabled","_ref$options","options","categories","_ref$withCategoriesDi","withCategoriesDivider","_ref$noResultsMessage","noResultsMessage","onAddNew","_ref$addNewLabel","addNewLabel","_ref$onClick","onClick","_optionData","_ref$filter","filter","defaultFilter","_ref$disableFilter","disableFilter","filterValueProp","filterValue","onFilterChanged","_ref$loading","loading","_ref$onOptionHover","onOptionHover","NOOP","_ref$onOptionLeave","onOptionLeave","_ref$shouldScrollToSe","shouldScrollToSelectedItem","noResultsRenderer","_ref$stickyCategories","stickyCategories","_ref$optionRenderer","optionRenderer","_ref$renderOnlyVisibl","renderOnlyVisibleOptions","_ref$clearFilterOnSel","clearFilterOnSelection","maxOptionsWithoutScroll","_ref$defaultFilter","defaultFilterValue","_ref$searchInputAriaL","searchInputAriaLabel","dataTestId","debounceRate","searchInputRef","RenderAction","renderAction","hideRenderActionOnInput","componentRef","useRef","inputRef","mergedRef","useMergeRef","mergedInputRef","_useState","useState","_useState2","_slicedToArray","setFilterValue","undefined","onChangeCallback","useCallback","value","setActiveOptionIndex","onOptionHoverCB","event","index","option","filteredOptions","useMemo","_useState3","_useState4","activeOptionIndex","isChildSelectable","onAddNewCallback","hasResults","length","hasFilter","_useState5","_useState6","activeCategory","setActiveCategory","onActiveCategoryChanged","categoryData","category","_a","label","_useItemsData","useItemsData","items","itemsMap","selectableItems","overrideOnClick","_event","itemIndex","_useKeyboardNavigatio","useKeyboardNavigation","getOptionId","visualFocusItemIndex","visualFocusItemId","overrideOnOptionClick","onOptionClick","React","createElement","Text","type","cx","styles","combobox","getStyle","camelCase","_defineProperty","empty","stickyCategory","getTestId","ComponentDefaultTestId","COMBOBOX","ellipsis","comboboxList","style","maxHeight","Search","comboboxSearchWrapper","inputAriaLabel","currentAriaResultId","onChange","searchIconName","ariaExpanded","ariaHasPopup","searchResultsContainerId","concat","COMBOBOX_LISTBOX_ID","StickyCategoryHeader","color","ComboboxItems","activeItemIndex","onOptionEnter","comboboxNoResults","comboboxMessageWrapper","comboboxMessage","Button","addNewButton","kind","buttonLabel","isFunction","sizes","BASE_SIZES","iconTypes","ComboboxOption"],"mappings":"uvCAyLA,IA2PeA,EAAAA,EA3PEC,GACf,SAAAC,EA4CEC,GACE,IAAAC,EAAAF,EA3CAG,UAAAA,OAAY,IAAHD,EAAG,GAAEA,EAAAE,EAAAJ,EACdK,gBAAAA,OAAkB,IAAHD,EAAG,GAAEA,EACpBE,EAAsBN,EA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UAAWiI,EAAOkC,aAAcxJ,KAAMA,EAAMyJ,KAAK,WAAWrI,QAASiE,IAC3E4B,EAAAC,cAAA,OAAA,CAAM7H,UAAWiI,EAAOoC,aAlB5BC,EAAWzI,IACNA,GAAYU,IAEdV,OAsIX,IAY2E,CAC3E0I,MAAOC,EACPC,UAAWC,EAAeD"}
1
+ {"version":3,"file":"Combobox.js","sources":["../../../../../src/components/Combobox/Combobox.tsx"],"sourcesContent":["import { camelCase } from \"lodash-es\";\nimport cx from \"classnames\";\nimport React, { useRef, useState, forwardRef, useMemo, useCallback } from \"react\";\nimport { isFunction, noop as NOOP } from \"lodash-es\";\nimport { getStyle } from \"../../helpers/typesciptCssModulesHelper\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport useMergeRef from \"../../hooks/useMergeRef\";\nimport Search from \"../Search/Search\";\nimport { BASE_SIZES } from \"../../constants\";\nimport Button from \"../Button/Button\";\nimport Text from \"../Text/Text\";\nimport ComboboxOption from \"./components/ComboboxOption/ComboboxOption\";\nimport { defaultFilter } from \"./ComboboxService\";\nimport { ComboboxItems } from \"./components/ComboboxItems/ComboboxItems\";\nimport { StickyCategoryHeader } from \"./components/StickyCategoryHeader/StickyCategoryHeader\";\nimport { useItemsData, useKeyboardNavigation } from \"./ComboboxHelpers/ComboboxHelpers\";\nimport { getOptionId } from \"./helpers\";\nimport { type ElementContent, type SubIcon, type VibeComponentProps, withStaticProps } from \"../../types\";\nimport {\n type IComboboxCategoryMap,\n type IComboboxItem,\n type IComboboxOption,\n COMBOBOX_LISTBOX_ID,\n type IComboboxCategory\n} from \"./components/ComboboxConstants\";\nimport styles from \"./Combobox.module.scss\";\nimport { type ComboboxSizes } from \"./Combobox.types\";\nimport type IconButton from \"../IconButton/IconButton\";\nimport type MenuButton from \"../MenuButton/MenuButton\";\n\nexport interface ComboboxProps extends VibeComponentProps {\n /**\n * Class name applied to each option item.\n */\n optionClassName?: string;\n /**\n * Class name applied to the search wrapper.\n */\n searchWrapperClassName?: string;\n /**\n * Class name applied to the sticky category header.\n */\n stickyCategoryClassName?: string;\n /**\n * Placeholder text displayed in the search input.\n */\n placeholder?: string;\n /**\n * Message displayed when no results are found.\n */\n noResultsMessage?: string;\n /**\n * If true, the combobox is disabled.\n */\n disabled?: boolean;\n /**\n * The list of available options.\n */\n options?: IComboboxOption[];\n /**\n * The list of available categories.\n */\n categories?: IComboboxCategoryMap;\n /**\n * If true, displays a divider between category sections.\n */\n withCategoriesDivider?: boolean;\n /**\n * The size of the combobox.\n */\n size?: ComboboxSizes;\n /**\n * The height of each option item.\n */\n optionLineHeight?: number;\n /**\n * The height of the options list.\n */\n optionsListHeight?: number;\n /**\n * If true, the search input is focused when the component mounts.\n */\n autoFocus?: boolean;\n /**\n * Callback fired when the \"Add new\" button is clicked.\n */\n onAddNew?: (value: string) => void;\n /**\n * Label displayed for the \"Add new\" button.\n */\n addNewLabel?: ((label: string) => ElementContent) | string;\n /**\n * Custom filter function for searching options.\n */\n filter?: (filterValue: string, options: IComboboxOption[]) => IComboboxOption[];\n /**\n * The default search input\n */\n defaultFilter?: string;\n /**\n * If true, disables filtering.\n */\n disableFilter?: boolean;\n /**\n * Controlled search input value.\n */\n filterValue?: string;\n /**\n * Callback fired when the search input value changes.\n */\n onFilterChanged?: (value: string) => void;\n /**\n * If true, displays a loading state.\n */\n loading?: boolean;\n /**\n * Callback fired when an option is hovered.\n */\n onOptionHover?: (event: React.MouseEvent, index: number, option: IComboboxOption) => void;\n /**\n * Callback fired when the mouse leaves an option.\n */\n onOptionLeave?: () => void;\n /**\n * If true, automatically scrolls to the selected option.\n */\n shouldScrollToSelectedItem?: boolean;\n /**\n * Custom renderer for when no results are found.\n */\n noResultsRenderer?: () => JSX.Element;\n /**\n * If true, keeps categories visible when scrolling.\n */\n stickyCategories?: boolean;\n /**\n * If true, visually focuses the first item by default.\n */\n defaultVisualFocusFirstIndex?: boolean;\n /**\n * If true, clears the search input when an option is selected.\n */\n clearFilterOnSelection?: boolean;\n /**\n * Custom renderer for options.\n */\n optionRenderer?: (option: IComboboxOption) => JSX.Element;\n /**\n * Maximum number of options displayed before scrolling.\n */\n maxOptionsWithoutScroll?: number;\n /**\n * If true, renders only visible options for performance optimization.\n */\n renderOnlyVisibleOptions?: boolean;\n /**\n * Callback fired when an option is clicked.\n */\n onClick?: (optionData: IComboboxOption) => void;\n /**\n * Custom search icon.\n */\n searchIcon?: SubIcon;\n /**\n * ARIA label for the search input.\n */\n searchInputAriaLabel?: string;\n /**\n * The debounce rate for filtering.\n */\n debounceRate?: number;\n /**\n * Ref for the search input element.\n */\n searchInputRef?: React.RefObject<HTMLInputElement>;\n /**\n * Additional action button inside the search input.\n */\n renderAction?: React.ReactElement<typeof IconButton | typeof MenuButton>;\n /**\n * If true, hides the additional action when the user types in the search input.\n */\n hideRenderActionOnInput?: boolean;\n}\n\nconst Combobox = forwardRef(\n (\n {\n className = \"\",\n optionClassName = \"\",\n searchWrapperClassName,\n stickyCategoryClassName,\n searchIcon,\n id = \"\",\n placeholder = \"\",\n size = \"medium\",\n defaultVisualFocusFirstIndex,\n optionLineHeight = 32,\n optionsListHeight,\n autoFocus = false,\n disabled = false,\n options = [],\n categories,\n withCategoriesDivider = false,\n noResultsMessage = \"No results found\",\n onAddNew,\n addNewLabel = \"Add new\",\n onClick = (_optionData: IComboboxOption) => {},\n filter = defaultFilter,\n disableFilter = false,\n filterValue: filterValueProp,\n onFilterChanged,\n loading = false,\n onOptionHover = NOOP,\n onOptionLeave = NOOP,\n shouldScrollToSelectedItem = true,\n noResultsRenderer,\n stickyCategories = false,\n optionRenderer = null,\n renderOnlyVisibleOptions = false,\n clearFilterOnSelection = false,\n maxOptionsWithoutScroll,\n defaultFilter: defaultFilterValue = \"\",\n searchInputAriaLabel = \"Search for content\",\n \"data-testid\": dataTestId,\n debounceRate,\n searchInputRef,\n renderAction: RenderAction,\n hideRenderActionOnInput\n }: ComboboxProps,\n ref: React.ForwardedRef<HTMLElement>\n ) => {\n const componentRef = useRef(null);\n const inputRef = useRef(null);\n const mergedRef = useMergeRef(ref, componentRef);\n const mergedInputRef = useMergeRef(inputRef, searchInputRef);\n\n const [filterValue, setFilterValue] = useState(filterValueProp || defaultFilterValue);\n\n if (filterValueProp !== undefined && filterValueProp !== filterValue) {\n setFilterValue(filterValueProp);\n }\n\n const onChangeCallback = useCallback(\n (value: string) => {\n setActiveOptionIndex(-1);\n if (onFilterChanged) {\n onFilterChanged(value);\n }\n setFilterValue(value);\n },\n [setFilterValue, onFilterChanged]\n );\n\n const onOptionHoverCB = useCallback(\n (event: React.MouseEvent, index: number, option: IComboboxOption) => {\n onOptionHover(event, index, option);\n },\n [onOptionHover]\n );\n\n const filteredOptions: IComboboxOption[] = useMemo(() => {\n if (disableFilter) {\n return options;\n }\n return filter(filterValue, options);\n }, [options, filterValue, filter, disableFilter]);\n\n const [activeOptionIndex, setActiveOptionIndex] = useState(-1);\n\n const isChildSelectable = useCallback(\n (index: number) => {\n return index !== undefined && filteredOptions[index] && !filteredOptions[index].disabled;\n },\n [filteredOptions]\n );\n\n const onAddNewCallback = useCallback(() => {\n onAddNew && onAddNew(filterValue);\n // clear filter after adding\n setFilterValue(\"\");\n }, [onAddNew, filterValue, setFilterValue]);\n\n const hasResults = filteredOptions.length > 0;\n const hasFilter = filterValue.length > 0;\n\n function getAddNewLabel() {\n if (isFunction(addNewLabel)) {\n return addNewLabel(filterValue);\n }\n return addNewLabel;\n }\n\n function renderNoResults() {\n if (noResultsRenderer) {\n return noResultsRenderer();\n }\n\n return (\n <div className={styles.comboboxNoResults}>\n <div className={styles.comboboxMessageWrapper}>\n <span className={styles.comboboxMessage}>{noResultsMessage}</span>\n </div>\n {onAddNew && !disabled && (\n <Button className={styles.addNewButton} size={size} kind=\"tertiary\" onClick={onAddNewCallback}>\n <span className={styles.buttonLabel}>{getAddNewLabel()}</span>\n </Button>\n )}\n </div>\n );\n }\n\n const [activeCategory, setActiveCategory] = useState<IComboboxCategory>();\n\n const onActiveCategoryChanged = useCallback(\n (categoryData: IComboboxItem) => {\n if (categoryData?.category?.label !== activeCategory?.label) {\n setActiveCategory(categoryData?.category);\n }\n },\n [activeCategory]\n );\n\n const { items, itemsMap, selectableItems } = useItemsData({\n categories,\n options: filteredOptions,\n filterValue,\n withCategoriesDivider,\n optionLineHeight\n });\n\n const overrideOnClick = useCallback(\n (_event: React.MouseEvent | React.KeyboardEvent, itemIndex: number) => {\n onClick(selectableItems[itemIndex]);\n if (isChildSelectable(itemIndex)) {\n setActiveOptionIndex(itemIndex);\n }\n if (clearFilterOnSelection) {\n // clear filter after adding\n onChangeCallback(\"\");\n }\n },\n [onClick, selectableItems, isChildSelectable, clearFilterOnSelection, onChangeCallback]\n );\n\n const {\n visualFocusItemIndex,\n visualFocusItemId,\n onOptionClick: overrideOnOptionClick\n } = useKeyboardNavigation({\n getOptionId,\n defaultVisualFocusFirstIndex,\n onClick: overrideOnClick,\n isChildSelectable,\n options: selectableItems,\n inputRef: mergedInputRef\n });\n\n return (\n <Text\n type=\"text2\"\n ref={mergedRef}\n className={cx(styles.combobox, className, getStyle(styles, camelCase(\"size-\" + size)), {\n [styles.empty]: !hasResults,\n [styles.stickyCategory]: stickyCategories\n })}\n id={id}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.COMBOBOX, id)}\n ellipsis={false}\n >\n <div className={styles.comboboxList} style={{ maxHeight: optionsListHeight }}>\n <Search\n ref={mergedInputRef}\n value={filterValue}\n className={cx(styles.comboboxSearchWrapper, searchWrapperClassName)}\n inputAriaLabel={searchInputAriaLabel}\n currentAriaResultId={visualFocusItemId}\n id=\"combobox-search\"\n placeholder={placeholder}\n size={size}\n disabled={disabled}\n onChange={onChangeCallback}\n autoFocus={autoFocus}\n loading={loading}\n searchIconName={searchIcon}\n ariaExpanded={hasFilter || hasResults}\n ariaHasPopup=\"listbox\"\n searchResultsContainerId={id ? `${id}-listbox` : COMBOBOX_LISTBOX_ID}\n debounceRate={debounceRate}\n renderAction={RenderAction}\n hideRenderActionOnInput={hideRenderActionOnInput}\n />\n {stickyCategories && (\n <StickyCategoryHeader\n label={activeCategory?.label}\n color={activeCategory?.color}\n className={stickyCategoryClassName}\n />\n )}\n {hasResults && (\n <ComboboxItems\n stickyCategories={stickyCategories}\n categories={categories}\n options={items}\n itemsMap={itemsMap}\n optionClassName={optionClassName}\n optionRenderer={optionRenderer}\n activeItemIndex={activeOptionIndex}\n onActiveCategoryChanged={onActiveCategoryChanged}\n onOptionClick={overrideOnOptionClick}\n onOptionEnter={onOptionHoverCB}\n onOptionLeave={onOptionLeave}\n optionLineHeight={optionLineHeight}\n shouldScrollToSelectedItem={shouldScrollToSelectedItem}\n renderOnlyVisibleOptions={renderOnlyVisibleOptions}\n maxOptionsWithoutScroll={maxOptionsWithoutScroll}\n visualFocusItemIndex={visualFocusItemIndex}\n id={id ? `${id}-listbox` : COMBOBOX_LISTBOX_ID}\n />\n )}\n </div>\n {hasFilter && !hasResults && !loading && renderNoResults()}\n </Text>\n );\n }\n);\n\n// Locate loading next to search icon\n// color it with --secondary-text-color\n// size it like the icon - we think it's 16px - make sure it's not fat\n\ninterface ComboboxStaticProps {\n sizes: typeof BASE_SIZES;\n iconTypes: typeof ComboboxOption.iconTypes;\n}\n\nexport default withStaticProps<ComboboxProps, ComboboxStaticProps>(Combobox, {\n sizes: BASE_SIZES,\n iconTypes: ComboboxOption.iconTypes\n});\n"],"names":["withStaticProps","forwardRef","_ref","ref","_ref$className","className","_ref$optionClassName","optionClassName","searchWrapperClassName","stickyCategoryClassName","searchIcon","_ref$id","id","_ref$placeholder","placeholder","_ref$size","size","defaultVisualFocusFirstIndex","_ref$optionLineHeight","optionLineHeight","optionsListHeight","_ref$autoFocus","autoFocus","_ref$disabled","disabled","_ref$options","options","categories","_ref$withCategoriesDi","withCategoriesDivider","_ref$noResultsMessage","noResultsMessage","onAddNew","_ref$addNewLabel","addNewLabel","_ref$onClick","onClick","_optionData","_ref$filter","filter","defaultFilter","_ref$disableFilter","disableFilter","filterValueProp","filterValue","onFilterChanged","_ref$loading","loading","_ref$onOptionHover","onOptionHover","NOOP","_ref$onOptionLeave","onOptionLeave","_ref$shouldScrollToSe","shouldScrollToSelectedItem","noResultsRenderer","_ref$stickyCategories","stickyCategories","_ref$optionRenderer","optionRenderer","_ref$renderOnlyVisibl","renderOnlyVisibleOptions","_ref$clearFilterOnSel","clearFilterOnSelection","maxOptionsWithoutScroll","_ref$defaultFilter","defaultFilterValue","_ref$searchInputAriaL","searchInputAriaLabel","dataTestId","debounceRate","searchInputRef","RenderAction","renderAction","hideRenderActionOnInput","componentRef","useRef","inputRef","mergedRef","useMergeRef","mergedInputRef","_useState","useState","_useState2","_slicedToArray","setFilterValue","undefined","onChangeCallback","useCallback","value","setActiveOptionIndex","onOptionHoverCB","event","index","option","filteredOptions","useMemo","_useState3","_useState4","activeOptionIndex","isChildSelectable","onAddNewCallback","hasResults","length","hasFilter","_useState5","_useState6","activeCategory","setActiveCategory","onActiveCategoryChanged","categoryData","category","_a","label","_useItemsData","useItemsData","items","itemsMap","selectableItems","overrideOnClick","_event","itemIndex","_useKeyboardNavigatio","useKeyboardNavigation","getOptionId","visualFocusItemIndex","visualFocusItemId","overrideOnOptionClick","onOptionClick","React","createElement","Text","type","cx","styles","combobox","getStyle","camelCase","_defineProperty","empty","stickyCategory","getTestId","ComponentDefaultTestId","COMBOBOX","ellipsis","comboboxList","style","maxHeight","Search","comboboxSearchWrapper","inputAriaLabel","currentAriaResultId","onChange","searchIconName","ariaExpanded","ariaHasPopup","searchResultsContainerId","concat","COMBOBOX_LISTBOX_ID","StickyCategoryHeader","color","ComboboxItems","activeItemIndex","onOptionEnter","comboboxNoResults","comboboxMessageWrapper","comboboxMessage","Button","addNewButton","kind","buttonLabel","isFunction","sizes","BASE_SIZES","iconTypes","ComboboxOption"],"mappings":"uvCAyLA,IA2PeA,EAAAA,EA3PEC,GACf,SAAAC,EA4CEC,GACE,IAAAC,EAAAF,EA3CAG,UAAAA,OAAY,IAAHD,EAAG,GAAEA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A7H,UAAWiI,EAAOgC,iBAAkBvI,KAE3CC,KAAaR,GACZyG,gBAACsC,EAAM,CAAClK,UAAWiI,EAAOkC,aAAcxJ,KAAMA,EAAMyJ,KAAK,WAAWrI,QAASiE,IAC3E4B,EAAAC,cAAA,OAAA,CAAM7H,UAAWiI,EAAOoC,aAlB5BC,EAAWzI,IACNA,GAAYU,IAEdV,OAsIX,IAY2E,CAC3E0I,MAAOC,EACPC,UAAWC,EAAeD"}
@@ -1,2 +1,2 @@
1
- var o={combobox:"combobox",stickyCategory:"stickyCategory",comboboxCategory:"comboboxCategory",sizeSmall:"sizeSmall",sizeMedium:"sizeMedium",sizeLarge:"sizeLarge",empty:"empty",comboboxSearchWrapper:"comboboxSearchWrapper",comboboxNoResults:"comboboxNoResults",comboboxMessageWrapper:"comboboxMessageWrapper",comboboxMessage:"comboboxMessage",addNewButton:"addNewButton",buttonLabel:"buttonLabel",comboboxList:"comboboxList"};!function(o){const e="s_id-140391bb7df9_3_58_0";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+e))return;const t=document.createElement("style");t.id=e,n.firstChild?n.insertBefore(t,n.firstChild):n.appendChild(t),t.appendChild(document.createTextNode(o))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=o)}("/* stylelint-disable selector-class-pattern */\n.combobox {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n height: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n margin-bottom: var(--spacing-small);\n}\n.combobox.stickyCategory .comboboxCategory {\n z-index: 10;\n background-color: var(--secondary-background-color);\n}\n/* Relative to Search height */\n.combobox.stickyCategory.sizeSmall .comboboxCategory {\n top: 32px;\n}\n.combobox.stickyCategory.sizeMedium .comboboxCategory {\n top: 40px;\n}\n.combobox.stickyCategory.sizeLarge .comboboxCategory {\n top: 48px;\n}\n.combobox.empty {\n max-height: 200px;\n margin-bottom: 0;\n}\n.comboboxSearchWrapper {\n position: sticky;\n top: 0;\n z-index: 12;\n}\n.comboboxNoResults {\n margin-top: var(--spacing-small);\n flex: 1 1 auto;\n height: calc(100% - 20px);\n overflow: hidden;\n position: relative;\n padding: 0 16px;\n display: flex;\n flex-direction: column;\n}\n.comboboxNoResults .comboboxMessageWrapper {\n flex: 1 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.comboboxNoResults .comboboxMessageWrapper .comboboxMessage {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.comboboxNoResults .addNewButton {\n flex: 0 0 auto;\n width: 100% !important;\n margin-bottom: 8px;\n}\n.comboboxNoResults .addNewButton .buttonLabel {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.comboboxList {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n padding: 0 4px;\n overflow: hidden;\n}");export{o as default};
1
+ var o={combobox:"combobox",stickyCategory:"stickyCategory",comboboxCategory:"comboboxCategory",sizeSmall:"sizeSmall",sizeMedium:"sizeMedium",sizeLarge:"sizeLarge",empty:"empty",comboboxSearchWrapper:"comboboxSearchWrapper",comboboxNoResults:"comboboxNoResults",comboboxMessageWrapper:"comboboxMessageWrapper",comboboxMessage:"comboboxMessage",addNewButton:"addNewButton",buttonLabel:"buttonLabel",comboboxList:"comboboxList"};!function(o){const e="s_id-140391bb7df9_3_58_1";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+e))return;const t=document.createElement("style");t.id=e,n.firstChild?n.insertBefore(t,n.firstChild):n.appendChild(t),t.appendChild(document.createTextNode(o))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=o)}("/* stylelint-disable selector-class-pattern */\n.combobox {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n height: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n margin-bottom: var(--spacing-small);\n}\n.combobox.stickyCategory .comboboxCategory {\n z-index: 10;\n background-color: var(--secondary-background-color);\n}\n/* Relative to Search height */\n.combobox.stickyCategory.sizeSmall .comboboxCategory {\n top: 32px;\n}\n.combobox.stickyCategory.sizeMedium .comboboxCategory {\n top: 40px;\n}\n.combobox.stickyCategory.sizeLarge .comboboxCategory {\n top: 48px;\n}\n.combobox.empty {\n max-height: 200px;\n margin-bottom: 0;\n}\n.comboboxSearchWrapper {\n position: sticky;\n top: 0;\n z-index: 12;\n}\n.comboboxNoResults {\n margin-top: var(--spacing-small);\n flex: 1 1 auto;\n height: calc(100% - 20px);\n overflow: hidden;\n position: relative;\n padding: 0 16px;\n display: flex;\n flex-direction: column;\n}\n.comboboxNoResults .comboboxMessageWrapper {\n flex: 1 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.comboboxNoResults .comboboxMessageWrapper .comboboxMessage {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.comboboxNoResults .addNewButton {\n flex: 0 0 auto;\n width: 100% !important;\n margin-bottom: 8px;\n}\n.comboboxNoResults .addNewButton .buttonLabel {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.comboboxList {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n padding: 0 4px;\n overflow: hidden;\n}");export{o as default};
2
2
  //# sourceMappingURL=Combobox.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxHelpers.js","sources":["../../../../../../src/components/Combobox/ComboboxHelpers/ComboboxHelpers.tsx"],"sourcesContent":["import React, { CSSProperties, MutableRefObject, useMemo } from \"react\";\nimport cx from \"classnames\";\nimport ComboboxOption from \"../components/ComboboxOption/ComboboxOption\";\nimport ComboboxCategory from \"../components/ComboboxCategory/ComboboxCategory\";\nimport Divider from \"../../Divider/Divider\";\nimport {\n COMBOBOX_DIVIDER_ITEM,\n COMBOBOX_CATEGORY_ITEM,\n COMBOBOX_OPTION_ITEM,\n IComboboxCategory,\n IComboboxOption,\n IComboboxCategoryMap,\n IComboboxItem,\n IOptionItemRendererArgs,\n IComboboxOptionEvents\n} from \"../components/ComboboxConstants\";\nimport useActiveDescendantListFocus from \"../../../hooks/useActiveDescendantListFocus\";\nimport { getOptionsByCategories } from \"../ComboboxService\";\nimport comboboxItemsStyles from \"../components/ComboboxItems/ComboboxItems.module.scss\";\nimport styles from \"./ComboboxHelpers.module.scss\";\n\nconst DIVIDER_HEIGHT = 17;\nconst CATEGORY_HEIGHT = 32;\n\nexport function useItemsData({\n categories,\n options,\n filterValue,\n withCategoriesDivider,\n optionLineHeight\n}: {\n categories: IComboboxCategoryMap;\n options: IComboboxOption[];\n filterValue: string;\n withCategoriesDivider: boolean;\n optionLineHeight: number;\n}) {\n return useMemo(() => {\n let items: IComboboxItem[] = [];\n let selectableItems: IComboboxOption[] = [];\n const itemsMap = new Map();\n\n if (categories) {\n const optionsByCategories = getOptionsByCategories(options, categories, filterValue);\n let optionIndex = 0;\n Object.keys(optionsByCategories).forEach((categoryId, categoryIndex) => {\n const withDivider = withCategoriesDivider && categoryIndex !== 0;\n if (withDivider) {\n items.push(createDividerItemObject({ categoryId }));\n }\n\n const isCategoryWithOptions = optionsByCategories[categoryId].length > 0;\n const isFirstCategory = categoryIndex === 0;\n\n const categoryObject = createCategoryItemObject({\n categoryId,\n categoryData: categories[categoryId],\n withDivider,\n className: cx({\n [comboboxItemsStyles.categoryWithOptions]: isCategoryWithOptions,\n [comboboxItemsStyles.categoryWithoutOptions]: !isCategoryWithOptions,\n [comboboxItemsStyles.firstCategory]: isFirstCategory\n })\n });\n\n // save category object in both items array and categories map\n items.push(categoryObject);\n itemsMap.set(categoryId, categoryObject);\n\n optionsByCategories[categoryId].forEach((option: IComboboxOption) => {\n const itemObject = createOptionItemObject({\n height: optionLineHeight,\n option,\n index: optionIndex,\n categoryId: categoryObject.id\n });\n\n itemsMap.set(itemObject.id, itemObject);\n items.push(itemObject);\n selectableItems.push(option);\n optionIndex++;\n });\n });\n } else {\n selectableItems = options;\n items = options.map((option, index) => {\n return createOptionItemObject({\n height: optionLineHeight,\n option,\n index\n });\n });\n }\n return { items, itemsMap, selectableItems };\n }, [categories, options, filterValue, withCategoriesDivider, optionLineHeight]);\n}\n\nexport function useKeyboardNavigation({\n defaultVisualFocusFirstIndex,\n inputRef,\n onClick,\n isChildSelectable,\n options,\n getOptionId\n}: {\n defaultVisualFocusFirstIndex?: boolean;\n inputRef: MutableRefObject<HTMLElement>;\n onClick: (event: React.KeyboardEvent | React.MouseEvent, index: number) => void;\n isChildSelectable: (index: number) => boolean;\n options: IComboboxOption[];\n getOptionId: (optionId: string, index: number) => string;\n}) {\n const filteredOptionsIds = useMemo(\n () => options.map((option: IComboboxOption, index: number) => getOptionId(option?.id, index)),\n [getOptionId, options]\n );\n\n const {\n visualFocusItemIndex,\n visualFocusItemId,\n onItemClickCallback: onOptionClick\n } = useActiveDescendantListFocus({\n defaultVisualFocusFirstIndex,\n focusedElementRef: inputRef,\n focusedElementRole: useActiveDescendantListFocus.roles.COMBOBOX,\n itemsIds: filteredOptionsIds,\n onItemClick: onClick,\n isItemSelectable: isChildSelectable,\n isIgnoreSpaceAsItemSelection: true\n });\n\n return { visualFocusItemIndex, visualFocusItemId, onOptionClick };\n}\nexport function createDividerItemObject({ categoryId }: { categoryId: string }): IComboboxItem {\n return { type: COMBOBOX_DIVIDER_ITEM, height: DIVIDER_HEIGHT, id: `${categoryId}-divider` };\n}\n\nexport function createCategoryItemObject({\n withDivider,\n categoryId,\n categoryData,\n className\n}: {\n withDivider: boolean;\n categoryId: string;\n categoryData: IComboboxCategory;\n className: string;\n}): IComboboxItem {\n return {\n height: CATEGORY_HEIGHT,\n type: COMBOBOX_CATEGORY_ITEM,\n category: categoryData,\n id: categoryId,\n withDivider,\n className\n };\n}\n\nexport function createOptionItemObject({\n option,\n height,\n index,\n optionRenderer,\n isActive,\n optionLineHeight,\n shouldScrollToSelectedItem,\n categoryId\n}: {\n option?: IComboboxOption;\n height?: number;\n index?: number;\n optionRenderer?: (option: IComboboxOption) => JSX.Element;\n isActive?: boolean;\n optionLineHeight?: number;\n shouldScrollToSelectedItem?: boolean;\n categoryId?: string;\n}): IComboboxItem {\n return {\n type: COMBOBOX_OPTION_ITEM,\n height,\n belongToCategory: true,\n index,\n option,\n id: option.id || index.toString(),\n optionRenderer,\n isActive,\n optionLineHeight,\n shouldScrollToSelectedItem,\n categoryId\n };\n}\n\nexport function comboboxItemRenderer({\n item,\n style,\n optionEvents,\n optionRenderData,\n isVirtualized,\n stickyCategories\n}: {\n item: IComboboxItem;\n style: CSSProperties;\n optionEvents: IComboboxOptionEvents;\n optionRenderData: any;\n isVirtualized: boolean;\n stickyCategories?: boolean;\n}) {\n const { type, ...otherArgs } = item;\n let customClassNames;\n let innerElement;\n switch (type) {\n case COMBOBOX_DIVIDER_ITEM: {\n innerElement = dividerItemRenderer({ id: otherArgs.id, height: otherArgs.height });\n break;\n }\n case COMBOBOX_CATEGORY_ITEM: {\n innerElement = categoryItemRenderer({\n id: otherArgs.id,\n category: otherArgs.category,\n className: otherArgs.className\n });\n if (stickyCategories && !isVirtualized) {\n customClassNames = styles.sticky;\n }\n break;\n }\n case COMBOBOX_OPTION_ITEM: {\n innerElement = optionItemRenderer({\n ...otherArgs,\n ...optionEvents,\n ...optionRenderData\n });\n break;\n }\n }\n\n return (\n <div key={otherArgs.id} className={cx(styles.comboboxItemContainer, customClassNames)} style={style}>\n {innerElement}\n </div>\n );\n}\n\nexport function dividerItemRenderer({ id, height }: { id: string; height: number }) {\n return (\n <div className={styles.dividerContainer} style={{ height: height }}>\n <Divider className={styles.divider} key={id} />\n </div>\n );\n}\n\nexport function categoryItemRenderer({\n id,\n category,\n className\n}: {\n id: string;\n category: IComboboxCategory;\n className: string;\n}) {\n return <ComboboxCategory key={id} category={category} className={className} />;\n}\n\nexport function optionItemRenderer({\n id,\n index,\n option,\n className,\n onOptionClick,\n onOptionEnter,\n onOptionLeave,\n optionLineHeight,\n optionRenderer,\n scrollRef,\n shouldScrollToSelectedItem,\n activeItemIndex,\n visualFocusItemIndex\n}: IOptionItemRendererArgs) {\n return (\n <ComboboxOption\n className={className}\n index={index}\n key={id}\n option={option}\n optionRenderer={optionRenderer}\n scrollRef={scrollRef}\n isActive={activeItemIndex === index}\n visualFocus={index === visualFocusItemIndex}\n onOptionClick={onOptionClick}\n onOptionHover={onOptionEnter}\n onOptionLeave={onOptionLeave}\n onOptionEnter={onOptionEnter}\n optionLineHeight={optionLineHeight}\n shouldScrollWhenActive={shouldScrollToSelectedItem}\n />\n );\n}\n"],"names":["DIVIDER_HEIGHT","CATEGORY_HEIGHT","useItemsData","_ref","categories","options","filterValue","withCategoriesDivider","optionLineHeight","useMemo","items","selectableItems","itemsMap","Map","optionsByCategories","getOptionsByCategories","optionIndex","Object","keys","forEach","categoryId","categoryIndex","withDivider","push","createDividerItemObject","isCategoryWithOptions","length","isFirstCategory","categoryObject","createCategoryItemObject","categoryData","className","cx","_defineProperty","comboboxItemsStyles","categoryWithOptions","categoryWithoutOptions","firstCategory","set","option","itemObject","createOptionItemObject","height","index","id","map","useKeyboardNavigation","_ref2","defaultVisualFocusFirstIndex","inputRef","onClick","isChildSelectable","getOptionId","filteredOptionsIds","_useActiveDescendantL","useActiveDescendantListFocus","focusedElementRef","focusedElementRole","roles","COMBOBOX","itemsIds","onItemClick","isItemSelectable","isIgnoreSpaceAsItemSelection","visualFocusItemIndex","visualFocusItemId","onOptionClick","onItemClickCallback","_ref3","type","COMBOBOX_DIVIDER_ITEM","concat","_ref4","COMBOBOX_CATEGORY_ITEM","category","_ref5","COMBOBOX_OPTION_ITEM","belongToCategory","optionRenderer","isActive","shouldScrollToSelectedItem","comboboxItemRenderer","_ref6","customClassNames","innerElement","item","style","optionEvents","optionRenderData","isVirtualized","stickyCategories","otherArgs","__rest","dividerItemRenderer","categoryItemRenderer","styles","sticky","optionItemRenderer","assign","React","createElement","key","comboboxItemContainer","_ref7","dividerContainer","Divider","divider","_ref8","ComboboxCategory","_ref9","onOptionEnter","Combobo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AAAC,cAACW,EAAc,CACbhF,UAbK8E,EAAT9E,UAcIY,MAAOA,EACP0D,IAlBFQ,EAAFjE,GAmBIL,OAjBEsE,EAANtE,OAkBIuC,eAZU+B,EAAd/B,eAaIkC,UAZKH,EAATG,UAaIjC,SAXW8B,EAAfI,kBAWkCtE,EAC9BuE,YAAavE,IAXGkE,EAApB7C,qBAYIE,cApBS2C,EAAb3C,cAqBIiD,cAAeL,EACfM,cApBSP,EAAbO,cAqBIN,cAAeA,EACftG,iBArBYqG,EAAhBrG,iBAsBI6G,uBAnBsBR,EAA1B7B,4BAsBF"}
1
+ {"version":3,"file":"ComboboxHelpers.js","sources":["../../../../../../src/components/Combobox/ComboboxHelpers/ComboboxHelpers.tsx"],"sourcesContent":["import React, { type CSSProperties, type MutableRefObject, useMemo } from \"react\";\nimport cx from \"classnames\";\nimport ComboboxOption from \"../components/ComboboxOption/ComboboxOption\";\nimport ComboboxCategory from \"../components/ComboboxCategory/ComboboxCategory\";\nimport Divider from \"../../Divider/Divider\";\nimport {\n COMBOBOX_DIVIDER_ITEM,\n COMBOBOX_CATEGORY_ITEM,\n COMBOBOX_OPTION_ITEM,\n type IComboboxCategory,\n type IComboboxOption,\n type IComboboxCategoryMap,\n type IComboboxItem,\n type IOptionItemRendererArgs,\n type IComboboxOptionEvents\n} from \"../components/ComboboxConstants\";\nimport useActiveDescendantListFocus from \"../../../hooks/useActiveDescendantListFocus\";\nimport { getOptionsByCategories } from \"../ComboboxService\";\nimport comboboxItemsStyles from \"../components/ComboboxItems/ComboboxItems.module.scss\";\nimport styles from \"./ComboboxHelpers.module.scss\";\n\nconst DIVIDER_HEIGHT = 17;\nconst CATEGORY_HEIGHT = 32;\n\nexport function useItemsData({\n categories,\n options,\n filterValue,\n withCategoriesDivider,\n optionLineHeight\n}: {\n categories: IComboboxCategoryMap;\n options: IComboboxOption[];\n filterValue: string;\n withCategoriesDivider: boolean;\n optionLineHeight: number;\n}) {\n return useMemo(() => {\n let items: IComboboxItem[] = [];\n let selectableItems: IComboboxOption[] = [];\n const itemsMap = new Map();\n\n if (categories) {\n const optionsByCategories = getOptionsByCategories(options, categories, filterValue);\n let optionIndex = 0;\n Object.keys(optionsByCategories).forEach((categoryId, categoryIndex) => {\n const withDivider = withCategoriesDivider && categoryIndex !== 0;\n if (withDivider) {\n items.push(createDividerItemObject({ categoryId }));\n }\n\n const isCategoryWithOptions = optionsByCategories[categoryId].length > 0;\n const isFirstCategory = categoryIndex === 0;\n\n const categoryObject = createCategoryItemObject({\n categoryId,\n categoryData: categories[categoryId],\n withDivider,\n className: cx({\n [comboboxItemsStyles.categoryWithOptions]: isCategoryWithOptions,\n [comboboxItemsStyles.categoryWithoutOptions]: !isCategoryWithOptions,\n [comboboxItemsStyles.firstCategory]: isFirstCategory\n })\n });\n\n // save category object in both items array and categories map\n items.push(categoryObject);\n itemsMap.set(categoryId, categoryObject);\n\n optionsByCategories[categoryId].forEach((option: IComboboxOption) => {\n const itemObject = createOptionItemObject({\n height: optionLineHeight,\n option,\n index: optionIndex,\n categoryId: categoryObject.id\n });\n\n itemsMap.set(itemObject.id, itemObject);\n items.push(itemObject);\n selectableItems.push(option);\n optionIndex++;\n });\n });\n } else {\n selectableItems = options;\n items = options.map((option, index) => {\n return createOptionItemObject({\n height: optionLineHeight,\n option,\n index\n });\n });\n }\n return { items, itemsMap, selectableItems };\n }, [categories, options, filterValue, withCategoriesDivider, optionLineHeight]);\n}\n\nexport function useKeyboardNavigation({\n defaultVisualFocusFirstIndex,\n inputRef,\n onClick,\n isChildSelectable,\n options,\n getOptionId\n}: {\n defaultVisualFocusFirstIndex?: boolean;\n inputRef: MutableRefObject<HTMLElement>;\n onClick: (event: React.KeyboardEvent | React.MouseEvent, index: number) => void;\n isChildSelectable: (index: number) => boolean;\n options: IComboboxOption[];\n getOptionId: (optionId: string, index: number) => string;\n}) {\n const filteredOptionsIds = useMemo(\n () => options.map((option: IComboboxOption, index: number) => getOptionId(option?.id, index)),\n [getOptionId, options]\n );\n\n const {\n visualFocusItemIndex,\n visualFocusItemId,\n onItemClickCallback: onOptionClick\n } = useActiveDescendantListFocus({\n defaultVisualFocusFirstIndex,\n focusedElementRef: inputRef,\n focusedElementRole: useActiveDescendantListFocus.roles.COMBOBOX,\n itemsIds: filteredOptionsIds,\n onItemClick: onClick,\n isItemSelectable: isChildSelectable,\n isIgnoreSpaceAsItemSelection: true\n });\n\n return { visualFocusItemIndex, visualFocusItemId, onOptionClick };\n}\nexport function createDividerItemObject({ categoryId }: { categoryId: string }): IComboboxItem {\n return { type: COMBOBOX_DIVIDER_ITEM, height: DIVIDER_HEIGHT, id: `${categoryId}-divider` };\n}\n\nexport function createCategoryItemObject({\n withDivider,\n categoryId,\n categoryData,\n className\n}: {\n withDivider: boolean;\n categoryId: string;\n categoryData: IComboboxCategory;\n className: string;\n}): IComboboxItem {\n return {\n height: CATEGORY_HEIGHT,\n type: COMBOBOX_CATEGORY_ITEM,\n category: categoryData,\n id: categoryId,\n withDivider,\n className\n };\n}\n\nexport function createOptionItemObject({\n option,\n height,\n index,\n optionRenderer,\n isActive,\n optionLineHeight,\n shouldScrollToSelectedItem,\n categoryId\n}: {\n option?: IComboboxOption;\n height?: number;\n index?: number;\n optionRenderer?: (option: IComboboxOption) => JSX.Element;\n isActive?: boolean;\n optionLineHeight?: number;\n shouldScrollToSelectedItem?: boolean;\n categoryId?: string;\n}): IComboboxItem {\n return {\n type: COMBOBOX_OPTION_ITEM,\n height,\n belongToCategory: true,\n index,\n option,\n id: option.id || index.toString(),\n optionRenderer,\n isActive,\n optionLineHeight,\n shouldScrollToSelectedItem,\n categoryId\n };\n}\n\nexport function comboboxItemRenderer({\n item,\n style,\n optionEvents,\n optionRenderData,\n isVirtualized,\n stickyCategories\n}: {\n item: IComboboxItem;\n style: CSSProperties;\n optionEvents: IComboboxOptionEvents;\n optionRenderData: any;\n isVirtualized: boolean;\n stickyCategories?: boolean;\n}) {\n const { type, ...otherArgs } = item;\n let customClassNames;\n let innerElement;\n switch (type) {\n case COMBOBOX_DIVIDER_ITEM: {\n innerElement = dividerItemRenderer({ id: otherArgs.id, height: otherArgs.height });\n break;\n }\n case COMBOBOX_CATEGORY_ITEM: {\n innerElement = categoryItemRenderer({\n id: otherArgs.id,\n category: otherArgs.category,\n className: otherArgs.className\n });\n if (stickyCategories && !isVirtualized) {\n customClassNames = styles.sticky;\n }\n break;\n }\n case COMBOBOX_OPTION_ITEM: {\n innerElement = optionItemRenderer({\n ...otherArgs,\n ...optionEvents,\n ...optionRenderData\n });\n break;\n }\n }\n\n return (\n <div key={otherArgs.id} className={cx(styles.comboboxItemContainer, customClassNames)} style={style}>\n {innerElement}\n </div>\n );\n}\n\nexport function dividerItemRenderer({ id, height }: { id: string; height: number }) {\n return (\n <div className={styles.dividerContainer} style={{ height: height }}>\n <Divider className={styles.divider} key={id} />\n </div>\n );\n}\n\nexport function categoryItemRenderer({\n id,\n category,\n className\n}: {\n id: string;\n category: IComboboxCategory;\n className: string;\n}) {\n return <ComboboxCategory key={id} category={category} className={className} />;\n}\n\nexport function optionItemRenderer({\n id,\n index,\n option,\n className,\n onOptionClick,\n onOptionEnter,\n onOptionLeave,\n optionLineHeight,\n optionRenderer,\n scrollRef,\n shouldScrollToSelectedItem,\n activeItemIndex,\n visualFocusItemIndex\n}: IOptionItemRendererArgs) {\n return (\n <ComboboxOption\n className={className}\n index={index}\n key={id}\n option={option}\n optionRenderer={optionRenderer}\n scrollRef={scrollRef}\n isActive={activeItemIndex === index}\n visualFocus={index === visualFocusItemIndex}\n onOptionClick={onOptionClick}\n onOptionHover={onOptionEnter}\n onOptionLeave={onOptionLeave}\n onOptionEnter={onOptionEnter}\n optionLineHeight={optionLineHeight}\n shouldScrollWhenActive={shouldScrollToSelectedItem}\n />\n );\n}\n"],"names":["DIVIDER_HEIGHT","CATEGORY_HEIGHT","useItemsData","_ref","categories","options","filterValue","withCategoriesDivider","optionLineHeight","useMemo","items","selectableItems","itemsMap","Map","optionsByCategories","getOptionsByCategories","optionIndex","Object","keys","forEach","categoryId","categoryIndex","withDivider","push","createDividerItemObject","isCategoryWithOptions","length","isFirstCategory","categoryObject","createCategoryItemObject","categoryData","className","cx","_defineProperty","comboboxItemsStyles","categoryWithOptions","categoryWithoutOptions","firstCategory","set","option","itemObject","createOptionItemObject","height","index","id","map","useKeyboardNavigation","_ref2","defaultVisualFocusFirstIndex","inputRef","onClick","isChildSelectable","getOptionId","filteredOptionsIds","_useActiveDescendantL","useActiveDescendantListFocus","focusedElementRef","focusedElementRole","roles","COMBOBOX","itemsIds","onItemClick","isItemSelectable","isIgnoreSpaceAsItemSelection","visualFocusItemIndex","visualFocusItemId","onOptionClick","onItemClickCallback","_ref3","type","COMBOBOX_DIVIDER_ITEM","concat","_ref4","COMBOBOX_CATEGORY_ITEM","category","_ref5","COMBOBOX_OPTION_ITEM","belongToCategory","optionRenderer","isActive","shouldScrollToSelectedItem","comboboxItemRenderer","_ref6","customClassNames","innerElement","item","style","optionEvents","optionRenderData","isVirtualized","stickyCategories","otherArgs","__rest","dividerItemRenderer","categoryItemRenderer","styles","sticky","optionItemRenderer","assign","React","createElement","key","comboboxItemContainer","_ref7","dividerContainer","Divider","divider","_ref8","ComboboxCategory","_ref9","onOptionEnter","ComboboxOption","scrollRef","activeItemIndex","visualFocus","onOptionHover","onOptionLeave","shouldScrollWhenActive"],"mappings":"4uBAqBA,IAAMA,EAAiB,GACjBC,EAAkB,GAER,SAAAC,EAAYC,GAY3B,IAXCC,EAAUD,EAAVC,WACAC,EAAOF,EAAPE,QACAC,EAAWH,EAAXG,YACAC,EAAqBJ,EAArBI,sBACAC,EAAgBL,EAAhBK,iBAQA,OAAOC,GAAQ,WACb,IAAIC,EAAyB,GACzBC,EAAqC,GACnCC,EAAW,IAAIC,IAErB,GAAIT,EAAY,CACd,IAAMU,EAAsBC,EAAuBV,EAASD,EAAYE,GACpEU,EAAc,EAClBC,OAAOC,KAAKJ,GAAqBK,SAAQ,SAACC,EAAYC,GACpD,IAAMC,EAAcf,GAA2C,I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8B,SAAUiB,EAAUjB,SACpB3C,UAAW4D,EAAU5D,YAEnB2D,IAAqBD,IACvBN,EAAmBY,EAAOC,QAE5B,MAEF,KAAKpB,EACHQ,EAAea,EACVhF,OAAAiF,OAAAjF,OAAAiF,OAAAjF,OAAAiF,OAAA,CAAA,EAAAP,GACAJ,GACAC,IAMT,OACEW,EAAKC,cAAA,MAAA,CAAAC,IAAKV,EAAU/C,GAAIb,UAAWC,EAAG+D,EAAOO,sBAAuBnB,GAAmBG,MAAOA,GAC3FF,EAGP,UAEgBS,EAAmBU,GACjC,OACEJ,EAAAC,cAAA,MAAA,CAAKrE,UAAWgE,EAAOS,iBAAkBlB,MAAO,CAAE5C,OAFN6D,EAAN7D,SAGpCyD,EAAAC,cAACK,EAAO,CAAC1E,UAAWgE,EAAOW,QAASL,IAHFE,EAAF3D,KAMtC,CAEM,SAAUkD,EAAoBa,GASlC,OAAOR,EAACC,cAAAQ,EAAiB,CAAAP,IARvBM,EAAF/D,GAQkC8B,SAP1BiC,EAARjC,SAOsD3C,UAN7C4E,EAAT5E,WAOF,CAEgB,SAAAkE,EAAkBY,GAcR,IAZxBlE,EAAKkE,EAALlE,MAIAmE,EAAaD,EAAbC,cASA,OACEX,EAAAC,cAACW,EAAc,CACbhF,UAbK8E,EAAT9E,UAcIY,MAAOA,EACP0D,IAlBFQ,EAAFjE,GAmBIL,OAjBEsE,EAANtE,OAkBIuC,eAZU+B,EAAd/B,eAaIkC,UAZKH,EAATG,UAaIjC,SAXW8B,EAAfI,kBAWkCtE,EAC9BuE,YAAavE,IAXGkE,EAApB7C,qBAYIE,cApBS2C,EAAb3C,cAqBIiD,cAAeL,EACfM,cApBSP,EAAbO,cAqBIN,cAAeA,EACftG,iBArBYqG,EAAhBrG,iBAsBI6G,uBAnBsBR,EAA1B7B,4BAsBF"}
@@ -1,2 +1,2 @@
1
- var e={comboboxItemContainer:"comboboxItemContainer",dividerContainer:"dividerContainer",divider:"divider",sticky:"sticky"};!function(e){const n="s_id-78c8179b7fe9_3_58_0";if("undefined"!=typeof document){const i=document.head||document.getElementsByTagName("head")[0];if(i.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,i.firstChild?i.insertBefore(t,i.firstChild):i.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".comboboxItemContainer {\n display: flex;\n flex: auto;\n width: 100%;\n background-color: var(--secondary-background-color);\n}\n\n.dividerContainer {\n position: relative;\n width: 95%;\n}\n\n.divider {\n position: absolute;\n width: calc(100% + 16px);\n margin-left: -12px;\n}\n\n.sticky {\n position: sticky;\n top: 0;\n z-index: 20;\n}");export{e as default};
1
+ var e={comboboxItemContainer:"comboboxItemContainer",dividerContainer:"dividerContainer",divider:"divider",sticky:"sticky"};!function(e){const n="s_id-78c8179b7fe9_3_58_1";if("undefined"!=typeof document){const i=document.head||document.getElementsByTagName("head")[0];if(i.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,i.firstChild?i.insertBefore(t,i.firstChild):i.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".comboboxItemContainer {\n display: flex;\n flex: auto;\n width: 100%;\n background-color: var(--secondary-background-color);\n}\n\n.dividerContainer {\n position: relative;\n width: 95%;\n}\n\n.divider {\n position: absolute;\n width: calc(100% + 16px);\n margin-left: -12px;\n}\n\n.sticky {\n position: sticky;\n top: 0;\n z-index: 20;\n}");export{e as default};
2
2
  //# sourceMappingURL=ComboboxHelpers.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxService.js","sources":["../../../../../src/components/Combobox/ComboboxService.ts"],"sourcesContent":["import { IComboboxCategoryMap, IComboboxOption } from \"./components/ComboboxConstants\";\n\ntype OptionsByCategories = {\n [key: string]: Array<IComboboxOption>;\n};\n\nexport const getOptionsByCategories = (\n options: IComboboxOption[],\n categories: IComboboxCategoryMap,\n filterValue: string\n): OptionsByCategories => {\n const optionsByCategories = options.reduce((result: OptionsByCategories, option) => {\n const categoryId = option.categoryId;\n // skipping if the option doesn't have a category\n if (!categoryId) return result;\n if (categories[categoryId]?.onlyShowOnSearch && !filterValue) return result;\n\n if (result[categoryId]) {\n result[categoryId].push(option);\n } else {\n result[categoryId] = [option];\n }\n\n return result;\n }, {});\n\n // reorder the keys according to the categories order\n return Object.keys(categories).reduce((result: OptionsByCategories, categoryId) => {\n if (optionsByCategories[categoryId]) result[categoryId] = optionsByCategories[categoryId];\n\n return result;\n }, {});\n};\n\nexport const defaultFilter = (filterValue: string, options: IComboboxOption[]) =>\n options.filter(\n ({ label }: { label: string }) => !filterValue || label.toLowerCase().includes(filterValue.toLowerCase())\n );\n"],"names":["getOptionsByCategories","options","categories","filterValue","optionsByCategories","reduce","result","option","categoryId","_a","onlyShowOnSearch","push","Object","keys","defaultFilter","filter","_ref","label","toLowerCase","includes"],"mappings":"AAMO,IAAMA,EAAyB,SACpCC,EACAC,EACAC,GAEA,IAAMC,EAAsBH,EAAQI,QAAO,SAACC,EAA6BC,SACjEC,EAAaD,EAAOC,WAE1B,OAAKA,IACuB,QAAxBC,EAAAP,EAAWM,UAAa,IAAAC,OAAA,EAAAA,EAAAC,oBAAqBP,IAE7CG,EAAOE,GACTF,EAAOE,GAAYG,KAAKJ,GAExBD,EAAOE,GAAc,CAACD,IAL6CD,GAD7CA,CAUzB,GAAE,CAAE,GAGL,OAAOM,OAAOC,KAAKX,GAAYG,QAAO,SAACC,EAA6BE,GAGlE,OAFIJ,EAAoBI,KAAaF,EAAOE,GAAcJ,EAAoBI,IAEvEF,CACR,GAAE,CAAE,EACP,EAEaQ,EAAgB,SAACX,EAAqBF,GAA0B,OAC3EA,EAAQc,QACN,SAAAC,GAAQ,OAA2Bb,GAA3Ba,EAALC,MAAqDC,cAAcC,SAAShB,EAAYe,iBAC5F"}
1
+ {"version":3,"file":"ComboboxService.js","sources":["../../../../../src/components/Combobox/ComboboxService.ts"],"sourcesContent":["import { type IComboboxCategoryMap, type IComboboxOption } from \"./components/ComboboxConstants\";\n\ntype OptionsByCategories = {\n [key: string]: Array<IComboboxOption>;\n};\n\nexport const getOptionsByCategories = (\n options: IComboboxOption[],\n categories: IComboboxCategoryMap,\n filterValue: string\n): OptionsByCategories => {\n const optionsByCategories = options.reduce((result: OptionsByCategories, option) => {\n const categoryId = option.categoryId;\n // skipping if the option doesn't have a category\n if (!categoryId) return result;\n if (categories[categoryId]?.onlyShowOnSearch && !filterValue) return result;\n\n if (result[categoryId]) {\n result[categoryId].push(option);\n } else {\n result[categoryId] = [option];\n }\n\n return result;\n }, {});\n\n // reorder the keys according to the categories order\n return Object.keys(categories).reduce((result: OptionsByCategories, categoryId) => {\n if (optionsByCategories[categoryId]) result[categoryId] = optionsByCategories[categoryId];\n\n return result;\n }, {});\n};\n\nexport const defaultFilter = (filterValue: string, options: IComboboxOption[]) =>\n options.filter(\n ({ label }: { label: string }) => !filterValue || label.toLowerCase().includes(filterValue.toLowerCase())\n );\n"],"names":["getOptionsByCategories","options","categories","filterValue","optionsByCategories","reduce","result","option","categoryId","_a","onlyShowOnSearch","push","Object","keys","defaultFilter","filter","_ref","label","toLowerCase","includes"],"mappings":"AAMO,IAAMA,EAAyB,SACpCC,EACAC,EACAC,GAEA,IAAMC,EAAsBH,EAAQI,QAAO,SAACC,EAA6BC,SACjEC,EAAaD,EAAOC,WAE1B,OAAKA,IACuB,QAAxBC,EAAAP,EAAWM,UAAa,IAAAC,OAAA,EAAAA,EAAAC,oBAAqBP,IAE7CG,EAAOE,GACTF,EAAOE,GAAYG,KAAKJ,GAExBD,EAAOE,GAAc,CAACD,IAL6CD,GAD7CA,CAUzB,GAAE,CAAE,GAGL,OAAOM,OAAOC,KAAKX,GAAYG,QAAO,SAACC,EAA6BE,GAGlE,OAFIJ,EAAoBI,KAAaF,EAAOE,GAAcJ,EAAoBI,IAEvEF,CACR,GAAE,CAAE,EACP,EAEaQ,EAAgB,SAACX,EAAqBF,GAA0B,OAC3EA,EAAQc,QACN,SAAAC,GAAQ,OAA2Bb,GAA3Ba,EAALC,MAAqDC,cAAcC,SAAShB,EAAYe,iBAC5F"}
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxCategory.js","sources":["../../../../../../../src/components/Combobox/components/ComboboxCategory/ComboboxCategory.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport React, { FC } from \"react\";\nimport { IComboboxCategory } from \"../ComboboxConstants\";\nimport styles from \"./ComboboxCategory.module.scss\";\nimport comboboxStyles from \"../../Combobox.module.scss\";\n\nexport interface ComboboxCategoryProps {\n /**\n * The category data.\n */\n category: IComboboxCategory;\n /**\n * Class name applied to the category element.\n */\n className: string;\n}\n\nconst ComboboxCategory: FC<ComboboxCategoryProps> = ({ category, className }) => {\n const { label, id, ariaLabel, color } = category;\n\n if (!label) return null;\n\n return (\n <div\n key={id}\n role=\"row\"\n aria-level={1}\n aria-label={ariaLabel || label}\n id={`combobox-category-${id}`}\n style={color && { color }}\n className={cx(styles.comboboxCategory, comboboxStyles.comboboxCategory, className)}\n >\n {label}\n </div>\n );\n};\n\nexport default ComboboxCategory;\n"],"names":["ComboboxCategory","_ref","category","className","label","id","color","React","key","role","ariaLabel","concat","style","cx","styles","comboboxCategory","comboboxStyles"],"mappings":"6IAiBA,IAAMA,EAA8C,SAA9BC,GAA0D,IAAzBC,EAAQD,EAARC,SAAUC,EAASF,EAATE,UACvDC,EAAgCF,EAAhCE,MAAOC,EAAyBH,EAAzBG,GAAeC,EAAUJ,EAAVI,MAE9B,OAAKF,EAGHG,uBACEC,IAAKH,EACLI,KAAK,MACO,aAAA,eARwBP,EAArBQ,WASUN,EACzBC,GAAEM,qBAAAA,OAAuBN,GACzBO,MAAON,GAAS,CAAEA,MAAAA,GAClBH,UAAWU,EAAGC,EAAOC,iBAAkBC,EAAeD,iBAAkBZ,IAEvEC,GAZc,IAerB"}
1
+ {"version":3,"file":"ComboboxCategory.js","sources":["../../../../../../../src/components/Combobox/components/ComboboxCategory/ComboboxCategory.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport React, { type FC } from \"react\";\nimport { type IComboboxCategory } from \"../ComboboxConstants\";\nimport styles from \"./ComboboxCategory.module.scss\";\nimport comboboxStyles from \"../../Combobox.module.scss\";\n\nexport interface ComboboxCategoryProps {\n /**\n * The category data.\n */\n category: IComboboxCategory;\n /**\n * Class name applied to the category element.\n */\n className: string;\n}\n\nconst ComboboxCategory: FC<ComboboxCategoryProps> = ({ category, className }) => {\n const { label, id, ariaLabel, color } = category;\n\n if (!label) return null;\n\n return (\n <div\n key={id}\n role=\"row\"\n aria-level={1}\n aria-label={ariaLabel || label}\n id={`combobox-category-${id}`}\n style={color && { color }}\n className={cx(styles.comboboxCategory, comboboxStyles.comboboxCategory, className)}\n >\n {label}\n </div>\n );\n};\n\nexport default ComboboxCategory;\n"],"names":["ComboboxCategory","_ref","category","className","label","id","color","React","key","role","ariaLabel","concat","style","cx","styles","comboboxCategory","comboboxStyles"],"mappings":"6IAiBA,IAAMA,EAA8C,SAA9BC,GAA0D,IAAzBC,EAAQD,EAARC,SAAUC,EAASF,EAATE,UACvDC,EAAgCF,EAAhCE,MAAOC,EAAyBH,EAAzBG,GAAeC,EAAUJ,EAAVI,MAE9B,OAAKF,EAGHG,uBACEC,IAAKH,EACLI,KAAK,MACO,aAAA,eARwBP,EAArBQ,WASUN,EACzBC,GAAEM,qBAAAA,OAAuBN,GACzBO,MAAON,GAAS,CAAEA,MAAAA,GAClBH,UAAWU,EAAGC,EAAOC,iBAAkBC,EAAeD,iBAAkBZ,IAEvEC,GAZc,IAerB"}
@@ -1,2 +1,2 @@
1
- var e={comboboxCategory:"comboboxCategory"};!function(e){const t="s_id-a004d249e1c1_3_58_0";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+t))return;const n=document.createElement("style");n.id=t,o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}("/* stylelint-disable selector-class-pattern */\n.comboboxCategory {\n color: var(--placeholder-color);\n display: flex;\n align-items: center;\n padding-top: var(--spacing-small);\n}");export{e as default};
1
+ var e={comboboxCategory:"comboboxCategory"};!function(e){const t="s_id-a004d249e1c1_3_58_1";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+t))return;const n=document.createElement("style");n.id=t,o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}("/* stylelint-disable selector-class-pattern */\n.comboboxCategory {\n color: var(--placeholder-color);\n display: flex;\n align-items: center;\n padding-top: var(--spacing-small);\n}");export{e as default};
2
2
  //# sourceMappingURL=ComboboxCategory.module.scss.js.map