@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
@@ -5,6 +5,7 @@ var React = require('react');
5
5
  var index = require('./index-BCu-VH8y.cjs');
6
6
  var filterAttrs = require('./filter-attrs-D19P2s1V.cjs');
7
7
  var Text = require('./Text-jwsn80lQ.cjs');
8
+ var Surface = require('./Surface-DIU5ciDT.cjs');
8
9
  var debounce = require('./debounce-uPMetQ6J.cjs');
9
10
  var index$1 = require('./index-CTlXMLug.cjs');
10
11
 
@@ -15,11 +16,12 @@ var ContentSwitcher = function (_a) {
15
16
  React.createElement(index.$69cb30bb0017df05$export$be92b6f5f03c0fe9, tslib_es6.__assign({ className: "arc-ContentSwitcher-root", defaultValue: defaultValue, onValueChange: onValueChange, activationMode: activationMode, value: value }, filterAttrs.filterAttrs(props)), children)));
16
17
  };
17
18
 
18
- var ContentSwitcherTab = React.forwardRef(function (_a, ref) {
19
- var label = _a.label, value = _a.value, onClick = _a.onClick, onFocus = _a.onFocus, props = tslib_es6.__rest(_a, ["label", "value", "onClick", "onFocus"]);
20
- return (React.createElement(index.$69cb30bb0017df05$export$41fb9f06171c75f4, tslib_es6.__assign({ className: "arc-ContentSwitcherTab", value: value, ref: ref, onClick: onClick, onFocus: onFocus }, filterAttrs.filterAttrs(props)),
21
- React.createElement(Text.Text, { size: "m" }, label)));
22
- });
19
+ var ContentSwitcherTab = function (_a) {
20
+ var label = _a.label, value = _a.value, onClick = _a.onClick, onFocus = _a.onFocus, ref = _a.ref, props = tslib_es6.__rest(_a, ["label", "value", "onClick", "onFocus", "ref"]);
21
+ return (React.createElement(Surface.Surface, { isTransparent: true },
22
+ React.createElement(index.$69cb30bb0017df05$export$41fb9f06171c75f4, tslib_es6.__assign({ className: "arc-ContentSwitcherTab", value: value, ref: ref, onClick: onClick, onFocus: onFocus }, filterAttrs.filterAttrs(props)),
23
+ React.createElement(Text.Text, { size: "m" }, label))));
24
+ };
23
25
 
24
26
  var ContentSwitcherContent = function (_a) {
25
27
  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 = tslib_es6.__rest(_a, ["children", "value", "hidden", "forceMount"]);
@@ -85,14 +87,23 @@ var ContentSwitcherList = function (_a) {
85
87
  "arc-ContentSwitcherList--isJustified": isJustified,
86
88
  }), ref: listRef, "aria-label": ariaLabel }, filterAttrs.filterAttrs(props)),
87
89
  React.createElement("div", { className: "arc-ContentSwitcherList-inner" }, React.Children.map(children, function (child, index) {
88
- if (tabRefs) {
90
+ if (!React.isValidElement(child)) {
91
+ return null;
92
+ }
93
+ if (tabRefs.current[index] !== null) {
89
94
  return React.cloneElement(child, {
90
- ref: function (el) { return (tabRefs.current[index] = el); },
95
+ ref: function (el) {
96
+ tabRefs.current[index] = el;
97
+ },
91
98
  onClick: function () {
92
- return scrollTabIntoView({ current: tabRefs.current[index] });
99
+ var el = tabRefs.current[index];
100
+ if (el)
101
+ scrollTabIntoView({ current: el });
93
102
  },
94
103
  onFocus: function () {
95
- return scrollTabIntoView({ current: tabRefs.current[index] });
104
+ var el = tabRefs.current[index];
105
+ if (el)
106
+ scrollTabIntoView({ current: el });
96
107
  },
97
108
  });
98
109
  }
@@ -3,17 +3,17 @@
3
3
  var tslib_es6 = require('./tslib.es6-CCZ3TN_7.cjs');
4
4
  var React = require('react');
5
5
  var index$2 = require('./index-CTlXMLug.cjs');
6
- var index$1 = require('./index-BWfgSvRQ.cjs');
6
+ var index$1 = require('./index-DsqYRMfM.cjs');
7
7
  var filterAttrs = require('./filter-attrs-D19P2s1V.cjs');
8
- var index = require('./index-DXNM3D1d.cjs');
8
+ var index = require('./index-DlWZZNwu.cjs');
9
9
  var Surface = require('./Surface-DIU5ciDT.cjs');
10
10
 
11
11
  /**
12
12
  * Use `Popover` to display content in a portal, triggered by a button.
13
13
  */
14
14
  var Popover = function (_a) {
15
- 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 = tslib_es6.__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"]);
16
- var _l = index.useThemeElement(), themeElement = _l[0], setThemeElement = _l[1];
15
+ 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 = tslib_es6.__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"]);
16
+ var _p = index.useThemeElement(), themeElement = _p[0], setThemeElement = _p[1];
17
17
  var alignOffsetDefault = align === "center" ? 0 : -16;
18
18
  return (React.createElement("div", tslib_es6.__assign({ className: "arc-Popover" }, filterAttrs.filterAttrs(props)),
19
19
  React.createElement(index$1.Root2, { open: open, onOpenChange: onOpenChange },
@@ -27,6 +27,9 @@ var Popover = function (_a) {
27
27
  "arc-Popover-content--dark": background === "dark",
28
28
  "arc-Popover-content--brand": background === "brand",
29
29
  "arc-Popover-content--constrainToViewport": constrainToViewport,
30
+ "arc-Popover-content--isFluidToViewport": isFluidToViewport,
31
+ "arc-Popover-content--contentMargin": contentMargin,
32
+ "arc-Popover-content--isFullBleed": isFullBleed,
30
33
  }), style: { maxWidth: maxWidth, minHeight: minHeight }, "aria-labelledby": "popover-content" },
31
34
  content && React.createElement("div", { id: "popover-content" }, content),
32
35
  arrow && (React.createElement(index$1.PopoverArrow, { className: "arc-Popover-arrow" })))))))))));
@@ -193,8 +193,8 @@ var ProgressStepperItem = function (_a) {
193
193
  };
194
194
 
195
195
  /** Use `ProgressStepper` to provide an overview of a series of steps in a digital journey. */
196
- var ProgressStepper = React.forwardRef(function (_a, ref) {
197
- var children = _a.children, size = _a.size, isFluid = _a.isFluid, direction = _a.direction, isExpandable = _a.isExpandable, invertLabelPosition = _a.invertLabelPosition, currentStep = _a.currentStep, props = tslib_es6.__rest(_a, ["children", "size", "isFluid", "direction", "isExpandable", "invertLabelPosition", "currentStep"]);
196
+ var ProgressStepper = function (_a) {
197
+ 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 = tslib_es6.__rest(_a, ["ref", "children", "size", "isFluid", "direction", "isExpandable", "invertLabelPosition", "currentStep"]);
198
198
  var items = React.Children.toArray(children);
199
199
  var getStepStatus = function (item) {
200
200
  var _a;
@@ -204,7 +204,7 @@ var ProgressStepper = React.forwardRef(function (_a, ref) {
204
204
  "arc-ProgressStepper--vertical": direction === "vertical",
205
205
  }) }, filterAttrs.filterAttrs(props)), items.map(function (item, index) { return (React.createElement(React.Fragment, { key: "StepperItem-".concat(index) },
206
206
  React.createElement(ProgressStepperItem, tslib_es6.__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.filterAttrs(item.props))))); })));
207
- });
207
+ };
208
208
 
209
209
  exports.ProgressStepper = ProgressStepper;
210
210
  exports.ProgressStepperItem = ProgressStepperItem;
@@ -9,9 +9,9 @@ var Surface = require('./Surface-DIU5ciDT.cjs');
9
9
  /**
10
10
  * Use `Rule` to display a horizontal or vertical rule.
11
11
  */
12
- var Rule = function (_a, props) {
12
+ var Rule = function (_a) {
13
13
  var _b;
14
- var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c;
14
+ var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c, props = tslib_es6.__rest(_a, ["orientation"]);
15
15
  var surface = React.useContext(Surface.Context).surface;
16
16
  return (React.createElement("hr", tslib_es6.__assign({ className: index.classNames((_b = {
17
17
  "arc-Rule": true
@@ -23,7 +23,7 @@ var BannerRow = function (_a) {
23
23
 
24
24
  /** Use `TemplateBanner` as a base structure for banner components; other banner variants extend or consume this template. */
25
25
  var TemplateBanner = function (_a) {
26
- 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 = tslib_es6.__rest(_a, ["heading", "fontStyle", "label", "labelLevel", "text", "img", "contentRatio", "children", "alignment", "additionalTopMargin", "minHeight", "minHeightM", "minHeightL", "minHeightXL", "headingSize", "isReversed", "isElevated", "headingLevel", "type"]);
26
+ 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 = tslib_es6.__rest(_a, ["heading", "fontStyle", "label", "labelLevel", "text", "img", "contentRatio", "children", "alignment", "additionalTopMargin", "minHeight", "minHeightM", "minHeightL", "minHeightXL", "headingSize", "isReversed", "isElevated", "headingLevel", "headingWordWrap", "type"]);
27
27
  var backgrounds = {
28
28
  dark: "dark-brand-02",
29
29
  light: "light-white",
@@ -68,7 +68,7 @@ var TemplateBanner = function (_a) {
68
68
  label && (React.createElement(React.Fragment, null,
69
69
  React.createElement(Heading.Heading, { level: labelLevel, fontStyle: "overline", isWordWrap: false }, label),
70
70
  React.createElement(VerticalSpace.VerticalSpace, { size: "8" }))),
71
- React.createElement(Heading.Heading, { level: headingLevel, size: headingSize, fontStyle: fontStyle, isWordWrap: false }, heading),
71
+ React.createElement(Heading.Heading, { level: headingLevel, size: headingSize, fontStyle: fontStyle, isWordWrap: headingWordWrap }, heading),
72
72
  text && (React.createElement(React.Fragment, null,
73
73
  React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
74
74
  React.createElement("span", { className: "arc-TemplateBanner-text" }, text))),
@@ -9,7 +9,7 @@ var Surface = require('./Surface-DIU5ciDT.cjs');
9
9
  var VisuallyHidden = require('./VisuallyHidden-CQg3cOVK.cjs');
10
10
  var Spinner = require('./Spinner-427lpnHI.cjs');
11
11
  var Icon = require('./Icon-Dk2XHa7V.cjs');
12
- var Tooltip = require('./Tooltip-CEb7YEP2.cjs');
12
+ var Tooltip = require('./Tooltip-CdmWvrnr.cjs');
13
13
  var ThemeIcon = require('./ThemeIcon-CwYN77IF.cjs');
14
14
 
15
15
  /**
@@ -110,9 +110,9 @@ var TrailingSlot = function (_a) {
110
110
  };
111
111
 
112
112
  /** Use `TextInput` as a single-line field that allows users to enter short text, such as names, email, search queries or passwords. */
113
- var TextInputComponent = React.forwardRef(function (_a, ref) {
113
+ var TextInputComponent = function (_a) {
114
114
  var _b;
115
- 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 = tslib_es6.__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"]);
115
+ 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 = tslib_es6.__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"]);
116
116
  var _l = React.useState(false), showPasswordToggle = _l[0], setShowPasswordToggle = _l[1];
117
117
  var inferredInputProps = useNumericInput({
118
118
  inputMode: inputMode,
@@ -151,12 +151,12 @@ var TextInputComponent = React.forwardRef(function (_a, ref) {
151
151
  isLoading ||
152
152
  (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 })),
153
153
  suffix && (React.createElement("span", { className: "arc-TextInput-suffix arc-TextInput-affixes", "aria-hidden": true }, suffix))))));
154
- });
154
+ };
155
155
  /**
156
156
  * Use `TextInput` to allow users to enter short form text.
157
157
  */
158
- var TextInput = React.forwardRef(function (props, ref) { return React.createElement(TextInputComponent, tslib_es6.__assign({ ref: ref }, props)); });
159
- var TextInputWithPlaceHolder = React.forwardRef(function (props, ref) { return React.createElement(TextInputComponent, tslib_es6.__assign({ ref: ref }, props)); });
158
+ var TextInput = function (props) { return (React.createElement(TextInputComponent, tslib_es6.__assign({}, props))); };
159
+ var TextInputWithPlaceHolder = function (props) { return React.createElement(TextInputComponent, tslib_es6.__assign({}, props)); };
160
160
 
161
161
  exports.InputIcon = InputIcon;
162
162
  exports.TextInput = TextInput;
@@ -3,10 +3,10 @@
3
3
 
4
4
  var tslib_es6 = require('./tslib.es6-CCZ3TN_7.cjs');
5
5
  var React = require('react');
6
- var index = require('./index-DXNM3D1d.cjs');
6
+ var index = require('./index-DlWZZNwu.cjs');
7
7
  var ReactDOM = require('react-dom');
8
8
  var jsxRuntime = require('react/jsx-runtime');
9
- var index$1 = require('./index-B11wQrRa.cjs');
9
+ var index$1 = require('./index-BdJeAKfz.cjs');
10
10
  var filterAttrs = require('./filter-attrs-D19P2s1V.cjs');
11
11
  var Surface = require('./Surface-DIU5ciDT.cjs');
12
12
  var Icon = require('./Icon-Dk2XHa7V.cjs');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index_es = require('./index.es-B2ZfX2D7.cjs');
3
+ var index_es = require('./index.es-BAsay4oe.cjs');
4
4
 
5
5
  /**
6
6
  * Provides an object of breakpoints for responsive designs.
@@ -2,8 +2,8 @@
2
2
  'use strict';
3
3
 
4
4
  var React = require('react');
5
- var Combination = require('./Combination-6m6aOXZq.cjs');
6
- var index = require('./index-DXNM3D1d.cjs');
5
+ var Combination = require('./Combination-Cm62lfyr.cjs');
6
+ var index = require('./index-DlWZZNwu.cjs');
7
7
 
8
8
  function _interopNamespaceDefault(e) {
9
9
  var n = Object.create(null);
@@ -2,9 +2,9 @@
2
2
  'use strict';
3
3
 
4
4
  var React = require('react');
5
- var Combination = require('./Combination-6m6aOXZq.cjs');
6
- var index = require('./index-DXNM3D1d.cjs');
7
- var index$1 = require('./index-BGGFOAAx.cjs');
5
+ var Combination = require('./Combination-Cm62lfyr.cjs');
6
+ var index = require('./index-DlWZZNwu.cjs');
7
+ var index$1 = require('./index-BBDa9gnQ.cjs');
8
8
  var jsxRuntime = require('react/jsx-runtime');
9
9
 
10
10
  function _interopNamespaceDefault(e) {
@@ -2,8 +2,8 @@
2
2
  'use strict';
3
3
 
4
4
  var React = require('react');
5
- var index = require('./index-DXNM3D1d.cjs');
6
- var Combination = require('./Combination-6m6aOXZq.cjs');
5
+ var index = require('./index-DlWZZNwu.cjs');
6
+ var Combination = require('./Combination-Cm62lfyr.cjs');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
 
9
9
  function _interopNamespaceDefault(e) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  var React = require('react');
4
4
  var ReactDOM = require('react-dom');
5
- var index$1 = require('./index-DXNM3D1d.cjs');
5
+ var index$1 = require('./index-DlWZZNwu.cjs');
6
6
 
7
7
  function _interopNamespaceDefault(e) {
8
8
  var n = Object.create(null);
@@ -3,10 +3,10 @@
3
3
 
4
4
  var React = require('react');
5
5
  var ReactDOM = require('react-dom');
6
- var Combination = require('./Combination-6m6aOXZq.cjs');
7
- var index = require('./index-CklPiHsS.cjs');
8
- var index$1 = require('./index-DXNM3D1d.cjs');
9
- var index$2 = require('./index-KrMgv4q_.cjs');
6
+ var Combination = require('./Combination-Cm62lfyr.cjs');
7
+ var index = require('./index-B_WZUATb.cjs');
8
+ var index$1 = require('./index-DlWZZNwu.cjs');
9
+ var index$2 = require('./index-WO7l1Mfx.cjs');
10
10
  var jsxRuntime = require('react/jsx-runtime');
11
11
 
12
12
  function _interopNamespaceDefault(e) {
@@ -139,9 +139,9 @@ var count = 0;
139
139
  function useId(deterministicId) {
140
140
  const [id, setId] = React__namespace.useState(useReactId());
141
141
  useLayoutEffect2(() => {
142
- if (!deterministicId) setId((reactId) => reactId ?? String(count++));
142
+ setId((reactId) => reactId ?? String(count++));
143
143
  }, [deterministicId]);
144
- return deterministicId || (id ? `radix-${id}` : "");
144
+ return (id ? `radix-${id}` : "");
145
145
  }
146
146
 
147
147
  // packages/react/use-controllable-state/src/useControllableState.tsx
@@ -2,10 +2,10 @@
2
2
  'use strict';
3
3
 
4
4
  var React = require('react');
5
- var Combination = require('./Combination-6m6aOXZq.cjs');
6
- var index = require('./index-DXNM3D1d.cjs');
7
- var index$1 = require('./index-KrMgv4q_.cjs');
8
- var index$2 = require('./index-BGGFOAAx.cjs');
5
+ var Combination = require('./Combination-Cm62lfyr.cjs');
6
+ var index = require('./index-DlWZZNwu.cjs');
7
+ var index$1 = require('./index-WO7l1Mfx.cjs');
8
+ var index$2 = require('./index-BBDa9gnQ.cjs');
9
9
  var jsxRuntime = require('react/jsx-runtime');
10
10
 
11
11
  function _interopNamespaceDefault(e) {
@@ -2,10 +2,10 @@
2
2
  'use strict';
3
3
 
4
4
  var React = require('react');
5
- var index$1 = require('./index-B11wQrRa.cjs');
6
- var Combination = require('./Combination-6m6aOXZq.cjs');
5
+ var index$1 = require('./index-BdJeAKfz.cjs');
6
+ var Combination = require('./Combination-Cm62lfyr.cjs');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
- var index = require('./index-DXNM3D1d.cjs');
8
+ var index = require('./index-DlWZZNwu.cjs');
9
9
 
10
10
  function _interopNamespaceDefault(e) {
11
11
  var n = Object.create(null);
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * Do not edit directly
5
- * Generated on Fri, 05 Dec 2025 13:50:26 GMT
5
+ * Generated on Tue, 23 Dec 2025 14:36:38 GMT
6
6
  */
7
7
  var ArcSizeBreakpointsXs = "320px";
8
8
  var ArcSizeBreakpointsS = "636px";
@@ -1,5 +1,5 @@
1
1
  import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
- import React__default, { forwardRef, useContext } from 'react';
2
+ import React__default, { useContext } from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
4
  import { s as suffixModifier } from './suffix-modifier-B_pO0UkF.mjs';
5
5
  import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
@@ -10,9 +10,9 @@ import { T as ThemeIcon } from './ThemeIcon-B0n6cKRb.mjs';
10
10
  /**
11
11
  * Use `Button` to let a user complete an action like ‘Log in’ or ‘Register’.
12
12
  */
13
- var Button = forwardRef(function (_a, ref) {
13
+ var Button = function (_a) {
14
14
  var _b;
15
- 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"]);
15
+ 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"]);
16
16
  var surface = useContext(Context).surface;
17
17
  var buttonClasses = classNames((_b = {
18
18
  "arc-Button": true,
@@ -40,7 +40,7 @@ var Button = forwardRef(function (_a, ref) {
40
40
  React__default.createElement("span", { className: "arc-Button-inner" },
41
41
  buttonText,
42
42
  buttonIcon)));
43
- });
43
+ };
44
44
  var ButtonIcon = function (_a) {
45
45
  var icon = _a.icon, isChevron = _a.isChevron, isBeforeText = _a.isBeforeText;
46
46
  return (React__default.createElement("span", { className: "arc-Button-icon" }, isChevron ? (React__default.createElement(ThemeIcon, { icon: isBeforeText ? "buttonLeft" : "buttonRight" })) : (React__default.createElement(Icon, { icon: icon }))));
@@ -1,5 +1,5 @@
1
1
  import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
- import React__default, { forwardRef, useContext } from 'react';
2
+ import React__default, { useContext } from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
4
  import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
5
5
  import { I as Icon } from './Icon-CCUbr_AO.mjs';
@@ -9,8 +9,8 @@ import { S as Spinner } from './Spinner-DvngCIwx.mjs';
9
9
  /**
10
10
  * Use `ButtonV2` for our most up to date Call To Action button, offering Primary, Secondary, Tertiary, Compact and Error states.
11
11
  */
12
- var ButtonV2 = forwardRef(function (_a, ref) {
13
- 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"]);
12
+ var ButtonV2 = function (_a) {
13
+ 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"]);
14
14
  var surface = useContext(Context).surface;
15
15
  var ButtonElement = isSpan ? "span" : "button";
16
16
  var iconSizes = {
@@ -54,6 +54,6 @@ var ButtonV2 = forwardRef(function (_a, ref) {
54
54
  return (React__default.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()));
55
55
  }
56
56
  return (React__default.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()));
57
- });
57
+ };
58
58
 
59
59
  export { ButtonV2 as B };
@@ -1,15 +1,15 @@
1
1
  import { b as __spreadArray, a as __assign, _ as __rest } from './tslib.es6-w7hdJ3oZ.mjs';
2
- import React__default, { createContext, forwardRef, useContext, useCallback, useRef, useState, useReducer, useEffect } from 'react';
2
+ import React__default, { createContext, useContext, useCallback, useRef, useState, useReducer, useEffect } from 'react';
3
3
  import { r as requiredArgs, t as toDate, b as toInteger, _ as _typeof, g as getDefaultOptions, f as format } from './index-Cr6KeQLU.mjs';
4
- import { a as ArcSizeBreakpointsM } from './index.es-Co1d96HB.mjs';
4
+ import { a as ArcSizeBreakpointsM } from './index.es-99J0r2va.mjs';
5
5
  import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
6
6
  import { u as useMediaQuery } from './use-media-query-l6Sou0dd.mjs';
7
7
  import { c as classNames } from './index-5C0-U8cc.mjs';
8
- import { T as Text } from './Text-BAzOkkzN.mjs';
9
- import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
10
8
  import './index-Spae4j7j.mjs';
11
9
  import { S as Surface } from './Surface-C69KVzkY.mjs';
12
10
  import { H as Heading } from './Heading-Da-o0d5x.mjs';
11
+ import { T as Text } from './Text-BAzOkkzN.mjs';
12
+ import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
13
13
  import { T as ThemeIcon } from './ThemeIcon-B0n6cKRb.mjs';
14
14
  import { I as Icon } from './Icon-CCUbr_AO.mjs';
15
15
 
@@ -1063,8 +1063,8 @@ function isEqual(dirtyLeftDate, dirtyRightDate) {
1063
1063
 
1064
1064
  var ArcCalendarContext = createContext(null);
1065
1065
 
1066
- var CalendarDayNumber = forwardRef(function (_a, autoFocusRef) {
1067
- var date = _a.date, shouldRender = _a.shouldRender, isFocusWithinDayGrid = _a.isFocusWithinDayGrid;
1066
+ var CalendarDayNumber = function (_a) {
1067
+ var autoFocusRef = _a.ref, date = _a.date, shouldRender = _a.shouldRender, isFocusWithinDayGrid = _a.isFocusWithinDayGrid;
1068
1068
  var context = useContext(ArcCalendarContext);
1069
1069
  var isFocusDate = context && isEqual(date, context.focusDate);
1070
1070
  var tableCellRef = useCallback(function (el) {
@@ -1125,7 +1125,7 @@ var CalendarDayNumber = forwardRef(function (_a, autoFocusRef) {
1125
1125
  React__default.createElement("div", { className: "arc-CalendarDayNumber-buttonInner" },
1126
1126
  React__default.createElement(Text, { size: "s" },
1127
1127
  React__default.createElement("span", { "aria-hidden": true }, getDate(date)))))))));
1128
- });
1128
+ };
1129
1129
 
1130
1130
  /**
1131
1131
  * Do not edit directly
@@ -5,8 +5,8 @@ import { H as Heading } from './Heading-Da-o0d5x.mjs';
5
5
 
6
6
  /** Use `CardHeading` internally within card components to display a title, icon, or leading content at the top of a card. */
7
7
  var CardHeading = function (_a) {
8
- 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;
9
- return (React__default.createElement(Heading, { level: headingLevel, size: size, isWordWrap: false }, href ? (React__default.createElement("a", __assign({ className: "arc-CardHeading-link", href: href, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onFocus: onFocus, onBlur: onBlur }, filterAttrs(linkData)), heading)) : (heading)));
8
+ 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;
9
+ return (React__default.createElement(Heading, { level: headingLevel, size: size, isWordWrap: headingWordWrap }, href ? (React__default.createElement("a", __assign({ className: "arc-CardHeading-link", href: href, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onFocus: onFocus, onBlur: onBlur }, filterAttrs(linkData)), heading)) : (heading)));
10
10
  };
11
11
 
12
12
  export { CardHeading as C };
@@ -7,15 +7,16 @@ import { C as Context } from './FormControl-DopDD_nC.mjs';
7
7
 
8
8
  /** Use `CheckboxIcon` to display a visual checkbox indicator that reflects a checked, unchecked, or indeterminate state. */
9
9
  var CheckboxIcon = function (_a) {
10
- 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"]);
10
+ 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"]);
11
11
  var requirementStatus = useContext(Context).requirementStatus;
12
12
  var internalRef = useRef(null);
13
13
  var surface = useContext(Context$1).surface;
14
+ var inputRef = (ref || internalRef);
14
15
  useEffect(function () {
15
- if (internalRef.current) {
16
- internalRef.current.indeterminate = indeterminate;
16
+ if (inputRef.current) {
17
+ inputRef.current.indeterminate = indeterminate;
17
18
  }
18
- }, [indeterminate, checked]);
19
+ }, [indeterminate, checked, inputRef]);
19
20
  var tickSize = {
20
21
  s: 14,
21
22
  m: 18,
@@ -43,7 +44,7 @@ var CheckboxIcon = function (_a) {
43
44
  ? true
44
45
  : indeterminate && checked
45
46
  ? "mixed"
46
- : 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)),
47
+ : 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)),
47
48
  React__default.createElement("span", { className: classNames("arc-CheckboxIcon-box") }, indeterminate ? (React__default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", fill: "none" },
48
49
  React__default.createElement("rect", { x: "4", y: "8", width: "7.51", height: "1", rx: "0.5", fill: "currentColor" }))) : (React__default.createElement(ThemeIcon, { icon: "checkboxChecked", size: tickSize[size] })))));
49
50
  };
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import * as React from 'react';
3
3
  import { useState } from 'react';
4
- import { g as useEscapeKeydown, f as useCallbackRef$1, b as useLayoutEffect2 } from './index-Bz2JQq34.mjs';
4
+ import { g as useEscapeKeydown, f as useCallbackRef$1, b as useLayoutEffect2 } from './index-DkAfUbDx.mjs';
5
5
  import { jsx, Fragment } from 'react/jsx-runtime';
6
6
  import * as ReactDOM from 'react-dom';
7
7
  import ReactDOM__default from 'react-dom';
@@ -1,10 +1,10 @@
1
1
  import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
2
  import React__default, { useState, useEffect, isValidElement } from 'react';
3
3
  import { c as classNames } from './index-5C0-U8cc.mjs';
4
- import { R as Root2, T as Trigger, V as Value, I as Icon, P as Portal, C as Content2, S as ScrollUpButton, a as Viewport, b as Item, c as ItemText, d as ItemIndicator, e as ScrollDownButton } from './index-vnVJe9rH.mjs';
4
+ import { R as Root2, T as Trigger, V as Value, I as Icon, P as Portal, C as Content2, S as ScrollUpButton, a as Viewport, b as Item, c as ItemText, d as ItemIndicator, e as ScrollDownButton } from './index-Dfz5UgHo.mjs';
5
5
  import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
6
6
  import { T as ThemeIcon } from './ThemeIcon-B0n6cKRb.mjs';
7
- import { e as useThemeElement } from './index-Bz2JQq34.mjs';
7
+ import { e as useThemeElement } from './index-DkAfUbDx.mjs';
8
8
  import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
9
9
 
10
10
  // src/get-text-width/get-text-width.ts
@@ -1,8 +1,9 @@
1
1
  import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
2
- import React__default, { forwardRef, useState, useRef, useEffect } from 'react';
3
- import { $ as $69cb30bb0017df05$export$be92b6f5f03c0fe9, a as $69cb30bb0017df05$export$41fb9f06171c75f4, b as $69cb30bb0017df05$export$7c6e2c02157bb7d2, c as $69cb30bb0017df05$export$54c2e3dc7acea9f5 } from './index-BWkI4Dwz.mjs';
2
+ import React__default, { useState, useRef, useEffect } from 'react';
3
+ import { $ as $69cb30bb0017df05$export$be92b6f5f03c0fe9, a as $69cb30bb0017df05$export$41fb9f06171c75f4, b as $69cb30bb0017df05$export$7c6e2c02157bb7d2, c as $69cb30bb0017df05$export$54c2e3dc7acea9f5 } from './index-CfXVJXLq.mjs';
4
4
  import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
5
5
  import { T as Text } from './Text-BAzOkkzN.mjs';
6
+ import { S as Surface } from './Surface-C69KVzkY.mjs';
6
7
  import { d as debounce } from './debounce-D_Nx5go6.mjs';
7
8
  import { c as classNames } from './index-5C0-U8cc.mjs';
8
9
 
@@ -13,11 +14,12 @@ var ContentSwitcher = function (_a) {
13
14
  React__default.createElement($69cb30bb0017df05$export$be92b6f5f03c0fe9, __assign({ className: "arc-ContentSwitcher-root", defaultValue: defaultValue, onValueChange: onValueChange, activationMode: activationMode, value: value }, filterAttrs(props)), children)));
14
15
  };
15
16
 
16
- var ContentSwitcherTab = forwardRef(function (_a, ref) {
17
- var label = _a.label, value = _a.value, onClick = _a.onClick, onFocus = _a.onFocus, props = __rest(_a, ["label", "value", "onClick", "onFocus"]);
18
- return (React__default.createElement($69cb30bb0017df05$export$41fb9f06171c75f4, __assign({ className: "arc-ContentSwitcherTab", value: value, ref: ref, onClick: onClick, onFocus: onFocus }, filterAttrs(props)),
19
- React__default.createElement(Text, { size: "m" }, label)));
20
- });
17
+ var ContentSwitcherTab = function (_a) {
18
+ var label = _a.label, value = _a.value, onClick = _a.onClick, onFocus = _a.onFocus, ref = _a.ref, props = __rest(_a, ["label", "value", "onClick", "onFocus", "ref"]);
19
+ return (React__default.createElement(Surface, { isTransparent: true },
20
+ React__default.createElement($69cb30bb0017df05$export$41fb9f06171c75f4, __assign({ className: "arc-ContentSwitcherTab", value: value, ref: ref, onClick: onClick, onFocus: onFocus }, filterAttrs(props)),
21
+ React__default.createElement(Text, { size: "m" }, label))));
22
+ };
21
23
 
22
24
  var ContentSwitcherContent = function (_a) {
23
25
  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"]);
@@ -83,14 +85,23 @@ var ContentSwitcherList = function (_a) {
83
85
  "arc-ContentSwitcherList--isJustified": isJustified,
84
86
  }), ref: listRef, "aria-label": ariaLabel }, filterAttrs(props)),
85
87
  React__default.createElement("div", { className: "arc-ContentSwitcherList-inner" }, React__default.Children.map(children, function (child, index) {
86
- if (tabRefs) {
88
+ if (!React__default.isValidElement(child)) {
89
+ return null;
90
+ }
91
+ if (tabRefs.current[index] !== null) {
87
92
  return React__default.cloneElement(child, {
88
- ref: function (el) { return (tabRefs.current[index] = el); },
93
+ ref: function (el) {
94
+ tabRefs.current[index] = el;
95
+ },
89
96
  onClick: function () {
90
- return scrollTabIntoView({ current: tabRefs.current[index] });
97
+ var el = tabRefs.current[index];
98
+ if (el)
99
+ scrollTabIntoView({ current: el });
91
100
  },
92
101
  onFocus: function () {
93
- return scrollTabIntoView({ current: tabRefs.current[index] });
102
+ var el = tabRefs.current[index];
103
+ if (el)
104
+ scrollTabIntoView({ current: el });
94
105
  },
95
106
  });
96
107
  }