@czi-sds/components 24.2.0 → 25.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.
- package/README.md +9 -2
- package/dist/index.cjs.d.ts +147 -59
- package/dist/index.cjs.js +665 -484
- package/dist/index.esm.d.ts +147 -59
- package/dist/index.esm.js +661 -486
- package/package.json +7 -2
package/dist/index.esm.js
CHANGED
|
@@ -3,11 +3,12 @@ import * as React$1 from "react";
|
|
|
3
3
|
import React, { Children, Fragment, cloneElement, createContext, createElement, forwardRef, isValidElement, memo, useCallback, useContext, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
4
4
|
import _styled from "@emotion/styled/base";
|
|
5
5
|
import { css } from "@emotion/react";
|
|
6
|
-
import { Accordion as Accordion$1, AccordionDetails as AccordionDetails$1, AccordionSummary, Alert as Alert$1, AlertTitle, AppBar, Autocomplete as Autocomplete$1, Box, Button as Button$1, ButtonGroup as ButtonGroup$1, Card, CardActions, CardContent, CardMedia, CardMedia as CardMedia$1, Checkbox, Chip as Chip$1, ClickAwayListener, Dialog as Dialog$1, DialogActions as DialogActions$1, DialogContent, DialogTitle as DialogTitle$1, Divider, Drawer, FormControlLabel, Grow, IconButton, InputAdornment, Link as Link$1, List as List$1, ListItem as ListItem$1, ListSubheader as ListSubheader$1, Menu as Menu$1, MenuItem as MenuItem$1, MenuList, Paper, Popover as Popover$1, Popper, Radio, Slide, Slider, SvgIcon, Switch, Tab as Tab$1, Table as Table$1, TableBody, TableCell, TableContainer, TableRow as TableRow$1, Tabs as Tabs$1, TextField, ToggleButton, ToggleButtonGroup, Toolbar, Tooltip as Tooltip$1, Typography, accordionClasses, accordionDetailsClasses, accordionSummaryClasses, alertClasses, alertTitleClasses, alpha, autocompleteClasses, backdropClasses, buttonBaseClasses, buttonClasses, buttonGroupClasses, checkboxClasses, createTheme, css as css$1, darken, dialogActionsClasses, drawerClasses, inputAdornmentClasses, inputBaseClasses, menuClasses, menuItemClasses, outlinedInputClasses, popoverClasses, radioClasses, sliderClasses, styled, switchClasses, tabsClasses, toggleButtonClasses, useMediaQuery, useScrollTrigger, useTheme } from "@mui/material";
|
|
6
|
+
import { Accordion as Accordion$1, AccordionDetails as AccordionDetails$1, AccordionSummary, Alert as Alert$1, AlertTitle, AppBar, Autocomplete as Autocomplete$1, Box, Button as Button$1, ButtonGroup as ButtonGroup$1, Card, CardActions, CardContent, CardMedia, CardMedia as CardMedia$1, Checkbox, Chip as Chip$1, ClickAwayListener, Dialog as Dialog$1, DialogActions as DialogActions$1, DialogContent, DialogTitle as DialogTitle$1, Divider, Drawer, FormControlLabel, Grow, IconButton, InputAdornment, Link as Link$1, List as List$1, ListItem as ListItem$1, ListSubheader as ListSubheader$1, Menu as Menu$1, MenuItem as MenuItem$1, MenuList, Paper, Popover as Popover$1, Popper, Radio, Slide, Slider, SvgIcon, Switch, Tab as Tab$1, Table as Table$1, TableBody, TableCell, TableContainer, TableRow as TableRow$1, Tabs as Tabs$1, TextField, ToggleButton, ToggleButtonGroup, Toolbar, Tooltip as Tooltip$1, Typography, accordionClasses, accordionDetailsClasses, accordionSummaryClasses, alertClasses, alertTitleClasses, alpha, autocompleteClasses, backdropClasses, buttonBaseClasses, buttonClasses, buttonGroupClasses, checkboxClasses, createTheme, css as css$1, darken, dialogActionsClasses, drawerClasses, emphasize, inputAdornmentClasses, inputBaseClasses, menuClasses, menuItemClasses, outlinedInputClasses, popoverClasses, radioClasses, sliderClasses, styled, switchClasses, tabsClasses, toggleButtonClasses, useMediaQuery, useScrollTrigger, useTheme } from "@mui/material";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { useForkRef } from "@mui/material/utils";
|
|
9
|
-
import
|
|
9
|
+
import "@mui/icons-material";
|
|
10
10
|
import { css as css$2 } from "@emotion/css";
|
|
11
|
+
import { ArrowUpRightIcon } from "@phosphor-icons/react";
|
|
11
12
|
import Button$2 from "@mui/material/Button";
|
|
12
13
|
import { useTheme as useTheme$1 } from "@mui/material/styles";
|
|
13
14
|
import { flexRender, getCoreRowModel, getFilteredRowModel, getPaginationRowModel, getSortedRowModel, useReactTable } from "@tanstack/react-table";
|
|
@@ -1747,9 +1748,9 @@ function _objectWithoutProperties(e, t) {
|
|
|
1747
1748
|
}
|
|
1748
1749
|
//#endregion
|
|
1749
1750
|
//#region src/core/Accordion/components/AccordionDetails/index.tsx
|
|
1750
|
-
const _excluded$
|
|
1751
|
+
const _excluded$52 = ["children", "id"];
|
|
1751
1752
|
const AccordionDetails = (props) => {
|
|
1752
|
-
const { children, id } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
1753
|
+
const { children, id } = props, rest = _objectWithoutProperties(props, _excluded$52);
|
|
1753
1754
|
return /* @__PURE__ */ jsx(StyledAccordionDetails$1, _objectSpread2(_objectSpread2({ id }, rest), {}, { children }));
|
|
1754
1755
|
};
|
|
1755
1756
|
//#endregion
|
|
@@ -6271,7 +6272,7 @@ const iconMap = {
|
|
|
6271
6272
|
};
|
|
6272
6273
|
//#endregion
|
|
6273
6274
|
//#region src/core/Icon/style.ts
|
|
6274
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
6275
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__$26() {
|
|
6275
6276
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
6276
6277
|
}
|
|
6277
6278
|
const doNotForwardProps$46 = [
|
|
@@ -6296,7 +6297,7 @@ const StyledSvgIcon = /*#__PURE__*/ _styled(SvgIcon, {
|
|
|
6296
6297
|
const StyledIcon$2 = /*#__PURE__*/ _styled("div", { target: "emi0zh40" })({
|
|
6297
6298
|
name: "49aokf",
|
|
6298
6299
|
styles: "display:contents",
|
|
6299
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
6300
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$26
|
|
6300
6301
|
});
|
|
6301
6302
|
//#endregion
|
|
6302
6303
|
//#region src/core/Icon/index.tsx
|
|
@@ -6354,13 +6355,13 @@ const Icon = forwardRef(function Icon({ className, color, shade, sdsIcon, sdsSiz
|
|
|
6354
6355
|
});
|
|
6355
6356
|
//#endregion
|
|
6356
6357
|
//#region src/core/Accordion/components/AccordionHeader/index.tsx
|
|
6357
|
-
const _excluded$
|
|
6358
|
+
const _excluded$51 = [
|
|
6358
6359
|
"children",
|
|
6359
6360
|
"subtitle",
|
|
6360
6361
|
"chevronSize"
|
|
6361
6362
|
];
|
|
6362
6363
|
const AccordionHeader = (props) => {
|
|
6363
|
-
const { children, subtitle, chevronSize = "xs" } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
6364
|
+
const { children, subtitle, chevronSize = "xs" } = props, rest = _objectWithoutProperties(props, _excluded$51);
|
|
6364
6365
|
return /* @__PURE__ */ jsxs(StyledAccordionHeader, _objectSpread2(_objectSpread2({
|
|
6365
6366
|
chevronSize,
|
|
6366
6367
|
expandIcon: /* @__PURE__ */ jsx(Icon, {
|
|
@@ -6397,7 +6398,7 @@ const leftPosition = (props) => {
|
|
|
6397
6398
|
};
|
|
6398
6399
|
//#endregion
|
|
6399
6400
|
//#region src/core/Accordion/index.tsx
|
|
6400
|
-
const _excluded$
|
|
6401
|
+
const _excluded$50 = [
|
|
6401
6402
|
"id",
|
|
6402
6403
|
"children",
|
|
6403
6404
|
"useDivider",
|
|
@@ -6408,7 +6409,7 @@ const _excluded$48 = [
|
|
|
6408
6409
|
* @see https://mui.com/material-ui/react-accordion/
|
|
6409
6410
|
*/
|
|
6410
6411
|
const Accordion = React.forwardRef((props, ref) => {
|
|
6411
|
-
const { id, children, useDivider, togglePosition = "right", defaultExpanded = false } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
6412
|
+
const { id, children, useDivider, togglePosition = "right", defaultExpanded = false } = props, rest = _objectWithoutProperties(props, _excluded$50);
|
|
6412
6413
|
const [expanded, setExpanded] = React.useState(defaultExpanded ? id : false);
|
|
6413
6414
|
const handleChange = (panel) => (_event, isExpanded) => {
|
|
6414
6415
|
setExpanded(isExpanded ? panel : false);
|
|
@@ -6670,7 +6671,7 @@ const StyledChildren = /*#__PURE__*/ _styled("span", {
|
|
|
6670
6671
|
}, ";");
|
|
6671
6672
|
//#endregion
|
|
6672
6673
|
//#region src/core/Button/index.tsx
|
|
6673
|
-
const _excluded$
|
|
6674
|
+
const _excluded$49 = [
|
|
6674
6675
|
"sdsStyle",
|
|
6675
6676
|
"sdsType",
|
|
6676
6677
|
"size",
|
|
@@ -6686,7 +6687,7 @@ const MUI_VARIANT_MAP$1 = {
|
|
|
6686
6687
|
* @see https://mui.com/material-ui/react-button/
|
|
6687
6688
|
*/
|
|
6688
6689
|
const Button = React.forwardRef((props, ref) => {
|
|
6689
|
-
const { sdsStyle = "solid", sdsType = "primary", size = "large", variant = "contained", children } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
6690
|
+
const { sdsStyle = "solid", sdsType = "primary", size = "large", variant = "contained", children } = props, rest = _objectWithoutProperties(props, _excluded$49);
|
|
6690
6691
|
const iconOnlyChild = isIconOnlyChild(children);
|
|
6691
6692
|
return /* @__PURE__ */ jsx(StyledButton$4, _objectSpread2(_objectSpread2({
|
|
6692
6693
|
variant: MUI_VARIANT_MAP$1[sdsStyle] || variant,
|
|
@@ -6701,7 +6702,7 @@ const Button = React.forwardRef((props, ref) => {
|
|
|
6701
6702
|
});
|
|
6702
6703
|
//#endregion
|
|
6703
6704
|
//#region src/core/InputSearch/style.ts
|
|
6704
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
6705
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__$25() {
|
|
6705
6706
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
6706
6707
|
}
|
|
6707
6708
|
const doNotForwardProps$44 = [
|
|
@@ -6711,7 +6712,7 @@ const doNotForwardProps$44 = [
|
|
|
6711
6712
|
"customTheme",
|
|
6712
6713
|
"hasInvertedStyle"
|
|
6713
6714
|
];
|
|
6714
|
-
const rounded$
|
|
6715
|
+
const rounded$2 = (props) => {
|
|
6715
6716
|
var _semanticColors$base;
|
|
6716
6717
|
const corners = getCorners(props);
|
|
6717
6718
|
const semanticColors = getSemanticColors(props);
|
|
@@ -6754,16 +6755,16 @@ const StyledSearchBase = /*#__PURE__*/ _styled(TextField, {
|
|
|
6754
6755
|
const iconSizes = getIconSizes(props);
|
|
6755
6756
|
const semanticColors = getSemanticColors(props);
|
|
6756
6757
|
const corners = getCorners(props);
|
|
6757
|
-
return /*#__PURE__*/ css("min-width:120px;display:block;background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base8 = semanticColors.base) === null || _semanticColors$base8 === void 0 ? void 0 : _semanticColors$base8.backgroundPrimary, "!important;border-radius:", corners === null || corners === void 0 ? void 0 : corners.l, "px;[type=\"search\"]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;}& .input-search-clear-icon{cursor:pointer;svg{height:", iconSizes === null || iconSizes === void 0 || (_iconSizes$xs = iconSizes.xs) === null || _iconSizes$xs === void 0 ? void 0 : _iconSizes$xs.height, "px;width:", iconSizes === null || iconSizes === void 0 || (_iconSizes$xs2 = iconSizes.xs) === null || _iconSizes$xs2 === void 0 ? void 0 : _iconSizes$xs2.width, "px;}}.", outlinedInputClasses.root, "{padding:0 ", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;border-radius:", corners === null || corners === void 0 ? void 0 : corners.l, "px;width:100%;.", outlinedInputClasses.input, "{padding-right:", spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;&::placeholder{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base9 = semanticColors.base) === null || _semanticColors$base9 === void 0 ? void 0 : _semanticColors$base9.textTertiary, ";opacity:1;}}.MuiInputAdornment-positionEnd{position:absolute;right:", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;}.", outlinedInputClasses.notchedOutline, "{border:1px solid ", semanticColors === null || semanticColors === void 0 || (_semanticColors$base10 = semanticColors.base) === null || _semanticColors$base10 === void 0 ? void 0 : _semanticColors$base10.borderPrimary, ";}&:hover .input-search-clear-icon,&:focus-within .input-search-clear-icon{svg{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base11 = semanticColors.base) === null || _semanticColors$base11 === void 0 ? void 0 : _semanticColors$base11.ornamentSecondary, "!important;}&:hover{svg{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base12 = semanticColors.base) === null || _semanticColors$base12 === void 0 ? void 0 : _semanticColors$base12.ornamentSecondaryInteraction, "!important;}}&:active{svg{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen = semanticColors.accent) === null || _semanticColors$accen === void 0 ? void 0 : _semanticColors$accen.fillPressed, "!important;}}}}.", inputBaseClasses.sizeSmall, ">.", inputBaseClasses.input, "{", fontBodyXs(props), " padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;height:unset;box-sizing:border-box;}.", outlinedInputClasses.root, ":hover{background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base13 = semanticColors.base) === null || _semanticColors$base13 === void 0 ? void 0 : _semanticColors$base13.fillPrimaryInteraction, ";& .", buttonBaseClasses.root, ":last-of-type{svg{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base14 = semanticColors.base) === null || _semanticColors$base14 === void 0 ? void 0 : _semanticColors$base14.ornamentSecondary, ";}}.", outlinedInputClasses.notchedOutline, "{border:1px solid ", semanticColors === null || semanticColors === void 0 || (_semanticColors$base15 = semanticColors.base) === null || _semanticColors$base15 === void 0 ? void 0 : _semanticColors$base15.borderPrimaryInteraction, ";}}.", outlinedInputClasses.root, ".", outlinedInputClasses.focused, "{outline:none;.", outlinedInputClasses.notchedOutline, "{border:1px solid ", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen2 = semanticColors.accent) === null || _semanticColors$accen2 === void 0 ? void 0 : _semanticColors$accen2.foreground, ";}.", inputAdornmentClasses.root, " .", buttonBaseClasses.root, ":last-of-type{cursor:default;svg{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base16 = semanticColors.base) === null || _semanticColors$base16 === void 0 ? void 0 : _semanticColors$base16.ornamentSecondaryInteraction, ";}}}&.user-is-tabbing .", outlinedInputClasses.root, ":focus-within{outline:2px solid ", semanticColors === null || semanticColors === void 0 || (_semanticColors$base17 = semanticColors.base) === null || _semanticColors$base17 === void 0 ? void 0 : _semanticColors$base17.borderPrimaryInteraction, ";outline-offset:1px;}", sdsStyle === "rounded" && rounded$
|
|
6758
|
+
return /*#__PURE__*/ css("min-width:120px;display:block;background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base8 = semanticColors.base) === null || _semanticColors$base8 === void 0 ? void 0 : _semanticColors$base8.backgroundPrimary, "!important;border-radius:", corners === null || corners === void 0 ? void 0 : corners.l, "px;[type=\"search\"]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;}& .input-search-clear-icon{cursor:pointer;svg{height:", iconSizes === null || iconSizes === void 0 || (_iconSizes$xs = iconSizes.xs) === null || _iconSizes$xs === void 0 ? void 0 : _iconSizes$xs.height, "px;width:", iconSizes === null || iconSizes === void 0 || (_iconSizes$xs2 = iconSizes.xs) === null || _iconSizes$xs2 === void 0 ? void 0 : _iconSizes$xs2.width, "px;}}.", outlinedInputClasses.root, "{padding:0 ", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;border-radius:", corners === null || corners === void 0 ? void 0 : corners.l, "px;width:100%;.", outlinedInputClasses.input, "{padding-right:", spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;&::placeholder{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base9 = semanticColors.base) === null || _semanticColors$base9 === void 0 ? void 0 : _semanticColors$base9.textTertiary, ";opacity:1;}}.MuiInputAdornment-positionEnd{position:absolute;right:", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;}.", outlinedInputClasses.notchedOutline, "{border:1px solid ", semanticColors === null || semanticColors === void 0 || (_semanticColors$base10 = semanticColors.base) === null || _semanticColors$base10 === void 0 ? void 0 : _semanticColors$base10.borderPrimary, ";}&:hover .input-search-clear-icon,&:focus-within .input-search-clear-icon{svg{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base11 = semanticColors.base) === null || _semanticColors$base11 === void 0 ? void 0 : _semanticColors$base11.ornamentSecondary, "!important;}&:hover{svg{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base12 = semanticColors.base) === null || _semanticColors$base12 === void 0 ? void 0 : _semanticColors$base12.ornamentSecondaryInteraction, "!important;}}&:active{svg{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen = semanticColors.accent) === null || _semanticColors$accen === void 0 ? void 0 : _semanticColors$accen.fillPressed, "!important;}}}}.", inputBaseClasses.sizeSmall, ">.", inputBaseClasses.input, "{", fontBodyXs(props), " padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;height:unset;box-sizing:border-box;}.", outlinedInputClasses.root, ":hover{background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base13 = semanticColors.base) === null || _semanticColors$base13 === void 0 ? void 0 : _semanticColors$base13.fillPrimaryInteraction, ";& .", buttonBaseClasses.root, ":last-of-type{svg{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base14 = semanticColors.base) === null || _semanticColors$base14 === void 0 ? void 0 : _semanticColors$base14.ornamentSecondary, ";}}.", outlinedInputClasses.notchedOutline, "{border:1px solid ", semanticColors === null || semanticColors === void 0 || (_semanticColors$base15 = semanticColors.base) === null || _semanticColors$base15 === void 0 ? void 0 : _semanticColors$base15.borderPrimaryInteraction, ";}}.", outlinedInputClasses.root, ".", outlinedInputClasses.focused, "{outline:none;.", outlinedInputClasses.notchedOutline, "{border:1px solid ", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen2 = semanticColors.accent) === null || _semanticColors$accen2 === void 0 ? void 0 : _semanticColors$accen2.foreground, ";}.", inputAdornmentClasses.root, " .", buttonBaseClasses.root, ":last-of-type{cursor:default;svg{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base16 = semanticColors.base) === null || _semanticColors$base16 === void 0 ? void 0 : _semanticColors$base16.ornamentSecondaryInteraction, ";}}}&.user-is-tabbing .", outlinedInputClasses.root, ":focus-within{outline:2px solid ", semanticColors === null || semanticColors === void 0 || (_semanticColors$base17 = semanticColors.base) === null || _semanticColors$base17 === void 0 ? void 0 : _semanticColors$base17.borderPrimaryInteraction, ";outline-offset:1px;}", sdsStyle === "rounded" && rounded$2(props), " ", intent === "negative" && applyIntentColor$2(props, "negative"), " ", intent === "notice" && applyIntentColor$2(props, "notice"), " ", intent === "positive" && applyIntentColor$2(props, "positive"), " ", disabled && disabledStyled$2(props), ";");
|
|
6758
6759
|
}, ";");
|
|
6759
6760
|
const StyledInputAdornment = /*#__PURE__*/ _styled(InputAdornment, { target: "e1h1uy4z0" })({
|
|
6760
6761
|
name: "vtdujo",
|
|
6761
6762
|
styles: "position:relative;height:unset;margin:0",
|
|
6762
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
6763
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$25
|
|
6763
6764
|
});
|
|
6764
6765
|
//#endregion
|
|
6765
6766
|
//#region src/core/MenuItem/style.ts
|
|
6766
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
6767
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__$24() {
|
|
6767
6768
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
6768
6769
|
}
|
|
6769
6770
|
const StyledMenuItem$1 = /*#__PURE__*/ _styled(MenuItem$1, { target: "eanvvd48" })((props) => {
|
|
@@ -6849,7 +6850,7 @@ const StyledMenuItem$1 = /*#__PURE__*/ _styled(MenuItem$1, { target: "eanvvd48"
|
|
|
6849
6850
|
const ContentWrapper = /*#__PURE__*/ _styled("span", { target: "eanvvd47" })({
|
|
6850
6851
|
name: "18ov00z",
|
|
6851
6852
|
styles: "display:flex;justify-content:space-between;align-items:flex-start;width:100%",
|
|
6852
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
6853
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$24
|
|
6853
6854
|
});
|
|
6854
6855
|
const disabledStyles$2 = (props) => {
|
|
6855
6856
|
var _semanticColors$base13;
|
|
@@ -6927,7 +6928,7 @@ const DotIcon = /*#__PURE__*/ _styled("svg", { target: "eanvvd41" })((props) =>
|
|
|
6927
6928
|
}, ";");
|
|
6928
6929
|
//#endregion
|
|
6929
6930
|
//#region src/core/MenuItem/index.tsx
|
|
6930
|
-
const _excluded$
|
|
6931
|
+
const _excluded$48 = [
|
|
6931
6932
|
"children",
|
|
6932
6933
|
"column",
|
|
6933
6934
|
"disabled",
|
|
@@ -6942,7 +6943,7 @@ const _excluded$46 = [
|
|
|
6942
6943
|
* @see https://mui.com/material-ui/react-menu/
|
|
6943
6944
|
*/
|
|
6944
6945
|
const MenuItem = forwardRef(function MenuItem(props, ref) {
|
|
6945
|
-
const { children, column = null, disabled, isMultiSelect = false, icon: newIcon, sdsIcon, sdsIconProps, sdsStyle = "determinate", sdsType = "default" } = props, originalMenuItemProps = _objectWithoutProperties(props, _excluded$
|
|
6946
|
+
const { children, column = null, disabled, isMultiSelect = false, icon: newIcon, sdsIcon, sdsIconProps, sdsStyle = "determinate", sdsType = "default" } = props, originalMenuItemProps = _objectWithoutProperties(props, _excluded$48);
|
|
6946
6947
|
const { selected = false } = originalMenuItemProps;
|
|
6947
6948
|
const isActionType = sdsType === "action";
|
|
6948
6949
|
const selectionIcon = () => {
|
|
@@ -7060,7 +7061,7 @@ const useDetectUserTabbing = (ref) => {
|
|
|
7060
7061
|
};
|
|
7061
7062
|
//#endregion
|
|
7062
7063
|
//#region src/core/InputSearch/index.tsx
|
|
7063
|
-
const _excluded$
|
|
7064
|
+
const _excluded$47 = [
|
|
7064
7065
|
"label",
|
|
7065
7066
|
"id",
|
|
7066
7067
|
"placeholder",
|
|
@@ -7078,7 +7079,7 @@ const _excluded$45 = [
|
|
|
7078
7079
|
* @see https://mui.com/material-ui/react-text-field/
|
|
7079
7080
|
*/
|
|
7080
7081
|
const InputSearch = forwardRef(function InputSearch(props, ref) {
|
|
7081
|
-
const { label, id, placeholder, sdsStyle = "square", intent = "default", handleSubmit, onChange, disabled, classes = EMPTY_OBJECT, className, value: propValue, slotProps: userSlotProps } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
7082
|
+
const { label, id, placeholder, sdsStyle = "square", intent = "default", handleSubmit, onChange, disabled, classes = EMPTY_OBJECT, className, value: propValue, slotProps: userSlotProps } = props, rest = _objectWithoutProperties(props, _excluded$47);
|
|
7082
7083
|
const { root: rootClassName, label: labelClassName, input: inputClassName, endAdornment: endAdornmentClassName, startAdornment: startAdornmentClassName, clearButton: clearButtonClassName, searchButton: searchButtonClassName } = classes;
|
|
7083
7084
|
/**
|
|
7084
7085
|
* (masoudmanson): In case that the ref is not provided, we will create a new one.
|
|
@@ -7189,7 +7190,7 @@ const InputSearch = forwardRef(function InputSearch(props, ref) {
|
|
|
7189
7190
|
});
|
|
7190
7191
|
//#endregion
|
|
7191
7192
|
//#region src/core/Autocomplete/components/AutocompleteBase/style.ts
|
|
7192
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
7193
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__$23() {
|
|
7193
7194
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
7194
7195
|
}
|
|
7195
7196
|
const doNotForwardProps$43 = [
|
|
@@ -7348,11 +7349,11 @@ const StyledMenuItemDetails = /*#__PURE__*/ _styled("div", { target: "eelfr3l1"
|
|
|
7348
7349
|
const StyledMenuItemText = /*#__PURE__*/ _styled("div", { target: "eelfr3l0" })({
|
|
7349
7350
|
name: "1fttcpj",
|
|
7350
7351
|
styles: "display:flex;flex-direction:column",
|
|
7351
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
7352
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$23
|
|
7352
7353
|
});
|
|
7353
7354
|
//#endregion
|
|
7354
7355
|
//#region src/core/Autocomplete/components/AutocompleteBase/index.tsx
|
|
7355
|
-
const _excluded$
|
|
7356
|
+
const _excluded$46 = [
|
|
7356
7357
|
"component",
|
|
7357
7358
|
"details",
|
|
7358
7359
|
"count",
|
|
@@ -7582,7 +7583,7 @@ const AutocompleteBase = (props) => {
|
|
|
7582
7583
|
}
|
|
7583
7584
|
function defaultRenderOption(optionProps, option, { selected }) {
|
|
7584
7585
|
let MenuItemContent;
|
|
7585
|
-
const { component, details, count, icon, sdsIconProps, disabled: optionDisabled } = option, restOptionProps = _objectWithoutProperties(option, _excluded$
|
|
7586
|
+
const { component, details, count, icon, sdsIconProps, disabled: optionDisabled } = option, restOptionProps = _objectWithoutProperties(option, _excluded$46);
|
|
7586
7587
|
const menuItemLabel = getOptionLabel(option);
|
|
7587
7588
|
if (component) MenuItemContent = component;
|
|
7588
7589
|
else MenuItemContent = /* @__PURE__ */ jsxs(StyledMenuItemText, { children: [menuItemLabel, details && /* @__PURE__ */ jsx(StyledMenuItemDetails, {
|
|
@@ -7621,7 +7622,7 @@ const StyledColumnTitle = /*#__PURE__*/ _styled("p", { target: "e1teds5i0" })(fo
|
|
|
7621
7622
|
}, ";");
|
|
7622
7623
|
//#endregion
|
|
7623
7624
|
//#region src/core/Autocomplete/components/AutocompleteGroup/index.tsx
|
|
7624
|
-
const _excluded$
|
|
7625
|
+
const _excluded$45 = [
|
|
7625
7626
|
"autocompleteProps",
|
|
7626
7627
|
"onValueChange",
|
|
7627
7628
|
"value",
|
|
@@ -7632,7 +7633,7 @@ const _excluded$43 = [
|
|
|
7632
7633
|
"inputValue"
|
|
7633
7634
|
];
|
|
7634
7635
|
const AutocompleteGroup = (props) => {
|
|
7635
|
-
const { autocompleteProps, onValueChange, value: propValue, multiple, label, InputBaseProps, popperOpen, inputValue } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
7636
|
+
const { autocompleteProps, onValueChange, value: propValue, multiple, label, InputBaseProps, popperOpen, inputValue } = props, rest = _objectWithoutProperties(props, _excluded$45);
|
|
7636
7637
|
const { name, width, props: propProps } = autocompleteProps;
|
|
7637
7638
|
const [value, setValue] = useState(getInitialValue(multiple, propValue));
|
|
7638
7639
|
const [pendingValue, setPendingValue] = useState(getInitialValue(multiple, propValue));
|
|
@@ -7676,7 +7677,7 @@ const AutocompleteGroup = (props) => {
|
|
|
7676
7677
|
};
|
|
7677
7678
|
//#endregion
|
|
7678
7679
|
//#region src/core/Autocomplete/components/AutocompleteMultiColumn/style.ts
|
|
7679
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
7680
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__$22() {
|
|
7680
7681
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
7681
7682
|
}
|
|
7682
7683
|
const doNotForwardProps$42 = [
|
|
@@ -7740,7 +7741,7 @@ const StyledPaper$3 = /*#__PURE__*/ _styled(Paper, {
|
|
|
7740
7741
|
const StyledAutocompleteGroupWrapper = /*#__PURE__*/ _styled("div", { target: "e48e76h1" })({
|
|
7741
7742
|
name: "zjik7",
|
|
7742
7743
|
styles: "display:flex",
|
|
7743
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
7744
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$22
|
|
7744
7745
|
});
|
|
7745
7746
|
const StyledAutocompleteInput = /*#__PURE__*/ _styled(InputSearch, {
|
|
7746
7747
|
shouldForwardProp: (prop) => !doNotForwardProps$42.includes(prop),
|
|
@@ -7788,7 +7789,7 @@ const VerticalDivider = ({ icon }) => {
|
|
|
7788
7789
|
};
|
|
7789
7790
|
//#endregion
|
|
7790
7791
|
//#region src/core/Autocomplete/components/AutocompleteMultiColumn/index.tsx
|
|
7791
|
-
const _excluded$
|
|
7792
|
+
const _excluded$44 = [
|
|
7792
7793
|
"InputBaseProps",
|
|
7793
7794
|
"open",
|
|
7794
7795
|
"PopperPlacement",
|
|
@@ -7808,7 +7809,7 @@ const _excluded$42 = [
|
|
|
7808
7809
|
];
|
|
7809
7810
|
const AutocompleteMultiColumn = (props) => {
|
|
7810
7811
|
var _theme$app;
|
|
7811
|
-
const { InputBaseProps, open, PopperPlacement = "bottom-start", PopperBaseProps, search = false, label = "Search", onClickAway, onClick, ClickAwayListenerProps, options, onInputChange, onBlur, multiple, value: parentInitialValue, onChange, PopperComponent = StyledPopper } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
7812
|
+
const { InputBaseProps, open, PopperPlacement = "bottom-start", PopperBaseProps, search = false, label = "Search", onClickAway, onClick, ClickAwayListenerProps, options, onInputChange, onBlur, multiple, value: parentInitialValue, onChange, PopperComponent = StyledPopper } = props, rest = _objectWithoutProperties(props, _excluded$44);
|
|
7812
7813
|
const theme = useTheme();
|
|
7813
7814
|
const isOpenControlled = open !== void 0;
|
|
7814
7815
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -7996,13 +7997,13 @@ const AutocompleteMultiColumn = (props) => {
|
|
|
7996
7997
|
};
|
|
7997
7998
|
//#endregion
|
|
7998
7999
|
//#region src/core/Autocomplete/index.tsx
|
|
7999
|
-
const _excluded$
|
|
8000
|
+
const _excluded$43 = [
|
|
8000
8001
|
"options",
|
|
8001
8002
|
"value",
|
|
8002
8003
|
"onChange"
|
|
8003
8004
|
];
|
|
8004
8005
|
const Autocomplete = (props) => {
|
|
8005
|
-
const { options, value, onChange } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
8006
|
+
const { options, value, onChange } = props, rest = _objectWithoutProperties(props, _excluded$43);
|
|
8006
8007
|
if (options && !!options[0] && "options" in options[0]) if (options.length > 1) return /* @__PURE__ */ jsx(AutocompleteMultiColumn, _objectSpread2(_objectSpread2({
|
|
8007
8008
|
options,
|
|
8008
8009
|
value,
|
|
@@ -8021,13 +8022,13 @@ const Autocomplete = (props) => {
|
|
|
8021
8022
|
};
|
|
8022
8023
|
//#endregion
|
|
8023
8024
|
//#region src/core/Banner/style.ts
|
|
8024
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
8025
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__$21() {
|
|
8025
8026
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
8026
8027
|
}
|
|
8027
8028
|
const Centered = /*#__PURE__*/ _styled("div", { target: "e15g05664" })({
|
|
8028
8029
|
name: "qke47e",
|
|
8029
8030
|
styles: "flex:1 1 auto;display:flex;justify-content:center;align-items:center",
|
|
8030
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
8031
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$21
|
|
8031
8032
|
});
|
|
8032
8033
|
const doNotForwardPropsIconWrapper = ["bannerType", "intent"];
|
|
8033
8034
|
const IconWrapper$1 = /*#__PURE__*/ _styled("div", {
|
|
@@ -8122,7 +8123,7 @@ const StyledBanner = /*#__PURE__*/ _styled("div", {
|
|
|
8122
8123
|
}, ";");
|
|
8123
8124
|
//#endregion
|
|
8124
8125
|
//#region src/core/Banner/index.tsx
|
|
8125
|
-
const _excluded$
|
|
8126
|
+
const _excluded$42 = [
|
|
8126
8127
|
"children",
|
|
8127
8128
|
"dismissed",
|
|
8128
8129
|
"dismissible",
|
|
@@ -8133,7 +8134,7 @@ const _excluded$40 = [
|
|
|
8133
8134
|
"intent"
|
|
8134
8135
|
];
|
|
8135
8136
|
const Banner = forwardRef(function Banner(props, ref) {
|
|
8136
|
-
const { children, dismissed, dismissible = true, onClose, sdsType, icon, sdsIconProps, intent = "info" } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
8137
|
+
const { children, dismissed, dismissible = true, onClose, sdsType, icon, sdsIconProps, intent = "info" } = props, rest = _objectWithoutProperties(props, _excluded$42);
|
|
8137
8138
|
const [wasDismissed, setWasDismissed] = useState(false);
|
|
8138
8139
|
if (dismissed || wasDismissed) return null;
|
|
8139
8140
|
const handleClose = (e) => {
|
|
@@ -8216,10 +8217,6 @@ const SDS_WARNINGS = {
|
|
|
8216
8217
|
hasWarned: false,
|
|
8217
8218
|
message: "Warning: ButtonGroup vertical orientation is only available when all buttons are icon-only. Falling back to horizontal orientation."
|
|
8218
8219
|
},
|
|
8219
|
-
["chipDeprecated"]: {
|
|
8220
|
-
hasWarned: false,
|
|
8221
|
-
message: "Warning: <Chip /> will be deprecated and replaced with <Tag />"
|
|
8222
|
-
},
|
|
8223
8220
|
["menuSelectDeprecated"]: {
|
|
8224
8221
|
hasWarned: false,
|
|
8225
8222
|
message: "Warning: MenuSelect will be deprecated and replaced with <DropdownMenu />"
|
|
@@ -8260,7 +8257,7 @@ const showWarningIfFirstOccurence = (warningType) => {
|
|
|
8260
8257
|
};
|
|
8261
8258
|
//#endregion
|
|
8262
8259
|
//#region src/core/ButtonDropdown/index.tsx
|
|
8263
|
-
const _excluded$
|
|
8260
|
+
const _excluded$41 = [
|
|
8264
8261
|
"size",
|
|
8265
8262
|
"sdsType",
|
|
8266
8263
|
"children"
|
|
@@ -8269,7 +8266,7 @@ const _excluded$39 = [
|
|
|
8269
8266
|
* @see https://mui.com/material-ui/react-button/
|
|
8270
8267
|
*/
|
|
8271
8268
|
const ButtonDropdown = React.forwardRef((props, ref) => {
|
|
8272
|
-
const { size = "large", sdsType, children } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
8269
|
+
const { size = "large", sdsType, children } = props, rest = _objectWithoutProperties(props, _excluded$41);
|
|
8273
8270
|
if (sdsType === "destructive") {
|
|
8274
8271
|
showWarningIfFirstOccurence("buttonDropdownV2Destructive");
|
|
8275
8272
|
return null;
|
|
@@ -8490,13 +8487,13 @@ const StyledButtonToggle = /*#__PURE__*/ _styled(Button, {
|
|
|
8490
8487
|
}, ";");
|
|
8491
8488
|
//#endregion
|
|
8492
8489
|
//#region src/core/ButtonToggle/index.tsx
|
|
8493
|
-
const _excluded$
|
|
8490
|
+
const _excluded$40 = ["startIcon"];
|
|
8494
8491
|
/**
|
|
8495
8492
|
* @see https://mui.com/material-ui/react-button/
|
|
8496
8493
|
*/
|
|
8497
8494
|
const ButtonToggle = React.forwardRef((props, ref) => {
|
|
8498
8495
|
const { startIcon } = props;
|
|
8499
|
-
return /* @__PURE__ */ jsx(StyledButtonToggle, _objectSpread2(_objectSpread2({}, _objectWithoutProperties(props, _excluded$
|
|
8496
|
+
return /* @__PURE__ */ jsx(StyledButtonToggle, _objectSpread2(_objectSpread2({}, _objectWithoutProperties(props, _excluded$40)), {}, {
|
|
8500
8497
|
startIcon,
|
|
8501
8498
|
endIcon: null,
|
|
8502
8499
|
backgroundOnHover: true,
|
|
@@ -8505,7 +8502,7 @@ const ButtonToggle = React.forwardRef((props, ref) => {
|
|
|
8505
8502
|
});
|
|
8506
8503
|
//#endregion
|
|
8507
8504
|
//#region src/core/ButtonGroup/index.tsx
|
|
8508
|
-
const _excluded$
|
|
8505
|
+
const _excluded$39 = [
|
|
8509
8506
|
"sdsType",
|
|
8510
8507
|
"size",
|
|
8511
8508
|
"orientation",
|
|
@@ -8560,7 +8557,7 @@ const cloneChildrenWithSize = (children, size) => {
|
|
|
8560
8557
|
* Note: Vertical orientation is only available when all buttons are icon-only.
|
|
8561
8558
|
*/
|
|
8562
8559
|
const ButtonGroup = React.forwardRef((props, ref) => {
|
|
8563
|
-
const { sdsType = "primary", size = "large", orientation = "horizontal", children } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
8560
|
+
const { sdsType = "primary", size = "large", orientation = "horizontal", children } = props, rest = _objectWithoutProperties(props, _excluded$39);
|
|
8564
8561
|
const allIconOnly = areAllButtonsIconOnly(children);
|
|
8565
8562
|
const effectiveOrientation = allIconOnly ? orientation : "horizontal";
|
|
8566
8563
|
if (orientation === "vertical" && !allIconOnly) showWarningIfFirstOccurence("ButtonGroupVerticalOrientation");
|
|
@@ -8595,13 +8592,13 @@ const tertiary = (props) => {
|
|
|
8595
8592
|
const semanticColors = getSemanticColors(props);
|
|
8596
8593
|
return /*#__PURE__*/ css("color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base9 = semanticColors.base) === null || _semanticColors$base9 === void 0 ? void 0 : _semanticColors$base9.ornamentSecondary, ";svg{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base10 = semanticColors.base) === null || _semanticColors$base10 === void 0 ? void 0 : _semanticColors$base10.ornamentSecondary, ";}&:hover{background:none;color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base11 = semanticColors.base) === null || _semanticColors$base11 === void 0 ? void 0 : _semanticColors$base11.ornamentSecondaryInteraction, ";svg{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base12 = semanticColors.base) === null || _semanticColors$base12 === void 0 ? void 0 : _semanticColors$base12.ornamentSecondaryInteraction, ";}}&:active{background:none;color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base13 = semanticColors.base) === null || _semanticColors$base13 === void 0 ? void 0 : _semanticColors$base13.ornamentSecondaryInteraction, ";svg{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base14 = semanticColors.base) === null || _semanticColors$base14 === void 0 ? void 0 : _semanticColors$base14.ornamentSecondaryInteraction, ";}}");
|
|
8597
8594
|
};
|
|
8598
|
-
const small
|
|
8595
|
+
const small = (props) => {
|
|
8599
8596
|
const { sdsType } = props;
|
|
8600
8597
|
const iconSizes = getIconSizes(props);
|
|
8601
8598
|
const spaces = getSpaces(props);
|
|
8602
8599
|
return /*#__PURE__*/ css(".MuiSvgIcon-root{height:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.height, "px;width:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.width, "px;", sdsType !== "tertiary" ? `margin: ${spaces === null || spaces === void 0 ? void 0 : spaces.xs}px;` : "", ";}");
|
|
8603
8600
|
};
|
|
8604
|
-
const medium
|
|
8601
|
+
const medium = (props) => {
|
|
8605
8602
|
const { sdsType } = props;
|
|
8606
8603
|
const iconSizes = getIconSizes(props);
|
|
8607
8604
|
const spaces = getSpaces(props);
|
|
@@ -8627,7 +8624,7 @@ const StyledButtonIcon = /*#__PURE__*/ _styled(IconButton, {
|
|
|
8627
8624
|
target: "e164i6480"
|
|
8628
8625
|
})("padding:0;", focusVisibleA11yStyle, " ", (props) => {
|
|
8629
8626
|
const { disabled, sdsSize = "medium", sdsType = "primary" } = props;
|
|
8630
|
-
return /*#__PURE__*/ css(sdsType === "primary" && primary$1(props), " ", sdsType === "secondary" && secondary$1(props), " ", sdsType === "tertiary" && tertiary(props), " ", disabled && isDisabled$1(props), " ", sdsSize === "small" && small
|
|
8627
|
+
return /*#__PURE__*/ css(sdsType === "primary" && primary$1(props), " ", sdsType === "secondary" && secondary$1(props), " ", sdsType === "tertiary" && tertiary(props), " ", disabled && isDisabled$1(props), " ", sdsSize === "small" && small(props), " ", sdsSize === "medium" && medium(props), " ", sdsSize === "large" && large(props), ";");
|
|
8631
8628
|
}, ";");
|
|
8632
8629
|
//#endregion
|
|
8633
8630
|
//#region src/core/ButtonIcon/index.tsx
|
|
@@ -8869,7 +8866,7 @@ const StyledButtonToggleLegacy = /*#__PURE__*/ _styled(ButtonIcon, {
|
|
|
8869
8866
|
}, ";");
|
|
8870
8867
|
//#endregion
|
|
8871
8868
|
//#region src/core/ButtonToggleLegacy/index.tsx
|
|
8872
|
-
const _excluded$
|
|
8869
|
+
const _excluded$38 = [
|
|
8873
8870
|
"icon",
|
|
8874
8871
|
"sdsSize",
|
|
8875
8872
|
"sdsStage",
|
|
@@ -8880,7 +8877,7 @@ const _excluded$36 = [
|
|
|
8880
8877
|
* @deprecated Use ButtonToggle instead. ButtonToggleLegacy will be removed in a future release.
|
|
8881
8878
|
*/
|
|
8882
8879
|
const ButtonToggleLegacy = React.forwardRef((props, ref) => {
|
|
8883
|
-
const { icon, sdsSize = "medium", sdsStage = "off", sdsType = "primary" } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
8880
|
+
const { icon, sdsSize = "medium", sdsStage = "off", sdsType = "primary" } = props, rest = _objectWithoutProperties(props, _excluded$38);
|
|
8884
8881
|
if (icon !== void 0) return /* @__PURE__ */ jsx(StyledButtonToggleLegacy, _objectSpread2({
|
|
8885
8882
|
icon,
|
|
8886
8883
|
sdsType,
|
|
@@ -9003,7 +9000,7 @@ const CalloutExtraContent = ({ children, hideTitle, hideBody }) => {
|
|
|
9003
9000
|
};
|
|
9004
9001
|
//#endregion
|
|
9005
9002
|
//#region src/core/Callout/index.tsx
|
|
9006
|
-
const _excluded$
|
|
9003
|
+
const _excluded$37 = [
|
|
9007
9004
|
"autoDismiss",
|
|
9008
9005
|
"dismissed",
|
|
9009
9006
|
"icon",
|
|
@@ -9024,7 +9021,7 @@ const SDS_STAGE_CLOSED = "closed";
|
|
|
9024
9021
|
* @see https://mui.com/material-ui/react-alert/
|
|
9025
9022
|
*/
|
|
9026
9023
|
const Callout = (props) => {
|
|
9027
|
-
const { autoDismiss, dismissed, icon, sdsIconProps, intent, sdsStage = SDS_STAGE_OPEN, title, body, hideTitle = false, hideBody = false, sdsStyle = "persistent", children, extraContent } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
9024
|
+
const { autoDismiss, dismissed, icon, sdsIconProps, intent, sdsStage = SDS_STAGE_OPEN, title, body, hideTitle = false, hideBody = false, sdsStyle = "persistent", children, extraContent } = props, rest = _objectWithoutProperties(props, _excluded$37);
|
|
9028
9025
|
const [hide, setHide] = useState(dismissed);
|
|
9029
9026
|
const [stage, setStage] = useState(sdsStage);
|
|
9030
9027
|
useEffect(() => {
|
|
@@ -9174,7 +9171,7 @@ const StyledComponentSlotWrapper = /*#__PURE__*/ _styled("div", { target: "e1j7j
|
|
|
9174
9171
|
}, ";");
|
|
9175
9172
|
//#endregion
|
|
9176
9173
|
//#region src/core/Tooltip/index.tsx
|
|
9177
|
-
const _excluded$
|
|
9174
|
+
const _excluded$36 = [
|
|
9178
9175
|
"arrowOffset",
|
|
9179
9176
|
"classes",
|
|
9180
9177
|
"hasInvertedStyle",
|
|
@@ -9195,7 +9192,7 @@ const _excluded$34 = [
|
|
|
9195
9192
|
* https://mui.com/components/tooltips/#disabled-elements
|
|
9196
9193
|
*/
|
|
9197
9194
|
const Tooltip = forwardRef(function Tooltip(props, ref) {
|
|
9198
|
-
const { arrowOffset, classes, hasInvertedStyle, inverted, sdsStyle, subtitle, title, width = "default", PopperComponent = StyledPopper$2, textAlign, componentSlot } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
9195
|
+
const { arrowOffset, classes, hasInvertedStyle, inverted, sdsStyle, subtitle, title, width = "default", PopperComponent = StyledPopper$2, textAlign, componentSlot } = props, rest = _objectWithoutProperties(props, _excluded$36);
|
|
9199
9196
|
const { children } = rest;
|
|
9200
9197
|
if (hasInvertedStyle !== void 0 || inverted !== void 0 || sdsStyle !== void 0) showWarningIfFirstOccurence("tooltipInvertStyle");
|
|
9201
9198
|
const extraProps = {
|
|
@@ -9245,7 +9242,7 @@ function mergeClass$1({ props, className, key }) {
|
|
|
9245
9242
|
const RowHoverContext = createContext({ isRowHovered: false });
|
|
9246
9243
|
//#endregion
|
|
9247
9244
|
//#region src/core/CellBasic/style.ts
|
|
9248
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
9245
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__$20() {
|
|
9249
9246
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
9250
9247
|
}
|
|
9251
9248
|
const doNotForwardProps$33 = [
|
|
@@ -9299,12 +9296,12 @@ const ShouldTruncate$1 = () => {
|
|
|
9299
9296
|
const StyledCellContent = /*#__PURE__*/ _styled("div", { target: "ekxclbn10" })({
|
|
9300
9297
|
name: "zjik7",
|
|
9301
9298
|
styles: "display:flex",
|
|
9302
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
9299
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$20
|
|
9303
9300
|
});
|
|
9304
9301
|
const StyledCellContentWrapper = /*#__PURE__*/ _styled("div", { target: "ekxclbn9" })({
|
|
9305
9302
|
name: "1d3w5wq",
|
|
9306
9303
|
styles: "width:100%",
|
|
9307
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$
|
|
9304
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$20
|
|
9308
9305
|
});
|
|
9309
9306
|
const StyledCellIconWrapper = /*#__PURE__*/ _styled("div", {
|
|
9310
9307
|
shouldForwardProp: (prop) => !doNotForwardProps$33.includes(prop),
|
|
@@ -9493,9 +9490,9 @@ const StyledCellComponentData = /*#__PURE__*/ _styled("div", { target: "e173l55i
|
|
|
9493
9490
|
}, ";");
|
|
9494
9491
|
//#endregion
|
|
9495
9492
|
//#region src/core/CellComponent/index.tsx
|
|
9496
|
-
const _excluded$
|
|
9493
|
+
const _excluded$35 = ["children", "as"];
|
|
9497
9494
|
const CellComponent = forwardRef((props, ref) => {
|
|
9498
|
-
const { children, as = "td" } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
9495
|
+
const { children, as = "td" } = props, rest = _objectWithoutProperties(props, _excluded$35);
|
|
9499
9496
|
return /* @__PURE__ */ jsx(StyledCellComponentData, _objectSpread2(_objectSpread2({
|
|
9500
9497
|
ref,
|
|
9501
9498
|
className: "cell-component",
|
|
@@ -9599,7 +9596,7 @@ const StyledCellHeaderContainer = /*#__PURE__*/ _styled("div", {
|
|
|
9599
9596
|
}, ";");
|
|
9600
9597
|
//#endregion
|
|
9601
9598
|
//#region src/core/CellHeader/index.tsx
|
|
9602
|
-
const _excluded$
|
|
9599
|
+
const _excluded$34 = [
|
|
9603
9600
|
"as",
|
|
9604
9601
|
"children",
|
|
9605
9602
|
"shouldShowTooltipOnHover",
|
|
@@ -9625,7 +9622,7 @@ const CellHeaderContent = (props) => {
|
|
|
9625
9622
|
});
|
|
9626
9623
|
};
|
|
9627
9624
|
const CellHeader = forwardRef((props, ref) => {
|
|
9628
|
-
const { as = "th", children, shouldShowTooltipOnHover = false, tooltipProps, tooltipText = "", tooltipSubtitle, hover = false } = props, rest = _objectWithoutProperties(props, _excluded$
|
|
9625
|
+
const { as = "th", children, shouldShowTooltipOnHover = false, tooltipProps, tooltipText = "", tooltipSubtitle, hover = false } = props, rest = _objectWithoutProperties(props, _excluded$34);
|
|
9629
9626
|
if (shouldShowTooltipOnHover && hover) return /* @__PURE__ */ jsx(Tooltip, _objectSpread2(_objectSpread2({
|
|
9630
9627
|
arrow: true,
|
|
9631
9628
|
placement: "top-start",
|
|
@@ -9646,106 +9643,238 @@ const CellHeader = forwardRef((props, ref) => {
|
|
|
9646
9643
|
}, rest), {}, { children: /* @__PURE__ */ jsx(CellHeaderContent, _objectSpread2(_objectSpread2({ hover }, props), {}, { children })) }));
|
|
9647
9644
|
});
|
|
9648
9645
|
//#endregion
|
|
9649
|
-
//#region src/core/
|
|
9650
|
-
|
|
9651
|
-
|
|
9652
|
-
|
|
9646
|
+
//#region src/core/Tag/style.ts
|
|
9647
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__$19() {
|
|
9648
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
9649
|
+
}
|
|
9650
|
+
const TAG_LABEL_TEXT_CLASS = "SdsTag-labelText";
|
|
9651
|
+
const TAG_LINK_ICON_CLASS = "SdsTag-linkIcon";
|
|
9652
|
+
const TAG_HEIGHTS = {
|
|
9653
|
+
medium: 24,
|
|
9654
|
+
small: 20
|
|
9653
9655
|
};
|
|
9654
|
-
const
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
return /*#__PURE__*/ css("margin:0 ", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;height:24px;background-color:", colors === null || colors === void 0 ? void 0 : colors.blue[400], ";&:hover{background-color:", colors === null || colors === void 0 ? void 0 : colors.blue[500], ";}&:active{background-color:", colors === null || colors === void 0 ? void 0 : colors.blue[600], ";}.MuiChip-label{", fontHeaderXs(props), " color:white;padding-left:", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;}.MuiChip-deleteIcon{color:white;padding-right:", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;margin:0 0 0 -", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;height:", spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;width:", spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;&:hover,&:focus-visible{color:white;}}");
|
|
9656
|
+
const OUTLINE_BORDER_OPACITY = {
|
|
9657
|
+
dark: .56,
|
|
9658
|
+
light: .28
|
|
9658
9659
|
};
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
9660
|
+
/**
|
|
9661
|
+
* MUI's color helpers throw on anything they cannot parse, such as a named
|
|
9662
|
+
* color or a CSS variable, so a custom color they cannot read is used as given.
|
|
9663
|
+
*/
|
|
9664
|
+
function safely(transform, color, amount) {
|
|
9665
|
+
try {
|
|
9666
|
+
return transform(color, amount);
|
|
9667
|
+
} catch (_unused) {
|
|
9668
|
+
return color;
|
|
9669
|
+
}
|
|
9670
|
+
}
|
|
9671
|
+
function disabledColors(props, sdsStyle) {
|
|
9672
|
+
var _getSemanticColors;
|
|
9673
|
+
const base = (_getSemanticColors = getSemanticColors(props)) === null || _getSemanticColors === void 0 ? void 0 : _getSemanticColors.base;
|
|
9674
|
+
return {
|
|
9675
|
+
background: sdsStyle === "solid" ? base === null || base === void 0 ? void 0 : base.fillDisabled : "transparent",
|
|
9676
|
+
border: sdsStyle === "outline" ? base === null || base === void 0 ? void 0 : base.borderPrimaryDisabled : void 0,
|
|
9677
|
+
icon: base === null || base === void 0 ? void 0 : base.ornamentDisabled,
|
|
9678
|
+
label: base === null || base === void 0 ? void 0 : base.textDisabled
|
|
9679
|
+
};
|
|
9680
|
+
}
|
|
9681
|
+
function intentColors(props, intent, sdsStyle) {
|
|
9682
|
+
var _semanticColors$accen, _semanticColors$inten, _getColors;
|
|
9683
|
+
const semanticColors = getSemanticColors(props);
|
|
9684
|
+
const base = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base;
|
|
9685
|
+
const palette = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors[intent];
|
|
9686
|
+
const disabled = disabledColors(props, sdsStyle);
|
|
9687
|
+
if (sdsStyle === "solid") {
|
|
9688
|
+
const onInteraction = {
|
|
9689
|
+
icon: base === null || base === void 0 ? void 0 : base.ornamentPrimaryInverse,
|
|
9690
|
+
label: base === null || base === void 0 ? void 0 : base.textPrimaryInverse
|
|
9691
|
+
};
|
|
9692
|
+
return {
|
|
9693
|
+
disabled,
|
|
9694
|
+
hover: _objectSpread2({ background: palette === null || palette === void 0 ? void 0 : palette.fillInteraction }, onInteraction),
|
|
9695
|
+
pressed: _objectSpread2({ background: palette === null || palette === void 0 ? void 0 : palette.fillPressed }, onInteraction),
|
|
9696
|
+
rest: {
|
|
9697
|
+
background: palette === null || palette === void 0 ? void 0 : palette.fillPrimary,
|
|
9698
|
+
icon: base === null || base === void 0 ? void 0 : base.ornamentOnFill,
|
|
9699
|
+
label: base === null || base === void 0 ? void 0 : base.textOnFill
|
|
9700
|
+
}
|
|
9701
|
+
};
|
|
9702
|
+
}
|
|
9703
|
+
const background = intent === "accent" ? semanticColors === null || semanticColors === void 0 || (_semanticColors$accen = semanticColors.accent) === null || _semanticColors$accen === void 0 ? void 0 : _semanticColors$accen.surfaceSecondary : semanticColors === null || semanticColors === void 0 || (_semanticColors$inten = semanticColors[intent]) === null || _semanticColors$inten === void 0 ? void 0 : _semanticColors$inten.fillSecondary;
|
|
9704
|
+
const borderBase = intent === "accent" ? (_getColors = getColors(props)) === null || _getColors === void 0 ? void 0 : _getColors.indigo[600] : palette === null || palette === void 0 ? void 0 : palette.foreground;
|
|
9705
|
+
const opacity = OUTLINE_BORDER_OPACITY[getMode(props)];
|
|
9706
|
+
const stateOf = (color) => ({
|
|
9707
|
+
background,
|
|
9708
|
+
border: color,
|
|
9709
|
+
icon: color,
|
|
9710
|
+
label: color
|
|
9711
|
+
});
|
|
9712
|
+
return {
|
|
9713
|
+
disabled,
|
|
9714
|
+
hover: stateOf(palette === null || palette === void 0 ? void 0 : palette.foregroundInteraction),
|
|
9715
|
+
pressed: stateOf(palette === null || palette === void 0 ? void 0 : palette.foregroundPressed),
|
|
9716
|
+
rest: _objectSpread2(_objectSpread2({}, stateOf(palette === null || palette === void 0 ? void 0 : palette.foreground)), {}, { border: borderBase ? safely(alpha, borderBase, opacity) : void 0 })
|
|
9717
|
+
};
|
|
9718
|
+
}
|
|
9719
|
+
function customColors(props, [label, background, icon = label], sdsStyle) {
|
|
9720
|
+
const disabled = disabledColors(props, sdsStyle);
|
|
9721
|
+
if (sdsStyle === "solid") {
|
|
9722
|
+
const rest = {
|
|
9723
|
+
background,
|
|
9724
|
+
icon,
|
|
9725
|
+
label
|
|
9726
|
+
};
|
|
9727
|
+
return {
|
|
9728
|
+
disabled,
|
|
9729
|
+
hover: _objectSpread2(_objectSpread2({}, rest), {}, { background: safely(emphasize, background, .15) }),
|
|
9730
|
+
pressed: _objectSpread2(_objectSpread2({}, rest), {}, { background: safely(emphasize, background, .3) }),
|
|
9731
|
+
rest
|
|
9732
|
+
};
|
|
9733
|
+
}
|
|
9734
|
+
const opacity = OUTLINE_BORDER_OPACITY[getMode(props)];
|
|
9735
|
+
const rest = {
|
|
9736
|
+
background,
|
|
9737
|
+
border: safely(alpha, label, opacity),
|
|
9738
|
+
icon,
|
|
9739
|
+
label
|
|
9740
|
+
};
|
|
9741
|
+
return {
|
|
9742
|
+
disabled,
|
|
9743
|
+
hover: _objectSpread2(_objectSpread2({}, rest), {}, { border: label }),
|
|
9744
|
+
pressed: _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
9745
|
+
background: safely(emphasize, background, .15),
|
|
9746
|
+
border: label
|
|
9747
|
+
}),
|
|
9748
|
+
rest
|
|
9749
|
+
};
|
|
9750
|
+
}
|
|
9751
|
+
function stateColors({ background, border, icon, label }) {
|
|
9752
|
+
return /*#__PURE__*/ css("background-color:", background, ";box-shadow:", border ? `inset 0 0 0 1px ${border}` : "none", ";color:", label, ";.MuiChip-label{color:", label, ";}.MuiChip-icon,.MuiChip-deleteIcon,.", TAG_LINK_ICON_CLASS, "{color:", icon, ";fill:", icon, ";}");
|
|
9753
|
+
}
|
|
9754
|
+
function interactiveStyles(props, colors) {
|
|
9755
|
+
return /*#__PURE__*/ css("cursor:pointer;", focusVisibleA11yStyle(props), " &:hover,&.Mui-focusVisible{", stateColors(colors.hover), ";}&:active{", stateColors(colors.pressed), ";}");
|
|
9756
|
+
}
|
|
9757
|
+
var _ref$3 = {
|
|
9758
|
+
name: "7khdib",
|
|
9759
|
+
styles: ".MuiChip-label{border:0;clip-path:inset(50%);height:1px;margin:-1px;position:absolute;width:1px;}",
|
|
9760
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$19
|
|
9662
9761
|
};
|
|
9663
|
-
|
|
9762
|
+
function sizeStyles(props) {
|
|
9763
|
+
const { iconOnly = false, size = "medium" } = props;
|
|
9764
|
+
const spaces = getSpaces(props);
|
|
9664
9765
|
const corners = getCorners(props);
|
|
9665
|
-
|
|
9666
|
-
|
|
9667
|
-
const
|
|
9668
|
-
return
|
|
9669
|
-
}
|
|
9670
|
-
const
|
|
9671
|
-
|
|
9672
|
-
|
|
9673
|
-
|
|
9674
|
-
|
|
9675
|
-
|
|
9676
|
-
const
|
|
9677
|
-
return createStatusCss(props, "pending");
|
|
9678
|
-
};
|
|
9679
|
-
const warning = (props) => {
|
|
9680
|
-
return createStatusCss(props, "warning");
|
|
9681
|
-
};
|
|
9682
|
-
const info = (props) => {
|
|
9683
|
-
return createStatusCss(props, "info");
|
|
9684
|
-
};
|
|
9685
|
-
function createStatusCss(props, status) {
|
|
9686
|
-
var _semanticColors$beta, _semanticColors$beta2, _semanticColors$negat, _semanticColors$negat2, _semanticColors$info, _semanticColors$info2, _semanticColors$neutr, _semanticColors$neutr2, _semanticColors$posit, _semanticColors$posit2, _semanticColors$notic;
|
|
9687
|
-
const colors = getColors(props);
|
|
9688
|
-
const semanticColors = getSemanticColors(props);
|
|
9689
|
-
if (!colors) return;
|
|
9690
|
-
const statusColors = {
|
|
9691
|
-
beta: {
|
|
9692
|
-
dark: semanticColors === null || semanticColors === void 0 || (_semanticColors$beta = semanticColors.beta) === null || _semanticColors$beta === void 0 ? void 0 : _semanticColors$beta.foreground,
|
|
9693
|
-
light: semanticColors === null || semanticColors === void 0 || (_semanticColors$beta2 = semanticColors.beta) === null || _semanticColors$beta2 === void 0 ? void 0 : _semanticColors$beta2.surfaceSecondary
|
|
9694
|
-
},
|
|
9695
|
-
error: {
|
|
9696
|
-
dark: semanticColors === null || semanticColors === void 0 || (_semanticColors$negat = semanticColors.negative) === null || _semanticColors$negat === void 0 ? void 0 : _semanticColors$negat.foreground,
|
|
9697
|
-
light: semanticColors === null || semanticColors === void 0 || (_semanticColors$negat2 = semanticColors.negative) === null || _semanticColors$negat2 === void 0 ? void 0 : _semanticColors$negat2.surfaceSecondary
|
|
9698
|
-
},
|
|
9699
|
-
info: {
|
|
9700
|
-
dark: semanticColors === null || semanticColors === void 0 || (_semanticColors$info = semanticColors.info) === null || _semanticColors$info === void 0 ? void 0 : _semanticColors$info.foreground,
|
|
9701
|
-
light: semanticColors === null || semanticColors === void 0 || (_semanticColors$info2 = semanticColors.info) === null || _semanticColors$info2 === void 0 ? void 0 : _semanticColors$info2.surfaceSecondary
|
|
9702
|
-
},
|
|
9703
|
-
pending: {
|
|
9704
|
-
dark: semanticColors === null || semanticColors === void 0 || (_semanticColors$neutr = semanticColors.neutral) === null || _semanticColors$neutr === void 0 ? void 0 : _semanticColors$neutr.foreground,
|
|
9705
|
-
light: semanticColors === null || semanticColors === void 0 || (_semanticColors$neutr2 = semanticColors.neutral) === null || _semanticColors$neutr2 === void 0 ? void 0 : _semanticColors$neutr2.surfaceSecondary
|
|
9706
|
-
},
|
|
9707
|
-
success: {
|
|
9708
|
-
dark: semanticColors === null || semanticColors === void 0 || (_semanticColors$posit = semanticColors.positive) === null || _semanticColors$posit === void 0 ? void 0 : _semanticColors$posit.foreground,
|
|
9709
|
-
light: semanticColors === null || semanticColors === void 0 || (_semanticColors$posit2 = semanticColors.positive) === null || _semanticColors$posit2 === void 0 ? void 0 : _semanticColors$posit2.surfaceSecondary
|
|
9710
|
-
},
|
|
9711
|
-
warning: {
|
|
9712
|
-
dark: colors === null || colors === void 0 ? void 0 : colors.yellow[700],
|
|
9713
|
-
light: semanticColors === null || semanticColors === void 0 || (_semanticColors$notic = semanticColors.notice) === null || _semanticColors$notic === void 0 ? void 0 : _semanticColors$notic.surfaceSecondary
|
|
9714
|
-
}
|
|
9715
|
-
}[status];
|
|
9716
|
-
return /*#__PURE__*/ css("background-color:", statusColors.light, ";.MuiChip-label{color:", statusColors.dark, ";}");
|
|
9717
|
-
}
|
|
9718
|
-
const statusToCss = {
|
|
9719
|
-
beta,
|
|
9720
|
-
error,
|
|
9721
|
-
info,
|
|
9722
|
-
pending,
|
|
9723
|
-
success,
|
|
9724
|
-
warning
|
|
9725
|
-
};
|
|
9726
|
-
const doNotForwardProps$31 = ["isRounded"];
|
|
9727
|
-
const StyledChip = /*#__PURE__*/ _styled(Chip$1, {
|
|
9766
|
+
const iconSizes = getIconSizes(props);
|
|
9767
|
+
const height = TAG_HEIGHTS[size];
|
|
9768
|
+
const iconSize = size === "small" ? iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.xxs : iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.xs;
|
|
9769
|
+
return /*#__PURE__*/ css(size === "small" ? fontBodyXxxxs(props) : fontBodyXs(props), " gap:", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;height:", height, "px;", iconOnly ? /*#__PURE__*/ css("border-radius:", corners === null || corners === void 0 ? void 0 : corners.m, "px;padding:0;width:", height, "px;") : /*#__PURE__*/ css("border-radius:", corners === null || corners === void 0 ? void 0 : corners.rounded, "px;padding:0 ", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;"), " .MuiChip-icon,.MuiChip-deleteIcon,.", TAG_LINK_ICON_CLASS, "{flex-shrink:0;height:", iconSize === null || iconSize === void 0 ? void 0 : iconSize.height, "px;margin:0;width:", iconSize === null || iconSize === void 0 ? void 0 : iconSize.width, "px;}.MuiChip-label{align-items:center;display:flex;gap:", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;min-width:0;overflow:hidden;padding:0;}.", TAG_LABEL_TEXT_CLASS, "{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}", iconOnly && _ref$3, ";");
|
|
9770
|
+
}
|
|
9771
|
+
const doNotForwardProps$31 = [
|
|
9772
|
+
"iconOnly",
|
|
9773
|
+
"isInteractive",
|
|
9774
|
+
"sdsStyle",
|
|
9775
|
+
"tagColor"
|
|
9776
|
+
];
|
|
9777
|
+
const StyledTag$4 = /*#__PURE__*/ _styled(Chip$1, {
|
|
9728
9778
|
shouldForwardProp: (prop) => !doNotForwardProps$31.includes(prop),
|
|
9729
|
-
target: "
|
|
9730
|
-
})("border:none;", (props) => {
|
|
9731
|
-
const {
|
|
9732
|
-
|
|
9779
|
+
target: "esrfbz40"
|
|
9780
|
+
})("border:none;box-sizing:border-box;max-width:100%;position:relative;", (props) => {
|
|
9781
|
+
const { isInteractive = false, sdsStyle = "solid", tagColor = "neutral" } = props;
|
|
9782
|
+
const colors = Array.isArray(tagColor) ? customColors(props, tagColor, sdsStyle) : intentColors(props, tagColor, sdsStyle);
|
|
9783
|
+
return /*#__PURE__*/ css(sizeStyles(props), " ", stateColors(colors.rest), " ", isInteractive && interactiveStyles(props, colors), " &.Mui-disabled{opacity:1;", stateColors(colors.disabled), ";}");
|
|
9784
|
+
}, ";");
|
|
9785
|
+
//#endregion
|
|
9786
|
+
//#region src/core/Tag/index.tsx
|
|
9787
|
+
const _excluded$33 = [
|
|
9788
|
+
"clickable",
|
|
9789
|
+
"color",
|
|
9790
|
+
"component",
|
|
9791
|
+
"href",
|
|
9792
|
+
"icon",
|
|
9793
|
+
"iconOnly",
|
|
9794
|
+
"label",
|
|
9795
|
+
"onClick",
|
|
9796
|
+
"rel",
|
|
9797
|
+
"sdsStyle",
|
|
9798
|
+
"showLinkIcon",
|
|
9799
|
+
"size",
|
|
9800
|
+
"target"
|
|
9801
|
+
];
|
|
9802
|
+
/**
|
|
9803
|
+
* @see https://mui.com/material-ui/react-chip/
|
|
9804
|
+
*/
|
|
9805
|
+
const Tag = forwardRef((props, ref) => {
|
|
9806
|
+
const { clickable, color = "neutral", component, href, icon, iconOnly = false, label, onClick, rel, sdsStyle = "solid", showLinkIcon = false, size = "medium", target } = props, rest = _objectWithoutProperties(props, _excluded$33);
|
|
9807
|
+
const isLink = Boolean(href);
|
|
9808
|
+
const isIconOnly = iconOnly && Boolean(icon);
|
|
9809
|
+
const isClickable = clickable !== null && clickable !== void 0 ? clickable : isLink || Boolean(onClick) ? true : void 0;
|
|
9810
|
+
const linkProps = isLink ? {
|
|
9811
|
+
href,
|
|
9812
|
+
rel: rel !== null && rel !== void 0 ? rel : target === "_blank" ? "noopener noreferrer" : void 0,
|
|
9813
|
+
target
|
|
9814
|
+
} : {};
|
|
9815
|
+
return /* @__PURE__ */ jsx(StyledTag$4, _objectSpread2(_objectSpread2(_objectSpread2({ ref }, rest), linkProps), {}, {
|
|
9816
|
+
clickable: isClickable,
|
|
9817
|
+
color: "default",
|
|
9818
|
+
component: component !== null && component !== void 0 ? component : isLink ? "a" : void 0,
|
|
9819
|
+
icon,
|
|
9820
|
+
iconOnly: isIconOnly,
|
|
9821
|
+
isInteractive: Boolean(isClickable),
|
|
9822
|
+
label: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
|
|
9823
|
+
className: TAG_LABEL_TEXT_CLASS,
|
|
9824
|
+
children: label
|
|
9825
|
+
}), showLinkIcon && !isIconOnly && /* @__PURE__ */ jsx(ArrowUpRightIcon, {
|
|
9826
|
+
weight: "bold",
|
|
9827
|
+
"aria-hidden": true,
|
|
9828
|
+
className: "SdsTag-linkIcon"
|
|
9829
|
+
})] }),
|
|
9830
|
+
onClick,
|
|
9831
|
+
sdsStyle,
|
|
9832
|
+
size,
|
|
9833
|
+
tagColor: color,
|
|
9834
|
+
variant: "filled"
|
|
9835
|
+
}));
|
|
9836
|
+
});
|
|
9837
|
+
//#endregion
|
|
9838
|
+
//#region src/core/Chip/style.ts
|
|
9839
|
+
const StyledChip = /*#__PURE__*/ _styled(Tag, { target: "edxh7710" })((props) => {
|
|
9840
|
+
const spaces = getSpaces(props);
|
|
9841
|
+
const corners = getCorners(props);
|
|
9842
|
+
return /*#__PURE__*/ css("border-radius:", corners === null || corners === void 0 ? void 0 : corners.m, "px;padding:0 ", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;");
|
|
9733
9843
|
}, ";");
|
|
9734
9844
|
//#endregion
|
|
9735
9845
|
//#region src/core/Chip/index.tsx
|
|
9846
|
+
const _excluded$32 = [
|
|
9847
|
+
"aria-label",
|
|
9848
|
+
"label",
|
|
9849
|
+
"onClick",
|
|
9850
|
+
"onDelete",
|
|
9851
|
+
"sdsStyle"
|
|
9852
|
+
];
|
|
9736
9853
|
/**
|
|
9737
9854
|
* @see https://mui.com/material-ui/react-chip/
|
|
9738
|
-
*
|
|
9739
|
-
* @deprecated
|
|
9740
|
-
* This component is deprecated and will be removed in the next major version.
|
|
9741
|
-
* Please use `Tag` or `TagFilter` instead.
|
|
9742
9855
|
*/
|
|
9743
|
-
const Chip = (props) => {
|
|
9744
|
-
|
|
9745
|
-
const
|
|
9746
|
-
|
|
9747
|
-
|
|
9748
|
-
};
|
|
9856
|
+
const Chip = forwardRef((props, ref) => {
|
|
9857
|
+
const { "aria-label": ariaLabel, label, onClick, onDelete, sdsStyle = "solid" } = props, rest = _objectWithoutProperties(props, _excluded$32);
|
|
9858
|
+
const handleClick = (event) => {
|
|
9859
|
+
onClick === null || onClick === void 0 || onClick(event);
|
|
9860
|
+
onDelete(event);
|
|
9861
|
+
};
|
|
9862
|
+
return /* @__PURE__ */ jsx(StyledChip, _objectSpread2(_objectSpread2({
|
|
9863
|
+
ref,
|
|
9864
|
+
"aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : `Remove ${label}`
|
|
9865
|
+
}, rest), {}, {
|
|
9866
|
+
color: "accent",
|
|
9867
|
+
deleteIcon: /* @__PURE__ */ jsx(Icon, {
|
|
9868
|
+
sdsIcon: "XMark",
|
|
9869
|
+
sdsSize: "xs"
|
|
9870
|
+
}),
|
|
9871
|
+
label,
|
|
9872
|
+
onClick: handleClick,
|
|
9873
|
+
onDelete,
|
|
9874
|
+
sdsStyle,
|
|
9875
|
+
size: "medium"
|
|
9876
|
+
}));
|
|
9877
|
+
});
|
|
9749
9878
|
//#endregion
|
|
9750
9879
|
//#region src/core/DropdownMenu/style.ts
|
|
9751
9880
|
const doNotForwardProps$30 = [
|
|
@@ -10603,154 +10732,6 @@ const Dropdown = (props) => {
|
|
|
10603
10732
|
}) : null }))] });
|
|
10604
10733
|
};
|
|
10605
10734
|
//#endregion
|
|
10606
|
-
//#region src/core/Tag/style.ts
|
|
10607
|
-
const tagSizeS = (props) => {
|
|
10608
|
-
var _semanticColors$base;
|
|
10609
|
-
const spaces = getSpaces(props);
|
|
10610
|
-
const iconSizes = getIconSizes(props);
|
|
10611
|
-
const semanticColors = getSemanticColors(props);
|
|
10612
|
-
return /*#__PURE__*/ css("height:unset;.MuiChip-label{", fontBodyXxxs(props), " padding:0;}.MuiSvgIcon-root{height:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.xs.height, "px;width:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.xs.width, "px;margin:0 ", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px 0 0;}.MuiChip-deleteIcon{", fontHeaderXs(props), " color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.ornamentPrimaryInverse, ";margin:0 0 0 ", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;height:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.height, "px;width:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.width, "px;}");
|
|
10613
|
-
};
|
|
10614
|
-
const tagSizeL = (props) => {
|
|
10615
|
-
var _semanticColors$base2;
|
|
10616
|
-
const spaces = getSpaces(props);
|
|
10617
|
-
const iconSizes = getIconSizes(props);
|
|
10618
|
-
const semanticColors = getSemanticColors(props);
|
|
10619
|
-
return /*#__PURE__*/ css("height:unset;.MuiChip-label{", fontBodyXs(props), " padding:0;}.MuiSvgIcon-root{height:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.l.height, "px;width:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.l.width, "px;margin:0 ", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px 0 0px;}.MuiChip-deleteIcon{", fontHeaderXs(props), " color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.ornamentPrimaryInverse, ";margin:0 0 0 ", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;height:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.height, "px;width:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.width, "px;}");
|
|
10620
|
-
};
|
|
10621
|
-
const rounded = (props) => {
|
|
10622
|
-
const corners = getCorners(props);
|
|
10623
|
-
const spaces = getSpaces(props);
|
|
10624
|
-
const { sdsSize = "s", icon } = props;
|
|
10625
|
-
const topBottomPadding = sdsSize === "s" ? spaces === null || spaces === void 0 ? void 0 : spaces.xxxs : icon ? spaces === null || spaces === void 0 ? void 0 : spaces.xxs : spaces === null || spaces === void 0 ? void 0 : spaces.xs;
|
|
10626
|
-
const rightPadding = sdsSize === "l" && icon ? spaces === null || spaces === void 0 ? void 0 : spaces.s : spaces === null || spaces === void 0 ? void 0 : spaces.xs;
|
|
10627
|
-
return /*#__PURE__*/ css("border-radius:", corners === null || corners === void 0 ? void 0 : corners.rounded, "px;padding:", topBottomPadding, "px ", rightPadding, "px ", topBottomPadding, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;&:after{content:\"\";border-radius:", corners === null || corners === void 0 ? void 0 : corners.rounded, "px;}");
|
|
10628
|
-
};
|
|
10629
|
-
const square = (props) => {
|
|
10630
|
-
const corners = getCorners(props);
|
|
10631
|
-
const spaces = getSpaces(props);
|
|
10632
|
-
const { sdsSize = "s", icon } = props;
|
|
10633
|
-
const topBottomPadding = sdsSize === "s" ? spaces === null || spaces === void 0 ? void 0 : spaces.xxxs : icon ? spaces === null || spaces === void 0 ? void 0 : spaces.xxs : spaces === null || spaces === void 0 ? void 0 : spaces.xs;
|
|
10634
|
-
return /*#__PURE__*/ css("border-radius:", corners === null || corners === void 0 ? void 0 : corners.m, "px;padding:", topBottomPadding, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;&:after{content:\"\";border-radius:", corners === null || corners === void 0 ? void 0 : corners.m, "px;}");
|
|
10635
|
-
};
|
|
10636
|
-
const withHover = (props) => {
|
|
10637
|
-
var _semanticColors$base3;
|
|
10638
|
-
const semanticColors = getSemanticColors(props);
|
|
10639
|
-
return /*#__PURE__*/ css("&:hover{cursor:pointer;}&:hover,&:focus-visible{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base3 = semanticColors.base) === null || _semanticColors$base3 === void 0 ? void 0 : _semanticColors$base3.textPrimaryInverse, ";}");
|
|
10640
|
-
};
|
|
10641
|
-
const primary = (props) => {
|
|
10642
|
-
return createTypeCss(props, "primary");
|
|
10643
|
-
};
|
|
10644
|
-
const secondary = (props) => {
|
|
10645
|
-
return createTypeCss(props, "secondary");
|
|
10646
|
-
};
|
|
10647
|
-
function generatePrimaryTagColors(intent, colors, semanticColors) {
|
|
10648
|
-
var _semanticColors$base4, _semanticColors$base5, _semanticColors$neutr;
|
|
10649
|
-
const intentColors = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors[intent || "neutral"];
|
|
10650
|
-
const hasCustomColors = colors.length >= 2;
|
|
10651
|
-
return {
|
|
10652
|
-
background: hasCustomColors ? colors[1] : intentColors === null || intentColors === void 0 ? void 0 : intentColors.fillPrimary,
|
|
10653
|
-
backgroundClicked: hasCustomColors ? darken(colors[1], .3) : intentColors === null || intentColors === void 0 ? void 0 : intentColors.fillPressed,
|
|
10654
|
-
backgroundHover: hasCustomColors ? darken(colors[1], .15) : intentColors === null || intentColors === void 0 ? void 0 : intentColors.fillInteraction,
|
|
10655
|
-
iconColor: hasCustomColors ? colors[2] : semanticColors === null || semanticColors === void 0 || (_semanticColors$base4 = semanticColors.base) === null || _semanticColors$base4 === void 0 ? void 0 : _semanticColors$base4.ornamentOnFill,
|
|
10656
|
-
label: colors.length > 0 ? colors[0] : semanticColors === null || semanticColors === void 0 || (_semanticColors$base5 = semanticColors.base) === null || _semanticColors$base5 === void 0 ? void 0 : _semanticColors$base5.textOnFill,
|
|
10657
|
-
borderColor: alpha((semanticColors === null || semanticColors === void 0 || (_semanticColors$neutr = semanticColors.neutral) === null || _semanticColors$neutr === void 0 ? void 0 : _semanticColors$neutr.foreground) || "#000", .6)
|
|
10658
|
-
};
|
|
10659
|
-
}
|
|
10660
|
-
function getSecondaryBorderColor(effectiveIntent, theme, intentColors) {
|
|
10661
|
-
if (!theme || !theme.palette) return alpha((intentColors === null || intentColors === void 0 ? void 0 : intentColors.foreground) || "#000", .6);
|
|
10662
|
-
if (effectiveIntent === "negative" && theme.palette.mode === "dark") return alpha((intentColors === null || intentColors === void 0 ? void 0 : intentColors.foreground) || "#000", .65);
|
|
10663
|
-
if (effectiveIntent === "notice" && theme.palette.mode === "light") return alpha((intentColors === null || intentColors === void 0 ? void 0 : intentColors.foreground) || "#000", .85);
|
|
10664
|
-
return alpha((intentColors === null || intentColors === void 0 ? void 0 : intentColors.foreground) || "#000", .6);
|
|
10665
|
-
}
|
|
10666
|
-
function generateSecondaryTagColors(intent, colors, semanticColors, theme = defaultTheme) {
|
|
10667
|
-
const effectiveIntent = intent || "neutral";
|
|
10668
|
-
const intentColors = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors[effectiveIntent];
|
|
10669
|
-
const hasCustomColors = colors.length >= 2;
|
|
10670
|
-
return {
|
|
10671
|
-
background: hasCustomColors ? colors[1] : intentColors === null || intentColors === void 0 ? void 0 : intentColors.fillSecondary,
|
|
10672
|
-
backgroundClicked: hasCustomColors ? darken(colors[1], .3) : intentColors === null || intentColors === void 0 ? void 0 : intentColors.fillPressed,
|
|
10673
|
-
backgroundHover: hasCustomColors ? darken(colors[1], .15) : intentColors === null || intentColors === void 0 ? void 0 : intentColors.fillInteraction,
|
|
10674
|
-
iconColor: hasCustomColors ? colors[2] : intentColors === null || intentColors === void 0 ? void 0 : intentColors.foreground,
|
|
10675
|
-
label: colors.length > 0 ? colors[0] : intentColors === null || intentColors === void 0 ? void 0 : intentColors.foreground,
|
|
10676
|
-
borderColor: hasCustomColors ? alpha(colors[1], .6) : getSecondaryBorderColor(effectiveIntent, theme, intentColors)
|
|
10677
|
-
};
|
|
10678
|
-
}
|
|
10679
|
-
function createTypeCss(props, type) {
|
|
10680
|
-
var _semanticColors$base6, _semanticColors$base7;
|
|
10681
|
-
const semanticColors = getSemanticColors(props);
|
|
10682
|
-
const intent = typeof props.tagColor === "string" ? props.tagColor : null;
|
|
10683
|
-
const colors = Array.isArray(props.tagColor) ? [...props.tagColor] : [];
|
|
10684
|
-
const typeColors = {
|
|
10685
|
-
primary: generatePrimaryTagColors(intent, colors, semanticColors),
|
|
10686
|
-
secondary: generateSecondaryTagColors(intent, colors, semanticColors, props.theme)
|
|
10687
|
-
}[type];
|
|
10688
|
-
return /*#__PURE__*/ css(focusVisibleA11yStyle(props), " ", type === "secondary" && /*#__PURE__*/ css("box-shadow:inset 0 0 0 1px ", typeColors.borderColor, ";"), " background-color:", typeColors.background, ";position:relative;.MuiChip-label{color:", typeColors.label, ";}svg{fill:", typeColors.iconColor, ";}&:hover,&:active{box-shadow:none;.MuiChip-label{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base6 = semanticColors.base) === null || _semanticColors$base6 === void 0 ? void 0 : _semanticColors$base6.textPrimaryInverse, ";}svg{fill:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base7 = semanticColors.base) === null || _semanticColors$base7 === void 0 ? void 0 : _semanticColors$base7.ornamentPrimaryInverse, ";}}&:hover{background-color:", typeColors.backgroundHover, ";}&:active{background-color:", typeColors.backgroundClicked, ";}&.Mui-focusVisible{background-color:", typeColors.backgroundHover, ";}");
|
|
10689
|
-
}
|
|
10690
|
-
const typeToCss = {
|
|
10691
|
-
primary,
|
|
10692
|
-
secondary
|
|
10693
|
-
};
|
|
10694
|
-
const doNotForwardProps$27 = [
|
|
10695
|
-
"sdsType",
|
|
10696
|
-
"sdsStyle",
|
|
10697
|
-
"sdsSize",
|
|
10698
|
-
"tagColor",
|
|
10699
|
-
"hover"
|
|
10700
|
-
];
|
|
10701
|
-
const StyledTag$4 = /*#__PURE__*/ _styled(Chip$1, {
|
|
10702
|
-
shouldForwardProp: (prop) => !doNotForwardProps$27.includes(prop),
|
|
10703
|
-
target: "esrfbz40"
|
|
10704
|
-
})("border:none;", (props) => {
|
|
10705
|
-
const { hover = true, sdsType, sdsStyle, sdsSize = "s" } = props;
|
|
10706
|
-
const isRounded = sdsStyle === "rounded";
|
|
10707
|
-
const type = sdsType || "primary";
|
|
10708
|
-
return /*#__PURE__*/ css(sdsSize === "l" ? tagSizeL(props) : tagSizeS(props), " ", typeToCss[type](props), " ", isRounded ? rounded(props) : square(props), " ", hover ? withHover(props) : `pointer-events: none;`, ";");
|
|
10709
|
-
}, ";");
|
|
10710
|
-
//#endregion
|
|
10711
|
-
//#region src/core/Tag/index.tsx
|
|
10712
|
-
/**
|
|
10713
|
-
* @see https://mui.com/material-ui/react-chip/
|
|
10714
|
-
*
|
|
10715
|
-
* @props color: {string} - applies color for tag based on default theme color values
|
|
10716
|
-
* [string, string] - applies custom colors for [font, background]
|
|
10717
|
-
* [string, string, string] - applies custom colors for [font, background, icon]
|
|
10718
|
-
*/
|
|
10719
|
-
const Tag = (props) => {
|
|
10720
|
-
const { color } = props;
|
|
10721
|
-
return /* @__PURE__ */ jsx(StyledTag$4, _objectSpread2(_objectSpread2({ tagColor: color }, props), {}, { color: "primary" }));
|
|
10722
|
-
};
|
|
10723
|
-
//#endregion
|
|
10724
|
-
//#region src/core/TagFilter/style.ts
|
|
10725
|
-
const StyledTag$3 = /*#__PURE__*/ _styled(Tag, { target: "e19crzu0" })((props) => {
|
|
10726
|
-
var _semanticColors$accen, _iconSizes$xs, _iconSizes$xs2, _iconSizes$xs3, _iconSizes$xs4, _semanticColors$accen2, _semanticColors$base, _semanticColors$base2, _semanticColors$accen3;
|
|
10727
|
-
const spaces = getSpaces(props);
|
|
10728
|
-
const iconSizes = getIconSizes(props);
|
|
10729
|
-
const semanticColors = getSemanticColors(props);
|
|
10730
|
-
return /*#__PURE__*/ css("padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen = semanticColors.accent) === null || _semanticColors$accen === void 0 ? void 0 : _semanticColors$accen.fillPrimary, ";.MuiChip-label{", fontHeaderXs(props), " z-index:auto;}.MuiChip-deleteIcon{margin:0 0 0 ", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;width:", iconSizes === null || iconSizes === void 0 || (_iconSizes$xs = iconSizes.xs) === null || _iconSizes$xs === void 0 ? void 0 : _iconSizes$xs.width, "px!important;height:", iconSizes === null || iconSizes === void 0 || (_iconSizes$xs2 = iconSizes.xs) === null || _iconSizes$xs2 === void 0 ? void 0 : _iconSizes$xs2.height, "px!important;}.MuiSvgIcon-root{margin:0;width:", iconSizes === null || iconSizes === void 0 || (_iconSizes$xs3 = iconSizes.xs) === null || _iconSizes$xs3 === void 0 ? void 0 : _iconSizes$xs3.width, "px!important;height:", iconSizes === null || iconSizes === void 0 || (_iconSizes$xs4 = iconSizes.xs) === null || _iconSizes$xs4 === void 0 ? void 0 : _iconSizes$xs4.height, "px!important;}svg{z-index:auto;}&:hover,&:focus,&:focus-within{background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen2 = semanticColors.accent) === null || _semanticColors$accen2 === void 0 ? void 0 : _semanticColors$accen2.fillInteraction, ";.MuiChip-label{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.textPrimaryInverse, "!important;}.MuiChip-deleteIcon svg{fill:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.ornamentPrimaryInverse, "!important;}}&:active{background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen3 = semanticColors.accent) === null || _semanticColors$accen3 === void 0 ? void 0 : _semanticColors$accen3.fillPressed, ";}&:after{content:\"\";display:none;}");
|
|
10731
|
-
}, ";");
|
|
10732
|
-
//#endregion
|
|
10733
|
-
//#region src/core/TagFilter/index.tsx
|
|
10734
|
-
/**
|
|
10735
|
-
* @see https://mui.com/material-ui/react-chip/
|
|
10736
|
-
*/
|
|
10737
|
-
const TagFilter = (props) => {
|
|
10738
|
-
return /* @__PURE__ */ jsx(StyledTag$3, _objectSpread2(_objectSpread2({ role: "none presentation" }, props), {}, {
|
|
10739
|
-
deleteIcon: /* @__PURE__ */ jsx(Button, {
|
|
10740
|
-
"aria-label": "Delete Tag",
|
|
10741
|
-
sdsStyle: "minimal",
|
|
10742
|
-
sdsType: "secondary",
|
|
10743
|
-
size: "medium",
|
|
10744
|
-
backgroundOnHover: false,
|
|
10745
|
-
children: /* @__PURE__ */ jsx(Icon, {
|
|
10746
|
-
sdsIcon: "XMark",
|
|
10747
|
-
sdsSize: "s"
|
|
10748
|
-
})
|
|
10749
|
-
}),
|
|
10750
|
-
color: "info"
|
|
10751
|
-
}));
|
|
10752
|
-
};
|
|
10753
|
-
//#endregion
|
|
10754
10735
|
//#region src/core/ComplexFilter/utils.ts
|
|
10755
10736
|
const checkIfSingleColumn = (value) => {
|
|
10756
10737
|
return value && value.name || Array.isArray(value) && value.length > 0 && value[0].name;
|
|
@@ -10782,10 +10763,9 @@ const Chips = ({ value, multiple = false, onDelete }) => {
|
|
|
10782
10763
|
if (!value) return null;
|
|
10783
10764
|
const chipLabels = checkIfSingleColumn(value) ? getSingleColumnLabels(value, multiple) : getMultiColumnLabels(value, multiple);
|
|
10784
10765
|
if (chipLabels.length === 0) return null;
|
|
10785
|
-
return /* @__PURE__ */ jsx(Fragment$1, { children: chipLabels.map((label) => /* @__PURE__ */ jsx(
|
|
10766
|
+
return /* @__PURE__ */ jsx(Fragment$1, { children: chipLabels.map((label) => /* @__PURE__ */ jsx(Chip, {
|
|
10786
10767
|
label,
|
|
10787
|
-
onDelete: () => onDelete(label)
|
|
10788
|
-
onClick: () => onDelete(label)
|
|
10768
|
+
onDelete: () => onDelete(label)
|
|
10789
10769
|
}, label)) });
|
|
10790
10770
|
};
|
|
10791
10771
|
//#endregion
|
|
@@ -10918,7 +10898,7 @@ const ComplexFilter = (_ref) => {
|
|
|
10918
10898
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$16() {
|
|
10919
10899
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
10920
10900
|
}
|
|
10921
|
-
const doNotForwardProps$
|
|
10901
|
+
const doNotForwardProps$27 = [
|
|
10922
10902
|
"visualElement",
|
|
10923
10903
|
"sdsType",
|
|
10924
10904
|
"imagePosition",
|
|
@@ -10948,7 +10928,7 @@ const getShowDecorativeBorder = (visualElementType, boundingBox, decorativeBorde
|
|
|
10948
10928
|
return visualElementType === "image" ? boundingBox && decorativeBorder && (imagePadding && imagePosition === "left" || imagePosition === "right") : boundingBox && decorativeBorder;
|
|
10949
10929
|
};
|
|
10950
10930
|
const StyledCard = /*#__PURE__*/ _styled(Card, {
|
|
10951
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
10931
|
+
shouldForwardProp: (prop) => !doNotForwardProps$27.includes(prop),
|
|
10952
10932
|
target: "e1dovfyq5"
|
|
10953
10933
|
})((props) => {
|
|
10954
10934
|
var _semanticColors$base, _semanticColors$base2, _semanticColors$accen;
|
|
@@ -10962,7 +10942,7 @@ const StyledCard = /*#__PURE__*/ _styled(Card, {
|
|
|
10962
10942
|
return /*#__PURE__*/ css("position:relative;display:flex;background-color:transparent;background-image:none;flex-direction:", flexDirection, ";overflow:visible!important;box-shadow:none;border-radius:", corners === null || corners === void 0 ? void 0 : corners.xl, "px;.MuiCardActionArea-focusHighlight{background:transparent;}&:hover,&:active{box-shadow:", clickableCard ? shadows === null || shadows === void 0 ? void 0 : shadows.l : shadows === null || shadows === void 0 ? void 0 : shadows.none, "!important;}", boundingBox && /*#__PURE__*/ css("border:1px solid ", semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.borderSecondary, ";background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.backgroundPrimary, ";"), " ", showDecorativeBorder && /*#__PURE__*/ css("&:before{content:\"\";position:absolute;background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen = semanticColors.accent) === null || _semanticColors$accen === void 0 ? void 0 : _semanticColors$accen.foreground, ";z-index:10;", sdsType === "wide" && /*#__PURE__*/ css("top:-1px;bottom:-1px;left:-1px;width:", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;border-top-left-radius:", corners === null || corners === void 0 ? void 0 : corners.xl, "px;border-bottom-left-radius:", corners === null || corners === void 0 ? void 0 : corners.xl, "px;"), " ", sdsType === "narrow" && /*#__PURE__*/ css("height:", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;top:-1px;left:-1px;right:-1px;border-top-left-radius:", corners === null || corners === void 0 ? void 0 : corners.xl, "px;border-top-right-radius:", corners === null || corners === void 0 ? void 0 : corners.xl, "px;"), ";}"), " ", sdsType === "wide" && showDecorativeBorder && /*#__PURE__*/ css("border-top-left-radius:", corners === null || corners === void 0 ? void 0 : corners.l, "px;border-bottom-left-radius:", corners === null || corners === void 0 ? void 0 : corners.l, "px;"), " ", sdsType === "narrow" && showDecorativeBorder && /*#__PURE__*/ css("border-top-left-radius:", corners === null || corners === void 0 ? void 0 : corners.l, "px;border-top-right-radius:", corners === null || corners === void 0 ? void 0 : corners.l, "px;"), ";");
|
|
10963
10943
|
}, ";");
|
|
10964
10944
|
const StyledCardActionArea = /*#__PURE__*/ _styled(Button$2, {
|
|
10965
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
10945
|
+
shouldForwardProp: (prop) => !doNotForwardProps$27.includes(prop),
|
|
10966
10946
|
target: "e1dovfyq4"
|
|
10967
10947
|
})((props) => {
|
|
10968
10948
|
var _semanticColors$base3, _semanticColors$base4;
|
|
@@ -10990,7 +10970,7 @@ const StyledCardActionArea = /*#__PURE__*/ _styled(Button$2, {
|
|
|
10990
10970
|
`;
|
|
10991
10971
|
}, ";");
|
|
10992
10972
|
const StyledIconMediaWrapper = /*#__PURE__*/ _styled("div", {
|
|
10993
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
10973
|
+
shouldForwardProp: (prop) => !doNotForwardProps$27.includes(prop),
|
|
10994
10974
|
target: "e1dovfyq3"
|
|
10995
10975
|
})((props) => {
|
|
10996
10976
|
const { boundingBox = true } = props;
|
|
@@ -10998,7 +10978,7 @@ const StyledIconMediaWrapper = /*#__PURE__*/ _styled("div", {
|
|
|
10998
10978
|
return /*#__PURE__*/ css(boundingBox ? /*#__PURE__*/ css("padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xl, "px 0 ", spaces === null || spaces === void 0 ? void 0 : spaces.xl, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.xl, "px;") : /*#__PURE__*/ css("padding-right:", spaces === null || spaces === void 0 ? void 0 : spaces.xl, "px;"), ";");
|
|
10999
10979
|
}, ";");
|
|
11000
10980
|
const StyledCardContent = /*#__PURE__*/ _styled("div", {
|
|
11001
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
10981
|
+
shouldForwardProp: (prop) => !doNotForwardProps$27.includes(prop),
|
|
11002
10982
|
target: "e1dovfyq2"
|
|
11003
10983
|
})((props) => {
|
|
11004
10984
|
const { boundingBox = true, sdsType = "wide", visualElementType } = props;
|
|
@@ -11007,7 +10987,7 @@ const StyledCardContent = /*#__PURE__*/ _styled("div", {
|
|
|
11007
10987
|
return /*#__PURE__*/ css("display:flex;flex-direction:column;min-width:100px;width:100%;height:100%;", boundingBox ? /*#__PURE__*/ css("padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xl, "px;") : /*#__PURE__*/ css("padding:", NoBoundingBoxPadding, ";"), ";");
|
|
11008
10988
|
}, ";");
|
|
11009
10989
|
const StyledContentCardBody = /*#__PURE__*/ _styled(CardContent, {
|
|
11010
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
10990
|
+
shouldForwardProp: (prop) => !doNotForwardProps$27.includes(prop),
|
|
11011
10991
|
target: "e1dovfyq1"
|
|
11012
10992
|
})(fontBodyS, " ", (props) => {
|
|
11013
10993
|
var _semanticColors$base5;
|
|
@@ -11027,7 +11007,7 @@ const StyledCardContentAligner = /*#__PURE__*/ _styled("div", { target: "e1dovfy
|
|
|
11027
11007
|
});
|
|
11028
11008
|
//#endregion
|
|
11029
11009
|
//#region src/core/ContentCard/components/ContentCardTitle/style.ts
|
|
11030
|
-
const doNotForwardProps$
|
|
11010
|
+
const doNotForwardProps$26 = [
|
|
11031
11011
|
"visualElement",
|
|
11032
11012
|
"sdsType",
|
|
11033
11013
|
"imagePosition",
|
|
@@ -11038,7 +11018,7 @@ const doNotForwardProps$25 = [
|
|
|
11038
11018
|
"metadataText",
|
|
11039
11019
|
"contentBlock"
|
|
11040
11020
|
];
|
|
11041
|
-
const StyledTitleWrapper = styled("div", { shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11021
|
+
const StyledTitleWrapper = styled("div", { shouldForwardProp: (prop) => !doNotForwardProps$26.includes(prop) })`
|
|
11042
11022
|
${(props) => {
|
|
11043
11023
|
const spaces = getSpaces(props);
|
|
11044
11024
|
return `
|
|
@@ -11048,7 +11028,7 @@ const StyledTitleWrapper = styled("div", { shouldForwardProp: (prop) => !doNotFo
|
|
|
11048
11028
|
`;
|
|
11049
11029
|
}}
|
|
11050
11030
|
`;
|
|
11051
|
-
const StyledOverlineText = styled("p", { shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11031
|
+
const StyledOverlineText = styled("p", { shouldForwardProp: (prop) => !doNotForwardProps$26.includes(prop) })`
|
|
11052
11032
|
${fontCapsXxxs}
|
|
11053
11033
|
${(props) => {
|
|
11054
11034
|
var _semanticColors$base;
|
|
@@ -11059,7 +11039,7 @@ const StyledOverlineText = styled("p", { shouldForwardProp: (prop) => !doNotForw
|
|
|
11059
11039
|
`;
|
|
11060
11040
|
}}
|
|
11061
11041
|
`;
|
|
11062
|
-
const StyledTitleText = styled("p", { shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11042
|
+
const StyledTitleText = styled("p", { shouldForwardProp: (prop) => !doNotForwardProps$26.includes(prop) })`
|
|
11063
11043
|
${fontHeaderXl}
|
|
11064
11044
|
${(props) => {
|
|
11065
11045
|
var _semanticColors$base2;
|
|
@@ -11070,7 +11050,7 @@ const StyledTitleText = styled("p", { shouldForwardProp: (prop) => !doNotForward
|
|
|
11070
11050
|
`;
|
|
11071
11051
|
}}
|
|
11072
11052
|
`;
|
|
11073
|
-
const StyledSubtitleText = styled("p", { shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11053
|
+
const StyledSubtitleText = styled("p", { shouldForwardProp: (prop) => !doNotForwardProps$26.includes(prop) })`
|
|
11074
11054
|
${fontHeaderM}
|
|
11075
11055
|
${(props) => {
|
|
11076
11056
|
var _semanticColors$base3;
|
|
@@ -11081,7 +11061,7 @@ const StyledSubtitleText = styled("p", { shouldForwardProp: (prop) => !doNotForw
|
|
|
11081
11061
|
`;
|
|
11082
11062
|
}}
|
|
11083
11063
|
`;
|
|
11084
|
-
const StyledMetadataText = styled("p", { shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11064
|
+
const StyledMetadataText = styled("p", { shouldForwardProp: (prop) => !doNotForwardProps$26.includes(prop) })`
|
|
11085
11065
|
${fontBodyXxs}
|
|
11086
11066
|
${(props) => {
|
|
11087
11067
|
var _semanticColors$base4;
|
|
@@ -11137,9 +11117,9 @@ const ContentCardTitle = forwardRef(function ContentCardTitle(props, ref) {
|
|
|
11137
11117
|
});
|
|
11138
11118
|
//#endregion
|
|
11139
11119
|
//#region src/core/ContentCard/components/ContentCardActions/style.ts
|
|
11140
|
-
const doNotForwardProps$
|
|
11120
|
+
const doNotForwardProps$25 = ["buttonsPosition"];
|
|
11141
11121
|
const StyledCardActions = /*#__PURE__*/ _styled(CardActions, {
|
|
11142
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11122
|
+
shouldForwardProp: (prop) => !doNotForwardProps$25.includes(prop),
|
|
11143
11123
|
target: "ewfyato0"
|
|
11144
11124
|
})((props) => {
|
|
11145
11125
|
const { buttonsPosition = "left" } = props;
|
|
@@ -11210,7 +11190,7 @@ const ContentCardActions = forwardRef(function ContentCardActions(props, ref) {
|
|
|
11210
11190
|
});
|
|
11211
11191
|
//#endregion
|
|
11212
11192
|
//#region src/core/ContentCard/components/ContentCardImageMedia/style.ts
|
|
11213
|
-
const doNotForwardProps$
|
|
11193
|
+
const doNotForwardProps$24 = [
|
|
11214
11194
|
"imagePadding",
|
|
11215
11195
|
"boundingBox",
|
|
11216
11196
|
"sdsType",
|
|
@@ -11218,7 +11198,7 @@ const doNotForwardProps$23 = [
|
|
|
11218
11198
|
"image",
|
|
11219
11199
|
"imagePosition"
|
|
11220
11200
|
];
|
|
11221
|
-
const StyledImageMediaWrapper = styled("div", { shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11201
|
+
const StyledImageMediaWrapper = styled("div", { shouldForwardProp: (prop) => !doNotForwardProps$24.includes(prop) })`
|
|
11222
11202
|
${(props) => {
|
|
11223
11203
|
const { imagePadding = false, boundingBox = true, sdsType = "wide", imagePosition = "left" } = props;
|
|
11224
11204
|
const spaces = getSpaces(props);
|
|
@@ -11393,9 +11373,9 @@ const ContentCard = React.forwardRef((props, ref) => {
|
|
|
11393
11373
|
});
|
|
11394
11374
|
//#endregion
|
|
11395
11375
|
//#region src/core/Dialog/components/DialogPaper/style.ts
|
|
11396
|
-
const doNotForwardProps$
|
|
11376
|
+
const doNotForwardProps$23 = ["sdsSize"];
|
|
11397
11377
|
const StyledPaper$2 = /*#__PURE__*/ _styled(Paper, {
|
|
11398
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11378
|
+
shouldForwardProp: (prop) => !doNotForwardProps$23.includes(prop),
|
|
11399
11379
|
target: "e3jjuqo0"
|
|
11400
11380
|
})("&{", paperDimensions, " ", (props) => {
|
|
11401
11381
|
var _semanticColors$base, _semanticColors$base2;
|
|
@@ -11517,9 +11497,9 @@ const CloseButton = forwardRef(function CloseButton(props, ref) {
|
|
|
11517
11497
|
});
|
|
11518
11498
|
//#endregion
|
|
11519
11499
|
//#region src/core/Dialog/components/DialogTitle/style.ts
|
|
11520
|
-
const doNotForwardProps$
|
|
11500
|
+
const doNotForwardProps$22 = ["sdsSize"];
|
|
11521
11501
|
const StyledDialogTitle = /*#__PURE__*/ _styled(DialogTitle$1, {
|
|
11522
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11502
|
+
shouldForwardProp: (prop) => !doNotForwardProps$22.includes(prop),
|
|
11523
11503
|
target: "e18l2rxq3"
|
|
11524
11504
|
})("padding:0;", (props) => {
|
|
11525
11505
|
const { sdsSize } = props;
|
|
@@ -11530,7 +11510,7 @@ const StyledDialogTitle = /*#__PURE__*/ _styled(DialogTitle$1, {
|
|
|
11530
11510
|
`;
|
|
11531
11511
|
}, ";");
|
|
11532
11512
|
const Title = /*#__PURE__*/ _styled(Typography, {
|
|
11533
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11513
|
+
shouldForwardProp: (prop) => !doNotForwardProps$22.includes(prop),
|
|
11534
11514
|
target: "e18l2rxq2"
|
|
11535
11515
|
})((props) => {
|
|
11536
11516
|
var _semanticColors$base;
|
|
@@ -11540,7 +11520,7 @@ const Title = /*#__PURE__*/ _styled(Typography, {
|
|
|
11540
11520
|
return [isSmall ? fontHeaderL(props) : fontHeaderXl(props), `color: ${semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.textPrimary};`];
|
|
11541
11521
|
}, ";");
|
|
11542
11522
|
const Subtitle = /*#__PURE__*/ _styled(Typography, {
|
|
11543
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11523
|
+
shouldForwardProp: (prop) => !doNotForwardProps$22.includes(prop),
|
|
11544
11524
|
target: "e18l2rxq1"
|
|
11545
11525
|
})((props) => {
|
|
11546
11526
|
var _semanticColors$base2;
|
|
@@ -11553,7 +11533,7 @@ const Subtitle = /*#__PURE__*/ _styled(Typography, {
|
|
|
11553
11533
|
`];
|
|
11554
11534
|
}, ";");
|
|
11555
11535
|
const Overline = /*#__PURE__*/ _styled(Typography, {
|
|
11556
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11536
|
+
shouldForwardProp: (prop) => !doNotForwardProps$22.includes(prop),
|
|
11557
11537
|
target: "e18l2rxq0"
|
|
11558
11538
|
})((props) => {
|
|
11559
11539
|
var _semanticColors$base3;
|
|
@@ -11609,9 +11589,9 @@ const DialogTitle = forwardRef(function DialogTitle(props, ref) {
|
|
|
11609
11589
|
});
|
|
11610
11590
|
//#endregion
|
|
11611
11591
|
//#region src/core/Dialog/components/DialogActions/style.ts
|
|
11612
|
-
const doNotForwardProps$
|
|
11592
|
+
const doNotForwardProps$21 = ["buttonPosition", "sdsSize"];
|
|
11613
11593
|
const StyledDialogActions = /*#__PURE__*/ _styled(DialogActions$1, {
|
|
11614
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11594
|
+
shouldForwardProp: (prop) => !doNotForwardProps$21.includes(prop),
|
|
11615
11595
|
target: "esa0jqu0"
|
|
11616
11596
|
})("padding:0;", (props) => {
|
|
11617
11597
|
const spaces = getSpaces(props);
|
|
@@ -11681,9 +11661,9 @@ const Dialog = forwardRef(function Dialog(props, ref) {
|
|
|
11681
11661
|
});
|
|
11682
11662
|
//#endregion
|
|
11683
11663
|
//#region src/core/Dialog/components/DialogContent/style.ts
|
|
11684
|
-
const doNotForwardProps$
|
|
11664
|
+
const doNotForwardProps$20 = ["sdsSize"];
|
|
11685
11665
|
const StyledDialogContent = /*#__PURE__*/ _styled(DialogContent, {
|
|
11686
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11666
|
+
shouldForwardProp: (prop) => !doNotForwardProps$20.includes(prop),
|
|
11687
11667
|
target: "e1ub36ac0"
|
|
11688
11668
|
})(fontBodyS, " padding:0;");
|
|
11689
11669
|
//#endregion
|
|
@@ -11741,7 +11721,7 @@ const overlayContentPositionJustifyMapping = {
|
|
|
11741
11721
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$15() {
|
|
11742
11722
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
11743
11723
|
}
|
|
11744
|
-
const doNotForwardProps$
|
|
11724
|
+
const doNotForwardProps$19 = [
|
|
11745
11725
|
"heroHeight",
|
|
11746
11726
|
"overlayContainerMinMargin",
|
|
11747
11727
|
"backgroundFillColor",
|
|
@@ -11769,7 +11749,7 @@ const getResponsivePadding = (props) => {
|
|
|
11769
11749
|
return /*#__PURE__*/ css("padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xxxl, "px ", (overlayContainerMinMargin === null || overlayContainerMinMargin === void 0 ? void 0 : overlayContainerMinMargin.small) || HeroMargins.SMALL, ";", breakpoints === null || breakpoints === void 0 ? void 0 : breakpoints.up("md"), "{padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xxxl, "px ", (overlayContainerMinMargin === null || overlayContainerMinMargin === void 0 ? void 0 : overlayContainerMinMargin.medium) || HeroMargins.MEDIUM, ";}", breakpoints === null || breakpoints === void 0 ? void 0 : breakpoints.up("lg"), "{padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xxxl, "px ", (overlayContainerMinMargin === null || overlayContainerMinMargin === void 0 ? void 0 : overlayContainerMinMargin.large) || HeroMargins.LARGE, ";}");
|
|
11770
11750
|
};
|
|
11771
11751
|
const StyledHeroContainer = /*#__PURE__*/ _styled("section", {
|
|
11772
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
11752
|
+
shouldForwardProp: (prop) => !doNotForwardProps$19.includes(prop),
|
|
11773
11753
|
target: "e1wdq27g10"
|
|
11774
11754
|
})((props) => {
|
|
11775
11755
|
const { heroHeight = "fit-content", overlayContentPosition, backgroundFillColor } = props;
|
|
@@ -12924,15 +12904,56 @@ const IntentMessage = (props) => {
|
|
|
12924
12904
|
}, index))] }));
|
|
12925
12905
|
};
|
|
12926
12906
|
//#endregion
|
|
12907
|
+
//#region src/core/Popover/style.ts
|
|
12908
|
+
const StyledPopover = /*#__PURE__*/ _styled(Popover$1, { target: "e89mz5z0" })("& .", popoverClasses.paper, "{", (props) => {
|
|
12909
|
+
var _semanticColors$base, _semanticColors$base2, _props$theme$zIndex$t, _props$theme;
|
|
12910
|
+
const corners = getCorners(props);
|
|
12911
|
+
const shadows = getShadows(props);
|
|
12912
|
+
const semanticColors = getSemanticColors(props);
|
|
12913
|
+
const borders = getBorders(props);
|
|
12914
|
+
const spaces = getSpaces(props);
|
|
12915
|
+
return `
|
|
12916
|
+
background-color: ${semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.surfacePrimary};
|
|
12917
|
+
background-image: none;
|
|
12918
|
+
border-radius: ${corners === null || corners === void 0 ? void 0 : corners.l}px;
|
|
12919
|
+
padding: ${spaces === null || spaces === void 0 ? void 0 : spaces.xs}px ${spaces === null || spaces === void 0 ? void 0 : spaces.m}px;
|
|
12920
|
+
border: ${borders === null || borders === void 0 ? void 0 : borders.none};
|
|
12921
|
+
outline: 1px solid ${addOpacityToHex((semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.borderSecondary) || "#000000", 15)};
|
|
12922
|
+
box-shadow: ${shadows === null || shadows === void 0 ? void 0 : shadows.m};
|
|
12923
|
+
box-sizing: border-box;
|
|
12924
|
+
z-index: ${(_props$theme$zIndex$t = props === null || props === void 0 || (_props$theme = props.theme) === null || _props$theme === void 0 || (_props$theme = _props$theme.zIndex) === null || _props$theme === void 0 ? void 0 : _props$theme.tooltip) !== null && _props$theme$zIndex$t !== void 0 ? _props$theme$zIndex$t : 1400};
|
|
12925
|
+
`;
|
|
12926
|
+
}, ";}");
|
|
12927
|
+
//#endregion
|
|
12928
|
+
//#region src/core/Popover/index.tsx
|
|
12929
|
+
/**
|
|
12930
|
+
* @see https://mui.com/material-ui/react-popover/
|
|
12931
|
+
*/
|
|
12932
|
+
const Popover = forwardRef(function Popover(props, ref) {
|
|
12933
|
+
const spaces = getSpaces({ theme: useTheme() });
|
|
12934
|
+
return /* @__PURE__ */ jsx(StyledPopover, _objectSpread2({
|
|
12935
|
+
ref,
|
|
12936
|
+
anchorOrigin: {
|
|
12937
|
+
horizontal: "left",
|
|
12938
|
+
vertical: "bottom"
|
|
12939
|
+
},
|
|
12940
|
+
transformOrigin: {
|
|
12941
|
+
vertical: -((spaces === null || spaces === void 0 ? void 0 : spaces.s) || 8),
|
|
12942
|
+
horizontal: 0
|
|
12943
|
+
}
|
|
12944
|
+
}, props));
|
|
12945
|
+
});
|
|
12946
|
+
//#endregion
|
|
12927
12947
|
//#region src/core/Legend/style.ts
|
|
12928
|
-
const LegendContainer = /*#__PURE__*/ _styled("div", { target: "
|
|
12948
|
+
const LegendContainer = /*#__PURE__*/ _styled("div", { target: "ezuih625" })("display:flex;flex-wrap:wrap;align-items:center;", (props) => {
|
|
12929
12949
|
const spaces = getSpaces(props);
|
|
12930
12950
|
return `
|
|
12931
12951
|
column-gap: ${spaces === null || spaces === void 0 ? void 0 : spaces.xxs}px;
|
|
12932
12952
|
row-gap: ${spaces === null || spaces === void 0 ? void 0 : spaces.xxxs}px;
|
|
12953
|
+
margin: -${spaces === null || spaces === void 0 ? void 0 : spaces.xxxs}px -${spaces === null || spaces === void 0 ? void 0 : spaces.xxs}px;
|
|
12933
12954
|
`;
|
|
12934
12955
|
}, ";");
|
|
12935
|
-
const LegendItem = /*#__PURE__*/ _styled("div", { target: "
|
|
12956
|
+
const LegendItem = /*#__PURE__*/ _styled("div", { target: "ezuih624" })((props) => {
|
|
12936
12957
|
var _semanticColors$base, _semanticColors$base2, _semanticColors$base3, _semanticColors$base4;
|
|
12937
12958
|
const { isSelected, disabled, isHovered } = props;
|
|
12938
12959
|
const spaces = getSpaces(props);
|
|
@@ -12953,13 +12974,13 @@ const LegendItem = /*#__PURE__*/ _styled("div", { target: "ezuih623" })((props)
|
|
|
12953
12974
|
}
|
|
12954
12975
|
`;
|
|
12955
12976
|
}, ";");
|
|
12956
|
-
const LegendIcon = /*#__PURE__*/ _styled("div", { target: "
|
|
12977
|
+
const LegendIcon = /*#__PURE__*/ _styled("div", { target: "ezuih623" })((props) => {
|
|
12957
12978
|
const { color, isDimmed } = props;
|
|
12958
12979
|
const spaces = getSpaces(props);
|
|
12959
12980
|
const corners = getCorners(props);
|
|
12960
12981
|
return `
|
|
12961
|
-
width: ${spaces === null || spaces === void 0 ? void 0 : spaces.
|
|
12962
|
-
height: ${spaces === null || spaces === void 0 ? void 0 : spaces.
|
|
12982
|
+
width: ${spaces === null || spaces === void 0 ? void 0 : spaces.s}px;
|
|
12983
|
+
height: ${spaces === null || spaces === void 0 ? void 0 : spaces.s}px;
|
|
12963
12984
|
border-radius: ${corners === null || corners === void 0 ? void 0 : corners.s}px;
|
|
12964
12985
|
background-color: ${color};
|
|
12965
12986
|
flex-shrink: 0;
|
|
@@ -12968,14 +12989,14 @@ const LegendIcon = /*#__PURE__*/ _styled("div", { target: "ezuih622" })((props)
|
|
|
12968
12989
|
margin-right: ${spaces === null || spaces === void 0 ? void 0 : spaces.xxs}px;
|
|
12969
12990
|
`;
|
|
12970
12991
|
}, ";");
|
|
12971
|
-
const LegendLabel = /*#__PURE__*/ _styled("span", { target: "
|
|
12992
|
+
const LegendLabel = /*#__PURE__*/ _styled("span", { target: "ezuih622" })(fontBodyMediumXxxxs, " ", (props) => {
|
|
12972
12993
|
var _semanticColors$base5;
|
|
12973
12994
|
const semanticColors = getSemanticColors(props);
|
|
12974
12995
|
return `
|
|
12975
12996
|
color: ${semanticColors === null || semanticColors === void 0 || (_semanticColors$base5 = semanticColors.base) === null || _semanticColors$base5 === void 0 ? void 0 : _semanticColors$base5.textPrimary};
|
|
12976
12997
|
`;
|
|
12977
12998
|
}, ";");
|
|
12978
|
-
const LegendValue = /*#__PURE__*/ _styled("span", { target: "
|
|
12999
|
+
const LegendValue = /*#__PURE__*/ _styled("span", { target: "ezuih621" })(fontBodyXxxxs, " ", (props) => {
|
|
12979
13000
|
var _semanticColors$base6;
|
|
12980
13001
|
const semanticColors = getSemanticColors(props);
|
|
12981
13002
|
const spaces = getSpaces(props);
|
|
@@ -12984,6 +13005,18 @@ const LegendValue = /*#__PURE__*/ _styled("span", { target: "ezuih620" })(fontBo
|
|
|
12984
13005
|
margin-left: ${spaces === null || spaces === void 0 ? void 0 : spaces.xxs}px;
|
|
12985
13006
|
`;
|
|
12986
13007
|
}, ";");
|
|
13008
|
+
const StyledLegendPopover = /*#__PURE__*/ _styled(Popover, { target: "ezuih620" })("& .", popoverClasses.paper, "{", (props) => {
|
|
13009
|
+
var _spaces$s, _spaces$xxxs, _spaces$s2, _spaces$xxs;
|
|
13010
|
+
const spaces = getSpaces(props);
|
|
13011
|
+
const corners = getCorners(props);
|
|
13012
|
+
const shadows = getShadows(props);
|
|
13013
|
+
return `
|
|
13014
|
+
max-width: 480px;
|
|
13015
|
+
padding: ${((_spaces$s = spaces === null || spaces === void 0 ? void 0 : spaces.s) !== null && _spaces$s !== void 0 ? _spaces$s : 0) + ((_spaces$xxxs = spaces === null || spaces === void 0 ? void 0 : spaces.xxxs) !== null && _spaces$xxxs !== void 0 ? _spaces$xxxs : 0)}px ${((_spaces$s2 = spaces === null || spaces === void 0 ? void 0 : spaces.s) !== null && _spaces$s2 !== void 0 ? _spaces$s2 : 0) + ((_spaces$xxs = spaces === null || spaces === void 0 ? void 0 : spaces.xxs) !== null && _spaces$xxs !== void 0 ? _spaces$xxs : 0)}px;
|
|
13016
|
+
border-radius: ${corners === null || corners === void 0 ? void 0 : corners.xl}px;
|
|
13017
|
+
box-shadow: ${shadows === null || shadows === void 0 ? void 0 : shadows.l};
|
|
13018
|
+
`;
|
|
13019
|
+
}, ";}");
|
|
12987
13020
|
//#endregion
|
|
12988
13021
|
//#region src/core/Legend/index.tsx
|
|
12989
13022
|
const _excluded$15 = [
|
|
@@ -12995,14 +13028,19 @@ const _excluded$15 = [
|
|
|
12995
13028
|
"showValues",
|
|
12996
13029
|
"selectedIndices",
|
|
12997
13030
|
"onSelectionChange",
|
|
12998
|
-
"hoveredIndex"
|
|
13031
|
+
"hoveredIndex",
|
|
13032
|
+
"lastItemMenuItems"
|
|
12999
13033
|
];
|
|
13000
13034
|
const Legend = (props) => {
|
|
13001
13035
|
var _theme$palette;
|
|
13002
|
-
const { items, colors, onItemMouseEnter, onItemMouseLeave, onItemClick, showValues = false, selectedIndices = [], onSelectionChange, hoveredIndex: externalHoveredIndex } = props, rest = _objectWithoutProperties(props, _excluded$15);
|
|
13036
|
+
const { items, colors, onItemMouseEnter, onItemMouseLeave, onItemClick, showValues = false, selectedIndices = [], onSelectionChange, hoveredIndex: externalHoveredIndex, lastItemMenuItems = [] } = props, rest = _objectWithoutProperties(props, _excluded$15);
|
|
13003
13037
|
const theme = useTheme();
|
|
13004
13038
|
const [internalHoveredIndex, setInternalHoveredIndex] = useState(null);
|
|
13039
|
+
const [menuAnchor, setMenuAnchor] = useState(null);
|
|
13005
13040
|
const hoveredIndex = externalHoveredIndex !== null && externalHoveredIndex !== void 0 ? externalHoveredIndex : internalHoveredIndex;
|
|
13041
|
+
const hasOverflowMenu = lastItemMenuItems.length > 0;
|
|
13042
|
+
const overflowItemIndex = items.length;
|
|
13043
|
+
const isOverflowTrigger = (index) => hasOverflowMenu && index === overflowItemIndex - 1;
|
|
13006
13044
|
const handleMouseEnter = (item, index) => {
|
|
13007
13045
|
if (item.disabled) return;
|
|
13008
13046
|
setInternalHoveredIndex(index);
|
|
@@ -13013,8 +13051,13 @@ const Legend = (props) => {
|
|
|
13013
13051
|
setInternalHoveredIndex(null);
|
|
13014
13052
|
onItemMouseLeave === null || onItemMouseLeave === void 0 || onItemMouseLeave(item, index);
|
|
13015
13053
|
};
|
|
13016
|
-
const handleClick = (item, index) => {
|
|
13054
|
+
const handleClick = (item, index, event) => {
|
|
13017
13055
|
if (item.disabled) return;
|
|
13056
|
+
if (isOverflowTrigger(index)) {
|
|
13057
|
+
setMenuAnchor(event.currentTarget);
|
|
13058
|
+
onItemClick === null || onItemClick === void 0 || onItemClick(item, index);
|
|
13059
|
+
return;
|
|
13060
|
+
}
|
|
13018
13061
|
if (onSelectionChange) {
|
|
13019
13062
|
const isSelected = selectedIndices.includes(index);
|
|
13020
13063
|
let newSelectedIndices;
|
|
@@ -13024,22 +13067,28 @@ const Legend = (props) => {
|
|
|
13024
13067
|
}
|
|
13025
13068
|
onItemClick === null || onItemClick === void 0 || onItemClick(item, index);
|
|
13026
13069
|
};
|
|
13070
|
+
const handleMenuSelectionChange = (indices) => {
|
|
13071
|
+
onSelectionChange === null || onSelectionChange === void 0 || onSelectionChange([...selectedIndices.filter((i) => i < overflowItemIndex), ...indices.map((i) => i + overflowItemIndex)]);
|
|
13072
|
+
};
|
|
13027
13073
|
const hasSelection = selectedIndices.length > 0;
|
|
13028
13074
|
const fallbackColor = theme === null || theme === void 0 || (_theme$palette = theme.palette) === null || _theme$palette === void 0 || (_theme$palette = _theme$palette.sds) === null || _theme$palette === void 0 || (_theme$palette = _theme$palette.base) === null || _theme$palette === void 0 ? void 0 : _theme$palette.ornamentSecondary;
|
|
13029
|
-
return /* @__PURE__ */ jsx(LegendContainer, _objectSpread2(_objectSpread2({}, rest), {}, { children: items.map((item, index) => {
|
|
13030
|
-
const
|
|
13031
|
-
const
|
|
13075
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(LegendContainer, _objectSpread2(_objectSpread2({}, rest), {}, { children: items.map((item, index) => {
|
|
13076
|
+
const opensMenu = isOverflowTrigger(index);
|
|
13077
|
+
const isHovered = opensMenu ? hoveredIndex !== null && hoveredIndex >= index : hoveredIndex === index;
|
|
13078
|
+
const isSelected = opensMenu ? selectedIndices.some((i) => i >= index) : selectedIndices.includes(index);
|
|
13032
13079
|
const isDimmed = item.disabled ? false : hoveredIndex !== null ? !isHovered && !isSelected : hasSelection && !isSelected;
|
|
13033
13080
|
const itemColor = (colors === null || colors === void 0 ? void 0 : colors[index]) || item.color || fallbackColor;
|
|
13034
13081
|
return /* @__PURE__ */ jsxs(LegendItem, {
|
|
13035
13082
|
onMouseEnter: () => handleMouseEnter(item, index),
|
|
13036
13083
|
onMouseLeave: () => handleMouseLeave(item, index),
|
|
13037
|
-
onClick: () => handleClick(item, index),
|
|
13084
|
+
onClick: (event) => handleClick(item, index, event),
|
|
13038
13085
|
role: "button",
|
|
13039
13086
|
tabIndex: item.disabled ? -1 : 0,
|
|
13040
13087
|
"aria-label": `${item.name}${item.value ? `: ${item.value}` : ""}`,
|
|
13041
13088
|
"aria-pressed": isSelected,
|
|
13042
13089
|
"aria-disabled": item.disabled,
|
|
13090
|
+
"aria-haspopup": opensMenu ? "true" : void 0,
|
|
13091
|
+
"aria-expanded": opensMenu ? menuAnchor !== null : void 0,
|
|
13043
13092
|
isSelected,
|
|
13044
13093
|
disabled: item.disabled,
|
|
13045
13094
|
isHovered,
|
|
@@ -13058,14 +13107,28 @@ const Legend = (props) => {
|
|
|
13058
13107
|
})
|
|
13059
13108
|
]
|
|
13060
13109
|
}, `${item.name}-${index}`);
|
|
13061
|
-
}) }))
|
|
13110
|
+
}) })), hasOverflowMenu && /* @__PURE__ */ jsx(StyledLegendPopover, {
|
|
13111
|
+
open: menuAnchor !== null,
|
|
13112
|
+
anchorEl: menuAnchor,
|
|
13113
|
+
onClose: () => setMenuAnchor(null),
|
|
13114
|
+
children: /* @__PURE__ */ jsx(Legend, {
|
|
13115
|
+
items: lastItemMenuItems,
|
|
13116
|
+
showValues,
|
|
13117
|
+
selectedIndices: selectedIndices.filter((i) => i >= overflowItemIndex).map((i) => i - overflowItemIndex),
|
|
13118
|
+
onSelectionChange: onSelectionChange ? handleMenuSelectionChange : void 0,
|
|
13119
|
+
hoveredIndex: hoveredIndex !== null && hoveredIndex >= overflowItemIndex ? hoveredIndex - overflowItemIndex : null,
|
|
13120
|
+
onItemMouseEnter: (item, index) => handleMouseEnter(item, index + overflowItemIndex),
|
|
13121
|
+
onItemMouseLeave: (item, index) => handleMouseLeave(item, index + overflowItemIndex),
|
|
13122
|
+
onItemClick: onItemClick ? (item, index) => onItemClick(item, index + overflowItemIndex) : void 0
|
|
13123
|
+
})
|
|
13124
|
+
})] });
|
|
13062
13125
|
};
|
|
13063
13126
|
//#endregion
|
|
13064
13127
|
//#region src/core/Link/style.ts
|
|
13065
13128
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$12() {
|
|
13066
13129
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
13067
13130
|
}
|
|
13068
|
-
const doNotForwardProps$
|
|
13131
|
+
const doNotForwardProps$18 = [
|
|
13069
13132
|
"sdsStyle",
|
|
13070
13133
|
"sdsSize",
|
|
13071
13134
|
"fontWeight"
|
|
@@ -13091,7 +13154,7 @@ const extraSmallStyle = (props) => {
|
|
|
13091
13154
|
};
|
|
13092
13155
|
const StyledLink = /*#__PURE__*/ _styled(Link$1, {
|
|
13093
13156
|
shouldForwardProp: (prop) => {
|
|
13094
|
-
return !doNotForwardProps$
|
|
13157
|
+
return !doNotForwardProps$18.includes(prop.toString());
|
|
13095
13158
|
},
|
|
13096
13159
|
target: "ecbcrkq0"
|
|
13097
13160
|
})("all:unset;", focusVisibleA11yStyle, " ", (props) => {
|
|
@@ -13114,9 +13177,9 @@ const Link = forwardRef((props, ref) => {
|
|
|
13114
13177
|
});
|
|
13115
13178
|
//#endregion
|
|
13116
13179
|
//#region src/core/List/style.ts
|
|
13117
|
-
const doNotForwardProps$
|
|
13180
|
+
const doNotForwardProps$17 = ["marginBottom", "ordered"];
|
|
13118
13181
|
const StyledList = /*#__PURE__*/ _styled(List$1, {
|
|
13119
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13182
|
+
shouldForwardProp: (prop) => !doNotForwardProps$17.includes(prop),
|
|
13120
13183
|
target: "e1ch6n580"
|
|
13121
13184
|
})(".MuiListSubheader-root{", propsToMarginBottom$1, ";}", (props) => {
|
|
13122
13185
|
if (!props.ordered) return "";
|
|
@@ -13159,13 +13222,13 @@ const fontBodyS$1 = fontBody("s");
|
|
|
13159
13222
|
const fontBodyXs$2 = fontBody("xs");
|
|
13160
13223
|
const fontBodyXxs$1 = fontBody("xxs");
|
|
13161
13224
|
const fontBodyXxxs$1 = fontBody("xxxs");
|
|
13162
|
-
const doNotForwardProps$
|
|
13225
|
+
const doNotForwardProps$16 = [
|
|
13163
13226
|
"marginBottom",
|
|
13164
13227
|
"fontSize",
|
|
13165
13228
|
"ordered"
|
|
13166
13229
|
];
|
|
13167
13230
|
const StyledListItem = /*#__PURE__*/ _styled(ListItem$1, {
|
|
13168
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13231
|
+
shouldForwardProp: (prop) => !doNotForwardProps$16.includes(prop),
|
|
13169
13232
|
target: "evkbwij1"
|
|
13170
13233
|
})(propsToMarginBottom, " ", propsToFontBody, " padding:0;", (props) => {
|
|
13171
13234
|
const { ordered } = props;
|
|
@@ -13258,9 +13321,9 @@ const tag = (props) => {
|
|
|
13258
13321
|
const semanticColors = getSemanticColors(props);
|
|
13259
13322
|
return /*#__PURE__*/ css(fontCapsXxxxs(props), " background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen = semanticColors.accent) === null || _semanticColors$accen === void 0 ? void 0 : _semanticColors$accen.surfaceSecondary, ";border-radius:", corners === null || corners === void 0 ? void 0 : corners.rounded, "px;color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen2 = semanticColors.accent) === null || _semanticColors$accen2 === void 0 ? void 0 : _semanticColors$accen2.foreground, ";svg{path{fill:", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen3 = semanticColors.accent) === null || _semanticColors$accen3 === void 0 ? void 0 : _semanticColors$accen3.foreground, ";}}");
|
|
13260
13323
|
};
|
|
13261
|
-
const doNotForwardProps$
|
|
13324
|
+
const doNotForwardProps$15 = ["sdsStyle"];
|
|
13262
13325
|
const StyledLoadingIndicator = /*#__PURE__*/ _styled("div", {
|
|
13263
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13326
|
+
shouldForwardProp: (prop) => !doNotForwardProps$15.includes(prop),
|
|
13264
13327
|
target: "egvgfho0"
|
|
13265
13328
|
})((props) => {
|
|
13266
13329
|
const { sdsStyle } = props;
|
|
@@ -13327,17 +13390,17 @@ const StyledMenuItem = /*#__PURE__*/ _styled(MenuItem, { target: "ezmiyu43" })({
|
|
|
13327
13390
|
styles: "width:100%",
|
|
13328
13391
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$11
|
|
13329
13392
|
});
|
|
13330
|
-
const doNotForwardProps$
|
|
13393
|
+
const doNotForwardProps$14 = [
|
|
13331
13394
|
"search",
|
|
13332
13395
|
"InputBaseProps",
|
|
13333
13396
|
"keepSearchOnSelect"
|
|
13334
13397
|
];
|
|
13335
13398
|
const StyledAutocomplete = /*#__PURE__*/ _styled(Autocomplete$1, {
|
|
13336
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13399
|
+
shouldForwardProp: (prop) => !doNotForwardProps$14.includes(prop),
|
|
13337
13400
|
target: "ezmiyu42"
|
|
13338
13401
|
})(({ search }) => !search && "height: 0; margin: 0 !important;", " width:100%;");
|
|
13339
13402
|
const InputBaseWrapper = /*#__PURE__*/ _styled("div", {
|
|
13340
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13403
|
+
shouldForwardProp: (prop) => !doNotForwardProps$14.includes(prop),
|
|
13341
13404
|
target: "ezmiyu41"
|
|
13342
13405
|
})((props) => {
|
|
13343
13406
|
const { search } = props;
|
|
@@ -13358,7 +13421,7 @@ const InputBaseWrapper = /*#__PURE__*/ _styled("div", {
|
|
|
13358
13421
|
`;
|
|
13359
13422
|
}, ";");
|
|
13360
13423
|
const StyledMenuInputSearch = /*#__PURE__*/ _styled(InputSearch, {
|
|
13361
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13424
|
+
shouldForwardProp: (prop) => !doNotForwardProps$14.includes(prop),
|
|
13362
13425
|
target: "ezmiyu40"
|
|
13363
13426
|
})("&&{margin:0;caret-color:", ({ search }) => search ? "auto" : "transparent", ";.", inputBaseClasses.root, "{width:100%;padding:0;padding-right:14px!important;}}");
|
|
13364
13427
|
//#endregion
|
|
@@ -13442,9 +13505,9 @@ inputMode: search ? "text" : "none" }, params.slotProps.input.ref), {}, { endAdo
|
|
|
13442
13505
|
};
|
|
13443
13506
|
//#endregion
|
|
13444
13507
|
//#region src/core/NavigationFooter/style.ts
|
|
13445
|
-
const doNotForwardProps$
|
|
13508
|
+
const doNotForwardProps$13 = ["hasInvertedStyle", "isNarrow"];
|
|
13446
13509
|
const StyledFooter = /*#__PURE__*/ _styled("footer", {
|
|
13447
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13510
|
+
shouldForwardProp: (prop) => !doNotForwardProps$13.includes(prop),
|
|
13448
13511
|
target: "e1s7ulzi8"
|
|
13449
13512
|
})((props) => {
|
|
13450
13513
|
const { isNarrow } = props;
|
|
@@ -13462,7 +13525,7 @@ const StyledFooter = /*#__PURE__*/ _styled("footer", {
|
|
|
13462
13525
|
`;
|
|
13463
13526
|
}, ";");
|
|
13464
13527
|
const StyledLogoWrapper$1 = /*#__PURE__*/ _styled("div", {
|
|
13465
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13528
|
+
shouldForwardProp: (prop) => !doNotForwardProps$13.includes(prop),
|
|
13466
13529
|
target: "e1s7ulzi7"
|
|
13467
13530
|
})((props) => {
|
|
13468
13531
|
const spaces = getSpaces(props);
|
|
@@ -13488,7 +13551,7 @@ const StyledLogoWrapper$1 = /*#__PURE__*/ _styled("div", {
|
|
|
13488
13551
|
`];
|
|
13489
13552
|
}, ";}");
|
|
13490
13553
|
const StyledNavSection = /*#__PURE__*/ _styled("div", {
|
|
13491
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13554
|
+
shouldForwardProp: (prop) => !doNotForwardProps$13.includes(prop),
|
|
13492
13555
|
target: "e1s7ulzi6"
|
|
13493
13556
|
})((props) => {
|
|
13494
13557
|
const { isNarrow } = props;
|
|
@@ -13509,7 +13572,7 @@ const StyledNavSection = /*#__PURE__*/ _styled("div", {
|
|
|
13509
13572
|
`;
|
|
13510
13573
|
}, ";");
|
|
13511
13574
|
const StyledTopSection = /*#__PURE__*/ _styled("div", {
|
|
13512
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13575
|
+
shouldForwardProp: (prop) => !doNotForwardProps$13.includes(prop),
|
|
13513
13576
|
target: "e1s7ulzi5"
|
|
13514
13577
|
})((props) => {
|
|
13515
13578
|
const { isNarrow } = props;
|
|
@@ -13538,7 +13601,7 @@ const StyledTopSection = /*#__PURE__*/ _styled("div", {
|
|
|
13538
13601
|
`;
|
|
13539
13602
|
}, ";");
|
|
13540
13603
|
const StyledLinkSection = /*#__PURE__*/ _styled("div", {
|
|
13541
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13604
|
+
shouldForwardProp: (prop) => !doNotForwardProps$13.includes(prop),
|
|
13542
13605
|
target: "e1s7ulzi4"
|
|
13543
13606
|
})("align-items:center;display:flex;.MuiDivider-root{height:18px;}", (props) => {
|
|
13544
13607
|
const { isNarrow } = props;
|
|
@@ -13559,7 +13622,7 @@ const StyledMobileLinkRow = /*#__PURE__*/ _styled("div", { target: "e1s7ulzi3" }
|
|
|
13559
13622
|
`;
|
|
13560
13623
|
}, ";");
|
|
13561
13624
|
const StyledImageSection = /*#__PURE__*/ _styled("div", {
|
|
13562
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13625
|
+
shouldForwardProp: (prop) => !doNotForwardProps$13.includes(prop),
|
|
13563
13626
|
target: "e1s7ulzi2"
|
|
13564
13627
|
})("align-items:center;display:flex;", (props) => {
|
|
13565
13628
|
const { isNarrow } = props;
|
|
@@ -13583,7 +13646,7 @@ const StyledMobileImageRow = /*#__PURE__*/ _styled("div", { target: "e1s7ulzi1"
|
|
|
13583
13646
|
`;
|
|
13584
13647
|
}, ";");
|
|
13585
13648
|
const StyledBottomSection = /*#__PURE__*/ _styled("div", {
|
|
13586
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13649
|
+
shouldForwardProp: (prop) => !doNotForwardProps$13.includes(prop),
|
|
13587
13650
|
target: "e1s7ulzi0"
|
|
13588
13651
|
})("align-items:center;display:flex;justify-content:space-between;a:hover{text-decoration:none;}", (props) => {
|
|
13589
13652
|
const { isNarrow } = props;
|
|
@@ -13598,7 +13661,7 @@ const StyledBottomSection = /*#__PURE__*/ _styled("div", {
|
|
|
13598
13661
|
}, ";");
|
|
13599
13662
|
//#endregion
|
|
13600
13663
|
//#region src/core/NavigationFooter/components/NavItem/style.ts
|
|
13601
|
-
const doNotForwardProps$
|
|
13664
|
+
const doNotForwardProps$12 = ["hasInvertedStyle", "isNarrow"];
|
|
13602
13665
|
const NarrowNavItemLinkStyles = (props) => {
|
|
13603
13666
|
const semanticColors = getSemanticColors(props);
|
|
13604
13667
|
const spaces = getSpaces(props);
|
|
@@ -13617,7 +13680,7 @@ const NarrowNavItemLinkStyles = (props) => {
|
|
|
13617
13680
|
`;
|
|
13618
13681
|
};
|
|
13619
13682
|
const StyledNavItemLink = /*#__PURE__*/ _styled(Link, {
|
|
13620
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13683
|
+
shouldForwardProp: (prop) => !doNotForwardProps$12.includes(prop),
|
|
13621
13684
|
target: "e1esv1b90"
|
|
13622
13685
|
})(fontBodyMediumS, " ", (props) => {
|
|
13623
13686
|
var _semanticColors$base, _semanticColors$base2, _semanticColors$base3, _semanticColors$base4, _semanticColors$accen;
|
|
@@ -13657,9 +13720,9 @@ const NavItem = memo(({ item, hasInvertedStyle, isNarrow }) => /* @__PURE__ */ j
|
|
|
13657
13720
|
NavItem.displayName = "NavItem";
|
|
13658
13721
|
//#endregion
|
|
13659
13722
|
//#region src/core/NavigationFooter/components/FooterLink/style.ts
|
|
13660
|
-
const doNotForwardProps$
|
|
13723
|
+
const doNotForwardProps$11 = ["hasInvertedStyle", "showDivider"];
|
|
13661
13724
|
const StyledLinkItemLink = /*#__PURE__*/ _styled(Link, {
|
|
13662
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13725
|
+
shouldForwardProp: (prop) => !doNotForwardProps$11.includes(prop),
|
|
13663
13726
|
target: "eoqhglp1"
|
|
13664
13727
|
})(fontBodyXxs, " ", (props) => {
|
|
13665
13728
|
var _semanticColors$accen;
|
|
@@ -13697,7 +13760,7 @@ const StyledLinkItemLink = /*#__PURE__*/ _styled(Link, {
|
|
|
13697
13760
|
`;
|
|
13698
13761
|
}, ";");
|
|
13699
13762
|
const StyledDivider$1 = /*#__PURE__*/ _styled(Divider, {
|
|
13700
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
13763
|
+
shouldForwardProp: (prop) => !doNotForwardProps$11.includes(prop),
|
|
13701
13764
|
target: "eoqhglp0"
|
|
13702
13765
|
})((props) => {
|
|
13703
13766
|
const semanticColors = getSemanticColors(props);
|
|
@@ -13869,9 +13932,9 @@ function NavigationFooter(_ref) {
|
|
|
13869
13932
|
logo,
|
|
13870
13933
|
title && /* @__PURE__ */ jsx("p", { children: title }),
|
|
13871
13934
|
tag && /* @__PURE__ */ jsx(Tag, {
|
|
13872
|
-
tagColor,
|
|
13935
|
+
color: tagColor,
|
|
13873
13936
|
label: tag,
|
|
13874
|
-
|
|
13937
|
+
size: "small"
|
|
13875
13938
|
})
|
|
13876
13939
|
]
|
|
13877
13940
|
});
|
|
@@ -13933,7 +13996,7 @@ function NavigationFooter(_ref) {
|
|
|
13933
13996
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$10() {
|
|
13934
13997
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
13935
13998
|
}
|
|
13936
|
-
const doNotForwardProps$
|
|
13999
|
+
const doNotForwardProps$10 = [
|
|
13937
14000
|
"hasInvertedStyle",
|
|
13938
14001
|
"isNarrow",
|
|
13939
14002
|
"primaryNavPosition",
|
|
@@ -13951,7 +14014,7 @@ const StyledTopComponentSlot = /*#__PURE__*/ _styled("div", { target: "e1bn4x3g3
|
|
|
13951
14014
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$10
|
|
13952
14015
|
});
|
|
13953
14016
|
const StyledAppBar = /*#__PURE__*/ _styled(AppBar, {
|
|
13954
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14017
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
13955
14018
|
target: "e1bn4x3g34"
|
|
13956
14019
|
})((props) => {
|
|
13957
14020
|
const colors = getSemanticColors(props);
|
|
@@ -13977,7 +14040,7 @@ const NarrowToolbar = (props) => {
|
|
|
13977
14040
|
`;
|
|
13978
14041
|
};
|
|
13979
14042
|
const StyledToolbar = /*#__PURE__*/ _styled(Toolbar, {
|
|
13980
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14043
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
13981
14044
|
target: "e1bn4x3g33"
|
|
13982
14045
|
})((props) => {
|
|
13983
14046
|
const { isNarrow } = props;
|
|
@@ -13993,7 +14056,7 @@ const StyledToolbar = /*#__PURE__*/ _styled(Toolbar, {
|
|
|
13993
14056
|
`;
|
|
13994
14057
|
}, ";");
|
|
13995
14058
|
const StyledHeaderButton = /*#__PURE__*/ _styled(Button, {
|
|
13996
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
14059
|
+
shouldForwardProp: (prop) => !doNotForwardProps$10.includes(prop),
|
|
13997
14060
|
target: "e1bn4x3g30"
|
|
13998
14061
|
})((props) => {
|
|
13999
14062
|
var _props$theme, _semanticColors$accen, _semanticColors$accen2, _semanticColors$accen3, _semanticColors$accen4, _semanticColors$base;
|
|
@@ -14034,7 +14097,7 @@ const invertedNarrowButtonStyles = (props) => {
|
|
|
14034
14097
|
`;
|
|
14035
14098
|
};
|
|
14036
14099
|
const StyledNarrowIconButton = /*#__PURE__*/ _styled(Button, {
|
|
14037
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
14100
|
+
shouldForwardProp: (prop) => !doNotForwardProps$10.includes(prop),
|
|
14038
14101
|
target: "e1bn4x3g29"
|
|
14039
14102
|
})((props) => {
|
|
14040
14103
|
const { hasInvertedStyle, isNarrow } = props;
|
|
@@ -14062,7 +14125,7 @@ const invertedWideButtonStyles = (props) => {
|
|
|
14062
14125
|
`;
|
|
14063
14126
|
};
|
|
14064
14127
|
const StyledWideIconButton = /*#__PURE__*/ _styled(Button, {
|
|
14065
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
14128
|
+
shouldForwardProp: (prop) => !doNotForwardProps$10.includes(prop),
|
|
14066
14129
|
target: "e1bn4x3g28"
|
|
14067
14130
|
})((props) => {
|
|
14068
14131
|
const { hasInvertedStyle } = props;
|
|
@@ -14072,7 +14135,7 @@ const StyledWideIconButton = /*#__PURE__*/ _styled(Button, {
|
|
|
14072
14135
|
`;
|
|
14073
14136
|
}, ";");
|
|
14074
14137
|
const StyledLogoLinkWrapper = /*#__PURE__*/ _styled(Link, {
|
|
14075
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14138
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14076
14139
|
target: "e1bn4x3g27"
|
|
14077
14140
|
})("align-items:center;display:flex;text-decoration:none!important;", (props) => {
|
|
14078
14141
|
const { isNarrow } = props;
|
|
@@ -14094,7 +14157,7 @@ const NarrowTitleContainer = () => {
|
|
|
14094
14157
|
`;
|
|
14095
14158
|
};
|
|
14096
14159
|
const StyledTitleContainer = /*#__PURE__*/ _styled("div", {
|
|
14097
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14160
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14098
14161
|
target: "e1bn4x3g25"
|
|
14099
14162
|
})("display:flex;align-items:center;", (props) => {
|
|
14100
14163
|
const { isNarrow } = props;
|
|
@@ -14110,7 +14173,7 @@ const StyledTitleContainer = /*#__PURE__*/ _styled("div", {
|
|
|
14110
14173
|
`;
|
|
14111
14174
|
}, ";");
|
|
14112
14175
|
const StyledTitleTagWrapper = /*#__PURE__*/ _styled("div", {
|
|
14113
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14176
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14114
14177
|
target: "e1bn4x3g24"
|
|
14115
14178
|
})((props) => {
|
|
14116
14179
|
const spaces = getSpaces(props);
|
|
@@ -14126,13 +14189,13 @@ const StyledTitleTagWrapper = /*#__PURE__*/ _styled("div", {
|
|
|
14126
14189
|
}
|
|
14127
14190
|
`;
|
|
14128
14191
|
}, ";");
|
|
14129
|
-
const StyledTag$
|
|
14192
|
+
const StyledTag$3 = /*#__PURE__*/ _styled(Tag, { target: "e1bn4x3g23" })({
|
|
14130
14193
|
name: "ti75j2",
|
|
14131
14194
|
styles: "margin:0",
|
|
14132
14195
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$10
|
|
14133
14196
|
});
|
|
14134
14197
|
const StyledPrimaryNavContainer = /*#__PURE__*/ _styled("div", {
|
|
14135
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14198
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14136
14199
|
target: "e1bn4x3g22"
|
|
14137
14200
|
})("align-items:center;display:flex;flex-grow:1;", (props) => {
|
|
14138
14201
|
const { showSearch, primaryNavPosition, isNarrow } = props;
|
|
@@ -14148,7 +14211,7 @@ const StyledPrimaryNavContainer = /*#__PURE__*/ _styled("div", {
|
|
|
14148
14211
|
`;
|
|
14149
14212
|
}, ";");
|
|
14150
14213
|
const StyledSearch = /*#__PURE__*/ _styled(InputSearch, {
|
|
14151
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
14214
|
+
shouldForwardProp: (prop) => !doNotForwardProps$10.includes(prop),
|
|
14152
14215
|
target: "e1bn4x3g21"
|
|
14153
14216
|
})("margin:0;width:100%;", (props) => {
|
|
14154
14217
|
var _semanticColors$base8, _semanticColors$base9, _semanticColors$base10, _semanticColors$base11, _semanticColors$base12, _semanticColors$base13, _semanticColors$base14, _semanticColors$base15, _semanticColors$base16, _semanticColors$base17;
|
|
@@ -14258,7 +14321,7 @@ const NarrowButtonStyles = (props) => {
|
|
|
14258
14321
|
`;
|
|
14259
14322
|
};
|
|
14260
14323
|
const StyledButtonSection = /*#__PURE__*/ _styled("section", {
|
|
14261
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14324
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14262
14325
|
target: "e1bn4x3g20"
|
|
14263
14326
|
})("display:flex;align-items:center;z-index:100;", (props) => {
|
|
14264
14327
|
const { isNarrow } = props;
|
|
@@ -14272,7 +14335,7 @@ const StyledButtonSection = /*#__PURE__*/ _styled("section", {
|
|
|
14272
14335
|
}, ";");
|
|
14273
14336
|
const StyledDrawer$1 = /*#__PURE__*/ _styled(Drawer, {
|
|
14274
14337
|
shouldForwardProp: (prop) => ![
|
|
14275
|
-
...doNotForwardProps$
|
|
14338
|
+
...doNotForwardProps$10,
|
|
14276
14339
|
"sdsStyle",
|
|
14277
14340
|
"topOffset"
|
|
14278
14341
|
].includes(prop),
|
|
@@ -14295,7 +14358,7 @@ const StyledDrawer$1 = /*#__PURE__*/ _styled(Drawer, {
|
|
|
14295
14358
|
`;
|
|
14296
14359
|
}, ";");
|
|
14297
14360
|
const StyledDrawerContent = /*#__PURE__*/ _styled("div", {
|
|
14298
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14361
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14299
14362
|
target: "e1bn4x3g18"
|
|
14300
14363
|
})((props) => {
|
|
14301
14364
|
const spaces = getSpaces(props);
|
|
@@ -14308,7 +14371,7 @@ const StyledDrawerContent = /*#__PURE__*/ _styled("div", {
|
|
|
14308
14371
|
`;
|
|
14309
14372
|
}, ";");
|
|
14310
14373
|
const StyledNarrowHamburgerMenuButton = /*#__PURE__*/ _styled(Button, {
|
|
14311
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
14374
|
+
shouldForwardProp: (prop) => !doNotForwardProps$10.includes(prop),
|
|
14312
14375
|
target: "e1bn4x3g17"
|
|
14313
14376
|
})((props) => {
|
|
14314
14377
|
var _iconSizes$l, _iconSizes$l2;
|
|
@@ -14348,7 +14411,7 @@ const DrawerAccordionStyles = (props) => {
|
|
|
14348
14411
|
`;
|
|
14349
14412
|
};
|
|
14350
14413
|
const StyledAccordion = /*#__PURE__*/ _styled(Accordion, {
|
|
14351
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14414
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14352
14415
|
target: "e1bn4x3g16"
|
|
14353
14416
|
})("padding:0!important;width:100%;min-width:unset;.MuiAccordionSummary-content{", fontBodyMediumL, ";}.MuiAccordionDetails-root .MuiButtonBase-root .primary-text{", fontBodyS, ";}", (props) => {
|
|
14354
14417
|
var _semanticColors$base22, _semanticColors$base23, _semanticColors$base24, _spaces$l, _spaces$l2, _semanticColors$base25, _semanticColors$base26, _semanticColors$base27, _semanticColors$base28, _semanticColors$base29, _semanticColors$base30, _semanticColors$base31, _semanticColors$accen5;
|
|
@@ -14461,7 +14524,7 @@ const StyledAccordion = /*#__PURE__*/ _styled(Accordion, {
|
|
|
14461
14524
|
`;
|
|
14462
14525
|
}, ";");
|
|
14463
14526
|
const StyledSectionDivider = /*#__PURE__*/ _styled(Divider, {
|
|
14464
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14527
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14465
14528
|
target: "e1bn4x3g15"
|
|
14466
14529
|
})((props) => {
|
|
14467
14530
|
const semanticColors = getSemanticColors(props);
|
|
@@ -14473,7 +14536,7 @@ const StyledSectionDivider = /*#__PURE__*/ _styled(Divider, {
|
|
|
14473
14536
|
}, ";");
|
|
14474
14537
|
const StyledMegaMenuDrawer = /*#__PURE__*/ _styled(Drawer, {
|
|
14475
14538
|
shouldForwardProp: (prop) => ![
|
|
14476
|
-
...doNotForwardProps$
|
|
14539
|
+
...doNotForwardProps$10,
|
|
14477
14540
|
"sdsStyle",
|
|
14478
14541
|
"topOffset"
|
|
14479
14542
|
].includes(prop),
|
|
@@ -14509,7 +14572,7 @@ const StyledMegaMenuDrawer = /*#__PURE__*/ _styled(Drawer, {
|
|
|
14509
14572
|
`;
|
|
14510
14573
|
}, ";");
|
|
14511
14574
|
const StyledMegaMenuContent = /*#__PURE__*/ _styled("div", {
|
|
14512
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14575
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14513
14576
|
target: "e1bn4x3g13"
|
|
14514
14577
|
})((props) => {
|
|
14515
14578
|
const { hasInvertedStyle } = props;
|
|
@@ -14529,7 +14592,7 @@ const StyledMegaMenuContent = /*#__PURE__*/ _styled("div", {
|
|
|
14529
14592
|
}, ";");
|
|
14530
14593
|
const StyledHoverDrawerColumn = /*#__PURE__*/ _styled("div", {
|
|
14531
14594
|
shouldForwardProp: (prop) => ![
|
|
14532
|
-
...doNotForwardProps$
|
|
14595
|
+
...doNotForwardProps$10,
|
|
14533
14596
|
"sdsStyle",
|
|
14534
14597
|
"totalColumns"
|
|
14535
14598
|
].includes(prop),
|
|
@@ -14562,7 +14625,7 @@ const StyledContentWrapper = /*#__PURE__*/ _styled("div", { target: "e1bn4x3g11"
|
|
|
14562
14625
|
`;
|
|
14563
14626
|
}, ";");
|
|
14564
14627
|
const StyledHoverDrawerColumnHeader = /*#__PURE__*/ _styled("div", {
|
|
14565
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14628
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14566
14629
|
target: "e1bn4x3g10"
|
|
14567
14630
|
})((props) => {
|
|
14568
14631
|
const { hasInvertedStyle } = props;
|
|
@@ -14577,7 +14640,7 @@ const StyledHoverDrawerColumnHeader = /*#__PURE__*/ _styled("div", {
|
|
|
14577
14640
|
`;
|
|
14578
14641
|
}, ";");
|
|
14579
14642
|
const StyledHoverDrawerItem = /*#__PURE__*/ _styled(Button, {
|
|
14580
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14643
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14581
14644
|
target: "e1bn4x3g9"
|
|
14582
14645
|
})((props) => {
|
|
14583
14646
|
var _iconSizes$l3, _iconSizes$s, _iconSizes$l4, _iconSizes$s2, _semanticColors$base32, _semanticColors$base33, _semanticColors$accen6;
|
|
@@ -14619,7 +14682,7 @@ const StyledHoverDrawerItem = /*#__PURE__*/ _styled(Button, {
|
|
|
14619
14682
|
`;
|
|
14620
14683
|
}, ";");
|
|
14621
14684
|
const StyledHoverDrawerItemContent = /*#__PURE__*/ _styled("div", {
|
|
14622
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14685
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14623
14686
|
target: "e1bn4x3g8"
|
|
14624
14687
|
})((props) => {
|
|
14625
14688
|
const spaces = getSpaces(props);
|
|
@@ -14631,7 +14694,7 @@ const StyledHoverDrawerItemContent = /*#__PURE__*/ _styled("div", {
|
|
|
14631
14694
|
`;
|
|
14632
14695
|
}, ";");
|
|
14633
14696
|
const StyledHoverDrawerItemIcon = /*#__PURE__*/ _styled("div", {
|
|
14634
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14697
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14635
14698
|
target: "e1bn4x3g7"
|
|
14636
14699
|
})((props) => {
|
|
14637
14700
|
var _semanticColors$accen7, _semanticColors$accen8;
|
|
@@ -14651,7 +14714,7 @@ const StyledHoverDrawerItemIcon = /*#__PURE__*/ _styled("div", {
|
|
|
14651
14714
|
`;
|
|
14652
14715
|
}, ";");
|
|
14653
14716
|
const StyledHoverDrawerItemText = /*#__PURE__*/ _styled("div", {
|
|
14654
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14717
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14655
14718
|
target: "e1bn4x3g6"
|
|
14656
14719
|
})(() => {
|
|
14657
14720
|
return css$1`
|
|
@@ -14663,7 +14726,7 @@ const StyledHoverDrawerItemText = /*#__PURE__*/ _styled("div", {
|
|
|
14663
14726
|
`;
|
|
14664
14727
|
}, ";");
|
|
14665
14728
|
const EmptyIcon = /*#__PURE__*/ _styled("div", {
|
|
14666
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14729
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14667
14730
|
target: "e1bn4x3g5"
|
|
14668
14731
|
})((props) => {
|
|
14669
14732
|
var _iconSize$l, _iconSize$s, _iconSize$l2, _iconSize$s2;
|
|
@@ -14678,7 +14741,7 @@ const EmptyIcon = /*#__PURE__*/ _styled("div", {
|
|
|
14678
14741
|
`;
|
|
14679
14742
|
}, ";");
|
|
14680
14743
|
const StyledHoverDrawerItemTitle = /*#__PURE__*/ _styled("div", {
|
|
14681
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14744
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14682
14745
|
target: "e1bn4x3g4"
|
|
14683
14746
|
})((props) => {
|
|
14684
14747
|
const { hasInvertedStyle, hasDetails } = props;
|
|
@@ -14698,7 +14761,7 @@ const StyledHoverDrawerItemTitle = /*#__PURE__*/ _styled("div", {
|
|
|
14698
14761
|
`;
|
|
14699
14762
|
}, ";");
|
|
14700
14763
|
const StyledHoverDrawerItemDetails = /*#__PURE__*/ _styled("div", {
|
|
14701
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14764
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14702
14765
|
target: "e1bn4x3g3"
|
|
14703
14766
|
})((props) => {
|
|
14704
14767
|
const { hasInvertedStyle } = props;
|
|
@@ -14713,7 +14776,7 @@ const StyledHoverDrawerItemDetails = /*#__PURE__*/ _styled("div", {
|
|
|
14713
14776
|
`;
|
|
14714
14777
|
}, ";");
|
|
14715
14778
|
const StyledHoverDrawerActions = /*#__PURE__*/ _styled("div", {
|
|
14716
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14779
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14717
14780
|
target: "e1bn4x3g2"
|
|
14718
14781
|
})((props) => {
|
|
14719
14782
|
const spaces = getSpaces(props);
|
|
@@ -14742,7 +14805,7 @@ const StyledButton = /*#__PURE__*/ _styled(Button, { target: "e1bn4x3g1" })((pro
|
|
|
14742
14805
|
`;
|
|
14743
14806
|
}, ";");
|
|
14744
14807
|
const StyledHoverDrawerContainer = /*#__PURE__*/ _styled("div", {
|
|
14745
|
-
shouldForwardProp: (prop) => ![...doNotForwardProps$
|
|
14808
|
+
shouldForwardProp: (prop) => ![...doNotForwardProps$10, "sdsStyle"].includes(prop),
|
|
14746
14809
|
target: "e1bn4x3g0"
|
|
14747
14810
|
})({
|
|
14748
14811
|
name: "bjn8wh",
|
|
@@ -14754,7 +14817,7 @@ const StyledHoverDrawerContainer = /*#__PURE__*/ _styled("div", {
|
|
|
14754
14817
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$9() {
|
|
14755
14818
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
14756
14819
|
}
|
|
14757
|
-
const StyledTag$
|
|
14820
|
+
const StyledTag$2 = /*#__PURE__*/ _styled(Tag, { target: "etq4jsl1" })({
|
|
14758
14821
|
name: "ti75j2",
|
|
14759
14822
|
styles: "margin:0",
|
|
14760
14823
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$9
|
|
@@ -14764,7 +14827,7 @@ const StyledTag$1 = /*#__PURE__*/ _styled(Tag, { target: "etq4jsl1" })({
|
|
|
14764
14827
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$8() {
|
|
14765
14828
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
14766
14829
|
}
|
|
14767
|
-
const doNotForwardProps$
|
|
14830
|
+
const doNotForwardProps$9 = [
|
|
14768
14831
|
"active",
|
|
14769
14832
|
"hasInvertedStyle",
|
|
14770
14833
|
"isNarrow",
|
|
@@ -14797,7 +14860,7 @@ const NarrowNavItemStyles = (props) => {
|
|
|
14797
14860
|
return /*#__PURE__*/ css(active ? fontBodySemiboldL(props) : fontBodyMediumL(props), " border-radius:", corners === null || corners === void 0 ? void 0 : corners.l, "px;padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px!important;", navVariant === "primary" ? "justify-content: start;" : "", " ", innerSdsStyle === "drawer" ? _ref2$1 : /*#__PURE__*/ css("background-color:", active ? hasInvertedStyle ? semanticColors === null || semanticColors === void 0 || (_semanticColors$base3 = semanticColors.base) === null || _semanticColors$base3 === void 0 ? void 0 : _semanticColors$base3.fillPrimaryPressedOnDark : semanticColors === null || semanticColors === void 0 || (_semanticColors$base4 = semanticColors.base) === null || _semanticColors$base4 === void 0 ? void 0 : _semanticColors$base4.fillPrimaryPressed : "transparent", ";"), " width:100%;height:unset!important;&:hover{", innerSdsStyle === "drawer" ? _ref$1 : /*#__PURE__*/ css("background:", hasInvertedStyle ? semanticColors === null || semanticColors === void 0 || (_semanticColors$base5 = semanticColors.base) === null || _semanticColors$base5 === void 0 ? void 0 : _semanticColors$base5.fillPrimaryInteractionOnDark : semanticColors === null || semanticColors === void 0 || (_semanticColors$base6 = semanticColors.base) === null || _semanticColors$base6 === void 0 ? void 0 : _semanticColors$base6.fillPrimaryInteraction, ";"), " box-shadow:none;", navVariant === "primary" && StyledLabel, "{color:", hasInvertedStyle ? semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base.textPrimaryOnDark : semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base.textPrimary, ";}svg{color:", ChevronHoverColor, "!important;}}");
|
|
14798
14861
|
};
|
|
14799
14862
|
const UnifiedNavItem = /*#__PURE__*/ _styled(Button, {
|
|
14800
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
14863
|
+
shouldForwardProp: (prop) => !doNotForwardProps$9.includes(prop),
|
|
14801
14864
|
target: "e810m81"
|
|
14802
14865
|
})("display:flex;align-items:center;min-width:fit-content;border:none;background:transparent;height:unset!important;", (props) => {
|
|
14803
14866
|
var _semanticColors$base7, _semanticColors$base8, _semanticColors$base9, _semanticColors$base10, _semanticColors$base11;
|
|
@@ -14813,7 +14876,7 @@ const UnifiedNavItem = /*#__PURE__*/ _styled(Button, {
|
|
|
14813
14876
|
return [navVariant === "secondary" && (active ? fontBodySemiboldS(props) : fontBodyMediumS(props)), /*#__PURE__*/ css("padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xxxs, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;border-radius:", corners === null || corners === void 0 ? void 0 : corners.l, "px;background-color:", active ? hasInvertedStyle ? semanticColors === null || semanticColors === void 0 || (_semanticColors$base8 = semanticColors.base) === null || _semanticColors$base8 === void 0 ? void 0 : _semanticColors$base8.fillPrimaryPressedOnDark : semanticColors === null || semanticColors === void 0 || (_semanticColors$base9 = semanticColors.base) === null || _semanticColors$base9 === void 0 ? void 0 : _semanticColors$base9.fillPrimaryPressed : "transparent", ";", navVariant === "secondary" ? /*#__PURE__*/ css("gap:", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;color:", active ? textActiveColor : textDefaultColor, ";justify-content:flex-start;width:fit-content;&>span{gap:", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px!important;}") : "", " svg{color:", active ? ChevronOpenColor : ChevronDefaultColor, ";}&:hover{background:", hasInvertedStyle ? semanticColors === null || semanticColors === void 0 || (_semanticColors$base10 = semanticColors.base) === null || _semanticColors$base10 === void 0 ? void 0 : _semanticColors$base10.fillPrimaryInteractionOnDark : semanticColors === null || semanticColors === void 0 || (_semanticColors$base11 = semanticColors.base) === null || _semanticColors$base11 === void 0 ? void 0 : _semanticColors$base11.fillPrimaryInteraction, "!important;box-shadow:none;", navVariant === "primary" && StyledLabel, "{color:", hasInvertedStyle ? semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base.textPrimaryOnDark : semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base.textPrimary, ";}svg{color:", ChevronHoverColor, "!important;}}", isNarrow && NarrowNavItemStyles(props), ";")];
|
|
14814
14877
|
}, ";");
|
|
14815
14878
|
const StyledLabel = /*#__PURE__*/ _styled("span", {
|
|
14816
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
14879
|
+
shouldForwardProp: (prop) => !doNotForwardProps$9.includes(prop),
|
|
14817
14880
|
target: "e810m80"
|
|
14818
14881
|
})((props) => {
|
|
14819
14882
|
const { hasInvertedStyle, active, isNarrow } = props;
|
|
@@ -14828,7 +14891,7 @@ const StyledLabel = /*#__PURE__*/ _styled("span", {
|
|
|
14828
14891
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$7() {
|
|
14829
14892
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
14830
14893
|
}
|
|
14831
|
-
const doNotForwardProps$
|
|
14894
|
+
const doNotForwardProps$8 = [
|
|
14832
14895
|
"isNarrow",
|
|
14833
14896
|
"hasSection",
|
|
14834
14897
|
"hasInvertedStyle",
|
|
@@ -14840,7 +14903,7 @@ const NarrowStyledSection = (props) => {
|
|
|
14840
14903
|
return /*#__PURE__*/ css("align-items:start;flex-direction:column;margin-top:", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;");
|
|
14841
14904
|
};
|
|
14842
14905
|
const StyledSection = /*#__PURE__*/ _styled("section", {
|
|
14843
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
14906
|
+
shouldForwardProp: (prop) => !doNotForwardProps$8.includes(prop),
|
|
14844
14907
|
target: "e13tbovl6"
|
|
14845
14908
|
})("display:flex;align-items:center;", (props) => {
|
|
14846
14909
|
const { isNarrow } = props;
|
|
@@ -14848,7 +14911,7 @@ const StyledSection = /*#__PURE__*/ _styled("section", {
|
|
|
14848
14911
|
return /*#__PURE__*/ css("column-gap:", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;row-gap:", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;", isNarrow && NarrowStyledSection(props), ";");
|
|
14849
14912
|
}, ";");
|
|
14850
14913
|
const StyledSectionHeader = /*#__PURE__*/ _styled(ListSubheader, {
|
|
14851
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
14914
|
+
shouldForwardProp: (prop) => !doNotForwardProps$8.includes(prop),
|
|
14852
14915
|
target: "e13tbovl5"
|
|
14853
14916
|
})((props) => {
|
|
14854
14917
|
const { isNarrow, hasInvertedStyle, sdsStyle } = props;
|
|
@@ -14868,7 +14931,7 @@ const StyledSectionHeader = /*#__PURE__*/ _styled(ListSubheader, {
|
|
|
14868
14931
|
return /*#__PURE__*/ css("&.MuiListSubheader-root{", fontCapsXxxxs(props), " top:0;color:", getTextColor(), ";background-color:", getBackgroundColor(), ";padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px ", isNarrow ? spaces === null || spaces === void 0 ? void 0 : spaces.xl : spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;margin-bottom:0;}");
|
|
14869
14932
|
}, ";");
|
|
14870
14933
|
const StyledAccordionDetails = /*#__PURE__*/ _styled(AccordionDetails, {
|
|
14871
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
14934
|
+
shouldForwardProp: (prop) => !doNotForwardProps$8.includes(prop),
|
|
14872
14935
|
target: "e13tbovl4"
|
|
14873
14936
|
})((props) => {
|
|
14874
14937
|
const { sdsStyle } = props;
|
|
@@ -14881,7 +14944,7 @@ var _ref2 = {
|
|
|
14881
14944
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$7
|
|
14882
14945
|
};
|
|
14883
14946
|
const StyledAccordionSection = /*#__PURE__*/ _styled("div", {
|
|
14884
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
14947
|
+
shouldForwardProp: (prop) => !doNotForwardProps$8.includes(prop),
|
|
14885
14948
|
target: "e13tbovl3"
|
|
14886
14949
|
})((props) => {
|
|
14887
14950
|
const { sdsStyle, hasInvertedStyle } = props;
|
|
@@ -14895,7 +14958,7 @@ const StyledAccordionSection = /*#__PURE__*/ _styled("div", {
|
|
|
14895
14958
|
return _ref2;
|
|
14896
14959
|
}, ";");
|
|
14897
14960
|
const StyledDivider = /*#__PURE__*/ _styled(Divider, {
|
|
14898
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
14961
|
+
shouldForwardProp: (prop) => !doNotForwardProps$8.includes(prop),
|
|
14899
14962
|
target: "e13tbovl2"
|
|
14900
14963
|
})((props) => {
|
|
14901
14964
|
const { hasSection, isNarrow, hasInvertedStyle } = props;
|
|
@@ -15017,7 +15080,7 @@ function DrawerContent({ drawerItems, sectionProps, section, hasMultipleSections
|
|
|
15017
15080
|
}
|
|
15018
15081
|
//#endregion
|
|
15019
15082
|
//#region src/core/NavigationHeader/components/shared/AccordionNavItemStyle.ts
|
|
15020
|
-
const doNotForwardProps$
|
|
15083
|
+
const doNotForwardProps$7 = [
|
|
15021
15084
|
"hasInvertedStyle",
|
|
15022
15085
|
"hasCaption",
|
|
15023
15086
|
"iconSize",
|
|
@@ -15026,7 +15089,7 @@ const doNotForwardProps$6 = [
|
|
|
15026
15089
|
"sdsStyle"
|
|
15027
15090
|
];
|
|
15028
15091
|
const StyledDrawerNavItem = /*#__PURE__*/ _styled(Button, {
|
|
15029
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
15092
|
+
shouldForwardProp: (prop) => !doNotForwardProps$7.includes(prop),
|
|
15030
15093
|
target: "e1s6tb7t4"
|
|
15031
15094
|
})((props) => {
|
|
15032
15095
|
var _semanticColors$base, _semanticColors$base2, _iconSizes$l, _iconSizes$s, _iconSizes$l2, _iconSizes$s2;
|
|
@@ -15037,14 +15100,14 @@ const StyledDrawerNavItem = /*#__PURE__*/ _styled(Button, {
|
|
|
15037
15100
|
return /*#__PURE__*/ css("display:flex;justify-content:start;background-color:transparent!important;background-image:none!important;border:none!important;outline:none!important;box-shadow:none!important;align-items:center;text-align:left;gap:", spaces === null || spaces === void 0 ? void 0 : spaces.l, "px!important;padding:", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px 0!important;&>span{gap:", spaces === null || spaces === void 0 ? void 0 : spaces.l, "px!important;}cursor:pointer;border-radius:8px;transition:background-color 150ms;color:", textColor, ";height:unset!important;svg{width:", props.hasCaption ? iconSizes === null || iconSizes === void 0 || (_iconSizes$l = iconSizes.l) === null || _iconSizes$l === void 0 ? void 0 : _iconSizes$l.width : iconSizes === null || iconSizes === void 0 || (_iconSizes$s = iconSizes.s) === null || _iconSizes$s === void 0 ? void 0 : _iconSizes$s.width, "px!important;height:", props.hasCaption ? iconSizes === null || iconSizes === void 0 || (_iconSizes$l2 = iconSizes.l) === null || _iconSizes$l2 === void 0 ? void 0 : _iconSizes$l2.height : iconSizes === null || iconSizes === void 0 || (_iconSizes$s2 = iconSizes.s) === null || _iconSizes$s2 === void 0 ? void 0 : _iconSizes$s2.height, "px!important;}&:hover{background-color:transparent;background-image:none;border:none;outline:none;box-shadow:none;}");
|
|
15038
15101
|
}, ";");
|
|
15039
15102
|
const StyledDrawerNavItemContent = /*#__PURE__*/ _styled("div", {
|
|
15040
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
15103
|
+
shouldForwardProp: (prop) => !doNotForwardProps$7.includes(prop),
|
|
15041
15104
|
target: "e1s6tb7t3"
|
|
15042
15105
|
})((props) => {
|
|
15043
15106
|
const spaces = getSpaces(props);
|
|
15044
15107
|
return /*#__PURE__*/ css("display:flex;flex-direction:column;gap:0!important;flex:1;min-width:0;padding-top:", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;");
|
|
15045
15108
|
}, ";");
|
|
15046
15109
|
const StyledDrawerNavItemText = /*#__PURE__*/ _styled("div", {
|
|
15047
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
15110
|
+
shouldForwardProp: (prop) => !doNotForwardProps$7.includes(prop),
|
|
15048
15111
|
target: "e1s6tb7t2"
|
|
15049
15112
|
})((props) => {
|
|
15050
15113
|
var _semanticColors$base3, _semanticColors$base4;
|
|
@@ -15054,7 +15117,7 @@ const StyledDrawerNavItemText = /*#__PURE__*/ _styled("div", {
|
|
|
15054
15117
|
return /*#__PURE__*/ css(hasDetails ? fontBodySemiboldS(props) : fontBodyMediumS(props), " color:", textColor, ";overflow:hidden;text-overflow:ellipsis;white-space:normal;line-height:24px;");
|
|
15055
15118
|
}, ";");
|
|
15056
15119
|
const StyledDrawerNavItemCaption = /*#__PURE__*/ _styled("div", {
|
|
15057
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
15120
|
+
shouldForwardProp: (prop) => !doNotForwardProps$7.includes(prop),
|
|
15058
15121
|
target: "e1s6tb7t1"
|
|
15059
15122
|
})((props) => {
|
|
15060
15123
|
var _semanticColors$base5, _semanticColors$base6;
|
|
@@ -15063,7 +15126,7 @@ const StyledDrawerNavItemCaption = /*#__PURE__*/ _styled("div", {
|
|
|
15063
15126
|
return /*#__PURE__*/ css(fontBodyXs(props), " color:", captionColor, ";white-space:normal;line-height:20px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;");
|
|
15064
15127
|
}, ";");
|
|
15065
15128
|
const StyledIconWrapper = /*#__PURE__*/ _styled("div", {
|
|
15066
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
15129
|
+
shouldForwardProp: (prop) => !doNotForwardProps$7.includes(prop),
|
|
15067
15130
|
target: "e1s6tb7t0"
|
|
15068
15131
|
})((props) => {
|
|
15069
15132
|
const { iconSize } = props;
|
|
@@ -15532,10 +15595,10 @@ function NavigationHeaderPrimaryNav({ menuProps, hasInvertedStyle, isNarrow, ite
|
|
|
15532
15595
|
isNarrow,
|
|
15533
15596
|
children: label
|
|
15534
15597
|
}),
|
|
15535
|
-
tag && /* @__PURE__ */ jsx(StyledTag$
|
|
15598
|
+
tag && /* @__PURE__ */ jsx(StyledTag$2, {
|
|
15536
15599
|
label: tag,
|
|
15537
15600
|
color: tagColor,
|
|
15538
|
-
|
|
15601
|
+
size: "small"
|
|
15539
15602
|
})
|
|
15540
15603
|
]
|
|
15541
15604
|
})
|
|
@@ -15632,7 +15695,7 @@ function NavigationHeaderPrimaryNav({ menuProps, hasInvertedStyle, isNarrow, ite
|
|
|
15632
15695
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$6() {
|
|
15633
15696
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
15634
15697
|
}
|
|
15635
|
-
const StyledTag = /*#__PURE__*/ _styled(Tag, { target: "es7myp0" })({
|
|
15698
|
+
const StyledTag$1 = /*#__PURE__*/ _styled(Tag, { target: "es7myp0" })({
|
|
15636
15699
|
name: "ti75j2",
|
|
15637
15700
|
styles: "margin:0",
|
|
15638
15701
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$6
|
|
@@ -15820,10 +15883,10 @@ function NavigationHeaderSecondaryNav({ menuProps, items, hasInvertedStyle, isNa
|
|
|
15820
15883
|
sdsStyle: "minimal",
|
|
15821
15884
|
navVariant: "secondary",
|
|
15822
15885
|
size: "medium",
|
|
15823
|
-
children: [label, tag && /* @__PURE__ */ jsx(StyledTag, {
|
|
15886
|
+
children: [label, tag && /* @__PURE__ */ jsx(StyledTag$1, {
|
|
15824
15887
|
label: tag,
|
|
15825
15888
|
color: tagColor,
|
|
15826
|
-
|
|
15889
|
+
size: "small"
|
|
15827
15890
|
})]
|
|
15828
15891
|
}), key);
|
|
15829
15892
|
};
|
|
@@ -16094,10 +16157,10 @@ const NavigationHeader = forwardRef((props, ref) => {
|
|
|
16094
16157
|
let logoNode = /* @__PURE__ */ jsxs(StyledTitleContainer, {
|
|
16095
16158
|
hasInvertedStyle,
|
|
16096
16159
|
isNarrow: dimensions.isNarrow,
|
|
16097
|
-
children: [logo && /* @__PURE__ */ jsx(StyledLogoWrapper, { children: logo }), (title || tag) && /* @__PURE__ */ jsxs(StyledTitleTagWrapper, { children: [title && /* @__PURE__ */ jsx("p", { children: title }), tag && /* @__PURE__ */ jsx(StyledTag$
|
|
16160
|
+
children: [logo && /* @__PURE__ */ jsx(StyledLogoWrapper, { children: logo }), (title || tag) && /* @__PURE__ */ jsxs(StyledTitleTagWrapper, { children: [title && /* @__PURE__ */ jsx("p", { children: title }), tag && /* @__PURE__ */ jsx(StyledTag$3, {
|
|
16098
16161
|
color: tagColor,
|
|
16099
16162
|
label: tag,
|
|
16100
|
-
|
|
16163
|
+
size: "small"
|
|
16101
16164
|
})] })]
|
|
16102
16165
|
});
|
|
16103
16166
|
if (logoLinkComponent || logoUrl) logoNode = /* @__PURE__ */ jsx(StyledLogoLinkWrapper, _objectSpread2(_objectSpread2({
|
|
@@ -16341,14 +16404,14 @@ const useScrollStopListener = (callback, timeout = 50) => {
|
|
|
16341
16404
|
};
|
|
16342
16405
|
//#endregion
|
|
16343
16406
|
//#region src/core/NavigationJumpTo/style.ts
|
|
16344
|
-
const doNotForwardProps$
|
|
16407
|
+
const doNotForwardProps$6 = [
|
|
16345
16408
|
"items",
|
|
16346
16409
|
"sdsIndicatorColor",
|
|
16347
16410
|
"width",
|
|
16348
16411
|
"isSubItem"
|
|
16349
16412
|
];
|
|
16350
16413
|
const StyledTabs$1 = /*#__PURE__*/ _styled(Tabs$1, {
|
|
16351
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
16414
|
+
shouldForwardProp: (prop) => !doNotForwardProps$6.includes(prop),
|
|
16352
16415
|
target: "e1svjln41"
|
|
16353
16416
|
})((props) => {
|
|
16354
16417
|
var _semanticColors$base, _semanticColors$accen;
|
|
@@ -16387,7 +16450,7 @@ const StyledTabs$1 = /*#__PURE__*/ _styled(Tabs$1, {
|
|
|
16387
16450
|
`;
|
|
16388
16451
|
}, ";");
|
|
16389
16452
|
const StyledTab$1 = /*#__PURE__*/ _styled(Tab$1, {
|
|
16390
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
16453
|
+
shouldForwardProp: (prop) => !doNotForwardProps$6.includes(prop),
|
|
16391
16454
|
target: "e1svjln40"
|
|
16392
16455
|
})(fontBodyMediumXs, " ", (props) => {
|
|
16393
16456
|
var _semanticColors$base2, _semanticColors$base3, _semanticColors$base4, _semanticColors$base5;
|
|
@@ -16623,9 +16686,9 @@ const NavigationJumpTo = forwardRef((props, ref) => {
|
|
|
16623
16686
|
//#endregion
|
|
16624
16687
|
//#region src/core/Notification/style.ts
|
|
16625
16688
|
const fontBodyXs$1 = fontBody("xs");
|
|
16626
|
-
const doNotForwardProps$
|
|
16689
|
+
const doNotForwardProps$5 = ["slideDirection"];
|
|
16627
16690
|
const StyledNotification = /*#__PURE__*/ _styled(Alert$1, {
|
|
16628
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
16691
|
+
shouldForwardProp: (prop) => !doNotForwardProps$5.includes(prop),
|
|
16629
16692
|
target: "e1ktql9t2"
|
|
16630
16693
|
})(fontBodyXs$1, " ", (props) => {
|
|
16631
16694
|
var _semanticColors$inten, _semanticColors$inten2, _semanticColors$inten3, _semanticColors$inten4, _semanticColors$base, _semanticColors$inten5;
|
|
@@ -16808,7 +16871,7 @@ const Notification = (_ref) => {
|
|
|
16808
16871
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$5() {
|
|
16809
16872
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
16810
16873
|
}
|
|
16811
|
-
const doNotForwardProps$
|
|
16874
|
+
const doNotForwardProps$4 = [
|
|
16812
16875
|
"sdsStyle",
|
|
16813
16876
|
"selected",
|
|
16814
16877
|
"onPageChange",
|
|
@@ -16842,7 +16905,7 @@ const StyledPaginationButton = /*#__PURE__*/ _styled(Button, { target: "e61vbx4"
|
|
|
16842
16905
|
`;
|
|
16843
16906
|
}, ";");
|
|
16844
16907
|
const StyledPaginationChevronList = /*#__PURE__*/ _styled("li", {
|
|
16845
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
16908
|
+
shouldForwardProp: (prop) => !doNotForwardProps$4.includes(prop),
|
|
16846
16909
|
target: "e61vbx3"
|
|
16847
16910
|
})((props) => {
|
|
16848
16911
|
var _semanticColors$base3, _semanticColors$base4, _semanticColors$base5, _semanticColors$base6, _semanticColors$base7;
|
|
@@ -16883,7 +16946,7 @@ const StyledPaginationChevronList = /*#__PURE__*/ _styled("li", {
|
|
|
16883
16946
|
`;
|
|
16884
16947
|
}, ";");
|
|
16885
16948
|
const StyledPagination = /*#__PURE__*/ _styled("ul", {
|
|
16886
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
16949
|
+
shouldForwardProp: (prop) => !doNotForwardProps$4.includes(prop),
|
|
16887
16950
|
target: "e61vbx2"
|
|
16888
16951
|
})(fontBodyS, " display:flex;flex-wrap:wrap;padding:0;margin:0;& li{list-style:none;}");
|
|
16889
16952
|
const selectedPageStyle = (props) => {
|
|
@@ -16892,7 +16955,7 @@ const selectedPageStyle = (props) => {
|
|
|
16892
16955
|
return /*#__PURE__*/ css("background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base8 = semanticColors.base) === null || _semanticColors$base8 === void 0 ? void 0 : _semanticColors$base8.fillPrimaryInteraction, ";color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base9 = semanticColors.base) === null || _semanticColors$base9 === void 0 ? void 0 : _semanticColors$base9.textPrimary, ";box-shadow:inset 0 0 0 1px ", semanticColors === null || semanticColors === void 0 || (_semanticColors$base10 = semanticColors.base) === null || _semanticColors$base10 === void 0 ? void 0 : _semanticColors$base10.borderSecondary, ";&:hover{box-shadow:inset 0 0 0 1px ", semanticColors === null || semanticColors === void 0 || (_semanticColors$base11 = semanticColors.base) === null || _semanticColors$base11 === void 0 ? void 0 : _semanticColors$base11.borderSecondary, ";}", fontTabularSemiboldS(props), ";");
|
|
16893
16956
|
};
|
|
16894
16957
|
const Page = /*#__PURE__*/ _styled("li", {
|
|
16895
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
16958
|
+
shouldForwardProp: (prop) => !doNotForwardProps$4.includes(prop),
|
|
16896
16959
|
target: "e61vbx1"
|
|
16897
16960
|
})(fontTabularMediumS, " ", (props) => {
|
|
16898
16961
|
var _semanticColors$base12, _semanticColors$base13, _semanticColors$base14;
|
|
@@ -17114,7 +17177,7 @@ const PANEL_TRANSITION_DURATION_MS = {
|
|
|
17114
17177
|
};
|
|
17115
17178
|
//#endregion
|
|
17116
17179
|
//#region src/core/Panel/style.ts
|
|
17117
|
-
const doNotForwardProps$
|
|
17180
|
+
const doNotForwardProps$3 = [
|
|
17118
17181
|
"sdsType",
|
|
17119
17182
|
"position",
|
|
17120
17183
|
"width",
|
|
@@ -17139,7 +17202,7 @@ const overlayPanelStyles = (props) => {
|
|
|
17139
17202
|
return /*#__PURE__*/ css("pointer-events:none;.", drawerClasses.paper, ",.", backdropClasses.root, "{pointer-events:auto;}.", drawerClasses.paper, "{background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.backgroundPrimary, ";padding:0 ", spaces === null || spaces === void 0 ? void 0 : spaces.xl, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.xl, "px;min-width:", 320, "px;min-height:", 320, "px;box-shadow:", shadows === null || shadows === void 0 ? void 0 : shadows.l, ";background-image:none;}");
|
|
17140
17203
|
};
|
|
17141
17204
|
const StyledDrawer = /*#__PURE__*/ _styled(Drawer, {
|
|
17142
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
17205
|
+
shouldForwardProp: (prop) => !doNotForwardProps$3.includes(prop),
|
|
17143
17206
|
target: "ejokiai1"
|
|
17144
17207
|
})((props) => {
|
|
17145
17208
|
const { sdsType = "basic", anchor = "left", width } = props;
|
|
@@ -17272,46 +17335,6 @@ const Panel = React.forwardRef((props, ref) => {
|
|
|
17272
17335
|
);
|
|
17273
17336
|
});
|
|
17274
17337
|
//#endregion
|
|
17275
|
-
//#region src/core/Popover/style.ts
|
|
17276
|
-
const StyledPopover = /*#__PURE__*/ _styled(Popover$1, { target: "e89mz5z0" })("& .", popoverClasses.paper, "{", (props) => {
|
|
17277
|
-
var _semanticColors$base, _semanticColors$base2, _props$theme$zIndex$t, _props$theme;
|
|
17278
|
-
const corners = getCorners(props);
|
|
17279
|
-
const shadows = getShadows(props);
|
|
17280
|
-
const semanticColors = getSemanticColors(props);
|
|
17281
|
-
const borders = getBorders(props);
|
|
17282
|
-
const spaces = getSpaces(props);
|
|
17283
|
-
return `
|
|
17284
|
-
background-color: ${semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.surfacePrimary};
|
|
17285
|
-
background-image: none;
|
|
17286
|
-
border-radius: ${corners === null || corners === void 0 ? void 0 : corners.l}px;
|
|
17287
|
-
padding: ${spaces === null || spaces === void 0 ? void 0 : spaces.xs}px ${spaces === null || spaces === void 0 ? void 0 : spaces.m}px;
|
|
17288
|
-
border: ${borders === null || borders === void 0 ? void 0 : borders.none};
|
|
17289
|
-
outline: 1px solid ${addOpacityToHex((semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.borderSecondary) || "#000000", 15)};
|
|
17290
|
-
box-shadow: ${shadows === null || shadows === void 0 ? void 0 : shadows.m};
|
|
17291
|
-
box-sizing: border-box;
|
|
17292
|
-
z-index: ${(_props$theme$zIndex$t = props === null || props === void 0 || (_props$theme = props.theme) === null || _props$theme === void 0 || (_props$theme = _props$theme.zIndex) === null || _props$theme === void 0 ? void 0 : _props$theme.tooltip) !== null && _props$theme$zIndex$t !== void 0 ? _props$theme$zIndex$t : 1400};
|
|
17293
|
-
`;
|
|
17294
|
-
}, ";}");
|
|
17295
|
-
//#endregion
|
|
17296
|
-
//#region src/core/Popover/index.tsx
|
|
17297
|
-
/**
|
|
17298
|
-
* @see https://mui.com/material-ui/react-popover/
|
|
17299
|
-
*/
|
|
17300
|
-
const Popover = forwardRef(function Popover(props, ref) {
|
|
17301
|
-
const spaces = getSpaces({ theme: useTheme() });
|
|
17302
|
-
return /* @__PURE__ */ jsx(StyledPopover, _objectSpread2({
|
|
17303
|
-
ref,
|
|
17304
|
-
anchorOrigin: {
|
|
17305
|
-
horizontal: "left",
|
|
17306
|
-
vertical: "bottom"
|
|
17307
|
-
},
|
|
17308
|
-
transformOrigin: {
|
|
17309
|
-
vertical: -((spaces === null || spaces === void 0 ? void 0 : spaces.s) || 8),
|
|
17310
|
-
horizontal: 0
|
|
17311
|
-
}
|
|
17312
|
-
}, props));
|
|
17313
|
-
});
|
|
17314
|
-
//#endregion
|
|
17315
17338
|
//#region src/core/Table/style.ts
|
|
17316
17339
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$3() {
|
|
17317
17340
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
@@ -17329,7 +17352,7 @@ const Table = forwardRef((props, ref) => {
|
|
|
17329
17352
|
});
|
|
17330
17353
|
//#endregion
|
|
17331
17354
|
//#region src/core/TableRow/style.ts
|
|
17332
|
-
const doNotForwardProps$
|
|
17355
|
+
const doNotForwardProps$2 = [
|
|
17333
17356
|
"rowHeight",
|
|
17334
17357
|
"useDivider",
|
|
17335
17358
|
"shouldShowTooltipOnHover",
|
|
@@ -17413,7 +17436,7 @@ const selectedStyled = (props) => {
|
|
|
17413
17436
|
`;
|
|
17414
17437
|
};
|
|
17415
17438
|
const StyledTableRow = /*#__PURE__*/ _styled("tr", {
|
|
17416
|
-
shouldForwardProp: (prop) => !doNotForwardProps$
|
|
17439
|
+
shouldForwardProp: (prop) => !doNotForwardProps$2.includes(prop),
|
|
17417
17440
|
target: "euwrjwp0"
|
|
17418
17441
|
})(fontHeaderS, " ", focusVisibleA11yStyle, " ", (props) => {
|
|
17419
17442
|
var _semanticColors$base15, _semanticColors$base16, _semanticColors$base17;
|
|
@@ -18173,9 +18196,9 @@ const PreComposedTable = forwardRef(PreComposedTableInner);
|
|
|
18173
18196
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$1() {
|
|
18174
18197
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
18175
18198
|
}
|
|
18176
|
-
const doNotForwardProps = ["buttonDefinition"];
|
|
18199
|
+
const doNotForwardProps$1 = ["buttonDefinition"];
|
|
18177
18200
|
const StyledSegmentedControl = /*#__PURE__*/ _styled(ToggleButtonGroup, {
|
|
18178
|
-
shouldForwardProp: (prop) => !doNotForwardProps.includes(prop),
|
|
18201
|
+
shouldForwardProp: (prop) => !doNotForwardProps$1.includes(prop),
|
|
18179
18202
|
target: "enkxsnk3"
|
|
18180
18203
|
})((props) => {
|
|
18181
18204
|
var _semanticColors$base, _semanticColors$base2, _semanticColors$base3, _semanticColors$accen, _semanticColors$base4, _semanticColors$base5, _semanticColors$base6, _semanticColors$base7, _semanticColors$base8, _semanticColors$base9, _semanticColors$base10;
|
|
@@ -18229,7 +18252,7 @@ const StyledSegmentedControl = /*#__PURE__*/ _styled(ToggleButtonGroup, {
|
|
|
18229
18252
|
`;
|
|
18230
18253
|
}, ";");
|
|
18231
18254
|
const StyledToggleButton = /*#__PURE__*/ _styled(ToggleButton, {
|
|
18232
|
-
shouldForwardProp: (prop) => !doNotForwardProps.includes(prop),
|
|
18255
|
+
shouldForwardProp: (prop) => !doNotForwardProps$1.includes(prop),
|
|
18233
18256
|
target: "enkxsnk2"
|
|
18234
18257
|
})((props) => {
|
|
18235
18258
|
var _semanticColors$base11;
|
|
@@ -18419,6 +18442,158 @@ const Tab = forwardRef(function Tab(props, ref) {
|
|
|
18419
18442
|
}, rest), context));
|
|
18420
18443
|
});
|
|
18421
18444
|
//#endregion
|
|
18445
|
+
//#region src/core/TagLegacy/style.ts
|
|
18446
|
+
const tagSizeS = (props) => {
|
|
18447
|
+
var _semanticColors$base;
|
|
18448
|
+
const spaces = getSpaces(props);
|
|
18449
|
+
const iconSizes = getIconSizes(props);
|
|
18450
|
+
const semanticColors = getSemanticColors(props);
|
|
18451
|
+
return /*#__PURE__*/ css("height:unset;.MuiChip-label{", fontBodyXxxs(props), " padding:0;}.MuiSvgIcon-root{height:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.xs.height, "px;width:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.xs.width, "px;margin:0 ", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px 0 0;}.MuiChip-deleteIcon{", fontHeaderXs(props), " color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.ornamentPrimaryInverse, ";margin:0 0 0 ", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;height:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.height, "px;width:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.width, "px;}");
|
|
18452
|
+
};
|
|
18453
|
+
const tagSizeL = (props) => {
|
|
18454
|
+
var _semanticColors$base2;
|
|
18455
|
+
const spaces = getSpaces(props);
|
|
18456
|
+
const iconSizes = getIconSizes(props);
|
|
18457
|
+
const semanticColors = getSemanticColors(props);
|
|
18458
|
+
return /*#__PURE__*/ css("height:unset;.MuiChip-label{", fontBodyXs(props), " padding:0;}.MuiSvgIcon-root{height:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.l.height, "px;width:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.l.width, "px;margin:0 ", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px 0 0px;}.MuiChip-deleteIcon{", fontHeaderXs(props), " color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.ornamentPrimaryInverse, ";margin:0 0 0 ", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;height:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.height, "px;width:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.width, "px;}");
|
|
18459
|
+
};
|
|
18460
|
+
const rounded = (props) => {
|
|
18461
|
+
const corners = getCorners(props);
|
|
18462
|
+
const spaces = getSpaces(props);
|
|
18463
|
+
const { sdsSize = "s", icon } = props;
|
|
18464
|
+
const topBottomPadding = sdsSize === "s" ? spaces === null || spaces === void 0 ? void 0 : spaces.xxxs : icon ? spaces === null || spaces === void 0 ? void 0 : spaces.xxs : spaces === null || spaces === void 0 ? void 0 : spaces.xs;
|
|
18465
|
+
const rightPadding = sdsSize === "l" && icon ? spaces === null || spaces === void 0 ? void 0 : spaces.s : spaces === null || spaces === void 0 ? void 0 : spaces.xs;
|
|
18466
|
+
return /*#__PURE__*/ css("border-radius:", corners === null || corners === void 0 ? void 0 : corners.rounded, "px;padding:", topBottomPadding, "px ", rightPadding, "px ", topBottomPadding, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;&:after{content:\"\";border-radius:", corners === null || corners === void 0 ? void 0 : corners.rounded, "px;}");
|
|
18467
|
+
};
|
|
18468
|
+
const square = (props) => {
|
|
18469
|
+
const corners = getCorners(props);
|
|
18470
|
+
const spaces = getSpaces(props);
|
|
18471
|
+
const { sdsSize = "s", icon } = props;
|
|
18472
|
+
const topBottomPadding = sdsSize === "s" ? spaces === null || spaces === void 0 ? void 0 : spaces.xxxs : icon ? spaces === null || spaces === void 0 ? void 0 : spaces.xxs : spaces === null || spaces === void 0 ? void 0 : spaces.xs;
|
|
18473
|
+
return /*#__PURE__*/ css("border-radius:", corners === null || corners === void 0 ? void 0 : corners.m, "px;padding:", topBottomPadding, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;&:after{content:\"\";border-radius:", corners === null || corners === void 0 ? void 0 : corners.m, "px;}");
|
|
18474
|
+
};
|
|
18475
|
+
const withHover = (props) => {
|
|
18476
|
+
var _semanticColors$base3;
|
|
18477
|
+
const semanticColors = getSemanticColors(props);
|
|
18478
|
+
return /*#__PURE__*/ css("&:hover{cursor:pointer;}&:hover,&:focus-visible{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base3 = semanticColors.base) === null || _semanticColors$base3 === void 0 ? void 0 : _semanticColors$base3.textPrimaryInverse, ";}");
|
|
18479
|
+
};
|
|
18480
|
+
const primary = (props) => {
|
|
18481
|
+
return createTypeCss(props, "primary");
|
|
18482
|
+
};
|
|
18483
|
+
const secondary = (props) => {
|
|
18484
|
+
return createTypeCss(props, "secondary");
|
|
18485
|
+
};
|
|
18486
|
+
function generatePrimaryTagColors(intent, colors, semanticColors) {
|
|
18487
|
+
var _semanticColors$base4, _semanticColors$base5, _semanticColors$neutr;
|
|
18488
|
+
const intentColors = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors[intent || "neutral"];
|
|
18489
|
+
const hasCustomColors = colors.length >= 2;
|
|
18490
|
+
return {
|
|
18491
|
+
background: hasCustomColors ? colors[1] : intentColors === null || intentColors === void 0 ? void 0 : intentColors.fillPrimary,
|
|
18492
|
+
backgroundClicked: hasCustomColors ? darken(colors[1], .3) : intentColors === null || intentColors === void 0 ? void 0 : intentColors.fillPressed,
|
|
18493
|
+
backgroundHover: hasCustomColors ? darken(colors[1], .15) : intentColors === null || intentColors === void 0 ? void 0 : intentColors.fillInteraction,
|
|
18494
|
+
iconColor: hasCustomColors ? colors[2] : semanticColors === null || semanticColors === void 0 || (_semanticColors$base4 = semanticColors.base) === null || _semanticColors$base4 === void 0 ? void 0 : _semanticColors$base4.ornamentOnFill,
|
|
18495
|
+
label: colors.length > 0 ? colors[0] : semanticColors === null || semanticColors === void 0 || (_semanticColors$base5 = semanticColors.base) === null || _semanticColors$base5 === void 0 ? void 0 : _semanticColors$base5.textOnFill,
|
|
18496
|
+
borderColor: alpha((semanticColors === null || semanticColors === void 0 || (_semanticColors$neutr = semanticColors.neutral) === null || _semanticColors$neutr === void 0 ? void 0 : _semanticColors$neutr.foreground) || "#000", .6)
|
|
18497
|
+
};
|
|
18498
|
+
}
|
|
18499
|
+
function getSecondaryBorderColor(effectiveIntent, theme, intentColors) {
|
|
18500
|
+
if (!theme || !theme.palette) return alpha((intentColors === null || intentColors === void 0 ? void 0 : intentColors.foreground) || "#000", .6);
|
|
18501
|
+
if (effectiveIntent === "negative" && theme.palette.mode === "dark") return alpha((intentColors === null || intentColors === void 0 ? void 0 : intentColors.foreground) || "#000", .65);
|
|
18502
|
+
if (effectiveIntent === "notice" && theme.palette.mode === "light") return alpha((intentColors === null || intentColors === void 0 ? void 0 : intentColors.foreground) || "#000", .85);
|
|
18503
|
+
return alpha((intentColors === null || intentColors === void 0 ? void 0 : intentColors.foreground) || "#000", .6);
|
|
18504
|
+
}
|
|
18505
|
+
function generateSecondaryTagColors(intent, colors, semanticColors, theme = defaultTheme) {
|
|
18506
|
+
const effectiveIntent = intent || "neutral";
|
|
18507
|
+
const intentColors = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors[effectiveIntent];
|
|
18508
|
+
const hasCustomColors = colors.length >= 2;
|
|
18509
|
+
return {
|
|
18510
|
+
background: hasCustomColors ? colors[1] : intentColors === null || intentColors === void 0 ? void 0 : intentColors.fillSecondary,
|
|
18511
|
+
backgroundClicked: hasCustomColors ? darken(colors[1], .3) : intentColors === null || intentColors === void 0 ? void 0 : intentColors.fillPressed,
|
|
18512
|
+
backgroundHover: hasCustomColors ? darken(colors[1], .15) : intentColors === null || intentColors === void 0 ? void 0 : intentColors.fillInteraction,
|
|
18513
|
+
iconColor: hasCustomColors ? colors[2] : intentColors === null || intentColors === void 0 ? void 0 : intentColors.foreground,
|
|
18514
|
+
label: colors.length > 0 ? colors[0] : intentColors === null || intentColors === void 0 ? void 0 : intentColors.foreground,
|
|
18515
|
+
borderColor: hasCustomColors ? alpha(colors[1], .6) : getSecondaryBorderColor(effectiveIntent, theme, intentColors)
|
|
18516
|
+
};
|
|
18517
|
+
}
|
|
18518
|
+
function createTypeCss(props, type) {
|
|
18519
|
+
var _semanticColors$base6, _semanticColors$base7;
|
|
18520
|
+
const semanticColors = getSemanticColors(props);
|
|
18521
|
+
const intent = typeof props.tagColor === "string" ? props.tagColor : null;
|
|
18522
|
+
const colors = Array.isArray(props.tagColor) ? [...props.tagColor] : [];
|
|
18523
|
+
const typeColors = {
|
|
18524
|
+
primary: generatePrimaryTagColors(intent, colors, semanticColors),
|
|
18525
|
+
secondary: generateSecondaryTagColors(intent, colors, semanticColors, props.theme)
|
|
18526
|
+
}[type];
|
|
18527
|
+
return /*#__PURE__*/ css(focusVisibleA11yStyle(props), " ", type === "secondary" && /*#__PURE__*/ css("box-shadow:inset 0 0 0 1px ", typeColors.borderColor, ";"), " background-color:", typeColors.background, ";position:relative;.MuiChip-label{color:", typeColors.label, ";}svg{fill:", typeColors.iconColor, ";}&:hover,&:active{box-shadow:none;.MuiChip-label{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base6 = semanticColors.base) === null || _semanticColors$base6 === void 0 ? void 0 : _semanticColors$base6.textPrimaryInverse, ";}svg{fill:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base7 = semanticColors.base) === null || _semanticColors$base7 === void 0 ? void 0 : _semanticColors$base7.ornamentPrimaryInverse, ";}}&:hover{background-color:", typeColors.backgroundHover, ";}&:active{background-color:", typeColors.backgroundClicked, ";}&.Mui-focusVisible{background-color:", typeColors.backgroundHover, ";}");
|
|
18528
|
+
}
|
|
18529
|
+
const typeToCss = {
|
|
18530
|
+
primary,
|
|
18531
|
+
secondary
|
|
18532
|
+
};
|
|
18533
|
+
const doNotForwardProps = [
|
|
18534
|
+
"sdsType",
|
|
18535
|
+
"sdsStyle",
|
|
18536
|
+
"sdsSize",
|
|
18537
|
+
"tagColor",
|
|
18538
|
+
"hover"
|
|
18539
|
+
];
|
|
18540
|
+
const StyledTagLegacy = /*#__PURE__*/ _styled(Chip$1, {
|
|
18541
|
+
shouldForwardProp: (prop) => !doNotForwardProps.includes(prop),
|
|
18542
|
+
target: "e47sx6f0"
|
|
18543
|
+
})("border:none;", (props) => {
|
|
18544
|
+
const { hover = true, sdsType, sdsStyle, sdsSize = "s" } = props;
|
|
18545
|
+
const isRounded = sdsStyle === "rounded";
|
|
18546
|
+
const type = sdsType || "primary";
|
|
18547
|
+
return /*#__PURE__*/ css(sdsSize === "l" ? tagSizeL(props) : tagSizeS(props), " ", typeToCss[type](props), " ", isRounded ? rounded(props) : square(props), " ", hover ? withHover(props) : `pointer-events: none;`, ";");
|
|
18548
|
+
}, ";");
|
|
18549
|
+
//#endregion
|
|
18550
|
+
//#region src/core/TagLegacy/index.tsx
|
|
18551
|
+
/**
|
|
18552
|
+
* @see https://mui.com/material-ui/react-chip/
|
|
18553
|
+
*
|
|
18554
|
+
* @deprecated Use Tag instead. TagLegacy will be removed in a future release.
|
|
18555
|
+
*
|
|
18556
|
+
* @props color: {string} - applies color for tag based on default theme color values
|
|
18557
|
+
* [string, string] - applies custom colors for [font, background]
|
|
18558
|
+
* [string, string, string] - applies custom colors for [font, background, icon]
|
|
18559
|
+
*/
|
|
18560
|
+
const TagLegacy = (props) => {
|
|
18561
|
+
const { color } = props;
|
|
18562
|
+
return /* @__PURE__ */ jsx(StyledTagLegacy, _objectSpread2(_objectSpread2({ tagColor: color }, props), {}, { color: "primary" }));
|
|
18563
|
+
};
|
|
18564
|
+
//#endregion
|
|
18565
|
+
//#region src/core/TagFilter/style.ts
|
|
18566
|
+
const StyledTag = /*#__PURE__*/ _styled(TagLegacy, { target: "e19crzu0" })((props) => {
|
|
18567
|
+
var _semanticColors$accen, _iconSizes$xs, _iconSizes$xs2, _iconSizes$xs3, _iconSizes$xs4, _semanticColors$accen2, _semanticColors$base, _semanticColors$base2, _semanticColors$accen3;
|
|
18568
|
+
const spaces = getSpaces(props);
|
|
18569
|
+
const iconSizes = getIconSizes(props);
|
|
18570
|
+
const semanticColors = getSemanticColors(props);
|
|
18571
|
+
return /*#__PURE__*/ css("padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen = semanticColors.accent) === null || _semanticColors$accen === void 0 ? void 0 : _semanticColors$accen.fillPrimary, ";.MuiChip-label{", fontHeaderXs(props), " z-index:auto;}.MuiChip-deleteIcon{margin:0 0 0 ", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;width:", iconSizes === null || iconSizes === void 0 || (_iconSizes$xs = iconSizes.xs) === null || _iconSizes$xs === void 0 ? void 0 : _iconSizes$xs.width, "px!important;height:", iconSizes === null || iconSizes === void 0 || (_iconSizes$xs2 = iconSizes.xs) === null || _iconSizes$xs2 === void 0 ? void 0 : _iconSizes$xs2.height, "px!important;}.MuiSvgIcon-root{margin:0;width:", iconSizes === null || iconSizes === void 0 || (_iconSizes$xs3 = iconSizes.xs) === null || _iconSizes$xs3 === void 0 ? void 0 : _iconSizes$xs3.width, "px!important;height:", iconSizes === null || iconSizes === void 0 || (_iconSizes$xs4 = iconSizes.xs) === null || _iconSizes$xs4 === void 0 ? void 0 : _iconSizes$xs4.height, "px!important;}svg{z-index:auto;}&:hover,&:focus,&:focus-within{background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen2 = semanticColors.accent) === null || _semanticColors$accen2 === void 0 ? void 0 : _semanticColors$accen2.fillInteraction, ";.MuiChip-label{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.textPrimaryInverse, "!important;}.MuiChip-deleteIcon svg{fill:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.ornamentPrimaryInverse, "!important;}}&:active{background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen3 = semanticColors.accent) === null || _semanticColors$accen3 === void 0 ? void 0 : _semanticColors$accen3.fillPressed, ";}&:after{content:\"\";display:none;}");
|
|
18572
|
+
}, ";");
|
|
18573
|
+
//#endregion
|
|
18574
|
+
//#region src/core/TagFilter/index.tsx
|
|
18575
|
+
/**
|
|
18576
|
+
* @see https://mui.com/material-ui/react-chip/
|
|
18577
|
+
*
|
|
18578
|
+
* @deprecated Use Chip instead. TagFilter will be removed in a future release.
|
|
18579
|
+
*/
|
|
18580
|
+
const TagFilter = (props) => {
|
|
18581
|
+
return /* @__PURE__ */ jsx(StyledTag, _objectSpread2(_objectSpread2({ role: "none presentation" }, props), {}, {
|
|
18582
|
+
deleteIcon: /* @__PURE__ */ jsx(Button, {
|
|
18583
|
+
"aria-label": "Delete Tag",
|
|
18584
|
+
sdsStyle: "minimal",
|
|
18585
|
+
sdsType: "secondary",
|
|
18586
|
+
size: "medium",
|
|
18587
|
+
backgroundOnHover: false,
|
|
18588
|
+
children: /* @__PURE__ */ jsx(Icon, {
|
|
18589
|
+
sdsIcon: "XMark",
|
|
18590
|
+
sdsSize: "s"
|
|
18591
|
+
})
|
|
18592
|
+
}),
|
|
18593
|
+
color: "info"
|
|
18594
|
+
}));
|
|
18595
|
+
};
|
|
18596
|
+
//#endregion
|
|
18422
18597
|
//#region src/core/TooltipCondensed/style.ts
|
|
18423
18598
|
const indicatorCSS = (props) => {
|
|
18424
18599
|
const { indicatorColor } = props;
|
|
@@ -21822,4 +21997,4 @@ const generateDiscreteColors = (count, options = {}) => {
|
|
|
21822
21997
|
return isDarkMode ? colors.reverse() : colors;
|
|
21823
21998
|
};
|
|
21824
21999
|
//#endregion
|
|
21825
|
-
export { Accordion, AccordionDetails, AccordionHeader, Alert, Autocomplete, StyledPopper as AutocompleteMultiColumnStyledPopper, StyledPaper as AutocompleteSingleColumnStyledPaper, Banner, Button, ButtonDropdown, ButtonDropdownLegacy, ButtonGroup, ButtonIcon, ButtonLegacy, ButtonToggle, ButtonToggleLegacy, Callout, CalloutTitle, CellBasic, CellComponent, CellHeader, Chip, ComplexFilter, InputDropdown as ComplexFilterInputDropdown, InputDropdown as DropdownInputDropdown, InputDropdown, StyledPopper$1 as ComplexFilterPopper, StyledPopper$1 as DropdownPopper, ContentCard, ContentCardActions, StyledContentCardBody as ContentCardBody, CardMedia as ContentCardMedia, StyledMetadataText as ContentCardMetadata, StyledOverlineText as ContentCardOverline, StyledSubtitleText as ContentCardSubtitle, StyledTitleText as ContentCardTitle, Dialog, DialogActions, DialogContent_default as DialogContent, DialogPaper, DialogTitle, Overline as DialogTitleOverline, Subtitle as DialogTitleSubtitle, Title as DialogTitleTitle, Dropdown, DropdownMenu, StyledPaper$1 as DropdownPaper, Hero, Icon, InputCheckbox, InputRadio, InputSearch, InputSlider, InputText, InputToggle, IntentMessage, Legend, Link, List, ListItem, ListItemLabel, ListSubheader, LoadingIndicator, MINIMUM_DROPDOWN_MENU_POPPER_WIDTH, Menu, MenuItem, MenuSelect, NavigationFooter, NavigationHeader, NavigationJumpTo, Notification, Pagination, Panel, Popover, PreComposedTable, RowHoverContext, SDSChooseTheme, SDSDarkAppTheme, SDSDarkThemeColors, SDSLightAppTheme, SDSLightThemeColors, SDSPaletteDark, SDSPaletteLight, SegmentedControl, Tab, Table, TableHeader, TableRow, Tabs, Tag, TagFilter, Theme, Tooltip, TooltipCondensed, TooltipTableContent as TooltipTable, TooltipTableContent, defaultAppTheme, defaultTheme, focusVisibleA11yStyle, fontBody, fontBodyL, fontBodyM, fontBodyMediumL, fontBodyMediumM, fontBodyMediumS, fontBodyMediumXs, fontBodyMediumXxs, fontBodyMediumXxxs, fontBodyMediumXxxxs, fontBodyS, fontBodySemiboldL, fontBodySemiboldM, fontBodySemiboldS, fontBodySemiboldXs, fontBodySemiboldXxs, fontBodySemiboldXxxs, fontBodySemiboldXxxxs, fontBodyXs, fontBodyXxs, fontBodyXxxs, fontBodyXxxxs, fontCaps, fontCapsXxs, fontCapsXxxs, fontCapsXxxxs, fontCode, fontCodeMediumS, fontCodeMediumXs, fontCodeS, fontCodeSemiboldS, fontCodeSemiboldXs, fontCodeXs, fontHeader, fontHeaderL, fontHeaderM, fontHeaderS, fontHeaderXl, fontHeaderXs, fontHeaderXxl, fontHeaderXxs, fontHeaderXxxs, fontLink, fontLinkL, fontLinkM, fontLinkMediumL, fontLinkMediumM, fontLinkMediumS, fontLinkMediumXs, fontLinkMediumXxs, fontLinkMediumXxxs, fontLinkMediumXxxxs, fontLinkS, fontLinkSemiboldL, fontLinkSemiboldM, fontLinkSemiboldS, fontLinkSemiboldXs, fontLinkSemiboldXxs, fontLinkSemiboldXxxs, fontLinkSemiboldXxxxs, fontLinkXs, fontLinkXxs, fontLinkXxxs, fontLinkXxxxs, fontTabular, fontTabularMediumS, fontTabularMediumXs, fontTabularMediumXxs, fontTabularMediumXxxs, fontTabularMediumXxxxs, fontTabularS, fontTabularSemiboldS, fontTabularSemiboldXs, fontTabularSemiboldXxs, fontTabularSemiboldXxxs, fontTabularSemiboldXxxxs, fontTabularXs, fontTabularXxs, fontTabularXxxs, fontTabularXxxxs, fontTitle, fontTitleBoldL, fontTitleBoldM, fontTitleBoldS, generateDiscreteColors, getBorders, getBreakpoints, getColors, getCorners, getFontWeights, getIconSizes, getMode, getPalette, getSemanticColors, getShadows, getSpaces, getSpacings, getTypography, isIconOnlyButton, makeSdsSemanticAppTheme, makeThemeOptions };
|
|
22000
|
+
export { Accordion, AccordionDetails, AccordionHeader, Alert, Autocomplete, StyledPopper as AutocompleteMultiColumnStyledPopper, StyledPaper as AutocompleteSingleColumnStyledPaper, Banner, Button, ButtonDropdown, ButtonDropdownLegacy, ButtonGroup, ButtonIcon, ButtonLegacy, ButtonToggle, ButtonToggleLegacy, Callout, CalloutTitle, CellBasic, CellComponent, CellHeader, Chip, ComplexFilter, InputDropdown as ComplexFilterInputDropdown, InputDropdown as DropdownInputDropdown, InputDropdown, StyledPopper$1 as ComplexFilterPopper, StyledPopper$1 as DropdownPopper, ContentCard, ContentCardActions, StyledContentCardBody as ContentCardBody, CardMedia as ContentCardMedia, StyledMetadataText as ContentCardMetadata, StyledOverlineText as ContentCardOverline, StyledSubtitleText as ContentCardSubtitle, StyledTitleText as ContentCardTitle, Dialog, DialogActions, DialogContent_default as DialogContent, DialogPaper, DialogTitle, Overline as DialogTitleOverline, Subtitle as DialogTitleSubtitle, Title as DialogTitleTitle, Dropdown, DropdownMenu, StyledPaper$1 as DropdownPaper, Hero, Icon, InputCheckbox, InputRadio, InputSearch, InputSlider, InputText, InputToggle, IntentMessage, Legend, Link, List, ListItem, ListItemLabel, ListSubheader, LoadingIndicator, MINIMUM_DROPDOWN_MENU_POPPER_WIDTH, Menu, MenuItem, MenuSelect, NavigationFooter, NavigationHeader, NavigationJumpTo, Notification, Pagination, Panel, Popover, PreComposedTable, RowHoverContext, SDSChooseTheme, SDSDarkAppTheme, SDSDarkThemeColors, SDSLightAppTheme, SDSLightThemeColors, SDSPaletteDark, SDSPaletteLight, SegmentedControl, TAG_LABEL_TEXT_CLASS, TAG_LINK_ICON_CLASS, Tab, Table, TableHeader, TableRow, Tabs, Tag, TagFilter, TagLegacy, Theme, Tooltip, TooltipCondensed, TooltipTableContent as TooltipTable, TooltipTableContent, defaultAppTheme, defaultTheme, focusVisibleA11yStyle, fontBody, fontBodyL, fontBodyM, fontBodyMediumL, fontBodyMediumM, fontBodyMediumS, fontBodyMediumXs, fontBodyMediumXxs, fontBodyMediumXxxs, fontBodyMediumXxxxs, fontBodyS, fontBodySemiboldL, fontBodySemiboldM, fontBodySemiboldS, fontBodySemiboldXs, fontBodySemiboldXxs, fontBodySemiboldXxxs, fontBodySemiboldXxxxs, fontBodyXs, fontBodyXxs, fontBodyXxxs, fontBodyXxxxs, fontCaps, fontCapsXxs, fontCapsXxxs, fontCapsXxxxs, fontCode, fontCodeMediumS, fontCodeMediumXs, fontCodeS, fontCodeSemiboldS, fontCodeSemiboldXs, fontCodeXs, fontHeader, fontHeaderL, fontHeaderM, fontHeaderS, fontHeaderXl, fontHeaderXs, fontHeaderXxl, fontHeaderXxs, fontHeaderXxxs, fontLink, fontLinkL, fontLinkM, fontLinkMediumL, fontLinkMediumM, fontLinkMediumS, fontLinkMediumXs, fontLinkMediumXxs, fontLinkMediumXxxs, fontLinkMediumXxxxs, fontLinkS, fontLinkSemiboldL, fontLinkSemiboldM, fontLinkSemiboldS, fontLinkSemiboldXs, fontLinkSemiboldXxs, fontLinkSemiboldXxxs, fontLinkSemiboldXxxxs, fontLinkXs, fontLinkXxs, fontLinkXxxs, fontLinkXxxxs, fontTabular, fontTabularMediumS, fontTabularMediumXs, fontTabularMediumXxs, fontTabularMediumXxxs, fontTabularMediumXxxxs, fontTabularS, fontTabularSemiboldS, fontTabularSemiboldXs, fontTabularSemiboldXxs, fontTabularSemiboldXxxs, fontTabularSemiboldXxxxs, fontTabularXs, fontTabularXxs, fontTabularXxxs, fontTabularXxxxs, fontTitle, fontTitleBoldL, fontTitleBoldM, fontTitleBoldS, generateDiscreteColors, getBorders, getBreakpoints, getColors, getCorners, getFontWeights, getIconSizes, getMode, getPalette, getSemanticColors, getShadows, getSpaces, getSpacings, getTypography, isIconOnlyButton, makeSdsSemanticAppTheme, makeThemeOptions };
|