@arc-ui/components 12.0.0-beta.23 → 12.0.0-beta.24

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 (395) hide show
  1. package/lib/Alert/Alert.cjs +39 -39
  2. package/lib/Alert/Alert.mjs +40 -40
  3. package/lib/Alert/styles.css +1 -1
  4. package/lib/Align/Align.cjs +4 -3
  5. package/lib/Align/Align.mjs +2 -1
  6. package/lib/Align/styles.css +1 -1
  7. package/lib/AppButton/AppButton.cjs +5 -4
  8. package/lib/AppButton/AppButton.mjs +3 -2
  9. package/lib/AppButton/styles.css +1 -1
  10. package/lib/Avatar/Avatar.cjs +9 -7
  11. package/lib/Avatar/Avatar.mjs +9 -7
  12. package/lib/Avatar/styles.css +1 -1
  13. package/lib/AvatarGroup/AvatarGroup.cjs +14 -12
  14. package/lib/AvatarGroup/AvatarGroup.mjs +9 -7
  15. package/lib/AvatarGroup/styles.css +1 -1
  16. package/lib/Badge/Badge.cjs +3 -2
  17. package/lib/Badge/Badge.mjs +3 -2
  18. package/lib/Badge/styles.css +1 -1
  19. package/lib/Banner/Banner.cjs +14 -12
  20. package/lib/Banner/Banner.mjs +12 -10
  21. package/lib/Box/Box.cjs +4 -3
  22. package/lib/Box/Box.mjs +4 -3
  23. package/lib/Box/styles.css +1 -1
  24. package/lib/BrandLogo/BrandLogo.cjs +4 -3
  25. package/lib/BrandLogo/BrandLogo.mjs +4 -3
  26. package/lib/BrandLogo/styles.css +1 -1
  27. package/lib/Breadcrumbs/Breadcrumbs.cjs +7 -6
  28. package/lib/Breadcrumbs/Breadcrumbs.mjs +4 -3
  29. package/lib/Breadcrumbs/styles.css +1 -1
  30. package/lib/Button/Button.cjs +6 -5
  31. package/lib/Button/Button.mjs +6 -5
  32. package/lib/Button/styles.css +1 -1
  33. package/lib/ButtonGroup/ButtonGroup.cjs +11 -10
  34. package/lib/ButtonGroup/ButtonGroup.mjs +8 -7
  35. package/lib/ButtonGroup/styles.css +1 -1
  36. package/lib/ButtonV2/ButtonV2.cjs +6 -5
  37. package/lib/ButtonV2/ButtonV2.mjs +6 -5
  38. package/lib/ButtonV2/styles.css +1 -1
  39. package/lib/Calendar/Calendar.cjs +12 -10
  40. package/lib/Calendar/Calendar.mjs +12 -10
  41. package/lib/Calendar/styles.css +1 -1
  42. package/lib/CardFooter/CardFooter.cjs +5 -4
  43. package/lib/CardFooter/CardFooter.mjs +5 -4
  44. package/lib/CardFooter/styles.css +1 -1
  45. package/lib/CardHeading/CardHeading.cjs +6 -4
  46. package/lib/CardHeading/CardHeading.mjs +6 -4
  47. package/lib/CardHeading/styles.css +1 -1
  48. package/lib/Carousel/Carousel.cjs +7 -6
  49. package/lib/Carousel/Carousel.mjs +6 -5
  50. package/lib/Carousel/styles.css +1 -1
  51. package/lib/Checkbox/Checkbox.cjs +22 -55
  52. package/lib/Checkbox/Checkbox.mjs +23 -56
  53. package/lib/Checkbox/styles.css +1 -1
  54. package/lib/CheckboxIcon/CheckboxIcon.cjs +19 -0
  55. package/lib/CheckboxIcon/CheckboxIcon.mjs +13 -0
  56. package/lib/CheckboxIcon/styles.css +1 -0
  57. package/lib/ClientSideVisible/ClientSideVisible.cjs +8 -0
  58. package/lib/ClientSideVisible/ClientSideVisible.mjs +2 -0
  59. package/lib/Columns/Columns.cjs +7 -6
  60. package/lib/Columns/Columns.mjs +3 -2
  61. package/lib/Columns/styles.css +1 -1
  62. package/lib/ComboBox/ComboBox.cjs +30 -29
  63. package/lib/ComboBox/ComboBox.mjs +14 -13
  64. package/lib/ComboBox/styles.css +1 -1
  65. package/lib/ContentSwitcher/ContentSwitcher.cjs +5 -4
  66. package/lib/ContentSwitcher/ContentSwitcher.mjs +5 -4
  67. package/lib/ContentSwitcher/styles.css +1 -1
  68. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +10 -9
  69. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +10 -9
  70. package/lib/ContentSwitcherDropdown/styles.css +1 -1
  71. package/lib/DatePicker/DatePicker.cjs +31 -30
  72. package/lib/DatePicker/DatePicker.mjs +20 -19
  73. package/lib/DatePicker/styles.css +1 -1
  74. package/lib/Disclosure/Disclosure.cjs +8 -6
  75. package/lib/Disclosure/Disclosure.mjs +6 -4
  76. package/lib/Disclosure/styles.css +1 -1
  77. package/lib/DisclosureMini/DisclosureMini.cjs +6 -5
  78. package/lib/DisclosureMini/DisclosureMini.mjs +6 -5
  79. package/lib/DisclosureMini/styles.css +1 -1
  80. package/lib/Download/Download.cjs +7 -6
  81. package/lib/Download/Download.mjs +7 -6
  82. package/lib/Download/styles.css +1 -1
  83. package/lib/Drawer/Drawer.cjs +154 -18
  84. package/lib/Drawer/Drawer.mjs +154 -18
  85. package/lib/Drawer/styles.css +1 -1
  86. package/lib/Elevation/Elevation.cjs +9 -5
  87. package/lib/Elevation/Elevation.mjs +8 -4
  88. package/lib/Elevation/styles.css +1 -1
  89. package/lib/Filter/Filter.cjs +7 -6
  90. package/lib/Filter/Filter.mjs +4 -3
  91. package/lib/Filter/styles.css +1 -1
  92. package/lib/FormControl/FormControl.cjs +8 -7
  93. package/lib/FormControl/FormControl.mjs +8 -7
  94. package/lib/FormControl/styles.css +1 -1
  95. package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +12 -10
  96. package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +10 -8
  97. package/lib/GhostedHeroBanner/styles.css +1 -1
  98. package/lib/GradientPageBackground/GradientPageBackground.cjs +96 -209
  99. package/lib/GradientPageBackground/GradientPageBackground.mjs +97 -210
  100. package/lib/GradientPageBackground/styles.css +1 -1
  101. package/lib/Grid/Grid.cjs +3 -2
  102. package/lib/Grid/Grid.mjs +3 -2
  103. package/lib/Grid/styles.css +1 -1
  104. package/lib/Group/Group.cjs +7 -6
  105. package/lib/Group/Group.mjs +3 -2
  106. package/lib/Group/styles.css +1 -1
  107. package/lib/Heading/Heading.cjs +5 -3
  108. package/lib/Heading/Heading.mjs +5 -3
  109. package/lib/Heading/styles.css +1 -1
  110. package/lib/HeroBanner/HeroBanner.cjs +14 -12
  111. package/lib/HeroBanner/HeroBanner.mjs +14 -12
  112. package/lib/HeroBanner/styles.css +1 -1
  113. package/lib/HeroButton/HeroButton.cjs +9 -8
  114. package/lib/HeroButton/HeroButton.mjs +5 -4
  115. package/lib/HeroButton/styles.css +1 -1
  116. package/lib/Hidden/Hidden.cjs +3 -2
  117. package/lib/Hidden/Hidden.mjs +3 -2
  118. package/lib/Hidden/styles.css +1 -1
  119. package/lib/HorizontalCard/HorizontalCard.cjs +14 -12
  120. package/lib/HorizontalCard/HorizontalCard.mjs +11 -9
  121. package/lib/HorizontalCard/styles.css +1 -1
  122. package/lib/Icon/Icon.cjs +4 -3
  123. package/lib/Icon/Icon.mjs +4 -3
  124. package/lib/Icon/styles.css +1 -1
  125. package/lib/Image/Image.cjs +3 -2
  126. package/lib/Image/Image.mjs +3 -2
  127. package/lib/Image/styles.css +1 -1
  128. package/lib/ImpactCard/ImpactCard.cjs +13 -11
  129. package/lib/ImpactCard/ImpactCard.mjs +10 -8
  130. package/lib/ImpactCard/styles.css +1 -1
  131. package/lib/InformationCard/InformationCard.cjs +29 -19
  132. package/lib/InformationCard/InformationCard.mjs +23 -13
  133. package/lib/InformationCard/styles.css +1 -1
  134. package/lib/Link/Link.cjs +6 -5
  135. package/lib/Link/Link.mjs +6 -5
  136. package/lib/Link/styles.css +1 -1
  137. package/lib/Markup/Markup.cjs +5 -4
  138. package/lib/Markup/Markup.mjs +3 -2
  139. package/lib/Markup/styles.css +1 -1
  140. package/lib/MediaCard/MediaCard.cjs +15 -13
  141. package/lib/MediaCard/MediaCard.mjs +11 -9
  142. package/lib/MediaCard/styles.css +1 -1
  143. package/lib/Menu/Menu.cjs +221 -83
  144. package/lib/Menu/Menu.mjs +206 -68
  145. package/lib/Menu/styles.css +1 -1
  146. package/lib/Modal/Modal.cjs +22 -20
  147. package/lib/Modal/Modal.mjs +18 -16
  148. package/lib/Modal/styles.css +1 -1
  149. package/lib/NavigationHeader/NavigationHeader.cjs +123 -105
  150. package/lib/NavigationHeader/NavigationHeader.mjs +107 -89
  151. package/lib/NavigationHeader/styles.css +1 -1
  152. package/lib/Pagination/Pagination.cjs +10 -9
  153. package/lib/Pagination/Pagination.mjs +6 -5
  154. package/lib/Pagination/styles.css +1 -1
  155. package/lib/PaginationSimple/PaginationSimple.cjs +7 -6
  156. package/lib/PaginationSimple/PaginationSimple.mjs +5 -4
  157. package/lib/PaginationSimple/styles.css +1 -1
  158. package/lib/Popover/Popover.cjs +8 -7
  159. package/lib/Popover/Popover.mjs +8 -7
  160. package/lib/Popover/styles.css +1 -1
  161. package/lib/Poster/Poster.cjs +10 -9
  162. package/lib/Poster/Poster.mjs +4 -3
  163. package/lib/Poster/styles.css +1 -1
  164. package/lib/ProgressBar/ProgressBar.cjs +15 -13
  165. package/lib/ProgressBar/ProgressBar.mjs +10 -8
  166. package/lib/ProgressBar/styles.css +1 -1
  167. package/lib/ProgressStepper/ProgressStepper.cjs +6 -6
  168. package/lib/ProgressStepper/ProgressStepper.mjs +6 -6
  169. package/lib/ProgressStepper/styles.css +1 -1
  170. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +8 -8
  171. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +6 -6
  172. package/lib/ProgressStepperOverflow/styles.css +1 -1
  173. package/lib/RadioCardGroup/RadioCardGroup.cjs +13 -12
  174. package/lib/RadioCardGroup/RadioCardGroup.mjs +9 -8
  175. package/lib/RadioCardGroup/styles.css +1 -1
  176. package/lib/RadioGroup/RadioGroup.cjs +14 -12
  177. package/lib/RadioGroup/RadioGroup.mjs +12 -10
  178. package/lib/RadioGroup/styles.css +1 -1
  179. package/lib/Rule/Rule.cjs +4 -3
  180. package/lib/Rule/Rule.mjs +4 -3
  181. package/lib/Rule/styles.css +1 -1
  182. package/lib/ScrollToTop/ScrollToTop.cjs +11 -18
  183. package/lib/ScrollToTop/ScrollToTop.mjs +11 -18
  184. package/lib/ScrollToTop/styles.css +1 -1
  185. package/lib/Section/Section.cjs +3 -2
  186. package/lib/Section/Section.mjs +3 -2
  187. package/lib/Section/styles.css +1 -1
  188. package/lib/Select/Select.cjs +25 -17
  189. package/lib/Select/Select.mjs +25 -17
  190. package/lib/Select/styles.css +1 -1
  191. package/lib/SemanticHeading/SemanticHeading.cjs +10 -0
  192. package/lib/SemanticHeading/SemanticHeading.mjs +4 -0
  193. package/lib/SemanticHeading/styles.css +1 -0
  194. package/lib/SiteFooter/SiteFooter.cjs +13 -12
  195. package/lib/SiteFooter/SiteFooter.mjs +7 -6
  196. package/lib/SiteFooter/styles.css +1 -1
  197. package/lib/SiteFooterV2/SiteFooterV2.cjs +23 -22
  198. package/lib/SiteFooterV2/SiteFooterV2.mjs +10 -9
  199. package/lib/SiteFooterV2/styles.css +1 -1
  200. package/lib/SiteHeaderV2/SiteHeaderV2.cjs +30 -29
  201. package/lib/SiteHeaderV2/SiteHeaderV2.mjs +10 -9
  202. package/lib/SiteHeaderV2/styles.css +1 -1
  203. package/lib/Skeleton/Skeleton.cjs +4 -3
  204. package/lib/Skeleton/Skeleton.mjs +2 -1
  205. package/lib/Skeleton/styles.css +1 -1
  206. package/lib/SkipLink/SkipLink.cjs +5 -4
  207. package/lib/SkipLink/SkipLink.mjs +4 -3
  208. package/lib/SkipLink/styles.css +1 -1
  209. package/lib/Spinner/Spinner.cjs +3 -2
  210. package/lib/Spinner/Spinner.mjs +3 -2
  211. package/lib/Spinner/styles.css +1 -1
  212. package/lib/Surface/Surface.cjs +3 -2
  213. package/lib/Surface/Surface.mjs +3 -2
  214. package/lib/Surface/styles.css +1 -1
  215. package/lib/Switch/Switch.cjs +14 -13
  216. package/lib/Switch/Switch.mjs +12 -11
  217. package/lib/Switch/styles.css +1 -1
  218. package/lib/TabbedBanner/TabbedBanner.cjs +26 -24
  219. package/lib/TabbedBanner/TabbedBanner.mjs +22 -20
  220. package/lib/TabbedBanner/styles.css +1 -1
  221. package/lib/Tabs/Tabs.cjs +12 -11
  222. package/lib/Tabs/Tabs.mjs +5 -4
  223. package/lib/Tabs/styles.css +1 -1
  224. package/lib/Tag/Tag.cjs +9 -6
  225. package/lib/Tag/Tag.mjs +8 -5
  226. package/lib/Tag/styles.css +1 -1
  227. package/lib/TemplateBanner/TemplateBanner.cjs +12 -10
  228. package/lib/TemplateBanner/TemplateBanner.mjs +12 -10
  229. package/lib/TemplateBanner/styles.css +1 -1
  230. package/lib/Text/Text.cjs +4 -3
  231. package/lib/Text/Text.mjs +4 -3
  232. package/lib/Text/styles.css +1 -1
  233. package/lib/TextArea/TextArea.cjs +11 -10
  234. package/lib/TextArea/TextArea.mjs +9 -8
  235. package/lib/TextArea/styles.css +1 -1
  236. package/lib/TextInput/TextInput.cjs +10 -9
  237. package/lib/TextInput/TextInput.mjs +10 -9
  238. package/lib/TextInput/styles.css +1 -1
  239. package/lib/Theme/Theme.cjs +5 -4
  240. package/lib/Theme/Theme.mjs +3 -2
  241. package/lib/Theme/styles.css +1 -1
  242. package/lib/ThemeIcon/ThemeIcon.cjs +4 -3
  243. package/lib/ThemeIcon/ThemeIcon.mjs +4 -3
  244. package/lib/ThemeIcon/styles.css +1 -1
  245. package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +12 -11
  246. package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +8 -7
  247. package/lib/ThumbnailSignpost/styles.css +1 -1
  248. package/lib/Toast/Toast.cjs +12 -9
  249. package/lib/Toast/Toast.mjs +9 -6
  250. package/lib/Toast/styles.css +1 -1
  251. package/lib/Tooltip/Tooltip.cjs +6 -5
  252. package/lib/Tooltip/Tooltip.mjs +6 -5
  253. package/lib/Tooltip/styles.css +1 -1
  254. package/lib/Truncate/Truncate.cjs +4 -3
  255. package/lib/Truncate/Truncate.mjs +2 -1
  256. package/lib/Truncate/styles.css +1 -1
  257. package/lib/TypographyCard/TypographyCard.cjs +11 -9
  258. package/lib/TypographyCard/TypographyCard.mjs +9 -7
  259. package/lib/TypographyCard/styles.css +1 -1
  260. package/lib/UniversalHeader/UniversalHeader.cjs +7 -6
  261. package/lib/UniversalHeader/UniversalHeader.mjs +3 -2
  262. package/lib/UniversalHeader/styles.css +1 -1
  263. package/lib/VerticalSpace/VerticalSpace.cjs +3 -2
  264. package/lib/VerticalSpace/VerticalSpace.mjs +3 -2
  265. package/lib/VerticalSpace/styles.css +1 -1
  266. package/lib/VideoPlayer/VideoPlayer.cjs +27 -26
  267. package/lib/VideoPlayer/VideoPlayer.mjs +26 -25
  268. package/lib/VideoPlayer/styles.css +1 -1
  269. package/lib/Visible/Visible.cjs +3 -2
  270. package/lib/Visible/Visible.mjs +3 -2
  271. package/lib/Visible/styles.css +1 -1
  272. package/lib/VisuallyHidden/VisuallyHidden.cjs +3 -2
  273. package/lib/VisuallyHidden/VisuallyHidden.mjs +3 -2
  274. package/lib/VisuallyHidden/styles.css +1 -1
  275. package/lib/_shared/cjs/{Avatar-CrUioj_6.cjs → Avatar-CecZTQdk.cjs} +11 -10
  276. package/lib/_shared/cjs/Badge-DX5PjtiZ.cjs +15 -0
  277. package/lib/_shared/cjs/BannerImage-qK8-w9rt.cjs +13 -0
  278. package/lib/_shared/cjs/{Box-COPXU1Jf.cjs → Box-Va2g7Gdp.cjs} +5 -4
  279. package/lib/_shared/cjs/{BrandLogo-D5wlIFmm.cjs → BrandLogo-coNfTwRv.cjs} +5 -4
  280. package/lib/_shared/cjs/{Button-uD9mR8w-.cjs → Button-MXE2zSmS.cjs} +9 -8
  281. package/lib/_shared/cjs/ButtonV2-BJlwsXlN.cjs +58 -0
  282. package/lib/_shared/cjs/{Calendar-Bfdgf5q1.cjs → Calendar-CFUNKEyb.cjs} +35 -41
  283. package/lib/_shared/cjs/{CardFooter-ChphRFHe.cjs → CardFooter-BPtRFaCy.cjs} +5 -16
  284. package/lib/_shared/cjs/{CardHeading-Cl0D1Khp.cjs → CardHeading-1-dcxBUr.cjs} +4 -3
  285. package/lib/_shared/cjs/CheckboxIcon-B94mtYCX.cjs +52 -0
  286. package/lib/_shared/cjs/ClientSideVisible-BhW-T6kb.cjs +16 -0
  287. package/lib/_shared/cjs/{Combination-B-rSVLfT.cjs → Combination-6m6aOXZq.cjs} +9 -9
  288. package/lib/_shared/cjs/{ContentSwitcherDropdown-U5ZTbJTe.cjs → ContentSwitcherDropdown-BtEnzdMw.cjs} +23 -12
  289. package/lib/_shared/cjs/{ContentSwitcherList-pcYtuT6L.cjs → ContentSwitcherList-BgAW2IhJ.cjs} +14 -10
  290. package/lib/_shared/cjs/{DisclosureMini-CtvDxVaG.cjs → DisclosureMini-KEuIc8tE.cjs} +7 -6
  291. package/lib/_shared/cjs/{Download-CrIytI74.cjs → Download-NY3tbv9Q.cjs} +8 -5
  292. package/lib/_shared/cjs/{FormControl-BPnKQrCm.cjs → FormControl-DiERJpGW.cjs} +16 -13
  293. package/lib/_shared/cjs/GridRow-l_SePUqV.cjs +45 -0
  294. package/lib/_shared/cjs/{Heading-BEMSkLYR.cjs → Heading-CoiZ2EmD.cjs} +7 -8
  295. package/lib/_shared/cjs/{Hidden-Vsv1-xWO.cjs → Hidden-BN0Q0NpZ.cjs} +4 -3
  296. package/lib/_shared/cjs/{Icon-CzhyKqMd.cjs → Icon-Dk2XHa7V.cjs} +5 -4
  297. package/lib/_shared/cjs/{Image-C1pcrfnN.cjs → Image-CSe0KpDN.cjs} +8 -7
  298. package/lib/_shared/cjs/{Link-C3OSQIIk.cjs → Link-PWpx-rRO.cjs} +10 -9
  299. package/lib/_shared/cjs/{Popover-C5mmMkYU.cjs → Popover-hpvmhKV8.cjs} +9 -7
  300. package/lib/_shared/cjs/{ProgressStepper-BL9Y5c4X.cjs → ProgressStepper-DTZQabiV.cjs} +142 -10
  301. package/lib/_shared/cjs/{Rule-DMQsi2L6.cjs → Rule-jmvOpci7.cjs} +4 -3
  302. package/lib/_shared/cjs/{Section-Bz2fwj8Z.cjs → Section-BorWFfNe.cjs} +4 -3
  303. package/lib/_shared/cjs/SemanticHeading-BPXN_z49.cjs +12 -0
  304. package/lib/_shared/cjs/Spinner-427lpnHI.cjs +17 -0
  305. package/lib/_shared/cjs/{Surface-BFx1yNsq.cjs → Surface-DIU5ciDT.cjs} +6 -5
  306. package/lib/_shared/cjs/{TemplateBanner-COymAI91.cjs → TemplateBanner-BlmWfDQD.cjs} +15 -14
  307. package/lib/_shared/cjs/{Text-Cr5nmYmx.cjs → Text-jwsn80lQ.cjs} +5 -4
  308. package/lib/_shared/cjs/{TextInput-ByySubi5.cjs → TextInput-B0JrZhOo.cjs} +13 -12
  309. package/lib/_shared/cjs/{ThemeIcon-BoxbjTaQ.cjs → ThemeIcon-Def4RZfK.cjs} +5 -4
  310. package/lib/_shared/cjs/{Tooltip-BPHL0ELI.cjs → Tooltip-CEb7YEP2.cjs} +10 -9
  311. package/lib/_shared/cjs/{VerticalSpace-BJvST6WP.cjs → VerticalSpace-DLQUYsvc.cjs} +5 -3
  312. package/lib/_shared/cjs/{Visible-vchtZSfm.cjs → Visible-DZWtZ5qG.cjs} +4 -3
  313. package/lib/_shared/cjs/VisuallyHidden-CQg3cOVK.cjs +15 -0
  314. package/lib/_shared/cjs/{arc-breakpoints-CS8JVk5T.cjs → arc-breakpoints-BDA1EnFK.cjs} +11 -1
  315. package/lib/_shared/cjs/filter-attrs-D19P2s1V.cjs +15 -0
  316. package/lib/_shared/cjs/{index-Dv1xvB_E.cjs → index-BGGFOAAx.cjs} +1 -1
  317. package/lib/_shared/cjs/{index-CaO6cOF0.cjs → index-BWfgSvRQ.cjs} +3 -3
  318. package/lib/_shared/cjs/{index-C_Rl7v2g.cjs → index-CDVpHNP8.cjs} +3 -3
  319. package/lib/_shared/cjs/{index-EFXw1jWg.cjs → index-CklPiHsS.cjs} +1 -1
  320. package/lib/_shared/cjs/{index-DAr_oO4-.cjs → index-D9onmVh5.cjs} +2 -2
  321. package/lib/_shared/cjs/{index-Bt7hfZBc.cjs → index-KrMgv4q_.cjs} +1 -1
  322. package/lib/_shared/cjs/{index.es-fkulh7qu.cjs → index.es-VcVPUNjD.cjs} +1 -1
  323. package/lib/_shared/cjs/{filter-attrs-eK6E_34o.cjs → tslib.es6-CCZ3TN_7.cjs} +0 -13
  324. package/lib/_shared/cjs/use-media-query-DqZqShGX.cjs +58 -0
  325. package/lib/_shared/esm/{Avatar-Fb1E5MA9.mjs → Avatar-Cyqjgj85.mjs} +6 -5
  326. package/lib/_shared/esm/{Badge-BZ7E0zcQ.mjs → Badge-C_3PBa0p.mjs} +2 -1
  327. package/lib/_shared/esm/{BannerImage-BTsixvUH.mjs → BannerImage-CgjgaYkJ.mjs} +2 -2
  328. package/lib/_shared/esm/{Box-BYm_GTct.mjs → Box-C8iK8x5c.mjs} +3 -2
  329. package/lib/_shared/esm/{BrandLogo-_2Z_8I2Y.mjs → BrandLogo-Dc-d_8ZN.mjs} +3 -2
  330. package/lib/_shared/esm/{Button-BxuM3_gz.mjs → Button-BpQQut8P.mjs} +5 -4
  331. package/lib/_shared/esm/{ButtonV2-DwYBAojW.mjs → ButtonV2-C4a_kkhh.mjs} +16 -13
  332. package/lib/_shared/esm/{Calendar-Drh_NJ9I.mjs → Calendar-CFdUlPXh.mjs} +14 -20
  333. package/lib/_shared/esm/{CardFooter-fsAY4cc6.mjs → CardFooter-BpVSztgE.mjs} +5 -16
  334. package/lib/_shared/esm/{CardHeading-_setRRjq.mjs → CardHeading-q6k7obu0.mjs} +4 -3
  335. package/lib/_shared/esm/CheckboxIcon-Bzto2Tke.mjs +50 -0
  336. package/lib/_shared/esm/ClientSideVisible-D_iBE-3U.mjs +14 -0
  337. package/lib/_shared/esm/{Combination-BpO6XTeS.mjs → Combination-BQ4XBtF-.mjs} +1 -1
  338. package/lib/_shared/esm/{ContentSwitcherDropdown-BCkuAfwC.mjs → ContentSwitcherDropdown-DgrN4Bdb.mjs} +21 -10
  339. package/lib/_shared/esm/{ContentSwitcherList-DwHfU3no.mjs → ContentSwitcherList-i4m4nAzP.mjs} +8 -4
  340. package/lib/_shared/esm/{DisclosureMini-B9LzsQC2.mjs → DisclosureMini-ClSe9sSt.mjs} +5 -4
  341. package/lib/_shared/esm/{Download-DFz_1HCG.mjs → Download-BD8Bigeq.mjs} +8 -5
  342. package/lib/_shared/esm/{FormControl-CWyrVi1u.mjs → FormControl-Pc1aHUNM.mjs} +13 -10
  343. package/lib/_shared/esm/{GridRow-Ddt5CtFn.mjs → GridRow-vjacXnq0.mjs} +3 -2
  344. package/lib/_shared/esm/{Heading-CxHWefi7.mjs → Heading-B9cbwfoz.mjs} +7 -8
  345. package/lib/_shared/esm/{Hidden-DsrAaC0z.mjs → Hidden-CGRhG3dU.mjs} +2 -1
  346. package/lib/_shared/esm/{Icon-CcPOJcQm.mjs → Icon-CCUbr_AO.mjs} +3 -2
  347. package/lib/_shared/esm/{Image-Dl8oH1Rn.mjs → Image-LemsonUX.mjs} +4 -3
  348. package/lib/_shared/esm/{Link-DxjGH_7f.mjs → Link-ogbR4K3O.mjs} +5 -4
  349. package/lib/_shared/esm/{Popover-8FfvgL4c.mjs → Popover-D0ePWPz_.mjs} +8 -6
  350. package/lib/_shared/esm/{ProgressStepper-CLBtBNy2.mjs → ProgressStepper-CujHLQsm.mjs} +137 -5
  351. package/lib/_shared/esm/{Rule-3gdMHH-R.mjs → Rule-I1w3EaZi.mjs} +3 -2
  352. package/lib/_shared/esm/{Section-7InCvzfh.mjs → Section-COc1l3mp.mjs} +2 -1
  353. package/lib/_shared/esm/SemanticHeading-1tLcSJYD.mjs +10 -0
  354. package/lib/_shared/esm/{Spinner-Cd7LiPTy.mjs → Spinner-DvngCIwx.mjs} +2 -1
  355. package/lib/_shared/esm/{Surface-Colbp3Zx.mjs → Surface-C69KVzkY.mjs} +2 -1
  356. package/lib/_shared/esm/{TemplateBanner-Dkgzu3A5.mjs → TemplateBanner-DEYOSosH.mjs} +12 -11
  357. package/lib/_shared/esm/{Text-CBlnm5CT.mjs → Text-BAzOkkzN.mjs} +3 -2
  358. package/lib/_shared/esm/{TextInput-Dk7qNGoh.mjs → TextInput-CjDG2cIX.mjs} +8 -7
  359. package/lib/_shared/esm/{ThemeIcon-CN_Ed5b1.mjs → ThemeIcon-B0SruPZC.mjs} +3 -2
  360. package/lib/_shared/esm/{Tooltip-Dc82Ht7G.mjs → Tooltip-BpSzN3Tx.mjs} +7 -6
  361. package/lib/_shared/esm/{VerticalSpace-Duhm0zXP.mjs → VerticalSpace-BLWB02I7.mjs} +4 -2
  362. package/lib/_shared/esm/{Visible-B13QJn7R.mjs → Visible-B0d79VWZ.mjs} +2 -1
  363. package/lib/_shared/esm/{VisuallyHidden-DqAgoqJo.mjs → VisuallyHidden-aSQ4RA1o.mjs} +2 -1
  364. package/lib/_shared/esm/{arc-breakpoints-D7Ie4kBt.mjs → arc-breakpoints-Bs-at7wk.mjs} +7 -2
  365. package/lib/_shared/esm/filter-attrs-v_SweZXP.mjs +13 -0
  366. package/lib/_shared/esm/{index-DLovItWo.mjs → index-BFKdmv_g.mjs} +1 -1
  367. package/lib/_shared/esm/{index-J5IHetgg.mjs → index-CN4hP3Wu.mjs} +2 -2
  368. package/lib/_shared/esm/{index-CxrL7jIX.mjs → index-Do2wfP-X.mjs} +3 -3
  369. package/lib/_shared/esm/{index-DXTwueLZ.mjs → index-GCEHSsY8.mjs} +1 -1
  370. package/lib/_shared/esm/{index-BbAu4d3T.mjs → index-u47CK8Y0.mjs} +1 -1
  371. package/lib/_shared/esm/{index-CYUcQl4W.mjs → index-vnVJe9rH.mjs} +3 -3
  372. package/lib/_shared/esm/{index.es-CtRkzfKP.mjs → index.es-tyrXzvpp.mjs} +1 -1
  373. package/lib/_shared/esm/{filter-attrs-B6CM-NUr.mjs → tslib.es6-w7hdJ3oZ.mjs} +1 -13
  374. package/lib/_shared/esm/use-media-query-BmsMeo2M.mjs +56 -0
  375. package/lib/index.cjs +1018 -790
  376. package/lib/index.cjs.map +1 -1
  377. package/lib/index.d.cts +324 -142
  378. package/lib/index.d.mts +324 -142
  379. package/lib/index.js.map +1 -1
  380. package/lib/index.mjs +1018 -792
  381. package/lib/index.mjs.map +1 -1
  382. package/lib/styles.css +6 -14
  383. package/lib/use-media-query/use-media-query.cjs +1 -1
  384. package/lib/use-media-query/use-media-query.mjs +1 -1
  385. package/package.json +9 -8
  386. package/lib/_shared/cjs/Badge-CQVEPH9v.cjs +0 -14
  387. package/lib/_shared/cjs/BannerImage-kdAKagG-.cjs +0 -13
  388. package/lib/_shared/cjs/ButtonV2-Bta5SVVY.cjs +0 -55
  389. package/lib/_shared/cjs/GridRow-BW2ZGtND.cjs +0 -44
  390. package/lib/_shared/cjs/Spinner-bbrOwxv2.cjs +0 -16
  391. package/lib/_shared/cjs/VisuallyHidden-B4XCvPYP.cjs +0 -14
  392. package/lib/_shared/cjs/index-CqYNiqix.cjs +0 -137
  393. package/lib/_shared/cjs/use-media-query-BsUfHjPZ.cjs +0 -41
  394. package/lib/_shared/esm/index-CL6dwOYV.mjs +0 -135
  395. package/lib/_shared/esm/use-media-query-DmKuIDEM.mjs +0 -39
@@ -1,20 +1,24 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
2
- import React__default, { useState, isValidElement } from 'react';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
+ import React__default, { useState, useEffect, isValidElement } from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
- import { R as Root2, T as Trigger, V as Value, I as Icon, P as Portal, C as Content2, S as ScrollUpButton, a as Viewport, b as Item, c as ItemText, d as ItemIndicator, e as ScrollDownButton } from './index-CYUcQl4W.mjs';
5
- import { T as ThemeIcon } from './ThemeIcon-CN_Ed5b1.mjs';
4
+ import { R as Root2, T as Trigger, V as Value, I as Icon, P as Portal, C as Content2, S as ScrollUpButton, a as Viewport, b as Item, c as ItemText, d as ItemIndicator, e as ScrollDownButton } from './index-vnVJe9rH.mjs';
5
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
6
+ import { T as ThemeIcon } from './ThemeIcon-B0SruPZC.mjs';
6
7
  import { e as useThemeElement } from './index-Bz2JQq34.mjs';
7
- import { V as VisuallyHidden } from './VisuallyHidden-DqAgoqJo.mjs';
8
+ import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
8
9
 
9
10
  // src/get-text-width/get-text-width.ts
10
11
  var getTextWidth = (text, font) => {
12
+ if (typeof document === "undefined") {
13
+ return 236;
14
+ }
11
15
  const canvas = document.createElement("canvas");
12
16
  const context = canvas.getContext("2d");
13
17
  if (context) {
14
18
  context.font = getComputedStyle(document.body).font;
15
19
  return context.measureText(text).width;
16
20
  }
17
- return 0;
21
+ return 236;
18
22
  };
19
23
 
20
24
  var ContentSwitcherDropdown = function (_a) {
@@ -22,15 +26,22 @@ var ContentSwitcherDropdown = function (_a) {
22
26
  var initialValue = defaultValue || tabs[0].value;
23
27
  var _d = useThemeElement(), themeElement = _d[0], setThemeElement = _d[1];
24
28
  var _e = useState(initialValue), uncontrolledValue = _e[0], setUncontrolledValue = _e[1];
29
+ var _f = useState(236), longestLabelWidth = _f[0], setLongestLabelWidth = _f[1];
30
+ // compute longest width client side
31
+ useEffect(function () {
32
+ if (tabs.length === 0)
33
+ return;
34
+ var longestLabel = tabs.reduce(function (longest, current) {
35
+ return current.label.length > longest.length ? current.label : longest;
36
+ }, "");
37
+ setLongestLabelWidth(getTextWidth(longestLabel));
38
+ }, [tabs]);
25
39
  var isControlled = typeof value !== "undefined";
26
40
  var selectValue = isControlled ? value : uncontrolledValue;
27
41
  var onValueChangeHandler = function (value) {
28
42
  onValueChange && onValueChange(value);
29
43
  setUncontrolledValue(value);
30
44
  };
31
- var LongestLabelWidth = getTextWidth(tabs.reduce(function (longest, current) {
32
- return current.label.length > longest.length ? current.label : longest;
33
- }, ""));
34
45
  return (React__default.createElement(React__default.Fragment, null,
35
46
  React__default.createElement(Root2, { defaultValue: defaultValue, onValueChange: onValueChangeHandler, value: selectValue },
36
47
  React__default.createElement("span", __assign({ className: classNames("arc-ContentSwitcherDropdown-selectTriggerWrapper", {
@@ -38,7 +49,7 @@ var ContentSwitcherDropdown = function (_a) {
38
49
  "arc-ContentSwitcherDropdown-selectTriggerWrapper--isFluid": isFluid,
39
50
  }), ref: setThemeElement }, (!isFluid && {
40
51
  style: {
41
- width: width ? width : LongestLabelWidth + 84,
52
+ width: width ? width : longestLabelWidth + 84,
42
53
  },
43
54
  }), filterAttrs(props)),
44
55
  React__default.createElement(Trigger, { className: "arc-ContentSwitcherDropdown-selectTrigger", "aria-label": ariaLabel },
@@ -1,7 +1,8 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default, { forwardRef, useState, useRef, useEffect } from 'react';
3
3
  import { $ as $69cb30bb0017df05$export$be92b6f5f03c0fe9, a as $69cb30bb0017df05$export$41fb9f06171c75f4, b as $69cb30bb0017df05$export$7c6e2c02157bb7d2, c as $69cb30bb0017df05$export$54c2e3dc7acea9f5 } from './index-BWkI4Dwz.mjs';
4
- import { T as Text } from './Text-CBlnm5CT.mjs';
4
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
5
+ import { T as Text } from './Text-BAzOkkzN.mjs';
5
6
  import { d as debounce } from './debounce-D_Nx5go6.mjs';
6
7
  import { c as classNames } from './index-5C0-U8cc.mjs';
7
8
 
@@ -13,8 +14,8 @@ var ContentSwitcher = function (_a) {
13
14
  };
14
15
 
15
16
  var ContentSwitcherTab = forwardRef(function (_a, ref) {
16
- var label = _a.label, value = _a.value, onClick = _a.onClick, props = __rest(_a, ["label", "value", "onClick"]);
17
- return (React__default.createElement($69cb30bb0017df05$export$41fb9f06171c75f4, __assign({ className: "arc-ContentSwitcherTab", value: value, ref: ref, onClick: onClick }, filterAttrs(props)),
17
+ var label = _a.label, value = _a.value, onClick = _a.onClick, onFocus = _a.onFocus, props = __rest(_a, ["label", "value", "onClick", "onFocus"]);
18
+ return (React__default.createElement($69cb30bb0017df05$export$41fb9f06171c75f4, __assign({ className: "arc-ContentSwitcherTab", value: value, ref: ref, onClick: onClick, onFocus: onFocus }, filterAttrs(props)),
18
19
  React__default.createElement(Text, { size: "m" }, label)));
19
20
  });
20
21
 
@@ -88,6 +89,9 @@ var ContentSwitcherList = function (_a) {
88
89
  onClick: function () {
89
90
  return scrollTabIntoView({ current: tabRefs.current[index] });
90
91
  },
92
+ onFocus: function () {
93
+ return scrollTabIntoView({ current: tabRefs.current[index] });
94
+ },
91
95
  });
92
96
  }
93
97
  else {
@@ -1,9 +1,10 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default, { useContext, useState } from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
- import { T as Text } from './Text-CBlnm5CT.mjs';
5
- import { C as Context } from './Surface-Colbp3Zx.mjs';
6
- import { T as ThemeIcon } from './ThemeIcon-CN_Ed5b1.mjs';
4
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
5
+ import { T as Text } from './Text-BAzOkkzN.mjs';
6
+ import { C as Context } from './Surface-C69KVzkY.mjs';
7
+ import { T as ThemeIcon } from './ThemeIcon-B0SruPZC.mjs';
7
8
 
8
9
  /**
9
10
  * Use `DisclosureMini` to show and hide sections of content.
@@ -1,12 +1,14 @@
1
- import { a as __assign } from './filter-attrs-B6CM-NUr.mjs';
2
- import React__default from 'react';
1
+ import { a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
+ import React__default, { useContext } from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
- import { T as Text } from './Text-CBlnm5CT.mjs';
5
- import { T as ThemeIcon } from './ThemeIcon-CN_Ed5b1.mjs';
6
- import { V as VerticalSpace } from './VerticalSpace-Duhm0zXP.mjs';
4
+ import { T as Text } from './Text-BAzOkkzN.mjs';
5
+ import { T as ThemeIcon } from './ThemeIcon-B0SruPZC.mjs';
6
+ import { V as VerticalSpace } from './VerticalSpace-BLWB02I7.mjs';
7
+ import { C as Context } from './Surface-C69KVzkY.mjs';
7
8
 
8
9
  var Download = function (_a) {
9
10
  var name = _a.name, onClick = _a.onClick, description = _a.description, href = _a.href, type = _a.type, size = _a.size, _b = _a.icon, icon = _b === void 0 ? "downloadFile" : _b, _c = _a.isCompact, isCompact = _c === void 0 ? false : _c, _d = _a.isFullWidth, isFullWidth = _d === void 0 ? true : _d;
11
+ var surface = useContext(Context).surface;
10
12
  var linkProps = href
11
13
  ? {
12
14
  href: href,
@@ -20,6 +22,7 @@ var Download = function (_a) {
20
22
  return (React__default.createElement("a", __assign({}, linkProps, { className: classNames("arc-Download", {
21
23
  "arc-Download--maxContent": !isFullWidth,
22
24
  "arc-Download--compact": isCompact,
25
+ "arc-Download--onDarkSurface": surface === "dark",
23
26
  }), "aria-label": name, onClick: onClick }),
24
27
  React__default.createElement("div", { className: "arc-Download-iconContainer" },
25
28
  React__default.createElement(ThemeIcon, { size: isCompact ? 40 : 64, icon: icon })),
@@ -1,10 +1,11 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default, { createContext, useContext } from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
- import { C as Context$1 } from './Surface-Colbp3Zx.mjs';
5
- import { D as DisclosureMini } from './DisclosureMini-B9LzsQC2.mjs';
6
- import { V as VisuallyHidden } from './VisuallyHidden-DqAgoqJo.mjs';
7
- import { T as ThemeIcon } from './ThemeIcon-CN_Ed5b1.mjs';
4
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
5
+ import { C as Context$1 } from './Surface-C69KVzkY.mjs';
6
+ import { D as DisclosureMini } from './DisclosureMini-ClSe9sSt.mjs';
7
+ import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
8
+ import { T as ThemeIcon } from './ThemeIcon-B0SruPZC.mjs';
8
9
 
9
10
  /**
10
11
  * Optionally define ariaDescribedBy if errorMessage or helper exist.
@@ -43,14 +44,14 @@ var Provider = Context.Provider;
43
44
  */
44
45
  var FormControl = function (_a) {
45
46
  var _b;
46
- var children = _a.children, _c = _a.elementType, ElementType = _c === void 0 ? "div" : _c, errorMessage = _a.errorMessage, helper = _a.helper, htmlFor = _a.htmlFor, supplementaryInfo = _a.supplementaryInfo, id = _a.id, label = _a.label, _d = _a.labelSize, labelSize = _d === void 0 ? "l" : _d, _e = _a.labelPosition, labelPosition = _e === void 0 ? "top" : _e, _f = _a.requirementStatus, requirementStatus = _f === void 0 ? "optional" : _f, _g = _a.helperUnderLabel, helperUnderLabel = _g === void 0 ? false : _g, isDisabled = _a.isDisabled, _h = _a.hideLabel, hideLabel = _h === void 0 ? false : _h, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, props = __rest(_a, ["children", "elementType", "errorMessage", "helper", "htmlFor", "supplementaryInfo", "id", "label", "labelSize", "labelPosition", "requirementStatus", "helperUnderLabel", "isDisabled", "hideLabel", "disclosureTitle", "disclosureText", "onClickDisclosure"]);
47
+ var children = _a.children, _c = _a.elementType, ElementType = _c === void 0 ? "div" : _c, errorMessage = _a.errorMessage, helper = _a.helper, htmlFor = _a.htmlFor, supplementaryInfo = _a.supplementaryInfo, id = _a.id, label = _a.label, _d = _a.labelSize, labelSize = _d === void 0 ? "l" : _d, _e = _a.labelPosition, labelPosition = _e === void 0 ? "top" : _e, _f = _a.requirementStatus, requirementStatus = _f === void 0 ? "optional" : _f, _g = _a.helperUnderLabel, helperUnderLabel = _g === void 0 ? false : _g, isDisabled = _a.isDisabled, _h = _a.hideLabel, hideLabel = _h === void 0 ? false : _h, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, _j = _a.isErrorAlert, isErrorAlert = _j === void 0 ? false : _j, props = __rest(_a, ["children", "elementType", "errorMessage", "helper", "htmlFor", "supplementaryInfo", "id", "label", "labelSize", "labelPosition", "requirementStatus", "helperUnderLabel", "isDisabled", "hideLabel", "disclosureTitle", "disclosureText", "onClickDisclosure", "isErrorAlert"]);
47
48
  var surface = useContext(Context$1).surface;
48
- var _j = useAriaDescribedby({
49
+ var _k = useAriaDescribedby({
49
50
  disclosureText: disclosureText,
50
51
  errorMessage: errorMessage,
51
52
  helper: helper,
52
53
  id: htmlFor || id, // `htmlFor` is preference to keep this deterministic with TextInput
53
- }), ariaDescribedby = _j.ariaDescribedby, idError = _j.idError, idHelper = _j.idHelper, idDisclosure = _j.idDisclosure;
54
+ }), ariaDescribedby = _k.ariaDescribedby, idError = _k.idError, idHelper = _k.idHelper, idDisclosure = _k.idDisclosure;
54
55
  var LabelType = ElementType === "div" ? "label" : "legend";
55
56
  var elementProps = {};
56
57
  var labelProps = {};
@@ -91,7 +92,8 @@ var FormControl = function (_a) {
91
92
  label && (React__default.createElement("span", { className: classNames("arc-FormControl-labelText", {
92
93
  "arc-FormControl-labelText--withOptional": requirementStatus === "optional",
93
94
  }) }, label)),
94
- requirementStatus === "optional" && (React__default.createElement("span", { className: "arc-FormControl-labelOptional" }, "(optional)")))),
95
+ requirementStatus === "optional" && (React__default.createElement("span", { className: "arc-FormControl-labelOptional" }, "(optional)")),
96
+ LabelType === "legend" && (React__default.createElement(VisuallyHidden, null, "".concat(errorMessage ? "Error. " + errorMessage : "", ". ").concat(helper))))),
95
97
  helperUnderLabel && helper && (React__default.createElement("div", { className: "arc-FormControl-helper arc-FormControl-helper--underLabel", id: idHelper }, helper)),
96
98
  children,
97
99
  React__default.createElement("div", { className: classNames("arc-FormControl-info", {
@@ -99,8 +101,9 @@ var FormControl = function (_a) {
99
101
  }) },
100
102
  ((helper && !helperUnderLabel) ||
101
103
  errorMessage ||
102
- disclosureTitle) && (React__default.createElement("div", { className: "arc-FormControl-helperContainer" }, errorMessage ? (React__default.createElement("div", { className: "arc-FormControl-error", id: idError },
104
+ disclosureTitle) && (React__default.createElement("div", { className: "arc-FormControl-helperContainer" }, errorMessage ? (React__default.createElement("div", { className: "arc-FormControl-error", id: idError, role: isErrorAlert ? "alert" : undefined },
103
105
  React__default.createElement("span", { className: "arc-FormControl-error--icon" },
106
+ React__default.createElement(VisuallyHidden, null, "Error."),
104
107
  React__default.createElement(ThemeIcon, { icon: "formControlAlert" })),
105
108
  errorMessage)) : (!helperUnderLabel &&
106
109
  (disclosureTitle ? (React__default.createElement(DisclosureMini, { onClick: onClickDisclosure, summary: disclosureTitle, size: labelSize === "m" ? "l" : labelSize, id: idDisclosure }, disclosureText)) : (helper && (React__default.createElement("div", { className: "arc-FormControl-helper", id: idHelper }, helper))))))),
@@ -1,10 +1,11 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
4
5
  import { s as suffixModifier } from './suffix-modifier-B_pO0UkF.mjs';
5
6
 
6
7
  /**
7
- * Use `Grid` to compose layouts on a 12-column grid.
8
+ * Use `Grid` to compose layouts on a 12-column grid. Aligns with sibling `Section` components.
8
9
  */
9
10
  var Grid = function (_a) {
10
11
  var children = _a.children, isFluid = _a.isFluid, isDebugVisible = _a.isDebugVisible, isGutterless = _a.isGutterless, _b = _a.isExtended, isExtended = _b === void 0 ? false : _b, props = __rest(_a, ["children", "isFluid", "isDebugVisible", "isGutterless", "isExtended"]);
@@ -1,22 +1,21 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default, { useContext } from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
4
  import { c as camelcase } from './index-Spae4j7j.mjs';
5
5
  import { s as suffixModifier } from './suffix-modifier-B_pO0UkF.mjs';
6
- import { C as Context } from './Surface-Colbp3Zx.mjs';
6
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
7
+ import { C as Context } from './Surface-C69KVzkY.mjs';
8
+ import { S as SemanticHeading } from './SemanticHeading-1tLcSJYD.mjs';
7
9
 
8
10
  /**
9
11
  * Use `Heading` to display heading text.
10
12
  */
11
13
  var Heading = function (_a) {
12
14
  var _b;
13
- var _c = _a.align, align = _c === void 0 ? "left" : _c, _d = _a.casing, casing = _d === void 0 ? "auto" : _d, _e = _a.color, color = _e === void 0 ? "auto" : _e, children = _a.children, level = _a.level, isInline = _a.isInline, _f = _a.fontStyle, fontStyle = _f === void 0 ? "default" : _f, _g = _a.isResponsive, isResponsive = _g === void 0 ? true : _g, size = _a.size, id = _a.id, props = __rest(_a, ["align", "casing", "color", "children", "level", "isInline", "fontStyle", "isResponsive", "size", "id"]);
15
+ var _c = _a.align, align = _c === void 0 ? "left" : _c, _d = _a.casing, casing = _d === void 0 ? "auto" : _d, _e = _a.color, color = _e === void 0 ? "auto" : _e, children = _a.children, level = _a.level, isInline = _a.isInline, _f = _a.fontStyle, fontStyle = _f === void 0 ? "default" : _f, _g = _a.isResponsive, isResponsive = _g === void 0 ? true : _g, _h = _a.isWordWrap, isWordWrap = _h === void 0 ? true : _h, size = _a.size, id = _a.id, props = __rest(_a, ["align", "casing", "color", "children", "level", "isInline", "fontStyle", "isResponsive", "isWordWrap", "size", "id"]);
14
16
  var surface = useContext(Context).surface;
15
- var Element = "span";
16
- if (level) {
17
- Element = "h".concat(level);
18
- }
19
- return (React__default.createElement(Element, __assign({ id: id, className: classNames(" arc-Heading arc-Heading--".concat(camelcase(fontStyle)), (_b = {
17
+ return (React__default.createElement(SemanticHeading, __assign({ id: id, level: level, className: classNames("arc-Heading", "arc-Heading--".concat(camelcase(fontStyle)), (_b = {
18
+ "arc-Heading--wrap": isWordWrap,
20
19
  "arc-Heading--inline": isInline,
21
20
  "arc-Heading--fixedSize": isResponsive === false
22
21
  },
@@ -1,6 +1,7 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
4
5
 
5
6
  var Hidden = function (_a) {
6
7
  var children = _a.children, xs = _a.xs, s = _a.s, m = _a.m, l = _a.l, xl = _a.xl, xxl = _a.xxl, props = __rest(_a, ["children", "xs", "s", "m", "l", "xl", "xxl"]);
@@ -1,8 +1,9 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default, { useContext } from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
4
  import { s as suffixModifier } from './suffix-modifier-B_pO0UkF.mjs';
5
- import { C as Context } from './Surface-Colbp3Zx.mjs';
5
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
6
+ import { C as Context } from './Surface-C69KVzkY.mjs';
6
7
 
7
8
  /**
8
9
  * Use `Icon` to display brand iconography.
@@ -1,7 +1,8 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default, { useState } from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
4
  import { s as suffixModifier } from './suffix-modifier-B_pO0UkF.mjs';
5
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
5
6
 
6
7
  /**
7
8
  * Use `Image` to render a single image, or set of images, with support for
@@ -9,7 +10,7 @@ import { s as suffixModifier } from './suffix-modifier-B_pO0UkF.mjs';
9
10
  */
10
11
  var Image = function (_a) {
11
12
  var _b;
12
- var alt = _a.alt, _c = _a.fadeOnLoad, fadeOnLoad = _c === void 0 ? false : _c, _d = _a.anchor, anchor = _d === void 0 ? "C" : _d, children = _a.children, fillColor = _a.fillColor, fit = _a.fit, height = _a.height, loading = _a.loading, overlay = _a.overlay, sizes = _a.sizes, src = _a.src, srcSet = _a.srcSet, width = _a.width, props = __rest(_a, ["alt", "fadeOnLoad", "anchor", "children", "fillColor", "fit", "height", "loading", "overlay", "sizes", "src", "srcSet", "width"]);
13
+ var alt = _a.alt, _c = _a.fadeOnLoad, fadeOnLoad = _c === void 0 ? false : _c, _d = _a.anchor, anchor = _d === void 0 ? "C" : _d, children = _a.children, fetchPriority = _a.fetchPriority, fillColor = _a.fillColor, fit = _a.fit, height = _a.height, loading = _a.loading, overlay = _a.overlay, sizes = _a.sizes, src = _a.src, srcSet = _a.srcSet, width = _a.width, props = __rest(_a, ["alt", "fadeOnLoad", "anchor", "children", "fetchPriority", "fillColor", "fit", "height", "loading", "overlay", "sizes", "src", "srcSet", "width"]);
13
14
  var _e = useState(false), visible = _e[0], setVisible = _e[1];
14
15
  var imageRef = function (el) {
15
16
  if (el) {
@@ -20,7 +21,7 @@ var Image = function (_a) {
20
21
  "arc-Image-img--fade": fadeOnLoad,
21
22
  "arc-Image-img--fadeVisible": fadeOnLoad && visible,
22
23
  };
23
- var img = (React__default.createElement("img", { ref: imageRef, className: classNames("arc-Image-img", animationClasses), alt: alt, height: fit === "cover" ? undefined : height, loading: loading, sizes: children ? undefined : sizes, src: src, srcSet: children ? undefined : srcSet, width: fit === "cover" ? undefined : width }));
24
+ var img = (React__default.createElement("img", { ref: imageRef, className: classNames("arc-Image-img", animationClasses), alt: alt, height: fit === "cover" ? undefined : height, loading: loading, sizes: children ? undefined : sizes, src: src, srcSet: children ? undefined : srcSet, width: fit === "cover" ? undefined : width, fetchPriority: fetchPriority }));
24
25
  return (React__default.createElement("div", __assign({ className: classNames((_b = {
25
26
  "arc-Image": true,
26
27
  "arc-Image--cover": fit === "cover"
@@ -1,9 +1,10 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default, { useContext } from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
- import { C as Context } from './Surface-Colbp3Zx.mjs';
5
- import { V as VisuallyHidden } from './VisuallyHidden-DqAgoqJo.mjs';
6
- import { T as ThemeIcon } from './ThemeIcon-CN_Ed5b1.mjs';
4
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
5
+ import { C as Context } from './Surface-C69KVzkY.mjs';
6
+ import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
7
+ import { T as ThemeIcon } from './ThemeIcon-B0SruPZC.mjs';
7
8
 
8
9
  /**
9
10
  * Use `Link` to direct users to a new page or piece of information.
@@ -1,14 +1,15 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
- import { R as Root2, A as Anchor2, T as Trigger, P as Portal, C as Content2, a as PopoverArrow } from './index-CxrL7jIX.mjs';
4
+ import { R as Root2, A as Anchor2, T as Trigger, P as Portal, C as Content2, a as PopoverArrow } from './index-Do2wfP-X.mjs';
5
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
5
6
  import { e as useThemeElement } from './index-Bz2JQq34.mjs';
6
- import { S as Surface } from './Surface-Colbp3Zx.mjs';
7
+ import { S as Surface } from './Surface-C69KVzkY.mjs';
7
8
 
8
9
  /** Use `Popover` to display content in a portal, triggered by a button. */
9
10
  var Popover = function (_a) {
10
- var align = _a.align, ariaLabel = _a.ariaLabel, alignOffset = _a.alignOffset, _b = _a.arrow, arrow = _b === void 0 ? true : _b, _c = _a.background, background = _c === void 0 ? "light" : _c, children = _a.children, content = _a.content, _d = _a.asChild, asChild = _d === void 0 ? false : _d, _e = _a.maxWidth, maxWidth = _e === void 0 ? 452 : _e, onCloseAutoFocus = _a.onCloseAutoFocus, onEscapeKeyDown = _a.onEscapeKeyDown, onFocusOutside = _a.onFocusOutside, onInteractOutside = _a.onInteractOutside, onOpenAutoFocus = _a.onOpenAutoFocus, onPointerDownOutside = _a.onPointerDownOutside, onOpenChange = _a.onOpenChange, open = _a.open, side = _a.side, _f = _a.sideOffset, sideOffset = _f === void 0 ? 0 : _f, _g = _a.zIndex, zIndex = _g === void 0 ? 100 : _g, _h = _a.hideWhenDetached, hideWhenDetached = _h === void 0 ? false : _h, _j = _a.useBespokeTrigger, useBespokeTrigger = _j === void 0 ? false : _j, props = __rest(_a, ["align", "ariaLabel", "alignOffset", "arrow", "background", "children", "content", "asChild", "maxWidth", "onCloseAutoFocus", "onEscapeKeyDown", "onFocusOutside", "onInteractOutside", "onOpenAutoFocus", "onPointerDownOutside", "onOpenChange", "open", "side", "sideOffset", "zIndex", "hideWhenDetached", "useBespokeTrigger"]);
11
- var _k = useThemeElement(), themeElement = _k[0], setThemeElement = _k[1];
11
+ var align = _a.align, ariaLabel = _a.ariaLabel, alignOffset = _a.alignOffset, _b = _a.arrow, arrow = _b === void 0 ? true : _b, _c = _a.background, background = _c === void 0 ? "light" : _c, children = _a.children, content = _a.content, _d = _a.asChild, asChild = _d === void 0 ? false : _d, _e = _a.maxWidth, maxWidth = _e === void 0 ? 452 : _e, minHeight = _a.minHeight, onCloseAutoFocus = _a.onCloseAutoFocus, onEscapeKeyDown = _a.onEscapeKeyDown, onFocusOutside = _a.onFocusOutside, onInteractOutside = _a.onInteractOutside, onOpenAutoFocus = _a.onOpenAutoFocus, onPointerDownOutside = _a.onPointerDownOutside, onOpenChange = _a.onOpenChange, open = _a.open, _f = _a.constrainToViewport, constrainToViewport = _f === void 0 ? true : _f, side = _a.side, _g = _a.sideOffset, sideOffset = _g === void 0 ? 0 : _g, _h = _a.zIndex, zIndex = _h === void 0 ? 100 : _h, _j = _a.hideWhenDetached, hideWhenDetached = _j === void 0 ? false : _j, _k = _a.useBespokeTrigger, useBespokeTrigger = _k === void 0 ? false : _k, props = __rest(_a, ["align", "ariaLabel", "alignOffset", "arrow", "background", "children", "content", "asChild", "maxWidth", "minHeight", "onCloseAutoFocus", "onEscapeKeyDown", "onFocusOutside", "onInteractOutside", "onOpenAutoFocus", "onPointerDownOutside", "onOpenChange", "open", "constrainToViewport", "side", "sideOffset", "zIndex", "hideWhenDetached", "useBespokeTrigger"]);
12
+ var _l = useThemeElement(), themeElement = _l[0], setThemeElement = _l[1];
12
13
  var alignOffsetDefault = align === "center" ? 0 : -16;
13
14
  return (React__default.createElement("div", __assign({ className: "arc-Popover" }, filterAttrs(props)),
14
15
  React__default.createElement(Root2, { open: open, onOpenChange: onOpenChange },
@@ -21,7 +22,8 @@ var Popover = function (_a) {
21
22
  React__default.createElement("div", { className: classNames("arc-Popover-content", {
22
23
  "arc-Popover-content--dark": background === "dark",
23
24
  "arc-Popover-content--brand": background === "brand",
24
- }), style: { maxWidth: maxWidth }, "aria-labelledby": "popover-content" },
25
+ "arc-Popover-content--constrainToViewport": constrainToViewport,
26
+ }), style: { maxWidth: maxWidth, minHeight: minHeight }, "aria-labelledby": "popover-content" },
25
27
  content && React__default.createElement("div", { id: "popover-content" }, content),
26
28
  arrow && (React__default.createElement(PopoverArrow, { className: "arc-Popover-arrow" })))))))))));
27
29
  };
@@ -1,10 +1,142 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default from 'react';
3
- import { c as classNames } from './index-5C0-U8cc.mjs';
4
- import { s as svgToMiniDataURI } from './index-CL6dwOYV.mjs';
3
+ import { g as getDefaultExportFromCjs, c as classNames } from './index-5C0-U8cc.mjs';
4
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
5
5
  import { c as capitaliseFirstLetter } from './capitalise-first-letter-Cubg2CS1.mjs';
6
- import { V as VisuallyHidden } from './VisuallyHidden-DqAgoqJo.mjs';
7
- import { I as Icon } from './Icon-CcPOJcQm.mjs';
6
+ import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
7
+ import { I as Icon } from './Icon-CCUbr_AO.mjs';
8
+
9
+ var shorterCssColorNames;
10
+ var hasRequiredShorterCssColorNames;
11
+
12
+ function requireShorterCssColorNames () {
13
+ if (hasRequiredShorterCssColorNames) return shorterCssColorNames;
14
+ hasRequiredShorterCssColorNames = 1;
15
+ shorterCssColorNames = {
16
+ aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
17
+ azure: /#f0ffff(ff)?(?!\w)/gi,
18
+ beige: /#f5f5dc(ff)?(?!\w)/gi,
19
+ bisque: /#ffe4c4(ff)?(?!\w)/gi,
20
+ black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
21
+ blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
22
+ brown: /#a52a2a(ff)?(?!\w)/gi,
23
+ coral: /#ff7f50(ff)?(?!\w)/gi,
24
+ cornsilk: /#fff8dc(ff)?(?!\w)/gi,
25
+ crimson: /#dc143c(ff)?(?!\w)/gi,
26
+ cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
27
+ darkblue: /#00008b(ff)?(?!\w)/gi,
28
+ darkcyan: /#008b8b(ff)?(?!\w)/gi,
29
+ darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
30
+ darkred: /#8b0000(ff)?(?!\w)/gi,
31
+ deeppink: /#ff1493(ff)?(?!\w)/gi,
32
+ dimgrey: /#696969(ff)?(?!\w)/gi,
33
+ gold: /#ffd700(ff)?(?!\w)/gi,
34
+ green: /#008000(ff)?(?!\w)/gi,
35
+ grey: /#808080(ff)?(?!\w)/gi,
36
+ honeydew: /#f0fff0(ff)?(?!\w)/gi,
37
+ hotpink: /#ff69b4(ff)?(?!\w)/gi,
38
+ indigo: /#4b0082(ff)?(?!\w)/gi,
39
+ ivory: /#fffff0(ff)?(?!\w)/gi,
40
+ khaki: /#f0e68c(ff)?(?!\w)/gi,
41
+ lavender: /#e6e6fa(ff)?(?!\w)/gi,
42
+ lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
43
+ linen: /#faf0e6(ff)?(?!\w)/gi,
44
+ maroon: /#800000(ff)?(?!\w)/gi,
45
+ moccasin: /#ffe4b5(ff)?(?!\w)/gi,
46
+ navy: /#000080(ff)?(?!\w)/gi,
47
+ oldlace: /#fdf5e6(ff)?(?!\w)/gi,
48
+ olive: /#808000(ff)?(?!\w)/gi,
49
+ orange: /#ffa500(ff)?(?!\w)/gi,
50
+ orchid: /#da70d6(ff)?(?!\w)/gi,
51
+ peru: /#cd853f(ff)?(?!\w)/gi,
52
+ pink: /#ffc0cb(ff)?(?!\w)/gi,
53
+ plum: /#dda0dd(ff)?(?!\w)/gi,
54
+ purple: /#800080(ff)?(?!\w)/gi,
55
+ red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
56
+ salmon: /#fa8072(ff)?(?!\w)/gi,
57
+ seagreen: /#2e8b57(ff)?(?!\w)/gi,
58
+ seashell: /#fff5ee(ff)?(?!\w)/gi,
59
+ sienna: /#a0522d(ff)?(?!\w)/gi,
60
+ silver: /#c0c0c0(ff)?(?!\w)/gi,
61
+ skyblue: /#87ceeb(ff)?(?!\w)/gi,
62
+ snow: /#fffafa(ff)?(?!\w)/gi,
63
+ tan: /#d2b48c(ff)?(?!\w)/gi,
64
+ teal: /#008080(ff)?(?!\w)/gi,
65
+ thistle: /#d8bfd8(ff)?(?!\w)/gi,
66
+ tomato: /#ff6347(ff)?(?!\w)/gi,
67
+ violet: /#ee82ee(ff)?(?!\w)/gi,
68
+ wheat: /#f5deb3(ff)?(?!\w)/gi,
69
+ white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi,
70
+ };
71
+ return shorterCssColorNames;
72
+ }
73
+
74
+ var miniSvgDataUri;
75
+ var hasRequiredMiniSvgDataUri;
76
+
77
+ function requireMiniSvgDataUri () {
78
+ if (hasRequiredMiniSvgDataUri) return miniSvgDataUri;
79
+ hasRequiredMiniSvgDataUri = 1;
80
+ var shorterNames = requireShorterCssColorNames();
81
+ var REGEX = {
82
+ whitespace: /\s+/g,
83
+ urlHexPairs: /%[\dA-F]{2}/g,
84
+ quotes: /"/g,
85
+ };
86
+
87
+ function collapseWhitespace(str) {
88
+ return str.trim().replace(REGEX.whitespace, ' ');
89
+ }
90
+
91
+ function dataURIPayload(string) {
92
+ return encodeURIComponent(string)
93
+ .replace(REGEX.urlHexPairs, specialHexEncode);
94
+ }
95
+
96
+ // `#` gets converted to `%23`, so quite a few CSS named colors are shorter than
97
+ // their equivalent URL-encoded hex codes.
98
+ function colorCodeToShorterNames(string) {
99
+ Object.keys(shorterNames).forEach(function(key) {
100
+ if (shorterNames[key].test(string)) {
101
+ string = string.replace(shorterNames[key], key);
102
+ }
103
+ });
104
+
105
+ return string;
106
+ }
107
+
108
+ function specialHexEncode(match) {
109
+ switch (match) { // Browsers tolerate these characters, and they're frequent
110
+ case '%20': return ' ';
111
+ case '%3D': return '=';
112
+ case '%3A': return ':';
113
+ case '%2F': return '/';
114
+ default: return match.toLowerCase(); // compresses better
115
+ }
116
+ }
117
+
118
+ function svgToTinyDataUri(svgString) {
119
+ if (typeof svgString !== 'string') {
120
+ throw new TypeError('Expected a string, but received ' + typeof svgString);
121
+ }
122
+ // Strip the Byte-Order Mark if the SVG has one
123
+ if (svgString.charCodeAt(0) === 0xfeff) { svgString = svgString.slice(1); }
124
+
125
+ var body = colorCodeToShorterNames(collapseWhitespace(svgString))
126
+ .replace(REGEX.quotes, "'");
127
+ return 'data:image/svg+xml,' + dataURIPayload(body);
128
+ }
129
+
130
+ svgToTinyDataUri.toSrcset = function toSrcset(svgString) {
131
+ return svgToTinyDataUri(svgString).replace(/ /g, '%20');
132
+ };
133
+
134
+ miniSvgDataUri = svgToTinyDataUri;
135
+ return miniSvgDataUri;
136
+ }
137
+
138
+ var miniSvgDataUriExports = requireMiniSvgDataUri();
139
+ var svgToMiniDataURI = /*@__PURE__*/getDefaultExportFromCjs(miniSvgDataUriExports);
8
140
 
9
141
  var Error = "\n <svg fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <g clipPath=\"url(#a)\">\n <path\n d=\"m13.06 12 2.845-2.845a.75.75 0 0 0-1.06-1.06L12 10.94 9.155 8.095a.75.75 0 0 0-1.06 1.06L10.939 12l-2.844 2.845a.75.75 0 1 0 1.06 1.06L12 13.061l2.845 2.844a.75.75 0 0 0 1.06-1.06L13.06 12Z\"\n fill=\"currentColor\"\n />\n </g>\n <defs>\n <clipPath id=\"a\">\n <rect width=\"24\" height=\"24\" rx=\"12\" />\n </clipPath>\n </defs>\n </svg>\n ";
10
142
 
@@ -1,7 +1,8 @@
1
- import { a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default, { useContext } from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
- import { C as Context } from './Surface-Colbp3Zx.mjs';
4
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
5
+ import { C as Context } from './Surface-C69KVzkY.mjs';
5
6
 
6
7
  /**
7
8
  * Use `Rule` to display a horizontal or vertical rule.
@@ -1,6 +1,7 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
4
5
 
5
6
  /**
6
7
  * Use `Section` to compose content into vertical page layouts.
@@ -0,0 +1,10 @@
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
+ import React__default from 'react';
3
+ import { c as classNames } from './index-5C0-U8cc.mjs';
4
+
5
+ var SemanticHeading = function (_a) {
6
+ var children = _a.children, level = _a.level, className = _a.className, props = __rest(_a, ["children", "level", "className"]);
7
+ return React__default.createElement(level ? "h".concat(level) : "span", __assign({ className: classNames("arc-SemanticHeading", className) }, props), children);
8
+ };
9
+
10
+ export { SemanticHeading as S };
@@ -1,6 +1,7 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
4
5
 
5
6
  /**
6
7
  * Use `Spinner` to display a loading state.
@@ -1,7 +1,8 @@
1
- import { b as __spreadArray, _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { b as __spreadArray, _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default, { createContext } from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
4
  import { c as camelcase } from './index-Spae4j7j.mjs';
5
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
5
6
 
6
7
  var defaultContext = { surface: "light" };
7
8
  var Context = createContext(defaultContext);
@@ -1,13 +1,14 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-B6CM-NUr.mjs';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
- import { V as VerticalSpace } from './VerticalSpace-Duhm0zXP.mjs';
5
- import { B as Box } from './Box-BYm_GTct.mjs';
6
- import { H as Heading } from './Heading-CxHWefi7.mjs';
7
- import { b as GridRow, G as Grid, a as GridCol } from './GridRow-Ddt5CtFn.mjs';
4
+ import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
5
+ import { V as VerticalSpace } from './VerticalSpace-BLWB02I7.mjs';
6
+ import { B as Box } from './Box-C8iK8x5c.mjs';
7
+ import { H as Heading } from './Heading-B9cbwfoz.mjs';
8
+ import { b as GridRow, G as Grid, a as GridCol } from './GridRow-vjacXnq0.mjs';
8
9
  import './index-Spae4j7j.mjs';
9
- import { B as BannerImage } from './BannerImage-BTsixvUH.mjs';
10
- import { V as Visible } from './Visible-B13QJn7R.mjs';
10
+ import { B as BannerImage } from './BannerImage-CgjgaYkJ.mjs';
11
+ import { V as Visible } from './Visible-B0d79VWZ.mjs';
11
12
 
12
13
  var BannerRow = function (_a) {
13
14
  var isReversed = _a.isReversed, children = _a.children;
@@ -19,7 +20,7 @@ var BannerRow = function (_a) {
19
20
  };
20
21
 
21
22
  var TemplateBanner = function (_a) {
22
- var heading = _a.heading, label = _a.label, _b = _a.labelLevel, labelLevel = _b === void 0 ? "3" : _b, text = _a.text, img = _a.img, _c = _a.contentRatio, contentRatio = _c === void 0 ? "1/1" : _c, children = _a.children, _d = _a.alignment, alignment = _d === void 0 ? "center" : _d, additionalTopMargin = _a.additionalTopMargin, _e = _a.minHeight, minHeight = _e === void 0 ? 454 : _e, minHeightM = _a.minHeightM, minHeightL = _a.minHeightL, minHeightXL = _a.minHeightXL, _f = _a.headingSize, headingSize = _f === void 0 ? "xl" : _f, _g = _a.isReversed, isReversed = _g === void 0 ? false : _g, _h = _a.isElevated, isElevated = _h === void 0 ? false : _h, _j = _a.headingLevel, headingLevel = _j === void 0 ? "2" : _j, _k = _a.type, type = _k === void 0 ? "light" : _k, props = __rest(_a, ["heading", "label", "labelLevel", "text", "img", "contentRatio", "children", "alignment", "additionalTopMargin", "minHeight", "minHeightM", "minHeightL", "minHeightXL", "headingSize", "isReversed", "isElevated", "headingLevel", "type"]);
23
+ var heading = _a.heading, _b = _a.fontStyle, fontStyle = _b === void 0 ? "default" : _b, label = _a.label, _c = _a.labelLevel, labelLevel = _c === void 0 ? "3" : _c, text = _a.text, img = _a.img, _d = _a.contentRatio, contentRatio = _d === void 0 ? "1/1" : _d, children = _a.children, _e = _a.alignment, alignment = _e === void 0 ? "center" : _e, additionalTopMargin = _a.additionalTopMargin, _f = _a.minHeight, minHeight = _f === void 0 ? 454 : _f, minHeightM = _a.minHeightM, minHeightL = _a.minHeightL, minHeightXL = _a.minHeightXL, _g = _a.headingSize, headingSize = _g === void 0 ? "xl" : _g, _h = _a.isReversed, isReversed = _h === void 0 ? false : _h, _j = _a.isElevated, isElevated = _j === void 0 ? false : _j, _k = _a.headingLevel, headingLevel = _k === void 0 ? "2" : _k, _l = _a.type, type = _l === void 0 ? "light" : _l, props = __rest(_a, ["heading", "fontStyle", "label", "labelLevel", "text", "img", "contentRatio", "children", "alignment", "additionalTopMargin", "minHeight", "minHeightM", "minHeightL", "minHeightXL", "headingSize", "isReversed", "isElevated", "headingLevel", "type"]);
23
24
  var backgrounds = {
24
25
  dark: "dark-brand-02",
25
26
  light: "light-white",
@@ -62,13 +63,13 @@ var TemplateBanner = function (_a) {
62
63
  "arc-TemplateBanner-content--additionalTopMargin": additionalTopMargin && alignment === "start",
63
64
  }) },
64
65
  label && (React__default.createElement(React__default.Fragment, null,
65
- React__default.createElement(Heading, { level: labelLevel, fontStyle: "overline" }, label),
66
+ React__default.createElement(Heading, { level: labelLevel, fontStyle: "overline", isWordWrap: false }, label),
66
67
  React__default.createElement(VerticalSpace, { size: "8" }))),
67
- React__default.createElement(Heading, { level: headingLevel, size: headingSize }, heading),
68
+ React__default.createElement(Heading, { level: headingLevel, size: headingSize, fontStyle: fontStyle, isWordWrap: false }, heading),
68
69
  text && (React__default.createElement(React__default.Fragment, null,
69
70
  React__default.createElement(VerticalSpace, { size: "16" }),
70
71
  React__default.createElement("span", { className: "arc-TemplateBanner-text" }, text))),
71
- children && (React__default.createElement(React__default.Fragment, null,
72
+ children && (React__default.createElement("span", null,
72
73
  React__default.createElement(VerticalSpace, { size: "32" }),
73
74
  children)))),
74
75
  img && contentRatio !== "1/0" && (React__default.createElement(GridCol, __assign({ "data-testid": "arc-TemplateBanner-imageCol", align: img.fit !== "cover"