@arc-ui/components 11.24.1 → 12.0.0-beta.3

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 (408) hide show
  1. package/dist/Alert/Alert.cjs.js +18 -29
  2. package/dist/Alert/Alert.esm.js +17 -28
  3. package/dist/Align/Align.cjs.js +6 -6
  4. package/dist/Align/Align.esm.js +2 -2
  5. package/dist/AppButton/AppButton.cjs.js +73 -0
  6. package/dist/AppButton/AppButton.esm.js +65 -0
  7. package/dist/AppButton/package.json +7 -0
  8. package/dist/Avatar/Avatar.cjs.js +7 -7
  9. package/dist/Avatar/Avatar.esm.js +7 -7
  10. package/dist/AvatarGroup/AvatarGroup.cjs.js +14 -14
  11. package/dist/AvatarGroup/AvatarGroup.esm.js +7 -7
  12. package/dist/Badge/Badge.cjs.js +5 -22
  13. package/dist/Badge/Badge.esm.js +5 -22
  14. package/dist/Box/Box.cjs.js +6 -6
  15. package/dist/Box/Box.esm.js +3 -3
  16. package/dist/BrandLogo/BrandLogo.cjs.js +4 -4
  17. package/dist/BrandLogo/BrandLogo.esm.js +4 -4
  18. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +7 -7
  19. package/dist/Breadcrumbs/Breadcrumbs.esm.js +7 -7
  20. package/dist/Button/Button.cjs.js +7 -8
  21. package/dist/Button/Button.esm.js +7 -8
  22. package/dist/ButtonV2/ButtonV2.cjs.js +16 -0
  23. package/dist/ButtonV2/ButtonV2.esm.js +8 -0
  24. package/dist/ButtonV2/package.json +7 -0
  25. package/dist/Calendar/Calendar.cjs.js +11 -10
  26. package/dist/Calendar/Calendar.esm.js +11 -10
  27. package/dist/Checkbox/Checkbox.cjs.js +8 -10
  28. package/dist/Checkbox/Checkbox.esm.js +8 -10
  29. package/dist/Columns/Columns.cjs.js +3 -3
  30. package/dist/Columns/Columns.esm.js +3 -3
  31. package/dist/DatePicker/DatePicker.cjs.js +35 -563
  32. package/dist/DatePicker/DatePicker.esm.js +26 -554
  33. package/dist/Disclosure/Disclosure.cjs.js +10 -10
  34. package/dist/Disclosure/Disclosure.esm.js +6 -6
  35. package/dist/DisclosureMini/DisclosureMini.cjs.js +6 -6
  36. package/dist/DisclosureMini/DisclosureMini.esm.js +6 -6
  37. package/dist/Elevation/Elevation.cjs.js +5 -5
  38. package/dist/Elevation/Elevation.esm.js +1 -1
  39. package/dist/Filter/Filter.cjs.js +3 -3
  40. package/dist/Filter/Filter.esm.js +3 -3
  41. package/dist/FormControl/FormControl.cjs.js +7 -8
  42. package/dist/FormControl/FormControl.esm.js +7 -8
  43. package/dist/Grid/Grid.cjs.js +3 -3
  44. package/dist/Grid/Grid.esm.js +3 -3
  45. package/dist/Group/Group.cjs.js +3 -3
  46. package/dist/Group/Group.esm.js +3 -3
  47. package/dist/Heading/Heading.cjs.js +4 -4
  48. package/dist/Heading/Heading.esm.js +4 -4
  49. package/dist/HeroButton/HeroButton.cjs.js +16 -0
  50. package/dist/HeroButton/HeroButton.esm.js +8 -0
  51. package/dist/HeroButton/package.json +7 -0
  52. package/dist/Hidden/Hidden.cjs.js +5 -5
  53. package/dist/Hidden/Hidden.esm.js +1 -1
  54. package/dist/Icon/Icon.cjs.js +5 -5
  55. package/dist/Icon/Icon.esm.js +5 -5
  56. package/dist/Image/Image.cjs.js +3 -3
  57. package/dist/Image/Image.esm.js +3 -3
  58. package/dist/ImpactCard/ImpactCard.cjs.js +18 -16
  59. package/dist/ImpactCard/ImpactCard.esm.js +14 -12
  60. package/dist/InformationCard/InformationCard.cjs.js +28 -26
  61. package/dist/InformationCard/InformationCard.esm.js +20 -18
  62. package/dist/Link/Link.cjs.js +13 -13
  63. package/dist/Link/Link.esm.js +6 -6
  64. package/dist/Markup/Markup.cjs.js +6 -6
  65. package/dist/Markup/Markup.esm.js +2 -2
  66. package/dist/MediaCard/MediaCard.cjs.js +19 -47
  67. package/dist/MediaCard/MediaCard.esm.js +18 -46
  68. package/dist/Modal/Modal.cjs.js +1496 -250
  69. package/dist/Modal/Modal.esm.js +1475 -248
  70. package/dist/Pagination/Pagination.cjs.js +15 -20
  71. package/dist/Pagination/Pagination.esm.js +8 -13
  72. package/dist/PaginationSimple/PaginationSimple.cjs.js +12 -16
  73. package/dist/PaginationSimple/PaginationSimple.esm.js +7 -11
  74. package/dist/Poster/Poster.cjs.js +5 -5
  75. package/dist/Poster/Poster.esm.js +5 -5
  76. package/dist/ProgressBar/ProgressBar.cjs.js +17 -43
  77. package/dist/ProgressBar/ProgressBar.esm.js +13 -39
  78. package/dist/ProgressStepper/ProgressStepper.cjs.js +5 -5
  79. package/dist/ProgressStepper/ProgressStepper.esm.js +5 -5
  80. package/dist/RadioGroup/RadioGroup.cjs.js +8 -9
  81. package/dist/RadioGroup/RadioGroup.esm.js +8 -9
  82. package/dist/Rule/Rule.cjs.js +5 -5
  83. package/dist/Rule/Rule.esm.js +2 -2
  84. package/dist/ScrollToTop/ScrollToTop.cjs.js +14 -28
  85. package/dist/ScrollToTop/ScrollToTop.esm.js +10 -24
  86. package/dist/Section/Section.cjs.js +2 -2
  87. package/dist/Section/Section.esm.js +2 -2
  88. package/dist/Select/Select.cjs.js +58 -96
  89. package/dist/Select/Select.esm.js +25 -63
  90. package/dist/SiteFooter/SiteFooter.cjs.js +10 -34
  91. package/dist/SiteFooter/SiteFooter.esm.js +10 -34
  92. package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +14 -13
  93. package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +14 -13
  94. package/dist/SkipLink/SkipLink.cjs.js +3 -3
  95. package/dist/SkipLink/SkipLink.esm.js +1 -1
  96. package/dist/Surface/Surface.cjs.js +2 -2
  97. package/dist/Surface/Surface.esm.js +2 -2
  98. package/dist/Switch/Switch.cjs.js +26 -399
  99. package/dist/Switch/Switch.esm.js +13 -386
  100. package/dist/Tabs/Tabs.cjs.js +10 -11
  101. package/dist/Tabs/Tabs.esm.js +10 -11
  102. package/dist/Tag/Tag.cjs.js +6 -5
  103. package/dist/Tag/Tag.esm.js +6 -5
  104. package/dist/Text/Text.cjs.js +4 -4
  105. package/dist/Text/Text.esm.js +4 -4
  106. package/dist/TextArea/TextArea.cjs.js +62 -57
  107. package/dist/TextArea/TextArea.esm.js +58 -53
  108. package/dist/TextInput/TextInput.cjs.js +9 -10
  109. package/dist/TextInput/TextInput.esm.js +9 -10
  110. package/dist/Theme/Theme.cjs.js +30 -0
  111. package/dist/Theme/Theme.esm.js +21 -0
  112. package/dist/Theme/package.json +7 -0
  113. package/dist/ThemeIcon/ThemeIcon.cjs.js +14 -0
  114. package/dist/ThemeIcon/ThemeIcon.esm.js +6 -0
  115. package/dist/ThemeIcon/package.json +7 -0
  116. package/dist/Toast/Toast.cjs.js +10 -14
  117. package/dist/Toast/Toast.esm.js +10 -14
  118. package/dist/Truncate/Truncate.cjs.js +3 -3
  119. package/dist/Truncate/Truncate.esm.js +1 -1
  120. package/dist/TypographyCard/TypographyCard.cjs.js +16 -14
  121. package/dist/TypographyCard/TypographyCard.esm.js +13 -11
  122. package/dist/UniversalHeader/UniversalHeader.cjs.js +3 -3
  123. package/dist/UniversalHeader/UniversalHeader.esm.js +3 -3
  124. package/dist/VerticalSpace/VerticalSpace.cjs.js +2 -2
  125. package/dist/VerticalSpace/VerticalSpace.esm.js +2 -2
  126. package/dist/VideoPlayer/VideoPlayer.cjs.js +3013 -0
  127. package/dist/VideoPlayer/VideoPlayer.esm.js +3005 -0
  128. package/dist/VideoPlayer/package.json +7 -0
  129. package/dist/Visible/Visible.cjs.js +5 -5
  130. package/dist/Visible/Visible.esm.js +1 -1
  131. package/dist/_shared/cjs/ArcIconEclipse.esm-ac777a76.js +28 -0
  132. package/dist/_shared/cjs/Avatar-fc0d9b8b.js +49 -0
  133. package/dist/_shared/cjs/{BrandLogo-aea340c8.js → BrandLogo-1d2ca2c7.js} +7 -7
  134. package/dist/_shared/cjs/{Breadcrumbs-c6eaf5c4.js → Breadcrumbs-7af0af2c.js} +15 -16
  135. package/dist/_shared/cjs/BtIconArrowRight.esm-5989f2ca.js +38 -0
  136. package/dist/_shared/cjs/{BtIconAlert.esm-1a0ff9f0.js → BtIconPlayFill.esm-b8997cfc.js} +4 -8
  137. package/dist/_shared/cjs/{Button-6ba21d3b.js → Button-7d891a89.js} +13 -16
  138. package/dist/_shared/cjs/ButtonV2-b2db3f46.js +48 -0
  139. package/dist/_shared/cjs/Calendar-780bb071.js +1927 -0
  140. package/dist/_shared/cjs/{CardFooter-ff015d7d.js → CardFooter-5414bc4f.js} +9 -12
  141. package/dist/_shared/cjs/Checkbox-0e423653.js +65 -0
  142. package/dist/_shared/cjs/{Columns-ae4f8cef.js → Columns-1224bdff.js} +9 -16
  143. package/dist/_shared/cjs/{index-77ab5c6a.js → Combination-3a639f6d.js} +877 -83
  144. package/dist/_shared/cjs/DatePicker-e27ea988.js +550 -0
  145. package/dist/_shared/cjs/{DisclosureMini-09c749e5.js → DisclosureMini-c01ecce0.js} +12 -14
  146. package/dist/_shared/cjs/{Filter-f9506dfa.js → Filter-3b897d92.js} +13 -13
  147. package/dist/_shared/cjs/{FormControl-68258ce1.js → FormControl-88d48f42.js} +21 -18
  148. package/dist/_shared/cjs/Grid-9e91fb3d.js +46 -0
  149. package/dist/_shared/cjs/{Group-0429741a.js → Group-3d5ea240.js} +9 -16
  150. package/dist/_shared/cjs/{Heading-27cba320.js → Heading-fb63844f.js} +7 -7
  151. package/dist/_shared/cjs/HeroButton-0586a7c4.js +126 -0
  152. package/dist/_shared/cjs/Icon-0ec0c1fb.js +37 -0
  153. package/dist/_shared/cjs/Image-e9a5a326.js +56 -0
  154. package/dist/_shared/cjs/MediaCard-e1648705.js +65 -0
  155. package/dist/_shared/cjs/{Poster-9b48fd61.js → Poster-b7242b37.js} +15 -15
  156. package/dist/_shared/cjs/Preview-0bf3f6e8.js +167 -0
  157. package/dist/_shared/cjs/{ProgressStepper-491f0286.js → ProgressStepper-fb8405c2.js} +40 -19
  158. package/dist/_shared/cjs/{RadioGroup-26dc00fc.js → RadioGroup-a4186267.js} +14 -14
  159. package/dist/_shared/cjs/{Section-59804166.js → Section-ecfc659b.js} +5 -5
  160. package/dist/_shared/cjs/{SiteFooter-20d5a9fa.js → SiteFooter-b4247527.js} +14 -15
  161. package/dist/_shared/cjs/{SiteHeaderV2-ce1c8737.js → SiteHeaderV2-c2d651bc.js} +115 -83
  162. package/dist/_shared/cjs/{Surface-038db6e1.js → Surface-8599dbe4.js} +23 -23
  163. package/dist/_shared/cjs/{Tabs-bc9fac46.js → Tabs-75c34f43.js} +31 -49
  164. package/dist/_shared/cjs/{Tag-73a59171.js → Tag-452048f6.js} +9 -49
  165. package/dist/_shared/cjs/{Text-606ca3a2.js → Text-1c1110a4.js} +7 -7
  166. package/dist/_shared/cjs/{TextInput-8d139489.js → TextInput-762e2309.js} +11 -11
  167. package/dist/_shared/cjs/ThemeIcon-ee814862.js +27 -0
  168. package/dist/_shared/cjs/{Toast-26207fef.js → Toast-d06a89e0.js} +34 -38
  169. package/dist/_shared/cjs/{UniversalHeader-b8389447.js → UniversalHeader-f6d9c63a.js} +7 -14
  170. package/dist/_shared/cjs/{VerticalSpace-dc53bb70.js → VerticalSpace-e128ec68.js} +5 -5
  171. package/dist/_shared/cjs/_commonjsHelpers-56412ec5.js +21 -0
  172. package/dist/_shared/cjs/component-df82bc05.js +505 -0
  173. package/dist/_shared/cjs/{debounce-123468fb.js → debounce-a74c28cf.js} +2 -2
  174. package/dist/_shared/cjs/{index-74004a9c.js → index-039a9d35.js} +1 -1
  175. package/dist/_shared/cjs/{index-9f99d686.js → index-0c6319ec.js} +1 -1
  176. package/dist/_shared/cjs/index-28447df0.js +23 -0
  177. package/dist/_shared/cjs/{index-a31e64a9.js → index-3d629205.js} +2 -3
  178. package/dist/_shared/cjs/{index-dd1d18ea.js → index-3dd54df1.js} +21 -6
  179. package/dist/_shared/cjs/index-41b09e85.js +53 -0
  180. package/dist/_shared/cjs/{index-6eb396a3.js → index-7aa7f96a.js} +1 -1
  181. package/dist/_shared/{esm/Calendar-ea232839.js → cjs/index-7e31a45b.js} +54 -1942
  182. package/dist/_shared/cjs/{index-d38f1bd0.js → index-996dec94.js} +3 -3
  183. package/dist/_shared/cjs/{filter-data-attrs-1c9a530c.js → index-df60851b.js} +17 -57
  184. package/dist/_shared/cjs/index.es-8b018b0d.js +13 -0
  185. package/dist/_shared/cjs/{suffix-modifier-64dcd338.js → suffix-modifier-c8a34402.js} +2 -2
  186. package/dist/_shared/cjs/{use-media-query-e61881d8.js → use-media-query-d34c83b9.js} +0 -11
  187. package/dist/_shared/esm/ArcIconEclipse.esm-bb48b82a.js +22 -0
  188. package/dist/_shared/esm/{Avatar-320313f0.js → Avatar-38cc0595.js} +6 -23
  189. package/dist/_shared/esm/{BrandLogo-1af78f76.js → BrandLogo-7ed8aeda.js} +3 -3
  190. package/dist/_shared/esm/{Breadcrumbs-7d55e1a6.js → Breadcrumbs-9078b68e.js} +5 -6
  191. package/dist/_shared/esm/BtIconArrowRight.esm-6a17d0ce.js +31 -0
  192. package/dist/_shared/esm/BtIconPlayFill.esm-05fc0344.js +24 -0
  193. package/dist/_shared/esm/{Button-a7d134c6.js → Button-dde2b46a.js} +7 -10
  194. package/dist/_shared/esm/ButtonV2-49cd0615.js +42 -0
  195. package/dist/_shared/esm/Calendar-f81052f4.js +1918 -0
  196. package/dist/_shared/esm/{CardFooter-e13f77b0.js → CardFooter-c79fb2db.js} +7 -10
  197. package/dist/_shared/esm/{Checkbox-588619c7.js → Checkbox-0baca464.js} +15 -12
  198. package/dist/_shared/esm/{Columns-d96b7425.js → Columns-6a8f6fbb.js} +3 -10
  199. package/dist/_shared/esm/{index-b84a20c6.js → Combination-ae3a3f08.js} +853 -66
  200. package/dist/_shared/esm/DatePicker-2260f260.js +539 -0
  201. package/dist/_shared/esm/{DisclosureMini-56719716.js → DisclosureMini-38f4c459.js} +8 -10
  202. package/dist/_shared/esm/{Filter-258ba675.js → Filter-49dcf5ce.js} +2 -2
  203. package/dist/_shared/esm/{FormControl-8e836656.js → FormControl-d873f7fa.js} +14 -11
  204. package/dist/_shared/esm/{Grid-07dbf4bd.js → Grid-fb9fc522.js} +5 -4
  205. package/dist/_shared/esm/{Group-73fdb896.js → Group-66196f07.js} +3 -10
  206. package/dist/_shared/esm/{Heading-d16e0e53.js → Heading-906c7c7c.js} +3 -3
  207. package/dist/_shared/esm/HeroButton-7ea692bf.js +120 -0
  208. package/dist/_shared/esm/{Icon-15799695.js → Icon-512f834f.js} +6 -23
  209. package/dist/_shared/esm/{Image-12fbd327.js → Image-57d08939.js} +15 -5
  210. package/dist/_shared/esm/MediaCard-01250268.js +59 -0
  211. package/dist/_shared/esm/{Poster-4ec2f679.js → Poster-e05a8b45.js} +7 -7
  212. package/dist/_shared/esm/Preview-43b2a75d.js +161 -0
  213. package/dist/_shared/esm/{ProgressStepper-7eba3a6a.js → ProgressStepper-189ed0f9.js} +33 -12
  214. package/dist/_shared/esm/{RadioGroup-427652ac.js → RadioGroup-8ff17cbb.js} +5 -5
  215. package/dist/_shared/esm/{Section-73781b56.js → Section-1acbc06a.js} +1 -1
  216. package/dist/_shared/esm/{SiteFooter-86f910b4.js → SiteFooter-ef6f0cdc.js} +11 -12
  217. package/dist/_shared/esm/{SiteHeaderV2-a7c1b1cb.js → SiteHeaderV2-a041b889.js} +64 -32
  218. package/dist/_shared/esm/{Surface-0ca6817d.js → Surface-71d21a9e.js} +17 -17
  219. package/dist/_shared/esm/{Tabs-9485cab6.js → Tabs-21ac7dfe.js} +11 -29
  220. package/dist/_shared/esm/{Tag-cb35d57b.js → Tag-2513c185.js} +6 -46
  221. package/dist/_shared/esm/{Text-14f586ac.js → Text-a46fb76b.js} +3 -3
  222. package/dist/_shared/esm/{TextInput-c0388103.js → TextInput-94c7b1a4.js} +4 -4
  223. package/dist/_shared/esm/ThemeIcon-c2dc41a6.js +21 -0
  224. package/dist/_shared/esm/{Toast-fcbfc194.js → Toast-de6ca2f3.js} +15 -19
  225. package/dist/_shared/esm/{UniversalHeader-80c7313f.js → UniversalHeader-456ad60c.js} +4 -11
  226. package/dist/_shared/esm/{VerticalSpace-43cd9138.js → VerticalSpace-b07cd8e6.js} +1 -1
  227. package/dist/_shared/esm/_commonjsHelpers-0109d574.js +18 -0
  228. package/dist/_shared/esm/component-d0a555cf.js +476 -0
  229. package/dist/_shared/esm/{debounce-6fed6b84.js → debounce-c8e41002.js} +1 -1
  230. package/dist/_shared/esm/{filter-data-attrs-ea8f4ed4.js → index-288c66b5.js} +17 -55
  231. package/dist/_shared/esm/index-4e58de24.js +51 -0
  232. package/dist/_shared/esm/{index-25a5b393.js → index-5113ed53.js} +1 -2
  233. package/dist/_shared/esm/{index-2cfab9f2.js → index-6028d797.js} +1 -1
  234. package/dist/_shared/{cjs/Calendar-b022545c.js → esm/index-605031ca.js} +44 -1954
  235. package/dist/_shared/esm/index-69089474.js +21 -0
  236. package/dist/_shared/esm/{index-efa9be1a.js → index-7740883c.js} +1 -1
  237. package/dist/_shared/esm/{index-7b531fa7.js → index-cace3545.js} +16 -2
  238. package/dist/_shared/esm/{index-044da8d0.js → index-f97466e9.js} +1 -1
  239. package/dist/_shared/esm/{index-ca72c9d5.js → index-fa93ec97.js} +1 -1
  240. package/dist/_shared/esm/index.es-3139cf9e.js +9 -0
  241. package/dist/_shared/esm/{suffix-modifier-3d548e45.js → suffix-modifier-1ce05abe.js} +2 -2
  242. package/dist/_shared/esm/{use-media-query-4c807227.js → use-media-query-d3622da8.js} +1 -9
  243. package/dist/index.es.js +17418 -40573
  244. package/dist/index.es.js.map +1 -1
  245. package/dist/index.js +17825 -40979
  246. package/dist/index.js.map +1 -1
  247. package/dist/styles.css +13 -11
  248. package/dist/types/components/Alert/Alert.d.ts +3 -5
  249. package/dist/types/components/AppButton/AppButton.d.ts +9 -0
  250. package/dist/types/components/AppButton/icons/AppStore.d.ts +2 -0
  251. package/dist/types/components/AppButton/icons/GooglePlay.d.ts +2 -0
  252. package/dist/types/components/AppButton/index.d.ts +1 -0
  253. package/dist/types/components/Avatar/types/avatar-image.d.ts +1 -1
  254. package/dist/types/components/Badge/Badge.d.ts +0 -8
  255. package/dist/types/components/BrandLogo/BrandLogo.d.ts +2 -2
  256. package/dist/types/components/ButtonV2/ButtonV2.d.ts +79 -0
  257. package/dist/types/components/ButtonV2/index.d.ts +1 -0
  258. package/dist/types/components/Checkbox/Checkbox.d.ts +7 -4
  259. package/dist/types/components/DatePicker/DatePicker.d.ts +1 -1
  260. package/dist/types/components/FormControl/FormControl.d.ts +1 -1
  261. package/dist/types/components/Grid/Grid.types.d.ts +2 -0
  262. package/dist/types/components/Grid/components/Col/Col.d.ts +2 -1
  263. package/dist/types/components/Grid/components/Row/Row.d.ts +2 -1
  264. package/dist/types/components/Grid/index.d.ts +1 -1
  265. package/dist/types/components/HeroButton/HeroButton.d.ts +66 -0
  266. package/dist/types/components/HeroButton/index.d.ts +1 -0
  267. package/dist/types/components/Image/Image.d.ts +4 -0
  268. package/dist/types/components/ImpactCard/ImpactCard.d.ts +8 -3
  269. package/dist/types/components/InformationCard/InformationCard.d.ts +5 -5
  270. package/dist/types/components/MediaCard/MediaCard.d.ts +7 -6
  271. package/dist/types/components/MediaCard/types/index.d.ts +2 -0
  272. package/dist/types/components/MediaCard/types/media-card-image.d.ts +4 -0
  273. package/dist/types/components/MediaCard/types/media-card-video.d.ts +4 -0
  274. package/dist/types/components/Modal/Modal.d.ts +2 -2
  275. package/dist/types/components/Poster/Poster.d.ts +2 -2
  276. package/dist/types/components/ProgressBar/constants/progress-bar-icon-map.d.ts +2 -2
  277. package/dist/types/components/RadioGroup/RadioGroup.d.ts +9 -1
  278. package/dist/types/components/SiteFooter/SiteFooter.d.ts +0 -4
  279. package/dist/types/components/SiteFooter/index.d.ts +0 -1
  280. package/dist/types/components/SiteHeaderV2/components/Panel/Panel.d.ts +1 -1
  281. package/dist/types/components/SiteHeaderV2/components/VerticalDivider/VerticalDivider.d.ts +1 -0
  282. package/dist/types/components/Surface/Surface.d.ts +3 -3
  283. package/dist/types/components/Switch/Switch.d.ts +1 -1
  284. package/dist/types/components/TextArea/TextArea.d.ts +8 -0
  285. package/dist/types/components/TextInput/TextInput.d.ts +4 -2
  286. package/dist/types/components/Theme/Theme.d.ts +21 -0
  287. package/dist/types/components/Theme/index.d.ts +1 -0
  288. package/dist/types/components/ThemeIcon/ThemeIcon.d.ts +18 -0
  289. package/dist/types/components/ThemeIcon/icon-names.d.ts +1 -0
  290. package/dist/types/components/ThemeIcon/index.d.ts +1 -0
  291. package/dist/types/components/TypographyCard/TypographyCard.d.ts +9 -4
  292. package/dist/types/components/VideoPlayer/VideoPlayer.d.ts +18 -0
  293. package/dist/types/components/VideoPlayer/index.d.ts +1 -0
  294. package/dist/types/components/index.d.ts +8 -6
  295. package/dist/types/helpers/get-theme-img.d.ts +6 -0
  296. package/dist/types/helpers/index.d.ts +1 -0
  297. package/dist/types/hooks/index.d.ts +2 -4
  298. package/dist/types/hooks/private/index.d.ts +5 -0
  299. package/dist/types/hooks/private/use-aria-describedby/index.d.ts +1 -0
  300. package/dist/types/hooks/private/use-interaction-mode/index.d.ts +1 -0
  301. package/dist/types/hooks/private/use-numeric-input/index.d.ts +1 -0
  302. package/dist/types/hooks/{use-numeric-input.d.ts → private/use-numeric-input/use-numeric-input.d.ts} +3 -3
  303. package/dist/types/hooks/private/use-pagination/index.d.ts +1 -0
  304. package/dist/types/hooks/private/use-theme-element/index.d.ts +1 -0
  305. package/dist/types/hooks/public/index.d.ts +1 -0
  306. package/dist/types/hooks/public/use-media-query/index.d.ts +1 -0
  307. package/dist/types/hooks/{use-media-query.d.ts → public/use-media-query/use-media-query.d.ts} +1 -1
  308. package/dist/types/index.d.ts +1 -0
  309. package/dist/types/private-components/CardFooter/CardFooter.d.ts +1 -1
  310. package/dist/types/private-components/CardFooter/index.d.ts +1 -1
  311. package/dist/types/private-components/CardHeading/CardHeading.d.ts +3 -3
  312. package/dist/types/private-components/index.d.ts +1 -2
  313. package/dist/types/styles.d.ts +7 -30
  314. package/dist/use-media-query/package.json +7 -0
  315. package/dist/use-media-query/use-media-query.cjs.js +10 -0
  316. package/dist/use-media-query/use-media-query.esm.js +2 -0
  317. package/package.json +48 -38
  318. package/dist/Base/Base.cjs.js +0 -11
  319. package/dist/Base/Base.esm.js +0 -3
  320. package/dist/Base/package.json +0 -7
  321. package/dist/Card/Card.cjs.js +0 -19
  322. package/dist/Card/Card.esm.js +0 -11
  323. package/dist/Card/package.json +0 -7
  324. package/dist/Clock/Clock.cjs.js +0 -48
  325. package/dist/Clock/Clock.esm.js +0 -39
  326. package/dist/Clock/package.json +0 -7
  327. package/dist/Curve/Curve.cjs.js +0 -13
  328. package/dist/Curve/Curve.esm.js +0 -5
  329. package/dist/Curve/package.json +0 -7
  330. package/dist/SiteHeader/SiteHeader.cjs.js +0 -25
  331. package/dist/SiteHeader/SiteHeader.esm.js +0 -16
  332. package/dist/SiteHeader/package.json +0 -7
  333. package/dist/_shared/cjs/Avatar-f1b1c129.js +0 -66
  334. package/dist/_shared/cjs/Base-f5a86eed.js +0 -22
  335. package/dist/_shared/cjs/BtIconArrowRight.esm-50d96943.js +0 -54
  336. package/dist/_shared/cjs/BtIconArrowRightFill.esm-435cf4bd.js +0 -26
  337. package/dist/_shared/cjs/BtIconChevronDown2Px.esm-39030ee0.js +0 -26
  338. package/dist/_shared/cjs/BtIconChevronLeftMid.esm-0aaa6770.js +0 -28
  339. package/dist/_shared/cjs/BtIconChevronRight2Px.esm-dbf8cbee.js +0 -44
  340. package/dist/_shared/cjs/BtIconCrossAlt2Px.esm-1452b14b.js +0 -26
  341. package/dist/_shared/cjs/BtIconTick.esm-844eac6c.js +0 -80
  342. package/dist/_shared/cjs/BtIconTickAlt2Px.esm-57c89acc.js +0 -26
  343. package/dist/_shared/cjs/Card-78a70e63.js +0 -126
  344. package/dist/_shared/cjs/Checkbox-0253327b.js +0 -62
  345. package/dist/_shared/cjs/Combination-9974f2e2.js +0 -1330
  346. package/dist/_shared/cjs/Curve-b5117889.js +0 -33
  347. package/dist/_shared/cjs/Grid-da776e77.js +0 -45
  348. package/dist/_shared/cjs/Icon-b46897a3.js +0 -54
  349. package/dist/_shared/cjs/Image-e873b8fc.js +0 -46
  350. package/dist/_shared/cjs/SiteHeader.rehydrator-9d8f3dad.js +0 -669
  351. package/dist/_shared/cjs/extends-8c5e4b48.js +0 -18
  352. package/dist/_shared/esm/Base-f200653c.js +0 -15
  353. package/dist/_shared/esm/BtIconAlert.esm-a4608d47.js +0 -28
  354. package/dist/_shared/esm/BtIconArrowRight.esm-9b181878.js +0 -46
  355. package/dist/_shared/esm/BtIconArrowRightFill.esm-99019d1a.js +0 -20
  356. package/dist/_shared/esm/BtIconChevronDown2Px.esm-217276c2.js +0 -20
  357. package/dist/_shared/esm/BtIconChevronLeftMid.esm-1ed8330b.js +0 -22
  358. package/dist/_shared/esm/BtIconChevronRight2Px.esm-75e92636.js +0 -37
  359. package/dist/_shared/esm/BtIconCrossAlt2Px.esm-7165ab1a.js +0 -20
  360. package/dist/_shared/esm/BtIconTick.esm-e265098f.js +0 -72
  361. package/dist/_shared/esm/BtIconTickAlt2Px.esm-0bc2ded0.js +0 -20
  362. package/dist/_shared/esm/Card-a4b78406.js +0 -120
  363. package/dist/_shared/esm/Combination-e9f7e64e.js +0 -1301
  364. package/dist/_shared/esm/Curve-e05b3c3f.js +0 -27
  365. package/dist/_shared/esm/SiteHeader.rehydrator-2ec02ee7.js +0 -662
  366. package/dist/_shared/esm/extends-8cc61aad.js +0 -16
  367. package/dist/types/components/Base/Base.d.ts +0 -16
  368. package/dist/types/components/Base/index.d.ts +0 -1
  369. package/dist/types/components/Card/Card.d.ts +0 -132
  370. package/dist/types/components/Card/index.d.ts +0 -1
  371. package/dist/types/components/Clock/Clock.d.ts +0 -17
  372. package/dist/types/components/Clock/Clock.rehydrator.d.ts +0 -2
  373. package/dist/types/components/Clock/index.d.ts +0 -2
  374. package/dist/types/components/Curve/Curve.d.ts +0 -34
  375. package/dist/types/components/Curve/index.d.ts +0 -1
  376. package/dist/types/components/SiteFooter/SiteFooter.rehydrator.d.ts +0 -2
  377. package/dist/types/components/SiteHeader/SiteHeader.d.ts +0 -79
  378. package/dist/types/components/SiteHeader/SiteHeader.rehydrator.d.ts +0 -8
  379. package/dist/types/components/SiteHeader/components/BackButton/BackButton.d.ts +0 -5
  380. package/dist/types/components/SiteHeader/components/BackButton/index.d.ts +0 -1
  381. package/dist/types/components/SiteHeader/components/Column/Column.d.ts +0 -8
  382. package/dist/types/components/SiteHeader/components/Column/index.d.ts +0 -1
  383. package/dist/types/components/SiteHeader/components/Item/Item.d.ts +0 -20
  384. package/dist/types/components/SiteHeader/components/Item/index.d.ts +0 -1
  385. package/dist/types/components/SiteHeader/components/ItemGroup/ItemGroup.d.ts +0 -26
  386. package/dist/types/components/SiteHeader/components/ItemGroup/ItemGroup.rehydrator.d.ts +0 -2
  387. package/dist/types/components/SiteHeader/components/ItemGroup/index.d.ts +0 -2
  388. package/dist/types/components/SiteHeader/components/MenuButton/MenuButton.d.ts +0 -6
  389. package/dist/types/components/SiteHeader/components/MenuButton/index.d.ts +0 -1
  390. package/dist/types/components/SiteHeader/components/NavItem/NavItem.d.ts +0 -42
  391. package/dist/types/components/SiteHeader/components/NavItem/NavItem.rehydrator.d.ts +0 -2
  392. package/dist/types/components/SiteHeader/components/NavItem/NavItemWithSubNav.d.ts +0 -47
  393. package/dist/types/components/SiteHeader/components/NavItem/NavItemWithSubNav.rehydrator.d.ts +0 -2
  394. package/dist/types/components/SiteHeader/components/NavItem/index.d.ts +0 -4
  395. package/dist/types/components/SiteHeader/components/NodeItem/NodeItem.d.ts +0 -8
  396. package/dist/types/components/SiteHeader/components/Panel/Panel.d.ts +0 -22
  397. package/dist/types/components/SiteHeader/components/Panel/index.d.ts +0 -1
  398. package/dist/types/components/SiteHeader/components/SubNavItem/SubNavItem.d.ts +0 -47
  399. package/dist/types/components/SiteHeader/components/SubNavItem/SubNavItem.rehydrator.d.ts +0 -2
  400. package/dist/types/components/SiteHeader/components/SubNavItem/index.d.ts +0 -2
  401. package/dist/types/components/SiteHeader/index.d.ts +0 -2
  402. package/dist/types/private-components/CardLabel/CardLabel.d.ts +0 -10
  403. package/dist/types/private-components/CardLabel/index.d.ts +0 -1
  404. /package/dist/_shared/cjs/{BtIconChevronRightMid.esm-d01ebbd4.js → BtIconChevronRightMid.esm-3e8d18a9.js} +0 -0
  405. /package/dist/_shared/esm/{BtIconChevronRightMid.esm-32268f1a.js → BtIconChevronRightMid.esm-4764708f.js} +0 -0
  406. /package/dist/types/hooks/{use-aria-describedby.d.ts → private/use-aria-describedby/use-aria-describedby.d.ts} +0 -0
  407. /package/dist/types/hooks/{use-interaction-mode.d.ts → private/use-interaction-mode/use-interaction-mode.d.ts} +0 -0
  408. /package/dist/types/hooks/{use-pagination.d.ts → private/use-pagination/use-pagination.d.ts} +0 -0
@@ -1,18 +1,18 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
- import { u as useMediaQuery, A as ArcBreakpointM } from './use-media-query-4c807227.js';
3
- import { B as BtIconChevronDown2Px } from './BtIconChevronDown2Px.esm-217276c2.js';
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-288c66b5.js';
2
+ import { S as SemSizeBreakpointsM } from './index.es-3139cf9e.js';
4
3
  import React__default, { useEffect, Fragment } from 'react';
5
- import { B as BrandLogo } from './BrandLogo-1af78f76.js';
6
- import { C as Curve } from './Curve-e05b3c3f.js';
7
- import { S as Section } from './Section-73781b56.js';
8
- import { S as Surface } from './Surface-0ca6817d.js';
4
+ import { B as BrandLogo } from './BrandLogo-7ed8aeda.js';
5
+ import { u as useMediaQuery } from './use-media-query-d3622da8.js';
6
+ import { S as Section } from './Section-1acbc06a.js';
7
+ import { S as Surface } from './Surface-71d21a9e.js';
9
8
  import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
9
+ import { T as ThemeIcon } from './ThemeIcon-c2dc41a6.js';
10
10
 
11
11
  /**
12
12
  * Use `SiteFooter` to display information at the bottom of a page.
13
13
  */
14
14
  var SiteFooter = function (_a) {
15
- var children = _a.children, currentYear = _a.currentYear, _b = _a.curve, curve = _b === void 0 ? true : _b, logoLabel = _a.logoLabel, main = _a.main, siteName = _a.siteName, props = __rest(_a, ["children", "currentYear", "curve", "logoLabel", "main", "siteName"]);
15
+ var children = _a.children, currentYear = _a.currentYear, logoLabel = _a.logoLabel, main = _a.main, siteName = _a.siteName, props = __rest(_a, ["children", "currentYear", "logoLabel", "main", "siteName"]);
16
16
  useEffect(function () {
17
17
  React__default.Children.map(children, function (item) {
18
18
  if (item && item.type !== SiteFooterItem) {
@@ -21,9 +21,8 @@ var SiteFooter = function (_a) {
21
21
  });
22
22
  }, [children]);
23
23
  return (React__default.createElement(React__default.Fragment, null,
24
- curve ? (React__default.createElement(Curve, { bottomColor: "brand-flat", from: "topLeft", size: "s" })) : null,
25
24
  React__default.createElement("footer", __assign({ className: "arc-SiteFooter" }, filterDataAttrs(props)),
26
- React__default.createElement(Surface, { background: "brand-flat", paddingVertical: "24" },
25
+ React__default.createElement(Surface, { background: "dark-brand-01", paddingVertical: "24" },
27
26
  (siteName || main) && (React__default.createElement(React__default.Fragment, null,
28
27
  React__default.createElement(Section, null,
29
28
  siteName && (React__default.createElement("div", { className: "arc-SiteFooter-name" }, siteName)),
@@ -39,7 +38,7 @@ var SiteFooter = function (_a) {
39
38
  };
40
39
  var SiteFooterItemGroup = function (_a) {
41
40
  var children = _a.children, title = _a.title;
42
- var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcBreakpointM, "px)"));
41
+ var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(SemSizeBreakpointsM, ")"));
43
42
  useEffect(function () {
44
43
  React__default.Children.map(children, function (item) {
45
44
  if (item && item.type !== SiteFooterItem && item.type !== Fragment) {
@@ -50,7 +49,7 @@ var SiteFooterItemGroup = function (_a) {
50
49
  return (React__default.createElement("details", { className: "arc-SiteFooter-disclosure", open: isMinWidthArcBreakpointM },
51
50
  React__default.createElement("summary", { className: "arc-SiteFooter-summary", tabIndex: isMinWidthArcBreakpointM ? -1 : 0 },
52
51
  React__default.createElement("span", { className: "arc-SiteFooter-icon" },
53
- React__default.createElement(BtIconChevronDown2Px, null)),
52
+ React__default.createElement(ThemeIcon, { icon: "siteFooterExpand" })),
54
53
  React__default.createElement("h2", { className: "arc-SiteFooter-title" }, title)),
55
54
  React__default.createElement("ul", { className: "arc-SiteFooter-mainItems" }, children)));
56
55
  };
@@ -1,17 +1,18 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
- import { u as useMediaQuery, b as ArcBreakpointL } from './use-media-query-4c807227.js';
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-288c66b5.js';
2
+ import { b as SemSizeBreakpointsL } from './index.es-3139cf9e.js';
3
3
  import { c as classNames } from './index-2e73c2e9.js';
4
4
  import React__default, { useEffect, Fragment, useRef, useState, createContext, useContext } from 'react';
5
- import { B as BrandLogo } from './BrandLogo-1af78f76.js';
6
- import { S as Surface } from './Surface-0ca6817d.js';
5
+ import { B as BrandLogo } from './BrandLogo-7ed8aeda.js';
6
+ import { u as useMediaQuery } from './use-media-query-d3622da8.js';
7
+ import { S as Surface } from './Surface-71d21a9e.js';
7
8
  import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
8
- import { B as BtIconChevronRightMid } from './BtIconChevronRightMid.esm-32268f1a.js';
9
+ import { B as BtIconChevronRightMid } from './BtIconChevronRightMid.esm-4764708f.js';
10
+ import './Heading-906c7c7c.js';
9
11
  import { C as ConditionalWrapper } from './ConditionalWrapper-59be8f35.js';
10
- import { B as BtIconChevronLeft2Px, a as BtIconChevronRight2Px } from './BtIconChevronRight2Px.esm-75e92636.js';
11
- import { B as Button } from './Button-a7d134c6.js';
12
- import { s as suffixModifier } from './suffix-modifier-3d548e45.js';
13
- import { T as Text } from './Text-14f586ac.js';
14
- import { I as Icon } from './Icon-15799695.js';
12
+ import { B as ButtonV2 } from './ButtonV2-49cd0615.js';
13
+ import { s as suffixModifier } from './suffix-modifier-1ce05abe.js';
14
+ import { T as Text } from './Text-a46fb76b.js';
15
+ import { I as Icon } from './Icon-512f834f.js';
15
16
 
16
17
  var Item = function (_a) {
17
18
  var _b;
@@ -28,7 +29,7 @@ var Item = function (_a) {
28
29
 
29
30
  var ItemGroup = function (_a) {
30
31
  var children = _a.children, href = _a.href, title = _a.title, subtitle = _a.subtitle, onClick = _a.onClick, viewAllTitle = _a.viewAllTitle, props = __rest(_a, ["children", "href", "title", "subtitle", "onClick", "viewAllTitle"]);
31
- var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
32
+ var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(SemSizeBreakpointsL, ")"));
32
33
  useEffect(function () {
33
34
  React__default.Children.map(children, function (item) {
34
35
  if (item && item.type !== Item && item.type !== Fragment) {
@@ -68,6 +69,23 @@ var Column = function (_a) {
68
69
  React__default.createElement("ul", { className: "arc-SiteHeaderV2Column-items", role: "none" }, children)));
69
70
  };
70
71
 
72
+ const BtIconChevronLeft2Px = (props) =>
73
+ /*#__PURE__*/ React__default.createElement(
74
+ "svg",
75
+ Object.assign(
76
+ {
77
+ xmlns: "http://www.w3.org/2000/svg",
78
+ viewBox: "0 0 32 32",
79
+ },
80
+ props,
81
+ ),
82
+ /*#__PURE__*/ React__default.createElement("defs", null),
83
+ /*#__PURE__*/ React__default.createElement("path", {
84
+ d: "M22.5,29.99854a.99676.99676,0,0,1-.707-.293L8.08594,15.99268,21.793,2.294A1.00023,1.00023,0,0,1,23.207,3.709l-12.293,12.28467L23.207,28.2915a1,1,0,0,1-.707,1.707Z",
85
+ fill: "currentColor",
86
+ }),
87
+ );
88
+
71
89
  var BackButton = function (_a) {
72
90
  var setOpen = _a.setOpen, setOpenPanelOnFirstClick = _a.setOpenPanelOnFirstClick;
73
91
  return (React__default.createElement("button", { className: "arc-SiteHeaderV2BackButton", onClick: function () {
@@ -82,7 +100,7 @@ var BackButton = function (_a) {
82
100
  var Panel = function (_a) {
83
101
  var _b, _c, _d, _e, _f;
84
102
  var children = _a.children, navItemRef = _a.navItemRef, isNavItem = _a.isNavItem, open = _a.open, setOpen = _a.setOpen, setOpenPanelOnFirstClick = _a.setOpenPanelOnFirstClick, subNavItemRef = _a.subNavItemRef; _a.navLink; var _h = _a.subNavLink, subNavLink = _h === void 0 ? "" : _h, title = _a.title, subtitle = _a.subtitle, viewAll = _a.viewAll, withSubNav = _a.withSubNav; _a.fade; var isPrimary = _a.isPrimary, props = __rest(_a, ["children", "navItemRef", "isNavItem", "open", "setOpen", "setOpenPanelOnFirstClick", "subNavItemRef", "navLink", "subNavLink", "title", "subtitle", "viewAll", "withSubNav", "fade", "isPrimary"]);
85
- var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
103
+ var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(SemSizeBreakpointsL, ")"));
86
104
  var menubarRef = useHeaderV2Context().menubarRef;
87
105
  useEffect(function () {
88
106
  // Where appropriate, close the Panel when clicking outside of it,
@@ -155,7 +173,7 @@ var Panel = function (_a) {
155
173
  var handleKeydown = function (e) {
156
174
  var _a, _b;
157
175
  // Check the viewport width at time of press
158
- var isMinWidthArcBreakpointL = window.matchMedia("(min-width: ".concat(ArcBreakpointL, "px)")).matches;
176
+ var isMinWidthArcBreakpointL = window.matchMedia("(min-width: ".concat(SemSizeBreakpointsL, ")")).matches;
159
177
  if (e.key === "Escape" || e.keyCode === 27) {
160
178
  if (isMinWidthArcBreakpointL && subNavItemRef) {
161
179
  // Don't close Panels inside SubNavItems when viewport width is above
@@ -180,7 +198,7 @@ var Panel = function (_a) {
180
198
  _b["arc-SiteHeaderV2Panel--withSubNav"] = withSubNav,
181
199
  _b["arc-SiteHeaderV2Panel-onlyPanel"] = isPrimary && isNavItem,
182
200
  _b)) }, filterDataAttrs(props)),
183
- React__default.createElement(Surface, { background: "white" },
201
+ React__default.createElement(Surface, { background: "light-white" },
184
202
  React__default.createElement(BackButton, { setOpen: setOpen, setOpenPanelOnFirstClick: setOpenPanelOnFirstClick }),
185
203
  React__default.createElement("div", { className: classNames((_c = {},
186
204
  _c["arc-SiteHeaderV2Panel-inner"] = !isNavItem && withSubNav,
@@ -210,21 +228,18 @@ var Panel = function (_a) {
210
228
  withSubNav && viewAll)))));
211
229
  };
212
230
  var ViewAll = function (_a) {
213
- var href = _a.href, title = _a.title, onClick = _a.onClick, fill = _a.fill;
214
- var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
215
- if (fill === "outlined") {
231
+ var href = _a.href, title = _a.title, onClick = _a.onClick, buttonStyle = _a.buttonStyle;
232
+ var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(SemSizeBreakpointsL, ")"));
233
+ if (buttonStyle === "secondary") {
216
234
  return isMinWidthArcBreakpointL ? (React__default.createElement("div", { className: "arc-SiteHeaderV2Panel-viewAllOutlined" },
217
- React__default.createElement(Button, { fill: fill, label: title !== null && title !== void 0 ? title : "", href: href, onClick: onClick }),
218
- " ")) : (React__default.createElement("div", { className: "arc-SiteHeaderV2Panel-mobileViewAll arc-SiteHeaderV2Panel-mobileViewAllOutlined" },
235
+ React__default.createElement(ButtonV2, { buttonStyle: buttonStyle, label: title !== null && title !== void 0 ? title : "", href: href, onClick: onClick }))) : (React__default.createElement("div", { className: "arc-SiteHeaderV2Panel-mobileViewAll arc-SiteHeaderV2Panel-mobileViewAllOutlined" },
219
236
  React__default.createElement("a", { className: "arc-SiteHeaderV2Item-link", onClick: handleLinkClick({
220
237
  handler: onClick
221
238
  }), href: href }, title)));
222
239
  }
223
240
  else {
224
241
  return isMinWidthArcBreakpointL ? (React__default.createElement("div", { className: "arc-SiteHeaderV2Panel-viewAll" },
225
- " ",
226
- React__default.createElement(Button, { fill: fill, label: title !== null && title !== void 0 ? title : "", isFullWidth: true, href: href, onClick: onClick }),
227
- " ")) : (React__default.createElement("div", { className: "arc-SiteHeaderV2Panel-mobileViewAll" },
242
+ React__default.createElement(ButtonV2, { buttonStyle: buttonStyle, label: title !== null && title !== void 0 ? title : "", isFullWidth: true, href: href, onClick: onClick }))) : (React__default.createElement("div", { className: "arc-SiteHeaderV2Panel-mobileViewAll" },
228
243
  React__default.createElement("a", { className: "arc-SiteHeaderV2Item-link", onClick: handleLinkClick({
229
244
  handler: onClick
230
245
  }), href: href }, title)));
@@ -232,6 +247,23 @@ var ViewAll = function (_a) {
232
247
  };
233
248
  Panel.ViewAll = ViewAll;
234
249
 
250
+ const BtIconChevronRight2Px = (props) =>
251
+ /*#__PURE__*/ React__default.createElement(
252
+ "svg",
253
+ Object.assign(
254
+ {
255
+ xmlns: "http://www.w3.org/2000/svg",
256
+ viewBox: "0 0 32 32",
257
+ },
258
+ props,
259
+ ),
260
+ /*#__PURE__*/ React__default.createElement("defs", null),
261
+ /*#__PURE__*/ React__default.createElement("path", {
262
+ d: "M9.5,29.99854A1.00025,1.00025,0,0,1,8.793,28.291l12.293-12.28467L8.793,3.7085A.99989.99989,0,0,1,10.207,2.29443l13.707,13.71289L10.207,29.70605A.99827.99827,0,0,1,9.5,29.99854Z",
263
+ fill: "currentColor",
264
+ }),
265
+ );
266
+
235
267
  var NavItem = function (_a) {
236
268
  var _b, _c, _d, _e, _f;
237
269
  var children = _a.children, href = _a.href, isCurrent = _a.isCurrent, onClick = _a.onClick, title = _a.title; _a.viewAllTitle; var isPrimary = _a.isPrimary, opensFirstWithPanel = _a.opensFirstWithPanel, subTitle = _a.subTitle, props = __rest(_a, ["children", "href", "isCurrent", "onClick", "title", "viewAllTitle", "isPrimary", "opensFirstWithPanel", "subTitle"]);
@@ -239,7 +271,7 @@ var NavItem = function (_a) {
239
271
  var _g = useState(false), panelOpen = _g[0], setPanelOpen = _g[1];
240
272
  var _h = useState(true), openSecondaryWithSubNav = _h[0], setOpenSecondaryWithSubNav = _h[1];
241
273
  var _j = useState(false), animation = _j[0], setAnimation = _j[1];
242
- var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
274
+ var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(SemSizeBreakpointsL, ")"));
243
275
  useEffect(function () {
244
276
  React__default.Children.map(children, function (item) {
245
277
  if (item &&
@@ -293,7 +325,7 @@ var NavItem = function (_a) {
293
325
  _f)) }))),
294
326
  React__default.createElement(Panel, { navItemRef: navItem, isNavItem: true, isPrimary: isPrimary, open: opensFirstWithPanel && isMinWidthArcBreakpointL
295
327
  ? openSecondaryWithSubNav
296
- : panelOpen, setOpenPanelOnFirstClick: setOpenSecondaryWithSubNav, setOpen: setPanelOpen, fade: animation, viewAll: href ? (React__default.createElement(Panel.ViewAll, { href: href, onClick: onClick, title: "See all solutions", fill: "solid" })) : undefined }, children)))));
328
+ : panelOpen, setOpenPanelOnFirstClick: setOpenSecondaryWithSubNav, setOpen: setPanelOpen, fade: animation, viewAll: href ? (React__default.createElement(Panel.ViewAll, { href: href, onClick: onClick, title: "See all solutions", buttonStyle: "primary" })) : undefined }, children)))));
297
329
  };
298
330
 
299
331
  var HorizontalPanel = function (_a) {
@@ -321,7 +353,7 @@ var HorizontalPanel = function (_a) {
321
353
  useEffect(function () {
322
354
  var handleKeydown = function (e) {
323
355
  // Check the viewport width at time of press
324
- var isMinWidthArcBreakpointL = window.matchMedia("(min-width: ".concat(ArcBreakpointL, "px)")).matches;
356
+ var isMinWidthArcBreakpointL = window.matchMedia("(min-width: ".concat(SemSizeBreakpointsL, ")")).matches;
325
357
  if (e.key === "Escape" || e.keyCode === 27) {
326
358
  if (isMinWidthArcBreakpointL && subNavItemRef) {
327
359
  // Don't close Panels inside SubNavItems when viewport width is above
@@ -341,7 +373,7 @@ var HorizontalPanel = function (_a) {
341
373
  _b["arc-SiteHeaderV2HorizontalPanel--open"] = open,
342
374
  _b["arc-SiteHeaderV2HorizontalPanel--withSubNav"] = withSubNav,
343
375
  _b)) }, filterDataAttrs(props)),
344
- React__default.createElement(Surface, { background: "light" },
376
+ React__default.createElement(Surface, { background: "light-neutral-02" },
345
377
  React__default.createElement("div", { className: classNames((_c = {},
346
378
  _c["arc-SiteHeaderV2HorizontalPanel-container"] = true,
347
379
  _c)) },
@@ -364,7 +396,7 @@ var NavItemWithSubNav = function (_a) {
364
396
  var _k = useState(false), horizontalPanelOpen = _k[0], setHorizontalPanelOpen = _k[1];
365
397
  var _l = useState(false), animation = _l[0], setAnimation = _l[1];
366
398
  var _m = useState(true), openSecondaryWithSubNav = _m[0], setOpenSecondaryWithSubNav = _m[1];
367
- var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
399
+ var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(SemSizeBreakpointsL, ")"));
368
400
  useEffect(function () {
369
401
  React__default.Children.map(slot1, function (item) {
370
402
  if (item.props.isDefaultItem) {
@@ -448,7 +480,7 @@ var NavItemWithSubNav = function (_a) {
448
480
  slot5)),
449
481
  React__default.createElement(Panel, { navItemRef: navItem, open: opensFirstWithPanel && isMinWidthArcBreakpointL
450
482
  ? openSecondaryWithSubNav
451
- : panelOpen, fade: animation, setOpenPanelOnFirstClick: setOpenSecondaryWithSubNav, setOpen: setPanelOpen, title: !isMinWidthArcBreakpointL && title, subtitle: subTitle, navLink: "", viewAll: href ? (React__default.createElement(Panel.ViewAll, { href: href, onClick: onViewAllClick, title: viewAllTitle, fill: "solid" })) : undefined, withSubNav: true, isNavItem: false },
483
+ : panelOpen, fade: animation, setOpenPanelOnFirstClick: setOpenSecondaryWithSubNav, setOpen: setPanelOpen, title: !isMinWidthArcBreakpointL && title, subtitle: subTitle, navLink: "", viewAll: href ? (React__default.createElement(Panel.ViewAll, { href: href, onClick: onViewAllClick, title: viewAllTitle, buttonStyle: "primary" })) : undefined, withSubNav: true, isNavItem: false },
452
484
  defaultItem
453
485
  ? React__default.cloneElement(slot1, { isDefaultItem: defaultItem })
454
486
  : slot1,
@@ -485,7 +517,7 @@ var SubNavItem = function (_a) {
485
517
  var subNavItem = useRef();
486
518
  var _e = useState(false), panelOpen = _e[0], setPanelOpen = _e[1];
487
519
  var _f = useState(false), fade = _f[0], setFade = _f[1];
488
- var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
520
+ var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(SemSizeBreakpointsL, ")"));
489
521
  useEffect(function () {
490
522
  React__default.Children.map(children, function (item) {
491
523
  if (item &&
@@ -531,7 +563,7 @@ var SubNavItem = function (_a) {
531
563
  React__default.createElement("span", { "data-cy": "linkTitle", className: "arc-SiteHeaderV2SubNavItem-linkSlotTitle" }, linkTitle))),
532
564
  React__default.createElement(Panel, { navItemRef: navItem, open: panelOpen, setOpen: setPanelOpen, subNavItemRef: subNavItem, setOpenPanelOnFirstClick: function () { }, subNavLink: "arc-SiteHeaderV2SubNavItem-link", title: React__default.createElement("span", null,
533
565
  title,
534
- subTitle && (React__default.createElement(Text, { size: "xs", tone: "supporting" }, subTitle))), viewAll: href ? (React__default.createElement(Panel.ViewAll, { href: href, onClick: onClick, title: viewAllTitle || "See all ".concat(title), fill: "outlined" })) : undefined, isNavItem: false, fade: fade }, children)))));
566
+ subTitle && (React__default.createElement(Text, { size: "xs", tone: "supporting" }, subTitle))), viewAll: href ? (React__default.createElement(Panel.ViewAll, { href: href, onClick: onClick, title: viewAllTitle || "See all ".concat(title), buttonStyle: "secondary" })) : undefined, isNavItem: false, fade: fade }, children)))));
535
567
  };
536
568
 
537
569
  var VerticalDivider = function () {
@@ -549,7 +581,7 @@ var SiteHeaderV2 = function (_a) {
549
581
  var children = _a.children, basket = _a.basket, _c = _a.hasLogin, hasLogin = _c === void 0 ? true : _c, _d = _a.isTransparent, isTransparent = _d === void 0 ? false : _d, _e = _a.loginHref, loginHref = _e === void 0 ? "/login" : _e, logoOnClick = _a.logoOnClick, loginOnClick = _a.loginOnClick, _f = _a.loginTitle, loginTitle = _f === void 0 ? "Log in / Register" : _f, _g = _a.logoHref, logoHref = _g === void 0 ? "/" : _g, _h = _a.logoLabel, logoLabel = _h === void 0 ? "Home" : _h, search = _a.search, subBrand = _a.subBrand, props = __rest(_a, ["children", "basket", "hasLogin", "isTransparent", "loginHref", "logoOnClick", "loginOnClick", "loginTitle", "logoHref", "logoLabel", "search", "subBrand"]);
550
582
  var _j = useState(false), hasClientSideJavaScript = _j[0], setHasClientSideJavaScript = _j[1];
551
583
  var _k = useState(false), menuOpen = _k[0], setMenuOpen = _k[1];
552
- var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
584
+ var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(SemSizeBreakpointsL, ")"));
553
585
  var menubarRef = useRef();
554
586
  useEffect(function () {
555
587
  React__default.Children.map(children, function (item) {
@@ -610,7 +642,7 @@ var SiteHeaderV2 = function (_a) {
610
642
  _b["arc-no-js"] = !hasClientSideJavaScript,
611
643
  _b)) }, filterDataAttrs(props), { "data-transparent": isTransparent || null }),
612
644
  React__default.createElement(Surface, { background: !isTransparent || (menuOpen && !isMinWidthArcBreakpointL)
613
- ? "brand-flat"
645
+ ? "dark-brand-01"
614
646
  : undefined },
615
647
  React__default.createElement("div", { className: "arc-SiteHeaderV2-inner" },
616
648
  React__default.createElement("a", { className: "arc-SiteHeaderV2-brand", onClick: handleLinkClick({
@@ -1,4 +1,4 @@
1
- import { b as __spreadArray, _ as __rest, a as __assign, c as camelCase, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
1
+ import { b as __spreadArray, _ as __rest, a as __assign, c as camelcase, f as filterDataAttrs } from './index-288c66b5.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { createContext } from 'react';
4
4
 
@@ -12,18 +12,18 @@ var Surface = function (_a) {
12
12
  var _b;
13
13
  var background = _a.background, children = _a.children, _c = _a.growVertically, growVertically = _c === void 0 ? false : _c, padding = _a.padding, paddingHorizontal = _a.paddingHorizontal, paddingVertical = _a.paddingVertical, props = __rest(_a, ["background", "children", "growVertically", "padding", "paddingHorizontal", "paddingVertical"]);
14
14
  var surface = "light";
15
- if (background === "black" ||
16
- background === "brand" ||
17
- background === "brand-flat" ||
18
- background === "dark" ||
19
- background === "darker") {
15
+ if (background === "dark-black" ||
16
+ background === "dark-brand-01" ||
17
+ background === "dark-brand-02" ||
18
+ background === "dark-neutral-01" ||
19
+ background === "dark-neutral-02") {
20
20
  surface = "dark";
21
21
  }
22
22
  return (React__default.createElement(Provider, { value: { surface: surface } },
23
23
  React__default.createElement("div", __assign({ "data-testid": "arc-surface", className: classNames((_b = {
24
24
  "arc-Surface": true
25
25
  },
26
- _b["arc-Surface--".concat(background && camelCase(background), "Background")] = background,
26
+ _b["arc-Surface--".concat(background && camelcase(background), "Background")] = background,
27
27
  _b["arc-Surface--growVertically"] = growVertically,
28
28
  _b["arc-Surface--padding".concat(padding)] = padding,
29
29
  _b["arc-Surface--paddingHorizontal".concat(paddingHorizontal)] = paddingHorizontal,
@@ -31,16 +31,16 @@ var Surface = function (_a) {
31
31
  _b)) }, filterDataAttrs(props)), children)));
32
32
  };
33
33
  var backgroundsShared = [
34
- "black",
35
- "brand",
36
- "brand-flat",
37
- "dark",
38
- "darker",
39
- "coral",
40
- "turquoise",
41
- "light",
42
- "lighter",
43
- "white",
34
+ "dark-black",
35
+ "dark-brand-01",
36
+ "dark-brand-02",
37
+ "dark-neutral-01",
38
+ "dark-neutral-02",
39
+ "light-brand-01",
40
+ "light-brand-02",
41
+ "light-neutral-01",
42
+ "light-neutral-02",
43
+ "light-white",
44
44
  ];
45
45
  var backgrounds = __spreadArray([], backgroundsShared, true);
46
46
  var backgroundsBT = __spreadArray([], backgroundsShared, true);
@@ -1,15 +1,14 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-288c66b5.js';
2
2
  import React__default, { forwardRef, createElement, useRef, useState, useEffect, useCallback, useContext } from 'react';
3
- import { _ as _extends } from './extends-8cc61aad.js';
4
- import { $ as $c512c27ab02ef895$export$50c7b4e9d9f19c1, b as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, a as $71cd76cc60e0454e$export$6f32135080cb4c3, f as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, e as $8927f6f2acc4f386$export$250ffa63cdc0d034, d as $e42e1063c40fb3ef$export$b9ecd428b558ff10 } from './index-7b531fa7.js';
5
- import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-044da8d0.js';
6
- import { $ as $1746a345f3d73bb7$export$f680877a34711e37 } from './index-efa9be1a.js';
3
+ import { $ as $c512c27ab02ef895$export$50c7b4e9d9f19c1, _ as _extends, b as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, a as $71cd76cc60e0454e$export$6f32135080cb4c3, f as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, e as $8927f6f2acc4f386$export$250ffa63cdc0d034, d as $e42e1063c40fb3ef$export$b9ecd428b558ff10 } from './index-cace3545.js';
4
+ import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-f97466e9.js';
5
+ import { $ as $1746a345f3d73bb7$export$f680877a34711e37 } from './index-7740883c.js';
7
6
  import { $ as $f631663db3294ace$export$b39126d51d94e6f3 } from './index-a624de47.js';
8
- import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-ca72c9d5.js';
9
- import { I as Icon } from './Icon-15799695.js';
10
- import { C as Context } from './Surface-0ca6817d.js';
7
+ import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-fa93ec97.js';
8
+ import { I as Icon } from './Icon-512f834f.js';
9
+ import { C as Context } from './Surface-71d21a9e.js';
11
10
  import { c as classNames } from './index-2e73c2e9.js';
12
- import { B as BtIconArrowRightFill } from './BtIconArrowRightFill.esm-99019d1a.js';
11
+ import { T as ThemeIcon } from './ThemeIcon-c2dc41a6.js';
13
12
 
14
13
  const $d7bdfb9eb0fdf311$var$ENTRY_FOCUS = 'rovingFocusGroup.onEntryFocus';
15
14
  const $d7bdfb9eb0fdf311$var$EVENT_OPTIONS = {
@@ -389,7 +388,7 @@ var Tab = function (_a) {
389
388
  React__default.createElement(Icon, { icon: icon }))),
390
389
  iconActive && (React__default.createElement("div", { className: "arc-Tab-triggerIcon arc-Tab-triggerIcon--active", "data-testid": "arc-Tab-TriggerIconActive" },
391
390
  React__default.createElement(Icon, { icon: iconActive }))),
392
- label));
391
+ React__default.createElement("span", { className: "arc-Tab-triggerText" }, label)));
393
392
  };
394
393
 
395
394
  var TabContent = function (_a) {
@@ -397,23 +396,6 @@ var TabContent = function (_a) {
397
396
  return (React__default.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, { className: "arc-Tab-content", value: value }, children));
398
397
  };
399
398
 
400
- const BtIconArrowLeftFill = (props) =>
401
- /*#__PURE__*/ React__default.createElement(
402
- "svg",
403
- Object.assign(
404
- {
405
- xmlns: "http://www.w3.org/2000/svg",
406
- viewBox: "0 0 32 32",
407
- },
408
- props,
409
- ),
410
- /*#__PURE__*/ React__default.createElement("defs", null),
411
- /*#__PURE__*/ React__default.createElement("path", {
412
- d: "M30,16A14,14,0,1,0,16,30,14,14,0,0,0,30,16ZM13.14648,20.35352,8.793,16l4.35351-4.35352a.5.5,0,0,1,.707.707L10.707,15.5H22.5a.5.5,0,0,1,0,1H10.707l3.14649,3.14648a.5.5,0,0,1-.707.707Z",
413
- fill: "currentColor",
414
- }),
415
- );
416
-
417
399
  var TabsList = function (_a) {
418
400
  var children = _a.children, type = _a.type, isJustified = _a.isJustified, ariaLabel = _a.ariaLabel, props = __rest(_a, ["children", "type", "isJustified", "ariaLabel"]);
419
401
  var surface = useContext(Context).surface;
@@ -457,11 +439,11 @@ var TabsList = function (_a) {
457
439
  leftOverflow && (React__default.createElement("button", { className: classNames("arc-Tabs-overflowIcon arc-Tabs-overflowIcon--left", {
458
440
  "arc-Tabs-overflowIcon--onDarkSurface": surface === "dark"
459
441
  }), onClick: function () { return scrollTabs(-300); }, "aria-label": "Scroll Tabs Left", "data-testid": "arc-Tabs-overflowIconLeft" },
460
- React__default.createElement(Icon, { icon: BtIconArrowLeftFill, size: 40, color: "brand" }))),
442
+ React__default.createElement(ThemeIcon, { icon: "tabsPrevious", size: 40, color: "brand" }))),
461
443
  rightOverflow && (React__default.createElement("button", { className: classNames("arc-Tabs-overflowIcon", {
462
444
  "arc-Tabs-overflowIcon--onDarkSurface": surface === "dark"
463
445
  }), onClick: function () { return scrollTabs(300); }, "aria-label": "Scroll Tabs Right", "data-testid": "arc-Tabs-overflowIconRight" },
464
- React__default.createElement(Icon, { icon: BtIconArrowRightFill, size: 40, color: "brand" })))));
446
+ React__default.createElement(ThemeIcon, { icon: "tabsNext", size: 40, color: "brand" })))));
465
447
  };
466
448
 
467
449
  /** Use `Tabs` to allow users to navigate between different sections of relevant content. */
@@ -1,60 +1,20 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
- import React__default, { useContext, useState } from 'react';
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-288c66b5.js';
2
+ import React__default, { useState } from 'react';
3
3
  import { c as classNames } from './index-2e73c2e9.js';
4
- import { C as Context } from './Surface-0ca6817d.js';
5
- import { I as Icon } from './Icon-15799695.js';
6
-
7
- const BtIconCross = (props) =>
8
- /*#__PURE__*/ React__default.createElement(
9
- "svg",
10
- Object.assign(
11
- {
12
- xmlns: "http://www.w3.org/2000/svg",
13
- viewBox: "0 0 32 32",
14
- },
15
- props,
16
- ),
17
- /*#__PURE__*/ React__default.createElement("defs", null),
18
- /*#__PURE__*/ React__default.createElement("path", {
19
- d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,27A13,13,0,1,1,29,16,13.01474,13.01474,0,0,1,16,29Z",
20
- fill: "currentColor",
21
- }),
22
- /*#__PURE__*/ React__default.createElement("path", {
23
- d: "M20.85352,11.14648a.49983.49983,0,0,0-.707,0L16,15.293l-4.14648-4.14649a.5.5,0,0,0-.707.707L15.293,16l-4.14649,4.14648a.5.5,0,1,0,.707.707L16,16.707l4.14648,4.14649a.5.5,0,0,0,.707-.707L16.707,16l4.14649-4.14648A.49983.49983,0,0,0,20.85352,11.14648Z",
24
- fill: "currentColor",
25
- }),
26
- );
27
-
28
- const BtIconCrossFill = (props) =>
29
- /*#__PURE__*/ React__default.createElement(
30
- "svg",
31
- Object.assign(
32
- {
33
- xmlns: "http://www.w3.org/2000/svg",
34
- viewBox: "0 0 32 32",
35
- },
36
- props,
37
- ),
38
- /*#__PURE__*/ React__default.createElement("defs", null),
39
- /*#__PURE__*/ React__default.createElement("path", {
40
- d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm4.85352,18.14648a.5.5,0,1,1-.707.707L16,16.707l-4.14648,4.14649a.5.5,0,0,1-.707-.707L15.293,16l-4.14649-4.14648a.5.5,0,0,1,.707-.707L16,15.293l4.14648-4.14649a.5.5,0,0,1,.707.707L16.707,16Z",
41
- fill: "currentColor",
42
- }),
43
- );
4
+ import { I as Icon } from './Icon-512f834f.js';
5
+ import { T as ThemeIcon } from './ThemeIcon-c2dc41a6.js';
44
6
 
45
7
  /**
46
8
  * Use `Tag` to promote features and manage filtering.
47
9
  */
48
10
  var Tag = function (_a) {
49
11
  var children = _a.children, isRemovable = _a.isRemovable, link = _a.link, icon = _a.icon, onClick = _a.onClick, onRemove = _a.onRemove, title = _a.title, props = __rest(_a, ["children", "isRemovable", "link", "icon", "onClick", "onRemove", "title"]);
50
- var surface = useContext(Context).surface;
51
12
  var _b = useState(false), isRemoved = _b[0], setIsRemoved = _b[1];
52
13
  var onRemoveHandler = function () {
53
14
  setIsRemoved(function (p) { return !p; });
54
15
  onRemove && onRemove();
55
16
  };
56
17
  return (React__default.createElement("div", __assign({ className: classNames("arc-Tag", {
57
- "arc-Tag--onDarkSurface": surface === "dark",
58
18
  "arc-Tag--isRemovable": isRemovable,
59
19
  "arc-Tag--hasIcon": icon,
60
20
  "arc-Tag--hasLink": link || onClick,
@@ -71,8 +31,8 @@ var Tag = function (_a) {
71
31
  React__default.createElement(Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
72
32
  React__default.createElement("div", { className: "arc-Tag-label", title: title }, children))))),
73
33
  isRemovable && (React__default.createElement("button", { className: "arc-Tag-icon arc-Tag-icon--removable", onClick: onRemoveHandler, "data-testid": "arc-Tag-icon-removable", "aria-live": "polite", "aria-roledescription": "remove tag" },
74
- React__default.createElement(Icon, { icon: BtIconCross, color: "brand", size: 20 }),
75
- React__default.createElement(Icon, { icon: BtIconCrossFill, color: "brand", size: 20 })))));
34
+ React__default.createElement(ThemeIcon, { icon: "tagRemove", color: "brand", size: 20 }),
35
+ React__default.createElement(ThemeIcon, { icon: "tagRemoveInteractive", color: "brand", size: 20 })))));
76
36
  };
77
37
 
78
38
  export { Tag as T };
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-288c66b5.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { useContext } from 'react';
4
- import { s as suffixModifier } from './suffix-modifier-3d548e45.js';
5
- import { C as Context } from './Surface-0ca6817d.js';
4
+ import { s as suffixModifier } from './suffix-modifier-1ce05abe.js';
5
+ import { C as Context } from './Surface-71d21a9e.js';
6
6
 
7
7
  /**
8
8
  * Use `Text` to display text.
@@ -1,10 +1,10 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-288c66b5.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { forwardRef, useContext, useState } from 'react';
4
- import { u as useAriaDescribedby, F as FormControl } from './FormControl-8e836656.js';
5
- import { C as Context } from './Surface-0ca6817d.js';
4
+ import { u as useAriaDescribedby, F as FormControl } from './FormControl-d873f7fa.js';
5
+ import { C as Context } from './Surface-71d21a9e.js';
6
6
  import { V as VisuallyHidden } from './VisuallyHidden-06692fd3.js';
7
- import { I as Icon } from './Icon-15799695.js';
7
+ import { I as Icon } from './Icon-512f834f.js';
8
8
 
9
9
  /**
10
10
  * Infer the correct inputMode, pattern and type if specifying a `number` type.
@@ -0,0 +1,21 @@
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-288c66b5.js';
2
+ import { c as classNames } from './index-2e73c2e9.js';
3
+ import React__default, { useContext } from 'react';
4
+ import { s as suffixModifier } from './suffix-modifier-1ce05abe.js';
5
+ import { C as Context } from './Surface-71d21a9e.js';
6
+
7
+ var ThemeIcon = function (_a) {
8
+ var _b;
9
+ var size = _a.size, icon = _a.icon, _c = _a.color, color = _c === void 0 ? "auto" : _c, props = __rest(_a, ["size", "icon", "color"]);
10
+ var surface = useContext(Context).surface;
11
+ return (React__default.createElement("span", __assign({ style: {
12
+ height: size,
13
+ width: size
14
+ }, className: classNames("arc-ThemeIcon", "arc-ThemeIcon--".concat(icon), (_b = {
15
+ "arc-ThemeIcon--onDarkSurface": surface === "dark"
16
+ },
17
+ _b[suffixModifier("arc-ThemeIcon--color", color)] = color !== "auto",
18
+ _b)) }, filterDataAttrs(props))));
19
+ };
20
+
21
+ export { ThemeIcon as T };
@@ -1,17 +1,13 @@
1
- import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-288c66b5.js';
2
2
  import React__default, { forwardRef, useContext, useState, useEffect, createElement, useRef, createContext, useCallback, useMemo, Fragment } from 'react';
3
- import { _ as _extends } from './extends-8cc61aad.js';
4
- import $7SXl2$reactdom__default, { createPortal } from 'react-dom';
5
- import { b as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, e as $8927f6f2acc4f386$export$250ffa63cdc0d034, d as $e42e1063c40fb3ef$export$b9ecd428b558ff10, f as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, g as $8927f6f2acc4f386$export$6d1a0317bde7de7f, $ as $c512c27ab02ef895$export$50c7b4e9d9f19c1, h as $9f79659886946c16$export$e5c5a5f917a5871c, a as $71cd76cc60e0454e$export$6f32135080cb4c3 } from './index-7b531fa7.js';
6
- import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-044da8d0.js';
7
- import { $ as $addc16e1bbe58fd0$export$3a72a57244d6e765 } from './index-2cfab9f2.js';
8
- import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-ca72c9d5.js';
9
- import { $ as $ea1ef594cf570d83$export$439d29a4e110a164 } from './index-25a5b393.js';
3
+ import { b as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, e as $8927f6f2acc4f386$export$250ffa63cdc0d034, _ as _extends, d as $e42e1063c40fb3ef$export$b9ecd428b558ff10, f as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, g as $8927f6f2acc4f386$export$6d1a0317bde7de7f, $ as $c512c27ab02ef895$export$50c7b4e9d9f19c1, h as $9f79659886946c16$export$e5c5a5f917a5871c, a as $71cd76cc60e0454e$export$6f32135080cb4c3 } from './index-cace3545.js';
4
+ import ReactDOM__default, { createPortal } from 'react-dom';
5
+ import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-f97466e9.js';
6
+ import { $ as $addc16e1bbe58fd0$export$3a72a57244d6e765 } from './index-6028d797.js';
7
+ import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-fa93ec97.js';
8
+ import { $ as $ea1ef594cf570d83$export$439d29a4e110a164 } from './index-5113ed53.js';
10
9
  import { c as classNames } from './index-2e73c2e9.js';
11
- import { B as BtIconCrossAlt2Px } from './BtIconCrossAlt2Px.esm-7165ab1a.js';
12
- import { B as BtIconNotification, a as BtIconAlertTriangle, b as BtIconTick } from './BtIconTick.esm-e265098f.js';
13
- import { B as BtIconAlert } from './BtIconAlert.esm-a4608d47.js';
14
- import { I as Icon } from './Icon-15799695.js';
10
+ import { T as ThemeIcon } from './ThemeIcon-c2dc41a6.js';
15
11
 
16
12
  const $5cb92bef7577960e$var$CONTEXT_UPDATE = 'dismissableLayer.update';
17
13
  const $5cb92bef7577960e$var$POINTER_DOWN_OUTSIDE = 'dismissableLayer.pointerDownOutside';
@@ -265,7 +261,7 @@ const $5cb92bef7577960e$export$aecb2ddcb55c95be = $5cb92bef7577960e$export$4d5eb
265
261
  const $f1701beae083dbae$export$602eac185826482c = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
266
262
  var _globalThis$document;
267
263
  const { container: container = globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.body , ...portalProps } = props;
268
- return container ? /*#__PURE__*/ $7SXl2$reactdom__default.createPortal(/*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, portalProps, {
264
+ return container ? /*#__PURE__*/ ReactDOM__default.createPortal(/*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, portalProps, {
269
265
  ref: forwardedRef
270
266
  })), container) : null;
271
267
  });
@@ -930,10 +926,10 @@ const $054eb8030ebde76e$export$f39c2d165cd861fe = $054eb8030ebde76e$export$811e7
930
926
  var ToastNotification = function (_a) {
931
927
  var link = _a.link, title = _a.title, isOpen = _a.isOpen, onOpenChange = _a.onOpenChange, _b = _a.isStatusIconVisible, isStatusIconVisible = _b === void 0 ? true : _b, _c = _a.isCloseButtonVisible, isCloseButtonVisible = _c === void 0 ? true : _c, _d = _a.status, status = _d === void 0 ? "general" : _d, props = __rest(_a, ["link", "title", "isOpen", "onOpenChange", "isStatusIconVisible", "isCloseButtonVisible", "status"]);
932
928
  var statusIcons = {
933
- general: BtIconNotification,
934
- error: BtIconAlertTriangle,
935
- warning: BtIconAlert,
936
- success: BtIconTick
929
+ general: "toastGeneral",
930
+ error: "toastError",
931
+ warning: "toastWarning",
932
+ success: "toastSuccess"
937
933
  };
938
934
  var handleLinkClick = function (handler) { return function (event) {
939
935
  event.preventDefault();
@@ -942,13 +938,13 @@ var ToastNotification = function (_a) {
942
938
  return (React__default.createElement($054eb8030ebde76e$export$be92b6f5f03c0fe9, __assign({ className: "arc-Toast-root", open: isOpen, onOpenChange: onOpenChange }, filterDataAttrs(props)),
943
939
  React__default.createElement("div", { "data-testid": "toast-notification-wrapper", className: classNames("arc-Toast", "arc-Toast-status--".concat(status)) },
944
940
  isStatusIconVisible && (React__default.createElement("div", { "data-testid": "status-icon", className: "arc-Toast-icon" },
945
- React__default.createElement(Icon, { size: 24, icon: statusIcons[status] }))),
941
+ React__default.createElement(ThemeIcon, { size: 24, icon: statusIcons[status] }))),
946
942
  React__default.createElement($054eb8030ebde76e$export$f99233281efd08a0, { className: "arc-Toast-title" },
947
943
  React__default.createElement("span", null, title)),
948
944
  link && (React__default.createElement($054eb8030ebde76e$export$e19cd5f9376f8cee, { className: "arc-Toast-action", asChild: true, altText: link.text },
949
945
  React__default.createElement("a", __assign({ className: "arc-Toast-link", href: link.href, "aria-label": link.ariaLabel }, (link.onClick && { onClick: handleLinkClick(link.onClick) })), link.text))),
950
946
  isCloseButtonVisible && !link && (React__default.createElement($054eb8030ebde76e$export$f39c2d165cd861fe, { className: "arc-Toast-dismiss", "aria-label": "Close" },
951
- React__default.createElement(Icon, { icon: BtIconCrossAlt2Px, size: 24 }))))));
947
+ React__default.createElement(ThemeIcon, { icon: "toastDismiss", size: 24 }))))));
952
948
  };
953
949
 
954
950
  /** Use `Toast` to display temporary messages at the bottom of the screen. */