@vibe/core 4.0.0-alpha.1 → 4.0.0-beta.0

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 (1411) hide show
  1. package/dist/base/dist/BaseInput/BaseInput.module.scss.js +1 -1
  2. package/dist/components/Accordion/Accordion/Accordion.d.ts +18 -18
  3. package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +51 -51
  4. package/dist/components/Accordion/index.d.ts +2 -2
  5. package/dist/components/AlertBanner/AlertBanner.d.ts +35 -35
  6. package/dist/components/AlertBanner/AlertBanner.types.d.ts +1 -1
  7. package/dist/components/AlertBanner/AlertBannerButton/AlertBannerButton.d.ts +10 -10
  8. package/dist/components/AlertBanner/AlertBannerContext.d.ts +7 -7
  9. package/dist/components/AlertBanner/AlertBannerLink/AlertBannerLink.d.ts +10 -10
  10. package/dist/components/AlertBanner/AlertBannerText/AlertBannerText.d.ts +18 -18
  11. package/dist/components/AlertBanner/index.d.ts +5 -5
  12. package/dist/components/AttentionBox/AttentionBox.d.ts +4 -4
  13. package/dist/components/AttentionBox/AttentionBox.types.d.ts +70 -70
  14. package/dist/components/AttentionBox/components/AttentionBoxButton/AttentionBoxButton.d.ts +7 -7
  15. package/dist/components/AttentionBox/components/AttentionBoxCloseButton/AttentionBoxCloseButton.d.ts +8 -8
  16. package/dist/components/AttentionBox/components/AttentionBoxLeadingIcon/AttentionBoxLeadingIcon.d.ts +9 -9
  17. package/dist/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.d.ts +5 -5
  18. package/dist/components/AttentionBox/consts/icons.d.ts +3 -3
  19. package/dist/components/AttentionBox/index.d.ts +2 -2
  20. package/dist/components/AttentionBox/layouts/AttentionBoxCompact/AttentionBoxCompact.d.ts +5 -5
  21. package/dist/components/AttentionBox/layouts/AttentionBoxDefault/AttentionBoxDefault.d.ts +5 -5
  22. package/dist/components/AttentionBox/utils/iconUtils.d.ts +3 -3
  23. package/dist/components/Avatar/Avatar.d.ts +107 -107
  24. package/dist/components/Avatar/Avatar.types.d.ts +2 -2
  25. package/dist/components/Avatar/AvatarBadge.d.ts +28 -28
  26. package/dist/components/Avatar/AvatarContent.d.ts +40 -40
  27. package/dist/components/Avatar/index.d.ts +2 -2
  28. package/dist/components/AvatarGroup/AvatarGroup.d.ts +46 -46
  29. package/dist/components/AvatarGroup/AvatarGroup.types.d.ts +14 -14
  30. package/dist/components/AvatarGroup/AvatarGroupConstants.d.ts +2 -2
  31. package/dist/components/AvatarGroup/AvatarGroupCounter.d.ts +42 -42
  32. package/dist/components/AvatarGroup/AvatarGroupCounterTooltipContainer.d.ts +41 -41
  33. package/dist/components/AvatarGroup/AvatarGroupCounterTooltipContent.d.ts +24 -24
  34. package/dist/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.d.ts +34 -34
  35. package/dist/components/AvatarGroup/AvatarGroupCounterTooltipHelper.d.ts +17 -17
  36. package/dist/components/AvatarGroup/AvatarGroupHelper.d.ts +3 -3
  37. package/dist/components/AvatarGroup/index.d.ts +2 -2
  38. package/dist/components/Badge/Badge.d.ts +34 -34
  39. package/dist/components/Badge/Badge.types.d.ts +3 -3
  40. package/dist/components/Badge/Indicator/Indicator.d.ts +11 -11
  41. package/dist/components/Badge/Indicator/Indicator.types.d.ts +1 -1
  42. package/dist/components/Badge/index.d.ts +2 -2
  43. package/dist/components/BaseItem/BaseItem.d.ts +6 -6
  44. package/dist/components/BaseItem/BaseItem.types.d.ts +110 -110
  45. package/dist/components/BaseItem/hooks/useListItemProps.d.ts +20 -20
  46. package/dist/components/BaseItem/index.d.ts +2 -2
  47. package/dist/components/BaseItem/utils.d.ts +4 -4
  48. package/dist/components/BaseList/BaseList.d.ts +4 -4
  49. package/dist/components/BaseList/BaseList.types.d.ts +60 -60
  50. package/dist/components/BaseList/context/BaseListContext.d.ts +66 -66
  51. package/dist/components/BaseList/hooks/useBaseListFocus.d.ts +41 -42
  52. package/dist/components/BaseList/hooks/useBaseListKeyboard.d.ts +27 -28
  53. package/dist/components/BaseList/index.d.ts +3 -3
  54. package/dist/components/BaseList/utils/baseListUtils.d.ts +10 -10
  55. package/dist/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.d.ts +38 -38
  56. package/dist/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.d.ts +39 -39
  57. package/dist/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbMenu.d.ts +7 -7
  58. package/dist/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbMenuItem/BreadcrumbMenuItem.d.ts +12 -12
  59. package/dist/components/BreadcrumbsBar/Breadcrumbs.types.d.ts +1 -1
  60. package/dist/components/BreadcrumbsBar/BreadcrumbsBar.d.ts +17 -17
  61. package/dist/components/BreadcrumbsBar/index.d.ts +5 -5
  62. package/dist/components/ButtonGroup/ButtonGroup.d.ts +85 -85
  63. package/dist/components/ButtonGroup/ButtonGroupConstants.d.ts +1 -1
  64. package/dist/components/ButtonGroup/ButtonWrapper.d.ts +35 -35
  65. package/dist/components/ButtonGroup/index.d.ts +1 -1
  66. package/dist/components/Checkbox/Checkbox.d.ts +67 -67
  67. package/dist/components/Checkbox/hooks/useSupportFirefoxLabelClick.d.ts +6 -6
  68. package/dist/components/Checkbox/index.d.ts +1 -1
  69. package/dist/components/Chips/Chips.d.ts +109 -109
  70. package/dist/components/Chips/index.d.ts +1 -1
  71. package/dist/components/ColorPicker/ColorPicker.d.ts +80 -80
  72. package/dist/components/ColorPicker/ColorPicker.types.d.ts +6 -6
  73. package/dist/components/ColorPicker/ColorPickerConstants.d.ts +5 -5
  74. package/dist/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.d.ts +19 -19
  75. package/dist/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.d.ts +63 -63
  76. package/dist/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.d.ts +84 -84
  77. package/dist/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.d.ts +53 -53
  78. package/dist/components/ColorPicker/index.d.ts +3 -3
  79. package/dist/components/ColorPicker/services/ColorPickerStyleService.d.ts +3 -3
  80. package/dist/components/Combobox/Combobox.d.ts +163 -163
  81. package/dist/components/Combobox/Combobox.types.d.ts +3 -3
  82. package/dist/components/Combobox/ComboboxHelpers/ComboboxHelpers.d.ts +62 -62
  83. package/dist/components/Combobox/ComboboxService.d.ts +7 -7
  84. package/dist/components/Combobox/components/ComboboxCategory/ComboboxCategory.d.ts +14 -14
  85. package/dist/components/Combobox/components/ComboboxConstants.d.ts +239 -239
  86. package/dist/components/Combobox/components/ComboboxItems/ComboboxItems.d.ts +65 -65
  87. package/dist/components/Combobox/components/ComboboxOption/ComboboxOption.d.ts +46 -46
  88. package/dist/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.d.ts +6 -6
  89. package/dist/components/Combobox/helpers.d.ts +1 -1
  90. package/dist/components/Combobox/index.d.ts +2 -2
  91. package/dist/components/Counter/Counter.d.ts +51 -51
  92. package/dist/components/Counter/Counter.types.d.ts +3 -3
  93. package/dist/components/Counter/index.d.ts +2 -2
  94. package/dist/components/DatePicker/DateContentHoverContext.d.ts +12 -12
  95. package/dist/components/DatePicker/DatePicker.d.ts +8 -8
  96. package/dist/components/DatePicker/DatePicker.types.d.ts +34 -34
  97. package/dist/components/DatePicker/DatePickerHeader.d.ts +17 -17
  98. package/dist/components/DatePicker/RangeDayContent.d.ts +3 -3
  99. package/dist/components/DatePicker/SingleDayContent.d.ts +3 -3
  100. package/dist/components/DatePicker/datePickerHooks.d.ts +18 -18
  101. package/dist/components/DatePicker/index.d.ts +2 -2
  102. package/dist/components/DatePicker/utils.d.ts +13 -13
  103. package/dist/components/Divider/Divider.d.ts +15 -15
  104. package/dist/components/Divider/Divider.types.d.ts +1 -1
  105. package/dist/components/Divider/index.d.ts +2 -2
  106. package/dist/components/Dropdown/Dropdown.d.ts +7 -7
  107. package/dist/components/Dropdown/Dropdown.types.d.ts +268 -268
  108. package/dist/components/Dropdown/components/DropdownBase/DropdownBase.d.ts +7 -7
  109. package/dist/components/Dropdown/components/DropdownBaseList/DropdownBaseList.d.ts +6 -6
  110. package/dist/components/Dropdown/components/DropdownBaseList/DropdownBaseList.types.d.ts +86 -86
  111. package/dist/components/Dropdown/components/DropdownBoxMode/DropdownBoxMode.d.ts +3 -3
  112. package/dist/components/Dropdown/components/DropdownPopup/DropdownPopup.d.ts +3 -3
  113. package/dist/components/Dropdown/components/DropdownWrapperUI.d.ts +9 -9
  114. package/dist/components/Dropdown/components/Menu/Menu.d.ts +4 -4
  115. package/dist/components/Dropdown/components/Menu/MenuList.d.ts +4 -4
  116. package/dist/components/Dropdown/components/MultiSelectedValues/MultiSelectedValues.d.ts +12 -12
  117. package/dist/components/Dropdown/components/Trigger/DropdownChip.d.ts +11 -11
  118. package/dist/components/Dropdown/components/Trigger/DropdownInput.d.ts +6 -6
  119. package/dist/components/Dropdown/components/Trigger/MultiSelectTrigger.d.ts +3 -3
  120. package/dist/components/Dropdown/components/Trigger/SingleSelectTrigger.d.ts +3 -3
  121. package/dist/components/Dropdown/components/Trigger/TriggerActions.d.ts +3 -3
  122. package/dist/components/Dropdown/context/DropdownContext.d.ts +59 -59
  123. package/dist/components/Dropdown/context/DropdownContext.types.d.ts +34 -34
  124. package/dist/components/Dropdown/hooks/useDropdownCombobox.d.ts +390 -391
  125. package/dist/components/Dropdown/hooks/useDropdownFiltering.d.ts +9 -10
  126. package/dist/components/Dropdown/hooks/useDropdownMultiCombobox.d.ts +23 -23
  127. package/dist/components/Dropdown/hooks/useDropdownMultiSelect.d.ts +23 -23
  128. package/dist/components/Dropdown/hooks/useDropdownSelect.d.ts +19 -19
  129. package/dist/components/Dropdown/index.d.ts +2 -2
  130. package/dist/components/Dropdown/modes/DropdownComboboxController.d.ts +5 -5
  131. package/dist/components/Dropdown/modes/DropdownMultiComboboxController.d.ts +5 -5
  132. package/dist/components/Dropdown/modes/DropdownMultiSelectController.d.ts +5 -5
  133. package/dist/components/Dropdown/modes/DropdownSelectController.d.ts +5 -5
  134. package/dist/components/Dropdown/utils/dropdown-modifiers.d.ts +2 -2
  135. package/dist/components/Dropdown/utils/dropdownUtils.d.ts +3 -3
  136. package/dist/components/EditableHeading/EditableHeading.d.ts +16 -16
  137. package/dist/components/EditableHeading/index.d.ts +1 -1
  138. package/dist/components/EditableText/EditableText.d.ts +20 -20
  139. package/dist/components/EditableText/index.d.ts +1 -1
  140. package/dist/components/EditableTypography/EditableTypography.d.ts +79 -79
  141. package/dist/components/EditableTypography/index.d.ts +1 -1
  142. package/dist/components/EmptyState/EmptyState.d.ts +4 -4
  143. package/dist/components/EmptyState/EmptyState.types.d.ts +27 -27
  144. package/dist/components/EmptyState/index.d.ts +2 -2
  145. package/dist/components/ExpandCollapse/ExpandCollapse.d.ts +59 -59
  146. package/dist/components/ExpandCollapse/ExpandCollapse.types.d.ts +1 -1
  147. package/dist/components/ExpandCollapse/index.d.ts +1 -1
  148. package/dist/components/FieldLabel/FieldLabel.d.ts +34 -34
  149. package/dist/components/FieldLabel/index.d.ts +1 -1
  150. package/dist/components/FormattedNumber/FormattedNumber.d.ts +38 -38
  151. package/dist/components/FormattedNumber/FormattedNumberHelpers.d.ts +4 -4
  152. package/dist/components/FormattedNumber/index.d.ts +1 -1
  153. package/dist/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.d.ts +15 -15
  154. package/dist/components/GridKeyboardNavigationContext/GridKeyboardNavigationContextConstants.d.ts +25 -25
  155. package/dist/components/GridKeyboardNavigationContext/helper.d.ts +6 -6
  156. package/dist/components/GridKeyboardNavigationContext/index.d.ts +1 -1
  157. package/dist/components/HiddenText/HiddenText.d.ts +10 -10
  158. package/dist/components/HiddenText/index.d.ts +1 -1
  159. package/dist/components/Info/Info.d.ts +4 -4
  160. package/dist/components/Info/Info.types.d.ts +60 -60
  161. package/dist/components/Info/components/InfoDialogContent/InfoDialogContent.d.ts +4 -4
  162. package/dist/components/Info/components/InfoDialogContent/InfoDialogContent.types.d.ts +16 -16
  163. package/dist/components/Info/components/InfoLink/InfoLink.d.ts +5 -5
  164. package/dist/components/Info/components/index.d.ts +3 -3
  165. package/dist/components/Info/index.d.ts +2 -2
  166. package/dist/components/InfoText/InfoText.d.ts +4 -4
  167. package/dist/components/InfoText/InfoText.types.d.ts +26 -26
  168. package/dist/components/InfoText/index.d.ts +2 -2
  169. package/dist/components/Label/Label.d.ts +40 -40
  170. package/dist/components/Label/Label.types.d.ts +5 -5
  171. package/dist/components/Label/LabelCelebrationAnimation.d.ts +13 -13
  172. package/dist/components/Label/LabelConstants.d.ts +3 -3
  173. package/dist/components/Label/Leg.d.ts +6 -6
  174. package/dist/components/Label/index.d.ts +2 -2
  175. package/dist/components/Link/Link.d.ts +70 -70
  176. package/dist/components/Link/Link.types.d.ts +3 -3
  177. package/dist/components/Link/LinkConsts.d.ts +16 -16
  178. package/dist/components/Link/index.d.ts +2 -2
  179. package/dist/components/List/List.d.ts +41 -41
  180. package/dist/components/List/List.types.d.ts +1 -1
  181. package/dist/components/List/VirtualizedListItems/VirtualizedListItems.d.ts +11 -11
  182. package/dist/components/List/index.d.ts +2 -2
  183. package/dist/components/List/utils/ListContext.d.ts +10 -10
  184. package/dist/components/List/utils/ListUtils.d.ts +11 -11
  185. package/dist/components/ListItem/ListItem.d.ts +52 -52
  186. package/dist/components/ListItem/ListItem.types.d.ts +3 -3
  187. package/dist/components/ListItem/index.d.ts +2 -2
  188. package/dist/components/ListItemAvatar/ListItemAvatar.d.ts +19 -19
  189. package/dist/components/ListItemAvatar/index.d.ts +1 -1
  190. package/dist/components/ListItemIcon/ListItemIcon.d.ts +22 -22
  191. package/dist/components/ListItemIcon/ListItemIcon.types.d.ts +1 -1
  192. package/dist/components/ListItemIcon/index.d.ts +2 -2
  193. package/dist/components/ListTitle/ListTitle.d.ts +14 -14
  194. package/dist/components/ListTitle/index.d.ts +1 -1
  195. package/dist/components/Menu/Menu/Menu.d.ts +64 -64
  196. package/dist/components/Menu/Menu/MenuConstants.d.ts +12 -12
  197. package/dist/components/Menu/Menu/hooks/useAdjacentSelectableMenuIndex.d.ts +7 -7
  198. package/dist/components/Menu/Menu/hooks/useCloseMenuOnKeyEvent.d.ts +10 -10
  199. package/dist/components/Menu/Menu/hooks/useFocusOnMount.d.ts +9 -9
  200. package/dist/components/Menu/Menu/hooks/useLastNavigationDirection.d.ts +4 -5
  201. package/dist/components/Menu/Menu/hooks/useMenuId.d.ts +2 -2
  202. package/dist/components/Menu/Menu/hooks/useMenuKeyboardNavigation.d.ts +11 -11
  203. package/dist/components/Menu/Menu/hooks/useMouseLeave.d.ts +7 -7
  204. package/dist/components/Menu/Menu/hooks/useOnCloseMenu.d.ts +6 -6
  205. package/dist/components/Menu/Menu/hooks/useSubMenuIndex.d.ts +7 -8
  206. package/dist/components/Menu/Menu/utils/utils.d.ts +4 -4
  207. package/dist/components/Menu/MenuDivider/MenuDivider.d.ts +5 -5
  208. package/dist/components/Menu/MenuGridItem/MenuGridItem.d.ts +51 -51
  209. package/dist/components/Menu/MenuGridItem/useFocusGridItemByActiveStatus.d.ts +8 -8
  210. package/dist/components/Menu/MenuGridItem/useMenuGridItemNavContext.d.ts +15 -15
  211. package/dist/components/Menu/MenuItem/AvatarMenuItem.d.ts +22 -22
  212. package/dist/components/Menu/MenuItem/MenuItem.d.ts +169 -169
  213. package/dist/components/Menu/MenuItem/MenuItem.types.d.ts +1 -1
  214. package/dist/components/Menu/MenuItem/MenuItemConstants.d.ts +1 -1
  215. package/dist/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.d.ts +4 -4
  216. package/dist/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.types.d.ts +15 -15
  217. package/dist/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.d.ts +4 -4
  218. package/dist/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.types.d.ts +32 -32
  219. package/dist/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.d.ts +4 -4
  220. package/dist/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.types.d.ts +33 -33
  221. package/dist/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.d.ts +4 -4
  222. package/dist/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.types.d.ts +31 -31
  223. package/dist/components/Menu/MenuItem/hooks/useMenuItemKeyboardEvents.d.ts +21 -21
  224. package/dist/components/Menu/MenuItem/hooks/useMenuItemMouseEvents.d.ts +12 -12
  225. package/dist/components/Menu/MenuItemButton/MenuItemButton.d.ts +77 -77
  226. package/dist/components/Menu/MenuTitle/MenuTitle.d.ts +15 -15
  227. package/dist/components/Menu/MenuTitle/MenuTitle.type.d.ts +1 -1
  228. package/dist/components/Menu/index.d.ts +7 -7
  229. package/dist/components/MenuButton/MenuButton.d.ts +146 -146
  230. package/dist/components/MenuButton/MenuButton.types.d.ts +2 -2
  231. package/dist/components/MenuButton/index.d.ts +2 -2
  232. package/dist/components/Modal/Modal/Modal.d.ts +4 -4
  233. package/dist/components/Modal/Modal/Modal.types.d.ts +114 -114
  234. package/dist/components/Modal/Modal/index.d.ts +2 -2
  235. package/dist/components/Modal/ModalContent/ModalContent.d.ts +4 -4
  236. package/dist/components/Modal/ModalContent/ModalContent.types.d.ts +8 -8
  237. package/dist/components/Modal/ModalContent/index.d.ts +2 -2
  238. package/dist/components/Modal/ModalHeader/ModalHeader.d.ts +4 -4
  239. package/dist/components/Modal/ModalHeader/ModalHeader.types.d.ts +42 -42
  240. package/dist/components/Modal/ModalHeader/index.d.ts +2 -2
  241. package/dist/components/Modal/ModalMedia/ModalMedia.d.ts +4 -4
  242. package/dist/components/Modal/ModalMedia/ModalMedia.types.d.ts +8 -8
  243. package/dist/components/Modal/ModalMedia/index.d.ts +2 -2
  244. package/dist/components/Modal/ModalTopActions/ModalTopActions.d.ts +4 -4
  245. package/dist/components/Modal/ModalTopActions/ModalTopActions.types.d.ts +25 -25
  246. package/dist/components/Modal/context/ModalContext.d.ts +4 -4
  247. package/dist/components/Modal/context/ModalContext.types.d.ts +32 -32
  248. package/dist/components/Modal/footers/ModalFooter/ModalFooter.d.ts +4 -4
  249. package/dist/components/Modal/footers/ModalFooter/ModalFooter.types.d.ts +8 -8
  250. package/dist/components/Modal/footers/ModalFooterBase/ModalFooterBase.d.ts +4 -4
  251. package/dist/components/Modal/footers/ModalFooterBase/ModalFooterBase.types.d.ts +28 -28
  252. package/dist/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.d.ts +4 -4
  253. package/dist/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.types.d.ts +18 -18
  254. package/dist/components/Modal/footers/index.d.ts +4 -4
  255. package/dist/components/Modal/footers/utils/getPropsForButton.d.ts +117 -133
  256. package/dist/components/Modal/hooks/useFocusEscapeTargets/index.d.ts +2 -2
  257. package/dist/components/Modal/hooks/useFocusEscapeTargets/useFocusEscapeTargets.d.ts +10 -10
  258. package/dist/components/Modal/hooks/useFocusEscapeTargets/useFocusEscapeTargets.types.d.ts +2 -2
  259. package/dist/components/Modal/hooks/usePortalTarget/usePortalTarget.d.ts +3 -3
  260. package/dist/components/Modal/hooks/usePortalTarget/usePortalTarget.types.d.ts +2 -2
  261. package/dist/components/Modal/index.d.ts +6 -6
  262. package/dist/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.d.ts +4 -4
  263. package/dist/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.types.d.ts +10 -10
  264. package/dist/components/Modal/layouts/ModalFooterShadow.d.ts +4 -4
  265. package/dist/components/Modal/layouts/ModalFooterShadow.types.d.ts +6 -6
  266. package/dist/components/Modal/layouts/ModalLayoutScrollableContent.d.ts +4 -4
  267. package/dist/components/Modal/layouts/ModalLayoutScrollableContent.types.d.ts +15 -15
  268. package/dist/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.d.ts +4 -4
  269. package/dist/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.types.d.ts +11 -11
  270. package/dist/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.d.ts +4 -4
  271. package/dist/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.types.d.ts +11 -11
  272. package/dist/components/Modal/layouts/index.d.ts +6 -6
  273. package/dist/components/Modal/layouts/useLayoutScrolledContent.d.ts +9 -9
  274. package/dist/components/MultiStepIndicator/MultiStep.types.d.ts +9 -9
  275. package/dist/components/MultiStepIndicator/MultiStepIndicator.d.ts +48 -48
  276. package/dist/components/MultiStepIndicator/components/StepIndicator/StepIndicator.d.ts +86 -86
  277. package/dist/components/MultiStepIndicator/index.d.ts +2 -2
  278. package/dist/components/NumberField/NumberField.d.ts +4 -4
  279. package/dist/components/NumberField/NumberField.types.d.ts +80 -80
  280. package/dist/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.d.ts +4 -4
  281. package/dist/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.types.d.ts +9 -10
  282. package/dist/components/NumberField/hooks/useNumberFieldState.d.ts +11 -11
  283. package/dist/components/NumberField/hooks/useSpinButtonHandlers.d.ts +9 -10
  284. package/dist/components/NumberField/index.d.ts +2 -2
  285. package/dist/components/NumberField/utils/calcValue.d.ts +6 -6
  286. package/dist/components/ProgressBars/PercentageLabel/PercentageLabel.d.ts +13 -13
  287. package/dist/components/ProgressBars/ProgressBar/Bar/Bar.d.ts +48 -48
  288. package/dist/components/ProgressBars/ProgressBar/ProgressBar.d.ts +69 -69
  289. package/dist/components/ProgressBars/ProgressBar/ProgressBar.types.d.ts +3 -3
  290. package/dist/components/ProgressBars/ProgressBar/ProgressBarHelpers.d.ts +4 -4
  291. package/dist/components/ProgressBars/index.d.ts +2 -2
  292. package/dist/components/RadioButton/RadioButton.d.ts +74 -74
  293. package/dist/components/RadioButton/index.d.ts +1 -1
  294. package/dist/components/Search/Search.d.ts +4 -4
  295. package/dist/components/Search/Search.types.d.ts +104 -104
  296. package/dist/components/Search/index.d.ts +2 -2
  297. package/dist/components/Skeleton/Skeleton.d.ts +31 -31
  298. package/dist/components/Skeleton/SkeletonConstants.d.ts +1 -1
  299. package/dist/components/Skeleton/Skelton.types.d.ts +4 -4
  300. package/dist/components/Skeleton/index.d.ts +2 -2
  301. package/dist/components/SlideTransition/SlideTransition.d.ts +4 -4
  302. package/dist/components/SlideTransition/SlideTransition.types.d.ts +20 -20
  303. package/dist/components/Slider/SelectionIndicator.d.ts +15 -15
  304. package/dist/components/Slider/Slider.d.ts +120 -120
  305. package/dist/components/Slider/Slider.types.d.ts +8 -8
  306. package/dist/components/Slider/SliderBase/SliderBase.d.ts +5 -5
  307. package/dist/components/Slider/SliderBase/SliderFilledTrack.d.ts +23 -23
  308. package/dist/components/Slider/SliderBase/SliderRail.d.ts +19 -19
  309. package/dist/components/Slider/SliderBase/SliderThumb.d.ts +27 -27
  310. package/dist/components/Slider/SliderBase/SliderTrack.d.ts +11 -11
  311. package/dist/components/Slider/SliderConstants.d.ts +64 -64
  312. package/dist/components/Slider/SliderContext.d.ts +43 -43
  313. package/dist/components/Slider/SliderHelpers.d.ts +14 -14
  314. package/dist/components/Slider/SliderHooks.d.ts +25 -26
  315. package/dist/components/Slider/SliderInfix.d.ts +11 -11
  316. package/dist/components/Slider/SliderInfixHooks.d.ts +3 -3
  317. package/dist/components/Slider/index.d.ts +2 -2
  318. package/dist/components/SplitButton/SplitButton.d.ts +44 -44
  319. package/dist/components/SplitButton/SplitButtonConstants.d.ts +22 -22
  320. package/dist/components/SplitButton/SplitButtonMenu/SplitButtonMenu.d.ts +9 -9
  321. package/dist/components/SplitButton/index.d.ts +2 -2
  322. package/dist/components/Steps/Steps.d.ts +56 -56
  323. package/dist/components/Steps/Steps.types.d.ts +3 -3
  324. package/dist/components/Steps/StepsCommand.d.ts +35 -35
  325. package/dist/components/Steps/StepsConstants.d.ts +3 -3
  326. package/dist/components/Steps/StepsDot.d.ts +26 -26
  327. package/dist/components/Steps/StepsGalleryHeader.d.ts +26 -26
  328. package/dist/components/Steps/StepsHeader.d.ts +51 -51
  329. package/dist/components/Steps/StepsNumbersHeader.d.ts +18 -18
  330. package/dist/components/Steps/index.d.ts +2 -2
  331. package/dist/components/Switch/Switch.d.ts +59 -59
  332. package/dist/components/Switch/index.d.ts +1 -1
  333. package/dist/components/Table/Table/Table.d.ts +76 -76
  334. package/dist/components/Table/Table/Table.types.d.ts +1 -1
  335. package/dist/components/Table/Table/TableConsts.d.ts +14 -14
  336. package/dist/components/Table/Table/tableHelpers.d.ts +12 -12
  337. package/dist/components/Table/TableBody/TableBody.d.ts +12 -12
  338. package/dist/components/Table/TableCell/TableCell.d.ts +14 -14
  339. package/dist/components/Table/TableCellSkeleton/TableCellSkeleton.d.ts +15 -15
  340. package/dist/components/Table/TableContainer/TableContainer.d.ts +4 -4
  341. package/dist/components/Table/TableContainer/TableContainer.types.d.ts +12 -12
  342. package/dist/components/Table/TableHeader/TableHeader.d.ts +11 -11
  343. package/dist/components/Table/TableHeaderCell/TableHeaderCell.d.ts +35 -35
  344. package/dist/components/Table/TableRow/TableRow.d.ts +19 -19
  345. package/dist/components/Table/TableRowMenu/TableRowMenu.d.ts +4 -4
  346. package/dist/components/Table/TableRowMenu/TableRowMenu.types.d.ts +12 -12
  347. package/dist/components/Table/TableVirtualizedBody/TableVirtualizedBody.d.ts +35 -35
  348. package/dist/components/Table/context/TableContainerContext/TableContainerContext.d.ts +4 -4
  349. package/dist/components/Table/context/TableContainerContext/TableContainerContext.types.d.ts +9 -9
  350. package/dist/components/Table/context/TableContext/TableContext.d.ts +4 -4
  351. package/dist/components/Table/context/TableContext/TableContext.types.d.ts +27 -27
  352. package/dist/components/Table/context/TableRowMenuContext/TableRowMenuContext.d.ts +4 -4
  353. package/dist/components/Table/context/TableRowMenuContext/TableRowMenuContext.types.d.ts +23 -23
  354. package/dist/components/Table/index.d.ts +12 -12
  355. package/dist/components/Tabs/Tab/Tab.d.ts +64 -64
  356. package/dist/components/Tabs/TabList/TabList.d.ts +35 -35
  357. package/dist/components/Tabs/TabPanel/TabPanel.d.ts +14 -14
  358. package/dist/components/Tabs/TabPanels/TabPanels.d.ts +20 -20
  359. package/dist/components/Tabs/TabPanels/TabPanels.types.d.ts +1 -1
  360. package/dist/components/Tabs/TabsContext/TabsContext.d.ts +14 -14
  361. package/dist/components/Tabs/index.d.ts +6 -6
  362. package/dist/components/TextArea/TextArea.d.ts +4 -4
  363. package/dist/components/TextArea/TextArea.types.d.ts +67 -67
  364. package/dist/components/TextArea/index.d.ts +2 -2
  365. package/dist/components/TextField/TextField.d.ts +186 -186
  366. package/dist/components/TextField/TextField.types.d.ts +3 -3
  367. package/dist/components/TextField/TextFieldConstants.d.ts +21 -21
  368. package/dist/components/TextField/index.d.ts +2 -2
  369. package/dist/components/TextWithHighlight/TextWithHighlight.d.ts +51 -51
  370. package/dist/components/TextWithHighlight/index.d.ts +1 -1
  371. package/dist/components/ThemeProvider/ThemeProvider.d.ts +30 -30
  372. package/dist/components/ThemeProvider/ThemeProvider.types.d.ts +5 -5
  373. package/dist/components/ThemeProvider/ThemeProviderConstants.d.ts +23 -23
  374. package/dist/components/ThemeProvider/ThemeProviderUtils.d.ts +10 -10
  375. package/dist/components/ThemeProvider/index.d.ts +2 -2
  376. package/dist/components/Tipseen/Tipseen.d.ts +109 -109
  377. package/dist/components/Tipseen/Tipseen.types.d.ts +2 -2
  378. package/dist/components/Tipseen/TipseenBasicContent.d.ts +19 -19
  379. package/dist/components/Tipseen/TipseenConstants.d.ts +4 -4
  380. package/dist/components/Tipseen/TipseenContent.d.ts +48 -48
  381. package/dist/components/Tipseen/TipseenMedia/TipseenMedia.d.ts +10 -10
  382. package/dist/components/Tipseen/TipseenTitle.d.ts +10 -10
  383. package/dist/components/Tipseen/TipseenWizard.d.ts +18 -18
  384. package/dist/components/Tipseen/index.d.ts +5 -5
  385. package/dist/components/Toast/Toast.d.ts +57 -57
  386. package/dist/components/Toast/Toast.types.d.ts +9 -9
  387. package/dist/components/Toast/ToastButton/ToastButton.d.ts +5 -5
  388. package/dist/components/Toast/ToastConstants.d.ts +7 -8
  389. package/dist/components/Toast/ToastHelpers.d.ts +4 -4
  390. package/dist/components/Toast/ToastLink/ToastLink.d.ts +5 -5
  391. package/dist/components/Toast/index.d.ts +4 -4
  392. package/dist/components/Toggle/MockToggle.d.ts +34 -34
  393. package/dist/components/Toggle/Toggle.d.ts +59 -59
  394. package/dist/components/Toggle/Toggle.types.d.ts +1 -1
  395. package/dist/components/Toggle/ToggleConstants.d.ts +1 -1
  396. package/dist/components/Toggle/ToggleText.d.ts +14 -14
  397. package/dist/components/Toggle/index.d.ts +1 -1
  398. package/dist/components/TransitionView/TransitionView.d.ts +4 -4
  399. package/dist/components/TransitionView/TransitionView.types.d.ts +18 -18
  400. package/dist/components/TransitionView/index.d.ts +2 -2
  401. package/dist/components/VirtualizedGrid/VirtualizedGrid.d.ts +67 -67
  402. package/dist/components/VirtualizedGrid/VirtualizedGrid.types.d.ts +6 -6
  403. package/dist/components/VirtualizedGrid/index.d.ts +2 -2
  404. package/dist/components/VirtualizedList/VirtualizedList.d.ts +90 -90
  405. package/dist/components/VirtualizedList/VirtualizedList.types.d.ts +8 -8
  406. package/dist/components/VirtualizedList/index.d.ts +2 -2
  407. package/dist/components/button/dist/Button/Button.js.map +1 -1
  408. package/dist/components/button/dist/Button/Button.module.scss.js +1 -1
  409. package/dist/components/clickable/dist/Clickable/Clickable.module.scss.js +1 -1
  410. package/dist/components/dialog/dist/Dialog/Dialog.js +1 -1
  411. package/dist/components/dialog/dist/Dialog/Dialog.js.map +1 -1
  412. package/dist/components/dialog/dist/Dialog/Dialog.module.scss.js +1 -1
  413. package/dist/components/dialog/dist/Dialog/components/DialogContent/DialogContent.js.map +1 -1
  414. package/dist/components/dialog/dist/Dialog/components/DialogContent/DialogContent.module.scss.js +1 -1
  415. package/dist/components/dialog/dist/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
  416. package/dist/components/icon/dist/Icon/Icon.module.scss.js +1 -1
  417. package/dist/components/icon-button/dist/IconButton/IconButton.js.map +1 -1
  418. package/dist/components/icon-button/dist/IconButton/IconButton.module.scss.js +1 -1
  419. package/dist/components/index.d.ts +68 -68
  420. package/dist/components/layout/dist/Box/Box.module.scss.js +1 -1
  421. package/dist/components/layout/dist/Flex/Flex.module.scss.js +1 -1
  422. package/dist/components/loader/dist/Loader/Loader.module.scss.js +1 -1
  423. package/dist/components/next/List/List.d.ts +4 -4
  424. package/dist/components/next/List/List.types.d.ts +47 -47
  425. package/dist/components/next/List/ListItem/ListItem.d.ts +4 -4
  426. package/dist/components/next/List/ListItem/ListItem.types.d.ts +44 -44
  427. package/dist/components/next/List/ListItem/index.d.ts +2 -2
  428. package/dist/components/next/List/ListTitle/ListTitle.d.ts +4 -4
  429. package/dist/components/next/List/ListTitle/ListTitle.types.d.ts +16 -16
  430. package/dist/components/next/List/ListTitle/index.d.ts +2 -2
  431. package/dist/components/next/List/index.d.ts +6 -6
  432. package/dist/components/next/index.d.ts +1 -1
  433. package/dist/components/next.d.ts +1 -1
  434. package/dist/components/tooltip/dist/Tooltip/Tooltip.js.map +1 -1
  435. package/dist/components/tooltip/dist/Tooltip/Tooltip.module.scss.js +1 -1
  436. package/dist/components/typography/dist/Heading/Heading.module.scss.js +1 -1
  437. package/dist/components/typography/dist/Text/Text.module.scss.js +1 -1
  438. package/dist/components/typography/dist/Typography/Typography.module.scss.js +1 -1
  439. package/dist/constants/index.d.ts +2 -2
  440. package/dist/constants/keyCodes.d.ts +16 -16
  441. package/dist/constants/sizes.d.ts +25 -25
  442. package/dist/helpers/screenReaderAccessHelper.d.ts +31 -31
  443. package/dist/helpers/testid-helper.d.ts +1 -1
  444. package/dist/helpers/textManipulations.d.ts +10 -10
  445. package/dist/helpers/typesciptCssModulesHelper.d.ts +6 -6
  446. package/dist/hooks/createEventHandler.d.ts +1 -1
  447. package/dist/hooks/dist/useResizeObserver/index.js.map +1 -1
  448. package/dist/hooks/index.d.ts +17 -17
  449. package/dist/hooks/ssr/useIsMounted.d.ts +1 -1
  450. package/dist/hooks/ssr/useIsomorphicLayoutEffect.d.ts +3 -3
  451. package/dist/hooks/useActiveDescendantListFocus/index.d.ts +35 -35
  452. package/dist/hooks/useActiveDescendantListFocus/useActiveDescendantListFocusHelpers.d.ts +8 -8
  453. package/dist/hooks/useActiveDescendantListFocus/useActiveDescendantListFocusHooks.d.ts +44 -44
  454. package/dist/hooks/useAfterFirstRender/index.d.ts +2 -2
  455. package/dist/hooks/useDebounceEvent/index.d.ts +18 -18
  456. package/dist/hooks/useElementsOverflowingIndex.d.ts +9 -9
  457. package/dist/hooks/useEventListener/index.d.ts +8 -8
  458. package/dist/hooks/useFocusWithin.d.ts +14 -14
  459. package/dist/hooks/useFullKeyboardListeners.d.ts +28 -28
  460. package/dist/hooks/useGridKeyboardNavigation/gridKeyboardNavigationHelper.d.ts +20 -20
  461. package/dist/hooks/useGridKeyboardNavigation/useGridKeyboardNavigation.d.ts +42 -42
  462. package/dist/hooks/useHover/useHover.d.ts +2 -2
  463. package/dist/hooks/useIsMouseEnter.d.ts +4 -4
  464. package/dist/hooks/useIsMouseOver.d.ts +4 -4
  465. package/dist/hooks/useItemsOverflow/useItemsOverflow.d.ts +15 -15
  466. package/dist/hooks/useKeyEvent/index.d.ts +56 -56
  467. package/dist/hooks/useKeyboard.d.ts +14 -14
  468. package/dist/hooks/useListenFocusTriggers/index.d.ts +6 -6
  469. package/dist/hooks/useMediaQuery/index.d.ts +2 -2
  470. package/dist/hooks/useMergeRef.d.ts +7 -7
  471. package/dist/hooks/usePrevious/index.d.ts +1 -1
  472. package/dist/hooks/useRefWithCallback.d.ts +2 -2
  473. package/dist/hooks/useSetFocus/index.d.ts +10 -10
  474. package/dist/hooks/useStyle.d.ts +2 -2
  475. package/dist/hooks/useSwitch/index.d.ts +31 -31
  476. package/dist/hooks/useThrottledCallback.d.ts +4 -4
  477. package/dist/hooks/useTimeout/index.d.ts +6 -6
  478. package/dist/hooks/useVibeMediaQuery/index.d.ts +12 -12
  479. package/dist/hooks/useWizard/useWizard.d.ts +3 -3
  480. package/dist/hooks/useWizard/useWizard.types.d.ts +49 -49
  481. package/dist/index.d.ts +4 -4
  482. package/dist/metadata.json +22 -2
  483. package/dist/mocked_classnames/components/Accordion/Accordion/Accordion.d.ts +18 -18
  484. package/dist/mocked_classnames/components/Accordion/AccordionItem/AccordionItem.d.ts +51 -51
  485. package/dist/mocked_classnames/components/Accordion/index.d.ts +2 -2
  486. package/dist/mocked_classnames/components/AlertBanner/AlertBanner.d.ts +35 -35
  487. package/dist/mocked_classnames/components/AlertBanner/AlertBanner.types.d.ts +1 -1
  488. package/dist/mocked_classnames/components/AlertBanner/AlertBannerButton/AlertBannerButton.d.ts +10 -10
  489. package/dist/mocked_classnames/components/AlertBanner/AlertBannerContext.d.ts +7 -7
  490. package/dist/mocked_classnames/components/AlertBanner/AlertBannerLink/AlertBannerLink.d.ts +10 -10
  491. package/dist/mocked_classnames/components/AlertBanner/AlertBannerText/AlertBannerText.d.ts +18 -18
  492. package/dist/mocked_classnames/components/AlertBanner/index.d.ts +5 -5
  493. package/dist/mocked_classnames/components/AttentionBox/AttentionBox.d.ts +4 -4
  494. package/dist/mocked_classnames/components/AttentionBox/AttentionBox.types.d.ts +70 -70
  495. package/dist/mocked_classnames/components/AttentionBox/components/AttentionBoxButton/AttentionBoxButton.d.ts +7 -7
  496. package/dist/mocked_classnames/components/AttentionBox/components/AttentionBoxCloseButton/AttentionBoxCloseButton.d.ts +8 -8
  497. package/dist/mocked_classnames/components/AttentionBox/components/AttentionBoxLeadingIcon/AttentionBoxLeadingIcon.d.ts +9 -9
  498. package/dist/mocked_classnames/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.d.ts +5 -5
  499. package/dist/mocked_classnames/components/AttentionBox/consts/icons.d.ts +3 -3
  500. package/dist/mocked_classnames/components/AttentionBox/index.d.ts +2 -2
  501. package/dist/mocked_classnames/components/AttentionBox/layouts/AttentionBoxCompact/AttentionBoxCompact.d.ts +5 -5
  502. package/dist/mocked_classnames/components/AttentionBox/layouts/AttentionBoxDefault/AttentionBoxDefault.d.ts +5 -5
  503. package/dist/mocked_classnames/components/AttentionBox/utils/iconUtils.d.ts +3 -3
  504. package/dist/mocked_classnames/components/Avatar/Avatar.d.ts +107 -107
  505. package/dist/mocked_classnames/components/Avatar/Avatar.types.d.ts +2 -2
  506. package/dist/mocked_classnames/components/Avatar/AvatarBadge.d.ts +28 -28
  507. package/dist/mocked_classnames/components/Avatar/AvatarContent.d.ts +40 -40
  508. package/dist/mocked_classnames/components/Avatar/index.d.ts +2 -2
  509. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroup.d.ts +46 -46
  510. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroup.types.d.ts +14 -14
  511. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroupConstants.d.ts +2 -2
  512. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroupCounter.d.ts +42 -42
  513. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroupCounterTooltipContainer.d.ts +41 -41
  514. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroupCounterTooltipContent.d.ts +24 -24
  515. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.d.ts +34 -34
  516. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroupCounterTooltipHelper.d.ts +17 -17
  517. package/dist/mocked_classnames/components/AvatarGroup/AvatarGroupHelper.d.ts +3 -3
  518. package/dist/mocked_classnames/components/AvatarGroup/index.d.ts +2 -2
  519. package/dist/mocked_classnames/components/Badge/Badge.d.ts +34 -34
  520. package/dist/mocked_classnames/components/Badge/Badge.types.d.ts +3 -3
  521. package/dist/mocked_classnames/components/Badge/Indicator/Indicator.d.ts +11 -11
  522. package/dist/mocked_classnames/components/Badge/Indicator/Indicator.types.d.ts +1 -1
  523. package/dist/mocked_classnames/components/Badge/index.d.ts +2 -2
  524. package/dist/mocked_classnames/components/BaseItem/BaseItem.d.ts +6 -6
  525. package/dist/mocked_classnames/components/BaseItem/BaseItem.types.d.ts +110 -110
  526. package/dist/mocked_classnames/components/BaseItem/hooks/useListItemProps.d.ts +20 -20
  527. package/dist/mocked_classnames/components/BaseItem/index.d.ts +2 -2
  528. package/dist/mocked_classnames/components/BaseItem/utils.d.ts +4 -4
  529. package/dist/mocked_classnames/components/BaseList/BaseList.d.ts +4 -4
  530. package/dist/mocked_classnames/components/BaseList/BaseList.types.d.ts +60 -60
  531. package/dist/mocked_classnames/components/BaseList/context/BaseListContext.d.ts +66 -66
  532. package/dist/mocked_classnames/components/BaseList/hooks/useBaseListFocus.d.ts +41 -42
  533. package/dist/mocked_classnames/components/BaseList/hooks/useBaseListKeyboard.d.ts +27 -28
  534. package/dist/mocked_classnames/components/BaseList/index.d.ts +3 -3
  535. package/dist/mocked_classnames/components/BaseList/utils/baseListUtils.d.ts +10 -10
  536. package/dist/mocked_classnames/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.d.ts +38 -38
  537. package/dist/mocked_classnames/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.d.ts +39 -39
  538. package/dist/mocked_classnames/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbMenu.d.ts +7 -7
  539. package/dist/mocked_classnames/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbMenuItem/BreadcrumbMenuItem.d.ts +12 -12
  540. package/dist/mocked_classnames/components/BreadcrumbsBar/Breadcrumbs.types.d.ts +1 -1
  541. package/dist/mocked_classnames/components/BreadcrumbsBar/BreadcrumbsBar.d.ts +17 -17
  542. package/dist/mocked_classnames/components/BreadcrumbsBar/index.d.ts +5 -5
  543. package/dist/mocked_classnames/components/ButtonGroup/ButtonGroup.d.ts +85 -85
  544. package/dist/mocked_classnames/components/ButtonGroup/ButtonGroupConstants.d.ts +1 -1
  545. package/dist/mocked_classnames/components/ButtonGroup/ButtonWrapper.d.ts +35 -35
  546. package/dist/mocked_classnames/components/ButtonGroup/index.d.ts +1 -1
  547. package/dist/mocked_classnames/components/Checkbox/Checkbox.d.ts +67 -67
  548. package/dist/mocked_classnames/components/Checkbox/hooks/useSupportFirefoxLabelClick.d.ts +6 -6
  549. package/dist/mocked_classnames/components/Checkbox/index.d.ts +1 -1
  550. package/dist/mocked_classnames/components/Chips/Chips.d.ts +109 -109
  551. package/dist/mocked_classnames/components/Chips/index.d.ts +1 -1
  552. package/dist/mocked_classnames/components/ColorPicker/ColorPicker.d.ts +80 -80
  553. package/dist/mocked_classnames/components/ColorPicker/ColorPicker.types.d.ts +6 -6
  554. package/dist/mocked_classnames/components/ColorPicker/ColorPickerConstants.d.ts +5 -5
  555. package/dist/mocked_classnames/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.d.ts +19 -19
  556. package/dist/mocked_classnames/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.d.ts +63 -63
  557. package/dist/mocked_classnames/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.d.ts +84 -84
  558. package/dist/mocked_classnames/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.d.ts +53 -53
  559. package/dist/mocked_classnames/components/ColorPicker/index.d.ts +3 -3
  560. package/dist/mocked_classnames/components/ColorPicker/services/ColorPickerStyleService.d.ts +3 -3
  561. package/dist/mocked_classnames/components/Combobox/Combobox.d.ts +163 -163
  562. package/dist/mocked_classnames/components/Combobox/Combobox.types.d.ts +3 -3
  563. package/dist/mocked_classnames/components/Combobox/ComboboxHelpers/ComboboxHelpers.d.ts +62 -62
  564. package/dist/mocked_classnames/components/Combobox/ComboboxService.d.ts +7 -7
  565. package/dist/mocked_classnames/components/Combobox/components/ComboboxCategory/ComboboxCategory.d.ts +14 -14
  566. package/dist/mocked_classnames/components/Combobox/components/ComboboxConstants.d.ts +239 -239
  567. package/dist/mocked_classnames/components/Combobox/components/ComboboxItems/ComboboxItems.d.ts +65 -65
  568. package/dist/mocked_classnames/components/Combobox/components/ComboboxOption/ComboboxOption.d.ts +46 -46
  569. package/dist/mocked_classnames/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.d.ts +6 -6
  570. package/dist/mocked_classnames/components/Combobox/helpers.d.ts +1 -1
  571. package/dist/mocked_classnames/components/Combobox/index.d.ts +2 -2
  572. package/dist/mocked_classnames/components/Counter/Counter.d.ts +51 -51
  573. package/dist/mocked_classnames/components/Counter/Counter.types.d.ts +3 -3
  574. package/dist/mocked_classnames/components/Counter/index.d.ts +2 -2
  575. package/dist/mocked_classnames/components/DatePicker/DateContentHoverContext.d.ts +12 -12
  576. package/dist/mocked_classnames/components/DatePicker/DatePicker.d.ts +8 -8
  577. package/dist/mocked_classnames/components/DatePicker/DatePicker.types.d.ts +34 -34
  578. package/dist/mocked_classnames/components/DatePicker/DatePickerHeader.d.ts +17 -17
  579. package/dist/mocked_classnames/components/DatePicker/RangeDayContent.d.ts +3 -3
  580. package/dist/mocked_classnames/components/DatePicker/SingleDayContent.d.ts +3 -3
  581. package/dist/mocked_classnames/components/DatePicker/datePickerHooks.d.ts +18 -18
  582. package/dist/mocked_classnames/components/DatePicker/index.d.ts +2 -2
  583. package/dist/mocked_classnames/components/DatePicker/utils.d.ts +13 -13
  584. package/dist/mocked_classnames/components/Divider/Divider.d.ts +15 -15
  585. package/dist/mocked_classnames/components/Divider/Divider.types.d.ts +1 -1
  586. package/dist/mocked_classnames/components/Divider/index.d.ts +2 -2
  587. package/dist/mocked_classnames/components/Dropdown/Dropdown.d.ts +7 -7
  588. package/dist/mocked_classnames/components/Dropdown/Dropdown.types.d.ts +268 -268
  589. package/dist/mocked_classnames/components/Dropdown/components/DropdownBase/DropdownBase.d.ts +7 -7
  590. package/dist/mocked_classnames/components/Dropdown/components/DropdownBaseList/DropdownBaseList.d.ts +6 -6
  591. package/dist/mocked_classnames/components/Dropdown/components/DropdownBaseList/DropdownBaseList.types.d.ts +86 -86
  592. package/dist/mocked_classnames/components/Dropdown/components/DropdownBoxMode/DropdownBoxMode.d.ts +3 -3
  593. package/dist/mocked_classnames/components/Dropdown/components/DropdownPopup/DropdownPopup.d.ts +3 -3
  594. package/dist/mocked_classnames/components/Dropdown/components/DropdownWrapperUI.d.ts +9 -9
  595. package/dist/mocked_classnames/components/Dropdown/components/Menu/Menu.d.ts +4 -4
  596. package/dist/mocked_classnames/components/Dropdown/components/Menu/MenuList.d.ts +4 -4
  597. package/dist/mocked_classnames/components/Dropdown/components/MultiSelectedValues/MultiSelectedValues.d.ts +12 -12
  598. package/dist/mocked_classnames/components/Dropdown/components/Trigger/DropdownChip.d.ts +11 -11
  599. package/dist/mocked_classnames/components/Dropdown/components/Trigger/DropdownInput.d.ts +6 -6
  600. package/dist/mocked_classnames/components/Dropdown/components/Trigger/MultiSelectTrigger.d.ts +3 -3
  601. package/dist/mocked_classnames/components/Dropdown/components/Trigger/SingleSelectTrigger.d.ts +3 -3
  602. package/dist/mocked_classnames/components/Dropdown/components/Trigger/TriggerActions.d.ts +3 -3
  603. package/dist/mocked_classnames/components/Dropdown/context/DropdownContext.d.ts +59 -59
  604. package/dist/mocked_classnames/components/Dropdown/context/DropdownContext.types.d.ts +34 -34
  605. package/dist/mocked_classnames/components/Dropdown/hooks/useDropdownCombobox.d.ts +390 -391
  606. package/dist/mocked_classnames/components/Dropdown/hooks/useDropdownFiltering.d.ts +9 -10
  607. package/dist/mocked_classnames/components/Dropdown/hooks/useDropdownMultiCombobox.d.ts +23 -23
  608. package/dist/mocked_classnames/components/Dropdown/hooks/useDropdownMultiSelect.d.ts +23 -23
  609. package/dist/mocked_classnames/components/Dropdown/hooks/useDropdownSelect.d.ts +19 -19
  610. package/dist/mocked_classnames/components/Dropdown/index.d.ts +2 -2
  611. package/dist/mocked_classnames/components/Dropdown/modes/DropdownComboboxController.d.ts +5 -5
  612. package/dist/mocked_classnames/components/Dropdown/modes/DropdownMultiComboboxController.d.ts +5 -5
  613. package/dist/mocked_classnames/components/Dropdown/modes/DropdownMultiSelectController.d.ts +5 -5
  614. package/dist/mocked_classnames/components/Dropdown/modes/DropdownSelectController.d.ts +5 -5
  615. package/dist/mocked_classnames/components/Dropdown/utils/dropdown-modifiers.d.ts +2 -2
  616. package/dist/mocked_classnames/components/Dropdown/utils/dropdownUtils.d.ts +3 -3
  617. package/dist/mocked_classnames/components/EditableHeading/EditableHeading.d.ts +16 -16
  618. package/dist/mocked_classnames/components/EditableHeading/index.d.ts +1 -1
  619. package/dist/mocked_classnames/components/EditableText/EditableText.d.ts +20 -20
  620. package/dist/mocked_classnames/components/EditableText/index.d.ts +1 -1
  621. package/dist/mocked_classnames/components/EditableTypography/EditableTypography.d.ts +79 -79
  622. package/dist/mocked_classnames/components/EditableTypography/index.d.ts +1 -1
  623. package/dist/mocked_classnames/components/EmptyState/EmptyState.d.ts +4 -4
  624. package/dist/mocked_classnames/components/EmptyState/EmptyState.types.d.ts +27 -27
  625. package/dist/mocked_classnames/components/EmptyState/index.d.ts +2 -2
  626. package/dist/mocked_classnames/components/ExpandCollapse/ExpandCollapse.d.ts +59 -59
  627. package/dist/mocked_classnames/components/ExpandCollapse/ExpandCollapse.types.d.ts +1 -1
  628. package/dist/mocked_classnames/components/ExpandCollapse/index.d.ts +1 -1
  629. package/dist/mocked_classnames/components/FieldLabel/FieldLabel.d.ts +34 -34
  630. package/dist/mocked_classnames/components/FieldLabel/index.d.ts +1 -1
  631. package/dist/mocked_classnames/components/FormattedNumber/FormattedNumber.d.ts +38 -38
  632. package/dist/mocked_classnames/components/FormattedNumber/FormattedNumberHelpers.d.ts +4 -4
  633. package/dist/mocked_classnames/components/FormattedNumber/index.d.ts +1 -1
  634. package/dist/mocked_classnames/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.d.ts +15 -15
  635. package/dist/mocked_classnames/components/GridKeyboardNavigationContext/GridKeyboardNavigationContextConstants.d.ts +25 -25
  636. package/dist/mocked_classnames/components/GridKeyboardNavigationContext/helper.d.ts +6 -6
  637. package/dist/mocked_classnames/components/GridKeyboardNavigationContext/index.d.ts +1 -1
  638. package/dist/mocked_classnames/components/HiddenText/HiddenText.d.ts +10 -10
  639. package/dist/mocked_classnames/components/HiddenText/index.d.ts +1 -1
  640. package/dist/mocked_classnames/components/Info/Info.d.ts +4 -4
  641. package/dist/mocked_classnames/components/Info/Info.types.d.ts +60 -60
  642. package/dist/mocked_classnames/components/Info/components/InfoDialogContent/InfoDialogContent.d.ts +4 -4
  643. package/dist/mocked_classnames/components/Info/components/InfoDialogContent/InfoDialogContent.types.d.ts +16 -16
  644. package/dist/mocked_classnames/components/Info/components/InfoLink/InfoLink.d.ts +5 -5
  645. package/dist/mocked_classnames/components/Info/components/index.d.ts +3 -3
  646. package/dist/mocked_classnames/components/Info/index.d.ts +2 -2
  647. package/dist/mocked_classnames/components/InfoText/InfoText.d.ts +4 -4
  648. package/dist/mocked_classnames/components/InfoText/InfoText.types.d.ts +26 -26
  649. package/dist/mocked_classnames/components/InfoText/index.d.ts +2 -2
  650. package/dist/mocked_classnames/components/Label/Label.d.ts +40 -40
  651. package/dist/mocked_classnames/components/Label/Label.types.d.ts +5 -5
  652. package/dist/mocked_classnames/components/Label/LabelCelebrationAnimation.d.ts +13 -13
  653. package/dist/mocked_classnames/components/Label/LabelConstants.d.ts +3 -3
  654. package/dist/mocked_classnames/components/Label/Leg.d.ts +6 -6
  655. package/dist/mocked_classnames/components/Label/index.d.ts +2 -2
  656. package/dist/mocked_classnames/components/Link/Link.d.ts +70 -70
  657. package/dist/mocked_classnames/components/Link/Link.types.d.ts +3 -3
  658. package/dist/mocked_classnames/components/Link/LinkConsts.d.ts +16 -16
  659. package/dist/mocked_classnames/components/Link/index.d.ts +2 -2
  660. package/dist/mocked_classnames/components/List/List.d.ts +41 -41
  661. package/dist/mocked_classnames/components/List/List.types.d.ts +1 -1
  662. package/dist/mocked_classnames/components/List/VirtualizedListItems/VirtualizedListItems.d.ts +11 -11
  663. package/dist/mocked_classnames/components/List/index.d.ts +2 -2
  664. package/dist/mocked_classnames/components/List/utils/ListContext.d.ts +10 -10
  665. package/dist/mocked_classnames/components/List/utils/ListUtils.d.ts +11 -11
  666. package/dist/mocked_classnames/components/ListItem/ListItem.d.ts +52 -52
  667. package/dist/mocked_classnames/components/ListItem/ListItem.types.d.ts +3 -3
  668. package/dist/mocked_classnames/components/ListItem/index.d.ts +2 -2
  669. package/dist/mocked_classnames/components/ListItemAvatar/ListItemAvatar.d.ts +19 -19
  670. package/dist/mocked_classnames/components/ListItemAvatar/index.d.ts +1 -1
  671. package/dist/mocked_classnames/components/ListItemIcon/ListItemIcon.d.ts +22 -22
  672. package/dist/mocked_classnames/components/ListItemIcon/ListItemIcon.types.d.ts +1 -1
  673. package/dist/mocked_classnames/components/ListItemIcon/index.d.ts +2 -2
  674. package/dist/mocked_classnames/components/ListTitle/ListTitle.d.ts +14 -14
  675. package/dist/mocked_classnames/components/ListTitle/index.d.ts +1 -1
  676. package/dist/mocked_classnames/components/Menu/Menu/Menu.d.ts +64 -64
  677. package/dist/mocked_classnames/components/Menu/Menu/MenuConstants.d.ts +12 -12
  678. package/dist/mocked_classnames/components/Menu/Menu/hooks/useAdjacentSelectableMenuIndex.d.ts +7 -7
  679. package/dist/mocked_classnames/components/Menu/Menu/hooks/useCloseMenuOnKeyEvent.d.ts +10 -10
  680. package/dist/mocked_classnames/components/Menu/Menu/hooks/useFocusOnMount.d.ts +9 -9
  681. package/dist/mocked_classnames/components/Menu/Menu/hooks/useLastNavigationDirection.d.ts +4 -5
  682. package/dist/mocked_classnames/components/Menu/Menu/hooks/useMenuId.d.ts +2 -2
  683. package/dist/mocked_classnames/components/Menu/Menu/hooks/useMenuKeyboardNavigation.d.ts +11 -11
  684. package/dist/mocked_classnames/components/Menu/Menu/hooks/useMouseLeave.d.ts +7 -7
  685. package/dist/mocked_classnames/components/Menu/Menu/hooks/useOnCloseMenu.d.ts +6 -6
  686. package/dist/mocked_classnames/components/Menu/Menu/hooks/useSubMenuIndex.d.ts +7 -8
  687. package/dist/mocked_classnames/components/Menu/Menu/utils/utils.d.ts +4 -4
  688. package/dist/mocked_classnames/components/Menu/MenuDivider/MenuDivider.d.ts +5 -5
  689. package/dist/mocked_classnames/components/Menu/MenuGridItem/MenuGridItem.d.ts +51 -51
  690. package/dist/mocked_classnames/components/Menu/MenuGridItem/useFocusGridItemByActiveStatus.d.ts +8 -8
  691. package/dist/mocked_classnames/components/Menu/MenuGridItem/useMenuGridItemNavContext.d.ts +15 -15
  692. package/dist/mocked_classnames/components/Menu/MenuItem/AvatarMenuItem.d.ts +22 -22
  693. package/dist/mocked_classnames/components/Menu/MenuItem/MenuItem.d.ts +169 -169
  694. package/dist/mocked_classnames/components/Menu/MenuItem/MenuItem.types.d.ts +1 -1
  695. package/dist/mocked_classnames/components/Menu/MenuItem/MenuItemConstants.d.ts +1 -1
  696. package/dist/mocked_classnames/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.d.ts +4 -4
  697. package/dist/mocked_classnames/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.types.d.ts +15 -15
  698. package/dist/mocked_classnames/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.d.ts +4 -4
  699. package/dist/mocked_classnames/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.types.d.ts +32 -32
  700. package/dist/mocked_classnames/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.d.ts +4 -4
  701. package/dist/mocked_classnames/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.types.d.ts +33 -33
  702. package/dist/mocked_classnames/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.d.ts +4 -4
  703. package/dist/mocked_classnames/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.types.d.ts +31 -31
  704. package/dist/mocked_classnames/components/Menu/MenuItem/hooks/useMenuItemKeyboardEvents.d.ts +21 -21
  705. package/dist/mocked_classnames/components/Menu/MenuItem/hooks/useMenuItemMouseEvents.d.ts +12 -12
  706. package/dist/mocked_classnames/components/Menu/MenuItemButton/MenuItemButton.d.ts +77 -77
  707. package/dist/mocked_classnames/components/Menu/MenuTitle/MenuTitle.d.ts +15 -15
  708. package/dist/mocked_classnames/components/Menu/MenuTitle/MenuTitle.type.d.ts +1 -1
  709. package/dist/mocked_classnames/components/Menu/index.d.ts +7 -7
  710. package/dist/mocked_classnames/components/MenuButton/MenuButton.d.ts +146 -146
  711. package/dist/mocked_classnames/components/MenuButton/MenuButton.types.d.ts +2 -2
  712. package/dist/mocked_classnames/components/MenuButton/index.d.ts +2 -2
  713. package/dist/mocked_classnames/components/Modal/Modal/Modal.d.ts +4 -4
  714. package/dist/mocked_classnames/components/Modal/Modal/Modal.types.d.ts +114 -114
  715. package/dist/mocked_classnames/components/Modal/Modal/index.d.ts +2 -2
  716. package/dist/mocked_classnames/components/Modal/ModalContent/ModalContent.d.ts +4 -4
  717. package/dist/mocked_classnames/components/Modal/ModalContent/ModalContent.types.d.ts +8 -8
  718. package/dist/mocked_classnames/components/Modal/ModalContent/index.d.ts +2 -2
  719. package/dist/mocked_classnames/components/Modal/ModalHeader/ModalHeader.d.ts +4 -4
  720. package/dist/mocked_classnames/components/Modal/ModalHeader/ModalHeader.types.d.ts +42 -42
  721. package/dist/mocked_classnames/components/Modal/ModalHeader/index.d.ts +2 -2
  722. package/dist/mocked_classnames/components/Modal/ModalMedia/ModalMedia.d.ts +4 -4
  723. package/dist/mocked_classnames/components/Modal/ModalMedia/ModalMedia.types.d.ts +8 -8
  724. package/dist/mocked_classnames/components/Modal/ModalMedia/index.d.ts +2 -2
  725. package/dist/mocked_classnames/components/Modal/ModalTopActions/ModalTopActions.d.ts +4 -4
  726. package/dist/mocked_classnames/components/Modal/ModalTopActions/ModalTopActions.types.d.ts +25 -25
  727. package/dist/mocked_classnames/components/Modal/context/ModalContext.d.ts +4 -4
  728. package/dist/mocked_classnames/components/Modal/context/ModalContext.types.d.ts +32 -32
  729. package/dist/mocked_classnames/components/Modal/footers/ModalFooter/ModalFooter.d.ts +4 -4
  730. package/dist/mocked_classnames/components/Modal/footers/ModalFooter/ModalFooter.types.d.ts +8 -8
  731. package/dist/mocked_classnames/components/Modal/footers/ModalFooterBase/ModalFooterBase.d.ts +4 -4
  732. package/dist/mocked_classnames/components/Modal/footers/ModalFooterBase/ModalFooterBase.types.d.ts +28 -28
  733. package/dist/mocked_classnames/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.d.ts +4 -4
  734. package/dist/mocked_classnames/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.types.d.ts +18 -18
  735. package/dist/mocked_classnames/components/Modal/footers/index.d.ts +4 -4
  736. package/dist/mocked_classnames/components/Modal/footers/utils/getPropsForButton.d.ts +117 -133
  737. package/dist/mocked_classnames/components/Modal/hooks/useFocusEscapeTargets/index.d.ts +2 -2
  738. package/dist/mocked_classnames/components/Modal/hooks/useFocusEscapeTargets/useFocusEscapeTargets.d.ts +10 -10
  739. package/dist/mocked_classnames/components/Modal/hooks/useFocusEscapeTargets/useFocusEscapeTargets.types.d.ts +2 -2
  740. package/dist/mocked_classnames/components/Modal/hooks/usePortalTarget/usePortalTarget.d.ts +3 -3
  741. package/dist/mocked_classnames/components/Modal/hooks/usePortalTarget/usePortalTarget.types.d.ts +2 -2
  742. package/dist/mocked_classnames/components/Modal/index.d.ts +6 -6
  743. package/dist/mocked_classnames/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.d.ts +4 -4
  744. package/dist/mocked_classnames/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.types.d.ts +10 -10
  745. package/dist/mocked_classnames/components/Modal/layouts/ModalFooterShadow.d.ts +4 -4
  746. package/dist/mocked_classnames/components/Modal/layouts/ModalFooterShadow.types.d.ts +6 -6
  747. package/dist/mocked_classnames/components/Modal/layouts/ModalLayoutScrollableContent.d.ts +4 -4
  748. package/dist/mocked_classnames/components/Modal/layouts/ModalLayoutScrollableContent.types.d.ts +15 -15
  749. package/dist/mocked_classnames/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.d.ts +4 -4
  750. package/dist/mocked_classnames/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.types.d.ts +11 -11
  751. package/dist/mocked_classnames/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.d.ts +4 -4
  752. package/dist/mocked_classnames/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.types.d.ts +11 -11
  753. package/dist/mocked_classnames/components/Modal/layouts/index.d.ts +6 -6
  754. package/dist/mocked_classnames/components/Modal/layouts/useLayoutScrolledContent.d.ts +9 -9
  755. package/dist/mocked_classnames/components/MultiStepIndicator/MultiStep.types.d.ts +9 -9
  756. package/dist/mocked_classnames/components/MultiStepIndicator/MultiStepIndicator.d.ts +48 -48
  757. package/dist/mocked_classnames/components/MultiStepIndicator/components/StepIndicator/StepIndicator.d.ts +86 -86
  758. package/dist/mocked_classnames/components/MultiStepIndicator/index.d.ts +2 -2
  759. package/dist/mocked_classnames/components/NumberField/NumberField.d.ts +4 -4
  760. package/dist/mocked_classnames/components/NumberField/NumberField.types.d.ts +80 -80
  761. package/dist/mocked_classnames/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.d.ts +4 -4
  762. package/dist/mocked_classnames/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.types.d.ts +9 -10
  763. package/dist/mocked_classnames/components/NumberField/hooks/useNumberFieldState.d.ts +11 -11
  764. package/dist/mocked_classnames/components/NumberField/hooks/useSpinButtonHandlers.d.ts +9 -10
  765. package/dist/mocked_classnames/components/NumberField/index.d.ts +2 -2
  766. package/dist/mocked_classnames/components/NumberField/utils/calcValue.d.ts +6 -6
  767. package/dist/mocked_classnames/components/ProgressBars/PercentageLabel/PercentageLabel.d.ts +13 -13
  768. package/dist/mocked_classnames/components/ProgressBars/ProgressBar/Bar/Bar.d.ts +48 -48
  769. package/dist/mocked_classnames/components/ProgressBars/ProgressBar/ProgressBar.d.ts +69 -69
  770. package/dist/mocked_classnames/components/ProgressBars/ProgressBar/ProgressBar.types.d.ts +3 -3
  771. package/dist/mocked_classnames/components/ProgressBars/ProgressBar/ProgressBarHelpers.d.ts +4 -4
  772. package/dist/mocked_classnames/components/ProgressBars/index.d.ts +2 -2
  773. package/dist/mocked_classnames/components/RadioButton/RadioButton.d.ts +74 -74
  774. package/dist/mocked_classnames/components/RadioButton/index.d.ts +1 -1
  775. package/dist/mocked_classnames/components/Search/Search.d.ts +4 -4
  776. package/dist/mocked_classnames/components/Search/Search.types.d.ts +104 -104
  777. package/dist/mocked_classnames/components/Search/index.d.ts +2 -2
  778. package/dist/mocked_classnames/components/Skeleton/Skeleton.d.ts +31 -31
  779. package/dist/mocked_classnames/components/Skeleton/SkeletonConstants.d.ts +1 -1
  780. package/dist/mocked_classnames/components/Skeleton/Skelton.types.d.ts +4 -4
  781. package/dist/mocked_classnames/components/Skeleton/index.d.ts +2 -2
  782. package/dist/mocked_classnames/components/SlideTransition/SlideTransition.d.ts +4 -4
  783. package/dist/mocked_classnames/components/SlideTransition/SlideTransition.types.d.ts +20 -20
  784. package/dist/mocked_classnames/components/Slider/SelectionIndicator.d.ts +15 -15
  785. package/dist/mocked_classnames/components/Slider/Slider.d.ts +120 -120
  786. package/dist/mocked_classnames/components/Slider/Slider.types.d.ts +8 -8
  787. package/dist/mocked_classnames/components/Slider/SliderBase/SliderBase.d.ts +5 -5
  788. package/dist/mocked_classnames/components/Slider/SliderBase/SliderFilledTrack.d.ts +23 -23
  789. package/dist/mocked_classnames/components/Slider/SliderBase/SliderRail.d.ts +19 -19
  790. package/dist/mocked_classnames/components/Slider/SliderBase/SliderThumb.d.ts +27 -27
  791. package/dist/mocked_classnames/components/Slider/SliderBase/SliderTrack.d.ts +11 -11
  792. package/dist/mocked_classnames/components/Slider/SliderConstants.d.ts +64 -64
  793. package/dist/mocked_classnames/components/Slider/SliderContext.d.ts +43 -43
  794. package/dist/mocked_classnames/components/Slider/SliderHelpers.d.ts +14 -14
  795. package/dist/mocked_classnames/components/Slider/SliderHooks.d.ts +25 -26
  796. package/dist/mocked_classnames/components/Slider/SliderInfix.d.ts +11 -11
  797. package/dist/mocked_classnames/components/Slider/SliderInfixHooks.d.ts +3 -3
  798. package/dist/mocked_classnames/components/Slider/index.d.ts +2 -2
  799. package/dist/mocked_classnames/components/SplitButton/SplitButton.d.ts +44 -44
  800. package/dist/mocked_classnames/components/SplitButton/SplitButtonConstants.d.ts +22 -22
  801. package/dist/mocked_classnames/components/SplitButton/SplitButtonMenu/SplitButtonMenu.d.ts +9 -9
  802. package/dist/mocked_classnames/components/SplitButton/index.d.ts +2 -2
  803. package/dist/mocked_classnames/components/Steps/Steps.d.ts +56 -56
  804. package/dist/mocked_classnames/components/Steps/Steps.types.d.ts +3 -3
  805. package/dist/mocked_classnames/components/Steps/StepsCommand.d.ts +35 -35
  806. package/dist/mocked_classnames/components/Steps/StepsConstants.d.ts +3 -3
  807. package/dist/mocked_classnames/components/Steps/StepsDot.d.ts +26 -26
  808. package/dist/mocked_classnames/components/Steps/StepsGalleryHeader.d.ts +26 -26
  809. package/dist/mocked_classnames/components/Steps/StepsHeader.d.ts +51 -51
  810. package/dist/mocked_classnames/components/Steps/StepsNumbersHeader.d.ts +18 -18
  811. package/dist/mocked_classnames/components/Steps/index.d.ts +2 -2
  812. package/dist/mocked_classnames/components/Switch/Switch.d.ts +59 -59
  813. package/dist/mocked_classnames/components/Switch/index.d.ts +1 -1
  814. package/dist/mocked_classnames/components/Table/Table/Table.d.ts +76 -76
  815. package/dist/mocked_classnames/components/Table/Table/Table.types.d.ts +1 -1
  816. package/dist/mocked_classnames/components/Table/Table/TableConsts.d.ts +14 -14
  817. package/dist/mocked_classnames/components/Table/Table/tableHelpers.d.ts +12 -12
  818. package/dist/mocked_classnames/components/Table/TableBody/TableBody.d.ts +12 -12
  819. package/dist/mocked_classnames/components/Table/TableCell/TableCell.d.ts +14 -14
  820. package/dist/mocked_classnames/components/Table/TableCellSkeleton/TableCellSkeleton.d.ts +15 -15
  821. package/dist/mocked_classnames/components/Table/TableContainer/TableContainer.d.ts +4 -4
  822. package/dist/mocked_classnames/components/Table/TableContainer/TableContainer.types.d.ts +12 -12
  823. package/dist/mocked_classnames/components/Table/TableHeader/TableHeader.d.ts +11 -11
  824. package/dist/mocked_classnames/components/Table/TableHeaderCell/TableHeaderCell.d.ts +35 -35
  825. package/dist/mocked_classnames/components/Table/TableRow/TableRow.d.ts +19 -19
  826. package/dist/mocked_classnames/components/Table/TableRowMenu/TableRowMenu.d.ts +4 -4
  827. package/dist/mocked_classnames/components/Table/TableRowMenu/TableRowMenu.types.d.ts +12 -12
  828. package/dist/mocked_classnames/components/Table/TableVirtualizedBody/TableVirtualizedBody.d.ts +35 -35
  829. package/dist/mocked_classnames/components/Table/context/TableContainerContext/TableContainerContext.d.ts +4 -4
  830. package/dist/mocked_classnames/components/Table/context/TableContainerContext/TableContainerContext.types.d.ts +9 -9
  831. package/dist/mocked_classnames/components/Table/context/TableContext/TableContext.d.ts +4 -4
  832. package/dist/mocked_classnames/components/Table/context/TableContext/TableContext.types.d.ts +27 -27
  833. package/dist/mocked_classnames/components/Table/context/TableRowMenuContext/TableRowMenuContext.d.ts +4 -4
  834. package/dist/mocked_classnames/components/Table/context/TableRowMenuContext/TableRowMenuContext.types.d.ts +23 -23
  835. package/dist/mocked_classnames/components/Table/index.d.ts +12 -12
  836. package/dist/mocked_classnames/components/Tabs/Tab/Tab.d.ts +64 -64
  837. package/dist/mocked_classnames/components/Tabs/TabList/TabList.d.ts +35 -35
  838. package/dist/mocked_classnames/components/Tabs/TabPanel/TabPanel.d.ts +14 -14
  839. package/dist/mocked_classnames/components/Tabs/TabPanels/TabPanels.d.ts +20 -20
  840. package/dist/mocked_classnames/components/Tabs/TabPanels/TabPanels.types.d.ts +1 -1
  841. package/dist/mocked_classnames/components/Tabs/TabsContext/TabsContext.d.ts +14 -14
  842. package/dist/mocked_classnames/components/Tabs/index.d.ts +6 -6
  843. package/dist/mocked_classnames/components/TextArea/TextArea.d.ts +4 -4
  844. package/dist/mocked_classnames/components/TextArea/TextArea.types.d.ts +67 -67
  845. package/dist/mocked_classnames/components/TextArea/index.d.ts +2 -2
  846. package/dist/mocked_classnames/components/TextField/TextField.d.ts +186 -186
  847. package/dist/mocked_classnames/components/TextField/TextField.types.d.ts +3 -3
  848. package/dist/mocked_classnames/components/TextField/TextFieldConstants.d.ts +21 -21
  849. package/dist/mocked_classnames/components/TextField/index.d.ts +2 -2
  850. package/dist/mocked_classnames/components/TextWithHighlight/TextWithHighlight.d.ts +51 -51
  851. package/dist/mocked_classnames/components/TextWithHighlight/index.d.ts +1 -1
  852. package/dist/mocked_classnames/components/ThemeProvider/ThemeProvider.d.ts +30 -30
  853. package/dist/mocked_classnames/components/ThemeProvider/ThemeProvider.types.d.ts +5 -5
  854. package/dist/mocked_classnames/components/ThemeProvider/ThemeProviderConstants.d.ts +23 -23
  855. package/dist/mocked_classnames/components/ThemeProvider/ThemeProviderUtils.d.ts +10 -10
  856. package/dist/mocked_classnames/components/ThemeProvider/index.d.ts +2 -2
  857. package/dist/mocked_classnames/components/Tipseen/Tipseen.d.ts +109 -109
  858. package/dist/mocked_classnames/components/Tipseen/Tipseen.types.d.ts +2 -2
  859. package/dist/mocked_classnames/components/Tipseen/TipseenBasicContent.d.ts +19 -19
  860. package/dist/mocked_classnames/components/Tipseen/TipseenConstants.d.ts +4 -4
  861. package/dist/mocked_classnames/components/Tipseen/TipseenContent.d.ts +48 -48
  862. package/dist/mocked_classnames/components/Tipseen/TipseenMedia/TipseenMedia.d.ts +10 -10
  863. package/dist/mocked_classnames/components/Tipseen/TipseenTitle.d.ts +10 -10
  864. package/dist/mocked_classnames/components/Tipseen/TipseenWizard.d.ts +18 -18
  865. package/dist/mocked_classnames/components/Tipseen/index.d.ts +5 -5
  866. package/dist/mocked_classnames/components/Toast/Toast.d.ts +57 -57
  867. package/dist/mocked_classnames/components/Toast/Toast.types.d.ts +9 -9
  868. package/dist/mocked_classnames/components/Toast/ToastButton/ToastButton.d.ts +5 -5
  869. package/dist/mocked_classnames/components/Toast/ToastConstants.d.ts +7 -8
  870. package/dist/mocked_classnames/components/Toast/ToastHelpers.d.ts +4 -4
  871. package/dist/mocked_classnames/components/Toast/ToastLink/ToastLink.d.ts +5 -5
  872. package/dist/mocked_classnames/components/Toast/index.d.ts +4 -4
  873. package/dist/mocked_classnames/components/Toggle/MockToggle.d.ts +34 -34
  874. package/dist/mocked_classnames/components/Toggle/Toggle.d.ts +59 -59
  875. package/dist/mocked_classnames/components/Toggle/Toggle.types.d.ts +1 -1
  876. package/dist/mocked_classnames/components/Toggle/ToggleConstants.d.ts +1 -1
  877. package/dist/mocked_classnames/components/Toggle/ToggleText.d.ts +14 -14
  878. package/dist/mocked_classnames/components/Toggle/index.d.ts +1 -1
  879. package/dist/mocked_classnames/components/TransitionView/TransitionView.d.ts +4 -4
  880. package/dist/mocked_classnames/components/TransitionView/TransitionView.types.d.ts +18 -18
  881. package/dist/mocked_classnames/components/TransitionView/index.d.ts +2 -2
  882. package/dist/mocked_classnames/components/VirtualizedGrid/VirtualizedGrid.d.ts +67 -67
  883. package/dist/mocked_classnames/components/VirtualizedGrid/VirtualizedGrid.types.d.ts +6 -6
  884. package/dist/mocked_classnames/components/VirtualizedGrid/index.d.ts +2 -2
  885. package/dist/mocked_classnames/components/VirtualizedList/VirtualizedList.d.ts +90 -90
  886. package/dist/mocked_classnames/components/VirtualizedList/VirtualizedList.types.d.ts +8 -8
  887. package/dist/mocked_classnames/components/VirtualizedList/index.d.ts +2 -2
  888. package/dist/mocked_classnames/components/index.d.ts +68 -68
  889. package/dist/mocked_classnames/components/next/List/List.d.ts +4 -4
  890. package/dist/mocked_classnames/components/next/List/List.types.d.ts +47 -47
  891. package/dist/mocked_classnames/components/next/List/ListItem/ListItem.d.ts +4 -4
  892. package/dist/mocked_classnames/components/next/List/ListItem/ListItem.types.d.ts +44 -44
  893. package/dist/mocked_classnames/components/next/List/ListItem/index.d.ts +2 -2
  894. package/dist/mocked_classnames/components/next/List/ListTitle/ListTitle.d.ts +4 -4
  895. package/dist/mocked_classnames/components/next/List/ListTitle/ListTitle.types.d.ts +16 -16
  896. package/dist/mocked_classnames/components/next/List/ListTitle/index.d.ts +2 -2
  897. package/dist/mocked_classnames/components/next/List/index.d.ts +6 -6
  898. package/dist/mocked_classnames/components/next/index.d.ts +1 -1
  899. package/dist/mocked_classnames/components/next.d.ts +1 -1
  900. package/dist/mocked_classnames/constants/index.d.ts +2 -2
  901. package/dist/mocked_classnames/constants/keyCodes.d.ts +16 -16
  902. package/dist/mocked_classnames/constants/sizes.d.ts +25 -25
  903. package/dist/mocked_classnames/helpers/screenReaderAccessHelper.d.ts +31 -31
  904. package/dist/mocked_classnames/helpers/testid-helper.d.ts +1 -1
  905. package/dist/mocked_classnames/helpers/textManipulations.d.ts +10 -10
  906. package/dist/mocked_classnames/helpers/typesciptCssModulesHelper.d.ts +6 -6
  907. package/dist/mocked_classnames/hooks/createEventHandler.d.ts +1 -1
  908. package/dist/mocked_classnames/hooks/index.d.ts +17 -17
  909. package/dist/mocked_classnames/hooks/ssr/useIsMounted.d.ts +1 -1
  910. package/dist/mocked_classnames/hooks/ssr/useIsomorphicLayoutEffect.d.ts +3 -3
  911. package/dist/mocked_classnames/hooks/useActiveDescendantListFocus/index.d.ts +35 -35
  912. package/dist/mocked_classnames/hooks/useActiveDescendantListFocus/useActiveDescendantListFocusHelpers.d.ts +8 -8
  913. package/dist/mocked_classnames/hooks/useActiveDescendantListFocus/useActiveDescendantListFocusHooks.d.ts +44 -44
  914. package/dist/mocked_classnames/hooks/useAfterFirstRender/index.d.ts +2 -2
  915. package/dist/mocked_classnames/hooks/useDebounceEvent/index.d.ts +18 -18
  916. package/dist/mocked_classnames/hooks/useElementsOverflowingIndex.d.ts +9 -9
  917. package/dist/mocked_classnames/hooks/useEventListener/index.d.ts +8 -8
  918. package/dist/mocked_classnames/hooks/useFocusWithin.d.ts +14 -14
  919. package/dist/mocked_classnames/hooks/useFullKeyboardListeners.d.ts +28 -28
  920. package/dist/mocked_classnames/hooks/useGridKeyboardNavigation/gridKeyboardNavigationHelper.d.ts +20 -20
  921. package/dist/mocked_classnames/hooks/useGridKeyboardNavigation/useGridKeyboardNavigation.d.ts +42 -42
  922. package/dist/mocked_classnames/hooks/useHover/useHover.d.ts +2 -2
  923. package/dist/mocked_classnames/hooks/useIsMouseEnter.d.ts +4 -4
  924. package/dist/mocked_classnames/hooks/useIsMouseOver.d.ts +4 -4
  925. package/dist/mocked_classnames/hooks/useItemsOverflow/useItemsOverflow.d.ts +15 -15
  926. package/dist/mocked_classnames/hooks/useKeyEvent/index.d.ts +56 -56
  927. package/dist/mocked_classnames/hooks/useKeyboard.d.ts +14 -14
  928. package/dist/mocked_classnames/hooks/useListenFocusTriggers/index.d.ts +6 -6
  929. package/dist/mocked_classnames/hooks/useMediaQuery/index.d.ts +2 -2
  930. package/dist/mocked_classnames/hooks/useMergeRef.d.ts +7 -7
  931. package/dist/mocked_classnames/hooks/usePrevious/index.d.ts +1 -1
  932. package/dist/mocked_classnames/hooks/useRefWithCallback.d.ts +2 -2
  933. package/dist/mocked_classnames/hooks/useSetFocus/index.d.ts +10 -10
  934. package/dist/mocked_classnames/hooks/useStyle.d.ts +2 -2
  935. package/dist/mocked_classnames/hooks/useSwitch/index.d.ts +31 -31
  936. package/dist/mocked_classnames/hooks/useThrottledCallback.d.ts +4 -4
  937. package/dist/mocked_classnames/hooks/useTimeout/index.d.ts +6 -6
  938. package/dist/mocked_classnames/hooks/useVibeMediaQuery/index.d.ts +12 -12
  939. package/dist/mocked_classnames/hooks/useWizard/useWizard.d.ts +3 -3
  940. package/dist/mocked_classnames/hooks/useWizard/useWizard.types.d.ts +49 -49
  941. package/dist/mocked_classnames/index.d.ts +4 -4
  942. package/dist/mocked_classnames/scripts/generate-metadata.d.ts +1 -1
  943. package/dist/mocked_classnames/services/themes.d.ts +3 -3
  944. package/dist/mocked_classnames/services/virtualized-service.d.ts +27 -27
  945. package/dist/mocked_classnames/src/components/Accordion/Accordion/Accordion.js.map +1 -1
  946. package/dist/mocked_classnames/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
  947. package/dist/mocked_classnames/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
  948. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
  949. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
  950. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
  951. package/dist/mocked_classnames/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
  952. package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxCloseButton/AttentionBoxCloseButton.module.scss.js +1 -1
  953. package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLeadingIcon/AttentionBoxLeadingIcon.module.scss.js +1 -1
  954. package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
  955. package/dist/mocked_classnames/src/components/AttentionBox/layouts/AttentionBoxCompact/AttentionBoxCompact.module.scss.js +1 -1
  956. package/dist/mocked_classnames/src/components/AttentionBox/layouts/AttentionBoxDefault/AttentionBoxDefault.module.scss.js +1 -1
  957. package/dist/mocked_classnames/src/components/Avatar/Avatar.js.map +1 -1
  958. package/dist/mocked_classnames/src/components/Avatar/Avatar.module.scss.js +1 -1
  959. package/dist/mocked_classnames/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
  960. package/dist/mocked_classnames/src/components/Avatar/AvatarContent.module.scss.js +1 -1
  961. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
  962. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
  963. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContainer.js.map +1 -1
  964. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
  965. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
  966. package/dist/mocked_classnames/src/components/Badge/Badge.module.scss.js +1 -1
  967. package/dist/mocked_classnames/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
  968. package/dist/mocked_classnames/src/components/BaseItem/BaseItem.module.scss.js +1 -1
  969. package/dist/mocked_classnames/src/components/BaseList/BaseList.module.scss.js +1 -1
  970. package/dist/mocked_classnames/src/components/BaseList/hooks/useBaseListFocus.js.map +1 -1
  971. package/dist/mocked_classnames/src/components/BaseList/hooks/useBaseListKeyboard.js.map +1 -1
  972. package/dist/mocked_classnames/src/components/BaseList/utils/baseListUtils.js.map +1 -1
  973. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
  974. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
  975. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbsMenu.module.scss.js +1 -1
  976. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
  977. package/dist/mocked_classnames/src/components/ButtonGroup/ButtonGroup.module.scss.js +1 -1
  978. package/dist/mocked_classnames/src/components/Checkbox/Checkbox.js +1 -1
  979. package/dist/mocked_classnames/src/components/Checkbox/Checkbox.js.map +1 -1
  980. package/dist/mocked_classnames/src/components/Checkbox/Checkbox.module.scss.js +1 -1
  981. package/dist/mocked_classnames/src/components/Checkbox/hooks/useSupportFirefoxLabelClick.js.map +1 -1
  982. package/dist/mocked_classnames/src/components/Chips/Chips.module.scss.js +1 -1
  983. package/dist/mocked_classnames/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
  984. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
  985. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
  986. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.js.map +1 -1
  987. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
  988. package/dist/mocked_classnames/src/components/Combobox/Combobox.module.scss.js +1 -1
  989. package/dist/mocked_classnames/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.js.map +1 -1
  990. package/dist/mocked_classnames/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
  991. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
  992. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxItems/ComboboxItems.js.map +1 -1
  993. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
  994. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
  995. package/dist/mocked_classnames/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
  996. package/dist/mocked_classnames/src/components/Counter/Counter.module.scss.js +1 -1
  997. package/dist/mocked_classnames/src/components/DatePicker/DatePicker.js.map +1 -1
  998. package/dist/mocked_classnames/src/components/DatePicker/DatePicker.module.scss.js +1 -1
  999. package/dist/mocked_classnames/src/components/DatePicker/DatePickerHeader.module.scss.js +1 -1
  1000. package/dist/mocked_classnames/src/components/DatePicker/utils.js.map +1 -1
  1001. package/dist/mocked_classnames/src/components/Divider/Divider.module.scss.js +1 -1
  1002. package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBase/DropdownBase.module.scss.js +1 -1
  1003. package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBaseList/DropdownBaseList.module.scss.js +1 -1
  1004. package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js +1 -1
  1005. package/dist/mocked_classnames/src/components/Dropdown/components/Menu/Menu.module.scss.js +1 -1
  1006. package/dist/mocked_classnames/src/components/Dropdown/components/MultiSelectedValues/MultiSelectedValues.module.scss.js +1 -1
  1007. package/dist/mocked_classnames/src/components/Dropdown/components/Trigger/DropdownChip.js.map +1 -1
  1008. package/dist/mocked_classnames/src/components/Dropdown/components/Trigger/Trigger.module.scss.js +1 -1
  1009. package/dist/mocked_classnames/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
  1010. package/dist/mocked_classnames/src/components/EditableText/EditableText.module.scss.js +1 -1
  1011. package/dist/mocked_classnames/src/components/EditableTypography/EditableTypography.js.map +1 -1
  1012. package/dist/mocked_classnames/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
  1013. package/dist/mocked_classnames/src/components/EmptyState/EmptyState.js.map +1 -1
  1014. package/dist/mocked_classnames/src/components/EmptyState/EmptyState.module.scss.js +1 -1
  1015. package/dist/mocked_classnames/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
  1016. package/dist/mocked_classnames/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
  1017. package/dist/mocked_classnames/src/components/FormattedNumber/FormattedNumber.module.scss.js +1 -1
  1018. package/dist/mocked_classnames/src/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.js.map +1 -1
  1019. package/dist/mocked_classnames/src/components/GridKeyboardNavigationContext/helper.js.map +1 -1
  1020. package/dist/mocked_classnames/src/components/HiddenText/HiddenText.module.scss.js +1 -1
  1021. package/dist/mocked_classnames/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js +1 -1
  1022. package/dist/mocked_classnames/src/components/Info/components/InfoLink/InfoLink.module.scss.js +1 -1
  1023. package/dist/mocked_classnames/src/components/InfoText/InfoText.module.scss.js +1 -1
  1024. package/dist/mocked_classnames/src/components/Label/Label.module.scss.js +1 -1
  1025. package/dist/mocked_classnames/src/components/Label/LabelCelebrationAnimation.js.map +1 -1
  1026. package/dist/mocked_classnames/src/components/Label/LabelCelebrationAnimation.module.scss.js +1 -1
  1027. package/dist/mocked_classnames/src/components/Link/Link.module.scss.js +1 -1
  1028. package/dist/mocked_classnames/src/components/List/List.js.map +1 -1
  1029. package/dist/mocked_classnames/src/components/List/List.module.scss.js +1 -1
  1030. package/dist/mocked_classnames/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
  1031. package/dist/mocked_classnames/src/components/List/utils/ListUtils.js.map +1 -1
  1032. package/dist/mocked_classnames/src/components/ListItem/ListItem.module.scss.js +1 -1
  1033. package/dist/mocked_classnames/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
  1034. package/dist/mocked_classnames/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
  1035. package/dist/mocked_classnames/src/components/ListTitle/ListTitle.module.scss.js +1 -1
  1036. package/dist/mocked_classnames/src/components/Menu/Menu/Menu.module.scss.js +1 -1
  1037. package/dist/mocked_classnames/src/components/Menu/Menu/hooks/useFocusOnMount.js.map +1 -1
  1038. package/dist/mocked_classnames/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
  1039. package/dist/mocked_classnames/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
  1040. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
  1041. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
  1042. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.js.map +1 -1
  1043. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
  1044. package/dist/mocked_classnames/src/components/Menu/MenuItem/hooks/useMenuItemKeyboardEvents.js.map +1 -1
  1045. package/dist/mocked_classnames/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
  1046. package/dist/mocked_classnames/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
  1047. package/dist/mocked_classnames/src/components/MenuButton/MenuButton.module.scss.js +1 -1
  1048. package/dist/mocked_classnames/src/components/Modal/Modal/Modal.js.map +1 -1
  1049. package/dist/mocked_classnames/src/components/Modal/Modal/Modal.module.scss.js +1 -1
  1050. package/dist/mocked_classnames/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
  1051. package/dist/mocked_classnames/src/components/Modal/ModalMedia/ModalMedia.module.scss.js +1 -1
  1052. package/dist/mocked_classnames/src/components/Modal/ModalTopActions/ModalTopActions.module.scss.js +1 -1
  1053. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooter/ModalFooter.module.scss.js +1 -1
  1054. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.module.scss.js +1 -1
  1055. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.module.scss.js +1 -1
  1056. package/dist/mocked_classnames/src/components/Modal/hooks/useFocusEscapeTargets/useFocusEscapeTargets.js.map +1 -1
  1057. package/dist/mocked_classnames/src/components/Modal/hooks/usePortalTarget/usePortalTarget.js.map +1 -1
  1058. package/dist/mocked_classnames/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.module.scss.js +1 -1
  1059. package/dist/mocked_classnames/src/components/Modal/layouts/ModalFooterShadow.module.scss.js +1 -1
  1060. package/dist/mocked_classnames/src/components/Modal/layouts/ModalLayoutScrollableContent.module.scss.js +1 -1
  1061. package/dist/mocked_classnames/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.module.scss.js +1 -1
  1062. package/dist/mocked_classnames/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.module.scss.js +1 -1
  1063. package/dist/mocked_classnames/src/components/Modal/layouts/useLayoutScrolledContent.js.map +1 -1
  1064. package/dist/mocked_classnames/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
  1065. package/dist/mocked_classnames/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
  1066. package/dist/mocked_classnames/src/components/NumberField/NumberField.module.scss.js +1 -1
  1067. package/dist/mocked_classnames/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js +1 -1
  1068. package/dist/mocked_classnames/src/components/NumberField/hooks/useNumberFieldState.js.map +1 -1
  1069. package/dist/mocked_classnames/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
  1070. package/dist/mocked_classnames/src/components/ProgressBars/ProgressBar/Bar/Bar.module.scss.js +1 -1
  1071. package/dist/mocked_classnames/src/components/ProgressBars/ProgressBar/ProgressBar.js.map +1 -1
  1072. package/dist/mocked_classnames/src/components/ProgressBars/ProgressBar/ProgressBar.module.scss.js +1 -1
  1073. package/dist/mocked_classnames/src/components/RadioButton/RadioButton.module.scss.js +1 -1
  1074. package/dist/mocked_classnames/src/components/Search/Search.module.scss.js +1 -1
  1075. package/dist/mocked_classnames/src/components/Skeleton/Skeleton.module.scss.js +1 -1
  1076. package/dist/mocked_classnames/src/components/SlideTransition/SlideTransition.module.scss.js +1 -1
  1077. package/dist/mocked_classnames/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
  1078. package/dist/mocked_classnames/src/components/Slider/Slider.module.scss.js +1 -1
  1079. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
  1080. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
  1081. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
  1082. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
  1083. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
  1084. package/dist/mocked_classnames/src/components/Slider/SliderHelpers.js.map +1 -1
  1085. package/dist/mocked_classnames/src/components/Slider/SliderHooks.js.map +1 -1
  1086. package/dist/mocked_classnames/src/components/Slider/SliderInfix.module.scss.js +1 -1
  1087. package/dist/mocked_classnames/src/components/Slider/SliderInfixHooks.js.map +1 -1
  1088. package/dist/mocked_classnames/src/components/SplitButton/SplitButton.module.scss.js +1 -1
  1089. package/dist/mocked_classnames/src/components/Steps/Steps.module.scss.js +1 -1
  1090. package/dist/mocked_classnames/src/components/Steps/StepsCommand.module.scss.js +1 -1
  1091. package/dist/mocked_classnames/src/components/Steps/StepsDot.module.scss.js +1 -1
  1092. package/dist/mocked_classnames/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
  1093. package/dist/mocked_classnames/src/components/Steps/StepsHeader.module.scss.js +1 -1
  1094. package/dist/mocked_classnames/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
  1095. package/dist/mocked_classnames/src/components/Switch/Switch.module.scss.js +1 -1
  1096. package/dist/mocked_classnames/src/components/Table/Table/Table.js.map +1 -1
  1097. package/dist/mocked_classnames/src/components/Table/Table/Table.module.scss.js +1 -1
  1098. package/dist/mocked_classnames/src/components/Table/Table/tableHelpers.js.map +1 -1
  1099. package/dist/mocked_classnames/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
  1100. package/dist/mocked_classnames/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
  1101. package/dist/mocked_classnames/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
  1102. package/dist/mocked_classnames/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
  1103. package/dist/mocked_classnames/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
  1104. package/dist/mocked_classnames/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
  1105. package/dist/mocked_classnames/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
  1106. package/dist/mocked_classnames/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
  1107. package/dist/mocked_classnames/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
  1108. package/dist/mocked_classnames/src/components/Table/context/TableRowMenuContext/TableRowMenuContext.js.map +1 -1
  1109. package/dist/mocked_classnames/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
  1110. package/dist/mocked_classnames/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
  1111. package/dist/mocked_classnames/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
  1112. package/dist/mocked_classnames/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
  1113. package/dist/mocked_classnames/src/components/Tabs/TabsContext/TabsContext.js.map +1 -1
  1114. package/dist/mocked_classnames/src/components/TextArea/TextArea.module.scss.js +1 -1
  1115. package/dist/mocked_classnames/src/components/TextField/TextField.js.map +1 -1
  1116. package/dist/mocked_classnames/src/components/TextField/TextField.module.scss.js +1 -1
  1117. package/dist/mocked_classnames/src/components/TextWithHighlight/TextWithHighlight.js.map +1 -1
  1118. package/dist/mocked_classnames/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
  1119. package/dist/mocked_classnames/src/components/ThemeProvider/ThemeProvider.js.map +1 -1
  1120. package/dist/mocked_classnames/src/components/ThemeProvider/ThemeProviderUtils.js.map +1 -1
  1121. package/dist/mocked_classnames/src/components/Tipseen/Tipseen.module.scss.js +1 -1
  1122. package/dist/mocked_classnames/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
  1123. package/dist/mocked_classnames/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
  1124. package/dist/mocked_classnames/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
  1125. package/dist/mocked_classnames/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
  1126. package/dist/mocked_classnames/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
  1127. package/dist/mocked_classnames/src/components/Toast/Toast.module.scss.js +1 -1
  1128. package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
  1129. package/dist/mocked_classnames/src/components/Toggle/MockToggle.module.scss.js +1 -1
  1130. package/dist/mocked_classnames/src/components/Toggle/Toggle.module.scss.js +1 -1
  1131. package/dist/mocked_classnames/src/components/Toggle/ToggleText.module.scss.js +1 -1
  1132. package/dist/mocked_classnames/src/components/TransitionView/TransitionView.module.scss.js +1 -1
  1133. package/dist/mocked_classnames/src/components/VirtualizedGrid/VirtualizedGrid.js.map +1 -1
  1134. package/dist/mocked_classnames/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
  1135. package/dist/mocked_classnames/src/components/VirtualizedList/VirtualizedList.js.map +1 -1
  1136. package/dist/mocked_classnames/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
  1137. package/dist/mocked_classnames/src/components/next/List/List.module.scss.js +1 -1
  1138. package/dist/mocked_classnames/src/components/next/List/ListTitle/ListTitle.module.scss.js +1 -1
  1139. package/dist/mocked_classnames/src/helpers/textManipulations.js.map +1 -1
  1140. package/dist/mocked_classnames/src/hooks/useActiveDescendantListFocus/useActiveDescendantListFocusHelpers.js.map +1 -1
  1141. package/dist/mocked_classnames/src/hooks/useActiveDescendantListFocus/useActiveDescendantListFocusHooks.js.map +1 -1
  1142. package/dist/mocked_classnames/src/hooks/useElementsOverflowingIndex.js.map +1 -1
  1143. package/dist/mocked_classnames/src/hooks/useGridKeyboardNavigation/gridKeyboardNavigationHelper.js.map +1 -1
  1144. package/dist/mocked_classnames/src/hooks/useGridKeyboardNavigation/useGridKeyboardNavigation.js.map +1 -1
  1145. package/dist/mocked_classnames/src/hooks/useItemsOverflow/useItemsOverflow.js.map +1 -1
  1146. package/dist/mocked_classnames/src/hooks/useSwitch/index.js.map +1 -1
  1147. package/dist/mocked_classnames/src/services/themes.js.map +1 -1
  1148. package/dist/mocked_classnames/src/services/virtualized-service.js.map +1 -1
  1149. package/dist/mocked_classnames/src/tests/interactionsTests.js +1 -1
  1150. package/dist/mocked_classnames/src/tests/interactionsTests.js.map +1 -1
  1151. package/dist/mocked_classnames/src/utils/dom-utils.js.map +1 -1
  1152. package/dist/mocked_classnames/src/utils/warn-deprecated.js.map +1 -1
  1153. package/dist/mocked_classnames/style-imports.d.ts +1 -1
  1154. package/dist/mocked_classnames/tests/constants.d.ts +201 -201
  1155. package/dist/mocked_classnames/tests/interactions-utils.d.ts +57 -57
  1156. package/dist/mocked_classnames/tests/test-ids-utils.d.ts +3 -3
  1157. package/dist/mocked_classnames/types/ArrayLastElement.d.ts +1 -1
  1158. package/dist/mocked_classnames/types/Colors.d.ts +22 -22
  1159. package/dist/mocked_classnames/types/ElementContent.d.ts +2 -2
  1160. package/dist/mocked_classnames/types/FormElement.d.ts +40 -40
  1161. package/dist/mocked_classnames/types/MoveBy.d.ts +4 -4
  1162. package/dist/mocked_classnames/types/SplitString.d.ts +1 -1
  1163. package/dist/mocked_classnames/types/VibeComponentProps.d.ts +14 -14
  1164. package/dist/mocked_classnames/types/events.d.ts +6 -6
  1165. package/dist/mocked_classnames/types/index.d.ts +6 -6
  1166. package/dist/mocked_classnames/utils/colors-utils.d.ts +8 -8
  1167. package/dist/mocked_classnames/utils/colors-vars-map.d.ts +132 -132
  1168. package/dist/mocked_classnames/utils/dom-event-utils.d.ts +16 -16
  1169. package/dist/mocked_classnames/utils/dom-utils.d.ts +2 -2
  1170. package/dist/mocked_classnames/utils/function-utils.d.ts +5 -5
  1171. package/dist/mocked_classnames/utils/media-query-utils.d.ts +23 -23
  1172. package/dist/mocked_classnames/utils/ssr-utils.d.ts +2 -2
  1173. package/dist/mocked_classnames/utils/user-agent-utils.d.ts +2 -2
  1174. package/dist/mocked_classnames/utils/warn-deprecated.d.ts +10 -10
  1175. package/dist/scripts/generate-metadata.d.ts +1 -1
  1176. package/dist/services/themes.d.ts +3 -3
  1177. package/dist/services/virtualized-service.d.ts +27 -27
  1178. package/dist/shared/dist/utils/dom-utils.js.map +1 -1
  1179. package/dist/shared/dist/utils/function-utils.js.map +1 -1
  1180. package/dist/src/components/Accordion/Accordion/Accordion.js.map +1 -1
  1181. package/dist/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
  1182. package/dist/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
  1183. package/dist/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
  1184. package/dist/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
  1185. package/dist/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
  1186. package/dist/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
  1187. package/dist/src/components/AttentionBox/components/AttentionBoxCloseButton/AttentionBoxCloseButton.module.scss.js +1 -1
  1188. package/dist/src/components/AttentionBox/components/AttentionBoxLeadingIcon/AttentionBoxLeadingIcon.module.scss.js +1 -1
  1189. package/dist/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
  1190. package/dist/src/components/AttentionBox/layouts/AttentionBoxCompact/AttentionBoxCompact.module.scss.js +1 -1
  1191. package/dist/src/components/AttentionBox/layouts/AttentionBoxDefault/AttentionBoxDefault.module.scss.js +1 -1
  1192. package/dist/src/components/Avatar/Avatar.js.map +1 -1
  1193. package/dist/src/components/Avatar/Avatar.module.scss.js +1 -1
  1194. package/dist/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
  1195. package/dist/src/components/Avatar/AvatarContent.module.scss.js +1 -1
  1196. package/dist/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
  1197. package/dist/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
  1198. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContainer.js.map +1 -1
  1199. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
  1200. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
  1201. package/dist/src/components/Badge/Badge.module.scss.js +1 -1
  1202. package/dist/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
  1203. package/dist/src/components/BaseItem/BaseItem.module.scss.js +1 -1
  1204. package/dist/src/components/BaseList/BaseList.module.scss.js +1 -1
  1205. package/dist/src/components/BaseList/hooks/useBaseListFocus.js.map +1 -1
  1206. package/dist/src/components/BaseList/hooks/useBaseListKeyboard.js.map +1 -1
  1207. package/dist/src/components/BaseList/utils/baseListUtils.js.map +1 -1
  1208. package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
  1209. package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
  1210. package/dist/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbsMenu.module.scss.js +1 -1
  1211. package/dist/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
  1212. package/dist/src/components/ButtonGroup/ButtonGroup.module.scss.js +1 -1
  1213. package/dist/src/components/Checkbox/Checkbox.js +1 -1
  1214. package/dist/src/components/Checkbox/Checkbox.js.map +1 -1
  1215. package/dist/src/components/Checkbox/Checkbox.module.scss.js +1 -1
  1216. package/dist/src/components/Checkbox/hooks/useSupportFirefoxLabelClick.js.map +1 -1
  1217. package/dist/src/components/Chips/Chips.module.scss.js +1 -1
  1218. package/dist/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
  1219. package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
  1220. package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
  1221. package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.js.map +1 -1
  1222. package/dist/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
  1223. package/dist/src/components/Combobox/Combobox.module.scss.js +1 -1
  1224. package/dist/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.js.map +1 -1
  1225. package/dist/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
  1226. package/dist/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
  1227. package/dist/src/components/Combobox/components/ComboboxItems/ComboboxItems.js.map +1 -1
  1228. package/dist/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
  1229. package/dist/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
  1230. package/dist/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
  1231. package/dist/src/components/Counter/Counter.module.scss.js +1 -1
  1232. package/dist/src/components/DatePicker/DatePicker.js.map +1 -1
  1233. package/dist/src/components/DatePicker/DatePicker.module.scss.js +1 -1
  1234. package/dist/src/components/DatePicker/DatePickerHeader.module.scss.js +1 -1
  1235. package/dist/src/components/DatePicker/utils.js.map +1 -1
  1236. package/dist/src/components/Divider/Divider.module.scss.js +1 -1
  1237. package/dist/src/components/Dropdown/components/DropdownBase/DropdownBase.module.scss.js +1 -1
  1238. package/dist/src/components/Dropdown/components/DropdownBaseList/DropdownBaseList.module.scss.js +1 -1
  1239. package/dist/src/components/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js +1 -1
  1240. package/dist/src/components/Dropdown/components/Menu/Menu.module.scss.js +1 -1
  1241. package/dist/src/components/Dropdown/components/MultiSelectedValues/MultiSelectedValues.module.scss.js +1 -1
  1242. package/dist/src/components/Dropdown/components/Trigger/DropdownChip.js.map +1 -1
  1243. package/dist/src/components/Dropdown/components/Trigger/Trigger.module.scss.js +1 -1
  1244. package/dist/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
  1245. package/dist/src/components/EditableText/EditableText.module.scss.js +1 -1
  1246. package/dist/src/components/EditableTypography/EditableTypography.js.map +1 -1
  1247. package/dist/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
  1248. package/dist/src/components/EmptyState/EmptyState.js.map +1 -1
  1249. package/dist/src/components/EmptyState/EmptyState.module.scss.js +1 -1
  1250. package/dist/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
  1251. package/dist/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
  1252. package/dist/src/components/FormattedNumber/FormattedNumber.module.scss.js +1 -1
  1253. package/dist/src/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.js.map +1 -1
  1254. package/dist/src/components/GridKeyboardNavigationContext/helper.js.map +1 -1
  1255. package/dist/src/components/HiddenText/HiddenText.module.scss.js +1 -1
  1256. package/dist/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js +1 -1
  1257. package/dist/src/components/Info/components/InfoLink/InfoLink.module.scss.js +1 -1
  1258. package/dist/src/components/InfoText/InfoText.module.scss.js +1 -1
  1259. package/dist/src/components/Label/Label.module.scss.js +1 -1
  1260. package/dist/src/components/Label/LabelCelebrationAnimation.js.map +1 -1
  1261. package/dist/src/components/Label/LabelCelebrationAnimation.module.scss.js +1 -1
  1262. package/dist/src/components/Link/Link.module.scss.js +1 -1
  1263. package/dist/src/components/List/List.js.map +1 -1
  1264. package/dist/src/components/List/List.module.scss.js +1 -1
  1265. package/dist/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
  1266. package/dist/src/components/List/utils/ListUtils.js.map +1 -1
  1267. package/dist/src/components/ListItem/ListItem.module.scss.js +1 -1
  1268. package/dist/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
  1269. package/dist/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
  1270. package/dist/src/components/ListTitle/ListTitle.module.scss.js +1 -1
  1271. package/dist/src/components/Menu/Menu/Menu.module.scss.js +1 -1
  1272. package/dist/src/components/Menu/Menu/hooks/useFocusOnMount.js.map +1 -1
  1273. package/dist/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
  1274. package/dist/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
  1275. package/dist/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
  1276. package/dist/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
  1277. package/dist/src/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.js.map +1 -1
  1278. package/dist/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
  1279. package/dist/src/components/Menu/MenuItem/hooks/useMenuItemKeyboardEvents.js.map +1 -1
  1280. package/dist/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
  1281. package/dist/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
  1282. package/dist/src/components/MenuButton/MenuButton.module.scss.js +1 -1
  1283. package/dist/src/components/Modal/Modal/Modal.js.map +1 -1
  1284. package/dist/src/components/Modal/Modal/Modal.module.scss.js +1 -1
  1285. package/dist/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
  1286. package/dist/src/components/Modal/ModalMedia/ModalMedia.module.scss.js +1 -1
  1287. package/dist/src/components/Modal/ModalTopActions/ModalTopActions.module.scss.js +1 -1
  1288. package/dist/src/components/Modal/footers/ModalFooter/ModalFooter.module.scss.js +1 -1
  1289. package/dist/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.module.scss.js +1 -1
  1290. package/dist/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.module.scss.js +1 -1
  1291. package/dist/src/components/Modal/hooks/useFocusEscapeTargets/useFocusEscapeTargets.js.map +1 -1
  1292. package/dist/src/components/Modal/hooks/usePortalTarget/usePortalTarget.js.map +1 -1
  1293. package/dist/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.module.scss.js +1 -1
  1294. package/dist/src/components/Modal/layouts/ModalFooterShadow.module.scss.js +1 -1
  1295. package/dist/src/components/Modal/layouts/ModalLayoutScrollableContent.module.scss.js +1 -1
  1296. package/dist/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.module.scss.js +1 -1
  1297. package/dist/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.module.scss.js +1 -1
  1298. package/dist/src/components/Modal/layouts/useLayoutScrolledContent.js.map +1 -1
  1299. package/dist/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
  1300. package/dist/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
  1301. package/dist/src/components/NumberField/NumberField.module.scss.js +1 -1
  1302. package/dist/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js +1 -1
  1303. package/dist/src/components/NumberField/hooks/useNumberFieldState.js.map +1 -1
  1304. package/dist/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
  1305. package/dist/src/components/ProgressBars/ProgressBar/Bar/Bar.module.scss.js +1 -1
  1306. package/dist/src/components/ProgressBars/ProgressBar/ProgressBar.js.map +1 -1
  1307. package/dist/src/components/ProgressBars/ProgressBar/ProgressBar.module.scss.js +1 -1
  1308. package/dist/src/components/RadioButton/RadioButton.module.scss.js +1 -1
  1309. package/dist/src/components/Search/Search.module.scss.js +1 -1
  1310. package/dist/src/components/Skeleton/Skeleton.module.scss.js +1 -1
  1311. package/dist/src/components/SlideTransition/SlideTransition.module.scss.js +1 -1
  1312. package/dist/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
  1313. package/dist/src/components/Slider/Slider.module.scss.js +1 -1
  1314. package/dist/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
  1315. package/dist/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
  1316. package/dist/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
  1317. package/dist/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
  1318. package/dist/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
  1319. package/dist/src/components/Slider/SliderHelpers.js.map +1 -1
  1320. package/dist/src/components/Slider/SliderHooks.js.map +1 -1
  1321. package/dist/src/components/Slider/SliderInfix.module.scss.js +1 -1
  1322. package/dist/src/components/Slider/SliderInfixHooks.js.map +1 -1
  1323. package/dist/src/components/SplitButton/SplitButton.module.scss.js +1 -1
  1324. package/dist/src/components/Steps/Steps.module.scss.js +1 -1
  1325. package/dist/src/components/Steps/StepsCommand.module.scss.js +1 -1
  1326. package/dist/src/components/Steps/StepsDot.module.scss.js +1 -1
  1327. package/dist/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
  1328. package/dist/src/components/Steps/StepsHeader.module.scss.js +1 -1
  1329. package/dist/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
  1330. package/dist/src/components/Switch/Switch.module.scss.js +1 -1
  1331. package/dist/src/components/Table/Table/Table.js.map +1 -1
  1332. package/dist/src/components/Table/Table/Table.module.scss.js +1 -1
  1333. package/dist/src/components/Table/Table/tableHelpers.js.map +1 -1
  1334. package/dist/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
  1335. package/dist/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
  1336. package/dist/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
  1337. package/dist/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
  1338. package/dist/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
  1339. package/dist/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
  1340. package/dist/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
  1341. package/dist/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
  1342. package/dist/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
  1343. package/dist/src/components/Table/context/TableRowMenuContext/TableRowMenuContext.js.map +1 -1
  1344. package/dist/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
  1345. package/dist/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
  1346. package/dist/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
  1347. package/dist/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
  1348. package/dist/src/components/Tabs/TabsContext/TabsContext.js.map +1 -1
  1349. package/dist/src/components/TextArea/TextArea.module.scss.js +1 -1
  1350. package/dist/src/components/TextField/TextField.js.map +1 -1
  1351. package/dist/src/components/TextField/TextField.module.scss.js +1 -1
  1352. package/dist/src/components/TextWithHighlight/TextWithHighlight.js.map +1 -1
  1353. package/dist/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
  1354. package/dist/src/components/ThemeProvider/ThemeProvider.js.map +1 -1
  1355. package/dist/src/components/ThemeProvider/ThemeProviderUtils.js.map +1 -1
  1356. package/dist/src/components/Tipseen/Tipseen.module.scss.js +1 -1
  1357. package/dist/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
  1358. package/dist/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
  1359. package/dist/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
  1360. package/dist/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
  1361. package/dist/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
  1362. package/dist/src/components/Toast/Toast.module.scss.js +1 -1
  1363. package/dist/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
  1364. package/dist/src/components/Toggle/MockToggle.module.scss.js +1 -1
  1365. package/dist/src/components/Toggle/Toggle.module.scss.js +1 -1
  1366. package/dist/src/components/Toggle/ToggleText.module.scss.js +1 -1
  1367. package/dist/src/components/TransitionView/TransitionView.module.scss.js +1 -1
  1368. package/dist/src/components/VirtualizedGrid/VirtualizedGrid.js.map +1 -1
  1369. package/dist/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
  1370. package/dist/src/components/VirtualizedList/VirtualizedList.js.map +1 -1
  1371. package/dist/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
  1372. package/dist/src/components/next/List/List.module.scss.js +1 -1
  1373. package/dist/src/components/next/List/ListTitle/ListTitle.module.scss.js +1 -1
  1374. package/dist/src/helpers/textManipulations.js.map +1 -1
  1375. package/dist/src/hooks/useActiveDescendantListFocus/useActiveDescendantListFocusHelpers.js.map +1 -1
  1376. package/dist/src/hooks/useActiveDescendantListFocus/useActiveDescendantListFocusHooks.js.map +1 -1
  1377. package/dist/src/hooks/useElementsOverflowingIndex.js.map +1 -1
  1378. package/dist/src/hooks/useGridKeyboardNavigation/gridKeyboardNavigationHelper.js.map +1 -1
  1379. package/dist/src/hooks/useGridKeyboardNavigation/useGridKeyboardNavigation.js.map +1 -1
  1380. package/dist/src/hooks/useItemsOverflow/useItemsOverflow.js.map +1 -1
  1381. package/dist/src/hooks/useSwitch/index.js.map +1 -1
  1382. package/dist/src/services/themes.js.map +1 -1
  1383. package/dist/src/services/virtualized-service.js.map +1 -1
  1384. package/dist/src/tests/interactionsTests.js +1 -1
  1385. package/dist/src/tests/interactionsTests.js.map +1 -1
  1386. package/dist/src/utils/dom-utils.js.map +1 -1
  1387. package/dist/src/utils/warn-deprecated.js.map +1 -1
  1388. package/dist/style/dist/index.min.css.js +1 -1
  1389. package/dist/style-imports.d.ts +1 -1
  1390. package/dist/tests/constants.d.ts +201 -201
  1391. package/dist/tests/interactions-utils.d.ts +57 -57
  1392. package/dist/tests/test-ids-utils.d.ts +3 -3
  1393. package/dist/types/ArrayLastElement.d.ts +1 -1
  1394. package/dist/types/Colors.d.ts +22 -22
  1395. package/dist/types/ElementContent.d.ts +2 -2
  1396. package/dist/types/FormElement.d.ts +40 -40
  1397. package/dist/types/MoveBy.d.ts +4 -4
  1398. package/dist/types/SplitString.d.ts +1 -1
  1399. package/dist/types/VibeComponentProps.d.ts +14 -14
  1400. package/dist/types/events.d.ts +6 -6
  1401. package/dist/types/index.d.ts +6 -6
  1402. package/dist/utils/colors-utils.d.ts +8 -8
  1403. package/dist/utils/colors-vars-map.d.ts +132 -132
  1404. package/dist/utils/dom-event-utils.d.ts +16 -16
  1405. package/dist/utils/dom-utils.d.ts +2 -2
  1406. package/dist/utils/function-utils.d.ts +5 -5
  1407. package/dist/utils/media-query-utils.d.ts +23 -23
  1408. package/dist/utils/ssr-utils.d.ts +2 -2
  1409. package/dist/utils/user-agent-utils.d.ts +2 -2
  1410. package/dist/utils/warn-deprecated.d.ts +10 -10
  1411. package/package.json +20 -20
@@ -1 +1 @@
1
- {"version":3,"file":"GridKeyboardNavigationContext.js","sources":["../../../../src/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.ts"],"sourcesContent":["import React, { useContext, useCallback, useMemo } from \"react\";\nimport useEventListener from \"../../hooks/useEventListener\";\nimport { useLastNavigationDirection } from \"../Menu/Menu/hooks/useLastNavigationDirection\";\nimport {\n getDirectionMaps,\n getNextElementToFocusInDirection,\n getOppositeDirection,\n getOutmostElementInDirection\n} from \"./helper\";\nimport { type NavDirections } from \"../../hooks/useFullKeyboardListeners\";\nimport {\n type GridElementRef,\n type GridKeyboardNavigationContextType,\n type Position\n} from \"./GridKeyboardNavigationContextConstants\";\n\nexport const GridKeyboardNavigationContext = React.createContext<GridKeyboardNavigationContextType>(null);\n\n/**\n * @param {({topElement: MutableRefObject, bottomElement: MutableRefObject}|\n * {leftElement: MutableRefObject, rightElement: MutableRefObject})[]} positions - the positions of the navigable items\n * @param {*} wrapperRef - a reference for a wrapper element which contains all the referenced elements\n * @param options - { disabled: boolean }\n */\nexport const useGridKeyboardNavigationContext = (\n positions: Position[],\n wrapperRef: GridElementRef,\n options: { disabled: boolean } = { disabled: false }\n) => {\n const directionMaps = useMemo(() => getDirectionMaps(positions), [positions]);\n const upperContext = useContext(GridKeyboardNavigationContext);\n const { lastNavigationDirectionRef } = useLastNavigationDirection();\n\n const onWrapperFocus = useCallback(() => {\n const keyboardDirection = lastNavigationDirectionRef.current;\n if (!keyboardDirection || options.disabled) {\n return;\n }\n const oppositeDirection = getOppositeDirection(keyboardDirection);\n const refToFocus = getOutmostElementInDirection(directionMaps, oppositeDirection);\n refToFocus?.current?.focus();\n }, [directionMaps, options.disabled, lastNavigationDirectionRef]);\n useEventListener({ eventName: \"focus\", callback: onWrapperFocus, ref: wrapperRef });\n\n const onOutboundNavigation = useCallback(\n (elementRef: GridElementRef, direction: NavDirections) => {\n if (options.disabled) return;\n const maybeNextElement = getNextElementToFocusInDirection(directionMaps[direction], elementRef);\n if (maybeNextElement) {\n elementRef.current?.blur();\n maybeNextElement.current?.focus();\n return;\n }\n // nothing on that direction - try updating the upper context\n upperContext?.onOutboundNavigation(wrapperRef, direction);\n },\n [directionMaps, upperContext, wrapperRef, options.disabled]\n );\n return { onOutboundNavigation };\n};\n"],"names":["GridKeyboardNavigationContext","React","createContext","useGridKeyboardNavigationContext","positions","wrapperRef","options","arguments","length","undefined","disabled","directionMaps","useMemo","getDirectionMaps","upperContext","useContext","lastNavigationDirectionRef","useLastNavigationDirection","onWrapperFocus","useCallback","keyboardDirection","current","oppositeDirection","getOppositeDirection","refToFocus","getOutmostElementInDirection","_a","focus","useEventListener","eventName","callback","ref","onOutboundNavigation","elementRef","direction","maybeNextElement","getNextElementToFocusInDirection","blur","_b"],"mappings":"wWAgBO,IAAMA,EAAgCC,EAAMC,cAAiD,MAQvFC,EAAmC,SAC9CC,EACAC,GAEE,IADFC,EAAAC,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAiC,GAAA,CAAEG,UAAU,GAEvCC,EAAgBC,GAAQ,WAAA,OAAMC,EAAiBT,KAAY,CAACA,IAC5DU,EAAeC,EAAWf,GACxBgB,EAA+BC,IAA/BD,2BAEFE,EAAiBC,GAAY,iBAC3BC,EAAoBJ,EAA2BK,QACrD,GAAKD,IAAqBd,EAAQI,SAAlC,CAGA,IAAMY,EAAoBC,EAAqBH,GACzCI,EAAaC,EAA6Bd,EAAeW,GAC5C,QAAnBI,EAAAF,aAAA,EAAAA,EAAYH,eAAO,IAAAK,GAAAA,EAAEC,OAHpB,CAIF,GAAE,CAAChB,EAAeL,EAAQI,SAAUM,IAiBrC,OAhBAY,EAAiB,CAAEC,UAAW,QAASC,SAAUZ,EAAgBa,IAAK1B,IAgB/D,CAAE2B,qBAdoBb,GAC3B,SAACc,EAA4BC,WAC3B,IAAI5B,EAAQI,SAAZ,CACA,IAAMyB,EAAmBC,EAAiCzB,EAAcuB,GAAYD,GACpF,GAAIE,EAGF,OAFoB,QAApBT,EAAAO,EAAWZ,eAAS,IAAAK,GAAAA,EAAAW,YACM,QAA1BC,EAAAH,EAAiBd,eAAS,IAAAiB,GAAAA,EAAAX,SAI5Bb,SAAAA,EAAckB,qBAAqB3B,EAAY6B,EARzB,CASxB,GACA,CAACvB,EAAeG,EAAcT,EAAYC,EAAQI,WAGtD"}
1
+ {"version":3,"file":"GridKeyboardNavigationContext.js","sources":["../../../../src/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.ts"],"sourcesContent":["import React, { useContext, useCallback, useMemo } from \"react\";\nimport useEventListener from \"../../hooks/useEventListener\";\nimport { useLastNavigationDirection } from \"../Menu/Menu/hooks/useLastNavigationDirection\";\nimport {\n getDirectionMaps,\n getNextElementToFocusInDirection,\n getOppositeDirection,\n getOutmostElementInDirection\n} from \"./helper\";\nimport { type NavDirections } from \"../../hooks/useFullKeyboardListeners\";\nimport {\n type GridElementRef,\n type GridKeyboardNavigationContextType,\n type Position\n} from \"./GridKeyboardNavigationContextConstants\";\n\nexport const GridKeyboardNavigationContext = React.createContext<GridKeyboardNavigationContextType>(null);\n\n/**\n * @param {({topElement: MutableRefObject, bottomElement: MutableRefObject}|\n * {leftElement: MutableRefObject, rightElement: MutableRefObject})[]} positions - the positions of the navigable items\n * @param {*} wrapperRef - a reference for a wrapper element which contains all the referenced elements\n * @param options - { disabled: boolean }\n */\nexport const useGridKeyboardNavigationContext = (\n positions: Position[],\n wrapperRef: GridElementRef,\n options: { disabled: boolean } = { disabled: false }\n) => {\n const directionMaps = useMemo(() => getDirectionMaps(positions), [positions]);\n const upperContext = useContext(GridKeyboardNavigationContext);\n const { lastNavigationDirectionRef } = useLastNavigationDirection();\n\n const onWrapperFocus = useCallback(() => {\n const keyboardDirection = lastNavigationDirectionRef.current;\n if (!keyboardDirection || options.disabled) {\n return;\n }\n const oppositeDirection = getOppositeDirection(keyboardDirection);\n const refToFocus = getOutmostElementInDirection(directionMaps, oppositeDirection);\n refToFocus?.current?.focus();\n }, [directionMaps, options.disabled, lastNavigationDirectionRef]);\n useEventListener({ eventName: \"focus\", callback: onWrapperFocus, ref: wrapperRef });\n\n const onOutboundNavigation = useCallback(\n (elementRef: GridElementRef, direction: NavDirections) => {\n if (options.disabled) return;\n const maybeNextElement = getNextElementToFocusInDirection(directionMaps[direction], elementRef);\n if (maybeNextElement) {\n elementRef.current?.blur();\n maybeNextElement.current?.focus();\n return;\n }\n // nothing on that direction - try updating the upper context\n upperContext?.onOutboundNavigation(wrapperRef, direction);\n },\n [directionMaps, upperContext, wrapperRef, options.disabled]\n );\n return { onOutboundNavigation };\n};\n"],"names":["GridKeyboardNavigationContext","React","createContext","useGridKeyboardNavigationContext","positions","wrapperRef","options","arguments","length","undefined","disabled","directionMaps","useMemo","getDirectionMaps","upperContext","useContext","lastNavigationDirectionRef","useLastNavigationDirection","onWrapperFocus","useCallback","keyboardDirection","current","oppositeDirection","getOppositeDirection","refToFocus","getOutmostElementInDirection","_a","focus","useEventListener","eventName","callback","ref","onOutboundNavigation","elementRef","direction","maybeNextElement","getNextElementToFocusInDirection","blur","_b"],"mappings":"wWAgBO,IAAMA,EAAgCC,EAAMC,cAAiD,MAQvFC,EAAmC,SAC9CC,EACAC,GAEE,IADFC,EAAAC,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAiC,GAAA,CAAEG,UAAU,GAEvCC,EAAgBC,GAAQ,WAAA,OAAMC,EAAiBT,KAAY,CAACA,IAC5DU,EAAeC,EAAWf,GACxBgB,EAA+BC,IAA/BD,2BAEFE,EAAiBC,GAAY,iBAC3BC,EAAoBJ,EAA2BK,QACrD,GAAKD,IAAqBd,EAAQI,SAAlC,CAGA,IAAMY,EAAoBC,EAAqBH,GACzCI,EAAaC,EAA6Bd,EAAeW,GAC5C,QAAnBI,EAAAF,aAAA,EAAAA,EAAYH,eAAO,IAAAK,GAAAA,EAAEC,OAHrB,CAID,GAAE,CAAChB,EAAeL,EAAQI,SAAUM,IAiBrC,OAhBAY,EAAiB,CAAEC,UAAW,QAASC,SAAUZ,EAAgBa,IAAK1B,IAgB/D,CAAE2B,qBAdoBb,GAC3B,SAACc,EAA4BC,WAC3B,IAAI5B,EAAQI,SAAZ,CACA,IAAMyB,EAAmBC,EAAiCzB,EAAcuB,GAAYD,GACpF,GAAIE,EAGF,OAFoB,QAApBT,EAAAO,EAAWZ,eAAS,IAAAK,GAAAA,EAAAW,YACM,QAA1BC,EAAAH,EAAiBd,eAAS,IAAAiB,GAAAA,EAAAX,SAI5Bb,SAAAA,EAAckB,qBAAqB3B,EAAY6B,EARzB,CASxB,GACA,CAACvB,EAAeG,EAAcT,EAAYC,EAAQI,WAGtD"}
@@ -1 +1 @@
1
- {"version":3,"file":"helper.js","sources":["../../../../src/components/GridKeyboardNavigationContext/helper.ts"],"sourcesContent":["import { NavDirections } from \"../../hooks/useFullKeyboardListeners\";\nimport {\n type DirectionMap,\n type DirectionMaps,\n type GridElementRef,\n type Position\n} from \"./GridKeyboardNavigationContextConstants\";\n\nfunction throwIfCausingCircularDependency(directionMaps: DirectionMaps, newPosition: Position) {\n const { topElement, bottomElement, leftElement, rightElement } = newPosition;\n if (topElement && bottomElement) {\n if (directionMaps[NavDirections.UP].get(topElement) === bottomElement) {\n throwMessage(\"BOTTOM\", \"TOP\");\n }\n if (directionMaps[NavDirections.DOWN].get(bottomElement) === topElement) {\n throwMessage(\"TOP\", \"BOTTOM\");\n }\n }\n if (leftElement && rightElement) {\n if (directionMaps[NavDirections.LEFT].get(leftElement) === rightElement) {\n throwMessage(\"RIGHT\", \"LEFT\");\n }\n if (directionMaps[NavDirections.RIGHT].get(rightElement) === leftElement) {\n throwMessage(\"LEFT\", \"RIGHT\");\n }\n }\n\n function throwMessage(directionFrom: string, directionTo: string) {\n throw new Error(\n `Circular positioning detected: the ${directionFrom} element is already positioned to the ${directionTo} of the ${directionTo} element. This probably means the layout isn't ordered correctly.`\n );\n }\n}\n\nexport const getDirectionMaps = (positions: Position[]) => {\n const directionMaps: DirectionMaps = {\n [NavDirections.RIGHT]: new Map(),\n [NavDirections.LEFT]: new Map(),\n [NavDirections.UP]: new Map(),\n [NavDirections.DOWN]: new Map()\n };\n positions.forEach(position => {\n throwIfCausingCircularDependency(directionMaps, position);\n\n const { topElement, bottomElement, leftElement, rightElement } = position;\n if (topElement && bottomElement) {\n directionMaps[NavDirections.UP].set(bottomElement, topElement);\n directionMaps[NavDirections.DOWN].set(topElement, bottomElement);\n }\n if (leftElement && rightElement) {\n directionMaps[NavDirections.LEFT].set(rightElement, leftElement);\n directionMaps[NavDirections.RIGHT].set(leftElement, rightElement);\n }\n });\n return directionMaps;\n};\n\nexport const getOppositeDirection = (direction: NavDirections) => {\n switch (direction) {\n case NavDirections.LEFT:\n return NavDirections.RIGHT;\n case NavDirections.RIGHT:\n return NavDirections.LEFT;\n case NavDirections.UP:\n return NavDirections.DOWN;\n case NavDirections.DOWN:\n return NavDirections.UP;\n default:\n throw new Error(`Unexpected direction: ${direction}`);\n }\n};\n\nexport const getOutmostElementInDirection = (\n directionMaps: DirectionMaps,\n direction: NavDirections\n): GridElementRef => {\n const directionMap = directionMaps[direction];\n const firstEntry = [...directionMap][0]; // start with any element\n if (!firstEntry) {\n // no relations were registered for this direction - fallback to a different direction\n if ([NavDirections.LEFT, NavDirections.RIGHT].includes(direction)) {\n // there are no registered horizontal relations registered, try vertical relations. Get the top-most element.\n return getOutmostElementInDirection(directionMaps, NavDirections.UP);\n }\n // there are no registered vertical relations registered, try horizontal relations. Get the left-most element.\n return getOutmostElementInDirection(directionMaps, NavDirections.LEFT);\n }\n const firstRef = firstEntry[0];\n return getLastFocusableElementFromElementInDirection(directionMap, firstRef);\n};\n\nexport const getNextElementToFocusInDirection = (\n directionMap: DirectionMap,\n elementRef: GridElementRef\n): null | GridElementRef => {\n const next = directionMap.get(elementRef);\n if (!next) {\n // this is the last element on the direction map - there' nothing next\n return null;\n }\n if (!next.current || next.current.disabled || next.current.dataset?.disabled === \"true\") {\n // the next element is not mounted or disabled - try the next one\n return getNextElementToFocusInDirection(directionMap, next);\n }\n return next;\n};\n\nfunction getLastFocusableElementFromElementInDirection(directionMap: DirectionMap, initialRef: GridElementRef) {\n let done = false;\n let currentRef = initialRef;\n\n while (!done) {\n // as long as there's a mounted element which in that direction, take it.\n const nextEligible = getNextElementToFocusInDirection(directionMap, currentRef);\n if (!nextEligible) {\n done = true;\n } else {\n currentRef = nextEligible;\n }\n }\n\n return currentRef;\n}\n"],"names":["getDirectionMaps","positions","directionMaps","_defineProperty","NavDirections","RIGHT","Map","LEFT","UP","DOWN","forEach","position","newPosition","topElement","bottomElement","leftElement","rightElement","throwMessage","directionFrom","directionTo","Error","concat","get","throwIfCausingCircularDependency","set","getOppositeDirection","direction","getOutmostElementInDirection","directionMap","firstEntry","_toConsumableArray","initialRef","done","currentRef","nextEligible","getNextElementToFocusInDirection","getLastFocusableElementFromElementInDirection","includes","elementRef","next","current","disabled","_a","dataset"],"mappings":"mLAkCaA,EAAmB,SAACC,GAC/B,IAAMC,EAAaC,EAAAA,EAAAA,EAAAA,EAAA,GAChBC,EAAcC,MAAQ,IAAIC,KAC1BF,EAAcG,KAAO,IAAID,KACzBF,EAAcI,GAAK,IAAIF,KACvBF,EAAcK,KAAO,IAAIH,KAe5B,OAbAL,EAAUS,SAAQ,SAAAC,IAjCpB,SAA0CT,EAA8BU,GACtE,IAAQC,EAAyDD,EAAzDC,WAAYC,EAA6CF,EAA7CE,cAAeC,EAA8BH,EAA9BG,YAAaC,EAAiBJ,EAAjBI,aAkBhD,SAASC,EAAaC,EAAuBC,GAC3C,MAAUC,MAAKC,sCAAAA,OACyBH,EAAa,0CAAAG,OAAyCF,EAAWE,YAAAA,OAAWF,uEAEtH,CArBIN,GAAcC,IACZZ,EAAcE,EAAcI,IAAIc,IAAIT,KAAgBC,GACtDG,EAAa,SAAU,OAErBf,EAAcE,EAAcK,MAAMa,IAAIR,KAAmBD,GAC3DI,EAAa,MAAO,WAGpBF,GAAeC,IACbd,EAAcE,EAAcG,MAAMe,IAAIP,KAAiBC,GACzDC,EAAa,QAAS,QAEpBf,EAAcE,EAAcC,OAAOiB,IAAIN,KAAkBD,GAC3DE,EAAa,OAAQ,SAS3B,CAUIM,CAAiCrB,EAAeS,GAEhD,IAAQE,EAAyDF,EAAzDE,WAAYC,EAA6CH,EAA7CG,cAAeC,EAA8BJ,EAA9BI,YAAaC,EAAiBL,EAAjBK,aAC5CH,GAAcC,IAChBZ,EAAcE,EAAcI,IAAIgB,IAAIV,EAAeD,GACnDX,EAAcE,EAAcK,MAAMe,IAAIX,EAAYC,IAEhDC,GAAeC,IACjBd,EAAcE,EAAcG,MAAMiB,IAAIR,EAAcD,GACpDb,EAAcE,EAAcC,OAAOmB,IAAIT,EAAaC,GAExD,IACOd,CACT,EAEauB,EAAuB,SAACC,GACnC,OAAQA,GACN,KAAKtB,EAAcG,KACjB,OAAOH,EAAcC,MACvB,KAAKD,EAAcC,MACjB,OAAOD,EAAcG,KACvB,KAAKH,EAAcI,GACjB,OAAOJ,EAAcK,KACvB,KAAKL,EAAcK,KACjB,OAAOL,EAAcI,GACvB,QACE,MAAUY,MAAK,yBAAAC,OAA0BK,IAE/C,EAEaC,EAA+B,SAA/BA,EACXzB,EACAwB,GAEA,IAAME,EAAe1B,EAAcwB,GAC7BG,EAAaC,EAAIF,GAAc,GACrC,OAAKC,EA6BP,SAAuDD,EAA4BG,GACjF,IAAIC,GAAO,EACPC,EAAaF,EAEjB,MAAQC,GAAM,CAEZ,IAAME,EAAeC,EAAiCP,EAAcK,GAC/DC,EAGHD,EAAaC,EAFbF,GAAO,CAIV,CAED,OAAOC,CACT,CAlCSG,CAA8CR,EADpCC,EAAW,IALjBF,EAA6BzB,EAFlC,CAACE,EAAcG,KAAMH,EAAcC,OAAOgC,SAASX,GAEFtB,EAAcI,GAGhBJ,EAAcG,KAIrE,EAEa4B,EAAmC,SAAnCA,EACXP,EACAU,SAEMC,EAAOX,EAAaN,IAAIgB,GAC9B,OAAKC,GAIAA,EAAKC,SAAWD,EAAKC,QAAQC,UAA+C,UAAb,QAAtBC,EAAAH,EAAKC,QAAQG,eAAS,IAAAD,OAAA,EAAAA,EAAAD,UAE3DN,EAAiCP,EAAcW,GAEjDA,EANE,IAOX"}
1
+ {"version":3,"file":"helper.js","sources":["../../../../src/components/GridKeyboardNavigationContext/helper.ts"],"sourcesContent":["import { NavDirections } from \"../../hooks/useFullKeyboardListeners\";\nimport {\n type DirectionMap,\n type DirectionMaps,\n type GridElementRef,\n type Position\n} from \"./GridKeyboardNavigationContextConstants\";\n\nfunction throwIfCausingCircularDependency(directionMaps: DirectionMaps, newPosition: Position) {\n const { topElement, bottomElement, leftElement, rightElement } = newPosition;\n if (topElement && bottomElement) {\n if (directionMaps[NavDirections.UP].get(topElement) === bottomElement) {\n throwMessage(\"BOTTOM\", \"TOP\");\n }\n if (directionMaps[NavDirections.DOWN].get(bottomElement) === topElement) {\n throwMessage(\"TOP\", \"BOTTOM\");\n }\n }\n if (leftElement && rightElement) {\n if (directionMaps[NavDirections.LEFT].get(leftElement) === rightElement) {\n throwMessage(\"RIGHT\", \"LEFT\");\n }\n if (directionMaps[NavDirections.RIGHT].get(rightElement) === leftElement) {\n throwMessage(\"LEFT\", \"RIGHT\");\n }\n }\n\n function throwMessage(directionFrom: string, directionTo: string) {\n throw new Error(\n `Circular positioning detected: the ${directionFrom} element is already positioned to the ${directionTo} of the ${directionTo} element. This probably means the layout isn't ordered correctly.`\n );\n }\n}\n\nexport const getDirectionMaps = (positions: Position[]) => {\n const directionMaps: DirectionMaps = {\n [NavDirections.RIGHT]: new Map(),\n [NavDirections.LEFT]: new Map(),\n [NavDirections.UP]: new Map(),\n [NavDirections.DOWN]: new Map()\n };\n positions.forEach(position => {\n throwIfCausingCircularDependency(directionMaps, position);\n\n const { topElement, bottomElement, leftElement, rightElement } = position;\n if (topElement && bottomElement) {\n directionMaps[NavDirections.UP].set(bottomElement, topElement);\n directionMaps[NavDirections.DOWN].set(topElement, bottomElement);\n }\n if (leftElement && rightElement) {\n directionMaps[NavDirections.LEFT].set(rightElement, leftElement);\n directionMaps[NavDirections.RIGHT].set(leftElement, rightElement);\n }\n });\n return directionMaps;\n};\n\nexport const getOppositeDirection = (direction: NavDirections) => {\n switch (direction) {\n case NavDirections.LEFT:\n return NavDirections.RIGHT;\n case NavDirections.RIGHT:\n return NavDirections.LEFT;\n case NavDirections.UP:\n return NavDirections.DOWN;\n case NavDirections.DOWN:\n return NavDirections.UP;\n default:\n throw new Error(`Unexpected direction: ${direction}`);\n }\n};\n\nexport const getOutmostElementInDirection = (\n directionMaps: DirectionMaps,\n direction: NavDirections\n): GridElementRef => {\n const directionMap = directionMaps[direction];\n const firstEntry = [...directionMap][0]; // start with any element\n if (!firstEntry) {\n // no relations were registered for this direction - fallback to a different direction\n if ([NavDirections.LEFT, NavDirections.RIGHT].includes(direction)) {\n // there are no registered horizontal relations registered, try vertical relations. Get the top-most element.\n return getOutmostElementInDirection(directionMaps, NavDirections.UP);\n }\n // there are no registered vertical relations registered, try horizontal relations. Get the left-most element.\n return getOutmostElementInDirection(directionMaps, NavDirections.LEFT);\n }\n const firstRef = firstEntry[0];\n return getLastFocusableElementFromElementInDirection(directionMap, firstRef);\n};\n\nexport const getNextElementToFocusInDirection = (\n directionMap: DirectionMap,\n elementRef: GridElementRef\n): null | GridElementRef => {\n const next = directionMap.get(elementRef);\n if (!next) {\n // this is the last element on the direction map - there' nothing next\n return null;\n }\n if (!next.current || next.current.disabled || next.current.dataset?.disabled === \"true\") {\n // the next element is not mounted or disabled - try the next one\n return getNextElementToFocusInDirection(directionMap, next);\n }\n return next;\n};\n\nfunction getLastFocusableElementFromElementInDirection(directionMap: DirectionMap, initialRef: GridElementRef) {\n let done = false;\n let currentRef = initialRef;\n\n while (!done) {\n // as long as there's a mounted element which in that direction, take it.\n const nextEligible = getNextElementToFocusInDirection(directionMap, currentRef);\n if (!nextEligible) {\n done = true;\n } else {\n currentRef = nextEligible;\n }\n }\n\n return currentRef;\n}\n"],"names":["getDirectionMaps","positions","directionMaps","_defineProperty","NavDirections","RIGHT","Map","LEFT","UP","DOWN","forEach","position","newPosition","topElement","bottomElement","leftElement","rightElement","throwMessage","directionFrom","directionTo","Error","concat","get","throwIfCausingCircularDependency","set","getOppositeDirection","direction","getOutmostElementInDirection","directionMap","firstEntry","_toConsumableArray","initialRef","done","currentRef","nextEligible","getNextElementToFocusInDirection","getLastFocusableElementFromElementInDirection","includes","elementRef","next","current","disabled","_a","dataset"],"mappings":"mLAkCaA,EAAmB,SAACC,GAC/B,IAAMC,EAAaC,EAAAA,EAAAA,EAAAA,EAAA,GAChBC,EAAcC,MAAQ,IAAIC,KAC1BF,EAAcG,KAAO,IAAID,KACzBF,EAAcI,GAAK,IAAIF,KACvBF,EAAcK,KAAO,IAAIH,KAe5B,OAbAL,EAAUS,SAAQ,SAAAC,IAjCpB,SAA0CT,EAA8BU,GACtE,IAAQC,EAAyDD,EAAzDC,WAAYC,EAA6CF,EAA7CE,cAAeC,EAA8BH,EAA9BG,YAAaC,EAAiBJ,EAAjBI,aAkBhD,SAASC,EAAaC,EAAuBC,GAC3C,MAAUC,MAAKC,sCAAAA,OACyBH,EAAa,0CAAAG,OAAyCF,EAAWE,YAAAA,OAAWF,uEAEtH,CArBIN,GAAcC,IACZZ,EAAcE,EAAcI,IAAIc,IAAIT,KAAgBC,GACtDG,EAAa,SAAU,OAErBf,EAAcE,EAAcK,MAAMa,IAAIR,KAAmBD,GAC3DI,EAAa,MAAO,WAGpBF,GAAeC,IACbd,EAAcE,EAAcG,MAAMe,IAAIP,KAAiBC,GACzDC,EAAa,QAAS,QAEpBf,EAAcE,EAAcC,OAAOiB,IAAIN,KAAkBD,GAC3DE,EAAa,OAAQ,SAS3B,CAUIM,CAAiCrB,EAAeS,GAEhD,IAAQE,EAAyDF,EAAzDE,WAAYC,EAA6CH,EAA7CG,cAAeC,EAA8BJ,EAA9BI,YAAaC,EAAiBL,EAAjBK,aAC5CH,GAAcC,IAChBZ,EAAcE,EAAcI,IAAIgB,IAAIV,EAAeD,GACnDX,EAAcE,EAAcK,MAAMe,IAAIX,EAAYC,IAEhDC,GAAeC,IACjBd,EAAcE,EAAcG,MAAMiB,IAAIR,EAAcD,GACpDb,EAAcE,EAAcC,OAAOmB,IAAIT,EAAaC,GAExD,IACOd,CACT,EAEauB,EAAuB,SAACC,GACnC,OAAQA,GACN,KAAKtB,EAAcG,KACjB,OAAOH,EAAcC,MACvB,KAAKD,EAAcC,MACjB,OAAOD,EAAcG,KACvB,KAAKH,EAAcI,GACjB,OAAOJ,EAAcK,KACvB,KAAKL,EAAcK,KACjB,OAAOL,EAAcI,GACvB,QACE,MAAUY,MAAK,yBAAAC,OAA0BK,IAE/C,EAEaC,EAA+B,SAA/BA,EACXzB,EACAwB,GAEA,IAAME,EAAe1B,EAAcwB,GAC7BG,EAAaC,EAAIF,GAAc,GACrC,OAAKC,EA6BP,SAAuDD,EAA4BG,GACjF,IAAIC,GAAO,EACPC,EAAaF,EAEjB,MAAQC,GAAM,CAEZ,IAAME,EAAeC,EAAiCP,EAAcK,GAC/DC,EAGHD,EAAaC,EAFbF,GAAO,CAIX,CAEA,OAAOC,CACT,CAlCSG,CAA8CR,EADpCC,EAAW,IALjBF,EAA6BzB,EAFlC,CAACE,EAAcG,KAAMH,EAAcC,OAAOgC,SAASX,GAEFtB,EAAcI,GAGhBJ,EAAcG,KAIrE,EAEa4B,EAAmC,SAAnCA,EACXP,EACAU,SAEMC,EAAOX,EAAaN,IAAIgB,GAC9B,OAAKC,GAIAA,EAAKC,SAAWD,EAAKC,QAAQC,UAA+C,kBAAnCC,EAAAH,EAAKC,QAAQG,8BAASF,UAE3DN,EAAiCP,EAAcW,GAEjDA,EANE,IAOX"}
@@ -1,2 +1,2 @@
1
- var e={hiddenTextWrapper:"hiddenTextWrapper_24c21c8d5b"};!function(e){const t="s_id-5ac012179a41_4_0_0-alpha_0";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const d=document.createElement("style");d.id=t,n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.hiddenTextWrapper_24c21c8d5b {\n /* clip pattern taken from https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/. */\n clip: rect(0, 0, 0, 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}");export{e as default};
1
+ var e={hiddenTextWrapper:"hiddenTextWrapper_b2627d8fcf"};!function(e){const t="s_id-5ac012179a41_4_0_0-alpha_2";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const d=document.createElement("style");d.id=t,n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.hiddenTextWrapper_b2627d8fcf {\n /* clip pattern taken from https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/. */\n clip: rect(0, 0, 0, 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}");export{e as default};
2
2
  //# sourceMappingURL=HiddenText.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={contentWrapper:"contentWrapper_c81a46941e",link:"link_992b70fc22"};!function(e){const t="s_id-646297cad054_4_0_0-alpha_0";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const a=document.createElement("style");a.id=t,n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a),a.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".contentWrapper_c81a46941e {\n max-width: 240px;\n}\n.contentWrapper_c81a46941e .link_992b70fc22 {\n margin-top: var(--space-4);\n}");export{e as default};
1
+ var e={contentWrapper:"contentWrapper_423a3c83f7",link:"link_90b6455c7d"};!function(e){const t="s_id-646297cad054_4_0_0-alpha_2";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const a=document.createElement("style");a.id=t,n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a),a.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".contentWrapper_423a3c83f7 {\n max-width: 240px;\n}\n.contentWrapper_423a3c83f7 .link_90b6455c7d {\n margin-top: var(--space-4);\n}");export{e as default};
2
2
  //# sourceMappingURL=InfoDialogContent.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={infoLink:"infoLink_b075b5f1be"};!function(e){const t="s_id-63a4f7de1b47_4_0_0-alpha_0";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".infoLink_b075b5f1be {\n color: var(--primary-text-color);\n text-decoration: underline;\n}");export{e as default};
1
+ var e={infoLink:"infoLink_3b6e070b92"};!function(e){const t="s_id-63a4f7de1b47_4_0_0-alpha_2";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".infoLink_3b6e070b92 {\n color: var(--primary-text-color);\n text-decoration: underline;\n}");export{e as default};
2
2
  //# sourceMappingURL=InfoLink.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={infoText:"infoText_bc720eda4f",error:"error_7cd33d2fe5",success:"success_be7d39d570",disabled:"disabled_f5fefd55af",readOnly:"readOnly_bc720eda4f"};!function(e){const d="s_id-05a2b3ab5fae_4_0_0-alpha_0";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+d))return;const n=document.createElement("style");n.id=d,o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[d]=e)}(".infoText_bc720eda4f {\n color: var(--secondary-text-color);\n}\n.infoText_bc720eda4f.error_7cd33d2fe5 {\n color: var(--negative-color);\n}\n.infoText_bc720eda4f.success_be7d39d570 {\n color: var(--positive-color);\n}\n.infoText_bc720eda4f.disabled_f5fefd55af {\n color: var(--disabled-text-color);\n}\n.infoText_bc720eda4f.readOnly_bc720eda4f {\n color: var(--secondary-text-color);\n}");export{e as default};
1
+ var e={infoText:"infoText_b82174cfd5",error:"error_1dfc352e5d",success:"success_e6a6c5e553",disabled:"disabled_c150814f9b",readOnly:"readOnly_b82174cfd5"};!function(e){const o="s_id-05a2b3ab5fae_4_0_0-alpha_2";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+o))return;const c=document.createElement("style");c.id=o,n.firstChild?n.insertBefore(c,n.firstChild):n.appendChild(c),c.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[o]=e)}(".infoText_b82174cfd5 {\n color: var(--secondary-text-color);\n}\n.infoText_b82174cfd5.error_1dfc352e5d {\n color: var(--negative-color);\n}\n.infoText_b82174cfd5.success_e6a6c5e553 {\n color: var(--positive-color);\n}\n.infoText_b82174cfd5.disabled_c150814f9b {\n color: var(--disabled-text-color);\n}\n.infoText_b82174cfd5.readOnly_b82174cfd5 {\n color: var(--secondary-text-color);\n}");export{e as default};
2
2
  //# sourceMappingURL=InfoText.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={clickableWrapper:"clickableWrapper_2a83eac715","focus-visible":"focus-visible_b9390e7de1",label:"label_5b365eda7d",small:"small_08e6711fd3",withLeg:"withLeg_2a02e2011b",legWrapper:"legWrapper_61fa98c522",kindFill:"kindFill_46bc4a8b85",colorPrimary:"colorPrimary_5fde724000",clickable:"clickable_30fb9235ad",colorDark:"colorDark_60c0a37536",colorNegative:"colorNegative_27198c652e",colorPositive:"colorPositive_10c80ea6ea",kindLine:"kindLine_240c7b9520",smallText:"smallText_7a63325645"};!function(e){const a="s_id-05b0d3f05a05_4_0_0-alpha_0";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+a))return;const r=document.createElement("style");r.id=a,n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[a]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n.clickableWrapper_2a83eac715 {\n cursor: pointer;\n}\n.clickableWrapper_2a83eac715:focus-visible, .clickableWrapper_2a83eac715.focus-visible_b9390e7de1 {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.clickableWrapper_2a83eac715:focus:not(.focus-visible_b9390e7de1) {\n outline: none;\n}\n.clickableWrapper_2a83eac715:active {\n transform: scale(0.95) translate3d(0, 0, 0);\n transition: var(--motion-productive-short) transform;\n}\n.label_5b365eda7d {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--border-radius-small);\n padding: 2px var(--space-8);\n position: relative;\n}\n.label_5b365eda7d.small_08e6711fd3 {\n padding: 0 var(--space-4);\n border-radius: 2px;\n}\n.withLeg_2a02e2011b {\n border-start-start-radius: var(--border-radius-small);\n border-start-end-radius: var(--border-radius-small);\n border-end-end-radius: var(--border-radius-small);\n border-end-start-radius: 0;\n}\n.legWrapper_61fa98c522 {\n position: absolute;\n height: 8px;\n top: 100%;\n inset-inline-start: 0;\n display: inline-flex;\n}\n.kindFill_46bc4a8b85.colorPrimary_5fde724000 {\n background-color: var(--primary-color);\n}\n.kindFill_46bc4a8b85.colorPrimary_5fde724000 svg path {\n fill: var(--primary-color);\n}\n.kindFill_46bc4a8b85.colorPrimary_5fde724000.clickable_30fb9235ad:hover, .kindFill_46bc4a8b85.colorPrimary_5fde724000.clickable_30fb9235ad:active {\n background-color: var(--primary-hover-color);\n}\n.kindFill_46bc4a8b85.colorDark_60c0a37536 {\n background-color: var(--inverted-color-background);\n}\n.kindFill_46bc4a8b85.colorDark_60c0a37536 svg path {\n fill: var(--inverted-color-background);\n}\n.kindFill_46bc4a8b85.colorNegative_27198c652e {\n background-color: var(--negative-color);\n}\n.kindFill_46bc4a8b85.colorNegative_27198c652e svg path {\n fill: var(--negative-color);\n}\n.kindFill_46bc4a8b85.colorNegative_27198c652e.clickable_30fb9235ad:hover, .kindFill_46bc4a8b85.colorNegative_27198c652e.clickable_30fb9235ad:active {\n background-color: var(--negative-color-hover);\n}\n.kindFill_46bc4a8b85.colorPositive_10c80ea6ea {\n background-color: var(--positive-color);\n}\n.kindFill_46bc4a8b85.colorPositive_10c80ea6ea svg path {\n fill: var(--positive-color);\n}\n.kindFill_46bc4a8b85.colorPositive_10c80ea6ea.clickable_30fb9235ad:hover, .kindFill_46bc4a8b85.colorPositive_10c80ea6ea.clickable_30fb9235ad:active {\n background-color: var(--positive-color-hover);\n}\n.kindLine_240c7b9520 {\n border: 1px solid currentColor;\n padding: 1px var(--space-8);\n}\n.kindLine_240c7b9520 .legWrapper_61fa98c522 {\n inset-inline-start: -1px;\n top: calc(100% + 1px);\n}\n.kindLine_240c7b9520.colorPrimary_5fde724000 {\n color: var(--primary-color);\n}\n.kindLine_240c7b9520.colorPrimary_5fde724000 svg path {\n fill: var(--primary-color);\n}\n.kindLine_240c7b9520.colorPrimary_5fde724000.clickable_30fb9235ad:hover, .kindLine_240c7b9520.colorPrimary_5fde724000.clickable_30fb9235ad:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine_240c7b9520.colorDark_60c0a37536 {\n color: var(--inverted-color-background);\n}\n.kindLine_240c7b9520.colorDark_60c0a37536 svg path {\n fill: var(--inverted-color-background);\n}\n.kindLine_240c7b9520.colorDark_60c0a37536.clickable_30fb9235ad:hover, .kindLine_240c7b9520.colorDark_60c0a37536.clickable_30fb9235ad:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine_240c7b9520.colorNegative_27198c652e {\n color: var(--negative-color);\n}\n.kindLine_240c7b9520.colorNegative_27198c652e svg path {\n fill: var(--negative-color);\n}\n.kindLine_240c7b9520.colorNegative_27198c652e.clickable_30fb9235ad:hover, .kindLine_240c7b9520.colorNegative_27198c652e.clickable_30fb9235ad:active {\n background-color: var(--negative-color-selected);\n}\n.kindLine_240c7b9520.colorPositive_10c80ea6ea {\n color: var(--positive-color);\n}\n.kindLine_240c7b9520.colorPositive_10c80ea6ea svg path {\n fill: var(--positive-color);\n}\n.kindLine_240c7b9520.colorPositive_10c80ea6ea.clickable_30fb9235ad:hover, .kindLine_240c7b9520.colorPositive_10c80ea6ea.clickable_30fb9235ad:active {\n background-color: var(--positive-color-selected);\n}\n.kindLine_240c7b9520 .smallText_7a63325645 {\n line-height: 14px;\n}");export{e as default};
1
+ var e={clickableWrapper:"clickableWrapper_54f8ee848a","focus-visible":"focus-visible_1fc42a4a92",label:"label_150e371e85",small:"small_9eddf6df01",withLeg:"withLeg_c144b2fe9a",legWrapper:"legWrapper_2675c4fa2a",kindFill:"kindFill_19a9c84724",colorPrimary:"colorPrimary_7b76e049c7",clickable:"clickable_eec424a48f",colorDark:"colorDark_5394b4770f",colorNegative:"colorNegative_6d85342902",colorPositive:"colorPositive_9f8b764ed5",kindLine:"kindLine_759aa6727f",smallText:"smallText_8ead16f617"};!function(e){const a="s_id-05b0d3f05a05_4_0_0-alpha_2";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+a))return;const r=document.createElement("style");r.id=a,n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[a]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n.clickableWrapper_54f8ee848a {\n cursor: pointer;\n}\n.clickableWrapper_54f8ee848a:focus-visible, .clickableWrapper_54f8ee848a.focus-visible_1fc42a4a92 {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.clickableWrapper_54f8ee848a:focus:not(.focus-visible_1fc42a4a92) {\n outline: none;\n}\n.clickableWrapper_54f8ee848a:active {\n transform: scale(0.95) translate3d(0, 0, 0);\n transition: var(--motion-productive-short) transform;\n}\n.label_150e371e85 {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--border-radius-small);\n padding: 2px var(--space-8);\n position: relative;\n}\n.label_150e371e85.small_9eddf6df01 {\n padding: 0 var(--space-4);\n border-radius: 2px;\n}\n.withLeg_c144b2fe9a {\n border-start-start-radius: var(--border-radius-small);\n border-start-end-radius: var(--border-radius-small);\n border-end-end-radius: var(--border-radius-small);\n border-end-start-radius: 0;\n}\n.legWrapper_2675c4fa2a {\n position: absolute;\n height: 8px;\n top: 100%;\n inset-inline-start: 0;\n display: inline-flex;\n}\n.kindFill_19a9c84724.colorPrimary_7b76e049c7 {\n background-color: var(--primary-color);\n}\n.kindFill_19a9c84724.colorPrimary_7b76e049c7 svg path {\n fill: var(--primary-color);\n}\n.kindFill_19a9c84724.colorPrimary_7b76e049c7.clickable_eec424a48f:hover, .kindFill_19a9c84724.colorPrimary_7b76e049c7.clickable_eec424a48f:active {\n background-color: var(--primary-hover-color);\n}\n.kindFill_19a9c84724.colorDark_5394b4770f {\n background-color: var(--inverted-color-background);\n}\n.kindFill_19a9c84724.colorDark_5394b4770f svg path {\n fill: var(--inverted-color-background);\n}\n.kindFill_19a9c84724.colorNegative_6d85342902 {\n background-color: var(--negative-color);\n}\n.kindFill_19a9c84724.colorNegative_6d85342902 svg path {\n fill: var(--negative-color);\n}\n.kindFill_19a9c84724.colorNegative_6d85342902.clickable_eec424a48f:hover, .kindFill_19a9c84724.colorNegative_6d85342902.clickable_eec424a48f:active {\n background-color: var(--negative-color-hover);\n}\n.kindFill_19a9c84724.colorPositive_9f8b764ed5 {\n background-color: var(--positive-color);\n}\n.kindFill_19a9c84724.colorPositive_9f8b764ed5 svg path {\n fill: var(--positive-color);\n}\n.kindFill_19a9c84724.colorPositive_9f8b764ed5.clickable_eec424a48f:hover, .kindFill_19a9c84724.colorPositive_9f8b764ed5.clickable_eec424a48f:active {\n background-color: var(--positive-color-hover);\n}\n.kindLine_759aa6727f {\n border: 1px solid currentColor;\n padding: 1px var(--space-8);\n}\n.kindLine_759aa6727f .legWrapper_2675c4fa2a {\n inset-inline-start: -1px;\n top: calc(100% + 1px);\n}\n.kindLine_759aa6727f.colorPrimary_7b76e049c7 {\n color: var(--primary-color);\n}\n.kindLine_759aa6727f.colorPrimary_7b76e049c7 svg path {\n fill: var(--primary-color);\n}\n.kindLine_759aa6727f.colorPrimary_7b76e049c7.clickable_eec424a48f:hover, .kindLine_759aa6727f.colorPrimary_7b76e049c7.clickable_eec424a48f:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine_759aa6727f.colorDark_5394b4770f {\n color: var(--inverted-color-background);\n}\n.kindLine_759aa6727f.colorDark_5394b4770f svg path {\n fill: var(--inverted-color-background);\n}\n.kindLine_759aa6727f.colorDark_5394b4770f.clickable_eec424a48f:hover, .kindLine_759aa6727f.colorDark_5394b4770f.clickable_eec424a48f:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine_759aa6727f.colorNegative_6d85342902 {\n color: var(--negative-color);\n}\n.kindLine_759aa6727f.colorNegative_6d85342902 svg path {\n fill: var(--negative-color);\n}\n.kindLine_759aa6727f.colorNegative_6d85342902.clickable_eec424a48f:hover, .kindLine_759aa6727f.colorNegative_6d85342902.clickable_eec424a48f:active {\n background-color: var(--negative-color-selected);\n}\n.kindLine_759aa6727f.colorPositive_9f8b764ed5 {\n color: var(--positive-color);\n}\n.kindLine_759aa6727f.colorPositive_9f8b764ed5 svg path {\n fill: var(--positive-color);\n}\n.kindLine_759aa6727f.colorPositive_9f8b764ed5.clickable_eec424a48f:hover, .kindLine_759aa6727f.colorPositive_9f8b764ed5.clickable_eec424a48f:active {\n background-color: var(--positive-color-selected);\n}\n.kindLine_759aa6727f .smallText_8ead16f617 {\n line-height: 14px;\n}");export{e as default};
2
2
  //# sourceMappingURL=Label.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LabelCelebrationAnimation.js","sources":["../../../../src/components/Label/LabelCelebrationAnimation.tsx"],"sourcesContent":["import React, { cloneElement, forwardRef, useCallback, useRef, useState } from \"react\";\nimport cx from \"classnames\";\nimport { useResizeObserver } from \"@vibe/hooks\";\nimport styles from \"./LabelCelebrationAnimation.module.scss\";\n\nconst DEFAULT_BORDER_RADIUS = 4;\nconst DEFAULT_STROKE_WIDTH = 1;\n\nexport interface LabelCelebrationAnimationProps {\n /**\n * The child component that will be wrapped by the animation.\n */\n children: React.ReactElement;\n /**\n * Callback fired when the celebration animation ends.\n */\n onAnimationEnd: () => void;\n}\n\nfunction LabelCelebrationAnimation({ children, onAnimationEnd }: LabelCelebrationAnimationProps) {\n const wrapperRef = useRef<HTMLDivElement>();\n const childRef = useRef<HTMLDivElement>();\n\n const [path, setPath] = useState<string>();\n\n const resizeObserverCallback = useCallback(\n ({ borderBoxSize }: { borderBoxSize: { blockSize: number; inlineSize: number } }) => {\n const { blockSize: height, inlineSize: width } = borderBoxSize || {};\n\n if (wrapperRef.current) {\n const d = getPath({ width, height });\n setPath(d);\n\n const perimeter = getPerimeter({ width, height });\n wrapperRef.current.style.setProperty(\"--container-perimeter\", String(perimeter));\n }\n },\n []\n );\n\n useResizeObserver({\n ref: wrapperRef,\n callback: resizeObserverCallback,\n debounceTime: 0\n });\n\n const ChildComponentWithRef = forwardRef((_props, ref) =>\n cloneElement(children, {\n ref\n })\n );\n\n return (\n <div className={styles.celebration} ref={wrapperRef}>\n <svg className={styles.svg}>\n <path className={cx(styles.stroke, styles.base)} d={path} />\n <path className={cx(styles.stroke, styles.first)} d={path} />\n <path className={cx(styles.stroke, styles.second)} d={path} />\n <path className={cx(styles.stroke, styles.third)} d={path} onAnimationEnd={onAnimationEnd} />\n </svg>\n <ChildComponentWithRef ref={childRef} />\n </div>\n );\n}\n\nexport default LabelCelebrationAnimation;\n\nfunction getPath({\n width,\n height,\n borderRadius = DEFAULT_BORDER_RADIUS,\n strokeWidth = DEFAULT_STROKE_WIDTH\n}: {\n width: number;\n height: number;\n borderRadius?: number;\n strokeWidth?: number;\n}) {\n const offset = strokeWidth / 2;\n\n return `M ${width - strokeWidth / 2}, ${borderRadius} V ${\n height - borderRadius\n } A ${borderRadius} ${borderRadius} 0 0 1 ${width - borderRadius} ${height - strokeWidth / 2} H ${\n borderRadius + offset\n } A ${borderRadius} ${borderRadius} 0 0 1 ${strokeWidth / 2} ${height - borderRadius} V ${\n borderRadius + offset\n } A ${borderRadius} ${borderRadius} 0 0 1 ${borderRadius} ${strokeWidth / 2} L ${width - borderRadius}, ${\n strokeWidth / 2\n } A ${borderRadius} ${borderRadius} 0 0 1 ${width - strokeWidth / 2} ${borderRadius} Z`;\n}\n\nfunction getPerimeter({\n width,\n height,\n borderRadius = DEFAULT_BORDER_RADIUS\n}: {\n width: number;\n height: number;\n borderRadius?: number;\n}) {\n const straightWidth = width - 2 * borderRadius;\n const straightHeight = height - 2 * borderRadius;\n const cornerCircumference = 2 * Math.PI * borderRadius;\n return cornerCircumference + 2 * straightWidth + 2 * straightHeight;\n}\n"],"names":["DEFAULT_BORDER_RADIUS","DEFAULT_STROKE_WIDTH","LabelCelebrationAnimation","_ref","children","onAnimationEnd","wrapperRef","useRef","childRef","_useState","useState","_useState2","_slicedToArray","path","setPath","resizeObserverCallback","useCallback","_ref2","_ref3","borderBoxSize","height","blockSize","width","inlineSize","current","d","_ref4","_ref4$borderRadius","borderRadius","_ref4$strokeWidth","strokeWidth","offset","concat","getPath","perimeter","_ref5","_ref5$borderRadius","straightWidth","straightHeight","Math","PI","getPerimeter","style","setProperty","String","useResizeObserver","ref","callback","debounceTime","ChildComponentWithRef","forwardRef","_props","cloneElement","React","createElement","className","styles","celebration","svg","cx","stroke","base","first","second","third"],"mappings":"oUAKA,IAAMA,EAAwB,EACxBC,EAAuB,EAa7B,SAASC,EAAyBC,GAA6D,IAA1DC,EAAQD,EAARC,SAAUC,EAAcF,EAAdE,eACvCC,EAAaC,IACbC,EAAWD,IAEjBE,EAAwBC,IAAkBC,EAAAC,EAAAH,EAAA,GAAnCI,EAAIF,EAAA,GAAEG,EAAOH,EAAA,GAEdI,EAAyBC,GAC7B,SAAAC,GAAoF,IAClFC,EADcD,EAAbE,eACiE,CAAE,EAAjDC,EAAMF,EAAjBG,UAA+BC,EAAKJ,EAAjBK,WAE3B,GAAIjB,EAAWkB,QAAS,CACtB,IAAMC,EAqCd,SAAgBC,GAUf,IATCJ,EAAKI,EAALJ,MACAF,EAAMM,EAANN,OAAMO,EAAAD,EACNE,aAAAA,OAAe5B,IAAH2B,EAAG3B,EAAqB2B,EAAAE,EAAAH,EACpCI,YAAAA,OAAc7B,IAAH4B,EAAG5B,EAAoB4B,EAO5BE,EAASD,EAAc,EAE7B,MAAAE,KAAAA,OAAYV,EAAQQ,EAAc,EAACE,MAAAA,OAAKJ,EAAYI,OAAAA,OAClDZ,EAASQ,EACXI,OAAAA,OAAMJ,EAAYI,KAAAA,OAAIJ,EAAYI,WAAAA,OAAUV,EAAQM,EAAY,KAAAI,OAAIZ,EAASU,EAAc,EAAC,OAAAE,OAC1FJ,EAAeG,EACjB,OAAAC,OAAMJ,EAAY,KAAAI,OAAIJ,EAAY,WAAAI,OAAUF,EAAc,EAAC,KAAAE,OAAIZ,EAASQ,EAAYI,OAAAA,OAClFJ,EAAeG,EACjBC,OAAAA,OAAMJ,EAAYI,KAAAA,OAAIJ,EAAYI,WAAAA,OAAUJ,EAAYI,KAAAA,OAAIF,EAAc,EAACE,OAAAA,OAAMV,EAAQM,EAAY,MAAAI,OACnGF,EAAc,EAChB,OAAAE,OAAMJ,EAAY,KAAAI,OAAIJ,EAAY,WAAAI,OAAUV,EAAQQ,EAAc,EAAC,KAAAE,OAAIJ,EAAY,KACrF,CA3DkBK,CAAQ,CAAEX,MAAAA,EAAOF,OAAAA,IAC3BN,EAAQW,GAER,IAAMS,EA0Dd,SAAqBC,GAQpB,IAPCb,EAAKa,EAALb,MACAF,EAAMe,EAANf,OAAMgB,EAAAD,EACNP,aAAAA,OAAe5B,IAAHoC,EAAGpC,EAAqBoC,EAM9BC,EAAgBf,EAAQ,EAAIM,EAC5BU,EAAiBlB,EAAS,EAAIQ,EAEpC,OAD4B,EAAIW,KAAKC,GAAKZ,EACb,EAAIS,EAAgB,EAAIC,CACvD,CAvE0BG,CAAa,CAAEnB,MAAAA,EAAOF,OAAAA,IACxCd,EAAWkB,QAAQkB,MAAMC,YAAY,wBAAgCT,EAAPU,GAC/D,CACF,GACD,IAGFC,EAAkB,CAChBC,IAAKxC,EACLyC,SAAUhC,EACViC,aAAc,IAGhB,IAAMC,EAAwBC,GAAW,SAACC,EAAQL,GAAG,OACnDM,EAAahD,EAAU,CACrB0C,IAAAA,OAIJ,OACEO,EAAKC,cAAA,MAAA,CAAAC,UAAWC,EAAOC,YAAaX,IAAKxC,GACvC+C,EAAAC,cAAA,MAAA,CAAKC,UAAWC,EAAOE,KACrBL,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOK,MAAOpC,EAAGZ,IACpDwC,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOM,OAAQrC,EAAGZ,IACrDwC,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOO,QAAStC,EAAGZ,IACtDwC,EAAMC,cAAA,OAAA,CAAAC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOQ,OAAQvC,EAAGZ,EAAMR,eAAgBA,KAE7EgD,EAACC,cAAAL,GAAsBH,IAAKtC,IAGlC"}
1
+ {"version":3,"file":"LabelCelebrationAnimation.js","sources":["../../../../src/components/Label/LabelCelebrationAnimation.tsx"],"sourcesContent":["import React, { cloneElement, forwardRef, useCallback, useRef, useState } from \"react\";\nimport cx from \"classnames\";\nimport { useResizeObserver } from \"@vibe/hooks\";\nimport styles from \"./LabelCelebrationAnimation.module.scss\";\n\nconst DEFAULT_BORDER_RADIUS = 4;\nconst DEFAULT_STROKE_WIDTH = 1;\n\nexport interface LabelCelebrationAnimationProps {\n /**\n * The child component that will be wrapped by the animation.\n */\n children: React.ReactElement;\n /**\n * Callback fired when the celebration animation ends.\n */\n onAnimationEnd: () => void;\n}\n\nfunction LabelCelebrationAnimation({ children, onAnimationEnd }: LabelCelebrationAnimationProps) {\n const wrapperRef = useRef<HTMLDivElement>();\n const childRef = useRef<HTMLDivElement>();\n\n const [path, setPath] = useState<string>();\n\n const resizeObserverCallback = useCallback(\n ({ borderBoxSize }: { borderBoxSize: { blockSize: number; inlineSize: number } }) => {\n const { blockSize: height, inlineSize: width } = borderBoxSize || {};\n\n if (wrapperRef.current) {\n const d = getPath({ width, height });\n setPath(d);\n\n const perimeter = getPerimeter({ width, height });\n wrapperRef.current.style.setProperty(\"--container-perimeter\", String(perimeter));\n }\n },\n []\n );\n\n useResizeObserver({\n ref: wrapperRef,\n callback: resizeObserverCallback,\n debounceTime: 0\n });\n\n const ChildComponentWithRef = forwardRef((_props, ref) =>\n cloneElement(children, {\n ref\n })\n );\n\n return (\n <div className={styles.celebration} ref={wrapperRef}>\n <svg className={styles.svg}>\n <path className={cx(styles.stroke, styles.base)} d={path} />\n <path className={cx(styles.stroke, styles.first)} d={path} />\n <path className={cx(styles.stroke, styles.second)} d={path} />\n <path className={cx(styles.stroke, styles.third)} d={path} onAnimationEnd={onAnimationEnd} />\n </svg>\n <ChildComponentWithRef ref={childRef} />\n </div>\n );\n}\n\nexport default LabelCelebrationAnimation;\n\nfunction getPath({\n width,\n height,\n borderRadius = DEFAULT_BORDER_RADIUS,\n strokeWidth = DEFAULT_STROKE_WIDTH\n}: {\n width: number;\n height: number;\n borderRadius?: number;\n strokeWidth?: number;\n}) {\n const offset = strokeWidth / 2;\n\n return `M ${width - strokeWidth / 2}, ${borderRadius} V ${\n height - borderRadius\n } A ${borderRadius} ${borderRadius} 0 0 1 ${width - borderRadius} ${height - strokeWidth / 2} H ${\n borderRadius + offset\n } A ${borderRadius} ${borderRadius} 0 0 1 ${strokeWidth / 2} ${height - borderRadius} V ${\n borderRadius + offset\n } A ${borderRadius} ${borderRadius} 0 0 1 ${borderRadius} ${strokeWidth / 2} L ${width - borderRadius}, ${\n strokeWidth / 2\n } A ${borderRadius} ${borderRadius} 0 0 1 ${width - strokeWidth / 2} ${borderRadius} Z`;\n}\n\nfunction getPerimeter({\n width,\n height,\n borderRadius = DEFAULT_BORDER_RADIUS\n}: {\n width: number;\n height: number;\n borderRadius?: number;\n}) {\n const straightWidth = width - 2 * borderRadius;\n const straightHeight = height - 2 * borderRadius;\n const cornerCircumference = 2 * Math.PI * borderRadius;\n return cornerCircumference + 2 * straightWidth + 2 * straightHeight;\n}\n"],"names":["DEFAULT_BORDER_RADIUS","DEFAULT_STROKE_WIDTH","LabelCelebrationAnimation","_ref","children","onAnimationEnd","wrapperRef","useRef","childRef","_useState","useState","_useState2","_slicedToArray","path","setPath","resizeObserverCallback","useCallback","_ref2","_ref3","borderBoxSize","height","blockSize","width","inlineSize","current","d","_ref4","_ref4$borderRadius","borderRadius","_ref4$strokeWidth","strokeWidth","offset","concat","getPath","perimeter","_ref5","_ref5$borderRadius","straightWidth","straightHeight","Math","PI","getPerimeter","style","setProperty","String","useResizeObserver","ref","callback","debounceTime","ChildComponentWithRef","forwardRef","_props","cloneElement","React","createElement","className","styles","celebration","svg","cx","stroke","base","first","second","third"],"mappings":"oUAKA,IAAMA,EAAwB,EACxBC,EAAuB,EAa7B,SAASC,EAAyBC,GAA6D,IAA1DC,EAAQD,EAARC,SAAUC,EAAcF,EAAdE,eACvCC,EAAaC,IACbC,EAAWD,IAEjBE,EAAwBC,IAAkBC,EAAAC,EAAAH,EAAA,GAAnCI,EAAIF,EAAA,GAAEG,EAAOH,EAAA,GAEdI,EAAyBC,GAC7B,SAAAC,GAAoF,IAClFC,EADcD,EAAbE,eACiE,CAAE,EAAjDC,EAAMF,EAAjBG,UAA+BC,EAAKJ,EAAjBK,WAE3B,GAAIjB,EAAWkB,QAAS,CACtB,IAAMC,EAqCd,SAAgBC,GAUf,IATCJ,EAAKI,EAALJ,MACAF,EAAMM,EAANN,OAAMO,EAAAD,EACNE,aAAAA,OAAe5B,IAAH2B,EAAG3B,EAAqB2B,EAAAE,EAAAH,EACpCI,YAAAA,OAAc7B,IAAH4B,EAAG5B,EAAoB4B,EAO5BE,EAASD,EAAc,EAE7B,MAAAE,KAAAA,OAAYV,EAAQQ,EAAc,EAACE,MAAAA,OAAKJ,EAAYI,OAAAA,OAClDZ,EAASQ,EACXI,OAAAA,OAAMJ,EAAYI,KAAAA,OAAIJ,EAAYI,WAAAA,OAAUV,EAAQM,EAAY,KAAAI,OAAIZ,EAASU,EAAc,EAAC,OAAAE,OAC1FJ,EAAeG,EACjB,OAAAC,OAAMJ,EAAY,KAAAI,OAAIJ,EAAY,WAAAI,OAAUF,EAAc,EAAC,KAAAE,OAAIZ,EAASQ,EAAYI,OAAAA,OAClFJ,EAAeG,EACjBC,OAAAA,OAAMJ,EAAYI,KAAAA,OAAIJ,EAAYI,WAAAA,OAAUJ,EAAYI,KAAAA,OAAIF,EAAc,EAACE,OAAAA,OAAMV,EAAQM,EAAY,MAAAI,OACnGF,EAAc,EAChB,OAAAE,OAAMJ,EAAY,KAAAI,OAAIJ,EAAY,WAAAI,OAAUV,EAAQQ,EAAc,EAAC,KAAAE,OAAIJ,EAAY,KACrF,CA3DkBK,CAAQ,CAAEX,MAAAA,EAAOF,OAAAA,IAC3BN,EAAQW,GAER,IAAMS,EA0Dd,SAAqBC,GAQpB,IAPCb,EAAKa,EAALb,MACAF,EAAMe,EAANf,OAAMgB,EAAAD,EACNP,aAAAA,OAAe5B,IAAHoC,EAAGpC,EAAqBoC,EAM9BC,EAAgBf,EAAQ,EAAIM,EAC5BU,EAAiBlB,EAAS,EAAIQ,EAEpC,OAD4B,EAAIW,KAAKC,GAAKZ,EACb,EAAIS,EAAgB,EAAIC,CACvD,CAvE0BG,CAAa,CAAEnB,MAAAA,EAAOF,OAAAA,IACxCd,EAAWkB,QAAQkB,MAAMC,YAAY,wBAAgCT,EAAPU,GAChE,CACD,GACD,IAGFC,EAAkB,CAChBC,IAAKxC,EACLyC,SAAUhC,EACViC,aAAc,IAGhB,IAAMC,EAAwBC,GAAW,SAACC,EAAQL,GAAG,OACnDM,EAAahD,EAAU,CACrB0C,IAAAA,OAIJ,OACEO,EAAKC,cAAA,MAAA,CAAAC,UAAWC,EAAOC,YAAaX,IAAKxC,GACvC+C,EAAAC,cAAA,MAAA,CAAKC,UAAWC,EAAOE,KACrBL,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOK,MAAOpC,EAAGZ,IACpDwC,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOM,OAAQrC,EAAGZ,IACrDwC,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOO,QAAStC,EAAGZ,IACtDwC,EAAMC,cAAA,OAAA,CAAAC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOQ,OAAQvC,EAAGZ,EAAMR,eAAgBA,KAE7EgD,EAACC,cAAAL,GAAsBH,IAAKtC,IAGlC"}
@@ -1,2 +1,2 @@
1
- var e={celebration:"celebration_34cbe52016",svg:"svg_a1f177a7e0",stroke:"stroke_8aff449e5a","stroke-rotate":"stroke-rotate_93261fb50a",base:"base_4810abea66",fade:"fade_ec115ab3e2",first:"first_469e4542d5",second:"second_beab381181",third:"third_49a2b6de64","gradient-text-fill":"gradient-text-fill_e47fd987f7"};!function(e){const n="s_id-f81803454b25_4_0_0-alpha_0";if("undefined"!=typeof document){const a=document.head||document.getElementsByTagName("head")[0];if(a.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,a.firstChild?a.insertBefore(t,a.firstChild):a.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".celebration_34cbe52016 {\n --container-perimeter: 840;\n position: relative;\n}\n.celebration_34cbe52016 .svg_a1f177a7e0 {\n position: absolute;\n top: 0;\n inset-inline-start: 0;\n height: 100%;\n width: 100%;\n}\n.celebration_34cbe52016 .svg_a1f177a7e0 .stroke_8aff449e5a {\n fill: none;\n stroke-width: 1;\n stroke-linecap: round;\n stroke-linejoin: round;\n animation: stroke-rotate_93261fb50a cubic-bezier(0.33, 0, 0.67, 1) forwards;\n stroke-dasharray: var(--container-perimeter);\n stroke-dashoffset: var(--container-perimeter);\n}\n.celebration_34cbe52016 .svg_a1f177a7e0 .stroke_8aff449e5a.base_4810abea66 {\n stroke: var(--color-egg_yolk);\n animation: fade_ec115ab3e2 200ms linear forwards;\n animation-delay: 80ms;\n stroke-dasharray: 0;\n stroke-dashoffset: 0;\n opacity: 0;\n}\n.celebration_34cbe52016 .svg_a1f177a7e0 .stroke_8aff449e5a.first_469e4542d5 {\n stroke: var(--color-done-green);\n animation-delay: 80ms;\n animation-duration: 320ms;\n}\n.celebration_34cbe52016 .svg_a1f177a7e0 .stroke_8aff449e5a.second_beab381181 {\n stroke: var(--color-stuck-red);\n animation-delay: 200ms;\n animation-duration: 320ms;\n}\n.celebration_34cbe52016 .svg_a1f177a7e0 .stroke_8aff449e5a.third_49a2b6de64 {\n stroke: var(--primary-color);\n animation-delay: 360ms;\n animation-duration: 320ms;\n}\n.celebration_34cbe52016.celebration_34cbe52016 [data-celebration-text] {\n background-size: 300% 100%;\n background-repeat: no-repeat;\n background-clip: text;\n -webkit-background-clip: text;\n color: transparent;\n animation: gradient-text-fill_e47fd987f7 680ms linear forwards;\n background-image: linear-gradient(to right, var(--primary-color) 30%, var(--color-stuck-red) 40%, var(--color-done-green) 60%, var(--color-egg_yolk) 85%, transparent 90%);\n}\n@keyframes fade_ec115ab3e2 {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes stroke-rotate_93261fb50a {\n to {\n stroke-dashoffset: 0;\n }\n}\n@keyframes gradient-text-fill_e47fd987f7 {\n from {\n background-position: 150% 0;\n }\n to {\n background-position: 0% 0;\n }\n}");export{e as default};
1
+ var e={celebration:"celebration_2ca1703475",svg:"svg_d8df1dc912",stroke:"stroke_85865c7612","stroke-rotate":"stroke-rotate_3d3c15f54f",base:"base_db10285325",fade:"fade_8fb8e8a410",first:"first_2646cc65c6",second:"second_def17ef89c",third:"third_4e329177d7","gradient-text-fill":"gradient-text-fill_b5b7849036"};!function(e){const n="s_id-f81803454b25_4_0_0-alpha_2";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const a=document.createElement("style");a.id=n,t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".celebration_2ca1703475 {\n --container-perimeter: 840;\n position: relative;\n}\n.celebration_2ca1703475 .svg_d8df1dc912 {\n position: absolute;\n top: 0;\n inset-inline-start: 0;\n height: 100%;\n width: 100%;\n}\n.celebration_2ca1703475 .svg_d8df1dc912 .stroke_85865c7612 {\n fill: none;\n stroke-width: 1;\n stroke-linecap: round;\n stroke-linejoin: round;\n animation: stroke-rotate_3d3c15f54f cubic-bezier(0.33, 0, 0.67, 1) forwards;\n stroke-dasharray: var(--container-perimeter);\n stroke-dashoffset: var(--container-perimeter);\n}\n.celebration_2ca1703475 .svg_d8df1dc912 .stroke_85865c7612.base_db10285325 {\n stroke: var(--color-egg_yolk);\n animation: fade_8fb8e8a410 200ms linear forwards;\n animation-delay: 80ms;\n stroke-dasharray: 0;\n stroke-dashoffset: 0;\n opacity: 0;\n}\n.celebration_2ca1703475 .svg_d8df1dc912 .stroke_85865c7612.first_2646cc65c6 {\n stroke: var(--color-done-green);\n animation-delay: 80ms;\n animation-duration: 320ms;\n}\n.celebration_2ca1703475 .svg_d8df1dc912 .stroke_85865c7612.second_def17ef89c {\n stroke: var(--color-stuck-red);\n animation-delay: 200ms;\n animation-duration: 320ms;\n}\n.celebration_2ca1703475 .svg_d8df1dc912 .stroke_85865c7612.third_4e329177d7 {\n stroke: var(--primary-color);\n animation-delay: 360ms;\n animation-duration: 320ms;\n}\n.celebration_2ca1703475.celebration_2ca1703475 [data-celebration-text] {\n background-size: 300% 100%;\n background-repeat: no-repeat;\n background-clip: text;\n -webkit-background-clip: text;\n color: transparent;\n animation: gradient-text-fill_b5b7849036 680ms linear forwards;\n background-image: linear-gradient(to right, var(--primary-color) 30%, var(--color-stuck-red) 40%, var(--color-done-green) 60%, var(--color-egg_yolk) 85%, transparent 90%);\n}\n@keyframes fade_8fb8e8a410 {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes stroke-rotate_3d3c15f54f {\n to {\n stroke-dashoffset: 0;\n }\n}\n@keyframes gradient-text-fill_b5b7849036 {\n from {\n background-position: 150% 0;\n }\n to {\n background-position: 0% 0;\n }\n}");export{e as default};
2
2
  //# sourceMappingURL=LabelCelebrationAnimation.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var n={link:"link_5d0e5e55f0","focus-visible":"focus-visible_b9390e7de1",colorOnPrimary:"colorOnPrimary_4a5b3cc12f",colorOnInverted:"colorOnInverted_4983c709fb",text:"text_3996c2e086",inlineText:"inlineText_6b87c4d196",inheritFontSize:"inheritFontSize_cc4f8c7767",iconStart:"iconStart_f3721ecf8e",iconEnd:"iconEnd_ec3ae399ff"};!function(n){const e="s_id-c2cddf2190ae_4_0_0-alpha_0";if("undefined"!=typeof document){const i=document.head||document.getElementsByTagName("head")[0];if(i.querySelector("#"+e))return;const t=document.createElement("style");t.id=e,i.firstChild?i.insertBefore(t,i.firstChild):i.appendChild(t),t.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n.link_5d0e5e55f0 {\n display: flex;\n align-items: center;\n color: var(--link-color);\n font: var(--font-text2-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n text-decoration: none;\n writing-mode: horizontal-tb;\n}\n.link_5d0e5e55f0:focus-visible, .link_5d0e5e55f0.focus-visible_b9390e7de1 {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.link_5d0e5e55f0:focus:not(.focus-visible_b9390e7de1) {\n outline: none;\n}\n.link_5d0e5e55f0.colorOnPrimary_4a5b3cc12f {\n color: var(--text-color-on-primary);\n}\n.link_5d0e5e55f0.colorOnInverted_4983c709fb {\n color: var(--text-color-on-inverted);\n}\n.link_5d0e5e55f0:hover .text_3996c2e086 {\n text-decoration: underline;\n color: inherit;\n}\n.link_5d0e5e55f0.inlineText_6b87c4d196 {\n display: inline-flex;\n align-items: unset;\n}\n.link_5d0e5e55f0.inheritFontSize_cc4f8c7767 {\n font-size: inherit;\n line-height: inherit;\n}\n.iconStart_f3721ecf8e {\n line-height: 24px;\n margin-inline-end: var(--space-4);\n}\n.iconEnd_ec3ae399ff {\n line-height: 24px;\n margin-inline-start: var(--space-4);\n}");export{n as default};
1
+ var n={link:"link_39464ba224","focus-visible":"focus-visible_1fc42a4a92",colorOnPrimary:"colorOnPrimary_22741d60c9",colorOnInverted:"colorOnInverted_84c0f7eac1",text:"text_37ac34953f",inlineText:"inlineText_54e32eb33d",inheritFontSize:"inheritFontSize_c6b8acc989",iconStart:"iconStart_8b30a90e4c",iconEnd:"iconEnd_70b735ff2a"};!function(n){const e="s_id-c2cddf2190ae_4_0_0-alpha_2";if("undefined"!=typeof document){const i=document.head||document.getElementsByTagName("head")[0];if(i.querySelector("#"+e))return;const t=document.createElement("style");t.id=e,i.firstChild?i.insertBefore(t,i.firstChild):i.appendChild(t),t.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n.link_39464ba224 {\n display: flex;\n align-items: center;\n color: var(--link-color);\n font: var(--font-text2-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n text-decoration: none;\n writing-mode: horizontal-tb;\n}\n.link_39464ba224:focus-visible, .link_39464ba224.focus-visible_1fc42a4a92 {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.link_39464ba224:focus:not(.focus-visible_1fc42a4a92) {\n outline: none;\n}\n.link_39464ba224.colorOnPrimary_22741d60c9 {\n color: var(--text-color-on-primary);\n}\n.link_39464ba224.colorOnInverted_84c0f7eac1 {\n color: var(--text-color-on-inverted);\n}\n.link_39464ba224:hover .text_37ac34953f {\n text-decoration: underline;\n color: inherit;\n}\n.link_39464ba224.inlineText_54e32eb33d {\n display: inline-flex;\n align-items: unset;\n}\n.link_39464ba224.inheritFontSize_c6b8acc989 {\n font-size: inherit;\n line-height: inherit;\n}\n.iconStart_8b30a90e4c {\n line-height: 24px;\n margin-inline-end: var(--space-4);\n}\n.iconEnd_70b735ff2a {\n line-height: 24px;\n margin-inline-start: var(--space-4);\n}");export{n as default};
2
2
  //# sourceMappingURL=Link.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"List.js","sources":["../../../../src/components/List/List.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport React, {\n type AriaAttributes,\n type AriaRole,\n type CSSProperties,\n forwardRef,\n type ReactElement,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState\n} from \"react\";\nimport useMergeRef from \"../../hooks/useMergeRef\";\nimport useKeyEvent from \"../../hooks/useKeyEvent\";\nimport { VirtualizedListItems } from \"./VirtualizedListItems/VirtualizedListItems\";\nimport { keyCodes, UP_DOWN_ARROWS } from \"../../constants/keyCodes\";\nimport { type VibeComponentProps } from \"../../types\";\nimport { type ListItemProps } from \"../ListItem/ListItem\";\nimport { type ListTitleProps } from \"../ListTitle/ListTitle\";\nimport { type ListElement } from \"./List.types\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport { ListContext } from \"./utils/ListContext\";\nimport {\n getListItemComponentType,\n getListItemIdByIndex,\n getListItemIndexById,\n getNextListItemIndex,\n getPrevListItemIndex,\n isListItem,\n useListId\n} from \"./utils/ListUtils\";\nimport styles from \"./List.module.scss\";\nimport { ComponentVibeId } from \"../../tests/constants\";\n\nexport interface ListProps extends VibeComponentProps {\n /**\n * The wrapping component for the list.\n */\n component?: ListElement;\n /**\n * The ARIA label describing the list.\n */\n \"aria-label\"?: string;\n /**\n * The ID of an element that describes the list.\n */\n \"aria-describedby\"?: string;\n /**\n * The ID of an element controlled by the list.\n */\n \"aria-controls\"?: AriaAttributes[\"aria-controls\"];\n /**\n * The child elements inside the list.\n */\n children?: ReactElement<ListItemProps | ListTitleProps> | ReactElement<ListItemProps | ListTitleProps>[];\n /**\n * If true, uses a virtualized list to render only visible items for performance optimization.\n */\n renderOnlyVisibleItems?: boolean;\n /**\n * Custom inline styles applied to the list.\n */\n style?: CSSProperties;\n /**\n * The ARIA role of the list.\n */\n role?: AriaRole;\n}\n\nconst List = forwardRef(\n (\n {\n className,\n id,\n component = \"ul\",\n children,\n \"aria-label\": ariaLabel,\n \"aria-describedby\": ariaDescribedBy,\n \"aria-controls\": ariaControls,\n renderOnlyVisibleItems = false,\n style,\n role = \"listbox\",\n \"data-testid\": dataTestId\n }: ListProps,\n ref: React.ForwardedRef<HTMLElement>\n ) => {\n const componentRef = useRef(null);\n const mergedRef = useMergeRef(ref, componentRef);\n const childrenRefs: React.MutableRefObject<HTMLElement[]> = useRef([]);\n\n const overrideId = useListId(id);\n const [focusIndex, setFocusIndex] = useState(0);\n const Component = component;\n\n const updateFocusedItem = useCallback((id: string) => {\n setFocusIndex(getListItemIndexById(childrenRefs, id));\n componentRef?.current?.setAttribute(\"aria-activedescendant\", id);\n }, []);\n\n const onUpDownArrows = useCallback(\n (event: KeyboardEvent) => {\n if (renderOnlyVisibleItems) {\n return;\n }\n event.preventDefault();\n\n const isUpKey = event.key === keyCodes.UP_ARROW;\n const isDownKey = event.key === keyCodes.DOWN_ARROW;\n let overrideFocusIndex = undefined;\n\n if (isDownKey && focusIndex + 1 < childrenRefs.current.length) {\n overrideFocusIndex = getNextListItemIndex(focusIndex, childrenRefs);\n } else if (isUpKey && focusIndex > 0) {\n overrideFocusIndex = getPrevListItemIndex(focusIndex, childrenRefs);\n }\n if (overrideFocusIndex !== undefined) {\n updateFocusedItem(getListItemIdByIndex(childrenRefs, overrideFocusIndex));\n childrenRefs.current[overrideFocusIndex].focus();\n }\n },\n [focusIndex, renderOnlyVisibleItems, updateFocusedItem]\n );\n\n useKeyEvent({\n keys: UP_DOWN_ARROWS,\n callback: onUpDownArrows,\n ref: componentRef\n });\n\n useEffect(() => {\n const selectedItemIndex = childrenRefs.current.findIndex(\n child => child instanceof HTMLElement && isListItem(child) && child?.getAttribute(\"aria-selected\") === \"true\"\n );\n if (selectedItemIndex !== -1) {\n updateFocusedItem(getListItemIdByIndex(childrenRefs, selectedItemIndex));\n } else {\n const firstFocusableIndex = childrenRefs.current.findIndex(child => isListItem(child));\n if (firstFocusableIndex !== -1) {\n updateFocusedItem(getListItemIdByIndex(childrenRefs, firstFocusableIndex));\n }\n }\n }, [updateFocusedItem]);\n\n const overrideChildren = useMemo(() => {\n let override: ReactElement | ReactElement[] = Array.isArray(children) ? children : [children];\n if (renderOnlyVisibleItems) {\n override = <VirtualizedListItems>{override}</VirtualizedListItems>;\n } else {\n childrenRefs.current = childrenRefs.current.slice(0, override.length);\n override = React.Children.map(override, (child, index) => {\n if (!React.isValidElement(child)) {\n return child;\n }\n const id = (child.props as ListItemProps).id || `${overrideId}-item-${index}`;\n const currentRef = childrenRefs.current[index];\n const isFocusableItem = currentRef === undefined || currentRef === null || isListItem(currentRef);\n return React.cloneElement(child, {\n // @ts-ignore not sure how to deal with ref here\n ref: ref => (childrenRefs.current[index] = ref),\n tabIndex: focusIndex === index && isFocusableItem ? 0 : -1,\n id,\n component: getListItemComponentType(component),\n role: (child.props as ListItemProps).role\n });\n });\n }\n\n return override;\n }, [children, component, focusIndex, overrideId, renderOnlyVisibleItems]);\n\n return (\n <ListContext.Provider value={{ updateFocusedItem }}>\n <Component\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.LIST, id)}\n data-vibe={ComponentVibeId.LIST}\n ref={mergedRef}\n style={style}\n className={cx(styles.list, className)}\n id={overrideId}\n aria-label={ariaLabel}\n aria-describedby={ariaDescribedBy}\n aria-controls={ariaControls}\n tabIndex={-1}\n role={role}\n >\n {overrideChildren}\n </Component>\n </ListContext.Provider>\n );\n }\n);\n\nexport default List;\n"],"names":["List","forwardRef","_ref","ref","className","id","_ref$component","component","children","ariaLabel","ariaDescribedBy","ariaControls","_ref$renderOnlyVisibl","renderOnlyVisibleItems","style","_ref$role","role","dataTestId","componentRef","useRef","mergedRef","useMergeRef","childrenRefs","overrideId","useListId","_useState","useState","_useState2","_slicedToArray","focusIndex","setFocusIndex","Component","updateFocusedItem","useCallback","getListItemIndexById","_a","current","setAttribute","onUpDownArrows","event","preventDefault","isUpKey","key","keyCodes","UP_ARROW","overrideFocusIndex","undefined","DOWN_ARROW","length","getNextListItemIndex","getPrevListItemIndex","getListItemIdByIndex","focus","useKeyEvent","keys","UP_DOWN_ARROWS","callback","useEffect","selectedItemIndex","findIndex","child","HTMLElement","isListItem","getAttribute","firstFocusableIndex","overrideChildren","useMemo","override","Array","isArray","React","createElement","VirtualizedListItems","slice","Children","map","index","isValidElement","props","concat","currentRef","isFocusableItem","cloneElement","_ref2","tabIndex","getListItemComponentType","ListContext","Provider","value","getTestId","ComponentDefaultTestId","LIST","ComponentVibeId","cx","styles","list"],"mappings":"43BAsEMA,IAAAA,EAAOC,GACX,SAAAC,EAcEC,GACE,IAbAC,EAASF,EAATE,UACAC,EAAEH,EAAFG,GAAEC,EAAAJ,EACFK,UAAAA,OAAY,IAAHD,EAAG,KAAIA,EAChBE,EAAQN,EAARM,SACcC,EAASP,EAAvB,cACoBQ,EAAeR,EAAnC,oBACiBS,EAAYT,EAA7B,iBAAeU,EAAAV,EACfW,uBAAAA,OAAyB,IAAHD,GAAQA,EAC9BE,EAAKZ,EAALY,MAAKC,EAAAb,EACLc,KAAAA,OAAO,IAAHD,EAAG,UAASA,EACDE,EAAUf,EAAzB,eAIIgB,EAAeC,EAAO,MACtBC,EAAYC,EAAYlB,EAAKe,GAC7BI,EAAsDH,EAAO,IAE7DI,EAAaC,EAAUnB,GAC7BoB,EAAoCC,EAAS,GAAEC,EAAAC,EAAAH,EAAA,GAAxCI,EAAUF,EAAA,GAAEG,EAAaH,EAAA,GAC1BI,EAAYxB,EAEZyB,EAAoBC,GAAY,SAAC5B,SACrCyB,EAAcI,EAAqBZ,EAAcjB,IAC1B,QAAvB8B,EAAAjB,aAAY,EAAZA,EAAckB,eAAS,IAAAD,GAAAA,EAAAE,aAAa,wBAAyBhC,EAC9D,GAAE,IAEGiC,EAAiBL,GACrB,SAACM,GACC,IAAI1B,EAAJ,CAGA0B,EAAMC,iBAEN,IAAMC,EAAUF,EAAMG,MAAQC,EAASC,SAEnCC,OAAqBC,EADPP,EAAMG,MAAQC,EAASI,YAGPzB,EAAac,QAAQY,OAAtCnB,EAAa,EAC5BgB,EAAqBI,EAAqBpB,EAAYP,GAC7CmB,GAAWZ,EAAa,IACjCgB,EAAqBK,EAAqBrB,EAAYP,SAE7BwB,IAAvBD,IACFb,EAAkBmB,EAAqB7B,EAAcuB,IACrDvB,EAAac,QAAQS,GAAoBO,QAd1C,CAgBF,GACD,CAACvB,EAAYhB,EAAwBmB,IAGvCqB,EAAY,CACVC,KAAMC,EACNC,SAAUlB,EACVnC,IAAKe,IAGPuC,GAAU,WACR,IAAMC,EAAoBpC,EAAac,QAAQuB,WAC7C,SAAAC,GAAK,OAAIA,aAAiBC,aAAeC,EAAWF,IAAmD,UAAzCA,aAAA,EAAAA,EAAOG,aAAa,qBAEpF,IAA2B,IAAvBL,EACF1B,EAAkBmB,EAAqB7B,EAAcoC,QAChD,CACL,IAAMM,EAAsB1C,EAAac,QAAQuB,WAAU,SAAAC,GAAK,OAAIE,EAAWF,OAClD,IAAzBI,GACFhC,EAAkBmB,EAAqB7B,EAAc0C,GAExD,CACH,GAAG,CAAChC,IAEJ,IAAMiC,EAAmBC,GAAQ,WAC/B,IAAIC,EAA0CC,MAAMC,QAAQ7D,GAAYA,EAAW,CAACA,GAuBpF,OAtBIK,EACFsD,EAAWG,EAACC,cAAAC,EAAsB,KAAAL,IAElC7C,EAAac,QAAUd,EAAac,QAAQqC,MAAM,EAAGN,EAASnB,QAC9DmB,EAAWG,EAAMI,SAASC,IAAIR,GAAU,SAACP,EAAOgB,GAC9C,IAAKN,EAAMO,eAAejB,GACxB,OAAOA,EAET,IAAMvD,EAAMuD,EAAMkB,MAAwBzE,IAAE0E,GAAAA,OAAOxD,EAAU,UAAAwD,OAASH,GAChEI,EAAa1D,EAAac,QAAQwC,GAClCK,EAAkBD,SAAmDlB,EAAWkB,GACtF,OAAOV,EAAMY,aAAatB,EAAO,CAE/BzD,IAAK,SAAGgF,GAAA,OAAK7D,EAAac,QAAQwC,GAASzE,CAAI,EAC/CiF,SAAUvD,IAAe+C,GAASK,EAAkB,GAAK,EACzD5E,GAAAA,EACAE,UAAW8E,EAAyB9E,GACpCS,KAAO4C,EAAMkB,MAAwB9D,MAEzC,KAGKmD,CACT,GAAG,CAAC3D,EAAUD,EAAWsB,EAAYN,EAAYV,IAEjD,OACEyD,EAACC,cAAAe,EAAYC,UAASC,MAAO,CAAExD,kBAAAA,IAC7BsC,EAACC,cAAAxC,EACc,CAAA,cAAAd,GAAcwE,EAAUC,EAAuBC,KAAMtF,GAAG,YAC1DuF,EAAgBD,KAC3BxF,IAAKiB,EACLN,MAAOA,EACPV,UAAWyF,EAAGC,EAAOC,KAAM3F,GAC3BC,GAAIkB,EACQ,aAAAd,EACM,mBAAAC,EACH,gBAAAC,EACfyE,UAAW,EACXpE,KAAMA,GAELiD,GAIT"}
1
+ {"version":3,"file":"List.js","sources":["../../../../src/components/List/List.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport React, {\n type AriaAttributes,\n type AriaRole,\n type CSSProperties,\n forwardRef,\n type ReactElement,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState\n} from \"react\";\nimport useMergeRef from \"../../hooks/useMergeRef\";\nimport useKeyEvent from \"../../hooks/useKeyEvent\";\nimport { VirtualizedListItems } from \"./VirtualizedListItems/VirtualizedListItems\";\nimport { keyCodes, UP_DOWN_ARROWS } from \"../../constants/keyCodes\";\nimport { type VibeComponentProps } from \"../../types\";\nimport { type ListItemProps } from \"../ListItem/ListItem\";\nimport { type ListTitleProps } from \"../ListTitle/ListTitle\";\nimport { type ListElement } from \"./List.types\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport { ListContext } from \"./utils/ListContext\";\nimport {\n getListItemComponentType,\n getListItemIdByIndex,\n getListItemIndexById,\n getNextListItemIndex,\n getPrevListItemIndex,\n isListItem,\n useListId\n} from \"./utils/ListUtils\";\nimport styles from \"./List.module.scss\";\nimport { ComponentVibeId } from \"../../tests/constants\";\n\nexport interface ListProps extends VibeComponentProps {\n /**\n * The wrapping component for the list.\n */\n component?: ListElement;\n /**\n * The ARIA label describing the list.\n */\n \"aria-label\"?: string;\n /**\n * The ID of an element that describes the list.\n */\n \"aria-describedby\"?: string;\n /**\n * The ID of an element controlled by the list.\n */\n \"aria-controls\"?: AriaAttributes[\"aria-controls\"];\n /**\n * The child elements inside the list.\n */\n children?: ReactElement<ListItemProps | ListTitleProps> | ReactElement<ListItemProps | ListTitleProps>[];\n /**\n * If true, uses a virtualized list to render only visible items for performance optimization.\n */\n renderOnlyVisibleItems?: boolean;\n /**\n * Custom inline styles applied to the list.\n */\n style?: CSSProperties;\n /**\n * The ARIA role of the list.\n */\n role?: AriaRole;\n}\n\nconst List = forwardRef(\n (\n {\n className,\n id,\n component = \"ul\",\n children,\n \"aria-label\": ariaLabel,\n \"aria-describedby\": ariaDescribedBy,\n \"aria-controls\": ariaControls,\n renderOnlyVisibleItems = false,\n style,\n role = \"listbox\",\n \"data-testid\": dataTestId\n }: ListProps,\n ref: React.ForwardedRef<HTMLElement>\n ) => {\n const componentRef = useRef(null);\n const mergedRef = useMergeRef(ref, componentRef);\n const childrenRefs: React.MutableRefObject<HTMLElement[]> = useRef([]);\n\n const overrideId = useListId(id);\n const [focusIndex, setFocusIndex] = useState(0);\n const Component = component;\n\n const updateFocusedItem = useCallback((id: string) => {\n setFocusIndex(getListItemIndexById(childrenRefs, id));\n componentRef?.current?.setAttribute(\"aria-activedescendant\", id);\n }, []);\n\n const onUpDownArrows = useCallback(\n (event: KeyboardEvent) => {\n if (renderOnlyVisibleItems) {\n return;\n }\n event.preventDefault();\n\n const isUpKey = event.key === keyCodes.UP_ARROW;\n const isDownKey = event.key === keyCodes.DOWN_ARROW;\n let overrideFocusIndex = undefined;\n\n if (isDownKey && focusIndex + 1 < childrenRefs.current.length) {\n overrideFocusIndex = getNextListItemIndex(focusIndex, childrenRefs);\n } else if (isUpKey && focusIndex > 0) {\n overrideFocusIndex = getPrevListItemIndex(focusIndex, childrenRefs);\n }\n if (overrideFocusIndex !== undefined) {\n updateFocusedItem(getListItemIdByIndex(childrenRefs, overrideFocusIndex));\n childrenRefs.current[overrideFocusIndex].focus();\n }\n },\n [focusIndex, renderOnlyVisibleItems, updateFocusedItem]\n );\n\n useKeyEvent({\n keys: UP_DOWN_ARROWS,\n callback: onUpDownArrows,\n ref: componentRef\n });\n\n useEffect(() => {\n const selectedItemIndex = childrenRefs.current.findIndex(\n child => child instanceof HTMLElement && isListItem(child) && child?.getAttribute(\"aria-selected\") === \"true\"\n );\n if (selectedItemIndex !== -1) {\n updateFocusedItem(getListItemIdByIndex(childrenRefs, selectedItemIndex));\n } else {\n const firstFocusableIndex = childrenRefs.current.findIndex(child => isListItem(child));\n if (firstFocusableIndex !== -1) {\n updateFocusedItem(getListItemIdByIndex(childrenRefs, firstFocusableIndex));\n }\n }\n }, [updateFocusedItem]);\n\n const overrideChildren = useMemo(() => {\n let override: ReactElement | ReactElement[] = Array.isArray(children) ? children : [children];\n if (renderOnlyVisibleItems) {\n override = <VirtualizedListItems>{override}</VirtualizedListItems>;\n } else {\n childrenRefs.current = childrenRefs.current.slice(0, override.length);\n override = React.Children.map(override, (child, index) => {\n if (!React.isValidElement(child)) {\n return child;\n }\n const id = (child.props as ListItemProps).id || `${overrideId}-item-${index}`;\n const currentRef = childrenRefs.current[index];\n const isFocusableItem = currentRef === undefined || currentRef === null || isListItem(currentRef);\n return React.cloneElement(child, {\n // @ts-ignore not sure how to deal with ref here\n ref: ref => (childrenRefs.current[index] = ref),\n tabIndex: focusIndex === index && isFocusableItem ? 0 : -1,\n id,\n component: getListItemComponentType(component),\n role: (child.props as ListItemProps).role\n });\n });\n }\n\n return override;\n }, [children, component, focusIndex, overrideId, renderOnlyVisibleItems]);\n\n return (\n <ListContext.Provider value={{ updateFocusedItem }}>\n <Component\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.LIST, id)}\n data-vibe={ComponentVibeId.LIST}\n ref={mergedRef}\n style={style}\n className={cx(styles.list, className)}\n id={overrideId}\n aria-label={ariaLabel}\n aria-describedby={ariaDescribedBy}\n aria-controls={ariaControls}\n tabIndex={-1}\n role={role}\n >\n {overrideChildren}\n </Component>\n </ListContext.Provider>\n );\n }\n);\n\nexport default List;\n"],"names":["List","forwardRef","_ref","ref","className","id","_ref$component","component","children","ariaLabel","ariaDescribedBy","ariaControls","_ref$renderOnlyVisibl","renderOnlyVisibleItems","style","_ref$role","role","dataTestId","componentRef","useRef","mergedRef","useMergeRef","childrenRefs","overrideId","useListId","_useState","useState","_useState2","_slicedToArray","focusIndex","setFocusIndex","Component","updateFocusedItem","useCallback","getListItemIndexById","_a","current","setAttribute","onUpDownArrows","event","preventDefault","isUpKey","key","keyCodes","UP_ARROW","overrideFocusIndex","undefined","DOWN_ARROW","length","getNextListItemIndex","getPrevListItemIndex","getListItemIdByIndex","focus","useKeyEvent","keys","UP_DOWN_ARROWS","callback","useEffect","selectedItemIndex","findIndex","child","HTMLElement","isListItem","getAttribute","firstFocusableIndex","overrideChildren","useMemo","override","Array","isArray","React","createElement","VirtualizedListItems","slice","Children","map","index","isValidElement","props","concat","currentRef","isFocusableItem","cloneElement","_ref2","tabIndex","getListItemComponentType","ListContext","Provider","value","getTestId","ComponentDefaultTestId","LIST","ComponentVibeId","cx","styles","list"],"mappings":"43BAsEMA,IAAAA,EAAOC,GACX,SAAAC,EAcEC,GACE,IAbAC,EAASF,EAATE,UACAC,EAAEH,EAAFG,GAAEC,EAAAJ,EACFK,UAAAA,OAAY,IAAHD,EAAG,KAAIA,EAChBE,EAAQN,EAARM,SACcC,EAASP,EAAvB,cACoBQ,EAAeR,EAAnC,oBACiBS,EAAYT,EAA7B,iBAAeU,EAAAV,EACfW,uBAAAA,OAAyB,IAAHD,GAAQA,EAC9BE,EAAKZ,EAALY,MAAKC,EAAAb,EACLc,KAAAA,OAAO,IAAHD,EAAG,UAASA,EACDE,EAAUf,EAAzB,eAIIgB,EAAeC,EAAO,MACtBC,EAAYC,EAAYlB,EAAKe,GAC7BI,EAAsDH,EAAO,IAE7DI,EAAaC,EAAUnB,GAC7BoB,EAAoCC,EAAS,GAAEC,EAAAC,EAAAH,EAAA,GAAxCI,EAAUF,EAAA,GAAEG,EAAaH,EAAA,GAC1BI,EAAYxB,EAEZyB,EAAoBC,GAAY,SAAC5B,SACrCyB,EAAcI,EAAqBZ,EAAcjB,IAC1B,QAAvB8B,EAAAjB,aAAY,EAAZA,EAAckB,eAAS,IAAAD,GAAAA,EAAAE,aAAa,wBAAyBhC,EAC9D,GAAE,IAEGiC,EAAiBL,GACrB,SAACM,GACC,IAAI1B,EAAJ,CAGA0B,EAAMC,iBAEN,IAAMC,EAAUF,EAAMG,MAAQC,EAASC,SAEnCC,OAAqBC,EADPP,EAAMG,MAAQC,EAASI,YAGPzB,EAAac,QAAQY,OAAtCnB,EAAa,EAC5BgB,EAAqBI,EAAqBpB,EAAYP,GAC7CmB,GAAWZ,EAAa,IACjCgB,EAAqBK,EAAqBrB,EAAYP,SAE7BwB,IAAvBD,IACFb,EAAkBmB,EAAqB7B,EAAcuB,IACrDvB,EAAac,QAAQS,GAAoBO,QAd3C,CAgBD,GACD,CAACvB,EAAYhB,EAAwBmB,IAGvCqB,EAAY,CACVC,KAAMC,EACNC,SAAUlB,EACVnC,IAAKe,IAGPuC,GAAU,WACR,IAAMC,EAAoBpC,EAAac,QAAQuB,WAC7C,SAAAC,GAAK,OAAIA,aAAiBC,aAAeC,EAAWF,IAAmD,UAAzCA,aAAA,EAAAA,EAAOG,aAAa,qBAEpF,IAA2B,IAAvBL,EACF1B,EAAkBmB,EAAqB7B,EAAcoC,QAChD,CACL,IAAMM,EAAsB1C,EAAac,QAAQuB,WAAU,SAAAC,GAAK,OAAIE,EAAWF,OAClD,IAAzBI,GACFhC,EAAkBmB,EAAqB7B,EAAc0C,GAEzD,CACF,GAAG,CAAChC,IAEJ,IAAMiC,EAAmBC,GAAQ,WAC/B,IAAIC,EAA0CC,MAAMC,QAAQ7D,GAAYA,EAAW,CAACA,GAuBpF,OAtBIK,EACFsD,EAAWG,EAACC,cAAAC,EAAsB,KAAAL,IAElC7C,EAAac,QAAUd,EAAac,QAAQqC,MAAM,EAAGN,EAASnB,QAC9DmB,EAAWG,EAAMI,SAASC,IAAIR,GAAU,SAACP,EAAOgB,GAC9C,IAAKN,EAAMO,eAAejB,GACxB,OAAOA,EAET,IAAMvD,EAAMuD,EAAMkB,MAAwBzE,IAAE0E,GAAAA,OAAOxD,EAAU,UAAAwD,OAASH,GAChEI,EAAa1D,EAAac,QAAQwC,GAClCK,EAAkBD,SAAmDlB,EAAWkB,GACtF,OAAOV,EAAMY,aAAatB,EAAO,CAE/BzD,IAAK,SAAGgF,GAAA,OAAK7D,EAAac,QAAQwC,GAASzE,CAAI,EAC/CiF,SAAUvD,IAAe+C,GAASK,EAAkB,GAAK,EACzD5E,GAAAA,EACAE,UAAW8E,EAAyB9E,GACpCS,KAAO4C,EAAMkB,MAAwB9D,MAEzC,KAGKmD,CACT,GAAG,CAAC3D,EAAUD,EAAWsB,EAAYN,EAAYV,IAEjD,OACEyD,EAACC,cAAAe,EAAYC,UAASC,MAAO,CAAExD,kBAAAA,IAC7BsC,EAACC,cAAAxC,EACc,CAAA,cAAAd,GAAcwE,EAAUC,EAAuBC,KAAMtF,GAAG,YAC1DuF,EAAgBD,KAC3BxF,IAAKiB,EACLN,MAAOA,EACPV,UAAWyF,EAAGC,EAAOC,KAAM3F,GAC3BC,GAAIkB,EACQ,aAAAd,EACM,mBAAAC,EACH,gBAAAC,EACfyE,UAAW,EACXpE,KAAMA,GAELiD,GAIT"}
@@ -1,2 +1,2 @@
1
- var e={list:"list_ac43d2ceb8"};!function(e){const t="s_id-ed9bf484fec4_4_0_0-alpha_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)}("/* stylelint-disable selector-class-pattern */\n/* stylelint-disable */\n/* stylelint-enable */\n.list_ac43d2ceb8 {\n margin: 0;\n padding: 0;\n overflow: auto;\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.list_ac43d2ceb8::-webkit-scrollbar {\n width: 4px;\n height: 6px;\n}\n.list_ac43d2ceb8::-webkit-scrollbar-thumb {\n background-color: var(--ui-border-color);\n border-radius: 4px;\n}");export{e as default};
1
+ var e={list:"list_3079f5a453"};!function(e){const t="s_id-ed9bf484fec4_4_0_0-alpha_2";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)}("/* stylelint-disable selector-class-pattern */\n/* stylelint-disable */\n/* stylelint-enable */\n.list_3079f5a453 {\n margin: 0;\n padding: 0;\n overflow: auto;\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.list_3079f5a453::-webkit-scrollbar {\n width: 4px;\n height: 6px;\n}\n.list_3079f5a453::-webkit-scrollbar-thumb {\n background-color: var(--ui-border-color);\n border-radius: 4px;\n}");export{e as default};
2
2
  //# sourceMappingURL=List.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={scrollableContainer:"scrollableContainer_4430f02c28"};!function(e){const n="s_id-8a3397ff1208_4_0_0-alpha_0";if("undefined"!=typeof document){const l=document.head||document.getElementsByTagName("head")[0];if(l.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,l.firstChild?l.insertBefore(t,l.firstChild):l.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.scrollableContainer_4430f02c28 {\n margin: 0;\n padding: 0;\n overflow: auto;\n}\n.scrollableContainer_4430f02c28::-webkit-scrollbar {\n width: 4px;\n height: 6px;\n}\n.scrollableContainer_4430f02c28::-webkit-scrollbar-thumb {\n background-color: var(--ui-border-color);\n border-radius: 4px;\n}");export{e as default};
1
+ var e={scrollableContainer:"scrollableContainer_417ddcf0da"};!function(e){const n="s_id-8a3397ff1208_4_0_0-alpha_2";if("undefined"!=typeof document){const l=document.head||document.getElementsByTagName("head")[0];if(l.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,l.firstChild?l.insertBefore(t,l.firstChild):l.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.scrollableContainer_417ddcf0da {\n margin: 0;\n padding: 0;\n overflow: auto;\n}\n.scrollableContainer_417ddcf0da::-webkit-scrollbar {\n width: 4px;\n height: 6px;\n}\n.scrollableContainer_417ddcf0da::-webkit-scrollbar-thumb {\n background-color: var(--ui-border-color);\n border-radius: 4px;\n}");export{e as default};
2
2
  //# sourceMappingURL=VirtualizedListItems.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListUtils.js","sources":["../../../../../src/components/List/utils/ListUtils.ts"],"sourcesContent":["import { type MutableRefObject, useState } from \"react\";\nimport { type ListItemElement } from \"../../ListItem/ListItem.types\";\nimport { type ListElement } from \"../List.types\";\nimport useIsomorphicLayoutEffect from \"../../../hooks/ssr/useIsomorphicLayoutEffect\";\n\nlet listIdCounter = 0;\nexport const generateListId = () => {\n return `list-${listIdCounter++}`;\n};\n\nconst VALID_ROLES = [\"option\", \"listitem\", \"menuitem\", \"tab\", \"treeitem\"];\n\nexport const useListId = (id: string) => {\n const [listId, setListId] = useState<string>();\n useIsomorphicLayoutEffect(() => {\n setListId(id || generateListId());\n }, [id]);\n return listId;\n};\n\nexport const getListItemIdByIndex = (childrenRefs: MutableRefObject<HTMLElement[]>, index: number): string => {\n return childrenRefs.current[index]?.id;\n};\n\nexport const getListItemIndexById = (childrenRefs: MutableRefObject<HTMLElement[]>, id: string): number => {\n return childrenRefs.current.findIndex(child => child?.id === id);\n};\n\nexport const getListItemComponentType = (listComponent: ListElement): ListItemElement => {\n switch (listComponent) {\n case \"ul\":\n case \"ol\":\n return \"li\";\n case \"nav\":\n return \"a\";\n default:\n return \"div\";\n }\n};\n\nexport const isListItem = (element: HTMLElement) => {\n return element && element instanceof HTMLElement && VALID_ROLES.includes(element.getAttribute(\"role\"));\n};\n\nexport const getNextListItemIndex = (currentIndex: number, childrenRefs: MutableRefObject<HTMLElement[]>) => {\n while (currentIndex < childrenRefs.current.length - 1) {\n const child = childrenRefs.current[++currentIndex];\n if (isListItem(child)) {\n return currentIndex;\n }\n }\n return undefined;\n};\n\nexport const getPrevListItemIndex = (currentIndex: number, childrenRefs: MutableRefObject<HTMLElement[]>) => {\n while (currentIndex > 0) {\n const child = childrenRefs.current[--currentIndex];\n if (isListItem(child)) {\n return currentIndex;\n }\n }\n return undefined;\n};\n"],"names":["listIdCounter","generateListId","concat","VALID_ROLES","useListId","id","_useState","useState","_useState2","_slicedToArray","listId","setListId","useIsomorphicLayoutEffect","getListItemIdByIndex","childrenRefs","index","_a","current","getListItemIndexById","findIndex","child","getListItemComponentType","listComponent","isListItem","element","HTMLElement","includes","getAttribute","getNextListItemIndex","currentIndex","length","getPrevListItemIndex"],"mappings":"kLAKA,IAAIA,EAAgB,EACPC,EAAiB,WAC5B,MAAAC,QAAAA,OAAeF,IACjB,EAEMG,EAAc,CAAC,SAAU,WAAY,WAAY,MAAO,YAEjDC,EAAY,SAACC,GACxB,IAAAC,EAA4BC,IAAkBC,EAAAC,EAAAH,EAAA,GAAvCI,EAAMF,EAAA,GAAEG,EAASH,EAAA,GAIxB,OAHAI,GAA0B,WACxBD,EAAUN,GAAMJ,IAClB,GAAG,CAACI,IACGK,CACT,EAEaG,EAAuB,SAACC,EAA+CC,SAClF,OAAoC,QAA7BC,EAAAF,EAAaG,QAAQF,UAAQ,IAAAC,OAAA,EAAAA,EAAAX,EACtC,EAEaa,EAAuB,SAACJ,EAA+CT,GAClF,OAAOS,EAAaG,QAAQE,WAAU,SAAAC,GAAK,OAAIA,aAAA,EAAAA,EAAOf,MAAOA,IAC/D,EAEagB,EAA2B,SAACC,GACvC,OAAQA,GACN,IAAK,KACL,IAAK,KACH,MAAO,KACT,IAAK,MACH,MAAO,IACT,QACE,MAAO,MAEb,EAEaC,EAAa,SAACC,GACzB,OAAOA,GAAWA,aAAmBC,aAAetB,EAAYuB,SAASF,EAAQG,aAAa,QAChG,EAEaC,EAAuB,SAACC,EAAsBf,GACzD,KAAsBA,EAAaG,QAAQa,OAAS,EAA7CD,GAAgD,CACrD,IAAMT,EAAQN,EAAaG,UAAUY,GACrC,GAAIN,EAAWH,GACb,OAAOS,CAEV,CAEH,EAEaE,EAAuB,SAACF,EAAsBf,GACzD,KAAOe,EAAe,GAAG,CACvB,IAAMT,EAAQN,EAAaG,UAAUY,GACrC,GAAIN,EAAWH,GACb,OAAOS,CAEV,CAEH"}
1
+ {"version":3,"file":"ListUtils.js","sources":["../../../../../src/components/List/utils/ListUtils.ts"],"sourcesContent":["import { type MutableRefObject, useState } from \"react\";\nimport { type ListItemElement } from \"../../ListItem/ListItem.types\";\nimport { type ListElement } from \"../List.types\";\nimport useIsomorphicLayoutEffect from \"../../../hooks/ssr/useIsomorphicLayoutEffect\";\n\nlet listIdCounter = 0;\nexport const generateListId = () => {\n return `list-${listIdCounter++}`;\n};\n\nconst VALID_ROLES = [\"option\", \"listitem\", \"menuitem\", \"tab\", \"treeitem\"];\n\nexport const useListId = (id: string) => {\n const [listId, setListId] = useState<string>();\n useIsomorphicLayoutEffect(() => {\n setListId(id || generateListId());\n }, [id]);\n return listId;\n};\n\nexport const getListItemIdByIndex = (childrenRefs: MutableRefObject<HTMLElement[]>, index: number): string => {\n return childrenRefs.current[index]?.id;\n};\n\nexport const getListItemIndexById = (childrenRefs: MutableRefObject<HTMLElement[]>, id: string): number => {\n return childrenRefs.current.findIndex(child => child?.id === id);\n};\n\nexport const getListItemComponentType = (listComponent: ListElement): ListItemElement => {\n switch (listComponent) {\n case \"ul\":\n case \"ol\":\n return \"li\";\n case \"nav\":\n return \"a\";\n default:\n return \"div\";\n }\n};\n\nexport const isListItem = (element: HTMLElement) => {\n return element && element instanceof HTMLElement && VALID_ROLES.includes(element.getAttribute(\"role\"));\n};\n\nexport const getNextListItemIndex = (currentIndex: number, childrenRefs: MutableRefObject<HTMLElement[]>) => {\n while (currentIndex < childrenRefs.current.length - 1) {\n const child = childrenRefs.current[++currentIndex];\n if (isListItem(child)) {\n return currentIndex;\n }\n }\n return undefined;\n};\n\nexport const getPrevListItemIndex = (currentIndex: number, childrenRefs: MutableRefObject<HTMLElement[]>) => {\n while (currentIndex > 0) {\n const child = childrenRefs.current[--currentIndex];\n if (isListItem(child)) {\n return currentIndex;\n }\n }\n return undefined;\n};\n"],"names":["listIdCounter","generateListId","concat","VALID_ROLES","useListId","id","_useState","useState","_useState2","_slicedToArray","listId","setListId","useIsomorphicLayoutEffect","getListItemIdByIndex","childrenRefs","index","_a","current","getListItemIndexById","findIndex","child","getListItemComponentType","listComponent","isListItem","element","HTMLElement","includes","getAttribute","getNextListItemIndex","currentIndex","length","getPrevListItemIndex"],"mappings":"kLAKA,IAAIA,EAAgB,EACPC,EAAiB,WAC5B,MAAAC,QAAAA,OAAeF,IACjB,EAEMG,EAAc,CAAC,SAAU,WAAY,WAAY,MAAO,YAEjDC,EAAY,SAACC,GACxB,IAAAC,EAA4BC,IAAkBC,EAAAC,EAAAH,EAAA,GAAvCI,EAAMF,EAAA,GAAEG,EAASH,EAAA,GAIxB,OAHAI,GAA0B,WACxBD,EAAUN,GAAMJ,IAClB,GAAG,CAACI,IACGK,CACT,EAEaG,EAAuB,SAACC,EAA+CC,SAClF,OAAoC,QAA7BC,EAAAF,EAAaG,QAAQF,UAAQ,IAAAC,OAAA,EAAAA,EAAAX,EACtC,EAEaa,EAAuB,SAACJ,EAA+CT,GAClF,OAAOS,EAAaG,QAAQE,WAAU,SAAAC,GAAK,OAAIA,aAAA,EAAAA,EAAOf,MAAOA,IAC/D,EAEagB,EAA2B,SAACC,GACvC,OAAQA,GACN,IAAK,KACL,IAAK,KACH,MAAO,KACT,IAAK,MACH,MAAO,IACT,QACE,MAAO,MAEb,EAEaC,EAAa,SAACC,GACzB,OAAOA,GAAWA,aAAmBC,aAAetB,EAAYuB,SAASF,EAAQG,aAAa,QAChG,EAEaC,EAAuB,SAACC,EAAsBf,GACzD,KAAsBA,EAAaG,QAAQa,OAAS,EAA7CD,GAAgD,CACrD,IAAMT,EAAQN,EAAaG,UAAUY,GACrC,GAAIN,EAAWH,GACb,OAAOS,CAEX,CAEF,EAEaE,EAAuB,SAACF,EAAsBf,GACzD,KAAOe,EAAe,GAAG,CACvB,IAAMT,EAAQN,EAAaG,UAAUY,GACrC,GAAIN,EAAWH,GACb,OAAOS,CAEX,CAEF"}
@@ -1,2 +1,2 @@
1
- var e={listItem:"listItem_1fa818f2bf","focus-visible":"focus-visible_d67149d7f5",disabled:"disabled_7488c3d043",selected:"selected_00235f47af",small:"small_c92c01e5c1",medium:"medium_9c1663d113",large:"large_72a680d12a"};!function(e){const n="s_id-8402a299d384_4_0_0-alpha_0";if("undefined"!=typeof document){const l=document.head||document.getElementsByTagName("head")[0];if(l.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,l.firstChild?l.insertBefore(t,l.firstChild):l.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable selector-class-pattern */\n/* stylelint-disable */\n/* stylelint-enable */\n.listItem_1fa818f2bf {\n display: flex;\n align-items: center;\n padding: 8px 16px;\n border-radius: 4px;\n cursor: pointer;\n}\n.listItem_1fa818f2bf:focus-visible, .listItem_1fa818f2bf.focus-visible_d67149d7f5 {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5) inset, 0 0 0 1px var(--primary-hover-color) inset;\n}\n.listItem_1fa818f2bf:focus:not(.focus-visible_d67149d7f5) {\n outline: none;\n}\n.listItem_1fa818f2bf:hover {\n background-color: var(--primary-background-hover-color);\n}\n.disabled_7488c3d043 {\n cursor: not-allowed;\n}\n.disabled_7488c3d043:hover {\n background-color: transparent;\n}\n.selected_00235f47af {\n background-color: var(--primary-selected-color);\n}\n.selected_00235f47af:hover {\n background-color: var(--primary-selected-color);\n}\n.small_c92c01e5c1 {\n height: 32px;\n}\n.medium_9c1663d113 {\n height: 40px;\n}\n.large_72a680d12a {\n height: 48px;\n}");export{e as default};
1
+ var e={listItem:"listItem_ff8189122f","focus-visible":"focus-visible_8253daee82",disabled:"disabled_20b89b6b4f",selected:"selected_f8eae401ce",small:"small_4e694c0f11",medium:"medium_513d7b0dc4",large:"large_e77df3e528"};!function(e){const n="s_id-8402a299d384_4_0_0-alpha_2";if("undefined"!=typeof document){const l=document.head||document.getElementsByTagName("head")[0];if(l.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,l.firstChild?l.insertBefore(t,l.firstChild):l.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable selector-class-pattern */\n/* stylelint-disable */\n/* stylelint-enable */\n.listItem_ff8189122f {\n display: flex;\n align-items: center;\n padding: 8px 16px;\n border-radius: 4px;\n cursor: pointer;\n}\n.listItem_ff8189122f:focus-visible, .listItem_ff8189122f.focus-visible_8253daee82 {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5) inset, 0 0 0 1px var(--primary-hover-color) inset;\n}\n.listItem_ff8189122f:focus:not(.focus-visible_8253daee82) {\n outline: none;\n}\n.listItem_ff8189122f:hover {\n background-color: var(--primary-background-hover-color);\n}\n.disabled_20b89b6b4f {\n cursor: not-allowed;\n}\n.disabled_20b89b6b4f:hover {\n background-color: transparent;\n}\n.selected_f8eae401ce {\n background-color: var(--primary-selected-color);\n}\n.selected_f8eae401ce:hover {\n background-color: var(--primary-selected-color);\n}\n.small_4e694c0f11 {\n height: 32px;\n}\n.medium_513d7b0dc4 {\n height: 40px;\n}\n.large_e77df3e528 {\n height: 48px;\n}");export{e as default};
2
2
  //# sourceMappingURL=ListItem.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={listItemAvatar:"listItemAvatar_180613c42d",avatar:"avatar_259d47e749"};!function(e){const t="s_id-4e549e461b77_4_0_0-alpha_0";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const a=document.createElement("style");a.id=t,n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a),a.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.listItemAvatar_180613c42d {\n display: flex;\n align-items: center;\n color: var(--primary-text-color);\n}\n.avatar_259d47e749 {\n width: 22px;\n height: 22px;\n margin-inline-end: var(--space-8);\n}");export{e as default};
1
+ var e={listItemAvatar:"listItemAvatar_a16f724658",avatar:"avatar_d523b47667"};!function(e){const t="s_id-4e549e461b77_4_0_0-alpha_2";if("undefined"!=typeof document){const a=document.head||document.getElementsByTagName("head")[0];if(a.querySelector("#"+t))return;const n=document.createElement("style");n.id=t,a.firstChild?a.insertBefore(n,a.firstChild):a.appendChild(n),n.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.listItemAvatar_a16f724658 {\n display: flex;\n align-items: center;\n color: var(--primary-text-color);\n}\n.avatar_d523b47667 {\n width: 22px;\n height: 22px;\n margin-inline-end: var(--space-8);\n}");export{e as default};
2
2
  //# sourceMappingURL=ListItemAvatar.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={listItemIcon:"listItemIcon_180613c42d",start:"start_4006417eb3",end:"end_b0643c4840"};!function(e){const n="s_id-1b4ecdbffa23_4_0_0-alpha_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const i=document.createElement("style");i.id=n,t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.listItemIcon_180613c42d {\n display: flex;\n align-items: center;\n color: var(--primary-text-color);\n}\n.start_4006417eb3 {\n margin-inline-end: var(--space-8);\n}\n.end_b0643c4840 {\n margin-inline-start: var(--space-8);\n}");export{e as default};
1
+ var e={listItemIcon:"listItemIcon_a16f724658",start:"start_bb563918b5",end:"end_14785ab5b7"};!function(e){const n="s_id-1b4ecdbffa23_4_0_0-alpha_2";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const a=document.createElement("style");a.id=n,t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.listItemIcon_a16f724658 {\n display: flex;\n align-items: center;\n color: var(--primary-text-color);\n}\n.start_bb563918b5 {\n margin-inline-end: var(--space-8);\n}\n.end_14785ab5b7 {\n margin-inline-start: var(--space-8);\n}");export{e as default};
2
2
  //# sourceMappingURL=ListItemIcon.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={listTitle:"listTitle_b69bb31ae4"};!function(e){const t="s_id-76c16cf3efba_4_0_0-alpha_0";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.listTitle_b69bb31ae4 {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n padding: var(--space-16) var(--space-16) var(--space-8);\n border-radius: var(--border-radius-small);\n}");export{e as default};
1
+ var e={listTitle:"listTitle_f1e9515853"};!function(e){const t="s_id-76c16cf3efba_4_0_0-alpha_2";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.listTitle_f1e9515853 {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n padding: var(--space-16) var(--space-16) var(--space-8);\n border-radius: var(--border-radius-small);\n}");export{e as default};
2
2
  //# sourceMappingURL=ListTitle.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={menu:"menu_f1c4f3f224",small:"small_e35690806e",medium:"medium_230d3f45b6",large:"large_8aa617bd10"};!function(e){const n="s_id-1599ba0bb296_4_0_0-alpha_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)}("/* stylelint-disable */\n/* stylelint-enable */\n.menu_f1c4f3f224 {\n margin: unset;\n padding: unset;\n position: relative;\n}\n.menu_f1c4f3f224:focus {\n outline: none;\n}\n.small_e35690806e {\n width: 200px;\n}\n.medium_230d3f45b6 {\n width: 220px;\n}\n.large_8aa617bd10 {\n width: 240px;\n}");export{e as default};
1
+ var e={menu:"menu_32f4662716",small:"small_9d52cd93f4",medium:"medium_201e6154e4",large:"large_f95b931871"};!function(e){const n="s_id-1599ba0bb296_4_0_0-alpha_2";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)}("/* stylelint-disable */\n/* stylelint-enable */\n.menu_32f4662716 {\n margin: unset;\n padding: unset;\n position: relative;\n}\n.menu_32f4662716:focus {\n outline: none;\n}\n.small_9d52cd93f4 {\n width: 200px;\n}\n.medium_201e6154e4 {\n width: 220px;\n}\n.large_f95b931871 {\n width: 240px;\n}");export{e as default};
2
2
  //# sourceMappingURL=Menu.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFocusOnMount.js","sources":["../../../../../../src/components/Menu/Menu/hooks/useFocusOnMount.tsx"],"sourcesContent":["import { useEffect } from \"react\";\nimport { type ReactElement } from \"react\";\nimport { isMenuChildSelectable } from \"../utils/utils\";\n\nexport interface UseFocusOnMountProps {\n focusItemIndexOnMount: number;\n focusChildOnMount: ReactElement;\n getNextSelectableIndex: (index: number) => number | null;\n updateActiveItemIndex: (index: number) => void;\n setIsInitialFocusSet: (state: boolean) => void;\n}\n\nexport const useFocusOnMount = ({\n focusItemIndexOnMount,\n focusChildOnMount,\n getNextSelectableIndex,\n updateActiveItemIndex,\n setIsInitialFocusSet\n}: UseFocusOnMountProps) => {\n useEffect(() => {\n if (focusItemIndexOnMount === -1) {\n return;\n }\n\n const indexToFocusOnMount = isMenuChildSelectable(focusChildOnMount)\n ? focusItemIndexOnMount\n : getNextSelectableIndex(focusItemIndexOnMount);\n\n if (indexToFocusOnMount !== null) {\n requestAnimationFrame(() => {\n updateActiveItemIndex(indexToFocusOnMount);\n setIsInitialFocusSet(true);\n });\n }\n }, [focusChildOnMount, focusItemIndexOnMount, getNextSelectableIndex, setIsInitialFocusSet, updateActiveItemIndex]);\n};\n"],"names":["useFocusOnMount","_ref","focusItemIndexOnMount","focusChildOnMount","getNextSelectableIndex","updateActiveItemIndex","setIsInitialFocusSet","useEffect","indexToFocusOnMount","isMenuChildSelectable","requestAnimationFrame"],"mappings":"gGAYaA,EAAkB,SAAHC,GAMD,IALzBC,EAAqBD,EAArBC,sBACAC,EAAiBF,EAAjBE,kBACAC,EAAsBH,EAAtBG,uBACAC,EAAqBJ,EAArBI,sBACAC,EAAoBL,EAApBK,qBAEAC,GAAU,WACR,IAA+B,IAA3BL,EAAJ,CAIA,IAAMM,EAAsBC,EAAsBN,GAC9CD,EACAE,EAAuBF,GAEC,OAAxBM,GACFE,uBAAsB,WACpBL,EAAsBG,GACtBF,GAAqB,EACvB,GAVD,CAYH,GAAG,CAACH,EAAmBD,EAAuBE,EAAwBE,EAAsBD,GAC9F"}
1
+ {"version":3,"file":"useFocusOnMount.js","sources":["../../../../../../src/components/Menu/Menu/hooks/useFocusOnMount.tsx"],"sourcesContent":["import { useEffect } from \"react\";\nimport { type ReactElement } from \"react\";\nimport { isMenuChildSelectable } from \"../utils/utils\";\n\nexport interface UseFocusOnMountProps {\n focusItemIndexOnMount: number;\n focusChildOnMount: ReactElement;\n getNextSelectableIndex: (index: number) => number | null;\n updateActiveItemIndex: (index: number) => void;\n setIsInitialFocusSet: (state: boolean) => void;\n}\n\nexport const useFocusOnMount = ({\n focusItemIndexOnMount,\n focusChildOnMount,\n getNextSelectableIndex,\n updateActiveItemIndex,\n setIsInitialFocusSet\n}: UseFocusOnMountProps) => {\n useEffect(() => {\n if (focusItemIndexOnMount === -1) {\n return;\n }\n\n const indexToFocusOnMount = isMenuChildSelectable(focusChildOnMount)\n ? focusItemIndexOnMount\n : getNextSelectableIndex(focusItemIndexOnMount);\n\n if (indexToFocusOnMount !== null) {\n requestAnimationFrame(() => {\n updateActiveItemIndex(indexToFocusOnMount);\n setIsInitialFocusSet(true);\n });\n }\n }, [focusChildOnMount, focusItemIndexOnMount, getNextSelectableIndex, setIsInitialFocusSet, updateActiveItemIndex]);\n};\n"],"names":["useFocusOnMount","_ref","focusItemIndexOnMount","focusChildOnMount","getNextSelectableIndex","updateActiveItemIndex","setIsInitialFocusSet","useEffect","indexToFocusOnMount","isMenuChildSelectable","requestAnimationFrame"],"mappings":"gGAYaA,EAAkB,SAAHC,GAMD,IALzBC,EAAqBD,EAArBC,sBACAC,EAAiBF,EAAjBE,kBACAC,EAAsBH,EAAtBG,uBACAC,EAAqBJ,EAArBI,sBACAC,EAAoBL,EAApBK,qBAEAC,GAAU,WACR,IAA+B,IAA3BL,EAAJ,CAIA,IAAMM,EAAsBC,EAAsBN,GAC9CD,EACAE,EAAuBF,GAEC,OAAxBM,GACFE,uBAAsB,WACpBL,EAAsBG,GACtBF,GAAqB,EACvB,GAVF,CAYF,GAAG,CAACH,EAAmBD,EAAuBE,EAAwBE,EAAsBD,GAC9F"}
@@ -1,2 +1,2 @@
1
- var e={menuChildDivider:"menuChildDivider_395693679a"};!function(e){const d="s_id-b255f2c3e0ea_4_0_0-alpha_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+d))return;const i=document.createElement("style");i.id=d,t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[d]=e)}(".menuChildDivider_395693679a {\n width: 100%;\n padding: 0 var(--space-8);\n}");export{e as default};
1
+ var e={menuChildDivider:"menuChildDivider_90c40cf836"};!function(e){const d="s_id-b255f2c3e0ea_4_0_0-alpha_2";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+d))return;const i=document.createElement("style");i.id=d,t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[d]=e)}(".menuChildDivider_90c40cf836 {\n width: 100%;\n padding: 0 var(--space-8);\n}");export{e as default};
2
2
  //# sourceMappingURL=MenuDivider.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={title:"title_3ca7d2f8fc"};!function(e){const t="s_id-b06386a2bb6c_4_0_0-alpha_0";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const d=document.createElement("style");d.id=t,n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".title_3ca7d2f8fc {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n flex-grow: 1;\n padding-block: 1px;\n}");export{e as default};
1
+ var e={title:"title_0859d3c59e"};!function(e){const t="s_id-b06386a2bb6c_4_0_0-alpha_2";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const d=document.createElement("style");d.id=t,n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".title_0859d3c59e {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n flex-grow: 1;\n padding-block: 1px;\n}");export{e as default};
2
2
  //# sourceMappingURL=MenuItem.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={item:"item_f8d2bb5c86",splitMenuItem:"splitMenuItem_7e008f0ba3",disabled:"disabled_893c9c52de",focused:"focused_d88aff9d69",initialSelected:"initialSelected_8f715d1262",selected:"selected_3b449671a2"};!function(e){const n="s_id-5b7b751737f9_4_0_0-alpha_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)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable selector-class-pattern */\n.item_f8d2bb5c86 {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n margin: unset;\n display: flex;\n flex-direction: row;\n padding: var(--space-4) var(--space-8);\n cursor: pointer;\n user-select: none;\n align-items: center;\n border: 1px solid transparent;\n outline: none;\n}\n.item_f8d2bb5c86.splitMenuItem_7e008f0ba3 {\n padding: 0 0 0 var(--space-8);\n}\n.item_f8d2bb5c86.disabled_893c9c52de {\n cursor: not-allowed;\n color: var(--disabled-text-color);\n}\n.item_f8d2bb5c86.focused_d88aff9d69:not(.disabled_893c9c52de) {\n background-color: var(--primary-background-hover-color);\n border-radius: var(--border-radius-small);\n}\n.item_f8d2bb5c86.focused_d88aff9d69:not(.disabled_893c9c52de):not(:hover):not(.initialSelected_8f715d1262) {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.item_f8d2bb5c86.selected_3b449671a2:not(.disabled_893c9c52de) {\n background-color: var(--primary-selected-color);\n border-radius: var(--border-radius-small);\n}");export{e as default};
1
+ var e={item:"item_d899714259",splitMenuItem:"splitMenuItem_781fea472e",disabled:"disabled_ffd604db76",focused:"focused_96633bd85f",initialSelected:"initialSelected_06b014c503",selected:"selected_79705e9736"};!function(e){const n="s_id-5b7b751737f9_4_0_0-alpha_2";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)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable selector-class-pattern */\n.item_d899714259 {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n margin: unset;\n display: flex;\n flex-direction: row;\n padding: var(--space-4) var(--space-8);\n cursor: pointer;\n user-select: none;\n align-items: center;\n border: 1px solid transparent;\n outline: none;\n}\n.item_d899714259.splitMenuItem_781fea472e {\n padding: 0 0 0 var(--space-8);\n}\n.item_d899714259.disabled_ffd604db76 {\n cursor: not-allowed;\n color: var(--disabled-text-color);\n}\n.item_d899714259.focused_96633bd85f:not(.disabled_ffd604db76) {\n background-color: var(--primary-background-hover-color);\n border-radius: var(--border-radius-small);\n}\n.item_d899714259.focused_96633bd85f:not(.disabled_ffd604db76):not(:hover):not(.initialSelected_06b014c503) {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.item_d899714259.selected_79705e9736:not(.disabled_ffd604db76) {\n background-color: var(--primary-selected-color);\n border-radius: var(--border-radius-small);\n}");export{e as default};
2
2
  //# sourceMappingURL=BaseMenuItem.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={iconWrapper:"iconWrapper_4006417eb3",rightIcon:"rightIcon_47939b1c91",withBackgroundColor:"withBackgroundColor_8a7b2d4117",disabled:"disabled_0cf6c081d3",icon:"icon_4a5b3cc12f",selected:"selected_0abeb4aaac"};!function(e){const n="s_id-031e2c862ceb_4_0_0-alpha_0";if("undefined"!=typeof document){const c=document.head||document.getElementsByTagName("head")[0];if(c.querySelector("#"+n))return;const o=document.createElement("style");o.id=n,c.firstChild?c.insertBefore(o,c.firstChild):c.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".iconWrapper_4006417eb3 {\n margin-inline-end: var(--space-8);\n}\n.iconWrapper_4006417eb3.rightIcon_47939b1c91 {\n margin-inline-end: 0;\n margin-inline-start: var(--space-8);\n}\n.iconWrapper_4006417eb3.withBackgroundColor_8a7b2d4117 {\n border-radius: var(--space-4);\n}\n.iconWrapper_4006417eb3.withBackgroundColor_8a7b2d4117.disabled_0cf6c081d3 {\n opacity: 0.4;\n}\n.iconWrapper_4006417eb3.withBackgroundColor_8a7b2d4117 .icon_4a5b3cc12f {\n color: var(--text-color-on-primary);\n}\n.iconWrapper_4006417eb3.disabled_0cf6c081d3 .icon_4a5b3cc12f {\n cursor: not-allowed;\n color: var(--disabled-text-color);\n}\n.iconWrapper_4006417eb3 .icon_4a5b3cc12f {\n color: var(--icon-color);\n}\n.iconWrapper_4006417eb3 .icon_4a5b3cc12f.selected_0abeb4aaac {\n color: var(--primary-color);\n}");export{e as default};
1
+ var n={iconWrapper:"iconWrapper_bb563918b5",rightIcon:"rightIcon_7e3608c2f3",withBackgroundColor:"withBackgroundColor_ba5dbd3439",disabled:"disabled_22146910b0",icon:"icon_22741d60c9",selected:"selected_a8869aa582"};!function(n){const e="s_id-031e2c862ceb_4_0_0-alpha_2";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+e))return;const r=document.createElement("style");r.id=e,o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}(".iconWrapper_bb563918b5 {\n margin-inline-end: var(--space-8);\n}\n.iconWrapper_bb563918b5.rightIcon_7e3608c2f3 {\n margin-inline-end: 0;\n margin-inline-start: var(--space-8);\n}\n.iconWrapper_bb563918b5.withBackgroundColor_ba5dbd3439 {\n border-radius: var(--space-4);\n}\n.iconWrapper_bb563918b5.withBackgroundColor_ba5dbd3439.disabled_22146910b0 {\n opacity: 0.4;\n}\n.iconWrapper_bb563918b5.withBackgroundColor_ba5dbd3439 .icon_22741d60c9 {\n color: var(--text-color-on-primary);\n}\n.iconWrapper_bb563918b5.disabled_22146910b0 .icon_22741d60c9 {\n cursor: not-allowed;\n color: var(--disabled-text-color);\n}\n.iconWrapper_bb563918b5 .icon_22741d60c9 {\n color: var(--icon-color);\n}\n.iconWrapper_bb563918b5 .icon_22741d60c9.selected_a8869aa582 {\n color: var(--primary-color);\n}");export{n as default};
2
2
  //# sourceMappingURL=MenuItemIcon.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuItemSubMenu.js","sources":["../../../../../../../src/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.tsx"],"sourcesContent":["import React, { useMemo, useRef } from \"react\";\nimport { DialogContentContainer } from \"@vibe/dialog\";\nimport { useFloating, flip, type Placement } from \"@floating-ui/react-dom\";\nimport { type MenuChild } from \"../../../Menu/MenuConstants\";\nimport { type MenuItemSubMenuProps } from \"./MenuItemSubMenu.types\";\nimport { useIsomorphicLayoutEffect } from \"@vibe/shared\";\n\nconst DEFAULT_FALLBACK_PLACEMENTS: Placement[] = [\"right-end\", \"left-start\", \"left-end\"];\n\nconst MenuItemSubMenu = ({\n anchorRef,\n open,\n autoFocusOnMount,\n onClose,\n children,\n submenuPosition\n}: MenuItemSubMenuProps) => {\n const childRef = useRef<HTMLDivElement>(null);\n\n useIsomorphicLayoutEffect(() => {\n if (!autoFocusOnMount || !open || !childRef?.current) {\n return;\n }\n requestAnimationFrame(() => {\n childRef.current.focus();\n });\n }, [autoFocusOnMount, open]);\n\n const placement = useMemo<Placement>(\n () => (submenuPosition === \"left\" ? \"left-start\" : \"right-start\"),\n [submenuPosition]\n );\n\n const {\n refs,\n floatingStyles,\n placement: actualPlacement\n } = useFloating({\n placement,\n middleware: [flip({ fallbackPlacements: DEFAULT_FALLBACK_PLACEMENTS })],\n elements: {\n reference: anchorRef?.current\n }\n });\n\n const subMenu: MenuChild = children && React.Children.only(children);\n if (!subMenu?.type?.isMenu) {\n console.error(\"MenuItem can accept only Menu element as first level child, this element is not valid: \", subMenu);\n return null;\n }\n\n return (\n <div\n style={{ ...floatingStyles, visibility: open ? \"visible\" : \"hidden\" }}\n ref={refs.setFloating}\n data-popper-placement={actualPlacement}\n >\n {subMenu && open && (\n <DialogContentContainer>\n {React.cloneElement(subMenu, {\n ...subMenu?.props,\n isVisible: open,\n isSubMenu: true,\n onClose,\n ref: childRef,\n useDocumentEventListeners: !autoFocusOnMount\n })}\n </DialogContentContainer>\n )}\n </div>\n );\n};\n\nexport default MenuItemSubMenu;\n"],"names":["DEFAULT_FALLBACK_PLACEMENTS","MenuItemSubMenu","_ref","anchorRef","open","autoFocusOnMount","onClose","children","submenuPosition","childRef","useRef","useIsomorphicLayoutEffect","current","requestAnimationFrame","focus","placement","useMemo","_useFloating","useFloating","middleware","flip","fallbackPlacements","elements","reference","refs","floatingStyles","actualPlacement","subMenu","React","Children","only","_a","type","isMenu","createElement","style","Object","assign","visibility","ref","setFloating","DialogContentContainer","cloneElement","props","isVisible","isSubMenu","useDocumentEventListeners","console","error"],"mappings":"wUAOA,IAAMA,EAA2C,CAAC,YAAa,aAAc,YAEvEC,EAAkB,SAAHC,GAOM,MANzBC,EAASD,EAATC,UACAC,EAAIF,EAAJE,KACAC,EAAgBH,EAAhBG,iBACAC,EAAOJ,EAAPI,QACAC,EAAQL,EAARK,SACAC,EAAeN,EAAfM,gBAEMC,EAAWC,EAAuB,MAExCC,GAA0B,WACnBN,GAAqBD,IAASK,aAAA,EAAAA,EAAUG,UAG7CC,uBAAsB,WACpBJ,EAASG,QAAQE,OACnB,GACF,GAAG,CAACT,EAAkBD,IAEtB,IAAMW,EAAYC,GAChB,WAAA,MAA2B,SAApBR,EAA6B,aAAe,aAAa,GAChE,CAACA,IAGHS,EAIIC,EAAY,CACdH,UAAAA,EACAI,WAAY,CAACC,EAAK,CAAEC,mBAAoBrB,KACxCsB,SAAU,CACRC,UAAWpB,aAAA,EAAAA,EAAWS,WAPxBY,EAAIP,EAAJO,KACAC,EAAcR,EAAdQ,eACWC,EAAeT,EAA1BF,UASIY,EAAqBpB,GAAYqB,EAAMC,SAASC,KAAKvB,GAC3D,OAAoB,QAAfwB,EAAAJ,aAAA,EAAAA,EAASK,YAAM,IAAAD,OAAA,EAAAA,EAAAE,QAMlBL,EAAAM,cAAA,MAAA,CACEC,MAAKC,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAOZ,GAAgB,CAAAa,WAAYlC,EAAO,UAAY,WAC3DmC,IAAKf,EAAKgB,YACa,wBAAAd,GAEtBC,GAAWvB,GACVwB,EAAAM,cAACO,EACE,KAAAb,EAAMc,aAAaf,EACfS,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAAV,aAAO,EAAPA,EAASgB,OACZ,CAAAC,UAAWxC,EACXyC,WAAW,EACXvC,QAAAA,EACAiC,IAAK9B,EACLqC,2BAA4BzC,QAlBpC0C,QAAQC,MAAM,0FAA2FrB,GAClG,KAuBX"}
1
+ {"version":3,"file":"MenuItemSubMenu.js","sources":["../../../../../../../src/components/Menu/MenuItem/components/MenuItemSubMenu/MenuItemSubMenu.tsx"],"sourcesContent":["import React, { useMemo, useRef } from \"react\";\nimport { DialogContentContainer } from \"@vibe/dialog\";\nimport { useFloating, flip, type Placement } from \"@floating-ui/react-dom\";\nimport { type MenuChild } from \"../../../Menu/MenuConstants\";\nimport { type MenuItemSubMenuProps } from \"./MenuItemSubMenu.types\";\nimport { useIsomorphicLayoutEffect } from \"@vibe/shared\";\n\nconst DEFAULT_FALLBACK_PLACEMENTS: Placement[] = [\"right-end\", \"left-start\", \"left-end\"];\n\nconst MenuItemSubMenu = ({\n anchorRef,\n open,\n autoFocusOnMount,\n onClose,\n children,\n submenuPosition\n}: MenuItemSubMenuProps) => {\n const childRef = useRef<HTMLDivElement>(null);\n\n useIsomorphicLayoutEffect(() => {\n if (!autoFocusOnMount || !open || !childRef?.current) {\n return;\n }\n requestAnimationFrame(() => {\n childRef.current.focus();\n });\n }, [autoFocusOnMount, open]);\n\n const placement = useMemo<Placement>(\n () => (submenuPosition === \"left\" ? \"left-start\" : \"right-start\"),\n [submenuPosition]\n );\n\n const {\n refs,\n floatingStyles,\n placement: actualPlacement\n } = useFloating({\n placement,\n middleware: [flip({ fallbackPlacements: DEFAULT_FALLBACK_PLACEMENTS })],\n elements: {\n reference: anchorRef?.current\n }\n });\n\n const subMenu: MenuChild = children && React.Children.only(children);\n if (!subMenu?.type?.isMenu) {\n console.error(\"MenuItem can accept only Menu element as first level child, this element is not valid: \", subMenu);\n return null;\n }\n\n return (\n <div\n style={{ ...floatingStyles, visibility: open ? \"visible\" : \"hidden\" }}\n ref={refs.setFloating}\n data-popper-placement={actualPlacement}\n >\n {subMenu && open && (\n <DialogContentContainer>\n {React.cloneElement(subMenu, {\n ...subMenu?.props,\n isVisible: open,\n isSubMenu: true,\n onClose,\n ref: childRef,\n useDocumentEventListeners: !autoFocusOnMount\n })}\n </DialogContentContainer>\n )}\n </div>\n );\n};\n\nexport default MenuItemSubMenu;\n"],"names":["DEFAULT_FALLBACK_PLACEMENTS","MenuItemSubMenu","_ref","anchorRef","open","autoFocusOnMount","onClose","children","submenuPosition","childRef","useRef","useIsomorphicLayoutEffect","current","requestAnimationFrame","focus","placement","useMemo","_useFloating","useFloating","middleware","flip","fallbackPlacements","elements","reference","refs","floatingStyles","actualPlacement","subMenu","React","Children","only","_a","type","isMenu","createElement","style","Object","assign","visibility","ref","setFloating","DialogContentContainer","cloneElement","props","isVisible","isSubMenu","useDocumentEventListeners","console","error"],"mappings":"wUAOA,IAAMA,EAA2C,CAAC,YAAa,aAAc,YAEvEC,EAAkB,SAAHC,GAOM,MANzBC,EAASD,EAATC,UACAC,EAAIF,EAAJE,KACAC,EAAgBH,EAAhBG,iBACAC,EAAOJ,EAAPI,QACAC,EAAQL,EAARK,SACAC,EAAeN,EAAfM,gBAEMC,EAAWC,EAAuB,MAExCC,GAA0B,WACnBN,GAAqBD,IAASK,aAAA,EAAAA,EAAUG,UAG7CC,uBAAsB,WACpBJ,EAASG,QAAQE,OACnB,GACF,GAAG,CAACT,EAAkBD,IAEtB,IAAMW,EAAYC,GAChB,WAAA,MAA2B,SAApBR,EAA6B,aAAe,aAAa,GAChE,CAACA,IAGHS,EAIIC,EAAY,CACdH,UAAAA,EACAI,WAAY,CAACC,EAAK,CAAEC,mBAAoBrB,KACxCsB,SAAU,CACRC,UAAWpB,aAAA,EAAAA,EAAWS,WAPxBY,EAAIP,EAAJO,KACAC,EAAcR,EAAdQ,eACWC,EAAeT,EAA1BF,UASIY,EAAqBpB,GAAYqB,EAAMC,SAASC,KAAKvB,GAC3D,OAAkB,QAAbwB,EAAAJ,aAAO,EAAPA,EAASK,YAAI,IAAAD,OAAA,EAAAA,EAAEE,QAMlBL,EAAAM,cAAA,MAAA,CACEC,MAAKC,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAOZ,GAAgB,CAAAa,WAAYlC,EAAO,UAAY,WAC3DmC,IAAKf,EAAKgB,YACa,wBAAAd,GAEtBC,GAAWvB,GACVwB,EAAAM,cAACO,EACE,KAAAb,EAAMc,aAAaf,EACfS,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAAV,aAAO,EAAPA,EAASgB,OACZ,CAAAC,UAAWxC,EACXyC,WAAW,EACXvC,QAAAA,EACAiC,IAAK9B,EACLqC,2BAA4BzC,QAlBpC0C,QAAQC,MAAM,0FAA2FrB,GAClG,KAuBX"}
@@ -1,2 +1,2 @@
1
- var e={subMenuIconWrapper:"subMenuIconWrapper_80643ae14d",divider:"divider_2f7e97f4c0",splitSubMenuIcon:"splitSubMenuIcon_9e8bd6d78f",subMenuIcon:"subMenuIcon_b704a6783f",disabled:"disabled_893c9c52de",splitMenuItemIconButton:"splitMenuItemIconButton_ab924d6a5b"};!function(e){const n="s_id-b28b9c0c92bb_4_0_0-alpha_0";if("undefined"!=typeof document){const d=document.head||document.getElementsByTagName("head")[0];if(d.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,d.firstChild?d.insertBefore(t,d.firstChild):d.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".subMenuIconWrapper_80643ae14d {\n margin-inline-start: var(--space-4);\n}\n.subMenuIconWrapper_80643ae14d .divider_2f7e97f4c0 {\n height: 19px;\n}\n.subMenuIconWrapper_80643ae14d .splitSubMenuIcon_9e8bd6d78f {\n width: 18px;\n height: 18px;\n}\n.subMenuIconWrapper_80643ae14d .subMenuIcon_b704a6783f,\n.subMenuIconWrapper_80643ae14d .splitSubMenuIcon_9e8bd6d78f {\n color: var(--icon-color);\n}\n.subMenuIconWrapper_80643ae14d .subMenuIcon_b704a6783f.disabled_893c9c52de,\n.subMenuIconWrapper_80643ae14d .splitSubMenuIcon_9e8bd6d78f.disabled_893c9c52de {\n cursor: not-allowed;\n color: var(--disabled-text-color);\n}\n.subMenuIconWrapper_80643ae14d .splitMenuItemIconButton_ab924d6a5b {\n width: 34px;\n height: 30px;\n --primary-selected-color: rgba(103, 104, 121, 0.1);\n}");export{e as default};
1
+ var e={subMenuIconWrapper:"subMenuIconWrapper_2ab864157e",divider:"divider_90920525e0",splitSubMenuIcon:"splitSubMenuIcon_7c393bf669",subMenuIcon:"subMenuIcon_4ef1993849",disabled:"disabled_ffd604db76",splitMenuItemIconButton:"splitMenuItemIconButton_50ba9f2240"};!function(e){const n="s_id-b28b9c0c92bb_4_0_0-alpha_2";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)}(".subMenuIconWrapper_2ab864157e {\n margin-inline-start: var(--space-4);\n}\n.subMenuIconWrapper_2ab864157e .divider_90920525e0 {\n height: 19px;\n}\n.subMenuIconWrapper_2ab864157e .splitSubMenuIcon_7c393bf669 {\n width: 18px;\n height: 18px;\n}\n.subMenuIconWrapper_2ab864157e .subMenuIcon_4ef1993849,\n.subMenuIconWrapper_2ab864157e .splitSubMenuIcon_7c393bf669 {\n color: var(--icon-color);\n}\n.subMenuIconWrapper_2ab864157e .subMenuIcon_4ef1993849.disabled_ffd604db76,\n.subMenuIconWrapper_2ab864157e .splitSubMenuIcon_7c393bf669.disabled_ffd604db76 {\n cursor: not-allowed;\n color: var(--disabled-text-color);\n}\n.subMenuIconWrapper_2ab864157e .splitMenuItemIconButton_50ba9f2240 {\n width: 34px;\n height: 30px;\n --primary-selected-color: rgba(103, 104, 121, 0.1);\n}");export{e as default};
2
2
  //# sourceMappingURL=MenuItemSubMenuIcon.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useMenuItemKeyboardEvents.js","sources":["../../../../../../src/components/Menu/MenuItem/hooks/useMenuItemKeyboardEvents.ts"],"sourcesContent":["import type React from \"react\";\nimport { useCallback } from \"react\";\nimport useKeyEvent from \"../../../../hooks/useKeyEvent\";\nimport { keyCodes } from \"../../../../constants\";\nimport { type CloseMenuOption } from \"../../Menu/MenuConstants\";\n\nconst KEYS = [keyCodes.ENTER, keyCodes.RIGHT_ARROW];\n\nexport default function useMenuItemKeyboardEvents({\n onClick,\n disabled,\n isActive,\n index,\n setActiveItemIndex,\n hasChildren,\n shouldShowSubMenu,\n setSubMenuIsOpenByIndex,\n menuRef,\n isMouseEnter,\n closeMenu,\n useDocumentEventListeners,\n splitMenuItem,\n isMouseEnterMenuItem,\n isMouseEnterIconButton\n}: {\n onClick: (event: React.MouseEvent | React.KeyboardEvent) => void;\n disabled: boolean;\n isActive: boolean;\n index: number;\n hasChildren: boolean;\n shouldShowSubMenu: boolean;\n setSubMenuIsOpenByIndex: (index: number, isOpen: boolean) => void;\n setActiveItemIndex: (index: number) => void;\n menuRef: React.RefObject<HTMLElement>;\n isMouseEnter: boolean;\n closeMenu: (option: CloseMenuOption) => void;\n useDocumentEventListeners: boolean;\n splitMenuItem?: boolean;\n isMouseEnterMenuItem?: boolean;\n isMouseEnterIconButton?: boolean;\n}) {\n const onClickCallback = useCallback(\n (event: React.MouseEvent | React.KeyboardEvent) => {\n if (!isActive && !isMouseEnter) return;\n if (!setActiveItemIndex || !setSubMenuIsOpenByIndex) {\n console.error(\"MenuItem must be a first level child of a menu\");\n return;\n }\n\n const isKeyEvent = event instanceof KeyboardEvent;\n\n if (isActive && hasChildren) {\n setActiveItemIndex(index);\n if (!splitMenuItem || isMouseEnterIconButton) {\n setSubMenuIsOpenByIndex(index, true);\n return;\n }\n }\n\n if (isKeyEvent && splitMenuItem) {\n setSubMenuIsOpenByIndex(index, true);\n }\n\n if (shouldShowSubMenu) return;\n\n const clickCallback = () => {\n event.preventDefault();\n onClick(event);\n closeMenu({ propagate: true });\n };\n\n if (isKeyEvent && onClick && !disabled && isActive) {\n if ((event as React.KeyboardEvent).key === \"ArrowRight\") {\n return;\n }\n clickCallback();\n }\n\n if (!isKeyEvent && onClick && !disabled && isMouseEnter) {\n if (!isActive) {\n setActiveItemIndex(index);\n if (hasChildren) {\n setSubMenuIsOpenByIndex(index, true);\n }\n }\n\n if ((splitMenuItem && isMouseEnterMenuItem && !isMouseEnterIconButton) || !hasChildren) {\n // wait for background of menu item to change before trigger click\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n clickCallback();\n });\n });\n }\n }\n },\n [\n isActive,\n isMouseEnter,\n setActiveItemIndex,\n setSubMenuIsOpenByIndex,\n hasChildren,\n splitMenuItem,\n shouldShowSubMenu,\n onClick,\n disabled,\n index,\n closeMenu,\n isMouseEnterMenuItem,\n isMouseEnterIconButton\n ]\n );\n\n const onKeyboardClick = useCallback((event: React.KeyboardEvent) => onClickCallback(event), [onClickCallback]);\n\n useKeyEvent({\n keys: KEYS,\n callback: onKeyboardClick,\n ref: useDocumentEventListeners ? undefined : menuRef\n });\n\n return { onClickCallback };\n}\n"],"names":["KEYS","keyCodes","ENTER","RIGHT_ARROW","useMenuItemKeyboardEvents","_ref","onClick","disabled","isActive","index","setActiveItemIndex","hasChildren","shouldShowSubMenu","setSubMenuIsOpenByIndex","menuRef","isMouseEnter","closeMenu","useDocumentEventListeners","splitMenuItem","isMouseEnterMenuItem","isMouseEnterIconButton","onClickCallback","useCallback","event","isKeyEvent","KeyboardEvent","clickCallback","preventDefault","propagate","key","requestAnimationFrame","console","error","onKeyboardClick","useKeyEvent","keys","callback","ref","undefined"],"mappings":"8LAMA,IAAMA,EAAO,CAACC,EAASC,MAAOD,EAASE,aAEf,SAAAC,EAAyBC,GAgChD,IA/BCC,EAAOD,EAAPC,QACAC,EAAQF,EAARE,SACAC,EAAQH,EAARG,SACAC,EAAKJ,EAALI,MACAC,EAAkBL,EAAlBK,mBACAC,EAAWN,EAAXM,YACAC,EAAiBP,EAAjBO,kBACAC,EAAuBR,EAAvBQ,wBACAC,EAAOT,EAAPS,QACAC,EAAYV,EAAZU,aACAC,EAASX,EAATW,UACAC,EAAyBZ,EAAzBY,0BACAC,EAAab,EAAba,cACAC,EAAoBd,EAApBc,qBACAC,EAAsBf,EAAtBe,uBAkBMC,EAAkBC,GACtB,SAACC,GACC,GAAKf,GAAaO,EAClB,GAAKL,GAAuBG,EAA5B,CAKA,IAAMW,EAAaD,aAAiBE,cAEpC,GAAIjB,GAAYG,IACdD,EAAmBD,IACdS,GAAiBE,GACpBP,EAAwBJ,GAAO,QASnC,GAJIe,GAAcN,GAChBL,EAAwBJ,GAAO,IAG7BG,EAAJ,CAEA,IAAMc,EAAgB,WACpBH,EAAMI,iBACNrB,EAAQiB,GACRP,EAAU,CAAEY,WAAW,KAGzB,GAAIJ,GAAclB,IAAYC,GAAYC,EAAU,CAClD,GAA2C,eAAtCe,EAA8BM,IACjC,OAEFH,GACD,EAEIF,GAAclB,IAAYC,GAAYQ,IACpCP,IACHE,EAAmBD,GACfE,GACFE,EAAwBJ,GAAO,KAI9BS,GAAiBC,IAAyBC,IAA4BT,IAEzEmB,uBAAsB,WACpBA,uBAAsB,WACpBJ,GACF,GACF,IA7BmB,CAhBtB,MAFCK,QAAQC,MAAM,iDAkDlB,GACA,CACExB,EACAO,EACAL,EACAG,EACAF,EACAO,EACAN,EACAN,EACAC,EACAE,EACAO,EACAG,EACAC,IAIEa,EAAkBX,GAAY,SAACC,GAA0B,OAAKF,EAAgBE,KAAQ,CAACF,IAQ7F,OANAa,EAAY,CACVC,KAAMnC,EACNoC,SAAUH,EACVI,IAAKpB,OAA4BqB,EAAYxB,IAGxC,CAAEO,gBAAAA,EACX"}
1
+ {"version":3,"file":"useMenuItemKeyboardEvents.js","sources":["../../../../../../src/components/Menu/MenuItem/hooks/useMenuItemKeyboardEvents.ts"],"sourcesContent":["import type React from \"react\";\nimport { useCallback } from \"react\";\nimport useKeyEvent from \"../../../../hooks/useKeyEvent\";\nimport { keyCodes } from \"../../../../constants\";\nimport { type CloseMenuOption } from \"../../Menu/MenuConstants\";\n\nconst KEYS = [keyCodes.ENTER, keyCodes.RIGHT_ARROW];\n\nexport default function useMenuItemKeyboardEvents({\n onClick,\n disabled,\n isActive,\n index,\n setActiveItemIndex,\n hasChildren,\n shouldShowSubMenu,\n setSubMenuIsOpenByIndex,\n menuRef,\n isMouseEnter,\n closeMenu,\n useDocumentEventListeners,\n splitMenuItem,\n isMouseEnterMenuItem,\n isMouseEnterIconButton\n}: {\n onClick: (event: React.MouseEvent | React.KeyboardEvent) => void;\n disabled: boolean;\n isActive: boolean;\n index: number;\n hasChildren: boolean;\n shouldShowSubMenu: boolean;\n setSubMenuIsOpenByIndex: (index: number, isOpen: boolean) => void;\n setActiveItemIndex: (index: number) => void;\n menuRef: React.RefObject<HTMLElement>;\n isMouseEnter: boolean;\n closeMenu: (option: CloseMenuOption) => void;\n useDocumentEventListeners: boolean;\n splitMenuItem?: boolean;\n isMouseEnterMenuItem?: boolean;\n isMouseEnterIconButton?: boolean;\n}) {\n const onClickCallback = useCallback(\n (event: React.MouseEvent | React.KeyboardEvent) => {\n if (!isActive && !isMouseEnter) return;\n if (!setActiveItemIndex || !setSubMenuIsOpenByIndex) {\n console.error(\"MenuItem must be a first level child of a menu\");\n return;\n }\n\n const isKeyEvent = event instanceof KeyboardEvent;\n\n if (isActive && hasChildren) {\n setActiveItemIndex(index);\n if (!splitMenuItem || isMouseEnterIconButton) {\n setSubMenuIsOpenByIndex(index, true);\n return;\n }\n }\n\n if (isKeyEvent && splitMenuItem) {\n setSubMenuIsOpenByIndex(index, true);\n }\n\n if (shouldShowSubMenu) return;\n\n const clickCallback = () => {\n event.preventDefault();\n onClick(event);\n closeMenu({ propagate: true });\n };\n\n if (isKeyEvent && onClick && !disabled && isActive) {\n if ((event as React.KeyboardEvent).key === \"ArrowRight\") {\n return;\n }\n clickCallback();\n }\n\n if (!isKeyEvent && onClick && !disabled && isMouseEnter) {\n if (!isActive) {\n setActiveItemIndex(index);\n if (hasChildren) {\n setSubMenuIsOpenByIndex(index, true);\n }\n }\n\n if ((splitMenuItem && isMouseEnterMenuItem && !isMouseEnterIconButton) || !hasChildren) {\n // wait for background of menu item to change before trigger click\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n clickCallback();\n });\n });\n }\n }\n },\n [\n isActive,\n isMouseEnter,\n setActiveItemIndex,\n setSubMenuIsOpenByIndex,\n hasChildren,\n splitMenuItem,\n shouldShowSubMenu,\n onClick,\n disabled,\n index,\n closeMenu,\n isMouseEnterMenuItem,\n isMouseEnterIconButton\n ]\n );\n\n const onKeyboardClick = useCallback((event: React.KeyboardEvent) => onClickCallback(event), [onClickCallback]);\n\n useKeyEvent({\n keys: KEYS,\n callback: onKeyboardClick,\n ref: useDocumentEventListeners ? undefined : menuRef\n });\n\n return { onClickCallback };\n}\n"],"names":["KEYS","keyCodes","ENTER","RIGHT_ARROW","useMenuItemKeyboardEvents","_ref","onClick","disabled","isActive","index","setActiveItemIndex","hasChildren","shouldShowSubMenu","setSubMenuIsOpenByIndex","menuRef","isMouseEnter","closeMenu","useDocumentEventListeners","splitMenuItem","isMouseEnterMenuItem","isMouseEnterIconButton","onClickCallback","useCallback","event","isKeyEvent","KeyboardEvent","clickCallback","preventDefault","propagate","key","requestAnimationFrame","console","error","onKeyboardClick","useKeyEvent","keys","callback","ref","undefined"],"mappings":"8LAMA,IAAMA,EAAO,CAACC,EAASC,MAAOD,EAASE,aAEf,SAAAC,EAAyBC,GAgChD,IA/BCC,EAAOD,EAAPC,QACAC,EAAQF,EAARE,SACAC,EAAQH,EAARG,SACAC,EAAKJ,EAALI,MACAC,EAAkBL,EAAlBK,mBACAC,EAAWN,EAAXM,YACAC,EAAiBP,EAAjBO,kBACAC,EAAuBR,EAAvBQ,wBACAC,EAAOT,EAAPS,QACAC,EAAYV,EAAZU,aACAC,EAASX,EAATW,UACAC,EAAyBZ,EAAzBY,0BACAC,EAAab,EAAba,cACAC,EAAoBd,EAApBc,qBACAC,EAAsBf,EAAtBe,uBAkBMC,EAAkBC,GACtB,SAACC,GACC,GAAKf,GAAaO,EAClB,GAAKL,GAAuBG,EAA5B,CAKA,IAAMW,EAAaD,aAAiBE,cAEpC,GAAIjB,GAAYG,IACdD,EAAmBD,IACdS,GAAiBE,GACpBP,EAAwBJ,GAAO,QASnC,GAJIe,GAAcN,GAChBL,EAAwBJ,GAAO,IAG7BG,EAAJ,CAEA,IAAMc,EAAgB,WACpBH,EAAMI,iBACNrB,EAAQiB,GACRP,EAAU,CAAEY,WAAW,KAGzB,GAAIJ,GAAclB,IAAYC,GAAYC,EAAU,CAClD,GAA2C,eAAtCe,EAA8BM,IACjC,OAEFH,GACF,EAEKF,GAAclB,IAAYC,GAAYQ,IACpCP,IACHE,EAAmBD,GACfE,GACFE,EAAwBJ,GAAO,KAI9BS,GAAiBC,IAAyBC,IAA4BT,IAEzEmB,uBAAsB,WACpBA,uBAAsB,WACpBJ,GACF,GACF,IA7BmB,CAhBvB,MAFEK,QAAQC,MAAM,iDAkDlB,GACA,CACExB,EACAO,EACAL,EACAG,EACAF,EACAO,EACAN,EACAN,EACAC,EACAE,EACAO,EACAG,EACAC,IAIEa,EAAkBX,GAAY,SAACC,GAA0B,OAAKF,EAAgBE,KAAQ,CAACF,IAQ7F,OANAa,EAAY,CACVC,KAAMnC,EACNoC,SAAUH,EACVI,IAAKpB,OAA4BqB,EAAYxB,IAGxC,CAAEO,gBAAAA,EACX"}
@@ -1,2 +1,2 @@
1
- var e={itemButton:"itemButton_2f72cf9a9e",buttonComponent:"buttonComponent_daa57fe039",content:"content_20f55caf2a"};!function(e){const t="s_id-5b38a66d7d32_4_0_0-alpha_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)}(".itemButton_2f72cf9a9e {\n margin: unset;\n display: flex;\n flex-direction: row;\n padding: var(--space-4) 0;\n align-items: center;\n}\n\n.itemButton_2f72cf9a9e .buttonComponent_daa57fe039 {\n width: 100%;\n}\n\n.itemButton_2f72cf9a9e .buttonComponent_daa57fe039 .content_20f55caf2a {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}");export{e as default};
1
+ var e={itemButton:"itemButton_c6b2a6f485",buttonComponent:"buttonComponent_8a2c54b457",content:"content_f5edf95508"};!function(e){const t="s_id-5b38a66d7d32_4_0_0-alpha_2";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)}(".itemButton_c6b2a6f485 {\n margin: unset;\n display: flex;\n flex-direction: row;\n padding: var(--space-4) 0;\n align-items: center;\n}\n\n.itemButton_c6b2a6f485 .buttonComponent_8a2c54b457 {\n width: 100%;\n}\n\n.itemButton_c6b2a6f485 .buttonComponent_8a2c54b457 .content_f5edf95508 {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}");export{e as default};
2
2
  //# sourceMappingURL=MenuItemButton.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var t={title:"title_5a32e2d7ed",titleCaption:"titleCaption_75442a73e6",titleCaptionCenter:"titleCaptionCenter_8280852e0d",titleCaptionBottom:"titleCaptionBottom_abbf6d4274",titleCaptionTop:"titleCaptionTop_92842239b2"};!function(t){const e="s_id-6a10a614e4d8_4_0_0-alpha_0";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+e))return;const i=document.createElement("style");i.id=e,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(t))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=t)}('/* stylelint-disable */\n/* stylelint-enable */\n.title_5a32e2d7ed {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n padding-block: 1px;\n}\n.titleCaption_75442a73e6 {\n color: var(--icon-color);\n margin: var(--space-8) 0;\n}\n.titleCaptionCenter_8280852e0d {\n display: flex;\n flex-basis: 100%;\n align-items: center;\n}\n.titleCaptionBottom_abbf6d4274,\n.titleCaptionTop_92842239b2 {\n padding-inline-start: var(--space-8);\n}\n.titleCaptionBottom_abbf6d4274 {\n padding-bottom: var(--space-8);\n}\n.titleCaptionCenter_8280852e0d::before,\n.titleCaptionCenter_8280852e0d::after {\n content: "";\n flex-grow: 1;\n background-color: var(--ui-border-color);\n height: 1px;\n font-size: 0;\n line-height: 0;\n margin: 0 var(--space-8);\n}');export{t as default};
1
+ var t={title:"title_2a39a4a0b1",titleCaption:"titleCaption_c1d5c6cf75",titleCaptionCenter:"titleCaptionCenter_17cf04d4b7",titleCaptionBottom:"titleCaptionBottom_89c0e14dc6",titleCaptionTop:"titleCaptionTop_aaaf195680"};!function(t){const e="s_id-6a10a614e4d8_4_0_0-alpha_2";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+e))return;const i=document.createElement("style");i.id=e,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(t))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=t)}('/* stylelint-disable */\n/* stylelint-enable */\n.title_2a39a4a0b1 {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n padding-block: 1px;\n}\n.titleCaption_c1d5c6cf75 {\n color: var(--icon-color);\n margin: var(--space-8) 0;\n}\n.titleCaptionCenter_17cf04d4b7 {\n display: flex;\n flex-basis: 100%;\n align-items: center;\n}\n.titleCaptionBottom_89c0e14dc6,\n.titleCaptionTop_aaaf195680 {\n padding-inline-start: var(--space-8);\n}\n.titleCaptionBottom_89c0e14dc6 {\n padding-bottom: var(--space-8);\n}\n.titleCaptionCenter_17cf04d4b7::before,\n.titleCaptionCenter_17cf04d4b7::after {\n content: "";\n flex-grow: 1;\n background-color: var(--ui-border-color);\n height: 1px;\n font-size: 0;\n line-height: 0;\n margin: 0 var(--space-8);\n}');export{t as default};
2
2
  //# sourceMappingURL=MenuTitle.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var n={wrapper:"wrapper_e8be28592e","focus-visible":"focus-visible_b9390e7de1",active:"active_94f4549a98",sizeXxs:"sizeXxs_60d0f62bdf",sizeXs:"sizeXs_1cbf206bdc",sizeSmall:"sizeSmall_6ceeb3581c",sizeMedium:"sizeMedium_9b0dcffd87",sizeLarge:"sizeLarge_c6725089de",disabled:"disabled_8388b135d1",text:"text_daa57fe039",innerText:"innerText_ea238715b8"};!function(n){const e="s_id-fe45efde1a3d_4_0_0-alpha_0";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+e))return;const t=document.createElement("style");t.id=e,o.firstChild?o.insertBefore(t,o.firstChild):o.appendChild(t),t.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable selector-class-pattern */\n.wrapper_e8be28592e {\n border: none;\n margin: 0;\n padding: 0;\n width: auto;\n overflow: visible;\n background: transparent;\n /* inherit font & color from ancestor */\n color: inherit;\n font: inherit;\n /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */\n line-height: normal;\n /* Corrects font smoothing for webkit */\n -webkit-font-smoothing: inherit;\n -moz-osx-font-smoothing: inherit;\n /* Corrects inability to style clickable `input` types in iOS */\n appearance: none;\n border-radius: var(--border-radius-small);\n background-color: transparent;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: transform var(--motion-productive-short) var(--motion-timing-transition);\n color: var(--primary-text-color);\n}\n.wrapper_e8be28592e:focus-visible, .wrapper_e8be28592e.focus-visible_b9390e7de1 {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.wrapper_e8be28592e:focus:not(.focus-visible_b9390e7de1) {\n outline: none;\n}\n.wrapper_e8be28592e:focus-visible, .wrapper_e8be28592e.focus-visible_b9390e7de1 {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.wrapper_e8be28592e:focus:not(.focus-visible_b9390e7de1) {\n outline: none;\n}\n.wrapper_e8be28592e:focus,\n.wrapper_e8be28592e:hover {\n background-color: var(--primary-background-hover-color);\n}\n.wrapper_e8be28592e:active {\n transform: scale(0.95);\n}\n.active_94f4549a98 {\n background-color: var(--primary-selected-color);\n}\n.active_94f4549a98:focus {\n background-color: var(--primary-selected-color);\n}\n.active_94f4549a98:hover {\n background-color: var(--primary-selected-color);\n}\n.sizeXxs_60d0f62bdf {\n width: 16px;\n height: 16px;\n font: var(--font-text2-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.sizeXs_1cbf206bdc {\n width: 24px;\n height: 24px;\n font: var(--font-text1-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.sizeSmall_6ceeb3581c {\n width: 32px;\n height: 32px;\n font: var(--font-text1-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.sizeMedium_9b0dcffd87 {\n width: 40px;\n height: 40px;\n font: var(--font-h3-normal);\n letter-spacing: var(--letter-spacing-h3-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.sizeLarge_c6725089de {\n width: 48px;\n height: 48px;\n font: var(--font-h2-normal);\n letter-spacing: var(--letter-spacing-h2-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.disabled_8388b135d1 {\n border-color: var(--disabled-background-color);\n color: var(--disabled-text-color);\n cursor: not-allowed;\n pointer-events: none;\n}\n.disabled_8388b135d1:hover {\n background-color: transparent;\n}\n.text_daa57fe039 {\n width: 100%;\n}\n.innerText_ea238715b8 {\n margin: 0 var(--space-8);\n}");export{n as default};
1
+ var n={wrapper:"wrapper_68a1690ebb","focus-visible":"focus-visible_1fc42a4a92",active:"active_14243538b8",sizeXxs:"sizeXxs_62249f06d0",sizeXs:"sizeXs_e5c5134c0c",sizeSmall:"sizeSmall_c1bc51fe2f",sizeMedium:"sizeMedium_58477adbb2",sizeLarge:"sizeLarge_35dd1d70b6",disabled:"disabled_f423411e28",text:"text_8a2c54b457",innerText:"innerText_e17ef56ae3"};!function(n){const e="s_id-fe45efde1a3d_4_0_0-alpha_2";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+e))return;const t=document.createElement("style");t.id=e,o.firstChild?o.insertBefore(t,o.firstChild):o.appendChild(t),t.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable selector-class-pattern */\n.wrapper_68a1690ebb {\n border: none;\n margin: 0;\n padding: 0;\n width: auto;\n overflow: visible;\n background: transparent;\n /* inherit font & color from ancestor */\n color: inherit;\n font: inherit;\n /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */\n line-height: normal;\n /* Corrects font smoothing for webkit */\n -webkit-font-smoothing: inherit;\n -moz-osx-font-smoothing: inherit;\n /* Corrects inability to style clickable `input` types in iOS */\n appearance: none;\n border-radius: var(--border-radius-small);\n background-color: transparent;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: transform var(--motion-productive-short) var(--motion-timing-transition);\n color: var(--primary-text-color);\n}\n.wrapper_68a1690ebb:focus-visible, .wrapper_68a1690ebb.focus-visible_1fc42a4a92 {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.wrapper_68a1690ebb:focus:not(.focus-visible_1fc42a4a92) {\n outline: none;\n}\n.wrapper_68a1690ebb:focus-visible, .wrapper_68a1690ebb.focus-visible_1fc42a4a92 {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.wrapper_68a1690ebb:focus:not(.focus-visible_1fc42a4a92) {\n outline: none;\n}\n.wrapper_68a1690ebb:focus,\n.wrapper_68a1690ebb:hover {\n background-color: var(--primary-background-hover-color);\n}\n.wrapper_68a1690ebb:active {\n transform: scale(0.95);\n}\n.active_14243538b8 {\n background-color: var(--primary-selected-color);\n}\n.active_14243538b8:focus {\n background-color: var(--primary-selected-color);\n}\n.active_14243538b8:hover {\n background-color: var(--primary-selected-color);\n}\n.sizeXxs_62249f06d0 {\n width: 16px;\n height: 16px;\n font: var(--font-text2-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.sizeXs_e5c5134c0c {\n width: 24px;\n height: 24px;\n font: var(--font-text1-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.sizeSmall_c1bc51fe2f {\n width: 32px;\n height: 32px;\n font: var(--font-text1-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.sizeMedium_58477adbb2 {\n width: 40px;\n height: 40px;\n font: var(--font-h3-normal);\n letter-spacing: var(--letter-spacing-h3-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.sizeLarge_35dd1d70b6 {\n width: 48px;\n height: 48px;\n font: var(--font-h2-normal);\n letter-spacing: var(--letter-spacing-h2-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.disabled_f423411e28 {\n border-color: var(--disabled-background-color);\n color: var(--disabled-text-color);\n cursor: not-allowed;\n pointer-events: none;\n}\n.disabled_f423411e28:hover {\n background-color: transparent;\n}\n.text_8a2c54b457 {\n width: 100%;\n}\n.innerText_e17ef56ae3 {\n margin: 0 var(--space-8);\n}");export{n as default};
2
2
  //# sourceMappingURL=MenuButton.module.scss.js.map