@arc-ui/components 11.18.0 → 11.19.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 (92) hide show
  1. package/dist/Alert/Alert.cjs.js +1 -1
  2. package/dist/Alert/Alert.esm.js +1 -1
  3. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +2 -2
  4. package/dist/Breadcrumbs/Breadcrumbs.esm.js +2 -2
  5. package/dist/Button/Button.cjs.js +2 -2
  6. package/dist/Button/Button.esm.js +2 -2
  7. package/dist/Calendar/Calendar.cjs.js +2 -2
  8. package/dist/Calendar/Calendar.esm.js +2 -2
  9. package/dist/Card/Card.cjs.js +2 -2
  10. package/dist/Card/Card.esm.js +2 -2
  11. package/dist/DatePicker/DatePicker.cjs.js +4 -4
  12. package/dist/DatePicker/DatePicker.esm.js +4 -4
  13. package/dist/Disclosure/Disclosure.cjs.js +5 -1
  14. package/dist/Disclosure/Disclosure.esm.js +6 -2
  15. package/dist/Icon/Icon.cjs.js +1 -1
  16. package/dist/Icon/Icon.esm.js +1 -1
  17. package/dist/InformationCard/InformationCard.cjs.js +4 -4
  18. package/dist/InformationCard/InformationCard.esm.js +4 -4
  19. package/dist/MediaCard/MediaCard.cjs.js +2 -2
  20. package/dist/MediaCard/MediaCard.esm.js +2 -2
  21. package/dist/Modal/Modal.cjs.js +2 -2
  22. package/dist/Modal/Modal.esm.js +2 -2
  23. package/dist/Pagination/Pagination.cjs.js +1 -1
  24. package/dist/Pagination/Pagination.esm.js +1 -1
  25. package/dist/PaginationSimple/PaginationSimple.cjs.js +1 -1
  26. package/dist/PaginationSimple/PaginationSimple.esm.js +1 -1
  27. package/dist/ProgressBar/ProgressBar.cjs.js +1 -1
  28. package/dist/ProgressBar/ProgressBar.esm.js +1 -1
  29. package/dist/ProgressStepper/ProgressStepper.cjs.js +2 -2
  30. package/dist/ProgressStepper/ProgressStepper.esm.js +2 -2
  31. package/dist/RadioGroup/RadioGroup.cjs.js +1 -1
  32. package/dist/RadioGroup/RadioGroup.esm.js +1 -1
  33. package/dist/ScrollToTop/ScrollToTop.cjs.js +1 -1
  34. package/dist/ScrollToTop/ScrollToTop.esm.js +1 -1
  35. package/dist/Select/Select.cjs.js +1 -1
  36. package/dist/Select/Select.esm.js +1 -1
  37. package/dist/SiteHeader/SiteHeader.cjs.js +3 -3
  38. package/dist/SiteHeader/SiteHeader.esm.js +3 -3
  39. package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +3 -3
  40. package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +3 -3
  41. package/dist/Switch/Switch.cjs.js +1 -1
  42. package/dist/Switch/Switch.esm.js +1 -1
  43. package/dist/Tabs/Tabs.cjs.js +2 -2
  44. package/dist/Tabs/Tabs.esm.js +2 -2
  45. package/dist/Tag/Tag.cjs.js +2 -2
  46. package/dist/Tag/Tag.esm.js +2 -2
  47. package/dist/TextArea/TextArea.cjs.js +11 -11
  48. package/dist/TextArea/TextArea.esm.js +11 -11
  49. package/dist/TextInput/TextInput.cjs.js +2 -2
  50. package/dist/TextInput/TextInput.esm.js +2 -2
  51. package/dist/Toast/Toast.cjs.js +2 -2
  52. package/dist/Toast/Toast.esm.js +2 -2
  53. package/dist/TypographyCard/TypographyCard.cjs.js +2 -2
  54. package/dist/TypographyCard/TypographyCard.esm.js +2 -2
  55. package/dist/_shared/cjs/{Breadcrumbs-ef659d2b.js → Breadcrumbs-c6eaf5c4.js} +1 -1
  56. package/dist/_shared/cjs/{Button-4fed080a.js → Button-84533dc8.js} +1 -1
  57. package/dist/_shared/cjs/{Calendar-18e255f8.js → Calendar-c6ed5f2c.js} +1 -1
  58. package/dist/_shared/cjs/{Card-17dcc171.js → Card-5b19cabc.js} +1 -1
  59. package/dist/_shared/cjs/{CardFooter-43c32239.js → CardFooter-f6cba651.js} +1 -1
  60. package/dist/_shared/cjs/{Icon-a9801f05.js → Icon-b46897a3.js} +6 -2
  61. package/dist/_shared/cjs/{ProgressStepper-9cdc0afe.js → ProgressStepper-3af8a210.js} +1 -1
  62. package/dist/_shared/cjs/{RadioGroup-23c964ae.js → RadioGroup-60845bb3.js} +8 -4
  63. package/dist/_shared/cjs/{SiteHeader.rehydrator-df053a52.js → SiteHeader.rehydrator-ea49f8d5.js} +2 -2
  64. package/dist/_shared/cjs/{SiteHeaderV2-79930632.js → SiteHeaderV2-8c8f3f5c.js} +2 -2
  65. package/dist/_shared/cjs/{Tabs-34db6bc1.js → Tabs-24e6f45b.js} +1 -1
  66. package/dist/_shared/cjs/{Tag-42ddca45.js → Tag-8723b324.js} +1 -1
  67. package/dist/_shared/cjs/{TextInput-d0370fa8.js → TextInput-acbd8eda.js} +5 -2
  68. package/dist/_shared/cjs/{Toast-392b1d60.js → Toast-7a20d1b9.js} +1 -1
  69. package/dist/_shared/esm/{Breadcrumbs-36edfb3d.js → Breadcrumbs-7d55e1a6.js} +1 -1
  70. package/dist/_shared/esm/{Button-a453e8e4.js → Button-3f294e64.js} +1 -1
  71. package/dist/_shared/esm/{Calendar-4033fa48.js → Calendar-753ef6f1.js} +1 -1
  72. package/dist/_shared/esm/{Card-201e9f28.js → Card-7fc6c9b4.js} +1 -1
  73. package/dist/_shared/esm/{CardFooter-dd8d4000.js → CardFooter-55ae9a37.js} +1 -1
  74. package/dist/_shared/esm/{Icon-abd0d990.js → Icon-15799695.js} +6 -2
  75. package/dist/_shared/esm/{ProgressStepper-f51f86c3.js → ProgressStepper-d4c5b6d9.js} +1 -1
  76. package/dist/_shared/esm/{RadioGroup-37fdb06b.js → RadioGroup-d42dba3a.js} +8 -4
  77. package/dist/_shared/esm/{SiteHeader.rehydrator-32bdcd88.js → SiteHeader.rehydrator-65c8cf71.js} +2 -2
  78. package/dist/_shared/esm/{SiteHeaderV2-9e7e7d3b.js → SiteHeaderV2-6d0ff35b.js} +2 -2
  79. package/dist/_shared/esm/{Tabs-df9965dd.js → Tabs-a85af483.js} +1 -1
  80. package/dist/_shared/esm/{Tag-92c088a9.js → Tag-664b85c8.js} +1 -1
  81. package/dist/_shared/esm/{TextInput-abbab56b.js → TextInput-ddf4cc7a.js} +5 -3
  82. package/dist/_shared/esm/{Toast-5d66e13f.js → Toast-7a232e15.js} +1 -1
  83. package/dist/index.es.js +24 -10
  84. package/dist/index.es.js.map +1 -1
  85. package/dist/index.js +24 -10
  86. package/dist/index.js.map +1 -1
  87. package/dist/styles.css +3 -3
  88. package/dist/types/components/DatePicker/DatePicker.d.ts +2 -2
  89. package/dist/types/components/Icon/Icon.d.ts +4 -0
  90. package/dist/types/components/RadioGroup/RadioButton/RadioButton.d.ts +5 -0
  91. package/dist/types/components/TextInput/TextInput.d.ts +4 -4
  92. package/package.json +1 -1
@@ -15,8 +15,8 @@ var useRadioContext = function () {
15
15
  * Radio Button component.
16
16
  */
17
17
  var RadioButton = forwardRef(function (_a, ref) {
18
- var helper = _a.helper, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, value = _a.value, props = __rest(_a, ["helper", "id", "isDisabled", "label", "value"]);
19
- var _b = useRadioContext(), blurEvent = _b.blurEvent, changeEvent = _b.changeEvent, groupDisabled = _b.groupDisabled, checkedValue = _b.checkedValue, labelSize = _b.labelSize, name = _b.name, size = _b.size;
18
+ 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, props = __rest(_a, ["helper", "id", "isDisabled", "label", "radioButtonAlignment", "value"]);
19
+ var _c = useRadioContext(), blurEvent = _c.blurEvent, changeEvent = _c.changeEvent, groupDisabled = _c.groupDisabled, checkedValue = _c.checkedValue, labelSize = _c.labelSize, name = _c.name, size = _c.size;
20
20
  var surface = useContext(Context).surface;
21
21
  var idLabel = "".concat(id, "-label");
22
22
  var checked = checkedValue === value ? true : false;
@@ -27,9 +27,13 @@ var RadioButton = forwardRef(function (_a, ref) {
27
27
  "arc-RadioButton--smallLabel": labelSize === "s",
28
28
  "arc-RadioButton--onDarkSurface": surface === "dark"
29
29
  }) }, filterDataAttrs(props)),
30
- React__default.createElement("label", { className: "arc-RadioButton-label", htmlFor: id, id: idLabel },
30
+ React__default.createElement("label", { className: classNames("arc-RadioButton-label", {
31
+ "arc-RadioButton-label--alignTop": radioButtonAlignment === "top"
32
+ }), htmlFor: id, id: idLabel },
31
33
  React__default.createElement("input", { className: "arc-RadioButton-input", checked: typeof changeEvent !== "function" ? undefined : checked, defaultChecked: typeof changeEvent !== "function" ? checked : undefined, disabled: isDisabled || groupDisabled, id: id, name: name, onBlur: blurEvent, onChange: changeEvent, ref: ref, type: "radio", value: value }),
32
- React__default.createElement("span", null,
34
+ React__default.createElement("span", { className: classNames({
35
+ "arc-RadioButton-label--marginTop": radioButtonAlignment === "top"
36
+ }) },
33
37
  label,
34
38
  helper && React__default.createElement("span", { className: "arc-RadioButton-helper" }, helper)))));
35
39
  });
@@ -7,7 +7,7 @@ import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
7
7
  import { a as BtIconChevronRight2Px, B as BtIconChevronLeft2Px } from './BtIconChevronRight2Px.esm-75e92636.js';
8
8
  import { S as Surface } from './Surface-0ca6817d.js';
9
9
  import { B as BrandLogo } from './BrandLogo-1af78f76.js';
10
- import { B as Button } from './Button-a453e8e4.js';
10
+ import { B as Button } from './Button-3f294e64.js';
11
11
  import { s as suffixModifier } from './suffix-modifier-3d548e45.js';
12
12
  import { T as Text } from './Text-14f586ac.js';
13
13
 
@@ -580,7 +580,7 @@ var SiteHeader = function (_a) {
580
580
  React__default.createElement("a", { className: "arc-SiteHeader-brand", onClick: handleLinkClick({
581
581
  handler: logoOnClick
582
582
  }), href: logoHref },
583
- React__default.createElement(BrandLogo, { label: logoLabel, subBrand: subBrand, size: 40 })),
583
+ React__default.createElement(BrandLogo, { label: logoLabel, subBrand: subBrand })),
584
584
  children && (React__default.createElement("nav", { className: "arc-SiteHeader-nav" },
585
585
  React__default.createElement("div", { className: "arc-SiteHeader-menuButton" },
586
586
  React__default.createElement(MenuButton, { menuOpen: menuOpen, setMenuOpen: setMenuOpen })),
@@ -7,10 +7,10 @@ import { S as Surface } from './Surface-0ca6817d.js';
7
7
  import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
8
8
  import { B as BtIconChevronRightMid } from './BtIconChevronRightMid.esm-32268f1a.js';
9
9
  import { B as BtIconChevronLeft2Px, a as BtIconChevronRight2Px } from './BtIconChevronRight2Px.esm-75e92636.js';
10
- import { B as Button } from './Button-a453e8e4.js';
10
+ import { B as Button } from './Button-3f294e64.js';
11
11
  import { s as suffixModifier } from './suffix-modifier-3d548e45.js';
12
12
  import { T as Text } from './Text-14f586ac.js';
13
- import { I as Icon } from './Icon-abd0d990.js';
13
+ import { I as Icon } from './Icon-15799695.js';
14
14
 
15
15
  var Item = function (_a) {
16
16
  var _b;
@@ -6,7 +6,7 @@ import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-044da8d0
6
6
  import { $ as $1746a345f3d73bb7$export$f680877a34711e37 } from './index-efa9be1a.js';
7
7
  import { $ as $f631663db3294ace$export$b39126d51d94e6f3 } from './index-a624de47.js';
8
8
  import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-ca72c9d5.js';
9
- import { I as Icon } from './Icon-abd0d990.js';
9
+ import { I as Icon } from './Icon-15799695.js';
10
10
  import { C as Context } from './Surface-0ca6817d.js';
11
11
  import { c as classNames } from './index-2e73c2e9.js';
12
12
  import { B as BtIconArrowRightFill } from './BtIconArrowRightFill.esm-99019d1a.js';
@@ -2,7 +2,7 @@ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-
2
2
  import React__default, { useContext, useState } from 'react';
3
3
  import { c as classNames } from './index-2e73c2e9.js';
4
4
  import { C as Context } from './Surface-0ca6817d.js';
5
- import { I as Icon } from './Icon-abd0d990.js';
5
+ import { I as Icon } from './Icon-15799695.js';
6
6
 
7
7
  const BtIconCross = (props) =>
8
8
  /*#__PURE__*/ React__default.createElement(
@@ -4,7 +4,7 @@ import React__default, { forwardRef, useContext, useState } from 'react';
4
4
  import { u as useAriaDescribedby, F as FormControl } from './FormControl-f0b8fe91.js';
5
5
  import { C as Context } from './Surface-0ca6817d.js';
6
6
  import { V as VisuallyHidden } from './VisuallyHidden-b9eebf71.js';
7
- import { I as Icon } from './Icon-abd0d990.js';
7
+ import { I as Icon } from './Icon-15799695.js';
8
8
 
9
9
  /**
10
10
  * Infer the correct inputMode, pattern and type if specifying a `number` type.
@@ -36,7 +36,7 @@ var useNumericInput = function (props) {
36
36
  /**
37
37
  * Use `TextInput` to allow custom user text entry with a keyboard.
38
38
  */
39
- var TextInput = forwardRef(function (_a, ref) {
39
+ var TextInputComponent = forwardRef(function (_a, ref) {
40
40
  var _b;
41
41
  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, _g = _a.labelSize, labelSize = _g === void 0 ? "l" : _g, maxLength = _a.maxLength, minLength = _a.minLength, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, placeholder = _a.placeholder, onClickDisclosure = _a.onClickDisclosure, pattern = _a.pattern, _h = _a.type, type = _h === void 0 ? "text" : _h, _j = _a.showPassword, showPassword = _j === void 0 ? false : _j, value = _a.value, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, _k = _a.inputSize, inputSize = _k === void 0 ? "m" : _k, iconButton = _a.iconButton, prefix = _a.prefix, suffix = _a.suffix, _l = _a.inputAlignment, inputAlignment = _l === void 0 ? "left" : _l, width = _a.width, props = __rest(_a, ["defaultValue", "errorMessage", "helper", "hideLabel", "id", "inputMode", "isDisabled", "isReadOnly", "isRequired", "label", "labelSize", "maxLength", "minLength", "name", "onBlur", "onChange", "placeholder", "onClickDisclosure", "pattern", "type", "showPassword", "value", "disclosureTitle", "disclosureText", "inputSize", "iconButton", "prefix", "suffix", "inputAlignment", "width"]);
42
42
  var surface = useContext(Context).surface;
@@ -90,5 +90,7 @@ var TextInput = forwardRef(function (_a, ref) {
90
90
  ? "Your password is shown"
91
91
  : "Your password is hidden")))))))));
92
92
  });
93
+ var TextInput = forwardRef(function (props, ref) { return React__default.createElement(TextInputComponent, __assign({ ref: ref }, props)); });
94
+ var TextInputWithPlaceHolder = forwardRef(function (props, ref) { return React__default.createElement(TextInputComponent, __assign({ ref: ref }, props)); });
93
95
 
94
- export { TextInput as T };
96
+ export { TextInputWithPlaceHolder as T, TextInput as a };
@@ -11,7 +11,7 @@ import { c as classNames } from './index-2e73c2e9.js';
11
11
  import { B as BtIconCrossAlt2Px } from './BtIconCrossAlt2Px.esm-7165ab1a.js';
12
12
  import { B as BtIconNotification, a as BtIconAlertTriangle, b as BtIconTick } from './BtIconTick.esm-e265098f.js';
13
13
  import { B as BtIconAlert } from './BtIconAlert.esm-a4608d47.js';
14
- import { I as Icon } from './Icon-abd0d990.js';
14
+ import { I as Icon } from './Icon-15799695.js';
15
15
 
16
16
  const $5cb92bef7577960e$var$CONTEXT_UPDATE = 'dismissableLayer.update';
17
17
  const $5cb92bef7577960e$var$POINTER_DOWN_OUTSIDE = 'dismissableLayer.pointerDownOutside';
package/dist/index.es.js CHANGED
@@ -381,9 +381,13 @@ const ArcIconArc = (props) =>
381
381
  */
382
382
  var Icon = function (_a) {
383
383
  var _b;
384
- var testId = _a.testId, _c = _a.color, color = _c === void 0 ? "auto" : _c, _d = _a.icon, icon = _d === void 0 ? ArcIconArc : _d, _e = _a.isInline, isInline = _e === void 0 ? false : _e, label = _a.label, size = _a.size, props = __rest(_a, ["testId", "color", "icon", "isInline", "label", "size"]);
384
+ var testId = _a.testId, _c = _a.color, color = _c === void 0 ? "auto" : _c, _d = _a.icon, icon = _d === void 0 ? ArcIconArc : _d, _e = _a.isInline, isInline = _e === void 0 ? false : _e, _f = _a.isPresentationIcon, isPresentationIcon = _f === void 0 ? false : _f, label = _a.label, size = _a.size, props = __rest(_a, ["testId", "color", "icon", "isInline", "isPresentationIcon", "label", "size"]);
385
385
  var surface = useContext(Context$5).surface;
386
386
  var Icon = icon;
387
+ var presentationIconProps = {
388
+ role: "presentation",
389
+ "aria-hidden": true
390
+ };
387
391
  return (React__default.createElement("span", __assign({ "data-testid": testId, "aria-label": label, className: classNames((_b = {},
388
392
  _b["arc-Icon"] = true,
389
393
  _b[suffixModifier("arc-Icon--color", color)] = color !== "auto",
@@ -393,7 +397,7 @@ var Icon = function (_a) {
393
397
  height: size,
394
398
  width: size
395
399
  } }, filterDataAttrs(props)),
396
- React__default.createElement(Icon, null)));
400
+ React__default.createElement(Icon, __assign({}, (isPresentationIcon ? presentationIconProps : {})))));
397
401
  };
398
402
 
399
403
  /**
@@ -1921,12 +1925,16 @@ var Curve = function (_a) {
1921
1925
  var Disclosure = function (_a) {
1922
1926
  var children = _a.children, headingLevel = _a.headingLevel, _b = _a.indentDetails, indentDetails = _b === void 0 ? false : _b, _c = _a.isOpen, isOpen = _c === void 0 ? false : _c, summary = _a.summary, props = __rest(_a, ["children", "headingLevel", "indentDetails", "isOpen", "summary"]);
1923
1927
  var surface = useContext(Context$5).surface;
1928
+ var _d = useState(false), disclousreState = _d[0], setDisclosureState = _d[1];
1929
+ var handleOnClick = function () {
1930
+ setDisclosureState(function (prevState) { return !prevState; });
1931
+ };
1924
1932
  return (React__default.createElement("details", __assign({ className: classNames({
1925
1933
  "arc-Disclosure": true,
1926
1934
  "arc-Disclosure--indentDetails": indentDetails,
1927
1935
  "arc-Disclosure--onDarkSurface": surface === "dark"
1928
1936
  }), open: isOpen }, filterDataAttrs(props)),
1929
- React__default.createElement("summary", { className: "arc-Disclosure-summary" },
1937
+ React__default.createElement("summary", { "aria-expanded": disclousreState, onClick: handleOnClick, className: "arc-Disclosure-summary" },
1930
1938
  React__default.createElement("span", { className: "arc-Disclosure-summary-icon" },
1931
1939
  React__default.createElement(BtIconChevronDown2Px, null)),
1932
1940
  React__default.createElement(Heading, { level: headingLevel, size: "s" }, summary)),
@@ -2328,7 +2336,7 @@ var InformationCard = function (_a) {
2328
2336
  React__default.createElement(Surface, { growVertically: true, padding: containerSpacing, background: "white" },
2329
2337
  React__default.createElement("div", null,
2330
2338
  image && (React__default.createElement("div", { className: "arc-InformationCard-img" },
2331
- React__default.createElement(Image, __assign({}, image)),
2339
+ React__default.createElement(Image, __assign({ alt: "" }, image)),
2332
2340
  React__default.createElement(VerticalSpace, { size: assetSpacing }))),
2333
2341
  icon && (React__default.createElement(React__default.Fragment, null,
2334
2342
  React__default.createElement(Icon, { testId: "information-card-icon", icon: icon, size: 96 }),
@@ -35683,8 +35691,8 @@ var useRadioContext = function () {
35683
35691
  * Radio Button component.
35684
35692
  */
35685
35693
  var RadioButton = forwardRef(function (_a, ref) {
35686
- var helper = _a.helper, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, value = _a.value, props = __rest(_a, ["helper", "id", "isDisabled", "label", "value"]);
35687
- var _b = useRadioContext(), blurEvent = _b.blurEvent, changeEvent = _b.changeEvent, groupDisabled = _b.groupDisabled, checkedValue = _b.checkedValue, labelSize = _b.labelSize, name = _b.name, size = _b.size;
35694
+ 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, props = __rest(_a, ["helper", "id", "isDisabled", "label", "radioButtonAlignment", "value"]);
35695
+ var _c = useRadioContext(), blurEvent = _c.blurEvent, changeEvent = _c.changeEvent, groupDisabled = _c.groupDisabled, checkedValue = _c.checkedValue, labelSize = _c.labelSize, name = _c.name, size = _c.size;
35688
35696
  var surface = useContext(Context$5).surface;
35689
35697
  var idLabel = "".concat(id, "-label");
35690
35698
  var checked = checkedValue === value ? true : false;
@@ -35695,9 +35703,13 @@ var RadioButton = forwardRef(function (_a, ref) {
35695
35703
  "arc-RadioButton--smallLabel": labelSize === "s",
35696
35704
  "arc-RadioButton--onDarkSurface": surface === "dark"
35697
35705
  }) }, filterDataAttrs(props)),
35698
- React__default.createElement("label", { className: "arc-RadioButton-label", htmlFor: id, id: idLabel },
35706
+ React__default.createElement("label", { className: classNames("arc-RadioButton-label", {
35707
+ "arc-RadioButton-label--alignTop": radioButtonAlignment === "top"
35708
+ }), htmlFor: id, id: idLabel },
35699
35709
  React__default.createElement("input", { className: "arc-RadioButton-input", checked: typeof changeEvent !== "function" ? undefined : checked, defaultChecked: typeof changeEvent !== "function" ? checked : undefined, disabled: isDisabled || groupDisabled, id: id, name: name, onBlur: blurEvent, onChange: changeEvent, ref: ref, type: "radio", value: value }),
35700
- React__default.createElement("span", null,
35710
+ React__default.createElement("span", { className: classNames({
35711
+ "arc-RadioButton-label--marginTop": radioButtonAlignment === "top"
35712
+ }) },
35701
35713
  label,
35702
35714
  helper && React__default.createElement("span", { className: "arc-RadioButton-helper" }, helper)))));
35703
35715
  });
@@ -39895,7 +39907,7 @@ var SiteHeader = function (_a) {
39895
39907
  React__default.createElement("a", { className: "arc-SiteHeader-brand", onClick: handleLinkClick({
39896
39908
  handler: logoOnClick
39897
39909
  }), href: logoHref },
39898
- React__default.createElement(BrandLogo, { label: logoLabel, subBrand: subBrand, size: 40 })),
39910
+ React__default.createElement(BrandLogo, { label: logoLabel, subBrand: subBrand })),
39899
39911
  children && (React__default.createElement("nav", { className: "arc-SiteHeader-nav" },
39900
39912
  React__default.createElement("div", { className: "arc-SiteHeader-menuButton" },
39901
39913
  React__default.createElement(MenuButton$1, { menuOpen: menuOpen, setMenuOpen: setMenuOpen })),
@@ -41628,7 +41640,7 @@ var TextArea = forwardRef(function (_a, ref) {
41628
41640
  /**
41629
41641
  * Use `TextInput` to allow custom user text entry with a keyboard.
41630
41642
  */
41631
- var TextInput = forwardRef(function (_a, ref) {
41643
+ var TextInputComponent = forwardRef(function (_a, ref) {
41632
41644
  var _b;
41633
41645
  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, _g = _a.labelSize, labelSize = _g === void 0 ? "l" : _g, maxLength = _a.maxLength, minLength = _a.minLength, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, placeholder = _a.placeholder, onClickDisclosure = _a.onClickDisclosure, pattern = _a.pattern, _h = _a.type, type = _h === void 0 ? "text" : _h, _j = _a.showPassword, showPassword = _j === void 0 ? false : _j, value = _a.value, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, _k = _a.inputSize, inputSize = _k === void 0 ? "m" : _k, iconButton = _a.iconButton, prefix = _a.prefix, suffix = _a.suffix, _l = _a.inputAlignment, inputAlignment = _l === void 0 ? "left" : _l, width = _a.width, props = __rest(_a, ["defaultValue", "errorMessage", "helper", "hideLabel", "id", "inputMode", "isDisabled", "isReadOnly", "isRequired", "label", "labelSize", "maxLength", "minLength", "name", "onBlur", "onChange", "placeholder", "onClickDisclosure", "pattern", "type", "showPassword", "value", "disclosureTitle", "disclosureText", "inputSize", "iconButton", "prefix", "suffix", "inputAlignment", "width"]);
41634
41646
  var surface = useContext(Context$5).surface;
@@ -41682,6 +41694,8 @@ var TextInput = forwardRef(function (_a, ref) {
41682
41694
  ? "Your password is shown"
41683
41695
  : "Your password is hidden")))))))));
41684
41696
  });
41697
+ var TextInput = forwardRef(function (props, ref) { return React__default.createElement(TextInputComponent, __assign({ ref: ref }, props)); });
41698
+ forwardRef(function (props, ref) { return React__default.createElement(TextInputComponent, __assign({ ref: ref }, props)); });
41685
41699
 
41686
41700
  const $5cb92bef7577960e$var$CONTEXT_UPDATE = 'dismissableLayer.update';
41687
41701
  const $5cb92bef7577960e$var$POINTER_DOWN_OUTSIDE = 'dismissableLayer.pointerDownOutside';