@czi-sds/components 21.6.1 → 21.6.3
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/dist/index.cjs.js +159 -157
- package/dist/index.esm.js +5 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -9,7 +9,10 @@ var styled = require('@emotion/styled');
|
|
|
9
9
|
var iconsMaterial = require('@mui/icons-material');
|
|
10
10
|
var css = require('@emotion/css');
|
|
11
11
|
|
|
12
|
-
function
|
|
12
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
|
|
14
|
+
function _interopNamespace(e) {
|
|
15
|
+
if (e && e.__esModule) return e;
|
|
13
16
|
var n = Object.create(null);
|
|
14
17
|
if (e) {
|
|
15
18
|
Object.keys(e).forEach(function (k) {
|
|
@@ -26,7 +29,8 @@ function _interopNamespaceDefault(e) {
|
|
|
26
29
|
return Object.freeze(n);
|
|
27
30
|
}
|
|
28
31
|
|
|
29
|
-
var React__namespace = /*#__PURE__*/
|
|
32
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
33
|
+
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
30
34
|
|
|
31
35
|
/******************************************************************************
|
|
32
36
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1257,7 +1261,7 @@ function themeToCss(fontTheme, fontFamily) {
|
|
|
1257
1261
|
}
|
|
1258
1262
|
var templateObject_1$Y, templateObject_2$C, templateObject_3$t, templateObject_4$p;
|
|
1259
1263
|
|
|
1260
|
-
var StyledAccordionDetails =
|
|
1264
|
+
var StyledAccordionDetails = styled__default.default(material.AccordionDetails)(templateObject_2$B || (templateObject_2$B = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyS$1, function (props) {
|
|
1261
1265
|
var spaces = getSpaces(props);
|
|
1262
1266
|
return react.css(templateObject_1$X || (templateObject_1$X = __makeTemplateObject(["\n padding: ", "px ", "px ", "px;\n "], ["\n padding: ", "px ", "px ", "px;\n "])), spaces === null || spaces === void 0 ? void 0 : spaces.xxs, spaces === null || spaces === void 0 ? void 0 : spaces.m, spaces === null || spaces === void 0 ? void 0 : spaces.m);
|
|
1263
1267
|
});
|
|
@@ -1268,13 +1272,13 @@ var AccordionDetails = function (props) {
|
|
|
1268
1272
|
return jsxRuntime.jsx(StyledAccordionDetails, { children: children });
|
|
1269
1273
|
};
|
|
1270
1274
|
|
|
1271
|
-
var StyledAccordionHeader =
|
|
1275
|
+
var StyledAccordionHeader = styled__default.default(material.AccordionSummary)(templateObject_2$A || (templateObject_2$A = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), fontHeaderS, function (props) {
|
|
1272
1276
|
var _a, _b;
|
|
1273
1277
|
var spaces = getSpaces(props);
|
|
1274
1278
|
var semanticColors = getSemanticColors(props);
|
|
1275
1279
|
return react.css(templateObject_1$W || (templateObject_1$W = __makeTemplateObject(["\n padding: ", "px;\n align-items: flex-start;\n box-sizing: border-box;\n\n .", " {\n margin: 0;\n flex-direction: column;\n\n &.", " {\n margin: 0;\n }\n }\n\n & .", " {\n margin-left: ", "px;\n margin-top: ", "px !important;\n align-self: center;\n\n svg {\n color: ", ";\n }\n }\n\n &:hover {\n & .", " {\n svg {\n color: ", ";\n }\n }\n }\n "], ["\n padding: ", "px;\n align-items: flex-start;\n box-sizing: border-box;\n\n .", " {\n margin: 0;\n flex-direction: column;\n\n &.", " {\n margin: 0;\n }\n }\n\n & .", " {\n margin-left: ", "px;\n margin-top: ", "px !important;\n align-self: center;\n\n svg {\n color: ", ";\n }\n }\n\n &:hover {\n & .", " {\n svg {\n color: ", ";\n }\n }\n }\n "])), spaces === null || spaces === void 0 ? void 0 : spaces.m, material.accordionSummaryClasses.content, material.accordionSummaryClasses.expanded, material.accordionSummaryClasses.expandIconWrapper, spaces === null || spaces === void 0 ? void 0 : spaces.m, spaces === null || spaces === void 0 ? void 0 : spaces.xxs, (_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.iconPrimary, material.accordionSummaryClasses.expandIconWrapper, (_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.iconPrimaryHover);
|
|
1276
1280
|
});
|
|
1277
|
-
var StyledSubtitle =
|
|
1281
|
+
var StyledSubtitle = styled__default.default("p")(templateObject_4$o || (templateObject_4$o = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyXxs$1, function (props) {
|
|
1278
1282
|
var _a;
|
|
1279
1283
|
var semanticColors = getSemanticColors(props);
|
|
1280
1284
|
return react.css(templateObject_3$s || (templateObject_3$s = __makeTemplateObject(["\n color: ", ";\n margin: 0;\n "], ["\n color: ", ";\n margin: 0;\n "])), (_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textSecondary);
|
|
@@ -4015,13 +4019,13 @@ function interactive(props) {
|
|
|
4015
4019
|
return react.css(templateObject_4$n || (templateObject_4$n = __makeTemplateObject(["\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n\n &:active {\n color: ", ";\n }\n\n &:disabled {\n color: ", ";\n }\n "], ["\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n\n &:active {\n color: ", ";\n }\n\n &:disabled {\n color: ", ";\n }\n "])), (_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.iconPrimary, (_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.iconPrimaryHover, (_c = colors === null || colors === void 0 ? void 0 : colors[iconColor]) === null || _c === void 0 ? void 0 : _c[shade], (_d = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _d === void 0 ? void 0 : _d.iconDisabled);
|
|
4016
4020
|
}
|
|
4017
4021
|
var doNotForwardProps$s = ["sdsIcon", "sdsSize", "sdsType", "iconColor"];
|
|
4018
|
-
var StyledSvgIcon =
|
|
4022
|
+
var StyledSvgIcon = styled__default.default(material.SvgIcon, {
|
|
4019
4023
|
shouldForwardProp: function (prop) { return !doNotForwardProps$s.includes(prop); },
|
|
4020
4024
|
})(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
4021
4025
|
var sdsType = props.sdsType;
|
|
4022
4026
|
return react.css(templateObject_5$i || (templateObject_5$i = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), sdsType !== "iconButton" && iconSize(props), sdsType === "static" && staticStyle(props), sdsType === "interactive" && interactive(props), sdsType === "button" && buttonStyle());
|
|
4023
4027
|
});
|
|
4024
|
-
var StyledIcon =
|
|
4028
|
+
var StyledIcon = styled__default.default("div")(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\n /* display: contents causes an element's children to appear as if they were direct children of the element's parent, ignoring the element itself. This can be useful when a wrapper element should be ignored when using CSS grid or similar layout techniques. */\n display: contents;\n"], ["\n /* display: contents causes an element's children to appear as if they were direct children of the element's parent, ignoring the element itself. This can be useful when a wrapper element should be ignored when using CSS grid or similar layout techniques. */\n display: contents;\n"])));
|
|
4025
4029
|
var templateObject_1$V, templateObject_2$z, templateObject_3$r, templateObject_4$n, templateObject_5$i, templateObject_6$d, templateObject_7$9;
|
|
4026
4030
|
|
|
4027
4031
|
/**
|
|
@@ -4049,7 +4053,7 @@ var AccordionHeader = function (props) {
|
|
|
4049
4053
|
};
|
|
4050
4054
|
|
|
4051
4055
|
var sdsPropNames$3 = ["useDivider", "togglePosition"];
|
|
4052
|
-
var StyledAccordion =
|
|
4056
|
+
var StyledAccordion = styled__default.default(material.Accordion, {
|
|
4053
4057
|
shouldForwardProp: function (prop) {
|
|
4054
4058
|
return !sdsPropNames$3.includes(prop.toString());
|
|
4055
4059
|
},
|
|
@@ -4076,9 +4080,9 @@ var templateObject_1$U, templateObject_2$y, templateObject_3$q;
|
|
|
4076
4080
|
/**
|
|
4077
4081
|
* @see https://mui.com/material-ui/react-accordion/
|
|
4078
4082
|
*/
|
|
4079
|
-
var Accordion =
|
|
4083
|
+
var Accordion = React__namespace.default.forwardRef(function (props, ref) {
|
|
4080
4084
|
var children = props.children, useDivider = props.useDivider, _a = props.togglePosition, togglePosition = _a === void 0 ? "right" : _a, id = props.id, _b = props.defaultExpanded, defaultExpanded = _b === void 0 ? false : _b;
|
|
4081
|
-
var _c =
|
|
4085
|
+
var _c = React__namespace.default.useState(defaultExpanded ? id : false), expanded = _c[0], setExpanded = _c[1];
|
|
4082
4086
|
var handleChange = function (panel) {
|
|
4083
4087
|
return function (_event, isExpanded) {
|
|
4084
4088
|
setExpanded(isExpanded ? panel : false);
|
|
@@ -4087,7 +4091,7 @@ var Accordion = React.forwardRef(function (props, ref) {
|
|
|
4087
4091
|
return (jsxRuntime.jsx(StyledAccordion, __assign({ square: true, useDivider: useDivider, togglePosition: togglePosition, expanded: expanded === id, onChange: handleChange(id), ref: ref }, props, { children: children })));
|
|
4088
4092
|
});
|
|
4089
4093
|
|
|
4090
|
-
var StyledAlert =
|
|
4094
|
+
var StyledAlert = styled__default.default(material.Alert)(templateObject_1$T || (templateObject_1$T = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
4091
4095
|
var _a;
|
|
4092
4096
|
var colors = getColors(props);
|
|
4093
4097
|
var spaces = getSpaces(props);
|
|
@@ -4266,7 +4270,7 @@ var DestructiveButton = function (props) {
|
|
|
4266
4270
|
: (_e = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.negative) === null || _e === void 0 ? void 0 : _e.fillPrimary;
|
|
4267
4271
|
return react.css(templateObject_3$p || (templateObject_3$p = __makeTemplateObject(["\n border: none;\n box-shadow: inset 0 0 0 1px ", ";\n color: ", ";\n background-color: ", ";\n\n svg {\n color: ", ";\n }\n\n &:hover {\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: inset 0 0 0 1px ", ";\n\n svg {\n color: ", ";\n }\n }\n\n &:active {\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: inset 0 0 0 1px ", ";\n\n svg {\n color: ", ";\n }\n }\n\n &:disabled {\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: ", ";\n\n svg {\n color: ", ";\n }\n }\n "], ["\n border: none;\n box-shadow: inset 0 0 0 1px ", ";\n color: ", ";\n background-color: ", ";\n\n svg {\n color: ", ";\n }\n\n &:hover {\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: inset 0 0 0 1px ", ";\n\n svg {\n color: ", ";\n }\n }\n\n &:active {\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: inset 0 0 0 1px ", ";\n\n svg {\n color: ", ";\n }\n }\n\n &:disabled {\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: ", ";\n\n svg {\n color: ", ";\n }\n }\n "])), (_f = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.negative) === null || _f === void 0 ? void 0 : _f.border, contentColor, backgroundColor, ornamentColor, (_g = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _g === void 0 ? void 0 : _g.textPrimaryInverse, (_h = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.negative) === null || _h === void 0 ? void 0 : _h.fillHover, (_j = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.negative) === null || _j === void 0 ? void 0 : _j.fillHover, (_k = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _k === void 0 ? void 0 : _k.iconPrimaryInverse, (_l = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _l === void 0 ? void 0 : _l.textPrimaryInverse, (_m = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.negative) === null || _m === void 0 ? void 0 : _m.fillPressed, (_o = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.negative) === null || _o === void 0 ? void 0 : _o.fillPressed, (_p = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _p === void 0 ? void 0 : _p.iconPrimaryInverse, (_q = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _q === void 0 ? void 0 : _q.textDisabled, (_r = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _r === void 0 ? void 0 : _r.fillDisabled, shadows === null || shadows === void 0 ? void 0 : shadows.none, (_s = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _s === void 0 ? void 0 : _s.iconDisabled);
|
|
4268
4272
|
};
|
|
4269
|
-
var StyledButton$3 =
|
|
4273
|
+
var StyledButton$3 = styled__default.default(material.Button, {
|
|
4270
4274
|
shouldForwardProp: function (prop) { return !doNotForwardProps$r.includes(prop); },
|
|
4271
4275
|
})(templateObject_5$h || (templateObject_5$h = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), focusVisibleA11yStyle, function (props) {
|
|
4272
4276
|
var sdsStyle = props.sdsStyle, sdsType = props.sdsType, isAllCaps = props.isAllCaps;
|
|
@@ -4291,13 +4295,13 @@ var SecondaryMinimalButton = function (props) {
|
|
|
4291
4295
|
var semanticColors = getSemanticColors(props);
|
|
4292
4296
|
return react.css(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject(["\n ", "\n color: ", ";\n "], ["\n ", "\n color: ", ";\n "])), Minimal(props), (_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textPrimary);
|
|
4293
4297
|
};
|
|
4294
|
-
var StyledMinimalButton =
|
|
4298
|
+
var StyledMinimalButton = styled__default.default(material.Button, {
|
|
4295
4299
|
shouldForwardProp: function (prop) { return !doNotForwardProps$r.includes(prop); },
|
|
4296
4300
|
})(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
4297
4301
|
var sdsType = props.sdsType;
|
|
4298
4302
|
return react.css(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), sdsType === "primary" && PrimaryMinimalButton(props), sdsType === "secondary" && SecondaryMinimalButton(props));
|
|
4299
4303
|
});
|
|
4300
|
-
var StyledButtonLegacy =
|
|
4304
|
+
var StyledButtonLegacy = styled__default.default(material.Button, {
|
|
4301
4305
|
shouldForwardProp: function (prop) { return !doNotForwardProps$r.includes(prop); },
|
|
4302
4306
|
})(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), focusVisibleA11yStyle, function (props) {
|
|
4303
4307
|
if (!props.isRounded)
|
|
@@ -4360,7 +4364,7 @@ var doNotForwardProps$q = [
|
|
|
4360
4364
|
"sdsIcon",
|
|
4361
4365
|
"sdsIconProps",
|
|
4362
4366
|
];
|
|
4363
|
-
var StyledButtonIcon =
|
|
4367
|
+
var StyledButtonIcon = styled__default.default(material.IconButton, {
|
|
4364
4368
|
shouldForwardProp: function (prop) { return !doNotForwardProps$q.includes(prop); },
|
|
4365
4369
|
})(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n padding: 0;\n ", "\n\n ", "\n"], ["\n padding: 0;\n ", "\n\n ", "\n"])), focusVisibleA11yStyle, function (props) {
|
|
4366
4370
|
var disabled = props.disabled, _a = props.sdsSize, sdsSize = _a === void 0 ? "medium" : _a, _b = props.sdsType, sdsType = _b === void 0 ? "primary" : _b;
|
|
@@ -4418,7 +4422,7 @@ var MUI_VARIANT_MAP = {
|
|
|
4418
4422
|
/**
|
|
4419
4423
|
* @see https://mui.com/material-ui/react-button/
|
|
4420
4424
|
*/
|
|
4421
|
-
var Button =
|
|
4425
|
+
var Button = React__namespace.default.forwardRef(function (props, ref) {
|
|
4422
4426
|
var sdsStyle = props.sdsStyle, sdsType = props.sdsType;
|
|
4423
4427
|
if (!sdsStyle || !sdsType) {
|
|
4424
4428
|
showWarningIfFirstOccurence(SDSWarningTypes.ButtonMissingSDSProps);
|
|
@@ -4479,11 +4483,11 @@ var disabledStyled$2 = function (props) {
|
|
|
4479
4483
|
var semanticColors = getSemanticColors(props);
|
|
4480
4484
|
return react.css(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["\n .", " {\n .", " {\n border: 1px solid ", " !important;\n }\n\n .", " svg {\n color: ", ";\n }\n\n &:hover .", " {\n border: 1px solid ", ";\n }\n\n &::placeholder {\n color: ", ";\n opacity: 1;\n }\n }\n "], ["\n .", " {\n .", " {\n border: 1px solid ", " !important;\n }\n\n .", " svg {\n color: ", ";\n }\n\n &:hover .", " {\n border: 1px solid ", ";\n }\n\n &::placeholder {\n color: ", ";\n opacity: 1;\n }\n }\n "])), material.outlinedInputClasses.disabled, material.outlinedInputClasses.notchedOutline, (_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.borderDisabled, material.inputAdornmentClasses.root, (_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.iconDisabled, material.outlinedInputClasses.notchedOutline, (_c = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _c === void 0 ? void 0 : _c.borderDisabled, (_d = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _d === void 0 ? void 0 : _d.textDisabled);
|
|
4481
4485
|
};
|
|
4482
|
-
var StyledLabel$2 =
|
|
4486
|
+
var StyledLabel$2 = styled__default.default("label")(templateObject_4$k || (templateObject_4$k = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), fontBodyM$1, function (props) {
|
|
4483
4487
|
var spaces = getSpaces(props);
|
|
4484
4488
|
return "\n margin-bottom: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;\n position: absolute;\n overflow: hidden;\n clip: rect(0 0 0 0);\n height: 1px;\n width: 1px;\n margin: -1px; \n padding: 0; \n border: 0;\n ");
|
|
4485
4489
|
});
|
|
4486
|
-
var StyledSearchBase =
|
|
4490
|
+
var StyledSearchBase = styled__default.default(material.TextField, {
|
|
4487
4491
|
shouldForwardProp: function (prop) {
|
|
4488
4492
|
return !sdsPropNames$2.includes(prop.toString());
|
|
4489
4493
|
},
|
|
@@ -4495,10 +4499,10 @@ var StyledSearchBase = styled(material.TextField, {
|
|
|
4495
4499
|
var semanticColors = getSemanticColors(props);
|
|
4496
4500
|
return react.css(templateObject_5$f || (templateObject_5$f = __makeTemplateObject(["\n margin-top: ", "px;\n margin-bottom: ", "px;\n margin-right: ", "px;\n min-width: 120px;\n display: block;\n\n [type=\"search\"]::-webkit-search-cancel-button {\n -webkit-appearance: none;\n appearance: none;\n }\n\n & .input-search-clear-icon {\n opacity: 0;\n cursor: pointer;\n\n svg {\n height: ", "px;\n width: ", "px;\n }\n }\n\n .", " {\n padding: 0 ", "px;\n background-color: ", ";\n width: 100%;\n\n .", " {\n padding-right: ", "px;\n }\n\n .MuiInputAdornment-positionEnd {\n position: absolute;\n right: ", "px;\n }\n\n .", " {\n border: 1px solid ", ";\n }\n\n &:hover .input-search-clear-icon,\n &:focus-within .input-search-clear-icon {\n opacity: 1;\n\n svg {\n color: ", " !important;\n }\n\n &:hover {\n svg {\n color: ", " !important;\n }\n }\n\n &:active {\n svg {\n color: ", " !important;\n }\n }\n }\n }\n\n .", " {\n ", "\n padding: ", "px ", "px;\n height: unset;\n box-sizing: border-box;\n background-color: ", ";\n }\n\n .", ":hover {\n & .", ":last-of-type {\n svg {\n color: ", ";\n }\n }\n .", " {\n border: 1px solid ", ";\n }\n }\n\n .", ".", " {\n outline: none;\n\n .", " {\n border: 1px solid ", ";\n }\n\n .", " .", ":last-of-type {\n cursor: default;\n svg {\n color: ", ";\n }\n }\n }\n\n &.user-is-tabbing .", ":focus-within {\n outline: 2px solid ", ";\n outline-offset: 1px;\n }\n\n ", "\n ", "\n ", "\n ", "\n ", "\n "], ["\n margin-top: ", "px;\n margin-bottom: ", "px;\n margin-right: ", "px;\n min-width: 120px;\n display: block;\n\n [type=\"search\"]::-webkit-search-cancel-button {\n -webkit-appearance: none;\n appearance: none;\n }\n\n & .input-search-clear-icon {\n opacity: 0;\n cursor: pointer;\n\n svg {\n height: ", "px;\n width: ", "px;\n }\n }\n\n .", " {\n padding: 0 ", "px;\n background-color: ", ";\n width: 100%;\n\n .", " {\n padding-right: ", "px;\n }\n\n .MuiInputAdornment-positionEnd {\n position: absolute;\n right: ", "px;\n }\n\n .", " {\n border: 1px solid ", ";\n }\n\n &:hover .input-search-clear-icon,\n &:focus-within .input-search-clear-icon {\n opacity: 1;\n\n svg {\n color: ", " !important;\n }\n\n &:hover {\n svg {\n color: ", " !important;\n }\n }\n\n &:active {\n svg {\n color: ", " !important;\n }\n }\n }\n }\n\n .", " {\n ", "\n padding: ", "px ", "px;\n height: unset;\n box-sizing: border-box;\n background-color: ", ";\n }\n\n .", ":hover {\n & .", ":last-of-type {\n svg {\n color: ", ";\n }\n }\n .", " {\n border: 1px solid ", ";\n }\n }\n\n .", ".", " {\n outline: none;\n\n .", " {\n border: 1px solid ", ";\n }\n\n .", " .", ":last-of-type {\n cursor: default;\n svg {\n color: ", ";\n }\n }\n }\n\n &.user-is-tabbing .", ":focus-within {\n outline: 2px solid ", ";\n outline-offset: 1px;\n }\n\n ", "\n ", "\n ", "\n ", "\n ", "\n "])), spaces === null || spaces === void 0 ? void 0 : spaces.m, spaces === null || spaces === void 0 ? void 0 : spaces.m, spaces === null || spaces === void 0 ? void 0 : spaces.xl, (_a = iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.xs) === null || _a === void 0 ? void 0 : _a.height, (_b = iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.xs) === null || _b === void 0 ? void 0 : _b.width, material.outlinedInputClasses.root, spaces === null || spaces === void 0 ? void 0 : spaces.m, (_c = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _c === void 0 ? void 0 : _c.surfacePrimary, material.outlinedInputClasses.input, spaces === null || spaces === void 0 ? void 0 : spaces.l, spaces === null || spaces === void 0 ? void 0 : spaces.m, material.outlinedInputClasses.notchedOutline, (_d = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _d === void 0 ? void 0 : _d.border, (_e = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _e === void 0 ? void 0 : _e.iconPrimary, (_f = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _f === void 0 ? void 0 : _f.iconPrimaryHover, (_g = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _g === void 0 ? void 0 : _g.fillPressed, material.inputBaseClasses.inputSizeSmall, fontBodyXs$2(props), spaces === null || spaces === void 0 ? void 0 : spaces.xs, spaces === null || spaces === void 0 ? void 0 : spaces.s, (_h = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _h === void 0 ? void 0 : _h.surfacePrimary, material.outlinedInputClasses.root, material.buttonBaseClasses.root, (_j = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _j === void 0 ? void 0 : _j.iconPrimaryHover, material.outlinedInputClasses.notchedOutline, (_k = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _k === void 0 ? void 0 : _k.borderHover, material.outlinedInputClasses.root, material.outlinedInputClasses.focused, material.outlinedInputClasses.notchedOutline, (_l = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _l === void 0 ? void 0 : _l.border, material.inputAdornmentClasses.root, material.buttonBaseClasses.root, (_m = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _m === void 0 ? void 0 : _m.icon, material.outlinedInputClasses.root, (_o = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _o === void 0 ? void 0 : _o.borderHover, sdsStyle === "rounded" && rounded$3(props), intent === "negative" && applyIntentColor$2(props, "negative"), intent === "notice" && applyIntentColor$2(props, "notice"), intent === "positive" && applyIntentColor$2(props, "positive"), disabled && disabledStyled$2(props));
|
|
4497
4501
|
});
|
|
4498
|
-
var StyledInputAdornment =
|
|
4502
|
+
var StyledInputAdornment = styled__default.default(material.InputAdornment)(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n position: relative;\n height: unset;\n margin: 0;\n"], ["\n position: relative;\n height: unset;\n margin: 0;\n"])));
|
|
4499
4503
|
var templateObject_1$Q, templateObject_2$v, templateObject_3$n, templateObject_4$k, templateObject_5$f, templateObject_6$a, templateObject_7$6;
|
|
4500
4504
|
|
|
4501
|
-
var StyledMenuItem$1 =
|
|
4505
|
+
var StyledMenuItem$1 = styled__default.default(material.MenuItem)(templateObject_1$P || (templateObject_1$P = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
4502
4506
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
4503
4507
|
var selected = props.selected;
|
|
4504
4508
|
var fontWeights = getFontWeights(props);
|
|
@@ -4506,7 +4510,7 @@ var StyledMenuItem$1 = styled(material.MenuItem)(templateObject_1$P || (template
|
|
|
4506
4510
|
var semanticColors = getSemanticColors(props);
|
|
4507
4511
|
return "\n padding: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.s, "px !important;\n min-height: unset;\n opacity: 1;\n\n &.MuiAutocomplete-option {\n min-height: unset;\n }\n \n .primary-text {\n font-weight: ").concat(selected ? fontWeights === null || fontWeights === void 0 ? void 0 : fontWeights.semibold : fontWeights === null || fontWeights === void 0 ? void 0 : fontWeights.regular, ";\n }\n\n &.MuiButtonBase-root {\n background-color: transparent;\n opacity: 1;\n\n &:hover, &.").concat(material.menuItemClasses.focusVisible, " {\n background-color: ").concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.fillHover, ";\n\n &[aria-selected=\"true\"] {\n background-color: ").concat((_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.fillHover, ";\n }\n }\n }\n\n &.").concat(material.menuItemClasses.root, " .MuiSvgIcon-root {\n align-self: flex-start;\n }\n\n &.").concat(material.menuItemClasses.root, " .").concat(material.menuItemClasses.disabled, " {\n opacity: 1 !important;\n }\n\n &.MuiAutocomplete-option[aria-selected=\"true\"] {\n &:hover {\n background-color: ").concat((_c = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _c === void 0 ? void 0 : _c.fillHover, " !important;\n }\n\n svg.check-icon {\n color: ").concat(selected ? (_d = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _d === void 0 ? void 0 : _d.iconSelected : (_e = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _e === void 0 ? void 0 : _e.iconPrimary, ";\n }\n }\n\n &.MuiAutocomplete-option[aria-disabled=\"true\"] {\n opacity: 1;\n }\n\n &:hover {\n background-color: ").concat((_f = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _f === void 0 ? void 0 : _f.fillHover, ";\n svg.check-icon {\n color: ").concat(selected ? (_g = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _g === void 0 ? void 0 : _g.iconHover : (_h = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _h === void 0 ? void 0 : _h.iconPrimary, ";\n }\n }\n\n &.Mui-selected.MuiListItem-root.MuiListItem-button {\n background-color: ").concat((_j = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _j === void 0 ? void 0 : _j.surfacePrimary, ";\n &:hover {\n background-color: ").concat((_k = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _k === void 0 ? void 0 : _k.fillHover, ";\n }\n .primary-text {\n font-weight: ").concat(fontWeights === null || fontWeights === void 0 ? void 0 : fontWeights.semibold, ";\n }\n }\n\n &:active {\n svg.check-icon {\n color: ").concat((_l = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _l === void 0 ? void 0 : _l.iconPressed, ";\n }\n\n &:active {\n svg.check-icon {\n color: ").concat((_m = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _m === void 0 ? void 0 : _m.iconPressed, ";\n }\n\n .primary-text {\n font-weight: ").concat(fontWeights === null || fontWeights === void 0 ? void 0 : fontWeights.semibold, ";\n }\n }\n }\n ");
|
|
4508
4512
|
});
|
|
4509
|
-
var ContentWrapper =
|
|
4513
|
+
var ContentWrapper = styled__default.default("span")(templateObject_2$u || (templateObject_2$u = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n width: 100%;\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n width: 100%;\n"])));
|
|
4510
4514
|
var disabledStyles = function (props) {
|
|
4511
4515
|
var _a;
|
|
4512
4516
|
var disabled = props.disabled;
|
|
@@ -4515,12 +4519,12 @@ var disabledStyles = function (props) {
|
|
|
4515
4519
|
var semanticColors = getSemanticColors(props);
|
|
4516
4520
|
return "\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textDisabled, ";\n cursor: default;\n ");
|
|
4517
4521
|
};
|
|
4518
|
-
var TextWrapper =
|
|
4522
|
+
var TextWrapper = styled__default.default("span")(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n ", "\n\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n\n ", "\n"])), fontBodyXs$2, function (props) {
|
|
4519
4523
|
var _a;
|
|
4520
4524
|
var semanticColors = getSemanticColors(props);
|
|
4521
4525
|
return "\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textPrimary, ";\n display: flex;\n white-space: pre-wrap;\n ");
|
|
4522
4526
|
}, disabledStyles);
|
|
4523
|
-
var StyledMenuItemIcon =
|
|
4527
|
+
var StyledMenuItemIcon = styled__default.default("span")(templateObject_4$j || (templateObject_4$j = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
4524
4528
|
var _a;
|
|
4525
4529
|
var disabled = props.disabled;
|
|
4526
4530
|
var spaces = getSpaces(props);
|
|
@@ -4528,18 +4532,18 @@ var StyledMenuItemIcon = styled("span")(templateObject_4$j || (templateObject_4$
|
|
|
4528
4532
|
var semanticColors = getSemanticColors(props);
|
|
4529
4533
|
return "\n margin-right: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;\n margin-top: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxxs, "px;\n height: ").concat(iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.height, "px;\n\n .MuiSvgIcon-root {\n ").concat(disabled ? "color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.iconDisabled, ";") : null, "\n }\n ");
|
|
4530
4534
|
});
|
|
4531
|
-
var ColumnWrapper =
|
|
4535
|
+
var ColumnWrapper = styled__default.default("span")(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n ", "\n\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n\n ", "\n"])), fontBodyXs$2, function (props) {
|
|
4532
4536
|
var _a;
|
|
4533
4537
|
var semanticColors = getSemanticColors(props);
|
|
4534
4538
|
var spaces = getSpaces(props);
|
|
4535
4539
|
return "\n text-align: right;\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textPrimary, ";\n margin-left: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n ");
|
|
4536
4540
|
}, disabledStyles);
|
|
4537
|
-
var StyledIconWrapper =
|
|
4541
|
+
var StyledIconWrapper = styled__default.default("span")(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
4538
4542
|
var spaces = getSpaces(props);
|
|
4539
4543
|
var iconSizes = getIconSizes(props);
|
|
4540
4544
|
return "\n align-self: start;\n margin-right: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n margin-top: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxxs, "px;\n height: ").concat(iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.height, "px;\n ");
|
|
4541
4545
|
});
|
|
4542
|
-
var StyledCheck =
|
|
4546
|
+
var StyledCheck = styled__default.default(iconsMaterial.Check, {
|
|
4543
4547
|
shouldForwardProp: function (prop) { return prop !== "selected"; },
|
|
4544
4548
|
})(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
4545
4549
|
var _a, _b;
|
|
@@ -4551,7 +4555,7 @@ var StyledCheck = styled(iconsMaterial.Check, {
|
|
|
4551
4555
|
: (_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _b === void 0 ? void 0 : _b.icon;
|
|
4552
4556
|
return "\n color: ".concat(selected ? selectedColor : "transparent", ";\n padding: 0;\n height: ").concat(iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.height, "px;\n width: ").concat(iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.width, "px;\n\n &.MuiCheckbox-colorPrimary.Mui-checked:hover {\n background-color: transparent;\n }\n ");
|
|
4553
4557
|
});
|
|
4554
|
-
var StyledMinus =
|
|
4558
|
+
var StyledMinus = styled__default.default(iconsMaterial.Remove, {
|
|
4555
4559
|
shouldForwardProp: function (prop) { return prop !== "selected"; },
|
|
4556
4560
|
})(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
4557
4561
|
var _a, _b;
|
|
@@ -4737,7 +4741,7 @@ var doNotForwardProps$p = [
|
|
|
4737
4741
|
"PopperBaseProps",
|
|
4738
4742
|
"onClickAway",
|
|
4739
4743
|
];
|
|
4740
|
-
var StyledAutocompleteBase =
|
|
4744
|
+
var StyledAutocompleteBase = styled__default.default(material.Autocomplete, {
|
|
4741
4745
|
shouldForwardProp: function (prop) { return !doNotForwardProps$p.includes(prop); },
|
|
4742
4746
|
})(templateObject_1$O || (templateObject_1$O = __makeTemplateObject(["\n + .", "\n > .", "\n .", " {\n ", "\n }\n\n ", "\n"], ["\n + .", "\n > .", "\n .", " {\n ", "\n }\n\n ", "\n"])), material.autocompleteClasses.popper, material.autocompleteClasses.paper, material.autocompleteClasses.groupLabel, fontCapsXxxxs, function (props) {
|
|
4743
4747
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
@@ -4747,7 +4751,7 @@ var StyledAutocompleteBase = styled(material.Autocomplete, {
|
|
|
4747
4751
|
var semanticColors = getSemanticColors(props);
|
|
4748
4752
|
return "\n ".concat(!search && "height: 0; margin: 0 !important;", ";\n \n // (masoudmanson): We need to apply the focus styles to the input element\n // when the user is tabbing through the options. To find out more, take a\n // look at the useDetectUserTabbing hook.\n &[data-user-is-tabbing=\"true\"]:focus-within {\n border-radius: 4px;\n outline: 2px solid ").concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.borderHover, ";\n outline-offset: 1px;\n }\n\n .MuiFormControl-root {\n outline: none;\n }\n\n .MuiOutlinedInput-root.MuiInputBase-formControl.MuiInputBase-adornedEnd {\n padding: 0 ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n\n .MuiAutocomplete-input {\n padding: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;\n }\n }\n\n & + .").concat(material.autocompleteClasses.popper, " > .").concat(material.autocompleteClasses.paper, " {\n .").concat(material.autocompleteClasses.listbox, " {\n max-height: 40vh;\n padding: 0 ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px 0 0;\n\n .").concat(material.autocompleteClasses.option, " {\n min-height: unset;\n\n &.").concat(material.autocompleteClasses.focused, " {\n background-color: ").concat((_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.surfaceSecondary, ";\n }\n\n &[aria-selected=\"true\"] {\n background-color: ").concat((_c = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _c === void 0 ? void 0 : _c.surfacePrimary, ";\n }\n\n &[aria-disabled=\"true\"] {\n opacity: 1;\n }\n\n &[aria-selected=\"true\"].").concat(material.autocompleteClasses.focused, " {\n background-color: ").concat((_d = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _d === void 0 ? void 0 : _d.surfaceSecondary, ";\n }\n }\n\n & > li:last-child .").concat(material.autocompleteClasses.groupUl, " {\n border-bottom: none;\n margin-bottom: 0;\n padding-bottom: 0;\n }\n }\n\n .").concat(material.autocompleteClasses.groupLabel, " {\n top: 0;\n color: ").concat((_e = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _e === void 0 ? void 0 : _e.textSecondary, ";\n background-color: ").concat((_f = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _f === void 0 ? void 0 : _f.surfacePrimary, ";\n padding: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;\n }\n\n .").concat(material.autocompleteClasses.groupUl, " {\n position: relative;\n margin: 0 0 ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n border-bottom: ").concat((_g = borders === null || borders === void 0 ? void 0 : borders.base) === null || _g === void 0 ? void 0 : _g.divider, ";\n padding-bottom: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;\n\n & li:last-of-type {\n position: relative;\n }\n }\n\n .").concat(material.autocompleteClasses.noOptions, " {\n padding: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;\n margin-right: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;\n }\n\n .").concat(material.autocompleteClasses.loading, " {\n padding: 0 ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px 0 0;\n }\n }\n ");
|
|
4749
4753
|
});
|
|
4750
|
-
var InputBaseWrapper$1 =
|
|
4754
|
+
var InputBaseWrapper$1 = styled__default.default("div", {
|
|
4751
4755
|
shouldForwardProp: function (prop) { return !doNotForwardProps$p.includes(prop); },
|
|
4752
4756
|
})(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
4753
4757
|
var search = props.search;
|
|
@@ -4758,13 +4762,13 @@ var InputBaseWrapper$1 = styled("div", {
|
|
|
4758
4762
|
return "\n border: 0;\n padding: 0;\n white-space: nowrap;\n clip-path: inset(100%);\n clip: rect(0 0 0 0);\n overflow: hidden;\n margin: 0;\n speak: none;\n ";
|
|
4759
4763
|
}
|
|
4760
4764
|
});
|
|
4761
|
-
var StyledMenuInputSearch$1 =
|
|
4765
|
+
var StyledMenuInputSearch$1 = styled__default.default(InputSearch, {
|
|
4762
4766
|
shouldForwardProp: function (prop) { return !doNotForwardProps$p.includes(prop); },
|
|
4763
4767
|
})(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n margin: 0;\n .MuiInputBase-root {\n width: 100%;\n }\n /* (thuang): Works with attribute inputMode: \"none\" to hide mobile keyboard */\n caret-color: ", ";\n"], ["\n margin: 0;\n .MuiInputBase-root {\n width: 100%;\n }\n /* (thuang): Works with attribute inputMode: \"none\" to hide mobile keyboard */\n caret-color: ", ";\n"])), function (_a) {
|
|
4764
4768
|
var search = _a.search;
|
|
4765
4769
|
return (search ? "auto" : "transparent");
|
|
4766
4770
|
});
|
|
4767
|
-
var StyledPaper$3 =
|
|
4771
|
+
var StyledPaper$3 = styled__default.default(material.Paper)(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
4768
4772
|
var _a;
|
|
4769
4773
|
var spaces = getSpaces(props);
|
|
4770
4774
|
var corners = getCorners(props);
|
|
@@ -4773,12 +4777,12 @@ var StyledPaper$3 = styled(material.Paper)(templateObject_4$i || (templateObject
|
|
|
4773
4777
|
var semanticColors = getSemanticColors(props);
|
|
4774
4778
|
return "\n background-image: none;\n padding: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px ;\n background-color: ").concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.surfacePrimary, ";\n border: ").concat(borders === null || borders === void 0 ? void 0 : borders.none, ";\n border-radius: ").concat(corners === null || corners === void 0 ? void 0 : corners.m, "px;\n box-shadow: ").concat(shadows === null || shadows === void 0 ? void 0 : shadows.m, ";\n box-sizing: border-box;\n ");
|
|
4775
4779
|
});
|
|
4776
|
-
var StyledMenuItemDetails =
|
|
4780
|
+
var StyledMenuItemDetails = styled__default.default("div")(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), fontBodyXxs$1, function (props) {
|
|
4777
4781
|
var _a;
|
|
4778
4782
|
var semanticColors = getSemanticColors(props);
|
|
4779
4783
|
return "\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textSecondary, ";\n white-space: pre-wrap;\n ");
|
|
4780
4784
|
});
|
|
4781
|
-
var StyledMenuItemText =
|
|
4785
|
+
var StyledMenuItemText = styled__default.default("div")(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
|
|
4782
4786
|
var templateObject_1$O, templateObject_2$t, templateObject_3$l, templateObject_4$i, templateObject_5$d, templateObject_6$8;
|
|
4783
4787
|
|
|
4784
4788
|
var AutocompleteBase = function (props) {
|
|
@@ -4944,20 +4948,20 @@ var AutocompleteBase = function (props) {
|
|
|
4944
4948
|
}
|
|
4945
4949
|
};
|
|
4946
4950
|
|
|
4947
|
-
var StyledColumn =
|
|
4951
|
+
var StyledColumn = styled__default.default("div")(templateObject_1$N || (templateObject_1$N = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
4948
4952
|
var _a;
|
|
4949
4953
|
var _b = props.width, width = _b === void 0 ? 280 : _b;
|
|
4950
4954
|
var spaces = getSpaces(props);
|
|
4951
4955
|
var borders = getBorders(props);
|
|
4952
4956
|
return "\n position: relative;\n width: ".concat(width, "px;\n\n &:not(:last-child) {\n border-right: ").concat((_a = borders === null || borders === void 0 ? void 0 : borders.base) === null || _a === void 0 ? void 0 : _a.divider, ";\n margin-right: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n }\n\n // (masoudmanson): This code hides the relation icon of the last column\n &:last-of-type {\n .SdsAutocompleteMultiColumn-column-relation-icon {\n display: none;\n }\n }\n ");
|
|
4953
4957
|
});
|
|
4954
|
-
var StyledColumnTitle =
|
|
4958
|
+
var StyledColumnTitle = styled__default.default("p")(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), fontCapsXxxxs, function (props) {
|
|
4955
4959
|
var _a;
|
|
4956
4960
|
var spaces = getSpaces(props);
|
|
4957
4961
|
var semanticColors = getSemanticColors(props);
|
|
4958
4962
|
return "\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textSecondary, ";\n padding: 0 ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.s, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;\n margin: 0;\n ");
|
|
4959
4963
|
});
|
|
4960
|
-
var StyledColumnIcon =
|
|
4964
|
+
var StyledColumnIcon = styled__default.default("span")(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
4961
4965
|
var _a, _b;
|
|
4962
4966
|
var spaces = getSpaces(props);
|
|
4963
4967
|
var iconSizes = getIconSizes(props);
|
|
@@ -5015,7 +5019,7 @@ var doNotForwardProps$o = [
|
|
|
5015
5019
|
"onClickAway",
|
|
5016
5020
|
"ClickAwayListenerProps",
|
|
5017
5021
|
];
|
|
5018
|
-
var StyledPopper$2 =
|
|
5022
|
+
var StyledPopper$2 = styled__default.default(material.Popper, {
|
|
5019
5023
|
shouldForwardProp: function (prop) {
|
|
5020
5024
|
return !doNotForwardProps$o.includes(prop) || prop === "anchorEl";
|
|
5021
5025
|
},
|
|
@@ -5028,7 +5032,7 @@ var StyledPopper$2 = styled(material.Popper, {
|
|
|
5028
5032
|
var semanticColors = getSemanticColors(props);
|
|
5029
5033
|
return "\n background-color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.surfacePrimary, ";\n background-image: none;\n border: ").concat(borders === null || borders === void 0 ? void 0 : borders.none, ";\n border-radius: ").concat(corners === null || corners === void 0 ? void 0 : corners.m, "px;\n box-shadow: ").concat(shadows === null || shadows === void 0 ? void 0 : shadows.m, ";\n padding: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;\n box-sizing: border-box;\n z-index: 1400;\n\n .").concat(material.autocompleteClasses.popper, ".").concat(material.autocompleteClasses.popperDisablePortal, " {\n position: relative !important;\n transform: none !important;\n \n .MuiPaper-root .").concat(material.autocompleteClasses.listbox, " {\n padding: 0 ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px 0 0;\n }\n }\n ");
|
|
5030
5034
|
});
|
|
5031
|
-
var StyledPaper$2 =
|
|
5035
|
+
var StyledPaper$2 = styled__default.default(material.Paper, {
|
|
5032
5036
|
shouldForwardProp: function (prop) { return !doNotForwardProps$o.includes(prop); },
|
|
5033
5037
|
})(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
5034
5038
|
var _a;
|
|
@@ -5036,8 +5040,8 @@ var StyledPaper$2 = styled(material.Paper, {
|
|
|
5036
5040
|
var semanticColors = getSemanticColors(props);
|
|
5037
5041
|
return "\n background-color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.surfacePrimary, ";\n background-image: none;\n box-shadow: ").concat(shadows === null || shadows === void 0 ? void 0 : shadows.none, ";\n margin: 0;\n border-radius: 0;\n padding-top: 0;\n padding-bottom: 0;\n ");
|
|
5038
5042
|
});
|
|
5039
|
-
var StyledAutocompleteGroupWrapper =
|
|
5040
|
-
var StyledAutocompleteInput =
|
|
5043
|
+
var StyledAutocompleteGroupWrapper = styled__default.default("div")(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
|
5044
|
+
var StyledAutocompleteInput = styled__default.default(InputSearch, {
|
|
5041
5045
|
shouldForwardProp: function (prop) { return !doNotForwardProps$o.includes(prop); },
|
|
5042
5046
|
})(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["\n ", "\n\n margin: 0;\n .MuiInputBase-root {\n width: 100%;\n }\n /* (thuang): Works with attribute inputMode: \"none\" to hide mobile keyboard */\n caret-color: ", ";\n"], ["\n ", "\n\n margin: 0;\n .MuiInputBase-root {\n width: 100%;\n }\n /* (thuang): Works with attribute inputMode: \"none\" to hide mobile keyboard */\n caret-color: ", ";\n"])), function (_a) {
|
|
5043
5047
|
var search = _a.search;
|
|
@@ -5065,7 +5069,7 @@ var AutocompleteMultiColumn = function (props) {
|
|
|
5065
5069
|
}
|
|
5066
5070
|
}, [isOpenControlled, open]);
|
|
5067
5071
|
var anchorRef = React.useRef(null);
|
|
5068
|
-
var _h =
|
|
5072
|
+
var _h = React__namespace.default.useState(null), anchorEl = _h[0], setAnchorEl = _h[1];
|
|
5069
5073
|
useDetectUserTabbing(anchorRef);
|
|
5070
5074
|
React.useEffect(function () {
|
|
5071
5075
|
setAnchorEl(anchorRef === null || anchorRef === void 0 ? void 0 : anchorRef.current);
|
|
@@ -5232,9 +5236,9 @@ var Autocomplete = function (props) {
|
|
|
5232
5236
|
}
|
|
5233
5237
|
};
|
|
5234
5238
|
|
|
5235
|
-
var Centered =
|
|
5239
|
+
var Centered = styled__default.default("div")(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["\n flex: 1 1 auto;\n display: flex;\n justify-content: center;\n align-items: center;\n"], ["\n flex: 1 1 auto;\n display: flex;\n justify-content: center;\n align-items: center;\n"])));
|
|
5236
5240
|
var doNotForwardPropsIconWrapper = ["bannerType"];
|
|
5237
|
-
var IconWrapper$1 =
|
|
5241
|
+
var IconWrapper$1 = styled__default.default("div", {
|
|
5238
5242
|
shouldForwardProp: function (prop) {
|
|
5239
5243
|
return !doNotForwardPropsIconWrapper.includes(prop);
|
|
5240
5244
|
},
|
|
@@ -5247,7 +5251,7 @@ var IconWrapper$1 = styled("div", {
|
|
|
5247
5251
|
return "\n height: ".concat(iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.l.height, "px;\n margin-right: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n svg {\n fill: ").concat(bannerType === "primary" ? (_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.iconPrimaryInverse : (_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.info) === null || _b === void 0 ? void 0 : _b.ornament, ";\n }\n ");
|
|
5248
5252
|
});
|
|
5249
5253
|
var doNotForwardPropsButtonIcon = ["bannerType", "textChild"];
|
|
5250
|
-
var StyledButton$2 =
|
|
5254
|
+
var StyledButton$2 = styled__default.default(Button, {
|
|
5251
5255
|
shouldForwardProp: function (prop) {
|
|
5252
5256
|
return !doNotForwardPropsButtonIcon.includes(prop);
|
|
5253
5257
|
},
|
|
@@ -5259,7 +5263,7 @@ var StyledButton$2 = styled(Button, {
|
|
|
5259
5263
|
return "";
|
|
5260
5264
|
return "\n svg {\n fill: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.iconPrimaryInverse, ";\n }\n\n svg:hover {\n fill: ").concat((_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.iconPrimaryInverseHover, ";\n }\n ");
|
|
5261
5265
|
});
|
|
5262
|
-
|
|
5266
|
+
styled__default.default("div")(templateObject_4$g || (templateObject_4$g = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), fontBodyS$1);
|
|
5263
5267
|
var primary$1 = function (props) {
|
|
5264
5268
|
var _a, _b;
|
|
5265
5269
|
var semanticColors = getSemanticColors(props);
|
|
@@ -5271,7 +5275,7 @@ var secondary$1 = function (props) {
|
|
|
5271
5275
|
return "\n background-color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.info) === null || _a === void 0 ? void 0 : _a.surfacePrimary, ";\n color: ").concat((_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.textPrimary, ";\n ");
|
|
5272
5276
|
};
|
|
5273
5277
|
var doNotForwardProps$n = ["sdsType", "textChild"];
|
|
5274
|
-
var StyledBanner =
|
|
5278
|
+
var StyledBanner = styled__default.default("div", {
|
|
5275
5279
|
shouldForwardProp: function (prop) { return !doNotForwardProps$n.includes(prop); },
|
|
5276
5280
|
})(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyS$1, function (props) {
|
|
5277
5281
|
var sdsType = props.sdsType;
|
|
@@ -5317,7 +5321,7 @@ var BUTTON_ICON_SIZE_TO_SDS_ICON_SIZE = {
|
|
|
5317
5321
|
/**
|
|
5318
5322
|
* @see https://mui.com/material-ui/react-button/
|
|
5319
5323
|
*/
|
|
5320
|
-
var ButtonDropdown =
|
|
5324
|
+
var ButtonDropdown = React__namespace.default.forwardRef(function (props, ref) {
|
|
5321
5325
|
var icon = props.icon, sdsStyle = props.sdsStyle, sdsType = props.sdsType, _a = props.sdsSize, sdsSize = _a === void 0 ? "medium" : _a, sdsIconProps = props.sdsIconProps;
|
|
5322
5326
|
var iconSize = BUTTON_ICON_SIZE_TO_SDS_ICON_SIZE[sdsSize];
|
|
5323
5327
|
var iconItem = function () {
|
|
@@ -5352,7 +5356,7 @@ var ButtonDropdown = React.forwardRef(function (props, ref) {
|
|
|
5352
5356
|
* the component won’t function as expected.
|
|
5353
5357
|
*/
|
|
5354
5358
|
var doNotForwardProps$m = ["sdsStage"];
|
|
5355
|
-
var StyledButtonToggle =
|
|
5359
|
+
var StyledButtonToggle = styled__default.default(ButtonIcon, {
|
|
5356
5360
|
shouldForwardProp: function (prop) { return !doNotForwardProps$m.includes(prop); },
|
|
5357
5361
|
})(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
5358
5362
|
var _a;
|
|
@@ -5365,7 +5369,7 @@ var templateObject_1$K;
|
|
|
5365
5369
|
/**
|
|
5366
5370
|
* @see https://mui.com/material-ui/react-button/
|
|
5367
5371
|
*/
|
|
5368
|
-
var ButtonToggle =
|
|
5372
|
+
var ButtonToggle = React__namespace.default.forwardRef(function (props, ref) {
|
|
5369
5373
|
var icon = props.icon, _a = props.sdsSize, sdsSize = _a === void 0 ? "medium" : _a, _b = props.sdsStage, sdsStage = _b === void 0 ? "off" : _b, _c = props.sdsType, sdsType = _c === void 0 ? "primary" : _c, rest = __rest(props, ["icon", "sdsSize", "sdsStage", "sdsType"]);
|
|
5370
5374
|
if (icon !== undefined) {
|
|
5371
5375
|
return (jsxRuntime.jsx(StyledButtonToggle, __assign({ icon: icon, sdsType: sdsType, sdsSize: sdsSize, sdsStage: sdsStage, ref: ref }, rest)));
|
|
@@ -5379,7 +5383,7 @@ var ButtonToggle = React.forwardRef(function (props, ref) {
|
|
|
5379
5383
|
var CALLOUT_TITLE_DISPLAY_NAME = "CalloutTitle";
|
|
5380
5384
|
|
|
5381
5385
|
var doNotForwardProps$l = ["calloutTitle", "collapsed", "severity"];
|
|
5382
|
-
var StyledCallout =
|
|
5386
|
+
var StyledCallout = styled__default.default(material.Alert, {
|
|
5383
5387
|
shouldForwardProp: function (prop) { return !doNotForwardProps$l.includes(prop); },
|
|
5384
5388
|
})(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), fontBodyXs$2, function (props) {
|
|
5385
5389
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
@@ -5471,7 +5475,7 @@ var Callout = function (_a) {
|
|
|
5471
5475
|
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(material.Grow, { in: !hide, children: jsxRuntime.jsxs(StyledCallout, __assign({ onClose: onClose ? handleClose : undefined, action: getAction(collapsed), icon: getIcon(), intent: intent, collapsed: collapsed || false }, rest, { children: [calloutTitle, !collapsed && calloutContent] })) }) }));
|
|
5472
5476
|
};
|
|
5473
5477
|
|
|
5474
|
-
var StyledCalloutTitle =
|
|
5478
|
+
var StyledCalloutTitle = styled__default.default(material.AlertTitle)(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyXs$2, function (props) {
|
|
5475
5479
|
var spaces = getSpaces(props);
|
|
5476
5480
|
return "\n margin: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxxs, "px 0 ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;\n ");
|
|
5477
5481
|
});
|
|
@@ -5503,7 +5507,7 @@ var tableStyles = function (props) {
|
|
|
5503
5507
|
var spaces = getSpaces(props);
|
|
5504
5508
|
return css.css(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\n padding: ", "px;\n "], ["\n padding: ", "px;\n "])), spaces === null || spaces === void 0 ? void 0 : spaces.m);
|
|
5505
5509
|
};
|
|
5506
|
-
var Subtitle$1 =
|
|
5510
|
+
var Subtitle$1 = styled__default.default("div")(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyXxs$1, function (props) {
|
|
5507
5511
|
var _a;
|
|
5508
5512
|
var semanticColors = getSemanticColors(props);
|
|
5509
5513
|
return "\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textSecondaryInverse, ";\n ");
|
|
@@ -5525,7 +5529,7 @@ var arrowCss = function (props) {
|
|
|
5525
5529
|
* (masoudmanson): !important is needed to override arrow's
|
|
5526
5530
|
* default placement which is calculated by javascript
|
|
5527
5531
|
*/
|
|
5528
|
-
var StyledPopper$1 =
|
|
5532
|
+
var StyledPopper$1 = styled__default.default(material.Popper)(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject(["\n &[data-popper-placement*=\"top\"] .MuiTooltip-arrow {\n width: 24px !important;\n height: 12px !important;\n margin-bottom: -12px !important;\n &:before {\n transform: rotate(45deg) translate(0px, -2px);\n border-bottom-right-radius: 2px;\n box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.1);\n }\n }\n\n &[data-popper-placement*=\"bottom\"] .MuiTooltip-arrow {\n width: 24px !important;\n height: 12px !important;\n margin-top: -12px !important;\n &:before {\n transform: rotate(45deg) translate(-1px, 2px);\n border-top-left-radius: 2px;\n box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.1);\n }\n }\n\n &[data-popper-placement*=\"left\"] .MuiTooltip-arrow {\n width: 12px !important;\n height: 16px !important;\n margin-right: -12px !important;\n &:before {\n transform: rotate(45deg) translate(-1px, 1px);\n border-top-right-radius: 2px;\n box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.1);\n }\n }\n\n &[data-popper-placement*=\"right\"] .MuiTooltip-arrow {\n width: 12px !important;\n height: 16px !important;\n margin-left: -12px !important;\n &:before {\n transform: rotate(45deg) translate(4px, 2px);\n border-bottom-left-radius: 2px;\n box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.1);\n }\n }\n"], ["\n &[data-popper-placement*=\"top\"] .MuiTooltip-arrow {\n width: 24px !important;\n height: 12px !important;\n margin-bottom: -12px !important;\n &:before {\n transform: rotate(45deg) translate(0px, -2px);\n border-bottom-right-radius: 2px;\n box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.1);\n }\n }\n\n &[data-popper-placement*=\"bottom\"] .MuiTooltip-arrow {\n width: 24px !important;\n height: 12px !important;\n margin-top: -12px !important;\n &:before {\n transform: rotate(45deg) translate(-1px, 2px);\n border-top-left-radius: 2px;\n box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.1);\n }\n }\n\n &[data-popper-placement*=\"left\"] .MuiTooltip-arrow {\n width: 12px !important;\n height: 16px !important;\n margin-right: -12px !important;\n &:before {\n transform: rotate(45deg) translate(-1px, 1px);\n border-top-right-radius: 2px;\n box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.1);\n }\n }\n\n &[data-popper-placement*=\"right\"] .MuiTooltip-arrow {\n width: 12px !important;\n height: 16px !important;\n margin-left: -12px !important;\n &:before {\n transform: rotate(45deg) translate(4px, 2px);\n border-bottom-left-radius: 2px;\n box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.1);\n }\n }\n"])));
|
|
5529
5533
|
var templateObject_1$H, templateObject_2$p, templateObject_3$h, templateObject_4$f, templateObject_5$b, templateObject_6$7, templateObject_7$4, templateObject_8$3;
|
|
5530
5534
|
|
|
5531
5535
|
/**
|
|
@@ -5619,7 +5623,7 @@ var verticalAlignToFlexMap = {
|
|
|
5619
5623
|
center: "center",
|
|
5620
5624
|
top: "flex-start",
|
|
5621
5625
|
};
|
|
5622
|
-
var StyledTableData =
|
|
5626
|
+
var StyledTableData = styled__default.default("td", {
|
|
5623
5627
|
shouldForwardProp: function (prop) { return !doNotForwardProps$k.includes(prop); },
|
|
5624
5628
|
})(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n ", "\n ", "\n\n ", "\n"], ["\n ", "\n ", "\n\n ", "\n"])), fontBodyS$1, focusVisibleA11yStyle, function (props) {
|
|
5625
5629
|
var _a = props.horizontalAlign, horizontalAlign = _a === void 0 ? "left" : _a, _b = props.verticalAlign, verticalAlign = _b === void 0 ? "top" : _b;
|
|
@@ -5632,20 +5636,20 @@ var ShouldWrap = function (lineCount) {
|
|
|
5632
5636
|
var ShouldTruncate = function () {
|
|
5633
5637
|
return "\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n ";
|
|
5634
5638
|
};
|
|
5635
|
-
var StyledCellContent =
|
|
5636
|
-
var StyledCellContentWrapper =
|
|
5637
|
-
var StyledCellIconWrapper =
|
|
5639
|
+
var StyledCellContent = styled__default.default("div")(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
|
5640
|
+
var StyledCellContentWrapper = styled__default.default("div")(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
|
|
5641
|
+
var StyledCellIconWrapper = styled__default.default("div", {
|
|
5638
5642
|
shouldForwardProp: function (prop) { return !doNotForwardProps$k.includes(prop); },
|
|
5639
5643
|
})(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
5640
5644
|
var _a = props.iconVerticalAlign, iconVerticalAlign = _a === void 0 ? "top" : _a;
|
|
5641
5645
|
var spaces = getSpaces(props);
|
|
5642
5646
|
return "\n padding-right: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;\n display: flex;\n flex-direction: column;\n justify-content: ").concat(verticalAlignToFlexMap[iconVerticalAlign], ";\n ");
|
|
5643
5647
|
});
|
|
5644
|
-
var PrimaryTextWrapper =
|
|
5648
|
+
var PrimaryTextWrapper = styled__default.default("div")(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
5645
5649
|
var horizontalAlign = props.horizontalAlign;
|
|
5646
5650
|
return "\n display: flex;\n justify-content: ".concat(horizontalAlign === "left" ? "flex-start" : "flex-end", ";\n ");
|
|
5647
5651
|
});
|
|
5648
|
-
var PrimaryText =
|
|
5652
|
+
var PrimaryText = styled__default.default("div", {
|
|
5649
5653
|
shouldForwardProp: function (prop) { return !doNotForwardProps$k.includes(prop); },
|
|
5650
5654
|
})(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyS$1, function (props) {
|
|
5651
5655
|
var _a = props.primaryTextWrapLineCount, primaryTextWrapLineCount = _a === void 0 ? 3 : _a;
|
|
@@ -5653,7 +5657,7 @@ var PrimaryText = styled("div", {
|
|
|
5653
5657
|
? ShouldWrap(primaryTextWrapLineCount)
|
|
5654
5658
|
: ShouldTruncate(), "\n ");
|
|
5655
5659
|
});
|
|
5656
|
-
var SecondaryText =
|
|
5660
|
+
var SecondaryText = styled__default.default("span", {
|
|
5657
5661
|
shouldForwardProp: function (prop) { return !doNotForwardProps$k.includes(prop); },
|
|
5658
5662
|
})(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyXxs$1, function (props) {
|
|
5659
5663
|
var _a;
|
|
@@ -5664,7 +5668,7 @@ var SecondaryText = styled("span", {
|
|
|
5664
5668
|
? ShouldWrap(secondaryTextWrapLineCount)
|
|
5665
5669
|
: ShouldTruncate(), "\n ");
|
|
5666
5670
|
});
|
|
5667
|
-
var TertiaryText =
|
|
5671
|
+
var TertiaryText = styled__default.default("span", {
|
|
5668
5672
|
shouldForwardProp: function (prop) { return !doNotForwardProps$k.includes(prop); },
|
|
5669
5673
|
})(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyXxs$1, function (props) {
|
|
5670
5674
|
var _a;
|
|
@@ -5675,11 +5679,11 @@ var TertiaryText = styled("span", {
|
|
|
5675
5679
|
? ShouldWrap(tertiaryTextWrapLineCount)
|
|
5676
5680
|
: ShouldTruncate(), "\n ");
|
|
5677
5681
|
});
|
|
5678
|
-
var PrimaryTextComponentSlotBottomWrapper =
|
|
5682
|
+
var PrimaryTextComponentSlotBottomWrapper = styled__default.default("div")(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
5679
5683
|
var spaces = getSpaces(props);
|
|
5680
5684
|
return "\n margin-top: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;\n ");
|
|
5681
5685
|
});
|
|
5682
|
-
var PrimaryTextComponentSlotRightWrapper =
|
|
5686
|
+
var PrimaryTextComponentSlotRightWrapper = styled__default.default("div")(templateObject_10$1 || (templateObject_10$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
5683
5687
|
var spaces = getSpaces(props);
|
|
5684
5688
|
return "\n margin-left: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;\n ");
|
|
5685
5689
|
});
|
|
@@ -5698,7 +5702,7 @@ var CellBasic = React.forwardRef(function (props, ref) {
|
|
|
5698
5702
|
});
|
|
5699
5703
|
|
|
5700
5704
|
var doNotForwardProps$j = ["horizontalAlign", "verticalAlign"];
|
|
5701
|
-
var StyledCellComponentData =
|
|
5705
|
+
var StyledCellComponentData = styled__default.default("td", {
|
|
5702
5706
|
shouldForwardProp: function (prop) { return !doNotForwardProps$j.includes(prop); },
|
|
5703
5707
|
})(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n ", "\n ", "\n\n ", "\n"], ["\n ", "\n ", "\n\n ", "\n"])), fontBodyS$1, focusVisibleA11yStyle, function (props) {
|
|
5704
5708
|
var spaces = getSpaces(props);
|
|
@@ -5725,7 +5729,7 @@ var doNotForwardProps$i = [
|
|
|
5725
5729
|
"tooltipText",
|
|
5726
5730
|
"hideSortIcon",
|
|
5727
5731
|
];
|
|
5728
|
-
var StyledSortingIcon =
|
|
5732
|
+
var StyledSortingIcon = styled__default.default(Icon, {
|
|
5729
5733
|
shouldForwardProp: function (prop) { return !doNotForwardProps$i.includes(prop); },
|
|
5730
5734
|
})(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
5731
5735
|
var _a, _b;
|
|
@@ -5734,7 +5738,7 @@ var StyledSortingIcon = styled(Icon, {
|
|
|
5734
5738
|
var semanticColors = getSemanticColors(props);
|
|
5735
5739
|
return "\n margin-left: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;\n margin-bottom: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;\n color: ").concat(active ? (_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _a === void 0 ? void 0 : _a.icon : (_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.iconPrimary, ";\n opacity: ").concat(hideSortIcon ? (active ? 1 : 0) : 1, ";\n outline: none !important;\n ");
|
|
5736
5740
|
});
|
|
5737
|
-
var StyledTableHeader$1 =
|
|
5741
|
+
var StyledTableHeader$1 = styled__default.default("th", {
|
|
5738
5742
|
shouldForwardProp: function (prop) { return !doNotForwardProps$i.includes(prop); },
|
|
5739
5743
|
})(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n ", "\n ", "\n\n ", "\n"], ["\n ", "\n ", "\n\n ", "\n"])), fontHeaderS, focusVisibleA11yStyle, function (props) {
|
|
5740
5744
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
@@ -5743,7 +5747,7 @@ var StyledTableHeader$1 = styled("th", {
|
|
|
5743
5747
|
var semanticColors = getSemanticColors(props);
|
|
5744
5748
|
return "\n color: ".concat(active ? (_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _a === void 0 ? void 0 : _a.textAction : (_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.textSecondary, ";\n padding: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n text-align: ").concat(horizontalAlign, ";\n min-width: 96px;\n width: 96px;\n cursor: pointer;\n vertical-align: bottom;\n\n & .MuiButtonBase-root {\n outline: none;\n }\n\n &:hover {\n color: ").concat(active ? (_c = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _c === void 0 ? void 0 : _c.textActionHover : (_d = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _d === void 0 ? void 0 : _d.textPrimary, ";\n\n & .MuiButtonBase-root {\n color: ").concat(active ? (_e = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _e === void 0 ? void 0 : _e.textActionHover : (_f = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _f === void 0 ? void 0 : _f.textPrimary, ";\n opacity: 1;\n }\n\n & svg {\n color: ").concat(active ? (_g = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _g === void 0 ? void 0 : _g.iconHover : (_h = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _h === void 0 ? void 0 : _h.iconPrimaryHover, ";\n }\n }\n ");
|
|
5745
5749
|
});
|
|
5746
|
-
var StyledCellHeaderContainer =
|
|
5750
|
+
var StyledCellHeaderContainer = styled__default.default("div", {
|
|
5747
5751
|
shouldForwardProp: function (prop) { return !doNotForwardProps$i.includes(prop); },
|
|
5748
5752
|
})(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
5749
5753
|
var _a = props.horizontalAlign, horizontalAlign = _a === void 0 ? "left" : _a;
|
|
@@ -5846,7 +5850,7 @@ var statusToCss = {
|
|
|
5846
5850
|
warning: warning,
|
|
5847
5851
|
};
|
|
5848
5852
|
var doNotForwardProps$h = ["isRounded"];
|
|
5849
|
-
var StyledChip =
|
|
5853
|
+
var StyledChip = styled__default.default(material.Chip, {
|
|
5850
5854
|
shouldForwardProp: function (prop) { return !doNotForwardProps$h.includes(prop); },
|
|
5851
5855
|
})(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n border: none;\n\n ", "\n"], ["\n border: none;\n\n ", "\n"])), function (props) {
|
|
5852
5856
|
var size = props.size, status = props.status, isRounded = props.isRounded;
|
|
@@ -5883,7 +5887,7 @@ var doNotForwardProps$g = [
|
|
|
5883
5887
|
"forceOpen",
|
|
5884
5888
|
"isMultiColumn",
|
|
5885
5889
|
];
|
|
5886
|
-
var StyledHeaderTitle =
|
|
5890
|
+
var StyledHeaderTitle = styled__default.default("div", {
|
|
5887
5891
|
shouldForwardProp: function (prop) { return !doNotForwardProps$g.includes(prop); },
|
|
5888
5892
|
})(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontHeaderXs, function (props) {
|
|
5889
5893
|
var _a;
|
|
@@ -5891,8 +5895,8 @@ var StyledHeaderTitle = styled("div", {
|
|
|
5891
5895
|
var semanticColors = getSemanticColors(props);
|
|
5892
5896
|
return "\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textPrimary, ";\n padding-right: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n ");
|
|
5893
5897
|
});
|
|
5894
|
-
var StyledDropdownMenuAutocompleteWrapper =
|
|
5895
|
-
var StyledPopper =
|
|
5898
|
+
var StyledDropdownMenuAutocompleteWrapper = styled__default.default("div")(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n & .", ", & .MuiPopper-root,\n .base-Popper-root {\n position: relative !important;\n transform: none !important;\n width: 100% !important;\n box-shadow: none;\n padding: 0;\n border: none;\n\n .", ", .MuiPaper-root {\n box-shadow: none !important;\n border: none !important;\n border-radius: 0;\n margin: 0;\n padding: 0;\n }\n }\n"], ["\n & .", ", & .MuiPopper-root,\n .base-Popper-root {\n position: relative !important;\n transform: none !important;\n width: 100% !important;\n box-shadow: none;\n padding: 0;\n border: none;\n\n .", ", .MuiPaper-root {\n box-shadow: none !important;\n border: none !important;\n border-radius: 0;\n margin: 0;\n padding: 0;\n }\n }\n"])), material.autocompleteClasses.popper, material.autocompleteClasses.paper);
|
|
5899
|
+
var StyledPopper = styled__default.default(material.Popper, {
|
|
5896
5900
|
shouldForwardProp: function (prop) {
|
|
5897
5901
|
return !doNotForwardProps$g.includes(prop) || prop === "anchorEl";
|
|
5898
5902
|
},
|
|
@@ -5904,7 +5908,7 @@ var StyledPopper = styled(material.Popper, {
|
|
|
5904
5908
|
var semanticColors = getSemanticColors(props);
|
|
5905
5909
|
return "\n background-color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.surfacePrimary, ";\n background-image: none;\n border: ").concat(borders === null || borders === void 0 ? void 0 : borders.none, ";\n border-radius: ").concat(corners === null || corners === void 0 ? void 0 : corners.m, "px;\n box-shadow: ").concat(shadows === null || shadows === void 0 ? void 0 : shadows.m, ";\n box-sizing: border-box;\n z-index: 1400;\n ");
|
|
5906
5910
|
});
|
|
5907
|
-
var StyledPaper$1 =
|
|
5911
|
+
var StyledPaper$1 = styled__default.default(material.Paper, {
|
|
5908
5912
|
shouldForwardProp: function (prop) { return !doNotForwardProps$g.includes(prop); },
|
|
5909
5913
|
})(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
5910
5914
|
var _a;
|
|
@@ -5914,7 +5918,7 @@ var StyledPaper$1 = styled(material.Paper, {
|
|
|
5914
5918
|
var semanticColors = getSemanticColors(props);
|
|
5915
5919
|
return "\n box-shadow: ".concat(shadows === null || shadows === void 0 ? void 0 : shadows.none, " !important;\n border: ").concat(borders === null || borders === void 0 ? void 0 : borders.none, ";\n background-color: ").concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.surfacePrimary, ";\n background-image: none;\n margin: 0;\n padding: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;\n\n .MuiAutocomplete-root,\n .MuiFormControl-root.MuiTextField-root {\n margin-bottom: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n margin-right: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n }\n\n // (masoudmanson): Remove margin-right and margin-bottom for the single column autocomplete\n // as it has been added to the parent container\n .MuiAutocomplete-root .MuiFormControl-root.MuiTextField-root {\n margin-right: 0;\n margin-bottom: 0; \n }\n ");
|
|
5916
5920
|
});
|
|
5917
|
-
var StyledDropdownMenuHeader =
|
|
5921
|
+
var StyledDropdownMenuHeader = styled__default.default("div")(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
5918
5922
|
var search = props.search;
|
|
5919
5923
|
var spaces = getSpaces(props);
|
|
5920
5924
|
return "\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n margin-bottom: ").concat(search ? spaces === null || spaces === void 0 ? void 0 : spaces.s : spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n ");
|
|
@@ -6032,7 +6036,7 @@ var isDisabled = function (props) {
|
|
|
6032
6036
|
* passed to the underlying Button component. So we have added the style prop
|
|
6033
6037
|
* to the InputDropdownProps interface.
|
|
6034
6038
|
*/
|
|
6035
|
-
var StyledInputDropdown =
|
|
6039
|
+
var StyledInputDropdown = styled__default.default(Button, {
|
|
6036
6040
|
shouldForwardProp: function (prop) { return !doNotForwardProps$f.includes(prop); },
|
|
6037
6041
|
})(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n ", "\n ", "\n outline-offset: 1px !important;\n\n /* (thuang): in Minimal it's a different value */\n align-items: center;\n /* (thuang): in Minimal it's a different value */\n flex-direction: row;\n\n justify-content: space-between;\n\n ", "\n"], ["\n ", "\n ", "\n outline-offset: 1px !important;\n\n /* (thuang): in Minimal it's a different value */\n align-items: center;\n /* (thuang): in Minimal it's a different value */\n flex-direction: row;\n\n justify-content: space-between;\n\n ", "\n"])), labelFontBodyXs, focusVisibleA11yStyle, function (props) {
|
|
6038
6042
|
var disabled = props.disabled, intent = props.intent, state = props.state, value = props.value, sdsStyle = props.sdsStyle;
|
|
@@ -6044,7 +6048,7 @@ var StyledInputDropdown = styled(Button, {
|
|
|
6044
6048
|
sdsStyle !== "minimal" &&
|
|
6045
6049
|
applyIntentColor$1(props, "positive"), state === "open" && isOpen(props), disabled && isDisabled(props));
|
|
6046
6050
|
});
|
|
6047
|
-
var StyledDetail =
|
|
6051
|
+
var StyledDetail = styled__default.default("span", {
|
|
6048
6052
|
shouldForwardProp: function (prop) { return !doNotForwardProps$f.includes(prop); },
|
|
6049
6053
|
})(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
6050
6054
|
var _a;
|
|
@@ -6052,7 +6056,7 @@ var StyledDetail = styled("span", {
|
|
|
6052
6056
|
var semanticColors = getSemanticColors(props);
|
|
6053
6057
|
return "\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textSecondary, ";\n margin-left: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n ");
|
|
6054
6058
|
});
|
|
6055
|
-
var StyledLabel$1 =
|
|
6059
|
+
var StyledLabel$1 = styled__default.default("span", {
|
|
6056
6060
|
shouldForwardProp: function (prop) { return !doNotForwardProps$f.includes(prop); },
|
|
6057
6061
|
})(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
6058
6062
|
var _a, _b;
|
|
@@ -6064,7 +6068,7 @@ var StyledLabel$1 = styled("span", {
|
|
|
6064
6068
|
: (_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.textSecondary;
|
|
6065
6069
|
return "\n color: ".concat(labelColor, ";\n\n font-weight: ").concat(sdsType === "label" ? fontWeights === null || fontWeights === void 0 ? void 0 : fontWeights.semibold : fontWeights === null || fontWeights === void 0 ? void 0 : fontWeights.regular, ";\n ");
|
|
6066
6070
|
});
|
|
6067
|
-
var StyledCounter =
|
|
6071
|
+
var StyledCounter = styled__default.default("span", {
|
|
6068
6072
|
shouldForwardProp: function (prop) { return !doNotForwardProps$f.includes(prop); },
|
|
6069
6073
|
})(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
6070
6074
|
var _a, _b;
|
|
@@ -6073,7 +6077,7 @@ var StyledCounter = styled("span", {
|
|
|
6073
6077
|
var semanticColors = getSemanticColors(props);
|
|
6074
6078
|
return "\n background-color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.surfaceTertiary, ";\n color: ").concat((_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _b === void 0 ? void 0 : _b.textAction, ";\n border-radius: ").concat(corners === null || corners === void 0 ? void 0 : corners.l, "px;\n padding: 0 ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;\n margin-left: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;\n ");
|
|
6075
6079
|
});
|
|
6076
|
-
var MinimalDetails =
|
|
6080
|
+
var MinimalDetails = styled__default.default("div", {
|
|
6077
6081
|
shouldForwardProp: function (prop) { return !doNotForwardProps$f.includes(prop); },
|
|
6078
6082
|
})(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n ", "\n text-align: left;\n width: 100%;\n\n ", "\n"], ["\n ", "\n text-align: left;\n width: 100%;\n\n ", "\n"])), labelFontBodyS, function (props) {
|
|
6079
6083
|
var _a;
|
|
@@ -6082,13 +6086,13 @@ var MinimalDetails = styled("div", {
|
|
|
6082
6086
|
return "\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textSecondary, ";\n\n ").concat(shouldTruncateMinimalDetails &&
|
|
6083
6087
|
"overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;", "\n ");
|
|
6084
6088
|
});
|
|
6085
|
-
var LabelWrapper =
|
|
6089
|
+
var LabelWrapper = styled__default.default("span", {
|
|
6086
6090
|
shouldForwardProp: function (prop) { return !doNotForwardProps$f.includes(prop); },
|
|
6087
6091
|
})(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
6088
6092
|
var isMinimal = _a.isMinimal;
|
|
6089
6093
|
return "\n align-items: ".concat(isMinimal ? "center" : undefined, ";\n display: ").concat(isMinimal ? "inline-flex" : "contents", ";\n justify-content: ").concat(isMinimal ? "space-between" : undefined, ";\n width: 100%;\n ");
|
|
6090
6094
|
});
|
|
6091
|
-
var IconWrapper =
|
|
6095
|
+
var IconWrapper = styled__default.default("span", {
|
|
6092
6096
|
shouldForwardProp: function (prop) { return !doNotForwardProps$f.includes(prop); },
|
|
6093
6097
|
})(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n margin-left: auto;\n display: flex;\n align-items: center;\n"], ["\n margin-left: auto;\n display: flex;\n align-items: center;\n"])));
|
|
6094
6098
|
function labelStyle(props) {
|
|
@@ -6278,7 +6282,7 @@ var doNotForwardProps$e = [
|
|
|
6278
6282
|
"tagColor",
|
|
6279
6283
|
"hover",
|
|
6280
6284
|
];
|
|
6281
|
-
var StyledTag$1 =
|
|
6285
|
+
var StyledTag$1 = styled__default.default(material.Chip, {
|
|
6282
6286
|
shouldForwardProp: function (prop) { return !doNotForwardProps$e.includes(prop); },
|
|
6283
6287
|
})(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n border: none;\n\n ", "\n"], ["\n border: none;\n\n ", "\n"])), function (props) {
|
|
6284
6288
|
var _a = props.hover, hover = _a === void 0 ? true : _a, sdsType = props.sdsType, sdsStyle = props.sdsStyle, _b = props.sdsSize, sdsSize = _b === void 0 ? "s" : _b;
|
|
@@ -6300,7 +6304,7 @@ var Tag = function (props) {
|
|
|
6300
6304
|
return jsxRuntime.jsx(StyledTag$1, __assign({ tagColor: color }, props, { color: "primary" }));
|
|
6301
6305
|
};
|
|
6302
6306
|
|
|
6303
|
-
var StyledTag =
|
|
6307
|
+
var StyledTag = styled__default.default(Tag)(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
6304
6308
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
6305
6309
|
var spaces = getSpaces(props);
|
|
6306
6310
|
var iconSizes = getIconSizes(props);
|
|
@@ -6330,8 +6334,8 @@ var Chips = function (_a) {
|
|
|
6330
6334
|
}) }));
|
|
6331
6335
|
};
|
|
6332
6336
|
|
|
6333
|
-
var Wrapper$1 =
|
|
6334
|
-
var StyledChipsWrapper =
|
|
6337
|
+
var Wrapper$1 = styled__default.default("div")(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n min-width: 150px;\n"], ["\n min-width: 150px;\n"])));
|
|
6338
|
+
var StyledChipsWrapper = styled__default.default("div")(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
6335
6339
|
var spaces = getSpaces(props);
|
|
6336
6340
|
return "\n margin-top: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;\n ");
|
|
6337
6341
|
});
|
|
@@ -6428,7 +6432,7 @@ var DialogContext = React.createContext({ sdsSize: "m" });
|
|
|
6428
6432
|
|
|
6429
6433
|
// (thuang): Please keep this in sync with the props used in `ExtraProps`
|
|
6430
6434
|
var doNotForwardProps$d = ["sdsSize"];
|
|
6431
|
-
var StyledPaper =
|
|
6435
|
+
var StyledPaper = styled__default.default(material.Paper, {
|
|
6432
6436
|
shouldForwardProp: function (prop) { return !doNotForwardProps$d.includes(prop); },
|
|
6433
6437
|
})(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n & {\n ", "\n\n ", "\n }\n"], ["\n & {\n ", "\n\n ", "\n }\n"])), paperDimensions, function (props) {
|
|
6434
6438
|
var _a;
|
|
@@ -6491,7 +6495,7 @@ var Dialog = React.forwardRef(function Dialog(props, ref) {
|
|
|
6491
6495
|
|
|
6492
6496
|
// (thuang): Please keep this in sync with the props used in `DialogActionsExtraProps`
|
|
6493
6497
|
var doNotForwardProps$c = ["buttonPosition"];
|
|
6494
|
-
var StyledDialogActions =
|
|
6498
|
+
var StyledDialogActions = styled__default.default(material.DialogActions, {
|
|
6495
6499
|
shouldForwardProp: function (prop) { return !doNotForwardProps$c.includes(prop); },
|
|
6496
6500
|
})(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n padding: 0;\n\n ", "\n"], ["\n padding: 0;\n\n ", "\n"])), function (props) {
|
|
6497
6501
|
var spaces = getSpaces(props);
|
|
@@ -6507,7 +6511,7 @@ var DialogActions = React.forwardRef(function DialogActions(props, ref) {
|
|
|
6507
6511
|
return jsxRuntime.jsx(StyledDialogActions, __assign({ ref: ref }, props));
|
|
6508
6512
|
});
|
|
6509
6513
|
|
|
6510
|
-
var StyledDialogContent =
|
|
6514
|
+
var StyledDialogContent = styled__default.default(material.DialogContent)(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n ", "\n padding: 0;\n"], ["\n ", "\n padding: 0;\n"])), fontBodyS$1);
|
|
6511
6515
|
var templateObject_1$v;
|
|
6512
6516
|
|
|
6513
6517
|
var index = React.forwardRef(
|
|
@@ -6518,7 +6522,7 @@ function DialogContent(props, ref) {
|
|
|
6518
6522
|
return jsxRuntime.jsx(StyledDialogContent, __assign({ ref: ref }, props));
|
|
6519
6523
|
});
|
|
6520
6524
|
|
|
6521
|
-
var StyledButton$1 =
|
|
6525
|
+
var StyledButton$1 = styled__default.default(Button)(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n position: absolute;\n\n ", "\n"], ["\n position: absolute;\n\n ", "\n"])), function (props) {
|
|
6522
6526
|
var spaces = getSpaces(props);
|
|
6523
6527
|
return "\n right: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxl, "px;\n ");
|
|
6524
6528
|
});
|
|
@@ -6538,21 +6542,21 @@ var CloseButton = React.forwardRef(function CloseButton(props, ref) {
|
|
|
6538
6542
|
} }));
|
|
6539
6543
|
});
|
|
6540
6544
|
|
|
6541
|
-
var StyledDialogTitle =
|
|
6545
|
+
var StyledDialogTitle = styled__default.default(material.DialogTitle)(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n padding: 0;\n ", "\n"], ["\n padding: 0;\n ", "\n"])), function (props) {
|
|
6542
6546
|
var spaces = getSpaces(props);
|
|
6543
6547
|
return "\n margin-bottom: ".concat((spaces === null || spaces === void 0 ? void 0 : spaces.xl) || 0, "px;\n ");
|
|
6544
6548
|
});
|
|
6545
|
-
var Title =
|
|
6549
|
+
var Title = styled__default.default(material.Typography)(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontHeaderXl, function (props) {
|
|
6546
6550
|
var _a;
|
|
6547
6551
|
var semanticColors = getSemanticColors(props);
|
|
6548
6552
|
return "\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textPrimary, ";\n ");
|
|
6549
6553
|
});
|
|
6550
|
-
var Subtitle =
|
|
6554
|
+
var Subtitle = styled__default.default(material.Typography)(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyXs$2, function (props) {
|
|
6551
6555
|
var _a;
|
|
6552
6556
|
var semanticColors = getSemanticColors(props);
|
|
6553
6557
|
return "\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textSecondary, ";\n ");
|
|
6554
6558
|
});
|
|
6555
|
-
var Overline =
|
|
6559
|
+
var Overline = styled__default.default(material.Typography)(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyS$1, function (props) {
|
|
6556
6560
|
var _a;
|
|
6557
6561
|
var semanticColors = getSemanticColors(props);
|
|
6558
6562
|
var spaces = getSpaces(props);
|
|
@@ -6569,13 +6573,13 @@ var DialogTitle = React.forwardRef(function DialogTitle(props, ref) {
|
|
|
6569
6573
|
});
|
|
6570
6574
|
|
|
6571
6575
|
var doNotForwardProps$b = ["buttonPosition"];
|
|
6572
|
-
var StyledButtonsWrapper =
|
|
6576
|
+
var StyledButtonsWrapper = styled__default.default("div", {
|
|
6573
6577
|
shouldForwardProp: function (prop) { return !doNotForwardProps$b.includes(prop); },
|
|
6574
6578
|
})(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
6575
6579
|
var buttonPosition = props.buttonPosition;
|
|
6576
6580
|
return "\n display: flex;\n justify-content: ".concat(buttonPosition === "left" ? "start" : "end", ";\n ");
|
|
6577
6581
|
});
|
|
6578
|
-
var StyledButton =
|
|
6582
|
+
var StyledButton = styled__default.default(Button, {
|
|
6579
6583
|
shouldForwardProp: function (prop) { return !doNotForwardProps$b.includes(prop); },
|
|
6580
6584
|
})(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
6581
6585
|
var spaces = getSpaces(props);
|
|
@@ -6754,7 +6758,7 @@ var SvgIconCheckboxUnchecked = function SvgIconCheckboxUnchecked(props) {
|
|
|
6754
6758
|
})));
|
|
6755
6759
|
};
|
|
6756
6760
|
|
|
6757
|
-
var StyledCheckbox =
|
|
6761
|
+
var StyledCheckbox = styled__default.default(material.Checkbox)(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
6758
6762
|
var _a, _b, _c, _d, _e, _f;
|
|
6759
6763
|
var _g = props.intent, intent = _g === void 0 ? "default" : _g;
|
|
6760
6764
|
var iconSizes = getIconSizes(props);
|
|
@@ -6769,16 +6773,16 @@ var StyledCheckbox = styled(material.Checkbox)(templateObject_1$r || (templateOb
|
|
|
6769
6773
|
var checkboxColor = intentToColor[intent];
|
|
6770
6774
|
return "\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors[checkboxColor]) === null || _a === void 0 ? void 0 : _a.border, ";\n\n &:hover {\n color: ").concat((_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.borderHover, ";\n background-color: transparent;\n }\n\n &.").concat(material.checkboxClasses.disabled, " {\n color: ").concat((_c = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _c === void 0 ? void 0 : _c.borderDisabled, ";\n }\n\n &.").concat(material.checkboxClasses.checked, " {\n color: ").concat((_d = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _d === void 0 ? void 0 : _d.border, ";\n\n &:hover {\n color: ").concat((_e = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _e === void 0 ? void 0 : _e.borderHover, ";\n background-color: transparent;\n }\n\n &.").concat(material.checkboxClasses.disabled, " {\n color: ").concat((_f = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _f === void 0 ? void 0 : _f.borderDisabled, ";\n }\n }\n\n &.").concat(material.checkboxClasses.root, " {\n ").concat(focusVisibleA11yStyle(props), "\n padding: 0;\n margin-right: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;\n border-radius: 0;\n }\n\n .MuiSvgIcon-root {\n height: ").concat(iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.height, "px;\n width: ").concat(iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.width, "px;\n }\n ");
|
|
6771
6775
|
});
|
|
6772
|
-
var StyledFormControlLabel$1 =
|
|
6776
|
+
var StyledFormControlLabel$1 = styled__default.default(material.FormControlLabel)(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
6773
6777
|
var spaces = getSpaces(props);
|
|
6774
6778
|
return "\n align-items: start;\n margin-bottom: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;\n margin-left: 0;\n margin-right: 0;\n width: fit-content;\n ");
|
|
6775
6779
|
});
|
|
6776
|
-
var StyledLabelContainer$1 =
|
|
6777
|
-
var StyledCheckboxLabel =
|
|
6780
|
+
var StyledLabelContainer$1 = styled__default.default("span")(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n display: flex;\n justify-content: start;\n flex-direction: column;\n"], ["\n display: flex;\n justify-content: start;\n flex-direction: column;\n"])));
|
|
6781
|
+
var StyledCheckboxLabel = styled__default.default("span")(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyXs$2, function (props) {
|
|
6778
6782
|
var spaces = getSpaces(props);
|
|
6779
6783
|
return "\n margin-top: -".concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxxs, "px !important;\n ");
|
|
6780
6784
|
});
|
|
6781
|
-
var StyledCheckboxCaption =
|
|
6785
|
+
var StyledCheckboxCaption = styled__default.default("span")(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyXxs$1, function (props) {
|
|
6782
6786
|
var _a, _b;
|
|
6783
6787
|
var disabled = props.disabled;
|
|
6784
6788
|
var semanticColors = getSemanticColors(props);
|
|
@@ -6835,7 +6839,7 @@ var SvgIconRadioUnchecked = function SvgIconRadioUnchecked(props) {
|
|
|
6835
6839
|
})));
|
|
6836
6840
|
};
|
|
6837
6841
|
|
|
6838
|
-
var StyledRadioButton =
|
|
6842
|
+
var StyledRadioButton = styled__default.default(material.Radio)(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
6839
6843
|
var _a, _b, _c, _d, _e, _f;
|
|
6840
6844
|
var _g = props.intent, intent = _g === void 0 ? "default" : _g;
|
|
6841
6845
|
var spaces = getSpaces(props);
|
|
@@ -6850,16 +6854,16 @@ var StyledRadioButton = styled(material.Radio)(templateObject_1$q || (templateOb
|
|
|
6850
6854
|
var radioColor = intentToColor[intent];
|
|
6851
6855
|
return "\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors[radioColor]) === null || _a === void 0 ? void 0 : _a.border, ";\n\n &:hover {\n color: ").concat((_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.borderHover, ";\n background-color: transparent;\n }\n\n &.").concat(material.radioClasses.disabled, " {\n color: ").concat((_c = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _c === void 0 ? void 0 : _c.borderDisabled, ";\n }\n\n &.").concat(material.radioClasses.checked, " {\n color: ").concat((_d = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _d === void 0 ? void 0 : _d.border, ";\n\n &:hover {\n color: ").concat((_e = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _e === void 0 ? void 0 : _e.borderHover, ";\n background-color: transparent;\n }\n\n &.").concat(material.radioClasses.disabled, " {\n color: ").concat((_f = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _f === void 0 ? void 0 : _f.borderDisabled, ";\n }\n }\n\n &.").concat(material.radioClasses.root, " {\n ").concat(focusVisibleA11yStyle(props), "\n margin: 0 ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.s, "px 0 0;\n padding: 0;\n }\n\n .MuiSvgIcon-root {\n height: ").concat(iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.height, "px;\n width: ").concat(iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.s.width, "px;\n }\n ");
|
|
6852
6856
|
});
|
|
6853
|
-
var StyledFormControlLabel =
|
|
6857
|
+
var StyledFormControlLabel = styled__default.default(material.FormControlLabel)(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
6854
6858
|
var spaces = getSpaces(props);
|
|
6855
6859
|
return "\n align-items: start;\n margin-bottom: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;\n margin-left: 0;\n margin-right: 0;\n width: fit-content;\n ");
|
|
6856
6860
|
});
|
|
6857
|
-
var StyledLabelContainer =
|
|
6858
|
-
var StyledRadioLabel =
|
|
6861
|
+
var StyledLabelContainer = styled__default.default("span")(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n display: flex;\n justify-content: start;\n flex-direction: column;\n"], ["\n display: flex;\n justify-content: start;\n flex-direction: column;\n"])));
|
|
6862
|
+
var StyledRadioLabel = styled__default.default("span")(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyXs$2, function (props) {
|
|
6859
6863
|
var spaces = getSpaces(props);
|
|
6860
6864
|
return "\n margin-top: -".concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxxs, "px !important;\n ");
|
|
6861
6865
|
});
|
|
6862
|
-
var StyledRadioCaption =
|
|
6866
|
+
var StyledRadioCaption = styled__default.default("span")(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyXxs$1, function (props) {
|
|
6863
6867
|
var _a, _b;
|
|
6864
6868
|
var disabled = props.disabled;
|
|
6865
6869
|
var semanticColors = getSemanticColors(props);
|
|
@@ -6913,7 +6917,7 @@ var disabledSlider = function (props) {
|
|
|
6913
6917
|
var mode = getMode(props);
|
|
6914
6918
|
return "\n .".concat(material.sliderClasses.track, " {\n background-color: ").concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.fillDisabled, ";\n }\n\n .").concat(material.sliderClasses.thumb, ".").concat(material.sliderClasses.disabled, " {\n background-color: ").concat((_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.fillDisabled, ";\n }\n\n .").concat(material.sliderClasses.valueLabel, " {\n color: ").concat(colors === null || colors === void 0 ? void 0 : colors.gray[300], ";\n background-color: ").concat(mode === "light" ? (_c = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _c === void 0 ? void 0 : _c.surfaceSecondary : (_d = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _d === void 0 ? void 0 : _d.surfacePrimary, ";\n \n & * {\n color: ").concat((_e = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _e === void 0 ? void 0 : _e.textDisabled, ";\n }\n }\n\n .").concat(material.sliderClasses.markLabel, " {\n color: ").concat((_f = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _f === void 0 ? void 0 : _f.textDisabled, "\n }\n\n .").concat(material.sliderClasses.mark, " {\n background-color: ").concat((_g = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _g === void 0 ? void 0 : _g.fillPrimary, ";\n }\n ");
|
|
6915
6919
|
};
|
|
6916
|
-
var StyledSlider =
|
|
6920
|
+
var StyledSlider = styled__default.default(material.Slider)(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyXxs$1, function (props) {
|
|
6917
6921
|
var disabled = props.disabled;
|
|
6918
6922
|
return "\n ".concat(inputSlider(props), "\n ").concat(horizontal(props), "\n ").concat(disabled ? disabledSlider(props) : "", "\n ");
|
|
6919
6923
|
});
|
|
@@ -6944,11 +6948,11 @@ var textArea = function (props) {
|
|
|
6944
6948
|
var spaces = getSpaces(props);
|
|
6945
6949
|
return react.css(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\n .", " {\n padding: ", "px;\n\n > .", " {\n padding: ", "px ", "px ", "px;\n resize: both;\n }\n }\n "], ["\n .", " {\n padding: ", "px;\n\n > .", " {\n padding: ", "px ", "px ", "px;\n resize: both;\n }\n }\n "])), material.outlinedInputClasses.multiline, spaces === null || spaces === void 0 ? void 0 : spaces.xxs, material.outlinedInputClasses.inputMultiline, spaces === null || spaces === void 0 ? void 0 : spaces.xxs, spaces === null || spaces === void 0 ? void 0 : spaces.m, spaces === null || spaces === void 0 ? void 0 : spaces.m);
|
|
6946
6950
|
};
|
|
6947
|
-
var StyledLabel =
|
|
6951
|
+
var StyledLabel = styled__default.default("label")(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["\n display: block;\n ", "\n\n ", "\n"], ["\n display: block;\n ", "\n\n ", "\n"])), fontBodyS$1, function (props) {
|
|
6948
6952
|
var spaces = getSpaces(props);
|
|
6949
6953
|
return "\n margin-bottom: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;\n ");
|
|
6950
6954
|
});
|
|
6951
|
-
var StyledInputBase =
|
|
6955
|
+
var StyledInputBase = styled__default.default(material.TextField, {
|
|
6952
6956
|
shouldForwardProp: function (prop) {
|
|
6953
6957
|
return !sdsPropNames$1.includes(prop.toString());
|
|
6954
6958
|
},
|
|
@@ -7022,7 +7026,7 @@ var toggleOff = function (props) {
|
|
|
7022
7026
|
: (_d = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _d === void 0 ? void 0 : _d.iconPrimary, ";\n margin-right: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n }\n\n .").concat(material.switchClasses.switchBase, " {\n right: unset;\n left: 0;\n transform: unset;\n padding: 0 ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px 0 ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;\n\n .MuiIconButton-label {\n margin-right: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;\n }\n\n &:after {\n color: ").concat(disabled ? (_e = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _e === void 0 ? void 0 : _e.textDisabled : (_f = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _f === void 0 ? void 0 : _f.textSecondary, ";\n content: \"").concat(value, "\";\n }\n }\n\n &:hover {\n .").concat(material.switchClasses.switchBase, " {\n &:after {\n color: ").concat(disabled ? (_g = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _g === void 0 ? void 0 : _g.textDisabled : (_h = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _h === void 0 ? void 0 : _h.textPrimary, ";\n }\n }\n }\n\n .").concat(material.switchClasses.track, " {\n background-color: ").concat((_j = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _j === void 0 ? void 0 : _j.fillPrimary, " !important;\n opacity: 1 !important;\n }\n\n ").concat(!disabled &&
|
|
7023
7027
|
"&:hover {\n outline: ".concat((_k = borders === null || borders === void 0 ? void 0 : borders.base) === null || _k === void 0 ? void 0 : _k.hover, ";\n\n .").concat(material.switchClasses.thumb, " {\n color: ").concat((_l = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _l === void 0 ? void 0 : _l.iconPrimaryHover, ";\n }\n }"), "\n ");
|
|
7024
7028
|
};
|
|
7025
|
-
var Toggle =
|
|
7029
|
+
var Toggle = styled__default.default(material.Switch)(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), fontBodyXs$2, function (props) {
|
|
7026
7030
|
var checked = props.checked;
|
|
7027
7031
|
return "\n ".concat(toggle(props), "\n ").concat(checked ? toggleOn(props) : toggleOff(props), "\n ");
|
|
7028
7032
|
});
|
|
@@ -7059,7 +7063,7 @@ var smallStyle = function (props) {
|
|
|
7059
7063
|
var extraSmallStyle = function (props) {
|
|
7060
7064
|
return fontBodyXs$2(props);
|
|
7061
7065
|
};
|
|
7062
|
-
var StyledLink =
|
|
7066
|
+
var StyledLink = styled__default.default(material.Link, {
|
|
7063
7067
|
shouldForwardProp: function (prop) {
|
|
7064
7068
|
return !doNotForwardProps$a.includes(prop.toString());
|
|
7065
7069
|
},
|
|
@@ -7083,7 +7087,7 @@ var Link = React.forwardRef(function (props, ref) {
|
|
|
7083
7087
|
|
|
7084
7088
|
// (thuang): Please keep this in sync with the props used in `ListExtraProps`
|
|
7085
7089
|
var doNotForwardProps$9 = ["marginBottom", "ordered"];
|
|
7086
|
-
var StyledList =
|
|
7090
|
+
var StyledList = styled__default.default(material.List, {
|
|
7087
7091
|
shouldForwardProp: function (prop) { return !doNotForwardProps$9.includes(prop); },
|
|
7088
7092
|
})(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n .MuiListSubheader-root {\n ", "\n }\n\n ", "\n"], ["\n .MuiListSubheader-root {\n ", "\n }\n\n ", "\n"])), propsToMarginBottom$1, function (props) {
|
|
7089
7093
|
if (!props.ordered)
|
|
@@ -7121,7 +7125,7 @@ var fontBodyXxs = fontBody("xxs");
|
|
|
7121
7125
|
var fontBodyXxxs = fontBody("xxxs");
|
|
7122
7126
|
// (thuang): Please keep this in sync with the props used in `ListItemExtraProps`
|
|
7123
7127
|
var doNotForwardProps$8 = ["marginBottom", "fontSize", "ordered"];
|
|
7124
|
-
var StyledListItem =
|
|
7128
|
+
var StyledListItem = styled__default.default(material.ListItem, {
|
|
7125
7129
|
shouldForwardProp: function (prop) { return !doNotForwardProps$8.includes(prop); },
|
|
7126
7130
|
})(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n ", "\n ", "\n\n padding: 0;\n\n ", "\n\n &:before {\n display: inline-block;\n\n ", "\n }\n"], ["\n ", "\n ", "\n\n padding: 0;\n\n ", "\n\n &:before {\n display: inline-block;\n\n ", "\n }\n"])), propsToMarginBottom, propsToFontBody, function (props) {
|
|
7127
7131
|
var ordered = props.ordered;
|
|
@@ -7154,7 +7158,7 @@ function propsToMarginBottom(props) {
|
|
|
7154
7158
|
var marginBottom = props.marginBottom;
|
|
7155
7159
|
return "\n margin-bottom: ".concat(propsToMarginBottomMap[marginBottom || "xs"], "px;\n ");
|
|
7156
7160
|
}
|
|
7157
|
-
var ListItemLabel =
|
|
7161
|
+
var ListItemLabel = styled__default.default("span")(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n margin-right: 5px;\n\n ", "\n"], ["\n margin-right: 5px;\n\n ", "\n"])), function (props) {
|
|
7158
7162
|
var fontWeights = getFontWeights(props);
|
|
7159
7163
|
return "\n font-weight: ".concat(fontWeights === null || fontWeights === void 0 ? void 0 : fontWeights.semibold, ";\n ");
|
|
7160
7164
|
});
|
|
@@ -7168,7 +7172,7 @@ var ListItem = function (props) {
|
|
|
7168
7172
|
};
|
|
7169
7173
|
|
|
7170
7174
|
var fontHeaderM = fontHeader("m");
|
|
7171
|
-
var StyledListSubheader =
|
|
7175
|
+
var StyledListSubheader = styled__default.default(material.ListSubheader)(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n &.MuiListSubheader-root {\n ", "\n\n line-height: unset;\n color: unset;\n\n ", "\n }\n"], ["\n &.MuiListSubheader-root {\n ", "\n\n line-height: unset;\n color: unset;\n\n ", "\n }\n"])), fontHeaderM, function (props) {
|
|
7172
7176
|
var spaces = getSpaces(props);
|
|
7173
7177
|
return "\n margin-bottom: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;\n ");
|
|
7174
7178
|
});
|
|
@@ -7181,7 +7185,7 @@ var ListSubheader = function (props) {
|
|
|
7181
7185
|
return jsxRuntime.jsx(StyledListSubheader, __assign({ disableGutters: true }, props));
|
|
7182
7186
|
};
|
|
7183
7187
|
|
|
7184
|
-
var StyledText =
|
|
7188
|
+
var StyledText = styled__default.default("span")(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
7185
7189
|
var spaces = getSpaces(props);
|
|
7186
7190
|
return "\n margin: 0 ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px;\n ");
|
|
7187
7191
|
});
|
|
@@ -7198,7 +7202,7 @@ var tag = function (props) {
|
|
|
7198
7202
|
return react.css(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["\n ", "\n\n background-color: ", ";\n border-radius: ", "px;\n color: ", ";\n\n svg {\n path {\n fill: ", ";\n }\n }\n "], ["\n ", "\n\n background-color: ", ";\n border-radius: ", "px;\n color: ", ";\n\n svg {\n path {\n fill: ", ";\n }\n }\n "])), fontCapsXxxxs(props), (_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.info) === null || _a === void 0 ? void 0 : _a.surfacePrimary, corners === null || corners === void 0 ? void 0 : corners.l, (_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.info) === null || _b === void 0 ? void 0 : _b.text, (_c = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.info) === null || _c === void 0 ? void 0 : _c.ornament);
|
|
7199
7203
|
};
|
|
7200
7204
|
var doNotForwardProps$7 = ["sdsStyle"];
|
|
7201
|
-
var StyledLoadingIndicator =
|
|
7205
|
+
var StyledLoadingIndicator = styled__default.default("div", {
|
|
7202
7206
|
shouldForwardProp: function (prop) { return !doNotForwardProps$7.includes(prop); },
|
|
7203
7207
|
})(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
7204
7208
|
var sdsStyle = props.sdsStyle;
|
|
@@ -7213,7 +7217,7 @@ var LoadingIndicator = function (_a) {
|
|
|
7213
7217
|
return (jsxRuntime.jsxs(StyledLoadingIndicator, { sdsStyle: sdsStyle, "aria-label": "Loading", children: [jsxRuntime.jsx(Icon, { sdsIcon: "Loading", sdsSize: "l", sdsType: "static" }), jsxRuntime.jsx(StyledText, { "aria-label": ariaLabel, "aria-live": "polite", role: "status", children: "Loading" })] }));
|
|
7214
7218
|
};
|
|
7215
7219
|
|
|
7216
|
-
var StyledMenu =
|
|
7220
|
+
var StyledMenu = styled__default.default(material.Menu)(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n & {\n .", " {\n ", "\n }\n\n .MuiList-padding {\n padding: 0;\n }\n }\n"], ["\n & {\n .", " {\n ", "\n }\n\n .MuiList-padding {\n padding: 0;\n }\n }\n"])), material.menuClasses.paper, function (props) {
|
|
7217
7221
|
var _a;
|
|
7218
7222
|
var spaces = getSpaces(props);
|
|
7219
7223
|
var semanticColors = getSemanticColors(props);
|
|
@@ -7236,17 +7240,17 @@ var Menu = function (props) {
|
|
|
7236
7240
|
return (jsxRuntime.jsx(StyledMenu, __assign({ anchorOrigin: ANCHOR_ORIGIN, transformOrigin: TRANSFORM_ORIGIN }, props)));
|
|
7237
7241
|
};
|
|
7238
7242
|
|
|
7239
|
-
var StyledMenuItem =
|
|
7243
|
+
var StyledMenuItem = styled__default.default(MenuItem)(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
|
|
7240
7244
|
var doNotForwardProps$6 = ["search", "InputBaseProps", "keepSearchOnSelect"];
|
|
7241
7245
|
// (thuang): Casting the type to `Autocomplete`
|
|
7242
7246
|
// per https://github.com/mui-org/material-ui/issues/21727#issuecomment-880263271
|
|
7243
|
-
var StyledAutocomplete =
|
|
7247
|
+
var StyledAutocomplete = styled__default.default(material.Autocomplete, {
|
|
7244
7248
|
shouldForwardProp: function (prop) { return !doNotForwardProps$6.includes(prop); },
|
|
7245
7249
|
})(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n ", "\n width: 100%;\n"], ["\n ", "\n width: 100%;\n"])), function (_a) {
|
|
7246
7250
|
var search = _a.search;
|
|
7247
7251
|
return !search && "height: 0; margin: 0 !important;";
|
|
7248
7252
|
});
|
|
7249
|
-
var InputBaseWrapper =
|
|
7253
|
+
var InputBaseWrapper = styled__default.default("div", {
|
|
7250
7254
|
shouldForwardProp: function (prop) { return !doNotForwardProps$6.includes(prop); },
|
|
7251
7255
|
})(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
7252
7256
|
var search = props.search;
|
|
@@ -7259,7 +7263,7 @@ var InputBaseWrapper = styled("div", {
|
|
|
7259
7263
|
var spaces = getSpaces(props);
|
|
7260
7264
|
return "\n margin: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.s, "px;\n ");
|
|
7261
7265
|
});
|
|
7262
|
-
var StyledMenuInputSearch =
|
|
7266
|
+
var StyledMenuInputSearch = styled__default.default(InputSearch, {
|
|
7263
7267
|
shouldForwardProp: function (prop) { return !doNotForwardProps$6.includes(prop); },
|
|
7264
7268
|
})(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n && {\n margin: 0;\n\n .", " {\n width: 100%;\n padding: 0;\n padding-right: 14px !important;\n }\n\n /* (thuang): Works with attribute inputMode: \"none\" to hide mobile keyboard */\n caret-color: ", ";\n }\n"], ["\n && {\n margin: 0;\n\n .", " {\n width: 100%;\n padding: 0;\n padding-right: 14px !important;\n }\n\n /* (thuang): Works with attribute inputMode: \"none\" to hide mobile keyboard */\n caret-color: ", ";\n }\n"])), material.inputBaseClasses.root, function (_a) {
|
|
7265
7269
|
var search = _a.search;
|
|
@@ -7370,7 +7374,7 @@ var useScrollStopListener = function (callback, timeout) {
|
|
|
7370
7374
|
};
|
|
7371
7375
|
|
|
7372
7376
|
var doNotForwardProps$5 = ["items", "sdsIndicatorColor"];
|
|
7373
|
-
var StyledTabs$1 =
|
|
7377
|
+
var StyledTabs$1 = styled__default.default(material.Tabs, {
|
|
7374
7378
|
shouldForwardProp: function (prop) { return !doNotForwardProps$5.includes(prop); },
|
|
7375
7379
|
})(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
7376
7380
|
var _a, _b;
|
|
@@ -7378,7 +7382,7 @@ var StyledTabs$1 = styled(material.Tabs, {
|
|
|
7378
7382
|
var semanticColors = getSemanticColors(props);
|
|
7379
7383
|
return "\n &:before {\n background-color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.divider, ";\n border-radius: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxxs, "px;\n content: \"\";\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxxs, "px;\n }\n\n max-width: 180px;\n top: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xl, "px;\n margin-bottom: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;\n margin-right: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n position: sticky;\n overflow: visible;\n\n .").concat(material.tabsClasses.indicator, " {\n background-color: ").concat((_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.accent) === null || _b === void 0 ? void 0 : _b.borderSelected, " !important;\n border-radius: 2px;\n left: 0;\n width: 2px;\n }\n\n .").concat(material.tabsClasses.scroller, " {\n overflow: visible !important;\n }\n ");
|
|
7380
7384
|
});
|
|
7381
|
-
var StyledTab$1 =
|
|
7385
|
+
var StyledTab$1 = styled__default.default(material.Tab, {
|
|
7382
7386
|
shouldForwardProp: function (prop) { return !doNotForwardProps$5.includes(prop); },
|
|
7383
7387
|
})(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyXs$2, function (props) {
|
|
7384
7388
|
var _a, _b, _c, _d;
|
|
@@ -7532,7 +7536,7 @@ var NavigationJumpTo = React.forwardRef(function (props, ref) {
|
|
|
7532
7536
|
|
|
7533
7537
|
var fontBodyXs = fontBody("xs");
|
|
7534
7538
|
var doNotForwardProps$4 = ["slideDirection"];
|
|
7535
|
-
var StyledNotification =
|
|
7539
|
+
var StyledNotification = styled__default.default(material.Alert, {
|
|
7536
7540
|
shouldForwardProp: function (prop) { return !doNotForwardProps$4.includes(prop); },
|
|
7537
7541
|
})(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodyXs, function (props) {
|
|
7538
7542
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
@@ -7554,7 +7558,7 @@ var StyledNotification = styled(material.Alert, {
|
|
|
7554
7558
|
2);
|
|
7555
7559
|
return "\n background-color: ".concat(backgroundColor, ";\n max-width: 480px;\n min-width: 280px;\n box-sizing: border-box;\n margin: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px 0;\n border-radius: ").concat(corners === null || corners === void 0 ? void 0 : corners.m, "px;\n color: ").concat((_l = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _l === void 0 ? void 0 : _l.textPrimary, ";\n padding: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;\n align-items: flex-start;\n border-left: ").concat((_m = borders === null || borders === void 0 ? void 0 : borders[intent]) === null || _m === void 0 ? void 0 : _m.extraThick, ";\n box-shadow: ").concat(shadows === null || shadows === void 0 ? void 0 : shadows.s, ";\n\n .MuiAlert-icon {\n height: ").concat(iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.l.height, "px;\n width: ").concat(iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.l.width, "px;\n margin-right: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n padding: 0;\n path {\n fill: ").concat(iconColor, ";\n }\n }\n\n .MuiAlert-message {\n padding: ").concat(alertMessagePaddingTop, "px 0px 0px;\n margin-right: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n width: 100%;\n\n > * {\n margin: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px 0px;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n button {\n display: block;\n }\n }\n\n .MuiAlert-action {\n margin-right: 0;\n padding: 0;\n align-items: flex-start;\n margin-top: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;\n\n > button {\n padding: 0;\n }\n }\n }\n ");
|
|
7556
7560
|
});
|
|
7557
|
-
var StyledButtonWrapper =
|
|
7561
|
+
var StyledButtonWrapper = styled__default.default("div")(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
7558
7562
|
var _a = props.buttonPosition, buttonPosition = _a === void 0 ? "right" : _a;
|
|
7559
7563
|
return "\n display: flex;\n justify-content: ".concat(buttonPosition === "left" ? "flex-start" : "flex-end", ";\n ");
|
|
7560
7564
|
});
|
|
@@ -7619,12 +7623,12 @@ var doNotForwardProps$3 = [
|
|
|
7619
7623
|
"pageSize",
|
|
7620
7624
|
"truncateDropdown",
|
|
7621
7625
|
];
|
|
7622
|
-
var StyledPaginationButton =
|
|
7626
|
+
var StyledPaginationButton = styled__default.default(Button)(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
7623
7627
|
var _a, _b, _c;
|
|
7624
7628
|
var semanticColors = getSemanticColors(props);
|
|
7625
7629
|
return "\n width: 32px;\n height: 32px;\n cursor: \"pointer\";\n\n & .MuiSvgIcon-root {\n width: 10px;\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.iconPrimary, "\n }\n\n &:hover {\n background-color: ").concat((_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.fillHover, ";\n\n & .MuiSvgIcon-root {\n color: ").concat((_c = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _c === void 0 ? void 0 : _c.iconPrimaryHover, "\n }\n }\n ");
|
|
7626
7630
|
});
|
|
7627
|
-
var StyledPaginationChevronList =
|
|
7631
|
+
var StyledPaginationChevronList = styled__default.default("li", {
|
|
7628
7632
|
shouldForwardProp: function (prop) { return !doNotForwardProps$3.includes(prop); },
|
|
7629
7633
|
})(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
7630
7634
|
var _a, _b, _c, _d, _e;
|
|
@@ -7633,7 +7637,7 @@ var StyledPaginationChevronList = styled("li", {
|
|
|
7633
7637
|
var semanticColors = getSemanticColors(props);
|
|
7634
7638
|
return "\n width: 32px;\n height: 32px;\n cursor: ".concat(disabled ? "auto" : "pointer", ";\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 32px;\n\n &[data-order=\"first\"] {\n margin-right: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;\n }\n\n &[data-order=\"last\"] {\n margin-left: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;\n }\n\n & .MuiSvgIcon-root {\n color: ").concat(disabled ? (_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.iconDisabled : (_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.iconPrimary, ";\n }\n\n &:hover {\n background-color: ").concat(disabled ? "transparent" : (_c = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _c === void 0 ? void 0 : _c.fillHover, ";\n\n & .MuiSvgIcon-root {\n color: ").concat(disabled ? (_d = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _d === void 0 ? void 0 : _d.iconDisabled : (_e = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _e === void 0 ? void 0 : _e.iconPrimaryHover, "\n }\n }\n\n ").concat(focusVisibleA11yStyle(props), "\n ");
|
|
7635
7639
|
});
|
|
7636
|
-
var StyledPagination =
|
|
7640
|
+
var StyledPagination = styled__default.default("ul", {
|
|
7637
7641
|
shouldForwardProp: function (prop) { return !doNotForwardProps$3.includes(prop); },
|
|
7638
7642
|
})(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n ", "\n display: flex;\n flex-wrap: wrap;\n padding: 0;\n margin: 0;\n & li {\n list-style: none;\n }\n"], ["\n ", "\n display: flex;\n flex-wrap: wrap;\n padding: 0;\n margin: 0;\n & li {\n list-style: none;\n }\n"])), fontBodyS$1);
|
|
7639
7643
|
var selectedPageStyle = function (props) {
|
|
@@ -7641,7 +7645,7 @@ var selectedPageStyle = function (props) {
|
|
|
7641
7645
|
var semanticColors = getSemanticColors(props);
|
|
7642
7646
|
return "\n background-color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.fillSelected, ";\n color: ").concat((_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.textPrimaryInverse, ";\n\n &:hover {\n background-color: ").concat((_c = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _c === void 0 ? void 0 : _c.fillSelected, ";\n color: ").concat((_d = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _d === void 0 ? void 0 : _d.textPrimaryInverse, ";\n }\n ");
|
|
7643
7647
|
};
|
|
7644
|
-
var Page =
|
|
7648
|
+
var Page = styled__default.default("li", {
|
|
7645
7649
|
shouldForwardProp: function (prop) { return !doNotForwardProps$3.includes(prop); },
|
|
7646
7650
|
})(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), fontBodySemiboldS, function (props) {
|
|
7647
7651
|
var _a, _b, _c;
|
|
@@ -7653,7 +7657,7 @@ var Page = styled("li", {
|
|
|
7653
7657
|
});
|
|
7654
7658
|
var templateObject_1$d, templateObject_2$5, templateObject_3$3, templateObject_4$2;
|
|
7655
7659
|
|
|
7656
|
-
var StyledPaginationDropdownMenu =
|
|
7660
|
+
var StyledPaginationDropdownMenu = styled__default.default(Menu)(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n & .MuiPaper-root {\n max-height: 120px;\n }\n"], ["\n & .MuiPaper-root {\n max-height: 120px;\n }\n"])));
|
|
7657
7661
|
var templateObject_1$c;
|
|
7658
7662
|
|
|
7659
7663
|
var PageListDropdown = function (props) {
|
|
@@ -7797,7 +7801,7 @@ var overlayPanelStyles = function (props) {
|
|
|
7797
7801
|
var shadows = getShadows(props);
|
|
7798
7802
|
return react.css(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n /**\n * (masoudmanson): This prevents the Panel from taking up the full width of the screen,\n * allowing the ToggleButton to be clicked to close the Panel. Due to an issue with\n * MUI v5, the following styles cause the Panel to generate accessibility (a11y) errors.\n * In the meantime, we are ignoring the a11y errors within Storybook.\n */\n width: fit-content;\n height: fit-content;\n div[data-testid=\"sentinelStart\"],\n div[data-testid=\"sentinelEnd\"] {\n width: fit-content;\n }\n\n .", " {\n background-color: ", ";\n padding: ", "px;\n min-width: ", "px;\n min-height: ", "px;\n box-shadow: ", ";\n background-image: none;\n }\n "], ["\n /**\n * (masoudmanson): This prevents the Panel from taking up the full width of the screen,\n * allowing the ToggleButton to be clicked to close the Panel. Due to an issue with\n * MUI v5, the following styles cause the Panel to generate accessibility (a11y) errors.\n * In the meantime, we are ignoring the a11y errors within Storybook.\n */\n width: fit-content;\n height: fit-content;\n div[data-testid=\"sentinelStart\"],\n div[data-testid=\"sentinelEnd\"] {\n width: fit-content;\n }\n\n .", " {\n background-color: ", ";\n padding: ", "px;\n min-width: ", "px;\n min-height: ", "px;\n box-shadow: ", ";\n background-image: none;\n }\n "])), material.drawerClasses.paper, (_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.surfacePrimary, spaces === null || spaces === void 0 ? void 0 : spaces.xl, PANEL_OVERLAY_MIN_WIDTH_PX, PANEL_OVERLAY_MIN_WIDTH_PX, shadows === null || shadows === void 0 ? void 0 : shadows.l);
|
|
7799
7803
|
};
|
|
7800
|
-
var StyledDrawer =
|
|
7804
|
+
var StyledDrawer = styled__default.default(material.Drawer, {
|
|
7801
7805
|
shouldForwardProp: function (prop) { return !doNotForwardProps$2.includes(prop); },
|
|
7802
7806
|
})(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
7803
7807
|
var _a = props.sdsType, sdsType = _a === void 0 ? "basic" : _a, _b = props.anchor, anchor = _b === void 0 ? "left" : _b, width = props.width;
|
|
@@ -7806,13 +7810,13 @@ var StyledDrawer = styled(material.Drawer, {
|
|
|
7806
7810
|
var panelHeight = anchor !== "bottom" ? "100%" : widthString;
|
|
7807
7811
|
return react.css(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject(["\n .", " {\n height: ", ";\n width: ", ";\n }\n\n ", "\n ", "\n "], ["\n .", " {\n height: ", ";\n width: ", ";\n }\n\n ", "\n ", "\n "])), material.drawerClasses.paper, panelHeight, panelWidth, sdsType === "basic" && basicPanelStyles(props), sdsType === "overlay" && overlayPanelStyles(props));
|
|
7808
7812
|
});
|
|
7809
|
-
var StyledHeaderComponent =
|
|
7813
|
+
var StyledHeaderComponent = styled__default.default("div")(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
7810
7814
|
var spaces = getSpaces(props);
|
|
7811
7815
|
return react.css(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n margin-bottom: ", "px;\n display: flex;\n justify-content: space-between;\n align-items: start;\n "], ["\n margin-bottom: ", "px;\n display: flex;\n justify-content: space-between;\n align-items: start;\n "])), spaces === null || spaces === void 0 ? void 0 : spaces.xxl);
|
|
7812
7816
|
});
|
|
7813
7817
|
var templateObject_1$b, templateObject_2$4, templateObject_3$2, templateObject_4$1, templateObject_5$1, templateObject_6;
|
|
7814
7818
|
|
|
7815
|
-
var StyledPanelHeader =
|
|
7819
|
+
var StyledPanelHeader = styled__default.default("div")(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
7816
7820
|
var spaces = getSpaces(props);
|
|
7817
7821
|
return "\n width: 100%;\n height: 100%;\n margin-right: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.l, "px;\n ");
|
|
7818
7822
|
});
|
|
@@ -7823,7 +7827,7 @@ var PanelHeader = function (props) {
|
|
|
7823
7827
|
return jsxRuntime.jsx(StyledPanelHeader, { children: children });
|
|
7824
7828
|
};
|
|
7825
7829
|
|
|
7826
|
-
var StyledPanelHeaderClose =
|
|
7830
|
+
var StyledPanelHeaderClose = styled__default.default("div")(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n display: flex;\n justify-content: end;\n align-items: center;\n"], ["\n display: flex;\n justify-content: end;\n align-items: center;\n"])));
|
|
7827
7831
|
var templateObject_1$9;
|
|
7828
7832
|
|
|
7829
7833
|
var PanelHeaderClose = function (props) {
|
|
@@ -7840,7 +7844,7 @@ var PANEL_OVERLAY_MIN_WIDTH_PX = 320;
|
|
|
7840
7844
|
/**
|
|
7841
7845
|
* @see https://mui.com/material-ui/react-drawer/
|
|
7842
7846
|
*/
|
|
7843
|
-
var Panel =
|
|
7847
|
+
var Panel = React__namespace.default.forwardRef(function (props, ref) {
|
|
7844
7848
|
var children = props.children, _a = props.sdsType, sdsType = _a === void 0 ? "basic" : _a, _b = props.position, position = _b === void 0 ? "left" : _b, width = props.width, ModalProps = props.ModalProps;
|
|
7845
7849
|
var drawerWidth = width !== null && width !== void 0 ? width : (sdsType === "basic"
|
|
7846
7850
|
? PANEL_BASIC_MIN_WIDTH_PX
|
|
@@ -7878,7 +7882,7 @@ var Panel = React.forwardRef(function (props, ref) {
|
|
|
7878
7882
|
});
|
|
7879
7883
|
|
|
7880
7884
|
var doNotForwardProps$1 = ["buttonDefinition"];
|
|
7881
|
-
var StyledSegmentedControl =
|
|
7885
|
+
var StyledSegmentedControl = styled__default.default(material.ToggleButtonGroup, {
|
|
7882
7886
|
shouldForwardProp: function (prop) { return !doNotForwardProps$1.includes(prop); },
|
|
7883
7887
|
})(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
7884
7888
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
@@ -7895,18 +7899,16 @@ var SegmentedControl = function (props) {
|
|
|
7895
7899
|
var _a;
|
|
7896
7900
|
var buttonDefinition = props.buttonDefinition, valueProp = props.value, onChangeProp = props.onChange, restProps = __rest(props, ["buttonDefinition", "value", "onChange"]);
|
|
7897
7901
|
var initialValue = ((_a = buttonDefinition.find(function (button) { return !button.disabled; })) === null || _a === void 0 ? void 0 : _a.value) || null;
|
|
7898
|
-
var _b =
|
|
7902
|
+
var _b = React__namespace.default.useState(initialValue), active = _b[0], setActive = _b[1];
|
|
7899
7903
|
// (masoudmanson): Add Controlled/Uncontrolled Component pattern
|
|
7900
7904
|
var isControlled = valueProp !== undefined;
|
|
7901
7905
|
var value = isControlled ? valueProp : active;
|
|
7902
7906
|
var handleActive = function (event, newActive) {
|
|
7903
|
-
if (
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
|
|
7908
|
-
onChangeProp(event, newActive);
|
|
7909
|
-
}
|
|
7907
|
+
if (!isControlled) {
|
|
7908
|
+
setActive(newActive);
|
|
7909
|
+
}
|
|
7910
|
+
if (onChangeProp) {
|
|
7911
|
+
onChangeProp(event, newActive);
|
|
7910
7912
|
}
|
|
7911
7913
|
};
|
|
7912
7914
|
return (jsxRuntime.jsxs(StyledSegmentedControl, __assign({ "aria-label": "Segmented Control", size: "small", value: value, exclusive: true, onChange: handleActive }, restProps, { children: [buttonDefinition.map(function (button) {
|
|
@@ -7918,7 +7920,7 @@ var SegmentedControl = function (props) {
|
|
|
7918
7920
|
}), ";"] })));
|
|
7919
7921
|
};
|
|
7920
7922
|
|
|
7921
|
-
var StyledTable =
|
|
7923
|
+
var StyledTable = styled__default.default("table")(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n width: 100%;\n border-collapse: collapse;\n border-spacing: 0;\n table-layout: fixed;\n"], ["\n width: 100%;\n border-collapse: collapse;\n border-spacing: 0;\n table-layout: fixed;\n"])));
|
|
7922
7924
|
var templateObject_1$7;
|
|
7923
7925
|
|
|
7924
7926
|
var Table = React.forwardRef(function (props, ref) {
|
|
@@ -7946,7 +7948,7 @@ var hoverStyled = function (props) {
|
|
|
7946
7948
|
var semanticColors = getSemanticColors(props);
|
|
7947
7949
|
return "\n &:hover {\n background-color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.fillHover, ";\n }\n ");
|
|
7948
7950
|
};
|
|
7949
|
-
var StyledTableRow =
|
|
7951
|
+
var StyledTableRow = styled__default.default("tr", {
|
|
7950
7952
|
shouldForwardProp: function (prop) { return !doNotForwardProps.includes(prop); },
|
|
7951
7953
|
})(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n ", "\n ", "\n\n ", "\n"], ["\n ", "\n ", "\n\n ", "\n"])), fontHeaderS, focusVisibleA11yStyle, function (props) {
|
|
7952
7954
|
var _a, _b;
|
|
@@ -7965,7 +7967,7 @@ var TableRow = React.forwardRef(function (props, ref) {
|
|
|
7965
7967
|
return (jsxRuntime.jsx(StyledTableRow, __assign({ ref: ref }, props, { children: children })));
|
|
7966
7968
|
});
|
|
7967
7969
|
|
|
7968
|
-
var StyledTableHeader =
|
|
7970
|
+
var StyledTableHeader = styled__default.default("thead")(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
7969
7971
|
var _a;
|
|
7970
7972
|
var semanticColors = getSemanticColors(props);
|
|
7971
7973
|
return "\n border-bottom: solid 2px ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.borderTable, ";\n ");
|
|
@@ -7979,13 +7981,13 @@ var TableHeader = React.forwardRef(function (props, ref) {
|
|
|
7979
7981
|
|
|
7980
7982
|
var TabsContext = React.createContext({ sdsSize: "large" });
|
|
7981
7983
|
|
|
7982
|
-
var Wrapper =
|
|
7984
|
+
var Wrapper = styled__default.default("span")(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
7983
7985
|
var _a, _b;
|
|
7984
7986
|
var semanticColors = getSemanticColors(props);
|
|
7985
7987
|
return "\n &:active {\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textPrimary, ";\n }\n\n &:disabled {\n color: ").concat((_b = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _b === void 0 ? void 0 : _b.textDisabled, ";\n }\n ");
|
|
7986
7988
|
});
|
|
7987
7989
|
var LABEL_DO_NOT_FORWARD_PROPS = ["sdsSize"];
|
|
7988
|
-
var Label =
|
|
7990
|
+
var Label = styled__default.default("span", {
|
|
7989
7991
|
shouldForwardProp: function (prop) {
|
|
7990
7992
|
return !LABEL_DO_NOT_FORWARD_PROPS.includes(String(prop));
|
|
7991
7993
|
},
|
|
@@ -8000,7 +8002,7 @@ var Label = styled("span", {
|
|
|
8000
8002
|
return "\n margin-right: ".concat(isLarge ? spaces === null || spaces === void 0 ? void 0 : spaces.l : spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n ");
|
|
8001
8003
|
});
|
|
8002
8004
|
var COUNT_DO_NOT_FORWARD_PROPS = ["sdsSize"];
|
|
8003
|
-
var Count =
|
|
8005
|
+
var Count = styled__default.default("span", {
|
|
8004
8006
|
shouldForwardProp: function (prop) {
|
|
8005
8007
|
return !COUNT_DO_NOT_FORWARD_PROPS.includes(String(prop));
|
|
8006
8008
|
},
|
|
@@ -8024,7 +8026,7 @@ var LabelWithCount = React.forwardRef(function LabelWithCount(props, ref) {
|
|
|
8024
8026
|
|
|
8025
8027
|
var TempTabs = function (props) { return jsxRuntime.jsx(material.Tabs, __assign({}, props)); };
|
|
8026
8028
|
var TABS_DO_NOT_FORWARD_PROPS = ["underlined", "sdsSize"];
|
|
8027
|
-
var StyledTabs =
|
|
8029
|
+
var StyledTabs = styled__default.default(TempTabs, {
|
|
8028
8030
|
shouldForwardProp: function (prop) {
|
|
8029
8031
|
return !TABS_DO_NOT_FORWARD_PROPS.includes(String(prop));
|
|
8030
8032
|
},
|
|
@@ -8037,7 +8039,7 @@ var StyledTabs = styled(TempTabs, {
|
|
|
8037
8039
|
return "\n margin-top: ".concat(isLarge ? spaces === null || spaces === void 0 ? void 0 : spaces.l : spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n margin-bottom: ").concat(isLarge ? spaces === null || spaces === void 0 ? void 0 : spaces.xl : spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n border-bottom: ").concat(underlined ? "2px solid ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.divider, ";") : "none", ";\n ");
|
|
8038
8040
|
});
|
|
8039
8041
|
var TAB_DO_NOT_FORWARD_PROPS = ["sdsSize"];
|
|
8040
|
-
var StyledTab =
|
|
8042
|
+
var StyledTab = styled__default.default(material.Tab, {
|
|
8041
8043
|
shouldForwardProp: function (prop) { return !TAB_DO_NOT_FORWARD_PROPS.includes(String(prop)); },
|
|
8042
8044
|
})(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n min-height: unset;\n padding: 0;\n min-width: 32px;\n opacity: 1 !important;\n\n ", "\n ", "\n\n ", "\n"], ["\n min-height: unset;\n padding: 0;\n min-width: 32px;\n opacity: 1 !important;\n\n ", "\n ", "\n\n ", "\n"])), tabFontMixin, focusVisibleA11yStyle, function (props) {
|
|
8043
8045
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
@@ -8060,7 +8062,7 @@ var TabIndicator = function (theme) {
|
|
|
8060
8062
|
var Tabs = React.forwardRef(function Tabs(props, ref) {
|
|
8061
8063
|
var _a = props.sdsSize, sdsSize = _a === void 0 ? "large" : _a, rest = __rest(props, ["sdsSize"]);
|
|
8062
8064
|
var theme = material.useTheme();
|
|
8063
|
-
var contextValue =
|
|
8065
|
+
var contextValue = React__namespace.default.useMemo(function () { return ({ sdsSize: sdsSize }); }, [sdsSize]);
|
|
8064
8066
|
var indicatorProps = React.useMemo(function () {
|
|
8065
8067
|
return { className: TabIndicator(theme) };
|
|
8066
8068
|
}, [theme]);
|
|
@@ -8134,13 +8136,13 @@ var disabledStyle = function (props) {
|
|
|
8134
8136
|
return "";
|
|
8135
8137
|
return "\n color: ".concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textDisabled, ";\n ");
|
|
8136
8138
|
};
|
|
8137
|
-
var Section =
|
|
8139
|
+
var Section = styled__default.default("div")(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), disabledStyle, function (props) {
|
|
8138
8140
|
var _a;
|
|
8139
8141
|
var spaces = getSpaces(props);
|
|
8140
8142
|
var borders = getBorders(props);
|
|
8141
8143
|
return "\n &:not(:last-child) {\n padding-bottom: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n border-bottom: ").concat((_a = borders === null || borders === void 0 ? void 0 : borders.base) === null || _a === void 0 ? void 0 : _a.divider, ";\n }\n\n &:not(:first-of-type) {\n padding-top: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;\n }\n ");
|
|
8142
8144
|
});
|
|
8143
|
-
var SectionLabel =
|
|
8145
|
+
var SectionLabel = styled__default.default("div")(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n ", "\n\n ", "\n"], ["\n ", "\n ", "\n\n ", "\n"])), fontCapsXxxxs, disabledStyle, function (props) {
|
|
8144
8146
|
var _a;
|
|
8145
8147
|
var spaces = getSpaces(props);
|
|
8146
8148
|
var semanticColors = getSemanticColors(props);
|
|
@@ -8148,7 +8150,7 @@ var SectionLabel = styled("div")(templateObject_2 || (templateObject_2 = __makeT
|
|
|
8148
8150
|
return "";
|
|
8149
8151
|
return "\n margin-bottom: ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.s, "px; \n color: ").concat((_a = semanticColors === null || semanticColors === void 0 ? void 0 : semanticColors.base) === null || _a === void 0 ? void 0 : _a.textSecondary, ";\n ");
|
|
8150
8152
|
});
|
|
8151
|
-
var RowLabel =
|
|
8153
|
+
var RowLabel = styled__default.default(material.TableCell, {
|
|
8152
8154
|
shouldForwardProp: function (prop) {
|
|
8153
8155
|
return !sdsPropNames.includes(prop.toString());
|
|
8154
8156
|
},
|
|
@@ -8156,12 +8158,12 @@ var RowLabel = styled(material.TableCell, {
|
|
|
8156
8158
|
var spaces = getSpaces(props);
|
|
8157
8159
|
return "\n padding: 0 0 ".concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px 0;\n width: 50%;\n border-bottom: none;\n font-weight: 600;\n ");
|
|
8158
8160
|
});
|
|
8159
|
-
var RowValue =
|
|
8161
|
+
var RowValue = styled__default.default(material.TableCell, {
|
|
8160
8162
|
shouldForwardProp: function (prop) {
|
|
8161
8163
|
return !sdsPropNames.includes(prop.toString());
|
|
8162
8164
|
},
|
|
8163
8165
|
})(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n ", "\n\n padding-top: 0;\n padding-bottom: 0;\n padding-right: 0 !important;\n border-bottom: none;\n"], ["\n ", "\n ", "\n\n padding-top: 0;\n padding-bottom: 0;\n padding-right: 0 !important;\n border-bottom: none;\n"])), fontTabularXs, disabledStyle);
|
|
8164
|
-
var Alert =
|
|
8166
|
+
var Alert = styled__default.default("div")(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), fontBodyXxs$1);
|
|
8165
8167
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
|
8166
8168
|
|
|
8167
8169
|
/**
|