@vibe/core 4.5.7 → 4.5.8

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 (396) hide show
  1. package/dist/components/AlertBanner/AlertBannerLink/AlertBannerLink.d.ts +1 -1
  2. package/dist/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.d.ts +1 -1
  3. package/dist/components/EmptyState/EmptyState.types.d.ts +1 -1
  4. package/dist/components/Info/components/InfoLink/InfoLink.d.ts +1 -1
  5. package/dist/components/Menu/MenuItem/MenuItem.d.ts +1 -1
  6. package/dist/components/Toast/ToastLink/ToastLink.d.ts +1 -1
  7. package/dist/components/expand-collapse/dist/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
  8. package/dist/components/index.d.ts +2 -2
  9. package/dist/components/label/dist/Label/Label.js +2 -0
  10. package/dist/components/label/dist/Label/Label.js.map +1 -0
  11. package/dist/components/label/dist/Label/Label.module.scss.js +2 -0
  12. package/dist/components/label/dist/Label/LabelCelebrationAnimation.js +2 -0
  13. package/dist/components/label/dist/Label/LabelCelebrationAnimation.js.map +1 -0
  14. package/dist/components/label/dist/Label/LabelCelebrationAnimation.module.scss.js +2 -0
  15. package/dist/components/label/dist/Label/LabelConstants.js +2 -0
  16. package/dist/components/label/dist/Label/LabelConstants.js.map +1 -0
  17. package/dist/components/label/dist/Label/Leg.js.map +1 -0
  18. package/dist/components/link/dist/Link/Link.js +2 -0
  19. package/dist/components/link/dist/Link/Link.js.map +1 -0
  20. package/dist/components/link/dist/Link/Link.module.scss.js +2 -0
  21. package/dist/components/progress-bars/dist/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
  22. package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/Bar/Bar.module.scss.js +1 -1
  23. package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/ProgressBar.module.scss.js +1 -1
  24. package/dist/metadata/components.json +2 -2
  25. package/dist/metadata.json +2 -2
  26. package/dist/mocked_classnames/components/AlertBanner/AlertBannerLink/AlertBannerLink.d.ts +1 -1
  27. package/dist/mocked_classnames/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.d.ts +1 -1
  28. package/dist/mocked_classnames/components/EmptyState/EmptyState.types.d.ts +1 -1
  29. package/dist/mocked_classnames/components/Info/components/InfoLink/InfoLink.d.ts +1 -1
  30. package/dist/mocked_classnames/components/Menu/MenuItem/MenuItem.d.ts +1 -1
  31. package/dist/mocked_classnames/components/Toast/ToastLink/ToastLink.d.ts +1 -1
  32. package/dist/mocked_classnames/components/index.d.ts +2 -2
  33. package/dist/mocked_classnames/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
  34. package/dist/mocked_classnames/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
  35. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
  36. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.js +1 -1
  37. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.js.map +1 -1
  38. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
  39. package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
  40. package/dist/mocked_classnames/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
  41. package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxCloseButton/AttentionBoxCloseButton.module.scss.js +1 -1
  42. package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLeadingIcon/AttentionBoxLeadingIcon.module.scss.js +1 -1
  43. package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.js +1 -1
  44. package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.js.map +1 -1
  45. package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
  46. package/dist/mocked_classnames/src/components/AttentionBox/layouts/AttentionBoxCompact/AttentionBoxCompact.module.scss.js +1 -1
  47. package/dist/mocked_classnames/src/components/AttentionBox/layouts/AttentionBoxDefault/AttentionBoxDefault.module.scss.js +1 -1
  48. package/dist/mocked_classnames/src/components/Avatar/Avatar.module.scss.js +1 -1
  49. package/dist/mocked_classnames/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
  50. package/dist/mocked_classnames/src/components/Avatar/AvatarContent.module.scss.js +1 -1
  51. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
  52. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
  53. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
  54. package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
  55. package/dist/mocked_classnames/src/components/Badge/Badge.module.scss.js +1 -1
  56. package/dist/mocked_classnames/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
  57. package/dist/mocked_classnames/src/components/BaseItem/BaseItem.module.scss.js +1 -1
  58. package/dist/mocked_classnames/src/components/BaseList/BaseList.module.scss.js +1 -1
  59. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
  60. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
  61. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbsMenu.module.scss.js +1 -1
  62. package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
  63. package/dist/mocked_classnames/src/components/Chips/Chips.module.scss.js +1 -1
  64. package/dist/mocked_classnames/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
  65. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
  66. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
  67. package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
  68. package/dist/mocked_classnames/src/components/Combobox/Combobox.module.scss.js +1 -1
  69. package/dist/mocked_classnames/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
  70. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
  71. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
  72. package/dist/mocked_classnames/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
  73. package/dist/mocked_classnames/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
  74. package/dist/mocked_classnames/src/components/Counter/Counter.module.scss.js +1 -1
  75. package/dist/mocked_classnames/src/components/DatePicker/DatePicker.module.scss.js +1 -1
  76. package/dist/mocked_classnames/src/components/DatePicker/DatePickerHeader.module.scss.js +1 -1
  77. package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBase/DropdownBase.module.scss.js +1 -1
  78. package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBaseList/DropdownBaseList.module.scss.js +1 -1
  79. package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js +1 -1
  80. package/dist/mocked_classnames/src/components/Dropdown/components/Menu/Menu.module.scss.js +1 -1
  81. package/dist/mocked_classnames/src/components/Dropdown/components/MultiSelectedValues/MultiSelectedValues.module.scss.js +1 -1
  82. package/dist/mocked_classnames/src/components/Dropdown/components/Trigger/Trigger.module.scss.js +1 -1
  83. package/dist/mocked_classnames/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
  84. package/dist/mocked_classnames/src/components/EditableText/EditableText.module.scss.js +1 -1
  85. package/dist/mocked_classnames/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
  86. package/dist/mocked_classnames/src/components/EmptyState/EmptyState.js +1 -1
  87. package/dist/mocked_classnames/src/components/EmptyState/EmptyState.js.map +1 -1
  88. package/dist/mocked_classnames/src/components/EmptyState/EmptyState.module.scss.js +1 -1
  89. package/dist/mocked_classnames/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
  90. package/dist/mocked_classnames/src/components/HiddenText/HiddenText.module.scss.js +1 -1
  91. package/dist/mocked_classnames/src/components/Info/Info.js +1 -1
  92. package/dist/mocked_classnames/src/components/Info/Info.js.map +1 -1
  93. package/dist/mocked_classnames/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js +1 -1
  94. package/dist/mocked_classnames/src/components/Info/components/InfoLink/InfoLink.js +1 -1
  95. package/dist/mocked_classnames/src/components/Info/components/InfoLink/InfoLink.js.map +1 -1
  96. package/dist/mocked_classnames/src/components/Info/components/InfoLink/InfoLink.module.scss.js +1 -1
  97. package/dist/mocked_classnames/src/components/InfoText/InfoText.module.scss.js +1 -1
  98. package/dist/mocked_classnames/src/components/List/List.module.scss.js +1 -1
  99. package/dist/mocked_classnames/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
  100. package/dist/mocked_classnames/src/components/ListItem/ListItem.module.scss.js +1 -1
  101. package/dist/mocked_classnames/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
  102. package/dist/mocked_classnames/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
  103. package/dist/mocked_classnames/src/components/ListTitle/ListTitle.module.scss.js +1 -1
  104. package/dist/mocked_classnames/src/components/Menu/Menu/Menu.module.scss.js +1 -1
  105. package/dist/mocked_classnames/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
  106. package/dist/mocked_classnames/src/components/Menu/MenuItem/MenuItem.js +1 -1
  107. package/dist/mocked_classnames/src/components/Menu/MenuItem/MenuItem.js.map +1 -1
  108. package/dist/mocked_classnames/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
  109. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
  110. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
  111. package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
  112. package/dist/mocked_classnames/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
  113. package/dist/mocked_classnames/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
  114. package/dist/mocked_classnames/src/components/MenuButton/MenuButton.module.scss.js +1 -1
  115. package/dist/mocked_classnames/src/components/Modal/Modal/Modal.module.scss.js +1 -1
  116. package/dist/mocked_classnames/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
  117. package/dist/mocked_classnames/src/components/Modal/ModalMedia/ModalMedia.module.scss.js +1 -1
  118. package/dist/mocked_classnames/src/components/Modal/ModalTopActions/ModalTopActions.module.scss.js +1 -1
  119. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooter/ModalFooter.module.scss.js +1 -1
  120. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.module.scss.js +1 -1
  121. package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.module.scss.js +1 -1
  122. package/dist/mocked_classnames/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.module.scss.js +1 -1
  123. package/dist/mocked_classnames/src/components/Modal/layouts/ModalFooterShadow.module.scss.js +1 -1
  124. package/dist/mocked_classnames/src/components/Modal/layouts/ModalLayoutScrollableContent.module.scss.js +1 -1
  125. package/dist/mocked_classnames/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.module.scss.js +1 -1
  126. package/dist/mocked_classnames/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.module.scss.js +1 -1
  127. package/dist/mocked_classnames/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
  128. package/dist/mocked_classnames/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
  129. package/dist/mocked_classnames/src/components/NumberField/NumberField.module.scss.js +1 -1
  130. package/dist/mocked_classnames/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js +1 -1
  131. package/dist/mocked_classnames/src/components/RadioButton/RadioButton.module.scss.js +1 -1
  132. package/dist/mocked_classnames/src/components/Search/Search.module.scss.js +1 -1
  133. package/dist/mocked_classnames/src/components/Skeleton/Skeleton.module.scss.js +1 -1
  134. package/dist/mocked_classnames/src/components/SlideTransition/SlideTransition.module.scss.js +1 -1
  135. package/dist/mocked_classnames/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
  136. package/dist/mocked_classnames/src/components/Slider/Slider.module.scss.js +1 -1
  137. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
  138. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
  139. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
  140. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
  141. package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
  142. package/dist/mocked_classnames/src/components/Slider/SliderInfix.module.scss.js +1 -1
  143. package/dist/mocked_classnames/src/components/SplitButton/SplitButton.module.scss.js +1 -1
  144. package/dist/mocked_classnames/src/components/Steps/Steps.module.scss.js +1 -1
  145. package/dist/mocked_classnames/src/components/Steps/StepsCommand.module.scss.js +1 -1
  146. package/dist/mocked_classnames/src/components/Steps/StepsDot.module.scss.js +1 -1
  147. package/dist/mocked_classnames/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
  148. package/dist/mocked_classnames/src/components/Steps/StepsHeader.module.scss.js +1 -1
  149. package/dist/mocked_classnames/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
  150. package/dist/mocked_classnames/src/components/Switch/Switch.module.scss.js +1 -1
  151. package/dist/mocked_classnames/src/components/Table/Table/Table.module.scss.js +1 -1
  152. package/dist/mocked_classnames/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
  153. package/dist/mocked_classnames/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
  154. package/dist/mocked_classnames/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
  155. package/dist/mocked_classnames/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
  156. package/dist/mocked_classnames/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
  157. package/dist/mocked_classnames/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
  158. package/dist/mocked_classnames/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
  159. package/dist/mocked_classnames/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
  160. package/dist/mocked_classnames/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
  161. package/dist/mocked_classnames/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
  162. package/dist/mocked_classnames/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
  163. package/dist/mocked_classnames/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
  164. package/dist/mocked_classnames/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
  165. package/dist/mocked_classnames/src/components/TextArea/TextArea.module.scss.js +1 -1
  166. package/dist/mocked_classnames/src/components/TextField/TextField.module.scss.js +1 -1
  167. package/dist/mocked_classnames/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
  168. package/dist/mocked_classnames/src/components/Tipseen/Tipseen.module.scss.js +1 -1
  169. package/dist/mocked_classnames/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
  170. package/dist/mocked_classnames/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
  171. package/dist/mocked_classnames/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
  172. package/dist/mocked_classnames/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
  173. package/dist/mocked_classnames/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
  174. package/dist/mocked_classnames/src/components/Toast/Toast.module.scss.js +1 -1
  175. package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.js +1 -1
  176. package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.js.map +1 -1
  177. package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
  178. package/dist/mocked_classnames/src/components/Toggle/MockToggle.module.scss.js +1 -1
  179. package/dist/mocked_classnames/src/components/Toggle/Toggle.module.scss.js +1 -1
  180. package/dist/mocked_classnames/src/components/Toggle/ToggleText.module.scss.js +1 -1
  181. package/dist/mocked_classnames/src/components/TransitionView/TransitionView.module.scss.js +1 -1
  182. package/dist/mocked_classnames/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
  183. package/dist/mocked_classnames/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
  184. package/dist/mocked_classnames/src/components/next/List/List.module.scss.js +1 -1
  185. package/dist/mocked_classnames/src/components/next/List/ListTitle/ListTitle.module.scss.js +1 -1
  186. package/dist/mocked_classnames/src/index.js +1 -1
  187. package/dist/shared/dist/utils/colors-vars-map.js +2 -0
  188. package/dist/shared/dist/utils/colors-vars-map.js.map +1 -0
  189. package/dist/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
  190. package/dist/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
  191. package/dist/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
  192. package/dist/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.js +1 -1
  193. package/dist/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.js.map +1 -1
  194. package/dist/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
  195. package/dist/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
  196. package/dist/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
  197. package/dist/src/components/AttentionBox/components/AttentionBoxCloseButton/AttentionBoxCloseButton.module.scss.js +1 -1
  198. package/dist/src/components/AttentionBox/components/AttentionBoxLeadingIcon/AttentionBoxLeadingIcon.module.scss.js +1 -1
  199. package/dist/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.js +1 -1
  200. package/dist/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.js.map +1 -1
  201. package/dist/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
  202. package/dist/src/components/AttentionBox/layouts/AttentionBoxCompact/AttentionBoxCompact.module.scss.js +1 -1
  203. package/dist/src/components/AttentionBox/layouts/AttentionBoxDefault/AttentionBoxDefault.module.scss.js +1 -1
  204. package/dist/src/components/Avatar/Avatar.module.scss.js +1 -1
  205. package/dist/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
  206. package/dist/src/components/Avatar/AvatarContent.module.scss.js +1 -1
  207. package/dist/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
  208. package/dist/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
  209. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
  210. package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
  211. package/dist/src/components/Badge/Badge.module.scss.js +1 -1
  212. package/dist/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
  213. package/dist/src/components/BaseItem/BaseItem.module.scss.js +1 -1
  214. package/dist/src/components/BaseList/BaseList.module.scss.js +1 -1
  215. package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
  216. package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
  217. package/dist/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbsMenu.module.scss.js +1 -1
  218. package/dist/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
  219. package/dist/src/components/Chips/Chips.module.scss.js +1 -1
  220. package/dist/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
  221. package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
  222. package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
  223. package/dist/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
  224. package/dist/src/components/Combobox/Combobox.module.scss.js +1 -1
  225. package/dist/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
  226. package/dist/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
  227. package/dist/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
  228. package/dist/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
  229. package/dist/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
  230. package/dist/src/components/Counter/Counter.module.scss.js +1 -1
  231. package/dist/src/components/DatePicker/DatePicker.module.scss.js +1 -1
  232. package/dist/src/components/DatePicker/DatePickerHeader.module.scss.js +1 -1
  233. package/dist/src/components/Dropdown/components/DropdownBase/DropdownBase.module.scss.js +1 -1
  234. package/dist/src/components/Dropdown/components/DropdownBaseList/DropdownBaseList.module.scss.js +1 -1
  235. package/dist/src/components/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js +1 -1
  236. package/dist/src/components/Dropdown/components/Menu/Menu.module.scss.js +1 -1
  237. package/dist/src/components/Dropdown/components/MultiSelectedValues/MultiSelectedValues.module.scss.js +1 -1
  238. package/dist/src/components/Dropdown/components/Trigger/Trigger.module.scss.js +1 -1
  239. package/dist/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
  240. package/dist/src/components/EditableText/EditableText.module.scss.js +1 -1
  241. package/dist/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
  242. package/dist/src/components/EmptyState/EmptyState.js +1 -1
  243. package/dist/src/components/EmptyState/EmptyState.js.map +1 -1
  244. package/dist/src/components/EmptyState/EmptyState.module.scss.js +1 -1
  245. package/dist/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
  246. package/dist/src/components/HiddenText/HiddenText.module.scss.js +1 -1
  247. package/dist/src/components/Info/Info.js +1 -1
  248. package/dist/src/components/Info/Info.js.map +1 -1
  249. package/dist/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js +1 -1
  250. package/dist/src/components/Info/components/InfoLink/InfoLink.js +1 -1
  251. package/dist/src/components/Info/components/InfoLink/InfoLink.js.map +1 -1
  252. package/dist/src/components/Info/components/InfoLink/InfoLink.module.scss.js +1 -1
  253. package/dist/src/components/InfoText/InfoText.module.scss.js +1 -1
  254. package/dist/src/components/List/List.module.scss.js +1 -1
  255. package/dist/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
  256. package/dist/src/components/ListItem/ListItem.module.scss.js +1 -1
  257. package/dist/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
  258. package/dist/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
  259. package/dist/src/components/ListTitle/ListTitle.module.scss.js +1 -1
  260. package/dist/src/components/Menu/Menu/Menu.module.scss.js +1 -1
  261. package/dist/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
  262. package/dist/src/components/Menu/MenuItem/MenuItem.js +1 -1
  263. package/dist/src/components/Menu/MenuItem/MenuItem.js.map +1 -1
  264. package/dist/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
  265. package/dist/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
  266. package/dist/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
  267. package/dist/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
  268. package/dist/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
  269. package/dist/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
  270. package/dist/src/components/MenuButton/MenuButton.module.scss.js +1 -1
  271. package/dist/src/components/Modal/Modal/Modal.module.scss.js +1 -1
  272. package/dist/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
  273. package/dist/src/components/Modal/ModalMedia/ModalMedia.module.scss.js +1 -1
  274. package/dist/src/components/Modal/ModalTopActions/ModalTopActions.module.scss.js +1 -1
  275. package/dist/src/components/Modal/footers/ModalFooter/ModalFooter.module.scss.js +1 -1
  276. package/dist/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.module.scss.js +1 -1
  277. package/dist/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.module.scss.js +1 -1
  278. package/dist/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.module.scss.js +1 -1
  279. package/dist/src/components/Modal/layouts/ModalFooterShadow.module.scss.js +1 -1
  280. package/dist/src/components/Modal/layouts/ModalLayoutScrollableContent.module.scss.js +1 -1
  281. package/dist/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.module.scss.js +1 -1
  282. package/dist/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.module.scss.js +1 -1
  283. package/dist/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
  284. package/dist/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
  285. package/dist/src/components/NumberField/NumberField.module.scss.js +1 -1
  286. package/dist/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js +1 -1
  287. package/dist/src/components/RadioButton/RadioButton.module.scss.js +1 -1
  288. package/dist/src/components/Search/Search.module.scss.js +1 -1
  289. package/dist/src/components/Skeleton/Skeleton.module.scss.js +1 -1
  290. package/dist/src/components/SlideTransition/SlideTransition.module.scss.js +1 -1
  291. package/dist/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
  292. package/dist/src/components/Slider/Slider.module.scss.js +1 -1
  293. package/dist/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
  294. package/dist/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
  295. package/dist/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
  296. package/dist/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
  297. package/dist/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
  298. package/dist/src/components/Slider/SliderInfix.module.scss.js +1 -1
  299. package/dist/src/components/SplitButton/SplitButton.module.scss.js +1 -1
  300. package/dist/src/components/Steps/Steps.module.scss.js +1 -1
  301. package/dist/src/components/Steps/StepsCommand.module.scss.js +1 -1
  302. package/dist/src/components/Steps/StepsDot.module.scss.js +1 -1
  303. package/dist/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
  304. package/dist/src/components/Steps/StepsHeader.module.scss.js +1 -1
  305. package/dist/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
  306. package/dist/src/components/Switch/Switch.module.scss.js +1 -1
  307. package/dist/src/components/Table/Table/Table.module.scss.js +1 -1
  308. package/dist/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
  309. package/dist/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
  310. package/dist/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
  311. package/dist/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
  312. package/dist/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
  313. package/dist/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
  314. package/dist/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
  315. package/dist/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
  316. package/dist/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
  317. package/dist/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
  318. package/dist/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
  319. package/dist/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
  320. package/dist/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
  321. package/dist/src/components/TextArea/TextArea.module.scss.js +1 -1
  322. package/dist/src/components/TextField/TextField.module.scss.js +1 -1
  323. package/dist/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
  324. package/dist/src/components/Tipseen/Tipseen.module.scss.js +1 -1
  325. package/dist/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
  326. package/dist/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
  327. package/dist/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
  328. package/dist/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
  329. package/dist/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
  330. package/dist/src/components/Toast/Toast.module.scss.js +1 -1
  331. package/dist/src/components/Toast/ToastLink/ToastLink.js +1 -1
  332. package/dist/src/components/Toast/ToastLink/ToastLink.js.map +1 -1
  333. package/dist/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
  334. package/dist/src/components/Toggle/MockToggle.module.scss.js +1 -1
  335. package/dist/src/components/Toggle/Toggle.module.scss.js +1 -1
  336. package/dist/src/components/Toggle/ToggleText.module.scss.js +1 -1
  337. package/dist/src/components/TransitionView/TransitionView.module.scss.js +1 -1
  338. package/dist/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
  339. package/dist/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
  340. package/dist/src/components/next/List/List.module.scss.js +1 -1
  341. package/dist/src/components/next/List/ListTitle/ListTitle.module.scss.js +1 -1
  342. package/dist/src/index.js +1 -1
  343. package/dist/style/dist/index.min.css.js +1 -1
  344. package/package.json +4 -2
  345. package/dist/components/Label/Label.d.ts +0 -40
  346. package/dist/components/Label/Label.types.d.ts +0 -5
  347. package/dist/components/Label/LabelCelebrationAnimation.d.ts +0 -13
  348. package/dist/components/Label/LabelConstants.d.ts +0 -3
  349. package/dist/components/Label/Leg.d.ts +0 -6
  350. package/dist/components/Label/index.d.ts +0 -2
  351. package/dist/components/Link/Link.d.ts +0 -70
  352. package/dist/components/Link/Link.types.d.ts +0 -3
  353. package/dist/components/Link/LinkConsts.d.ts +0 -16
  354. package/dist/components/Link/index.d.ts +0 -2
  355. package/dist/mocked_classnames/components/Label/Label.d.ts +0 -40
  356. package/dist/mocked_classnames/components/Label/Label.types.d.ts +0 -5
  357. package/dist/mocked_classnames/components/Label/LabelCelebrationAnimation.d.ts +0 -13
  358. package/dist/mocked_classnames/components/Label/LabelConstants.d.ts +0 -3
  359. package/dist/mocked_classnames/components/Label/Leg.d.ts +0 -6
  360. package/dist/mocked_classnames/components/Label/index.d.ts +0 -2
  361. package/dist/mocked_classnames/components/Link/Link.d.ts +0 -70
  362. package/dist/mocked_classnames/components/Link/Link.types.d.ts +0 -3
  363. package/dist/mocked_classnames/components/Link/LinkConsts.d.ts +0 -16
  364. package/dist/mocked_classnames/components/Link/index.d.ts +0 -2
  365. package/dist/mocked_classnames/src/components/Label/Label.js +0 -2
  366. package/dist/mocked_classnames/src/components/Label/Label.js.map +0 -1
  367. package/dist/mocked_classnames/src/components/Label/Label.module.scss.js +0 -2
  368. package/dist/mocked_classnames/src/components/Label/LabelCelebrationAnimation.js +0 -2
  369. package/dist/mocked_classnames/src/components/Label/LabelCelebrationAnimation.js.map +0 -1
  370. package/dist/mocked_classnames/src/components/Label/LabelCelebrationAnimation.module.scss.js +0 -2
  371. package/dist/mocked_classnames/src/components/Label/LabelConstants.js +0 -2
  372. package/dist/mocked_classnames/src/components/Label/LabelConstants.js.map +0 -1
  373. package/dist/mocked_classnames/src/components/Label/Leg.js.map +0 -1
  374. package/dist/mocked_classnames/src/components/Link/Link.js +0 -2
  375. package/dist/mocked_classnames/src/components/Link/Link.js.map +0 -1
  376. package/dist/mocked_classnames/src/components/Link/Link.module.scss.js +0 -2
  377. package/dist/src/components/Label/Label.js +0 -2
  378. package/dist/src/components/Label/Label.js.map +0 -1
  379. package/dist/src/components/Label/Label.module.scss.js +0 -2
  380. package/dist/src/components/Label/Label.module.scss.js.map +0 -1
  381. package/dist/src/components/Label/LabelCelebrationAnimation.js +0 -2
  382. package/dist/src/components/Label/LabelCelebrationAnimation.js.map +0 -1
  383. package/dist/src/components/Label/LabelCelebrationAnimation.module.scss.js +0 -2
  384. package/dist/src/components/Label/LabelCelebrationAnimation.module.scss.js.map +0 -1
  385. package/dist/src/components/Label/LabelConstants.js +0 -2
  386. package/dist/src/components/Label/LabelConstants.js.map +0 -1
  387. package/dist/src/components/Label/Leg.js +0 -2
  388. package/dist/src/components/Label/Leg.js.map +0 -1
  389. package/dist/src/components/Link/Link.js +0 -2
  390. package/dist/src/components/Link/Link.js.map +0 -1
  391. package/dist/src/components/Link/Link.module.scss.js +0 -2
  392. package/dist/src/components/Link/Link.module.scss.js.map +0 -1
  393. /package/dist/{mocked_classnames/src/components → components/label/dist}/Label/Label.module.scss.js.map +0 -0
  394. /package/dist/{mocked_classnames/src/components → components/label/dist}/Label/LabelCelebrationAnimation.module.scss.js.map +0 -0
  395. /package/dist/{mocked_classnames/src/components → components/label/dist}/Label/Leg.js +0 -0
  396. /package/dist/{mocked_classnames/src/components → components/link/dist}/Link/Link.module.scss.js.map +0 -0
@@ -1,70 +0,0 @@
1
- import React from "react";
2
- import { type SubIcon } from "@vibe/icon";
3
- import { type LinkColor, type LinkIconPosition, type LinkTarget } from "./Link.types";
4
- import { type VibeComponentProps } from "../../types";
5
- export interface LinkProps extends VibeComponentProps {
6
- /**
7
- * Class name applied to the link text.
8
- */
9
- textClassName?: string;
10
- /**
11
- * The URL the link points to.
12
- */
13
- href?: string;
14
- /**
15
- * The text content of the link.
16
- */
17
- text?: string;
18
- /**
19
- * Specifies the relationship between the current document and the linked resource.
20
- */
21
- rel?: string;
22
- /**
23
- * Callback fired when the link is clicked.
24
- */
25
- onClick?: (event: React.MouseEvent) => void;
26
- /**
27
- * Specifies where to open the linked document.
28
- */
29
- target?: LinkTarget;
30
- /**
31
- * The ARIA label for accessibility.
32
- */
33
- "aria-label"?: string;
34
- /**
35
- * The ID of the element that describes this link.
36
- */
37
- "aria-describedby"?: string;
38
- /**
39
- * The ID of the element labeling this link.
40
- */
41
- "aria-labelledby"?: string;
42
- /**
43
- * Icon displayed next to the link text.
44
- */
45
- icon?: SubIcon;
46
- /**
47
- * The position of the icon relative to the text.
48
- */
49
- iconPosition?: LinkIconPosition;
50
- /**
51
- * If true, disables navigation when the link is clicked.
52
- */
53
- disableNavigation?: boolean;
54
- /**
55
- * If true, the link inherits the surrounding text's font size.
56
- */
57
- inheritFontSize?: boolean;
58
- /**
59
- * If true, the link is styled to fit within inline text content.
60
- */
61
- inlineText?: boolean;
62
- /** The link's color style */
63
- color?: LinkColor;
64
- /**
65
- * Inline style object applied to the link element.
66
- */
67
- style?: React.CSSProperties;
68
- }
69
- declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
70
- export default Link;
@@ -1,3 +0,0 @@
1
- export type LinkTarget = "_blank" | "_self" | "_parent" | "_top";
2
- export type LinkIconPosition = "start" | "end";
3
- export type LinkColor = "primary" | "onPrimary" | "onInverted";
@@ -1,16 +0,0 @@
1
- /**
2
- * @deprecated
3
- */
4
- export declare enum LinkTarget {
5
- NEW_WINDOW = "_blank",
6
- SELF = "_self",
7
- PARENT = "_parent",
8
- TOP = "_top"
9
- }
10
- /**
11
- * @deprecated
12
- */
13
- export declare enum IconPosition {
14
- START = "start",
15
- END = "end"
16
- }
@@ -1,2 +0,0 @@
1
- export { default as Link, type LinkProps } from "./Link";
2
- export * from "./Link.types";
@@ -1,40 +0,0 @@
1
- import React from "react";
2
- import { type LabelColor, type LabelKind } from "./Label.types";
3
- import { type VibeComponentProps } from "../../types";
4
- import { type LabelSizes } from "./Label.types";
5
- export interface LabelProps extends VibeComponentProps {
6
- /**
7
- * Class name applied to the inner text wrapper.
8
- */
9
- labelClassName?: string;
10
- /**
11
- * The visual style of the label.
12
- */
13
- kind?: LabelKind;
14
- /**
15
- * The background color of the label.
16
- */
17
- color?: LabelColor;
18
- /**
19
- * The text content of the label.
20
- */
21
- text?: string;
22
- /**
23
- * If true, includes a leg (decorative extension).
24
- */
25
- isLegIncluded?: boolean;
26
- /**
27
- * Callback fired when the label is clicked.
28
- */
29
- onClick?: (event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
30
- /**
31
- * If true, triggers a celebration animation.
32
- */
33
- celebrationAnimation?: boolean;
34
- /**
35
- * The size of the label.
36
- */
37
- size?: LabelSizes;
38
- }
39
- declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLElement>>;
40
- export default Label;
@@ -1,5 +0,0 @@
1
- import { type contentColors } from "../../utils/colors-vars-map";
2
- export type LabelSizes = "small" | "medium";
3
- export type LabelKind = "fill" | "line";
4
- export type ContentColor = (typeof contentColors)[number];
5
- export type LabelColor = "primary" | "dark" | "negative" | "positive" | ContentColor;
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- export interface LabelCelebrationAnimationProps {
3
- /**
4
- * The child component that will be wrapped by the animation.
5
- */
6
- children: React.ReactElement;
7
- /**
8
- * Callback fired when the celebration animation ends.
9
- */
10
- onAnimationEnd: () => void;
11
- }
12
- declare function LabelCelebrationAnimation({ children, onAnimationEnd }: LabelCelebrationAnimationProps): React.JSX.Element;
13
- export default LabelCelebrationAnimation;
@@ -1,3 +0,0 @@
1
- import { type TextType } from "@vibe/typography";
2
- import { type LabelSizes } from "./Label.types";
3
- export declare const mapSizesToTextSize: Record<LabelSizes, TextType>;
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- declare const Leg: {
3
- (): React.JSX.Element;
4
- displayName: string;
5
- };
6
- export default Leg;
@@ -1,2 +0,0 @@
1
- export { default as Label, type LabelProps } from "./Label";
2
- export * from "./Label.types";
@@ -1,70 +0,0 @@
1
- import React from "react";
2
- import { type SubIcon } from "@vibe/icon";
3
- import { type LinkColor, type LinkIconPosition, type LinkTarget } from "./Link.types";
4
- import { type VibeComponentProps } from "../../types";
5
- export interface LinkProps extends VibeComponentProps {
6
- /**
7
- * Class name applied to the link text.
8
- */
9
- textClassName?: string;
10
- /**
11
- * The URL the link points to.
12
- */
13
- href?: string;
14
- /**
15
- * The text content of the link.
16
- */
17
- text?: string;
18
- /**
19
- * Specifies the relationship between the current document and the linked resource.
20
- */
21
- rel?: string;
22
- /**
23
- * Callback fired when the link is clicked.
24
- */
25
- onClick?: (event: React.MouseEvent) => void;
26
- /**
27
- * Specifies where to open the linked document.
28
- */
29
- target?: LinkTarget;
30
- /**
31
- * The ARIA label for accessibility.
32
- */
33
- "aria-label"?: string;
34
- /**
35
- * The ID of the element that describes this link.
36
- */
37
- "aria-describedby"?: string;
38
- /**
39
- * The ID of the element labeling this link.
40
- */
41
- "aria-labelledby"?: string;
42
- /**
43
- * Icon displayed next to the link text.
44
- */
45
- icon?: SubIcon;
46
- /**
47
- * The position of the icon relative to the text.
48
- */
49
- iconPosition?: LinkIconPosition;
50
- /**
51
- * If true, disables navigation when the link is clicked.
52
- */
53
- disableNavigation?: boolean;
54
- /**
55
- * If true, the link inherits the surrounding text's font size.
56
- */
57
- inheritFontSize?: boolean;
58
- /**
59
- * If true, the link is styled to fit within inline text content.
60
- */
61
- inlineText?: boolean;
62
- /** The link's color style */
63
- color?: LinkColor;
64
- /**
65
- * Inline style object applied to the link element.
66
- */
67
- style?: React.CSSProperties;
68
- }
69
- declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
70
- export default Link;
@@ -1,3 +0,0 @@
1
- export type LinkTarget = "_blank" | "_self" | "_parent" | "_top";
2
- export type LinkIconPosition = "start" | "end";
3
- export type LinkColor = "primary" | "onPrimary" | "onInverted";
@@ -1,16 +0,0 @@
1
- /**
2
- * @deprecated
3
- */
4
- export declare enum LinkTarget {
5
- NEW_WINDOW = "_blank",
6
- SELF = "_self",
7
- PARENT = "_parent",
8
- TOP = "_top"
9
- }
10
- /**
11
- * @deprecated
12
- */
13
- export declare enum IconPosition {
14
- START = "start",
15
- END = "end"
16
- }
@@ -1,2 +0,0 @@
1
- export { default as Link, type LinkProps } from "./Link";
2
- export * from "./Link.types";
@@ -1,2 +0,0 @@
1
- import{slicedToArray as e,defineProperty as a}from"../../../_virtual/_rollupPluginBabelHelpers.js";import{camelCase as r}from"es-toolkit";import t from"classnames";import{getTestId as o,ComponentDefaultTestId as l}from"../../tests/testIds.js";import{useMergeRef as i,getStyle as n}from"@vibe/shared";import s,{forwardRef as m,useRef as c,useState as p,useMemo as d,useCallback as f,useEffect as u}from"react";import{Text as b}from"@vibe/typography/mockedClassNames";import v from"./Leg.js";import{contentColors as k}from"../../utils/colors-vars-map.js";import{useClickableProps as L}from"@vibe/clickable/mockedClassNames";import j from"./Label.module.scss.js";import y from"./LabelCelebrationAnimation.js";import{mapSizesToTextSize as E}from"./LabelConstants.js";import{ComponentVibeId as g}from"../../tests/constants.js";var C=m((function(m,C){var N=m.className,h=m.labelClassName,A=m.kind,x=void 0===A?"fill":A,B=m.color,I=void 0===B?"primary":B,P=m.text,T=void 0===P?"":P,W=m.isLegIncluded,_=void 0!==W&&W,w=m.id,z=m["data-testid"],D=m.onClick,H=m.celebrationAnimation,O=m.size,q=void 0===O?"medium":O,F=c(null),G=i(C,F),J=p(H),K=e(J,2),M=K[0],Q=K[1],R=!!D,S=d((function(){return t(j.label,n(j,r("kind-"+x)),n(j,r("color-"+I)),a(a(a({},j.withLeg,_),j.clickable,R),j.small,"small"===q),h)}),[x,I,_,h,R,q]),U=d((function(){if(k.includes(I))return"line"===x?{color:"var(--color-".concat(I,")")}:{backgroundColor:"var(--color-".concat(I,")")}}),[I,x]),V=f((function(e){D&&(e.preventDefault(),D(e))}),[D]),X=L({onClick:V,id:w,"aria-hidden":!1,"aria-haspopup":!1,"aria-expanded":!1},F);u((function(){Q(H)}),[H]);var Y=d((function(){return s.createElement("span",Object.assign({},R&&X,{className:t(a({},j.clickableWrapper,R),N),"data-testid":z||o(l.LABEL,w),"data-vibe":g.LABEL,ref:G}),s.createElement(b,{style:U,element:"span",type:E[q],className:S,color:"dark"===I?"onInverted":"onPrimary","data-celebration-text":M},s.createElement(b,{element:"span",type:E[q],color:"inherit",className:t(a({},j.smallText,"small"===q))},T),s.createElement("span",{className:t(j.legWrapper)},_?s.createElement(v,null):null)))}),[R,X,N,z,w,G,S,M,T,_,q,U,I]);return M&&"line"===x?s.createElement(y,{onAnimationEnd:function(){return Q(!1)}},Y):Y}));export{C as default};
2
- //# sourceMappingURL=Label.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Label.js","sources":["../../../../../src/components/Label/Label.tsx"],"sourcesContent":["import { camelCase } from \"es-toolkit\";\nimport cx from \"classnames\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport { getStyle, useMergeRef } from \"@vibe/shared\";\nimport React, { forwardRef, useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { Text } from \"@vibe/typography\";\nimport Leg from \"./Leg\";\nimport { type LabelColor, type LabelKind, type ContentColor } from \"./Label.types\";\nimport { contentColors } from \"../../utils/colors-vars-map\";\nimport { type VibeComponentProps } from \"../../types\";\nimport { useClickableProps } from \"@vibe/clickable\";\n\nimport styles from \"./Label.module.scss\";\nimport LabelCelebrationAnimation from \"./LabelCelebrationAnimation\";\nimport { type LabelSizes } from \"./Label.types\";\nimport { mapSizesToTextSize } from \"./LabelConstants\";\nimport { ComponentVibeId } from \"../../tests/constants\";\n\nexport interface LabelProps extends VibeComponentProps {\n /**\n * Class name applied to the inner text wrapper.\n */\n labelClassName?: string;\n /**\n * The visual style of the label.\n */\n kind?: LabelKind;\n /**\n * The background color of the label.\n */\n color?: LabelColor;\n /**\n * The text content of the label.\n */\n text?: string;\n /**\n * If true, includes a leg (decorative extension).\n */\n isLegIncluded?: boolean;\n /**\n * Callback fired when the label is clicked.\n */\n onClick?: (event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;\n /**\n * If true, triggers a celebration animation.\n */\n celebrationAnimation?: boolean;\n /**\n * The size of the label.\n */\n size?: LabelSizes;\n}\n\nconst Label = forwardRef<HTMLElement, LabelProps>(\n (\n {\n className,\n labelClassName,\n kind = \"fill\",\n color = \"primary\",\n text = \"\",\n isLegIncluded = false,\n id,\n \"data-testid\": dataTestId,\n onClick,\n celebrationAnimation,\n size = \"medium\"\n }: LabelProps,\n ref\n ) => {\n const labelRef = useRef<HTMLSpanElement>(null);\n const mergedRef = useMergeRef(ref, labelRef);\n const [isCelebrationAnimation, setIsCelebrationAnimation] = useState(celebrationAnimation);\n\n const isClickable = Boolean(onClick);\n\n const classNames = useMemo(\n () =>\n cx(\n styles.label,\n getStyle(styles, camelCase(\"kind\" + \"-\" + kind)),\n getStyle(styles, camelCase(\"color\" + \"-\" + color)),\n {\n [styles.withLeg]: isLegIncluded,\n [styles.clickable]: isClickable,\n [styles.small]: size === \"small\"\n },\n labelClassName\n ),\n [kind, color, isLegIncluded, labelClassName, isClickable, size]\n );\n\n const backgroundColorStyle = useMemo(() => {\n if (contentColors.includes(color as ContentColor)) {\n if (kind === \"line\") {\n return { color: `var(--color-${color})` };\n }\n return { backgroundColor: `var(--color-${color})` };\n }\n }, [color, kind]);\n\n const onClickCallback = useCallback(\n (event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => {\n if (onClick) {\n event.preventDefault();\n onClick(event);\n }\n },\n [onClick]\n );\n\n const clickableProps = useClickableProps(\n {\n onClick: onClickCallback,\n id,\n \"aria-hidden\": false,\n \"aria-haspopup\": false,\n \"aria-expanded\": false\n },\n labelRef\n );\n\n useEffect(() => {\n setIsCelebrationAnimation(celebrationAnimation);\n }, [celebrationAnimation]);\n\n const label = useMemo(() => {\n return (\n <span\n {...(isClickable && clickableProps)}\n className={cx({ [styles.clickableWrapper]: isClickable }, className)}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.LABEL, id)}\n data-vibe={ComponentVibeId.LABEL}\n ref={mergedRef}\n >\n <Text\n style={backgroundColorStyle}\n element=\"span\"\n type={mapSizesToTextSize[size]}\n className={classNames}\n color={color === \"dark\" ? \"onInverted\" : \"onPrimary\"}\n data-celebration-text={isCelebrationAnimation}\n >\n <Text\n element=\"span\"\n type={mapSizesToTextSize[size]}\n color=\"inherit\"\n className={cx({ [styles.smallText]: size === \"small\" })}\n >\n {text}\n </Text>\n <span className={cx(styles.legWrapper)}>{isLegIncluded ? <Leg /> : null}</span>\n </Text>\n </span>\n );\n }, [\n isClickable,\n clickableProps,\n className,\n dataTestId,\n id,\n mergedRef,\n classNames,\n isCelebrationAnimation,\n text,\n isLegIncluded,\n size,\n backgroundColorStyle,\n color\n ]);\n\n // Celebration animation is applied only for line kind\n if (isCelebrationAnimation && kind === \"line\") {\n return (\n <LabelCelebrationAnimation onAnimationEnd={() => setIsCelebrationAnimation(false)}>\n {label}\n </LabelCelebrationAnimation>\n );\n }\n\n return label;\n }\n);\n\nexport default Label;\n"],"names":["Label","forwardRef","_ref","ref","className","labelClassName","_ref$kind","kind","_ref$color","color","_ref$text","text","_ref$isLegIncluded","isLegIncluded","id","dataTestId","onClick","celebrationAnimation","_ref$size","size","labelRef","useRef","mergedRef","useMergeRef","_useState","useState","_useState2","_slicedToArray","isCelebrationAnimation","setIsCelebrationAnimation","isClickable","classNames","useMemo","cx","styles","label","getStyle","camelCase","_defineProperty","withLeg","clickable","small","backgroundColorStyle","contentColors","includes","concat","backgroundColor","onClickCallback","useCallback","event","preventDefault","clickableProps","useClickableProps","useEffect","React","createElement","Object","assign","clickableWrapper","getTestId","ComponentDefaultTestId","LABEL","ComponentVibeId","Text","style","element","type","mapSizesToTextSize","smallText","legWrapper","Leg","LabelCelebrationAnimation","onAnimationEnd"],"mappings":"szBAqDMA,IAAAA,EAAQC,GACZ,SAAAC,EAcEC,GACE,IAbAC,EAASF,EAATE,UACAC,EAAcH,EAAdG,eAAcC,EAAAJ,EACdK,KAAAA,OAAO,IAAHD,EAAG,OAAMA,EAAAE,EAAAN,EACbO,MAAAA,OAAQ,IAAHD,EAAG,UAASA,EAAAE,EAAAR,EACjBS,KAAAA,OAAO,IAAHD,EAAG,GAAEA,EAAAE,EAAAV,EACTW,cAAAA,OAAgB,IAAHD,GAAQA,EACrBE,EAAEZ,EAAFY,GACeC,EAAUb,EAAzB,eACAc,EAAOd,EAAPc,QACAC,EAAoBf,EAApBe,qBAAoBC,EAAAhB,EACpBiB,KAAAA,OAAO,IAAHD,EAAG,SAAQA,EAIXE,EAAWC,EAAwB,MACnCC,EAAYC,EAAYpB,EAAKiB,GACnCI,EAA4DC,EAASR,GAAqBS,EAAAC,EAAAH,EAAA,GAAnFI,EAAsBF,EAAA,GAAEG,EAAyBH,EAAA,GAElDI,IAAsBd,EAEtBe,EAAaC,GACjB,WAAA,OACEC,EACEC,EAAOC,MACPC,EAASF,EAAQG,EAAU,QAAe9B,IAC1C6B,EAASF,EAAQG,EAAU,SAAgB5B,IAAO6B,EAAAA,EAAAA,EAAA,CAAA,EAE/CJ,EAAOK,QAAU1B,GACjBqB,EAAOM,UAAYV,GACnBI,EAAOO,MAAiB,UAATtB,GAElBd,EACD,GACH,CAACE,EAAME,EAAOI,EAAeR,EAAgByB,EAAaX,IAGtDuB,EAAuBV,GAAQ,WACnC,GAAIW,EAAcC,SAASnC,GACzB,MAAa,SAATF,EACK,CAAEE,MAAK,eAAAoC,OAAiBpC,EAAK,MAE/B,CAAEqC,gBAAe,eAAAD,OAAiBpC,EAAK,KAElD,GAAG,CAACA,EAAOF,IAELwC,EAAkBC,GACtB,SAACC,GACKjC,IACFiC,EAAMC,iBACNlC,EAAQiC,GAEZ,GACA,CAACjC,IAGGmC,EAAiBC,EACrB,CACEpC,QAAS+B,EACTjC,GAAAA,EACA,eAAe,EACf,iBAAiB,EACjB,iBAAiB,GAEnBM,GAGFiC,GAAU,WACRxB,EAA0BZ,EAC5B,GAAG,CAACA,IAEJ,IAAMkB,EAAQH,GAAQ,WACpB,OACEsB,EACMC,cAAA,OAAAC,OAAAC,OAAA,CAAA,EAAC3B,GAAeqB,EACpB,CAAA/C,UAAW6B,EAAEK,EAAIJ,CAAAA,EAAAA,EAAOwB,iBAAmB5B,GAAe1B,GAC7C,cAAAW,GAAc4C,EAAUC,EAAuBC,MAAO/C,eACxDgD,EAAgBD,MAC3B1D,IAAKmB,IAELgC,EAAAC,cAACQ,EAAI,CACHC,MAAOtB,EACPuB,QAAQ,OACRC,KAAMC,EAAmBhD,GACzBf,UAAW2B,EACXtB,MAAiB,SAAVA,EAAmB,aAAe,oCAClBmB,GAEvB0B,EAAAC,cAACQ,EAAI,CACHE,QAAQ,OACRC,KAAMC,EAAmBhD,GACzBV,MAAM,UACNL,UAAW6B,EAAEK,EAAIJ,CAAAA,EAAAA,EAAOkC,UAAqB,UAATjD,KAEnCR,GAEH2C,EAAMC,cAAA,OAAA,CAAAnD,UAAW6B,EAAGC,EAAOmC,aAAcxD,EAAgByC,EAACC,cAAAe,EAAM,MAAG,OAI3E,GAAG,CACDxC,EACAqB,EACA/C,EACAW,EACAD,EACAQ,EACAS,EACAH,EACAjB,EACAE,EACAM,EACAuB,EACAjC,IAIF,OAAImB,GAAmC,SAATrB,EAE1B+C,EAACC,cAAAgB,EAA0B,CAAAC,eAAgB,WAAA,OAAM3C,GAA0B,EAAM,GAC9EM,GAKAA,CACT"}
@@ -1,2 +0,0 @@
1
- var n={clickableWrapper:"clickableWrapper","focus-visible":"focus-visible",label:"label",small:"small",withLeg:"withLeg",legWrapper:"legWrapper",kindFill:"kindFill",colorPrimary:"colorPrimary",clickable:"clickable",colorDark:"colorDark",colorNegative:"colorNegative",colorPositive:"colorPositive",kindLine:"kindLine",smallText:"smallText"};!function(n){const r="s_id-05b0d3f05a05_4_5_6";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+r))return;const i=document.createElement("style");i.id=r,o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[r]=n)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\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(--space-8);\n position: relative;\n}\n.label.small {\n padding: 0 var(--space-4);\n border-radius: 2px;\n}\n.withLeg {\n border-start-start-radius: var(--border-radius-small);\n border-start-end-radius: var(--border-radius-small);\n border-end-end-radius: var(--border-radius-small);\n border-end-start-radius: 0;\n}\n.legWrapper {\n position: absolute;\n height: 8px;\n top: 100%;\n inset-inline-start: 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(--space-8);\n}\n.kindLine .legWrapper {\n inset-inline-start: -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
- //# sourceMappingURL=Label.module.scss.js.map
@@ -1,2 +0,0 @@
1
- import{slicedToArray as e}from"../../../_virtual/_rollupPluginBabelHelpers.js";import t,{useRef as c,useState as a,useCallback as r,forwardRef as o,cloneElement as n}from"react";import i from"classnames";import{useResizeObserver as s}from"@vibe/hooks";import l from"./LabelCelebrationAnimation.module.scss.js";var m=4,d=1;function h(h){var u=h.children,f=h.onAnimationEnd,v=c(),p=c(),b=a(),E=e(b,2),k=E[0],A=E[1],g=r((function(e){var t=e.borderBoxSize||{},c=t.blockSize,a=t.inlineSize;if(v.current){var r=function(e){var t=e.width,c=e.height,a=e.borderRadius,r=void 0===a?m:a,o=e.strokeWidth,n=void 0===o?d:o,i=n/2;return"M ".concat(t-n/2,", ").concat(r," V ").concat(c-r," A ").concat(r," ").concat(r," 0 0 1 ").concat(t-r," ").concat(c-n/2," H ").concat(r+i," A ").concat(r," ").concat(r," 0 0 1 ").concat(n/2," ").concat(c-r," V ").concat(r+i," A ").concat(r," ").concat(r," 0 0 1 ").concat(r," ").concat(n/2," L ").concat(t-r,", ").concat(n/2," A ").concat(r," ").concat(r," 0 0 1 ").concat(t-n/2," ").concat(r," Z")}({width:a,height:c});A(r);var o=function(e){var t=e.width,c=e.height,a=e.borderRadius,r=void 0===a?m:a,o=t-2*r,n=c-2*r;return 2*Math.PI*r+2*o+2*n}({width:a,height:c});v.current.style.setProperty("--container-perimeter",o+"")}}),[]);s({ref:v,callback:g,debounceTime:0});var N=o((function(e,t){return n(u,{ref:t})}));return t.createElement("div",{className:l.celebration,ref:v},t.createElement("svg",{className:l.svg},t.createElement("path",{className:i(l.stroke,l.base),d:k}),t.createElement("path",{className:i(l.stroke,l.first),d:k}),t.createElement("path",{className:i(l.stroke,l.second),d:k}),t.createElement("path",{className:i(l.stroke,l.third),d:k,onAnimationEnd:f})),t.createElement(N,{ref:p}))}export{h as default};
2
- //# sourceMappingURL=LabelCelebrationAnimation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LabelCelebrationAnimation.js","sources":["../../../../../src/components/Label/LabelCelebrationAnimation.tsx"],"sourcesContent":["import React, { cloneElement, forwardRef, useCallback, useRef, useState } from \"react\";\nimport cx from \"classnames\";\nimport { useResizeObserver } from \"@vibe/hooks\";\nimport styles from \"./LabelCelebrationAnimation.module.scss\";\n\nconst DEFAULT_BORDER_RADIUS = 4;\nconst DEFAULT_STROKE_WIDTH = 1;\n\nexport interface LabelCelebrationAnimationProps {\n /**\n * The child component that will be wrapped by the animation.\n */\n children: React.ReactElement;\n /**\n * Callback fired when the celebration animation ends.\n */\n onAnimationEnd: () => void;\n}\n\nfunction LabelCelebrationAnimation({ children, onAnimationEnd }: LabelCelebrationAnimationProps) {\n const wrapperRef = useRef<HTMLDivElement>();\n const childRef = useRef<HTMLDivElement>();\n\n const [path, setPath] = useState<string>();\n\n const resizeObserverCallback = useCallback(\n ({ borderBoxSize }: { borderBoxSize: { blockSize: number; inlineSize: number } }) => {\n const { blockSize: height, inlineSize: width } = borderBoxSize || {};\n\n if (wrapperRef.current) {\n const d = getPath({ width, height });\n setPath(d);\n\n const perimeter = getPerimeter({ width, height });\n wrapperRef.current.style.setProperty(\"--container-perimeter\", String(perimeter));\n }\n },\n []\n );\n\n useResizeObserver({\n ref: wrapperRef,\n callback: resizeObserverCallback,\n debounceTime: 0\n });\n\n const ChildComponentWithRef = forwardRef((_props, ref) =>\n cloneElement(children, {\n ref\n })\n );\n\n return (\n <div className={styles.celebration} ref={wrapperRef}>\n <svg className={styles.svg}>\n <path className={cx(styles.stroke, styles.base)} d={path} />\n <path className={cx(styles.stroke, styles.first)} d={path} />\n <path className={cx(styles.stroke, styles.second)} d={path} />\n <path className={cx(styles.stroke, styles.third)} d={path} onAnimationEnd={onAnimationEnd} />\n </svg>\n <ChildComponentWithRef ref={childRef} />\n </div>\n );\n}\n\nexport default LabelCelebrationAnimation;\n\nfunction getPath({\n width,\n height,\n borderRadius = DEFAULT_BORDER_RADIUS,\n strokeWidth = DEFAULT_STROKE_WIDTH\n}: {\n width: number;\n height: number;\n borderRadius?: number;\n strokeWidth?: number;\n}) {\n const offset = strokeWidth / 2;\n\n return `M ${width - strokeWidth / 2}, ${borderRadius} V ${\n height - borderRadius\n } A ${borderRadius} ${borderRadius} 0 0 1 ${width - borderRadius} ${height - strokeWidth / 2} H ${\n borderRadius + offset\n } A ${borderRadius} ${borderRadius} 0 0 1 ${strokeWidth / 2} ${height - borderRadius} V ${\n borderRadius + offset\n } A ${borderRadius} ${borderRadius} 0 0 1 ${borderRadius} ${strokeWidth / 2} L ${width - borderRadius}, ${\n strokeWidth / 2\n } A ${borderRadius} ${borderRadius} 0 0 1 ${width - strokeWidth / 2} ${borderRadius} Z`;\n}\n\nfunction getPerimeter({\n width,\n height,\n borderRadius = DEFAULT_BORDER_RADIUS\n}: {\n width: number;\n height: number;\n borderRadius?: number;\n}) {\n const straightWidth = width - 2 * borderRadius;\n const straightHeight = height - 2 * borderRadius;\n const cornerCircumference = 2 * Math.PI * borderRadius;\n return cornerCircumference + 2 * straightWidth + 2 * straightHeight;\n}\n"],"names":["DEFAULT_BORDER_RADIUS","DEFAULT_STROKE_WIDTH","LabelCelebrationAnimation","_ref","children","onAnimationEnd","wrapperRef","useRef","childRef","_useState","useState","_useState2","_slicedToArray","path","setPath","resizeObserverCallback","useCallback","_ref2","_ref3","borderBoxSize","height","blockSize","width","inlineSize","current","d","_ref4","_ref4$borderRadius","borderRadius","_ref4$strokeWidth","strokeWidth","offset","concat","getPath","perimeter","_ref5","_ref5$borderRadius","straightWidth","straightHeight","Math","PI","getPerimeter","style","setProperty","String","useResizeObserver","ref","callback","debounceTime","ChildComponentWithRef","forwardRef","_props","cloneElement","React","createElement","className","styles","celebration","svg","cx","stroke","base","first","second","third"],"mappings":"sTAKA,IAAMA,EAAwB,EACxBC,EAAuB,EAa7B,SAASC,EAAyBC,GAA6D,IAA1DC,EAAQD,EAARC,SAAUC,EAAcF,EAAdE,eACvCC,EAAaC,IACbC,EAAWD,IAEjBE,EAAwBC,IAAkBC,EAAAC,EAAAH,EAAA,GAAnCI,EAAIF,EAAA,GAAEG,EAAOH,EAAA,GAEdI,EAAyBC,GAC7B,SAAAC,GAAoF,IAClFC,EADcD,EAAbE,eACiE,CAAE,EAAjDC,EAAMF,EAAjBG,UAA+BC,EAAKJ,EAAjBK,WAE3B,GAAIjB,EAAWkB,QAAS,CACtB,IAAMC,EAqCd,SAAgBC,GAUf,IATCJ,EAAKI,EAALJ,MACAF,EAAMM,EAANN,OAAMO,EAAAD,EACNE,aAAAA,OAAe5B,IAAH2B,EAAG3B,EAAqB2B,EAAAE,EAAAH,EACpCI,YAAAA,OAAc7B,IAAH4B,EAAG5B,EAAoB4B,EAO5BE,EAASD,EAAc,EAE7B,MAAAE,KAAAA,OAAYV,EAAQQ,EAAc,EAACE,MAAAA,OAAKJ,EAAYI,OAAAA,OAClDZ,EAASQ,EACXI,OAAAA,OAAMJ,EAAYI,KAAAA,OAAIJ,EAAYI,WAAAA,OAAUV,EAAQM,EAAY,KAAAI,OAAIZ,EAASU,EAAc,EAAC,OAAAE,OAC1FJ,EAAeG,EACjB,OAAAC,OAAMJ,EAAY,KAAAI,OAAIJ,EAAY,WAAAI,OAAUF,EAAc,EAAC,KAAAE,OAAIZ,EAASQ,EAAYI,OAAAA,OAClFJ,EAAeG,EACjBC,OAAAA,OAAMJ,EAAYI,KAAAA,OAAIJ,EAAYI,WAAAA,OAAUJ,EAAYI,KAAAA,OAAIF,EAAc,EAACE,OAAAA,OAAMV,EAAQM,EAAY,MAAAI,OACnGF,EAAc,EAChB,OAAAE,OAAMJ,EAAY,KAAAI,OAAIJ,EAAY,WAAAI,OAAUV,EAAQQ,EAAc,EAAC,KAAAE,OAAIJ,EAAY,KACrF,CA3DkBK,CAAQ,CAAEX,MAAAA,EAAOF,OAAAA,IAC3BN,EAAQW,GAER,IAAMS,EA0Dd,SAAqBC,GAQpB,IAPCb,EAAKa,EAALb,MACAF,EAAMe,EAANf,OAAMgB,EAAAD,EACNP,aAAAA,OAAe5B,IAAHoC,EAAGpC,EAAqBoC,EAM9BC,EAAgBf,EAAQ,EAAIM,EAC5BU,EAAiBlB,EAAS,EAAIQ,EAEpC,OAD4B,EAAIW,KAAKC,GAAKZ,EACb,EAAIS,EAAgB,EAAIC,CACvD,CAvE0BG,CAAa,CAAEnB,MAAAA,EAAOF,OAAAA,IACxCd,EAAWkB,QAAQkB,MAAMC,YAAY,wBAAgCT,EAAPU,GAChE,CACD,GACD,IAGFC,EAAkB,CAChBC,IAAKxC,EACLyC,SAAUhC,EACViC,aAAc,IAGhB,IAAMC,EAAwBC,GAAW,SAACC,EAAQL,GAAG,OACnDM,EAAahD,EAAU,CACrB0C,IAAAA,OAIJ,OACEO,EAAKC,cAAA,MAAA,CAAAC,UAAWC,EAAOC,YAAaX,IAAKxC,GACvC+C,EAAAC,cAAA,MAAA,CAAKC,UAAWC,EAAOE,KACrBL,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOK,MAAOpC,EAAGZ,IACpDwC,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOM,OAAQrC,EAAGZ,IACrDwC,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOO,QAAStC,EAAGZ,IACtDwC,EAAMC,cAAA,OAAA,CAAAC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOQ,OAAQvC,EAAGZ,EAAMR,eAAgBA,KAE7EgD,EAACC,cAAAL,GAAsBH,IAAKtC,IAGlC"}
@@ -1,2 +0,0 @@
1
- var n={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(n){const e="s_id-f81803454b25_4_5_6";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)}(".celebration {\n --container-perimeter: 840;\n position: relative;\n}\n.celebration .svg {\n position: absolute;\n top: 0;\n inset-inline-start: 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{n as default};
2
- //# sourceMappingURL=LabelCelebrationAnimation.module.scss.js.map
@@ -1,2 +0,0 @@
1
- var t={small:"text3",medium:"text2"};export{t as mapSizesToTextSize};
2
- //# sourceMappingURL=LabelConstants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LabelConstants.js","sources":["../../../../../src/components/Label/LabelConstants.ts"],"sourcesContent":["import { type TextType } from \"@vibe/typography\";\nimport { type LabelSizes } from \"./Label.types\";\n\nexport const mapSizesToTextSize: Record<LabelSizes, TextType> = {\n small: \"text3\",\n medium: \"text2\"\n};\n"],"names":["mapSizesToTextSize","small","medium"],"mappings":"AAGO,IAAMA,EAAmD,CAC9DC,MAAO,QACPC,OAAQ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Leg.js","sources":["../../../../../src/components/Label/Leg.tsx"],"sourcesContent":["import React from \"react\";\n\nconst Leg = () => (\n <svg width=\"8\" height=\"5\" viewBox=\"0 0 8 5\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M0 0V2.76772C0 4.21783 1.77351 4.92116 2.76736 3.86519L5.45681 1.00765C6.06097 0.365738 6.90294 0.00127805 7.7843 3.35493e-06C5.30942 2.53165e-06 2.69058 1.4328e-06 0 0Z\"\n fill=\"#E44258\"\n />\n </svg>\n);\n\nLeg.displayName = \"Leg\";\n\nexport default Leg;\n"],"names":["Leg","React","createElement","width","height","viewBox","fill","xmlns","d","displayName"],"mappings":"qBAEA,IAAMA,EAAM,WAAH,OACPC,EAAKC,cAAA,MAAA,CAAAC,MAAM,IAAIC,OAAO,IAAIC,QAAQ,UAAUC,KAAK,OAAOC,MAAM,8BAC5DN,EACEC,cAAA,OAAA,CAAAM,EAAE,4KACFF,KAAK,YAEH,EAGRN,EAAIS,YAAc"}
@@ -1,2 +0,0 @@
1
- import{defineProperty as e}from"../../../_virtual/_rollupPluginBabelHelpers.js";import{getTestId as i,ComponentDefaultTestId as t}from"../../tests/testIds.js";import r from"classnames";import o,{forwardRef as a,useCallback as s}from"react";import{getStyle as l,NOOP as n}from"@vibe/shared";import{Icon as d}from"@vibe/icon/mockedClassNames";import m from"./Link.module.scss.js";import{camelCase as c}from"es-toolkit";import{ComponentVibeId as v}from"../../tests/constants.js";var f=a((function(a,d){var f=a.className,b=a.textClassName,u=a.href,y=void 0===u?"":u,N=a.text,k=void 0===N?"":N,x=a.rel,h=void 0===x?"noreferrer":x,g=a.onClick,j=void 0===g?n:g,C=a.target,E=void 0===C?"_blank":C,I=a["aria-label"],L=void 0===I?"":I,P=a.color,S=void 0===P?"primary":P,_=a["aria-describedby"],z=void 0===_?"":_,F=a.icon,K=void 0===F?"":F,T=a.iconPosition,B=a.id,D=void 0===B?"":B,H=a["aria-labelledby"],q=void 0===H?"":H,w=a.disableNavigation,A=void 0!==w&&w,G=a.inheritFontSize,J=void 0!==G&&G,M=a.inlineText,O=void 0!==M&&M,Q=a.style,R=a["data-testid"],U="start"===(void 0===T?"start":T),V=s((function(e){A&&e.preventDefault(),j&&j(e)}),[A,j]);return o.createElement("a",{"data-testid":R||i(t.LINK,D),"data-vibe":v.LINK,id:D,href:y,rel:h,ref:d,onClick:V,target:E,style:Q,className:r(m.link,f,l(m,c("color-"+S)),e(e({},m.inheritFontSize,J),m.inlineText,O)),"aria-label":L,"aria-describedby":z,"aria-labelledby":q},p(U,K,r(m.iconStart)),o.createElement("span",{className:r(m.text,b)},k),p(!U,K,r(m.iconEnd)))}));function p(e,i,t){if(e)return o.createElement(d,{className:t,icon:i,type:"font"})}export{f as default};
2
- //# sourceMappingURL=Link.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Link.js","sources":["../../../../../src/components/Link/Link.tsx"],"sourcesContent":["import { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport cx from \"classnames\";\nimport React, { forwardRef, useCallback } from \"react\";\nimport { NOOP, getStyle } from \"@vibe/shared\";\nimport { Icon, type SubIcon } from \"@vibe/icon\";\nimport { type LinkColor, type LinkIconPosition, type LinkTarget } from \"./Link.types\";\nimport { type VibeComponentProps } from \"../../types\";\nimport styles from \"./Link.module.scss\";\n\nimport { camelCase } from \"es-toolkit\";\nimport { ComponentVibeId } from \"../../tests/constants\";\n\nexport interface LinkProps extends VibeComponentProps {\n /**\n * Class name applied to the link text.\n */\n textClassName?: string;\n /**\n * The URL the link points to.\n */\n href?: string;\n /**\n * The text content of the link.\n */\n text?: string;\n /**\n * Specifies the relationship between the current document and the linked resource.\n */\n rel?: string;\n /**\n * Callback fired when the link is clicked.\n */\n onClick?: (event: React.MouseEvent) => void;\n /**\n * Specifies where to open the linked document.\n */\n target?: LinkTarget;\n /**\n * The ARIA label for accessibility.\n */\n \"aria-label\"?: string;\n /**\n * The ID of the element that describes this link.\n */\n \"aria-describedby\"?: string;\n /**\n * The ID of the element labeling this link.\n */\n \"aria-labelledby\"?: string;\n /**\n * Icon displayed next to the link text.\n */\n icon?: SubIcon;\n /**\n * The position of the icon relative to the text.\n */\n iconPosition?: LinkIconPosition;\n /**\n * If true, disables navigation when the link is clicked.\n */\n disableNavigation?: boolean;\n /**\n * If true, the link inherits the surrounding text's font size.\n */\n inheritFontSize?: boolean;\n /**\n * If true, the link is styled to fit within inline text content.\n */\n inlineText?: boolean;\n /** The link's color style */\n color?: LinkColor;\n /**\n * Inline style object applied to the link element.\n */\n style?: React.CSSProperties;\n}\n\nconst Link = forwardRef(\n (\n {\n className,\n textClassName,\n href = \"\",\n text = \"\",\n rel = \"noreferrer\",\n onClick = NOOP,\n target = \"_blank\",\n \"aria-label\": ariaLabel = \"\",\n color = \"primary\",\n \"aria-describedby\": ariaDescribedby = \"\",\n icon = \"\",\n iconPosition = \"start\",\n id = \"\",\n \"aria-labelledby\": ariaLabelledBy = \"\",\n disableNavigation = false,\n inheritFontSize = false,\n inlineText = false,\n style,\n \"data-testid\": dataTestId\n }: LinkProps,\n ref: React.ForwardedRef<HTMLAnchorElement>\n ) => {\n const isStart = iconPosition === \"start\";\n\n const onClickWrapper = useCallback(\n (e: React.MouseEvent<HTMLElement>) => {\n if (disableNavigation) {\n e.preventDefault();\n }\n onClick && onClick(e);\n },\n [disableNavigation, onClick]\n );\n\n return (\n <a\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.LINK, id)}\n data-vibe={ComponentVibeId.LINK}\n id={id}\n href={href}\n rel={rel}\n ref={ref}\n onClick={onClickWrapper}\n target={target}\n style={style}\n className={cx(styles.link, className, getStyle(styles, camelCase(\"color-\" + color)), {\n [styles.inheritFontSize]: inheritFontSize,\n [styles.inlineText]: inlineText\n })}\n aria-label={ariaLabel}\n aria-describedby={ariaDescribedby}\n aria-labelledby={ariaLabelledBy}\n >\n {getIcon(isStart, icon, cx(styles.iconStart))}\n <span className={cx(styles.text, textClassName)}>{text}</span>\n {getIcon(!isStart, icon, cx(styles.iconEnd))}\n </a>\n );\n }\n);\n\nfunction getIcon(shouldShow: boolean, icon: string | React.FunctionComponent | null, className: string) {\n if (!shouldShow) return;\n return <Icon className={className} icon={icon} type=\"font\" />;\n}\n\nexport default Link;\n"],"names":["Link","forwardRef","_ref","ref","className","textClassName","_ref$href","href","_ref$text","text","_ref$rel","rel","_ref$onClick","onClick","NOOP","_ref$target","target","_ref$ariaLabel","ariaLabel","_ref$color","color","_ref$ariaDescribedby","ariaDescribedby","_ref$icon","icon","_ref$iconPosition","iconPosition","_ref$id","id","_ref$ariaLabelledby","ariaLabelledBy","_ref$disableNavigatio","disableNavigation","_ref$inheritFontSize","inheritFontSize","_ref$inlineText","inlineText","style","dataTestId","isStart","onClickWrapper","useCallback","e","preventDefault","React","createElement","getTestId","ComponentDefaultTestId","LINK","ComponentVibeId","cx","styles","link","getStyle","camelCase","_defineProperty","getIcon","iconStart","iconEnd","shouldShow","Icon","type"],"mappings":"4dA6EMA,IAAAA,EAAOC,GACX,SAAAC,EAsBEC,GACE,IArBAC,EAASF,EAATE,UACAC,EAAaH,EAAbG,cAAaC,EAAAJ,EACbK,KAAAA,OAAO,IAAHD,EAAG,GAAEA,EAAAE,EAAAN,EACTO,KAAAA,OAAO,IAAHD,EAAG,GAAEA,EAAAE,EAAAR,EACTS,IAAAA,OAAM,IAAHD,EAAG,aAAYA,EAAAE,EAAAV,EAClBW,QAAAA,OAAUC,IAAHF,EAAGE,EAAIF,EAAAG,EAAAb,EACdc,OAAAA,OAAS,IAAHD,EAAG,SAAQA,EAAAE,EAAAf,EACjB,cAAcgB,OAAY,IAAHD,EAAG,GAAEA,EAAAE,EAAAjB,EAC5BkB,MAAAA,OAAQ,IAAHD,EAAG,UAASA,EAAAE,EAAAnB,EACjB,oBAAoBoB,OAAkB,IAAHD,EAAG,GAAEA,EAAAE,EAAArB,EACxCsB,KAAAA,OAAO,IAAHD,EAAG,GAAEA,EAAAE,EAAAvB,EACTwB,aAAsBC,EAAAzB,EACtB0B,GAAAA,OAAK,IAAHD,EAAG,GAAEA,EAAAE,EAAA3B,EACP,mBAAmB4B,OAAiB,IAAHD,EAAG,GAAEA,EAAAE,EAAA7B,EACtC8B,kBAAAA,OAAoB,IAAHD,GAAQA,EAAAE,EAAA/B,EACzBgC,gBAAAA,OAAkB,IAAHD,GAAQA,EAAAE,EAAAjC,EACvBkC,WAAAA,OAAa,IAAHD,GAAQA,EAClBE,EAAKnC,EAALmC,MACeC,EAAUpC,EAAzB,eAIIqC,EAA2B,gBAXhB,IAAHd,EAAG,QAAOA,GAalBe,EAAiBC,GACrB,SAACC,GACKV,GACFU,EAAEC,iBAEJ9B,GAAWA,EAAQ6B,EACrB,GACA,CAACV,EAAmBnB,IAGtB,OACE+B,EAAAC,cAAA,IAAA,CAAA,cACeP,GAAcQ,EAAUC,EAAuBC,KAAMpB,eACvDqB,EAAgBD,KAC3BpB,GAAIA,EACJrB,KAAMA,EACNI,IAAKA,EACLR,IAAKA,EACLU,QAAS2B,EACTxB,OAAQA,EACRqB,MAAOA,EACPjC,UAAW8C,EAAGC,EAAOC,KAAMhD,EAAWiD,EAASF,EAAQG,EAAU,SAAWlC,IAAOmC,EAAAA,EAAA,CAAA,EAChFJ,EAAOjB,gBAAkBA,GACzBiB,EAAOf,WAAaA,IAEX,aAAAlB,EACM,mBAAAI,oBACDQ,GAEhB0B,EAAQjB,EAASf,EAAM0B,EAAGC,EAAOM,YAClCb,EAAAC,cAAA,OAAA,CAAMzC,UAAW8C,EAAGC,EAAO1C,KAAMJ,IAAiBI,GACjD+C,GAASjB,EAASf,EAAM0B,EAAGC,EAAOO,UAGzC,IAGF,SAASF,EAAQG,EAAqBnC,EAA+CpB,GACnF,GAAKuD,EACL,OAAOf,EAACC,cAAAe,EAAK,CAAAxD,UAAWA,EAAWoB,KAAMA,EAAMqC,KAAK,QACtD"}
@@ -1,2 +0,0 @@
1
- var n={link:"link","focus-visible":"focus-visible",colorOnPrimary:"colorOnPrimary",colorOnInverted:"colorOnInverted",text:"text",inlineText:"inlineText",inheritFontSize:"inheritFontSize",iconStart:"iconStart",iconEnd:"iconEnd"};!function(n){const e="s_id-c2cddf2190ae_4_5_6";if("undefined"!=typeof document){const i=document.head||document.getElementsByTagName("head")[0];if(i.querySelector("#"+e))return;const t=document.createElement("style");t.id=e,i.firstChild?i.insertBefore(t,i.firstChild):i.appendChild(t),t.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n.link {\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.colorOnPrimary {\n color: var(--text-color-on-primary);\n}\n.link.colorOnInverted {\n color: var(--text-color-on-inverted);\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-inline-end: var(--space-4);\n}\n.iconEnd {\n line-height: 24px;\n margin-inline-start: var(--space-4);\n}");export{n as default};
2
- //# sourceMappingURL=Link.module.scss.js.map
@@ -1,2 +0,0 @@
1
- import{slicedToArray as e,defineProperty as t}from"../../../_virtual/_rollupPluginBabelHelpers.js";import{camelCase as r}from"es-toolkit";import o from"classnames";import{getTestId as a,ComponentDefaultTestId as s}from"../../tests/testIds.js";import l,{forwardRef as i,useRef as n,useState as m,useMemo as c,useCallback as p,useEffect as d}from"react";import u from"./Leg.js";import{contentColors as f}from"../../utils/colors-vars-map.js";import b from"./Label.module.scss.js";import v from"./LabelCelebrationAnimation.js";import{mapSizesToTextSize as j}from"./LabelConstants.js";import{ComponentVibeId as k}from"../../tests/constants.js";import y from"../../../components/clickable/dist/useClickableProps/useClickableProps.js";import L from"../../../components/typography/dist/Text/Text.js";import{useMergeRef as g}from"../../../shared/dist/hooks/useMergeRef.js";import{getStyle as C}from"../../../shared/dist/utils/typesciptCssModulesHelper.js";var E=i((function(i,E){var h=i.className,x=i.labelClassName,A=i.kind,N=void 0===A?"fill":A,P=i.color,T=void 0===P?"primary":P,B=i.text,I=void 0===B?"":B,H=i.isLegIncluded,M=void 0!==H&&H,W=i.id,_=i["data-testid"],w=i.onClick,z=i.celebrationAnimation,D=i.size,O=void 0===D?"medium":D,R=n(null),q=g(E,R),F=m(z),G=e(F,2),J=G[0],K=G[1],Q=!!w,S=c((function(){return o(b.label,C(b,r("kind-"+N)),C(b,r("color-"+T)),t(t(t({},b.withLeg,M),b.clickable,Q),b.small,"small"===O),x)}),[N,T,M,x,Q,O]),U=c((function(){if(f.includes(T))return"line"===N?{color:"var(--color-".concat(T,")")}:{backgroundColor:"var(--color-".concat(T,")")}}),[T,N]),V=p((function(e){w&&(e.preventDefault(),w(e))}),[w]),X=y({onClick:V,id:W,"aria-hidden":!1,"aria-haspopup":!1,"aria-expanded":!1},R);d((function(){K(z)}),[z]);var Y=c((function(){return l.createElement("span",Object.assign({},Q&&X,{className:o(t({},b.clickableWrapper,Q),h),"data-testid":_||a(s.LABEL,W),"data-vibe":k.LABEL,ref:q}),l.createElement(L,{style:U,element:"span",type:j[O],className:S,color:"dark"===T?"onInverted":"onPrimary","data-celebration-text":J},l.createElement(L,{element:"span",type:j[O],color:"inherit",className:o(t({},b.smallText,"small"===O))},I),l.createElement("span",{className:o(b.legWrapper)},M?l.createElement(u,null):null)))}),[Q,X,h,_,W,q,S,J,I,M,O,U,T]);return J&&"line"===N?l.createElement(v,{onAnimationEnd:function(){return K(!1)}},Y):Y}));export{E as default};
2
- //# sourceMappingURL=Label.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Label.js","sources":["../../../../src/components/Label/Label.tsx"],"sourcesContent":["import { camelCase } from \"es-toolkit\";\nimport cx from \"classnames\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport { getStyle, useMergeRef } from \"@vibe/shared\";\nimport React, { forwardRef, useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { Text } from \"@vibe/typography\";\nimport Leg from \"./Leg\";\nimport { type LabelColor, type LabelKind, type ContentColor } from \"./Label.types\";\nimport { contentColors } from \"../../utils/colors-vars-map\";\nimport { type VibeComponentProps } from \"../../types\";\nimport { useClickableProps } from \"@vibe/clickable\";\n\nimport styles from \"./Label.module.scss\";\nimport LabelCelebrationAnimation from \"./LabelCelebrationAnimation\";\nimport { type LabelSizes } from \"./Label.types\";\nimport { mapSizesToTextSize } from \"./LabelConstants\";\nimport { ComponentVibeId } from \"../../tests/constants\";\n\nexport interface LabelProps extends VibeComponentProps {\n /**\n * Class name applied to the inner text wrapper.\n */\n labelClassName?: string;\n /**\n * The visual style of the label.\n */\n kind?: LabelKind;\n /**\n * The background color of the label.\n */\n color?: LabelColor;\n /**\n * The text content of the label.\n */\n text?: string;\n /**\n * If true, includes a leg (decorative extension).\n */\n isLegIncluded?: boolean;\n /**\n * Callback fired when the label is clicked.\n */\n onClick?: (event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;\n /**\n * If true, triggers a celebration animation.\n */\n celebrationAnimation?: boolean;\n /**\n * The size of the label.\n */\n size?: LabelSizes;\n}\n\nconst Label = forwardRef<HTMLElement, LabelProps>(\n (\n {\n className,\n labelClassName,\n kind = \"fill\",\n color = \"primary\",\n text = \"\",\n isLegIncluded = false,\n id,\n \"data-testid\": dataTestId,\n onClick,\n celebrationAnimation,\n size = \"medium\"\n }: LabelProps,\n ref\n ) => {\n const labelRef = useRef<HTMLSpanElement>(null);\n const mergedRef = useMergeRef(ref, labelRef);\n const [isCelebrationAnimation, setIsCelebrationAnimation] = useState(celebrationAnimation);\n\n const isClickable = Boolean(onClick);\n\n const classNames = useMemo(\n () =>\n cx(\n styles.label,\n getStyle(styles, camelCase(\"kind\" + \"-\" + kind)),\n getStyle(styles, camelCase(\"color\" + \"-\" + color)),\n {\n [styles.withLeg]: isLegIncluded,\n [styles.clickable]: isClickable,\n [styles.small]: size === \"small\"\n },\n labelClassName\n ),\n [kind, color, isLegIncluded, labelClassName, isClickable, size]\n );\n\n const backgroundColorStyle = useMemo(() => {\n if (contentColors.includes(color as ContentColor)) {\n if (kind === \"line\") {\n return { color: `var(--color-${color})` };\n }\n return { backgroundColor: `var(--color-${color})` };\n }\n }, [color, kind]);\n\n const onClickCallback = useCallback(\n (event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => {\n if (onClick) {\n event.preventDefault();\n onClick(event);\n }\n },\n [onClick]\n );\n\n const clickableProps = useClickableProps(\n {\n onClick: onClickCallback,\n id,\n \"aria-hidden\": false,\n \"aria-haspopup\": false,\n \"aria-expanded\": false\n },\n labelRef\n );\n\n useEffect(() => {\n setIsCelebrationAnimation(celebrationAnimation);\n }, [celebrationAnimation]);\n\n const label = useMemo(() => {\n return (\n <span\n {...(isClickable && clickableProps)}\n className={cx({ [styles.clickableWrapper]: isClickable }, className)}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.LABEL, id)}\n data-vibe={ComponentVibeId.LABEL}\n ref={mergedRef}\n >\n <Text\n style={backgroundColorStyle}\n element=\"span\"\n type={mapSizesToTextSize[size]}\n className={classNames}\n color={color === \"dark\" ? \"onInverted\" : \"onPrimary\"}\n data-celebration-text={isCelebrationAnimation}\n >\n <Text\n element=\"span\"\n type={mapSizesToTextSize[size]}\n color=\"inherit\"\n className={cx({ [styles.smallText]: size === \"small\" })}\n >\n {text}\n </Text>\n <span className={cx(styles.legWrapper)}>{isLegIncluded ? <Leg /> : null}</span>\n </Text>\n </span>\n );\n }, [\n isClickable,\n clickableProps,\n className,\n dataTestId,\n id,\n mergedRef,\n classNames,\n isCelebrationAnimation,\n text,\n isLegIncluded,\n size,\n backgroundColorStyle,\n color\n ]);\n\n // Celebration animation is applied only for line kind\n if (isCelebrationAnimation && kind === \"line\") {\n return (\n <LabelCelebrationAnimation onAnimationEnd={() => setIsCelebrationAnimation(false)}>\n {label}\n </LabelCelebrationAnimation>\n );\n }\n\n return label;\n }\n);\n\nexport default Label;\n"],"names":["Label","forwardRef","_ref","ref","className","labelClassName","_ref$kind","kind","_ref$color","color","_ref$text","text","_ref$isLegIncluded","isLegIncluded","id","dataTestId","onClick","celebrationAnimation","_ref$size","size","labelRef","useRef","mergedRef","useMergeRef","_useState","useState","_useState2","_slicedToArray","isCelebrationAnimation","setIsCelebrationAnimation","isClickable","classNames","useMemo","cx","styles","label","getStyle","camelCase","_defineProperty","withLeg","clickable","small","backgroundColorStyle","contentColors","includes","concat","backgroundColor","onClickCallback","useCallback","event","preventDefault","clickableProps","useClickableProps","useEffect","React","createElement","Object","assign","clickableWrapper","getTestId","ComponentDefaultTestId","LABEL","ComponentVibeId","Text","style","element","type","mapSizesToTextSize","smallText","legWrapper","Leg","LabelCelebrationAnimation","onAnimationEnd"],"mappings":"m7BAqDMA,IAAAA,EAAQC,GACZ,SAAAC,EAcEC,GACE,IAbAC,EAASF,EAATE,UACAC,EAAcH,EAAdG,eAAcC,EAAAJ,EACdK,KAAAA,OAAO,IAAHD,EAAG,OAAMA,EAAAE,EAAAN,EACbO,MAAAA,OAAQ,IAAHD,EAAG,UAASA,EAAAE,EAAAR,EACjBS,KAAAA,OAAO,IAAHD,EAAG,GAAEA,EAAAE,EAAAV,EACTW,cAAAA,OAAgB,IAAHD,GAAQA,EACrBE,EAAEZ,EAAFY,GACeC,EAAUb,EAAzB,eACAc,EAAOd,EAAPc,QACAC,EAAoBf,EAApBe,qBAAoBC,EAAAhB,EACpBiB,KAAAA,OAAO,IAAHD,EAAG,SAAQA,EAIXE,EAAWC,EAAwB,MACnCC,EAAYC,EAAYpB,EAAKiB,GACnCI,EAA4DC,EAASR,GAAqBS,EAAAC,EAAAH,EAAA,GAAnFI,EAAsBF,EAAA,GAAEG,EAAyBH,EAAA,GAElDI,IAAsBd,EAEtBe,EAAaC,GACjB,WAAA,OACEC,EACEC,EAAOC,MACPC,EAASF,EAAQG,EAAU,QAAe9B,IAC1C6B,EAASF,EAAQG,EAAU,SAAgB5B,IAAO6B,EAAAA,EAAAA,EAAA,CAAA,EAE/CJ,EAAOK,QAAU1B,GACjBqB,EAAOM,UAAYV,GACnBI,EAAOO,MAAiB,UAATtB,GAElBd,EACD,GACH,CAACE,EAAME,EAAOI,EAAeR,EAAgByB,EAAaX,IAGtDuB,EAAuBV,GAAQ,WACnC,GAAIW,EAAcC,SAASnC,GACzB,MAAa,SAATF,EACK,CAAEE,MAAK,eAAAoC,OAAiBpC,EAAK,MAE/B,CAAEqC,gBAAe,eAAAD,OAAiBpC,EAAK,KAElD,GAAG,CAACA,EAAOF,IAELwC,EAAkBC,GACtB,SAACC,GACKjC,IACFiC,EAAMC,iBACNlC,EAAQiC,GAEZ,GACA,CAACjC,IAGGmC,EAAiBC,EACrB,CACEpC,QAAS+B,EACTjC,GAAAA,EACA,eAAe,EACf,iBAAiB,EACjB,iBAAiB,GAEnBM,GAGFiC,GAAU,WACRxB,EAA0BZ,EAC5B,GAAG,CAACA,IAEJ,IAAMkB,EAAQH,GAAQ,WACpB,OACEsB,EACMC,cAAA,OAAAC,OAAAC,OAAA,CAAA,EAAC3B,GAAeqB,EACpB,CAAA/C,UAAW6B,EAAEK,EAAIJ,CAAAA,EAAAA,EAAOwB,iBAAmB5B,GAAe1B,GAC7C,cAAAW,GAAc4C,EAAUC,EAAuBC,MAAO/C,eACxDgD,EAAgBD,MAC3B1D,IAAKmB,IAELgC,EAAAC,cAACQ,EAAI,CACHC,MAAOtB,EACPuB,QAAQ,OACRC,KAAMC,EAAmBhD,GACzBf,UAAW2B,EACXtB,MAAiB,SAAVA,EAAmB,aAAe,oCAClBmB,GAEvB0B,EAAAC,cAACQ,EAAI,CACHE,QAAQ,OACRC,KAAMC,EAAmBhD,GACzBV,MAAM,UACNL,UAAW6B,EAAEK,EAAIJ,CAAAA,EAAAA,EAAOkC,UAAqB,UAATjD,KAEnCR,GAEH2C,EAAMC,cAAA,OAAA,CAAAnD,UAAW6B,EAAGC,EAAOmC,aAAcxD,EAAgByC,EAACC,cAAAe,EAAM,MAAG,OAI3E,GAAG,CACDxC,EACAqB,EACA/C,EACAW,EACAD,EACAQ,EACAS,EACAH,EACAjB,EACAE,EACAM,EACAuB,EACAjC,IAIF,OAAImB,GAAmC,SAATrB,EAE1B+C,EAACC,cAAAgB,EAA0B,CAAAC,eAAgB,WAAA,OAAM3C,GAA0B,EAAM,GAC9EM,GAKAA,CACT"}
@@ -1,2 +0,0 @@
1
- var e={clickableWrapper:"clickableWrapper_a9dcc0ec25","focus-visible":"focus-visible_d69fe82fdd",label:"label_c82647d3b2",small:"small_f2c8731427",withLeg:"withLeg_58e7926add",legWrapper:"legWrapper_90f9dcca2d",kindFill:"kindFill_7b61b84bc5",colorPrimary:"colorPrimary_71a62b1118",clickable:"clickable_c7f153cc19",colorDark:"colorDark_acfdef19a6",colorNegative:"colorNegative_0a2f92038b",colorPositive:"colorPositive_7e0c864a74",kindLine:"kindLine_33da7f59e1",smallText:"smallText_6890bf2915"};!function(e){const c="s_id-05b0d3f05a05_4_5_6";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+c))return;const a=document.createElement("style");a.id=c,n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a),a.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[c]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n.clickableWrapper_a9dcc0ec25 {\n cursor: pointer;\n}\n.clickableWrapper_a9dcc0ec25:focus-visible, .clickableWrapper_a9dcc0ec25.focus-visible_d69fe82fdd {\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_a9dcc0ec25:focus:not(.focus-visible_d69fe82fdd) {\n outline: none;\n}\n.clickableWrapper_a9dcc0ec25:active {\n transform: scale(0.95) translate3d(0, 0, 0);\n transition: var(--motion-productive-short) transform;\n}\n.label_c82647d3b2 {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--border-radius-small);\n padding: 2px var(--space-8);\n position: relative;\n}\n.label_c82647d3b2.small_f2c8731427 {\n padding: 0 var(--space-4);\n border-radius: 2px;\n}\n.withLeg_58e7926add {\n border-start-start-radius: var(--border-radius-small);\n border-start-end-radius: var(--border-radius-small);\n border-end-end-radius: var(--border-radius-small);\n border-end-start-radius: 0;\n}\n.legWrapper_90f9dcca2d {\n position: absolute;\n height: 8px;\n top: 100%;\n inset-inline-start: 0;\n display: inline-flex;\n}\n.kindFill_7b61b84bc5.colorPrimary_71a62b1118 {\n background-color: var(--primary-color);\n}\n.kindFill_7b61b84bc5.colorPrimary_71a62b1118 svg path {\n fill: var(--primary-color);\n}\n.kindFill_7b61b84bc5.colorPrimary_71a62b1118.clickable_c7f153cc19:hover, .kindFill_7b61b84bc5.colorPrimary_71a62b1118.clickable_c7f153cc19:active {\n background-color: var(--primary-hover-color);\n}\n.kindFill_7b61b84bc5.colorDark_acfdef19a6 {\n background-color: var(--inverted-color-background);\n}\n.kindFill_7b61b84bc5.colorDark_acfdef19a6 svg path {\n fill: var(--inverted-color-background);\n}\n.kindFill_7b61b84bc5.colorNegative_0a2f92038b {\n background-color: var(--negative-color);\n}\n.kindFill_7b61b84bc5.colorNegative_0a2f92038b svg path {\n fill: var(--negative-color);\n}\n.kindFill_7b61b84bc5.colorNegative_0a2f92038b.clickable_c7f153cc19:hover, .kindFill_7b61b84bc5.colorNegative_0a2f92038b.clickable_c7f153cc19:active {\n background-color: var(--negative-color-hover);\n}\n.kindFill_7b61b84bc5.colorPositive_7e0c864a74 {\n background-color: var(--positive-color);\n}\n.kindFill_7b61b84bc5.colorPositive_7e0c864a74 svg path {\n fill: var(--positive-color);\n}\n.kindFill_7b61b84bc5.colorPositive_7e0c864a74.clickable_c7f153cc19:hover, .kindFill_7b61b84bc5.colorPositive_7e0c864a74.clickable_c7f153cc19:active {\n background-color: var(--positive-color-hover);\n}\n.kindLine_33da7f59e1 {\n border: 1px solid currentColor;\n padding: 1px var(--space-8);\n}\n.kindLine_33da7f59e1 .legWrapper_90f9dcca2d {\n inset-inline-start: -1px;\n top: calc(100% + 1px);\n}\n.kindLine_33da7f59e1.colorPrimary_71a62b1118 {\n color: var(--primary-color);\n}\n.kindLine_33da7f59e1.colorPrimary_71a62b1118 svg path {\n fill: var(--primary-color);\n}\n.kindLine_33da7f59e1.colorPrimary_71a62b1118.clickable_c7f153cc19:hover, .kindLine_33da7f59e1.colorPrimary_71a62b1118.clickable_c7f153cc19:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine_33da7f59e1.colorDark_acfdef19a6 {\n color: var(--inverted-color-background);\n}\n.kindLine_33da7f59e1.colorDark_acfdef19a6 svg path {\n fill: var(--inverted-color-background);\n}\n.kindLine_33da7f59e1.colorDark_acfdef19a6.clickable_c7f153cc19:hover, .kindLine_33da7f59e1.colorDark_acfdef19a6.clickable_c7f153cc19:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine_33da7f59e1.colorNegative_0a2f92038b {\n color: var(--negative-color);\n}\n.kindLine_33da7f59e1.colorNegative_0a2f92038b svg path {\n fill: var(--negative-color);\n}\n.kindLine_33da7f59e1.colorNegative_0a2f92038b.clickable_c7f153cc19:hover, .kindLine_33da7f59e1.colorNegative_0a2f92038b.clickable_c7f153cc19:active {\n background-color: var(--negative-color-selected);\n}\n.kindLine_33da7f59e1.colorPositive_7e0c864a74 {\n color: var(--positive-color);\n}\n.kindLine_33da7f59e1.colorPositive_7e0c864a74 svg path {\n fill: var(--positive-color);\n}\n.kindLine_33da7f59e1.colorPositive_7e0c864a74.clickable_c7f153cc19:hover, .kindLine_33da7f59e1.colorPositive_7e0c864a74.clickable_c7f153cc19:active {\n background-color: var(--positive-color-selected);\n}\n.kindLine_33da7f59e1 .smallText_6890bf2915 {\n line-height: 14px;\n}");export{e as default};
2
- //# sourceMappingURL=Label.module.scss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Label.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{slicedToArray as e}from"../../../_virtual/_rollupPluginBabelHelpers.js";import t,{useRef as c,useState as a,useCallback as r,forwardRef as n,cloneElement as o}from"react";import i from"classnames";import s from"./LabelCelebrationAnimation.module.scss.js";import l from"../../../hooks/dist/useResizeObserver/index.js";var m=4,d=1;function h(h){var u=h.children,f=h.onAnimationEnd,v=c(),p=c(),b=a(),E=e(b,2),k=E[0],A=E[1],g=r((function(e){var t=e.borderBoxSize||{},c=t.blockSize,a=t.inlineSize;if(v.current){var r=function(e){var t=e.width,c=e.height,a=e.borderRadius,r=void 0===a?m:a,n=e.strokeWidth,o=void 0===n?d:n,i=o/2;return"M ".concat(t-o/2,", ").concat(r," V ").concat(c-r," A ").concat(r," ").concat(r," 0 0 1 ").concat(t-r," ").concat(c-o/2," H ").concat(r+i," A ").concat(r," ").concat(r," 0 0 1 ").concat(o/2," ").concat(c-r," V ").concat(r+i," A ").concat(r," ").concat(r," 0 0 1 ").concat(r," ").concat(o/2," L ").concat(t-r,", ").concat(o/2," A ").concat(r," ").concat(r," 0 0 1 ").concat(t-o/2," ").concat(r," Z")}({width:a,height:c});A(r);var n=function(e){var t=e.width,c=e.height,a=e.borderRadius,r=void 0===a?m:a,n=t-2*r,o=c-2*r;return 2*Math.PI*r+2*n+2*o}({width:a,height:c});v.current.style.setProperty("--container-perimeter",n+"")}}),[]);l({ref:v,callback:g,debounceTime:0});var N=n((function(e,t){return o(u,{ref:t})}));return t.createElement("div",{className:s.celebration,ref:v},t.createElement("svg",{className:s.svg},t.createElement("path",{className:i(s.stroke,s.base),d:k}),t.createElement("path",{className:i(s.stroke,s.first),d:k}),t.createElement("path",{className:i(s.stroke,s.second),d:k}),t.createElement("path",{className:i(s.stroke,s.third),d:k,onAnimationEnd:f})),t.createElement(N,{ref:p}))}export{h as default};
2
- //# sourceMappingURL=LabelCelebrationAnimation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LabelCelebrationAnimation.js","sources":["../../../../src/components/Label/LabelCelebrationAnimation.tsx"],"sourcesContent":["import React, { cloneElement, forwardRef, useCallback, useRef, useState } from \"react\";\nimport cx from \"classnames\";\nimport { useResizeObserver } from \"@vibe/hooks\";\nimport styles from \"./LabelCelebrationAnimation.module.scss\";\n\nconst DEFAULT_BORDER_RADIUS = 4;\nconst DEFAULT_STROKE_WIDTH = 1;\n\nexport interface LabelCelebrationAnimationProps {\n /**\n * The child component that will be wrapped by the animation.\n */\n children: React.ReactElement;\n /**\n * Callback fired when the celebration animation ends.\n */\n onAnimationEnd: () => void;\n}\n\nfunction LabelCelebrationAnimation({ children, onAnimationEnd }: LabelCelebrationAnimationProps) {\n const wrapperRef = useRef<HTMLDivElement>();\n const childRef = useRef<HTMLDivElement>();\n\n const [path, setPath] = useState<string>();\n\n const resizeObserverCallback = useCallback(\n ({ borderBoxSize }: { borderBoxSize: { blockSize: number; inlineSize: number } }) => {\n const { blockSize: height, inlineSize: width } = borderBoxSize || {};\n\n if (wrapperRef.current) {\n const d = getPath({ width, height });\n setPath(d);\n\n const perimeter = getPerimeter({ width, height });\n wrapperRef.current.style.setProperty(\"--container-perimeter\", String(perimeter));\n }\n },\n []\n );\n\n useResizeObserver({\n ref: wrapperRef,\n callback: resizeObserverCallback,\n debounceTime: 0\n });\n\n const ChildComponentWithRef = forwardRef((_props, ref) =>\n cloneElement(children, {\n ref\n })\n );\n\n return (\n <div className={styles.celebration} ref={wrapperRef}>\n <svg className={styles.svg}>\n <path className={cx(styles.stroke, styles.base)} d={path} />\n <path className={cx(styles.stroke, styles.first)} d={path} />\n <path className={cx(styles.stroke, styles.second)} d={path} />\n <path className={cx(styles.stroke, styles.third)} d={path} onAnimationEnd={onAnimationEnd} />\n </svg>\n <ChildComponentWithRef ref={childRef} />\n </div>\n );\n}\n\nexport default LabelCelebrationAnimation;\n\nfunction getPath({\n width,\n height,\n borderRadius = DEFAULT_BORDER_RADIUS,\n strokeWidth = DEFAULT_STROKE_WIDTH\n}: {\n width: number;\n height: number;\n borderRadius?: number;\n strokeWidth?: number;\n}) {\n const offset = strokeWidth / 2;\n\n return `M ${width - strokeWidth / 2}, ${borderRadius} V ${\n height - borderRadius\n } A ${borderRadius} ${borderRadius} 0 0 1 ${width - borderRadius} ${height - strokeWidth / 2} H ${\n borderRadius + offset\n } A ${borderRadius} ${borderRadius} 0 0 1 ${strokeWidth / 2} ${height - borderRadius} V ${\n borderRadius + offset\n } A ${borderRadius} ${borderRadius} 0 0 1 ${borderRadius} ${strokeWidth / 2} L ${width - borderRadius}, ${\n strokeWidth / 2\n } A ${borderRadius} ${borderRadius} 0 0 1 ${width - strokeWidth / 2} ${borderRadius} Z`;\n}\n\nfunction getPerimeter({\n width,\n height,\n borderRadius = DEFAULT_BORDER_RADIUS\n}: {\n width: number;\n height: number;\n borderRadius?: number;\n}) {\n const straightWidth = width - 2 * borderRadius;\n const straightHeight = height - 2 * borderRadius;\n const cornerCircumference = 2 * Math.PI * borderRadius;\n return cornerCircumference + 2 * straightWidth + 2 * straightHeight;\n}\n"],"names":["DEFAULT_BORDER_RADIUS","DEFAULT_STROKE_WIDTH","LabelCelebrationAnimation","_ref","children","onAnimationEnd","wrapperRef","useRef","childRef","_useState","useState","_useState2","_slicedToArray","path","setPath","resizeObserverCallback","useCallback","_ref2","_ref3","borderBoxSize","height","blockSize","width","inlineSize","current","d","_ref4","_ref4$borderRadius","borderRadius","_ref4$strokeWidth","strokeWidth","offset","concat","getPath","perimeter","_ref5","_ref5$borderRadius","straightWidth","straightHeight","Math","PI","getPerimeter","style","setProperty","String","useResizeObserver","ref","callback","debounceTime","ChildComponentWithRef","forwardRef","_props","cloneElement","React","createElement","className","styles","celebration","svg","cx","stroke","base","first","second","third"],"mappings":"oUAKA,IAAMA,EAAwB,EACxBC,EAAuB,EAa7B,SAASC,EAAyBC,GAA6D,IAA1DC,EAAQD,EAARC,SAAUC,EAAcF,EAAdE,eACvCC,EAAaC,IACbC,EAAWD,IAEjBE,EAAwBC,IAAkBC,EAAAC,EAAAH,EAAA,GAAnCI,EAAIF,EAAA,GAAEG,EAAOH,EAAA,GAEdI,EAAyBC,GAC7B,SAAAC,GAAoF,IAClFC,EADcD,EAAbE,eACiE,CAAE,EAAjDC,EAAMF,EAAjBG,UAA+BC,EAAKJ,EAAjBK,WAE3B,GAAIjB,EAAWkB,QAAS,CACtB,IAAMC,EAqCd,SAAgBC,GAUf,IATCJ,EAAKI,EAALJ,MACAF,EAAMM,EAANN,OAAMO,EAAAD,EACNE,aAAAA,OAAe5B,IAAH2B,EAAG3B,EAAqB2B,EAAAE,EAAAH,EACpCI,YAAAA,OAAc7B,IAAH4B,EAAG5B,EAAoB4B,EAO5BE,EAASD,EAAc,EAE7B,MAAAE,KAAAA,OAAYV,EAAQQ,EAAc,EAACE,MAAAA,OAAKJ,EAAYI,OAAAA,OAClDZ,EAASQ,EACXI,OAAAA,OAAMJ,EAAYI,KAAAA,OAAIJ,EAAYI,WAAAA,OAAUV,EAAQM,EAAY,KAAAI,OAAIZ,EAASU,EAAc,EAAC,OAAAE,OAC1FJ,EAAeG,EACjB,OAAAC,OAAMJ,EAAY,KAAAI,OAAIJ,EAAY,WAAAI,OAAUF,EAAc,EAAC,KAAAE,OAAIZ,EAASQ,EAAYI,OAAAA,OAClFJ,EAAeG,EACjBC,OAAAA,OAAMJ,EAAYI,KAAAA,OAAIJ,EAAYI,WAAAA,OAAUJ,EAAYI,KAAAA,OAAIF,EAAc,EAACE,OAAAA,OAAMV,EAAQM,EAAY,MAAAI,OACnGF,EAAc,EAChB,OAAAE,OAAMJ,EAAY,KAAAI,OAAIJ,EAAY,WAAAI,OAAUV,EAAQQ,EAAc,EAAC,KAAAE,OAAIJ,EAAY,KACrF,CA3DkBK,CAAQ,CAAEX,MAAAA,EAAOF,OAAAA,IAC3BN,EAAQW,GAER,IAAMS,EA0Dd,SAAqBC,GAQpB,IAPCb,EAAKa,EAALb,MACAF,EAAMe,EAANf,OAAMgB,EAAAD,EACNP,aAAAA,OAAe5B,IAAHoC,EAAGpC,EAAqBoC,EAM9BC,EAAgBf,EAAQ,EAAIM,EAC5BU,EAAiBlB,EAAS,EAAIQ,EAEpC,OAD4B,EAAIW,KAAKC,GAAKZ,EACb,EAAIS,EAAgB,EAAIC,CACvD,CAvE0BG,CAAa,CAAEnB,MAAAA,EAAOF,OAAAA,IACxCd,EAAWkB,QAAQkB,MAAMC,YAAY,wBAAgCT,EAAPU,GAChE,CACD,GACD,IAGFC,EAAkB,CAChBC,IAAKxC,EACLyC,SAAUhC,EACViC,aAAc,IAGhB,IAAMC,EAAwBC,GAAW,SAACC,EAAQL,GAAG,OACnDM,EAAahD,EAAU,CACrB0C,IAAAA,OAIJ,OACEO,EAAKC,cAAA,MAAA,CAAAC,UAAWC,EAAOC,YAAaX,IAAKxC,GACvC+C,EAAAC,cAAA,MAAA,CAAKC,UAAWC,EAAOE,KACrBL,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOK,MAAOpC,EAAGZ,IACpDwC,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOM,OAAQrC,EAAGZ,IACrDwC,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOO,QAAStC,EAAGZ,IACtDwC,EAAMC,cAAA,OAAA,CAAAC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOQ,OAAQvC,EAAGZ,EAAMR,eAAgBA,KAE7EgD,EAACC,cAAAL,GAAsBH,IAAKtC,IAGlC"}
@@ -1,2 +0,0 @@
1
- var e={celebration:"celebration_f3a937cfb2",svg:"svg_b1fdd519f6",stroke:"stroke_957558ae87","stroke-rotate":"stroke-rotate_1f80dd0875",base:"base_db7a868ee6",fade:"fade_3152da0a37",first:"first_54e6eaddfb",second:"second_975216931d",third:"third_661867cd10","gradient-text-fill":"gradient-text-fill_648d9bff9c"};!function(e){const n="s_id-f81803454b25_4_5_6";if("undefined"!=typeof document){const a=document.head||document.getElementsByTagName("head")[0];if(a.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,a.firstChild?a.insertBefore(t,a.firstChild):a.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".celebration_f3a937cfb2 {\n --container-perimeter: 840;\n position: relative;\n}\n.celebration_f3a937cfb2 .svg_b1fdd519f6 {\n position: absolute;\n top: 0;\n inset-inline-start: 0;\n height: 100%;\n width: 100%;\n}\n.celebration_f3a937cfb2 .svg_b1fdd519f6 .stroke_957558ae87 {\n fill: none;\n stroke-width: 1;\n stroke-linecap: round;\n stroke-linejoin: round;\n animation: stroke-rotate_1f80dd0875 cubic-bezier(0.33, 0, 0.67, 1) forwards;\n stroke-dasharray: var(--container-perimeter);\n stroke-dashoffset: var(--container-perimeter);\n}\n.celebration_f3a937cfb2 .svg_b1fdd519f6 .stroke_957558ae87.base_db7a868ee6 {\n stroke: var(--color-egg_yolk);\n animation: fade_3152da0a37 200ms linear forwards;\n animation-delay: 80ms;\n stroke-dasharray: 0;\n stroke-dashoffset: 0;\n opacity: 0;\n}\n.celebration_f3a937cfb2 .svg_b1fdd519f6 .stroke_957558ae87.first_54e6eaddfb {\n stroke: var(--color-done-green);\n animation-delay: 80ms;\n animation-duration: 320ms;\n}\n.celebration_f3a937cfb2 .svg_b1fdd519f6 .stroke_957558ae87.second_975216931d {\n stroke: var(--color-stuck-red);\n animation-delay: 200ms;\n animation-duration: 320ms;\n}\n.celebration_f3a937cfb2 .svg_b1fdd519f6 .stroke_957558ae87.third_661867cd10 {\n stroke: var(--primary-color);\n animation-delay: 360ms;\n animation-duration: 320ms;\n}\n.celebration_f3a937cfb2.celebration_f3a937cfb2 [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_648d9bff9c 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_3152da0a37 {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes stroke-rotate_1f80dd0875 {\n to {\n stroke-dashoffset: 0;\n }\n}\n@keyframes gradient-text-fill_648d9bff9c {\n from {\n background-position: 150% 0;\n }\n to {\n background-position: 0% 0;\n }\n}");export{e as default};
2
- //# sourceMappingURL=LabelCelebrationAnimation.module.scss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LabelCelebrationAnimation.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var t={small:"text3",medium:"text2"};export{t as mapSizesToTextSize};
2
- //# sourceMappingURL=LabelConstants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LabelConstants.js","sources":["../../../../src/components/Label/LabelConstants.ts"],"sourcesContent":["import { type TextType } from \"@vibe/typography\";\nimport { type LabelSizes } from \"./Label.types\";\n\nexport const mapSizesToTextSize: Record<LabelSizes, TextType> = {\n small: \"text3\",\n medium: \"text2\"\n};\n"],"names":["mapSizesToTextSize","small","medium"],"mappings":"AAGO,IAAMA,EAAmD,CAC9DC,MAAO,QACPC,OAAQ"}
@@ -1,2 +0,0 @@
1
- import e from"react";var t=function(){return e.createElement("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M0 0V2.76772C0 4.21783 1.77351 4.92116 2.76736 3.86519L5.45681 1.00765C6.06097 0.365738 6.90294 0.00127805 7.7843 3.35493e-06C5.30942 2.53165e-06 2.69058 1.4328e-06 0 0Z",fill:"#E44258"}))};t.displayName="Leg";export{t as default};
2
- //# sourceMappingURL=Leg.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Leg.js","sources":["../../../../src/components/Label/Leg.tsx"],"sourcesContent":["import React from \"react\";\n\nconst Leg = () => (\n <svg width=\"8\" height=\"5\" viewBox=\"0 0 8 5\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M0 0V2.76772C0 4.21783 1.77351 4.92116 2.76736 3.86519L5.45681 1.00765C6.06097 0.365738 6.90294 0.00127805 7.7843 3.35493e-06C5.30942 2.53165e-06 2.69058 1.4328e-06 0 0Z\"\n fill=\"#E44258\"\n />\n </svg>\n);\n\nLeg.displayName = \"Leg\";\n\nexport default Leg;\n"],"names":["Leg","React","createElement","width","height","viewBox","fill","xmlns","d","displayName"],"mappings":"qBAEA,IAAMA,EAAM,WAAH,OACPC,EAAKC,cAAA,MAAA,CAAAC,MAAM,IAAIC,OAAO,IAAIC,QAAQ,UAAUC,KAAK,OAAOC,MAAM,8BAC5DN,EACEC,cAAA,OAAA,CAAAM,EAAE,4KACFF,KAAK,YAEH,EAGRN,EAAIS,YAAc"}
@@ -1,2 +0,0 @@
1
- import{defineProperty as t}from"../../../_virtual/_rollupPluginBabelHelpers.js";import{getTestId as e,ComponentDefaultTestId as i}from"../../tests/testIds.js";import o from"classnames";import r,{forwardRef as a,useCallback as s}from"react";import n from"./Link.module.scss.js";import{camelCase as l}from"es-toolkit";import{ComponentVibeId as d}from"../../tests/constants.js";import m from"../../../components/icon/dist/Icon/Icon.js";import{getStyle as c}from"../../../shared/dist/utils/typesciptCssModulesHelper.js";import{NOOP as f}from"../../../shared/dist/utils/function-utils.js";var p=a((function(a,m){var p=a.className,u=a.textClassName,b=a.href,y=void 0===b?"":b,N=a.text,j=void 0===N?"":N,h=a.rel,k=void 0===h?"noreferrer":h,x=a.onClick,I=void 0===x?f:x,g=a.target,C=void 0===g?"_blank":g,E=a["aria-label"],L=void 0===E?"":E,P=a.color,S=void 0===P?"primary":P,_=a["aria-describedby"],z=void 0===_?"":_,F=a.icon,H=void 0===F?"":F,K=a.iconPosition,T=a.id,B=void 0===T?"":T,D=a["aria-labelledby"],M=void 0===D?"":D,q=a.disableNavigation,w=void 0!==q&&q,A=a.inheritFontSize,G=void 0!==A&&A,J=a.inlineText,O=void 0!==J&&J,Q=a.style,R=a["data-testid"],U="start"===(void 0===K?"start":K),V=s((function(t){w&&t.preventDefault(),I&&I(t)}),[w,I]);return r.createElement("a",{"data-testid":R||e(i.LINK,B),"data-vibe":d.LINK,id:B,href:y,rel:k,ref:m,onClick:V,target:C,style:Q,className:o(n.link,p,c(n,l("color-"+S)),t(t({},n.inheritFontSize,G),n.inlineText,O)),"aria-label":L,"aria-describedby":z,"aria-labelledby":M},v(U,H,o(n.iconStart)),r.createElement("span",{className:o(n.text,u)},j),v(!U,H,o(n.iconEnd)))}));function v(t,e,i){if(t)return r.createElement(m,{className:i,icon:e,type:"font"})}export{p as default};
2
- //# sourceMappingURL=Link.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Link.js","sources":["../../../../src/components/Link/Link.tsx"],"sourcesContent":["import { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport cx from \"classnames\";\nimport React, { forwardRef, useCallback } from \"react\";\nimport { NOOP, getStyle } from \"@vibe/shared\";\nimport { Icon, type SubIcon } from \"@vibe/icon\";\nimport { type LinkColor, type LinkIconPosition, type LinkTarget } from \"./Link.types\";\nimport { type VibeComponentProps } from \"../../types\";\nimport styles from \"./Link.module.scss\";\n\nimport { camelCase } from \"es-toolkit\";\nimport { ComponentVibeId } from \"../../tests/constants\";\n\nexport interface LinkProps extends VibeComponentProps {\n /**\n * Class name applied to the link text.\n */\n textClassName?: string;\n /**\n * The URL the link points to.\n */\n href?: string;\n /**\n * The text content of the link.\n */\n text?: string;\n /**\n * Specifies the relationship between the current document and the linked resource.\n */\n rel?: string;\n /**\n * Callback fired when the link is clicked.\n */\n onClick?: (event: React.MouseEvent) => void;\n /**\n * Specifies where to open the linked document.\n */\n target?: LinkTarget;\n /**\n * The ARIA label for accessibility.\n */\n \"aria-label\"?: string;\n /**\n * The ID of the element that describes this link.\n */\n \"aria-describedby\"?: string;\n /**\n * The ID of the element labeling this link.\n */\n \"aria-labelledby\"?: string;\n /**\n * Icon displayed next to the link text.\n */\n icon?: SubIcon;\n /**\n * The position of the icon relative to the text.\n */\n iconPosition?: LinkIconPosition;\n /**\n * If true, disables navigation when the link is clicked.\n */\n disableNavigation?: boolean;\n /**\n * If true, the link inherits the surrounding text's font size.\n */\n inheritFontSize?: boolean;\n /**\n * If true, the link is styled to fit within inline text content.\n */\n inlineText?: boolean;\n /** The link's color style */\n color?: LinkColor;\n /**\n * Inline style object applied to the link element.\n */\n style?: React.CSSProperties;\n}\n\nconst Link = forwardRef(\n (\n {\n className,\n textClassName,\n href = \"\",\n text = \"\",\n rel = \"noreferrer\",\n onClick = NOOP,\n target = \"_blank\",\n \"aria-label\": ariaLabel = \"\",\n color = \"primary\",\n \"aria-describedby\": ariaDescribedby = \"\",\n icon = \"\",\n iconPosition = \"start\",\n id = \"\",\n \"aria-labelledby\": ariaLabelledBy = \"\",\n disableNavigation = false,\n inheritFontSize = false,\n inlineText = false,\n style,\n \"data-testid\": dataTestId\n }: LinkProps,\n ref: React.ForwardedRef<HTMLAnchorElement>\n ) => {\n const isStart = iconPosition === \"start\";\n\n const onClickWrapper = useCallback(\n (e: React.MouseEvent<HTMLElement>) => {\n if (disableNavigation) {\n e.preventDefault();\n }\n onClick && onClick(e);\n },\n [disableNavigation, onClick]\n );\n\n return (\n <a\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.LINK, id)}\n data-vibe={ComponentVibeId.LINK}\n id={id}\n href={href}\n rel={rel}\n ref={ref}\n onClick={onClickWrapper}\n target={target}\n style={style}\n className={cx(styles.link, className, getStyle(styles, camelCase(\"color-\" + color)), {\n [styles.inheritFontSize]: inheritFontSize,\n [styles.inlineText]: inlineText\n })}\n aria-label={ariaLabel}\n aria-describedby={ariaDescribedby}\n aria-labelledby={ariaLabelledBy}\n >\n {getIcon(isStart, icon, cx(styles.iconStart))}\n <span className={cx(styles.text, textClassName)}>{text}</span>\n {getIcon(!isStart, icon, cx(styles.iconEnd))}\n </a>\n );\n }\n);\n\nfunction getIcon(shouldShow: boolean, icon: string | React.FunctionComponent | null, className: string) {\n if (!shouldShow) return;\n return <Icon className={className} icon={icon} type=\"font\" />;\n}\n\nexport default Link;\n"],"names":["Link","forwardRef","_ref","ref","className","textClassName","_ref$href","href","_ref$text","text","_ref$rel","rel","_ref$onClick","onClick","NOOP","_ref$target","target","_ref$ariaLabel","ariaLabel","_ref$color","color","_ref$ariaDescribedby","ariaDescribedby","_ref$icon","icon","_ref$iconPosition","iconPosition","_ref$id","id","_ref$ariaLabelledby","ariaLabelledBy","_ref$disableNavigatio","disableNavigation","_ref$inheritFontSize","inheritFontSize","_ref$inlineText","inlineText","style","dataTestId","isStart","onClickWrapper","useCallback","e","preventDefault","React","createElement","getTestId","ComponentDefaultTestId","LINK","ComponentVibeId","cx","styles","link","getStyle","camelCase","_defineProperty","getIcon","iconStart","iconEnd","shouldShow","Icon","type"],"mappings":"wkBA6EMA,IAAAA,EAAOC,GACX,SAAAC,EAsBEC,GACE,IArBAC,EAASF,EAATE,UACAC,EAAaH,EAAbG,cAAaC,EAAAJ,EACbK,KAAAA,OAAO,IAAHD,EAAG,GAAEA,EAAAE,EAAAN,EACTO,KAAAA,OAAO,IAAHD,EAAG,GAAEA,EAAAE,EAAAR,EACTS,IAAAA,OAAM,IAAHD,EAAG,aAAYA,EAAAE,EAAAV,EAClBW,QAAAA,OAAUC,IAAHF,EAAGE,EAAIF,EAAAG,EAAAb,EACdc,OAAAA,OAAS,IAAHD,EAAG,SAAQA,EAAAE,EAAAf,EACjB,cAAcgB,OAAY,IAAHD,EAAG,GAAEA,EAAAE,EAAAjB,EAC5BkB,MAAAA,OAAQ,IAAHD,EAAG,UAASA,EAAAE,EAAAnB,EACjB,oBAAoBoB,OAAkB,IAAHD,EAAG,GAAEA,EAAAE,EAAArB,EACxCsB,KAAAA,OAAO,IAAHD,EAAG,GAAEA,EAAAE,EAAAvB,EACTwB,aAAsBC,EAAAzB,EACtB0B,GAAAA,OAAK,IAAHD,EAAG,GAAEA,EAAAE,EAAA3B,EACP,mBAAmB4B,OAAiB,IAAHD,EAAG,GAAEA,EAAAE,EAAA7B,EACtC8B,kBAAAA,OAAoB,IAAHD,GAAQA,EAAAE,EAAA/B,EACzBgC,gBAAAA,OAAkB,IAAHD,GAAQA,EAAAE,EAAAjC,EACvBkC,WAAAA,OAAa,IAAHD,GAAQA,EAClBE,EAAKnC,EAALmC,MACeC,EAAUpC,EAAzB,eAIIqC,EAA2B,gBAXhB,IAAHd,EAAG,QAAOA,GAalBe,EAAiBC,GACrB,SAACC,GACKV,GACFU,EAAEC,iBAEJ9B,GAAWA,EAAQ6B,EACrB,GACA,CAACV,EAAmBnB,IAGtB,OACE+B,EAAAC,cAAA,IAAA,CAAA,cACeP,GAAcQ,EAAUC,EAAuBC,KAAMpB,eACvDqB,EAAgBD,KAC3BpB,GAAIA,EACJrB,KAAMA,EACNI,IAAKA,EACLR,IAAKA,EACLU,QAAS2B,EACTxB,OAAQA,EACRqB,MAAOA,EACPjC,UAAW8C,EAAGC,EAAOC,KAAMhD,EAAWiD,EAASF,EAAQG,EAAU,SAAWlC,IAAOmC,EAAAA,EAAA,CAAA,EAChFJ,EAAOjB,gBAAkBA,GACzBiB,EAAOf,WAAaA,IAEX,aAAAlB,EACM,mBAAAI,oBACDQ,GAEhB0B,EAAQjB,EAASf,EAAM0B,EAAGC,EAAOM,YAClCb,EAAAC,cAAA,OAAA,CAAMzC,UAAW8C,EAAGC,EAAO1C,KAAMJ,IAAiBI,GACjD+C,GAASjB,EAASf,EAAM0B,EAAGC,EAAOO,UAGzC,IAGF,SAASF,EAAQG,EAAqBnC,EAA+CpB,GACnF,GAAKuD,EACL,OAAOf,EAACC,cAAAe,EAAK,CAAAxD,UAAWA,EAAWoB,KAAMA,EAAMqC,KAAK,QACtD"}
@@ -1,2 +0,0 @@
1
- var n={link:"link_0379c9f698","focus-visible":"focus-visible_d69fe82fdd",colorOnPrimary:"colorOnPrimary_ef8bedc3e5",colorOnInverted:"colorOnInverted_f7c878524a",text:"text_3d30a69d82",inlineText:"inlineText_cb992b214e",inheritFontSize:"inheritFontSize_577408a00c",iconStart:"iconStart_909d8841a7",iconEnd:"iconEnd_c5617ddc43"};!function(n){const e="s_id-c2cddf2190ae_4_5_6";if("undefined"!=typeof document){const i=document.head||document.getElementsByTagName("head")[0];if(i.querySelector("#"+e))return;const t=document.createElement("style");t.id=e,i.firstChild?i.insertBefore(t,i.firstChild):i.appendChild(t),t.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n.link_0379c9f698 {\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_0379c9f698:focus-visible, .link_0379c9f698.focus-visible_d69fe82fdd {\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_0379c9f698:focus:not(.focus-visible_d69fe82fdd) {\n outline: none;\n}\n.link_0379c9f698.colorOnPrimary_ef8bedc3e5 {\n color: var(--text-color-on-primary);\n}\n.link_0379c9f698.colorOnInverted_f7c878524a {\n color: var(--text-color-on-inverted);\n}\n.link_0379c9f698:hover .text_3d30a69d82 {\n text-decoration: underline;\n color: inherit;\n}\n.link_0379c9f698.inlineText_cb992b214e {\n display: inline-flex;\n align-items: unset;\n}\n.link_0379c9f698.inheritFontSize_577408a00c {\n font-size: inherit;\n line-height: inherit;\n}\n.iconStart_909d8841a7 {\n line-height: 24px;\n margin-inline-end: var(--space-4);\n}\n.iconEnd_c5617ddc43 {\n line-height: 24px;\n margin-inline-start: var(--space-4);\n}");export{n as default};
2
- //# sourceMappingURL=Link.module.scss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Link.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}