@arc-ui/components 11.13.1 → 12.0.0-alpha.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 (145) hide show
  1. package/dist/Alert/Alert.cjs.js +13 -20
  2. package/dist/Alert/Alert.esm.js +13 -20
  3. package/dist/Badge/Badge.cjs.js +1 -3
  4. package/dist/Badge/Badge.esm.js +1 -3
  5. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +2 -3
  6. package/dist/Breadcrumbs/Breadcrumbs.esm.js +2 -3
  7. package/dist/Button/Button.cjs.js +4 -5
  8. package/dist/Button/Button.esm.js +4 -5
  9. package/dist/Card/Card.cjs.js +4 -5
  10. package/dist/Card/Card.esm.js +4 -5
  11. package/dist/Checkbox/Checkbox.cjs.js +4 -6
  12. package/dist/Checkbox/Checkbox.esm.js +4 -6
  13. package/dist/Disclosure/Disclosure.cjs.js +2 -2
  14. package/dist/Disclosure/Disclosure.esm.js +2 -2
  15. package/dist/DisclosureMini/DisclosureMini.cjs.js +2 -2
  16. package/dist/DisclosureMini/DisclosureMini.esm.js +2 -2
  17. package/dist/FormControl/FormControl.cjs.js +3 -4
  18. package/dist/FormControl/FormControl.esm.js +3 -4
  19. package/dist/Icon/Icon.cjs.js +2 -2
  20. package/dist/Icon/Icon.esm.js +2 -2
  21. package/dist/Modal/Modal.cjs.js +8 -10
  22. package/dist/Modal/Modal.esm.js +8 -10
  23. package/dist/Pagination/Pagination.cjs.js +3 -5
  24. package/dist/Pagination/Pagination.esm.js +3 -5
  25. package/dist/PaginationSimple/PaginationSimple.cjs.js +3 -5
  26. package/dist/PaginationSimple/PaginationSimple.esm.js +3 -5
  27. package/dist/Poster/Poster.cjs.js +1 -1
  28. package/dist/Poster/Poster.esm.js +1 -1
  29. package/dist/ProgressBar/ProgressBar.cjs.js +5 -28
  30. package/dist/ProgressBar/ProgressBar.esm.js +5 -28
  31. package/dist/ProgressStepper/ProgressStepper.cjs.js +3 -4
  32. package/dist/ProgressStepper/ProgressStepper.esm.js +3 -4
  33. package/dist/RadioGroup/RadioGroup.cjs.js +4 -5
  34. package/dist/RadioGroup/RadioGroup.esm.js +4 -5
  35. package/dist/Rule/Rule.cjs.js +1 -7
  36. package/dist/Rule/Rule.esm.js +2 -8
  37. package/dist/ScrollToTop/ScrollToTop.cjs.js +5 -20
  38. package/dist/ScrollToTop/ScrollToTop.esm.js +6 -21
  39. package/dist/Select/Select.cjs.js +10 -30
  40. package/dist/Select/Select.esm.js +10 -30
  41. package/dist/SiteFooter/SiteFooter.cjs.js +2 -3
  42. package/dist/SiteFooter/SiteFooter.esm.js +3 -4
  43. package/dist/SiteHeader/SiteHeader.cjs.js +6 -9
  44. package/dist/SiteHeader/SiteHeader.esm.js +6 -9
  45. package/dist/Switch/Switch.cjs.js +5 -8
  46. package/dist/Switch/Switch.esm.js +5 -8
  47. package/dist/Tabs/Tabs.cjs.js +6 -5
  48. package/dist/Tabs/Tabs.esm.js +6 -5
  49. package/dist/Tag/Tag.cjs.js +4 -41
  50. package/dist/Tag/Tag.esm.js +4 -41
  51. package/dist/TextArea/TextArea.cjs.js +22 -30
  52. package/dist/TextArea/TextArea.esm.js +22 -30
  53. package/dist/TextInput/TextInput.cjs.js +4 -5
  54. package/dist/TextInput/TextInput.esm.js +4 -5
  55. package/dist/Theme/Theme.cjs.js +19 -0
  56. package/dist/Theme/Theme.esm.js +10 -0
  57. package/dist/Theme/package.json +7 -0
  58. package/dist/Toast/Toast.cjs.js +5 -8
  59. package/dist/Toast/Toast.esm.js +5 -8
  60. package/dist/_shared/cjs/{Breadcrumbs-ed70e75a.js → Breadcrumbs-f3385e2e.js} +3 -4
  61. package/dist/_shared/cjs/{Button-4fed080a.js → Button-5c958ce9.js} +4 -7
  62. package/dist/_shared/cjs/{Card-17dcc171.js → Card-eb1c20c1.js} +2 -3
  63. package/dist/_shared/cjs/{Checkbox-b126194e.js → Checkbox-5f14bb0d.js} +4 -5
  64. package/dist/_shared/cjs/{DisclosureMini-d0eeb6bb.js → DisclosureMini-145105a4.js} +2 -2
  65. package/dist/_shared/cjs/{FormControl-7daf8110.js → FormControl-30f2330f.js} +3 -3
  66. package/dist/_shared/cjs/{Icon-a9801f05.js → Icon-a47b6c0a.js} +3 -20
  67. package/dist/_shared/cjs/{Poster-9b48fd61.js → Poster-499b78da.js} +1 -1
  68. package/dist/_shared/cjs/{ProgressStepper-9cdc0afe.js → ProgressStepper-74ee1eec.js} +7 -60
  69. package/dist/_shared/cjs/{RadioGroup-56e3b0e5.js → RadioGroup-9bc96f6a.js} +1 -1
  70. package/dist/_shared/cjs/{SiteFooter-6381ac4a.js → SiteFooter-0638c27c.js} +3 -5
  71. package/dist/_shared/cjs/{SiteHeader.rehydrator-a3f07c9e.js → SiteHeader.rehydrator-42c4a0e0.js} +16 -11
  72. package/dist/_shared/cjs/{Tabs-2d2a517d.js → Tabs-ade6d6b6.js} +8 -41
  73. package/dist/_shared/cjs/{TextInput-bf1fe052.js → TextInput-a5f72f6f.js} +1 -1
  74. package/dist/_shared/cjs/ThemeIcon-9534f091.js +27 -0
  75. package/dist/_shared/cjs/{Toast-69108261.js → Toast-6d4021d7.js} +10 -13
  76. package/dist/_shared/cjs/{index-b2fd6338.js → index-23b4f49f.js} +1 -1
  77. package/dist/_shared/cjs/{index-6b2a9ac3.js → index-4dd46cbe.js} +1 -1
  78. package/dist/_shared/cjs/{index-adbb63da.js → index-d75774a9.js} +1 -1
  79. package/dist/_shared/esm/{Breadcrumbs-87e2bd46.js → Breadcrumbs-c4b65cff.js} +3 -4
  80. package/dist/_shared/esm/{Button-a453e8e4.js → Button-c3348ed8.js} +4 -7
  81. package/dist/_shared/esm/{Card-201e9f28.js → Card-45e8e10a.js} +2 -3
  82. package/dist/_shared/esm/{Checkbox-d6ec5024.js → Checkbox-2a623386.js} +4 -5
  83. package/dist/_shared/esm/{DisclosureMini-ec17b008.js → DisclosureMini-bf95a9db.js} +2 -2
  84. package/dist/_shared/esm/{FormControl-351e5f1b.js → FormControl-433228f5.js} +3 -3
  85. package/dist/_shared/esm/{Icon-abd0d990.js → Icon-9ecaaeab.js} +3 -20
  86. package/dist/_shared/esm/{Poster-4ec2f679.js → Poster-699dc89b.js} +1 -1
  87. package/dist/_shared/esm/{ProgressStepper-f51f86c3.js → ProgressStepper-5de34269.js} +7 -60
  88. package/dist/_shared/esm/{RadioGroup-c838764c.js → RadioGroup-002a32ba.js} +1 -1
  89. package/dist/_shared/esm/{SiteFooter-233bb926.js → SiteFooter-d21da7ab.js} +3 -5
  90. package/dist/_shared/esm/{SiteHeader.rehydrator-8f554bfd.js → SiteHeader.rehydrator-97900e11.js} +16 -11
  91. package/dist/_shared/esm/{Tabs-f903187a.js → Tabs-39d24a7d.js} +8 -41
  92. package/dist/_shared/esm/{TextInput-991804b6.js → TextInput-28f18769.js} +1 -1
  93. package/dist/_shared/esm/ThemeIcon-eab5a4d0.js +21 -0
  94. package/dist/_shared/esm/{Toast-37549e68.js → Toast-dce2d01e.js} +10 -13
  95. package/dist/_shared/esm/{index-efd9ef1c.js → index-3147c5b0.js} +1 -1
  96. package/dist/_shared/esm/{index-3797d77e.js → index-4f8d3888.js} +1 -1
  97. package/dist/_shared/esm/{index-a1d2d9b3.js → index-65264b4e.js} +1 -1
  98. package/dist/index.es.js +135 -553
  99. package/dist/index.es.js.map +1 -1
  100. package/dist/index.js +135 -553
  101. package/dist/index.js.map +1 -1
  102. package/dist/styles.css +42 -9
  103. package/dist/types/components/Alert/Alert.d.ts +3 -5
  104. package/dist/types/components/BrandLogo/BrandLogo.d.ts +2 -2
  105. package/dist/types/components/Poster/Poster.d.ts +1 -1
  106. package/dist/types/components/ProgressBar/constants/progress-bar-icon-map.d.ts +2 -2
  107. package/dist/types/components/SiteFooter/SiteFooter.d.ts +0 -4
  108. package/dist/types/components/SiteHeader/SiteHeader.d.ts +1 -1
  109. package/dist/types/components/Theme/Theme.d.ts +13 -0
  110. package/dist/types/components/Theme/index.d.ts +1 -0
  111. package/dist/types/components/ThemeIcon/ThemeIcon.d.ts +18 -0
  112. package/dist/types/components/ThemeIcon/icon-names.d.ts +1 -0
  113. package/dist/types/components/ThemeIcon/index.d.ts +1 -0
  114. package/dist/types/components/index.d.ts +1 -1
  115. package/dist/types/styles.d.ts +1 -25
  116. package/package.json +5 -2
  117. package/dist/Curve/Curve.cjs.js +0 -13
  118. package/dist/Curve/Curve.esm.js +0 -5
  119. package/dist/Curve/package.json +0 -7
  120. package/dist/_shared/cjs/BtIconAlert.esm-1a0ff9f0.js +0 -34
  121. package/dist/_shared/cjs/BtIconChevronDown2Px.esm-39030ee0.js +0 -26
  122. package/dist/_shared/cjs/BtIconChevronLeftMid.esm-0aaa6770.js +0 -28
  123. package/dist/_shared/cjs/BtIconChevronRight2Px.esm-dbf8cbee.js +0 -44
  124. package/dist/_shared/cjs/BtIconChevronRightMid.esm-d01ebbd4.js +0 -28
  125. package/dist/_shared/cjs/BtIconCrossAlt2Px.esm-1452b14b.js +0 -26
  126. package/dist/_shared/cjs/BtIconTick.esm-844eac6c.js +0 -80
  127. package/dist/_shared/cjs/BtIconTickAlt2Px.esm-57c89acc.js +0 -26
  128. package/dist/_shared/cjs/Curve-d038052b.js +0 -33
  129. package/dist/_shared/esm/BtIconAlert.esm-a4608d47.js +0 -28
  130. package/dist/_shared/esm/BtIconChevronDown2Px.esm-217276c2.js +0 -20
  131. package/dist/_shared/esm/BtIconChevronLeftMid.esm-1ed8330b.js +0 -22
  132. package/dist/_shared/esm/BtIconChevronRight2Px.esm-75e92636.js +0 -37
  133. package/dist/_shared/esm/BtIconChevronRightMid.esm-32268f1a.js +0 -22
  134. package/dist/_shared/esm/BtIconCrossAlt2Px.esm-7165ab1a.js +0 -20
  135. package/dist/_shared/esm/BtIconTick.esm-e265098f.js +0 -72
  136. package/dist/_shared/esm/BtIconTickAlt2Px.esm-0bc2ded0.js +0 -20
  137. package/dist/_shared/esm/Curve-d8679dde.js +0 -27
  138. package/dist/types/components/Curve/Curve.d.ts +0 -34
  139. package/dist/types/components/Curve/index.d.ts +0 -1
  140. /package/dist/_shared/cjs/{index-43458549.js → index-38d3848e.js} +0 -0
  141. /package/dist/_shared/cjs/{index-c575a255.js → index-4aa11039.js} +0 -0
  142. /package/dist/_shared/cjs/{index.module-dd1d7d0b.js → index.module-7d7228b3.js} +0 -0
  143. /package/dist/_shared/esm/{index-13d575cc.js → index-87a828b8.js} +0 -0
  144. /package/dist/_shared/esm/{index-41d7af2b.js → index-ffd720d0.js} +0 -0
  145. /package/dist/_shared/esm/{index.module-44714d3f.js → index.module-50b2c98a.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var index = require('./index-c575a255.js');
4
+ var index = require('./index-4aa11039.js');
5
5
 
6
6
  function _interopNamespace(e) {
7
7
  if (e && e.__esModule) return e;
@@ -1,8 +1,7 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
2
  import React__default, { useRef, useState, useEffect } from 'react';
3
3
  import { d as debounce_1 } from './debounce-6fed6b84.js';
4
- import { B as BtIconChevronLeft2Px, a as BtIconChevronRight2Px } from './BtIconChevronRight2Px.esm-75e92636.js';
5
- import { I as Icon } from './Icon-abd0d990.js';
4
+ import { T as ThemeIcon } from './ThemeIcon-eab5a4d0.js';
6
5
  import { c as classNames } from './index-2e73c2e9.js';
7
6
  import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
8
7
 
@@ -10,10 +9,10 @@ var BreadcrumbsItem = function (_a) {
10
9
  var spacerIconAfter = _a.spacerIconAfter, spacerIconBefore = _a.spacerIconBefore, children = _a.children, props = __rest(_a, ["spacerIconAfter", "spacerIconBefore", "children"]);
11
10
  return (React__default.createElement("li", __assign({ className: "arc-Breadcrumbs-item" }, filterDataAttrs(props)),
12
11
  spacerIconBefore && (React__default.createElement("div", { className: "arc-Breadcrumbs-spacerIcon", "data-testid": "arc-chevron-left-2px" },
13
- React__default.createElement(Icon, { icon: BtIconChevronLeft2Px }))),
12
+ React__default.createElement(ThemeIcon, { icon: "breadcrumbLeft" }))),
14
13
  children,
15
14
  spacerIconAfter && (React__default.createElement("div", { className: "arc-Breadcrumbs-spacerIcon" },
16
- React__default.createElement(Icon, { icon: BtIconChevronRight2Px })))));
15
+ React__default.createElement(ThemeIcon, { icon: "breadcrumbRight" })))));
17
16
  };
18
17
 
19
18
  var BreadcrumbsLink = React__default.forwardRef(function (_a, ref) {
@@ -1,11 +1,10 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
- import { B as BtIconChevronLeftMid } from './BtIconChevronLeftMid.esm-1ed8330b.js';
3
- import { B as BtIconChevronRightMid } from './BtIconChevronRightMid.esm-32268f1a.js';
4
2
  import { c as classNames } from './index-2e73c2e9.js';
5
3
  import React__default, { forwardRef, useContext } from 'react';
6
4
  import { s as suffixModifier } from './suffix-modifier-3d548e45.js';
7
- import { I as Icon } from './Icon-abd0d990.js';
5
+ import { I as Icon } from './Icon-9ecaaeab.js';
8
6
  import { C as Context } from './Surface-0ca6817d.js';
7
+ import { T as ThemeIcon } from './ThemeIcon-eab5a4d0.js';
9
8
 
10
9
  /**
11
10
  * Use `Button` to allow users to take actions with clicks and taps.
@@ -20,9 +19,7 @@ var Button = forwardRef(function (_a, ref) {
20
19
  },
21
20
  _b[suffixModifier("arc-Button--fill", fill)] = fill !== "solid",
22
21
  _b["arc-Button--fullWidth"] = isFullWidth,
23
- _b[suffixModifier("arc-Button--icon", iconPosition.replace("icon", ""))] = (icon || fill === "flat") &&
24
- iconPosition &&
25
- iconPosition !== "afterText",
22
+ _b[suffixModifier("arc-Button--icon", iconPosition.replace("icon", ""))] = (icon || fill === "flat") && iconPosition,
26
23
  _b["arc-Button--hasSupportingText"] = supportingText,
27
24
  _b["arc-Button--onDarkSurface"] = surface === "dark",
28
25
  _b["arc-Button--size".concat(size && size.toUpperCase())] = size && size !== "m",
@@ -45,7 +42,7 @@ var Button = forwardRef(function (_a, ref) {
45
42
  });
46
43
  var ButtonIcon = function (_a) {
47
44
  var icon = _a.icon, isChevron = _a.isChevron, isBeforeText = _a.isBeforeText;
48
- return (React__default.createElement("span", { className: "arc-Button-icon" }, isChevron ? (React__default.createElement(Icon, { icon: isBeforeText ? BtIconChevronLeftMid : BtIconChevronRightMid })) : (React__default.createElement(Icon, { icon: icon }))));
45
+ return (React__default.createElement("span", { className: "arc-Button-icon" }, isChevron ? (React__default.createElement(ThemeIcon, { icon: isBeforeText ? "buttonLeft" : "buttonRight" })) : (React__default.createElement(Icon, { icon: icon }))));
49
46
  };
50
47
 
51
48
  export { Button as B };
@@ -1,13 +1,12 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { useState, useEffect, useContext } from 'react';
4
- import { B as BtIconChevronRightMid } from './BtIconChevronRightMid.esm-32268f1a.js';
5
- import { I as Icon } from './Icon-abd0d990.js';
6
4
  import { I as Image } from './Image-12fbd327.js';
7
5
  import { H as Heading } from './Heading-d16e0e53.js';
8
6
  import { s as suffixModifier } from './suffix-modifier-3d548e45.js';
9
7
  import { C as Context, S as Surface } from './Surface-0ca6817d.js';
10
8
  import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
9
+ import { T as ThemeIcon } from './ThemeIcon-eab5a4d0.js';
11
10
 
12
11
  /**
13
12
  * Detect interaction mode
@@ -110,7 +109,7 @@ var CardLink = function (_a) {
110
109
  }), href: href, rel: target === "_blank" ? "noopener noreferrer" : undefined, tabIndex: isButton ? -1 : undefined, target: target }, filterDataAttrs(linkData)),
111
110
  React__default.createElement("span", { className: "arc-Card-linkText" }, children),
112
111
  isButton && (React__default.createElement("span", { className: "arc-Card-linkIcon" },
113
- React__default.createElement(Icon, { testId: "cardIcon", icon: BtIconChevronRightMid, size: 24 })))));
112
+ React__default.createElement(ThemeIcon, { "data-testid": "cardIcon", size: 24, icon: "cardButton" })))));
114
113
  };
115
114
 
116
115
  export { Card as C };
@@ -1,10 +1,9 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
2
  import React__default, { forwardRef, useContext } from 'react';
3
- import { B as BtIconTickAlt2Px } from './BtIconTickAlt2Px.esm-0bc2ded0.js';
4
- import { B as BtIconAlert } from './BtIconAlert.esm-a4608d47.js';
5
3
  import { c as classNames } from './index-2e73c2e9.js';
6
- import { C as Context, u as useAriaDescribedby } from './FormControl-351e5f1b.js';
4
+ import { C as Context, u as useAriaDescribedby } from './FormControl-433228f5.js';
7
5
  import { C as Context$1 } from './Surface-0ca6817d.js';
6
+ import { T as ThemeIcon } from './ThemeIcon-eab5a4d0.js';
8
7
 
9
8
  /**
10
9
  * Use `Checkbox` to allow users to select individual options.
@@ -40,7 +39,7 @@ var Checkbox = forwardRef(function (_a, ref) {
40
39
  }) },
41
40
  React__default.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))),
42
41
  React__default.createElement("span", { className: "arc-Checkbox-box" },
43
- React__default.createElement(BtIconTickAlt2Px, null)),
42
+ React__default.createElement(ThemeIcon, { icon: "checkboxChecked" })),
44
43
  React__default.createElement("span", __assign({}, (checkboxAlignment === "top" && {
45
44
  className: "arc-Checkbox-content--marginTop"
46
45
  })),
@@ -49,7 +48,7 @@ var Checkbox = forwardRef(function (_a, ref) {
49
48
  helper && React__default.createElement("span", { className: "arc-Checkbox-helper" }, helper))),
50
49
  errorMessage && (React__default.createElement("div", { id: idError, className: "arc-Checkbox-error" },
51
50
  React__default.createElement("span", { className: "arc-Checkbox-error--icon" },
52
- React__default.createElement(BtIconAlert, null)),
51
+ React__default.createElement(ThemeIcon, { icon: "checkboxError" })),
53
52
  errorMessage))));
54
53
  });
55
54
 
@@ -1,9 +1,9 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { useContext, useState } from 'react';
4
- import { B as BtIconChevronDown2Px } from './BtIconChevronDown2Px.esm-217276c2.js';
5
4
  import { T as Text } from './Text-14f586ac.js';
6
5
  import { C as Context } from './Surface-0ca6817d.js';
6
+ import { T as ThemeIcon } from './ThemeIcon-eab5a4d0.js';
7
7
 
8
8
  /**
9
9
  * Use `DisclosureMini` to display content that is only visible when toggled into
@@ -28,7 +28,7 @@ var DisclosureMini = function (_a) {
28
28
  React__default.createElement("div", { className: classNames("arc-DisclosureMini-summary-icon", {
29
29
  "arc-DisclosureMini-summary-icon--small": size === "s"
30
30
  }) },
31
- React__default.createElement(BtIconChevronDown2Px, null)),
31
+ React__default.createElement(ThemeIcon, { icon: "disclosureMiniExpand" })),
32
32
  React__default.createElement(Text, { size: size === "l" ? "m" : "s" }, summary)),
33
33
  React__default.createElement("div", { className: "arc-DisclosureMini-details" },
34
34
  React__default.createElement(Text, { size: size === "l" ? "m" : "s" },
@@ -1,9 +1,9 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { createContext, useContext } from 'react';
4
- import { B as BtIconAlert } from './BtIconAlert.esm-a4608d47.js';
5
4
  import { C as Context$1 } from './Surface-0ca6817d.js';
6
- import { D as DisclosureMini } from './DisclosureMini-ec17b008.js';
5
+ import { D as DisclosureMini } from './DisclosureMini-bf95a9db.js';
6
+ import { T as ThemeIcon } from './ThemeIcon-eab5a4d0.js';
7
7
 
8
8
  /**
9
9
  * Optionally define ariaDescribedBy if errorMessage or helper exist.
@@ -79,7 +79,7 @@ var FormControl = function (_a) {
79
79
  React__default.createElement("div", { className: "arc-FormControl-info" },
80
80
  !helperUnderLabel && (React__default.createElement("div", { className: "arc-FormControl-helperContainer" }, errorMessage ? (React__default.createElement("div", { className: "arc-FormControl-error", id: idError },
81
81
  React__default.createElement("span", { className: "arc-FormControl-error--icon" },
82
- React__default.createElement(BtIconAlert, null)),
82
+ React__default.createElement(ThemeIcon, { icon: "formControlAlert" })),
83
83
  errorMessage)) : disclosureTitle ? (React__default.createElement(React__default.Fragment, null,
84
84
  React__default.createElement(DisclosureMini, { onClick: onClickDisclosure, summary: disclosureTitle, size: labelSize, id: idDisclosure }, disclosureText))) : (helper && (React__default.createElement("div", { className: "arc-FormControl-helper", id: idHelper }, helper))))),
85
85
  supplementaryInfo && (React__default.createElement("div", { className: "arc-FormControl-supplementaryInfo" }, supplementaryInfo))))));
@@ -1,34 +1,17 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
- import React__default, { useContext } from 'react';
3
2
  import { c as classNames } from './index-2e73c2e9.js';
3
+ import React__default, { useContext } from 'react';
4
4
  import { s as suffixModifier } from './suffix-modifier-3d548e45.js';
5
5
  import { C as Context } from './Surface-0ca6817d.js';
6
6
 
7
- const ArcIconArc = (props) =>
8
- /*#__PURE__*/ React__default.createElement(
9
- "svg",
10
- Object.assign(
11
- {
12
- viewBox: "0 0 16 16",
13
- xmlns: "http://www.w3.org/2000/svg",
14
- },
15
- props,
16
- ),
17
- /*#__PURE__*/ React__default.createElement("path", {
18
- fill: "none",
19
- d: "M3.472 11.69a6.5 6.5 0 012.321-6.839A6.5 6.5 0 0113 4.38",
20
- stroke: "currentColor",
21
- }),
22
- );
23
-
24
7
  /**
25
8
  * Use `Icon` to display brand iconography.
26
9
  */
27
10
  var Icon = function (_a) {
28
11
  var _b;
29
- 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"]);
12
+ var testId = _a.testId, icon = _a.icon, _c = _a.color, color = _c === void 0 ? "auto" : _c, _d = _a.isInline, isInline = _d === void 0 ? false : _d, label = _a.label, size = _a.size, props = __rest(_a, ["testId", "icon", "color", "isInline", "label", "size"]);
30
13
  var surface = useContext(Context).surface;
31
- var Icon = icon;
14
+ var Icon = icon || (function () { return React__default.createElement(React__default.Fragment, null); });
32
15
  return (React__default.createElement("span", __assign({ "data-testid": testId, "aria-label": label, className: classNames((_b = {},
33
16
  _b["arc-Icon"] = true,
34
17
  _b[suffixModifier("arc-Icon--color", color)] = color !== "auto",
@@ -21,7 +21,7 @@ var PosterVideo = function (_a) {
21
21
  };
22
22
 
23
23
  /**
24
- * Use `Poster` to compose content on an image or video background.
24
+ * Use `Poster` to compose content on an image or video background. BT Brand Only.
25
25
  */
26
26
  var Poster = function (_a) {
27
27
  var background = _a.background, children = _a.children, _b = _a.overlay, overlay = _b === void 0 ? true : _b, _c = _a.surface, surface = _c === void 0 ? "darker" : _c, props = __rest(_a, ["background", "children", "overlay", "surface"]);
@@ -1,74 +1,20 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
2
  import React__default, { useContext } from 'react';
3
3
  import { c as classNames } from './index-2e73c2e9.js';
4
- import { B as BtIconAlert } from './BtIconAlert.esm-a4608d47.js';
5
- import { I as Icon } from './Icon-abd0d990.js';
6
4
  import { C as Context } from './Surface-0ca6817d.js';
7
5
  import { V as VerticalSpace } from './VerticalSpace-43cd9138.js';
8
6
  import { V as VisuallyHidden } from './VisuallyHidden-b9eebf71.js';
9
-
10
- const BtIconTickVariant = (props) =>
11
- /*#__PURE__*/ React__default.createElement(
12
- "svg",
13
- Object.assign(
14
- {
15
- xmlns: "http://www.w3.org/2000/svg",
16
- viewBox: "0 0 32 32",
17
- },
18
- props,
19
- ),
20
- /*#__PURE__*/ React__default.createElement("defs", null),
21
- /*#__PURE__*/ React__default.createElement("path", {
22
- d: "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",
23
- fill: "currentColor",
24
- }),
25
- );
26
-
27
- const BtIconCrossAlt = (props) =>
28
- /*#__PURE__*/ React__default.createElement(
29
- "svg",
30
- Object.assign(
31
- {
32
- xmlns: "http://www.w3.org/2000/svg",
33
- viewBox: "0 0 32 32",
34
- },
35
- props,
36
- ),
37
- /*#__PURE__*/ React__default.createElement("defs", null),
38
- /*#__PURE__*/ React__default.createElement("path", {
39
- d: "M16.70709,16.02l4.48236-4.49365a.4996.4996,0,1,0-.707-.70606l-4.481,4.49225-4.481-4.49225a.4996.4996,0,1,0-.707.70606L15.29584,16.02l-4.48236,4.49365a.4996.4996,0,1,0,.707.70606l4.481-4.49225,4.481,4.49225a.4996.4996,0,1,0,.707-.70606Z",
40
- fill: "currentColor",
41
- }),
42
- );
43
-
44
- const BtIconCircle = (props) =>
45
- /*#__PURE__*/ React__default.createElement(
46
- "svg",
47
- Object.assign(
48
- {
49
- viewBox: "0 0 32 32",
50
- fill: "none",
51
- xmlns: "http://www.w3.org/2000/svg",
52
- },
53
- props,
54
- ),
55
- /*#__PURE__*/ React__default.createElement("path", {
56
- fillRule: "evenodd",
57
- clipRule: "evenodd",
58
- d: "M9 16C9 19.87 12.13 23 16 23C19.87 23 23 19.87 23 16C23 12.13 19.87 9 16 9C12.13 9 9 12.13 9 16ZM16 7C11.03 7 7 11.03 7 16C7 20.97 11.03 25 16 25C20.97 25 25 20.97 25 16C25 11.03 20.97 7 16 7Z",
59
- fill: "currentColor",
60
- }),
61
- );
7
+ import { T as ThemeIcon } from './ThemeIcon-eab5a4d0.js';
62
8
 
63
9
  var ProgressStepperItem = function (_a) {
64
10
  var _b, _c, _d;
65
11
  var title = _a.title, titleHref = _a.titleHref, subTitle = _a.subTitle, _e = _a.direction, direction = _e === void 0 ? "horizontal" : _e, _f = _a.status, status = _f === void 0 ? "todo" : _f, _g = _a.size, size = _g === void 0 ? "large" : _g, _h = _a.position, position = _h === void 0 ? "middle" : _h, isFluid = _a.isFluid, ariaLabel = _a.ariaLabel, onClick = _a.onClick, previousStep = _a.previousStep, isExpandable = _a.isExpandable, stepContent = _a.stepContent, isStepContentHidden = _a.isStepContentHidden, props = __rest(_a, ["title", "titleHref", "subTitle", "direction", "status", "size", "position", "isFluid", "ariaLabel", "onClick", "previousStep", "isExpandable", "stepContent", "isStepContentHidden"]);
66
12
  var surface = useContext(Context).surface;
67
13
  var statusIcons = {
68
- completed: BtIconTickVariant,
69
- current: BtIconCircle,
70
- warning: BtIconAlert,
71
- error: BtIconCrossAlt
14
+ completed: "progressStepperComplete",
15
+ current: "progressStepperCurrent",
16
+ warning: "progressStepperWarning",
17
+ error: "progressStepperError"
72
18
  };
73
19
  var onClickHandler = function (event) {
74
20
  event.preventDefault();
@@ -94,7 +40,8 @@ var ProgressStepperItem = function (_a) {
94
40
  _d)), "data-testid": "arc-ProgressStepperItem-iconWrapper" }, statusIcons[status] === undefined ? (React__default.createElement("div", { style: {
95
41
  width: size === "small" ? "16px" : "32px",
96
42
  height: size === "small" ? "16px" : "32px"
97
- } })) : (React__default.createElement(Icon, { size: size === "small" ? 16 : 32, icon: statusIcons[status] }))),
43
+ } })) : (React__default.createElement("span", { className: "arc-ProgressStepperItem-statusIcon" },
44
+ React__default.createElement(ThemeIcon, { icon: statusIcons[status], size: size === "small" ? 16 : 32 })))),
98
45
  React__default.createElement("div", { className: "arc-ProgressStepperItem-iconSectionTrailAfter" })),
99
46
  React__default.createElement("div", { className: "arc-ProgressStepperItem-textSection" },
100
47
  status !== "todo" && (React__default.createElement(VisuallyHidden, null,
@@ -1,6 +1,6 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
2
  import React__default, { createContext, useContext, forwardRef, useEffect } from 'react';
3
- import { F as FormControl } from './FormControl-351e5f1b.js';
3
+ import { F as FormControl } from './FormControl-433228f5.js';
4
4
  import { c as classNames } from './index-2e73c2e9.js';
5
5
  import { C as Context } from './Surface-0ca6817d.js';
6
6
 
@@ -1,18 +1,17 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
2
  import { u as useMediaQuery, A as ArcBreakpointM } from './index.es-00cb3bcb.js';
3
- import { B as BtIconChevronDown2Px } from './BtIconChevronDown2Px.esm-217276c2.js';
4
3
  import React__default, { useEffect, Fragment } from 'react';
5
4
  import { B as BrandLogo } from './BrandLogo-1af78f76.js';
6
- import { C as Curve } from './Curve-d8679dde.js';
7
5
  import { S as Section } from './Section-73781b56.js';
8
6
  import { S as Surface } from './Surface-0ca6817d.js';
9
7
  import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
8
+ import { T as ThemeIcon } from './ThemeIcon-eab5a4d0.js';
10
9
 
11
10
  /**
12
11
  * Use `SiteFooter` to display information at the bottom of a page.
13
12
  */
14
13
  var SiteFooter = function (_a) {
15
- var children = _a.children, currentYear = _a.currentYear, _b = _a.curve, curve = _b === void 0 ? true : _b, logoLabel = _a.logoLabel, main = _a.main, siteName = _a.siteName, props = __rest(_a, ["children", "currentYear", "curve", "logoLabel", "main", "siteName"]);
14
+ var children = _a.children, currentYear = _a.currentYear, logoLabel = _a.logoLabel, main = _a.main, siteName = _a.siteName, props = __rest(_a, ["children", "currentYear", "logoLabel", "main", "siteName"]);
16
15
  useEffect(function () {
17
16
  React__default.Children.map(children, function (item) {
18
17
  if (item && item.type !== SiteFooterItem) {
@@ -21,7 +20,6 @@ var SiteFooter = function (_a) {
21
20
  });
22
21
  }, [children]);
23
22
  return (React__default.createElement(React__default.Fragment, null,
24
- curve ? (React__default.createElement(Curve, { bottomColor: "brand-flat", from: "topLeft", size: "s" })) : null,
25
23
  React__default.createElement("footer", __assign({ className: "arc-SiteFooter" }, filterDataAttrs(props)),
26
24
  React__default.createElement(Surface, { background: "brand-flat", paddingVertical: "24" },
27
25
  (siteName || main) && (React__default.createElement(React__default.Fragment, null,
@@ -50,7 +48,7 @@ var SiteFooterItemGroup = function (_a) {
50
48
  return (React__default.createElement("details", { className: "arc-SiteFooter-disclosure", open: isMinWidthArcBreakpointM },
51
49
  React__default.createElement("summary", { className: "arc-SiteFooter-summary", tabIndex: isMinWidthArcBreakpointM ? -1 : 0 },
52
50
  React__default.createElement("span", { className: "arc-SiteFooter-icon" },
53
- React__default.createElement(BtIconChevronDown2Px, null)),
51
+ React__default.createElement(ThemeIcon, { icon: "siteFooterExpand" })),
54
52
  React__default.createElement("h2", { className: "arc-SiteFooter-title" }, title)),
55
53
  React__default.createElement("ul", { className: "arc-SiteFooter-mainItems" }, children)));
56
54
  };
@@ -1,13 +1,12 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs, d as __awaiter, e as __generator } from './filter-data-attrs-ea8f4ed4.js';
2
2
  import React__default, { useState, useEffect, Fragment, useContext, useRef, createContext } from 'react';
3
3
  import { c as classNames } from './index-2e73c2e9.js';
4
+ import { S as Surface } from './Surface-0ca6817d.js';
4
5
  import { u as useMediaQuery, a as ArcBreakpointL } from './index.es-00cb3bcb.js';
5
- import { B as BtIconChevronDown2Px } from './BtIconChevronDown2Px.esm-217276c2.js';
6
6
  import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
7
- import { a as BtIconChevronRight2Px, B as BtIconChevronLeft2Px } from './BtIconChevronRight2Px.esm-75e92636.js';
8
- import { S as Surface } from './Surface-0ca6817d.js';
7
+ import { T as ThemeIcon } from './ThemeIcon-eab5a4d0.js';
9
8
  import { B as BrandLogo } from './BrandLogo-1af78f76.js';
10
- import { B as Button } from './Button-a453e8e4.js';
9
+ import { B as Button } from './Button-c3348ed8.js';
11
10
  import { s as suffixModifier } from './suffix-modifier-3d548e45.js';
12
11
  import { T as Text } from './Text-14f586ac.js';
13
12
 
@@ -20,7 +19,7 @@ var Item = function (_a) {
20
19
  _b)) }, filterDataAttrs(props)),
21
20
  React__default.createElement("a", { onClick: handleLinkClick({ handler: onClick }), className: "arc-SiteHeaderItem-link", href: href },
22
21
  isEmphasised && (React__default.createElement("span", { className: "arc-SiteHeaderItem-linkIcon" },
23
- React__default.createElement(BtIconChevronRight2Px, null))),
22
+ React__default.createElement(ThemeIcon, { icon: "siteHeaderLink" }))),
24
23
  children)));
25
24
  };
26
25
 
@@ -50,7 +49,7 @@ var ItemGroup = function (_a) {
50
49
  }), className: "arc-SiteHeaderItemGroup-title", href: href, tabIndex: !hasClientSideJavaScript || isMinWidthArcBreakpointL ? 0 : -1 },
51
50
  title,
52
51
  React__default.createElement("span", { className: "arc-SiteHeaderItemGroup-titleIcon" },
53
- React__default.createElement(BtIconChevronDown2Px, null)))) : (React__default.createElement("div", { className: "arc-SiteHeaderItemGroup-title" }, title)))) : null,
52
+ React__default.createElement(ThemeIcon, { icon: "siteHeaderItemGroupExpand" })))) : (React__default.createElement("div", { className: "arc-SiteHeaderItemGroup-title" }, title)))) : null,
54
53
  React__default.createElement("ul", { className: "arc-SiteHeaderItemGroup-items" },
55
54
  children,
56
55
  href && title ? (React__default.createElement("li", { className: "arc-SiteHeaderItem arc-SiteHeaderItem--viewAll" },
@@ -108,7 +107,7 @@ var BackButton = function (_a) {
108
107
  setOpen(false);
109
108
  } },
110
109
  React__default.createElement("span", { className: "arc-SiteHeaderBackButton-icon" },
111
- React__default.createElement(BtIconChevronLeft2Px, null)),
110
+ React__default.createElement(ThemeIcon, { icon: "siteHeaderBack" })),
112
111
  React__default.createElement("span", { className: "arc-SiteHeaderBackButton-text" }, "Back")));
113
112
  };
114
113
 
@@ -192,7 +191,7 @@ var ViewAll = function (_a) {
192
191
  return (React__default.createElement("a", { onClick: handleLinkClick({ handler: onClick }), className: "arc-SiteHeaderPanel-viewAll", href: href },
193
192
  title,
194
193
  React__default.createElement("span", { className: "arc-SiteHeaderPanel-viewAllIcon" },
195
- React__default.createElement(BtIconChevronRight2Px, null))));
194
+ React__default.createElement(ThemeIcon, { icon: "siteHeaderViewAll" }))));
196
195
  };
197
196
  Panel.ViewAll = ViewAll;
198
197
 
@@ -226,7 +225,10 @@ var NavItem = function (_a) {
226
225
  setPanelOpen(!panelOpen);
227
226
  } },
228
227
  React__default.createElement("span", null, title),
229
- React__default.createElement("span", { className: "arc-SiteHeaderNavItem-linkIcon" }, isMinWidthArcBreakpointL ? (React__default.createElement(BtIconChevronDown2Px, null)) : (React__default.createElement(BtIconChevronRight2Px, null)))),
228
+ React__default.createElement("span", { className: "arc-SiteHeaderNavItem-linkIcon" },
229
+ React__default.createElement(ThemeIcon, { icon: isMinWidthArcBreakpointL
230
+ ? "siteHeaderNavItemExpand"
231
+ : "siteHeaderNavItemExpandAlt" }))),
230
232
  React__default.createElement(Panel, { navItemRef: navItem, open: panelOpen, promo: promo, setOpen: setPanelOpen, viewAll: href ? (React__default.createElement(Panel.ViewAll, { href: href, onClick: onClick, title: viewAllTitle || "View all ".concat(title.toLowerCase()) })) : undefined }, children)))));
231
233
  };
232
234
 
@@ -313,7 +315,7 @@ var SubNavItem = function (_a) {
313
315
  } },
314
316
  linkTitle,
315
317
  children && (React__default.createElement("span", { className: "arc-SiteHeaderSubNavItem-linkIcon" },
316
- React__default.createElement(BtIconChevronRight2Px, null)))),
318
+ React__default.createElement(ThemeIcon, { icon: "siteHeaderSubNavOpen" })))),
317
319
  React__default.createElement(Panel, { navItemRef: navItem, open: panelOpen, setOpen: setPanelOpen, subNavItemRef: subNavItem, subNavLink: "arc-SiteHeaderSubNavItem-link", promo: promo, title: React__default.createElement("span", null,
318
320
  title,
319
321
  subTitle && (React__default.createElement(Text, { size: "xs", tone: "supporting" }, subTitle))), viewAll: href ? (React__default.createElement(Panel.ViewAll, { href: href, onClick: onClick, title: viewAllTitle || "View all ".concat(title.toLowerCase()) })) : undefined }, children)))));
@@ -424,7 +426,10 @@ var NavItemWithSubNav = function (_a) {
424
426
  setPanelOpen(!panelOpen);
425
427
  } },
426
428
  title,
427
- React__default.createElement("span", { className: "arc-SiteHeaderNavItem-linkIcon" }, isMinWidthArcBreakpointL ? (React__default.createElement(BtIconChevronDown2Px, null)) : (React__default.createElement(BtIconChevronRight2Px, null)))),
429
+ React__default.createElement("span", { className: "arc-SiteHeaderNavItem-linkIcon" },
430
+ React__default.createElement(ThemeIcon, { icon: isMinWidthArcBreakpointL
431
+ ? "siteHeaderNavItemExpand"
432
+ : "siteHeaderNavItemExpandAlt" }))),
428
433
  React__default.createElement(Panel, { navItemRef: navItem, open: panelOpen, setOpen: setPanelOpen, title: subTitle, viewAll: href ? (React__default.createElement(Panel.ViewAll, { href: href, onClick: onViewAllClick, title: viewAllTitle || "View all ".concat(title.toLowerCase()) })) : undefined, withSubNav: true },
429
434
  defaultItem
430
435
  ? React__default.cloneElement(slot1, { isDefaultItem: defaultItem })
@@ -1,12 +1,13 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
2
  import React__default, { useContext, createContext, forwardRef, createElement, useRef, useState, useEffect, useCallback } from 'react';
3
3
  import { _ as _extends } from './extends-8cc61aad.js';
4
- import { c as $c512c27ab02ef895$export$50c7b4e9d9f19c1, a as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, d as $71cd76cc60e0454e$export$6f32135080cb4c3, $ as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, b as $8927f6f2acc4f386$export$250ffa63cdc0d034, g as $e42e1063c40fb3ef$export$b9ecd428b558ff10, e as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-13d575cc.js';
5
- import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-a1d2d9b3.js';
6
- import { $ as $1746a345f3d73bb7$export$f680877a34711e37 } from './index-efd9ef1c.js';
7
- import { I as Icon } from './Icon-abd0d990.js';
4
+ import { c as $c512c27ab02ef895$export$50c7b4e9d9f19c1, a as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, d as $71cd76cc60e0454e$export$6f32135080cb4c3, $ as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, b as $8927f6f2acc4f386$export$250ffa63cdc0d034, g as $e42e1063c40fb3ef$export$b9ecd428b558ff10, e as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-87a828b8.js';
5
+ import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-65264b4e.js';
6
+ import { $ as $1746a345f3d73bb7$export$f680877a34711e37 } from './index-3147c5b0.js';
7
+ import { I as Icon } from './Icon-9ecaaeab.js';
8
8
  import { C as Context } from './Surface-0ca6817d.js';
9
9
  import { c as classNames } from './index-2e73c2e9.js';
10
+ import { T as ThemeIcon } from './ThemeIcon-eab5a4d0.js';
10
11
 
11
12
  const $f631663db3294ace$var$DirectionContext = /*#__PURE__*/ createContext(undefined);
12
13
  /* -----------------------------------------------------------------------------------------------*/ function $f631663db3294ace$export$b39126d51d94e6f3(localDir) {
@@ -392,7 +393,7 @@ var Tab = function (_a) {
392
393
  React__default.createElement(Icon, { icon: icon }))),
393
394
  iconActive && (React__default.createElement("div", { className: "arc-Tab-triggerIcon arc-Tab-triggerIcon--active", "data-testid": "arc-Tab-TriggerIconActive" },
394
395
  React__default.createElement(Icon, { icon: iconActive }))),
395
- label));
396
+ React__default.createElement("span", { className: "arc-Tab-triggerText" }, label)));
396
397
  };
397
398
 
398
399
  var TabContent = function (_a) {
@@ -400,40 +401,6 @@ var TabContent = function (_a) {
400
401
  return (React__default.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, { className: "arc-Tab-content", value: value }, children));
401
402
  };
402
403
 
403
- const BtIconArrowRightFill = (props) =>
404
- /*#__PURE__*/ React__default.createElement(
405
- "svg",
406
- Object.assign(
407
- {
408
- xmlns: "http://www.w3.org/2000/svg",
409
- viewBox: "0 0 32 32",
410
- },
411
- props,
412
- ),
413
- /*#__PURE__*/ React__default.createElement("defs", null),
414
- /*#__PURE__*/ React__default.createElement("path", {
415
- d: "M2,16A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm16.85352-4.35352L23.207,16l-4.35351,4.35352a.5.5,0,0,1-.707-.707L21.293,16.5H9.5a.5.5,0,0,1,0-1H21.293l-3.14649-3.14648a.5.5,0,0,1,.707-.707Z",
416
- fill: "currentColor",
417
- }),
418
- );
419
-
420
- const BtIconArrowLeftFill = (props) =>
421
- /*#__PURE__*/ React__default.createElement(
422
- "svg",
423
- Object.assign(
424
- {
425
- xmlns: "http://www.w3.org/2000/svg",
426
- viewBox: "0 0 32 32",
427
- },
428
- props,
429
- ),
430
- /*#__PURE__*/ React__default.createElement("defs", null),
431
- /*#__PURE__*/ React__default.createElement("path", {
432
- d: "M30,16A14,14,0,1,0,16,30,14,14,0,0,0,30,16ZM13.14648,20.35352,8.793,16l4.35351-4.35352a.5.5,0,0,1,.707.707L10.707,15.5H22.5a.5.5,0,0,1,0,1H10.707l3.14649,3.14648a.5.5,0,0,1-.707.707Z",
433
- fill: "currentColor",
434
- }),
435
- );
436
-
437
404
  var TabsList = function (_a) {
438
405
  var children = _a.children, type = _a.type, isJustified = _a.isJustified, ariaLabel = _a.ariaLabel, props = __rest(_a, ["children", "type", "isJustified", "ariaLabel"]);
439
406
  var surface = useContext(Context).surface;
@@ -477,11 +444,11 @@ var TabsList = function (_a) {
477
444
  leftOverflow && (React__default.createElement("button", { className: classNames("arc-Tabs-overflowIcon arc-Tabs-overflowIcon--left", {
478
445
  "arc-Tabs-overflowIcon--onDarkSurface": surface === "dark"
479
446
  }), onClick: function () { return scrollTabs(-300); }, "aria-label": "Scroll Tabs Left", "data-testid": "arc-Tabs-overflowIconLeft" },
480
- React__default.createElement(Icon, { icon: BtIconArrowLeftFill, size: 40, color: "brand" }))),
447
+ React__default.createElement(ThemeIcon, { icon: "tabsPrevious", size: 40, color: "brand" }))),
481
448
  rightOverflow && (React__default.createElement("button", { className: classNames("arc-Tabs-overflowIcon", {
482
449
  "arc-Tabs-overflowIcon--onDarkSurface": surface === "dark"
483
450
  }), onClick: function () { return scrollTabs(300); }, "aria-label": "Scroll Tabs Right", "data-testid": "arc-Tabs-overflowIconRight" },
484
- React__default.createElement(Icon, { icon: BtIconArrowRightFill, size: 40, color: "brand" })))));
451
+ React__default.createElement(ThemeIcon, { icon: "tabsNext", size: 40, color: "brand" })))));
485
452
  };
486
453
 
487
454
  var Tabs = function (_a) {
@@ -1,7 +1,7 @@
1
1
  import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
2
  import { c as classNames } from './index-2e73c2e9.js';
3
3
  import React__default, { forwardRef, useContext, useState } from 'react';
4
- import { u as useAriaDescribedby, F as FormControl } from './FormControl-351e5f1b.js';
4
+ import { u as useAriaDescribedby, F as FormControl } from './FormControl-433228f5.js';
5
5
  import { C as Context } from './Surface-0ca6817d.js';
6
6
  import { V as VisuallyHidden } from './VisuallyHidden-b9eebf71.js';
7
7
 
@@ -0,0 +1,21 @@
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
2
+ import { c as classNames } from './index-2e73c2e9.js';
3
+ import React__default, { useContext } from 'react';
4
+ import { s as suffixModifier } from './suffix-modifier-3d548e45.js';
5
+ import { C as Context } from './Surface-0ca6817d.js';
6
+
7
+ var ThemeIcon = function (_a) {
8
+ var _b;
9
+ var size = _a.size, icon = _a.icon, _c = _a.color, color = _c === void 0 ? "auto" : _c, props = __rest(_a, ["size", "icon", "color"]);
10
+ var surface = useContext(Context).surface;
11
+ return (React__default.createElement("span", __assign({ style: {
12
+ height: size,
13
+ width: size
14
+ }, className: classNames("arc-ThemeIcon", "arc-ThemeIcon--".concat(icon), (_b = {
15
+ "arc-ThemeIcon--onDarkSurface": surface === "dark"
16
+ },
17
+ _b[suffixModifier("arc-ThemeIcon--color", color)] = color !== "auto",
18
+ _b)) }, filterDataAttrs(props))));
19
+ };
20
+
21
+ export { ThemeIcon as T };
@@ -2,14 +2,11 @@ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-
2
2
  import React__default, { forwardRef, createElement, useState, useRef, useCallback, useEffect, useMemo, Fragment } from 'react';
3
3
  import { _ as _extends } from './extends-8cc61aad.js';
4
4
  import { createPortal } from 'react-dom';
5
- import { b as $8927f6f2acc4f386$export$250ffa63cdc0d034, c as $c512c27ab02ef895$export$50c7b4e9d9f19c1, a as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, $ as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, g as $e42e1063c40fb3ef$export$b9ecd428b558ff10, h as $9f79659886946c16$export$e5c5a5f917a5871c, d as $71cd76cc60e0454e$export$6f32135080cb4c3, e as $921a889cee6df7e8$export$99c2b779aa4e8b8b, i as $8927f6f2acc4f386$export$6d1a0317bde7de7f } from './index-13d575cc.js';
6
- import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-a1d2d9b3.js';
7
- import { b as $5cb92bef7577960e$export$aecb2ddcb55c95be, c as $5cb92bef7577960e$export$be92b6f5f03c0fe9, $ as $f1701beae083dbae$export$602eac185826482c } from './index-3797d77e.js';
5
+ import { b as $8927f6f2acc4f386$export$250ffa63cdc0d034, c as $c512c27ab02ef895$export$50c7b4e9d9f19c1, a as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, $ as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, g as $e42e1063c40fb3ef$export$b9ecd428b558ff10, h as $9f79659886946c16$export$e5c5a5f917a5871c, d as $71cd76cc60e0454e$export$6f32135080cb4c3, e as $921a889cee6df7e8$export$99c2b779aa4e8b8b, i as $8927f6f2acc4f386$export$6d1a0317bde7de7f } from './index-87a828b8.js';
6
+ import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-65264b4e.js';
7
+ import { b as $5cb92bef7577960e$export$aecb2ddcb55c95be, c as $5cb92bef7577960e$export$be92b6f5f03c0fe9, $ as $f1701beae083dbae$export$602eac185826482c } from './index-4f8d3888.js';
8
8
  import { c as classNames } from './index-2e73c2e9.js';
9
- import { B as BtIconCrossAlt2Px } from './BtIconCrossAlt2Px.esm-7165ab1a.js';
10
- import { B as BtIconNotification, a as BtIconAlertTriangle, b as BtIconTick } from './BtIconTick.esm-e265098f.js';
11
- import { B as BtIconAlert } from './BtIconAlert.esm-a4608d47.js';
12
- import { I as Icon } from './Icon-abd0d990.js';
9
+ import { T as ThemeIcon } from './ThemeIcon-eab5a4d0.js';
13
10
 
14
11
  const $ea1ef594cf570d83$export$439d29a4e110a164 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
15
12
  return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({}, props, {
@@ -691,10 +688,10 @@ const $054eb8030ebde76e$export$f39c2d165cd861fe = $054eb8030ebde76e$export$811e7
691
688
  var ToastNotification = function (_a) {
692
689
  var link = _a.link, title = _a.title, isOpen = _a.isOpen, onOpenChange = _a.onOpenChange, _b = _a.isStatusIconVisible, isStatusIconVisible = _b === void 0 ? true : _b, _c = _a.isCloseButtonVisible, isCloseButtonVisible = _c === void 0 ? true : _c, _d = _a.status, status = _d === void 0 ? "general" : _d, props = __rest(_a, ["link", "title", "isOpen", "onOpenChange", "isStatusIconVisible", "isCloseButtonVisible", "status"]);
693
690
  var statusIcons = {
694
- general: BtIconNotification,
695
- error: BtIconAlertTriangle,
696
- warning: BtIconAlert,
697
- success: BtIconTick
691
+ general: "toastGeneral",
692
+ error: "toastError",
693
+ warning: "toastWarning",
694
+ success: "toastSuccess"
698
695
  };
699
696
  var handleLinkClick = function (handler) { return function (event) {
700
697
  event.preventDefault();
@@ -703,13 +700,13 @@ var ToastNotification = function (_a) {
703
700
  return (React__default.createElement($054eb8030ebde76e$export$be92b6f5f03c0fe9, __assign({ className: "arc-Toast-root", open: isOpen, onOpenChange: onOpenChange }, filterDataAttrs(props)),
704
701
  React__default.createElement("div", { "data-testid": "toast-notification-wrapper", className: classNames("arc-Toast", "arc-Toast-status--".concat(status)) },
705
702
  isStatusIconVisible && (React__default.createElement("div", { "data-testid": "status-icon", className: "arc-Toast-icon" },
706
- React__default.createElement(Icon, { size: 24, icon: statusIcons[status] }))),
703
+ React__default.createElement(ThemeIcon, { size: 24, icon: statusIcons[status] }))),
707
704
  React__default.createElement($054eb8030ebde76e$export$f99233281efd08a0, { className: "arc-Toast-title" },
708
705
  React__default.createElement("span", null, title)),
709
706
  link && (React__default.createElement($054eb8030ebde76e$export$e19cd5f9376f8cee, { className: "arc-Toast-action", asChild: true, altText: link.text },
710
707
  React__default.createElement("a", __assign({ className: "arc-Toast-link", href: link.href, "aria-label": link.ariaLabel }, (link.onClick && { onClick: handleLinkClick(link.onClick) })), link.text))),
711
708
  isCloseButtonVisible && !link && (React__default.createElement($054eb8030ebde76e$export$f39c2d165cd861fe, { className: "arc-Toast-dismiss", "aria-label": "Close" },
712
- React__default.createElement(Icon, { icon: BtIconCrossAlt2Px, size: 24 }))))));
709
+ React__default.createElement(ThemeIcon, { icon: "toastDismiss", size: 24 }))))));
713
710
  };
714
711
 
715
712
  /** Use `Toast` to display temporary messages at the bottom of the viewport. */
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { h as $9f79659886946c16$export$e5c5a5f917a5871c } from './index-13d575cc.js';
2
+ import { h as $9f79659886946c16$export$e5c5a5f917a5871c } from './index-87a828b8.js';
3
3
 
4
4
  const $1746a345f3d73bb7$var$useReactId = React['useId'.toString()] || (()=>undefined
5
5
  );