@arc-ui/components 11.4.2 → 11.6.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 (341) hide show
  1. package/dist/Alert/Alert.cjs.d.ts +57 -0
  2. package/dist/Alert/Alert.cjs.js +142 -0
  3. package/dist/Alert/Alert.esm.d.ts +57 -0
  4. package/dist/Alert/Alert.esm.js +134 -0
  5. package/dist/Alert/package.json +7 -0
  6. package/dist/Align/Align.cjs.js +6 -6
  7. package/dist/Align/Align.esm.js +2 -2
  8. package/dist/Badge/Badge.cjs.js +7 -7
  9. package/dist/Badge/Badge.esm.js +4 -4
  10. package/dist/Base/Base.cjs.d.ts +1 -1
  11. package/dist/Base/Base.cjs.js +2 -2
  12. package/dist/Base/Base.esm.d.ts +1 -1
  13. package/dist/Base/Base.esm.js +2 -2
  14. package/dist/BrandLogo/BrandLogo.cjs.d.ts +1 -1
  15. package/dist/BrandLogo/BrandLogo.cjs.js +4 -4
  16. package/dist/BrandLogo/BrandLogo.esm.d.ts +1 -1
  17. package/dist/BrandLogo/BrandLogo.esm.js +4 -4
  18. package/dist/Breadcrumbs/Breadcrumbs.cjs.d.ts +1 -61
  19. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +11 -643
  20. package/dist/Breadcrumbs/Breadcrumbs.esm.d.ts +1 -61
  21. package/dist/Breadcrumbs/Breadcrumbs.esm.js +10 -642
  22. package/dist/Button/Button.cjs.d.ts +1 -1
  23. package/dist/Button/Button.cjs.js +6 -5
  24. package/dist/Button/Button.esm.d.ts +1 -1
  25. package/dist/Button/Button.esm.js +6 -5
  26. package/dist/Card/Card.cjs.d.ts +1 -130
  27. package/dist/Card/Card.cjs.js +12 -119
  28. package/dist/Card/Card.esm.d.ts +1 -130
  29. package/dist/Card/Card.esm.js +11 -118
  30. package/dist/Checkbox/Checkbox.cjs.d.ts +1 -59
  31. package/dist/Checkbox/Checkbox.cjs.js +13 -55
  32. package/dist/Checkbox/Checkbox.esm.d.ts +1 -59
  33. package/dist/Checkbox/Checkbox.esm.js +12 -54
  34. package/dist/Clock/Clock.cjs.js +6 -6
  35. package/dist/Clock/Clock.esm.js +1 -1
  36. package/dist/Columns/Columns.cjs.d.ts +1 -76
  37. package/dist/Columns/Columns.cjs.js +6 -52
  38. package/dist/Columns/Columns.esm.d.ts +1 -76
  39. package/dist/Columns/Columns.esm.js +5 -51
  40. package/dist/Curve/Curve.cjs.d.ts +1 -1
  41. package/dist/Curve/Curve.cjs.js +3 -3
  42. package/dist/Curve/Curve.esm.d.ts +1 -1
  43. package/dist/Curve/Curve.esm.js +3 -3
  44. package/dist/Disclosure/Disclosure.cjs.d.ts +1 -1
  45. package/dist/Disclosure/Disclosure.cjs.js +8 -8
  46. package/dist/Disclosure/Disclosure.esm.d.ts +1 -1
  47. package/dist/Disclosure/Disclosure.esm.js +4 -4
  48. package/dist/DisclosureMini/DisclosureMini.cjs.d.ts +1 -0
  49. package/dist/DisclosureMini/DisclosureMini.cjs.js +16 -0
  50. package/dist/DisclosureMini/DisclosureMini.esm.d.ts +1 -0
  51. package/dist/DisclosureMini/DisclosureMini.esm.js +8 -0
  52. package/dist/DisclosureMini/package.json +7 -0
  53. package/dist/Elevation/Elevation.cjs.d.ts +4 -0
  54. package/dist/Elevation/Elevation.cjs.js +7 -5
  55. package/dist/Elevation/Elevation.esm.d.ts +4 -0
  56. package/dist/Elevation/Elevation.esm.js +4 -2
  57. package/dist/Filter/Filter.cjs.d.ts +1 -0
  58. package/dist/Filter/Filter.cjs.js +13 -0
  59. package/dist/Filter/Filter.esm.d.ts +1 -0
  60. package/dist/Filter/Filter.esm.js +5 -0
  61. package/dist/Filter/package.json +7 -0
  62. package/dist/FormControl/FormControl.cjs.d.ts +1 -1
  63. package/dist/FormControl/FormControl.cjs.js +8 -6
  64. package/dist/FormControl/FormControl.esm.d.ts +1 -1
  65. package/dist/FormControl/FormControl.esm.js +8 -6
  66. package/dist/Group/Group.cjs.d.ts +1 -46
  67. package/dist/Group/Group.cjs.js +6 -43
  68. package/dist/Group/Group.esm.d.ts +1 -46
  69. package/dist/Group/Group.esm.js +5 -42
  70. package/dist/Heading/Heading.cjs.d.ts +1 -1
  71. package/dist/Heading/Heading.cjs.js +4 -4
  72. package/dist/Heading/Heading.esm.d.ts +1 -1
  73. package/dist/Heading/Heading.esm.js +4 -4
  74. package/dist/Icon/Icon.cjs.d.ts +1 -1
  75. package/dist/Icon/Icon.cjs.js +4 -4
  76. package/dist/Icon/Icon.esm.d.ts +1 -1
  77. package/dist/Icon/Icon.esm.js +4 -4
  78. package/dist/Image/Image.cjs.d.ts +1 -1
  79. package/dist/Image/Image.cjs.js +3 -3
  80. package/dist/Image/Image.esm.d.ts +1 -1
  81. package/dist/Image/Image.esm.js +3 -3
  82. package/dist/Markup/Markup.cjs.js +6 -6
  83. package/dist/Markup/Markup.esm.js +2 -2
  84. package/dist/Pagination/Pagination.cjs.d.ts +20 -0
  85. package/dist/Pagination/Pagination.cjs.js +87 -0
  86. package/dist/Pagination/Pagination.esm.d.ts +20 -0
  87. package/dist/Pagination/Pagination.esm.js +79 -0
  88. package/dist/Pagination/package.json +7 -0
  89. package/dist/PaginationSimple/PaginationSimple.cjs.d.ts +28 -0
  90. package/dist/PaginationSimple/PaginationSimple.cjs.js +47 -0
  91. package/dist/PaginationSimple/PaginationSimple.esm.d.ts +28 -0
  92. package/dist/PaginationSimple/PaginationSimple.esm.js +39 -0
  93. package/dist/PaginationSimple/package.json +7 -0
  94. package/dist/Poster/Poster.cjs.d.ts +1 -81
  95. package/dist/Poster/Poster.cjs.js +8 -45
  96. package/dist/Poster/Poster.esm.d.ts +1 -81
  97. package/dist/Poster/Poster.esm.js +7 -44
  98. package/dist/ProgressBar/ProgressBar.cjs.js +22 -41
  99. package/dist/ProgressBar/ProgressBar.esm.js +13 -32
  100. package/dist/RadioGroup/RadioGroup.cjs.d.ts +1 -85
  101. package/dist/RadioGroup/RadioGroup.cjs.js +12 -68
  102. package/dist/RadioGroup/RadioGroup.esm.d.ts +1 -85
  103. package/dist/RadioGroup/RadioGroup.esm.js +11 -67
  104. package/dist/Rule/Rule.cjs.js +5 -5
  105. package/dist/Rule/Rule.esm.js +2 -2
  106. package/dist/ScrollToTop/ScrollToTop.cjs.d.ts +25 -0
  107. package/dist/ScrollToTop/ScrollToTop.cjs.js +68 -0
  108. package/dist/ScrollToTop/ScrollToTop.esm.d.ts +25 -0
  109. package/dist/ScrollToTop/ScrollToTop.esm.js +60 -0
  110. package/dist/ScrollToTop/package.json +7 -0
  111. package/dist/Section/Section.cjs.d.ts +1 -1
  112. package/dist/Section/Section.cjs.js +2 -2
  113. package/dist/Section/Section.esm.d.ts +1 -1
  114. package/dist/Section/Section.esm.js +2 -2
  115. package/dist/Select/Select.cjs.d.ts +2 -2
  116. package/dist/Select/Select.cjs.js +9 -8
  117. package/dist/Select/Select.esm.d.ts +2 -2
  118. package/dist/Select/Select.esm.js +9 -8
  119. package/dist/SiteFooter/SiteFooter.cjs.d.ts +2 -62
  120. package/dist/SiteFooter/SiteFooter.cjs.js +14 -69
  121. package/dist/SiteFooter/SiteFooter.esm.d.ts +2 -62
  122. package/dist/SiteFooter/SiteFooter.esm.js +13 -67
  123. package/dist/SiteHeader/SiteHeader.cjs.d.ts +2 -252
  124. package/dist/SiteHeader/SiteHeader.cjs.js +17 -661
  125. package/dist/SiteHeader/SiteHeader.esm.d.ts +2 -252
  126. package/dist/SiteHeader/SiteHeader.esm.js +15 -659
  127. package/dist/Surface/Surface.cjs.d.ts +1 -1
  128. package/dist/Surface/Surface.cjs.js +2 -2
  129. package/dist/Surface/Surface.esm.d.ts +1 -1
  130. package/dist/Surface/Surface.esm.js +2 -2
  131. package/dist/Switch/Switch.cjs.d.ts +2 -2
  132. package/dist/Switch/Switch.cjs.js +10 -8
  133. package/dist/Switch/Switch.esm.d.ts +2 -2
  134. package/dist/Switch/Switch.esm.js +10 -8
  135. package/dist/Tag/Tag.cjs.js +39 -18
  136. package/dist/Tag/Tag.esm.js +31 -10
  137. package/dist/Text/Text.cjs.d.ts +1 -1
  138. package/dist/Text/Text.cjs.js +4 -4
  139. package/dist/Text/Text.esm.d.ts +1 -1
  140. package/dist/Text/Text.esm.js +4 -4
  141. package/dist/TextArea/TextArea.cjs.d.ts +61 -0
  142. package/dist/TextArea/TextArea.cjs.js +87 -0
  143. package/dist/TextArea/TextArea.esm.d.ts +61 -0
  144. package/dist/TextArea/TextArea.esm.js +79 -0
  145. package/dist/TextArea/package.json +7 -0
  146. package/dist/TextInput/TextInput.cjs.d.ts +1 -75
  147. package/dist/TextInput/TextInput.cjs.js +13 -76
  148. package/dist/TextInput/TextInput.esm.d.ts +1 -75
  149. package/dist/TextInput/TextInput.esm.js +12 -75
  150. package/dist/UniversalHeader/UniversalHeader.cjs.d.ts +1 -26
  151. package/dist/UniversalHeader/UniversalHeader.cjs.js +5 -30
  152. package/dist/UniversalHeader/UniversalHeader.esm.d.ts +1 -26
  153. package/dist/UniversalHeader/UniversalHeader.esm.js +4 -29
  154. package/dist/VerticalSpace/VerticalSpace.cjs.d.ts +1 -1
  155. package/dist/VerticalSpace/VerticalSpace.cjs.js +2 -2
  156. package/dist/VerticalSpace/VerticalSpace.esm.d.ts +1 -1
  157. package/dist/VerticalSpace/VerticalSpace.esm.js +2 -2
  158. package/dist/_shared/cjs/{Base-e2b846fe.js → Base-569e4334.js} +3 -3
  159. package/dist/_shared/cjs/{BrandLogo-3c6102ef.js → BrandLogo-8008f0c4.js} +7 -7
  160. package/dist/_shared/cjs/Breadcrumbs-8b554370.d.ts +61 -0
  161. package/dist/_shared/cjs/Breadcrumbs-8b554370.js +106 -0
  162. package/dist/_shared/cjs/BtIconAlert-637db790.js +38 -0
  163. package/dist/_shared/cjs/BtIconChevronLeftMid-df952a3e.js +31 -0
  164. package/dist/_shared/cjs/BtIconCrossAlt2Px-30dc2688.js +29 -0
  165. package/dist/_shared/cjs/{Button-1af6868c.js → Button-27512fee.js} +16 -37
  166. package/dist/_shared/cjs/Card-804ab0e5.d.ts +136 -0
  167. package/dist/_shared/cjs/Card-804ab0e5.js +124 -0
  168. package/dist/_shared/cjs/Checkbox-21d3c4f6.d.ts +64 -0
  169. package/dist/_shared/cjs/Checkbox-21d3c4f6.js +62 -0
  170. package/dist/_shared/cjs/Columns-e90798f8.d.ts +76 -0
  171. package/dist/_shared/cjs/Columns-e90798f8.js +57 -0
  172. package/dist/_shared/cjs/{Curve-e72ce25b.js → Curve-b05589d8.js} +6 -6
  173. package/dist/_shared/cjs/DisclosureMini-067e0319.d.ts +37 -0
  174. package/dist/_shared/cjs/DisclosureMini-067e0319.js +44 -0
  175. package/dist/_shared/cjs/Filter-f7d2fbda.d.ts +83 -0
  176. package/dist/_shared/cjs/Filter-f7d2fbda.js +121 -0
  177. package/dist/_shared/cjs/{FormControl-d4d9c665.d.ts → FormControl-9aaddd54.d.ts} +6 -29
  178. package/dist/_shared/cjs/FormControl-9aaddd54.js +96 -0
  179. package/dist/_shared/cjs/Group-d83f8c2e.d.ts +46 -0
  180. package/dist/_shared/cjs/Group-d83f8c2e.js +48 -0
  181. package/dist/_shared/cjs/{Heading-cc38c3ec.js → Heading-d45f6a7f.js} +7 -7
  182. package/dist/_shared/cjs/{Icon-719d13d4.js → Icon-9ae8dbe1.js} +7 -7
  183. package/dist/_shared/cjs/{Image-fe760a06.js → Image-3bf4b4f3.js} +8 -8
  184. package/dist/_shared/cjs/ItemGroup-5af4d600.d.ts +27 -0
  185. package/dist/_shared/cjs/NavItem-df20237c.d.ts +43 -0
  186. package/dist/_shared/cjs/NavItemWithSubNav-65f21828.d.ts +49 -0
  187. package/dist/_shared/cjs/Poster-e05bbe13.d.ts +81 -0
  188. package/dist/_shared/cjs/Poster-e05bbe13.js +50 -0
  189. package/dist/_shared/cjs/RadioGroup-81805ef9.d.ts +97 -0
  190. package/dist/_shared/cjs/RadioGroup-81805ef9.js +70 -0
  191. package/dist/_shared/cjs/{Section-780f2377.js → Section-48aca5f5.js} +5 -5
  192. package/dist/_shared/cjs/SiteFooter-c540b5f1.d.ts +62 -0
  193. package/dist/_shared/cjs/SiteFooter-c540b5f1.js +73 -0
  194. package/dist/_shared/cjs/SiteHeader-c25ee36e.d.ts +78 -0
  195. package/dist/_shared/cjs/SiteHeader.rehydrator-f7fa2efe.d.ts +78 -0
  196. package/dist/_shared/cjs/SiteHeader.rehydrator-f7fa2efe.js +673 -0
  197. package/dist/_shared/cjs/SubNavItem-a84d1bf4.d.ts +48 -0
  198. package/dist/_shared/cjs/{Surface-d6b8010e.js → Surface-6da0a78e.js} +8 -8
  199. package/dist/_shared/cjs/{Text-1d3844be.js → Text-6f2827e6.js} +7 -7
  200. package/dist/_shared/cjs/TextInput-33314fc4.d.ts +10 -0
  201. package/dist/_shared/cjs/TextInput-33314fc4.js +78 -0
  202. package/dist/_shared/cjs/TextInput-7ed03a48.d.ts +75 -0
  203. package/dist/_shared/cjs/UniversalHeader-cc1d9e5a.d.ts +26 -0
  204. package/dist/_shared/cjs/UniversalHeader-cc1d9e5a.js +35 -0
  205. package/dist/_shared/cjs/{VerticalSpace-7aed88ab.js → VerticalSpace-86f697e7.js} +5 -5
  206. package/dist/_shared/cjs/debounce-506538c5.js +544 -0
  207. package/dist/_shared/cjs/{index-78b35bc1.js → filter-data-attrs-a30dcf5f.js} +12 -12
  208. package/dist/_shared/cjs/index-699086a7.d.ts +2 -0
  209. package/dist/_shared/cjs/index-74488a9f.d.ts +2 -0
  210. package/dist/_shared/cjs/index-9483ad5f.d.ts +2 -2
  211. package/dist/_shared/cjs/index-c81c9401.d.ts +3 -3
  212. package/dist/_shared/cjs/index-e340924e.d.ts +2 -0
  213. package/dist/_shared/cjs/index-e6d20018.d.ts +3 -0
  214. package/dist/_shared/cjs/index-eb06f640.d.ts +2 -0
  215. package/dist/_shared/cjs/index-f419cf04.d.ts +2 -0
  216. package/dist/_shared/cjs/{suffix-modifier-edf7851e.js → suffix-modifier-1ee2da04.js} +2 -2
  217. package/dist/_shared/esm/{Base-c235dc45.js → Base-6c01e0ec.js} +1 -1
  218. package/dist/_shared/esm/{BrandLogo-4f13fe85.js → BrandLogo-56699561.js} +3 -3
  219. package/dist/_shared/esm/Breadcrumbs-04590057.d.ts +61 -0
  220. package/dist/_shared/esm/Breadcrumbs-04590057.js +100 -0
  221. package/dist/_shared/esm/BtIconAlert-55a6ed5c.js +32 -0
  222. package/dist/_shared/esm/BtIconChevronLeftMid-9f4f3a3d.js +25 -0
  223. package/dist/_shared/esm/BtIconCrossAlt2Px-a6a9f431.js +23 -0
  224. package/dist/_shared/esm/{Button-10700df4.js → Button-d319fa11.js} +6 -27
  225. package/dist/_shared/esm/Card-e79eb6c8.d.ts +136 -0
  226. package/dist/_shared/esm/Card-e79eb6c8.js +118 -0
  227. package/dist/_shared/esm/Checkbox-94300d8c.d.ts +64 -0
  228. package/dist/_shared/esm/Checkbox-94300d8c.js +56 -0
  229. package/dist/_shared/esm/Columns-8704515b.d.ts +76 -0
  230. package/dist/_shared/esm/Columns-8704515b.js +51 -0
  231. package/dist/_shared/esm/{Curve-50697f7e.js → Curve-3e87b1bc.js} +2 -2
  232. package/dist/_shared/esm/DisclosureMini-022beae3.d.ts +37 -0
  233. package/dist/_shared/esm/DisclosureMini-022beae3.js +38 -0
  234. package/dist/_shared/esm/Filter-41b391e3.d.ts +83 -0
  235. package/dist/_shared/esm/Filter-41b391e3.js +115 -0
  236. package/dist/_shared/esm/{FormControl-2cb96de7.d.ts → FormControl-5e3fdca3.d.ts} +6 -29
  237. package/dist/_shared/esm/FormControl-5e3fdca3.js +88 -0
  238. package/dist/_shared/esm/Group-d62c3f56.d.ts +46 -0
  239. package/dist/_shared/esm/Group-d62c3f56.js +42 -0
  240. package/dist/_shared/esm/{Heading-eb1e42db.js → Heading-b61432fb.js} +3 -3
  241. package/dist/_shared/esm/{Icon-61f7237a.js → Icon-fd247973.js} +3 -3
  242. package/dist/_shared/esm/{Image-c0f3d42f.js → Image-3596ce55.js} +2 -2
  243. package/dist/_shared/esm/ItemGroup-5af4d600.d.ts +27 -0
  244. package/dist/_shared/esm/NavItem-df20237c.d.ts +43 -0
  245. package/dist/_shared/esm/NavItemWithSubNav-65f21828.d.ts +49 -0
  246. package/dist/_shared/esm/Poster-107d6954.d.ts +81 -0
  247. package/dist/_shared/esm/Poster-107d6954.js +44 -0
  248. package/dist/_shared/esm/RadioGroup-1fd0f389.d.ts +97 -0
  249. package/dist/_shared/esm/RadioGroup-1fd0f389.js +64 -0
  250. package/dist/_shared/esm/{Section-7bc71e26.js → Section-b8038d66.js} +1 -1
  251. package/dist/_shared/esm/SiteFooter-8075a9bd.d.ts +62 -0
  252. package/dist/_shared/esm/SiteFooter-8075a9bd.js +67 -0
  253. package/dist/_shared/esm/SiteHeader-c25ee36e.d.ts +78 -0
  254. package/dist/_shared/esm/SiteHeader.rehydrator-4da8ac64.d.ts +78 -0
  255. package/dist/_shared/esm/SiteHeader.rehydrator-4da8ac64.js +666 -0
  256. package/dist/_shared/esm/SubNavItem-a84d1bf4.d.ts +48 -0
  257. package/dist/_shared/esm/{Surface-bf201530.js → Surface-bb100ef8.js} +1 -1
  258. package/dist/_shared/esm/{Text-6b958ad8.js → Text-00e9743b.js} +3 -3
  259. package/dist/_shared/esm/TextInput-1631dbc4.d.ts +10 -0
  260. package/dist/_shared/esm/TextInput-1631dbc4.js +72 -0
  261. package/dist/_shared/esm/TextInput-7ed03a48.d.ts +75 -0
  262. package/dist/_shared/esm/UniversalHeader-7926abde.d.ts +26 -0
  263. package/dist/_shared/esm/UniversalHeader-7926abde.js +29 -0
  264. package/dist/_shared/esm/{VerticalSpace-3579b20e.js → VerticalSpace-93980c9c.js} +1 -1
  265. package/dist/_shared/esm/debounce-e228705f.js +542 -0
  266. package/dist/_shared/esm/{index-229fc864.js → filter-data-attrs-afdb7d32.js} +12 -12
  267. package/dist/_shared/esm/index-699086a7.d.ts +2 -0
  268. package/dist/_shared/esm/index-74488a9f.d.ts +2 -0
  269. package/dist/_shared/esm/index-9483ad5f.d.ts +2 -2
  270. package/dist/_shared/esm/index-c81c9401.d.ts +3 -3
  271. package/dist/_shared/esm/index-e340924e.d.ts +2 -0
  272. package/dist/_shared/esm/index-e6d20018.d.ts +3 -0
  273. package/dist/_shared/esm/index-eb06f640.d.ts +2 -0
  274. package/dist/_shared/esm/index-f419cf04.d.ts +2 -0
  275. package/dist/_shared/esm/{suffix-modifier-f5e28822.js → suffix-modifier-7e640670.js} +1 -1
  276. package/dist/index.es.js +304 -113
  277. package/dist/index.es.js.map +1 -1
  278. package/dist/index.js +534 -341
  279. package/dist/index.js.map +1 -1
  280. package/dist/styles.css +1 -1
  281. package/dist/types/components/Alert/Alert.d.ts +56 -0
  282. package/dist/types/components/Alert/index.d.ts +1 -0
  283. package/dist/types/components/Checkbox/Checkbox.d.ts +6 -1
  284. package/dist/types/components/DisclosureMini/DisclosureMini.d.ts +36 -0
  285. package/dist/types/components/DisclosureMini/index.d.ts +1 -0
  286. package/dist/types/components/Elevation/Elevation.d.ts +4 -0
  287. package/dist/types/components/Filter/Filter.d.ts +38 -0
  288. package/dist/types/components/Filter/FilterControls/FilterControl/FilterControl.d.ts +16 -0
  289. package/dist/types/components/Filter/FilterControls/FilterControls.d.ts +12 -0
  290. package/dist/types/components/Filter/FilterItems/FilterItem/FilterItem.d.ts +12 -0
  291. package/dist/types/components/Filter/FilterItems/FilterItems.d.ts +12 -0
  292. package/dist/types/components/Filter/index.d.ts +1 -0
  293. package/dist/types/components/FormControl/FormControl.d.ts +4 -0
  294. package/dist/types/components/Pagination/Pagination.d.ts +19 -0
  295. package/dist/types/components/Pagination/index.d.ts +1 -0
  296. package/dist/types/components/PaginationSimple/PaginationSimple.d.ts +27 -0
  297. package/dist/types/components/PaginationSimple/index.d.ts +1 -0
  298. package/dist/types/components/RadioGroup/RadioGroup.d.ts +1 -1
  299. package/dist/types/components/ScrollToTop/ScrollToTop.d.ts +24 -0
  300. package/dist/types/components/ScrollToTop/index.d.ts +1 -0
  301. package/dist/types/components/Select/Select.d.ts +1 -1
  302. package/dist/types/components/SiteHeader/SiteHeader.d.ts +2 -0
  303. package/dist/types/components/SiteHeader/components/NodeItem/NodeItem.d.ts +8 -0
  304. package/dist/types/components/Switch/Switch.d.ts +1 -1
  305. package/dist/types/components/TextArea/TextArea.d.ts +60 -0
  306. package/dist/types/components/TextArea/index.d.ts +1 -0
  307. package/dist/types/components/TextInput/TextInput.d.ts +1 -1
  308. package/dist/types/components/index.d.ts +2 -0
  309. package/dist/types/hooks/use-pagination.d.ts +1 -0
  310. package/dist/types/styles.d.ts +10 -4
  311. package/package.json +4 -4
  312. package/dist/_shared/cjs/FormControl-d4d9c665.js +0 -148
  313. package/dist/_shared/esm/FormControl-2cb96de7.js +0 -139
  314. package/dist/types/components/FormControl/FormControlDisclosure/FormControlDisclosure.d.ts +0 -28
  315. package/dist/types/components/FormControl/FormControlDisclosure/index.d.ts +0 -1
  316. /package/dist/_shared/cjs/{Base-e2b846fe.d.ts → Base-569e4334.d.ts} +0 -0
  317. /package/dist/_shared/cjs/{BrandLogo-3c6102ef.d.ts → BrandLogo-8008f0c4.d.ts} +0 -0
  318. /package/dist/_shared/cjs/{Button-1af6868c.d.ts → Button-27512fee.d.ts} +0 -0
  319. /package/dist/_shared/cjs/{Curve-e72ce25b.d.ts → Curve-b05589d8.d.ts} +0 -0
  320. /package/dist/_shared/cjs/{Heading-cc38c3ec.d.ts → Heading-d45f6a7f.d.ts} +0 -0
  321. /package/dist/_shared/cjs/{Icon-719d13d4.d.ts → Icon-9ae8dbe1.d.ts} +0 -0
  322. /package/dist/_shared/cjs/{Image-fe760a06.d.ts → Image-3bf4b4f3.d.ts} +0 -0
  323. /package/dist/_shared/cjs/{Section-780f2377.d.ts → Section-48aca5f5.d.ts} +0 -0
  324. /package/dist/_shared/cjs/{Surface-d6b8010e.d.ts → Surface-6da0a78e.d.ts} +0 -0
  325. /package/dist/_shared/cjs/{Text-1d3844be.d.ts → Text-6f2827e6.d.ts} +0 -0
  326. /package/dist/_shared/cjs/{VerticalSpace-7aed88ab.d.ts → VerticalSpace-86f697e7.d.ts} +0 -0
  327. /package/dist/_shared/cjs/{index-78b35bc1.d.ts → filter-data-attrs-a30dcf5f.d.ts} +0 -0
  328. /package/dist/_shared/cjs/{suffix-modifier-edf7851e.d.ts → suffix-modifier-1ee2da04.d.ts} +0 -0
  329. /package/dist/_shared/esm/{Base-c235dc45.d.ts → Base-6c01e0ec.d.ts} +0 -0
  330. /package/dist/_shared/esm/{BrandLogo-4f13fe85.d.ts → BrandLogo-56699561.d.ts} +0 -0
  331. /package/dist/_shared/esm/{Button-10700df4.d.ts → Button-d319fa11.d.ts} +0 -0
  332. /package/dist/_shared/esm/{Curve-50697f7e.d.ts → Curve-3e87b1bc.d.ts} +0 -0
  333. /package/dist/_shared/esm/{Heading-eb1e42db.d.ts → Heading-b61432fb.d.ts} +0 -0
  334. /package/dist/_shared/esm/{Icon-61f7237a.d.ts → Icon-fd247973.d.ts} +0 -0
  335. /package/dist/_shared/esm/{Image-c0f3d42f.d.ts → Image-3596ce55.d.ts} +0 -0
  336. /package/dist/_shared/esm/{Section-7bc71e26.d.ts → Section-b8038d66.d.ts} +0 -0
  337. /package/dist/_shared/esm/{Surface-bf201530.d.ts → Surface-bb100ef8.d.ts} +0 -0
  338. /package/dist/_shared/esm/{Text-6b958ad8.d.ts → Text-00e9743b.d.ts} +0 -0
  339. /package/dist/_shared/esm/{VerticalSpace-3579b20e.d.ts → VerticalSpace-93980c9c.d.ts} +0 -0
  340. /package/dist/_shared/esm/{index-229fc864.d.ts → filter-data-attrs-afdb7d32.d.ts} +0 -0
  341. /package/dist/_shared/esm/{suffix-modifier-f5e28822.d.ts → suffix-modifier-7e640670.d.ts} +0 -0
@@ -2,61 +2,19 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('../_shared/cjs/index-78b35bc1.js');
6
- var React = require('react');
7
- var BtIconTickAlt2Px = require('../_shared/cjs/BtIconTickAlt2Px-bdf06f8c.js');
8
- var FormControl = require('../_shared/cjs/FormControl-d4d9c665.js');
9
- var index$1 = require('../_shared/cjs/index-45bfb67b.js');
10
- var Surface = require('../_shared/cjs/Surface-d6b8010e.js');
11
- require('../_shared/cjs/Text-1d3844be.js');
12
- require('../_shared/cjs/suffix-modifier-edf7851e.js');
13
- require('../_shared/cjs/BtIconChevronRightMid-5a38d855.js');
5
+ var Checkbox = require('../_shared/cjs/Checkbox-21d3c4f6.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-9aaddd54.js');
12
+ require('../_shared/cjs/Surface-6da0a78e.js');
13
+ require('../_shared/cjs/DisclosureMini-067e0319.js');
14
+ require('../_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js');
15
+ require('../_shared/cjs/Text-6f2827e6.js');
16
+ require('../_shared/cjs/suffix-modifier-1ee2da04.js');
14
17
 
15
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
16
18
 
17
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
18
19
 
19
- /**
20
- * Use `Checkbox` to allow users to select individual options.
21
- */
22
- var Checkbox = React.forwardRef(function (_a, ref) {
23
- 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, props = index.__rest(_a, ["checked", "errorMessage", "helper", "id", "isDisabled", "isRequired", "label", "name", "onBlur", "onChange", "size", "value"]);
24
- var requirementStatus = React.useContext(FormControl.Context).requirementStatus;
25
- var surface = React.useContext(Surface.Context).surface;
26
- var _f = FormControl.useAriaDescribedby({
27
- id: id,
28
- errorMessage: errorMessage
29
- }), ariaDescribedby = _f.ariaDescribedby, idError = _f.idError;
30
- var idLabel = "".concat(id, "-label");
31
- var checkedProps = {};
32
- if (typeof onChange === "function") {
33
- checkedProps.checked = checked;
34
- }
35
- else if (checked && !onChange) {
36
- checkedProps.defaultChecked = true;
37
- }
38
- if (requirementStatus === "required") {
39
- isRequired = true;
40
- }
41
- return (React__default["default"].createElement("div", { className: index$1.classNames({
42
- "arc-Checkbox": true,
43
- "arc-Checkbox--disabled": isDisabled,
44
- "arc-Checkbox--invalid": errorMessage,
45
- "arc-Checkbox--small": size === "s",
46
- "arc-Checkbox--onDarkSurface": surface === "dark"
47
- }) },
48
- React__default["default"].createElement("label", { id: idLabel, htmlFor: id, className: "arc-Checkbox-label" },
49
- React__default["default"].createElement("input", index.__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 }, index.filterDataAttrs(props))),
50
- React__default["default"].createElement("span", { className: "arc-Checkbox-box" },
51
- React__default["default"].createElement(BtIconTickAlt2Px.BtIconTickAlt2Px_2, null)),
52
- React__default["default"].createElement("span", null,
53
- label,
54
- !isRequired && requirementStatus !== "optional" ? (React__default["default"].createElement("span", { className: "arc-Checkbox-labelOptional" }, "(optional)")) : null,
55
- helper && React__default["default"].createElement("span", { className: "arc-Checkbox-helper" }, helper))),
56
- errorMessage && (React__default["default"].createElement("div", { id: idError, className: "arc-Checkbox-error" },
57
- React__default["default"].createElement("span", { className: "arc-Checkbox-error--icon" },
58
- React__default["default"].createElement(FormControl.BtIconAlert_2, null)),
59
- errorMessage))));
60
- });
61
-
62
- exports.Checkbox = Checkbox;
20
+ exports.Checkbox = Checkbox.Checkbox;
@@ -1,59 +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
- * ID for the Checkbox.
19
- */
20
- id: string;
21
- /**
22
- * Is the input checked?
23
- */
24
- checked?: boolean;
25
- /**
26
- * Should the Checkbox be disabled?
27
- */
28
- isDisabled?: boolean;
29
- /**
30
- * Is the Checkbox required?
31
- */
32
- isRequired?: boolean;
33
- /**
34
- * Label for the Checkbox.
35
- */
36
- label: React.ReactNode;
37
- /**
38
- * Name for the Checkbox.
39
- */
40
- name?: string;
41
- /**
42
- * Function to call when the Checkbox loses focus.
43
- */
44
- onBlur?: (e: EventType) => void;
45
- /**
46
- * Callback function to update the Checkbox's controlled `checked` prop, for
47
- * example `e => setChecked(e.target.checked)`.
48
- */
49
- onChange?: (event: EventType) => void;
50
- /**
51
- * Size of the Checkbox.
52
- */
53
- size?: "s" | "l";
54
- /**
55
- * Value for the Checkbox.
56
- */
57
- value?: string;
58
- }
59
- export { Checkbox };
1
+ export { Checkbox } from "../_shared/esm/Checkbox-94300d8c";
@@ -1,54 +1,12 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index-229fc864.js';
2
- import React__default, { forwardRef, useContext } from 'react';
3
- import { B as BtIconTickAlt2Px_2 } from '../_shared/esm/BtIconTickAlt2Px-da97e9ae.js';
4
- import { C as Context, u as useAriaDescribedby, B as BtIconAlert_2 } from '../_shared/esm/FormControl-2cb96de7.js';
5
- import { c as classNames } from '../_shared/esm/index-2ae58626.js';
6
- import { C as Context$1 } from '../_shared/esm/Surface-bf201530.js';
7
- import '../_shared/esm/Text-6b958ad8.js';
8
- import '../_shared/esm/suffix-modifier-f5e28822.js';
9
- import '../_shared/esm/BtIconChevronRightMid-d9b11761.js';
10
-
11
- /**
12
- * Use `Checkbox` to allow users to select individual options.
13
- */
14
- var Checkbox = forwardRef(function (_a, ref) {
15
- 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, props = __rest(_a, ["checked", "errorMessage", "helper", "id", "isDisabled", "isRequired", "label", "name", "onBlur", "onChange", "size", "value"]);
16
- var requirementStatus = useContext(Context).requirementStatus;
17
- var surface = useContext(Context$1).surface;
18
- var _f = useAriaDescribedby({
19
- id: id,
20
- errorMessage: errorMessage
21
- }), ariaDescribedby = _f.ariaDescribedby, idError = _f.idError;
22
- var idLabel = "".concat(id, "-label");
23
- var checkedProps = {};
24
- if (typeof onChange === "function") {
25
- checkedProps.checked = checked;
26
- }
27
- else if (checked && !onChange) {
28
- checkedProps.defaultChecked = true;
29
- }
30
- if (requirementStatus === "required") {
31
- isRequired = true;
32
- }
33
- return (React__default.createElement("div", { className: classNames({
34
- "arc-Checkbox": true,
35
- "arc-Checkbox--disabled": isDisabled,
36
- "arc-Checkbox--invalid": errorMessage,
37
- "arc-Checkbox--small": size === "s",
38
- "arc-Checkbox--onDarkSurface": surface === "dark"
39
- }) },
40
- React__default.createElement("label", { id: idLabel, htmlFor: id, className: "arc-Checkbox-label" },
41
- 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))),
42
- React__default.createElement("span", { className: "arc-Checkbox-box" },
43
- React__default.createElement(BtIconTickAlt2Px_2, null)),
44
- React__default.createElement("span", null,
45
- label,
46
- !isRequired && requirementStatus !== "optional" ? (React__default.createElement("span", { className: "arc-Checkbox-labelOptional" }, "(optional)")) : null,
47
- helper && React__default.createElement("span", { className: "arc-Checkbox-helper" }, helper))),
48
- errorMessage && (React__default.createElement("div", { id: idError, className: "arc-Checkbox-error" },
49
- React__default.createElement("span", { className: "arc-Checkbox-error--icon" },
50
- React__default.createElement(BtIconAlert_2, null)),
51
- errorMessage))));
52
- });
53
-
54
- export { Checkbox };
1
+ export { C as Checkbox } from '../_shared/esm/Checkbox-94300d8c.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-5e3fdca3.js';
8
+ import '../_shared/esm/Surface-bb100ef8.js';
9
+ import '../_shared/esm/DisclosureMini-022beae3.js';
10
+ import '../_shared/esm/BtIconChevronDown2Px-782876e2.js';
11
+ import '../_shared/esm/Text-00e9743b.js';
12
+ import '../_shared/esm/suffix-modifier-7e640670.js';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('../_shared/cjs/index-78b35bc1.js');
5
+ var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
6
6
  var React = require('react');
7
7
 
8
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -13,7 +13,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
13
  * `Clock` is a demo component that shows the current time.
14
14
  */
15
15
  var Clock = function (_a) {
16
- var _b = _a.locale, locale = _b === void 0 ? "en-GB" : _b, props = index.__rest(_a, ["locale"]);
16
+ var _b = _a.locale, locale = _b === void 0 ? "en-GB" : _b, props = filterDataAttrs.__rest(_a, ["locale"]);
17
17
  var _c = React.useState(new Date()), time = _c[0], setTime = _c[1];
18
18
  var _d = React.useState(time.toLocaleTimeString(locale)), humanTime = _d[0], setHumanTime = _d[1];
19
19
  React.useEffect(function () {
@@ -26,16 +26,16 @@ var Clock = function (_a) {
26
26
  var interval = setInterval(tick, 1000);
27
27
  return function () { return clearInterval(interval); };
28
28
  }, [locale]);
29
- return (React__default["default"].createElement("time", index.__assign({ className: "arc-Clock", dateTime: time.toISOString() }, index.filterDataAttrs(props), { "data-locale": locale }), humanTime));
29
+ return (React__default["default"].createElement("time", filterDataAttrs.__assign({ className: "arc-Clock", dateTime: time.toISOString() }, filterDataAttrs.filterDataAttrs(props), { "data-locale": locale }), humanTime));
30
30
  };
31
31
 
32
- var Clock_rehydrator = (function (el) { return index.__awaiter(void 0, void 0, void 0, function () {
32
+ var Clock_rehydrator = (function (el) { return filterDataAttrs.__awaiter(void 0, void 0, void 0, function () {
33
33
  var props;
34
- return index.__generator(this, function (_a) {
34
+ return filterDataAttrs.__generator(this, function (_a) {
35
35
  props = {
36
36
  locale: el.dataset.locale
37
37
  };
38
- return [2 /*return*/, React__default["default"].createElement(Clock, index.__assign({}, props))];
38
+ return [2 /*return*/, React__default["default"].createElement(Clock, filterDataAttrs.__assign({}, props))];
39
39
  });
40
40
  }); });
41
41
 
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs, d as __awaiter, e as __generator } from '../_shared/esm/index-229fc864.js';
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs, d as __awaiter, e as __generator } from '../_shared/esm/filter-data-attrs-afdb7d32.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
 
4
4
  /**
@@ -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 index = require('../_shared/cjs/index-78b35bc1.js');
6
- var index$1 = require('../_shared/cjs/index-45bfb67b.js');
7
- var React = require('react');
8
- var suffixModifier = require('../_shared/cjs/suffix-modifier-edf7851e.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 = index.__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", index.__assign({ className: index$1.classNames({
27
- "arc-Columns": true,
28
- "arc-Columns--gutterless": isGutterless
29
- }) }, index.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 = index.__rest(_a, ["align", "children", "isDebugVisible", "offset", "offsetS", "offsetM", "offsetL", "offsetXL", "span", "spanS", "spanM", "spanL", "spanXL"]);
35
- return (React__default["default"].createElement("div", index.__assign({ className: index$1.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)) }, index.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/index-229fc864.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-f5e28822.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 +1 @@
1
- export { Curve } from "../_shared/cjs/Curve-e72ce25b";
1
+ export { Curve } from "../_shared/cjs/Curve-b05589d8";
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Curve = require('../_shared/cjs/Curve-e72ce25b.js');
6
- require('../_shared/cjs/index-78b35bc1.js');
5
+ var Curve = require('../_shared/cjs/Curve-b05589d8.js');
6
+ require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
7
7
  require('../_shared/cjs/index-45bfb67b.js');
8
8
  require('react');
9
- require('../_shared/cjs/suffix-modifier-edf7851e.js');
9
+ require('../_shared/cjs/suffix-modifier-1ee2da04.js');
10
10
 
11
11
 
12
12
 
@@ -1 +1 @@
1
- export { Curve } from "../_shared/esm/Curve-50697f7e";
1
+ export { Curve } from "../_shared/esm/Curve-3e87b1bc";
@@ -1,5 +1,5 @@
1
- export { C as Curve } from '../_shared/esm/Curve-50697f7e.js';
2
- import '../_shared/esm/index-229fc864.js';
1
+ export { C as Curve } from '../_shared/esm/Curve-3e87b1bc.js';
2
+ import '../_shared/esm/filter-data-attrs-afdb7d32.js';
3
3
  import '../_shared/esm/index-2ae58626.js';
4
4
  import 'react';
5
- import '../_shared/esm/suffix-modifier-f5e28822.js';
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-cc38c3ec";
2
+ import { HeadingLevel } from "../_shared/cjs/Heading-d45f6a7f";
3
3
  /**
4
4
  * Use `Disclosure` to display content that is only visible when toggled into
5
5
  * an "open" state.
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('../_shared/cjs/index-78b35bc1.js');
6
- var index$1 = require('../_shared/cjs/index-45bfb67b.js');
5
+ var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
6
+ var index = require('../_shared/cjs/index-45bfb67b.js');
7
7
  var React = require('react');
8
- var Heading = require('../_shared/cjs/Heading-cc38c3ec.js');
8
+ var Heading = require('../_shared/cjs/Heading-d45f6a7f.js');
9
9
  var BtIconChevronDown2Px = require('../_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js');
10
- var Surface = require('../_shared/cjs/Surface-d6b8010e.js');
11
- require('../_shared/cjs/suffix-modifier-edf7851e.js');
10
+ var Surface = require('../_shared/cjs/Surface-6da0a78e.js');
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 }; }
14
14
 
@@ -19,13 +19,13 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
19
19
  * an "open" state.
20
20
  */
21
21
  var Disclosure = function (_a) {
22
- var children = _a.children, headingLevel = _a.headingLevel, _b = _a.indentDetails, indentDetails = _b === void 0 ? false : _b, _c = _a.isOpen, isOpen = _c === void 0 ? false : _c, summary = _a.summary, props = index.__rest(_a, ["children", "headingLevel", "indentDetails", "isOpen", "summary"]);
22
+ var children = _a.children, headingLevel = _a.headingLevel, _b = _a.indentDetails, indentDetails = _b === void 0 ? false : _b, _c = _a.isOpen, isOpen = _c === void 0 ? false : _c, summary = _a.summary, props = filterDataAttrs.__rest(_a, ["children", "headingLevel", "indentDetails", "isOpen", "summary"]);
23
23
  var surface = React.useContext(Surface.Context).surface;
24
- return (React__default["default"].createElement("details", index.__assign({ className: index$1.classNames({
24
+ return (React__default["default"].createElement("details", filterDataAttrs.__assign({ className: index.classNames({
25
25
  "arc-Disclosure": true,
26
26
  "arc-Disclosure--indentDetails": indentDetails,
27
27
  "arc-Disclosure--onDarkSurface": surface === "dark"
28
- }), open: isOpen }, index.filterDataAttrs(props)),
28
+ }), open: isOpen }, filterDataAttrs.filterDataAttrs(props)),
29
29
  React__default["default"].createElement("summary", { className: "arc-Disclosure-summary" },
30
30
  React__default["default"].createElement("span", { className: "arc-Disclosure-summary-icon" },
31
31
  React__default["default"].createElement(BtIconChevronDown2Px.BtIconChevronDown2Px_2, null)),
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode } from "react";
2
- import { HeadingLevel } from "../_shared/esm/Heading-eb1e42db";
2
+ import { HeadingLevel } from "../_shared/esm/Heading-b61432fb";
3
3
  /**
4
4
  * Use `Disclosure` to display content that is only visible when toggled into
5
5
  * an "open" state.
@@ -1,10 +1,10 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index-229fc864.js';
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-eb1e42db.js';
4
+ import { H as Heading } from '../_shared/esm/Heading-b61432fb.js';
5
5
  import { B as BtIconChevronDown2Px_2 } from '../_shared/esm/BtIconChevronDown2Px-782876e2.js';
6
- import { C as Context } from '../_shared/esm/Surface-bf201530.js';
7
- import '../_shared/esm/suffix-modifier-f5e28822.js';
6
+ import { C as Context } from '../_shared/esm/Surface-bb100ef8.js';
7
+ import '../_shared/esm/suffix-modifier-7e640670.js';
8
8
 
9
9
  /**
10
10
  * Use `Disclosure` to display content that is only visible when toggled into
@@ -0,0 +1 @@
1
+ export { DisclosureMini } from "../_shared/cjs/DisclosureMini-067e0319";