@alma-oss/spirit-web-react 4.0.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 (1703) hide show
  1. package/README.md +240 -0
  2. package/bundles/web-react.umd.js +35315 -0
  3. package/bundles/web-react.umd.js.map +1 -0
  4. package/bundles/web-react.umd.min.js +16 -0
  5. package/bundles/web-react.umd.min.js.map +1 -0
  6. package/common/common.cjs +47 -0
  7. package/common/common.cjs.map +1 -0
  8. package/common/constants/constants.cjs +16 -0
  9. package/common/constants/constants.cjs.map +1 -0
  10. package/common/constants/environments.d.ts +8 -0
  11. package/common/constants/environments.js +9 -0
  12. package/common/constants/environments.js.map +1 -0
  13. package/common/constants/index.d.ts +1 -0
  14. package/common/constants/index.js +2 -0
  15. package/common/constants/index.js.map +1 -0
  16. package/common/constants/package.json +8 -0
  17. package/common/index.d.ts +2 -0
  18. package/common/index.js +3 -0
  19. package/common/index.js.map +1 -0
  20. package/common/package.json +8 -0
  21. package/common/utilities/index.d.ts +2 -0
  22. package/common/utilities/index.js +3 -0
  23. package/common/utilities/index.js.map +1 -0
  24. package/common/utilities/info.d.ts +2 -0
  25. package/common/utilities/info.js +14 -0
  26. package/common/utilities/info.js.map +1 -0
  27. package/common/utilities/package.json +8 -0
  28. package/common/utilities/utilities.cjs +39 -0
  29. package/common/utilities/utilities.cjs.map +1 -0
  30. package/common/utilities/warning.d.ts +2 -0
  31. package/common/utilities/warning.js +19 -0
  32. package/common/utilities/warning.js.map +1 -0
  33. package/components/Accordion/Accordion.cjs +900 -0
  34. package/components/Accordion/Accordion.cjs.map +1 -0
  35. package/components/Accordion/Accordion.d.ts +7 -0
  36. package/components/Accordion/Accordion.js +32 -0
  37. package/components/Accordion/Accordion.js.map +1 -0
  38. package/components/Accordion/AccordionContent.d.ts +7 -0
  39. package/components/Accordion/AccordionContent.js +33 -0
  40. package/components/Accordion/AccordionContent.js.map +1 -0
  41. package/components/Accordion/AccordionContext.d.ts +7 -0
  42. package/components/Accordion/AccordionContext.js +13 -0
  43. package/components/Accordion/AccordionContext.js.map +1 -0
  44. package/components/Accordion/AccordionHeader.d.ts +7 -0
  45. package/components/Accordion/AccordionHeader.js +44 -0
  46. package/components/Accordion/AccordionHeader.js.map +1 -0
  47. package/components/Accordion/AccordionItem.d.ts +7 -0
  48. package/components/Accordion/AccordionItem.js +29 -0
  49. package/components/Accordion/AccordionItem.js.map +1 -0
  50. package/components/Accordion/AccordionItemContext.d.ts +7 -0
  51. package/components/Accordion/AccordionItemContext.js +12 -0
  52. package/components/Accordion/AccordionItemContext.js.map +1 -0
  53. package/components/Accordion/UncontrolledAccordion.d.ts +7 -0
  54. package/components/Accordion/UncontrolledAccordion.js +23 -0
  55. package/components/Accordion/UncontrolledAccordion.js.map +1 -0
  56. package/components/Accordion/index.d.ts +11 -0
  57. package/components/Accordion/index.js +12 -0
  58. package/components/Accordion/index.js.map +1 -0
  59. package/components/Accordion/package.json +8 -0
  60. package/components/Accordion/useAccordion.d.ts +2 -0
  61. package/components/Accordion/useAccordion.js +31 -0
  62. package/components/Accordion/useAccordion.js.map +1 -0
  63. package/components/Accordion/useAccordionAriaProps.d.ts +23 -0
  64. package/components/Accordion/useAccordionAriaProps.js +24 -0
  65. package/components/Accordion/useAccordionAriaProps.js.map +1 -0
  66. package/components/Accordion/useAccordionStyleProps.d.ts +13 -0
  67. package/components/Accordion/useAccordionStyleProps.js +24 -0
  68. package/components/Accordion/useAccordionStyleProps.js.map +1 -0
  69. package/components/Accordion/useOpenItem.d.ts +3 -0
  70. package/components/Accordion/useOpenItem.js +14 -0
  71. package/components/Accordion/useOpenItem.js.map +1 -0
  72. package/components/ActionGroup/ActionGroup.cjs +541 -0
  73. package/components/ActionGroup/ActionGroup.cjs.map +1 -0
  74. package/components/ActionGroup/ActionGroup.d.ts +7 -0
  75. package/components/ActionGroup/ActionGroup.js +33 -0
  76. package/components/ActionGroup/ActionGroup.js.map +1 -0
  77. package/components/ActionGroup/index.d.ts +1 -0
  78. package/components/ActionGroup/index.js +2 -0
  79. package/components/ActionGroup/index.js.map +1 -0
  80. package/components/ActionGroup/package.json +8 -0
  81. package/components/Alert/Alert.cjs +490 -0
  82. package/components/Alert/Alert.cjs.map +1 -0
  83. package/components/Alert/Alert.d.ts +7 -0
  84. package/components/Alert/Alert.js +36 -0
  85. package/components/Alert/Alert.js.map +1 -0
  86. package/components/Alert/index.d.ts +2 -0
  87. package/components/Alert/index.js +3 -0
  88. package/components/Alert/index.js.map +1 -0
  89. package/components/Alert/package.json +8 -0
  90. package/components/Alert/useAlertIcon.d.ts +3 -0
  91. package/components/Alert/useAlertIcon.js +12 -0
  92. package/components/Alert/useAlertIcon.js.map +1 -0
  93. package/components/Alert/useAlertStyleProps.d.ts +7 -0
  94. package/components/Alert/useAlertStyleProps.js +28 -0
  95. package/components/Alert/useAlertStyleProps.js.map +1 -0
  96. package/components/Avatar/Avatar.cjs +376 -0
  97. package/components/Avatar/Avatar.cjs.map +1 -0
  98. package/components/Avatar/Avatar.d.ts +4 -0
  99. package/components/Avatar/Avatar.js +33 -0
  100. package/components/Avatar/Avatar.js.map +1 -0
  101. package/components/Avatar/constants.d.ts +11 -0
  102. package/components/Avatar/constants.js +19 -0
  103. package/components/Avatar/constants.js.map +1 -0
  104. package/components/Avatar/index.d.ts +2 -0
  105. package/components/Avatar/index.js +3 -0
  106. package/components/Avatar/index.js.map +1 -0
  107. package/components/Avatar/package.json +8 -0
  108. package/components/Avatar/useAvatarStyleProps.d.ts +7 -0
  109. package/components/Avatar/useAvatarStyleProps.js +28 -0
  110. package/components/Avatar/useAvatarStyleProps.js.map +1 -0
  111. package/components/Box/Box.cjs +402 -0
  112. package/components/Box/Box.cjs.map +1 -0
  113. package/components/Box/Box.d.ts +7 -0
  114. package/components/Box/Box.js +32 -0
  115. package/components/Box/Box.js.map +1 -0
  116. package/components/Box/index.d.ts +2 -0
  117. package/components/Box/index.js +3 -0
  118. package/components/Box/index.js.map +1 -0
  119. package/components/Box/package.json +8 -0
  120. package/components/Box/useBoxStyleProps.d.ts +7 -0
  121. package/components/Box/useBoxStyleProps.js +38 -0
  122. package/components/Box/useBoxStyleProps.js.map +1 -0
  123. package/components/Breadcrumbs/Breadcrumbs.cjs +575 -0
  124. package/components/Breadcrumbs/Breadcrumbs.cjs.map +1 -0
  125. package/components/Breadcrumbs/Breadcrumbs.d.ts +7 -0
  126. package/components/Breadcrumbs/Breadcrumbs.js +37 -0
  127. package/components/Breadcrumbs/Breadcrumbs.js.map +1 -0
  128. package/components/Breadcrumbs/BreadcrumbsItem.d.ts +7 -0
  129. package/components/Breadcrumbs/BreadcrumbsItem.js +37 -0
  130. package/components/Breadcrumbs/BreadcrumbsItem.js.map +1 -0
  131. package/components/Breadcrumbs/index.d.ts +3 -0
  132. package/components/Breadcrumbs/index.js +4 -0
  133. package/components/Breadcrumbs/index.js.map +1 -0
  134. package/components/Breadcrumbs/package.json +8 -0
  135. package/components/Breadcrumbs/useBreadcrumbsStyleProps.d.ts +9 -0
  136. package/components/Breadcrumbs/useBreadcrumbsStyleProps.js +32 -0
  137. package/components/Breadcrumbs/useBreadcrumbsStyleProps.js.map +1 -0
  138. package/components/Button/Button.cjs +696 -0
  139. package/components/Button/Button.cjs.map +1 -0
  140. package/components/Button/Button.d.ts +3 -0
  141. package/components/Button/Button.js +45 -0
  142. package/components/Button/Button.js.map +1 -0
  143. package/components/Button/index.d.ts +6 -0
  144. package/components/Button/index.js +7 -0
  145. package/components/Button/index.js.map +1 -0
  146. package/components/Button/package.json +8 -0
  147. package/components/Button/useButtonProps.d.ts +6 -0
  148. package/components/Button/useButtonProps.js +13 -0
  149. package/components/Button/useButtonProps.js.map +1 -0
  150. package/components/Button/useButtonStyleProps.d.ts +7 -0
  151. package/components/Button/useButtonStyleProps.js +46 -0
  152. package/components/Button/useButtonStyleProps.js.map +1 -0
  153. package/components/ButtonLink/ButtonLink.d.ts +3 -0
  154. package/components/ButtonLink/ButtonLink.js +42 -0
  155. package/components/ButtonLink/ButtonLink.js.map +1 -0
  156. package/components/ButtonLink/index.d.ts +3 -0
  157. package/components/ButtonLink/index.js +4 -0
  158. package/components/ButtonLink/index.js.map +1 -0
  159. package/components/ButtonLink/useButtonLinkProps.d.ts +6 -0
  160. package/components/ButtonLink/useButtonLinkProps.js +16 -0
  161. package/components/ButtonLink/useButtonLinkProps.js.map +1 -0
  162. package/components/ButtonLink/useButtonLinkStyleProps.d.ts +7 -0
  163. package/components/ButtonLink/useButtonLinkStyleProps.js +46 -0
  164. package/components/ButtonLink/useButtonLinkStyleProps.js.map +1 -0
  165. package/components/Card/Card.cjs +681 -0
  166. package/components/Card/Card.cjs.map +1 -0
  167. package/components/Card/Card.d.ts +7 -0
  168. package/components/Card/Card.js +33 -0
  169. package/components/Card/Card.js.map +1 -0
  170. package/components/Card/CardArtwork.d.ts +7 -0
  171. package/components/Card/CardArtwork.js +30 -0
  172. package/components/Card/CardArtwork.js.map +1 -0
  173. package/components/Card/CardBody.d.ts +7 -0
  174. package/components/Card/CardBody.js +29 -0
  175. package/components/Card/CardBody.js.map +1 -0
  176. package/components/Card/CardEyebrow.d.ts +7 -0
  177. package/components/Card/CardEyebrow.js +25 -0
  178. package/components/Card/CardEyebrow.js.map +1 -0
  179. package/components/Card/CardFooter.d.ts +7 -0
  180. package/components/Card/CardFooter.js +30 -0
  181. package/components/Card/CardFooter.js.map +1 -0
  182. package/components/Card/CardLink.d.ts +5 -0
  183. package/components/Card/CardLink.js +31 -0
  184. package/components/Card/CardLink.js.map +1 -0
  185. package/components/Card/CardLogo.d.ts +7 -0
  186. package/components/Card/CardLogo.js +25 -0
  187. package/components/Card/CardLogo.js.map +1 -0
  188. package/components/Card/CardMedia.d.ts +7 -0
  189. package/components/Card/CardMedia.js +45 -0
  190. package/components/Card/CardMedia.js.map +1 -0
  191. package/components/Card/CardTitle.d.ts +7 -0
  192. package/components/Card/CardTitle.js +31 -0
  193. package/components/Card/CardTitle.js.map +1 -0
  194. package/components/Card/index.d.ts +10 -0
  195. package/components/Card/index.js +11 -0
  196. package/components/Card/index.js.map +1 -0
  197. package/components/Card/package.json +8 -0
  198. package/components/Card/useCardMediaStyleProps.d.ts +7 -0
  199. package/components/Card/useCardMediaStyleProps.js +15 -0
  200. package/components/Card/useCardMediaStyleProps.js.map +1 -0
  201. package/components/Card/useCardStyleProps.d.ts +27 -0
  202. package/components/Card/useCardStyleProps.js +58 -0
  203. package/components/Card/useCardStyleProps.js.map +1 -0
  204. package/components/Checkbox/Checkbox.cjs +639 -0
  205. package/components/Checkbox/Checkbox.cjs.map +1 -0
  206. package/components/Checkbox/Checkbox.d.ts +4 -0
  207. package/components/Checkbox/Checkbox.js +39 -0
  208. package/components/Checkbox/Checkbox.js.map +1 -0
  209. package/components/Checkbox/index.d.ts +2 -0
  210. package/components/Checkbox/index.js +3 -0
  211. package/components/Checkbox/index.js.map +1 -0
  212. package/components/Checkbox/package.json +8 -0
  213. package/components/Checkbox/useCheckboxStyleProps.d.ts +13 -0
  214. package/components/Checkbox/useCheckboxStyleProps.js +49 -0
  215. package/components/Checkbox/useCheckboxStyleProps.js.map +1 -0
  216. package/components/Collapse/Collapse.cjs +601 -0
  217. package/components/Collapse/Collapse.cjs.map +1 -0
  218. package/components/Collapse/Collapse.d.ts +7 -0
  219. package/components/Collapse/Collapse.js +60 -0
  220. package/components/Collapse/Collapse.js.map +1 -0
  221. package/components/Collapse/UncontrolledCollapse.d.ts +7 -0
  222. package/components/Collapse/UncontrolledCollapse.js +38 -0
  223. package/components/Collapse/UncontrolledCollapse.js.map +1 -0
  224. package/components/Collapse/index.d.ts +5 -0
  225. package/components/Collapse/index.js +6 -0
  226. package/components/Collapse/index.js.map +1 -0
  227. package/components/Collapse/package.json +8 -0
  228. package/components/Collapse/useCollapse.d.ts +7 -0
  229. package/components/Collapse/useCollapse.js +15 -0
  230. package/components/Collapse/useCollapse.js.map +1 -0
  231. package/components/Collapse/useCollapseAriaProps.d.ts +18 -0
  232. package/components/Collapse/useCollapseAriaProps.js +37 -0
  233. package/components/Collapse/useCollapseAriaProps.js.map +1 -0
  234. package/components/Collapse/useCollapseStyleProps.d.ts +11 -0
  235. package/components/Collapse/useCollapseStyleProps.js +19 -0
  236. package/components/Collapse/useCollapseStyleProps.js.map +1 -0
  237. package/components/Collapse/useResizeHeight.d.ts +2 -0
  238. package/components/Collapse/useResizeHeight.js +13 -0
  239. package/components/Collapse/useResizeHeight.js.map +1 -0
  240. package/components/Container/Container.cjs +341 -0
  241. package/components/Container/Container.cjs.map +1 -0
  242. package/components/Container/Container.d.ts +6 -0
  243. package/components/Container/Container.js +33 -0
  244. package/components/Container/Container.js.map +1 -0
  245. package/components/Container/index.d.ts +2 -0
  246. package/components/Container/index.js +3 -0
  247. package/components/Container/index.js.map +1 -0
  248. package/components/Container/package.json +8 -0
  249. package/components/Container/useContainerStyleProps.d.ts +6 -0
  250. package/components/Container/useContainerStyleProps.js +28 -0
  251. package/components/Container/useContainerStyleProps.js.map +1 -0
  252. package/components/ControlButton/ControlButton.d.ts +3 -0
  253. package/components/ControlButton/ControlButton.js +39 -0
  254. package/components/ControlButton/ControlButton.js.map +1 -0
  255. package/components/ControlButton/index.d.ts +3 -0
  256. package/components/ControlButton/index.js +4 -0
  257. package/components/ControlButton/index.js.map +1 -0
  258. package/components/ControlButton/useControlButtonProps.d.ts +6 -0
  259. package/components/ControlButton/useControlButtonProps.js +13 -0
  260. package/components/ControlButton/useControlButtonProps.js.map +1 -0
  261. package/components/ControlButton/useControlButtonStyleProps.d.ts +7 -0
  262. package/components/ControlButton/useControlButtonStyleProps.js +36 -0
  263. package/components/ControlButton/useControlButtonStyleProps.js.map +1 -0
  264. package/components/Dialog/Dialog.cjs +275 -0
  265. package/components/Dialog/Dialog.cjs.map +1 -0
  266. package/components/Dialog/Dialog.d.ts +4 -0
  267. package/components/Dialog/Dialog.js +41 -0
  268. package/components/Dialog/Dialog.js.map +1 -0
  269. package/components/Dialog/index.d.ts +2 -0
  270. package/components/Dialog/index.js +3 -0
  271. package/components/Dialog/index.js.map +1 -0
  272. package/components/Dialog/package.json +8 -0
  273. package/components/Dialog/useDialog.d.ts +6 -0
  274. package/components/Dialog/useDialog.js +54 -0
  275. package/components/Dialog/useDialog.js.map +1 -0
  276. package/components/Divider/Divider.cjs +302 -0
  277. package/components/Divider/Divider.cjs.map +1 -0
  278. package/components/Divider/Divider.d.ts +6 -0
  279. package/components/Divider/Divider.js +13 -0
  280. package/components/Divider/Divider.js.map +1 -0
  281. package/components/Divider/index.d.ts +2 -0
  282. package/components/Divider/index.js +3 -0
  283. package/components/Divider/index.js.map +1 -0
  284. package/components/Divider/package.json +8 -0
  285. package/components/Divider/useDividerStyleProps.d.ts +6 -0
  286. package/components/Divider/useDividerStyleProps.js +9 -0
  287. package/components/Divider/useDividerStyleProps.js.map +1 -0
  288. package/components/Drawer/Drawer.cjs +1048 -0
  289. package/components/Drawer/Drawer.cjs.map +1 -0
  290. package/components/Drawer/Drawer.d.ts +7 -0
  291. package/components/Drawer/Drawer.js +35 -0
  292. package/components/Drawer/Drawer.js.map +1 -0
  293. package/components/Drawer/DrawerCloseButton.d.ts +7 -0
  294. package/components/Drawer/DrawerCloseButton.js +42 -0
  295. package/components/Drawer/DrawerCloseButton.js.map +1 -0
  296. package/components/Drawer/DrawerContext.d.ts +10 -0
  297. package/components/Drawer/DrawerContext.js +14 -0
  298. package/components/Drawer/DrawerContext.js.map +1 -0
  299. package/components/Drawer/DrawerPanel.d.ts +4 -0
  300. package/components/Drawer/DrawerPanel.js +28 -0
  301. package/components/Drawer/DrawerPanel.js.map +1 -0
  302. package/components/Drawer/constants.d.ts +2 -0
  303. package/components/Drawer/constants.js +4 -0
  304. package/components/Drawer/constants.js.map +1 -0
  305. package/components/Drawer/index.d.ts +5 -0
  306. package/components/Drawer/index.js +6 -0
  307. package/components/Drawer/index.js.map +1 -0
  308. package/components/Drawer/package.json +8 -0
  309. package/components/Drawer/useDrawerStyleProps.d.ts +14 -0
  310. package/components/Drawer/useDrawerStyleProps.js +27 -0
  311. package/components/Drawer/useDrawerStyleProps.js.map +1 -0
  312. package/components/Dropdown/Dropdown.cjs +611 -0
  313. package/components/Dropdown/Dropdown.cjs.map +1 -0
  314. package/components/Dropdown/Dropdown.d.ts +7 -0
  315. package/components/Dropdown/Dropdown.js +42 -0
  316. package/components/Dropdown/Dropdown.js.map +1 -0
  317. package/components/Dropdown/DropdownContext.d.ts +19 -0
  318. package/components/Dropdown/DropdownContext.js +20 -0
  319. package/components/Dropdown/DropdownContext.js.map +1 -0
  320. package/components/Dropdown/DropdownPopover.d.ts +9 -0
  321. package/components/Dropdown/DropdownPopover.js +29 -0
  322. package/components/Dropdown/DropdownPopover.js.map +1 -0
  323. package/components/Dropdown/DropdownTrigger.d.ts +7 -0
  324. package/components/Dropdown/DropdownTrigger.js +34 -0
  325. package/components/Dropdown/DropdownTrigger.js.map +1 -0
  326. package/components/Dropdown/UncontrolledDropdown.d.ts +7 -0
  327. package/components/Dropdown/UncontrolledDropdown.js +31 -0
  328. package/components/Dropdown/UncontrolledDropdown.js.map +1 -0
  329. package/components/Dropdown/index.d.ts +8 -0
  330. package/components/Dropdown/index.js +9 -0
  331. package/components/Dropdown/index.js.map +1 -0
  332. package/components/Dropdown/package.json +8 -0
  333. package/components/Dropdown/useDropdown.d.ts +13 -0
  334. package/components/Dropdown/useDropdown.js +29 -0
  335. package/components/Dropdown/useDropdown.js.map +1 -0
  336. package/components/Dropdown/useDropdownAriaProps.d.ts +31 -0
  337. package/components/Dropdown/useDropdownAriaProps.js +29 -0
  338. package/components/Dropdown/useDropdownAriaProps.js.map +1 -0
  339. package/components/Dropdown/useDropdownStyleProps.d.ts +10 -0
  340. package/components/Dropdown/useDropdownStyleProps.js +36 -0
  341. package/components/Dropdown/useDropdownStyleProps.js.map +1 -0
  342. package/components/EmptyState/EmptyState.cjs +472 -0
  343. package/components/EmptyState/EmptyState.cjs.map +1 -0
  344. package/components/EmptyState/EmptyState.d.ts +7 -0
  345. package/components/EmptyState/EmptyState.js +26 -0
  346. package/components/EmptyState/EmptyState.js.map +1 -0
  347. package/components/EmptyState/EmptyStateSection.d.ts +7 -0
  348. package/components/EmptyState/EmptyStateSection.js +26 -0
  349. package/components/EmptyState/EmptyStateSection.js.map +1 -0
  350. package/components/EmptyState/index.d.ts +3 -0
  351. package/components/EmptyState/index.js +4 -0
  352. package/components/EmptyState/index.js.map +1 -0
  353. package/components/EmptyState/package.json +8 -0
  354. package/components/EmptyState/useEmptyStateStyleProps.d.ts +9 -0
  355. package/components/EmptyState/useEmptyStateStyleProps.js +13 -0
  356. package/components/EmptyState/useEmptyStateStyleProps.js.map +1 -0
  357. package/components/Field/Field.cjs +545 -0
  358. package/components/Field/Field.cjs.map +1 -0
  359. package/components/Field/HelperText.d.ts +7 -0
  360. package/components/Field/HelperText.js +39 -0
  361. package/components/Field/HelperText.js.map +1 -0
  362. package/components/Field/Label.d.ts +7 -0
  363. package/components/Field/Label.js +24 -0
  364. package/components/Field/Label.js.map +1 -0
  365. package/components/Field/ValidationText.d.ts +7 -0
  366. package/components/Field/ValidationText.js +46 -0
  367. package/components/Field/ValidationText.js.map +1 -0
  368. package/components/Field/constants.d.ts +1 -0
  369. package/components/Field/constants.js +2 -0
  370. package/components/Field/constants.js.map +1 -0
  371. package/components/Field/index.d.ts +5 -0
  372. package/components/Field/index.js +6 -0
  373. package/components/Field/index.js.map +1 -0
  374. package/components/Field/package.json +8 -0
  375. package/components/Field/types.d.ts +15 -0
  376. package/components/Field/types.js +2 -0
  377. package/components/Field/types.js.map +1 -0
  378. package/components/Field/useAriaIds.d.ts +8 -0
  379. package/components/Field/useAriaIds.js +20 -0
  380. package/components/Field/useAriaIds.js.map +1 -0
  381. package/components/Field/useValidationIcon.d.ts +2 -0
  382. package/components/Field/useValidationIcon.js +10 -0
  383. package/components/Field/useValidationIcon.js.map +1 -0
  384. package/components/Field/useValidationTextRole.d.ts +5 -0
  385. package/components/Field/useValidationTextRole.js +17 -0
  386. package/components/Field/useValidationTextRole.js.map +1 -0
  387. package/components/FieldGroup/FieldGroup.cjs +648 -0
  388. package/components/FieldGroup/FieldGroup.cjs.map +1 -0
  389. package/components/FieldGroup/FieldGroup.d.ts +7 -0
  390. package/components/FieldGroup/FieldGroup.js +39 -0
  391. package/components/FieldGroup/FieldGroup.js.map +1 -0
  392. package/components/FieldGroup/index.d.ts +1 -0
  393. package/components/FieldGroup/index.js +2 -0
  394. package/components/FieldGroup/index.js.map +1 -0
  395. package/components/FieldGroup/package.json +8 -0
  396. package/components/FieldGroup/useFieldGroupStyleProps.d.ts +14 -0
  397. package/components/FieldGroup/useFieldGroupStyleProps.js +27 -0
  398. package/components/FieldGroup/useFieldGroupStyleProps.js.map +1 -0
  399. package/components/FileUploader/AttachmentActionButton.d.ts +7 -0
  400. package/components/FileUploader/AttachmentActionButton.js +29 -0
  401. package/components/FileUploader/AttachmentActionButton.js.map +1 -0
  402. package/components/FileUploader/AttachmentDismissButton.d.ts +7 -0
  403. package/components/FileUploader/AttachmentDismissButton.js +29 -0
  404. package/components/FileUploader/AttachmentDismissButton.js.map +1 -0
  405. package/components/FileUploader/AttachmentImagePreview.d.ts +7 -0
  406. package/components/FileUploader/AttachmentImagePreview.js +19 -0
  407. package/components/FileUploader/AttachmentImagePreview.js.map +1 -0
  408. package/components/FileUploader/FileUploader.cjs +1312 -0
  409. package/components/FileUploader/FileUploader.cjs.map +1 -0
  410. package/components/FileUploader/FileUploader.d.ts +7 -0
  411. package/components/FileUploader/FileUploader.js +37 -0
  412. package/components/FileUploader/FileUploader.js.map +1 -0
  413. package/components/FileUploader/FileUploaderAttachment.d.ts +7 -0
  414. package/components/FileUploader/FileUploaderAttachment.js +51 -0
  415. package/components/FileUploader/FileUploaderAttachment.js.map +1 -0
  416. package/components/FileUploader/FileUploaderContext.d.ts +9 -0
  417. package/components/FileUploader/FileUploaderContext.js +23 -0
  418. package/components/FileUploader/FileUploaderContext.js.map +1 -0
  419. package/components/FileUploader/FileUploaderInput.d.ts +7 -0
  420. package/components/FileUploader/FileUploaderInput.js +69 -0
  421. package/components/FileUploader/FileUploaderInput.js.map +1 -0
  422. package/components/FileUploader/FileUploaderList.d.ts +7 -0
  423. package/components/FileUploader/FileUploaderList.js +42 -0
  424. package/components/FileUploader/FileUploaderList.js.map +1 -0
  425. package/components/FileUploader/UncontrolledFileUploader.d.ts +7 -0
  426. package/components/FileUploader/UncontrolledFileUploader.js +32 -0
  427. package/components/FileUploader/UncontrolledFileUploader.js.map +1 -0
  428. package/components/FileUploader/constants.d.ts +17 -0
  429. package/components/FileUploader/constants.js +18 -0
  430. package/components/FileUploader/constants.js.map +1 -0
  431. package/components/FileUploader/index.d.ts +13 -0
  432. package/components/FileUploader/index.js +14 -0
  433. package/components/FileUploader/index.js.map +1 -0
  434. package/components/FileUploader/package.json +8 -0
  435. package/components/FileUploader/useFileQueue.d.ts +4 -0
  436. package/components/FileUploader/useFileQueue.js +51 -0
  437. package/components/FileUploader/useFileQueue.js.map +1 -0
  438. package/components/FileUploader/useFileUploaderAttachment.d.ts +10 -0
  439. package/components/FileUploader/useFileUploaderAttachment.js +18 -0
  440. package/components/FileUploader/useFileUploaderAttachment.js.map +1 -0
  441. package/components/FileUploader/useFileUploaderInput.d.ts +17 -0
  442. package/components/FileUploader/useFileUploaderInput.js +161 -0
  443. package/components/FileUploader/useFileUploaderInput.js.map +1 -0
  444. package/components/FileUploader/useFileUploaderStyleProps.d.ts +55 -0
  445. package/components/FileUploader/useFileUploaderStyleProps.js +92 -0
  446. package/components/FileUploader/useFileUploaderStyleProps.js.map +1 -0
  447. package/components/FileUploader/utils.d.ts +6 -0
  448. package/components/FileUploader/utils.js +61 -0
  449. package/components/FileUploader/utils.js.map +1 -0
  450. package/components/Flex/Flex.cjs +514 -0
  451. package/components/Flex/Flex.cjs.map +1 -0
  452. package/components/Flex/Flex.d.ts +7 -0
  453. package/components/Flex/Flex.js +35 -0
  454. package/components/Flex/Flex.js.map +1 -0
  455. package/components/Flex/index.d.ts +2 -0
  456. package/components/Flex/index.js +3 -0
  457. package/components/Flex/index.js.map +1 -0
  458. package/components/Flex/package.json +8 -0
  459. package/components/Flex/useFlexStyleProps.d.ts +12 -0
  460. package/components/Flex/useFlexStyleProps.js +38 -0
  461. package/components/Flex/useFlexStyleProps.js.map +1 -0
  462. package/components/Footer/Footer.cjs +337 -0
  463. package/components/Footer/Footer.cjs.map +1 -0
  464. package/components/Footer/Footer.d.ts +7 -0
  465. package/components/Footer/Footer.js +37 -0
  466. package/components/Footer/Footer.js.map +1 -0
  467. package/components/Footer/constants.d.ts +2 -0
  468. package/components/Footer/constants.js +3 -0
  469. package/components/Footer/constants.js.map +1 -0
  470. package/components/Footer/index.d.ts +1 -0
  471. package/components/Footer/index.js +2 -0
  472. package/components/Footer/index.js.map +1 -0
  473. package/components/Footer/package.json +8 -0
  474. package/components/Footer/useFooterStyleProps.d.ts +5 -0
  475. package/components/Footer/useFooterStyleProps.js +14 -0
  476. package/components/Footer/useFooterStyleProps.js.map +1 -0
  477. package/components/Grid/Grid.cjs +499 -0
  478. package/components/Grid/Grid.cjs.map +1 -0
  479. package/components/Grid/Grid.d.ts +7 -0
  480. package/components/Grid/Grid.js +33 -0
  481. package/components/Grid/Grid.js.map +1 -0
  482. package/components/Grid/GridItem.d.ts +7 -0
  483. package/components/Grid/GridItem.js +26 -0
  484. package/components/Grid/GridItem.js.map +1 -0
  485. package/components/Grid/index.d.ts +3 -0
  486. package/components/Grid/index.js +4 -0
  487. package/components/Grid/index.js.map +1 -0
  488. package/components/Grid/package.json +8 -0
  489. package/components/Grid/useGridItemStyleProps.d.ts +12 -0
  490. package/components/Grid/useGridItemStyleProps.js +36 -0
  491. package/components/Grid/useGridItemStyleProps.js.map +1 -0
  492. package/components/Grid/useGridStyleProps.d.ts +12 -0
  493. package/components/Grid/useGridStyleProps.js +42 -0
  494. package/components/Grid/useGridStyleProps.js.map +1 -0
  495. package/components/Header/Header.cjs +1261 -0
  496. package/components/Header/Header.cjs.map +1 -0
  497. package/components/Header/Header.d.ts +7 -0
  498. package/components/Header/Header.js +33 -0
  499. package/components/Header/Header.js.map +1 -0
  500. package/components/Header/HeaderButton.d.ts +7 -0
  501. package/components/Header/HeaderButton.js +13 -0
  502. package/components/Header/HeaderButton.js.map +1 -0
  503. package/components/Header/HeaderDesktopActions.d.ts +7 -0
  504. package/components/Header/HeaderDesktopActions.js +29 -0
  505. package/components/Header/HeaderDesktopActions.js.map +1 -0
  506. package/components/Header/HeaderDialog.d.ts +7 -0
  507. package/components/Header/HeaderDialog.js +32 -0
  508. package/components/Header/HeaderDialog.js.map +1 -0
  509. package/components/Header/HeaderDialogActions.d.ts +7 -0
  510. package/components/Header/HeaderDialogActions.js +26 -0
  511. package/components/Header/HeaderDialogActions.js.map +1 -0
  512. package/components/Header/HeaderDialogButton.d.ts +7 -0
  513. package/components/Header/HeaderDialogButton.js +13 -0
  514. package/components/Header/HeaderDialogButton.js.map +1 -0
  515. package/components/Header/HeaderDialogCloseButton.d.ts +7 -0
  516. package/components/Header/HeaderDialogCloseButton.js +37 -0
  517. package/components/Header/HeaderDialogCloseButton.js.map +1 -0
  518. package/components/Header/HeaderDialogContext.d.ts +12 -0
  519. package/components/Header/HeaderDialogContext.js +14 -0
  520. package/components/Header/HeaderDialogContext.js.map +1 -0
  521. package/components/Header/HeaderDialogLink.d.ts +4 -0
  522. package/components/Header/HeaderDialogLink.js +31 -0
  523. package/components/Header/HeaderDialogLink.js.map +1 -0
  524. package/components/Header/HeaderDialogNav.d.ts +7 -0
  525. package/components/Header/HeaderDialogNav.js +13 -0
  526. package/components/Header/HeaderDialogNav.js.map +1 -0
  527. package/components/Header/HeaderDialogNavItem.d.ts +7 -0
  528. package/components/Header/HeaderDialogNavItem.js +13 -0
  529. package/components/Header/HeaderDialogNavItem.js.map +1 -0
  530. package/components/Header/HeaderDialogText.d.ts +7 -0
  531. package/components/Header/HeaderDialogText.js +13 -0
  532. package/components/Header/HeaderDialogText.js.map +1 -0
  533. package/components/Header/HeaderLink.d.ts +4 -0
  534. package/components/Header/HeaderLink.js +31 -0
  535. package/components/Header/HeaderLink.js.map +1 -0
  536. package/components/Header/HeaderMobileActions.d.ts +7 -0
  537. package/components/Header/HeaderMobileActions.js +33 -0
  538. package/components/Header/HeaderMobileActions.js.map +1 -0
  539. package/components/Header/HeaderNav.d.ts +7 -0
  540. package/components/Header/HeaderNav.js +13 -0
  541. package/components/Header/HeaderNav.js.map +1 -0
  542. package/components/Header/HeaderNavItem.d.ts +7 -0
  543. package/components/Header/HeaderNavItem.js +13 -0
  544. package/components/Header/HeaderNavItem.js.map +1 -0
  545. package/components/Header/constants.d.ts +4 -0
  546. package/components/Header/constants.js +5 -0
  547. package/components/Header/constants.js.map +1 -0
  548. package/components/Header/index.d.ts +18 -0
  549. package/components/Header/index.js +19 -0
  550. package/components/Header/index.js.map +1 -0
  551. package/components/Header/package.json +8 -0
  552. package/components/Header/useHeaderStyleProps.d.ts +32 -0
  553. package/components/Header/useHeaderStyleProps.js +57 -0
  554. package/components/Header/useHeaderStyleProps.js.map +1 -0
  555. package/components/Heading/Heading.cjs +386 -0
  556. package/components/Heading/Heading.cjs.map +1 -0
  557. package/components/Heading/Heading.d.ts +7 -0
  558. package/components/Heading/Heading.js +37 -0
  559. package/components/Heading/Heading.js.map +1 -0
  560. package/components/Heading/index.d.ts +2 -0
  561. package/components/Heading/index.js +3 -0
  562. package/components/Heading/index.js.map +1 -0
  563. package/components/Heading/package.json +8 -0
  564. package/components/Heading/useHeadingStyleProps.d.ts +7 -0
  565. package/components/Heading/useHeadingStyleProps.js +26 -0
  566. package/components/Heading/useHeadingStyleProps.js.map +1 -0
  567. package/components/Icon/Icon.cjs +418 -0
  568. package/components/Icon/Icon.cjs.map +1 -0
  569. package/components/Icon/Icon.d.ts +4 -0
  570. package/components/Icon/Icon.js +43 -0
  571. package/components/Icon/Icon.js.map +1 -0
  572. package/components/Icon/constants.d.ts +1 -0
  573. package/components/Icon/constants.js +2 -0
  574. package/components/Icon/constants.js.map +1 -0
  575. package/components/Icon/index.d.ts +2 -0
  576. package/components/Icon/index.js +3 -0
  577. package/components/Icon/index.js.map +1 -0
  578. package/components/Icon/package.json +8 -0
  579. package/components/Icon/useIconBoxSize.d.ts +2 -0
  580. package/components/Icon/useIconBoxSize.js +3 -0
  581. package/components/Icon/useIconBoxSize.js.map +1 -0
  582. package/components/Icon/useIconStyleProps.d.ts +1324 -0
  583. package/components/Icon/useIconStyleProps.js +43 -0
  584. package/components/Icon/useIconStyleProps.js.map +1 -0
  585. package/components/Icon/utils.d.ts +4 -0
  586. package/components/Icon/utils.js +6 -0
  587. package/components/Icon/utils.js.map +1 -0
  588. package/components/IconBox/IconBox.cjs +632 -0
  589. package/components/IconBox/IconBox.cjs.map +1 -0
  590. package/components/IconBox/IconBox.d.ts +7 -0
  591. package/components/IconBox/IconBox.js +42 -0
  592. package/components/IconBox/IconBox.js.map +1 -0
  593. package/components/IconBox/constants.d.ts +32 -0
  594. package/components/IconBox/constants.js +19 -0
  595. package/components/IconBox/constants.js.map +1 -0
  596. package/components/IconBox/index.d.ts +3 -0
  597. package/components/IconBox/index.js +4 -0
  598. package/components/IconBox/index.js.map +1 -0
  599. package/components/IconBox/package.json +8 -0
  600. package/components/IconBox/useIconBoxColors.d.ts +9 -0
  601. package/components/IconBox/useIconBoxColors.js +22 -0
  602. package/components/IconBox/useIconBoxColors.js.map +1 -0
  603. package/components/IconBox/useIconBoxStyleProps.d.ts +13 -0
  604. package/components/IconBox/useIconBoxStyleProps.js +46 -0
  605. package/components/IconBox/useIconBoxStyleProps.js.map +1 -0
  606. package/components/Item/Item.cjs +545 -0
  607. package/components/Item/Item.cjs.map +1 -0
  608. package/components/Item/Item.d.ts +7 -0
  609. package/components/Item/Item.js +35 -0
  610. package/components/Item/Item.js.map +1 -0
  611. package/components/Item/index.d.ts +2 -0
  612. package/components/Item/index.js +3 -0
  613. package/components/Item/index.js.map +1 -0
  614. package/components/Item/package.json +8 -0
  615. package/components/Item/useItemStyleProps.d.ts +15 -0
  616. package/components/Item/useItemStyleProps.js +42 -0
  617. package/components/Item/useItemStyleProps.js.map +1 -0
  618. package/components/Link/Link.cjs +386 -0
  619. package/components/Link/Link.cjs.map +1 -0
  620. package/components/Link/Link.d.ts +4 -0
  621. package/components/Link/Link.js +34 -0
  622. package/components/Link/Link.js.map +1 -0
  623. package/components/Link/index.d.ts +2 -0
  624. package/components/Link/index.js +3 -0
  625. package/components/Link/index.js.map +1 -0
  626. package/components/Link/package.json +8 -0
  627. package/components/Link/useLinkStyleProps.d.ts +7 -0
  628. package/components/Link/useLinkStyleProps.js +34 -0
  629. package/components/Link/useLinkStyleProps.js.map +1 -0
  630. package/components/Matrix/Matrix.cjs +429 -0
  631. package/components/Matrix/Matrix.cjs.map +1 -0
  632. package/components/Matrix/Matrix.d.ts +7 -0
  633. package/components/Matrix/Matrix.js +37 -0
  634. package/components/Matrix/Matrix.js.map +1 -0
  635. package/components/Matrix/constant.d.ts +5 -0
  636. package/components/Matrix/constant.js +6 -0
  637. package/components/Matrix/constant.js.map +1 -0
  638. package/components/Matrix/index.d.ts +3 -0
  639. package/components/Matrix/index.js +4 -0
  640. package/components/Matrix/index.js.map +1 -0
  641. package/components/Matrix/package.json +8 -0
  642. package/components/Matrix/useMatrixStyleProps.d.ts +9 -0
  643. package/components/Matrix/useMatrixStyleProps.js +41 -0
  644. package/components/Matrix/useMatrixStyleProps.js.map +1 -0
  645. package/components/Modal/Modal.cjs +1167 -0
  646. package/components/Modal/Modal.cjs.map +1 -0
  647. package/components/Modal/Modal.d.ts +7 -0
  648. package/components/Modal/Modal.js +35 -0
  649. package/components/Modal/Modal.js.map +1 -0
  650. package/components/Modal/ModalBody.d.ts +7 -0
  651. package/components/Modal/ModalBody.js +25 -0
  652. package/components/Modal/ModalBody.js.map +1 -0
  653. package/components/Modal/ModalCloseButton.d.ts +7 -0
  654. package/components/Modal/ModalCloseButton.js +25 -0
  655. package/components/Modal/ModalCloseButton.js.map +1 -0
  656. package/components/Modal/ModalContext.d.ts +10 -0
  657. package/components/Modal/ModalContext.js +14 -0
  658. package/components/Modal/ModalContext.js.map +1 -0
  659. package/components/Modal/ModalDialog.d.ts +3 -0
  660. package/components/Modal/ModalDialog.js +33 -0
  661. package/components/Modal/ModalDialog.js.map +1 -0
  662. package/components/Modal/ModalFooter.d.ts +7 -0
  663. package/components/Modal/ModalFooter.js +28 -0
  664. package/components/Modal/ModalFooter.js.map +1 -0
  665. package/components/Modal/ModalHeader.d.ts +7 -0
  666. package/components/Modal/ModalHeader.js +34 -0
  667. package/components/Modal/ModalHeader.js.map +1 -0
  668. package/components/Modal/index.d.ts +8 -0
  669. package/components/Modal/index.js +9 -0
  670. package/components/Modal/index.js.map +1 -0
  671. package/components/Modal/package.json +8 -0
  672. package/components/Modal/useModalDialogStyleProps.d.ts +833 -0
  673. package/components/Modal/useModalDialogStyleProps.js +35 -0
  674. package/components/Modal/useModalDialogStyleProps.js.map +1 -0
  675. package/components/Modal/useModalStyleProps.d.ts +24 -0
  676. package/components/Modal/useModalStyleProps.js +49 -0
  677. package/components/Modal/useModalStyleProps.js.map +1 -0
  678. package/components/Navigation/Navigation.cjs +577 -0
  679. package/components/Navigation/Navigation.cjs.map +1 -0
  680. package/components/Navigation/Navigation.d.ts +7 -0
  681. package/components/Navigation/Navigation.js +31 -0
  682. package/components/Navigation/Navigation.js.map +1 -0
  683. package/components/Navigation/NavigationAction.d.ts +4 -0
  684. package/components/Navigation/NavigationAction.js +36 -0
  685. package/components/Navigation/NavigationAction.js.map +1 -0
  686. package/components/Navigation/NavigationAvatar.d.ts +4 -0
  687. package/components/Navigation/NavigationAvatar.js +36 -0
  688. package/components/Navigation/NavigationAvatar.js.map +1 -0
  689. package/components/Navigation/NavigationItem.d.ts +7 -0
  690. package/components/Navigation/NavigationItem.js +30 -0
  691. package/components/Navigation/NavigationItem.js.map +1 -0
  692. package/components/Navigation/index.d.ts +6 -0
  693. package/components/Navigation/index.js +7 -0
  694. package/components/Navigation/index.js.map +1 -0
  695. package/components/Navigation/package.json +8 -0
  696. package/components/Navigation/useNavigationActionProps.d.ts +6 -0
  697. package/components/Navigation/useNavigationActionProps.js +12 -0
  698. package/components/Navigation/useNavigationActionProps.js.map +1 -0
  699. package/components/Navigation/useNavigationStyleProps.d.ts +19 -0
  700. package/components/Navigation/useNavigationStyleProps.js +45 -0
  701. package/components/Navigation/useNavigationStyleProps.js.map +1 -0
  702. package/components/NoSsr/NoSsr.cjs +15 -0
  703. package/components/NoSsr/NoSsr.cjs.map +1 -0
  704. package/components/NoSsr/NoSsr.d.ts +8 -0
  705. package/components/NoSsr/NoSsr.js +12 -0
  706. package/components/NoSsr/NoSsr.js.map +1 -0
  707. package/components/NoSsr/index.d.ts +1 -0
  708. package/components/NoSsr/index.js +2 -0
  709. package/components/NoSsr/index.js.map +1 -0
  710. package/components/NoSsr/package.json +8 -0
  711. package/components/Pagination/Pagination.cjs +949 -0
  712. package/components/Pagination/Pagination.cjs.map +1 -0
  713. package/components/Pagination/Pagination.d.ts +7 -0
  714. package/components/Pagination/Pagination.js +27 -0
  715. package/components/Pagination/Pagination.js.map +1 -0
  716. package/components/Pagination/PaginationButtonLink.d.ts +4 -0
  717. package/components/Pagination/PaginationButtonLink.js +30 -0
  718. package/components/Pagination/PaginationButtonLink.js.map +1 -0
  719. package/components/Pagination/PaginationItem.d.ts +7 -0
  720. package/components/Pagination/PaginationItem.js +25 -0
  721. package/components/Pagination/PaginationItem.js.map +1 -0
  722. package/components/Pagination/PaginationLink.d.ts +4 -0
  723. package/components/Pagination/PaginationLink.js +30 -0
  724. package/components/Pagination/PaginationLink.js.map +1 -0
  725. package/components/Pagination/PaginationLinkNext.d.ts +4 -0
  726. package/components/Pagination/PaginationLinkNext.js +23 -0
  727. package/components/Pagination/PaginationLinkNext.js.map +1 -0
  728. package/components/Pagination/PaginationLinkPrevious.d.ts +4 -0
  729. package/components/Pagination/PaginationLinkPrevious.js +23 -0
  730. package/components/Pagination/PaginationLinkPrevious.js.map +1 -0
  731. package/components/Pagination/UncontrolledPagination.d.ts +6 -0
  732. package/components/Pagination/UncontrolledPagination.js +45 -0
  733. package/components/Pagination/UncontrolledPagination.js.map +1 -0
  734. package/components/Pagination/constants.d.ts +2 -0
  735. package/components/Pagination/constants.js +3 -0
  736. package/components/Pagination/constants.js.map +1 -0
  737. package/components/Pagination/index.d.ts +9 -0
  738. package/components/Pagination/index.js +10 -0
  739. package/components/Pagination/index.js.map +1 -0
  740. package/components/Pagination/package.json +8 -0
  741. package/components/Pagination/usePagination.d.ts +7 -0
  742. package/components/Pagination/usePagination.js +35 -0
  743. package/components/Pagination/usePagination.js.map +1 -0
  744. package/components/Pagination/usePaginationStyleProps.d.ts +11 -0
  745. package/components/Pagination/usePaginationStyleProps.js +16 -0
  746. package/components/Pagination/usePaginationStyleProps.js.map +1 -0
  747. package/components/PartnerLogo/PartnerLogo.cjs +362 -0
  748. package/components/PartnerLogo/PartnerLogo.cjs.map +1 -0
  749. package/components/PartnerLogo/PartnerLogo.d.ts +7 -0
  750. package/components/PartnerLogo/PartnerLogo.js +32 -0
  751. package/components/PartnerLogo/PartnerLogo.js.map +1 -0
  752. package/components/PartnerLogo/index.d.ts +3 -0
  753. package/components/PartnerLogo/index.js +4 -0
  754. package/components/PartnerLogo/index.js.map +1 -0
  755. package/components/PartnerLogo/package.json +8 -0
  756. package/components/PartnerLogo/usePartnerLogoStyleProps.d.ts +6 -0
  757. package/components/PartnerLogo/usePartnerLogoStyleProps.js +30 -0
  758. package/components/PartnerLogo/usePartnerLogoStyleProps.js.map +1 -0
  759. package/components/Pill/Pill.cjs +375 -0
  760. package/components/Pill/Pill.cjs.map +1 -0
  761. package/components/Pill/Pill.d.ts +7 -0
  762. package/components/Pill/Pill.js +32 -0
  763. package/components/Pill/Pill.js.map +1 -0
  764. package/components/Pill/constants.d.ts +4 -0
  765. package/components/Pill/constants.js +5 -0
  766. package/components/Pill/constants.js.map +1 -0
  767. package/components/Pill/index.d.ts +3 -0
  768. package/components/Pill/index.js +4 -0
  769. package/components/Pill/index.js.map +1 -0
  770. package/components/Pill/package.json +8 -0
  771. package/components/Pill/usePillStyleProps.d.ts +7 -0
  772. package/components/Pill/usePillStyleProps.js +24 -0
  773. package/components/Pill/usePillStyleProps.js.map +1 -0
  774. package/components/PricingPlan/PricingPlan.cjs +1783 -0
  775. package/components/PricingPlan/PricingPlan.cjs.map +1 -0
  776. package/components/PricingPlan/PricingPlan.d.ts +7 -0
  777. package/components/PricingPlan/PricingPlan.js +39 -0
  778. package/components/PricingPlan/PricingPlan.js.map +1 -0
  779. package/components/PricingPlan/PricingPlanBody.d.ts +7 -0
  780. package/components/PricingPlan/PricingPlanBody.js +43 -0
  781. package/components/PricingPlan/PricingPlanBody.js.map +1 -0
  782. package/components/PricingPlan/PricingPlanFeatureTitle.d.ts +10 -0
  783. package/components/PricingPlan/PricingPlanFeatureTitle.js +48 -0
  784. package/components/PricingPlan/PricingPlanFeatureTitle.js.map +1 -0
  785. package/components/PricingPlan/PricingPlanFooter.d.ts +7 -0
  786. package/components/PricingPlan/PricingPlanFooter.js +26 -0
  787. package/components/PricingPlan/PricingPlanFooter.js.map +1 -0
  788. package/components/PricingPlan/PricingPlanHeader.d.ts +7 -0
  789. package/components/PricingPlan/PricingPlanHeader.js +47 -0
  790. package/components/PricingPlan/PricingPlanHeader.js.map +1 -0
  791. package/components/PricingPlan/constants.d.ts +1 -0
  792. package/components/PricingPlan/constants.js +2 -0
  793. package/components/PricingPlan/constants.js.map +1 -0
  794. package/components/PricingPlan/index.d.ts +5 -0
  795. package/components/PricingPlan/index.js +6 -0
  796. package/components/PricingPlan/index.js.map +1 -0
  797. package/components/PricingPlan/package.json +8 -0
  798. package/components/PricingPlan/usePricingPlanStyleProps.d.ts +35 -0
  799. package/components/PricingPlan/usePricingPlanStyleProps.js +73 -0
  800. package/components/PricingPlan/usePricingPlanStyleProps.js.map +1 -0
  801. package/components/ProductLogo/ProductLogo.cjs +305 -0
  802. package/components/ProductLogo/ProductLogo.cjs.map +1 -0
  803. package/components/ProductLogo/ProductLogo.d.ts +7 -0
  804. package/components/ProductLogo/ProductLogo.js +24 -0
  805. package/components/ProductLogo/ProductLogo.js.map +1 -0
  806. package/components/ProductLogo/index.d.ts +2 -0
  807. package/components/ProductLogo/index.js +3 -0
  808. package/components/ProductLogo/index.js.map +1 -0
  809. package/components/ProductLogo/package.json +8 -0
  810. package/components/Radio/Radio.cjs +574 -0
  811. package/components/Radio/Radio.cjs.map +1 -0
  812. package/components/Radio/Radio.d.ts +4 -0
  813. package/components/Radio/Radio.js +33 -0
  814. package/components/Radio/Radio.js.map +1 -0
  815. package/components/Radio/index.d.ts +2 -0
  816. package/components/Radio/index.js +3 -0
  817. package/components/Radio/index.js.map +1 -0
  818. package/components/Radio/package.json +8 -0
  819. package/components/Radio/useRadioStyleProps.d.ts +12 -0
  820. package/components/Radio/useRadioStyleProps.js +45 -0
  821. package/components/Radio/useRadioStyleProps.js.map +1 -0
  822. package/components/ScrollView/ScrollView.cjs +808 -0
  823. package/components/ScrollView/ScrollView.cjs.map +1 -0
  824. package/components/ScrollView/ScrollView.d.ts +7 -0
  825. package/components/ScrollView/ScrollView.js +45 -0
  826. package/components/ScrollView/ScrollView.js.map +1 -0
  827. package/components/ScrollView/ScrollViewArrows.d.ts +7 -0
  828. package/components/ScrollView/ScrollViewArrows.js +42 -0
  829. package/components/ScrollView/ScrollViewArrows.js.map +1 -0
  830. package/components/ScrollView/constants.d.ts +8 -0
  831. package/components/ScrollView/constants.js +10 -0
  832. package/components/ScrollView/constants.js.map +1 -0
  833. package/components/ScrollView/index.d.ts +6 -0
  834. package/components/ScrollView/index.js +7 -0
  835. package/components/ScrollView/index.js.map +1 -0
  836. package/components/ScrollView/package.json +8 -0
  837. package/components/ScrollView/useScrollPosition.d.ts +16 -0
  838. package/components/ScrollView/useScrollPosition.js +52 -0
  839. package/components/ScrollView/useScrollPosition.js.map +1 -0
  840. package/components/ScrollView/useScrollViewArrows.d.ts +9 -0
  841. package/components/ScrollView/useScrollViewArrows.js +33 -0
  842. package/components/ScrollView/useScrollViewArrows.js.map +1 -0
  843. package/components/ScrollView/useScrollViewStyleProps.d.ts +18 -0
  844. package/components/ScrollView/useScrollViewStyleProps.js +34 -0
  845. package/components/ScrollView/useScrollViewStyleProps.js.map +1 -0
  846. package/components/Section/Section.cjs +442 -0
  847. package/components/Section/Section.cjs.map +1 -0
  848. package/components/Section/Section.d.ts +7 -0
  849. package/components/Section/Section.js +42 -0
  850. package/components/Section/Section.js.map +1 -0
  851. package/components/Section/index.d.ts +3 -0
  852. package/components/Section/index.js +4 -0
  853. package/components/Section/index.js.map +1 -0
  854. package/components/Section/package.json +8 -0
  855. package/components/Section/useSectionSizeProps.d.ts +6 -0
  856. package/components/Section/useSectionSizeProps.js +16 -0
  857. package/components/Section/useSectionSizeProps.js.map +1 -0
  858. package/components/Section/useSectionStyleProps.d.ts +6 -0
  859. package/components/Section/useSectionStyleProps.js +14 -0
  860. package/components/Section/useSectionStyleProps.js.map +1 -0
  861. package/components/SegmentedControl/SegmentedControl.cjs +509 -0
  862. package/components/SegmentedControl/SegmentedControl.cjs.map +1 -0
  863. package/components/SegmentedControl/SegmentedControl.d.ts +7 -0
  864. package/components/SegmentedControl/SegmentedControl.js +44 -0
  865. package/components/SegmentedControl/SegmentedControl.js.map +1 -0
  866. package/components/SegmentedControl/SegmentedControlContext.d.ts +12 -0
  867. package/components/SegmentedControl/SegmentedControlContext.js +15 -0
  868. package/components/SegmentedControl/SegmentedControlContext.js.map +1 -0
  869. package/components/SegmentedControl/SegmentedControlItem.d.ts +4 -0
  870. package/components/SegmentedControl/SegmentedControlItem.js +48 -0
  871. package/components/SegmentedControl/SegmentedControlItem.js.map +1 -0
  872. package/components/SegmentedControl/UncontrolledSegmentedControl.d.ts +7 -0
  873. package/components/SegmentedControl/UncontrolledSegmentedControl.js +49 -0
  874. package/components/SegmentedControl/UncontrolledSegmentedControl.js.map +1 -0
  875. package/components/SegmentedControl/index.d.ts +4 -0
  876. package/components/SegmentedControl/index.js +5 -0
  877. package/components/SegmentedControl/index.js.map +1 -0
  878. package/components/SegmentedControl/package.json +8 -0
  879. package/components/SegmentedControl/useSegmentedControl.d.ts +9 -0
  880. package/components/SegmentedControl/useSegmentedControl.js +25 -0
  881. package/components/SegmentedControl/useSegmentedControl.js.map +1 -0
  882. package/components/SegmentedControl/useSegmentedControlStyleProps.d.ts +12 -0
  883. package/components/SegmentedControl/useSegmentedControlStyleProps.js +35 -0
  884. package/components/SegmentedControl/useSegmentedControlStyleProps.js.map +1 -0
  885. package/components/Select/Select.cjs +636 -0
  886. package/components/Select/Select.cjs.map +1 -0
  887. package/components/Select/Select.d.ts +4 -0
  888. package/components/Select/Select.js +51 -0
  889. package/components/Select/Select.js.map +1 -0
  890. package/components/Select/index.d.ts +2 -0
  891. package/components/Select/index.js +3 -0
  892. package/components/Select/index.js.map +1 -0
  893. package/components/Select/package.json +8 -0
  894. package/components/Select/useSelectStyleProps.d.ts +19 -0
  895. package/components/Select/useSelectStyleProps.js +37 -0
  896. package/components/Select/useSelectStyleProps.js.map +1 -0
  897. package/components/Skeleton/Skeleton.cjs +507 -0
  898. package/components/Skeleton/Skeleton.cjs.map +1 -0
  899. package/components/Skeleton/SkeletonHeading.d.ts +7 -0
  900. package/components/Skeleton/SkeletonHeading.js +41 -0
  901. package/components/Skeleton/SkeletonHeading.js.map +1 -0
  902. package/components/Skeleton/SkeletonItem.d.ts +6 -0
  903. package/components/Skeleton/SkeletonItem.js +11 -0
  904. package/components/Skeleton/SkeletonItem.js.map +1 -0
  905. package/components/Skeleton/SkeletonShape.d.ts +7 -0
  906. package/components/Skeleton/SkeletonShape.js +37 -0
  907. package/components/Skeleton/SkeletonShape.js.map +1 -0
  908. package/components/Skeleton/SkeletonText.d.ts +7 -0
  909. package/components/Skeleton/SkeletonText.js +41 -0
  910. package/components/Skeleton/SkeletonText.js.map +1 -0
  911. package/components/Skeleton/constants.d.ts +1 -0
  912. package/components/Skeleton/constants.js +2 -0
  913. package/components/Skeleton/constants.js.map +1 -0
  914. package/components/Skeleton/index.d.ts +5 -0
  915. package/components/Skeleton/index.js +6 -0
  916. package/components/Skeleton/index.js.map +1 -0
  917. package/components/Skeleton/package.json +8 -0
  918. package/components/Skeleton/useSkeletonShapeStyleProps.d.ts +850 -0
  919. package/components/Skeleton/useSkeletonShapeStyleProps.js +49 -0
  920. package/components/Skeleton/useSkeletonShapeStyleProps.js.map +1 -0
  921. package/components/Skeleton/useSkeletonStyleProps.d.ts +12 -0
  922. package/components/Skeleton/useSkeletonStyleProps.js +34 -0
  923. package/components/Skeleton/useSkeletonStyleProps.js.map +1 -0
  924. package/components/SkipLink/SkipLink.cjs +364 -0
  925. package/components/SkipLink/SkipLink.cjs.map +1 -0
  926. package/components/SkipLink/SkipLink.d.ts +4 -0
  927. package/components/SkipLink/SkipLink.js +31 -0
  928. package/components/SkipLink/SkipLink.js.map +1 -0
  929. package/components/SkipLink/index.d.ts +2 -0
  930. package/components/SkipLink/index.js +3 -0
  931. package/components/SkipLink/index.js.map +1 -0
  932. package/components/SkipLink/package.json +8 -0
  933. package/components/SkipLink/useSkipLinkStyleProps.d.ts +6 -0
  934. package/components/SkipLink/useSkipLinkStyleProps.js +21 -0
  935. package/components/SkipLink/useSkipLinkStyleProps.js.map +1 -0
  936. package/components/Slider/Slider.cjs +648 -0
  937. package/components/Slider/Slider.cjs.map +1 -0
  938. package/components/Slider/Slider.d.ts +4 -0
  939. package/components/Slider/Slider.js +49 -0
  940. package/components/Slider/Slider.js.map +1 -0
  941. package/components/Slider/UncontrolledSlider.d.ts +7 -0
  942. package/components/Slider/UncontrolledSlider.js +14 -0
  943. package/components/Slider/UncontrolledSlider.js.map +1 -0
  944. package/components/Slider/constants.d.ts +7 -0
  945. package/components/Slider/constants.js +8 -0
  946. package/components/Slider/constants.js.map +1 -0
  947. package/components/Slider/index.d.ts +2 -0
  948. package/components/Slider/index.js +3 -0
  949. package/components/Slider/index.js.map +1 -0
  950. package/components/Slider/package.json +8 -0
  951. package/components/Slider/useSlider.d.ts +6 -0
  952. package/components/Slider/useSlider.js +13 -0
  953. package/components/Slider/useSlider.js.map +1 -0
  954. package/components/Slider/useSliderStyleProps.d.ts +14 -0
  955. package/components/Slider/useSliderStyleProps.js +43 -0
  956. package/components/Slider/useSliderStyleProps.js.map +1 -0
  957. package/components/Spinner/Spinner.cjs +448 -0
  958. package/components/Spinner/Spinner.cjs.map +1 -0
  959. package/components/Spinner/Spinner.d.ts +6 -0
  960. package/components/Spinner/Spinner.js +14 -0
  961. package/components/Spinner/Spinner.js.map +1 -0
  962. package/components/Spinner/index.d.ts +2 -0
  963. package/components/Spinner/index.js +3 -0
  964. package/components/Spinner/index.js.map +1 -0
  965. package/components/Spinner/package.json +8 -0
  966. package/components/Spinner/useSpinnerStyleProps.d.ts +6 -0
  967. package/components/Spinner/useSpinnerStyleProps.js +25 -0
  968. package/components/Spinner/useSpinnerStyleProps.js.map +1 -0
  969. package/components/SplitButton/SplitButton.cjs +1040 -0
  970. package/components/SplitButton/SplitButton.cjs.map +1 -0
  971. package/components/SplitButton/SplitButton.d.ts +4 -0
  972. package/components/SplitButton/SplitButton.js +32 -0
  973. package/components/SplitButton/SplitButton.js.map +1 -0
  974. package/components/SplitButton/UncontrolledSplitButton.d.ts +4 -0
  975. package/components/SplitButton/UncontrolledSplitButton.js +38 -0
  976. package/components/SplitButton/UncontrolledSplitButton.js.map +1 -0
  977. package/components/SplitButton/index.d.ts +3 -0
  978. package/components/SplitButton/index.js +4 -0
  979. package/components/SplitButton/index.js.map +1 -0
  980. package/components/SplitButton/package.json +8 -0
  981. package/components/SplitButton/useSplitButtonStyleProps.d.ts +4 -0
  982. package/components/SplitButton/useSplitButtonStyleProps.js +8 -0
  983. package/components/SplitButton/useSplitButtonStyleProps.js.map +1 -0
  984. package/components/Stack/Stack.cjs +433 -0
  985. package/components/Stack/Stack.cjs.map +1 -0
  986. package/components/Stack/Stack.d.ts +7 -0
  987. package/components/Stack/Stack.js +39 -0
  988. package/components/Stack/Stack.js.map +1 -0
  989. package/components/Stack/StackItem.d.ts +7 -0
  990. package/components/Stack/StackItem.js +30 -0
  991. package/components/Stack/StackItem.js.map +1 -0
  992. package/components/Stack/index.d.ts +2 -0
  993. package/components/Stack/index.js +3 -0
  994. package/components/Stack/index.js.map +1 -0
  995. package/components/Stack/package.json +8 -0
  996. package/components/Stack/useStackStyleProps.d.ts +14 -0
  997. package/components/Stack/useStackStyleProps.js +38 -0
  998. package/components/Stack/useStackStyleProps.js.map +1 -0
  999. package/components/Tabs/TabContent.d.ts +6 -0
  1000. package/components/Tabs/TabContent.js +22 -0
  1001. package/components/Tabs/TabContent.js.map +1 -0
  1002. package/components/Tabs/TabContext.d.ts +8 -0
  1003. package/components/Tabs/TabContext.js +14 -0
  1004. package/components/Tabs/TabContext.js.map +1 -0
  1005. package/components/Tabs/TabItem.d.ts +6 -0
  1006. package/components/Tabs/TabItem.js +37 -0
  1007. package/components/Tabs/TabItem.js.map +1 -0
  1008. package/components/Tabs/TabLink.d.ts +4 -0
  1009. package/components/Tabs/TabLink.js +33 -0
  1010. package/components/Tabs/TabLink.js.map +1 -0
  1011. package/components/Tabs/TabList.d.ts +7 -0
  1012. package/components/Tabs/TabList.js +28 -0
  1013. package/components/Tabs/TabList.js.map +1 -0
  1014. package/components/Tabs/TabPane.d.ts +6 -0
  1015. package/components/Tabs/TabPane.js +27 -0
  1016. package/components/Tabs/TabPane.js.map +1 -0
  1017. package/components/Tabs/Tabs.cjs +530 -0
  1018. package/components/Tabs/Tabs.cjs.map +1 -0
  1019. package/components/Tabs/Tabs.d.ts +6 -0
  1020. package/components/Tabs/Tabs.js +7 -0
  1021. package/components/Tabs/Tabs.js.map +1 -0
  1022. package/components/Tabs/UncontrolledTabs.d.ts +6 -0
  1023. package/components/Tabs/UncontrolledTabs.js +11 -0
  1024. package/components/Tabs/UncontrolledTabs.js.map +1 -0
  1025. package/components/Tabs/index.d.ts +11 -0
  1026. package/components/Tabs/index.js +12 -0
  1027. package/components/Tabs/index.js.map +1 -0
  1028. package/components/Tabs/package.json +8 -0
  1029. package/components/Tabs/useTabs.d.ts +5 -0
  1030. package/components/Tabs/useTabs.js +10 -0
  1031. package/components/Tabs/useTabs.js.map +1 -0
  1032. package/components/Tabs/useTabsStyleProps.d.ts +15 -0
  1033. package/components/Tabs/useTabsStyleProps.js +39 -0
  1034. package/components/Tabs/useTabsStyleProps.js.map +1 -0
  1035. package/components/Tag/Tag.cjs +383 -0
  1036. package/components/Tag/Tag.cjs.map +1 -0
  1037. package/components/Tag/Tag.d.ts +4 -0
  1038. package/components/Tag/Tag.js +36 -0
  1039. package/components/Tag/Tag.js.map +1 -0
  1040. package/components/Tag/constants.d.ts +3 -0
  1041. package/components/Tag/constants.js +4 -0
  1042. package/components/Tag/constants.js.map +1 -0
  1043. package/components/Tag/index.d.ts +3 -0
  1044. package/components/Tag/index.js +4 -0
  1045. package/components/Tag/index.js.map +1 -0
  1046. package/components/Tag/package.json +8 -0
  1047. package/components/Tag/useTagStyleProps.d.ts +7 -0
  1048. package/components/Tag/useTagStyleProps.js +30 -0
  1049. package/components/Tag/useTagStyleProps.js.map +1 -0
  1050. package/components/Text/Text.cjs +385 -0
  1051. package/components/Text/Text.cjs.map +1 -0
  1052. package/components/Text/Text.d.ts +7 -0
  1053. package/components/Text/Text.js +38 -0
  1054. package/components/Text/Text.js.map +1 -0
  1055. package/components/Text/index.d.ts +2 -0
  1056. package/components/Text/index.js +3 -0
  1057. package/components/Text/index.js.map +1 -0
  1058. package/components/Text/package.json +8 -0
  1059. package/components/Text/useTextStyleProps.d.ts +7 -0
  1060. package/components/Text/useTextStyleProps.js +26 -0
  1061. package/components/Text/useTextStyleProps.js.map +1 -0
  1062. package/components/TextArea/TextArea.cjs +810 -0
  1063. package/components/TextArea/TextArea.cjs.map +1 -0
  1064. package/components/TextArea/TextArea.d.ts +4 -0
  1065. package/components/TextArea/TextArea.js +30 -0
  1066. package/components/TextArea/TextArea.js.map +1 -0
  1067. package/components/TextArea/index.d.ts +1 -0
  1068. package/components/TextArea/index.js +2 -0
  1069. package/components/TextArea/index.js.map +1 -0
  1070. package/components/TextArea/package.json +8 -0
  1071. package/components/TextArea/useAdjustHeight.d.ts +13 -0
  1072. package/components/TextArea/useAdjustHeight.js +37 -0
  1073. package/components/TextArea/useAdjustHeight.js.map +1 -0
  1074. package/components/TextField/TextField.cjs +754 -0
  1075. package/components/TextField/TextField.cjs.map +1 -0
  1076. package/components/TextField/TextField.d.ts +4 -0
  1077. package/components/TextField/TextField.js +8 -0
  1078. package/components/TextField/TextField.js.map +1 -0
  1079. package/components/TextField/index.d.ts +1 -0
  1080. package/components/TextField/index.js +2 -0
  1081. package/components/TextField/index.js.map +1 -0
  1082. package/components/TextField/package.json +8 -0
  1083. package/components/TextFieldBase/TextFieldBase.cjs +750 -0
  1084. package/components/TextFieldBase/TextFieldBase.cjs.map +1 -0
  1085. package/components/TextFieldBase/TextFieldBase.d.ts +7 -0
  1086. package/components/TextFieldBase/TextFieldBase.js +44 -0
  1087. package/components/TextFieldBase/TextFieldBase.js.map +1 -0
  1088. package/components/TextFieldBase/TextFieldBaseInput.d.ts +4 -0
  1089. package/components/TextFieldBase/TextFieldBaseInput.js +27 -0
  1090. package/components/TextFieldBase/TextFieldBaseInput.js.map +1 -0
  1091. package/components/TextFieldBase/TextFieldBasePasswordToggle.d.ts +6 -0
  1092. package/components/TextFieldBase/TextFieldBasePasswordToggle.js +17 -0
  1093. package/components/TextFieldBase/TextFieldBasePasswordToggle.js.map +1 -0
  1094. package/components/TextFieldBase/index.d.ts +1 -0
  1095. package/components/TextFieldBase/index.js +2 -0
  1096. package/components/TextFieldBase/index.js.map +1 -0
  1097. package/components/TextFieldBase/package.json +8 -0
  1098. package/components/TextFieldBase/usePasswordToggle.d.ts +4 -0
  1099. package/components/TextFieldBase/usePasswordToggle.js +11 -0
  1100. package/components/TextFieldBase/usePasswordToggle.js.map +1 -0
  1101. package/components/TextFieldBase/useTextFieldBaseInputStyleProps.d.ts +8 -0
  1102. package/components/TextFieldBase/useTextFieldBaseInputStyleProps.js +25 -0
  1103. package/components/TextFieldBase/useTextFieldBaseInputStyleProps.js.map +1 -0
  1104. package/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.d.ts +8 -0
  1105. package/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.js +15 -0
  1106. package/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.js.map +1 -0
  1107. package/components/TextFieldBase/useTextFieldBaseStyleProps.d.ts +15 -0
  1108. package/components/TextFieldBase/useTextFieldBaseStyleProps.js +55 -0
  1109. package/components/TextFieldBase/useTextFieldBaseStyleProps.js.map +1 -0
  1110. package/components/TextFieldBase/withPasswordToggle.d.ts +10 -0
  1111. package/components/TextFieldBase/withPasswordToggle.js +29 -0
  1112. package/components/TextFieldBase/withPasswordToggle.js.map +1 -0
  1113. package/components/Timeline/Timeline.cjs +514 -0
  1114. package/components/Timeline/Timeline.cjs.map +1 -0
  1115. package/components/Timeline/Timeline.d.ts +7 -0
  1116. package/components/Timeline/Timeline.js +32 -0
  1117. package/components/Timeline/Timeline.js.map +1 -0
  1118. package/components/Timeline/TimelineContent.d.ts +7 -0
  1119. package/components/Timeline/TimelineContent.js +25 -0
  1120. package/components/Timeline/TimelineContent.js.map +1 -0
  1121. package/components/Timeline/TimelineHeading.d.ts +7 -0
  1122. package/components/Timeline/TimelineHeading.js +25 -0
  1123. package/components/Timeline/TimelineHeading.js.map +1 -0
  1124. package/components/Timeline/TimelineMarker.d.ts +7 -0
  1125. package/components/Timeline/TimelineMarker.js +35 -0
  1126. package/components/Timeline/TimelineMarker.js.map +1 -0
  1127. package/components/Timeline/TimelineStep.d.ts +7 -0
  1128. package/components/Timeline/TimelineStep.js +30 -0
  1129. package/components/Timeline/TimelineStep.js.map +1 -0
  1130. package/components/Timeline/constants.d.ts +6 -0
  1131. package/components/Timeline/constants.js +8 -0
  1132. package/components/Timeline/constants.js.map +1 -0
  1133. package/components/Timeline/index.d.ts +6 -0
  1134. package/components/Timeline/index.js +7 -0
  1135. package/components/Timeline/index.js.map +1 -0
  1136. package/components/Timeline/package.json +8 -0
  1137. package/components/Timeline/useTimelineStyleProps.d.ts +20 -0
  1138. package/components/Timeline/useTimelineStyleProps.js +49 -0
  1139. package/components/Timeline/useTimelineStyleProps.js.map +1 -0
  1140. package/components/Toast/Toast.cjs +736 -0
  1141. package/components/Toast/Toast.cjs.map +1 -0
  1142. package/components/Toast/Toast.d.ts +7 -0
  1143. package/components/Toast/Toast.js +33 -0
  1144. package/components/Toast/Toast.js.map +1 -0
  1145. package/components/Toast/ToastBar.d.ts +7 -0
  1146. package/components/Toast/ToastBar.js +38 -0
  1147. package/components/Toast/ToastBar.js.map +1 -0
  1148. package/components/Toast/ToastBarLink.d.ts +4 -0
  1149. package/components/Toast/ToastBarLink.js +31 -0
  1150. package/components/Toast/ToastBarLink.js.map +1 -0
  1151. package/components/Toast/ToastBarMessage.d.ts +7 -0
  1152. package/components/Toast/ToastBarMessage.js +23 -0
  1153. package/components/Toast/ToastBarMessage.js.map +1 -0
  1154. package/components/Toast/ToastCloseButton.d.ts +7 -0
  1155. package/components/Toast/ToastCloseButton.js +32 -0
  1156. package/components/Toast/ToastCloseButton.js.map +1 -0
  1157. package/components/Toast/ToastContext.d.ts +43 -0
  1158. package/components/Toast/ToastContext.js +102 -0
  1159. package/components/Toast/ToastContext.js.map +1 -0
  1160. package/components/Toast/UncontrolledToast.d.ts +7 -0
  1161. package/components/Toast/UncontrolledToast.js +31 -0
  1162. package/components/Toast/UncontrolledToast.js.map +1 -0
  1163. package/components/Toast/constants.d.ts +9 -0
  1164. package/components/Toast/constants.js +15 -0
  1165. package/components/Toast/constants.js.map +1 -0
  1166. package/components/Toast/index.d.ts +7 -0
  1167. package/components/Toast/index.js +8 -0
  1168. package/components/Toast/index.js.map +1 -0
  1169. package/components/Toast/package.json +8 -0
  1170. package/components/Toast/useToast.d.ts +1 -0
  1171. package/components/Toast/useToast.js +11 -0
  1172. package/components/Toast/useToast.js.map +1 -0
  1173. package/components/Toast/useToastBarStyleProps.d.ts +31 -0
  1174. package/components/Toast/useToastBarStyleProps.js +40 -0
  1175. package/components/Toast/useToastBarStyleProps.js.map +1 -0
  1176. package/components/Toast/useToastIcon.d.ts +2 -0
  1177. package/components/Toast/useToastIcon.js +13 -0
  1178. package/components/Toast/useToastIcon.js.map +1 -0
  1179. package/components/Toast/useToastStyleProps.d.ts +9 -0
  1180. package/components/Toast/useToastStyleProps.js +37 -0
  1181. package/components/Toast/useToastStyleProps.js.map +1 -0
  1182. package/components/Toggle/Toggle.cjs +647 -0
  1183. package/components/Toggle/Toggle.cjs.map +1 -0
  1184. package/components/Toggle/Toggle.d.ts +4 -0
  1185. package/components/Toggle/Toggle.js +44 -0
  1186. package/components/Toggle/Toggle.js.map +1 -0
  1187. package/components/Toggle/index.d.ts +2 -0
  1188. package/components/Toggle/index.js +3 -0
  1189. package/components/Toggle/index.js.map +1 -0
  1190. package/components/Toggle/package.json +8 -0
  1191. package/components/Toggle/useToggleStyleProps.d.ts +13 -0
  1192. package/components/Toggle/useToggleStyleProps.js +52 -0
  1193. package/components/Toggle/useToggleStyleProps.js.map +1 -0
  1194. package/components/Tooltip/Tooltip.cjs +867 -0
  1195. package/components/Tooltip/Tooltip.cjs.map +1 -0
  1196. package/components/Tooltip/Tooltip.d.ts +7 -0
  1197. package/components/Tooltip/Tooltip.js +90 -0
  1198. package/components/Tooltip/Tooltip.js.map +1 -0
  1199. package/components/Tooltip/TooltipCloseButton.d.ts +7 -0
  1200. package/components/Tooltip/TooltipCloseButton.js +29 -0
  1201. package/components/Tooltip/TooltipCloseButton.js.map +1 -0
  1202. package/components/Tooltip/TooltipContext.d.ts +29 -0
  1203. package/components/Tooltip/TooltipContext.js +34 -0
  1204. package/components/Tooltip/TooltipContext.js.map +1 -0
  1205. package/components/Tooltip/TooltipPopover.d.ts +7 -0
  1206. package/components/Tooltip/TooltipPopover.js +63 -0
  1207. package/components/Tooltip/TooltipPopover.js.map +1 -0
  1208. package/components/Tooltip/TooltipTrigger.d.ts +7 -0
  1209. package/components/Tooltip/TooltipTrigger.js +31 -0
  1210. package/components/Tooltip/TooltipTrigger.js.map +1 -0
  1211. package/components/Tooltip/UncontrolledTooltip.d.ts +7 -0
  1212. package/components/Tooltip/UncontrolledTooltip.js +23 -0
  1213. package/components/Tooltip/UncontrolledTooltip.js.map +1 -0
  1214. package/components/Tooltip/index.d.ts +7 -0
  1215. package/components/Tooltip/index.js +8 -0
  1216. package/components/Tooltip/index.js.map +1 -0
  1217. package/components/Tooltip/package.json +8 -0
  1218. package/components/Tooltip/useFloating.d.ts +58 -0
  1219. package/components/Tooltip/useFloating.js +123 -0
  1220. package/components/Tooltip/useFloating.js.map +1 -0
  1221. package/components/Tooltip/useTooltip.d.ts +5 -0
  1222. package/components/Tooltip/useTooltip.js +10 -0
  1223. package/components/Tooltip/useTooltip.js.map +1 -0
  1224. package/components/Tooltip/useTooltipStyleProps.d.ts +16 -0
  1225. package/components/Tooltip/useTooltipStyleProps.js +39 -0
  1226. package/components/Tooltip/useTooltipStyleProps.js.map +1 -0
  1227. package/components/Truncate/Truncate.cjs +421 -0
  1228. package/components/Truncate/Truncate.cjs.map +1 -0
  1229. package/components/Truncate/Truncate.d.ts +7 -0
  1230. package/components/Truncate/Truncate.js +36 -0
  1231. package/components/Truncate/Truncate.js.map +1 -0
  1232. package/components/Truncate/index.d.ts +3 -0
  1233. package/components/Truncate/index.js +4 -0
  1234. package/components/Truncate/index.js.map +1 -0
  1235. package/components/Truncate/package.json +8 -0
  1236. package/components/Truncate/useTruncateStyleProps.d.ts +14 -0
  1237. package/components/Truncate/useTruncateStyleProps.js +30 -0
  1238. package/components/Truncate/useTruncateStyleProps.js.map +1 -0
  1239. package/components/Truncate/useTruncatedText.d.ts +6 -0
  1240. package/components/Truncate/useTruncatedText.js +36 -0
  1241. package/components/Truncate/useTruncatedText.js.map +1 -0
  1242. package/components/UNSTABLE_Header/UNSTABLE_Header.cjs +400 -0
  1243. package/components/UNSTABLE_Header/UNSTABLE_Header.cjs.map +1 -0
  1244. package/components/UNSTABLE_Header/UNSTABLE_Header.d.ts +7 -0
  1245. package/components/UNSTABLE_Header/UNSTABLE_Header.js +25 -0
  1246. package/components/UNSTABLE_Header/UNSTABLE_Header.js.map +1 -0
  1247. package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.d.ts +4 -0
  1248. package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js +31 -0
  1249. package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js.map +1 -0
  1250. package/components/UNSTABLE_Header/index.d.ts +3 -0
  1251. package/components/UNSTABLE_Header/index.js +4 -0
  1252. package/components/UNSTABLE_Header/index.js.map +1 -0
  1253. package/components/UNSTABLE_Header/package.json +8 -0
  1254. package/components/UNSTABLE_Header/useUnstableHeaderStyleProps.d.ts +9 -0
  1255. package/components/UNSTABLE_Header/useUnstableHeaderStyleProps.js +30 -0
  1256. package/components/UNSTABLE_Header/useUnstableHeaderStyleProps.js.map +1 -0
  1257. package/components/VisuallyHidden/VisuallyHidden.cjs +361 -0
  1258. package/components/VisuallyHidden/VisuallyHidden.cjs.map +1 -0
  1259. package/components/VisuallyHidden/VisuallyHidden.d.ts +7 -0
  1260. package/components/VisuallyHidden/VisuallyHidden.js +26 -0
  1261. package/components/VisuallyHidden/VisuallyHidden.js.map +1 -0
  1262. package/components/VisuallyHidden/index.d.ts +1 -0
  1263. package/components/VisuallyHidden/index.js +2 -0
  1264. package/components/VisuallyHidden/index.js.map +1 -0
  1265. package/components/VisuallyHidden/package.json +8 -0
  1266. package/components/VisuallyHidden/useVisuallyHiddenProps.d.ts +7 -0
  1267. package/components/VisuallyHidden/useVisuallyHiddenProps.js +21 -0
  1268. package/components/VisuallyHidden/useVisuallyHiddenProps.js.map +1 -0
  1269. package/components/components.cjs +8434 -0
  1270. package/components/components.cjs.map +1 -0
  1271. package/components/index.d.ts +62 -0
  1272. package/components/index.js +63 -0
  1273. package/components/index.js.map +1 -0
  1274. package/components/package.json +8 -0
  1275. package/constants/classes.d.ts +1 -0
  1276. package/constants/classes.js +2 -0
  1277. package/constants/classes.js.map +1 -0
  1278. package/constants/colors.d.ts +4 -0
  1279. package/constants/colors.js +5 -0
  1280. package/constants/colors.js.map +1 -0
  1281. package/constants/constants.cjs +244 -0
  1282. package/constants/constants.cjs.map +1 -0
  1283. package/constants/dictionaries.d.ts +139 -0
  1284. package/constants/dictionaries.js +117 -0
  1285. package/constants/dictionaries.js.map +1 -0
  1286. package/constants/direction.d.ts +15 -0
  1287. package/constants/direction.js +12 -0
  1288. package/constants/direction.js.map +1 -0
  1289. package/constants/index.d.ts +8 -0
  1290. package/constants/index.js +9 -0
  1291. package/constants/index.js.map +1 -0
  1292. package/constants/media.d.ts +4 -0
  1293. package/constants/media.js +5 -0
  1294. package/constants/media.js.map +1 -0
  1295. package/constants/package.json +8 -0
  1296. package/constants/position.d.ts +6 -0
  1297. package/constants/position.js +7 -0
  1298. package/constants/position.js.map +1 -0
  1299. package/constants/style.d.ts +40 -0
  1300. package/constants/style.js +41 -0
  1301. package/constants/style.js.map +1 -0
  1302. package/constants/text.d.ts +10 -0
  1303. package/constants/text.js +11 -0
  1304. package/constants/text.js.map +1 -0
  1305. package/context/ClassNamePrefixContext.d.ts +7 -0
  1306. package/context/ClassNamePrefixContext.js +9 -0
  1307. package/context/ClassNamePrefixContext.js.map +1 -0
  1308. package/context/IconsContext.d.ts +7 -0
  1309. package/context/IconsContext.js +9 -0
  1310. package/context/IconsContext.js.map +1 -0
  1311. package/context/PropsContext.d.ts +7 -0
  1312. package/context/PropsContext.js +12 -0
  1313. package/context/PropsContext.js.map +1 -0
  1314. package/context/context.cjs +30 -0
  1315. package/context/context.cjs.map +1 -0
  1316. package/context/index.d.ts +3 -0
  1317. package/context/index.js +4 -0
  1318. package/context/index.js.map +1 -0
  1319. package/context/package.json +8 -0
  1320. package/hooks/__mocks__/useIcon.d.ts +1 -0
  1321. package/hooks/__mocks__/useIcon.js +2 -0
  1322. package/hooks/__mocks__/useIcon.js.map +1 -0
  1323. package/hooks/hooks.cjs +684 -0
  1324. package/hooks/hooks.cjs.map +1 -0
  1325. package/hooks/index.d.ts +20 -0
  1326. package/hooks/index.js +21 -0
  1327. package/hooks/index.js.map +1 -0
  1328. package/hooks/package.json +8 -0
  1329. package/hooks/styleProps.d.ts +7 -0
  1330. package/hooks/styleProps.js +46 -0
  1331. package/hooks/styleProps.js.map +1 -0
  1332. package/hooks/useAlignmentClass.d.ts +3 -0
  1333. package/hooks/useAlignmentClass.js +7 -0
  1334. package/hooks/useAlignmentClass.js.map +1 -0
  1335. package/hooks/useAriaDescribedBy.d.ts +5 -0
  1336. package/hooks/useAriaDescribedBy.js +4 -0
  1337. package/hooks/useAriaDescribedBy.js.map +1 -0
  1338. package/hooks/useCancelEvent.d.ts +2 -0
  1339. package/hooks/useCancelEvent.js +39 -0
  1340. package/hooks/useCancelEvent.js.map +1 -0
  1341. package/hooks/useClassNamePrefix.d.ts +1 -0
  1342. package/hooks/useClassNamePrefix.js +16 -0
  1343. package/hooks/useClassNamePrefix.js.map +1 -0
  1344. package/hooks/useClick.d.ts +2 -0
  1345. package/hooks/useClick.js +12 -0
  1346. package/hooks/useClick.js.map +1 -0
  1347. package/hooks/useClickOutside.d.ts +6 -0
  1348. package/hooks/useClickOutside.js +34 -0
  1349. package/hooks/useClickOutside.js.map +1 -0
  1350. package/hooks/useDeprecationMessage.d.ts +19 -0
  1351. package/hooks/useDeprecationMessage.js +43 -0
  1352. package/hooks/useDeprecationMessage.js.map +1 -0
  1353. package/hooks/useDimensionStyle.d.ts +5 -0
  1354. package/hooks/useDimensionStyle.js +16 -0
  1355. package/hooks/useDimensionStyle.js.map +1 -0
  1356. package/hooks/useDirectionClass.d.ts +2 -0
  1357. package/hooks/useDirectionClass.js +5 -0
  1358. package/hooks/useDirectionClass.js.map +1 -0
  1359. package/hooks/useDragAndDrop.d.ts +7 -0
  1360. package/hooks/useDragAndDrop.js +38 -0
  1361. package/hooks/useDragAndDrop.js.map +1 -0
  1362. package/hooks/useIcon.d.ts +1 -0
  1363. package/hooks/useIcon.js +13 -0
  1364. package/hooks/useIcon.js.map +1 -0
  1365. package/hooks/useIconName.d.ts +1 -0
  1366. package/hooks/useIconName.js +4 -0
  1367. package/hooks/useIconName.js.map +1 -0
  1368. package/hooks/useIsMounted.d.ts +1 -0
  1369. package/hooks/useIsMounted.js +13 -0
  1370. package/hooks/useIsMounted.js.map +1 -0
  1371. package/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
  1372. package/hooks/useIsomorphicLayoutEffect.js +5 -0
  1373. package/hooks/useIsomorphicLayoutEffect.js.map +1 -0
  1374. package/hooks/useLastActiveFocus.d.ts +1 -0
  1375. package/hooks/useLastActiveFocus.js +14 -0
  1376. package/hooks/useLastActiveFocus.js.map +1 -0
  1377. package/hooks/useResizeObserver.d.ts +12 -0
  1378. package/hooks/useResizeObserver.js +66 -0
  1379. package/hooks/useResizeObserver.js.map +1 -0
  1380. package/hooks/useScrollControl.d.ts +2 -0
  1381. package/hooks/useScrollControl.js +28 -0
  1382. package/hooks/useScrollControl.js.map +1 -0
  1383. package/hooks/useSpacingStyle.d.ts +3 -0
  1384. package/hooks/useSpacingStyle.js +19 -0
  1385. package/hooks/useSpacingStyle.js.map +1 -0
  1386. package/hooks/useStyleUtilities.d.ts +10 -0
  1387. package/hooks/useStyleUtilities.js +85 -0
  1388. package/hooks/useStyleUtilities.js.map +1 -0
  1389. package/hooks/useToggle.d.ts +1 -0
  1390. package/hooks/useToggle.js +8 -0
  1391. package/hooks/useToggle.js.map +1 -0
  1392. package/hooks/useWrapClass.d.ts +3 -0
  1393. package/hooks/useWrapClass.js +14 -0
  1394. package/hooks/useWrapClass.js.map +1 -0
  1395. package/index.cjs +8659 -0
  1396. package/index.cjs.map +1 -0
  1397. package/index.d.ts +6 -0
  1398. package/index.js +7 -0
  1399. package/index.js.map +1 -0
  1400. package/package.json +143 -0
  1401. package/spirit-web-react.cjs +8654 -0
  1402. package/spirit-web-react.cjs.map +1 -0
  1403. package/spirit-web-react.min.cjs +1 -0
  1404. package/types/accordion.d.ts +25 -0
  1405. package/types/accordion.js +2 -0
  1406. package/types/accordion.js.map +1 -0
  1407. package/types/actionGroup.d.ts +4 -0
  1408. package/types/actionGroup.js +2 -0
  1409. package/types/actionGroup.js.map +1 -0
  1410. package/types/alert.d.ts +12 -0
  1411. package/types/alert.js +2 -0
  1412. package/types/alert.js.map +1 -0
  1413. package/types/avatar.d.ts +12 -0
  1414. package/types/avatar.js +2 -0
  1415. package/types/avatar.js.map +1 -0
  1416. package/types/box.d.ts +22 -0
  1417. package/types/box.js +2 -0
  1418. package/types/box.js.map +1 -0
  1419. package/types/breadcrumbs.d.ts +25 -0
  1420. package/types/breadcrumbs.js +2 -0
  1421. package/types/breadcrumbs.js.map +1 -0
  1422. package/types/button.d.ts +21 -0
  1423. package/types/button.js +2 -0
  1424. package/types/button.js.map +1 -0
  1425. package/types/card.d.ts +67 -0
  1426. package/types/card.js +3 -0
  1427. package/types/card.js.map +1 -0
  1428. package/types/checkbox.d.ts +11 -0
  1429. package/types/checkbox.js +2 -0
  1430. package/types/checkbox.js.map +1 -0
  1431. package/types/collapse.d.ts +29 -0
  1432. package/types/collapse.js +2 -0
  1433. package/types/collapse.js.map +1 -0
  1434. package/types/container.d.ts +11 -0
  1435. package/types/container.js +2 -0
  1436. package/types/container.js.map +1 -0
  1437. package/types/controlButton.d.ts +14 -0
  1438. package/types/controlButton.js +2 -0
  1439. package/types/controlButton.js.map +1 -0
  1440. package/types/divider.d.ts +3 -0
  1441. package/types/divider.js +2 -0
  1442. package/types/divider.js.map +1 -0
  1443. package/types/drawer.d.ts +29 -0
  1444. package/types/drawer.js +2 -0
  1445. package/types/drawer.js.map +1 -0
  1446. package/types/dropdown.d.ts +48 -0
  1447. package/types/dropdown.js +6 -0
  1448. package/types/dropdown.js.map +1 -0
  1449. package/types/emptyState.d.ts +4 -0
  1450. package/types/emptyState.js +2 -0
  1451. package/types/emptyState.js.map +1 -0
  1452. package/types/fieldGroup.d.ts +13 -0
  1453. package/types/fieldGroup.js +2 -0
  1454. package/types/fieldGroup.js.map +1 -0
  1455. package/types/fileUploader.d.ts +118 -0
  1456. package/types/fileUploader.js +2 -0
  1457. package/types/fileUploader.js.map +1 -0
  1458. package/types/flex.d.ts +31 -0
  1459. package/types/flex.js +2 -0
  1460. package/types/flex.js.map +1 -0
  1461. package/types/footer.d.ts +9 -0
  1462. package/types/footer.js +2 -0
  1463. package/types/footer.js.map +1 -0
  1464. package/types/grid.d.ts +48 -0
  1465. package/types/grid.js +2 -0
  1466. package/types/grid.js.map +1 -0
  1467. package/types/header.d.ts +60 -0
  1468. package/types/header.js +2 -0
  1469. package/types/header.js.map +1 -0
  1470. package/types/heading.d.ts +14 -0
  1471. package/types/heading.js +2 -0
  1472. package/types/heading.js.map +1 -0
  1473. package/types/icon.d.ts +13 -0
  1474. package/types/icon.js +2 -0
  1475. package/types/icon.js.map +1 -0
  1476. package/types/iconBox.d.ts +18 -0
  1477. package/types/iconBox.js +2 -0
  1478. package/types/iconBox.js.map +1 -0
  1479. package/types/index.d.ts +60 -0
  1480. package/types/index.js +61 -0
  1481. package/types/index.js.map +1 -0
  1482. package/types/item.d.ts +16 -0
  1483. package/types/item.js +2 -0
  1484. package/types/item.js.map +1 -0
  1485. package/types/label.d.ts +12 -0
  1486. package/types/label.js +2 -0
  1487. package/types/label.js.map +1 -0
  1488. package/types/link.d.ts +20 -0
  1489. package/types/link.js +6 -0
  1490. package/types/link.js.map +1 -0
  1491. package/types/matrix.d.ts +17 -0
  1492. package/types/matrix.js +2 -0
  1493. package/types/matrix.js.map +1 -0
  1494. package/types/modal.d.ts +44 -0
  1495. package/types/modal.js +2 -0
  1496. package/types/modal.js.map +1 -0
  1497. package/types/navigation.d.ts +36 -0
  1498. package/types/navigation.js +2 -0
  1499. package/types/navigation.js.map +1 -0
  1500. package/types/package.json +8 -0
  1501. package/types/pagination.d.ts +44 -0
  1502. package/types/pagination.js +2 -0
  1503. package/types/pagination.js.map +1 -0
  1504. package/types/partnerLogo.d.ts +7 -0
  1505. package/types/partnerLogo.js +2 -0
  1506. package/types/partnerLogo.js.map +1 -0
  1507. package/types/pill.d.ts +13 -0
  1508. package/types/pill.js +2 -0
  1509. package/types/pill.js.map +1 -0
  1510. package/types/pricingPlan.d.ts +32 -0
  1511. package/types/pricingPlan.js +2 -0
  1512. package/types/pricingPlan.js.map +1 -0
  1513. package/types/productLogo.d.ts +3 -0
  1514. package/types/productLogo.js +2 -0
  1515. package/types/productLogo.js.map +1 -0
  1516. package/types/radio.d.ts +10 -0
  1517. package/types/radio.js +2 -0
  1518. package/types/radio.js.map +1 -0
  1519. package/types/scrollView.d.ts +30 -0
  1520. package/types/scrollView.js +2 -0
  1521. package/types/scrollView.js.map +1 -0
  1522. package/types/section.d.ts +17 -0
  1523. package/types/section.js +2 -0
  1524. package/types/section.js.map +1 -0
  1525. package/types/segmentedControl.d.ts +25 -0
  1526. package/types/segmentedControl.js +2 -0
  1527. package/types/segmentedControl.js.map +1 -0
  1528. package/types/select.d.ts +15 -0
  1529. package/types/select.js +2 -0
  1530. package/types/select.js.map +1 -0
  1531. package/types/shared/adornments.d.ts +3 -0
  1532. package/types/shared/adornments.js +2 -0
  1533. package/types/shared/adornments.js.map +1 -0
  1534. package/types/shared/buttons.d.ts +1 -0
  1535. package/types/shared/buttons.js +2 -0
  1536. package/types/shared/buttons.js.map +1 -0
  1537. package/types/shared/colors.d.ts +23 -0
  1538. package/types/shared/colors.js +2 -0
  1539. package/types/shared/colors.js.map +1 -0
  1540. package/types/shared/columns.d.ts +1 -0
  1541. package/types/shared/columns.js +2 -0
  1542. package/types/shared/columns.js.map +1 -0
  1543. package/types/shared/dialogs.d.ts +7 -0
  1544. package/types/shared/dialogs.js +2 -0
  1545. package/types/shared/dialogs.js.map +1 -0
  1546. package/types/shared/dictionaries.d.ts +57 -0
  1547. package/types/shared/dictionaries.js +2 -0
  1548. package/types/shared/dictionaries.js.map +1 -0
  1549. package/types/shared/directions.d.ts +5 -0
  1550. package/types/shared/directions.js +2 -0
  1551. package/types/shared/directions.js.map +1 -0
  1552. package/types/shared/dragAndDrop.d.ts +7 -0
  1553. package/types/shared/dragAndDrop.js +2 -0
  1554. package/types/shared/dragAndDrop.js.map +1 -0
  1555. package/types/shared/element.d.ts +35 -0
  1556. package/types/shared/element.js +2 -0
  1557. package/types/shared/element.js.map +1 -0
  1558. package/types/shared/events.d.ts +8 -0
  1559. package/types/shared/events.js +2 -0
  1560. package/types/shared/events.js.map +1 -0
  1561. package/types/shared/index.d.ts +33 -0
  1562. package/types/shared/index.js +26 -0
  1563. package/types/shared/index.js.map +1 -0
  1564. package/types/shared/inputs.d.ts +31 -0
  1565. package/types/shared/inputs.js +2 -0
  1566. package/types/shared/inputs.js.map +1 -0
  1567. package/types/shared/item.d.ts +3 -0
  1568. package/types/shared/item.js +2 -0
  1569. package/types/shared/item.js.map +1 -0
  1570. package/types/shared/package.json +8 -0
  1571. package/types/shared/positions.d.ts +3 -0
  1572. package/types/shared/positions.js +2 -0
  1573. package/types/shared/positions.js.map +1 -0
  1574. package/types/shared/radii.d.ts +2 -0
  1575. package/types/shared/radii.js +2 -0
  1576. package/types/shared/radii.js.map +1 -0
  1577. package/types/shared/refs.d.ts +5 -0
  1578. package/types/shared/refs.js +2 -0
  1579. package/types/shared/refs.js.map +1 -0
  1580. package/types/shared/responsive.d.ts +4 -0
  1581. package/types/shared/responsive.js +2 -0
  1582. package/types/shared/responsive.js.map +1 -0
  1583. package/types/shared/rest.d.ts +5 -0
  1584. package/types/shared/rest.js +2 -0
  1585. package/types/shared/rest.js.map +1 -0
  1586. package/types/shared/shared.cjs +15 -0
  1587. package/types/shared/shared.cjs.map +1 -0
  1588. package/types/shared/sizes.d.ts +3 -0
  1589. package/types/shared/sizes.js +2 -0
  1590. package/types/shared/sizes.js.map +1 -0
  1591. package/types/shared/style.d.ts +35 -0
  1592. package/types/shared/style.js +2 -0
  1593. package/types/shared/style.js.map +1 -0
  1594. package/types/shared/text.d.ts +5 -0
  1595. package/types/shared/text.js +2 -0
  1596. package/types/shared/text.js.map +1 -0
  1597. package/types/shared/tokens.d.ts +8 -0
  1598. package/types/shared/tokens.js +2 -0
  1599. package/types/shared/tokens.js.map +1 -0
  1600. package/types/skeleton.d.ts +18 -0
  1601. package/types/skeleton.js +2 -0
  1602. package/types/skeleton.js.map +1 -0
  1603. package/types/skipLink.d.ts +11 -0
  1604. package/types/skipLink.js +2 -0
  1605. package/types/skipLink.js.map +1 -0
  1606. package/types/slider.d.ts +19 -0
  1607. package/types/slider.js +2 -0
  1608. package/types/slider.js.map +1 -0
  1609. package/types/spinner.d.ts +7 -0
  1610. package/types/spinner.js +2 -0
  1611. package/types/spinner.js.map +1 -0
  1612. package/types/splitButton.d.ts +26 -0
  1613. package/types/splitButton.js +2 -0
  1614. package/types/splitButton.js.map +1 -0
  1615. package/types/stack.d.ts +18 -0
  1616. package/types/stack.js +2 -0
  1617. package/types/stack.js.map +1 -0
  1618. package/types/tabs.d.ts +39 -0
  1619. package/types/tabs.js +2 -0
  1620. package/types/tabs.js.map +1 -0
  1621. package/types/tag.d.ts +15 -0
  1622. package/types/tag.js +2 -0
  1623. package/types/tag.js.map +1 -0
  1624. package/types/text.d.ts +14 -0
  1625. package/types/text.js +2 -0
  1626. package/types/text.js.map +1 -0
  1627. package/types/textArea.d.ts +12 -0
  1628. package/types/textArea.js +2 -0
  1629. package/types/textArea.js.map +1 -0
  1630. package/types/textField.d.ts +12 -0
  1631. package/types/textField.js +2 -0
  1632. package/types/textField.js.map +1 -0
  1633. package/types/textFieldBase.d.ts +26 -0
  1634. package/types/textFieldBase.js +2 -0
  1635. package/types/textFieldBase.js.map +1 -0
  1636. package/types/timeline.d.ts +29 -0
  1637. package/types/timeline.js +2 -0
  1638. package/types/timeline.js.map +1 -0
  1639. package/types/toast.d.ts +50 -0
  1640. package/types/toast.js +2 -0
  1641. package/types/toast.js.map +1 -0
  1642. package/types/toggle.d.ts +16 -0
  1643. package/types/toggle.js +2 -0
  1644. package/types/toggle.js.map +1 -0
  1645. package/types/tooltip.d.ts +50 -0
  1646. package/types/tooltip.js +9 -0
  1647. package/types/tooltip.js.map +1 -0
  1648. package/types/truncate.d.ts +13 -0
  1649. package/types/truncate.js +6 -0
  1650. package/types/truncate.js.map +1 -0
  1651. package/types/types.cjs +99 -0
  1652. package/types/types.cjs.map +1 -0
  1653. package/types/unstableHeader.d.ts +14 -0
  1654. package/types/unstableHeader.js +2 -0
  1655. package/types/unstableHeader.js.map +1 -0
  1656. package/types/visuallyHidden.d.ts +9 -0
  1657. package/types/visuallyHidden.js +2 -0
  1658. package/types/visuallyHidden.js.map +1 -0
  1659. package/utils/assert.d.ts +6 -0
  1660. package/utils/assert.js +33 -0
  1661. package/utils/assert.js.map +1 -0
  1662. package/utils/classname.d.ts +4 -0
  1663. package/utils/classname.js +5 -0
  1664. package/utils/classname.js.map +1 -0
  1665. package/utils/colorObjectGenerators.d.ts +13 -0
  1666. package/utils/colorObjectGenerators.js +32 -0
  1667. package/utils/colorObjectGenerators.js.map +1 -0
  1668. package/utils/compose.d.ts +1 -0
  1669. package/utils/compose.js +2 -0
  1670. package/utils/compose.js.map +1 -0
  1671. package/utils/debounce.d.ts +1 -0
  1672. package/utils/debounce.js +17 -0
  1673. package/utils/debounce.js.map +1 -0
  1674. package/utils/delayedCallback.d.ts +1 -0
  1675. package/utils/delayedCallback.js +7 -0
  1676. package/utils/delayedCallback.js.map +1 -0
  1677. package/utils/htmlReactParser.d.ts +2 -0
  1678. package/utils/htmlReactParser.js +14 -0
  1679. package/utils/htmlReactParser.js.map +1 -0
  1680. package/utils/index.d.ts +13 -0
  1681. package/utils/index.js +14 -0
  1682. package/utils/index.js.map +1 -0
  1683. package/utils/mergeStyleProps.d.ts +18 -0
  1684. package/utils/mergeStyleProps.js +35 -0
  1685. package/utils/mergeStyleProps.js.map +1 -0
  1686. package/utils/package.json +8 -0
  1687. package/utils/responsive.d.ts +3 -0
  1688. package/utils/responsive.js +23 -0
  1689. package/utils/responsive.js.map +1 -0
  1690. package/utils/ssr.d.ts +1 -0
  1691. package/utils/ssr.js +2 -0
  1692. package/utils/ssr.js.map +1 -0
  1693. package/utils/string.d.ts +4 -0
  1694. package/utils/string.js +22 -0
  1695. package/utils/string.js.map +1 -0
  1696. package/utils/stylePropsClassesGenerator.d.ts +9 -0
  1697. package/utils/stylePropsClassesGenerator.js +23 -0
  1698. package/utils/stylePropsClassesGenerator.js.map +1 -0
  1699. package/utils/toPascalCase.d.ts +1 -0
  1700. package/utils/toPascalCase.js +10 -0
  1701. package/utils/toPascalCase.js.map +1 -0
  1702. package/utils/utils.cjs +266 -0
  1703. package/utils/utils.cjs.map +1 -0
@@ -0,0 +1,442 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var spiritDesignTokens = require('@alma-oss/spirit-design-tokens');
5
+ var classNames = require('classnames');
6
+ require('html-dom-parser');
7
+ require('html-react-parser/lib/dom-to-react');
8
+
9
+ var __rest$4 = (undefined && undefined.__rest) || function (s, e) {
10
+ var t = {};
11
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
12
+ t[p] = s[p];
13
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
14
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
15
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
16
+ t[p[i]] = s[p[i]];
17
+ }
18
+ return t;
19
+ };
20
+ function createUppercaseKeyDictionary(obj) {
21
+ return Object.fromEntries(Object.keys(obj).map((key) => [key.toUpperCase(), key]));
22
+ }
23
+ const AlignmentX = {
24
+ LEFT: 'left',
25
+ CENTER: 'center',
26
+ RIGHT: 'right',
27
+ };
28
+ Object.assign({ SPACE_BETWEEN: 'space-between', STRETCH: 'stretch' }, AlignmentX);
29
+ const AlignmentY = {
30
+ TOP: 'top',
31
+ CENTER: 'center',
32
+ BOTTOM: 'bottom',
33
+ };
34
+ Object.assign({ BASELINE: 'baseline', STRETCH: 'stretch' }, AlignmentY);
35
+ createUppercaseKeyDictionary(spiritDesignTokens.componentColors.button);
36
+ createUppercaseKeyDictionary(spiritDesignTokens.emotionColors);
37
+ createUppercaseKeyDictionary(spiritDesignTokens.textColors);
38
+ const Sizes = {
39
+ SMALL: 'small',
40
+ MEDIUM: 'medium',
41
+ LARGE: 'large',
42
+ };
43
+ const SizesExtended = Object.assign(Object.assign({ XSMALL: 'xsmall' }, Sizes), { XLARGE: 'xlarge' });
44
+ const _a = createUppercaseKeyDictionary(spiritDesignTokens.containers), { MAXWIDTH, PADDING } = _a; __rest$4(_a, ["MAXWIDTH", "PADDING"]);
45
+
46
+ const Direction = {
47
+ HORIZONTAL: 'horizontal',
48
+ VERTICAL: 'vertical',
49
+ };
50
+ Object.assign(Object.assign({}, Direction), { HORIZONTAL_REVERSED: 'horizontal-reversed' });
51
+ var DirectionAxis;
52
+ (function (DirectionAxis) {
53
+ DirectionAxis["X"] = "x";
54
+ DirectionAxis["Y"] = "y";
55
+ })(DirectionAxis || (DirectionAxis = {}));
56
+
57
+ const SpacingStyleProp = {
58
+ margin: 'm',
59
+ marginTop: 'mt',
60
+ marginRight: 'mr',
61
+ marginBottom: 'mb',
62
+ marginLeft: 'ml',
63
+ marginX: 'mx',
64
+ marginY: 'my',
65
+ };
66
+ const PaddingStyleProps = {
67
+ paddingBottom: 'pb',
68
+ paddingTop: 'pt',
69
+ paddingY: 'py',
70
+ };
71
+ const TextStyleProps = {
72
+ textAlignment: 'text'};
73
+ const DisplayStyleProps = {
74
+ hideOn: 'd',
75
+ hideFrom: 'd',
76
+ };
77
+ const ThemeStyleProps = {
78
+ theme: '',
79
+ };
80
+
81
+ const ENVIRONMENTS = {
82
+ PRODUCTION: 'production',
83
+ };
84
+ const isProduction = () => process.env.NODE_ENV === ENVIRONMENTS.PRODUCTION;
85
+
86
+ const warning = (condition, message) => {
87
+ if (!isProduction()) {
88
+ const text = `Warning: ${message}`;
89
+ if (typeof console !== 'undefined') {
90
+ console.warn(text);
91
+ }
92
+ try {
93
+ throw Error(text);
94
+ }
95
+ catch (x) {
96
+ }
97
+ }
98
+ };
99
+
100
+ const defaultContext$1 = undefined;
101
+ const ClassNamePrefixContext = React.createContext(defaultContext$1);
102
+ ClassNamePrefixContext.Provider;
103
+ ClassNamePrefixContext.Consumer;
104
+
105
+ Object.assign(Object.assign({}, Sizes), { AUTO: 'auto' });
106
+
107
+ const STYLE_SPACING_AUTO = 'auto';
108
+
109
+ const BREAKPOINT_MOBILE = 'mobile';
110
+
111
+ var SpiritBreakpoints;
112
+ (function (SpiritBreakpoints) {
113
+ SpiritBreakpoints["TABLET"] = "tablet";
114
+ SpiritBreakpoints["DESKTOP"] = "desktop";
115
+ })(SpiritBreakpoints || (SpiritBreakpoints = {}));
116
+
117
+ const isNullish = (value) => value == null;
118
+ const isEmptyString = (value) => typeof value === 'string' && value.trim() === '';
119
+ const isEmptyArray = (value) => Array.isArray(value) && value.length === 0;
120
+ const isEmptyObject = (value) => typeof value === 'object' && value !== null && Object.keys(value).length === 0;
121
+ const isEnumerable = (value) => {
122
+ if (typeof value === 'object' && value !== null) {
123
+ for (const key in value) {
124
+ if (Object.hasOwnProperty.call(value, key)) {
125
+ return true;
126
+ }
127
+ }
128
+ }
129
+ return false;
130
+ };
131
+ const isEmpty = (value) => {
132
+ if (isNullish(value)) {
133
+ return true;
134
+ }
135
+ if (isEmptyString(value)) {
136
+ return true;
137
+ }
138
+ if (isEmptyArray(value)) {
139
+ return true;
140
+ }
141
+ if (isEmptyObject(value)) {
142
+ return true;
143
+ }
144
+ if (isEnumerable(value)) {
145
+ return false;
146
+ }
147
+ return false;
148
+ };
149
+
150
+ const applyClassNamePrefix = (prefix) => (className) => prefix != null && prefix !== '' ? `${prefix}-${className}` : className;
151
+
152
+ function mergeStyleProps(ElementTag, styleProps) {
153
+ const isSpiritComponent = typeof ElementTag !== 'string' && !!(ElementTag === null || ElementTag === void 0 ? void 0 : ElementTag.spiritComponent);
154
+ const isNonNullableObject = (styleProp) => typeof styleProp === 'object' && styleProp !== null;
155
+ const extractClassNames = (styleProp) => {
156
+ if (typeof styleProp === 'string') {
157
+ return [styleProp];
158
+ }
159
+ if (isNonNullableObject(styleProp)) {
160
+ return [styleProp.className, styleProp.UNSAFE_className].filter(Boolean);
161
+ }
162
+ return [];
163
+ };
164
+ const extractCssVariables = (styleProp) => isNonNullableObject(styleProp)
165
+ ? Object.entries(styleProp)
166
+ .filter(([key]) => key.startsWith('--'))
167
+ .reduce((extractedCssVariable, [key, value]) => (Object.assign(Object.assign({}, extractedCssVariable), { [key]: value })), {})
168
+ : {};
169
+ const extractCssStylesAndVariables = (cssProperties, styleProp) => {
170
+ if (!isNonNullableObject(styleProp)) {
171
+ return cssProperties;
172
+ }
173
+ const typedStyleProp = styleProp;
174
+ const styles = typedStyleProp.style || typedStyleProp.UNSAFE_style || {};
175
+ const cssVariables = extractCssVariables(styleProp);
176
+ return Object.assign(Object.assign(Object.assign({}, cssProperties), styles), cssVariables);
177
+ };
178
+ const mergedClasses = Object.values(styleProps).flatMap(extractClassNames).filter(Boolean).join(' ');
179
+ const mergedStyles = Object.values(styleProps)
180
+ .filter(isNonNullableObject)
181
+ .reduce(extractCssStylesAndVariables, {});
182
+ return isSpiritComponent
183
+ ? { UNSAFE_className: mergedClasses, UNSAFE_style: mergedStyles }
184
+ : { className: mergedClasses, style: mergedStyles };
185
+ }
186
+
187
+ const camelCaseToKebabCase = (input) => input.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();
188
+
189
+ const CLASS_SEPARATOR = '-';
190
+ const normalizeSpacingValue = (value) => value === STYLE_SPACING_AUTO ? STYLE_SPACING_AUTO : value.replace(/[^0-9]/g, '');
191
+ const isSpaceToken = (value) => typeof value === 'string' && value.startsWith('space-');
192
+ const getUtilityValue = (value) => (isSpaceToken(value) ? normalizeSpacingValue(value) : value);
193
+ const isKeyIncluded = (object, key) => Object.keys(object).includes(key);
194
+ const processBreakpointProperties = (utilityName, propValue, prefix) => Object.keys(propValue).reduce((accumulatedBreakpointUtilities, breakpoint) => {
195
+ const breakpointValue = propValue[breakpoint];
196
+ if (typeof breakpointValue === 'string') {
197
+ const utilityValue = getUtilityValue(breakpointValue);
198
+ const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `${CLASS_SEPARATOR}${breakpoint}`;
199
+ accumulatedBreakpointUtilities.push(applyClassNamePrefix(prefix)(`${utilityName}${infix}${CLASS_SEPARATOR}${utilityValue}`));
200
+ }
201
+ return accumulatedBreakpointUtilities;
202
+ }, []);
203
+ const processHideOnProperty = (utilityName, propValue, prefix) => {
204
+ const breakpoints = Array.isArray(propValue) ? propValue : [propValue];
205
+ return breakpoints.map((breakpoint) => applyClassNamePrefix(prefix)(`${utilityName}${CLASS_SEPARATOR}only${CLASS_SEPARATOR}${breakpoint}${CLASS_SEPARATOR}none`));
206
+ };
207
+ const processHideFromProperty = (utilityName, propValue, prefix) => {
208
+ const breakpoint = propValue;
209
+ const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `${CLASS_SEPARATOR}${breakpoint}`;
210
+ return [applyClassNamePrefix(prefix)(`${utilityName}${infix}${CLASS_SEPARATOR}none`)];
211
+ };
212
+ const processDisplayProperties = (utilityKey, utilityName, propValue, prefix) => {
213
+ switch (utilityKey) {
214
+ case 'hideOn':
215
+ return processHideOnProperty(utilityName, propValue, prefix);
216
+ case 'hideFrom':
217
+ return processHideFromProperty(utilityName, propValue, prefix);
218
+ default:
219
+ return [];
220
+ }
221
+ };
222
+ const processProperties = (utilityKey, utilityName, propValue, prefix) => {
223
+ if (utilityName === ThemeStyleProps.theme) {
224
+ if (typeof propValue !== 'string') {
225
+ return [];
226
+ }
227
+ const themeClassName = camelCaseToKebabCase(propValue);
228
+ return [applyClassNamePrefix(prefix)(themeClassName)];
229
+ }
230
+ if (utilityKey in DisplayStyleProps) {
231
+ return processDisplayProperties(utilityKey, utilityName, propValue, prefix);
232
+ }
233
+ if (typeof propValue === 'boolean') {
234
+ return propValue ? [applyClassNamePrefix(prefix)(utilityName)] : [];
235
+ }
236
+ if (typeof propValue === 'string') {
237
+ return [applyClassNamePrefix(prefix)(`${utilityName}-${getUtilityValue(propValue)}`)];
238
+ }
239
+ return processBreakpointProperties(utilityName, propValue, prefix);
240
+ };
241
+ const isStylePropProcessable = (styleProps, stylePropKey, stylePropValue, options = { includesKey: true }) => {
242
+ const isStylePropKeyIncluded = isKeyIncluded(styleProps, stylePropKey);
243
+ const isProcessable = (options.includesKey ? isStylePropKeyIncluded : !isStylePropKeyIncluded) && !isEmpty(stylePropValue);
244
+ return isProcessable;
245
+ };
246
+ const useStyleUtilities = (props, prefix = '', additionalProps = {}) => {
247
+ const styleProps = Object.assign(Object.assign(Object.assign(Object.assign({}, SpacingStyleProp), DisplayStyleProps), ThemeStyleProps), additionalProps);
248
+ const propEntries = Object.entries(props);
249
+ const styleUtilities = propEntries.reduce((accumulatedUtilities, [key, propValue]) => {
250
+ if (isStylePropProcessable(styleProps, key, propValue)) {
251
+ const utilityName = styleProps[key];
252
+ return [
253
+ ...accumulatedUtilities,
254
+ ...processProperties(key, utilityName, propValue, prefix),
255
+ ];
256
+ }
257
+ return accumulatedUtilities;
258
+ }, []);
259
+ const updatedProps = propEntries.reduce((accumulatedProps, [key, propValue]) => {
260
+ if (isStylePropProcessable(styleProps, key, propValue, { includesKey: false })) {
261
+ return Object.assign(Object.assign({}, accumulatedProps), { [key]: propValue });
262
+ }
263
+ return accumulatedProps;
264
+ }, {});
265
+ return {
266
+ styleUtilities,
267
+ props: updatedProps,
268
+ };
269
+ };
270
+
271
+ var __rest$3 = (undefined && undefined.__rest) || function (s, e) {
272
+ var t = {};
273
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
274
+ t[p] = s[p];
275
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
276
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
277
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
278
+ t[p[i]] = s[p[i]];
279
+ }
280
+ return t;
281
+ };
282
+ function useStyleProps(props, additionalUtilities) {
283
+ const classNamePrefix = React.useContext(ClassNamePrefixContext);
284
+ const { UNSAFE_className, UNSAFE_style } = props, otherProps = __rest$3(props, ["UNSAFE_className", "UNSAFE_style"]);
285
+ const styleUtilitiesConfig = Object.assign({ theme: ThemeStyleProps.theme }, (additionalUtilities !== null && additionalUtilities !== void 0 ? additionalUtilities : {}));
286
+ const { styleUtilities, props: modifiedProps } = useStyleUtilities(otherProps, classNamePrefix, styleUtilitiesConfig);
287
+ const style = Object.assign({}, UNSAFE_style);
288
+ if (modifiedProps.className) {
289
+ warning(false, 'The className prop is unsafe and is unsupported in Spirit Web React. ' +
290
+ 'Please use style props with Spirit Design Tokens, or UNSAFE_className if you absolutely must do something custom. ' +
291
+ 'Note that this may break in future versions due to DOM structure changes.');
292
+ delete modifiedProps.className;
293
+ }
294
+ if (modifiedProps.style) {
295
+ warning(false, 'The style prop is unsafe and is unsupported in Spirit Web React. ' +
296
+ 'Please use style props with Spirit Design Tokens, or UNSAFE_style if you absolutely must do something custom. ' +
297
+ 'Note that this may break in future versions due to DOM structure changes.');
298
+ delete modifiedProps.style;
299
+ }
300
+ const styleProps = {
301
+ style: Object.keys(style).length > 0 ? style : undefined,
302
+ className: classNames(UNSAFE_className, ...styleUtilities) || undefined,
303
+ };
304
+ return {
305
+ styleProps,
306
+ props: modifiedProps,
307
+ };
308
+ }
309
+
310
+ const useClassNamePrefix = (className) => {
311
+ const classNamePrefix = React.useContext(ClassNamePrefixContext);
312
+ let prefixedClassName = className;
313
+ if (className && classNamePrefix) {
314
+ prefixedClassName = applyClassNamePrefix(classNamePrefix)(className);
315
+ }
316
+ else if (classNamePrefix) {
317
+ prefixedClassName = classNamePrefix;
318
+ }
319
+ return prefixedClassName;
320
+ };
321
+
322
+ const defaultContext = undefined;
323
+ const IconsContext = React.createContext(defaultContext);
324
+ IconsContext.Provider;
325
+ IconsContext.Consumer;
326
+
327
+ var __rest$2 = (undefined && undefined.__rest) || function (s, e) {
328
+ var t = {};
329
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
330
+ t[p] = s[p];
331
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
332
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
333
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
334
+ t[p[i]] = s[p[i]];
335
+ }
336
+ return t;
337
+ };
338
+ function useContainerStyleProps(props) {
339
+ const { isFluid, size } = props, modifiedProps = __rest$2(props, ["isFluid", "size"]);
340
+ const containerClass = useClassNamePrefix('Container');
341
+ const containerFluidClass = `${containerClass}--fluid`;
342
+ const containerSizeClass = `${containerClass}--${size}`;
343
+ const classProps = classNames(containerClass, {
344
+ [containerFluidClass]: isFluid,
345
+ [containerSizeClass]: !isFluid && size,
346
+ });
347
+ return {
348
+ classProps,
349
+ props: modifiedProps,
350
+ };
351
+ }
352
+
353
+ var __rest$1 = (undefined && undefined.__rest) || function (s, e) {
354
+ var t = {};
355
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
356
+ t[p] = s[p];
357
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
358
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
359
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
360
+ t[p[i]] = s[p[i]];
361
+ }
362
+ return t;
363
+ };
364
+ const defaultProps$1 = {
365
+ isFluid: false,
366
+ size: SizesExtended.XLARGE,
367
+ };
368
+ const Container = (props) => {
369
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$1), props);
370
+ const { children } = propsWithDefaults, restProps = __rest$1(propsWithDefaults, ["children"]);
371
+ const { classProps, props: modifiedProps } = useContainerStyleProps(restProps);
372
+ const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {
373
+ textAlignment: TextStyleProps.textAlignment,
374
+ });
375
+ return (React.createElement("div", Object.assign({}, otherProps, styleProps, { className: classNames(classProps, styleProps.className) }), children));
376
+ };
377
+ Container.spiritComponent = 'Container';
378
+
379
+ const sizePaddingMapping = {
380
+ [SizesExtended.XSMALL]: { paddingY: { mobile: 'space-900', tablet: 'space-1000' } },
381
+ [SizesExtended.SMALL]: { paddingY: { mobile: 'space-1000', tablet: 'space-1100' } },
382
+ [SizesExtended.MEDIUM]: { paddingY: { mobile: 'space-1100', tablet: 'space-1300' } },
383
+ [SizesExtended.LARGE]: { paddingY: { mobile: 'space-1200', tablet: 'space-1400' } },
384
+ [SizesExtended.XLARGE]: { paddingY: { mobile: 'space-1400', tablet: 'space-1600' } },
385
+ };
386
+ const useSectionSizeProps = (props) => {
387
+ const { size } = props;
388
+ const modifiedProps = size ? Object.assign(Object.assign({}, sizePaddingMapping[size]), props) : props;
389
+ return {
390
+ modifiedProps,
391
+ };
392
+ };
393
+
394
+ const useSectionStyleProps = (props) => {
395
+ const { backgroundColor } = props || {};
396
+ const sectionBackgroundClassName = useClassNamePrefix(`bg-${backgroundColor}`);
397
+ const sectionBackgroundColor = backgroundColor ? sectionBackgroundClassName : '';
398
+ const classProps = classNames({
399
+ [sectionBackgroundColor]: backgroundColor,
400
+ });
401
+ return {
402
+ classProps,
403
+ };
404
+ };
405
+
406
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
407
+ var t = {};
408
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
409
+ t[p] = s[p];
410
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
411
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
412
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
413
+ t[p[i]] = s[p[i]];
414
+ }
415
+ return t;
416
+ };
417
+ const defaultProps = {
418
+ containerProps: undefined,
419
+ elementType: 'section',
420
+ hasContainer: true,
421
+ size: undefined,
422
+ };
423
+ const Section = (props) => {
424
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);
425
+ const { elementType: ElementTag = 'section', backgroundColor, children, containerProps, hasContainer } = propsWithDefaults, restProps = __rest(propsWithDefaults, ["elementType", "backgroundColor", "children", "containerProps", "hasContainer"]);
426
+ const { classProps } = useSectionStyleProps({ backgroundColor });
427
+ const { modifiedProps } = useSectionSizeProps(restProps);
428
+ const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {
429
+ paddingTop: PaddingStyleProps.paddingTop,
430
+ paddingBottom: PaddingStyleProps.paddingBottom,
431
+ paddingY: PaddingStyleProps.paddingY,
432
+ textAlignment: TextStyleProps.textAlignment,
433
+ });
434
+ const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps });
435
+ return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps), hasContainer ? React.createElement(Container, Object.assign({}, containerProps), children) : children));
436
+ };
437
+ Section.spiritComponent = 'Section';
438
+
439
+ exports.Section = Section;
440
+ exports.useSectionSizeProps = useSectionSizeProps;
441
+ exports.useSectionStyleProps = useSectionStyleProps;
442
+ //# sourceMappingURL=Section.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Section.cjs","sources":["../../constants/dictionaries.js","../../constants/direction.js","../../constants/style.js","../../common/constants/environments.js","../../common/utilities/warning.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/string.js","../../hooks/useStyleUtilities.js","../../hooks/styleProps.js","../../hooks/useClassNamePrefix.js","../../context/IconsContext.js","../Container/useContainerStyleProps.js","../Container/Container.js","useSectionSizeProps.js","useSectionStyleProps.js","Section.js"],"sourcesContent":["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","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","'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 \"./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 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","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\";\nexport function useContainerStyleProps(props) {\n const { isFluid, size } = props, modifiedProps = __rest(props, [\"isFluid\", \"size\"]);\n const containerClass = useClassNamePrefix('Container');\n const containerFluidClass = `${containerClass}--fluid`;\n const containerSizeClass = `${containerClass}--${size}`;\n const classProps = classNames(containerClass, {\n [containerFluidClass]: isFluid,\n [containerSizeClass]: !isFluid && size,\n });\n return {\n classProps,\n props: modifiedProps,\n };\n}\n//# sourceMappingURL=useContainerStyleProps.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 { SizesExtended, TextStyleProps } from \"../../constants/index.js\";\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { useContainerStyleProps } from \"./useContainerStyleProps.js\";\nconst defaultProps = {\n isFluid: false,\n size: SizesExtended.XLARGE,\n};\nconst Container = (props) => {\n const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);\n const { children } = propsWithDefaults, restProps = __rest(propsWithDefaults, [\"children\"]);\n const { classProps, props: modifiedProps } = useContainerStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {\n textAlignment: TextStyleProps.textAlignment,\n });\n return (React.createElement(\"div\", Object.assign({}, otherProps, styleProps, { className: classNames(classProps, styleProps.className) }), children));\n};\nContainer.spiritComponent = 'Container';\nexport default Container;\n//# sourceMappingURL=Container.js.map","import { SizesExtended } from \"../../constants/index.js\";\nconst sizePaddingMapping = {\n [SizesExtended.XSMALL]: { paddingY: { mobile: 'space-900', tablet: 'space-1000' } },\n [SizesExtended.SMALL]: { paddingY: { mobile: 'space-1000', tablet: 'space-1100' } },\n [SizesExtended.MEDIUM]: { paddingY: { mobile: 'space-1100', tablet: 'space-1300' } },\n [SizesExtended.LARGE]: { paddingY: { mobile: 'space-1200', tablet: 'space-1400' } },\n [SizesExtended.XLARGE]: { paddingY: { mobile: 'space-1400', tablet: 'space-1600' } },\n};\nexport const useSectionSizeProps = (props) => {\n const { size } = props;\n const modifiedProps = size ? Object.assign(Object.assign({}, sizePaddingMapping[size]), props) : props;\n return {\n modifiedProps,\n };\n};\n//# sourceMappingURL=useSectionSizeProps.js.map","import classNames from 'classnames';\nimport { useClassNamePrefix } from \"../../hooks/index.js\";\nexport const useSectionStyleProps = (props) => {\n const { backgroundColor } = props || {};\n const sectionBackgroundClassName = useClassNamePrefix(`bg-${backgroundColor}`);\n const sectionBackgroundColor = backgroundColor ? sectionBackgroundClassName : '';\n const classProps = classNames({\n [sectionBackgroundColor]: backgroundColor,\n });\n return {\n classProps,\n };\n};\n//# sourceMappingURL=useSectionStyleProps.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 { PaddingStyleProps, TextStyleProps } from \"../../constants/index.js\";\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { mergeStyleProps } from \"../../utils/index.js\";\nimport { Container } from \"../Container/index.js\";\nimport { useSectionSizeProps } from \"./useSectionSizeProps.js\";\nimport { useSectionStyleProps } from \"./useSectionStyleProps.js\";\nconst defaultProps = {\n containerProps: undefined,\n elementType: 'section',\n hasContainer: true,\n size: undefined,\n};\nconst Section = (props) => {\n const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);\n const { elementType: ElementTag = 'section', backgroundColor, children, containerProps, hasContainer } = propsWithDefaults, restProps = __rest(propsWithDefaults, [\"elementType\", \"backgroundColor\", \"children\", \"containerProps\", \"hasContainer\"]);\n const { classProps } = useSectionStyleProps({ backgroundColor });\n const { modifiedProps } = useSectionSizeProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {\n paddingTop: PaddingStyleProps.paddingTop,\n paddingBottom: PaddingStyleProps.paddingBottom,\n paddingY: PaddingStyleProps.paddingY,\n textAlignment: TextStyleProps.textAlignment,\n });\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps });\n return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps), hasContainer ? React.createElement(Container, Object.assign({}, containerProps), children) : children));\n};\nSection.spiritComponent = 'Section';\nexport default Section;\n//# sourceMappingURL=Section.js.map"],"names":["__rest","this","componentColors","emotionColors","textColors","containers","defaultContext","createContext","DefaultSpacingStyleProp","useContext","defaultProps"],"mappings":";;;;;;;;AAAA,IAAIA,QAAM,GAAG,CAACC,SAAI,IAAIA,SAAI,CAAC,MAAM,KAAK,UAAU,CAAC,EAAE,CAAC,EAAE;AACtD,IAAI,IAAI,CAAC,GAAG,EAAE;AACd,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC;AACvF,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACnB,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,OAAO,MAAM,CAAC,qBAAqB,KAAK,UAAU;AACvE,QAAQ,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAChF,YAAY,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,CAAC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AACnF,IAAI,MAAM,EAAE,WAAW,EAAE,UAAU,GAAG,SAAS,EAAE,eAAe,EAAE,QAAQ,EAAE,cAAc,EAAE,YAAY,EAAE,GAAG,iBAAiB,EAAE,SAAS,GAAG,MAAM,CAAC,iBAAiB,EAAE,CAAC,aAAa,EAAE,iBAAiB,EAAE,UAAU,EAAE,gBAAgB,EAAE,cAAc,CAAC,CAAC;AACvP,IAAI,MAAM,EAAE,UAAU,EAAE,GAAG,oBAAoB,CAAC,EAAE,eAAe,EAAE,CAAC;AACpE,IAAI,MAAM,EAAE,aAAa,EAAE,GAAG,mBAAmB,CAAC,SAAS,CAAC;AAC5D,IAAI,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,aAAa,CAAC,aAAa,EAAE;AAC3E,QAAQ,UAAU,EAAE,iBAAiB,CAAC,UAAU;AAChD,QAAQ,aAAa,EAAE,iBAAiB,CAAC,aAAa;AACtD,QAAQ,QAAQ,EAAE,iBAAiB,CAAC,QAAQ;AAC5C,QAAQ,aAAa,EAAE,cAAc,CAAC,aAAa;AACnD,KAAK,CAAC;AACN,IAAI,MAAM,gBAAgB,GAAG,eAAe,CAAC,UAAU,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;AACpF,IAAI,QAAQ,KAAK,CAAC,aAAa,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,EAAE,YAAY,GAAG,KAAK,CAAC,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,cAAc,CAAC,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC;AACnM;AACA,OAAO,CAAC,eAAe,GAAG,SAAS;;;;;;"}
@@ -0,0 +1,7 @@
1
+ import React, { type ElementType } from 'react';
2
+ import { type SpiritSectionProps } from '../../types';
3
+ declare const Section: {
4
+ <T extends ElementType = "section">(props: SpiritSectionProps<T>): React.JSX.Element;
5
+ spiritComponent: string;
6
+ };
7
+ export default Section;
@@ -0,0 +1,42 @@
1
+ 'use client';
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ import React from 'react';
14
+ import { PaddingStyleProps, TextStyleProps } from "../../constants/index.js";
15
+ import { useStyleProps } from "../../hooks/index.js";
16
+ import { mergeStyleProps } from "../../utils/index.js";
17
+ import { Container } from "../Container/index.js";
18
+ import { useSectionSizeProps } from "./useSectionSizeProps.js";
19
+ import { useSectionStyleProps } from "./useSectionStyleProps.js";
20
+ const defaultProps = {
21
+ containerProps: undefined,
22
+ elementType: 'section',
23
+ hasContainer: true,
24
+ size: undefined,
25
+ };
26
+ const Section = (props) => {
27
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);
28
+ const { elementType: ElementTag = 'section', backgroundColor, children, containerProps, hasContainer } = propsWithDefaults, restProps = __rest(propsWithDefaults, ["elementType", "backgroundColor", "children", "containerProps", "hasContainer"]);
29
+ const { classProps } = useSectionStyleProps({ backgroundColor });
30
+ const { modifiedProps } = useSectionSizeProps(restProps);
31
+ const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {
32
+ paddingTop: PaddingStyleProps.paddingTop,
33
+ paddingBottom: PaddingStyleProps.paddingBottom,
34
+ paddingY: PaddingStyleProps.paddingY,
35
+ textAlignment: TextStyleProps.textAlignment,
36
+ });
37
+ const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps });
38
+ return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps), hasContainer ? React.createElement(Container, Object.assign({}, containerProps), children) : children));
39
+ };
40
+ Section.spiritComponent = 'Section';
41
+ export default Section;
42
+ //# sourceMappingURL=Section.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Section.js","sourceRoot":"","sources":["../../../src/components/Section/Section.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;AAEb,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,YAAY,GAAgC;IAChD,cAAc,EAAE,SAAS;IACzB,WAAW,EAAE,SAAS;IACtB,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE,SAAS;CAChB,CAAC;AAEF,MAAM,OAAO,GAAG,CAAoC,KAA4B,EAAE,EAAE;IAClF,MAAM,iBAAiB,mCAAQ,YAAY,GAAK,KAAK,CAAE,CAAC;IACxD,MAAM,EACJ,WAAW,EAAE,UAAU,GAAG,SAAS,EACnC,eAAe,EACf,QAAQ,EACR,cAAc,EACd,YAAY,KAEV,iBAAiB,EADhB,SAAS,UACV,iBAAiB,EAPf,gFAOL,CAAoB,CAAC;IACtB,MAAM,EAAE,UAAU,EAAE,GAAG,oBAAoB,CAAC,EAAE,eAAe,EAAE,CAAC,CAAC;IACjE,MAAM,EAAE,aAAa,EAAE,GAAG,mBAAmB,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,aAAa,CAAC,aAAa,EAAE;QACrE,UAAU,EAAE,iBAAiB,CAAC,UAAU;QACxC,aAAa,EAAE,iBAAiB,CAAC,aAAa;QAC9C,QAAQ,EAAE,iBAAiB,CAAC,QAAQ;QACpC,aAAa,EAAE,cAAc,CAAC,aAAa;KAC5C,CAAC,CAAC;IACH,MAAM,gBAAgB,GAAG,eAAe,CAAC,UAAU,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC,CAAC;IAEjF,OAAO,CACL,oBAAC,UAAU,oBAAK,UAAU,EAAM,gBAAgB,GAC7C,YAAY,CAAC,CAAC,CAAC,oBAAC,SAAS,oBAAK,cAAc,GAAG,QAAQ,CAAa,CAAC,CAAC,CAAC,QAAQ,CACrE,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC;AAEpC,eAAe,OAAO,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as Section } from './Section';
2
+ export * from './useSectionSizeProps';
3
+ export * from './useSectionStyleProps';
@@ -0,0 +1,4 @@
1
+ export { default as Section } from "./Section.js";
2
+ export * from "./useSectionSizeProps.js";
3
+ export * from "./useSectionStyleProps.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Section/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@alma-oss/spirit-web-react/components/Section",
3
+ "type": "module",
4
+ "main": "Section.cjs",
5
+ "module": "index.js",
6
+ "types": "index.d.ts",
7
+ "sideEffects": false
8
+ }
@@ -0,0 +1,6 @@
1
+ import { type ElementType } from 'react';
2
+ import { type SpiritSectionProps } from '../../types';
3
+ export interface UseSectionSizeProps {
4
+ modifiedProps: Partial<SpiritSectionProps<ElementType>>;
5
+ }
6
+ export declare const useSectionSizeProps: (props: Partial<SpiritSectionProps<ElementType>>) => UseSectionSizeProps;