@arc-ui/components 12.0.0-beta.22 → 12.0.0-beta.23
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.
- package/lib/Alert/Alert.cjs +22 -21
- package/lib/Alert/Alert.mjs +22 -21
- package/lib/Alert/styles.css +1 -1
- package/lib/Align/styles.css +1 -1
- package/lib/AppButton/styles.css +1 -1
- package/lib/Avatar/styles.css +1 -1
- package/lib/AvatarGroup/styles.css +1 -1
- package/lib/Badge/styles.css +1 -1
- package/lib/Banner/Banner.cjs +1 -1
- package/lib/Banner/Banner.mjs +1 -1
- package/lib/Box/styles.css +1 -1
- package/lib/BrandLogo/styles.css +1 -1
- package/lib/Breadcrumbs/Breadcrumbs.cjs +12 -3
- package/lib/Breadcrumbs/Breadcrumbs.mjs +12 -3
- package/lib/Breadcrumbs/styles.css +1 -1
- package/lib/Button/styles.css +1 -1
- package/lib/ButtonGroup/styles.css +1 -1
- package/lib/ButtonV2/styles.css +1 -1
- package/lib/Calendar/Calendar.cjs +2 -2
- package/lib/Calendar/Calendar.mjs +2 -2
- package/lib/Calendar/styles.css +1 -1
- package/lib/CardFooter/styles.css +1 -1
- package/lib/CardHeading/styles.css +1 -1
- package/lib/Carousel/Carousel.cjs +11 -5
- package/lib/Carousel/Carousel.mjs +8 -2
- package/lib/Carousel/styles.css +1 -1
- package/lib/Checkbox/Checkbox.cjs +85 -11
- package/lib/Checkbox/Checkbox.mjs +87 -9
- package/lib/Checkbox/styles.css +1 -1
- package/lib/Columns/styles.css +1 -1
- package/lib/ComboBox/ComboBox.cjs +276 -11
- package/lib/ComboBox/ComboBox.mjs +279 -10
- package/lib/ComboBox/styles.css +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.cjs +5 -6
- package/lib/ContentSwitcher/ContentSwitcher.mjs +5 -6
- package/lib/ContentSwitcher/styles.css +1 -1
- package/lib/ContentSwitcherDropdown/styles.css +1 -1
- package/lib/DatePicker/DatePicker.cjs +351 -38
- package/lib/DatePicker/DatePicker.mjs +329 -17
- package/lib/DatePicker/styles.css +1 -1
- package/lib/Disclosure/styles.css +1 -1
- package/lib/DisclosureMini/styles.css +1 -1
- package/lib/Download/styles.css +1 -1
- package/lib/Drawer/styles.css +1 -1
- package/lib/Elevation/styles.css +1 -1
- package/lib/Filter/styles.css +1 -1
- package/lib/FormControl/styles.css +1 -1
- package/lib/GhostedHeroBanner/styles.css +1 -1
- package/lib/GradientPageBackground/GradientPageBackground.cjs +55 -43
- package/lib/GradientPageBackground/GradientPageBackground.mjs +55 -43
- package/lib/GradientPageBackground/styles.css +1 -1
- package/lib/Grid/styles.css +1 -1
- package/lib/Group/styles.css +1 -1
- package/lib/Heading/styles.css +1 -1
- package/lib/HeroBanner/HeroBanner.cjs +1 -1
- package/lib/HeroBanner/HeroBanner.mjs +1 -1
- package/lib/HeroBanner/styles.css +1 -1
- package/lib/HeroButton/HeroButton.cjs +77 -9
- package/lib/HeroButton/HeroButton.mjs +80 -8
- package/lib/HeroButton/styles.css +1 -1
- package/lib/Hidden/styles.css +1 -1
- package/lib/HorizontalCard/styles.css +1 -1
- package/lib/Icon/styles.css +1 -1
- package/lib/Image/styles.css +1 -1
- package/lib/ImpactCard/ImpactCard.cjs +3 -3
- package/lib/ImpactCard/ImpactCard.mjs +3 -3
- package/lib/ImpactCard/styles.css +1 -1
- package/lib/InformationCard/InformationCard.cjs +6 -6
- package/lib/InformationCard/InformationCard.mjs +6 -6
- package/lib/InformationCard/styles.css +1 -1
- package/lib/Link/Link.cjs +1 -1
- package/lib/Link/Link.mjs +1 -1
- package/lib/Link/styles.css +1 -1
- package/lib/Markup/styles.css +1 -1
- package/lib/MediaCard/MediaCard.cjs +53 -14
- package/lib/MediaCard/MediaCard.mjs +55 -12
- package/lib/MediaCard/styles.css +1 -1
- package/lib/Menu/Menu.cjs +1327 -25
- package/lib/Menu/Menu.mjs +1292 -9
- package/lib/Menu/styles.css +1 -1
- package/lib/Modal/styles.css +1 -1
- package/lib/NavigationHeader/NavigationHeader.cjs +743 -16
- package/lib/NavigationHeader/NavigationHeader.mjs +734 -7
- package/lib/NavigationHeader/styles.css +1 -1
- package/lib/Pagination/styles.css +1 -1
- package/lib/PaginationSimple/styles.css +1 -1
- package/lib/Popover/styles.css +1 -1
- package/lib/Poster/styles.css +1 -1
- package/lib/ProgressBar/styles.css +1 -1
- package/lib/ProgressStepper/styles.css +1 -1
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +138 -7
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +140 -5
- package/lib/ProgressStepperOverflow/styles.css +1 -1
- package/lib/RadioCardGroup/RadioCardGroup.cjs +48 -7
- package/lib/RadioCardGroup/RadioCardGroup.mjs +48 -8
- package/lib/RadioCardGroup/styles.css +1 -1
- package/lib/RadioGroup/RadioGroup.cjs +50 -8
- package/lib/RadioGroup/RadioGroup.mjs +49 -8
- package/lib/RadioGroup/styles.css +1 -1
- package/lib/Rule/styles.css +1 -1
- package/lib/ScrollToTop/styles.css +1 -1
- package/lib/Section/Section.cjs +1 -1
- package/lib/Section/Section.mjs +1 -1
- package/lib/Section/styles.css +1 -1
- package/lib/Select/styles.css +1 -1
- package/lib/SiteFooter/SiteFooter.cjs +1 -1
- package/lib/SiteFooter/SiteFooter.mjs +1 -1
- package/lib/SiteFooter/styles.css +1 -1
- package/lib/SiteFooterV2/SiteFooterV2.cjs +6 -5
- package/lib/SiteFooterV2/SiteFooterV2.mjs +6 -5
- package/lib/SiteFooterV2/styles.css +1 -1
- package/lib/SiteHeaderV2/SiteHeaderV2.cjs +440 -15
- package/lib/SiteHeaderV2/SiteHeaderV2.mjs +435 -11
- package/lib/SiteHeaderV2/styles.css +1 -1
- package/lib/Skeleton/styles.css +1 -1
- package/lib/SkipLink/styles.css +1 -1
- package/lib/Spinner/styles.css +1 -1
- package/lib/Surface/styles.css +1 -1
- package/lib/Switch/styles.css +1 -1
- package/lib/TabbedBanner/TabbedBanner.cjs +4 -5
- package/lib/TabbedBanner/TabbedBanner.mjs +4 -5
- package/lib/TabbedBanner/styles.css +1 -1
- package/lib/Tabs/Tabs.mjs +1 -1
- package/lib/Tabs/styles.css +1 -1
- package/lib/Tag/Tag.cjs +9 -9
- package/lib/Tag/Tag.mjs +9 -9
- package/lib/Tag/styles.css +1 -1
- package/lib/TemplateBanner/TemplateBanner.cjs +1 -1
- package/lib/TemplateBanner/TemplateBanner.mjs +1 -1
- package/lib/TemplateBanner/styles.css +1 -1
- package/lib/Text/styles.css +1 -1
- package/lib/TextArea/TextArea.cjs +2 -53
- package/lib/TextArea/TextArea.mjs +2 -53
- package/lib/TextArea/styles.css +1 -1
- package/lib/TextInput/styles.css +1 -1
- package/lib/Theme/Theme.cjs +1 -1
- package/lib/Theme/Theme.mjs +1 -1
- package/lib/Theme/styles.css +1 -1
- package/lib/ThemeIcon/styles.css +1 -1
- package/lib/ThumbnailSignpost/styles.css +1 -1
- package/lib/Toast/styles.css +1 -1
- package/lib/Tooltip/styles.css +1 -1
- package/lib/Truncate/styles.css +1 -1
- package/lib/TypographyCard/TypographyCard.cjs +3 -3
- package/lib/TypographyCard/TypographyCard.mjs +3 -3
- package/lib/TypographyCard/styles.css +1 -1
- package/lib/UniversalHeader/styles.css +1 -1
- package/lib/VerticalSpace/styles.css +1 -1
- package/lib/VideoPlayer/styles.css +1 -1
- package/lib/Visible/styles.css +1 -1
- package/lib/VisuallyHidden/styles.css +1 -1
- package/lib/_shared/cjs/{Calendar-B-va25n2.cjs → Calendar-Bfdgf5q1.cjs} +1 -1
- package/lib/_shared/cjs/{ContentSwitcherList-bCEzIPN2.cjs → ContentSwitcherList-pcYtuT6L.cjs} +8 -0
- package/lib/_shared/cjs/{Link-7xUgVf1I.cjs → Link-C3OSQIIk.cjs} +3 -1
- package/lib/_shared/cjs/{Section-wUVdzmGA.cjs → Section-Bz2fwj8Z.cjs} +2 -2
- package/lib/_shared/cjs/{TemplateBanner-CImrJ9ON.cjs → TemplateBanner-COymAI91.cjs} +2 -2
- package/lib/_shared/cjs/{arc-breakpoints-DWUgmeLA.cjs → arc-breakpoints-CS8JVk5T.cjs} +1 -1
- package/lib/_shared/cjs/{index.es-DlNskPlN.cjs → index.es-fkulh7qu.cjs} +1 -1
- package/lib/_shared/esm/{Calendar-Bd2_eT1Y.mjs → Calendar-Drh_NJ9I.mjs} +1 -1
- package/lib/_shared/esm/{ContentSwitcherList-bCQz0qkU.mjs → ContentSwitcherList-DwHfU3no.mjs} +10 -3
- package/lib/_shared/esm/{Link-Biyg9qBH.mjs → Link-DxjGH_7f.mjs} +3 -1
- package/lib/_shared/esm/{Section-DDygQ5Az.mjs → Section-7InCvzfh.mjs} +2 -2
- package/lib/_shared/esm/{TemplateBanner-DeHjliNP.mjs → TemplateBanner-Dkgzu3A5.mjs} +2 -2
- package/lib/_shared/esm/{arc-breakpoints-D5hR5m3t.mjs → arc-breakpoints-D7Ie4kBt.mjs} +1 -1
- package/lib/_shared/esm/{index-BDWwJ5x2.mjs → index-BWkI4Dwz.mjs} +1 -1
- package/lib/_shared/esm/{index.es-C3WqfFKH.mjs → index.es-CtRkzfKP.mjs} +2 -2
- package/lib/index.cjs +300 -283
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +28 -3
- package/lib/index.d.mts +28 -3
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +301 -284
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +10 -10
- package/package.json +8 -8
- package/lib/_shared/cjs/BreadcrumbsLink-CDmk3Y3m.cjs +0 -18
- package/lib/_shared/cjs/Checkbox-DfZMjO1Y.cjs +0 -88
- package/lib/_shared/cjs/ComboBox-BGUhlqx1.cjs +0 -281
- package/lib/_shared/cjs/ContentSwitcherTab-B387Qs3I.cjs +0 -14
- package/lib/_shared/cjs/DatePicker-Dt4faA_N.cjs +0 -334
- package/lib/_shared/cjs/HeroButton-CrzkTUwP.cjs +0 -82
- package/lib/_shared/cjs/MediaCard-BEZFbiYO.cjs +0 -57
- package/lib/_shared/cjs/MenuItemMultiLevelContent-vLr6hSBm.cjs +0 -1328
- package/lib/_shared/cjs/ProgressStepperOverflow-BAGZNC26.cjs +0 -142
- package/lib/_shared/cjs/RadioCardGroupInput-CeUM3yPS.cjs +0 -53
- package/lib/_shared/cjs/RadioGroupInput-w2qkfsnG.cjs +0 -54
- package/lib/_shared/cjs/SiteHeaderV2NavItemWithSubNav-CagFKPEa.cjs +0 -445
- package/lib/_shared/cjs/kebabCase-D5yA6u-V.cjs +0 -743
- package/lib/_shared/cjs/keynames-Cx13-hWr.cjs +0 -8
- package/lib/_shared/esm/BreadcrumbsLink-BxTurGNa.mjs +0 -16
- package/lib/_shared/esm/Checkbox-CwOHzlQF.mjs +0 -86
- package/lib/_shared/esm/ComboBox-CRlJjeev.mjs +0 -279
- package/lib/_shared/esm/ContentSwitcherTab-CfC3PGeZ.mjs +0 -12
- package/lib/_shared/esm/DatePicker-DT4OEzxP.mjs +0 -324
- package/lib/_shared/esm/HeroButton-jdjjV_Gf.mjs +0 -80
- package/lib/_shared/esm/MediaCard-DqMaNWsE.mjs +0 -55
- package/lib/_shared/esm/MenuItemMultiLevelContent-JTOHqpzg.mjs +0 -1296
- package/lib/_shared/esm/ProgressStepperOverflow-fPkLltVO.mjs +0 -140
- package/lib/_shared/esm/RadioCardGroupInput-D7W28geB.mjs +0 -50
- package/lib/_shared/esm/RadioGroupInput-zAWSV29m.mjs +0 -50
- package/lib/_shared/esm/SiteHeaderV2NavItemWithSubNav-CxGwdV6u.mjs +0 -439
- package/lib/_shared/esm/kebabCase-CCEMRBfd.mjs +0 -737
- package/lib/_shared/esm/keynames-B5whqsjh.mjs +0 -8
|
@@ -15,9 +15,9 @@ var VisuallyHidden = require('../_shared/cjs/VisuallyHidden-B4XCvPYP.cjs');
|
|
|
15
15
|
var Icon = require('../_shared/cjs/Icon-CzhyKqMd.cjs');
|
|
16
16
|
var Text = require('../_shared/cjs/Text-Cr5nmYmx.cjs');
|
|
17
17
|
var ConditionalWrapper = require('../_shared/cjs/ConditionalWrapper-C09Kw6EG.cjs');
|
|
18
|
-
var
|
|
19
|
-
var arcBreakpoints = require('../_shared/cjs/arc-breakpoints-DWUgmeLA.cjs');
|
|
18
|
+
var arcBreakpoints = require('../_shared/cjs/arc-breakpoints-CS8JVk5T.cjs');
|
|
20
19
|
var Popover = require('../_shared/cjs/Popover-C5mmMkYU.cjs');
|
|
20
|
+
var isSymbol = require('../_shared/cjs/isSymbol-BGrHFUbV.cjs');
|
|
21
21
|
var Hidden = require('../_shared/cjs/Hidden-Vsv1-xWO.cjs');
|
|
22
22
|
require('../_shared/cjs/index-DR8Rkav9.cjs');
|
|
23
23
|
require('../_shared/cjs/Combination-B-rSVLfT.cjs');
|
|
@@ -25,8 +25,7 @@ require('react/jsx-runtime');
|
|
|
25
25
|
require('react-dom');
|
|
26
26
|
require('../_shared/cjs/index-Dv1xvB_E.cjs');
|
|
27
27
|
require('../_shared/cjs/index-B11wQrRa.cjs');
|
|
28
|
-
require('../_shared/cjs/
|
|
29
|
-
require('../_shared/cjs/index.es-DlNskPlN.cjs');
|
|
28
|
+
require('../_shared/cjs/index.es-fkulh7qu.cjs');
|
|
30
29
|
require('../_shared/cjs/index-CaO6cOF0.cjs');
|
|
31
30
|
require('../_shared/cjs/index-Bt7hfZBc.cjs');
|
|
32
31
|
|
|
@@ -128,6 +127,15 @@ var NavigationHeaderInlineAction = function (_a) {
|
|
|
128
127
|
React.createElement(Text.Text, { size: "l" }, text))));
|
|
129
128
|
};
|
|
130
129
|
|
|
130
|
+
var NavigationHeaderButton = React.forwardRef(function (_a, ref) {
|
|
131
|
+
var isActive = _a.isActive, children = _a.children, onClick = _a.onClick, _b = _a.isPadded, isPadded = _b === void 0 ? true : _b, props = filterAttrs.__rest(_a, ["isActive", "children", "onClick", "isPadded"]);
|
|
132
|
+
var surface = React.useContext(Surface.Context).surface;
|
|
133
|
+
return (React.createElement("button", filterAttrs.__assign({}, props, { ref: ref, onClick: onClick, className: index.classNames("arc-NavigationHeaderButton", suffixModifier.suffixModifier("arc-NavigationHeaderButton--on", surface), {
|
|
134
|
+
"arc-NavigationHeaderButton--active": isActive,
|
|
135
|
+
"arc-NavigationHeaderButton--padded": isPadded,
|
|
136
|
+
}) }), children));
|
|
137
|
+
});
|
|
138
|
+
|
|
131
139
|
var NavigationHeaderDisclosure = function (_a) {
|
|
132
140
|
var heading = _a.heading, children = _a.children;
|
|
133
141
|
var _b = React.useState(false), isOpen = _b[0], setIsOpen = _b[1];
|
|
@@ -167,6 +175,12 @@ var NavigationHeaderMenuLink = function (_a) {
|
|
|
167
175
|
React.createElement(ThemeIcon.ThemeIcon, filterAttrs.__assign({}, icons[size])))));
|
|
168
176
|
};
|
|
169
177
|
|
|
178
|
+
var NavigationHeaderCloseButton = React.forwardRef(function (_a, ref) {
|
|
179
|
+
var onClick = _a.onClick, props = filterAttrs.__rest(_a, ["onClick"]);
|
|
180
|
+
return (React.createElement("button", filterAttrs.__assign({}, props, { ref: ref, "aria-label": "close", onClick: onClick, className: "arc-NavigationHeaderCloseButton" }),
|
|
181
|
+
React.createElement(ThemeIcon.ThemeIcon, { size: 32, icon: "navigationHeaderClose" })));
|
|
182
|
+
});
|
|
183
|
+
|
|
170
184
|
var NavigationHeaderBurgerMenu = function (_a) {
|
|
171
185
|
var navItems = _a.navItems, actions = _a.actions, header = _a.header, footer = _a.footer, logo = _a.logo;
|
|
172
186
|
var id = React.useId();
|
|
@@ -201,7 +215,7 @@ var NavigationHeaderBurgerMenu = function (_a) {
|
|
|
201
215
|
}, [isOpen, setIsOpen, triggerRef.current]);
|
|
202
216
|
return (React.createElement(React.Fragment, null,
|
|
203
217
|
React.createElement(Tooltip.Tooltip, { asChild: true, delayDuration: 0, title: "Menu", side: "bottom" },
|
|
204
|
-
React.createElement(
|
|
218
|
+
React.createElement(NavigationHeaderButton, { ref: triggerRef, isPadded: false, "aria-expanded": isOpen, "aria-label": isOpen ? "close menu" : "open menu", onClick: function () { return setIsOpen(!isOpen); } },
|
|
205
219
|
React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-trigger" },
|
|
206
220
|
React.createElement(ThemeIcon.ThemeIcon, { icon: "siteHeaderBurger", size: 24 })),
|
|
207
221
|
React.createElement(VisuallyHidden.VisuallyHidden, null, isOpen ? "close menu" : "open menu"))),
|
|
@@ -220,7 +234,7 @@ var NavigationHeaderBurgerMenu = function (_a) {
|
|
|
220
234
|
React.createElement(NavigationHeaderLogo, filterAttrs.__assign({}, logo, { isSurfaceSensitive: false })))),
|
|
221
235
|
React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-closeButtonContainer" },
|
|
222
236
|
React.createElement(Tooltip.Tooltip, { asChild: true, delayDuration: 0, title: "Close menu", side: "left" },
|
|
223
|
-
React.createElement(
|
|
237
|
+
React.createElement(NavigationHeaderCloseButton, { onClick: closeMenu })))),
|
|
224
238
|
header && (React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-topContent" }, header)),
|
|
225
239
|
(navItems || actions) && (React.createElement("div", { className: "arc-NavigationHeaderBurgerMenu-navigationContent" },
|
|
226
240
|
navItems && (React.createElement("ul", { className: "arc-NavigationHeaderBurgerMenu-list" }, navItems.map(function (navItem, navItemIndex) { return (React.createElement(React.Fragment, { key: "".concat(id, "-burger-nav-item-").concat(navItemIndex) },
|
|
@@ -263,6 +277,8 @@ var getFocusableElements = (rootElement) => {
|
|
|
263
277
|
return nodes;
|
|
264
278
|
};
|
|
265
279
|
|
|
280
|
+
var NavigationHeaderContext = React.createContext(null);
|
|
281
|
+
|
|
266
282
|
var NavigationHeaderDropdown = function (_a) {
|
|
267
283
|
var children = _a.children, trigger = _a.trigger, ariaLabel = _a.ariaLabel, tooltip = _a.tooltip;
|
|
268
284
|
var _b = React.useState(false), isOpen = _b[0], setIsOpen = _b[1];
|
|
@@ -270,7 +286,7 @@ var NavigationHeaderDropdown = function (_a) {
|
|
|
270
286
|
var containerRef = React.useRef(null);
|
|
271
287
|
var _c = React.useState(false), isTooltipOpen = _c[0], setIsTooltipOpen = _c[1];
|
|
272
288
|
var interactionMode = useInteractionMode().interactionMode;
|
|
273
|
-
var navigationHeaderContext = React.useContext(
|
|
289
|
+
var navigationHeaderContext = React.useContext(NavigationHeaderContext);
|
|
274
290
|
// Close the dropdown if the nav or trigger is hidden
|
|
275
291
|
React.useEffect(function () {
|
|
276
292
|
var resizeObserver = new ResizeObserver(function (entries) {
|
|
@@ -316,7 +332,7 @@ var NavigationHeaderDropdown = function (_a) {
|
|
|
316
332
|
var toggleVisibility = function () { return setIsOpen(function (isOpen) { return !isOpen; }); };
|
|
317
333
|
return (React.createElement(Popover.Popover, { useBespokeTrigger: true, align: "center", background: "light", arrow: true, sideOffset: 12, alignOffset: 0, open: isOpen, onCloseAutoFocus: onCloseAutoFocus, onOpenAutoFocus: focusOnFirstElement, onEscapeKeyDown: handleOutSideInteraction, onFocusOutside: handleOutSideInteraction, onInteractOutside: handleOutSideInteraction, onPointerDownOutside: handleOutSideInteraction, content: React.createElement("div", { ref: containerRef },
|
|
318
334
|
React.createElement("ul", { className: "arc-NavigationHeaderDropdown-navList" }, children)) }, tooltip ? (React.createElement(Tooltip.Tooltip, { asChild: true, title: tooltip, open: isTooltipOpen, delayDuration: 0, alignContent: "center", side: "bottom" },
|
|
319
|
-
React.createElement(
|
|
335
|
+
React.createElement(NavigationHeaderButton, { ref: triggerRef, "aria-label": ariaLabel, "aria-expanded": isOpen, "aria-haspopup": "dialog", "aria-describedby": undefined, isActive: isOpen, onClick: toggleVisibility, onMouseEnter: function () { return setIsTooltipOpen(!isOpen); }, onMouseLeave: function () { return setIsTooltipOpen(false); }, onFocus: function () { return setIsTooltipOpen(true); }, onBlur: function () { return setIsTooltipOpen(false); } }, trigger))) : (React.createElement(NavigationHeaderButton, { ref: triggerRef, "aria-label": ariaLabel, "aria-expanded": isOpen, "aria-haspopup": "dialog", isActive: isOpen, onClick: toggleVisibility }, trigger))));
|
|
320
336
|
};
|
|
321
337
|
|
|
322
338
|
var NavigationHeaderContainer = function (_a) {
|
|
@@ -369,7 +385,7 @@ var NavigationHeaderSubnav = function (_a) {
|
|
|
369
385
|
var _b;
|
|
370
386
|
var trigger = _a.trigger, ariaLabel = _a.ariaLabel, children = _a.children;
|
|
371
387
|
var _c = React.useState(false), isOpen = _c[0], setIsOpen = _c[1];
|
|
372
|
-
var navigationHeaderContext = React.useContext(
|
|
388
|
+
var navigationHeaderContext = React.useContext(NavigationHeaderContext);
|
|
373
389
|
var containerRef = React.useRef(null);
|
|
374
390
|
var dialogRef = React.useRef(null);
|
|
375
391
|
var listRef = React.useRef(null);
|
|
@@ -451,7 +467,7 @@ var NavigationHeaderSubnav = function (_a) {
|
|
|
451
467
|
triggerRef.current,
|
|
452
468
|
]);
|
|
453
469
|
return (React.createElement("div", { ref: containerRef },
|
|
454
|
-
React.createElement(
|
|
470
|
+
React.createElement(NavigationHeaderButton, { "data-sub-nav-item": true, ref: triggerRef, isActive: isOpen, "aria-label": ariaLabel, onClick: onTriggerClick }, trigger),
|
|
455
471
|
React.createElement(index$2.Root, { open: isOpen, modal: false },
|
|
456
472
|
React.createElement(index$2.Portal, { container: (_b = navigationHeaderContext === null || navigationHeaderContext === void 0 ? void 0 : navigationHeaderContext.navBarPortalRef) === null || _b === void 0 ? void 0 : _b.current },
|
|
457
473
|
React.createElement("div", { className: "arc-NavigationHeaderSubnav" },
|
|
@@ -483,6 +499,717 @@ var MeatBall = function () { return (React.createElement("svg", { width: 18, "ar
|
|
|
483
499
|
React.createElement("path", { d: "M8.5 3.0598e-07C9.32843 2.69769e-07 10 0.671573 10 1.5C10 2.32843 9.32843 3 8.5 3C7.67157 3 7 2.32843 7 1.5C7 0.671573 7.67157 3.42192e-07 8.5 3.0598e-07Z", fill: "currentColor" }),
|
|
484
500
|
React.createElement("path", { d: "M15.5 0C16.3284 -3.62112e-08 17 0.671573 17 1.5C17 2.32843 16.3284 3 15.5 3C14.6716 3 14 2.32843 14 1.5C14 0.671573 14.6716 3.62122e-08 15.5 0Z", fill: "currentColor" })))); };
|
|
485
501
|
|
|
502
|
+
/*! https://mths.be/cssesc v3.0.0 by @mathias */
|
|
503
|
+
|
|
504
|
+
var cssesc_1;
|
|
505
|
+
var hasRequiredCssesc;
|
|
506
|
+
|
|
507
|
+
function requireCssesc () {
|
|
508
|
+
if (hasRequiredCssesc) return cssesc_1;
|
|
509
|
+
hasRequiredCssesc = 1;
|
|
510
|
+
|
|
511
|
+
var object = {};
|
|
512
|
+
var hasOwnProperty = object.hasOwnProperty;
|
|
513
|
+
var merge = function merge(options, defaults) {
|
|
514
|
+
if (!options) {
|
|
515
|
+
return defaults;
|
|
516
|
+
}
|
|
517
|
+
var result = {};
|
|
518
|
+
for (var key in defaults) {
|
|
519
|
+
// `if (defaults.hasOwnProperty(key) { … }` is not needed here, since
|
|
520
|
+
// only recognized option names are used.
|
|
521
|
+
result[key] = hasOwnProperty.call(options, key) ? options[key] : defaults[key];
|
|
522
|
+
}
|
|
523
|
+
return result;
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
var regexAnySingleEscape = /[ -,\.\/:-@\[-\^`\{-~]/;
|
|
527
|
+
var regexSingleEscape = /[ -,\.\/:-@\[\]\^`\{-~]/;
|
|
528
|
+
var regexExcessiveSpaces = /(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;
|
|
529
|
+
|
|
530
|
+
// https://mathiasbynens.be/notes/css-escapes#css
|
|
531
|
+
var cssesc = function cssesc(string, options) {
|
|
532
|
+
options = merge(options, cssesc.options);
|
|
533
|
+
if (options.quotes != 'single' && options.quotes != 'double') {
|
|
534
|
+
options.quotes = 'single';
|
|
535
|
+
}
|
|
536
|
+
var quote = options.quotes == 'double' ? '"' : '\'';
|
|
537
|
+
var isIdentifier = options.isIdentifier;
|
|
538
|
+
|
|
539
|
+
var firstChar = string.charAt(0);
|
|
540
|
+
var output = '';
|
|
541
|
+
var counter = 0;
|
|
542
|
+
var length = string.length;
|
|
543
|
+
while (counter < length) {
|
|
544
|
+
var character = string.charAt(counter++);
|
|
545
|
+
var codePoint = character.charCodeAt();
|
|
546
|
+
var value = void 0;
|
|
547
|
+
// If it’s not a printable ASCII character…
|
|
548
|
+
if (codePoint < 0x20 || codePoint > 0x7E) {
|
|
549
|
+
if (codePoint >= 0xD800 && codePoint <= 0xDBFF && counter < length) {
|
|
550
|
+
// It’s a high surrogate, and there is a next character.
|
|
551
|
+
var extra = string.charCodeAt(counter++);
|
|
552
|
+
if ((extra & 0xFC00) == 0xDC00) {
|
|
553
|
+
// next character is low surrogate
|
|
554
|
+
codePoint = ((codePoint & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000;
|
|
555
|
+
} else {
|
|
556
|
+
// It’s an unmatched surrogate; only append this code unit, in case
|
|
557
|
+
// the next code unit is the high surrogate of a surrogate pair.
|
|
558
|
+
counter--;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
value = '\\' + codePoint.toString(16).toUpperCase() + ' ';
|
|
562
|
+
} else {
|
|
563
|
+
if (options.escapeEverything) {
|
|
564
|
+
if (regexAnySingleEscape.test(character)) {
|
|
565
|
+
value = '\\' + character;
|
|
566
|
+
} else {
|
|
567
|
+
value = '\\' + codePoint.toString(16).toUpperCase() + ' ';
|
|
568
|
+
}
|
|
569
|
+
} else if (/[\t\n\f\r\x0B]/.test(character)) {
|
|
570
|
+
value = '\\' + codePoint.toString(16).toUpperCase() + ' ';
|
|
571
|
+
} else if (character == '\\' || !isIdentifier && (character == '"' && quote == character || character == '\'' && quote == character) || isIdentifier && regexSingleEscape.test(character)) {
|
|
572
|
+
value = '\\' + character;
|
|
573
|
+
} else {
|
|
574
|
+
value = character;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
output += value;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
if (isIdentifier) {
|
|
581
|
+
if (/^-[-\d]/.test(output)) {
|
|
582
|
+
output = '\\-' + output.slice(1);
|
|
583
|
+
} else if (/\d/.test(firstChar)) {
|
|
584
|
+
output = '\\3' + firstChar + ' ' + output.slice(1);
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
// Remove spaces after `\HEX` escapes that are not followed by a hex digit,
|
|
589
|
+
// since they’re redundant. Note that this is only possible if the escape
|
|
590
|
+
// sequence isn’t preceded by an odd number of backslashes.
|
|
591
|
+
output = output.replace(regexExcessiveSpaces, function ($0, $1, $2) {
|
|
592
|
+
if ($1 && $1.length % 2) {
|
|
593
|
+
// It’s not safe to remove the space, so don’t.
|
|
594
|
+
return $0;
|
|
595
|
+
}
|
|
596
|
+
// Strip the space.
|
|
597
|
+
return ($1 || '') + $2;
|
|
598
|
+
});
|
|
599
|
+
|
|
600
|
+
if (!isIdentifier && options.wrap) {
|
|
601
|
+
return quote + output + quote;
|
|
602
|
+
}
|
|
603
|
+
return output;
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
// Expose default options (so they can be overridden globally).
|
|
607
|
+
cssesc.options = {
|
|
608
|
+
'escapeEverything': false,
|
|
609
|
+
'isIdentifier': false,
|
|
610
|
+
'quotes': 'single',
|
|
611
|
+
'wrap': false
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
cssesc.version = '3.0.0';
|
|
615
|
+
|
|
616
|
+
cssesc_1 = cssesc;
|
|
617
|
+
return cssesc_1;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
var cssescExports = requireCssesc();
|
|
621
|
+
var cssEscape = /*@__PURE__*/index.getDefaultExportFromCjs(cssescExports);
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* A specialized version of `_.reduce` for arrays without support for
|
|
625
|
+
* iteratee shorthands.
|
|
626
|
+
*
|
|
627
|
+
* @private
|
|
628
|
+
* @param {Array} [array] The array to iterate over.
|
|
629
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
630
|
+
* @param {*} [accumulator] The initial value.
|
|
631
|
+
* @param {boolean} [initAccum] Specify using the first element of `array` as
|
|
632
|
+
* the initial value.
|
|
633
|
+
* @returns {*} Returns the accumulated value.
|
|
634
|
+
*/
|
|
635
|
+
|
|
636
|
+
var _arrayReduce;
|
|
637
|
+
var hasRequired_arrayReduce;
|
|
638
|
+
|
|
639
|
+
function require_arrayReduce () {
|
|
640
|
+
if (hasRequired_arrayReduce) return _arrayReduce;
|
|
641
|
+
hasRequired_arrayReduce = 1;
|
|
642
|
+
function arrayReduce(array, iteratee, accumulator, initAccum) {
|
|
643
|
+
var index = -1,
|
|
644
|
+
length = array == null ? 0 : array.length;
|
|
645
|
+
|
|
646
|
+
if (initAccum && length) {
|
|
647
|
+
accumulator = array[++index];
|
|
648
|
+
}
|
|
649
|
+
while (++index < length) {
|
|
650
|
+
accumulator = iteratee(accumulator, array[index], index, array);
|
|
651
|
+
}
|
|
652
|
+
return accumulator;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
_arrayReduce = arrayReduce;
|
|
656
|
+
return _arrayReduce;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* The base implementation of `_.propertyOf` without support for deep paths.
|
|
661
|
+
*
|
|
662
|
+
* @private
|
|
663
|
+
* @param {Object} object The object to query.
|
|
664
|
+
* @returns {Function} Returns the new accessor function.
|
|
665
|
+
*/
|
|
666
|
+
|
|
667
|
+
var _basePropertyOf;
|
|
668
|
+
var hasRequired_basePropertyOf;
|
|
669
|
+
|
|
670
|
+
function require_basePropertyOf () {
|
|
671
|
+
if (hasRequired_basePropertyOf) return _basePropertyOf;
|
|
672
|
+
hasRequired_basePropertyOf = 1;
|
|
673
|
+
function basePropertyOf(object) {
|
|
674
|
+
return function(key) {
|
|
675
|
+
return object == null ? undefined : object[key];
|
|
676
|
+
};
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
_basePropertyOf = basePropertyOf;
|
|
680
|
+
return _basePropertyOf;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
var _deburrLetter;
|
|
684
|
+
var hasRequired_deburrLetter;
|
|
685
|
+
|
|
686
|
+
function require_deburrLetter () {
|
|
687
|
+
if (hasRequired_deburrLetter) return _deburrLetter;
|
|
688
|
+
hasRequired_deburrLetter = 1;
|
|
689
|
+
var basePropertyOf = require_basePropertyOf();
|
|
690
|
+
|
|
691
|
+
/** Used to map Latin Unicode letters to basic Latin letters. */
|
|
692
|
+
var deburredLetters = {
|
|
693
|
+
// Latin-1 Supplement block.
|
|
694
|
+
'\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
|
|
695
|
+
'\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
|
|
696
|
+
'\xc7': 'C', '\xe7': 'c',
|
|
697
|
+
'\xd0': 'D', '\xf0': 'd',
|
|
698
|
+
'\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
|
|
699
|
+
'\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
|
|
700
|
+
'\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
|
|
701
|
+
'\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i',
|
|
702
|
+
'\xd1': 'N', '\xf1': 'n',
|
|
703
|
+
'\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
|
|
704
|
+
'\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
|
|
705
|
+
'\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
|
|
706
|
+
'\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
|
|
707
|
+
'\xdd': 'Y', '\xfd': 'y', '\xff': 'y',
|
|
708
|
+
'\xc6': 'Ae', '\xe6': 'ae',
|
|
709
|
+
'\xde': 'Th', '\xfe': 'th',
|
|
710
|
+
'\xdf': 'ss',
|
|
711
|
+
// Latin Extended-A block.
|
|
712
|
+
'\u0100': 'A', '\u0102': 'A', '\u0104': 'A',
|
|
713
|
+
'\u0101': 'a', '\u0103': 'a', '\u0105': 'a',
|
|
714
|
+
'\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
|
|
715
|
+
'\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
|
|
716
|
+
'\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
|
|
717
|
+
'\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
|
|
718
|
+
'\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
|
|
719
|
+
'\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
|
|
720
|
+
'\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
|
|
721
|
+
'\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
|
|
722
|
+
'\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
|
|
723
|
+
'\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
|
|
724
|
+
'\u0134': 'J', '\u0135': 'j',
|
|
725
|
+
'\u0136': 'K', '\u0137': 'k', '\u0138': 'k',
|
|
726
|
+
'\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
|
|
727
|
+
'\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
|
|
728
|
+
'\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
|
|
729
|
+
'\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
|
|
730
|
+
'\u014c': 'O', '\u014e': 'O', '\u0150': 'O',
|
|
731
|
+
'\u014d': 'o', '\u014f': 'o', '\u0151': 'o',
|
|
732
|
+
'\u0154': 'R', '\u0156': 'R', '\u0158': 'R',
|
|
733
|
+
'\u0155': 'r', '\u0157': 'r', '\u0159': 'r',
|
|
734
|
+
'\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
|
|
735
|
+
'\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's',
|
|
736
|
+
'\u0162': 'T', '\u0164': 'T', '\u0166': 'T',
|
|
737
|
+
'\u0163': 't', '\u0165': 't', '\u0167': 't',
|
|
738
|
+
'\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
|
|
739
|
+
'\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
|
|
740
|
+
'\u0174': 'W', '\u0175': 'w',
|
|
741
|
+
'\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y',
|
|
742
|
+
'\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z',
|
|
743
|
+
'\u017a': 'z', '\u017c': 'z', '\u017e': 'z',
|
|
744
|
+
'\u0132': 'IJ', '\u0133': 'ij',
|
|
745
|
+
'\u0152': 'Oe', '\u0153': 'oe',
|
|
746
|
+
'\u0149': "'n", '\u017f': 's'
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
|
|
751
|
+
* letters to basic Latin letters.
|
|
752
|
+
*
|
|
753
|
+
* @private
|
|
754
|
+
* @param {string} letter The matched letter to deburr.
|
|
755
|
+
* @returns {string} Returns the deburred letter.
|
|
756
|
+
*/
|
|
757
|
+
var deburrLetter = basePropertyOf(deburredLetters);
|
|
758
|
+
|
|
759
|
+
_deburrLetter = deburrLetter;
|
|
760
|
+
return _deburrLetter;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* A specialized version of `_.map` for arrays without support for iteratee
|
|
765
|
+
* shorthands.
|
|
766
|
+
*
|
|
767
|
+
* @private
|
|
768
|
+
* @param {Array} [array] The array to iterate over.
|
|
769
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
770
|
+
* @returns {Array} Returns the new mapped array.
|
|
771
|
+
*/
|
|
772
|
+
|
|
773
|
+
var _arrayMap;
|
|
774
|
+
var hasRequired_arrayMap;
|
|
775
|
+
|
|
776
|
+
function require_arrayMap () {
|
|
777
|
+
if (hasRequired_arrayMap) return _arrayMap;
|
|
778
|
+
hasRequired_arrayMap = 1;
|
|
779
|
+
function arrayMap(array, iteratee) {
|
|
780
|
+
var index = -1,
|
|
781
|
+
length = array == null ? 0 : array.length,
|
|
782
|
+
result = Array(length);
|
|
783
|
+
|
|
784
|
+
while (++index < length) {
|
|
785
|
+
result[index] = iteratee(array[index], index, array);
|
|
786
|
+
}
|
|
787
|
+
return result;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
_arrayMap = arrayMap;
|
|
791
|
+
return _arrayMap;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* Checks if `value` is classified as an `Array` object.
|
|
796
|
+
*
|
|
797
|
+
* @static
|
|
798
|
+
* @memberOf _
|
|
799
|
+
* @since 0.1.0
|
|
800
|
+
* @category Lang
|
|
801
|
+
* @param {*} value The value to check.
|
|
802
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
803
|
+
* @example
|
|
804
|
+
*
|
|
805
|
+
* _.isArray([1, 2, 3]);
|
|
806
|
+
* // => true
|
|
807
|
+
*
|
|
808
|
+
* _.isArray(document.body.children);
|
|
809
|
+
* // => false
|
|
810
|
+
*
|
|
811
|
+
* _.isArray('abc');
|
|
812
|
+
* // => false
|
|
813
|
+
*
|
|
814
|
+
* _.isArray(_.noop);
|
|
815
|
+
* // => false
|
|
816
|
+
*/
|
|
817
|
+
|
|
818
|
+
var isArray_1;
|
|
819
|
+
var hasRequiredIsArray;
|
|
820
|
+
|
|
821
|
+
function requireIsArray () {
|
|
822
|
+
if (hasRequiredIsArray) return isArray_1;
|
|
823
|
+
hasRequiredIsArray = 1;
|
|
824
|
+
var isArray = Array.isArray;
|
|
825
|
+
|
|
826
|
+
isArray_1 = isArray;
|
|
827
|
+
return isArray_1;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
var _baseToString;
|
|
831
|
+
var hasRequired_baseToString;
|
|
832
|
+
|
|
833
|
+
function require_baseToString () {
|
|
834
|
+
if (hasRequired_baseToString) return _baseToString;
|
|
835
|
+
hasRequired_baseToString = 1;
|
|
836
|
+
var Symbol = isSymbol.require_Symbol(),
|
|
837
|
+
arrayMap = require_arrayMap(),
|
|
838
|
+
isArray = requireIsArray(),
|
|
839
|
+
isSymbol$1 = isSymbol.requireIsSymbol();
|
|
840
|
+
|
|
841
|
+
/** Used as references for various `Number` constants. */
|
|
842
|
+
var INFINITY = 1 / 0;
|
|
843
|
+
|
|
844
|
+
/** Used to convert symbols to primitives and strings. */
|
|
845
|
+
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
|
846
|
+
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* The base implementation of `_.toString` which doesn't convert nullish
|
|
850
|
+
* values to empty strings.
|
|
851
|
+
*
|
|
852
|
+
* @private
|
|
853
|
+
* @param {*} value The value to process.
|
|
854
|
+
* @returns {string} Returns the string.
|
|
855
|
+
*/
|
|
856
|
+
function baseToString(value) {
|
|
857
|
+
// Exit early for strings to avoid a performance hit in some environments.
|
|
858
|
+
if (typeof value == 'string') {
|
|
859
|
+
return value;
|
|
860
|
+
}
|
|
861
|
+
if (isArray(value)) {
|
|
862
|
+
// Recursively convert values (susceptible to call stack limits).
|
|
863
|
+
return arrayMap(value, baseToString) + '';
|
|
864
|
+
}
|
|
865
|
+
if (isSymbol$1(value)) {
|
|
866
|
+
return symbolToString ? symbolToString.call(value) : '';
|
|
867
|
+
}
|
|
868
|
+
var result = (value + '');
|
|
869
|
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
_baseToString = baseToString;
|
|
873
|
+
return _baseToString;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
var toString_1;
|
|
877
|
+
var hasRequiredToString;
|
|
878
|
+
|
|
879
|
+
function requireToString () {
|
|
880
|
+
if (hasRequiredToString) return toString_1;
|
|
881
|
+
hasRequiredToString = 1;
|
|
882
|
+
var baseToString = require_baseToString();
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* Converts `value` to a string. An empty string is returned for `null`
|
|
886
|
+
* and `undefined` values. The sign of `-0` is preserved.
|
|
887
|
+
*
|
|
888
|
+
* @static
|
|
889
|
+
* @memberOf _
|
|
890
|
+
* @since 4.0.0
|
|
891
|
+
* @category Lang
|
|
892
|
+
* @param {*} value The value to convert.
|
|
893
|
+
* @returns {string} Returns the converted string.
|
|
894
|
+
* @example
|
|
895
|
+
*
|
|
896
|
+
* _.toString(null);
|
|
897
|
+
* // => ''
|
|
898
|
+
*
|
|
899
|
+
* _.toString(-0);
|
|
900
|
+
* // => '-0'
|
|
901
|
+
*
|
|
902
|
+
* _.toString([1, 2, 3]);
|
|
903
|
+
* // => '1,2,3'
|
|
904
|
+
*/
|
|
905
|
+
function toString(value) {
|
|
906
|
+
return value == null ? '' : baseToString(value);
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
toString_1 = toString;
|
|
910
|
+
return toString_1;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
var deburr_1;
|
|
914
|
+
var hasRequiredDeburr;
|
|
915
|
+
|
|
916
|
+
function requireDeburr () {
|
|
917
|
+
if (hasRequiredDeburr) return deburr_1;
|
|
918
|
+
hasRequiredDeburr = 1;
|
|
919
|
+
var deburrLetter = require_deburrLetter(),
|
|
920
|
+
toString = requireToString();
|
|
921
|
+
|
|
922
|
+
/** Used to match Latin Unicode letters (excluding mathematical operators). */
|
|
923
|
+
var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
|
|
924
|
+
|
|
925
|
+
/** Used to compose unicode character classes. */
|
|
926
|
+
var rsComboMarksRange = '\\u0300-\\u036f',
|
|
927
|
+
reComboHalfMarksRange = '\\ufe20-\\ufe2f',
|
|
928
|
+
rsComboSymbolsRange = '\\u20d0-\\u20ff',
|
|
929
|
+
rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;
|
|
930
|
+
|
|
931
|
+
/** Used to compose unicode capture groups. */
|
|
932
|
+
var rsCombo = '[' + rsComboRange + ']';
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
|
|
936
|
+
* [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
|
|
937
|
+
*/
|
|
938
|
+
var reComboMark = RegExp(rsCombo, 'g');
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* Deburrs `string` by converting
|
|
942
|
+
* [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
|
|
943
|
+
* and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
|
|
944
|
+
* letters to basic Latin letters and removing
|
|
945
|
+
* [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
|
|
946
|
+
*
|
|
947
|
+
* @static
|
|
948
|
+
* @memberOf _
|
|
949
|
+
* @since 3.0.0
|
|
950
|
+
* @category String
|
|
951
|
+
* @param {string} [string=''] The string to deburr.
|
|
952
|
+
* @returns {string} Returns the deburred string.
|
|
953
|
+
* @example
|
|
954
|
+
*
|
|
955
|
+
* _.deburr('déjà vu');
|
|
956
|
+
* // => 'deja vu'
|
|
957
|
+
*/
|
|
958
|
+
function deburr(string) {
|
|
959
|
+
string = toString(string);
|
|
960
|
+
return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
deburr_1 = deburr;
|
|
964
|
+
return deburr_1;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/** Used to match words composed of alphanumeric characters. */
|
|
968
|
+
|
|
969
|
+
var _asciiWords;
|
|
970
|
+
var hasRequired_asciiWords;
|
|
971
|
+
|
|
972
|
+
function require_asciiWords () {
|
|
973
|
+
if (hasRequired_asciiWords) return _asciiWords;
|
|
974
|
+
hasRequired_asciiWords = 1;
|
|
975
|
+
var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* Splits an ASCII `string` into an array of its words.
|
|
979
|
+
*
|
|
980
|
+
* @private
|
|
981
|
+
* @param {string} The string to inspect.
|
|
982
|
+
* @returns {Array} Returns the words of `string`.
|
|
983
|
+
*/
|
|
984
|
+
function asciiWords(string) {
|
|
985
|
+
return string.match(reAsciiWord) || [];
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
_asciiWords = asciiWords;
|
|
989
|
+
return _asciiWords;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
/** Used to detect strings that need a more robust regexp to match words. */
|
|
993
|
+
|
|
994
|
+
var _hasUnicodeWord;
|
|
995
|
+
var hasRequired_hasUnicodeWord;
|
|
996
|
+
|
|
997
|
+
function require_hasUnicodeWord () {
|
|
998
|
+
if (hasRequired_hasUnicodeWord) return _hasUnicodeWord;
|
|
999
|
+
hasRequired_hasUnicodeWord = 1;
|
|
1000
|
+
var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* Checks if `string` contains a word composed of Unicode symbols.
|
|
1004
|
+
*
|
|
1005
|
+
* @private
|
|
1006
|
+
* @param {string} string The string to inspect.
|
|
1007
|
+
* @returns {boolean} Returns `true` if a word is found, else `false`.
|
|
1008
|
+
*/
|
|
1009
|
+
function hasUnicodeWord(string) {
|
|
1010
|
+
return reHasUnicodeWord.test(string);
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
_hasUnicodeWord = hasUnicodeWord;
|
|
1014
|
+
return _hasUnicodeWord;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
/** Used to compose unicode character classes. */
|
|
1018
|
+
|
|
1019
|
+
var _unicodeWords;
|
|
1020
|
+
var hasRequired_unicodeWords;
|
|
1021
|
+
|
|
1022
|
+
function require_unicodeWords () {
|
|
1023
|
+
if (hasRequired_unicodeWords) return _unicodeWords;
|
|
1024
|
+
hasRequired_unicodeWords = 1;
|
|
1025
|
+
var rsAstralRange = '\\ud800-\\udfff',
|
|
1026
|
+
rsComboMarksRange = '\\u0300-\\u036f',
|
|
1027
|
+
reComboHalfMarksRange = '\\ufe20-\\ufe2f',
|
|
1028
|
+
rsComboSymbolsRange = '\\u20d0-\\u20ff',
|
|
1029
|
+
rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
|
|
1030
|
+
rsDingbatRange = '\\u2700-\\u27bf',
|
|
1031
|
+
rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
|
|
1032
|
+
rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
|
|
1033
|
+
rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
|
|
1034
|
+
rsPunctuationRange = '\\u2000-\\u206f',
|
|
1035
|
+
rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
|
|
1036
|
+
rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
|
|
1037
|
+
rsVarRange = '\\ufe0e\\ufe0f',
|
|
1038
|
+
rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
|
|
1039
|
+
|
|
1040
|
+
/** Used to compose unicode capture groups. */
|
|
1041
|
+
var rsApos = "['\u2019]",
|
|
1042
|
+
rsBreak = '[' + rsBreakRange + ']',
|
|
1043
|
+
rsCombo = '[' + rsComboRange + ']',
|
|
1044
|
+
rsDigits = '\\d+',
|
|
1045
|
+
rsDingbat = '[' + rsDingbatRange + ']',
|
|
1046
|
+
rsLower = '[' + rsLowerRange + ']',
|
|
1047
|
+
rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
|
|
1048
|
+
rsFitz = '\\ud83c[\\udffb-\\udfff]',
|
|
1049
|
+
rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
|
|
1050
|
+
rsNonAstral = '[^' + rsAstralRange + ']',
|
|
1051
|
+
rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
|
|
1052
|
+
rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
|
|
1053
|
+
rsUpper = '[' + rsUpperRange + ']',
|
|
1054
|
+
rsZWJ = '\\u200d';
|
|
1055
|
+
|
|
1056
|
+
/** Used to compose unicode regexes. */
|
|
1057
|
+
var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
|
|
1058
|
+
rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
|
|
1059
|
+
rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
|
|
1060
|
+
rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
|
|
1061
|
+
reOptMod = rsModifier + '?',
|
|
1062
|
+
rsOptVar = '[' + rsVarRange + ']?',
|
|
1063
|
+
rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
|
|
1064
|
+
rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
|
|
1065
|
+
rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
|
|
1066
|
+
rsSeq = rsOptVar + reOptMod + rsOptJoin,
|
|
1067
|
+
rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq;
|
|
1068
|
+
|
|
1069
|
+
/** Used to match complex or compound words. */
|
|
1070
|
+
var reUnicodeWord = RegExp([
|
|
1071
|
+
rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
|
|
1072
|
+
rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
|
|
1073
|
+
rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
|
|
1074
|
+
rsUpper + '+' + rsOptContrUpper,
|
|
1075
|
+
rsOrdUpper,
|
|
1076
|
+
rsOrdLower,
|
|
1077
|
+
rsDigits,
|
|
1078
|
+
rsEmoji
|
|
1079
|
+
].join('|'), 'g');
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* Splits a Unicode `string` into an array of its words.
|
|
1083
|
+
*
|
|
1084
|
+
* @private
|
|
1085
|
+
* @param {string} The string to inspect.
|
|
1086
|
+
* @returns {Array} Returns the words of `string`.
|
|
1087
|
+
*/
|
|
1088
|
+
function unicodeWords(string) {
|
|
1089
|
+
return string.match(reUnicodeWord) || [];
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
_unicodeWords = unicodeWords;
|
|
1093
|
+
return _unicodeWords;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
var words_1;
|
|
1097
|
+
var hasRequiredWords;
|
|
1098
|
+
|
|
1099
|
+
function requireWords () {
|
|
1100
|
+
if (hasRequiredWords) return words_1;
|
|
1101
|
+
hasRequiredWords = 1;
|
|
1102
|
+
var asciiWords = require_asciiWords(),
|
|
1103
|
+
hasUnicodeWord = require_hasUnicodeWord(),
|
|
1104
|
+
toString = requireToString(),
|
|
1105
|
+
unicodeWords = require_unicodeWords();
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* Splits `string` into an array of its words.
|
|
1109
|
+
*
|
|
1110
|
+
* @static
|
|
1111
|
+
* @memberOf _
|
|
1112
|
+
* @since 3.0.0
|
|
1113
|
+
* @category String
|
|
1114
|
+
* @param {string} [string=''] The string to inspect.
|
|
1115
|
+
* @param {RegExp|string} [pattern] The pattern to match words.
|
|
1116
|
+
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
|
1117
|
+
* @returns {Array} Returns the words of `string`.
|
|
1118
|
+
* @example
|
|
1119
|
+
*
|
|
1120
|
+
* _.words('fred, barney, & pebbles');
|
|
1121
|
+
* // => ['fred', 'barney', 'pebbles']
|
|
1122
|
+
*
|
|
1123
|
+
* _.words('fred, barney, & pebbles', /[^, ]+/g);
|
|
1124
|
+
* // => ['fred', 'barney', '&', 'pebbles']
|
|
1125
|
+
*/
|
|
1126
|
+
function words(string, pattern, guard) {
|
|
1127
|
+
string = toString(string);
|
|
1128
|
+
pattern = guard ? undefined : pattern;
|
|
1129
|
+
|
|
1130
|
+
if (pattern === undefined) {
|
|
1131
|
+
return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
|
|
1132
|
+
}
|
|
1133
|
+
return string.match(pattern) || [];
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
words_1 = words;
|
|
1137
|
+
return words_1;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
var _createCompounder;
|
|
1141
|
+
var hasRequired_createCompounder;
|
|
1142
|
+
|
|
1143
|
+
function require_createCompounder () {
|
|
1144
|
+
if (hasRequired_createCompounder) return _createCompounder;
|
|
1145
|
+
hasRequired_createCompounder = 1;
|
|
1146
|
+
var arrayReduce = require_arrayReduce(),
|
|
1147
|
+
deburr = requireDeburr(),
|
|
1148
|
+
words = requireWords();
|
|
1149
|
+
|
|
1150
|
+
/** Used to compose unicode capture groups. */
|
|
1151
|
+
var rsApos = "['\u2019]";
|
|
1152
|
+
|
|
1153
|
+
/** Used to match apostrophes. */
|
|
1154
|
+
var reApos = RegExp(rsApos, 'g');
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* Creates a function like `_.camelCase`.
|
|
1158
|
+
*
|
|
1159
|
+
* @private
|
|
1160
|
+
* @param {Function} callback The function to combine each word.
|
|
1161
|
+
* @returns {Function} Returns the new compounder function.
|
|
1162
|
+
*/
|
|
1163
|
+
function createCompounder(callback) {
|
|
1164
|
+
return function(string) {
|
|
1165
|
+
return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');
|
|
1166
|
+
};
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
_createCompounder = createCompounder;
|
|
1170
|
+
return _createCompounder;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
var kebabCase_1;
|
|
1174
|
+
var hasRequiredKebabCase;
|
|
1175
|
+
|
|
1176
|
+
function requireKebabCase () {
|
|
1177
|
+
if (hasRequiredKebabCase) return kebabCase_1;
|
|
1178
|
+
hasRequiredKebabCase = 1;
|
|
1179
|
+
var createCompounder = require_createCompounder();
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Converts `string` to
|
|
1183
|
+
* [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
|
|
1184
|
+
*
|
|
1185
|
+
* @static
|
|
1186
|
+
* @memberOf _
|
|
1187
|
+
* @since 3.0.0
|
|
1188
|
+
* @category String
|
|
1189
|
+
* @param {string} [string=''] The string to convert.
|
|
1190
|
+
* @returns {string} Returns the kebab cased string.
|
|
1191
|
+
* @example
|
|
1192
|
+
*
|
|
1193
|
+
* _.kebabCase('Foo Bar');
|
|
1194
|
+
* // => 'foo-bar'
|
|
1195
|
+
*
|
|
1196
|
+
* _.kebabCase('fooBar');
|
|
1197
|
+
* // => 'foo-bar'
|
|
1198
|
+
*
|
|
1199
|
+
* _.kebabCase('__FOO_BAR__');
|
|
1200
|
+
* // => 'foo-bar'
|
|
1201
|
+
*/
|
|
1202
|
+
var kebabCase = createCompounder(function(result, word, index) {
|
|
1203
|
+
return result + (index ? '-' : '') + word.toLowerCase();
|
|
1204
|
+
});
|
|
1205
|
+
|
|
1206
|
+
kebabCase_1 = kebabCase;
|
|
1207
|
+
return kebabCase_1;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
var kebabCaseExports = requireKebabCase();
|
|
1211
|
+
var kebabCase = /*@__PURE__*/index.getDefaultExportFromCjs(kebabCaseExports);
|
|
1212
|
+
|
|
486
1213
|
var getQuery = function (_a) {
|
|
487
1214
|
var breakpoint = _a.breakpoint, type = _a.type, _b = _a.isMatchMedia, isMatchMedia = _b === void 0 ? false : _b;
|
|
488
1215
|
var breakpointValue = typeof breakpoint === "number" ? breakpoint : arcBreakpoints.ArcBreakpoints[breakpoint];
|
|
@@ -500,13 +1227,13 @@ var NavigationHeaderStyleElement = function (_a) {
|
|
|
500
1227
|
var generateCssStyles = function (declarations) {
|
|
501
1228
|
return Object.entries(declarations).reduce(function (acc, _a) {
|
|
502
1229
|
var property = _a[0], value = _a[1];
|
|
503
|
-
return "".concat(acc).concat(kebabCase
|
|
1230
|
+
return "".concat(acc).concat(kebabCase(property), ":").concat(value, ";");
|
|
504
1231
|
}, "");
|
|
505
1232
|
};
|
|
506
1233
|
var styleStrings = css.map(function (_a) {
|
|
507
1234
|
var declarations = _a.declarations, className = _a.className, mediaQuery = _a.mediaQuery;
|
|
508
|
-
var escapedClassName =
|
|
509
|
-
var escapedStyles =
|
|
1235
|
+
var escapedClassName = cssEscape(className, { isIdentifier: true });
|
|
1236
|
+
var escapedStyles = cssEscape(generateCssStyles(declarations));
|
|
510
1237
|
var cssDeclarations = ".".concat(escapedClassName, " { ").concat(escapedStyles, " }");
|
|
511
1238
|
return mediaQuery
|
|
512
1239
|
? "".concat(getQuery(mediaQuery), " { ").concat(cssDeclarations, " }")
|
|
@@ -594,7 +1321,7 @@ var NavigationHeaderNavList = function (_a) {
|
|
|
594
1321
|
};
|
|
595
1322
|
|
|
596
1323
|
var NavigationHeaderNav = function (props) {
|
|
597
|
-
var navigationHeaderContext = React.useContext(
|
|
1324
|
+
var navigationHeaderContext = React.useContext(NavigationHeaderContext);
|
|
598
1325
|
return (React.createElement("nav", { "aria-label": "primary" },
|
|
599
1326
|
React.createElement("div", { ref: navigationHeaderContext === null || navigationHeaderContext === void 0 ? void 0 : navigationHeaderContext.navBarPortalRef }),
|
|
600
1327
|
React.createElement(NavigationHeaderContainer, filterAttrs.__assign({}, props))));
|
|
@@ -626,7 +1353,7 @@ var NavigationHeader = function (_a) {
|
|
|
626
1353
|
var navBarBackground = isSubMenuItemActive ? "lightElevated" : background;
|
|
627
1354
|
var burgerMenuVisibilityProps = filterAttrs.__assign(filterAttrs.__assign({}, defaultHeaderVisibility.burgerMenu), burgerMenuVisibility);
|
|
628
1355
|
var navMenuVisibilityProps = filterAttrs.__assign(filterAttrs.__assign({}, defaultHeaderVisibility.navItems), navMenuVisibility);
|
|
629
|
-
return (React.createElement(
|
|
1356
|
+
return (React.createElement(NavigationHeaderContext.Provider, { value: {
|
|
630
1357
|
navBarPortalRef: navBarPortalRef,
|
|
631
1358
|
isPill: isPill,
|
|
632
1359
|
isExtended: isExtended,
|
|
@@ -654,7 +1381,7 @@ var NavigationHeaderAction = function (_a) {
|
|
|
654
1381
|
"arc-NavigationHeaderAction--attention": isAttention,
|
|
655
1382
|
}) },
|
|
656
1383
|
React.createElement(Tooltip.Tooltip, { asChild: true, delayDuration: 0, title: title, alignContent: "center", supportingCopy: supportingCopy, side: "bottom" },
|
|
657
|
-
React.createElement(
|
|
1384
|
+
React.createElement(NavigationHeaderButton, { isPadded: false, onClick: onClick },
|
|
658
1385
|
React.createElement("div", { className: "arc-NavigationHeaderAction-content" },
|
|
659
1386
|
React.createElement(Icon.Icon, { "aria-hidden": true, icon: icon, size: 24 }),
|
|
660
1387
|
React.createElement(VisuallyHidden.VisuallyHidden, null, ariaLabel))))));
|