@arc-ui/components 12.1.0 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/lib/Alert/styles.css +1 -1
  2. package/lib/Align/styles.css +1 -1
  3. package/lib/AppButton/styles.css +1 -1
  4. package/lib/Avatar/styles.css +1 -1
  5. package/lib/AvatarGroup/styles.css +1 -1
  6. package/lib/Badge/styles.css +1 -1
  7. package/lib/Banner/Banner.cjs +3 -3
  8. package/lib/Banner/Banner.mjs +3 -3
  9. package/lib/Box/styles.css +1 -1
  10. package/lib/BrandLogo/styles.css +1 -1
  11. package/lib/Breadcrumbs/Breadcrumbs.cjs +6 -6
  12. package/lib/Breadcrumbs/Breadcrumbs.mjs +6 -6
  13. package/lib/Breadcrumbs/styles.css +1 -1
  14. package/lib/Button/Button.cjs +1 -1
  15. package/lib/Button/Button.mjs +1 -1
  16. package/lib/Button/styles.css +1 -1
  17. package/lib/ButtonGroup/ButtonGroup.cjs +6 -3
  18. package/lib/ButtonGroup/ButtonGroup.mjs +6 -3
  19. package/lib/ButtonGroup/styles.css +1 -1
  20. package/lib/ButtonV2/ButtonV2.cjs +1 -1
  21. package/lib/ButtonV2/ButtonV2.mjs +1 -1
  22. package/lib/ButtonV2/styles.css +1 -1
  23. package/lib/Calendar/Calendar.cjs +5 -5
  24. package/lib/Calendar/Calendar.mjs +5 -5
  25. package/lib/Calendar/styles.css +1 -1
  26. package/lib/CardFooter/styles.css +1 -1
  27. package/lib/CardHeading/CardHeading.cjs +1 -1
  28. package/lib/CardHeading/CardHeading.mjs +1 -1
  29. package/lib/CardHeading/styles.css +1 -1
  30. package/lib/Carousel/Carousel.cjs +1 -1
  31. package/lib/Carousel/Carousel.mjs +1 -1
  32. package/lib/Carousel/styles.css +1 -1
  33. package/lib/Checkbox/Checkbox.cjs +7 -7
  34. package/lib/Checkbox/Checkbox.mjs +8 -8
  35. package/lib/Checkbox/styles.css +1 -1
  36. package/lib/CheckboxIcon/CheckboxIcon.cjs +1 -1
  37. package/lib/CheckboxIcon/CheckboxIcon.mjs +1 -1
  38. package/lib/CheckboxIcon/styles.css +1 -1
  39. package/lib/Columns/styles.css +1 -1
  40. package/lib/ComboBox/ComboBox.cjs +13 -13
  41. package/lib/ComboBox/ComboBox.mjs +14 -14
  42. package/lib/ComboBox/styles.css +1 -1
  43. package/lib/ContentSwitcher/ContentSwitcher.cjs +1 -1
  44. package/lib/ContentSwitcher/ContentSwitcher.mjs +4 -4
  45. package/lib/ContentSwitcher/styles.css +1 -1
  46. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +7 -7
  47. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +7 -7
  48. package/lib/ContentSwitcherDropdown/styles.css +1 -1
  49. package/lib/DatePicker/DatePicker.cjs +16 -16
  50. package/lib/DatePicker/DatePicker.mjs +17 -17
  51. package/lib/DatePicker/styles.css +1 -1
  52. package/lib/Disclosure/styles.css +1 -1
  53. package/lib/DisclosureMini/styles.css +1 -1
  54. package/lib/Download/styles.css +1 -1
  55. package/lib/Drawer/Drawer.cjs +36 -28
  56. package/lib/Drawer/Drawer.mjs +36 -28
  57. package/lib/Drawer/styles.css +1 -1
  58. package/lib/Elevation/styles.css +1 -1
  59. package/lib/Filter/styles.css +1 -1
  60. package/lib/FormControl/styles.css +1 -1
  61. package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +2 -2
  62. package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +2 -2
  63. package/lib/GhostedHeroBanner/styles.css +1 -1
  64. package/lib/GradientPageBackground/GradientPageBackground.cjs +2 -2
  65. package/lib/GradientPageBackground/GradientPageBackground.mjs +2 -2
  66. package/lib/GradientPageBackground/styles.css +1 -1
  67. package/lib/Grid/styles.css +1 -1
  68. package/lib/Group/styles.css +1 -1
  69. package/lib/Heading/styles.css +1 -1
  70. package/lib/HeroBanner/HeroBanner.cjs +3 -3
  71. package/lib/HeroBanner/HeroBanner.mjs +3 -3
  72. package/lib/HeroBanner/styles.css +1 -1
  73. package/lib/HeroButton/HeroButton.cjs +3 -3
  74. package/lib/HeroButton/HeroButton.mjs +4 -4
  75. package/lib/HeroButton/styles.css +1 -1
  76. package/lib/Hidden/styles.css +1 -1
  77. package/lib/HorizontalCard/HorizontalCard.cjs +1 -1
  78. package/lib/HorizontalCard/HorizontalCard.mjs +1 -1
  79. package/lib/HorizontalCard/styles.css +1 -1
  80. package/lib/Icon/styles.css +1 -1
  81. package/lib/Image/styles.css +1 -1
  82. package/lib/ImpactCard/ImpactCard.cjs +4 -4
  83. package/lib/ImpactCard/ImpactCard.mjs +4 -4
  84. package/lib/ImpactCard/styles.css +1 -1
  85. package/lib/InformationCard/InformationCard.cjs +6 -6
  86. package/lib/InformationCard/InformationCard.mjs +6 -6
  87. package/lib/InformationCard/styles.css +1 -1
  88. package/lib/Link/styles.css +1 -1
  89. package/lib/Markup/styles.css +1 -1
  90. package/lib/MediaCard/MediaCard.cjs +5 -5
  91. package/lib/MediaCard/MediaCard.mjs +5 -5
  92. package/lib/MediaCard/styles.css +1 -1
  93. package/lib/Menu/Menu.cjs +17 -16
  94. package/lib/Menu/Menu.mjs +17 -16
  95. package/lib/Menu/styles.css +1 -1
  96. package/lib/Modal/Modal.cjs +7 -7
  97. package/lib/Modal/Modal.mjs +7 -7
  98. package/lib/Modal/styles.css +1 -1
  99. package/lib/NavigationHeader/NavigationHeader.cjs +17 -17
  100. package/lib/NavigationHeader/NavigationHeader.mjs +18 -18
  101. package/lib/NavigationHeader/styles.css +1 -1
  102. package/lib/Pagination/styles.css +1 -1
  103. package/lib/PaginationSimple/styles.css +1 -1
  104. package/lib/Popover/Popover.cjs +7 -7
  105. package/lib/Popover/Popover.mjs +7 -7
  106. package/lib/Popover/styles.css +1 -1
  107. package/lib/Poster/styles.css +1 -1
  108. package/lib/ProgressBar/ProgressBar.cjs +2 -2
  109. package/lib/ProgressBar/ProgressBar.mjs +2 -2
  110. package/lib/ProgressBar/styles.css +1 -1
  111. package/lib/ProgressStepper/ProgressStepper.cjs +1 -1
  112. package/lib/ProgressStepper/ProgressStepper.mjs +1 -1
  113. package/lib/ProgressStepper/styles.css +1 -1
  114. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +4 -4
  115. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +5 -5
  116. package/lib/ProgressStepperOverflow/styles.css +1 -1
  117. package/lib/RadioCardGroup/RadioCardGroup.cjs +6 -6
  118. package/lib/RadioCardGroup/RadioCardGroup.mjs +7 -7
  119. package/lib/RadioCardGroup/styles.css +1 -1
  120. package/lib/RadioGroup/RadioGroup.cjs +6 -6
  121. package/lib/RadioGroup/RadioGroup.mjs +7 -7
  122. package/lib/RadioGroup/styles.css +1 -1
  123. package/lib/Rule/Rule.cjs +1 -1
  124. package/lib/Rule/Rule.mjs +1 -1
  125. package/lib/Rule/styles.css +1 -1
  126. package/lib/ScrollToTop/ScrollToTop.cjs +1 -1
  127. package/lib/ScrollToTop/ScrollToTop.mjs +1 -1
  128. package/lib/ScrollToTop/styles.css +1 -1
  129. package/lib/Section/styles.css +1 -1
  130. package/lib/Select/Select.cjs +6 -6
  131. package/lib/Select/Select.mjs +6 -6
  132. package/lib/Select/styles.css +1 -1
  133. package/lib/SemanticHeading/styles.css +1 -1
  134. package/lib/SiteFooter/styles.css +1 -1
  135. package/lib/SiteFooterV2/SiteFooterV2.cjs +1 -1
  136. package/lib/SiteFooterV2/SiteFooterV2.mjs +1 -1
  137. package/lib/SiteFooterV2/styles.css +1 -1
  138. package/lib/SiteHeaderV2/SiteHeaderV2.cjs +9 -6
  139. package/lib/SiteHeaderV2/SiteHeaderV2.mjs +9 -6
  140. package/lib/SiteHeaderV2/styles.css +1 -1
  141. package/lib/Skeleton/styles.css +1 -1
  142. package/lib/SkipLink/SkipLink.cjs +2 -2
  143. package/lib/SkipLink/SkipLink.mjs +3 -3
  144. package/lib/SkipLink/styles.css +1 -1
  145. package/lib/Spinner/styles.css +1 -1
  146. package/lib/Surface/styles.css +1 -1
  147. package/lib/Switch/Switch.mjs +1 -1
  148. package/lib/Switch/styles.css +1 -1
  149. package/lib/TabbedBanner/TabbedBanner.cjs +9 -9
  150. package/lib/TabbedBanner/TabbedBanner.mjs +12 -12
  151. package/lib/TabbedBanner/styles.css +1 -1
  152. package/lib/Tabs/Tabs.mjs +3 -3
  153. package/lib/Tabs/styles.css +1 -1
  154. package/lib/Tag/styles.css +1 -1
  155. package/lib/TemplateBanner/TemplateBanner.cjs +1 -1
  156. package/lib/TemplateBanner/TemplateBanner.mjs +1 -1
  157. package/lib/TemplateBanner/styles.css +1 -1
  158. package/lib/Text/styles.css +1 -1
  159. package/lib/TextArea/TextArea.cjs +3 -3
  160. package/lib/TextArea/TextArea.mjs +4 -4
  161. package/lib/TextArea/styles.css +1 -1
  162. package/lib/TextInput/TextInput.cjs +4 -4
  163. package/lib/TextInput/TextInput.mjs +4 -4
  164. package/lib/TextInput/styles.css +1 -1
  165. package/lib/Theme/Theme.cjs +1 -1
  166. package/lib/Theme/Theme.mjs +1 -1
  167. package/lib/Theme/styles.css +1 -1
  168. package/lib/ThemeIcon/styles.css +1 -1
  169. package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +1 -1
  170. package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +1 -1
  171. package/lib/ThumbnailSignpost/styles.css +1 -1
  172. package/lib/Toast/Toast.mjs +2 -2
  173. package/lib/Toast/styles.css +1 -1
  174. package/lib/Tooltip/Tooltip.cjs +3 -3
  175. package/lib/Tooltip/Tooltip.mjs +3 -3
  176. package/lib/Tooltip/styles.css +1 -1
  177. package/lib/Truncate/styles.css +1 -1
  178. package/lib/TypographyCard/TypographyCard.cjs +4 -4
  179. package/lib/TypographyCard/TypographyCard.mjs +4 -4
  180. package/lib/TypographyCard/styles.css +1 -1
  181. package/lib/UniversalHeader/styles.css +1 -1
  182. package/lib/VerticalSpace/styles.css +1 -1
  183. package/lib/VideoPlayer/VideoPlayer.cjs +3 -3
  184. package/lib/VideoPlayer/VideoPlayer.mjs +3 -3
  185. package/lib/VideoPlayer/styles.css +1 -1
  186. package/lib/Visible/styles.css +1 -1
  187. package/lib/VisuallyHidden/styles.css +1 -1
  188. package/lib/_shared/cjs/{Button-BN4jUsg5.cjs → Button-CrevzrTg.cjs} +3 -3
  189. package/lib/_shared/cjs/{ButtonV2-bUu36xW8.cjs → ButtonV2-CxyploaQ.cjs} +3 -3
  190. package/lib/_shared/cjs/{Calendar-D_jZ0cgf.cjs → Calendar-CdLn9iv6.cjs} +6 -6
  191. package/lib/_shared/cjs/{CardHeading-lGy1u6eD.cjs → CardHeading-C84m67_F.cjs} +2 -2
  192. package/lib/_shared/cjs/{CheckboxIcon-BTkdXfpp.cjs → CheckboxIcon-BzY1S_ud.cjs} +6 -5
  193. package/lib/_shared/cjs/{Combination-6m6aOXZq.cjs → Combination-Cm62lfyr.cjs} +1 -1
  194. package/lib/_shared/cjs/{ContentSwitcherDropdown-BLXyhXVS.cjs → ContentSwitcherDropdown-6IGRpV54.cjs} +2 -2
  195. package/lib/_shared/cjs/{ContentSwitcherList-DgychllS.cjs → ContentSwitcherList-Di7RS8ue.cjs} +20 -9
  196. package/lib/_shared/cjs/{Popover-CYcqjefw.cjs → Popover-BtvRErpC.cjs} +7 -4
  197. package/lib/_shared/cjs/{ProgressStepper-mTgKZYEl.cjs → ProgressStepper-Cs6vX7Th.cjs} +3 -3
  198. package/lib/_shared/cjs/{Rule-jmvOpci7.cjs → Rule-essaguo_.cjs} +2 -2
  199. package/lib/_shared/cjs/{TemplateBanner-CzDAL0lq.cjs → TemplateBanner-DyXBKuMw.cjs} +2 -2
  200. package/lib/_shared/cjs/{TextInput-BHzuoI7E.cjs → TextInput-C_K2PLf5.cjs} +6 -6
  201. package/lib/_shared/cjs/{Tooltip-CEb7YEP2.cjs → Tooltip-CdmWvrnr.cjs} +2 -2
  202. package/lib/_shared/cjs/{arc-breakpoints-DFPoWNR4.cjs → arc-breakpoints-uADxN-b4.cjs} +1 -1
  203. package/lib/_shared/cjs/{index-BGGFOAAx.cjs → index-BBDa9gnQ.cjs} +2 -2
  204. package/lib/_shared/cjs/{index-D9onmVh5.cjs → index-BDUrOKEW.cjs} +3 -3
  205. package/lib/_shared/cjs/{index-CklPiHsS.cjs → index-B_WZUATb.cjs} +2 -2
  206. package/lib/_shared/cjs/{index-B11wQrRa.cjs → index-BdJeAKfz.cjs} +1 -1
  207. package/lib/_shared/cjs/{index-CDVpHNP8.cjs → index-Dgn0408w.cjs} +4 -4
  208. package/lib/_shared/cjs/{index-DXNM3D1d.cjs → index-DlWZZNwu.cjs} +2 -2
  209. package/lib/_shared/cjs/{index-BWfgSvRQ.cjs → index-DsqYRMfM.cjs} +4 -4
  210. package/lib/_shared/cjs/{index-KrMgv4q_.cjs → index-WO7l1Mfx.cjs} +3 -3
  211. package/lib/_shared/cjs/{index.es-B2ZfX2D7.cjs → index.es-BAsay4oe.cjs} +1 -1
  212. package/lib/_shared/esm/{Button-DTiOFT9M.mjs → Button-Benn9Qop.mjs} +4 -4
  213. package/lib/_shared/esm/{ButtonV2-ByW5P8Hq.mjs → ButtonV2-CgjYgfZA.mjs} +4 -4
  214. package/lib/_shared/esm/{Calendar-wG6UVDgO.mjs → Calendar-CzFIMyD1.mjs} +7 -7
  215. package/lib/_shared/esm/{CardHeading-CfPEEmBO.mjs → CardHeading-CV14vmox.mjs} +2 -2
  216. package/lib/_shared/esm/{CheckboxIcon-BcVQe6mC.mjs → CheckboxIcon-CzRn1j8X.mjs} +6 -5
  217. package/lib/_shared/esm/{Combination-BQ4XBtF-.mjs → Combination-BW0YAEZD.mjs} +1 -1
  218. package/lib/_shared/esm/{ContentSwitcherDropdown-ckPG4pry.mjs → ContentSwitcherDropdown-CwoMd63a.mjs} +2 -2
  219. package/lib/_shared/esm/{ContentSwitcherList-CWZcMblg.mjs → ContentSwitcherList-Bvp9Zl85.mjs} +22 -11
  220. package/lib/_shared/esm/{Popover-BHCEpLSa.mjs → Popover-DRQSgAog.mjs} +7 -4
  221. package/lib/_shared/esm/{ProgressStepper-DxZrJR0q.mjs → ProgressStepper-DTPHHVFe.mjs} +4 -4
  222. package/lib/_shared/esm/{Rule-I1w3EaZi.mjs → Rule-Bz3QPezk.mjs} +3 -3
  223. package/lib/_shared/esm/{TemplateBanner-CZSTdma0.mjs → TemplateBanner-BPzuH5bz.mjs} +2 -2
  224. package/lib/_shared/esm/{TextInput-CZaNXVHl.mjs → TextInput-BCvKXfM_.mjs} +8 -8
  225. package/lib/_shared/esm/{Tooltip-BpSzN3Tx.mjs → Tooltip-DY8nS1to.mjs} +2 -2
  226. package/lib/_shared/esm/{arc-breakpoints-TEKN0W5t.mjs → arc-breakpoints-ChQgbftE.mjs} +1 -1
  227. package/lib/_shared/esm/{index-u47CK8Y0.mjs → index-B3ewsmrD.mjs} +2 -2
  228. package/lib/_shared/esm/{index-GCEHSsY8.mjs → index-BMmvMegf.mjs} +2 -2
  229. package/lib/_shared/esm/{index-DXHprNQ6.mjs → index-C_mwuZg6.mjs} +1 -1
  230. package/lib/_shared/esm/{index-BWkI4Dwz.mjs → index-CfXVJXLq.mjs} +3 -3
  231. package/lib/_shared/esm/{index-CWHcEz3_.mjs → index-Cgsjp3NL.mjs} +1 -1
  232. package/lib/_shared/esm/{index-CN4hP3Wu.mjs → index-CjeQnMcn.mjs} +3 -3
  233. package/lib/_shared/esm/{index-BFKdmv_g.mjs → index-DNvlT7G_.mjs} +3 -3
  234. package/lib/_shared/esm/{index-Do2wfP-X.mjs → index-Dd3yZ_Kk.mjs} +4 -4
  235. package/lib/_shared/esm/{index-vnVJe9rH.mjs → index-Dfz5UgHo.mjs} +4 -4
  236. package/lib/_shared/esm/{index-Bz2JQq34.mjs → index-DkAfUbDx.mjs} +2 -2
  237. package/lib/_shared/esm/{index-6HtUz28p.mjs → index-Drb5ngQr.mjs} +1 -1
  238. package/lib/_shared/esm/{index.es-Co1d96HB.mjs → index.es-99J0r2va.mjs} +1 -1
  239. package/lib/index.cjs +185 -156
  240. package/lib/index.cjs.map +1 -1
  241. package/lib/index.d.cts +938 -247
  242. package/lib/index.d.mts +938 -247
  243. package/lib/index.js.map +1 -1
  244. package/lib/index.mjs +186 -157
  245. package/lib/index.mjs.map +1 -1
  246. package/lib/styles.css +2 -2
  247. package/package.json +12 -12
package/lib/index.cjs CHANGED
@@ -867,7 +867,7 @@ var BannerRow = function (_a) {
867
867
 
868
868
  /** Use `TemplateBanner` as a base structure for banner components; other banner variants extend or consume this template. */
869
869
  var TemplateBanner = function (_a) {
870
- 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"]);
870
+ 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.headingWordWrap, headingWordWrap = _l === void 0 ? false : _l, _m = _a.type, type = _m === void 0 ? "light" : _m, props = __rest(_a, ["heading", "fontStyle", "label", "labelLevel", "text", "img", "contentRatio", "children", "alignment", "additionalTopMargin", "minHeight", "minHeightM", "minHeightL", "minHeightXL", "headingSize", "isReversed", "isElevated", "headingLevel", "headingWordWrap", "type"]);
871
871
  var backgrounds = {
872
872
  dark: "dark-brand-02",
873
873
  light: "light-white",
@@ -912,7 +912,7 @@ var TemplateBanner = function (_a) {
912
912
  label && (React.createElement(React.Fragment, null,
913
913
  React.createElement(Heading, { level: labelLevel, fontStyle: "overline", isWordWrap: false }, label),
914
914
  React.createElement(VerticalSpace, { size: "8" }))),
915
- React.createElement(Heading, { level: headingLevel, size: headingSize, fontStyle: fontStyle, isWordWrap: false }, heading),
915
+ React.createElement(Heading, { level: headingLevel, size: headingSize, fontStyle: fontStyle, isWordWrap: headingWordWrap }, heading),
916
916
  text && (React.createElement(React.Fragment, null,
917
917
  React.createElement(VerticalSpace, { size: "16" }),
918
918
  React.createElement("span", { className: "arc-TemplateBanner-text" }, text))),
@@ -927,8 +927,8 @@ var TemplateBanner = function (_a) {
927
927
 
928
928
  /** Use `Banner` to promote key content or products with bold visuals and messaging. */
929
929
  var Banner = function (_a) {
930
- var heading = _a.heading, label = _a.label, text = _a.text, img = _a.img, _b = _a.contentRatio, contentRatio = _b === void 0 ? "1/1" : _b, children = _a.children, minHeight = _a.minHeight, _c = _a.isReversed, isReversed = _c === void 0 ? false : _c, _d = _a.isElevated, isElevated = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.type, type = _f === void 0 ? "light" : _f, _g = _a.alignment, alignment = _g === void 0 ? "center" : _g, props = __rest(_a, ["heading", "label", "text", "img", "contentRatio", "children", "minHeight", "isReversed", "isElevated", "headingLevel", "type", "alignment"]);
931
- return (React.createElement(TemplateBanner, __assign({ heading: heading, label: label, text: text, img: img, contentRatio: contentRatio, minHeight: minHeight, isReversed: isReversed, isElevated: isElevated, headingLevel: headingLevel, type: type, headingSize: "m", alignment: alignment }, filterAttrs(props)), children));
930
+ var heading = _a.heading, label = _a.label, text = _a.text, img = _a.img, _b = _a.contentRatio, contentRatio = _b === void 0 ? "1/1" : _b, children = _a.children, minHeight = _a.minHeight, _c = _a.isReversed, isReversed = _c === void 0 ? false : _c, _d = _a.isElevated, isElevated = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.type, type = _f === void 0 ? "light" : _f, _g = _a.alignment, alignment = _g === void 0 ? "center" : _g, _h = _a.headingWordWrap, headingWordWrap = _h === void 0 ? false : _h, props = __rest(_a, ["heading", "label", "text", "img", "contentRatio", "children", "minHeight", "isReversed", "isElevated", "headingLevel", "type", "alignment", "headingWordWrap"]);
931
+ return (React.createElement(TemplateBanner, __assign({ heading: heading, label: label, text: text, img: img, contentRatio: contentRatio, minHeight: minHeight, isReversed: isReversed, isElevated: isElevated, headingLevel: headingLevel, type: type, headingSize: "m", alignment: alignment, headingWordWrap: headingWordWrap }, filterAttrs(props)), children));
932
932
  };
933
933
 
934
934
  /**
@@ -1704,22 +1704,22 @@ var handleLinkClick = function (_a) {
1704
1704
  };
1705
1705
  };
1706
1706
 
1707
- var BreadcrumbsLink = React.forwardRef(function (_a, ref) {
1708
- var onClick = _a.onClick, href = _a.href, isActive = _a.isActive, children = _a.children;
1709
- return (React.createElement(React.Fragment, null, isActive || href === undefined ? (React.createElement("span", { onClick: onClick, className: classNames({
1707
+ var BreadcrumbsLink = function (_a) {
1708
+ var onClick = _a.onClick, href = _a.href, isActive = _a.isActive, children = _a.children, ref = _a.ref, props = __rest(_a, ["onClick", "href", "isActive", "children", "ref"]);
1709
+ return (React.createElement(React.Fragment, null, isActive || href === undefined ? (React.createElement("span", __assign({ onClick: onClick, className: classNames({
1710
1710
  "arc-Breadcrumbs-text": true,
1711
1711
  "arc-Breadcrumbs-text--active": isActive,
1712
- }) }, children)) : (React.createElement("a", __assign({}, (onClick && ref
1712
+ }) }, filterAttrs(props)), children)) : (React.createElement("a", __assign({}, (onClick && ref
1713
1713
  ? { onClick: onClick }
1714
- : { onClick: handleLinkClick({ handler: onClick }) }), { className: "arc-Breadcrumbs-text", ref: ref, href: href }), children))));
1715
- });
1714
+ : { onClick: handleLinkClick({ handler: onClick }) }), { className: "arc-Breadcrumbs-text", ref: ref, href: href }, filterAttrs(props)), children))));
1715
+ };
1716
1716
 
1717
1717
  /**
1718
1718
  * Use `Button` to let a user complete an action like ‘Log in’ or ‘Register’.
1719
1719
  */
1720
- var Button = React.forwardRef(function (_a, ref) {
1720
+ var Button = function (_a) {
1721
1721
  var _b;
1722
- var ariaLabel = _a.ariaLabel, ariaControls = _a.ariaControls, ariaExpanded = _a.ariaExpanded, ariaHasPopup = _a.ariaHasPopup, _c = _a.fill, fill = _c === void 0 ? "solid" : _c, href = _a.href, icon = _a.icon, _d = _a.iconPosition, iconPosition = _d === void 0 ? "afterText" : _d, id = _a.id, _e = _a.isDisabled, isDisabled = _e === void 0 ? false : _e, _f = _a.isDisplayBlock, isDisplayBlock = _f === void 0 ? false : _f, _g = _a.isFullWidth, isFullWidth = _g === void 0 ? false : _g, label = _a.label, onClick = _a.onClick, rel = _a.rel, _h = _a.size, size = _h === void 0 ? "m" : _h, supportingText = _a.supportingText, target = _a.target, type = _a.type, form = _a.form, props = __rest(_a, ["ariaLabel", "ariaControls", "ariaExpanded", "ariaHasPopup", "fill", "href", "icon", "iconPosition", "id", "isDisabled", "isDisplayBlock", "isFullWidth", "label", "onClick", "rel", "size", "supportingText", "target", "type", "form"]);
1722
+ var ariaLabel = _a.ariaLabel, ariaControls = _a.ariaControls, ariaExpanded = _a.ariaExpanded, ariaHasPopup = _a.ariaHasPopup, _c = _a.fill, fill = _c === void 0 ? "solid" : _c, href = _a.href, icon = _a.icon, _d = _a.iconPosition, iconPosition = _d === void 0 ? "afterText" : _d, id = _a.id, _e = _a.isDisabled, isDisabled = _e === void 0 ? false : _e, _f = _a.isDisplayBlock, isDisplayBlock = _f === void 0 ? false : _f, _g = _a.isFullWidth, isFullWidth = _g === void 0 ? false : _g, label = _a.label, onClick = _a.onClick, rel = _a.rel, _h = _a.size, size = _h === void 0 ? "m" : _h, supportingText = _a.supportingText, target = _a.target, type = _a.type, form = _a.form, ref = _a.ref, props = __rest(_a, ["ariaLabel", "ariaControls", "ariaExpanded", "ariaHasPopup", "fill", "href", "icon", "iconPosition", "id", "isDisabled", "isDisplayBlock", "isFullWidth", "label", "onClick", "rel", "size", "supportingText", "target", "type", "form", "ref"]);
1723
1723
  var surface = React.useContext(Context$3).surface;
1724
1724
  var buttonClasses = classNames((_b = {
1725
1725
  "arc-Button": true,
@@ -1747,7 +1747,7 @@ var Button = React.forwardRef(function (_a, ref) {
1747
1747
  React.createElement("span", { className: "arc-Button-inner" },
1748
1748
  buttonText,
1749
1749
  buttonIcon)));
1750
- });
1750
+ };
1751
1751
  var ButtonIcon = function (_a) {
1752
1752
  var icon = _a.icon, isChevron = _a.isChevron, isBeforeText = _a.isBeforeText;
1753
1753
  return (React.createElement("span", { className: "arc-Button-icon" }, isChevron ? (React.createElement(ThemeIcon, { icon: isBeforeText ? "buttonLeft" : "buttonRight" })) : (React.createElement(Icon$1, { icon: icon }))));
@@ -1765,8 +1765,8 @@ var Spinner = function (_a) {
1765
1765
  /**
1766
1766
  * Use `ButtonV2` for our most up to date Call To Action button, offering Primary, Secondary, Tertiary, Compact and Error states.
1767
1767
  */
1768
- var ButtonV2 = React.forwardRef(function (_a, ref) {
1769
- var label = _a.label, _b = _a.buttonStyle, buttonStyle = _b === void 0 ? "primary" : _b, icon = _a.icon, iconActive = _a.iconActive, _c = _a.iconPosition, iconPosition = _c === void 0 ? "beforeText" : _c, _d = _a.size, size = _d === void 0 ? "m" : _d, ariaLabel = _a.ariaLabel, ariaControls = _a.ariaControls, ariaExpanded = _a.ariaExpanded, ariaHasPopup = _a.ariaHasPopup, _e = _a.isFullWidth, isFullWidth = _e === void 0 ? false : _e, _f = _a.isLoading, isLoading = _f === void 0 ? false : _f, isSpan = _a.isSpan, onClick = _a.onClick, href = _a.href, id = _a.id, rel = _a.rel, target = _a.target, type = _a.type, form = _a.form, props = __rest(_a, ["label", "buttonStyle", "icon", "iconActive", "iconPosition", "size", "ariaLabel", "ariaControls", "ariaExpanded", "ariaHasPopup", "isFullWidth", "isLoading", "isSpan", "onClick", "href", "id", "rel", "target", "type", "form"]);
1768
+ var ButtonV2 = function (_a) {
1769
+ var label = _a.label, _b = _a.buttonStyle, buttonStyle = _b === void 0 ? "primary" : _b, icon = _a.icon, iconActive = _a.iconActive, _c = _a.iconPosition, iconPosition = _c === void 0 ? "beforeText" : _c, _d = _a.size, size = _d === void 0 ? "m" : _d, ariaLabel = _a.ariaLabel, ariaControls = _a.ariaControls, ariaExpanded = _a.ariaExpanded, ariaHasPopup = _a.ariaHasPopup, _e = _a.isFullWidth, isFullWidth = _e === void 0 ? false : _e, _f = _a.isLoading, isLoading = _f === void 0 ? false : _f, isSpan = _a.isSpan, onClick = _a.onClick, href = _a.href, id = _a.id, rel = _a.rel, target = _a.target, type = _a.type, form = _a.form, ref = _a.ref, props = __rest(_a, ["label", "buttonStyle", "icon", "iconActive", "iconPosition", "size", "ariaLabel", "ariaControls", "ariaExpanded", "ariaHasPopup", "isFullWidth", "isLoading", "isSpan", "onClick", "href", "id", "rel", "target", "type", "form", "ref"]);
1770
1770
  var surface = React.useContext(Context$3).surface;
1771
1771
  var ButtonElement = isSpan ? "span" : "button";
1772
1772
  var iconSizes = {
@@ -1810,7 +1810,7 @@ var ButtonV2 = React.forwardRef(function (_a, ref) {
1810
1810
  return (React.createElement("a", __assign({}, commonProps, { className: ButtonV2Classes, href: href, rel: rel, "aria-haspopup": ariaHasPopup, "aria-controls": ariaControls, "aria-expanded": ariaExpanded, "aria-label": ariaLabel, target: target }), renderButtonContent()));
1811
1811
  }
1812
1812
  return (React.createElement(ButtonElement, __assign({}, commonProps, { className: ButtonV2Classes, "aria-label": ariaLabel, "aria-haspopup": ariaHasPopup, "aria-controls": ariaControls, "aria-expanded": ariaExpanded, disabled: isLoading, type: type, form: form }), renderButtonContent()));
1813
- });
1813
+ };
1814
1814
 
1815
1815
  /**
1816
1816
  * Use `ButtonGroup` to group multiple buttons together, ensuring consistent sizing, spacing,
@@ -1828,7 +1828,10 @@ var ButtonGroup = function (_a) {
1828
1828
  "arc-ButtonGroup--vertical": orientation === "vertical",
1829
1829
  }), role: "group", "aria-label": ariaLabel }, filterAttrs(props)), React.Children.map(children, function (child) {
1830
1830
  if (React.isValidElement(child) && isArcButton(child.type)) {
1831
- return React.cloneElement(child, __assign(__assign({}, child.props), { size: size, isFullWidth: isFullWidth }));
1831
+ return React.cloneElement(child, {
1832
+ size: size,
1833
+ isFullWidth: isFullWidth,
1834
+ });
1832
1835
  }
1833
1836
  return null;
1834
1837
  })));
@@ -2023,7 +2026,7 @@ function startOfMonth(dirtyDate) {
2023
2026
 
2024
2027
  /**
2025
2028
  * Do not edit directly
2026
- * Generated on Fri, 05 Dec 2025 13:50:26 GMT
2029
+ * Generated on Tue, 23 Dec 2025 14:36:38 GMT
2027
2030
  */
2028
2031
  var ArcSizeBreakpointsXs = "320px";
2029
2032
  var ArcSizeBreakpointsS = "636px";
@@ -5268,8 +5271,8 @@ function cleanEscapedString(input) {
5268
5271
 
5269
5272
  var ArcCalendarContext = React.createContext(null);
5270
5273
 
5271
- var CalendarDayNumber = React.forwardRef(function (_a, autoFocusRef) {
5272
- var date = _a.date, shouldRender = _a.shouldRender, isFocusWithinDayGrid = _a.isFocusWithinDayGrid;
5274
+ var CalendarDayNumber = function (_a) {
5275
+ var autoFocusRef = _a.ref, date = _a.date, shouldRender = _a.shouldRender, isFocusWithinDayGrid = _a.isFocusWithinDayGrid;
5273
5276
  var context = React.useContext(ArcCalendarContext);
5274
5277
  var isFocusDate = context && isEqual$1(date, context.focusDate);
5275
5278
  var tableCellRef = React.useCallback(function (el) {
@@ -5330,7 +5333,7 @@ var CalendarDayNumber = React.forwardRef(function (_a, autoFocusRef) {
5330
5333
  React.createElement("div", { className: "arc-CalendarDayNumber-buttonInner" },
5331
5334
  React.createElement(Text, { size: "s" },
5332
5335
  React.createElement("span", { "aria-hidden": true }, getDate(date)))))))));
5333
- });
5336
+ };
5334
5337
 
5335
5338
  /**
5336
5339
  * Do not edit directly
@@ -8435,15 +8438,16 @@ var FormControl = function (_a) {
8435
8438
 
8436
8439
  /** Use `CheckboxIcon` to display a visual checkbox indicator that reflects a checked, unchecked, or indeterminate state. */
8437
8440
  var CheckboxIcon = function (_a) {
8438
- var id = _a.id, name = _a.name, checked = _a.checked, _b = _a.indeterminate, indeterminate = _b === void 0 ? false : _b, isDisabled = _a.isDisabled, isRequired = _a.isRequired, _c = _a.size, size = _c === void 0 ? "m" : _c, value = _a.value, error = _a.error, ariaDescribedBy = _a.ariaDescribedBy, onBlur = _a.onBlur, onChange = _a.onChange, props = __rest(_a, ["id", "name", "checked", "indeterminate", "isDisabled", "isRequired", "size", "value", "error", "ariaDescribedBy", "onBlur", "onChange"]);
8441
+ var id = _a.id, name = _a.name, checked = _a.checked, _b = _a.indeterminate, indeterminate = _b === void 0 ? false : _b, isDisabled = _a.isDisabled, isRequired = _a.isRequired, _c = _a.size, size = _c === void 0 ? "m" : _c, value = _a.value, error = _a.error, ariaDescribedBy = _a.ariaDescribedBy, onBlur = _a.onBlur, onChange = _a.onChange, ref = _a.ref, props = __rest(_a, ["id", "name", "checked", "indeterminate", "isDisabled", "isRequired", "size", "value", "error", "ariaDescribedBy", "onBlur", "onChange", "ref"]);
8439
8442
  var requirementStatus = React.useContext(Context$2).requirementStatus;
8440
8443
  var internalRef = React.useRef(null);
8441
8444
  var surface = React.useContext(Context$3).surface;
8445
+ var inputRef = (ref || internalRef);
8442
8446
  React.useEffect(function () {
8443
- if (internalRef.current) {
8444
- internalRef.current.indeterminate = indeterminate;
8447
+ if (inputRef.current) {
8448
+ inputRef.current.indeterminate = indeterminate;
8445
8449
  }
8446
- }, [indeterminate, checked]);
8450
+ }, [indeterminate, checked, inputRef]);
8447
8451
  var tickSize = {
8448
8452
  s: 14,
8449
8453
  m: 18,
@@ -8471,7 +8475,7 @@ var CheckboxIcon = function (_a) {
8471
8475
  ? true
8472
8476
  : indeterminate && checked
8473
8477
  ? "mixed"
8474
- : false, className: classNames("arc-CheckboxIcon-input"), disabled: isDisabled, id: id, name: name, onBlur: onBlur, onChange: onChange, ref: internalRef, required: isRequired, type: "checkbox", value: value }, checkedProps, props)),
8478
+ : false, className: classNames("arc-CheckboxIcon-input"), disabled: isDisabled, id: id, name: name, onBlur: onBlur, onChange: onChange, ref: inputRef, required: isRequired, type: "checkbox", value: value }, checkedProps, props)),
8475
8479
  React.createElement("span", { className: classNames("arc-CheckboxIcon-box") }, indeterminate ? (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", fill: "none" },
8476
8480
  React.createElement("rect", { x: "4", y: "8", width: "7.51", height: "1", rx: "0.5", fill: "currentColor" }))) : (React.createElement(ThemeIcon, { icon: "checkboxChecked", size: tickSize[size] })))));
8477
8481
  };
@@ -8479,8 +8483,8 @@ var CheckboxIcon = function (_a) {
8479
8483
  /**
8480
8484
  * Use `Checkbox` to allow users to select individual options.
8481
8485
  */
8482
- var Checkbox = React.forwardRef(function (_a) {
8483
- var _b = _a.checked, checked = _b === void 0 ? false : _b, errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isRequired, isRequired = _d === void 0 ? false : _d, label = _a.label, _e = _a.hideLabel, hideLabel = _e === void 0 ? false : _e, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _f = _a.size, size = _f === void 0 ? "m" : _f, value = _a.value, _g = _a.checkboxAlignment, checkboxAlignment = _g === void 0 ? "center" : _g, _h = _a.indeterminate, indeterminate = _h === void 0 ? false : _h, _j = _a.isError, isError = _j === void 0 ? false : _j, _k = _a.isErrorAlert, isErrorAlert = _k === void 0 ? false : _k, props = __rest(_a, ["checked", "errorMessage", "helper", "id", "isDisabled", "isRequired", "label", "hideLabel", "name", "onBlur", "onChange", "size", "value", "checkboxAlignment", "indeterminate", "isError", "isErrorAlert"]);
8486
+ var Checkbox = function (_a) {
8487
+ var _b = _a.checked, checked = _b === void 0 ? false : _b, errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isRequired, isRequired = _d === void 0 ? false : _d, label = _a.label, _e = _a.hideLabel, hideLabel = _e === void 0 ? false : _e, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _f = _a.size, size = _f === void 0 ? "m" : _f, value = _a.value, _g = _a.checkboxAlignment, checkboxAlignment = _g === void 0 ? "center" : _g, _h = _a.indeterminate, indeterminate = _h === void 0 ? false : _h, _j = _a.isError, isError = _j === void 0 ? false : _j, _k = _a.isErrorAlert, isErrorAlert = _k === void 0 ? false : _k, ref = _a.ref, props = __rest(_a, ["checked", "errorMessage", "helper", "id", "isDisabled", "isRequired", "label", "hideLabel", "name", "onBlur", "onChange", "size", "value", "checkboxAlignment", "indeterminate", "isError", "isErrorAlert", "ref"]);
8484
8488
  var requirementStatus = React.useContext(Context$2).requirementStatus;
8485
8489
  var surface = React.useContext(Context$3).surface;
8486
8490
  var idError = useAriaDescribedby({
@@ -8498,7 +8502,7 @@ var Checkbox = React.forwardRef(function (_a) {
8498
8502
  "arc-Checkbox--invalid": errorMessage || isError,
8499
8503
  "arc-Checkbox--small": size === "s",
8500
8504
  "arc-Checkbox--onDarkSurface": surface === "dark",
8501
- }) }, filterAttrs(props)),
8505
+ }), ref: ref }, filterAttrs(props)),
8502
8506
  React.createElement("label", { id: idLabel, htmlFor: id, className: classNames("arc-Checkbox-label", {
8503
8507
  "arc-Checkbox-label--top": checkboxAlignment === "top",
8504
8508
  }) },
@@ -8508,15 +8512,15 @@ var Checkbox = React.forwardRef(function (_a) {
8508
8512
  })), hideLabel ? (React.createElement(VisuallyHidden$2, null,
8509
8513
  label,
8510
8514
  !isRequired && requirementStatus !== "optional" ? (React.createElement("span", { className: "arc-Checkbox-labelOptional" }, "(optional)")) : null,
8511
- helper && (React.createElement("span", { className: "arc-Checkbox-helper" }, helper)))) : (React.createElement(React.Fragment, null,
8515
+ helper && React.createElement("span", { className: "arc-Checkbox-helper" }, helper))) : (React.createElement(React.Fragment, null,
8512
8516
  label,
8513
8517
  !isRequired && requirementStatus !== "optional" ? (React.createElement("span", { className: "arc-Checkbox-labelOptional" }, "(optional)")) : null,
8514
- helper && (React.createElement("span", { className: "arc-Checkbox-helper" }, helper)))))),
8518
+ helper && React.createElement("span", { className: "arc-Checkbox-helper" }, helper))))),
8515
8519
  errorMessage && (React.createElement("div", { id: idError, className: "arc-Checkbox-error", role: isErrorAlert ? "alert" : undefined },
8516
8520
  React.createElement("span", { className: "arc-Checkbox-error--icon", "aria-label": "Error. " },
8517
8521
  React.createElement(ThemeIcon, { icon: "checkboxError" })),
8518
8522
  errorMessage))));
8519
- });
8523
+ };
8520
8524
 
8521
8525
  /**
8522
8526
  * Use `Columns` to compose layouts on a 12-column grid. Place within `Section` components to align with any sibling `Grid` components.
@@ -9249,9 +9253,9 @@ var count = 0;
9249
9253
  function useId(deterministicId) {
9250
9254
  const [id, setId] = React__namespace.useState(useReactId());
9251
9255
  useLayoutEffect2(() => {
9252
- if (!deterministicId) setId((reactId) => reactId ?? String(count++));
9256
+ setId((reactId) => reactId ?? String(count++));
9253
9257
  }, [deterministicId]);
9254
- return deterministicId || (id ? `radix-${id}` : "");
9258
+ return (id ? `radix-${id}` : "");
9255
9259
  }
9256
9260
 
9257
9261
  /**
@@ -13103,8 +13107,8 @@ var reducer = function (initialOptions) {
13103
13107
  };
13104
13108
 
13105
13109
  /** Use `ComboBox` to provide a searchable dropdown list that allows users to select from or filter through multiple options. */
13106
- var ComboBox = React.forwardRef(function (_a, ref) {
13107
- var name = _a.name, onBlur = _a.onBlur, onFocus = _a.onFocus, label = _a.label, helper = _a.helper, id = _a.id, initialOptions = _a.options, hideLabel = _a.hideLabel, isFluid = _a.isFluid, errorMessage = _a.errorMessage, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, listBoxAriaLabel = _a.listBoxAriaLabel, _b = _a.defaultValue, defaultValue = _b === void 0 ? "" : _b, _c = _a.labelSize, labelSize = _c === void 0 ? "l" : _c, _d = _a.isMultiSelectable, isMultiSelectable = _d === void 0 ? false : _d, _e = _a.isDisabled, isDisabled = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, _g = _a.isAutocomplete, isAutocomplete = _g === void 0 ? false : _g, props = __rest(_a, ["name", "onBlur", "onFocus", "label", "helper", "id", "options", "hideLabel", "isFluid", "errorMessage", "disclosureTitle", "disclosureText", "onClickDisclosure", "listBoxAriaLabel", "defaultValue", "labelSize", "isMultiSelectable", "isDisabled", "isRequired", "isAutocomplete"]);
13110
+ var ComboBox = function (_a) {
13111
+ var ref = _a.ref, name = _a.name, onBlur = _a.onBlur, onFocus = _a.onFocus, label = _a.label, helper = _a.helper, id = _a.id, initialOptions = _a.options, hideLabel = _a.hideLabel, isFluid = _a.isFluid, errorMessage = _a.errorMessage, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, listBoxAriaLabel = _a.listBoxAriaLabel, _b = _a.defaultValue, defaultValue = _b === void 0 ? "" : _b, _c = _a.labelSize, labelSize = _c === void 0 ? "l" : _c, _d = _a.isMultiSelectable, isMultiSelectable = _d === void 0 ? false : _d, _e = _a.isDisabled, isDisabled = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, _g = _a.isAutocomplete, isAutocomplete = _g === void 0 ? false : _g, props = __rest(_a, ["ref", "name", "onBlur", "onFocus", "label", "helper", "id", "options", "hideLabel", "isFluid", "errorMessage", "disclosureTitle", "disclosureText", "onClickDisclosure", "listBoxAriaLabel", "defaultValue", "labelSize", "isMultiSelectable", "isDisabled", "isRequired", "isAutocomplete"]);
13108
13112
  var listBoxId = React.useId();
13109
13113
  var listItemRefs = React.useRef([]);
13110
13114
  var containerRef = React.useRef(null);
@@ -13140,9 +13144,7 @@ var ComboBox = React.forwardRef(function (_a, ref) {
13140
13144
  var selectedOptionIsAboveOverFlow = listItemEl.offsetTop < listEl.scrollTop;
13141
13145
  if (selectedOptionIsBelowOverFlow) {
13142
13146
  listEl.scrollTop =
13143
- listItemEl.offsetTop +
13144
- listItemEl.offsetHeight -
13145
- listEl.offsetHeight;
13147
+ listItemEl.offsetTop + listItemEl.offsetHeight - listEl.offsetHeight;
13146
13148
  }
13147
13149
  if (selectedOptionIsAboveOverFlow) {
13148
13150
  listEl.scrollTop = listItemEl.offsetTop;
@@ -13255,7 +13257,9 @@ var ComboBox = React.forwardRef(function (_a, ref) {
13255
13257
  React.createElement(Content2$4, { align: "start", sideOffset: 5, onInteractOutside: onInteractOutside, onOpenAutoFocus: onOpenAutoFocus },
13256
13258
  React.createElement("div", { className: "arc-ComboBox-listboxContainer" },
13257
13259
  React.createElement(Box, { elevationLevel: "1" },
13258
- React.createElement("ul", { ref: setScrollPosition, id: listBoxId, className: "arc-ComboBox-list", role: "listbox", "aria-label": listBoxAriaLabel, "aria-multiselectable": isMultiSelectable }, options.length ? (options.map(function (option, i) { return (React.createElement("li", { id: "".concat(listBoxId, "-").concat(i), ref: function (el) { return (listItemRefs.current[i] = el); }, key: option, className: classNames("arc-ComboBox-listItem", {
13260
+ React.createElement("ul", { ref: setScrollPosition, id: listBoxId, className: "arc-ComboBox-list", role: "listbox", "aria-label": listBoxAriaLabel, "aria-multiselectable": isMultiSelectable }, options.length ? (options.map(function (option, i) { return (React.createElement("li", { id: "".concat(listBoxId, "-").concat(i), ref: function (el) {
13261
+ listItemRefs.current[i] = el;
13262
+ }, key: option, className: classNames("arc-ComboBox-listItem", {
13259
13263
  "arc-ComboBox-listItem--highlighted": i === highlightedOptionIndex,
13260
13264
  }), onMouseDown: onItemClick(option), role: "option", "aria-selected": isSelected(option, selectedOptions) },
13261
13265
  React.createElement("div", { className: "arc-ComboBox-listItemText" }, option),
@@ -13263,7 +13267,7 @@ var ComboBox = React.forwardRef(function (_a, ref) {
13263
13267
  "arc-ComboBox-listItemIcon--visible": isSelected(option, selectedOptions),
13264
13268
  }) },
13265
13269
  React.createElement(ThemeIcon, { size: 20, icon: "selectIndicator" })))); })) : (React.createElement("li", { className: "arc-ComboBox-listItem", role: "option", "aria-selected": false, "aria-disabled": true }, "No matches found")))))))))));
13266
- });
13270
+ };
13267
13271
 
13268
13272
  function _extends() {
13269
13273
  return _extends = Object.assign ? Object.assign.bind() : function (n) {
@@ -14230,11 +14234,12 @@ var ContentSwitcher = function (_a) {
14230
14234
  React.createElement($69cb30bb0017df05$export$be92b6f5f03c0fe9, __assign({ className: "arc-ContentSwitcher-root", defaultValue: defaultValue, onValueChange: onValueChange, activationMode: activationMode, value: value }, filterAttrs(props)), children)));
14231
14235
  };
14232
14236
 
14233
- var ContentSwitcherTab = React.forwardRef(function (_a, ref) {
14234
- var label = _a.label, value = _a.value, onClick = _a.onClick, onFocus = _a.onFocus, props = __rest(_a, ["label", "value", "onClick", "onFocus"]);
14235
- return (React.createElement($69cb30bb0017df05$export$41fb9f06171c75f4, __assign({ className: "arc-ContentSwitcherTab", value: value, ref: ref, onClick: onClick, onFocus: onFocus }, filterAttrs(props)),
14236
- React.createElement(Text, { size: "m" }, label)));
14237
- });
14237
+ var ContentSwitcherTab = function (_a) {
14238
+ var label = _a.label, value = _a.value, onClick = _a.onClick, onFocus = _a.onFocus, ref = _a.ref, props = __rest(_a, ["label", "value", "onClick", "onFocus", "ref"]);
14239
+ return (React.createElement(Surface, { isTransparent: true },
14240
+ React.createElement($69cb30bb0017df05$export$41fb9f06171c75f4, __assign({ className: "arc-ContentSwitcherTab", value: value, ref: ref, onClick: onClick, onFocus: onFocus }, filterAttrs(props)),
14241
+ React.createElement(Text, { size: "m" }, label))));
14242
+ };
14238
14243
 
14239
14244
  var ContentSwitcherContent = function (_a) {
14240
14245
  var children = _a.children, value = _a.value, _b = _a.hidden, hidden = _b === void 0 ? undefined : _b, _c = _a.forceMount, forceMount = _c === void 0 ? true : _c, props = __rest(_a, ["children", "value", "hidden", "forceMount"]);
@@ -14300,14 +14305,23 @@ var ContentSwitcherList = function (_a) {
14300
14305
  "arc-ContentSwitcherList--isJustified": isJustified,
14301
14306
  }), ref: listRef, "aria-label": ariaLabel }, filterAttrs(props)),
14302
14307
  React.createElement("div", { className: "arc-ContentSwitcherList-inner" }, React.Children.map(children, function (child, index) {
14303
- if (tabRefs) {
14308
+ if (!React.isValidElement(child)) {
14309
+ return null;
14310
+ }
14311
+ if (tabRefs.current[index] !== null) {
14304
14312
  return React.cloneElement(child, {
14305
- ref: function (el) { return (tabRefs.current[index] = el); },
14313
+ ref: function (el) {
14314
+ tabRefs.current[index] = el;
14315
+ },
14306
14316
  onClick: function () {
14307
- return scrollTabIntoView({ current: tabRefs.current[index] });
14317
+ var el = tabRefs.current[index];
14318
+ if (el)
14319
+ scrollTabIntoView({ current: el });
14308
14320
  },
14309
14321
  onFocus: function () {
14310
- return scrollTabIntoView({ current: tabRefs.current[index] });
14322
+ var el = tabRefs.current[index];
14323
+ if (el)
14324
+ scrollTabIntoView({ current: el });
14311
14325
  },
14312
14326
  });
14313
14327
  }
@@ -17083,9 +17097,9 @@ var TrailingSlot = function (_a) {
17083
17097
  };
17084
17098
 
17085
17099
  /** Use `TextInput` as a single-line field that allows users to enter short text, such as names, email, search queries or passwords. */
17086
- var TextInputComponent = React.forwardRef(function (_a, ref) {
17100
+ var TextInputComponent = function (_a) {
17087
17101
  var _b;
17088
- var _c = _a.defaultValue, defaultValue = _c === void 0 ? "" : _c, errorMessage = _a.errorMessage, helper = _a.helper, hideLabel = _a.hideLabel, id = _a.id, inputMode = _a.inputMode, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, label = _a.label, maxLength = _a.maxLength, minLength = _a.minLength, name = _a.name, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, placeholder = _a.placeholder, onClickDisclosure = _a.onClickDisclosure, pattern = _a.pattern, _g = _a.type, type = _g === void 0 ? "text" : _g, _h = _a.showPassword, showPassword = _h === void 0 ? false : _h, value = _a.value, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, _j = _a.size, size = _j === void 0 ? "m" : _j, leadingSlot = _a.leadingSlot, trailingSlot = _a.trailingSlot, _k = _a.inputAlignment, inputAlignment = _k === void 0 ? "left" : _k, width = _a.width, autoComplete = _a.autoComplete, isLoading = _a.isLoading, isErrorAlert = _a.isErrorAlert, prefix = _a.prefix, suffix = _a.suffix, clearButton = _a.clearButton, props = __rest(_a, ["defaultValue", "errorMessage", "helper", "hideLabel", "id", "inputMode", "isDisabled", "isReadOnly", "isRequired", "label", "maxLength", "minLength", "name", "onBlur", "onFocus", "onChange", "placeholder", "onClickDisclosure", "pattern", "type", "showPassword", "value", "disclosureTitle", "disclosureText", "size", "leadingSlot", "trailingSlot", "inputAlignment", "width", "autoComplete", "isLoading", "isErrorAlert", "prefix", "suffix", "clearButton"]);
17102
+ var ref = _a.ref, _c = _a.defaultValue, defaultValue = _c === void 0 ? "" : _c, errorMessage = _a.errorMessage, helper = _a.helper, hideLabel = _a.hideLabel, id = _a.id, inputMode = _a.inputMode, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, label = _a.label, maxLength = _a.maxLength, minLength = _a.minLength, name = _a.name, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, placeholder = _a.placeholder, onClickDisclosure = _a.onClickDisclosure, pattern = _a.pattern, _g = _a.type, type = _g === void 0 ? "text" : _g, _h = _a.showPassword, showPassword = _h === void 0 ? false : _h, value = _a.value, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, _j = _a.size, size = _j === void 0 ? "m" : _j, leadingSlot = _a.leadingSlot, trailingSlot = _a.trailingSlot, _k = _a.inputAlignment, inputAlignment = _k === void 0 ? "left" : _k, width = _a.width, autoComplete = _a.autoComplete, isLoading = _a.isLoading, isErrorAlert = _a.isErrorAlert, prefix = _a.prefix, suffix = _a.suffix, clearButton = _a.clearButton, props = __rest(_a, ["ref", "defaultValue", "errorMessage", "helper", "hideLabel", "id", "inputMode", "isDisabled", "isReadOnly", "isRequired", "label", "maxLength", "minLength", "name", "onBlur", "onFocus", "onChange", "placeholder", "onClickDisclosure", "pattern", "type", "showPassword", "value", "disclosureTitle", "disclosureText", "size", "leadingSlot", "trailingSlot", "inputAlignment", "width", "autoComplete", "isLoading", "isErrorAlert", "prefix", "suffix", "clearButton"]);
17089
17103
  var _l = React.useState(false), showPasswordToggle = _l[0], setShowPasswordToggle = _l[1];
17090
17104
  var inferredInputProps = useNumericInput({
17091
17105
  inputMode: inputMode,
@@ -17124,12 +17138,12 @@ var TextInputComponent = React.forwardRef(function (_a, ref) {
17124
17138
  isLoading ||
17125
17139
  (clearButton === null || clearButton === void 0 ? void 0 : clearButton.onClick)) && (React.createElement(TrailingSlot, { showPassword: showPassword, isReadOnly: isReadOnly, isLoading: isLoading, clearButton: clearButton, trailingSlot: trailingSlot, isPasswordVisible: showPasswordToggle, onTogglePassword: function () { return setShowPasswordToggle(function (prev) { return !prev; }); }, size: size, isDisabled: isDisabled })),
17126
17140
  suffix && (React.createElement("span", { className: "arc-TextInput-suffix arc-TextInput-affixes", "aria-hidden": true }, suffix))))));
17127
- });
17141
+ };
17128
17142
  /**
17129
17143
  * Use `TextInput` to allow users to enter short form text.
17130
17144
  */
17131
- var TextInput = React.forwardRef(function (props, ref) { return React.createElement(TextInputComponent, __assign({ ref: ref }, props)); });
17132
- var TextInputWithPlaceHolder = React.forwardRef(function (props, ref) { return React.createElement(TextInputComponent, __assign({ ref: ref }, props)); });
17145
+ var TextInput = function (props) { return (React.createElement(TextInputComponent, __assign({}, props))); };
17146
+ var TextInputWithPlaceHolder = function (props) { return React.createElement(TextInputComponent, __assign({}, props)); };
17133
17147
 
17134
17148
  var formatDate = function (value) {
17135
17149
  return format(value, DATE_FORMAT);
@@ -17264,8 +17278,8 @@ function validateRangeOnBlur(_a) {
17264
17278
  /**
17265
17279
  * Use `DatePicker` to clearly present available dates and allow users to choose a way to enter information.
17266
17280
  */
17267
- var DatePicker = React.forwardRef(function (_a, ref) {
17268
- var errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, label = _a.label, isDisabled = _a.isDisabled, isReadOnly = _a.isReadOnly, isRequired = _a.isRequired, _b = _a.size, size = _b === void 0 ? "m" : _b, _c = _a.value, value = _c === void 0 ? "" : _c, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, onDateSelect = _a.onDateSelect, onRangeSelect = _a.onRangeSelect, onClickDisclosure = _a.onClickDisclosure, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, type = _a.type, _d = _a.isFluid, isFluid = _d === void 0 ? false : _d, _e = _a.selectionType, selectionType = _e === void 0 ? "single" : _e, disabledDates = _a.disabledDates, minDate = _a.minDate, maxDate = _a.maxDate, props = __rest(_a, ["errorMessage", "helper", "id", "label", "isDisabled", "isReadOnly", "isRequired", "size", "value", "name", "onBlur", "onChange", "onDateSelect", "onRangeSelect", "onClickDisclosure", "disclosureTitle", "disclosureText", "type", "isFluid", "selectionType", "disabledDates", "minDate", "maxDate"]);
17281
+ var DatePicker = function (_a) {
17282
+ var errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, label = _a.label, isDisabled = _a.isDisabled, isReadOnly = _a.isReadOnly, isRequired = _a.isRequired, _b = _a.size, size = _b === void 0 ? "m" : _b, _c = _a.value, value = _c === void 0 ? "" : _c, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, onDateSelect = _a.onDateSelect, onRangeSelect = _a.onRangeSelect, onClickDisclosure = _a.onClickDisclosure, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, type = _a.type, _d = _a.isFluid, isFluid = _d === void 0 ? false : _d, _e = _a.selectionType, selectionType = _e === void 0 ? "single" : _e, disabledDates = _a.disabledDates, minDate = _a.minDate, maxDate = _a.maxDate, ref = _a.ref, props = __rest(_a, ["errorMessage", "helper", "id", "label", "isDisabled", "isReadOnly", "isRequired", "size", "value", "name", "onBlur", "onChange", "onDateSelect", "onRangeSelect", "onClickDisclosure", "disclosureTitle", "disclosureText", "type", "isFluid", "selectionType", "disabledDates", "minDate", "maxDate", "ref"]);
17269
17283
  var _f = useThemeElement(), themeElement = _f[0], setThemeElement = _f[1];
17270
17284
  var _g = React.useState("Choose date"), ariaLabel = _g[0], setAriaLabel = _g[1];
17271
17285
  var _h = React.useState(false), showCalendar = _h[0], setShowCalendar = _h[1];
@@ -17409,7 +17423,7 @@ var DatePicker = React.forwardRef(function (_a, ref) {
17409
17423
  React.createElement(Portal$5, { container: themeElement },
17410
17424
  React.createElement(Content2$4, { align: "start", "aria-modal": "true", "aria-label": "Choose Date", className: "arc-DatePicker-modal", onOpenAutoFocus: handleAutoFocus, onCloseAutoFocus: handleCalendarClose },
17411
17425
  React.createElement(Calendar, { autoFocusOnMount: true, type: type, onCancelClick: onCancelClick, selectionType: selectionType, selectedDate: convertDateStringToDate(value), selectedRange: convertRangeStringToDates(value), disabledDates: disabledDates, minDate: minDate, maxDate: maxDate, onDateSelect: handleDateSelect, onRangeSelect: handleRangeSelect }))))));
17412
- });
17426
+ };
17413
17427
 
17414
17428
  var lowerCaseDateFormat = DATE_FORMAT.toLowerCase();
17415
17429
  var DatePickerRange = function (_a) {
@@ -17974,6 +17988,17 @@ var Drawer = function (_a) {
17974
17988
  var newHeight = dragRef.current.startH - dragRef.current.deltaY;
17975
17989
  setDrawerHeight(Math.round(newHeight));
17976
17990
  };
17991
+ var onHandleDown = function (e) {
17992
+ if (!contentRef.current)
17993
+ return;
17994
+ dragRef.current.active = true;
17995
+ // record where the pointer was when dragging started
17996
+ dragRef.current.startY = e.clientY;
17997
+ // record inital height of drawer
17998
+ dragRef.current.startH = contentRef.current.clientHeight;
17999
+ // keep moving drawer even if cursor has left pill
18000
+ e.target.setPointerCapture(e.pointerId);
18001
+ };
17977
18002
  var resolveToPx = function (input) {
17978
18003
  // if already a number, assume px
17979
18004
  if (typeof input === "number")
@@ -17990,19 +18015,24 @@ var Drawer = function (_a) {
17990
18015
  var numericValue = Number(str);
17991
18016
  return Number.isFinite(numericValue) ? numericValue : undefined;
17992
18017
  };
17993
- var onHandleUpCore = function (e) {
17994
- if (!dragRef.current.active || !contentRef.current)
18018
+ var onHandleUpCore = function (e, keyboardDeltaY) {
18019
+ if (!contentRef.current)
17995
18020
  return;
18021
+ // if the user scrolls down
17996
18022
  if (dragDownToDismiss && contentRef.current.clientHeight < 100) {
17997
18023
  dragRef.current.active = false;
17998
18024
  dragRef.current.deltaY = 0;
17999
- e.currentTarget.releasePointerCapture(e.pointerId);
18025
+ if (e instanceof PointerEvent && (e === null || e === void 0 ? void 0 : e.currentTarget)) {
18026
+ e.currentTarget.releasePointerCapture(e.pointerId);
18027
+ }
18000
18028
  setDrawerHeight(undefined);
18001
18029
  onRequestClose();
18002
18030
  return;
18003
18031
  }
18004
18032
  dragRef.current.active = false;
18005
- e.currentTarget.releasePointerCapture(e.pointerId);
18033
+ if (e instanceof PointerEvent && (e === null || e === void 0 ? void 0 : e.currentTarget)) {
18034
+ e.currentTarget.releasePointerCapture(e.pointerId);
18035
+ }
18006
18036
  var currentHeight = contentRef.current.clientHeight;
18007
18037
  // turn all snapPoints into px values. Order the values.
18008
18038
  var snapsPx = (normalisedSnapPoints !== null && normalisedSnapPoints !== void 0 ? normalisedSnapPoints : [])
@@ -18010,9 +18040,9 @@ var Drawer = function (_a) {
18010
18040
  .filter(function (value) { return value !== undefined; }) // remove undefined values
18011
18041
  .sort(function (a, b) { return a - b; });
18012
18042
  var targetSnap = undefined;
18043
+ var deltaY = Math.sign(dragRef.current.deltaY);
18013
18044
  if (snapBehaviour === "next") {
18014
- var deltaY = Math.sign(dragRef.current.deltaY);
18015
- if (deltaY === -1) {
18045
+ if (deltaY <= -1) {
18016
18046
  // User scrolled up
18017
18047
  for (var i = 0; i < snapsPx.length; i++) {
18018
18048
  if (snapsPx[i] > currentHeight) {
@@ -18024,7 +18054,7 @@ var Drawer = function (_a) {
18024
18054
  }
18025
18055
  }
18026
18056
  }
18027
- else if (deltaY === 1) {
18057
+ else if (deltaY >= 1) {
18028
18058
  // User scrolled down
18029
18059
  for (var i = 0; i < snapsPx.length; i++) {
18030
18060
  if (snapsPx[i] < currentHeight) {
@@ -18065,17 +18095,6 @@ var Drawer = function (_a) {
18065
18095
  }
18066
18096
  setDrawerHeight(targetSnap);
18067
18097
  };
18068
- var onHandleDown = function (e) {
18069
- if (!contentRef.current)
18070
- return;
18071
- dragRef.current.active = true;
18072
- // record where the pointer was when dragging started
18073
- dragRef.current.startY = e.clientY;
18074
- // record inital height of drawer
18075
- dragRef.current.startH = contentRef.current.clientHeight;
18076
- // keep moving drawer even if cursor has left pill
18077
- e.target.setPointerCapture(e.pointerId);
18078
- };
18079
18098
  return (React.createElement("div", { ref: setThemeElement },
18080
18099
  React.createElement(Root$1, { open: isOpen },
18081
18100
  React.createElement(Portal$1, { container: themeElement },
@@ -18092,16 +18111,16 @@ var Drawer = function (_a) {
18092
18111
  React.createElement("button", { "aria-label": "close", onClick: onRequestClose, className: "arc-Drawer-closeButton" },
18093
18112
  React.createElement(ThemeIcon, { size: 32, icon: "drawerClose" })),
18094
18113
  draggable && position === "bottom" && (React.createElement("div", { className: "arc-Drawer-dragHandle", onPointerDown: onHandleDown, onPointerUp: onHandleUp, onPointerMove: onHandleMove, onClick: onHandleClick, role: "separator", "aria-label": "Drag to resize the drawer" },
18095
- React.createElement("div", { className: "arc-Drawer-dragHandlePill", "data-testid": "arc-Drawer-dragHandlePill" })))),
18114
+ React.createElement("div", { className: "arc-Drawer-dragHandlePill", tabIndex: -1, "data-testid": "arc-Drawer-dragHandlePill" })))),
18096
18115
  children)))))));
18097
18116
  };
18098
18117
 
18099
18118
  /**
18100
18119
  * Use `Rule` to display a horizontal or vertical rule.
18101
18120
  */
18102
- var Rule = function (_a, props) {
18121
+ var Rule = function (_a) {
18103
18122
  var _b;
18104
- var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c;
18123
+ var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c, props = __rest(_a, ["orientation"]);
18105
18124
  var surface = React.useContext(Context$3).surface;
18106
18125
  return (React.createElement("hr", __assign({ className: classNames((_b = {
18107
18126
  "arc-Rule": true
@@ -18112,24 +18131,27 @@ var Rule = function (_a, props) {
18112
18131
  };
18113
18132
 
18114
18133
  var DrawerHeader = function (_a) {
18115
- var title = _a.title, _b = _a.isFixed, isFixed = _b === void 0 ? false : _b, isResponsive = _a.isResponsive, props = __rest(_a, ["title", "isFixed", "isResponsive"]);
18134
+ var title = _a.title, _b = _a.isFixed, isFixed = _b === void 0 ? false : _b, isResponsive = _a.isResponsive, children = _a.children, _c = _a.isFullBleed, isFullBleed = _c === void 0 ? false : _c, _d = _a.titleWordWrap, titleWordWrap = _d === void 0 ? false : _d, props = __rest(_a, ["title", "isFixed", "isResponsive", "children", "isFullBleed", "titleWordWrap"]);
18116
18135
  return (React.createElement(React.Fragment, null,
18117
18136
  React.createElement("div", __assign({ className: classNames("arc-DrawerHeader", {
18118
18137
  "arc-DrawerHeader--isFixed": isFixed,
18138
+ "arc-DrawerHeader--isFullBleed": isFullBleed,
18119
18139
  }) }, filterAttrs(props)),
18120
18140
  React.createElement("div", { className: "arc-DrawerHeader-content" },
18121
- React.createElement("div", { className: "arc-DrawerHeader-titleContainer" },
18141
+ title && !children && (React.createElement("div", { className: "arc-DrawerHeader-titleContainer" },
18122
18142
  React.createElement(Title, { asChild: true },
18123
- React.createElement(Heading, { isResponsive: isResponsive, size: "m" }, title)))),
18143
+ React.createElement(Heading, { isResponsive: isResponsive, size: "m", isWordWrap: titleWordWrap }, title)))),
18144
+ children && !title && children),
18124
18145
  isFixed && (React.createElement("div", { className: "arc-DrawerHeader-divider" },
18125
18146
  React.createElement(Rule, null))))));
18126
18147
  };
18127
18148
 
18128
18149
  var DrawerFooter = function (_a) {
18129
- var isFixed = _a.isFixed, children = _a.children;
18150
+ var isFixed = _a.isFixed, _b = _a.isFullBleed, isFullBleed = _b === void 0 ? false : _b, children = _a.children;
18130
18151
  return (React.createElement(React.Fragment, null,
18131
18152
  React.createElement("div", { className: classNames("arc-DrawerFooter", {
18132
18153
  "arc-DrawerFooter--isFixed": isFixed,
18154
+ "arc-DrawerFooter--isFullBleed": isFullBleed,
18133
18155
  }) },
18134
18156
  isFixed && (React.createElement("div", { className: "arc-DrawerFooter-divider" },
18135
18157
  React.createElement(Rule, null))),
@@ -18258,13 +18280,13 @@ var FilterItem = function (_a) {
18258
18280
  * Use `GhostedHeroBanner` to grab attention and convey the main message or purpose of a webpage
18259
18281
  */
18260
18282
  var GhostedHeroBanner = function (_a) {
18261
- var heading = _a.heading, headingLevel = _a.headingLevel, label = _a.label, text = _a.text, img = _a.img, children = _a.children, _b = _a.fontStyle, fontStyle = _b === void 0 ? "default" : _b, props = __rest(_a, ["heading", "headingLevel", "label", "text", "img", "children", "fontStyle"]);
18283
+ var heading = _a.heading, headingLevel = _a.headingLevel, label = _a.label, text = _a.text, img = _a.img, children = _a.children, _b = _a.fontStyle, fontStyle = _b === void 0 ? "default" : _b, _c = _a.headingWordWrap, headingWordWrap = _c === void 0 ? false : _c, props = __rest(_a, ["heading", "headingLevel", "label", "text", "img", "children", "fontStyle", "headingWordWrap"]);
18262
18284
  return (React.createElement("div", __assign({ className: "arc-GhostedHeroBanner" }, filterAttrs(props)),
18263
18285
  React.createElement("div", { className: "arc-GhostedHeroBanner-content" },
18264
18286
  label && (React.createElement(React.Fragment, null,
18265
18287
  React.createElement(Heading, { fontStyle: "overline" }, label),
18266
18288
  React.createElement(VerticalSpace, { size: "8" }))),
18267
- React.createElement(Heading, { level: headingLevel, size: fontStyle === "default" ? "xl" : "xxl", fontStyle: fontStyle }, heading),
18289
+ React.createElement(Heading, { level: headingLevel, size: fontStyle === "default" ? "xl" : "xxl", fontStyle: fontStyle, isWordWrap: headingWordWrap }, heading),
18268
18290
  text && (React.createElement(React.Fragment, null,
18269
18291
  React.createElement(VerticalSpace, { size: "16" }),
18270
18292
  React.createElement("span", { className: "arc-TemplateBanner-text" }, text))),
@@ -18465,11 +18487,11 @@ var GroupItem = function (_a) {
18465
18487
 
18466
18488
  /** Use `HeroBanner` to promote key content or products with bold visuals and messaging. */
18467
18489
  var HeroBanner = function (_a) {
18468
- var heading = _a.heading, label = _a.label, text = _a.text, img = _a.img, _b = _a.contentRatio, contentRatio = _b === void 0 ? "1/1" : _b, children = _a.children, minHeight = _a.minHeight, _c = _a.isReversed, isReversed = _c === void 0 ? false : _c, _d = _a.isElevated, isElevated = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.extendBeyondContainer, extendBeyondContainer = _f === void 0 ? false : _f, _g = _a.type, type = _g === void 0 ? "light" : _g, _h = _a.fontStyle, fontStyle = _h === void 0 ? "default" : _h, props = __rest(_a, ["heading", "label", "text", "img", "contentRatio", "children", "minHeight", "isReversed", "isElevated", "headingLevel", "extendBeyondContainer", "type", "fontStyle"]);
18490
+ var heading = _a.heading, label = _a.label, text = _a.text, img = _a.img, _b = _a.contentRatio, contentRatio = _b === void 0 ? "1/1" : _b, children = _a.children, minHeight = _a.minHeight, _c = _a.isReversed, isReversed = _c === void 0 ? false : _c, _d = _a.isElevated, isElevated = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.extendBeyondContainer, extendBeyondContainer = _f === void 0 ? false : _f, _g = _a.type, type = _g === void 0 ? "light" : _g, _h = _a.fontStyle, fontStyle = _h === void 0 ? "default" : _h, _j = _a.headingWordWrap, headingWordWrap = _j === void 0 ? false : _j, props = __rest(_a, ["heading", "label", "text", "img", "contentRatio", "children", "minHeight", "isReversed", "isElevated", "headingLevel", "extendBeyondContainer", "type", "fontStyle", "headingWordWrap"]);
18469
18491
  return (React.createElement(ConditionalWrapper, { condition: extendBeyondContainer, wrapper: function (children) { return (React.createElement("div", { className: classNames({
18470
18492
  "arc-HeroBanner--expanded": extendBeyondContainer,
18471
18493
  }) }, children)); } },
18472
- React.createElement(TemplateBanner, __assign({ heading: heading, label: label, text: text, img: img, contentRatio: contentRatio, minHeight: minHeight, isReversed: isReversed, isElevated: isElevated, headingLevel: headingLevel, type: type, headingSize: fontStyle === "default" ? "xl" : "xxl", fontStyle: fontStyle, alignment: "center" }, filterAttrs(props)), children)));
18494
+ React.createElement(TemplateBanner, __assign({ heading: heading, label: label, text: text, img: img, contentRatio: contentRatio, minHeight: minHeight, isReversed: isReversed, isElevated: isElevated, headingLevel: headingLevel, type: type, headingSize: fontStyle === "default" ? "xl" : "xxl", fontStyle: fontStyle, alignment: "center", headingWordWrap: headingWordWrap }, filterAttrs(props)), children)));
18473
18495
  };
18474
18496
 
18475
18497
  /**
@@ -18507,8 +18529,8 @@ const ArcIconWarn =
18507
18529
  /**
18508
18530
  * Use `HeroButton` as the most prominent call-to-action. It should be used sparingly at the most important parts of a user journey only.
18509
18531
  */
18510
- var HeroButton = React.forwardRef(function (_a, ref) {
18511
- var label = _a.label, _b = _a.buttonStyle, buttonStyle = _b === void 0 ? "primary" : _b, icon = _a.icon, ariaLabel = _a.ariaLabel, _c = _a.isLoading, isLoading = _c === void 0 ? false : _c, onClick = _a.onClick, href = _a.href, id = _a.id, rel = _a.rel, target = _a.target, type = _a.type, form = _a.form, props = __rest(_a, ["label", "buttonStyle", "icon", "ariaLabel", "isLoading", "onClick", "href", "id", "rel", "target", "type", "form"]);
18532
+ var HeroButton = function (_a) {
18533
+ var label = _a.label, _b = _a.buttonStyle, buttonStyle = _b === void 0 ? "primary" : _b, icon = _a.icon, ariaLabel = _a.ariaLabel, _c = _a.isLoading, isLoading = _c === void 0 ? false : _c, onClick = _a.onClick, href = _a.href, id = _a.id, rel = _a.rel, target = _a.target, type = _a.type, form = _a.form, ref = _a.ref, props = __rest(_a, ["label", "buttonStyle", "icon", "ariaLabel", "isLoading", "onClick", "href", "id", "rel", "target", "type", "form", "ref"]);
18512
18534
  var surface = React.useContext(Context$3).surface;
18513
18535
  var HeroButtonClasses = classNames("arc-HeroButton", ["arc-HeroButton--".concat(camelcase(buttonStyle))], {
18514
18536
  "arc-HeroButton--onDarkSurface": surface === "dark",
@@ -18544,7 +18566,7 @@ var HeroButton = React.forwardRef(function (_a, ref) {
18544
18566
  : HeroButtonIcons[icon] }))),
18545
18567
  isLoading && (React.createElement("span", { className: "arc-HeroButton-icon" },
18546
18568
  React.createElement(Spinner, { size: "xxl" }))))));
18547
- });
18569
+ };
18548
18570
 
18549
18571
  /** Use `Hidden` to hide it's children at specific breakpoints */
18550
18572
  var Hidden = function (_a) {
@@ -18585,8 +18607,8 @@ var CardFooter = function (_a) {
18585
18607
 
18586
18608
  /** Use `CardHeading` internally within card components to display a title, icon, or leading content at the top of a card. */
18587
18609
  var CardHeading = function (_a) {
18588
- var onClick = _a.onClick, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onBlur = _a.onBlur, onFocus = _a.onFocus, href = _a.href, heading = _a.heading, _b = _a.size, size = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.headingLevel, headingLevel = _d === void 0 ? "2" : _d;
18589
- return (React.createElement(Heading, { level: headingLevel, size: size, isWordWrap: false }, href ? (React.createElement("a", __assign({ className: "arc-CardHeading-link", href: href, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onFocus: onFocus, onBlur: onBlur }, filterAttrs(linkData)), heading)) : (heading)));
18610
+ var onClick = _a.onClick, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onBlur = _a.onBlur, onFocus = _a.onFocus, href = _a.href, heading = _a.heading, _b = _a.size, size = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.headingLevel, headingLevel = _d === void 0 ? "2" : _d, _e = _a.headingWordWrap, headingWordWrap = _e === void 0 ? false : _e;
18611
+ return (React.createElement(Heading, { level: headingLevel, size: size, isWordWrap: headingWordWrap }, href ? (React.createElement("a", __assign({ className: "arc-CardHeading-link", href: href, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onFocus: onFocus, onBlur: onBlur }, filterAttrs(linkData)), heading)) : (heading)));
18590
18612
  };
18591
18613
 
18592
18614
  /** Use `HorizontalCard` to display card content in a horizontal layout. */
@@ -18610,8 +18632,8 @@ var HorizontalCard = function (_a) {
18610
18632
 
18611
18633
  /** Use `ImpactCard` for important content that needs additional hierarchy and prominence. */
18612
18634
  var ImpactCard = function (_a) {
18613
- var url = _a.url, onClick = _a.onClick, heading = _a.heading, img = _a.img, label = _a.label, minHeight = _a.minHeight, _b = _a.headingSize, headingSize = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.pathway, pathway = _d === void 0 ? "light" : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.buttonIcon, buttonIcon = _f === void 0 ? "arrow" : _f, _g = _a.labelLevel, labelLevel = _g === void 0 ? "3" : _g, props = __rest(_a, ["url", "onClick", "heading", "img", "label", "minHeight", "headingSize", "linkData", "pathway", "headingLevel", "buttonIcon", "labelLevel"]);
18614
- var _h = React.useState(false), showHoverState = _h[0], setShowHoverState = _h[1];
18635
+ var url = _a.url, onClick = _a.onClick, heading = _a.heading, img = _a.img, label = _a.label, minHeight = _a.minHeight, _b = _a.headingSize, headingSize = _b === void 0 ? "m" : _b, _c = _a.headingWordWrap, headingWordWrap = _c === void 0 ? false : _c, _d = _a.linkData, linkData = _d === void 0 ? {} : _d, _e = _a.pathway, pathway = _e === void 0 ? "light" : _e, _f = _a.headingLevel, headingLevel = _f === void 0 ? "2" : _f, _g = _a.buttonIcon, buttonIcon = _g === void 0 ? "arrow" : _g, _h = _a.labelLevel, labelLevel = _h === void 0 ? "3" : _h, props = __rest(_a, ["url", "onClick", "heading", "img", "label", "minHeight", "headingSize", "headingWordWrap", "linkData", "pathway", "headingLevel", "buttonIcon", "labelLevel"]);
18636
+ var _j = React.useState(false), showHoverState = _j[0], setShowHoverState = _j[1];
18615
18637
  var surface = React.useContext(Context$3).surface;
18616
18638
  var handleShowHoverState = function (show) { return function () { return setShowHoverState(show); }; };
18617
18639
  var isDarkPathway = pathway === "dark";
@@ -18627,7 +18649,7 @@ var ImpactCard = function (_a) {
18627
18649
  label && (React.createElement("div", { className: "arc-ImpactCard-label" },
18628
18650
  React.createElement(Heading, { level: labelLevel, fontStyle: "overline" }, label),
18629
18651
  React.createElement(VerticalSpace, { size: "16" }))),
18630
- React.createElement(CardHeading, { heading: heading, size: headingSize, headingLevel: headingLevel, linkData: linkData, href: url, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) })),
18652
+ React.createElement(CardHeading, { heading: heading, size: headingSize, headingLevel: headingLevel, linkData: linkData, href: url, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false), headingWordWrap: headingWordWrap })),
18631
18653
  React.createElement(CardFooter, { buttonIcon: buttonIcon, showButton: true, isDarkPathway: isDarkPathway, isHovered: showHoverState })));
18632
18654
  };
18633
18655
 
@@ -18649,7 +18671,7 @@ const BtIconArrowRightFill =
18649
18671
 
18650
18672
  /** Use `InformationCard` for flexibility and the ability to focus and highlight product specific content. */
18651
18673
  var InformationCard = function (_a) {
18652
- var cardUrl = _a.cardUrl, onClick = _a.onClick, heading = _a.heading, text = _a.text, label = _a.label, footerLogo = _a.footerLogo, button = _a.button, image = _a.image, badges = _a.badges, icon = _a.icon, minHeight = _a.minHeight, minHeights = _a.minHeights, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, _c = _a.labelLevel, labelLevel = _c === void 0 ? "3" : _c, props = __rest(_a, ["cardUrl", "onClick", "heading", "text", "label", "footerLogo", "button", "image", "badges", "icon", "minHeight", "minHeights", "headingLevel", "labelLevel"]);
18674
+ var cardUrl = _a.cardUrl, onClick = _a.onClick, heading = _a.heading, text = _a.text, label = _a.label, footerLogo = _a.footerLogo, button = _a.button, image = _a.image, badges = _a.badges, icon = _a.icon, minHeight = _a.minHeight, minHeights = _a.minHeights, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, _c = _a.labelLevel, labelLevel = _c === void 0 ? "3" : _c, headingWordWrap = _a.headingWordWrap, props = __rest(_a, ["cardUrl", "onClick", "heading", "text", "label", "footerLogo", "button", "image", "badges", "icon", "minHeight", "minHeights", "headingLevel", "labelLevel", "headingWordWrap"]);
18653
18675
  var surface = React.useContext(Context$3).surface;
18654
18676
  var _d = React.useState(false), showHoverState = _d[0], setShowHoverState = _d[1];
18655
18677
  var handleShowHoverState = function (show) { return function () { return setShowHoverState(show); }; };
@@ -18688,7 +18710,7 @@ var InformationCard = function (_a) {
18688
18710
  label && (React.createElement(React.Fragment, null,
18689
18711
  React.createElement("div", { className: "arc-InformationCard-label" },
18690
18712
  React.createElement(Heading, { level: labelLevel, fontStyle: "overline" }, label)))),
18691
- React.createElement(CardHeading, { heading: heading, headingLevel: headingLevel, href: cardUrl, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) }),
18713
+ React.createElement(CardHeading, { heading: heading, headingLevel: headingLevel, href: cardUrl, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false), headingWordWrap: headingWordWrap }),
18692
18714
  text && React.createElement(Text, null, text)),
18693
18715
  (button || badges || footerLogo) && (React.createElement("div", { className: "arc-InformationCard-footer" },
18694
18716
  badges && (React.createElement(React.Fragment, null,
@@ -18729,10 +18751,10 @@ var VideoPlayer$1 = React.lazy(function () {
18729
18751
  * Use `MediaCard` to contain content and an image about a single subject.
18730
18752
  */
18731
18753
  var MediaCard = function (_a) {
18732
- var media = _a.media, url = _a.url, onClick = _a.onClick, heading = _a.heading, label = _a.label, _b = _a.labelLevel, labelLevel = _b === void 0 ? "3" : _b, text = _a.text, metaText = _a.metaText, minHeight = _a.minHeight, _c = _a.buttonIcon, buttonIcon = _c === void 0 ? "arrow" : _c, _d = _a.isContained, isContained = _d === void 0 ? true : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, props = __rest(_a, ["media", "url", "onClick", "heading", "label", "labelLevel", "text", "metaText", "minHeight", "buttonIcon", "isContained", "headingLevel"]);
18754
+ var media = _a.media, url = _a.url, onClick = _a.onClick, heading = _a.heading, label = _a.label, _b = _a.labelLevel, labelLevel = _b === void 0 ? "3" : _b, text = _a.text, metaText = _a.metaText, minHeight = _a.minHeight, _c = _a.buttonIcon, buttonIcon = _c === void 0 ? "arrow" : _c, _d = _a.isContained, isContained = _d === void 0 ? true : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.headingWordWrap, headingWordWrap = _f === void 0 ? false : _f, props = __rest(_a, ["media", "url", "onClick", "heading", "label", "labelLevel", "text", "metaText", "minHeight", "buttonIcon", "isContained", "headingLevel", "headingWordWrap"]);
18733
18755
  var surface = React.useContext(Context$3).surface;
18734
- var _f = React.useState(false), isClient = _f[0], setIsClient = _f[1];
18735
- var _g = React.useState(false), showHoverState = _g[0], setShowHoverState = _g[1];
18756
+ var _g = React.useState(false), isClient = _g[0], setIsClient = _g[1];
18757
+ var _h = React.useState(false), showHoverState = _h[0], setShowHoverState = _h[1];
18736
18758
  var handleShowHoverState = function (show) { return function () { return setShowHoverState(show); }; };
18737
18759
  React.useEffect(function () {
18738
18760
  setIsClient(true);
@@ -18751,7 +18773,7 @@ var MediaCard = function (_a) {
18751
18773
  label && (React.createElement("div", { className: "arc-MediaCard-label" },
18752
18774
  React.createElement(Heading, { level: labelLevel, fontStyle: "overline" }, label),
18753
18775
  React.createElement(VerticalSpace, { size: "16" }))),
18754
- React.createElement(CardHeading, { heading: heading, headingLevel: headingLevel, href: media.type !== "video" ? url : undefined, onClick: media.type !== "video" ? onClick : undefined, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) }),
18776
+ React.createElement(CardHeading, { heading: heading, headingLevel: headingLevel, href: media.type !== "video" ? url : undefined, onClick: media.type !== "video" ? onClick : undefined, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false), headingWordWrap: headingWordWrap }),
18755
18777
  React.createElement("div", { className: "arc-MediaCard-textContainer" }, text && (React.createElement(React.Fragment, null,
18756
18778
  React.createElement(VerticalSpace, { size: "16" }),
18757
18779
  React.createElement(Text, null, text),
@@ -20199,7 +20221,8 @@ var MenuItem = function (_a) {
20199
20221
  /**
20200
20222
  * Visual separator used to divide groups of menu items.
20201
20223
  */
20202
- var MenuSeparator = function (props) {
20224
+ var MenuSeparator = function (_a) {
20225
+ var props = __rest(_a, []);
20203
20226
  return (React.createElement(Separator2, __assign({ className: "arc-MenuSeparator" }, filterAttrs(props)),
20204
20227
  React.createElement(Rule, null)));
20205
20228
  };
@@ -20207,8 +20230,8 @@ var MenuSeparator = function (props) {
20207
20230
  /**
20208
20231
  * The component that pops out when the dropdown menu is open.
20209
20232
  */
20210
- var MenuContent = React.forwardRef(function (_a, ref) {
20211
- var children = _a.children, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, _b = _a.align, align = _b === void 0 ? "start" : _b, alignOffset = _a.alignOffset, side = _a.side, initalTitle = _a.initalTitle, isFluidToViewport = _a.isFluidToViewport, props = __rest(_a, ["children", "width", "minWidth", "maxWidth", "align", "alignOffset", "side", "initalTitle", "isFluidToViewport"]);
20233
+ var MenuContent = function (_a) {
20234
+ var ref = _a.ref, children = _a.children, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, _b = _a.align, align = _b === void 0 ? "start" : _b, alignOffset = _a.alignOffset, side = _a.side, initalTitle = _a.initalTitle, isFluidToViewport = _a.isFluidToViewport, props = __rest(_a, ["ref", "children", "width", "minWidth", "maxWidth", "align", "alignOffset", "side", "initalTitle", "isFluidToViewport"]);
20212
20235
  var _c = useMenuContext(), isMobileMenu = _c.isMobileMenu, stack = _c.stack, goBack = _c.goBack, defaultWidth = _c.defaultWidth, reset = _c.reset;
20213
20236
  if (!isMobileMenu) {
20214
20237
  return (React.createElement(Content2, __assign({ ref: ref, style: { width: width !== null && width !== void 0 ? width : defaultWidth, minWidth: minWidth, maxWidth: maxWidth }, className: "arc-MenuContent", sideOffset: 12, loop: true, collisionPadding: 0, forceMount: true, align: align, alignOffset: alignOffset, side: side }, filterAttrs(props)),
@@ -20229,7 +20252,7 @@ var MenuContent = React.forwardRef(function (_a, ref) {
20229
20252
  React.createElement(MenuItem, { onClick: goBack, leadingIcon: BtIconChevronLeftMid }, prevTitle),
20230
20253
  React.createElement(MenuSeparator, null))),
20231
20254
  React.createElement("div", { key: stack.length, className: "arc-MenuContent-content arc-MenuContent-fade" }, active)));
20232
- });
20255
+ };
20233
20256
 
20234
20257
  /**
20235
20258
  * Displays footer content at the bottom of the menu.
@@ -20354,21 +20377,21 @@ var MenuItemMultiLevel = function (_a) {
20354
20377
  if (!trigger || !pairedContent) {
20355
20378
  console.warn("MenuItemMultiLevel requires both a Trigger and Portal");
20356
20379
  }
20357
- // Inject content into the trigger, skip rendering the portal in mobile
20380
+ // Inject content into the trigger, skip rendering the portal in mobile
20358
20381
  return React.cloneElement(trigger, { pairedContent: pairedContent });
20359
20382
  };
20360
20383
 
20361
20384
  /**
20362
20385
  * The multi-level menu content that pops out when a menu item with children is hovered or clicked.
20363
20386
  */
20364
- var MenuItemMultiLevelContent = React.forwardRef(function (_a, ref) {
20365
- var children = _a.children, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, alignOffset = _a.alignOffset, props = __rest(_a, ["children", "width", "minWidth", "maxWidth", "alignOffset"]);
20387
+ var MenuItemMultiLevelContent = function (_a) {
20388
+ var ref = _a.ref, children = _a.children, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, alignOffset = _a.alignOffset, props = __rest(_a, ["ref", "children", "width", "minWidth", "maxWidth", "alignOffset"]);
20366
20389
  var _b = useMenuContext(), isMobileMenu = _b.isMobileMenu, defaultWidth = _b.defaultWidth;
20367
20390
  if (isMobileMenu) {
20368
20391
  return React.createElement(React.Fragment, null, children);
20369
20392
  }
20370
20393
  return (React.createElement(SubContent2, __assign({ ref: ref, style: { width: width !== null && width !== void 0 ? width : defaultWidth, minWidth: minWidth, maxWidth: maxWidth }, className: "arc-MenuContent", sideOffset: 24, collisionPadding: 12, avoidCollisions: true, alignOffset: alignOffset }, filterAttrs(props)), children));
20371
- });
20394
+ };
20372
20395
  MenuItemMultiLevelContent.displayName = "MenuItemMultiLevelContent";
20373
20396
 
20374
20397
  /**
@@ -20425,7 +20448,7 @@ var MenuTrigger = function (_a) {
20425
20448
  /** Use `Modal` to display information that needs immediate action from a user. */
20426
20449
  var Modal = function (_a) {
20427
20450
  var _b;
20428
- var title = _a.title, description = _a.description, ariaDescribedBy = _a.ariaDescribedBy, isOpen = _a.isOpen, actions = _a.actions, onRequestClose = _a.onRequestClose, children = _a.children, _c = _a.role, role = _c === void 0 ? "dialog" : _c, _d = _a.shouldReturnFocus, shouldReturnFocus = _d === void 0 ? true : _d, _e = _a.isContentScrollable, isContentScrollable = _e === void 0 ? false : _e, _f = _a.size, size = _f === void 0 ? "l" : _f, _g = _a.fullBleed, fullBleed = _g === void 0 ? false : _g, customWidths = _a.customWidths, props = __rest(_a, ["title", "description", "ariaDescribedBy", "isOpen", "actions", "onRequestClose", "children", "role", "shouldReturnFocus", "isContentScrollable", "size", "fullBleed", "customWidths"]);
20451
+ var title = _a.title, description = _a.description, ariaDescribedBy = _a.ariaDescribedBy, isOpen = _a.isOpen, actions = _a.actions, onRequestClose = _a.onRequestClose, children = _a.children, _c = _a.role, role = _c === void 0 ? "dialog" : _c, _d = _a.shouldReturnFocus, shouldReturnFocus = _d === void 0 ? true : _d, _e = _a.isContentScrollable, isContentScrollable = _e === void 0 ? false : _e, _f = _a.size, size = _f === void 0 ? "l" : _f, _g = _a.fullBleed, fullBleed = _g === void 0 ? false : _g, customWidths = _a.customWidths, titleWordWrap = _a.titleWordWrap, props = __rest(_a, ["title", "description", "ariaDescribedBy", "isOpen", "actions", "onRequestClose", "children", "role", "shouldReturnFocus", "isContentScrollable", "size", "fullBleed", "customWidths", "titleWordWrap"]);
20429
20452
  var _h = useThemeElement(), themeElement = _h[0], setThemeElement = _h[1];
20430
20453
  var triggerRef = React.useRef(null);
20431
20454
  var setTriggerElement = function () {
@@ -20466,7 +20489,7 @@ var Modal = function (_a) {
20466
20489
  React.createElement(VerticalSpace, { size: "24" }),
20467
20490
  React.createElement(Surface, null,
20468
20491
  React.createElement(Title, { asChild: true },
20469
- React.createElement(Heading, { level: "1", size: "m" }, title))),
20492
+ React.createElement(Heading, { level: "1", size: "m", isWordWrap: titleWordWrap }, title))),
20470
20493
  React.createElement(VerticalSpace, { size: "12" })))),
20471
20494
  React.createElement("div", { className: "arc-Modal-content" },
20472
20495
  title && description && (React.createElement("div", { className: "arc-Modal-section" },
@@ -20567,8 +20590,8 @@ var PaginationSimple = function (_a) {
20567
20590
  * Use `Popover` to display content in a portal, triggered by a button.
20568
20591
  */
20569
20592
  var Popover = function (_a) {
20570
- 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"]);
20571
- var _l = useThemeElement(), themeElement = _l[0], setThemeElement = _l[1];
20593
+ 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, _l = _a.isFluidToViewport, isFluidToViewport = _l === void 0 ? false : _l, _m = _a.contentMargin, contentMargin = _m === void 0 ? false : _m, _o = _a.isFullBleed, isFullBleed = _o === void 0 ? false : _o, 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", "isFluidToViewport", "contentMargin", "isFullBleed"]);
20594
+ var _p = useThemeElement(), themeElement = _p[0], setThemeElement = _p[1];
20572
20595
  var alignOffsetDefault = align === "center" ? 0 : -16;
20573
20596
  return (React.createElement("div", __assign({ className: "arc-Popover" }, filterAttrs(props)),
20574
20597
  React.createElement(Root2$3, { open: open, onOpenChange: onOpenChange },
@@ -20582,6 +20605,9 @@ var Popover = function (_a) {
20582
20605
  "arc-Popover-content--dark": background === "dark",
20583
20606
  "arc-Popover-content--brand": background === "brand",
20584
20607
  "arc-Popover-content--constrainToViewport": constrainToViewport,
20608
+ "arc-Popover-content--isFluidToViewport": isFluidToViewport,
20609
+ "arc-Popover-content--contentMargin": contentMargin,
20610
+ "arc-Popover-content--isFullBleed": isFullBleed,
20585
20611
  }), style: { maxWidth: maxWidth, minHeight: minHeight }, "aria-labelledby": "popover-content" },
20586
20612
  content && React.createElement("div", { id: "popover-content" }, content),
20587
20613
  arrow && (React.createElement(PopoverArrow, { className: "arc-Popover-arrow" })))))))))));
@@ -20641,7 +20667,7 @@ var getProgressBarProps = function (isIndeterminate, progressValue, ariaLabel) {
20641
20667
  * Use `ProgressBar` to show the progress of a specific task within a page.
20642
20668
  */
20643
20669
  var ProgressBar = function (_a) {
20644
- var _b = _a.state, state = _b === void 0 ? "loading" : _b, _c = _a.value, value = _c === void 0 ? 0 : _c, _d = _a.isIndeterminate, isIndeterminate = _d === void 0 ? false : _d, headline = _a.headline, ariaLabel = _a.ariaLabel, action = _a.action, title = _a.title, description = _a.description, displayValue = _a.displayValue, props = __rest(_a, ["state", "value", "isIndeterminate", "headline", "ariaLabel", "action", "title", "description", "displayValue"]);
20670
+ var _b = _a.state, state = _b === void 0 ? "loading" : _b, _c = _a.value, value = _c === void 0 ? 0 : _c, _d = _a.isIndeterminate, isIndeterminate = _d === void 0 ? false : _d, headline = _a.headline, ariaLabel = _a.ariaLabel, action = _a.action, title = _a.title, description = _a.description, displayValue = _a.displayValue, _e = _a.headlineWordWrap, headlineWordWrap = _e === void 0 ? false : _e, props = __rest(_a, ["state", "value", "isIndeterminate", "headline", "ariaLabel", "action", "title", "description", "displayValue", "headlineWordWrap"]);
20645
20671
  var progressValue = Math.min(100, Math.max(0, value));
20646
20672
  var autoFocusRef = function (canFocus) { return function (el) {
20647
20673
  canFocus && el && el.focus();
@@ -20649,7 +20675,7 @@ var ProgressBar = function (_a) {
20649
20675
  return (React.createElement("div", __assign({ "data-testid": "progress", className: classNames("arc-ProgressBar", "arc-ProgressBar--".concat(state)) }, filterAttrs(props)),
20650
20676
  React.createElement("div", { className: "arc-ProgressBar-titleDisplayValueContainer" },
20651
20677
  React.createElement("div", { className: "arc-ProgressBar-titleContainer" },
20652
- headline && React.createElement(Heading, { size: "s" }, headline),
20678
+ headline && (React.createElement(Heading, { size: "s", isWordWrap: headlineWordWrap }, headline)),
20653
20679
  headline && title && React.createElement(VerticalSpace, { size: "4" }),
20654
20680
  title && React.createElement(Text, null, title)),
20655
20681
  displayValue && (React.createElement("div", { "data-testid": "display-value", className: "arc-ProgressBar-displayValueContainer" },
@@ -20853,8 +20879,8 @@ var ProgressStepperItem = function (_a) {
20853
20879
  };
20854
20880
 
20855
20881
  /** Use `ProgressStepper` to provide an overview of a series of steps in a digital journey. */
20856
- var ProgressStepper = React.forwardRef(function (_a, ref) {
20857
- var children = _a.children, size = _a.size, isFluid = _a.isFluid, direction = _a.direction, isExpandable = _a.isExpandable, invertLabelPosition = _a.invertLabelPosition, currentStep = _a.currentStep, props = __rest(_a, ["children", "size", "isFluid", "direction", "isExpandable", "invertLabelPosition", "currentStep"]);
20882
+ var ProgressStepper = function (_a) {
20883
+ var ref = _a.ref, children = _a.children, size = _a.size, isFluid = _a.isFluid, direction = _a.direction, isExpandable = _a.isExpandable, invertLabelPosition = _a.invertLabelPosition, currentStep = _a.currentStep, props = __rest(_a, ["ref", "children", "size", "isFluid", "direction", "isExpandable", "invertLabelPosition", "currentStep"]);
20858
20884
  var items = React.Children.toArray(children);
20859
20885
  var getStepStatus = function (item) {
20860
20886
  var _a;
@@ -20864,14 +20890,14 @@ var ProgressStepper = React.forwardRef(function (_a, ref) {
20864
20890
  "arc-ProgressStepper--vertical": direction === "vertical",
20865
20891
  }) }, filterAttrs(props)), items.map(function (item, index) { return (React.createElement(React.Fragment, { key: "StepperItem-".concat(index) },
20866
20892
  React.createElement(ProgressStepperItem, __assign({ title: item.props.title, titleHref: item.props.titleHref, subTitle: item.props.subTitle, status: item.props.status, stepContent: item.props.stepContent, ariaLabel: item.props.ariaLabel, isStepContentHidden: item.props.isStepContentHidden, onClick: item.props.onClick, isFluid: isFluid, invertLabelPosition: invertLabelPosition, direction: direction, isExpandable: isExpandable, size: size, isViewing: currentStep !== undefined ? currentStep === index : undefined, previousStep: getStepStatus(items[index - 1]) }, filterAttrs(item.props))))); })));
20867
- });
20893
+ };
20868
20894
 
20869
20895
  /** Use `ProgressStepperOverflow` to wrap `ProgressStepperItem`s and allow overflow behaviour. */
20870
- var ProgressStepperOverflow = React.forwardRef(function (_a, ref) {
20871
- var children = _a.children, size = _a.size, invertLabelPosition = _a.invertLabelPosition, _b = _a.offsetLeft, offsetLeft = _b === void 0 ? 24 : _b, props = __rest(_a, ["children", "size", "invertLabelPosition", "offsetLeft"]);
20896
+ var ProgressStepperOverflow = function (_a) {
20897
+ var ref = _a.ref, children = _a.children, size = _a.size, invertLabelPosition = _a.invertLabelPosition, _b = _a.offsetLeft, offsetLeft = _b === void 0 ? 24 : _b, props = __rest(_a, ["ref", "children", "size", "invertLabelPosition", "offsetLeft"]);
20872
20898
  return (React.createElement("div", __assign({ className: "arc-ProgressStepperOverflow", style: { paddingLeft: offsetLeft } }, filterAttrs(props)),
20873
20899
  React.createElement(ProgressStepper, { ref: ref, size: size, invertLabelPosition: invertLabelPosition, isFluid: false }, children)));
20874
- });
20900
+ };
20875
20901
 
20876
20902
  var useProgressStepperOverflow = function (_a) {
20877
20903
  var _b = _a === void 0 ? {} : _a, onLoadStep = _b.onLoadStep, _c = _b.increment, increment = _c === void 0 ? 1 : _c, _d = _b.offsetLeft, offsetLeft = _d === void 0 ? 24 : _d;
@@ -20988,8 +21014,8 @@ var capitaliseFirstLetter = (word) => {
20988
21014
  return word.charAt(0).toUpperCase() + word.slice(1);
20989
21015
  };
20990
21016
 
20991
- var RadioCard = React.forwardRef(function (_a, ref) {
20992
- var id = _a.id, icon = _a.icon, label = _a.label, support = _a.support, isDisabled = _a.isDisabled, checked = _a.checked, defaultChecked = _a.defaultChecked, changeEvent = _a.changeEvent, name = _a.name, blurEvent = _a.blurEvent, value = _a.value, children = _a.children, _b = _a.controlLocation, controlLocation = _b === void 0 ? "right" : _b, _c = _a.hideButton, hideButton = _c === void 0 ? false : _c;
21017
+ var RadioCard = function (_a) {
21018
+ var ref = _a.ref, id = _a.id, icon = _a.icon, label = _a.label, support = _a.support, isDisabled = _a.isDisabled, checked = _a.checked, defaultChecked = _a.defaultChecked, changeEvent = _a.changeEvent, name = _a.name, blurEvent = _a.blurEvent, value = _a.value, children = _a.children, _b = _a.controlLocation, controlLocation = _b === void 0 ? "right" : _b, _c = _a.hideButton, hideButton = _c === void 0 ? false : _c;
20993
21019
  var surface = React.useContext(Context$3).surface;
20994
21020
  var idLabel = "".concat(id, "-label");
20995
21021
  return (React.createElement("div", { className: classNames("arc-RadioCard", {
@@ -21009,19 +21035,19 @@ var RadioCard = React.forwardRef(function (_a, ref) {
21009
21035
  !hideButton && (React.createElement("div", { className: classNames("arc-RadioCard-radioIcon", {
21010
21036
  "arc-RadioCard-radioIcon--isSelected": checked,
21011
21037
  }) }))))));
21012
- });
21038
+ };
21013
21039
 
21014
21040
  /**
21015
21041
  * Radio Card component.
21016
21042
  */
21017
- var RadioCardGroupInput = React.forwardRef(function (_a, ref) {
21018
- var icon = _a.icon, support = _a.support, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, value = _a.value, children = _a.children, controlLocation = _a.controlLocation, hideButton = _a.hideButton, props = __rest(_a, ["icon", "support", "id", "isDisabled", "label", "value", "children", "controlLocation", "hideButton"]);
21043
+ var RadioCardGroupInput = function (_a) {
21044
+ var ref = _a.ref, icon = _a.icon, support = _a.support, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, value = _a.value, children = _a.children, controlLocation = _a.controlLocation, hideButton = _a.hideButton, props = __rest(_a, ["ref", "icon", "support", "id", "isDisabled", "label", "value", "children", "controlLocation", "hideButton"]);
21019
21045
  var _b = useRadioContext$1(), name = _b.name, changeEvent = _b.changeEvent, checkedValue = _b.checkedValue, groupDisabled = _b.groupDisabled;
21020
21046
  var isChecked = checkedValue === value ? true : false;
21021
21047
  var checked = typeof changeEvent !== "function" ? undefined : isChecked;
21022
21048
  var defaultChecked = typeof changeEvent !== "function" ? isChecked : undefined;
21023
21049
  return (React.createElement(RadioCard, __assign({ icon: icon, ref: ref, id: id, support: support, label: label, name: name, defaultChecked: defaultChecked, checked: checked, changeEvent: changeEvent, value: value, isDisabled: isDisabled || groupDisabled, controlLocation: controlLocation, hideButton: hideButton }, props), children));
21024
- });
21050
+ };
21025
21051
 
21026
21052
  var RadioContext = React.createContext({});
21027
21053
  var Provider$2 = RadioContext.Provider;
@@ -21048,8 +21074,8 @@ var RadioGroup = function (_a) {
21048
21074
  React.createElement("span", { className: "arc-RadioGroup-radioButtonContainer" }, children)))));
21049
21075
  };
21050
21076
 
21051
- var RadioGroupButton = React.forwardRef(function (_a, ref) {
21052
- var id = _a.id, changeEvent = _a.changeEvent, isDisabled = _a.isDisabled, size = _a.size, labelSize = _a.labelSize, checked = _a.checked, defaultChecked = _a.defaultChecked, radioButtonAlignment = _a.radioButtonAlignment, name = _a.name, blurEvent = _a.blurEvent, value = _a.value, label = _a.label, helper = _a.helper, hideLabel = _a.hideLabel, withMargin = _a.withMargin, isError = _a.isError;
21077
+ var RadioGroupButton = function (_a) {
21078
+ var ref = _a.ref, id = _a.id, changeEvent = _a.changeEvent, isDisabled = _a.isDisabled, size = _a.size, labelSize = _a.labelSize, checked = _a.checked, defaultChecked = _a.defaultChecked, radioButtonAlignment = _a.radioButtonAlignment, name = _a.name, blurEvent = _a.blurEvent, value = _a.value, label = _a.label, helper = _a.helper, hideLabel = _a.hideLabel, withMargin = _a.withMargin, isError = _a.isError;
21053
21079
  var surface = React.useContext(Context$3).surface;
21054
21080
  var idLabel = "".concat(id, "-label");
21055
21081
  return (React.createElement("div", { className: classNames({
@@ -21071,25 +21097,25 @@ var RadioGroupButton = React.forwardRef(function (_a, ref) {
21071
21097
  }) },
21072
21098
  hideLabel ? React.createElement(VisuallyHidden$2, null, label) : label,
21073
21099
  helper && (React.createElement("span", { className: "arc-RadioGroupButton-helper" }, helper))))));
21074
- });
21100
+ };
21075
21101
 
21076
21102
  /**
21077
21103
  * Radio Button component.
21078
21104
  */
21079
- var RadioGroupInput = React.forwardRef(function (_a, ref) {
21080
- var helper = _a.helper, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, _b = _a.radioButtonAlignment, radioButtonAlignment = _b === void 0 ? "center" : _b, value = _a.value, isError = _a.isError, props = __rest(_a, ["helper", "id", "isDisabled", "label", "radioButtonAlignment", "value", "isError"]);
21105
+ var RadioGroupInput = function (_a) {
21106
+ var ref = _a.ref, helper = _a.helper, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, _b = _a.radioButtonAlignment, radioButtonAlignment = _b === void 0 ? "center" : _b, value = _a.value, isError = _a.isError, props = __rest(_a, ["ref", "helper", "id", "isDisabled", "label", "radioButtonAlignment", "value", "isError"]);
21081
21107
  var _c = useRadioContext(), blurEvent = _c.blurEvent, changeEvent = _c.changeEvent, groupDisabled = _c.groupDisabled, checkedValue = _c.checkedValue, name = _c.name, size = _c.size;
21082
21108
  var isChecked = checkedValue === value ? true : false;
21083
21109
  var checked = typeof changeEvent !== "function" ? undefined : isChecked;
21084
21110
  var defaultChecked = typeof changeEvent !== "function" ? isChecked : undefined;
21085
21111
  return (React.createElement(RadioGroupButton, __assign({ withMargin: true, ref: ref, id: id, name: name, helper: helper, isDisabled: isDisabled || groupDisabled, size: size, radioButtonAlignment: radioButtonAlignment, label: label, defaultChecked: defaultChecked, checked: checked, changeEvent: changeEvent, blurEvent: blurEvent, value: value, isError: isError }, props)));
21086
- });
21112
+ };
21087
21113
 
21088
21114
  /**
21089
21115
  * Use `ScrollToTop` to allow the user to scroll to the top of the page by clicking a button.
21090
21116
  */
21091
21117
  var ScrollToTop = function (_a) {
21092
- var _b = _a.appear, appear = _b === void 0 ? "always" : _b, _c = _a.isFixed, isFixed = _c === void 0 ? true : _c, _d = _a.fill, fill = _d === void 0 ? "solid" : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, _f = _a.focusColor, focusColor = _f === void 0 ? "magenta" : _f, props = __rest(_a, ["appear", "isFixed", "fill", "zIndex", "focusColor"]);
21118
+ var _b = _a.appear, appear = _b === void 0 ? "always" : _b, _c = _a.isFixed, isFixed = _c === void 0 ? true : _c, _d = _a.fill, fill = _d === void 0 ? "solid" : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, _f = _a.focusColor, focusColor = _f === void 0 ? "primary" : _f, props = __rest(_a, ["appear", "isFixed", "fill", "zIndex", "focusColor"]);
21093
21119
  var _g = React.useState(false), hasScrolled = _g[0], setHasScrolled = _g[1];
21094
21120
  React.useEffect(function () {
21095
21121
  var handleScroll = debounce(function () {
@@ -21346,7 +21372,7 @@ var SiteHeaderV2 = function (_a) {
21346
21372
  var _j = React.useState(false), hasClientSideJavaScript = _j[0], setHasClientSideJavaScript = _j[1];
21347
21373
  var _k = React.useState(false), menuOpen = _k[0], setMenuOpen = _k[1];
21348
21374
  var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsL, ")"));
21349
- var menubarRef = React.useRef();
21375
+ var menubarRef = React.useRef(null);
21350
21376
  React.useEffect(function () {
21351
21377
  if (!isMinWidthArcBreakpointL && menuOpen) {
21352
21378
  document.body.classList.add("arc-body--overflowHidden");
@@ -21488,6 +21514,9 @@ var SiteHeaderV2Panel = function (_a) {
21488
21514
  // by listening to clicks on the entire document and acting accordingly.
21489
21515
  var handleClick = function (e) {
21490
21516
  var _a, _b, _c, _d;
21517
+ // null check for navItemRef
21518
+ if (!(navItemRef === null || navItemRef === void 0 ? void 0 : navItemRef.current))
21519
+ return;
21491
21520
  (_b = (_a = menubarRef === null || menubarRef === void 0 ? void 0 : menubarRef.current) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.add("noFocus");
21492
21521
  // Don't close the Panel…
21493
21522
  if (
@@ -21630,7 +21659,7 @@ var SiteHeaderV2ViewAll = function (_a) {
21630
21659
  var SiteHeaderV2NavItem = function (_a) {
21631
21660
  var _b, _c, _d, _e, _f;
21632
21661
  var children = _a.children, href = _a.href, isCurrent = _a.isCurrent, onClick = _a.onClick, title = _a.title, isPrimary = _a.isPrimary, opensFirstWithPanel = _a.opensFirstWithPanel, subTitle = _a.subTitle, props = __rest(_a, ["children", "href", "isCurrent", "onClick", "title", "isPrimary", "opensFirstWithPanel", "subTitle"]);
21633
- var navItem = React.useRef();
21662
+ var navItem = React.useRef(null);
21634
21663
  var _g = React.useState(false), panelOpen = _g[0], setPanelOpen = _g[1];
21635
21664
  var _h = React.useState(true), openSecondaryWithSubNav = _h[0], setOpenSecondaryWithSubNav = _h[1];
21636
21665
  var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsL, ")"));
@@ -21741,7 +21770,7 @@ var Provider = Context.Provider;
21741
21770
  var SiteHeaderV2NavItemWithSubNav = function (_a) {
21742
21771
  var _b, _c, _d, _e, _f;
21743
21772
  var href = _a.href, slot1 = _a.slot1, slot2 = _a.slot2, slot3 = _a.slot3, slot4 = _a.slot4, slot5 = _a.slot5, slot6 = _a.slot6, _g = _a.subTitle, subTitle = _g === void 0 ? null : _g, title = _a.title, onViewAllClick = _a.onViewAllClick, isPrimary = _a.isPrimary, opensFirstWithPanel = _a.opensFirstWithPanel, viewAllTitle = _a.viewAllTitle, props = __rest(_a, ["href", "slot1", "slot2", "slot3", "slot4", "slot5", "slot6", "subTitle", "title", "onViewAllClick", "isPrimary", "opensFirstWithPanel", "viewAllTitle"]);
21744
- var navItem = React.useRef();
21773
+ var navItem = React.useRef(null);
21745
21774
  var _h = React.useState(true), defaultItem = _h[0], setDefaultItem = _h[1];
21746
21775
  var _j = React.useState(false), panelOpen = _j[0], setPanelOpen = _j[1];
21747
21776
  var _k = React.useState(false), horizontalPanelOpen = _k[0], setHorizontalPanelOpen = _k[1];
@@ -21849,7 +21878,7 @@ var SiteHeaderV2SubNavItem = function (_a) {
21849
21878
  var _b, _c;
21850
21879
  var children = _a.children, _d = _a.isDefaultItem, isDefaultItem = _d === void 0 ? false : _d, href = _a.href, onClick = _a.onClick, offsetXL = _a.offsetXL, subTitle = _a.subTitle, title = _a.title, viewAllTitle = _a.viewAllTitle, icon = _a.icon, props = __rest(_a, ["children", "isDefaultItem", "href", "onClick", "offsetXL", "subTitle", "title", "viewAllTitle", "icon"]);
21851
21880
  var navItem = React.useContext(Context).navItem;
21852
- var subNavItem = React.useRef();
21881
+ var subNavItem = React.useRef(null);
21853
21882
  var _e = React.useState(false), panelOpen = _e[0], setPanelOpen = _e[1];
21854
21883
  var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsL, ")"));
21855
21884
  React.useEffect(function () {
@@ -21907,8 +21936,8 @@ var Skeleton = function (_a) {
21907
21936
  };
21908
21937
 
21909
21938
  /** Use `SkipLink` to help keyboard-only users skip to the main content on a page. */
21910
- var SkipLink = function (_a, props) {
21911
- var children = _a.children;
21939
+ var SkipLink = function (_a) {
21940
+ var children = _a.children, props = __rest(_a, ["children"]);
21912
21941
  return (React.createElement("div", __assign({ className: "arc-SkipLink" }, filterAttrs(props)), children));
21913
21942
  };
21914
21943
 
@@ -22267,8 +22296,8 @@ var Tag = function (_a) {
22267
22296
  };
22268
22297
 
22269
22298
  /** Use `TextArea` to allow custom user text entry via keyboard, for long-form and multi-line descriptions */
22270
- var TextArea = React.forwardRef(function (_a, ref) {
22271
- var _b = _a.defaultValue, defaultValue = _b === void 0 ? "" : _b, errorMessage = _a.errorMessage, helper = _a.helper, hideLabel = _a.hideLabel, id = _a.id, _c = _a.resize, resize = _c === void 0 ? "manual" : _c, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, _g = _a.showCharacterCount, showCharacterCount = _g === void 0 ? true : _g, label = _a.label, _h = _a.labelSize, labelSize = _h === void 0 ? "l" : _h, maxLength = _a.maxLength, name = _a.name, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, onClickDisclosure = _a.onClickDisclosure, value = _a.value, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, width = _a.width, autoComplete = _a.autoComplete, _j = _a.minHeight, minHeight = _j === void 0 ? "116px" : _j, maxHeight = _a.maxHeight, isErrorAlert = _a.isErrorAlert, props = __rest(_a, ["defaultValue", "errorMessage", "helper", "hideLabel", "id", "resize", "isDisabled", "isReadOnly", "isRequired", "showCharacterCount", "label", "labelSize", "maxLength", "name", "onBlur", "onFocus", "onChange", "onClickDisclosure", "value", "disclosureTitle", "disclosureText", "width", "autoComplete", "minHeight", "maxHeight", "isErrorAlert"]);
22299
+ var TextArea = function (_a) {
22300
+ var ref = _a.ref, _b = _a.defaultValue, defaultValue = _b === void 0 ? "" : _b, errorMessage = _a.errorMessage, helper = _a.helper, hideLabel = _a.hideLabel, id = _a.id, _c = _a.resize, resize = _c === void 0 ? "manual" : _c, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, _g = _a.showCharacterCount, showCharacterCount = _g === void 0 ? true : _g, label = _a.label, _h = _a.labelSize, labelSize = _h === void 0 ? "l" : _h, maxLength = _a.maxLength, name = _a.name, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, onClickDisclosure = _a.onClickDisclosure, value = _a.value, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, width = _a.width, autoComplete = _a.autoComplete, _j = _a.minHeight, minHeight = _j === void 0 ? "116px" : _j, maxHeight = _a.maxHeight, isErrorAlert = _a.isErrorAlert, props = __rest(_a, ["ref", "defaultValue", "errorMessage", "helper", "hideLabel", "id", "resize", "isDisabled", "isReadOnly", "isRequired", "showCharacterCount", "label", "labelSize", "maxLength", "name", "onBlur", "onFocus", "onChange", "onClickDisclosure", "value", "disclosureTitle", "disclosureText", "width", "autoComplete", "minHeight", "maxHeight", "isErrorAlert"]);
22272
22301
  var surface = React.useContext(Context$3).surface;
22273
22302
  var ourRef = React.useRef(null);
22274
22303
  var _k = React.useState((value && value.length) || (defaultValue && defaultValue.length) || 0), characterCount = _k[0], setCharacterCount = _k[1];
@@ -22317,13 +22346,13 @@ var TextArea = React.forwardRef(function (_a, ref) {
22317
22346
  minHeight: minHeight,
22318
22347
  marginTop: hideLabel ? 0 : undefined,
22319
22348
  }, "aria-describedby": ariaDescribedby, autoComplete: autoComplete })));
22320
- });
22349
+ };
22321
22350
 
22322
22351
  // package.json
22323
22352
  var package_default = {
22324
22353
  name: "@arc-ui/helpers",
22325
22354
  private: true,
22326
- version: "12.1.0",
22355
+ version: "13.0.0",
22327
22356
  type: "module",
22328
22357
  homepage: "https://ui.digital-ent-int.bt.com",
22329
22358
  author: "BT Enterprise Digital UI Team <ui-digital-ent-int@bt.com>",
@@ -23393,9 +23422,9 @@ var Truncate = function (_a) {
23393
23422
 
23394
23423
  /** Use `TypographyCard` for content that benefits from larger and energetic typography. */
23395
23424
  var TypographyCard = function (_a) {
23396
- var url = _a.url, onClick = _a.onClick, heading = _a.heading, metaText = _a.metaText, label = _a.label, minHeight = _a.minHeight, _b = _a.headingSize, headingSize = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.pathway, pathway = _d === void 0 ? "light" : _d, _e = _a.buttonIcon, buttonIcon = _e === void 0 ? "arrow" : _e, _f = _a.headingLevel, headingLevel = _f === void 0 ? "2" : _f, _g = _a.labelLevel, labelLevel = _g === void 0 ? "3" : _g, props = __rest(_a, ["url", "onClick", "heading", "metaText", "label", "minHeight", "headingSize", "linkData", "pathway", "buttonIcon", "headingLevel", "labelLevel"]);
23425
+ var url = _a.url, onClick = _a.onClick, heading = _a.heading, metaText = _a.metaText, label = _a.label, minHeight = _a.minHeight, _b = _a.headingSize, headingSize = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.pathway, pathway = _d === void 0 ? "light" : _d, _e = _a.buttonIcon, buttonIcon = _e === void 0 ? "arrow" : _e, _f = _a.headingLevel, headingLevel = _f === void 0 ? "2" : _f, _g = _a.labelLevel, labelLevel = _g === void 0 ? "3" : _g, _h = _a.headingWordWrap, headingWordWrap = _h === void 0 ? false : _h, props = __rest(_a, ["url", "onClick", "heading", "metaText", "label", "minHeight", "headingSize", "linkData", "pathway", "buttonIcon", "headingLevel", "labelLevel", "headingWordWrap"]);
23397
23426
  var surface = React.useContext(Context$3).surface;
23398
- var _h = React.useState(false), showHoverState = _h[0], setShowHoverState = _h[1];
23427
+ var _j = React.useState(false), showHoverState = _j[0], setShowHoverState = _j[1];
23399
23428
  var handleShowHoverState = function (show) { return function () { return setShowHoverState(show); }; };
23400
23429
  var isDarkPathway = pathway === "dark";
23401
23430
  return (React.createElement("div", __assign({ style: { minHeight: minHeight }, className: classNames("arc-TypographyCard", {
@@ -23408,7 +23437,7 @@ var TypographyCard = function (_a) {
23408
23437
  label && (React.createElement("div", { className: "arc-TypographyCard-label" },
23409
23438
  React.createElement(Heading, { level: labelLevel, fontStyle: "overline" }, label),
23410
23439
  React.createElement(VerticalSpace, { size: "16" }))),
23411
- React.createElement(CardHeading, { size: headingSize, linkData: linkData, heading: heading, headingLevel: headingLevel, href: url, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false) })),
23440
+ React.createElement(CardHeading, { size: headingSize, linkData: linkData, heading: heading, headingLevel: headingLevel, href: url, onClick: onClick, onMouseEnter: handleShowHoverState(true), onMouseLeave: handleShowHoverState(false), onFocus: handleShowHoverState(true), onBlur: handleShowHoverState(false), headingWordWrap: headingWordWrap })),
23412
23441
  React.createElement(CardFooter, { showButton: true, isDarkPathway: isDarkPathway, buttonIcon: buttonIcon, metaText: metaText, isHovered: showHoverState })));
23413
23442
  };
23414
23443
 
@@ -26562,10 +26591,10 @@ var ReactPlayerVimeo = /*@__PURE__*/getDefaultExportFromCjs(vimeoExports);
26562
26591
  * Use `VideoPlayer` to embed videos from YouTube or Vimeo.
26563
26592
  */
26564
26593
  var VideoPlayer = function (_a) {
26565
- var title = _a.title, description = _a.description, transcriptLink = _a.transcriptLink, transcriptContent = _a.transcriptContent, light = _a.light, url = _a.url, onReady = _a.onReady, onPlay = _a.onPlay, onStart = _a.onStart, onPause = _a.onPause, onError = _a.onError, onEnded = _a.onEnded, _b = _a.isBorderRadius, isBorderRadius = _b === void 0 ? false : _b, _c = _a.isSupportingTextHidden, isSupportingTextHidden = _c === void 0 ? false : _c, props = __rest(_a, ["title", "description", "transcriptLink", "transcriptContent", "light", "url", "onReady", "onPlay", "onStart", "onPause", "onError", "onEnded", "isBorderRadius", "isSupportingTextHidden"]);
26594
+ var title = _a.title, description = _a.description, transcriptLink = _a.transcriptLink, transcriptContent = _a.transcriptContent, light = _a.light, url = _a.url, onReady = _a.onReady, onPlay = _a.onPlay, onStart = _a.onStart, onPause = _a.onPause, onError = _a.onError, onEnded = _a.onEnded, _b = _a.isBorderRadius, isBorderRadius = _b === void 0 ? false : _b, _c = _a.isSupportingTextHidden, isSupportingTextHidden = _c === void 0 ? false : _c, _d = _a.titleWordWrap, titleWordWrap = _d === void 0 ? false : _d, props = __rest(_a, ["title", "description", "transcriptLink", "transcriptContent", "light", "url", "onReady", "onPlay", "onStart", "onPause", "onError", "onEnded", "isBorderRadius", "isSupportingTextHidden", "titleWordWrap"]);
26566
26595
  var TextWrapper = isSupportingTextHidden ? VisuallyHidden$2 : "div";
26567
26596
  var isVimeo = new URL(url).hostname.includes("vimeo");
26568
- var _d = React.useState(false), isClient = _d[0], setIsClient = _d[1];
26597
+ var _e = React.useState(false), isClient = _e[0], setIsClient = _e[1];
26569
26598
  // https://nextjs.org/docs/messages/react-hydration-error#solution-1-using-useeffect-to-run-on-the-client-only
26570
26599
  React.useEffect(function () {
26571
26600
  setIsClient(true);
@@ -26596,7 +26625,7 @@ var VideoPlayer = function (_a) {
26596
26625
  : isClient && React.createElement(ReactPlayerYoutube, __assign({}, playerProps))),
26597
26626
  React.createElement(TextWrapper, null,
26598
26627
  React.createElement(VerticalSpace, { size: "24" }),
26599
- React.createElement(Heading, { level: "3", size: "s" }, title),
26628
+ React.createElement(Heading, { level: "3", size: "s", isWordWrap: titleWordWrap }, title),
26600
26629
  React.createElement(VerticalSpace, { size: "8" }),
26601
26630
  React.createElement(Text, null, description)),
26602
26631
  transcriptLink && (React.createElement(React.Fragment, null,
@@ -26677,14 +26706,14 @@ var NavigationHeaderInlineAction = function (_a) {
26677
26706
  React.createElement(Text, { size: "l" }, text))));
26678
26707
  };
26679
26708
 
26680
- var NavigationHeaderButton = React.forwardRef(function (_a, ref) {
26681
- var isActive = _a.isActive, children = _a.children, onClick = _a.onClick, _b = _a.isPadded, isPadded = _b === void 0 ? true : _b, props = __rest(_a, ["isActive", "children", "onClick", "isPadded"]);
26709
+ var NavigationHeaderButton = function (_a) {
26710
+ var ref = _a.ref, isActive = _a.isActive, children = _a.children, onClick = _a.onClick, _b = _a.isPadded, isPadded = _b === void 0 ? true : _b, props = __rest(_a, ["ref", "isActive", "children", "onClick", "isPadded"]);
26682
26711
  var surface = React.useContext(Context$3).surface;
26683
26712
  return (React.createElement("button", __assign({}, props, { ref: ref, onClick: onClick, className: classNames("arc-NavigationHeaderButton", suffixModifier("arc-NavigationHeaderButton--on", surface), {
26684
26713
  "arc-NavigationHeaderButton--active": isActive,
26685
26714
  "arc-NavigationHeaderButton--padded": isPadded,
26686
26715
  }) }), children));
26687
- });
26716
+ };
26688
26717
 
26689
26718
  var NavigationHeaderDisclosure = function (_a) {
26690
26719
  var heading = _a.heading, children = _a.children;
@@ -26730,12 +26759,12 @@ var NavigationHeaderMenuLink = function (_a) {
26730
26759
  React.createElement(ThemeIcon, { size: 28, icon: "navigationHeaderMenuLinkLarge" })))))));
26731
26760
  };
26732
26761
 
26733
- var NavigationHeaderCloseButton = React.forwardRef(function (_a, ref) {
26734
- var onClick = _a.onClick, props = __rest(_a, ["onClick"]);
26762
+ var NavigationHeaderCloseButton = function (_a) {
26763
+ var ref = _a.ref, onClick = _a.onClick, props = __rest(_a, ["ref", "onClick"]);
26735
26764
  var surface = React.useContext(Context$3).surface;
26736
26765
  return (React.createElement("button", __assign({}, props, { ref: ref, "aria-label": "close", onClick: onClick, className: classNames("arc-NavigationHeaderCloseButton", suffixModifier("arc-NavigationHeaderCloseButton--on", surface)) }),
26737
26766
  React.createElement(ThemeIcon, { size: 32, icon: "navigationHeaderClose" })));
26738
- });
26767
+ };
26739
26768
 
26740
26769
  var NavigationHeaderBurgerMenu = function (_a) {
26741
26770
  var navItems = _a.navItems, actions = _a.actions, header = _a.header, footer = _a.footer, logo = _a.logo, background = _a.background, onOpenChange = _a.onOpenChange, _b = _a.pathway, pathway = _b === void 0 ? "invert" : _b;