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

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 (381) hide show
  1. package/dist/Alert/Alert.cjs.js +4 -4
  2. package/dist/Alert/Alert.esm.js +4 -4
  3. package/dist/Alert/styles.css +1 -1
  4. package/dist/Align/Align.cjs.js +1 -1
  5. package/dist/Align/Align.esm.js +1 -1
  6. package/dist/AppButton/AppButton.cjs.js +2 -2
  7. package/dist/AppButton/AppButton.esm.js +2 -2
  8. package/dist/Avatar/Avatar.cjs.js +6 -6
  9. package/dist/Avatar/Avatar.esm.js +6 -6
  10. package/dist/AvatarGroup/AvatarGroup.cjs.js +6 -6
  11. package/dist/AvatarGroup/AvatarGroup.esm.js +6 -6
  12. package/dist/Badge/Badge.cjs.js +5 -12
  13. package/dist/Badge/Badge.esm.js +4 -11
  14. package/dist/Banner/Banner.cjs.js +21 -0
  15. package/dist/Banner/Banner.esm.js +13 -0
  16. package/dist/Banner/package.json +7 -0
  17. package/dist/Banner/styles.css +1 -0
  18. package/dist/BannerWithTabs/BannerWithTabs.cjs.js +62 -0
  19. package/dist/BannerWithTabs/BannerWithTabs.esm.js +54 -0
  20. package/dist/BannerWithTabs/package.json +7 -0
  21. package/dist/BannerWithTabs/styles.css +1 -0
  22. package/dist/Box/Box.cjs.js +6 -24
  23. package/dist/Box/Box.esm.js +5 -23
  24. package/dist/Box/styles.css +1 -1
  25. package/dist/BrandLogo/BrandLogo.cjs.js +3 -3
  26. package/dist/BrandLogo/BrandLogo.esm.js +3 -3
  27. package/dist/BrandLogo/styles.css +1 -1
  28. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +5 -4
  29. package/dist/Breadcrumbs/Breadcrumbs.esm.js +5 -4
  30. package/dist/Breadcrumbs/styles.css +1 -1
  31. package/dist/Button/Button.cjs.js +5 -5
  32. package/dist/Button/Button.esm.js +5 -5
  33. package/dist/Button/styles.css +1 -1
  34. package/dist/ButtonV2/ButtonV2.cjs.js +5 -5
  35. package/dist/ButtonV2/ButtonV2.esm.js +5 -5
  36. package/dist/ButtonV2/styles.css +1 -1
  37. package/dist/Calendar/Calendar.cjs.js +8 -8
  38. package/dist/Calendar/Calendar.esm.js +8 -8
  39. package/dist/Calendar/styles.css +1 -1
  40. package/dist/CardFooter/CardFooter.cjs.js +4 -4
  41. package/dist/CardFooter/CardFooter.esm.js +4 -4
  42. package/dist/CardFooter/styles.css +1 -1
  43. package/dist/CardHeading/CardHeading.cjs.js +4 -4
  44. package/dist/CardHeading/CardHeading.esm.js +4 -4
  45. package/dist/Carousel/Carousel.cjs.js +1921 -0
  46. package/dist/Carousel/Carousel.esm.js +1913 -0
  47. package/dist/Carousel/package.json +7 -0
  48. package/dist/Carousel/styles.css +1 -0
  49. package/dist/Checkbox/Checkbox.cjs.js +8 -8
  50. package/dist/Checkbox/Checkbox.esm.js +8 -8
  51. package/dist/Checkbox/styles.css +1 -1
  52. package/dist/Columns/Columns.cjs.js +2 -2
  53. package/dist/Columns/Columns.esm.js +2 -2
  54. package/dist/ContentSwitcher/ContentSwitcher.cjs.js +20 -0
  55. package/dist/ContentSwitcher/ContentSwitcher.esm.js +12 -0
  56. package/dist/ContentSwitcher/package.json +7 -0
  57. package/dist/ContentSwitcher/styles.css +1 -0
  58. package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs.js +23 -0
  59. package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.esm.js +15 -0
  60. package/dist/ContentSwitcherDropdown/package.json +7 -0
  61. package/dist/ContentSwitcherDropdown/styles.css +1 -0
  62. package/dist/DatePicker/DatePicker.cjs.js +15 -15
  63. package/dist/DatePicker/DatePicker.esm.js +15 -15
  64. package/dist/Disclosure/Disclosure.cjs.js +4 -4
  65. package/dist/Disclosure/Disclosure.esm.js +4 -4
  66. package/dist/Disclosure/styles.css +1 -1
  67. package/dist/DisclosureMini/DisclosureMini.cjs.js +5 -5
  68. package/dist/DisclosureMini/DisclosureMini.esm.js +5 -5
  69. package/dist/Download/Download.cjs.js +16 -0
  70. package/dist/Download/Download.esm.js +8 -0
  71. package/dist/Download/package.json +7 -0
  72. package/dist/Download/styles.css +1 -0
  73. package/dist/Elevation/Elevation.cjs.js +1 -1
  74. package/dist/Elevation/Elevation.esm.js +1 -1
  75. package/dist/Elevation/styles.css +1 -1
  76. package/dist/Filter/Filter.cjs.js +4 -4
  77. package/dist/Filter/Filter.esm.js +4 -4
  78. package/dist/FormControl/FormControl.cjs.js +7 -7
  79. package/dist/FormControl/FormControl.esm.js +7 -7
  80. package/dist/Grid/Grid.cjs.js +2 -2
  81. package/dist/Grid/Grid.esm.js +2 -2
  82. package/dist/Grid/styles.css +1 -1
  83. package/dist/Group/Group.cjs.js +3 -3
  84. package/dist/Group/Group.esm.js +3 -3
  85. package/dist/Heading/Heading.cjs.js +3 -3
  86. package/dist/Heading/Heading.esm.js +3 -3
  87. package/dist/Heading/styles.css +1 -1
  88. package/dist/HeroBanner/HeroBanner.cjs.js +28 -0
  89. package/dist/HeroBanner/HeroBanner.esm.js +20 -0
  90. package/dist/HeroBanner/package.json +7 -0
  91. package/dist/HeroButton/HeroButton.cjs.js +5 -5
  92. package/dist/HeroButton/HeroButton.esm.js +5 -5
  93. package/dist/HeroButton/styles.css +1 -1
  94. package/dist/Hidden/Hidden.cjs.js +1 -1
  95. package/dist/Hidden/Hidden.esm.js +1 -1
  96. package/dist/Icon/Icon.cjs.js +3 -3
  97. package/dist/Icon/Icon.esm.js +3 -3
  98. package/dist/Image/Image.cjs.js +2 -2
  99. package/dist/Image/Image.esm.js +2 -2
  100. package/dist/ImpactCard/ImpactCard.cjs.js +8 -9
  101. package/dist/ImpactCard/ImpactCard.esm.js +8 -9
  102. package/dist/ImpactCard/styles.css +1 -1
  103. package/dist/InformationCard/InformationCard.cjs.js +33 -47
  104. package/dist/InformationCard/InformationCard.esm.js +33 -47
  105. package/dist/InformationCard/styles.css +1 -1
  106. package/dist/Link/Link.cjs.js +4 -4
  107. package/dist/Link/Link.esm.js +4 -4
  108. package/dist/Link/styles.css +1 -1
  109. package/dist/Markup/Markup.cjs.js +2 -2
  110. package/dist/Markup/Markup.esm.js +2 -2
  111. package/dist/MediaCard/MediaCard.cjs.js +11 -11
  112. package/dist/MediaCard/MediaCard.esm.js +11 -11
  113. package/dist/MediaCard/styles.css +1 -1
  114. package/dist/Modal/Modal.cjs.js +11 -11
  115. package/dist/Modal/Modal.esm.js +11 -11
  116. package/dist/PageBanner/PageBanner.cjs.js +28 -0
  117. package/dist/PageBanner/PageBanner.esm.js +20 -0
  118. package/dist/PageBanner/package.json +7 -0
  119. package/dist/Pagination/Pagination.cjs.js +3 -3
  120. package/dist/Pagination/Pagination.esm.js +3 -3
  121. package/dist/PaginationSimple/PaginationSimple.cjs.js +82 -13
  122. package/dist/PaginationSimple/PaginationSimple.esm.js +82 -13
  123. package/dist/PaginationSimple/styles.css +1 -1
  124. package/dist/Poster/Poster.cjs.js +4 -4
  125. package/dist/Poster/Poster.esm.js +4 -4
  126. package/dist/ProgressBar/ProgressBar.cjs.js +6 -6
  127. package/dist/ProgressBar/ProgressBar.esm.js +6 -6
  128. package/dist/ProgressStepper/ProgressStepper.cjs.js +5 -5
  129. package/dist/ProgressStepper/ProgressStepper.esm.js +5 -5
  130. package/dist/ProgressStepper/styles.css +1 -1
  131. package/dist/RadioGroup/RadioGroup.cjs.js +8 -8
  132. package/dist/RadioGroup/RadioGroup.esm.js +8 -8
  133. package/dist/RadioGroup/styles.css +1 -1
  134. package/dist/Rule/Rule.cjs.js +2 -2
  135. package/dist/Rule/Rule.esm.js +2 -2
  136. package/dist/Rule/styles.css +1 -1
  137. package/dist/ScrollToTop/ScrollToTop.cjs.js +21 -4
  138. package/dist/ScrollToTop/ScrollToTop.esm.js +21 -4
  139. package/dist/ScrollToTop/styles.css +1 -1
  140. package/dist/Section/Section.cjs.js +2 -2
  141. package/dist/Section/Section.esm.js +2 -2
  142. package/dist/Select/Select.cjs.js +29 -2204
  143. package/dist/Select/Select.esm.js +17 -2173
  144. package/dist/Select/styles.css +1 -1
  145. package/dist/SiteFooter/SiteFooter.cjs.js +7 -7
  146. package/dist/SiteFooter/SiteFooter.esm.js +7 -7
  147. package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +10 -9
  148. package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +10 -9
  149. package/dist/SiteHeaderV2/styles.css +1 -1
  150. package/dist/SkipLink/SkipLink.cjs.js +1 -1
  151. package/dist/SkipLink/SkipLink.esm.js +1 -1
  152. package/dist/Spinner/Spinner.cjs.js +12 -0
  153. package/dist/Spinner/Spinner.esm.js +4 -0
  154. package/dist/Spinner/package.json +7 -0
  155. package/dist/Spinner/styles.css +1 -0
  156. package/dist/Surface/Surface.cjs.js +2 -2
  157. package/dist/Surface/Surface.esm.js +2 -2
  158. package/dist/Surface/styles.css +1 -1
  159. package/dist/Switch/Switch.cjs.js +10 -10
  160. package/dist/Switch/Switch.esm.js +10 -10
  161. package/dist/Switch/styles.css +1 -1
  162. package/dist/Tabs/Tabs.cjs.js +9 -9
  163. package/dist/Tabs/Tabs.esm.js +9 -9
  164. package/dist/Tabs/styles.css +1 -1
  165. package/dist/Tag/Tag.cjs.js +77 -8
  166. package/dist/Tag/Tag.esm.js +76 -7
  167. package/dist/Tag/styles.css +1 -1
  168. package/dist/Text/Text.cjs.js +3 -3
  169. package/dist/Text/Text.esm.js +3 -3
  170. package/dist/TextArea/TextArea.cjs.js +53 -47
  171. package/dist/TextArea/TextArea.esm.js +53 -47
  172. package/dist/TextInput/TextInput.cjs.js +8 -9
  173. package/dist/TextInput/TextInput.esm.js +8 -9
  174. package/dist/Theme/Theme.cjs.js +5 -4
  175. package/dist/Theme/Theme.esm.js +5 -4
  176. package/dist/Theme/styles.css +1 -1
  177. package/dist/ThemeIcon/ThemeIcon.cjs.js +3 -3
  178. package/dist/ThemeIcon/ThemeIcon.esm.js +3 -3
  179. package/dist/ThemeIcon/styles.css +1 -1
  180. package/dist/Toast/Toast.cjs.js +8 -8
  181. package/dist/Toast/Toast.esm.js +8 -8
  182. package/dist/Toast/styles.css +1 -1
  183. package/dist/Truncate/Truncate.cjs.js +3 -3
  184. package/dist/Truncate/Truncate.esm.js +3 -3
  185. package/dist/TypographyCard/TypographyCard.cjs.js +7 -8
  186. package/dist/TypographyCard/TypographyCard.esm.js +7 -8
  187. package/dist/TypographyCard/styles.css +1 -1
  188. package/dist/UniversalHeader/UniversalHeader.cjs.js +3 -3
  189. package/dist/UniversalHeader/UniversalHeader.esm.js +3 -3
  190. package/dist/VerticalSpace/VerticalSpace.cjs.js +2 -2
  191. package/dist/VerticalSpace/VerticalSpace.esm.js +2 -2
  192. package/dist/VerticalSpace/styles.css +1 -1
  193. package/dist/VideoPlayer/VideoPlayer.cjs.js +36 -23
  194. package/dist/VideoPlayer/VideoPlayer.esm.js +36 -23
  195. package/dist/VideoPlayer/styles.css +1 -1
  196. package/dist/Visible/Visible.cjs.js +1 -1
  197. package/dist/Visible/Visible.esm.js +1 -1
  198. package/dist/VisuallyHidden/VisuallyHidden.cjs.js +2 -2
  199. package/dist/VisuallyHidden/VisuallyHidden.esm.js +2 -2
  200. package/dist/VisuallyHidden/styles.css +1 -1
  201. package/dist/_shared/cjs/{Avatar-9277512a.js → Avatar-a3b9f474.js} +4 -4
  202. package/dist/_shared/cjs/Badge-e9ad6e2a.js +17 -0
  203. package/dist/_shared/cjs/Banner-a785d73f.js +66 -0
  204. package/dist/_shared/cjs/Box-082962b9.js +29 -0
  205. package/dist/_shared/cjs/{BrandLogo-ce65cd74.js → BrandLogo-78d3095b.js} +2 -2
  206. package/dist/_shared/cjs/{Breadcrumbs-c7821aa9.js → Breadcrumbs-83b30371.js} +5 -4
  207. package/dist/_shared/cjs/BtIconChevronRight2Px.esm-2e4d117e.js +44 -0
  208. package/dist/_shared/cjs/{Button-ea665c9c.js → Button-e6217128.js} +4 -4
  209. package/dist/_shared/cjs/{ButtonV2-373877da.js → ButtonV2-2640e91a.js} +13 -8
  210. package/dist/_shared/cjs/{Calendar-e5184158.js → Calendar-4284f52b.js} +8 -8
  211. package/dist/_shared/cjs/{CardFooter-a1bb3ded.js → CardFooter-24b10ae4.js} +3 -3
  212. package/dist/_shared/cjs/{CardHeading-3ddcf774.js → CardHeading-0e9d9f86.js} +2 -2
  213. package/dist/_shared/cjs/{Checkbox-850dcf99.js → Checkbox-2cd69440.js} +12 -7
  214. package/dist/_shared/cjs/{Columns-5c6bab74.js → Columns-a8b736af.js} +1 -1
  215. package/dist/_shared/cjs/{Combination-854a36ce.js → Combination-091f3e34.js} +2 -2
  216. package/dist/_shared/cjs/ContentSwitcher-10398581.js +99 -0
  217. package/dist/_shared/cjs/ContentSwitcherDropdown-27d08a2f.js +64 -0
  218. package/dist/_shared/cjs/{DatePicker-2bf10a10.js → DatePicker-da6d276c.js} +6 -23
  219. package/dist/_shared/cjs/{DisclosureMini-c730c24d.js → DisclosureMini-661f0868.js} +4 -4
  220. package/dist/_shared/cjs/Download-60af8fe1.js +43 -0
  221. package/dist/_shared/cjs/{Filter-c42eee70.js → Filter-791d6d7a.js} +3 -3
  222. package/dist/_shared/cjs/{FormControl-5c963e6e.js → FormControl-9ab9e656.js} +5 -5
  223. package/dist/_shared/cjs/{Grid-69ed0e5c.js → Grid-bf7d8993.js} +1 -1
  224. package/dist/_shared/cjs/{Group-5233a907.js → Group-d94b74ac.js} +2 -2
  225. package/dist/_shared/cjs/{Heading-14378b72.js → Heading-dc6acee1.js} +5 -4
  226. package/dist/_shared/cjs/{HeroButton-db7d03d6.js → HeroButton-17400782.js} +6 -6
  227. package/dist/_shared/cjs/{Icon-7f1e8a19.js → Icon-cbf91a21.js} +16 -5
  228. package/dist/_shared/cjs/{Image-c8969ad9.js → Image-b83fa185.js} +1 -1
  229. package/dist/_shared/cjs/{MediaCard-4ff9f5c0.js → MediaCard-976046b7.js} +9 -9
  230. package/dist/_shared/cjs/{Poster-8fba5492.js → Poster-7c69a1e8.js} +3 -3
  231. package/dist/_shared/cjs/{ProgressStepper-aaff6b51.js → ProgressStepper-9d18e458.js} +8 -32
  232. package/dist/_shared/cjs/{RadioGroup-6142dceb.js → RadioGroup-4c9c7385.js} +4 -4
  233. package/dist/_shared/cjs/{Section-46646353.js → Section-6bda04f9.js} +1 -1
  234. package/dist/_shared/cjs/{SiteFooter-cfe7163f.js → SiteFooter-57e4e871.js} +6 -6
  235. package/dist/_shared/cjs/{SiteHeaderV2-043d976a.js → SiteHeaderV2-391c01d6.js} +15 -48
  236. package/dist/_shared/cjs/Spinner-3e4a2e61.js +24 -0
  237. package/dist/_shared/cjs/{Surface-7500f314.js → Surface-877d9fcc.js} +3 -2
  238. package/dist/_shared/cjs/Tabs-680a992e.js +90 -0
  239. package/dist/_shared/cjs/{Text-284a7314.js → Text-0d5891fc.js} +5 -4
  240. package/dist/_shared/cjs/{TextInput-bcc3f86c.js → TextInput-03995fb3.js} +6 -6
  241. package/dist/_shared/cjs/{ThemeIcon-c3dc056d.js → ThemeIcon-e7a68823.js} +2 -2
  242. package/dist/_shared/cjs/{Toast-69020185.js → Toast-d981b0a4.js} +6 -6
  243. package/dist/_shared/cjs/{UniversalHeader-07be88fd.js → UniversalHeader-3bf27194.js} +2 -2
  244. package/dist/_shared/cjs/{VerticalSpace-973deefe.js → VerticalSpace-14714d0f.js} +5 -5
  245. package/dist/_shared/cjs/{VisuallyHidden-25393f58.js → VisuallyHidden-82a60021.js} +1 -1
  246. package/dist/_shared/cjs/{component-4e71e3d3.js → component-dc16a7a5.js} +1 -1
  247. package/dist/_shared/cjs/{Tabs-bd1f208d.js → index-1e7a1fce.js} +8 -92
  248. package/dist/_shared/cjs/{index-6cbaf5e0.js → index-2bf59363.js} +1 -1
  249. package/dist/_shared/cjs/{index-dbab0ad6.js → index-527f962b.js} +1 -1
  250. package/dist/_shared/cjs/index-605c76b9.js +2204 -0
  251. package/dist/_shared/cjs/{index-568bc1da.js → index-879e71ee.js} +7 -7
  252. package/dist/_shared/cjs/{index-c137700a.js → index-ba3141f5.js} +1 -1
  253. package/dist/_shared/cjs/{index-677557a4.js → index-dbc843d3.js} +1 -1
  254. package/dist/_shared/cjs/index.es-b98bcd00.js +355 -0
  255. package/dist/_shared/cjs/{index.es-ba095ee5.js → index.es-d99844c0.js} +2 -2
  256. package/dist/_shared/esm/{Avatar-b5ac0a89.js → Avatar-cea3993d.js} +4 -4
  257. package/dist/_shared/esm/Badge-233eb171.js +11 -0
  258. package/dist/_shared/esm/Banner-ad242982.js +60 -0
  259. package/dist/_shared/esm/Box-aa4f3782.js +23 -0
  260. package/dist/_shared/esm/{BrandLogo-fb863b5b.js → BrandLogo-1ee6f128.js} +2 -2
  261. package/dist/_shared/esm/{Breadcrumbs-01ebed9b.js → Breadcrumbs-1e5f8ab3.js} +5 -4
  262. package/dist/_shared/esm/BtIconChevronRight2Px.esm-c939e317.js +37 -0
  263. package/dist/_shared/esm/{Button-1491784f.js → Button-ea676157.js} +4 -4
  264. package/dist/_shared/esm/{ButtonV2-f9019e00.js → ButtonV2-feb9bcbc.js} +13 -8
  265. package/dist/_shared/esm/{Calendar-5c2fb044.js → Calendar-2bbb4ad5.js} +8 -8
  266. package/dist/_shared/esm/{CardFooter-e4380cda.js → CardFooter-c1c75258.js} +3 -3
  267. package/dist/_shared/esm/{CardHeading-4223432d.js → CardHeading-394596ee.js} +2 -2
  268. package/dist/_shared/esm/{Checkbox-97def257.js → Checkbox-5c954576.js} +12 -7
  269. package/dist/_shared/esm/{Columns-9aa5df4a.js → Columns-61fccabf.js} +1 -1
  270. package/dist/_shared/esm/{Combination-2af75870.js → Combination-beb0370c.js} +2 -2
  271. package/dist/_shared/esm/ContentSwitcher-351ae1a6.js +93 -0
  272. package/dist/_shared/esm/ContentSwitcherDropdown-c5531690.js +58 -0
  273. package/dist/_shared/esm/{DatePicker-2d891441.js → DatePicker-a8e63fb1.js} +6 -23
  274. package/dist/_shared/esm/{DisclosureMini-6292f721.js → DisclosureMini-2d3bad0c.js} +4 -4
  275. package/dist/_shared/esm/Download-064c08ba.js +37 -0
  276. package/dist/_shared/esm/{Filter-71e06965.js → Filter-4519aab6.js} +3 -3
  277. package/dist/_shared/esm/{FormControl-e0acdf7a.js → FormControl-85a2ee28.js} +5 -5
  278. package/dist/_shared/esm/{Grid-727d05d6.js → Grid-3d8eaa8e.js} +1 -1
  279. package/dist/_shared/esm/{Group-b1b14ab4.js → Group-6d0c0d8e.js} +2 -2
  280. package/dist/_shared/esm/{Heading-0dfbdb24.js → Heading-db9014d5.js} +5 -4
  281. package/dist/_shared/esm/{HeroButton-bb983125.js → HeroButton-eb08293f.js} +6 -6
  282. package/dist/_shared/esm/{Icon-428e8061.js → Icon-e85f55ee.js} +16 -5
  283. package/dist/_shared/esm/{Image-c1dc10b5.js → Image-67ec95a0.js} +1 -1
  284. package/dist/_shared/esm/{MediaCard-d83b5561.js → MediaCard-4a845195.js} +9 -9
  285. package/dist/_shared/esm/{Poster-ac72059a.js → Poster-182a3dbf.js} +3 -3
  286. package/dist/_shared/esm/{ProgressStepper-e3e7b392.js → ProgressStepper-e1c297b4.js} +8 -32
  287. package/dist/_shared/esm/{RadioGroup-0d337240.js → RadioGroup-0daeae68.js} +4 -4
  288. package/dist/_shared/esm/{Section-c1dc6e37.js → Section-08f47911.js} +1 -1
  289. package/dist/_shared/esm/{SiteFooter-7e924fb4.js → SiteFooter-704fa8e5.js} +6 -6
  290. package/dist/_shared/esm/{SiteHeaderV2-94b9a407.js → SiteHeaderV2-2b0d6f96.js} +8 -41
  291. package/dist/_shared/esm/Spinner-6493dd54.js +18 -0
  292. package/dist/_shared/esm/{Surface-c425e5e6.js → Surface-b782cda9.js} +3 -2
  293. package/dist/_shared/esm/Tabs-321fa50e.js +84 -0
  294. package/dist/_shared/esm/{Text-96d8a35f.js → Text-d0acd173.js} +5 -4
  295. package/dist/_shared/esm/{TextInput-8e3b81bf.js → TextInput-211dbadb.js} +6 -6
  296. package/dist/_shared/esm/{ThemeIcon-9fac63d0.js → ThemeIcon-0b755b19.js} +2 -2
  297. package/dist/_shared/esm/{Toast-ebe2cd97.js → Toast-bd78be64.js} +6 -6
  298. package/dist/_shared/esm/{UniversalHeader-22ff848b.js → UniversalHeader-4907dbf4.js} +2 -2
  299. package/dist/_shared/esm/{VerticalSpace-6a3533db.js → VerticalSpace-6d8fcb17.js} +5 -5
  300. package/dist/_shared/esm/{VisuallyHidden-cf45ac18.js → VisuallyHidden-605ea42d.js} +1 -1
  301. package/dist/_shared/esm/{component-3e60a45e.js → component-d81b583b.js} +1 -1
  302. package/dist/_shared/esm/{index-fb8b9df7.js → index-13458236.js} +8 -8
  303. package/dist/_shared/esm/{index-61497bd9.js → index-2403936c.js} +1 -1
  304. package/dist/_shared/esm/index-66e8d1ec.js +2169 -0
  305. package/dist/_shared/esm/{index-cf208294.js → index-6bdce6c5.js} +1 -1
  306. package/dist/_shared/esm/{index-d083425f.js → index-7868cc59.js} +1 -1
  307. package/dist/_shared/esm/{index-3a2c1ceb.js → index-7f23bb37.js} +10 -10
  308. package/dist/_shared/esm/{index-f6cc48d2.js → index-a41a5e50.js} +1 -1
  309. package/dist/_shared/esm/{Tabs-028cee5d.js → index-b051f161.js} +6 -89
  310. package/dist/_shared/esm/index.es-3b4ff2ab.js +348 -0
  311. package/dist/_shared/esm/{index.es-974af4a2.js → index.es-8ada4213.js} +2 -2
  312. package/dist/index.es.js +14385 -13888
  313. package/dist/index.es.js.map +1 -1
  314. package/dist/index.js +14071 -13567
  315. package/dist/index.js.map +1 -1
  316. package/dist/styles.css +9 -7
  317. package/dist/types/components/Avatar/index.d.ts +1 -1
  318. package/dist/types/components/Banner/Banner.d.ts +68 -0
  319. package/dist/types/components/Banner/index.d.ts +1 -0
  320. package/dist/types/components/BannerWithTabs/BannerWithTabs.d.ts +17 -0
  321. package/dist/types/components/BannerWithTabs/index.d.ts +1 -0
  322. package/dist/types/components/Box/Box.d.ts +4 -0
  323. package/dist/types/components/ButtonV2/ButtonV2.d.ts +2 -2
  324. package/dist/types/components/Carousel/Carousel.d.ts +34 -0
  325. package/dist/types/components/Carousel/components/DotButton.d.ts +10 -0
  326. package/dist/types/components/Carousel/constants/breakpoints.d.ts +5 -0
  327. package/dist/types/components/Carousel/helpers/get-options.d.ts +3 -0
  328. package/dist/types/components/Carousel/helpers/get-slide-width.d.ts +12 -0
  329. package/dist/types/components/Carousel/index.d.ts +1 -0
  330. package/dist/types/components/Carousel/types/breakpoints.d.ts +1 -0
  331. package/dist/types/components/Carousel/types/keynames.d.ts +5 -0
  332. package/dist/types/components/Carousel/types/responsive.d.ts +3 -0
  333. package/dist/types/components/Carousel/types/screen-sizes.d.ts +2 -0
  334. package/dist/types/components/Carousel/types/slide-config.d.ts +5 -0
  335. package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
  336. package/dist/types/components/ContentSwitcher/ContentSwitcher.d.ts +32 -0
  337. package/dist/types/components/ContentSwitcher/ContentSwitcherContent/ContentSwitcherContent.d.ts +12 -0
  338. package/dist/types/components/ContentSwitcher/ContentSwitcherContent/index.d.ts +1 -0
  339. package/dist/types/components/ContentSwitcher/ContentSwitcherList/ContentSwitcherList.d.ts +24 -0
  340. package/dist/types/components/ContentSwitcher/ContentSwitcherList/index.d.ts +1 -0
  341. package/dist/types/components/ContentSwitcher/ContentSwitcherTab/ContentSwitcherTab.d.ts +17 -0
  342. package/dist/types/components/ContentSwitcher/ContentSwitcherTab/index.d.ts +1 -0
  343. package/dist/types/components/ContentSwitcher/index.d.ts +1 -0
  344. package/dist/types/components/ContentSwitcherDropdown/ContentSwitcherDropdown.d.ts +57 -0
  345. package/dist/types/components/ContentSwitcherDropdown/index.d.ts +1 -0
  346. package/dist/types/components/Disclosure/index.d.ts +1 -1
  347. package/dist/types/components/Download/Download.d.ts +41 -0
  348. package/dist/types/components/Download/index.d.ts +1 -0
  349. package/dist/types/components/Heading/Heading.d.ts +4 -0
  350. package/dist/types/components/Heading/index.d.ts +1 -1
  351. package/dist/types/components/HeroBanner/HeroBanner.d.ts +5 -0
  352. package/dist/types/components/HeroBanner/index.d.ts +1 -0
  353. package/dist/types/components/Icon/Icon.d.ts +2 -2
  354. package/dist/types/components/ImpactCard/index.d.ts +1 -1
  355. package/dist/types/components/InformationCard/InformationCard.d.ts +2 -2
  356. package/dist/types/components/InformationCard/index.d.ts +1 -1
  357. package/dist/types/components/MediaCard/index.d.ts +1 -1
  358. package/dist/types/components/PageBanner/PageBanner.d.ts +5 -0
  359. package/dist/types/components/PageBanner/index.d.ts +1 -0
  360. package/dist/types/components/PaginationSimple/PaginationSimple.d.ts +24 -16
  361. package/dist/types/components/Spinner/Spinner.d.ts +16 -0
  362. package/dist/types/components/Spinner/index.d.ts +1 -0
  363. package/dist/types/components/Surface/Surface.d.ts +4 -0
  364. package/dist/types/components/Tabs/TabsList/TabsList.d.ts +5 -0
  365. package/dist/types/components/Text/Text.d.ts +4 -0
  366. package/dist/types/components/TextInput/TextInput.d.ts +2 -2
  367. package/dist/types/components/ThemeIcon/icon-names.d.ts +1 -1
  368. package/dist/types/components/Truncate/Truncate.d.ts +1 -1
  369. package/dist/types/components/TypographyCard/index.d.ts +1 -1
  370. package/dist/types/components/VideoPlayer/VideoPlayer.d.ts +9 -0
  371. package/dist/types/components/index.d.ts +7 -0
  372. package/dist/types/styles.d.ts +7 -1
  373. package/package.json +21 -18
  374. package/dist/_shared/cjs/ArcIconEclipse.esm-ac777a76.js +0 -28
  375. package/dist/_shared/cjs/Tag-4eb2ed9e.js +0 -44
  376. package/dist/_shared/cjs/index.es-c26e8978.js +0 -201
  377. package/dist/_shared/esm/ArcIconEclipse.esm-bb48b82a.js +0 -22
  378. package/dist/_shared/esm/Tag-1ae027ee.js +0 -38
  379. package/dist/_shared/esm/index.es-5496ec12.js +0 -196
  380. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Todo.d.ts +0 -2
  381. package/dist/_shared/cjs/{index-6f33b8c0.js → index-76f7dd53.js} +8 -8
@@ -1,5 +1,5 @@
1
1
  import { useState, useRef, useMemo } from 'react';
2
- import { f as $9f79659886946c16$export$e5c5a5f917a5871c } from './index-3a2c1ceb.js';
2
+ import { g as $9f79659886946c16$export$e5c5a5f917a5871c } from './index-7f23bb37.js';
3
3
 
4
4
  function $db6c3485150b8e66$export$1ab7ae714698c4b8(element) {
5
5
  const [size, setSize] = useState(undefined);
@@ -1,6 +1,6 @@
1
1
  import { Children, cloneElement, useState, useRef, useEffect, useCallback, useReducer } from 'react';
2
2
  import { flushSync } from 'react-dom';
3
- import { $ as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, f as $9f79659886946c16$export$e5c5a5f917a5871c } from './index-3a2c1ceb.js';
3
+ import { c as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, g as $9f79659886946c16$export$e5c5a5f917a5871c } from './index-7f23bb37.js';
4
4
 
5
5
  function $fe963b355347cc68$export$3e6543de14f8614f(initialState, machine) {
6
6
  return useReducer((state, event)=>{
@@ -1,4 +1,4 @@
1
- import { createContext, useMemo, createElement, useContext, useCallback, forwardRef, Children, isValidElement, cloneElement, Fragment, useEffect, useRef, useLayoutEffect, useState } from 'react';
1
+ import { createContext, useMemo, createElement, useContext, useCallback, forwardRef, Children, isValidElement, cloneElement, Fragment, useLayoutEffect, useEffect, useRef, useState } from 'react';
2
2
  import { flushSync } from 'react-dom';
3
3
 
4
4
  function _extends() {
@@ -219,6 +219,14 @@ function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
219
219
  };
220
220
  }
221
221
 
222
+ /**
223
+ * On the server, React emits a warning when calling `useLayoutEffect`.
224
+ * This is because neither `useLayoutEffect` nor `useEffect` run on the server.
225
+ * We use this safe version which suppresses the warning by replacing it with a noop on the server.
226
+ *
227
+ * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
228
+ */ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? useLayoutEffect : ()=>{};
229
+
222
230
  const $8927f6f2acc4f386$var$NODES = [
223
231
  'a',
224
232
  'button',
@@ -315,14 +323,6 @@ const $8927f6f2acc4f386$var$NODES = [
315
323
  , []);
316
324
  }
317
325
 
318
- /**
319
- * On the server, React emits a warning when calling `useLayoutEffect`.
320
- * This is because neither `useLayoutEffect` nor `useEffect` run on the server.
321
- * We use this safe version which suppresses the warning by replacing it with a noop on the server.
322
- *
323
- * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
324
- */ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? useLayoutEffect : ()=>{};
325
-
326
326
  function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop: prop , defaultProp: defaultProp , onChange: onChange = ()=>{} }) {
327
327
  const [uncontrolledProp, setUncontrolledProp] = $71cd76cc60e0454e$var$useUncontrolledState({
328
328
  defaultProp: defaultProp,
@@ -366,4 +366,4 @@ function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp: defaultProp ,
366
366
  return uncontrolledState;
367
367
  }
368
368
 
369
- export { $6ed0406888f73fc4$export$c7b2cbe3552a0d05 as $, _extends as _, $8927f6f2acc4f386$export$250ffa63cdc0d034 as a, $e42e1063c40fb3ef$export$b9ecd428b558ff10 as b, $b1b2314f5f9a1d84$export$25bec8c6f54ee79a as c, $8927f6f2acc4f386$export$6d1a0317bde7de7f as d, $c512c27ab02ef895$export$50c7b4e9d9f19c1 as e, $9f79659886946c16$export$e5c5a5f917a5871c as f, $71cd76cc60e0454e$export$6f32135080cb4c3 as g, $5e63c961fc1ce211$export$8c6ed5c666ac1360 as h };
369
+ export { $c512c27ab02ef895$export$50c7b4e9d9f19c1 as $, _extends as _, $8927f6f2acc4f386$export$250ffa63cdc0d034 as a, $e42e1063c40fb3ef$export$b9ecd428b558ff10 as b, $6ed0406888f73fc4$export$c7b2cbe3552a0d05 as c, $71cd76cc60e0454e$export$6f32135080cb4c3 as d, $b1b2314f5f9a1d84$export$25bec8c6f54ee79a as e, $8927f6f2acc4f386$export$6d1a0317bde7de7f as f, $9f79659886946c16$export$e5c5a5f917a5871c as g, $5e63c961fc1ce211$export$8c6ed5c666ac1360 as h };
@@ -1,5 +1,5 @@
1
1
  import { useEffect, forwardRef, createElement } from 'react';
2
- import { c as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, a as $8927f6f2acc4f386$export$250ffa63cdc0d034, _ as _extends } from './index-3a2c1ceb.js';
2
+ import { e as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, a as $8927f6f2acc4f386$export$250ffa63cdc0d034, _ as _extends } from './index-7f23bb37.js';
3
3
 
4
4
  /**
5
5
  * Listens for when the escape key is down
@@ -1,13 +1,8 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
2
- import React__default, { forwardRef, createElement, useRef, useState, useEffect, useCallback, useContext } from 'react';
3
- import { e as $c512c27ab02ef895$export$50c7b4e9d9f19c1, _ as _extends, $ as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, g as $71cd76cc60e0454e$export$6f32135080cb4c3, c as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, a as $8927f6f2acc4f386$export$250ffa63cdc0d034, b as $e42e1063c40fb3ef$export$b9ecd428b558ff10 } from './index-3a2c1ceb.js';
4
- import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-61497bd9.js';
5
- import { $ as $f631663db3294ace$export$b39126d51d94e6f3, a as $1746a345f3d73bb7$export$f680877a34711e37 } from './index-fb8b9df7.js';
6
- import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-d083425f.js';
7
- import { I as Icon } from './Icon-428e8061.js';
8
- import { C as Context } from './Surface-c425e5e6.js';
9
- import { c as classNames } from './index-2e73c2e9.js';
10
- import { T as ThemeIcon } from './ThemeIcon-9fac63d0.js';
1
+ import { $ as $c512c27ab02ef895$export$50c7b4e9d9f19c1, a as $8927f6f2acc4f386$export$250ffa63cdc0d034, _ as _extends, b as $e42e1063c40fb3ef$export$b9ecd428b558ff10, c as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, d as $71cd76cc60e0454e$export$6f32135080cb4c3, e as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a } from './index-7f23bb37.js';
2
+ import { forwardRef, useEffect, createElement, useRef, useState, useCallback } from 'react';
3
+ import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-2403936c.js';
4
+ import { $ as $1746a345f3d73bb7$export$f680877a34711e37, a as $f631663db3294ace$export$b39126d51d94e6f3 } from './index-13458236.js';
5
+ import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-7868cc59.js';
11
6
 
12
7
  const $d7bdfb9eb0fdf311$var$ENTRY_FOCUS = 'rovingFocusGroup.onEntryFocus';
13
8
  const $d7bdfb9eb0fdf311$var$EVENT_OPTIONS = {
@@ -376,82 +371,4 @@ const $69cb30bb0017df05$export$54c2e3dc7acea9f5 = $69cb30bb0017df05$export$9712d
376
371
  const $69cb30bb0017df05$export$41fb9f06171c75f4 = $69cb30bb0017df05$export$8114b9fdfdf9f3ba;
377
372
  const $69cb30bb0017df05$export$7c6e2c02157bb7d2 = $69cb30bb0017df05$export$bd905d70e8fd2ebb;
378
373
 
379
- var Tab = function (_a) {
380
- var label = _a.label, value = _a.value, icon = _a.icon, iconActive = _a.iconActive, props = __rest(_a, ["label", "value", "icon", "iconActive"]);
381
- var surface = useContext(Context).surface;
382
- return (React__default.createElement($69cb30bb0017df05$export$41fb9f06171c75f4, __assign({ className: classNames("arc-Tab-trigger", {
383
- "arc-Tab-trigger--onDarkSurface": surface === "dark",
384
- "arc-Tab-trigger--hasIcon": icon || iconActive
385
- }), value: value }, filterDataAttrs(props)),
386
- icon && (React__default.createElement("div", { className: "arc-Tab-triggerIcon", "data-testid": "arc-Tab-TriggerIcon" },
387
- React__default.createElement(Icon, { icon: icon }))),
388
- iconActive && (React__default.createElement("div", { className: "arc-Tab-triggerIcon arc-Tab-triggerIcon--active", "data-testid": "arc-Tab-TriggerIconActive" },
389
- React__default.createElement(Icon, { icon: iconActive }))),
390
- React__default.createElement("span", { className: "arc-Tab-triggerText" }, label)));
391
- };
392
-
393
- var TabContent = function (_a) {
394
- var children = _a.children, value = _a.value, props = __rest(_a, ["children", "value"]);
395
- return (React__default.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, __assign({ className: "arc-Tab-content", value: value }, filterDataAttrs(props)), children));
396
- };
397
-
398
- var TabsList = function (_a) {
399
- var children = _a.children, type = _a.type, isJustified = _a.isJustified, ariaLabel = _a.ariaLabel, props = __rest(_a, ["children", "type", "isJustified", "ariaLabel"]);
400
- var surface = useContext(Context).surface;
401
- var tabsRef = useRef(null);
402
- var _b = useState(false), rightOverflow = _b[0], setRightOverflow = _b[1];
403
- var _c = useState(false), leftOverflow = _c[0], setLeftOverflow = _c[1];
404
- var checkOverflow = function (element) {
405
- if (element) {
406
- if (element.scrollWidth > element.clientWidth) {
407
- setRightOverflow(true);
408
- }
409
- if (element.scrollLeft + 10 >=
410
- element.scrollWidth - element.clientWidth) {
411
- setRightOverflow(false);
412
- }
413
- if (element.scrollLeft >= 1) {
414
- setLeftOverflow(true);
415
- }
416
- else {
417
- setLeftOverflow(false);
418
- }
419
- }
420
- };
421
- useEffect(function () {
422
- checkOverflow(tabsRef.current);
423
- }, []);
424
- var scrollTabs = function (scrollAmount) {
425
- if (tabsRef.current) {
426
- tabsRef.current.scrollLeft += scrollAmount;
427
- }
428
- };
429
- var onScroll = function (event) {
430
- checkOverflow(event.currentTarget);
431
- };
432
- return (React__default.createElement(React__default.Fragment, null,
433
- React__default.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5, __assign({ onScroll: onScroll, className: classNames("arc-Tabs", {
434
- "arc-Tabs--contained": type === "contained",
435
- "arc-Tabs--isJustified": isJustified,
436
- "arc-Tabs--onDarkSurface": surface === "dark"
437
- }), ref: tabsRef, "aria-label": ariaLabel }, filterDataAttrs(props)), children),
438
- leftOverflow && (React__default.createElement("button", { className: classNames("arc-Tabs-overflowIcon arc-Tabs-overflowIcon--left", {
439
- "arc-Tabs-overflowIcon--onDarkSurface": surface === "dark"
440
- }), onClick: function () { return scrollTabs(-300); }, "aria-label": "Scroll Tabs Left", "data-testid": "arc-Tabs-overflowIconLeft" },
441
- React__default.createElement(ThemeIcon, { icon: "tabsPrevious", size: 40, color: "brand" }))),
442
- rightOverflow && (React__default.createElement("button", { className: classNames("arc-Tabs-overflowIcon", {
443
- "arc-Tabs-overflowIcon--onDarkSurface": surface === "dark"
444
- }), onClick: function () { return scrollTabs(300); }, "aria-label": "Scroll Tabs Right", "data-testid": "arc-Tabs-overflowIconRight" },
445
- React__default.createElement(ThemeIcon, { icon: "tabsNext", size: 40, color: "brand" })))));
446
- };
447
-
448
- /** Use `Tabs` to allow users to navigate between different sections of relevant content. */
449
- var Tabs = function (_a) {
450
- var children = _a.children, defaultValue = _a.defaultValue, onValueChange = _a.onValueChange, activationMode = _a.activationMode, props = __rest(_a, ["children", "defaultValue", "onValueChange", "activationMode"]);
451
- return (React__default.createElement($69cb30bb0017df05$export$be92b6f5f03c0fe9, __assign({ className: "arc-Tabs-root", defaultValue: defaultValue, onValueChange: onValueChange, activationMode: activationMode }, filterDataAttrs(props)), children));
452
- };
453
- Tabs.Tab = Tab;
454
- Tabs.List = TabsList;
455
- Tabs.Content = TabContent;
456
-
457
- export { Tabs as T };
374
+ export { $69cb30bb0017df05$export$41fb9f06171c75f4 as $, $69cb30bb0017df05$export$7c6e2c02157bb7d2 as a, $69cb30bb0017df05$export$54c2e3dc7acea9f5 as b, $69cb30bb0017df05$export$be92b6f5f03c0fe9 as c };
@@ -0,0 +1,348 @@
1
+ /******************************************************************************
2
+ Copyright (c) Microsoft Corporation.
3
+
4
+ Permission to use, copy, modify, and/or distribute this software for any
5
+ purpose with or without fee is hereby granted.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
+ PERFORMANCE OF THIS SOFTWARE.
14
+ ***************************************************************************** */
15
+
16
+ var __assign = function() {
17
+ __assign = Object.assign || function __assign(t) {
18
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
19
+ s = arguments[i];
20
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
21
+ }
22
+ return t;
23
+ };
24
+ return __assign.apply(this, arguments);
25
+ };
26
+
27
+ function __rest(s, e) {
28
+ var t = {};
29
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
30
+ t[p] = s[p];
31
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
32
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
33
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
34
+ t[p[i]] = s[p[i]];
35
+ }
36
+ return t;
37
+ }
38
+
39
+ function __spreadArray(to, from, pack) {
40
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
41
+ if (ar || !(i in from)) {
42
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
43
+ ar[i] = from[i];
44
+ }
45
+ }
46
+ return to.concat(ar || Array.prototype.slice.call(from));
47
+ }
48
+
49
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
50
+ var e = new Error(message);
51
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
52
+ };
53
+
54
+ /**
55
+ * Filters out data attributes from the given props object.
56
+ *
57
+ * This function extracts all properties that match the `data-*` attribute pattern
58
+ * and returns a new object containing only those properties.
59
+ *
60
+ * @param props - The object containing properties to filter.
61
+ * @returns A new object containing only the `data-*` attributes from the input props.
62
+ */
63
+ /**
64
+ * Regular expression to match `data-*` attributes.
65
+ */
66
+ var dataAttrRe = /^(data-.*)$/;
67
+ var filterDataAttrs = function (props) {
68
+ var filteredProps = {};
69
+ for (var prop in props) {
70
+ if (Object.prototype.hasOwnProperty.call(props, prop) &&
71
+ dataAttrRe.test(prop)) {
72
+ filteredProps[prop] = props[prop];
73
+ }
74
+ }
75
+ return filteredProps;
76
+ };
77
+
78
+ var camelcase = {exports: {}};
79
+
80
+ const UPPERCASE = /[\p{Lu}]/u;
81
+ const LOWERCASE = /[\p{Ll}]/u;
82
+ const LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/gu;
83
+ const IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u;
84
+ const SEPARATORS = /[_.\- ]+/;
85
+
86
+ const LEADING_SEPARATORS = new RegExp('^' + SEPARATORS.source);
87
+ const SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, 'gu');
88
+ const NUMBERS_AND_IDENTIFIER = new RegExp('\\d+' + IDENTIFIER.source, 'gu');
89
+
90
+ const preserveCamelCase = (string, toLowerCase, toUpperCase) => {
91
+ let isLastCharLower = false;
92
+ let isLastCharUpper = false;
93
+ let isLastLastCharUpper = false;
94
+
95
+ for (let i = 0; i < string.length; i++) {
96
+ const character = string[i];
97
+
98
+ if (isLastCharLower && UPPERCASE.test(character)) {
99
+ string = string.slice(0, i) + '-' + string.slice(i);
100
+ isLastCharLower = false;
101
+ isLastLastCharUpper = isLastCharUpper;
102
+ isLastCharUpper = true;
103
+ i++;
104
+ } else if (isLastCharUpper && isLastLastCharUpper && LOWERCASE.test(character)) {
105
+ string = string.slice(0, i - 1) + '-' + string.slice(i - 1);
106
+ isLastLastCharUpper = isLastCharUpper;
107
+ isLastCharUpper = false;
108
+ isLastCharLower = true;
109
+ } else {
110
+ isLastCharLower = toLowerCase(character) === character && toUpperCase(character) !== character;
111
+ isLastLastCharUpper = isLastCharUpper;
112
+ isLastCharUpper = toUpperCase(character) === character && toLowerCase(character) !== character;
113
+ }
114
+ }
115
+
116
+ return string;
117
+ };
118
+
119
+ const preserveConsecutiveUppercase = (input, toLowerCase) => {
120
+ LEADING_CAPITAL.lastIndex = 0;
121
+
122
+ return input.replace(LEADING_CAPITAL, m1 => toLowerCase(m1));
123
+ };
124
+
125
+ const postProcess = (input, toUpperCase) => {
126
+ SEPARATORS_AND_IDENTIFIER.lastIndex = 0;
127
+ NUMBERS_AND_IDENTIFIER.lastIndex = 0;
128
+
129
+ return input.replace(SEPARATORS_AND_IDENTIFIER, (_, identifier) => toUpperCase(identifier))
130
+ .replace(NUMBERS_AND_IDENTIFIER, m => toUpperCase(m));
131
+ };
132
+
133
+ const camelCase = (input, options) => {
134
+ if (!(typeof input === 'string' || Array.isArray(input))) {
135
+ throw new TypeError('Expected the input to be `string | string[]`');
136
+ }
137
+
138
+ options = {
139
+ pascalCase: false,
140
+ preserveConsecutiveUppercase: false,
141
+ ...options
142
+ };
143
+
144
+ if (Array.isArray(input)) {
145
+ input = input.map(x => x.trim())
146
+ .filter(x => x.length)
147
+ .join('-');
148
+ } else {
149
+ input = input.trim();
150
+ }
151
+
152
+ if (input.length === 0) {
153
+ return '';
154
+ }
155
+
156
+ const toLowerCase = options.locale === false ?
157
+ string => string.toLowerCase() :
158
+ string => string.toLocaleLowerCase(options.locale);
159
+ const toUpperCase = options.locale === false ?
160
+ string => string.toUpperCase() :
161
+ string => string.toLocaleUpperCase(options.locale);
162
+
163
+ if (input.length === 1) {
164
+ return options.pascalCase ? toUpperCase(input) : toLowerCase(input);
165
+ }
166
+
167
+ const hasUpperCase = input !== toLowerCase(input);
168
+
169
+ if (hasUpperCase) {
170
+ input = preserveCamelCase(input, toLowerCase, toUpperCase);
171
+ }
172
+
173
+ input = input.replace(LEADING_SEPARATORS, '');
174
+
175
+ if (options.preserveConsecutiveUppercase) {
176
+ input = preserveConsecutiveUppercase(input, toLowerCase);
177
+ } else {
178
+ input = toLowerCase(input);
179
+ }
180
+
181
+ if (options.pascalCase) {
182
+ input = toUpperCase(input.charAt(0)) + input.slice(1);
183
+ }
184
+
185
+ return postProcess(input, toUpperCase);
186
+ };
187
+
188
+ camelcase.exports = camelCase;
189
+ // TODO: Remove this for the next major release
190
+ camelcase.exports.default = camelCase;
191
+
192
+ var camelCase$1 = camelcase.exports;
193
+
194
+ /**
195
+ * Suffixes a modifier value onto the end of a className, converting it to
196
+ * pascal case. i.e. turns suffixModifier("MyComponent--display", display)
197
+ * returns MyComponent--displayBlock.
198
+ *
199
+ * @param rootClassName The root className to append the suffix onto
200
+ * @param suffix The suffix to convert into pascal case.
201
+ */
202
+ var suffixModifier = function (rootClassName, suffix) {
203
+ return "".concat(rootClassName).concat(camelCase$1(suffix, {
204
+ pascalCase: true
205
+ }));
206
+ };
207
+
208
+ var name = "@arc-ui/arc-ui";
209
+ var homepage = "https://ui.digital-ent-int.bt.com";
210
+ var author = "BT Business Digital UI Team <ui-digital-ent-int@bt.com>";
211
+ var version = "12.0.0-beta.9";
212
+ var engines = {
213
+ node: "20.x"
214
+ };
215
+ var devDependencies = {
216
+ "@commitlint/cli": "^17.1.2",
217
+ "@commitlint/config-conventional": "^17.1.0",
218
+ "@testing-library/dom": "^8.5.0",
219
+ "@testing-library/jest-dom": "^5.16.1",
220
+ "@testing-library/react": "^13.3.0",
221
+ "@testing-library/user-event": "^13.5.0",
222
+ "@types/jest": "^27.0.3",
223
+ "@types/testing-library__jest-dom": "^5.14.2",
224
+ "@typescript-eslint/eslint-plugin": "^4.5.0",
225
+ "@typescript-eslint/parser": "^4.5.0",
226
+ "conventional-recommended-bump": "^6.0.5",
227
+ eslint: "^7.27.0",
228
+ "eslint-config-react-app": "^6.0.0",
229
+ husky: "^8.0.0",
230
+ jest: "^27.4.3",
231
+ lerna: "^7.3.0",
232
+ "postcss-scss": "^4.0.3",
233
+ prettier: "^3.0.3",
234
+ "resize-observer-polyfill": "1.5.1",
235
+ semver: "^7.3.2",
236
+ "standard-changelog": "^2.0.21",
237
+ stylelint: "^14.5.3",
238
+ "stylelint-config-prettier": "^9.0.3",
239
+ "stylelint-config-standard": "^25.0.0",
240
+ "stylelint-config-suitcss": "^18.0.0",
241
+ "stylelint-selector-bem-pattern": "^2.1.1",
242
+ "ts-jest": "^27.1.0"
243
+ };
244
+ var scripts = {
245
+ build: "pnpm run build:deps && pnpm run build:components",
246
+ "build:deps": "pnpm run build:helpers && pnpm run build:icons && pnpm run build:tokens:web",
247
+ "build:deps:community": "pnpm run build:deps && pnpm run build:components:arc",
248
+ "build:components": "pnpm run build:components:arc && pnpm run build:components:community",
249
+ "build:components:arc": "pnpm run --filter @arc-ui/components build",
250
+ "build:components:community": "pnpm run --filter @arc-ui/community-components build",
251
+ "build:helpers": "pnpm run --filter @arc-ui/helpers build",
252
+ "build:icons": "pnpm run build:icons:bt && pnpm run build:icons:ee",
253
+ "build:icons:bt": "pnpm run --filter @arc-ui/icons-bt build",
254
+ "build:icons:ee": "pnpm run --filter @arc-ui/icons-ee build",
255
+ "build:tokens:web": "pnpm run build:tokens:arc && pnpm run build:tokens:bt:enterprise && pnpm run build:tokens:ee && pnpm run build:tokens:bt:business",
256
+ "build:tokens:arc": "pnpm run --filter @arc-ui/tokens-arc build",
257
+ "build:tokens:bt:enterprise": "pnpm run --filter @arc-ui/tokens-bt-enterprise build",
258
+ "build:tokens:bt:business": "pnpm run --filter @arc-ui/tokens-bt-business build",
259
+ "build:tokens:ee": "pnpm run --filter @arc-ui/tokens-ee build",
260
+ "build:storybook:arc": "pnpm run --filter @arc-ui/components storybook:build",
261
+ "build:storybook:community": "pnpm run --filter @arc-ui/community-components storybook:build",
262
+ "build:website": "pnpm run --filter website build && pnpm run build:website:storybook",
263
+ "build:website:quick": "pnpm run --filter website build && pnpm run build:website:storybook:copy && pnpm run build:website:storybook:copy:community",
264
+ "build:website:storybook": "pnpm run build:storybook:arc && pnpm run build:storybook:community && pnpm run build:website:storybook:copy && pnpm run build:website:storybook:copy:community",
265
+ "build:website:storybook:copy": "cp -R packages/arc-components/storybook-static apps/website/build/storybook",
266
+ "build:website:storybook:copy:community": "cp -R packages/community-components/storybook-static apps/website/build/storybook-community",
267
+ changelog: "node scripts/create-changelog",
268
+ "internal:prettier": "prettier './**/*.{css,html,js,json,md,ts,tsx,scss}'",
269
+ "test:prettier": "pnpm run internal:prettier --check",
270
+ prettier: "pnpm run internal:prettier --write",
271
+ lint: "stylelint '**/*{.css,.scss}' && eslint .",
272
+ "lint:ci": "pnpm run lint --max-warnings 0",
273
+ "lint:commit-message": "pnpm dlx commitlint --edit $1",
274
+ precommit: "pnpm run lint && pnpm run test && pnpm run test:components:ci",
275
+ "start:storybook:arc": "pnpm run --filter @arc-ui/components storybook:quiet",
276
+ "start:storybook:community": "pnpm run --filter @arc-ui/community-components storybook:quiet",
277
+ "start:website": "pnpm run --filter website start",
278
+ test: "pnpm run test:prettier && pnpm run test:unit",
279
+ "test:components:ci": "pnpm run test:components:arc:ci && pnpm run test:components:community:ci",
280
+ "test:components:arc": "pnpm run --filter @arc-ui/components test:components",
281
+ "test:components:arc:ci": "pnpm run --filter @arc-ui/components test:components:pipeline",
282
+ "test:components:community": "pnpm run --filter @arc-ui/community-components test:components",
283
+ "test:components:community:ci": "pnpm run --filter @arc-ui/community-components test:components:pipeline",
284
+ "test:coverage": "pnpm run test:unit --coverage",
285
+ "test:unit": "TZ=UTC jest",
286
+ "test:watch": "pnpm run test:unit --changedSince=origin/master --coverage --watch",
287
+ release: "conventional-recommended-bump -p angular | xargs pnpm version --no-git-tag-version",
288
+ "release-commit": "git add -u && git commit -m \"release: v${npm_package_version}\" --no-verify",
289
+ version: "pnpm run changelog && lerna version --force-publish -y --no-push --no-changelog --no-git-tag-version $npm_package_version",
290
+ "update-versions": "node scripts/update-versions",
291
+ prepare: "husky install",
292
+ prerelease: "lerna version --force-publish -y --no-push --no-changelog --no-git-tag-version",
293
+ "generate:component": "pnpm run --filter @arc-ui/components generate:component $1 "
294
+ };
295
+ var browserslist = [
296
+ "defaults",
297
+ "last 1 Chrome version",
298
+ "last 1 ChromeAndroid version",
299
+ "last 1 Edge version",
300
+ "last 1 Firefox version",
301
+ "Firefox ESR",
302
+ "Firefox 91",
303
+ "Firefox 78",
304
+ "Firefox 68",
305
+ "Safari >= 14",
306
+ "iOS >= 14",
307
+ "Samsung >= 16",
308
+ "not IE 11",
309
+ "not Edge < 18",
310
+ "not and_qq > 0",
311
+ "not UCAndroid > 0",
312
+ "not OperaMini all"
313
+ ];
314
+ var pkg = {
315
+ name: name,
316
+ homepage: homepage,
317
+ author: author,
318
+ "private": true,
319
+ version: version,
320
+ engines: engines,
321
+ devDependencies: devDependencies,
322
+ scripts: scripts,
323
+ browserslist: browserslist
324
+ };
325
+
326
+ // @ts-ignore
327
+ var getVersionClassName = function () {
328
+ return "arc-v".concat(pkg.version.replace(/\./g, "-"));
329
+ };
330
+
331
+ /**
332
+ * Helper function to measure the width of a given text using a specified font.
333
+ *
334
+ * @param text - The text to measure.
335
+ * @param font - (Optional) The font to use for measurement (e.g., "16px BT Curve").
336
+ * @returns The width of the text in pixels.
337
+ */
338
+ var getTextWidth = function (text, font) {
339
+ var canvas = document.createElement("canvas");
340
+ var context = canvas.getContext("2d");
341
+ if (context) {
342
+ context.font = font || getComputedStyle(document.body).font;
343
+ return context.measureText(text).width;
344
+ }
345
+ return 0;
346
+ };
347
+
348
+ export { __rest as _, __assign as a, __spreadArray as b, getVersionClassName as c, filterDataAttrs as f, getTextWidth as g, suffixModifier as s };
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 18 Sep 2024 09:30:43 GMT
3
+ * Generated on Thu, 14 Nov 2024 15:25:17 GMT
4
4
  */
5
- var SemSizeBreakpointsS = "576px"; // Small (SM) - 576px to 767px: This is often used for smartphones in landscape mode and small tablets.
5
+ var SemSizeBreakpointsS = "636px"; // Small (SM) - 636px to 767px: This is often used for smartphones in landscape mode and small tablets.
6
6
  var SemSizeBreakpointsM = "768px"; // Medium (MD) - 768px to 991px: This is commonly used for larger tablets and smaller desktop screens.
7
7
  var SemSizeBreakpointsL = "1024px"; // Large (LG) - 1024px - 1279px: This breakpoint is often applied to larger desktop screens and some laptops.
8
8