@coinbase/cds-web 0.0.0 → 8.13.2

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 (1343) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +1 -0
  3. package/dts/AccessibilityAnnouncer/AccessibilityAnnouncer.d.ts +32 -0
  4. package/dts/AccessibilityAnnouncer/AccessibilityAnnouncer.d.ts.map +1 -0
  5. package/dts/accordion/Accordion.d.ts +17 -0
  6. package/dts/accordion/Accordion.d.ts.map +1 -0
  7. package/dts/accordion/AccordionHeader.d.ts +69 -0
  8. package/dts/accordion/AccordionHeader.d.ts.map +1 -0
  9. package/dts/accordion/AccordionItem.d.ts +31 -0
  10. package/dts/accordion/AccordionItem.d.ts.map +1 -0
  11. package/dts/accordion/AccordionPanel.d.ts +33 -0
  12. package/dts/accordion/AccordionPanel.d.ts.map +1 -0
  13. package/dts/accordion/__figma__/Accordion.figma.d.ts +2 -0
  14. package/dts/accordion/__figma__/Accordion.figma.d.ts.map +1 -0
  15. package/dts/accordion/index.d.ts +3 -0
  16. package/dts/accordion/index.d.ts.map +1 -0
  17. package/dts/accordion/utils.d.ts +3 -0
  18. package/dts/accordion/utils.d.ts.map +1 -0
  19. package/dts/animation/Lottie.d.ts +20 -0
  20. package/dts/animation/Lottie.d.ts.map +1 -0
  21. package/dts/animation/LottieStatusAnimation.d.ts +11 -0
  22. package/dts/animation/LottieStatusAnimation.d.ts.map +1 -0
  23. package/dts/animation/NewAnimatePresence.d.ts +7 -0
  24. package/dts/animation/NewAnimatePresence.d.ts.map +1 -0
  25. package/dts/animation/convertMotionConfig.d.ts +33 -0
  26. package/dts/animation/convertMotionConfig.d.ts.map +1 -0
  27. package/dts/animation/index.d.ts +3 -0
  28. package/dts/animation/index.d.ts.map +1 -0
  29. package/dts/animation/types.d.ts +55 -0
  30. package/dts/animation/types.d.ts.map +1 -0
  31. package/dts/animation/useLottieHandlers.d.ts +3 -0
  32. package/dts/animation/useLottieHandlers.d.ts.map +1 -0
  33. package/dts/animation/useLottieListeners.d.ts +6 -0
  34. package/dts/animation/useLottieListeners.d.ts.map +1 -0
  35. package/dts/animation/useLottieLoader.d.ts +15 -0
  36. package/dts/animation/useLottieLoader.d.ts.map +1 -0
  37. package/dts/banner/Banner.d.ts +63 -0
  38. package/dts/banner/Banner.d.ts.map +1 -0
  39. package/dts/buttons/AvatarButton.d.ts +26 -0
  40. package/dts/buttons/AvatarButton.d.ts.map +1 -0
  41. package/dts/buttons/Button.d.ts +72 -0
  42. package/dts/buttons/Button.d.ts.map +1 -0
  43. package/dts/buttons/ButtonGroup.d.ts +23 -0
  44. package/dts/buttons/ButtonGroup.d.ts.map +1 -0
  45. package/dts/buttons/IconButton.d.ts +32 -0
  46. package/dts/buttons/IconButton.d.ts.map +1 -0
  47. package/dts/buttons/IconCounterButton.d.ts +31 -0
  48. package/dts/buttons/IconCounterButton.d.ts.map +1 -0
  49. package/dts/buttons/Tile.d.ts +17 -0
  50. package/dts/buttons/Tile.d.ts.map +1 -0
  51. package/dts/buttons/TileButton.d.ts +25 -0
  52. package/dts/buttons/TileButton.d.ts.map +1 -0
  53. package/dts/buttons/__figma__/AvatarButton.figma.d.ts +2 -0
  54. package/dts/buttons/__figma__/AvatarButton.figma.d.ts.map +1 -0
  55. package/dts/buttons/__figma__/Button.figma.d.ts +2 -0
  56. package/dts/buttons/__figma__/Button.figma.d.ts.map +1 -0
  57. package/dts/buttons/__figma__/ButtonGroup.figma.d.ts +2 -0
  58. package/dts/buttons/__figma__/ButtonGroup.figma.d.ts.map +1 -0
  59. package/dts/buttons/__figma__/IconButton.figma.d.ts +2 -0
  60. package/dts/buttons/__figma__/IconButton.figma.d.ts.map +1 -0
  61. package/dts/buttons/__figma__/TileButton.figma.d.ts +2 -0
  62. package/dts/buttons/__figma__/TileButton.figma.d.ts.map +1 -0
  63. package/dts/buttons/index.d.ts +7 -0
  64. package/dts/buttons/index.d.ts.map +1 -0
  65. package/dts/cards/AnnouncementCard.d.ts +8 -0
  66. package/dts/cards/AnnouncementCard.d.ts.map +1 -0
  67. package/dts/cards/Card.d.ts +18 -0
  68. package/dts/cards/Card.d.ts.map +1 -0
  69. package/dts/cards/CardBody.d.ts +55 -0
  70. package/dts/cards/CardBody.d.ts.map +1 -0
  71. package/dts/cards/CardFooter.d.ts +11 -0
  72. package/dts/cards/CardFooter.d.ts.map +1 -0
  73. package/dts/cards/CardGroup.d.ts +11 -0
  74. package/dts/cards/CardGroup.d.ts.map +1 -0
  75. package/dts/cards/CardHeader.d.ts +4 -0
  76. package/dts/cards/CardHeader.d.ts.map +1 -0
  77. package/dts/cards/CardMedia.d.ts +4 -0
  78. package/dts/cards/CardMedia.d.ts.map +1 -0
  79. package/dts/cards/CardRemoteImage.d.ts +8 -0
  80. package/dts/cards/CardRemoteImage.d.ts.map +1 -0
  81. package/dts/cards/ContainedAssetCard.d.ts +38 -0
  82. package/dts/cards/ContainedAssetCard.d.ts.map +1 -0
  83. package/dts/cards/ContentCard/ContentCard.d.ts +17 -0
  84. package/dts/cards/ContentCard/ContentCard.d.ts.map +1 -0
  85. package/dts/cards/ContentCard/ContentCardBody.d.ts +36 -0
  86. package/dts/cards/ContentCard/ContentCardBody.d.ts.map +1 -0
  87. package/dts/cards/ContentCard/ContentCardFooter.d.ts +19 -0
  88. package/dts/cards/ContentCard/ContentCardFooter.d.ts.map +1 -0
  89. package/dts/cards/ContentCard/ContentCardHeader.d.ts +32 -0
  90. package/dts/cards/ContentCard/ContentCardHeader.d.ts.map +1 -0
  91. package/dts/cards/ContentCard/__figma__/ContentCard.figma.d.ts +2 -0
  92. package/dts/cards/ContentCard/__figma__/ContentCard.figma.d.ts.map +1 -0
  93. package/dts/cards/ContentCard/__figma__/ContentCardBody.figma.d.ts +2 -0
  94. package/dts/cards/ContentCard/__figma__/ContentCardBody.figma.d.ts.map +1 -0
  95. package/dts/cards/ContentCard/__figma__/ContentCardFooter.figma.d.ts +2 -0
  96. package/dts/cards/ContentCard/__figma__/ContentCardFooter.figma.d.ts.map +1 -0
  97. package/dts/cards/ContentCard/__figma__/ContentCardHeader.figma.d.ts +2 -0
  98. package/dts/cards/ContentCard/__figma__/ContentCardHeader.figma.d.ts.map +1 -0
  99. package/dts/cards/ContentCard/index.d.ts +5 -0
  100. package/dts/cards/ContentCard/index.d.ts.map +1 -0
  101. package/dts/cards/DataCard.d.ts +20 -0
  102. package/dts/cards/DataCard.d.ts.map +1 -0
  103. package/dts/cards/FeatureEntryCard.d.ts +9 -0
  104. package/dts/cards/FeatureEntryCard.d.ts.map +1 -0
  105. package/dts/cards/FeedCard.d.ts +37 -0
  106. package/dts/cards/FeedCard.d.ts.map +1 -0
  107. package/dts/cards/FloatingAssetCard.d.ts +37 -0
  108. package/dts/cards/FloatingAssetCard.d.ts.map +1 -0
  109. package/dts/cards/LikeButton.d.ts +21 -0
  110. package/dts/cards/LikeButton.d.ts.map +1 -0
  111. package/dts/cards/NudgeCard.d.ts +72 -0
  112. package/dts/cards/NudgeCard.d.ts.map +1 -0
  113. package/dts/cards/UpsellCard.d.ts +55 -0
  114. package/dts/cards/UpsellCard.d.ts.map +1 -0
  115. package/dts/cards/__figma__/AnnouncementCard.figma.d.ts +2 -0
  116. package/dts/cards/__figma__/AnnouncementCard.figma.d.ts.map +1 -0
  117. package/dts/cards/__figma__/ContainedAssetCard.figma.d.ts +2 -0
  118. package/dts/cards/__figma__/ContainedAssetCard.figma.d.ts.map +1 -0
  119. package/dts/cards/__figma__/FloatingAssetCard.figma.d.ts +2 -0
  120. package/dts/cards/__figma__/FloatingAssetCard.figma.d.ts.map +1 -0
  121. package/dts/cards/__figma__/NudgeCard.figma.d.ts +2 -0
  122. package/dts/cards/__figma__/NudgeCard.figma.d.ts.map +1 -0
  123. package/dts/cards/__figma__/UpsellCard.figma.d.ts +2 -0
  124. package/dts/cards/__figma__/UpsellCard.figma.d.ts.map +1 -0
  125. package/dts/cards/index.d.ts +15 -0
  126. package/dts/cards/index.d.ts.map +1 -0
  127. package/dts/carousel/Carousel.d.ts +259 -0
  128. package/dts/carousel/Carousel.d.ts.map +1 -0
  129. package/dts/carousel/CarouselItem.d.ts +15 -0
  130. package/dts/carousel/CarouselItem.d.ts.map +1 -0
  131. package/dts/carousel/DefaultCarouselNavigation.d.ts +75 -0
  132. package/dts/carousel/DefaultCarouselNavigation.d.ts.map +1 -0
  133. package/dts/carousel/DefaultCarouselPagination.d.ts +34 -0
  134. package/dts/carousel/DefaultCarouselPagination.d.ts.map +1 -0
  135. package/dts/carousel/index.d.ts +5 -0
  136. package/dts/carousel/index.d.ts.map +1 -0
  137. package/dts/cells/Cell.d.ts +67 -0
  138. package/dts/cells/Cell.d.ts.map +1 -0
  139. package/dts/cells/CellAccessory.d.ts +20 -0
  140. package/dts/cells/CellAccessory.d.ts.map +1 -0
  141. package/dts/cells/CellDetail.d.ts +18 -0
  142. package/dts/cells/CellDetail.d.ts.map +1 -0
  143. package/dts/cells/CellHelperText.d.ts +13 -0
  144. package/dts/cells/CellHelperText.d.ts.map +1 -0
  145. package/dts/cells/CellMedia.d.ts +34 -0
  146. package/dts/cells/CellMedia.d.ts.map +1 -0
  147. package/dts/cells/ContentCell.d.ts +34 -0
  148. package/dts/cells/ContentCell.d.ts.map +1 -0
  149. package/dts/cells/ContentCellFallback.d.ts +17 -0
  150. package/dts/cells/ContentCellFallback.d.ts.map +1 -0
  151. package/dts/cells/ListCell.d.ts +51 -0
  152. package/dts/cells/ListCell.d.ts.map +1 -0
  153. package/dts/cells/ListCellFallback.d.ts +50 -0
  154. package/dts/cells/ListCellFallback.d.ts.map +1 -0
  155. package/dts/cells/MediaFallback.d.ts +8 -0
  156. package/dts/cells/MediaFallback.d.ts.map +1 -0
  157. package/dts/cells/__figma__/ContentCell.figma.d.ts +2 -0
  158. package/dts/cells/__figma__/ContentCell.figma.d.ts.map +1 -0
  159. package/dts/cells/__figma__/ListCell.figma.d.ts +2 -0
  160. package/dts/cells/__figma__/ListCell.figma.d.ts.map +1 -0
  161. package/dts/cells/index.d.ts +7 -0
  162. package/dts/cells/index.d.ts.map +1 -0
  163. package/dts/chips/Chip.d.ts +10 -0
  164. package/dts/chips/Chip.d.ts.map +1 -0
  165. package/dts/chips/ChipProps.d.ts +51 -0
  166. package/dts/chips/ChipProps.d.ts.map +1 -0
  167. package/dts/chips/InputChip.d.ts +8 -0
  168. package/dts/chips/InputChip.d.ts.map +1 -0
  169. package/dts/chips/SelectChip.d.ts +19 -0
  170. package/dts/chips/SelectChip.d.ts.map +1 -0
  171. package/dts/chips/TabbedChips.d.ts +14 -0
  172. package/dts/chips/TabbedChips.d.ts.map +1 -0
  173. package/dts/chips/__figma__/InputChip.figma.d.ts +2 -0
  174. package/dts/chips/__figma__/InputChip.figma.d.ts.map +1 -0
  175. package/dts/chips/__figma__/SelectChip.figma.d.ts +2 -0
  176. package/dts/chips/__figma__/SelectChip.figma.d.ts.map +1 -0
  177. package/dts/chips/__figma__/TabbedChips.figma.d.ts +2 -0
  178. package/dts/chips/__figma__/TabbedChips.figma.d.ts.map +1 -0
  179. package/dts/chips/index.d.ts +6 -0
  180. package/dts/chips/index.d.ts.map +1 -0
  181. package/dts/coachmark/Coachmark.d.ts +44 -0
  182. package/dts/coachmark/Coachmark.d.ts.map +1 -0
  183. package/dts/coachmark/__figma__/Coachmark.figma.d.ts +2 -0
  184. package/dts/coachmark/__figma__/Coachmark.figma.d.ts.map +1 -0
  185. package/dts/collapsible/Collapsible.d.ts +71 -0
  186. package/dts/collapsible/Collapsible.d.ts.map +1 -0
  187. package/dts/collapsible/index.d.ts +2 -0
  188. package/dts/collapsible/index.d.ts.map +1 -0
  189. package/dts/collapsible/useCollapsibleMotionProps.d.ts +5565 -0
  190. package/dts/collapsible/useCollapsibleMotionProps.d.ts.map +1 -0
  191. package/dts/controls/Checkbox.d.ts +23 -0
  192. package/dts/controls/Checkbox.d.ts.map +1 -0
  193. package/dts/controls/CheckboxCell.d.ts +49 -0
  194. package/dts/controls/CheckboxCell.d.ts.map +1 -0
  195. package/dts/controls/CheckboxGroup.d.ts +60 -0
  196. package/dts/controls/CheckboxGroup.d.ts.map +1 -0
  197. package/dts/controls/Control.d.ts +47 -0
  198. package/dts/controls/Control.d.ts.map +1 -0
  199. package/dts/controls/ControlGroup.d.ts +44 -0
  200. package/dts/controls/ControlGroup.d.ts.map +1 -0
  201. package/dts/controls/HelperText.d.ts +15 -0
  202. package/dts/controls/HelperText.d.ts.map +1 -0
  203. package/dts/controls/InputIcon.d.ts +18 -0
  204. package/dts/controls/InputIcon.d.ts.map +1 -0
  205. package/dts/controls/InputIconButton.d.ts +17 -0
  206. package/dts/controls/InputIconButton.d.ts.map +1 -0
  207. package/dts/controls/InputLabel.d.ts +5 -0
  208. package/dts/controls/InputLabel.d.ts.map +1 -0
  209. package/dts/controls/InputStack.d.ts +77 -0
  210. package/dts/controls/InputStack.d.ts.map +1 -0
  211. package/dts/controls/NativeInput.d.ts +48 -0
  212. package/dts/controls/NativeInput.d.ts.map +1 -0
  213. package/dts/controls/NativeTextArea.d.ts +20 -0
  214. package/dts/controls/NativeTextArea.d.ts.map +1 -0
  215. package/dts/controls/Radio.d.ts +17 -0
  216. package/dts/controls/Radio.d.ts.map +1 -0
  217. package/dts/controls/RadioCell.d.ts +49 -0
  218. package/dts/controls/RadioCell.d.ts.map +1 -0
  219. package/dts/controls/RadioGroup.d.ts +65 -0
  220. package/dts/controls/RadioGroup.d.ts.map +1 -0
  221. package/dts/controls/SearchInput.d.ts +146 -0
  222. package/dts/controls/SearchInput.d.ts.map +1 -0
  223. package/dts/controls/SegmentedControl.d.ts +49 -0
  224. package/dts/controls/SegmentedControl.d.ts.map +1 -0
  225. package/dts/controls/Select.d.ts +54 -0
  226. package/dts/controls/Select.d.ts.map +1 -0
  227. package/dts/controls/SelectOption.d.ts +39 -0
  228. package/dts/controls/SelectOption.d.ts.map +1 -0
  229. package/dts/controls/SelectStack.d.ts +25 -0
  230. package/dts/controls/SelectStack.d.ts.map +1 -0
  231. package/dts/controls/SelectTrigger.d.ts +24 -0
  232. package/dts/controls/SelectTrigger.d.ts.map +1 -0
  233. package/dts/controls/Switch.d.ts +40 -0
  234. package/dts/controls/Switch.d.ts.map +1 -0
  235. package/dts/controls/TextInput.d.ts +139 -0
  236. package/dts/controls/TextInput.d.ts.map +1 -0
  237. package/dts/controls/__figma__/Checkbox.figma.d.ts +2 -0
  238. package/dts/controls/__figma__/Checkbox.figma.d.ts.map +1 -0
  239. package/dts/controls/__figma__/CheckboxCell.figma.d.ts +2 -0
  240. package/dts/controls/__figma__/CheckboxCell.figma.d.ts.map +1 -0
  241. package/dts/controls/__figma__/CheckboxGroup.figma.d.ts +2 -0
  242. package/dts/controls/__figma__/CheckboxGroup.figma.d.ts.map +1 -0
  243. package/dts/controls/__figma__/NativeTextArea.figma.d.ts +2 -0
  244. package/dts/controls/__figma__/NativeTextArea.figma.d.ts.map +1 -0
  245. package/dts/controls/__figma__/RadioCell.figma.d.ts +2 -0
  246. package/dts/controls/__figma__/RadioCell.figma.d.ts.map +1 -0
  247. package/dts/controls/__figma__/RadioGroup.figma.d.ts +2 -0
  248. package/dts/controls/__figma__/RadioGroup.figma.d.ts.map +1 -0
  249. package/dts/controls/__figma__/SearchInput.figma.d.ts +2 -0
  250. package/dts/controls/__figma__/SearchInput.figma.d.ts.map +1 -0
  251. package/dts/controls/__figma__/Select.figma.d.ts +2 -0
  252. package/dts/controls/__figma__/Select.figma.d.ts.map +1 -0
  253. package/dts/controls/__figma__/SelectOption.figma.d.ts +2 -0
  254. package/dts/controls/__figma__/SelectOption.figma.d.ts.map +1 -0
  255. package/dts/controls/__figma__/Switch.figma.d.ts +2 -0
  256. package/dts/controls/__figma__/Switch.figma.d.ts.map +1 -0
  257. package/dts/controls/__figma__/TextInput.figma.d.ts +2 -0
  258. package/dts/controls/__figma__/TextInput.figma.d.ts.map +1 -0
  259. package/dts/controls/context.d.ts +6 -0
  260. package/dts/controls/context.d.ts.map +1 -0
  261. package/dts/controls/index.d.ts +16 -0
  262. package/dts/controls/index.d.ts.map +1 -0
  263. package/dts/controls/selectContext.d.ts +13 -0
  264. package/dts/controls/selectContext.d.ts.map +1 -0
  265. package/dts/controls/useHandleRadioSelect.d.ts +4 -0
  266. package/dts/controls/useHandleRadioSelect.d.ts.map +1 -0
  267. package/dts/controls/useRefocusTrigger.d.ts +5 -0
  268. package/dts/controls/useRefocusTrigger.d.ts.map +1 -0
  269. package/dts/controls/useSelectionCellControlHeight.d.ts +15 -0
  270. package/dts/controls/useSelectionCellControlHeight.d.ts.map +1 -0
  271. package/dts/core/createThemeCssVars.d.ts +4 -0
  272. package/dts/core/createThemeCssVars.d.ts.map +1 -0
  273. package/dts/core/polymorphism.d.ts +27 -0
  274. package/dts/core/polymorphism.d.ts.map +1 -0
  275. package/dts/core/theme.d.ts +162 -0
  276. package/dts/core/theme.d.ts.map +1 -0
  277. package/dts/cx.d.ts +30 -0
  278. package/dts/cx.d.ts.map +1 -0
  279. package/dts/dates/Calendar.d.ts +109 -0
  280. package/dts/dates/Calendar.d.ts.map +1 -0
  281. package/dts/dates/DateInput.d.ts +23 -0
  282. package/dts/dates/DateInput.d.ts.map +1 -0
  283. package/dts/dates/DatePicker.d.ts +155 -0
  284. package/dts/dates/DatePicker.d.ts.map +1 -0
  285. package/dts/dates/__figma__/DatePicker.figma.d.ts +2 -0
  286. package/dts/dates/__figma__/DatePicker.figma.d.ts.map +1 -0
  287. package/dts/defaultFontStyles.d.ts +2 -0
  288. package/dts/defaultFontStyles.d.ts.map +1 -0
  289. package/dts/dots/DotCount.d.ts +96 -0
  290. package/dts/dots/DotCount.d.ts.map +1 -0
  291. package/dts/dots/DotStatusColor.d.ts +39 -0
  292. package/dts/dots/DotStatusColor.d.ts.map +1 -0
  293. package/dts/dots/DotSymbol.d.ts +69 -0
  294. package/dts/dots/DotSymbol.d.ts.map +1 -0
  295. package/dts/dots/__figma__/DotCount.figma.d.ts +2 -0
  296. package/dts/dots/__figma__/DotCount.figma.d.ts.map +1 -0
  297. package/dts/dots/__figma__/DotStatusColor.figma.d.ts +2 -0
  298. package/dts/dots/__figma__/DotStatusColor.figma.d.ts.map +1 -0
  299. package/dts/dots/__figma__/DotSymbol.figma.d.ts +2 -0
  300. package/dts/dots/__figma__/DotSymbol.figma.d.ts.map +1 -0
  301. package/dts/dots/dotStyles.d.ts +20 -0
  302. package/dts/dots/dotStyles.d.ts.map +1 -0
  303. package/dts/dots/index.d.ts +4 -0
  304. package/dts/dots/index.d.ts.map +1 -0
  305. package/dts/dropdown/Dropdown.d.ts +40 -0
  306. package/dts/dropdown/Dropdown.d.ts.map +1 -0
  307. package/dts/dropdown/DropdownContent.d.ts +18 -0
  308. package/dts/dropdown/DropdownContent.d.ts.map +1 -0
  309. package/dts/dropdown/DropdownProps.d.ts +77 -0
  310. package/dts/dropdown/DropdownProps.d.ts.map +1 -0
  311. package/dts/dropdown/MenuItem.d.ts +23 -0
  312. package/dts/dropdown/MenuItem.d.ts.map +1 -0
  313. package/dts/dropdown/__figma__/Dropdown.figma.d.ts +2 -0
  314. package/dts/dropdown/__figma__/Dropdown.figma.d.ts.map +1 -0
  315. package/dts/dropdown/index.d.ts +4 -0
  316. package/dts/dropdown/index.d.ts.map +1 -0
  317. package/dts/dropdown/useResponsiveHeight.d.ts +22 -0
  318. package/dts/dropdown/useResponsiveHeight.d.ts.map +1 -0
  319. package/dts/globalStyles.d.ts +2 -0
  320. package/dts/globalStyles.d.ts.map +1 -0
  321. package/dts/hooks/useA11yControlledVisibility.d.ts +22 -0
  322. package/dts/hooks/useA11yControlledVisibility.d.ts.map +1 -0
  323. package/dts/hooks/useA11yLabels.d.ts +45 -0
  324. package/dts/hooks/useA11yLabels.d.ts.map +1 -0
  325. package/dts/hooks/useBreakpoints.d.ts +19 -0
  326. package/dts/hooks/useBreakpoints.d.ts.map +1 -0
  327. package/dts/hooks/useCellSpacing.d.ts +298 -0
  328. package/dts/hooks/useCellSpacing.d.ts.map +1 -0
  329. package/dts/hooks/useCheckboxGroupState.d.ts +27 -0
  330. package/dts/hooks/useCheckboxGroupState.d.ts.map +1 -0
  331. package/dts/hooks/useDimensions.d.ts +73 -0
  332. package/dts/hooks/useDimensions.d.ts.map +1 -0
  333. package/dts/hooks/useEventHandler.d.ts +7 -0
  334. package/dts/hooks/useEventHandler.d.ts.map +1 -0
  335. package/dts/hooks/useHasMounted.d.ts +2 -0
  336. package/dts/hooks/useHasMounted.d.ts.map +1 -0
  337. package/dts/hooks/useIsBrowser.d.ts +3 -0
  338. package/dts/hooks/useIsBrowser.d.ts.map +1 -0
  339. package/dts/hooks/useIsoEffect.d.ts +3 -0
  340. package/dts/hooks/useIsoEffect.d.ts.map +1 -0
  341. package/dts/hooks/useMediaQuery.d.ts +2 -0
  342. package/dts/hooks/useMediaQuery.d.ts.map +1 -0
  343. package/dts/hooks/useScrollBlocker.d.ts +2 -0
  344. package/dts/hooks/useScrollBlocker.d.ts.map +1 -0
  345. package/dts/hooks/useTheme.d.ts +4 -0
  346. package/dts/hooks/useTheme.d.ts.map +1 -0
  347. package/dts/hooks/useThemeContext.d.ts +8 -0
  348. package/dts/hooks/useThemeContext.d.ts.map +1 -0
  349. package/dts/icons/Icon.d.ts +56 -0
  350. package/dts/icons/Icon.d.ts.map +1 -0
  351. package/dts/icons/LogoMark.d.ts +9 -0
  352. package/dts/icons/LogoMark.d.ts.map +1 -0
  353. package/dts/icons/LogoWordmark.d.ts +8 -0
  354. package/dts/icons/LogoWordmark.d.ts.map +1 -0
  355. package/dts/icons/SubBrandLogoMark.d.ts +9 -0
  356. package/dts/icons/SubBrandLogoMark.d.ts.map +1 -0
  357. package/dts/icons/SubBrandLogoWordmark.d.ts +8 -0
  358. package/dts/icons/SubBrandLogoWordmark.d.ts.map +1 -0
  359. package/dts/icons/__figma__/Icon.figma.d.ts +2 -0
  360. package/dts/icons/__figma__/Icon.figma.d.ts.map +1 -0
  361. package/dts/icons/__figma__/LogoMark.figma.d.ts +2 -0
  362. package/dts/icons/__figma__/LogoMark.figma.d.ts.map +1 -0
  363. package/dts/icons/__figma__/LogoWordmark.figma.d.ts +2 -0
  364. package/dts/icons/__figma__/LogoWordmark.figma.d.ts.map +1 -0
  365. package/dts/icons/__figma__/SubBrandLogoMark.figma.d.ts +2 -0
  366. package/dts/icons/__figma__/SubBrandLogoMark.figma.d.ts.map +1 -0
  367. package/dts/icons/__figma__/SubBrandLogoWordmark.figma.d.ts +2 -0
  368. package/dts/icons/__figma__/SubBrandLogoWordmark.figma.d.ts.map +1 -0
  369. package/dts/icons/index.d.ts +6 -0
  370. package/dts/icons/index.d.ts.map +1 -0
  371. package/dts/illustrations/HeroSquare.d.ts +19 -0
  372. package/dts/illustrations/HeroSquare.d.ts.map +1 -0
  373. package/dts/illustrations/Pictogram.d.ts +18 -0
  374. package/dts/illustrations/Pictogram.d.ts.map +1 -0
  375. package/dts/illustrations/SpotIcon.d.ts +18 -0
  376. package/dts/illustrations/SpotIcon.d.ts.map +1 -0
  377. package/dts/illustrations/SpotRectangle.d.ts +19 -0
  378. package/dts/illustrations/SpotRectangle.d.ts.map +1 -0
  379. package/dts/illustrations/SpotSquare.d.ts +18 -0
  380. package/dts/illustrations/SpotSquare.d.ts.map +1 -0
  381. package/dts/illustrations/__figma__/HeroSquare.figma.d.ts +2 -0
  382. package/dts/illustrations/__figma__/HeroSquare.figma.d.ts.map +1 -0
  383. package/dts/illustrations/__figma__/Pictogram.figma.d.ts +2 -0
  384. package/dts/illustrations/__figma__/Pictogram.figma.d.ts.map +1 -0
  385. package/dts/illustrations/__figma__/SpotIcon.figma.d.ts +2 -0
  386. package/dts/illustrations/__figma__/SpotIcon.figma.d.ts.map +1 -0
  387. package/dts/illustrations/__figma__/SpotRectangle.figma.d.ts +2 -0
  388. package/dts/illustrations/__figma__/SpotRectangle.figma.d.ts.map +1 -0
  389. package/dts/illustrations/__figma__/SpotSquare.figma.d.ts +2 -0
  390. package/dts/illustrations/__figma__/SpotSquare.figma.d.ts.map +1 -0
  391. package/dts/illustrations/createIllustration.d.ts +68 -0
  392. package/dts/illustrations/createIllustration.d.ts.map +1 -0
  393. package/dts/illustrations/index.d.ts +6 -0
  394. package/dts/illustrations/index.d.ts.map +1 -0
  395. package/dts/index.d.ts +7 -0
  396. package/dts/index.d.ts.map +1 -0
  397. package/dts/layout/Box.d.ts +69 -0
  398. package/dts/layout/Box.d.ts.map +1 -0
  399. package/dts/layout/Divider.d.ts +19 -0
  400. package/dts/layout/Divider.d.ts.map +1 -0
  401. package/dts/layout/Fallback.d.ts +49 -0
  402. package/dts/layout/Fallback.d.ts.map +1 -0
  403. package/dts/layout/Grid.d.ts +55 -0
  404. package/dts/layout/Grid.d.ts.map +1 -0
  405. package/dts/layout/GridColumn.d.ts +60 -0
  406. package/dts/layout/GridColumn.d.ts.map +1 -0
  407. package/dts/layout/Group.d.ts +44 -0
  408. package/dts/layout/Group.d.ts.map +1 -0
  409. package/dts/layout/HStack.d.ts +17 -0
  410. package/dts/layout/HStack.d.ts.map +1 -0
  411. package/dts/layout/Spacer.d.ts +34 -0
  412. package/dts/layout/Spacer.d.ts.map +1 -0
  413. package/dts/layout/VStack.d.ts +17 -0
  414. package/dts/layout/VStack.d.ts.map +1 -0
  415. package/dts/layout/__figma__/Divider.figma.d.ts +2 -0
  416. package/dts/layout/__figma__/Divider.figma.d.ts.map +1 -0
  417. package/dts/layout/__figma__/Fallback.figma.d.ts +2 -0
  418. package/dts/layout/__figma__/Fallback.figma.d.ts.map +1 -0
  419. package/dts/layout/index.d.ts +10 -0
  420. package/dts/layout/index.d.ts.map +1 -0
  421. package/dts/loaders/CircularProgress.d.ts +30 -0
  422. package/dts/loaders/CircularProgress.d.ts.map +1 -0
  423. package/dts/loaders/MaterialSpinner.d.ts +16 -0
  424. package/dts/loaders/MaterialSpinner.d.ts.map +1 -0
  425. package/dts/loaders/Spinner.d.ts +21 -0
  426. package/dts/loaders/Spinner.d.ts.map +1 -0
  427. package/dts/loaders/index.d.ts +2 -0
  428. package/dts/loaders/index.d.ts.map +1 -0
  429. package/dts/media/Avatar.d.ts +55 -0
  430. package/dts/media/Avatar.d.ts.map +1 -0
  431. package/dts/media/Hexagon.d.ts +90 -0
  432. package/dts/media/Hexagon.d.ts.map +1 -0
  433. package/dts/media/RemoteImage.d.ts +46 -0
  434. package/dts/media/RemoteImage.d.ts.map +1 -0
  435. package/dts/media/RemoteImageGroup.d.ts +37 -0
  436. package/dts/media/RemoteImageGroup.d.ts.map +1 -0
  437. package/dts/media/__figma__/Avatar.figma.d.ts +2 -0
  438. package/dts/media/__figma__/Avatar.figma.d.ts.map +1 -0
  439. package/dts/media/index.d.ts +4 -0
  440. package/dts/media/index.d.ts.map +1 -0
  441. package/dts/motion/AnimatedCaret.d.ts +9 -0
  442. package/dts/motion/AnimatedCaret.d.ts.map +1 -0
  443. package/dts/motion/ColorSurge.d.ts +29 -0
  444. package/dts/motion/ColorSurge.d.ts.map +1 -0
  445. package/dts/motion/Pulse.d.ts +57 -0
  446. package/dts/motion/Pulse.d.ts.map +1 -0
  447. package/dts/motion/Shake.d.ts +20 -0
  448. package/dts/motion/Shake.d.ts.map +1 -0
  449. package/dts/motion/types.d.ts +29 -0
  450. package/dts/motion/types.d.ts.map +1 -0
  451. package/dts/motion/useMotionProps.d.ts +11128 -0
  452. package/dts/motion/useMotionProps.d.ts.map +1 -0
  453. package/dts/motion/utils.d.ts +5396 -0
  454. package/dts/motion/utils.d.ts.map +1 -0
  455. package/dts/multi-content-module/MultiContentModule.d.ts +40 -0
  456. package/dts/multi-content-module/MultiContentModule.d.ts.map +1 -0
  457. package/dts/multi-content-module/__figma__/MultiContentModule.figma.d.ts +2 -0
  458. package/dts/multi-content-module/__figma__/MultiContentModule.figma.d.ts.map +1 -0
  459. package/dts/navigation/NavLink.d.ts +14 -0
  460. package/dts/navigation/NavLink.d.ts.map +1 -0
  461. package/dts/navigation/NavigationBar.d.ts +68 -0
  462. package/dts/navigation/NavigationBar.d.ts.map +1 -0
  463. package/dts/navigation/NavigationTitle.d.ts +7 -0
  464. package/dts/navigation/NavigationTitle.d.ts.map +1 -0
  465. package/dts/navigation/NavigationTitleSelect.d.ts +23 -0
  466. package/dts/navigation/NavigationTitleSelect.d.ts.map +1 -0
  467. package/dts/navigation/Sidebar.d.ts +36 -0
  468. package/dts/navigation/Sidebar.d.ts.map +1 -0
  469. package/dts/navigation/SidebarContext.d.ts +8 -0
  470. package/dts/navigation/SidebarContext.d.ts.map +1 -0
  471. package/dts/navigation/SidebarItem.d.ts +55 -0
  472. package/dts/navigation/SidebarItem.d.ts.map +1 -0
  473. package/dts/navigation/SidebarMoreMenu.d.ts +16 -0
  474. package/dts/navigation/SidebarMoreMenu.d.ts.map +1 -0
  475. package/dts/navigation/__figma__/NavLink.figma.d.ts +2 -0
  476. package/dts/navigation/__figma__/NavLink.figma.d.ts.map +1 -0
  477. package/dts/navigation/__figma__/NavigationBar.figma.d.ts +2 -0
  478. package/dts/navigation/__figma__/NavigationBar.figma.d.ts.map +1 -0
  479. package/dts/navigation/__figma__/NavigationTitle.figma.d.ts +2 -0
  480. package/dts/navigation/__figma__/NavigationTitle.figma.d.ts.map +1 -0
  481. package/dts/navigation/__figma__/Sidebar.figma.d.ts +2 -0
  482. package/dts/navigation/__figma__/Sidebar.figma.d.ts.map +1 -0
  483. package/dts/navigation/__figma__/SidebarItem.figma.d.ts +2 -0
  484. package/dts/navigation/__figma__/SidebarItem.figma.d.ts.map +1 -0
  485. package/dts/navigation/index.d.ts +8 -0
  486. package/dts/navigation/index.d.ts.map +1 -0
  487. package/dts/numbers/RollingNumber/DefaultRollingNumberAffixSection.d.ts +3 -0
  488. package/dts/numbers/RollingNumber/DefaultRollingNumberAffixSection.d.ts.map +1 -0
  489. package/dts/numbers/RollingNumber/DefaultRollingNumberDigit.d.ts +8 -0
  490. package/dts/numbers/RollingNumber/DefaultRollingNumberDigit.d.ts.map +1 -0
  491. package/dts/numbers/RollingNumber/DefaultRollingNumberMask.d.ts +3 -0
  492. package/dts/numbers/RollingNumber/DefaultRollingNumberMask.d.ts.map +1 -0
  493. package/dts/numbers/RollingNumber/DefaultRollingNumberSymbol.d.ts +3 -0
  494. package/dts/numbers/RollingNumber/DefaultRollingNumberSymbol.d.ts.map +1 -0
  495. package/dts/numbers/RollingNumber/DefaultRollingNumberValueSection.d.ts +3 -0
  496. package/dts/numbers/RollingNumber/DefaultRollingNumberValueSection.d.ts.map +1 -0
  497. package/dts/numbers/RollingNumber/RollingNumber.d.ts +415 -0
  498. package/dts/numbers/RollingNumber/RollingNumber.d.ts.map +1 -0
  499. package/dts/numbers/RollingNumber/index.d.ts +7 -0
  500. package/dts/numbers/RollingNumber/index.d.ts.map +1 -0
  501. package/dts/numbers/RollingNumber/useColorPulse.d.ts +17 -0
  502. package/dts/numbers/RollingNumber/useColorPulse.d.ts.map +1 -0
  503. package/dts/numbers/index.d.ts +2 -0
  504. package/dts/numbers/index.d.ts.map +1 -0
  505. package/dts/overlays/Alert.d.ts +122 -0
  506. package/dts/overlays/Alert.d.ts.map +1 -0
  507. package/dts/overlays/FocusTrap.d.ts +42 -0
  508. package/dts/overlays/FocusTrap.d.ts.map +1 -0
  509. package/dts/overlays/FullscreenAlert.d.ts +43 -0
  510. package/dts/overlays/FullscreenAlert.d.ts.map +1 -0
  511. package/dts/overlays/Portal.d.ts +14 -0
  512. package/dts/overlays/Portal.d.ts.map +1 -0
  513. package/dts/overlays/PortalProvider.d.ts +19 -0
  514. package/dts/overlays/PortalProvider.d.ts.map +1 -0
  515. package/dts/overlays/Toast.d.ts +28 -0
  516. package/dts/overlays/Toast.d.ts.map +1 -0
  517. package/dts/overlays/__figma__/Alert.figma.d.ts +2 -0
  518. package/dts/overlays/__figma__/Alert.figma.d.ts.map +1 -0
  519. package/dts/overlays/__figma__/Toast.figma.d.ts +2 -0
  520. package/dts/overlays/__figma__/Toast.figma.d.ts.map +1 -0
  521. package/dts/overlays/index.d.ts +18 -0
  522. package/dts/overlays/index.d.ts.map +1 -0
  523. package/dts/overlays/modal/FullscreenModal.d.ts +65 -0
  524. package/dts/overlays/modal/FullscreenModal.d.ts.map +1 -0
  525. package/dts/overlays/modal/FullscreenModalHeader.d.ts +21 -0
  526. package/dts/overlays/modal/FullscreenModalHeader.d.ts.map +1 -0
  527. package/dts/overlays/modal/FullscreenModalLayout.d.ts +47 -0
  528. package/dts/overlays/modal/FullscreenModalLayout.d.ts.map +1 -0
  529. package/dts/overlays/modal/Modal.d.ts +57 -0
  530. package/dts/overlays/modal/Modal.d.ts.map +1 -0
  531. package/dts/overlays/modal/ModalBody.d.ts +7 -0
  532. package/dts/overlays/modal/ModalBody.d.ts.map +1 -0
  533. package/dts/overlays/modal/ModalFooter.d.ts +32 -0
  534. package/dts/overlays/modal/ModalFooter.d.ts.map +1 -0
  535. package/dts/overlays/modal/ModalHeader.d.ts +57 -0
  536. package/dts/overlays/modal/ModalHeader.d.ts.map +1 -0
  537. package/dts/overlays/modal/ModalWrapper.d.ts +46 -0
  538. package/dts/overlays/modal/ModalWrapper.d.ts.map +1 -0
  539. package/dts/overlays/modal/__figma__/FullscreenModal.figma.d.ts +2 -0
  540. package/dts/overlays/modal/__figma__/FullscreenModal.figma.d.ts.map +1 -0
  541. package/dts/overlays/modal/__figma__/Modal.figma.d.ts +2 -0
  542. package/dts/overlays/modal/__figma__/Modal.figma.d.ts.map +1 -0
  543. package/dts/overlays/overlay/Overlay.d.ts +6 -0
  544. package/dts/overlays/overlay/Overlay.d.ts.map +1 -0
  545. package/dts/overlays/overlay/OverlayContent.d.ts +15 -0
  546. package/dts/overlays/overlay/OverlayContent.d.ts.map +1 -0
  547. package/dts/overlays/popover/Popover.d.ts +37 -0
  548. package/dts/overlays/popover/Popover.d.ts.map +1 -0
  549. package/dts/overlays/popover/PopoverProps.d.ts +83 -0
  550. package/dts/overlays/popover/PopoverProps.d.ts.map +1 -0
  551. package/dts/overlays/popover/usePopper.d.ts +24 -0
  552. package/dts/overlays/popover/usePopper.d.ts.map +1 -0
  553. package/dts/overlays/tooltip/Tooltip.d.ts +21 -0
  554. package/dts/overlays/tooltip/Tooltip.d.ts.map +1 -0
  555. package/dts/overlays/tooltip/TooltipContent.d.ts +14 -0
  556. package/dts/overlays/tooltip/TooltipContent.d.ts.map +1 -0
  557. package/dts/overlays/tooltip/TooltipProps.d.ts +60 -0
  558. package/dts/overlays/tooltip/TooltipProps.d.ts.map +1 -0
  559. package/dts/overlays/tooltip/__figma__/Tooltip.figma.d.ts +2 -0
  560. package/dts/overlays/tooltip/__figma__/Tooltip.figma.d.ts.map +1 -0
  561. package/dts/overlays/tooltip/useTooltipState.d.ts +9 -0
  562. package/dts/overlays/tooltip/useTooltipState.d.ts.map +1 -0
  563. package/dts/overlays/tray/Tray.d.ts +145 -0
  564. package/dts/overlays/tray/Tray.d.ts.map +1 -0
  565. package/dts/overlays/useModal.d.ts +6 -0
  566. package/dts/overlays/useModal.d.ts.map +1 -0
  567. package/dts/overlays/usePortal.d.ts +3 -0
  568. package/dts/overlays/usePortal.d.ts.map +1 -0
  569. package/dts/overlays/useToast.d.ts +9 -0
  570. package/dts/overlays/useToast.d.ts.map +1 -0
  571. package/dts/page/PageFooter.d.ts +28 -0
  572. package/dts/page/PageFooter.d.ts.map +1 -0
  573. package/dts/page/PageHeader.d.ts +81 -0
  574. package/dts/page/PageHeader.d.ts.map +1 -0
  575. package/dts/page/__figma__/PageFooter.figma.d.ts +2 -0
  576. package/dts/page/__figma__/PageFooter.figma.d.ts.map +1 -0
  577. package/dts/page/__figma__/PageHeader.figma.d.ts +2 -0
  578. package/dts/page/__figma__/PageHeader.figma.d.ts.map +1 -0
  579. package/dts/pagination/DefaultPaginationEllipsis.d.ts +6 -0
  580. package/dts/pagination/DefaultPaginationEllipsis.d.ts.map +1 -0
  581. package/dts/pagination/DefaultPaginationNavigationButton.d.ts +11 -0
  582. package/dts/pagination/DefaultPaginationNavigationButton.d.ts.map +1 -0
  583. package/dts/pagination/DefaultPaginationNavigationTextButton.d.ts +15 -0
  584. package/dts/pagination/DefaultPaginationNavigationTextButton.d.ts.map +1 -0
  585. package/dts/pagination/DefaultPaginationPageButton.d.ts +5 -0
  586. package/dts/pagination/DefaultPaginationPageButton.d.ts.map +1 -0
  587. package/dts/pagination/Pagination.d.ts +101 -0
  588. package/dts/pagination/Pagination.d.ts.map +1 -0
  589. package/dts/pagination/__figma__/Pagination.figma.d.ts +2 -0
  590. package/dts/pagination/__figma__/Pagination.figma.d.ts.map +1 -0
  591. package/dts/pagination/usePagination.d.ts +49 -0
  592. package/dts/pagination/usePagination.d.ts.map +1 -0
  593. package/dts/section-header/SectionHeader.d.ts +27 -0
  594. package/dts/section-header/SectionHeader.d.ts.map +1 -0
  595. package/dts/section-header/__figma__/SectionHeader.figma.d.ts +2 -0
  596. package/dts/section-header/__figma__/SectionHeader.figma.d.ts.map +1 -0
  597. package/dts/stepper/DefaultStepperHeaderHorizontal.d.ts +3 -0
  598. package/dts/stepper/DefaultStepperHeaderHorizontal.d.ts.map +1 -0
  599. package/dts/stepper/DefaultStepperIconVertical.d.ts +3 -0
  600. package/dts/stepper/DefaultStepperIconVertical.d.ts.map +1 -0
  601. package/dts/stepper/DefaultStepperLabelHorizontal.d.ts +3 -0
  602. package/dts/stepper/DefaultStepperLabelHorizontal.d.ts.map +1 -0
  603. package/dts/stepper/DefaultStepperLabelVertical.d.ts +3 -0
  604. package/dts/stepper/DefaultStepperLabelVertical.d.ts.map +1 -0
  605. package/dts/stepper/DefaultStepperProgressHorizontal.d.ts +3 -0
  606. package/dts/stepper/DefaultStepperProgressHorizontal.d.ts.map +1 -0
  607. package/dts/stepper/DefaultStepperProgressVertical.d.ts +3 -0
  608. package/dts/stepper/DefaultStepperProgressVertical.d.ts.map +1 -0
  609. package/dts/stepper/DefaultStepperStepHorizontal.d.ts +3 -0
  610. package/dts/stepper/DefaultStepperStepHorizontal.d.ts.map +1 -0
  611. package/dts/stepper/DefaultStepperStepVertical.d.ts +3 -0
  612. package/dts/stepper/DefaultStepperStepVertical.d.ts.map +1 -0
  613. package/dts/stepper/DefaultStepperSubstepContainerHorizontal.d.ts +3 -0
  614. package/dts/stepper/DefaultStepperSubstepContainerHorizontal.d.ts.map +1 -0
  615. package/dts/stepper/DefaultStepperSubstepContainerVertical.d.ts +3 -0
  616. package/dts/stepper/DefaultStepperSubstepContainerVertical.d.ts.map +1 -0
  617. package/dts/stepper/Stepper.d.ts +259 -0
  618. package/dts/stepper/Stepper.d.ts.map +1 -0
  619. package/dts/stepper/index.d.ts +12 -0
  620. package/dts/stepper/index.d.ts.map +1 -0
  621. package/dts/styles/booleanStyles.d.ts +18 -0
  622. package/dts/styles/booleanStyles.d.ts.map +1 -0
  623. package/dts/styles/config.d.ts +133 -0
  624. package/dts/styles/config.d.ts.map +1 -0
  625. package/dts/styles/defaultFont.d.ts +2 -0
  626. package/dts/styles/defaultFont.d.ts.map +1 -0
  627. package/dts/styles/global.d.ts +2 -0
  628. package/dts/styles/global.d.ts.map +1 -0
  629. package/dts/styles/media.d.ts +33 -0
  630. package/dts/styles/media.d.ts.map +1 -0
  631. package/dts/styles/responsive/base.d.ts +178 -0
  632. package/dts/styles/responsive/base.d.ts.map +1 -0
  633. package/dts/styles/responsive/desktop.d.ts +226 -0
  634. package/dts/styles/responsive/desktop.d.ts.map +1 -0
  635. package/dts/styles/responsive/phone.d.ts +226 -0
  636. package/dts/styles/responsive/phone.d.ts.map +1 -0
  637. package/dts/styles/responsive/tablet.d.ts +226 -0
  638. package/dts/styles/responsive/tablet.d.ts.map +1 -0
  639. package/dts/styles/styleProps.d.ts +153 -0
  640. package/dts/styles/styleProps.d.ts.map +1 -0
  641. package/dts/system/BrowserOnly.d.ts +14 -0
  642. package/dts/system/BrowserOnly.d.ts.map +1 -0
  643. package/dts/system/ButtonOrLink.d.ts +17 -0
  644. package/dts/system/ButtonOrLink.d.ts.map +1 -0
  645. package/dts/system/EventHandlerProvider.d.ts +8 -0
  646. package/dts/system/EventHandlerProvider.d.ts.map +1 -0
  647. package/dts/system/FramerMotionProvider.d.ts +9 -0
  648. package/dts/system/FramerMotionProvider.d.ts.map +1 -0
  649. package/dts/system/Interactable.d.ts +112 -0
  650. package/dts/system/Interactable.d.ts.map +1 -0
  651. package/dts/system/MediaQueryProvider.d.ts +46 -0
  652. package/dts/system/MediaQueryProvider.d.ts.map +1 -0
  653. package/dts/system/Pressable.d.ts +25 -0
  654. package/dts/system/Pressable.d.ts.map +1 -0
  655. package/dts/system/PressableOpacity.d.ts +25 -0
  656. package/dts/system/PressableOpacity.d.ts.map +1 -0
  657. package/dts/system/ThemeProvider.d.ts +37 -0
  658. package/dts/system/ThemeProvider.d.ts.map +1 -0
  659. package/dts/system/index.d.ts +7 -0
  660. package/dts/system/index.d.ts.map +1 -0
  661. package/dts/system/interactableCSSProperties.d.ts +12 -0
  662. package/dts/system/interactableCSSProperties.d.ts.map +1 -0
  663. package/dts/system/reakit-utils.d.ts +26 -0
  664. package/dts/system/reakit-utils.d.ts.map +1 -0
  665. package/dts/tables/Table.d.ts +95 -0
  666. package/dts/tables/Table.d.ts.map +1 -0
  667. package/dts/tables/TableBody.d.ts +7 -0
  668. package/dts/tables/TableBody.d.ts.map +1 -0
  669. package/dts/tables/TableCaption.d.ts +81 -0
  670. package/dts/tables/TableCaption.d.ts.map +1 -0
  671. package/dts/tables/TableCell.d.ts +152 -0
  672. package/dts/tables/TableCell.d.ts.map +1 -0
  673. package/dts/tables/TableCellFallback.d.ts +33 -0
  674. package/dts/tables/TableCellFallback.d.ts.map +1 -0
  675. package/dts/tables/TableCellSortIcon.d.ts +8 -0
  676. package/dts/tables/TableCellSortIcon.d.ts.map +1 -0
  677. package/dts/tables/TableFooter.d.ts +7 -0
  678. package/dts/tables/TableFooter.d.ts.map +1 -0
  679. package/dts/tables/TableHeader.d.ts +20 -0
  680. package/dts/tables/TableHeader.d.ts.map +1 -0
  681. package/dts/tables/TableRow.d.ts +67 -0
  682. package/dts/tables/TableRow.d.ts.map +1 -0
  683. package/dts/tables/TableSection.d.ts +22 -0
  684. package/dts/tables/TableSection.d.ts.map +1 -0
  685. package/dts/tables/__figma__/TableCell.figma.d.ts +2 -0
  686. package/dts/tables/__figma__/TableCell.figma.d.ts.map +1 -0
  687. package/dts/tables/context/TableContext.d.ts +4 -0
  688. package/dts/tables/context/TableContext.d.ts.map +1 -0
  689. package/dts/tables/context/TableSectionContext.d.ts +6 -0
  690. package/dts/tables/context/TableSectionContext.d.ts.map +1 -0
  691. package/dts/tables/hooks/useSortableCell.d.ts +17 -0
  692. package/dts/tables/hooks/useSortableCell.d.ts.map +1 -0
  693. package/dts/tables/hooks/useTable.d.ts +27 -0
  694. package/dts/tables/hooks/useTable.d.ts.map +1 -0
  695. package/dts/tables/hooks/useTableRowListener.d.ts +4 -0
  696. package/dts/tables/hooks/useTableRowListener.d.ts.map +1 -0
  697. package/dts/tables/hooks/useTableVariant.d.ts +2 -0
  698. package/dts/tables/hooks/useTableVariant.d.ts.map +1 -0
  699. package/dts/tables/index.d.ts +9 -0
  700. package/dts/tables/index.d.ts.map +1 -0
  701. package/dts/tabs/Paddle.d.ts +33 -0
  702. package/dts/tabs/Paddle.d.ts.map +1 -0
  703. package/dts/tabs/SegmentedTab.d.ts +52 -0
  704. package/dts/tabs/SegmentedTab.d.ts.map +1 -0
  705. package/dts/tabs/SegmentedTabs.d.ts +14 -0
  706. package/dts/tabs/SegmentedTabs.d.ts.map +1 -0
  707. package/dts/tabs/SegmentedTabsActiveIndicator.d.ts +7 -0
  708. package/dts/tabs/SegmentedTabsActiveIndicator.d.ts.map +1 -0
  709. package/dts/tabs/TabIndicator.d.ts +28 -0
  710. package/dts/tabs/TabIndicator.d.ts.map +1 -0
  711. package/dts/tabs/TabLabel.d.ts +31 -0
  712. package/dts/tabs/TabLabel.d.ts.map +1 -0
  713. package/dts/tabs/TabNavigation.d.ts +86 -0
  714. package/dts/tabs/TabNavigation.d.ts.map +1 -0
  715. package/dts/tabs/Tabs.d.ts +46 -0
  716. package/dts/tabs/Tabs.d.ts.map +1 -0
  717. package/dts/tabs/__figma__/SegmentedTabs.figma.d.ts +2 -0
  718. package/dts/tabs/__figma__/SegmentedTabs.figma.d.ts.map +1 -0
  719. package/dts/tabs/__figma__/TabNavigation.figma.d.ts +2 -0
  720. package/dts/tabs/__figma__/TabNavigation.figma.d.ts.map +1 -0
  721. package/dts/tabs/hooks/useAnimateTabIndicator.d.ts +11160 -0
  722. package/dts/tabs/hooks/useAnimateTabIndicator.d.ts.map +1 -0
  723. package/dts/tabs/index.d.ts +8 -0
  724. package/dts/tabs/index.d.ts.map +1 -0
  725. package/dts/tag/Tag.d.ts +37 -0
  726. package/dts/tag/Tag.d.ts.map +1 -0
  727. package/dts/tag/__figma__/Tag.figma.d.ts +2 -0
  728. package/dts/tag/__figma__/Tag.figma.d.ts.map +1 -0
  729. package/dts/themes/coinbaseDenseTheme.d.ts +540 -0
  730. package/dts/themes/coinbaseDenseTheme.d.ts.map +1 -0
  731. package/dts/themes/coinbaseHighContrastTheme.d.ts +539 -0
  732. package/dts/themes/coinbaseHighContrastTheme.d.ts.map +1 -0
  733. package/dts/themes/coinbaseTheme.d.ts +539 -0
  734. package/dts/themes/coinbaseTheme.d.ts.map +1 -0
  735. package/dts/themes/defaultHighContrastTheme.d.ts +539 -0
  736. package/dts/themes/defaultHighContrastTheme.d.ts.map +1 -0
  737. package/dts/themes/defaultTheme.d.ts +539 -0
  738. package/dts/themes/defaultTheme.d.ts.map +1 -0
  739. package/dts/tour/DefaultTourMask.d.ts +10 -0
  740. package/dts/tour/DefaultTourMask.d.ts.map +1 -0
  741. package/dts/tour/DefaultTourStepArrow.d.ts +6 -0
  742. package/dts/tour/DefaultTourStepArrow.d.ts.map +1 -0
  743. package/dts/tour/Tour.d.ts +85 -0
  744. package/dts/tour/Tour.d.ts.map +1 -0
  745. package/dts/tour/TourStep.d.ts +17 -0
  746. package/dts/tour/TourStep.d.ts.map +1 -0
  747. package/dts/tour/index.d.ts +5 -0
  748. package/dts/tour/index.d.ts.map +1 -0
  749. package/dts/types.d.ts +5 -0
  750. package/dts/types.d.ts.map +1 -0
  751. package/dts/typography/Link.d.ts +37 -0
  752. package/dts/typography/Link.d.ts.map +1 -0
  753. package/dts/typography/Text.d.ts +60 -0
  754. package/dts/typography/Text.d.ts.map +1 -0
  755. package/dts/typography/TextBody.d.ts +17 -0
  756. package/dts/typography/TextBody.d.ts.map +1 -0
  757. package/dts/typography/TextCaption.d.ts +17 -0
  758. package/dts/typography/TextCaption.d.ts.map +1 -0
  759. package/dts/typography/TextDisplay1.d.ts +17 -0
  760. package/dts/typography/TextDisplay1.d.ts.map +1 -0
  761. package/dts/typography/TextDisplay2.d.ts +17 -0
  762. package/dts/typography/TextDisplay2.d.ts.map +1 -0
  763. package/dts/typography/TextDisplay3.d.ts +17 -0
  764. package/dts/typography/TextDisplay3.d.ts.map +1 -0
  765. package/dts/typography/TextHeadline.d.ts +17 -0
  766. package/dts/typography/TextHeadline.d.ts.map +1 -0
  767. package/dts/typography/TextInherited.d.ts +17 -0
  768. package/dts/typography/TextInherited.d.ts.map +1 -0
  769. package/dts/typography/TextLabel1.d.ts +17 -0
  770. package/dts/typography/TextLabel1.d.ts.map +1 -0
  771. package/dts/typography/TextLabel2.d.ts +17 -0
  772. package/dts/typography/TextLabel2.d.ts.map +1 -0
  773. package/dts/typography/TextLegal.d.ts +17 -0
  774. package/dts/typography/TextLegal.d.ts.map +1 -0
  775. package/dts/typography/TextTitle1.d.ts +17 -0
  776. package/dts/typography/TextTitle1.d.ts.map +1 -0
  777. package/dts/typography/TextTitle2.d.ts +17 -0
  778. package/dts/typography/TextTitle2.d.ts.map +1 -0
  779. package/dts/typography/TextTitle3.d.ts +17 -0
  780. package/dts/typography/TextTitle3.d.ts.map +1 -0
  781. package/dts/typography/TextTitle4.d.ts +17 -0
  782. package/dts/typography/TextTitle4.d.ts.map +1 -0
  783. package/dts/typography/__figma__/Link.figma.d.ts +2 -0
  784. package/dts/typography/__figma__/Link.figma.d.ts.map +1 -0
  785. package/dts/typography/index.d.ts +17 -0
  786. package/dts/typography/index.d.ts.map +1 -0
  787. package/dts/utils/browser.d.ts +21 -0
  788. package/dts/utils/browser.d.ts.map +1 -0
  789. package/dts/utils/eventHandlers.d.ts +2 -0
  790. package/dts/utils/eventHandlers.d.ts.map +1 -0
  791. package/dts/utils/flattenAndJoinNodes.d.ts +24 -0
  792. package/dts/utils/flattenAndJoinNodes.d.ts.map +1 -0
  793. package/dts/utils/isRtl.d.ts +2 -0
  794. package/dts/utils/isRtl.d.ts.map +1 -0
  795. package/dts/utils/mediaQueryListener.d.ts +11 -0
  796. package/dts/utils/mediaQueryListener.d.ts.map +1 -0
  797. package/dts/utils/storybook.d.ts +6 -0
  798. package/dts/utils/storybook.d.ts.map +1 -0
  799. package/dts/utils/test.d.ts +20 -0
  800. package/dts/utils/test.d.ts.map +1 -0
  801. package/dts/visualizations/Counter.d.ts +18 -0
  802. package/dts/visualizations/Counter.d.ts.map +1 -0
  803. package/dts/visualizations/DefaultProgressCircleContent.d.ts +10 -0
  804. package/dts/visualizations/DefaultProgressCircleContent.d.ts.map +1 -0
  805. package/dts/visualizations/ProgressBar.d.ts +136 -0
  806. package/dts/visualizations/ProgressBar.d.ts.map +1 -0
  807. package/dts/visualizations/ProgressBarWithFixedLabels.d.ts +89 -0
  808. package/dts/visualizations/ProgressBarWithFixedLabels.d.ts.map +1 -0
  809. package/dts/visualizations/ProgressBarWithFloatLabel.d.ts +66 -0
  810. package/dts/visualizations/ProgressBarWithFloatLabel.d.ts.map +1 -0
  811. package/dts/visualizations/ProgressCircle.d.ts +171 -0
  812. package/dts/visualizations/ProgressCircle.d.ts.map +1 -0
  813. package/dts/visualizations/ProgressContainerWithButtons.d.ts +6 -0
  814. package/dts/visualizations/ProgressContainerWithButtons.d.ts.map +1 -0
  815. package/dts/visualizations/ProgressTextLabel.d.ts +27 -0
  816. package/dts/visualizations/ProgressTextLabel.d.ts.map +1 -0
  817. package/dts/visualizations/VisualizationContainer.d.ts +16 -0
  818. package/dts/visualizations/VisualizationContainer.d.ts.map +1 -0
  819. package/dts/visualizations/__figma__/ProgressBar.figma.d.ts +2 -0
  820. package/dts/visualizations/__figma__/ProgressBar.figma.d.ts.map +1 -0
  821. package/dts/visualizations/__figma__/ProgressCircle.figma.d.ts +2 -0
  822. package/dts/visualizations/__figma__/ProgressCircle.figma.d.ts.map +1 -0
  823. package/dts/visualizations/getProgressBarLabelParts.d.ts +16 -0
  824. package/dts/visualizations/getProgressBarLabelParts.d.ts.map +1 -0
  825. package/dts/visualizations/index.d.ts +8 -0
  826. package/dts/visualizations/index.d.ts.map +1 -0
  827. package/esm/AccessibilityAnnouncer/AccessibilityAnnouncer.css +1 -0
  828. package/esm/AccessibilityAnnouncer/AccessibilityAnnouncer.js +46 -0
  829. package/esm/accordion/Accordion.js +35 -0
  830. package/esm/accordion/AccordionHeader.css +3 -0
  831. package/esm/accordion/AccordionHeader.js +125 -0
  832. package/esm/accordion/AccordionItem.js +53 -0
  833. package/esm/accordion/AccordionPanel.js +36 -0
  834. package/esm/accordion/__figma__/Accordion.figma.js +47 -0
  835. package/esm/accordion/index.js +2 -0
  836. package/esm/accordion/utils.js +2 -0
  837. package/esm/animation/Lottie.css +1 -0
  838. package/esm/animation/Lottie.js +83 -0
  839. package/esm/animation/LottieStatusAnimation.js +41 -0
  840. package/esm/animation/NewAnimatePresence.js +5 -0
  841. package/esm/animation/convertMotionConfig.js +35 -0
  842. package/esm/animation/index.js +2 -0
  843. package/esm/animation/types.js +1 -0
  844. package/esm/animation/useLottieHandlers.js +15 -0
  845. package/esm/animation/useLottieListeners.js +24 -0
  846. package/esm/animation/useLottieLoader.js +94 -0
  847. package/esm/banner/Banner.css +1 -0
  848. package/esm/banner/Banner.js +226 -0
  849. package/esm/buttons/AvatarButton.css +1 -0
  850. package/esm/buttons/AvatarButton.js +55 -0
  851. package/esm/buttons/Button.css +13 -0
  852. package/esm/buttons/Button.js +136 -0
  853. package/esm/buttons/ButtonGroup.css +3 -0
  854. package/esm/buttons/ButtonGroup.js +34 -0
  855. package/esm/buttons/IconButton.css +4 -0
  856. package/esm/buttons/IconButton.js +94 -0
  857. package/esm/buttons/IconCounterButton.js +50 -0
  858. package/esm/buttons/Tile.css +2 -0
  859. package/esm/buttons/Tile.js +56 -0
  860. package/esm/buttons/TileButton.js +58 -0
  861. package/esm/buttons/__figma__/AvatarButton.figma.js +30 -0
  862. package/esm/buttons/__figma__/Button.figma.js +63 -0
  863. package/esm/buttons/__figma__/ButtonGroup.figma.js +54 -0
  864. package/esm/buttons/__figma__/IconButton.figma.js +35 -0
  865. package/esm/buttons/__figma__/TileButton.figma.js +29 -0
  866. package/esm/buttons/index.js +6 -0
  867. package/esm/cards/AnnouncementCard.js +45 -0
  868. package/esm/cards/Card.js +97 -0
  869. package/esm/cards/CardBody.js +162 -0
  870. package/esm/cards/CardFooter.js +28 -0
  871. package/esm/cards/CardGroup.js +30 -0
  872. package/esm/cards/CardHeader.js +43 -0
  873. package/esm/cards/CardMedia.js +55 -0
  874. package/esm/cards/CardRemoteImage.js +26 -0
  875. package/esm/cards/ContainedAssetCard.css +2 -0
  876. package/esm/cards/ContainedAssetCard.js +96 -0
  877. package/esm/cards/ContentCard/ContentCard.js +38 -0
  878. package/esm/cards/ContentCard/ContentCardBody.js +59 -0
  879. package/esm/cards/ContentCard/ContentCardFooter.js +29 -0
  880. package/esm/cards/ContentCard/ContentCardHeader.js +57 -0
  881. package/esm/cards/ContentCard/__figma__/ContentCard.figma.js +37 -0
  882. package/esm/cards/ContentCard/__figma__/ContentCardBody.figma.js +55 -0
  883. package/esm/cards/ContentCard/__figma__/ContentCardFooter.figma.js +150 -0
  884. package/esm/cards/ContentCard/__figma__/ContentCardHeader.figma.js +29 -0
  885. package/esm/cards/ContentCard/index.js +4 -0
  886. package/esm/cards/DataCard.js +72 -0
  887. package/esm/cards/FeatureEntryCard.js +42 -0
  888. package/esm/cards/FeedCard.js +104 -0
  889. package/esm/cards/FloatingAssetCard.css +2 -0
  890. package/esm/cards/FloatingAssetCard.js +76 -0
  891. package/esm/cards/LikeButton.js +62 -0
  892. package/esm/cards/NudgeCard.css +2 -0
  893. package/esm/cards/NudgeCard.js +162 -0
  894. package/esm/cards/UpsellCard.js +99 -0
  895. package/esm/cards/__figma__/AnnouncementCard.figma.js +19 -0
  896. package/esm/cards/__figma__/ContainedAssetCard.figma.js +45 -0
  897. package/esm/cards/__figma__/FloatingAssetCard.figma.js +36 -0
  898. package/esm/cards/__figma__/NudgeCard.figma.js +60 -0
  899. package/esm/cards/__figma__/UpsellCard.figma.js +57 -0
  900. package/esm/cards/index.js +17 -0
  901. package/esm/carousel/Carousel.css +1 -0
  902. package/esm/carousel/Carousel.js +424 -0
  903. package/esm/carousel/CarouselItem.js +52 -0
  904. package/esm/carousel/DefaultCarouselNavigation.css +1 -0
  905. package/esm/carousel/DefaultCarouselNavigation.js +60 -0
  906. package/esm/carousel/DefaultCarouselPagination.css +2 -0
  907. package/esm/carousel/DefaultCarouselPagination.js +119 -0
  908. package/esm/carousel/index.js +4 -0
  909. package/esm/cells/Cell.css +4 -0
  910. package/esm/cells/Cell.js +201 -0
  911. package/esm/cells/CellAccessory.js +50 -0
  912. package/esm/cells/CellDetail.js +34 -0
  913. package/esm/cells/CellHelperText.js +40 -0
  914. package/esm/cells/CellMedia.js +54 -0
  915. package/esm/cells/ContentCell.css +2 -0
  916. package/esm/cells/ContentCell.js +111 -0
  917. package/esm/cells/ContentCellFallback.js +69 -0
  918. package/esm/cells/ListCell.css +1 -0
  919. package/esm/cells/ListCell.js +102 -0
  920. package/esm/cells/ListCellFallback.js +127 -0
  921. package/esm/cells/MediaFallback.js +24 -0
  922. package/esm/cells/__figma__/ContentCell.figma.js +40 -0
  923. package/esm/cells/__figma__/ListCell.figma.js +79 -0
  924. package/esm/cells/index.js +6 -0
  925. package/esm/chips/Chip.css +2 -0
  926. package/esm/chips/Chip.js +79 -0
  927. package/esm/chips/ChipProps.js +1 -0
  928. package/esm/chips/InputChip.js +33 -0
  929. package/esm/chips/SelectChip.js +94 -0
  930. package/esm/chips/TabbedChips.css +1 -0
  931. package/esm/chips/TabbedChips.js +156 -0
  932. package/esm/chips/__figma__/InputChip.figma.js +29 -0
  933. package/esm/chips/__figma__/SelectChip.figma.js +47 -0
  934. package/esm/chips/__figma__/TabbedChips.figma.js +55 -0
  935. package/esm/chips/index.js +5 -0
  936. package/esm/coachmark/Coachmark.js +73 -0
  937. package/esm/coachmark/__figma__/Coachmark.figma.js +49 -0
  938. package/esm/collapsible/Collapsible.js +99 -0
  939. package/esm/collapsible/index.js +1 -0
  940. package/esm/collapsible/useCollapsibleMotionProps.js +34 -0
  941. package/esm/controls/Checkbox.css +1 -0
  942. package/esm/controls/Checkbox.js +84 -0
  943. package/esm/controls/CheckboxCell.css +1 -0
  944. package/esm/controls/CheckboxCell.js +120 -0
  945. package/esm/controls/CheckboxGroup.css +1 -0
  946. package/esm/controls/CheckboxGroup.js +112 -0
  947. package/esm/controls/Control.css +3 -0
  948. package/esm/controls/Control.js +118 -0
  949. package/esm/controls/ControlGroup.css +1 -0
  950. package/esm/controls/ControlGroup.js +72 -0
  951. package/esm/controls/HelperText.css +1 -0
  952. package/esm/controls/HelperText.js +49 -0
  953. package/esm/controls/InputIcon.js +41 -0
  954. package/esm/controls/InputIconButton.js +41 -0
  955. package/esm/controls/InputLabel.js +26 -0
  956. package/esm/controls/InputStack.css +3 -0
  957. package/esm/controls/InputStack.js +137 -0
  958. package/esm/controls/NativeInput.css +3 -0
  959. package/esm/controls/NativeInput.js +56 -0
  960. package/esm/controls/NativeTextArea.css +2 -0
  961. package/esm/controls/NativeTextArea.js +46 -0
  962. package/esm/controls/Radio.css +1 -0
  963. package/esm/controls/Radio.js +84 -0
  964. package/esm/controls/RadioCell.css +1 -0
  965. package/esm/controls/RadioCell.js +118 -0
  966. package/esm/controls/RadioGroup.js +85 -0
  967. package/esm/controls/SearchInput.css +2 -0
  968. package/esm/controls/SearchInput.js +90 -0
  969. package/esm/controls/SegmentedControl.css +6 -0
  970. package/esm/controls/SegmentedControl.js +109 -0
  971. package/esm/controls/Select.js +94 -0
  972. package/esm/controls/SelectOption.css +5 -0
  973. package/esm/controls/SelectOption.js +106 -0
  974. package/esm/controls/SelectStack.js +64 -0
  975. package/esm/controls/SelectTrigger.css +1 -0
  976. package/esm/controls/SelectTrigger.js +133 -0
  977. package/esm/controls/Switch.css +2 -0
  978. package/esm/controls/Switch.js +88 -0
  979. package/esm/controls/TextInput.css +3 -0
  980. package/esm/controls/TextInput.js +206 -0
  981. package/esm/controls/__figma__/Checkbox.figma.js +32 -0
  982. package/esm/controls/__figma__/CheckboxCell.figma.js +43 -0
  983. package/esm/controls/__figma__/CheckboxGroup.figma.js +27 -0
  984. package/esm/controls/__figma__/NativeTextArea.figma.js +30 -0
  985. package/esm/controls/__figma__/RadioCell.figma.js +43 -0
  986. package/esm/controls/__figma__/RadioGroup.figma.js +47 -0
  987. package/esm/controls/__figma__/SearchInput.figma.js +44 -0
  988. package/esm/controls/__figma__/Select.figma.js +47 -0
  989. package/esm/controls/__figma__/SelectOption.figma.js +38 -0
  990. package/esm/controls/__figma__/Switch.figma.js +20 -0
  991. package/esm/controls/__figma__/TextInput.figma.js +130 -0
  992. package/esm/controls/context.js +3 -0
  993. package/esm/controls/index.js +15 -0
  994. package/esm/controls/selectContext.js +9 -0
  995. package/esm/controls/useHandleRadioSelect.js +6 -0
  996. package/esm/controls/useRefocusTrigger.js +19 -0
  997. package/esm/controls/useSelectionCellControlHeight.js +35 -0
  998. package/esm/core/createThemeCssVars.js +33 -0
  999. package/esm/core/polymorphism.js +6 -0
  1000. package/esm/core/theme.js +26 -0
  1001. package/esm/cx.js +49 -0
  1002. package/esm/dates/Calendar.css +1 -0
  1003. package/esm/dates/Calendar.js +271 -0
  1004. package/esm/dates/DateInput.js +108 -0
  1005. package/esm/dates/DatePicker.js +188 -0
  1006. package/esm/dates/__figma__/DatePicker.figma.js +46 -0
  1007. package/esm/defaultFontStyles.js +1 -0
  1008. package/esm/dots/DotCount.css +2 -0
  1009. package/esm/dots/DotCount.js +84 -0
  1010. package/esm/dots/DotStatusColor.css +1 -0
  1011. package/esm/dots/DotStatusColor.js +60 -0
  1012. package/esm/dots/DotSymbol.css +3 -0
  1013. package/esm/dots/DotSymbol.js +86 -0
  1014. package/esm/dots/__figma__/DotCount.figma.js +19 -0
  1015. package/esm/dots/__figma__/DotStatusColor.figma.js +27 -0
  1016. package/esm/dots/__figma__/DotSymbol.figma.js +49 -0
  1017. package/esm/dots/dotStyles.js +31 -0
  1018. package/esm/dots/index.js +3 -0
  1019. package/esm/dropdown/Dropdown.js +213 -0
  1020. package/esm/dropdown/DropdownContent.js +51 -0
  1021. package/esm/dropdown/DropdownProps.js +1 -0
  1022. package/esm/dropdown/MenuItem.css +1 -0
  1023. package/esm/dropdown/MenuItem.js +51 -0
  1024. package/esm/dropdown/__figma__/Dropdown.figma.js +20 -0
  1025. package/esm/dropdown/index.js +3 -0
  1026. package/esm/dropdown/useResponsiveHeight.js +74 -0
  1027. package/esm/globalStyles.js +1 -0
  1028. package/esm/hooks/useA11yControlledVisibility.js +27 -0
  1029. package/esm/hooks/useA11yLabels.js +51 -0
  1030. package/esm/hooks/useBreakpoints.js +79 -0
  1031. package/esm/hooks/useCellSpacing.js +31 -0
  1032. package/esm/hooks/useCheckboxGroupState.js +43 -0
  1033. package/esm/hooks/useDimensions.js +169 -0
  1034. package/esm/hooks/useEventHandler.js +6 -0
  1035. package/esm/hooks/useHasMounted.js +8 -0
  1036. package/esm/hooks/useIsBrowser.js +8 -0
  1037. package/esm/hooks/useIsoEffect.js +3 -0
  1038. package/esm/hooks/useMediaQuery.js +20 -0
  1039. package/esm/hooks/useScrollBlocker.js +32 -0
  1040. package/esm/hooks/useTheme.js +9 -0
  1041. package/esm/hooks/useThemeContext.js +13 -0
  1042. package/esm/icons/Icon.css +5 -0
  1043. package/esm/icons/Icon.js +83 -0
  1044. package/esm/icons/LogoMark.css +2 -0
  1045. package/esm/icons/LogoMark.js +43 -0
  1046. package/esm/icons/LogoWordmark.css +2 -0
  1047. package/esm/icons/LogoWordmark.js +39 -0
  1048. package/esm/icons/SubBrandLogoMark.css +2 -0
  1049. package/esm/icons/SubBrandLogoMark.js +49 -0
  1050. package/esm/icons/SubBrandLogoWordmark.css +2 -0
  1051. package/esm/icons/SubBrandLogoWordmark.js +52 -0
  1052. package/esm/icons/__figma__/Icon.figma.js +3000 -0
  1053. package/esm/icons/__figma__/LogoMark.figma.js +23 -0
  1054. package/esm/icons/__figma__/LogoWordmark.figma.js +35 -0
  1055. package/esm/icons/__figma__/SubBrandLogoMark.figma.js +51 -0
  1056. package/esm/icons/__figma__/SubBrandLogoWordmark.figma.js +52 -0
  1057. package/esm/icons/index.js +5 -0
  1058. package/esm/illustrations/HeroSquare.js +3 -0
  1059. package/esm/illustrations/Pictogram.js +3 -0
  1060. package/esm/illustrations/SpotIcon.js +3 -0
  1061. package/esm/illustrations/SpotRectangle.js +3 -0
  1062. package/esm/illustrations/SpotSquare.js +3 -0
  1063. package/esm/illustrations/__figma__/HeroSquare.figma.js +2103 -0
  1064. package/esm/illustrations/__figma__/Pictogram.figma.js +1773 -0
  1065. package/esm/illustrations/__figma__/SpotIcon.figma.js +339 -0
  1066. package/esm/illustrations/__figma__/SpotRectangle.figma.js +1101 -0
  1067. package/esm/illustrations/__figma__/SpotSquare.figma.js +1191 -0
  1068. package/esm/illustrations/createIllustration.js +53 -0
  1069. package/esm/illustrations/index.js +5 -0
  1070. package/esm/index.js +6 -0
  1071. package/esm/layout/Box.js +239 -0
  1072. package/esm/layout/Divider.css +2 -0
  1073. package/esm/layout/Divider.js +39 -0
  1074. package/esm/layout/Fallback.css +1 -0
  1075. package/esm/layout/Fallback.js +83 -0
  1076. package/esm/layout/Grid.js +40 -0
  1077. package/esm/layout/GridColumn.js +32 -0
  1078. package/esm/layout/Group.js +68 -0
  1079. package/esm/layout/HStack.js +26 -0
  1080. package/esm/layout/Spacer.js +45 -0
  1081. package/esm/layout/VStack.js +26 -0
  1082. package/esm/layout/__figma__/Divider.figma.js +31 -0
  1083. package/esm/layout/__figma__/Fallback.figma.js +25 -0
  1084. package/esm/layout/index.js +9 -0
  1085. package/esm/loaders/CircularProgress.js +51 -0
  1086. package/esm/loaders/MaterialSpinner.css +1 -0
  1087. package/esm/loaders/MaterialSpinner.js +68 -0
  1088. package/esm/loaders/Spinner.css +2 -0
  1089. package/esm/loaders/Spinner.js +45 -0
  1090. package/esm/loaders/index.js +1 -0
  1091. package/esm/media/Avatar.css +5 -0
  1092. package/esm/media/Avatar.js +130 -0
  1093. package/esm/media/Hexagon.css +1 -0
  1094. package/esm/media/Hexagon.js +158 -0
  1095. package/esm/media/RemoteImage.css +10 -0
  1096. package/esm/media/RemoteImage.js +63 -0
  1097. package/esm/media/RemoteImageGroup.css +5 -0
  1098. package/esm/media/RemoteImageGroup.js +93 -0
  1099. package/esm/media/__figma__/Avatar.figma.js +61 -0
  1100. package/esm/media/index.js +3 -0
  1101. package/esm/motion/AnimatedCaret.js +72 -0
  1102. package/esm/motion/ColorSurge.js +46 -0
  1103. package/esm/motion/Pulse.js +60 -0
  1104. package/esm/motion/Shake.js +31 -0
  1105. package/esm/motion/types.js +1 -0
  1106. package/esm/motion/useMotionProps.js +46 -0
  1107. package/esm/motion/utils.js +80 -0
  1108. package/esm/multi-content-module/MultiContentModule.js +81 -0
  1109. package/esm/multi-content-module/__figma__/MultiContentModule.figma.js +39 -0
  1110. package/esm/navigation/NavLink.css +1 -0
  1111. package/esm/navigation/NavLink.js +29 -0
  1112. package/esm/navigation/NavigationBar.js +73 -0
  1113. package/esm/navigation/NavigationTitle.js +24 -0
  1114. package/esm/navigation/NavigationTitleSelect.js +81 -0
  1115. package/esm/navigation/Sidebar.css +3 -0
  1116. package/esm/navigation/Sidebar.js +122 -0
  1117. package/esm/navigation/SidebarContext.js +10 -0
  1118. package/esm/navigation/SidebarItem.css +1 -0
  1119. package/esm/navigation/SidebarItem.js +87 -0
  1120. package/esm/navigation/SidebarMoreMenu.js +85 -0
  1121. package/esm/navigation/__figma__/NavLink.figma.js +58 -0
  1122. package/esm/navigation/__figma__/NavigationBar.figma.js +284 -0
  1123. package/esm/navigation/__figma__/NavigationTitle.figma.js +18 -0
  1124. package/esm/navigation/__figma__/Sidebar.figma.js +40 -0
  1125. package/esm/navigation/__figma__/SidebarItem.figma.js +25 -0
  1126. package/esm/navigation/index.js +7 -0
  1127. package/esm/numbers/RollingNumber/DefaultRollingNumberAffixSection.css +1 -0
  1128. package/esm/numbers/RollingNumber/DefaultRollingNumberAffixSection.js +37 -0
  1129. package/esm/numbers/RollingNumber/DefaultRollingNumberDigit.css +5 -0
  1130. package/esm/numbers/RollingNumber/DefaultRollingNumberDigit.js +83 -0
  1131. package/esm/numbers/RollingNumber/DefaultRollingNumberMask.css +1 -0
  1132. package/esm/numbers/RollingNumber/DefaultRollingNumberMask.js +31 -0
  1133. package/esm/numbers/RollingNumber/DefaultRollingNumberSymbol.css +1 -0
  1134. package/esm/numbers/RollingNumber/DefaultRollingNumberSymbol.js +35 -0
  1135. package/esm/numbers/RollingNumber/DefaultRollingNumberValueSection.css +1 -0
  1136. package/esm/numbers/RollingNumber/DefaultRollingNumberValueSection.js +90 -0
  1137. package/esm/numbers/RollingNumber/RollingNumber.css +3 -0
  1138. package/esm/numbers/RollingNumber/RollingNumber.js +261 -0
  1139. package/esm/numbers/RollingNumber/index.js +6 -0
  1140. package/esm/numbers/RollingNumber/useColorPulse.js +35 -0
  1141. package/esm/numbers/index.js +1 -0
  1142. package/esm/overlays/Alert.js +146 -0
  1143. package/esm/overlays/FocusTrap.js +201 -0
  1144. package/esm/overlays/FullscreenAlert.css +3 -0
  1145. package/esm/overlays/FullscreenAlert.js +96 -0
  1146. package/esm/overlays/Portal.js +24 -0
  1147. package/esm/overlays/PortalProvider.js +109 -0
  1148. package/esm/overlays/Toast.css +2 -0
  1149. package/esm/overlays/Toast.js +135 -0
  1150. package/esm/overlays/__figma__/Alert.figma.js +37 -0
  1151. package/esm/overlays/__figma__/Toast.figma.js +51 -0
  1152. package/esm/overlays/index.js +17 -0
  1153. package/esm/overlays/modal/FullscreenModal.css +5 -0
  1154. package/esm/overlays/modal/FullscreenModal.js +103 -0
  1155. package/esm/overlays/modal/FullscreenModalHeader.css +2 -0
  1156. package/esm/overlays/modal/FullscreenModalHeader.js +74 -0
  1157. package/esm/overlays/modal/FullscreenModalLayout.css +1 -0
  1158. package/esm/overlays/modal/FullscreenModalLayout.js +74 -0
  1159. package/esm/overlays/modal/Modal.css +3 -0
  1160. package/esm/overlays/modal/Modal.js +134 -0
  1161. package/esm/overlays/modal/ModalBody.js +38 -0
  1162. package/esm/overlays/modal/ModalFooter.css +1 -0
  1163. package/esm/overlays/modal/ModalFooter.js +46 -0
  1164. package/esm/overlays/modal/ModalHeader.js +83 -0
  1165. package/esm/overlays/modal/ModalWrapper.css +1 -0
  1166. package/esm/overlays/modal/ModalWrapper.js +77 -0
  1167. package/esm/overlays/modal/__figma__/FullscreenModal.figma.css +1 -0
  1168. package/esm/overlays/modal/__figma__/FullscreenModal.figma.js +104 -0
  1169. package/esm/overlays/modal/__figma__/Modal.figma.js +81 -0
  1170. package/esm/overlays/overlay/Overlay.js +21 -0
  1171. package/esm/overlays/overlay/OverlayContent.js +38 -0
  1172. package/esm/overlays/popover/Popover.css +2 -0
  1173. package/esm/overlays/popover/Popover.js +147 -0
  1174. package/esm/overlays/popover/PopoverProps.js +1 -0
  1175. package/esm/overlays/popover/usePopper.js +40 -0
  1176. package/esm/overlays/tooltip/Tooltip.js +87 -0
  1177. package/esm/overlays/tooltip/TooltipContent.css +1 -0
  1178. package/esm/overlays/tooltip/TooltipContent.js +65 -0
  1179. package/esm/overlays/tooltip/TooltipProps.js +1 -0
  1180. package/esm/overlays/tooltip/__figma__/Tooltip.figma.js +91 -0
  1181. package/esm/overlays/tooltip/useTooltipState.js +27 -0
  1182. package/esm/overlays/tray/Tray.js +208 -0
  1183. package/esm/overlays/useModal.js +6 -0
  1184. package/esm/overlays/usePortal.js +2 -0
  1185. package/esm/overlays/useToast.js +44 -0
  1186. package/esm/page/PageFooter.js +43 -0
  1187. package/esm/page/PageHeader.css +2 -0
  1188. package/esm/page/PageHeader.js +131 -0
  1189. package/esm/page/__figma__/PageFooter.figma.js +17 -0
  1190. package/esm/page/__figma__/PageHeader.figma.js +57 -0
  1191. package/esm/pagination/DefaultPaginationEllipsis.js +16 -0
  1192. package/esm/pagination/DefaultPaginationNavigationButton.js +30 -0
  1193. package/esm/pagination/DefaultPaginationNavigationTextButton.js +35 -0
  1194. package/esm/pagination/DefaultPaginationPageButton.css +1 -0
  1195. package/esm/pagination/DefaultPaginationPageButton.js +41 -0
  1196. package/esm/pagination/Pagination.js +141 -0
  1197. package/esm/pagination/__figma__/Pagination.figma.js +22 -0
  1198. package/esm/pagination/usePagination.js +122 -0
  1199. package/esm/section-header/SectionHeader.js +70 -0
  1200. package/esm/section-header/__figma__/SectionHeader.figma.js +58 -0
  1201. package/esm/stepper/DefaultStepperHeaderHorizontal.js +87 -0
  1202. package/esm/stepper/DefaultStepperIconVertical.js +51 -0
  1203. package/esm/stepper/DefaultStepperLabelHorizontal.js +114 -0
  1204. package/esm/stepper/DefaultStepperLabelVertical.js +72 -0
  1205. package/esm/stepper/DefaultStepperProgressHorizontal.js +65 -0
  1206. package/esm/stepper/DefaultStepperProgressVertical.js +111 -0
  1207. package/esm/stepper/DefaultStepperStepHorizontal.js +173 -0
  1208. package/esm/stepper/DefaultStepperStepVertical.js +179 -0
  1209. package/esm/stepper/DefaultStepperSubstepContainerHorizontal.js +37 -0
  1210. package/esm/stepper/DefaultStepperSubstepContainerVertical.js +35 -0
  1211. package/esm/stepper/Stepper.js +238 -0
  1212. package/esm/stepper/index.js +13 -0
  1213. package/esm/styles/booleanStyles.css +12 -0
  1214. package/esm/styles/booleanStyles.js +25 -0
  1215. package/esm/styles/config.js +47 -0
  1216. package/esm/styles/defaultFont.css +1 -0
  1217. package/esm/styles/defaultFont.js +3 -0
  1218. package/esm/styles/global.css +1 -0
  1219. package/esm/styles/global.js +3 -0
  1220. package/esm/styles/media.js +21 -0
  1221. package/esm/styles/responsive/base.css +659 -0
  1222. package/esm/styles/responsive/base.js +786 -0
  1223. package/esm/styles/responsive/desktop.css +1 -0
  1224. package/esm/styles/responsive/desktop.js +787 -0
  1225. package/esm/styles/responsive/phone.css +1 -0
  1226. package/esm/styles/responsive/phone.js +787 -0
  1227. package/esm/styles/responsive/tablet.css +1 -0
  1228. package/esm/styles/responsive/tablet.js +787 -0
  1229. package/esm/styles/styleProps.js +187 -0
  1230. package/esm/system/BrowserOnly.js +13 -0
  1231. package/esm/system/ButtonOrLink.css +1 -0
  1232. package/esm/system/ButtonOrLink.js +167 -0
  1233. package/esm/system/EventHandlerProvider.js +7 -0
  1234. package/esm/system/FramerMotionProvider.js +14 -0
  1235. package/esm/system/Interactable.css +4 -0
  1236. package/esm/system/Interactable.js +114 -0
  1237. package/esm/system/MediaQueryProvider.js +164 -0
  1238. package/esm/system/Pressable.css +3 -0
  1239. package/esm/system/Pressable.js +148 -0
  1240. package/esm/system/PressableOpacity.js +33 -0
  1241. package/esm/system/ThemeProvider.js +87 -0
  1242. package/esm/system/index.js +6 -0
  1243. package/esm/system/interactableCSSProperties.js +14 -0
  1244. package/esm/system/reakit-utils.js +151 -0
  1245. package/esm/tables/Table.css +7 -0
  1246. package/esm/tables/Table.js +76 -0
  1247. package/esm/tables/TableBody.js +25 -0
  1248. package/esm/tables/TableCaption.js +68 -0
  1249. package/esm/tables/TableCell.css +5 -0
  1250. package/esm/tables/TableCell.js +187 -0
  1251. package/esm/tables/TableCellFallback.css +1 -0
  1252. package/esm/tables/TableCellFallback.js +79 -0
  1253. package/esm/tables/TableCellSortIcon.js +37 -0
  1254. package/esm/tables/TableFooter.js +25 -0
  1255. package/esm/tables/TableHeader.css +1 -0
  1256. package/esm/tables/TableHeader.js +32 -0
  1257. package/esm/tables/TableRow.css +2 -0
  1258. package/esm/tables/TableRow.js +68 -0
  1259. package/esm/tables/TableSection.js +41 -0
  1260. package/esm/tables/__figma__/TableCell.figma.js +116 -0
  1261. package/esm/tables/context/TableContext.js +5 -0
  1262. package/esm/tables/context/TableSectionContext.js +2 -0
  1263. package/esm/tables/hooks/useSortableCell.js +21 -0
  1264. package/esm/tables/hooks/useTable.js +77 -0
  1265. package/esm/tables/hooks/useTableRowListener.js +25 -0
  1266. package/esm/tables/hooks/useTableVariant.js +7 -0
  1267. package/esm/tables/index.js +8 -0
  1268. package/esm/tabs/Paddle.css +7 -0
  1269. package/esm/tabs/Paddle.js +87 -0
  1270. package/esm/tabs/SegmentedTab.css +4 -0
  1271. package/esm/tabs/SegmentedTab.js +78 -0
  1272. package/esm/tabs/SegmentedTabs.js +34 -0
  1273. package/esm/tabs/SegmentedTabsActiveIndicator.js +20 -0
  1274. package/esm/tabs/TabIndicator.js +55 -0
  1275. package/esm/tabs/TabLabel.css +3 -0
  1276. package/esm/tabs/TabLabel.js +125 -0
  1277. package/esm/tabs/TabNavigation.css +5 -0
  1278. package/esm/tabs/TabNavigation.js +319 -0
  1279. package/esm/tabs/Tabs.js +142 -0
  1280. package/esm/tabs/__figma__/SegmentedTabs.figma.js +82 -0
  1281. package/esm/tabs/__figma__/TabNavigation.figma.js +82 -0
  1282. package/esm/tabs/hooks/useAnimateTabIndicator.js +47 -0
  1283. package/esm/tabs/index.js +7 -0
  1284. package/esm/tag/Tag.js +63 -0
  1285. package/esm/tag/__figma__/Tag.figma.js +82 -0
  1286. package/esm/themes/coinbaseDenseTheme.js +135 -0
  1287. package/esm/themes/coinbaseHighContrastTheme.js +576 -0
  1288. package/esm/themes/coinbaseTheme.js +576 -0
  1289. package/esm/themes/defaultHighContrastTheme.js +576 -0
  1290. package/esm/themes/defaultTheme.js +576 -0
  1291. package/esm/tour/DefaultTourMask.js +39 -0
  1292. package/esm/tour/DefaultTourStepArrow.js +42 -0
  1293. package/esm/tour/Tour.css +1 -0
  1294. package/esm/tour/Tour.js +204 -0
  1295. package/esm/tour/TourStep.js +22 -0
  1296. package/esm/tour/index.js +4 -0
  1297. package/esm/types.js +1 -0
  1298. package/esm/typography/Link.css +1 -0
  1299. package/esm/typography/Link.js +62 -0
  1300. package/esm/typography/Text.css +11 -0
  1301. package/esm/typography/Text.js +77 -0
  1302. package/esm/typography/TextBody.js +26 -0
  1303. package/esm/typography/TextCaption.js +26 -0
  1304. package/esm/typography/TextDisplay1.js +26 -0
  1305. package/esm/typography/TextDisplay2.js +26 -0
  1306. package/esm/typography/TextDisplay3.js +26 -0
  1307. package/esm/typography/TextHeadline.js +26 -0
  1308. package/esm/typography/TextInherited.js +26 -0
  1309. package/esm/typography/TextLabel1.js +26 -0
  1310. package/esm/typography/TextLabel2.js +26 -0
  1311. package/esm/typography/TextLegal.js +26 -0
  1312. package/esm/typography/TextTitle1.js +26 -0
  1313. package/esm/typography/TextTitle2.js +26 -0
  1314. package/esm/typography/TextTitle3.js +26 -0
  1315. package/esm/typography/TextTitle4.js +26 -0
  1316. package/esm/typography/__figma__/Link.figma.js +32 -0
  1317. package/esm/typography/index.js +16 -0
  1318. package/esm/utils/browser.js +29 -0
  1319. package/esm/utils/eventHandlers.js +1 -0
  1320. package/esm/utils/flattenAndJoinNodes.js +47 -0
  1321. package/esm/utils/isRtl.js +7 -0
  1322. package/esm/utils/mediaQueryListener.js +16 -0
  1323. package/esm/utils/storybook.js +5 -0
  1324. package/esm/utils/test.js +30 -0
  1325. package/esm/visualizations/Counter.css +3 -0
  1326. package/esm/visualizations/Counter.js +38 -0
  1327. package/esm/visualizations/DefaultProgressCircleContent.js +15 -0
  1328. package/esm/visualizations/ProgressBar.css +1 -0
  1329. package/esm/visualizations/ProgressBar.js +96 -0
  1330. package/esm/visualizations/ProgressBarWithFixedLabels.js +166 -0
  1331. package/esm/visualizations/ProgressBarWithFloatLabel.css +1 -0
  1332. package/esm/visualizations/ProgressBarWithFloatLabel.js +126 -0
  1333. package/esm/visualizations/ProgressCircle.css +1 -0
  1334. package/esm/visualizations/ProgressCircle.js +162 -0
  1335. package/esm/visualizations/ProgressContainerWithButtons.js +39 -0
  1336. package/esm/visualizations/ProgressTextLabel.js +48 -0
  1337. package/esm/visualizations/VisualizationContainer.js +32 -0
  1338. package/esm/visualizations/__figma__/ProgressBar.figma.js +103 -0
  1339. package/esm/visualizations/__figma__/ProgressCircle.figma.js +29 -0
  1340. package/esm/visualizations/getProgressBarLabelParts.js +11 -0
  1341. package/esm/visualizations/index.js +7 -0
  1342. package/package.json +186 -6
  1343. package/index.js +0 -1
@@ -0,0 +1,53 @@
1
+ import React, { memo, useMemo } from 'react';
2
+ import { convertDimensionToSize } from '@coinbase/cds-common/utils/convertDimensionToSize';
3
+ import { convertSizeWithMultiplier } from '@coinbase/cds-common/utils/convertSizeWithMultiplier';
4
+ import { getDefaultSizeObjectForIllustration } from '@coinbase/cds-common/utils/getDefaultSizeObjectForIllustration';
5
+ import { isDevelopment } from '@coinbase/cds-utils';
6
+ import { useTheme } from '../hooks/useTheme';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ export function createIllustration(variant, config) {
9
+ const defaultSize = getDefaultSizeObjectForIllustration(variant);
10
+ const Illustration = /*#__PURE__*/memo(function Illustration(_ref) {
11
+ let {
12
+ name,
13
+ dimension,
14
+ scaleMultiplier,
15
+ testID,
16
+ alt = '',
17
+ fallback = null
18
+ } = _ref;
19
+ const {
20
+ activeColorScheme
21
+ } = useTheme();
22
+ const version = config[name];
23
+ const src = "https://static-assets.coinbase.com/ui-infra/illustration/v1/".concat(variant, "/svg/").concat(activeColorScheme, "/").concat(name, "-").concat(version, ".svg");
24
+ const {
25
+ width,
26
+ height
27
+ } = useMemo(() => {
28
+ let size = defaultSize;
29
+ if (dimension) {
30
+ size = convertDimensionToSize(dimension);
31
+ }
32
+ if (scaleMultiplier) {
33
+ size = convertSizeWithMultiplier(size, scaleMultiplier);
34
+ }
35
+ return size;
36
+ }, [dimension, scaleMultiplier]);
37
+ if (version === undefined) {
38
+ if (isDevelopment()) {
39
+ console.error("Unable to find illustration with name: ".concat(name));
40
+ }
41
+ return fallback;
42
+ }
43
+ return /*#__PURE__*/_jsx("img", {
44
+ alt: alt,
45
+ "data-testid": testID,
46
+ height: height,
47
+ src: src,
48
+ width: width
49
+ });
50
+ });
51
+ Illustration.displayName = 'Illustration';
52
+ return Illustration;
53
+ }
@@ -0,0 +1,5 @@
1
+ export * from './HeroSquare';
2
+ export * from './Pictogram';
3
+ export * from './SpotIcon';
4
+ export * from './SpotRectangle';
5
+ export * from './SpotSquare';
package/esm/index.js ADDED
@@ -0,0 +1,6 @@
1
+ export * from './core/createThemeCssVars';
2
+ export * from './core/polymorphism';
3
+ export * from './core/theme';
4
+ export * from './cx';
5
+ export * from './hooks/useTheme';
6
+ export * from './system/ThemeProvider';
@@ -0,0 +1,239 @@
1
+ const _excluded = ["children", "as", "accessibilityLabel", "accessibilityLabelledBy", "accessibilityHint", "style", "className", "testID", "pin", "elevation", "bordered", "borderedTop", "borderedBottom", "borderedStart", "borderedEnd", "borderedHorizontal", "borderedVertical", "dangerouslySetBackground", "display", "position", "overflow", "zIndex", "gap", "columnGap", "rowGap", "justifyContent", "alignContent", "alignItems", "alignSelf", "flexDirection", "flexWrap", "color", "background", "borderColor", "borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderBottomRightRadius", "borderTopWidth", "borderEndWidth", "borderStartWidth", "borderBottomWidth", "borderWidth", "borderRadius", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight", "textAlign", "textDecoration", "textTransform", "padding", "paddingX", "paddingY", "paddingTop", "paddingBottom", "paddingStart", "paddingEnd", "margin", "marginX", "marginY", "marginTop", "marginBottom", "marginStart", "marginEnd", "userSelect", "visibility", "width", "height", "minWidth", "minHeight", "maxWidth", "maxHeight", "aspectRatio", "top", "bottom", "left", "right", "transform", "flexBasis", "flexShrink", "flexGrow", "gridTemplateColumns", "gridTemplateRows", "gridTemplateAreas", "gridTemplate", "gridAutoColumns", "gridAutoRows", "gridAutoFlow", "grid", "gridRowStart", "gridColumnStart", "gridRowEnd", "gridColumnEnd", "gridRow", "gridColumn", "gridArea", "opacity"];
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
6
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
8
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
9
+ import React, { forwardRef, memo, useMemo } from 'react';
10
+ import { cx } from '../cx';
11
+ import { borderStyle, pinStyle } from '../styles/booleanStyles';
12
+ import { getStyles } from '../styles/styleProps';
13
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ export const boxDefaultElement = 'div';
15
+ export const Box = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
16
+ let {
17
+ children,
18
+ as,
19
+ accessibilityLabel,
20
+ accessibilityLabelledBy,
21
+ accessibilityHint,
22
+ style,
23
+ className,
24
+ testID,
25
+ pin,
26
+ elevation,
27
+ bordered,
28
+ borderedTop,
29
+ borderedBottom,
30
+ borderedStart,
31
+ borderedEnd,
32
+ borderedHorizontal,
33
+ borderedVertical,
34
+ dangerouslySetBackground,
35
+ // Begin className style props
36
+ display = 'flex',
37
+ position,
38
+ overflow,
39
+ zIndex,
40
+ gap,
41
+ columnGap,
42
+ rowGap,
43
+ justifyContent,
44
+ alignContent,
45
+ alignItems,
46
+ alignSelf,
47
+ flexDirection,
48
+ flexWrap,
49
+ color,
50
+ background,
51
+ borderColor,
52
+ borderTopLeftRadius,
53
+ borderTopRightRadius,
54
+ borderBottomLeftRadius,
55
+ borderBottomRightRadius,
56
+ borderTopWidth,
57
+ borderEndWidth,
58
+ borderStartWidth,
59
+ borderBottomWidth,
60
+ borderWidth,
61
+ borderRadius,
62
+ font,
63
+ fontFamily = font,
64
+ fontSize = font,
65
+ fontWeight = font,
66
+ lineHeight = font,
67
+ textAlign,
68
+ textDecoration,
69
+ textTransform,
70
+ padding,
71
+ paddingX,
72
+ paddingY,
73
+ paddingTop,
74
+ paddingBottom,
75
+ paddingStart,
76
+ paddingEnd,
77
+ margin,
78
+ marginX,
79
+ marginY,
80
+ marginTop,
81
+ marginBottom,
82
+ marginStart,
83
+ marginEnd,
84
+ userSelect,
85
+ visibility,
86
+ // Begin inline style props
87
+ width,
88
+ height,
89
+ minWidth,
90
+ minHeight,
91
+ maxWidth,
92
+ maxHeight,
93
+ aspectRatio,
94
+ top,
95
+ bottom,
96
+ left,
97
+ right,
98
+ transform,
99
+ flexBasis,
100
+ flexShrink,
101
+ flexGrow,
102
+ gridTemplateColumns,
103
+ gridTemplateRows,
104
+ gridTemplateAreas,
105
+ gridTemplate,
106
+ gridAutoColumns,
107
+ gridAutoRows,
108
+ gridAutoFlow,
109
+ grid,
110
+ gridRowStart,
111
+ gridColumnStart,
112
+ gridRowEnd,
113
+ gridColumnEnd,
114
+ gridRow,
115
+ gridColumn,
116
+ gridArea,
117
+ opacity
118
+ // End style props
119
+ } = _ref,
120
+ props = _objectWithoutProperties(_ref, _excluded);
121
+ const Component = as !== null && as !== void 0 ? as : boxDefaultElement;
122
+ const inlineStyle = useMemo(() => _objectSpread({
123
+ backgroundColor: dangerouslySetBackground
124
+ }, style), [dangerouslySetBackground, style]);
125
+ const styles = useMemo(() => getStyles({
126
+ display,
127
+ position,
128
+ overflow,
129
+ zIndex,
130
+ gap,
131
+ columnGap,
132
+ rowGap,
133
+ justifyContent,
134
+ alignContent,
135
+ alignItems,
136
+ alignSelf,
137
+ flexDirection,
138
+ flexWrap,
139
+ color,
140
+ background,
141
+ borderColor,
142
+ borderWidth,
143
+ borderRadius,
144
+ borderTopLeftRadius,
145
+ borderTopRightRadius,
146
+ borderBottomLeftRadius,
147
+ borderBottomRightRadius,
148
+ borderTopWidth,
149
+ borderEndWidth,
150
+ borderBottomWidth,
151
+ borderStartWidth,
152
+ elevation,
153
+ fontFamily,
154
+ fontSize,
155
+ fontWeight,
156
+ lineHeight,
157
+ textAlign,
158
+ textDecoration,
159
+ textTransform,
160
+ padding,
161
+ paddingX,
162
+ paddingY,
163
+ paddingTop,
164
+ paddingBottom,
165
+ paddingStart,
166
+ paddingEnd,
167
+ margin,
168
+ marginX,
169
+ marginY,
170
+ marginTop,
171
+ marginBottom,
172
+ marginStart,
173
+ marginEnd,
174
+ userSelect,
175
+ visibility,
176
+ width,
177
+ height,
178
+ minWidth,
179
+ minHeight,
180
+ maxWidth,
181
+ maxHeight,
182
+ aspectRatio,
183
+ top,
184
+ bottom,
185
+ left,
186
+ right,
187
+ transform,
188
+ flexBasis,
189
+ flexShrink,
190
+ flexGrow,
191
+ gridTemplateColumns,
192
+ gridTemplateRows,
193
+ gridTemplateAreas,
194
+ gridTemplate,
195
+ gridAutoColumns,
196
+ gridAutoRows,
197
+ gridAutoFlow,
198
+ grid,
199
+ gridRowStart,
200
+ gridColumnStart,
201
+ gridRowEnd,
202
+ gridColumnEnd,
203
+ gridRow,
204
+ gridColumn,
205
+ gridArea,
206
+ opacity
207
+ }, inlineStyle), [display, position, overflow, zIndex, gap, columnGap, rowGap, justifyContent, alignContent, alignItems, alignSelf, flexDirection, flexWrap, color, background, borderColor, borderWidth, borderRadius, borderTopLeftRadius, borderTopRightRadius, borderBottomLeftRadius, borderBottomRightRadius, borderTopWidth, borderEndWidth, borderBottomWidth, borderStartWidth, elevation, fontFamily, fontSize, fontWeight, lineHeight, textAlign, textDecoration, textTransform, padding, paddingX, paddingY, paddingTop, paddingBottom, paddingStart, paddingEnd, margin, marginX, marginY, marginTop, marginBottom, marginStart, marginEnd, userSelect, visibility, width, height, minWidth, minHeight, maxWidth, maxHeight, aspectRatio, top, bottom, left, right, transform, flexBasis, flexShrink, flexGrow, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridTemplate, gridAutoColumns, gridAutoRows, gridAutoFlow, grid, gridRowStart, gridColumnStart, gridRowEnd, gridColumnEnd, gridRow, gridColumn, gridArea, opacity, inlineStyle]);
208
+ return /*#__PURE__*/_jsx(Component, _objectSpread(_objectSpread({
209
+ ref: ref,
210
+ "aria-describedby": accessibilityHint,
211
+ "aria-label": accessibilityLabel,
212
+ "aria-labelledby": accessibilityLabelledBy,
213
+ className: cx(styles.className, pin && pinStyle[pin], bordered && borderStyle.bordered, borderedTop && borderStyle.borderedTop, borderedBottom && borderStyle.borderedBottom, borderedStart && borderStyle.borderedStart, borderedEnd && borderStyle.borderedEnd, borderedHorizontal && borderStyle.borderedHorizontal, borderedVertical && borderStyle.borderedVertical, className),
214
+ "data-testid": testID,
215
+ style: styles.style
216
+ }, props), {}, {
217
+ children: children
218
+ }));
219
+ }));
220
+ Box.displayName = 'Box';
221
+
222
+ /**
223
+ * @example
224
+ * Use `PolymorphicBoxProps` to create polymorphic components from Box (components with the `as` prop and style props):
225
+ * ```tsx
226
+ * type MyComponentBaseProps = { message?: string }
227
+ * type MyComponentProps<AsComponent extends React.ElementType> =
228
+ * PolymorphicBoxProps<AsComponent, MyComponentBaseProps>
229
+ * const MyComponent = <
230
+ * AsComponent extends React.ElementType = 'button',
231
+ * >({
232
+ * as = 'button' as AsComponent,
233
+ * message,
234
+ * ...props
235
+ * }: MyComponentProps<AsComponent>) => {
236
+ * return <Box as={as} {...props}>{message}</Box>
237
+ * }
238
+ * ```
239
+ */
@@ -0,0 +1,2 @@
1
+ @layer cds{.horizontal-hb40n7o{height:1px;}
2
+ .vertical-v1cvhdy5{width:1px;}}
@@ -0,0 +1,39 @@
1
+ const _excluded = ["color", "direction", "background"];
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
6
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
8
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
9
+ import React, { memo } from 'react';
10
+ import { Box } from './Box';
11
+ import { jsx as _jsx } from "react/jsx-runtime";
12
+ const directionCss = {
13
+ horizontal: "horizontal-hb40n7o",
14
+ vertical: "vertical-v1cvhdy5"
15
+ };
16
+ export const Divider = /*#__PURE__*/memo(_ref => {
17
+ let {
18
+ color,
19
+ direction = 'horizontal',
20
+ background = 'bgLine'
21
+ } = _ref,
22
+ boxProps = _objectWithoutProperties(_ref, _excluded);
23
+ return /*#__PURE__*/_jsx(Box, _objectSpread(_objectSpread({
24
+ alignItems: "stretch",
25
+ alignSelf: "stretch"
26
+ }, boxProps), {}, {
27
+ children: /*#__PURE__*/_jsx(Box, {
28
+ "aria-orientation": direction,
29
+ as: "hr",
30
+ background: color !== null && color !== void 0 ? color : background,
31
+ className: directionCss[direction],
32
+ flexGrow: 1,
33
+ marginY: 0,
34
+ role: "separator"
35
+ })
36
+ }));
37
+ });
38
+ Divider.displayName = 'Divider';
39
+ import "./Divider.css";
@@ -0,0 +1 @@
1
+ @layer cds{.fallbackCss-f1n296p1{display:inline-block;position:relative;overflow:hidden;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:shimmer-fallbackCss-f1n296p1;animation-name:shimmer-fallbackCss-f1n296p1;-webkit-animation-timing-function:linear;animation-timing-function:linear;background-color:rgba(var(--gray60),0.05);background-repeat:no-repeat;background-image:linear-gradient( to right, rgb(var(--gray60),0.05) 0%, rgb(var(--gray60),0) 25%, rgb(var(--gray60),0.1) 50%, rgb(var(--gray60),0) 75%, rgb(var(--gray60),0.05) 100% );}@-webkit-keyframes shimmer-fallbackCss-f1n296p1{0%{background-position:-600px 0;}100%{background-position:600px 0;}}@keyframes shimmer-fallbackCss-f1n296p1{0%{background-position:-600px 0;}100%{background-position:600px 0;}}}
@@ -0,0 +1,83 @@
1
+ const _excluded = ["as", "height", "shape", "width", "percentage", "disableRandomRectWidth", "rectWidthVariant"];
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
6
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
8
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
9
+ import React, { forwardRef, memo, useMemo } from 'react';
10
+ import { Box } from './Box';
11
+ import { jsx as _jsx } from "react/jsx-runtime";
12
+ const WIDTH_MODIFIERS = [0.5, 0, 0.6, 0.8, 0.1, 0.9, 0.4, 0.2, 0.7, 0.3];
13
+ export function useFallbackShape(shape, baseWidth, options) {
14
+ const width = useMemo(() => {
15
+ // When rectangle, lets vary the width a bit so things are
16
+ // a little less... uniform. Variety is nice.
17
+ if (shape === 'rectangle' && typeof baseWidth === 'number' && (!(options !== null && options !== void 0 && options.disableRandomRectWidth) || (options === null || options === void 0 ? void 0 : options.rectWidthVariant) !== undefined)) {
18
+ const modifier = (options === null || options === void 0 ? void 0 : options.rectWidthVariant) !== undefined ? WIDTH_MODIFIERS[options.rectWidthVariant % WIDTH_MODIFIERS.length] : Math.random();
19
+ const quarter = Math.round(baseWidth / 4);
20
+ const min = Math.max(baseWidth - quarter, 1);
21
+ const max = baseWidth + quarter;
22
+ return Math.floor(modifier * (max - min + 1)) + min;
23
+ }
24
+
25
+ // All other shapes need a fixed aspect ratio
26
+ return baseWidth;
27
+ }, [baseWidth, options, shape]);
28
+ const borderRadius = useMemo(() => {
29
+ if (shape === 'circle' && Number.isInteger(width)) {
30
+ return Number(width) / 2;
31
+ }
32
+ return shape === 'squircle' ? 8 : 0;
33
+ }, [shape, width]);
34
+ return useMemo(() => ({
35
+ borderRadius,
36
+ width
37
+ }), [borderRadius, width]);
38
+ }
39
+ const fallbackCss = "fallbackCss-f1n296p1";
40
+ export const fallbackDefaultElement = 'div';
41
+ export const Fallback = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
42
+ let {
43
+ as,
44
+ height,
45
+ shape = 'rectangle',
46
+ width: baseWidth,
47
+ percentage,
48
+ disableRandomRectWidth,
49
+ rectWidthVariant
50
+ } = _ref,
51
+ props = _objectWithoutProperties(_ref, _excluded);
52
+ const Component = as !== null && as !== void 0 ? as : fallbackDefaultElement;
53
+ const fallbackShapeOptions = useMemo(() => ({
54
+ disableRandomRectWidth,
55
+ rectWidthVariant
56
+ }), [disableRandomRectWidth, rectWidthVariant]);
57
+ const {
58
+ width,
59
+ borderRadius
60
+ } = useFallbackShape(shape, baseWidth, fallbackShapeOptions);
61
+ const backgroundSizeHeight = typeof height === 'number' ? "".concat(height, "px") : height;
62
+ const style = useMemo(() => ({
63
+ width: percentage ? "100%" : width,
64
+ backgroundSize: "600px ".concat(backgroundSizeHeight),
65
+ height,
66
+ borderRadius
67
+ }), [percentage, width, backgroundSizeHeight, height, borderRadius]);
68
+ return /*#__PURE__*/_jsx(Box, _objectSpread(_objectSpread({
69
+ ref: ref,
70
+ as: Component,
71
+ flexGrow: 0,
72
+ flexShrink: 0,
73
+ width: percentage && typeof width === 'number' ? "".concat(Math.min(width, 100), "%") : width
74
+ }, props), {}, {
75
+ children: /*#__PURE__*/_jsx(Box, {
76
+ className: fallbackCss,
77
+ style: style,
78
+ children: "\xA0"
79
+ })
80
+ }));
81
+ }));
82
+ Fallback.displayName = 'Fallback';
83
+ import "./Fallback.css";
@@ -0,0 +1,40 @@
1
+ const _excluded = ["as", "rows", "columns", "columnMin", "columnMax", "display", "templateColumns"];
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
6
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
8
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
9
+ import React, { forwardRef, useMemo } from 'react';
10
+ import { Box } from './Box';
11
+ import { jsx as _jsx } from "react/jsx-runtime";
12
+ export const gridDefaultElement = 'div';
13
+ export const Grid = /*#__PURE__*/forwardRef((_ref, ref) => {
14
+ let {
15
+ as,
16
+ rows,
17
+ columns,
18
+ columnMin,
19
+ columnMax = '1fr',
20
+ display = 'grid',
21
+ templateColumns
22
+ } = _ref,
23
+ props = _objectWithoutProperties(_ref, _excluded);
24
+ const Component = as !== null && as !== void 0 ? as : gridDefaultElement;
25
+ const isImplicit = !columns && !templateColumns && !!columnMin;
26
+ const templateColumnsValue = useMemo(() => {
27
+ if (isImplicit) {
28
+ return "repeat(auto-fill, minmax(".concat(columnMin, ", ").concat(columnMax, "))");
29
+ }
30
+ return templateColumns !== null && templateColumns !== void 0 ? templateColumns : typeof columns !== 'undefined' ? "repeat(".concat(columns, ", minmax(0, 1fr))") : undefined;
31
+ }, [columnMax, columnMin, columns, isImplicit, templateColumns]);
32
+ return /*#__PURE__*/_jsx(Box, _objectSpread({
33
+ ref: ref,
34
+ as: Component,
35
+ display: display,
36
+ gridTemplateColumns: templateColumnsValue,
37
+ gridTemplateRows: typeof rows !== 'undefined' ? "repeat(".concat(rows, ", minmax(0, 1fr))") : undefined
38
+ }, props));
39
+ });
40
+ Grid.displayName = 'Grid';
@@ -0,0 +1,32 @@
1
+ const _excluded = ["as", "gridColumn", "colSpan", "colStart", "colEnd"];
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
6
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
8
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
9
+ import React, { forwardRef, memo, useMemo } from 'react';
10
+ import { Box } from './Box';
11
+ import { jsx as _jsx } from "react/jsx-runtime";
12
+ export const gridColumnDefaultElement = 'div';
13
+ export const GridColumn = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, forwardedRef) => {
14
+ let {
15
+ as,
16
+ gridColumn,
17
+ colSpan,
18
+ colStart = 'auto',
19
+ colEnd = 'auto'
20
+ } = _ref,
21
+ props = _objectWithoutProperties(_ref, _excluded);
22
+ const Component = as !== null && as !== void 0 ? as : gridColumnDefaultElement;
23
+ const gridColumnValue = useMemo(() => gridColumn !== null && gridColumn !== void 0 ? gridColumn : colSpan ? "".concat(colStart, " / span ").concat(colSpan) : undefined, [colSpan, colStart, gridColumn]);
24
+ return /*#__PURE__*/_jsx(Box, _objectSpread({
25
+ ref: forwardedRef,
26
+ as: Component,
27
+ gridColumn: gridColumnValue,
28
+ gridColumnEnd: colEnd,
29
+ gridColumnStart: colStart
30
+ }, props));
31
+ }));
32
+ GridColumn.displayName = 'GridColumn';
@@ -0,0 +1,68 @@
1
+ const _excluded = ["display"],
2
+ _excluded2 = ["children", "direction", "divider", "gap", "renderItem", "role"];
3
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
7
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
9
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
10
+ import React, { forwardRef, memo, useMemo } from 'react';
11
+ import { flattenAndJoinNodes } from '../utils/flattenAndJoinNodes';
12
+ import { Box } from './Box';
13
+ import { Spacer } from './Spacer';
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ const ItemWrapper = /*#__PURE__*/memo(_ref => {
16
+ let {
17
+ display = 'contents'
18
+ } = _ref,
19
+ props = _objectWithoutProperties(_ref, _excluded);
20
+ return /*#__PURE__*/_jsx(Box, _objectSpread({
21
+ display: display
22
+ }, props));
23
+ });
24
+ const fallbackRenderItem = _ref2 => {
25
+ let {
26
+ item,
27
+ index
28
+ } = _ref2;
29
+ return /*#__PURE__*/_jsx(ItemWrapper, {
30
+ children: item
31
+ }, index);
32
+ };
33
+
34
+ /**
35
+ * @deprecated Use `Box`, `HStack` or `VStack` instead.
36
+ * @danger Make sure to add a `key` prop to each item.
37
+ */
38
+ export const Group = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref3, ref) => {
39
+ let {
40
+ children,
41
+ direction = 'vertical',
42
+ divider,
43
+ gap,
44
+ renderItem = fallbackRenderItem,
45
+ role = 'group'
46
+ } = _ref3,
47
+ boxProps = _objectWithoutProperties(_ref3, _excluded2);
48
+ // TODO: Remove once `horizontal` is sunset in Q2.
49
+ const contents = useMemo(() => flattenAndJoinNodes({
50
+ children,
51
+ gap,
52
+ divider,
53
+ renderItem,
54
+ direction,
55
+ Spacer,
56
+ ItemWrapper
57
+ }), [children, direction, divider, gap, renderItem]);
58
+ return /*#__PURE__*/_jsx(Box, _objectSpread(_objectSpread({
59
+ ref: ref,
60
+ alignItems: "stretch",
61
+ flexDirection: direction === 'horizontal' ? 'row' : 'column',
62
+ flexWrap: "nowrap",
63
+ role: role
64
+ }, boxProps), {}, {
65
+ children: contents
66
+ }));
67
+ }));
68
+ Group.displayName = 'Group';
@@ -0,0 +1,26 @@
1
+ const _excluded = ["as", "flexDirection"];
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
6
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
8
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
9
+ import React, { forwardRef } from 'react';
10
+ import { Box } from './Box';
11
+ import { jsx as _jsx } from "react/jsx-runtime";
12
+ export const hStackDefaultElement = 'div';
13
+ export const HStack = /*#__PURE__*/forwardRef((_ref, ref) => {
14
+ let {
15
+ as,
16
+ flexDirection = 'row'
17
+ } = _ref,
18
+ props = _objectWithoutProperties(_ref, _excluded);
19
+ const Component = as !== null && as !== void 0 ? as : hStackDefaultElement;
20
+ return /*#__PURE__*/_jsx(Box, _objectSpread({
21
+ ref: ref,
22
+ as: Component,
23
+ flexDirection: flexDirection
24
+ }, props));
25
+ });
26
+ HStack.displayName = 'HStack';