@arc-ui/components 11.5.0 → 11.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/dist/Alert/Alert.cjs.d.ts +1 -1
  2. package/dist/Alert/Alert.cjs.js +4 -4
  3. package/dist/Alert/Alert.esm.d.ts +1 -1
  4. package/dist/Alert/Alert.esm.js +4 -4
  5. package/dist/Badge/Badge.cjs.js +2 -2
  6. package/dist/Badge/Badge.esm.js +2 -2
  7. package/dist/Box/Box.cjs.d.ts +1 -0
  8. package/dist/Box/Box.cjs.js +13 -0
  9. package/dist/Box/Box.esm.d.ts +1 -0
  10. package/dist/Box/Box.esm.js +5 -0
  11. package/dist/Box/package.json +7 -0
  12. package/dist/BrandLogo/BrandLogo.cjs.d.ts +1 -1
  13. package/dist/BrandLogo/BrandLogo.cjs.js +2 -2
  14. package/dist/BrandLogo/BrandLogo.esm.d.ts +1 -1
  15. package/dist/BrandLogo/BrandLogo.esm.js +2 -2
  16. package/dist/Breadcrumbs/Breadcrumbs.cjs.d.ts +1 -61
  17. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +10 -642
  18. package/dist/Breadcrumbs/Breadcrumbs.esm.d.ts +1 -61
  19. package/dist/Breadcrumbs/Breadcrumbs.esm.js +9 -641
  20. package/dist/Button/Button.cjs.d.ts +1 -1
  21. package/dist/Button/Button.cjs.js +4 -3
  22. package/dist/Button/Button.esm.d.ts +1 -1
  23. package/dist/Button/Button.esm.js +4 -3
  24. package/dist/Card/Card.cjs.d.ts +1 -130
  25. package/dist/Card/Card.cjs.js +12 -119
  26. package/dist/Card/Card.esm.d.ts +1 -130
  27. package/dist/Card/Card.esm.js +11 -118
  28. package/dist/Checkbox/Checkbox.cjs.d.ts +1 -64
  29. package/dist/Checkbox/Checkbox.cjs.js +11 -60
  30. package/dist/Checkbox/Checkbox.esm.d.ts +1 -64
  31. package/dist/Checkbox/Checkbox.esm.js +10 -59
  32. package/dist/Columns/Columns.cjs.d.ts +1 -76
  33. package/dist/Columns/Columns.cjs.js +6 -52
  34. package/dist/Columns/Columns.esm.d.ts +1 -76
  35. package/dist/Columns/Columns.esm.js +5 -51
  36. package/dist/Disclosure/Disclosure.cjs.d.ts +1 -1
  37. package/dist/Disclosure/Disclosure.cjs.js +2 -2
  38. package/dist/Disclosure/Disclosure.esm.d.ts +1 -1
  39. package/dist/Disclosure/Disclosure.esm.js +2 -2
  40. package/dist/DisclosureMini/DisclosureMini.cjs.d.ts +1 -1
  41. package/dist/DisclosureMini/DisclosureMini.cjs.js +3 -3
  42. package/dist/DisclosureMini/DisclosureMini.esm.d.ts +1 -1
  43. package/dist/DisclosureMini/DisclosureMini.esm.js +3 -3
  44. package/dist/Filter/Filter.cjs.d.ts +1 -0
  45. package/dist/Filter/Filter.cjs.js +13 -0
  46. package/dist/Filter/Filter.esm.d.ts +1 -0
  47. package/dist/Filter/Filter.esm.js +5 -0
  48. package/dist/Filter/package.json +7 -0
  49. package/dist/FormControl/FormControl.cjs.d.ts +1 -1
  50. package/dist/FormControl/FormControl.cjs.js +4 -5
  51. package/dist/FormControl/FormControl.esm.d.ts +1 -1
  52. package/dist/FormControl/FormControl.esm.js +4 -5
  53. package/dist/Group/Group.cjs.d.ts +1 -46
  54. package/dist/Group/Group.cjs.js +6 -43
  55. package/dist/Group/Group.esm.d.ts +1 -46
  56. package/dist/Group/Group.esm.js +5 -42
  57. package/dist/Heading/Heading.cjs.d.ts +1 -1
  58. package/dist/Heading/Heading.cjs.js +2 -2
  59. package/dist/Heading/Heading.esm.d.ts +1 -1
  60. package/dist/Heading/Heading.esm.js +2 -2
  61. package/dist/Icon/Icon.cjs.d.ts +1 -1
  62. package/dist/Icon/Icon.cjs.js +2 -2
  63. package/dist/Icon/Icon.esm.d.ts +1 -1
  64. package/dist/Icon/Icon.esm.js +2 -2
  65. package/dist/Image/Image.cjs.d.ts +1 -1
  66. package/dist/Image/Image.cjs.js +2 -1
  67. package/dist/Image/Image.esm.d.ts +1 -1
  68. package/dist/Image/Image.esm.js +1 -1
  69. package/dist/Markup/Markup.cjs.js +1 -1
  70. package/dist/Markup/Markup.esm.js +1 -1
  71. package/dist/MediaCard/MediaCard.cjs.d.ts +61 -0
  72. package/dist/MediaCard/MediaCard.cjs.js +31 -0
  73. package/dist/MediaCard/MediaCard.esm.d.ts +61 -0
  74. package/dist/MediaCard/MediaCard.esm.js +23 -0
  75. package/dist/MediaCard/package.json +7 -0
  76. package/dist/Modal/Modal.cjs.d.ts +31 -0
  77. package/dist/Modal/Modal.cjs.js +388 -0
  78. package/dist/Modal/Modal.esm.d.ts +31 -0
  79. package/dist/Modal/Modal.esm.js +380 -0
  80. package/dist/Modal/package.json +7 -0
  81. package/dist/Pagination/Pagination.cjs.d.ts +20 -0
  82. package/dist/Pagination/Pagination.cjs.js +87 -0
  83. package/dist/Pagination/Pagination.esm.d.ts +20 -0
  84. package/dist/Pagination/Pagination.esm.js +79 -0
  85. package/dist/Pagination/package.json +7 -0
  86. package/dist/PaginationSimple/PaginationSimple.cjs.d.ts +28 -0
  87. package/dist/PaginationSimple/PaginationSimple.cjs.js +47 -0
  88. package/dist/PaginationSimple/PaginationSimple.esm.d.ts +28 -0
  89. package/dist/PaginationSimple/PaginationSimple.esm.js +39 -0
  90. package/dist/PaginationSimple/package.json +7 -0
  91. package/dist/Poster/Poster.cjs.d.ts +1 -81
  92. package/dist/Poster/Poster.cjs.js +8 -45
  93. package/dist/Poster/Poster.esm.d.ts +1 -81
  94. package/dist/Poster/Poster.esm.js +7 -44
  95. package/dist/ProgressBar/ProgressBar.cjs.js +4 -4
  96. package/dist/ProgressBar/ProgressBar.esm.js +4 -4
  97. package/dist/ProgressStepper/ProgressStepper.cjs.d.ts +89 -0
  98. package/dist/ProgressStepper/ProgressStepper.cjs.js +152 -0
  99. package/dist/ProgressStepper/ProgressStepper.esm.d.ts +89 -0
  100. package/dist/ProgressStepper/ProgressStepper.esm.js +144 -0
  101. package/dist/ProgressStepper/package.json +7 -0
  102. package/dist/RadioGroup/RadioGroup.cjs.d.ts +1 -85
  103. package/dist/RadioGroup/RadioGroup.cjs.js +9 -68
  104. package/dist/RadioGroup/RadioGroup.esm.d.ts +1 -85
  105. package/dist/RadioGroup/RadioGroup.esm.js +8 -67
  106. package/dist/Rule/Rule.cjs.js +1 -1
  107. package/dist/Rule/Rule.esm.js +1 -1
  108. package/dist/ScrollToTop/ScrollToTop.cjs.d.ts +25 -0
  109. package/dist/ScrollToTop/ScrollToTop.cjs.js +68 -0
  110. package/dist/ScrollToTop/ScrollToTop.esm.d.ts +25 -0
  111. package/dist/ScrollToTop/ScrollToTop.esm.js +60 -0
  112. package/dist/ScrollToTop/package.json +7 -0
  113. package/dist/Select/Select.cjs.d.ts +2 -2
  114. package/dist/Select/Select.cjs.js +20 -1419
  115. package/dist/Select/Select.esm.d.ts +2 -2
  116. package/dist/Select/Select.esm.js +10 -1390
  117. package/dist/SiteFooter/SiteFooter.cjs.d.ts +2 -62
  118. package/dist/SiteFooter/SiteFooter.cjs.js +10 -65
  119. package/dist/SiteFooter/SiteFooter.esm.d.ts +2 -62
  120. package/dist/SiteFooter/SiteFooter.esm.js +12 -66
  121. package/dist/SiteHeader/SiteHeader.cjs.d.ts +2 -260
  122. package/dist/SiteHeader/SiteHeader.cjs.js +17 -669
  123. package/dist/SiteHeader/SiteHeader.esm.d.ts +2 -260
  124. package/dist/SiteHeader/SiteHeader.esm.js +15 -667
  125. package/dist/Surface/Surface.cjs.d.ts +1 -1
  126. package/dist/Surface/Surface.cjs.js +1 -1
  127. package/dist/Surface/Surface.esm.d.ts +1 -1
  128. package/dist/Surface/Surface.esm.js +1 -1
  129. package/dist/Switch/Switch.cjs.d.ts +2 -2
  130. package/dist/Switch/Switch.cjs.js +8 -7
  131. package/dist/Switch/Switch.esm.d.ts +2 -2
  132. package/dist/Switch/Switch.esm.js +7 -6
  133. package/dist/Tag/Tag.cjs.js +2 -2
  134. package/dist/Tag/Tag.esm.js +2 -2
  135. package/dist/Text/Text.cjs.d.ts +1 -1
  136. package/dist/Text/Text.cjs.js +2 -2
  137. package/dist/Text/Text.esm.d.ts +1 -1
  138. package/dist/Text/Text.esm.js +2 -2
  139. package/dist/TextArea/TextArea.cjs.d.ts +61 -0
  140. package/dist/TextArea/TextArea.cjs.js +87 -0
  141. package/dist/TextArea/TextArea.esm.d.ts +61 -0
  142. package/dist/TextArea/TextArea.esm.js +79 -0
  143. package/dist/TextArea/package.json +7 -0
  144. package/dist/TextInput/TextInput.cjs.d.ts +1 -75
  145. package/dist/TextInput/TextInput.cjs.js +10 -76
  146. package/dist/TextInput/TextInput.esm.d.ts +1 -75
  147. package/dist/TextInput/TextInput.esm.js +9 -75
  148. package/dist/UniversalHeader/UniversalHeader.cjs.d.ts +1 -26
  149. package/dist/UniversalHeader/UniversalHeader.cjs.js +5 -30
  150. package/dist/UniversalHeader/UniversalHeader.esm.d.ts +1 -26
  151. package/dist/UniversalHeader/UniversalHeader.esm.js +4 -29
  152. package/dist/_shared/cjs/Box-ebe2b7be.d.ts +39 -0
  153. package/dist/_shared/cjs/Box-ebe2b7be.js +30 -0
  154. package/dist/_shared/cjs/{BrandLogo-8008f0c4.js → BrandLogo-8107d59f.js} +1 -1
  155. package/dist/_shared/cjs/Breadcrumbs-9f580f69.d.ts +61 -0
  156. package/dist/_shared/cjs/Breadcrumbs-9f580f69.js +106 -0
  157. package/dist/_shared/cjs/BtIconChevronLeftMid-df952a3e.js +31 -0
  158. package/dist/_shared/cjs/{Button-5dff284a.js → Button-b4d6ccc8.js} +8 -29
  159. package/dist/_shared/cjs/Card-f1108bfe.d.ts +136 -0
  160. package/dist/_shared/cjs/Card-f1108bfe.js +124 -0
  161. package/dist/_shared/cjs/Checkbox-c927b62f.d.ts +64 -0
  162. package/dist/_shared/cjs/Checkbox-c927b62f.js +62 -0
  163. package/dist/_shared/cjs/Columns-e90798f8.d.ts +76 -0
  164. package/dist/_shared/cjs/Columns-e90798f8.js +57 -0
  165. package/dist/_shared/cjs/{DisclosureMini-5af13d3c.js → DisclosureMini-2a10006e.js} +5 -3
  166. package/dist/_shared/cjs/Filter-a7574fe7.d.ts +83 -0
  167. package/dist/_shared/cjs/Filter-a7574fe7.js +121 -0
  168. package/dist/_shared/{esm/FormControl-0744f93f.d.ts → cjs/FormControl-78b007b7.d.ts} +4 -0
  169. package/dist/_shared/cjs/{FormControl-42360ae8.js → FormControl-78b007b7.js} +10 -10
  170. package/dist/_shared/cjs/Group-f85dd4c0.d.ts +46 -0
  171. package/dist/_shared/cjs/Group-f85dd4c0.js +48 -0
  172. package/dist/_shared/cjs/{Heading-d45f6a7f.js → Heading-ed1cb455.js} +1 -1
  173. package/dist/_shared/cjs/{Icon-9ae8dbe1.js → Icon-e1dd45eb.js} +1 -1
  174. package/dist/_shared/cjs/{Image-3bf4b4f3.js → Image-0e393cbf.js} +2 -0
  175. package/dist/_shared/cjs/ItemGroup-5af4d600.d.ts +27 -0
  176. package/dist/_shared/cjs/NavItem-df20237c.d.ts +43 -0
  177. package/dist/_shared/cjs/NavItemWithSubNav-65f21828.d.ts +49 -0
  178. package/dist/_shared/cjs/Poster-faea1ad3.d.ts +81 -0
  179. package/dist/_shared/cjs/Poster-faea1ad3.js +50 -0
  180. package/dist/_shared/cjs/RadioGroup-8e17de70.d.ts +97 -0
  181. package/dist/_shared/cjs/RadioGroup-8e17de70.js +70 -0
  182. package/dist/_shared/cjs/SiteFooter-9f7f9c2d.d.ts +62 -0
  183. package/dist/_shared/cjs/SiteFooter-9f7f9c2d.js +73 -0
  184. package/dist/_shared/cjs/SiteHeader-c25ee36e.d.ts +78 -0
  185. package/dist/_shared/cjs/SiteHeader.rehydrator-ccbebde6.d.ts +78 -0
  186. package/dist/_shared/cjs/SiteHeader.rehydrator-ccbebde6.js +673 -0
  187. package/dist/_shared/cjs/SubNavItem-a84d1bf4.d.ts +48 -0
  188. package/dist/_shared/cjs/{Surface-6da0a78e.d.ts → Surface-b7c51b2b.d.ts} +3 -2
  189. package/dist/_shared/cjs/{Surface-6da0a78e.js → Surface-b7c51b2b.js} +1 -1
  190. package/dist/_shared/cjs/{Text-6f2827e6.js → Text-555a29a4.js} +1 -1
  191. package/dist/_shared/cjs/TextInput-7ed03a48.d.ts +75 -0
  192. package/dist/_shared/cjs/TextInput-b768e346.d.ts +10 -0
  193. package/dist/_shared/cjs/TextInput-b768e346.js +78 -0
  194. package/dist/_shared/cjs/UniversalHeader-da622e1a.d.ts +26 -0
  195. package/dist/_shared/cjs/UniversalHeader-da622e1a.js +35 -0
  196. package/dist/_shared/cjs/debounce-506538c5.js +544 -0
  197. package/dist/_shared/cjs/index-31fbb076.js +1416 -0
  198. package/dist/_shared/cjs/index-699086a7.d.ts +2 -0
  199. package/dist/_shared/cjs/index-74488a9f.d.ts +2 -0
  200. package/dist/_shared/cjs/index-c81c9401.d.ts +3 -3
  201. package/dist/_shared/cjs/index-e340924e.d.ts +2 -0
  202. package/dist/_shared/cjs/index-e6d20018.d.ts +3 -0
  203. package/dist/_shared/cjs/index-eb06f640.d.ts +2 -0
  204. package/dist/_shared/cjs/index-f419cf04.d.ts +2 -0
  205. package/dist/_shared/cjs/index.module-5ea728f4.js +23 -0
  206. package/dist/_shared/cjs/{index.module-af7c85f2.js → index.module-9b87a34d.js} +84 -103
  207. package/dist/_shared/esm/Box-06d99d8a.d.ts +39 -0
  208. package/dist/_shared/esm/Box-06d99d8a.js +24 -0
  209. package/dist/_shared/esm/{BrandLogo-56699561.js → BrandLogo-9ec620e8.js} +1 -1
  210. package/dist/_shared/esm/Breadcrumbs-5dc0afa7.d.ts +61 -0
  211. package/dist/_shared/esm/Breadcrumbs-5dc0afa7.js +100 -0
  212. package/dist/_shared/esm/BtIconChevronLeftMid-9f4f3a3d.js +25 -0
  213. package/dist/_shared/esm/{Button-61241dd0.js → Button-9c3b0b11.js} +4 -25
  214. package/dist/_shared/esm/Card-79b6eae0.d.ts +136 -0
  215. package/dist/_shared/esm/Card-79b6eae0.js +118 -0
  216. package/dist/_shared/esm/Checkbox-2d144384.d.ts +64 -0
  217. package/dist/_shared/esm/Checkbox-2d144384.js +56 -0
  218. package/dist/_shared/esm/Columns-8704515b.d.ts +76 -0
  219. package/dist/_shared/esm/Columns-8704515b.js +51 -0
  220. package/dist/_shared/esm/{DisclosureMini-322fccc0.js → DisclosureMini-78a8f392.js} +5 -3
  221. package/dist/_shared/esm/Filter-a01aed11.d.ts +83 -0
  222. package/dist/_shared/esm/Filter-a01aed11.js +115 -0
  223. package/dist/_shared/{cjs/FormControl-42360ae8.d.ts → esm/FormControl-2fa7aae5.d.ts} +4 -0
  224. package/dist/_shared/esm/{FormControl-0744f93f.js → FormControl-2fa7aae5.js} +10 -10
  225. package/dist/_shared/esm/Group-fb26fd32.d.ts +46 -0
  226. package/dist/_shared/esm/Group-fb26fd32.js +42 -0
  227. package/dist/_shared/esm/{Heading-b61432fb.js → Heading-ee6bec51.js} +1 -1
  228. package/dist/_shared/esm/{Icon-fd247973.js → Icon-c1af47bc.js} +1 -1
  229. package/dist/_shared/esm/{Image-3596ce55.js → Image-3ed3863c.js} +2 -1
  230. package/dist/_shared/esm/ItemGroup-5af4d600.d.ts +27 -0
  231. package/dist/_shared/esm/NavItem-df20237c.d.ts +43 -0
  232. package/dist/_shared/esm/NavItemWithSubNav-65f21828.d.ts +49 -0
  233. package/dist/_shared/esm/Poster-a83ae770.d.ts +81 -0
  234. package/dist/_shared/esm/Poster-a83ae770.js +44 -0
  235. package/dist/_shared/esm/RadioGroup-65b8c8bf.d.ts +97 -0
  236. package/dist/_shared/esm/RadioGroup-65b8c8bf.js +64 -0
  237. package/dist/_shared/esm/SiteFooter-51bdc7df.d.ts +62 -0
  238. package/dist/_shared/esm/SiteFooter-51bdc7df.js +67 -0
  239. package/dist/_shared/esm/SiteHeader-c25ee36e.d.ts +78 -0
  240. package/dist/_shared/esm/SiteHeader.rehydrator-382d1c03.d.ts +78 -0
  241. package/dist/_shared/esm/SiteHeader.rehydrator-382d1c03.js +666 -0
  242. package/dist/_shared/esm/SubNavItem-a84d1bf4.d.ts +48 -0
  243. package/dist/_shared/esm/{Surface-bb100ef8.d.ts → Surface-dde51789.d.ts} +3 -2
  244. package/dist/_shared/esm/{Surface-bb100ef8.js → Surface-dde51789.js} +1 -1
  245. package/dist/_shared/esm/{Text-00e9743b.js → Text-14deb70e.js} +1 -1
  246. package/dist/_shared/esm/TextInput-62bb7dee.d.ts +10 -0
  247. package/dist/_shared/esm/TextInput-62bb7dee.js +72 -0
  248. package/dist/_shared/esm/TextInput-7ed03a48.d.ts +75 -0
  249. package/dist/_shared/esm/UniversalHeader-1c5a886d.d.ts +26 -0
  250. package/dist/_shared/esm/UniversalHeader-1c5a886d.js +29 -0
  251. package/dist/_shared/esm/debounce-e228705f.js +542 -0
  252. package/dist/_shared/esm/index-4fa635bd.js +1386 -0
  253. package/dist/_shared/esm/index-699086a7.d.ts +2 -0
  254. package/dist/_shared/esm/index-74488a9f.d.ts +2 -0
  255. package/dist/_shared/esm/index-c81c9401.d.ts +3 -3
  256. package/dist/_shared/esm/index-e340924e.d.ts +2 -0
  257. package/dist/_shared/esm/index-e6d20018.d.ts +3 -0
  258. package/dist/_shared/esm/index-eb06f640.d.ts +2 -0
  259. package/dist/_shared/esm/index-f419cf04.d.ts +2 -0
  260. package/dist/_shared/esm/{index.module-599b86dd.js → index.module-216016b5.js} +86 -104
  261. package/dist/_shared/esm/index.module-88179159.js +21 -0
  262. package/dist/index.es.js +179 -28
  263. package/dist/index.es.js.map +1 -1
  264. package/dist/index.js +180 -27
  265. package/dist/index.js.map +1 -1
  266. package/dist/styles.css +1 -1
  267. package/dist/types/components/Box/Box.d.ts +36 -0
  268. package/dist/types/components/Box/index.d.ts +1 -0
  269. package/dist/types/components/Filter/Filter.d.ts +38 -0
  270. package/dist/types/components/Filter/FilterControls/FilterControl/FilterControl.d.ts +16 -0
  271. package/dist/types/components/Filter/FilterControls/FilterControls.d.ts +12 -0
  272. package/dist/types/components/Filter/FilterItems/FilterItem/FilterItem.d.ts +12 -0
  273. package/dist/types/components/Filter/FilterItems/FilterItems.d.ts +12 -0
  274. package/dist/types/components/Filter/index.d.ts +1 -0
  275. package/dist/types/components/FormControl/FormControl.d.ts +4 -0
  276. package/dist/types/components/Image/index.d.ts +1 -1
  277. package/dist/types/components/MediaCard/MediaCard.d.ts +57 -0
  278. package/dist/types/components/MediaCard/index.d.ts +1 -0
  279. package/dist/types/components/Modal/Modal.stories-wip.d.ts +9 -0
  280. package/dist/types/components/Pagination/Pagination.d.ts +19 -0
  281. package/dist/types/components/Pagination/index.d.ts +1 -0
  282. package/dist/types/components/PaginationSimple/PaginationSimple.d.ts +27 -0
  283. package/dist/types/components/PaginationSimple/index.d.ts +1 -0
  284. package/dist/types/components/ProgressStepper/ProgressStepper.d.ts +28 -0
  285. package/dist/types/components/ProgressStepper/ProgressStepperItem/ProgressStepperItem.d.ts +62 -0
  286. package/dist/types/components/ProgressStepper/index.d.ts +1 -0
  287. package/dist/types/components/ProgressStepper/progressStatus.d.ts +1 -0
  288. package/dist/types/components/RadioGroup/RadioGroup.d.ts +1 -1
  289. package/dist/types/components/ScrollToTop/ScrollToTop.d.ts +24 -0
  290. package/dist/types/components/ScrollToTop/index.d.ts +1 -0
  291. package/dist/types/components/Select/Select.d.ts +1 -1
  292. package/dist/types/components/Surface/Surface.d.ts +2 -1
  293. package/dist/types/components/Surface/index.d.ts +1 -1
  294. package/dist/types/components/Switch/Switch.d.ts +1 -1
  295. package/dist/types/components/TextArea/TextArea.d.ts +60 -0
  296. package/dist/types/components/TextArea/index.d.ts +1 -0
  297. package/dist/types/components/TextInput/TextInput.d.ts +1 -1
  298. package/dist/types/components/index.d.ts +2 -0
  299. package/dist/types/hooks/use-pagination.d.ts +1 -0
  300. package/dist/types/styles.d.ts +10 -0
  301. package/package.json +4 -4
  302. /package/dist/_shared/cjs/{BrandLogo-8008f0c4.d.ts → BrandLogo-8107d59f.d.ts} +0 -0
  303. /package/dist/_shared/cjs/{Button-5dff284a.d.ts → Button-b4d6ccc8.d.ts} +0 -0
  304. /package/dist/_shared/cjs/{DisclosureMini-5af13d3c.d.ts → DisclosureMini-2a10006e.d.ts} +0 -0
  305. /package/dist/_shared/cjs/{Heading-d45f6a7f.d.ts → Heading-ed1cb455.d.ts} +0 -0
  306. /package/dist/_shared/cjs/{Icon-9ae8dbe1.d.ts → Icon-e1dd45eb.d.ts} +0 -0
  307. /package/dist/_shared/cjs/{Image-3bf4b4f3.d.ts → Image-0e393cbf.d.ts} +0 -0
  308. /package/dist/_shared/cjs/{Text-6f2827e6.d.ts → Text-555a29a4.d.ts} +0 -0
  309. /package/dist/_shared/esm/{BrandLogo-56699561.d.ts → BrandLogo-9ec620e8.d.ts} +0 -0
  310. /package/dist/_shared/esm/{Button-61241dd0.d.ts → Button-9c3b0b11.d.ts} +0 -0
  311. /package/dist/_shared/esm/{DisclosureMini-322fccc0.d.ts → DisclosureMini-78a8f392.d.ts} +0 -0
  312. /package/dist/_shared/esm/{Heading-b61432fb.d.ts → Heading-ee6bec51.d.ts} +0 -0
  313. /package/dist/_shared/esm/{Icon-fd247973.d.ts → Icon-c1af47bc.d.ts} +0 -0
  314. /package/dist/_shared/esm/{Image-3596ce55.d.ts → Image-3ed3863c.d.ts} +0 -0
  315. /package/dist/_shared/esm/{Text-00e9743b.d.ts → Text-14deb70e.d.ts} +0 -0
@@ -2,68 +2,19 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
6
- var React = require('react');
7
- var BtIconTickAlt2Px = require('../_shared/cjs/BtIconTickAlt2Px-bdf06f8c.js');
8
- var BtIconAlert = require('../_shared/cjs/BtIconAlert-637db790.js');
9
- var index = require('../_shared/cjs/index-45bfb67b.js');
10
- var FormControl = require('../_shared/cjs/FormControl-42360ae8.js');
11
- var Surface = require('../_shared/cjs/Surface-6da0a78e.js');
12
- require('../_shared/cjs/DisclosureMini-5af13d3c.js');
5
+ var Checkbox = require('../_shared/cjs/Checkbox-c927b62f.js');
6
+ require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
7
+ require('react');
8
+ require('../_shared/cjs/BtIconTickAlt2Px-bdf06f8c.js');
9
+ require('../_shared/cjs/BtIconAlert-637db790.js');
10
+ require('../_shared/cjs/index-45bfb67b.js');
11
+ require('../_shared/cjs/FormControl-78b007b7.js');
12
+ require('../_shared/cjs/Surface-b7c51b2b.js');
13
+ require('../_shared/cjs/DisclosureMini-2a10006e.js');
13
14
  require('../_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js');
14
- require('../_shared/cjs/Text-6f2827e6.js');
15
+ require('../_shared/cjs/Text-555a29a4.js');
15
16
  require('../_shared/cjs/suffix-modifier-1ee2da04.js');
16
- require('../_shared/cjs/VerticalSpace-86f697e7.js');
17
17
 
18
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
19
18
 
20
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
21
19
 
22
- /**
23
- * Use `Checkbox` to allow users to select individual options.
24
- */
25
- var Checkbox = React.forwardRef(function (_a, ref) {
26
- var _b = _a.checked, checked = _b === void 0 ? false : _b, errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isRequired, isRequired = _d === void 0 ? false : _d, label = _a.label, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _e = _a.size, size = _e === void 0 ? "l" : _e, value = _a.value, _f = _a.checkboxAlignment, checkboxAlignment = _f === void 0 ? "center" : _f, props = filterDataAttrs.__rest(_a, ["checked", "errorMessage", "helper", "id", "isDisabled", "isRequired", "label", "name", "onBlur", "onChange", "size", "value", "checkboxAlignment"]);
27
- var requirementStatus = React.useContext(FormControl.Context).requirementStatus;
28
- var surface = React.useContext(Surface.Context).surface;
29
- var _g = FormControl.useAriaDescribedby({
30
- id: id,
31
- errorMessage: errorMessage
32
- }), ariaDescribedby = _g.ariaDescribedby, idError = _g.idError;
33
- var idLabel = "".concat(id, "-label");
34
- var checkedProps = {};
35
- if (typeof onChange === "function") {
36
- checkedProps.checked = checked;
37
- }
38
- else if (checked && !onChange) {
39
- checkedProps.defaultChecked = true;
40
- }
41
- if (requirementStatus === "required") {
42
- isRequired = true;
43
- }
44
- return (React__default["default"].createElement("div", { className: index.classNames({
45
- "arc-Checkbox": true,
46
- "arc-Checkbox--disabled": isDisabled,
47
- "arc-Checkbox--invalid": errorMessage,
48
- "arc-Checkbox--small": size === "s",
49
- "arc-Checkbox--onDarkSurface": surface === "dark"
50
- }) },
51
- React__default["default"].createElement("label", { id: idLabel, htmlFor: id, className: index.classNames("arc-Checkbox-label", {
52
- "arc-Checkbox-label--top": checkboxAlignment === "top"
53
- }) },
54
- React__default["default"].createElement("input", filterDataAttrs.__assign({ "aria-describedby": ariaDescribedby, "aria-invalid": errorMessage ? "true" : "false", className: "arc-Checkbox-input" }, checkedProps, { disabled: isDisabled, id: id, name: name, onBlur: onBlur, onChange: onChange, ref: ref, required: isRequired, type: "checkbox", value: value }, filterDataAttrs.filterDataAttrs(props))),
55
- React__default["default"].createElement("span", { className: "arc-Checkbox-box" },
56
- React__default["default"].createElement(BtIconTickAlt2Px.BtIconTickAlt2Px_2, null)),
57
- React__default["default"].createElement("span", filterDataAttrs.__assign({}, (checkboxAlignment === "top" && {
58
- className: "arc-Checkbox-content--marginTop"
59
- })),
60
- label,
61
- !isRequired && requirementStatus !== "optional" ? (React__default["default"].createElement("span", { className: "arc-Checkbox-labelOptional" }, "(optional)")) : null,
62
- helper && React__default["default"].createElement("span", { className: "arc-Checkbox-helper" }, helper))),
63
- errorMessage && (React__default["default"].createElement("div", { id: idError, className: "arc-Checkbox-error" },
64
- React__default["default"].createElement("span", { className: "arc-Checkbox-error--icon" },
65
- React__default["default"].createElement(BtIconAlert.BtIconAlert_2, null)),
66
- errorMessage))));
67
- });
68
-
69
- exports.Checkbox = Checkbox;
20
+ exports.Checkbox = Checkbox.Checkbox;
@@ -1,64 +1 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- type EventType = React.ChangeEvent<HTMLInputElement>;
4
- /**
5
- * Use `Checkbox` to allow users to select individual options.
6
- */
7
- declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
8
- interface CheckboxProps {
9
- /**
10
- * Error message for the Checkbox.
11
- */
12
- errorMessage?: string;
13
- /**
14
- * Helper text for the Checkbox, shown below the label.
15
- */
16
- helper?: React.ReactNode;
17
- /**
18
- * Determine the alignment the Checkbox.
19
- *
20
- */
21
- checkboxAlignment?: "top" | "center";
22
- /**
23
- * ID for the Checkbox.
24
- */
25
- id: string;
26
- /**
27
- * Is the input checked?
28
- */
29
- checked?: boolean;
30
- /**
31
- * `isDisabled` is a legacy property and not recommended from a UX usability best practice perspective.
32
- */
33
- isDisabled?: boolean;
34
- /**
35
- * Is the Checkbox required?
36
- */
37
- isRequired?: boolean;
38
- /**
39
- * Label for the Checkbox.
40
- */
41
- label: React.ReactNode;
42
- /**
43
- * Name for the Checkbox.
44
- */
45
- name?: string;
46
- /**
47
- * Function to call when the Checkbox loses focus.
48
- */
49
- onBlur?: (e: EventType) => void;
50
- /**
51
- * Callback function to update the Checkbox's controlled `checked` prop, for
52
- * example `e => setChecked(e.target.checked)`.
53
- */
54
- onChange?: (event: EventType) => void;
55
- /**
56
- * Size of the Checkbox.
57
- */
58
- size?: "s" | "l";
59
- /**
60
- * Value for the Checkbox.
61
- */
62
- value?: string;
63
- }
64
- export { Checkbox };
1
+ export { Checkbox } from "../_shared/esm/Checkbox-2d144384";
@@ -1,61 +1,12 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-afdb7d32.js';
2
- import React__default, { forwardRef, useContext } from 'react';
3
- import { B as BtIconTickAlt2Px_2 } from '../_shared/esm/BtIconTickAlt2Px-da97e9ae.js';
4
- import { B as BtIconAlert_2 } from '../_shared/esm/BtIconAlert-55a6ed5c.js';
5
- import { c as classNames } from '../_shared/esm/index-2ae58626.js';
6
- import { C as Context, u as useAriaDescribedby } from '../_shared/esm/FormControl-0744f93f.js';
7
- import { C as Context$1 } from '../_shared/esm/Surface-bb100ef8.js';
8
- import '../_shared/esm/DisclosureMini-322fccc0.js';
1
+ export { C as Checkbox } from '../_shared/esm/Checkbox-2d144384.js';
2
+ import '../_shared/esm/filter-data-attrs-afdb7d32.js';
3
+ import 'react';
4
+ import '../_shared/esm/BtIconTickAlt2Px-da97e9ae.js';
5
+ import '../_shared/esm/BtIconAlert-55a6ed5c.js';
6
+ import '../_shared/esm/index-2ae58626.js';
7
+ import '../_shared/esm/FormControl-2fa7aae5.js';
8
+ import '../_shared/esm/Surface-dde51789.js';
9
+ import '../_shared/esm/DisclosureMini-78a8f392.js';
9
10
  import '../_shared/esm/BtIconChevronDown2Px-782876e2.js';
10
- import '../_shared/esm/Text-00e9743b.js';
11
+ import '../_shared/esm/Text-14deb70e.js';
11
12
  import '../_shared/esm/suffix-modifier-7e640670.js';
12
- import '../_shared/esm/VerticalSpace-93980c9c.js';
13
-
14
- /**
15
- * Use `Checkbox` to allow users to select individual options.
16
- */
17
- var Checkbox = forwardRef(function (_a, ref) {
18
- var _b = _a.checked, checked = _b === void 0 ? false : _b, errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isRequired, isRequired = _d === void 0 ? false : _d, label = _a.label, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _e = _a.size, size = _e === void 0 ? "l" : _e, value = _a.value, _f = _a.checkboxAlignment, checkboxAlignment = _f === void 0 ? "center" : _f, props = __rest(_a, ["checked", "errorMessage", "helper", "id", "isDisabled", "isRequired", "label", "name", "onBlur", "onChange", "size", "value", "checkboxAlignment"]);
19
- var requirementStatus = useContext(Context).requirementStatus;
20
- var surface = useContext(Context$1).surface;
21
- var _g = useAriaDescribedby({
22
- id: id,
23
- errorMessage: errorMessage
24
- }), ariaDescribedby = _g.ariaDescribedby, idError = _g.idError;
25
- var idLabel = "".concat(id, "-label");
26
- var checkedProps = {};
27
- if (typeof onChange === "function") {
28
- checkedProps.checked = checked;
29
- }
30
- else if (checked && !onChange) {
31
- checkedProps.defaultChecked = true;
32
- }
33
- if (requirementStatus === "required") {
34
- isRequired = true;
35
- }
36
- return (React__default.createElement("div", { className: classNames({
37
- "arc-Checkbox": true,
38
- "arc-Checkbox--disabled": isDisabled,
39
- "arc-Checkbox--invalid": errorMessage,
40
- "arc-Checkbox--small": size === "s",
41
- "arc-Checkbox--onDarkSurface": surface === "dark"
42
- }) },
43
- React__default.createElement("label", { id: idLabel, htmlFor: id, className: classNames("arc-Checkbox-label", {
44
- "arc-Checkbox-label--top": checkboxAlignment === "top"
45
- }) },
46
- React__default.createElement("input", __assign({ "aria-describedby": ariaDescribedby, "aria-invalid": errorMessage ? "true" : "false", className: "arc-Checkbox-input" }, checkedProps, { disabled: isDisabled, id: id, name: name, onBlur: onBlur, onChange: onChange, ref: ref, required: isRequired, type: "checkbox", value: value }, filterDataAttrs(props))),
47
- React__default.createElement("span", { className: "arc-Checkbox-box" },
48
- React__default.createElement(BtIconTickAlt2Px_2, null)),
49
- React__default.createElement("span", __assign({}, (checkboxAlignment === "top" && {
50
- className: "arc-Checkbox-content--marginTop"
51
- })),
52
- label,
53
- !isRequired && requirementStatus !== "optional" ? (React__default.createElement("span", { className: "arc-Checkbox-labelOptional" }, "(optional)")) : null,
54
- helper && React__default.createElement("span", { className: "arc-Checkbox-helper" }, helper))),
55
- errorMessage && (React__default.createElement("div", { id: idError, className: "arc-Checkbox-error" },
56
- React__default.createElement("span", { className: "arc-Checkbox-error--icon" },
57
- React__default.createElement(BtIconAlert_2, null)),
58
- errorMessage))));
59
- });
60
-
61
- export { Checkbox };
@@ -1,76 +1 @@
1
- import { FC, ReactNode } from "react";
2
- /**
3
- * Use `Columns` to compose layouts on a 12-column grid.
4
- */
5
- declare const Columns: FC<ColumnsProps> & {
6
- Col: typeof Col;
7
- };
8
- declare const Col: FC<ColProps>;
9
- type Span = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
10
- type Offset = "0" | "24" | "48" | "72" | "96" | "120" | "144" | "168" | "192" | "216" | "240" | "264" | "288" | "312" | "336" | "360" | "384";
11
- interface ColProps {
12
- /**
13
- * Vertically align the Column.
14
- */
15
- align?: "top" | "center" | "bottom";
16
- /**
17
- * Content to display in the Column.
18
- */
19
- children?: ReactNode;
20
- /**
21
- * Should the Column be visible for debugging and documentation
22
- * purposes?
23
- */
24
- isDebugVisible?: boolean;
25
- /**
26
- * Overlay the column over the previous content on the default breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
27
- */
28
- offset?: Offset;
29
- /**
30
- * Overlay the column over the previous content on the S breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
31
- */
32
- offsetS?: Offset;
33
- /**
34
- * Overlay the column over the previous content on the M breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
35
- */
36
- offsetM?: Offset;
37
- /**
38
- * Overlay the column over the previous content on the L breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
39
- */
40
- offsetL?: Offset;
41
- /**
42
- * Overlay the column over the previous content on the XL breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
43
- */
44
- offsetXL?: Offset;
45
- /**
46
- * The number of columns to span on the default breakpoint and above, from 1 to 12.
47
- */
48
- span?: Span;
49
- /**
50
- * The number of columns to span on the S breakpoint and above, from 1 to 12.
51
- */
52
- spanS?: Span;
53
- /**
54
- * The number of columns to span on the M breakpoint and above, from 1 to 12.
55
- */
56
- spanM?: Span;
57
- /**
58
- * The number of columns to span on the L breakpoint and above, from 1 to 12.
59
- */
60
- spanL?: Span;
61
- /**
62
- * The number of columns to span on the XL breakpoint and above, from 1 to 12.
63
- */
64
- spanXL?: Span;
65
- }
66
- interface ColumnsProps {
67
- /**
68
- * Contents of the Columns. Should only contain `Columns.Col`.
69
- */
70
- children: ReactNode;
71
- /**
72
- * Should the Columns be gutterless?
73
- */
74
- isGutterless?: boolean;
75
- }
76
- export { Columns };
1
+ export { Columns } from "../_shared/cjs/Columns-e90798f8";
@@ -2,58 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
6
- var index = require('../_shared/cjs/index-45bfb67b.js');
7
- var React = require('react');
8
- var suffixModifier = require('../_shared/cjs/suffix-modifier-1ee2da04.js');
5
+ var Columns = require('../_shared/cjs/Columns-e90798f8.js');
6
+ require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
7
+ require('../_shared/cjs/index-45bfb67b.js');
8
+ require('react');
9
+ require('../_shared/cjs/suffix-modifier-1ee2da04.js');
9
10
 
10
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
11
 
12
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
12
 
14
- /**
15
- * Use `Columns` to compose layouts on a 12-column grid.
16
- */
17
- var Columns = function (_a) {
18
- var children = _a.children, _b = _a.isGutterless, isGutterless = _b === void 0 ? false : _b, props = filterDataAttrs.__rest(_a, ["children", "isGutterless"]);
19
- React.useEffect(function () {
20
- React__default["default"].Children.map(children, function (item) {
21
- if (item && item.type !== Col) {
22
- throw new Error("Illegal child passed to <Columns />. Ensure to only use <Columns.Col />.");
23
- }
24
- });
25
- }, [children]);
26
- return (React__default["default"].createElement("div", filterDataAttrs.__assign({ className: index.classNames({
27
- "arc-Columns": true,
28
- "arc-Columns--gutterless": isGutterless
29
- }) }, filterDataAttrs.filterDataAttrs(props)),
30
- React__default["default"].createElement("div", { className: "arc-Columns-inner" }, children)));
31
- };
32
- var Col = function (_a) {
33
- var _b;
34
- var align = _a.align, children = _a.children, _c = _a.isDebugVisible, isDebugVisible = _c === void 0 ? false : _c, offset = _a.offset, offsetS = _a.offsetS, offsetM = _a.offsetM, offsetL = _a.offsetL, offsetXL = _a.offsetXL, span = _a.span, spanS = _a.spanS, spanM = _a.spanM, spanL = _a.spanL, spanXL = _a.spanXL, props = filterDataAttrs.__rest(_a, ["align", "children", "isDebugVisible", "offset", "offsetS", "offsetM", "offsetL", "offsetXL", "span", "spanS", "spanM", "spanL", "spanXL"]);
35
- return (React__default["default"].createElement("div", filterDataAttrs.__assign({ className: index.classNames((_b = {},
36
- _b["arc-Columns-col"] = true,
37
- _b[suffixModifier.suffixModifier("arc-Columns-col--align", align || "")] = align,
38
- _b["arc-Columns-col--".concat(span)] = typeof span !== "undefined",
39
- _b["arc-Columns-col--s".concat(spanS)] = typeof spanS !== "undefined",
40
- _b["arc-Columns-col--m".concat(spanM)] = typeof spanM !== "undefined",
41
- _b["arc-Columns-col--l".concat(spanL)] = typeof spanL !== "undefined",
42
- _b["arc-Columns-col--xL".concat(spanXL)] = typeof spanXL !== "undefined",
43
- _b["arc-Columns-col--offset"] = typeof offset !== "undefined" ||
44
- typeof offsetS !== "undefined" ||
45
- typeof offsetM !== "undefined" ||
46
- typeof offsetL !== "undefined" ||
47
- typeof offsetXL !== "undefined",
48
- _b["arc-Columns-col--offset".concat(offset)] = typeof offset !== "undefined",
49
- _b["arc-Columns-col--offsetS".concat(offsetS)] = typeof offsetS !== "undefined",
50
- _b["arc-Columns-col--offsetM".concat(offsetM)] = typeof offsetM !== "undefined",
51
- _b["arc-Columns-col--offsetL".concat(offsetL)] = typeof offsetL !== "undefined",
52
- _b["arc-Columns-col--offsetXL".concat(offsetXL)] = typeof offsetXL !== "undefined",
53
- _b["arc-Columns-col--debugVisible"] = isDebugVisible,
54
- _b)) }, filterDataAttrs.filterDataAttrs(props)), children));
55
- };
56
- Col.displayName = "Columns.Col";
57
- Columns.Col = Col;
58
-
59
- exports.Columns = Columns;
13
+ exports.Columns = Columns.Columns;
@@ -1,76 +1 @@
1
- import { FC, ReactNode } from "react";
2
- /**
3
- * Use `Columns` to compose layouts on a 12-column grid.
4
- */
5
- declare const Columns: FC<ColumnsProps> & {
6
- Col: typeof Col;
7
- };
8
- declare const Col: FC<ColProps>;
9
- type Span = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
10
- type Offset = "0" | "24" | "48" | "72" | "96" | "120" | "144" | "168" | "192" | "216" | "240" | "264" | "288" | "312" | "336" | "360" | "384";
11
- interface ColProps {
12
- /**
13
- * Vertically align the Column.
14
- */
15
- align?: "top" | "center" | "bottom";
16
- /**
17
- * Content to display in the Column.
18
- */
19
- children?: ReactNode;
20
- /**
21
- * Should the Column be visible for debugging and documentation
22
- * purposes?
23
- */
24
- isDebugVisible?: boolean;
25
- /**
26
- * Overlay the column over the previous content on the default breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
27
- */
28
- offset?: Offset;
29
- /**
30
- * Overlay the column over the previous content on the S breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
31
- */
32
- offsetS?: Offset;
33
- /**
34
- * Overlay the column over the previous content on the M breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
35
- */
36
- offsetM?: Offset;
37
- /**
38
- * Overlay the column over the previous content on the L breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
39
- */
40
- offsetL?: Offset;
41
- /**
42
- * Overlay the column over the previous content on the XL breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
43
- */
44
- offsetXL?: Offset;
45
- /**
46
- * The number of columns to span on the default breakpoint and above, from 1 to 12.
47
- */
48
- span?: Span;
49
- /**
50
- * The number of columns to span on the S breakpoint and above, from 1 to 12.
51
- */
52
- spanS?: Span;
53
- /**
54
- * The number of columns to span on the M breakpoint and above, from 1 to 12.
55
- */
56
- spanM?: Span;
57
- /**
58
- * The number of columns to span on the L breakpoint and above, from 1 to 12.
59
- */
60
- spanL?: Span;
61
- /**
62
- * The number of columns to span on the XL breakpoint and above, from 1 to 12.
63
- */
64
- spanXL?: Span;
65
- }
66
- interface ColumnsProps {
67
- /**
68
- * Contents of the Columns. Should only contain `Columns.Col`.
69
- */
70
- children: ReactNode;
71
- /**
72
- * Should the Columns be gutterless?
73
- */
74
- isGutterless?: boolean;
75
- }
76
- export { Columns };
1
+ export { Columns } from "../_shared/esm/Columns-8704515b";
@@ -1,51 +1,5 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-afdb7d32.js';
2
- import { c as classNames } from '../_shared/esm/index-2ae58626.js';
3
- import React__default, { useEffect } from 'react';
4
- import { s as suffixModifier } from '../_shared/esm/suffix-modifier-7e640670.js';
5
-
6
- /**
7
- * Use `Columns` to compose layouts on a 12-column grid.
8
- */
9
- var Columns = function (_a) {
10
- var children = _a.children, _b = _a.isGutterless, isGutterless = _b === void 0 ? false : _b, props = __rest(_a, ["children", "isGutterless"]);
11
- useEffect(function () {
12
- React__default.Children.map(children, function (item) {
13
- if (item && item.type !== Col) {
14
- throw new Error("Illegal child passed to <Columns />. Ensure to only use <Columns.Col />.");
15
- }
16
- });
17
- }, [children]);
18
- return (React__default.createElement("div", __assign({ className: classNames({
19
- "arc-Columns": true,
20
- "arc-Columns--gutterless": isGutterless
21
- }) }, filterDataAttrs(props)),
22
- React__default.createElement("div", { className: "arc-Columns-inner" }, children)));
23
- };
24
- var Col = function (_a) {
25
- var _b;
26
- var align = _a.align, children = _a.children, _c = _a.isDebugVisible, isDebugVisible = _c === void 0 ? false : _c, offset = _a.offset, offsetS = _a.offsetS, offsetM = _a.offsetM, offsetL = _a.offsetL, offsetXL = _a.offsetXL, span = _a.span, spanS = _a.spanS, spanM = _a.spanM, spanL = _a.spanL, spanXL = _a.spanXL, props = __rest(_a, ["align", "children", "isDebugVisible", "offset", "offsetS", "offsetM", "offsetL", "offsetXL", "span", "spanS", "spanM", "spanL", "spanXL"]);
27
- return (React__default.createElement("div", __assign({ className: classNames((_b = {},
28
- _b["arc-Columns-col"] = true,
29
- _b[suffixModifier("arc-Columns-col--align", align || "")] = align,
30
- _b["arc-Columns-col--".concat(span)] = typeof span !== "undefined",
31
- _b["arc-Columns-col--s".concat(spanS)] = typeof spanS !== "undefined",
32
- _b["arc-Columns-col--m".concat(spanM)] = typeof spanM !== "undefined",
33
- _b["arc-Columns-col--l".concat(spanL)] = typeof spanL !== "undefined",
34
- _b["arc-Columns-col--xL".concat(spanXL)] = typeof spanXL !== "undefined",
35
- _b["arc-Columns-col--offset"] = typeof offset !== "undefined" ||
36
- typeof offsetS !== "undefined" ||
37
- typeof offsetM !== "undefined" ||
38
- typeof offsetL !== "undefined" ||
39
- typeof offsetXL !== "undefined",
40
- _b["arc-Columns-col--offset".concat(offset)] = typeof offset !== "undefined",
41
- _b["arc-Columns-col--offsetS".concat(offsetS)] = typeof offsetS !== "undefined",
42
- _b["arc-Columns-col--offsetM".concat(offsetM)] = typeof offsetM !== "undefined",
43
- _b["arc-Columns-col--offsetL".concat(offsetL)] = typeof offsetL !== "undefined",
44
- _b["arc-Columns-col--offsetXL".concat(offsetXL)] = typeof offsetXL !== "undefined",
45
- _b["arc-Columns-col--debugVisible"] = isDebugVisible,
46
- _b)) }, filterDataAttrs(props)), children));
47
- };
48
- Col.displayName = "Columns.Col";
49
- Columns.Col = Col;
50
-
51
- export { Columns };
1
+ export { C as Columns } from '../_shared/esm/Columns-8704515b.js';
2
+ import '../_shared/esm/filter-data-attrs-afdb7d32.js';
3
+ import '../_shared/esm/index-2ae58626.js';
4
+ import 'react';
5
+ import '../_shared/esm/suffix-modifier-7e640670.js';
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode } from "react";
2
- import { HeadingLevel } from "../_shared/cjs/Heading-d45f6a7f";
2
+ import { HeadingLevel } from "../_shared/cjs/Heading-ed1cb455";
3
3
  /**
4
4
  * Use `Disclosure` to display content that is only visible when toggled into
5
5
  * an "open" state.
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
6
6
  var index = require('../_shared/cjs/index-45bfb67b.js');
7
7
  var React = require('react');
8
- var Heading = require('../_shared/cjs/Heading-d45f6a7f.js');
8
+ var Heading = require('../_shared/cjs/Heading-ed1cb455.js');
9
9
  var BtIconChevronDown2Px = require('../_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js');
10
- var Surface = require('../_shared/cjs/Surface-6da0a78e.js');
10
+ var Surface = require('../_shared/cjs/Surface-b7c51b2b.js');
11
11
  require('../_shared/cjs/suffix-modifier-1ee2da04.js');
12
12
 
13
13
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode } from "react";
2
- import { HeadingLevel } from "../_shared/esm/Heading-b61432fb";
2
+ import { HeadingLevel } from "../_shared/esm/Heading-ee6bec51";
3
3
  /**
4
4
  * Use `Disclosure` to display content that is only visible when toggled into
5
5
  * an "open" state.
@@ -1,9 +1,9 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-afdb7d32.js';
2
2
  import { c as classNames } from '../_shared/esm/index-2ae58626.js';
3
3
  import React__default, { useContext } from 'react';
4
- import { H as Heading } from '../_shared/esm/Heading-b61432fb.js';
4
+ import { H as Heading } from '../_shared/esm/Heading-ee6bec51.js';
5
5
  import { B as BtIconChevronDown2Px_2 } from '../_shared/esm/BtIconChevronDown2Px-782876e2.js';
6
- import { C as Context } from '../_shared/esm/Surface-bb100ef8.js';
6
+ import { C as Context } from '../_shared/esm/Surface-dde51789.js';
7
7
  import '../_shared/esm/suffix-modifier-7e640670.js';
8
8
 
9
9
  /**
@@ -1 +1 @@
1
- export { DisclosureMini } from "../_shared/cjs/DisclosureMini-5af13d3c";
1
+ export { DisclosureMini } from "../_shared/cjs/DisclosureMini-2a10006e";
@@ -2,14 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var DisclosureMini = require('../_shared/cjs/DisclosureMini-5af13d3c.js');
5
+ var DisclosureMini = require('../_shared/cjs/DisclosureMini-2a10006e.js');
6
6
  require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
7
7
  require('../_shared/cjs/index-45bfb67b.js');
8
8
  require('react');
9
9
  require('../_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js');
10
- require('../_shared/cjs/Text-6f2827e6.js');
10
+ require('../_shared/cjs/Text-555a29a4.js');
11
11
  require('../_shared/cjs/suffix-modifier-1ee2da04.js');
12
- require('../_shared/cjs/Surface-6da0a78e.js');
12
+ require('../_shared/cjs/Surface-b7c51b2b.js');
13
13
 
14
14
 
15
15
 
@@ -1 +1 @@
1
- export { DisclosureMini } from "../_shared/esm/DisclosureMini-322fccc0";
1
+ export { DisclosureMini } from "../_shared/esm/DisclosureMini-78a8f392";
@@ -1,8 +1,8 @@
1
- export { D as DisclosureMini } from '../_shared/esm/DisclosureMini-322fccc0.js';
1
+ export { D as DisclosureMini } from '../_shared/esm/DisclosureMini-78a8f392.js';
2
2
  import '../_shared/esm/filter-data-attrs-afdb7d32.js';
3
3
  import '../_shared/esm/index-2ae58626.js';
4
4
  import 'react';
5
5
  import '../_shared/esm/BtIconChevronDown2Px-782876e2.js';
6
- import '../_shared/esm/Text-00e9743b.js';
6
+ import '../_shared/esm/Text-14deb70e.js';
7
7
  import '../_shared/esm/suffix-modifier-7e640670.js';
8
- import '../_shared/esm/Surface-bb100ef8.js';
8
+ import '../_shared/esm/Surface-dde51789.js';
@@ -0,0 +1 @@
1
+ export { Filter } from "../_shared/cjs/Filter-a7574fe7";
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var Filter = require('../_shared/cjs/Filter-a7574fe7.js');
6
+ require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
7
+ require('react');
8
+ require('../_shared/cjs/Surface-b7c51b2b.js');
9
+ require('../_shared/cjs/index-45bfb67b.js');
10
+
11
+
12
+
13
+ exports.Filter = Filter.Filter;
@@ -0,0 +1 @@
1
+ export { Filter } from "../_shared/esm/Filter-a01aed11";
@@ -0,0 +1,5 @@
1
+ export { F as Filter } from '../_shared/esm/Filter-a01aed11.js';
2
+ import '../_shared/esm/filter-data-attrs-afdb7d32.js';
3
+ import 'react';
4
+ import '../_shared/esm/Surface-dde51789.js';
5
+ import '../_shared/esm/index-2ae58626.js';
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "@arc-ui/filter",
3
+ "types": "./Filter.esm.d.ts",
4
+ "main": "./Filter.cjs.js",
5
+ "module": "./Filter.esm.js",
6
+ "private": true
7
+ }
@@ -1 +1 @@
1
- export { FormControl, FormControlContext } from "../_shared/cjs/FormControl-42360ae8";
1
+ export { FormControl, FormControlContext } from "../_shared/cjs/FormControl-78b007b7";