@arc-ui/components 11.8.0 → 11.10.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 (456) hide show
  1. package/dist/Alert/Alert.cjs.js +15 -15
  2. package/dist/Alert/Alert.esm.js +15 -15
  3. package/dist/Alert/package.json +1 -1
  4. package/dist/Align/Align.cjs.js +3 -3
  5. package/dist/Align/Align.esm.js +3 -3
  6. package/dist/Align/package.json +1 -1
  7. package/dist/Badge/Badge.cjs.js +8 -8
  8. package/dist/Badge/Badge.esm.js +8 -8
  9. package/dist/Badge/package.json +1 -1
  10. package/dist/Base/Base.cjs.js +2 -2
  11. package/dist/Base/Base.esm.js +2 -2
  12. package/dist/Base/package.json +1 -1
  13. package/dist/Box/Box.cjs.js +3 -3
  14. package/dist/Box/Box.esm.js +3 -3
  15. package/dist/Box/package.json +1 -1
  16. package/dist/BrandLogo/BrandLogo.cjs.js +5 -5
  17. package/dist/BrandLogo/BrandLogo.esm.js +5 -5
  18. package/dist/BrandLogo/package.json +1 -1
  19. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +8 -8
  20. package/dist/Breadcrumbs/Breadcrumbs.esm.js +8 -8
  21. package/dist/Breadcrumbs/package.json +1 -1
  22. package/dist/Button/Button.cjs.js +8 -8
  23. package/dist/Button/Button.esm.js +8 -8
  24. package/dist/Button/package.json +1 -1
  25. package/dist/Card/Card.cjs.js +9 -9
  26. package/dist/Card/Card.esm.js +9 -9
  27. package/dist/Card/package.json +1 -1
  28. package/dist/Checkbox/Checkbox.cjs.js +11 -11
  29. package/dist/Checkbox/Checkbox.esm.js +11 -11
  30. package/dist/Checkbox/package.json +1 -1
  31. package/dist/Clock/Clock.cjs.js +1 -1
  32. package/dist/Clock/Clock.esm.js +1 -1
  33. package/dist/Clock/package.json +1 -1
  34. package/dist/Columns/Columns.cjs.js +4 -4
  35. package/dist/Columns/Columns.esm.js +4 -4
  36. package/dist/Columns/package.json +1 -1
  37. package/dist/Curve/Curve.cjs.js +4 -4
  38. package/dist/Curve/Curve.esm.js +4 -4
  39. package/dist/Curve/package.json +1 -1
  40. package/dist/Disclosure/Disclosure.cjs.js +7 -7
  41. package/dist/Disclosure/Disclosure.esm.js +7 -7
  42. package/dist/Disclosure/package.json +1 -1
  43. package/dist/DisclosureMini/DisclosureMini.cjs.js +7 -7
  44. package/dist/DisclosureMini/DisclosureMini.esm.js +7 -7
  45. package/dist/DisclosureMini/package.json +1 -1
  46. package/dist/Elevation/Elevation.cjs.js +2 -2
  47. package/dist/Elevation/Elevation.esm.js +2 -2
  48. package/dist/Elevation/package.json +1 -1
  49. package/dist/Filter/Filter.cjs.js +4 -4
  50. package/dist/Filter/Filter.esm.js +4 -4
  51. package/dist/Filter/package.json +1 -1
  52. package/dist/FormControl/FormControl.cjs.js +9 -9
  53. package/dist/FormControl/FormControl.esm.js +9 -9
  54. package/dist/FormControl/package.json +1 -1
  55. package/dist/Group/Group.cjs.js +4 -4
  56. package/dist/Group/Group.esm.js +4 -4
  57. package/dist/Group/package.json +1 -1
  58. package/dist/Heading/Heading.cjs.js +5 -5
  59. package/dist/Heading/Heading.esm.js +5 -5
  60. package/dist/Heading/package.json +1 -1
  61. package/dist/Icon/Icon.cjs.js +5 -5
  62. package/dist/Icon/Icon.esm.js +5 -5
  63. package/dist/Icon/package.json +1 -1
  64. package/dist/Image/Image.cjs.js +4 -4
  65. package/dist/Image/Image.esm.js +4 -4
  66. package/dist/Image/package.json +1 -1
  67. package/dist/Markup/Markup.cjs.js +3 -3
  68. package/dist/Markup/Markup.esm.js +3 -3
  69. package/dist/Markup/package.json +1 -1
  70. package/dist/Modal/Modal.cjs.js +21 -97
  71. package/dist/Modal/Modal.esm.js +21 -97
  72. package/dist/Modal/package.json +1 -1
  73. package/dist/Pagination/Pagination.cjs.js +9 -9
  74. package/dist/Pagination/Pagination.esm.js +9 -9
  75. package/dist/Pagination/package.json +1 -1
  76. package/dist/PaginationSimple/PaginationSimple.cjs.js +9 -9
  77. package/dist/PaginationSimple/PaginationSimple.esm.js +9 -9
  78. package/dist/PaginationSimple/package.json +1 -1
  79. package/dist/Poster/Poster.cjs.js +6 -6
  80. package/dist/Poster/Poster.esm.js +6 -6
  81. package/dist/Poster/package.json +1 -1
  82. package/dist/ProgressBar/ProgressBar.cjs.js +20 -22
  83. package/dist/ProgressBar/ProgressBar.esm.js +17 -19
  84. package/dist/ProgressBar/package.json +1 -1
  85. package/dist/ProgressStepper/ProgressStepper.cjs.js +11 -145
  86. package/dist/ProgressStepper/ProgressStepper.esm.js +10 -144
  87. package/dist/ProgressStepper/package.json +1 -1
  88. package/dist/RadioGroup/RadioGroup.cjs.js +10 -10
  89. package/dist/RadioGroup/RadioGroup.esm.js +10 -10
  90. package/dist/RadioGroup/package.json +1 -1
  91. package/dist/Rule/Rule.cjs.js +3 -3
  92. package/dist/Rule/Rule.esm.js +3 -3
  93. package/dist/Rule/package.json +1 -1
  94. package/dist/ScrollToTop/ScrollToTop.cjs.js +14 -16
  95. package/dist/ScrollToTop/ScrollToTop.esm.js +10 -12
  96. package/dist/ScrollToTop/package.json +1 -1
  97. package/dist/Section/Section.cjs.js +3 -3
  98. package/dist/Section/Section.esm.js +3 -3
  99. package/dist/Section/package.json +1 -1
  100. package/dist/Select/Select.cjs.js +192 -572
  101. package/dist/Select/Select.esm.js +55 -435
  102. package/dist/Select/package.json +1 -1
  103. package/dist/SiteFooter/SiteFooter.cjs.js +9 -9
  104. package/dist/SiteFooter/SiteFooter.esm.js +10 -10
  105. package/dist/SiteFooter/package.json +1 -1
  106. package/dist/SiteHeader/SiteHeader.cjs.js +13 -13
  107. package/dist/SiteHeader/SiteHeader.esm.js +13 -13
  108. package/dist/SiteHeader/package.json +1 -1
  109. package/dist/Surface/Surface.cjs.js +3 -3
  110. package/dist/Surface/Surface.esm.js +3 -3
  111. package/dist/Surface/package.json +1 -1
  112. package/dist/Switch/Switch.cjs.js +21 -244
  113. package/dist/Switch/Switch.esm.js +16 -239
  114. package/dist/Switch/package.json +1 -1
  115. package/dist/Tabs/Tabs.cjs.js +12 -506
  116. package/dist/Tabs/Tabs.esm.js +11 -505
  117. package/dist/Tabs/package.json +1 -1
  118. package/dist/Tag/Tag.cjs.js +18 -22
  119. package/dist/Tag/Tag.esm.js +14 -18
  120. package/dist/Tag/package.json +1 -1
  121. package/dist/Text/Text.cjs.js +5 -5
  122. package/dist/Text/Text.esm.js +5 -5
  123. package/dist/Text/package.json +1 -1
  124. package/dist/TextArea/TextArea.cjs.js +47 -35
  125. package/dist/TextArea/TextArea.esm.js +47 -35
  126. package/dist/TextArea/package.json +1 -1
  127. package/dist/TextInput/TextInput.cjs.js +10 -10
  128. package/dist/TextInput/TextInput.esm.js +10 -10
  129. package/dist/TextInput/package.json +1 -1
  130. package/dist/Toast/Toast.cjs.js +19 -739
  131. package/dist/Toast/Toast.esm.js +15 -735
  132. package/dist/Toast/package.json +1 -1
  133. package/dist/Truncate/Truncate.cjs.js +1 -1
  134. package/dist/Truncate/Truncate.esm.js +1 -1
  135. package/dist/Truncate/package.json +1 -1
  136. package/dist/UniversalHeader/UniversalHeader.cjs.js +4 -4
  137. package/dist/UniversalHeader/UniversalHeader.esm.js +4 -4
  138. package/dist/UniversalHeader/package.json +1 -1
  139. package/dist/VerticalSpace/VerticalSpace.cjs.js +3 -3
  140. package/dist/VerticalSpace/VerticalSpace.esm.js +3 -3
  141. package/dist/VerticalSpace/package.json +1 -1
  142. package/dist/VisuallyHidden/package.json +1 -1
  143. package/dist/_shared/cjs/{Base-569e4334.js → Base-f5a86eed.js} +1 -1
  144. package/dist/_shared/cjs/{BrandLogo-8107d59f.js → BrandLogo-f001e0c0.js} +4 -4
  145. package/dist/_shared/cjs/{Breadcrumbs-0906dd10.js → Breadcrumbs-9aa1d18b.js} +7 -9
  146. package/dist/_shared/cjs/{BtIconAlert-637db790.js → BtIconAlert.esm-e62a75b7.js} +8 -10
  147. package/dist/_shared/cjs/{BtIconChevronDown2Px-8fb4e2eb.js → BtIconChevronDown2Px.esm-c6f8ced2.js} +6 -8
  148. package/dist/_shared/cjs/{BtIconChevronLeftMid-df952a3e.js → BtIconChevronLeftMid.esm-7c2fc822.js} +5 -7
  149. package/dist/_shared/cjs/{BtIconChevronRight2Px-a8e40136.js → BtIconChevronRight2Px.esm-3c438341.js} +10 -14
  150. package/dist/_shared/cjs/{BtIconChevronRightMid-5a38d855.js → BtIconChevronRightMid.esm-cce080c8.js} +5 -7
  151. package/dist/_shared/cjs/{BtIconCrossAlt2Px-30dc2688.js → BtIconCrossAlt2Px.esm-c002bf55.js} +6 -8
  152. package/dist/_shared/cjs/{BtIconTick-42fcc5ec.js → BtIconTick.esm-613dfd8a.js} +18 -24
  153. package/dist/_shared/cjs/{BtIconTickAlt2Px-bdf06f8c.js → BtIconTickAlt2Px.esm-4862184c.js} +6 -8
  154. package/dist/_shared/cjs/{Button-5aaa6776.js → Button-c22c9787.js} +8 -8
  155. package/dist/_shared/cjs/{Card-fd189ba8.js → Card-55a1c129.js} +9 -11
  156. package/dist/_shared/cjs/{Checkbox-02c546ca.js → Checkbox-7ce718e7.js} +8 -8
  157. package/dist/_shared/cjs/{Columns-e90798f8.js → Columns-ae4f8cef.js} +3 -4
  158. package/dist/_shared/cjs/{Curve-781ef633.js → Curve-d038052b.js} +3 -3
  159. package/dist/_shared/cjs/{DisclosureMini-52706ee6.js → DisclosureMini-c666cc4d.js} +6 -6
  160. package/dist/_shared/cjs/{Filter-a7574fe7.js → Filter-22b8b171.js} +3 -7
  161. package/dist/_shared/cjs/{FormControl-1e1bf2bf.js → FormControl-5541ac3a.js} +6 -6
  162. package/dist/_shared/cjs/{Group-f85dd4c0.js → Group-143a4578.js} +4 -5
  163. package/dist/_shared/cjs/{Heading-e3332dcf.js → Heading-ba2f74ad.js} +4 -5
  164. package/dist/_shared/cjs/{Icon-e1dd45eb.js → Icon-cf30e736.js} +10 -12
  165. package/dist/_shared/cjs/{Image-0e393cbf.js → Image-e873b8fc.js} +3 -4
  166. package/dist/_shared/cjs/{Poster-faea1ad3.js → Poster-62e2ba67.js} +5 -9
  167. package/dist/_shared/cjs/ProgressStepper-92668367.js +144 -0
  168. package/dist/_shared/cjs/{RadioGroup-d7664b0c.js → RadioGroup-66c1e882.js} +4 -5
  169. package/dist/_shared/cjs/{Section-48aca5f5.js → Section-59804166.js} +2 -2
  170. package/dist/_shared/cjs/{SiteFooter-5da774e1.js → SiteFooter-d3babe07.js} +7 -9
  171. package/dist/_shared/cjs/{SiteHeader.rehydrator-acc9d8c4.js → SiteHeader.rehydrator-b7284004.js} +16 -24
  172. package/dist/_shared/cjs/{Surface-b7c51b2b.js → Surface-80c0909a.js} +2 -2
  173. package/dist/_shared/cjs/Tabs-65e7af8a.js +503 -0
  174. package/dist/_shared/cjs/{Text-fa447e2d.js → Text-76b7fea1.js} +4 -4
  175. package/dist/_shared/cjs/{TextInput-f4549637.js → TextInput-5bee337d.js} +4 -4
  176. package/dist/_shared/cjs/Toast-874d9be4.js +730 -0
  177. package/dist/_shared/cjs/{UniversalHeader-da622e1a.js → UniversalHeader-f5a225b6.js} +2 -3
  178. package/dist/_shared/cjs/{VerticalSpace-86f697e7.js → VerticalSpace-dc53bb70.js} +2 -2
  179. package/dist/_shared/cjs/{extends-bb8ffacd.js → extends-8c5e4b48.js} +1 -4
  180. package/dist/_shared/cjs/filter-data-attrs-1c9a530c.js +227 -0
  181. package/dist/_shared/cjs/{index-ec260f5e.js → index-43458549.js} +13 -96
  182. package/dist/_shared/cjs/{index-96c4d581.js → index-6b2a9ac3.js} +2 -2
  183. package/dist/_shared/cjs/{index-45bfb67b.js → index-9947ac13.js} +11 -10
  184. package/dist/_shared/cjs/{index-fb4b8fda.js → index-adbb63da.js} +2 -9
  185. package/dist/_shared/cjs/{index-27b53d49.js → index-b2fd6338.js} +3 -80
  186. package/dist/_shared/cjs/{index-952918c9.js → index-c575a255.js} +11 -10
  187. package/dist/_shared/cjs/index.module-dd1d7d0b.js +382 -0
  188. package/dist/_shared/cjs/{suffix-modifier-1ee2da04.js → suffix-modifier-64dcd338.js} +1 -1
  189. package/dist/_shared/esm/{Base-6c01e0ec.js → Base-f200653c.js} +1 -1
  190. package/dist/_shared/esm/{BrandLogo-9ec620e8.js → BrandLogo-51fc6f15.js} +4 -4
  191. package/dist/_shared/esm/{Breadcrumbs-dafa8dde.js → Breadcrumbs-50d0f406.js} +7 -9
  192. package/dist/_shared/esm/{BtIconAlert-55a6ed5c.js → BtIconAlert.esm-09346130.js} +6 -8
  193. package/dist/_shared/esm/{BtIconChevronDown2Px-782876e2.js → BtIconChevronDown2Px.esm-345d78fe.js} +4 -6
  194. package/dist/_shared/esm/{BtIconChevronLeftMid-9f4f3a3d.js → BtIconChevronLeftMid.esm-e69276cb.js} +3 -5
  195. package/dist/_shared/esm/{BtIconChevronRight2Px-b8e7b4ad.js → BtIconChevronRight2Px.esm-2c693ef3.js} +7 -11
  196. package/dist/_shared/esm/{BtIconChevronRightMid-d9b11761.js → BtIconChevronRightMid.esm-24809a93.js} +3 -5
  197. package/dist/_shared/esm/{BtIconCrossAlt2Px-a6a9f431.js → BtIconCrossAlt2Px.esm-425a6beb.js} +4 -6
  198. package/dist/_shared/esm/{BtIconTick-5fe50cc7.js → BtIconTick.esm-673282f5.js} +14 -20
  199. package/dist/_shared/esm/{BtIconTickAlt2Px-da97e9ae.js → BtIconTickAlt2Px.esm-ce22224b.js} +4 -6
  200. package/dist/_shared/esm/{Button-d1dbcf79.js → Button-67f68b14.js} +8 -8
  201. package/dist/_shared/esm/{Card-e62c3ff6.js → Card-bf0c3b0b.js} +9 -11
  202. package/dist/_shared/esm/{Checkbox-d8891198.js → Checkbox-50e2d4ab.js} +8 -8
  203. package/dist/_shared/esm/{Columns-8704515b.js → Columns-d96b7425.js} +3 -4
  204. package/dist/_shared/esm/{Curve-bbc5589c.js → Curve-d8679dde.js} +3 -3
  205. package/dist/_shared/esm/{DisclosureMini-9b819941.js → DisclosureMini-376c013c.js} +6 -6
  206. package/dist/_shared/esm/{Filter-a01aed11.js → Filter-f7ac126b.js} +3 -7
  207. package/dist/_shared/esm/{FormControl-f18e2f59.js → FormControl-aad4288c.js} +6 -6
  208. package/dist/_shared/esm/{Group-fb26fd32.js → Group-0129c979.js} +4 -5
  209. package/dist/_shared/esm/{Heading-0f629151.js → Heading-8bb7b7c0.js} +4 -5
  210. package/dist/_shared/esm/{Icon-c1af47bc.js → Icon-3bfabb14.js} +7 -9
  211. package/dist/_shared/esm/{Image-3ed3863c.js → Image-12fbd327.js} +3 -4
  212. package/dist/_shared/esm/{Poster-a83ae770.js → Poster-046b0f77.js} +5 -9
  213. package/dist/_shared/esm/ProgressStepper-3ffbdb73.js +138 -0
  214. package/dist/_shared/esm/{RadioGroup-be16d5d3.js → RadioGroup-1273a716.js} +4 -5
  215. package/dist/_shared/esm/{Section-b8038d66.js → Section-73781b56.js} +2 -2
  216. package/dist/_shared/esm/{SiteFooter-a182cb18.js → SiteFooter-60d1b216.js} +7 -9
  217. package/dist/_shared/esm/{SiteHeader.rehydrator-023b7b76.js → SiteHeader.rehydrator-029f568e.js} +16 -24
  218. package/dist/_shared/esm/{Surface-dde51789.js → Surface-c6e817cd.js} +2 -2
  219. package/dist/_shared/esm/Tabs-ec960828.js +497 -0
  220. package/dist/_shared/esm/{Text-40457811.js → Text-a3720712.js} +4 -4
  221. package/dist/_shared/esm/{TextInput-4424c195.js → TextInput-732f0b51.js} +4 -4
  222. package/dist/_shared/esm/Toast-b81384a4.js +724 -0
  223. package/dist/_shared/esm/{UniversalHeader-1c5a886d.js → UniversalHeader-354a1867.js} +2 -3
  224. package/dist/_shared/esm/{VerticalSpace-93980c9c.js → VerticalSpace-43cd9138.js} +2 -2
  225. package/dist/_shared/esm/{extends-4575346e.js → extends-8cc61aad.js} +1 -4
  226. package/dist/_shared/esm/filter-data-attrs-ea8f4ed4.js +220 -0
  227. package/dist/_shared/esm/{index-22aad354.js → index-13d575cc.js} +11 -11
  228. package/dist/_shared/esm/{index-2ae58626.js → index-2e73c2e9.js} +11 -10
  229. package/dist/_shared/esm/{index-94ecc5f8.js → index-3797d77e.js} +2 -2
  230. package/dist/_shared/esm/{index-369dce7f.js → index-41d7af2b.js} +9 -92
  231. package/dist/_shared/esm/{index-8000d9e3.js → index-a1d2d9b3.js} +2 -79
  232. package/dist/_shared/esm/{index-bed18a88.js → index-efd9ef1c.js} +1 -9
  233. package/dist/_shared/esm/index.module-44714d3f.js +371 -0
  234. package/dist/_shared/esm/{suffix-modifier-7e640670.js → suffix-modifier-3d548e45.js} +1 -1
  235. package/dist/index.es.js +2541 -1304
  236. package/dist/index.es.js.map +1 -1
  237. package/dist/index.js +2865 -1617
  238. package/dist/index.js.map +1 -1
  239. package/dist/styles.css +11 -1
  240. package/dist/types/components/Badge/Badge.d.ts +4 -0
  241. package/dist/types/components/Button/Button.d.ts +2 -2
  242. package/dist/types/components/Card/Card.d.ts +1 -1
  243. package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
  244. package/dist/types/components/Clock/Clock.d.ts +1 -1
  245. package/dist/types/components/Columns/Columns.d.ts +2 -2
  246. package/dist/types/components/FormControl/FormControl.d.ts +1 -1
  247. package/dist/types/components/Group/GroupItem/GroupItem.d.ts +17 -0
  248. package/dist/types/components/Heading/Heading.d.ts +4 -4
  249. package/dist/types/components/MediaCard/MediaCard.stories-wip.d.ts +15 -0
  250. package/dist/types/components/ProgressBar/types/progress-bar-icons.d.ts +1 -1
  251. package/dist/types/components/ProgressBar/types/progress-bar-state.d.ts +1 -1
  252. package/dist/types/components/ProgressStepper/progressStatus.d.ts +1 -1
  253. package/dist/types/components/RadioGroup/RadioGroup.d.ts +1 -1
  254. package/dist/types/components/RadioGroup/context.d.ts +2 -2
  255. package/dist/types/components/Surface/Surface.d.ts +3 -3
  256. package/dist/types/components/Text/Text.d.ts +2 -2
  257. package/dist/types/components/TextArea/TextArea.d.ts +1 -1
  258. package/dist/types/components/TextInput/TextInput.d.ts +1 -1
  259. package/dist/types/components/Toast/Toast.d.ts +5 -2
  260. package/dist/types/components/Toast/ToastNotification.d.ts +2 -2
  261. package/dist/types/components/VerticalSpace/VerticalSpace.d.ts +1 -1
  262. package/dist/types/components/index.d.ts +17 -6
  263. package/dist/types/types/arc-icon.d.ts +1 -1
  264. package/package.json +44 -15
  265. package/dist/Alert/Alert.cjs.d.ts +0 -57
  266. package/dist/Alert/Alert.esm.d.ts +0 -57
  267. package/dist/Align/Align.cjs.d.ts +0 -25
  268. package/dist/Align/Align.esm.d.ts +0 -25
  269. package/dist/Badge/Badge.cjs.d.ts +0 -26
  270. package/dist/Badge/Badge.esm.d.ts +0 -26
  271. package/dist/Base/Base.cjs.d.ts +0 -1
  272. package/dist/Base/Base.esm.d.ts +0 -1
  273. package/dist/Box/Box.cjs.d.ts +0 -40
  274. package/dist/Box/Box.esm.d.ts +0 -40
  275. package/dist/BrandLogo/BrandLogo.cjs.d.ts +0 -1
  276. package/dist/BrandLogo/BrandLogo.esm.d.ts +0 -1
  277. package/dist/Breadcrumbs/Breadcrumbs.cjs.d.ts +0 -1
  278. package/dist/Breadcrumbs/Breadcrumbs.esm.d.ts +0 -1
  279. package/dist/Button/Button.cjs.d.ts +0 -1
  280. package/dist/Button/Button.esm.d.ts +0 -1
  281. package/dist/Card/Card.cjs.d.ts +0 -1
  282. package/dist/Card/Card.esm.d.ts +0 -1
  283. package/dist/Checkbox/Checkbox.cjs.d.ts +0 -1
  284. package/dist/Checkbox/Checkbox.esm.d.ts +0 -1
  285. package/dist/Clock/Clock.cjs.d.ts +0 -15
  286. package/dist/Clock/Clock.esm.d.ts +0 -15
  287. package/dist/Columns/Columns.cjs.d.ts +0 -1
  288. package/dist/Columns/Columns.esm.d.ts +0 -1
  289. package/dist/Curve/Curve.cjs.d.ts +0 -1
  290. package/dist/Curve/Curve.esm.d.ts +0 -1
  291. package/dist/Disclosure/Disclosure.cjs.d.ts +0 -31
  292. package/dist/Disclosure/Disclosure.esm.d.ts +0 -31
  293. package/dist/DisclosureMini/DisclosureMini.cjs.d.ts +0 -1
  294. package/dist/DisclosureMini/DisclosureMini.esm.d.ts +0 -1
  295. package/dist/Elevation/Elevation.cjs.d.ts +0 -20
  296. package/dist/Elevation/Elevation.esm.d.ts +0 -20
  297. package/dist/Filter/Filter.cjs.d.ts +0 -1
  298. package/dist/Filter/Filter.esm.d.ts +0 -1
  299. package/dist/FormControl/FormControl.cjs.d.ts +0 -1
  300. package/dist/FormControl/FormControl.esm.d.ts +0 -1
  301. package/dist/Group/Group.cjs.d.ts +0 -1
  302. package/dist/Group/Group.esm.d.ts +0 -1
  303. package/dist/Heading/Heading.cjs.d.ts +0 -1
  304. package/dist/Heading/Heading.esm.d.ts +0 -1
  305. package/dist/Icon/Icon.cjs.d.ts +0 -1
  306. package/dist/Icon/Icon.esm.d.ts +0 -1
  307. package/dist/Image/Image.cjs.d.ts +0 -1
  308. package/dist/Image/Image.esm.d.ts +0 -1
  309. package/dist/Markup/Markup.cjs.d.ts +0 -16
  310. package/dist/Markup/Markup.esm.d.ts +0 -16
  311. package/dist/Modal/Modal.cjs.d.ts +0 -53
  312. package/dist/Modal/Modal.esm.d.ts +0 -53
  313. package/dist/Pagination/Pagination.cjs.d.ts +0 -20
  314. package/dist/Pagination/Pagination.esm.d.ts +0 -20
  315. package/dist/PaginationSimple/PaginationSimple.cjs.d.ts +0 -28
  316. package/dist/PaginationSimple/PaginationSimple.esm.d.ts +0 -28
  317. package/dist/Poster/Poster.cjs.d.ts +0 -1
  318. package/dist/Poster/Poster.esm.d.ts +0 -1
  319. package/dist/ProgressBar/ProgressBar.cjs.d.ts +0 -47
  320. package/dist/ProgressBar/ProgressBar.esm.d.ts +0 -47
  321. package/dist/ProgressStepper/ProgressStepper.cjs.d.ts +0 -89
  322. package/dist/ProgressStepper/ProgressStepper.esm.d.ts +0 -89
  323. package/dist/RadioGroup/RadioGroup.cjs.d.ts +0 -1
  324. package/dist/RadioGroup/RadioGroup.esm.d.ts +0 -1
  325. package/dist/Rule/Rule.cjs.d.ts +0 -8
  326. package/dist/Rule/Rule.esm.d.ts +0 -8
  327. package/dist/ScrollToTop/ScrollToTop.cjs.d.ts +0 -25
  328. package/dist/ScrollToTop/ScrollToTop.esm.d.ts +0 -25
  329. package/dist/Section/Section.cjs.d.ts +0 -1
  330. package/dist/Section/Section.esm.d.ts +0 -1
  331. package/dist/Select/Select.cjs.d.ts +0 -25
  332. package/dist/Select/Select.esm.d.ts +0 -25
  333. package/dist/SiteFooter/SiteFooter.cjs.d.ts +0 -4
  334. package/dist/SiteFooter/SiteFooter.esm.d.ts +0 -4
  335. package/dist/SiteHeader/SiteHeader.cjs.d.ts +0 -2
  336. package/dist/SiteHeader/SiteHeader.esm.d.ts +0 -2
  337. package/dist/Surface/Surface.cjs.d.ts +0 -1
  338. package/dist/Surface/Surface.esm.d.ts +0 -1
  339. package/dist/Switch/Switch.cjs.d.ts +0 -40
  340. package/dist/Switch/Switch.esm.d.ts +0 -40
  341. package/dist/Tabs/Tabs.cjs.d.ts +0 -75
  342. package/dist/Tabs/Tabs.esm.d.ts +0 -75
  343. package/dist/Tag/Tag.cjs.d.ts +0 -33
  344. package/dist/Tag/Tag.esm.d.ts +0 -33
  345. package/dist/Text/Text.cjs.d.ts +0 -1
  346. package/dist/Text/Text.esm.d.ts +0 -1
  347. package/dist/TextArea/TextArea.cjs.d.ts +0 -64
  348. package/dist/TextArea/TextArea.esm.d.ts +0 -64
  349. package/dist/TextInput/TextInput.cjs.d.ts +0 -1
  350. package/dist/TextInput/TextInput.esm.d.ts +0 -1
  351. package/dist/Toast/Toast.cjs.d.ts +0 -52
  352. package/dist/Toast/Toast.esm.d.ts +0 -52
  353. package/dist/Truncate/Truncate.cjs.d.ts +0 -18
  354. package/dist/Truncate/Truncate.esm.d.ts +0 -18
  355. package/dist/UniversalHeader/UniversalHeader.cjs.d.ts +0 -1
  356. package/dist/UniversalHeader/UniversalHeader.esm.d.ts +0 -1
  357. package/dist/VerticalSpace/VerticalSpace.cjs.d.ts +0 -1
  358. package/dist/VerticalSpace/VerticalSpace.esm.d.ts +0 -1
  359. package/dist/VisuallyHidden/VisuallyHidden.cjs.d.ts +0 -1
  360. package/dist/VisuallyHidden/VisuallyHidden.esm.d.ts +0 -1
  361. package/dist/_shared/cjs/Base-569e4334.d.ts +0 -19
  362. package/dist/_shared/cjs/BrandLogo-8107d59f.d.ts +0 -26
  363. package/dist/_shared/cjs/Breadcrumbs-0906dd10.d.ts +0 -61
  364. package/dist/_shared/cjs/Button-5aaa6776.d.ts +0 -102
  365. package/dist/_shared/cjs/Card-fd189ba8.d.ts +0 -136
  366. package/dist/_shared/cjs/Checkbox-02c546ca.d.ts +0 -64
  367. package/dist/_shared/cjs/Columns-e90798f8.d.ts +0 -76
  368. package/dist/_shared/cjs/Curve-781ef633.d.ts +0 -35
  369. package/dist/_shared/cjs/DisclosureMini-52706ee6.d.ts +0 -37
  370. package/dist/_shared/cjs/Filter-a7574fe7.d.ts +0 -83
  371. package/dist/_shared/cjs/FormControl-1e1bf2bf.d.ts +0 -99
  372. package/dist/_shared/cjs/Group-f85dd4c0.d.ts +0 -46
  373. package/dist/_shared/cjs/Heading-e3332dcf.d.ts +0 -50
  374. package/dist/_shared/cjs/Icon-e1dd45eb.d.ts +0 -34
  375. package/dist/_shared/cjs/Image-0e393cbf.d.ts +0 -94
  376. package/dist/_shared/cjs/ItemGroup-5af4d600.d.ts +0 -27
  377. package/dist/_shared/cjs/NavItem-df20237c.d.ts +0 -43
  378. package/dist/_shared/cjs/NavItemWithSubNav-65f21828.d.ts +0 -49
  379. package/dist/_shared/cjs/Poster-faea1ad3.d.ts +0 -81
  380. package/dist/_shared/cjs/RadioGroup-d7664b0c.d.ts +0 -97
  381. package/dist/_shared/cjs/Section-48aca5f5.d.ts +0 -21
  382. package/dist/_shared/cjs/SiteFooter-5da774e1.d.ts +0 -62
  383. package/dist/_shared/cjs/SiteHeader-c25ee36e.d.ts +0 -78
  384. package/dist/_shared/cjs/SiteHeader.rehydrator-acc9d8c4.d.ts +0 -78
  385. package/dist/_shared/cjs/SubNavItem-a84d1bf4.d.ts +0 -48
  386. package/dist/_shared/cjs/Surface-b7c51b2b.d.ts +0 -51
  387. package/dist/_shared/cjs/Text-fa447e2d.d.ts +0 -38
  388. package/dist/_shared/cjs/TextInput-13050538.d.ts +0 -77
  389. package/dist/_shared/cjs/TextInput-f4549637.d.ts +0 -10
  390. package/dist/_shared/cjs/UniversalHeader-da622e1a.d.ts +0 -26
  391. package/dist/_shared/cjs/VerticalSpace-86f697e7.d.ts +0 -34
  392. package/dist/_shared/cjs/VisuallyHidden-e2c8b291.d.ts +0 -12
  393. package/dist/_shared/cjs/arc-icon-17594b2f.d.ts +0 -4
  394. package/dist/_shared/cjs/filter-data-attrs-a30dcf5f.d.ts +0 -2
  395. package/dist/_shared/cjs/filter-data-attrs-a30dcf5f.js +0 -215
  396. package/dist/_shared/cjs/handle-link-click-17a44cf4.d.ts +0 -7
  397. package/dist/_shared/cjs/index-699086a7.d.ts +0 -2
  398. package/dist/_shared/cjs/index-74488a9f.d.ts +0 -2
  399. package/dist/_shared/cjs/index-9483ad5f.d.ts +0 -14
  400. package/dist/_shared/cjs/index-c81c9401.d.ts +0 -4
  401. package/dist/_shared/cjs/index-e340924e.d.ts +0 -2
  402. package/dist/_shared/cjs/index-e6d20018.d.ts +0 -3
  403. package/dist/_shared/cjs/index-eb06f640.d.ts +0 -2
  404. package/dist/_shared/cjs/index-f419cf04.d.ts +0 -2
  405. package/dist/_shared/cjs/index.es-77def0c9.d.ts +0 -19
  406. package/dist/_shared/cjs/index.module-bbcc4e18.js +0 -126
  407. package/dist/_shared/cjs/suffix-modifier-1ee2da04.d.ts +0 -10
  408. package/dist/_shared/esm/Base-6c01e0ec.d.ts +0 -19
  409. package/dist/_shared/esm/BrandLogo-9ec620e8.d.ts +0 -26
  410. package/dist/_shared/esm/Breadcrumbs-dafa8dde.d.ts +0 -61
  411. package/dist/_shared/esm/Button-d1dbcf79.d.ts +0 -102
  412. package/dist/_shared/esm/Card-e62c3ff6.d.ts +0 -136
  413. package/dist/_shared/esm/Checkbox-d8891198.d.ts +0 -64
  414. package/dist/_shared/esm/Columns-8704515b.d.ts +0 -76
  415. package/dist/_shared/esm/Curve-bbc5589c.d.ts +0 -35
  416. package/dist/_shared/esm/DisclosureMini-9b819941.d.ts +0 -37
  417. package/dist/_shared/esm/Filter-a01aed11.d.ts +0 -83
  418. package/dist/_shared/esm/FormControl-f18e2f59.d.ts +0 -99
  419. package/dist/_shared/esm/Group-fb26fd32.d.ts +0 -46
  420. package/dist/_shared/esm/Heading-0f629151.d.ts +0 -50
  421. package/dist/_shared/esm/Icon-c1af47bc.d.ts +0 -34
  422. package/dist/_shared/esm/Image-3ed3863c.d.ts +0 -94
  423. package/dist/_shared/esm/ItemGroup-5af4d600.d.ts +0 -27
  424. package/dist/_shared/esm/NavItem-df20237c.d.ts +0 -43
  425. package/dist/_shared/esm/NavItemWithSubNav-65f21828.d.ts +0 -49
  426. package/dist/_shared/esm/Poster-a83ae770.d.ts +0 -81
  427. package/dist/_shared/esm/RadioGroup-be16d5d3.d.ts +0 -97
  428. package/dist/_shared/esm/Section-b8038d66.d.ts +0 -21
  429. package/dist/_shared/esm/SiteFooter-a182cb18.d.ts +0 -62
  430. package/dist/_shared/esm/SiteHeader-c25ee36e.d.ts +0 -78
  431. package/dist/_shared/esm/SiteHeader.rehydrator-023b7b76.d.ts +0 -78
  432. package/dist/_shared/esm/SubNavItem-a84d1bf4.d.ts +0 -48
  433. package/dist/_shared/esm/Surface-dde51789.d.ts +0 -51
  434. package/dist/_shared/esm/Text-40457811.d.ts +0 -38
  435. package/dist/_shared/esm/TextInput-13050538.d.ts +0 -77
  436. package/dist/_shared/esm/TextInput-4424c195.d.ts +0 -10
  437. package/dist/_shared/esm/UniversalHeader-1c5a886d.d.ts +0 -26
  438. package/dist/_shared/esm/VerticalSpace-93980c9c.d.ts +0 -34
  439. package/dist/_shared/esm/VisuallyHidden-b9eebf71.d.ts +0 -12
  440. package/dist/_shared/esm/arc-icon-17594b2f.d.ts +0 -4
  441. package/dist/_shared/esm/filter-data-attrs-afdb7d32.d.ts +0 -2
  442. package/dist/_shared/esm/filter-data-attrs-afdb7d32.js +0 -208
  443. package/dist/_shared/esm/handle-link-click-f64f55a2.d.ts +0 -7
  444. package/dist/_shared/esm/index-699086a7.d.ts +0 -2
  445. package/dist/_shared/esm/index-74488a9f.d.ts +0 -2
  446. package/dist/_shared/esm/index-9483ad5f.d.ts +0 -14
  447. package/dist/_shared/esm/index-c81c9401.d.ts +0 -4
  448. package/dist/_shared/esm/index-e340924e.d.ts +0 -2
  449. package/dist/_shared/esm/index-e6d20018.d.ts +0 -3
  450. package/dist/_shared/esm/index-eb06f640.d.ts +0 -2
  451. package/dist/_shared/esm/index-f419cf04.d.ts +0 -2
  452. package/dist/_shared/esm/index.es-00cb3bcb.d.ts +0 -19
  453. package/dist/_shared/esm/index.module-5ed90b21.js +0 -122
  454. package/dist/_shared/esm/suffix-modifier-7e640670.d.ts +0 -10
  455. /package/dist/_shared/cjs/{debounce-506538c5.js → debounce-123468fb.js} +0 -0
  456. /package/dist/_shared/esm/{debounce-e228705f.js → debounce-6fed6b84.js} +0 -0
@@ -1,64 +0,0 @@
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, CheckboxProps };
@@ -1,76 +0,0 @@
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, Col, Span, ColProps, ColumnsProps };
@@ -1,35 +0,0 @@
1
- import { FC } from "react";
2
- import { backgroundsBT } from "../../Surface/Surface.cjs";
3
- /**
4
- #### Deprecation Notice
5
-
6
- The `Curve` component is an outdated brand feature and is being deprecated from Arc as a standalone component or sub-component within other components. Do not use Curve for any new work, and prepare to update any design that features it to remove it.
7
-
8
- `Curve` will be removed from Arc in a subsequent release
9
- */
10
- declare const Curve: FC<CurveProps>;
11
- declare const sizes: readonly ["s", "m", "l"];
12
- declare const positions: readonly ["bottom", "bottomLeft", "bottomRight", "top", "topLeft", "topRight"];
13
- interface CurveProps {
14
- /**
15
- * Bottom color of the Curve. Shares values with Surface.
16
- */
17
- bottomColor?: typeof backgroundsBT[number];
18
- /**
19
- * Positional variants of the Curve.
20
- */
21
- from?: typeof positions[number];
22
- /**
23
- * Should the Curve colors be flipped? Normally used at the top of Poster.
24
- */
25
- isInverted?: boolean;
26
- /**
27
- * Size of the Curve.
28
- */
29
- size?: typeof sizes[number];
30
- /**
31
- * Top color of the Curve. Shares values with Surface.
32
- */
33
- topColor?: typeof backgroundsBT[number];
34
- }
35
- export { Curve, sizes, positions, CurveProps };
@@ -1,37 +0,0 @@
1
- import { FC, ReactNode } from "react";
2
- /**
3
- * Use `DisclosureMini` to display content that is only visible when toggled into
4
- * an "open" state.
5
- */
6
- declare const DisclosureMini: FC<DisclosureMiniProps>;
7
- interface DisclosureMiniProps {
8
- /**
9
- * Content to display in the DisclosureMini.
10
- */
11
- children: ReactNode;
12
- /**
13
- * DisclosureMini ID.
14
- */
15
- id?: string;
16
- /**
17
- * The DisclosureMini summary text.
18
- */
19
- summary: string;
20
- /**
21
- * Should the Disclosure content be open by default?
22
- */
23
- isOpen?: boolean;
24
- /**
25
- * Position of the DisclosureMini icon?
26
- */
27
- iconPosition?: "left" | "right";
28
- /**
29
- * On Click handler for DisclosureMini summary disclosure.
30
- */
31
- onClick?: () => void;
32
- /**
33
- * Disclosure size.
34
- */
35
- size?: "s" | "l";
36
- }
37
- export { DisclosureMini, DisclosureMiniProps };
@@ -1,83 +0,0 @@
1
- import { FC, ReactNode } from "react";
2
- declare const FilterItems: FC<FilterItemsProps>;
3
- interface FilterItemsProps {
4
- /**
5
- * Render children of `<Filter.Items />`. This should only use `<Filter.Item />`
6
- */
7
- children: ReactNode;
8
- /**
9
- * Determine the display style of `<Filter.Item />`
10
- */
11
- displayType?: "grid" | "list";
12
- }
13
- declare const FilterItem: FC<FilterItemProps>;
14
- interface FilterItemProps {
15
- /**
16
- * Content to display within `Filter.Item`
17
- */
18
- children: ReactNode;
19
- /**
20
- * Attach Tags to content provided within `Filter.Item`
21
- */
22
- tags: string[];
23
- }
24
- declare const FilterControls: FC<FilterControlsProps>;
25
- interface FilterControlsProps {
26
- /**
27
- * Contents of the `<FilterControls />` Should contain `<FilterControl />`
28
- */
29
- children: ReactNode;
30
- /**
31
- * Detmine how to align <FilterControl /> with in <FilterControls />. Default `center`
32
- */
33
- controlsAlignment?: "left" | "right" | "center";
34
- }
35
- declare const FilterControl: FC<FilterControlProps>;
36
- interface FilterControlProps {
37
- /**
38
- * Name of the `<FilterControl />`
39
- */
40
- children: ReactNode;
41
- /**
42
- * Determine if the `<FilterControl />` is selected
43
- */
44
- isSelected?: boolean;
45
- /**
46
- * onClick handler
47
- */
48
- onClick?: () => void;
49
- }
50
- /** use `Filter` for interactive elements that filter and categorise page content. */
51
- declare const Filter: FC<FilterProps> & {
52
- Item: typeof FilterItem;
53
- Items: typeof FilterItems;
54
- Control: typeof FilterControl;
55
- Controls: typeof FilterControls;
56
- };
57
- interface FilterProps {
58
- /**
59
- * Contents of the `<Filter />` Should contain `<Filter.Item />`
60
- */
61
- children?: ReactNode;
62
- /**
63
- * onChange handler called everytime `<FilterControl />` is pressed
64
- */
65
- onChange?: (selectedControls: string[]) => void;
66
- /**
67
- * Detmine how to display the content within `<Filter.Items />`. Default is `grid`
68
- */
69
- displayType?: FilterItemsProps["displayType"];
70
- /**
71
- * Detmine how to align <Filter.Controls />. Default `center`
72
- */
73
- controlsAlignment?: FilterControlsProps["controlsAlignment"];
74
- /**
75
- * Detmine if the `<Filter.Control />` have to partially match or match all
76
- */
77
- logicType?: "AND" | "OR";
78
- /**
79
- * Detmine what is display when no items match the filtering criteria
80
- */
81
- error?: ReactNode;
82
- }
83
- export { FilterItems, FilterItemsProps, FilterItem, FilterItemProps, FilterControls, FilterControlsProps, FilterControl, FilterControlProps, Filter, FilterProps };
@@ -1,99 +0,0 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { FC } from "react";
4
- /**
5
- * Optionally define ariaDescribedBy if errorMessage or helper exist.
6
- */
7
- declare const useAriaDescribedby: ({ id, idError, idHelper, idDisclosure, errorMessage, helper, disclosureText }: {
8
- id?: string | undefined;
9
- idError?: string | undefined;
10
- idDisclosure?: string | undefined;
11
- idHelper?: string | undefined;
12
- errorMessage?: any;
13
- helper?: any;
14
- disclosureText?: string | undefined;
15
- }) => {
16
- ariaDescribedby: undefined;
17
- idHelper: undefined;
18
- idError: undefined;
19
- idDisclosure: undefined;
20
- } | {
21
- ariaDescribedby: string | undefined;
22
- idError: string;
23
- idHelper: string;
24
- idDisclosure: string;
25
- };
26
- type RequirementStatus = "required" | "optional" | "not-applicable";
27
- declare const Context: React.Context<{
28
- requirementStatus: RequirementStatus | null;
29
- }>;
30
- /**
31
- * Use `FormControl` to provide inputs with labels, helper text and error messages
32
- */
33
- declare const FormControl: FC<FormControlProps>;
34
- interface FormControlProps {
35
- /**
36
- * Render the input or series of inputs
37
- */
38
- children: React.ReactNode;
39
- /**
40
- * HTML Element type for the FormControl.
41
- * @default 'div'
42
- */
43
- elementType?: "div" | "fieldset";
44
- /**
45
- * Error message for the FormControl.
46
- */
47
- errorMessage?: string;
48
- /**
49
- * Helper text for the FormControl, shown below the label.
50
- */
51
- helper?: React.ReactNode;
52
- /**
53
- * ID for the input that the FormControl points towards.
54
- */
55
- htmlFor?: string;
56
- /**
57
- * ID for the FormControl. Used for helper and errorMessage if `htmlFor` is undefined.
58
- */
59
- id?: string;
60
- /**
61
- * Are all of the inputs in the FormControl required, optional, or is a
62
- * uniform requirement status for all inputs not applicable?
63
- */
64
- requirementStatus?: RequirementStatus;
65
- /**
66
- * Label for the FormControl.
67
- */
68
- label: string;
69
- /**
70
- * Determins if the Label should be in a disabled state
71
- */
72
- isDisabled?: boolean;
73
- /**
74
- * Label size.
75
- */
76
- labelSize?: "s" | "l";
77
- /**
78
- * Use `DisclosureTitle` to display content that is only visible when toggled into
79
- * an "open" state. This overrides helper text.
80
- */
81
- disclosureTitle?: string;
82
- /**
83
- * Text to display within the disclosure
84
- */
85
- disclosureText?: string;
86
- /**
87
- * onClick handler for FormControlDisclosure
88
- */
89
- onClickDisclosure?: () => void;
90
- /**
91
- * Optional additional information for the FormControl.
92
- */
93
- supplementaryInfo?: React.ReactNode;
94
- /**
95
- * Position helper text under label. This is set to `false` by default.
96
- */
97
- helperUnderLabel?: boolean;
98
- }
99
- export { useAriaDescribedby, FormControl, FormControlProps, Context as FormControlContext };
@@ -1,46 +0,0 @@
1
- import { FC, ReactNode } from "react";
2
- /**
3
- * Use `Group` to arrange flexible items in a row.
4
- */
5
- declare const Group: FC<GroupProps> & {
6
- Item: typeof GroupItem;
7
- };
8
- declare const GroupItem: FC<ItemProps>;
9
- interface ItemProps {
10
- /**
11
- * Content to display in the Group.Item.
12
- */
13
- children?: ReactNode;
14
- /**
15
- * Should the Group.Item be visible for debugging and documentation
16
- * purposes?
17
- */
18
- isDebugVisible?: boolean;
19
- /**
20
- * Should the Group.Item stretch to fill the available space?
21
- */
22
- grow?: boolean;
23
- }
24
- interface GroupProps {
25
- /**
26
- * Contents of the Group. Should only contain `Group.Item`.
27
- */
28
- children: ReactNode;
29
- /**
30
- * Should all Group.Items in the Group stretch to fill the available space?
31
- */
32
- grow?: boolean;
33
- /**
34
- * Should all Group.Items in the Group stretch to fill the available space with equal widths?
35
- */
36
- growEqual?: boolean;
37
- /**
38
- * Should a border be shown between Group.Items? **Warning: Sets CSS property `overflow:hidden`.**
39
- */
40
- gutterBorder?: boolean;
41
- /**
42
- * Should wrapping of Group.Items in the Group be disabled?
43
- */
44
- noWrap?: boolean;
45
- }
46
- export { Group, GroupItem, ItemProps, GroupProps };
@@ -1,50 +0,0 @@
1
- import { FC, ReactNode } from "react";
2
- /**
3
- * Use `Heading` to display heading text.
4
- */
5
- declare const Heading: FC<HeadingProps> & {
6
- Proposition: typeof HeadingProposition;
7
- };
8
- declare const HeadingProposition: FC<HeadingPropositionProps>;
9
- interface HeadingPropositionProps {
10
- /**
11
- * Text to display in the Proposition.
12
- */
13
- children: ReactNode;
14
- }
15
- type HeadingCasing = "auto" | "none";
16
- type HeadingColor = "auto" | "brand";
17
- type HeadingLevel = "1" | "2" | "3" | "4" | "5" | "6";
18
- type HeadingSize = "xxxs" | "xxs" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "xxxl";
19
- interface HeadingProps {
20
- /**
21
- * Text alignment of the Heading.
22
- */
23
- align?: "left" | "center" | "right";
24
- /**
25
- * Typographic casing of the Heading.
26
- */
27
- casing?: HeadingCasing;
28
- /**
29
- * Text and inline markup to display in the Heading.
30
- */
31
- children: ReactNode;
32
- /**
33
- * The color of the Heading.
34
- */
35
- color?: HeadingColor;
36
- /**
37
- * Id for the Heading.
38
- */
39
- id?: string;
40
- /**
41
- * HTML section heading level. If not provided, the Heading will render as
42
- * a span.
43
- */
44
- level?: HeadingLevel;
45
- /**
46
- * Typographic size of the Heading.
47
- */
48
- size?: HeadingSize;
49
- }
50
- export { Heading, HeadingProposition, HeadingPropositionProps, HeadingCasing, HeadingColor, HeadingLevel, HeadingSize, HeadingProps };
@@ -1,34 +0,0 @@
1
- import { FC } from "react";
2
- import { ArcIcon } from "./arc-icon-17594b2f";
3
- /**
4
- * Use `Icon` to display brand iconography.
5
- */
6
- declare const Icon: FC<IconProps>;
7
- declare const colors: readonly ["auto", "brand", "statusRed", "statusAmber", "statusGreen"];
8
- interface IconProps {
9
- /**
10
- * Color of the Icon.
11
- */
12
- color?: typeof colors[number];
13
- /**
14
- * Should the Icon component be styled as an inline element?
15
- */
16
- isInline?: boolean;
17
- /**
18
- * Icon variant.
19
- */
20
- icon?: ArcIcon;
21
- /**
22
- * Alternative text label for the Icon.
23
- */
24
- label?: string;
25
- /**
26
- * Size of the Icon, in pixels.
27
- */
28
- size?: number;
29
- /**
30
- * value for data-testid
31
- */
32
- testId?: string;
33
- }
34
- export { Icon, colors, IconProps };
@@ -1,94 +0,0 @@
1
- import { FC, HTMLAttributes, ReactNode } from "react";
2
- import { anchorPoints } from "./index-9483ad5f";
3
- /**
4
- * Use `Image` to render a single image, or set of images, with support for
5
- * image fitting and art direction.
6
- */
7
- declare const Image: FC<ImageProps> & {
8
- Source: typeof ImageSource;
9
- };
10
- declare const ImageSource: FC<ImageSourceProps>;
11
- interface ImageSourceProps {
12
- /**
13
- * The intrinsic height of the ImageSource, in pixels
14
- */
15
- height?: number;
16
- /**
17
- * Media condition (similar to a media query) that the user agent will evaluate for each ImageSource element. Same format as [media](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-media), i.e. `(min-width: 600px)`
18
- */
19
- media?: string;
20
- /**
21
- * The HTML [sizes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-sizes) attribute. Only required if srcSet is switching widths.
22
- */
23
- sizes?: string;
24
- /**
25
- * A comma-separated list indicating a set of possible sources for the user agent to use for different screen sizes for the ImageSource element. Same format as [srcSet](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-srcset), i.e. `my-image-200.png 200w, my-image-200.png 200w`.
26
- */
27
- srcSet: string;
28
- /**
29
- * MIME type for the resource URL(s) in the ImageSource element's srcset attribute. If the user agent does not support the given type, the element is skipped. Same format as [type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-type), i.e. `image/jpeg`.
30
- */
31
- type?: string;
32
- /**
33
- * The intrinsic width of the ImageSource, in pixels
34
- */
35
- width?: number;
36
- }
37
- declare const fitOptions: readonly ["cover"];
38
- declare const loadingOptions: readonly ["eager", "lazy"];
39
- declare const overlayOptions: readonly ["scrimBottomDark"];
40
- interface ImageProps extends HTMLAttributes<HTMLElement> {
41
- /**
42
- * Alternative text for the Image, shown if the image cannot be displayed.
43
- */
44
- alt?: string;
45
- /**
46
- * Anchor point for the Image if using fit="cover".
47
- */
48
- anchor?: typeof anchorPoints[number];
49
- /**
50
- * Optionally enable HTML <picture> functionality by passing `Image.Source`
51
- * components as children.
52
- */
53
- children?: ReactNode;
54
- /**
55
- * Fallback hexadecimal fill color. The intent is to increase perceived loading speed. Do not use on images with transparency. Requires that an explicit width and height be set for the image.
56
- */
57
- fillColor?: string;
58
- /**
59
- * Fit of the Image.
60
- */
61
- fit?: typeof fitOptions[number];
62
- /**
63
- * Height dimension of the Image, in pixels. If fit="cover", the height in which
64
- * to fit the Image. Otherwise, the intrinsic height of the Image element.
65
- */
66
- height?: number;
67
- /**
68
- * Loading behaviour of the Image.
69
- */
70
- loading?: typeof loadingOptions[number];
71
- /**
72
- * Apply an overlay to the Image, e.g. a scrim gradient for text legibility.
73
- * Should not be used if the image has a rasterized overlay.
74
- */
75
- overlay?: typeof overlayOptions[number];
76
- /**
77
- * The HTML [sizes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#Example_4_Using_the_srcset_and_sizes_attributes) attribute. Only required if srcSet is switching widths. Ignored if `children` (<source> elements) are present.
78
- */
79
- sizes?: string;
80
- /**
81
- * Image `src`. Used if srcSet is not defined, or as a fallback.
82
- */
83
- src: string;
84
- /**
85
- * A comma-separated list indicating a set of possible sources for the user agent to use for different screen sizes for the Image. Same format as [srcSet](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#Example_4_Using_the_srcset_and_sizes_attributes), i.e. `my-image-200.png 200w, my-image-200.png 200w`. Ignored if `children` (<source> elements) are present.
86
- */
87
- srcSet?: string;
88
- /**
89
- * Width dimension of the Image, in pixels. If fit="cover", the width in which
90
- * to fit the Image. Otherwise, the intrinsic width of the Image element.
91
- */
92
- width?: number;
93
- }
94
- export { Image, ImageSource, ImageSourceProps, fitOptions, loadingOptions, overlayOptions, ImageProps };
@@ -1,27 +0,0 @@
1
- import { FC, ReactNode } from "react";
2
- declare const ItemGroup: FC<ItemGroupProps>;
3
- interface ItemGroupProps {
4
- /**
5
- * Contents of the ItemGroup. Must be Item components.
6
- */
7
- children: ReactNode;
8
- /**
9
- * A top-level URL for the ItemGroup to link to.
10
- */
11
- href?: string;
12
- /**
13
- * Title text to be displayed in the ItemGroup summary.
14
- */
15
- title?: string;
16
- /**
17
- * Text to display in top-level link inside the ItemGroup in narrow viewports.
18
- * Only applies if `href` is present. If not provided, top-level link text
19
- * will be automatically generated from `title`.
20
- */
21
- viewAllTitle?: string;
22
- /**
23
- * On click handler.
24
- */
25
- onClick?: () => void;
26
- }
27
- export { ItemGroup, ItemGroupProps };