@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,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var _extends = require('./extends-bb8ffacd.js');
4
+ var _extends = require('./extends-8c5e4b48.js');
5
5
  var $7SXl2$reactdom = require('react-dom');
6
6
 
7
7
  function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEventHandler, { checkForDefaultPrevented: checkForDefaultPrevented = true } = {}) {
@@ -131,6 +131,14 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
131
131
  return createScope1;
132
132
  }
133
133
 
134
+ /**
135
+ * On the server, React emits a warning when calling `useLayoutEffect`.
136
+ * This is because neither `useLayoutEffect` nor `useEffect` run on the server.
137
+ * We use this safe version which suppresses the warning by replacing it with a noop on the server.
138
+ *
139
+ * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
140
+ */ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? React.useLayoutEffect : ()=>{};
141
+
134
142
  /**
135
143
  * A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a
136
144
  * prop or avoid re-executing effects when passed as a dependency
@@ -346,14 +354,6 @@ const $8927f6f2acc4f386$var$NODES = [
346
354
  );
347
355
  }
348
356
 
349
- /**
350
- * On the server, React emits a warning when calling `useLayoutEffect`.
351
- * This is because neither `useLayoutEffect` nor `useEffect` run on the server.
352
- * We use this safe version which suppresses the warning by replacing it with a noop on the server.
353
- *
354
- * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
355
- */ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? React.useLayoutEffect : ()=>{};
356
-
357
357
  function $fe963b355347cc68$export$3e6543de14f8614f(initialState, machine) {
358
358
  return React.useReducer((state, event)=>{
359
359
  const nextState = machine[state][event];
@@ -478,12 +478,13 @@ $921a889cee6df7e8$export$99c2b779aa4e8b8b.displayName = 'Presence';
478
478
  return (styles === null || styles === void 0 ? void 0 : styles.animationName) || 'none';
479
479
  }
480
480
 
481
- exports.$6ed0406888f73fc4$export$43e446d32b3d21af = $6ed0406888f73fc4$export$43e446d32b3d21af;
481
+ exports.$5e63c961fc1ce211$export$8c6ed5c666ac1360 = $5e63c961fc1ce211$export$8c6ed5c666ac1360;
482
482
  exports.$6ed0406888f73fc4$export$c7b2cbe3552a0d05 = $6ed0406888f73fc4$export$c7b2cbe3552a0d05;
483
483
  exports.$71cd76cc60e0454e$export$6f32135080cb4c3 = $71cd76cc60e0454e$export$6f32135080cb4c3;
484
484
  exports.$8927f6f2acc4f386$export$250ffa63cdc0d034 = $8927f6f2acc4f386$export$250ffa63cdc0d034;
485
485
  exports.$8927f6f2acc4f386$export$6d1a0317bde7de7f = $8927f6f2acc4f386$export$6d1a0317bde7de7f;
486
486
  exports.$921a889cee6df7e8$export$99c2b779aa4e8b8b = $921a889cee6df7e8$export$99c2b779aa4e8b8b;
487
+ exports.$9f79659886946c16$export$e5c5a5f917a5871c = $9f79659886946c16$export$e5c5a5f917a5871c;
487
488
  exports.$b1b2314f5f9a1d84$export$25bec8c6f54ee79a = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a;
488
489
  exports.$c512c27ab02ef895$export$50c7b4e9d9f19c1 = $c512c27ab02ef895$export$50c7b4e9d9f19c1;
489
490
  exports.$e42e1063c40fb3ef$export$b9ecd428b558ff10 = $e42e1063c40fb3ef$export$b9ecd428b558ff10;
@@ -0,0 +1,382 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var _extends = require('./extends-8c5e4b48.js');
5
+ var $7SXl2$reactdom = require('react-dom');
6
+
7
+ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEventHandler, { checkForDefaultPrevented: checkForDefaultPrevented = true } = {}) {
8
+ return function handleEvent(event) {
9
+ originalEventHandler === null || originalEventHandler === void 0 || originalEventHandler(event);
10
+ if (checkForDefaultPrevented === false || !event.defaultPrevented) return ourEventHandler === null || ourEventHandler === void 0 ? void 0 : ourEventHandler(event);
11
+ };
12
+ }
13
+
14
+ /* -------------------------------------------------------------------------------------------------
15
+ * createContextScope
16
+ * -----------------------------------------------------------------------------------------------*/ function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeDeps = []) {
17
+ let defaultContexts = [];
18
+ /* -----------------------------------------------------------------------------------------------
19
+ * createContext
20
+ * ---------------------------------------------------------------------------------------------*/ function $c512c27ab02ef895$export$fd42f52fd3ae1109(rootComponentName, defaultContext) {
21
+ const BaseContext = /*#__PURE__*/ React.createContext(defaultContext);
22
+ const index = defaultContexts.length;
23
+ defaultContexts = [
24
+ ...defaultContexts,
25
+ defaultContext
26
+ ];
27
+ function Provider(props) {
28
+ const { scope: scope , children: children , ...context } = props;
29
+ const Context = (scope === null || scope === void 0 ? void 0 : scope[scopeName][index]) || BaseContext; // Only re-memoize when prop values change
30
+ // eslint-disable-next-line react-hooks/exhaustive-deps
31
+ const value = React.useMemo(()=>context
32
+ , Object.values(context));
33
+ return /*#__PURE__*/ React.createElement(Context.Provider, {
34
+ value: value
35
+ }, children);
36
+ }
37
+ function useContext(consumerName, scope) {
38
+ const Context = (scope === null || scope === void 0 ? void 0 : scope[scopeName][index]) || BaseContext;
39
+ const context = React.useContext(Context);
40
+ if (context) return context;
41
+ if (defaultContext !== undefined) return defaultContext; // if a defaultContext wasn't specified, it's a required context.
42
+ throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
43
+ }
44
+ Provider.displayName = rootComponentName + 'Provider';
45
+ return [
46
+ Provider,
47
+ useContext
48
+ ];
49
+ }
50
+ /* -----------------------------------------------------------------------------------------------
51
+ * createScope
52
+ * ---------------------------------------------------------------------------------------------*/ const createScope = ()=>{
53
+ const scopeContexts = defaultContexts.map((defaultContext)=>{
54
+ return /*#__PURE__*/ React.createContext(defaultContext);
55
+ });
56
+ return function useScope(scope) {
57
+ const contexts = (scope === null || scope === void 0 ? void 0 : scope[scopeName]) || scopeContexts;
58
+ return React.useMemo(()=>({
59
+ [`__scope${scopeName}`]: {
60
+ ...scope,
61
+ [scopeName]: contexts
62
+ }
63
+ })
64
+ , [
65
+ scope,
66
+ contexts
67
+ ]);
68
+ };
69
+ };
70
+ createScope.scopeName = scopeName;
71
+ return [
72
+ $c512c27ab02ef895$export$fd42f52fd3ae1109,
73
+ $c512c27ab02ef895$var$composeContextScopes(createScope, ...createContextScopeDeps)
74
+ ];
75
+ }
76
+ /* -------------------------------------------------------------------------------------------------
77
+ * composeContextScopes
78
+ * -----------------------------------------------------------------------------------------------*/ function $c512c27ab02ef895$var$composeContextScopes(...scopes) {
79
+ const baseScope = scopes[0];
80
+ if (scopes.length === 1) return baseScope;
81
+ const createScope1 = ()=>{
82
+ const scopeHooks = scopes.map((createScope)=>({
83
+ useScope: createScope(),
84
+ scopeName: createScope.scopeName
85
+ })
86
+ );
87
+ return function useComposedScopes(overrideScopes) {
88
+ const nextScopes1 = scopeHooks.reduce((nextScopes, { useScope: useScope , scopeName: scopeName })=>{
89
+ // We are calling a hook inside a callback which React warns against to avoid inconsistent
90
+ // renders, however, scoping doesn't have render side effects so we ignore the rule.
91
+ // eslint-disable-next-line react-hooks/rules-of-hooks
92
+ const scopeProps = useScope(overrideScopes);
93
+ const currentScope = scopeProps[`__scope${scopeName}`];
94
+ return {
95
+ ...nextScopes,
96
+ ...currentScope
97
+ };
98
+ }, {});
99
+ return React.useMemo(()=>({
100
+ [`__scope${baseScope.scopeName}`]: nextScopes1
101
+ })
102
+ , [
103
+ nextScopes1
104
+ ]);
105
+ };
106
+ };
107
+ createScope1.scopeName = baseScope.scopeName;
108
+ return createScope1;
109
+ }
110
+
111
+ /**
112
+ * Set a given ref to a given value
113
+ * This utility takes care of different types of refs: callback refs and RefObject(s)
114
+ */ function $6ed0406888f73fc4$var$setRef(ref, value) {
115
+ if (typeof ref === 'function') ref(value);
116
+ else if (ref !== null && ref !== undefined) ref.current = value;
117
+ }
118
+ /**
119
+ * A utility to compose multiple refs together
120
+ * Accepts callback refs and RefObject(s)
121
+ */ function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs) {
122
+ return (node)=>refs.forEach((ref)=>$6ed0406888f73fc4$var$setRef(ref, node)
123
+ )
124
+ ;
125
+ }
126
+ /**
127
+ * A custom hook that composes multiple refs
128
+ * Accepts callback refs and RefObject(s)
129
+ */ function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs) {
130
+ // eslint-disable-next-line react-hooks/exhaustive-deps
131
+ return React.useCallback($6ed0406888f73fc4$export$43e446d32b3d21af(...refs), refs);
132
+ }
133
+
134
+ /* -------------------------------------------------------------------------------------------------
135
+ * Slot
136
+ * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
137
+ const { children: children , ...slotProps } = props;
138
+ const childrenArray = React.Children.toArray(children);
139
+ const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
140
+ if (slottable) {
141
+ // the new element to render is the one passed as a child of `Slottable`
142
+ const newElement = slottable.props.children;
143
+ const newChildren = childrenArray.map((child)=>{
144
+ if (child === slottable) {
145
+ // because the new element will be the one rendered, we are only interested
146
+ // in grabbing its children (`newElement.props.children`)
147
+ if (React.Children.count(newElement) > 1) return React.Children.only(null);
148
+ return /*#__PURE__*/ React.isValidElement(newElement) ? newElement.props.children : null;
149
+ } else return child;
150
+ });
151
+ return /*#__PURE__*/ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends._extends({}, slotProps, {
152
+ ref: forwardedRef
153
+ }), /*#__PURE__*/ React.isValidElement(newElement) ? /*#__PURE__*/ React.cloneElement(newElement, undefined, newChildren) : null);
154
+ }
155
+ return /*#__PURE__*/ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends._extends({}, slotProps, {
156
+ ref: forwardedRef
157
+ }), children);
158
+ });
159
+ $5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = 'Slot';
160
+ /* -------------------------------------------------------------------------------------------------
161
+ * SlotClone
162
+ * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$var$SlotClone = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
163
+ const { children: children , ...slotProps } = props;
164
+ if (/*#__PURE__*/ React.isValidElement(children)) return /*#__PURE__*/ React.cloneElement(children, {
165
+ ...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),
166
+ ref: $6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref)
167
+ });
168
+ return React.Children.count(children) > 1 ? React.Children.only(null) : null;
169
+ });
170
+ $5e63c961fc1ce211$var$SlotClone.displayName = 'SlotClone';
171
+ /* -------------------------------------------------------------------------------------------------
172
+ * Slottable
173
+ * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children: children })=>{
174
+ return /*#__PURE__*/ React.createElement(React.Fragment, null, children);
175
+ };
176
+ /* ---------------------------------------------------------------------------------------------- */ function $5e63c961fc1ce211$var$isSlottable(child) {
177
+ return /*#__PURE__*/ React.isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
178
+ }
179
+ function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
180
+ // all child props should override
181
+ const overrideProps = {
182
+ ...childProps
183
+ };
184
+ for(const propName in childProps){
185
+ const slotPropValue = slotProps[propName];
186
+ const childPropValue = childProps[propName];
187
+ const isHandler = /^on[A-Z]/.test(propName);
188
+ if (isHandler) {
189
+ // if the handler exists on both, we compose them
190
+ if (slotPropValue && childPropValue) overrideProps[propName] = (...args)=>{
191
+ childPropValue(...args);
192
+ slotPropValue(...args);
193
+ };
194
+ else if (slotPropValue) overrideProps[propName] = slotPropValue;
195
+ } else if (propName === 'style') overrideProps[propName] = {
196
+ ...slotPropValue,
197
+ ...childPropValue
198
+ };
199
+ else if (propName === 'className') overrideProps[propName] = [
200
+ slotPropValue,
201
+ childPropValue
202
+ ].filter(Boolean).join(' ');
203
+ }
204
+ return {
205
+ ...slotProps,
206
+ ...overrideProps
207
+ };
208
+ }
209
+
210
+ const $8927f6f2acc4f386$var$NODES = [
211
+ 'a',
212
+ 'button',
213
+ 'div',
214
+ 'h2',
215
+ 'h3',
216
+ 'img',
217
+ 'label',
218
+ 'li',
219
+ 'nav',
220
+ 'ol',
221
+ 'p',
222
+ 'span',
223
+ 'svg',
224
+ 'ul'
225
+ ]; // Temporary while we await merge of this fix:
226
+ // https://github.com/DefinitelyTyped/DefinitelyTyped/pull/55396
227
+ // prettier-ignore
228
+ /* -------------------------------------------------------------------------------------------------
229
+ * Primitive
230
+ * -----------------------------------------------------------------------------------------------*/ const $8927f6f2acc4f386$export$250ffa63cdc0d034 = $8927f6f2acc4f386$var$NODES.reduce((primitive, node)=>{
231
+ const Node = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
232
+ const { asChild: asChild , ...primitiveProps } = props;
233
+ const Comp = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : node;
234
+ React.useEffect(()=>{
235
+ window[Symbol.for('radix-ui')] = true;
236
+ }, []);
237
+ return /*#__PURE__*/ React.createElement(Comp, _extends._extends({}, primitiveProps, {
238
+ ref: forwardedRef
239
+ }));
240
+ });
241
+ Node.displayName = `Primitive.${node}`;
242
+ return {
243
+ ...primitive,
244
+ [node]: Node
245
+ };
246
+ }, {});
247
+ /* -------------------------------------------------------------------------------------------------
248
+ * Utils
249
+ * -----------------------------------------------------------------------------------------------*/ /**
250
+ * Flush custom event dispatch
251
+ * https://github.com/radix-ui/primitives/pull/1378
252
+ *
253
+ * React batches *all* event handlers since version 18, this introduces certain considerations when using custom event types.
254
+ *
255
+ * Internally, React prioritises events in the following order:
256
+ * - discrete
257
+ * - continuous
258
+ * - default
259
+ *
260
+ * https://github.com/facebook/react/blob/a8a4742f1c54493df00da648a3f9d26e3db9c8b5/packages/react-dom/src/events/ReactDOMEventListener.js#L294-L350
261
+ *
262
+ * `discrete` is an important distinction as updates within these events are applied immediately.
263
+ * React however, is not able to infer the priority of custom event types due to how they are detected internally.
264
+ * Because of this, it's possible for updates from custom events to be unexpectedly batched when
265
+ * dispatched by another `discrete` event.
266
+ *
267
+ * In order to ensure that updates from custom events are applied predictably, we need to manually flush the batch.
268
+ * This utility should be used when dispatching a custom event from within another `discrete` event, this utility
269
+ * is not nessesary when dispatching known event types, or if dispatching a custom type inside a non-discrete event.
270
+ * For example:
271
+ *
272
+ * dispatching a known click 👎
273
+ * target.dispatchEvent(new Event(‘click’))
274
+ *
275
+ * dispatching a custom type within a non-discrete event 👎
276
+ * onScroll={(event) => event.target.dispatchEvent(new CustomEvent(‘customType’))}
277
+ *
278
+ * dispatching a custom type within a `discrete` event 👍
279
+ * onPointerDown={(event) => dispatchDiscreteCustomEvent(event.target, new CustomEvent(‘customType’))}
280
+ *
281
+ * Note: though React classifies `focus`, `focusin` and `focusout` events as `discrete`, it's not recommended to use
282
+ * this utility with them. This is because it's possible for those handlers to be called implicitly during render
283
+ * e.g. when focus is within a component as it is unmounted, or when managing focus on mount.
284
+ */ function $8927f6f2acc4f386$export$6d1a0317bde7de7f(target, event) {
285
+ if (target) $7SXl2$reactdom.flushSync(()=>target.dispatchEvent(event)
286
+ );
287
+ }
288
+
289
+ /**
290
+ * A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a
291
+ * prop or avoid re-executing effects when passed as a dependency
292
+ */ function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
293
+ const callbackRef = React.useRef(callback);
294
+ React.useEffect(()=>{
295
+ callbackRef.current = callback;
296
+ }); // https://github.com/facebook/react/issues/19240
297
+ return React.useMemo(()=>(...args)=>{
298
+ var _callbackRef$current;
299
+ return (_callbackRef$current = callbackRef.current) === null || _callbackRef$current === void 0 ? void 0 : _callbackRef$current.call(callbackRef, ...args);
300
+ }
301
+ , []);
302
+ }
303
+
304
+ /**
305
+ * On the server, React emits a warning when calling `useLayoutEffect`.
306
+ * This is because neither `useLayoutEffect` nor `useEffect` run on the server.
307
+ * We use this safe version which suppresses the warning by replacing it with a noop on the server.
308
+ *
309
+ * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
310
+ */ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? React.useLayoutEffect : ()=>{};
311
+
312
+ function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop: prop , defaultProp: defaultProp , onChange: onChange = ()=>{} }) {
313
+ const [uncontrolledProp, setUncontrolledProp] = $71cd76cc60e0454e$var$useUncontrolledState({
314
+ defaultProp: defaultProp,
315
+ onChange: onChange
316
+ });
317
+ const isControlled = prop !== undefined;
318
+ const value1 = isControlled ? prop : uncontrolledProp;
319
+ const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
320
+ const setValue = React.useCallback((nextValue)=>{
321
+ if (isControlled) {
322
+ const setter = nextValue;
323
+ const value = typeof nextValue === 'function' ? setter(prop) : nextValue;
324
+ if (value !== prop) handleChange(value);
325
+ } else setUncontrolledProp(nextValue);
326
+ }, [
327
+ isControlled,
328
+ prop,
329
+ setUncontrolledProp,
330
+ handleChange
331
+ ]);
332
+ return [
333
+ value1,
334
+ setValue
335
+ ];
336
+ }
337
+ function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp: defaultProp , onChange: onChange }) {
338
+ const uncontrolledState = React.useState(defaultProp);
339
+ const [value] = uncontrolledState;
340
+ const prevValueRef = React.useRef(value);
341
+ const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
342
+ React.useEffect(()=>{
343
+ if (prevValueRef.current !== value) {
344
+ handleChange(value);
345
+ prevValueRef.current = value;
346
+ }
347
+ }, [
348
+ value,
349
+ prevValueRef,
350
+ handleChange
351
+ ]);
352
+ return uncontrolledState;
353
+ }
354
+
355
+ function $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {
356
+ const ref = React.useRef({
357
+ value: value,
358
+ previous: value
359
+ }); // We compare values before making an update to ensure that
360
+ // a change has been made. This ensures the previous value is
361
+ // persisted correctly between renders.
362
+ return React.useMemo(()=>{
363
+ if (ref.current.value !== value) {
364
+ ref.current.previous = ref.current.value;
365
+ ref.current.value = value;
366
+ }
367
+ return ref.current.previous;
368
+ }, [
369
+ value
370
+ ]);
371
+ }
372
+
373
+ exports.$010c2913dbd2fe3d$export$5cae361ad82dce8b = $010c2913dbd2fe3d$export$5cae361ad82dce8b;
374
+ exports.$5e63c961fc1ce211$export$8c6ed5c666ac1360 = $5e63c961fc1ce211$export$8c6ed5c666ac1360;
375
+ exports.$6ed0406888f73fc4$export$c7b2cbe3552a0d05 = $6ed0406888f73fc4$export$c7b2cbe3552a0d05;
376
+ exports.$71cd76cc60e0454e$export$6f32135080cb4c3 = $71cd76cc60e0454e$export$6f32135080cb4c3;
377
+ exports.$8927f6f2acc4f386$export$250ffa63cdc0d034 = $8927f6f2acc4f386$export$250ffa63cdc0d034;
378
+ exports.$8927f6f2acc4f386$export$6d1a0317bde7de7f = $8927f6f2acc4f386$export$6d1a0317bde7de7f;
379
+ exports.$9f79659886946c16$export$e5c5a5f917a5871c = $9f79659886946c16$export$e5c5a5f917a5871c;
380
+ exports.$b1b2314f5f9a1d84$export$25bec8c6f54ee79a = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a;
381
+ exports.$c512c27ab02ef895$export$50c7b4e9d9f19c1 = $c512c27ab02ef895$export$50c7b4e9d9f19c1;
382
+ exports.$e42e1063c40fb3ef$export$b9ecd428b558ff10 = $e42e1063c40fb3ef$export$b9ecd428b558ff10;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var filterDataAttrs = require('./filter-data-attrs-a30dcf5f.js');
3
+ var filterDataAttrs = require('./filter-data-attrs-1c9a530c.js');
4
4
 
5
5
  /**
6
6
  * Suffixes a modifier value onto the end of a className, converting it to
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-afdb7d32.js';
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
2
  import React__default, { createContext } from 'react';
3
3
 
4
4
  var ArcRootElementContext = createContext(null);
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-afdb7d32.js';
2
- import { c as classNames } from './index-2ae58626.js';
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
+ import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { useContext } from 'react';
4
- import { s as suffixModifier } from './suffix-modifier-7e640670.js';
5
- import { C as Context } from './Surface-dde51789.js';
4
+ import { s as suffixModifier } from './suffix-modifier-3d548e45.js';
5
+ import { C as Context } from './Surface-c6e817cd.js';
6
6
 
7
7
  /**
8
8
  * Use `BrandLogo` to display the brand logo.
@@ -1,19 +1,19 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-afdb7d32.js';
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
2
  import React__default, { useRef, useState, useEffect } from 'react';
3
- import { d as debounce_1 } from './debounce-e228705f.js';
4
- import { B as BtIconChevronLeft2Px_2, a as BtIconChevronRight2Px_2 } from './BtIconChevronRight2Px-b8e7b4ad.js';
5
- import { I as Icon } from './Icon-c1af47bc.js';
6
- import { c as classNames } from './index-2ae58626.js';
3
+ import { d as debounce_1 } from './debounce-6fed6b84.js';
4
+ import { B as BtIconChevronLeft2Px, a as BtIconChevronRight2Px } from './BtIconChevronRight2Px.esm-2c693ef3.js';
5
+ import { I as Icon } from './Icon-3bfabb14.js';
6
+ import { c as classNames } from './index-2e73c2e9.js';
7
7
  import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
8
8
 
9
9
  var BreadcrumbsItem = function (_a) {
10
10
  var spacerIconAfter = _a.spacerIconAfter, spacerIconBefore = _a.spacerIconBefore, children = _a.children, props = __rest(_a, ["spacerIconAfter", "spacerIconBefore", "children"]);
11
11
  return (React__default.createElement("li", __assign({ className: "arc-Breadcrumbs-item" }, filterDataAttrs(props)),
12
12
  spacerIconBefore && (React__default.createElement("div", { className: "arc-Breadcrumbs-spacerIcon", "data-testid": "arc-chevron-left-2px" },
13
- React__default.createElement(Icon, { icon: BtIconChevronLeft2Px_2 }))),
13
+ React__default.createElement(Icon, { icon: BtIconChevronLeft2Px }))),
14
14
  children,
15
15
  spacerIconAfter && (React__default.createElement("div", { className: "arc-Breadcrumbs-spacerIcon" },
16
- React__default.createElement(Icon, { icon: BtIconChevronRight2Px_2 })))));
16
+ React__default.createElement(Icon, { icon: BtIconChevronRight2Px })))));
17
17
  };
18
18
 
19
19
  var BreadcrumbsLink = React__default.forwardRef(function (_a, ref) {
@@ -92,8 +92,6 @@ var Breadcrumbs = function (_a) {
92
92
  isActive: items.length > 1
93
93
  })))))))));
94
94
  };
95
- BreadcrumbsItem.displayName = "Breadcrumbs.Item";
96
- BreadcrumbsLink.displayName = "Breadcrumbs.Link";
97
95
  Breadcrumbs.Item = BreadcrumbsItem;
98
96
  Breadcrumbs.Link = BreadcrumbsLink;
99
97
 
@@ -1,8 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
- const React = React__default;
4
3
  const BtIconAlert = props =>
5
- /*#__PURE__*/ React.createElement(
4
+ /*#__PURE__*/ React__default.createElement(
6
5
  "svg",
7
6
  Object.assign(
8
7
  {
@@ -11,22 +10,21 @@ const BtIconAlert = props =>
11
10
  },
12
11
  props
13
12
  ),
14
- /*#__PURE__*/ React.createElement("defs", null),
15
- /*#__PURE__*/ React.createElement("path", {
13
+ /*#__PURE__*/ React__default.createElement("defs", null),
14
+ /*#__PURE__*/ React__default.createElement("path", {
16
15
  d:
17
16
  "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,27A13,13,0,1,1,29,16,13.01474,13.01474,0,0,1,16,29Z",
18
17
  fill: "currentColor"
19
18
  }),
20
- /*#__PURE__*/ React.createElement("path", {
19
+ /*#__PURE__*/ React__default.createElement("path", {
21
20
  fill: "currentColor",
22
21
  d: "M16 20.99335A1 1 0 1 0 16 22.99335 1 1 0 1 0 16 20.99335z"
23
22
  }),
24
- /*#__PURE__*/ React.createElement("path", {
23
+ /*#__PURE__*/ React__default.createElement("path", {
25
24
  d:
26
25
  "M16.00488,19.00977a.49972.49972,0,0,0,.5-.5L16.50684,9.5a.5.5,0,0,0-1,0l-.002,9.00977A.5.5,0,0,0,16.00488,19.00977Z",
27
26
  fill: "currentColor"
28
27
  })
29
28
  );
30
- var BtIconAlert_2 = BtIconAlert;
31
29
 
32
- export { BtIconAlert_2 as B };
30
+ export { BtIconAlert as B };
@@ -1,8 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
- const React = React__default;
4
3
  const BtIconChevronDown2Px = props =>
5
- /*#__PURE__*/ React.createElement(
4
+ /*#__PURE__*/ React__default.createElement(
6
5
  "svg",
7
6
  Object.assign(
8
7
  {
@@ -11,13 +10,12 @@ const BtIconChevronDown2Px = props =>
11
10
  },
12
11
  props
13
12
  ),
14
- /*#__PURE__*/ React.createElement("defs", null),
15
- /*#__PURE__*/ React.createElement("path", {
13
+ /*#__PURE__*/ React__default.createElement("defs", null),
14
+ /*#__PURE__*/ React__default.createElement("path", {
16
15
  d:
17
16
  "M15.99316,23.91406,2.294,10.207A.99989.99989,0,1,1,3.708,8.793l12.28515,12.293L28.292,8.793A.99989.99989,0,1,1,29.70605,10.207Z",
18
17
  fill: "currentColor"
19
18
  })
20
19
  );
21
- var BtIconChevronDown2Px_2 = BtIconChevronDown2Px;
22
20
 
23
- export { BtIconChevronDown2Px_2 as B };
21
+ export { BtIconChevronDown2Px as B };
@@ -1,8 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
- const React = React__default;
4
3
  const BtIconChevronLeftMid = props =>
5
- /*#__PURE__*/ React.createElement(
4
+ /*#__PURE__*/ React__default.createElement(
6
5
  "svg",
7
6
  Object.assign(
8
7
  {
@@ -12,7 +11,7 @@ const BtIconChevronLeftMid = props =>
12
11
  },
13
12
  props
14
13
  ),
15
- /*#__PURE__*/ React.createElement("path", {
14
+ /*#__PURE__*/ React__default.createElement("path", {
16
15
  fillRule: "evenodd",
17
16
  clipRule: "evenodd",
18
17
  d:
@@ -20,6 +19,5 @@ const BtIconChevronLeftMid = props =>
20
19
  fill: "currentColor"
21
20
  })
22
21
  );
23
- var BtIconChevronLeftMid_2 = BtIconChevronLeftMid;
24
22
 
25
- export { BtIconChevronLeftMid_2 as B };
23
+ export { BtIconChevronLeftMid as B };
@@ -1,8 +1,7 @@
1
1
  import React__default from 'react';
2
2
 
3
- const React$1 = React__default;
4
3
  const BtIconChevronLeft2Px = props =>
5
- /*#__PURE__*/ React$1.createElement(
4
+ /*#__PURE__*/ React__default.createElement(
6
5
  "svg",
7
6
  Object.assign(
8
7
  {
@@ -11,18 +10,16 @@ const BtIconChevronLeft2Px = props =>
11
10
  },
12
11
  props
13
12
  ),
14
- /*#__PURE__*/ React$1.createElement("defs", null),
15
- /*#__PURE__*/ React$1.createElement("path", {
13
+ /*#__PURE__*/ React__default.createElement("defs", null),
14
+ /*#__PURE__*/ React__default.createElement("path", {
16
15
  d:
17
16
  "M22.5,29.99854a.99676.99676,0,0,1-.707-.293L8.08594,15.99268,21.793,2.294A1.00023,1.00023,0,0,1,23.207,3.709l-12.293,12.28467L23.207,28.2915a1,1,0,0,1-.707,1.707Z",
18
17
  fill: "currentColor"
19
18
  })
20
19
  );
21
- var BtIconChevronLeft2Px_2 = BtIconChevronLeft2Px;
22
20
 
23
- const React = React__default;
24
21
  const BtIconChevronRight2Px = props =>
25
- /*#__PURE__*/ React.createElement(
22
+ /*#__PURE__*/ React__default.createElement(
26
23
  "svg",
27
24
  Object.assign(
28
25
  {
@@ -31,13 +28,12 @@ const BtIconChevronRight2Px = props =>
31
28
  },
32
29
  props
33
30
  ),
34
- /*#__PURE__*/ React.createElement("defs", null),
35
- /*#__PURE__*/ React.createElement("path", {
31
+ /*#__PURE__*/ React__default.createElement("defs", null),
32
+ /*#__PURE__*/ React__default.createElement("path", {
36
33
  d:
37
34
  "M9.5,29.99854A1.00025,1.00025,0,0,1,8.793,28.291l12.293-12.28467L8.793,3.7085A.99989.99989,0,0,1,10.207,2.29443l13.707,13.71289L10.207,29.70605A.99827.99827,0,0,1,9.5,29.99854Z",
38
35
  fill: "currentColor"
39
36
  })
40
37
  );
41
- var BtIconChevronRight2Px_2 = BtIconChevronRight2Px;
42
38
 
43
- export { BtIconChevronLeft2Px_2 as B, BtIconChevronRight2Px_2 as a };
39
+ export { BtIconChevronLeft2Px as B, BtIconChevronRight2Px as a };