@arc-ui/components 10.8.1 → 11.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 (72) hide show
  1. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +4 -4
  2. package/dist/Breadcrumbs/Breadcrumbs.esm.js +4 -4
  3. package/dist/Button/Button.cjs.d.ts +1 -1
  4. package/dist/Button/Button.cjs.js +4 -4
  5. package/dist/Button/Button.esm.d.ts +1 -1
  6. package/dist/Button/Button.esm.js +4 -4
  7. package/dist/Card/Card.cjs.js +3 -3
  8. package/dist/Card/Card.esm.js +3 -3
  9. package/dist/Checkbox/Checkbox.cjs.js +32 -8
  10. package/dist/Checkbox/Checkbox.esm.js +34 -10
  11. package/dist/Disclosure/Disclosure.cjs.js +3 -0
  12. package/dist/Disclosure/Disclosure.esm.js +3 -0
  13. package/dist/FormControl/FormControl.cjs.d.ts +1 -1
  14. package/dist/FormControl/FormControl.cjs.js +1 -1
  15. package/dist/FormControl/FormControl.esm.d.ts +1 -1
  16. package/dist/FormControl/FormControl.esm.js +1 -1
  17. package/dist/Icon/Icon.cjs.d.ts +1 -1
  18. package/dist/Icon/Icon.cjs.js +2 -3
  19. package/dist/Icon/Icon.esm.d.ts +1 -1
  20. package/dist/Icon/Icon.esm.js +2 -3
  21. package/dist/RadioGroup/RadioGroup.cjs.d.ts +1 -1
  22. package/dist/RadioGroup/RadioGroup.cjs.js +1 -1
  23. package/dist/RadioGroup/RadioGroup.esm.d.ts +1 -1
  24. package/dist/RadioGroup/RadioGroup.esm.js +1 -1
  25. package/dist/SiteFooter/SiteFooter.cjs.js +5 -3
  26. package/dist/SiteFooter/SiteFooter.esm.js +4 -2
  27. package/dist/SiteHeader/SiteHeader.cjs.js +35 -13
  28. package/dist/SiteHeader/SiteHeader.esm.js +32 -10
  29. package/dist/TextInput/TextInput.cjs.d.ts +1 -1
  30. package/dist/TextInput/TextInput.cjs.js +1 -1
  31. package/dist/TextInput/TextInput.esm.d.ts +1 -1
  32. package/dist/TextInput/TextInput.esm.js +1 -1
  33. package/dist/_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js +29 -0
  34. package/dist/_shared/cjs/BtIconChevronRight2Px-a8e40136.js +50 -0
  35. package/dist/_shared/cjs/BtIconChevronRightMid-5a38d855.js +31 -0
  36. package/dist/_shared/cjs/{Button-1743b3ec.d.ts → Button-b3a69953.d.ts} +3 -3
  37. package/dist/_shared/cjs/{Button-1743b3ec.js → Button-b3a69953.js} +29 -6
  38. package/dist/_shared/cjs/{FormControl-7d8e10fa.d.ts → FormControl-a1b7421b.d.ts} +0 -0
  39. package/dist/_shared/cjs/{FormControl-7d8e10fa.js → FormControl-a1b7421b.js} +38 -5
  40. package/dist/_shared/cjs/{Icon-bb5a5fd1.d.ts → Icon-719d13d4.d.ts} +6 -6
  41. package/dist/_shared/cjs/Icon-719d13d4.js +52 -0
  42. package/dist/_shared/cjs/arc-icon-17594b2f.d.ts +4 -0
  43. package/dist/_shared/cjs/index-c81c9401.d.ts +2 -2
  44. package/dist/_shared/cjs/{use-media-query-75d1bbae.d.ts → index.es-77def0c9.d.ts} +0 -0
  45. package/dist/_shared/cjs/{use-media-query-75d1bbae.js → index.es-77def0c9.js} +9 -0
  46. package/dist/_shared/esm/BtIconChevronDown2Px-4abd079b.js +23 -0
  47. package/dist/_shared/esm/BtIconChevronRight2Px-a5cc1d05.js +43 -0
  48. package/dist/_shared/esm/BtIconChevronRightMid-386cf272.js +25 -0
  49. package/dist/_shared/esm/{Button-d59c31a2.d.ts → Button-5ff56a7b.d.ts} +3 -3
  50. package/dist/_shared/esm/Button-5ff56a7b.js +74 -0
  51. package/dist/_shared/esm/{FormControl-33194106.d.ts → FormControl-feedc495.d.ts} +0 -0
  52. package/dist/_shared/esm/{FormControl-33194106.js → FormControl-feedc495.js} +40 -8
  53. package/dist/_shared/esm/{Icon-2fd92daa.d.ts → Icon-76d0d8c0.d.ts} +6 -6
  54. package/dist/_shared/esm/Icon-76d0d8c0.js +46 -0
  55. package/dist/_shared/esm/arc-icon-17594b2f.d.ts +4 -0
  56. package/dist/_shared/esm/index-c81c9401.d.ts +2 -2
  57. package/dist/_shared/esm/{use-media-query-38faed7f.d.ts → index.es-00cb3bcb.d.ts} +0 -0
  58. package/dist/_shared/esm/{use-media-query-38faed7f.js → index.es-00cb3bcb.js} +8 -1
  59. package/dist/index.es.js +454 -528
  60. package/dist/index.es.js.map +1 -1
  61. package/dist/index.js +311 -385
  62. package/dist/index.js.map +1 -1
  63. package/dist/styles.css +1 -1
  64. package/dist/types/components/Button/Button.d.ts +3 -3
  65. package/dist/types/components/Icon/Icon.d.ts +6 -6
  66. package/dist/types/types/arc-icon.d.ts +2 -0
  67. package/package.json +4 -3
  68. package/dist/_shared/cjs/Icon-bb5a5fd1.js +0 -33
  69. package/dist/_shared/cjs/index.es-f590caaf.js +0 -290
  70. package/dist/_shared/esm/Button-d59c31a2.js +0 -51
  71. package/dist/_shared/esm/Icon-2fd92daa.js +0 -27
  72. package/dist/_shared/esm/index.es-42f84e2d.js +0 -286
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var Icon = require('../_shared/cjs/Icon-bb5a5fd1.js');
6
+ var BtIconChevronRight2Px = require('../_shared/cjs/BtIconChevronRight2Px-a8e40136.js');
7
+ var Icon = require('../_shared/cjs/Icon-719d13d4.js');
7
8
  var index = require('../_shared/cjs/index-78b35bc1.js');
8
9
  var index$1 = require('../_shared/cjs/index-45bfb67b.js');
9
10
  var handleLinkClick = require('../_shared/cjs/handle-link-click-17a44cf4.js');
10
- require('../_shared/cjs/index.es-f590caaf.js');
11
11
  require('../_shared/cjs/suffix-modifier-edf7851e.js');
12
12
  require('../_shared/cjs/Surface-d6b8010e.js');
13
13
 
@@ -560,10 +560,10 @@ var BreadcrumbsItem = function (_a) {
560
560
  var spacerIconAfter = _a.spacerIconAfter, spacerIconBefore = _a.spacerIconBefore, children = _a.children;
561
561
  return (React__default["default"].createElement("li", { className: "arc-Breadcrumbs-item" },
562
562
  spacerIconBefore && (React__default["default"].createElement("div", { className: "arc-Breadcrumbs-spacerIcon", "data-testid": "arc-chevron-left-2px" },
563
- React__default["default"].createElement(Icon.Icon, { icon: "btChevronLeft2px" }))),
563
+ React__default["default"].createElement(Icon.Icon, { icon: BtIconChevronRight2Px.BtIconChevronLeft2Px_2 }))),
564
564
  children,
565
565
  spacerIconAfter && (React__default["default"].createElement("div", { className: "arc-Breadcrumbs-spacerIcon" },
566
- React__default["default"].createElement(Icon.Icon, { icon: "btChevronRight2px" })))));
566
+ React__default["default"].createElement(Icon.Icon, { icon: BtIconChevronRight2Px.BtIconChevronRight2Px_2 })))));
567
567
  };
568
568
 
569
569
  var BreadcrumbsLink = React__default["default"].forwardRef(function (_a, ref) {
@@ -1,9 +1,9 @@
1
1
  import React, { useRef, useState, useEffect } from 'react';
2
- import { I as Icon } from '../_shared/esm/Icon-2fd92daa.js';
2
+ import { B as BtIconChevronLeft2Px_2, a as BtIconChevronRight2Px_2 } from '../_shared/esm/BtIconChevronRight2Px-a5cc1d05.js';
3
+ import { I as Icon } from '../_shared/esm/Icon-76d0d8c0.js';
3
4
  import { a as __assign } from '../_shared/esm/index-229fc864.js';
4
5
  import { c as classNames } from '../_shared/esm/index-2ae58626.js';
5
6
  import { h as handleLinkClick } from '../_shared/esm/handle-link-click-f64f55a2.js';
6
- import '../_shared/esm/index.es-42f84e2d.js';
7
7
  import '../_shared/esm/suffix-modifier-f5e28822.js';
8
8
  import '../_shared/esm/Surface-d515d212.js';
9
9
 
@@ -552,10 +552,10 @@ var BreadcrumbsItem = function (_a) {
552
552
  var spacerIconAfter = _a.spacerIconAfter, spacerIconBefore = _a.spacerIconBefore, children = _a.children;
553
553
  return (React.createElement("li", { className: "arc-Breadcrumbs-item" },
554
554
  spacerIconBefore && (React.createElement("div", { className: "arc-Breadcrumbs-spacerIcon", "data-testid": "arc-chevron-left-2px" },
555
- React.createElement(Icon, { icon: "btChevronLeft2px" }))),
555
+ React.createElement(Icon, { icon: BtIconChevronLeft2Px_2 }))),
556
556
  children,
557
557
  spacerIconAfter && (React.createElement("div", { className: "arc-Breadcrumbs-spacerIcon" },
558
- React.createElement(Icon, { icon: "btChevronRight2px" })))));
558
+ React.createElement(Icon, { icon: BtIconChevronRight2Px_2 })))));
559
559
  };
560
560
 
561
561
  var BreadcrumbsLink = React.forwardRef(function (_a, ref) {
@@ -1 +1 @@
1
- export { Button } from "../_shared/cjs/Button-1743b3ec";
1
+ export { Button } from "../_shared/cjs/Button-b3a69953";
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Button = require('../_shared/cjs/Button-1743b3ec.js');
5
+ var Button = require('../_shared/cjs/Button-b3a69953.js');
6
6
  require('../_shared/cjs/index-78b35bc1.js');
7
- require('../_shared/cjs/index-45bfb67b.js');
8
7
  require('react');
8
+ require('../_shared/cjs/BtIconChevronRightMid-5a38d855.js');
9
+ require('../_shared/cjs/index-45bfb67b.js');
9
10
  require('../_shared/cjs/suffix-modifier-edf7851e.js');
10
- require('../_shared/cjs/Icon-bb5a5fd1.js');
11
- require('../_shared/cjs/index.es-f590caaf.js');
11
+ require('../_shared/cjs/Icon-719d13d4.js');
12
12
  require('../_shared/cjs/Surface-d6b8010e.js');
13
13
 
14
14
 
@@ -1 +1 @@
1
- export { Button } from "../_shared/esm/Button-d59c31a2";
1
+ export { Button } from "../_shared/esm/Button-5ff56a7b";
@@ -1,8 +1,8 @@
1
- export { B as Button } from '../_shared/esm/Button-d59c31a2.js';
1
+ export { B as Button } from '../_shared/esm/Button-5ff56a7b.js';
2
2
  import '../_shared/esm/index-229fc864.js';
3
- import '../_shared/esm/index-2ae58626.js';
4
3
  import 'react';
4
+ import '../_shared/esm/BtIconChevronRightMid-386cf272.js';
5
+ import '../_shared/esm/index-2ae58626.js';
5
6
  import '../_shared/esm/suffix-modifier-f5e28822.js';
6
- import '../_shared/esm/Icon-2fd92daa.js';
7
- import '../_shared/esm/index.es-42f84e2d.js';
7
+ import '../_shared/esm/Icon-76d0d8c0.js';
8
8
  import '../_shared/esm/Surface-d515d212.js';
@@ -5,13 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var index = require('../_shared/cjs/index-78b35bc1.js');
6
6
  var index$1 = require('../_shared/cjs/index-45bfb67b.js');
7
7
  var React = require('react');
8
- var Icon = require('../_shared/cjs/Icon-bb5a5fd1.js');
8
+ var BtIconChevronRightMid = require('../_shared/cjs/BtIconChevronRightMid-5a38d855.js');
9
+ var Icon = require('../_shared/cjs/Icon-719d13d4.js');
9
10
  var Image = require('../_shared/cjs/Image-fe760a06.js');
10
11
  var Heading = require('../_shared/cjs/Heading-cc38c3ec.js');
11
12
  var suffixModifier = require('../_shared/cjs/suffix-modifier-edf7851e.js');
12
13
  var Surface = require('../_shared/cjs/Surface-d6b8010e.js');
13
14
  var handleLinkClick = require('../_shared/cjs/handle-link-click-17a44cf4.js');
14
- require('../_shared/cjs/index.es-f590caaf.js');
15
15
 
16
16
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
17
17
 
@@ -120,7 +120,7 @@ var CardLink = function (_a) {
120
120
  }), href: href, rel: target === "_blank" ? "noopener noreferrer" : undefined, tabIndex: isButton ? -1 : undefined, target: target }, index.filterDataAttrs(linkData)),
121
121
  React__default["default"].createElement("span", { className: "arc-Card-linkText" }, children),
122
122
  isButton && (React__default["default"].createElement("span", { className: "arc-Card-linkIcon" },
123
- React__default["default"].createElement(Icon.Icon, { icon: "btChevronRightMid", size: 16 })))));
123
+ React__default["default"].createElement(Icon.Icon, { testId: "cardIcon", icon: BtIconChevronRightMid.BtIconChevronRightMid_2, size: 16 })))));
124
124
  };
125
125
 
126
126
  exports.Card = Card;
@@ -1,13 +1,13 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index-229fc864.js';
2
2
  import { c as classNames } from '../_shared/esm/index-2ae58626.js';
3
3
  import React, { useState, useEffect, useContext } from 'react';
4
- import { I as Icon } from '../_shared/esm/Icon-2fd92daa.js';
4
+ import { B as BtIconChevronRightMid_2 } from '../_shared/esm/BtIconChevronRightMid-386cf272.js';
5
+ import { I as Icon } from '../_shared/esm/Icon-76d0d8c0.js';
5
6
  import { I as Image } from '../_shared/esm/Image-7e4948f6.js';
6
7
  import { H as Heading } from '../_shared/esm/Heading-183be76c.js';
7
8
  import { s as suffixModifier } from '../_shared/esm/suffix-modifier-f5e28822.js';
8
9
  import { C as Context, S as Surface } from '../_shared/esm/Surface-d515d212.js';
9
10
  import { h as handleLinkClick } from '../_shared/esm/handle-link-click-f64f55a2.js';
10
- import '../_shared/esm/index.es-42f84e2d.js';
11
11
 
12
12
  /**
13
13
  * Detect interaction mode
@@ -112,7 +112,7 @@ var CardLink = function (_a) {
112
112
  }), href: href, rel: target === "_blank" ? "noopener noreferrer" : undefined, tabIndex: isButton ? -1 : undefined, target: target }, filterDataAttrs(linkData)),
113
113
  React.createElement("span", { className: "arc-Card-linkText" }, children),
114
114
  isButton && (React.createElement("span", { className: "arc-Card-linkIcon" },
115
- React.createElement(Icon, { icon: "btChevronRightMid", size: 16 })))));
115
+ React.createElement(Icon, { testId: "cardIcon", icon: BtIconChevronRightMid_2, size: 16 })))));
116
116
  };
117
117
 
118
118
  export { Card };
@@ -3,22 +3,42 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var index = require('../_shared/cjs/index-78b35bc1.js');
6
- var React = require('react');
6
+ var React$1 = require('react');
7
+ var FormControl = require('../_shared/cjs/FormControl-a1b7421b.js');
7
8
  var index$1 = require('../_shared/cjs/index-45bfb67b.js');
8
- var FormControl = require('../_shared/cjs/FormControl-7d8e10fa.js');
9
9
  var Surface = require('../_shared/cjs/Surface-d6b8010e.js');
10
10
 
11
11
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
12
12
 
13
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React$1);
14
+
15
+ const React = React__default["default"];
16
+ const BtIconTickVariant = props =>
17
+ /*#__PURE__*/ React.createElement(
18
+ "svg",
19
+ Object.assign(
20
+ {
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ viewBox: "0 0 32 32"
23
+ },
24
+ props
25
+ ),
26
+ /*#__PURE__*/ React.createElement("defs", null),
27
+ /*#__PURE__*/ React.createElement("path", {
28
+ d:
29
+ "M13.5,21.207,9.14648,16.85352a.5.5,0,0,1,.707-.707L13.5,19.793l8.64648-8.64649a.5.5,0,0,1,.707.707Z",
30
+ fill: "currentColor"
31
+ })
32
+ );
33
+ var BtIconTickVariant_2 = BtIconTickVariant;
14
34
 
15
35
  /**
16
36
  * Use `Checkbox` to allow users to select individual options.
17
37
  */
18
- var Checkbox = React.forwardRef(function (_a, ref) {
38
+ var Checkbox = React$1.forwardRef(function (_a, ref) {
19
39
  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, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _e = _a.size, size = _e === void 0 ? "l" : _e, value = _a.value, props = index.__rest(_a, ["checked", "errorMessage", "helper", "id", "isDisabled", "isRequired", "label", "name", "onBlur", "onChange", "size", "value"]);
20
- var requirementStatus = React.useContext(FormControl.Context).requirementStatus;
21
- var surface = React.useContext(Surface.Context).surface;
40
+ var requirementStatus = React$1.useContext(FormControl.Context).requirementStatus;
41
+ var surface = React$1.useContext(Surface.Context).surface;
22
42
  var _f = FormControl.useAriaDescribedby({
23
43
  id: id,
24
44
  errorMessage: errorMessage
@@ -43,12 +63,16 @@ var Checkbox = React.forwardRef(function (_a, ref) {
43
63
  }) },
44
64
  React__default["default"].createElement("label", { id: idLabel, htmlFor: id, className: "arc-Checkbox-label" },
45
65
  React__default["default"].createElement("input", index.__assign({ "aria-describedby": ariaDescribedby, "aria-invalid": errorMessage ? "true" : "false", className: "arc-Checkbox-input" }, checkedProps, { disabled: isDisabled, id: id, name: name, onBlur: onBlur, onChange: onChange, ref: ref, required: isRequired, type: "checkbox", value: value }, index.filterDataAttrs(props))),
46
- React__default["default"].createElement("span", { className: "arc-Checkbox-box" }),
66
+ React__default["default"].createElement("span", { className: "arc-Checkbox-box" },
67
+ React__default["default"].createElement(BtIconTickVariant_2, null)),
47
68
  React__default["default"].createElement("span", null,
48
69
  label,
49
70
  !isRequired && requirementStatus !== "optional" ? (React__default["default"].createElement("span", { className: "arc-Checkbox-labelOptional" }, "(optional)")) : null,
50
71
  helper && React__default["default"].createElement("span", { className: "arc-Checkbox-helper" }, helper))),
51
- errorMessage && (React__default["default"].createElement("div", { id: idError, className: "arc-Checkbox-error" }, errorMessage))));
72
+ errorMessage && (React__default["default"].createElement("div", { id: idError, className: "arc-Checkbox-error" },
73
+ React__default["default"].createElement("span", { className: "arc-Checkbox-error--icon" },
74
+ React__default["default"].createElement(FormControl.BtIconAlert_2, null)),
75
+ errorMessage))));
52
76
  });
53
77
 
54
78
  exports.Checkbox = Checkbox;
@@ -1,9 +1,29 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index-229fc864.js';
2
- import React, { forwardRef, useContext } from 'react';
2
+ import React$1, { forwardRef, useContext } from 'react';
3
+ import { C as Context, u as useAriaDescribedby, B as BtIconAlert_2 } from '../_shared/esm/FormControl-feedc495.js';
3
4
  import { c as classNames } from '../_shared/esm/index-2ae58626.js';
4
- import { C as Context, u as useAriaDescribedby } from '../_shared/esm/FormControl-33194106.js';
5
5
  import { C as Context$1 } from '../_shared/esm/Surface-d515d212.js';
6
6
 
7
+ const React = React$1;
8
+ const BtIconTickVariant = props =>
9
+ /*#__PURE__*/ React.createElement(
10
+ "svg",
11
+ Object.assign(
12
+ {
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ viewBox: "0 0 32 32"
15
+ },
16
+ props
17
+ ),
18
+ /*#__PURE__*/ React.createElement("defs", null),
19
+ /*#__PURE__*/ React.createElement("path", {
20
+ d:
21
+ "M13.5,21.207,9.14648,16.85352a.5.5,0,0,1,.707-.707L13.5,19.793l8.64648-8.64649a.5.5,0,0,1,.707.707Z",
22
+ fill: "currentColor"
23
+ })
24
+ );
25
+ var BtIconTickVariant_2 = BtIconTickVariant;
26
+
7
27
  /**
8
28
  * Use `Checkbox` to allow users to select individual options.
9
29
  */
@@ -26,21 +46,25 @@ var Checkbox = forwardRef(function (_a, ref) {
26
46
  if (requirementStatus === "required") {
27
47
  isRequired = true;
28
48
  }
29
- return (React.createElement("div", { className: classNames({
49
+ return (React$1.createElement("div", { className: classNames({
30
50
  "arc-Checkbox": true,
31
51
  "arc-Checkbox--disabled": isDisabled,
32
52
  "arc-Checkbox--invalid": errorMessage,
33
53
  "arc-Checkbox--small": size === "s",
34
54
  "arc-Checkbox--onDarkSurface": surface === "dark"
35
55
  }) },
36
- React.createElement("label", { id: idLabel, htmlFor: id, className: "arc-Checkbox-label" },
37
- React.createElement("input", __assign({ "aria-describedby": ariaDescribedby, "aria-invalid": errorMessage ? "true" : "false", className: "arc-Checkbox-input" }, checkedProps, { disabled: isDisabled, id: id, name: name, onBlur: onBlur, onChange: onChange, ref: ref, required: isRequired, type: "checkbox", value: value }, filterDataAttrs(props))),
38
- React.createElement("span", { className: "arc-Checkbox-box" }),
39
- React.createElement("span", null,
56
+ React$1.createElement("label", { id: idLabel, htmlFor: id, className: "arc-Checkbox-label" },
57
+ React$1.createElement("input", __assign({ "aria-describedby": ariaDescribedby, "aria-invalid": errorMessage ? "true" : "false", className: "arc-Checkbox-input" }, checkedProps, { disabled: isDisabled, id: id, name: name, onBlur: onBlur, onChange: onChange, ref: ref, required: isRequired, type: "checkbox", value: value }, filterDataAttrs(props))),
58
+ React$1.createElement("span", { className: "arc-Checkbox-box" },
59
+ React$1.createElement(BtIconTickVariant_2, null)),
60
+ React$1.createElement("span", null,
40
61
  label,
41
- !isRequired && requirementStatus !== "optional" ? (React.createElement("span", { className: "arc-Checkbox-labelOptional" }, "(optional)")) : null,
42
- helper && React.createElement("span", { className: "arc-Checkbox-helper" }, helper))),
43
- errorMessage && (React.createElement("div", { id: idError, className: "arc-Checkbox-error" }, errorMessage))));
62
+ !isRequired && requirementStatus !== "optional" ? (React$1.createElement("span", { className: "arc-Checkbox-labelOptional" }, "(optional)")) : null,
63
+ helper && React$1.createElement("span", { className: "arc-Checkbox-helper" }, helper))),
64
+ errorMessage && (React$1.createElement("div", { id: idError, className: "arc-Checkbox-error" },
65
+ React$1.createElement("span", { className: "arc-Checkbox-error--icon" },
66
+ React$1.createElement(BtIconAlert_2, null)),
67
+ errorMessage))));
44
68
  });
45
69
 
46
70
  export { Checkbox };
@@ -6,6 +6,7 @@ var index = require('../_shared/cjs/index-78b35bc1.js');
6
6
  var index$1 = require('../_shared/cjs/index-45bfb67b.js');
7
7
  var React = require('react');
8
8
  var Heading = require('../_shared/cjs/Heading-cc38c3ec.js');
9
+ var BtIconChevronDown2Px = require('../_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js');
9
10
  var Surface = require('../_shared/cjs/Surface-d6b8010e.js');
10
11
  require('../_shared/cjs/suffix-modifier-edf7851e.js');
11
12
 
@@ -26,6 +27,8 @@ var Disclosure = function (_a) {
26
27
  "arc-Disclosure--onDarkSurface": surface === "dark"
27
28
  }), open: isOpen }, index.filterDataAttrs(props)),
28
29
  React__default["default"].createElement("summary", { className: "arc-Disclosure-summary" },
30
+ React__default["default"].createElement("span", { className: "arc-Disclosure-summary-icon" },
31
+ React__default["default"].createElement(BtIconChevronDown2Px.BtIconChevronDown2Px_2, null)),
29
32
  React__default["default"].createElement(Heading.Heading, { level: headingLevel, size: "s" }, summary)),
30
33
  React__default["default"].createElement("div", { className: "arc-Disclosure-details" }, children)));
31
34
  };
@@ -2,6 +2,7 @@ import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm
2
2
  import { c as classNames } from '../_shared/esm/index-2ae58626.js';
3
3
  import React, { useContext } from 'react';
4
4
  import { H as Heading } from '../_shared/esm/Heading-183be76c.js';
5
+ import { B as BtIconChevronDown2Px_2 } from '../_shared/esm/BtIconChevronDown2Px-4abd079b.js';
5
6
  import { C as Context } from '../_shared/esm/Surface-d515d212.js';
6
7
  import '../_shared/esm/suffix-modifier-f5e28822.js';
7
8
 
@@ -18,6 +19,8 @@ var Disclosure = function (_a) {
18
19
  "arc-Disclosure--onDarkSurface": surface === "dark"
19
20
  }), open: isOpen }, filterDataAttrs(props)),
20
21
  React.createElement("summary", { className: "arc-Disclosure-summary" },
22
+ React.createElement("span", { className: "arc-Disclosure-summary-icon" },
23
+ React.createElement(BtIconChevronDown2Px_2, null)),
21
24
  React.createElement(Heading, { level: headingLevel, size: "s" }, summary)),
22
25
  React.createElement("div", { className: "arc-Disclosure-details" }, children)));
23
26
  };
@@ -1 +1 @@
1
- export { FormControl, FormControlContext } from "../_shared/cjs/FormControl-7d8e10fa";
1
+ export { FormControl, FormControlContext } from "../_shared/cjs/FormControl-a1b7421b";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var FormControl = require('../_shared/cjs/FormControl-7d8e10fa.js');
5
+ var FormControl = require('../_shared/cjs/FormControl-a1b7421b.js');
6
6
  require('../_shared/cjs/index-78b35bc1.js');
7
7
  require('../_shared/cjs/index-45bfb67b.js');
8
8
  require('react');
@@ -1 +1 @@
1
- export { FormControl, FormControlContext } from "../_shared/esm/FormControl-33194106";
1
+ export { FormControl, FormControlContext } from "../_shared/esm/FormControl-feedc495";
@@ -1,4 +1,4 @@
1
- export { F as FormControl, C as FormControlContext } from '../_shared/esm/FormControl-33194106.js';
1
+ export { F as FormControl, C as FormControlContext } from '../_shared/esm/FormControl-feedc495.js';
2
2
  import '../_shared/esm/index-229fc864.js';
3
3
  import '../_shared/esm/index-2ae58626.js';
4
4
  import 'react';
@@ -1 +1 @@
1
- export { Icon } from "../_shared/cjs/Icon-bb5a5fd1";
1
+ export { Icon } from "../_shared/cjs/Icon-719d13d4";
@@ -2,11 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Icon = require('../_shared/cjs/Icon-bb5a5fd1.js');
5
+ var Icon = require('../_shared/cjs/Icon-719d13d4.js');
6
6
  require('../_shared/cjs/index-78b35bc1.js');
7
- require('../_shared/cjs/index.es-f590caaf.js');
8
- require('../_shared/cjs/index-45bfb67b.js');
9
7
  require('react');
8
+ require('../_shared/cjs/index-45bfb67b.js');
10
9
  require('../_shared/cjs/suffix-modifier-edf7851e.js');
11
10
  require('../_shared/cjs/Surface-d6b8010e.js');
12
11
 
@@ -1 +1 @@
1
- export { Icon } from "../_shared/esm/Icon-2fd92daa";
1
+ export { Icon } from "../_shared/esm/Icon-76d0d8c0";
@@ -1,7 +1,6 @@
1
- export { I as Icon } from '../_shared/esm/Icon-2fd92daa.js';
1
+ export { I as Icon } from '../_shared/esm/Icon-76d0d8c0.js';
2
2
  import '../_shared/esm/index-229fc864.js';
3
- import '../_shared/esm/index.es-42f84e2d.js';
4
- import '../_shared/esm/index-2ae58626.js';
5
3
  import 'react';
4
+ import '../_shared/esm/index-2ae58626.js';
6
5
  import '../_shared/esm/suffix-modifier-f5e28822.js';
7
6
  import '../_shared/esm/Surface-d515d212.js';
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC } from "react";
4
- import { FormControlProps } from "../_shared/cjs/FormControl-7d8e10fa";
4
+ import { FormControlProps } from "../_shared/cjs/FormControl-a1b7421b";
5
5
  /**
6
6
  * Radio Button component.
7
7
  */
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var index = require('../_shared/cjs/index-78b35bc1.js');
6
6
  var React = require('react');
7
- var FormControl = require('../_shared/cjs/FormControl-7d8e10fa.js');
7
+ var FormControl = require('../_shared/cjs/FormControl-a1b7421b.js');
8
8
  var index$1 = require('../_shared/cjs/index-45bfb67b.js');
9
9
  var Surface = require('../_shared/cjs/Surface-d6b8010e.js');
10
10
 
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC } from "react";
4
- import { FormControlProps } from "../_shared/esm/FormControl-33194106";
4
+ import { FormControlProps } from "../_shared/esm/FormControl-feedc495";
5
5
  /**
6
6
  * Radio Button component.
7
7
  */
@@ -1,6 +1,6 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index-229fc864.js';
2
2
  import React, { createContext, useContext, forwardRef, useEffect } from 'react';
3
- import { F as FormControl } from '../_shared/esm/FormControl-33194106.js';
3
+ import { F as FormControl } from '../_shared/esm/FormControl-feedc495.js';
4
4
  import { c as classNames } from '../_shared/esm/index-2ae58626.js';
5
5
  import { C as Context } from '../_shared/esm/Surface-d515d212.js';
6
6
 
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var index = require('../_shared/cjs/index-78b35bc1.js');
6
- var index_es = require('../_shared/cjs/index.es-f590caaf.js');
6
+ var index_es = require('../_shared/cjs/index.es-77def0c9.js');
7
+ var BtIconChevronDown2Px = require('../_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js');
7
8
  var React = require('react');
8
9
  var BrandLogo = require('../_shared/cjs/BrandLogo-3c6102ef.js');
9
10
  var Curve = require('../_shared/cjs/Curve-e72ce25b.js');
10
- var useMediaQuery = require('../_shared/cjs/use-media-query-75d1bbae.js');
11
11
  var Section = require('../_shared/cjs/Section-780f2377.js');
12
12
  var Surface = require('../_shared/cjs/Surface-d6b8010e.js');
13
13
  var handleLinkClick = require('../_shared/cjs/handle-link-click-17a44cf4.js');
@@ -49,7 +49,7 @@ var SiteFooter = function (_a) {
49
49
  };
50
50
  var SiteFooterItemGroup = function (_a) {
51
51
  var children = _a.children, title = _a.title;
52
- var isMinWidthArcBreakpointM = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcBreakpointM, "px)"));
52
+ var isMinWidthArcBreakpointM = index_es.useMediaQuery("(min-width: ".concat(index_es.ArcBreakpointM, "px)"));
53
53
  React.useEffect(function () {
54
54
  React__default["default"].Children.map(children, function (item) {
55
55
  if (item && item.type !== SiteFooterItem && item.type !== React.Fragment) {
@@ -59,6 +59,8 @@ var SiteFooterItemGroup = function (_a) {
59
59
  }, [children]);
60
60
  return (React__default["default"].createElement("details", { className: "arc-SiteFooter-disclosure", open: isMinWidthArcBreakpointM },
61
61
  React__default["default"].createElement("summary", { className: "arc-SiteFooter-summary", tabIndex: isMinWidthArcBreakpointM ? -1 : 0 },
62
+ React__default["default"].createElement("span", { className: "arc-SiteFooter-icon" },
63
+ React__default["default"].createElement(BtIconChevronDown2Px.BtIconChevronDown2Px_2, null)),
62
64
  React__default["default"].createElement("h2", { className: "arc-SiteFooter-title" }, title)),
63
65
  React__default["default"].createElement("ul", { className: "arc-SiteFooter-mainItems" }, children)));
64
66
  };
@@ -1,9 +1,9 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs, d as __awaiter, e as __generator } from '../_shared/esm/index-229fc864.js';
2
- import { A as ArcBreakpointM } from '../_shared/esm/index.es-42f84e2d.js';
2
+ import { u as useMediaQuery, A as ArcBreakpointM } from '../_shared/esm/index.es-00cb3bcb.js';
3
+ import { B as BtIconChevronDown2Px_2 } from '../_shared/esm/BtIconChevronDown2Px-4abd079b.js';
3
4
  import React, { useEffect, Fragment } from 'react';
4
5
  import { B as BrandLogo } from '../_shared/esm/BrandLogo-ea3dd0e6.js';
5
6
  import { C as Curve } from '../_shared/esm/Curve-cfdca379.js';
6
- import { u as useMediaQuery } from '../_shared/esm/use-media-query-38faed7f.js';
7
7
  import { S as Section } from '../_shared/esm/Section-f1256c87.js';
8
8
  import { S as Surface } from '../_shared/esm/Surface-d515d212.js';
9
9
  import { h as handleLinkClick } from '../_shared/esm/handle-link-click-f64f55a2.js';
@@ -51,6 +51,8 @@ var SiteFooterItemGroup = function (_a) {
51
51
  }, [children]);
52
52
  return (React.createElement("details", { className: "arc-SiteFooter-disclosure", open: isMinWidthArcBreakpointM },
53
53
  React.createElement("summary", { className: "arc-SiteFooter-summary", tabIndex: isMinWidthArcBreakpointM ? -1 : 0 },
54
+ React.createElement("span", { className: "arc-SiteFooter-icon" },
55
+ React.createElement(BtIconChevronDown2Px_2, null)),
54
56
  React.createElement("h2", { className: "arc-SiteFooter-title" }, title)),
55
57
  React.createElement("ul", { className: "arc-SiteFooter-mainItems" }, children)));
56
58
  };