@alma-oss/spirit-web-react 4.2.1 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (506) hide show
  1. package/README.md +10 -11
  2. package/bundles/web-react.umd.js +33496 -33281
  3. package/bundles/web-react.umd.js.map +1 -1
  4. package/bundles/web-react.umd.min.js +3 -3
  5. package/bundles/web-react.umd.min.js.map +1 -1
  6. package/common/common.cjs.map +1 -1
  7. package/common/utilities/utilities.cjs.map +1 -1
  8. package/components/Accordion/Accordion.cjs +31 -23
  9. package/components/Accordion/Accordion.cjs.map +1 -1
  10. package/components/Accordion/Accordion.d.ts +2 -8
  11. package/components/Accordion/Accordion.js +8 -7
  12. package/components/Accordion/Accordion.js.map +1 -1
  13. package/components/Accordion/AccordionContext.d.ts +5 -5
  14. package/components/Accordion/AccordionContext.js.map +1 -1
  15. package/components/Accordion/AccordionHeader.d.ts +2 -8
  16. package/components/Accordion/AccordionHeader.js +8 -7
  17. package/components/Accordion/AccordionHeader.js.map +1 -1
  18. package/components/Accordion/AccordionItem.d.ts +2 -8
  19. package/components/Accordion/AccordionItem.js +8 -7
  20. package/components/Accordion/AccordionItem.js.map +1 -1
  21. package/components/Accordion/UncontrolledAccordion.d.ts +2 -3
  22. package/components/Accordion/UncontrolledAccordion.js +1 -2
  23. package/components/Accordion/UncontrolledAccordion.js.map +1 -1
  24. package/components/Accordion/useAccordion.d.ts +2 -2
  25. package/components/Accordion/useAccordion.js.map +1 -1
  26. package/components/Accordion/useAccordionStyleProps.d.ts +2 -3
  27. package/components/Accordion/useAccordionStyleProps.js.map +1 -1
  28. package/components/ActionGroup/ActionGroup.cjs +15 -9
  29. package/components/ActionGroup/ActionGroup.cjs.map +1 -1
  30. package/components/Alert/Alert.cjs +17 -7
  31. package/components/Alert/Alert.cjs.map +1 -1
  32. package/components/Alert/Alert.d.ts +2 -6
  33. package/components/Alert/Alert.js +9 -5
  34. package/components/Alert/Alert.js.map +1 -1
  35. package/components/Alert/useAlertIcon.d.ts +1 -1
  36. package/components/Alert/useAlertStyleProps.d.ts +4 -5
  37. package/components/Alert/useAlertStyleProps.js.map +1 -1
  38. package/components/Avatar/Avatar.cjs +41 -16
  39. package/components/Avatar/Avatar.cjs.map +1 -1
  40. package/components/Avatar/Avatar.d.ts +2 -5
  41. package/components/Avatar/Avatar.js +6 -6
  42. package/components/Avatar/Avatar.js.map +1 -1
  43. package/components/Avatar/useAvatarStyleProps.d.ts +4 -4
  44. package/components/Avatar/useAvatarStyleProps.js +5 -5
  45. package/components/Avatar/useAvatarStyleProps.js.map +1 -1
  46. package/components/Box/Box.cjs +15 -9
  47. package/components/Box/Box.cjs.map +1 -1
  48. package/components/Box/Box.d.ts +3 -8
  49. package/components/Box/Box.js +8 -7
  50. package/components/Box/Box.js.map +1 -1
  51. package/components/Box/useBoxStyleProps.d.ts +2 -2
  52. package/components/Breadcrumbs/Breadcrumbs.cjs +14 -6
  53. package/components/Breadcrumbs/Breadcrumbs.cjs.map +1 -1
  54. package/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  55. package/components/Button/Button.cjs +19 -9
  56. package/components/Button/Button.cjs.map +1 -1
  57. package/components/Button/Button.d.ts +2 -2
  58. package/components/Button/Button.js +5 -3
  59. package/components/Button/Button.js.map +1 -1
  60. package/components/Button/useButtonStyleProps.d.ts +19 -6
  61. package/components/Button/useButtonStyleProps.js.map +1 -1
  62. package/components/ButtonLink/ButtonLink.d.ts +2 -2
  63. package/components/ButtonLink/ButtonLink.js +5 -3
  64. package/components/ButtonLink/ButtonLink.js.map +1 -1
  65. package/components/ButtonLink/useButtonLinkProps.d.ts +10 -4
  66. package/components/ButtonLink/useButtonLinkProps.js.map +1 -1
  67. package/components/ButtonLink/useButtonLinkStyleProps.d.ts +19 -6
  68. package/components/ButtonLink/useButtonLinkStyleProps.js.map +1 -1
  69. package/components/Card/Card.cjs +13 -6
  70. package/components/Card/Card.cjs.map +1 -1
  71. package/components/Card/Card.d.ts +1 -1
  72. package/components/Card/Card.js +2 -2
  73. package/components/Card/Card.js.map +1 -1
  74. package/components/Card/CardLink.d.ts +2 -4
  75. package/components/Card/CardLink.js +1 -0
  76. package/components/Card/CardLink.js.map +1 -1
  77. package/components/Card/CardTitle.d.ts +1 -1
  78. package/components/Card/useCardStyleProps.d.ts +2 -1
  79. package/components/Card/useCardStyleProps.js +2 -1
  80. package/components/Card/useCardStyleProps.js.map +1 -1
  81. package/components/Checkbox/Checkbox.cjs +11 -4
  82. package/components/Checkbox/Checkbox.cjs.map +1 -1
  83. package/components/Checkbox/Checkbox.d.ts +2 -3
  84. package/components/Checkbox/Checkbox.js +1 -0
  85. package/components/Checkbox/Checkbox.js.map +1 -1
  86. package/components/Collapse/Collapse.cjs +8 -3
  87. package/components/Collapse/Collapse.cjs.map +1 -1
  88. package/components/Container/Container.cjs +4 -2
  89. package/components/Container/Container.cjs.map +1 -1
  90. package/components/ControlButton/ControlButton.d.ts +2 -2
  91. package/components/ControlButton/ControlButton.js +5 -3
  92. package/components/ControlButton/ControlButton.js.map +1 -1
  93. package/components/ControlButton/useControlButtonStyleProps.d.ts +19 -6
  94. package/components/ControlButton/useControlButtonStyleProps.js.map +1 -1
  95. package/components/Dialog/Dialog.cjs +42 -11
  96. package/components/Dialog/Dialog.cjs.map +1 -1
  97. package/components/Dialog/Dialog.d.ts +3 -4
  98. package/components/Dialog/Dialog.js +4 -2
  99. package/components/Dialog/Dialog.js.map +1 -1
  100. package/components/Dialog/constants.d.ts +1 -0
  101. package/components/Dialog/constants.js +2 -0
  102. package/components/Dialog/constants.js.map +1 -0
  103. package/components/Dialog/useDialog.js +38 -9
  104. package/components/Dialog/useDialog.js.map +1 -1
  105. package/components/Divider/Divider.cjs +4 -2
  106. package/components/Divider/Divider.cjs.map +1 -1
  107. package/components/Drawer/Drawer.cjs +126 -26
  108. package/components/Drawer/Drawer.cjs.map +1 -1
  109. package/components/Drawer/DrawerCloseButton.js +4 -4
  110. package/components/Drawer/DrawerCloseButton.js.map +1 -1
  111. package/components/Drawer/DrawerPanel.d.ts +3 -3
  112. package/components/Drawer/DrawerPanel.js +5 -3
  113. package/components/Drawer/DrawerPanel.js.map +1 -1
  114. package/components/Drawer/constants.d.ts +0 -1
  115. package/components/Drawer/constants.js +0 -1
  116. package/components/Drawer/constants.js.map +1 -1
  117. package/components/Dropdown/Dropdown.cjs +8 -3
  118. package/components/Dropdown/Dropdown.cjs.map +1 -1
  119. package/components/Dropdown/DropdownTrigger.d.ts +1 -1
  120. package/components/EmptyState/EmptyState.cjs +43 -17
  121. package/components/EmptyState/EmptyState.cjs.map +1 -1
  122. package/components/Field/Field.cjs +10 -4
  123. package/components/Field/Field.cjs.map +1 -1
  124. package/components/Field/HelperText.d.ts +1 -1
  125. package/components/Field/Label.d.ts +1 -1
  126. package/components/Field/ValidationText.d.ts +1 -1
  127. package/components/Field/ValidationText.js +1 -1
  128. package/components/Field/ValidationText.js.map +1 -1
  129. package/components/Field/types.d.ts +3 -3
  130. package/components/FieldGroup/FieldGroup.cjs +10 -4
  131. package/components/FieldGroup/FieldGroup.cjs.map +1 -1
  132. package/components/FileUploader/FileUploader.cjs +77 -15
  133. package/components/FileUploader/FileUploader.cjs.map +1 -1
  134. package/components/FileUploader/FileUploaderAttachment.js +8 -5
  135. package/components/FileUploader/FileUploaderAttachment.js.map +1 -1
  136. package/components/FileUploader/FileUploaderList.js +5 -4
  137. package/components/FileUploader/FileUploaderList.js.map +1 -1
  138. package/components/FileUploader/constants.d.ts +0 -3
  139. package/components/FileUploader/constants.js +0 -3
  140. package/components/FileUploader/constants.js.map +1 -1
  141. package/components/Flex/Flex.cjs +15 -9
  142. package/components/Flex/Flex.cjs.map +1 -1
  143. package/components/Flex/Flex.d.ts +2 -8
  144. package/components/Flex/Flex.js +8 -7
  145. package/components/Flex/Flex.js.map +1 -1
  146. package/components/Flex/useFlexStyleProps.d.ts +3 -3
  147. package/components/Flex/useFlexStyleProps.js.map +1 -1
  148. package/components/Footer/Footer.cjs +17 -9
  149. package/components/Footer/Footer.cjs.map +1 -1
  150. package/components/Footer/Footer.d.ts +2 -6
  151. package/components/Footer/Footer.js +10 -7
  152. package/components/Footer/Footer.js.map +1 -1
  153. package/components/Grid/Grid.cjs +34 -23
  154. package/components/Grid/Grid.cjs.map +1 -1
  155. package/components/Grid/Grid.d.ts +2 -8
  156. package/components/Grid/Grid.js +8 -7
  157. package/components/Grid/Grid.js.map +1 -1
  158. package/components/Grid/GridItem.d.ts +2 -8
  159. package/components/Grid/GridItem.js +11 -7
  160. package/components/Grid/GridItem.js.map +1 -1
  161. package/components/Grid/useGridItemStyleProps.js +7 -6
  162. package/components/Grid/useGridItemStyleProps.js.map +1 -1
  163. package/components/Header/Header.cjs +71 -26
  164. package/components/Header/Header.cjs.map +1 -1
  165. package/components/Header/HeaderDialogContext.d.ts +2 -2
  166. package/components/Header/HeaderDialogContext.js.map +1 -1
  167. package/components/Header/HeaderDialogLink.d.ts +2 -3
  168. package/components/Header/HeaderDialogLink.js +5 -3
  169. package/components/Header/HeaderDialogLink.js.map +1 -1
  170. package/components/Header/HeaderLink.d.ts +2 -3
  171. package/components/Header/HeaderLink.js +5 -3
  172. package/components/Header/HeaderLink.js.map +1 -1
  173. package/components/Heading/Heading.cjs +8 -3
  174. package/components/Heading/Heading.cjs.map +1 -1
  175. package/components/Heading/Heading.d.ts +1 -1
  176. package/components/Heading/Heading.js.map +1 -1
  177. package/components/Heading/useHeadingStyleProps.d.ts +3 -3
  178. package/components/Heading/useHeadingStyleProps.js.map +1 -1
  179. package/components/Hidden/Hidden.d.ts +2 -8
  180. package/components/Hidden/Hidden.js +8 -7
  181. package/components/Hidden/Hidden.js.map +1 -1
  182. package/components/Icon/Icon.cjs +5 -2
  183. package/components/Icon/Icon.cjs.map +1 -1
  184. package/components/Icon/Icon.d.ts +2 -3
  185. package/components/Icon/Icon.js +1 -0
  186. package/components/Icon/Icon.js.map +1 -1
  187. package/components/Icon/useIconStyleProps.d.ts +6 -1322
  188. package/components/Icon/useIconStyleProps.js.map +1 -1
  189. package/components/IconBox/IconBox.cjs +21 -11
  190. package/components/IconBox/IconBox.cjs.map +1 -1
  191. package/components/IconBox/IconBox.d.ts +2 -6
  192. package/components/IconBox/IconBox.js +6 -3
  193. package/components/IconBox/IconBox.js.map +1 -1
  194. package/components/IconBox/useIconBoxStyleProps.d.ts +2 -2
  195. package/components/Item/Item.cjs +9 -3
  196. package/components/Item/Item.cjs.map +1 -1
  197. package/components/Item/Item.d.ts +1 -1
  198. package/components/Link/Link.cjs +13 -6
  199. package/components/Link/Link.cjs.map +1 -1
  200. package/components/Link/Link.d.ts +2 -3
  201. package/components/Link/Link.js +5 -3
  202. package/components/Link/Link.js.map +1 -1
  203. package/components/Link/useLinkStyleProps.d.ts +5 -7
  204. package/components/Link/useLinkStyleProps.js.map +1 -1
  205. package/components/Matrix/Matrix.cjs +8 -3
  206. package/components/Matrix/Matrix.cjs.map +1 -1
  207. package/components/Matrix/Matrix.d.ts +1 -1
  208. package/components/Matrix/Matrix.js +1 -1
  209. package/components/Matrix/Matrix.js.map +1 -1
  210. package/components/Matrix/{constant.js → constants.js} +1 -1
  211. package/components/Matrix/constants.js.map +1 -0
  212. package/components/Matrix/useMatrixStyleProps.js +1 -1
  213. package/components/Matrix/useMatrixStyleProps.js.map +1 -1
  214. package/components/Modal/Modal.cjs +134 -32
  215. package/components/Modal/Modal.cjs.map +1 -1
  216. package/components/Modal/ModalCloseButton.js +5 -3
  217. package/components/Modal/ModalCloseButton.js.map +1 -1
  218. package/components/Modal/ModalDialog.d.ts +4 -3
  219. package/components/Modal/ModalDialog.js +8 -5
  220. package/components/Modal/ModalDialog.js.map +1 -1
  221. package/components/Modal/ModalHeader.js +5 -4
  222. package/components/Modal/ModalHeader.js.map +1 -1
  223. package/components/Modal/useModalDialogStyleProps.d.ts +11 -833
  224. package/components/Modal/useModalDialogStyleProps.js.map +1 -1
  225. package/components/Navigation/Navigation.cjs +47 -19
  226. package/components/Navigation/Navigation.cjs.map +1 -1
  227. package/components/Navigation/NavigationAction.d.ts +3 -3
  228. package/components/Navigation/NavigationAction.js +1 -0
  229. package/components/Navigation/NavigationAction.js.map +1 -1
  230. package/components/Navigation/NavigationAvatar.d.ts +3 -3
  231. package/components/Navigation/NavigationAvatar.js +5 -3
  232. package/components/Navigation/NavigationAvatar.js.map +1 -1
  233. package/components/NoSsr/NoSsr.cjs.map +1 -1
  234. package/components/Pagination/Pagination.cjs +106 -32
  235. package/components/Pagination/Pagination.cjs.map +1 -1
  236. package/components/Pagination/PaginationButtonLink.d.ts +2 -3
  237. package/components/Pagination/PaginationButtonLink.js +6 -5
  238. package/components/Pagination/PaginationButtonLink.js.map +1 -1
  239. package/components/Pagination/PaginationLink.d.ts +3 -3
  240. package/components/Pagination/PaginationLink.js +8 -6
  241. package/components/Pagination/PaginationLink.js.map +1 -1
  242. package/components/Pagination/PaginationLinkNext.d.ts +2 -3
  243. package/components/Pagination/PaginationLinkNext.js +6 -3
  244. package/components/Pagination/PaginationLinkNext.js.map +1 -1
  245. package/components/Pagination/PaginationLinkPrevious.d.ts +2 -3
  246. package/components/Pagination/PaginationLinkPrevious.js +6 -3
  247. package/components/Pagination/PaginationLinkPrevious.js.map +1 -1
  248. package/components/Pagination/UncontrolledPagination.js +9 -5
  249. package/components/Pagination/UncontrolledPagination.js.map +1 -1
  250. package/components/Pagination/index.d.ts +0 -1
  251. package/components/Pagination/index.js +0 -1
  252. package/components/Pagination/index.js.map +1 -1
  253. package/components/PartnerLogo/PartnerLogo.cjs +4 -2
  254. package/components/PartnerLogo/PartnerLogo.cjs.map +1 -1
  255. package/components/Pill/Pill.cjs +8 -3
  256. package/components/Pill/Pill.cjs.map +1 -1
  257. package/components/Pill/Pill.d.ts +1 -1
  258. package/components/Pill/usePillStyleProps.d.ts +1 -1
  259. package/components/PricingPlan/PricingPlan.cjs +146 -39
  260. package/components/PricingPlan/PricingPlan.cjs.map +1 -1
  261. package/components/PricingPlan/PricingPlan.d.ts +1 -1
  262. package/components/PricingPlan/PricingPlanBody.d.ts +1 -1
  263. package/components/PricingPlan/PricingPlanFooter.d.ts +1 -1
  264. package/components/PricingPlan/PricingPlanHeader.d.ts +1 -1
  265. package/components/ProductLogo/ProductLogo.cjs +4 -2
  266. package/components/ProductLogo/ProductLogo.cjs.map +1 -1
  267. package/components/Radio/Radio.cjs +10 -3
  268. package/components/Radio/Radio.cjs.map +1 -1
  269. package/components/Radio/Radio.d.ts +2 -3
  270. package/components/Radio/Radio.js +1 -0
  271. package/components/Radio/Radio.js.map +1 -1
  272. package/components/ScrollView/ScrollView.cjs +14 -6
  273. package/components/ScrollView/ScrollView.cjs.map +1 -1
  274. package/components/Section/Section.cjs +16 -9
  275. package/components/Section/Section.cjs.map +1 -1
  276. package/components/Section/Section.d.ts +2 -6
  277. package/components/Section/Section.js +8 -6
  278. package/components/Section/Section.js.map +1 -1
  279. package/components/Section/useSectionSizeProps.d.ts +4 -6
  280. package/components/Section/useSectionSizeProps.js +1 -1
  281. package/components/Section/useSectionSizeProps.js.map +1 -1
  282. package/components/Section/useSectionStyleProps.d.ts +3 -5
  283. package/components/Section/useSectionStyleProps.js.map +1 -1
  284. package/components/SegmentedControl/SegmentedControl.cjs +13 -6
  285. package/components/SegmentedControl/SegmentedControl.cjs.map +1 -1
  286. package/components/SegmentedControl/SegmentedControlItem.d.ts +2 -3
  287. package/components/SegmentedControl/SegmentedControlItem.js +5 -3
  288. package/components/SegmentedControl/SegmentedControlItem.js.map +1 -1
  289. package/components/Select/Select.cjs +11 -4
  290. package/components/Select/Select.cjs.map +1 -1
  291. package/components/Select/Select.d.ts +2 -3
  292. package/components/Select/Select.js +1 -0
  293. package/components/Select/Select.js.map +1 -1
  294. package/components/Skeleton/Skeleton.cjs +8 -3
  295. package/components/Skeleton/Skeleton.cjs.map +1 -1
  296. package/components/Skeleton/SkeletonHeading.d.ts +1 -1
  297. package/components/Skeleton/SkeletonShape.d.ts +1 -1
  298. package/components/Skeleton/SkeletonText.d.ts +1 -1
  299. package/components/Skeleton/useSkeletonShapeStyleProps.d.ts +10 -848
  300. package/components/Skeleton/useSkeletonShapeStyleProps.js.map +1 -1
  301. package/components/Skeleton/useSkeletonStyleProps.d.ts +1 -1
  302. package/components/SkipLink/SkipLink.cjs +5 -2
  303. package/components/SkipLink/SkipLink.cjs.map +1 -1
  304. package/components/SkipLink/SkipLink.d.ts +3 -3
  305. package/components/SkipLink/SkipLink.js +1 -0
  306. package/components/SkipLink/SkipLink.js.map +1 -1
  307. package/components/Slider/Slider.cjs +11 -4
  308. package/components/Slider/Slider.cjs.map +1 -1
  309. package/components/Slider/Slider.d.ts +2 -3
  310. package/components/Slider/Slider.js +1 -0
  311. package/components/Slider/Slider.js.map +1 -1
  312. package/components/Spinner/Spinner.cjs +5 -2
  313. package/components/Spinner/Spinner.cjs.map +1 -1
  314. package/components/SplitButton/SplitButton.cjs +81 -15
  315. package/components/SplitButton/SplitButton.cjs.map +1 -1
  316. package/components/SplitButton/UncontrolledSplitButton.js +6 -5
  317. package/components/SplitButton/UncontrolledSplitButton.js.map +1 -1
  318. package/components/Stack/Stack.cjs +27 -13
  319. package/components/Stack/Stack.cjs.map +1 -1
  320. package/components/Stack/Stack.d.ts +2 -6
  321. package/components/Stack/Stack.js +8 -5
  322. package/components/Stack/Stack.js.map +1 -1
  323. package/components/Stack/StackItem.d.ts +2 -6
  324. package/components/Stack/StackItem.js +11 -5
  325. package/components/Stack/StackItem.js.map +1 -1
  326. package/components/Stack/useStackStyleProps.d.ts +19 -10
  327. package/components/Stack/useStackStyleProps.js.map +1 -1
  328. package/components/Tabs/TabLink.d.ts +2 -3
  329. package/components/Tabs/TabLink.js +5 -3
  330. package/components/Tabs/TabLink.js.map +1 -1
  331. package/components/Tabs/Tabs.cjs +13 -6
  332. package/components/Tabs/Tabs.cjs.map +1 -1
  333. package/components/Tag/Tag.cjs +13 -6
  334. package/components/Tag/Tag.cjs.map +1 -1
  335. package/components/Tag/Tag.d.ts +3 -3
  336. package/components/Tag/Tag.js +5 -3
  337. package/components/Tag/Tag.js.map +1 -1
  338. package/components/Tag/useTagStyleProps.d.ts +1 -1
  339. package/components/Text/Text.cjs +8 -3
  340. package/components/Text/Text.cjs.map +1 -1
  341. package/components/Text/Text.d.ts +1 -1
  342. package/components/Text/Text.js.map +1 -1
  343. package/components/Text/useTextStyleProps.d.ts +3 -3
  344. package/components/Text/useTextStyleProps.js.map +1 -1
  345. package/components/TextArea/TextArea.cjs +74 -12
  346. package/components/TextArea/TextArea.cjs.map +1 -1
  347. package/components/TextArea/TextArea.d.ts +2 -3
  348. package/components/TextArea/TextArea.js +1 -0
  349. package/components/TextArea/TextArea.js.map +1 -1
  350. package/components/TextField/TextField.cjs +74 -12
  351. package/components/TextField/TextField.cjs.map +1 -1
  352. package/components/TextField/TextField.d.ts +2 -3
  353. package/components/TextField/TextField.js +1 -0
  354. package/components/TextField/TextField.js.map +1 -1
  355. package/components/TextFieldBase/TextFieldBase.cjs +73 -12
  356. package/components/TextFieldBase/TextFieldBase.cjs.map +1 -1
  357. package/components/TextFieldBase/TextFieldBase.d.ts +2 -6
  358. package/components/TextFieldBase/TextFieldBase.js +1 -0
  359. package/components/TextFieldBase/TextFieldBase.js.map +1 -1
  360. package/components/TextFieldBase/TextFieldBaseInput.d.ts +2 -3
  361. package/components/TextFieldBase/TextFieldBaseInput.js +3 -2
  362. package/components/TextFieldBase/TextFieldBaseInput.js.map +1 -1
  363. package/components/TextFieldBase/TextFieldBasePasswordToggle.js +3 -4
  364. package/components/TextFieldBase/TextFieldBasePasswordToggle.js.map +1 -1
  365. package/components/Timeline/Timeline.cjs +8 -3
  366. package/components/Timeline/Timeline.cjs.map +1 -1
  367. package/components/Timeline/Timeline.d.ts +1 -1
  368. package/components/Timeline/TimelineStep.d.ts +1 -1
  369. package/components/Toast/Toast.cjs +79 -12
  370. package/components/Toast/Toast.cjs.map +1 -1
  371. package/components/Toast/ToastBar.js +6 -4
  372. package/components/Toast/ToastBar.js.map +1 -1
  373. package/components/Toast/ToastBarLink.d.ts +2 -3
  374. package/components/Toast/ToastBarLink.js +5 -3
  375. package/components/Toast/ToastBarLink.js.map +1 -1
  376. package/components/Toast/UncontrolledToast.js +5 -3
  377. package/components/Toast/UncontrolledToast.js.map +1 -1
  378. package/components/Toast/constants.d.ts +0 -1
  379. package/components/Toast/constants.js +0 -1
  380. package/components/Toast/constants.js.map +1 -1
  381. package/components/Toggle/Toggle.cjs +11 -4
  382. package/components/Toggle/Toggle.cjs.map +1 -1
  383. package/components/Toggle/Toggle.d.ts +2 -3
  384. package/components/Toggle/Toggle.js +1 -0
  385. package/components/Toggle/Toggle.js.map +1 -1
  386. package/components/Tooltip/Tooltip.cjs +78 -10
  387. package/components/Tooltip/Tooltip.cjs.map +1 -1
  388. package/components/Tooltip/Tooltip.d.ts +2 -6
  389. package/components/Tooltip/Tooltip.js +9 -6
  390. package/components/Tooltip/Tooltip.js.map +1 -1
  391. package/components/Tooltip/TooltipCloseButton.js +5 -3
  392. package/components/Tooltip/TooltipCloseButton.js.map +1 -1
  393. package/components/Tooltip/useTooltipStyleProps.d.ts +20 -8
  394. package/components/Tooltip/useTooltipStyleProps.js.map +1 -1
  395. package/components/Truncate/Truncate.cjs +8 -3
  396. package/components/Truncate/Truncate.cjs.map +1 -1
  397. package/components/Truncate/Truncate.d.ts +1 -1
  398. package/components/Truncate/useTruncateStyleProps.d.ts +3 -3
  399. package/components/UNSTABLE_Header/UNSTABLE_Header.cjs +13 -6
  400. package/components/UNSTABLE_Header/UNSTABLE_Header.cjs.map +1 -1
  401. package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.d.ts +2 -3
  402. package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js +5 -3
  403. package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js.map +1 -1
  404. package/components/VisuallyHidden/VisuallyHidden.cjs +8 -3
  405. package/components/VisuallyHidden/VisuallyHidden.cjs.map +1 -1
  406. package/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
  407. package/components/VisuallyHidden/useVisuallyHiddenProps.d.ts +3 -3
  408. package/components/components.cjs +470 -293
  409. package/components/components.cjs.map +1 -1
  410. package/constants/constants.cjs.map +1 -1
  411. package/hooks/hooks.cjs +62 -2
  412. package/hooks/hooks.cjs.map +1 -1
  413. package/hooks/index.d.ts +1 -0
  414. package/hooks/index.js +1 -0
  415. package/hooks/index.js.map +1 -1
  416. package/hooks/useI18n.d.ts +6 -0
  417. package/hooks/useI18n.js +9 -0
  418. package/hooks/useI18n.js.map +1 -0
  419. package/hooks/useStyleUtilities.js +4 -2
  420. package/hooks/useStyleUtilities.js.map +1 -1
  421. package/index.cjs +474 -293
  422. package/index.cjs.map +1 -1
  423. package/index.d.ts +1 -0
  424. package/index.js +1 -0
  425. package/index.js.map +1 -1
  426. package/package.json +28 -26
  427. package/spirit-web-react.cjs +475 -294
  428. package/spirit-web-react.cjs.map +1 -1
  429. package/spirit-web-react.min.cjs +1 -1
  430. package/translations/defaults.d.ts +29 -0
  431. package/translations/defaults.js +30 -0
  432. package/translations/defaults.js.map +1 -0
  433. package/translations/index.d.ts +3 -0
  434. package/translations/index.js +4 -0
  435. package/translations/index.js.map +1 -0
  436. package/translations/replaceTranslationParams.d.ts +1 -0
  437. package/translations/replaceTranslationParams.js +5 -0
  438. package/translations/replaceTranslationParams.js.map +1 -0
  439. package/translations/resolveTranslationKey.d.ts +10 -0
  440. package/translations/resolveTranslationKey.js +14 -0
  441. package/translations/resolveTranslationKey.js.map +1 -0
  442. package/types/accordion.d.ts +18 -18
  443. package/types/alert.d.ts +4 -6
  444. package/types/avatar.d.ts +6 -6
  445. package/types/box.d.ts +4 -6
  446. package/types/breadcrumbs.d.ts +2 -2
  447. package/types/button.d.ts +9 -11
  448. package/types/card.d.ts +9 -9
  449. package/types/card.js.map +1 -1
  450. package/types/controlButton.d.ts +8 -7
  451. package/types/drawer.d.ts +3 -3
  452. package/types/flex.d.ts +7 -8
  453. package/types/footer.d.ts +6 -7
  454. package/types/grid.d.ts +14 -12
  455. package/types/header.d.ts +16 -18
  456. package/types/heading.d.ts +4 -4
  457. package/types/hidden.d.ts +7 -6
  458. package/types/icon.d.ts +5 -3
  459. package/types/iconBox.d.ts +7 -6
  460. package/types/item.d.ts +3 -3
  461. package/types/link.d.ts +9 -8
  462. package/types/link.js.map +1 -1
  463. package/types/matrix.d.ts +3 -3
  464. package/types/modal.d.ts +7 -5
  465. package/types/navigation.d.ts +10 -5
  466. package/types/pill.d.ts +3 -3
  467. package/types/pricingPlan.d.ts +2 -2
  468. package/types/section.d.ts +6 -5
  469. package/types/shared/dialogs.d.ts +6 -3
  470. package/types/shared/element.d.ts +5 -7
  471. package/types/shared/index.d.ts +4 -3
  472. package/types/shared/index.js +1 -0
  473. package/types/shared/index.js.map +1 -1
  474. package/types/shared/polymorphic.d.ts +13 -0
  475. package/types/shared/polymorphic.js +2 -0
  476. package/types/shared/polymorphic.js.map +1 -0
  477. package/types/shared/shared.cjs.map +1 -1
  478. package/types/skeleton.d.ts +9 -6
  479. package/types/spinner.d.ts +1 -1
  480. package/types/stack.d.ts +12 -10
  481. package/types/tabs.d.ts +6 -5
  482. package/types/tag.d.ts +3 -3
  483. package/types/text.d.ts +3 -3
  484. package/types/tooltip.d.ts +23 -21
  485. package/types/tooltip.js.map +1 -1
  486. package/types/types.cjs.map +1 -1
  487. package/types/unstableHeader.d.ts +9 -7
  488. package/types/visuallyHidden.d.ts +4 -4
  489. package/utils/mergeStyleProps.js +4 -1
  490. package/utils/mergeStyleProps.js.map +1 -1
  491. package/utils/utils.cjs +4 -1
  492. package/utils/utils.cjs.map +1 -1
  493. package/components/Matrix/constant.js.map +0 -1
  494. package/components/Modal/constants.d.ts +0 -1
  495. package/components/Modal/constants.js +0 -2
  496. package/components/Modal/constants.js.map +0 -1
  497. package/components/Pagination/constants.d.ts +0 -3
  498. package/components/Pagination/constants.js +0 -4
  499. package/components/Pagination/constants.js.map +0 -1
  500. package/components/SplitButton/constants.d.ts +0 -1
  501. package/components/SplitButton/constants.js +0 -2
  502. package/components/SplitButton/constants.js.map +0 -1
  503. package/components/TextFieldBase/constants.d.ts +0 -2
  504. package/components/TextFieldBase/constants.js +0 -3
  505. package/components/TextFieldBase/constants.js.map +0 -1
  506. /package/components/Matrix/{constant.d.ts → constants.d.ts} +0 -0
@@ -1,7 +1,3 @@
1
- import React from 'react';
2
- declare const TextFieldBase: React.ForwardRefExoticComponent<(Omit<{
3
- label: React.ReactNode;
4
- } & import("../..").ChildrenProps & import("../..").TextFieldBaseMultiLineProps & import("../..").TextFieldProps<void>, "ref"> | Omit<{
5
- label: React.ReactNode;
6
- } & import("../..").ChildrenProps & import("../..").TextFieldBaseMultiLineProps & import("../..").TextAreaProps<void>, "ref">) & React.RefAttributes<HTMLTextAreaElement | HTMLInputElement>>;
1
+ import { type ForwardRefComponent, type SpiritTextFieldBaseProps } from '../../types';
2
+ declare const TextFieldBase: ForwardRefComponent<HTMLInputElement | HTMLTextAreaElement, SpiritTextFieldBaseProps>;
7
3
  export default TextFieldBase;
@@ -40,5 +40,6 @@ const _TextFieldBase = (props, ref) => {
40
40
  };
41
41
  const TextFieldBase = forwardRef(_TextFieldBase);
42
42
  TextFieldBase.spiritComponent = 'TextFieldBase';
43
+ TextFieldBase.displayName = 'TextFieldBase';
43
44
  export default TextFieldBase;
44
45
  //# sourceMappingURL=TextFieldBase.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextFieldBase.js","sourceRoot":"","sources":["../../../src/components/TextFieldBase/TextFieldBase.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;AAEb,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAqB,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEhE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,cAA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AI,IAAI;QAC/G,oBAAC,UAAU,IACT,gBAAgB,EAAE,UAAU,CAAC,UAAU,EACvC,EAAE,EAAE,GAAG,EAAE,cAAc,EACvB,YAAY,EAAE,QAAQ,EACtB,UAAU,EAAE,UAAU,GACtB;QACD,eAAe,IAAI,CAClB,oBAAC,cAAc,kBACb,gBAAgB,EAAE,UAAU,CAAC,cAAc,EAC3C,WAAW,EAAC,MAAM,IACd,CAAC,iBAAiB,IAAI,EAAE,sBAAsB,EAAE,eAAe,EAAE,CAAC,IACtE,EAAE,EAAE,GAAG,EAAE,kBAAkB,EAC3B,cAAc,EAAE,cAAc,EAC9B,YAAY,EAAE,QAAQ,EACtB,IAAI,EAAE,kBAAkB,IACxB,CACH,CACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,UAAU,CAC9B,cAAc,CAC0E,CAAC;AAE3F,aAAa,CAAC,eAAe,GAAG,eAAe,CAAC;AAChD,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC;AAE5C,eAAe,aAAa,CAAC"}
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
- import { type SpiritTextFieldBaseInputProps } from '../../types';
3
- declare const TextFieldBaseInput: React.ForwardRefExoticComponent<SpiritTextFieldBaseInputProps & React.RefAttributes<HTMLTextAreaElement | HTMLInputElement>>;
1
+ import { type ForwardRefComponent, type SpiritTextFieldBaseInputProps } from '../../types';
2
+ declare const TextFieldBaseInput: ForwardRefComponent<HTMLInputElement | HTMLTextAreaElement, SpiritTextFieldBaseInputProps>;
4
3
  export default TextFieldBaseInput;
@@ -17,11 +17,12 @@ const _TextFieldBaseInput = (props, ref) => {
17
17
  const { classProps, props: modifiedProps } = useTextFieldBaseInputStyleProps(props);
18
18
  const { id, isDisabled, isMultiline, isRequired, inputWidth, type } = modifiedProps, restProps = __rest(modifiedProps, ["id", "isDisabled", "isMultiline", "isRequired", "inputWidth", "type"]);
19
19
  const { props: otherProps } = useStyleProps(restProps);
20
- const ElementType = isMultiline ? 'textarea' : 'input';
20
+ const Component = isMultiline ? 'textarea' : 'input';
21
21
  const inputType = isMultiline ? undefined : type;
22
- return (React.createElement(ElementType, Object.assign({}, otherProps, { className: classProps.input, disabled: isDisabled, id: id, required: isRequired, size: inputWidth, type: inputType, ref: ref })));
22
+ return (React.createElement(Component, Object.assign({}, otherProps, { className: classProps.input, disabled: isDisabled, id: id, required: isRequired, size: inputWidth, type: inputType, ref: ref })));
23
23
  };
24
24
  const TextFieldBaseInput = forwardRef(_TextFieldBaseInput);
25
25
  TextFieldBaseInput.spiritComponent = 'TextFieldBaseInput';
26
+ TextFieldBaseInput.displayName = 'TextFieldBaseInput';
26
27
  export default TextFieldBaseInput;
27
28
  //# sourceMappingURL=TextFieldBaseInput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextFieldBaseInput.js","sourceRoot":"","sources":["../../../src/components/TextFieldBase/TextFieldBaseInput.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;AAEb,OAAO,KAAK,EAAE,EAAuD,UAAU,EAAE,MAAM,OAAO,CAAC;AAC/F,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAEpF,MAAM,mBAAmB,GAAG,CAC1B,KAAoC,EACpC,GAAyD,EACzD,EAAE;IACF,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,GAAG,+BAA+B,CAAC,KAAK,CAAC,CAAC;IACpF,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,IAAI,KAAmB,aAAa,EAA3B,SAAS,UAAK,aAAa,EAA3F,uEAA2E,CAAgB,CAAC;IAClG,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,aAAa,CAAC,SAAS,CAAC,CAAC;IAEvD,MAAM,WAAW,GAAgB,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,CAA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AC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC;IAClE,MAAM,SAAS,GAAG,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC;IAEjD,OAAO,CACL,oBAAC,SAAS,oBACJ,UAAU,IACd,SAAS,EAAE,UAAU,CAAC,KAAK,EAC3B,QAAQ,EAAE,UAAU,EACpB,EAAE,EAAE,EAAE,EACN,QAAQ,EAAE,UAAU,EACpB,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,SAAS,EACf,GAAG,EAAE,GAAwD,IAC7D,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG,UAAU,CACnC,mBAAmB,CACqF,CAAC;AAE3G,kBAAkB,CAAC,eAAe,GAAG,oBAAoB,CAAC;AAC1D,kBAAkB,CAAC,WAAW,GAAG,oBAAoB,CAAC;AAEtD,eAAe,kBAAkB,CAAC"}
@@ -1,15 +1,14 @@
1
1
  'use client';
2
2
  import React from 'react';
3
3
  import { Sizes } from "../../constants/index.js";
4
+ import { useI18n } from "../../hooks/index.js";
4
5
  import { Icon } from "../Icon/index.js";
5
- import { TEXT_FIELD_BASE_PASSWORD_TOGGLE_HIDE_LABEL_DEFAULT, TEXT_FIELD_BASE_PASSWORD_TOGGLE_SHOW_LABEL_DEFAULT, } from "./constants.js";
6
6
  import { useTextFieldBasePasswordToggleStyleProps } from "./useTextFieldBasePasswordToggleStyleProps.js";
7
7
  const TextFieldBasePasswordToggle = (props) => {
8
+ const { t } = useI18n();
8
9
  const { children, isPasswordShown, onToggleClick, isDisabled, size } = props;
9
10
  const { classProps } = useTextFieldBasePasswordToggleStyleProps();
10
- const ariaLabel = isPasswordShown
11
- ? TEXT_FIELD_BASE_PASSWORD_TOGGLE_HIDE_LABEL_DEFAULT
12
- : TEXT_FIELD_BASE_PASSWORD_TOGGLE_SHOW_LABEL_DEFAULT;
11
+ const ariaLabel = isPasswordShown ? t('textField.password.hide') : t('textField.password.show');
13
12
  return (React.createElement("div", { className: classProps.passwordToggle },
14
13
  children,
15
14
  React.createElement("button", { className: classProps.passwordToggleButton, type: "button", role: "switch", "aria-checked": !!isPasswordShown, "aria-label": ariaLabel, onClick: () => onToggleClick(), disabled: isDisabled },
@@ -1 +1 @@
1
- {"version":3,"file":"TextFieldBasePasswordToggle.js","sourceRoot":"","sources":["../../../src/components/TextFieldBase/TextFieldBasePasswordToggle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EACL,kDAAkD,EAClD,kDAAkD,GACnD,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,wCAAwC,EAAE,MAAM,4CAA4C,CAAC;AAEtG,MAAM,2BAA2B,GAAG,CAAC,KAA6C,EAAe,EAAE;IACjG,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,aAAa,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAC7E,MAAM,EAAE,UAAU,EAAE,GAAG,wCAAwC,EAAE,CAAC;IAClE,MAAM,SAAS,GAAG,eAAe;QAC/B,CAAC,CAAC,kDAAkD;QACpD,CAAC,CAAC,kDAAkD,CAAC;IAEvD,OAAO,CACL,6BAAK,SAAS,EAAE,UAAU,CAAC,cAAc;QACtC,QAAQ;QACT,gCACE,SAAS,EAAE,UAAU,CAAC,oBAAoB,EAC1C,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,QAAQ,kBACC,CAAC,CAAC,eAAe,gBACnB,SAAS,EACrB,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,EAAE,EAC9B,QAAQ,EAAE,UAAU;YAEpB,8BAAM,SAAS,EAAE,UAAU,CAAC,kBAAkB;gBAC5C,oBAAC,IAAI,IAAC,IAAI,EAAE,cAAc,eAAe,CAAC,CAAC,CA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E,GAAG,EAAE,CAAC,aAAa,EAAE,EAC9B,QAAQ,EAAE,UAAU;YAEpB,8BAAM,SAAS,EAAE,UAAU,CAAC,kBAAkB;gBAC5C,oBAAC,IAAI,IAAC,IAAI,EAAE,cAAc,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,KAAK,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAI,CAClG,CACA,CACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,2BAA2B,CAAC,eAAe,GAAG,6BAA6B,CAAC;AAE5E,eAAe,2BAA2B,CAAC"}
@@ -142,8 +142,11 @@ const isEmpty = (value) => {
142
142
 
143
143
  const applyClassNamePrefix = (prefix) => (className) => prefix != null && prefix !== '' ? `${prefix}-${className}` : className;
144
144
 
145
+ function hasSpiritComponent(elementTag) {
146
+ return typeof elementTag !== 'string' && elementTag !== null && 'spiritComponent' in elementTag;
147
+ }
145
148
  function mergeStyleProps(ElementTag, styleProps) {
146
- const isSpiritComponent = typeof ElementTag !== 'string' && !!(ElementTag === null || ElementTag === void 0 ? void 0 : ElementTag.spiritComponent);
149
+ const isSpiritComponent = hasSpiritComponent(ElementTag);
147
150
  const isNonNullableObject = (styleProp) => typeof styleProp === 'object' && styleProp !== null;
148
151
  const extractClassNames = (styleProp) => {
149
152
  if (typeof styleProp === 'string') {
@@ -256,8 +259,10 @@ const processProperties = (utilityKey, utilityName, propValue, prefix) => {
256
259
  };
257
260
  const isStylePropProcessable = (styleProps, stylePropKey, stylePropValue, options = { includesKey: true }) => {
258
261
  const isStylePropKeyIncluded = isKeyIncluded(styleProps, stylePropKey);
259
- const isProcessable = (options.includesKey ? isStylePropKeyIncluded : !isStylePropKeyIncluded) && !isEmpty(stylePropValue);
260
- return isProcessable;
262
+ if (options.includesKey) {
263
+ return isStylePropKeyIncluded && !isEmpty(stylePropValue);
264
+ }
265
+ return !isStylePropKeyIncluded;
261
266
  };
262
267
  const useStyleUtilities = (props, prefix = '', additionalProps = {}) => {
263
268
  const styleProps = Object.assign(Object.assign(Object.assign(Object.assign({}, SpacingStyleProp), DisplayStyleProps), ThemeStyleProps), additionalProps);
@@ -1 +1 @@
1
- {"version":3,"file":"Timeline.cjs","sources":["../../common/constants/environments.js","../../common/utilities/warning.js","../../constants/dictionaries.js","../../constants/direction.js","../../constants/style.js","../../context/ClassNamePrefixContext.js","../../types/card.js","../../types/shared/style.js","../../types/shared/tokens.js","../../types/shared/index.js","../../utils/assert.js","../../utils/classname.js","../../utils/mergeStyleProps.js","../../utils/responsive.js","../../utils/string.js","../../hooks/useStyleUtilities.js","../../hooks/styleProps.js","../../hooks/useClassNamePrefix.js","../../context/IconsContext.js","constants.js","useTimelineStyleProps.js","Timeline.js","TimelineContent.js","TimelineHeading.js","TimelineMarker.js","TimelineStep.js"],"sourcesContent":["export const ENVIRONMENTS = {\n DEVELOPMENT: 'development',\n TESTING: 'testing',\n PRODUCTION: 'production',\n};\nexport const isDevelopment = () => process.env.NODE_ENV === ENVIRONMENTS.DEVELOPMENT;\nexport const isTesting = () => process.env.NODE_ENV === ENVIRONMENTS.TESTING;\nexport const isProduction = () => process.env.NODE_ENV === ENVIRONMENTS.PRODUCTION;\n//# sourceMappingURL=environments.js.map","import { isProduction } from \"../constants/environments.js\";\nconst warning = (condition, message) => {\n if (!isProduction()) {\n if (condition) {\n return;\n }\n const text = `Warning: ${message}`;\n if (typeof console !== 'undefined') {\n console.warn(text);\n }\n try {\n throw Error(text);\n }\n catch (x) {\n }\n }\n};\nexport default warning;\n//# sourceMappingURL=warning.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { componentColors, containers, emotionColors, textColors } from '@alma-oss/spirit-design-tokens';\nfunction createUppercaseKeyDictionary(obj) {\n return Object.fromEntries(Object.keys(obj).map((key) => [key.toUpperCase(), key]));\n}\nexport const AlignmentX = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n};\nexport const AlignmentXExtended = Object.assign({ SPACE_BETWEEN: 'space-between', STRETCH: 'stretch' }, AlignmentX);\nexport const AlignmentY = {\n TOP: 'top',\n CENTER: 'center',\n BOTTOM: 'bottom',\n};\nexport const AlignmentYExtended = Object.assign({ BASELINE: 'baseline', STRETCH: 'stretch' }, AlignmentY);\nexport const TextAlignments = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n};\nexport const BorderColors = {\n BASIC: 'basic',\n};\nexport const BorderRadii = {\n 0: '0',\n 100: '100',\n 200: '200',\n 300: '300',\n 400: '400',\n 500: '500',\n FULL: 'full',\n};\nexport const BorderStyles = {\n SOLID: 'solid',\n DOTTED: 'dotted',\n DASHED: 'dashed',\n};\nexport const BorderWidths = {\n 0: '0',\n 100: '100',\n 200: '200',\n};\nexport const BackgroundColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n};\nexport const ComponentButtonColors = createUppercaseKeyDictionary(componentColors.button);\nexport const EmotionColors = createUppercaseKeyDictionary(emotionColors);\nexport const LinkColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n};\nexport const TextColors = createUppercaseKeyDictionary(textColors);\nexport const Intensity = {\n BASIC: 'basic',\n SUBTLE: 'subtle',\n};\nexport const Emphasis = {\n REGULAR: 'regular',\n SEMIBOLD: 'semibold',\n BOLD: 'bold',\n ITALIC: 'italic',\n};\nexport const BackgroundGradients = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n};\nexport const Placements = {\n TOP: 'top',\n TOP_START: 'top-start',\n TOP_END: 'top-end',\n BOTTOM: 'bottom',\n BOTTOM_START: 'bottom-start',\n BOTTOM_END: 'bottom-end',\n LEFT: 'left',\n LEFT_START: 'left-start',\n LEFT_END: 'left-end',\n RIGHT: 'right',\n RIGHT_START: 'right-start',\n RIGHT_END: 'right-end',\n};\nexport const Sizes = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n};\nexport const SizesExtended = Object.assign(Object.assign({ XSMALL: 'xsmall' }, Sizes), { XLARGE: 'xlarge' });\nconst _a = createUppercaseKeyDictionary(containers), { MAXWIDTH, PADDING } = _a, ContainerTokenSizes = __rest(_a, [\"MAXWIDTH\", \"PADDING\"]);\nexport { ContainerTokenSizes };\nexport const ValidationStates = {\n SUCCESS: 'success',\n WARNING: 'warning',\n DANGER: 'danger',\n};\nexport const FillVariants = {\n FILL: 'fill',\n OUTLINE: 'outline',\n};\nexport const ShapeVariants = {\n BOX: 'box',\n PILL: 'pill',\n};\n//# sourceMappingURL=dictionaries.js.map","export const Direction = {\n HORIZONTAL: 'horizontal',\n VERTICAL: 'vertical',\n};\nexport const DirectionExtended = Object.assign(Object.assign({}, Direction), { HORIZONTAL_REVERSED: 'horizontal-reversed' });\nexport var DirectionAxis;\n(function (DirectionAxis) {\n DirectionAxis[\"X\"] = \"x\";\n DirectionAxis[\"Y\"] = \"y\";\n})(DirectionAxis || (DirectionAxis = {}));\nexport const isDirectionHorizontal = (direction) => direction === Direction.HORIZONTAL;\n//# sourceMappingURL=direction.js.map","export const BackgroundStyleProps = {\n backgroundGradient: 'bg-gradient',\n};\nexport const BorderRadiusStyleProps = {\n borderRadius: 'rounded',\n};\nexport const SpacingStyleProp = {\n margin: 'm',\n marginTop: 'mt',\n marginRight: 'mr',\n marginBottom: 'mb',\n marginLeft: 'ml',\n marginX: 'mx',\n marginY: 'my',\n};\nexport const PaddingStyleProps = {\n padding: 'p',\n paddingBottom: 'pb',\n paddingLeft: 'pl',\n paddingRight: 'pr',\n paddingTop: 'pt',\n paddingX: 'px',\n paddingY: 'py',\n};\nexport const TextStyleProps = {\n isTextBalanced: 'text-wrap-pretty',\n textAlignment: 'text',\n textHyphens: 'text-hyphens',\n textWordBreak: 'text-word-break',\n};\nexport const HeadingStyleProps = {\n isTextBalanced: 'text-wrap-balance',\n};\nexport const DisplayStyleProps = {\n hideOn: 'd',\n hideFrom: 'd',\n};\nexport const ThemeStyleProps = {\n theme: '',\n};\n//# sourceMappingURL=style.js.map","'use client';\nimport { createContext } from 'react';\nconst defaultContext = undefined;\nconst ClassNamePrefixContext = createContext(defaultContext);\nconst ClassNamePrefixProvider = ClassNamePrefixContext.Provider;\nconst ClassNamePrefixConsumer = ClassNamePrefixContext.Consumer;\nexport default ClassNamePrefixContext;\nexport { ClassNamePrefixConsumer, ClassNamePrefixProvider };\n//# sourceMappingURL=ClassNamePrefixContext.js.map","import { Sizes } from \"../constants/index.js\";\nexport const CardSizes = Object.assign(Object.assign({}, Sizes), { AUTO: 'auto' });\n//# sourceMappingURL=card.js.map","export const STYLE_SPACING_AUTO = 'auto';\n//# sourceMappingURL=style.js.map","export const BREAKPOINT_MOBILE = 'mobile';\n//# sourceMappingURL=tokens.js.map","export * from \"./adornments.js\";\nexport * from \"./buttons.js\";\nexport * from \"./colors.js\";\nexport * from \"./columns.js\";\nexport * from \"./dialogs.js\";\nexport * from \"./dictionaries.js\";\nexport * from \"./directions.js\";\nexport * from \"./dragAndDrop.js\";\nexport * from \"./element.js\";\nexport * from \"./events.js\";\nexport * from \"./inputs.js\";\nexport * from \"./item.js\";\nexport * from \"./positions.js\";\nexport * from \"./radii.js\";\nexport * from \"./refs.js\";\nexport * from \"./responsive.js\";\nexport * from \"./rest.js\";\nexport * from \"./sizes.js\";\nexport * from \"./style.js\";\nexport * from \"./text.js\";\nexport * from \"./tokens.js\";\nexport var SpiritBreakpoints;\n(function (SpiritBreakpoints) {\n SpiritBreakpoints[\"TABLET\"] = \"tablet\";\n SpiritBreakpoints[\"DESKTOP\"] = \"desktop\";\n})(SpiritBreakpoints || (SpiritBreakpoints = {}));\n//# sourceMappingURL=index.js.map","export const isNullish = (value) => value == null;\nexport const isEmptyString = (value) => typeof value === 'string' && value.trim() === '';\nexport const isEmptyArray = (value) => Array.isArray(value) && value.length === 0;\nexport const isEmptyObject = (value) => typeof value === 'object' && value !== null && Object.keys(value).length === 0;\nexport const isEnumerable = (value) => {\n if (typeof value === 'object' && value !== null) {\n for (const key in value) {\n if (Object.hasOwnProperty.call(value, key)) {\n return true;\n }\n }\n }\n return false;\n};\nexport const isEmpty = (value) => {\n if (isNullish(value)) {\n return true;\n }\n if (isEmptyString(value)) {\n return true;\n }\n if (isEmptyArray(value)) {\n return true;\n }\n if (isEmptyObject(value)) {\n return true;\n }\n if (isEnumerable(value)) {\n return false;\n }\n return false;\n};\n//# sourceMappingURL=assert.js.map","export const applyClassNamePrefix = (prefix) => (className) => prefix != null && prefix !== '' ? `${prefix}-${className}` : className;\nexport const applyColor = (color) => (className) => `${className}--${color}`;\nexport const applySize = (size) => (className) => `${className}--${size}`;\nexport const applyTheme = (theme) => (className) => `${className}--${theme}`;\n//# sourceMappingURL=classname.js.map","export function mergeStyleProps(ElementTag, styleProps) {\n const isSpiritComponent = typeof ElementTag !== 'string' && !!(ElementTag === null || ElementTag === void 0 ? void 0 : ElementTag.spiritComponent);\n const isNonNullableObject = (styleProp) => typeof styleProp === 'object' && styleProp !== null;\n const extractClassNames = (styleProp) => {\n if (typeof styleProp === 'string') {\n return [styleProp];\n }\n if (isNonNullableObject(styleProp)) {\n return [styleProp.className, styleProp.UNSAFE_className].filter(Boolean);\n }\n return [];\n };\n const extractCssVariables = (styleProp) => isNonNullableObject(styleProp)\n ? Object.entries(styleProp)\n .filter(([key]) => key.startsWith('--'))\n .reduce((extractedCssVariable, [key, value]) => (Object.assign(Object.assign({}, extractedCssVariable), { [key]: value })), {})\n : {};\n const extractCssStylesAndVariables = (cssProperties, styleProp) => {\n if (!isNonNullableObject(styleProp)) {\n return cssProperties;\n }\n const typedStyleProp = styleProp;\n const styles = typedStyleProp.style || typedStyleProp.UNSAFE_style || {};\n const cssVariables = extractCssVariables(styleProp);\n return Object.assign(Object.assign(Object.assign({}, cssProperties), styles), cssVariables);\n };\n const mergedClasses = Object.values(styleProps).flatMap(extractClassNames).filter(Boolean).join(' ');\n const mergedStyles = Object.values(styleProps)\n .filter(isNonNullableObject)\n .reduce(extractCssStylesAndVariables, {});\n return isSpiritComponent\n ? { UNSAFE_className: mergedClasses, UNSAFE_style: mergedStyles }\n : { className: mergedClasses, style: mergedStyles };\n}\n//# sourceMappingURL=mergeStyleProps.js.map","export function isResponsive(value) {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\nexport function generateResponsiveClassNames(componentClass, value) {\n if (!value) {\n return [];\n }\n if (isResponsive(value)) {\n return Object.entries(value)\n .map(([breakpoint, breakpointValue]) => {\n if (breakpointValue === undefined) {\n return '';\n }\n if (breakpoint === 'mobile') {\n return `${componentClass}--${breakpointValue}`;\n }\n return `${componentClass}--${breakpoint}--${breakpointValue}`;\n })\n .filter((className) => className !== '');\n }\n return [`${componentClass}--${value}`];\n}\n//# sourceMappingURL=responsive.js.map","export const camelCaseToKebabCase = (input) => input.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\nexport const kebabCaseToCamelCase = (input) => input.replace(/-([a-z])/g, (g) => g[1].toUpperCase());\nexport const kebabCaseToCamelCaseValues = (input) => {\n if (typeof input === 'object' && input !== null) {\n const result = {};\n for (const [key, value] of Object.entries(input)) {\n result[key] = typeof value === 'string' ? kebabCaseToCamelCase(value) : value;\n }\n return result;\n }\n return input;\n};\nexport const stringOrObjectKebabCaseToCamelCase = (input) => {\n if (typeof input === 'string') {\n return kebabCaseToCamelCase(input);\n }\n if (typeof input === 'object' && input !== null) {\n return kebabCaseToCamelCaseValues(input);\n }\n return input;\n};\n//# sourceMappingURL=string.js.map","import { SpacingStyleProp as DefaultSpacingStyleProp, DisplayStyleProps, ThemeStyleProps } from \"../constants/index.js\";\nimport { BREAKPOINT_MOBILE, STYLE_SPACING_AUTO, } from \"../types/index.js\";\nimport { applyClassNamePrefix, camelCaseToKebabCase, isEmpty } from \"../utils/index.js\";\nconst CLASS_SEPARATOR = '-';\nconst normalizeSpacingValue = (value) => value === STYLE_SPACING_AUTO ? STYLE_SPACING_AUTO : value.replace(/[^0-9]/g, '');\nconst isSpaceToken = (value) => typeof value === 'string' && value.startsWith('space-');\nconst getUtilityValue = (value) => (isSpaceToken(value) ? normalizeSpacingValue(value) : value);\nconst isKeyIncluded = (object, key) => Object.keys(object).includes(key);\nconst processBreakpointProperties = (utilityName, propValue, prefix) => Object.keys(propValue).reduce((accumulatedBreakpointUtilities, breakpoint) => {\n const breakpointValue = propValue[breakpoint];\n if (typeof breakpointValue === 'string') {\n const utilityValue = getUtilityValue(breakpointValue);\n const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `${CLASS_SEPARATOR}${breakpoint}`;\n accumulatedBreakpointUtilities.push(applyClassNamePrefix(prefix)(`${utilityName}${infix}${CLASS_SEPARATOR}${utilityValue}`));\n }\n return accumulatedBreakpointUtilities;\n}, []);\nconst processHideOnProperty = (utilityName, propValue, prefix) => {\n const breakpoints = Array.isArray(propValue) ? propValue : [propValue];\n return breakpoints.map((breakpoint) => applyClassNamePrefix(prefix)(`${utilityName}${CLASS_SEPARATOR}only${CLASS_SEPARATOR}${breakpoint}${CLASS_SEPARATOR}none`));\n};\nconst processHideFromProperty = (utilityName, propValue, prefix) => {\n const breakpoint = propValue;\n const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `${CLASS_SEPARATOR}${breakpoint}`;\n return [applyClassNamePrefix(prefix)(`${utilityName}${infix}${CLASS_SEPARATOR}none`)];\n};\nconst processDisplayProperties = (utilityKey, utilityName, propValue, prefix) => {\n switch (utilityKey) {\n case 'hideOn':\n return processHideOnProperty(utilityName, propValue, prefix);\n case 'hideFrom':\n return processHideFromProperty(utilityName, propValue, prefix);\n default:\n return [];\n }\n};\nconst processProperties = (utilityKey, utilityName, propValue, prefix) => {\n if (utilityName === ThemeStyleProps.theme) {\n if (typeof propValue !== 'string') {\n return [];\n }\n const themeClassName = camelCaseToKebabCase(propValue);\n return [applyClassNamePrefix(prefix)(themeClassName)];\n }\n if (utilityKey in DisplayStyleProps) {\n return processDisplayProperties(utilityKey, utilityName, propValue, prefix);\n }\n if (typeof propValue === 'boolean') {\n return propValue ? [applyClassNamePrefix(prefix)(utilityName)] : [];\n }\n if (typeof propValue === 'string') {\n return [applyClassNamePrefix(prefix)(`${utilityName}-${getUtilityValue(propValue)}`)];\n }\n return processBreakpointProperties(utilityName, propValue, prefix);\n};\nconst isStylePropProcessable = (styleProps, stylePropKey, stylePropValue, options = { includesKey: true }) => {\n const isStylePropKeyIncluded = isKeyIncluded(styleProps, stylePropKey);\n const isProcessable = (options.includesKey ? isStylePropKeyIncluded : !isStylePropKeyIncluded) && !isEmpty(stylePropValue);\n return isProcessable;\n};\nexport const useStyleUtilities = (props, prefix = '', additionalProps = {}) => {\n const styleProps = Object.assign(Object.assign(Object.assign(Object.assign({}, DefaultSpacingStyleProp), DisplayStyleProps), ThemeStyleProps), additionalProps);\n const propEntries = Object.entries(props);\n const styleUtilities = propEntries.reduce((accumulatedUtilities, [key, propValue]) => {\n if (isStylePropProcessable(styleProps, key, propValue)) {\n const utilityName = styleProps[key];\n return [\n ...accumulatedUtilities,\n ...processProperties(key, utilityName, propValue, prefix),\n ];\n }\n return accumulatedUtilities;\n }, []);\n const updatedProps = propEntries.reduce((accumulatedProps, [key, propValue]) => {\n if (isStylePropProcessable(styleProps, key, propValue, { includesKey: false })) {\n return Object.assign(Object.assign({}, accumulatedProps), { [key]: propValue });\n }\n return accumulatedProps;\n }, {});\n return {\n styleUtilities,\n props: updatedProps,\n };\n};\n//# sourceMappingURL=useStyleUtilities.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport { useContext } from 'react';\nimport { warning } from \"../common/utilities/index.js\";\nimport { ThemeStyleProps } from \"../constants/index.js\";\nimport ClassNamePrefixContext from \"../context/ClassNamePrefixContext.js\";\nimport { useStyleUtilities } from \"./useStyleUtilities.js\";\nexport function useStyleProps(props, additionalUtilities) {\n const classNamePrefix = useContext(ClassNamePrefixContext);\n const { UNSAFE_className, UNSAFE_style } = props, otherProps = __rest(props, [\"UNSAFE_className\", \"UNSAFE_style\"]);\n const styleUtilitiesConfig = Object.assign({ theme: ThemeStyleProps.theme }, (additionalUtilities !== null && additionalUtilities !== void 0 ? additionalUtilities : {}));\n const { styleUtilities, props: modifiedProps } = useStyleUtilities(otherProps, classNamePrefix, styleUtilitiesConfig);\n const style = Object.assign({}, UNSAFE_style);\n if (modifiedProps.className) {\n warning(false, 'The className prop is unsafe and is unsupported in Spirit Web React. ' +\n 'Please use style props with Spirit Design Tokens, or UNSAFE_className if you absolutely must do something custom. ' +\n 'Note that this may break in future versions due to DOM structure changes.');\n delete modifiedProps.className;\n }\n if (modifiedProps.style) {\n warning(false, 'The style prop is unsafe and is unsupported in Spirit Web React. ' +\n 'Please use style props with Spirit Design Tokens, or UNSAFE_style if you absolutely must do something custom. ' +\n 'Note that this may break in future versions due to DOM structure changes.');\n delete modifiedProps.style;\n }\n const styleProps = {\n style: Object.keys(style).length > 0 ? style : undefined,\n className: classNames(UNSAFE_className, ...styleUtilities) || undefined,\n };\n return {\n styleProps,\n props: modifiedProps,\n };\n}\n//# sourceMappingURL=styleProps.js.map","'use client';\nimport { useContext } from 'react';\nimport ClassNamePrefixContext from \"../context/ClassNamePrefixContext.js\";\nimport { applyClassNamePrefix } from \"../utils/classname.js\";\nexport const useClassNamePrefix = (className) => {\n const classNamePrefix = useContext(ClassNamePrefixContext);\n let prefixedClassName = className;\n if (className && classNamePrefix) {\n prefixedClassName = applyClassNamePrefix(classNamePrefix)(className);\n }\n else if (classNamePrefix) {\n prefixedClassName = classNamePrefix;\n }\n return prefixedClassName;\n};\n//# sourceMappingURL=useClassNamePrefix.js.map","'use client';\nimport { createContext } from 'react';\nconst defaultContext = undefined;\nconst IconsContext = createContext(defaultContext);\nconst IconsProvider = IconsContext.Provider;\nconst IconsConsumer = IconsContext.Consumer;\nexport default IconsContext;\nexport { IconsConsumer, IconsProvider };\n//# sourceMappingURL=IconsContext.js.map","import { Sizes } from \"../../constants/index.js\";\nexport const TIMELINE_MARKER = {\n DOT: 'dot',\n NUMBER: 'number',\n ICON: 'icon',\n};\nexport const TIMELINE_SIZE_DEFAULT = Sizes.SMALL;\n//# sourceMappingURL=constants.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport { useClassNamePrefix } from \"../../hooks/index.js\";\nimport { generateResponsiveClassNames } from \"../../utils/index.js\";\nimport { TIMELINE_MARKER, TIMELINE_SIZE_DEFAULT } from \"./constants.js\";\nexport function useTimelineStyleProps(props) {\n const _a = props || {}, { markerBackgroundColor, markerBorderColor, markerTextColor, markerVariant, markerSize = TIMELINE_SIZE_DEFAULT } = _a, restProps = __rest(_a, [\"markerBackgroundColor\", \"markerBorderColor\", \"markerTextColor\", \"markerVariant\", \"markerSize\"]);\n const timelineClass = useClassNamePrefix('Timeline');\n const contentClass = `${timelineClass}Content`;\n const headingClass = `${timelineClass}Heading`;\n const markerClass = `${timelineClass}Marker`;\n const stepClass = `${timelineClass}Step`;\n const shouldApplyBackgroundAndBorderColors = markerVariant === TIMELINE_MARKER.DOT || markerVariant === TIMELINE_MARKER.NUMBER;\n const markerBackgroundPrefix = useClassNamePrefix(`bg-${markerBackgroundColor}`);\n const markerBorderClassPrefix = useClassNamePrefix(`border-${markerBorderColor}`);\n const markerTextColorClassPrefix = useClassNamePrefix(`text-${markerTextColor}`);\n const markerBackgroundClass = markerBackgroundColor ? markerBackgroundPrefix : '';\n const markerBorderClass = markerBorderColor ? markerBorderClassPrefix : '';\n const markerTextColorClass = markerTextColor ? markerTextColorClassPrefix : '';\n const markerClasses = classNames(markerClass, {\n [`${markerClass}--${markerVariant}`]: !!markerVariant,\n [markerBackgroundClass]: shouldApplyBackgroundAndBorderColors,\n [markerBorderClass]: shouldApplyBackgroundAndBorderColors,\n [markerTextColorClass]: !!markerTextColor,\n });\n const sizeClassNames = generateResponsiveClassNames(timelineClass, markerSize);\n const rootClasses = classNames(timelineClass, ...sizeClassNames);\n return {\n classProps: {\n content: contentClass,\n heading: headingClass,\n marker: markerClasses,\n root: rootClasses,\n step: stepClass,\n },\n props: restProps,\n };\n}\n//# sourceMappingURL=useTimelineStyleProps.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React from 'react';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { mergeStyleProps } from \"../../utils/index.js\";\nimport { TIMELINE_SIZE_DEFAULT } from \"./constants.js\";\nimport { useTimelineStyleProps } from \"./useTimelineStyleProps.js\";\nconst defaultProps = {\n elementType: 'ol',\n size: TIMELINE_SIZE_DEFAULT,\n};\nconst Timeline = (props) => {\n const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);\n const { elementType: ElementTag = 'ol', children, size } = propsWithDefaults, restProps = __rest(propsWithDefaults, [\"elementType\", \"children\", \"size\"]);\n const { classProps } = useTimelineStyleProps({ markerSize: size });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps, otherProps });\n return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps), children));\n};\nTimeline.spiritComponent = 'Timeline';\nexport default Timeline;\n//# sourceMappingURL=Timeline.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { useTimelineStyleProps } from \"./useTimelineStyleProps.js\";\nconst TimelineContent = (props) => {\n const { children } = props, restProps = __rest(props, [\"children\"]);\n const { classProps } = useTimelineStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n return (React.createElement(\"div\", Object.assign({}, otherProps, { className: classNames(classProps.content, styleProps.className), style: styleProps.style }), children));\n};\nTimelineContent.spiritComponent = 'TimelineContent';\nexport default TimelineContent;\n//# sourceMappingURL=TimelineContent.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { useTimelineStyleProps } from \"./useTimelineStyleProps.js\";\nconst TimelineHeading = (props) => {\n const { children } = props, restProps = __rest(props, [\"children\"]);\n const { classProps } = useTimelineStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n return (React.createElement(\"div\", Object.assign({}, otherProps, { className: classNames(classProps.heading, styleProps.className), style: styleProps.style }), children));\n};\nTimelineHeading.spiritComponent = 'TimelineHeading';\nexport default TimelineHeading;\n//# sourceMappingURL=TimelineHeading.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { TIMELINE_MARKER } from \"./constants.js\";\nimport { useTimelineStyleProps } from \"./useTimelineStyleProps.js\";\nconst defaultProps = {\n variant: 'number',\n};\nconst TimelineMarker = (props) => {\n const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);\n const { backgroundColor, borderColor, children, textColor, variant } = propsWithDefaults, restProps = __rest(propsWithDefaults, [\"backgroundColor\", \"borderColor\", \"children\", \"textColor\", \"variant\"]);\n const { classProps } = useTimelineStyleProps({\n markerBackgroundColor: backgroundColor,\n markerBorderColor: borderColor,\n markerTextColor: textColor,\n markerVariant: variant,\n });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n return (React.createElement(\"div\", Object.assign({}, otherProps, { className: classNames(classProps.marker, styleProps.className), style: styleProps.style, \"aria-hidden\": \"true\" }), variant !== TIMELINE_MARKER.DOT && children));\n};\nTimelineMarker.spiritComponent = 'TimelineMarker';\nexport default TimelineMarker;\n//# sourceMappingURL=TimelineMarker.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React from 'react';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { mergeStyleProps } from \"../../utils/index.js\";\nimport { useTimelineStyleProps } from \"./useTimelineStyleProps.js\";\nconst defaultProps = {\n elementType: 'li',\n};\nconst TimelineStep = (props) => {\n const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);\n const { elementType: ElementTag = 'li', children } = propsWithDefaults, restProps = __rest(propsWithDefaults, [\"elementType\", \"children\"]);\n const { classProps } = useTimelineStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.step, styleProps, otherProps });\n return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps), children));\n};\nTimelineStep.spiritComponent = 'TimelineStep';\nexport default TimelineStep;\n//# sourceMappingURL=TimelineStep.js.map"],"names":["__rest","this","componentColors","emotionColors","textColors","containers","defaultContext","createContext","DefaultSpacingStyleProp","useContext","defaultProps"],"mappings":";;;;;;;;AAAO,MAAM,YAAY,GAAG;AAC5B,IAEI,UAAU,EAAE,YAAY;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AAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACjC;AACA,IAAI,OAAO,CAAC;AACZ,CAAC;AAKD,MAAM,YAAY,GAAG;AACrB,IAAI,WAAW,EAAE,IAAI;AACrB,CAAC;AACI,MAAC,YAAY,GAAG,CAAC,KAAK,KAAK;AAChC,IAAI,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,YAAY,CAAC,EAAE,KAAK,CAAC;AACnF,IAAI,MAAM,EAAE,WAAW,EAAE,UAAU,GAAG,IAAI,EAAE,QAAQ,EAAE,GAAG,iBAAiB,EAAE,SAAS,GAAG,MAAM,CAAC,iBAAiB,EAAE,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;AAC9I,IAAI,MAAM,EAAE,UAAU,EAAE,GAAG,qBAAqB,EAAE;AAClD,IAAI,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,aAAa,CAAC,SAAS,CAAC;AACtE,IAAI,MAAM,gBAAgB,GAAG,eAAe,CAAC,UAAU,EAAE,EAAE,UAAU,EAAE,UAAU,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;AACjH,IAAI,QAAQ,KAAK,CAAC,aAAa,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,EAAE,QAAQ,CAAC;AACtG;AACA,YAAY,CAAC,eAAe,GAAG,cAAc;;;;;;;;;"}
1
+ {"version":3,"file":"Timeline.cjs","sources":["../../common/constants/environments.js","../../common/utilities/warning.js","../../constants/dictionaries.js","../../constants/direction.js","../../constants/style.js","../../context/ClassNamePrefixContext.js","../../types/card.js","../../types/shared/style.js","../../types/shared/tokens.js","../../types/shared/index.js","../../utils/assert.js","../../utils/classname.js","../../utils/mergeStyleProps.js","../../utils/responsive.js","../../utils/string.js","../../hooks/useStyleUtilities.js","../../hooks/styleProps.js","../../hooks/useClassNamePrefix.js","../../context/IconsContext.js","constants.js","useTimelineStyleProps.js","Timeline.js","TimelineContent.js","TimelineHeading.js","TimelineMarker.js","TimelineStep.js"],"sourcesContent":["export const ENVIRONMENTS = {\n DEVELOPMENT: 'development',\n TESTING: 'testing',\n PRODUCTION: 'production',\n};\nexport const isDevelopment = () => process.env.NODE_ENV === ENVIRONMENTS.DEVELOPMENT;\nexport const isTesting = () => process.env.NODE_ENV === ENVIRONMENTS.TESTING;\nexport const isProduction = () => process.env.NODE_ENV === ENVIRONMENTS.PRODUCTION;\n//# sourceMappingURL=environments.js.map","import { isProduction } from \"../constants/environments.js\";\nconst warning = (condition, message) => {\n if (!isProduction()) {\n if (condition) {\n return;\n }\n const text = `Warning: ${message}`;\n if (typeof console !== 'undefined') {\n console.warn(text);\n }\n try {\n throw Error(text);\n }\n catch (x) {\n }\n }\n};\nexport default warning;\n//# sourceMappingURL=warning.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { componentColors, containers, emotionColors, textColors } from '@alma-oss/spirit-design-tokens';\nfunction createUppercaseKeyDictionary(obj) {\n return Object.fromEntries(Object.keys(obj).map((key) => [key.toUpperCase(), key]));\n}\nexport const AlignmentX = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n};\nexport const AlignmentXExtended = Object.assign({ SPACE_BETWEEN: 'space-between', STRETCH: 'stretch' }, AlignmentX);\nexport const AlignmentY = {\n TOP: 'top',\n CENTER: 'center',\n BOTTOM: 'bottom',\n};\nexport const AlignmentYExtended = Object.assign({ BASELINE: 'baseline', STRETCH: 'stretch' }, AlignmentY);\nexport const TextAlignments = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n};\nexport const BorderColors = {\n BASIC: 'basic',\n};\nexport const BorderRadii = {\n 0: '0',\n 100: '100',\n 200: '200',\n 300: '300',\n 400: '400',\n 500: '500',\n FULL: 'full',\n};\nexport const BorderStyles = {\n SOLID: 'solid',\n DOTTED: 'dotted',\n DASHED: 'dashed',\n};\nexport const BorderWidths = {\n 0: '0',\n 100: '100',\n 200: '200',\n};\nexport const BackgroundColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n};\nexport const ComponentButtonColors = createUppercaseKeyDictionary(componentColors.button);\nexport const EmotionColors = createUppercaseKeyDictionary(emotionColors);\nexport const LinkColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n};\nexport const TextColors = createUppercaseKeyDictionary(textColors);\nexport const Intensity = {\n BASIC: 'basic',\n SUBTLE: 'subtle',\n};\nexport const Emphasis = {\n REGULAR: 'regular',\n SEMIBOLD: 'semibold',\n BOLD: 'bold',\n ITALIC: 'italic',\n};\nexport const BackgroundGradients = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n};\nexport const Placements = {\n TOP: 'top',\n TOP_START: 'top-start',\n TOP_END: 'top-end',\n BOTTOM: 'bottom',\n BOTTOM_START: 'bottom-start',\n BOTTOM_END: 'bottom-end',\n LEFT: 'left',\n LEFT_START: 'left-start',\n LEFT_END: 'left-end',\n RIGHT: 'right',\n RIGHT_START: 'right-start',\n RIGHT_END: 'right-end',\n};\nexport const Sizes = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n};\nexport const SizesExtended = Object.assign(Object.assign({ XSMALL: 'xsmall' }, Sizes), { XLARGE: 'xlarge' });\nconst _a = createUppercaseKeyDictionary(containers), { MAXWIDTH, PADDING } = _a, ContainerTokenSizes = __rest(_a, [\"MAXWIDTH\", \"PADDING\"]);\nexport { ContainerTokenSizes };\nexport const ValidationStates = {\n SUCCESS: 'success',\n WARNING: 'warning',\n DANGER: 'danger',\n};\nexport const FillVariants = {\n FILL: 'fill',\n OUTLINE: 'outline',\n};\nexport const ShapeVariants = {\n BOX: 'box',\n PILL: 'pill',\n};\n//# sourceMappingURL=dictionaries.js.map","export const Direction = {\n HORIZONTAL: 'horizontal',\n VERTICAL: 'vertical',\n};\nexport const DirectionExtended = Object.assign(Object.assign({}, Direction), { HORIZONTAL_REVERSED: 'horizontal-reversed' });\nexport var DirectionAxis;\n(function (DirectionAxis) {\n DirectionAxis[\"X\"] = \"x\";\n DirectionAxis[\"Y\"] = \"y\";\n})(DirectionAxis || (DirectionAxis = {}));\nexport const isDirectionHorizontal = (direction) => direction === Direction.HORIZONTAL;\n//# sourceMappingURL=direction.js.map","export const BackgroundStyleProps = {\n backgroundGradient: 'bg-gradient',\n};\nexport const BorderRadiusStyleProps = {\n borderRadius: 'rounded',\n};\nexport const SpacingStyleProp = {\n margin: 'm',\n marginTop: 'mt',\n marginRight: 'mr',\n marginBottom: 'mb',\n marginLeft: 'ml',\n marginX: 'mx',\n marginY: 'my',\n};\nexport const PaddingStyleProps = {\n padding: 'p',\n paddingBottom: 'pb',\n paddingLeft: 'pl',\n paddingRight: 'pr',\n paddingTop: 'pt',\n paddingX: 'px',\n paddingY: 'py',\n};\nexport const TextStyleProps = {\n isTextBalanced: 'text-wrap-pretty',\n textAlignment: 'text',\n textHyphens: 'text-hyphens',\n textWordBreak: 'text-word-break',\n};\nexport const HeadingStyleProps = {\n isTextBalanced: 'text-wrap-balance',\n};\nexport const DisplayStyleProps = {\n hideOn: 'd',\n hideFrom: 'd',\n};\nexport const ThemeStyleProps = {\n theme: '',\n};\n//# sourceMappingURL=style.js.map","'use client';\nimport { createContext } from 'react';\nconst defaultContext = undefined;\nconst ClassNamePrefixContext = createContext(defaultContext);\nconst ClassNamePrefixProvider = ClassNamePrefixContext.Provider;\nconst ClassNamePrefixConsumer = ClassNamePrefixContext.Consumer;\nexport default ClassNamePrefixContext;\nexport { ClassNamePrefixConsumer, ClassNamePrefixProvider };\n//# sourceMappingURL=ClassNamePrefixContext.js.map","import { Sizes } from \"../constants/index.js\";\nexport const CardSizes = Object.assign(Object.assign({}, Sizes), { AUTO: 'auto' });\n//# sourceMappingURL=card.js.map","export const STYLE_SPACING_AUTO = 'auto';\n//# sourceMappingURL=style.js.map","export const BREAKPOINT_MOBILE = 'mobile';\n//# sourceMappingURL=tokens.js.map","export * from \"./adornments.js\";\nexport * from \"./buttons.js\";\nexport * from \"./colors.js\";\nexport * from \"./columns.js\";\nexport * from \"./dialogs.js\";\nexport * from \"./dictionaries.js\";\nexport * from \"./directions.js\";\nexport * from \"./dragAndDrop.js\";\nexport * from \"./element.js\";\nexport * from \"./events.js\";\nexport * from \"./inputs.js\";\nexport * from \"./item.js\";\nexport * from \"./polymorphic.js\";\nexport * from \"./positions.js\";\nexport * from \"./radii.js\";\nexport * from \"./refs.js\";\nexport * from \"./responsive.js\";\nexport * from \"./rest.js\";\nexport * from \"./sizes.js\";\nexport * from \"./style.js\";\nexport * from \"./text.js\";\nexport * from \"./tokens.js\";\nexport var SpiritBreakpoints;\n(function (SpiritBreakpoints) {\n SpiritBreakpoints[\"TABLET\"] = \"tablet\";\n SpiritBreakpoints[\"DESKTOP\"] = \"desktop\";\n})(SpiritBreakpoints || (SpiritBreakpoints = {}));\n//# sourceMappingURL=index.js.map","export const isNullish = (value) => value == null;\nexport const isEmptyString = (value) => typeof value === 'string' && value.trim() === '';\nexport const isEmptyArray = (value) => Array.isArray(value) && value.length === 0;\nexport const isEmptyObject = (value) => typeof value === 'object' && value !== null && Object.keys(value).length === 0;\nexport const isEnumerable = (value) => {\n if (typeof value === 'object' && value !== null) {\n for (const key in value) {\n if (Object.hasOwnProperty.call(value, key)) {\n return true;\n }\n }\n }\n return false;\n};\nexport const isEmpty = (value) => {\n if (isNullish(value)) {\n return true;\n }\n if (isEmptyString(value)) {\n return true;\n }\n if (isEmptyArray(value)) {\n return true;\n }\n if (isEmptyObject(value)) {\n return true;\n }\n if (isEnumerable(value)) {\n return false;\n }\n return false;\n};\n//# sourceMappingURL=assert.js.map","export const applyClassNamePrefix = (prefix) => (className) => prefix != null && prefix !== '' ? `${prefix}-${className}` : className;\nexport const applyColor = (color) => (className) => `${className}--${color}`;\nexport const applySize = (size) => (className) => `${className}--${size}`;\nexport const applyTheme = (theme) => (className) => `${className}--${theme}`;\n//# sourceMappingURL=classname.js.map","function hasSpiritComponent(elementTag) {\n return typeof elementTag !== 'string' && elementTag !== null && 'spiritComponent' in elementTag;\n}\nexport function mergeStyleProps(ElementTag, styleProps) {\n const isSpiritComponent = hasSpiritComponent(ElementTag);\n const isNonNullableObject = (styleProp) => typeof styleProp === 'object' && styleProp !== null;\n const extractClassNames = (styleProp) => {\n if (typeof styleProp === 'string') {\n return [styleProp];\n }\n if (isNonNullableObject(styleProp)) {\n return [styleProp.className, styleProp.UNSAFE_className].filter(Boolean);\n }\n return [];\n };\n const extractCssVariables = (styleProp) => isNonNullableObject(styleProp)\n ? Object.entries(styleProp)\n .filter(([key]) => key.startsWith('--'))\n .reduce((extractedCssVariable, [key, value]) => (Object.assign(Object.assign({}, extractedCssVariable), { [key]: value })), {})\n : {};\n const extractCssStylesAndVariables = (cssProperties, styleProp) => {\n if (!isNonNullableObject(styleProp)) {\n return cssProperties;\n }\n const typedStyleProp = styleProp;\n const styles = typedStyleProp.style || typedStyleProp.UNSAFE_style || {};\n const cssVariables = extractCssVariables(styleProp);\n return Object.assign(Object.assign(Object.assign({}, cssProperties), styles), cssVariables);\n };\n const mergedClasses = Object.values(styleProps).flatMap(extractClassNames).filter(Boolean).join(' ');\n const mergedStyles = Object.values(styleProps)\n .filter(isNonNullableObject)\n .reduce(extractCssStylesAndVariables, {});\n return isSpiritComponent\n ? { UNSAFE_className: mergedClasses, UNSAFE_style: mergedStyles }\n : { className: mergedClasses, style: mergedStyles };\n}\n//# sourceMappingURL=mergeStyleProps.js.map","export function isResponsive(value) {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\nexport function generateResponsiveClassNames(componentClass, value) {\n if (!value) {\n return [];\n }\n if (isResponsive(value)) {\n return Object.entries(value)\n .map(([breakpoint, breakpointValue]) => {\n if (breakpointValue === undefined) {\n return '';\n }\n if (breakpoint === 'mobile') {\n return `${componentClass}--${breakpointValue}`;\n }\n return `${componentClass}--${breakpoint}--${breakpointValue}`;\n })\n .filter((className) => className !== '');\n }\n return [`${componentClass}--${value}`];\n}\n//# sourceMappingURL=responsive.js.map","export const camelCaseToKebabCase = (input) => input.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\nexport const kebabCaseToCamelCase = (input) => input.replace(/-([a-z])/g, (g) => g[1].toUpperCase());\nexport const kebabCaseToCamelCaseValues = (input) => {\n if (typeof input === 'object' && input !== null) {\n const result = {};\n for (const [key, value] of Object.entries(input)) {\n result[key] = typeof value === 'string' ? kebabCaseToCamelCase(value) : value;\n }\n return result;\n }\n return input;\n};\nexport const stringOrObjectKebabCaseToCamelCase = (input) => {\n if (typeof input === 'string') {\n return kebabCaseToCamelCase(input);\n }\n if (typeof input === 'object' && input !== null) {\n return kebabCaseToCamelCaseValues(input);\n }\n return input;\n};\n//# sourceMappingURL=string.js.map","import { SpacingStyleProp as DefaultSpacingStyleProp, DisplayStyleProps, ThemeStyleProps } from \"../constants/index.js\";\nimport { BREAKPOINT_MOBILE, STYLE_SPACING_AUTO, } from \"../types/index.js\";\nimport { applyClassNamePrefix, camelCaseToKebabCase, isEmpty } from \"../utils/index.js\";\nconst CLASS_SEPARATOR = '-';\nconst normalizeSpacingValue = (value) => value === STYLE_SPACING_AUTO ? STYLE_SPACING_AUTO : value.replace(/[^0-9]/g, '');\nconst isSpaceToken = (value) => typeof value === 'string' && value.startsWith('space-');\nconst getUtilityValue = (value) => (isSpaceToken(value) ? normalizeSpacingValue(value) : value);\nconst isKeyIncluded = (object, key) => Object.keys(object).includes(key);\nconst processBreakpointProperties = (utilityName, propValue, prefix) => Object.keys(propValue).reduce((accumulatedBreakpointUtilities, breakpoint) => {\n const breakpointValue = propValue[breakpoint];\n if (typeof breakpointValue === 'string') {\n const utilityValue = getUtilityValue(breakpointValue);\n const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `${CLASS_SEPARATOR}${breakpoint}`;\n accumulatedBreakpointUtilities.push(applyClassNamePrefix(prefix)(`${utilityName}${infix}${CLASS_SEPARATOR}${utilityValue}`));\n }\n return accumulatedBreakpointUtilities;\n}, []);\nconst processHideOnProperty = (utilityName, propValue, prefix) => {\n const breakpoints = Array.isArray(propValue) ? propValue : [propValue];\n return breakpoints.map((breakpoint) => applyClassNamePrefix(prefix)(`${utilityName}${CLASS_SEPARATOR}only${CLASS_SEPARATOR}${breakpoint}${CLASS_SEPARATOR}none`));\n};\nconst processHideFromProperty = (utilityName, propValue, prefix) => {\n const breakpoint = propValue;\n const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `${CLASS_SEPARATOR}${breakpoint}`;\n return [applyClassNamePrefix(prefix)(`${utilityName}${infix}${CLASS_SEPARATOR}none`)];\n};\nconst processDisplayProperties = (utilityKey, utilityName, propValue, prefix) => {\n switch (utilityKey) {\n case 'hideOn':\n return processHideOnProperty(utilityName, propValue, prefix);\n case 'hideFrom':\n return processHideFromProperty(utilityName, propValue, prefix);\n default:\n return [];\n }\n};\nconst processProperties = (utilityKey, utilityName, propValue, prefix) => {\n if (utilityName === ThemeStyleProps.theme) {\n if (typeof propValue !== 'string') {\n return [];\n }\n const themeClassName = camelCaseToKebabCase(propValue);\n return [applyClassNamePrefix(prefix)(themeClassName)];\n }\n if (utilityKey in DisplayStyleProps) {\n return processDisplayProperties(utilityKey, utilityName, propValue, prefix);\n }\n if (typeof propValue === 'boolean') {\n return propValue ? [applyClassNamePrefix(prefix)(utilityName)] : [];\n }\n if (typeof propValue === 'string') {\n return [applyClassNamePrefix(prefix)(`${utilityName}-${getUtilityValue(propValue)}`)];\n }\n return processBreakpointProperties(utilityName, propValue, prefix);\n};\nconst isStylePropProcessable = (styleProps, stylePropKey, stylePropValue, options = { includesKey: true }) => {\n const isStylePropKeyIncluded = isKeyIncluded(styleProps, stylePropKey);\n if (options.includesKey) {\n return isStylePropKeyIncluded && !isEmpty(stylePropValue);\n }\n return !isStylePropKeyIncluded;\n};\nexport const useStyleUtilities = (props, prefix = '', additionalProps = {}) => {\n const styleProps = Object.assign(Object.assign(Object.assign(Object.assign({}, DefaultSpacingStyleProp), DisplayStyleProps), ThemeStyleProps), additionalProps);\n const propEntries = Object.entries(props);\n const styleUtilities = propEntries.reduce((accumulatedUtilities, [key, propValue]) => {\n if (isStylePropProcessable(styleProps, key, propValue)) {\n const utilityName = styleProps[key];\n return [\n ...accumulatedUtilities,\n ...processProperties(key, utilityName, propValue, prefix),\n ];\n }\n return accumulatedUtilities;\n }, []);\n const updatedProps = propEntries.reduce((accumulatedProps, [key, propValue]) => {\n if (isStylePropProcessable(styleProps, key, propValue, { includesKey: false })) {\n return Object.assign(Object.assign({}, accumulatedProps), { [key]: propValue });\n }\n return accumulatedProps;\n }, {});\n return {\n styleUtilities,\n props: updatedProps,\n };\n};\n//# sourceMappingURL=useStyleUtilities.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport { useContext } from 'react';\nimport { warning } from \"../common/utilities/index.js\";\nimport { ThemeStyleProps } from \"../constants/index.js\";\nimport ClassNamePrefixContext from \"../context/ClassNamePrefixContext.js\";\nimport { useStyleUtilities } from \"./useStyleUtilities.js\";\nexport function useStyleProps(props, additionalUtilities) {\n const classNamePrefix = useContext(ClassNamePrefixContext);\n const { UNSAFE_className, UNSAFE_style } = props, otherProps = __rest(props, [\"UNSAFE_className\", \"UNSAFE_style\"]);\n const styleUtilitiesConfig = Object.assign({ theme: ThemeStyleProps.theme }, (additionalUtilities !== null && additionalUtilities !== void 0 ? additionalUtilities : {}));\n const { styleUtilities, props: modifiedProps } = useStyleUtilities(otherProps, classNamePrefix, styleUtilitiesConfig);\n const style = Object.assign({}, UNSAFE_style);\n if (modifiedProps.className) {\n warning(false, 'The className prop is unsafe and is unsupported in Spirit Web React. ' +\n 'Please use style props with Spirit Design Tokens, or UNSAFE_className if you absolutely must do something custom. ' +\n 'Note that this may break in future versions due to DOM structure changes.');\n delete modifiedProps.className;\n }\n if (modifiedProps.style) {\n warning(false, 'The style prop is unsafe and is unsupported in Spirit Web React. ' +\n 'Please use style props with Spirit Design Tokens, or UNSAFE_style if you absolutely must do something custom. ' +\n 'Note that this may break in future versions due to DOM structure changes.');\n delete modifiedProps.style;\n }\n const styleProps = {\n style: Object.keys(style).length > 0 ? style : undefined,\n className: classNames(UNSAFE_className, ...styleUtilities) || undefined,\n };\n return {\n styleProps,\n props: modifiedProps,\n };\n}\n//# sourceMappingURL=styleProps.js.map","'use client';\nimport { useContext } from 'react';\nimport ClassNamePrefixContext from \"../context/ClassNamePrefixContext.js\";\nimport { applyClassNamePrefix } from \"../utils/classname.js\";\nexport const useClassNamePrefix = (className) => {\n const classNamePrefix = useContext(ClassNamePrefixContext);\n let prefixedClassName = className;\n if (className && classNamePrefix) {\n prefixedClassName = applyClassNamePrefix(classNamePrefix)(className);\n }\n else if (classNamePrefix) {\n prefixedClassName = classNamePrefix;\n }\n return prefixedClassName;\n};\n//# sourceMappingURL=useClassNamePrefix.js.map","'use client';\nimport { createContext } from 'react';\nconst defaultContext = undefined;\nconst IconsContext = createContext(defaultContext);\nconst IconsProvider = IconsContext.Provider;\nconst IconsConsumer = IconsContext.Consumer;\nexport default IconsContext;\nexport { IconsConsumer, IconsProvider };\n//# sourceMappingURL=IconsContext.js.map","import { Sizes } from \"../../constants/index.js\";\nexport const TIMELINE_MARKER = {\n DOT: 'dot',\n NUMBER: 'number',\n ICON: 'icon',\n};\nexport const TIMELINE_SIZE_DEFAULT = Sizes.SMALL;\n//# sourceMappingURL=constants.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport { useClassNamePrefix } from \"../../hooks/index.js\";\nimport { generateResponsiveClassNames } from \"../../utils/index.js\";\nimport { TIMELINE_MARKER, TIMELINE_SIZE_DEFAULT } from \"./constants.js\";\nexport function useTimelineStyleProps(props) {\n const _a = props || {}, { markerBackgroundColor, markerBorderColor, markerTextColor, markerVariant, markerSize = TIMELINE_SIZE_DEFAULT } = _a, restProps = __rest(_a, [\"markerBackgroundColor\", \"markerBorderColor\", \"markerTextColor\", \"markerVariant\", \"markerSize\"]);\n const timelineClass = useClassNamePrefix('Timeline');\n const contentClass = `${timelineClass}Content`;\n const headingClass = `${timelineClass}Heading`;\n const markerClass = `${timelineClass}Marker`;\n const stepClass = `${timelineClass}Step`;\n const shouldApplyBackgroundAndBorderColors = markerVariant === TIMELINE_MARKER.DOT || markerVariant === TIMELINE_MARKER.NUMBER;\n const markerBackgroundPrefix = useClassNamePrefix(`bg-${markerBackgroundColor}`);\n const markerBorderClassPrefix = useClassNamePrefix(`border-${markerBorderColor}`);\n const markerTextColorClassPrefix = useClassNamePrefix(`text-${markerTextColor}`);\n const markerBackgroundClass = markerBackgroundColor ? markerBackgroundPrefix : '';\n const markerBorderClass = markerBorderColor ? markerBorderClassPrefix : '';\n const markerTextColorClass = markerTextColor ? markerTextColorClassPrefix : '';\n const markerClasses = classNames(markerClass, {\n [`${markerClass}--${markerVariant}`]: !!markerVariant,\n [markerBackgroundClass]: shouldApplyBackgroundAndBorderColors,\n [markerBorderClass]: shouldApplyBackgroundAndBorderColors,\n [markerTextColorClass]: !!markerTextColor,\n });\n const sizeClassNames = generateResponsiveClassNames(timelineClass, markerSize);\n const rootClasses = classNames(timelineClass, ...sizeClassNames);\n return {\n classProps: {\n content: contentClass,\n heading: headingClass,\n marker: markerClasses,\n root: rootClasses,\n step: stepClass,\n },\n props: restProps,\n };\n}\n//# sourceMappingURL=useTimelineStyleProps.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React from 'react';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { mergeStyleProps } from \"../../utils/index.js\";\nimport { TIMELINE_SIZE_DEFAULT } from \"./constants.js\";\nimport { useTimelineStyleProps } from \"./useTimelineStyleProps.js\";\nconst defaultProps = {\n elementType: 'ol',\n size: TIMELINE_SIZE_DEFAULT,\n};\nconst Timeline = (props) => {\n const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);\n const { elementType: ElementTag = 'ol', children, size } = propsWithDefaults, restProps = __rest(propsWithDefaults, [\"elementType\", \"children\", \"size\"]);\n const { classProps } = useTimelineStyleProps({ markerSize: size });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps, otherProps });\n return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps), children));\n};\nTimeline.spiritComponent = 'Timeline';\nexport default Timeline;\n//# sourceMappingURL=Timeline.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { useTimelineStyleProps } from \"./useTimelineStyleProps.js\";\nconst TimelineContent = (props) => {\n const { children } = props, restProps = __rest(props, [\"children\"]);\n const { classProps } = useTimelineStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n return (React.createElement(\"div\", Object.assign({}, otherProps, { className: classNames(classProps.content, styleProps.className), style: styleProps.style }), children));\n};\nTimelineContent.spiritComponent = 'TimelineContent';\nexport default TimelineContent;\n//# sourceMappingURL=TimelineContent.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { useTimelineStyleProps } from \"./useTimelineStyleProps.js\";\nconst TimelineHeading = (props) => {\n const { children } = props, restProps = __rest(props, [\"children\"]);\n const { classProps } = useTimelineStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n return (React.createElement(\"div\", Object.assign({}, otherProps, { className: classNames(classProps.heading, styleProps.className), style: styleProps.style }), children));\n};\nTimelineHeading.spiritComponent = 'TimelineHeading';\nexport default TimelineHeading;\n//# sourceMappingURL=TimelineHeading.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { TIMELINE_MARKER } from \"./constants.js\";\nimport { useTimelineStyleProps } from \"./useTimelineStyleProps.js\";\nconst defaultProps = {\n variant: 'number',\n};\nconst TimelineMarker = (props) => {\n const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);\n const { backgroundColor, borderColor, children, textColor, variant } = propsWithDefaults, restProps = __rest(propsWithDefaults, [\"backgroundColor\", \"borderColor\", \"children\", \"textColor\", \"variant\"]);\n const { classProps } = useTimelineStyleProps({\n markerBackgroundColor: backgroundColor,\n markerBorderColor: borderColor,\n markerTextColor: textColor,\n markerVariant: variant,\n });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n return (React.createElement(\"div\", Object.assign({}, otherProps, { className: classNames(classProps.marker, styleProps.className), style: styleProps.style, \"aria-hidden\": \"true\" }), variant !== TIMELINE_MARKER.DOT && children));\n};\nTimelineMarker.spiritComponent = 'TimelineMarker';\nexport default TimelineMarker;\n//# sourceMappingURL=TimelineMarker.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React from 'react';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { mergeStyleProps } from \"../../utils/index.js\";\nimport { useTimelineStyleProps } from \"./useTimelineStyleProps.js\";\nconst defaultProps = {\n elementType: 'li',\n};\nconst TimelineStep = (props) => {\n const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);\n const { elementType: ElementTag = 'li', children } = propsWithDefaults, restProps = __rest(propsWithDefaults, [\"elementType\", \"children\"]);\n const { classProps } = useTimelineStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.step, styleProps, otherProps });\n return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps), children));\n};\nTimelineStep.spiritComponent = 'TimelineStep';\nexport default TimelineStep;\n//# sourceMappingURL=TimelineStep.js.map"],"names":["__rest","this","componentColors","emotionColors","textColors","containers","defaultContext","createContext","DefaultSpacingStyleProp","useContext","defaultProps"],"mappings":";;;;;;;;AAAO,MAAM,YAAY,GAAG;AAC5B,IAEI,UAAU,EAAE,YAAY;AAC5B,CAAC;AAGM,MAAM,YAAY,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,CAAC,UAAU;;ACNlF,MAAM,OAAO,GAAG,CAAC,SAAS,EAAE,OAAO,KAAK;AACxC,IAAI,IAAI,CAAC,YAAY,EAAE,EAAE;AAIzB,QAAQ,MAAM,IAAI,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;AAC1C,QAAQ,IAAI,OAAO,OAAO,KAAK,WAAW,EAAE;AAC5C,YAAY,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;AAC9B,QAAQ;AACR,QAAQ,IA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,CAAC;AACjC,QAAQ;AACR,IAAI,OAAO,CAAC;AACZ,CAAC;AAKD,MAAM,YAAY,GAAG;AACrB,IAAI,WAAW,EAAE,IAAI;AACrB,CAAC;AACI,MAAC,YAAY,GAAG,CAAC,KAAK,KAAK;AAChC,IAAI,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,YAAY,CAAC,EAAE,KAAK,CAAC;AACnF,IAAI,MAAM,EAAE,WAAW,EAAE,UAAU,GAAG,IAAI,EAAE,QAAQ,EAAE,GAAG,iBAAiB,EAAE,SAAS,GAAG,MAAM,CAAC,iBAAiB,EAAE,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;AAC9I,IAAI,MAAM,EAAE,UAAU,EAAE,GAAG,qBAAqB,EAAE;AAClD,IAAI,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,aAAa,CAAC,SAAS,CAAC;AACtE,IAAI,MAAM,gBAAgB,GAAG,eAAe,CAAC,UAAU,EAAE,EAAE,UAAU,EAAE,UAAU,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;AACjH,IAAI,QAAQ,KAAK,CAAC,aAAa,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,EAAE,QAAQ,CAAC;AACtG;AACA,YAAY,CAAC,eAAe,GAAG,cAAc;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import React, { type ElementType } from 'react';
2
2
  import { type SpiritTimelineProps } from '../../types';
3
3
  declare const Timeline: {
4
- <T extends ElementType = "ol">(props: SpiritTimelineProps<T>): React.JSX.Element;
4
+ <E extends ElementType = "ol">(props: SpiritTimelineProps<E>): React.JSX.Element;
5
5
  spiritComponent: string;
6
6
  };
7
7
  export default Timeline;
@@ -1,7 +1,7 @@
1
1
  import React, { type ElementType } from 'react';
2
2
  import { type SpiritTimelineStepProps } from '../../types';
3
3
  declare const TimelineStep: {
4
- <T extends ElementType = "li">(props: SpiritTimelineStepProps<T>): React.JSX.Element;
4
+ <E extends ElementType = "li">(props: SpiritTimelineStepProps<E>): React.JSX.Element;
5
5
  spiritComponent: string;
6
6
  };
7
7
  export default TimelineStep;
@@ -156,8 +156,11 @@ const htmlReactParser = (html) => {
156
156
  return domToReact(htmlToDOM(html));
157
157
  };
158
158
 
159
+ function hasSpiritComponent(elementTag) {
160
+ return typeof elementTag !== 'string' && elementTag !== null && 'spiritComponent' in elementTag;
161
+ }
159
162
  function mergeStyleProps(ElementTag, styleProps) {
160
- const isSpiritComponent = typeof ElementTag !== 'string' && !!(ElementTag === null || ElementTag === void 0 ? void 0 : ElementTag.spiritComponent);
163
+ const isSpiritComponent = hasSpiritComponent(ElementTag);
161
164
  const isNonNullableObject = (styleProp) => typeof styleProp === 'object' && styleProp !== null;
162
165
  const extractClassNames = (styleProp) => {
163
166
  if (typeof styleProp === 'string') {
@@ -247,8 +250,10 @@ const processProperties = (utilityKey, utilityName, propValue, prefix) => {
247
250
  };
248
251
  const isStylePropProcessable = (styleProps, stylePropKey, stylePropValue, options = { includesKey: true }) => {
249
252
  const isStylePropKeyIncluded = isKeyIncluded(styleProps, stylePropKey);
250
- const isProcessable = (options.includesKey ? isStylePropKeyIncluded : !isStylePropKeyIncluded) && !isEmpty(stylePropValue);
251
- return isProcessable;
253
+ if (options.includesKey) {
254
+ return isStylePropKeyIncluded && !isEmpty(stylePropValue);
255
+ }
256
+ return !isStylePropKeyIncluded;
252
257
  };
253
258
  const useStyleUtilities = (props, prefix = '', additionalProps = {}) => {
254
259
  const styleProps = Object.assign(Object.assign(Object.assign(Object.assign({}, SpacingStyleProp), DisplayStyleProps), ThemeStyleProps), additionalProps);
@@ -326,6 +331,63 @@ const useClassNamePrefix = (className) => {
326
331
  return prefixedClassName;
327
332
  };
328
333
 
334
+ const defaultLabels = {
335
+ common: {
336
+ close: 'Close',
337
+ edit: 'Edit',
338
+ remove: 'Remove',
339
+ },
340
+ breadcrumbs: {
341
+ back: 'Go back',
342
+ },
343
+ fileUploader: {
344
+ edit: 'Edit',
345
+ remove: 'Remove',
346
+ attachments: 'Attachments',
347
+ },
348
+ pagination: {
349
+ next: 'Next',
350
+ previous: 'Previous',
351
+ goToPage: 'Go to page',
352
+ },
353
+ textField: {
354
+ password: {
355
+ show: 'Show password',
356
+ hide: 'Hide password',
357
+ },
358
+ },
359
+ splitButton: {
360
+ dropdown: 'More',
361
+ },
362
+ };
363
+
364
+ const replaceTranslationParams = (translation, params) => Object.entries(params).reduce((result, [paramKey, value]) => {
365
+ const safeParamKey = paramKey.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
366
+ return result.replace(new RegExp(`\\{${safeParamKey}\\}`, 'g'), String(value));
367
+ }, translation);
368
+
369
+ const resolveTranslationKey = (obj, path) => {
370
+ const keys = path.split('.');
371
+ let current = obj;
372
+ for (const key of keys) {
373
+ if (typeof current === 'object' && current !== null && key in current) {
374
+ current = current[key];
375
+ }
376
+ else {
377
+ return path;
378
+ }
379
+ }
380
+ return typeof current === 'string' ? current : path;
381
+ };
382
+
383
+ const useI18n = () => {
384
+ const t = (key, params) => {
385
+ const translation = resolveTranslationKey(defaultLabels, key);
386
+ return !params ? translation : replaceTranslationParams(translation, params);
387
+ };
388
+ return { t };
389
+ };
390
+
329
391
  const defaultContext = undefined;
330
392
  const IconsContext = React.createContext(defaultContext);
331
393
  IconsContext.Provider;
@@ -482,6 +544,7 @@ const _Icon = (props, ref) => {
482
544
  };
483
545
  const Icon = React.forwardRef(_Icon);
484
546
  Icon.spiritComponent = 'Icon';
547
+ Icon.displayName = 'Icon';
485
548
 
486
549
  const TRANSITION_DURATION = 250;
487
550
  const TRANSITIONING_STYLES = {
@@ -491,7 +554,6 @@ const TRANSITIONING_STYLES = {
491
554
  exited: 'is-hidden',
492
555
  };
493
556
  const ICON_BOX_SIZE = 20;
494
- const TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT = 'Close';
495
557
  const DEFAULT_TOAST_COLOR = 'neutral';
496
558
  const DEFAULT_TOAST_AUTO_CLOSE_INTERVAL = 3000;
497
559
  const ToastColorsExtended = {
@@ -622,7 +684,9 @@ var __rest$3 = (undefined && undefined.__rest) || function (s, e) {
622
684
  return t;
623
685
  };
624
686
  const ToastBar = (props) => {
625
- const { id, children, closeLabel = TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT, color = DEFAULT_TOAST_COLOR, hasIcon, iconName, isDismissible, isOpen = true, onClose = () => { } } = props, restProps = __rest$3(props, ["id", "children", "closeLabel", "color", "hasIcon", "iconName", "isDismissible", "isOpen", "onClose"]);
687
+ const { t } = useI18n();
688
+ const { id, children, closeLabel, color = DEFAULT_TOAST_COLOR, hasIcon, iconName, isDismissible, isOpen = true, onClose = () => { } } = props, restProps = __rest$3(props, ["id", "children", "closeLabel", "color", "hasIcon", "iconName", "isDismissible", "isOpen", "onClose"]);
689
+ const resolvedCloseLabel = closeLabel !== null && closeLabel !== void 0 ? closeLabel : t('common.close');
626
690
  const rootElementRef = React.useRef(null);
627
691
  const toastIconName = useToastIcon({ color, iconName });
628
692
  const { classProps, props: modifiedProps } = useToastBarStyleProps(Object.assign(Object.assign({}, restProps), { color,
@@ -633,7 +697,7 @@ const ToastBar = (props) => {
633
697
  React.createElement("div", { className: classProps.container },
634
698
  (hasIcon || iconName) && React.createElement(Icon, { name: toastIconName, boxSize: ICON_BOX_SIZE }),
635
699
  React.createElement("div", { className: classProps.content }, children)),
636
- React.createElement(ToastCloseButton, { id: id, isOpen: isOpen, closeLabel: closeLabel, onClose: onClose, isDismissible: isDismissible }))))));
700
+ React.createElement(ToastCloseButton, { id: id, isOpen: isOpen, closeLabel: resolvedCloseLabel, onClose: onClose, isDismissible: isDismissible }))))));
637
701
  };
638
702
  ToastBar.spiritComponent = 'ToastBar';
639
703
 
@@ -671,14 +735,16 @@ const defaultProps = {
671
735
  };
672
736
  const _ToastBarLink = (props, ref) => {
673
737
  const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);
674
- const { elementType: ElementTag = defaultProps.elementType, children } = propsWithDefaults, restProps = __rest$1(propsWithDefaults, ["elementType", "children"]);
738
+ const { elementType = defaultProps.elementType, children } = propsWithDefaults, restProps = __rest$1(propsWithDefaults, ["elementType", "children"]);
739
+ const Component = elementType;
675
740
  const { classProps, props: modifiedProps } = useToastBarStyleProps(Object.assign({}, restProps));
676
741
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
677
- const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.link, styleProps, otherProps });
678
- return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps, { ref: ref }), children));
742
+ const mergedStyleProps = mergeStyleProps(Component, { classProps: classProps.link, styleProps, otherProps });
743
+ return (React.createElement(Component, Object.assign({}, otherProps, mergedStyleProps, { ref: ref }), children));
679
744
  };
680
745
  const ToastBarLink = React.forwardRef(_ToastBarLink);
681
746
  ToastBarLink.spiritComponent = 'ToastBarLink';
747
+ ToastBarLink.displayName = 'ToastBarLink';
682
748
 
683
749
  const defaultToastContext = {
684
750
  clear: () => { },
@@ -709,11 +775,13 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
709
775
  return t;
710
776
  };
711
777
  const UncontrolledToast = (props) => {
712
- const { alignmentX, alignmentY, isCollapsible, closeLabel = TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT } = props, restProps = __rest(props, ["alignmentX", "alignmentY", "isCollapsible", "closeLabel"]);
778
+ const { t } = useI18n();
779
+ const { alignmentX, alignmentY, isCollapsible, closeLabel } = props, restProps = __rest(props, ["alignmentX", "alignmentY", "isCollapsible", "closeLabel"]);
780
+ const resolvedCloseLabel = closeLabel !== null && closeLabel !== void 0 ? closeLabel : t('common.close');
713
781
  const { hide, queue } = useToast();
714
782
  return (React.createElement(Toast, { alignmentX: alignmentX, alignmentY: alignmentY, isCollapsible: isCollapsible }, queue.map((item) => {
715
783
  const { color, iconName, id, isOpen, content, hasIcon, isDismissible, linkProps } = item;
716
- return (React.createElement(ToastBar, Object.assign({}, restProps, { key: id, id: id, closeLabel: closeLabel, color: color, hasIcon: hasIcon, iconName: iconName, isDismissible: isDismissible, onClose: () => hide(id), isOpen: isOpen && !!content }),
784
+ return (React.createElement(ToastBar, Object.assign({}, restProps, { key: id, id: id, closeLabel: resolvedCloseLabel, color: color, hasIcon: hasIcon, iconName: iconName, isDismissible: isDismissible, onClose: () => hide(id), isOpen: isOpen && !!content }),
717
785
  React.createElement(ToastBarMessage, null, content.message),
718
786
  content.link && React.createElement(ToastBarLink, Object.assign({}, linkProps), content.link)));
719
787
  })));
@@ -723,7 +791,6 @@ UncontrolledToast.spiritComponent = 'UncontrolledToast';
723
791
  exports.DEFAULT_TOAST_AUTO_CLOSE_INTERVAL = DEFAULT_TOAST_AUTO_CLOSE_INTERVAL;
724
792
  exports.DEFAULT_TOAST_COLOR = DEFAULT_TOAST_COLOR;
725
793
  exports.ICON_BOX_SIZE = ICON_BOX_SIZE;
726
- exports.TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT = TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT;
727
794
  exports.TRANSITIONING_STYLES = TRANSITIONING_STYLES;
728
795
  exports.TRANSITION_DURATION = TRANSITION_DURATION;
729
796
  exports.Toast = Toast;