@norges-domstoler/dds-components 2.4.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{src/components → components}/Breadcrumbs/Breadcrumb.d.ts +0 -0
- package/dist/{src/components → components}/Breadcrumbs/Breadcrumb.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Breadcrumbs/Breadcrumbs.d.ts +0 -0
- package/dist/{src/components → components}/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -0
- package/dist/{src/components → components}/Breadcrumbs/index.d.ts +0 -0
- package/dist/{src/components → components}/Button/Button.d.ts +0 -0
- package/dist/{src/components → components}/Button/Button.stories.d.ts +0 -0
- package/dist/{src/components → components}/Button/Button.styles.d.ts +0 -0
- package/dist/{src/components → components}/Button/Button.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Button/Button.types.d.ts +0 -0
- package/dist/{src/components → components}/Button/index.d.ts +0 -0
- package/dist/{src/components → components}/Card/Card.d.ts +0 -0
- package/dist/{src/components → components}/Card/Card.stories.d.ts +0 -0
- package/dist/{src/components → components}/Card/Card.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Card/CardAccordion/CardAccordion.d.ts +0 -0
- package/dist/{src/components → components}/Card/CardAccordion/CardAccordionBody.d.ts +0 -0
- package/dist/{src/components → components}/Card/CardAccordion/CardAccordionBody.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Card/CardAccordion/CardAccordionHeader.d.ts +0 -0
- package/dist/{src/components → components}/Card/CardAccordion/CardAccordionHeader.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Card/index.d.ts +0 -0
- package/dist/{src/components → components}/Checkbox/Checkbox.d.ts +0 -0
- package/dist/{src/components → components}/Checkbox/Checkbox.stories.d.ts +0 -0
- package/dist/{src/components → components}/Checkbox/Checkbox.styles.d.ts +0 -0
- package/dist/{src/components → components}/Checkbox/Checkbox.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Checkbox/Checkbox.types.d.ts +0 -0
- package/dist/{src/components → components}/Checkbox/CheckboxGroup.d.ts +0 -0
- package/dist/{src/components → components}/Checkbox/CheckboxGroup.stories.d.ts +0 -0
- package/dist/{src/components → components}/Checkbox/CheckboxGroup.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Checkbox/CheckboxGroupContext.d.ts +0 -0
- package/dist/{src/components → components}/Checkbox/index.d.ts +0 -0
- package/dist/components/Chip/Chip.d.ts +13 -0
- package/dist/components/Chip/Chip.stories.d.ts +18 -0
- package/dist/components/Chip/Chip.tokens.d.ts +12 -0
- package/dist/components/Chip/ChipGroup.d.ts +3 -0
- package/dist/components/Chip/ChipGroup.stories.d.ts +8 -0
- package/dist/components/Chip/index.d.ts +2 -0
- package/dist/{src/components → components}/Datepicker/Datepicker.d.ts +0 -0
- package/dist/{src/components → components}/Datepicker/Datepicker.stories.d.ts +0 -0
- package/dist/{src/components → components}/Datepicker/Datepicker.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Datepicker/index.d.ts +0 -0
- package/dist/{src/components → components}/DescriptionList/DescriptionList.d.ts +0 -0
- package/dist/{src/components → components}/DescriptionList/DescriptionList.stories.d.ts +0 -0
- package/dist/{src/components → components}/DescriptionList/DescriptionListDesc.d.ts +0 -0
- package/dist/{src/components → components}/DescriptionList/DescriptionListDesc.tokens.d.ts +0 -0
- package/dist/{src/components → components}/DescriptionList/DescriptionListGroup.d.ts +0 -0
- package/dist/{src/components → components}/DescriptionList/DescriptionListGroup.tokens.d.ts +0 -0
- package/dist/{src/components → components}/DescriptionList/DescriptionListTerm.d.ts +0 -0
- package/dist/{src/components → components}/DescriptionList/DescriptionListTerm.tokens.d.ts +0 -0
- package/dist/{src/components → components}/DescriptionList/index.d.ts +0 -0
- package/dist/{src/components → components}/Divider/Divider.d.ts +0 -0
- package/dist/{src/components → components}/Divider/Divider.stories.d.ts +0 -0
- package/dist/{src/components → components}/Divider/Divider.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Divider/index.d.ts +0 -0
- package/dist/{src/components → components}/Drawer/Drawer.d.ts +0 -0
- package/dist/{src/components → components}/Drawer/Drawer.stories.d.ts +0 -0
- package/dist/{src/components → components}/Drawer/Drawer.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Drawer/DrawerGroup.d.ts +0 -0
- package/dist/{src/components → components}/Drawer/index.d.ts +0 -0
- package/dist/{src/components → components}/GlobalMessage/GlobalMessage.d.ts +0 -0
- package/dist/{src/components → components}/GlobalMessage/GlobalMessage.stories.d.ts +0 -0
- package/dist/{src/components → components}/GlobalMessage/GlobalMessage.tokens.d.ts +0 -0
- package/dist/{src/components → components}/GlobalMessage/index.d.ts +0 -0
- package/dist/{src/components → components}/IconWrapper/IconWrapper.d.ts +0 -0
- package/dist/{src/components → components}/IconWrapper/IconWrapper.stories.d.ts +0 -0
- package/dist/{src/components → components}/IconWrapper/index.d.ts +0 -0
- package/dist/{src/components → components}/InputMessage/InputMessage.d.ts +0 -0
- package/dist/{src/components → components}/InputMessage/InputMessage.stories.d.ts +0 -0
- package/dist/{src/components → components}/InputMessage/InputMessage.tokens.d.ts +0 -0
- package/dist/{src/components → components}/InputMessage/index.d.ts +0 -0
- package/dist/{src/components → components}/InternalHeader/InternalHeader.d.ts +0 -0
- package/dist/{src/components → components}/InternalHeader/InternalHeader.stories.d.ts +0 -0
- package/dist/{src/components → components}/InternalHeader/InternalHeader.styles.d.ts +0 -0
- package/dist/{src/components → components}/InternalHeader/InternalHeader.tokens.d.ts +0 -0
- package/dist/{src/components → components}/InternalHeader/InternalHeader.types.d.ts +0 -0
- package/dist/{src/components → components}/InternalHeader/InternalHeaderListItem.d.ts +0 -0
- package/dist/{src/components → components}/InternalHeader/NavigationItem.d.ts +0 -0
- package/dist/{src/components → components}/InternalHeader/index.d.ts +0 -0
- package/dist/{src/components → components}/List/List.d.ts +0 -0
- package/dist/{src/components → components}/List/List.stories.d.ts +0 -0
- package/dist/{src/components → components}/List/List.tokens.d.ts +0 -0
- package/dist/{src/components → components}/List/ListItem.d.ts +0 -0
- package/dist/{src/components → components}/List/ListItem.tokens.d.ts +0 -0
- package/dist/{src/components → components}/List/index.d.ts +0 -0
- package/dist/{src/components → components}/LocalMessage/LocalMessage.d.ts +0 -0
- package/dist/{src/components → components}/LocalMessage/LocalMessage.stories.d.ts +0 -0
- package/dist/{src/components → components}/LocalMessage/LocalMessage.tokens.d.ts +0 -0
- package/dist/{src/components → components}/LocalMessage/index.d.ts +0 -0
- package/dist/{src/components → components}/Modal/Modal.d.ts +0 -0
- package/dist/{src/components → components}/Modal/Modal.stories.d.ts +0 -0
- package/dist/{src/components → components}/Modal/Modal.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Modal/ModalActions.d.ts +0 -0
- package/dist/{src/components → components}/Modal/ModalBody.d.ts +0 -0
- package/dist/{src/components → components}/Modal/index.d.ts +0 -0
- package/dist/{src/components → components}/OverflowMenu/OverflowMenu.d.ts +0 -0
- package/dist/{src/components → components}/OverflowMenu/OverflowMenu.stories.d.ts +0 -0
- package/dist/{src/components → components}/OverflowMenu/OverflowMenu.tokens.d.ts +0 -0
- package/dist/{src/components → components}/OverflowMenu/OverflowMenu.types.d.ts +0 -0
- package/dist/{src/components → components}/OverflowMenu/OverflowMenuGroup.d.ts +0 -0
- package/dist/{src/components → components}/OverflowMenu/OverflowMenuItem.d.ts +0 -0
- package/dist/{src/components → components}/OverflowMenu/index.d.ts +0 -0
- package/dist/{src/components → components}/Pagination/Pagination.d.ts +0 -0
- package/dist/{src/components → components}/Pagination/Pagination.stories.d.ts +0 -0
- package/dist/{src/components → components}/Pagination/Pagination.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Pagination/index.d.ts +0 -0
- package/dist/{src/components → components}/Pagination/paginationGenerator.d.ts +0 -0
- package/dist/{src/components → components}/Popover/Popover.d.ts +0 -0
- package/dist/{src/components → components}/Popover/Popover.stories.d.ts +0 -0
- package/dist/{src/components → components}/Popover/Popover.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Popover/PopoverGroup.d.ts +0 -0
- package/dist/{src/components → components}/Popover/index.d.ts +0 -0
- package/dist/{src/components → components}/RadioButton/RadioButton.d.ts +0 -0
- package/dist/{src/components → components}/RadioButton/RadioButton.stories.d.ts +0 -0
- package/dist/{src/components → components}/RadioButton/RadioButton.styles.d.ts +0 -0
- package/dist/{src/components → components}/RadioButton/RadioButton.tokens.d.ts +0 -0
- package/dist/{src/components → components}/RadioButton/RadioButton.types.d.ts +0 -0
- package/dist/{src/components → components}/RadioButton/RadioButtonGroup.d.ts +0 -0
- package/dist/{src/components → components}/RadioButton/RadioButtonGroup.stories.d.ts +0 -0
- package/dist/{src/components → components}/RadioButton/RadioButtonGroup.tokens.d.ts +0 -0
- package/dist/{src/components → components}/RadioButton/RadioButtonGroupContext.d.ts +0 -0
- package/dist/{src/components → components}/RadioButton/index.d.ts +0 -0
- package/dist/{src/components → components}/Search/Search.d.ts +3 -6
- package/dist/{src/components → components}/Search/Search.stories.d.ts +1 -2
- package/dist/{src/components → components}/Search/Search.tokens.d.ts +2 -3
- package/dist/{src/components → components}/Search/index.d.ts +0 -0
- package/dist/{src/components → components}/Select/MultiSelect.stories.d.ts +0 -0
- package/dist/{src/components → components}/Select/Select.d.ts +0 -0
- package/dist/{src/components → components}/Select/Select.stories.d.ts +0 -0
- package/dist/{src/components → components}/Select/Select.styles.d.ts +0 -0
- package/dist/{src/components → components}/Select/Select.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Select/index.d.ts +0 -0
- package/dist/{src/components → components}/SkipToContent/SkipToContent.d.ts +0 -0
- package/dist/{src/components → components}/SkipToContent/SkipToContent.stories.d.ts +0 -0
- package/dist/{src/components → components}/SkipToContent/SkipToContent.tokens.d.ts +0 -0
- package/dist/{src/components → components}/SkipToContent/index.d.ts +0 -0
- package/dist/{src/components → components}/Spinner/Spinner.d.ts +0 -0
- package/dist/{src/components → components}/Spinner/Spinner.stories.d.ts +0 -0
- package/dist/{src/components → components}/Spinner/Spinner.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Spinner/index.d.ts +0 -0
- package/dist/{src/components → components}/Table/Body.d.ts +0 -0
- package/dist/{src/components → components}/Table/Cell.d.ts +0 -0
- package/dist/{src/components → components}/Table/Cell.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Table/Foot.d.ts +0 -0
- package/dist/{src/components → components}/Table/Head.d.ts +0 -0
- package/dist/{src/components → components}/Table/Row.d.ts +0 -0
- package/dist/{src/components → components}/Table/Row.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Table/SortCell.d.ts +0 -0
- package/dist/{src/components → components}/Table/Table.d.ts +0 -0
- package/dist/{src/components → components}/Table/Table.stories.d.ts +0 -0
- package/dist/{src/components → components}/Table/TableWrapper.d.ts +0 -0
- package/dist/{src/components → components}/Table/index.d.ts +0 -0
- package/dist/{src/components → components}/Table/tableData.d.ts +0 -0
- package/dist/{src/components → components}/Tabs/Tab.d.ts +0 -0
- package/dist/{src/components → components}/Tabs/TabList.d.ts +0 -0
- package/dist/{src/components → components}/Tabs/TabPanel.d.ts +0 -0
- package/dist/{src/components → components}/Tabs/TabPanels.d.ts +0 -0
- package/dist/{src/components → components}/Tabs/Tabs.context.d.ts +1 -1
- package/dist/{src/components → components}/Tabs/Tabs.d.ts +1 -1
- package/dist/{src/components → components}/Tabs/Tabs.stories.d.ts +0 -0
- package/dist/{src/components → components}/Tabs/Tabs.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Tabs/index.d.ts +0 -0
- package/dist/{src/components → components}/Tag/Tag.d.ts +0 -0
- package/dist/{src/components → components}/Tag/Tag.stories.d.ts +0 -0
- package/dist/{src/components → components}/Tag/Tag.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Tag/index.d.ts +0 -0
- package/dist/{src/components → components}/TextInput/CharCounter.d.ts +0 -0
- package/dist/{src/components → components}/TextInput/CharCounter.tokens.d.ts +0 -0
- package/dist/{src/components → components}/TextInput/TextInput.d.ts +0 -0
- package/dist/{src/components → components}/TextInput/TextInput.stories.d.ts +0 -0
- package/dist/{src/components → components}/TextInput/TextInput.styles.d.ts +2 -4
- package/dist/{src/components → components}/TextInput/TextInput.tokens.d.ts +1 -12
- package/dist/{src/components → components}/TextInput/TextInput.types.d.ts +0 -0
- package/dist/{src/components → components}/TextInput/index.d.ts +0 -0
- package/dist/{src/components → components}/ToggleButton/ToggelButtonGroup.stories.d.ts +0 -0
- package/dist/{src/components → components}/ToggleButton/ToggleButton.d.ts +0 -0
- package/dist/{src/components → components}/ToggleButton/ToggleButton.stories.d.ts +0 -0
- package/dist/{src/components → components}/ToggleButton/ToggleButton.tokens.d.ts +0 -0
- package/dist/{src/components → components}/ToggleButton/ToggleButtonGroup.d.ts +0 -0
- package/dist/{src/components → components}/ToggleButton/index.d.ts +0 -0
- package/dist/{src/components → components}/Tooltip/Tooltip.d.ts +0 -0
- package/dist/{src/components → components}/Tooltip/Tooltip.stories.d.ts +0 -0
- package/dist/{src/components → components}/Tooltip/Tooltip.styles.d.ts +0 -0
- package/dist/{src/components → components}/Tooltip/Tooltip.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Tooltip/index.d.ts +0 -0
- package/dist/{src/components → components}/Typography/Body.stories.d.ts +0 -0
- package/dist/{src/components → components}/Typography/Examples.stories.d.ts +0 -0
- package/dist/{src/components → components}/Typography/Typography.d.ts +0 -0
- package/dist/{src/components → components}/Typography/Typography.stories.d.ts +0 -0
- package/dist/{src/components → components}/Typography/Typography.tokens.d.ts +0 -0
- package/dist/{src/components → components}/Typography/Typography.types.d.ts +0 -0
- package/dist/{src/components → components}/Typography/index.d.ts +0 -0
- package/dist/{src/helpers → helpers}/Backdrop/Backdrop.d.ts +0 -0
- package/dist/{src/helpers → helpers}/Backdrop/Backdrop.utils.d.ts +0 -0
- package/dist/{src/helpers → helpers}/Backdrop/index.d.ts +0 -0
- package/dist/{src/helpers → helpers}/Chevron/AnimatedChevronUpDown.d.ts +0 -0
- package/dist/{src/helpers → helpers}/Chevron/AnimatedChevronUpDown.styles.d.ts +0 -0
- package/dist/{src/helpers → helpers}/Chevron/index.d.ts +0 -0
- package/dist/helpers/Input/Input.styles.d.ts +15 -0
- package/dist/{src/helpers → helpers}/Input/Input.tokens.d.ts +10 -3
- package/dist/{src/helpers → helpers}/Input/Input.types.d.ts +2 -1
- package/dist/{src/helpers → helpers}/Input/index.d.ts +0 -1
- package/dist/{src/helpers → helpers}/Paper/Paper.d.ts +0 -0
- package/dist/{src/helpers → helpers}/Paper/Paper.tokens.d.ts +0 -0
- package/dist/{src/helpers → helpers}/Paper/index.d.ts +0 -0
- package/dist/{src/helpers → helpers}/RequiredMarker/RequiredMarker.d.ts +0 -0
- package/dist/{src/helpers → helpers}/RequiredMarker/index.d.ts +0 -0
- package/dist/{src/helpers → helpers}/index.d.ts +0 -0
- package/dist/{src/helpers → helpers}/styling/danger.d.ts +0 -0
- package/dist/{src/helpers → helpers}/styling/focus.d.ts +0 -0
- package/dist/{src/helpers → helpers}/styling/focusVisible.d.ts +0 -0
- package/dist/{src/helpers → helpers}/styling/hideInput.d.ts +0 -0
- package/dist/{src/helpers → helpers}/styling/hover.d.ts +0 -0
- package/dist/{src/helpers → helpers}/styling/index.d.ts +0 -0
- package/dist/{src/helpers → helpers}/styling/removeButtonStyling.d.ts +0 -0
- package/dist/helpers/styling/removeListStyling.d.ts +5 -0
- package/dist/helpers/styling/scrollbarStyling.d.ts +3 -0
- package/dist/{src/helpers → helpers}/styling/visibilityTransition.d.ts +0 -0
- package/dist/{src/hooks → hooks}/index.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useCombinedRefs.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useFloatPosition.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useFocusTrap.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useId.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useMountTransition.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useOnClickOutside.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useOnKeyDown.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useRoveFocus.d.ts +1 -1
- package/dist/{src/hooks → hooks}/useScreenSize.d.ts +0 -0
- package/dist/{src/index.d.ts → index.d.ts} +1 -0
- package/dist/index.es.js +803 -760
- package/dist/index.js +805 -760
- package/dist/types/Direction.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/{src/utils → utils}/color.d.ts +0 -0
- package/dist/{src/utils → utils}/combineHandlers.d.ts +0 -0
- package/dist/{src/utils → utils}/getScrollbarSize.d.ts +0 -0
- package/dist/{src/utils → utils}/idGenerator.d.ts +0 -0
- package/dist/{src/utils → utils}/index.d.ts +0 -0
- package/dist/{src/utils → utils}/text.d.ts +0 -0
- package/package.json +1 -1
- package/dist/src/helpers/Input/Input.styles.d.ts +0 -12
- package/dist/src/helpers/Input/inputFieldStylingBase.d.ts +0 -1
- package/dist/src/helpers/styling/scrollbarStyling.d.ts +0 -1
package/dist/index.es.js
CHANGED
|
@@ -3026,7 +3026,7 @@ var DdsColorInfoDark = "rgba(94, 148, 184, 1)";
|
|
|
3026
3026
|
var DdsColorInfoDarker = "rgba(70, 111, 138, 1)";
|
|
3027
3027
|
var DdsColorInfoDarkest = "rgba(47, 74, 92, 1)";
|
|
3028
3028
|
|
|
3029
|
-
var colors$
|
|
3029
|
+
var colors$4 = /*#__PURE__*/Object.freeze({
|
|
3030
3030
|
__proto__: null,
|
|
3031
3031
|
DdsColorPrimaryLightest: DdsColorPrimaryLightest,
|
|
3032
3032
|
DdsColorPrimaryLighter: DdsColorPrimaryLighter,
|
|
@@ -3952,7 +3952,7 @@ var BordersDdsBorderStyleDarkStrokeWeight = "1px";
|
|
|
3952
3952
|
var BordersDdsBorderStyleDarkStrokeWeightNumberPx = 1;
|
|
3953
3953
|
var BordersDdsBorderStyleDarkStroke = "rgba(53, 71, 84, 1)";
|
|
3954
3954
|
|
|
3955
|
-
var border$
|
|
3955
|
+
var border$2 = /*#__PURE__*/Object.freeze({
|
|
3956
3956
|
__proto__: null,
|
|
3957
3957
|
BordersDdsBorderFocusBaseStrokeAlign: BordersDdsBorderFocusBaseStrokeAlign,
|
|
3958
3958
|
BordersDdsBorderFocusBaseStrokeMiterLimit: BordersDdsBorderFocusBaseStrokeMiterLimit,
|
|
@@ -4050,7 +4050,7 @@ var RadiiDdsBorderRadius3RadiiBottomRightNumberPx = 8;
|
|
|
4050
4050
|
var RadiiDdsBorderRadius3RadiiBottomLeft = "8px";
|
|
4051
4051
|
var RadiiDdsBorderRadius3RadiiBottomLeftNumberPx = 8;
|
|
4052
4052
|
|
|
4053
|
-
var borderRadius$
|
|
4053
|
+
var borderRadius$4 = /*#__PURE__*/Object.freeze({
|
|
4054
4054
|
__proto__: null,
|
|
4055
4055
|
RadiiDdsBorderRadius1Radius: RadiiDdsBorderRadius1Radius,
|
|
4056
4056
|
RadiiDdsBorderRadius1RadiusNumberPx: RadiiDdsBorderRadius1RadiusNumberPx,
|
|
@@ -4185,7 +4185,7 @@ var SpacingDdsSpacingPaddingTopHeadingSans08BottomNumberPx = 0;
|
|
|
4185
4185
|
var SpacingDdsSpacingPaddingTopHeadingSans08Left = "0px";
|
|
4186
4186
|
var SpacingDdsSpacingPaddingTopHeadingSans08LeftNumberPx = 0;
|
|
4187
4187
|
|
|
4188
|
-
var spacing$
|
|
4188
|
+
var spacing$6 = /*#__PURE__*/Object.freeze({
|
|
4189
4189
|
__proto__: null,
|
|
4190
4190
|
SizesDdsSpacingLocalX3: SizesDdsSpacingLocalX3,
|
|
4191
4191
|
SizesDdsSpacingLocalX3NumberPx: SizesDdsSpacingLocalX3NumberPx,
|
|
@@ -12123,7 +12123,7 @@ var fontPackageFormatter = function (font) {
|
|
|
12123
12123
|
};
|
|
12124
12124
|
|
|
12125
12125
|
var prefix$2 = ddsStyles["$dds-font"];
|
|
12126
|
-
var fontPackages = {
|
|
12126
|
+
var fontPackages$3 = {
|
|
12127
12127
|
heading_sans_01: fontPackageFormatter(prefix$2["heading"]["sans-01"]),
|
|
12128
12128
|
heading_sans_02: fontPackageFormatter(prefix$2["heading"]["sans-02"]),
|
|
12129
12129
|
heading_sans_03: fontPackageFormatter(prefix$2["heading"]["sans-03"]),
|
|
@@ -12156,30 +12156,30 @@ var fontPackages = {
|
|
|
12156
12156
|
};
|
|
12157
12157
|
|
|
12158
12158
|
var ddsBaseTokens = {
|
|
12159
|
-
colors: colors$
|
|
12159
|
+
colors: colors$4,
|
|
12160
12160
|
font: font,
|
|
12161
12161
|
breakpoints: breakpoints$1,
|
|
12162
|
-
border: border$
|
|
12163
|
-
borderRadius: borderRadius$
|
|
12164
|
-
spacing: spacing$
|
|
12162
|
+
border: border$2,
|
|
12163
|
+
borderRadius: borderRadius$4,
|
|
12164
|
+
spacing: spacing$6,
|
|
12165
12165
|
iconSizes: iconSizes,
|
|
12166
12166
|
grid: grid$2,
|
|
12167
12167
|
innerShadow: innerShadow,
|
|
12168
12168
|
outerShadow: outerShadow,
|
|
12169
|
-
fontPackages: fontPackages,
|
|
12169
|
+
fontPackages: fontPackages$3,
|
|
12170
12170
|
};
|
|
12171
12171
|
|
|
12172
|
-
var Colors$
|
|
12172
|
+
var Colors$t = ddsBaseTokens.colors, FontPackages$j = ddsBaseTokens.fontPackages, BorderRadius$9 = ddsBaseTokens.borderRadius, Border$h = ddsBaseTokens.border;
|
|
12173
12173
|
var textDefault$8 = {
|
|
12174
|
-
textColor: Colors$
|
|
12175
|
-
font: FontPackages$
|
|
12174
|
+
textColor: Colors$t.DdsColorNeutralsGray9,
|
|
12175
|
+
font: FontPackages$j.body_sans_02.base,
|
|
12176
12176
|
};
|
|
12177
12177
|
var focus = {
|
|
12178
|
-
colorDefault: Border$
|
|
12179
|
-
outlineWidth: Border$
|
|
12180
|
-
color__TextInput: Colors$
|
|
12181
|
-
textColor__TextInput: Colors$
|
|
12182
|
-
borderWidth__TextInput: Border$
|
|
12178
|
+
colorDefault: Border$h.BordersDdsBorderFocusBaseStroke,
|
|
12179
|
+
outlineWidth: Border$h.BordersDdsBorderFocusBaseStrokeWeight,
|
|
12180
|
+
color__TextInput: Colors$t.DdsColorInteractiveBase,
|
|
12181
|
+
textColor__TextInput: Colors$t.DdsColorInteractiveDark,
|
|
12182
|
+
borderWidth__TextInput: Border$h.BordersDdsBorderFocusInputfieldStrokeWeight,
|
|
12183
12183
|
};
|
|
12184
12184
|
var ddsReferenceTokens = {
|
|
12185
12185
|
focus: focus,
|
|
@@ -12187,12 +12187,12 @@ var ddsReferenceTokens = {
|
|
|
12187
12187
|
textInput: {
|
|
12188
12188
|
input: {
|
|
12189
12189
|
borderRadius: BorderRadius$9.RadiiDdsBorderRadius1Radius,
|
|
12190
|
-
borderWidth: Border$
|
|
12191
|
-
borderColor: Colors$
|
|
12190
|
+
borderWidth: Border$h.BordersDdsBorderStyleLightStrokeWeight,
|
|
12191
|
+
borderColor: Colors$t.DdsColorNeutralsGray5,
|
|
12192
12192
|
textColor: textDefault$8.textColor,
|
|
12193
|
-
font: FontPackages$
|
|
12193
|
+
font: FontPackages$j.supportingStyle_inputtext_02.base,
|
|
12194
12194
|
hover: {
|
|
12195
|
-
backgroundColor: Colors$
|
|
12195
|
+
backgroundColor: Colors$t.DdsColorInteractiveLightest,
|
|
12196
12196
|
borderColor: focus.color__TextInput,
|
|
12197
12197
|
borderWidth: focus.borderWidth__TextInput,
|
|
12198
12198
|
},
|
|
@@ -12223,83 +12223,83 @@ var removeButtonStyling = {
|
|
|
12223
12223
|
};
|
|
12224
12224
|
|
|
12225
12225
|
var visibilityTransition = function visibilityTransition(open) {
|
|
12226
|
-
return Ae(templateObject_1
|
|
12226
|
+
return Ae(templateObject_1$$ || (templateObject_1$$ = __makeTemplateObject(["\n transition: visibility 0.4s, opacity 0.2s;\n visibility: ", ";\n opacity: ", ";\n "], ["\n transition: visibility 0.4s, opacity 0.2s;\n visibility: ", ";\n opacity: ", ";\n "])), open ? 'visible' : 'hidden', open ? 1 : 0);
|
|
12227
12227
|
};
|
|
12228
|
-
var templateObject_1
|
|
12228
|
+
var templateObject_1$$;
|
|
12229
12229
|
|
|
12230
|
-
var Border$
|
|
12231
|
-
Colors$
|
|
12230
|
+
var Border$g = ddsBaseTokens.border,
|
|
12231
|
+
Colors$s = ddsBaseTokens.colors;
|
|
12232
12232
|
var outlineOffset = '2px';
|
|
12233
12233
|
var focusVisible = {
|
|
12234
|
-
outline: "".concat(Border$
|
|
12234
|
+
outline: "".concat(Border$g.BordersDdsBorderFocusBaseStrokeWeight, " ").concat(Border$g.BordersDdsBorderFocusBaseStroke, " solid"),
|
|
12235
12235
|
outlineOffset: outlineOffset
|
|
12236
12236
|
};
|
|
12237
12237
|
var focusVisibleOnDark = {
|
|
12238
|
-
outline: "".concat(Border$
|
|
12238
|
+
outline: "".concat(Border$g.BordersDdsBorderFocusOndarkStrokeWeight, " ").concat(Border$g.BordersDdsBorderFocusOndarkStroke, " solid"),
|
|
12239
12239
|
outlineOffset: outlineOffset
|
|
12240
12240
|
};
|
|
12241
12241
|
var focusVisibleTransitionValue = 'outline-offset 0.2s';
|
|
12242
12242
|
var focusVisibleLink = {
|
|
12243
12243
|
outline: 'none',
|
|
12244
|
-
backgroundColor: Border$
|
|
12245
|
-
color: Colors$
|
|
12244
|
+
backgroundColor: Border$g.BordersDdsBorderFocusBaseStroke,
|
|
12245
|
+
color: Colors$s.DdsColorNeutralsWhite,
|
|
12246
12246
|
textDecoration: 'none'
|
|
12247
12247
|
};
|
|
12248
12248
|
({
|
|
12249
12249
|
outline: 'none',
|
|
12250
|
-
backgroundColor: Border$
|
|
12251
|
-
color: Colors$
|
|
12250
|
+
backgroundColor: Border$g.BordersDdsBorderFocusOndarkStroke,
|
|
12251
|
+
color: Colors$s.DdsColorNeutralsGray9,
|
|
12252
12252
|
textDecoration: 'none'
|
|
12253
12253
|
});
|
|
12254
12254
|
var focusVisibleLinkTransitionValue = 'background-color 0.2s, text-decoration 0.2s, color 0.2s';
|
|
12255
12255
|
var focusVisibleWithBorder = {
|
|
12256
12256
|
outline: 'none',
|
|
12257
|
-
borderColor: Border$
|
|
12258
|
-
boxShadow: "inset 0 0 0 1px ".concat(Border$
|
|
12257
|
+
borderColor: Border$g.BordersDdsBorderFocusCardStroke,
|
|
12258
|
+
boxShadow: "inset 0 0 0 1px ".concat(Border$g.BordersDdsBorderFocusCardStroke)
|
|
12259
12259
|
};
|
|
12260
12260
|
({
|
|
12261
12261
|
outline: 'none',
|
|
12262
|
-
borderColor: Border$
|
|
12263
|
-
boxShadow: "inset 0 0 0 1px ".concat(Border$
|
|
12262
|
+
borderColor: Border$g.BordersDdsBorderFocusOndarkStroke,
|
|
12263
|
+
boxShadow: "inset 0 0 0 1px ".concat(Border$g.BordersDdsBorderFocusOndarkStroke)
|
|
12264
12264
|
});
|
|
12265
12265
|
var focusVisibleInset = {
|
|
12266
12266
|
outline: 'none',
|
|
12267
|
-
boxShadow: "inset 0 0 0 2px ".concat(Border$
|
|
12267
|
+
boxShadow: "inset 0 0 0 2px ".concat(Border$g.BordersDdsBorderFocusCardStroke)
|
|
12268
12268
|
};
|
|
12269
12269
|
|
|
12270
|
-
var Border$
|
|
12271
|
-
Colors$
|
|
12270
|
+
var Border$f = ddsBaseTokens.border,
|
|
12271
|
+
Colors$r = ddsBaseTokens.colors;
|
|
12272
12272
|
var hoverWithBorder = {
|
|
12273
|
-
borderColor: Border$
|
|
12274
|
-
boxShadow: "inset 0 0 0 1px ".concat(Border$
|
|
12273
|
+
borderColor: Border$f.BordersDdsBorderFocusInputfieldStroke,
|
|
12274
|
+
boxShadow: "inset 0 0 0 1px ".concat(Border$f.BordersDdsBorderFocusInputfieldStroke)
|
|
12275
12275
|
};
|
|
12276
12276
|
var hoverInputfield = {
|
|
12277
|
-
borderColor: Border$
|
|
12278
|
-
boxShadow: "inset 0 0 0 1px ".concat(Border$
|
|
12279
|
-
backgroundColor: Colors$
|
|
12277
|
+
borderColor: Border$f.BordersDdsBorderFocusInputfieldStroke,
|
|
12278
|
+
boxShadow: "inset 0 0 0 1px ".concat(Border$f.BordersDdsBorderFocusInputfieldStroke),
|
|
12279
|
+
backgroundColor: Colors$r.DdsColorInteractiveLightest
|
|
12280
12280
|
};
|
|
12281
12281
|
var hoverDangerInputfield = {
|
|
12282
|
-
borderColor: Colors$
|
|
12283
|
-
boxShadow: "inset 0 0 0 1px ".concat(Colors$
|
|
12284
|
-
backgroundColor: Colors$
|
|
12282
|
+
borderColor: Colors$r.DdsColorDangerBase,
|
|
12283
|
+
boxShadow: "inset 0 0 0 1px ".concat(Colors$r.DdsColorDangerBase),
|
|
12284
|
+
backgroundColor: Colors$r.DdsColorDangerLightest
|
|
12285
12285
|
};
|
|
12286
12286
|
|
|
12287
|
-
var Border$
|
|
12288
|
-
Colors$
|
|
12287
|
+
var Border$e = ddsBaseTokens.border,
|
|
12288
|
+
Colors$q = ddsBaseTokens.colors;
|
|
12289
12289
|
var focusInputfield = {
|
|
12290
12290
|
outline: 'none',
|
|
12291
|
-
borderColor: Border$
|
|
12292
|
-
boxShadow: "inset 0 0 0 1px ".concat(Border$
|
|
12291
|
+
borderColor: Border$e.BordersDdsBorderFocusInputfieldStroke,
|
|
12292
|
+
boxShadow: "inset 0 0 0 1px ".concat(Border$e.BordersDdsBorderFocusInputfieldStroke)
|
|
12293
12293
|
};
|
|
12294
12294
|
var focusDangerInputfield = {
|
|
12295
|
-
borderColor: Colors$
|
|
12296
|
-
boxShadow: "inset 0 0 0 1px ".concat(Colors$
|
|
12295
|
+
borderColor: Colors$q.DdsColorDangerBase,
|
|
12296
|
+
boxShadow: "inset 0 0 0 1px ".concat(Colors$q.DdsColorDangerBase)
|
|
12297
12297
|
};
|
|
12298
12298
|
|
|
12299
|
-
var Colors$
|
|
12299
|
+
var Colors$p = ddsBaseTokens.colors;
|
|
12300
12300
|
var dangerInputfield = {
|
|
12301
|
-
borderColor: Colors$
|
|
12302
|
-
boxShadow: "inset 0 0 0 1px ".concat(Colors$
|
|
12301
|
+
borderColor: Colors$p.DdsColorDangerBase,
|
|
12302
|
+
boxShadow: "inset 0 0 0 1px ".concat(Colors$p.DdsColorDangerBase)
|
|
12303
12303
|
};
|
|
12304
12304
|
|
|
12305
12305
|
var hideInput = {
|
|
@@ -12310,49 +12310,51 @@ var hideInput = {
|
|
|
12310
12310
|
margin: 0
|
|
12311
12311
|
};
|
|
12312
12312
|
|
|
12313
|
-
var
|
|
12314
|
-
var
|
|
12313
|
+
var scrollbarWidthNumberPx = 10;
|
|
12314
|
+
var scrollbarWidth = "".concat(scrollbarWidthNumberPx, "px");
|
|
12315
|
+
var scrollbarStyling = Ae(templateObject_1$_ || (templateObject_1$_ = __makeTemplateObject(["\n /* width */\n &::-webkit-scrollbar {\n width: ", ";\n height: ", ";\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: ", ";\n height: ", ";\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"])), scrollbarWidth, scrollbarWidth, ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.35)', ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.5)', ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.35)');
|
|
12316
|
+
var templateObject_1$_;
|
|
12315
12317
|
|
|
12316
|
-
var Colors$
|
|
12317
|
-
FontPackages$
|
|
12318
|
-
Spacing$
|
|
12318
|
+
var Colors$o = ddsBaseTokens.colors,
|
|
12319
|
+
FontPackages$i = ddsBaseTokens.fontPackages,
|
|
12320
|
+
Spacing$x = ddsBaseTokens.spacing;
|
|
12319
12321
|
var textDefault$7 = ddsReferenceTokens.textDefault;
|
|
12320
12322
|
var textColors = {
|
|
12321
|
-
interactive: Colors$
|
|
12322
|
-
primary: Colors$
|
|
12323
|
-
danger: Colors$
|
|
12324
|
-
success: Colors$
|
|
12325
|
-
warning: Colors$
|
|
12323
|
+
interactive: Colors$o.DdsColorInteractiveBase,
|
|
12324
|
+
primary: Colors$o.DdsColorPrimaryBase,
|
|
12325
|
+
danger: Colors$o.DdsColorDangerBase,
|
|
12326
|
+
success: Colors$o.DdsColorSuccessBase,
|
|
12327
|
+
warning: Colors$o.DdsColorWarningBase,
|
|
12326
12328
|
onLight: textDefault$7.textColor,
|
|
12327
|
-
onDark: Colors$
|
|
12328
|
-
gray1: Colors$
|
|
12329
|
-
gray2: Colors$
|
|
12330
|
-
gray3: Colors$
|
|
12331
|
-
gray4: Colors$
|
|
12332
|
-
gray5: Colors$
|
|
12333
|
-
gray6: Colors$
|
|
12334
|
-
gray7: Colors$
|
|
12335
|
-
gray8: Colors$
|
|
12336
|
-
gray9: Colors$
|
|
12329
|
+
onDark: Colors$o.DdsColorNeutralsWhite,
|
|
12330
|
+
gray1: Colors$o.DdsColorNeutralsGray1,
|
|
12331
|
+
gray2: Colors$o.DdsColorNeutralsGray2,
|
|
12332
|
+
gray3: Colors$o.DdsColorNeutralsGray3,
|
|
12333
|
+
gray4: Colors$o.DdsColorNeutralsGray4,
|
|
12334
|
+
gray5: Colors$o.DdsColorNeutralsGray5,
|
|
12335
|
+
gray6: Colors$o.DdsColorNeutralsGray6,
|
|
12336
|
+
gray7: Colors$o.DdsColorNeutralsGray7,
|
|
12337
|
+
gray8: Colors$o.DdsColorNeutralsGray8,
|
|
12338
|
+
gray9: Colors$o.DdsColorNeutralsGray9
|
|
12337
12339
|
};
|
|
12338
12340
|
var textColorsArray = ['interactive', 'primary', 'danger', 'success', 'warning', 'onLight', 'onDark', 'gray1', 'gray2', 'gray3', 'gray4', 'gray5', 'gray6', 'gray7', 'gray8', 'gray9'];
|
|
12339
12341
|
var aBase = {
|
|
12340
|
-
color: Colors$
|
|
12342
|
+
color: Colors$o.DdsColorInteractiveBase,
|
|
12341
12343
|
font: 'inherit',
|
|
12342
12344
|
textDecoration: 'underline',
|
|
12343
12345
|
width: 'fit-content'
|
|
12344
12346
|
};
|
|
12345
12347
|
var aMarginsBase = {
|
|
12346
12348
|
marginTop: 0,
|
|
12347
|
-
marginBottom: FontPackages$
|
|
12349
|
+
marginBottom: FontPackages$i.body_sans_02.paragraph.paragraphSpacing
|
|
12348
12350
|
};
|
|
12349
12351
|
var aHoverBase = {
|
|
12350
|
-
color: Colors$
|
|
12352
|
+
color: Colors$o.DdsColorInteractiveDark
|
|
12351
12353
|
};
|
|
12352
12354
|
|
|
12353
12355
|
var aFocusBase = __assign({}, focusVisibleLink);
|
|
12354
12356
|
|
|
12355
|
-
var aBoldBase = __assign(__assign({}, FontPackages$
|
|
12357
|
+
var aBoldBase = __assign(__assign({}, FontPackages$i.body_sans_02), {
|
|
12356
12358
|
fontWeight: 600
|
|
12357
12359
|
});
|
|
12358
12360
|
|
|
@@ -12368,291 +12370,291 @@ var italicBase = {
|
|
|
12368
12370
|
|
|
12369
12371
|
var headingSans01Base = __assign({
|
|
12370
12372
|
color: textDefault$7.textColor
|
|
12371
|
-
}, FontPackages$
|
|
12373
|
+
}, FontPackages$i.heading_sans_01.base);
|
|
12372
12374
|
|
|
12373
12375
|
var headingSans01MarginsBase = {
|
|
12374
12376
|
marginTop: 0,
|
|
12375
|
-
marginBottom: FontPackages$
|
|
12376
|
-
paddingTop: Spacing$
|
|
12377
|
+
marginBottom: FontPackages$i.heading_sans_01.paragraph.paragraphSpacing,
|
|
12378
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans01Top
|
|
12377
12379
|
};
|
|
12378
12380
|
|
|
12379
12381
|
var headingSans02Base = __assign({
|
|
12380
12382
|
color: textDefault$7.textColor
|
|
12381
|
-
}, FontPackages$
|
|
12383
|
+
}, FontPackages$i.heading_sans_02.base);
|
|
12382
12384
|
|
|
12383
12385
|
var headingSans02MarginsBase = {
|
|
12384
12386
|
marginTop: 0,
|
|
12385
|
-
marginBottom: FontPackages$
|
|
12386
|
-
paddingTop: Spacing$
|
|
12387
|
+
marginBottom: FontPackages$i.heading_sans_02.paragraph.paragraphSpacing,
|
|
12388
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans02Top
|
|
12387
12389
|
};
|
|
12388
12390
|
|
|
12389
12391
|
var headingSans03Base = __assign({
|
|
12390
12392
|
color: textDefault$7.textColor
|
|
12391
|
-
}, FontPackages$
|
|
12393
|
+
}, FontPackages$i.heading_sans_03.base);
|
|
12392
12394
|
|
|
12393
12395
|
var headingSans03MarginsBase = {
|
|
12394
12396
|
marginTop: 0,
|
|
12395
|
-
marginBottom: FontPackages$
|
|
12396
|
-
paddingTop: Spacing$
|
|
12397
|
+
marginBottom: FontPackages$i.heading_sans_03.paragraph.paragraphSpacing,
|
|
12398
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans03Top
|
|
12397
12399
|
};
|
|
12398
12400
|
|
|
12399
12401
|
var headingSans04Base = __assign({
|
|
12400
12402
|
color: textDefault$7.textColor
|
|
12401
|
-
}, FontPackages$
|
|
12403
|
+
}, FontPackages$i.heading_sans_04.base);
|
|
12402
12404
|
|
|
12403
12405
|
var headingSans04MarginsBase = {
|
|
12404
12406
|
marginTop: 0,
|
|
12405
|
-
marginBottom: FontPackages$
|
|
12406
|
-
paddingTop: Spacing$
|
|
12407
|
+
marginBottom: FontPackages$i.heading_sans_04.paragraph.paragraphSpacing,
|
|
12408
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans04Top
|
|
12407
12409
|
};
|
|
12408
12410
|
|
|
12409
12411
|
var headingSans05Base = __assign({
|
|
12410
12412
|
color: textDefault$7.textColor
|
|
12411
|
-
}, FontPackages$
|
|
12413
|
+
}, FontPackages$i.heading_sans_05.base);
|
|
12412
12414
|
|
|
12413
12415
|
var headingSans05MarginsBase = {
|
|
12414
12416
|
marginTop: 0,
|
|
12415
|
-
marginBottom: FontPackages$
|
|
12416
|
-
paddingTop: Spacing$
|
|
12417
|
+
marginBottom: FontPackages$i.heading_sans_05.paragraph.paragraphSpacing,
|
|
12418
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans05Top
|
|
12417
12419
|
};
|
|
12418
12420
|
|
|
12419
12421
|
var headingSans06Base = __assign({
|
|
12420
12422
|
color: textDefault$7.textColor
|
|
12421
|
-
}, FontPackages$
|
|
12423
|
+
}, FontPackages$i.heading_sans_06.base);
|
|
12422
12424
|
|
|
12423
12425
|
var headingSans06MarginsBase = {
|
|
12424
12426
|
marginTop: 0,
|
|
12425
|
-
marginBottom: FontPackages$
|
|
12426
|
-
paddingTop: Spacing$
|
|
12427
|
+
marginBottom: FontPackages$i.heading_sans_06.paragraph.paragraphSpacing,
|
|
12428
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans06Top
|
|
12427
12429
|
};
|
|
12428
12430
|
|
|
12429
12431
|
var headingSans07Base = __assign({
|
|
12430
12432
|
color: textDefault$7.textColor
|
|
12431
|
-
}, FontPackages$
|
|
12433
|
+
}, FontPackages$i.heading_sans_07.base);
|
|
12432
12434
|
|
|
12433
12435
|
var headingSans07MarginsBase = {
|
|
12434
12436
|
marginTop: 0,
|
|
12435
|
-
marginBottom: FontPackages$
|
|
12436
|
-
paddingTop: Spacing$
|
|
12437
|
+
marginBottom: FontPackages$i.heading_sans_07.paragraph.paragraphSpacing,
|
|
12438
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans07Top
|
|
12437
12439
|
};
|
|
12438
12440
|
|
|
12439
12441
|
var headingSans08Base = __assign({
|
|
12440
12442
|
color: textDefault$7.textColor
|
|
12441
|
-
}, FontPackages$
|
|
12443
|
+
}, FontPackages$i.heading_sans_08.base);
|
|
12442
12444
|
|
|
12443
12445
|
var headingSans08MarginsBase = {
|
|
12444
12446
|
marginTop: 0,
|
|
12445
|
-
marginBottom: FontPackages$
|
|
12446
|
-
paddingTop: Spacing$
|
|
12447
|
+
marginBottom: FontPackages$i.heading_sans_08.paragraph.paragraphSpacing,
|
|
12448
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans08Top
|
|
12447
12449
|
};
|
|
12448
12450
|
|
|
12449
12451
|
var bodySans01Base$1 = __assign({
|
|
12450
12452
|
color: textDefault$7.textColor
|
|
12451
|
-
}, FontPackages$
|
|
12453
|
+
}, FontPackages$i.body_sans_01.base);
|
|
12452
12454
|
|
|
12453
12455
|
var bodySans01MarginsBase = {
|
|
12454
12456
|
marginTop: 0,
|
|
12455
|
-
marginBottom: FontPackages$
|
|
12457
|
+
marginBottom: FontPackages$i.body_sans_01.paragraph.paragraphSpacing
|
|
12456
12458
|
};
|
|
12457
12459
|
|
|
12458
12460
|
var bodySans02Base$1 = __assign({
|
|
12459
12461
|
color: textDefault$7.textColor
|
|
12460
|
-
}, FontPackages$
|
|
12462
|
+
}, FontPackages$i.body_sans_02.base);
|
|
12461
12463
|
|
|
12462
12464
|
var bodySans02MarginsBase = {
|
|
12463
12465
|
marginTop: 0,
|
|
12464
|
-
marginBottom: FontPackages$
|
|
12466
|
+
marginBottom: FontPackages$i.body_sans_02.paragraph.paragraphSpacing
|
|
12465
12467
|
};
|
|
12466
12468
|
|
|
12467
12469
|
var bodySans03Base$1 = __assign({
|
|
12468
12470
|
color: textDefault$7.textColor
|
|
12469
|
-
}, FontPackages$
|
|
12471
|
+
}, FontPackages$i.body_sans_03.base);
|
|
12470
12472
|
|
|
12471
12473
|
var bodySans03MarginsBase = {
|
|
12472
12474
|
marginTop: 0,
|
|
12473
|
-
marginBottom: FontPackages$
|
|
12475
|
+
marginBottom: FontPackages$i.body_sans_03.paragraph.paragraphSpacing
|
|
12474
12476
|
};
|
|
12475
12477
|
|
|
12476
12478
|
var bodySans04Base$1 = __assign({
|
|
12477
12479
|
color: textDefault$7.textColor
|
|
12478
|
-
}, FontPackages$
|
|
12480
|
+
}, FontPackages$i.body_sans_04.base);
|
|
12479
12481
|
|
|
12480
12482
|
var bodySans04MarginsBase = {
|
|
12481
12483
|
marginTop: 0,
|
|
12482
|
-
marginBottom: FontPackages$
|
|
12484
|
+
marginBottom: FontPackages$i.body_sans_04.paragraph.paragraphSpacing
|
|
12483
12485
|
};
|
|
12484
12486
|
|
|
12485
12487
|
var bodySerif01Base$1 = __assign({
|
|
12486
12488
|
color: textDefault$7.textColor
|
|
12487
|
-
}, FontPackages$
|
|
12489
|
+
}, FontPackages$i.body_serif_01.base);
|
|
12488
12490
|
|
|
12489
12491
|
var bodySerif01MarginsBase = {
|
|
12490
12492
|
marginTop: 0,
|
|
12491
|
-
marginBottom: FontPackages$
|
|
12493
|
+
marginBottom: FontPackages$i.body_serif_01.paragraph.paragraphSpacing
|
|
12492
12494
|
};
|
|
12493
12495
|
|
|
12494
12496
|
var bodySerif02Base$1 = __assign({
|
|
12495
12497
|
color: textDefault$7.textColor
|
|
12496
|
-
}, FontPackages$
|
|
12498
|
+
}, FontPackages$i.body_serif_02.base);
|
|
12497
12499
|
|
|
12498
12500
|
var bodySerif02MarginsBase = {
|
|
12499
12501
|
marginTop: 0,
|
|
12500
|
-
marginBottom: FontPackages$
|
|
12502
|
+
marginBottom: FontPackages$i.body_serif_02.paragraph.paragraphSpacing
|
|
12501
12503
|
};
|
|
12502
12504
|
|
|
12503
12505
|
var bodySerif03Base$1 = __assign({
|
|
12504
12506
|
color: textDefault$7.textColor
|
|
12505
|
-
}, FontPackages$
|
|
12507
|
+
}, FontPackages$i.body_serif_03.base);
|
|
12506
12508
|
|
|
12507
12509
|
var bodySerif03MarginsBase = {
|
|
12508
12510
|
marginTop: 0,
|
|
12509
|
-
marginBottom: FontPackages$
|
|
12511
|
+
marginBottom: FontPackages$i.body_serif_03.paragraph.paragraphSpacing
|
|
12510
12512
|
};
|
|
12511
12513
|
|
|
12512
12514
|
var bodySerif04Base$1 = __assign({
|
|
12513
12515
|
color: textDefault$7.textColor
|
|
12514
|
-
}, FontPackages$
|
|
12516
|
+
}, FontPackages$i.body_serif_04.base);
|
|
12515
12517
|
|
|
12516
12518
|
var bodySerif04MarginsBase = {
|
|
12517
12519
|
marginTop: 0,
|
|
12518
|
-
marginBottom: FontPackages$
|
|
12520
|
+
marginBottom: FontPackages$i.body_serif_04.paragraph.paragraphSpacing
|
|
12519
12521
|
};
|
|
12520
12522
|
|
|
12521
12523
|
var leadSans01Base = __assign({
|
|
12522
12524
|
color: textDefault$7.textColor
|
|
12523
|
-
}, FontPackages$
|
|
12525
|
+
}, FontPackages$i.lead_sans_01.base);
|
|
12524
12526
|
|
|
12525
12527
|
var leadSans01MarginsBase = {
|
|
12526
12528
|
marginTop: 0,
|
|
12527
|
-
marginBottom: FontPackages$
|
|
12529
|
+
marginBottom: FontPackages$i.lead_sans_01.paragraph.paragraphSpacing
|
|
12528
12530
|
};
|
|
12529
12531
|
|
|
12530
12532
|
var leadSans02Base = __assign({
|
|
12531
12533
|
color: textDefault$7.textColor
|
|
12532
|
-
}, FontPackages$
|
|
12534
|
+
}, FontPackages$i.lead_sans_02.base);
|
|
12533
12535
|
|
|
12534
12536
|
var leadSans02MarginsBase = {
|
|
12535
12537
|
marginTop: 0,
|
|
12536
|
-
marginBottom: FontPackages$
|
|
12538
|
+
marginBottom: FontPackages$i.lead_sans_02.paragraph.paragraphSpacing
|
|
12537
12539
|
};
|
|
12538
12540
|
|
|
12539
12541
|
var leadSans03Base = __assign({
|
|
12540
12542
|
color: textDefault$7.textColor
|
|
12541
|
-
}, FontPackages$
|
|
12543
|
+
}, FontPackages$i.lead_sans_03.base);
|
|
12542
12544
|
|
|
12543
12545
|
var leadSans03MarginsBase = {
|
|
12544
12546
|
marginTop: 0,
|
|
12545
|
-
marginBottom: FontPackages$
|
|
12547
|
+
marginBottom: FontPackages$i.lead_sans_03.paragraph.paragraphSpacing
|
|
12546
12548
|
};
|
|
12547
12549
|
|
|
12548
12550
|
var leadSans04Base = __assign({
|
|
12549
12551
|
color: textDefault$7.textColor
|
|
12550
|
-
}, FontPackages$
|
|
12552
|
+
}, FontPackages$i.lead_sans_04.base);
|
|
12551
12553
|
|
|
12552
12554
|
var leadSans04MarginsBase = {
|
|
12553
12555
|
marginTop: 0,
|
|
12554
|
-
marginBottom: FontPackages$
|
|
12556
|
+
marginBottom: FontPackages$i.lead_sans_04.paragraph.paragraphSpacing
|
|
12555
12557
|
};
|
|
12556
12558
|
|
|
12557
12559
|
var leadSans05Base = __assign({
|
|
12558
12560
|
color: textDefault$7.textColor
|
|
12559
|
-
}, FontPackages$
|
|
12561
|
+
}, FontPackages$i.lead_sans_05.base);
|
|
12560
12562
|
|
|
12561
12563
|
var leadSans05MarginsBase = {
|
|
12562
12564
|
marginTop: 0,
|
|
12563
|
-
marginBottom: FontPackages$
|
|
12565
|
+
marginBottom: FontPackages$i.lead_sans_05.paragraph.paragraphSpacing
|
|
12564
12566
|
};
|
|
12565
12567
|
|
|
12566
12568
|
var supportingStyleLabel01Base = __assign(__assign({
|
|
12567
|
-
color: Colors$
|
|
12568
|
-
}, FontPackages$
|
|
12569
|
+
color: Colors$o.DdsColorNeutralsGray7
|
|
12570
|
+
}, FontPackages$i.supportingStyle_label_01.base), {
|
|
12569
12571
|
margin: 0
|
|
12570
12572
|
});
|
|
12571
12573
|
|
|
12572
12574
|
var supportingStyleLabel01MarginsBase = {
|
|
12573
|
-
marginTop: FontPackages$
|
|
12574
|
-
marginBottom: FontPackages$
|
|
12575
|
+
marginTop: FontPackages$i.supportingStyle_label_01.paragraph.paragraphSpacing,
|
|
12576
|
+
marginBottom: FontPackages$i.supportingStyle_label_01.paragraph.paragraphSpacing
|
|
12575
12577
|
};
|
|
12576
12578
|
|
|
12577
12579
|
var supportingStyleHelperText01Base = __assign(__assign({
|
|
12578
|
-
color: Colors$
|
|
12579
|
-
}, FontPackages$
|
|
12580
|
+
color: Colors$o.DdsColorNeutralsGray6
|
|
12581
|
+
}, FontPackages$i.supportingStyle_helpertext_01.base), {
|
|
12580
12582
|
margin: 0
|
|
12581
12583
|
});
|
|
12582
12584
|
|
|
12583
12585
|
var supportingStyleHelperText01MarginsBase = {
|
|
12584
|
-
marginTop: FontPackages$
|
|
12585
|
-
marginBottom: FontPackages$
|
|
12586
|
+
marginTop: FontPackages$i.supportingStyle_helpertext_01.paragraph.paragraphSpacing,
|
|
12587
|
+
marginBottom: FontPackages$i.supportingStyle_helpertext_01.paragraph.paragraphSpacing
|
|
12586
12588
|
};
|
|
12587
12589
|
|
|
12588
12590
|
var supportingStyleInputText01Base = __assign(__assign({
|
|
12589
12591
|
color: textDefault$7.textColor
|
|
12590
|
-
}, FontPackages$
|
|
12592
|
+
}, FontPackages$i.supportingStyle_inputtext_01.base), {
|
|
12591
12593
|
margin: 0
|
|
12592
12594
|
});
|
|
12593
12595
|
|
|
12594
12596
|
var supportingStyleInputText01MarginsBase = {
|
|
12595
|
-
marginTop: FontPackages$
|
|
12596
|
-
marginBottom: FontPackages$
|
|
12597
|
+
marginTop: FontPackages$i.supportingStyle_inputtext_01.paragraph.paragraphSpacing,
|
|
12598
|
+
marginBottom: FontPackages$i.supportingStyle_inputtext_01.paragraph.paragraphSpacing
|
|
12597
12599
|
};
|
|
12598
12600
|
|
|
12599
12601
|
var supportingStyleInputText02Base = __assign(__assign({
|
|
12600
12602
|
color: textDefault$7.textColor
|
|
12601
|
-
}, FontPackages$
|
|
12603
|
+
}, FontPackages$i.supportingStyle_inputtext_02.base), {
|
|
12602
12604
|
margin: 0
|
|
12603
12605
|
});
|
|
12604
12606
|
|
|
12605
12607
|
var supportingStyleInputText02MarginsBase = {
|
|
12606
|
-
marginTop: FontPackages$
|
|
12607
|
-
marginBottom: FontPackages$
|
|
12608
|
+
marginTop: FontPackages$i.supportingStyle_inputtext_02.paragraph.paragraphSpacing,
|
|
12609
|
+
marginBottom: FontPackages$i.supportingStyle_inputtext_02.paragraph.paragraphSpacing
|
|
12608
12610
|
};
|
|
12609
12611
|
|
|
12610
12612
|
var supportingStyleInputText03Base = __assign(__assign({
|
|
12611
12613
|
color: textDefault$7.textColor
|
|
12612
|
-
}, FontPackages$
|
|
12614
|
+
}, FontPackages$i.supportingStyle_inputtext_03.base), {
|
|
12613
12615
|
margin: 0
|
|
12614
12616
|
});
|
|
12615
12617
|
|
|
12616
12618
|
var supportingStyleInputText03MarginsBase = {
|
|
12617
|
-
marginTop: FontPackages$
|
|
12618
|
-
marginBottom: FontPackages$
|
|
12619
|
+
marginTop: FontPackages$i.supportingStyle_inputtext_03.paragraph.paragraphSpacing,
|
|
12620
|
+
marginBottom: FontPackages$i.supportingStyle_inputtext_03.paragraph.paragraphSpacing
|
|
12619
12621
|
};
|
|
12620
12622
|
|
|
12621
12623
|
var supportingStylePlaceholderText01Base = __assign(__assign({
|
|
12622
|
-
color: Colors$
|
|
12623
|
-
}, FontPackages$
|
|
12624
|
+
color: Colors$o.DdsColorNeutralsGray6
|
|
12625
|
+
}, FontPackages$i.supportingStyle_placeholdertext_01.base), {
|
|
12624
12626
|
margin: 0
|
|
12625
12627
|
});
|
|
12626
12628
|
|
|
12627
12629
|
var supportingStylePlaceholderText01MarginsBase = {
|
|
12628
|
-
marginTop: FontPackages$
|
|
12629
|
-
marginBottom: FontPackages$
|
|
12630
|
+
marginTop: FontPackages$i.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing,
|
|
12631
|
+
marginBottom: FontPackages$i.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing
|
|
12630
12632
|
};
|
|
12631
12633
|
|
|
12632
12634
|
var supportingStyleTiny01Base = __assign(__assign({
|
|
12633
12635
|
color: textDefault$7.textColor
|
|
12634
|
-
}, FontPackages$
|
|
12636
|
+
}, FontPackages$i.supportingStyle_tiny_01.base), {
|
|
12635
12637
|
margin: 0
|
|
12636
12638
|
});
|
|
12637
12639
|
|
|
12638
12640
|
var supportingStyleTiny01MarginsBase = {
|
|
12639
|
-
marginTop: FontPackages$
|
|
12640
|
-
marginBottom: FontPackages$
|
|
12641
|
+
marginTop: FontPackages$i.supportingStyle_tiny_01.paragraph.paragraphSpacing,
|
|
12642
|
+
marginBottom: FontPackages$i.supportingStyle_tiny_01.paragraph.paragraphSpacing
|
|
12641
12643
|
};
|
|
12642
12644
|
|
|
12643
12645
|
var supportingStyleTiny02Base = __assign(__assign({
|
|
12644
12646
|
color: textDefault$7.textColor
|
|
12645
|
-
}, FontPackages$
|
|
12647
|
+
}, FontPackages$i.supportingStyle_tiny_02.base), {
|
|
12646
12648
|
margin: 0
|
|
12647
12649
|
});
|
|
12648
12650
|
|
|
12649
12651
|
var supportingStyleTiny02MarginsBase = {
|
|
12650
|
-
marginTop: FontPackages$
|
|
12651
|
-
marginBottom: FontPackages$
|
|
12652
|
+
marginTop: FontPackages$i.supportingStyle_tiny_02.paragraph.paragraphSpacing,
|
|
12653
|
+
marginBottom: FontPackages$i.supportingStyle_tiny_02.paragraph.paragraphSpacing
|
|
12652
12654
|
};
|
|
12653
12655
|
var selectionBase = {
|
|
12654
12656
|
color: textDefault$7.textColor,
|
|
12655
|
-
backgroundColor: Colors$
|
|
12657
|
+
backgroundColor: Colors$o.DdsColorTertiaryLightest
|
|
12656
12658
|
};
|
|
12657
12659
|
var typographyTokens = {
|
|
12658
12660
|
selection: {
|
|
@@ -12674,7 +12676,7 @@ var typographyTokens = {
|
|
|
12674
12676
|
base: aBoldBase
|
|
12675
12677
|
},
|
|
12676
12678
|
icon: {
|
|
12677
|
-
marginLeft: Spacing$
|
|
12679
|
+
marginLeft: Spacing$x.SizesDdsSpacingLocalX0125
|
|
12678
12680
|
}
|
|
12679
12681
|
},
|
|
12680
12682
|
headingSans01: {
|
|
@@ -17878,15 +17880,15 @@ process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {
|
|
|
17878
17880
|
return obj;
|
|
17879
17881
|
}, {}) : {};
|
|
17880
17882
|
|
|
17881
|
-
function spacing$
|
|
17883
|
+
function spacing$5(props) {
|
|
17882
17884
|
return style(props, spacingKeys);
|
|
17883
17885
|
}
|
|
17884
17886
|
|
|
17885
|
-
spacing$
|
|
17887
|
+
spacing$5.propTypes = process.env.NODE_ENV !== 'production' ? spacingKeys.reduce((obj, key) => {
|
|
17886
17888
|
obj[key] = responsivePropType$1;
|
|
17887
17889
|
return obj;
|
|
17888
17890
|
}, {}) : {};
|
|
17889
|
-
spacing$
|
|
17891
|
+
spacing$5.filterProps = spacingKeys;
|
|
17890
17892
|
|
|
17891
17893
|
function getBorder(value) {
|
|
17892
17894
|
if (typeof value !== 'number') {
|
|
@@ -17896,7 +17898,7 @@ function getBorder(value) {
|
|
|
17896
17898
|
return `${value}px solid`;
|
|
17897
17899
|
}
|
|
17898
17900
|
|
|
17899
|
-
const border = style$1({
|
|
17901
|
+
const border$1 = style$1({
|
|
17900
17902
|
prop: 'border',
|
|
17901
17903
|
themeKey: 'borders',
|
|
17902
17904
|
transform: getBorder
|
|
@@ -17941,7 +17943,7 @@ const borderLeftColor = style$1({
|
|
|
17941
17943
|
prop: 'borderLeftColor',
|
|
17942
17944
|
themeKey: 'palette'
|
|
17943
17945
|
});
|
|
17944
|
-
const borderRadius$
|
|
17946
|
+
const borderRadius$3 = props => {
|
|
17945
17947
|
if (props.borderRadius !== undefined && props.borderRadius !== null) {
|
|
17946
17948
|
const transformer = createUnaryUnit(props.theme, 'shape.borderRadius', 4, 'borderRadius');
|
|
17947
17949
|
|
|
@@ -17954,11 +17956,11 @@ const borderRadius$2 = props => {
|
|
|
17954
17956
|
|
|
17955
17957
|
return null;
|
|
17956
17958
|
};
|
|
17957
|
-
borderRadius$
|
|
17959
|
+
borderRadius$3.propTypes = process.env.NODE_ENV !== 'production' ? {
|
|
17958
17960
|
borderRadius: responsivePropType$1
|
|
17959
17961
|
} : {};
|
|
17960
|
-
borderRadius$
|
|
17961
|
-
const borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor$1, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius$
|
|
17962
|
+
borderRadius$3.filterProps = ['borderRadius'];
|
|
17963
|
+
const borders = compose(border$1, borderTop, borderRight, borderBottom, borderLeft, borderColor$1, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius$3);
|
|
17962
17964
|
var borders$1 = borders;
|
|
17963
17965
|
|
|
17964
17966
|
const displayPrint = style$1({
|
|
@@ -18255,7 +18257,7 @@ const filterPropsMapping = {
|
|
|
18255
18257
|
palette: palette$1.filterProps,
|
|
18256
18258
|
shadows: shadows$2.filterProps,
|
|
18257
18259
|
sizing: sizing$1.filterProps,
|
|
18258
|
-
spacing: spacing$
|
|
18260
|
+
spacing: spacing$5.filterProps,
|
|
18259
18261
|
typography: typography$1.filterProps
|
|
18260
18262
|
};
|
|
18261
18263
|
const styleFunctionMapping = {
|
|
@@ -18267,7 +18269,7 @@ const styleFunctionMapping = {
|
|
|
18267
18269
|
palette: palette$1,
|
|
18268
18270
|
shadows: shadows$2,
|
|
18269
18271
|
sizing: sizing$1,
|
|
18270
|
-
spacing: spacing$
|
|
18272
|
+
spacing: spacing$5,
|
|
18271
18273
|
typography: typography$1
|
|
18272
18274
|
};
|
|
18273
18275
|
Object.keys(filterPropsMapping).reduce((acc, styleFnName) => {
|
|
@@ -20184,13 +20186,13 @@ var getTextColor = function getTextColor(color) {
|
|
|
20184
20186
|
};
|
|
20185
20187
|
|
|
20186
20188
|
var getElementStyling = function getElementStyling(type) {
|
|
20187
|
-
return Ae(templateObject_1$
|
|
20189
|
+
return Ae(templateObject_1$Z || (templateObject_1$Z = __makeTemplateObject(["\n ", "\n &::selection, *::selection {\n ", "\n }\n "], ["\n ", "\n &::selection, *::selection {\n ", "\n }\n "])), typographyTokens.typographyType[type].base, typographyTokens.selection.base);
|
|
20188
20190
|
};
|
|
20189
20191
|
|
|
20190
20192
|
var LinkIconWrapper = styled$3(IconWrapper$1).withConfig({
|
|
20191
20193
|
displayName: "Typography__LinkIconWrapper",
|
|
20192
20194
|
componentId: "sc-1uvxoh6-0"
|
|
20193
|
-
})(templateObject_2$
|
|
20195
|
+
})(templateObject_2$J || (templateObject_2$J = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typographyTokens.typographyType.a.icon);
|
|
20194
20196
|
var StyledTypography = styled$3.p.withConfig({
|
|
20195
20197
|
displayName: "Typography__StyledTypography",
|
|
20196
20198
|
componentId: "sc-1uvxoh6-1"
|
|
@@ -20206,20 +20208,20 @@ var StyledTypography = styled$3.p.withConfig({
|
|
|
20206
20208
|
return interactionProps && interactionProps.hover && Ae(templateObject_5$g || (templateObject_5$g = __makeTemplateObject(["\n &:hover {\n ", "\n }\n "], ["\n &:hover {\n ", "\n }\n "])), interactionProps.hover);
|
|
20207
20209
|
}, function (_a) {
|
|
20208
20210
|
var interactionProps = _a.interactionProps;
|
|
20209
|
-
return interactionProps && interactionProps.active && Ae(templateObject_6$
|
|
20211
|
+
return interactionProps && interactionProps.active && Ae(templateObject_6$e || (templateObject_6$e = __makeTemplateObject(["\n &:active {\n ", "\n }\n "], ["\n &:active {\n ", "\n }\n "])), interactionProps.active);
|
|
20210
20212
|
}, function (_a) {
|
|
20211
20213
|
var withMargins = _a.withMargins,
|
|
20212
20214
|
typographyType = _a.typographyType;
|
|
20213
|
-
return withMargins && typographyType ? Ae(templateObject_7$
|
|
20215
|
+
return withMargins && typographyType ? Ae(templateObject_7$a || (templateObject_7$a = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.typographyType[typographyType].margins.base) : Ae(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject(["\n margin: 0;\n "], ["\n margin: 0;\n "])));
|
|
20214
20216
|
}, function (_a) {
|
|
20215
20217
|
var color = _a.color;
|
|
20216
|
-
return color && Ae(templateObject_9$
|
|
20218
|
+
return color && Ae(templateObject_9$6 || (templateObject_9$6 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), getTextColor(color));
|
|
20217
20219
|
}, function (_a) {
|
|
20218
20220
|
var bold = _a.bold;
|
|
20219
|
-
return bold && Ae(templateObject_10$
|
|
20221
|
+
return bold && Ae(templateObject_10$5 || (templateObject_10$5 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.bold.base);
|
|
20220
20222
|
}, function (_a) {
|
|
20221
20223
|
var italic = _a.italic;
|
|
20222
|
-
return italic && Ae(templateObject_11$
|
|
20224
|
+
return italic && Ae(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.italic.base);
|
|
20223
20225
|
}, function (_a) {
|
|
20224
20226
|
var underline = _a.underline;
|
|
20225
20227
|
return underline && Ae(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.underline.base);
|
|
@@ -20251,29 +20253,29 @@ var Typography = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
20251
20253
|
}) : '']
|
|
20252
20254
|
}));
|
|
20253
20255
|
});
|
|
20254
|
-
var templateObject_1$
|
|
20256
|
+
var templateObject_1$Z, templateObject_2$J, templateObject_3$v, templateObject_4$p, templateObject_5$g, templateObject_6$e, templateObject_7$a, templateObject_8$8, templateObject_9$6, templateObject_10$5, templateObject_11$4, templateObject_12$3, templateObject_13$2;
|
|
20255
20257
|
|
|
20256
20258
|
var RadioButtonGroupContext = /*#__PURE__*/React__default.createContext(null);
|
|
20257
20259
|
var useRadioButtonGroup = function useRadioButtonGroup() {
|
|
20258
20260
|
return useContext(RadioButtonGroupContext);
|
|
20259
20261
|
};
|
|
20260
20262
|
|
|
20261
|
-
var Colors$
|
|
20262
|
-
Spacing$
|
|
20263
|
-
FontPackages$
|
|
20263
|
+
var Colors$n = ddsBaseTokens.colors,
|
|
20264
|
+
Spacing$w = ddsBaseTokens.spacing,
|
|
20265
|
+
FontPackages$h = ddsBaseTokens.fontPackages;
|
|
20264
20266
|
var radioButtonBase = {
|
|
20265
20267
|
border: '1px solid',
|
|
20266
|
-
borderColor: Colors$
|
|
20267
|
-
backgroundColor: Colors$
|
|
20268
|
-
height: FontPackages$
|
|
20269
|
-
width: FontPackages$
|
|
20268
|
+
borderColor: Colors$n.DdsColorNeutralsGray5,
|
|
20269
|
+
backgroundColor: Colors$n.DdsColorNeutralsWhite,
|
|
20270
|
+
height: FontPackages$h.supportingStyle_inputtext_02.numbers.fontSizeNumber,
|
|
20271
|
+
width: FontPackages$h.supportingStyle_inputtext_02.numbers.fontSizeNumber
|
|
20270
20272
|
};
|
|
20271
20273
|
|
|
20272
20274
|
var radioButtonHoverBase = __assign({}, hoverInputfield);
|
|
20273
20275
|
|
|
20274
20276
|
var radioButtonDisabledBase = {
|
|
20275
|
-
borderColor: Colors$
|
|
20276
|
-
color: Colors$
|
|
20277
|
+
borderColor: Colors$n.DdsColorNeutralsGray5,
|
|
20278
|
+
color: Colors$n.DdsColorNeutralsGray6
|
|
20277
20279
|
};
|
|
20278
20280
|
var radioButtonReadOnlyBase = {
|
|
20279
20281
|
backgroundColor: 'transparent'
|
|
@@ -20284,39 +20286,39 @@ var radioButtonDangerBase = __assign({}, dangerInputfield);
|
|
|
20284
20286
|
var radioButtonDangerHoverBase = __assign({}, hoverDangerInputfield);
|
|
20285
20287
|
|
|
20286
20288
|
var radioButtonCheckedBase = {
|
|
20287
|
-
backgroundColor: Colors$
|
|
20288
|
-
borderColor: Colors$
|
|
20289
|
+
backgroundColor: Colors$n.DdsColorInteractiveBase,
|
|
20290
|
+
borderColor: Colors$n.DdsColorInteractiveBase
|
|
20289
20291
|
};
|
|
20290
20292
|
var radioButtonCheckedHoverBase = {
|
|
20291
|
-
backgroundColor: Colors$
|
|
20292
|
-
borderColor: Colors$
|
|
20293
|
-
boxShadow: "inset 0 0 0 1px ".concat(Colors$
|
|
20293
|
+
backgroundColor: Colors$n.DdsColorInteractiveDark,
|
|
20294
|
+
borderColor: Colors$n.DdsColorInteractiveDark,
|
|
20295
|
+
boxShadow: "inset 0 0 0 1px ".concat(Colors$n.DdsColorInteractiveDark)
|
|
20294
20296
|
};
|
|
20295
20297
|
var radioButtonCheckedDisabledBase = {
|
|
20296
|
-
borderColor: Colors$
|
|
20297
|
-
backgroundColor: Colors$
|
|
20298
|
+
borderColor: Colors$n.DdsColorNeutralsGray6,
|
|
20299
|
+
backgroundColor: Colors$n.DdsColorNeutralsGray6
|
|
20298
20300
|
};
|
|
20299
20301
|
var radioButtonCheckedReadOnlyBase = {
|
|
20300
|
-
borderColor: Colors$
|
|
20301
|
-
backgroundColor: Colors$
|
|
20302
|
+
borderColor: Colors$n.DdsColorNeutralsGray6,
|
|
20303
|
+
backgroundColor: Colors$n.DdsColorNeutralsGray6
|
|
20302
20304
|
};
|
|
20303
20305
|
var checkmarkBase$1 = {
|
|
20304
|
-
backgroundColor: Colors$
|
|
20305
|
-
height: Spacing$
|
|
20306
|
-
width: Spacing$
|
|
20307
|
-
left: "calc(50% - ".concat(Spacing$
|
|
20308
|
-
top: "calc(50% - ".concat(Spacing$
|
|
20306
|
+
backgroundColor: Colors$n.DdsColorNeutralsWhite,
|
|
20307
|
+
height: Spacing$w.SizesDdsSpacingLocalX05,
|
|
20308
|
+
width: Spacing$w.SizesDdsSpacingLocalX05,
|
|
20309
|
+
left: "calc(50% - ".concat(Spacing$w.SizesDdsSpacingLocalX05NumberPx / 2, "px)"),
|
|
20310
|
+
top: "calc(50% - ".concat(Spacing$w.SizesDdsSpacingLocalX05NumberPx / 2, "px)")
|
|
20309
20311
|
};
|
|
20310
|
-
var containerBase$
|
|
20311
|
-
padding: "0 ".concat(Spacing$
|
|
20312
|
+
var containerBase$a = {
|
|
20313
|
+
padding: "0 ".concat(Spacing$w.SizesDdsSpacingLocalX025, " 0 ").concat(20 + Spacing$w.SizesDdsSpacingLocalX075NumberPx, "px")
|
|
20312
20314
|
};
|
|
20313
20315
|
|
|
20314
|
-
var focusBase$
|
|
20316
|
+
var focusBase$5 = __assign({}, focusVisible);
|
|
20315
20317
|
|
|
20316
20318
|
var radioButtonTokens = {
|
|
20317
20319
|
radioButton: {
|
|
20318
20320
|
base: radioButtonBase,
|
|
20319
|
-
spaceLeft: Spacing$
|
|
20321
|
+
spaceLeft: Spacing$w.SizesDdsSpacingLocalX025,
|
|
20320
20322
|
hover: {
|
|
20321
20323
|
base: radioButtonHoverBase
|
|
20322
20324
|
},
|
|
@@ -20349,9 +20351,9 @@ var radioButtonTokens = {
|
|
|
20349
20351
|
base: checkmarkBase$1
|
|
20350
20352
|
},
|
|
20351
20353
|
container: {
|
|
20352
|
-
base: containerBase$
|
|
20354
|
+
base: containerBase$a,
|
|
20353
20355
|
focus: {
|
|
20354
|
-
base: focusBase$
|
|
20356
|
+
base: focusBase$5
|
|
20355
20357
|
}
|
|
20356
20358
|
}
|
|
20357
20359
|
};
|
|
@@ -20359,7 +20361,7 @@ var radioButtonTokens = {
|
|
|
20359
20361
|
var CustomRadioButton = styled$3.span.withConfig({
|
|
20360
20362
|
displayName: "RadioButtonstyles__CustomRadioButton",
|
|
20361
20363
|
componentId: "sc-iwypha-0"
|
|
20362
|
-
})(templateObject_1$
|
|
20364
|
+
})(templateObject_1$Y || (templateObject_1$Y = __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);
|
|
20363
20365
|
var Input$6 = styled$3.input.attrs(function (_a) {
|
|
20364
20366
|
var _b = _a.type,
|
|
20365
20367
|
type = _b === void 0 ? 'radio' : _b;
|
|
@@ -20369,11 +20371,11 @@ var Input$6 = styled$3.input.attrs(function (_a) {
|
|
|
20369
20371
|
}).withConfig({
|
|
20370
20372
|
displayName: "RadioButtonstyles__Input",
|
|
20371
20373
|
componentId: "sc-iwypha-1"
|
|
20372
|
-
})(templateObject_2$
|
|
20373
|
-
var Container$
|
|
20374
|
+
})(templateObject_2$I || (templateObject_2$I = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), hideInput);
|
|
20375
|
+
var Container$j = styled$3.label.withConfig({
|
|
20374
20376
|
displayName: "RadioButtonstyles__Container",
|
|
20375
20377
|
componentId: "sc-iwypha-2"
|
|
20376
|
-
})(templateObject_6$
|
|
20378
|
+
})(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["\n position: relative;\n display: block;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n display: flex;\n align-items: center;\n ", "\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n\n &:focus-within {\n ", "\n transition: ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border-radius: 50%;\n ", "\n }\n"], ["\n position: relative;\n display: block;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n display: flex;\n align-items: center;\n ", "\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n\n &:focus-within {\n ", "\n transition: ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border-radius: 50%;\n ", "\n }\n"])), radioButtonTokens.container.base, CustomRadioButton, CustomRadioButton, CustomRadioButton, radioButtonTokens.radioButton.checked.base, CustomRadioButton, radioButtonTokens.radioButton.hover.base, CustomRadioButton, radioButtonTokens.radioButton.checked.hover.base, radioButtonTokens.container.focus.base, focusVisibleTransitionValue, function (_a) {
|
|
20377
20379
|
var error = _a.error;
|
|
20378
20380
|
return error && Ae(templateObject_3$u || (templateObject_3$u = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "])), CustomRadioButton, radioButtonTokens.radioButton.danger.base, CustomRadioButton, radioButtonTokens.radioButton.danger.hover.base);
|
|
20379
20381
|
}, function (_a) {
|
|
@@ -20383,7 +20385,7 @@ var Container$i = styled$3.label.withConfig({
|
|
|
20383
20385
|
var readOnly = _a.readOnly;
|
|
20384
20386
|
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);
|
|
20385
20387
|
}, CustomRadioButton, radioButtonTokens.checkmark.base);
|
|
20386
|
-
var templateObject_1$
|
|
20388
|
+
var templateObject_1$Y, templateObject_2$I, templateObject_3$u, templateObject_4$o, templateObject_5$f, templateObject_6$d;
|
|
20387
20389
|
|
|
20388
20390
|
var nextUniqueId$h = 0;
|
|
20389
20391
|
|
|
@@ -20447,7 +20449,7 @@ var RadioButton = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
20447
20449
|
style: style,
|
|
20448
20450
|
className: className
|
|
20449
20451
|
};
|
|
20450
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
20452
|
+
return jsxRuntime.exports.jsxs(Container$j, __assign({}, containerProps, {
|
|
20451
20453
|
htmlFor: uniqueId
|
|
20452
20454
|
}, {
|
|
20453
20455
|
children: [jsxRuntime.exports.jsx(Input$6, __assign({
|
|
@@ -20471,11 +20473,11 @@ var changeRGBAAlpha = function changeRGBAAlpha(value, alpha) {
|
|
|
20471
20473
|
var Backdrop = styled$3.div.withConfig({
|
|
20472
20474
|
displayName: "Backdrop",
|
|
20473
20475
|
componentId: "sc-vimg90-0"
|
|
20474
|
-
})(templateObject_1$
|
|
20476
|
+
})(templateObject_1$X || (templateObject_1$X = __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) {
|
|
20475
20477
|
var isOpen = _a.isOpen;
|
|
20476
20478
|
return isOpen ? 1 : 0;
|
|
20477
20479
|
});
|
|
20478
|
-
var templateObject_1$
|
|
20480
|
+
var templateObject_1$X;
|
|
20479
20481
|
|
|
20480
20482
|
var isVerticalScrollbarDisplayed = function isVerticalScrollbarDisplayed(container) {
|
|
20481
20483
|
return container.clientHeight > window.innerHeight;
|
|
@@ -20495,11 +20497,11 @@ function handleElementWithBackdropUnmount(container) {
|
|
|
20495
20497
|
var SvgChevron = styled$3.svg.withConfig({
|
|
20496
20498
|
displayName: "AnimatedChevronUpDownstyles__SvgChevron",
|
|
20497
20499
|
componentId: "sc-yey4nu-0"
|
|
20498
|
-
})(templateObject_1$
|
|
20500
|
+
})(templateObject_1$W || (templateObject_1$W = __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"])));
|
|
20499
20501
|
var SvgChevronlGroup = styled$3.g.withConfig({
|
|
20500
20502
|
displayName: "AnimatedChevronUpDownstyles__SvgChevronlGroup",
|
|
20501
20503
|
componentId: "sc-yey4nu-1"
|
|
20502
|
-
})(templateObject_2$
|
|
20504
|
+
})(templateObject_2$H || (templateObject_2$H = __makeTemplateObject(["\n transition: transform 0.2s linear;\n transform: ", ";\n"], ["\n transition: transform 0.2s linear;\n transform: ", ";\n"])), function (_a) {
|
|
20503
20505
|
var isUp = _a.isUp;
|
|
20504
20506
|
return isUp ? 'translateY(3px)' : 'translateY(0)';
|
|
20505
20507
|
});
|
|
@@ -20517,7 +20519,7 @@ var SvgChevronlRight = styled$3.path.withConfig({
|
|
|
20517
20519
|
var isUp = _a.isUp;
|
|
20518
20520
|
return isUp ? 'rotate(90deg) translateY(0)' : 'rotate(0) translateY(0)';
|
|
20519
20521
|
});
|
|
20520
|
-
var templateObject_1$
|
|
20522
|
+
var templateObject_1$W, templateObject_2$H, templateObject_3$t, templateObject_4$n;
|
|
20521
20523
|
|
|
20522
20524
|
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';
|
|
20523
20525
|
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';
|
|
@@ -20548,24 +20550,34 @@ var AnimatedChevronUpDown = function AnimatedChevronUpDown(_a) {
|
|
|
20548
20550
|
}));
|
|
20549
20551
|
};
|
|
20550
20552
|
|
|
20551
|
-
var
|
|
20552
|
-
|
|
20553
|
-
|
|
20554
|
-
|
|
20555
|
-
var TextInput$
|
|
20556
|
-
|
|
20557
|
-
|
|
20558
|
-
|
|
20559
|
-
|
|
20560
|
-
|
|
20561
|
-
|
|
20553
|
+
var colors$3 = ddsBaseTokens.colors,
|
|
20554
|
+
spacing$4 = ddsBaseTokens.spacing,
|
|
20555
|
+
fontPackages$2 = ddsBaseTokens.fontPackages,
|
|
20556
|
+
border = ddsBaseTokens.border;
|
|
20557
|
+
var TextInput$2 = ddsReferenceTokens.textInput;
|
|
20558
|
+
|
|
20559
|
+
var inputBase$2 = __assign({
|
|
20560
|
+
color: TextInput$2.input.textColor,
|
|
20561
|
+
borderRadius: TextInput$2.input.borderRadius,
|
|
20562
|
+
border: "".concat(border.BordersDdsBorderStyleLightStrokeWeight, " solid ").concat(colors$3.DdsColorNeutralsGray5),
|
|
20563
|
+
borderColor: TextInput$2.input.borderColor,
|
|
20564
|
+
backgroundColor: colors$3.DdsColorNeutralsWhite
|
|
20565
|
+
}, TextInput$2.input.font);
|
|
20566
|
+
|
|
20567
|
+
var inputFocusBase = __assign({}, focusInputfield);
|
|
20568
|
+
|
|
20569
|
+
var inputHoverBase = __assign({}, hoverInputfield);
|
|
20570
|
+
|
|
20571
|
+
var inputHasLabelBase = {
|
|
20572
|
+
padding: "".concat(spacing$4.SizesDdsSpacingLocalX075NumberPx + fontPackages$2.supportingStyle_label_01.numbers.lineHeightNumber * 0.01 * fontPackages$2.supportingStyle_label_01.numbers.fontSizeNumber, "px ").concat(spacing$4.SizesDdsSpacingLocalX1, " ").concat(spacing$4.SizesDdsSpacingLocalX075, " ").concat(spacing$4.SizesDdsSpacingLocalX1)
|
|
20562
20573
|
};
|
|
20563
20574
|
var inputNoLabelBase$1 = {
|
|
20564
|
-
padding: "".concat(
|
|
20575
|
+
padding: "".concat(spacing$4.SizesDdsSpacingLocalX075, " ").concat(spacing$4.SizesDdsSpacingLocalX1, " ").concat(spacing$4.SizesDdsSpacingLocalX075, " ").concat(spacing$4.SizesDdsSpacingLocalX1)
|
|
20565
20576
|
};
|
|
20566
20577
|
var inputDisabledBase = {
|
|
20567
|
-
|
|
20568
|
-
|
|
20578
|
+
cursor: 'not-allowed',
|
|
20579
|
+
color: colors$3.DdsColorNeutralsGray7,
|
|
20580
|
+
backgroundColor: colors$3.DdsColorNeutralsGray1
|
|
20569
20581
|
};
|
|
20570
20582
|
|
|
20571
20583
|
var inputErrorBase = __assign({}, dangerInputfield);
|
|
@@ -20576,27 +20588,36 @@ var inputErrorFocusBase = __assign({}, focusDangerInputfield);
|
|
|
20576
20588
|
|
|
20577
20589
|
var inputReadOnlyBase = {
|
|
20578
20590
|
border: 'none',
|
|
20591
|
+
outline: 'none',
|
|
20592
|
+
cursor: 'default',
|
|
20579
20593
|
backgroundColor: 'transparent',
|
|
20580
|
-
paddingLeft:
|
|
20594
|
+
paddingLeft: spacing$4.SizesDdsSpacingLocalX1
|
|
20581
20595
|
};
|
|
20582
20596
|
var inputLabelBase = {
|
|
20583
|
-
padding: "".concat(
|
|
20597
|
+
padding: "".concat(spacing$4.SizesDdsSpacingLocalX075, " ").concat(spacing$4.SizesDdsSpacingLocalX1)
|
|
20584
20598
|
};
|
|
20585
20599
|
var inputLabelHoverBase = {
|
|
20586
|
-
color: TextInput$
|
|
20600
|
+
color: TextInput$2.label.hover.textColor
|
|
20587
20601
|
};
|
|
20588
20602
|
var inputLabelFocusBase = {
|
|
20589
|
-
color: TextInput$
|
|
20603
|
+
color: TextInput$2.label.focus.textColor
|
|
20590
20604
|
};
|
|
20591
20605
|
var inputLabelDisabledBase = {
|
|
20592
|
-
color:
|
|
20606
|
+
color: colors$3.DdsColorNeutralsGray6
|
|
20593
20607
|
};
|
|
20594
20608
|
var inputTokens = {
|
|
20595
|
-
|
|
20596
|
-
|
|
20597
|
-
|
|
20598
|
-
|
|
20599
|
-
|
|
20609
|
+
baseInput: {
|
|
20610
|
+
base: inputBase$2,
|
|
20611
|
+
focus: {
|
|
20612
|
+
base: inputFocusBase
|
|
20613
|
+
},
|
|
20614
|
+
hover: {
|
|
20615
|
+
base: inputHoverBase
|
|
20616
|
+
}
|
|
20617
|
+
},
|
|
20618
|
+
general: TextInput$2,
|
|
20619
|
+
hasLabel: {
|
|
20620
|
+
base: inputHasLabelBase
|
|
20600
20621
|
},
|
|
20601
20622
|
noLabel: {
|
|
20602
20623
|
base: inputNoLabelBase$1
|
|
@@ -20630,66 +20651,39 @@ var inputTokens = {
|
|
|
20630
20651
|
}
|
|
20631
20652
|
};
|
|
20632
20653
|
|
|
20633
|
-
var TextInput$2 = ddsReferenceTokens.textInput;
|
|
20634
|
-
var Border$e = ddsBaseTokens.border;
|
|
20635
|
-
|
|
20636
|
-
var stylingBase = __assign({
|
|
20637
|
-
color: TextInput$2.input.textColor,
|
|
20638
|
-
borderRadius: TextInput$2.input.borderRadius,
|
|
20639
|
-
border: "".concat(Border$e.BordersDdsBorderStyleLightStrokeWeight, " solid"),
|
|
20640
|
-
borderColor: TextInput$2.input.borderColor
|
|
20641
|
-
}, TextInput$2.input.font);
|
|
20642
|
-
|
|
20643
|
-
var focusBase$5 = __assign({}, focusInputfield);
|
|
20644
|
-
|
|
20645
|
-
var hoverBase$2 = __assign({}, hoverInputfield);
|
|
20646
|
-
|
|
20647
|
-
var inputFieldStylingBase = function inputFieldStylingBase() {
|
|
20648
|
-
return Ae(templateObject_1$U || (templateObject_1$U = __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);
|
|
20649
|
-
};
|
|
20650
|
-
var templateObject_1$U;
|
|
20651
|
-
|
|
20652
|
-
var inputStyling = function inputStyling(_a) {
|
|
20653
|
-
var readOnly = _a.readOnly,
|
|
20654
|
-
hasLabel = _a.hasLabel,
|
|
20655
|
-
disabled = _a.disabled,
|
|
20656
|
-
hasErrorMessage = _a.hasErrorMessage;
|
|
20657
|
-
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$T || (templateObject_1$T = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.withLabel.base) : Ae(templateObject_2$F || (templateObject_2$F = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.noLabel.base), inputTokens.label.hover.base, inputTokens.label.focus.base, disabled && Ae(templateObject_3$s || (templateObject_3$s = __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));
|
|
20658
|
-
};
|
|
20659
20654
|
var Input$5 = styled$3.input.withConfig({
|
|
20660
20655
|
displayName: "Inputstyles__Input",
|
|
20661
20656
|
componentId: "sc-1oz9x8w-0"
|
|
20662
|
-
})(
|
|
20663
|
-
|
|
20664
|
-
|
|
20665
|
-
readOnly = _a.readOnly,
|
|
20666
|
-
hasErrorMessage = _a.hasErrorMessage;
|
|
20667
|
-
return inputStyling({
|
|
20668
|
-
readOnly: readOnly,
|
|
20669
|
-
hasLabel: hasLabel,
|
|
20670
|
-
disabled: disabled,
|
|
20671
|
-
hasErrorMessage: hasErrorMessage
|
|
20672
|
-
});
|
|
20673
|
-
});
|
|
20674
|
-
var SingleLineLabel = styled$3(Typography).withConfig({
|
|
20675
|
-
displayName: "Inputstyles__SingleLineLabel",
|
|
20657
|
+
})(templateObject_1$V || (templateObject_1$V = __makeTemplateObject(["\n ", "\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n box-shadow: none;\n @media (prefers-reduced-motion: no-preference) {\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n }\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 &:focus:enabled:read-write,\n &:active:enabled:read-write {\n ", "\n }\n\n &:hover:enabled:read-write {\n ", "\n }\n"], ["\n ", "\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n box-shadow: none;\n @media (prefers-reduced-motion: no-preference) {\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n }\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 &:focus:enabled:read-write,\n &:active:enabled:read-write {\n ", "\n }\n\n &:hover:enabled:read-write {\n ", "\n }\n"])), inputTokens.baseInput.base, typographyTokens.selection.base, inputTokens.baseInput.focus.base, inputTokens.baseInput.hover.base);
|
|
20658
|
+
var StatefulInput = styled$3(Input$5).withConfig({
|
|
20659
|
+
displayName: "Inputstyles__StatefulInput",
|
|
20676
20660
|
componentId: "sc-1oz9x8w-1"
|
|
20677
|
-
})(
|
|
20661
|
+
})(templateObject_4$m || (templateObject_4$m = __makeTemplateObject(["\n -webkit-appearance: textfield;\n ", ";\n\n &:hover:enabled:read-write ~ label {\n ", "\n }\n &:focus:enabled:read-write ~ label {\n ", "\n }\n ", "\n &:enabled:read-only {\n ", "\n }\n &:disabled {\n ", "\n }\n"], ["\n -webkit-appearance: textfield;\n ", ";\n\n &:hover:enabled:read-write ~ label {\n ", "\n }\n &:focus:enabled:read-write ~ label {\n ", "\n }\n ", "\n &:enabled:read-only {\n ", "\n }\n &:disabled {\n ", "\n }\n"])), function (_a) {
|
|
20662
|
+
var hasLabel = _a.hasLabel;
|
|
20663
|
+
return Ae(templateObject_2$G || (templateObject_2$G = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens[hasLabel].base);
|
|
20664
|
+
}, inputTokens.label.hover.base, inputTokens.label.focus.base, function (_a) {
|
|
20665
|
+
var hasErrorMessage = _a.hasErrorMessage;
|
|
20666
|
+
return hasErrorMessage && Ae(templateObject_3$s || (templateObject_3$s = __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);
|
|
20667
|
+
}, inputTokens.readOnly.base, inputTokens.disabled.base);
|
|
20668
|
+
var Label$5 = styled$3(Typography).withConfig({
|
|
20669
|
+
displayName: "Inputstyles__Label",
|
|
20670
|
+
componentId: "sc-1oz9x8w-2"
|
|
20671
|
+
})(templateObject_6$c || (templateObject_6$c = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n @media (prefers-reduced-motion: no-preference) {\n transition: color 0.2s, background-color 0.2s;\n }\n ", "\n ", "\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n @media (prefers-reduced-motion: no-preference) {\n transition: color 0.2s, background-color 0.2s;\n }\n ", "\n ", "\n"])), inputTokens.label.base, function (_a) {
|
|
20678
20672
|
var disabled = _a.disabled;
|
|
20679
|
-
return disabled && Ae(
|
|
20673
|
+
return disabled && Ae(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.label.disabled.base);
|
|
20680
20674
|
});
|
|
20681
|
-
var InputContainer
|
|
20675
|
+
var InputContainer = styled$3.div.withConfig({
|
|
20682
20676
|
displayName: "Inputstyles__InputContainer",
|
|
20683
|
-
componentId: "sc-1oz9x8w-
|
|
20684
|
-
})(
|
|
20677
|
+
componentId: "sc-1oz9x8w-3"
|
|
20678
|
+
})(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
|
|
20685
20679
|
var OuterInputContainer = styled$3.div.withConfig({
|
|
20686
20680
|
displayName: "Inputstyles__OuterInputContainer",
|
|
20687
|
-
componentId: "sc-1oz9x8w-
|
|
20688
|
-
})(
|
|
20681
|
+
componentId: "sc-1oz9x8w-4"
|
|
20682
|
+
})(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n ", ";\n"], ["\n display: flex;\n flex-direction: column;\n ", ";\n"])), function (_a) {
|
|
20689
20683
|
var width = _a.width;
|
|
20690
|
-
return width;
|
|
20684
|
+
return width && Ae(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject(["\n width: ", ";\n "], ["\n width: ", ";\n "])), width);
|
|
20691
20685
|
});
|
|
20692
|
-
var templateObject_1$
|
|
20686
|
+
var templateObject_1$V, templateObject_2$G, templateObject_3$s, templateObject_4$m, templateObject_5$e, templateObject_6$c, templateObject_7$9, templateObject_8$7, templateObject_9$5;
|
|
20693
20687
|
|
|
20694
20688
|
var Colors$m = ddsBaseTokens.colors,
|
|
20695
20689
|
BorderRadius$8 = ddsBaseTokens.borderRadius,
|
|
@@ -20708,19 +20702,19 @@ var paperTokens = {
|
|
|
20708
20702
|
var Paper = styled$3.div.withConfig({
|
|
20709
20703
|
displayName: "Paper",
|
|
20710
20704
|
componentId: "sc-mrbi8q-0"
|
|
20711
|
-
})(templateObject_1$
|
|
20712
|
-
var templateObject_1$
|
|
20705
|
+
})(templateObject_1$U || (templateObject_1$U = __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);
|
|
20706
|
+
var templateObject_1$U;
|
|
20713
20707
|
|
|
20714
20708
|
var MarkerWrapper = styled$3.span.withConfig({
|
|
20715
20709
|
displayName: "RequiredMarker__MarkerWrapper",
|
|
20716
20710
|
componentId: "sc-1r1e9ds-0"
|
|
20717
|
-
})(templateObject_1$
|
|
20711
|
+
})(templateObject_1$T || (templateObject_1$T = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), ddsBaseTokens.colors.DdsColorDangerBase);
|
|
20718
20712
|
var RequiredMarker = function RequiredMarker() {
|
|
20719
20713
|
return jsxRuntime.exports.jsx(MarkerWrapper, {
|
|
20720
20714
|
children: "*"
|
|
20721
20715
|
});
|
|
20722
20716
|
};
|
|
20723
|
-
var templateObject_1$
|
|
20717
|
+
var templateObject_1$T;
|
|
20724
20718
|
|
|
20725
20719
|
var ReportProblemOutlined = {};
|
|
20726
20720
|
|
|
@@ -20742,9 +20736,9 @@ var _default$j = (0, _createSvgIcon$j.default)( /*#__PURE__*/(0, _jsxRuntime$j.j
|
|
|
20742
20736
|
default_1$j = ReportProblemOutlined.default = _default$j;
|
|
20743
20737
|
|
|
20744
20738
|
var Colors$l = ddsBaseTokens.colors,
|
|
20745
|
-
Spacing$
|
|
20739
|
+
Spacing$v = ddsBaseTokens.spacing;
|
|
20746
20740
|
var base$a = {
|
|
20747
|
-
padding: "".concat(Spacing$
|
|
20741
|
+
padding: "".concat(Spacing$v.SizesDdsSpacingLocalX025, " ").concat(Spacing$v.SizesDdsSpacingLocalX05),
|
|
20748
20742
|
maxWidth: '100%'
|
|
20749
20743
|
};
|
|
20750
20744
|
var tipBase = {
|
|
@@ -20755,7 +20749,7 @@ var errorBase = {
|
|
|
20755
20749
|
backgroundColor: Colors$l.DdsColorDangerLightest
|
|
20756
20750
|
};
|
|
20757
20751
|
var inputMessageTokens = {
|
|
20758
|
-
padding: "".concat(Spacing$
|
|
20752
|
+
padding: "".concat(Spacing$v.SizesDdsSpacingLocalX025, " ").concat(Spacing$v.SizesDdsSpacingLocalX05),
|
|
20759
20753
|
base: base$a,
|
|
20760
20754
|
tip: {
|
|
20761
20755
|
base: tipBase
|
|
@@ -20764,16 +20758,16 @@ var inputMessageTokens = {
|
|
|
20764
20758
|
base: errorBase
|
|
20765
20759
|
},
|
|
20766
20760
|
icon: {
|
|
20767
|
-
spaceRight: Spacing$
|
|
20761
|
+
spaceRight: Spacing$v.SizesDdsSpacingLocalX05
|
|
20768
20762
|
}
|
|
20769
20763
|
};
|
|
20770
20764
|
|
|
20771
20765
|
var InputMessageWrapper = styled$3.div.withConfig({
|
|
20772
20766
|
displayName: "InputMessage__InputMessageWrapper",
|
|
20773
20767
|
componentId: "sc-c954fy-0"
|
|
20774
|
-
})(templateObject_2$
|
|
20768
|
+
})(templateObject_2$F || (templateObject_2$F = __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) {
|
|
20775
20769
|
var messageType = _a.messageType;
|
|
20776
|
-
return messageType && Ae(templateObject_1$
|
|
20770
|
+
return messageType && Ae(templateObject_1$S || (templateObject_1$S = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputMessageTokens[messageType].base);
|
|
20777
20771
|
}, inputMessageTokens.icon.spaceRight);
|
|
20778
20772
|
var InputMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
20779
20773
|
var message = _a.message,
|
|
@@ -20800,24 +20794,24 @@ var InputMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
20800
20794
|
}))]
|
|
20801
20795
|
}));
|
|
20802
20796
|
});
|
|
20803
|
-
var templateObject_1$
|
|
20797
|
+
var templateObject_1$S, templateObject_2$F;
|
|
20804
20798
|
|
|
20805
|
-
var Spacing$
|
|
20799
|
+
var Spacing$u = ddsBaseTokens.spacing;
|
|
20806
20800
|
var groupContainerRowBase$1 = {
|
|
20807
|
-
gap: Spacing$
|
|
20801
|
+
gap: Spacing$u.SizesDdsSpacingLocalX075
|
|
20808
20802
|
};
|
|
20809
20803
|
var groupContainerColumnBase$1 = {
|
|
20810
|
-
gap: Spacing$
|
|
20804
|
+
gap: Spacing$u.SizesDdsSpacingLocalX05
|
|
20811
20805
|
};
|
|
20812
|
-
var containerBase$
|
|
20813
|
-
gap: Spacing$
|
|
20806
|
+
var containerBase$9 = {
|
|
20807
|
+
gap: Spacing$u.SizesDdsSpacingLocalX0125
|
|
20814
20808
|
};
|
|
20815
20809
|
var radioButtonGroupTokens = {
|
|
20816
20810
|
label: {
|
|
20817
|
-
spaceLeft: Spacing$
|
|
20811
|
+
spaceLeft: Spacing$u.SizesDdsSpacingLocalX025
|
|
20818
20812
|
},
|
|
20819
20813
|
container: {
|
|
20820
|
-
base: containerBase$
|
|
20814
|
+
base: containerBase$9
|
|
20821
20815
|
},
|
|
20822
20816
|
groupContainer: {
|
|
20823
20817
|
direction: {
|
|
@@ -20862,16 +20856,16 @@ var calculateHeightWithLineHeight = function calculateHeightWithLineHeight(lineH
|
|
|
20862
20856
|
return lineHeight * 0.01 * fontSize;
|
|
20863
20857
|
};
|
|
20864
20858
|
|
|
20865
|
-
var Container$
|
|
20859
|
+
var Container$i = styled$3.div.withConfig({
|
|
20866
20860
|
displayName: "RadioButtonGroup__Container",
|
|
20867
20861
|
componentId: "sc-1xsll60-0"
|
|
20868
|
-
})(templateObject_1$
|
|
20862
|
+
})(templateObject_1$R || (templateObject_1$R = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n ", "\n"])), radioButtonGroupTokens.container.base);
|
|
20869
20863
|
var GroupContainer$1 = styled$3.div.withConfig({
|
|
20870
20864
|
displayName: "RadioButtonGroup__GroupContainer",
|
|
20871
20865
|
componentId: "sc-1xsll60-1"
|
|
20872
20866
|
})(templateObject_3$r || (templateObject_3$r = __makeTemplateObject(["\n display: flex;\n ", "\n"], ["\n display: flex;\n ", "\n"])), function (_a) {
|
|
20873
20867
|
var direction = _a.direction;
|
|
20874
|
-
return Ae(templateObject_2$
|
|
20868
|
+
return Ae(templateObject_2$E || (templateObject_2$E = __makeTemplateObject(["\n flex-direction: ", ";\n ", "\n "], ["\n flex-direction: ", ";\n ", "\n "])), direction, radioButtonGroupTokens.groupContainer.direction[direction].base);
|
|
20875
20869
|
});
|
|
20876
20870
|
var Label$4 = styled$3(Typography).withConfig({
|
|
20877
20871
|
displayName: "RadioButtonGroup__Label",
|
|
@@ -20926,7 +20920,7 @@ var RadioButtonGroup = function RadioButtonGroup(_a) {
|
|
|
20926
20920
|
value: groupValue,
|
|
20927
20921
|
onChange: handleChange
|
|
20928
20922
|
};
|
|
20929
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
20923
|
+
return jsxRuntime.exports.jsxs(Container$i, __assign({}, containerProps, {
|
|
20930
20924
|
children: [jsxRuntime.exports.jsxs(Label$4, __assign({
|
|
20931
20925
|
forwardedAs: "span",
|
|
20932
20926
|
typographyType: "supportingStyleLabel01",
|
|
@@ -20956,19 +20950,19 @@ var RadioButtonGroup = function RadioButtonGroup(_a) {
|
|
|
20956
20950
|
})]
|
|
20957
20951
|
}));
|
|
20958
20952
|
};
|
|
20959
|
-
var templateObject_1$
|
|
20953
|
+
var templateObject_1$R, templateObject_2$E, templateObject_3$r, templateObject_4$l;
|
|
20960
20954
|
|
|
20961
20955
|
var Colors$k = ddsBaseTokens.colors,
|
|
20962
|
-
Spacing$
|
|
20963
|
-
FontPackages$
|
|
20956
|
+
Spacing$t = ddsBaseTokens.spacing,
|
|
20957
|
+
FontPackages$g = ddsBaseTokens.fontPackages,
|
|
20964
20958
|
BorderRadius$7 = ddsBaseTokens.borderRadius;
|
|
20965
20959
|
var checkboxBase = {
|
|
20966
20960
|
border: '1px solid',
|
|
20967
20961
|
backgroundColor: Colors$k.DdsColorNeutralsWhite,
|
|
20968
20962
|
borderColor: Colors$k.DdsColorNeutralsGray5,
|
|
20969
20963
|
borderRadius: BorderRadius$7.RadiiDdsBorderRadius1Radius,
|
|
20970
|
-
height: FontPackages$
|
|
20971
|
-
width: FontPackages$
|
|
20964
|
+
height: FontPackages$g.supportingStyle_inputtext_02.base.fontSize,
|
|
20965
|
+
width: FontPackages$g.supportingStyle_inputtext_02.base.fontSize
|
|
20972
20966
|
};
|
|
20973
20967
|
var checkboxCheckedBase = {
|
|
20974
20968
|
borderColor: Colors$k.DdsColorInteractiveBase,
|
|
@@ -21016,19 +21010,19 @@ var checkmarkIndeterminateBase = {
|
|
|
21016
21010
|
borderWidth: '1px 0 0 0'
|
|
21017
21011
|
};
|
|
21018
21012
|
|
|
21019
|
-
var containerBase$
|
|
21013
|
+
var containerBase$8 = __assign({}, FontPackages$g.body_sans_02.base);
|
|
21020
21014
|
|
|
21021
|
-
var containerWithLabelBase = __assign(__assign({}, FontPackages$
|
|
21022
|
-
padding: "0 ".concat(Spacing$
|
|
21015
|
+
var containerWithLabelBase = __assign(__assign({}, FontPackages$g.body_sans_02.base), {
|
|
21016
|
+
padding: "0 ".concat(Spacing$t.SizesDdsSpacingLocalX025, " 0 ").concat(FontPackages$g.supportingStyle_inputtext_02.numbers.fontSizeNumber + Spacing$t.SizesDdsSpacingLocalX075NumberPx, "px")
|
|
21023
21017
|
});
|
|
21024
21018
|
|
|
21025
21019
|
var containerNoLabelBase = {
|
|
21026
|
-
padding: "".concat(Spacing$
|
|
21020
|
+
padding: "".concat(Spacing$t.SizesDdsSpacingLocalX075, " ").concat(Spacing$t.SizesDdsSpacingLocalX0125, " ").concat(Spacing$t.SizesDdsSpacingLocalX075, " ").concat(Spacing$t.SizesDdsSpacingLocalX15)
|
|
21027
21021
|
};
|
|
21028
21022
|
var checkboxTokens = {
|
|
21029
21023
|
checkbox: {
|
|
21030
21024
|
base: checkboxBase,
|
|
21031
|
-
spaceLeft: Spacing$
|
|
21025
|
+
spaceLeft: Spacing$t.SizesDdsSpacingLocalX025,
|
|
21032
21026
|
hover: {
|
|
21033
21027
|
base: checkboxHoverBase
|
|
21034
21028
|
},
|
|
@@ -21077,7 +21071,7 @@ var checkboxTokens = {
|
|
|
21077
21071
|
}
|
|
21078
21072
|
},
|
|
21079
21073
|
container: {
|
|
21080
|
-
base: containerBase$
|
|
21074
|
+
base: containerBase$8,
|
|
21081
21075
|
focus: {
|
|
21082
21076
|
base: focusBase$4
|
|
21083
21077
|
},
|
|
@@ -21093,7 +21087,7 @@ var checkboxTokens = {
|
|
|
21093
21087
|
var CustomCheckbox = styled$3.span.withConfig({
|
|
21094
21088
|
displayName: "Checkboxstyles__CustomCheckbox",
|
|
21095
21089
|
componentId: "sc-17q1ubf-0"
|
|
21096
|
-
})(templateObject_1$
|
|
21090
|
+
})(templateObject_1$Q || (templateObject_1$Q = __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);
|
|
21097
21091
|
var Input$4 = styled$3.input.attrs(function (_a) {
|
|
21098
21092
|
var _b = _a.type,
|
|
21099
21093
|
type = _b === void 0 ? 'checkbox' : _b;
|
|
@@ -21103,8 +21097,8 @@ var Input$4 = styled$3.input.attrs(function (_a) {
|
|
|
21103
21097
|
}).withConfig({
|
|
21104
21098
|
displayName: "Checkboxstyles__Input",
|
|
21105
21099
|
componentId: "sc-17q1ubf-1"
|
|
21106
|
-
})(templateObject_2$
|
|
21107
|
-
var Container$
|
|
21100
|
+
})(templateObject_2$D || (templateObject_2$D = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), hideInput);
|
|
21101
|
+
var Container$h = styled$3.label.withConfig({
|
|
21108
21102
|
displayName: "Checkboxstyles__Container",
|
|
21109
21103
|
componentId: "sc-17q1ubf-2"
|
|
21110
21104
|
})(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 transition: ", ";\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 transition: ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border: solid ", ";\n ", "\n }\n"])), checkboxTokens.container.base, function (_a) {
|
|
@@ -21115,20 +21109,20 @@ var Container$g = styled$3.label.withConfig({
|
|
|
21115
21109
|
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);
|
|
21116
21110
|
}, function (_a) {
|
|
21117
21111
|
var indeterminate = _a.indeterminate;
|
|
21118
|
-
return indeterminate && Ae(templateObject_6$
|
|
21112
|
+
return indeterminate && Ae(templateObject_6$b || (templateObject_6$b = __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);
|
|
21119
21113
|
}, function (_a) {
|
|
21120
21114
|
var disabled = _a.disabled,
|
|
21121
21115
|
indeterminate = _a.indeterminate;
|
|
21122
|
-
return disabled && Ae(templateObject_8$
|
|
21116
|
+
return disabled && Ae(templateObject_8$6 || (templateObject_8$6 = __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$8 || (templateObject_7$8 = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.disabled.base));
|
|
21123
21117
|
}, function (_a) {
|
|
21124
21118
|
var readOnly = _a.readOnly,
|
|
21125
21119
|
indeterminate = _a.indeterminate;
|
|
21126
|
-
return readOnly && Ae(templateObject_10$
|
|
21120
|
+
return readOnly && Ae(templateObject_10$4 || (templateObject_10$4 = __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$4 || (templateObject_9$4 = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.readOnly.base));
|
|
21127
21121
|
}, CustomCheckbox, checkboxTokens.checkmark.color, function (_a) {
|
|
21128
21122
|
var indeterminate = _a.indeterminate;
|
|
21129
21123
|
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);
|
|
21130
21124
|
});
|
|
21131
|
-
var templateObject_1$
|
|
21125
|
+
var templateObject_1$Q, templateObject_2$D, templateObject_3$q, templateObject_4$k, templateObject_5$d, templateObject_6$b, templateObject_7$8, templateObject_8$6, templateObject_9$4, templateObject_10$4, templateObject_11$3, templateObject_12$2, templateObject_13$1;
|
|
21132
21126
|
|
|
21133
21127
|
var CheckboxGroupContext = /*#__PURE__*/React__default.createContext(null);
|
|
21134
21128
|
var useCheckboxGroup = function useCheckboxGroup() {
|
|
@@ -21175,7 +21169,7 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
21175
21169
|
'aria-readonly': readOnly
|
|
21176
21170
|
}, rest);
|
|
21177
21171
|
|
|
21178
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
21172
|
+
return jsxRuntime.exports.jsxs(Container$h, __assign({}, containerProps, {
|
|
21179
21173
|
children: [jsxRuntime.exports.jsx(Input$4, __assign({}, inputProps, {
|
|
21180
21174
|
"data-indeterminate": indeterminate
|
|
21181
21175
|
})), jsxRuntime.exports.jsx(CustomCheckbox, {}), label && jsxRuntime.exports.jsx(Typography, __assign({
|
|
@@ -21186,22 +21180,22 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
21186
21180
|
}));
|
|
21187
21181
|
});
|
|
21188
21182
|
|
|
21189
|
-
var Spacing$
|
|
21183
|
+
var Spacing$s = ddsBaseTokens.spacing;
|
|
21190
21184
|
var groupContainerRowBase = {
|
|
21191
|
-
gap: Spacing$
|
|
21185
|
+
gap: Spacing$s.SizesDdsSpacingLocalX075
|
|
21192
21186
|
};
|
|
21193
21187
|
var groupContainerColumnBase = {
|
|
21194
|
-
gap: Spacing$
|
|
21188
|
+
gap: Spacing$s.SizesDdsSpacingLocalX05
|
|
21195
21189
|
};
|
|
21196
|
-
var containerBase$
|
|
21197
|
-
gap: Spacing$
|
|
21190
|
+
var containerBase$7 = {
|
|
21191
|
+
gap: Spacing$s.SizesDdsSpacingLocalX0125
|
|
21198
21192
|
};
|
|
21199
21193
|
var checkboxGroupTokens = {
|
|
21200
21194
|
label: {
|
|
21201
|
-
spaceLeft: Spacing$
|
|
21195
|
+
spaceLeft: Spacing$s.SizesDdsSpacingLocalX025
|
|
21202
21196
|
},
|
|
21203
21197
|
container: {
|
|
21204
|
-
base: containerBase$
|
|
21198
|
+
base: containerBase$7
|
|
21205
21199
|
},
|
|
21206
21200
|
groupContainer: {
|
|
21207
21201
|
direction: {
|
|
@@ -21215,16 +21209,16 @@ var checkboxGroupTokens = {
|
|
|
21215
21209
|
}
|
|
21216
21210
|
};
|
|
21217
21211
|
|
|
21218
|
-
var Container$
|
|
21212
|
+
var Container$g = styled$3.div.withConfig({
|
|
21219
21213
|
displayName: "CheckboxGroup__Container",
|
|
21220
21214
|
componentId: "sc-uixbzg-0"
|
|
21221
|
-
})(templateObject_1$
|
|
21215
|
+
})(templateObject_1$P || (templateObject_1$P = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n ", "\n"])), checkboxGroupTokens.container.base);
|
|
21222
21216
|
var GroupContainer = styled$3.div.withConfig({
|
|
21223
21217
|
displayName: "CheckboxGroup__GroupContainer",
|
|
21224
21218
|
componentId: "sc-uixbzg-1"
|
|
21225
21219
|
})(templateObject_3$p || (templateObject_3$p = __makeTemplateObject(["\n display: flex;\n ", "\n"], ["\n display: flex;\n ", "\n"])), function (_a) {
|
|
21226
21220
|
var direction = _a.direction;
|
|
21227
|
-
return Ae(templateObject_2$
|
|
21221
|
+
return Ae(templateObject_2$C || (templateObject_2$C = __makeTemplateObject(["\n flex-direction: ", ";\n ", "\n "], ["\n flex-direction: ", ";\n ", "\n "])), direction, checkboxGroupTokens.groupContainer.direction[direction].base);
|
|
21228
21222
|
});
|
|
21229
21223
|
var Label$3 = styled$3(Typography).withConfig({
|
|
21230
21224
|
displayName: "CheckboxGroup__Label",
|
|
@@ -21259,7 +21253,7 @@ var CheckboxGroup = function CheckboxGroup(_a) {
|
|
|
21259
21253
|
uniqueGroupId: uniqueGroupId,
|
|
21260
21254
|
tipId: tipId
|
|
21261
21255
|
};
|
|
21262
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
21256
|
+
return jsxRuntime.exports.jsxs(Container$g, __assign({}, containerProps, {
|
|
21263
21257
|
children: [jsxRuntime.exports.jsxs(Label$3, __assign({
|
|
21264
21258
|
forwardedAs: "span",
|
|
21265
21259
|
typographyType: "supportingStyleLabel01",
|
|
@@ -21288,69 +21282,69 @@ var CheckboxGroup = function CheckboxGroup(_a) {
|
|
|
21288
21282
|
})]
|
|
21289
21283
|
}));
|
|
21290
21284
|
};
|
|
21291
|
-
var templateObject_1$
|
|
21285
|
+
var templateObject_1$P, templateObject_2$C, templateObject_3$p, templateObject_4$j;
|
|
21292
21286
|
|
|
21293
21287
|
var Colors$j = ddsBaseTokens.colors,
|
|
21294
21288
|
Border$d = ddsBaseTokens.border,
|
|
21295
|
-
Spacing$
|
|
21296
|
-
FontPackages$
|
|
21289
|
+
Spacing$r = ddsBaseTokens.spacing,
|
|
21290
|
+
FontPackages$f = ddsBaseTokens.fontPackages,
|
|
21297
21291
|
BorderRadius$6 = ddsBaseTokens.borderRadius,
|
|
21298
21292
|
OuterShadow$4 = ddsBaseTokens.outerShadow;
|
|
21299
|
-
var iconSizeTinyPx = calculateHeightWithLineHeight(FontPackages$
|
|
21300
|
-
var iconSizeSmallPx = calculateHeightWithLineHeight(FontPackages$
|
|
21301
|
-
var iconSizeMediumPx = calculateHeightWithLineHeight(FontPackages$
|
|
21302
|
-
var iconSizeLargePx = calculateHeightWithLineHeight(FontPackages$
|
|
21303
|
-
var svgOffset = Spacing$
|
|
21293
|
+
var iconSizeTinyPx = calculateHeightWithLineHeight(FontPackages$f.supportingStyle_tiny_01.numbers.lineHeightNumber, FontPackages$f.supportingStyle_tiny_01.numbers.fontSizeNumber);
|
|
21294
|
+
var iconSizeSmallPx = calculateHeightWithLineHeight(FontPackages$f.body_sans_01.numbers.lineHeightNumber, FontPackages$f.body_sans_01.numbers.fontSizeNumber);
|
|
21295
|
+
var iconSizeMediumPx = calculateHeightWithLineHeight(FontPackages$f.body_sans_02.numbers.lineHeightNumber, FontPackages$f.body_sans_02.numbers.fontSizeNumber);
|
|
21296
|
+
var iconSizeLargePx = calculateHeightWithLineHeight(FontPackages$f.body_sans_04.numbers.lineHeightNumber, FontPackages$f.body_sans_04.numbers.fontSizeNumber);
|
|
21297
|
+
var svgOffset = Spacing$r.SizesDdsSpacingLocalX0125NumberPx;
|
|
21304
21298
|
var justIconSmallBase = {
|
|
21305
21299
|
fontSize: "".concat(iconSizeSmallPx + svgOffset, "px"),
|
|
21306
|
-
padding: Spacing$
|
|
21300
|
+
padding: Spacing$r.SizesDdsSpacingLocalX05
|
|
21307
21301
|
};
|
|
21308
21302
|
var justIconWrapperSmallBase = {
|
|
21309
21303
|
height: "".concat(iconSizeSmallPx, "px"),
|
|
21310
21304
|
width: "".concat(iconSizeSmallPx, "px")
|
|
21311
21305
|
};
|
|
21312
21306
|
|
|
21313
|
-
var textSmallBase = __assign(__assign({}, FontPackages$
|
|
21314
|
-
padding: "".concat(Spacing$
|
|
21307
|
+
var textSmallBase = __assign(__assign({}, FontPackages$f.body_sans_01.base), {
|
|
21308
|
+
padding: "".concat(Spacing$r.SizesDdsSpacingLocalX05, " ").concat(Spacing$r.SizesDdsSpacingLocalX1NumberPx - 2, "px")
|
|
21315
21309
|
});
|
|
21316
21310
|
|
|
21317
21311
|
var justIconMediumBase = {
|
|
21318
21312
|
fontSize: "".concat(iconSizeMediumPx + svgOffset, "px"),
|
|
21319
|
-
padding: Spacing$
|
|
21313
|
+
padding: Spacing$r.SizesDdsSpacingLocalX075
|
|
21320
21314
|
};
|
|
21321
21315
|
var justIconWrapperMediumBase = {
|
|
21322
21316
|
height: "".concat(iconSizeMediumPx, "px"),
|
|
21323
21317
|
width: "".concat(iconSizeMediumPx, "px")
|
|
21324
21318
|
};
|
|
21325
21319
|
|
|
21326
|
-
var textMediumBase = __assign(__assign({}, FontPackages$
|
|
21327
|
-
padding: "".concat(Spacing$
|
|
21320
|
+
var textMediumBase = __assign(__assign({}, FontPackages$f.body_sans_02.base), {
|
|
21321
|
+
padding: "".concat(Spacing$r.SizesDdsSpacingLocalX075, " ").concat(Spacing$r.SizesDdsSpacingLocalX15NumberPx - 2, "px")
|
|
21328
21322
|
});
|
|
21329
21323
|
|
|
21330
21324
|
var justIconLargeBase = {
|
|
21331
21325
|
fontSize: "".concat(iconSizeLargePx + svgOffset, "px"),
|
|
21332
|
-
padding: Spacing$
|
|
21326
|
+
padding: Spacing$r.SizesDdsSpacingLocalX1
|
|
21333
21327
|
};
|
|
21334
21328
|
var justIconWrapperLargeBase = {
|
|
21335
21329
|
height: "".concat(iconSizeLargePx, "px"),
|
|
21336
21330
|
width: "".concat(iconSizeLargePx, "px")
|
|
21337
21331
|
};
|
|
21338
21332
|
|
|
21339
|
-
var textLargeBase = __assign(__assign({}, FontPackages$
|
|
21340
|
-
padding: "".concat(Spacing$
|
|
21333
|
+
var textLargeBase = __assign(__assign({}, FontPackages$f.body_sans_04.base), {
|
|
21334
|
+
padding: "".concat(Spacing$r.SizesDdsSpacingLocalX1, " ").concat(Spacing$r.SizesDdsSpacingLocalX2NumberPx - 2, "px")
|
|
21341
21335
|
});
|
|
21342
21336
|
|
|
21343
21337
|
var justIconTinyBase = {
|
|
21344
21338
|
fontSize: "".concat(iconSizeTinyPx + svgOffset, "px"),
|
|
21345
|
-
padding: Spacing$
|
|
21339
|
+
padding: Spacing$r.SizesDdsSpacingLocalX025
|
|
21346
21340
|
};
|
|
21347
21341
|
var justIconWrapperTinyBase = {
|
|
21348
21342
|
height: "".concat(iconSizeTinyPx, "px"),
|
|
21349
21343
|
width: "".concat(iconSizeTinyPx, "px")
|
|
21350
21344
|
};
|
|
21351
21345
|
|
|
21352
|
-
var textTinyBase = __assign(__assign({}, FontPackages$
|
|
21353
|
-
padding: "".concat(Spacing$
|
|
21346
|
+
var textTinyBase = __assign(__assign({}, FontPackages$f.supportingStyle_tiny_01.base), {
|
|
21347
|
+
padding: "".concat(Spacing$r.SizesDdsSpacingLocalX025, " ").concat(Spacing$r.SizesDdsSpacingLocalX075)
|
|
21354
21348
|
});
|
|
21355
21349
|
|
|
21356
21350
|
var buttonBase$1 = {
|
|
@@ -21590,7 +21584,7 @@ var buttonTokens = {
|
|
|
21590
21584
|
text: {
|
|
21591
21585
|
base: textSmallBase
|
|
21592
21586
|
},
|
|
21593
|
-
iconWithTextMargin: Spacing$
|
|
21587
|
+
iconWithTextMargin: Spacing$r.SizesDdsSpacingLocalX05
|
|
21594
21588
|
},
|
|
21595
21589
|
medium: {
|
|
21596
21590
|
justIcon: {
|
|
@@ -21602,7 +21596,7 @@ var buttonTokens = {
|
|
|
21602
21596
|
text: {
|
|
21603
21597
|
base: textMediumBase
|
|
21604
21598
|
},
|
|
21605
|
-
iconWithTextMargin: Spacing$
|
|
21599
|
+
iconWithTextMargin: Spacing$r.SizesDdsSpacingLocalX075
|
|
21606
21600
|
},
|
|
21607
21601
|
large: {
|
|
21608
21602
|
justIcon: {
|
|
@@ -21614,7 +21608,7 @@ var buttonTokens = {
|
|
|
21614
21608
|
text: {
|
|
21615
21609
|
base: textLargeBase
|
|
21616
21610
|
},
|
|
21617
|
-
iconWithTextMargin: Spacing$
|
|
21611
|
+
iconWithTextMargin: Spacing$r.SizesDdsSpacingLocalX1
|
|
21618
21612
|
},
|
|
21619
21613
|
tiny: {
|
|
21620
21614
|
justIcon: {
|
|
@@ -21626,7 +21620,7 @@ var buttonTokens = {
|
|
|
21626
21620
|
text: {
|
|
21627
21621
|
base: textTinyBase
|
|
21628
21622
|
},
|
|
21629
|
-
iconWithTextMargin: Spacing$
|
|
21623
|
+
iconWithTextMargin: Spacing$r.SizesDdsSpacingLocalX05
|
|
21630
21624
|
}
|
|
21631
21625
|
},
|
|
21632
21626
|
appearance: {
|
|
@@ -21790,7 +21784,7 @@ var spinnerTokens = {
|
|
|
21790
21784
|
var StyledSpinner = styled$3.svg.withConfig({
|
|
21791
21785
|
displayName: "Spinner__StyledSpinner",
|
|
21792
21786
|
componentId: "sc-13hsttm-0"
|
|
21793
|
-
})(templateObject_1$
|
|
21787
|
+
})(templateObject_1$O || (templateObject_1$O = __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) {
|
|
21794
21788
|
var outerAnimationDelay = _a.outerAnimationDelay;
|
|
21795
21789
|
return outerAnimationDelay;
|
|
21796
21790
|
}, function (_a) {
|
|
@@ -21803,7 +21797,7 @@ var StyledSpinner = styled$3.svg.withConfig({
|
|
|
21803
21797
|
var Circle = styled$3.circle.withConfig({
|
|
21804
21798
|
displayName: "Spinner__Circle",
|
|
21805
21799
|
componentId: "sc-13hsttm-1"
|
|
21806
|
-
})(templateObject_2$
|
|
21800
|
+
})(templateObject_2$B || (templateObject_2$B = __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) {
|
|
21807
21801
|
var color = _a.color;
|
|
21808
21802
|
return color && getTextColor(color);
|
|
21809
21803
|
}, function (_a) {
|
|
@@ -21850,24 +21844,24 @@ function Spinner(_a) {
|
|
|
21850
21844
|
}))]
|
|
21851
21845
|
}));
|
|
21852
21846
|
}
|
|
21853
|
-
var templateObject_1$
|
|
21847
|
+
var templateObject_1$O, templateObject_2$B;
|
|
21854
21848
|
|
|
21855
21849
|
var ButtonWrapper$1 = styled$3.button.withConfig({
|
|
21856
21850
|
displayName: "Buttonstyles__ButtonWrapper",
|
|
21857
21851
|
componentId: "sc-14dutqk-0"
|
|
21858
|
-
})(templateObject_8$
|
|
21852
|
+
})(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n ", "\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: fit-content;\n width: ", ";\n cursor: pointer;\n box-shadow: none;\n text-decoration: none;\n transition: background-color 0.2s, text-decoration-color 0.2s, box-shadow 0.2s,\n border-color 0.2s, color 0.2s, ", ";\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n &:focus-visible, &.focus-visible {\n ", "\n }\n\n *::selection {\n ", "\n }\n"], ["\n ", "\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: fit-content;\n width: ", ";\n cursor: pointer;\n box-shadow: none;\n text-decoration: none;\n transition: background-color 0.2s, text-decoration-color 0.2s, box-shadow 0.2s,\n border-color 0.2s, color 0.2s, ", ";\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n &:focus-visible, &.focus-visible {\n ", "\n }\n\n *::selection {\n ", "\n }\n"])), buttonTokens.base, function (_a) {
|
|
21859
21853
|
var fullWidth = _a.fullWidth;
|
|
21860
21854
|
return fullWidth ? '100%' : 'fit-content';
|
|
21861
21855
|
}, focusVisibleTransitionValue, function (_a) {
|
|
21862
21856
|
var appearance = _a.appearance,
|
|
21863
21857
|
purpose = _a.purpose;
|
|
21864
|
-
return Ae(templateObject_1$
|
|
21858
|
+
return Ae(templateObject_1$N || (templateObject_1$N = __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);
|
|
21865
21859
|
}, function (_a) {
|
|
21866
21860
|
var hasIcon = _a.hasIcon,
|
|
21867
21861
|
hasLabel = _a.hasLabel,
|
|
21868
21862
|
appearance = _a.appearance,
|
|
21869
21863
|
purpose = _a.purpose;
|
|
21870
|
-
return hasIcon && !hasLabel && appearance === 'borderless' && Ae(templateObject_2$
|
|
21864
|
+
return hasIcon && !hasLabel && appearance === 'borderless' && Ae(templateObject_2$A || (templateObject_2$A = __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);
|
|
21871
21865
|
}, function (_a) {
|
|
21872
21866
|
var size = _a.size,
|
|
21873
21867
|
hasLabel = _a.hasLabel;
|
|
@@ -21878,17 +21872,17 @@ var ButtonWrapper$1 = styled$3.button.withConfig({
|
|
|
21878
21872
|
hasLabel = _a.hasLabel,
|
|
21879
21873
|
isLoading = _a.isLoading,
|
|
21880
21874
|
iconPosition = _a.iconPosition;
|
|
21881
|
-
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$
|
|
21875
|
+
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$a || (templateObject_6$a = __makeTemplateObject(["\n justify-content: left;\n "], ["\n justify-content: left;\n "]))) : Ae(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n justify-content: space-between;\n "], ["\n justify-content: space-between;\n "]))));
|
|
21882
21876
|
}, buttonTokens.focus.base, typographyTokens.selection.base);
|
|
21883
21877
|
var StyledIconWrapperSpan = styled$3.span.withConfig({
|
|
21884
21878
|
displayName: "Buttonstyles__StyledIconWrapperSpan",
|
|
21885
21879
|
componentId: "sc-14dutqk-1"
|
|
21886
21880
|
})(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n ", "\n ", "\n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n ", "\n ", "\n ", "\n"])), function (_a) {
|
|
21887
21881
|
var absolutePosition = _a.absolutePosition;
|
|
21888
|
-
return absolutePosition && Ae(templateObject_9$
|
|
21882
|
+
return absolutePosition && Ae(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\n position: absolute;\n "], ["\n position: absolute;\n "])));
|
|
21889
21883
|
}, function (_a) {
|
|
21890
21884
|
var isHidden = _a.isHidden;
|
|
21891
|
-
return isHidden && Ae(templateObject_10$
|
|
21885
|
+
return isHidden && Ae(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["\n visibility: hidden;\n "], ["\n visibility: hidden;\n "])));
|
|
21892
21886
|
}, function (_a) {
|
|
21893
21887
|
var size = _a.size,
|
|
21894
21888
|
iconPosition = _a.iconPosition;
|
|
@@ -21901,7 +21895,7 @@ var Label$2 = styled$3.span.withConfig({
|
|
|
21901
21895
|
var isHidden = _a.isHidden;
|
|
21902
21896
|
return isHidden && Ae(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n visibility: hidden;\n "], ["\n visibility: hidden;\n "])));
|
|
21903
21897
|
});
|
|
21904
|
-
var templateObject_1$
|
|
21898
|
+
var templateObject_1$N, templateObject_2$A, templateObject_3$o, templateObject_4$i, templateObject_5$c, templateObject_6$a, templateObject_7$7, templateObject_8$5, templateObject_9$3, templateObject_10$3, templateObject_11$2, templateObject_12$1, templateObject_13, templateObject_14, templateObject_15, templateObject_16;
|
|
21905
21899
|
|
|
21906
21900
|
var Button$1 = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
21907
21901
|
var label = _a.label,
|
|
@@ -21983,28 +21977,35 @@ var Button$1 = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
21983
21977
|
});
|
|
21984
21978
|
|
|
21985
21979
|
var Colors$h = ddsBaseTokens.colors,
|
|
21986
|
-
Spacing$
|
|
21980
|
+
Spacing$q = ddsBaseTokens.spacing;
|
|
21987
21981
|
var TextInput$1 = ddsReferenceTokens.textInput;
|
|
21988
21982
|
var inputMultilineBase = {
|
|
21989
|
-
|
|
21983
|
+
height: 'auto',
|
|
21984
|
+
resize: 'vertical',
|
|
21985
|
+
paddingBottom: Spacing$q.SizesDdsSpacingLocalX05,
|
|
21986
|
+
verticalAlign: 'bottom'
|
|
21990
21987
|
};
|
|
21991
21988
|
var inputMultilineWithLabelBase = {
|
|
21992
|
-
paddingTop: Spacing$
|
|
21989
|
+
paddingTop: Spacing$q.SizesDdsSpacingLocalX2,
|
|
21990
|
+
minHeight: '99px'
|
|
21993
21991
|
};
|
|
21994
21992
|
var inputMultilineNoLabelBase = {
|
|
21995
|
-
paddingTop: Spacing$
|
|
21993
|
+
paddingTop: Spacing$q.SizesDdsSpacingLocalX075,
|
|
21994
|
+
minHeight: '78px'
|
|
21996
21995
|
};
|
|
21997
21996
|
var inputLabelMultilineBase = {
|
|
21997
|
+
marginTop: Spacing$q.SizesDdsSpacingLocalX0125,
|
|
21998
|
+
marginLeft: Spacing$q.SizesDdsSpacingLocalX0125,
|
|
21999
|
+
width: "calc(100% - ".concat(scrollbarWidthNumberPx + Spacing$q.SizesDdsSpacingLocalX0125NumberPx + 1, "px)"),
|
|
21998
22000
|
backgroundColor: Colors$h.DdsColorNeutralsWhite,
|
|
21999
|
-
padding: "".concat(Spacing$
|
|
22001
|
+
padding: "".concat(Spacing$q.SizesDdsSpacingLocalX075NumberPx - 2, "px ").concat(Spacing$q.SizesDdsSpacingLocalX1, " 0px ").concat(Spacing$q.SizesDdsSpacingLocalX1NumberPx - 2, "px")
|
|
22000
22002
|
};
|
|
22001
22003
|
var defaultWidth$2 = '320px';
|
|
22002
22004
|
var textInputTokens = {
|
|
22003
22005
|
general: TextInput$1,
|
|
22004
|
-
focusColor: TextInput$1.input.focus.borderColor,
|
|
22005
22006
|
multiline: {
|
|
22006
22007
|
base: inputMultilineBase,
|
|
22007
|
-
|
|
22008
|
+
hasLabel: {
|
|
22008
22009
|
base: inputMultilineWithLabelBase
|
|
22009
22010
|
},
|
|
22010
22011
|
noLabel: {
|
|
@@ -22018,22 +22019,12 @@ var textInputTokens = {
|
|
|
22018
22019
|
},
|
|
22019
22020
|
wrapper: {
|
|
22020
22021
|
defaultWidth: defaultWidth$2
|
|
22021
|
-
},
|
|
22022
|
-
container: {
|
|
22023
|
-
multiline: {
|
|
22024
|
-
withLabel: {
|
|
22025
|
-
height: '99px'
|
|
22026
|
-
},
|
|
22027
|
-
noLabel: {
|
|
22028
|
-
height: '78px'
|
|
22029
|
-
}
|
|
22030
|
-
}
|
|
22031
22022
|
}
|
|
22032
22023
|
};
|
|
22033
22024
|
|
|
22034
|
-
var Spacing$
|
|
22025
|
+
var Spacing$p = ddsBaseTokens.spacing;
|
|
22035
22026
|
var charCounterBase = {
|
|
22036
|
-
padding: "".concat(Spacing$
|
|
22027
|
+
padding: "".concat(Spacing$p.SizesDdsSpacingLocalX025, " ").concat(Spacing$p.SizesDdsSpacingLocalX05)
|
|
22037
22028
|
};
|
|
22038
22029
|
var charCounterTokens = {
|
|
22039
22030
|
base: charCounterBase
|
|
@@ -22042,7 +22033,7 @@ var charCounterTokens = {
|
|
|
22042
22033
|
var Wrapper$7 = styled$3(Typography).withConfig({
|
|
22043
22034
|
displayName: "CharCounter__Wrapper",
|
|
22044
22035
|
componentId: "sc-qty1z2-0"
|
|
22045
|
-
})(templateObject_1$
|
|
22036
|
+
})(templateObject_1$M || (templateObject_1$M = __makeTemplateObject(["\n margin-left: auto;\n ", "\n"], ["\n margin-left: auto;\n ", "\n"])), charCounterTokens.base);
|
|
22046
22037
|
var nextUniqueId$e = 0;
|
|
22047
22038
|
|
|
22048
22039
|
function CharCounter(_a) {
|
|
@@ -22061,28 +22052,14 @@ function CharCounter(_a) {
|
|
|
22061
22052
|
children: [current, "/", max]
|
|
22062
22053
|
}));
|
|
22063
22054
|
}
|
|
22064
|
-
var templateObject_1$
|
|
22055
|
+
var templateObject_1$M;
|
|
22065
22056
|
|
|
22066
|
-
var TextArea = styled$3.
|
|
22057
|
+
var TextArea = styled$3(StatefulInput).withConfig({
|
|
22067
22058
|
displayName: "TextInputstyles__TextArea",
|
|
22068
22059
|
componentId: "sc-165zflr-0"
|
|
22069
|
-
})(
|
|
22070
|
-
var hasLabel = _a.hasLabel,
|
|
22071
|
-
disabled = _a.disabled,
|
|
22072
|
-
readOnly = _a.readOnly,
|
|
22073
|
-
hasErrorMessage = _a.hasErrorMessage;
|
|
22074
|
-
return inputStyling({
|
|
22075
|
-
readOnly: readOnly,
|
|
22076
|
-
hasLabel: hasLabel,
|
|
22077
|
-
disabled: disabled,
|
|
22078
|
-
hasErrorMessage: hasErrorMessage
|
|
22079
|
-
});
|
|
22080
|
-
}, scrollbarStyling, function (_a) {
|
|
22081
|
-
var hasLabel = _a.hasLabel;
|
|
22082
|
-
return hasLabel ? textInputTokens.container.multiline.withLabel.height : textInputTokens.container.multiline.noLabel.height;
|
|
22083
|
-
}, textInputTokens.multiline.base, function (_a) {
|
|
22060
|
+
})(templateObject_2$z || (templateObject_2$z = __makeTemplateObject(["\n ", "\n ", "\n ", "\n\n &:hover:enabled:read-write ~ label {\n background-color: ", ";\n }\n"], ["\n ", "\n ", "\n ", "\n\n &:hover:enabled:read-write ~ label {\n background-color: ", ";\n }\n"])), scrollbarStyling, textInputTokens.multiline.base, function (_a) {
|
|
22084
22061
|
var hasLabel = _a.hasLabel;
|
|
22085
|
-
return
|
|
22062
|
+
return Ae(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), textInputTokens.multiline[hasLabel].base);
|
|
22086
22063
|
}, function (_a) {
|
|
22087
22064
|
var hasErrorMessage = _a.hasErrorMessage;
|
|
22088
22065
|
return hasErrorMessage ? inputTokens.error.hover.base.backgroundColor : inputTokens.general.input.hover.backgroundColor;
|
|
@@ -22090,41 +22067,20 @@ var TextArea = styled$3.textarea.withConfig({
|
|
|
22090
22067
|
var MessageContainer = styled$3.div.withConfig({
|
|
22091
22068
|
displayName: "TextInputstyles__MessageContainer",
|
|
22092
22069
|
componentId: "sc-165zflr-1"
|
|
22093
|
-
})(
|
|
22094
|
-
var Label$1 = styled$3(
|
|
22070
|
+
})(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n"], ["\n display: flex;\n justify-content: space-between;\n"])));
|
|
22071
|
+
var Label$1 = styled$3(Label$5).withConfig({
|
|
22095
22072
|
displayName: "TextInputstyles__Label",
|
|
22096
22073
|
componentId: "sc-165zflr-2"
|
|
22097
|
-
})(
|
|
22098
|
-
var multiline = _a.multiline;
|
|
22099
|
-
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);
|
|
22100
|
-
}, function (_a) {
|
|
22101
|
-
var disabled = _a.disabled,
|
|
22102
|
-
multiline = _a.multiline;
|
|
22103
|
-
return disabled && multiline && Ae(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), inputTokens.disabled.base.backgroundColor);
|
|
22104
|
-
}, function (_a) {
|
|
22105
|
-
var readOnly = _a.readOnly,
|
|
22106
|
-
multiline = _a.multiline;
|
|
22107
|
-
return readOnly && multiline && Ae(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), inputTokens.readOnly.base.backgroundColor);
|
|
22108
|
-
});
|
|
22109
|
-
var InputContainer$1 = styled$3(InputContainer$2).withConfig({
|
|
22110
|
-
displayName: "TextInputstyles__InputContainer",
|
|
22111
|
-
componentId: "sc-165zflr-3"
|
|
22112
|
-
})(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["\n ", "\n height: ", ";\n"], ["\n ", "\n height: ", ";\n"])), function (_a) {
|
|
22074
|
+
})(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), function (_a) {
|
|
22113
22075
|
var multiline = _a.multiline;
|
|
22114
|
-
return multiline && Ae(
|
|
22076
|
+
return multiline && Ae(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), textInputTokens.label.multiline.base);
|
|
22115
22077
|
}, function (_a) {
|
|
22116
22078
|
var multiline = _a.multiline,
|
|
22117
|
-
|
|
22118
|
-
|
|
22119
|
-
|
|
22120
|
-
if (label) {
|
|
22121
|
-
return textInputTokens.container.multiline.withLabel.height;
|
|
22122
|
-
}
|
|
22123
|
-
|
|
22124
|
-
return textInputTokens.container.multiline.noLabel.height;
|
|
22125
|
-
}
|
|
22079
|
+
disabled = _a.disabled,
|
|
22080
|
+
readOnly = _a.readOnly;
|
|
22081
|
+
return multiline && readOnly ? Ae(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), inputTokens.readOnly.base.backgroundColor) : multiline && disabled ? Ae(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), inputTokens.readOnly.base.backgroundColor) : '';
|
|
22126
22082
|
});
|
|
22127
|
-
var templateObject_1$
|
|
22083
|
+
var templateObject_1$L, templateObject_2$z, templateObject_3$n, templateObject_4$h, templateObject_5$b, templateObject_6$9, templateObject_7$6;
|
|
22128
22084
|
|
|
22129
22085
|
var nextUniqueId$d = 0;
|
|
22130
22086
|
var TextInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
@@ -22153,18 +22109,9 @@ var TextInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
22153
22109
|
text = _d[0],
|
|
22154
22110
|
setText = _d[1];
|
|
22155
22111
|
|
|
22156
|
-
var _e = useState('auto'),
|
|
22157
|
-
textAreaHeight = _e[0],
|
|
22158
|
-
setTextAreaHeight = _e[1];
|
|
22159
|
-
|
|
22160
|
-
var _f = useState('auto'),
|
|
22161
|
-
parentHeight = _f[0],
|
|
22162
|
-
setParentHeight = _f[1];
|
|
22163
|
-
|
|
22164
22112
|
useEffect(function () {
|
|
22165
22113
|
if (textAreaRef && textAreaRef.current) {
|
|
22166
|
-
|
|
22167
|
-
setTextAreaHeight("".concat(textAreaRef.current.scrollHeight, "px"));
|
|
22114
|
+
textAreaRef.current.style.height = "".concat(textAreaRef.current.scrollHeight + 2, "px");
|
|
22168
22115
|
}
|
|
22169
22116
|
}, [text]);
|
|
22170
22117
|
|
|
@@ -22177,12 +22124,6 @@ var TextInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
22177
22124
|
};
|
|
22178
22125
|
|
|
22179
22126
|
var onChangeHandlerMultiline = function onChangeHandlerMultiline(event) {
|
|
22180
|
-
setTextAreaHeight('auto');
|
|
22181
|
-
|
|
22182
|
-
if (textAreaRef && textAreaRef.current) {
|
|
22183
|
-
setParentHeight("".concat(textAreaRef.current.scrollHeight, "px"));
|
|
22184
|
-
}
|
|
22185
|
-
|
|
22186
22127
|
setText(event.target.value);
|
|
22187
22128
|
|
|
22188
22129
|
if (onChange) {
|
|
@@ -22194,15 +22135,18 @@ var TextInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
22194
22135
|
var hasErrorMessage = !!errorMessage;
|
|
22195
22136
|
var hasTip = !!tip;
|
|
22196
22137
|
var hasLabel = !!label;
|
|
22138
|
+
var labelPresence = hasLabel ? 'hasLabel' : 'noLabel';
|
|
22139
|
+
var hasMessage = hasErrorMessage || hasTip || !!maxLength;
|
|
22197
22140
|
var characterCounterId = derivativeIdGenerator(uniqueId, 'characterCounter', maxLength);
|
|
22198
22141
|
var tipId = derivativeIdGenerator(uniqueId, 'tip', tip);
|
|
22199
22142
|
var errorMessageId = derivativeIdGenerator(uniqueId, 'errorMessage', errorMessage);
|
|
22200
22143
|
|
|
22201
22144
|
var generalInputProps = __assign({
|
|
22202
22145
|
id: uniqueId,
|
|
22203
|
-
hasLabel:
|
|
22146
|
+
hasLabel: labelPresence,
|
|
22204
22147
|
errorMessage: errorMessage,
|
|
22205
22148
|
hasErrorMessage: hasErrorMessage,
|
|
22149
|
+
required: required,
|
|
22206
22150
|
disabled: disabled,
|
|
22207
22151
|
readOnly: readOnly,
|
|
22208
22152
|
tabIndex: readOnly ? -1 : 0,
|
|
@@ -22217,9 +22161,6 @@ var TextInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
22217
22161
|
readOnly: readOnly
|
|
22218
22162
|
};
|
|
22219
22163
|
var inputContainerProps = {
|
|
22220
|
-
style: multiline ? {
|
|
22221
|
-
minHeight: parentHeight
|
|
22222
|
-
} : {},
|
|
22223
22164
|
multiline: multiline,
|
|
22224
22165
|
label: label
|
|
22225
22166
|
};
|
|
@@ -22229,19 +22170,15 @@ var TextInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
22229
22170
|
width: width
|
|
22230
22171
|
};
|
|
22231
22172
|
return jsxRuntime.exports.jsxs(OuterInputContainer, __assign({}, outerInputContainerProps, {
|
|
22232
|
-
children: [jsxRuntime.exports.jsxs(InputContainer
|
|
22173
|
+
children: [jsxRuntime.exports.jsxs(InputContainer, __assign({}, inputContainerProps, {
|
|
22233
22174
|
children: [multiline ? jsxRuntime.exports.jsx(TextArea, __assign({
|
|
22234
22175
|
ref: textAreaRef,
|
|
22235
|
-
|
|
22236
|
-
|
|
22237
|
-
|
|
22238
|
-
onChange: onChangeHandlerMultiline,
|
|
22239
|
-
required: required
|
|
22240
|
-
}, generalInputProps)) : jsxRuntime.exports.jsx(Input$5, __assign({
|
|
22176
|
+
as: "textarea",
|
|
22177
|
+
onChange: onChangeHandlerMultiline
|
|
22178
|
+
}, generalInputProps)) : jsxRuntime.exports.jsx(StatefulInput, __assign({
|
|
22241
22179
|
ref: ref,
|
|
22242
22180
|
onChange: onChangeHandler,
|
|
22243
|
-
type: type
|
|
22244
|
-
required: required
|
|
22181
|
+
type: type
|
|
22245
22182
|
}, generalInputProps)), hasLabel && jsxRuntime.exports.jsxs(Label$1, __assign({}, labelProps, {
|
|
22246
22183
|
typographyType: "supportingStyleLabel01",
|
|
22247
22184
|
forwardedAs: "label",
|
|
@@ -22249,7 +22186,7 @@ var TextInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
22249
22186
|
}, {
|
|
22250
22187
|
children: [label, " ", required && jsxRuntime.exports.jsx(RequiredMarker, {})]
|
|
22251
22188
|
}))]
|
|
22252
|
-
})), jsxRuntime.exports.jsxs(MessageContainer, {
|
|
22189
|
+
})), hasMessage && jsxRuntime.exports.jsxs(MessageContainer, {
|
|
22253
22190
|
children: [hasErrorMessage && jsxRuntime.exports.jsx(InputMessage, {
|
|
22254
22191
|
message: errorMessage,
|
|
22255
22192
|
messageType: "error",
|
|
@@ -23627,7 +23564,7 @@ var groupCSS = function groupCSS(_ref) {
|
|
|
23627
23564
|
};
|
|
23628
23565
|
};
|
|
23629
23566
|
|
|
23630
|
-
var Group$
|
|
23567
|
+
var Group$2 = function Group(props) {
|
|
23631
23568
|
var children = props.children,
|
|
23632
23569
|
className = props.className,
|
|
23633
23570
|
cx = props.cx,
|
|
@@ -23990,7 +23927,7 @@ var components = {
|
|
|
23990
23927
|
DropdownIndicator: DropdownIndicator,
|
|
23991
23928
|
DownChevron: DownChevron,
|
|
23992
23929
|
CrossIcon: CrossIcon,
|
|
23993
|
-
Group: Group$
|
|
23930
|
+
Group: Group$2,
|
|
23994
23931
|
GroupHeading: GroupHeading,
|
|
23995
23932
|
IndicatorsContainer: IndicatorsContainer$1,
|
|
23996
23933
|
IndicatorSeparator: IndicatorSeparator,
|
|
@@ -25051,7 +24988,7 @@ var defaultStyles = {
|
|
|
25051
24988
|
valueContainer: valueContainerCSS
|
|
25052
24989
|
}; // Merge Utility
|
|
25053
24990
|
|
|
25054
|
-
var colors$
|
|
24991
|
+
var colors$2 = {
|
|
25055
24992
|
primary: '#2684FF',
|
|
25056
24993
|
primary75: '#4C9AFF',
|
|
25057
24994
|
primary50: '#B2D4FF',
|
|
@@ -25070,22 +25007,22 @@ var colors$1 = {
|
|
|
25070
25007
|
neutral80: 'hsl(0, 0%, 20%)',
|
|
25071
25008
|
neutral90: 'hsl(0, 0%, 10%)'
|
|
25072
25009
|
};
|
|
25073
|
-
var borderRadius$
|
|
25010
|
+
var borderRadius$2 = 4; // Used to calculate consistent margin/padding on elements
|
|
25074
25011
|
|
|
25075
25012
|
var baseUnit = 4; // The minimum height of the control
|
|
25076
25013
|
|
|
25077
25014
|
var controlHeight = 38; // The amount of space between the control and menu */
|
|
25078
25015
|
|
|
25079
25016
|
var menuGutter = baseUnit * 2;
|
|
25080
|
-
var spacing$
|
|
25017
|
+
var spacing$3 = {
|
|
25081
25018
|
baseUnit: baseUnit,
|
|
25082
25019
|
controlHeight: controlHeight,
|
|
25083
25020
|
menuGutter: menuGutter
|
|
25084
25021
|
};
|
|
25085
25022
|
var defaultTheme = {
|
|
25086
|
-
borderRadius: borderRadius$
|
|
25087
|
-
colors: colors$
|
|
25088
|
-
spacing: spacing$
|
|
25023
|
+
borderRadius: borderRadius$2,
|
|
25024
|
+
colors: colors$2,
|
|
25025
|
+
spacing: spacing$3
|
|
25089
25026
|
};
|
|
25090
25027
|
|
|
25091
25028
|
var defaultProps = {
|
|
@@ -26884,25 +26821,25 @@ var StateManagedSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
26884
26821
|
var ReactSelect = StateManagedSelect;
|
|
26885
26822
|
|
|
26886
26823
|
var Colors$g = ddsBaseTokens.colors,
|
|
26887
|
-
Spacing$
|
|
26888
|
-
FontPackages$
|
|
26824
|
+
Spacing$o = ddsBaseTokens.spacing,
|
|
26825
|
+
FontPackages$e = ddsBaseTokens.fontPackages,
|
|
26889
26826
|
BorderRadius$5 = ddsBaseTokens.borderRadius,
|
|
26890
26827
|
Border$c = ddsBaseTokens.border,
|
|
26891
26828
|
IconSizes$2 = ddsBaseTokens.iconSizes;
|
|
26892
26829
|
var textDefault$6 = ddsReferenceTokens.textDefault;
|
|
26893
|
-
var multiValueContainerMinHeight = "".concat(Spacing$
|
|
26830
|
+
var multiValueContainerMinHeight = "".concat(Spacing$o.SizesDdsSpacingLocalX0125NumberPx * 2 + Spacing$o.SizesDdsSpacingLocalX025NumberPx * 2 + calculateHeightWithLineHeight(FontPackages$e.supportingStyle_inputtext_01.numbers.lineHeightNumber, FontPackages$e.supportingStyle_inputtext_01.numbers.fontSizeNumber), "px"); //custom spacing so that multiselect has same height as single value select
|
|
26894
26831
|
|
|
26895
|
-
var valueContainerMarginBottomMultiWithLabel = "".concat(Spacing$
|
|
26832
|
+
var valueContainerMarginBottomMultiWithLabel = "".concat(Spacing$o.SizesDdsSpacingLocalX025NumberPx + Spacing$o.SizesDdsSpacingLocalX0125NumberPx, "px"); //custom spacing so that multiselect has same height as single value select
|
|
26896
26833
|
|
|
26897
|
-
var inputMultiNoLabelPaddingTop = "".concat(Spacing$
|
|
26834
|
+
var inputMultiNoLabelPaddingTop = "".concat(Spacing$o.SizesDdsSpacingLocalX05NumberPx + Spacing$o.SizesDdsSpacingLocalX0125NumberPx, "px");
|
|
26898
26835
|
|
|
26899
26836
|
var labelBase = __assign({
|
|
26900
26837
|
color: Colors$g.DdsColorNeutralsGray7,
|
|
26901
|
-
paddingTop: Spacing$
|
|
26902
|
-
paddingLeft: Spacing$
|
|
26838
|
+
paddingTop: Spacing$o.SizesDdsSpacingLocalX075,
|
|
26839
|
+
paddingLeft: Spacing$o.SizesDdsSpacingLocalX1,
|
|
26903
26840
|
paddingBottom: 0,
|
|
26904
|
-
paddingRight: Spacing$
|
|
26905
|
-
}, FontPackages$
|
|
26841
|
+
paddingRight: Spacing$o.SizesDdsSpacingLocalX05
|
|
26842
|
+
}, FontPackages$e.supportingStyle_label_01.base);
|
|
26906
26843
|
|
|
26907
26844
|
var labelHoverBase = {
|
|
26908
26845
|
color: Colors$g.DdsColorInteractiveBase
|
|
@@ -26911,10 +26848,10 @@ var labelFocusBase = {
|
|
|
26911
26848
|
color: Colors$g.DdsColorInteractiveBase
|
|
26912
26849
|
};
|
|
26913
26850
|
var valueContainerWithLabelBase = {
|
|
26914
|
-
marginBottom: Spacing$
|
|
26851
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX075
|
|
26915
26852
|
};
|
|
26916
26853
|
var valueContainerNoLabelBase = {
|
|
26917
|
-
marginBottom: Spacing$
|
|
26854
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX075
|
|
26918
26855
|
};
|
|
26919
26856
|
var valueContainerIsMultiBase = {
|
|
26920
26857
|
minHeight: multiValueContainerMinHeight
|
|
@@ -26923,9 +26860,9 @@ var valueContainerIsMultiWithLabelBase = {
|
|
|
26923
26860
|
marginBottom: valueContainerMarginBottomMultiWithLabel
|
|
26924
26861
|
};
|
|
26925
26862
|
var valueContainerIsMultiNoLabelBase = {
|
|
26926
|
-
marginBottom: Spacing$
|
|
26863
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX05
|
|
26927
26864
|
};
|
|
26928
|
-
var containerBase$
|
|
26865
|
+
var containerBase$6 = {
|
|
26929
26866
|
borderRadius: BorderRadius$5.RadiiDdsBorderRadius1Radius,
|
|
26930
26867
|
border: "".concat(Border$c.BordersDdsBorderStyleLightStrokeWeight, " solid"),
|
|
26931
26868
|
borderColor: Colors$g.DdsColorNeutralsGray5,
|
|
@@ -26943,11 +26880,11 @@ var containerDangerHoverBase = __assign({}, hoverDangerInputfield);
|
|
|
26943
26880
|
var containerDangerFocusBase = __assign({}, focusDangerInputfield);
|
|
26944
26881
|
|
|
26945
26882
|
var inputBase$1 = __assign({
|
|
26946
|
-
padding: "0 ".concat(Spacing$
|
|
26947
|
-
}, FontPackages$
|
|
26883
|
+
padding: "0 ".concat(Spacing$o.SizesDdsSpacingLocalX05, " 0 ").concat(Spacing$o.SizesDdsSpacingLocalX1)
|
|
26884
|
+
}, FontPackages$e.supportingStyle_inputtext_02.base);
|
|
26948
26885
|
|
|
26949
26886
|
var inputNoLabelBase = {
|
|
26950
|
-
paddingTop: Spacing$
|
|
26887
|
+
paddingTop: Spacing$o.SizesDdsSpacingLocalX075
|
|
26951
26888
|
};
|
|
26952
26889
|
var inputIsMultiNoLabelBase = {
|
|
26953
26890
|
paddingTop: inputMultiNoLabelPaddingTop
|
|
@@ -26955,19 +26892,19 @@ var inputIsMultiNoLabelBase = {
|
|
|
26955
26892
|
|
|
26956
26893
|
var placeholderBase = __assign({
|
|
26957
26894
|
color: Colors$g.DdsColorNeutralsGray6
|
|
26958
|
-
}, FontPackages$
|
|
26895
|
+
}, FontPackages$e.supportingStyle_placeholdertext_01.base);
|
|
26959
26896
|
|
|
26960
26897
|
var indicatorsContainerWithLabelBase = {
|
|
26961
|
-
marginBottom: Spacing$
|
|
26898
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX1
|
|
26962
26899
|
};
|
|
26963
26900
|
var indicatorsContainerNoLabelBase = {
|
|
26964
|
-
marginBottom: Spacing$
|
|
26901
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX075
|
|
26965
26902
|
};
|
|
26966
26903
|
var indicatorsContainerIsMultiWithLabelBase = {
|
|
26967
26904
|
marginBottom: valueContainerMarginBottomMultiWithLabel
|
|
26968
26905
|
};
|
|
26969
26906
|
var indicatorsContainerIsMultiNoLabelBase = {
|
|
26970
|
-
marginBottom: Spacing$
|
|
26907
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX05
|
|
26971
26908
|
};
|
|
26972
26909
|
var dropdownIndicatorBase = {
|
|
26973
26910
|
color: Colors$g.DdsColorNeutralsGray6,
|
|
@@ -26981,7 +26918,7 @@ var drodownIndicatorReadOnlyBase = {
|
|
|
26981
26918
|
};
|
|
26982
26919
|
var clearIndicatorBase = {
|
|
26983
26920
|
color: Colors$g.DdsColorNeutralsGray6,
|
|
26984
|
-
padding: " 0 ".concat(Spacing$
|
|
26921
|
+
padding: " 0 ".concat(Spacing$o.SizesDdsSpacingLocalX025, " 0 0")
|
|
26985
26922
|
};
|
|
26986
26923
|
var loadingIndicatorBase = {
|
|
26987
26924
|
color: Colors$g.DdsColorNeutralsGray6,
|
|
@@ -26995,13 +26932,13 @@ var menuBase = {
|
|
|
26995
26932
|
borderColor: Colors$g.DdsColorInteractiveBase,
|
|
26996
26933
|
backgroundColor: Colors$g.DdsColorNeutralsWhite,
|
|
26997
26934
|
borderRadius: BorderRadius$5.RadiiDdsBorderRadius1Radius,
|
|
26998
|
-
marginTop: Spacing$
|
|
26999
|
-
marginBottom: Spacing$
|
|
26935
|
+
marginTop: Spacing$o.SizesDdsSpacingLocalX025,
|
|
26936
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX025
|
|
27000
26937
|
};
|
|
27001
26938
|
|
|
27002
26939
|
var optionBase = __assign(__assign({
|
|
27003
|
-
padding: "".concat(Spacing$
|
|
27004
|
-
}, FontPackages$
|
|
26940
|
+
padding: "".concat(Spacing$o.SizesDdsSpacingLocalX05, " ").concat(Spacing$o.SizesDdsSpacingLocalX1)
|
|
26941
|
+
}, FontPackages$e.body_sans_02.base), {
|
|
27005
26942
|
color: textDefault$6.textColor
|
|
27006
26943
|
});
|
|
27007
26944
|
|
|
@@ -27011,18 +26948,18 @@ var optionHoverBase = {
|
|
|
27011
26948
|
|
|
27012
26949
|
var optionSelectedBase = __assign(__assign({
|
|
27013
26950
|
backgroundColor: Colors$g.DdsColorInteractiveLightest
|
|
27014
|
-
}, FontPackages$
|
|
26951
|
+
}, FontPackages$e.body_sans_02.base), {
|
|
27015
26952
|
fontWeight: 600
|
|
27016
26953
|
});
|
|
27017
26954
|
|
|
27018
26955
|
var noOptionsMessageBase = __assign({
|
|
27019
|
-
padding: "".concat(Spacing$
|
|
26956
|
+
padding: "".concat(Spacing$o.SizesDdsSpacingLocalX05, " ").concat(Spacing$o.SizesDdsSpacingLocalX1),
|
|
27020
26957
|
color: Colors$g.DdsColorNeutralsGray6
|
|
27021
|
-
}, FontPackages$
|
|
26958
|
+
}, FontPackages$e.supportingStyle_placeholdertext_01.base);
|
|
27022
26959
|
|
|
27023
26960
|
var multiValueBase = {
|
|
27024
26961
|
borderRadius: BorderRadius$5.RadiiDdsBorderRadius1Radius,
|
|
27025
|
-
margin: Spacing$
|
|
26962
|
+
margin: Spacing$o.SizesDdsSpacingLocalX0125
|
|
27026
26963
|
};
|
|
27027
26964
|
var multiValueEnabledBase = {
|
|
27028
26965
|
backgroundColor: Colors$g.DdsColorInteractiveLighter
|
|
@@ -27032,17 +26969,17 @@ var multiValueDisabledBase = {
|
|
|
27032
26969
|
};
|
|
27033
26970
|
|
|
27034
26971
|
var multiValueLabelBase = __assign(__assign({
|
|
27035
|
-
paddingTop: "".concat(Spacing$
|
|
27036
|
-
paddingRight: "".concat(Spacing$
|
|
27037
|
-
paddingLeft: "".concat(Spacing$
|
|
27038
|
-
paddingBottom: "".concat(Spacing$
|
|
26972
|
+
paddingTop: "".concat(Spacing$o.SizesDdsSpacingLocalX025),
|
|
26973
|
+
paddingRight: "".concat(Spacing$o.SizesDdsSpacingLocalX05),
|
|
26974
|
+
paddingLeft: "".concat(Spacing$o.SizesDdsSpacingLocalX05),
|
|
26975
|
+
paddingBottom: "".concat(Spacing$o.SizesDdsSpacingLocalX025),
|
|
27039
26976
|
color: Colors$g.DdsColorNeutralsGray9
|
|
27040
|
-
}, FontPackages$
|
|
26977
|
+
}, FontPackages$e.supportingStyle_inputtext_01.base), {
|
|
27041
26978
|
fontWeight: 'bold'
|
|
27042
26979
|
});
|
|
27043
26980
|
|
|
27044
26981
|
var multiValueRemoveBase = {
|
|
27045
|
-
padding: "".concat(Spacing$
|
|
26982
|
+
padding: "".concat(Spacing$o.SizesDdsSpacingLocalX025),
|
|
27046
26983
|
color: Colors$g.DdsColorNeutralsGray9
|
|
27047
26984
|
};
|
|
27048
26985
|
var multiValueRemoveHoverBase = {
|
|
@@ -27064,7 +27001,7 @@ var containerReadOnlyBase = {
|
|
|
27064
27001
|
var defaultWidth$1 = '320px';
|
|
27065
27002
|
var selectTokens = {
|
|
27066
27003
|
container: {
|
|
27067
|
-
base: containerBase$
|
|
27004
|
+
base: containerBase$6,
|
|
27068
27005
|
defaultWidth: defaultWidth$1,
|
|
27069
27006
|
hover: {
|
|
27070
27007
|
base: containerHoverBase
|
|
@@ -27113,7 +27050,7 @@ var selectTokens = {
|
|
|
27113
27050
|
},
|
|
27114
27051
|
menu: {
|
|
27115
27052
|
base: menuBase,
|
|
27116
|
-
spaceTop: Spacing$
|
|
27053
|
+
spaceTop: Spacing$o.SizesDdsSpacingLocalX1NumberPx + 2 //grunnet shadow-box
|
|
27117
27054
|
|
|
27118
27055
|
},
|
|
27119
27056
|
option: {
|
|
@@ -27124,7 +27061,7 @@ var selectTokens = {
|
|
|
27124
27061
|
selected: {
|
|
27125
27062
|
base: optionSelectedBase,
|
|
27126
27063
|
icon: {
|
|
27127
|
-
margin: "0 ".concat(Spacing$
|
|
27064
|
+
margin: "0 ".concat(Spacing$o.SizesDdsSpacingLocalX05, " 0 0")
|
|
27128
27065
|
}
|
|
27129
27066
|
}
|
|
27130
27067
|
},
|
|
@@ -27209,20 +27146,20 @@ var prefix = 'dds-select';
|
|
|
27209
27146
|
var Label = styled$3(Typography).withConfig({
|
|
27210
27147
|
displayName: "Selectstyles__Label",
|
|
27211
27148
|
componentId: "sc-19jkd5s-0"
|
|
27212
|
-
})(templateObject_1$
|
|
27213
|
-
var Container$
|
|
27149
|
+
})(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n display: block;\n ", "\n"], ["\n display: block;\n ", "\n"])), selectTokens.label.base);
|
|
27150
|
+
var Container$f = styled$3.div.withConfig({
|
|
27214
27151
|
displayName: "Selectstyles__Container",
|
|
27215
27152
|
componentId: "sc-19jkd5s-1"
|
|
27216
27153
|
})(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) {
|
|
27217
27154
|
var isMulti = _a.isMulti;
|
|
27218
|
-
return isMulti && Ae(templateObject_2$
|
|
27155
|
+
return isMulti && Ae(templateObject_2$y || (templateObject_2$y = __makeTemplateObject([""], [""])));
|
|
27219
27156
|
}, function (_a) {
|
|
27220
27157
|
var hasLabel = _a.hasLabel,
|
|
27221
27158
|
isMulti = _a.isMulti;
|
|
27222
|
-
return isMulti && hasLabel ? Ae(templateObject_3$m || (templateObject_3$m = __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$
|
|
27159
|
+
return isMulti && hasLabel ? Ae(templateObject_3$m || (templateObject_3$m = __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$8 || (templateObject_6$8 = __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);
|
|
27223
27160
|
}, selectTokens.container.hover.base, Label, selectTokens.label.hover.base, selectTokens.container.focus.base, Label, selectTokens.label.focus.base, function (_a) {
|
|
27224
27161
|
var errorMessage = _a.errorMessage;
|
|
27225
|
-
return errorMessage && Ae(templateObject_7$
|
|
27162
|
+
return errorMessage && Ae(templateObject_7$5 || (templateObject_7$5 = __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);
|
|
27226
27163
|
}, prefix, scrollbarStyling, prefix, prefix, selectTokens.dropdownIndicator.hover.base, function (_a) {
|
|
27227
27164
|
var isDisabled = _a.isDisabled;
|
|
27228
27165
|
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);
|
|
@@ -27339,7 +27276,7 @@ var getCustomStyles = function getCustomStyles() {
|
|
|
27339
27276
|
}
|
|
27340
27277
|
};
|
|
27341
27278
|
};
|
|
27342
|
-
var templateObject_1$
|
|
27279
|
+
var templateObject_1$K, templateObject_2$y, templateObject_3$m, templateObject_4$g, templateObject_5$a, templateObject_6$8, templateObject_7$5, templateObject_8$4, templateObject_9$2, templateObject_10$2, templateObject_11$1, templateObject_12;
|
|
27343
27280
|
|
|
27344
27281
|
var DdsOption = components.Option,
|
|
27345
27282
|
NoOptionsMessage = components.NoOptionsMessage,
|
|
@@ -27445,7 +27382,7 @@ var SelectInner = function SelectInner(_a, ref) {
|
|
|
27445
27382
|
}, rest);
|
|
27446
27383
|
|
|
27447
27384
|
return jsxRuntime.exports.jsxs(Wrapper$6, __assign({}, wrapperProps, {
|
|
27448
|
-
children: [jsxRuntime.exports.jsxs(Container$
|
|
27385
|
+
children: [jsxRuntime.exports.jsxs(Container$f, __assign({}, containerProps, {
|
|
27449
27386
|
children: [label && jsxRuntime.exports.jsxs(Label, __assign({
|
|
27450
27387
|
htmlFor: uniqueId,
|
|
27451
27388
|
forwardedAs: "label",
|
|
@@ -27533,24 +27470,24 @@ var _default$f = (0, _createSvgIcon$f.default)( /*#__PURE__*/(0, _jsxRuntime$f.j
|
|
|
27533
27470
|
default_1$f = InfoOutlined.default = _default$f;
|
|
27534
27471
|
|
|
27535
27472
|
var Colors$f = ddsBaseTokens.colors,
|
|
27536
|
-
Spacing$
|
|
27537
|
-
FontPackages$
|
|
27473
|
+
Spacing$n = ddsBaseTokens.spacing,
|
|
27474
|
+
FontPackages$d = ddsBaseTokens.fontPackages;
|
|
27538
27475
|
|
|
27539
|
-
var containerBase$
|
|
27476
|
+
var containerBase$5 = __assign(__assign({
|
|
27540
27477
|
borderBottom: '2px solid',
|
|
27541
|
-
padding: "0 ".concat(Spacing$
|
|
27478
|
+
padding: "0 ".concat(Spacing$n.SizesDdsSpacingLocalX1),
|
|
27542
27479
|
width: '100%'
|
|
27543
|
-
}, FontPackages$
|
|
27480
|
+
}, FontPackages$d.body_sans_02.base), {
|
|
27544
27481
|
color: Colors$f.DdsColorNeutralsGray8
|
|
27545
27482
|
});
|
|
27546
27483
|
|
|
27547
27484
|
var contentContainerBase$3 = {
|
|
27548
|
-
paddingRight: Spacing$
|
|
27549
|
-
paddingTop: Spacing$
|
|
27550
|
-
paddingBottom: Spacing$
|
|
27485
|
+
paddingRight: Spacing$n.SizesDdsSpacingLocalX15,
|
|
27486
|
+
paddingTop: Spacing$n.SizesDdsSpacingLocalX075,
|
|
27487
|
+
paddingBottom: Spacing$n.SizesDdsSpacingLocalX075
|
|
27551
27488
|
};
|
|
27552
27489
|
var contentContainerWithClosableBase$1 = {
|
|
27553
|
-
paddingRight: Spacing$
|
|
27490
|
+
paddingRight: Spacing$n.SizesDdsSpacingLocalX075
|
|
27554
27491
|
};
|
|
27555
27492
|
var containerInfoBase$1 = {
|
|
27556
27493
|
borderColor: Colors$f.DdsColorInfoLighter,
|
|
@@ -27566,7 +27503,7 @@ var containerWarningBase$1 = {
|
|
|
27566
27503
|
};
|
|
27567
27504
|
var globalMessageTokens = {
|
|
27568
27505
|
container: {
|
|
27569
|
-
base: containerBase$
|
|
27506
|
+
base: containerBase$5,
|
|
27570
27507
|
info: {
|
|
27571
27508
|
base: containerInfoBase$1
|
|
27572
27509
|
},
|
|
@@ -27584,7 +27521,7 @@ var globalMessageTokens = {
|
|
|
27584
27521
|
}
|
|
27585
27522
|
},
|
|
27586
27523
|
icon: {
|
|
27587
|
-
marginRight: "".concat(Spacing$
|
|
27524
|
+
marginRight: "".concat(Spacing$n.SizesDdsSpacingLocalX075),
|
|
27588
27525
|
info: {
|
|
27589
27526
|
icon: default_1$f,
|
|
27590
27527
|
color: Colors$f.DdsColorInfoDarkest
|
|
@@ -27611,12 +27548,12 @@ var globalMessageTokens = {
|
|
|
27611
27548
|
}
|
|
27612
27549
|
};
|
|
27613
27550
|
|
|
27614
|
-
var Container$
|
|
27551
|
+
var Container$e = styled$3.div.withConfig({
|
|
27615
27552
|
displayName: "GlobalMessage__Container",
|
|
27616
27553
|
componentId: "sc-bf2l65-0"
|
|
27617
|
-
})(templateObject_2$
|
|
27554
|
+
})(templateObject_2$x || (templateObject_2$x = __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) {
|
|
27618
27555
|
var purpose = _a.purpose;
|
|
27619
|
-
return purpose && Ae(templateObject_1$
|
|
27556
|
+
return purpose && Ae(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), globalMessageTokens.container.base, globalMessageTokens.container[purpose].base);
|
|
27620
27557
|
});
|
|
27621
27558
|
var MessageIconWrapper$1 = styled$3(IconWrapper$1).withConfig({
|
|
27622
27559
|
displayName: "GlobalMessage__MessageIconWrapper",
|
|
@@ -27629,7 +27566,7 @@ var ControlsContainer = styled$3.div.withConfig({
|
|
|
27629
27566
|
var ContentContainer$4 = styled$3.div.withConfig({
|
|
27630
27567
|
displayName: "GlobalMessage__ContentContainer",
|
|
27631
27568
|
componentId: "sc-bf2l65-3"
|
|
27632
|
-
})(templateObject_6$
|
|
27569
|
+
})(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n ", "\n ", "\n"], ["\n display: flex;\n align-items: center;\n ", "\n ", "\n"])), globalMessageTokens.contentContainer.base, function (_a) {
|
|
27633
27570
|
var closable = _a.closable;
|
|
27634
27571
|
return closable && Ae(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), globalMessageTokens.contentContainer.withClosable.base);
|
|
27635
27572
|
});
|
|
@@ -27653,7 +27590,7 @@ var GlobalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
27653
27590
|
purpose: purpose
|
|
27654
27591
|
}, rest);
|
|
27655
27592
|
|
|
27656
|
-
return !isClosed ? jsxRuntime.exports.jsxs(Container$
|
|
27593
|
+
return !isClosed ? jsxRuntime.exports.jsxs(Container$e, __assign({}, containerProps, {
|
|
27657
27594
|
children: [jsxRuntime.exports.jsxs(ContentContainer$4, __assign({
|
|
27658
27595
|
closable: closable
|
|
27659
27596
|
}, {
|
|
@@ -27680,7 +27617,7 @@ var GlobalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
27680
27617
|
})]
|
|
27681
27618
|
})) : null;
|
|
27682
27619
|
});
|
|
27683
|
-
var templateObject_1$
|
|
27620
|
+
var templateObject_1$J, templateObject_2$x, templateObject_3$l, templateObject_4$f, templateObject_5$9, templateObject_6$7;
|
|
27684
27621
|
|
|
27685
27622
|
var CheckCircleOutlined = {};
|
|
27686
27623
|
|
|
@@ -27727,38 +27664,38 @@ var _default$d = (0, _createSvgIcon$d.default)([/*#__PURE__*/(0, _jsxRuntime$d.j
|
|
|
27727
27664
|
default_1$d = EmojiObjectsOutlined.default = _default$d;
|
|
27728
27665
|
|
|
27729
27666
|
var Colors$e = ddsBaseTokens.colors,
|
|
27730
|
-
Spacing$
|
|
27731
|
-
FontPackages$
|
|
27667
|
+
Spacing$m = ddsBaseTokens.spacing,
|
|
27668
|
+
FontPackages$c = ddsBaseTokens.fontPackages,
|
|
27732
27669
|
BorderRadius$4 = ddsBaseTokens.borderRadius,
|
|
27733
27670
|
Border$b = ddsBaseTokens.border,
|
|
27734
27671
|
OuterShadow$3 = ddsBaseTokens.outerShadow;
|
|
27735
27672
|
|
|
27736
|
-
var containerBase$
|
|
27673
|
+
var containerBase$4 = __assign(__assign({
|
|
27737
27674
|
boxShadow: OuterShadow$3.DdsShadow1Onlight,
|
|
27738
27675
|
borderRadius: BorderRadius$4.RadiiDdsBorderRadius1Radius,
|
|
27739
27676
|
border: "".concat(Border$b.BordersDdsBorderStyleLightStrokeWeight, " solid"),
|
|
27740
|
-
padding: "0 ".concat(Spacing$
|
|
27741
|
-
}, FontPackages$
|
|
27677
|
+
padding: "0 ".concat(Spacing$m.SizesDdsSpacingLocalX1)
|
|
27678
|
+
}, FontPackages$c.body_sans_02.base), {
|
|
27742
27679
|
color: Colors$e.DdsColorNeutralsGray8
|
|
27743
27680
|
});
|
|
27744
27681
|
|
|
27745
27682
|
var defaultWidth = '400px';
|
|
27746
27683
|
var contentContainerBase$2 = {
|
|
27747
|
-
paddingRight: Spacing$
|
|
27748
|
-
paddingTop: Spacing$
|
|
27749
|
-
paddingBottom: Spacing$
|
|
27684
|
+
paddingRight: Spacing$m.SizesDdsSpacingLocalX15,
|
|
27685
|
+
paddingTop: Spacing$m.SizesDdsSpacingLocalX075,
|
|
27686
|
+
paddingBottom: Spacing$m.SizesDdsSpacingLocalX075
|
|
27750
27687
|
};
|
|
27751
27688
|
var contentContainerWithClosableBase = {
|
|
27752
|
-
paddingRight: Spacing$
|
|
27689
|
+
paddingRight: Spacing$m.SizesDdsSpacingLocalX075
|
|
27753
27690
|
};
|
|
27754
27691
|
var contentContainerVericalBase = {
|
|
27755
|
-
paddingBottom: Spacing$
|
|
27692
|
+
paddingBottom: Spacing$m.SizesDdsSpacingLocalX15
|
|
27756
27693
|
};
|
|
27757
27694
|
var topContainerBase = {
|
|
27758
|
-
paddingTop: Spacing$
|
|
27695
|
+
paddingTop: Spacing$m.SizesDdsSpacingLocalX15
|
|
27759
27696
|
};
|
|
27760
27697
|
var topContainerWithClosableBase = {
|
|
27761
|
-
paddingTop: Spacing$
|
|
27698
|
+
paddingTop: Spacing$m.SizesDdsSpacingLocalX1
|
|
27762
27699
|
};
|
|
27763
27700
|
var containerInfoBase = {
|
|
27764
27701
|
borderColor: Colors$e.DdsColorInfoLighter,
|
|
@@ -27786,7 +27723,7 @@ var containerConfidentialBase = {
|
|
|
27786
27723
|
};
|
|
27787
27724
|
var localMessageTokens = {
|
|
27788
27725
|
container: {
|
|
27789
|
-
base: containerBase$
|
|
27726
|
+
base: containerBase$4,
|
|
27790
27727
|
defaultWidth: defaultWidth,
|
|
27791
27728
|
info: {
|
|
27792
27729
|
base: containerInfoBase
|
|
@@ -27823,7 +27760,7 @@ var localMessageTokens = {
|
|
|
27823
27760
|
}
|
|
27824
27761
|
},
|
|
27825
27762
|
icon: {
|
|
27826
|
-
marginRight: "".concat(Spacing$
|
|
27763
|
+
marginRight: "".concat(Spacing$m.SizesDdsSpacingLocalX075),
|
|
27827
27764
|
info: {
|
|
27828
27765
|
icon: default_1$f,
|
|
27829
27766
|
color: Colors$e.DdsColorInfoDarkest
|
|
@@ -27871,7 +27808,7 @@ var localMessageTokens = {
|
|
|
27871
27808
|
}
|
|
27872
27809
|
};
|
|
27873
27810
|
|
|
27874
|
-
var Container$
|
|
27811
|
+
var Container$d = styled$3.div.withConfig({
|
|
27875
27812
|
displayName: "LocalMessage__Container",
|
|
27876
27813
|
componentId: "sc-kmfp8w-0"
|
|
27877
27814
|
})(templateObject_3$k || (templateObject_3$k = __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) {
|
|
@@ -27879,10 +27816,10 @@ var Container$c = styled$3.div.withConfig({
|
|
|
27879
27816
|
return layout === 'vertical' ? 'column' : 'row';
|
|
27880
27817
|
}, function (_a) {
|
|
27881
27818
|
var layout = _a.layout;
|
|
27882
|
-
return layout === 'horisontal' && Ae(templateObject_1$
|
|
27819
|
+
return layout === 'horisontal' && Ae(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["\n align-items: center;\n justify-content: space-between;\n "], ["\n align-items: center;\n justify-content: space-between;\n "])));
|
|
27883
27820
|
}, typographyTokens.selection.base, function (_a) {
|
|
27884
27821
|
var purpose = _a.purpose;
|
|
27885
|
-
return purpose && Ae(templateObject_2$
|
|
27822
|
+
return purpose && Ae(templateObject_2$w || (templateObject_2$w = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), localMessageTokens.container.base, localMessageTokens.container[purpose].base);
|
|
27886
27823
|
}, function (_a) {
|
|
27887
27824
|
var width = _a.width;
|
|
27888
27825
|
return width;
|
|
@@ -27896,10 +27833,10 @@ var ContentContainer$3 = styled$3.div.withConfig({
|
|
|
27896
27833
|
componentId: "sc-kmfp8w-2"
|
|
27897
27834
|
})(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), localMessageTokens.contentContainer.base, function (_a) {
|
|
27898
27835
|
var layout = _a.layout;
|
|
27899
|
-
return layout === 'vertical' ? Ae(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), localMessageTokens.contentContainer.vertical.base) : Ae(templateObject_6$
|
|
27836
|
+
return layout === 'vertical' ? Ae(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), localMessageTokens.contentContainer.vertical.base) : Ae(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n "], ["\n display: flex;\n align-items: center;\n "])));
|
|
27900
27837
|
}, function (_a) {
|
|
27901
27838
|
var closable = _a.closable;
|
|
27902
|
-
return closable && Ae(templateObject_7$
|
|
27839
|
+
return closable && Ae(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), localMessageTokens.contentContainer.withClosable.base);
|
|
27903
27840
|
});
|
|
27904
27841
|
var TopContainer = styled$3.div.withConfig({
|
|
27905
27842
|
displayName: "LocalMessage__TopContainer",
|
|
@@ -27962,7 +27899,7 @@ var LocalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
27962
27899
|
"aria-label": "Lukk melding"
|
|
27963
27900
|
});
|
|
27964
27901
|
|
|
27965
|
-
return !isClosed ? jsxRuntime.exports.jsx(Container$
|
|
27902
|
+
return !isClosed ? jsxRuntime.exports.jsx(Container$d, __assign({}, containerProps, {
|
|
27966
27903
|
children: layout === 'horisontal' ? jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment, {
|
|
27967
27904
|
children: [jsxRuntime.exports.jsxs(ContentContainer$3, __assign({}, contentContainerProps, {
|
|
27968
27905
|
children: [messageIconWrapper, " ", content]
|
|
@@ -27978,7 +27915,7 @@ var LocalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
27978
27915
|
})
|
|
27979
27916
|
})) : null;
|
|
27980
27917
|
});
|
|
27981
|
-
var templateObject_1$
|
|
27918
|
+
var templateObject_1$I, templateObject_2$w, templateObject_3$k, templateObject_4$e, templateObject_5$8, templateObject_6$6, templateObject_7$4, templateObject_8$3, templateObject_9$1, templateObject_10$1;
|
|
27982
27919
|
|
|
27983
27920
|
var SearchOutlined = {};
|
|
27984
27921
|
|
|
@@ -27999,35 +27936,40 @@ var _default$c = (0, _createSvgIcon$c.default)( /*#__PURE__*/(0, _jsxRuntime$c.j
|
|
|
27999
27936
|
|
|
28000
27937
|
default_1$c = SearchOutlined.default = _default$c;
|
|
28001
27938
|
|
|
28002
|
-
var
|
|
28003
|
-
|
|
27939
|
+
var spacing$2 = ddsBaseTokens.spacing,
|
|
27940
|
+
fontPackages$1 = ddsBaseTokens.fontPackages;
|
|
28004
27941
|
var textDefault$5 = ddsReferenceTokens.textDefault;
|
|
28005
27942
|
var inputBase = {
|
|
28006
|
-
paddingRight:
|
|
27943
|
+
paddingRight: spacing$2.SizesDdsSpacingLocalX05,
|
|
27944
|
+
paddingLeft: spacing$2.SizesDdsSpacingLocalX3
|
|
28007
27945
|
};
|
|
28008
27946
|
|
|
28009
|
-
var smallBase$1 = __assign(__assign({},
|
|
28010
|
-
paddingTop:
|
|
28011
|
-
paddingBottom:
|
|
27947
|
+
var smallBase$1 = __assign(__assign({}, fontPackages$1.supportingStyle_inputtext_01.base), {
|
|
27948
|
+
paddingTop: spacing$2.SizesDdsSpacingLocalX05,
|
|
27949
|
+
paddingBottom: spacing$2.SizesDdsSpacingLocalX05
|
|
28012
27950
|
});
|
|
28013
27951
|
|
|
28014
|
-
var mediumBase = __assign(__assign({},
|
|
28015
|
-
paddingTop:
|
|
28016
|
-
paddingBottom:
|
|
27952
|
+
var mediumBase = __assign(__assign({}, fontPackages$1.supportingStyle_inputtext_02.base), {
|
|
27953
|
+
paddingTop: spacing$2.SizesDdsSpacingLocalX075,
|
|
27954
|
+
paddingBottom: spacing$2.SizesDdsSpacingLocalX075
|
|
28017
27955
|
});
|
|
28018
27956
|
|
|
28019
|
-
var largeBase = __assign(__assign({},
|
|
28020
|
-
paddingTop:
|
|
28021
|
-
paddingBottom:
|
|
27957
|
+
var largeBase = __assign(__assign({}, fontPackages$1.supportingStyle_inputtext_03.base), {
|
|
27958
|
+
paddingTop: spacing$2.SizesDdsSpacingLocalX1,
|
|
27959
|
+
paddingBottom: spacing$2.SizesDdsSpacingLocalX1
|
|
28022
27960
|
});
|
|
28023
27961
|
|
|
28024
27962
|
var iconWrapperBase = {
|
|
28025
27963
|
color: textDefault$5.textColor
|
|
28026
27964
|
};
|
|
27965
|
+
var containerBase$3 = {
|
|
27966
|
+
display: 'flex',
|
|
27967
|
+
flexDirection: 'row',
|
|
27968
|
+
gap: spacing$2.SizesDdsSpacingLocalX05
|
|
27969
|
+
};
|
|
28027
27970
|
var searchTokens = {
|
|
28028
27971
|
input: {
|
|
28029
27972
|
base: inputBase,
|
|
28030
|
-
spaceLeft: Spacing$m.SizesDdsSpacingLocalX3,
|
|
28031
27973
|
small: {
|
|
28032
27974
|
base: smallBase$1
|
|
28033
27975
|
},
|
|
@@ -28039,44 +27981,36 @@ var searchTokens = {
|
|
|
28039
27981
|
}
|
|
28040
27982
|
},
|
|
28041
27983
|
icon: {
|
|
28042
|
-
spaceTop: "calc(50% - ".concat(
|
|
28043
|
-
spaceLeft:
|
|
27984
|
+
spaceTop: "calc(50% - ".concat(spacing$2.SizesDdsSpacingLocalX15NumberPx / 2, "px)"),
|
|
27985
|
+
spaceLeft: spacing$2.SizesDdsSpacingLocalX075
|
|
28044
27986
|
},
|
|
28045
27987
|
iconWrapper: {
|
|
28046
27988
|
base: iconWrapperBase
|
|
28047
27989
|
},
|
|
28048
|
-
|
|
28049
|
-
|
|
27990
|
+
container: {
|
|
27991
|
+
base: containerBase$3
|
|
28050
27992
|
}
|
|
28051
27993
|
};
|
|
28052
27994
|
|
|
28053
|
-
var Input$1 = styled$3.
|
|
27995
|
+
var Input$1 = styled$3(Input$5).withConfig({
|
|
28054
27996
|
displayName: "Search__Input",
|
|
28055
27997
|
componentId: "sc-1ax3s9s-0"
|
|
28056
|
-
})(templateObject_2$
|
|
27998
|
+
})(templateObject_2$v || (templateObject_2$v = __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 &[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"])), searchTokens.input.base, function (_a) {
|
|
28057
27999
|
var componentSize = _a.componentSize;
|
|
28058
|
-
return
|
|
28059
|
-
}
|
|
28000
|
+
return Ae(templateObject_1$H || (templateObject_1$H = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), searchTokens.input[componentSize].base);
|
|
28001
|
+
});
|
|
28060
28002
|
var IconWrapper = styled$3.span.withConfig({
|
|
28061
28003
|
displayName: "Search__IconWrapper",
|
|
28062
28004
|
componentId: "sc-1ax3s9s-1"
|
|
28063
28005
|
})(templateObject_3$j || (templateObject_3$j = __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);
|
|
28064
|
-
var Container$
|
|
28006
|
+
var Container$c = styled$3.div.withConfig({
|
|
28065
28007
|
displayName: "Search__Container",
|
|
28066
28008
|
componentId: "sc-1ax3s9s-2"
|
|
28067
|
-
})(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n
|
|
28068
|
-
var InputContainer = styled$3.div.withConfig({
|
|
28069
|
-
displayName: "Search__InputContainer",
|
|
28070
|
-
componentId: "sc-1ax3s9s-3"
|
|
28071
|
-
})(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n flex-direction: column;\n"], ["\n width: 100%;\n display: flex;\n flex-direction: column;\n"])));
|
|
28072
|
-
var InputWrapper = styled$3.div.withConfig({
|
|
28073
|
-
displayName: "Search__InputWrapper",
|
|
28074
|
-
componentId: "sc-1ax3s9s-4"
|
|
28075
|
-
})(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
|
|
28009
|
+
})(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), searchTokens.container.base);
|
|
28076
28010
|
var ButtonWrapper = styled$3.div.withConfig({
|
|
28077
28011
|
displayName: "Search__ButtonWrapper",
|
|
28078
|
-
componentId: "sc-1ax3s9s-
|
|
28079
|
-
})(
|
|
28012
|
+
componentId: "sc-1ax3s9s-3"
|
|
28013
|
+
})(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject([""], [""])));
|
|
28080
28014
|
var nextUniqueId$b = 0;
|
|
28081
28015
|
var Search = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28082
28016
|
var _b = _a.componentSize,
|
|
@@ -28098,7 +28032,9 @@ var Search = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28098
28032
|
style: style
|
|
28099
28033
|
};
|
|
28100
28034
|
|
|
28101
|
-
var inputProps = __assign(__assign({
|
|
28035
|
+
var inputProps = __assign(__assign({
|
|
28036
|
+
ref: ref
|
|
28037
|
+
}, rest), {
|
|
28102
28038
|
componentSize: componentSize,
|
|
28103
28039
|
name: name,
|
|
28104
28040
|
type: 'search',
|
|
@@ -28111,20 +28047,20 @@ var Search = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28111
28047
|
onClick = _c.onClick,
|
|
28112
28048
|
otherButtonProps = __rest(_c, ["label", "onClick"]);
|
|
28113
28049
|
|
|
28114
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
28115
|
-
children: [jsxRuntime.exports.jsxs(
|
|
28116
|
-
|
|
28050
|
+
return jsxRuntime.exports.jsxs(Container$c, __assign({}, containerProps, {
|
|
28051
|
+
children: [jsxRuntime.exports.jsxs(OuterInputContainer, __assign({
|
|
28052
|
+
width: "100%"
|
|
28053
|
+
}, {
|
|
28054
|
+
children: [jsxRuntime.exports.jsxs(InputContainer, {
|
|
28117
28055
|
children: [jsxRuntime.exports.jsx(IconWrapper, {
|
|
28118
28056
|
children: jsxRuntime.exports.jsx(default_1$c, {})
|
|
28119
|
-
}), jsxRuntime.exports.jsx(Input$1, __assign({
|
|
28120
|
-
ref: ref
|
|
28121
|
-
}, inputProps))]
|
|
28057
|
+
}), jsxRuntime.exports.jsx(Input$1, __assign({}, inputProps))]
|
|
28122
28058
|
}), hasTip && jsxRuntime.exports.jsx(InputMessage, {
|
|
28123
28059
|
id: tipId,
|
|
28124
28060
|
messageType: "tip",
|
|
28125
28061
|
message: tip
|
|
28126
28062
|
})]
|
|
28127
|
-
}), buttonProps && onClick && jsxRuntime.exports.jsx(ButtonWrapper, {
|
|
28063
|
+
})), buttonProps && onClick && jsxRuntime.exports.jsx(ButtonWrapper, {
|
|
28128
28064
|
children: jsxRuntime.exports.jsx(Button$1, __assign({
|
|
28129
28065
|
size: componentSize,
|
|
28130
28066
|
label: label || 'Søk',
|
|
@@ -28133,7 +28069,7 @@ var Search = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28133
28069
|
})]
|
|
28134
28070
|
}));
|
|
28135
28071
|
});
|
|
28136
|
-
var templateObject_1$
|
|
28072
|
+
var templateObject_1$H, templateObject_2$v, templateObject_3$j, templateObject_4$d, templateObject_5$7;
|
|
28137
28073
|
|
|
28138
28074
|
var Colors$d = ddsBaseTokens.colors,
|
|
28139
28075
|
Spacing$l = ddsBaseTokens.spacing;
|
|
@@ -28193,10 +28129,10 @@ var StyledTable = styled$3.table.withConfig({
|
|
|
28193
28129
|
componentId: "sc-bw0w0a-0"
|
|
28194
28130
|
})(templateObject_3$i || (templateObject_3$i = __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) {
|
|
28195
28131
|
var density = _a.density;
|
|
28196
|
-
return density && Ae(templateObject_1$
|
|
28132
|
+
return density && Ae(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n td,\n th {\n ", "\n }\n "], ["\n td,\n th {\n ", "\n }\n "])), cellTokens.density[density].base);
|
|
28197
28133
|
}, function (_a) {
|
|
28198
28134
|
var stickyHeader = _a.stickyHeader;
|
|
28199
|
-
return stickyHeader && Ae(templateObject_2$
|
|
28135
|
+
return stickyHeader && Ae(templateObject_2$u || (templateObject_2$u = __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 "])));
|
|
28200
28136
|
});
|
|
28201
28137
|
var Table = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28202
28138
|
var _b = _a.density,
|
|
@@ -28213,12 +28149,12 @@ var Table = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28213
28149
|
children: children
|
|
28214
28150
|
}));
|
|
28215
28151
|
});
|
|
28216
|
-
var templateObject_1$
|
|
28152
|
+
var templateObject_1$G, templateObject_2$u, templateObject_3$i;
|
|
28217
28153
|
|
|
28218
28154
|
var StyledBody = styled$3.tbody.withConfig({
|
|
28219
28155
|
displayName: "Body__StyledBody",
|
|
28220
28156
|
componentId: "sc-67qjfs-0"
|
|
28221
|
-
})(templateObject_1$
|
|
28157
|
+
})(templateObject_1$F || (templateObject_1$F = __makeTemplateObject([""], [""])));
|
|
28222
28158
|
var Body$1 = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28223
28159
|
var children = _a.children,
|
|
28224
28160
|
rest = __rest(_a, ["children"]);
|
|
@@ -28231,12 +28167,12 @@ var Body$1 = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28231
28167
|
children: children
|
|
28232
28168
|
}));
|
|
28233
28169
|
});
|
|
28234
|
-
var templateObject_1$
|
|
28170
|
+
var templateObject_1$F;
|
|
28235
28171
|
|
|
28236
28172
|
var StyledHead = styled$3.thead.withConfig({
|
|
28237
28173
|
displayName: "Head__StyledHead",
|
|
28238
28174
|
componentId: "sc-vzd2kv-0"
|
|
28239
|
-
})(templateObject_1$
|
|
28175
|
+
})(templateObject_1$E || (templateObject_1$E = __makeTemplateObject([""], [""])));
|
|
28240
28176
|
var Head = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28241
28177
|
var children = _a.children,
|
|
28242
28178
|
rest = __rest(_a, ["children"]);
|
|
@@ -28249,7 +28185,7 @@ var Head = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28249
28185
|
children: children
|
|
28250
28186
|
}));
|
|
28251
28187
|
});
|
|
28252
|
-
var templateObject_1$
|
|
28188
|
+
var templateObject_1$E;
|
|
28253
28189
|
|
|
28254
28190
|
var Colors$c = ddsBaseTokens.colors,
|
|
28255
28191
|
FontPackages$b = ddsBaseTokens.fontPackages,
|
|
@@ -28322,7 +28258,7 @@ var rowTokens = {
|
|
|
28322
28258
|
};
|
|
28323
28259
|
|
|
28324
28260
|
var bodyStyles = function bodyStyles(mode, selected) {
|
|
28325
|
-
return Ae(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), mode && Ae(templateObject_1$
|
|
28261
|
+
return Ae(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), mode && Ae(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens.body.mode[mode].base), selected && Ae(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens.body.selected.base));
|
|
28326
28262
|
};
|
|
28327
28263
|
|
|
28328
28264
|
var StyledRow = styled$3.tr.withConfig({
|
|
@@ -28357,15 +28293,15 @@ var Row = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28357
28293
|
children: children
|
|
28358
28294
|
}));
|
|
28359
28295
|
});
|
|
28360
|
-
var templateObject_1$
|
|
28296
|
+
var templateObject_1$D, templateObject_2$t, templateObject_3$h, templateObject_4$c, templateObject_5$6, templateObject_6$5, templateObject_7$3;
|
|
28361
28297
|
|
|
28362
28298
|
var layoutStyle = function layoutStyle(layout) {
|
|
28363
28299
|
switch (layout) {
|
|
28364
28300
|
case 'center':
|
|
28365
|
-
return Ae(templateObject_1$
|
|
28301
|
+
return Ae(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "])));
|
|
28366
28302
|
|
|
28367
28303
|
case 'right':
|
|
28368
|
-
return Ae(templateObject_2$
|
|
28304
|
+
return Ae(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n justify-content: flex-end;\n "], ["\n justify-content: flex-end;\n "])));
|
|
28369
28305
|
|
|
28370
28306
|
case 'text and icon':
|
|
28371
28307
|
return Ae(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n & > *:first-of-type {\n ", "\n }\n "], ["\n & > *:first-of-type {\n ", "\n }\n "])), cellTokens.data.layout.textAndIcon.base);
|
|
@@ -28428,7 +28364,7 @@ var Cell = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28428
28364
|
}))
|
|
28429
28365
|
}));
|
|
28430
28366
|
});
|
|
28431
|
-
var templateObject_1$
|
|
28367
|
+
var templateObject_1$C, templateObject_2$s, templateObject_3$g, templateObject_4$b, templateObject_5$5, templateObject_6$4;
|
|
28432
28368
|
|
|
28433
28369
|
var KeyboardArrowDown = {};
|
|
28434
28370
|
|
|
@@ -28490,11 +28426,11 @@ default_1$9 = UnfoldMore.default = _default$9;
|
|
|
28490
28426
|
var SortIconWrapper = styled$3(IconWrapper$1).withConfig({
|
|
28491
28427
|
displayName: "SortCell__SortIconWrapper",
|
|
28492
28428
|
componentId: "sc-1l3jzvh-0"
|
|
28493
|
-
})(templateObject_1$
|
|
28429
|
+
})(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), cellTokens.head.sortCell.icon.base);
|
|
28494
28430
|
var StyledButton$3 = styled$3.button.withConfig({
|
|
28495
28431
|
displayName: "SortCell__StyledButton",
|
|
28496
28432
|
componentId: "sc-1l3jzvh-1"
|
|
28497
|
-
})(templateObject_2$
|
|
28433
|
+
})(templateObject_2$r || (templateObject_2$r = __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);
|
|
28498
28434
|
|
|
28499
28435
|
var makeSortIcon = function makeSortIcon(isSorted, sortOrder) {
|
|
28500
28436
|
if (!isSorted || !sortOrder) {
|
|
@@ -28533,12 +28469,12 @@ var SortCell = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28533
28469
|
}))
|
|
28534
28470
|
}));
|
|
28535
28471
|
});
|
|
28536
|
-
var templateObject_1$
|
|
28472
|
+
var templateObject_1$B, templateObject_2$r;
|
|
28537
28473
|
|
|
28538
28474
|
var StyledFoot = styled$3.tfoot.withConfig({
|
|
28539
28475
|
displayName: "Foot__StyledFoot",
|
|
28540
28476
|
componentId: "sc-tfpehd-0"
|
|
28541
|
-
})(templateObject_1$
|
|
28477
|
+
})(templateObject_1$A || (templateObject_1$A = __makeTemplateObject([""], [""])));
|
|
28542
28478
|
var Foot = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28543
28479
|
var children = _a.children,
|
|
28544
28480
|
rest = __rest(_a, ["children"]);
|
|
@@ -28551,14 +28487,14 @@ var Foot = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28551
28487
|
children: children
|
|
28552
28488
|
}));
|
|
28553
28489
|
});
|
|
28554
|
-
var templateObject_1$
|
|
28490
|
+
var templateObject_1$A;
|
|
28555
28491
|
|
|
28556
28492
|
var Wrapper$5 = styled$3.div.withConfig({
|
|
28557
28493
|
displayName: "TableWrapper__Wrapper",
|
|
28558
28494
|
componentId: "sc-eb384b-0"
|
|
28559
|
-
})(templateObject_2$
|
|
28495
|
+
})(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), function (_a) {
|
|
28560
28496
|
var overflowX = _a.overflowX;
|
|
28561
|
-
return overflowX && Ae(templateObject_1$
|
|
28497
|
+
return overflowX && Ae(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n overflow-x: auto;\n "], ["\n overflow-x: auto;\n "])));
|
|
28562
28498
|
}, scrollbarStyling);
|
|
28563
28499
|
var TableWrapper = function TableWrapper(_a) {
|
|
28564
28500
|
var children = _a.children,
|
|
@@ -28605,7 +28541,7 @@ var TableWrapper = function TableWrapper(_a) {
|
|
|
28605
28541
|
children: children
|
|
28606
28542
|
}));
|
|
28607
28543
|
};
|
|
28608
|
-
var templateObject_1$
|
|
28544
|
+
var templateObject_1$z, templateObject_2$q;
|
|
28609
28545
|
|
|
28610
28546
|
var Breadcrumb = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28611
28547
|
var children = _a.children,
|
|
@@ -28688,11 +28624,11 @@ var breadcrumbTokens = {
|
|
|
28688
28624
|
var List$2 = styled$3.ol.withConfig({
|
|
28689
28625
|
displayName: "Breadcrumbs__List",
|
|
28690
28626
|
componentId: "sc-xdj21o-0"
|
|
28691
|
-
})(templateObject_1$
|
|
28627
|
+
})(templateObject_1$y || (templateObject_1$y = __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"])));
|
|
28692
28628
|
var ListItem$2 = styled$3.li.withConfig({
|
|
28693
28629
|
displayName: "Breadcrumbs__ListItem",
|
|
28694
28630
|
componentId: "sc-xdj21o-1"
|
|
28695
|
-
})(templateObject_2$
|
|
28631
|
+
})(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n align-items: center;\n display: flex;\n ", "\n"], ["\n align-items: center;\n display: flex;\n ", "\n"])), breadcrumbTokens.breadcrumb.base);
|
|
28696
28632
|
var BreadcrumbIcon = styled$3(default_1$8).withConfig({
|
|
28697
28633
|
displayName: "Breadcrumbs__BreadcrumbIcon",
|
|
28698
28634
|
componentId: "sc-xdj21o-2"
|
|
@@ -28732,7 +28668,7 @@ var Breadcrumbs = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28732
28668
|
})
|
|
28733
28669
|
}));
|
|
28734
28670
|
});
|
|
28735
|
-
var templateObject_1$
|
|
28671
|
+
var templateObject_1$y, templateObject_2$p, templateObject_3$f, templateObject_4$a;
|
|
28736
28672
|
|
|
28737
28673
|
var ChevronLeftOutlined = {};
|
|
28738
28674
|
|
|
@@ -28872,11 +28808,11 @@ var paginationTokens = {
|
|
|
28872
28808
|
var Nav = styled$3.nav.withConfig({
|
|
28873
28809
|
displayName: "Pagination__Nav",
|
|
28874
28810
|
componentId: "sc-5ltegq-0"
|
|
28875
|
-
})(templateObject_1$
|
|
28811
|
+
})(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
|
|
28876
28812
|
var List$1 = styled$3.ol.withConfig({
|
|
28877
28813
|
displayName: "Pagination__List",
|
|
28878
28814
|
componentId: "sc-5ltegq-1"
|
|
28879
|
-
})(templateObject_2$
|
|
28815
|
+
})(templateObject_2$o || (templateObject_2$o = __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);
|
|
28880
28816
|
var ListItem$1 = styled$3.li.withConfig({
|
|
28881
28817
|
displayName: "Pagination__ListItem",
|
|
28882
28818
|
componentId: "sc-5ltegq-2"
|
|
@@ -28884,7 +28820,7 @@ var ListItem$1 = styled$3.li.withConfig({
|
|
|
28884
28820
|
var isHidden = _a.isHidden;
|
|
28885
28821
|
return isHidden && Ae(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n visibility: hidden;\n "], ["\n visibility: hidden;\n "])));
|
|
28886
28822
|
});
|
|
28887
|
-
var Container$
|
|
28823
|
+
var Container$b = styled$3.div.withConfig({
|
|
28888
28824
|
displayName: "Pagination__Container",
|
|
28889
28825
|
componentId: "sc-5ltegq-3"
|
|
28890
28826
|
})(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) {
|
|
@@ -29074,7 +29010,7 @@ var Pagination = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29074
29010
|
var activePageFirstItem = activePage === 1 ? 1 : activePage * itemsPerPage - itemsPerPage + 1;
|
|
29075
29011
|
var activePageLastItem = activePage === pagesLength ? itemsAmount : activePage * itemsPerPage;
|
|
29076
29012
|
var navigationToBeRendered = smallScreen ? smallScreenNavigation : navigation;
|
|
29077
|
-
return !withCounter && !withSelect ? navigationToBeRendered : jsxRuntime.exports.jsxs(Container$
|
|
29013
|
+
return !withCounter && !withSelect ? navigationToBeRendered : jsxRuntime.exports.jsxs(Container$b, __assign({}, containerProps, {
|
|
29078
29014
|
children: [jsxRuntime.exports.jsxs(IndicatorsContainer, {
|
|
29079
29015
|
children: [withSelect && jsxRuntime.exports.jsx(Select, {
|
|
29080
29016
|
options: selectOptions,
|
|
@@ -29096,7 +29032,7 @@ var Pagination = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29096
29032
|
}), navigationToBeRendered]
|
|
29097
29033
|
}));
|
|
29098
29034
|
});
|
|
29099
|
-
var templateObject_1$
|
|
29035
|
+
var templateObject_1$x, templateObject_2$o, templateObject_3$e, templateObject_4$9, templateObject_5$4, templateObject_6$3, templateObject_7$2, templateObject_8$2;
|
|
29100
29036
|
|
|
29101
29037
|
var Border$9 = ddsBaseTokens.border,
|
|
29102
29038
|
Spacing$i = ddsBaseTokens.spacing;
|
|
@@ -29118,9 +29054,9 @@ var dividerTokens = {
|
|
|
29118
29054
|
var DividerLine = styled$3.hr.withConfig({
|
|
29119
29055
|
displayName: "Divider__DividerLine",
|
|
29120
29056
|
componentId: "sc-ggdopz-0"
|
|
29121
|
-
})(templateObject_2$
|
|
29057
|
+
})(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), dividerTokens.base, function (_a) {
|
|
29122
29058
|
var color = _a.color;
|
|
29123
|
-
return color && Ae(templateObject_1$
|
|
29059
|
+
return color && Ae(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n border-color: ", ";\n "], ["\n border-color: ", ";\n "])), dividerColors[color]);
|
|
29124
29060
|
});
|
|
29125
29061
|
var Divider = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29126
29062
|
var _b = _a.color,
|
|
@@ -29135,7 +29071,7 @@ var Divider = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29135
29071
|
ref: ref
|
|
29136
29072
|
}, lineProps));
|
|
29137
29073
|
});
|
|
29138
|
-
var templateObject_1$
|
|
29074
|
+
var templateObject_1$w, templateObject_2$n;
|
|
29139
29075
|
|
|
29140
29076
|
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";
|
|
29141
29077
|
|
|
@@ -29202,10 +29138,10 @@ var StyledList = styled$3.ul.withConfig({
|
|
|
29202
29138
|
componentId: "sc-1f1c7eb-0"
|
|
29203
29139
|
})(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) {
|
|
29204
29140
|
var typographyType = _a.typographyType;
|
|
29205
|
-
return typographyType && Ae(templateObject_1$
|
|
29141
|
+
return typographyType && Ae(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n ", "\n ul,\n ol {\n ", "\n }\n "], ["\n ", "\n ul,\n ol {\n ", "\n }\n "])), listTokens.sizes[typographyType], listTokens.sizes[typographyType]);
|
|
29206
29142
|
}, function (_a) {
|
|
29207
29143
|
var listType = _a.listType;
|
|
29208
|
-
return listType === 'unordered' ? Ae(templateObject_2$
|
|
29144
|
+
return listType === 'unordered' ? Ae(templateObject_2$m || (templateObject_2$m = __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$d || (templateObject_3$d = __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);
|
|
29209
29145
|
});
|
|
29210
29146
|
var List = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29211
29147
|
var _b = _a.listType,
|
|
@@ -29228,12 +29164,12 @@ var List = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29228
29164
|
children: children
|
|
29229
29165
|
}));
|
|
29230
29166
|
});
|
|
29231
|
-
var templateObject_1$
|
|
29167
|
+
var templateObject_1$v, templateObject_2$m, templateObject_3$d, templateObject_4$8;
|
|
29232
29168
|
|
|
29233
29169
|
var StyledListItem = styled$3.li.withConfig({
|
|
29234
29170
|
displayName: "ListItem__StyledListItem",
|
|
29235
29171
|
componentId: "sc-17s9l0b-0"
|
|
29236
|
-
})(templateObject_1$
|
|
29172
|
+
})(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), listItemTokens.base);
|
|
29237
29173
|
var ListItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29238
29174
|
var children = _a.children,
|
|
29239
29175
|
rest = __rest(_a, ["children"]);
|
|
@@ -29244,7 +29180,7 @@ var ListItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29244
29180
|
children: children
|
|
29245
29181
|
}));
|
|
29246
29182
|
});
|
|
29247
|
-
var templateObject_1$
|
|
29183
|
+
var templateObject_1$u;
|
|
29248
29184
|
|
|
29249
29185
|
var Spacing$f = ddsBaseTokens.spacing,
|
|
29250
29186
|
FontPackages$8 = ddsBaseTokens.fontPackages,
|
|
@@ -29275,9 +29211,9 @@ var descriptionListTermTokens = {
|
|
|
29275
29211
|
var DList = styled$3.dl.withConfig({
|
|
29276
29212
|
displayName: "DescriptionList__DList",
|
|
29277
29213
|
componentId: "sc-1ob73hm-0"
|
|
29278
|
-
})(templateObject_2$
|
|
29214
|
+
})(templateObject_2$l || (templateObject_2$l = __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) {
|
|
29279
29215
|
var appearance = _a.appearance;
|
|
29280
|
-
return appearance && Ae(templateObject_1$
|
|
29216
|
+
return appearance && Ae(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n dt {\n ", "\n }\n "], ["\n dt {\n ", "\n }\n "])), descriptionListTermTokens.appearance[appearance].base);
|
|
29281
29217
|
}, descriptionListTermTokens.unwrappedTopAndBottomSpace, descriptionListTermTokens.unwrappedTopAndBottomSpace, descriptionListTermTokens.unwrappedBetweenSpace);
|
|
29282
29218
|
var DescriptionList = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29283
29219
|
var _b = _a.appearance,
|
|
@@ -29294,12 +29230,12 @@ var DescriptionList = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29294
29230
|
children: children
|
|
29295
29231
|
}));
|
|
29296
29232
|
});
|
|
29297
|
-
var templateObject_1$
|
|
29233
|
+
var templateObject_1$t, templateObject_2$l;
|
|
29298
29234
|
|
|
29299
29235
|
var DListTerm = styled$3.dt.withConfig({
|
|
29300
29236
|
displayName: "DescriptionListTerm__DListTerm",
|
|
29301
29237
|
componentId: "sc-10w0rzr-0"
|
|
29302
|
-
})(templateObject_1$
|
|
29238
|
+
})(templateObject_1$s || (templateObject_1$s = __makeTemplateObject([""], [""])));
|
|
29303
29239
|
var DescriptionListTerm = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29304
29240
|
var children = _a.children,
|
|
29305
29241
|
rest = __rest(_a, ["children"]);
|
|
@@ -29312,7 +29248,7 @@ var DescriptionListTerm = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29312
29248
|
children: children
|
|
29313
29249
|
}));
|
|
29314
29250
|
});
|
|
29315
|
-
var templateObject_1$
|
|
29251
|
+
var templateObject_1$s;
|
|
29316
29252
|
|
|
29317
29253
|
var Spacing$e = ddsBaseTokens.spacing,
|
|
29318
29254
|
FontPackages$7 = ddsBaseTokens.fontPackages;
|
|
@@ -29335,11 +29271,11 @@ var descriptionListDescTokens = {
|
|
|
29335
29271
|
var DListDesc = styled$3.dd.withConfig({
|
|
29336
29272
|
displayName: "DescriptionListDesc__DListDesc",
|
|
29337
29273
|
componentId: "sc-1djcf0s-0"
|
|
29338
|
-
})(templateObject_1$
|
|
29274
|
+
})(templateObject_1$r || (templateObject_1$r = __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);
|
|
29339
29275
|
var StyledIconWrapper$1 = styled$3(IconWrapper$1).withConfig({
|
|
29340
29276
|
displayName: "DescriptionListDesc__StyledIconWrapper",
|
|
29341
29277
|
componentId: "sc-1djcf0s-1"
|
|
29342
|
-
})(templateObject_2$
|
|
29278
|
+
})(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), descriptionListDescTokens.icon.base);
|
|
29343
29279
|
var DescriptionListDesc = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29344
29280
|
var children = _a.children,
|
|
29345
29281
|
Icon = _a.Icon,
|
|
@@ -29356,7 +29292,7 @@ var DescriptionListDesc = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29356
29292
|
}), " ", children]
|
|
29357
29293
|
}));
|
|
29358
29294
|
});
|
|
29359
|
-
var templateObject_1$
|
|
29295
|
+
var templateObject_1$r, templateObject_2$k;
|
|
29360
29296
|
|
|
29361
29297
|
var Spacing$d = ddsBaseTokens.spacing;
|
|
29362
29298
|
var base$5 = {
|
|
@@ -29369,9 +29305,9 @@ var descriptionListGroupTokens = {
|
|
|
29369
29305
|
var DListGroup = styled$3.div.withConfig({
|
|
29370
29306
|
displayName: "DescriptionListGroup__DListGroup",
|
|
29371
29307
|
componentId: "sc-jkdc0o-0"
|
|
29372
|
-
})(templateObject_2$
|
|
29308
|
+
})(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), descriptionListGroupTokens.base, function (_a) {
|
|
29373
29309
|
var margin = _a.margin;
|
|
29374
|
-
return margin && Ae(templateObject_1$
|
|
29310
|
+
return margin && Ae(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n margin: ", ";\n "], ["\n margin: ", ";\n "])), margin);
|
|
29375
29311
|
});
|
|
29376
29312
|
var DescriptionListGroup = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29377
29313
|
var children = _a.children,
|
|
@@ -29386,7 +29322,7 @@ var DescriptionListGroup = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29386
29322
|
children: children
|
|
29387
29323
|
}));
|
|
29388
29324
|
});
|
|
29389
|
-
var templateObject_1$
|
|
29325
|
+
var templateObject_1$q, templateObject_2$j;
|
|
29390
29326
|
|
|
29391
29327
|
var Colors$8 = ddsBaseTokens.colors,
|
|
29392
29328
|
Border$8 = ddsBaseTokens.border,
|
|
@@ -29447,15 +29383,15 @@ var cardTokens = {
|
|
|
29447
29383
|
}
|
|
29448
29384
|
};
|
|
29449
29385
|
|
|
29450
|
-
var Container$
|
|
29386
|
+
var Container$a = styled$3.div.withConfig({
|
|
29451
29387
|
displayName: "Card__Container",
|
|
29452
29388
|
componentId: "sc-410ao9-0"
|
|
29453
29389
|
})(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) {
|
|
29454
29390
|
var color = _a.color;
|
|
29455
|
-
return color && Ae(templateObject_1$
|
|
29391
|
+
return color && Ae(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), cardTokens.colors[color].base);
|
|
29456
29392
|
}, function (_a) {
|
|
29457
29393
|
var cardType = _a.cardType;
|
|
29458
|
-
return cardType === 'navigation' ? Ae(templateObject_2$
|
|
29394
|
+
return cardType === 'navigation' ? Ae(templateObject_2$i || (templateObject_2$i = __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$c || (templateObject_3$c = __makeTemplateObject(["\n &:not(:first-of-type) {\n border-top: none;\n }\n "], ["\n &:not(:first-of-type) {\n border-top: none;\n }\n "]))) : '';
|
|
29459
29395
|
});
|
|
29460
29396
|
var Card = function Card(props) {
|
|
29461
29397
|
var _a;
|
|
@@ -29463,7 +29399,7 @@ var Card = function Card(props) {
|
|
|
29463
29399
|
var color = (_a = props.color) !== null && _a !== void 0 ? _a : 'filledLight';
|
|
29464
29400
|
|
|
29465
29401
|
if (props.cardType === 'navigation') {
|
|
29466
|
-
return jsxRuntime.exports.jsx(Container$
|
|
29402
|
+
return jsxRuntime.exports.jsx(Container$a, __assign({}, props, {
|
|
29467
29403
|
cardType: props.cardType,
|
|
29468
29404
|
color: color,
|
|
29469
29405
|
as: "a",
|
|
@@ -29473,7 +29409,7 @@ var Card = function Card(props) {
|
|
|
29473
29409
|
}));
|
|
29474
29410
|
}
|
|
29475
29411
|
|
|
29476
|
-
return jsxRuntime.exports.jsx(Container$
|
|
29412
|
+
return jsxRuntime.exports.jsx(Container$a, __assign({}, props, {
|
|
29477
29413
|
cardType: props.cardType,
|
|
29478
29414
|
color: color,
|
|
29479
29415
|
as: "div",
|
|
@@ -29482,12 +29418,12 @@ var Card = function Card(props) {
|
|
|
29482
29418
|
children: props.children
|
|
29483
29419
|
}));
|
|
29484
29420
|
};
|
|
29485
|
-
var templateObject_1$
|
|
29421
|
+
var templateObject_1$p, templateObject_2$i, templateObject_3$c, templateObject_4$7;
|
|
29486
29422
|
|
|
29487
29423
|
var Wrapper$4 = styled$3.div.withConfig({
|
|
29488
29424
|
displayName: "CardAccordion__Wrapper",
|
|
29489
29425
|
componentId: "sc-1ctxrby-0"
|
|
29490
|
-
})(templateObject_1$
|
|
29426
|
+
})(templateObject_1$o || (templateObject_1$o = __makeTemplateObject([""], [""])));
|
|
29491
29427
|
var nextUniqueId$a = 0;
|
|
29492
29428
|
var CardAccordion = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29493
29429
|
var _b = _a.isExpanded,
|
|
@@ -29533,7 +29469,7 @@ var CardAccordion = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29533
29469
|
children: Children$1
|
|
29534
29470
|
}));
|
|
29535
29471
|
});
|
|
29536
|
-
var templateObject_1$
|
|
29472
|
+
var templateObject_1$o;
|
|
29537
29473
|
|
|
29538
29474
|
var Spacing$c = ddsBaseTokens.spacing,
|
|
29539
29475
|
FontPackages$5 = ddsBaseTokens.fontPackages,
|
|
@@ -29575,11 +29511,11 @@ var cardAccordionHeaderTokens = {
|
|
|
29575
29511
|
var ContentWrapper = styled$3.div.withConfig({
|
|
29576
29512
|
displayName: "CardAccordionHeader__ContentWrapper",
|
|
29577
29513
|
componentId: "sc-1qs6bkj-0"
|
|
29578
|
-
})(templateObject_1$
|
|
29514
|
+
})(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n text-align: left;\n"], ["\n text-align: left;\n"])));
|
|
29579
29515
|
var HeaderContainer$2 = styled$3.div.withConfig({
|
|
29580
29516
|
displayName: "CardAccordionHeader__HeaderContainer",
|
|
29581
29517
|
componentId: "sc-1qs6bkj-1"
|
|
29582
|
-
})(templateObject_2$
|
|
29518
|
+
})(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n transition: box-shadow 0.2s;\n ", "\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: center;\n transition: box-shadow 0.2s;\n ", "\n"])), cardAccordionHeaderTokens.base);
|
|
29583
29519
|
var HeaderWrapper = styled$3.button.withConfig({
|
|
29584
29520
|
displayName: "CardAccordionHeader__HeaderWrapper",
|
|
29585
29521
|
componentId: "sc-1qs6bkj-2"
|
|
@@ -29624,7 +29560,7 @@ var CardAccordionHeader = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29624
29560
|
})
|
|
29625
29561
|
}));
|
|
29626
29562
|
});
|
|
29627
|
-
var templateObject_1$
|
|
29563
|
+
var templateObject_1$n, templateObject_2$h, templateObject_3$b, templateObject_4$6;
|
|
29628
29564
|
|
|
29629
29565
|
var Spacing$b = ddsBaseTokens.spacing,
|
|
29630
29566
|
FontPackages$4 = ddsBaseTokens.fontPackages;
|
|
@@ -29637,13 +29573,13 @@ var cardAccordionBodyTokens = {
|
|
|
29637
29573
|
base: base$2
|
|
29638
29574
|
};
|
|
29639
29575
|
|
|
29640
|
-
var expandingAnimation = Ae(templateObject_1$
|
|
29576
|
+
var expandingAnimation = Ae(templateObject_1$m || (templateObject_1$m = __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"])));
|
|
29641
29577
|
var Body = styled$3.div.withConfig({
|
|
29642
29578
|
displayName: "CardAccordionBody__Body",
|
|
29643
29579
|
componentId: "sc-igsnpx-0"
|
|
29644
29580
|
})(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n ", "\n"])), expandingAnimation, cardAccordionBodyTokens.base, function (_a) {
|
|
29645
29581
|
var paddingTop = _a.paddingTop;
|
|
29646
|
-
return paddingTop && Ae(templateObject_2$
|
|
29582
|
+
return paddingTop && Ae(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n padding-top: ", ";\n "], ["\n padding-top: ", ";\n "])), paddingTop);
|
|
29647
29583
|
}, function (_a) {
|
|
29648
29584
|
var isExpanded = _a.isExpanded;
|
|
29649
29585
|
return !isExpanded && Ae(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["\n padding-top: 0;\n padding-bottom: 0;\n "], ["\n padding-top: 0;\n padding-bottom: 0;\n "])));
|
|
@@ -29698,7 +29634,7 @@ var CardAccordionBody = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29698
29634
|
}))
|
|
29699
29635
|
}));
|
|
29700
29636
|
});
|
|
29701
|
-
var templateObject_1$
|
|
29637
|
+
var templateObject_1$m, templateObject_2$g, templateObject_3$a, templateObject_4$5, templateObject_5$3;
|
|
29702
29638
|
|
|
29703
29639
|
var MoreVertOutlined = {};
|
|
29704
29640
|
|
|
@@ -31599,11 +31535,11 @@ var overflowMenuTokens = {
|
|
|
31599
31535
|
var Span = styled$3.span.withConfig({
|
|
31600
31536
|
displayName: "OverflowMenuItem__Span",
|
|
31601
31537
|
componentId: "sc-1ka2asi-0"
|
|
31602
|
-
})(templateObject_1$
|
|
31538
|
+
})(templateObject_1$l || (templateObject_1$l = __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);
|
|
31603
31539
|
var Link$2 = styled$3.a.withConfig({
|
|
31604
31540
|
displayName: "OverflowMenuItem__Link",
|
|
31605
31541
|
componentId: "sc-1ka2asi-1"
|
|
31606
|
-
})(templateObject_2$
|
|
31542
|
+
})(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n box-sizing: border-box;\n background: none;\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n outline: inherit;\n width: 100%;\n ", "\n display: flex;\n align-items: center;\n transition: background-color 0.2s;\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n &:focus-visible,\n &.focus-visible {\n ", "\n }\n"], ["\n box-sizing: border-box;\n background: none;\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n outline: inherit;\n width: 100%;\n ", "\n display: flex;\n align-items: center;\n transition: background-color 0.2s;\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n &:focus-visible,\n &.focus-visible {\n ", "\n }\n"])), overflowMenuTokens.link.base, overflowMenuTokens.link.hover.base, overflowMenuTokens.link.active.base, overflowMenuTokens.link.focus.base);
|
|
31607
31543
|
var StyledIconWrapper = styled$3(IconWrapper$1).withConfig({
|
|
31608
31544
|
displayName: "OverflowMenuItem__StyledIconWrapper",
|
|
31609
31545
|
componentId: "sc-1ka2asi-2"
|
|
@@ -31685,7 +31621,7 @@ var OverflowMenuItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31685
31621
|
children: [icon, title]
|
|
31686
31622
|
}));
|
|
31687
31623
|
});
|
|
31688
|
-
var templateObject_1$
|
|
31624
|
+
var templateObject_1$l, templateObject_2$f, templateObject_3$9;
|
|
31689
31625
|
|
|
31690
31626
|
var PersonOutlineOutlined = {};
|
|
31691
31627
|
|
|
@@ -31706,17 +31642,17 @@ var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("p
|
|
|
31706
31642
|
|
|
31707
31643
|
default_1 = PersonOutlineOutlined.default = _default;
|
|
31708
31644
|
|
|
31709
|
-
var Container$
|
|
31645
|
+
var Container$9 = styled$3.div.withConfig({
|
|
31710
31646
|
displayName: "OverflowMenu__Container",
|
|
31711
31647
|
componentId: "sc-kh744b-0"
|
|
31712
|
-
})(templateObject_1$
|
|
31648
|
+
})(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n box-sizing: border-box;\n z-index: 3;\n overflow-y: auto;\n min-width: 180px;\n max-width: 300px;\n ", "\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 ", "\n ", "\n ", "\n *::selection {\n ", "\n }\n"])), function (_a) {
|
|
31713
31649
|
var isOpen = _a.isOpen;
|
|
31714
31650
|
return visibilityTransition(isOpen);
|
|
31715
31651
|
}, overflowMenuTokens.container.base, scrollbarStyling, typographyTokens.selection.base);
|
|
31716
31652
|
var OverflowMenuList = styled$3.ul.withConfig({
|
|
31717
31653
|
displayName: "OverflowMenu__OverflowMenuList",
|
|
31718
31654
|
componentId: "sc-kh744b-1"
|
|
31719
|
-
})(templateObject_2$
|
|
31655
|
+
})(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n list-style-type: none;\n padding: 0;\n margin: 0;\n"], ["\n display: flex;\n flex-direction: column;\n list-style-type: none;\n padding: 0;\n margin: 0;\n"])));
|
|
31720
31656
|
var StyledDivider = styled$3(Divider).withConfig({
|
|
31721
31657
|
displayName: "OverflowMenu__StyledDivider",
|
|
31722
31658
|
componentId: "sc-kh744b-2"
|
|
@@ -31834,7 +31770,7 @@ var OverflowMenu = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31834
31770
|
role: 'menu'
|
|
31835
31771
|
});
|
|
31836
31772
|
|
|
31837
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
31773
|
+
return jsxRuntime.exports.jsxs(Container$9, __assign({}, containerProps, {
|
|
31838
31774
|
"aria-label": "bruk piltaster for \xE5 navigere"
|
|
31839
31775
|
}, {
|
|
31840
31776
|
children: [hasStaticUser && jsxRuntime.exports.jsx(OverflowMenuItem, {
|
|
@@ -31843,7 +31779,7 @@ var OverflowMenu = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31843
31779
|
}), interactiveContent()]
|
|
31844
31780
|
}));
|
|
31845
31781
|
});
|
|
31846
|
-
var templateObject_1$
|
|
31782
|
+
var templateObject_1$k, templateObject_2$e, templateObject_3$8;
|
|
31847
31783
|
|
|
31848
31784
|
var nextUniqueId$9 = 0;
|
|
31849
31785
|
var OverflowMenuGroup = function OverflowMenuGroup(_a) {
|
|
@@ -31903,13 +31839,13 @@ var OverflowMenuGroup = function OverflowMenuGroup(_a) {
|
|
|
31903
31839
|
var Wrapper$3 = styled$3.div.withConfig({
|
|
31904
31840
|
displayName: "InternalHeaderstyles__Wrapper",
|
|
31905
31841
|
componentId: "sc-91bnca-0"
|
|
31906
|
-
})(templateObject_1$
|
|
31842
|
+
})(templateObject_1$j || (templateObject_1$j = __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);
|
|
31907
31843
|
var BannerWrapper = styled$3.div.withConfig({
|
|
31908
31844
|
displayName: "InternalHeaderstyles__BannerWrapper",
|
|
31909
31845
|
componentId: "sc-91bnca-1"
|
|
31910
31846
|
})(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\n position: relative;\n display: flex;\n align-items: center;\n ", "\n ", "\n"], ["\n position: relative;\n display: flex;\n align-items: center;\n ", "\n ", "\n"])), internalHeaderTokens.banner.base, function (_a) {
|
|
31911
31847
|
var hasContextMenu = _a.hasContextMenu;
|
|
31912
|
-
return hasContextMenu && Ae(templateObject_2$
|
|
31848
|
+
return hasContextMenu && Ae(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n padding-right: ", ";\n "], ["\n padding-right: ", ";\n "])), internalHeaderTokens.banner.contextMenuSpacing);
|
|
31913
31849
|
});
|
|
31914
31850
|
var BannerLeftWrapper = styled$3.div.withConfig({
|
|
31915
31851
|
displayName: "InternalHeaderstyles__BannerLeftWrapper",
|
|
@@ -31942,14 +31878,14 @@ var StyledOverflowMenu = styled$3(OverflowMenu).withConfig({
|
|
|
31942
31878
|
displayName: "InternalHeaderstyles__StyledOverflowMenu",
|
|
31943
31879
|
componentId: "sc-91bnca-8"
|
|
31944
31880
|
})(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n max-height: calc(100vh - 110px);\n"], ["\n max-height: calc(100vh - 110px);\n"])));
|
|
31945
|
-
var templateObject_1$
|
|
31881
|
+
var templateObject_1$j, templateObject_2$d, templateObject_3$7, templateObject_4$4, templateObject_5$2, templateObject_6$2, templateObject_7$1, templateObject_8$1, templateObject_9, templateObject_10, templateObject_11;
|
|
31946
31882
|
|
|
31947
31883
|
var Link$1 = styled$3.a.withConfig({
|
|
31948
31884
|
displayName: "NavigationItem__Link",
|
|
31949
31885
|
componentId: "sc-1fua9kw-0"
|
|
31950
|
-
})(templateObject_2$
|
|
31886
|
+
})(templateObject_2$c || (templateObject_2$c = __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) {
|
|
31951
31887
|
var isCurrent = _a.isCurrent;
|
|
31952
|
-
return isCurrent && Ae(templateObject_1$
|
|
31888
|
+
return isCurrent && Ae(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), internalHeaderTokens.navigationLink.current.base);
|
|
31953
31889
|
});
|
|
31954
31890
|
var NavigationItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
31955
31891
|
var title = _a.title,
|
|
@@ -31967,12 +31903,12 @@ var NavigationItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31967
31903
|
children: title
|
|
31968
31904
|
}));
|
|
31969
31905
|
});
|
|
31970
|
-
var templateObject_1$
|
|
31906
|
+
var templateObject_1$i, templateObject_2$c;
|
|
31971
31907
|
|
|
31972
31908
|
var Li = styled$3.li.withConfig({
|
|
31973
31909
|
displayName: "InternalHeaderListItem__Li",
|
|
31974
31910
|
componentId: "sc-g1dd6e-0"
|
|
31975
|
-
})(templateObject_1$
|
|
31911
|
+
})(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n box-sizing: border-box;\n"], ["\n box-sizing: border-box;\n"])));
|
|
31976
31912
|
var InternalHeaderListItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
31977
31913
|
var children = _a.children,
|
|
31978
31914
|
rest = __rest(_a, ["children"]);
|
|
@@ -31985,7 +31921,7 @@ var InternalHeaderListItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31985
31921
|
children: children
|
|
31986
31922
|
}));
|
|
31987
31923
|
});
|
|
31988
|
-
var templateObject_1$
|
|
31924
|
+
var templateObject_1$h;
|
|
31989
31925
|
|
|
31990
31926
|
var InternalHeader = function InternalHeader(_a) {
|
|
31991
31927
|
var applicationName = _a.applicationName,
|
|
@@ -32118,10 +32054,10 @@ var getWidth = function getWidth(type) {
|
|
|
32118
32054
|
return type === 'date' ? '205px' : type === 'datetime-local' ? '235px' : '320px';
|
|
32119
32055
|
};
|
|
32120
32056
|
|
|
32121
|
-
var StyledInput = styled$3(
|
|
32057
|
+
var StyledInput = styled$3(StatefulInput).withConfig({
|
|
32122
32058
|
displayName: "Datepicker__StyledInput",
|
|
32123
32059
|
componentId: "sc-1ijxhje-0"
|
|
32124
|
-
})(templateObject_1$
|
|
32060
|
+
})(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\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 @media (prefers-reduced-motion: no-preference) {\n ::-webkit-datetime-edit-day-field,\n ::-webkit-datetime-edit-month-field,\n ::-webkit-datetime-edit-year-field,\n ::-webkit-datetime-edit-hour-field,\n ::-webkit-datetime-edit-minute-field {\n transition: 0.2s;\n }\n }\n\n ::-webkit-datetime-edit-day-field:focus,\n ::-webkit-datetime-edit-month-field:focus,\n ::-webkit-datetime-edit-year-field:focus,\n ::-webkit-datetime-edit-hour-field:focus,\n ::-webkit-datetime-edit-minute-field:focus {\n ", "\n }\n"], ["\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 @media (prefers-reduced-motion: no-preference) {\n ::-webkit-datetime-edit-day-field,\n ::-webkit-datetime-edit-month-field,\n ::-webkit-datetime-edit-year-field,\n ::-webkit-datetime-edit-hour-field,\n ::-webkit-datetime-edit-minute-field {\n transition: 0.2s;\n }\n }\n\n ::-webkit-datetime-edit-day-field:focus,\n ::-webkit-datetime-edit-month-field:focus,\n ::-webkit-datetime-edit-year-field:focus,\n ::-webkit-datetime-edit-hour-field:focus,\n ::-webkit-datetime-edit-minute-field:focus {\n ", "\n }\n"])), img, datepickerTokens.calendarIndicator.base, datepickerTokens.calendarIndicator.focus.base, typographyTokens.selection.base);
|
|
32125
32061
|
var nextUniqueId$8 = 0;
|
|
32126
32062
|
var Datepicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
32127
32063
|
var id = _a.id,
|
|
@@ -32142,13 +32078,14 @@ var Datepicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32142
32078
|
var uniqueId = useState(id !== null && id !== void 0 ? id : "datepickerInput-".concat(nextUniqueId$8++))[0];
|
|
32143
32079
|
var componentWidth = width ? width : getWidth(type);
|
|
32144
32080
|
var hasLabel = !!label;
|
|
32081
|
+
var labelPresence = hasLabel ? 'hasLabel' : 'noLabel';
|
|
32145
32082
|
var hasErrorMessage = !!errorMessage;
|
|
32146
32083
|
var errorMessageId = derivativeIdGenerator(uniqueId, 'errorMessage', errorMessage);
|
|
32147
32084
|
var tipId = derivativeIdGenerator(uniqueId, 'tip', tip);
|
|
32148
32085
|
|
|
32149
32086
|
var inputProps = __assign({
|
|
32150
32087
|
id: uniqueId,
|
|
32151
|
-
hasLabel:
|
|
32088
|
+
hasLabel: labelPresence,
|
|
32152
32089
|
hasErrorMessage: hasErrorMessage,
|
|
32153
32090
|
ref: ref,
|
|
32154
32091
|
readOnly: readOnly,
|
|
@@ -32170,8 +32107,8 @@ var Datepicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32170
32107
|
disabled: disabled
|
|
32171
32108
|
};
|
|
32172
32109
|
return jsxRuntime.exports.jsxs(OuterInputContainer, __assign({}, outerInputContainerProps, {
|
|
32173
|
-
children: [jsxRuntime.exports.jsxs(InputContainer
|
|
32174
|
-
children: [jsxRuntime.exports.jsx(StyledInput, __assign({}, inputProps)), hasLabel && jsxRuntime.exports.jsxs(
|
|
32110
|
+
children: [jsxRuntime.exports.jsxs(InputContainer, {
|
|
32111
|
+
children: [jsxRuntime.exports.jsx(StyledInput, __assign({}, inputProps)), hasLabel && jsxRuntime.exports.jsxs(Label$5, __assign({}, labelProps, {
|
|
32175
32112
|
typographyType: "supportingStyleLabel01",
|
|
32176
32113
|
forwardedAs: "label"
|
|
32177
32114
|
}, {
|
|
@@ -32188,7 +32125,7 @@ var Datepicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32188
32125
|
})]
|
|
32189
32126
|
}));
|
|
32190
32127
|
});
|
|
32191
|
-
var templateObject_1$
|
|
32128
|
+
var templateObject_1$g;
|
|
32192
32129
|
|
|
32193
32130
|
var Colors$5 = ddsBaseTokens.colors,
|
|
32194
32131
|
Spacing$7 = ddsBaseTokens.spacing,
|
|
@@ -32233,14 +32170,14 @@ var skipToContentTokens = {
|
|
|
32233
32170
|
var Wrapper$2 = styled$3.div.withConfig({
|
|
32234
32171
|
displayName: "SkipToContent__Wrapper",
|
|
32235
32172
|
componentId: "sc-57o1qv-0"
|
|
32236
|
-
})(templateObject_1$
|
|
32173
|
+
})(templateObject_1$f || (templateObject_1$f = __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) {
|
|
32237
32174
|
var top = _a.top;
|
|
32238
32175
|
return top;
|
|
32239
32176
|
}, skipToContentTokens.wrapper.base);
|
|
32240
32177
|
var Link = styled$3.a.withConfig({
|
|
32241
32178
|
displayName: "SkipToContent__Link",
|
|
32242
32179
|
componentId: "sc-57o1qv-1"
|
|
32243
|
-
})(templateObject_2$
|
|
32180
|
+
})(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n ", "\n &:focus {\n ", "\n transition: ", ";\n }\n &:hover {\n ", "\n }\n"], ["\n ", "\n &:focus {\n ", "\n transition: ", ";\n }\n &:hover {\n ", "\n }\n"])), skipToContentTokens.link.base, skipToContentTokens.link.focus.base, focusVisibleTransitionValue, skipToContentTokens.link.hover.base);
|
|
32244
32181
|
var SkipToContent = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
32245
32182
|
var _b = _a.text,
|
|
32246
32183
|
text = _b === void 0 ? 'Til hovedinnhold' : _b,
|
|
@@ -32263,7 +32200,7 @@ var SkipToContent = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32263
32200
|
}))
|
|
32264
32201
|
}));
|
|
32265
32202
|
});
|
|
32266
|
-
var templateObject_1$
|
|
32203
|
+
var templateObject_1$f, templateObject_2$b;
|
|
32267
32204
|
|
|
32268
32205
|
var Border$2 = ddsBaseTokens.border,
|
|
32269
32206
|
Colors$4 = ddsBaseTokens.colors,
|
|
@@ -32298,12 +32235,12 @@ var tooltipTokens = {
|
|
|
32298
32235
|
var SvgArrow = styled$3.svg.withConfig({
|
|
32299
32236
|
displayName: "Tooltipstyles__SvgArrow",
|
|
32300
32237
|
componentId: "sc-1cna5tc-0"
|
|
32301
|
-
})(templateObject_1$
|
|
32238
|
+
})(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n width: 36px;\n height: 9px;\n"], ["\n width: 36px;\n height: 9px;\n"])));
|
|
32302
32239
|
var ArrowWrapper = styled$3.div.withConfig({
|
|
32303
32240
|
displayName: "Tooltipstyles__ArrowWrapper",
|
|
32304
32241
|
componentId: "sc-1cna5tc-1"
|
|
32305
|
-
})(templateObject_2$
|
|
32306
|
-
var Container$
|
|
32242
|
+
})(templateObject_2$a || (templateObject_2$a = __makeTemplateObject([""], [""])));
|
|
32243
|
+
var Container$8 = styled$3.div.withConfig({
|
|
32307
32244
|
displayName: "Tooltipstyles__Container",
|
|
32308
32245
|
componentId: "sc-1cna5tc-2"
|
|
32309
32246
|
})(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n width: fit-content;\n"], ["\n width: fit-content;\n"])));
|
|
@@ -32314,7 +32251,7 @@ var TooltipWrapper = styled$3.div.withConfig({
|
|
|
32314
32251
|
var open = _a.open;
|
|
32315
32252
|
return visibilityTransition(open);
|
|
32316
32253
|
}, tooltipTokens.wrapper.base);
|
|
32317
|
-
var templateObject_1$
|
|
32254
|
+
var templateObject_1$e, templateObject_2$a, templateObject_3$6, templateObject_4$3;
|
|
32318
32255
|
|
|
32319
32256
|
var nextUniqueId$7 = 0;
|
|
32320
32257
|
var Tooltip = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
@@ -32399,7 +32336,7 @@ var Tooltip = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32399
32336
|
ref: setArrowElement,
|
|
32400
32337
|
style: styles.arrow
|
|
32401
32338
|
};
|
|
32402
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
32339
|
+
return jsxRuntime.exports.jsxs(Container$8, __assign({}, containerProps, {
|
|
32403
32340
|
children: [anchorElement, jsxRuntime.exports.jsxs(TooltipWrapper, __assign({}, wrapperProps, {
|
|
32404
32341
|
children: [text, jsxRuntime.exports.jsx(ArrowWrapper, __assign({}, arrowWrapperProps, {
|
|
32405
32342
|
children: jsxRuntime.exports.jsxs(SvgArrow, {
|
|
@@ -32461,14 +32398,14 @@ var modalTokens = {
|
|
|
32461
32398
|
}
|
|
32462
32399
|
};
|
|
32463
32400
|
|
|
32464
|
-
var Container$
|
|
32401
|
+
var Container$7 = styled$3.div.withConfig({
|
|
32465
32402
|
displayName: "Modal__Container",
|
|
32466
32403
|
componentId: "sc-12c14zx-0"
|
|
32467
|
-
})(templateObject_1$
|
|
32404
|
+
})(templateObject_1$d || (templateObject_1$d = __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);
|
|
32468
32405
|
var ContentContainer$2 = styled$3.div.withConfig({
|
|
32469
32406
|
displayName: "Modal__ContentContainer",
|
|
32470
32407
|
componentId: "sc-12c14zx-1"
|
|
32471
|
-
})(templateObject_2$
|
|
32408
|
+
})(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n display: grid;\n ", "\n"], ["\n display: grid;\n ", "\n"])), modalTokens.contentContainer.base);
|
|
32472
32409
|
var HeaderContainer$1 = styled$3.div.withConfig({
|
|
32473
32410
|
displayName: "Modal__HeaderContainer",
|
|
32474
32411
|
componentId: "sc-12c14zx-2"
|
|
@@ -32537,7 +32474,7 @@ var Modal = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32537
32474
|
id: headerId
|
|
32538
32475
|
};
|
|
32539
32476
|
return isOpen || hasTransitionedIn ? /*#__PURE__*/createPortal(jsxRuntime.exports.jsx(Backdrop, __assign({}, backdropProps, {
|
|
32540
|
-
children: jsxRuntime.exports.jsxs(Container$
|
|
32477
|
+
children: jsxRuntime.exports.jsxs(Container$7, __assign({}, containerProps, {
|
|
32541
32478
|
children: [jsxRuntime.exports.jsxs(ContentContainer$2, {
|
|
32542
32479
|
children: [header && jsxRuntime.exports.jsx(HeaderContainer$1, __assign({}, headerContainerProps, {
|
|
32543
32480
|
children: typeof header === 'string' ? jsxRuntime.exports.jsx(Typography, __assign({
|
|
@@ -32557,14 +32494,14 @@ var Modal = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32557
32494
|
}))
|
|
32558
32495
|
})), parentElement) : null;
|
|
32559
32496
|
});
|
|
32560
|
-
var templateObject_1$
|
|
32497
|
+
var templateObject_1$d, templateObject_2$9, templateObject_3$5, templateObject_4$2;
|
|
32561
32498
|
|
|
32562
|
-
var Container$
|
|
32499
|
+
var Container$6 = styled$3.div.withConfig({
|
|
32563
32500
|
displayName: "ModalBody__Container",
|
|
32564
32501
|
componentId: "sc-134o0zg-0"
|
|
32565
|
-
})(templateObject_2$
|
|
32502
|
+
})(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n ", "\n transition: ", ";\n ", "\n"], ["\n ", "\n transition: ", ";\n ", "\n"])), scrollbarStyling, focusVisibleTransitionValue, function (_a) {
|
|
32566
32503
|
var scrollable = _a.scrollable;
|
|
32567
|
-
return scrollable && Ae(templateObject_1$
|
|
32504
|
+
return scrollable && Ae(templateObject_1$c || (templateObject_1$c = __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);
|
|
32568
32505
|
});
|
|
32569
32506
|
var ModalBody = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
32570
32507
|
var children = _a.children,
|
|
@@ -32577,16 +32514,16 @@ var ModalBody = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32577
32514
|
scrollable: scrollable
|
|
32578
32515
|
}, rest);
|
|
32579
32516
|
|
|
32580
|
-
return jsxRuntime.exports.jsx(Container$
|
|
32517
|
+
return jsxRuntime.exports.jsx(Container$6, __assign({}, containerProps, {
|
|
32581
32518
|
children: children
|
|
32582
32519
|
}));
|
|
32583
32520
|
});
|
|
32584
|
-
var templateObject_1$
|
|
32521
|
+
var templateObject_1$c, templateObject_2$8;
|
|
32585
32522
|
|
|
32586
|
-
var Container$
|
|
32523
|
+
var Container$5 = styled$3.div.withConfig({
|
|
32587
32524
|
displayName: "ModalActions__Container",
|
|
32588
32525
|
componentId: "sc-ehph9l-0"
|
|
32589
|
-
})(templateObject_1$
|
|
32526
|
+
})(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n ", "\n"], ["\n display: flex;\n flex-wrap: wrap;\n ", "\n"])), modalTokens.actionsContainer.base);
|
|
32590
32527
|
var ModalActions = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
32591
32528
|
var children = _a.children,
|
|
32592
32529
|
rest = __rest(_a, ["children"]);
|
|
@@ -32595,14 +32532,14 @@ var ModalActions = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32595
32532
|
ref: ref
|
|
32596
32533
|
}, rest);
|
|
32597
32534
|
|
|
32598
|
-
return jsxRuntime.exports.jsx(Container$
|
|
32535
|
+
return jsxRuntime.exports.jsx(Container$5, __assign({}, containerProps, {
|
|
32599
32536
|
children: children
|
|
32600
32537
|
}));
|
|
32601
32538
|
});
|
|
32602
|
-
var templateObject_1$
|
|
32539
|
+
var templateObject_1$b;
|
|
32603
32540
|
|
|
32604
32541
|
var Spacing$4 = ddsBaseTokens.spacing;
|
|
32605
|
-
var containerBase$
|
|
32542
|
+
var containerBase$2 = {
|
|
32606
32543
|
padding: "".concat(Spacing$4.SizesDdsSpacingLocalX1NumberPx - Spacing$4.SizesDdsSpacingLocalX025NumberPx, "px ").concat(Spacing$4.SizesDdsSpacingLocalX1NumberPx - Spacing$4.SizesDdsSpacingLocalX025NumberPx, "px ").concat(Spacing$4.SizesDdsSpacingLocalX1NumberPx - Spacing$4.SizesDdsSpacingLocalX025NumberPx, "px ").concat(Spacing$4.SizesDdsSpacingLocalX15NumberPx - Spacing$4.SizesDdsSpacingLocalX025NumberPx, "px")
|
|
32607
32544
|
};
|
|
32608
32545
|
var contentContainerBase = {
|
|
@@ -32617,7 +32554,7 @@ var containerSmall = {
|
|
|
32617
32554
|
};
|
|
32618
32555
|
var drawerTokens = {
|
|
32619
32556
|
container: {
|
|
32620
|
-
base: containerBase$
|
|
32557
|
+
base: containerBase$2,
|
|
32621
32558
|
size: {
|
|
32622
32559
|
large: {
|
|
32623
32560
|
base: containerLarge
|
|
@@ -32632,15 +32569,15 @@ var drawerTokens = {
|
|
|
32632
32569
|
}
|
|
32633
32570
|
};
|
|
32634
32571
|
|
|
32635
|
-
var Container$
|
|
32572
|
+
var Container$4 = styled$3(Paper).withConfig({
|
|
32636
32573
|
displayName: "Drawer__Container",
|
|
32637
32574
|
componentId: "sc-i9luw3-0"
|
|
32638
32575
|
})(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n position: fixed;\n top: 0;\n height: 100%;\n display: flex;\n flex-direction: column-reverse;\n justify-content: flex-end;\n min-width: 300px;\n ", "\n ", "\n z-index: 50;\n ", "\n transition: transform 0.5s;\n ", "\n &:focus-visible, &.focus-visible {\n ", "\n }\n"], ["\n position: fixed;\n top: 0;\n height: 100%;\n display: flex;\n flex-direction: column-reverse;\n justify-content: flex-end;\n min-width: 300px;\n ", "\n ", "\n z-index: 50;\n ", "\n transition: transform 0.5s;\n ", "\n &:focus-visible, &.focus-visible {\n ", "\n }\n"])), function (_a) {
|
|
32639
32576
|
var size = _a.size;
|
|
32640
|
-
return Ae(templateObject_1$
|
|
32577
|
+
return Ae(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), drawerTokens.container.size[size].base);
|
|
32641
32578
|
}, function (_a) {
|
|
32642
32579
|
var widthProps = _a.widthProps;
|
|
32643
|
-
return widthProps && Ae(templateObject_2$
|
|
32580
|
+
return widthProps && Ae(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), widthProps);
|
|
32644
32581
|
}, function (_a) {
|
|
32645
32582
|
var placement = _a.placement,
|
|
32646
32583
|
isOpen = _a.isOpen;
|
|
@@ -32709,7 +32646,7 @@ var Drawer = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32709
32646
|
var headerContainerProps = {
|
|
32710
32647
|
id: headerId
|
|
32711
32648
|
};
|
|
32712
|
-
return isOpen || hasTransitionedIn ? /*#__PURE__*/createPortal(jsxRuntime.exports.jsxs(Container$
|
|
32649
|
+
return isOpen || hasTransitionedIn ? /*#__PURE__*/createPortal(jsxRuntime.exports.jsxs(Container$4, __assign({}, containerProps, {
|
|
32713
32650
|
children: [jsxRuntime.exports.jsxs(ContentContainer$1, {
|
|
32714
32651
|
children: [hasHeader && jsxRuntime.exports.jsx(HeaderContainer, __assign({}, headerContainerProps, {
|
|
32715
32652
|
children: typeof header === 'string' ? jsxRuntime.exports.jsx(Typography, __assign({
|
|
@@ -32729,7 +32666,7 @@ var Drawer = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32729
32666
|
})]
|
|
32730
32667
|
})), parentElement) : null;
|
|
32731
32668
|
});
|
|
32732
|
-
var templateObject_1$
|
|
32669
|
+
var templateObject_1$a, templateObject_2$7, templateObject_3$4, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7, templateObject_8;
|
|
32733
32670
|
|
|
32734
32671
|
var nextUniqueId$4 = 0;
|
|
32735
32672
|
var DrawerGroup = function DrawerGroup(_a) {
|
|
@@ -32821,12 +32758,12 @@ var Spacing$2 = ddsBaseTokens.spacing;
|
|
|
32821
32758
|
var Wrapper$1 = styled$3.div.withConfig({
|
|
32822
32759
|
displayName: "Popover__Wrapper",
|
|
32823
32760
|
componentId: "sc-1fecd7e-0"
|
|
32824
|
-
})(templateObject_2$
|
|
32761
|
+
})(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n ", "\n box-sizing: border-box;\n position: absolute;\n width: fit-content;\n z-index: 20;\n ", "\n ", "\n"], ["\n ", "\n box-sizing: border-box;\n position: absolute;\n width: fit-content;\n z-index: 20;\n ", "\n ", "\n"])), function (_a) {
|
|
32825
32762
|
var isOpen = _a.isOpen;
|
|
32826
32763
|
return visibilityTransition(isOpen);
|
|
32827
32764
|
}, popoverTokens.wrapper.base, function (_a) {
|
|
32828
32765
|
var sizeProps = _a.sizeProps;
|
|
32829
|
-
return sizeProps && Ae(templateObject_1$
|
|
32766
|
+
return sizeProps && Ae(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), sizeProps);
|
|
32830
32767
|
});
|
|
32831
32768
|
var TitleContainer = styled$3.div.withConfig({
|
|
32832
32769
|
displayName: "Popover__TitleContainer",
|
|
@@ -32905,7 +32842,7 @@ var Popover = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
32905
32842
|
})]
|
|
32906
32843
|
}));
|
|
32907
32844
|
});
|
|
32908
|
-
var templateObject_1$
|
|
32845
|
+
var templateObject_1$9, templateObject_2$6, templateObject_3$3, templateObject_4, templateObject_5, templateObject_6;
|
|
32909
32846
|
|
|
32910
32847
|
var nextUniqueId$3 = 0;
|
|
32911
32848
|
var PopoverGroup = function PopoverGroup(_a) {
|
|
@@ -33002,12 +32939,12 @@ var checkedHoverBase = __assign(__assign({}, checkboxTokens.checkbox.checked.hov
|
|
|
33002
32939
|
|
|
33003
32940
|
var focusBase = __assign({}, focusVisible);
|
|
33004
32941
|
|
|
33005
|
-
var groupBase = {
|
|
32942
|
+
var groupBase$1 = {
|
|
33006
32943
|
display: 'flex',
|
|
33007
32944
|
gap: Spacing$1.SizesDdsSpacingLocalX075,
|
|
33008
32945
|
flexWrap: 'wrap'
|
|
33009
32946
|
};
|
|
33010
|
-
var containerBase = {
|
|
32947
|
+
var containerBase$1 = {
|
|
33011
32948
|
display: 'flex',
|
|
33012
32949
|
flexDirection: 'column',
|
|
33013
32950
|
gap: Spacing$1.SizesDdsSpacingLocalX05
|
|
@@ -33027,22 +32964,22 @@ var toggleButtonTokens = {
|
|
|
33027
32964
|
}
|
|
33028
32965
|
},
|
|
33029
32966
|
group: {
|
|
33030
|
-
base: groupBase
|
|
32967
|
+
base: groupBase$1
|
|
33031
32968
|
},
|
|
33032
32969
|
container: {
|
|
33033
|
-
base: containerBase
|
|
32970
|
+
base: containerBase$1
|
|
33034
32971
|
}
|
|
33035
32972
|
};
|
|
33036
32973
|
|
|
33037
32974
|
var Input = styled$3.input.withConfig({
|
|
33038
32975
|
displayName: "ToggleButton__Input",
|
|
33039
32976
|
componentId: "sc-ya01sa-0"
|
|
33040
|
-
})(templateObject_1$
|
|
32977
|
+
})(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), hideInput);
|
|
33041
32978
|
var Content = styled$3.span.withConfig({
|
|
33042
32979
|
displayName: "ToggleButton__Content",
|
|
33043
32980
|
componentId: "sc-ya01sa-1"
|
|
33044
|
-
})(templateObject_2$
|
|
33045
|
-
var Container$
|
|
32981
|
+
})(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s,\n ", ";\n cursor: pointer;\n ", "\n width: fit-content;\n ", "\n ", "\n ", "\n &::selection, *::selection {\n ", "\n }\n &:hover {\n ", "\n }\n"], ["\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s,\n ", ";\n cursor: pointer;\n ", "\n width: fit-content;\n ", "\n ", "\n ", "\n &::selection, *::selection {\n ", "\n }\n &:hover {\n ", "\n }\n"])), focusVisibleTransitionValue, buttonTokens.base, buttonTokens.appearance.rounded.base, buttonTokens.sizes.small.text.base, toggleButtonTokens.base, typographyTokens.selection.base, toggleButtonTokens.hover.base);
|
|
32982
|
+
var Container$3 = styled$3.label.withConfig({
|
|
33046
32983
|
displayName: "ToggleButton__Container",
|
|
33047
32984
|
componentId: "sc-ya01sa-2"
|
|
33048
32985
|
})(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject(["\n width: fit-content;\n ", ":checked + ", " {\n ", "\n }\n ", ":checked + ", ":hover {\n ", "\n }\n ", ":focus-visible + ", " {\n ", "\n }\n"], ["\n width: fit-content;\n ", ":checked + ", " {\n ", "\n }\n ", ":checked + ", ":hover {\n ", "\n }\n ", ":focus-visible + ", " {\n ", "\n }\n"])), Input, Content, toggleButtonTokens.checked.base, Input, Content, toggleButtonTokens.checked.hover.base, Input, Content, toggleButtonTokens.focus.base);
|
|
@@ -33064,7 +33001,7 @@ var ToggleButton = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
33064
33001
|
var containerProps = {
|
|
33065
33002
|
htmlFor: uniqueId
|
|
33066
33003
|
};
|
|
33067
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
33004
|
+
return jsxRuntime.exports.jsxs(Container$3, __assign({}, containerProps, {
|
|
33068
33005
|
children: [jsxRuntime.exports.jsx(Input, __assign({}, inputProps)), jsxRuntime.exports.jsxs(Content, {
|
|
33069
33006
|
children: [Icon && jsxRuntime.exports.jsx(IconWrapper$1, {
|
|
33070
33007
|
Icon: Icon,
|
|
@@ -33073,16 +33010,16 @@ var ToggleButton = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
33073
33010
|
})]
|
|
33074
33011
|
}));
|
|
33075
33012
|
});
|
|
33076
|
-
var templateObject_1$
|
|
33013
|
+
var templateObject_1$8, templateObject_2$5, templateObject_3$2;
|
|
33077
33014
|
|
|
33078
|
-
var Group = styled$3.div.withConfig({
|
|
33015
|
+
var Group$1 = styled$3.div.withConfig({
|
|
33079
33016
|
displayName: "ToggleButtonGroup__Group",
|
|
33080
33017
|
componentId: "sc-14ijdag-0"
|
|
33081
|
-
})(templateObject_2$
|
|
33018
|
+
})(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), toggleButtonTokens.group.base, function (_a) {
|
|
33082
33019
|
var direction = _a.direction;
|
|
33083
|
-
return Ae(templateObject_1$
|
|
33020
|
+
return Ae(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n flex-direction: ", ";\n "], ["\n flex-direction: ", ";\n "])), direction);
|
|
33084
33021
|
});
|
|
33085
|
-
var Container$
|
|
33022
|
+
var Container$2 = styled$3.div.withConfig({
|
|
33086
33023
|
displayName: "ToggleButtonGroup__Container",
|
|
33087
33024
|
componentId: "sc-14ijdag-1"
|
|
33088
33025
|
})(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), toggleButtonTokens.container.base);
|
|
@@ -33105,19 +33042,19 @@ var ToggleButtonGroup = function ToggleButtonGroup(_a) {
|
|
|
33105
33042
|
'aria-labelledby': label ? uniqueLabelId : undefined
|
|
33106
33043
|
}, props);
|
|
33107
33044
|
|
|
33108
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
33045
|
+
return jsxRuntime.exports.jsxs(Container$2, __assign({}, containerProps, {
|
|
33109
33046
|
children: [!!label && jsxRuntime.exports.jsx(Typography, __assign({
|
|
33110
33047
|
as: "span",
|
|
33111
33048
|
typographyType: "supportingStyleLabel01",
|
|
33112
33049
|
id: uniqueLabelId
|
|
33113
33050
|
}, {
|
|
33114
33051
|
children: label
|
|
33115
|
-
})), jsxRuntime.exports.jsx(Group, __assign({}, groupProps, {
|
|
33052
|
+
})), jsxRuntime.exports.jsx(Group$1, __assign({}, groupProps, {
|
|
33116
33053
|
children: children
|
|
33117
33054
|
}))]
|
|
33118
33055
|
}));
|
|
33119
33056
|
};
|
|
33120
|
-
var templateObject_1$
|
|
33057
|
+
var templateObject_1$7, templateObject_2$4, templateObject_3$1;
|
|
33121
33058
|
|
|
33122
33059
|
var TabsContext = /*#__PURE__*/createContext({
|
|
33123
33060
|
activeTab: 0,
|
|
@@ -33138,10 +33075,10 @@ var useTabsContext = function useTabsContext() {
|
|
|
33138
33075
|
return useContext(TabsContext);
|
|
33139
33076
|
};
|
|
33140
33077
|
|
|
33141
|
-
var Container = styled$3.div.withConfig({
|
|
33078
|
+
var Container$1 = styled$3.div.withConfig({
|
|
33142
33079
|
displayName: "Tabs__Container",
|
|
33143
33080
|
componentId: "sc-7ta5g2-0"
|
|
33144
|
-
})(templateObject_1$
|
|
33081
|
+
})(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject([""], [""])));
|
|
33145
33082
|
var nextUniqueId = 0;
|
|
33146
33083
|
var Tabs = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
33147
33084
|
var id = _a.id,
|
|
@@ -33190,10 +33127,10 @@ var Tabs = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
33190
33127
|
tabWidth: tabWidth
|
|
33191
33128
|
}
|
|
33192
33129
|
}, {
|
|
33193
|
-
children: jsxRuntime.exports.jsx(Container, __assign({}, containerProps))
|
|
33130
|
+
children: jsxRuntime.exports.jsx(Container$1, __assign({}, containerProps))
|
|
33194
33131
|
}));
|
|
33195
33132
|
});
|
|
33196
|
-
var templateObject_1$
|
|
33133
|
+
var templateObject_1$6;
|
|
33197
33134
|
|
|
33198
33135
|
var Border = ddsBaseTokens.border,
|
|
33199
33136
|
Spacing = ddsBaseTokens.spacing,
|
|
@@ -33294,7 +33231,7 @@ var tabsTokens = {
|
|
|
33294
33231
|
var Button = styled$3.button.withConfig({
|
|
33295
33232
|
displayName: "Tab__Button",
|
|
33296
33233
|
componentId: "sc-1dd8soq-0"
|
|
33297
|
-
})(templateObject_2$
|
|
33234
|
+
})(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n transition: box-shadow 0.2s, border-bottom 0.2s, color 0.2s,\n ", ";\n ", "\n width: ", ";\n\n ", ";\n\n ", "\n\n &:focus-visible {\n ", "\n }\n\n &:hover {\n ", "\n }\n"], ["\n transition: box-shadow 0.2s, border-bottom 0.2s, color 0.2s,\n ", ";\n ", "\n width: ", ";\n\n ", ";\n\n ", "\n\n &:focus-visible {\n ", "\n }\n\n &:hover {\n ", "\n }\n"])), focusVisibleTransitionValue, tabsTokens.tab.base, function (_a) {
|
|
33298
33235
|
var width = _a.width;
|
|
33299
33236
|
return width;
|
|
33300
33237
|
}, function (_a) {
|
|
@@ -33302,7 +33239,7 @@ var Button = styled$3.button.withConfig({
|
|
|
33302
33239
|
return tabsTokens.tab.direction[direction].base;
|
|
33303
33240
|
}, function (_a) {
|
|
33304
33241
|
var active = _a.active;
|
|
33305
|
-
return active && Ae(templateObject_1$
|
|
33242
|
+
return active && Ae(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), tabsTokens.tab.active.base);
|
|
33306
33243
|
}, tabsTokens.tab.focus.base, tabsTokens.tab.hover.base);
|
|
33307
33244
|
var Tab = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
33308
33245
|
var _b = _a.active,
|
|
@@ -33379,12 +33316,12 @@ var Tab = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
33379
33316
|
})]
|
|
33380
33317
|
}));
|
|
33381
33318
|
});
|
|
33382
|
-
var templateObject_1$
|
|
33319
|
+
var templateObject_1$5, templateObject_2$3;
|
|
33383
33320
|
|
|
33384
33321
|
var TabRow = styled$3.div.withConfig({
|
|
33385
33322
|
displayName: "TabList__TabRow",
|
|
33386
33323
|
componentId: "sc-1ldr0lz-0"
|
|
33387
|
-
})(templateObject_1$
|
|
33324
|
+
})(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n ", "\n ", "\n scroll-snap-type: x mandatory;\n @media (prefers-reduced-motion: no-preference) {\n scroll-behavior: smooth;\n }\n &:focus-visible {\n ", "\n }\n &:focus-visible button {\n outline: none;\n }\n"], ["\n ", "\n ", "\n scroll-snap-type: x mandatory;\n @media (prefers-reduced-motion: no-preference) {\n scroll-behavior: smooth;\n }\n &:focus-visible {\n ", "\n }\n &:focus-visible button {\n outline: none;\n }\n"])), tabsTokens.tabList.base, scrollbarStyling, tabsTokens.tabList.focus.base);
|
|
33388
33325
|
var TabList = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
33389
33326
|
var children = _a.children,
|
|
33390
33327
|
id = _a.id,
|
|
@@ -33449,14 +33386,14 @@ var TabList = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
33449
33386
|
children: tabListChildren
|
|
33450
33387
|
}));
|
|
33451
33388
|
});
|
|
33452
|
-
var templateObject_1$
|
|
33389
|
+
var templateObject_1$4;
|
|
33453
33390
|
|
|
33454
33391
|
var Panel = styled$3.div.withConfig({
|
|
33455
33392
|
displayName: "TabPanel__Panel",
|
|
33456
33393
|
componentId: "sc-vkzivq-0"
|
|
33457
|
-
})(templateObject_2$
|
|
33394
|
+
})(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n transition: ", ";\n ", "\n ", "\n &:focus-visible {\n ", "\n }\n"], ["\n transition: ", ";\n ", "\n ", "\n &:focus-visible {\n ", "\n }\n"])), focusVisibleTransitionValue, tabsTokens.panel.base, function (_a) {
|
|
33458
33395
|
var active = _a.active;
|
|
33459
|
-
return !active && Ae(templateObject_1$
|
|
33396
|
+
return !active && Ae(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n display: none;\n "], ["\n display: none;\n "])));
|
|
33460
33397
|
}, tabsTokens.panel.focusVisible.base);
|
|
33461
33398
|
var TabPanel = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
33462
33399
|
var _b = _a.active,
|
|
@@ -33475,7 +33412,7 @@ var TabPanel = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
33475
33412
|
children: children
|
|
33476
33413
|
}));
|
|
33477
33414
|
});
|
|
33478
|
-
var templateObject_1$
|
|
33415
|
+
var templateObject_1$3, templateObject_2$2;
|
|
33479
33416
|
|
|
33480
33417
|
var TabPanels = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
33481
33418
|
var children = _a.children,
|
|
@@ -33503,13 +33440,13 @@ var TabPanels = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
33503
33440
|
}));
|
|
33504
33441
|
});
|
|
33505
33442
|
|
|
33506
|
-
var colors = ddsBaseTokens.colors,
|
|
33507
|
-
borderRadius = ddsBaseTokens.borderRadius,
|
|
33508
|
-
spacing = ddsBaseTokens.spacing;
|
|
33443
|
+
var colors$1 = ddsBaseTokens.colors,
|
|
33444
|
+
borderRadius$1 = ddsBaseTokens.borderRadius,
|
|
33445
|
+
spacing$1 = ddsBaseTokens.spacing;
|
|
33509
33446
|
var wrapperBase = {
|
|
33510
33447
|
border: '1px solid',
|
|
33511
|
-
borderRadius: borderRadius.RadiiDdsBorderRadius1Radius,
|
|
33512
|
-
padding: "".concat(spacing.SizesDdsSpacingLocalX0125, " ").concat(spacing.SizesDdsSpacingLocalX025),
|
|
33448
|
+
borderRadius: borderRadius$1.RadiiDdsBorderRadius1Radius,
|
|
33449
|
+
padding: "".concat(spacing$1.SizesDdsSpacingLocalX0125, " ").concat(spacing$1.SizesDdsSpacingLocalX025),
|
|
33513
33450
|
maxWidth: '100%',
|
|
33514
33451
|
display: 'inline-flex',
|
|
33515
33452
|
alignItems: 'center'
|
|
@@ -33520,8 +33457,8 @@ var innerBase = {
|
|
|
33520
33457
|
textOverflow: 'ellipsis'
|
|
33521
33458
|
};
|
|
33522
33459
|
var defaultBase = {
|
|
33523
|
-
backgroundColor: colors.DdsColorNeutralsGray1,
|
|
33524
|
-
borderColor: colors.DdsColorNeutralsGray3
|
|
33460
|
+
backgroundColor: colors$1.DdsColorNeutralsGray1,
|
|
33461
|
+
borderColor: colors$1.DdsColorNeutralsGray3
|
|
33525
33462
|
};
|
|
33526
33463
|
|
|
33527
33464
|
var successBase = __assign({}, localMessageTokens.container.success.base);
|
|
@@ -33561,9 +33498,9 @@ var tagTokens = {
|
|
|
33561
33498
|
var Wrapper = styled$3(Typography).withConfig({
|
|
33562
33499
|
displayName: "Tag__Wrapper",
|
|
33563
33500
|
componentId: "sc-rdxtch-0"
|
|
33564
|
-
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), tagTokens.wrapper.base, function (_a) {
|
|
33501
|
+
})(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), tagTokens.wrapper.base, function (_a) {
|
|
33565
33502
|
var purpose = _a.purpose;
|
|
33566
|
-
return Ae(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), tagTokens.wrapper.type[purpose].base);
|
|
33503
|
+
return Ae(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), tagTokens.wrapper.type[purpose].base);
|
|
33567
33504
|
});
|
|
33568
33505
|
var Inner = styled$3.span.withConfig({
|
|
33569
33506
|
displayName: "Tag__Inner",
|
|
@@ -33586,6 +33523,112 @@ var Tag = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
33586
33523
|
})
|
|
33587
33524
|
}));
|
|
33588
33525
|
});
|
|
33589
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
|
33526
|
+
var templateObject_1$2, templateObject_2$1, templateObject_3;
|
|
33527
|
+
|
|
33528
|
+
var colors = ddsBaseTokens.colors,
|
|
33529
|
+
spacing = ddsBaseTokens.spacing,
|
|
33530
|
+
borderRadius = ddsBaseTokens.borderRadius,
|
|
33531
|
+
fontPackages = ddsBaseTokens.fontPackages;
|
|
33532
|
+
var containerBase = {
|
|
33533
|
+
display: 'flex',
|
|
33534
|
+
alignItems: 'center',
|
|
33535
|
+
gap: spacing.SizesDdsSpacingLocalX025,
|
|
33536
|
+
padding: "".concat(spacing.SizesDdsSpacingLocalX0125, " ").concat(spacing.SizesDdsSpacingLocalX025),
|
|
33537
|
+
backgroundColor: colors.DdsColorNeutralsGray1,
|
|
33538
|
+
border: "1px solid ".concat(colors.DdsColorNeutralsGray3),
|
|
33539
|
+
borderRadius: borderRadius.RadiiDdsBorderRadius1Radius,
|
|
33540
|
+
color: colors.DdsColorNeutralsGray9,
|
|
33541
|
+
maxWidth: '100%'
|
|
33542
|
+
};
|
|
33543
|
+
|
|
33544
|
+
var textBase = __assign({
|
|
33545
|
+
whiteSpace: 'nowrap',
|
|
33546
|
+
overflow: 'hidden',
|
|
33547
|
+
textOverflow: 'ellipsis'
|
|
33548
|
+
}, fontPackages.body_sans_01.base);
|
|
33549
|
+
|
|
33550
|
+
var groupBase = {
|
|
33551
|
+
display: 'flex',
|
|
33552
|
+
gap: spacing.SizesDdsSpacingLocalX075
|
|
33553
|
+
};
|
|
33554
|
+
var chipTokens = {
|
|
33555
|
+
container: {
|
|
33556
|
+
base: containerBase
|
|
33557
|
+
},
|
|
33558
|
+
group: {
|
|
33559
|
+
base: groupBase
|
|
33560
|
+
},
|
|
33561
|
+
text: {
|
|
33562
|
+
base: textBase
|
|
33563
|
+
}
|
|
33564
|
+
};
|
|
33565
|
+
|
|
33566
|
+
var Container = styled$3.div.withConfig({
|
|
33567
|
+
displayName: "Chip__Container",
|
|
33568
|
+
componentId: "sc-1l242zs-0"
|
|
33569
|
+
})(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), chipTokens.container.base);
|
|
33570
|
+
var TextWrapper = styled$3.span.withConfig({
|
|
33571
|
+
displayName: "Chip__TextWrapper",
|
|
33572
|
+
componentId: "sc-1l242zs-1"
|
|
33573
|
+
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), chipTokens.text.base);
|
|
33574
|
+
var Chip = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
33575
|
+
var text = _a.text,
|
|
33576
|
+
onClose = _a.onClose,
|
|
33577
|
+
ariaLabel = _a["aria-label"],
|
|
33578
|
+
rest = __rest(_a, ["text", "onClose", 'aria-label']);
|
|
33579
|
+
|
|
33580
|
+
var _b = useState(true),
|
|
33581
|
+
isOpen = _b[0],
|
|
33582
|
+
setIsOpen = _b[1];
|
|
33583
|
+
|
|
33584
|
+
var onClick = function onClick() {
|
|
33585
|
+
setIsOpen(false);
|
|
33586
|
+
onClose && onClose();
|
|
33587
|
+
};
|
|
33588
|
+
|
|
33589
|
+
return isOpen ? jsxRuntime.exports.jsxs(Container, __assign({}, rest, {
|
|
33590
|
+
ref: ref
|
|
33591
|
+
}, {
|
|
33592
|
+
children: [jsxRuntime.exports.jsx(TextWrapper, {
|
|
33593
|
+
children: text
|
|
33594
|
+
}), jsxRuntime.exports.jsx(Button$1, {
|
|
33595
|
+
size: "tiny",
|
|
33596
|
+
Icon: default_1$h,
|
|
33597
|
+
appearance: "borderless",
|
|
33598
|
+
purpose: "secondary",
|
|
33599
|
+
onClick: onClick,
|
|
33600
|
+
"aria-label": ariaLabel || "Fjern ".concat(text ? "chip ".concat(text) : 'chip')
|
|
33601
|
+
})]
|
|
33602
|
+
})) : null;
|
|
33603
|
+
});
|
|
33604
|
+
var templateObject_1$1, templateObject_2;
|
|
33605
|
+
|
|
33606
|
+
var removeListStyling = {
|
|
33607
|
+
listStyle: 'none',
|
|
33608
|
+
padding: 0,
|
|
33609
|
+
margin: 0
|
|
33610
|
+
};
|
|
33611
|
+
|
|
33612
|
+
var Group = styled$3.ul.withConfig({
|
|
33613
|
+
displayName: "ChipGroup__Group",
|
|
33614
|
+
componentId: "sc-evmxhv-0"
|
|
33615
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), removeListStyling, chipTokens.group.base);
|
|
33616
|
+
var ChipGroup = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
33617
|
+
var children = _a.children,
|
|
33618
|
+
rest = __rest(_a, ["children"]);
|
|
33619
|
+
|
|
33620
|
+
var childrenArray = Children.toArray(children);
|
|
33621
|
+
var groupChildren = childrenArray.map(function (item, index) {
|
|
33622
|
+
return jsxRuntime.exports.jsx("li", {
|
|
33623
|
+
children: item
|
|
33624
|
+
}, "chip-".concat(index));
|
|
33625
|
+
});
|
|
33626
|
+
return jsxRuntime.exports.jsx(Group, __assign({}, rest, {
|
|
33627
|
+
ref: ref
|
|
33628
|
+
}, {
|
|
33629
|
+
children: groupChildren
|
|
33630
|
+
}));
|
|
33631
|
+
});
|
|
33632
|
+
var templateObject_1;
|
|
33590
33633
|
|
|
33591
|
-
export { Body$1 as Body, Breadcrumb, Breadcrumbs, Button$1 as Button, Card, CardAccordion, CardAccordionBody, CardAccordionHeader, Cell, Checkbox, CheckboxGroup, Container$
|
|
33634
|
+
export { Body$1 as Body, Breadcrumb, Breadcrumbs, Button$1 as Button, Card, CardAccordion, CardAccordionBody, CardAccordionHeader, Cell, Checkbox, CheckboxGroup, Chip, ChipGroup, Container$9 as Container, Datepicker, DescriptionList, DescriptionListDesc, DescriptionListGroup, DescriptionListTerm, Divider, Drawer, DrawerGroup, Foot, GlobalMessage, Head, IconWrapper$1 as IconWrapper, InputMessage, InternalHeader, List, ListItem, LocalMessage, Modal, ModalActions, ModalBody, OverflowMenu, OverflowMenuGroup, OverflowMenuList, Pagination, Popover, PopoverGroup, RadioButton, RadioButtonGroup, Row, Search, Select, SkipToContent, SortCell, Spinner, Tab, TabList, TabPanel, TabPanels, Table, TableWrapper, Tabs, Tag, TextInput, ToggleButton, ToggleButtonGroup, Tooltip, Typography, getTextColor, isTextColor, searchFilter };
|