@vibe/core 3.3.0 → 3.4.1-alpha-602b6.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 (473) hide show
  1. package/dist/components/Dropdown/Dropdown.types.d.ts +1 -1
  2. package/dist/components/{Modal/Modal.d.ts → LegacyModal/LegacyModal.d.ts} +4 -4
  3. package/dist/components/LegacyModal/LegacyModalContent/LegacyModalContent.d.ts +7 -0
  4. package/dist/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.d.ts +7 -0
  5. package/dist/components/{Modal/ModalFooter/ModalFooterButtons/ModalFooterButtons.d.ts → LegacyModal/LegacyModalFooter/LegacyModalFooterButtons/LegacyModalFooterButtons.d.ts} +3 -3
  6. package/dist/components/{Modal/ModalHeader/ModalHeader.d.ts → LegacyModal/LegacyModalHeader/LegacyModalHeader.d.ts} +6 -6
  7. package/dist/components/LegacyModal/index.d.ts +6 -0
  8. package/dist/components/List/utils/ListUtils.d.ts +1 -0
  9. package/dist/components/ModalNew/Modal/Modal.types.d.ts +39 -1
  10. package/dist/components/ModalNew/ModalContent/ModalContent.types.d.ts +3 -0
  11. package/dist/components/ModalNew/ModalHeader/ModalHeader.types.d.ts +12 -1
  12. package/dist/components/ModalNew/ModalTopActions/ModalTopActions.d.ts +1 -1
  13. package/dist/components/ModalNew/ModalTopActions/ModalTopActions.types.d.ts +13 -4
  14. package/dist/components/ModalNew/context/ModalContext.types.d.ts +17 -0
  15. package/dist/components/ModalNew/footers/ModalFooter/ModalFooter.types.d.ts +3 -0
  16. package/dist/components/ModalNew/footers/ModalFooterBase/ModalFooterBase.types.d.ts +12 -0
  17. package/dist/components/ModalNew/footers/ModalFooterWizard/ModalFooterWizard.d.ts +1 -7
  18. package/dist/components/ModalNew/footers/ModalFooterWizard/ModalFooterWizard.types.d.ts +18 -0
  19. package/dist/components/ModalNew/hooks/usePortalTarget/usePortalTarget.d.ts +3 -0
  20. package/dist/components/ModalNew/hooks/usePortalTarget/usePortalTarget.types.d.ts +2 -0
  21. package/dist/components/ModalNew/layouts/ModalBasicLayout/ModalBasicLayout.types.d.ts +5 -0
  22. package/dist/components/ModalNew/layouts/ModalFooterShadow.types.d.ts +3 -0
  23. package/dist/components/ModalNew/layouts/ModalLayoutScrollableContent.types.d.ts +9 -0
  24. package/dist/components/ModalNew/layouts/ModalMedia.types.d.ts +3 -0
  25. package/dist/components/ModalNew/layouts/ModalMediaLayout/ModalMediaLayout.types.d.ts +6 -0
  26. package/dist/components/ModalNew/layouts/ModalSideBySideLayout/ModalSideBySideLayout.types.d.ts +6 -0
  27. package/dist/components/index.d.ts +1 -1
  28. package/dist/mocked_classnames/components/Dropdown/Dropdown.types.d.ts +1 -1
  29. package/dist/mocked_classnames/components/{Modal/Modal.d.ts → LegacyModal/LegacyModal.d.ts} +4 -4
  30. package/dist/mocked_classnames/components/LegacyModal/LegacyModalContent/LegacyModalContent.d.ts +7 -0
  31. package/dist/mocked_classnames/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.d.ts +7 -0
  32. package/dist/mocked_classnames/components/{Modal/ModalFooter/ModalFooterButtons/ModalFooterButtons.d.ts → LegacyModal/LegacyModalFooter/LegacyModalFooterButtons/LegacyModalFooterButtons.d.ts} +3 -3
  33. package/dist/mocked_classnames/components/{Modal/ModalHeader/ModalHeader.d.ts → LegacyModal/LegacyModalHeader/LegacyModalHeader.d.ts} +6 -6
  34. package/dist/mocked_classnames/components/LegacyModal/index.d.ts +6 -0
  35. package/dist/mocked_classnames/components/List/utils/ListUtils.d.ts +1 -0
  36. package/dist/mocked_classnames/components/ModalNew/Modal/Modal.types.d.ts +39 -1
  37. package/dist/mocked_classnames/components/ModalNew/ModalContent/ModalContent.types.d.ts +3 -0
  38. package/dist/mocked_classnames/components/ModalNew/ModalHeader/ModalHeader.types.d.ts +12 -1
  39. package/dist/mocked_classnames/components/ModalNew/ModalTopActions/ModalTopActions.d.ts +1 -1
  40. package/dist/mocked_classnames/components/ModalNew/ModalTopActions/ModalTopActions.types.d.ts +13 -4
  41. package/dist/mocked_classnames/components/ModalNew/context/ModalContext.types.d.ts +17 -0
  42. package/dist/mocked_classnames/components/ModalNew/footers/ModalFooter/ModalFooter.types.d.ts +3 -0
  43. package/dist/mocked_classnames/components/ModalNew/footers/ModalFooterBase/ModalFooterBase.types.d.ts +12 -0
  44. package/dist/mocked_classnames/components/ModalNew/footers/ModalFooterWizard/ModalFooterWizard.d.ts +1 -7
  45. package/dist/mocked_classnames/components/ModalNew/footers/ModalFooterWizard/ModalFooterWizard.types.d.ts +18 -0
  46. package/dist/mocked_classnames/components/ModalNew/hooks/usePortalTarget/usePortalTarget.d.ts +3 -0
  47. package/dist/mocked_classnames/components/ModalNew/hooks/usePortalTarget/usePortalTarget.types.d.ts +2 -0
  48. package/dist/mocked_classnames/components/ModalNew/layouts/ModalBasicLayout/ModalBasicLayout.types.d.ts +5 -0
  49. package/dist/mocked_classnames/components/ModalNew/layouts/ModalFooterShadow.types.d.ts +3 -0
  50. package/dist/mocked_classnames/components/ModalNew/layouts/ModalLayoutScrollableContent.types.d.ts +9 -0
  51. package/dist/mocked_classnames/components/ModalNew/layouts/ModalMedia.types.d.ts +3 -0
  52. package/dist/mocked_classnames/components/ModalNew/layouts/ModalMediaLayout/ModalMediaLayout.types.d.ts +6 -0
  53. package/dist/mocked_classnames/components/ModalNew/layouts/ModalSideBySideLayout/ModalSideBySideLayout.types.d.ts +6 -0
  54. package/dist/mocked_classnames/components/index.d.ts +1 -1
  55. package/dist/mocked_classnames/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
  56. package/dist/mocked_classnames/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
  57. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
  58. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
  59. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
  60. package/dist/mocked_classnames/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
  61. package/dist/mocked_classnames/src/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
  62. package/dist/mocked_classnames/src/components/Avatar/Avatar.module.scss.js +1 -1
  63. package/dist/mocked_classnames/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
  64. package/dist/mocked_classnames/src/components/Avatar/AvatarContent.module.scss.js +1 -1
  65. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
  66. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
  67. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
  68. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
  69. package/dist/mocked_classnames/src/components/Badge/Badge.module.scss.js +1 -1
  70. package/dist/mocked_classnames/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
  71. package/dist/mocked_classnames/src/components/BaseInput/BaseInput.module.scss.js +1 -1
  72. package/dist/mocked_classnames/src/components/Box/Box.module.scss.js +1 -1
  73. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
  74. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
  75. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
  76. package/dist/mocked_classnames/src/components/Button/Button.module.scss.js +1 -1
  77. package/dist/mocked_classnames/src/components/ButtonGroup/ButtonGroup.module.scss.js +1 -1
  78. package/dist/mocked_classnames/src/components/Checkbox/Checkbox.module.scss.js +1 -1
  79. package/dist/mocked_classnames/src/components/Chips/Chips.module.scss.js +1 -1
  80. package/dist/mocked_classnames/src/components/Clickable/Clickable.module.scss.js +1 -1
  81. package/dist/mocked_classnames/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
  82. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
  83. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
  84. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
  85. package/dist/mocked_classnames/src/components/Combobox/Combobox.module.scss.js +1 -1
  86. package/dist/mocked_classnames/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
  87. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
  88. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
  89. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
  90. package/dist/mocked_classnames/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
  91. package/dist/mocked_classnames/src/components/Counter/Counter.module.scss.js +1 -1
  92. package/dist/mocked_classnames/src/components/DatePicker/DateNavigationItem/DateNavigationItem.module.scss.js +1 -1
  93. package/dist/mocked_classnames/src/components/DatePicker/DatePicker.module.scss.js +1 -1
  94. package/dist/mocked_classnames/src/components/DatePicker/DatePickerHeader/DatePickerHeader.module.scss.js +1 -1
  95. package/dist/mocked_classnames/src/components/DatePicker/YearPicker/YearPicker.module.scss.js +1 -1
  96. package/dist/mocked_classnames/src/components/DatePicker/external_datepicker.scss.js +1 -1
  97. package/dist/mocked_classnames/src/components/Dialog/Dialog.module.scss.js +1 -1
  98. package/dist/mocked_classnames/src/components/Dialog/DialogContent/DialogContent.module.scss.js +1 -1
  99. package/dist/mocked_classnames/src/components/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
  100. package/dist/mocked_classnames/src/components/Divider/Divider.module.scss.js +1 -1
  101. package/dist/mocked_classnames/src/components/Dropdown/Dropdown.module.scss.js +1 -1
  102. package/dist/mocked_classnames/src/components/Dropdown/components/ChildrenContent/ChildrenContent.module.scss.js +1 -1
  103. package/dist/mocked_classnames/src/components/Dropdown/components/MultiValueContainer/MultiValueContainer.module.scss.js +1 -1
  104. package/dist/mocked_classnames/src/components/Dropdown/components/menu/menu.module.scss.js +1 -1
  105. package/dist/mocked_classnames/src/components/Dropdown/components/option/option.module.scss.js +1 -1
  106. package/dist/mocked_classnames/src/components/Dropdown/components/singleValue/singleValue.module.scss.js +1 -1
  107. package/dist/mocked_classnames/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
  108. package/dist/mocked_classnames/src/components/EditableText/EditableText.module.scss.js +1 -1
  109. package/dist/mocked_classnames/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
  110. package/dist/mocked_classnames/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
  111. package/dist/mocked_classnames/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
  112. package/dist/mocked_classnames/src/components/Flex/Flex.module.scss.js +1 -1
  113. package/dist/mocked_classnames/src/components/FormattedNumber/FormattedNumber.module.scss.js +1 -1
  114. package/dist/mocked_classnames/src/components/Heading/Heading.module.scss.js +1 -1
  115. package/dist/mocked_classnames/src/components/HiddenText/HiddenText.module.scss.js +1 -1
  116. package/dist/mocked_classnames/src/components/Icon/Icon.module.scss.js +1 -1
  117. package/dist/mocked_classnames/src/components/IconButton/IconButton.module.scss.js +1 -1
  118. package/dist/mocked_classnames/src/components/Label/Label.module.scss.js +1 -1
  119. package/dist/mocked_classnames/src/components/Label/LabelCelebrationAnimation.module.scss.js +1 -1
  120. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModal.js +2 -0
  121. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModal.js.map +1 -0
  122. package/dist/mocked_classnames/src/components/{Modal/Modal.module.scss.js → LegacyModal/LegacyModal.module.scss.js} +2 -2
  123. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModal.module.scss.js.map +1 -0
  124. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalContent/LegacyModalContent.js +2 -0
  125. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalContent/LegacyModalContent.js.map +1 -0
  126. package/dist/mocked_classnames/src/components/{Modal/ModalContent/ModalContent.module.scss.js → LegacyModal/LegacyModalContent/LegacyModalContent.module.scss.js} +2 -2
  127. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalContent/LegacyModalContent.module.scss.js.map +1 -0
  128. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.js +2 -0
  129. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.js.map +1 -0
  130. package/dist/mocked_classnames/src/components/{Modal/ModalFooter/ModalFooter.module.scss.js → LegacyModal/LegacyModalFooter/LegacyModalFooter.module.scss.js} +2 -2
  131. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.module.scss.js.map +1 -0
  132. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooterButtons/LegacyModalFooterButtons.js +2 -0
  133. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooterButtons/LegacyModalFooterButtons.js.map +1 -0
  134. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.js +2 -0
  135. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.js.map +1 -0
  136. package/dist/mocked_classnames/src/components/{Modal/ModalHeader/ModalHeader.module.scss.js → LegacyModal/LegacyModalHeader/LegacyModalHeader.module.scss.js} +2 -2
  137. package/dist/mocked_classnames/src/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.module.scss.js.map +1 -0
  138. package/dist/mocked_classnames/src/components/LegacyModal/ModalHelper.js +2 -0
  139. package/dist/mocked_classnames/src/components/LegacyModal/ModalHelper.js.map +1 -0
  140. package/dist/mocked_classnames/src/components/LegacyModal/a11yDialog.js.map +1 -0
  141. package/dist/mocked_classnames/src/components/LegacyModal/useAnimationProps.js.map +1 -0
  142. package/dist/mocked_classnames/src/components/LegacyModal/useBodyScrollLock.js.map +1 -0
  143. package/dist/mocked_classnames/src/components/LegacyModal/useShowHideModal.js.map +1 -0
  144. package/dist/mocked_classnames/src/components/Link/Link.module.scss.js +1 -1
  145. package/dist/mocked_classnames/src/components/List/List.js +1 -1
  146. package/dist/mocked_classnames/src/components/List/List.js.map +1 -1
  147. package/dist/mocked_classnames/src/components/List/List.module.scss.js +1 -1
  148. package/dist/mocked_classnames/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
  149. package/dist/mocked_classnames/src/components/List/utils/ListUtils.js +1 -1
  150. package/dist/mocked_classnames/src/components/List/utils/ListUtils.js.map +1 -1
  151. package/dist/mocked_classnames/src/components/ListItem/ListItem.module.scss.js +1 -1
  152. package/dist/mocked_classnames/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
  153. package/dist/mocked_classnames/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
  154. package/dist/mocked_classnames/src/components/ListTitle/ListTitle.module.scss.js +1 -1
  155. package/dist/mocked_classnames/src/components/Loader/Loader.module.scss.js +1 -1
  156. package/dist/mocked_classnames/src/components/Menu/Menu/Menu.module.scss.js +1 -1
  157. package/dist/mocked_classnames/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
  158. package/dist/mocked_classnames/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
  159. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
  160. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
  161. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
  162. package/dist/mocked_classnames/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
  163. package/dist/mocked_classnames/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
  164. package/dist/mocked_classnames/src/components/MenuButton/MenuButton.module.scss.js +1 -1
  165. package/dist/mocked_classnames/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
  166. package/dist/mocked_classnames/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
  167. package/dist/mocked_classnames/src/components/ProgressBars/LinearProgressBar/Bar/Bar.module.scss.js +1 -1
  168. package/dist/mocked_classnames/src/components/ProgressBars/LinearProgressBar/LinearProgressBar.module.scss.js +1 -1
  169. package/dist/mocked_classnames/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
  170. package/dist/mocked_classnames/src/components/RadioButton/RadioButton.module.scss.js +1 -1
  171. package/dist/mocked_classnames/src/components/Search/Search.module.scss.js +1 -1
  172. package/dist/mocked_classnames/src/components/Skeleton/Skeleton.module.scss.js +1 -1
  173. package/dist/mocked_classnames/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
  174. package/dist/mocked_classnames/src/components/Slider/Slider.module.scss.js +1 -1
  175. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
  176. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
  177. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
  178. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
  179. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
  180. package/dist/mocked_classnames/src/components/Slider/SliderInfix.module.scss.js +1 -1
  181. package/dist/mocked_classnames/src/components/SplitButton/SplitButton.module.scss.js +1 -1
  182. package/dist/mocked_classnames/src/components/Steps/Steps.module.scss.js +1 -1
  183. package/dist/mocked_classnames/src/components/Steps/StepsCommand.module.scss.js +1 -1
  184. package/dist/mocked_classnames/src/components/Steps/StepsDot.module.scss.js +1 -1
  185. package/dist/mocked_classnames/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
  186. package/dist/mocked_classnames/src/components/Steps/StepsHeader.module.scss.js +1 -1
  187. package/dist/mocked_classnames/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
  188. package/dist/mocked_classnames/src/components/Switch/Switch.module.scss.js +1 -1
  189. package/dist/mocked_classnames/src/components/Table/Table/Table.module.scss.js +1 -1
  190. package/dist/mocked_classnames/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
  191. package/dist/mocked_classnames/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
  192. package/dist/mocked_classnames/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
  193. package/dist/mocked_classnames/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
  194. package/dist/mocked_classnames/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
  195. package/dist/mocked_classnames/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
  196. package/dist/mocked_classnames/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
  197. package/dist/mocked_classnames/src/components/Table/TableRowMenu/TableRowMenu.js +1 -1
  198. package/dist/mocked_classnames/src/components/Table/TableRowMenu/TableRowMenu.js.map +1 -1
  199. package/dist/mocked_classnames/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
  200. package/dist/mocked_classnames/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
  201. package/dist/mocked_classnames/src/components/Table/context/TableRowMenuContext/TableRowMenuContext.js +1 -1
  202. package/dist/mocked_classnames/src/components/Table/context/TableRowMenuContext/TableRowMenuContext.js.map +1 -1
  203. package/dist/mocked_classnames/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
  204. package/dist/mocked_classnames/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
  205. package/dist/mocked_classnames/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
  206. package/dist/mocked_classnames/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
  207. package/dist/mocked_classnames/src/components/Text/Text.module.scss.js +1 -1
  208. package/dist/mocked_classnames/src/components/TextArea/TextArea.module.scss.js +1 -1
  209. package/dist/mocked_classnames/src/components/TextField/TextField.module.scss.js +1 -1
  210. package/dist/mocked_classnames/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
  211. package/dist/mocked_classnames/src/components/Tipseen/Tipseen.module.scss.js +1 -1
  212. package/dist/mocked_classnames/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
  213. package/dist/mocked_classnames/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
  214. package/dist/mocked_classnames/src/components/Tipseen/TipseenImage.module.scss.js +1 -1
  215. package/dist/mocked_classnames/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
  216. package/dist/mocked_classnames/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
  217. package/dist/mocked_classnames/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
  218. package/dist/mocked_classnames/src/components/Toast/Toast.module.scss.js +1 -1
  219. package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
  220. package/dist/mocked_classnames/src/components/Toggle/MockToggle.module.scss.js +1 -1
  221. package/dist/mocked_classnames/src/components/Toggle/Toggle.module.scss.js +1 -1
  222. package/dist/mocked_classnames/src/components/Toggle/ToggleText.module.scss.js +1 -1
  223. package/dist/mocked_classnames/src/components/Tooltip/Tooltip.module.scss.js +1 -1
  224. package/dist/mocked_classnames/src/components/Typography/Typography.module.scss.js +1 -1
  225. package/dist/mocked_classnames/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
  226. package/dist/mocked_classnames/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
  227. package/dist/mocked_classnames/src/index.js +1 -1
  228. package/dist/mocked_classnames/style/dist/index.min.css.js +1 -1
  229. package/dist/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
  230. package/dist/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
  231. package/dist/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
  232. package/dist/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
  233. package/dist/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
  234. package/dist/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
  235. package/dist/src/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
  236. package/dist/src/components/Avatar/Avatar.module.scss.js +1 -1
  237. package/dist/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
  238. package/dist/src/components/Avatar/AvatarContent.module.scss.js +1 -1
  239. package/dist/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
  240. package/dist/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
  241. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
  242. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
  243. package/dist/src/components/Badge/Badge.module.scss.js +1 -1
  244. package/dist/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
  245. package/dist/src/components/BaseInput/BaseInput.module.scss.js +1 -1
  246. package/dist/src/components/Box/Box.module.scss.js +1 -1
  247. package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
  248. package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
  249. package/dist/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
  250. package/dist/src/components/Button/Button.module.scss.js +1 -1
  251. package/dist/src/components/ButtonGroup/ButtonGroup.module.scss.js +1 -1
  252. package/dist/src/components/Checkbox/Checkbox.module.scss.js +1 -1
  253. package/dist/src/components/Chips/Chips.module.scss.js +1 -1
  254. package/dist/src/components/Clickable/Clickable.module.scss.js +1 -1
  255. package/dist/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
  256. package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
  257. package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
  258. package/dist/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
  259. package/dist/src/components/Combobox/Combobox.module.scss.js +1 -1
  260. package/dist/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
  261. package/dist/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
  262. package/dist/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
  263. package/dist/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
  264. package/dist/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
  265. package/dist/src/components/Counter/Counter.module.scss.js +1 -1
  266. package/dist/src/components/DatePicker/DateNavigationItem/DateNavigationItem.module.scss.js +1 -1
  267. package/dist/src/components/DatePicker/DatePicker.module.scss.js +1 -1
  268. package/dist/src/components/DatePicker/DatePickerHeader/DatePickerHeader.module.scss.js +1 -1
  269. package/dist/src/components/DatePicker/YearPicker/YearPicker.module.scss.js +1 -1
  270. package/dist/src/components/DatePicker/external_datepicker.scss.js +1 -1
  271. package/dist/src/components/Dialog/Dialog.module.scss.js +1 -1
  272. package/dist/src/components/Dialog/DialogContent/DialogContent.module.scss.js +1 -1
  273. package/dist/src/components/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
  274. package/dist/src/components/Divider/Divider.module.scss.js +1 -1
  275. package/dist/src/components/Dropdown/Dropdown.module.scss.js +1 -1
  276. package/dist/src/components/Dropdown/components/ChildrenContent/ChildrenContent.module.scss.js +1 -1
  277. package/dist/src/components/Dropdown/components/MultiValueContainer/MultiValueContainer.module.scss.js +1 -1
  278. package/dist/src/components/Dropdown/components/menu/menu.module.scss.js +1 -1
  279. package/dist/src/components/Dropdown/components/option/option.module.scss.js +1 -1
  280. package/dist/src/components/Dropdown/components/singleValue/singleValue.module.scss.js +1 -1
  281. package/dist/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
  282. package/dist/src/components/EditableText/EditableText.module.scss.js +1 -1
  283. package/dist/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
  284. package/dist/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
  285. package/dist/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
  286. package/dist/src/components/Flex/Flex.module.scss.js +1 -1
  287. package/dist/src/components/FormattedNumber/FormattedNumber.module.scss.js +1 -1
  288. package/dist/src/components/Heading/Heading.module.scss.js +1 -1
  289. package/dist/src/components/HiddenText/HiddenText.module.scss.js +1 -1
  290. package/dist/src/components/Icon/Icon.module.scss.js +1 -1
  291. package/dist/src/components/IconButton/IconButton.module.scss.js +1 -1
  292. package/dist/src/components/Label/Label.module.scss.js +1 -1
  293. package/dist/src/components/Label/LabelCelebrationAnimation.module.scss.js +1 -1
  294. package/dist/src/components/LegacyModal/LegacyModal.js +2 -0
  295. package/dist/src/components/LegacyModal/LegacyModal.js.map +1 -0
  296. package/dist/src/components/LegacyModal/LegacyModal.module.scss.js +2 -0
  297. package/dist/src/components/LegacyModal/LegacyModal.module.scss.js.map +1 -0
  298. package/dist/src/components/LegacyModal/LegacyModalContent/LegacyModalContent.js +2 -0
  299. package/dist/src/components/LegacyModal/LegacyModalContent/LegacyModalContent.js.map +1 -0
  300. package/dist/src/components/LegacyModal/LegacyModalContent/LegacyModalContent.module.scss.js +2 -0
  301. package/dist/src/components/LegacyModal/LegacyModalContent/LegacyModalContent.module.scss.js.map +1 -0
  302. package/dist/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.js +2 -0
  303. package/dist/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.js.map +1 -0
  304. package/dist/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.module.scss.js +2 -0
  305. package/dist/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.module.scss.js.map +1 -0
  306. package/dist/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooterButtons/LegacyModalFooterButtons.js +2 -0
  307. package/dist/src/components/LegacyModal/LegacyModalFooter/LegacyModalFooterButtons/LegacyModalFooterButtons.js.map +1 -0
  308. package/dist/src/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.js +2 -0
  309. package/dist/src/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.js.map +1 -0
  310. package/dist/src/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.module.scss.js +2 -0
  311. package/dist/src/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.module.scss.js.map +1 -0
  312. package/dist/src/components/LegacyModal/ModalHelper.js +2 -0
  313. package/dist/src/components/LegacyModal/ModalHelper.js.map +1 -0
  314. package/dist/src/components/LegacyModal/a11yDialog.js.map +1 -0
  315. package/dist/src/components/LegacyModal/useAnimationProps.js.map +1 -0
  316. package/dist/src/components/LegacyModal/useBodyScrollLock.js.map +1 -0
  317. package/dist/src/components/LegacyModal/useShowHideModal.js.map +1 -0
  318. package/dist/src/components/Link/Link.module.scss.js +1 -1
  319. package/dist/src/components/List/List.js +1 -1
  320. package/dist/src/components/List/List.js.map +1 -1
  321. package/dist/src/components/List/List.module.scss.js +1 -1
  322. package/dist/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
  323. package/dist/src/components/List/utils/ListUtils.js +1 -1
  324. package/dist/src/components/List/utils/ListUtils.js.map +1 -1
  325. package/dist/src/components/ListItem/ListItem.module.scss.js +1 -1
  326. package/dist/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
  327. package/dist/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
  328. package/dist/src/components/ListTitle/ListTitle.module.scss.js +1 -1
  329. package/dist/src/components/Loader/Loader.module.scss.js +1 -1
  330. package/dist/src/components/Menu/Menu/Menu.module.scss.js +1 -1
  331. package/dist/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
  332. package/dist/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
  333. package/dist/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
  334. package/dist/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
  335. package/dist/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
  336. package/dist/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
  337. package/dist/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
  338. package/dist/src/components/MenuButton/MenuButton.module.scss.js +1 -1
  339. package/dist/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
  340. package/dist/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
  341. package/dist/src/components/ProgressBars/LinearProgressBar/Bar/Bar.module.scss.js +1 -1
  342. package/dist/src/components/ProgressBars/LinearProgressBar/LinearProgressBar.module.scss.js +1 -1
  343. package/dist/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
  344. package/dist/src/components/RadioButton/RadioButton.module.scss.js +1 -1
  345. package/dist/src/components/Search/Search.module.scss.js +1 -1
  346. package/dist/src/components/Skeleton/Skeleton.module.scss.js +1 -1
  347. package/dist/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
  348. package/dist/src/components/Slider/Slider.module.scss.js +1 -1
  349. package/dist/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
  350. package/dist/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
  351. package/dist/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
  352. package/dist/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
  353. package/dist/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
  354. package/dist/src/components/Slider/SliderInfix.module.scss.js +1 -1
  355. package/dist/src/components/SplitButton/SplitButton.module.scss.js +1 -1
  356. package/dist/src/components/Steps/Steps.module.scss.js +1 -1
  357. package/dist/src/components/Steps/StepsCommand.module.scss.js +1 -1
  358. package/dist/src/components/Steps/StepsDot.module.scss.js +1 -1
  359. package/dist/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
  360. package/dist/src/components/Steps/StepsHeader.module.scss.js +1 -1
  361. package/dist/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
  362. package/dist/src/components/Switch/Switch.module.scss.js +1 -1
  363. package/dist/src/components/Table/Table/Table.module.scss.js +1 -1
  364. package/dist/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
  365. package/dist/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
  366. package/dist/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
  367. package/dist/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
  368. package/dist/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
  369. package/dist/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
  370. package/dist/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
  371. package/dist/src/components/Table/TableRowMenu/TableRowMenu.js +1 -1
  372. package/dist/src/components/Table/TableRowMenu/TableRowMenu.js.map +1 -1
  373. package/dist/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
  374. package/dist/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
  375. package/dist/src/components/Table/context/TableRowMenuContext/TableRowMenuContext.js +1 -1
  376. package/dist/src/components/Table/context/TableRowMenuContext/TableRowMenuContext.js.map +1 -1
  377. package/dist/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
  378. package/dist/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
  379. package/dist/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
  380. package/dist/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
  381. package/dist/src/components/Text/Text.module.scss.js +1 -1
  382. package/dist/src/components/TextArea/TextArea.module.scss.js +1 -1
  383. package/dist/src/components/TextField/TextField.module.scss.js +1 -1
  384. package/dist/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
  385. package/dist/src/components/Tipseen/Tipseen.module.scss.js +1 -1
  386. package/dist/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
  387. package/dist/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
  388. package/dist/src/components/Tipseen/TipseenImage.module.scss.js +1 -1
  389. package/dist/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
  390. package/dist/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
  391. package/dist/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
  392. package/dist/src/components/Toast/Toast.module.scss.js +1 -1
  393. package/dist/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
  394. package/dist/src/components/Toggle/MockToggle.module.scss.js +1 -1
  395. package/dist/src/components/Toggle/Toggle.module.scss.js +1 -1
  396. package/dist/src/components/Toggle/ToggleText.module.scss.js +1 -1
  397. package/dist/src/components/Tooltip/Tooltip.module.scss.js +1 -1
  398. package/dist/src/components/Typography/Typography.module.scss.js +1 -1
  399. package/dist/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
  400. package/dist/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
  401. package/dist/src/index.js +1 -1
  402. package/dist/style/dist/index.min.css.js +1 -1
  403. package/package.json +2 -2
  404. package/dist/components/Modal/ModalContent/ModalContent.d.ts +0 -7
  405. package/dist/components/Modal/ModalFooter/ModalFooter.d.ts +0 -7
  406. package/dist/components/Modal/index.d.ts +0 -6
  407. package/dist/mocked_classnames/components/Modal/ModalContent/ModalContent.d.ts +0 -7
  408. package/dist/mocked_classnames/components/Modal/ModalFooter/ModalFooter.d.ts +0 -7
  409. package/dist/mocked_classnames/components/Modal/index.d.ts +0 -6
  410. package/dist/mocked_classnames/src/components/Modal/Modal.js +0 -2
  411. package/dist/mocked_classnames/src/components/Modal/Modal.js.map +0 -1
  412. package/dist/mocked_classnames/src/components/Modal/Modal.module.scss.js.map +0 -1
  413. package/dist/mocked_classnames/src/components/Modal/ModalContent/ModalContent.js +0 -2
  414. package/dist/mocked_classnames/src/components/Modal/ModalContent/ModalContent.js.map +0 -1
  415. package/dist/mocked_classnames/src/components/Modal/ModalContent/ModalContent.module.scss.js.map +0 -1
  416. package/dist/mocked_classnames/src/components/Modal/ModalFooter/ModalFooter.js +0 -2
  417. package/dist/mocked_classnames/src/components/Modal/ModalFooter/ModalFooter.js.map +0 -1
  418. package/dist/mocked_classnames/src/components/Modal/ModalFooter/ModalFooter.module.scss.js.map +0 -1
  419. package/dist/mocked_classnames/src/components/Modal/ModalFooter/ModalFooterButtons/ModalFooterButtons.js +0 -2
  420. package/dist/mocked_classnames/src/components/Modal/ModalFooter/ModalFooterButtons/ModalFooterButtons.js.map +0 -1
  421. package/dist/mocked_classnames/src/components/Modal/ModalHeader/ModalHeader.js +0 -2
  422. package/dist/mocked_classnames/src/components/Modal/ModalHeader/ModalHeader.js.map +0 -1
  423. package/dist/mocked_classnames/src/components/Modal/ModalHeader/ModalHeader.module.scss.js.map +0 -1
  424. package/dist/mocked_classnames/src/components/Modal/ModalHelper.js +0 -2
  425. package/dist/mocked_classnames/src/components/Modal/ModalHelper.js.map +0 -1
  426. package/dist/mocked_classnames/src/components/Modal/a11yDialog.js.map +0 -1
  427. package/dist/mocked_classnames/src/components/Modal/useAnimationProps.js.map +0 -1
  428. package/dist/mocked_classnames/src/components/Modal/useBodyScrollLock.js.map +0 -1
  429. package/dist/mocked_classnames/src/components/Modal/useShowHideModal.js.map +0 -1
  430. package/dist/src/components/Modal/Modal.js +0 -2
  431. package/dist/src/components/Modal/Modal.js.map +0 -1
  432. package/dist/src/components/Modal/Modal.module.scss.js +0 -2
  433. package/dist/src/components/Modal/Modal.module.scss.js.map +0 -1
  434. package/dist/src/components/Modal/ModalContent/ModalContent.js +0 -2
  435. package/dist/src/components/Modal/ModalContent/ModalContent.js.map +0 -1
  436. package/dist/src/components/Modal/ModalContent/ModalContent.module.scss.js +0 -2
  437. package/dist/src/components/Modal/ModalContent/ModalContent.module.scss.js.map +0 -1
  438. package/dist/src/components/Modal/ModalFooter/ModalFooter.js +0 -2
  439. package/dist/src/components/Modal/ModalFooter/ModalFooter.js.map +0 -1
  440. package/dist/src/components/Modal/ModalFooter/ModalFooter.module.scss.js +0 -2
  441. package/dist/src/components/Modal/ModalFooter/ModalFooter.module.scss.js.map +0 -1
  442. package/dist/src/components/Modal/ModalFooter/ModalFooterButtons/ModalFooterButtons.js +0 -2
  443. package/dist/src/components/Modal/ModalFooter/ModalFooterButtons/ModalFooterButtons.js.map +0 -1
  444. package/dist/src/components/Modal/ModalHeader/ModalHeader.js +0 -2
  445. package/dist/src/components/Modal/ModalHeader/ModalHeader.js.map +0 -1
  446. package/dist/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +0 -2
  447. package/dist/src/components/Modal/ModalHeader/ModalHeader.module.scss.js.map +0 -1
  448. package/dist/src/components/Modal/ModalHelper.js +0 -2
  449. package/dist/src/components/Modal/ModalHelper.js.map +0 -1
  450. package/dist/src/components/Modal/a11yDialog.js.map +0 -1
  451. package/dist/src/components/Modal/useAnimationProps.js.map +0 -1
  452. package/dist/src/components/Modal/useBodyScrollLock.js.map +0 -1
  453. package/dist/src/components/Modal/useShowHideModal.js.map +0 -1
  454. /package/dist/components/{Modal/Modal.types.d.ts → LegacyModal/LegacyModal.types.d.ts} +0 -0
  455. /package/dist/components/{Modal → LegacyModal}/ModalHelper.d.ts +0 -0
  456. /package/dist/components/{Modal → LegacyModal}/a11yDialog.d.ts +0 -0
  457. /package/dist/components/{Modal → LegacyModal}/useAnimationProps.d.ts +0 -0
  458. /package/dist/components/{Modal → LegacyModal}/useBodyScrollLock.d.ts +0 -0
  459. /package/dist/components/{Modal → LegacyModal}/useShowHideModal.d.ts +0 -0
  460. /package/dist/mocked_classnames/components/{Modal/Modal.types.d.ts → LegacyModal/LegacyModal.types.d.ts} +0 -0
  461. /package/dist/mocked_classnames/components/{Modal → LegacyModal}/ModalHelper.d.ts +0 -0
  462. /package/dist/mocked_classnames/components/{Modal → LegacyModal}/a11yDialog.d.ts +0 -0
  463. /package/dist/mocked_classnames/components/{Modal → LegacyModal}/useAnimationProps.d.ts +0 -0
  464. /package/dist/mocked_classnames/components/{Modal → LegacyModal}/useBodyScrollLock.d.ts +0 -0
  465. /package/dist/mocked_classnames/components/{Modal → LegacyModal}/useShowHideModal.d.ts +0 -0
  466. /package/dist/mocked_classnames/src/components/{Modal → LegacyModal}/a11yDialog.js +0 -0
  467. /package/dist/mocked_classnames/src/components/{Modal → LegacyModal}/useAnimationProps.js +0 -0
  468. /package/dist/mocked_classnames/src/components/{Modal → LegacyModal}/useBodyScrollLock.js +0 -0
  469. /package/dist/mocked_classnames/src/components/{Modal → LegacyModal}/useShowHideModal.js +0 -0
  470. /package/dist/src/components/{Modal → LegacyModal}/a11yDialog.js +0 -0
  471. /package/dist/src/components/{Modal → LegacyModal}/useAnimationProps.js +0 -0
  472. /package/dist/src/components/{Modal → LegacyModal}/useBodyScrollLock.js +0 -0
  473. /package/dist/src/components/{Modal → LegacyModal}/useShowHideModal.js +0 -0
@@ -1,2 +1,2 @@
1
- var e={optionReset:"optionReset"};!function(e){const t="s_id-64f14b86843f_3_2_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)}(".optionReset {\n height: auto;\n}");export{e as default};
1
+ var e={optionReset:"optionReset"};!function(e){const t="s_id-64f14b86843f_3_4_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)}(".optionReset {\n height: auto;\n}");export{e as default};
2
2
  //# sourceMappingURL=option.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={singleValue:"singleValue"};!function(e){const n="s_id-a262ceec984a_3_2_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)}(".singleValue {\n padding-inline: var(--spacing-xs);\n}");export{e as default};
1
+ var e={singleValue:"singleValue"};!function(e){const n="s_id-a262ceec984a_3_4_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)}(".singleValue {\n padding-inline: var(--spacing-xs);\n}");export{e as default};
2
2
  //# sourceMappingURL=singleValue.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var n={h1Bold:"h1Bold",h1Medium:"h1Medium",h1Normal:"h1Normal",h1Light:"h1Light",h2Bold:"h2Bold",h2Medium:"h2Medium",h2Normal:"h2Normal",h2Light:"h2Light",h3Bold:"h3Bold",h3Medium:"h3Medium",h3Normal:"h3Normal",h3Light:"h3Light"};!function(n){const o="s_id-81b561c226b7_3_2_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+o))return;const i=document.createElement("style");i.id=o,t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[o]=n)}(".h1Bold {\n font: var(--font-h1-bold);\n letter-spacing: var(--letter-spacing-h1-bold);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h1Medium {\n font: var(--font-h1-medium);\n letter-spacing: var(--letter-spacing-h1-medium);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h1Normal {\n font: var(--font-h1-normal);\n letter-spacing: var(--letter-spacing-h1-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h1Light {\n font: var(--font-h1-light);\n letter-spacing: var(--letter-spacing-h1-light);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h2Bold {\n font: var(--font-h2-bold);\n letter-spacing: var(--letter-spacing-h2-bold);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h2Medium {\n font: var(--font-h2-medium);\n letter-spacing: var(--letter-spacing-h2-medium);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h2Normal {\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\n.h2Light {\n font: var(--font-h2-light);\n letter-spacing: var(--letter-spacing-h2-light);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h3Bold {\n font: var(--font-h3-bold);\n letter-spacing: var(--letter-spacing-h3-bold);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h3Medium {\n font: var(--font-h3-medium);\n letter-spacing: var(--letter-spacing-h3-medium);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h3Normal {\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\n.h3Light {\n font: var(--font-h3-light);\n letter-spacing: var(--letter-spacing-h3-light);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}");export{n as default};
1
+ var n={h1Bold:"h1Bold",h1Medium:"h1Medium",h1Normal:"h1Normal",h1Light:"h1Light",h2Bold:"h2Bold",h2Medium:"h2Medium",h2Normal:"h2Normal",h2Light:"h2Light",h3Bold:"h3Bold",h3Medium:"h3Medium",h3Normal:"h3Normal",h3Light:"h3Light"};!function(n){const o="s_id-81b561c226b7_3_4_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+o))return;const i=document.createElement("style");i.id=o,t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[o]=n)}(".h1Bold {\n font: var(--font-h1-bold);\n letter-spacing: var(--letter-spacing-h1-bold);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h1Medium {\n font: var(--font-h1-medium);\n letter-spacing: var(--letter-spacing-h1-medium);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h1Normal {\n font: var(--font-h1-normal);\n letter-spacing: var(--letter-spacing-h1-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h1Light {\n font: var(--font-h1-light);\n letter-spacing: var(--letter-spacing-h1-light);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h2Bold {\n font: var(--font-h2-bold);\n letter-spacing: var(--letter-spacing-h2-bold);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h2Medium {\n font: var(--font-h2-medium);\n letter-spacing: var(--letter-spacing-h2-medium);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h2Normal {\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\n.h2Light {\n font: var(--font-h2-light);\n letter-spacing: var(--letter-spacing-h2-light);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h3Bold {\n font: var(--font-h3-bold);\n letter-spacing: var(--letter-spacing-h3-bold);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h3Medium {\n font: var(--font-h3-medium);\n letter-spacing: var(--letter-spacing-h3-medium);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h3Normal {\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\n.h3Light {\n font: var(--font-h3-light);\n letter-spacing: var(--letter-spacing-h3-light);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}");export{n as default};
2
2
  //# sourceMappingURL=EditableHeading.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var t={text1Bold:"text1Bold",text1Medium:"text1Medium",text1Normal:"text1Normal",text2Bold:"text2Bold",text2Medium:"text2Medium",text2Normal:"text2Normal",text3Bold:"text3Bold",text3Medium:"text3Medium",text3Normal:"text3Normal",editableText:"editableText",typography:"typography"};!function(t){const e="s_id-bcdc5f69e9db_3_2_0";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+e))return;const o=document.createElement("style");o.id=e,n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.appendChild(document.createTextNode(t))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=t)}(".text1Bold {\n font: var(--font-text1-bold);\n}\n\n.text1Medium {\n font: var(--font-text1-medium);\n}\n\n.text1Normal {\n font: var(--font-text1-normal);\n}\n\n.text2Bold {\n font: var(--font-text2-bold);\n}\n\n.text2Medium {\n font: var(--font-text2-medium);\n}\n\n.text2Normal {\n font: var(--font-text2-normal);\n}\n\n.text3Bold {\n font: var(--font-text3-bold);\n}\n\n.text3Medium {\n font: var(--font-text3-medium);\n}\n\n.text3Normal {\n font: var(--font-text3-normal);\n}\n\n.editableText .typography {\n min-width: 56px;\n}");export{t as default};
1
+ var t={text1Bold:"text1Bold",text1Medium:"text1Medium",text1Normal:"text1Normal",text2Bold:"text2Bold",text2Medium:"text2Medium",text2Normal:"text2Normal",text3Bold:"text3Bold",text3Medium:"text3Medium",text3Normal:"text3Normal",editableText:"editableText",typography:"typography"};!function(t){const e="s_id-bcdc5f69e9db_3_4_0";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+e))return;const o=document.createElement("style");o.id=e,n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.appendChild(document.createTextNode(t))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=t)}(".text1Bold {\n font: var(--font-text1-bold);\n}\n\n.text1Medium {\n font: var(--font-text1-medium);\n}\n\n.text1Normal {\n font: var(--font-text1-normal);\n}\n\n.text2Bold {\n font: var(--font-text2-bold);\n}\n\n.text2Medium {\n font: var(--font-text2-medium);\n}\n\n.text2Normal {\n font: var(--font-text2-normal);\n}\n\n.text3Bold {\n font: var(--font-text3-bold);\n}\n\n.text3Medium {\n font: var(--font-text3-medium);\n}\n\n.text3Normal {\n font: var(--font-text3-normal);\n}\n\n.editableText .typography {\n min-width: 56px;\n}");export{t as default};
2
2
  //# sourceMappingURL=EditableText.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={editableTypography:"editableTypography",input:"input",typography:"typography",disabled:"disabled",hidden:"hidden",placeholder:"placeholder"};!function(e){const n="s_id-77c45383a678_3_2_0";if("undefined"!=typeof document){const a=document.head||document.getElementsByTagName("head")[0];if(a.querySelector("#"+n))return;const r=document.createElement("style");r.id=n,a.firstChild?a.insertBefore(r,a.firstChild):a.appendChild(r),r.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".editableTypography {\n display: inline-flex;\n min-width: 0;\n max-width: 100%;\n margin-left: -6px;\n overflow: hidden;\n position: relative;\n}\n.editableTypography .input {\n display: inline-block;\n max-width: 100%;\n min-width: 64px;\n padding: 0 var(--spacing-xs);\n outline: none;\n border: 1px solid var(--primary-color);\n border-radius: var(--border-radius-small);\n color: var(--primary-text-color);\n background-color: transparent;\n}\n.editableTypography .input:focus, .editableTypography .input:active {\n outline: none;\n}\n.editableTypography .typography {\n border: 1px solid transparent;\n padding: 0 var(--spacing-xs);\n border-radius: var(--border-radius-small);\n}\n.editableTypography .typography:hover:not(.disabled) {\n border-color: var(--ui-border-color);\n}\n.editableTypography .typography.hidden {\n position: absolute;\n opacity: 0;\n height: 0;\n visibility: hidden;\n white-space: pre;\n}\n.editableTypography .typography.placeholder {\n color: var(--secondary-text-color);\n}");export{e as default};
1
+ var e={editableTypography:"editableTypography",input:"input",typography:"typography",disabled:"disabled",hidden:"hidden",placeholder:"placeholder"};!function(e){const n="s_id-77c45383a678_3_4_0";if("undefined"!=typeof document){const a=document.head||document.getElementsByTagName("head")[0];if(a.querySelector("#"+n))return;const r=document.createElement("style");r.id=n,a.firstChild?a.insertBefore(r,a.firstChild):a.appendChild(r),r.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".editableTypography {\n display: inline-flex;\n min-width: 0;\n max-width: 100%;\n margin-left: -6px;\n overflow: hidden;\n position: relative;\n}\n.editableTypography .input {\n display: inline-block;\n max-width: 100%;\n min-width: 64px;\n padding: 0 var(--spacing-xs);\n outline: none;\n border: 1px solid var(--primary-color);\n border-radius: var(--border-radius-small);\n color: var(--primary-text-color);\n background-color: transparent;\n}\n.editableTypography .input:focus, .editableTypography .input:active {\n outline: none;\n}\n.editableTypography .typography {\n border: 1px solid transparent;\n padding: 0 var(--spacing-xs);\n border-radius: var(--border-radius-small);\n}\n.editableTypography .typography:hover:not(.disabled) {\n border-color: var(--ui-border-color);\n}\n.editableTypography .typography.hidden {\n position: absolute;\n opacity: 0;\n height: 0;\n visibility: hidden;\n white-space: pre;\n}\n.editableTypography .typography.placeholder {\n color: var(--secondary-text-color);\n}");export{e as default};
2
2
  //# sourceMappingURL=EditableTypography.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var n={expandCollapse:"expandCollapse",header:"header","focus-visible":"focus-visible",headerContent:"headerContent",iconComponent:"iconComponent",content:"content",section:"section",hideBorder:"hideBorder",hideBorderBottom:"hideBorderBottom",showBorder:"showBorder",headerOpen:"headerOpen",animateIconOpen:"animateIconOpen",animateIconClose:"animateIconClose"};!function(n){const e="s_id-ca6f6158d39b_3_2_0";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)}(".expandCollapse {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n color: var(--primary-text-color);\n background-color: transparent;\n box-sizing: border-box;\n border-radius: var(--border-radius-small);\n}\n\n.header {\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 padding: var(--spacing-medium);\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: pointer;\n}\n\n.header:focus-visible, .header.focus-visible {\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\n.header:focus:not(.focus-visible) {\n outline: none;\n}\n\n.header:hover {\n background-color: var(--primary-background-hover-color);\n}\n\n.header:active {\n transform: scale(1);\n}\n\n.header .headerContent {\n margin: 0;\n}\n\n.header .iconComponent {\n color: var(--icon-color);\n}\n\n.content {\n padding: var(--spacing-medium);\n}\n\n.section {\n width: 100%;\n}\n\n.hideBorder {\n border: none;\n}\n\n.hideBorderBottom {\n border-bottom: none;\n}\n\n.showBorder {\n border: 1px solid var(--ui-border-color);\n}\n\n.showBorder .headerOpen {\n border-bottom: 1px solid;\n border-color: var(--ui-border-color);\n}\n\n.animateIconOpen {\n transform: rotate(-180deg);\n transition: transform var(--motion-expressive-short) var(--motion-timing-transition);\n}\n\n.animateIconClose {\n transform: rotate(-360deg);\n transition: transform var(--motion-expressive-short) var(--motion-timing-transition);\n}");export{n as default};
1
+ var n={expandCollapse:"expandCollapse",header:"header","focus-visible":"focus-visible",headerContent:"headerContent",iconComponent:"iconComponent",content:"content",section:"section",hideBorder:"hideBorder",hideBorderBottom:"hideBorderBottom",showBorder:"showBorder",headerOpen:"headerOpen",animateIconOpen:"animateIconOpen",animateIconClose:"animateIconClose"};!function(n){const e="s_id-ca6f6158d39b_3_4_0";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)}(".expandCollapse {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n color: var(--primary-text-color);\n background-color: transparent;\n box-sizing: border-box;\n border-radius: var(--border-radius-small);\n}\n\n.header {\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 padding: var(--spacing-medium);\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: pointer;\n}\n\n.header:focus-visible, .header.focus-visible {\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\n.header:focus:not(.focus-visible) {\n outline: none;\n}\n\n.header:hover {\n background-color: var(--primary-background-hover-color);\n}\n\n.header:active {\n transform: scale(1);\n}\n\n.header .headerContent {\n margin: 0;\n}\n\n.header .iconComponent {\n color: var(--icon-color);\n}\n\n.content {\n padding: var(--spacing-medium);\n}\n\n.section {\n width: 100%;\n}\n\n.hideBorder {\n border: none;\n}\n\n.hideBorderBottom {\n border-bottom: none;\n}\n\n.showBorder {\n border: 1px solid var(--ui-border-color);\n}\n\n.showBorder .headerOpen {\n border-bottom: 1px solid;\n border-color: var(--ui-border-color);\n}\n\n.animateIconOpen {\n transform: rotate(-180deg);\n transition: transform var(--motion-expressive-short) var(--motion-timing-transition);\n}\n\n.animateIconClose {\n transform: rotate(-360deg);\n transition: transform var(--motion-expressive-short) var(--motion-timing-transition);\n}");export{n as default};
2
2
  //# sourceMappingURL=ExpandCollapse.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={labelComponentWrapper:"labelComponentWrapper",labelComponentIcon:"labelComponentIcon",labelComponentText:"labelComponentText",required:"required"};!function(e){const n="s_id-12dfba012dab_3_2_0";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,o.firstChild?o.insertBefore(t,o.firstChild):o.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".labelComponentWrapper {\n font: var(--font-text2-normal);\n display: flex;\n padding-bottom: var(--spacing-xs);\n align-items: center;\n}\n\n.labelComponentIcon {\n margin: 0 var(--spacing-small) 0 var(--spacing-xs);\n line-height: 24px;\n color: var(--secondary-text-color);\n}\n\n.labelComponentText {\n color: var(--primary-text-color);\n padding-block: 2px;\n}\n\n.required {\n color: var(--negative-color);\n}");export{e as default};
1
+ var e={labelComponentWrapper:"labelComponentWrapper",labelComponentIcon:"labelComponentIcon",labelComponentText:"labelComponentText",required:"required"};!function(e){const n="s_id-12dfba012dab_3_4_0";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,o.firstChild?o.insertBefore(t,o.firstChild):o.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".labelComponentWrapper {\n font: var(--font-text2-normal);\n display: flex;\n padding-bottom: var(--spacing-xs);\n align-items: center;\n}\n\n.labelComponentIcon {\n margin: 0 var(--spacing-small) 0 var(--spacing-xs);\n line-height: 24px;\n color: var(--secondary-text-color);\n}\n\n.labelComponentText {\n color: var(--primary-text-color);\n padding-block: 2px;\n}\n\n.required {\n color: var(--negative-color);\n}");export{e as default};
2
2
  //# sourceMappingURL=FieldLabel.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var n={container:"container",justifyStart:"justifyStart",justifyEnd:"justifyEnd",justifyCenter:"justifyCenter",justifySpaceBetween:"justifySpaceBetween",justifySpaceAround:"justifySpaceAround",justifyInital:"justifyInital",alignStart:"alignStart",alignEnd:"alignEnd",alignCenter:"alignCenter",alignStretch:"alignStretch",alignBaseline:"alignBaseline",alignInitial:"alignInitial",directionColumn:"directionColumn",wrap:"wrap"};!function(n){const t="s_id-3ad7193e0a34_3_2_0";if("undefined"!=typeof document){const e=document.head||document.getElementsByTagName("head")[0];if(e.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,e.firstChild?e.insertBefore(i,e.firstChild):e.appendChild(i),i.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=n)}(".container {\n display: flex;\n flex-direction: row;\n}\n.container.justifyStart {\n justify-content: flex-start;\n}\n.container.justifyEnd {\n justify-content: flex-end;\n}\n.container.justifyCenter {\n justify-content: center;\n}\n.container.justifySpaceBetween {\n justify-content: space-between;\n}\n.container.justifySpaceAround {\n justify-content: space-around;\n}\n.container.justifyInital {\n justify-content: initial;\n}\n.container.alignStart {\n align-items: flex-start;\n}\n.container.alignEnd {\n align-items: flex-end;\n}\n.container.alignCenter {\n align-items: center;\n}\n.container.alignStretch {\n align-items: stretch;\n}\n.container.alignBaseline {\n align-items: baseline;\n}\n.container.alignInitial {\n align-items: initial;\n}\n.container.directionColumn {\n flex-direction: column;\n}\n.container.wrap {\n flex-wrap: wrap;\n}");export{n as default};
1
+ var n={container:"container",justifyStart:"justifyStart",justifyEnd:"justifyEnd",justifyCenter:"justifyCenter",justifySpaceBetween:"justifySpaceBetween",justifySpaceAround:"justifySpaceAround",justifyInital:"justifyInital",alignStart:"alignStart",alignEnd:"alignEnd",alignCenter:"alignCenter",alignStretch:"alignStretch",alignBaseline:"alignBaseline",alignInitial:"alignInitial",directionColumn:"directionColumn",wrap:"wrap"};!function(n){const t="s_id-3ad7193e0a34_3_4_0";if("undefined"!=typeof document){const e=document.head||document.getElementsByTagName("head")[0];if(e.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,e.firstChild?e.insertBefore(i,e.firstChild):e.appendChild(i),i.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=n)}(".container {\n display: flex;\n flex-direction: row;\n}\n.container.justifyStart {\n justify-content: flex-start;\n}\n.container.justifyEnd {\n justify-content: flex-end;\n}\n.container.justifyCenter {\n justify-content: center;\n}\n.container.justifySpaceBetween {\n justify-content: space-between;\n}\n.container.justifySpaceAround {\n justify-content: space-around;\n}\n.container.justifyInital {\n justify-content: initial;\n}\n.container.alignStart {\n align-items: flex-start;\n}\n.container.alignEnd {\n align-items: flex-end;\n}\n.container.alignCenter {\n align-items: center;\n}\n.container.alignStretch {\n align-items: stretch;\n}\n.container.alignBaseline {\n align-items: baseline;\n}\n.container.alignInitial {\n align-items: initial;\n}\n.container.directionColumn {\n flex-direction: column;\n}\n.container.wrap {\n flex-wrap: wrap;\n}");export{n as default};
2
2
  //# sourceMappingURL=Flex.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={formattedNumberComponent:"formattedNumberComponent",prefix:"prefix",suffix:"suffix"};!function(e){const n="s_id-d821b20045aa_3_2_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)}(".formattedNumberComponent {\n display: flex;\n flex-direction: row;\n box-sizing: border-box;\n font-family: var(--font-family);\n width: 100%;\n}\n\n.prefix {\n white-space: pre;\n}\n\n.suffix {\n white-space: pre;\n}");export{e as default};
1
+ var e={formattedNumberComponent:"formattedNumberComponent",prefix:"prefix",suffix:"suffix"};!function(e){const n="s_id-d821b20045aa_3_4_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)}(".formattedNumberComponent {\n display: flex;\n flex-direction: row;\n box-sizing: border-box;\n font-family: var(--font-family);\n width: 100%;\n}\n\n.prefix {\n white-space: pre;\n}\n\n.suffix {\n white-space: pre;\n}");export{e as default};
2
2
  //# sourceMappingURL=FormattedNumber.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var n={h1Bold:"h1Bold",h1Medium:"h1Medium",h1Normal:"h1Normal",h1Light:"h1Light",h2Bold:"h2Bold",h2Medium:"h2Medium",h2Normal:"h2Normal",h2Light:"h2Light",h3Bold:"h3Bold",h3Medium:"h3Medium",h3Normal:"h3Normal",h3Light:"h3Light",heading:"heading"};!function(n){const o="s_id-7b3706ef5cf5_3_2_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+o))return;const i=document.createElement("style");i.id=o,t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[o]=n)}(".h1Bold {\n font: var(--font-h1-bold);\n letter-spacing: var(--letter-spacing-h1-bold);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h1Medium {\n font: var(--font-h1-medium);\n letter-spacing: var(--letter-spacing-h1-medium);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h1Normal {\n font: var(--font-h1-normal);\n letter-spacing: var(--letter-spacing-h1-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h1Light {\n font: var(--font-h1-light);\n letter-spacing: var(--letter-spacing-h1-light);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h2Bold {\n font: var(--font-h2-bold);\n letter-spacing: var(--letter-spacing-h2-bold);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h2Medium {\n font: var(--font-h2-medium);\n letter-spacing: var(--letter-spacing-h2-medium);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h2Normal {\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\n.h2Light {\n font: var(--font-h2-light);\n letter-spacing: var(--letter-spacing-h2-light);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h3Bold {\n font: var(--font-h3-bold);\n letter-spacing: var(--letter-spacing-h3-bold);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h3Medium {\n font: var(--font-h3-medium);\n letter-spacing: var(--letter-spacing-h3-medium);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h3Normal {\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\n.h3Light {\n font: var(--font-h3-light);\n letter-spacing: var(--letter-spacing-h3-light);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.heading {\n margin: 0;\n}");export{n as default};
1
+ var n={h1Bold:"h1Bold",h1Medium:"h1Medium",h1Normal:"h1Normal",h1Light:"h1Light",h2Bold:"h2Bold",h2Medium:"h2Medium",h2Normal:"h2Normal",h2Light:"h2Light",h3Bold:"h3Bold",h3Medium:"h3Medium",h3Normal:"h3Normal",h3Light:"h3Light",heading:"heading"};!function(n){const o="s_id-7b3706ef5cf5_3_4_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+o))return;const i=document.createElement("style");i.id=o,t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[o]=n)}(".h1Bold {\n font: var(--font-h1-bold);\n letter-spacing: var(--letter-spacing-h1-bold);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h1Medium {\n font: var(--font-h1-medium);\n letter-spacing: var(--letter-spacing-h1-medium);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h1Normal {\n font: var(--font-h1-normal);\n letter-spacing: var(--letter-spacing-h1-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h1Light {\n font: var(--font-h1-light);\n letter-spacing: var(--letter-spacing-h1-light);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h2Bold {\n font: var(--font-h2-bold);\n letter-spacing: var(--letter-spacing-h2-bold);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h2Medium {\n font: var(--font-h2-medium);\n letter-spacing: var(--letter-spacing-h2-medium);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h2Normal {\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\n.h2Light {\n font: var(--font-h2-light);\n letter-spacing: var(--letter-spacing-h2-light);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h3Bold {\n font: var(--font-h3-bold);\n letter-spacing: var(--letter-spacing-h3-bold);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h3Medium {\n font: var(--font-h3-medium);\n letter-spacing: var(--letter-spacing-h3-medium);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.h3Normal {\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\n.h3Light {\n font: var(--font-h3-light);\n letter-spacing: var(--letter-spacing-h3-light);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n\n.heading {\n margin: 0;\n}");export{n as default};
2
2
  //# sourceMappingURL=Heading.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={hiddenTextWrapper:"hiddenTextWrapper"};!function(e){const t="s_id-5ac012179a41_3_2_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)}(".hiddenTextWrapper {\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"};!function(e){const t="s_id-5ac012179a41_3_4_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)}(".hiddenTextWrapper {\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={icon:"icon",noFocusStyle:"noFocusStyle",clickable:"clickable"};!function(e){const n="s_id-039c30c54242_3_2_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const o=document.createElement("style");o.id=n,t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".icon {\n position: relative;\n}\n\n.icon:before {\n text-decoration: none !important;\n}\n\n.noFocusStyle:focus {\n outline: none;\n}\n\n.clickable {\n cursor: pointer;\n}");export{e as default};
1
+ var e={icon:"icon",noFocusStyle:"noFocusStyle",clickable:"clickable"};!function(e){const n="s_id-039c30c54242_3_4_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const o=document.createElement("style");o.id=n,t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".icon {\n position: relative;\n}\n\n.icon:before {\n text-decoration: none !important;\n}\n\n.noFocusStyle:focus {\n outline: none;\n}\n\n.clickable {\n cursor: pointer;\n}");export{e as default};
2
2
  //# sourceMappingURL=Icon.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={wrapper:"wrapper",referenceWrapper:"referenceWrapper",loader:"loader",xxs:"xxs"};!function(e){const n="s_id-8d1605f1f87b_3_2_0";if("undefined"!=typeof document){const r=document.head||document.getElementsByTagName("head")[0];if(r.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,r.firstChild?r.insertBefore(t,r.firstChild):r.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".wrapper {\n width: fit-content;\n height: fit-content;\n display: inline-flex;\n}\n\n.referenceWrapper {\n display: inline-flex;\n}\n\n.referenceWrapper button .loader {\n width: 16px;\n height: 16px;\n}\n\n.referenceWrapper button .loader.xxs {\n width: 10px;\n height: 10px;\n}\n\n.referenceWrapper button .loader.xxs svg {\n display: block;\n}");export{e as default};
1
+ var e={wrapper:"wrapper",referenceWrapper:"referenceWrapper",loader:"loader",xxs:"xxs"};!function(e){const n="s_id-8d1605f1f87b_3_4_0";if("undefined"!=typeof document){const r=document.head||document.getElementsByTagName("head")[0];if(r.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,r.firstChild?r.insertBefore(t,r.firstChild):r.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".wrapper {\n width: fit-content;\n height: fit-content;\n display: inline-flex;\n}\n\n.referenceWrapper {\n display: inline-flex;\n}\n\n.referenceWrapper button .loader {\n width: 16px;\n height: 16px;\n}\n\n.referenceWrapper button .loader.xxs {\n width: 10px;\n height: 10px;\n}\n\n.referenceWrapper button .loader.xxs svg {\n display: block;\n}");export{e as default};
2
2
  //# sourceMappingURL=IconButton.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var n={clickable:"clickable","focus-visible":"focus-visible",disabled:"disabled",disableTextSelection:"disableTextSelection",clickableWrapper:"clickableWrapper",label:"label",small:"small",withLeg:"withLeg",legWrapper:"legWrapper",kindFill:"kindFill",colorPrimary:"colorPrimary",colorDark:"colorDark",colorNegative:"colorNegative",colorPositive:"colorPositive",kindLine:"kindLine",smallText:"smallText"};!function(n){const o="s_id-4bcc4b0ff746_3_2_0";if("undefined"!=typeof document){const r=document.head||document.getElementsByTagName("head")[0];if(r.querySelector("#"+o))return;const i=document.createElement("style");i.id=o,r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[o]=n)}(".clickable {\n cursor: pointer;\n}\n.clickable:focus-visible, .clickable.focus-visible {\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.clickable:focus:not(.focus-visible) {\n outline: none;\n}\n.clickable.disabled {\n cursor: default;\n}\n.disableTextSelection {\n -webkit-touch-callout: none; /* iOS Safari */ /* Safari */ /* Konqueror HTML */ /* Old versions of Firefox */ /* Internet Explorer/Edge */\n user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */\n}\n.clickableWrapper {\n cursor: pointer;\n}\n.clickableWrapper:focus-visible, .clickableWrapper.focus-visible {\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:focus:not(.focus-visible) {\n outline: none;\n}\n.clickableWrapper:active {\n transform: scale(0.95) translate3d(0, 0, 0);\n transition: var(--motion-productive-short) transform;\n}\n.label {\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(--spacing-small);\n position: relative;\n}\n.label.small {\n padding: 0 var(--spacing-xs);\n border-radius: 2px;\n}\n.withLeg {\n border-radius: var(--border-radius-small) var(--border-radius-small) var(--border-radius-small) 0;\n}\n.legWrapper {\n position: absolute;\n height: 8px;\n top: 100%;\n left: 0;\n display: inline-flex;\n}\n.kindFill.colorPrimary {\n background-color: var(--primary-color);\n}\n.kindFill.colorPrimary svg path {\n fill: var(--primary-color);\n}\n.kindFill.colorPrimary.clickable:hover, .kindFill.colorPrimary.clickable:active {\n background-color: var(--primary-hover-color);\n}\n.kindFill.colorDark {\n background-color: var(--inverted-color-background);\n}\n.kindFill.colorDark svg path {\n fill: var(--inverted-color-background);\n}\n.kindFill.colorNegative {\n background-color: var(--negative-color);\n}\n.kindFill.colorNegative svg path {\n fill: var(--negative-color);\n}\n.kindFill.colorNegative.clickable:hover, .kindFill.colorNegative.clickable:active {\n background-color: var(--negative-color-hover);\n}\n.kindFill.colorPositive {\n background-color: var(--positive-color);\n}\n.kindFill.colorPositive svg path {\n fill: var(--positive-color);\n}\n.kindFill.colorPositive.clickable:hover, .kindFill.colorPositive.clickable:active {\n background-color: var(--positive-color-hover);\n}\n.kindLine {\n border: 1px solid currentColor;\n padding: 1px var(--spacing-small);\n}\n.kindLine .legWrapper {\n left: -1px;\n top: calc(100% + 1px);\n}\n.kindLine.colorPrimary {\n color: var(--primary-color);\n}\n.kindLine.colorPrimary svg path {\n fill: var(--primary-color);\n}\n.kindLine.colorPrimary.clickable:hover, .kindLine.colorPrimary.clickable:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine.colorDark {\n color: var(--inverted-color-background);\n}\n.kindLine.colorDark svg path {\n fill: var(--inverted-color-background);\n}\n.kindLine.colorDark.clickable:hover, .kindLine.colorDark.clickable:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine.colorNegative {\n color: var(--negative-color);\n}\n.kindLine.colorNegative svg path {\n fill: var(--negative-color);\n}\n.kindLine.colorNegative.clickable:hover, .kindLine.colorNegative.clickable:active {\n background-color: var(--negative-color-selected);\n}\n.kindLine.colorPositive {\n color: var(--positive-color);\n}\n.kindLine.colorPositive svg path {\n fill: var(--positive-color);\n}\n.kindLine.colorPositive.clickable:hover, .kindLine.colorPositive.clickable:active {\n background-color: var(--positive-color-selected);\n}\n.kindLine .smallText {\n line-height: 14px;\n}");export{n as default};
1
+ var n={clickable:"clickable","focus-visible":"focus-visible",disabled:"disabled",disableTextSelection:"disableTextSelection",clickableWrapper:"clickableWrapper",label:"label",small:"small",withLeg:"withLeg",legWrapper:"legWrapper",kindFill:"kindFill",colorPrimary:"colorPrimary",colorDark:"colorDark",colorNegative:"colorNegative",colorPositive:"colorPositive",kindLine:"kindLine",smallText:"smallText"};!function(n){const o="s_id-4bcc4b0ff746_3_4_0";if("undefined"!=typeof document){const r=document.head||document.getElementsByTagName("head")[0];if(r.querySelector("#"+o))return;const i=document.createElement("style");i.id=o,r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[o]=n)}(".clickable {\n cursor: pointer;\n}\n.clickable:focus-visible, .clickable.focus-visible {\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.clickable:focus:not(.focus-visible) {\n outline: none;\n}\n.clickable.disabled {\n cursor: default;\n}\n.disableTextSelection {\n -webkit-touch-callout: none; /* iOS Safari */ /* Safari */ /* Konqueror HTML */ /* Old versions of Firefox */ /* Internet Explorer/Edge */\n user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */\n}\n.clickableWrapper {\n cursor: pointer;\n}\n.clickableWrapper:focus-visible, .clickableWrapper.focus-visible {\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:focus:not(.focus-visible) {\n outline: none;\n}\n.clickableWrapper:active {\n transform: scale(0.95) translate3d(0, 0, 0);\n transition: var(--motion-productive-short) transform;\n}\n.label {\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(--spacing-small);\n position: relative;\n}\n.label.small {\n padding: 0 var(--spacing-xs);\n border-radius: 2px;\n}\n.withLeg {\n border-radius: var(--border-radius-small) var(--border-radius-small) var(--border-radius-small) 0;\n}\n.legWrapper {\n position: absolute;\n height: 8px;\n top: 100%;\n left: 0;\n display: inline-flex;\n}\n.kindFill.colorPrimary {\n background-color: var(--primary-color);\n}\n.kindFill.colorPrimary svg path {\n fill: var(--primary-color);\n}\n.kindFill.colorPrimary.clickable:hover, .kindFill.colorPrimary.clickable:active {\n background-color: var(--primary-hover-color);\n}\n.kindFill.colorDark {\n background-color: var(--inverted-color-background);\n}\n.kindFill.colorDark svg path {\n fill: var(--inverted-color-background);\n}\n.kindFill.colorNegative {\n background-color: var(--negative-color);\n}\n.kindFill.colorNegative svg path {\n fill: var(--negative-color);\n}\n.kindFill.colorNegative.clickable:hover, .kindFill.colorNegative.clickable:active {\n background-color: var(--negative-color-hover);\n}\n.kindFill.colorPositive {\n background-color: var(--positive-color);\n}\n.kindFill.colorPositive svg path {\n fill: var(--positive-color);\n}\n.kindFill.colorPositive.clickable:hover, .kindFill.colorPositive.clickable:active {\n background-color: var(--positive-color-hover);\n}\n.kindLine {\n border: 1px solid currentColor;\n padding: 1px var(--spacing-small);\n}\n.kindLine .legWrapper {\n left: -1px;\n top: calc(100% + 1px);\n}\n.kindLine.colorPrimary {\n color: var(--primary-color);\n}\n.kindLine.colorPrimary svg path {\n fill: var(--primary-color);\n}\n.kindLine.colorPrimary.clickable:hover, .kindLine.colorPrimary.clickable:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine.colorDark {\n color: var(--inverted-color-background);\n}\n.kindLine.colorDark svg path {\n fill: var(--inverted-color-background);\n}\n.kindLine.colorDark.clickable:hover, .kindLine.colorDark.clickable:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine.colorNegative {\n color: var(--negative-color);\n}\n.kindLine.colorNegative svg path {\n fill: var(--negative-color);\n}\n.kindLine.colorNegative.clickable:hover, .kindLine.colorNegative.clickable:active {\n background-color: var(--negative-color-selected);\n}\n.kindLine.colorPositive {\n color: var(--positive-color);\n}\n.kindLine.colorPositive svg path {\n fill: var(--positive-color);\n}\n.kindLine.colorPositive.clickable:hover, .kindLine.colorPositive.clickable:active {\n background-color: var(--positive-color-selected);\n}\n.kindLine .smallText {\n line-height: 14px;\n}");export{n as default};
2
2
  //# sourceMappingURL=Label.module.scss.js.map
@@ -1,2 +1,2 @@
1
- var e={celebration:"celebration",svg:"svg",stroke:"stroke","stroke-rotate":"stroke-rotate",base:"base",fade:"fade",first:"first",second:"second",third:"third","gradient-text-fill":"gradient-text-fill"};!function(e){const n="s_id-cc5df975abc6_3_2_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const r=document.createElement("style");r.id=n,t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".celebration {\n --container-perimeter: 840;\n position: relative;\n}\n.celebration .svg {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n}\n.celebration .svg .stroke {\n fill: none;\n stroke-width: 1;\n stroke-linecap: round;\n stroke-linejoin: round;\n animation: stroke-rotate cubic-bezier(0.33, 0, 0.67, 1) forwards;\n stroke-dasharray: var(--container-perimeter);\n stroke-dashoffset: var(--container-perimeter);\n}\n.celebration .svg .stroke.base {\n stroke: var(--color-egg_yolk);\n animation: fade 200ms linear forwards;\n animation-delay: 80ms;\n stroke-dasharray: 0;\n stroke-dashoffset: 0;\n opacity: 0;\n}\n.celebration .svg .stroke.first {\n stroke: var(--color-done-green);\n animation-delay: 80ms;\n animation-duration: 320ms;\n}\n.celebration .svg .stroke.second {\n stroke: var(--color-stuck-red);\n animation-delay: 200ms;\n animation-duration: 320ms;\n}\n.celebration .svg .stroke.third {\n stroke: var(--primary-color);\n animation-delay: 360ms;\n animation-duration: 320ms;\n}\n.celebration.celebration [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 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 {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes stroke-rotate {\n to {\n stroke-dashoffset: 0;\n }\n}\n@keyframes gradient-text-fill {\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",svg:"svg",stroke:"stroke","stroke-rotate":"stroke-rotate",base:"base",fade:"fade",first:"first",second:"second",third:"third","gradient-text-fill":"gradient-text-fill"};!function(e){const n="s_id-cc5df975abc6_3_4_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const r=document.createElement("style");r.id=n,t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".celebration {\n --container-perimeter: 840;\n position: relative;\n}\n.celebration .svg {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n}\n.celebration .svg .stroke {\n fill: none;\n stroke-width: 1;\n stroke-linecap: round;\n stroke-linejoin: round;\n animation: stroke-rotate cubic-bezier(0.33, 0, 0.67, 1) forwards;\n stroke-dasharray: var(--container-perimeter);\n stroke-dashoffset: var(--container-perimeter);\n}\n.celebration .svg .stroke.base {\n stroke: var(--color-egg_yolk);\n animation: fade 200ms linear forwards;\n animation-delay: 80ms;\n stroke-dasharray: 0;\n stroke-dashoffset: 0;\n opacity: 0;\n}\n.celebration .svg .stroke.first {\n stroke: var(--color-done-green);\n animation-delay: 80ms;\n animation-duration: 320ms;\n}\n.celebration .svg .stroke.second {\n stroke: var(--color-stuck-red);\n animation-delay: 200ms;\n animation-duration: 320ms;\n}\n.celebration .svg .stroke.third {\n stroke: var(--primary-color);\n animation-delay: 360ms;\n animation-duration: 320ms;\n}\n.celebration.celebration [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 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 {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes stroke-rotate {\n to {\n stroke-dashoffset: 0;\n }\n}\n@keyframes gradient-text-fill {\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
@@ -0,0 +1,2 @@
1
+ import{slicedToArray as e,defineProperty as t}from"../../../_virtual/_rollupPluginBabelHelpers.js";import o,{useMemo as r,useCallback as i,cloneElement as l}from"react";import a from"react-dom";import n from"classnames";import{useA11yDialog as s}from"./a11yDialog.js";import d from"./LegacyModalContent/LegacyModalContent.js";import m from"./LegacyModalHeader/LegacyModalHeader.js";import c from"./useBodyScrollLock.js";import u from"./useShowHideModal.js";import{ModalWidth as f,validateTitleProp as p,isModalHeader as v,isModalContent as y,isModalFooter as g}from"./ModalHelper.js";import{NOOP as j}from"../../utils/function-utils.js";import{withStaticProps as h}from"../../types/withStaticProps.js";import"../../utils/colors-vars-map.js";import{getTestId as L}from"../../tests/testIds.js";import{ComponentDefaultTestId as M}from"../../tests/constants.js";import w from"./LegacyModal.module.scss.js";import E from"../LayerProvider/LayerProvider.js";import{isClient as C}from"../../utils/ssr-utils.js";var A=h((function(f){var h=f.classNames,A=void 0===h?{container:"",overlay:"",modal:""}:h,b=f.id,D=f.show,O=f.title,P=void 0===O?"":O,H=f.description,S=void 0===H?"":H,B=f.onClose,N=void 0===B?j:B,x=f.alertDialog,_=void 0!==x&&x,k=f.children,z=f.triggerElement,I=f.width,R=void 0===I?"default":I,T=f.closeButtonAriaLabel,V=void 0===T?"Close":T,Y=f.contentSpacing,$=void 0!==Y&&Y,q=f.zIndex,F=void 0===q?1e4:q,G=f.unmountOnClose,J=void 0===G||G,K=f["data-testid"],Q=r((function(){return k?o.Children.toArray(k):[]}),[k]);p(P,Q);var U=s({id:b,alertDialog:_}),W=e(U,2),X=W[0],Z=W[1],ee=i((function(){_||null==N||N()}),[_,N]);c({instance:X});var te=u({instance:X,show:D,triggerElement:z,onClose:N,alertDialog:_}).shouldShow,oe=r((function(){var e=Z.title.id,t=Q.find(v);return t?l(t,{id:e,closeModal:N}):o.createElement(m,{title:P,description:S,closeModal:N,id:e,closeButtonAriaLabel:V})}),[Z.title,Q,P,S,N,V]),re=r((function(){return Q.find(y)||o.createElement(d,null,Q.filter((function(e){return!v(e)&&!g(e)})))}),[Q]),ie=r((function(){return Q.find(g)||null}),[Q]),le="default"!==R&&"full-width"!==R,ae=o.createElement(E,{layerRef:{current:null==X?void 0:X.$el}},o.createElement("div",Object.assign({},Z.container,{className:n(w.container,A.container),"data-testid":K||L(M.MODAL,b),style:{"--monday-modal-z-index":F}}),o.createElement("div",{onClick:ee,className:n(w.overlay,A.overlay),"data-testid":M.MODAL_OVERLAY}),o.createElement("div",Object.assign({},Z.dialog,{className:n(w.dialog,A.modal,t(t(t({},w.default,"default"===R),w.full,"full-width"===R),w.spacing,$)),style:{width:le?R:null}}),oe,re,ie)));return J&&!te?null:C()?a.createPortal(ae,document.body):null}),{width:f});export{A as default};
2
+ //# sourceMappingURL=LegacyModal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegacyModal.js","sources":["../../../../../src/components/LegacyModal/LegacyModal.tsx"],"sourcesContent":["import React, { cloneElement, FC, ReactElement, useCallback, useMemo } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport cx from \"classnames\";\nimport { useA11yDialog } from \"./a11yDialog\";\nimport ModalContent from \"./LegacyModalContent/LegacyModalContent\";\nimport ModalHeader from \"./LegacyModalHeader/LegacyModalHeader\";\nimport useBodyScrollLock from \"./useBodyScrollLock\";\nimport useShowHideModal from \"./useShowHideModal\";\nimport {\n isModalContent,\n isModalFooter,\n isModalHeader,\n ModalWidth as ModalWidthEnum,\n validateTitleProp\n} from \"./ModalHelper\";\nimport { NOOP } from \"../../utils/function-utils\";\nimport { withStaticProps } from \"../../types\";\nimport { getTestId } from \"../../tests/test-ids-utils\";\nimport { ComponentDefaultTestId } from \"../../tests/constants\";\nimport styles from \"./LegacyModal.module.scss\";\nimport { ModalWidth } from \"./LegacyModal.types\";\nimport LayerProvider from \"../LayerProvider/LayerProvider\";\nimport { isClient } from \"../../utils/ssr-utils\";\n\nexport interface LegacyModalProps {\n /**\n * Id of the modal, used internally and for accessibility\n */\n id?: string;\n \"data-testid\"?: string;\n /**\n * Show/hide the Dialog\n */\n show: boolean;\n /**\n * Heading for the modal, mandatory when ModalHeader isn't provided in children\n */\n title?: string;\n /**\n * Description for the modal title\n */\n description?: string;\n /**\n * Called when the modal is closed (by close button/click outside/esc key)\n */\n onClose: () => void;\n /**\n * Makes the dialog behave like a modal (preventing closing on click outside of\n * ESC key)..\n */\n alertDialog?: boolean;\n /**\n * Used for the fromOrigin animation\n */\n triggerElement?: Element;\n /**\n * Set the modal's width. Can be one of the presets or any custom size\n */\n width?: ModalWidth | string;\n /**\n * Aria label for the close button\n */\n closeButtonAriaLabel?: string;\n /**\n * Add gaps between parts of the modal\n */\n contentSpacing?: boolean;\n /**\n * classNames for specific parts of the dialog\n */\n classNames?: {\n container?: string;\n overlay?: string;\n modal?: string;\n };\n /**\n * Dialog content\n */\n children?: ReactElement | ReactElement[];\n /**\n * z-index attribute of the container\n */\n zIndex?: number;\n /**\n * When `false`, the modal will remain in the DOM when closed\n */\n unmountOnClose?: boolean;\n}\n\nconst Modal: FC<LegacyModalProps> & { width?: typeof ModalWidthEnum } = ({\n classNames = { container: \"\", overlay: \"\", modal: \"\" },\n id,\n show,\n title = \"\",\n description = \"\",\n onClose = NOOP,\n alertDialog = false,\n children,\n triggerElement,\n width = \"default\",\n closeButtonAriaLabel = \"Close\",\n contentSpacing = false,\n zIndex = 10000,\n unmountOnClose = true,\n \"data-testid\": dataTestId\n}: LegacyModalProps) => {\n const childrenArray: ReactElement[] = useMemo(\n () => (children ? (React.Children.toArray(children) as ReactElement[]) : []),\n [children]\n );\n validateTitleProp(title, childrenArray);\n\n const [instance, attr] = useA11yDialog({\n id,\n alertDialog\n });\n\n const closeIfNotAlertType = useCallback(() => {\n if (!alertDialog) {\n onClose?.();\n }\n }, [alertDialog, onClose]);\n\n // lock body scroll when modal is open\n useBodyScrollLock({ instance });\n\n // show/hide and animate the modal\n const { shouldShow } = useShowHideModal({\n instance,\n show,\n triggerElement,\n onClose,\n alertDialog\n });\n\n const header = useMemo(() => {\n const { id } = attr.title;\n const header = childrenArray.find(isModalHeader);\n if (header) {\n return cloneElement(header, { id, closeModal: onClose });\n }\n return (\n <ModalHeader\n title={title}\n description={description}\n closeModal={onClose}\n id={id}\n closeButtonAriaLabel={closeButtonAriaLabel}\n />\n );\n }, [attr.title, childrenArray, title, description, onClose, closeButtonAriaLabel]);\n\n const content = useMemo(() => {\n return (\n childrenArray.find(isModalContent) || (\n <ModalContent>{childrenArray.filter(child => !isModalHeader(child) && !isModalFooter(child))}</ModalContent>\n )\n );\n }, [childrenArray]);\n\n const footer = useMemo(() => {\n return childrenArray.find(isModalFooter) || null;\n }, [childrenArray]);\n\n const customWidth = width !== \"default\" && width !== \"full-width\";\n\n const dialog = (\n <LayerProvider layerRef={{ current: instance?.$el }}>\n <div\n {...attr.container}\n className={cx(styles.container, classNames.container)}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.MODAL, id)}\n style={{ \"--monday-modal-z-index\": zIndex }}\n >\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */}\n <div\n onClick={closeIfNotAlertType}\n className={cx(styles.overlay, classNames.overlay)}\n data-testid={ComponentDefaultTestId.MODAL_OVERLAY}\n />\n <div\n {...attr.dialog}\n className={cx(styles.dialog, classNames.modal, {\n [styles.default]: width === \"default\",\n [styles.full]: width === \"full-width\",\n [styles.spacing]: contentSpacing\n })}\n style={{ width: customWidth ? width : null }}\n >\n {header}\n {content}\n {footer}\n </div>\n </div>\n </LayerProvider>\n );\n\n if (unmountOnClose && !shouldShow) {\n return null;\n }\n return isClient() ? ReactDOM.createPortal(dialog, document.body) : null;\n};\n\nexport default withStaticProps(Modal, {\n width: ModalWidthEnum\n});\n"],"names":["withStaticProps","_ref","_ref$classNames","classNames","container","overlay","modal","id","show","_ref$title","title","_ref$description","description","_ref$onClose","onClose","NOOP","_ref$alertDialog","alertDialog","children","triggerElement","_ref$width","width","_ref$closeButtonAriaL","closeButtonAriaLabel","_ref$contentSpacing","contentSpacing","_ref$zIndex","zIndex","_ref$unmountOnClose","unmountOnClose","dataTestId","childrenArray","useMemo","React","Children","toArray","validateTitleProp","_useA11yDialog","useA11yDialog","_useA11yDialog2","_slicedToArray","instance","attr","closeIfNotAlertType","useCallback","useBodyScrollLock","shouldShow","useShowHideModal","header","find","isModalHeader","cloneElement","closeModal","createElement","ModalHeader","content","isModalContent","ModalContent","filter","child","isModalFooter","footer","customWidth","dialog","LayerProvider","layerRef","current","$el","Object","assign","className","cx","styles","getTestId","ComponentDefaultTestId","MODAL","style","onClick","MODAL_OVERLAY","_defineProperty","default","full","spacing","isClient","ReactDOM","createPortal","document","body","ModalWidthEnum"],"mappings":"2+BAyFA,IAkHeA,EAAAA,GAlHyD,SAA7DC,GAgBY,IAAAC,EAAAD,EAfrBE,WAAAA,OAAa,IAAHD,EAAG,CAAEE,UAAW,GAAIC,QAAS,GAAIC,MAAO,IAAIJ,EACtDK,EAAEN,EAAFM,GACAC,EAAIP,EAAJO,KAAIC,EAAAR,EACJS,MAAAA,OAAQ,IAAHD,EAAG,GAAEA,EAAAE,EAAAV,EACVW,YAAAA,OAAc,IAAHD,EAAG,GAAEA,EAAAE,EAAAZ,EAChBa,QAAAA,OAAUC,IAAHF,EAAGE,EAAIF,EAAAG,EAAAf,EACdgB,YAAAA,OAAc,IAAHD,GAAQA,EACnBE,EAAQjB,EAARiB,SACAC,EAAclB,EAAdkB,eAAcC,EAAAnB,EACdoB,MAAAA,OAAQ,IAAHD,EAAG,UAASA,EAAAE,EAAArB,EACjBsB,qBAAAA,OAAuB,IAAHD,EAAG,QAAOA,EAAAE,EAAAvB,EAC9BwB,eAAAA,OAAiB,IAAHD,GAAQA,EAAAE,EAAAzB,EACtB0B,OAAAA,OAAS,IAAHD,EAAG,IAAKA,EAAAE,EAAA3B,EACd4B,eAAAA,OAAiB,IAAHD,GAAOA,EACNE,EAAU7B,EAAzB,eAEM8B,EAAgCC,GACpC,WAAA,OAAOd,EAAYe,EAAMC,SAASC,QAAQjB,GAA+B,EAAE,GAC3E,CAACA,IAEHkB,EAAkB1B,EAAOqB,GAEzB,IAAAM,EAAyBC,EAAc,CACrC/B,GAAAA,EACAU,YAAAA,IACAsB,EAAAC,EAAAH,EAAA,GAHKI,EAAQF,EAAA,GAAEG,EAAIH,EAAA,GAKfI,GAAsBC,GAAY,WACjC3B,GACHH,SAAAA,GAEJ,GAAG,CAACG,EAAaH,IAGjB+B,EAAkB,CAAEJ,SAAAA,IAGpB,IAAQK,GAAeC,EAAiB,CACtCN,SAAAA,EACAjC,KAAAA,EACAW,eAAAA,EACAL,QAAAA,EACAG,YAAAA,IALM6B,WAQFE,GAAShB,GAAQ,WACrB,IAAQzB,EAAOmC,EAAKhC,MAAZH,GACFyC,EAASjB,EAAckB,KAAKC,GAClC,OAAIF,EACKG,EAAaH,EAAQ,CAAEzC,GAAAA,EAAI6C,WAAYtC,IAG9CmB,EAACoB,cAAAC,EACC,CAAA5C,MAAOA,EACPE,YAAaA,EACbwC,WAAYtC,EACZP,GAAIA,EACJgB,qBAAsBA,GAG5B,GAAG,CAACmB,EAAKhC,MAAOqB,EAAerB,EAAOE,EAAaE,EAASS,IAEtDgC,GAAUvB,GAAQ,WACtB,OACED,EAAckB,KAAKO,IACjBvB,gBAACwB,EAAY,KAAE1B,EAAc2B,QAAO,SAAAC,GAAK,OAAKT,EAAcS,KAAWC,EAAcD,EAAM,IAGjG,GAAG,CAAC5B,IAEE8B,GAAS7B,GAAQ,WACrB,OAAOD,EAAckB,KAAKW,IAAkB,IAC9C,GAAG,CAAC7B,IAEE+B,GAAwB,YAAVzC,GAAiC,eAAVA,EAErC0C,GACJ9B,gBAAC+B,EAAa,CAACC,SAAU,CAAEC,QAASzB,eAAAA,EAAU0B,MAC5ClC,EAAAoB,cAAA,MAAAe,OAAAC,OAAA,CAAA,EACM3B,EAAKtC,UAAS,CAClBkE,UAAWC,EAAGC,EAAOpE,UAAWD,EAAWC,WAAU,cACxC0B,GAAc2C,EAAUC,EAAuBC,MAAOpE,GACnEqE,MAAO,CAAE,yBAA0BjD,KAGnCM,EACEoB,cAAA,MAAA,CAAAwB,QAASlC,GACT2B,UAAWC,EAAGC,EAAOnE,QAASF,EAAWE,uBAC5BqE,EAAuBI,gBAEtC7C,EAAAoB,cAAA,MAAAe,OAAAC,OAAA,CAAA,EACM3B,EAAKqB,OAAM,CACfO,UAAWC,EAAGC,EAAOT,OAAQ5D,EAAWG,MAAKyE,EAAAA,EAAAA,KAC1CP,EAAOQ,QAAoB,YAAV3D,GACjBmD,EAAOS,KAAiB,eAAV5D,GACdmD,EAAOU,QAAUzD,IAEpBmD,MAAO,CAAEvD,MAAOyC,GAAczC,EAAQ,QAErC2B,GACAO,GACAM,MAMT,OAAIhC,IAAmBiB,GACd,KAEFqC,IAAaC,EAASC,aAAatB,GAAQuB,SAASC,MAAQ,IACrE,GAEsC,CACpClE,MAAOmE"}
@@ -1,2 +1,2 @@
1
- var n={container:"container",overlay:"overlay","overlay-fade-out":"overlay-fade-out","overlay-fade-in":"overlay-fade-in",dialog:"dialog",default:"default",full:"full",spacing:"spacing"};!function(n){const e="s_id-fe267e23c74c_3_2_0";if("undefined"!=typeof document){const a=document.head||document.getElementsByTagName("head")[0];if(a.querySelector("#"+e))return;const o=document.createElement("style");o.id=e,a.firstChild?a.insertBefore(o,a.firstChild):a.appendChild(o),o.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}(".container,\n.overlay {\n position: fixed;\n inset: 0;\n}\n\n.container {\n --monday-modal-z-index: 10000;\n z-index: var(--monday-modal-z-index);\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.container[aria-hidden=true] {\n display: none;\n}\n\n.container[aria-hidden=true] .overlay {\n background-color: transparent;\n animation: overlay-fade-out 70ms var(--motion-timing-enter);\n}\n\n.overlay {\n background-color: rgba(41, 47, 76, 0.7);\n animation: overlay-fade-in 70ms var(--motion-timing-enter);\n}\n\n.dialog {\n display: flex;\n position: relative;\n flex-direction: column;\n padding-block: var(--spacing-large);\n padding-inline: var(--spacing-xl);\n border-radius: var(--border-radius-big);\n box-shadow: var(--box-shadow-large);\n background-color: var(--secondary-background-color);\n max-height: 90vh;\n max-width: 90vw;\n}\n\n.dialog.default {\n width: 520px;\n}\n\n.dialog.full {\n width: 100vw;\n}\n\n.dialog.spacing {\n gap: var(--spacing-medium);\n}\n\n@keyframes overlay-fade-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes overlay-fade-out {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}");export{n as default};
2
- //# sourceMappingURL=Modal.module.scss.js.map
1
+ var n={container:"container",overlay:"overlay","overlay-fade-out":"overlay-fade-out","overlay-fade-in":"overlay-fade-in",dialog:"dialog",default:"default",full:"full",spacing:"spacing"};!function(n){const e="s_id-fe267e23c74c_3_4_0";if("undefined"!=typeof document){const a=document.head||document.getElementsByTagName("head")[0];if(a.querySelector("#"+e))return;const o=document.createElement("style");o.id=e,a.firstChild?a.insertBefore(o,a.firstChild):a.appendChild(o),o.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}(".container,\n.overlay {\n position: fixed;\n inset: 0;\n}\n\n.container {\n --monday-modal-z-index: 10000;\n z-index: var(--monday-modal-z-index);\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.container[aria-hidden=true] {\n display: none;\n}\n\n.container[aria-hidden=true] .overlay {\n background-color: transparent;\n animation: overlay-fade-out 70ms var(--motion-timing-enter);\n}\n\n.overlay {\n background-color: rgba(41, 47, 76, 0.7);\n animation: overlay-fade-in 70ms var(--motion-timing-enter);\n}\n\n.dialog {\n display: flex;\n position: relative;\n flex-direction: column;\n padding-block: var(--spacing-large);\n padding-inline: var(--spacing-xl);\n border-radius: var(--border-radius-big);\n box-shadow: var(--box-shadow-large);\n background-color: var(--secondary-background-color);\n max-height: 90vh;\n max-width: 90vw;\n}\n\n.dialog.default {\n width: 520px;\n}\n\n.dialog.full {\n width: 100vw;\n}\n\n.dialog.spacing {\n gap: var(--spacing-medium);\n}\n\n@keyframes overlay-fade-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes overlay-fade-out {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}");export{n as default};
2
+ //# sourceMappingURL=LegacyModal.module.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegacyModal.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import t from"react";import s from"classnames";import e from"../../Text/Text.js";import{getTestId as a}from"../../../tests/testIds.js";import{ComponentDefaultTestId as o}from"../../../tests/constants.js";import r from"./LegacyModalContent.module.scss.js";var m=function(m){var i=m.className,n=m.id,d=m.children;return t.createElement(e,{type:"text1",id:n,"data-testid":m["data-testid"]||a(o.MODAL_CONTENT,n),className:s(r.container,i),ellipsis:!1},d)};Object.assign(m,{displayName:"ModalContent"});export{m as default};
2
+ //# sourceMappingURL=LegacyModalContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegacyModalContent.js","sources":["../../../../../../src/components/LegacyModal/LegacyModalContent/LegacyModalContent.tsx"],"sourcesContent":["import React, { FC, ReactElement } from \"react\";\nimport cx from \"classnames\";\nimport Text from \"../../Text/Text\";\nimport VibeComponentProps from \"../../../types/VibeComponentProps\";\nimport { getTestId } from \"../../../tests/test-ids-utils\";\nimport { ComponentDefaultTestId } from \"../../../tests/constants\";\nimport styles from \"./LegacyModalContent.module.scss\";\n\nexport interface LegacyModalContentProps extends VibeComponentProps {\n children: ReactElement | ReactElement[] | string;\n}\n\nconst LegacyModalContent: FC<LegacyModalContentProps> = ({ className, id, \"data-testid\": dataTestId, children }) => {\n return (\n <Text\n type=\"text1\"\n id={id}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.MODAL_CONTENT, id)}\n className={cx(styles.container, className)}\n ellipsis={false}\n >\n {children}\n </Text>\n );\n};\n\nObject.assign(LegacyModalContent, {\n displayName: \"ModalContent\"\n});\n\nexport default LegacyModalContent;\n"],"names":["LegacyModalContent","_ref","className","id","children","React","createElement","Text","type","getTestId","ComponentDefaultTestId","MODAL_CONTENT","cx","styles","container","ellipsis","Object","assign","displayName"],"mappings":"+PAYA,IAAMA,EAAkD,SAAhCC,GAA2F,IAAxDC,EAASD,EAATC,UAAWC,EAAEF,EAAFE,GAA+BC,EAAQH,EAARG,SACnG,OACEC,EAACC,cAAAC,GACCC,KAAK,QACLL,GAAIA,gBAJyFF,EAAzB,gBAKzCQ,EAAUC,EAAuBC,cAAeR,GAC3ED,UAAWU,EAAGC,EAAOC,UAAWZ,GAChCa,UAAU,GAETX,EAGP,EAEAY,OAAOC,OAAOjB,EAAoB,CAChCkB,YAAa"}
@@ -1,2 +1,2 @@
1
- var e={container:"container"};!function(e){const n="s_id-40a1f8a37338_3_2_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const o=document.createElement("style");o.id=n,t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".container {\n flex-grow: 1;\n overflow: auto;\n}\n.container::-webkit-scrollbar {\n width: 4px;\n height: 6px;\n}\n.container::-webkit-scrollbar-thumb {\n background-color: var(--ui-border-color);\n border-radius: 4px;\n}");export{e as default};
2
- //# sourceMappingURL=ModalContent.module.scss.js.map
1
+ var e={container:"container"};!function(e){const n="s_id-40a1f8a37338_3_4_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const o=document.createElement("style");o.id=n,t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".container {\n flex-grow: 1;\n overflow: auto;\n}\n.container::-webkit-scrollbar {\n width: 4px;\n height: 6px;\n}\n.container::-webkit-scrollbar-thumb {\n background-color: var(--ui-border-color);\n border-radius: 4px;\n}");export{e as default};
2
+ //# sourceMappingURL=LegacyModalContent.module.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegacyModalContent.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import a from"react";import e from"classnames";import r from"./LegacyModalFooter.module.scss.js";var o=function(o){var s=o.children;return a.createElement("div",{className:e(r.container,o.className)},s)};Object.assign(o,{displayName:"ModalFooter"});export{o as default};
2
+ //# sourceMappingURL=LegacyModalFooter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegacyModalFooter.js","sources":["../../../../../../src/components/LegacyModal/LegacyModalFooter/LegacyModalFooter.tsx"],"sourcesContent":["import React, { FC, ReactElement } from \"react\";\nimport cx from \"classnames\";\nimport VibeComponentProps from \"../../../types/VibeComponentProps\";\nimport styles from \"./LegacyModalFooter.module.scss\";\n\nexport interface LegacyModalFooterProps extends VibeComponentProps {\n children: ReactElement | ReactElement[] | string;\n}\n\nconst LegacyModalFooter: FC<LegacyModalFooterProps> = ({ className, children }) => {\n return <div className={cx(styles.container, className)}>{children}</div>;\n};\n\nObject.assign(LegacyModalFooter, {\n displayName: \"ModalFooter\"\n});\n\nexport default LegacyModalFooter;\n"],"names":["LegacyModalFooter","_ref","children","React","createElement","className","cx","styles","container","Object","assign","displayName"],"mappings":"iGASA,IAAMA,EAAgD,SAA/BC,GAA2D,IAAdC,EAAQD,EAARC,SAClE,OAAOC,EAAKC,cAAA,MAAA,CAAAC,UAAWC,EAAGC,EAAOC,UAD+BP,EAATI,YACEH,EAC3D,EAEAO,OAAOC,OAAOV,EAAmB,CAC/BW,YAAa"}
@@ -1,2 +1,2 @@
1
- var e={container:"container"};!function(e){const t="s_id-9ff7e713f88b_3_2_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)}(".container {\n margin-block-start: var(--spacing-large);\n}");export{e as default};
2
- //# sourceMappingURL=ModalFooter.module.scss.js.map
1
+ var e={container:"container"};!function(e){const t="s_id-9ff7e713f88b_3_4_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)}(".container {\n margin-block-start: var(--spacing-large);\n}");export{e as default};
2
+ //# sourceMappingURL=LegacyModalFooter.module.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegacyModalFooter.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import t,{forwardRef as e}from"react";import{getTestId as o}from"../../../../tests/testIds.js";import{ComponentDefaultTestId as a}from"../../../../tests/constants.js";import r from"../../../Flex/Flex.js";import s from"../../../Button/Button.js";import n from"../LegacyModalFooter.js";var i=e((function(e,i){var m=e.primaryButtonText,l=e.secondaryButtonText,d=e.disablePrimaryButton,c=e.onPrimaryButtonClick,u=e.onSecondaryButtonClick,p=e.id;return t.createElement(n,{id:p,className:e.className,"data-testid":e["data-testid"]||o(a.MODAL_FOOTER_BUTTONS,p)},t.createElement(r,{justify:"end",gap:"small"},l&&t.createElement(s,{onClick:u,kind:"tertiary"},l),t.createElement(s,{onClick:c,disabled:d},m)))}));Object.assign(i,{displayName:"ModalFooterButtons"});export{i as default};
2
+ //# sourceMappingURL=LegacyModalFooterButtons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegacyModalFooterButtons.js","sources":["../../../../../../../src/components/LegacyModal/LegacyModalFooter/LegacyModalFooterButtons/LegacyModalFooterButtons.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport VibeComponentProps from \"../../../../types/VibeComponentProps\";\nimport VibeComponent from \"../../../../types/VibeComponent\";\nimport { getTestId } from \"../../../../tests/test-ids-utils\";\nimport { ComponentDefaultTestId } from \"../../../../tests/constants\";\nimport Flex from \"../../../Flex/Flex\";\nimport Button from \"../../../Button/Button\";\nimport LegacyModalFooter from \"../LegacyModalFooter\";\n\nexport interface LegacyModalFooterButtonsProps extends VibeComponentProps {\n primaryButtonText: string;\n secondaryButtonText?: string;\n disablePrimaryButton?: boolean;\n onPrimaryButtonClick?: () => void;\n onSecondaryButtonClick?: () => void;\n}\n\nconst LegacyModalFooterButtons: VibeComponent<LegacyModalFooterButtonsProps> = forwardRef(\n (\n {\n primaryButtonText,\n secondaryButtonText,\n disablePrimaryButton,\n onPrimaryButtonClick,\n onSecondaryButtonClick,\n className,\n id,\n \"data-testid\": dataTestId\n }: LegacyModalFooterButtonsProps,\n // As ModalFooter does not currently forward refs\n // eslint-disable-next-line\n ref\n ) => {\n return (\n <LegacyModalFooter\n id={id}\n className={className}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.MODAL_FOOTER_BUTTONS, id)}\n >\n <Flex justify=\"end\" gap=\"small\">\n {secondaryButtonText && (\n <Button onClick={onSecondaryButtonClick} kind=\"tertiary\">\n {secondaryButtonText}\n </Button>\n )}\n <Button onClick={onPrimaryButtonClick} disabled={disablePrimaryButton}>\n {primaryButtonText}\n </Button>\n </Flex>\n </LegacyModalFooter>\n );\n }\n);\n\nObject.assign(LegacyModalFooterButtons, {\n displayName: \"ModalFooterButtons\"\n});\n\nexport default LegacyModalFooterButtons;\n"],"names":["LegacyModalFooterButtons","forwardRef","_ref","ref","primaryButtonText","secondaryButtonText","disablePrimaryButton","onPrimaryButtonClick","onSecondaryButtonClick","id","React","LegacyModalFooter","className","getTestId","ComponentDefaultTestId","MODAL_FOOTER_BUTTONS","createElement","Flex","justify","gap","Button","onClick","kind","disabled","Object","assign","displayName"],"mappings":"4RAiBA,IAAMA,EAAyEC,GAC7E,SAAAC,EAaEC,GACE,IAZAC,EAAiBF,EAAjBE,kBACAC,EAAmBH,EAAnBG,oBACAC,EAAoBJ,EAApBI,qBACAC,EAAoBL,EAApBK,qBACAC,EAAsBN,EAAtBM,uBAEAC,EAAEP,EAAFO,GAOF,OACEC,gBAACC,EAAiB,CAChBF,GAAIA,EACJG,UAXOV,EAATU,UAYe,cAVUV,EAAzB,gBAU6BW,EAAUC,EAAuBC,qBAAsBN,IAElFC,EAACM,cAAAC,GAAKC,QAAQ,MAAMC,IAAI,SACrBd,GACCK,EAACM,cAAAI,GAAOC,QAASb,EAAwBc,KAAK,YAC3CjB,GAGLK,EAAAM,cAACI,EAAM,CAACC,QAASd,EAAsBgB,SAAUjB,GAC9CF,IAKX,IAGFoB,OAAOC,OAAOzB,EAA0B,CACtC0B,YAAa"}
@@ -0,0 +1,2 @@
1
+ import e from"react";import t from"classnames";import s from"../../IconButton/IconButton.js";import o from"../../Icon/Icon.js";import{NOOP as a}from"../../../utils/function-utils.js";import{getTestId as i}from"../../../tests/testIds.js";import{ComponentDefaultTestId as r}from"../../../tests/constants.js";import m from"../../Text/Text.js";import n from"../../Heading/Heading.js";import c from"../../Flex/Flex.js";import l from"./LegacyModalHeader.module.scss.js";import d from"../../../../icons/dist/react/CloseSmall.js";var p=function(p){var f=p.title,u=p.children,j=p.titleClassName,x=p.description,N=void 0===x?"":x,v=p.descriptionClassName,E=p.icon,g=p.closeModal,y=void 0===g?a:g,L=p.iconSize,C=void 0===L?24:L,H=p.iconClassName,I=p.closeButtonAriaLabel,B=void 0===I?"close":I,M=p.id,S=p["data-testid"];return e.createElement("div",{className:t(l.container,p.className),"data-testid":S||i(r.MODAL_HEADER,M)},u||e.createElement(c,{align:"start",gap:"small",className:j},E&&e.createElement(o,{className:t(l.icon,H),icon:E,iconType:"svg",iconSize:C,ignoreFocusStyle:!0}),e.createElement(n,{id:M,maxLines:2},f)),N&&e.createElement(m,{type:"text2",maxLines:2,className:t(l.description,v)},N),e.createElement("div",{className:t(l.closeButton)},e.createElement(s,{key:"xxs",onClick:y,ariaLabel:B,icon:d,kind:"tertiary",size:"small"})))};Object.assign(p,{displayName:"ModalHeader"});export{p as default};
2
+ //# sourceMappingURL=LegacyModalHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegacyModalHeader.js","sources":["../../../../../../src/components/LegacyModal/LegacyModalHeader/LegacyModalHeader.tsx"],"sourcesContent":["import React, { FC } from \"react\";\nimport cx from \"classnames\";\nimport IconButton from \"../../IconButton/IconButton\";\nimport { CloseSmall } from \"@vibe/icons\";\nimport Icon from \"../../Icon/Icon\";\nimport VibeComponentProps from \"../../../types/VibeComponentProps\";\nimport { NOOP } from \"../../../utils/function-utils\";\nimport { ElementContent } from \"src/types/ElementContent\";\nimport { getTestId } from \"../../../tests/test-ids-utils\";\nimport { ComponentDefaultTestId } from \"../../../tests/constants\";\nimport Text from \"../../Text/Text\";\nimport Heading from \"../../Heading/Heading\";\nimport Flex from \"../../Flex/Flex\";\nimport styles from \"./LegacyModalHeader.module.scss\";\nimport { SubIcon } from \"../../../types/SubIcon\";\n\ninterface BaseLegacyModalHeaderProps extends VibeComponentProps {\n /**\n * Description of the modal - pure string description is a recommended standard, use JSX ability only if there is a need to add links\n */\n description?: ElementContent;\n /**\n * Icon to be rendered before the title\n */\n // icon?: string | React.FunctionComponent<IconSubComponentProps> | null;\n icon?: SubIcon;\n /**\n * Class name for the wrapper\n */\n className?: string;\n /**\n * Class name for the title\n */\n titleClassName?: string;\n /**\n * closes the Modal. No need to provide it, it is being provided by the modal\n */\n closeModal?: () => void;\n /** /**\n * ID for the title, needed for accessibility. No need to provide it, it is being provided by the modal\n */\n id?: string;\n /**\n * Class name for the description\n */\n descriptionClassName?: string;\n /**\n * Size of the icon\n */\n iconSize?: number;\n /**\n * class name for the icon\n */\n iconClassName?: string;\n /**\n * Aria label for the close button\n */\n closeButtonAriaLabel?: string;\n}\n\ninterface LegacyModalHeaderWithOnlyTitle extends BaseLegacyModalHeaderProps {\n title: ElementContent;\n children?: never;\n}\n\ninterface LegacyModalHeaderWithOnlyChildren extends BaseLegacyModalHeaderProps {\n title?: never;\n children: ElementContent;\n}\n\nexport type LegacyModalHeaderProps = LegacyModalHeaderWithOnlyTitle | LegacyModalHeaderWithOnlyChildren;\n\nconst LegacyModalHeader: FC<LegacyModalHeaderProps> = ({\n className,\n title,\n children,\n titleClassName,\n description = \"\",\n descriptionClassName,\n icon,\n closeModal = NOOP,\n iconSize = 24,\n iconClassName,\n closeButtonAriaLabel = \"close\",\n id,\n \"data-testid\": dataTestId\n}) => {\n return (\n <div\n className={cx(styles.container, className)}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.MODAL_HEADER, id)}\n >\n {children ? (\n children\n ) : (\n <Flex align=\"start\" gap=\"small\" className={titleClassName}>\n {icon && (\n <Icon\n className={cx(styles.icon, iconClassName)}\n icon={icon}\n iconType=\"svg\"\n iconSize={iconSize}\n ignoreFocusStyle\n />\n )}\n <Heading id={id} maxLines={2}>\n {title}\n </Heading>\n </Flex>\n )}\n {description && (\n <Text type=\"text2\" maxLines={2} className={cx(styles.description, descriptionClassName)}>\n {description}\n </Text>\n )}\n\n <div className={cx(styles.closeButton)}>\n <IconButton\n key=\"xxs\"\n onClick={closeModal}\n ariaLabel={closeButtonAriaLabel}\n icon={CloseSmall}\n kind=\"tertiary\"\n size=\"small\"\n />\n </div>\n </div>\n );\n};\n\nObject.assign(LegacyModalHeader, {\n displayName: \"ModalHeader\"\n});\n\nexport default LegacyModalHeader;\n"],"names":["LegacyModalHeader","_ref","title","children","titleClassName","_ref$description","description","descriptionClassName","icon","_ref$closeModal","closeModal","NOOP","_ref$iconSize","iconSize","iconClassName","_ref$closeButtonAriaL","closeButtonAriaLabel","id","dataTestId","React","className","cx","styles","container","getTestId","ComponentDefaultTestId","MODAL_HEADER","createElement","Flex","align","gap","Icon","iconType","ignoreFocusStyle","Heading","maxLines","Text","type","closeButton","IconButton","key","onClick","ariaLabel","CloseSmall","kind","size","Object","assign","displayName"],"mappings":"0gBAwEA,IAAMA,EAAgD,SAA/BC,GAclB,IAZHC,EAAKD,EAALC,MACAC,EAAQF,EAARE,SACAC,EAAcH,EAAdG,eAAcC,EAAAJ,EACdK,YAAAA,OAAc,IAAHD,EAAG,GAAEA,EAChBE,EAAoBN,EAApBM,qBACAC,EAAIP,EAAJO,KAAIC,EAAAR,EACJS,WAAAA,OAAaC,IAAHF,EAAGE,EAAIF,EAAAG,EAAAX,EACjBY,SAAAA,OAAW,IAAHD,EAAG,GAAEA,EACbE,EAAab,EAAba,cAAaC,EAAAd,EACbe,qBAAAA,OAAuB,IAAHD,EAAG,QAAOA,EAC9BE,EAAEhB,EAAFgB,GACeC,EAAUjB,EAAzB,eAEA,OACEkB,uBACEC,UAAWC,EAAGC,EAAOC,UAhBhBtB,EAATmB,WAiBiB,cAAAF,GAAcM,EAAUC,EAAuBC,aAAcT,IAEzEd,GAGCgB,EAAAQ,cAACC,EAAK,CAAAC,MAAM,QAAQC,IAAI,QAAQV,UAAWhB,GACxCI,GACCW,EAACQ,cAAAI,EACC,CAAAX,UAAWC,EAAGC,EAAOd,KAAMM,GAC3BN,KAAMA,EACNwB,SAAS,MACTnB,SAAUA,EACVoB,sBAGJd,EAAAQ,cAACO,EAAO,CAACjB,GAAIA,EAAIkB,SAAU,GACxBjC,IAINI,GACCa,EAAAQ,cAACS,EAAI,CAACC,KAAK,QAAQF,SAAU,EAAGf,UAAWC,EAAGC,EAAOhB,YAAaC,IAC/DD,GAILa,EAAAQ,cAAA,MAAA,CAAKP,UAAWC,EAAGC,EAAOgB,cACxBnB,EAAAQ,cAACY,EAAU,CACTC,IAAI,MACJC,QAAS/B,EACTgC,UAAW1B,EACXR,KAAMmC,EACNC,KAAK,WACLC,KAAK,WAKf,EAEAC,OAAOC,OAAO/C,EAAmB,CAC/BgD,YAAa"}
@@ -1,2 +1,2 @@
1
- var n={container:"container",icon:"icon",description:"description",closeButton:"closeButton"};!function(n){const e="s_id-f34f7b91e8f3_3_2_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+e))return;const o=document.createElement("style");o.id=e,t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}(".container {\n margin-block-start: var(--spacing-medium);\n}\n.container .icon {\n margin-top: var(--spacing-xs);\n flex-shrink: 0;\n color: var(--primary-text-color);\n}\n.container .description {\n margin-block-start: var(--spacing-small);\n color: var(--secondary-text-color);\n}\n.container .closeButton {\n position: absolute;\n right: 20px;\n top: 20px;\n}");export{n as default};
2
- //# sourceMappingURL=ModalHeader.module.scss.js.map
1
+ var n={container:"container",icon:"icon",description:"description",closeButton:"closeButton"};!function(n){const e="s_id-f34f7b91e8f3_3_4_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+e))return;const o=document.createElement("style");o.id=e,t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}(".container {\n margin-block-start: var(--spacing-medium);\n}\n.container .icon {\n margin-top: var(--spacing-xs);\n flex-shrink: 0;\n color: var(--primary-text-color);\n}\n.container .description {\n margin-block-start: var(--spacing-small);\n color: var(--secondary-text-color);\n}\n.container .closeButton {\n position: absolute;\n right: 20px;\n top: 20px;\n}");export{n as default};
2
+ //# sourceMappingURL=LegacyModalHeader.module.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegacyModalHeader.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import o from"./LegacyModalHeader/LegacyModalHeader.js";import t from"./LegacyModalContent/LegacyModalContent.js";import e from"./LegacyModalFooter/LegacyModalFooter.js";import r from"./LegacyModalFooter/LegacyModalFooterButtons/LegacyModalFooterButtons.js";var a;!function(o){o.DEFAULT="default",o.FULL_WIDTH="full-width"}(a||(a={}));var n=function(t){return t.type===o},d=function(o){return o.type===t},i=function(o){return[e,r].some((function(t){return o.type===t}))},l=function(o,t){if(!t.some(n)&&!o)throw Error("Title prop is mandatory for Modal when HeaderModal isn't provided. Validation failed.")};export{a as ModalWidth,d as isModalContent,i as isModalFooter,n as isModalHeader,l as validateTitleProp};
2
+ //# sourceMappingURL=ModalHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModalHelper.js","sources":["../../../../../src/components/LegacyModal/ModalHelper.ts"],"sourcesContent":["import { ReactElement } from \"react\";\nimport ModalHeader from \"./LegacyModalHeader/LegacyModalHeader\";\nimport ModalContent from \"./LegacyModalContent/LegacyModalContent\";\nimport ModalFooter from \"./LegacyModalFooter/LegacyModalFooter\";\nimport ModalFooterButtons from \"./LegacyModalFooter/LegacyModalFooterButtons/LegacyModalFooterButtons\";\n\n/**\n * @deprecated\n */\nexport enum ModalWidth {\n DEFAULT = \"default\",\n FULL_WIDTH = \"full-width\"\n}\n\n// the type A11yDialog is not exported from a11y-dialog, so mocking it with any for now\nexport type A11yDialogType = any;\n\nexport const isModalHeader = (child: ReactElement) => child.type === ModalHeader;\nexport const isModalContent = (child: ReactElement) => child.type === ModalContent;\nexport const isModalFooter = (child: ReactElement) =>\n [ModalFooter, ModalFooterButtons].some(component => child.type === component);\nexport const validateTitleProp = (title: string, childrenArray: ReactElement[]) => {\n const hasHeaderComponent = childrenArray.some(isModalHeader);\n if (hasHeaderComponent) return;\n\n if (!title) {\n throw new Error(`Title prop is mandatory for Modal when HeaderModal isn't provided. Validation failed.`);\n }\n};\n"],"names":["ModalWidth","isModalHeader","child","type","ModalHeader","isModalContent","ModalContent","isModalFooter","ModalFooter","ModalFooterButtons","some","component","validateTitleProp","title","childrenArray","Error"],"mappings":"sQASYA,GAAZ,SAAYA,GACVA,EAAA,QAAA,UACAA,EAAA,WAAA,YACD,CAHD,CAAYA,IAAAA,EAGX,CAAA,QAKYC,EAAgB,SAACC,GAAmB,OAAKA,EAAMC,OAASC,CAAW,EACnEC,EAAiB,SAACH,GAAmB,OAAKA,EAAMC,OAASG,CAAY,EACrEC,EAAgB,SAACL,GAAmB,MAC/C,CAACM,EAAaC,GAAoBC,MAAK,SAAAC,GAAS,OAAIT,EAAMC,OAASQ,IAAU,EAClEC,EAAoB,SAACC,EAAeC,GAE/C,IAD2BA,EAAcJ,KAAKT,KAGzCY,EACH,MAAUE,MAAK,wFAEnB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a11yDialog.js","sources":["../../../../../src/components/LegacyModal/a11yDialog.ts"],"sourcesContent":["import React from \"react\";\nimport A11yDialogLib from \"a11y-dialog\";\nimport { A11yDialogType } from \"./ModalHelper\";\n\nconst useA11yDialogInstance = (): [A11yDialogType, (node: Element) => void] => {\n const [instance, setInstance] = React.useState(null);\n const container = React.useCallback((node: Element) => {\n if (node !== null) setInstance(new A11yDialogLib(node));\n }, []);\n\n return [instance, container];\n};\n\nexport const useA11yDialog = ({ id, alertDialog }: { id: string; alertDialog: boolean }) => {\n const [instance, ref] = useA11yDialogInstance();\n const role = alertDialog ? \"alertdialog\" : \"dialog\";\n const titleId = id + \"-title\";\n\n // Destroy the `a11y-dialog` instance when unmounting the component.\n React.useEffect(() => {\n return () => {\n if (instance) instance.destroy();\n };\n }, [instance]);\n\n return [\n instance,\n {\n container: {\n id,\n ref,\n role,\n tabIndex: -1,\n \"aria-modal\": true,\n \"aria-hidden\": true,\n \"aria-labelledby\": titleId\n },\n dialog: { role: \"document\" },\n // Using a paragraph with accessibility mapping can be useful to work\n // around SEO concerns of having multiple <h1> per page.\n title: { id: titleId }\n }\n ];\n};\n"],"names":["useA11yDialog","_ref","_React$useState","_React$useState2","setInstance","id","alertDialog","_useA11yDialogInstanc","React","useState","_slicedToArray","useCallback","node","A11yDialogLib","_useA11yDialogInstanc2","instance","ref","role","titleId","useEffect","destroy","container","tabIndex","dialog","title"],"mappings":"+HAIA,IASaA,EAAgB,SAAHC,GAAiE,IARzFC,EAAoDC,EAAnCC,EAQaC,EAAEJ,EAAFI,GAAIC,EAAWL,EAAXK,YAClCC,GATAL,EAAgCM,EAAMC,SAAS,MAAKN,EAAAO,EAAAR,EAAA,GAAnCE,EAAWD,EAAA,GAKrB,CALQA,EAAA,GACGK,EAAMG,aAAY,SAACC,GACtB,OAATA,GAAeR,EAAY,IAAIS,EAAcD,GAClD,GAAE,MAM4CE,EAAAJ,EAAAH,EAAA,GAAxCQ,EAAQD,EAAA,GAAEE,EAAGF,EAAA,GACdG,EAAOX,EAAc,cAAgB,SACrCY,EAAUb,EAAK,SASrB,OANAG,EAAMW,WAAU,WACd,OAAO,WACDJ,GAAUA,EAASK,UAE3B,GAAG,CAACL,IAEG,CACLA,EACA,CACEM,UAAW,CACThB,GAAAA,EACAW,IAAAA,EACAC,KAAAA,EACAK,UAAW,EACX,cAAc,EACd,eAAe,EACf,kBAAmBJ,GAErBK,OAAQ,CAAEN,KAAM,YAGhBO,MAAO,CAAEnB,GAAIa,IAGnB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAnimationProps.js","sources":["../../../../../src/components/LegacyModal/useAnimationProps.ts"],"sourcesContent":["import { useCallback } from \"react\";\nimport { A11yDialogType } from \"./ModalHelper\";\n\nexport default function useAnimationProps(triggerElement: Element, instance: A11yDialogType) {\n return useCallback(\n (hideAnimation = false) => {\n let animationStart, animationEnd;\n if (triggerElement) {\n const { top: sourceTop, right: sourceRight } = triggerElement.getBoundingClientRect();\n const {\n top: destinationTop,\n left: destinationLeft,\n width,\n height\n } = instance?.$el.childNodes[1].getBoundingClientRect() || {};\n\n animationStart = {\n transform: `translate(${sourceRight - destinationLeft - width / 2}px, ${\n sourceTop - destinationTop - height / 2\n }px) scale(0.6)`,\n opacity: 0\n };\n animationEnd = { transform: `translate(0, 0) scale(1)`, opacity: 1 };\n } else {\n animationStart = {\n transform: `scale(0.70)`,\n opacity: 0.4\n };\n animationEnd = { transform: `scale(1)`, opacity: 1 };\n }\n\n return hideAnimation\n ? [\n [animationEnd, animationStart],\n {\n duration: 100,\n easing: \"cubic-bezier(0.4, 0, 1, 1)\"\n }\n ]\n : [\n [animationStart, animationEnd],\n {\n duration: 100,\n easing: \"cubic-bezier(0, 0, 0.35, 1)\"\n }\n ];\n },\n [instance, triggerElement]\n );\n}\n"],"names":["useAnimationProps","triggerElement","instance","useCallback","animationStart","animationEnd","hideAnimation","arguments","length","undefined","_triggerElement$getBo","getBoundingClientRect","sourceTop","top","sourceRight","right","_ref","$el","childNodes","destinationTop","height","transform","concat","left","width","opacity","duration","easing"],"mappings":"oCAGc,SAAUA,EAAkBC,EAAyBC,GACjE,OAAOC,GACL,WAA0B,IACpBC,EAAgBC,EADrBC,EAAaC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,IAAAA,UAAA,GAEZ,GAAIN,EAAgB,CAClB,IAAAS,EAA+CT,EAAeU,wBAAjDC,EAASF,EAAdG,IAAuBC,EAAWJ,EAAlBK,MACxBC,GAKId,aAAQ,EAARA,EAAUe,IAAIC,WAAW,GAAGP,0BAA2B,CAAE,EAJtDQ,EAAcH,EAAnBH,IAGAO,EAAMJ,EAANI,OAGFhB,EAAiB,CACfiB,UAAS,aAAAC,OAAeR,EANHE,EAArBO,KACKP,EAALQ,MAKgE,UAACF,OAC/DV,EAAYO,EAAiBC,EAAS,EACxB,kBAChBK,QAAS,GAEXpB,EAAe,CAAEgB,UAAqC,2BAAEI,QAAS,EAClE,MACCrB,EAAiB,CACfiB,UAAwB,cACxBI,QAAS,IAEXpB,EAAe,CAAEgB,UAAqB,WAAEI,QAAS,GAGnD,OAAOnB,EACH,CACE,CAACD,EAAcD,GACf,CACEsB,SAAU,IACVC,OAAQ,+BAGZ,CACE,CAACvB,EAAgBC,GACjB,CACEqB,SAAU,IACVC,OAAQ,+BAGlB,GACA,CAACzB,EAAUD,GAEf"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBodyScrollLock.js","sources":["../../../../../src/components/LegacyModal/useBodyScrollLock.ts"],"sourcesContent":["import { useEffect } from \"react\";\nimport { clearAllBodyScrollLocks, disableBodyScroll, enableBodyScroll } from \"body-scroll-lock\";\nimport { A11yDialogType } from \"./ModalHelper\";\n\nexport default function useBodyScrollLock({ instance }: { instance: A11yDialogType }) {\n // clear all scroll locks on unmount (just to be safe)\n useEffect(() => {\n return () => clearAllBodyScrollLocks();\n }, []);\n\n // lock body on modal show\n useEffect(() => {\n instance?.on(\"show\", () => disableBodyScroll(instance.$el, { reserveScrollBarGap: true }));\n instance?.on(\"hide\", () => enableBodyScroll(instance.$el));\n return () => {\n instance?.off(\"show\");\n instance?.off(\"hide\");\n };\n }, [instance]);\n}\n"],"names":["useBodyScrollLock","_ref","instance","useEffect","clearAllBodyScrollLocks","on","disableBodyScroll","$el","reserveScrollBarGap","enableBodyScroll","off"],"mappings":"0IAIc,SAAUA,EAAiBC,GAA2C,IAAxCC,EAAQD,EAARC,SAE1CC,GAAU,WACR,OAAO,WAAA,OAAMC,GAAyB,CACvC,GAAE,IAGHD,GAAU,WAGR,OAFAD,SAAAA,EAAUG,GAAG,QAAQ,WAAA,OAAMC,EAAkBJ,EAASK,IAAK,CAAEC,qBAAqB,OAClFN,SAAAA,EAAUG,GAAG,QAAQ,WAAA,OAAMI,EAAiBP,EAASK,QAC9C,WACLL,SAAAA,EAAUQ,IAAI,QACdR,SAAAA,EAAUQ,IAAI,QAElB,GAAG,CAACR,GACN"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useShowHideModal.js","sources":["../../../../../src/components/LegacyModal/useShowHideModal.ts"],"sourcesContent":["import React, { useState, useCallback, useEffect } from \"react\";\nimport useAnimationProps from \"./useAnimationProps\";\nimport useKeyEvent from \"../../hooks/useKeyEvent/index\";\nimport { A11yDialogType } from \"./ModalHelper\";\nimport { keyCodes } from \"../../constants\";\n\nconst KEYS = [keyCodes.ESCAPE];\n\nexport default function useShowHideModal({\n instance,\n show,\n triggerElement,\n onClose,\n alertDialog\n}: {\n instance: A11yDialogType;\n show: boolean;\n triggerElement: Element;\n onClose: () => void;\n alertDialog: boolean;\n}) {\n const [isAnimating, setIsAnimating] = useState(false);\n const getAnimationProps = useAnimationProps(triggerElement, instance);\n\n const closeOnEsc = useCallback(\n (event: React.KeyboardEvent) => {\n if (!alertDialog && instance?.$el.contains(document.activeElement)) {\n event.stopPropagation();\n onClose?.();\n }\n },\n [alertDialog, instance?.$el, onClose]\n );\n\n useKeyEvent({\n callback: closeOnEsc,\n capture: true,\n keys: KEYS\n });\n\n useEffect(() => {\n if (show) {\n setIsAnimating(true);\n instance?.show();\n const animate = instance?.$el.childNodes[1].animate;\n if (animate) {\n instance?.$el.childNodes[1].animate?.(...getAnimationProps());\n }\n } else {\n const animate = instance?.$el.childNodes[1].animate;\n if (animate) {\n const animation = instance?.$el.childNodes[1]?.animate(...getAnimationProps(true));\n animation?.finished.then(() => {\n setIsAnimating(false);\n instance?.hide();\n });\n } else {\n setIsAnimating(false);\n instance?.hide();\n }\n }\n }, [show, instance, getAnimationProps]);\n\n return { shouldShow: isAnimating };\n}\n"],"names":["KEYS","keyCodes","ESCAPE","useShowHideModal","_ref","instance","show","triggerElement","onClose","alertDialog","_useState","useState","_useState2","_slicedToArray","isAnimating","setIsAnimating","getAnimationProps","useAnimationProps","closeOnEsc","useCallback","event","$el","contains","document","activeElement","stopPropagation","useKeyEvent","callback","capture","keys","useEffect","_b2","childNodes","animate","_b","call","apply","_a","concat","_toConsumableArray","_c2","animation","_c","finished","then","hide","shouldShow"],"mappings":"qVAMA,IAAMA,EAAO,CAACC,EAASC,QAEC,SAAAC,EAAgBC,GAYvC,IAXCC,EAAQD,EAARC,SACAC,EAAIF,EAAJE,KACAC,EAAcH,EAAdG,eACAC,EAAOJ,EAAPI,QACAC,EAAWL,EAAXK,YAQAC,EAAsCC,GAAS,GAAMC,EAAAC,EAAAH,EAAA,GAA9CI,EAAWF,EAAA,GAAEG,EAAcH,EAAA,GAC5BI,EAAoBC,EAAkBV,EAAgBF,GAEtDa,EAAaC,GACjB,SAACC,IACMX,IAAeJ,eAAAA,EAAUgB,IAAIC,SAASC,SAASC,kBAClDJ,EAAMK,kBACNjB,SAAAA,IAEH,GACD,CAACC,EAAaJ,aAAA,EAAAA,EAAUgB,IAAKb,IAgC/B,OA7BAkB,EAAY,CACVC,SAAUT,EACVU,SAAS,EACTC,KAAM7B,IAGR8B,GAAU,qBAKOC,EAJf,GAAIzB,EACFS,GAAe,GACfV,SAAAA,EAAUC,QACMD,aAAA,EAAAA,EAAUgB,IAAIW,WAAW,GAAGC,WAEP,QAAnCC,EAAA7B,kBAAAA,EAAUgB,IAAIW,WAAW,IAAGC,eAAO,IAAAC,IAAAH,EAAAG,GAAAC,KAAAC,MAAAL,EAAAM,CAAAA,GAAAC,OAAAC,EAAMvB,aAI3C,GADgBX,aAAA,EAAAA,EAAUgB,IAAIW,WAAW,GAAGC,QAC/B,CAAA,IAAAO,EACLC,EAAyC,QAA7BC,EAAArC,aAAA,EAAAA,EAAUgB,IAAIW,WAAW,UAAI,IAAAU,OAAA,GAAAF,EAAAE,GAAAT,QAAOG,MAAAI,EAAAD,EAAIvB,GAAkB,KAC5EyB,SAAAA,EAAWE,SAASC,MAAK,WACvB7B,GAAe,GACfV,SAAAA,EAAUwC,MACZ,GACD,MACC9B,GAAe,GACfV,SAAAA,EAAUwC,MAGf,GAAE,CAACvC,EAAMD,EAAUW,IAEb,CAAE8B,WAAYhC,EACvB"}
@@ -1,2 +1,2 @@
1
- var n={link:"link","focus-visible":"focus-visible",text:"text",inlineText:"inlineText",inheritFontSize:"inheritFontSize",iconStart:"iconStart",iconEnd:"iconEnd"};!function(n){const i="s_id-c911448248db_3_2_0";if("undefined"!=typeof document){const e=document.head||document.getElementsByTagName("head")[0];if(e.querySelector("#"+i))return;const t=document.createElement("style");t.id=i,e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t),t.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[i]=n)}(".link {\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:focus-visible, .link.focus-visible {\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:focus:not(.focus-visible) {\n outline: none;\n}\n.link:hover .text {\n text-decoration: underline;\n color: inherit;\n}\n.link.inlineText {\n display: inline-flex;\n align-items: unset;\n}\n.link.inheritFontSize {\n font-size: inherit;\n line-height: inherit;\n}\n.iconStart {\n line-height: 24px;\n margin-right: var(--spacing-small);\n}\n.iconEnd {\n line-height: 24px;\n margin-left: var(--spacing-small);\n}\n@supports (margin-inline-start: initial) {\n .iconStart {\n line-height: 24px;\n margin-right: 0;\n margin-inline-end: var(--spacing-xs);\n }\n .iconEnd {\n line-height: 24px;\n margin-left: 0;\n margin-inline-start: var(--spacing-xs);\n }\n}");export{n as default};
1
+ var n={link:"link","focus-visible":"focus-visible",text:"text",inlineText:"inlineText",inheritFontSize:"inheritFontSize",iconStart:"iconStart",iconEnd:"iconEnd"};!function(n){const i="s_id-c911448248db_3_4_0";if("undefined"!=typeof document){const e=document.head||document.getElementsByTagName("head")[0];if(e.querySelector("#"+i))return;const t=document.createElement("style");t.id=i,e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t),t.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[i]=n)}(".link {\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:focus-visible, .link.focus-visible {\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:focus:not(.focus-visible) {\n outline: none;\n}\n.link:hover .text {\n text-decoration: underline;\n color: inherit;\n}\n.link.inlineText {\n display: inline-flex;\n align-items: unset;\n}\n.link.inheritFontSize {\n font-size: inherit;\n line-height: inherit;\n}\n.iconStart {\n line-height: 24px;\n margin-right: var(--spacing-small);\n}\n.iconEnd {\n line-height: 24px;\n margin-left: var(--spacing-small);\n}\n@supports (margin-inline-start: initial) {\n .iconStart {\n line-height: 24px;\n margin-right: 0;\n margin-inline-end: var(--spacing-xs);\n }\n .iconEnd {\n line-height: 24px;\n margin-left: 0;\n margin-inline-start: var(--spacing-xs);\n }\n}");export{n as default};
2
2
  //# sourceMappingURL=Link.module.scss.js.map
@@ -1,2 +1,2 @@
1
- import{slicedToArray as t}from"../../../_virtual/_rollupPluginBabelHelpers.js";import e from"classnames";import r,{forwardRef as s,useRef as i,useState as o,useCallback as a,useMemo as n}from"react";import l from"../../hooks/useMergeRef.js";import m from"../../hooks/useKeyEvent/index.js";import{VirtualizedListItems as c}from"./VirtualizedListItems/VirtualizedListItems.js";import{keyCodes as u,UP_DOWN_ARROWS as d}from"../../constants/keyCodes.js";import{withStaticProps as p}from"../../types/withStaticProps.js";import"../../utils/colors-vars-map.js";import{ListWrapperComponentType as f}from"./ListConstants.js";import{getTestId as v,ComponentDefaultTestId as y}from"../../tests/testIds.js";import{ListContext as b}from"./utils/ListContext.js";import{useListId as j,getListItemIndexById as L,getNextListItemIndex as I,getPrevListItemIndex as h,getListItemIdByIndex as k,getListItemComponentType as x}from"./utils/ListUtils.js";import A from"./List.module.scss.js";var E=s((function(s,p){var f=s.className,R=s.id,g=s.component,C=void 0===g?E.components.UL:g,O=s.children,P=s.ariaLabel,V=s.ariaDescribedBy,_=s["aria-controls"],D=s.renderOnlyVisibleItems,N=void 0!==D&&D,U=s.style,W=s["data-testid"],z=i(null),B=l(p,z),S=i([]),T=j(R),w=o(0),F=t(w,2),H=F[0],K=F[1],M=C,q=a((function(t){var e;K(L(S,t)),null===(e=null==z?void 0:z.current)||void 0===e||e.setAttribute("aria-activedescendant",t)}),[]),G=a((function(t){if(!N){t.preventDefault();var e=t.key===u.UP_ARROW,r=void 0;t.key===u.DOWN_ARROW&&S.current.length>H+1?r=I(H,S):e&&H>0&&(r=h(H,S)),void 0!==r&&(q(k(S,r)),S.current[r].focus())}}),[H,N,q]);m({keys:d,callback:G,ref:z});var J=n((function(){var t=Array.isArray(O)?O:[O];return N?t=r.createElement(c,null,t):(S.current=S.current.slice(0,t.length),t=r.Children.map(t,(function(t,e){if(!r.isValidElement(t))return t;var s=t.props.id||"".concat(T,"-item-").concat(e);return r.cloneElement(t,{ref:function(t){return S.current[e]=t},tabIndex:H===e?0:-1,id:s,component:x(C)})}))),t}),[O,C,H,T,N]);return r.createElement(b.Provider,{value:{updateFocusedItem:q}},r.createElement(M,{"data-testid":W||v(y.LIST,R),ref:B,style:U,className:e(A.list,f),id:T,"aria-label":P,"aria-describedby":V,"aria-controls":_,tabIndex:-1,role:"listbox"},J))})),R=p(E,{components:f});export{R as default};
1
+ import{slicedToArray as t}from"../../../_virtual/_rollupPluginBabelHelpers.js";import e from"classnames";import r,{forwardRef as i,useRef as n,useState as s,useCallback as o,useEffect as a,useMemo as l}from"react";import c from"../../hooks/useMergeRef.js";import u from"../../hooks/useKeyEvent/index.js";import{VirtualizedListItems as m}from"./VirtualizedListItems/VirtualizedListItems.js";import{keyCodes as d,UP_DOWN_ARROWS as f}from"../../constants/keyCodes.js";import{withStaticProps as p}from"../../types/withStaticProps.js";import"../../utils/colors-vars-map.js";import{ListWrapperComponentType as v}from"./ListConstants.js";import{getTestId as y,ComponentDefaultTestId as b}from"../../tests/testIds.js";import{ListContext as j}from"./utils/ListContext.js";import{useListId as I,getListItemIndexById as L,getNextListItemIndex as x,getPrevListItemIndex as h,getListItemIdByIndex as k,isListItem as A,getListItemComponentType as E}from"./utils/ListUtils.js";import g from"./List.module.scss.js";var R=i((function(i,p){var v=i.className,C=i.id,O=i.component,P=void 0===O?R.components.UL:O,V=i.children,_=i.ariaLabel,D=i.ariaDescribedBy,N=i["aria-controls"],U=i.renderOnlyVisibleItems,W=void 0!==U&&U,z=i.style,B=i["data-testid"],S=n(null),T=c(p,S),w=n([]),F=I(C),H=s(0),K=t(H,2),M=K[0],q=K[1],G=P,J=o((function(t){var e;q(L(w,t)),null===(e=null==S?void 0:S.current)||void 0===e||e.setAttribute("aria-activedescendant",t)}),[]),Q=o((function(t){if(!W){t.preventDefault();var e=t.key===d.UP_ARROW,r=void 0;t.key===d.DOWN_ARROW&&w.current.length>M+1?r=x(M,w):e&&M>0&&(r=h(M,w)),void 0!==r&&(J(k(w,r)),w.current[r].focus())}}),[M,W,J]);u({keys:f,callback:Q,ref:S}),a((function(){var t=w.current.findIndex((function(t){return A(t)&&"true"===(null==t?void 0:t.getAttribute("aria-selected"))}));if(-1!==t)J(k(w,t));else{var e=w.current.findIndex((function(t){return A(t)}));-1!==e&&J(k(w,e))}}),[J]);var X=l((function(){var t=Array.isArray(V)?V:[V];return W?t=r.createElement(m,null,t):(w.current=w.current.slice(0,t.length),t=r.Children.map(t,(function(t,e){if(!r.isValidElement(t))return t;var i=t.props.id||"".concat(F,"-item-").concat(e),n=A(w.current[e]);return r.cloneElement(t,{ref:function(t){return w.current[e]=t},tabIndex:M===e&&n?0:-1,id:i,component:E(P)})}))),t}),[V,P,M,F,W]);return r.createElement(j.Provider,{value:{updateFocusedItem:J}},r.createElement(G,{"data-testid":B||y(b.LIST,C),ref:T,style:z,className:e(g.list,v),id:F,"aria-label":_,"aria-describedby":D,"aria-controls":N,tabIndex:-1,role:"listbox"},X))})),C=p(R,{components:v});export{C as default};
2
2
  //# sourceMappingURL=List.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"List.js","sources":["../../../../../src/components/List/List.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport React, {\n AriaAttributes,\n CSSProperties,\n forwardRef,\n ReactElement,\n useCallback,\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 { VibeComponent, withStaticProps, VibeComponentProps } from \"../../types\";\nimport { ListItemProps } from \"../ListItem/ListItem\";\nimport { ListTitleProps } from \"../ListTitle/ListTitle\";\nimport { ListWrapperComponentType as ListWrapperComponentTypeEnum } from \"./ListConstants\";\nimport { 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 useListId\n} from \"./utils/ListUtils\";\nimport styles from \"./List.module.scss\";\n\nexport interface ListProps extends VibeComponentProps {\n /**\n * the wrapping component to wrap the List Items [div, nav, ul, ol]\n */\n component?: ListElement;\n /**\n * ARIA label string to describe to list\n */\n ariaLabel?: string;\n /**\n * ARIA described by string to reference an id to describe by\n */\n ariaDescribedBy?: string;\n \"aria-controls\"?: AriaAttributes[\"aria-controls\"];\n children?: ReactElement<ListItemProps | ListTitleProps> | ReactElement<ListItemProps | ListTitleProps>[];\n /**\n * Using virtualized list for rendering only the items which visible to the user in any given user (performance optimization)\n */\n renderOnlyVisibleItems?: boolean;\n style?: CSSProperties;\n}\n\nconst List: VibeComponent<ListProps> & {\n components?: typeof ListWrapperComponentTypeEnum;\n} = forwardRef(\n (\n {\n className,\n id,\n component = List.components.UL,\n children,\n ariaLabel,\n ariaDescribedBy,\n \"aria-controls\": ariaControls,\n renderOnlyVisibleItems = false,\n style,\n \"data-testid\": dataTestId\n }: ListProps,\n ref\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 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\n const id = (child.props as { id: string }).id || `${overrideId}-item-${index}`;\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 ? 0 : -1,\n id,\n component: getListItemComponentType(component)\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 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=\"listbox\"\n >\n {overrideChildren}\n </Component>\n </ListContext.Provider>\n );\n }\n);\n\nexport default withStaticProps(List, {\n components: ListWrapperComponentTypeEnum\n});\n"],"names":["List","forwardRef","_ref","ref","className","id","_ref$component","component","components","UL","children","ariaLabel","ariaDescribedBy","ariaControls","_ref$renderOnlyVisibl","renderOnlyVisibleItems","style","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","overrideChildren","useMemo","override","Array","isArray","React","createElement","VirtualizedListItems","slice","Children","map","child","index","isValidElement","props","concat","cloneElement","_ref2","tabIndex","getListItemComponentType","ListContext","Provider","value","getTestId","ComponentDefaultTestId","LIST","cx","styles","list","role","withStaticProps","ListWrapperComponentTypeEnum"],"mappings":"w8BAsDA,IAAMA,EAEFC,GACF,SAAAC,EAaEC,GACE,IAZAC,EAASF,EAATE,UACAC,EAAEH,EAAFG,GAAEC,EAAAJ,EACFK,UAAAA,OAAYP,IAAHM,EAAGN,EAAKQ,WAAWC,GAAEH,EAC9BI,EAAQR,EAARQ,SACAC,EAAST,EAATS,UACAC,EAAeV,EAAfU,gBACiBC,EAAYX,EAA7B,iBAAeY,EAAAZ,EACfa,uBAAAA,OAAyB,IAAHD,GAAQA,EAC9BE,EAAKd,EAALc,MACeC,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,IAAIxB,EAAJ,CAGAwB,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,EAAYd,EAAwBiB,IAGvCqB,EAAY,CACVC,KAAMC,EACNC,SAAUlB,EACVnC,IAAKe,IAGP,IAAMuC,EAAmBC,GAAQ,WAC/B,IAAIC,EAA0CC,MAAMC,QAAQnD,GAAYA,EAAW,CAACA,GAqBpF,OApBIK,EACF4C,EAAWG,EAACC,cAAAC,EAAsB,KAAAL,IAElCrC,EAAac,QAAUd,EAAac,QAAQ6B,MAAM,EAAGN,EAASX,QAC9DW,EAAWG,EAAMI,SAASC,IAAIR,GAAU,SAACS,EAAOC,GAC9C,IAAKP,EAAMQ,eAAeF,GACxB,OAAOA,EAGT,IAAM/D,EAAM+D,EAAMG,MAAyBlE,IAAEmE,GAAAA,OAAOjD,EAAU,UAAAiD,OAASH,GACvE,OAAOP,EAAMW,aAAaL,EAAO,CAE/BjE,IAAK,SAAGuE,GAAA,OAAKpD,EAAac,QAAQiC,GAASlE,CAAI,EAC/CwE,SAAU9C,IAAewC,EAAQ,GAAK,EACtChE,GAAAA,EACAE,UAAWqE,EAAyBrE,IAExC,KAGKoD,CACT,GAAG,CAACjD,EAAUH,EAAWsB,EAAYN,EAAYR,IAEjD,OACE+C,EAACC,cAAAc,EAAYC,UAASC,MAAO,CAAE/C,kBAAAA,IAC7B8B,EAACC,cAAAhC,EACc,CAAA,cAAAd,GAAc+D,EAAUC,EAAuBC,KAAM7E,GAClEF,IAAKiB,EACLJ,MAAOA,EACPZ,UAAW+E,EAAGC,EAAOC,KAAMjF,GAC3BC,GAAIkB,EAAU,aACFZ,EAAS,mBACHC,EAAe,gBAClBC,EACf8D,UAAW,EACXW,KAAK,WAEJ7B,GAIT,IAGa8B,EAAAA,EAAgBvF,EAAM,CACnCQ,WAAYgF"}
1
+ {"version":3,"file":"List.js","sources":["../../../../../src/components/List/List.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport React, {\n AriaAttributes,\n CSSProperties,\n forwardRef,\n 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 { VibeComponent, withStaticProps, VibeComponentProps } from \"../../types\";\nimport { ListItemProps } from \"../ListItem/ListItem\";\nimport { ListTitleProps } from \"../ListTitle/ListTitle\";\nimport { ListWrapperComponentType as ListWrapperComponentTypeEnum } from \"./ListConstants\";\nimport { 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\";\n\nexport interface ListProps extends VibeComponentProps {\n /**\n * the wrapping component to wrap the List Items [div, nav, ul, ol]\n */\n component?: ListElement;\n /**\n * ARIA label string to describe to list\n */\n ariaLabel?: string;\n /**\n * ARIA described by string to reference an id to describe by\n */\n ariaDescribedBy?: string;\n \"aria-controls\"?: AriaAttributes[\"aria-controls\"];\n children?: ReactElement<ListItemProps | ListTitleProps> | ReactElement<ListItemProps | ListTitleProps>[];\n /**\n * Using virtualized list for rendering only the items which visible to the user in any given user (performance optimization)\n */\n renderOnlyVisibleItems?: boolean;\n style?: CSSProperties;\n}\n\nconst List: VibeComponent<ListProps> & {\n components?: typeof ListWrapperComponentTypeEnum;\n} = forwardRef(\n (\n {\n className,\n id,\n component = List.components.UL,\n children,\n ariaLabel,\n ariaDescribedBy,\n \"aria-controls\": ariaControls,\n renderOnlyVisibleItems = false,\n style,\n \"data-testid\": dataTestId\n }: ListProps,\n ref\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 => 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 { id: string }).id || `${overrideId}-item-${index}`;\n const isFocusableItem = isListItem(childrenRefs.current[index]);\n\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 });\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 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=\"listbox\"\n >\n {overrideChildren}\n </Component>\n </ListContext.Provider>\n );\n }\n);\n\nexport default withStaticProps(List, {\n components: ListWrapperComponentTypeEnum\n});\n"],"names":["List","forwardRef","_ref","ref","className","id","_ref$component","component","components","UL","children","ariaLabel","ariaDescribedBy","ariaControls","_ref$renderOnlyVisibl","renderOnlyVisibleItems","style","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","isListItem","getAttribute","firstFocusableIndex","overrideChildren","useMemo","override","Array","isArray","React","createElement","VirtualizedListItems","slice","Children","map","index","isValidElement","props","concat","isFocusableItem","cloneElement","_ref2","tabIndex","getListItemComponentType","ListContext","Provider","value","getTestId","ComponentDefaultTestId","LIST","cx","styles","list","role","withStaticProps","ListWrapperComponentTypeEnum"],"mappings":"u+BAwDA,IAAMA,EAEFC,GACF,SAAAC,EAaEC,GACE,IAZAC,EAASF,EAATE,UACAC,EAAEH,EAAFG,GAAEC,EAAAJ,EACFK,UAAAA,OAAYP,IAAHM,EAAGN,EAAKQ,WAAWC,GAAEH,EAC9BI,EAAQR,EAARQ,SACAC,EAAST,EAATS,UACAC,EAAeV,EAAfU,gBACiBC,EAAYX,EAA7B,iBAAeY,EAAAZ,EACfa,uBAAAA,OAAyB,IAAHD,GAAQA,EAC9BE,EAAKd,EAALc,MACeC,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,IAAIxB,EAAJ,CAGAwB,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,EAAYd,EAAwBiB,IAGvCqB,EAAY,CACVC,KAAMC,EACNC,SAAUlB,EACVnC,IAAKe,IAGPuC,GAAU,WACR,IAAMC,EAAoBpC,EAAac,QAAQuB,WAC7C,SAAAC,GAAK,OAAIC,EAAWD,IAAmD,UAAzCA,eAAAA,EAAOE,aAAa,qBAEpD,IAA2B,IAAvBJ,EACF1B,EAAkBmB,EAAqB7B,EAAcoC,QAChD,CACL,IAAMK,EAAsBzC,EAAac,QAAQuB,WAAU,SAAAC,GAAK,OAAIC,EAAWD,OAClD,IAAzBG,GACF/B,EAAkBmB,EAAqB7B,EAAcyC,GAExD,CACH,GAAG,CAAC/B,IAEJ,IAAMgC,EAAmBC,GAAQ,WAC/B,IAAIC,EAA0CC,MAAMC,QAAQ1D,GAAYA,EAAW,CAACA,GAsBpF,OArBIK,EACFmD,EAAWG,EAACC,cAAAC,EAAsB,KAAAL,IAElC5C,EAAac,QAAUd,EAAac,QAAQoC,MAAM,EAAGN,EAASlB,QAC9DkB,EAAWG,EAAMI,SAASC,IAAIR,GAAU,SAACN,EAAOe,GAC9C,IAAKN,EAAMO,eAAehB,GACxB,OAAOA,EAET,IAAMvD,EAAMuD,EAAMiB,MAAyBxE,IAAEyE,GAAAA,OAAOvD,EAAU,UAAAuD,OAASH,GACjEI,EAAkBlB,EAAWvC,EAAac,QAAQuC,IAExD,OAAON,EAAMW,aAAapB,EAAO,CAE/BzD,IAAK,SAAG8E,GAAA,OAAK3D,EAAac,QAAQuC,GAASxE,CAAI,EAC/C+E,SAAUrD,IAAe8C,GAASI,EAAkB,GAAK,EACzD1E,GAAAA,EACAE,UAAW4E,EAAyB5E,IAExC,KAGK2D,CACT,GAAG,CAACxD,EAAUH,EAAWsB,EAAYN,EAAYR,IAEjD,OACEsD,EAACC,cAAAc,EAAYC,UAASC,MAAO,CAAEtD,kBAAAA,IAC7BqC,EAACC,cAAAvC,EACc,CAAA,cAAAd,GAAcsE,EAAUC,EAAuBC,KAAMpF,GAClEF,IAAKiB,EACLJ,MAAOA,EACPZ,UAAWsF,EAAGC,EAAOC,KAAMxF,GAC3BC,GAAIkB,EAAU,aACFZ,EAAS,mBACHC,EAAe,gBAClBC,EACfqE,UAAW,EACXW,KAAK,WAEJ7B,GAIT,IAGa8B,EAAAA,EAAgB9F,EAAM,CACnCQ,WAAYuF"}
@@ -1,2 +1,2 @@
1
- var e={list:"list"};!function(e){const t="s_id-ed9bf484fec4_3_2_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)}(".list {\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::-webkit-scrollbar {\n width: 4px;\n height: 6px;\n}\n.list::-webkit-scrollbar-thumb {\n background-color: var(--ui-border-color);\n border-radius: 4px;\n}");export{e as default};
1
+ var e={list:"list"};!function(e){const t="s_id-ed9bf484fec4_3_4_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)}(".list {\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::-webkit-scrollbar {\n width: 4px;\n height: 6px;\n}\n.list::-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"};!function(e){const n="s_id-6ed55dee5450_3_2_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const l=document.createElement("style");l.id=n,t.firstChild?t.insertBefore(l,t.firstChild):t.appendChild(l),l.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".scrollableContainer {\n margin: 0;\n padding: 0;\n overflow: auto;\n}\n.scrollableContainer::-webkit-scrollbar {\n width: 4px;\n height: 6px;\n}\n.scrollableContainer::-webkit-scrollbar-thumb {\n background-color: var(--ui-border-color);\n border-radius: 4px;\n}");export{e as default};
1
+ var e={scrollableContainer:"scrollableContainer"};!function(e){const n="s_id-6ed55dee5450_3_4_0";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const l=document.createElement("style");l.id=n,t.firstChild?t.insertBefore(l,t.firstChild):t.appendChild(l),l.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".scrollableContainer {\n margin: 0;\n padding: 0;\n overflow: auto;\n}\n.scrollableContainer::-webkit-scrollbar {\n width: 4px;\n height: 6px;\n}\n.scrollableContainer::-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,2 +1,2 @@
1
- import{slicedToArray as r}from"../../../../_virtual/_rollupPluginBabelHelpers.js";import{useState as n}from"react";import t from"../../../hooks/ssr/useIsomorphicLayoutEffect.js";var u=0,o=function(){return"list-".concat(u++)},e=function(u){var e=n(),i=r(e,2),c=i[0],f=i[1];return t((function(){f(u||o())}),[u]),c},i=function(r,n){var t;return null===(t=r.current[n])||void 0===t?void 0:t.id},c=function(r,n){return r.current.findIndex((function(r){return(null==r?void 0:r.id)===n}))},f=function(r){switch(r){case"ul":case"ol":return"li";case"nav":return"a";default:return"div"}},a=function(r){return r&&"option"===r.getAttribute("role")},l=function(r,n){for(;n.current.length-1>r;){var t=n.current[++r];if(a(t))return r}},s=function(r,n){for(;r>0;){var t=n.current[--r];if(a(t))return r}};export{o as generateListId,f as getListItemComponentType,i as getListItemIdByIndex,c as getListItemIndexById,l as getNextListItemIndex,s as getPrevListItemIndex,e as useListId};
1
+ import{slicedToArray as r}from"../../../../_virtual/_rollupPluginBabelHelpers.js";import{useState as n}from"react";import t from"../../../hooks/ssr/useIsomorphicLayoutEffect.js";var u=0,o=function(){return"list-".concat(u++)},e=function(u){var e=n(),i=r(e,2),c=i[0],f=i[1];return t((function(){f(u||o())}),[u]),c},i=function(r,n){var t;return null===(t=r.current[n])||void 0===t?void 0:t.id},c=function(r,n){return r.current.findIndex((function(r){return(null==r?void 0:r.id)===n}))},f=function(r){switch(r){case"ul":case"ol":return"li";case"nav":return"a";default:return"div"}},a=function(r){return r&&"option"===r.getAttribute("role")},l=function(r,n){for(;n.current.length-1>r;){var t=n.current[++r];if(a(t))return r}},s=function(r,n){for(;r>0;){var t=n.current[--r];if(a(t))return r}};export{o as generateListId,f as getListItemComponentType,i as getListItemIdByIndex,c as getListItemIndexById,l as getNextListItemIndex,s as getPrevListItemIndex,a as isListItem,e as useListId};
2
2
  //# sourceMappingURL=ListUtils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListUtils.js","sources":["../../../../../../src/components/List/utils/ListUtils.ts"],"sourcesContent":["import { MutableRefObject, useState } from \"react\";\nimport { ListItemElement } from \"../../ListItem/ListItem.types\";\nimport { ListElement } from \"../List.types\";\nimport useIsomorphicLayoutEffect from \"../../../hooks/ssr/useIsomorphicLayoutEffect\";\n\nlet listIdCounter = 0;\nexport const generateListId = () => {\n return `list-${listIdCounter++}`;\n};\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\nconst isListItem = (element: HTMLElement) => {\n return element && element.getAttribute(\"role\") === \"option\";\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","useListId","id","_useState","useState","_useState2","_slicedToArray","listId","setListId","useIsomorphicLayoutEffect","getListItemIdByIndex","childrenRefs","index","_a","current","getListItemIndexById","findIndex","child","getListItemComponentType","listComponent","isListItem","element","getAttribute","getNextListItemIndex","currentIndex","length","getPrevListItemIndex"],"mappings":"kLAKA,IAAIA,EAAgB,EACPC,EAAiB,WAC5B,MAAAC,QAAAA,OAAeF,IACjB,EAEaG,EAAY,SAACC,GACxB,IAAAC,EAA4BC,IAAkBC,EAAAC,EAAAH,EAAA,GAAvCI,EAAMF,EAAA,GAAEG,EAASH,EAAA,GAIxB,OAHAI,GAA0B,WACxBD,EAAUN,GAAMH,IAClB,GAAG,CAACG,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,EAEMC,EAAa,SAACC,GAClB,OAAOA,GAA4C,WAAjCA,EAAQC,aAAa,OACzC,EAEaC,EAAuB,SAACC,EAAsBb,GACzD,KAAsBA,EAAaG,QAAQW,OAAS,EAA7CD,GAAgD,CACrD,IAAMP,EAAQN,EAAaG,UAAUU,GACrC,GAAIJ,EAAWH,GACb,OAAOO,CAEV,CAEH,EAEaE,EAAuB,SAACF,EAAsBb,GACzD,KAAOa,EAAe,GAAG,CACvB,IAAMP,EAAQN,EAAaG,UAAUU,GACrC,GAAIJ,EAAWH,GACb,OAAOO,CAEV,CAEH"}
1
+ {"version":3,"file":"ListUtils.js","sources":["../../../../../../src/components/List/utils/ListUtils.ts"],"sourcesContent":["import { MutableRefObject, useState } from \"react\";\nimport { ListItemElement } from \"../../ListItem/ListItem.types\";\nimport { ListElement } from \"../List.types\";\nimport useIsomorphicLayoutEffect from \"../../../hooks/ssr/useIsomorphicLayoutEffect\";\n\nlet listIdCounter = 0;\nexport const generateListId = () => {\n return `list-${listIdCounter++}`;\n};\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.getAttribute(\"role\") === \"option\";\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","useListId","id","_useState","useState","_useState2","_slicedToArray","listId","setListId","useIsomorphicLayoutEffect","getListItemIdByIndex","childrenRefs","index","_a","current","getListItemIndexById","findIndex","child","getListItemComponentType","listComponent","isListItem","element","getAttribute","getNextListItemIndex","currentIndex","length","getPrevListItemIndex"],"mappings":"kLAKA,IAAIA,EAAgB,EACPC,EAAiB,WAC5B,MAAAC,QAAAA,OAAeF,IACjB,EAEaG,EAAY,SAACC,GACxB,IAAAC,EAA4BC,IAAkBC,EAAAC,EAAAH,EAAA,GAAvCI,EAAMF,EAAA,GAAEG,EAASH,EAAA,GAIxB,OAHAI,GAA0B,WACxBD,EAAUN,GAAMH,IAClB,GAAG,CAACG,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,GAA4C,WAAjCA,EAAQC,aAAa,OACzC,EAEaC,EAAuB,SAACC,EAAsBb,GACzD,KAAsBA,EAAaG,QAAQW,OAAS,EAA7CD,GAAgD,CACrD,IAAMP,EAAQN,EAAaG,UAAUU,GACrC,GAAIJ,EAAWH,GACb,OAAOO,CAEV,CAEH,EAEaE,EAAuB,SAACF,EAAsBb,GACzD,KAAOa,EAAe,GAAG,CACvB,IAAMP,EAAQN,EAAaG,UAAUU,GACrC,GAAIJ,EAAWH,GACb,OAAOO,CAEV,CAEH"}