@arc-ui/components 11.5.0 → 11.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/dist/Alert/Alert.cjs.d.ts +1 -1
  2. package/dist/Alert/Alert.cjs.js +4 -4
  3. package/dist/Alert/Alert.esm.d.ts +1 -1
  4. package/dist/Alert/Alert.esm.js +4 -4
  5. package/dist/Badge/Badge.cjs.js +2 -2
  6. package/dist/Badge/Badge.esm.js +2 -2
  7. package/dist/Box/Box.cjs.d.ts +1 -0
  8. package/dist/Box/Box.cjs.js +13 -0
  9. package/dist/Box/Box.esm.d.ts +1 -0
  10. package/dist/Box/Box.esm.js +5 -0
  11. package/dist/Box/package.json +7 -0
  12. package/dist/BrandLogo/BrandLogo.cjs.d.ts +1 -1
  13. package/dist/BrandLogo/BrandLogo.cjs.js +2 -2
  14. package/dist/BrandLogo/BrandLogo.esm.d.ts +1 -1
  15. package/dist/BrandLogo/BrandLogo.esm.js +2 -2
  16. package/dist/Breadcrumbs/Breadcrumbs.cjs.d.ts +1 -61
  17. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +10 -642
  18. package/dist/Breadcrumbs/Breadcrumbs.esm.d.ts +1 -61
  19. package/dist/Breadcrumbs/Breadcrumbs.esm.js +9 -641
  20. package/dist/Button/Button.cjs.d.ts +1 -1
  21. package/dist/Button/Button.cjs.js +4 -3
  22. package/dist/Button/Button.esm.d.ts +1 -1
  23. package/dist/Button/Button.esm.js +4 -3
  24. package/dist/Card/Card.cjs.d.ts +1 -130
  25. package/dist/Card/Card.cjs.js +12 -119
  26. package/dist/Card/Card.esm.d.ts +1 -130
  27. package/dist/Card/Card.esm.js +11 -118
  28. package/dist/Checkbox/Checkbox.cjs.d.ts +1 -64
  29. package/dist/Checkbox/Checkbox.cjs.js +11 -60
  30. package/dist/Checkbox/Checkbox.esm.d.ts +1 -64
  31. package/dist/Checkbox/Checkbox.esm.js +10 -59
  32. package/dist/Columns/Columns.cjs.d.ts +1 -76
  33. package/dist/Columns/Columns.cjs.js +6 -52
  34. package/dist/Columns/Columns.esm.d.ts +1 -76
  35. package/dist/Columns/Columns.esm.js +5 -51
  36. package/dist/Disclosure/Disclosure.cjs.d.ts +1 -1
  37. package/dist/Disclosure/Disclosure.cjs.js +2 -2
  38. package/dist/Disclosure/Disclosure.esm.d.ts +1 -1
  39. package/dist/Disclosure/Disclosure.esm.js +2 -2
  40. package/dist/DisclosureMini/DisclosureMini.cjs.d.ts +1 -1
  41. package/dist/DisclosureMini/DisclosureMini.cjs.js +3 -3
  42. package/dist/DisclosureMini/DisclosureMini.esm.d.ts +1 -1
  43. package/dist/DisclosureMini/DisclosureMini.esm.js +3 -3
  44. package/dist/Filter/Filter.cjs.d.ts +1 -0
  45. package/dist/Filter/Filter.cjs.js +13 -0
  46. package/dist/Filter/Filter.esm.d.ts +1 -0
  47. package/dist/Filter/Filter.esm.js +5 -0
  48. package/dist/Filter/package.json +7 -0
  49. package/dist/FormControl/FormControl.cjs.d.ts +1 -1
  50. package/dist/FormControl/FormControl.cjs.js +4 -5
  51. package/dist/FormControl/FormControl.esm.d.ts +1 -1
  52. package/dist/FormControl/FormControl.esm.js +4 -5
  53. package/dist/Group/Group.cjs.d.ts +1 -46
  54. package/dist/Group/Group.cjs.js +6 -43
  55. package/dist/Group/Group.esm.d.ts +1 -46
  56. package/dist/Group/Group.esm.js +5 -42
  57. package/dist/Heading/Heading.cjs.d.ts +1 -1
  58. package/dist/Heading/Heading.cjs.js +2 -2
  59. package/dist/Heading/Heading.esm.d.ts +1 -1
  60. package/dist/Heading/Heading.esm.js +2 -2
  61. package/dist/Icon/Icon.cjs.d.ts +1 -1
  62. package/dist/Icon/Icon.cjs.js +2 -2
  63. package/dist/Icon/Icon.esm.d.ts +1 -1
  64. package/dist/Icon/Icon.esm.js +2 -2
  65. package/dist/Image/Image.cjs.d.ts +1 -1
  66. package/dist/Image/Image.cjs.js +2 -1
  67. package/dist/Image/Image.esm.d.ts +1 -1
  68. package/dist/Image/Image.esm.js +1 -1
  69. package/dist/Markup/Markup.cjs.js +1 -1
  70. package/dist/Markup/Markup.esm.js +1 -1
  71. package/dist/MediaCard/MediaCard.cjs.d.ts +61 -0
  72. package/dist/MediaCard/MediaCard.cjs.js +31 -0
  73. package/dist/MediaCard/MediaCard.esm.d.ts +61 -0
  74. package/dist/MediaCard/MediaCard.esm.js +23 -0
  75. package/dist/MediaCard/package.json +7 -0
  76. package/dist/Modal/Modal.cjs.d.ts +31 -0
  77. package/dist/Modal/Modal.cjs.js +388 -0
  78. package/dist/Modal/Modal.esm.d.ts +31 -0
  79. package/dist/Modal/Modal.esm.js +380 -0
  80. package/dist/Modal/package.json +7 -0
  81. package/dist/Pagination/Pagination.cjs.d.ts +20 -0
  82. package/dist/Pagination/Pagination.cjs.js +87 -0
  83. package/dist/Pagination/Pagination.esm.d.ts +20 -0
  84. package/dist/Pagination/Pagination.esm.js +79 -0
  85. package/dist/Pagination/package.json +7 -0
  86. package/dist/PaginationSimple/PaginationSimple.cjs.d.ts +28 -0
  87. package/dist/PaginationSimple/PaginationSimple.cjs.js +47 -0
  88. package/dist/PaginationSimple/PaginationSimple.esm.d.ts +28 -0
  89. package/dist/PaginationSimple/PaginationSimple.esm.js +39 -0
  90. package/dist/PaginationSimple/package.json +7 -0
  91. package/dist/Poster/Poster.cjs.d.ts +1 -81
  92. package/dist/Poster/Poster.cjs.js +8 -45
  93. package/dist/Poster/Poster.esm.d.ts +1 -81
  94. package/dist/Poster/Poster.esm.js +7 -44
  95. package/dist/ProgressBar/ProgressBar.cjs.js +4 -4
  96. package/dist/ProgressBar/ProgressBar.esm.js +4 -4
  97. package/dist/ProgressStepper/ProgressStepper.cjs.d.ts +89 -0
  98. package/dist/ProgressStepper/ProgressStepper.cjs.js +152 -0
  99. package/dist/ProgressStepper/ProgressStepper.esm.d.ts +89 -0
  100. package/dist/ProgressStepper/ProgressStepper.esm.js +144 -0
  101. package/dist/ProgressStepper/package.json +7 -0
  102. package/dist/RadioGroup/RadioGroup.cjs.d.ts +1 -85
  103. package/dist/RadioGroup/RadioGroup.cjs.js +9 -68
  104. package/dist/RadioGroup/RadioGroup.esm.d.ts +1 -85
  105. package/dist/RadioGroup/RadioGroup.esm.js +8 -67
  106. package/dist/Rule/Rule.cjs.js +1 -1
  107. package/dist/Rule/Rule.esm.js +1 -1
  108. package/dist/ScrollToTop/ScrollToTop.cjs.d.ts +25 -0
  109. package/dist/ScrollToTop/ScrollToTop.cjs.js +68 -0
  110. package/dist/ScrollToTop/ScrollToTop.esm.d.ts +25 -0
  111. package/dist/ScrollToTop/ScrollToTop.esm.js +60 -0
  112. package/dist/ScrollToTop/package.json +7 -0
  113. package/dist/Select/Select.cjs.d.ts +2 -2
  114. package/dist/Select/Select.cjs.js +20 -1419
  115. package/dist/Select/Select.esm.d.ts +2 -2
  116. package/dist/Select/Select.esm.js +10 -1390
  117. package/dist/SiteFooter/SiteFooter.cjs.d.ts +2 -62
  118. package/dist/SiteFooter/SiteFooter.cjs.js +10 -65
  119. package/dist/SiteFooter/SiteFooter.esm.d.ts +2 -62
  120. package/dist/SiteFooter/SiteFooter.esm.js +12 -66
  121. package/dist/SiteHeader/SiteHeader.cjs.d.ts +2 -260
  122. package/dist/SiteHeader/SiteHeader.cjs.js +17 -669
  123. package/dist/SiteHeader/SiteHeader.esm.d.ts +2 -260
  124. package/dist/SiteHeader/SiteHeader.esm.js +15 -667
  125. package/dist/Surface/Surface.cjs.d.ts +1 -1
  126. package/dist/Surface/Surface.cjs.js +1 -1
  127. package/dist/Surface/Surface.esm.d.ts +1 -1
  128. package/dist/Surface/Surface.esm.js +1 -1
  129. package/dist/Switch/Switch.cjs.d.ts +2 -2
  130. package/dist/Switch/Switch.cjs.js +8 -7
  131. package/dist/Switch/Switch.esm.d.ts +2 -2
  132. package/dist/Switch/Switch.esm.js +7 -6
  133. package/dist/Tag/Tag.cjs.js +2 -2
  134. package/dist/Tag/Tag.esm.js +2 -2
  135. package/dist/Text/Text.cjs.d.ts +1 -1
  136. package/dist/Text/Text.cjs.js +2 -2
  137. package/dist/Text/Text.esm.d.ts +1 -1
  138. package/dist/Text/Text.esm.js +2 -2
  139. package/dist/TextArea/TextArea.cjs.d.ts +61 -0
  140. package/dist/TextArea/TextArea.cjs.js +87 -0
  141. package/dist/TextArea/TextArea.esm.d.ts +61 -0
  142. package/dist/TextArea/TextArea.esm.js +79 -0
  143. package/dist/TextArea/package.json +7 -0
  144. package/dist/TextInput/TextInput.cjs.d.ts +1 -75
  145. package/dist/TextInput/TextInput.cjs.js +10 -76
  146. package/dist/TextInput/TextInput.esm.d.ts +1 -75
  147. package/dist/TextInput/TextInput.esm.js +9 -75
  148. package/dist/UniversalHeader/UniversalHeader.cjs.d.ts +1 -26
  149. package/dist/UniversalHeader/UniversalHeader.cjs.js +5 -30
  150. package/dist/UniversalHeader/UniversalHeader.esm.d.ts +1 -26
  151. package/dist/UniversalHeader/UniversalHeader.esm.js +4 -29
  152. package/dist/_shared/cjs/Box-ebe2b7be.d.ts +39 -0
  153. package/dist/_shared/cjs/Box-ebe2b7be.js +30 -0
  154. package/dist/_shared/cjs/{BrandLogo-8008f0c4.js → BrandLogo-8107d59f.js} +1 -1
  155. package/dist/_shared/cjs/Breadcrumbs-9f580f69.d.ts +61 -0
  156. package/dist/_shared/cjs/Breadcrumbs-9f580f69.js +106 -0
  157. package/dist/_shared/cjs/BtIconChevronLeftMid-df952a3e.js +31 -0
  158. package/dist/_shared/cjs/{Button-5dff284a.js → Button-b4d6ccc8.js} +8 -29
  159. package/dist/_shared/cjs/Card-f1108bfe.d.ts +136 -0
  160. package/dist/_shared/cjs/Card-f1108bfe.js +124 -0
  161. package/dist/_shared/cjs/Checkbox-c927b62f.d.ts +64 -0
  162. package/dist/_shared/cjs/Checkbox-c927b62f.js +62 -0
  163. package/dist/_shared/cjs/Columns-e90798f8.d.ts +76 -0
  164. package/dist/_shared/cjs/Columns-e90798f8.js +57 -0
  165. package/dist/_shared/cjs/{DisclosureMini-5af13d3c.js → DisclosureMini-2a10006e.js} +5 -3
  166. package/dist/_shared/cjs/Filter-a7574fe7.d.ts +83 -0
  167. package/dist/_shared/cjs/Filter-a7574fe7.js +121 -0
  168. package/dist/_shared/{esm/FormControl-0744f93f.d.ts → cjs/FormControl-78b007b7.d.ts} +4 -0
  169. package/dist/_shared/cjs/{FormControl-42360ae8.js → FormControl-78b007b7.js} +10 -10
  170. package/dist/_shared/cjs/Group-f85dd4c0.d.ts +46 -0
  171. package/dist/_shared/cjs/Group-f85dd4c0.js +48 -0
  172. package/dist/_shared/cjs/{Heading-d45f6a7f.js → Heading-ed1cb455.js} +1 -1
  173. package/dist/_shared/cjs/{Icon-9ae8dbe1.js → Icon-e1dd45eb.js} +1 -1
  174. package/dist/_shared/cjs/{Image-3bf4b4f3.js → Image-0e393cbf.js} +2 -0
  175. package/dist/_shared/cjs/ItemGroup-5af4d600.d.ts +27 -0
  176. package/dist/_shared/cjs/NavItem-df20237c.d.ts +43 -0
  177. package/dist/_shared/cjs/NavItemWithSubNav-65f21828.d.ts +49 -0
  178. package/dist/_shared/cjs/Poster-faea1ad3.d.ts +81 -0
  179. package/dist/_shared/cjs/Poster-faea1ad3.js +50 -0
  180. package/dist/_shared/cjs/RadioGroup-8e17de70.d.ts +97 -0
  181. package/dist/_shared/cjs/RadioGroup-8e17de70.js +70 -0
  182. package/dist/_shared/cjs/SiteFooter-9f7f9c2d.d.ts +62 -0
  183. package/dist/_shared/cjs/SiteFooter-9f7f9c2d.js +73 -0
  184. package/dist/_shared/cjs/SiteHeader-c25ee36e.d.ts +78 -0
  185. package/dist/_shared/cjs/SiteHeader.rehydrator-ccbebde6.d.ts +78 -0
  186. package/dist/_shared/cjs/SiteHeader.rehydrator-ccbebde6.js +673 -0
  187. package/dist/_shared/cjs/SubNavItem-a84d1bf4.d.ts +48 -0
  188. package/dist/_shared/cjs/{Surface-6da0a78e.d.ts → Surface-b7c51b2b.d.ts} +3 -2
  189. package/dist/_shared/cjs/{Surface-6da0a78e.js → Surface-b7c51b2b.js} +1 -1
  190. package/dist/_shared/cjs/{Text-6f2827e6.js → Text-555a29a4.js} +1 -1
  191. package/dist/_shared/cjs/TextInput-7ed03a48.d.ts +75 -0
  192. package/dist/_shared/cjs/TextInput-b768e346.d.ts +10 -0
  193. package/dist/_shared/cjs/TextInput-b768e346.js +78 -0
  194. package/dist/_shared/cjs/UniversalHeader-da622e1a.d.ts +26 -0
  195. package/dist/_shared/cjs/UniversalHeader-da622e1a.js +35 -0
  196. package/dist/_shared/cjs/debounce-506538c5.js +544 -0
  197. package/dist/_shared/cjs/index-31fbb076.js +1416 -0
  198. package/dist/_shared/cjs/index-699086a7.d.ts +2 -0
  199. package/dist/_shared/cjs/index-74488a9f.d.ts +2 -0
  200. package/dist/_shared/cjs/index-c81c9401.d.ts +3 -3
  201. package/dist/_shared/cjs/index-e340924e.d.ts +2 -0
  202. package/dist/_shared/cjs/index-e6d20018.d.ts +3 -0
  203. package/dist/_shared/cjs/index-eb06f640.d.ts +2 -0
  204. package/dist/_shared/cjs/index-f419cf04.d.ts +2 -0
  205. package/dist/_shared/cjs/index.module-5ea728f4.js +23 -0
  206. package/dist/_shared/cjs/{index.module-af7c85f2.js → index.module-9b87a34d.js} +84 -103
  207. package/dist/_shared/esm/Box-06d99d8a.d.ts +39 -0
  208. package/dist/_shared/esm/Box-06d99d8a.js +24 -0
  209. package/dist/_shared/esm/{BrandLogo-56699561.js → BrandLogo-9ec620e8.js} +1 -1
  210. package/dist/_shared/esm/Breadcrumbs-5dc0afa7.d.ts +61 -0
  211. package/dist/_shared/esm/Breadcrumbs-5dc0afa7.js +100 -0
  212. package/dist/_shared/esm/BtIconChevronLeftMid-9f4f3a3d.js +25 -0
  213. package/dist/_shared/esm/{Button-61241dd0.js → Button-9c3b0b11.js} +4 -25
  214. package/dist/_shared/esm/Card-79b6eae0.d.ts +136 -0
  215. package/dist/_shared/esm/Card-79b6eae0.js +118 -0
  216. package/dist/_shared/esm/Checkbox-2d144384.d.ts +64 -0
  217. package/dist/_shared/esm/Checkbox-2d144384.js +56 -0
  218. package/dist/_shared/esm/Columns-8704515b.d.ts +76 -0
  219. package/dist/_shared/esm/Columns-8704515b.js +51 -0
  220. package/dist/_shared/esm/{DisclosureMini-322fccc0.js → DisclosureMini-78a8f392.js} +5 -3
  221. package/dist/_shared/esm/Filter-a01aed11.d.ts +83 -0
  222. package/dist/_shared/esm/Filter-a01aed11.js +115 -0
  223. package/dist/_shared/{cjs/FormControl-42360ae8.d.ts → esm/FormControl-2fa7aae5.d.ts} +4 -0
  224. package/dist/_shared/esm/{FormControl-0744f93f.js → FormControl-2fa7aae5.js} +10 -10
  225. package/dist/_shared/esm/Group-fb26fd32.d.ts +46 -0
  226. package/dist/_shared/esm/Group-fb26fd32.js +42 -0
  227. package/dist/_shared/esm/{Heading-b61432fb.js → Heading-ee6bec51.js} +1 -1
  228. package/dist/_shared/esm/{Icon-fd247973.js → Icon-c1af47bc.js} +1 -1
  229. package/dist/_shared/esm/{Image-3596ce55.js → Image-3ed3863c.js} +2 -1
  230. package/dist/_shared/esm/ItemGroup-5af4d600.d.ts +27 -0
  231. package/dist/_shared/esm/NavItem-df20237c.d.ts +43 -0
  232. package/dist/_shared/esm/NavItemWithSubNav-65f21828.d.ts +49 -0
  233. package/dist/_shared/esm/Poster-a83ae770.d.ts +81 -0
  234. package/dist/_shared/esm/Poster-a83ae770.js +44 -0
  235. package/dist/_shared/esm/RadioGroup-65b8c8bf.d.ts +97 -0
  236. package/dist/_shared/esm/RadioGroup-65b8c8bf.js +64 -0
  237. package/dist/_shared/esm/SiteFooter-51bdc7df.d.ts +62 -0
  238. package/dist/_shared/esm/SiteFooter-51bdc7df.js +67 -0
  239. package/dist/_shared/esm/SiteHeader-c25ee36e.d.ts +78 -0
  240. package/dist/_shared/esm/SiteHeader.rehydrator-382d1c03.d.ts +78 -0
  241. package/dist/_shared/esm/SiteHeader.rehydrator-382d1c03.js +666 -0
  242. package/dist/_shared/esm/SubNavItem-a84d1bf4.d.ts +48 -0
  243. package/dist/_shared/esm/{Surface-bb100ef8.d.ts → Surface-dde51789.d.ts} +3 -2
  244. package/dist/_shared/esm/{Surface-bb100ef8.js → Surface-dde51789.js} +1 -1
  245. package/dist/_shared/esm/{Text-00e9743b.js → Text-14deb70e.js} +1 -1
  246. package/dist/_shared/esm/TextInput-62bb7dee.d.ts +10 -0
  247. package/dist/_shared/esm/TextInput-62bb7dee.js +72 -0
  248. package/dist/_shared/esm/TextInput-7ed03a48.d.ts +75 -0
  249. package/dist/_shared/esm/UniversalHeader-1c5a886d.d.ts +26 -0
  250. package/dist/_shared/esm/UniversalHeader-1c5a886d.js +29 -0
  251. package/dist/_shared/esm/debounce-e228705f.js +542 -0
  252. package/dist/_shared/esm/index-4fa635bd.js +1386 -0
  253. package/dist/_shared/esm/index-699086a7.d.ts +2 -0
  254. package/dist/_shared/esm/index-74488a9f.d.ts +2 -0
  255. package/dist/_shared/esm/index-c81c9401.d.ts +3 -3
  256. package/dist/_shared/esm/index-e340924e.d.ts +2 -0
  257. package/dist/_shared/esm/index-e6d20018.d.ts +3 -0
  258. package/dist/_shared/esm/index-eb06f640.d.ts +2 -0
  259. package/dist/_shared/esm/index-f419cf04.d.ts +2 -0
  260. package/dist/_shared/esm/{index.module-599b86dd.js → index.module-216016b5.js} +86 -104
  261. package/dist/_shared/esm/index.module-88179159.js +21 -0
  262. package/dist/index.es.js +179 -28
  263. package/dist/index.es.js.map +1 -1
  264. package/dist/index.js +180 -27
  265. package/dist/index.js.map +1 -1
  266. package/dist/styles.css +1 -1
  267. package/dist/types/components/Box/Box.d.ts +36 -0
  268. package/dist/types/components/Box/index.d.ts +1 -0
  269. package/dist/types/components/Filter/Filter.d.ts +38 -0
  270. package/dist/types/components/Filter/FilterControls/FilterControl/FilterControl.d.ts +16 -0
  271. package/dist/types/components/Filter/FilterControls/FilterControls.d.ts +12 -0
  272. package/dist/types/components/Filter/FilterItems/FilterItem/FilterItem.d.ts +12 -0
  273. package/dist/types/components/Filter/FilterItems/FilterItems.d.ts +12 -0
  274. package/dist/types/components/Filter/index.d.ts +1 -0
  275. package/dist/types/components/FormControl/FormControl.d.ts +4 -0
  276. package/dist/types/components/Image/index.d.ts +1 -1
  277. package/dist/types/components/MediaCard/MediaCard.d.ts +57 -0
  278. package/dist/types/components/MediaCard/index.d.ts +1 -0
  279. package/dist/types/components/Modal/Modal.stories-wip.d.ts +9 -0
  280. package/dist/types/components/Pagination/Pagination.d.ts +19 -0
  281. package/dist/types/components/Pagination/index.d.ts +1 -0
  282. package/dist/types/components/PaginationSimple/PaginationSimple.d.ts +27 -0
  283. package/dist/types/components/PaginationSimple/index.d.ts +1 -0
  284. package/dist/types/components/ProgressStepper/ProgressStepper.d.ts +28 -0
  285. package/dist/types/components/ProgressStepper/ProgressStepperItem/ProgressStepperItem.d.ts +62 -0
  286. package/dist/types/components/ProgressStepper/index.d.ts +1 -0
  287. package/dist/types/components/ProgressStepper/progressStatus.d.ts +1 -0
  288. package/dist/types/components/RadioGroup/RadioGroup.d.ts +1 -1
  289. package/dist/types/components/ScrollToTop/ScrollToTop.d.ts +24 -0
  290. package/dist/types/components/ScrollToTop/index.d.ts +1 -0
  291. package/dist/types/components/Select/Select.d.ts +1 -1
  292. package/dist/types/components/Surface/Surface.d.ts +2 -1
  293. package/dist/types/components/Surface/index.d.ts +1 -1
  294. package/dist/types/components/Switch/Switch.d.ts +1 -1
  295. package/dist/types/components/TextArea/TextArea.d.ts +60 -0
  296. package/dist/types/components/TextArea/index.d.ts +1 -0
  297. package/dist/types/components/TextInput/TextInput.d.ts +1 -1
  298. package/dist/types/components/index.d.ts +2 -0
  299. package/dist/types/hooks/use-pagination.d.ts +1 -0
  300. package/dist/types/styles.d.ts +10 -0
  301. package/package.json +4 -4
  302. /package/dist/_shared/cjs/{BrandLogo-8008f0c4.d.ts → BrandLogo-8107d59f.d.ts} +0 -0
  303. /package/dist/_shared/cjs/{Button-5dff284a.d.ts → Button-b4d6ccc8.d.ts} +0 -0
  304. /package/dist/_shared/cjs/{DisclosureMini-5af13d3c.d.ts → DisclosureMini-2a10006e.d.ts} +0 -0
  305. /package/dist/_shared/cjs/{Heading-d45f6a7f.d.ts → Heading-ed1cb455.d.ts} +0 -0
  306. /package/dist/_shared/cjs/{Icon-9ae8dbe1.d.ts → Icon-e1dd45eb.d.ts} +0 -0
  307. /package/dist/_shared/cjs/{Image-3bf4b4f3.d.ts → Image-0e393cbf.d.ts} +0 -0
  308. /package/dist/_shared/cjs/{Text-6f2827e6.d.ts → Text-555a29a4.d.ts} +0 -0
  309. /package/dist/_shared/esm/{BrandLogo-56699561.d.ts → BrandLogo-9ec620e8.d.ts} +0 -0
  310. /package/dist/_shared/esm/{Button-61241dd0.d.ts → Button-9c3b0b11.d.ts} +0 -0
  311. /package/dist/_shared/esm/{DisclosureMini-322fccc0.d.ts → DisclosureMini-78a8f392.d.ts} +0 -0
  312. /package/dist/_shared/esm/{Heading-b61432fb.d.ts → Heading-ee6bec51.d.ts} +0 -0
  313. /package/dist/_shared/esm/{Icon-fd247973.d.ts → Icon-c1af47bc.d.ts} +0 -0
  314. /package/dist/_shared/esm/{Image-3596ce55.d.ts → Image-3ed3863c.d.ts} +0 -0
  315. /package/dist/_shared/esm/{Text-00e9743b.d.ts → Text-14deb70e.d.ts} +0 -0
@@ -0,0 +1,2 @@
1
+ export { Item } from "./SiteHeader.rehydrator-ccbebde6";
2
+ export {};
@@ -0,0 +1,2 @@
1
+ export { SubNavItem } from "./SubNavItem-a84d1bf4";
2
+ export { default as SubNavItemRehydrator } from "./SiteHeader.rehydrator-ccbebde6";
@@ -1,4 +1,4 @@
1
- export * from "./FormControl-42360ae8";
2
- export * from "../../Card/Card.cjs";
1
+ export * from "./FormControl-78b007b7";
2
+ export * from "./Card-f1108bfe";
3
3
  export * from "./index.es-77def0c9";
4
- export * from "../../TextInput/TextInput.cjs";
4
+ export * from "./TextInput-b768e346";
@@ -0,0 +1,2 @@
1
+ export { ItemGroup } from "./ItemGroup-5af4d600";
2
+ export { default as ItemGroupRehydrator } from "./SiteHeader.rehydrator-ccbebde6";
@@ -0,0 +1,3 @@
1
+ export { NavItem } from "./NavItem-df20237c";
2
+ export { default as NavItemRehydrator, default as NavItemWithSubNavRehydrator } from "./SiteHeader.rehydrator-ccbebde6";
3
+ export { NavItemWithSubNav } from "./NavItemWithSubNav-65f21828";
@@ -0,0 +1,2 @@
1
+ export { Panel } from "./SiteHeader.rehydrator-ccbebde6";
2
+ export {};
@@ -0,0 +1,2 @@
1
+ export { Column } from "./SiteHeader.rehydrator-ccbebde6";
2
+ export {};
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ function $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {
6
+ const ref = React.useRef({
7
+ value: value,
8
+ previous: value
9
+ }); // We compare values before making an update to ensure that
10
+ // a change has been made. This ensures the previous value is
11
+ // persisted correctly between renders.
12
+ return React.useMemo(()=>{
13
+ if (ref.current.value !== value) {
14
+ ref.current.previous = ref.current.value;
15
+ ref.current.value = value;
16
+ }
17
+ return ref.current.previous;
18
+ }, [
19
+ value
20
+ ]);
21
+ }
22
+
23
+ exports.$010c2913dbd2fe3d$export$5cae361ad82dce8b = $010c2913dbd2fe3d$export$5cae361ad82dce8b;
@@ -28,6 +28,29 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
28
28
  };
29
29
  }
30
30
 
31
+ /**
32
+ * Set a given ref to a given value
33
+ * This utility takes care of different types of refs: callback refs and RefObject(s)
34
+ */ function $6ed0406888f73fc4$var$setRef(ref, value) {
35
+ if (typeof ref === 'function') ref(value);
36
+ else if (ref !== null && ref !== undefined) ref.current = value;
37
+ }
38
+ /**
39
+ * A utility to compose multiple refs together
40
+ * Accepts callback refs and RefObject(s)
41
+ */ function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs) {
42
+ return (node)=>refs.forEach((ref)=>$6ed0406888f73fc4$var$setRef(ref, node)
43
+ )
44
+ ;
45
+ }
46
+ /**
47
+ * A custom hook that composes multiple refs
48
+ * Accepts callback refs and RefObject(s)
49
+ */ function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs) {
50
+ // eslint-disable-next-line react-hooks/exhaustive-deps
51
+ return React.useCallback($6ed0406888f73fc4$export$43e446d32b3d21af(...refs), refs);
52
+ }
53
+
31
54
  /* -------------------------------------------------------------------------------------------------
32
55
  * createContextScope
33
56
  * -----------------------------------------------------------------------------------------------*/ function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeDeps = []) {
@@ -126,26 +149,69 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
126
149
  }
127
150
 
128
151
  /**
129
- * Set a given ref to a given value
130
- * This utility takes care of different types of refs: callback refs and RefObject(s)
131
- */ function $6ed0406888f73fc4$var$setRef(ref, value) {
132
- if (typeof ref === 'function') ref(value);
133
- else if (ref !== null && ref !== undefined) ref.current = value;
134
- }
152
+ * On the server, React emits a warning when calling `useLayoutEffect`.
153
+ * This is because neither `useLayoutEffect` nor `useEffect` run on the server.
154
+ * We use this safe version which suppresses the warning by replacing it with a noop on the server.
155
+ *
156
+ * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
157
+ */ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? React.useLayoutEffect : ()=>{};
158
+
135
159
  /**
136
- * A utility to compose multiple refs together
137
- * Accepts callback refs and RefObject(s)
138
- */ function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs) {
139
- return (node)=>refs.forEach((ref)=>$6ed0406888f73fc4$var$setRef(ref, node)
140
- )
141
- ;
160
+ * A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a
161
+ * prop or avoid re-executing effects when passed as a dependency
162
+ */ function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
163
+ const callbackRef = React.useRef(callback);
164
+ React.useEffect(()=>{
165
+ callbackRef.current = callback;
166
+ }); // https://github.com/facebook/react/issues/19240
167
+ return React.useMemo(()=>(...args)=>{
168
+ var _callbackRef$current;
169
+ return (_callbackRef$current = callbackRef.current) === null || _callbackRef$current === void 0 ? void 0 : _callbackRef$current.call(callbackRef, ...args);
170
+ }
171
+ , []);
142
172
  }
143
- /**
144
- * A custom hook that composes multiple refs
145
- * Accepts callback refs and RefObject(s)
146
- */ function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs) {
147
- // eslint-disable-next-line react-hooks/exhaustive-deps
148
- return React.useCallback($6ed0406888f73fc4$export$43e446d32b3d21af(...refs), refs);
173
+
174
+ function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop: prop , defaultProp: defaultProp , onChange: onChange = ()=>{} }) {
175
+ const [uncontrolledProp, setUncontrolledProp] = $71cd76cc60e0454e$var$useUncontrolledState({
176
+ defaultProp: defaultProp,
177
+ onChange: onChange
178
+ });
179
+ const isControlled = prop !== undefined;
180
+ const value1 = isControlled ? prop : uncontrolledProp;
181
+ const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
182
+ const setValue = React.useCallback((nextValue)=>{
183
+ if (isControlled) {
184
+ const setter = nextValue;
185
+ const value = typeof nextValue === 'function' ? setter(prop) : nextValue;
186
+ if (value !== prop) handleChange(value);
187
+ } else setUncontrolledProp(nextValue);
188
+ }, [
189
+ isControlled,
190
+ prop,
191
+ setUncontrolledProp,
192
+ handleChange
193
+ ]);
194
+ return [
195
+ value1,
196
+ setValue
197
+ ];
198
+ }
199
+ function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp: defaultProp , onChange: onChange }) {
200
+ const uncontrolledState = React.useState(defaultProp);
201
+ const [value] = uncontrolledState;
202
+ const prevValueRef = React.useRef(value);
203
+ const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
204
+ React.useEffect(()=>{
205
+ if (prevValueRef.current !== value) {
206
+ handleChange(value);
207
+ prevValueRef.current = value;
208
+ }
209
+ }, [
210
+ value,
211
+ prevValueRef,
212
+ handleChange
213
+ ]);
214
+ return uncontrolledState;
149
215
  }
150
216
 
151
217
  /* -------------------------------------------------------------------------------------------------
@@ -303,91 +369,6 @@ const $8927f6f2acc4f386$var$NODES = [
303
369
  );
304
370
  }
305
371
 
306
- /**
307
- * A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a
308
- * prop or avoid re-executing effects when passed as a dependency
309
- */ function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
310
- const callbackRef = React.useRef(callback);
311
- React.useEffect(()=>{
312
- callbackRef.current = callback;
313
- }); // https://github.com/facebook/react/issues/19240
314
- return React.useMemo(()=>(...args)=>{
315
- var _callbackRef$current;
316
- return (_callbackRef$current = callbackRef.current) === null || _callbackRef$current === void 0 ? void 0 : _callbackRef$current.call(callbackRef, ...args);
317
- }
318
- , []);
319
- }
320
-
321
- /**
322
- * On the server, React emits a warning when calling `useLayoutEffect`.
323
- * This is because neither `useLayoutEffect` nor `useEffect` run on the server.
324
- * We use this safe version which suppresses the warning by replacing it with a noop on the server.
325
- *
326
- * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
327
- */ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? React.useLayoutEffect : ()=>{};
328
-
329
- function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop: prop , defaultProp: defaultProp , onChange: onChange = ()=>{} }) {
330
- const [uncontrolledProp, setUncontrolledProp] = $71cd76cc60e0454e$var$useUncontrolledState({
331
- defaultProp: defaultProp,
332
- onChange: onChange
333
- });
334
- const isControlled = prop !== undefined;
335
- const value1 = isControlled ? prop : uncontrolledProp;
336
- const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
337
- const setValue = React.useCallback((nextValue)=>{
338
- if (isControlled) {
339
- const setter = nextValue;
340
- const value = typeof nextValue === 'function' ? setter(prop) : nextValue;
341
- if (value !== prop) handleChange(value);
342
- } else setUncontrolledProp(nextValue);
343
- }, [
344
- isControlled,
345
- prop,
346
- setUncontrolledProp,
347
- handleChange
348
- ]);
349
- return [
350
- value1,
351
- setValue
352
- ];
353
- }
354
- function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp: defaultProp , onChange: onChange }) {
355
- const uncontrolledState = React.useState(defaultProp);
356
- const [value] = uncontrolledState;
357
- const prevValueRef = React.useRef(value);
358
- const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
359
- React.useEffect(()=>{
360
- if (prevValueRef.current !== value) {
361
- handleChange(value);
362
- prevValueRef.current = value;
363
- }
364
- }, [
365
- value,
366
- prevValueRef,
367
- handleChange
368
- ]);
369
- return uncontrolledState;
370
- }
371
-
372
- function $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {
373
- const ref = React.useRef({
374
- value: value,
375
- previous: value
376
- }); // We compare values before making an update to ensure that
377
- // a change has been made. This ensures the previous value is
378
- // persisted correctly between renders.
379
- return React.useMemo(()=>{
380
- if (ref.current.value !== value) {
381
- ref.current.previous = ref.current.value;
382
- ref.current.value = value;
383
- }
384
- return ref.current.previous;
385
- }, [
386
- value
387
- ]);
388
- }
389
-
390
- exports.$010c2913dbd2fe3d$export$5cae361ad82dce8b = $010c2913dbd2fe3d$export$5cae361ad82dce8b;
391
372
  exports.$5e63c961fc1ce211$export$8c6ed5c666ac1360 = $5e63c961fc1ce211$export$8c6ed5c666ac1360;
392
373
  exports.$6ed0406888f73fc4$export$c7b2cbe3552a0d05 = $6ed0406888f73fc4$export$c7b2cbe3552a0d05;
393
374
  exports.$71cd76cc60e0454e$export$6f32135080cb4c3 = $71cd76cc60e0454e$export$6f32135080cb4c3;
@@ -0,0 +1,39 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ import { FC } from "react";
4
+ import { SurfaceBackgroundColor, SurfacePadding } from "./Surface-dde51789";
5
+ /**
6
+ * Use `Box` as a simple way to group bespoke content and interactive elements together.
7
+ */
8
+ declare const Box: FC<BoxProps>;
9
+ interface BoxProps {
10
+ /**
11
+ * Contents of the Box.
12
+ */
13
+ children: React.ReactNode;
14
+ /**
15
+ * Set Box to fill parent element.
16
+ */
17
+ isFullHeight?: boolean;
18
+ /**
19
+ * Add rounded corners to the box.
20
+ */
21
+ isBorderRadius?: boolean;
22
+ /**
23
+ * The border width of the box.
24
+ */
25
+ borderWidth?: "thin" | "medium";
26
+ /**
27
+ * Box shadow for the box.
28
+ */
29
+ elevationLevel?: "1" | "2";
30
+ /**
31
+ * Padding for the box.
32
+ */
33
+ padding?: SurfacePadding;
34
+ /**
35
+ * Background color for the box.
36
+ */
37
+ surface?: SurfaceBackgroundColor;
38
+ }
39
+ export { Box, BoxProps };
@@ -0,0 +1,24 @@
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-afdb7d32.js';
2
+ import React__default from 'react';
3
+ import { c as classNames } from './index-2ae58626.js';
4
+ import { S as Surface } from './Surface-dde51789.js';
5
+
6
+ // Do equal height boxes story
7
+ /**
8
+ * Use `Box` as a simple way to group bespoke content and interactive elements together.
9
+ */
10
+ var Box = function (_a) {
11
+ var _b;
12
+ var children = _a.children, borderWidth = _a.borderWidth, elevationLevel = _a.elevationLevel, padding = _a.padding, _c = _a.isFullHeight, isFullHeight = _c === void 0 ? false : _c, _d = _a.isBorderRadius, isBorderRadius = _d === void 0 ? false : _d, _e = _a.surface, surface = _e === void 0 ? "white" : _e, props = __rest(_a, ["children", "borderWidth", "elevationLevel", "padding", "isFullHeight", "isBorderRadius", "surface"]);
13
+ return (React__default.createElement("div", __assign({ className: classNames("arc-Box", (_b = {},
14
+ _b["arc-Box--fullHeight"] = isFullHeight,
15
+ _b["arc-Box--borderRadius"] = isBorderRadius,
16
+ _b["arc-Box--borderThin"] = borderWidth === "thin",
17
+ _b["arc-Box--borderMedium"] = borderWidth === "medium",
18
+ _b["arc-Box--elevation1"] = elevationLevel === "1",
19
+ _b["arc-Box--elevation2"] = elevationLevel === "2",
20
+ _b)) }, filterDataAttrs(props)),
21
+ React__default.createElement(Surface, { padding: padding, background: surface }, children)));
22
+ };
23
+
24
+ export { Box as B };
@@ -2,7 +2,7 @@ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-
2
2
  import { c as classNames } from './index-2ae58626.js';
3
3
  import React__default, { useContext } from 'react';
4
4
  import { s as suffixModifier } from './suffix-modifier-7e640670.js';
5
- import { C as Context } from './Surface-bb100ef8.js';
5
+ import { C as Context } from './Surface-dde51789.js';
6
6
 
7
7
  /**
8
8
  * Use `BrandLogo` to display the brand logo.
@@ -0,0 +1,61 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ import { FC, ReactNode } from "react";
4
+ declare const BreadcrumbsLink: FC<LinkProps>;
5
+ interface LinkProps {
6
+ /**
7
+ * Render children of `breadcrumbs.link`
8
+ */
9
+ children?: ReactNode;
10
+ /**
11
+ * Where breadcrumb linkshould lead too
12
+ */
13
+ href?: string;
14
+ /**
15
+ * Pass a function to the breadcrumb item
16
+ */
17
+ onClick?: () => void;
18
+ /**
19
+ * Highlights item in breadcrumb (This also removes the a tag and any links)
20
+ */
21
+ isActive?: boolean;
22
+ /**
23
+ * Ref to `<a>` tag
24
+ */
25
+ ref?: React.Ref<HTMLAnchorElement>;
26
+ /**
27
+ * React router property
28
+ */
29
+ navigate?: () => void;
30
+ }
31
+ declare const BreadcrumbsItem: FC<ItemProps>;
32
+ interface ItemProps {
33
+ /**
34
+ * Render child elements within `Breadcrumbs.Item`
35
+ */
36
+ children?: ReactNode;
37
+ /**
38
+ * Use icon as a spacer that will be positioned after `Breadcrumbs.Item`.
39
+ */
40
+ spacerIconAfter?: boolean;
41
+ /**
42
+ * Use icon as a spacer that will be positioned before `Breadcrumbs.Item`.
43
+ */
44
+ spacerIconBefore?: boolean;
45
+ }
46
+ /** Use `Breadcrumbs` to add a secondary navigation scheme that reveals the user’s location. Each item should be wrapped with `Breadcrumbs.Item` */
47
+ declare const Breadcrumbs: FC<BreadcrumbsProps> & {
48
+ Item: typeof BreadcrumbsItem;
49
+ Link: typeof BreadcrumbsLink;
50
+ };
51
+ interface BreadcrumbsProps {
52
+ /**
53
+ * Contents of the Breadcrumbs. Should only contain `Breadcrumb.Item`.
54
+ */
55
+ children: ReactNode;
56
+ /**
57
+ * Select if you want the Nav items to be Light
58
+ */
59
+ isLight?: boolean;
60
+ }
61
+ export { BreadcrumbsLink as default, LinkProps, ItemProps, Breadcrumbs, BreadcrumbsProps };
@@ -0,0 +1,100 @@
1
+ import React__default, { useRef, useState, useEffect } from 'react';
2
+ import { d as debounce_1 } from './debounce-e228705f.js';
3
+ import { B as BtIconChevronLeft2Px_2, a as BtIconChevronRight2Px_2 } from './BtIconChevronRight2Px-b8e7b4ad.js';
4
+ import { I as Icon } from './Icon-c1af47bc.js';
5
+ import { a as __assign } from './filter-data-attrs-afdb7d32.js';
6
+ import { c as classNames } from './index-2ae58626.js';
7
+ import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
8
+
9
+ var BreadcrumbsItem = function (_a) {
10
+ var spacerIconAfter = _a.spacerIconAfter, spacerIconBefore = _a.spacerIconBefore, children = _a.children;
11
+ return (React__default.createElement("li", { className: "arc-Breadcrumbs-item" },
12
+ spacerIconBefore && (React__default.createElement("div", { className: "arc-Breadcrumbs-spacerIcon", "data-testid": "arc-chevron-left-2px" },
13
+ React__default.createElement(Icon, { icon: BtIconChevronLeft2Px_2 }))),
14
+ children,
15
+ spacerIconAfter && (React__default.createElement("div", { className: "arc-Breadcrumbs-spacerIcon" },
16
+ React__default.createElement(Icon, { icon: BtIconChevronRight2Px_2 })))));
17
+ };
18
+
19
+ var BreadcrumbsLink = React__default.forwardRef(function (_a, ref) {
20
+ var onClick = _a.onClick, href = _a.href, isActive = _a.isActive, children = _a.children;
21
+ return (React__default.createElement(React__default.Fragment, null, isActive || href === undefined ? (React__default.createElement("span", __assign({}, (isActive && { "aria-hidden": "true" }), { onClick: onClick, className: classNames({
22
+ "arc-Breadcrumbs-text": true,
23
+ "arc-Breadcrumbs-text--active": isActive
24
+ }) }), children)) : (React__default.createElement("a", __assign({}, (onClick && ref
25
+ ? { onClick: onClick }
26
+ : { onClick: handleLinkClick({ handler: onClick }) }), { className: "arc-Breadcrumbs-text", ref: ref, href: href }), children))));
27
+ });
28
+
29
+ /** Use `Breadcrumbs` to add a secondary navigation scheme that reveals the user’s location. Each item should be wrapped with `Breadcrumbs.Item` */
30
+ var Breadcrumbs = function (_a) {
31
+ var isLight = _a.isLight, children = _a.children;
32
+ var breadcrumbsList = useRef(null);
33
+ var _b = useState(false), isCompressed = _b[0], setIsCompressed = _b[1];
34
+ var _c = useState(false), showBackTrail = _c[0], setShowBackTrail = _c[1];
35
+ useEffect(function () {
36
+ React__default.Children.map(children, function (item) {
37
+ if (item && item.type !== BreadcrumbsItem) {
38
+ throw new Error("Illegal child passed to <Breadcrumbs />. Ensure to only use <Breadcrumbs.Item />");
39
+ }
40
+ });
41
+ }, [children]);
42
+ useEffect(function () {
43
+ var handleResize = debounce_1(function () {
44
+ var _a;
45
+ setShowBackTrail(false);
46
+ setIsCompressed(false);
47
+ if (window.innerWidth < 426) {
48
+ setShowBackTrail(true);
49
+ }
50
+ /**
51
+ * TODO! Revise this if statement
52
+ */
53
+ if (children != null &&
54
+ React__default.Children.count(children) > 2 &&
55
+ breadcrumbsList.current != null &&
56
+ (breadcrumbsList.current.offsetWidth ===
57
+ ((_a = breadcrumbsList.current.parentElement) === null || _a === void 0 ? void 0 : _a.offsetWidth) ||
58
+ breadcrumbsList.current.offsetHeight > 24)) {
59
+ setIsCompressed(true);
60
+ }
61
+ }, 200);
62
+ handleResize();
63
+ window.addEventListener("resize", handleResize);
64
+ return function () {
65
+ window.removeEventListener("resize", handleResize);
66
+ };
67
+ // eslint-disable-next-line
68
+ }, []);
69
+ var items = React__default.Children.toArray(children);
70
+ return (React__default.createElement("nav", { "aria-label": "Breadcrumbs", role: "navigation", className: classNames({
71
+ "arc-Breadcrumbs": true,
72
+ "arc-Breadcrumbs--dark": isLight
73
+ }) },
74
+ React__default.createElement("ul", { className: "arc-Breadcrumbs-list", ref: breadcrumbsList }, showBackTrail ? (React__default.createElement(React__default.Fragment, null, items.length < 3 ? (React__default.createElement(Breadcrumbs.Item, { spacerIconBefore: true }, items[0].props.children)) : (React__default.createElement(Breadcrumbs.Item, { spacerIconBefore: true }, items[items.length - 2].props.children)))) : (React__default.createElement(React__default.Fragment, null, isCompressed ? (React__default.createElement(React__default.Fragment, null,
75
+ React__default.createElement(Breadcrumbs.Item, { spacerIconAfter: true }, items[0].props.children),
76
+ React__default.createElement(Breadcrumbs.Item, { spacerIconAfter: true },
77
+ React__default.createElement("button", { className: "arc-Breadcrumbs-expand arc-Breadcrumbs-text", onClick: function () { return setIsCompressed(false); }, "aria-label": "Expand Breadcrumbs", type: "button", "data-testid": "expand-ellipsis" }, "...")),
78
+ React__default.createElement(Breadcrumbs.Item, null, items[items.length - 1].props &&
79
+ items[items.length - 1].props.children &&
80
+ React__default.cloneElement(items[items.length - 1].props.children, {
81
+ isActive: true
82
+ })))) : (React__default.createElement(React__default.Fragment, null,
83
+ items
84
+ .slice(0, items.length - 1)
85
+ .map(function (item, index) {
86
+ return (React__default.createElement(React__default.Fragment, { key: "listItem-".concat(index) },
87
+ React__default.createElement(Breadcrumbs.Item, { spacerIconAfter: true }, item.props.children)));
88
+ }),
89
+ React__default.createElement(Breadcrumbs.Item, null, items[items.length - 1].props &&
90
+ items[items.length - 1].props.children &&
91
+ React__default.cloneElement(items[items.length - 1].props.children, {
92
+ isActive: items.length > 1
93
+ })))))))));
94
+ };
95
+ BreadcrumbsItem.displayName = "Breadcrumbs.Item";
96
+ BreadcrumbsLink.displayName = "Breadcrumbs.Link";
97
+ Breadcrumbs.Item = BreadcrumbsItem;
98
+ Breadcrumbs.Link = BreadcrumbsLink;
99
+
100
+ export { Breadcrumbs as B };
@@ -0,0 +1,25 @@
1
+ import React__default from 'react';
2
+
3
+ const React = React__default;
4
+ const BtIconChevronLeftMid = props =>
5
+ /*#__PURE__*/ React.createElement(
6
+ "svg",
7
+ Object.assign(
8
+ {
9
+ viewBox: "0 0 16 16",
10
+ fill: "none",
11
+ xmlns: "http://www.w3.org/2000/svg"
12
+ },
13
+ props
14
+ ),
15
+ /*#__PURE__*/ React.createElement("path", {
16
+ fillRule: "evenodd",
17
+ clipRule: "evenodd",
18
+ d:
19
+ "M7.62107 8.00023L10.4697 10.8522C10.5957 10.9785 10.6665 11.1495 10.6665 11.3279C10.6665 11.5063 10.5957 11.6773 10.4697 11.8036C10.4074 11.866 10.3335 11.9155 10.252 11.9493C10.1706 11.983 10.0833 12.0004 9.99507 12.0004C9.9069 12.0004 9.81959 11.983 9.73814 11.9493C9.65669 11.9155 9.5827 11.866 9.52041 11.8036L6.19641 8.47556C6.07061 8.34935 5.99998 8.17842 5.99998 8.00023C5.99998 7.82203 6.07061 7.6511 6.19641 7.52489L9.52041 4.19689C9.5827 4.13449 9.65669 4.08498 9.73814 4.0512C9.81959 4.01741 9.9069 4.00003 9.99507 4.00003C10.0832 4.00003 10.1706 4.01741 10.252 4.0512C10.3335 4.08498 10.4074 4.13449 10.4697 4.19689C10.5957 4.32313 10.6665 4.4942 10.6665 4.67256C10.6665 4.85092 10.5957 5.02199 10.4697 5.14823L7.62107 8.00023Z",
20
+ fill: "currentColor"
21
+ })
22
+ );
23
+ var BtIconChevronLeftMid_2 = BtIconChevronLeftMid;
24
+
25
+ export { BtIconChevronLeftMid_2 as B };
@@ -1,32 +1,11 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-afdb7d32.js';
2
- import React__default, { forwardRef, useContext } from 'react';
2
+ import { B as BtIconChevronLeftMid_2 } from './BtIconChevronLeftMid-9f4f3a3d.js';
3
3
  import { B as BtIconChevronRightMid_2 } from './BtIconChevronRightMid-d9b11761.js';
4
4
  import { c as classNames } from './index-2ae58626.js';
5
+ import React__default, { forwardRef, useContext } from 'react';
5
6
  import { s as suffixModifier } from './suffix-modifier-7e640670.js';
6
- import { I as Icon } from './Icon-fd247973.js';
7
- import { C as Context } from './Surface-bb100ef8.js';
8
-
9
- const React = React__default;
10
- const BtIconChevronLeftMid = props =>
11
- /*#__PURE__*/ React.createElement(
12
- "svg",
13
- Object.assign(
14
- {
15
- viewBox: "0 0 16 16",
16
- fill: "none",
17
- xmlns: "http://www.w3.org/2000/svg"
18
- },
19
- props
20
- ),
21
- /*#__PURE__*/ React.createElement("path", {
22
- fillRule: "evenodd",
23
- clipRule: "evenodd",
24
- d:
25
- "M7.62107 8.00023L10.4697 10.8522C10.5957 10.9785 10.6665 11.1495 10.6665 11.3279C10.6665 11.5063 10.5957 11.6773 10.4697 11.8036C10.4074 11.866 10.3335 11.9155 10.252 11.9493C10.1706 11.983 10.0833 12.0004 9.99507 12.0004C9.9069 12.0004 9.81959 11.983 9.73814 11.9493C9.65669 11.9155 9.5827 11.866 9.52041 11.8036L6.19641 8.47556C6.07061 8.34935 5.99998 8.17842 5.99998 8.00023C5.99998 7.82203 6.07061 7.6511 6.19641 7.52489L9.52041 4.19689C9.5827 4.13449 9.65669 4.08498 9.73814 4.0512C9.81959 4.01741 9.9069 4.00003 9.99507 4.00003C10.0832 4.00003 10.1706 4.01741 10.252 4.0512C10.3335 4.08498 10.4074 4.13449 10.4697 4.19689C10.5957 4.32313 10.6665 4.4942 10.6665 4.67256C10.6665 4.85092 10.5957 5.02199 10.4697 5.14823L7.62107 8.00023Z",
26
- fill: "currentColor"
27
- })
28
- );
29
- var BtIconChevronLeftMid_2 = BtIconChevronLeftMid;
7
+ import { I as Icon } from './Icon-c1af47bc.js';
8
+ import { C as Context } from './Surface-dde51789.js';
30
9
 
31
10
  /**
32
11
  * Use `Button` to allow users to take actions with clicks and taps.