@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,17 +3,19 @@
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
7
  var index$1 = require('../_shared/cjs/index-45bfb67b.js');
8
8
  var React = require('react');
9
9
  var BrandLogo = require('../_shared/cjs/BrandLogo-3c6102ef.js');
10
- var Button = require('../_shared/cjs/Button-1743b3ec.js');
11
- var useMediaQuery = require('../_shared/cjs/use-media-query-75d1bbae.js');
10
+ var Button = require('../_shared/cjs/Button-b3a69953.js');
12
11
  var Surface = require('../_shared/cjs/Surface-d6b8010e.js');
12
+ var BtIconChevronDown2Px = require('../_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js');
13
13
  var handleLinkClick = require('../_shared/cjs/handle-link-click-17a44cf4.js');
14
+ var BtIconChevronRight2Px = require('../_shared/cjs/BtIconChevronRight2Px-a8e40136.js');
14
15
  var suffixModifier = require('../_shared/cjs/suffix-modifier-edf7851e.js');
15
16
  var Text = require('../_shared/cjs/Text-1d3844be.js');
16
- require('../_shared/cjs/Icon-bb5a5fd1.js');
17
+ require('../_shared/cjs/BtIconChevronRightMid-5a38d855.js');
18
+ require('../_shared/cjs/Icon-719d13d4.js');
17
19
 
18
20
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
19
21
 
@@ -26,13 +28,16 @@ var Item = function (_a) {
26
28
  _b["arc-SiteHeaderItem"] = true,
27
29
  _b["arc-SiteHeaderItem--emphasised"] = isEmphasised,
28
30
  _b)) }, index.filterDataAttrs(props)),
29
- React__default["default"].createElement("a", { onClick: handleLinkClick.handleLinkClick({ handler: onClick }), className: "arc-SiteHeaderItem-link", href: href }, children)));
31
+ React__default["default"].createElement("a", { onClick: handleLinkClick.handleLinkClick({ handler: onClick }), className: "arc-SiteHeaderItem-link", href: href },
32
+ isEmphasised && (React__default["default"].createElement("span", { className: "arc-SiteHeaderItem-linkIcon" },
33
+ React__default["default"].createElement(BtIconChevronRight2Px.BtIconChevronRight2Px_2, null))),
34
+ children)));
30
35
  };
31
36
 
32
37
  var ItemGroup = function (_a) {
33
38
  var children = _a.children, href = _a.href, title = _a.title, onClick = _a.onClick, viewAllTitle = _a.viewAllTitle, props = index.__rest(_a, ["children", "href", "title", "onClick", "viewAllTitle"]);
34
39
  var _b = React.useState(false), hasClientSideJavaScript = _b[0], setHasClientSideJavaScript = _b[1];
35
- var isMinWidthArcBreakpointL = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcBreakpointL, "px)"));
40
+ var isMinWidthArcBreakpointL = index_es.useMediaQuery("(min-width: ".concat(index_es.ArcBreakpointL, "px)"));
36
41
  React.useEffect(function () {
37
42
  React__default["default"].Children.map(children, function (item) {
38
43
  if (item && item.type !== Item && item.type !== React.Fragment) {
@@ -52,7 +57,10 @@ var ItemGroup = function (_a) {
52
57
  React__default["default"].createElement(ElementType, index.__assign({ className: "arc-SiteHeaderItemGroup-details", open: Boolean(title && isMinWidthArcBreakpointL) }, index.filterDataAttrs(props)),
53
58
  title ? (React__default["default"].createElement("summary", { className: "arc-SiteHeaderItemGroup-summary", tabIndex: isMinWidthArcBreakpointL ? -1 : 0 }, href ? (React__default["default"].createElement("a", { onClick: handleLinkClick.handleLinkClick({
54
59
  handler: onClick
55
- }), className: "arc-SiteHeaderItemGroup-title", href: href, tabIndex: !hasClientSideJavaScript || isMinWidthArcBreakpointL ? 0 : -1 }, title)) : (React__default["default"].createElement("div", { className: "arc-SiteHeaderItemGroup-title" }, title)))) : null,
60
+ }), className: "arc-SiteHeaderItemGroup-title", href: href, tabIndex: !hasClientSideJavaScript || isMinWidthArcBreakpointL ? 0 : -1 },
61
+ title,
62
+ React__default["default"].createElement("span", { className: "arc-SiteHeaderItemGroup-titleIcon" },
63
+ React__default["default"].createElement(BtIconChevronDown2Px.BtIconChevronDown2Px_2, null)))) : (React__default["default"].createElement("div", { className: "arc-SiteHeaderItemGroup-title" }, title)))) : null,
56
64
  React__default["default"].createElement("ul", { className: "arc-SiteHeaderItemGroup-items" },
57
65
  children,
58
66
  href && title ? (React__default["default"].createElement("li", { className: "arc-SiteHeaderItem arc-SiteHeaderItem--viewAll" },
@@ -109,6 +117,8 @@ var BackButton = function (_a) {
109
117
  return (React__default["default"].createElement("button", { className: "arc-SiteHeaderBackButton", onClick: function () {
110
118
  setOpen(false);
111
119
  } },
120
+ React__default["default"].createElement("span", { className: "arc-SiteHeaderBackButton-icon" },
121
+ React__default["default"].createElement(BtIconChevronRight2Px.BtIconChevronLeft2Px_2, null)),
112
122
  React__default["default"].createElement("span", { className: "arc-SiteHeaderBackButton-text" }, "Back")));
113
123
  };
114
124
 
@@ -189,7 +199,10 @@ var Panel = function (_a) {
189
199
  };
190
200
  var ViewAll = function (_a) {
191
201
  var href = _a.href, title = _a.title, onClick = _a.onClick;
192
- return (React__default["default"].createElement("a", { onClick: handleLinkClick.handleLinkClick({ handler: onClick }), className: "arc-SiteHeaderPanel-viewAll", href: href }, title));
202
+ return (React__default["default"].createElement("a", { onClick: handleLinkClick.handleLinkClick({ handler: onClick }), className: "arc-SiteHeaderPanel-viewAll", href: href },
203
+ title,
204
+ React__default["default"].createElement("span", { className: "arc-SiteHeaderPanel-viewAllIcon" },
205
+ React__default["default"].createElement(BtIconChevronRight2Px.BtIconChevronRight2Px_2, null))));
193
206
  };
194
207
  ViewAll.displayName = "Panel.ViewAll";
195
208
  Panel.ViewAll = ViewAll;
@@ -199,6 +212,7 @@ var NavItem = function (_a) {
199
212
  var children = _a.children, href = _a.href, isCurrent = _a.isCurrent, onClick = _a.onClick, promo = _a.promo, title = _a.title, viewAllTitle = _a.viewAllTitle, props = index.__rest(_a, ["children", "href", "isCurrent", "onClick", "promo", "title", "viewAllTitle"]);
200
213
  var navItem = React.useRef();
201
214
  var _d = React.useState(false), panelOpen = _d[0], setPanelOpen = _d[1];
215
+ var isMinWidthArcBreakpointL = index_es.useMediaQuery("(min-width: ".concat(index_es.ArcBreakpointL, "px)"));
202
216
  React.useEffect(function () {
203
217
  React__default["default"].Children.map(children, function (item) {
204
218
  if (item &&
@@ -221,7 +235,9 @@ var NavItem = function (_a) {
221
235
  _c)), onClick: function (e) {
222
236
  e.preventDefault();
223
237
  setPanelOpen(!panelOpen);
224
- } }, title),
238
+ } },
239
+ React__default["default"].createElement("span", null, title),
240
+ React__default["default"].createElement("span", { className: "arc-SiteHeaderNavItem-linkIcon" }, isMinWidthArcBreakpointL ? (React__default["default"].createElement(BtIconChevronDown2Px.BtIconChevronDown2Px_2, null)) : (React__default["default"].createElement(BtIconChevronRight2Px.BtIconChevronRight2Px_2, null)))),
225
241
  React__default["default"].createElement(Panel, { navItemRef: navItem, open: panelOpen, promo: promo, setOpen: setPanelOpen, viewAll: href ? (React__default["default"].createElement(Panel.ViewAll, { href: href, onClick: onClick, title: viewAllTitle || "View all ".concat(title.toLowerCase()) })) : (undefined) }, children)))));
226
242
  };
227
243
 
@@ -273,7 +289,7 @@ var SubNavItem = function (_a) {
273
289
  var navItem = React.useContext(Context$1).navItem;
274
290
  var subNavItem = React.useRef();
275
291
  var _e = React.useState(false), panelOpen = _e[0], setPanelOpen = _e[1];
276
- var isMinWidthArcBreakpointL = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcBreakpointL, "px)"));
292
+ var isMinWidthArcBreakpointL = index_es.useMediaQuery("(min-width: ".concat(index_es.ArcBreakpointL, "px)"));
277
293
  React.useEffect(function () {
278
294
  React__default["default"].Children.map(children, function (item) {
279
295
  if (item &&
@@ -305,7 +321,10 @@ var SubNavItem = function (_a) {
305
321
  _c["arc-SiteHeaderSubNavItem-link--itemHasChildren"] = children,
306
322
  _c)), onClick: function () {
307
323
  setPanelOpen(true);
308
- } }, linkTitle),
324
+ } },
325
+ linkTitle,
326
+ children && (React__default["default"].createElement("span", { className: "arc-SiteHeaderSubNavItem-linkIcon" },
327
+ React__default["default"].createElement(BtIconChevronRight2Px.BtIconChevronRight2Px_2, null)))),
309
328
  React__default["default"].createElement(Panel, { navItemRef: navItem, open: panelOpen, setOpen: setPanelOpen, subNavItemRef: subNavItem, subNavLink: "arc-SiteHeaderSubNavItem-link", promo: promo, title: React__default["default"].createElement("span", null,
310
329
  title,
311
330
  subTitle && (React__default["default"].createElement(Text.Text, { size: "xs", tone: "supporting" }, subTitle))), viewAll: href ? (React__default["default"].createElement(Panel.ViewAll, { href: href, onClick: onClick, title: viewAllTitle || "View all ".concat(title.toLowerCase()) })) : (undefined) }, children)))));
@@ -376,6 +395,7 @@ var NavItemWithSubNav = function (_a) {
376
395
  var navItem = React.useRef();
377
396
  var _e = React.useState(true), defaultItem = _e[0], setDefaultItem = _e[1];
378
397
  var _f = React.useState(false), panelOpen = _f[0], setPanelOpen = _f[1];
398
+ var isMinWidthArcBreakpointL = index_es.useMediaQuery("(min-width: ".concat(index_es.ArcBreakpointL, "px)"));
379
399
  React.useEffect(function () {
380
400
  React__default["default"].Children.map(slot1, function (item) {
381
401
  if (item && item.type !== SubNavItem && item.type !== React.Fragment) {
@@ -413,7 +433,9 @@ var NavItemWithSubNav = function (_a) {
413
433
  _c)), onClick: function (e) {
414
434
  e.preventDefault();
415
435
  setPanelOpen(!panelOpen);
416
- } }, title),
436
+ } },
437
+ title,
438
+ React__default["default"].createElement("span", { className: "arc-SiteHeaderNavItem-linkIcon" }, isMinWidthArcBreakpointL ? (React__default["default"].createElement(BtIconChevronDown2Px.BtIconChevronDown2Px_2, null)) : (React__default["default"].createElement(BtIconChevronRight2Px.BtIconChevronRight2Px_2, null)))),
417
439
  React__default["default"].createElement(Panel, { navItemRef: navItem, open: panelOpen, setOpen: setPanelOpen, title: subTitle, viewAll: href ? (React__default["default"].createElement(Panel.ViewAll, { href: href, onClick: onViewAllClick, title: viewAllTitle || "View all ".concat(title.toLowerCase()) })) : (undefined), withSubNav: true },
418
440
  defaultItem
419
441
  ? React__default["default"].cloneElement(slot1, { isDefaultItem: defaultItem })
@@ -502,7 +524,7 @@ var SiteHeader = function (_a) {
502
524
  var children = _a.children, basket = _a.basket, _c = _a.hasLogin, hasLogin = _c === void 0 ? true : _c, _d = _a.isTransparent, isTransparent = _d === void 0 ? false : _d, _e = _a.loginHref, loginHref = _e === void 0 ? "/login" : _e, logoOnClick = _a.logoOnClick, loginOnClick = _a.loginOnClick, _f = _a.loginTitle, loginTitle = _f === void 0 ? "Log in / Register" : _f, _g = _a.logoHref, logoHref = _g === void 0 ? "/" : _g, _h = _a.logoLabel, logoLabel = _h === void 0 ? "Home" : _h, search = _a.search, subBrand = _a.subBrand, props = index.__rest(_a, ["children", "basket", "hasLogin", "isTransparent", "loginHref", "logoOnClick", "loginOnClick", "loginTitle", "logoHref", "logoLabel", "search", "subBrand"]);
503
525
  var _j = React.useState(false), hasClientSideJavaScript = _j[0], setHasClientSideJavaScript = _j[1];
504
526
  var _k = React.useState(false), menuOpen = _k[0], setMenuOpen = _k[1];
505
- var isMinWidthArcBreakpointL = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcBreakpointL, "px)"));
527
+ var isMinWidthArcBreakpointL = index_es.useMediaQuery("(min-width: ".concat(index_es.ArcBreakpointL, "px)"));
506
528
  React.useEffect(function () {
507
529
  React__default["default"].Children.map(children, function (item) {
508
530
  if (item &&
@@ -1,15 +1,17 @@
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 ArcBreakpointL } from '../_shared/esm/index.es-42f84e2d.js';
2
+ import { u as useMediaQuery, a as ArcBreakpointL } from '../_shared/esm/index.es-00cb3bcb.js';
3
3
  import { c as classNames } from '../_shared/esm/index-2ae58626.js';
4
4
  import React, { useState, useEffect, Fragment, useContext, useRef, createContext } from 'react';
5
5
  import { B as BrandLogo } from '../_shared/esm/BrandLogo-ea3dd0e6.js';
6
- import { B as Button } from '../_shared/esm/Button-d59c31a2.js';
7
- import { u as useMediaQuery } from '../_shared/esm/use-media-query-38faed7f.js';
6
+ import { B as Button } from '../_shared/esm/Button-5ff56a7b.js';
8
7
  import { S as Surface } from '../_shared/esm/Surface-d515d212.js';
8
+ import { B as BtIconChevronDown2Px_2 } from '../_shared/esm/BtIconChevronDown2Px-4abd079b.js';
9
9
  import { h as handleLinkClick } from '../_shared/esm/handle-link-click-f64f55a2.js';
10
+ import { a as BtIconChevronRight2Px_2, B as BtIconChevronLeft2Px_2 } from '../_shared/esm/BtIconChevronRight2Px-a5cc1d05.js';
10
11
  import { s as suffixModifier } from '../_shared/esm/suffix-modifier-f5e28822.js';
11
12
  import { T as Text } from '../_shared/esm/Text-d8988620.js';
12
- import '../_shared/esm/Icon-2fd92daa.js';
13
+ import '../_shared/esm/BtIconChevronRightMid-386cf272.js';
14
+ import '../_shared/esm/Icon-76d0d8c0.js';
13
15
 
14
16
  var Item = function (_a) {
15
17
  var _b;
@@ -18,7 +20,10 @@ var Item = function (_a) {
18
20
  _b["arc-SiteHeaderItem"] = true,
19
21
  _b["arc-SiteHeaderItem--emphasised"] = isEmphasised,
20
22
  _b)) }, filterDataAttrs(props)),
21
- React.createElement("a", { onClick: handleLinkClick({ handler: onClick }), className: "arc-SiteHeaderItem-link", href: href }, children)));
23
+ React.createElement("a", { onClick: handleLinkClick({ handler: onClick }), className: "arc-SiteHeaderItem-link", href: href },
24
+ isEmphasised && (React.createElement("span", { className: "arc-SiteHeaderItem-linkIcon" },
25
+ React.createElement(BtIconChevronRight2Px_2, null))),
26
+ children)));
22
27
  };
23
28
 
24
29
  var ItemGroup = function (_a) {
@@ -44,7 +49,10 @@ var ItemGroup = function (_a) {
44
49
  React.createElement(ElementType, __assign({ className: "arc-SiteHeaderItemGroup-details", open: Boolean(title && isMinWidthArcBreakpointL) }, filterDataAttrs(props)),
45
50
  title ? (React.createElement("summary", { className: "arc-SiteHeaderItemGroup-summary", tabIndex: isMinWidthArcBreakpointL ? -1 : 0 }, href ? (React.createElement("a", { onClick: handleLinkClick({
46
51
  handler: onClick
47
- }), className: "arc-SiteHeaderItemGroup-title", href: href, tabIndex: !hasClientSideJavaScript || isMinWidthArcBreakpointL ? 0 : -1 }, title)) : (React.createElement("div", { className: "arc-SiteHeaderItemGroup-title" }, title)))) : null,
52
+ }), className: "arc-SiteHeaderItemGroup-title", href: href, tabIndex: !hasClientSideJavaScript || isMinWidthArcBreakpointL ? 0 : -1 },
53
+ title,
54
+ React.createElement("span", { className: "arc-SiteHeaderItemGroup-titleIcon" },
55
+ React.createElement(BtIconChevronDown2Px_2, null)))) : (React.createElement("div", { className: "arc-SiteHeaderItemGroup-title" }, title)))) : null,
48
56
  React.createElement("ul", { className: "arc-SiteHeaderItemGroup-items" },
49
57
  children,
50
58
  href && title ? (React.createElement("li", { className: "arc-SiteHeaderItem arc-SiteHeaderItem--viewAll" },
@@ -101,6 +109,8 @@ var BackButton = function (_a) {
101
109
  return (React.createElement("button", { className: "arc-SiteHeaderBackButton", onClick: function () {
102
110
  setOpen(false);
103
111
  } },
112
+ React.createElement("span", { className: "arc-SiteHeaderBackButton-icon" },
113
+ React.createElement(BtIconChevronLeft2Px_2, null)),
104
114
  React.createElement("span", { className: "arc-SiteHeaderBackButton-text" }, "Back")));
105
115
  };
106
116
 
@@ -181,7 +191,10 @@ var Panel = function (_a) {
181
191
  };
182
192
  var ViewAll = function (_a) {
183
193
  var href = _a.href, title = _a.title, onClick = _a.onClick;
184
- return (React.createElement("a", { onClick: handleLinkClick({ handler: onClick }), className: "arc-SiteHeaderPanel-viewAll", href: href }, title));
194
+ return (React.createElement("a", { onClick: handleLinkClick({ handler: onClick }), className: "arc-SiteHeaderPanel-viewAll", href: href },
195
+ title,
196
+ React.createElement("span", { className: "arc-SiteHeaderPanel-viewAllIcon" },
197
+ React.createElement(BtIconChevronRight2Px_2, null))));
185
198
  };
186
199
  ViewAll.displayName = "Panel.ViewAll";
187
200
  Panel.ViewAll = ViewAll;
@@ -191,6 +204,7 @@ var NavItem = function (_a) {
191
204
  var children = _a.children, href = _a.href, isCurrent = _a.isCurrent, onClick = _a.onClick, promo = _a.promo, title = _a.title, viewAllTitle = _a.viewAllTitle, props = __rest(_a, ["children", "href", "isCurrent", "onClick", "promo", "title", "viewAllTitle"]);
192
205
  var navItem = useRef();
193
206
  var _d = useState(false), panelOpen = _d[0], setPanelOpen = _d[1];
207
+ var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
194
208
  useEffect(function () {
195
209
  React.Children.map(children, function (item) {
196
210
  if (item &&
@@ -213,7 +227,9 @@ var NavItem = function (_a) {
213
227
  _c)), onClick: function (e) {
214
228
  e.preventDefault();
215
229
  setPanelOpen(!panelOpen);
216
- } }, title),
230
+ } },
231
+ React.createElement("span", null, title),
232
+ React.createElement("span", { className: "arc-SiteHeaderNavItem-linkIcon" }, isMinWidthArcBreakpointL ? (React.createElement(BtIconChevronDown2Px_2, null)) : (React.createElement(BtIconChevronRight2Px_2, null)))),
217
233
  React.createElement(Panel, { navItemRef: navItem, open: panelOpen, promo: promo, setOpen: setPanelOpen, viewAll: href ? (React.createElement(Panel.ViewAll, { href: href, onClick: onClick, title: viewAllTitle || "View all ".concat(title.toLowerCase()) })) : (undefined) }, children)))));
218
234
  };
219
235
 
@@ -297,7 +313,10 @@ var SubNavItem = function (_a) {
297
313
  _c["arc-SiteHeaderSubNavItem-link--itemHasChildren"] = children,
298
314
  _c)), onClick: function () {
299
315
  setPanelOpen(true);
300
- } }, linkTitle),
316
+ } },
317
+ linkTitle,
318
+ children && (React.createElement("span", { className: "arc-SiteHeaderSubNavItem-linkIcon" },
319
+ React.createElement(BtIconChevronRight2Px_2, null)))),
301
320
  React.createElement(Panel, { navItemRef: navItem, open: panelOpen, setOpen: setPanelOpen, subNavItemRef: subNavItem, subNavLink: "arc-SiteHeaderSubNavItem-link", promo: promo, title: React.createElement("span", null,
302
321
  title,
303
322
  subTitle && (React.createElement(Text, { size: "xs", tone: "supporting" }, subTitle))), viewAll: href ? (React.createElement(Panel.ViewAll, { href: href, onClick: onClick, title: viewAllTitle || "View all ".concat(title.toLowerCase()) })) : (undefined) }, children)))));
@@ -368,6 +387,7 @@ var NavItemWithSubNav = function (_a) {
368
387
  var navItem = useRef();
369
388
  var _e = useState(true), defaultItem = _e[0], setDefaultItem = _e[1];
370
389
  var _f = useState(false), panelOpen = _f[0], setPanelOpen = _f[1];
390
+ var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
371
391
  useEffect(function () {
372
392
  React.Children.map(slot1, function (item) {
373
393
  if (item && item.type !== SubNavItem && item.type !== Fragment) {
@@ -405,7 +425,9 @@ var NavItemWithSubNav = function (_a) {
405
425
  _c)), onClick: function (e) {
406
426
  e.preventDefault();
407
427
  setPanelOpen(!panelOpen);
408
- } }, title),
428
+ } },
429
+ title,
430
+ React.createElement("span", { className: "arc-SiteHeaderNavItem-linkIcon" }, isMinWidthArcBreakpointL ? (React.createElement(BtIconChevronDown2Px_2, null)) : (React.createElement(BtIconChevronRight2Px_2, null)))),
409
431
  React.createElement(Panel, { navItemRef: navItem, open: panelOpen, setOpen: setPanelOpen, title: subTitle, viewAll: href ? (React.createElement(Panel.ViewAll, { href: href, onClick: onViewAllClick, title: viewAllTitle || "View all ".concat(title.toLowerCase()) })) : (undefined), withSubNav: true },
410
432
  defaultItem
411
433
  ? React.cloneElement(slot1, { isDefaultItem: defaultItem })
@@ -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
  type EventType = React.ChangeEvent<HTMLInputElement>;
6
6
  /**
7
7
  * Use `TextInput` to allow custom user text entry with a keyboard.
@@ -5,7 +5,7 @@ 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 FormControl = require('../_shared/cjs/FormControl-7d8e10fa.js');
8
+ var FormControl = require('../_shared/cjs/FormControl-a1b7421b.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 }; }
@@ -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
  type EventType = React.ChangeEvent<HTMLInputElement>;
6
6
  /**
7
7
  * Use `TextInput` to allow custom user text entry with a keyboard.
@@ -1,7 +1,7 @@
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, { forwardRef, useContext } from 'react';
4
- import { u as useAriaDescribedby, F as FormControl } from '../_shared/esm/FormControl-33194106.js';
4
+ import { u as useAriaDescribedby, F as FormControl } from '../_shared/esm/FormControl-feedc495.js';
5
5
  import { C as Context } from '../_shared/esm/Surface-d515d212.js';
6
6
 
7
7
  /**
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var React$1 = require('react');
4
+
5
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React$1);
8
+
9
+ const React = React__default["default"];
10
+ const BtIconChevronDown2Px = props =>
11
+ /*#__PURE__*/ React.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.createElement("defs", null),
21
+ /*#__PURE__*/ React.createElement("path", {
22
+ d:
23
+ "M15.99316,23.91406,2.294,10.207A.99989.99989,0,1,1,3.708,8.793l12.28515,12.293L28.292,8.793A.99989.99989,0,1,1,29.70605,10.207Z",
24
+ fill: "currentColor"
25
+ })
26
+ );
27
+ var BtIconChevronDown2Px_2 = BtIconChevronDown2Px;
28
+
29
+ exports.BtIconChevronDown2Px_2 = BtIconChevronDown2Px_2;
@@ -0,0 +1,50 @@
1
+ 'use strict';
2
+
3
+ var React$2 = require('react');
4
+
5
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React$2);
8
+
9
+ const React$1 = React__default["default"];
10
+ const BtIconChevronLeft2Px = props =>
11
+ /*#__PURE__*/ React$1.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$1.createElement("defs", null),
21
+ /*#__PURE__*/ React$1.createElement("path", {
22
+ d:
23
+ "M22.5,29.99854a.99676.99676,0,0,1-.707-.293L8.08594,15.99268,21.793,2.294A1.00023,1.00023,0,0,1,23.207,3.709l-12.293,12.28467L23.207,28.2915a1,1,0,0,1-.707,1.707Z",
24
+ fill: "currentColor"
25
+ })
26
+ );
27
+ var BtIconChevronLeft2Px_2 = BtIconChevronLeft2Px;
28
+
29
+ const React = React__default["default"];
30
+ const BtIconChevronRight2Px = props =>
31
+ /*#__PURE__*/ React.createElement(
32
+ "svg",
33
+ Object.assign(
34
+ {
35
+ xmlns: "http://www.w3.org/2000/svg",
36
+ viewBox: "0 0 32 32"
37
+ },
38
+ props
39
+ ),
40
+ /*#__PURE__*/ React.createElement("defs", null),
41
+ /*#__PURE__*/ React.createElement("path", {
42
+ d:
43
+ "M9.5,29.99854A1.00025,1.00025,0,0,1,8.793,28.291l12.293-12.28467L8.793,3.7085A.99989.99989,0,0,1,10.207,2.29443l13.707,13.71289L10.207,29.70605A.99827.99827,0,0,1,9.5,29.99854Z",
44
+ fill: "currentColor"
45
+ })
46
+ );
47
+ var BtIconChevronRight2Px_2 = BtIconChevronRight2Px;
48
+
49
+ exports.BtIconChevronLeft2Px_2 = BtIconChevronLeft2Px_2;
50
+ exports.BtIconChevronRight2Px_2 = BtIconChevronRight2Px_2;
@@ -0,0 +1,31 @@
1
+ 'use strict';
2
+
3
+ var React$1 = require('react');
4
+
5
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React$1);
8
+
9
+ const React = React__default["default"];
10
+ const BtIconChevronRightMid = props =>
11
+ /*#__PURE__*/ React.createElement(
12
+ "svg",
13
+ Object.assign(
14
+ {
15
+ viewBox: "0 0 16 16",
16
+ fill: "none",
17
+ xmlns: "http://www.w3.org/2000/svg"
18
+ },
19
+ props
20
+ ),
21
+ /*#__PURE__*/ React.createElement("path", {
22
+ fillRule: "evenodd",
23
+ clipRule: "evenodd",
24
+ d:
25
+ "M9.04543 8.0002L6.19676 5.1482C6.07077 5.02196 6 4.85089 6 4.67253C6 4.49418 6.07077 4.32311 6.19676 4.19687C6.25906 4.13446 6.33304 4.08495 6.41449 4.05117C6.49594 4.01739 6.58325 4 6.67143 4C6.75961 4 6.84692 4.01739 6.92837 4.05117C7.00982 4.08495 7.0838 4.13446 7.1461 4.19687L10.4701 7.52487C10.5959 7.65108 10.6665 7.82201 10.6665 8.0002C10.6665 8.1784 10.5959 8.34932 10.4701 8.47553L7.1461 11.8035C7.0838 11.8659 7.00982 11.9155 6.92837 11.9492C6.84692 11.983 6.75961 12.0004 6.67143 12.0004C6.58325 12.0004 6.49594 11.983 6.41449 11.9492C6.33304 11.9155 6.25906 11.8659 6.19676 11.8035C6.07077 11.6773 6 11.5062 6 11.3279C6 11.1495 6.07077 10.9784 6.19676 10.8522L9.04543 8.0002Z",
26
+ fill: "currentColor"
27
+ })
28
+ );
29
+ var BtIconChevronRightMid_2 = BtIconChevronRightMid;
30
+
31
+ exports.BtIconChevronRightMid_2 = BtIconChevronRightMid_2;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { icons } from "@arc-ui/tokens";
3
2
  import React from "react";
4
3
  import { FC } from "react";
4
+ import { ArcIcon } from "./arc-icon-17594b2f";
5
5
  type ElementUnion = HTMLButtonElement | HTMLAnchorElement;
6
6
  type Ref = React.Ref<ElementUnion> | null;
7
7
  /**
@@ -12,7 +12,7 @@ interface ButtonIconProps {
12
12
  /**
13
13
  * Icon variant.
14
14
  */
15
- icon?: typeof icons[number];
15
+ icon?: ArcIcon;
16
16
  /**
17
17
  * Should the icon be a default chevron?
18
18
  */
@@ -57,7 +57,7 @@ interface ButtonProps extends ButtonElementProps, LinkElementProps {
57
57
  /**
58
58
  * Button icon variant.
59
59
  */
60
- icon?: typeof icons[number];
60
+ icon?: ArcIcon;
61
61
  /**
62
62
  * How should a Button icon be displayed?
63
63
  */
@@ -1,23 +1,46 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-78b35bc1.js');
4
+ var React$1 = require('react');
5
+ var BtIconChevronRightMid = require('./BtIconChevronRightMid-5a38d855.js');
4
6
  var index$1 = require('./index-45bfb67b.js');
5
- var React = require('react');
6
7
  var suffixModifier = require('./suffix-modifier-edf7851e.js');
7
- var Icon = require('./Icon-bb5a5fd1.js');
8
+ var Icon = require('./Icon-719d13d4.js');
8
9
  var Surface = require('./Surface-d6b8010e.js');
9
10
 
10
11
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
12
 
12
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React$1);
14
+
15
+ const React = React__default["default"];
16
+ const BtIconChevronLeftMid = props =>
17
+ /*#__PURE__*/ React.createElement(
18
+ "svg",
19
+ Object.assign(
20
+ {
21
+ viewBox: "0 0 16 16",
22
+ fill: "none",
23
+ xmlns: "http://www.w3.org/2000/svg"
24
+ },
25
+ props
26
+ ),
27
+ /*#__PURE__*/ React.createElement("path", {
28
+ fillRule: "evenodd",
29
+ clipRule: "evenodd",
30
+ d:
31
+ "M7.62107 8.00023L10.4697 10.8522C10.5957 10.9785 10.6665 11.1495 10.6665 11.3279C10.6665 11.5063 10.5957 11.6773 10.4697 11.8036C10.4074 11.866 10.3335 11.9155 10.252 11.9493C10.1706 11.983 10.0833 12.0004 9.99507 12.0004C9.9069 12.0004 9.81959 11.983 9.73814 11.9493C9.65669 11.9155 9.5827 11.866 9.52041 11.8036L6.19641 8.47556C6.07061 8.34935 5.99998 8.17842 5.99998 8.00023C5.99998 7.82203 6.07061 7.6511 6.19641 7.52489L9.52041 4.19689C9.5827 4.13449 9.65669 4.08498 9.73814 4.0512C9.81959 4.01741 9.9069 4.00003 9.99507 4.00003C10.0832 4.00003 10.1706 4.01741 10.252 4.0512C10.3335 4.08498 10.4074 4.13449 10.4697 4.19689C10.5957 4.32313 10.6665 4.4942 10.6665 4.67256C10.6665 4.85092 10.5957 5.02199 10.4697 5.14823L7.62107 8.00023Z",
32
+ fill: "currentColor"
33
+ })
34
+ );
35
+ var BtIconChevronLeftMid_2 = BtIconChevronLeftMid;
13
36
 
14
37
  /**
15
38
  * Use `Button` to allow users to take actions with clicks and taps.
16
39
  */
17
- var Button = React.forwardRef(function (_a, ref) {
40
+ var Button = React$1.forwardRef(function (_a, ref) {
18
41
  var _b;
19
42
  var ariaLabel = _a.ariaLabel, _c = _a.fill, fill = _c === void 0 ? "solid" : _c, href = _a.href, icon = _a.icon, _d = _a.iconPosition, iconPosition = _d === void 0 ? "afterText" : _d, id = _a.id, _e = _a.isDisabled, isDisabled = _e === void 0 ? false : _e, _f = _a.isDisplayBlock, isDisplayBlock = _f === void 0 ? false : _f, _g = _a.isFullWidth, isFullWidth = _g === void 0 ? false : _g, label = _a.label, onClick = _a.onClick, rel = _a.rel, supportingText = _a.supportingText, target = _a.target, type = _a.type, props = index.__rest(_a, ["ariaLabel", "fill", "href", "icon", "iconPosition", "id", "isDisabled", "isDisplayBlock", "isFullWidth", "label", "onClick", "rel", "supportingText", "target", "type"]);
20
- var surface = React.useContext(Surface.Context).surface;
43
+ var surface = React$1.useContext(Surface.Context).surface;
21
44
  var buttonClasses = index$1.classNames((_b = {
22
45
  "arc-Button": true,
23
46
  "arc-Button--displayBlock": isDisplayBlock
@@ -51,7 +74,7 @@ var ButtonIcon = function (_a) {
51
74
  return (React__default["default"].createElement("span", { className: index$1.classNames({
52
75
  "arc-Button-icon": true,
53
76
  "arc-Button-icon--chevron": isChevron
54
- }) }, isChevron ? (React__default["default"].createElement(Icon.Icon, { icon: "btChevron".concat(isBeforeText ? "Left" : "Right", "Mid") })) : (React__default["default"].createElement(Icon.Icon, { icon: icon }))));
77
+ }) }, isChevron ? (React__default["default"].createElement(Icon.Icon, { icon: isBeforeText ? BtIconChevronLeftMid_2 : BtIconChevronRightMid.BtIconChevronRightMid_2 })) : (React__default["default"].createElement(Icon.Icon, { icon: icon }))));
55
78
  };
56
79
 
57
80
  exports.Button = Button;
@@ -2,12 +2,12 @@
2
2
 
3
3
  var index = require('./index-78b35bc1.js');
4
4
  var index$1 = require('./index-45bfb67b.js');
5
- var React = require('react');
5
+ var React$1 = require('react');
6
6
  var Surface = require('./Surface-d6b8010e.js');
7
7
 
8
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
9
 
10
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
10
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React$1);
11
11
 
12
12
  /**
13
13
  * Optionally define ariaDescribedBy if errorMessage or helper exist.
@@ -32,17 +32,46 @@ var useAriaDescribedby = function (_a) {
32
32
  return { ariaDescribedby: ariaDescribedby, idError: idError, idHelper: idHelper };
33
33
  };
34
34
 
35
+ const React = React__default["default"];
36
+ const BtIconAlert = props =>
37
+ /*#__PURE__*/ React.createElement(
38
+ "svg",
39
+ Object.assign(
40
+ {
41
+ xmlns: "http://www.w3.org/2000/svg",
42
+ viewBox: "0 0 32 32"
43
+ },
44
+ props
45
+ ),
46
+ /*#__PURE__*/ React.createElement("defs", null),
47
+ /*#__PURE__*/ React.createElement("path", {
48
+ d:
49
+ "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,27A13,13,0,1,1,29,16,13.01474,13.01474,0,0,1,16,29Z",
50
+ fill: "currentColor"
51
+ }),
52
+ /*#__PURE__*/ React.createElement("path", {
53
+ fill: "currentColor",
54
+ d: "M16 20.99335A1 1 0 1 0 16 22.99335 1 1 0 1 0 16 20.99335z"
55
+ }),
56
+ /*#__PURE__*/ React.createElement("path", {
57
+ d:
58
+ "M16.00488,19.00977a.49972.49972,0,0,0,.5-.5L16.50684,9.5a.5.5,0,0,0-1,0l-.002,9.00977A.5.5,0,0,0,16.00488,19.00977Z",
59
+ fill: "currentColor"
60
+ })
61
+ );
62
+ var BtIconAlert_2 = BtIconAlert;
63
+
35
64
  var defaultContext = {
36
65
  requirementStatus: null
37
66
  };
38
- var Context = React.createContext(defaultContext);
67
+ var Context = React$1.createContext(defaultContext);
39
68
  var Provider = Context.Provider;
40
69
  /**
41
70
  * Use `FormControl` to provide inputs with labels, helper text and error messages
42
71
  */
43
72
  var FormControl = function (_a) {
44
73
  var children = _a.children, _b = _a.elementType, ElementType = _b === void 0 ? "div" : _b, errorMessage = _a.errorMessage, helper = _a.helper, htmlFor = _a.htmlFor, id = _a.id, label = _a.label, _c = _a.labelSize, labelSize = _c === void 0 ? "l" : _c, _d = _a.requirementStatus, requirementStatus = _d === void 0 ? "optional" : _d, props = index.__rest(_a, ["children", "elementType", "errorMessage", "helper", "htmlFor", "id", "label", "labelSize", "requirementStatus"]);
45
- var surface = React.useContext(Surface.Context).surface;
74
+ var surface = React$1.useContext(Surface.Context).surface;
46
75
  var _e = useAriaDescribedby({
47
76
  errorMessage: errorMessage,
48
77
  helper: helper,
@@ -74,9 +103,13 @@ var FormControl = function (_a) {
74
103
  requirementStatus === "optional" && (React__default["default"].createElement("span", { className: "arc-FormControl-labelOptional" }, "(optional)"))),
75
104
  helper && (React__default["default"].createElement("div", { className: "arc-FormControl-helper", id: idHelper }, helper)),
76
105
  children,
77
- errorMessage && (React__default["default"].createElement("div", { className: "arc-FormControl-error", id: idError }, errorMessage)))));
106
+ errorMessage && (React__default["default"].createElement("div", { className: "arc-FormControl-error", id: idError },
107
+ React__default["default"].createElement("span", { className: "arc-FormControl-error--icon" },
108
+ React__default["default"].createElement(BtIconAlert_2, null)),
109
+ errorMessage)))));
78
110
  };
79
111
 
112
+ exports.BtIconAlert_2 = BtIconAlert_2;
80
113
  exports.Context = Context;
81
114
  exports.FormControl = FormControl;
82
115
  exports.useAriaDescribedby = useAriaDescribedby;
@@ -1,5 +1,5 @@
1
- import { icons } from "@arc-ui/tokens";
2
1
  import { FC } from "react";
2
+ import { ArcIcon } from "./arc-icon-17594b2f";
3
3
  /**
4
4
  * Use `Icon` to display brand iconography.
5
5
  */
@@ -14,14 +14,10 @@ interface IconProps {
14
14
  * Should the Icon component be styled as an inline element?
15
15
  */
16
16
  isInline?: boolean;
17
- /**
18
- * Should a selected variant of the Icon be shown?
19
- */
20
- isSelected?: boolean;
21
17
  /**
22
18
  * Icon variant.
23
19
  */
24
- icon?: typeof icons[number];
20
+ icon?: ArcIcon;
25
21
  /**
26
22
  * Alternative text label for the Icon.
27
23
  */
@@ -30,5 +26,9 @@ interface IconProps {
30
26
  * Size of the Icon, in pixels.
31
27
  */
32
28
  size?: number;
29
+ /**
30
+ * value for data-testid
31
+ */
32
+ testId?: string;
33
33
  }
34
34
  export { Icon, colors, IconProps };