@vibe/core 4.5.13 → 4.5.15

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 (426) hide show
  1. package/dist/base/dist/BaseInput/BaseInput.module.scss.js +1 -1
  2. package/dist/components/Table/Table/tableHelpers.d.ts +1 -1
  3. package/dist/components/a11y/dist/HiddenText/HiddenText.module.scss.js +1 -1
  4. package/dist/components/avatar/dist/Avatar/Avatar.module.scss.js +1 -1
  5. package/dist/components/avatar/dist/Avatar/AvatarBadge.module.scss.js +1 -1
  6. package/dist/components/avatar/dist/Avatar/AvatarContent.module.scss.js +1 -1
  7. package/dist/components/button/dist/Button/Button.module.scss.js +1 -1
  8. package/dist/components/button-group/dist/ButtonGroup/ButtonGroup.module.scss.js +1 -1
  9. package/dist/components/checkbox/dist/Checkbox/Checkbox.module.scss.js +1 -1
  10. package/dist/components/clickable/dist/Clickable/Clickable.module.scss.js +1 -1
  11. package/dist/components/color-picker/dist/ColorPicker/ColorPicker.module.scss.js +1 -1
  12. package/dist/components/color-picker/dist/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
  13. package/dist/components/color-picker/dist/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
  14. package/dist/components/color-picker/dist/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
  15. package/dist/components/counter/dist/Counter/Counter.module.scss.js +1 -1
  16. package/dist/components/dialog/dist/Dialog/Dialog.module.scss.js +1 -1
  17. package/dist/components/dialog/dist/Dialog/components/DialogContent/DialogContent.module.scss.js +1 -1
  18. package/dist/components/dialog/dist/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
  19. package/dist/components/divider/dist/Divider/Divider.module.scss.js +1 -1
  20. package/dist/components/editable/dist/EditableHeading/EditableHeading.module.scss.js +1 -1
  21. package/dist/components/editable/dist/EditableText/EditableText.module.scss.js +1 -1
  22. package/dist/components/editable/dist/EditableTypography/EditableTypography.module.scss.js +1 -1
  23. package/dist/components/expand-collapse/dist/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
  24. package/dist/components/formatted-number/dist/FormattedNumber/FormattedNumber.module.scss.js +1 -1
  25. package/dist/components/icon/dist/Icon/Icon.module.scss.js +1 -1
  26. package/dist/components/icon-button/dist/IconButton/IconButton.module.scss.js +1 -1
  27. package/dist/components/index.d.ts +4 -4
  28. package/dist/components/label/dist/Label/Label.module.scss.js +1 -1
  29. package/dist/components/label/dist/Label/LabelCelebrationAnimation.module.scss.js +1 -1
  30. package/dist/components/layout/dist/Box/Box.module.scss.js +1 -1
  31. package/dist/components/layout/dist/Flex/Flex.module.scss.js +1 -1
  32. package/dist/components/link/dist/Link/Link.module.scss.js +1 -1
  33. package/dist/components/loader/dist/Loader/Loader.module.scss.js +1 -1
  34. package/dist/components/progress-bars/dist/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
  35. package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/Bar/Bar.module.scss.js +1 -1
  36. package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/ProgressBar.module.scss.js +1 -1
  37. package/dist/components/radio-button/dist/RadioButton/RadioButton.module.scss.js +1 -1
  38. package/dist/components/skeleton/dist/Skeleton/Skeleton.js +2 -0
  39. package/dist/components/skeleton/dist/Skeleton/Skeleton.js.map +1 -0
  40. package/dist/components/skeleton/dist/Skeleton/Skeleton.module.scss.js +2 -0
  41. package/dist/components/skeleton/dist/Skeleton/SkeletonConstants.js +2 -0
  42. package/dist/components/skeleton/dist/Skeleton/SkeletonConstants.js.map +1 -0
  43. package/dist/components/tabs/dist/Tab/Tab.js +2 -0
  44. package/dist/components/tabs/dist/Tab/Tab.js.map +1 -0
  45. package/dist/components/tabs/dist/Tab/Tab.module.scss.js +2 -0
  46. package/dist/components/tabs/dist/TabList/TabList.js +2 -0
  47. package/dist/components/tabs/dist/TabList/TabList.js.map +1 -0
  48. package/dist/components/tabs/dist/TabList/TabList.module.scss.js +2 -0
  49. package/dist/components/tabs/dist/TabPanel/TabPanel.js +2 -0
  50. package/dist/components/tabs/dist/TabPanel/TabPanel.js.map +1 -0
  51. package/dist/components/tabs/dist/TabPanel/TabPanel.module.scss.js +2 -0
  52. package/dist/components/tabs/dist/TabPanels/TabPanels.js +2 -0
  53. package/dist/components/tabs/dist/TabPanels/TabPanels.js.map +1 -0
  54. package/dist/components/tabs/dist/TabPanels/TabPanels.module.scss.js +2 -0
  55. package/dist/components/tabs/dist/TabsContext/TabsContext.js +2 -0
  56. package/dist/components/tabs/dist/TabsContext/TabsContext.js.map +1 -0
  57. package/dist/components/text-with-highlight/dist/TextWithHighlight/TextWithHighlight.js +2 -0
  58. package/dist/components/text-with-highlight/dist/TextWithHighlight/TextWithHighlight.js.map +1 -0
  59. package/dist/components/text-with-highlight/dist/TextWithHighlight/TextWithHighlight.module.scss.js +2 -0
  60. package/dist/components/theme-provider/dist/ThemeProvider/ThemeProvider.js +2 -0
  61. package/dist/components/theme-provider/dist/ThemeProvider/ThemeProvider.js.map +1 -0
  62. package/dist/components/theme-provider/dist/ThemeProvider/ThemeProviderConstants.js.map +1 -0
  63. package/dist/components/theme-provider/dist/ThemeProvider/ThemeProviderUtils.js +2 -0
  64. package/dist/components/theme-provider/dist/ThemeProvider/ThemeProviderUtils.js.map +1 -0
  65. package/dist/components/tooltip/dist/Tooltip/Tooltip.module.scss.js +1 -1
  66. package/dist/components/typography/dist/Heading/Heading.module.scss.js +1 -1
  67. package/dist/components/typography/dist/Text/Text.module.scss.js +1 -1
  68. package/dist/components/typography/dist/Typography/Typography.module.scss.js +1 -1
  69. package/dist/metadata/components.json +7 -12
  70. package/dist/metadata.json +7 -12
  71. package/dist/mocked_classnames/components/Table/Table/tableHelpers.d.ts +1 -1
  72. package/dist/mocked_classnames/components/index.d.ts +4 -4
  73. package/dist/mocked_classnames/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
  74. package/dist/mocked_classnames/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
  75. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
  76. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
  77. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
  78. package/dist/mocked_classnames/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
  79. package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxCloseButton/AttentionBoxCloseButton.module.scss.js +1 -1
  80. package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLeadingIcon/AttentionBoxLeadingIcon.module.scss.js +1 -1
  81. package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
  82. package/dist/mocked_classnames/src/components/AttentionBox/layouts/AttentionBoxCompact/AttentionBoxCompact.module.scss.js +1 -1
  83. package/dist/mocked_classnames/src/components/AttentionBox/layouts/AttentionBoxDefault/AttentionBoxDefault.module.scss.js +1 -1
  84. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
  85. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
  86. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
  87. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
  88. package/dist/mocked_classnames/src/components/Badge/Badge.module.scss.js +1 -1
  89. package/dist/mocked_classnames/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
  90. package/dist/mocked_classnames/src/components/BaseItem/BaseItem.module.scss.js +1 -1
  91. package/dist/mocked_classnames/src/components/BaseList/BaseList.module.scss.js +1 -1
  92. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
  93. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
  94. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbsMenu.module.scss.js +1 -1
  95. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
  96. package/dist/mocked_classnames/src/components/Chips/Chips.module.scss.js +1 -1
  97. package/dist/mocked_classnames/src/components/Combobox/Combobox.module.scss.js +1 -1
  98. package/dist/mocked_classnames/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
  99. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
  100. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
  101. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
  102. package/dist/mocked_classnames/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
  103. package/dist/mocked_classnames/src/components/DatePicker/DatePicker.module.scss.js +1 -1
  104. package/dist/mocked_classnames/src/components/DatePicker/DatePickerHeader.module.scss.js +1 -1
  105. package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBase/DropdownBase.module.scss.js +1 -1
  106. package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBaseList/DropdownBaseList.module.scss.js +1 -1
  107. package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js +1 -1
  108. package/dist/mocked_classnames/src/components/Dropdown/components/Menu/Menu.module.scss.js +1 -1
  109. package/dist/mocked_classnames/src/components/Dropdown/components/MultiSelectedValues/MultiSelectedValues.module.scss.js +1 -1
  110. package/dist/mocked_classnames/src/components/Dropdown/components/Trigger/Trigger.module.scss.js +1 -1
  111. package/dist/mocked_classnames/src/components/EmptyState/EmptyState.module.scss.js +1 -1
  112. package/dist/mocked_classnames/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
  113. package/dist/mocked_classnames/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js +1 -1
  114. package/dist/mocked_classnames/src/components/Info/components/InfoLink/InfoLink.module.scss.js +1 -1
  115. package/dist/mocked_classnames/src/components/InfoText/InfoText.module.scss.js +1 -1
  116. package/dist/mocked_classnames/src/components/List/List.module.scss.js +1 -1
  117. package/dist/mocked_classnames/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
  118. package/dist/mocked_classnames/src/components/ListItem/ListItem.module.scss.js +1 -1
  119. package/dist/mocked_classnames/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
  120. package/dist/mocked_classnames/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
  121. package/dist/mocked_classnames/src/components/ListTitle/ListTitle.module.scss.js +1 -1
  122. package/dist/mocked_classnames/src/components/Menu/Menu/Menu.module.scss.js +1 -1
  123. package/dist/mocked_classnames/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
  124. package/dist/mocked_classnames/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
  125. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
  126. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
  127. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
  128. package/dist/mocked_classnames/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
  129. package/dist/mocked_classnames/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
  130. package/dist/mocked_classnames/src/components/MenuButton/MenuButton.module.scss.js +1 -1
  131. package/dist/mocked_classnames/src/components/Modal/Modal/Modal.module.scss.js +1 -1
  132. package/dist/mocked_classnames/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
  133. package/dist/mocked_classnames/src/components/Modal/ModalMedia/ModalMedia.module.scss.js +1 -1
  134. package/dist/mocked_classnames/src/components/Modal/ModalTopActions/ModalTopActions.module.scss.js +1 -1
  135. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooter/ModalFooter.module.scss.js +1 -1
  136. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.module.scss.js +1 -1
  137. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.module.scss.js +1 -1
  138. package/dist/mocked_classnames/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.module.scss.js +1 -1
  139. package/dist/mocked_classnames/src/components/Modal/layouts/ModalFooterShadow.module.scss.js +1 -1
  140. package/dist/mocked_classnames/src/components/Modal/layouts/ModalLayoutScrollableContent.module.scss.js +1 -1
  141. package/dist/mocked_classnames/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.module.scss.js +1 -1
  142. package/dist/mocked_classnames/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.module.scss.js +1 -1
  143. package/dist/mocked_classnames/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
  144. package/dist/mocked_classnames/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
  145. package/dist/mocked_classnames/src/components/NumberField/NumberField.module.scss.js +1 -1
  146. package/dist/mocked_classnames/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js +1 -1
  147. package/dist/mocked_classnames/src/components/Search/Search.module.scss.js +1 -1
  148. package/dist/mocked_classnames/src/components/SlideTransition/SlideTransition.module.scss.js +1 -1
  149. package/dist/mocked_classnames/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
  150. package/dist/mocked_classnames/src/components/Slider/Slider.module.scss.js +1 -1
  151. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
  152. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
  153. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
  154. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
  155. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
  156. package/dist/mocked_classnames/src/components/Slider/SliderInfix.module.scss.js +1 -1
  157. package/dist/mocked_classnames/src/components/SplitButton/SplitButton.module.scss.js +1 -1
  158. package/dist/mocked_classnames/src/components/Steps/Steps.module.scss.js +1 -1
  159. package/dist/mocked_classnames/src/components/Steps/StepsCommand.module.scss.js +1 -1
  160. package/dist/mocked_classnames/src/components/Steps/StepsDot.module.scss.js +1 -1
  161. package/dist/mocked_classnames/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
  162. package/dist/mocked_classnames/src/components/Steps/StepsHeader.module.scss.js +1 -1
  163. package/dist/mocked_classnames/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
  164. package/dist/mocked_classnames/src/components/Switch/Switch.module.scss.js +1 -1
  165. package/dist/mocked_classnames/src/components/Table/Table/Table.module.scss.js +1 -1
  166. package/dist/mocked_classnames/src/components/Table/Table/tableHelpers.js.map +1 -1
  167. package/dist/mocked_classnames/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
  168. package/dist/mocked_classnames/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
  169. package/dist/mocked_classnames/src/components/Table/TableCellSkeleton/TableCellSkeleton.js +1 -1
  170. package/dist/mocked_classnames/src/components/Table/TableCellSkeleton/TableCellSkeleton.js.map +1 -1
  171. package/dist/mocked_classnames/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
  172. package/dist/mocked_classnames/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
  173. package/dist/mocked_classnames/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
  174. package/dist/mocked_classnames/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
  175. package/dist/mocked_classnames/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
  176. package/dist/mocked_classnames/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
  177. package/dist/mocked_classnames/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
  178. package/dist/mocked_classnames/src/components/TextArea/TextArea.module.scss.js +1 -1
  179. package/dist/mocked_classnames/src/components/TextField/TextField.module.scss.js +1 -1
  180. package/dist/mocked_classnames/src/components/Tipseen/Tipseen.module.scss.js +1 -1
  181. package/dist/mocked_classnames/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
  182. package/dist/mocked_classnames/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
  183. package/dist/mocked_classnames/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
  184. package/dist/mocked_classnames/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
  185. package/dist/mocked_classnames/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
  186. package/dist/mocked_classnames/src/components/Toast/Toast.module.scss.js +1 -1
  187. package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
  188. package/dist/mocked_classnames/src/components/Toggle/MockToggle.module.scss.js +1 -1
  189. package/dist/mocked_classnames/src/components/Toggle/Toggle.module.scss.js +1 -1
  190. package/dist/mocked_classnames/src/components/Toggle/ToggleText.module.scss.js +1 -1
  191. package/dist/mocked_classnames/src/components/TransitionView/TransitionView.module.scss.js +1 -1
  192. package/dist/mocked_classnames/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
  193. package/dist/mocked_classnames/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
  194. package/dist/mocked_classnames/src/components/next/List/List.module.scss.js +1 -1
  195. package/dist/mocked_classnames/src/components/next/List/ListTitle/ListTitle.module.scss.js +1 -1
  196. package/dist/mocked_classnames/src/index.js +1 -1
  197. package/dist/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
  198. package/dist/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
  199. package/dist/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
  200. package/dist/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
  201. package/dist/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
  202. package/dist/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
  203. package/dist/src/components/AttentionBox/components/AttentionBoxCloseButton/AttentionBoxCloseButton.module.scss.js +1 -1
  204. package/dist/src/components/AttentionBox/components/AttentionBoxLeadingIcon/AttentionBoxLeadingIcon.module.scss.js +1 -1
  205. package/dist/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
  206. package/dist/src/components/AttentionBox/layouts/AttentionBoxCompact/AttentionBoxCompact.module.scss.js +1 -1
  207. package/dist/src/components/AttentionBox/layouts/AttentionBoxDefault/AttentionBoxDefault.module.scss.js +1 -1
  208. package/dist/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
  209. package/dist/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
  210. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
  211. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
  212. package/dist/src/components/Badge/Badge.module.scss.js +1 -1
  213. package/dist/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
  214. package/dist/src/components/BaseItem/BaseItem.module.scss.js +1 -1
  215. package/dist/src/components/BaseList/BaseList.module.scss.js +1 -1
  216. package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
  217. package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
  218. package/dist/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbsMenu.module.scss.js +1 -1
  219. package/dist/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
  220. package/dist/src/components/Chips/Chips.module.scss.js +1 -1
  221. package/dist/src/components/Combobox/Combobox.module.scss.js +1 -1
  222. package/dist/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
  223. package/dist/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
  224. package/dist/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
  225. package/dist/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
  226. package/dist/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
  227. package/dist/src/components/DatePicker/DatePicker.module.scss.js +1 -1
  228. package/dist/src/components/DatePicker/DatePickerHeader.module.scss.js +1 -1
  229. package/dist/src/components/Dropdown/components/DropdownBase/DropdownBase.module.scss.js +1 -1
  230. package/dist/src/components/Dropdown/components/DropdownBaseList/DropdownBaseList.module.scss.js +1 -1
  231. package/dist/src/components/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js +1 -1
  232. package/dist/src/components/Dropdown/components/Menu/Menu.module.scss.js +1 -1
  233. package/dist/src/components/Dropdown/components/MultiSelectedValues/MultiSelectedValues.module.scss.js +1 -1
  234. package/dist/src/components/Dropdown/components/Trigger/Trigger.module.scss.js +1 -1
  235. package/dist/src/components/EmptyState/EmptyState.module.scss.js +1 -1
  236. package/dist/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
  237. package/dist/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js +1 -1
  238. package/dist/src/components/Info/components/InfoLink/InfoLink.module.scss.js +1 -1
  239. package/dist/src/components/InfoText/InfoText.module.scss.js +1 -1
  240. package/dist/src/components/List/List.module.scss.js +1 -1
  241. package/dist/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
  242. package/dist/src/components/ListItem/ListItem.module.scss.js +1 -1
  243. package/dist/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
  244. package/dist/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
  245. package/dist/src/components/ListTitle/ListTitle.module.scss.js +1 -1
  246. package/dist/src/components/Menu/Menu/Menu.module.scss.js +1 -1
  247. package/dist/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
  248. package/dist/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
  249. package/dist/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
  250. package/dist/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
  251. package/dist/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
  252. package/dist/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
  253. package/dist/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
  254. package/dist/src/components/MenuButton/MenuButton.module.scss.js +1 -1
  255. package/dist/src/components/Modal/Modal/Modal.module.scss.js +1 -1
  256. package/dist/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
  257. package/dist/src/components/Modal/ModalMedia/ModalMedia.module.scss.js +1 -1
  258. package/dist/src/components/Modal/ModalTopActions/ModalTopActions.module.scss.js +1 -1
  259. package/dist/src/components/Modal/footers/ModalFooter/ModalFooter.module.scss.js +1 -1
  260. package/dist/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.module.scss.js +1 -1
  261. package/dist/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.module.scss.js +1 -1
  262. package/dist/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.module.scss.js +1 -1
  263. package/dist/src/components/Modal/layouts/ModalFooterShadow.module.scss.js +1 -1
  264. package/dist/src/components/Modal/layouts/ModalLayoutScrollableContent.module.scss.js +1 -1
  265. package/dist/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.module.scss.js +1 -1
  266. package/dist/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.module.scss.js +1 -1
  267. package/dist/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
  268. package/dist/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
  269. package/dist/src/components/NumberField/NumberField.module.scss.js +1 -1
  270. package/dist/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js +1 -1
  271. package/dist/src/components/Search/Search.module.scss.js +1 -1
  272. package/dist/src/components/SlideTransition/SlideTransition.module.scss.js +1 -1
  273. package/dist/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
  274. package/dist/src/components/Slider/Slider.module.scss.js +1 -1
  275. package/dist/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
  276. package/dist/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
  277. package/dist/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
  278. package/dist/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
  279. package/dist/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
  280. package/dist/src/components/Slider/SliderInfix.module.scss.js +1 -1
  281. package/dist/src/components/SplitButton/SplitButton.module.scss.js +1 -1
  282. package/dist/src/components/Steps/Steps.module.scss.js +1 -1
  283. package/dist/src/components/Steps/StepsCommand.module.scss.js +1 -1
  284. package/dist/src/components/Steps/StepsDot.module.scss.js +1 -1
  285. package/dist/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
  286. package/dist/src/components/Steps/StepsHeader.module.scss.js +1 -1
  287. package/dist/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
  288. package/dist/src/components/Switch/Switch.module.scss.js +1 -1
  289. package/dist/src/components/Table/Table/Table.module.scss.js +1 -1
  290. package/dist/src/components/Table/Table/tableHelpers.js.map +1 -1
  291. package/dist/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
  292. package/dist/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
  293. package/dist/src/components/Table/TableCellSkeleton/TableCellSkeleton.js +1 -1
  294. package/dist/src/components/Table/TableCellSkeleton/TableCellSkeleton.js.map +1 -1
  295. package/dist/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
  296. package/dist/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
  297. package/dist/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
  298. package/dist/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
  299. package/dist/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
  300. package/dist/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
  301. package/dist/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
  302. package/dist/src/components/TextArea/TextArea.module.scss.js +1 -1
  303. package/dist/src/components/TextField/TextField.module.scss.js +1 -1
  304. package/dist/src/components/Tipseen/Tipseen.module.scss.js +1 -1
  305. package/dist/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
  306. package/dist/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
  307. package/dist/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
  308. package/dist/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
  309. package/dist/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
  310. package/dist/src/components/Toast/Toast.module.scss.js +1 -1
  311. package/dist/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
  312. package/dist/src/components/Toggle/MockToggle.module.scss.js +1 -1
  313. package/dist/src/components/Toggle/Toggle.module.scss.js +1 -1
  314. package/dist/src/components/Toggle/ToggleText.module.scss.js +1 -1
  315. package/dist/src/components/TransitionView/TransitionView.module.scss.js +1 -1
  316. package/dist/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
  317. package/dist/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
  318. package/dist/src/components/next/List/List.module.scss.js +1 -1
  319. package/dist/src/components/next/List/ListTitle/ListTitle.module.scss.js +1 -1
  320. package/dist/src/index.js +1 -1
  321. package/dist/style/dist/index.min.css.js +1 -1
  322. package/package.json +6 -2
  323. package/dist/components/Skeleton/Skeleton.d.ts +0 -31
  324. package/dist/components/Skeleton/SkeletonConstants.d.ts +0 -1
  325. package/dist/components/Skeleton/Skelton.types.d.ts +0 -4
  326. package/dist/components/Skeleton/index.d.ts +0 -2
  327. package/dist/components/Tabs/Tab/Tab.d.ts +0 -64
  328. package/dist/components/Tabs/TabList/TabList.d.ts +0 -35
  329. package/dist/components/Tabs/TabPanel/TabPanel.d.ts +0 -14
  330. package/dist/components/Tabs/TabPanels/TabPanels.d.ts +0 -20
  331. package/dist/components/Tabs/TabPanels/TabPanels.types.d.ts +0 -1
  332. package/dist/components/Tabs/TabsContext/TabsContext.d.ts +0 -14
  333. package/dist/components/Tabs/index.d.ts +0 -6
  334. package/dist/components/TextWithHighlight/TextWithHighlight.d.ts +0 -51
  335. package/dist/components/TextWithHighlight/index.d.ts +0 -1
  336. package/dist/components/ThemeProvider/ThemeProvider.d.ts +0 -30
  337. package/dist/components/ThemeProvider/ThemeProvider.types.d.ts +0 -5
  338. package/dist/components/ThemeProvider/ThemeProviderConstants.d.ts +0 -23
  339. package/dist/components/ThemeProvider/ThemeProviderUtils.d.ts +0 -10
  340. package/dist/components/ThemeProvider/index.d.ts +0 -2
  341. package/dist/mocked_classnames/components/Skeleton/Skeleton.d.ts +0 -31
  342. package/dist/mocked_classnames/components/Skeleton/SkeletonConstants.d.ts +0 -1
  343. package/dist/mocked_classnames/components/Skeleton/Skelton.types.d.ts +0 -4
  344. package/dist/mocked_classnames/components/Skeleton/index.d.ts +0 -2
  345. package/dist/mocked_classnames/components/Tabs/Tab/Tab.d.ts +0 -64
  346. package/dist/mocked_classnames/components/Tabs/TabList/TabList.d.ts +0 -35
  347. package/dist/mocked_classnames/components/Tabs/TabPanel/TabPanel.d.ts +0 -14
  348. package/dist/mocked_classnames/components/Tabs/TabPanels/TabPanels.d.ts +0 -20
  349. package/dist/mocked_classnames/components/Tabs/TabPanels/TabPanels.types.d.ts +0 -1
  350. package/dist/mocked_classnames/components/Tabs/TabsContext/TabsContext.d.ts +0 -14
  351. package/dist/mocked_classnames/components/Tabs/index.d.ts +0 -6
  352. package/dist/mocked_classnames/components/TextWithHighlight/TextWithHighlight.d.ts +0 -51
  353. package/dist/mocked_classnames/components/TextWithHighlight/index.d.ts +0 -1
  354. package/dist/mocked_classnames/components/ThemeProvider/ThemeProvider.d.ts +0 -30
  355. package/dist/mocked_classnames/components/ThemeProvider/ThemeProvider.types.d.ts +0 -5
  356. package/dist/mocked_classnames/components/ThemeProvider/ThemeProviderConstants.d.ts +0 -23
  357. package/dist/mocked_classnames/components/ThemeProvider/ThemeProviderUtils.d.ts +0 -10
  358. package/dist/mocked_classnames/components/ThemeProvider/index.d.ts +0 -2
  359. package/dist/mocked_classnames/src/components/Skeleton/Skeleton.js +0 -2
  360. package/dist/mocked_classnames/src/components/Skeleton/Skeleton.js.map +0 -1
  361. package/dist/mocked_classnames/src/components/Skeleton/Skeleton.module.scss.js +0 -2
  362. package/dist/mocked_classnames/src/components/Skeleton/SkeletonConstants.js +0 -2
  363. package/dist/mocked_classnames/src/components/Skeleton/SkeletonConstants.js.map +0 -1
  364. package/dist/mocked_classnames/src/components/Tabs/Tab/Tab.js +0 -2
  365. package/dist/mocked_classnames/src/components/Tabs/Tab/Tab.js.map +0 -1
  366. package/dist/mocked_classnames/src/components/Tabs/Tab/Tab.module.scss.js +0 -2
  367. package/dist/mocked_classnames/src/components/Tabs/TabList/TabList.js +0 -2
  368. package/dist/mocked_classnames/src/components/Tabs/TabList/TabList.js.map +0 -1
  369. package/dist/mocked_classnames/src/components/Tabs/TabList/TabList.module.scss.js +0 -2
  370. package/dist/mocked_classnames/src/components/Tabs/TabPanel/TabPanel.js +0 -2
  371. package/dist/mocked_classnames/src/components/Tabs/TabPanel/TabPanel.js.map +0 -1
  372. package/dist/mocked_classnames/src/components/Tabs/TabPanel/TabPanel.module.scss.js +0 -2
  373. package/dist/mocked_classnames/src/components/Tabs/TabPanels/TabPanels.js +0 -2
  374. package/dist/mocked_classnames/src/components/Tabs/TabPanels/TabPanels.js.map +0 -1
  375. package/dist/mocked_classnames/src/components/Tabs/TabPanels/TabPanels.module.scss.js +0 -2
  376. package/dist/mocked_classnames/src/components/Tabs/TabsContext/TabsContext.js +0 -2
  377. package/dist/mocked_classnames/src/components/Tabs/TabsContext/TabsContext.js.map +0 -1
  378. package/dist/mocked_classnames/src/components/TextWithHighlight/TextWithHighlight.js +0 -2
  379. package/dist/mocked_classnames/src/components/TextWithHighlight/TextWithHighlight.js.map +0 -1
  380. package/dist/mocked_classnames/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +0 -2
  381. package/dist/mocked_classnames/src/components/ThemeProvider/ThemeProvider.js +0 -2
  382. package/dist/mocked_classnames/src/components/ThemeProvider/ThemeProvider.js.map +0 -1
  383. package/dist/mocked_classnames/src/components/ThemeProvider/ThemeProviderConstants.js.map +0 -1
  384. package/dist/mocked_classnames/src/components/ThemeProvider/ThemeProviderUtils.js +0 -2
  385. package/dist/mocked_classnames/src/components/ThemeProvider/ThemeProviderUtils.js.map +0 -1
  386. package/dist/src/components/Skeleton/Skeleton.js +0 -2
  387. package/dist/src/components/Skeleton/Skeleton.js.map +0 -1
  388. package/dist/src/components/Skeleton/Skeleton.module.scss.js +0 -2
  389. package/dist/src/components/Skeleton/Skeleton.module.scss.js.map +0 -1
  390. package/dist/src/components/Skeleton/SkeletonConstants.js +0 -2
  391. package/dist/src/components/Skeleton/SkeletonConstants.js.map +0 -1
  392. package/dist/src/components/Tabs/Tab/Tab.js +0 -2
  393. package/dist/src/components/Tabs/Tab/Tab.js.map +0 -1
  394. package/dist/src/components/Tabs/Tab/Tab.module.scss.js +0 -2
  395. package/dist/src/components/Tabs/Tab/Tab.module.scss.js.map +0 -1
  396. package/dist/src/components/Tabs/TabList/TabList.js +0 -2
  397. package/dist/src/components/Tabs/TabList/TabList.js.map +0 -1
  398. package/dist/src/components/Tabs/TabList/TabList.module.scss.js +0 -2
  399. package/dist/src/components/Tabs/TabList/TabList.module.scss.js.map +0 -1
  400. package/dist/src/components/Tabs/TabPanel/TabPanel.js +0 -2
  401. package/dist/src/components/Tabs/TabPanel/TabPanel.js.map +0 -1
  402. package/dist/src/components/Tabs/TabPanel/TabPanel.module.scss.js +0 -2
  403. package/dist/src/components/Tabs/TabPanel/TabPanel.module.scss.js.map +0 -1
  404. package/dist/src/components/Tabs/TabPanels/TabPanels.js +0 -2
  405. package/dist/src/components/Tabs/TabPanels/TabPanels.js.map +0 -1
  406. package/dist/src/components/Tabs/TabPanels/TabPanels.module.scss.js +0 -2
  407. package/dist/src/components/Tabs/TabPanels/TabPanels.module.scss.js.map +0 -1
  408. package/dist/src/components/Tabs/TabsContext/TabsContext.js +0 -2
  409. package/dist/src/components/Tabs/TabsContext/TabsContext.js.map +0 -1
  410. package/dist/src/components/TextWithHighlight/TextWithHighlight.js +0 -2
  411. package/dist/src/components/TextWithHighlight/TextWithHighlight.js.map +0 -1
  412. package/dist/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +0 -2
  413. package/dist/src/components/TextWithHighlight/TextWithHighlight.module.scss.js.map +0 -1
  414. package/dist/src/components/ThemeProvider/ThemeProvider.js +0 -2
  415. package/dist/src/components/ThemeProvider/ThemeProvider.js.map +0 -1
  416. package/dist/src/components/ThemeProvider/ThemeProviderConstants.js +0 -2
  417. package/dist/src/components/ThemeProvider/ThemeProviderConstants.js.map +0 -1
  418. package/dist/src/components/ThemeProvider/ThemeProviderUtils.js +0 -2
  419. package/dist/src/components/ThemeProvider/ThemeProviderUtils.js.map +0 -1
  420. /package/dist/{mocked_classnames/src/components → components/skeleton/dist}/Skeleton/Skeleton.module.scss.js.map +0 -0
  421. /package/dist/{mocked_classnames/src/components/Tabs → components/tabs/dist}/Tab/Tab.module.scss.js.map +0 -0
  422. /package/dist/{mocked_classnames/src/components/Tabs → components/tabs/dist}/TabList/TabList.module.scss.js.map +0 -0
  423. /package/dist/{mocked_classnames/src/components/Tabs → components/tabs/dist}/TabPanel/TabPanel.module.scss.js.map +0 -0
  424. /package/dist/{mocked_classnames/src/components/Tabs → components/tabs/dist}/TabPanels/TabPanels.module.scss.js.map +0 -0
  425. /package/dist/{mocked_classnames/src/components → components/text-with-highlight/dist}/TextWithHighlight/TextWithHighlight.module.scss.js.map +0 -0
  426. /package/dist/{mocked_classnames/src/components → components/theme-provider/dist}/ThemeProvider/ThemeProviderConstants.js +0 -0
@@ -1,51 +0,0 @@
1
- import React from "react";
2
- import { type TooltipProps } from "@vibe/tooltip";
3
- import type VibeComponentProps from "../../types/VibeComponentProps";
4
- export interface TextWithHighlightProps extends VibeComponentProps {
5
- /**
6
- * The text content to display.
7
- */
8
- text?: string;
9
- /**
10
- * The term to highlight within the text.
11
- */
12
- highlightTerm?: string;
13
- /**
14
- * The maximum number of highlighted terms allowed.
15
- */
16
- limit?: number;
17
- /**
18
- * If true, the highlight search is case-insensitive.
19
- */
20
- ignoreCase?: boolean;
21
- /**
22
- * If true, truncates overflowing text with an ellipsis.
23
- */
24
- useEllipsis?: boolean;
25
- /**
26
- * If true, allows splitting the highlight term into separate words.
27
- */
28
- allowTermSplit?: boolean;
29
- /**
30
- * The number of lines to display before truncating with an ellipsis.
31
- */
32
- linesToClamp?: number;
33
- /**
34
- * Tooltip content displayed when there is no overflow.
35
- */
36
- nonEllipsisTooltip?: string;
37
- /**
38
- * The HTML tag used to wrap highlighted text.
39
- */
40
- wrappingTextTag?: keyof JSX.IntrinsicElements;
41
- /**
42
- * Class name applied to the wrapping element of highlighted text.
43
- */
44
- wrappingElementClassName?: string;
45
- /**
46
- * Additional props to customize the tooltip component.
47
- */
48
- tooltipProps?: Partial<TooltipProps>;
49
- }
50
- declare const TextWithHighlight: React.FC<TextWithHighlightProps>;
51
- export default TextWithHighlight;
@@ -1 +0,0 @@
1
- export { default as TextWithHighlight, type TextWithHighlightProps } from "./TextWithHighlight";
@@ -1,30 +0,0 @@
1
- import React, { type ReactElement } from "react";
2
- import { type Theme } from "./ThemeProviderConstants";
3
- import { type SystemTheme } from "./ThemeProvider.types";
4
- export interface ThemeProviderProps {
5
- /**
6
- * The theme configuration to apply. It consists of a `name` (a unique CSS class name added to the children)
7
- * and an object of color overrides for each system theme.
8
- */
9
- themeConfig?: Theme;
10
- /**
11
- * The children to be rendered with the applied theme.
12
- */
13
- children: ReactElement;
14
- /**
15
- * A string added to the theme name selector to make it more specific, in case `themeConfig.name`
16
- * collides with another class name.
17
- */
18
- themeClassSpecifier?: string;
19
- /**
20
- * The system theme to apply to the `body` element on mount,
21
- * if there is no system theme class name on the body already.
22
- */
23
- systemTheme?: SystemTheme;
24
- /**
25
- * Class name applied to the wrapping `div`.
26
- */
27
- className?: string;
28
- }
29
- declare const ThemeProvider: ({ themeConfig, children, themeClassSpecifier: customThemeClassSpecifier, systemTheme, className }: ThemeProviderProps) => React.JSX.Element;
30
- export default ThemeProvider;
@@ -1,5 +0,0 @@
1
- export type SystemTheme = "light" | "dark" | "black";
2
- /**
3
- * Colors which are eligible for theming
4
- */
5
- export type ThemeColor = "primary-color" | "primary-hover-color" | "primary-selected-color" | "primary-selected-hover-color" | "primary-selected-on-secondary-color" | "text-color-on-primary" | "brand-color" | "brand-hover-color" | "brand-selected-color" | "brand-selected-hover-color" | "text-color-on-brand";
@@ -1,23 +0,0 @@
1
- import { type SystemTheme, type ThemeColor } from "./ThemeProvider.types";
2
- export type Theme = {
3
- /**
4
- * The name of the theme - name of css class that will be added to the children - should be unique
5
- */
6
- name: string;
7
- colors: SystemThemeColorMap;
8
- };
9
- type SystemThemeColorMap = {
10
- [key in SystemTheme]?: ThemeColorTokenValueMap;
11
- };
12
- export type ThemeColorTokenValueMap = ThemeColorTokenValue | ThemeCustomClassValue;
13
- export type ThemeColorTokenValue = {
14
- [key in ThemeColor]?: string;
15
- };
16
- type ThemeCustomClassValue = {
17
- [key: string]: ThemeColorTokenValue | ThemeCustomClassValue;
18
- };
19
- export declare const SystemThemeClassMap: SystemThemeClassMapType;
20
- type SystemThemeClassMapType = {
21
- [key in SystemTheme]: string;
22
- };
23
- export {};
@@ -1,10 +0,0 @@
1
- import { type Theme } from "./ThemeProviderConstants";
2
- import { type SystemTheme } from "./ThemeProvider.types";
3
- export declare const shouldGenerateTheme: (themeConfig: Theme) => boolean;
4
- export declare const generateThemeCssOverride: (themeConfig: Theme, themeClassSpecifier: string) => string;
5
- export declare const generateRandomAlphaString: (length?: number) => string;
6
- export declare const addAppThemeSuffix: (systemTheme: SystemTheme) => string;
7
- export declare const getBodySystemThemeClassName: () => string;
8
- export declare const isAnySystemThemeClassNameOnBody: () => boolean;
9
- export declare const addSystemThemeClassNameToBody: (systemTheme: SystemTheme) => void;
10
- export declare const removeSystemThemeClassNameFromBody: (systemTheme: SystemTheme) => void;
@@ -1,2 +0,0 @@
1
- export { default as ThemeProvider, type ThemeProviderProps } from "./ThemeProvider";
2
- export * from "./ThemeProvider.types";
@@ -1,31 +0,0 @@
1
- import React from "react";
2
- import { type SkeletonType, type SkeletonSizeType } from "./Skelton.types";
3
- import { type VibeComponentProps } from "../../types";
4
- export interface SkeletonProps extends VibeComponentProps {
5
- /**
6
- * The type of skeleton.
7
- */
8
- type?: SkeletonType;
9
- /**
10
- * The predefined size of the skeleton.
11
- */
12
- size?: SkeletonSizeType;
13
- /**
14
- * The width of the skeleton in pixels.
15
- */
16
- width?: number;
17
- /**
18
- * The height of the skeleton in pixels.
19
- */
20
- height?: number;
21
- /**
22
- * Class name applied to the wrapper element.
23
- */
24
- wrapperClassName?: string;
25
- /**
26
- * If true, the skeleton will take up the full width of its container.
27
- */
28
- fullWidth?: boolean;
29
- }
30
- declare const Skeleton: ({ type, size, className, wrapperClassName, width, height, fullWidth, id, "data-testid": dataTestId }: SkeletonProps) => React.JSX.Element;
31
- export default Skeleton;
@@ -1 +0,0 @@
1
- export declare const SKELETON_CUSTOM_SIZE = "custom";
@@ -1,4 +0,0 @@
1
- export type SkeletonType = "circle" | "rectangle" | "text";
2
- type TextSkeletonSize = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "small";
3
- export type SkeletonSizeType = TextSkeletonSize | "custom";
4
- export {};
@@ -1,2 +0,0 @@
1
- export { default as Skeleton, type SkeletonProps } from "./Skeleton";
2
- export * from "./Skelton.types";
@@ -1,64 +0,0 @@
1
- import { type FC, type ReactElement } from "react";
2
- import { type IconType, type SubIcon } from "@vibe/icon";
3
- import type VibeComponentProps from "../../../types/VibeComponentProps";
4
- import { type TooltipProps } from "@vibe/tooltip";
5
- export interface TabProps extends VibeComponentProps {
6
- /**
7
- * Class name applied to the inner tab content.
8
- */
9
- tabInnerClassName?: string;
10
- /**
11
- * The index value of the tab.
12
- */
13
- value?: number;
14
- /**
15
- * If true, disables the tab.
16
- */
17
- disabled?: boolean;
18
- /**
19
- * If true, marks the tab as active.
20
- */
21
- active?: boolean;
22
- /**
23
- * If true, applies focus styles to the tab.
24
- */
25
- focus?: boolean;
26
- /**
27
- * If true, hides the individual tab border when using stretched underline.
28
- */
29
- stretchedUnderline?: boolean;
30
- /**
31
- * The icon displayed in the tab.
32
- */
33
- icon?: SubIcon;
34
- /**
35
- * The type of icon.
36
- */
37
- iconType?: IconType;
38
- /**
39
- * The position of the icon relative to the text.
40
- */
41
- iconSide?: string;
42
- /**
43
- * Callback fired when the tab is clicked.
44
- */
45
- onClick?: (value: number) => void;
46
- /**
47
- * Props passed to the tab's tooltip.
48
- */
49
- tooltipProps?: Partial<TooltipProps>;
50
- /**
51
- * The content displayed inside the tab.
52
- */
53
- children?: string | ReactElement | ReactElement[];
54
- /**
55
- * Tab index for focus management.
56
- */
57
- tabIndex?: number;
58
- /**
59
- * The id of the associated TabPanel for aria-controls attribute.
60
- */
61
- "aria-controls"?: string;
62
- }
63
- declare const Tab: FC<TabProps>;
64
- export default Tab;
@@ -1,35 +0,0 @@
1
- import { type FC, type ReactElement } from "react";
2
- import type VibeComponentProps from "../../../types/VibeComponentProps";
3
- import { type TabProps } from "../Tab/Tab";
4
- export interface TabListProps extends VibeComponentProps {
5
- /**
6
- * Callback fired when the active tab changes.
7
- */
8
- onTabChange?: (tabId: number) => void;
9
- /**
10
- * The index of the currently active tab.
11
- */
12
- activeTabId?: number;
13
- /**
14
- * The type of tab style.
15
- */
16
- tabType?: string;
17
- /**
18
- * The size of the tab list.
19
- */
20
- size?: string;
21
- /**
22
- * If true, Sets an E2E underline under the whole tabs component.
23
- */
24
- stretchedUnderline?: boolean;
25
- /**
26
- * Array of corresponding TabPanel ids for aria-controls relationship.
27
- */
28
- tabPanelIds?: string[];
29
- /**
30
- * The child elements representing tabs.
31
- */
32
- children?: ReactElement<TabProps>[];
33
- }
34
- declare const TabList: FC<TabListProps>;
35
- export default TabList;
@@ -1,14 +0,0 @@
1
- import { type FC, type ReactElement } from "react";
2
- import type VibeComponentProps from "../../../types/VibeComponentProps";
3
- export interface TabPanelProps extends VibeComponentProps {
4
- /**
5
- * The content inside the tab panel.
6
- */
7
- children?: ReactElement | ReactElement[] | string;
8
- /**
9
- * The index of the tab panel.
10
- */
11
- index?: number;
12
- }
13
- declare const TabPanel: FC<TabPanelProps>;
14
- export default TabPanel;
@@ -1,20 +0,0 @@
1
- import React, { type ReactElement } from "react";
2
- import { type TabPanelsAnimationDirection } from "./TabPanels.types";
3
- import { type TabPanelProps } from "../TabPanel/TabPanel";
4
- import { type VibeComponentProps } from "../../../types";
5
- export interface TabPanelsProps extends VibeComponentProps {
6
- /**
7
- * The index of the currently active tab panel.
8
- */
9
- activeTabId?: number;
10
- /**
11
- * The animation direction when switching between tab panels.
12
- */
13
- animationDirection?: TabPanelsAnimationDirection;
14
- /**
15
- * The child elements representing tab panels.
16
- */
17
- children?: ReactElement<TabPanelProps> | ReactElement<TabPanelProps>[];
18
- }
19
- declare const TabPanels: React.ForwardRefExoticComponent<TabPanelsProps & React.RefAttributes<HTMLElement>>;
20
- export default TabPanels;
@@ -1 +0,0 @@
1
- export type TabPanelsAnimationDirection = "rtl" | "ltr";
@@ -1,14 +0,0 @@
1
- import { type FC, type ReactElement } from "react";
2
- import type VibeComponentProps from "../../../types/VibeComponentProps";
3
- export interface TabsContextProps extends VibeComponentProps {
4
- /**
5
- * The index of the currently active tab.
6
- */
7
- activeTabId?: number;
8
- /**
9
- * The child elements representing the tab list and tab panels.
10
- */
11
- children?: ReactElement | ReactElement[];
12
- }
13
- declare const TabsContext: FC<TabsContextProps>;
14
- export default TabsContext;
@@ -1,6 +0,0 @@
1
- export { default as Tab, type TabProps } from "./Tab/Tab";
2
- export { default as TabList, type TabListProps } from "./TabList/TabList";
3
- export { default as TabPanel, type TabPanelProps } from "./TabPanel/TabPanel";
4
- export { default as TabsContext, type TabsContextProps } from "./TabsContext/TabsContext";
5
- export { default as TabPanels, type TabPanelsProps } from "./TabPanels/TabPanels";
6
- export * from "./TabPanels/TabPanels.types";
@@ -1,51 +0,0 @@
1
- import React from "react";
2
- import { type TooltipProps } from "@vibe/tooltip";
3
- import type VibeComponentProps from "../../types/VibeComponentProps";
4
- export interface TextWithHighlightProps extends VibeComponentProps {
5
- /**
6
- * The text content to display.
7
- */
8
- text?: string;
9
- /**
10
- * The term to highlight within the text.
11
- */
12
- highlightTerm?: string;
13
- /**
14
- * The maximum number of highlighted terms allowed.
15
- */
16
- limit?: number;
17
- /**
18
- * If true, the highlight search is case-insensitive.
19
- */
20
- ignoreCase?: boolean;
21
- /**
22
- * If true, truncates overflowing text with an ellipsis.
23
- */
24
- useEllipsis?: boolean;
25
- /**
26
- * If true, allows splitting the highlight term into separate words.
27
- */
28
- allowTermSplit?: boolean;
29
- /**
30
- * The number of lines to display before truncating with an ellipsis.
31
- */
32
- linesToClamp?: number;
33
- /**
34
- * Tooltip content displayed when there is no overflow.
35
- */
36
- nonEllipsisTooltip?: string;
37
- /**
38
- * The HTML tag used to wrap highlighted text.
39
- */
40
- wrappingTextTag?: keyof JSX.IntrinsicElements;
41
- /**
42
- * Class name applied to the wrapping element of highlighted text.
43
- */
44
- wrappingElementClassName?: string;
45
- /**
46
- * Additional props to customize the tooltip component.
47
- */
48
- tooltipProps?: Partial<TooltipProps>;
49
- }
50
- declare const TextWithHighlight: React.FC<TextWithHighlightProps>;
51
- export default TextWithHighlight;
@@ -1 +0,0 @@
1
- export { default as TextWithHighlight, type TextWithHighlightProps } from "./TextWithHighlight";
@@ -1,30 +0,0 @@
1
- import React, { type ReactElement } from "react";
2
- import { type Theme } from "./ThemeProviderConstants";
3
- import { type SystemTheme } from "./ThemeProvider.types";
4
- export interface ThemeProviderProps {
5
- /**
6
- * The theme configuration to apply. It consists of a `name` (a unique CSS class name added to the children)
7
- * and an object of color overrides for each system theme.
8
- */
9
- themeConfig?: Theme;
10
- /**
11
- * The children to be rendered with the applied theme.
12
- */
13
- children: ReactElement;
14
- /**
15
- * A string added to the theme name selector to make it more specific, in case `themeConfig.name`
16
- * collides with another class name.
17
- */
18
- themeClassSpecifier?: string;
19
- /**
20
- * The system theme to apply to the `body` element on mount,
21
- * if there is no system theme class name on the body already.
22
- */
23
- systemTheme?: SystemTheme;
24
- /**
25
- * Class name applied to the wrapping `div`.
26
- */
27
- className?: string;
28
- }
29
- declare const ThemeProvider: ({ themeConfig, children, themeClassSpecifier: customThemeClassSpecifier, systemTheme, className }: ThemeProviderProps) => React.JSX.Element;
30
- export default ThemeProvider;
@@ -1,5 +0,0 @@
1
- export type SystemTheme = "light" | "dark" | "black";
2
- /**
3
- * Colors which are eligible for theming
4
- */
5
- export type ThemeColor = "primary-color" | "primary-hover-color" | "primary-selected-color" | "primary-selected-hover-color" | "primary-selected-on-secondary-color" | "text-color-on-primary" | "brand-color" | "brand-hover-color" | "brand-selected-color" | "brand-selected-hover-color" | "text-color-on-brand";
@@ -1,23 +0,0 @@
1
- import { type SystemTheme, type ThemeColor } from "./ThemeProvider.types";
2
- export type Theme = {
3
- /**
4
- * The name of the theme - name of css class that will be added to the children - should be unique
5
- */
6
- name: string;
7
- colors: SystemThemeColorMap;
8
- };
9
- type SystemThemeColorMap = {
10
- [key in SystemTheme]?: ThemeColorTokenValueMap;
11
- };
12
- export type ThemeColorTokenValueMap = ThemeColorTokenValue | ThemeCustomClassValue;
13
- export type ThemeColorTokenValue = {
14
- [key in ThemeColor]?: string;
15
- };
16
- type ThemeCustomClassValue = {
17
- [key: string]: ThemeColorTokenValue | ThemeCustomClassValue;
18
- };
19
- export declare const SystemThemeClassMap: SystemThemeClassMapType;
20
- type SystemThemeClassMapType = {
21
- [key in SystemTheme]: string;
22
- };
23
- export {};
@@ -1,10 +0,0 @@
1
- import { type Theme } from "./ThemeProviderConstants";
2
- import { type SystemTheme } from "./ThemeProvider.types";
3
- export declare const shouldGenerateTheme: (themeConfig: Theme) => boolean;
4
- export declare const generateThemeCssOverride: (themeConfig: Theme, themeClassSpecifier: string) => string;
5
- export declare const generateRandomAlphaString: (length?: number) => string;
6
- export declare const addAppThemeSuffix: (systemTheme: SystemTheme) => string;
7
- export declare const getBodySystemThemeClassName: () => string;
8
- export declare const isAnySystemThemeClassNameOnBody: () => boolean;
9
- export declare const addSystemThemeClassNameToBody: (systemTheme: SystemTheme) => void;
10
- export declare const removeSystemThemeClassNameFromBody: (systemTheme: SystemTheme) => void;
@@ -1,2 +0,0 @@
1
- export { default as ThemeProvider, type ThemeProviderProps } from "./ThemeProvider";
2
- export * from "./ThemeProvider.types";
@@ -1,2 +0,0 @@
1
- import{defineProperty as t}from"../../../_virtual/_rollupPluginBabelHelpers.js";import e from"react";import{camelCase as s}from"es-toolkit";import{getTestId as r,ComponentDefaultTestId as i}from"../../tests/testIds.js";import o from"classnames";import{SKELETON_CUSTOM_SIZE as a}from"./SkeletonConstants.js";import{getStyle as l}from"@vibe/shared";import m from"./Skeleton.module.scss.js";var d=function(d){var n=d.type,p=d.size,f=d.className,c=d.width,u=d.height,h=d.fullWidth,v=void 0!==h&&h,g=d.id,N=d["data-testid"],j=(void 0===n?"rectangle":n)||"rectangle",k=(void 0===p?"custom":p)||a;return e.createElement("div",{id:g,className:o(m.skeleton,d.wrapperClassName,t({},m.fullWidth,v)),"data-testid":N||r(i.SKELETON,g)},e.createElement("div",{className:o(m[j],l(m,s(j+"-"+k)),f,t({},m.fullWidth,v)),style:{width:c,height:u}}))};export{d as default};
2
- //# sourceMappingURL=Skeleton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Skeleton.js","sources":["../../../../../src/components/Skeleton/Skeleton.tsx"],"sourcesContent":["import React from \"react\";\nimport { camelCase } from \"es-toolkit\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport cx from \"classnames\";\nimport { SKELETON_CUSTOM_SIZE } from \"./SkeletonConstants\";\nimport { type SkeletonType, type SkeletonSizeType } from \"./Skelton.types\";\nimport { getStyle } from \"@vibe/shared\";\nimport { type VibeComponentProps } from \"../../types\";\nimport styles from \"./Skeleton.module.scss\";\n\nexport interface SkeletonProps extends VibeComponentProps {\n /**\n * The type of skeleton.\n */\n type?: SkeletonType;\n /**\n * The predefined size of the skeleton.\n */\n size?: SkeletonSizeType;\n /**\n * The width of the skeleton in pixels.\n */\n width?: number;\n /**\n * The height of the skeleton in pixels.\n */\n height?: number;\n /**\n * Class name applied to the wrapper element.\n */\n wrapperClassName?: string;\n /**\n * If true, the skeleton will take up the full width of its container.\n */\n fullWidth?: boolean;\n}\n\nconst Skeleton = ({\n type = \"rectangle\",\n size = \"custom\",\n className,\n wrapperClassName,\n width,\n height,\n fullWidth = false,\n id,\n \"data-testid\": dataTestId\n}: SkeletonProps) => {\n const skeletonType = type || \"rectangle\";\n\n // Skeleton has sizes only for text type, other types support only custom size\n const skeletonSize = size || SKELETON_CUSTOM_SIZE;\n\n return (\n <div\n id={id}\n className={cx(styles.skeleton, wrapperClassName, { [styles.fullWidth]: fullWidth })}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.SKELETON, id)}\n >\n <div\n className={cx(styles[skeletonType], getStyle(styles, camelCase(skeletonType + \"-\" + skeletonSize)), className, {\n [styles.fullWidth]: fullWidth\n })}\n style={{ width, height }}\n />\n </div>\n );\n};\n\nexport default Skeleton;\n"],"names":["Skeleton","_ref","_ref$type","type","_ref$size","size","className","width","height","_ref$fullWidth","fullWidth","id","dataTestId","skeletonType","skeletonSize","SKELETON_CUSTOM_SIZE","React","createElement","cx","styles","skeleton","wrapperClassName","_defineProperty","getTestId","ComponentDefaultTestId","SKELETON","getStyle","camelCase","style"],"mappings":"oYAqCA,IAAMA,EAAW,SAAHC,GAUM,IAAAC,EAAAD,EATlBE,KAAkBC,EAAAH,EAClBI,KACAC,EAASL,EAATK,UAEAC,EAAKN,EAALM,MACAC,EAAMP,EAANO,OAAMC,EAAAR,EACNS,UAAAA,OAAY,IAAHD,GAAQA,EACjBE,EAAEV,EAAFU,GACeC,EAAUX,EAAzB,eAEMY,QAVC,IAAHX,EAAG,YAAWA,IAUW,YAGvBY,QAZC,IAAHV,EAAG,SAAQA,IAYcW,EAE7B,OACEC,EACEC,cAAA,MAAA,CAAAN,GAAIA,EACJL,UAAWY,EAAGC,EAAOC,SAfTnB,EAAhBoB,iBAemDC,KAAKH,EAAOT,UAAYA,IAC1D,cAAAE,GAAcW,EAAUC,EAAuBC,SAAUd,IAEtEK,EACEC,cAAA,MAAA,CAAAX,UAAWY,EAAGC,EAAON,GAAea,EAASP,EAAQQ,EAAUd,EAAe,IAAMC,IAAgBR,EAASgB,EAC1GH,CAAAA,EAAAA,EAAOT,UAAYA,IAEtBkB,MAAO,CAAErB,MAAAA,EAAOC,OAAAA,KAIxB"}
@@ -1,2 +0,0 @@
1
- var n={skeleton:"skeleton",rectangle:"rectangle",shine:"shine",circle:"circle",text:"text",textH1:"textH1",textH2:"textH2",textH3:"textH3",textH4:"textH4",textH5:"textH5",textH6:"textH6",textSmall:"textSmall",textCustom:"textCustom",fullWidth:"fullWidth"};!function(n){const t="s_id-41cda04b2bc0_4_5_12";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)}(".skeleton {\n display: flex;\n}\n\n.rectangle {\n height: 160px;\n background: var(--ui-background-color);\n border-radius: var(--border-radius-small);\n overflow: hidden;\n animation-duration: 0.8s;\n animation-direction: alternate;\n animation-iteration-count: infinite;\n animation-name: shine;\n animation-timing-function: steps(10, end);\n}\n\n@keyframes shine {\n 0% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n}\n\n.circle {\n height: 40px;\n background: var(--ui-background-color);\n border-radius: 50%;\n overflow: hidden;\n animation-duration: 0.8s;\n animation-direction: alternate;\n animation-iteration-count: infinite;\n animation-name: shine;\n animation-timing-function: steps(10, end);\n}\n\n@keyframes shine {\n 0% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n}\n\n.text {\n background: var(--ui-background-color);\n border-radius: var(--border-radius-small);\n overflow: hidden;\n animation-duration: 0.8s;\n animation-direction: alternate;\n animation-iteration-count: infinite;\n animation-name: shine;\n animation-timing-function: steps(10, end);\n}\n\n@keyframes shine {\n 0% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n}\n\n.textH1 {\n height: 32px;\n}\n\n.textH2 {\n height: 24px;\n}\n\n.textH3 {\n height: 24px;\n}\n\n.textH4 {\n height: 21px;\n}\n\n.textH5 {\n height: 16px;\n}\n\n.textH6 {\n height: 12px;\n}\n\n.textSmall,\n.textCustom {\n height: 12px;\n}\n\n.fullWidth {\n width: 100%;\n}\n\n.skeleton:not(.fullWidth) .text {\n width: 162px;\n}\n\n.skeleton:not(.fullWidth) .circle {\n width: 40px;\n}\n\n.skeleton:not(.fullWidth) .rectangle {\n width: 160px;\n}");export{n as default};
2
- //# sourceMappingURL=Skeleton.module.scss.js.map
@@ -1,2 +0,0 @@
1
- var o="custom";export{o as SKELETON_CUSTOM_SIZE};
2
- //# sourceMappingURL=SkeletonConstants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SkeletonConstants.js","sources":["../../../../../src/components/Skeleton/SkeletonConstants.ts"],"sourcesContent":["// Fixed names\nexport const SKELETON_CUSTOM_SIZE = \"custom\";\n"],"names":["SKELETON_CUSTOM_SIZE"],"mappings":"AACO,IAAMA,EAAuB"}
@@ -1,2 +0,0 @@
1
- import{defineProperty as e,toConsumableArray as t}from"../../../../_virtual/_rollupPluginBabelHelpers.js";import o from"classnames";import a,{forwardRef as r,useRef as i}from"react";import{noop as s}from"es-toolkit";import{useMergeRef as n,getStyle as c}from"@vibe/shared";import{Icon as l}from"@vibe/icon/mockedClassNames";import{getTestId as d,ComponentDefaultTestId as m}from"../../../tests/testIds.js";import p from"./Tab.module.scss.js";import{Tooltip as f}from"@vibe/tooltip/mockedClassNames";import{ComponentVibeId as v}from"../../../tests/constants.js";import{keyCodes as b}from"../../../constants/keyCodes.js";import"../../../constants/sizes.js";var u=r((function(r,u){var y=r.className,k=r.tabInnerClassName,C=r.id,N=r.value,j=void 0===N?0:N,E=r.disabled,I=void 0!==E&&E,h=r.active,A=void 0!==h&&h,T=r.focus,P=void 0!==T&&T,g=r.stretchedUnderline,x=void 0!==g&&g,B=r.onClick,S=void 0===B?s:B,z=r.tooltipProps,D=void 0===z?{}:z,F=r.icon,U=r.iconType,_=r.iconSide,w=void 0===_?"left":_,H=r.children,K=r["data-testid"],O=r.tabIndex,R=r["aria-controls"],V=i(null),W=n(u,V);return a.createElement(f,Object.assign({},D,{content:D.content}),a.createElement("li",{ref:W,key:C,className:o(p.tabWrapper,y,e(e(e(e({},p.active,A),p.disabled,I),p.tabFocusVisibleInset,P),p.stretchedUnderline,x)),id:C,role:"tab","aria-selected":A,"aria-disabled":I,"aria-controls":R||void 0,tabIndex:O,"data-testid":K||d(m.TAB,C),"data-vibe":v.TAB,onClick:function(){return!I&&S(j)},onKeyDown:function(e){e.key!==b.ENTER&&e.key!==b.SPACE||(e.preventDefault(),!I&&S(j))}},a.createElement("div",{className:o(p.tabInner,k)},function(){if(!F)return H;var e=a.createElement(l,{"aria-hidden":!0,type:U,icon:F,className:o(p.tabIcon,c(p,w)),size:18,ignoreFocusStyle:!0}),r=a.Children.toArray(H);return"left"===w?[e].concat(t(r)):[].concat(t(r),[e])}())))}));export{u as default};
2
- //# sourceMappingURL=Tab.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tab.js","sources":["../../../../../../src/components/Tabs/Tab/Tab.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport React, { type FC, forwardRef, type ReactElement, useRef } from \"react\";\nimport { noop as NOOP } from \"es-toolkit\";\nimport { useMergeRef, getStyle } from \"@vibe/shared\";\n\nimport { Icon, type IconType, type SubIcon } from \"@vibe/icon\";\nimport type VibeComponentProps from \"../../../types/VibeComponentProps\";\nimport { ComponentDefaultTestId, getTestId } from \"../../../tests/test-ids-utils\";\nimport styles from \"./Tab.module.scss\";\nimport { Tooltip, type TooltipProps } from \"@vibe/tooltip\";\nimport { ComponentVibeId } from \"../../../tests/constants\";\nimport { keyCodes } from \"../../../constants\";\n\nexport interface TabProps extends VibeComponentProps {\n /**\n * Class name applied to the inner tab content.\n */\n tabInnerClassName?: string;\n /**\n * The index value of the tab.\n */\n value?: number;\n /**\n * If true, disables the tab.\n */\n disabled?: boolean;\n /**\n * If true, marks the tab as active.\n */\n active?: boolean;\n /**\n * If true, applies focus styles to the tab.\n */\n focus?: boolean;\n /**\n * If true, hides the individual tab border when using stretched underline.\n */\n stretchedUnderline?: boolean;\n /**\n * The icon displayed in the tab.\n */\n icon?: SubIcon;\n /**\n * The type of icon.\n */\n iconType?: IconType;\n /**\n * The position of the icon relative to the text.\n */\n iconSide?: string;\n /**\n * Callback fired when the tab is clicked.\n */\n onClick?: (value: number) => void;\n /**\n * Props passed to the tab's tooltip.\n */\n tooltipProps?: Partial<TooltipProps>;\n /**\n * The content displayed inside the tab.\n */\n children?: string | ReactElement | ReactElement[];\n /**\n * Tab index for focus management.\n */\n tabIndex?: number;\n /**\n * The id of the associated TabPanel for aria-controls attribute.\n */\n \"aria-controls\"?: string;\n}\n\nconst Tab: FC<TabProps> = forwardRef(\n (\n {\n className,\n tabInnerClassName,\n id,\n value = 0,\n disabled = false,\n active = false,\n focus = false,\n stretchedUnderline = false,\n onClick = NOOP,\n tooltipProps = {} as TooltipProps,\n icon,\n iconType,\n iconSide = \"left\",\n children,\n \"data-testid\": dataTestId,\n tabIndex,\n \"aria-controls\": ariaControls\n }: TabProps,\n ref\n ) => {\n const componentRef = useRef(null);\n const mergedRef = useMergeRef(ref, componentRef);\n\n function renderIconAndChildren() {\n if (!icon) return children;\n\n const iconElement = (\n <Icon\n aria-hidden={true}\n type={iconType}\n icon={icon}\n className={cx(styles.tabIcon, getStyle(styles, iconSide))}\n size={18}\n ignoreFocusStyle\n />\n );\n\n const childrenArray = React.Children.toArray(children);\n\n if (iconSide === \"left\") {\n return [iconElement, ...childrenArray];\n }\n\n return [...childrenArray, iconElement];\n }\n\n function handleKeyDown(event: React.KeyboardEvent) {\n if (event.key === keyCodes.ENTER || event.key === keyCodes.SPACE) {\n event.preventDefault();\n !disabled && onClick(value);\n }\n }\n\n return (\n <Tooltip {...tooltipProps} content={tooltipProps.content}>\n <li\n ref={mergedRef}\n key={id}\n className={cx(styles.tabWrapper, className, {\n [styles.active]: active,\n [styles.disabled]: disabled,\n [styles.tabFocusVisibleInset]: focus,\n [styles.stretchedUnderline]: stretchedUnderline\n })}\n id={id}\n role=\"tab\"\n aria-selected={active}\n aria-disabled={disabled}\n aria-controls={ariaControls || undefined}\n tabIndex={tabIndex}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.TAB, id)}\n data-vibe={ComponentVibeId.TAB}\n onClick={() => !disabled && onClick(value)}\n onKeyDown={handleKeyDown}\n >\n <div className={cx(styles.tabInner, tabInnerClassName)}>{renderIconAndChildren()}</div>\n </li>\n </Tooltip>\n );\n }\n);\n\nexport default Tab;\n"],"names":["Tab","forwardRef","_ref","ref","className","tabInnerClassName","id","_ref$value","value","_ref$disabled","disabled","_ref$active","active","_ref$focus","focus","_ref$stretchedUnderli","stretchedUnderline","_ref$onClick","onClick","NOOP","_ref$tooltipProps","tooltipProps","icon","iconType","_ref$iconSide","iconSide","children","dataTestId","tabIndex","ariaControls","componentRef","useRef","mergedRef","useMergeRef","React","createElement","Tooltip","Object","assign","content","key","cx","styles","tabWrapper","_defineProperty","tabFocusVisibleInset","role","undefined","getTestId","ComponentDefaultTestId","TAB","ComponentVibeId","onKeyDown","event","keyCodes","ENTER","SPACE","preventDefault","tabInner","iconElement","Icon","type","tabIcon","getStyle","size","ignoreFocusStyle","childrenArray","Children","toArray","concat","_toConsumableArray","renderIconAndChildren"],"mappings":"+oBAwEMA,IAAAA,EAAoBC,GACxB,SAAAC,EAoBEC,GACE,IAnBAC,EAASF,EAATE,UACAC,EAAiBH,EAAjBG,kBACAC,EAAEJ,EAAFI,GAAEC,EAAAL,EACFM,MAAAA,OAAQ,IAAHD,EAAG,EAACA,EAAAE,EAAAP,EACTQ,SAAAA,OAAW,IAAHD,GAAQA,EAAAE,EAAAT,EAChBU,OAAAA,OAAS,IAAHD,GAAQA,EAAAE,EAAAX,EACdY,MAAAA,OAAQ,IAAHD,GAAQA,EAAAE,EAAAb,EACbc,mBAAAA,OAAqB,IAAHD,GAAQA,EAAAE,EAAAf,EAC1BgB,QAAAA,OAAUC,IAAHF,EAAGE,EAAIF,EAAAG,EAAAlB,EACdmB,aAAAA,OAAY,IAAAD,EAAG,CAAkB,EAAAA,EACjCE,EAAIpB,EAAJoB,KACAC,EAAQrB,EAARqB,SAAQC,EAAAtB,EACRuB,SAAAA,OAAW,IAAHD,EAAG,OAAMA,EACjBE,EAAQxB,EAARwB,SACeC,EAAUzB,EAAzB,eACA0B,EAAQ1B,EAAR0B,SACiBC,EAAY3B,EAA7B,iBAII4B,EAAeC,EAAO,MACtBC,EAAYC,EAAY9B,EAAK2B,GAgCnC,OACEI,EAACC,cAAAC,EAAYC,OAAAC,OAAA,CAAA,EAAAjB,GAAckB,QAASlB,EAAakB,UAC/CL,EAAAC,cAAA,KAAA,CACEhC,IAAK6B,EACLQ,IAAKlC,EACLF,UAAWqC,EAAGC,EAAOC,WAAYvC,EAASwC,EAAAA,EAAAA,EAAAA,EAAA,CAAA,EACvCF,EAAO9B,OAASA,GAChB8B,EAAOhC,SAAWA,GAClBgC,EAAOG,qBAAuB/B,GAC9B4B,EAAO1B,mBAAqBA,IAE/BV,GAAIA,EACJwC,KAAK,MAAK,gBACKlC,EAAM,gBACNF,EACA,gBAAAmB,QAAgBkB,EAC/BnB,SAAUA,EAAQ,cACLD,GAAcqB,EAAUC,EAAuBC,IAAK5C,GAAG,YACzD6C,EAAgBD,IAC3BhC,QAAS,WAAA,OAAOR,GAAYQ,EAAQV,EAAM,EAC1C4C,UA3BN,SAAuBC,GACjBA,EAAMb,MAAQc,EAASC,OAASF,EAAMb,MAAQc,EAASE,QACzDH,EAAMI,kBACL/C,GAAYQ,EAAQV,GAEzB,GAwBM0B,EAAAC,cAAA,MAAA,CAAK/B,UAAWqC,EAAGC,EAAOgB,SAAUrD,IApD1C,WACE,IAAKiB,EAAM,OAAOI,EAElB,IAAMiC,EACJzB,EAACC,cAAAyB,kBACc,EACbC,KAAMtC,EACND,KAAMA,EACNlB,UAAWqC,EAAGC,EAAOoB,QAASC,EAASrB,EAAQjB,IAC/CuC,KAAM,GACNC,kBAAgB,IAIdC,EAAgBhC,EAAMiC,SAASC,QAAQ1C,GAE7C,MAAiB,SAAbD,EACF,CAAQkC,GAAWU,OAAAC,EAAKJ,IAG1B,GAAAG,OAAAC,EAAWJ,IAAeP,GAC5B,CA+B+DY,KAIjE"}
@@ -1,2 +0,0 @@
1
- var n={tabWrapper:"tabWrapper",stretchedUnderline:"stretchedUnderline",tabInner:"tabInner",tabIcon:"tabIcon",right:"right",tabFocusVisibleInset:"tabFocusVisibleInset",active:"active",disabled:"disabled"};!function(n){const e="s_id-bfaa9c7255c3_4_5_12";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+e))return;const r=document.createElement("style");r.id=e,t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}('/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable selector-class-pattern */\n/* stylelint-disable */\n/* stylelint-enable */\n.tabWrapper {\n position: relative;\n display: inline-block;\n padding-inline: 1px;\n border-top: 1px solid transparent;\n border-bottom: 2px solid;\n border-bottom-color: var(--ui-background-color);\n color: var(--primary-text-color);\n text-align: center;\n height: 100%;\n margin: 0;\n}\n.tabWrapper.stretchedUnderline {\n border-bottom: 0;\n}\n.tabWrapper:after {\n display: block;\n position: absolute;\n inset-inline: 0;\n content: "";\n border-bottom: solid 2px;\n border-bottom-color: var(--primary-color);\n transform: scaleX(0);\n z-index: 0;\n}\n.tabWrapper .tabInner {\n height: calc(100% - 1px);\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n padding: 4px 16px;\n font: var(--font-text1-normal);\n user-select: none;\n margin-bottom: 1px;\n cursor: pointer;\n color: var(--primary-text-color);\n}\n.tabWrapper .tabInner:focus {\n outline: none;\n}\n.tabWrapper .tabInner .tabIcon {\n color: var(--icon-color);\n margin-inline-end: var(--space-8);\n}\n.tabWrapper .tabInner .tabIcon.right {\n margin-inline-end: 0;\n margin-inline-start: var(--space-8);\n}\n.tabWrapper.tabFocusVisibleInset {\n outline: none;\n z-index: 11;\n border-radius: 3px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5) inset, 0 0 0 1px var(--primary-hover-color) inset;\n position: relative;\n}\n.tabWrapper.active:after {\n transform: scaleX(1);\n transition: transform var(--motion-productive-medium) var(--motion-timing-enter);\n}\n.tabWrapper.disabled .tabInner {\n color: var(--disabled-text-color);\n cursor: not-allowed;\n}\n.tabWrapper:not(.disabled) .tabInner:hover {\n border-radius: 4px;\n background-color: var(--primary-background-hover-color);\n}');export{n as default};
2
- //# sourceMappingURL=Tab.module.scss.js.map
@@ -1,2 +0,0 @@
1
- import{slicedToArray as e,defineProperty as r}from"../../../../_virtual/_rollupPluginBabelHelpers.js";import t from"classnames";import{camelCase as n}from"es-toolkit";import a,{forwardRef as i,useRef as o,useState as s,useEffect as l,useMemo as c,useCallback as d}from"react";import{useGridKeyboardNavigation as u}from"@vibe/a11y/mockedClassNames";import{useMergeRef as m,getStyle as f,NOOP as v}from"@vibe/shared";import{usePrevious as p}from"@vibe/hooks";import{getTestId as b,ComponentDefaultTestId as I}from"../../../tests/testIds.js";import h from"./TabList.module.scss.js";var C=i((function(i,C){var T=i.className,N=i.id,g=i.onTabChange,L=void 0===g?v:g,k=i.activeTabId,y=void 0===k?0:k,x=i.tabType,j=void 0===x?"Compact":x,A=i.size,E=i.stretchedUnderline,B=void 0!==E&&E,P=i.tabPanelIds,S=void 0===P?[]:P,U=i.children,_=i["data-testid"],O=o(null),W=m(C,O),w=o({}),z=s(y),H=e(z,2),q=H[0],D=H[1],F=p(y),G=p(q);l((function(){y!==F&&y!==q&&D(y)}),[y,F,q,D]),l((function(){var e;void 0!==G&&G!==q&&w.current[q]&&(null===(e=w.current[q])||void 0===e||e.focus())}),[q,G]);var J=c((function(){var e=new Set;return a.Children.forEach(U,(function(r,t){r.props.disabled&&e.add(t)})),e}),[U]),K=d((function(e){J.has(e)||(D(e),L&&L(e))}),[L,J]),M=d((function(e,r){var t,n=null===(t=U[r].props)||void 0===t?void 0:t.onClick;J.has(r)||(n&&n(r),K(r))}),[U,J,K]),Q=d((function(e){return U[e]}),[U]),R=c((function(){return Array.from(J)}),[J]),V=o(),X=u({ref:V,numberOfItemsInLine:null==U?void 0:U.length,itemsCount:null==U?void 0:U.length,getItemByIndex:Q,onItemClicked:M,disabledIndexes:R,circularNavigation:!0}),Y=X.activeIndex,Z=X.onSelectionAction,$=p(Y);l((function(){var e;void 0!==Y&&Y>=0&&$!==Y&&w.current[Y]&&(null===(e=w.current[Y])||void 0===e||e.focus())}),[Y,$]);var ee=c((function(){return a.Children.map(U,(function(e,r){var n=q===r,i=void 0===Y||0>Y?n:Y===r;return a.cloneElement(e,{value:r,active:n,focus:Y===r,onClick:Z,stretchedUnderline:B,className:t(h.tabListTabWrapper,e.props.className),tabInnerClassName:t(h.tabListTabInner,e.props.tabInnerClassName),tabIndex:i?0:-1,"aria-controls":S[r],ref:function(e){w.current[r]=e}})}))}),[U,q,Y,Z,B,S,N]);return a.createElement("div",{ref:W,className:t(h.tabsWrapper,T,[f(h,n(j))],r({},h.stretchedUnderline,B)),id:N,"data-testid":_||b(I.TAB_LIST,N)},a.createElement("ul",{ref:V,className:t(h.tabsList,[f(h,A)]),role:"tablist"},ee))}));Object.assign(C,{isTabList:!0});export{C as default};
2
- //# sourceMappingURL=TabList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TabList.js","sources":["../../../../../../src/components/Tabs/TabList/TabList.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport { camelCase } from \"es-toolkit\";\nimport React, {\n type FC,\n forwardRef,\n type ReactElement,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState\n} from \"react\";\nimport { useGridKeyboardNavigation } from \"@vibe/a11y\";\nimport { useMergeRef, NOOP, getStyle } from \"@vibe/shared\";\nimport { usePrevious } from \"@vibe/hooks\";\nimport type VibeComponentProps from \"../../../types/VibeComponentProps\";\n\nimport { type TabProps } from \"../Tab/Tab\";\nimport { ComponentDefaultTestId, getTestId } from \"../../../tests/test-ids-utils\";\n\nimport styles from \"./TabList.module.scss\";\n\nexport interface TabListProps extends VibeComponentProps {\n /**\n * Callback fired when the active tab changes.\n */\n onTabChange?: (tabId: number) => void;\n /**\n * The index of the currently active tab.\n */\n activeTabId?: number;\n /**\n * The type of tab style.\n */\n tabType?: string;\n /**\n * The size of the tab list.\n */\n size?: string;\n /**\n * If true, Sets an E2E underline under the whole tabs component.\n */\n stretchedUnderline?: boolean;\n /**\n * Array of corresponding TabPanel ids for aria-controls relationship.\n */\n tabPanelIds?: string[];\n /**\n * The child elements representing tabs.\n */\n children?: ReactElement<TabProps>[];\n}\nconst TabList: FC<TabListProps> = forwardRef(\n (\n {\n className,\n id,\n onTabChange = NOOP,\n activeTabId = 0,\n tabType = \"Compact\",\n size,\n stretchedUnderline = false,\n tabPanelIds = [],\n children,\n \"data-testid\": dataTestId\n },\n ref\n ) => {\n const componentRef = useRef(null);\n const mergedRef = useMergeRef(ref, componentRef);\n const tabRefs = useRef<Record<number, HTMLElement | null>>({});\n\n const [activeTabState, setActiveTabState] = useState<number>(activeTabId);\n\n const prevActiveTabIdProp = usePrevious(activeTabId);\n const prevActiveTabState = usePrevious(activeTabState);\n\n useEffect(() => {\n // Update active tab if changed from props\n\n if (activeTabId !== prevActiveTabIdProp && activeTabId !== activeTabState) {\n setActiveTabState(activeTabId);\n }\n }, [activeTabId, prevActiveTabIdProp, activeTabState, setActiveTabState]);\n\n // Focus management: when activeTabState changes, focus the active tab\n useEffect(() => {\n if (\n prevActiveTabState !== undefined &&\n prevActiveTabState !== activeTabState &&\n tabRefs.current[activeTabState]\n ) {\n tabRefs.current[activeTabState]?.focus();\n }\n }, [activeTabState, prevActiveTabState]);\n\n const disabledTabIds = useMemo(() => {\n const disabledIds = new Set<number>();\n React.Children.forEach(children, (child, index) => {\n if (child.props.disabled) {\n disabledIds.add(index);\n }\n });\n return disabledIds;\n }, [children]);\n const onTabSelect = useCallback(\n (tabId: number) => {\n if (disabledTabIds.has(tabId)) return;\n setActiveTabState(tabId);\n onTabChange && onTabChange(tabId);\n },\n [onTabChange, disabledTabIds]\n );\n const onTabClick = useCallback(\n (value: HTMLElement | void, tabId: number) => {\n const tabCallbackFunc = children[tabId].props?.onClick;\n if (disabledTabIds.has(tabId)) return;\n if (tabCallbackFunc) tabCallbackFunc(tabId);\n onTabSelect(tabId);\n },\n [children, disabledTabIds, onTabSelect]\n );\n const getItemByIndex = useCallback((index: number): ReactElement<TabProps> => children[index], [children]);\n const disabledIndexes = useMemo(() => Array.from(disabledTabIds), [disabledTabIds]);\n const ulRef = useRef();\n const { activeIndex: focusIndex, onSelectionAction } = useGridKeyboardNavigation({\n ref: ulRef,\n numberOfItemsInLine: children?.length,\n itemsCount: children?.length,\n getItemByIndex,\n onItemClicked: onTabClick,\n disabledIndexes,\n circularNavigation: true\n });\n\n // Focus management: when focusIndex changes during keyboard navigation, focus the focused tab\n const prevFocusIndex = usePrevious(focusIndex);\n useEffect(() => {\n if (focusIndex !== undefined && focusIndex >= 0 && prevFocusIndex !== focusIndex && tabRefs.current[focusIndex]) {\n tabRefs.current[focusIndex]?.focus();\n }\n }, [focusIndex, prevFocusIndex]);\n\n const tabsToRender = useMemo(() => {\n const childrenToRender = React.Children.map(children, (child, index) => {\n const isActive = activeTabState === index;\n\n const shouldBeFocusable = focusIndex !== undefined && focusIndex >= 0 ? focusIndex === index : isActive;\n\n return React.cloneElement(child, {\n value: index,\n active: isActive,\n focus: focusIndex === index,\n onClick: onSelectionAction,\n stretchedUnderline,\n className: cx(styles.tabListTabWrapper, child.props.className),\n tabInnerClassName: cx(styles.tabListTabInner, child.props.tabInnerClassName),\n tabIndex: shouldBeFocusable ? 0 : -1,\n \"aria-controls\": tabPanelIds[index],\n ref: (element: HTMLElement | null) => {\n tabRefs.current[index] = element;\n }\n } as Partial<TabProps> & { ref: React.Ref<HTMLElement>; tabInnerLabelId?: string });\n });\n return childrenToRender;\n }, [children, activeTabState, focusIndex, onSelectionAction, stretchedUnderline, tabPanelIds, id]);\n\n return (\n <div\n ref={mergedRef}\n className={cx(styles.tabsWrapper, className, [getStyle(styles, camelCase(tabType))], {\n [styles.stretchedUnderline]: stretchedUnderline\n })}\n id={id}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.TAB_LIST, id)}\n >\n <ul ref={ulRef} className={cx(styles.tabsList, [getStyle(styles, size)])} role=\"tablist\">\n {tabsToRender}\n </ul>\n </div>\n );\n }\n);\nObject.assign(TabList, {\n isTabList: true\n});\n\nexport default TabList;\n"],"names":["TabList","forwardRef","_ref","ref","className","id","_ref$onTabChange","onTabChange","NOOP","_ref$activeTabId","activeTabId","_ref$tabType","tabType","size","_ref$stretchedUnderli","stretchedUnderline","_ref$tabPanelIds","tabPanelIds","children","dataTestId","componentRef","useRef","mergedRef","useMergeRef","tabRefs","_useState","useState","_useState2","_slicedToArray","activeTabState","setActiveTabState","prevActiveTabIdProp","usePrevious","prevActiveTabState","useEffect","undefined","current","_a","focus","disabledTabIds","useMemo","disabledIds","Set","React","Children","forEach","child","index","props","disabled","add","onTabSelect","useCallback","tabId","has","onTabClick","value","tabCallbackFunc","onClick","getItemByIndex","disabledIndexes","Array","from","ulRef","_useGridKeyboardNavig","useGridKeyboardNavigation","numberOfItemsInLine","length","itemsCount","onItemClicked","circularNavigation","focusIndex","activeIndex","onSelectionAction","prevFocusIndex","tabsToRender","map","isActive","shouldBeFocusable","cloneElement","active","cx","styles","tabListTabWrapper","tabInnerClassName","tabListTabInner","tabIndex","element","createElement","tabsWrapper","getStyle","camelCase","_defineProperty","getTestId","ComponentDefaultTestId","TAB_LIST","tabsList","role","Object","assign","isTabList"],"mappings":"mkBAoDMA,IAAAA,EAA4BC,GAChC,SAAAC,EAaEC,GACE,IAZAC,EAASF,EAATE,UACAC,EAAEH,EAAFG,GAAEC,EAAAJ,EACFK,YAAAA,OAAcC,IAAHF,EAAGE,EAAIF,EAAAG,EAAAP,EAClBQ,YAAAA,OAAc,IAAHD,EAAG,EAACA,EAAAE,EAAAT,EACfU,QAAAA,OAAU,IAAHD,EAAG,UAASA,EACnBE,EAAIX,EAAJW,KAAIC,EAAAZ,EACJa,mBAAAA,OAAqB,IAAHD,GAAQA,EAAAE,EAAAd,EAC1Be,YAAAA,OAAc,IAAHD,EAAG,GAAEA,EAChBE,EAAQhB,EAARgB,SACeC,EAAUjB,EAAzB,eAIIkB,EAAeC,EAAO,MACtBC,EAAYC,EAAYpB,EAAKiB,GAC7BI,EAAUH,EAA2C,CAAA,GAE3DI,EAA4CC,EAAiBhB,GAAYiB,EAAAC,EAAAH,EAAA,GAAlEI,EAAcF,EAAA,GAAEG,EAAiBH,EAAA,GAElCI,EAAsBC,EAAYtB,GAClCuB,EAAqBD,EAAYH,GAEvCK,GAAU,WAGJxB,IAAgBqB,GAAuBrB,IAAgBmB,GACzDC,EAAkBpB,EAErB,GAAE,CAACA,EAAaqB,EAAqBF,EAAgBC,IAGtDI,GAAU,sBAEiBC,IAAvBF,GACAA,IAAuBJ,GACvBL,EAAQY,QAAQP,KAEe,QAA/BQ,EAAAb,EAAQY,QAAQP,UAAe,IAAAQ,GAAAA,EAAEC,QAErC,GAAG,CAACT,EAAgBI,IAEpB,IAAMM,EAAiBC,GAAQ,WAC7B,IAAMC,EAAc,IAAIC,IAMxB,OALAC,EAAMC,SAASC,QAAQ3B,GAAU,SAAC4B,EAAOC,GACnCD,EAAME,MAAMC,UACdR,EAAYS,IAAIH,EAEpB,IACON,CACT,GAAG,CAACvB,IACEiC,EAAcC,GAClB,SAACC,GACKd,EAAee,IAAID,KACvBvB,EAAkBuB,GAClB9C,GAAeA,EAAY8C,GAC7B,GACA,CAAC9C,EAAagC,IAEVgB,EAAaH,GACjB,SAACI,EAA2BH,SACpBI,EAAyC,QAAvBpB,EAAAnB,EAASmC,GAAOL,aAAO,IAAAX,OAAA,EAAAA,EAAAqB,QAC3CnB,EAAee,IAAID,KACnBI,GAAiBA,EAAgBJ,GACrCF,EAAYE,GACb,GACD,CAACnC,EAAUqB,EAAgBY,IAEvBQ,EAAiBP,GAAY,SAACL,GAAa,OAA6B7B,EAAS6B,KAAQ,CAAC7B,IAC1F0C,EAAkBpB,GAAQ,WAAA,OAAMqB,MAAMC,KAAKvB,KAAiB,CAACA,IAC7DwB,EAAQ1C,IACd2C,EAAuDC,EAA0B,CAC/E9D,IAAK4D,EACLG,oBAAqBhD,aAAA,EAAAA,EAAUiD,OAC/BC,WAAYlD,aAAA,EAAAA,EAAUiD,OACtBR,eAAAA,EACAU,cAAed,EACfK,gBAAAA,EACAU,oBAAoB,IAPDC,EAAUP,EAAvBQ,YAAyBC,EAAiBT,EAAjBS,kBAW3BC,EAAiB1C,EAAYuC,GACnCrC,GAAU,sBACWC,IAAfoC,GAA4BA,GAAc,GAAKG,IAAmBH,GAAc/C,EAAQY,QAAQmC,KACvE,QAA3BlC,EAAAb,EAAQY,QAAQmC,UAAW,IAAAlC,GAAAA,EAAEC,QAEjC,GAAG,CAACiC,EAAYG,IAEhB,IAAMC,GAAenC,GAAQ,WAqB3B,OApByBG,EAAMC,SAASgC,IAAI1D,GAAU,SAAC4B,EAAOC,GAC5D,IAAM8B,EAAWhD,IAAmBkB,EAE9B+B,OAAmC3C,IAAfoC,GAA0C,EAAdA,EAAyCM,EAAvBN,IAAexB,EAEvF,OAAOJ,EAAMoC,aAAajC,EAAO,CAC/BU,MAAOT,EACPiC,OAAQH,EACRvC,MAAOiC,IAAexB,EACtBW,QAASe,EACT1D,mBAAAA,EACAX,UAAW6E,EAAGC,EAAOC,kBAAmBrC,EAAME,MAAM5C,WACpDgF,kBAAmBH,EAAGC,EAAOG,gBAAiBvC,EAAME,MAAMoC,mBAC1DE,SAAUR,EAAoB,GAAK,EACnC,gBAAiB7D,EAAY8B,GAC7B5C,IAAK,SAACoF,GACJ/D,EAAQY,QAAQW,GAASwC,CAC3B,GAEJ,GAEF,GAAG,CAACrE,EAAUW,EAAgB0C,EAAYE,EAAmB1D,EAAoBE,EAAaZ,IAE9F,OACEsC,EACE6C,cAAA,MAAA,CAAArF,IAAKmB,EACLlB,UAAW6E,EAAGC,EAAOO,YAAarF,EAAW,CAACsF,EAASR,EAAQS,EAAU/E,KAAUgF,EAChFV,CAAAA,EAAAA,EAAOnE,mBAAqBA,IAE/BV,GAAIA,gBACSc,GAAc0E,EAAUC,EAAuBC,SAAU1F,IAEtEsC,EAAA6C,cAAA,KAAA,CAAIrF,IAAK4D,EAAO3D,UAAW6E,EAAGC,EAAOc,SAAU,CAACN,EAASR,EAAQrE,KAASoF,KAAK,WAC5EtB,IAIT,IAEFuB,OAAOC,OAAOnG,EAAS,CACrBoG,WAAW"}
@@ -1,2 +0,0 @@
1
- var e={tabsWrapper:"tabsWrapper",tabsList:"tabsList",sm:"sm",lg:"lg",stretched:"stretched",tabListTabWrapper:"tabListTabWrapper",tabListTabInner:"tabListTabInner",disabled:"disabled",stretchedUnderline:"stretchedUnderline"};!function(e){const t="s_id-1dd2e005bc2f_4_5_12";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const s=document.createElement("style");s.id=t,n.firstChild?n.insertBefore(s,n.firstChild):n.appendChild(s),s.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.tabsWrapper .tabsList {\n display: flex;\n flex-direction: row;\n list-style-type: none;\n font-size: 0;\n position: relative;\n height: 40px;\n outline: none;\n padding: 0;\n}\n.tabsWrapper .tabsList.sm {\n height: 32px;\n}\n.tabsWrapper .tabsList.lg {\n height: 48px;\n}\n.tabsWrapper.stretched .tabsList {\n width: 100%;\n}\n.tabsWrapper.stretched .tabsList .tabListTabWrapper {\n width: 100%;\n}\n.tabsWrapper.stretched .tabsList .tabListTabWrapper .tabListTabInner {\n width: 100%;\n}\n.tabsWrapper.disabled {\n opacity: 0;\n height: 0;\n padding-bottom: 5px;\n pointer-events: none;\n}\n.tabsWrapper.stretchedUnderline {\n border-bottom: 2px solid var(--ui-background-color);\n}");export{e as default};
2
- //# sourceMappingURL=TabList.module.scss.js.map
@@ -1,2 +0,0 @@
1
- import e,{forwardRef as a,useRef as t}from"react";import r from"classnames";import{useMergeRef as s}from"@vibe/shared";import{getTestId as o,ComponentDefaultTestId as m}from"../../../tests/testIds.js";import i from"./TabPanel.module.scss.js";var d=a((function(a,d){var l=a.className,n=a.id,c=a.children,p=a.index,f=a["data-testid"],u=t(null),b=s(d,u);return e.createElement("div",{key:"".concat(n,"_").concat(p),ref:b,className:r(i.tabPanelWrapper,l),id:n,"data-testid":f||o(m.TAB_PANEL,n),role:"tabpanel"},c)}));export{d as default};
2
- //# sourceMappingURL=TabPanel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TabPanel.js","sources":["../../../../../../src/components/Tabs/TabPanel/TabPanel.tsx"],"sourcesContent":["import React, { type FC, forwardRef, type ReactElement, useRef } from \"react\";\nimport cx from \"classnames\";\nimport { useMergeRef } from \"@vibe/shared\";\nimport type VibeComponentProps from \"../../../types/VibeComponentProps\";\nimport { ComponentDefaultTestId, getTestId } from \"../../../tests/test-ids-utils\";\nimport styles from \"./TabPanel.module.scss\";\n\nexport interface TabPanelProps extends VibeComponentProps {\n /**\n * The content inside the tab panel.\n */\n children?: ReactElement | ReactElement[] | string;\n /**\n * The index of the tab panel.\n */\n index?: number;\n}\n\nconst TabPanel: FC<TabPanelProps> = forwardRef(({ className, id, children, index, \"data-testid\": dataTestId }, ref) => {\n const componentRef = useRef(null);\n const mergedRef = useMergeRef(ref, componentRef);\n\n return (\n <div\n key={`${id}_${index}`}\n ref={mergedRef}\n className={cx(styles.tabPanelWrapper, className)}\n id={id}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.TAB_PANEL, id)}\n role=\"tabpanel\"\n >\n {children}\n </div>\n );\n});\n\nexport default TabPanel;\n"],"names":["TabPanel","forwardRef","_ref","ref","className","id","children","index","dataTestId","componentRef","useRef","mergedRef","useMergeRef","React","key","concat","cx","styles","tabPanelWrapper","getTestId","ComponentDefaultTestId","TAB_PANEL","role"],"mappings":"kPAkBMA,IAAAA,EAA8BC,GAAW,SAAAC,EAAgEC,GAAO,IAApEC,EAASF,EAATE,UAAWC,EAAEH,EAAFG,GAAIC,EAAQJ,EAARI,SAAUC,EAAKL,EAALK,MAAsBC,EAAUN,EAAzB,eAC1EO,EAAeC,EAAO,MACtBC,EAAYC,EAAYT,EAAKM,GAEnC,OACEI,uBACEC,IAAG,GAAAC,OAAKV,OAAEU,OAAIR,GACdJ,IAAKQ,EACLP,UAAWY,EAAGC,EAAOC,gBAAiBd,GACtCC,GAAIA,EAAE,cACOG,GAAcW,EAAUC,EAAuBC,UAAWhB,GACvEiB,KAAK,YAEJhB,EAGP"}
@@ -1,2 +0,0 @@
1
- var e={tabPanelWrapper:"tabPanelWrapper"};!function(e){const t="s_id-82244d4a2f7b_4_5_12";if("undefined"!=typeof document){const a=document.head||document.getElementsByTagName("head")[0];if(a.querySelector("#"+t))return;const n=document.createElement("style");n.id=t,a.firstChild?a.insertBefore(n,a.firstChild):a.appendChild(n),n.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".tabPanelWrapper {\n color: var(--primary-text-color);\n}");export{e as default};
2
- //# sourceMappingURL=TabPanel.module.scss.js.map
@@ -1,2 +0,0 @@
1
- import a from"classnames";import{camelCase as e}from"es-toolkit";import t,{forwardRef as r,useRef as i,useMemo as s}from"react";import{useMergeRef as n,getStyle as o}from"@vibe/shared";import{getTestId as l,ComponentDefaultTestId as c}from"../../../tests/testIds.js";import m from"./TabPanels.module.scss.js";var d=r((function(r,d){var p=r.className,f=r.id,u=r.activeTabId,v=void 0===u?0:u,b=r.animationDirection,j=void 0===b?"rtl":b,N=r.children,P=r["data-testid"],T=i(null),g=n(d,T),h=s((function(){return t.Children.map(N,(function(r,i){var s=v===i;if(!s)return null;var n=s?"active":"non-active",l=s?"animation-direction-".concat(j):"";return t.cloneElement(r,Object.assign(Object.assign({index:i},r.props),{className:a(m.tabPanel,[o(m,n)],[o(m,e(l))],r.props.className)}))})).filter(Boolean)}),[N,v,j]);return t.createElement("div",{ref:g,className:a(m.tabPanelsWrapper,p),id:f,"data-testid":P||l(c.TAB_PANELS,f)},h)}));Object.assign(d,{isTabPanels:!0});export{d as default};
2
- //# sourceMappingURL=TabPanels.js.map