@arc-ui/components 11.24.0 → 11.24.2

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 (56) hide show
  1. package/dist/Base/Base.cjs.js +2 -1
  2. package/dist/Base/Base.esm.js +2 -1
  3. package/dist/Card/Card.cjs.js +1 -1
  4. package/dist/Card/Card.esm.js +1 -1
  5. package/dist/Clock/Clock.cjs.js +7 -2
  6. package/dist/Clock/Clock.esm.js +7 -2
  7. package/dist/Curve/Curve.cjs.js +1 -1
  8. package/dist/Curve/Curve.esm.js +1 -1
  9. package/dist/DatePicker/DatePicker.cjs.js +1 -1
  10. package/dist/DatePicker/DatePicker.esm.js +1 -1
  11. package/dist/Modal/Modal.cjs.js +1 -1
  12. package/dist/Modal/Modal.esm.js +1 -1
  13. package/dist/ProgressStepper/ProgressStepper.cjs.js +1 -1
  14. package/dist/ProgressStepper/ProgressStepper.esm.js +1 -1
  15. package/dist/RadioGroup/RadioGroup.cjs.js +2 -1
  16. package/dist/RadioGroup/RadioGroup.esm.js +1 -1
  17. package/dist/Select/Select.cjs.js +1 -1
  18. package/dist/Select/Select.esm.js +1 -1
  19. package/dist/SiteFooter/SiteFooter.cjs.js +2 -2
  20. package/dist/SiteFooter/SiteFooter.esm.js +3 -3
  21. package/dist/SiteHeader/SiteHeader.cjs.js +1 -1
  22. package/dist/SiteHeader/SiteHeader.esm.js +1 -1
  23. package/dist/TextArea/TextArea.cjs.js +7 -7
  24. package/dist/TextArea/TextArea.esm.js +7 -7
  25. package/dist/_shared/cjs/{Base-f5a86eed.js → Base-4676f12e.js} +6 -3
  26. package/dist/_shared/cjs/{Card-5b19cabc.js → Card-78a70e63.js} +5 -1
  27. package/dist/_shared/cjs/{Curve-d038052b.js → Curve-b5117889.js} +1 -1
  28. package/dist/_shared/cjs/{ProgressStepper-57cfef1e.js → ProgressStepper-491f0286.js} +10 -10
  29. package/dist/_shared/cjs/{RadioGroup-85eda600.js → RadioGroup-26dc00fc.js} +22 -11
  30. package/dist/_shared/cjs/{SiteFooter-65b6360c.js → SiteFooter-20d5a9fa.js} +1 -1
  31. package/dist/_shared/cjs/{SiteHeader.rehydrator-b76b0889.js → SiteHeader.rehydrator-9d8f3dad.js} +5 -1
  32. package/dist/_shared/esm/Base-211ca3a4.js +18 -0
  33. package/dist/_shared/esm/{Card-7fc6c9b4.js → Card-a4b78406.js} +5 -1
  34. package/dist/_shared/esm/{Curve-d8679dde.js → Curve-e05b3c3f.js} +1 -1
  35. package/dist/_shared/esm/{ProgressStepper-6c811282.js → ProgressStepper-7eba3a6a.js} +10 -10
  36. package/dist/_shared/esm/{RadioGroup-6c8f8454.js → RadioGroup-427652ac.js} +22 -12
  37. package/dist/_shared/esm/{SiteFooter-38ee1536.js → SiteFooter-86f910b4.js} +1 -1
  38. package/dist/_shared/esm/{SiteHeader.rehydrator-8ad7651b.js → SiteHeader.rehydrator-2ec02ee7.js} +5 -1
  39. package/dist/index.es.js +53 -29
  40. package/dist/index.es.js.map +1 -1
  41. package/dist/index.js +53 -29
  42. package/dist/index.js.map +1 -1
  43. package/dist/styles.css +2 -2
  44. package/dist/types/components/Base/Base.d.ts +4 -0
  45. package/dist/types/components/Card/Card.d.ts +5 -1
  46. package/dist/types/components/Clock/Clock.d.ts +7 -2
  47. package/dist/types/components/Curve/Curve.d.ts +1 -1
  48. package/dist/types/components/RadioGroup/RadioButton/RadioButton.d.ts +17 -28
  49. package/dist/types/components/RadioGroup/RadioButtonGroupInput/RadioButtonGroupInput.d.ts +36 -0
  50. package/dist/types/components/RadioGroup/RadioButtonGroupInput/index.d.ts +1 -0
  51. package/dist/types/components/RadioGroup/RadioGroup.d.ts +2 -2
  52. package/dist/types/components/RadioGroup/context.d.ts +1 -1
  53. package/dist/types/components/RadioGroup/index.d.ts +1 -0
  54. package/dist/types/components/SiteHeader/SiteHeader.d.ts +5 -1
  55. package/package.json +1 -1
  56. package/dist/_shared/esm/Base-f200653c.js +0 -15
@@ -2,9 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Base = require('../_shared/cjs/Base-f5a86eed.js');
5
+ var Base = require('../_shared/cjs/Base-4676f12e.js');
6
6
  require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
7
7
  require('react');
8
+ require('../_shared/cjs/index-9947ac13.js');
8
9
 
9
10
 
10
11
 
@@ -1,3 +1,4 @@
1
- export { B as Base } from '../_shared/esm/Base-f200653c.js';
1
+ export { B as Base } from '../_shared/esm/Base-211ca3a4.js';
2
2
  import '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
3
3
  import 'react';
4
+ import '../_shared/esm/index-2e73c2e9.js';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Card = require('../_shared/cjs/Card-5b19cabc.js');
5
+ var Card = require('../_shared/cjs/Card-78a70e63.js');
6
6
  require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
7
7
  require('../_shared/cjs/index-9947ac13.js');
8
8
  require('react');
@@ -1,4 +1,4 @@
1
- export { C as Card } from '../_shared/esm/Card-7fc6c9b4.js';
1
+ export { C as Card } from '../_shared/esm/Card-a4b78406.js';
2
2
  import '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
3
3
  import '../_shared/esm/index-2e73c2e9.js';
4
4
  import 'react';
@@ -10,8 +10,13 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
10
10
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
11
 
12
12
  /**
13
- * `Clock` is a demo component that shows the current time.
14
- */
13
+ #### Deprecation Notice
14
+
15
+ The `Clock` component is being deprecated from Arc and will be removed in a future release.
16
+
17
+ Do not use `Clock` for any new work, and prepare to update any design that features it to remove it.
18
+
19
+ */
15
20
  var Clock = function (_a) {
16
21
  var _b = _a.locale, locale = _b === void 0 ? "en-GB" : _b, props = filterDataAttrs.__rest(_a, ["locale"]);
17
22
  var _c = React.useState(new Date()), time = _c[0], setTime = _c[1];
@@ -2,8 +2,13 @@ import { _ as __rest, a as __assign, f as filterDataAttrs, d as __awaiter, e as
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
 
4
4
  /**
5
- * `Clock` is a demo component that shows the current time.
6
- */
5
+ #### Deprecation Notice
6
+
7
+ The `Clock` component is being deprecated from Arc and will be removed in a future release.
8
+
9
+ Do not use `Clock` for any new work, and prepare to update any design that features it to remove it.
10
+
11
+ */
7
12
  var Clock = function (_a) {
8
13
  var _b = _a.locale, locale = _b === void 0 ? "en-GB" : _b, props = __rest(_a, ["locale"]);
9
14
  var _c = useState(new Date()), time = _c[0], setTime = _c[1];
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Curve = require('../_shared/cjs/Curve-d038052b.js');
5
+ var Curve = require('../_shared/cjs/Curve-b5117889.js');
6
6
  require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
7
7
  require('../_shared/cjs/index-9947ac13.js');
8
8
  require('react');
@@ -1,4 +1,4 @@
1
- export { C as Curve } from '../_shared/esm/Curve-d8679dde.js';
1
+ export { C as Curve } from '../_shared/esm/Curve-e05b3c3f.js';
2
2
  import '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
3
3
  import '../_shared/esm/index-2e73c2e9.js';
4
4
  import 'react';
@@ -12,7 +12,7 @@ var Combination = require('../_shared/cjs/Combination-9974f2e2.js');
12
12
  var index$2 = require('../_shared/cjs/index-6eb396a3.js');
13
13
  var index$1 = require('../_shared/cjs/index-77ab5c6a.js');
14
14
  var index$3 = require('../_shared/cjs/index-d38f1bd0.js');
15
- var Base = require('../_shared/cjs/Base-f5a86eed.js');
15
+ var Base = require('../_shared/cjs/Base-4676f12e.js');
16
16
  var TextInput = require('../_shared/cjs/TextInput-8d139489.js');
17
17
  require('../_shared/cjs/use-media-query-e61881d8.js');
18
18
  require('../_shared/cjs/Text-606ca3a2.js');
@@ -8,7 +8,7 @@ import { $ as $f1701beae083dbae$export$602eac185826482c, h as hideOthers, a as $
8
8
  import { $ as $1746a345f3d73bb7$export$f680877a34711e37 } from '../_shared/esm/index-efa9be1a.js';
9
9
  import { $ as $cf1ac5d9fe0e8206$export$722aac194ae923, a as $cf1ac5d9fe0e8206$export$be92b6f5f03c0fe9, b as $cf1ac5d9fe0e8206$export$b688253958b8dfe7, c as $cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2 } from '../_shared/esm/index-b84a20c6.js';
10
10
  import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from '../_shared/esm/index-ca72c9d5.js';
11
- import { A as ArcRootElementContext } from '../_shared/esm/Base-f200653c.js';
11
+ import { A as ArcRootElementContext } from '../_shared/esm/Base-211ca3a4.js';
12
12
  import { T as TextInputWithPlaceHolder } from '../_shared/esm/TextInput-c0388103.js';
13
13
  import '../_shared/esm/use-media-query-4c807227.js';
14
14
  import '../_shared/esm/Text-14f586ac.js';
@@ -12,7 +12,7 @@ var index$1 = require('../_shared/cjs/index-6eb396a3.js');
12
12
  var Combination = require('../_shared/cjs/Combination-9974f2e2.js');
13
13
  var index$2 = require('../_shared/cjs/index-d38f1bd0.js');
14
14
  var Icon = require('../_shared/cjs/Icon-b46897a3.js');
15
- var Base = require('../_shared/cjs/Base-f5a86eed.js');
15
+ var Base = require('../_shared/cjs/Base-4676f12e.js');
16
16
  var Heading = require('../_shared/cjs/Heading-27cba320.js');
17
17
  var Button = require('../_shared/cjs/Button-6ba21d3b.js');
18
18
  var Text = require('../_shared/cjs/Text-606ca3a2.js');
@@ -8,7 +8,7 @@ import { $ as $1746a345f3d73bb7$export$f680877a34711e37 } from '../_shared/esm/i
8
8
  import { $ as $f1701beae083dbae$export$602eac185826482c, a as $01b9c$RemoveScroll, h as hideOthers, b as $3db38b7d1fb3fe6a$export$b7ece24a22aeda8c, c as $d3863c46a17e8a28$export$20e40289641fbbb6, d as $5cb92bef7577960e$export$177fb62ff3ec1f22 } from '../_shared/esm/Combination-e9f7e64e.js';
9
9
  import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from '../_shared/esm/index-ca72c9d5.js';
10
10
  import { I as Icon } from '../_shared/esm/Icon-15799695.js';
11
- import { A as ArcRootElementContext } from '../_shared/esm/Base-f200653c.js';
11
+ import { A as ArcRootElementContext } from '../_shared/esm/Base-211ca3a4.js';
12
12
  import { H as Heading } from '../_shared/esm/Heading-d16e0e53.js';
13
13
  import { B as Button } from '../_shared/esm/Button-a7d134c6.js';
14
14
  import { T as Text } from '../_shared/esm/Text-14f586ac.js';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ProgressStepper = require('../_shared/cjs/ProgressStepper-57cfef1e.js');
5
+ var ProgressStepper = require('../_shared/cjs/ProgressStepper-491f0286.js');
6
6
  require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
7
7
  require('react');
8
8
  require('../_shared/cjs/index-9947ac13.js');
@@ -1,4 +1,4 @@
1
- export { P as ProgressStepper } from '../_shared/esm/ProgressStepper-6c811282.js';
1
+ export { P as ProgressStepper } from '../_shared/esm/ProgressStepper-7eba3a6a.js';
2
2
  import '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
3
3
  import 'react';
4
4
  import '../_shared/esm/index-2e73c2e9.js';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var RadioGroup = require('../_shared/cjs/RadioGroup-85eda600.js');
5
+ var RadioGroup = require('../_shared/cjs/RadioGroup-26dc00fc.js');
6
6
  require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
7
7
  require('react');
8
8
  require('../_shared/cjs/FormControl-68258ce1.js');
@@ -17,4 +17,5 @@ require('../_shared/cjs/VisuallyHidden-b0de4c7b.js');
17
17
 
18
18
 
19
19
 
20
+ exports.RadioButton = RadioGroup.RadioButton;
20
21
  exports.RadioGroup = RadioGroup.RadioGroup;
@@ -1,4 +1,4 @@
1
- export { R as RadioGroup } from '../_shared/esm/RadioGroup-6c8f8454.js';
1
+ export { a as RadioButton, R as RadioGroup } from '../_shared/esm/RadioGroup-427652ac.js';
2
2
  import '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
3
3
  import 'react';
4
4
  import '../_shared/esm/FormControl-8e836656.js';
@@ -19,7 +19,7 @@ var BtIconTickAlt2Px_esm = require('../_shared/cjs/BtIconTickAlt2Px.esm-57c89acc
19
19
  var Icon = require('../_shared/cjs/Icon-b46897a3.js');
20
20
  var FormControl = require('../_shared/cjs/FormControl-68258ce1.js');
21
21
  var Surface = require('../_shared/cjs/Surface-038db6e1.js');
22
- var Base = require('../_shared/cjs/Base-f5a86eed.js');
22
+ var Base = require('../_shared/cjs/Base-4676f12e.js');
23
23
  require('../_shared/cjs/index-74004a9c.js');
24
24
  require('../_shared/cjs/suffix-modifier-64dcd338.js');
25
25
  require('../_shared/cjs/BtIconAlert.esm-1a0ff9f0.js');
@@ -15,7 +15,7 @@ import { B as BtIconTickAlt2Px } from '../_shared/esm/BtIconTickAlt2Px.esm-0bc2d
15
15
  import { I as Icon } from '../_shared/esm/Icon-15799695.js';
16
16
  import { F as FormControl } from '../_shared/esm/FormControl-8e836656.js';
17
17
  import { C as Context } from '../_shared/esm/Surface-0ca6817d.js';
18
- import { A as ArcRootElementContext } from '../_shared/esm/Base-f200653c.js';
18
+ import { A as ArcRootElementContext } from '../_shared/esm/Base-211ca3a4.js';
19
19
  import '../_shared/esm/index-2cfab9f2.js';
20
20
  import '../_shared/esm/suffix-modifier-3d548e45.js';
21
21
  import '../_shared/esm/BtIconAlert.esm-a4608d47.js';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var SiteFooter = require('../_shared/cjs/SiteFooter-65b6360c.js');
5
+ var SiteFooter = require('../_shared/cjs/SiteFooter-20d5a9fa.js');
6
6
  var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
7
7
  var React = require('react');
8
8
  require('../_shared/cjs/use-media-query-e61881d8.js');
@@ -11,7 +11,7 @@ require('../_shared/cjs/BrandLogo-aea340c8.js');
11
11
  require('../_shared/cjs/index-9947ac13.js');
12
12
  require('../_shared/cjs/suffix-modifier-64dcd338.js');
13
13
  require('../_shared/cjs/Surface-038db6e1.js');
14
- require('../_shared/cjs/Curve-d038052b.js');
14
+ require('../_shared/cjs/Curve-b5117889.js');
15
15
  require('../_shared/cjs/Section-59804166.js');
16
16
  require('../_shared/cjs/handle-link-click-17a44cf4.js');
17
17
 
@@ -1,5 +1,5 @@
1
- import { S as SiteFooter } from '../_shared/esm/SiteFooter-38ee1536.js';
2
- export { S as SiteFooter } from '../_shared/esm/SiteFooter-38ee1536.js';
1
+ import { S as SiteFooter } from '../_shared/esm/SiteFooter-86f910b4.js';
2
+ export { S as SiteFooter } from '../_shared/esm/SiteFooter-86f910b4.js';
3
3
  import { d as __awaiter, e as __generator, a as __assign } from '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
4
4
  import React__default from 'react';
5
5
  import '../_shared/esm/use-media-query-4c807227.js';
@@ -8,7 +8,7 @@ import '../_shared/esm/BrandLogo-1af78f76.js';
8
8
  import '../_shared/esm/index-2e73c2e9.js';
9
9
  import '../_shared/esm/suffix-modifier-3d548e45.js';
10
10
  import '../_shared/esm/Surface-0ca6817d.js';
11
- import '../_shared/esm/Curve-d8679dde.js';
11
+ import '../_shared/esm/Curve-e05b3c3f.js';
12
12
  import '../_shared/esm/Section-73781b56.js';
13
13
  import '../_shared/esm/handle-link-click-f64f55a2.js';
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var SiteHeader_rehydrator = require('../_shared/cjs/SiteHeader.rehydrator-b76b0889.js');
5
+ var SiteHeader_rehydrator = require('../_shared/cjs/SiteHeader.rehydrator-9d8f3dad.js');
6
6
  require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
7
7
  require('react');
8
8
  require('../_shared/cjs/index-9947ac13.js');
@@ -1,4 +1,4 @@
1
- export { S as SiteHeader, a as SiteHeaderRehydrator } from '../_shared/esm/SiteHeader.rehydrator-8ad7651b.js';
1
+ export { S as SiteHeader, a as SiteHeaderRehydrator } from '../_shared/esm/SiteHeader.rehydrator-2ec02ee7.js';
2
2
  import '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
3
3
  import 'react';
4
4
  import '../_shared/esm/index-2e73c2e9.js';
@@ -9,10 +9,10 @@ var Surface = require('../_shared/cjs/Surface-038db6e1.js');
9
9
  require('../_shared/cjs/Heading-27cba320.js');
10
10
  var Text = require('../_shared/cjs/Text-606ca3a2.js');
11
11
  require('../_shared/cjs/Image-e873b8fc.js');
12
- require('../_shared/cjs/Base-f5a86eed.js');
12
+ require('../_shared/cjs/Base-4676f12e.js');
13
13
  require('../_shared/cjs/Breadcrumbs-c6eaf5c4.js');
14
14
  require('../_shared/cjs/Button-6ba21d3b.js');
15
- require('../_shared/cjs/Card-5b19cabc.js');
15
+ require('../_shared/cjs/Card-78a70e63.js');
16
16
  require('../_shared/cjs/Checkbox-0253327b.js');
17
17
  require('../_shared/cjs/Columns-ae4f8cef.js');
18
18
  require('../_shared/cjs/Filter-f9506dfa.js');
@@ -20,11 +20,11 @@ var FormControl = require('../_shared/cjs/FormControl-68258ce1.js');
20
20
  require('../_shared/cjs/Grid-da776e77.js');
21
21
  require('../_shared/cjs/Group-0429741a.js');
22
22
  require('../_shared/cjs/Poster-9b48fd61.js');
23
- require('../_shared/cjs/ProgressStepper-57cfef1e.js');
24
- require('../_shared/cjs/RadioGroup-85eda600.js');
23
+ require('../_shared/cjs/ProgressStepper-491f0286.js');
24
+ require('../_shared/cjs/RadioGroup-26dc00fc.js');
25
25
  require('../_shared/cjs/debounce-123468fb.js');
26
- require('../_shared/cjs/SiteFooter-65b6360c.js');
27
- require('../_shared/cjs/SiteHeader.rehydrator-b76b0889.js');
26
+ require('../_shared/cjs/SiteFooter-20d5a9fa.js');
27
+ require('../_shared/cjs/SiteHeader.rehydrator-9d8f3dad.js');
28
28
  require('../_shared/cjs/SiteHeaderV2-ce1c8737.js');
29
29
  require('../_shared/cjs/Tabs-bc9fac46.js');
30
30
  require('../_shared/cjs/TextInput-8d139489.js');
@@ -43,7 +43,7 @@ require('../_shared/cjs/DisclosureMini-09c749e5.js');
43
43
  require('../_shared/cjs/BtIconChevronDown2Px.esm-39030ee0.js');
44
44
  require('../_shared/cjs/use-media-query-e61881d8.js');
45
45
  require('../_shared/cjs/BrandLogo-aea340c8.js');
46
- require('../_shared/cjs/Curve-d038052b.js');
46
+ require('../_shared/cjs/Curve-b5117889.js');
47
47
  require('../_shared/cjs/Section-59804166.js');
48
48
  require('../_shared/cjs/ConditionalWrapper-be3b2625.js');
49
49
  require('../_shared/cjs/extends-8c5e4b48.js');
@@ -5,10 +5,10 @@ import { C as Context } from '../_shared/esm/Surface-0ca6817d.js';
5
5
  import '../_shared/esm/Heading-d16e0e53.js';
6
6
  import { T as Text } from '../_shared/esm/Text-14f586ac.js';
7
7
  import '../_shared/esm/Image-12fbd327.js';
8
- import '../_shared/esm/Base-f200653c.js';
8
+ import '../_shared/esm/Base-211ca3a4.js';
9
9
  import '../_shared/esm/Breadcrumbs-7d55e1a6.js';
10
10
  import '../_shared/esm/Button-a7d134c6.js';
11
- import '../_shared/esm/Card-7fc6c9b4.js';
11
+ import '../_shared/esm/Card-a4b78406.js';
12
12
  import '../_shared/esm/Checkbox-588619c7.js';
13
13
  import '../_shared/esm/Columns-d96b7425.js';
14
14
  import '../_shared/esm/Filter-258ba675.js';
@@ -16,11 +16,11 @@ import { F as FormControl } from '../_shared/esm/FormControl-8e836656.js';
16
16
  import '../_shared/esm/Grid-07dbf4bd.js';
17
17
  import '../_shared/esm/Group-73fdb896.js';
18
18
  import '../_shared/esm/Poster-4ec2f679.js';
19
- import '../_shared/esm/ProgressStepper-6c811282.js';
20
- import '../_shared/esm/RadioGroup-6c8f8454.js';
19
+ import '../_shared/esm/ProgressStepper-7eba3a6a.js';
20
+ import '../_shared/esm/RadioGroup-427652ac.js';
21
21
  import '../_shared/esm/debounce-6fed6b84.js';
22
- import '../_shared/esm/SiteFooter-38ee1536.js';
23
- import '../_shared/esm/SiteHeader.rehydrator-8ad7651b.js';
22
+ import '../_shared/esm/SiteFooter-86f910b4.js';
23
+ import '../_shared/esm/SiteHeader.rehydrator-2ec02ee7.js';
24
24
  import '../_shared/esm/SiteHeaderV2-a7c1b1cb.js';
25
25
  import '../_shared/esm/Tabs-9485cab6.js';
26
26
  import '../_shared/esm/TextInput-c0388103.js';
@@ -39,7 +39,7 @@ import '../_shared/esm/DisclosureMini-56719716.js';
39
39
  import '../_shared/esm/BtIconChevronDown2Px.esm-217276c2.js';
40
40
  import '../_shared/esm/use-media-query-4c807227.js';
41
41
  import '../_shared/esm/BrandLogo-1af78f76.js';
42
- import '../_shared/esm/Curve-d8679dde.js';
42
+ import '../_shared/esm/Curve-e05b3c3f.js';
43
43
  import '../_shared/esm/Section-73781b56.js';
44
44
  import '../_shared/esm/ConditionalWrapper-59be8f35.js';
45
45
  import '../_shared/esm/extends-8cc61aad.js';
@@ -2,6 +2,7 @@
2
2
 
3
3
  var filterDataAttrs = require('./filter-data-attrs-1c9a530c.js');
4
4
  var React = require('react');
5
+ var index = require('./index-9947ac13.js');
5
6
 
6
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
8
 
@@ -12,9 +13,11 @@ var ArcRootElementContext = React.createContext(null);
12
13
  * Use `Base` as the root component of the arc system.
13
14
  */
14
15
  var Base = function (_a) {
15
- var _b = _a.brand, brand = _b === void 0 ? "bt" : _b, children = _a.children, props = filterDataAttrs.__rest(_a, ["brand", "children"]);
16
- var _c = React__default["default"].useState(null), arcRoot = _c[0], setArcRoot = _c[1];
17
- return (React__default["default"].createElement("div", filterDataAttrs.__assign({ id: "arc-root", ref: setArcRoot, className: "arc".concat(brand ? " arc-".concat(brand) : "") }, filterDataAttrs.filterDataAttrs(props)),
16
+ var _b = _a.brand, brand = _b === void 0 ? "bt" : _b, _c = _a.resetCssStyles, resetCssStyles = _c === void 0 ? true : _c, children = _a.children, props = filterDataAttrs.__rest(_a, ["brand", "resetCssStyles", "children"]);
17
+ var _d = React__default["default"].useState(null), arcRoot = _d[0], setArcRoot = _d[1];
18
+ return (React__default["default"].createElement("div", filterDataAttrs.__assign({ id: "arc-root", ref: setArcRoot, className: index.classNames("arc".concat(brand ? " arc-".concat(brand) : ""), {
19
+ "arc--reset": resetCssStyles
20
+ }) }, filterDataAttrs.filterDataAttrs(props)),
18
21
  React__default["default"].createElement(ArcRootElementContext.Provider, { value: arcRoot }, children)));
19
22
  };
20
23
 
@@ -45,7 +45,11 @@ var useInteractionMode = function () {
45
45
  };
46
46
 
47
47
  /**
48
- * Use `Card` to contain content and actions about a single subject.
48
+ #### Deprecation Notice
49
+
50
+ The `Card` component has been superseded by a range of new `Card` options (`ImpactCard`, `InformationCard`, `MediaCard`, `TypographyCard`) and therefore is being deprecated from Arc and will be removed in a future release.
51
+
52
+ Do not use `Card` for any new work, and prepare to update any design that features it to replace it with our newer `Card` options.
49
53
  */
50
54
  var Card = function (_a) {
51
55
  var _b;
@@ -12,7 +12,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
12
12
  /**
13
13
  #### Deprecation Notice
14
14
 
15
- The `Curve` component is an outdated brand feature and is being deprecated from Arc as a standalone component or sub-component within other components. Do not use Curve for any new work, and prepare to update any design that features it to remove it.
15
+ The `Curve` component is an outdated brand feature and is being deprecated from Arc as a standalone component or sub-component within other components. Do not use `Curve` for any new work, and prepare to update any design that features it to remove it.
16
16
 
17
17
  `Curve` will be removed from Arc in a subsequent release
18
18
  */
@@ -12,35 +12,35 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
12
12
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
13
 
14
14
  var Error = function () { return (React__default["default"].createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
15
- React__default["default"].createElement("g", { "clip-path": "url(#a)" },
15
+ React__default["default"].createElement("g", { clipPath: "url(#a)" },
16
16
  React__default["default"].createElement("path", { d: "m13.06 12 2.845-2.845a.75.75 0 0 0-1.06-1.06L12 10.94 9.155 8.095a.75.75 0 0 0-1.06 1.06L10.939 12l-2.844 2.845a.75.75 0 1 0 1.06 1.06L12 13.061l2.845 2.844a.75.75 0 0 0 1.06-1.06L13.06 12Z", fill: "currentColor" })),
17
- React__default["default"].createElement("rect", { x: ".667", y: ".667", width: "22.667", height: "22.667", rx: "11.333", stroke: "currentColor", "stroke-width": "1.333" }),
17
+ React__default["default"].createElement("rect", { x: ".667", y: ".667", width: "22.667", height: "22.667", rx: "11.333", stroke: "currentColor", strokeWidth: "1.333" }),
18
18
  React__default["default"].createElement("defs", null,
19
19
  React__default["default"].createElement("clipPath", { id: "a" },
20
20
  React__default["default"].createElement("rect", { width: "24", height: "24", rx: "12" }))))); };
21
21
 
22
22
  var Warning = function () { return (React__default["default"].createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
23
- React__default["default"].createElement("rect", { x: ".667", y: ".667", width: "22.667", height: "22.667", rx: "11.333", stroke: "currentColor", "stroke-width": "1.333" }),
24
- React__default["default"].createElement("path", { d: "M12 15.747a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm.004-1.487a.375.375 0 0 0 .375-.375l.001-6.757a.375.375 0 1 0-.75 0l-.001 6.757a.375.375 0 0 0 .375.375Z", fill: "currentColor", stroke: "currentColor", "stroke-width": ".3" }))); };
23
+ React__default["default"].createElement("rect", { x: ".667", y: ".667", width: "22.667", height: "22.667", rx: "11.333", stroke: "currentColor", strokeWidth: "1.333" }),
24
+ React__default["default"].createElement("path", { d: "M12 15.747a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm.004-1.487a.375.375 0 0 0 .375-.375l.001-6.757a.375.375 0 1 0-.75 0l-.001 6.757a.375.375 0 0 0 .375.375Z", fill: "currentColor", stroke: "currentColor", strokeWidth: ".3" }))); };
25
25
 
26
26
  var Complete = function () { return (React__default["default"].createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
27
- React__default["default"].createElement("g", { "clip-path": "url(#a)" },
27
+ React__default["default"].createElement("g", { clipPath: "url(#a)" },
28
28
  React__default["default"].createElement("path", { d: "m10.125 16.435-3.53-3.53a.75.75 0 0 1 0-1.06.768.768 0 0 1 1.06 0l2.47 2.47 6.22-6.22a.75.75 0 1 1 1.06 1.06l-7.28 7.28Z", fill: "currentColor" })),
29
- React__default["default"].createElement("rect", { x: ".667", y: ".667", width: "22.667", height: "22.667", rx: "11.333", stroke: "currentColor", "stroke-width": "1.333" }),
29
+ React__default["default"].createElement("rect", { x: ".667", y: ".667", width: "22.667", height: "22.667", rx: "11.333", stroke: "currentColor", strokeWidth: "1.333" }),
30
30
  React__default["default"].createElement("defs", null,
31
31
  React__default["default"].createElement("clipPath", { id: "a" },
32
32
  React__default["default"].createElement("rect", { width: "24", height: "24", rx: "12" }))))); };
33
33
 
34
34
  var Current = function () { return (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
35
- React__default["default"].createElement("rect", { x: "0.666667", y: "0.666667", width: "22.6667", height: "22.6667", rx: "11.3333", stroke: "url(#paint0_linear_1_1050)", "stroke-width": "1.33333" }),
35
+ React__default["default"].createElement("rect", { x: "0.666667", y: "0.666667", width: "22.6667", height: "22.6667", rx: "11.3333", stroke: "url(#paint0_linear_1_1050)", strokeWidth: "1.33333" }),
36
36
  React__default["default"].createElement("circle", { cx: "12", cy: "12", r: "7", fill: "currentColor" }),
37
37
  React__default["default"].createElement("defs", null,
38
38
  React__default["default"].createElement("linearGradient", { id: "paint0_linear_1_1050", x1: "36.6036", y1: "-4.31391e-07", x2: "-12.6036", y2: "24", gradientUnits: "userSpaceOnUse" },
39
- React__default["default"].createElement("stop", { "stop-color": "#F200F5" }),
40
- React__default["default"].createElement("stop", { offset: "1", "stop-color": "#1EC8E6" }))))); };
39
+ React__default["default"].createElement("stop", { stopColor: "#F200F5" }),
40
+ React__default["default"].createElement("stop", { offset: "1", stopColor: "#1EC8E6" }))))); };
41
41
 
42
42
  var Todo = function () { return (React__default["default"].createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
43
- React__default["default"].createElement("rect", { x: ".667", y: ".667", width: "22.667", height: "22.667", rx: "11.333", stroke: "currentColor", "stroke-width": "1.333" }))); };
43
+ React__default["default"].createElement("rect", { x: ".667", y: ".667", width: "22.667", height: "22.667", rx: "11.333", stroke: "currentColor", strokeWidth: "1.333" }))); };
44
44
 
45
45
  // export current step as an icon
46
46
  var ProgressStepperItem = function (_a) {
@@ -5,6 +5,7 @@ var React = require('react');
5
5
  var FormControl = require('./FormControl-68258ce1.js');
6
6
  var index = require('./index-9947ac13.js');
7
7
  var Surface = require('./Surface-038db6e1.js');
8
+ var VisuallyHidden = require('./VisuallyHidden-b0de4c7b.js');
8
9
 
9
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
11
 
@@ -17,18 +18,15 @@ var useRadioContext = function () {
17
18
  return context;
18
19
  };
19
20
 
20
- /**
21
- * Radio Button component.
22
- */
23
21
  var RadioButton = React.forwardRef(function (_a, ref) {
24
- 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 = filterDataAttrs.__rest(_a, ["helper", "id", "isDisabled", "label", "radioButtonAlignment", "value"]);
25
- var _c = useRadioContext(), blurEvent = _c.blurEvent, changeEvent = _c.changeEvent, groupDisabled = _c.groupDisabled, checkedValue = _c.checkedValue, labelSize = _c.labelSize, name = _c.name, size = _c.size;
22
+ var id = _a.id, changeEvent = _a.changeEvent, isDisabled = _a.isDisabled, size = _a.size, labelSize = _a.labelSize, checked = _a.checked, defaultChecked = _a.defaultChecked, radioButtonAlignment = _a.radioButtonAlignment, name = _a.name, blurEvent = _a.blurEvent, value = _a.value, label = _a.label, helper = _a.helper, hideLabel = _a.hideLabel, withMargin = _a.withMargin, props = filterDataAttrs.__rest(_a, ["id", "changeEvent", "isDisabled", "size", "labelSize", "checked", "defaultChecked", "radioButtonAlignment", "name", "blurEvent", "value", "label", "helper", "hideLabel", "withMargin"]);
26
23
  var surface = React.useContext(Surface.Context).surface;
27
24
  var idLabel = "".concat(id, "-label");
28
- var checked = checkedValue === value ? true : false;
29
25
  return (React__default["default"].createElement("div", filterDataAttrs.__assign({ className: index.classNames({
30
26
  "arc-RadioButton": true,
31
- "arc-RadioButton--disabled": isDisabled || groupDisabled,
27
+ "arc-RadioButton--withMargin": withMargin,
28
+ "arc-RadioButton--withMarginSmall": withMargin && size === "s",
29
+ "arc-RadioButton--disabled": isDisabled,
32
30
  "arc-RadioButton--small": size === "s",
33
31
  "arc-RadioButton--smallLabel": labelSize === "s",
34
32
  "arc-RadioButton--onDarkSurface": surface === "dark"
@@ -36,14 +34,26 @@ var RadioButton = React.forwardRef(function (_a, ref) {
36
34
  React__default["default"].createElement("label", { className: index.classNames("arc-RadioButton-label", {
37
35
  "arc-RadioButton-label--alignTop": radioButtonAlignment === "top"
38
36
  }), htmlFor: id, id: idLabel },
39
- React__default["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, "aria-checked": checked }),
37
+ React__default["default"].createElement("input", { className: "arc-RadioButton-input", checked: checked, defaultChecked: defaultChecked, disabled: isDisabled, id: id, name: name, onBlur: blurEvent, onChange: changeEvent, ref: ref, type: "radio", value: value, "aria-checked": checked }),
40
38
  React__default["default"].createElement("span", { className: index.classNames({
41
39
  "arc-RadioButton-label--marginTop": radioButtonAlignment === "top"
42
40
  }) },
43
- label,
41
+ hideLabel ? React__default["default"].createElement(VisuallyHidden.VisuallyHidden, null, label) : label,
44
42
  helper && React__default["default"].createElement("span", { className: "arc-RadioButton-helper" }, helper)))));
45
43
  });
46
44
 
45
+ /**
46
+ * Radio Button component.
47
+ */
48
+ var RadioButtonGroupInput = React.forwardRef(function (_a, ref) {
49
+ 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 = filterDataAttrs.__rest(_a, ["helper", "id", "isDisabled", "label", "radioButtonAlignment", "value"]);
50
+ var _c = useRadioContext(), blurEvent = _c.blurEvent, changeEvent = _c.changeEvent, groupDisabled = _c.groupDisabled, checkedValue = _c.checkedValue, labelSize = _c.labelSize, name = _c.name, size = _c.size;
51
+ var isChecked = checkedValue === value ? true : false;
52
+ var checked = typeof changeEvent !== "function" ? undefined : isChecked;
53
+ var defaultChecked = typeof changeEvent !== "function" ? isChecked : undefined;
54
+ return (React__default["default"].createElement(RadioButton, filterDataAttrs.__assign({ withMargin: true, ref: ref, id: id, name: name, helper: helper, isDisabled: isDisabled || groupDisabled, labelSize: labelSize, size: size, radioButtonAlignment: radioButtonAlignment, label: label, defaultChecked: defaultChecked, checked: checked, changeEvent: changeEvent, blurEvent: blurEvent, value: value }, props)));
55
+ });
56
+
47
57
  /**
48
58
  * Use `RadioGroup` to wrap and control radio buttons and apply default values
49
59
  */
@@ -51,7 +61,7 @@ var RadioGroup = function (_a) {
51
61
  var children = _a.children, checkedValue = _a.checkedValue, _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, id = _a.id, helper = _a.helper, label = _a.label, _c = _a.labelSize, labelSize = _c === void 0 ? "l" : _c, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _d = _a.size, size = _d === void 0 ? "l" : _d, props = filterDataAttrs.__rest(_a, ["children", "checkedValue", "isDisabled", "id", "helper", "label", "labelSize", "name", "onBlur", "onChange", "size"]);
52
62
  React.useEffect(function () {
53
63
  React__default["default"].Children.map(children, function (item) {
54
- if (item && item.type !== RadioButton) {
64
+ if (item && item.type !== RadioButtonGroupInput) {
55
65
  throw new Error("Illegal child passed to <RadioGroup />. Ensure to only use <RadioGroup.RadioButton />.");
56
66
  }
57
67
  });
@@ -69,6 +79,7 @@ var RadioGroup = function (_a) {
69
79
  React__default["default"].createElement(FormControl.FormControl, { elementType: "fieldset", label: label, labelSize: labelSize, helper: helper, id: id, requirementStatus: "not-applicable", helperUnderLabel: true },
70
80
  React__default["default"].createElement("span", { className: "arc-RadioGroup-radioButtonContainer" }, children)))));
71
81
  };
72
- RadioGroup.RadioButton = RadioButton;
82
+ RadioGroup.RadioButton = RadioButtonGroupInput;
73
83
 
84
+ exports.RadioButton = RadioButton;
74
85
  exports.RadioGroup = RadioGroup;
@@ -5,7 +5,7 @@ var useMediaQuery = require('./use-media-query-e61881d8.js');
5
5
  var BtIconChevronDown2Px_esm = require('./BtIconChevronDown2Px.esm-39030ee0.js');
6
6
  var React = require('react');
7
7
  var BrandLogo = require('./BrandLogo-aea340c8.js');
8
- var Curve = require('./Curve-d038052b.js');
8
+ var Curve = require('./Curve-b5117889.js');
9
9
  var Section = require('./Section-59804166.js');
10
10
  var Surface = require('./Surface-038db6e1.js');
11
11
  var handleLinkClick = require('./handle-link-click-17a44cf4.js');
@@ -517,7 +517,11 @@ var defaultContext = { transparent: false };
517
517
  var Context = React.createContext(defaultContext);
518
518
  var Provider = Context.Provider;
519
519
  /**
520
- * Use `SiteHeader` to display brand logo and navigation at the top of a page.
520
+ #### Deprecation Notice
521
+
522
+ The `SiteHeader` component has been superseded by `SiteHeaderV2` and therefore is being deprecated from Arc and will be removed in a future release.
523
+
524
+ Do not use `SiteHeader` for any new work, and prepare to update any design that features it to replace it with `SiteHeaderV2`.
521
525
  */
522
526
  var SiteHeader = function (_a) {
523
527
  var _b;
@@ -0,0 +1,18 @@
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
+ import React__default, { createContext } from 'react';
3
+ import { c as classNames } from './index-2e73c2e9.js';
4
+
5
+ var ArcRootElementContext = createContext(null);
6
+ /**
7
+ * Use `Base` as the root component of the arc system.
8
+ */
9
+ var Base = function (_a) {
10
+ var _b = _a.brand, brand = _b === void 0 ? "bt" : _b, _c = _a.resetCssStyles, resetCssStyles = _c === void 0 ? true : _c, children = _a.children, props = __rest(_a, ["brand", "resetCssStyles", "children"]);
11
+ var _d = React__default.useState(null), arcRoot = _d[0], setArcRoot = _d[1];
12
+ return (React__default.createElement("div", __assign({ id: "arc-root", ref: setArcRoot, className: classNames("arc".concat(brand ? " arc-".concat(brand) : ""), {
13
+ "arc--reset": resetCssStyles
14
+ }) }, filterDataAttrs(props)),
15
+ React__default.createElement(ArcRootElementContext.Provider, { value: arcRoot }, children)));
16
+ };
17
+
18
+ export { ArcRootElementContext as A, Base as B };
@@ -39,7 +39,11 @@ var useInteractionMode = function () {
39
39
  };
40
40
 
41
41
  /**
42
- * Use `Card` to contain content and actions about a single subject.
42
+ #### Deprecation Notice
43
+
44
+ The `Card` component has been superseded by a range of new `Card` options (`ImpactCard`, `InformationCard`, `MediaCard`, `TypographyCard`) and therefore is being deprecated from Arc and will be removed in a future release.
45
+
46
+ Do not use `Card` for any new work, and prepare to update any design that features it to replace it with our newer `Card` options.
43
47
  */
44
48
  var Card = function (_a) {
45
49
  var _b;
@@ -6,7 +6,7 @@ import { s as suffixModifier } from './suffix-modifier-3d548e45.js';
6
6
  /**
7
7
  #### Deprecation Notice
8
8
 
9
- The `Curve` component is an outdated brand feature and is being deprecated from Arc as a standalone component or sub-component within other components. Do not use Curve for any new work, and prepare to update any design that features it to remove it.
9
+ The `Curve` component is an outdated brand feature and is being deprecated from Arc as a standalone component or sub-component within other components. Do not use `Curve` for any new work, and prepare to update any design that features it to remove it.
10
10
 
11
11
  `Curve` will be removed from Arc in a subsequent release
12
12
  */