@arc-ui/components 12.0.0-beta.6 → 12.0.0-beta7

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 (293) hide show
  1. package/dist/Alert/Alert.cjs.js +3 -3
  2. package/dist/Alert/Alert.esm.js +3 -3
  3. package/dist/Alert/styles.css +1 -1
  4. package/dist/Avatar/Avatar.cjs.js +4 -4
  5. package/dist/Avatar/Avatar.esm.js +4 -4
  6. package/dist/AvatarGroup/AvatarGroup.cjs.js +4 -4
  7. package/dist/AvatarGroup/AvatarGroup.esm.js +4 -4
  8. package/dist/Badge/Badge.cjs.js +5 -12
  9. package/dist/Badge/Badge.esm.js +4 -11
  10. package/dist/Box/Box.cjs.js +6 -24
  11. package/dist/Box/Box.esm.js +5 -23
  12. package/dist/Box/styles.css +1 -1
  13. package/dist/BrandLogo/BrandLogo.cjs.js +2 -2
  14. package/dist/BrandLogo/BrandLogo.esm.js +2 -2
  15. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +3 -3
  16. package/dist/Breadcrumbs/Breadcrumbs.esm.js +3 -3
  17. package/dist/Button/Button.cjs.js +4 -4
  18. package/dist/Button/Button.esm.js +4 -4
  19. package/dist/Button/styles.css +1 -1
  20. package/dist/ButtonV2/ButtonV2.cjs.js +4 -4
  21. package/dist/ButtonV2/ButtonV2.esm.js +4 -4
  22. package/dist/ButtonV2/styles.css +1 -1
  23. package/dist/Calendar/Calendar.cjs.js +6 -6
  24. package/dist/Calendar/Calendar.esm.js +6 -6
  25. package/dist/Calendar/styles.css +1 -1
  26. package/dist/CardFooter/CardFooter.cjs.js +3 -3
  27. package/dist/CardFooter/CardFooter.esm.js +3 -3
  28. package/dist/CardFooter/styles.css +1 -1
  29. package/dist/CardHeading/CardHeading.cjs.js +3 -3
  30. package/dist/CardHeading/CardHeading.esm.js +3 -3
  31. package/dist/Carousel/Carousel.cjs.js +457 -0
  32. package/dist/Carousel/Carousel.esm.js +431 -0
  33. package/dist/Carousel/package.json +7 -0
  34. package/dist/Carousel/styles.css +1 -0
  35. package/dist/Checkbox/Checkbox.cjs.js +6 -6
  36. package/dist/Checkbox/Checkbox.esm.js +6 -6
  37. package/dist/Checkbox/styles.css +1 -1
  38. package/dist/ContentSwitcher/ContentSwitcher.cjs.js +20 -0
  39. package/dist/ContentSwitcher/ContentSwitcher.esm.js +12 -0
  40. package/dist/ContentSwitcher/package.json +7 -0
  41. package/dist/ContentSwitcher/styles.css +1 -0
  42. package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs.js +23 -0
  43. package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.esm.js +15 -0
  44. package/dist/ContentSwitcherDropdown/package.json +7 -0
  45. package/dist/ContentSwitcherDropdown/styles.css +1 -0
  46. package/dist/DatePicker/DatePicker.cjs.js +11 -11
  47. package/dist/DatePicker/DatePicker.esm.js +11 -11
  48. package/dist/Disclosure/Disclosure.cjs.js +3 -3
  49. package/dist/Disclosure/Disclosure.esm.js +3 -3
  50. package/dist/Disclosure/styles.css +1 -1
  51. package/dist/DisclosureMini/DisclosureMini.cjs.js +4 -4
  52. package/dist/DisclosureMini/DisclosureMini.esm.js +4 -4
  53. package/dist/Elevation/styles.css +1 -1
  54. package/dist/Filter/Filter.cjs.js +2 -2
  55. package/dist/Filter/Filter.esm.js +2 -2
  56. package/dist/FormControl/FormControl.cjs.js +5 -5
  57. package/dist/FormControl/FormControl.esm.js +5 -5
  58. package/dist/Grid/styles.css +1 -1
  59. package/dist/Group/Group.cjs.js +2 -2
  60. package/dist/Group/Group.esm.js +2 -2
  61. package/dist/Heading/Heading.cjs.js +2 -2
  62. package/dist/Heading/Heading.esm.js +2 -2
  63. package/dist/HeroBanner/HeroBanner.cjs.js +63 -0
  64. package/dist/HeroBanner/HeroBanner.esm.js +55 -0
  65. package/dist/HeroBanner/package.json +7 -0
  66. package/dist/HeroBanner/styles.css +1 -0
  67. package/dist/HeroButton/HeroButton.cjs.js +4 -4
  68. package/dist/HeroButton/HeroButton.esm.js +4 -4
  69. package/dist/HeroButton/styles.css +1 -1
  70. package/dist/Icon/Icon.cjs.js +2 -2
  71. package/dist/Icon/Icon.esm.js +2 -2
  72. package/dist/ImpactCard/ImpactCard.cjs.js +6 -7
  73. package/dist/ImpactCard/ImpactCard.esm.js +6 -7
  74. package/dist/ImpactCard/styles.css +1 -1
  75. package/dist/InformationCard/InformationCard.cjs.js +31 -45
  76. package/dist/InformationCard/InformationCard.esm.js +31 -45
  77. package/dist/InformationCard/styles.css +1 -1
  78. package/dist/Link/Link.cjs.js +2 -2
  79. package/dist/Link/Link.esm.js +2 -2
  80. package/dist/Link/styles.css +1 -1
  81. package/dist/Markup/Markup.cjs.js +1 -1
  82. package/dist/Markup/Markup.esm.js +1 -1
  83. package/dist/MediaCard/MediaCard.cjs.js +8 -8
  84. package/dist/MediaCard/MediaCard.esm.js +8 -8
  85. package/dist/MediaCard/styles.css +1 -1
  86. package/dist/Modal/Modal.cjs.js +7 -7
  87. package/dist/Modal/Modal.esm.js +7 -7
  88. package/dist/Pagination/Pagination.cjs.js +2 -2
  89. package/dist/Pagination/Pagination.esm.js +2 -2
  90. package/dist/PaginationSimple/PaginationSimple.cjs.js +2 -2
  91. package/dist/PaginationSimple/PaginationSimple.esm.js +2 -2
  92. package/dist/Poster/Poster.cjs.js +2 -2
  93. package/dist/Poster/Poster.esm.js +2 -2
  94. package/dist/ProgressBar/ProgressBar.cjs.js +4 -4
  95. package/dist/ProgressBar/ProgressBar.esm.js +4 -4
  96. package/dist/ProgressStepper/ProgressStepper.cjs.js +3 -3
  97. package/dist/ProgressStepper/ProgressStepper.esm.js +3 -3
  98. package/dist/ProgressStepper/styles.css +1 -1
  99. package/dist/RadioGroup/RadioGroup.cjs.js +6 -6
  100. package/dist/RadioGroup/RadioGroup.esm.js +6 -6
  101. package/dist/RadioGroup/styles.css +1 -1
  102. package/dist/Rule/Rule.cjs.js +1 -1
  103. package/dist/Rule/Rule.esm.js +1 -1
  104. package/dist/Rule/styles.css +1 -1
  105. package/dist/ScrollToTop/ScrollToTop.cjs.js +2 -2
  106. package/dist/ScrollToTop/ScrollToTop.esm.js +2 -2
  107. package/dist/ScrollToTop/styles.css +1 -1
  108. package/dist/Select/Select.cjs.js +26 -2201
  109. package/dist/Select/Select.esm.js +16 -2172
  110. package/dist/Select/styles.css +1 -1
  111. package/dist/SiteFooter/SiteFooter.cjs.js +5 -5
  112. package/dist/SiteFooter/SiteFooter.esm.js +5 -5
  113. package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +8 -8
  114. package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +8 -8
  115. package/dist/Spinner/Spinner.cjs.js +12 -0
  116. package/dist/Spinner/Spinner.esm.js +4 -0
  117. package/dist/Spinner/package.json +7 -0
  118. package/dist/Spinner/styles.css +1 -0
  119. package/dist/Surface/Surface.cjs.js +1 -1
  120. package/dist/Surface/Surface.esm.js +1 -1
  121. package/dist/Surface/styles.css +1 -1
  122. package/dist/Switch/Switch.cjs.js +7 -7
  123. package/dist/Switch/Switch.esm.js +7 -7
  124. package/dist/Switch/styles.css +1 -1
  125. package/dist/Tabs/Tabs.cjs.js +9 -8
  126. package/dist/Tabs/Tabs.esm.js +9 -8
  127. package/dist/Tag/Tag.cjs.js +77 -8
  128. package/dist/Tag/Tag.esm.js +76 -7
  129. package/dist/Tag/styles.css +1 -1
  130. package/dist/Text/Text.cjs.js +2 -2
  131. package/dist/Text/Text.esm.js +2 -2
  132. package/dist/TextArea/TextArea.cjs.js +44 -39
  133. package/dist/TextArea/TextArea.esm.js +44 -39
  134. package/dist/TextInput/TextInput.cjs.js +7 -7
  135. package/dist/TextInput/TextInput.esm.js +7 -7
  136. package/dist/Theme/styles.css +1 -1
  137. package/dist/ThemeIcon/ThemeIcon.cjs.js +2 -2
  138. package/dist/ThemeIcon/ThemeIcon.esm.js +2 -2
  139. package/dist/ThemeIcon/styles.css +1 -1
  140. package/dist/Toast/Toast.cjs.js +7 -7
  141. package/dist/Toast/Toast.esm.js +7 -7
  142. package/dist/Toast/styles.css +1 -1
  143. package/dist/Truncate/Truncate.cjs.js +2 -2
  144. package/dist/Truncate/Truncate.esm.js +2 -2
  145. package/dist/TypographyCard/TypographyCard.cjs.js +6 -7
  146. package/dist/TypographyCard/TypographyCard.esm.js +6 -7
  147. package/dist/TypographyCard/styles.css +1 -1
  148. package/dist/UniversalHeader/UniversalHeader.cjs.js +2 -2
  149. package/dist/UniversalHeader/UniversalHeader.esm.js +2 -2
  150. package/dist/VideoPlayer/VideoPlayer.cjs.js +5 -5
  151. package/dist/VideoPlayer/VideoPlayer.esm.js +5 -5
  152. package/dist/_shared/cjs/{Avatar-9277512a.js → Avatar-e6ba0881.js} +2 -2
  153. package/dist/_shared/cjs/Badge-1f86304b.js +17 -0
  154. package/dist/_shared/cjs/Box-d177ee32.js +29 -0
  155. package/dist/_shared/cjs/{BrandLogo-ce65cd74.js → BrandLogo-d4a6fd05.js} +1 -1
  156. package/dist/_shared/cjs/{Breadcrumbs-c7821aa9.js → Breadcrumbs-ca30086e.js} +1 -1
  157. package/dist/_shared/cjs/{Button-ea665c9c.js → Button-a2150286.js} +3 -3
  158. package/dist/_shared/cjs/{ButtonV2-373877da.js → ButtonV2-7c437d1a.js} +12 -7
  159. package/dist/_shared/cjs/{Calendar-e5184158.js → Calendar-9b4b01c8.js} +6 -6
  160. package/dist/_shared/cjs/{CardFooter-a1bb3ded.js → CardFooter-68235081.js} +3 -3
  161. package/dist/_shared/cjs/{CardHeading-3ddcf774.js → CardHeading-88edadd4.js} +1 -1
  162. package/dist/_shared/cjs/{Checkbox-850dcf99.js → Checkbox-f6712cc5.js} +10 -5
  163. package/dist/_shared/cjs/ContentSwitcher-88b00e11.js +98 -0
  164. package/dist/_shared/cjs/ContentSwitcherDropdown-ba5330ed.js +47 -0
  165. package/dist/_shared/cjs/{DatePicker-2bf10a10.js → DatePicker-61d66a55.js} +2 -2
  166. package/dist/_shared/cjs/{DisclosureMini-c730c24d.js → DisclosureMini-a46a4838.js} +3 -3
  167. package/dist/_shared/cjs/{Filter-c42eee70.js → Filter-b6ca2a39.js} +1 -1
  168. package/dist/_shared/cjs/{FormControl-5c963e6e.js → FormControl-0fba93b8.js} +3 -3
  169. package/dist/_shared/cjs/{Group-5233a907.js → Group-7e6b78c9.js} +1 -1
  170. package/dist/_shared/cjs/{Heading-14378b72.js → Heading-25d11688.js} +1 -1
  171. package/dist/_shared/cjs/{HeroButton-db7d03d6.js → HeroButton-19814c26.js} +5 -5
  172. package/dist/_shared/cjs/{Icon-7f1e8a19.js → Icon-08447959.js} +15 -4
  173. package/dist/_shared/cjs/{MediaCard-4ff9f5c0.js → MediaCard-7bbe8aa0.js} +6 -6
  174. package/dist/_shared/cjs/{Poster-8fba5492.js → Poster-96aa286e.js} +1 -1
  175. package/dist/_shared/cjs/{ProgressStepper-aaff6b51.js → ProgressStepper-c59ec56c.js} +6 -30
  176. package/dist/_shared/cjs/{RadioGroup-6142dceb.js → RadioGroup-11f4b232.js} +2 -2
  177. package/dist/_shared/cjs/{SiteFooter-cfe7163f.js → SiteFooter-d839f66a.js} +4 -4
  178. package/dist/_shared/cjs/{SiteHeaderV2-043d976a.js → SiteHeaderV2-3793453c.js} +6 -6
  179. package/dist/_shared/cjs/Spinner-56122c43.js +24 -0
  180. package/dist/_shared/cjs/{Surface-7500f314.js → Surface-1b5c2ac8.js} +2 -1
  181. package/dist/_shared/cjs/Tabs-30a12f1a.js +93 -0
  182. package/dist/_shared/cjs/{Text-284a7314.js → Text-c187d9ef.js} +1 -1
  183. package/dist/_shared/cjs/{TextInput-bcc3f86c.js → TextInput-d39f5a80.js} +3 -3
  184. package/dist/_shared/cjs/{ThemeIcon-c3dc056d.js → ThemeIcon-7f537bd2.js} +1 -1
  185. package/dist/_shared/cjs/{Toast-69020185.js → Toast-35c83925.js} +5 -5
  186. package/dist/_shared/cjs/{UniversalHeader-07be88fd.js → UniversalHeader-f9ef793f.js} +1 -1
  187. package/dist/_shared/cjs/{Tabs-bd1f208d.js → index-1e7a1fce.js} +8 -92
  188. package/dist/_shared/cjs/{index-6cbaf5e0.js → index-2bf59363.js} +1 -1
  189. package/dist/_shared/cjs/{index-dbab0ad6.js → index-527f962b.js} +1 -1
  190. package/dist/_shared/cjs/{index-568bc1da.js → index-879e71ee.js} +7 -7
  191. package/dist/_shared/cjs/index-89c323a4.js +2204 -0
  192. package/dist/_shared/cjs/{index-c137700a.js → index-ba3141f5.js} +1 -1
  193. package/dist/_shared/cjs/{index-677557a4.js → index-dbc843d3.js} +1 -1
  194. package/dist/_shared/cjs/{index.es-ba095ee5.js → index.es-f23456fa.js} +2 -2
  195. package/dist/_shared/esm/{Avatar-b5ac0a89.js → Avatar-3537bca7.js} +2 -2
  196. package/dist/_shared/esm/Badge-7bc80706.js +11 -0
  197. package/dist/_shared/esm/Box-557fb3b1.js +23 -0
  198. package/dist/_shared/esm/{BrandLogo-fb863b5b.js → BrandLogo-45d0d795.js} +1 -1
  199. package/dist/_shared/esm/{Breadcrumbs-01ebed9b.js → Breadcrumbs-bcf9ca79.js} +1 -1
  200. package/dist/_shared/esm/{Button-1491784f.js → Button-0506afa7.js} +3 -3
  201. package/dist/_shared/esm/{ButtonV2-f9019e00.js → ButtonV2-c83db10c.js} +12 -7
  202. package/dist/_shared/esm/{Calendar-5c2fb044.js → Calendar-34b10bd5.js} +6 -6
  203. package/dist/_shared/esm/{CardFooter-e4380cda.js → CardFooter-bf886438.js} +3 -3
  204. package/dist/_shared/esm/{CardHeading-4223432d.js → CardHeading-c65f9fb2.js} +1 -1
  205. package/dist/_shared/esm/{Checkbox-97def257.js → Checkbox-8195c42c.js} +10 -5
  206. package/dist/_shared/esm/ContentSwitcher-bae1f0a7.js +92 -0
  207. package/dist/_shared/esm/ContentSwitcherDropdown-65291c09.js +41 -0
  208. package/dist/_shared/esm/{DatePicker-2d891441.js → DatePicker-aafbdea8.js} +2 -2
  209. package/dist/_shared/esm/{DisclosureMini-6292f721.js → DisclosureMini-f6d8c9bc.js} +3 -3
  210. package/dist/_shared/esm/{Filter-71e06965.js → Filter-a5bf3fe3.js} +1 -1
  211. package/dist/_shared/esm/{FormControl-e0acdf7a.js → FormControl-ff671eb8.js} +3 -3
  212. package/dist/_shared/esm/{Group-b1b14ab4.js → Group-c4f6c745.js} +1 -1
  213. package/dist/_shared/esm/{Heading-0dfbdb24.js → Heading-0a8d3545.js} +1 -1
  214. package/dist/_shared/esm/{HeroButton-bb983125.js → HeroButton-a98767b7.js} +5 -5
  215. package/dist/_shared/esm/{Icon-428e8061.js → Icon-a5cb17de.js} +15 -4
  216. package/dist/_shared/esm/{MediaCard-d83b5561.js → MediaCard-fdc76670.js} +6 -6
  217. package/dist/_shared/esm/{Poster-ac72059a.js → Poster-dc3d7ee8.js} +1 -1
  218. package/dist/_shared/esm/{ProgressStepper-e3e7b392.js → ProgressStepper-427f24e3.js} +6 -30
  219. package/dist/_shared/esm/{RadioGroup-0d337240.js → RadioGroup-5b654bee.js} +2 -2
  220. package/dist/_shared/esm/{SiteFooter-7e924fb4.js → SiteFooter-1cdba967.js} +4 -4
  221. package/dist/_shared/esm/{SiteHeaderV2-94b9a407.js → SiteHeaderV2-743847f6.js} +6 -6
  222. package/dist/_shared/esm/Spinner-6704017c.js +18 -0
  223. package/dist/_shared/esm/{Surface-c425e5e6.js → Surface-0af6a69a.js} +2 -1
  224. package/dist/_shared/esm/Tabs-d360207d.js +87 -0
  225. package/dist/_shared/esm/{Text-96d8a35f.js → Text-df93be85.js} +1 -1
  226. package/dist/_shared/esm/{TextInput-8e3b81bf.js → TextInput-7ab39a54.js} +3 -3
  227. package/dist/_shared/esm/{ThemeIcon-9fac63d0.js → ThemeIcon-e1e19266.js} +1 -1
  228. package/dist/_shared/esm/{Toast-ebe2cd97.js → Toast-abd517c8.js} +5 -5
  229. package/dist/_shared/esm/{UniversalHeader-22ff848b.js → UniversalHeader-8ebc5322.js} +1 -1
  230. package/dist/_shared/esm/{index-61497bd9.js → index-14c7f4da.js} +1 -1
  231. package/dist/_shared/esm/{index-3a2c1ceb.js → index-57d4cb34.js} +10 -10
  232. package/dist/_shared/esm/{Tabs-028cee5d.js → index-89a7c31c.js} +6 -89
  233. package/dist/_shared/esm/{index-cf208294.js → index-ac50b180.js} +1 -1
  234. package/dist/_shared/esm/index-afbf540d.js +2169 -0
  235. package/dist/_shared/esm/{index-fb8b9df7.js → index-b9923ee4.js} +8 -8
  236. package/dist/_shared/esm/{index-f6cc48d2.js → index-e969452b.js} +1 -1
  237. package/dist/_shared/esm/{index-d083425f.js → index-f2ddcbe2.js} +1 -1
  238. package/dist/_shared/esm/{index.es-974af4a2.js → index.es-932db59a.js} +2 -2
  239. package/dist/index.es.js +9613 -9476
  240. package/dist/index.es.js.map +1 -1
  241. package/dist/index.js +9605 -9465
  242. package/dist/index.js.map +1 -1
  243. package/dist/styles.css +5 -3
  244. package/dist/types/components/Avatar/index.d.ts +1 -1
  245. package/dist/types/components/Box/Box.d.ts +4 -0
  246. package/dist/types/components/ButtonV2/ButtonV2.d.ts +2 -2
  247. package/dist/types/components/Carousel/Carousel.d.ts +12 -0
  248. package/dist/types/components/Carousel/helpers/get-slide-config.d.ts +4 -0
  249. package/dist/types/components/Carousel/helpers/get-slider-position.d.ts +9 -0
  250. package/dist/types/components/Carousel/helpers/is-last-slide.d.ts +2 -0
  251. package/dist/types/components/Carousel/helpers/is-slide-hidden.d.ts +2 -0
  252. package/dist/types/components/Carousel/hooks/use-slides.d.ts +18 -0
  253. package/dist/types/components/Carousel/index.d.ts +1 -0
  254. package/dist/types/components/Carousel/types/breakpoints.d.ts +1 -0
  255. package/dist/types/components/Carousel/types/responsive.d.ts +3 -0
  256. package/dist/types/components/Carousel/types/screen-sizes.d.ts +2 -0
  257. package/dist/types/components/Carousel/types/slide-config.d.ts +5 -0
  258. package/dist/types/components/Carousel/types/slide.d.ts +4 -0
  259. package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
  260. package/dist/types/components/ContentSwitcher/ContentSwitcher.d.ts +28 -0
  261. package/dist/types/components/ContentSwitcher/ContentSwitcherContent/ContentSwitcherContent.d.ts +12 -0
  262. package/dist/types/components/ContentSwitcher/ContentSwitcherContent/index.d.ts +1 -0
  263. package/dist/types/components/ContentSwitcher/ContentSwitcherList/ContentSwitcherList.d.ts +24 -0
  264. package/dist/types/components/ContentSwitcher/ContentSwitcherList/index.d.ts +1 -0
  265. package/dist/types/components/ContentSwitcher/ContentSwitcherTab/ContentSwitcherTab.d.ts +17 -0
  266. package/dist/types/components/ContentSwitcher/ContentSwitcherTab/index.d.ts +1 -0
  267. package/dist/types/components/ContentSwitcher/index.d.ts +1 -0
  268. package/dist/types/components/ContentSwitcherDropdown/ContentSwitcherDropdown.d.ts +37 -0
  269. package/dist/types/components/ContentSwitcherDropdown/index.d.ts +1 -0
  270. package/dist/types/components/Disclosure/index.d.ts +1 -1
  271. package/dist/types/components/Heading/index.d.ts +1 -1
  272. package/dist/types/components/HeroBanner/HeroBanner.d.ts +52 -0
  273. package/dist/types/components/HeroBanner/index.d.ts +1 -0
  274. package/dist/types/components/Icon/Icon.d.ts +2 -2
  275. package/dist/types/components/ImpactCard/index.d.ts +1 -1
  276. package/dist/types/components/InformationCard/InformationCard.d.ts +2 -2
  277. package/dist/types/components/InformationCard/index.d.ts +1 -1
  278. package/dist/types/components/MediaCard/index.d.ts +1 -1
  279. package/dist/types/components/Spinner/Spinner.d.ts +16 -0
  280. package/dist/types/components/Spinner/index.d.ts +1 -0
  281. package/dist/types/components/Surface/Surface.d.ts +4 -0
  282. package/dist/types/components/ThemeIcon/icon-names.d.ts +1 -1
  283. package/dist/types/components/Truncate/Truncate.d.ts +1 -1
  284. package/dist/types/components/TypographyCard/index.d.ts +1 -1
  285. package/dist/types/components/index.d.ts +3 -0
  286. package/dist/types/styles.d.ts +5 -1
  287. package/package.json +18 -18
  288. package/dist/_shared/cjs/ArcIconEclipse.esm-ac777a76.js +0 -28
  289. package/dist/_shared/cjs/Tag-4eb2ed9e.js +0 -44
  290. package/dist/_shared/esm/ArcIconEclipse.esm-bb48b82a.js +0 -22
  291. package/dist/_shared/esm/Tag-1ae027ee.js +0 -38
  292. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Todo.d.ts +0 -2
  293. package/dist/_shared/cjs/{index-6f33b8c0.js → index-76f7dd53.js} +8 -8
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var index = require('./index-6f33b8c0.js');
4
+ var index = require('./index-76f7dd53.js');
5
5
 
6
6
  function $db6c3485150b8e66$export$1ab7ae714698c4b8(element) {
7
7
  const [size, setSize] = React.useState(undefined);
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var index = require('./index-6f33b8c0.js');
4
+ var index = require('./index-76f7dd53.js');
5
5
 
6
6
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
7
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  /**
4
4
  * Do not edit directly
5
- * Generated on Wed, 18 Sep 2024 09:30:43 GMT
5
+ * Generated on Fri, 25 Oct 2024 08:31:41 GMT
6
6
  */
7
- var SemSizeBreakpointsS = "576px"; // Small (SM) - 576px to 767px: This is often used for smartphones in landscape mode and small tablets.
7
+ var SemSizeBreakpointsS = "636px"; // Small (SM) - 636px to 767px: This is often used for smartphones in landscape mode and small tablets.
8
8
  var SemSizeBreakpointsM = "768px"; // Medium (MD) - 768px to 991px: This is commonly used for larger tablets and smaller desktop screens.
9
9
  var SemSizeBreakpointsL = "1024px"; // Large (LG) - 1024px - 1279px: This breakpoint is often applied to larger desktop screens and some laptops.
10
10
 
@@ -2,9 +2,9 @@ import { a as __assign, _ as __rest, f as filterDataAttrs } from './index.es-549
2
2
  import React__default from 'react';
3
3
  import { c as classNames } from './index-2e73c2e9.js';
4
4
  import { C as ConditionalWrapper } from './ConditionalWrapper-b85979de.js';
5
- import { T as ThemeIcon } from './ThemeIcon-9fac63d0.js';
5
+ import { T as ThemeIcon } from './ThemeIcon-e1e19266.js';
6
6
  import { I as Image } from './Image-c1dc10b5.js';
7
- import { H as Heading } from './Heading-0dfbdb24.js';
7
+ import { H as Heading } from './Heading-0a8d3545.js';
8
8
 
9
9
  var AvatarContent = function (_a) {
10
10
  var img = _a.img, initials = _a.initials, _b = _a.size, size = _b === void 0 ? "xl" : _b;
@@ -0,0 +1,11 @@
1
+ import { _ as __rest, a as __assign, s as suffixModifier, f as filterDataAttrs } from './index.es-5496ec12.js';
2
+ import React__default from 'react';
3
+ import { c as classNames } from './index-2e73c2e9.js';
4
+
5
+ /** Use `Badge` as a static, non-interactive way to provide short updates. */
6
+ var Badge = function (_a) {
7
+ var children = _a.children, _b = _a.state, state = _b === void 0 ? "default" : _b, ariaLabel = _a.ariaLabel, ariaRole = _a.ariaRole, props = __rest(_a, ["children", "state", "ariaLabel", "ariaRole"]);
8
+ return (React__default.createElement("div", __assign({ className: classNames("arc-Badge", suffixModifier("arc-Badge--state", state)) }, (ariaLabel && { "aria-label": ariaLabel }), (ariaRole && { role: ariaRole }), filterDataAttrs(props)), children));
9
+ };
10
+
11
+ export { Badge as B };
@@ -0,0 +1,23 @@
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
2
+ import React__default from 'react';
3
+ import { c as classNames } from './index-2e73c2e9.js';
4
+ import { S as Surface } from './Surface-0af6a69a.js';
5
+
6
+ /**
7
+ * Use `Box` as a simple way to group bespoke content and interactive elements together.
8
+ */
9
+ var Box = function (_a) {
10
+ var _b;
11
+ 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 ? "light-white" : _e, isSurfaceTransparent = _a.isSurfaceTransparent, props = __rest(_a, ["children", "borderWidth", "elevationLevel", "padding", "isFullHeight", "isBorderRadius", "surface", "isSurfaceTransparent"]);
12
+ return (React__default.createElement("div", __assign({ className: classNames("arc-Box", (_b = {},
13
+ _b["arc-Box--fullHeight"] = isFullHeight,
14
+ _b["arc-Box--borderRadius"] = isBorderRadius,
15
+ _b["arc-Box--borderThin"] = borderWidth === "thin",
16
+ _b["arc-Box--borderMedium"] = borderWidth === "medium",
17
+ _b["arc-Box--elevation1"] = elevationLevel === "1",
18
+ _b["arc-Box--elevation2"] = elevationLevel === "2",
19
+ _b)) }, filterDataAttrs(props)),
20
+ React__default.createElement(Surface, { padding: padding, background: surface, isTransparent: isSurfaceTransparent }, children)));
21
+ };
22
+
23
+ export { Box as B };
@@ -1,7 +1,7 @@
1
1
  import { _ as __rest, a as __assign, s as suffixModifier, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { useContext } from 'react';
4
- import { C as Context } from './Surface-c425e5e6.js';
4
+ import { C as Context } from './Surface-0af6a69a.js';
5
5
 
6
6
  /**
7
7
  * Use `BrandLogo` to display the brand logo.
@@ -1,7 +1,7 @@
1
1
  import { a as __assign, _ as __rest, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import React__default, { useRef, useState, useEffect } from 'react';
3
3
  import { d as debounce_1 } from './debounce-c8e41002.js';
4
- import { T as ThemeIcon } from './ThemeIcon-9fac63d0.js';
4
+ import { T as ThemeIcon } from './ThemeIcon-e1e19266.js';
5
5
  import { c as classNames } from './index-2e73c2e9.js';
6
6
  import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
7
7
 
@@ -1,9 +1,9 @@
1
1
  import { _ as __rest, s as suffixModifier, a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { forwardRef, useContext } from 'react';
4
- import { I as Icon } from './Icon-428e8061.js';
5
- import { C as Context } from './Surface-c425e5e6.js';
6
- import { T as ThemeIcon } from './ThemeIcon-9fac63d0.js';
4
+ import { I as Icon } from './Icon-a5cb17de.js';
5
+ import { C as Context } from './Surface-0af6a69a.js';
6
+ import { T as ThemeIcon } from './ThemeIcon-e1e19266.js';
7
7
 
8
8
  /**
9
9
  * Use `Button` to let a user complete an action like ‘Log in’ or ‘Register’.
@@ -1,13 +1,18 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import React__default, { forwardRef, useContext } from 'react';
3
3
  import { c as classNames } from './index-2e73c2e9.js';
4
- import { I as Icon } from './Icon-428e8061.js';
5
- import { C as Context } from './Surface-c425e5e6.js';
6
- import { A as ArcIconEclipse } from './ArcIconEclipse.esm-bb48b82a.js';
4
+ import { I as Icon } from './Icon-a5cb17de.js';
5
+ import { C as Context } from './Surface-0af6a69a.js';
6
+ import { S as Spinner } from './Spinner-6704017c.js';
7
7
 
8
8
  var ButtonV2 = forwardRef(function (_a, ref) {
9
9
  var label = _a.label, _b = _a.buttonStyle, buttonStyle = _b === void 0 ? "primary" : _b, icon = _a.icon, _c = _a.iconPosition, iconPosition = _c === void 0 ? "beforeText" : _c, _d = _a.size, size = _d === void 0 ? "m" : _d, ariaLabel = _a.ariaLabel, _e = _a.isFullWidth, isFullWidth = _e === void 0 ? false : _e, _f = _a.isLoading, isLoading = _f === void 0 ? false : _f, onClick = _a.onClick, href = _a.href, id = _a.id, rel = _a.rel, target = _a.target, type = _a.type, form = _a.form, props = __rest(_a, ["label", "buttonStyle", "icon", "iconPosition", "size", "ariaLabel", "isFullWidth", "isLoading", "onClick", "href", "id", "rel", "target", "type", "form"]);
10
10
  var surface = useContext(Context).surface;
11
+ var iconSizes = {
12
+ s: 16,
13
+ m: 32,
14
+ l: 40
15
+ };
11
16
  var ButtonV2Classes = classNames("arc-ButtonV2", ["arc-ButtonV2--".concat(buttonStyle)], ["arc-ButtonV2--".concat(size)], {
12
17
  "arc-ButtonV2--onDarkSurface": surface === "dark",
13
18
  "arc-ButtonV2--emptyLabel": !label,
@@ -24,9 +29,9 @@ var ButtonV2 = forwardRef(function (_a, ref) {
24
29
  }) },
25
30
  label && React__default.createElement("span", { className: "arc-ButtonV2-label" }, label),
26
31
  isLoading && (React__default.createElement("span", { className: "arc-ButtonV2-icon" },
27
- React__default.createElement(Icon, { size: size === "s" ? 16 : 32, icon: ArcIconEclipse }))),
32
+ React__default.createElement(Spinner, { size: size }))),
28
33
  icon && !isLoading && (React__default.createElement("span", { className: "arc-ButtonV2-icon" },
29
- React__default.createElement(Icon, { size: size === "s" ? 16 : 32, icon: icon }))))));
34
+ React__default.createElement(Icon, { size: iconSizes[size], icon: icon }))))));
30
35
  }
31
36
  return (React__default.createElement("button", __assign({}, commonProps, { className: ButtonV2Classes, "aria-label": ariaLabel, disabled: isLoading, type: type, form: form }),
32
37
  React__default.createElement("span", { className: classNames("arc-ButtonV2-inner", {
@@ -34,9 +39,9 @@ var ButtonV2 = forwardRef(function (_a, ref) {
34
39
  }) },
35
40
  label && React__default.createElement("span", { className: "arc-ButtonV2-label" }, label),
36
41
  icon && !isLoading && (React__default.createElement("span", { className: "arc-ButtonV2-icon" },
37
- React__default.createElement(Icon, { size: size === "s" ? 16 : 32, icon: icon }))),
42
+ React__default.createElement(Icon, { size: iconSizes[size], icon: icon }))),
38
43
  isLoading && (React__default.createElement("span", { className: "arc-ButtonV2-icon" },
39
- React__default.createElement(Icon, { size: size === "s" ? 16 : 32, icon: ArcIconEclipse }))))));
44
+ React__default.createElement(Spinner, { size: size }))))));
40
45
  });
41
46
 
42
47
  export { ButtonV2 as B };
@@ -1,15 +1,15 @@
1
1
  import { b as __spreadArray, a as __assign, _ as __rest, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import React__default, { createContext, forwardRef, useContext, useCallback, useRef, useState, useReducer, useEffect } from 'react';
3
3
  import { r as requiredArgs, t as toDate, a as toInteger, _ as _typeof, g as getDefaultOptions, f as format } from './index-ce6dee84.js';
4
- import { S as SemSizeBreakpointsM } from './index.es-974af4a2.js';
4
+ import { S as SemSizeBreakpointsM } from './index.es-932db59a.js';
5
5
  import { u as useMediaQuery } from './use-media-query-d3622da8.js';
6
6
  import { c as classNames } from './index-2e73c2e9.js';
7
- import { T as Text } from './Text-96d8a35f.js';
7
+ import { T as Text } from './Text-df93be85.js';
8
8
  import { V as VisuallyHidden } from './VisuallyHidden-cf45ac18.js';
9
- import { S as Surface } from './Surface-c425e5e6.js';
10
- import { H as Heading } from './Heading-0dfbdb24.js';
9
+ import { S as Surface } from './Surface-0af6a69a.js';
10
+ import { H as Heading } from './Heading-0a8d3545.js';
11
11
  import { B as BtIconChevronRightMid } from './BtIconChevronRightMid.esm-4764708f.js';
12
- import { I as Icon } from './Icon-428e8061.js';
12
+ import { I as Icon } from './Icon-a5cb17de.js';
13
13
 
14
14
  /**
15
15
  * @name addMonths
@@ -1117,7 +1117,7 @@ var CalendarDayNumber = forwardRef(function (_a, autoFocusRef) {
1117
1117
  onClick: onDayNumberClick(date),
1118
1118
  onMouseEnter: onDayNumberHover(date)
1119
1119
  };
1120
- return (React__default.createElement("td", __assign({ ref: handleRefs, "data-date": date.getTime() }, (shouldRender ? tableCellProps : {})), shouldRender && (React__default.createElement(React__default.Fragment, null,
1120
+ return (React__default.createElement("td", __assign({ ref: handleRefs, "data-date": date.getTime() }, (shouldRender ? tableCellProps : {}), { role: "gridcell" }), shouldRender && (React__default.createElement(React__default.Fragment, null,
1121
1121
  React__default.createElement(VisuallyHidden, null, format(date, "MMMM do, yyyy")),
1122
1122
  React__default.createElement("div", { className: "arc-CalendarDayNumber-buttonOuter" },
1123
1123
  React__default.createElement("div", { className: "arc-CalendarDayNumber-buttonInner" },
@@ -2,7 +2,7 @@ import React__default from 'react';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import { B as BtIconArrowRight } from './BtIconArrowRight.esm-93da96bb.js';
4
4
  import { B as BtIconPlayFill } from './BtIconPlayFill.esm-05fc0344.js';
5
- import { I as Icon } from './Icon-428e8061.js';
5
+ import { I as Icon } from './Icon-a5cb17de.js';
6
6
  import { i as isDate, f as format } from './index-ce6dee84.js';
7
7
 
8
8
  const BtIconPlay = (props) =>
@@ -65,9 +65,9 @@ var CardFooter = function (_a) {
65
65
  React__default.createElement("div", { className: classNames("arc-CardFooter-buttonIconRight", {
66
66
  "arc-CardFooter-buttonIconRight--isHovered": isHovered
67
67
  }) },
68
- React__default.createElement(Icon, { icon: icons[buttonIcon].regular, size: 40 })),
68
+ React__default.createElement(Icon, { icon: icons[buttonIcon].regular })),
69
69
  React__default.createElement("div", { className: "arc-CardFooter-buttonIconLeft" },
70
- React__default.createElement(Icon, { icon: icons[buttonIcon].regular, size: 40 }))))))));
70
+ React__default.createElement(Icon, { icon: icons[buttonIcon].regular }))))))));
71
71
  };
72
72
 
73
73
  export { CardFooter as C };
@@ -1,6 +1,6 @@
1
1
  import { a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import React__default from 'react';
3
- import { H as Heading } from './Heading-0dfbdb24.js';
3
+ import { H as Heading } from './Heading-0a8d3545.js';
4
4
 
5
5
  var CardHeading = function (_a) {
6
6
  var onClick = _a.onClick, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onBlur = _a.onBlur, onFocus = _a.onFocus, href = _a.href, heading = _a.heading, _b = _a.size, size = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.headingLevel, headingLevel = _d === void 0 ? "2" : _d;
@@ -1,22 +1,26 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import React__default, { forwardRef, useContext } from 'react';
3
3
  import { c as classNames } from './index-2e73c2e9.js';
4
- import { C as Context, u as useAriaDescribedby } from './FormControl-e0acdf7a.js';
5
- import { C as Context$1 } from './Surface-c425e5e6.js';
6
- import { T as ThemeIcon } from './ThemeIcon-9fac63d0.js';
4
+ import { C as Context, u as useAriaDescribedby } from './FormControl-ff671eb8.js';
5
+ import { C as Context$1 } from './Surface-0af6a69a.js';
6
+ import { T as ThemeIcon } from './ThemeIcon-e1e19266.js';
7
7
  import { V as VisuallyHidden } from './VisuallyHidden-cf45ac18.js';
8
8
 
9
9
  /**
10
10
  * Use `Checkbox` to allow users to select individual options.
11
11
  */
12
12
  var Checkbox = forwardRef(function (_a, ref) {
13
- var _b = _a.checked, checked = _b === void 0 ? false : _b, errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isRequired, isRequired = _d === void 0 ? false : _d, label = _a.label, _e = _a.hideLabel, hideLabel = _e === void 0 ? false : _e, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _f = _a.size, size = _f === void 0 ? "l" : _f, value = _a.value, _g = _a.checkboxAlignment, checkboxAlignment = _g === void 0 ? "center" : _g, props = __rest(_a, ["checked", "errorMessage", "helper", "id", "isDisabled", "isRequired", "label", "hideLabel", "name", "onBlur", "onChange", "size", "value", "checkboxAlignment"]);
13
+ var _b = _a.checked, checked = _b === void 0 ? false : _b, errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isRequired, isRequired = _d === void 0 ? false : _d, label = _a.label, _e = _a.hideLabel, hideLabel = _e === void 0 ? false : _e, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _f = _a.size, size = _f === void 0 ? "m" : _f, value = _a.value, _g = _a.checkboxAlignment, checkboxAlignment = _g === void 0 ? "center" : _g, props = __rest(_a, ["checked", "errorMessage", "helper", "id", "isDisabled", "isRequired", "label", "hideLabel", "name", "onBlur", "onChange", "size", "value", "checkboxAlignment"]);
14
14
  var requirementStatus = useContext(Context).requirementStatus;
15
15
  var surface = useContext(Context$1).surface;
16
16
  var _h = useAriaDescribedby({
17
17
  id: id,
18
18
  errorMessage: errorMessage
19
19
  }), ariaDescribedby = _h.ariaDescribedby, idError = _h.idError;
20
+ var tickSize = {
21
+ s: { width: 14, height: 11 },
22
+ m: { width: 18, height: 14 }
23
+ };
20
24
  var idLabel = "".concat(id, "-label");
21
25
  var checkedProps = {};
22
26
  if (typeof onChange === "function") {
@@ -40,7 +44,8 @@ var Checkbox = forwardRef(function (_a, ref) {
40
44
  }) },
41
45
  React__default.createElement("input", __assign({ "aria-describedby": ariaDescribedby, "aria-invalid": errorMessage ? "true" : "false", "aria-checked": checked ? "true" : "false", className: "arc-Checkbox-input" }, checkedProps, { disabled: isDisabled, id: id, name: name, onBlur: onBlur, onChange: onChange, ref: ref, required: isRequired, type: "checkbox", value: value }, filterDataAttrs(props))),
42
46
  React__default.createElement("span", { className: "arc-Checkbox-box" },
43
- React__default.createElement(ThemeIcon, { icon: "checkboxChecked" })),
47
+ React__default.createElement("svg", { style: tickSize[size], viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
48
+ React__default.createElement("path", { d: "M5.99459 14L0.350576 8.23277C0.126079 8.00285 0 7.69132 0 7.36653C0 7.04173 0.126079 6.7302 0.350576 6.50028C0.578979 6.27752 0.88258 6.15324 1.19832 6.15324C1.51405 6.15324 1.81765 6.27752 2.04606 6.50028L5.99459 10.535L15.9385 0.374054C16.0491 0.25703 16.1814 0.163688 16.3277 0.0994738C16.474 0.0352599 16.6313 0.00145997 16.7905 4.626e-05C16.9497 -0.00136745 17.1076 0.0296342 17.255 0.0912406C17.4023 0.152847 17.5362 0.243825 17.6488 0.358867C17.7614 0.473908 17.8504 0.610709 17.9107 0.761287C17.971 0.911865 18.0013 1.0732 18 1.23589C17.9986 1.39858 17.9655 1.55936 17.9026 1.70884C17.8398 1.85833 17.7485 1.99352 17.6339 2.10655L5.99459 14Z", fill: "currentColor" }))),
44
49
  React__default.createElement("span", __assign({}, (checkboxAlignment === "top" && {
45
50
  className: "arc-Checkbox-content--marginTop"
46
51
  })), hideLabel ? (React__default.createElement(VisuallyHidden, null,
@@ -0,0 +1,92 @@
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
2
+ import React__default, { forwardRef, useState, useRef, useEffect } from 'react';
3
+ import { $ as $69cb30bb0017df05$export$41fb9f06171c75f4, a as $69cb30bb0017df05$export$7c6e2c02157bb7d2, b as $69cb30bb0017df05$export$54c2e3dc7acea9f5, c as $69cb30bb0017df05$export$be92b6f5f03c0fe9 } from './index-89a7c31c.js';
4
+ import { T as Text } from './Text-df93be85.js';
5
+ import { c as classNames } from './index-2e73c2e9.js';
6
+
7
+ var ContentSwitcherTab = forwardRef(function (_a, ref) {
8
+ var label = _a.label, value = _a.value, onClick = _a.onClick, props = __rest(_a, ["label", "value", "onClick"]);
9
+ return (React__default.createElement($69cb30bb0017df05$export$41fb9f06171c75f4, __assign({ className: "arc-ContentSwitcherTab", value: value, ref: ref, onClick: onClick }, filterDataAttrs(props)),
10
+ React__default.createElement(Text, { size: "m" }, label)));
11
+ });
12
+
13
+ var ContentSwitcherContent = function (_a) {
14
+ var children = _a.children, value = _a.value;
15
+ return (React__default.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, { className: "arc-ContentSwitcherContent", value: value }, children));
16
+ };
17
+
18
+ var ContentSwitcherList = function (_a) {
19
+ var children = _a.children, type = _a.type, isJustified = _a.isJustified, ariaLabel = _a.ariaLabel, isInset = _a.isInset, props = __rest(_a, ["children", "type", "isJustified", "ariaLabel", "isInset"]);
20
+ var _b = useState(false), rightOverflow = _b[0], setRightOverflow = _b[1];
21
+ var _c = useState(false), leftOverflow = _c[0], setLeftOverflow = _c[1];
22
+ var tabRefs = useRef([]);
23
+ var listRef = useRef(null);
24
+ var checkOverflow = function () {
25
+ if (listRef.current) {
26
+ setRightOverflow(listRef.current.scrollLeft + listRef.current.clientWidth <
27
+ listRef.current.scrollWidth);
28
+ setLeftOverflow(listRef.current.scrollLeft > 0);
29
+ }
30
+ };
31
+ var scrollTabIntoView = function (tabRef) {
32
+ if (tabRef.current && listRef.current) {
33
+ var scrollLeft = tabRef.current.offsetLeft -
34
+ listRef.current.clientWidth / 2 +
35
+ tabRef.current.clientWidth / 2;
36
+ listRef.current.scrollTo({
37
+ left: scrollLeft,
38
+ behavior: "smooth"
39
+ });
40
+ }
41
+ };
42
+ var handleScroll = function () {
43
+ checkOverflow();
44
+ };
45
+ useEffect(function () {
46
+ var list = listRef.current;
47
+ checkOverflow();
48
+ if (list) {
49
+ list.addEventListener("scroll", handleScroll);
50
+ }
51
+ return function () {
52
+ if (list) {
53
+ list.removeEventListener("scroll", handleScroll);
54
+ }
55
+ };
56
+ // eslint-disable-next-line react-hooks/exhaustive-deps
57
+ }, []);
58
+ return (React__default.createElement("span", { className: "arc-ContentSwitcherList-wrapper" },
59
+ React__default.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5, __assign({ className: classNames("arc-ContentSwitcherList", {
60
+ "arc-ContentSwitcherList--contained": type === "contained",
61
+ "arc-ContentSwitcherList--isJustified": isJustified,
62
+ "arc-ContentSwitcherList--isInset": isInset
63
+ }), ref: listRef, "aria-label": ariaLabel }, filterDataAttrs(props)),
64
+ React__default.createElement("div", { className: "arc-ContentSwitcherList-inner" }, React__default.Children.map(children, function (child, index) {
65
+ if (tabRefs) {
66
+ return React__default.cloneElement(child, {
67
+ ref: function (el) { return (tabRefs.current[index] = el); },
68
+ onClick: function () {
69
+ return scrollTabIntoView({ current: tabRefs.current[index] });
70
+ }
71
+ });
72
+ }
73
+ else {
74
+ return null;
75
+ }
76
+ }))),
77
+ React__default.createElement("span", { className: "arc-ContentSwitcherList-overflowWrapper" },
78
+ leftOverflow && (React__default.createElement("div", { className: "arc-ContentSwitcherList--leftOverflow", "data-testid": "arc-ContentSwitcherList--leftOverflow" })),
79
+ rightOverflow && (React__default.createElement("div", { className: "arc-ContentSwitcherList--rightOverflow", "data-testid": "arc-ContentSwitcherList--rightOverflow" })))));
80
+ };
81
+
82
+ /** Use `ContentSwitcher` to allow users to navigate between different sections of relevant content. */
83
+ var ContentSwitcher = function (_a) {
84
+ var children = _a.children, defaultValue = _a.defaultValue, onValueChange = _a.onValueChange, activationMode = _a.activationMode, props = __rest(_a, ["children", "defaultValue", "onValueChange", "activationMode"]);
85
+ return (React__default.createElement("span", { className: "arc-ContentSwitcher" },
86
+ React__default.createElement($69cb30bb0017df05$export$be92b6f5f03c0fe9, __assign({ className: "arc-ContentSwitcher-root", defaultValue: defaultValue, onValueChange: onValueChange, activationMode: activationMode }, filterDataAttrs(props)), children)));
87
+ };
88
+ ContentSwitcher.Tab = ContentSwitcherTab;
89
+ ContentSwitcher.List = ContentSwitcherList;
90
+ ContentSwitcher.Content = ContentSwitcherContent;
91
+
92
+ export { ContentSwitcher as C };
@@ -0,0 +1,41 @@
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
2
+ import React__default, { useState, isValidElement } from 'react';
3
+ import { $ as $cc7e05a45900e73f$export$be92b6f5f03c0fe9, a as $cc7e05a45900e73f$export$41fb9f06171c75f4, b as $cc7e05a45900e73f$export$4c8d1a57a761ef94, c as $cc7e05a45900e73f$export$f04a61298a47a40f, d as $cc7e05a45900e73f$export$602eac185826482c, e as $cc7e05a45900e73f$export$7c6e2c02157bb7d2, f as $cc7e05a45900e73f$export$2f60d3ec9ad468f2, g as $cc7e05a45900e73f$export$d5c6c08dc2d3ca7, h as $cc7e05a45900e73f$export$6d08773d2e66f8f2, i as $cc7e05a45900e73f$export$d6e5bf9c43ea9319, j as $cc7e05a45900e73f$export$c3468e2714d175fa, k as $cc7e05a45900e73f$export$bf1aedc3039c8d63 } from './index-afbf540d.js';
4
+ import { T as ThemeIcon } from './ThemeIcon-e1e19266.js';
5
+ import { u as useThemeElement } from './component-3e60a45e.js';
6
+
7
+ var ContentSwitcherDropdown = function (_a) {
8
+ var defaultValue = _a.defaultValue, tabs = _a.tabs, onValueChange = _a.onValueChange, children = _a.children, props = __rest(_a, ["defaultValue", "tabs", "onValueChange", "children"]);
9
+ var initialValue = defaultValue || tabs[0].value;
10
+ var _b = useThemeElement(), themeElement = _b[0], setThemeElement = _b[1];
11
+ var _c = useState(initialValue), selectedValue = _c[0], setSelectedValue = _c[1];
12
+ return (React__default.createElement(React__default.Fragment, null,
13
+ React__default.createElement($cc7e05a45900e73f$export$be92b6f5f03c0fe9, { defaultValue: initialValue, onValueChange: children ? function (value) { return setSelectedValue(value); } : onValueChange },
14
+ React__default.createElement("span", __assign({ className: "arc-ContentSwitcherDropdown-selectTriggerWrapper", ref: setThemeElement }, filterDataAttrs(props)),
15
+ React__default.createElement($cc7e05a45900e73f$export$41fb9f06171c75f4, { className: "arc-ContentSwitcherDropdown-selectTrigger" },
16
+ React__default.createElement($cc7e05a45900e73f$export$4c8d1a57a761ef94, null),
17
+ React__default.createElement($cc7e05a45900e73f$export$f04a61298a47a40f, { className: "arc-ContentSwitcherDropdown-selectTriggerIcon" },
18
+ React__default.createElement(ThemeIcon, { size: 24, icon: "selectTrigger" })))),
19
+ React__default.createElement($cc7e05a45900e73f$export$602eac185826482c, { container: themeElement },
20
+ React__default.createElement($cc7e05a45900e73f$export$7c6e2c02157bb7d2, { className: "arc-ContentSwitcherDropdown-selectContent", sideOffset: 8, position: "popper" },
21
+ React__default.createElement($cc7e05a45900e73f$export$2f60d3ec9ad468f2, null),
22
+ React__default.createElement($cc7e05a45900e73f$export$d5c6c08dc2d3ca7, null, tabs.map(function (item, index) { return (React__default.createElement($cc7e05a45900e73f$export$6d08773d2e66f8f2, { value: item.value, key: index, className: "arc-ContentSwitcherDropdown-selectItem", id: "arc-content-switcher-dropdown-trigger-".concat(item.value) },
23
+ React__default.createElement($cc7e05a45900e73f$export$d6e5bf9c43ea9319, null, item.label),
24
+ React__default.createElement($cc7e05a45900e73f$export$c3468e2714d175fa, null,
25
+ React__default.createElement(ThemeIcon, { size: 24, icon: "selectIndicator" })))); })),
26
+ React__default.createElement($cc7e05a45900e73f$export$bf1aedc3039c8d63, null)))),
27
+ React__default.Children.map(children, function (child) {
28
+ if (!isValidElement(child)) {
29
+ return null;
30
+ }
31
+ var isActive = child.props.value === selectedValue;
32
+ return (React__default.createElement("div", __assign({ role: "tabpanel", className: "arc-ContentSwitcherDropdown-content", id: "arc-content-switcher-dropdown-content-".concat(child.props.value), "aria-labelledby": "arc-content-switcher-dropdown-trigger-".concat(child.props.value), "data-state": isActive ? "active" : "inactive", tabIndex: 0, hidden: !isActive }, filterDataAttrs(child.props)), child));
33
+ })));
34
+ };
35
+ var ContentSwitcherDropdownContent = function (_a) {
36
+ var children = _a.children;
37
+ return React__default.createElement(React__default.Fragment, null, children);
38
+ };
39
+ ContentSwitcherDropdown.Content = ContentSwitcherDropdownContent;
40
+
41
+ export { ContentSwitcherDropdown as C };
@@ -6,9 +6,9 @@ import { P as Primitive, u as useLayoutEffect2, c as createContextScope, a as us
6
6
  import { u as useFloating, a as autoUpdate, o as offset, s as shift, l as limitShift, f as flip, b as size, c as arrow, h as hide } from './floating-ui.react-dom-1bb71aae.js';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
  import { h as hideOthers, u as useThemeElement } from './component-3e60a45e.js';
9
- import { C as Calendar, i as isBefore, a as isAfter, c as compareAsc } from './Calendar-5c2fb044.js';
9
+ import { C as Calendar, i as isBefore, a as isAfter, c as compareAsc } from './Calendar-34b10bd5.js';
10
10
  import { r as requiredArgs, t as toDate, b as isValid, f as format } from './index-ce6dee84.js';
11
- import { T as TextInputWithPlaceHolder } from './TextInput-8e3b81bf.js';
11
+ import { T as TextInputWithPlaceHolder } from './TextInput-7ab39a54.js';
12
12
 
13
13
  /**
14
14
  * @name startOfDay
@@ -1,9 +1,9 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { useContext, useState } from 'react';
4
- import { T as Text } from './Text-96d8a35f.js';
5
- import { C as Context } from './Surface-c425e5e6.js';
6
- import { T as ThemeIcon } from './ThemeIcon-9fac63d0.js';
4
+ import { T as Text } from './Text-df93be85.js';
5
+ import { C as Context } from './Surface-0af6a69a.js';
6
+ import { T as ThemeIcon } from './ThemeIcon-e1e19266.js';
7
7
 
8
8
  /**
9
9
  * Use `DisclosureMini` to show and hide sections of content.
@@ -1,6 +1,6 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs, b as __spreadArray } from './index.es-5496ec12.js';
2
2
  import React__default, { useContext, useState, useEffect } from 'react';
3
- import { C as Context } from './Surface-c425e5e6.js';
3
+ import { C as Context } from './Surface-0af6a69a.js';
4
4
  import { c as classNames } from './index-2e73c2e9.js';
5
5
  import { V as VisuallyHidden } from './VisuallyHidden-cf45ac18.js';
6
6
 
@@ -1,10 +1,10 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { createContext, useContext } from 'react';
4
- import { C as Context$1 } from './Surface-c425e5e6.js';
5
- import { D as DisclosureMini } from './DisclosureMini-6292f721.js';
4
+ import { C as Context$1 } from './Surface-0af6a69a.js';
5
+ import { D as DisclosureMini } from './DisclosureMini-f6d8c9bc.js';
6
6
  import { V as VisuallyHidden } from './VisuallyHidden-cf45ac18.js';
7
- import { T as ThemeIcon } from './ThemeIcon-9fac63d0.js';
7
+ import { T as ThemeIcon } from './ThemeIcon-e1e19266.js';
8
8
 
9
9
  /**
10
10
  * Optionally define ariaDescribedBy if errorMessage or helper exist.
@@ -1,7 +1,7 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { useContext } from 'react';
4
- import { C as Context } from './Surface-c425e5e6.js';
4
+ import { C as Context } from './Surface-0af6a69a.js';
5
5
 
6
6
  /**
7
7
  * Use `Group` to arrange flexible items in a row.
@@ -1,7 +1,7 @@
1
1
  import { _ as __rest, a as __assign, s as suffixModifier, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { useContext } from 'react';
4
- import { C as Context } from './Surface-c425e5e6.js';
4
+ import { C as Context } from './Surface-0af6a69a.js';
5
5
 
6
6
  /**
7
7
  * Use `Heading` to display heading text.
@@ -1,9 +1,9 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import React__default, { forwardRef, useContext } from 'react';
3
3
  import { c as classNames } from './index-2e73c2e9.js';
4
- import { C as Context, c as camelcase } from './Surface-c425e5e6.js';
5
- import { I as Icon } from './Icon-428e8061.js';
6
- import { A as ArcIconEclipse } from './ArcIconEclipse.esm-bb48b82a.js';
4
+ import { C as Context, c as camelcase } from './Surface-0af6a69a.js';
5
+ import { I as Icon } from './Icon-a5cb17de.js';
6
+ import { S as Spinner } from './Spinner-6704017c.js';
7
7
 
8
8
  const BtIconArrowAltRight = (props) =>
9
9
  /*#__PURE__*/ React__default.createElement(
@@ -100,7 +100,7 @@ var HeroButton = forwardRef(function (_a, ref) {
100
100
  React__default.createElement("span", { className: classNames("arc-HeroButton-inner") },
101
101
  label && React__default.createElement("span", { className: "arc-HeroButton-label" }, label),
102
102
  isLoading && (React__default.createElement("span", { className: "arc-HeroButton-icon" },
103
- React__default.createElement(Icon, { size: 48, icon: ArcIconEclipse }))),
103
+ React__default.createElement(Spinner, { size: "xxl" }))),
104
104
  icon && !isLoading && (React__default.createElement("span", { className: "arc-HeroButton-icon" },
105
105
  React__default.createElement(Icon, { size: 48, icon: buttonStyle === "warning"
106
106
  ? HeroButtonIcons["warning"]
@@ -114,7 +114,7 @@ var HeroButton = forwardRef(function (_a, ref) {
114
114
  ? HeroButtonIcons["warning"]
115
115
  : HeroButtonIcons[icon] }))),
116
116
  isLoading && (React__default.createElement("span", { className: "arc-HeroButton-icon" },
117
- React__default.createElement(Icon, { size: 48, icon: ArcIconEclipse }))))));
117
+ React__default.createElement(Spinner, { size: "xxl" }))))));
118
118
  });
119
119
 
120
120
  export { HeroButton as H };
@@ -1,7 +1,7 @@
1
1
  import { _ as __rest, a as __assign, s as suffixModifier, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { useContext } from 'react';
4
- import { C as Context } from './Surface-c425e5e6.js';
4
+ import { C as Context } from './Surface-0af6a69a.js';
5
5
 
6
6
  /**
7
7
  * Use `Icon` to display brand iconography.
@@ -10,11 +10,23 @@ var Icon = function (_a) {
10
10
  var _b;
11
11
  var testId = _a.testId, icon = _a.icon, _c = _a.color, color = _c === void 0 ? "auto" : _c, _d = _a.isInline, isInline = _d === void 0 ? false : _d, _e = _a.isPresentationIcon, isPresentationIcon = _e === void 0 ? false : _e, label = _a.label, size = _a.size, props = __rest(_a, ["testId", "icon", "color", "isInline", "isPresentationIcon", "label", "size"]);
12
12
  var surface = useContext(Context).surface;
13
- var Icon = icon || (function () { return React__default.createElement(React__default.Fragment, null); });
14
13
  var presentationIconProps = {
15
14
  role: "presentation",
16
15
  "aria-hidden": true
17
16
  };
17
+ var renderIcon = function () {
18
+ if (!icon)
19
+ return null;
20
+ var accessibleProps = isPresentationIcon ? presentationIconProps : {};
21
+ if (typeof icon === "function") {
22
+ var IconComponent = icon || (function () { return React__default.createElement(React__default.Fragment, null); });
23
+ return React__default.createElement(IconComponent, __assign({}, accessibleProps));
24
+ }
25
+ if (React__default.isValidElement(icon) && icon.type === "svg") {
26
+ return React__default.cloneElement(icon, accessibleProps);
27
+ }
28
+ return null;
29
+ };
18
30
  return (React__default.createElement("span", __assign({ "data-testid": testId, "aria-label": label, className: classNames((_b = {},
19
31
  _b["arc-Icon"] = true,
20
32
  _b[suffixModifier("arc-Icon--color", color)] = color !== "auto",
@@ -23,8 +35,7 @@ var Icon = function (_a) {
23
35
  _b)), role: label ? "img" : undefined, style: {
24
36
  height: size,
25
37
  width: size
26
- } }, filterDataAttrs(props)),
27
- React__default.createElement(Icon, __assign({}, (isPresentationIcon ? presentationIconProps : {})))));
38
+ } }, filterDataAttrs(props)), renderIcon()));
28
39
  };
29
40
 
30
41
  export { Icon as I };
@@ -1,15 +1,15 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
2
2
  import React__default, { useContext, useState, useEffect, Suspense } from 'react';
3
3
  import { c as classNames } from './index-2e73c2e9.js';
4
- import { a as SemSizeBreakpointsS } from './index.es-974af4a2.js';
4
+ import { a as SemSizeBreakpointsS } from './index.es-932db59a.js';
5
5
  import { u as useMediaQuery } from './use-media-query-d3622da8.js';
6
6
  import { I as Image } from './Image-c1dc10b5.js';
7
- import { H as Heading } from './Heading-0dfbdb24.js';
8
- import { C as Context, S as Surface } from './Surface-c425e5e6.js';
9
- import { T as Text } from './Text-96d8a35f.js';
7
+ import { H as Heading } from './Heading-0a8d3545.js';
8
+ import { C as Context, S as Surface } from './Surface-0af6a69a.js';
9
+ import { T as Text } from './Text-df93be85.js';
10
10
  import { V as VerticalSpace } from './VerticalSpace-6a3533db.js';
11
- import { C as CardHeading } from './CardHeading-4223432d.js';
12
- import { C as CardFooter } from './CardFooter-e4380cda.js';
11
+ import { C as CardHeading } from './CardHeading-c65f9fb2.js';
12
+ import { C as CardFooter } from './CardFooter-bf886438.js';
13
13
  import { C as ConditionalWrapper } from './ConditionalWrapper-b85979de.js';
14
14
 
15
15
  var VideoPlayer = React__default.lazy(function () {
@@ -1,7 +1,7 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs, s as suffixModifier } from './index.es-5496ec12.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default from 'react';
4
- import { S as Surface } from './Surface-c425e5e6.js';
4
+ import { S as Surface } from './Surface-0af6a69a.js';
5
5
  import { I as Image } from './Image-c1dc10b5.js';
6
6
 
7
7
  var PosterImage = function (_a) {