@norges-domstoler/dds-components 2.3.0 → 2.3.1
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.es.js +838 -808
- package/dist/index.js +838 -808
- package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +19 -0
- package/dist/src/components/Button/Button.stories.d.ts +56 -0
- package/dist/src/components/Card/Card.stories.d.ts +11 -0
- package/dist/src/components/Card/CardAccordion/CardAccordionBody.d.ts +3 -3
- package/dist/src/components/Checkbox/Checkbox.stories.d.ts +47 -0
- package/dist/src/components/Checkbox/CheckboxGroup.stories.d.ts +46 -0
- package/dist/src/components/Datepicker/Datepicker.d.ts +3 -3
- package/dist/src/components/Datepicker/Datepicker.stories.d.ts +55 -0
- package/dist/src/components/DescriptionList/DescriptionList.stories.d.ts +14 -0
- package/dist/src/components/DescriptionList/DescriptionListGroup.d.ts +3 -3
- package/dist/src/components/Divider/Divider.stories.d.ts +13 -0
- package/dist/src/components/Drawer/Drawer.stories.d.ts +20 -0
- package/dist/src/components/GlobalMessage/GlobalMessage.stories.d.ts +27 -0
- package/dist/src/components/IconWrapper/IconWrapper.d.ts +2 -2
- package/dist/src/components/IconWrapper/IconWrapper.stories.d.ts +22 -0
- package/dist/src/components/InputMessage/InputMessage.stories.d.ts +19 -0
- package/dist/src/components/InternalHeader/InternalHeader.stories.d.ts +40 -0
- package/dist/src/components/List/List.stories.d.ts +14 -0
- package/dist/src/components/LocalMessage/LocalMessage.d.ts +3 -3
- package/dist/src/components/LocalMessage/LocalMessage.stories.d.ts +35 -0
- package/dist/src/components/LocalMessage/LocalMessage.tokens.d.ts +2 -2
- package/dist/src/components/Modal/Modal.stories.d.ts +24 -0
- package/dist/src/components/OverflowMenu/OverflowMenu.stories.d.ts +21 -0
- package/dist/src/components/Pagination/Pagination.stories.d.ts +46 -0
- package/dist/src/components/Popover/Popover.d.ts +7 -7
- package/dist/src/components/Popover/Popover.stories.d.ts +50 -0
- package/dist/src/components/RadioButton/RadioButton.stories.d.ts +40 -0
- package/dist/src/components/RadioButton/RadioButtonGroup.d.ts +4 -4
- package/dist/src/components/RadioButton/RadioButtonGroup.stories.d.ts +47 -0
- package/dist/src/components/RadioButton/index.d.ts +1 -0
- package/dist/src/components/Search/Search.d.ts +3 -3
- package/dist/src/components/Search/Search.stories.d.ts +30 -0
- package/dist/src/components/Select/MultiSelect.stories.d.ts +74 -0
- package/dist/src/components/Select/Select.d.ts +2 -2
- package/dist/src/components/Select/Select.stories.d.ts +73 -0
- package/dist/src/components/Select/Select.tokens.d.ts +2 -2
- package/dist/src/components/SkipToContent/SkipToContent.d.ts +3 -3
- package/dist/src/components/SkipToContent/SkipToContent.stories.d.ts +31 -0
- package/dist/src/components/Spinner/Spinner.d.ts +2 -2
- package/dist/src/components/Spinner/Spinner.stories.d.ts +21 -0
- package/dist/src/components/Table/Table.stories.d.ts +28 -0
- package/dist/src/components/Tabs/Tabs.stories.d.ts +10 -0
- package/dist/src/components/TextInput/TextInput.stories.d.ts +68 -0
- package/dist/src/components/TextInput/TextInput.styles.d.ts +2 -2
- package/dist/src/components/TextInput/TextInput.tokens.d.ts +2 -2
- package/dist/src/components/TextInput/TextInput.types.d.ts +1 -1
- package/dist/src/components/ToggleButton/ToggelButtonGroup.stories.d.ts +9 -0
- package/dist/src/components/ToggleButton/ToggleButton.stories.d.ts +12 -0
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +29 -0
- package/dist/src/components/Typography/Body.stories.d.ts +11 -0
- package/dist/src/components/Typography/Examples.stories.d.ts +8 -0
- package/dist/src/components/Typography/Typography.stories.d.ts +58 -0
- package/dist/src/helpers/Chevron/AnimatedChevronUpDown.d.ts +3 -3
- package/dist/src/helpers/Input/Input.types.d.ts +2 -2
- package/dist/src/helpers/Input/index.d.ts +1 -0
- package/dist/src/helpers/RequiredMarker/RequiredMarker.d.ts +2 -0
- package/dist/src/helpers/RequiredMarker/index.d.ts +1 -0
- package/dist/src/helpers/index.d.ts +5 -0
- package/dist/src/helpers/styling/index.d.ts +1 -0
- package/dist/src/helpers/styling/scrollbarStyling.d.ts +1 -0
- package/dist/src/hooks/index.d.ts +1 -0
- package/dist/src/hooks/useScreenSize.d.ts +8 -0
- package/dist/src/{helpers → utils}/color.d.ts +0 -0
- package/dist/src/utils/index.d.ts +2 -0
- package/dist/src/{helpers/functions.d.ts → utils/text.d.ts} +0 -0
- package/package.json +1 -1
- package/dist/src/helpers/RequiredMarker.d.ts +0 -3
- package/dist/src/helpers/scrollbarStyling.d.ts +0 -2
package/dist/index.es.js
CHANGED
|
@@ -4001,7 +4001,7 @@ var DdsBreakpointLgNumberPx = 1280;
|
|
|
4001
4001
|
var DdsBreakpointXl = "1920px";
|
|
4002
4002
|
var DdsBreakpointXlNumberPx = 1920;
|
|
4003
4003
|
|
|
4004
|
-
var breakpoints = /*#__PURE__*/Object.freeze({
|
|
4004
|
+
var breakpoints$1 = /*#__PURE__*/Object.freeze({
|
|
4005
4005
|
__proto__: null,
|
|
4006
4006
|
DdsBreakpointXs: DdsBreakpointXs,
|
|
4007
4007
|
DdsBreakpointXsNumberPx: DdsBreakpointXsNumberPx,
|
|
@@ -12158,7 +12158,7 @@ var fontPackages = {
|
|
|
12158
12158
|
var ddsBaseTokens = {
|
|
12159
12159
|
colors: colors$1,
|
|
12160
12160
|
font: font,
|
|
12161
|
-
breakpoints: breakpoints,
|
|
12161
|
+
breakpoints: breakpoints$1,
|
|
12162
12162
|
border: border$1,
|
|
12163
12163
|
borderRadius: borderRadius$2,
|
|
12164
12164
|
spacing: spacing$2,
|
|
@@ -12303,6 +12303,9 @@ var hideInput = {
|
|
|
12303
12303
|
margin: 0
|
|
12304
12304
|
};
|
|
12305
12305
|
|
|
12306
|
+
var scrollbarStyling = Ae(templateObject_1$Y || (templateObject_1$Y = __makeTemplateObject(["\n /* width */\n &::-webkit-scrollbar {\n width: 10px;\n height: 10px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: transparent;\n border-radius: 100px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 100px;\n }\n\n /* Handle on hover */\n &::-webkit-scrollbar-thumb:hover {\n background: ", ";\n }\n\n /* Firefox */\n scrollbar-color: ", "\n transparent;\n scrollbar-width: thin;\n"], ["\n /* width */\n &::-webkit-scrollbar {\n width: 10px;\n height: 10px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: transparent;\n border-radius: 100px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 100px;\n }\n\n /* Handle on hover */\n &::-webkit-scrollbar-thumb:hover {\n background: ", ";\n }\n\n /* Firefox */\n scrollbar-color: ", "\n transparent;\n scrollbar-width: thin;\n"])), ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.35)', ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.5)', ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.35)');
|
|
12307
|
+
var templateObject_1$Y;
|
|
12308
|
+
|
|
12306
12309
|
var Colors$p = ddsBaseTokens.colors,
|
|
12307
12310
|
FontPackages$k = ddsBaseTokens.fontPackages,
|
|
12308
12311
|
Spacing$z = ddsBaseTokens.spacing;
|
|
@@ -20174,7 +20177,7 @@ var getTextColor = function getTextColor(color) {
|
|
|
20174
20177
|
};
|
|
20175
20178
|
|
|
20176
20179
|
var getElementStyling = function getElementStyling(type) {
|
|
20177
|
-
return Ae(templateObject_1$
|
|
20180
|
+
return Ae(templateObject_1$X || (templateObject_1$X = __makeTemplateObject(["\n ", "\n &::selection, *::selection {\n ", "\n }\n "], ["\n ", "\n &::selection, *::selection {\n ", "\n }\n "])), typographyTokens.typographyType[type].base, typographyTokens.selection.base);
|
|
20178
20181
|
};
|
|
20179
20182
|
|
|
20180
20183
|
var LinkIconWrapper = styled$3(IconWrapper$1).withConfig({
|
|
@@ -20200,7 +20203,7 @@ var StyledTypography = styled$3.p.withConfig({
|
|
|
20200
20203
|
}, function (_a) {
|
|
20201
20204
|
var withMargins = _a.withMargins,
|
|
20202
20205
|
typographyType = _a.typographyType;
|
|
20203
|
-
return withMargins && typographyType ? Ae(templateObject_7$b || (templateObject_7$b = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.typographyType[typographyType].margins.base) : Ae(templateObject_8$
|
|
20206
|
+
return withMargins && typographyType ? Ae(templateObject_7$b || (templateObject_7$b = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.typographyType[typographyType].margins.base) : Ae(templateObject_8$9 || (templateObject_8$9 = __makeTemplateObject(["\n margin: 0;\n "], ["\n margin: 0;\n "])));
|
|
20204
20207
|
}, function (_a) {
|
|
20205
20208
|
var color = _a.color;
|
|
20206
20209
|
return color && Ae(templateObject_9$7 || (templateObject_9$7 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), getTextColor(color));
|
|
@@ -20241,7 +20244,7 @@ var Typography = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
20241
20244
|
}) : '']
|
|
20242
20245
|
}));
|
|
20243
20246
|
});
|
|
20244
|
-
var templateObject_1$
|
|
20247
|
+
var templateObject_1$X, templateObject_2$H, templateObject_3$u, templateObject_4$p, templateObject_5$g, templateObject_6$f, templateObject_7$b, templateObject_8$9, templateObject_9$7, templateObject_10$7, templateObject_11$5, templateObject_12$3, templateObject_13$2;
|
|
20245
20248
|
|
|
20246
20249
|
var RadioButtonGroupContext = /*#__PURE__*/React__default.createContext(null);
|
|
20247
20250
|
var useRadioButtonGroup = function useRadioButtonGroup() {
|
|
@@ -20349,7 +20352,7 @@ var radioButtonTokens = {
|
|
|
20349
20352
|
var CustomRadioButton = styled$3.span.withConfig({
|
|
20350
20353
|
displayName: "RadioButtonstyles__CustomRadioButton",
|
|
20351
20354
|
componentId: "sc-iwypha-0"
|
|
20352
|
-
})(templateObject_1$
|
|
20355
|
+
})(templateObject_1$W || (templateObject_1$W = __makeTemplateObject(["\n position: absolute;\n box-sizing: border-box;\n border-radius: 50%;\n vertical-align: middle;\n ", "\n left: ", ";\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"], ["\n position: absolute;\n box-sizing: border-box;\n border-radius: 50%;\n vertical-align: middle;\n ", "\n left: ", ";\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"])), radioButtonTokens.radioButton.base, radioButtonTokens.radioButton.spaceLeft);
|
|
20353
20356
|
var Input$6 = styled$3.input.attrs(function (_a) {
|
|
20354
20357
|
var _b = _a.type,
|
|
20355
20358
|
type = _b === void 0 ? 'radio' : _b;
|
|
@@ -20359,7 +20362,7 @@ var Input$6 = styled$3.input.attrs(function (_a) {
|
|
|
20359
20362
|
}).withConfig({
|
|
20360
20363
|
displayName: "RadioButtonstyles__Input",
|
|
20361
20364
|
componentId: "sc-iwypha-1"
|
|
20362
|
-
})(templateObject_2$G || (templateObject_2$G = __makeTemplateObject(["\n
|
|
20365
|
+
})(templateObject_2$G || (templateObject_2$G = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), hideInput);
|
|
20363
20366
|
var Container$i = styled$3.label.withConfig({
|
|
20364
20367
|
displayName: "RadioButtonstyles__Container",
|
|
20365
20368
|
componentId: "sc-iwypha-2"
|
|
@@ -20373,7 +20376,7 @@ var Container$i = styled$3.label.withConfig({
|
|
|
20373
20376
|
var readOnly = _a.readOnly;
|
|
20374
20377
|
return readOnly && Ae(templateObject_5$f || (templateObject_5$f = __makeTemplateObject(["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "], ["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "])), CustomRadioButton, radioButtonTokens.radioButton.readOnly.base, CustomRadioButton, radioButtonTokens.radioButton.checked.readOnly.base);
|
|
20375
20378
|
}, CustomRadioButton, radioButtonTokens.checkmark.base);
|
|
20376
|
-
var templateObject_1$
|
|
20379
|
+
var templateObject_1$W, templateObject_2$G, templateObject_3$t, templateObject_4$o, templateObject_5$f, templateObject_6$e;
|
|
20377
20380
|
|
|
20378
20381
|
var nextUniqueId$h = 0;
|
|
20379
20382
|
|
|
@@ -20450,17 +20453,267 @@ var RadioButton = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
20450
20453
|
}));
|
|
20451
20454
|
});
|
|
20452
20455
|
|
|
20456
|
+
var changeRGBAAlpha = function changeRGBAAlpha(value, alpha) {
|
|
20457
|
+
if (value.slice(0, 5) !== 'rgba(' || value.slice(-1) !== ')') {
|
|
20458
|
+
return '';
|
|
20459
|
+
}
|
|
20460
|
+
|
|
20461
|
+
return value.replace(/[\d\.]+\)$/g, alpha.toString() + ')');
|
|
20462
|
+
};
|
|
20463
|
+
|
|
20464
|
+
var Backdrop = styled$3.div.withConfig({
|
|
20465
|
+
displayName: "Backdrop",
|
|
20466
|
+
componentId: "sc-vimg90-0"
|
|
20467
|
+
})(templateObject_1$V || (templateObject_1$V = __makeTemplateObject(["\n position: fixed;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n overflow-y: auto;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 50;\n opacity: ", ";\n transition: opacity 0.2s;\n"], ["\n position: fixed;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n overflow-y: auto;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 50;\n opacity: ", ";\n transition: opacity 0.2s;\n"])), changeRGBAAlpha(ddsBaseTokens.colors.DdsColorNeutralsGray9, 0.5), function (_a) {
|
|
20468
|
+
var isOpen = _a.isOpen;
|
|
20469
|
+
return isOpen ? 1 : 0;
|
|
20470
|
+
});
|
|
20471
|
+
var templateObject_1$V;
|
|
20472
|
+
|
|
20473
|
+
var isVerticalScrollbarDisplayed = function isVerticalScrollbarDisplayed(container) {
|
|
20474
|
+
return container.clientHeight > window.innerHeight;
|
|
20475
|
+
};
|
|
20476
|
+
|
|
20477
|
+
function handleElementWithBackdropMount(container) {
|
|
20478
|
+
if (isVerticalScrollbarDisplayed(container)) {
|
|
20479
|
+
container.style.position = 'fixed';
|
|
20480
|
+
container.style.overflowY = 'scroll';
|
|
20481
|
+
}
|
|
20482
|
+
}
|
|
20483
|
+
function handleElementWithBackdropUnmount(container) {
|
|
20484
|
+
container.style.removeProperty('position');
|
|
20485
|
+
container.style.removeProperty('overflow-y');
|
|
20486
|
+
}
|
|
20487
|
+
|
|
20488
|
+
var SvgChevron = styled$3.svg.withConfig({
|
|
20489
|
+
displayName: "AnimatedChevronUpDownstyles__SvgChevron",
|
|
20490
|
+
componentId: "sc-yey4nu-0"
|
|
20491
|
+
})(templateObject_1$U || (templateObject_1$U = __makeTemplateObject(["\n display: inline-block;\n flex-shrink: 0;\n position: relative;\n text-align: center;\n vertical-align: middle;\n"], ["\n display: inline-block;\n flex-shrink: 0;\n position: relative;\n text-align: center;\n vertical-align: middle;\n"])));
|
|
20492
|
+
var SvgChevronlGroup = styled$3.g.withConfig({
|
|
20493
|
+
displayName: "AnimatedChevronUpDownstyles__SvgChevronlGroup",
|
|
20494
|
+
componentId: "sc-yey4nu-1"
|
|
20495
|
+
})(templateObject_2$F || (templateObject_2$F = __makeTemplateObject(["\n transition: transform 0.2s linear;\n transform: ", ";\n"], ["\n transition: transform 0.2s linear;\n transform: ", ";\n"])), function (_a) {
|
|
20496
|
+
var isUp = _a.isUp;
|
|
20497
|
+
return isUp ? 'translateY(3px)' : 'translateY(0)';
|
|
20498
|
+
});
|
|
20499
|
+
var SvgChevronlLeft = styled$3.path.withConfig({
|
|
20500
|
+
displayName: "AnimatedChevronUpDownstyles__SvgChevronlLeft",
|
|
20501
|
+
componentId: "sc-yey4nu-2"
|
|
20502
|
+
})(templateObject_3$s || (templateObject_3$s = __makeTemplateObject(["\n transition: transform 0.2s linear;\n transform-origin: 1px 1px;\n transform: ", ";\n"], ["\n transition: transform 0.2s linear;\n transform-origin: 1px 1px;\n transform: ", ";\n"])), function (_a) {
|
|
20503
|
+
var isUp = _a.isUp;
|
|
20504
|
+
return isUp ? 'rotate(-90deg) translateY(0)' : 'rotate(0) translateY(0)';
|
|
20505
|
+
});
|
|
20506
|
+
var SvgChevronlRight = styled$3.path.withConfig({
|
|
20507
|
+
displayName: "AnimatedChevronUpDownstyles__SvgChevronlRight",
|
|
20508
|
+
componentId: "sc-yey4nu-3"
|
|
20509
|
+
})(templateObject_4$n || (templateObject_4$n = __makeTemplateObject(["\n transition: transform 0.2s linear;\n transform-origin: 7px 1px;\n transform: ", ";\n"], ["\n transition: transform 0.2s linear;\n transform-origin: 7px 1px;\n transform: ", ";\n"])), function (_a) {
|
|
20510
|
+
var isUp = _a.isUp;
|
|
20511
|
+
return isUp ? 'rotate(90deg) translateY(0)' : 'rotate(0) translateY(0)';
|
|
20512
|
+
});
|
|
20513
|
+
var templateObject_1$U, templateObject_2$F, templateObject_3$s, templateObject_4$n;
|
|
20514
|
+
|
|
20515
|
+
var svgChevronLeftPath = 'M 1 0 L 5 4 C 5 4 5 4 5 4 L 4 5 C 4 5 4 5 4 5 C 4 5 4 5 4 5 L 0 1 C 0 1 0 1 0 1 L 1 0 C 1 0 1 0 1 0 C 1 0 1 0 1 0 L 1 0 Z';
|
|
20516
|
+
var svgChevronRightPath = 'M 3 4 L 7 0 L 8 1 C 8 1 8 1 8 1 L 4 5 L 3 4 C 3 4 3 4 3 4 L 3 4 Z';
|
|
20517
|
+
var AnimatedChevronUpDown = function AnimatedChevronUpDown(_a) {
|
|
20518
|
+
var isUp = _a.isUp,
|
|
20519
|
+
_b = _a.height,
|
|
20520
|
+
height = _b === void 0 ? '5px' : _b,
|
|
20521
|
+
_c = _a.width,
|
|
20522
|
+
width = _c === void 0 ? '8px' : _c;
|
|
20523
|
+
return jsxRuntime.exports.jsx(SvgChevron, __assign({
|
|
20524
|
+
viewBox: "0 0 8 5",
|
|
20525
|
+
width: width,
|
|
20526
|
+
height: height,
|
|
20527
|
+
fill: "currentColor",
|
|
20528
|
+
isUp: isUp
|
|
20529
|
+
}, {
|
|
20530
|
+
children: jsxRuntime.exports.jsxs(SvgChevronlGroup, __assign({
|
|
20531
|
+
isUp: isUp
|
|
20532
|
+
}, {
|
|
20533
|
+
children: [jsxRuntime.exports.jsx(SvgChevronlLeft, {
|
|
20534
|
+
d: svgChevronLeftPath,
|
|
20535
|
+
isUp: isUp
|
|
20536
|
+
}), jsxRuntime.exports.jsx(SvgChevronlRight, {
|
|
20537
|
+
d: svgChevronRightPath,
|
|
20538
|
+
isUp: isUp
|
|
20539
|
+
})]
|
|
20540
|
+
}))
|
|
20541
|
+
}));
|
|
20542
|
+
};
|
|
20543
|
+
|
|
20544
|
+
var Colors$n = ddsBaseTokens.colors,
|
|
20545
|
+
Spacing$x = ddsBaseTokens.spacing,
|
|
20546
|
+
FontPackages$i = ddsBaseTokens.fontPackages,
|
|
20547
|
+
Border$f = ddsBaseTokens.border;
|
|
20548
|
+
var TextInput$3 = ddsReferenceTokens.textInput;
|
|
20549
|
+
var inputBase$2 = {
|
|
20550
|
+
border: " ".concat(Border$f.BordersDdsBorderStyleLightStrokeWeight, " solid ").concat(Colors$n.DdsColorNeutralsGray5),
|
|
20551
|
+
backgroundColor: Colors$n.DdsColorNeutralsWhite
|
|
20552
|
+
};
|
|
20553
|
+
var inputWithLabelBase = {
|
|
20554
|
+
padding: "".concat(Spacing$x.SizesDdsSpacingLocalX075NumberPx + FontPackages$i.supportingStyle_label_01.numbers.lineHeightNumber * 0.01 * FontPackages$i.supportingStyle_label_01.numbers.fontSizeNumber, "px ").concat(Spacing$x.SizesDdsSpacingLocalX1, " ").concat(Spacing$x.SizesDdsSpacingLocalX075, " ").concat(Spacing$x.SizesDdsSpacingLocalX1)
|
|
20555
|
+
};
|
|
20556
|
+
var inputNoLabelBase$1 = {
|
|
20557
|
+
padding: "".concat(Spacing$x.SizesDdsSpacingLocalX075, " ").concat(Spacing$x.SizesDdsSpacingLocalX1, " ").concat(Spacing$x.SizesDdsSpacingLocalX075, " ").concat(Spacing$x.SizesDdsSpacingLocalX1)
|
|
20558
|
+
};
|
|
20559
|
+
var inputDisabledBase = {
|
|
20560
|
+
color: Colors$n.DdsColorNeutralsGray7,
|
|
20561
|
+
backgroundColor: Colors$n.DdsColorNeutralsGray1
|
|
20562
|
+
};
|
|
20563
|
+
|
|
20564
|
+
var inputErrorBase = __assign({}, dangerInputfield);
|
|
20565
|
+
|
|
20566
|
+
var inputErrorHoverBase = __assign({}, hoverDangerInputfield);
|
|
20567
|
+
|
|
20568
|
+
var inputErrorFocusBase = __assign({}, focusDangerInputfield);
|
|
20569
|
+
|
|
20570
|
+
var inputReadOnlyBase = {
|
|
20571
|
+
border: 'none',
|
|
20572
|
+
backgroundColor: 'transparent',
|
|
20573
|
+
paddingLeft: Spacing$x.SizesDdsSpacingLocalX1
|
|
20574
|
+
};
|
|
20575
|
+
var inputLabelBase = {
|
|
20576
|
+
padding: "".concat(Spacing$x.SizesDdsSpacingLocalX075, " ").concat(Spacing$x.SizesDdsSpacingLocalX1)
|
|
20577
|
+
};
|
|
20578
|
+
var inputLabelHoverBase = {
|
|
20579
|
+
color: TextInput$3.label.hover.textColor
|
|
20580
|
+
};
|
|
20581
|
+
var inputLabelFocusBase = {
|
|
20582
|
+
color: TextInput$3.label.focus.textColor
|
|
20583
|
+
};
|
|
20584
|
+
var inputLabelDisabledBase = {
|
|
20585
|
+
color: Colors$n.DdsColorNeutralsGray6
|
|
20586
|
+
};
|
|
20587
|
+
var inputTokens = {
|
|
20588
|
+
general: TextInput$3,
|
|
20589
|
+
base: inputBase$2,
|
|
20590
|
+
focusColor: TextInput$3.input.focus.borderColor,
|
|
20591
|
+
withLabel: {
|
|
20592
|
+
base: inputWithLabelBase
|
|
20593
|
+
},
|
|
20594
|
+
noLabel: {
|
|
20595
|
+
base: inputNoLabelBase$1
|
|
20596
|
+
},
|
|
20597
|
+
readOnly: {
|
|
20598
|
+
base: inputReadOnlyBase
|
|
20599
|
+
},
|
|
20600
|
+
disabled: {
|
|
20601
|
+
base: inputDisabledBase
|
|
20602
|
+
},
|
|
20603
|
+
error: {
|
|
20604
|
+
base: inputErrorBase,
|
|
20605
|
+
hover: {
|
|
20606
|
+
base: inputErrorHoverBase
|
|
20607
|
+
},
|
|
20608
|
+
focus: {
|
|
20609
|
+
base: inputErrorFocusBase
|
|
20610
|
+
}
|
|
20611
|
+
},
|
|
20612
|
+
label: {
|
|
20613
|
+
base: inputLabelBase,
|
|
20614
|
+
hover: {
|
|
20615
|
+
base: inputLabelHoverBase
|
|
20616
|
+
},
|
|
20617
|
+
focus: {
|
|
20618
|
+
base: inputLabelFocusBase
|
|
20619
|
+
},
|
|
20620
|
+
disabled: {
|
|
20621
|
+
base: inputLabelDisabledBase
|
|
20622
|
+
}
|
|
20623
|
+
}
|
|
20624
|
+
};
|
|
20625
|
+
|
|
20626
|
+
var TextInput$2 = ddsReferenceTokens.textInput;
|
|
20627
|
+
var Border$e = ddsBaseTokens.border;
|
|
20628
|
+
|
|
20629
|
+
var stylingBase = __assign({
|
|
20630
|
+
color: TextInput$2.input.textColor,
|
|
20631
|
+
borderRadius: TextInput$2.input.borderRadius,
|
|
20632
|
+
border: "".concat(Border$e.BordersDdsBorderStyleLightStrokeWeight, " solid"),
|
|
20633
|
+
borderColor: TextInput$2.input.borderColor
|
|
20634
|
+
}, TextInput$2.input.font);
|
|
20635
|
+
|
|
20636
|
+
var focusBase$5 = __assign({}, focusInputfield);
|
|
20637
|
+
|
|
20638
|
+
var hoverBase$2 = __assign({}, hoverInputfield);
|
|
20639
|
+
|
|
20640
|
+
var inputFieldStylingBase = function inputFieldStylingBase() {
|
|
20641
|
+
return Ae(templateObject_1$T || (templateObject_1$T = __makeTemplateObject(["\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n &[type='text'],\n &[type='password'],\n &[type='number'],\n &[type='tel'],\n &[type='date'],\n &[type='url'],\n &[type='email'],\n &[type='search'],\n &[type='datetime-local'] {\n -webkit-appearance: none;\n }\n &::selection {\n ", "\n }\n ", "\n\n &:focus:enabled:read-write, &:active:enabled:read-write {\n ", "\n }\n &:focus {\n outline: none;\n }\n\n &:hover:enabled:read-write {\n ", "\n }\n "], ["\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n &[type='text'],\n &[type='password'],\n &[type='number'],\n &[type='tel'],\n &[type='date'],\n &[type='url'],\n &[type='email'],\n &[type='search'],\n &[type='datetime-local'] {\n -webkit-appearance: none;\n }\n &::selection {\n ", "\n }\n ", "\n\n &:focus:enabled:read-write, &:active:enabled:read-write {\n ", "\n }\n &:focus {\n outline: none;\n }\n\n &:hover:enabled:read-write {\n ", "\n }\n "])), typographyTokens.selection.base, stylingBase, focusBase$5, hoverBase$2);
|
|
20642
|
+
};
|
|
20643
|
+
var templateObject_1$T;
|
|
20644
|
+
|
|
20645
|
+
var inputStyling = function inputStyling(_a) {
|
|
20646
|
+
var readOnly = _a.readOnly,
|
|
20647
|
+
hasLabel = _a.hasLabel,
|
|
20648
|
+
disabled = _a.disabled,
|
|
20649
|
+
hasErrorMessage = _a.hasErrorMessage;
|
|
20650
|
+
return Ae(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["\n ", "\n ", "\n box-sizing: border-box;\n box-shadow: none;\n -webkit-appearance: textfield;\n ", ";\n\n &:hover:enabled:read-write ~ label {\n ", "\n }\n &:focus:enabled:read-write ~ label {\n ", "\n }\n\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n box-sizing: border-box;\n box-shadow: none;\n -webkit-appearance: textfield;\n ", ";\n\n &:hover:enabled:read-write ~ label {\n ", "\n }\n &:focus:enabled:read-write ~ label {\n ", "\n }\n\n ", "\n ", "\n ", "\n "])), inputFieldStylingBase, inputTokens.base, hasLabel ? Ae(templateObject_1$S || (templateObject_1$S = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.withLabel.base) : Ae(templateObject_2$E || (templateObject_2$E = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.noLabel.base), inputTokens.label.hover.base, inputTokens.label.focus.base, disabled && Ae(templateObject_3$r || (templateObject_3$r = __makeTemplateObject(["\n cursor: not-allowed;\n ", "\n "], ["\n cursor: not-allowed;\n ", "\n "])), inputTokens.disabled.base), hasErrorMessage && Ae(templateObject_4$m || (templateObject_4$m = __makeTemplateObject(["\n ", "\n &:hover:enabled:read-write {\n ", "\n }\n &:focus:enabled:read-write,\n &:active:enabled:read-write {\n ", "\n }\n "], ["\n ", "\n &:hover:enabled:read-write {\n ", "\n }\n &:focus:enabled:read-write,\n &:active:enabled:read-write {\n ", "\n }\n "])), inputTokens.error.base, inputTokens.error.hover.base, inputTokens.error.focus.base), readOnly && Ae(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n cursor: default;\n ", "\n "], ["\n cursor: default;\n ", "\n "])), inputTokens.readOnly.base));
|
|
20651
|
+
};
|
|
20652
|
+
var Input$5 = styled$3.input.withConfig({
|
|
20653
|
+
displayName: "Inputstyles__Input",
|
|
20654
|
+
componentId: "sc-1oz9x8w-0"
|
|
20655
|
+
})(templateObject_7$a || (templateObject_7$a = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
20656
|
+
var hasLabel = _a.hasLabel,
|
|
20657
|
+
disabled = _a.disabled,
|
|
20658
|
+
readOnly = _a.readOnly,
|
|
20659
|
+
hasErrorMessage = _a.hasErrorMessage;
|
|
20660
|
+
return inputStyling({
|
|
20661
|
+
readOnly: readOnly,
|
|
20662
|
+
hasLabel: hasLabel,
|
|
20663
|
+
disabled: disabled,
|
|
20664
|
+
hasErrorMessage: hasErrorMessage
|
|
20665
|
+
});
|
|
20666
|
+
});
|
|
20667
|
+
var SingleLineLabel = styled$3(Typography).withConfig({
|
|
20668
|
+
displayName: "Inputstyles__SingleLineLabel",
|
|
20669
|
+
componentId: "sc-1oz9x8w-1"
|
|
20670
|
+
})(templateObject_9$6 || (templateObject_9$6 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n transition: color 0.2s, background-color 0.2s;\n ", "\n ", "\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n transition: color 0.2s, background-color 0.2s;\n ", "\n ", "\n"])), inputTokens.label.base, function (_a) {
|
|
20671
|
+
var disabled = _a.disabled;
|
|
20672
|
+
return disabled && Ae(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.label.disabled.base);
|
|
20673
|
+
});
|
|
20674
|
+
var InputContainer$2 = styled$3.div.withConfig({
|
|
20675
|
+
displayName: "Inputstyles__InputContainer",
|
|
20676
|
+
componentId: "sc-1oz9x8w-2"
|
|
20677
|
+
})(templateObject_10$6 || (templateObject_10$6 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
|
|
20678
|
+
var OuterInputContainer = styled$3.div.withConfig({
|
|
20679
|
+
displayName: "Inputstyles__OuterInputContainer",
|
|
20680
|
+
componentId: "sc-1oz9x8w-3"
|
|
20681
|
+
})(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n width: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n width: ", ";\n"])), function (_a) {
|
|
20682
|
+
var width = _a.width;
|
|
20683
|
+
return width;
|
|
20684
|
+
});
|
|
20685
|
+
var templateObject_1$S, templateObject_2$E, templateObject_3$r, templateObject_4$m, templateObject_5$e, templateObject_6$d, templateObject_7$a, templateObject_8$8, templateObject_9$6, templateObject_10$6, templateObject_11$4;
|
|
20686
|
+
|
|
20687
|
+
var Colors$m = ddsBaseTokens.colors,
|
|
20688
|
+
BorderRadius$8 = ddsBaseTokens.borderRadius,
|
|
20689
|
+
OuterShadow$5 = ddsBaseTokens.outerShadow,
|
|
20690
|
+
Font = ddsBaseTokens.font;
|
|
20691
|
+
var base$b = {
|
|
20692
|
+
backgroundColor: Colors$m.DdsColorNeutralsWhite,
|
|
20693
|
+
borderRadius: BorderRadius$8.RadiiDdsBorderRadius1Radius,
|
|
20694
|
+
boxShadow: OuterShadow$5.DdsShadow4Onlight,
|
|
20695
|
+
fontFamily: Font.DdsFontBodySans01FontFamily
|
|
20696
|
+
};
|
|
20697
|
+
var paperTokens = {
|
|
20698
|
+
base: base$b
|
|
20699
|
+
};
|
|
20700
|
+
|
|
20701
|
+
var Paper = styled$3.div.withConfig({
|
|
20702
|
+
displayName: "Paper",
|
|
20703
|
+
componentId: "sc-mrbi8q-0"
|
|
20704
|
+
})(templateObject_1$R || (templateObject_1$R = __makeTemplateObject(["\n box-sizing: border-box;\n margin: 0;\n &::selection,\n *::selection {\n ", "\n }\n ", "\n"], ["\n box-sizing: border-box;\n margin: 0;\n &::selection,\n *::selection {\n ", "\n }\n ", "\n"])), typographyTokens.selection.base, paperTokens.base);
|
|
20705
|
+
var templateObject_1$R;
|
|
20706
|
+
|
|
20453
20707
|
var MarkerWrapper = styled$3.span.withConfig({
|
|
20454
20708
|
displayName: "RequiredMarker__MarkerWrapper",
|
|
20455
|
-
componentId: "sc-
|
|
20456
|
-
})(templateObject_1$
|
|
20457
|
-
|
|
20458
|
-
function RequiredMarker() {
|
|
20709
|
+
componentId: "sc-1r1e9ds-0"
|
|
20710
|
+
})(templateObject_1$Q || (templateObject_1$Q = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), ddsBaseTokens.colors.DdsColorDangerBase);
|
|
20711
|
+
var RequiredMarker = function RequiredMarker() {
|
|
20459
20712
|
return jsxRuntime.exports.jsx(MarkerWrapper, {
|
|
20460
20713
|
children: "*"
|
|
20461
20714
|
});
|
|
20462
|
-
}
|
|
20463
|
-
var templateObject_1$
|
|
20715
|
+
};
|
|
20716
|
+
var templateObject_1$Q;
|
|
20464
20717
|
|
|
20465
20718
|
var ReportProblemOutlined = {};
|
|
20466
20719
|
|
|
@@ -20481,22 +20734,22 @@ var _default$j = (0, _createSvgIcon$j.default)( /*#__PURE__*/(0, _jsxRuntime$j.j
|
|
|
20481
20734
|
|
|
20482
20735
|
default_1$j = ReportProblemOutlined.default = _default$j;
|
|
20483
20736
|
|
|
20484
|
-
var Colors$
|
|
20485
|
-
Spacing$
|
|
20486
|
-
var base$
|
|
20487
|
-
padding: "".concat(Spacing$
|
|
20737
|
+
var Colors$l = ddsBaseTokens.colors,
|
|
20738
|
+
Spacing$w = ddsBaseTokens.spacing;
|
|
20739
|
+
var base$a = {
|
|
20740
|
+
padding: "".concat(Spacing$w.SizesDdsSpacingLocalX025, " ").concat(Spacing$w.SizesDdsSpacingLocalX05),
|
|
20488
20741
|
maxWidth: '100%'
|
|
20489
20742
|
};
|
|
20490
20743
|
var tipBase = {
|
|
20491
|
-
backgroundColor: Colors$
|
|
20744
|
+
backgroundColor: Colors$l.DdsColorNeutralsWhite
|
|
20492
20745
|
};
|
|
20493
20746
|
var errorBase = {
|
|
20494
|
-
color: Colors$
|
|
20495
|
-
backgroundColor: Colors$
|
|
20747
|
+
color: Colors$l.DdsColorDangerBase,
|
|
20748
|
+
backgroundColor: Colors$l.DdsColorDangerLightest
|
|
20496
20749
|
};
|
|
20497
20750
|
var inputMessageTokens = {
|
|
20498
|
-
padding: "".concat(Spacing$
|
|
20499
|
-
base: base$
|
|
20751
|
+
padding: "".concat(Spacing$w.SizesDdsSpacingLocalX025, " ").concat(Spacing$w.SizesDdsSpacingLocalX05),
|
|
20752
|
+
base: base$a,
|
|
20500
20753
|
tip: {
|
|
20501
20754
|
base: tipBase
|
|
20502
20755
|
},
|
|
@@ -20504,16 +20757,16 @@ var inputMessageTokens = {
|
|
|
20504
20757
|
base: errorBase
|
|
20505
20758
|
},
|
|
20506
20759
|
icon: {
|
|
20507
|
-
spaceRight: Spacing$
|
|
20760
|
+
spaceRight: Spacing$w.SizesDdsSpacingLocalX05
|
|
20508
20761
|
}
|
|
20509
20762
|
};
|
|
20510
20763
|
|
|
20511
20764
|
var InputMessageWrapper = styled$3.div.withConfig({
|
|
20512
20765
|
displayName: "InputMessage__InputMessageWrapper",
|
|
20513
20766
|
componentId: "sc-c954fy-0"
|
|
20514
|
-
})(templateObject_2$
|
|
20767
|
+
})(templateObject_2$D || (templateObject_2$D = __makeTemplateObject(["\n display: flex;\n align-items: center;\n width: fit-content;\n word-break: break-word;\n ", "\n ", "\n svg {\n margin-right: ", ";\n position: relative;\n }\n"], ["\n display: flex;\n align-items: center;\n width: fit-content;\n word-break: break-word;\n ", "\n ", "\n svg {\n margin-right: ", ";\n position: relative;\n }\n"])), inputMessageTokens.base, function (_a) {
|
|
20515
20768
|
var messageType = _a.messageType;
|
|
20516
|
-
return messageType && Ae(templateObject_1$
|
|
20769
|
+
return messageType && Ae(templateObject_1$P || (templateObject_1$P = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputMessageTokens[messageType].base);
|
|
20517
20770
|
}, inputMessageTokens.icon.spaceRight);
|
|
20518
20771
|
var InputMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
20519
20772
|
var message = _a.message,
|
|
@@ -20540,21 +20793,21 @@ var InputMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
20540
20793
|
}))]
|
|
20541
20794
|
}));
|
|
20542
20795
|
});
|
|
20543
|
-
var templateObject_1$
|
|
20796
|
+
var templateObject_1$P, templateObject_2$D;
|
|
20544
20797
|
|
|
20545
|
-
var Spacing$
|
|
20798
|
+
var Spacing$v = ddsBaseTokens.spacing;
|
|
20546
20799
|
var groupContainerRowBase$1 = {
|
|
20547
|
-
gap: Spacing$
|
|
20800
|
+
gap: Spacing$v.SizesDdsSpacingLocalX075
|
|
20548
20801
|
};
|
|
20549
20802
|
var groupContainerColumnBase$1 = {
|
|
20550
|
-
gap: Spacing$
|
|
20803
|
+
gap: Spacing$v.SizesDdsSpacingLocalX05
|
|
20551
20804
|
};
|
|
20552
20805
|
var containerBase$7 = {
|
|
20553
|
-
gap: Spacing$
|
|
20806
|
+
gap: Spacing$v.SizesDdsSpacingLocalX0125
|
|
20554
20807
|
};
|
|
20555
20808
|
var radioButtonGroupTokens = {
|
|
20556
20809
|
label: {
|
|
20557
|
-
spaceLeft: Spacing$
|
|
20810
|
+
spaceLeft: Spacing$v.SizesDdsSpacingLocalX025
|
|
20558
20811
|
},
|
|
20559
20812
|
container: {
|
|
20560
20813
|
base: containerBase$7
|
|
@@ -20598,21 +20851,25 @@ var spaceSeparatedIdListGenerator = function spaceSeparatedIdListGenerator(value
|
|
|
20598
20851
|
return (_a = idArrayGenerator(values)) === null || _a === void 0 ? void 0 : _a.join(' ');
|
|
20599
20852
|
};
|
|
20600
20853
|
|
|
20854
|
+
var calculateHeightWithLineHeight = function calculateHeightWithLineHeight(lineHeight, fontSize) {
|
|
20855
|
+
return lineHeight * 0.01 * fontSize;
|
|
20856
|
+
};
|
|
20857
|
+
|
|
20601
20858
|
var Container$h = styled$3.div.withConfig({
|
|
20602
20859
|
displayName: "RadioButtonGroup__Container",
|
|
20603
20860
|
componentId: "sc-1xsll60-0"
|
|
20604
|
-
})(templateObject_1$
|
|
20861
|
+
})(templateObject_1$O || (templateObject_1$O = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n ", "\n"])), radioButtonGroupTokens.container.base);
|
|
20605
20862
|
var GroupContainer$1 = styled$3.div.withConfig({
|
|
20606
20863
|
displayName: "RadioButtonGroup__GroupContainer",
|
|
20607
20864
|
componentId: "sc-1xsll60-1"
|
|
20608
|
-
})(templateObject_3$
|
|
20865
|
+
})(templateObject_3$q || (templateObject_3$q = __makeTemplateObject(["\n display: flex;\n ", "\n"], ["\n display: flex;\n ", "\n"])), function (_a) {
|
|
20609
20866
|
var direction = _a.direction;
|
|
20610
|
-
return Ae(templateObject_2$
|
|
20867
|
+
return Ae(templateObject_2$C || (templateObject_2$C = __makeTemplateObject(["\n flex-direction: ", ";\n ", "\n "], ["\n flex-direction: ", ";\n ", "\n "])), direction, radioButtonGroupTokens.groupContainer.direction[direction].base);
|
|
20611
20868
|
});
|
|
20612
20869
|
var Label$4 = styled$3(Typography).withConfig({
|
|
20613
20870
|
displayName: "RadioButtonGroup__Label",
|
|
20614
20871
|
componentId: "sc-1xsll60-2"
|
|
20615
|
-
})(templateObject_4$
|
|
20872
|
+
})(templateObject_4$l || (templateObject_4$l = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), radioButtonGroupTokens.label.spaceLeft);
|
|
20616
20873
|
var nextUniqueGroupId$1 = 0;
|
|
20617
20874
|
var RadioButtonGroup = function RadioButtonGroup(_a) {
|
|
20618
20875
|
var name = _a.name,
|
|
@@ -20692,53 +20949,53 @@ var RadioButtonGroup = function RadioButtonGroup(_a) {
|
|
|
20692
20949
|
})]
|
|
20693
20950
|
}));
|
|
20694
20951
|
};
|
|
20695
|
-
var templateObject_1$
|
|
20952
|
+
var templateObject_1$O, templateObject_2$C, templateObject_3$q, templateObject_4$l;
|
|
20696
20953
|
|
|
20697
|
-
var Colors$
|
|
20698
|
-
Spacing$
|
|
20699
|
-
FontPackages$
|
|
20700
|
-
BorderRadius$
|
|
20954
|
+
var Colors$k = ddsBaseTokens.colors,
|
|
20955
|
+
Spacing$u = ddsBaseTokens.spacing,
|
|
20956
|
+
FontPackages$h = ddsBaseTokens.fontPackages,
|
|
20957
|
+
BorderRadius$7 = ddsBaseTokens.borderRadius;
|
|
20701
20958
|
var checkboxBase = {
|
|
20702
20959
|
border: '1px solid',
|
|
20703
|
-
backgroundColor: Colors$
|
|
20704
|
-
borderColor: Colors$
|
|
20705
|
-
borderRadius: BorderRadius$
|
|
20706
|
-
height: FontPackages$
|
|
20707
|
-
width: FontPackages$
|
|
20960
|
+
backgroundColor: Colors$k.DdsColorNeutralsWhite,
|
|
20961
|
+
borderColor: Colors$k.DdsColorNeutralsGray5,
|
|
20962
|
+
borderRadius: BorderRadius$7.RadiiDdsBorderRadius1Radius,
|
|
20963
|
+
height: FontPackages$h.supportingStyle_inputtext_02.base.fontSize,
|
|
20964
|
+
width: FontPackages$h.supportingStyle_inputtext_02.base.fontSize
|
|
20708
20965
|
};
|
|
20709
20966
|
var checkboxCheckedBase = {
|
|
20710
|
-
borderColor: Colors$
|
|
20711
|
-
backgroundColor: Colors$
|
|
20967
|
+
borderColor: Colors$k.DdsColorInteractiveBase,
|
|
20968
|
+
backgroundColor: Colors$k.DdsColorInteractiveBase
|
|
20712
20969
|
};
|
|
20713
20970
|
var checkboxDisabledBase = {
|
|
20714
|
-
borderColor: Colors$
|
|
20715
|
-
color: Colors$
|
|
20971
|
+
borderColor: Colors$k.DdsColorNeutralsGray5,
|
|
20972
|
+
color: Colors$k.DdsColorNeutralsGray6
|
|
20716
20973
|
};
|
|
20717
20974
|
var checkboxCheckedDisabledBase = {
|
|
20718
|
-
borderColor: Colors$
|
|
20719
|
-
backgroundColor: Colors$
|
|
20975
|
+
borderColor: Colors$k.DdsColorNeutralsGray6,
|
|
20976
|
+
backgroundColor: Colors$k.DdsColorNeutralsGray6
|
|
20720
20977
|
};
|
|
20721
20978
|
var checkboxReadOnlyBase = {
|
|
20722
20979
|
backgroundColor: 'transparent'
|
|
20723
20980
|
};
|
|
20724
20981
|
var checkboxCheckedReadOnlyBase = {
|
|
20725
|
-
borderColor: Colors$
|
|
20726
|
-
backgroundColor: Colors$
|
|
20982
|
+
borderColor: Colors$k.DdsColorNeutralsGray6,
|
|
20983
|
+
backgroundColor: Colors$k.DdsColorNeutralsGray6
|
|
20727
20984
|
};
|
|
20728
20985
|
|
|
20729
20986
|
var checkboxHoverBase = __assign({}, hoverInputfield);
|
|
20730
20987
|
|
|
20731
20988
|
var checkboxCheckedHoverBase = {
|
|
20732
|
-
backgroundColor: Colors$
|
|
20733
|
-
boxShadow: "inset 0 0 0 1px ".concat(Colors$
|
|
20734
|
-
borderColor: Colors$
|
|
20989
|
+
backgroundColor: Colors$k.DdsColorInteractiveDark,
|
|
20990
|
+
boxShadow: "inset 0 0 0 1px ".concat(Colors$k.DdsColorInteractiveDark),
|
|
20991
|
+
borderColor: Colors$k.DdsColorInteractiveDark
|
|
20735
20992
|
};
|
|
20736
20993
|
|
|
20737
20994
|
var checkboxDangerBase = __assign({}, dangerInputfield);
|
|
20738
20995
|
|
|
20739
20996
|
var checkboxDangerHoverBase = __assign({}, hoverDangerInputfield);
|
|
20740
20997
|
|
|
20741
|
-
var focusBase$
|
|
20998
|
+
var focusBase$4 = __assign({}, focusVisible);
|
|
20742
20999
|
|
|
20743
21000
|
var checkmarkBase = {
|
|
20744
21001
|
borderWidth: '0 1px 1px 0',
|
|
@@ -20752,19 +21009,19 @@ var checkmarkIndeterminateBase = {
|
|
|
20752
21009
|
borderWidth: '1px 0 0 0'
|
|
20753
21010
|
};
|
|
20754
21011
|
|
|
20755
|
-
var containerBase$6 = __assign({}, FontPackages$
|
|
21012
|
+
var containerBase$6 = __assign({}, FontPackages$h.body_sans_02.base);
|
|
20756
21013
|
|
|
20757
|
-
var containerWithLabelBase = __assign(__assign({}, FontPackages$
|
|
20758
|
-
padding: "0 ".concat(Spacing$
|
|
21014
|
+
var containerWithLabelBase = __assign(__assign({}, FontPackages$h.body_sans_02.base), {
|
|
21015
|
+
padding: "0 ".concat(Spacing$u.SizesDdsSpacingLocalX025, " 0 ").concat(FontPackages$h.supportingStyle_inputtext_02.numbers.fontSizeNumber + Spacing$u.SizesDdsSpacingLocalX075NumberPx, "px")
|
|
20759
21016
|
});
|
|
20760
21017
|
|
|
20761
21018
|
var containerNoLabelBase = {
|
|
20762
|
-
padding: "".concat(Spacing$
|
|
21019
|
+
padding: "".concat(Spacing$u.SizesDdsSpacingLocalX075, " ").concat(Spacing$u.SizesDdsSpacingLocalX0125, " ").concat(Spacing$u.SizesDdsSpacingLocalX075, " ").concat(Spacing$u.SizesDdsSpacingLocalX15)
|
|
20763
21020
|
};
|
|
20764
21021
|
var checkboxTokens = {
|
|
20765
21022
|
checkbox: {
|
|
20766
21023
|
base: checkboxBase,
|
|
20767
|
-
spaceLeft: Spacing$
|
|
21024
|
+
spaceLeft: Spacing$u.SizesDdsSpacingLocalX025,
|
|
20768
21025
|
hover: {
|
|
20769
21026
|
base: checkboxHoverBase
|
|
20770
21027
|
},
|
|
@@ -20807,7 +21064,7 @@ var checkboxTokens = {
|
|
|
20807
21064
|
},
|
|
20808
21065
|
checkmark: {
|
|
20809
21066
|
base: checkmarkBase,
|
|
20810
|
-
color: Colors$
|
|
21067
|
+
color: Colors$k.DdsColorNeutralsWhite,
|
|
20811
21068
|
indeterminate: {
|
|
20812
21069
|
base: checkmarkIndeterminateBase
|
|
20813
21070
|
}
|
|
@@ -20815,7 +21072,7 @@ var checkboxTokens = {
|
|
|
20815
21072
|
container: {
|
|
20816
21073
|
base: containerBase$6,
|
|
20817
21074
|
focus: {
|
|
20818
|
-
base: focusBase$
|
|
21075
|
+
base: focusBase$4
|
|
20819
21076
|
},
|
|
20820
21077
|
withLabel: {
|
|
20821
21078
|
base: containerWithLabelBase
|
|
@@ -20829,8 +21086,8 @@ var checkboxTokens = {
|
|
|
20829
21086
|
var CustomCheckbox = styled$3.span.withConfig({
|
|
20830
21087
|
displayName: "Checkboxstyles__CustomCheckbox",
|
|
20831
21088
|
componentId: "sc-17q1ubf-0"
|
|
20832
|
-
})(templateObject_1$
|
|
20833
|
-
var Input$
|
|
21089
|
+
})(templateObject_1$N || (templateObject_1$N = __makeTemplateObject(["\n position: absolute;\n ", "\n left: ", ";\n box-sizing: border-box;\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"], ["\n position: absolute;\n ", "\n left: ", ";\n box-sizing: border-box;\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"])), checkboxTokens.checkbox.base, checkboxTokens.checkbox.spaceLeft);
|
|
21090
|
+
var Input$4 = styled$3.input.attrs(function (_a) {
|
|
20834
21091
|
var _b = _a.type,
|
|
20835
21092
|
type = _b === void 0 ? 'checkbox' : _b;
|
|
20836
21093
|
return {
|
|
@@ -20839,32 +21096,32 @@ var Input$5 = styled$3.input.attrs(function (_a) {
|
|
|
20839
21096
|
}).withConfig({
|
|
20840
21097
|
displayName: "Checkboxstyles__Input",
|
|
20841
21098
|
componentId: "sc-17q1ubf-1"
|
|
20842
|
-
})(templateObject_2$
|
|
21099
|
+
})(templateObject_2$B || (templateObject_2$B = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), hideInput);
|
|
20843
21100
|
var Container$g = styled$3.label.withConfig({
|
|
20844
21101
|
displayName: "Checkboxstyles__Container",
|
|
20845
21102
|
componentId: "sc-17q1ubf-2"
|
|
20846
21103
|
})(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n ", "\n ", "\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n &:focus-within {\n ", "\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border: solid ", ";\n ", "\n }\n"], ["\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n ", "\n ", "\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n &:focus-within {\n ", "\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border: solid ", ";\n ", "\n }\n"])), checkboxTokens.container.base, function (_a) {
|
|
20847
21104
|
var label = _a.label;
|
|
20848
|
-
return label ? Ae(templateObject_3$
|
|
21105
|
+
return label ? Ae(templateObject_3$p || (templateObject_3$p = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.container.withLabel.base) : Ae(templateObject_4$k || (templateObject_4$k = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.container.noLabel.base);
|
|
20849
21106
|
}, CustomCheckbox, CustomCheckbox, CustomCheckbox, checkboxTokens.checkbox.checked.base, CustomCheckbox, checkboxTokens.checkbox.hover.base, CustomCheckbox, checkboxTokens.checkbox.checked.hover.base, checkboxTokens.container.focus.base, function (_a) {
|
|
20850
21107
|
var error = _a.error;
|
|
20851
|
-
return error && Ae(templateObject_5$
|
|
21108
|
+
return error && Ae(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.danger.base, CustomCheckbox, checkboxTokens.checkbox.danger.hover.base);
|
|
20852
21109
|
}, function (_a) {
|
|
20853
21110
|
var indeterminate = _a.indeterminate;
|
|
20854
|
-
return indeterminate && Ae(templateObject_6$
|
|
21111
|
+
return indeterminate && Ae(templateObject_6$c || (templateObject_6$c = __makeTemplateObject(["\n input:enabled ~ ", " {\n ", "\n }\n input ~ ", ":after {\n display: block;\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "], ["\n input:enabled ~ ", " {\n ", "\n }\n input ~ ", ":after {\n display: block;\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.base, CustomCheckbox, CustomCheckbox, checkboxTokens.checkbox.indeterminate.hover.base);
|
|
20855
21112
|
}, function (_a) {
|
|
20856
21113
|
var disabled = _a.disabled,
|
|
20857
21114
|
indeterminate = _a.indeterminate;
|
|
20858
|
-
return disabled && Ae(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject(["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "], ["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "])), CustomCheckbox, checkboxTokens.checkbox.disabled.base, CustomCheckbox, checkboxTokens.checkbox.checked.disabled.base, indeterminate && Ae(templateObject_7$
|
|
21115
|
+
return disabled && Ae(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject(["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "], ["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "])), CustomCheckbox, checkboxTokens.checkbox.disabled.base, CustomCheckbox, checkboxTokens.checkbox.checked.disabled.base, indeterminate && Ae(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.disabled.base));
|
|
20859
21116
|
}, function (_a) {
|
|
20860
21117
|
var readOnly = _a.readOnly,
|
|
20861
21118
|
indeterminate = _a.indeterminate;
|
|
20862
|
-
return readOnly && Ae(templateObject_10$
|
|
21119
|
+
return readOnly && Ae(templateObject_10$5 || (templateObject_10$5 = __makeTemplateObject(["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "], ["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "])), CustomCheckbox, checkboxTokens.checkbox.readOnly.base, CustomCheckbox, checkboxTokens.checkbox.checked.readOnly.base, indeterminate && Ae(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.readOnly.base));
|
|
20863
21120
|
}, CustomCheckbox, checkboxTokens.checkmark.color, function (_a) {
|
|
20864
21121
|
var indeterminate = _a.indeterminate;
|
|
20865
|
-
return indeterminate ? Ae(templateObject_11$
|
|
21122
|
+
return indeterminate ? Ae(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject(["\n left: 25%;\n top: 50%;\n width: 50%;\n height: 1px;\n ", "\n "], ["\n left: 25%;\n top: 50%;\n width: 50%;\n height: 1px;\n ", "\n "])), checkboxTokens.checkmark.indeterminate.base) : Ae(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.checkmark.base);
|
|
20866
21123
|
});
|
|
20867
|
-
var templateObject_1$
|
|
21124
|
+
var templateObject_1$N, templateObject_2$B, templateObject_3$p, templateObject_4$k, templateObject_5$d, templateObject_6$c, templateObject_7$9, templateObject_8$7, templateObject_9$5, templateObject_10$5, templateObject_11$3, templateObject_12$2, templateObject_13$1;
|
|
20868
21125
|
|
|
20869
21126
|
var CheckboxGroupContext = /*#__PURE__*/React__default.createContext(null);
|
|
20870
21127
|
var useCheckboxGroup = function useCheckboxGroup() {
|
|
@@ -20912,7 +21169,7 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
20912
21169
|
}, rest);
|
|
20913
21170
|
|
|
20914
21171
|
return jsxRuntime.exports.jsxs(Container$g, __assign({}, containerProps, {
|
|
20915
|
-
children: [jsxRuntime.exports.jsx(Input$
|
|
21172
|
+
children: [jsxRuntime.exports.jsx(Input$4, __assign({}, inputProps, {
|
|
20916
21173
|
"data-indeterminate": indeterminate
|
|
20917
21174
|
})), jsxRuntime.exports.jsx(CustomCheckbox, {}), label && jsxRuntime.exports.jsx(Typography, __assign({
|
|
20918
21175
|
as: "span"
|
|
@@ -20922,19 +21179,19 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
20922
21179
|
}));
|
|
20923
21180
|
});
|
|
20924
21181
|
|
|
20925
|
-
var Spacing$
|
|
21182
|
+
var Spacing$t = ddsBaseTokens.spacing;
|
|
20926
21183
|
var groupContainerRowBase = {
|
|
20927
|
-
gap: Spacing$
|
|
21184
|
+
gap: Spacing$t.SizesDdsSpacingLocalX075
|
|
20928
21185
|
};
|
|
20929
21186
|
var groupContainerColumnBase = {
|
|
20930
|
-
gap: Spacing$
|
|
21187
|
+
gap: Spacing$t.SizesDdsSpacingLocalX05
|
|
20931
21188
|
};
|
|
20932
21189
|
var containerBase$5 = {
|
|
20933
|
-
gap: Spacing$
|
|
21190
|
+
gap: Spacing$t.SizesDdsSpacingLocalX0125
|
|
20934
21191
|
};
|
|
20935
21192
|
var checkboxGroupTokens = {
|
|
20936
21193
|
label: {
|
|
20937
|
-
spaceLeft: Spacing$
|
|
21194
|
+
spaceLeft: Spacing$t.SizesDdsSpacingLocalX025
|
|
20938
21195
|
},
|
|
20939
21196
|
container: {
|
|
20940
21197
|
base: containerBase$5
|
|
@@ -20954,18 +21211,18 @@ var checkboxGroupTokens = {
|
|
|
20954
21211
|
var Container$f = styled$3.div.withConfig({
|
|
20955
21212
|
displayName: "CheckboxGroup__Container",
|
|
20956
21213
|
componentId: "sc-uixbzg-0"
|
|
20957
|
-
})(templateObject_1$
|
|
21214
|
+
})(templateObject_1$M || (templateObject_1$M = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n ", "\n"])), checkboxGroupTokens.container.base);
|
|
20958
21215
|
var GroupContainer = styled$3.div.withConfig({
|
|
20959
21216
|
displayName: "CheckboxGroup__GroupContainer",
|
|
20960
21217
|
componentId: "sc-uixbzg-1"
|
|
20961
|
-
})(templateObject_3$
|
|
21218
|
+
})(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["\n display: flex;\n ", "\n"], ["\n display: flex;\n ", "\n"])), function (_a) {
|
|
20962
21219
|
var direction = _a.direction;
|
|
20963
|
-
return Ae(templateObject_2$
|
|
21220
|
+
return Ae(templateObject_2$A || (templateObject_2$A = __makeTemplateObject(["\n flex-direction: ", ";\n ", "\n "], ["\n flex-direction: ", ";\n ", "\n "])), direction, checkboxGroupTokens.groupContainer.direction[direction].base);
|
|
20964
21221
|
});
|
|
20965
21222
|
var Label$3 = styled$3(Typography).withConfig({
|
|
20966
21223
|
displayName: "CheckboxGroup__Label",
|
|
20967
21224
|
componentId: "sc-uixbzg-2"
|
|
20968
|
-
})(templateObject_4$
|
|
21225
|
+
})(templateObject_4$j || (templateObject_4$j = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), checkboxGroupTokens.label.spaceLeft);
|
|
20969
21226
|
var nextUniqueGroupId = 0;
|
|
20970
21227
|
var CheckboxGroup = function CheckboxGroup(_a) {
|
|
20971
21228
|
var label = _a.label,
|
|
@@ -21024,138 +21281,134 @@ var CheckboxGroup = function CheckboxGroup(_a) {
|
|
|
21024
21281
|
})]
|
|
21025
21282
|
}));
|
|
21026
21283
|
};
|
|
21027
|
-
var templateObject_1$
|
|
21284
|
+
var templateObject_1$M, templateObject_2$A, templateObject_3$o, templateObject_4$j;
|
|
21028
21285
|
|
|
21029
|
-
var
|
|
21030
|
-
|
|
21031
|
-
|
|
21032
|
-
|
|
21033
|
-
|
|
21034
|
-
|
|
21035
|
-
|
|
21036
|
-
|
|
21037
|
-
|
|
21038
|
-
|
|
21039
|
-
var
|
|
21040
|
-
var iconSizeSmallPx = calculateHeightWithLineHeight(FontPackages$h.body_sans_01.numbers.lineHeightNumber, FontPackages$h.body_sans_01.numbers.fontSizeNumber);
|
|
21041
|
-
var iconSizeMediumPx = calculateHeightWithLineHeight(FontPackages$h.body_sans_02.numbers.lineHeightNumber, FontPackages$h.body_sans_02.numbers.fontSizeNumber);
|
|
21042
|
-
var iconSizeLargePx = calculateHeightWithLineHeight(FontPackages$h.body_sans_04.numbers.lineHeightNumber, FontPackages$h.body_sans_04.numbers.fontSizeNumber);
|
|
21043
|
-
var svgOffset = Spacing$t.SizesDdsSpacingLocalX0125NumberPx;
|
|
21286
|
+
var Colors$j = ddsBaseTokens.colors,
|
|
21287
|
+
Border$d = ddsBaseTokens.border,
|
|
21288
|
+
Spacing$s = ddsBaseTokens.spacing,
|
|
21289
|
+
FontPackages$g = ddsBaseTokens.fontPackages,
|
|
21290
|
+
BorderRadius$6 = ddsBaseTokens.borderRadius,
|
|
21291
|
+
OuterShadow$4 = ddsBaseTokens.outerShadow;
|
|
21292
|
+
var iconSizeTinyPx = calculateHeightWithLineHeight(FontPackages$g.supportingStyle_tiny_01.numbers.lineHeightNumber, FontPackages$g.supportingStyle_tiny_01.numbers.fontSizeNumber);
|
|
21293
|
+
var iconSizeSmallPx = calculateHeightWithLineHeight(FontPackages$g.body_sans_01.numbers.lineHeightNumber, FontPackages$g.body_sans_01.numbers.fontSizeNumber);
|
|
21294
|
+
var iconSizeMediumPx = calculateHeightWithLineHeight(FontPackages$g.body_sans_02.numbers.lineHeightNumber, FontPackages$g.body_sans_02.numbers.fontSizeNumber);
|
|
21295
|
+
var iconSizeLargePx = calculateHeightWithLineHeight(FontPackages$g.body_sans_04.numbers.lineHeightNumber, FontPackages$g.body_sans_04.numbers.fontSizeNumber);
|
|
21296
|
+
var svgOffset = Spacing$s.SizesDdsSpacingLocalX0125NumberPx;
|
|
21044
21297
|
var justIconSmallBase = {
|
|
21045
21298
|
fontSize: "".concat(iconSizeSmallPx + svgOffset, "px"),
|
|
21046
|
-
padding: Spacing$
|
|
21299
|
+
padding: Spacing$s.SizesDdsSpacingLocalX05
|
|
21047
21300
|
};
|
|
21048
21301
|
var justIconWrapperSmallBase = {
|
|
21049
21302
|
height: "".concat(iconSizeSmallPx, "px"),
|
|
21050
21303
|
width: "".concat(iconSizeSmallPx, "px")
|
|
21051
21304
|
};
|
|
21052
21305
|
|
|
21053
|
-
var textSmallBase = __assign(__assign({}, FontPackages$
|
|
21054
|
-
padding: "".concat(Spacing$
|
|
21306
|
+
var textSmallBase = __assign(__assign({}, FontPackages$g.body_sans_01.base), {
|
|
21307
|
+
padding: "".concat(Spacing$s.SizesDdsSpacingLocalX05, " ").concat(Spacing$s.SizesDdsSpacingLocalX1NumberPx - 2, "px")
|
|
21055
21308
|
});
|
|
21056
21309
|
|
|
21057
21310
|
var justIconMediumBase = {
|
|
21058
21311
|
fontSize: "".concat(iconSizeMediumPx + svgOffset, "px"),
|
|
21059
|
-
padding: Spacing$
|
|
21312
|
+
padding: Spacing$s.SizesDdsSpacingLocalX075
|
|
21060
21313
|
};
|
|
21061
21314
|
var justIconWrapperMediumBase = {
|
|
21062
21315
|
height: "".concat(iconSizeMediumPx, "px"),
|
|
21063
21316
|
width: "".concat(iconSizeMediumPx, "px")
|
|
21064
21317
|
};
|
|
21065
21318
|
|
|
21066
|
-
var textMediumBase = __assign(__assign({}, FontPackages$
|
|
21067
|
-
padding: "".concat(Spacing$
|
|
21319
|
+
var textMediumBase = __assign(__assign({}, FontPackages$g.body_sans_02.base), {
|
|
21320
|
+
padding: "".concat(Spacing$s.SizesDdsSpacingLocalX075, " ").concat(Spacing$s.SizesDdsSpacingLocalX15NumberPx - 2, "px")
|
|
21068
21321
|
});
|
|
21069
21322
|
|
|
21070
21323
|
var justIconLargeBase = {
|
|
21071
21324
|
fontSize: "".concat(iconSizeLargePx + svgOffset, "px"),
|
|
21072
|
-
padding: Spacing$
|
|
21325
|
+
padding: Spacing$s.SizesDdsSpacingLocalX1
|
|
21073
21326
|
};
|
|
21074
21327
|
var justIconWrapperLargeBase = {
|
|
21075
21328
|
height: "".concat(iconSizeLargePx, "px"),
|
|
21076
21329
|
width: "".concat(iconSizeLargePx, "px")
|
|
21077
21330
|
};
|
|
21078
21331
|
|
|
21079
|
-
var textLargeBase = __assign(__assign({}, FontPackages$
|
|
21080
|
-
padding: "".concat(Spacing$
|
|
21332
|
+
var textLargeBase = __assign(__assign({}, FontPackages$g.body_sans_04.base), {
|
|
21333
|
+
padding: "".concat(Spacing$s.SizesDdsSpacingLocalX1, " ").concat(Spacing$s.SizesDdsSpacingLocalX2NumberPx - 2, "px")
|
|
21081
21334
|
});
|
|
21082
21335
|
|
|
21083
21336
|
var justIconTinyBase = {
|
|
21084
21337
|
fontSize: "".concat(iconSizeTinyPx + svgOffset, "px"),
|
|
21085
|
-
padding: Spacing$
|
|
21338
|
+
padding: Spacing$s.SizesDdsSpacingLocalX025
|
|
21086
21339
|
};
|
|
21087
21340
|
var justIconWrapperTinyBase = {
|
|
21088
21341
|
height: "".concat(iconSizeTinyPx, "px"),
|
|
21089
21342
|
width: "".concat(iconSizeTinyPx, "px")
|
|
21090
21343
|
};
|
|
21091
21344
|
|
|
21092
|
-
var textTinyBase = __assign(__assign({}, FontPackages$
|
|
21093
|
-
padding: "".concat(Spacing$
|
|
21345
|
+
var textTinyBase = __assign(__assign({}, FontPackages$g.supportingStyle_tiny_01.base), {
|
|
21346
|
+
padding: "".concat(Spacing$s.SizesDdsSpacingLocalX025, " ").concat(Spacing$s.SizesDdsSpacingLocalX075)
|
|
21094
21347
|
});
|
|
21095
21348
|
|
|
21096
21349
|
var buttonBase$1 = {
|
|
21097
|
-
border: "".concat(Border$
|
|
21350
|
+
border: "".concat(Border$d.BordersDdsBorderStyleLightStrokeWeight, " solid")
|
|
21098
21351
|
};
|
|
21099
21352
|
var filledButtonColors = {
|
|
21100
21353
|
primary: {
|
|
21101
21354
|
base: {
|
|
21102
|
-
color: Colors$
|
|
21103
|
-
backgroundColor: Colors$
|
|
21104
|
-
borderColor: Colors$
|
|
21355
|
+
color: Colors$j.DdsColorNeutralsWhite,
|
|
21356
|
+
backgroundColor: Colors$j.DdsColorInteractiveBase,
|
|
21357
|
+
borderColor: Colors$j.DdsColorInteractiveBase
|
|
21105
21358
|
},
|
|
21106
21359
|
hover: {
|
|
21107
21360
|
base: {
|
|
21108
|
-
backgroundColor: Colors$
|
|
21109
|
-
borderColor: Colors$
|
|
21361
|
+
backgroundColor: Colors$j.DdsColorInteractiveDark,
|
|
21362
|
+
borderColor: Colors$j.DdsColorInteractiveDark
|
|
21110
21363
|
}
|
|
21111
21364
|
},
|
|
21112
21365
|
active: {
|
|
21113
21366
|
base: {
|
|
21114
|
-
backgroundColor: Colors$
|
|
21115
|
-
borderColor: Colors$
|
|
21367
|
+
backgroundColor: Colors$j.DdsColorInteractiveDarker,
|
|
21368
|
+
borderColor: Colors$j.DdsColorInteractiveDarker
|
|
21116
21369
|
}
|
|
21117
21370
|
}
|
|
21118
21371
|
},
|
|
21119
21372
|
secondary: {
|
|
21120
21373
|
base: {
|
|
21121
|
-
color: Colors$
|
|
21122
|
-
backgroundColor: Colors$
|
|
21123
|
-
borderColor: Colors$
|
|
21374
|
+
color: Colors$j.DdsColorNeutralsGray8,
|
|
21375
|
+
backgroundColor: Colors$j.DdsColorNeutralsGray1,
|
|
21376
|
+
borderColor: Colors$j.DdsColorNeutralsGray5
|
|
21124
21377
|
},
|
|
21125
21378
|
hover: {
|
|
21126
21379
|
base: {
|
|
21127
|
-
backgroundColor: Colors$
|
|
21380
|
+
backgroundColor: Colors$j.DdsColorNeutralsGray2
|
|
21128
21381
|
}
|
|
21129
21382
|
},
|
|
21130
21383
|
active: {
|
|
21131
21384
|
base: {
|
|
21132
|
-
backgroundColor: Colors$
|
|
21385
|
+
backgroundColor: Colors$j.DdsColorNeutralsGray3
|
|
21133
21386
|
}
|
|
21134
21387
|
}
|
|
21135
21388
|
},
|
|
21136
21389
|
danger: {
|
|
21137
21390
|
base: {
|
|
21138
|
-
color: Colors$
|
|
21139
|
-
backgroundColor: Colors$
|
|
21140
|
-
borderColor: Colors$
|
|
21391
|
+
color: Colors$j.DdsColorNeutralsWhite,
|
|
21392
|
+
backgroundColor: Colors$j.DdsColorDangerBase,
|
|
21393
|
+
borderColor: Colors$j.DdsColorDangerBase
|
|
21141
21394
|
},
|
|
21142
21395
|
hover: {
|
|
21143
21396
|
base: {
|
|
21144
|
-
backgroundColor: Colors$
|
|
21145
|
-
borderColor: Colors$
|
|
21397
|
+
backgroundColor: Colors$j.DdsColorDangerDark,
|
|
21398
|
+
borderColor: Colors$j.DdsColorDangerDark
|
|
21146
21399
|
}
|
|
21147
21400
|
},
|
|
21148
21401
|
active: {
|
|
21149
21402
|
base: {
|
|
21150
|
-
backgroundColor: Colors$
|
|
21151
|
-
borderColor: Colors$
|
|
21403
|
+
backgroundColor: Colors$j.DdsColorDangerDarker,
|
|
21404
|
+
borderColor: Colors$j.DdsColorDangerDarker
|
|
21152
21405
|
}
|
|
21153
21406
|
}
|
|
21154
21407
|
}
|
|
21155
21408
|
};
|
|
21156
21409
|
var filledBase = {
|
|
21157
|
-
borderRadius: BorderRadius$
|
|
21158
|
-
boxShadow: OuterShadow$
|
|
21410
|
+
borderRadius: BorderRadius$6.RadiiDdsBorderRadius1Radius,
|
|
21411
|
+
boxShadow: OuterShadow$4.DdsShadow1Onlight
|
|
21159
21412
|
};
|
|
21160
21413
|
|
|
21161
21414
|
var filledPrimaryBase = __assign({}, filledButtonColors.primary.base);
|
|
@@ -21195,7 +21448,7 @@ var roundedDangerHoverBase = __assign({}, filledButtonColors.danger.hover.base);
|
|
|
21195
21448
|
var roundedDangerActiveBase = __assign({}, filledButtonColors.danger.active.base);
|
|
21196
21449
|
|
|
21197
21450
|
var borderlessBase = {
|
|
21198
|
-
borderRadius: BorderRadius$
|
|
21451
|
+
borderRadius: BorderRadius$6.RadiiDdsBorderRadius1Radius,
|
|
21199
21452
|
boxShadow: 'none',
|
|
21200
21453
|
backgroundColor: 'transparent',
|
|
21201
21454
|
borderColor: 'transparent',
|
|
@@ -21203,121 +21456,121 @@ var borderlessBase = {
|
|
|
21203
21456
|
textDecorationColor: 'transparent'
|
|
21204
21457
|
};
|
|
21205
21458
|
var borderlessPrimaryBase = {
|
|
21206
|
-
color: Colors$
|
|
21207
|
-
taxtDecorationColor: Colors$
|
|
21459
|
+
color: Colors$j.DdsColorInteractiveBase,
|
|
21460
|
+
taxtDecorationColor: Colors$j.DdsColorInteractiveBase
|
|
21208
21461
|
};
|
|
21209
21462
|
var borderlessPrimaryHoverBase = {
|
|
21210
|
-
color: Colors$
|
|
21211
|
-
textDecorationColor: Colors$
|
|
21463
|
+
color: Colors$j.DdsColorInteractiveDark,
|
|
21464
|
+
textDecorationColor: Colors$j.DdsColorInteractiveDark
|
|
21212
21465
|
};
|
|
21213
21466
|
var borderlessPrimaryActiveBase = {
|
|
21214
|
-
color: Colors$
|
|
21215
|
-
textDecorationColor: Colors$
|
|
21467
|
+
color: Colors$j.DdsColorInteractiveDarker,
|
|
21468
|
+
textDecorationColor: Colors$j.DdsColorInteractiveDarker
|
|
21216
21469
|
};
|
|
21217
21470
|
var borderlessPrimaryIconHoverBase = {
|
|
21218
|
-
borderColor: Colors$
|
|
21219
|
-
boxShadow: "0 0 0 1px ".concat(Colors$
|
|
21471
|
+
borderColor: Colors$j.DdsColorInteractiveDark,
|
|
21472
|
+
boxShadow: "0 0 0 1px ".concat(Colors$j.DdsColorInteractiveDark)
|
|
21220
21473
|
};
|
|
21221
21474
|
var borderlessPrimaryIconActiveBase = {
|
|
21222
|
-
borderColor: Colors$
|
|
21223
|
-
boxShadow: "0 0 0 1px ".concat(Colors$
|
|
21475
|
+
borderColor: Colors$j.DdsColorInteractiveDarker,
|
|
21476
|
+
boxShadow: "0 0 0 1px ".concat(Colors$j.DdsColorInteractiveDarker)
|
|
21224
21477
|
};
|
|
21225
21478
|
var borderlessSecondaryBase = {
|
|
21226
|
-
color: Colors$
|
|
21479
|
+
color: Colors$j.DdsColorNeutralsGray7
|
|
21227
21480
|
};
|
|
21228
21481
|
var borderlessSecondaryHoverBase = {
|
|
21229
|
-
color: Colors$
|
|
21230
|
-
textDecorationColor: Colors$
|
|
21482
|
+
color: Colors$j.DdsColorNeutralsGray8,
|
|
21483
|
+
textDecorationColor: Colors$j.DdsColorNeutralsGray8
|
|
21231
21484
|
};
|
|
21232
21485
|
var borderlessSecondaryActiveBase = {
|
|
21233
|
-
color: Colors$
|
|
21234
|
-
textDecorationColor: Colors$
|
|
21486
|
+
color: Colors$j.DdsColorNeutralsGray9,
|
|
21487
|
+
textDecorationColor: Colors$j.DdsColorNeutralsGray9
|
|
21235
21488
|
};
|
|
21236
21489
|
var borderlessSecondaryIconHoverBase = {
|
|
21237
|
-
borderColor: Colors$
|
|
21238
|
-
boxShadow: "0 0 0 1px ".concat(Colors$
|
|
21490
|
+
borderColor: Colors$j.DdsColorNeutralsGray8,
|
|
21491
|
+
boxShadow: "0 0 0 1px ".concat(Colors$j.DdsColorNeutralsGray8)
|
|
21239
21492
|
};
|
|
21240
21493
|
var borderlessSecondaryIconActiveBase = {
|
|
21241
|
-
borderColor: Colors$
|
|
21242
|
-
boxShadow: "0 0 0 1px ".concat(Colors$
|
|
21494
|
+
borderColor: Colors$j.DdsColorNeutralsGray9,
|
|
21495
|
+
boxShadow: "0 0 0 1px ".concat(Colors$j.DdsColorNeutralsGray9)
|
|
21243
21496
|
};
|
|
21244
21497
|
var borderlessDangerBase = {
|
|
21245
|
-
color: Colors$
|
|
21498
|
+
color: Colors$j.DdsColorDangerBase
|
|
21246
21499
|
};
|
|
21247
21500
|
var borderlessDangerHoverBase = {
|
|
21248
|
-
color: Colors$
|
|
21249
|
-
textDecorationColor: Colors$
|
|
21501
|
+
color: Colors$j.DdsColorDangerDarker,
|
|
21502
|
+
textDecorationColor: Colors$j.DdsColorDangerDarker
|
|
21250
21503
|
};
|
|
21251
21504
|
var borderlessDangerActiveBase = {
|
|
21252
|
-
color: Colors$
|
|
21253
|
-
textDecorationColor: Colors$
|
|
21505
|
+
color: Colors$j.DdsColorDangerDarkest,
|
|
21506
|
+
textDecorationColor: Colors$j.DdsColorDangerDarkest
|
|
21254
21507
|
};
|
|
21255
21508
|
var borderlessDangerIconHoverBase = {
|
|
21256
|
-
borderColor: Colors$
|
|
21257
|
-
boxShadow: "0 0 0 1px ".concat(Colors$
|
|
21509
|
+
borderColor: Colors$j.DdsColorDangerDark,
|
|
21510
|
+
boxShadow: "0 0 0 1px ".concat(Colors$j.DdsColorDangerDark)
|
|
21258
21511
|
};
|
|
21259
21512
|
var borderlessDangerIconActiveBase = {
|
|
21260
|
-
borderColor: Colors$
|
|
21261
|
-
boxShadow: "0 0 0 1px ".concat(Colors$
|
|
21513
|
+
borderColor: Colors$j.DdsColorDangerDarker,
|
|
21514
|
+
boxShadow: "0 0 0 1px ".concat(Colors$j.DdsColorDangerDarker)
|
|
21262
21515
|
};
|
|
21263
21516
|
var ghostBase = {
|
|
21264
|
-
borderRadius: BorderRadius$
|
|
21517
|
+
borderRadius: BorderRadius$6.RadiiDdsBorderRadius1Radius,
|
|
21265
21518
|
boxShadow: 'none',
|
|
21266
21519
|
backgroundColor: 'transparent'
|
|
21267
21520
|
};
|
|
21268
21521
|
var ghostPrimaryBase = {
|
|
21269
|
-
color: Colors$
|
|
21270
|
-
borderColor: Colors$
|
|
21522
|
+
color: Colors$j.DdsColorInteractiveBase,
|
|
21523
|
+
borderColor: Colors$j.DdsColorInteractiveBase
|
|
21271
21524
|
};
|
|
21272
21525
|
var ghostPrimaryHoverBase = {
|
|
21273
|
-
color: Colors$
|
|
21274
|
-
borderColor: Colors$
|
|
21275
|
-
boxShadow: "0 0 0 1px ".concat(Colors$
|
|
21526
|
+
color: Colors$j.DdsColorInteractiveDark,
|
|
21527
|
+
borderColor: Colors$j.DdsColorInteractiveDark,
|
|
21528
|
+
boxShadow: "0 0 0 1px ".concat(Colors$j.DdsColorInteractiveDark)
|
|
21276
21529
|
};
|
|
21277
21530
|
var ghostPrimaryActiveBase = {
|
|
21278
|
-
color: Colors$
|
|
21279
|
-
borderColor: Colors$
|
|
21280
|
-
boxShadow: "0 0 0 1px ".concat(Colors$
|
|
21531
|
+
color: Colors$j.DdsColorInteractiveDarker,
|
|
21532
|
+
borderColor: Colors$j.DdsColorInteractiveDarker,
|
|
21533
|
+
boxShadow: "0 0 0 1px ".concat(Colors$j.DdsColorInteractiveDarker)
|
|
21281
21534
|
};
|
|
21282
21535
|
var ghostSecondaryBase = {
|
|
21283
|
-
color: Colors$
|
|
21284
|
-
borderColor: Colors$
|
|
21536
|
+
color: Colors$j.DdsColorNeutralsGray7,
|
|
21537
|
+
borderColor: Colors$j.DdsColorNeutralsGray7
|
|
21285
21538
|
};
|
|
21286
21539
|
var ghostSecondaryHoverBase = {
|
|
21287
|
-
color: Colors$
|
|
21288
|
-
borderColor: Colors$
|
|
21289
|
-
boxShadow: "0 0 0 1px ".concat(Colors$
|
|
21540
|
+
color: Colors$j.DdsColorNeutralsGray8,
|
|
21541
|
+
borderColor: Colors$j.DdsColorNeutralsGray8,
|
|
21542
|
+
boxShadow: "0 0 0 1px ".concat(Colors$j.DdsColorNeutralsGray8)
|
|
21290
21543
|
};
|
|
21291
21544
|
var ghostSecondaryActiveBase = {
|
|
21292
|
-
color: Colors$
|
|
21293
|
-
borderColor: Colors$
|
|
21294
|
-
boxShadow: "0 0 0 1px ".concat(Colors$
|
|
21545
|
+
color: Colors$j.DdsColorNeutralsGray9,
|
|
21546
|
+
borderColor: Colors$j.DdsColorNeutralsGray9,
|
|
21547
|
+
boxShadow: "0 0 0 1px ".concat(Colors$j.DdsColorNeutralsGray9)
|
|
21295
21548
|
};
|
|
21296
21549
|
var ghostDangerBase = {
|
|
21297
|
-
color: Colors$
|
|
21298
|
-
borderColor: Colors$
|
|
21550
|
+
color: Colors$j.DdsColorDangerBase,
|
|
21551
|
+
borderColor: Colors$j.DdsColorDangerBase
|
|
21299
21552
|
};
|
|
21300
21553
|
var ghostDangerHoverBase = {
|
|
21301
|
-
color: Colors$
|
|
21302
|
-
borderColor: Colors$
|
|
21303
|
-
boxShadow: "0 0 0 1px ".concat(Colors$
|
|
21554
|
+
color: Colors$j.DdsColorDangerDark,
|
|
21555
|
+
borderColor: Colors$j.DdsColorDangerDark,
|
|
21556
|
+
boxShadow: "0 0 0 1px ".concat(Colors$j.DdsColorDangerDark)
|
|
21304
21557
|
};
|
|
21305
21558
|
var ghostDangerActiveBase = {
|
|
21306
|
-
color: Colors$
|
|
21307
|
-
borderColor: Colors$
|
|
21308
|
-
boxShadow: "0 0 0 1px ".concat(Colors$
|
|
21559
|
+
color: Colors$j.DdsColorDangerDarkest,
|
|
21560
|
+
borderColor: Colors$j.DdsColorDangerDarkest,
|
|
21561
|
+
boxShadow: "0 0 0 1px ".concat(Colors$j.DdsColorDangerDarkest)
|
|
21309
21562
|
};
|
|
21310
21563
|
var roundedBase = {
|
|
21311
21564
|
borderRadius: '100px',
|
|
21312
|
-
boxShadow: OuterShadow$
|
|
21565
|
+
boxShadow: OuterShadow$4.DdsShadow1Onlight
|
|
21313
21566
|
};
|
|
21314
21567
|
|
|
21315
|
-
var focusBase$
|
|
21568
|
+
var focusBase$3 = __assign({}, focusVisible);
|
|
21316
21569
|
|
|
21317
21570
|
var buttonTokens = {
|
|
21318
21571
|
base: buttonBase$1,
|
|
21319
21572
|
focus: {
|
|
21320
|
-
base: focusBase$
|
|
21573
|
+
base: focusBase$3
|
|
21321
21574
|
},
|
|
21322
21575
|
sizes: {
|
|
21323
21576
|
small: {
|
|
@@ -21330,7 +21583,7 @@ var buttonTokens = {
|
|
|
21330
21583
|
text: {
|
|
21331
21584
|
base: textSmallBase
|
|
21332
21585
|
},
|
|
21333
|
-
iconWithTextMargin: Spacing$
|
|
21586
|
+
iconWithTextMargin: Spacing$s.SizesDdsSpacingLocalX05
|
|
21334
21587
|
},
|
|
21335
21588
|
medium: {
|
|
21336
21589
|
justIcon: {
|
|
@@ -21342,7 +21595,7 @@ var buttonTokens = {
|
|
|
21342
21595
|
text: {
|
|
21343
21596
|
base: textMediumBase
|
|
21344
21597
|
},
|
|
21345
|
-
iconWithTextMargin: Spacing$
|
|
21598
|
+
iconWithTextMargin: Spacing$s.SizesDdsSpacingLocalX075
|
|
21346
21599
|
},
|
|
21347
21600
|
large: {
|
|
21348
21601
|
justIcon: {
|
|
@@ -21354,7 +21607,7 @@ var buttonTokens = {
|
|
|
21354
21607
|
text: {
|
|
21355
21608
|
base: textLargeBase
|
|
21356
21609
|
},
|
|
21357
|
-
iconWithTextMargin: Spacing$
|
|
21610
|
+
iconWithTextMargin: Spacing$s.SizesDdsSpacingLocalX1
|
|
21358
21611
|
},
|
|
21359
21612
|
tiny: {
|
|
21360
21613
|
justIcon: {
|
|
@@ -21366,7 +21619,7 @@ var buttonTokens = {
|
|
|
21366
21619
|
text: {
|
|
21367
21620
|
base: textTinyBase
|
|
21368
21621
|
},
|
|
21369
|
-
iconWithTextMargin: Spacing$
|
|
21622
|
+
iconWithTextMargin: Spacing$s.SizesDdsSpacingLocalX05
|
|
21370
21623
|
}
|
|
21371
21624
|
},
|
|
21372
21625
|
appearance: {
|
|
@@ -21517,9 +21770,9 @@ var buttonTokens = {
|
|
|
21517
21770
|
}
|
|
21518
21771
|
};
|
|
21519
21772
|
|
|
21520
|
-
var Colors$
|
|
21773
|
+
var Colors$i = ddsBaseTokens.colors;
|
|
21521
21774
|
var ciclreBase = {
|
|
21522
|
-
stroke: Colors$
|
|
21775
|
+
stroke: Colors$i.DdsColorInteractiveBase
|
|
21523
21776
|
};
|
|
21524
21777
|
var spinnerTokens = {
|
|
21525
21778
|
circle: {
|
|
@@ -21530,7 +21783,7 @@ var spinnerTokens = {
|
|
|
21530
21783
|
var StyledSpinner = styled$3.svg.withConfig({
|
|
21531
21784
|
displayName: "Spinner__StyledSpinner",
|
|
21532
21785
|
componentId: "sc-13hsttm-0"
|
|
21533
|
-
})(templateObject_1$
|
|
21786
|
+
})(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["\n display: block;\n animation: rotate 2s linear infinite;\n animation-delay: ", "ms;\n width: ", ";\n height: ", ";\n\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n }\n"], ["\n display: block;\n animation: rotate 2s linear infinite;\n animation-delay: ", "ms;\n width: ", ";\n height: ", ";\n\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n }\n"])), function (_a) {
|
|
21534
21787
|
var outerAnimationDelay = _a.outerAnimationDelay;
|
|
21535
21788
|
return outerAnimationDelay;
|
|
21536
21789
|
}, function (_a) {
|
|
@@ -21543,7 +21796,7 @@ var StyledSpinner = styled$3.svg.withConfig({
|
|
|
21543
21796
|
var Circle = styled$3.circle.withConfig({
|
|
21544
21797
|
displayName: "Spinner__Circle",
|
|
21545
21798
|
componentId: "sc-13hsttm-1"
|
|
21546
|
-
})(templateObject_2$
|
|
21799
|
+
})(templateObject_2$z || (templateObject_2$z = __makeTemplateObject(["\n ", "\n stroke: ", ";\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n animation-delay: ", "ms;\n"], ["\n ", "\n stroke: ", ";\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n animation-delay: ", "ms;\n"])), spinnerTokens.circle.base, function (_a) {
|
|
21547
21800
|
var color = _a.color;
|
|
21548
21801
|
return color && getTextColor(color);
|
|
21549
21802
|
}, function (_a) {
|
|
@@ -21590,7 +21843,7 @@ function Spinner(_a) {
|
|
|
21590
21843
|
}))]
|
|
21591
21844
|
}));
|
|
21592
21845
|
}
|
|
21593
|
-
var templateObject_1$
|
|
21846
|
+
var templateObject_1$L, templateObject_2$z;
|
|
21594
21847
|
|
|
21595
21848
|
var ButtonWrapper$1 = styled$3.button.withConfig({
|
|
21596
21849
|
displayName: "Buttonstyles__ButtonWrapper",
|
|
@@ -21601,24 +21854,24 @@ var ButtonWrapper$1 = styled$3.button.withConfig({
|
|
|
21601
21854
|
}, function (_a) {
|
|
21602
21855
|
var appearance = _a.appearance,
|
|
21603
21856
|
purpose = _a.purpose;
|
|
21604
|
-
return Ae(templateObject_1$
|
|
21857
|
+
return Ae(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n ", "\n ", "\n\n &:hover {\n ", "\n }\n\n &:active {\n ", "\n }\n "], ["\n ", "\n ", "\n\n &:hover {\n ", "\n }\n\n &:active {\n ", "\n }\n "])), buttonTokens.appearance[appearance].base, buttonTokens.appearance[appearance][purpose].base, buttonTokens.appearance[appearance][purpose].hover.base, buttonTokens.appearance[appearance][purpose].active.base);
|
|
21605
21858
|
}, function (_a) {
|
|
21606
21859
|
var hasIcon = _a.hasIcon,
|
|
21607
21860
|
hasLabel = _a.hasLabel,
|
|
21608
21861
|
appearance = _a.appearance,
|
|
21609
21862
|
purpose = _a.purpose;
|
|
21610
|
-
return hasIcon && !hasLabel && appearance === 'borderless' && Ae(templateObject_2$
|
|
21863
|
+
return hasIcon && !hasLabel && appearance === 'borderless' && Ae(templateObject_2$y || (templateObject_2$y = __makeTemplateObject(["\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n "], ["\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n "])), buttonTokens.appearance[appearance][purpose].justIcon.hover.base, buttonTokens.appearance[appearance][purpose].justIcon.active.base);
|
|
21611
21864
|
}, function (_a) {
|
|
21612
21865
|
var size = _a.size,
|
|
21613
21866
|
hasLabel = _a.hasLabel;
|
|
21614
|
-
return hasLabel ? Ae(templateObject_3$
|
|
21867
|
+
return hasLabel ? Ae(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].text.base) : Ae(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIcon.base);
|
|
21615
21868
|
}, function (_a) {
|
|
21616
21869
|
var fullWidth = _a.fullWidth,
|
|
21617
21870
|
hasIcon = _a.hasIcon,
|
|
21618
21871
|
hasLabel = _a.hasLabel,
|
|
21619
21872
|
isLoading = _a.isLoading,
|
|
21620
21873
|
iconPosition = _a.iconPosition;
|
|
21621
|
-
return fullWidth && (!hasIcon || !hasLabel || isLoading ? Ae(templateObject_5$
|
|
21874
|
+
return fullWidth && (!hasIcon || !hasLabel || isLoading ? Ae(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "]))) : hasIcon && hasLabel && iconPosition === 'left' ? Ae(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\n justify-content: left;\n "], ["\n justify-content: left;\n "]))) : Ae(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject(["\n justify-content: space-between;\n "], ["\n justify-content: space-between;\n "]))));
|
|
21622
21875
|
}, buttonTokens.focus.base, typographyTokens.selection.base);
|
|
21623
21876
|
var StyledIconWrapperSpan = styled$3.span.withConfig({
|
|
21624
21877
|
displayName: "Buttonstyles__StyledIconWrapperSpan",
|
|
@@ -21626,13 +21879,13 @@ var StyledIconWrapperSpan = styled$3.span.withConfig({
|
|
|
21626
21879
|
})(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n ", "\n"])), function (_a) {
|
|
21627
21880
|
var size = _a.size,
|
|
21628
21881
|
iconPosition = _a.iconPosition;
|
|
21629
|
-
return iconPosition === 'left' ? Ae(templateObject_9$
|
|
21882
|
+
return iconPosition === 'left' ? Ae(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["\n margin-inline-end: ", ";\n "], ["\n margin-inline-end: ", ";\n "])), buttonTokens.sizes[size].iconWithTextMargin) : iconPosition === 'right' ? Ae(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["\n margin-inline-start: ", ";\n "], ["\n margin-inline-start: ", ";\n "])), buttonTokens.sizes[size].iconWithTextMargin) : Ae(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIconWrapper.base);
|
|
21630
21883
|
});
|
|
21631
21884
|
var Label$2 = styled$3.span.withConfig({
|
|
21632
21885
|
displayName: "Buttonstyles__Label",
|
|
21633
21886
|
componentId: "sc-14dutqk-2"
|
|
21634
21887
|
})(templateObject_13 || (templateObject_13 = __makeTemplateObject([""], [""])));
|
|
21635
|
-
var templateObject_1$
|
|
21888
|
+
var templateObject_1$K, templateObject_2$y, templateObject_3$n, templateObject_4$i, templateObject_5$c, templateObject_6$b, templateObject_7$8, templateObject_8$6, templateObject_9$4, templateObject_10$4, templateObject_11$2, templateObject_12$1, templateObject_13;
|
|
21636
21889
|
|
|
21637
21890
|
var Button$1 = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
21638
21891
|
var label = _a.label,
|
|
@@ -21707,26 +21960,26 @@ var Button$1 = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
21707
21960
|
}));
|
|
21708
21961
|
});
|
|
21709
21962
|
|
|
21710
|
-
var Colors$
|
|
21711
|
-
Spacing$
|
|
21712
|
-
var TextInput$
|
|
21963
|
+
var Colors$h = ddsBaseTokens.colors,
|
|
21964
|
+
Spacing$r = ddsBaseTokens.spacing;
|
|
21965
|
+
var TextInput$1 = ddsReferenceTokens.textInput;
|
|
21713
21966
|
var inputMultilineBase = {
|
|
21714
|
-
paddingBottom: Spacing$
|
|
21967
|
+
paddingBottom: Spacing$r.SizesDdsSpacingLocalX05
|
|
21715
21968
|
};
|
|
21716
21969
|
var inputMultilineWithLabelBase = {
|
|
21717
|
-
paddingTop: Spacing$
|
|
21970
|
+
paddingTop: Spacing$r.SizesDdsSpacingLocalX2
|
|
21718
21971
|
};
|
|
21719
21972
|
var inputMultilineNoLabelBase = {
|
|
21720
|
-
paddingTop: Spacing$
|
|
21973
|
+
paddingTop: Spacing$r.SizesDdsSpacingLocalX075
|
|
21721
21974
|
};
|
|
21722
21975
|
var inputLabelMultilineBase = {
|
|
21723
|
-
backgroundColor: Colors$
|
|
21724
|
-
padding: "".concat(Spacing$
|
|
21976
|
+
backgroundColor: Colors$h.DdsColorNeutralsWhite,
|
|
21977
|
+
padding: "".concat(Spacing$r.SizesDdsSpacingLocalX075NumberPx - 1, "px ").concat(Spacing$r.SizesDdsSpacingLocalX1, " 0px ").concat(Spacing$r.SizesDdsSpacingLocalX1NumberPx - 1, "px")
|
|
21725
21978
|
};
|
|
21726
21979
|
var defaultWidth$2 = '320px';
|
|
21727
21980
|
var textInputTokens = {
|
|
21728
|
-
general: TextInput$
|
|
21729
|
-
focusColor: TextInput$
|
|
21981
|
+
general: TextInput$1,
|
|
21982
|
+
focusColor: TextInput$1.input.focus.borderColor,
|
|
21730
21983
|
multiline: {
|
|
21731
21984
|
base: inputMultilineBase,
|
|
21732
21985
|
withLabel: {
|
|
@@ -21746,198 +21999,52 @@ var textInputTokens = {
|
|
|
21746
21999
|
},
|
|
21747
22000
|
container: {
|
|
21748
22001
|
multiline: {
|
|
21749
|
-
withLabel: {
|
|
21750
|
-
height: '99px'
|
|
21751
|
-
},
|
|
21752
|
-
noLabel: {
|
|
21753
|
-
height: '78px'
|
|
21754
|
-
}
|
|
21755
|
-
}
|
|
21756
|
-
}
|
|
21757
|
-
};
|
|
21758
|
-
|
|
21759
|
-
var Spacing$
|
|
21760
|
-
var charCounterBase = {
|
|
21761
|
-
padding: "".concat(Spacing$
|
|
21762
|
-
};
|
|
21763
|
-
var charCounterTokens = {
|
|
21764
|
-
base: charCounterBase
|
|
21765
|
-
};
|
|
21766
|
-
|
|
21767
|
-
var Wrapper$6 = styled$3(Typography).withConfig({
|
|
21768
|
-
displayName: "CharCounter__Wrapper",
|
|
21769
|
-
componentId: "sc-qty1z2-0"
|
|
21770
|
-
})(templateObject_1$
|
|
21771
|
-
var nextUniqueId$e = 0;
|
|
21772
|
-
|
|
21773
|
-
function CharCounter(_a) {
|
|
21774
|
-
var current = _a.current,
|
|
21775
|
-
max = _a.max,
|
|
21776
|
-
id = _a.id,
|
|
21777
|
-
rest = __rest(_a, ["current", "max", "id"]);
|
|
21778
|
-
|
|
21779
|
-
var uniqueId = useState(id !== null && id !== void 0 ? id : "characterCounter-".concat(nextUniqueId$e++))[0];
|
|
21780
|
-
return jsxRuntime.exports.jsxs(Wrapper$6, __assign({
|
|
21781
|
-
forwardedAs: "div",
|
|
21782
|
-
typographyType: "supportingStyleHelperText01",
|
|
21783
|
-
id: uniqueId,
|
|
21784
|
-
"aria-label": "".concat(current, " av ").concat(max, " tegn skrevet")
|
|
21785
|
-
}, rest, {
|
|
21786
|
-
children: [current, "/", max]
|
|
21787
|
-
}));
|
|
21788
|
-
}
|
|
21789
|
-
var templateObject_1$P;
|
|
21790
|
-
|
|
21791
|
-
var Colors$i = ddsBaseTokens.colors,
|
|
21792
|
-
Spacing$q = ddsBaseTokens.spacing,
|
|
21793
|
-
FontPackages$g = ddsBaseTokens.fontPackages,
|
|
21794
|
-
Border$e = ddsBaseTokens.border;
|
|
21795
|
-
var TextInput$2 = ddsReferenceTokens.textInput;
|
|
21796
|
-
var inputBase$2 = {
|
|
21797
|
-
border: " ".concat(Border$e.BordersDdsBorderStyleLightStrokeWeight, " solid ").concat(Colors$i.DdsColorNeutralsGray5),
|
|
21798
|
-
backgroundColor: Colors$i.DdsColorNeutralsWhite
|
|
21799
|
-
};
|
|
21800
|
-
var inputWithLabelBase = {
|
|
21801
|
-
padding: "".concat(Spacing$q.SizesDdsSpacingLocalX075NumberPx + FontPackages$g.supportingStyle_label_01.numbers.lineHeightNumber * 0.01 * FontPackages$g.supportingStyle_label_01.numbers.fontSizeNumber, "px ").concat(Spacing$q.SizesDdsSpacingLocalX1, " ").concat(Spacing$q.SizesDdsSpacingLocalX075, " ").concat(Spacing$q.SizesDdsSpacingLocalX1)
|
|
21802
|
-
};
|
|
21803
|
-
var inputNoLabelBase$1 = {
|
|
21804
|
-
padding: "".concat(Spacing$q.SizesDdsSpacingLocalX075, " ").concat(Spacing$q.SizesDdsSpacingLocalX1, " ").concat(Spacing$q.SizesDdsSpacingLocalX075, " ").concat(Spacing$q.SizesDdsSpacingLocalX1)
|
|
21805
|
-
};
|
|
21806
|
-
var inputDisabledBase = {
|
|
21807
|
-
color: Colors$i.DdsColorNeutralsGray7,
|
|
21808
|
-
backgroundColor: Colors$i.DdsColorNeutralsGray1
|
|
21809
|
-
};
|
|
21810
|
-
|
|
21811
|
-
var inputErrorBase = __assign({}, dangerInputfield);
|
|
21812
|
-
|
|
21813
|
-
var inputErrorHoverBase = __assign({}, hoverDangerInputfield);
|
|
21814
|
-
|
|
21815
|
-
var inputErrorFocusBase = __assign({}, focusDangerInputfield);
|
|
21816
|
-
|
|
21817
|
-
var inputReadOnlyBase = {
|
|
21818
|
-
border: 'none',
|
|
21819
|
-
backgroundColor: 'transparent',
|
|
21820
|
-
paddingLeft: Spacing$q.SizesDdsSpacingLocalX1
|
|
21821
|
-
};
|
|
21822
|
-
var inputLabelBase = {
|
|
21823
|
-
padding: "".concat(Spacing$q.SizesDdsSpacingLocalX075, " ").concat(Spacing$q.SizesDdsSpacingLocalX1)
|
|
21824
|
-
};
|
|
21825
|
-
var inputLabelHoverBase = {
|
|
21826
|
-
color: TextInput$2.label.hover.textColor
|
|
21827
|
-
};
|
|
21828
|
-
var inputLabelFocusBase = {
|
|
21829
|
-
color: TextInput$2.label.focus.textColor
|
|
21830
|
-
};
|
|
21831
|
-
var inputLabelDisabledBase = {
|
|
21832
|
-
color: Colors$i.DdsColorNeutralsGray6
|
|
21833
|
-
};
|
|
21834
|
-
var inputTokens = {
|
|
21835
|
-
general: TextInput$2,
|
|
21836
|
-
base: inputBase$2,
|
|
21837
|
-
focusColor: TextInput$2.input.focus.borderColor,
|
|
21838
|
-
withLabel: {
|
|
21839
|
-
base: inputWithLabelBase
|
|
21840
|
-
},
|
|
21841
|
-
noLabel: {
|
|
21842
|
-
base: inputNoLabelBase$1
|
|
21843
|
-
},
|
|
21844
|
-
readOnly: {
|
|
21845
|
-
base: inputReadOnlyBase
|
|
21846
|
-
},
|
|
21847
|
-
disabled: {
|
|
21848
|
-
base: inputDisabledBase
|
|
21849
|
-
},
|
|
21850
|
-
error: {
|
|
21851
|
-
base: inputErrorBase,
|
|
21852
|
-
hover: {
|
|
21853
|
-
base: inputErrorHoverBase
|
|
21854
|
-
},
|
|
21855
|
-
focus: {
|
|
21856
|
-
base: inputErrorFocusBase
|
|
21857
|
-
}
|
|
21858
|
-
},
|
|
21859
|
-
label: {
|
|
21860
|
-
base: inputLabelBase,
|
|
21861
|
-
hover: {
|
|
21862
|
-
base: inputLabelHoverBase
|
|
21863
|
-
},
|
|
21864
|
-
focus: {
|
|
21865
|
-
base: inputLabelFocusBase
|
|
21866
|
-
},
|
|
21867
|
-
disabled: {
|
|
21868
|
-
base: inputLabelDisabledBase
|
|
21869
|
-
}
|
|
21870
|
-
}
|
|
21871
|
-
};
|
|
21872
|
-
|
|
21873
|
-
var TextInput$1 = ddsReferenceTokens.textInput;
|
|
21874
|
-
var Border$d = ddsBaseTokens.border;
|
|
21875
|
-
|
|
21876
|
-
var stylingBase = __assign({
|
|
21877
|
-
color: TextInput$1.input.textColor,
|
|
21878
|
-
borderRadius: TextInput$1.input.borderRadius,
|
|
21879
|
-
border: "".concat(Border$d.BordersDdsBorderStyleLightStrokeWeight, " solid"),
|
|
21880
|
-
borderColor: TextInput$1.input.borderColor
|
|
21881
|
-
}, TextInput$1.input.font);
|
|
21882
|
-
|
|
21883
|
-
var focusBase$3 = __assign({}, focusInputfield);
|
|
21884
|
-
|
|
21885
|
-
var hoverBase$2 = __assign({}, hoverInputfield);
|
|
21886
|
-
|
|
21887
|
-
var inputFieldStylingBase = function inputFieldStylingBase() {
|
|
21888
|
-
return Ae(templateObject_1$O || (templateObject_1$O = __makeTemplateObject(["\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n &[type='text'],\n &[type='password'],\n &[type='number'],\n &[type='tel'],\n &[type='date'],\n &[type='url'],\n &[type='email'],\n &[type='search'],\n &[type='datetime-local'] {\n -webkit-appearance: none;\n }\n &::selection {\n ", "\n }\n ", "\n\n &:focus:enabled:read-write, &:active:enabled:read-write {\n ", "\n }\n &:focus {\n outline: none;\n }\n\n &:hover:enabled:read-write {\n ", "\n }\n "], ["\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n &[type='text'],\n &[type='password'],\n &[type='number'],\n &[type='tel'],\n &[type='date'],\n &[type='url'],\n &[type='email'],\n &[type='search'],\n &[type='datetime-local'] {\n -webkit-appearance: none;\n }\n &::selection {\n ", "\n }\n ", "\n\n &:focus:enabled:read-write, &:active:enabled:read-write {\n ", "\n }\n &:focus {\n outline: none;\n }\n\n &:hover:enabled:read-write {\n ", "\n }\n "])), typographyTokens.selection.base, stylingBase, focusBase$3, hoverBase$2);
|
|
21889
|
-
};
|
|
21890
|
-
var templateObject_1$O;
|
|
21891
|
-
|
|
21892
|
-
var inputStyling = function inputStyling(_a) {
|
|
21893
|
-
var readOnly = _a.readOnly,
|
|
21894
|
-
hasLabel = _a.hasLabel,
|
|
21895
|
-
disabled = _a.disabled,
|
|
21896
|
-
hasErrorMessage = _a.hasErrorMessage;
|
|
21897
|
-
return Ae(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\n ", "\n ", "\n box-sizing: border-box;\n box-shadow: none;\n -webkit-appearance: textfield;\n ", ";\n\n &:hover:enabled:read-write ~ label {\n ", "\n }\n &:focus:enabled:read-write ~ label {\n ", "\n }\n\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n box-sizing: border-box;\n box-shadow: none;\n -webkit-appearance: textfield;\n ", ";\n\n &:hover:enabled:read-write ~ label {\n ", "\n }\n &:focus:enabled:read-write ~ label {\n ", "\n }\n\n ", "\n ", "\n ", "\n "])), inputFieldStylingBase, inputTokens.base, hasLabel ? Ae(templateObject_1$N || (templateObject_1$N = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.withLabel.base) : Ae(templateObject_2$z || (templateObject_2$z = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.noLabel.base), inputTokens.label.hover.base, inputTokens.label.focus.base, disabled && Ae(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["\n cursor: not-allowed;\n ", "\n "], ["\n cursor: not-allowed;\n ", "\n "])), inputTokens.disabled.base), hasErrorMessage && Ae(templateObject_4$j || (templateObject_4$j = __makeTemplateObject(["\n ", "\n &:hover:enabled:read-write {\n ", "\n }\n &:focus:enabled:read-write,\n &:active:enabled:read-write {\n ", "\n }\n "], ["\n ", "\n &:hover:enabled:read-write {\n ", "\n }\n &:focus:enabled:read-write,\n &:active:enabled:read-write {\n ", "\n }\n "])), inputTokens.error.base, inputTokens.error.hover.base, inputTokens.error.focus.base), readOnly && Ae(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n cursor: default;\n ", "\n "], ["\n cursor: default;\n ", "\n "])), inputTokens.readOnly.base));
|
|
21898
|
-
};
|
|
21899
|
-
var Input$4 = styled$3.input.withConfig({
|
|
21900
|
-
displayName: "Inputstyles__Input",
|
|
21901
|
-
componentId: "sc-1oz9x8w-0"
|
|
21902
|
-
})(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
21903
|
-
var hasLabel = _a.hasLabel,
|
|
21904
|
-
disabled = _a.disabled,
|
|
21905
|
-
readOnly = _a.readOnly,
|
|
21906
|
-
hasErrorMessage = _a.hasErrorMessage;
|
|
21907
|
-
return inputStyling({
|
|
21908
|
-
readOnly: readOnly,
|
|
21909
|
-
hasLabel: hasLabel,
|
|
21910
|
-
disabled: disabled,
|
|
21911
|
-
hasErrorMessage: hasErrorMessage
|
|
21912
|
-
});
|
|
21913
|
-
});
|
|
21914
|
-
var SingleLineLabel = styled$3(Typography).withConfig({
|
|
21915
|
-
displayName: "Inputstyles__SingleLineLabel",
|
|
21916
|
-
componentId: "sc-1oz9x8w-1"
|
|
21917
|
-
})(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n transition: color 0.2s, background-color 0.2s;\n ", "\n ", "\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n transition: color 0.2s, background-color 0.2s;\n ", "\n ", "\n"])), inputTokens.label.base, function (_a) {
|
|
21918
|
-
var disabled = _a.disabled;
|
|
21919
|
-
return disabled && Ae(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.label.disabled.base);
|
|
21920
|
-
});
|
|
21921
|
-
var InputContainer$2 = styled$3.div.withConfig({
|
|
21922
|
-
displayName: "Inputstyles__InputContainer",
|
|
21923
|
-
componentId: "sc-1oz9x8w-2"
|
|
21924
|
-
})(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
|
|
21925
|
-
var OuterInputContainer = styled$3.div.withConfig({
|
|
21926
|
-
displayName: "Inputstyles__OuterInputContainer",
|
|
21927
|
-
componentId: "sc-1oz9x8w-3"
|
|
21928
|
-
})(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n width: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n width: ", ";\n"])), function (_a) {
|
|
21929
|
-
var width = _a.width;
|
|
21930
|
-
return width;
|
|
21931
|
-
});
|
|
21932
|
-
var templateObject_1$N, templateObject_2$z, templateObject_3$o, templateObject_4$j, templateObject_5$c, templateObject_6$b, templateObject_7$8, templateObject_8$5, templateObject_9$4, templateObject_10$4, templateObject_11$2;
|
|
22002
|
+
withLabel: {
|
|
22003
|
+
height: '99px'
|
|
22004
|
+
},
|
|
22005
|
+
noLabel: {
|
|
22006
|
+
height: '78px'
|
|
22007
|
+
}
|
|
22008
|
+
}
|
|
22009
|
+
}
|
|
22010
|
+
};
|
|
22011
|
+
|
|
22012
|
+
var Spacing$q = ddsBaseTokens.spacing;
|
|
22013
|
+
var charCounterBase = {
|
|
22014
|
+
padding: "".concat(Spacing$q.SizesDdsSpacingLocalX025, " ").concat(Spacing$q.SizesDdsSpacingLocalX05)
|
|
22015
|
+
};
|
|
22016
|
+
var charCounterTokens = {
|
|
22017
|
+
base: charCounterBase
|
|
22018
|
+
};
|
|
22019
|
+
|
|
22020
|
+
var Wrapper$6 = styled$3(Typography).withConfig({
|
|
22021
|
+
displayName: "CharCounter__Wrapper",
|
|
22022
|
+
componentId: "sc-qty1z2-0"
|
|
22023
|
+
})(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n margin-left: auto;\n ", "\n"], ["\n margin-left: auto;\n ", "\n"])), charCounterTokens.base);
|
|
22024
|
+
var nextUniqueId$e = 0;
|
|
22025
|
+
|
|
22026
|
+
function CharCounter(_a) {
|
|
22027
|
+
var current = _a.current,
|
|
22028
|
+
max = _a.max,
|
|
22029
|
+
id = _a.id,
|
|
22030
|
+
rest = __rest(_a, ["current", "max", "id"]);
|
|
21933
22031
|
|
|
21934
|
-
var
|
|
21935
|
-
|
|
22032
|
+
var uniqueId = useState(id !== null && id !== void 0 ? id : "characterCounter-".concat(nextUniqueId$e++))[0];
|
|
22033
|
+
return jsxRuntime.exports.jsxs(Wrapper$6, __assign({
|
|
22034
|
+
forwardedAs: "div",
|
|
22035
|
+
typographyType: "supportingStyleHelperText01",
|
|
22036
|
+
id: uniqueId,
|
|
22037
|
+
"aria-label": "".concat(current, " av ").concat(max, " tegn skrevet")
|
|
22038
|
+
}, rest, {
|
|
22039
|
+
children: [current, "/", max]
|
|
22040
|
+
}));
|
|
22041
|
+
}
|
|
22042
|
+
var templateObject_1$J;
|
|
21936
22043
|
|
|
21937
22044
|
var TextArea = styled$3.textarea.withConfig({
|
|
21938
22045
|
displayName: "TextInputstyles__TextArea",
|
|
21939
22046
|
componentId: "sc-165zflr-0"
|
|
21940
|
-
})(templateObject_3$
|
|
22047
|
+
})(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n ", "\n resize: vertical;\n height: auto;\n ", "\n min-height: ", ";\n ", "\n ", "\n\n &:hover:enabled:read-write ~ label {\n background-color: ", ";\n }\n"], ["\n ", "\n resize: vertical;\n height: auto;\n ", "\n min-height: ", ";\n ", "\n ", "\n\n &:hover:enabled:read-write ~ label {\n background-color: ", ";\n }\n"])), function (_a) {
|
|
21941
22048
|
var hasLabel = _a.hasLabel,
|
|
21942
22049
|
disabled = _a.disabled,
|
|
21943
22050
|
readOnly = _a.readOnly,
|
|
@@ -21953,7 +22060,7 @@ var TextArea = styled$3.textarea.withConfig({
|
|
|
21953
22060
|
return hasLabel ? textInputTokens.container.multiline.withLabel.height : textInputTokens.container.multiline.noLabel.height;
|
|
21954
22061
|
}, textInputTokens.multiline.base, function (_a) {
|
|
21955
22062
|
var hasLabel = _a.hasLabel;
|
|
21956
|
-
return hasLabel ? Ae(templateObject_1$
|
|
22063
|
+
return hasLabel ? Ae(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), textInputTokens.multiline.withLabel.base) : Ae(templateObject_2$x || (templateObject_2$x = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), textInputTokens.multiline.noLabel.base);
|
|
21957
22064
|
}, function (_a) {
|
|
21958
22065
|
var hasErrorMessage = _a.hasErrorMessage;
|
|
21959
22066
|
return hasErrorMessage ? inputTokens.error.hover.base.backgroundColor : inputTokens.general.input.hover.backgroundColor;
|
|
@@ -21961,11 +22068,11 @@ var TextArea = styled$3.textarea.withConfig({
|
|
|
21961
22068
|
var MessageContainer = styled$3.div.withConfig({
|
|
21962
22069
|
displayName: "TextInputstyles__MessageContainer",
|
|
21963
22070
|
componentId: "sc-165zflr-1"
|
|
21964
|
-
})(templateObject_4$
|
|
22071
|
+
})(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n"], ["\n display: flex;\n justify-content: space-between;\n"])));
|
|
21965
22072
|
var Label$1 = styled$3(SingleLineLabel).withConfig({
|
|
21966
22073
|
displayName: "TextInputstyles__Label",
|
|
21967
22074
|
componentId: "sc-165zflr-2"
|
|
21968
|
-
})(templateObject_8$
|
|
22075
|
+
})(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), function (_a) {
|
|
21969
22076
|
var multiline = _a.multiline;
|
|
21970
22077
|
return multiline && Ae(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n margin: 1px;\n width: calc(100% - 20px);\n ", "\n "], ["\n margin: 1px;\n width: calc(100% - 20px);\n ", "\n "])), textInputTokens.label.multiline.base);
|
|
21971
22078
|
}, function (_a) {
|
|
@@ -21995,7 +22102,7 @@ var InputContainer$1 = styled$3(InputContainer$2).withConfig({
|
|
|
21995
22102
|
return textInputTokens.container.multiline.noLabel.height;
|
|
21996
22103
|
}
|
|
21997
22104
|
});
|
|
21998
|
-
var templateObject_1$
|
|
22105
|
+
var templateObject_1$I, templateObject_2$x, templateObject_3$m, templateObject_4$h, templateObject_5$b, templateObject_6$a, templateObject_7$7, templateObject_8$5, templateObject_9$3, templateObject_10$3;
|
|
21999
22106
|
|
|
22000
22107
|
var nextUniqueId$d = 0;
|
|
22001
22108
|
var TextInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
@@ -22108,7 +22215,7 @@ var TextInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
22108
22215
|
},
|
|
22109
22216
|
onChange: onChangeHandlerMultiline,
|
|
22110
22217
|
required: required
|
|
22111
|
-
}, generalInputProps)) : jsxRuntime.exports.jsx(Input$
|
|
22218
|
+
}, generalInputProps)) : jsxRuntime.exports.jsx(Input$5, __assign({
|
|
22112
22219
|
ref: ref,
|
|
22113
22220
|
onChange: onChangeHandler,
|
|
22114
22221
|
type: type,
|
|
@@ -26754,10 +26861,10 @@ var StateManagedSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
26754
26861
|
|
|
26755
26862
|
var ReactSelect = StateManagedSelect;
|
|
26756
26863
|
|
|
26757
|
-
var Colors$
|
|
26864
|
+
var Colors$g = ddsBaseTokens.colors,
|
|
26758
26865
|
Spacing$p = ddsBaseTokens.spacing,
|
|
26759
26866
|
FontPackages$f = ddsBaseTokens.fontPackages,
|
|
26760
|
-
BorderRadius$
|
|
26867
|
+
BorderRadius$5 = ddsBaseTokens.borderRadius,
|
|
26761
26868
|
Border$c = ddsBaseTokens.border,
|
|
26762
26869
|
IconSizes$2 = ddsBaseTokens.iconSizes;
|
|
26763
26870
|
var textDefault$6 = ddsReferenceTokens.textDefault;
|
|
@@ -26768,7 +26875,7 @@ var valueContainerMarginBottomMultiWithLabel = "".concat(Spacing$p.SizesDdsSpaci
|
|
|
26768
26875
|
var inputMultiNoLabelPaddingTop = "".concat(Spacing$p.SizesDdsSpacingLocalX05NumberPx + Spacing$p.SizesDdsSpacingLocalX0125NumberPx, "px");
|
|
26769
26876
|
|
|
26770
26877
|
var labelBase = __assign({
|
|
26771
|
-
color: Colors$
|
|
26878
|
+
color: Colors$g.DdsColorNeutralsGray7,
|
|
26772
26879
|
paddingTop: Spacing$p.SizesDdsSpacingLocalX075,
|
|
26773
26880
|
paddingLeft: Spacing$p.SizesDdsSpacingLocalX1,
|
|
26774
26881
|
paddingBottom: 0,
|
|
@@ -26776,10 +26883,10 @@ var labelBase = __assign({
|
|
|
26776
26883
|
}, FontPackages$f.supportingStyle_label_01.base);
|
|
26777
26884
|
|
|
26778
26885
|
var labelHoverBase = {
|
|
26779
|
-
color: Colors$
|
|
26886
|
+
color: Colors$g.DdsColorInteractiveBase
|
|
26780
26887
|
};
|
|
26781
26888
|
var labelFocusBase = {
|
|
26782
|
-
color: Colors$
|
|
26889
|
+
color: Colors$g.DdsColorInteractiveBase
|
|
26783
26890
|
};
|
|
26784
26891
|
var valueContainerWithLabelBase = {
|
|
26785
26892
|
marginBottom: Spacing$p.SizesDdsSpacingLocalX075
|
|
@@ -26797,10 +26904,10 @@ var valueContainerIsMultiNoLabelBase = {
|
|
|
26797
26904
|
marginBottom: Spacing$p.SizesDdsSpacingLocalX05
|
|
26798
26905
|
};
|
|
26799
26906
|
var containerBase$4 = {
|
|
26800
|
-
borderRadius: BorderRadius$
|
|
26907
|
+
borderRadius: BorderRadius$5.RadiiDdsBorderRadius1Radius,
|
|
26801
26908
|
border: "".concat(Border$c.BordersDdsBorderStyleLightStrokeWeight, " solid"),
|
|
26802
|
-
borderColor: Colors$
|
|
26803
|
-
backgroundColor: Colors$
|
|
26909
|
+
borderColor: Colors$g.DdsColorNeutralsGray5,
|
|
26910
|
+
backgroundColor: Colors$g.DdsColorNeutralsWhite
|
|
26804
26911
|
};
|
|
26805
26912
|
|
|
26806
26913
|
var containerHoverBase = __assign({}, hoverInputfield);
|
|
@@ -26825,7 +26932,7 @@ var inputIsMultiNoLabelBase = {
|
|
|
26825
26932
|
};
|
|
26826
26933
|
|
|
26827
26934
|
var placeholderBase = __assign({
|
|
26828
|
-
color: Colors$
|
|
26935
|
+
color: Colors$g.DdsColorNeutralsGray6
|
|
26829
26936
|
}, FontPackages$f.supportingStyle_placeholdertext_01.base);
|
|
26830
26937
|
|
|
26831
26938
|
var indicatorsContainerWithLabelBase = {
|
|
@@ -26841,31 +26948,31 @@ var indicatorsContainerIsMultiNoLabelBase = {
|
|
|
26841
26948
|
marginBottom: Spacing$p.SizesDdsSpacingLocalX05
|
|
26842
26949
|
};
|
|
26843
26950
|
var dropdownIndicatorBase = {
|
|
26844
|
-
color: Colors$
|
|
26951
|
+
color: Colors$g.DdsColorNeutralsGray6,
|
|
26845
26952
|
padding: 0
|
|
26846
26953
|
};
|
|
26847
26954
|
var dropdownIndicatorHoverBase = {
|
|
26848
|
-
color: Colors$
|
|
26955
|
+
color: Colors$g.DdsColorInteractiveBase
|
|
26849
26956
|
};
|
|
26850
26957
|
var drodownIndicatorReadOnlyBase = {
|
|
26851
26958
|
color: 'transparent'
|
|
26852
26959
|
};
|
|
26853
26960
|
var clearIndicatorBase = {
|
|
26854
|
-
color: Colors$
|
|
26961
|
+
color: Colors$g.DdsColorNeutralsGray6,
|
|
26855
26962
|
padding: " 0 ".concat(Spacing$p.SizesDdsSpacingLocalX025, " 0 0")
|
|
26856
26963
|
};
|
|
26857
26964
|
var loadingIndicatorBase = {
|
|
26858
|
-
color: Colors$
|
|
26965
|
+
color: Colors$g.DdsColorNeutralsGray6,
|
|
26859
26966
|
padding: 0
|
|
26860
26967
|
};
|
|
26861
26968
|
var clearIndicatorHoverBase = {
|
|
26862
|
-
color: Colors$
|
|
26969
|
+
color: Colors$g.DdsColorInteractiveBase
|
|
26863
26970
|
};
|
|
26864
26971
|
var menuBase = {
|
|
26865
26972
|
border: '1px solid',
|
|
26866
|
-
borderColor: Colors$
|
|
26867
|
-
backgroundColor: Colors$
|
|
26868
|
-
borderRadius: BorderRadius$
|
|
26973
|
+
borderColor: Colors$g.DdsColorInteractiveBase,
|
|
26974
|
+
backgroundColor: Colors$g.DdsColorNeutralsWhite,
|
|
26975
|
+
borderRadius: BorderRadius$5.RadiiDdsBorderRadius1Radius,
|
|
26869
26976
|
marginTop: Spacing$p.SizesDdsSpacingLocalX025,
|
|
26870
26977
|
marginBottom: Spacing$p.SizesDdsSpacingLocalX025
|
|
26871
26978
|
};
|
|
@@ -26877,29 +26984,29 @@ var optionBase = __assign(__assign({
|
|
|
26877
26984
|
});
|
|
26878
26985
|
|
|
26879
26986
|
var optionHoverBase = {
|
|
26880
|
-
backgroundColor: Colors$
|
|
26987
|
+
backgroundColor: Colors$g.DdsColorInteractiveLighter
|
|
26881
26988
|
};
|
|
26882
26989
|
|
|
26883
26990
|
var optionSelectedBase = __assign(__assign({
|
|
26884
|
-
backgroundColor: Colors$
|
|
26991
|
+
backgroundColor: Colors$g.DdsColorInteractiveLightest
|
|
26885
26992
|
}, FontPackages$f.body_sans_02.base), {
|
|
26886
26993
|
fontWeight: 600
|
|
26887
26994
|
});
|
|
26888
26995
|
|
|
26889
26996
|
var noOptionsMessageBase = __assign({
|
|
26890
26997
|
padding: "".concat(Spacing$p.SizesDdsSpacingLocalX05, " ").concat(Spacing$p.SizesDdsSpacingLocalX1),
|
|
26891
|
-
color: Colors$
|
|
26998
|
+
color: Colors$g.DdsColorNeutralsGray6
|
|
26892
26999
|
}, FontPackages$f.supportingStyle_placeholdertext_01.base);
|
|
26893
27000
|
|
|
26894
27001
|
var multiValueBase = {
|
|
26895
|
-
borderRadius: BorderRadius$
|
|
27002
|
+
borderRadius: BorderRadius$5.RadiiDdsBorderRadius1Radius,
|
|
26896
27003
|
margin: Spacing$p.SizesDdsSpacingLocalX0125
|
|
26897
27004
|
};
|
|
26898
27005
|
var multiValueEnabledBase = {
|
|
26899
|
-
backgroundColor: Colors$
|
|
27006
|
+
backgroundColor: Colors$g.DdsColorInteractiveLighter
|
|
26900
27007
|
};
|
|
26901
27008
|
var multiValueDisabledBase = {
|
|
26902
|
-
backgroundColor: Colors$
|
|
27009
|
+
backgroundColor: Colors$g.DdsColorNeutralsGray3
|
|
26903
27010
|
};
|
|
26904
27011
|
|
|
26905
27012
|
var multiValueLabelBase = __assign(__assign({
|
|
@@ -26907,26 +27014,26 @@ var multiValueLabelBase = __assign(__assign({
|
|
|
26907
27014
|
paddingRight: "".concat(Spacing$p.SizesDdsSpacingLocalX05),
|
|
26908
27015
|
paddingLeft: "".concat(Spacing$p.SizesDdsSpacingLocalX05),
|
|
26909
27016
|
paddingBottom: "".concat(Spacing$p.SizesDdsSpacingLocalX025),
|
|
26910
|
-
color: Colors$
|
|
27017
|
+
color: Colors$g.DdsColorNeutralsGray9
|
|
26911
27018
|
}, FontPackages$f.supportingStyle_inputtext_01.base), {
|
|
26912
27019
|
fontWeight: 'bold'
|
|
26913
27020
|
});
|
|
26914
27021
|
|
|
26915
27022
|
var multiValueRemoveBase = {
|
|
26916
27023
|
padding: "".concat(Spacing$p.SizesDdsSpacingLocalX025),
|
|
26917
|
-
color: Colors$
|
|
27024
|
+
color: Colors$g.DdsColorNeutralsGray9
|
|
26918
27025
|
};
|
|
26919
27026
|
var multiValueRemoveHoverBase = {
|
|
26920
|
-
color: Colors$
|
|
26921
|
-
backgroundColor: Colors$
|
|
27027
|
+
color: Colors$g.DdsColorNeutralsWhite,
|
|
27028
|
+
backgroundColor: Colors$g.DdsColorInteractiveBase
|
|
26922
27029
|
};
|
|
26923
27030
|
var multiValueRemoveIconBase = {
|
|
26924
27031
|
height: IconSizes$2.DdsIconsizeSmall,
|
|
26925
27032
|
width: IconSizes$2.DdsIconsizeSmall
|
|
26926
27033
|
};
|
|
26927
27034
|
var containerDisabledBase = {
|
|
26928
|
-
backgroundColor: Colors$
|
|
26929
|
-
borderColor: Colors$
|
|
27035
|
+
backgroundColor: Colors$g.DdsColorNeutralsGray1,
|
|
27036
|
+
borderColor: Colors$g.DdsColorNeutralsGray5
|
|
26930
27037
|
};
|
|
26931
27038
|
var containerReadOnlyBase = {
|
|
26932
27039
|
borderColor: 'transparent',
|
|
@@ -27080,23 +27187,23 @@ var prefix = 'dds-select';
|
|
|
27080
27187
|
var Label = styled$3(Typography).withConfig({
|
|
27081
27188
|
displayName: "Selectstyles__Label",
|
|
27082
27189
|
componentId: "sc-19jkd5s-0"
|
|
27083
|
-
})(templateObject_1$
|
|
27190
|
+
})(templateObject_1$H || (templateObject_1$H = __makeTemplateObject(["\n display: block;\n ", "\n"], ["\n display: block;\n ", "\n"])), selectTokens.label.base);
|
|
27084
27191
|
var Container$e = styled$3.div.withConfig({
|
|
27085
27192
|
displayName: "Selectstyles__Container",
|
|
27086
27193
|
componentId: "sc-19jkd5s-1"
|
|
27087
27194
|
})(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\n transition: 0.2s;\n position: relative;\n ", "\n ", "\n *::selection {\n ", "\n }\n ", "\n\n ", "\n &:hover {\n ", "\n ", " {\n ", "\n }\n }\n &:focus-within {\n ", "\n ", " {\n ", "\n }\n }\n ", "\n\n .", "__menu-list {\n ", "\n }\n &:hover\n .", "__dropdown-indicator,\n &:focus-within\n .", "__dropdown-indicator {\n ", "\n }\n\n ", "\n ", "\n"], ["\n transition: 0.2s;\n position: relative;\n ", "\n ", "\n *::selection {\n ", "\n }\n ", "\n\n ", "\n &:hover {\n ", "\n ", " {\n ", "\n }\n }\n &:focus-within {\n ", "\n ", " {\n ", "\n }\n }\n ", "\n\n .", "__menu-list {\n ", "\n }\n &:hover\n .", "__dropdown-indicator,\n &:focus-within\n .", "__dropdown-indicator {\n ", "\n }\n\n ", "\n ", "\n"])), selectTokens.container.base, scrollbarStyling, typographyTokens.selection.base, function (_a) {
|
|
27088
27195
|
var isMulti = _a.isMulti;
|
|
27089
|
-
return isMulti && Ae(templateObject_2$
|
|
27196
|
+
return isMulti && Ae(templateObject_2$w || (templateObject_2$w = __makeTemplateObject([""], [""])));
|
|
27090
27197
|
}, function (_a) {
|
|
27091
27198
|
var hasLabel = _a.hasLabel,
|
|
27092
27199
|
isMulti = _a.isMulti;
|
|
27093
|
-
return isMulti && hasLabel ? Ae(templateObject_3$
|
|
27200
|
+
return isMulti && hasLabel ? Ae(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "], ["\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "])), prefix, selectTokens.valueContainer.isMulti.withLabel.base, prefix, selectTokens.indicatorsContainer.isMulti.withLabel.base) : isMulti && !hasLabel ? Ae(templateObject_4$g || (templateObject_4$g = __makeTemplateObject(["\n .", "__control {\n ", "\n }\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "], ["\n .", "__control {\n ", "\n }\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "])), prefix, selectTokens.input.isMulti.noLabel.base, prefix, selectTokens.valueContainer.isMulti.noLabel.base, prefix, selectTokens.indicatorsContainer.isMulti.noLabel.base) : hasLabel ? Ae(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "], ["\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "])), prefix, selectTokens.valueContainer.withLabel.base, prefix, selectTokens.indicatorsContainer.withLabel.base) : Ae(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n .", "__control {\n ", "\n }\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "], ["\n .", "__control {\n ", "\n }\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "])), prefix, selectTokens.input.noLabel.base, prefix, selectTokens.valueContainer.noLabel.base, prefix, selectTokens.indicatorsContainer.noLabel.base);
|
|
27094
27201
|
}, selectTokens.container.hover.base, Label, selectTokens.label.hover.base, selectTokens.container.focus.base, Label, selectTokens.label.focus.base, function (_a) {
|
|
27095
27202
|
var errorMessage = _a.errorMessage;
|
|
27096
27203
|
return errorMessage && Ae(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n ", "\n &:hover {\n ", "\n }\n &:focus-within {\n ", "\n }\n "], ["\n ", "\n &:hover {\n ", "\n }\n &:focus-within {\n ", "\n }\n "])), selectTokens.container.danger.base, selectTokens.container.danger.hover.base, selectTokens.container.danger.focus.base);
|
|
27097
27204
|
}, prefix, scrollbarStyling, prefix, prefix, selectTokens.dropdownIndicator.hover.base, function (_a) {
|
|
27098
27205
|
var isDisabled = _a.isDisabled;
|
|
27099
|
-
return isDisabled && Ae(templateObject_8$
|
|
27206
|
+
return isDisabled && Ae(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n cursor: not-allowed;\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n &:hover .", "__dropdown-indicator {\n ", "\n }\n }\n "], ["\n cursor: not-allowed;\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n &:hover .", "__dropdown-indicator {\n ", "\n }\n }\n "])), selectTokens.container.disabled.base, selectTokens.container.disabled.base, Label, selectTokens.label.base, prefix, selectTokens.dropdownIndicator.base);
|
|
27100
27207
|
}, function (_a) {
|
|
27101
27208
|
var readOnly = _a.readOnly;
|
|
27102
27209
|
return readOnly && Ae(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n }\n .", "__dropdown-indicator, &:hover .", "__dropdown-indicator {\n ", "\n }\n "], ["\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n }\n .", "__dropdown-indicator, &:hover .", "__dropdown-indicator {\n ", "\n }\n "])), selectTokens.container.readOnly.base, selectTokens.container.readOnly.base, Label, selectTokens.label.base, prefix, prefix, selectTokens.dropdownIndicator.readOnly.base);
|
|
@@ -27210,7 +27317,7 @@ var getCustomStyles = function getCustomStyles() {
|
|
|
27210
27317
|
}
|
|
27211
27318
|
};
|
|
27212
27319
|
};
|
|
27213
|
-
var templateObject_1$
|
|
27320
|
+
var templateObject_1$H, templateObject_2$w, templateObject_3$l, templateObject_4$g, templateObject_5$a, templateObject_6$9, templateObject_7$6, templateObject_8$4, templateObject_9$2, templateObject_10$2, templateObject_11$1, templateObject_12;
|
|
27214
27321
|
|
|
27215
27322
|
var DdsOption = components.Option,
|
|
27216
27323
|
NoOptionsMessage = components.NoOptionsMessage,
|
|
@@ -27403,7 +27510,7 @@ var _default$f = (0, _createSvgIcon$f.default)( /*#__PURE__*/(0, _jsxRuntime$f.j
|
|
|
27403
27510
|
|
|
27404
27511
|
default_1$f = InfoOutlined.default = _default$f;
|
|
27405
27512
|
|
|
27406
|
-
var Colors$
|
|
27513
|
+
var Colors$f = ddsBaseTokens.colors,
|
|
27407
27514
|
Spacing$o = ddsBaseTokens.spacing,
|
|
27408
27515
|
FontPackages$e = ddsBaseTokens.fontPackages;
|
|
27409
27516
|
|
|
@@ -27412,7 +27519,7 @@ var containerBase$3 = __assign(__assign({
|
|
|
27412
27519
|
padding: "0 ".concat(Spacing$o.SizesDdsSpacingLocalX1),
|
|
27413
27520
|
width: '100%'
|
|
27414
27521
|
}, FontPackages$e.body_sans_02.base), {
|
|
27415
|
-
color: Colors$
|
|
27522
|
+
color: Colors$f.DdsColorNeutralsGray8
|
|
27416
27523
|
});
|
|
27417
27524
|
|
|
27418
27525
|
var contentContainerBase$3 = {
|
|
@@ -27424,16 +27531,16 @@ var contentContainerWithClosableBase$1 = {
|
|
|
27424
27531
|
paddingRight: Spacing$o.SizesDdsSpacingLocalX075
|
|
27425
27532
|
};
|
|
27426
27533
|
var containerInfoBase$1 = {
|
|
27427
|
-
borderColor: Colors$
|
|
27428
|
-
backgroundColor: Colors$
|
|
27534
|
+
borderColor: Colors$f.DdsColorInfoLighter,
|
|
27535
|
+
backgroundColor: Colors$f.DdsColorInfoLightest
|
|
27429
27536
|
};
|
|
27430
27537
|
var containerDangerBase$1 = {
|
|
27431
|
-
borderColor: Colors$
|
|
27432
|
-
backgroundColor: Colors$
|
|
27538
|
+
borderColor: Colors$f.DdsColorDangerLighter,
|
|
27539
|
+
backgroundColor: Colors$f.DdsColorDangerLightest
|
|
27433
27540
|
};
|
|
27434
27541
|
var containerWarningBase$1 = {
|
|
27435
|
-
borderColor: Colors$
|
|
27436
|
-
backgroundColor: Colors$
|
|
27542
|
+
borderColor: Colors$f.DdsColorWarningLighter,
|
|
27543
|
+
backgroundColor: Colors$f.DdsColorWarningLightest
|
|
27437
27544
|
};
|
|
27438
27545
|
var globalMessageTokens = {
|
|
27439
27546
|
container: {
|
|
@@ -27458,15 +27565,15 @@ var globalMessageTokens = {
|
|
|
27458
27565
|
marginRight: "".concat(Spacing$o.SizesDdsSpacingLocalX075),
|
|
27459
27566
|
info: {
|
|
27460
27567
|
icon: default_1$f,
|
|
27461
|
-
color: Colors$
|
|
27568
|
+
color: Colors$f.DdsColorInfoDarkest
|
|
27462
27569
|
},
|
|
27463
27570
|
danger: {
|
|
27464
27571
|
icon: default_1$j,
|
|
27465
|
-
color: Colors$
|
|
27572
|
+
color: Colors$f.DdsColorDangerDarkest
|
|
27466
27573
|
},
|
|
27467
27574
|
warning: {
|
|
27468
27575
|
icon: default_1$g,
|
|
27469
|
-
color: Colors$
|
|
27576
|
+
color: Colors$f.DdsColorWarningDarkest
|
|
27470
27577
|
}
|
|
27471
27578
|
},
|
|
27472
27579
|
button: {
|
|
@@ -27485,18 +27592,18 @@ var globalMessageTokens = {
|
|
|
27485
27592
|
var Container$d = styled$3.div.withConfig({
|
|
27486
27593
|
displayName: "GlobalMessage__Container",
|
|
27487
27594
|
componentId: "sc-bf2l65-0"
|
|
27488
|
-
})(templateObject_2$
|
|
27595
|
+
})(templateObject_2$v || (templateObject_2$v = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n ", "\n"])), function (_a) {
|
|
27489
27596
|
var purpose = _a.purpose;
|
|
27490
|
-
return purpose && Ae(templateObject_1$
|
|
27597
|
+
return purpose && Ae(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), globalMessageTokens.container.base, globalMessageTokens.container[purpose].base);
|
|
27491
27598
|
});
|
|
27492
27599
|
var MessageIconWrapper$1 = styled$3(IconWrapper$1).withConfig({
|
|
27493
27600
|
displayName: "GlobalMessage__MessageIconWrapper",
|
|
27494
27601
|
componentId: "sc-bf2l65-1"
|
|
27495
|
-
})(templateObject_3$
|
|
27602
|
+
})(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), globalMessageTokens.icon.marginRight);
|
|
27496
27603
|
var ControlsContainer = styled$3.div.withConfig({
|
|
27497
27604
|
displayName: "GlobalMessage__ControlsContainer",
|
|
27498
27605
|
componentId: "sc-bf2l65-2"
|
|
27499
|
-
})(templateObject_4$
|
|
27606
|
+
})(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
|
|
27500
27607
|
var ContentContainer$4 = styled$3.div.withConfig({
|
|
27501
27608
|
displayName: "GlobalMessage__ContentContainer",
|
|
27502
27609
|
componentId: "sc-bf2l65-3"
|
|
@@ -27551,7 +27658,7 @@ var GlobalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
27551
27658
|
})]
|
|
27552
27659
|
})) : null;
|
|
27553
27660
|
});
|
|
27554
|
-
var templateObject_1$
|
|
27661
|
+
var templateObject_1$G, templateObject_2$v, templateObject_3$k, templateObject_4$f, templateObject_5$9, templateObject_6$8;
|
|
27555
27662
|
|
|
27556
27663
|
var CheckCircleOutlined = {};
|
|
27557
27664
|
|
|
@@ -27597,20 +27704,20 @@ var _default$d = (0, _createSvgIcon$d.default)([/*#__PURE__*/(0, _jsxRuntime$d.j
|
|
|
27597
27704
|
|
|
27598
27705
|
default_1$d = EmojiObjectsOutlined.default = _default$d;
|
|
27599
27706
|
|
|
27600
|
-
var Colors$
|
|
27707
|
+
var Colors$e = ddsBaseTokens.colors,
|
|
27601
27708
|
Spacing$n = ddsBaseTokens.spacing,
|
|
27602
27709
|
FontPackages$d = ddsBaseTokens.fontPackages,
|
|
27603
|
-
BorderRadius$
|
|
27710
|
+
BorderRadius$4 = ddsBaseTokens.borderRadius,
|
|
27604
27711
|
Border$b = ddsBaseTokens.border,
|
|
27605
|
-
OuterShadow$
|
|
27712
|
+
OuterShadow$3 = ddsBaseTokens.outerShadow;
|
|
27606
27713
|
|
|
27607
27714
|
var containerBase$2 = __assign(__assign({
|
|
27608
|
-
boxShadow: OuterShadow$
|
|
27609
|
-
borderRadius: BorderRadius$
|
|
27715
|
+
boxShadow: OuterShadow$3.DdsShadow1Onlight,
|
|
27716
|
+
borderRadius: BorderRadius$4.RadiiDdsBorderRadius1Radius,
|
|
27610
27717
|
border: "".concat(Border$b.BordersDdsBorderStyleLightStrokeWeight, " solid"),
|
|
27611
27718
|
padding: "0 ".concat(Spacing$n.SizesDdsSpacingLocalX1)
|
|
27612
27719
|
}, FontPackages$d.body_sans_02.base), {
|
|
27613
|
-
color: Colors$
|
|
27720
|
+
color: Colors$e.DdsColorNeutralsGray8
|
|
27614
27721
|
});
|
|
27615
27722
|
|
|
27616
27723
|
var defaultWidth = '400px';
|
|
@@ -27632,28 +27739,28 @@ var topContainerWithClosableBase = {
|
|
|
27632
27739
|
paddingTop: Spacing$n.SizesDdsSpacingLocalX1
|
|
27633
27740
|
};
|
|
27634
27741
|
var containerInfoBase = {
|
|
27635
|
-
borderColor: Colors$
|
|
27636
|
-
backgroundColor: Colors$
|
|
27742
|
+
borderColor: Colors$e.DdsColorInfoLighter,
|
|
27743
|
+
backgroundColor: Colors$e.DdsColorInfoLightest
|
|
27637
27744
|
};
|
|
27638
27745
|
var containerDangerBase = {
|
|
27639
|
-
borderColor: Colors$
|
|
27640
|
-
backgroundColor: Colors$
|
|
27746
|
+
borderColor: Colors$e.DdsColorDangerLighter,
|
|
27747
|
+
backgroundColor: Colors$e.DdsColorDangerLightest
|
|
27641
27748
|
};
|
|
27642
27749
|
var containerWarningBase = {
|
|
27643
|
-
borderColor: Colors$
|
|
27644
|
-
backgroundColor: Colors$
|
|
27750
|
+
borderColor: Colors$e.DdsColorWarningLighter,
|
|
27751
|
+
backgroundColor: Colors$e.DdsColorWarningLightest
|
|
27645
27752
|
};
|
|
27646
27753
|
var containerSuccessBase = {
|
|
27647
|
-
borderColor: Colors$
|
|
27648
|
-
backgroundColor: Colors$
|
|
27754
|
+
borderColor: Colors$e.DdsColorSuccessLighter,
|
|
27755
|
+
backgroundColor: Colors$e.DdsColorSuccessLightest
|
|
27649
27756
|
};
|
|
27650
27757
|
var containerTipsBase = {
|
|
27651
|
-
borderColor: Colors$
|
|
27652
|
-
backgroundColor: Colors$
|
|
27758
|
+
borderColor: Colors$e.DdsColorPrimaryLighter,
|
|
27759
|
+
backgroundColor: Colors$e.DdsColorPrimaryLightest
|
|
27653
27760
|
};
|
|
27654
27761
|
var containerConfidentialBase = {
|
|
27655
|
-
borderColor: Colors$
|
|
27656
|
-
backgroundColor: Colors$
|
|
27762
|
+
borderColor: Colors$e.DdsColorDangerBase,
|
|
27763
|
+
backgroundColor: Colors$e.DdsColorDangerLightest
|
|
27657
27764
|
};
|
|
27658
27765
|
var localMessageTokens = {
|
|
27659
27766
|
container: {
|
|
@@ -27697,27 +27804,27 @@ var localMessageTokens = {
|
|
|
27697
27804
|
marginRight: "".concat(Spacing$n.SizesDdsSpacingLocalX075),
|
|
27698
27805
|
info: {
|
|
27699
27806
|
icon: default_1$f,
|
|
27700
|
-
color: Colors$
|
|
27807
|
+
color: Colors$e.DdsColorInfoDarkest
|
|
27701
27808
|
},
|
|
27702
27809
|
danger: {
|
|
27703
27810
|
icon: default_1$j,
|
|
27704
|
-
color: Colors$
|
|
27811
|
+
color: Colors$e.DdsColorDangerDarkest
|
|
27705
27812
|
},
|
|
27706
27813
|
warning: {
|
|
27707
27814
|
icon: default_1$g,
|
|
27708
|
-
color: Colors$
|
|
27815
|
+
color: Colors$e.DdsColorWarningDarkest
|
|
27709
27816
|
},
|
|
27710
27817
|
success: {
|
|
27711
27818
|
icon: default_1$e,
|
|
27712
|
-
color: Colors$
|
|
27819
|
+
color: Colors$e.DdsColorSuccessDarkest
|
|
27713
27820
|
},
|
|
27714
27821
|
tips: {
|
|
27715
27822
|
icon: default_1$d,
|
|
27716
|
-
color: Colors$
|
|
27823
|
+
color: Colors$e.DdsColorPrimaryDarkest
|
|
27717
27824
|
},
|
|
27718
27825
|
confidential: {
|
|
27719
27826
|
icon: default_1$j,
|
|
27720
|
-
color: Colors$
|
|
27827
|
+
color: Colors$e.DdsColorDangerDarkest
|
|
27721
27828
|
}
|
|
27722
27829
|
},
|
|
27723
27830
|
button: {
|
|
@@ -27745,15 +27852,15 @@ var localMessageTokens = {
|
|
|
27745
27852
|
var Container$c = styled$3.div.withConfig({
|
|
27746
27853
|
displayName: "LocalMessage__Container",
|
|
27747
27854
|
componentId: "sc-kmfp8w-0"
|
|
27748
|
-
})(templateObject_3$
|
|
27855
|
+
})(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n box-sizing: border-box;\n ", ";\n *::selection {\n ", "\n }\n ", "\n width: ", ";\n"], ["\n display: flex;\n flex-direction: ", ";\n box-sizing: border-box;\n ", ";\n *::selection {\n ", "\n }\n ", "\n width: ", ";\n"])), function (_a) {
|
|
27749
27856
|
var layout = _a.layout;
|
|
27750
27857
|
return layout === 'vertical' ? 'column' : 'row';
|
|
27751
27858
|
}, function (_a) {
|
|
27752
27859
|
var layout = _a.layout;
|
|
27753
|
-
return layout === 'horisontal' && Ae(templateObject_1$
|
|
27860
|
+
return layout === 'horisontal' && Ae(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n align-items: center;\n justify-content: space-between;\n "], ["\n align-items: center;\n justify-content: space-between;\n "])));
|
|
27754
27861
|
}, typographyTokens.selection.base, function (_a) {
|
|
27755
27862
|
var purpose = _a.purpose;
|
|
27756
|
-
return purpose && Ae(templateObject_2$
|
|
27863
|
+
return purpose && Ae(templateObject_2$u || (templateObject_2$u = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), localMessageTokens.container.base, localMessageTokens.container[purpose].base);
|
|
27757
27864
|
}, function (_a) {
|
|
27758
27865
|
var width = _a.width;
|
|
27759
27866
|
return width;
|
|
@@ -27761,11 +27868,11 @@ var Container$c = styled$3.div.withConfig({
|
|
|
27761
27868
|
var MessageIconWrapper = styled$3(IconWrapper$1).withConfig({
|
|
27762
27869
|
displayName: "LocalMessage__MessageIconWrapper",
|
|
27763
27870
|
componentId: "sc-kmfp8w-1"
|
|
27764
|
-
})(templateObject_4$
|
|
27871
|
+
})(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), localMessageTokens.icon.marginRight);
|
|
27765
27872
|
var ContentContainer$3 = styled$3.div.withConfig({
|
|
27766
27873
|
displayName: "LocalMessage__ContentContainer",
|
|
27767
27874
|
componentId: "sc-kmfp8w-2"
|
|
27768
|
-
})(templateObject_8$
|
|
27875
|
+
})(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), localMessageTokens.contentContainer.base, function (_a) {
|
|
27769
27876
|
var layout = _a.layout;
|
|
27770
27877
|
return layout === 'vertical' ? Ae(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), localMessageTokens.contentContainer.vertical.base) : Ae(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n "], ["\n display: flex;\n align-items: center;\n "])));
|
|
27771
27878
|
}, function (_a) {
|
|
@@ -27849,7 +27956,7 @@ var LocalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
27849
27956
|
})
|
|
27850
27957
|
})) : null;
|
|
27851
27958
|
});
|
|
27852
|
-
var templateObject_1$
|
|
27959
|
+
var templateObject_1$F, templateObject_2$u, templateObject_3$j, templateObject_4$e, templateObject_5$8, templateObject_6$7, templateObject_7$5, templateObject_8$3, templateObject_9$1, templateObject_10$1;
|
|
27853
27960
|
|
|
27854
27961
|
var SearchOutlined = {};
|
|
27855
27962
|
|
|
@@ -27924,18 +28031,18 @@ var searchTokens = {
|
|
|
27924
28031
|
var Input$1 = styled$3.input.withConfig({
|
|
27925
28032
|
displayName: "Search__Input",
|
|
27926
28033
|
componentId: "sc-1ax3s9s-0"
|
|
27927
|
-
})(templateObject_2$
|
|
28034
|
+
})(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n &[type='search']::-webkit-search-decoration,\n &[type='search']::-webkit-search-cancel-button,\n &[type='search']::-webkit-search-results-button,\n &[type='search']::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n\n ", "\n ", "\n\n ", "\n\n padding-left: ", ";\n"], ["\n &[type='search']::-webkit-search-decoration,\n &[type='search']::-webkit-search-cancel-button,\n &[type='search']::-webkit-search-results-button,\n &[type='search']::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n\n ", "\n ", "\n\n ", "\n\n padding-left: ", ";\n"])), inputFieldStylingBase, searchTokens.input.base, function (_a) {
|
|
27928
28035
|
var componentSize = _a.componentSize;
|
|
27929
|
-
return componentSize && Ae(templateObject_1$
|
|
28036
|
+
return componentSize && Ae(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), searchTokens.input[componentSize].base);
|
|
27930
28037
|
}, searchTokens.input.spaceLeft);
|
|
27931
28038
|
var IconWrapper = styled$3.span.withConfig({
|
|
27932
28039
|
displayName: "Search__IconWrapper",
|
|
27933
28040
|
componentId: "sc-1ax3s9s-1"
|
|
27934
|
-
})(templateObject_3$
|
|
28041
|
+
})(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n ", "\n position: absolute;\n top: ", ";\n left: ", ";\n"], ["\n ", "\n position: absolute;\n top: ", ";\n left: ", ";\n"])), searchTokens.iconWrapper.base, searchTokens.icon.spaceTop, searchTokens.icon.spaceLeft);
|
|
27935
28042
|
var Container$b = styled$3.div.withConfig({
|
|
27936
28043
|
displayName: "Search__Container",
|
|
27937
28044
|
componentId: "sc-1ax3s9s-2"
|
|
27938
|
-
})(templateObject_4$
|
|
28045
|
+
})(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n"], ["\n display: flex;\n flex-direction: row;\n"])));
|
|
27939
28046
|
var InputContainer = styled$3.div.withConfig({
|
|
27940
28047
|
displayName: "Search__InputContainer",
|
|
27941
28048
|
componentId: "sc-1ax3s9s-3"
|
|
@@ -28004,16 +28111,16 @@ var Search = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28004
28111
|
})]
|
|
28005
28112
|
}));
|
|
28006
28113
|
});
|
|
28007
|
-
var templateObject_1$
|
|
28114
|
+
var templateObject_1$E, templateObject_2$t, templateObject_3$i, templateObject_4$d, templateObject_5$7, templateObject_6$6, templateObject_7$4;
|
|
28008
28115
|
|
|
28009
|
-
var Colors$
|
|
28116
|
+
var Colors$d = ddsBaseTokens.colors,
|
|
28010
28117
|
Spacing$l = ddsBaseTokens.spacing;
|
|
28011
28118
|
var cellBase = {};
|
|
28012
28119
|
var compactCellBase = {
|
|
28013
28120
|
padding: "".concat(Spacing$l.SizesDdsSpacingLocalX075)
|
|
28014
28121
|
};
|
|
28015
28122
|
var headBase = {
|
|
28016
|
-
backgroundColor: Colors$
|
|
28123
|
+
backgroundColor: Colors$d.DdsColorPrimaryLightest
|
|
28017
28124
|
};
|
|
28018
28125
|
var dataBase = {};
|
|
28019
28126
|
var normalCellBase = {
|
|
@@ -28062,12 +28169,12 @@ var cellTokens = {
|
|
|
28062
28169
|
var StyledTable = styled$3.table.withConfig({
|
|
28063
28170
|
displayName: "Table__StyledTable",
|
|
28064
28171
|
componentId: "sc-bw0w0a-0"
|
|
28065
|
-
})(templateObject_3$
|
|
28172
|
+
})(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n border-spacing: 0;\n border-collapse: collapse;\n *::selection {\n ", "\n }\n ", "\n ", "\n ", "\n"], ["\n border-spacing: 0;\n border-collapse: collapse;\n *::selection {\n ", "\n }\n ", "\n ", "\n ", "\n"])), typographyTokens.selection.base, scrollbarStyling, function (_a) {
|
|
28066
28173
|
var density = _a.density;
|
|
28067
|
-
return density && Ae(templateObject_1$
|
|
28174
|
+
return density && Ae(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n td,\n th {\n ", "\n }\n "], ["\n td,\n th {\n ", "\n }\n "])), cellTokens.density[density].base);
|
|
28068
28175
|
}, function (_a) {
|
|
28069
28176
|
var stickyHeader = _a.stickyHeader;
|
|
28070
|
-
return stickyHeader && Ae(templateObject_2$
|
|
28177
|
+
return stickyHeader && Ae(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n tr[type='head'] {\n th[type='head'] {\n position: sticky;\n top: 0;\n }\n }\n "], ["\n tr[type='head'] {\n th[type='head'] {\n position: sticky;\n top: 0;\n }\n }\n "])));
|
|
28071
28178
|
});
|
|
28072
28179
|
var Table = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28073
28180
|
var _b = _a.density,
|
|
@@ -28084,12 +28191,12 @@ var Table = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28084
28191
|
children: children
|
|
28085
28192
|
}));
|
|
28086
28193
|
});
|
|
28087
|
-
var templateObject_1$
|
|
28194
|
+
var templateObject_1$D, templateObject_2$s, templateObject_3$h;
|
|
28088
28195
|
|
|
28089
28196
|
var StyledBody = styled$3.tbody.withConfig({
|
|
28090
28197
|
displayName: "Body__StyledBody",
|
|
28091
28198
|
componentId: "sc-67qjfs-0"
|
|
28092
|
-
})(templateObject_1$
|
|
28199
|
+
})(templateObject_1$C || (templateObject_1$C = __makeTemplateObject([""], [""])));
|
|
28093
28200
|
var Body$1 = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28094
28201
|
var children = _a.children,
|
|
28095
28202
|
rest = __rest(_a, ["children"]);
|
|
@@ -28102,12 +28209,12 @@ var Body$1 = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28102
28209
|
children: children
|
|
28103
28210
|
}));
|
|
28104
28211
|
});
|
|
28105
|
-
var templateObject_1$
|
|
28212
|
+
var templateObject_1$C;
|
|
28106
28213
|
|
|
28107
28214
|
var StyledHead = styled$3.thead.withConfig({
|
|
28108
28215
|
displayName: "Head__StyledHead",
|
|
28109
28216
|
componentId: "sc-vzd2kv-0"
|
|
28110
|
-
})(templateObject_1$
|
|
28217
|
+
})(templateObject_1$B || (templateObject_1$B = __makeTemplateObject([""], [""])));
|
|
28111
28218
|
var Head = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28112
28219
|
var children = _a.children,
|
|
28113
28220
|
rest = __rest(_a, ["children"]);
|
|
@@ -28120,9 +28227,9 @@ var Head = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28120
28227
|
children: children
|
|
28121
28228
|
}));
|
|
28122
28229
|
});
|
|
28123
|
-
var templateObject_1$
|
|
28230
|
+
var templateObject_1$B;
|
|
28124
28231
|
|
|
28125
|
-
var Colors$
|
|
28232
|
+
var Colors$c = ddsBaseTokens.colors,
|
|
28126
28233
|
FontPackages$b = ddsBaseTokens.fontPackages,
|
|
28127
28234
|
Border$a = ddsBaseTokens.border;
|
|
28128
28235
|
var textDefault$4 = ddsReferenceTokens.textDefault;
|
|
@@ -28139,25 +28246,25 @@ var headRowBase = __assign(__assign({
|
|
|
28139
28246
|
});
|
|
28140
28247
|
|
|
28141
28248
|
var bodyOddBase = {
|
|
28142
|
-
backgroundColor: Colors$
|
|
28249
|
+
backgroundColor: Colors$c.DdsColorNeutralsWhite
|
|
28143
28250
|
};
|
|
28144
28251
|
var bodyEvenBase = {
|
|
28145
|
-
backgroundColor: Colors$
|
|
28252
|
+
backgroundColor: Colors$c.DdsColorNeutralsGray1
|
|
28146
28253
|
};
|
|
28147
28254
|
var bodySelectedBase = {
|
|
28148
|
-
backgroundColor: Colors$
|
|
28255
|
+
backgroundColor: Colors$c.DdsColorSecondaryLightest
|
|
28149
28256
|
};
|
|
28150
28257
|
var bodyHoverBase = {
|
|
28151
|
-
backgroundColor: Colors$
|
|
28258
|
+
backgroundColor: Colors$c.DdsColorSecondaryLightest
|
|
28152
28259
|
};
|
|
28153
28260
|
|
|
28154
28261
|
var bodyFocusBase = __assign({}, focusVisibleInset);
|
|
28155
28262
|
|
|
28156
28263
|
var bodySumBase = __assign(__assign({}, FontPackages$b.body_sans_02.base), {
|
|
28157
28264
|
fontWeight: 600,
|
|
28158
|
-
borderTop: "".concat(Border$a.BordersDdsBorderStyleLightStrokeWeight, " solid ").concat(Colors$
|
|
28159
|
-
borderBottom: "".concat(Border$a.BordersDdsBorderStyleLightStrokeWeight, " solid ").concat(Colors$
|
|
28160
|
-
backgroundColor: Colors$
|
|
28265
|
+
borderTop: "".concat(Border$a.BordersDdsBorderStyleLightStrokeWeight, " solid ").concat(Colors$c.DdsColorNeutralsGray4),
|
|
28266
|
+
borderBottom: "".concat(Border$a.BordersDdsBorderStyleLightStrokeWeight, " solid ").concat(Colors$c.DdsColorNeutralsGray4),
|
|
28267
|
+
backgroundColor: Colors$c.DdsColorNeutralsWhite
|
|
28161
28268
|
});
|
|
28162
28269
|
|
|
28163
28270
|
var rowTokens = {
|
|
@@ -28193,7 +28300,7 @@ var rowTokens = {
|
|
|
28193
28300
|
};
|
|
28194
28301
|
|
|
28195
28302
|
var bodyStyles = function bodyStyles(mode, selected) {
|
|
28196
|
-
return Ae(templateObject_3$
|
|
28303
|
+
return Ae(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), mode && Ae(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens.body.mode[mode].base), selected && Ae(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens.body.selected.base));
|
|
28197
28304
|
};
|
|
28198
28305
|
|
|
28199
28306
|
var StyledRow = styled$3.tr.withConfig({
|
|
@@ -28201,7 +28308,7 @@ var StyledRow = styled$3.tr.withConfig({
|
|
|
28201
28308
|
componentId: "sc-15vvjkk-0"
|
|
28202
28309
|
})(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject(["\n transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;\n\n ", "\n\n ", "\n"], ["\n transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;\n\n ", "\n\n ", "\n"])), function (_a) {
|
|
28203
28310
|
var type = _a.type;
|
|
28204
|
-
return type && Ae(templateObject_4$
|
|
28311
|
+
return type && Ae(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens[type].base);
|
|
28205
28312
|
}, function (_a) {
|
|
28206
28313
|
var type = _a.type,
|
|
28207
28314
|
mode = _a.mode,
|
|
@@ -28228,18 +28335,18 @@ var Row = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28228
28335
|
children: children
|
|
28229
28336
|
}));
|
|
28230
28337
|
});
|
|
28231
|
-
var templateObject_1$
|
|
28338
|
+
var templateObject_1$A, templateObject_2$r, templateObject_3$g, templateObject_4$c, templateObject_5$6, templateObject_6$5, templateObject_7$3;
|
|
28232
28339
|
|
|
28233
28340
|
var layoutStyle = function layoutStyle(layout) {
|
|
28234
28341
|
switch (layout) {
|
|
28235
28342
|
case 'center':
|
|
28236
|
-
return Ae(templateObject_1$
|
|
28343
|
+
return Ae(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "])));
|
|
28237
28344
|
|
|
28238
28345
|
case 'right':
|
|
28239
|
-
return Ae(templateObject_2$
|
|
28346
|
+
return Ae(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n justify-content: flex-end;\n "], ["\n justify-content: flex-end;\n "])));
|
|
28240
28347
|
|
|
28241
28348
|
case 'text and icon':
|
|
28242
|
-
return Ae(templateObject_3$
|
|
28349
|
+
return Ae(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n & > *:first-of-type {\n ", "\n }\n "], ["\n & > *:first-of-type {\n ", "\n }\n "])), cellTokens.data.layout.textAndIcon.base);
|
|
28243
28350
|
|
|
28244
28351
|
default:
|
|
28245
28352
|
case 'left':
|
|
@@ -28252,7 +28359,7 @@ var StyledCell = styled$3.td.withConfig({
|
|
|
28252
28359
|
componentId: "sc-ghfpfs-0"
|
|
28253
28360
|
})(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), cellTokens.base, function (_a) {
|
|
28254
28361
|
var type = _a.type;
|
|
28255
|
-
return type && Ae(templateObject_4$
|
|
28362
|
+
return type && Ae(templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), cellTokens[type].base);
|
|
28256
28363
|
});
|
|
28257
28364
|
var InnerCell = styled$3.div.withConfig({
|
|
28258
28365
|
displayName: "Cell__InnerCell",
|
|
@@ -28299,7 +28406,7 @@ var Cell = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28299
28406
|
}))
|
|
28300
28407
|
}));
|
|
28301
28408
|
});
|
|
28302
|
-
var templateObject_1$
|
|
28409
|
+
var templateObject_1$z, templateObject_2$q, templateObject_3$f, templateObject_4$b, templateObject_5$5, templateObject_6$4;
|
|
28303
28410
|
|
|
28304
28411
|
var KeyboardArrowDown = {};
|
|
28305
28412
|
|
|
@@ -28361,11 +28468,11 @@ default_1$9 = UnfoldMore.default = _default$9;
|
|
|
28361
28468
|
var SortIconWrapper = styled$3(IconWrapper$1).withConfig({
|
|
28362
28469
|
displayName: "SortCell__SortIconWrapper",
|
|
28363
28470
|
componentId: "sc-1l3jzvh-0"
|
|
28364
|
-
})(templateObject_1$
|
|
28471
|
+
})(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), cellTokens.head.sortCell.icon.base);
|
|
28365
28472
|
var StyledButton$3 = styled$3.button.withConfig({
|
|
28366
28473
|
displayName: "SortCell__StyledButton",
|
|
28367
28474
|
componentId: "sc-1l3jzvh-1"
|
|
28368
|
-
})(templateObject_2$
|
|
28475
|
+
})(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n ", "\n display: flex;\n align-items: center;\n &:focus-visible {\n ", "\n }\n"], ["\n ", "\n display: flex;\n align-items: center;\n &:focus-visible {\n ", "\n }\n"])), removeButtonStyling, cellTokens.head.sortCell.focus.base);
|
|
28369
28476
|
|
|
28370
28477
|
var makeSortIcon = function makeSortIcon(isSorted, sortOrder) {
|
|
28371
28478
|
if (!isSorted || !sortOrder) {
|
|
@@ -28404,12 +28511,12 @@ var SortCell = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28404
28511
|
}))
|
|
28405
28512
|
}));
|
|
28406
28513
|
});
|
|
28407
|
-
var templateObject_1$
|
|
28514
|
+
var templateObject_1$y, templateObject_2$p;
|
|
28408
28515
|
|
|
28409
28516
|
var StyledFoot = styled$3.tfoot.withConfig({
|
|
28410
28517
|
displayName: "Foot__StyledFoot",
|
|
28411
28518
|
componentId: "sc-tfpehd-0"
|
|
28412
|
-
})(templateObject_1$
|
|
28519
|
+
})(templateObject_1$x || (templateObject_1$x = __makeTemplateObject([""], [""])));
|
|
28413
28520
|
var Foot = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28414
28521
|
var children = _a.children,
|
|
28415
28522
|
rest = __rest(_a, ["children"]);
|
|
@@ -28422,14 +28529,14 @@ var Foot = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28422
28529
|
children: children
|
|
28423
28530
|
}));
|
|
28424
28531
|
});
|
|
28425
|
-
var templateObject_1$
|
|
28532
|
+
var templateObject_1$x;
|
|
28426
28533
|
|
|
28427
28534
|
var Wrapper$4 = styled$3.div.withConfig({
|
|
28428
28535
|
displayName: "TableWrapper__Wrapper",
|
|
28429
28536
|
componentId: "sc-eb384b-0"
|
|
28430
|
-
})(templateObject_2$
|
|
28537
|
+
})(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), function (_a) {
|
|
28431
28538
|
var overflowX = _a.overflowX;
|
|
28432
|
-
return overflowX && Ae(templateObject_1$
|
|
28539
|
+
return overflowX && Ae(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n overflow-x: auto;\n "], ["\n overflow-x: auto;\n "])));
|
|
28433
28540
|
}, scrollbarStyling);
|
|
28434
28541
|
var TableWrapper = function TableWrapper(_a) {
|
|
28435
28542
|
var children = _a.children,
|
|
@@ -28476,7 +28583,7 @@ var TableWrapper = function TableWrapper(_a) {
|
|
|
28476
28583
|
children: children
|
|
28477
28584
|
}));
|
|
28478
28585
|
};
|
|
28479
|
-
var templateObject_1$
|
|
28586
|
+
var templateObject_1$w, templateObject_2$o;
|
|
28480
28587
|
|
|
28481
28588
|
var Breadcrumb = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28482
28589
|
var children = _a.children,
|
|
@@ -28535,11 +28642,11 @@ var _default$7 = (0, _createSvgIcon$7.default)( /*#__PURE__*/(0, _jsxRuntime$7.j
|
|
|
28535
28642
|
|
|
28536
28643
|
default_1$7 = ArrowBackOutlined.default = _default$7;
|
|
28537
28644
|
|
|
28538
|
-
var Colors$
|
|
28645
|
+
var Colors$b = ddsBaseTokens.colors,
|
|
28539
28646
|
Spacing$k = ddsBaseTokens.spacing,
|
|
28540
28647
|
FontPackages$a = ddsBaseTokens.fontPackages;
|
|
28541
28648
|
var iconBase$1 = {
|
|
28542
|
-
color: Colors$
|
|
28649
|
+
color: Colors$b.DdsColorInteractiveBase,
|
|
28543
28650
|
marginLeft: Spacing$k.SizesDdsSpacingLocalX05,
|
|
28544
28651
|
marginRight: Spacing$k.SizesDdsSpacingLocalX05
|
|
28545
28652
|
};
|
|
@@ -28559,19 +28666,19 @@ var breadcrumbTokens = {
|
|
|
28559
28666
|
var List$2 = styled$3.ol.withConfig({
|
|
28560
28667
|
displayName: "Breadcrumbs__List",
|
|
28561
28668
|
componentId: "sc-xdj21o-0"
|
|
28562
|
-
})(templateObject_1$
|
|
28669
|
+
})(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n list-style: none;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n"], ["\n list-style: none;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n"])));
|
|
28563
28670
|
var ListItem$2 = styled$3.li.withConfig({
|
|
28564
28671
|
displayName: "Breadcrumbs__ListItem",
|
|
28565
28672
|
componentId: "sc-xdj21o-1"
|
|
28566
|
-
})(templateObject_2$
|
|
28673
|
+
})(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n align-items: center;\n display: flex;\n ", "\n"], ["\n align-items: center;\n display: flex;\n ", "\n"])), breadcrumbTokens.breadcrumb.base);
|
|
28567
28674
|
var BreadcrumbIcon = styled$3(default_1$8).withConfig({
|
|
28568
28675
|
displayName: "Breadcrumbs__BreadcrumbIcon",
|
|
28569
28676
|
componentId: "sc-xdj21o-2"
|
|
28570
|
-
})(templateObject_3$
|
|
28677
|
+
})(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), breadcrumbTokens.icon.base);
|
|
28571
28678
|
var BackIcon = styled$3(default_1$7).withConfig({
|
|
28572
28679
|
displayName: "Breadcrumbs__BackIcon",
|
|
28573
28680
|
componentId: "sc-xdj21o-3"
|
|
28574
|
-
})(templateObject_4$
|
|
28681
|
+
})(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), breadcrumbTokens.icon.base);
|
|
28575
28682
|
var Breadcrumbs = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28576
28683
|
var smallScreen = _a.smallScreen,
|
|
28577
28684
|
children = _a.children,
|
|
@@ -28603,7 +28710,7 @@ var Breadcrumbs = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28603
28710
|
})
|
|
28604
28711
|
}));
|
|
28605
28712
|
});
|
|
28606
|
-
var templateObject_1$
|
|
28713
|
+
var templateObject_1$v, templateObject_2$n, templateObject_3$e, templateObject_4$a;
|
|
28607
28714
|
|
|
28608
28715
|
var ChevronLeftOutlined = {};
|
|
28609
28716
|
|
|
@@ -28721,9 +28828,9 @@ function PaginationGenerator(pagesAmount, activePage) {
|
|
|
28721
28828
|
}
|
|
28722
28829
|
|
|
28723
28830
|
var Spacing$j = ddsBaseTokens.spacing,
|
|
28724
|
-
Colors$
|
|
28831
|
+
Colors$a = ddsBaseTokens.colors;
|
|
28725
28832
|
var listBase = {
|
|
28726
|
-
color: Colors$
|
|
28833
|
+
color: Colors$a.DdsColorNeutralsGray7
|
|
28727
28834
|
};
|
|
28728
28835
|
var paginationTokens = {
|
|
28729
28836
|
container: {
|
|
@@ -28743,26 +28850,29 @@ var paginationTokens = {
|
|
|
28743
28850
|
var Nav = styled$3.nav.withConfig({
|
|
28744
28851
|
displayName: "Pagination__Nav",
|
|
28745
28852
|
componentId: "sc-5ltegq-0"
|
|
28746
|
-
})(templateObject_1$
|
|
28853
|
+
})(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
|
|
28747
28854
|
var List$1 = styled$3.ol.withConfig({
|
|
28748
28855
|
displayName: "Pagination__List",
|
|
28749
28856
|
componentId: "sc-5ltegq-1"
|
|
28750
|
-
})(templateObject_2$
|
|
28857
|
+
})(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\n display: grid;\n grid-auto-flow: column;\n gap: ", ";\n ", "\n margin: 0;\n padding: 0;\n"], ["\n display: grid;\n grid-auto-flow: column;\n gap: ", ";\n ", "\n margin: 0;\n padding: 0;\n"])), paginationTokens.paginationItem.spacing, paginationTokens.list.base);
|
|
28751
28858
|
var ListItem$1 = styled$3.li.withConfig({
|
|
28752
28859
|
displayName: "Pagination__ListItem",
|
|
28753
28860
|
componentId: "sc-5ltegq-2"
|
|
28754
|
-
})(
|
|
28861
|
+
})(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n list-style: none;\n display: inline-grid;\n align-content: center;\n ", "\n"], ["\n list-style: none;\n display: inline-grid;\n align-content: center;\n ", "\n"])), function (_a) {
|
|
28862
|
+
var isHidden = _a.isHidden;
|
|
28863
|
+
return isHidden && Ae(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n visibility: hidden;\n "], ["\n visibility: hidden;\n "])));
|
|
28864
|
+
});
|
|
28755
28865
|
var Container$a = styled$3.div.withConfig({
|
|
28756
28866
|
displayName: "Pagination__Container",
|
|
28757
28867
|
componentId: "sc-5ltegq-3"
|
|
28758
|
-
})(
|
|
28868
|
+
})(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n display: inline-flex;\n gap: ", ";\n ", "\n"], ["\n display: inline-flex;\n gap: ", ";\n ", "\n"])), paginationTokens.container.spaceBetweenItems, function (_a) {
|
|
28759
28869
|
var smallScreen = _a.smallScreen;
|
|
28760
|
-
return smallScreen ? Ae(
|
|
28870
|
+
return smallScreen ? Ae(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n flex-direction: column;\n align-items: center;\n "], ["\n flex-direction: column;\n align-items: center;\n "]))) : Ae(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\n justify-content: space-around;\n flex-wrap: wrap;\n "], ["\n justify-content: space-around;\n flex-wrap: wrap;\n "])));
|
|
28761
28871
|
});
|
|
28762
28872
|
var IndicatorsContainer = styled$3.div.withConfig({
|
|
28763
28873
|
displayName: "Pagination__IndicatorsContainer",
|
|
28764
28874
|
componentId: "sc-5ltegq-4"
|
|
28765
|
-
})(
|
|
28875
|
+
})(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject(["\n display: grid;\n grid-auto-flow: column;\n align-items: center;\n gap: ", ";\n"], ["\n display: grid;\n grid-auto-flow: column;\n align-items: center;\n gap: ", ";\n"])), paginationTokens.indicatorsContainer.spacing);
|
|
28766
28876
|
var Pagination = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28767
28877
|
var itemsAmount = _a.itemsAmount,
|
|
28768
28878
|
_b = _a.defaultItemsPerPage,
|
|
@@ -28865,16 +28975,24 @@ var Pagination = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28865
28975
|
smallScreen: smallScreen
|
|
28866
28976
|
}, rest);
|
|
28867
28977
|
|
|
28978
|
+
var isOnFirstPage = activePage === 1;
|
|
28979
|
+
var isOnLastPage = activePage === pagesLength;
|
|
28868
28980
|
var navigation = withPagination ? jsxRuntime.exports.jsx(Nav, __assign({
|
|
28869
28981
|
ref: ref,
|
|
28870
28982
|
"aria-label": "paginering"
|
|
28871
28983
|
}, navProps, {
|
|
28872
28984
|
children: jsxRuntime.exports.jsxs(List$1, {
|
|
28873
|
-
children: [
|
|
28874
|
-
|
|
28875
|
-
|
|
28876
|
-
|
|
28877
|
-
|
|
28985
|
+
children: [jsxRuntime.exports.jsx(ListItem$1, __assign({
|
|
28986
|
+
isHidden: isOnFirstPage,
|
|
28987
|
+
"aria-hidden": isOnFirstPage
|
|
28988
|
+
}, {
|
|
28989
|
+
children: previousPageButton
|
|
28990
|
+
})), listItems, jsxRuntime.exports.jsx(ListItem$1, __assign({
|
|
28991
|
+
isHidden: isOnLastPage,
|
|
28992
|
+
"aria-hidden": isOnLastPage
|
|
28993
|
+
}, {
|
|
28994
|
+
children: nextPageButton
|
|
28995
|
+
}))]
|
|
28878
28996
|
})
|
|
28879
28997
|
})) : null;
|
|
28880
28998
|
var smallScreenNavigation = withPagination ? jsxRuntime.exports.jsx(Nav, __assign({
|
|
@@ -28882,22 +29000,26 @@ var Pagination = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28882
29000
|
"aria-label": "paginering"
|
|
28883
29001
|
}, navProps, {
|
|
28884
29002
|
children: jsxRuntime.exports.jsxs(List$1, {
|
|
28885
|
-
children: [
|
|
28886
|
-
|
|
28887
|
-
|
|
28888
|
-
|
|
28889
|
-
|
|
28890
|
-
|
|
28891
|
-
|
|
28892
|
-
|
|
28893
|
-
|
|
28894
|
-
|
|
28895
|
-
|
|
28896
|
-
}
|
|
28897
|
-
|
|
28898
|
-
|
|
28899
|
-
|
|
28900
|
-
|
|
29003
|
+
children: [jsxRuntime.exports.jsx(ListItem$1, __assign({
|
|
29004
|
+
isHidden: isOnFirstPage,
|
|
29005
|
+
"aria-hidden": isOnFirstPage
|
|
29006
|
+
}, {
|
|
29007
|
+
children: jsxRuntime.exports.jsx(Button$1, {
|
|
29008
|
+
purpose: "secondary",
|
|
29009
|
+
appearance: "ghost",
|
|
29010
|
+
size: "small",
|
|
29011
|
+
Icon: default_1$4,
|
|
29012
|
+
onClick: function onClick(event) {
|
|
29013
|
+
onPageChange(event, 1);
|
|
29014
|
+
},
|
|
29015
|
+
"aria-label": "G\xE5 til f\xF8rste siden"
|
|
29016
|
+
})
|
|
29017
|
+
})), jsxRuntime.exports.jsx(ListItem$1, __assign({
|
|
29018
|
+
isHidden: isOnFirstPage,
|
|
29019
|
+
"aria-hidden": isOnFirstPage
|
|
29020
|
+
}, {
|
|
29021
|
+
children: previousPageButton
|
|
29022
|
+
})), jsxRuntime.exports.jsx(ListItem$1, {
|
|
28901
29023
|
children: jsxRuntime.exports.jsx(Button$1, {
|
|
28902
29024
|
label: activePage.toString(),
|
|
28903
29025
|
size: "small",
|
|
@@ -28905,22 +29027,26 @@ var Pagination = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28905
29027
|
onPageChange(event, activePage);
|
|
28906
29028
|
}
|
|
28907
29029
|
})
|
|
28908
|
-
}),
|
|
28909
|
-
|
|
28910
|
-
|
|
28911
|
-
|
|
28912
|
-
|
|
28913
|
-
|
|
28914
|
-
|
|
28915
|
-
|
|
28916
|
-
|
|
28917
|
-
|
|
28918
|
-
|
|
28919
|
-
|
|
28920
|
-
|
|
28921
|
-
|
|
28922
|
-
|
|
28923
|
-
|
|
29030
|
+
}), jsxRuntime.exports.jsx(ListItem$1, __assign({
|
|
29031
|
+
isHidden: isOnLastPage,
|
|
29032
|
+
"aria-hidden": isOnLastPage
|
|
29033
|
+
}, {
|
|
29034
|
+
children: nextPageButton
|
|
29035
|
+
})), jsxRuntime.exports.jsx(ListItem$1, __assign({
|
|
29036
|
+
isHidden: isOnLastPage,
|
|
29037
|
+
"aria-hidden": isOnLastPage
|
|
29038
|
+
}, {
|
|
29039
|
+
children: jsxRuntime.exports.jsx(Button$1, {
|
|
29040
|
+
purpose: "secondary",
|
|
29041
|
+
appearance: "ghost",
|
|
29042
|
+
size: "small",
|
|
29043
|
+
Icon: default_1$3,
|
|
29044
|
+
onClick: function onClick(event) {
|
|
29045
|
+
onPageChange(event, pagesLength);
|
|
29046
|
+
},
|
|
29047
|
+
"aria-label": "G\xE5 til siste siden"
|
|
29048
|
+
})
|
|
29049
|
+
}))]
|
|
28924
29050
|
})
|
|
28925
29051
|
})) : null;
|
|
28926
29052
|
var activePageFirstItem = activePage === 1 ? 1 : activePage * itemsPerPage - itemsPerPage + 1;
|
|
@@ -28948,7 +29074,7 @@ var Pagination = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28948
29074
|
}), navigationToBeRendered]
|
|
28949
29075
|
}));
|
|
28950
29076
|
});
|
|
28951
|
-
var templateObject_1$
|
|
29077
|
+
var templateObject_1$u, templateObject_2$m, templateObject_3$d, templateObject_4$9, templateObject_5$4, templateObject_6$3, templateObject_7$2, templateObject_8$2;
|
|
28952
29078
|
|
|
28953
29079
|
var Border$9 = ddsBaseTokens.border,
|
|
28954
29080
|
Spacing$i = ddsBaseTokens.spacing;
|
|
@@ -28956,7 +29082,7 @@ var dividerColors = {
|
|
|
28956
29082
|
primary: Border$9.BordersDdsBorderStyleDarkStroke,
|
|
28957
29083
|
primaryLighter: Border$9.BordersDdsBorderStyleLightStroke
|
|
28958
29084
|
};
|
|
28959
|
-
var base$
|
|
29085
|
+
var base$9 = {
|
|
28960
29086
|
border: 0,
|
|
28961
29087
|
backgroundColor: 'transparent',
|
|
28962
29088
|
borderTop: "".concat(Border$9.BordersDdsBorderStyleLightStrokeWeight, " solid"),
|
|
@@ -28964,15 +29090,15 @@ var base$a = {
|
|
|
28964
29090
|
marginBottom: Spacing$i.SizesDdsSpacingLocalX1
|
|
28965
29091
|
};
|
|
28966
29092
|
var dividerTokens = {
|
|
28967
|
-
base: base$
|
|
29093
|
+
base: base$9
|
|
28968
29094
|
};
|
|
28969
29095
|
|
|
28970
29096
|
var DividerLine = styled$3.hr.withConfig({
|
|
28971
29097
|
displayName: "Divider__DividerLine",
|
|
28972
29098
|
componentId: "sc-ggdopz-0"
|
|
28973
|
-
})(templateObject_2$
|
|
29099
|
+
})(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), dividerTokens.base, function (_a) {
|
|
28974
29100
|
var color = _a.color;
|
|
28975
|
-
return color && Ae(templateObject_1$
|
|
29101
|
+
return color && Ae(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n border-color: ", ";\n "], ["\n border-color: ", ";\n "])), dividerColors[color]);
|
|
28976
29102
|
});
|
|
28977
29103
|
var Divider = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28978
29104
|
var _b = _a.color,
|
|
@@ -28987,7 +29113,7 @@ var Divider = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28987
29113
|
ref: ref
|
|
28988
29114
|
}, lineProps));
|
|
28989
29115
|
});
|
|
28990
|
-
var templateObject_1$
|
|
29116
|
+
var templateObject_1$t, templateObject_2$l;
|
|
28991
29117
|
|
|
28992
29118
|
var img$3 = "data:image/svg+xml,%3csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='6.7085' cy='6.7085' r='2.625' fill='%230B0D0E'/%3e%3c/svg%3e";
|
|
28993
29119
|
|
|
@@ -28996,11 +29122,11 @@ var img$2 = "data:image/svg+xml,%3csvg width='14' height='14' viewBox='0 0 14 14
|
|
|
28996
29122
|
var img$1 = "data:image/svg+xml,%3csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.70817 9.33333C8.80225 9.33333 10.4998 7.50516 10.4998 5.25H2.9165C2.9165 7.50516 4.61409 9.33333 6.70817 9.33333Z' fill='%230B0D0E'/%3e%3c/svg%3e";
|
|
28997
29123
|
|
|
28998
29124
|
var Spacing$h = ddsBaseTokens.spacing;
|
|
28999
|
-
var base$
|
|
29125
|
+
var base$8 = {
|
|
29000
29126
|
lineHeight: '2.5em'
|
|
29001
29127
|
};
|
|
29002
29128
|
var listItemTokens = {
|
|
29003
|
-
base: base$
|
|
29129
|
+
base: base$8,
|
|
29004
29130
|
bulletSpacing: Spacing$h.SizesDdsSpacingLocalX025
|
|
29005
29131
|
};
|
|
29006
29132
|
|
|
@@ -29027,12 +29153,12 @@ var bodySerif03Base = __assign({}, FontPackages$9.body_serif_03.base);
|
|
|
29027
29153
|
|
|
29028
29154
|
var bodySerif04Base = __assign({}, FontPackages$9.body_serif_04.base);
|
|
29029
29155
|
|
|
29030
|
-
var base$
|
|
29156
|
+
var base$7 = {
|
|
29031
29157
|
margin: "".concat(Spacing$g.SizesDdsSpacingLocalX1, " 0"),
|
|
29032
29158
|
color: textDefault$3.textColor
|
|
29033
29159
|
};
|
|
29034
29160
|
var listTokens = {
|
|
29035
|
-
base: base$
|
|
29161
|
+
base: base$7,
|
|
29036
29162
|
spaceLeft: Spacing$g.SizesDdsSpacingLocalX2,
|
|
29037
29163
|
sizes: {
|
|
29038
29164
|
bodySans01: bodySans01Base,
|
|
@@ -29052,12 +29178,12 @@ var ulPaddingLeft = "".concat(listTokens.spaceLeft, " - (").concat(liTextPadding
|
|
|
29052
29178
|
var StyledList = styled$3.ul.withConfig({
|
|
29053
29179
|
displayName: "List__StyledList",
|
|
29054
29180
|
componentId: "sc-1f1c7eb-0"
|
|
29055
|
-
})(templateObject_4$
|
|
29181
|
+
})(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["\n ", "\n ul, ol {\n margin: 0;\n }\n *::selection {\n ", "\n }\n ", "\n ", "\n"], ["\n ", "\n ul, ol {\n margin: 0;\n }\n *::selection {\n ", "\n }\n ", "\n ", "\n"])), listTokens.base, typographyTokens.selection.base, function (_a) {
|
|
29056
29182
|
var typographyType = _a.typographyType;
|
|
29057
|
-
return typographyType && Ae(templateObject_1$
|
|
29183
|
+
return typographyType && Ae(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n ", "\n ul,\n ol {\n ", "\n }\n "], ["\n ", "\n ul,\n ol {\n ", "\n }\n "])), listTokens.sizes[typographyType], listTokens.sizes[typographyType]);
|
|
29058
29184
|
}, function (_a) {
|
|
29059
29185
|
var listType = _a.listType;
|
|
29060
|
-
return listType === 'unordered' ? Ae(templateObject_2$
|
|
29186
|
+
return listType === 'unordered' ? Ae(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n padding-left: ", ";\n list-style: none;\n li {\n position: relative;\n padding-left: ", ";\n &:before {\n content: '';\n display: inline-block;\n height: 1em;\n width: 1em;\n position: absolute;\n top: ", ";\n left: 0;\n background-size: contain;\n background-repeat: no-repeat;\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n ul > li:before {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n ul > li > ul > li:before {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n }\n "], ["\n padding-left: ", ";\n list-style: none;\n li {\n position: relative;\n padding-left: ", ";\n &:before {\n content: '';\n display: inline-block;\n height: 1em;\n width: 1em;\n position: absolute;\n top: ", ";\n left: 0;\n background-size: contain;\n background-repeat: no-repeat;\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n ul > li:before {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n ul > li > ul > li:before {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n }\n "])), "calc(".concat(ulPaddingLeft, ")"), "calc(".concat(liTextPadding, ")"), "calc((".concat(listItemTokens.base.lineHeight, " / 2) - 0.5em )"), img$3, img$2, img$1) : Ae(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n padding-left: ", ";\n & > li > ol {\n list-style-type: lower-alpha;\n }\n & > li > ol > li > ol {\n list-style-type: lower-roman;\n }\n "], ["\n padding-left: ", ";\n & > li > ol {\n list-style-type: lower-alpha;\n }\n & > li > ol > li > ol {\n list-style-type: lower-roman;\n }\n "])), listTokens.spaceLeft);
|
|
29061
29187
|
});
|
|
29062
29188
|
var List = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29063
29189
|
var _b = _a.listType,
|
|
@@ -29080,12 +29206,12 @@ var List = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29080
29206
|
children: children
|
|
29081
29207
|
}));
|
|
29082
29208
|
});
|
|
29083
|
-
var templateObject_1$
|
|
29209
|
+
var templateObject_1$s, templateObject_2$k, templateObject_3$c, templateObject_4$8;
|
|
29084
29210
|
|
|
29085
29211
|
var StyledListItem = styled$3.li.withConfig({
|
|
29086
29212
|
displayName: "ListItem__StyledListItem",
|
|
29087
29213
|
componentId: "sc-17s9l0b-0"
|
|
29088
|
-
})(templateObject_1$
|
|
29214
|
+
})(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), listItemTokens.base);
|
|
29089
29215
|
var ListItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29090
29216
|
var children = _a.children,
|
|
29091
29217
|
rest = __rest(_a, ["children"]);
|
|
@@ -29096,11 +29222,11 @@ var ListItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29096
29222
|
children: children
|
|
29097
29223
|
}));
|
|
29098
29224
|
});
|
|
29099
|
-
var templateObject_1$
|
|
29225
|
+
var templateObject_1$r;
|
|
29100
29226
|
|
|
29101
29227
|
var Spacing$f = ddsBaseTokens.spacing,
|
|
29102
29228
|
FontPackages$8 = ddsBaseTokens.fontPackages,
|
|
29103
|
-
Colors$
|
|
29229
|
+
Colors$9 = ddsBaseTokens.colors;
|
|
29104
29230
|
var textDefault$2 = ddsReferenceTokens.textDefault;
|
|
29105
29231
|
|
|
29106
29232
|
var boldBase = __assign(__assign(__assign({}, FontPackages$8.body_sans_03.base), typographyTokens.style.bold.base), {
|
|
@@ -29108,7 +29234,7 @@ var boldBase = __assign(__assign(__assign({}, FontPackages$8.body_sans_03.base),
|
|
|
29108
29234
|
});
|
|
29109
29235
|
|
|
29110
29236
|
var smallBase = __assign(__assign({}, FontPackages$8.body_sans_01.base), {
|
|
29111
|
-
color: Colors$
|
|
29237
|
+
color: Colors$9.DdsColorNeutralsGray7
|
|
29112
29238
|
});
|
|
29113
29239
|
|
|
29114
29240
|
var descriptionListTermTokens = {
|
|
@@ -29127,9 +29253,9 @@ var descriptionListTermTokens = {
|
|
|
29127
29253
|
var DList = styled$3.dl.withConfig({
|
|
29128
29254
|
displayName: "DescriptionList__DList",
|
|
29129
29255
|
componentId: "sc-1ob73hm-0"
|
|
29130
|
-
})(templateObject_2$
|
|
29256
|
+
})(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n margin: 0;\n *::selection {\n ", "\n }\n ", "\n & > dt:first-of-type {\n margin-top: ", ";\n }\n & > dd:last-child {\n margin-bottom: ", ";\n }\n dd + dt {\n margin-top: ", ";\n }\n"], ["\n margin: 0;\n *::selection {\n ", "\n }\n ", "\n & > dt:first-of-type {\n margin-top: ", ";\n }\n & > dd:last-child {\n margin-bottom: ", ";\n }\n dd + dt {\n margin-top: ", ";\n }\n"])), typographyTokens.selection.base, function (_a) {
|
|
29131
29257
|
var appearance = _a.appearance;
|
|
29132
|
-
return appearance && Ae(templateObject_1$
|
|
29258
|
+
return appearance && Ae(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n dt {\n ", "\n }\n "], ["\n dt {\n ", "\n }\n "])), descriptionListTermTokens.appearance[appearance].base);
|
|
29133
29259
|
}, descriptionListTermTokens.unwrappedTopAndBottomSpace, descriptionListTermTokens.unwrappedTopAndBottomSpace, descriptionListTermTokens.unwrappedBetweenSpace);
|
|
29134
29260
|
var DescriptionList = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29135
29261
|
var _b = _a.appearance,
|
|
@@ -29146,12 +29272,12 @@ var DescriptionList = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29146
29272
|
children: children
|
|
29147
29273
|
}));
|
|
29148
29274
|
});
|
|
29149
|
-
var templateObject_1$
|
|
29275
|
+
var templateObject_1$q, templateObject_2$j;
|
|
29150
29276
|
|
|
29151
29277
|
var DListTerm = styled$3.dt.withConfig({
|
|
29152
29278
|
displayName: "DescriptionListTerm__DListTerm",
|
|
29153
29279
|
componentId: "sc-10w0rzr-0"
|
|
29154
|
-
})(templateObject_1$
|
|
29280
|
+
})(templateObject_1$p || (templateObject_1$p = __makeTemplateObject([""], [""])));
|
|
29155
29281
|
var DescriptionListTerm = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29156
29282
|
var children = _a.children,
|
|
29157
29283
|
rest = __rest(_a, ["children"]);
|
|
@@ -29164,13 +29290,13 @@ var DescriptionListTerm = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29164
29290
|
children: children
|
|
29165
29291
|
}));
|
|
29166
29292
|
});
|
|
29167
|
-
var templateObject_1$
|
|
29293
|
+
var templateObject_1$p;
|
|
29168
29294
|
|
|
29169
29295
|
var Spacing$e = ddsBaseTokens.spacing,
|
|
29170
29296
|
FontPackages$7 = ddsBaseTokens.fontPackages;
|
|
29171
29297
|
var textDefault$1 = ddsReferenceTokens.textDefault;
|
|
29172
29298
|
|
|
29173
|
-
var base$
|
|
29299
|
+
var base$6 = __assign(__assign({}, FontPackages$7.body_sans_03.base), {
|
|
29174
29300
|
color: textDefault$1.textColor
|
|
29175
29301
|
});
|
|
29176
29302
|
|
|
@@ -29178,7 +29304,7 @@ var iconBase = {
|
|
|
29178
29304
|
marginRight: Spacing$e.SizesDdsSpacingLocalX025
|
|
29179
29305
|
};
|
|
29180
29306
|
var descriptionListDescTokens = {
|
|
29181
|
-
base: base$
|
|
29307
|
+
base: base$6,
|
|
29182
29308
|
icon: {
|
|
29183
29309
|
base: iconBase
|
|
29184
29310
|
}
|
|
@@ -29187,11 +29313,11 @@ var descriptionListDescTokens = {
|
|
|
29187
29313
|
var DListDesc = styled$3.dd.withConfig({
|
|
29188
29314
|
displayName: "DescriptionListDesc__DListDesc",
|
|
29189
29315
|
componentId: "sc-1djcf0s-0"
|
|
29190
|
-
})(templateObject_1$
|
|
29316
|
+
})(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n ", "\n display: flex;\n align-items: center;\n margin-inline-start: 0;\n"], ["\n ", "\n display: flex;\n align-items: center;\n margin-inline-start: 0;\n"])), descriptionListDescTokens.base);
|
|
29191
29317
|
var StyledIconWrapper$1 = styled$3(IconWrapper$1).withConfig({
|
|
29192
29318
|
displayName: "DescriptionListDesc__StyledIconWrapper",
|
|
29193
29319
|
componentId: "sc-1djcf0s-1"
|
|
29194
|
-
})(templateObject_2$
|
|
29320
|
+
})(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), descriptionListDescTokens.icon.base);
|
|
29195
29321
|
var DescriptionListDesc = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29196
29322
|
var children = _a.children,
|
|
29197
29323
|
Icon = _a.Icon,
|
|
@@ -29208,22 +29334,22 @@ var DescriptionListDesc = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29208
29334
|
}), " ", children]
|
|
29209
29335
|
}));
|
|
29210
29336
|
});
|
|
29211
|
-
var templateObject_1$
|
|
29337
|
+
var templateObject_1$o, templateObject_2$i;
|
|
29212
29338
|
|
|
29213
29339
|
var Spacing$d = ddsBaseTokens.spacing;
|
|
29214
|
-
var base$
|
|
29340
|
+
var base$5 = {
|
|
29215
29341
|
margin: Spacing$d.SizesDdsSpacingLocalX2
|
|
29216
29342
|
};
|
|
29217
29343
|
var descriptionListGroupTokens = {
|
|
29218
|
-
base: base$
|
|
29344
|
+
base: base$5
|
|
29219
29345
|
};
|
|
29220
29346
|
|
|
29221
29347
|
var DListGroup = styled$3.div.withConfig({
|
|
29222
29348
|
displayName: "DescriptionListGroup__DListGroup",
|
|
29223
29349
|
componentId: "sc-jkdc0o-0"
|
|
29224
|
-
})(templateObject_2$
|
|
29350
|
+
})(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), descriptionListGroupTokens.base, function (_a) {
|
|
29225
29351
|
var margin = _a.margin;
|
|
29226
|
-
return margin && Ae(templateObject_1$
|
|
29352
|
+
return margin && Ae(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n margin: ", ";\n "], ["\n margin: ", ";\n "])), margin);
|
|
29227
29353
|
});
|
|
29228
29354
|
var DescriptionListGroup = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29229
29355
|
var children = _a.children,
|
|
@@ -29238,14 +29364,14 @@ var DescriptionListGroup = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29238
29364
|
children: children
|
|
29239
29365
|
}));
|
|
29240
29366
|
});
|
|
29241
|
-
var templateObject_1$
|
|
29367
|
+
var templateObject_1$n, templateObject_2$h;
|
|
29242
29368
|
|
|
29243
|
-
var Colors$
|
|
29369
|
+
var Colors$8 = ddsBaseTokens.colors,
|
|
29244
29370
|
Border$8 = ddsBaseTokens.border,
|
|
29245
29371
|
FontPackages$6 = ddsBaseTokens.fontPackages;
|
|
29246
29372
|
var textDefault = ddsReferenceTokens.textDefault;
|
|
29247
29373
|
|
|
29248
|
-
var base$
|
|
29374
|
+
var base$4 = __assign({
|
|
29249
29375
|
border: "".concat(Border$8.BordersDdsBorderStyleLightStrokeWeight, " solid")
|
|
29250
29376
|
}, FontPackages$6.body_sans_02.base);
|
|
29251
29377
|
|
|
@@ -29254,27 +29380,27 @@ var navigationHoverBase = __assign({}, hoverWithBorder);
|
|
|
29254
29380
|
var navigationFocusBase = __assign({}, focusVisibleWithBorder);
|
|
29255
29381
|
|
|
29256
29382
|
var filledDarkBase = {
|
|
29257
|
-
backgroundColor: Colors$
|
|
29258
|
-
borderColor: Colors$
|
|
29259
|
-
color: Colors$
|
|
29383
|
+
backgroundColor: Colors$8.DdsColorPrimaryBase,
|
|
29384
|
+
borderColor: Colors$8.DdsColorPrimaryBase,
|
|
29385
|
+
color: Colors$8.DdsColorNeutralsWhite
|
|
29260
29386
|
};
|
|
29261
29387
|
var filledLightBase = {
|
|
29262
|
-
backgroundColor: Colors$
|
|
29263
|
-
borderColor: Colors$
|
|
29388
|
+
backgroundColor: Colors$8.DdsColorPrimaryLightest,
|
|
29389
|
+
borderColor: Colors$8.DdsColorPrimaryLightest,
|
|
29264
29390
|
color: textDefault.textColor
|
|
29265
29391
|
};
|
|
29266
29392
|
var strokeLightBase = {
|
|
29267
|
-
backgroundColor: Colors$
|
|
29393
|
+
backgroundColor: Colors$8.DdsColorNeutralsWhite,
|
|
29268
29394
|
borderColor: Border$8.BordersDdsBorderStyleLightStroke,
|
|
29269
29395
|
color: textDefault.textColor
|
|
29270
29396
|
};
|
|
29271
29397
|
var strokeDarkBase = {
|
|
29272
|
-
backgroundColor: Colors$
|
|
29398
|
+
backgroundColor: Colors$8.DdsColorNeutralsWhite,
|
|
29273
29399
|
borderColor: Border$8.BordersDdsBorderStyleDarkStroke,
|
|
29274
29400
|
color: textDefault.textColor
|
|
29275
29401
|
};
|
|
29276
29402
|
var cardTokens = {
|
|
29277
|
-
base: base$
|
|
29403
|
+
base: base$4,
|
|
29278
29404
|
navigation: {
|
|
29279
29405
|
hover: {
|
|
29280
29406
|
base: navigationHoverBase
|
|
@@ -29302,12 +29428,12 @@ var cardTokens = {
|
|
|
29302
29428
|
var Container$9 = styled$3.div.withConfig({
|
|
29303
29429
|
displayName: "Card__Container",
|
|
29304
29430
|
componentId: "sc-410ao9-0"
|
|
29305
|
-
})(templateObject_4$
|
|
29431
|
+
})(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject(["\n ", "\n &::selection, *::selection {\n ", "\n }\n transition: box-shadow 0.2s, border-color 0.2s;\n ", "\n ", "\n"], ["\n ", "\n &::selection, *::selection {\n ", "\n }\n transition: box-shadow 0.2s, border-color 0.2s;\n ", "\n ", "\n"])), cardTokens.base, typographyTokens.selection.base, function (_a) {
|
|
29306
29432
|
var color = _a.color;
|
|
29307
|
-
return color && Ae(templateObject_1$
|
|
29433
|
+
return color && Ae(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), cardTokens.colors[color].base);
|
|
29308
29434
|
}, function (_a) {
|
|
29309
29435
|
var cardType = _a.cardType;
|
|
29310
|
-
return cardType === 'navigation' ? Ae(templateObject_2$
|
|
29436
|
+
return cardType === 'navigation' ? Ae(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n text-decoration: none;\n &:hover {\n ", "\n }\n &:focus {\n outline: none;\n ", "\n }\n "], ["\n text-decoration: none;\n &:hover {\n ", "\n }\n &:focus {\n outline: none;\n ", "\n }\n "])), cardTokens.navigation.hover.base, cardTokens.navigation.focus.base) : cardType === 'expandable' ? Ae(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n &:not(:first-of-type) {\n border-top: none;\n }\n "], ["\n &:not(:first-of-type) {\n border-top: none;\n }\n "]))) : '';
|
|
29311
29437
|
});
|
|
29312
29438
|
var Card = function Card(props) {
|
|
29313
29439
|
var _a;
|
|
@@ -29334,12 +29460,12 @@ var Card = function Card(props) {
|
|
|
29334
29460
|
children: props.children
|
|
29335
29461
|
}));
|
|
29336
29462
|
};
|
|
29337
|
-
var templateObject_1$
|
|
29463
|
+
var templateObject_1$m, templateObject_2$g, templateObject_3$b, templateObject_4$7;
|
|
29338
29464
|
|
|
29339
29465
|
var Wrapper$3 = styled$3.div.withConfig({
|
|
29340
29466
|
displayName: "CardAccordion__Wrapper",
|
|
29341
29467
|
componentId: "sc-1ctxrby-0"
|
|
29342
|
-
})(templateObject_1$
|
|
29468
|
+
})(templateObject_1$l || (templateObject_1$l = __makeTemplateObject([""], [""])));
|
|
29343
29469
|
var nextUniqueId$a = 0;
|
|
29344
29470
|
var CardAccordion = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29345
29471
|
var _b = _a.isExpanded,
|
|
@@ -29385,14 +29511,14 @@ var CardAccordion = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29385
29511
|
children: Children$1
|
|
29386
29512
|
}));
|
|
29387
29513
|
});
|
|
29388
|
-
var templateObject_1$
|
|
29514
|
+
var templateObject_1$l;
|
|
29389
29515
|
|
|
29390
29516
|
var Spacing$c = ddsBaseTokens.spacing,
|
|
29391
29517
|
FontPackages$5 = ddsBaseTokens.fontPackages,
|
|
29392
29518
|
Border$7 = ddsBaseTokens.border,
|
|
29393
29519
|
IconSizes$1 = ddsBaseTokens.iconSizes;
|
|
29394
29520
|
|
|
29395
|
-
var base$
|
|
29521
|
+
var base$3 = __assign({
|
|
29396
29522
|
padding: "".concat(Spacing$c.SizesDdsSpacingLocalX1, " ").concat(Spacing$c.SizesDdsSpacingLocalX075, " ").concat(Spacing$c.SizesDdsSpacingLocalX1, " ").concat(Spacing$c.SizesDdsSpacingLocalX15)
|
|
29397
29523
|
}, FontPackages$5.heading_sans_03.base);
|
|
29398
29524
|
|
|
@@ -29408,7 +29534,7 @@ var chevronWrapperBase = {
|
|
|
29408
29534
|
marginLeft: Spacing$c.SizesDdsSpacingLocalX05
|
|
29409
29535
|
};
|
|
29410
29536
|
var cardAccordionHeaderTokens = {
|
|
29411
|
-
base: base$
|
|
29537
|
+
base: base$3,
|
|
29412
29538
|
focus: {
|
|
29413
29539
|
base: focusBase$2
|
|
29414
29540
|
},
|
|
@@ -29424,66 +29550,10 @@ var cardAccordionHeaderTokens = {
|
|
|
29424
29550
|
}
|
|
29425
29551
|
};
|
|
29426
29552
|
|
|
29427
|
-
var SvgChevron = styled$3.svg.withConfig({
|
|
29428
|
-
displayName: "AnimatedChevronUpDownstyles__SvgChevron",
|
|
29429
|
-
componentId: "sc-yey4nu-0"
|
|
29430
|
-
})(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n display: inline-block;\n flex-shrink: 0;\n position: relative;\n text-align: center;\n vertical-align: middle;\n"], ["\n display: inline-block;\n flex-shrink: 0;\n position: relative;\n text-align: center;\n vertical-align: middle;\n"])));
|
|
29431
|
-
var SvgChevronlGroup = styled$3.g.withConfig({
|
|
29432
|
-
displayName: "AnimatedChevronUpDownstyles__SvgChevronlGroup",
|
|
29433
|
-
componentId: "sc-yey4nu-1"
|
|
29434
|
-
})(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n transition: transform 0.2s linear;\n transform: ", ";\n"], ["\n transition: transform 0.2s linear;\n transform: ", ";\n"])), function (_a) {
|
|
29435
|
-
var isUp = _a.isUp;
|
|
29436
|
-
return isUp ? 'translateY(3px)' : 'translateY(0)';
|
|
29437
|
-
});
|
|
29438
|
-
var SvgChevronlLeft = styled$3.path.withConfig({
|
|
29439
|
-
displayName: "AnimatedChevronUpDownstyles__SvgChevronlLeft",
|
|
29440
|
-
componentId: "sc-yey4nu-2"
|
|
29441
|
-
})(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n transition: transform 0.2s linear;\n transform-origin: 1px 1px;\n transform: ", ";\n"], ["\n transition: transform 0.2s linear;\n transform-origin: 1px 1px;\n transform: ", ";\n"])), function (_a) {
|
|
29442
|
-
var isUp = _a.isUp;
|
|
29443
|
-
return isUp ? 'rotate(-90deg) translateY(0)' : 'rotate(0) translateY(0)';
|
|
29444
|
-
});
|
|
29445
|
-
var SvgChevronlRight = styled$3.path.withConfig({
|
|
29446
|
-
displayName: "AnimatedChevronUpDownstyles__SvgChevronlRight",
|
|
29447
|
-
componentId: "sc-yey4nu-3"
|
|
29448
|
-
})(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject(["\n transition: transform 0.2s linear;\n transform-origin: 7px 1px;\n transform: ", ";\n"], ["\n transition: transform 0.2s linear;\n transform-origin: 7px 1px;\n transform: ", ";\n"])), function (_a) {
|
|
29449
|
-
var isUp = _a.isUp;
|
|
29450
|
-
return isUp ? 'rotate(90deg) translateY(0)' : 'rotate(0) translateY(0)';
|
|
29451
|
-
});
|
|
29452
|
-
var templateObject_1$n, templateObject_2$g, templateObject_3$b, templateObject_4$7;
|
|
29453
|
-
|
|
29454
|
-
var svgChevronLeftPath = 'M 1 0 L 5 4 C 5 4 5 4 5 4 L 4 5 C 4 5 4 5 4 5 C 4 5 4 5 4 5 L 0 1 C 0 1 0 1 0 1 L 1 0 C 1 0 1 0 1 0 C 1 0 1 0 1 0 L 1 0 Z';
|
|
29455
|
-
var svgChevronRightPath = 'M 3 4 L 7 0 L 8 1 C 8 1 8 1 8 1 L 4 5 L 3 4 C 3 4 3 4 3 4 L 3 4 Z';
|
|
29456
|
-
var AnimatedChevronUpDown = function AnimatedChevronUpDown(_a) {
|
|
29457
|
-
var isUp = _a.isUp,
|
|
29458
|
-
_b = _a.height,
|
|
29459
|
-
height = _b === void 0 ? '5px' : _b,
|
|
29460
|
-
_c = _a.width,
|
|
29461
|
-
width = _c === void 0 ? '8px' : _c;
|
|
29462
|
-
return jsxRuntime.exports.jsx(SvgChevron, __assign({
|
|
29463
|
-
viewBox: "0 0 8 5",
|
|
29464
|
-
width: width,
|
|
29465
|
-
height: height,
|
|
29466
|
-
fill: "currentColor",
|
|
29467
|
-
isUp: isUp
|
|
29468
|
-
}, {
|
|
29469
|
-
children: jsxRuntime.exports.jsxs(SvgChevronlGroup, __assign({
|
|
29470
|
-
isUp: isUp
|
|
29471
|
-
}, {
|
|
29472
|
-
children: [jsxRuntime.exports.jsx(SvgChevronlLeft, {
|
|
29473
|
-
d: svgChevronLeftPath,
|
|
29474
|
-
isUp: isUp
|
|
29475
|
-
}), jsxRuntime.exports.jsx(SvgChevronlRight, {
|
|
29476
|
-
d: svgChevronRightPath,
|
|
29477
|
-
isUp: isUp
|
|
29478
|
-
})]
|
|
29479
|
-
}))
|
|
29480
|
-
}));
|
|
29481
|
-
};
|
|
29482
|
-
|
|
29483
29553
|
var ContentWrapper = styled$3.div.withConfig({
|
|
29484
29554
|
displayName: "CardAccordionHeader__ContentWrapper",
|
|
29485
29555
|
componentId: "sc-1qs6bkj-0"
|
|
29486
|
-
})(templateObject_1$
|
|
29556
|
+
})(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n text-align: left;\n"], ["\n text-align: left;\n"])));
|
|
29487
29557
|
var HeaderContainer$2 = styled$3.div.withConfig({
|
|
29488
29558
|
displayName: "CardAccordionHeader__HeaderContainer",
|
|
29489
29559
|
componentId: "sc-1qs6bkj-1"
|
|
@@ -29532,20 +29602,20 @@ var CardAccordionHeader = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29532
29602
|
})
|
|
29533
29603
|
}));
|
|
29534
29604
|
});
|
|
29535
|
-
var templateObject_1$
|
|
29605
|
+
var templateObject_1$k, templateObject_2$f, templateObject_3$a, templateObject_4$6;
|
|
29536
29606
|
|
|
29537
29607
|
var Spacing$b = ddsBaseTokens.spacing,
|
|
29538
29608
|
FontPackages$4 = ddsBaseTokens.fontPackages;
|
|
29539
29609
|
|
|
29540
|
-
var base$
|
|
29610
|
+
var base$2 = __assign({
|
|
29541
29611
|
padding: "".concat(Spacing$b.SizesDdsSpacingLocalX1, " ").concat(Spacing$b.SizesDdsSpacingLocalX2NumberPx + Spacing$b.SizesDdsSpacingLocalX075NumberPx, "px ").concat(Spacing$b.SizesDdsSpacingLocalX2, " ").concat(Spacing$b.SizesDdsSpacingLocalX15)
|
|
29542
29612
|
}, FontPackages$4.body_sans_03.base);
|
|
29543
29613
|
|
|
29544
29614
|
var cardAccordionBodyTokens = {
|
|
29545
|
-
base: base$
|
|
29615
|
+
base: base$2
|
|
29546
29616
|
};
|
|
29547
29617
|
|
|
29548
|
-
var expandingAnimation = Ae(templateObject_1$
|
|
29618
|
+
var expandingAnimation = Ae(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n transition: padding 0.2s, visibility 0.3s,\n max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n"], ["\n transition: padding 0.2s, visibility 0.3s,\n max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n"])));
|
|
29549
29619
|
var Body = styled$3.div.withConfig({
|
|
29550
29620
|
displayName: "CardAccordionBody__Body",
|
|
29551
29621
|
componentId: "sc-igsnpx-0"
|
|
@@ -29606,7 +29676,7 @@ var CardAccordionBody = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29606
29676
|
}))
|
|
29607
29677
|
}));
|
|
29608
29678
|
});
|
|
29609
|
-
var templateObject_1$
|
|
29679
|
+
var templateObject_1$j, templateObject_2$e, templateObject_3$9, templateObject_4$5, templateObject_5$3;
|
|
29610
29680
|
|
|
29611
29681
|
var MoreVertOutlined = {};
|
|
29612
29682
|
|
|
@@ -29647,26 +29717,26 @@ var _default$1 = (0, _createSvgIcon$1.default)( /*#__PURE__*/(0, _jsxRuntime$1.j
|
|
|
29647
29717
|
default_1$1 = MenuOutlined.default = _default$1;
|
|
29648
29718
|
|
|
29649
29719
|
var Border$6 = ddsBaseTokens.border,
|
|
29650
|
-
Colors$
|
|
29720
|
+
Colors$7 = ddsBaseTokens.colors,
|
|
29651
29721
|
Spacing$a = ddsBaseTokens.spacing,
|
|
29652
29722
|
FontPackages$3 = ddsBaseTokens.fontPackages;
|
|
29653
29723
|
var borderColor = Border$6.BordersDdsBorderStyleLightStroke;
|
|
29654
29724
|
|
|
29655
29725
|
var linkBase$2 = __assign({
|
|
29656
|
-
color: Colors$
|
|
29726
|
+
color: Colors$7.DdsColorNeutralsGray9,
|
|
29657
29727
|
textDecoration: 'none',
|
|
29658
|
-
backgroundColor: Colors$
|
|
29728
|
+
backgroundColor: Colors$7.DdsColorNeutralsWhite
|
|
29659
29729
|
}, FontPackages$3.body_sans_01.base);
|
|
29660
29730
|
|
|
29661
29731
|
var linkHoverBase$2 = {
|
|
29662
|
-
color: Colors$
|
|
29663
|
-
backgroundColor: Colors$
|
|
29732
|
+
color: Colors$7.DdsColorInteractiveDark,
|
|
29733
|
+
backgroundColor: Colors$7.DdsColorPrimaryLightest
|
|
29664
29734
|
};
|
|
29665
29735
|
var linkActiveBase$1 = {
|
|
29666
|
-
color: Colors$
|
|
29736
|
+
color: Colors$7.DdsColorInteractiveBase
|
|
29667
29737
|
};
|
|
29668
29738
|
var wrapperBase$4 = {
|
|
29669
|
-
backgroundColor: Colors$
|
|
29739
|
+
backgroundColor: Colors$7.DdsColorNeutralsWhite
|
|
29670
29740
|
};
|
|
29671
29741
|
var applicationNameWrapperBase = {
|
|
29672
29742
|
padding: "".concat(Spacing$a.SizesDdsSpacingLocalX1, " ").concat(Spacing$a.SizesDdsSpacingLocalX15)
|
|
@@ -29695,8 +29765,8 @@ var navigationLinkActiveBase = __assign({}, linkActiveBase$1);
|
|
|
29695
29765
|
var navigationLinkFocusBase = __assign({}, focusVisibleLink);
|
|
29696
29766
|
|
|
29697
29767
|
var navigationLinkCurrentBase = {
|
|
29698
|
-
color: Colors$
|
|
29699
|
-
backgroundColor: Colors$
|
|
29768
|
+
color: Colors$7.DdsColorInteractiveDarker,
|
|
29769
|
+
backgroundColor: Colors$7.DdsColorPrimaryLightest
|
|
29700
29770
|
};
|
|
29701
29771
|
var contextGroupBase = {
|
|
29702
29772
|
right: Spacing$a.SizesDdsSpacingLocalX075,
|
|
@@ -31436,31 +31506,44 @@ function useId(prefix, suffix) {
|
|
|
31436
31506
|
return "".concat(prefix, "-").concat(id).concat(suffix ? '-' + suffix : '');
|
|
31437
31507
|
}
|
|
31438
31508
|
|
|
31509
|
+
var breakpoints = ddsBaseTokens.breakpoints;
|
|
31510
|
+
var ScreenSize;
|
|
31511
|
+
|
|
31512
|
+
(function (ScreenSize) {
|
|
31513
|
+
ScreenSize[ScreenSize["XSmall"] = 0] = "XSmall";
|
|
31514
|
+
ScreenSize[ScreenSize["Small"] = 1] = "Small";
|
|
31515
|
+
ScreenSize[ScreenSize["Medium"] = 2] = "Medium";
|
|
31516
|
+
ScreenSize[ScreenSize["Large"] = 3] = "Large";
|
|
31517
|
+
ScreenSize[ScreenSize["XLarge"] = 4] = "XLarge";
|
|
31518
|
+
})(ScreenSize || (ScreenSize = {}));
|
|
31519
|
+
|
|
31520
|
+
[[ScreenSize.XSmall, "only screen and (min-width: ".concat(breakpoints.DdsBreakpointXs, ")")], [ScreenSize.Small, "only screen and (min-width: ".concat(breakpoints.DdsBreakpointSm, ")")], [ScreenSize.Medium, "only screen and (min-width: ".concat(breakpoints.DdsBreakpointMd, ")")], [ScreenSize.Large, "only screen and (min-width: ".concat(breakpoints.DdsBreakpointLg, ")")], [ScreenSize.XLarge, "only screen and (min-width: ".concat(breakpoints.DdsBreakpointXl, ")")]];
|
|
31521
|
+
|
|
31439
31522
|
var Border$5 = ddsBaseTokens.border,
|
|
31440
|
-
BorderRadius$
|
|
31441
|
-
Colors$
|
|
31523
|
+
BorderRadius$3 = ddsBaseTokens.borderRadius,
|
|
31524
|
+
Colors$6 = ddsBaseTokens.colors,
|
|
31442
31525
|
Spacing$9 = ddsBaseTokens.spacing,
|
|
31443
31526
|
FontPackages$2 = ddsBaseTokens.fontPackages;
|
|
31444
31527
|
|
|
31445
31528
|
var linkBase$1 = __assign({
|
|
31446
|
-
color: Colors$
|
|
31529
|
+
color: Colors$6.DdsColorNeutralsGray9,
|
|
31447
31530
|
textDecoration: 'none',
|
|
31448
|
-
backgroundColor: Colors$
|
|
31531
|
+
backgroundColor: Colors$6.DdsColorNeutralsWhite,
|
|
31449
31532
|
padding: "".concat(Spacing$9.SizesDdsSpacingLocalX075, " ").concat(Spacing$9.SizesDdsSpacingLocalX15),
|
|
31450
31533
|
gap: Spacing$9.SizesDdsSpacingLocalX025
|
|
31451
31534
|
}, FontPackages$2.body_sans_01.base);
|
|
31452
31535
|
|
|
31453
31536
|
var linkHoverBase$1 = {
|
|
31454
|
-
color: Colors$
|
|
31455
|
-
backgroundColor: Colors$
|
|
31537
|
+
color: Colors$6.DdsColorInteractiveDark,
|
|
31538
|
+
backgroundColor: Colors$6.DdsColorPrimaryLightest
|
|
31456
31539
|
};
|
|
31457
31540
|
var linkActiveBase = {
|
|
31458
|
-
color: Colors$
|
|
31541
|
+
color: Colors$6.DdsColorInteractiveBase
|
|
31459
31542
|
};
|
|
31460
31543
|
var wrapperBase$3 = {
|
|
31461
31544
|
border: "".concat(Border$5.BordersDdsBorderStyleLightStrokeWeight, " ").concat(Border$5.BordersDdsBorderStyleLightStroke, " solid "),
|
|
31462
|
-
backgroundColor: Colors$
|
|
31463
|
-
borderRadius: BorderRadius$
|
|
31545
|
+
backgroundColor: Colors$6.DdsColorNeutralsWhite,
|
|
31546
|
+
borderRadius: BorderRadius$3.RadiiDdsBorderRadius1Radius
|
|
31464
31547
|
};
|
|
31465
31548
|
|
|
31466
31549
|
var linkFocusBase$1 = __assign({}, focusVisibleLink);
|
|
@@ -31494,7 +31577,7 @@ var overflowMenuTokens = {
|
|
|
31494
31577
|
var Span = styled$3.span.withConfig({
|
|
31495
31578
|
displayName: "OverflowMenuItem__Span",
|
|
31496
31579
|
componentId: "sc-1ka2asi-0"
|
|
31497
|
-
})(templateObject_1$
|
|
31580
|
+
})(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n ", "\n display: flex;\n align-items: center;\n box-sizing: border-box;\n"], ["\n ", "\n display: flex;\n align-items: center;\n box-sizing: border-box;\n"])), overflowMenuTokens.link.base);
|
|
31498
31581
|
var Link$2 = styled$3.a.withConfig({
|
|
31499
31582
|
displayName: "OverflowMenuItem__Link",
|
|
31500
31583
|
componentId: "sc-1ka2asi-1"
|
|
@@ -31580,7 +31663,7 @@ var OverflowMenuItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31580
31663
|
children: [icon, title]
|
|
31581
31664
|
}));
|
|
31582
31665
|
});
|
|
31583
|
-
var templateObject_1$
|
|
31666
|
+
var templateObject_1$i, templateObject_2$d, templateObject_3$8;
|
|
31584
31667
|
|
|
31585
31668
|
var PersonOutlineOutlined = {};
|
|
31586
31669
|
|
|
@@ -31604,7 +31687,7 @@ default_1 = PersonOutlineOutlined.default = _default;
|
|
|
31604
31687
|
var Container$8 = styled$3.div.withConfig({
|
|
31605
31688
|
displayName: "OverflowMenu__Container",
|
|
31606
31689
|
componentId: "sc-kh744b-0"
|
|
31607
|
-
})(templateObject_1$
|
|
31690
|
+
})(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n box-sizing: border-box;\n z-index: 3;\n overflow-y: auto;\n min-width: 180px;\n max-width: 300px;\n transition: visibility 0.4s, opacity 0.2s;\n visibility: ", ";\n opacity: ", ";\n ", "\n ", "\n *::selection {\n ", "\n }\n"], ["\n box-sizing: border-box;\n z-index: 3;\n overflow-y: auto;\n min-width: 180px;\n max-width: 300px;\n transition: visibility 0.4s, opacity 0.2s;\n visibility: ", ";\n opacity: ", ";\n ", "\n ", "\n *::selection {\n ", "\n }\n"])), function (_a) {
|
|
31608
31691
|
var isOpen = _a.isOpen;
|
|
31609
31692
|
return !isOpen ? 'hidden' : 'visible';
|
|
31610
31693
|
}, function (_a) {
|
|
@@ -31740,7 +31823,7 @@ var OverflowMenu = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31740
31823
|
}), interactiveContent()]
|
|
31741
31824
|
}));
|
|
31742
31825
|
});
|
|
31743
|
-
var templateObject_1$
|
|
31826
|
+
var templateObject_1$h, templateObject_2$c, templateObject_3$7;
|
|
31744
31827
|
|
|
31745
31828
|
var nextUniqueId$9 = 0;
|
|
31746
31829
|
var OverflowMenuGroup = function OverflowMenuGroup(_a) {
|
|
@@ -31800,7 +31883,7 @@ var OverflowMenuGroup = function OverflowMenuGroup(_a) {
|
|
|
31800
31883
|
var Wrapper$2 = styled$3.div.withConfig({
|
|
31801
31884
|
displayName: "InternalHeaderstyles__Wrapper",
|
|
31802
31885
|
componentId: "sc-91bnca-0"
|
|
31803
|
-
})(templateObject_1$
|
|
31886
|
+
})(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n position: relative;\n *::selection {\n ", "\n }\n ", "\n"], ["\n position: relative;\n *::selection {\n ", "\n }\n ", "\n"])), typographyTokens.selection.base, internalHeaderTokens.wrapper.base);
|
|
31804
31887
|
var BannerWrapper = styled$3.div.withConfig({
|
|
31805
31888
|
displayName: "InternalHeaderstyles__BannerWrapper",
|
|
31806
31889
|
componentId: "sc-91bnca-1"
|
|
@@ -31839,14 +31922,14 @@ var StyledOverflowMenu = styled$3(OverflowMenu).withConfig({
|
|
|
31839
31922
|
displayName: "InternalHeaderstyles__StyledOverflowMenu",
|
|
31840
31923
|
componentId: "sc-91bnca-8"
|
|
31841
31924
|
})(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n max-height: calc(100vh - 110px);\n"], ["\n max-height: calc(100vh - 110px);\n"])));
|
|
31842
|
-
var templateObject_1$
|
|
31925
|
+
var templateObject_1$g, templateObject_2$b, templateObject_3$6, templateObject_4$4, templateObject_5$2, templateObject_6$2, templateObject_7$1, templateObject_8$1, templateObject_9, templateObject_10, templateObject_11;
|
|
31843
31926
|
|
|
31844
31927
|
var Link$1 = styled$3.a.withConfig({
|
|
31845
31928
|
displayName: "NavigationItem__Link",
|
|
31846
31929
|
componentId: "sc-1fua9kw-0"
|
|
31847
31930
|
})(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n display: flex;\n align-items: center;\n transition: background-color 0.2s;\n height: 100%;\n box-sizing: border-box;\n ", "\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n &:focus-visible,\n &.focus-visible {\n ", "\n }\n ", "\n"], ["\n display: flex;\n align-items: center;\n transition: background-color 0.2s;\n height: 100%;\n box-sizing: border-box;\n ", "\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n &:focus-visible,\n &.focus-visible {\n ", "\n }\n ", "\n"])), internalHeaderTokens.navigationLink.base, internalHeaderTokens.navigationLink.hover.base, internalHeaderTokens.navigationLink.active.base, internalHeaderTokens.navigationLink.focus.base, function (_a) {
|
|
31848
31931
|
var isCurrent = _a.isCurrent;
|
|
31849
|
-
return isCurrent && Ae(templateObject_1$
|
|
31932
|
+
return isCurrent && Ae(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), internalHeaderTokens.navigationLink.current.base);
|
|
31850
31933
|
});
|
|
31851
31934
|
var NavigationItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
31852
31935
|
var title = _a.title,
|
|
@@ -31864,12 +31947,12 @@ var NavigationItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31864
31947
|
children: title
|
|
31865
31948
|
}));
|
|
31866
31949
|
});
|
|
31867
|
-
var templateObject_1$
|
|
31950
|
+
var templateObject_1$f, templateObject_2$a;
|
|
31868
31951
|
|
|
31869
31952
|
var Li = styled$3.li.withConfig({
|
|
31870
31953
|
displayName: "InternalHeaderListItem__Li",
|
|
31871
31954
|
componentId: "sc-g1dd6e-0"
|
|
31872
|
-
})(templateObject_1$
|
|
31955
|
+
})(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n box-sizing: border-box;\n"], ["\n box-sizing: border-box;\n"])));
|
|
31873
31956
|
var InternalHeaderListItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
31874
31957
|
var children = _a.children,
|
|
31875
31958
|
rest = __rest(_a, ["children"]);
|
|
@@ -31882,7 +31965,7 @@ var InternalHeaderListItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31882
31965
|
children: children
|
|
31883
31966
|
}));
|
|
31884
31967
|
});
|
|
31885
|
-
var templateObject_1$
|
|
31968
|
+
var templateObject_1$e;
|
|
31886
31969
|
|
|
31887
31970
|
var InternalHeader = function InternalHeader(_a) {
|
|
31888
31971
|
var applicationName = _a.applicationName,
|
|
@@ -32015,10 +32098,10 @@ var getWidth = function getWidth(type) {
|
|
|
32015
32098
|
return type === 'date' ? '205px' : type === 'datetime-local' ? '235px' : '320px';
|
|
32016
32099
|
};
|
|
32017
32100
|
|
|
32018
|
-
var StyledInput = styled$3(Input$
|
|
32101
|
+
var StyledInput = styled$3(Input$5).withConfig({
|
|
32019
32102
|
displayName: "Datepicker__StyledInput",
|
|
32020
32103
|
componentId: "sc-1ijxhje-0"
|
|
32021
|
-
})(templateObject_1$
|
|
32104
|
+
})(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n min-height: 76px;\n ::-webkit-calendar-picker-indicator {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n ", "\n margin-left: 0px;\n padding: 0;\n top: 50%;\n transform: translate(0, -50%);\n box-sizing: border-box;\n }\n\n ::-webkit-calendar-picker-indicator:focus-visible {\n ", "\n }\n\n ::-webkit-inner-spin-button {\n display: none;\n }\n\n ::-webkit-datetime-edit-day-field,\n ::-webkit-datetime-edit-month-field,\n ::-webkit-datetime-edit-year-field {\n transition: 0.2s;\n }\n\n ::-webkit-datetime-edit-day-field:focus,\n ::-webkit-datetime-edit-month-field:focus,\n ::-webkit-datetime-edit-year-field:focus {\n ", "\n }\n"], ["\n min-height: 76px;\n ::-webkit-calendar-picker-indicator {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n ", "\n margin-left: 0px;\n padding: 0;\n top: 50%;\n transform: translate(0, -50%);\n box-sizing: border-box;\n }\n\n ::-webkit-calendar-picker-indicator:focus-visible {\n ", "\n }\n\n ::-webkit-inner-spin-button {\n display: none;\n }\n\n ::-webkit-datetime-edit-day-field,\n ::-webkit-datetime-edit-month-field,\n ::-webkit-datetime-edit-year-field {\n transition: 0.2s;\n }\n\n ::-webkit-datetime-edit-day-field:focus,\n ::-webkit-datetime-edit-month-field:focus,\n ::-webkit-datetime-edit-year-field:focus {\n ", "\n }\n"])), img, datepickerTokens.calendarIndicator.base, datepickerTokens.calendarIndicator.focus.base, typographyTokens.selection.base);
|
|
32022
32105
|
var nextUniqueId$8 = 0;
|
|
32023
32106
|
var Datepicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
32024
32107
|
var id = _a.id,
|
|
@@ -32085,27 +32168,27 @@ var Datepicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32085
32168
|
})]
|
|
32086
32169
|
}));
|
|
32087
32170
|
});
|
|
32088
|
-
var templateObject_1$
|
|
32171
|
+
var templateObject_1$d;
|
|
32089
32172
|
|
|
32090
|
-
var Colors$
|
|
32173
|
+
var Colors$5 = ddsBaseTokens.colors,
|
|
32091
32174
|
Spacing$7 = ddsBaseTokens.spacing,
|
|
32092
32175
|
FontPackages$1 = ddsBaseTokens.fontPackages,
|
|
32093
32176
|
Border$3 = ddsBaseTokens.border;
|
|
32094
32177
|
|
|
32095
32178
|
var linkBase = __assign(__assign({
|
|
32096
|
-
color: Colors$
|
|
32179
|
+
color: Colors$5.DdsColorNeutralsWhite
|
|
32097
32180
|
}, FontPackages$1.body_sans_02.base), {
|
|
32098
32181
|
textDecoration: 'none'
|
|
32099
32182
|
});
|
|
32100
32183
|
|
|
32101
32184
|
var linkHoverBase = {
|
|
32102
|
-
color: Colors$
|
|
32185
|
+
color: Colors$5.DdsColorNeutralsWhite
|
|
32103
32186
|
};
|
|
32104
32187
|
|
|
32105
32188
|
var linkFocusBase = __assign({}, focusVisibleOnDark);
|
|
32106
32189
|
|
|
32107
32190
|
var wrapperBase$2 = {
|
|
32108
|
-
backgroundColor: Colors$
|
|
32191
|
+
backgroundColor: Colors$5.DdsColorPrimaryBase,
|
|
32109
32192
|
padding: Spacing$7.SizesDdsSpacingLocalX025
|
|
32110
32193
|
};
|
|
32111
32194
|
var skipToContentTokens = {
|
|
@@ -32118,7 +32201,7 @@ var skipToContentTokens = {
|
|
|
32118
32201
|
base: linkFocusBase
|
|
32119
32202
|
},
|
|
32120
32203
|
focusOutline: {
|
|
32121
|
-
color: Colors$
|
|
32204
|
+
color: Colors$5.DdsColorWarningDark,
|
|
32122
32205
|
width: Border$3.BordersDdsBorderFocusBaseStrokeWeight
|
|
32123
32206
|
}
|
|
32124
32207
|
},
|
|
@@ -32130,7 +32213,7 @@ var skipToContentTokens = {
|
|
|
32130
32213
|
var Wrapper$1 = styled$3.div.withConfig({
|
|
32131
32214
|
displayName: "SkipToContent__Wrapper",
|
|
32132
32215
|
componentId: "sc-57o1qv-0"
|
|
32133
|
-
})(templateObject_1$
|
|
32216
|
+
})(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n box-sizing: border-box;\n position: absolute;\n top: ", ";\n text-align: center;\n opacity: 0;\n transition: opacity 0.2s;\n overflow: hidden;\n clip: rect(1px, 1px, 1px, 1px);\n height: 1px;\n width: 1px;\n white-space: nowrap;\n ", "\n\n &:focus-within {\n clip: auto;\n height: auto;\n overflow: auto;\n width: 100%;\n z-index: 200;\n opacity: 1;\n }\n"], ["\n box-sizing: border-box;\n position: absolute;\n top: ", ";\n text-align: center;\n opacity: 0;\n transition: opacity 0.2s;\n overflow: hidden;\n clip: rect(1px, 1px, 1px, 1px);\n height: 1px;\n width: 1px;\n white-space: nowrap;\n ", "\n\n &:focus-within {\n clip: auto;\n height: auto;\n overflow: auto;\n width: 100%;\n z-index: 200;\n opacity: 1;\n }\n"])), function (_a) {
|
|
32134
32217
|
var top = _a.top;
|
|
32135
32218
|
return top;
|
|
32136
32219
|
}, skipToContentTokens.wrapper.base);
|
|
@@ -32160,22 +32243,22 @@ var SkipToContent = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32160
32243
|
}))
|
|
32161
32244
|
}));
|
|
32162
32245
|
});
|
|
32163
|
-
var templateObject_1$
|
|
32246
|
+
var templateObject_1$c, templateObject_2$9;
|
|
32164
32247
|
|
|
32165
32248
|
var Border$2 = ddsBaseTokens.border,
|
|
32166
|
-
Colors$
|
|
32249
|
+
Colors$4 = ddsBaseTokens.colors,
|
|
32167
32250
|
FontPackages = ddsBaseTokens.fontPackages,
|
|
32168
32251
|
Spacing$6 = ddsBaseTokens.spacing,
|
|
32169
|
-
OuterShadow$
|
|
32170
|
-
BorderRadius$
|
|
32252
|
+
OuterShadow$2 = ddsBaseTokens.outerShadow,
|
|
32253
|
+
BorderRadius$2 = ddsBaseTokens.borderRadius;
|
|
32171
32254
|
|
|
32172
32255
|
var wrapperBase$1 = __assign(__assign({
|
|
32173
32256
|
border: "".concat(Border$2.BordersDdsBorderStyleLightStroke, " solid ").concat(Border$2.BordersDdsBorderFocusBaseStrokeWeight),
|
|
32174
|
-
backgroundColor: Colors$
|
|
32257
|
+
backgroundColor: Colors$4.DdsColorNeutralsWhite
|
|
32175
32258
|
}, FontPackages.body_sans_02.base), {
|
|
32176
32259
|
padding: "".concat(Spacing$6.SizesDdsSpacingLocalX075),
|
|
32177
|
-
boxShadow: OuterShadow$
|
|
32178
|
-
borderRadius: BorderRadius$
|
|
32260
|
+
boxShadow: OuterShadow$2.DdsShadow1Onlight,
|
|
32261
|
+
borderRadius: BorderRadius$2.RadiiDdsBorderRadius1Radius
|
|
32179
32262
|
});
|
|
32180
32263
|
|
|
32181
32264
|
var tooltipTokens = {
|
|
@@ -32184,10 +32267,10 @@ var tooltipTokens = {
|
|
|
32184
32267
|
},
|
|
32185
32268
|
svgArrow: {
|
|
32186
32269
|
border: {
|
|
32187
|
-
fill: Colors$
|
|
32270
|
+
fill: Colors$4.DdsColorPrimaryLighter
|
|
32188
32271
|
},
|
|
32189
32272
|
background: {
|
|
32190
|
-
fill: Colors$
|
|
32273
|
+
fill: Colors$4.DdsColorNeutralsWhite
|
|
32191
32274
|
}
|
|
32192
32275
|
}
|
|
32193
32276
|
};
|
|
@@ -32195,7 +32278,7 @@ var tooltipTokens = {
|
|
|
32195
32278
|
var SvgArrow = styled$3.svg.withConfig({
|
|
32196
32279
|
displayName: "Tooltipstyles__SvgArrow",
|
|
32197
32280
|
componentId: "sc-1cna5tc-0"
|
|
32198
|
-
})(templateObject_1$
|
|
32281
|
+
})(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n width: 36px;\n height: 9px;\n"], ["\n width: 36px;\n height: 9px;\n"])));
|
|
32199
32282
|
var ArrowWrapper = styled$3.div.withConfig({
|
|
32200
32283
|
displayName: "Tooltipstyles__ArrowWrapper",
|
|
32201
32284
|
componentId: "sc-1cna5tc-1"
|
|
@@ -32214,7 +32297,7 @@ var TooltipWrapper = styled$3.div.withConfig({
|
|
|
32214
32297
|
var open = _a.open;
|
|
32215
32298
|
return open ? 1 : 0;
|
|
32216
32299
|
}, tooltipTokens.wrapper.base);
|
|
32217
|
-
var templateObject_1$
|
|
32300
|
+
var templateObject_1$b, templateObject_2$8, templateObject_3$5, templateObject_4$3;
|
|
32218
32301
|
|
|
32219
32302
|
var nextUniqueId$7 = 0;
|
|
32220
32303
|
var Tooltip = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
@@ -32316,14 +32399,14 @@ var Tooltip = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32316
32399
|
}));
|
|
32317
32400
|
});
|
|
32318
32401
|
|
|
32319
|
-
var BorderRadius$
|
|
32320
|
-
Colors$
|
|
32321
|
-
OuterShadow$
|
|
32402
|
+
var BorderRadius$1 = ddsBaseTokens.borderRadius,
|
|
32403
|
+
Colors$3 = ddsBaseTokens.colors,
|
|
32404
|
+
OuterShadow$1 = ddsBaseTokens.outerShadow,
|
|
32322
32405
|
Spacing$5 = ddsBaseTokens.spacing;
|
|
32323
|
-
var base$
|
|
32324
|
-
backgroundColor: Colors$
|
|
32325
|
-
boxShadow: OuterShadow$
|
|
32326
|
-
borderRadius: BorderRadius$
|
|
32406
|
+
var base$1 = {
|
|
32407
|
+
backgroundColor: Colors$3.DdsColorNeutralsWhite,
|
|
32408
|
+
boxShadow: OuterShadow$1.DdsShadow4Onlight,
|
|
32409
|
+
borderRadius: BorderRadius$1.RadiiDdsBorderRadius1Radius,
|
|
32327
32410
|
padding: "".concat(Spacing$5.SizesDdsSpacingLocalX1, " ").concat(Spacing$5.SizesDdsSpacingLocalX1, " ").concat(Spacing$5.SizesDdsSpacingLocalX15, " ").concat(Spacing$5.SizesDdsSpacingLocalX15)
|
|
32328
32411
|
};
|
|
32329
32412
|
var contentContainerBase$1 = {
|
|
@@ -32343,7 +32426,7 @@ var bodyScrollableBase = {
|
|
|
32343
32426
|
var bodyScrollableFocusBase = __assign({}, focusVisible);
|
|
32344
32427
|
|
|
32345
32428
|
var modalTokens = {
|
|
32346
|
-
base: base$
|
|
32429
|
+
base: base$1,
|
|
32347
32430
|
focus: {
|
|
32348
32431
|
base: focusBase$1
|
|
32349
32432
|
},
|
|
@@ -32361,42 +32444,10 @@ var modalTokens = {
|
|
|
32361
32444
|
}
|
|
32362
32445
|
};
|
|
32363
32446
|
|
|
32364
|
-
var changeRGBAAlpha = function changeRGBAAlpha(value, alpha) {
|
|
32365
|
-
if (value.slice(0, 5) !== 'rgba(' || value.slice(-1) !== ')') {
|
|
32366
|
-
return '';
|
|
32367
|
-
}
|
|
32368
|
-
|
|
32369
|
-
return value.replace(/[\d\.]+\)$/g, alpha.toString() + ')');
|
|
32370
|
-
};
|
|
32371
|
-
|
|
32372
|
-
var Backdrop = styled$3.div.withConfig({
|
|
32373
|
-
displayName: "Backdrop",
|
|
32374
|
-
componentId: "sc-vimg90-0"
|
|
32375
|
-
})(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n position: fixed;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n overflow-y: auto;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 50;\n opacity: ", ";\n transition: opacity 0.2s;\n"], ["\n position: fixed;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n overflow-y: auto;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 50;\n opacity: ", ";\n transition: opacity 0.2s;\n"])), changeRGBAAlpha(ddsBaseTokens.colors.DdsColorNeutralsGray9, 0.5), function (_a) {
|
|
32376
|
-
var isOpen = _a.isOpen;
|
|
32377
|
-
return isOpen ? 1 : 0;
|
|
32378
|
-
});
|
|
32379
|
-
var templateObject_1$c;
|
|
32380
|
-
|
|
32381
|
-
var isVerticalScrollbarDisplayed = function isVerticalScrollbarDisplayed(container) {
|
|
32382
|
-
return container.clientHeight > window.innerHeight;
|
|
32383
|
-
};
|
|
32384
|
-
|
|
32385
|
-
function handleElementWithBackdropMount(container) {
|
|
32386
|
-
if (isVerticalScrollbarDisplayed(container)) {
|
|
32387
|
-
container.style.position = 'fixed';
|
|
32388
|
-
container.style.overflowY = 'scroll';
|
|
32389
|
-
}
|
|
32390
|
-
}
|
|
32391
|
-
function handleElementWithBackdropUnmount(container) {
|
|
32392
|
-
container.style.removeProperty('position');
|
|
32393
|
-
container.style.removeProperty('overflow-y');
|
|
32394
|
-
}
|
|
32395
|
-
|
|
32396
32447
|
var Container$6 = styled$3.div.withConfig({
|
|
32397
32448
|
displayName: "Modal__Container",
|
|
32398
32449
|
componentId: "sc-12c14zx-0"
|
|
32399
|
-
})(templateObject_1$
|
|
32450
|
+
})(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n display: flex;\n flex-direction: column-reverse;\n box-sizing: border-box;\n margin: 0;\n min-width: 200px;\n &::selection,\n *::selection {\n ", "\n }\n ", "\n :focus-visible, &.focus-visible {\n ", "\n }\n"], ["\n display: flex;\n flex-direction: column-reverse;\n box-sizing: border-box;\n margin: 0;\n min-width: 200px;\n &::selection,\n *::selection {\n ", "\n }\n ", "\n :focus-visible, &.focus-visible {\n ", "\n }\n"])), typographyTokens.selection.base, modalTokens.base, modalTokens.focus.base);
|
|
32400
32451
|
var ContentContainer$2 = styled$3.div.withConfig({
|
|
32401
32452
|
displayName: "Modal__ContentContainer",
|
|
32402
32453
|
componentId: "sc-12c14zx-1"
|
|
@@ -32489,14 +32540,14 @@ var Modal = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32489
32540
|
}))
|
|
32490
32541
|
})), parentElement) : null;
|
|
32491
32542
|
});
|
|
32492
|
-
var templateObject_1$
|
|
32543
|
+
var templateObject_1$a, templateObject_2$7, templateObject_3$4, templateObject_4$2;
|
|
32493
32544
|
|
|
32494
32545
|
var Container$5 = styled$3.div.withConfig({
|
|
32495
32546
|
displayName: "ModalBody__Container",
|
|
32496
32547
|
componentId: "sc-134o0zg-0"
|
|
32497
32548
|
})(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), scrollbarStyling, function (_a) {
|
|
32498
32549
|
var scrollable = _a.scrollable;
|
|
32499
|
-
return scrollable && Ae(templateObject_1$
|
|
32550
|
+
return scrollable && Ae(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n ", "\n &:focus-visible, &.focus-visible {\n ", "\n }\n "], ["\n ", "\n &:focus-visible, &.focus-visible {\n ", "\n }\n "])), modalTokens.bodyScrollable.base, modalTokens.bodyScrollable.focus.base);
|
|
32500
32551
|
});
|
|
32501
32552
|
var ModalBody = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
32502
32553
|
var children = _a.children,
|
|
@@ -32513,12 +32564,12 @@ var ModalBody = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32513
32564
|
children: children
|
|
32514
32565
|
}));
|
|
32515
32566
|
});
|
|
32516
|
-
var templateObject_1$
|
|
32567
|
+
var templateObject_1$9, templateObject_2$6;
|
|
32517
32568
|
|
|
32518
32569
|
var Container$4 = styled$3.div.withConfig({
|
|
32519
32570
|
displayName: "ModalActions__Container",
|
|
32520
32571
|
componentId: "sc-ehph9l-0"
|
|
32521
|
-
})(templateObject_1$
|
|
32572
|
+
})(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n ", "\n"], ["\n display: flex;\n flex-wrap: wrap;\n ", "\n"])), modalTokens.actionsContainer.base);
|
|
32522
32573
|
var ModalActions = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
32523
32574
|
var children = _a.children,
|
|
32524
32575
|
rest = __rest(_a, ["children"]);
|
|
@@ -32531,7 +32582,7 @@ var ModalActions = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32531
32582
|
children: children
|
|
32532
32583
|
}));
|
|
32533
32584
|
});
|
|
32534
|
-
var templateObject_1$
|
|
32585
|
+
var templateObject_1$8;
|
|
32535
32586
|
|
|
32536
32587
|
var Spacing$4 = ddsBaseTokens.spacing;
|
|
32537
32588
|
var containerBase$1 = {
|
|
@@ -32564,26 +32615,6 @@ var drawerTokens = {
|
|
|
32564
32615
|
}
|
|
32565
32616
|
};
|
|
32566
32617
|
|
|
32567
|
-
var Colors$3 = ddsBaseTokens.colors,
|
|
32568
|
-
BorderRadius$1 = ddsBaseTokens.borderRadius,
|
|
32569
|
-
OuterShadow$1 = ddsBaseTokens.outerShadow,
|
|
32570
|
-
Font = ddsBaseTokens.font;
|
|
32571
|
-
var base$1 = {
|
|
32572
|
-
backgroundColor: Colors$3.DdsColorNeutralsWhite,
|
|
32573
|
-
borderRadius: BorderRadius$1.RadiiDdsBorderRadius1Radius,
|
|
32574
|
-
boxShadow: OuterShadow$1.DdsShadow4Onlight,
|
|
32575
|
-
fontFamily: Font.DdsFontBodySans01FontFamily
|
|
32576
|
-
};
|
|
32577
|
-
var paperTokens = {
|
|
32578
|
-
base: base$1
|
|
32579
|
-
};
|
|
32580
|
-
|
|
32581
|
-
var Paper = styled$3.div.withConfig({
|
|
32582
|
-
displayName: "Paper",
|
|
32583
|
-
componentId: "sc-mrbi8q-0"
|
|
32584
|
-
})(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n box-sizing: border-box;\n margin: 0;\n &::selection,\n *::selection {\n ", "\n }\n ", "\n"], ["\n box-sizing: border-box;\n margin: 0;\n &::selection,\n *::selection {\n ", "\n }\n ", "\n"])), typographyTokens.selection.base, paperTokens.base);
|
|
32585
|
-
var templateObject_1$8;
|
|
32586
|
-
|
|
32587
32618
|
var Container$3 = styled$3(Paper).withConfig({
|
|
32588
32619
|
displayName: "Drawer__Container",
|
|
32589
32620
|
componentId: "sc-i9luw3-0"
|
|
@@ -33348,7 +33379,6 @@ var TabList = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
33348
33379
|
hasTabFocus = _b.hasTabFocus,
|
|
33349
33380
|
tabPanelsRef = _b.tabPanelsRef,
|
|
33350
33381
|
setHasTabFocus = _b.setHasTabFocus;
|
|
33351
|
-
_b.tabWidth;
|
|
33352
33382
|
|
|
33353
33383
|
var uniqueId = useState(id !== null && id !== void 0 ? id : "".concat(tabsId, "-tablist"))[0];
|
|
33354
33384
|
var childrenArray = Children.toArray(children).length;
|