@norges-domstoler/dds-components 2.3.1 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{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 +6 -1
- 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 +1 -1
- 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 +3 -0
- package/dist/{src/components → components}/Tabs/index.d.ts +0 -0
- package/dist/components/Tag/Tag.d.ts +14 -0
- package/dist/components/Tag/Tag.stories.d.ts +17 -0
- package/dist/components/Tag/Tag.tokens.d.ts +26 -0
- package/dist/components/Tag/index.d.ts +1 -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 +1 -1
- 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 +2 -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} +2 -0
- package/dist/index.es.js +993 -845
- package/dist/index.js +996 -845
- 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.js
CHANGED
|
@@ -3052,7 +3052,7 @@ var DdsColorInfoDark = "rgba(94, 148, 184, 1)";
|
|
|
3052
3052
|
var DdsColorInfoDarker = "rgba(70, 111, 138, 1)";
|
|
3053
3053
|
var DdsColorInfoDarkest = "rgba(47, 74, 92, 1)";
|
|
3054
3054
|
|
|
3055
|
-
var colors$
|
|
3055
|
+
var colors$4 = /*#__PURE__*/Object.freeze({
|
|
3056
3056
|
__proto__: null,
|
|
3057
3057
|
DdsColorPrimaryLightest: DdsColorPrimaryLightest,
|
|
3058
3058
|
DdsColorPrimaryLighter: DdsColorPrimaryLighter,
|
|
@@ -3978,7 +3978,7 @@ var BordersDdsBorderStyleDarkStrokeWeight = "1px";
|
|
|
3978
3978
|
var BordersDdsBorderStyleDarkStrokeWeightNumberPx = 1;
|
|
3979
3979
|
var BordersDdsBorderStyleDarkStroke = "rgba(53, 71, 84, 1)";
|
|
3980
3980
|
|
|
3981
|
-
var border$
|
|
3981
|
+
var border$2 = /*#__PURE__*/Object.freeze({
|
|
3982
3982
|
__proto__: null,
|
|
3983
3983
|
BordersDdsBorderFocusBaseStrokeAlign: BordersDdsBorderFocusBaseStrokeAlign,
|
|
3984
3984
|
BordersDdsBorderFocusBaseStrokeMiterLimit: BordersDdsBorderFocusBaseStrokeMiterLimit,
|
|
@@ -4076,7 +4076,7 @@ var RadiiDdsBorderRadius3RadiiBottomRightNumberPx = 8;
|
|
|
4076
4076
|
var RadiiDdsBorderRadius3RadiiBottomLeft = "8px";
|
|
4077
4077
|
var RadiiDdsBorderRadius3RadiiBottomLeftNumberPx = 8;
|
|
4078
4078
|
|
|
4079
|
-
var borderRadius$
|
|
4079
|
+
var borderRadius$4 = /*#__PURE__*/Object.freeze({
|
|
4080
4080
|
__proto__: null,
|
|
4081
4081
|
RadiiDdsBorderRadius1Radius: RadiiDdsBorderRadius1Radius,
|
|
4082
4082
|
RadiiDdsBorderRadius1RadiusNumberPx: RadiiDdsBorderRadius1RadiusNumberPx,
|
|
@@ -4211,7 +4211,7 @@ var SpacingDdsSpacingPaddingTopHeadingSans08BottomNumberPx = 0;
|
|
|
4211
4211
|
var SpacingDdsSpacingPaddingTopHeadingSans08Left = "0px";
|
|
4212
4212
|
var SpacingDdsSpacingPaddingTopHeadingSans08LeftNumberPx = 0;
|
|
4213
4213
|
|
|
4214
|
-
var spacing$
|
|
4214
|
+
var spacing$6 = /*#__PURE__*/Object.freeze({
|
|
4215
4215
|
__proto__: null,
|
|
4216
4216
|
SizesDdsSpacingLocalX3: SizesDdsSpacingLocalX3,
|
|
4217
4217
|
SizesDdsSpacingLocalX3NumberPx: SizesDdsSpacingLocalX3NumberPx,
|
|
@@ -12149,7 +12149,7 @@ var fontPackageFormatter = function (font) {
|
|
|
12149
12149
|
};
|
|
12150
12150
|
|
|
12151
12151
|
var prefix$2 = ddsStyles["$dds-font"];
|
|
12152
|
-
var fontPackages = {
|
|
12152
|
+
var fontPackages$3 = {
|
|
12153
12153
|
heading_sans_01: fontPackageFormatter(prefix$2["heading"]["sans-01"]),
|
|
12154
12154
|
heading_sans_02: fontPackageFormatter(prefix$2["heading"]["sans-02"]),
|
|
12155
12155
|
heading_sans_03: fontPackageFormatter(prefix$2["heading"]["sans-03"]),
|
|
@@ -12182,30 +12182,30 @@ var fontPackages = {
|
|
|
12182
12182
|
};
|
|
12183
12183
|
|
|
12184
12184
|
var ddsBaseTokens = {
|
|
12185
|
-
colors: colors$
|
|
12185
|
+
colors: colors$4,
|
|
12186
12186
|
font: font,
|
|
12187
12187
|
breakpoints: breakpoints$1,
|
|
12188
|
-
border: border$
|
|
12189
|
-
borderRadius: borderRadius$
|
|
12190
|
-
spacing: spacing$
|
|
12188
|
+
border: border$2,
|
|
12189
|
+
borderRadius: borderRadius$4,
|
|
12190
|
+
spacing: spacing$6,
|
|
12191
12191
|
iconSizes: iconSizes,
|
|
12192
12192
|
grid: grid$2,
|
|
12193
12193
|
innerShadow: innerShadow,
|
|
12194
12194
|
outerShadow: outerShadow,
|
|
12195
|
-
fontPackages: fontPackages,
|
|
12195
|
+
fontPackages: fontPackages$3,
|
|
12196
12196
|
};
|
|
12197
12197
|
|
|
12198
|
-
var Colors$
|
|
12198
|
+
var Colors$t = ddsBaseTokens.colors, FontPackages$j = ddsBaseTokens.fontPackages, BorderRadius$9 = ddsBaseTokens.borderRadius, Border$h = ddsBaseTokens.border;
|
|
12199
12199
|
var textDefault$8 = {
|
|
12200
|
-
textColor: Colors$
|
|
12201
|
-
font: FontPackages$
|
|
12200
|
+
textColor: Colors$t.DdsColorNeutralsGray9,
|
|
12201
|
+
font: FontPackages$j.body_sans_02.base,
|
|
12202
12202
|
};
|
|
12203
12203
|
var focus = {
|
|
12204
|
-
colorDefault: Border$
|
|
12205
|
-
outlineWidth: Border$
|
|
12206
|
-
color__TextInput: Colors$
|
|
12207
|
-
textColor__TextInput: Colors$
|
|
12208
|
-
borderWidth__TextInput: Border$
|
|
12204
|
+
colorDefault: Border$h.BordersDdsBorderFocusBaseStroke,
|
|
12205
|
+
outlineWidth: Border$h.BordersDdsBorderFocusBaseStrokeWeight,
|
|
12206
|
+
color__TextInput: Colors$t.DdsColorInteractiveBase,
|
|
12207
|
+
textColor__TextInput: Colors$t.DdsColorInteractiveDark,
|
|
12208
|
+
borderWidth__TextInput: Border$h.BordersDdsBorderFocusInputfieldStrokeWeight,
|
|
12209
12209
|
};
|
|
12210
12210
|
var ddsReferenceTokens = {
|
|
12211
12211
|
focus: focus,
|
|
@@ -12213,12 +12213,12 @@ var ddsReferenceTokens = {
|
|
|
12213
12213
|
textInput: {
|
|
12214
12214
|
input: {
|
|
12215
12215
|
borderRadius: BorderRadius$9.RadiiDdsBorderRadius1Radius,
|
|
12216
|
-
borderWidth: Border$
|
|
12217
|
-
borderColor: Colors$
|
|
12216
|
+
borderWidth: Border$h.BordersDdsBorderStyleLightStrokeWeight,
|
|
12217
|
+
borderColor: Colors$t.DdsColorNeutralsGray5,
|
|
12218
12218
|
textColor: textDefault$8.textColor,
|
|
12219
|
-
font: FontPackages$
|
|
12219
|
+
font: FontPackages$j.supportingStyle_inputtext_02.base,
|
|
12220
12220
|
hover: {
|
|
12221
|
-
backgroundColor: Colors$
|
|
12221
|
+
backgroundColor: Colors$t.DdsColorInteractiveLightest,
|
|
12222
12222
|
borderColor: focus.color__TextInput,
|
|
12223
12223
|
borderWidth: focus.borderWidth__TextInput,
|
|
12224
12224
|
},
|
|
@@ -12248,77 +12248,84 @@ var removeButtonStyling = {
|
|
|
12248
12248
|
outline: 'inherit'
|
|
12249
12249
|
};
|
|
12250
12250
|
|
|
12251
|
-
var
|
|
12252
|
-
|
|
12251
|
+
var visibilityTransition = function visibilityTransition(open) {
|
|
12252
|
+
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);
|
|
12253
|
+
};
|
|
12254
|
+
var templateObject_1$$;
|
|
12255
|
+
|
|
12256
|
+
var Border$g = ddsBaseTokens.border,
|
|
12257
|
+
Colors$s = ddsBaseTokens.colors;
|
|
12253
12258
|
var outlineOffset = '2px';
|
|
12254
12259
|
var focusVisible = {
|
|
12255
|
-
outline: "".concat(Border$
|
|
12260
|
+
outline: "".concat(Border$g.BordersDdsBorderFocusBaseStrokeWeight, " ").concat(Border$g.BordersDdsBorderFocusBaseStroke, " solid"),
|
|
12256
12261
|
outlineOffset: outlineOffset
|
|
12257
12262
|
};
|
|
12258
12263
|
var focusVisibleOnDark = {
|
|
12259
|
-
outline: "".concat(Border$
|
|
12264
|
+
outline: "".concat(Border$g.BordersDdsBorderFocusOndarkStrokeWeight, " ").concat(Border$g.BordersDdsBorderFocusOndarkStroke, " solid"),
|
|
12260
12265
|
outlineOffset: outlineOffset
|
|
12261
12266
|
};
|
|
12267
|
+
var focusVisibleTransitionValue = 'outline-offset 0.2s';
|
|
12262
12268
|
var focusVisibleLink = {
|
|
12263
12269
|
outline: 'none',
|
|
12264
|
-
backgroundColor: Border$
|
|
12265
|
-
color: Colors$
|
|
12270
|
+
backgroundColor: Border$g.BordersDdsBorderFocusBaseStroke,
|
|
12271
|
+
color: Colors$s.DdsColorNeutralsWhite,
|
|
12266
12272
|
textDecoration: 'none'
|
|
12267
12273
|
};
|
|
12268
12274
|
({
|
|
12269
12275
|
outline: 'none',
|
|
12270
|
-
backgroundColor: Border$
|
|
12271
|
-
color: Colors$
|
|
12276
|
+
backgroundColor: Border$g.BordersDdsBorderFocusOndarkStroke,
|
|
12277
|
+
color: Colors$s.DdsColorNeutralsGray9,
|
|
12272
12278
|
textDecoration: 'none'
|
|
12273
12279
|
});
|
|
12280
|
+
var focusVisibleLinkTransitionValue = 'background-color 0.2s, text-decoration 0.2s, color 0.2s';
|
|
12274
12281
|
var focusVisibleWithBorder = {
|
|
12275
12282
|
outline: 'none',
|
|
12276
|
-
borderColor: Border$
|
|
12277
|
-
boxShadow: "inset 0 0 0 1px ".concat(Border$
|
|
12283
|
+
borderColor: Border$g.BordersDdsBorderFocusCardStroke,
|
|
12284
|
+
boxShadow: "inset 0 0 0 1px ".concat(Border$g.BordersDdsBorderFocusCardStroke)
|
|
12278
12285
|
};
|
|
12279
12286
|
({
|
|
12280
12287
|
outline: 'none',
|
|
12281
|
-
borderColor: Border$
|
|
12282
|
-
boxShadow: "inset 0 0 0 1px ".concat(Border$
|
|
12288
|
+
borderColor: Border$g.BordersDdsBorderFocusOndarkStroke,
|
|
12289
|
+
boxShadow: "inset 0 0 0 1px ".concat(Border$g.BordersDdsBorderFocusOndarkStroke)
|
|
12283
12290
|
});
|
|
12284
12291
|
var focusVisibleInset = {
|
|
12285
12292
|
outline: 'none',
|
|
12286
|
-
boxShadow: "inset 0 0 0 2px ".concat(Border$
|
|
12293
|
+
boxShadow: "inset 0 0 0 2px ".concat(Border$g.BordersDdsBorderFocusCardStroke)
|
|
12287
12294
|
};
|
|
12288
12295
|
|
|
12289
|
-
var Border$
|
|
12290
|
-
Colors$
|
|
12296
|
+
var Border$f = ddsBaseTokens.border,
|
|
12297
|
+
Colors$r = ddsBaseTokens.colors;
|
|
12291
12298
|
var hoverWithBorder = {
|
|
12292
|
-
borderColor: Border$
|
|
12293
|
-
boxShadow: "inset 0 0 0 1px ".concat(Border$
|
|
12299
|
+
borderColor: Border$f.BordersDdsBorderFocusInputfieldStroke,
|
|
12300
|
+
boxShadow: "inset 0 0 0 1px ".concat(Border$f.BordersDdsBorderFocusInputfieldStroke)
|
|
12294
12301
|
};
|
|
12295
12302
|
var hoverInputfield = {
|
|
12296
|
-
borderColor: Border$
|
|
12297
|
-
boxShadow: "inset 0 0 0 1px ".concat(Border$
|
|
12298
|
-
backgroundColor: Colors$
|
|
12303
|
+
borderColor: Border$f.BordersDdsBorderFocusInputfieldStroke,
|
|
12304
|
+
boxShadow: "inset 0 0 0 1px ".concat(Border$f.BordersDdsBorderFocusInputfieldStroke),
|
|
12305
|
+
backgroundColor: Colors$r.DdsColorInteractiveLightest
|
|
12299
12306
|
};
|
|
12300
12307
|
var hoverDangerInputfield = {
|
|
12301
|
-
borderColor: Colors$
|
|
12302
|
-
boxShadow: "inset 0 0 0 1px ".concat(Colors$
|
|
12303
|
-
backgroundColor: Colors$
|
|
12308
|
+
borderColor: Colors$r.DdsColorDangerBase,
|
|
12309
|
+
boxShadow: "inset 0 0 0 1px ".concat(Colors$r.DdsColorDangerBase),
|
|
12310
|
+
backgroundColor: Colors$r.DdsColorDangerLightest
|
|
12304
12311
|
};
|
|
12305
12312
|
|
|
12306
|
-
var Border$
|
|
12307
|
-
Colors$
|
|
12313
|
+
var Border$e = ddsBaseTokens.border,
|
|
12314
|
+
Colors$q = ddsBaseTokens.colors;
|
|
12308
12315
|
var focusInputfield = {
|
|
12309
12316
|
outline: 'none',
|
|
12310
|
-
borderColor: Border$
|
|
12311
|
-
boxShadow: "inset 0 0 0 1px ".concat(Border$
|
|
12317
|
+
borderColor: Border$e.BordersDdsBorderFocusInputfieldStroke,
|
|
12318
|
+
boxShadow: "inset 0 0 0 1px ".concat(Border$e.BordersDdsBorderFocusInputfieldStroke)
|
|
12312
12319
|
};
|
|
12313
12320
|
var focusDangerInputfield = {
|
|
12314
|
-
borderColor: Colors$
|
|
12315
|
-
boxShadow: "inset 0 0 0 1px ".concat(Colors$
|
|
12321
|
+
borderColor: Colors$q.DdsColorDangerBase,
|
|
12322
|
+
boxShadow: "inset 0 0 0 1px ".concat(Colors$q.DdsColorDangerBase)
|
|
12316
12323
|
};
|
|
12317
12324
|
|
|
12318
|
-
var Colors$
|
|
12325
|
+
var Colors$p = ddsBaseTokens.colors;
|
|
12319
12326
|
var dangerInputfield = {
|
|
12320
|
-
borderColor: Colors$
|
|
12321
|
-
boxShadow: "inset 0 0 0 1px ".concat(Colors$
|
|
12327
|
+
borderColor: Colors$p.DdsColorDangerBase,
|
|
12328
|
+
boxShadow: "inset 0 0 0 1px ".concat(Colors$p.DdsColorDangerBase)
|
|
12322
12329
|
};
|
|
12323
12330
|
|
|
12324
12331
|
var hideInput = {
|
|
@@ -12329,49 +12336,51 @@ var hideInput = {
|
|
|
12329
12336
|
margin: 0
|
|
12330
12337
|
};
|
|
12331
12338
|
|
|
12332
|
-
var
|
|
12333
|
-
var
|
|
12339
|
+
var scrollbarWidthNumberPx = 10;
|
|
12340
|
+
var scrollbarWidth = "".concat(scrollbarWidthNumberPx, "px");
|
|
12341
|
+
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)');
|
|
12342
|
+
var templateObject_1$_;
|
|
12334
12343
|
|
|
12335
|
-
var Colors$
|
|
12336
|
-
FontPackages$
|
|
12337
|
-
Spacing$
|
|
12344
|
+
var Colors$o = ddsBaseTokens.colors,
|
|
12345
|
+
FontPackages$i = ddsBaseTokens.fontPackages,
|
|
12346
|
+
Spacing$x = ddsBaseTokens.spacing;
|
|
12338
12347
|
var textDefault$7 = ddsReferenceTokens.textDefault;
|
|
12339
12348
|
var textColors = {
|
|
12340
|
-
interactive: Colors$
|
|
12341
|
-
primary: Colors$
|
|
12342
|
-
danger: Colors$
|
|
12343
|
-
success: Colors$
|
|
12344
|
-
warning: Colors$
|
|
12349
|
+
interactive: Colors$o.DdsColorInteractiveBase,
|
|
12350
|
+
primary: Colors$o.DdsColorPrimaryBase,
|
|
12351
|
+
danger: Colors$o.DdsColorDangerBase,
|
|
12352
|
+
success: Colors$o.DdsColorSuccessBase,
|
|
12353
|
+
warning: Colors$o.DdsColorWarningBase,
|
|
12345
12354
|
onLight: textDefault$7.textColor,
|
|
12346
|
-
onDark: Colors$
|
|
12347
|
-
gray1: Colors$
|
|
12348
|
-
gray2: Colors$
|
|
12349
|
-
gray3: Colors$
|
|
12350
|
-
gray4: Colors$
|
|
12351
|
-
gray5: Colors$
|
|
12352
|
-
gray6: Colors$
|
|
12353
|
-
gray7: Colors$
|
|
12354
|
-
gray8: Colors$
|
|
12355
|
-
gray9: Colors$
|
|
12355
|
+
onDark: Colors$o.DdsColorNeutralsWhite,
|
|
12356
|
+
gray1: Colors$o.DdsColorNeutralsGray1,
|
|
12357
|
+
gray2: Colors$o.DdsColorNeutralsGray2,
|
|
12358
|
+
gray3: Colors$o.DdsColorNeutralsGray3,
|
|
12359
|
+
gray4: Colors$o.DdsColorNeutralsGray4,
|
|
12360
|
+
gray5: Colors$o.DdsColorNeutralsGray5,
|
|
12361
|
+
gray6: Colors$o.DdsColorNeutralsGray6,
|
|
12362
|
+
gray7: Colors$o.DdsColorNeutralsGray7,
|
|
12363
|
+
gray8: Colors$o.DdsColorNeutralsGray8,
|
|
12364
|
+
gray9: Colors$o.DdsColorNeutralsGray9
|
|
12356
12365
|
};
|
|
12357
12366
|
var textColorsArray = ['interactive', 'primary', 'danger', 'success', 'warning', 'onLight', 'onDark', 'gray1', 'gray2', 'gray3', 'gray4', 'gray5', 'gray6', 'gray7', 'gray8', 'gray9'];
|
|
12358
12367
|
var aBase = {
|
|
12359
|
-
color: Colors$
|
|
12368
|
+
color: Colors$o.DdsColorInteractiveBase,
|
|
12360
12369
|
font: 'inherit',
|
|
12361
12370
|
textDecoration: 'underline',
|
|
12362
12371
|
width: 'fit-content'
|
|
12363
12372
|
};
|
|
12364
12373
|
var aMarginsBase = {
|
|
12365
12374
|
marginTop: 0,
|
|
12366
|
-
marginBottom: FontPackages$
|
|
12375
|
+
marginBottom: FontPackages$i.body_sans_02.paragraph.paragraphSpacing
|
|
12367
12376
|
};
|
|
12368
12377
|
var aHoverBase = {
|
|
12369
|
-
color: Colors$
|
|
12378
|
+
color: Colors$o.DdsColorInteractiveDark
|
|
12370
12379
|
};
|
|
12371
12380
|
|
|
12372
12381
|
var aFocusBase = __assign({}, focusVisibleLink);
|
|
12373
12382
|
|
|
12374
|
-
var aBoldBase = __assign(__assign({}, FontPackages$
|
|
12383
|
+
var aBoldBase = __assign(__assign({}, FontPackages$i.body_sans_02), {
|
|
12375
12384
|
fontWeight: 600
|
|
12376
12385
|
});
|
|
12377
12386
|
|
|
@@ -12387,291 +12396,291 @@ var italicBase = {
|
|
|
12387
12396
|
|
|
12388
12397
|
var headingSans01Base = __assign({
|
|
12389
12398
|
color: textDefault$7.textColor
|
|
12390
|
-
}, FontPackages$
|
|
12399
|
+
}, FontPackages$i.heading_sans_01.base);
|
|
12391
12400
|
|
|
12392
12401
|
var headingSans01MarginsBase = {
|
|
12393
12402
|
marginTop: 0,
|
|
12394
|
-
marginBottom: FontPackages$
|
|
12395
|
-
paddingTop: Spacing$
|
|
12403
|
+
marginBottom: FontPackages$i.heading_sans_01.paragraph.paragraphSpacing,
|
|
12404
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans01Top
|
|
12396
12405
|
};
|
|
12397
12406
|
|
|
12398
12407
|
var headingSans02Base = __assign({
|
|
12399
12408
|
color: textDefault$7.textColor
|
|
12400
|
-
}, FontPackages$
|
|
12409
|
+
}, FontPackages$i.heading_sans_02.base);
|
|
12401
12410
|
|
|
12402
12411
|
var headingSans02MarginsBase = {
|
|
12403
12412
|
marginTop: 0,
|
|
12404
|
-
marginBottom: FontPackages$
|
|
12405
|
-
paddingTop: Spacing$
|
|
12413
|
+
marginBottom: FontPackages$i.heading_sans_02.paragraph.paragraphSpacing,
|
|
12414
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans02Top
|
|
12406
12415
|
};
|
|
12407
12416
|
|
|
12408
12417
|
var headingSans03Base = __assign({
|
|
12409
12418
|
color: textDefault$7.textColor
|
|
12410
|
-
}, FontPackages$
|
|
12419
|
+
}, FontPackages$i.heading_sans_03.base);
|
|
12411
12420
|
|
|
12412
12421
|
var headingSans03MarginsBase = {
|
|
12413
12422
|
marginTop: 0,
|
|
12414
|
-
marginBottom: FontPackages$
|
|
12415
|
-
paddingTop: Spacing$
|
|
12423
|
+
marginBottom: FontPackages$i.heading_sans_03.paragraph.paragraphSpacing,
|
|
12424
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans03Top
|
|
12416
12425
|
};
|
|
12417
12426
|
|
|
12418
12427
|
var headingSans04Base = __assign({
|
|
12419
12428
|
color: textDefault$7.textColor
|
|
12420
|
-
}, FontPackages$
|
|
12429
|
+
}, FontPackages$i.heading_sans_04.base);
|
|
12421
12430
|
|
|
12422
12431
|
var headingSans04MarginsBase = {
|
|
12423
12432
|
marginTop: 0,
|
|
12424
|
-
marginBottom: FontPackages$
|
|
12425
|
-
paddingTop: Spacing$
|
|
12433
|
+
marginBottom: FontPackages$i.heading_sans_04.paragraph.paragraphSpacing,
|
|
12434
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans04Top
|
|
12426
12435
|
};
|
|
12427
12436
|
|
|
12428
12437
|
var headingSans05Base = __assign({
|
|
12429
12438
|
color: textDefault$7.textColor
|
|
12430
|
-
}, FontPackages$
|
|
12439
|
+
}, FontPackages$i.heading_sans_05.base);
|
|
12431
12440
|
|
|
12432
12441
|
var headingSans05MarginsBase = {
|
|
12433
12442
|
marginTop: 0,
|
|
12434
|
-
marginBottom: FontPackages$
|
|
12435
|
-
paddingTop: Spacing$
|
|
12443
|
+
marginBottom: FontPackages$i.heading_sans_05.paragraph.paragraphSpacing,
|
|
12444
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans05Top
|
|
12436
12445
|
};
|
|
12437
12446
|
|
|
12438
12447
|
var headingSans06Base = __assign({
|
|
12439
12448
|
color: textDefault$7.textColor
|
|
12440
|
-
}, FontPackages$
|
|
12449
|
+
}, FontPackages$i.heading_sans_06.base);
|
|
12441
12450
|
|
|
12442
12451
|
var headingSans06MarginsBase = {
|
|
12443
12452
|
marginTop: 0,
|
|
12444
|
-
marginBottom: FontPackages$
|
|
12445
|
-
paddingTop: Spacing$
|
|
12453
|
+
marginBottom: FontPackages$i.heading_sans_06.paragraph.paragraphSpacing,
|
|
12454
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans06Top
|
|
12446
12455
|
};
|
|
12447
12456
|
|
|
12448
12457
|
var headingSans07Base = __assign({
|
|
12449
12458
|
color: textDefault$7.textColor
|
|
12450
|
-
}, FontPackages$
|
|
12459
|
+
}, FontPackages$i.heading_sans_07.base);
|
|
12451
12460
|
|
|
12452
12461
|
var headingSans07MarginsBase = {
|
|
12453
12462
|
marginTop: 0,
|
|
12454
|
-
marginBottom: FontPackages$
|
|
12455
|
-
paddingTop: Spacing$
|
|
12463
|
+
marginBottom: FontPackages$i.heading_sans_07.paragraph.paragraphSpacing,
|
|
12464
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans07Top
|
|
12456
12465
|
};
|
|
12457
12466
|
|
|
12458
12467
|
var headingSans08Base = __assign({
|
|
12459
12468
|
color: textDefault$7.textColor
|
|
12460
|
-
}, FontPackages$
|
|
12469
|
+
}, FontPackages$i.heading_sans_08.base);
|
|
12461
12470
|
|
|
12462
12471
|
var headingSans08MarginsBase = {
|
|
12463
12472
|
marginTop: 0,
|
|
12464
|
-
marginBottom: FontPackages$
|
|
12465
|
-
paddingTop: Spacing$
|
|
12473
|
+
marginBottom: FontPackages$i.heading_sans_08.paragraph.paragraphSpacing,
|
|
12474
|
+
paddingTop: Spacing$x.SpacingDdsSpacingPaddingTopHeadingSans08Top
|
|
12466
12475
|
};
|
|
12467
12476
|
|
|
12468
12477
|
var bodySans01Base$1 = __assign({
|
|
12469
12478
|
color: textDefault$7.textColor
|
|
12470
|
-
}, FontPackages$
|
|
12479
|
+
}, FontPackages$i.body_sans_01.base);
|
|
12471
12480
|
|
|
12472
12481
|
var bodySans01MarginsBase = {
|
|
12473
12482
|
marginTop: 0,
|
|
12474
|
-
marginBottom: FontPackages$
|
|
12483
|
+
marginBottom: FontPackages$i.body_sans_01.paragraph.paragraphSpacing
|
|
12475
12484
|
};
|
|
12476
12485
|
|
|
12477
12486
|
var bodySans02Base$1 = __assign({
|
|
12478
12487
|
color: textDefault$7.textColor
|
|
12479
|
-
}, FontPackages$
|
|
12488
|
+
}, FontPackages$i.body_sans_02.base);
|
|
12480
12489
|
|
|
12481
12490
|
var bodySans02MarginsBase = {
|
|
12482
12491
|
marginTop: 0,
|
|
12483
|
-
marginBottom: FontPackages$
|
|
12492
|
+
marginBottom: FontPackages$i.body_sans_02.paragraph.paragraphSpacing
|
|
12484
12493
|
};
|
|
12485
12494
|
|
|
12486
12495
|
var bodySans03Base$1 = __assign({
|
|
12487
12496
|
color: textDefault$7.textColor
|
|
12488
|
-
}, FontPackages$
|
|
12497
|
+
}, FontPackages$i.body_sans_03.base);
|
|
12489
12498
|
|
|
12490
12499
|
var bodySans03MarginsBase = {
|
|
12491
12500
|
marginTop: 0,
|
|
12492
|
-
marginBottom: FontPackages$
|
|
12501
|
+
marginBottom: FontPackages$i.body_sans_03.paragraph.paragraphSpacing
|
|
12493
12502
|
};
|
|
12494
12503
|
|
|
12495
12504
|
var bodySans04Base$1 = __assign({
|
|
12496
12505
|
color: textDefault$7.textColor
|
|
12497
|
-
}, FontPackages$
|
|
12506
|
+
}, FontPackages$i.body_sans_04.base);
|
|
12498
12507
|
|
|
12499
12508
|
var bodySans04MarginsBase = {
|
|
12500
12509
|
marginTop: 0,
|
|
12501
|
-
marginBottom: FontPackages$
|
|
12510
|
+
marginBottom: FontPackages$i.body_sans_04.paragraph.paragraphSpacing
|
|
12502
12511
|
};
|
|
12503
12512
|
|
|
12504
12513
|
var bodySerif01Base$1 = __assign({
|
|
12505
12514
|
color: textDefault$7.textColor
|
|
12506
|
-
}, FontPackages$
|
|
12515
|
+
}, FontPackages$i.body_serif_01.base);
|
|
12507
12516
|
|
|
12508
12517
|
var bodySerif01MarginsBase = {
|
|
12509
12518
|
marginTop: 0,
|
|
12510
|
-
marginBottom: FontPackages$
|
|
12519
|
+
marginBottom: FontPackages$i.body_serif_01.paragraph.paragraphSpacing
|
|
12511
12520
|
};
|
|
12512
12521
|
|
|
12513
12522
|
var bodySerif02Base$1 = __assign({
|
|
12514
12523
|
color: textDefault$7.textColor
|
|
12515
|
-
}, FontPackages$
|
|
12524
|
+
}, FontPackages$i.body_serif_02.base);
|
|
12516
12525
|
|
|
12517
12526
|
var bodySerif02MarginsBase = {
|
|
12518
12527
|
marginTop: 0,
|
|
12519
|
-
marginBottom: FontPackages$
|
|
12528
|
+
marginBottom: FontPackages$i.body_serif_02.paragraph.paragraphSpacing
|
|
12520
12529
|
};
|
|
12521
12530
|
|
|
12522
12531
|
var bodySerif03Base$1 = __assign({
|
|
12523
12532
|
color: textDefault$7.textColor
|
|
12524
|
-
}, FontPackages$
|
|
12533
|
+
}, FontPackages$i.body_serif_03.base);
|
|
12525
12534
|
|
|
12526
12535
|
var bodySerif03MarginsBase = {
|
|
12527
12536
|
marginTop: 0,
|
|
12528
|
-
marginBottom: FontPackages$
|
|
12537
|
+
marginBottom: FontPackages$i.body_serif_03.paragraph.paragraphSpacing
|
|
12529
12538
|
};
|
|
12530
12539
|
|
|
12531
12540
|
var bodySerif04Base$1 = __assign({
|
|
12532
12541
|
color: textDefault$7.textColor
|
|
12533
|
-
}, FontPackages$
|
|
12542
|
+
}, FontPackages$i.body_serif_04.base);
|
|
12534
12543
|
|
|
12535
12544
|
var bodySerif04MarginsBase = {
|
|
12536
12545
|
marginTop: 0,
|
|
12537
|
-
marginBottom: FontPackages$
|
|
12546
|
+
marginBottom: FontPackages$i.body_serif_04.paragraph.paragraphSpacing
|
|
12538
12547
|
};
|
|
12539
12548
|
|
|
12540
12549
|
var leadSans01Base = __assign({
|
|
12541
12550
|
color: textDefault$7.textColor
|
|
12542
|
-
}, FontPackages$
|
|
12551
|
+
}, FontPackages$i.lead_sans_01.base);
|
|
12543
12552
|
|
|
12544
12553
|
var leadSans01MarginsBase = {
|
|
12545
12554
|
marginTop: 0,
|
|
12546
|
-
marginBottom: FontPackages$
|
|
12555
|
+
marginBottom: FontPackages$i.lead_sans_01.paragraph.paragraphSpacing
|
|
12547
12556
|
};
|
|
12548
12557
|
|
|
12549
12558
|
var leadSans02Base = __assign({
|
|
12550
12559
|
color: textDefault$7.textColor
|
|
12551
|
-
}, FontPackages$
|
|
12560
|
+
}, FontPackages$i.lead_sans_02.base);
|
|
12552
12561
|
|
|
12553
12562
|
var leadSans02MarginsBase = {
|
|
12554
12563
|
marginTop: 0,
|
|
12555
|
-
marginBottom: FontPackages$
|
|
12564
|
+
marginBottom: FontPackages$i.lead_sans_02.paragraph.paragraphSpacing
|
|
12556
12565
|
};
|
|
12557
12566
|
|
|
12558
12567
|
var leadSans03Base = __assign({
|
|
12559
12568
|
color: textDefault$7.textColor
|
|
12560
|
-
}, FontPackages$
|
|
12569
|
+
}, FontPackages$i.lead_sans_03.base);
|
|
12561
12570
|
|
|
12562
12571
|
var leadSans03MarginsBase = {
|
|
12563
12572
|
marginTop: 0,
|
|
12564
|
-
marginBottom: FontPackages$
|
|
12573
|
+
marginBottom: FontPackages$i.lead_sans_03.paragraph.paragraphSpacing
|
|
12565
12574
|
};
|
|
12566
12575
|
|
|
12567
12576
|
var leadSans04Base = __assign({
|
|
12568
12577
|
color: textDefault$7.textColor
|
|
12569
|
-
}, FontPackages$
|
|
12578
|
+
}, FontPackages$i.lead_sans_04.base);
|
|
12570
12579
|
|
|
12571
12580
|
var leadSans04MarginsBase = {
|
|
12572
12581
|
marginTop: 0,
|
|
12573
|
-
marginBottom: FontPackages$
|
|
12582
|
+
marginBottom: FontPackages$i.lead_sans_04.paragraph.paragraphSpacing
|
|
12574
12583
|
};
|
|
12575
12584
|
|
|
12576
12585
|
var leadSans05Base = __assign({
|
|
12577
12586
|
color: textDefault$7.textColor
|
|
12578
|
-
}, FontPackages$
|
|
12587
|
+
}, FontPackages$i.lead_sans_05.base);
|
|
12579
12588
|
|
|
12580
12589
|
var leadSans05MarginsBase = {
|
|
12581
12590
|
marginTop: 0,
|
|
12582
|
-
marginBottom: FontPackages$
|
|
12591
|
+
marginBottom: FontPackages$i.lead_sans_05.paragraph.paragraphSpacing
|
|
12583
12592
|
};
|
|
12584
12593
|
|
|
12585
12594
|
var supportingStyleLabel01Base = __assign(__assign({
|
|
12586
|
-
color: Colors$
|
|
12587
|
-
}, FontPackages$
|
|
12595
|
+
color: Colors$o.DdsColorNeutralsGray7
|
|
12596
|
+
}, FontPackages$i.supportingStyle_label_01.base), {
|
|
12588
12597
|
margin: 0
|
|
12589
12598
|
});
|
|
12590
12599
|
|
|
12591
12600
|
var supportingStyleLabel01MarginsBase = {
|
|
12592
|
-
marginTop: FontPackages$
|
|
12593
|
-
marginBottom: FontPackages$
|
|
12601
|
+
marginTop: FontPackages$i.supportingStyle_label_01.paragraph.paragraphSpacing,
|
|
12602
|
+
marginBottom: FontPackages$i.supportingStyle_label_01.paragraph.paragraphSpacing
|
|
12594
12603
|
};
|
|
12595
12604
|
|
|
12596
12605
|
var supportingStyleHelperText01Base = __assign(__assign({
|
|
12597
|
-
color: Colors$
|
|
12598
|
-
}, FontPackages$
|
|
12606
|
+
color: Colors$o.DdsColorNeutralsGray6
|
|
12607
|
+
}, FontPackages$i.supportingStyle_helpertext_01.base), {
|
|
12599
12608
|
margin: 0
|
|
12600
12609
|
});
|
|
12601
12610
|
|
|
12602
12611
|
var supportingStyleHelperText01MarginsBase = {
|
|
12603
|
-
marginTop: FontPackages$
|
|
12604
|
-
marginBottom: FontPackages$
|
|
12612
|
+
marginTop: FontPackages$i.supportingStyle_helpertext_01.paragraph.paragraphSpacing,
|
|
12613
|
+
marginBottom: FontPackages$i.supportingStyle_helpertext_01.paragraph.paragraphSpacing
|
|
12605
12614
|
};
|
|
12606
12615
|
|
|
12607
12616
|
var supportingStyleInputText01Base = __assign(__assign({
|
|
12608
12617
|
color: textDefault$7.textColor
|
|
12609
|
-
}, FontPackages$
|
|
12618
|
+
}, FontPackages$i.supportingStyle_inputtext_01.base), {
|
|
12610
12619
|
margin: 0
|
|
12611
12620
|
});
|
|
12612
12621
|
|
|
12613
12622
|
var supportingStyleInputText01MarginsBase = {
|
|
12614
|
-
marginTop: FontPackages$
|
|
12615
|
-
marginBottom: FontPackages$
|
|
12623
|
+
marginTop: FontPackages$i.supportingStyle_inputtext_01.paragraph.paragraphSpacing,
|
|
12624
|
+
marginBottom: FontPackages$i.supportingStyle_inputtext_01.paragraph.paragraphSpacing
|
|
12616
12625
|
};
|
|
12617
12626
|
|
|
12618
12627
|
var supportingStyleInputText02Base = __assign(__assign({
|
|
12619
12628
|
color: textDefault$7.textColor
|
|
12620
|
-
}, FontPackages$
|
|
12629
|
+
}, FontPackages$i.supportingStyle_inputtext_02.base), {
|
|
12621
12630
|
margin: 0
|
|
12622
12631
|
});
|
|
12623
12632
|
|
|
12624
12633
|
var supportingStyleInputText02MarginsBase = {
|
|
12625
|
-
marginTop: FontPackages$
|
|
12626
|
-
marginBottom: FontPackages$
|
|
12634
|
+
marginTop: FontPackages$i.supportingStyle_inputtext_02.paragraph.paragraphSpacing,
|
|
12635
|
+
marginBottom: FontPackages$i.supportingStyle_inputtext_02.paragraph.paragraphSpacing
|
|
12627
12636
|
};
|
|
12628
12637
|
|
|
12629
12638
|
var supportingStyleInputText03Base = __assign(__assign({
|
|
12630
12639
|
color: textDefault$7.textColor
|
|
12631
|
-
}, FontPackages$
|
|
12640
|
+
}, FontPackages$i.supportingStyle_inputtext_03.base), {
|
|
12632
12641
|
margin: 0
|
|
12633
12642
|
});
|
|
12634
12643
|
|
|
12635
12644
|
var supportingStyleInputText03MarginsBase = {
|
|
12636
|
-
marginTop: FontPackages$
|
|
12637
|
-
marginBottom: FontPackages$
|
|
12645
|
+
marginTop: FontPackages$i.supportingStyle_inputtext_03.paragraph.paragraphSpacing,
|
|
12646
|
+
marginBottom: FontPackages$i.supportingStyle_inputtext_03.paragraph.paragraphSpacing
|
|
12638
12647
|
};
|
|
12639
12648
|
|
|
12640
12649
|
var supportingStylePlaceholderText01Base = __assign(__assign({
|
|
12641
|
-
color: Colors$
|
|
12642
|
-
}, FontPackages$
|
|
12650
|
+
color: Colors$o.DdsColorNeutralsGray6
|
|
12651
|
+
}, FontPackages$i.supportingStyle_placeholdertext_01.base), {
|
|
12643
12652
|
margin: 0
|
|
12644
12653
|
});
|
|
12645
12654
|
|
|
12646
12655
|
var supportingStylePlaceholderText01MarginsBase = {
|
|
12647
|
-
marginTop: FontPackages$
|
|
12648
|
-
marginBottom: FontPackages$
|
|
12656
|
+
marginTop: FontPackages$i.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing,
|
|
12657
|
+
marginBottom: FontPackages$i.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing
|
|
12649
12658
|
};
|
|
12650
12659
|
|
|
12651
12660
|
var supportingStyleTiny01Base = __assign(__assign({
|
|
12652
12661
|
color: textDefault$7.textColor
|
|
12653
|
-
}, FontPackages$
|
|
12662
|
+
}, FontPackages$i.supportingStyle_tiny_01.base), {
|
|
12654
12663
|
margin: 0
|
|
12655
12664
|
});
|
|
12656
12665
|
|
|
12657
12666
|
var supportingStyleTiny01MarginsBase = {
|
|
12658
|
-
marginTop: FontPackages$
|
|
12659
|
-
marginBottom: FontPackages$
|
|
12667
|
+
marginTop: FontPackages$i.supportingStyle_tiny_01.paragraph.paragraphSpacing,
|
|
12668
|
+
marginBottom: FontPackages$i.supportingStyle_tiny_01.paragraph.paragraphSpacing
|
|
12660
12669
|
};
|
|
12661
12670
|
|
|
12662
12671
|
var supportingStyleTiny02Base = __assign(__assign({
|
|
12663
12672
|
color: textDefault$7.textColor
|
|
12664
|
-
}, FontPackages$
|
|
12673
|
+
}, FontPackages$i.supportingStyle_tiny_02.base), {
|
|
12665
12674
|
margin: 0
|
|
12666
12675
|
});
|
|
12667
12676
|
|
|
12668
12677
|
var supportingStyleTiny02MarginsBase = {
|
|
12669
|
-
marginTop: FontPackages$
|
|
12670
|
-
marginBottom: FontPackages$
|
|
12678
|
+
marginTop: FontPackages$i.supportingStyle_tiny_02.paragraph.paragraphSpacing,
|
|
12679
|
+
marginBottom: FontPackages$i.supportingStyle_tiny_02.paragraph.paragraphSpacing
|
|
12671
12680
|
};
|
|
12672
12681
|
var selectionBase = {
|
|
12673
12682
|
color: textDefault$7.textColor,
|
|
12674
|
-
backgroundColor: Colors$
|
|
12683
|
+
backgroundColor: Colors$o.DdsColorTertiaryLightest
|
|
12675
12684
|
};
|
|
12676
12685
|
var typographyTokens = {
|
|
12677
12686
|
selection: {
|
|
@@ -12693,7 +12702,7 @@ var typographyTokens = {
|
|
|
12693
12702
|
base: aBoldBase
|
|
12694
12703
|
},
|
|
12695
12704
|
icon: {
|
|
12696
|
-
marginLeft: Spacing$
|
|
12705
|
+
marginLeft: Spacing$x.SizesDdsSpacingLocalX0125
|
|
12697
12706
|
}
|
|
12698
12707
|
},
|
|
12699
12708
|
headingSans01: {
|
|
@@ -17897,15 +17906,15 @@ process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {
|
|
|
17897
17906
|
return obj;
|
|
17898
17907
|
}, {}) : {};
|
|
17899
17908
|
|
|
17900
|
-
function spacing$
|
|
17909
|
+
function spacing$5(props) {
|
|
17901
17910
|
return style(props, spacingKeys);
|
|
17902
17911
|
}
|
|
17903
17912
|
|
|
17904
|
-
spacing$
|
|
17913
|
+
spacing$5.propTypes = process.env.NODE_ENV !== 'production' ? spacingKeys.reduce((obj, key) => {
|
|
17905
17914
|
obj[key] = responsivePropType$1;
|
|
17906
17915
|
return obj;
|
|
17907
17916
|
}, {}) : {};
|
|
17908
|
-
spacing$
|
|
17917
|
+
spacing$5.filterProps = spacingKeys;
|
|
17909
17918
|
|
|
17910
17919
|
function getBorder(value) {
|
|
17911
17920
|
if (typeof value !== 'number') {
|
|
@@ -17915,7 +17924,7 @@ function getBorder(value) {
|
|
|
17915
17924
|
return `${value}px solid`;
|
|
17916
17925
|
}
|
|
17917
17926
|
|
|
17918
|
-
const border = style$1({
|
|
17927
|
+
const border$1 = style$1({
|
|
17919
17928
|
prop: 'border',
|
|
17920
17929
|
themeKey: 'borders',
|
|
17921
17930
|
transform: getBorder
|
|
@@ -17960,7 +17969,7 @@ const borderLeftColor = style$1({
|
|
|
17960
17969
|
prop: 'borderLeftColor',
|
|
17961
17970
|
themeKey: 'palette'
|
|
17962
17971
|
});
|
|
17963
|
-
const borderRadius$
|
|
17972
|
+
const borderRadius$3 = props => {
|
|
17964
17973
|
if (props.borderRadius !== undefined && props.borderRadius !== null) {
|
|
17965
17974
|
const transformer = createUnaryUnit(props.theme, 'shape.borderRadius', 4, 'borderRadius');
|
|
17966
17975
|
|
|
@@ -17973,11 +17982,11 @@ const borderRadius$1 = props => {
|
|
|
17973
17982
|
|
|
17974
17983
|
return null;
|
|
17975
17984
|
};
|
|
17976
|
-
borderRadius$
|
|
17985
|
+
borderRadius$3.propTypes = process.env.NODE_ENV !== 'production' ? {
|
|
17977
17986
|
borderRadius: responsivePropType$1
|
|
17978
17987
|
} : {};
|
|
17979
|
-
borderRadius$
|
|
17980
|
-
const borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor$1, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius$
|
|
17988
|
+
borderRadius$3.filterProps = ['borderRadius'];
|
|
17989
|
+
const borders = compose(border$1, borderTop, borderRight, borderBottom, borderLeft, borderColor$1, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius$3);
|
|
17981
17990
|
var borders$1 = borders;
|
|
17982
17991
|
|
|
17983
17992
|
const displayPrint = style$1({
|
|
@@ -18274,7 +18283,7 @@ const filterPropsMapping = {
|
|
|
18274
18283
|
palette: palette$1.filterProps,
|
|
18275
18284
|
shadows: shadows$2.filterProps,
|
|
18276
18285
|
sizing: sizing$1.filterProps,
|
|
18277
|
-
spacing: spacing$
|
|
18286
|
+
spacing: spacing$5.filterProps,
|
|
18278
18287
|
typography: typography$1.filterProps
|
|
18279
18288
|
};
|
|
18280
18289
|
const styleFunctionMapping = {
|
|
@@ -18286,7 +18295,7 @@ const styleFunctionMapping = {
|
|
|
18286
18295
|
palette: palette$1,
|
|
18287
18296
|
shadows: shadows$2,
|
|
18288
18297
|
sizing: sizing$1,
|
|
18289
|
-
spacing: spacing$
|
|
18298
|
+
spacing: spacing$5,
|
|
18290
18299
|
typography: typography$1
|
|
18291
18300
|
};
|
|
18292
18301
|
Object.keys(filterPropsMapping).reduce((acc, styleFnName) => {
|
|
@@ -20203,13 +20212,13 @@ var getTextColor = function getTextColor(color) {
|
|
|
20203
20212
|
};
|
|
20204
20213
|
|
|
20205
20214
|
var getElementStyling = function getElementStyling(type) {
|
|
20206
|
-
return Ae(templateObject_1$
|
|
20215
|
+
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);
|
|
20207
20216
|
};
|
|
20208
20217
|
|
|
20209
20218
|
var LinkIconWrapper = styled$3(IconWrapper$1).withConfig({
|
|
20210
20219
|
displayName: "Typography__LinkIconWrapper",
|
|
20211
20220
|
componentId: "sc-1uvxoh6-0"
|
|
20212
|
-
})(templateObject_2$
|
|
20221
|
+
})(templateObject_2$J || (templateObject_2$J = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typographyTokens.typographyType.a.icon);
|
|
20213
20222
|
var StyledTypography = styled$3.p.withConfig({
|
|
20214
20223
|
displayName: "Typography__StyledTypography",
|
|
20215
20224
|
componentId: "sc-1uvxoh6-1"
|
|
@@ -20219,26 +20228,26 @@ var StyledTypography = styled$3.p.withConfig({
|
|
|
20219
20228
|
}, function (_a) {
|
|
20220
20229
|
var typographyType = _a.typographyType,
|
|
20221
20230
|
interactionProps = _a.interactionProps;
|
|
20222
|
-
return typographyType === 'a' && Ae(templateObject_4$p || (templateObject_4$p = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n transition:
|
|
20231
|
+
return typographyType === 'a' && Ae(templateObject_4$p || (templateObject_4$p = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n transition: ", ";\n\n &:hover {\n ", "\n }\n ", "\n &:focus-visible, &.focus-visible {\n ", "\n }\n &:focus-visible::selection &.focus-visible::selection {\n ", "\n }\n "], ["\n display: inline-flex;\n align-items: center;\n transition: ", ";\n\n &:hover {\n ", "\n }\n ", "\n &:focus-visible, &.focus-visible {\n ", "\n }\n &:focus-visible::selection &.focus-visible::selection {\n ", "\n }\n "])), focusVisibleLinkTransitionValue, typographyTokens.typographyType[typographyType].hover.base, interactionProps && interactionProps.active && Ae(templateObject_3$v || (templateObject_3$v = __makeTemplateObject(["\n &:active {\n ", "\n }\n "], ["\n &:active {\n ", "\n }\n "])), interactionProps.active), typographyTokens.typographyType[typographyType].focus.base, typographyTokens.typographyType[typographyType].focus.base);
|
|
20223
20232
|
}, function (_a) {
|
|
20224
20233
|
var interactionProps = _a.interactionProps;
|
|
20225
20234
|
return interactionProps && interactionProps.hover && Ae(templateObject_5$g || (templateObject_5$g = __makeTemplateObject(["\n &:hover {\n ", "\n }\n "], ["\n &:hover {\n ", "\n }\n "])), interactionProps.hover);
|
|
20226
20235
|
}, function (_a) {
|
|
20227
20236
|
var interactionProps = _a.interactionProps;
|
|
20228
|
-
return interactionProps && interactionProps.active && Ae(templateObject_6$
|
|
20237
|
+
return interactionProps && interactionProps.active && Ae(templateObject_6$e || (templateObject_6$e = __makeTemplateObject(["\n &:active {\n ", "\n }\n "], ["\n &:active {\n ", "\n }\n "])), interactionProps.active);
|
|
20229
20238
|
}, function (_a) {
|
|
20230
20239
|
var withMargins = _a.withMargins,
|
|
20231
20240
|
typographyType = _a.typographyType;
|
|
20232
|
-
return withMargins && typographyType ? Ae(templateObject_7$
|
|
20241
|
+
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 "])));
|
|
20233
20242
|
}, function (_a) {
|
|
20234
20243
|
var color = _a.color;
|
|
20235
|
-
return color && Ae(templateObject_9$
|
|
20244
|
+
return color && Ae(templateObject_9$6 || (templateObject_9$6 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), getTextColor(color));
|
|
20236
20245
|
}, function (_a) {
|
|
20237
20246
|
var bold = _a.bold;
|
|
20238
|
-
return bold && Ae(templateObject_10$
|
|
20247
|
+
return bold && Ae(templateObject_10$5 || (templateObject_10$5 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.bold.base);
|
|
20239
20248
|
}, function (_a) {
|
|
20240
20249
|
var italic = _a.italic;
|
|
20241
|
-
return italic && Ae(templateObject_11$
|
|
20250
|
+
return italic && Ae(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.italic.base);
|
|
20242
20251
|
}, function (_a) {
|
|
20243
20252
|
var underline = _a.underline;
|
|
20244
20253
|
return underline && Ae(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.underline.base);
|
|
@@ -20270,29 +20279,29 @@ var Typography = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
20270
20279
|
}) : '']
|
|
20271
20280
|
}));
|
|
20272
20281
|
});
|
|
20273
|
-
var templateObject_1$
|
|
20282
|
+
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;
|
|
20274
20283
|
|
|
20275
20284
|
var RadioButtonGroupContext = /*#__PURE__*/React__default["default"].createContext(null);
|
|
20276
20285
|
var useRadioButtonGroup = function useRadioButtonGroup() {
|
|
20277
20286
|
return React.useContext(RadioButtonGroupContext);
|
|
20278
20287
|
};
|
|
20279
20288
|
|
|
20280
|
-
var Colors$
|
|
20281
|
-
Spacing$
|
|
20282
|
-
FontPackages$
|
|
20289
|
+
var Colors$n = ddsBaseTokens.colors,
|
|
20290
|
+
Spacing$w = ddsBaseTokens.spacing,
|
|
20291
|
+
FontPackages$h = ddsBaseTokens.fontPackages;
|
|
20283
20292
|
var radioButtonBase = {
|
|
20284
20293
|
border: '1px solid',
|
|
20285
|
-
borderColor: Colors$
|
|
20286
|
-
backgroundColor: Colors$
|
|
20287
|
-
height: FontPackages$
|
|
20288
|
-
width: FontPackages$
|
|
20294
|
+
borderColor: Colors$n.DdsColorNeutralsGray5,
|
|
20295
|
+
backgroundColor: Colors$n.DdsColorNeutralsWhite,
|
|
20296
|
+
height: FontPackages$h.supportingStyle_inputtext_02.numbers.fontSizeNumber,
|
|
20297
|
+
width: FontPackages$h.supportingStyle_inputtext_02.numbers.fontSizeNumber
|
|
20289
20298
|
};
|
|
20290
20299
|
|
|
20291
20300
|
var radioButtonHoverBase = __assign({}, hoverInputfield);
|
|
20292
20301
|
|
|
20293
20302
|
var radioButtonDisabledBase = {
|
|
20294
|
-
borderColor: Colors$
|
|
20295
|
-
color: Colors$
|
|
20303
|
+
borderColor: Colors$n.DdsColorNeutralsGray5,
|
|
20304
|
+
color: Colors$n.DdsColorNeutralsGray6
|
|
20296
20305
|
};
|
|
20297
20306
|
var radioButtonReadOnlyBase = {
|
|
20298
20307
|
backgroundColor: 'transparent'
|
|
@@ -20303,39 +20312,39 @@ var radioButtonDangerBase = __assign({}, dangerInputfield);
|
|
|
20303
20312
|
var radioButtonDangerHoverBase = __assign({}, hoverDangerInputfield);
|
|
20304
20313
|
|
|
20305
20314
|
var radioButtonCheckedBase = {
|
|
20306
|
-
backgroundColor: Colors$
|
|
20307
|
-
borderColor: Colors$
|
|
20315
|
+
backgroundColor: Colors$n.DdsColorInteractiveBase,
|
|
20316
|
+
borderColor: Colors$n.DdsColorInteractiveBase
|
|
20308
20317
|
};
|
|
20309
20318
|
var radioButtonCheckedHoverBase = {
|
|
20310
|
-
backgroundColor: Colors$
|
|
20311
|
-
borderColor: Colors$
|
|
20312
|
-
boxShadow: "inset 0 0 0 1px ".concat(Colors$
|
|
20319
|
+
backgroundColor: Colors$n.DdsColorInteractiveDark,
|
|
20320
|
+
borderColor: Colors$n.DdsColorInteractiveDark,
|
|
20321
|
+
boxShadow: "inset 0 0 0 1px ".concat(Colors$n.DdsColorInteractiveDark)
|
|
20313
20322
|
};
|
|
20314
20323
|
var radioButtonCheckedDisabledBase = {
|
|
20315
|
-
borderColor: Colors$
|
|
20316
|
-
backgroundColor: Colors$
|
|
20324
|
+
borderColor: Colors$n.DdsColorNeutralsGray6,
|
|
20325
|
+
backgroundColor: Colors$n.DdsColorNeutralsGray6
|
|
20317
20326
|
};
|
|
20318
20327
|
var radioButtonCheckedReadOnlyBase = {
|
|
20319
|
-
borderColor: Colors$
|
|
20320
|
-
backgroundColor: Colors$
|
|
20328
|
+
borderColor: Colors$n.DdsColorNeutralsGray6,
|
|
20329
|
+
backgroundColor: Colors$n.DdsColorNeutralsGray6
|
|
20321
20330
|
};
|
|
20322
20331
|
var checkmarkBase$1 = {
|
|
20323
|
-
backgroundColor: Colors$
|
|
20324
|
-
height: Spacing$
|
|
20325
|
-
width: Spacing$
|
|
20326
|
-
left: "calc(50% - ".concat(Spacing$
|
|
20327
|
-
top: "calc(50% - ".concat(Spacing$
|
|
20332
|
+
backgroundColor: Colors$n.DdsColorNeutralsWhite,
|
|
20333
|
+
height: Spacing$w.SizesDdsSpacingLocalX05,
|
|
20334
|
+
width: Spacing$w.SizesDdsSpacingLocalX05,
|
|
20335
|
+
left: "calc(50% - ".concat(Spacing$w.SizesDdsSpacingLocalX05NumberPx / 2, "px)"),
|
|
20336
|
+
top: "calc(50% - ".concat(Spacing$w.SizesDdsSpacingLocalX05NumberPx / 2, "px)")
|
|
20328
20337
|
};
|
|
20329
|
-
var containerBase$
|
|
20330
|
-
padding: "0 ".concat(Spacing$
|
|
20338
|
+
var containerBase$a = {
|
|
20339
|
+
padding: "0 ".concat(Spacing$w.SizesDdsSpacingLocalX025, " 0 ").concat(20 + Spacing$w.SizesDdsSpacingLocalX075NumberPx, "px")
|
|
20331
20340
|
};
|
|
20332
20341
|
|
|
20333
|
-
var focusBase$
|
|
20342
|
+
var focusBase$5 = __assign({}, focusVisible);
|
|
20334
20343
|
|
|
20335
20344
|
var radioButtonTokens = {
|
|
20336
20345
|
radioButton: {
|
|
20337
20346
|
base: radioButtonBase,
|
|
20338
|
-
spaceLeft: Spacing$
|
|
20347
|
+
spaceLeft: Spacing$w.SizesDdsSpacingLocalX025,
|
|
20339
20348
|
hover: {
|
|
20340
20349
|
base: radioButtonHoverBase
|
|
20341
20350
|
},
|
|
@@ -20368,9 +20377,9 @@ var radioButtonTokens = {
|
|
|
20368
20377
|
base: checkmarkBase$1
|
|
20369
20378
|
},
|
|
20370
20379
|
container: {
|
|
20371
|
-
base: containerBase$
|
|
20380
|
+
base: containerBase$a,
|
|
20372
20381
|
focus: {
|
|
20373
|
-
base: focusBase$
|
|
20382
|
+
base: focusBase$5
|
|
20374
20383
|
}
|
|
20375
20384
|
}
|
|
20376
20385
|
};
|
|
@@ -20378,7 +20387,7 @@ var radioButtonTokens = {
|
|
|
20378
20387
|
var CustomRadioButton = styled$3.span.withConfig({
|
|
20379
20388
|
displayName: "RadioButtonstyles__CustomRadioButton",
|
|
20380
20389
|
componentId: "sc-iwypha-0"
|
|
20381
|
-
})(templateObject_1$
|
|
20390
|
+
})(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);
|
|
20382
20391
|
var Input$6 = styled$3.input.attrs(function (_a) {
|
|
20383
20392
|
var _b = _a.type,
|
|
20384
20393
|
type = _b === void 0 ? 'radio' : _b;
|
|
@@ -20388,13 +20397,13 @@ var Input$6 = styled$3.input.attrs(function (_a) {
|
|
|
20388
20397
|
}).withConfig({
|
|
20389
20398
|
displayName: "RadioButtonstyles__Input",
|
|
20390
20399
|
componentId: "sc-iwypha-1"
|
|
20391
|
-
})(templateObject_2$
|
|
20392
|
-
var Container$
|
|
20400
|
+
})(templateObject_2$I || (templateObject_2$I = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), hideInput);
|
|
20401
|
+
var Container$j = styled$3.label.withConfig({
|
|
20393
20402
|
displayName: "RadioButtonstyles__Container",
|
|
20394
20403
|
componentId: "sc-iwypha-2"
|
|
20395
|
-
})(templateObject_6$
|
|
20404
|
+
})(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) {
|
|
20396
20405
|
var error = _a.error;
|
|
20397
|
-
return error && Ae(templateObject_3$
|
|
20406
|
+
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);
|
|
20398
20407
|
}, function (_a) {
|
|
20399
20408
|
var disabled = _a.disabled;
|
|
20400
20409
|
return disabled && Ae(templateObject_4$o || (templateObject_4$o = __makeTemplateObject(["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "], ["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "])), CustomRadioButton, radioButtonTokens.radioButton.disabled.base, CustomRadioButton, radioButtonTokens.radioButton.checked.disabled.base);
|
|
@@ -20402,7 +20411,7 @@ var Container$i = styled$3.label.withConfig({
|
|
|
20402
20411
|
var readOnly = _a.readOnly;
|
|
20403
20412
|
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);
|
|
20404
20413
|
}, CustomRadioButton, radioButtonTokens.checkmark.base);
|
|
20405
|
-
var templateObject_1$
|
|
20414
|
+
var templateObject_1$Y, templateObject_2$I, templateObject_3$u, templateObject_4$o, templateObject_5$f, templateObject_6$d;
|
|
20406
20415
|
|
|
20407
20416
|
var nextUniqueId$h = 0;
|
|
20408
20417
|
|
|
@@ -20466,7 +20475,7 @@ var RadioButton = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
20466
20475
|
style: style,
|
|
20467
20476
|
className: className
|
|
20468
20477
|
};
|
|
20469
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
20478
|
+
return jsxRuntime.exports.jsxs(Container$j, __assign({}, containerProps, {
|
|
20470
20479
|
htmlFor: uniqueId
|
|
20471
20480
|
}, {
|
|
20472
20481
|
children: [jsxRuntime.exports.jsx(Input$6, __assign({
|
|
@@ -20490,11 +20499,11 @@ var changeRGBAAlpha = function changeRGBAAlpha(value, alpha) {
|
|
|
20490
20499
|
var Backdrop = styled$3.div.withConfig({
|
|
20491
20500
|
displayName: "Backdrop",
|
|
20492
20501
|
componentId: "sc-vimg90-0"
|
|
20493
|
-
})(templateObject_1$
|
|
20502
|
+
})(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) {
|
|
20494
20503
|
var isOpen = _a.isOpen;
|
|
20495
20504
|
return isOpen ? 1 : 0;
|
|
20496
20505
|
});
|
|
20497
|
-
var templateObject_1$
|
|
20506
|
+
var templateObject_1$X;
|
|
20498
20507
|
|
|
20499
20508
|
var isVerticalScrollbarDisplayed = function isVerticalScrollbarDisplayed(container) {
|
|
20500
20509
|
return container.clientHeight > window.innerHeight;
|
|
@@ -20514,18 +20523,18 @@ function handleElementWithBackdropUnmount(container) {
|
|
|
20514
20523
|
var SvgChevron = styled$3.svg.withConfig({
|
|
20515
20524
|
displayName: "AnimatedChevronUpDownstyles__SvgChevron",
|
|
20516
20525
|
componentId: "sc-yey4nu-0"
|
|
20517
|
-
})(templateObject_1$
|
|
20526
|
+
})(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"])));
|
|
20518
20527
|
var SvgChevronlGroup = styled$3.g.withConfig({
|
|
20519
20528
|
displayName: "AnimatedChevronUpDownstyles__SvgChevronlGroup",
|
|
20520
20529
|
componentId: "sc-yey4nu-1"
|
|
20521
|
-
})(templateObject_2$
|
|
20530
|
+
})(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) {
|
|
20522
20531
|
var isUp = _a.isUp;
|
|
20523
20532
|
return isUp ? 'translateY(3px)' : 'translateY(0)';
|
|
20524
20533
|
});
|
|
20525
20534
|
var SvgChevronlLeft = styled$3.path.withConfig({
|
|
20526
20535
|
displayName: "AnimatedChevronUpDownstyles__SvgChevronlLeft",
|
|
20527
20536
|
componentId: "sc-yey4nu-2"
|
|
20528
|
-
})(templateObject_3$
|
|
20537
|
+
})(templateObject_3$t || (templateObject_3$t = __makeTemplateObject(["\n transition: transform 0.2s linear;\n transform-origin: 1px 1px;\n transform: ", ";\n"], ["\n transition: transform 0.2s linear;\n transform-origin: 1px 1px;\n transform: ", ";\n"])), function (_a) {
|
|
20529
20538
|
var isUp = _a.isUp;
|
|
20530
20539
|
return isUp ? 'rotate(-90deg) translateY(0)' : 'rotate(0) translateY(0)';
|
|
20531
20540
|
});
|
|
@@ -20536,7 +20545,7 @@ var SvgChevronlRight = styled$3.path.withConfig({
|
|
|
20536
20545
|
var isUp = _a.isUp;
|
|
20537
20546
|
return isUp ? 'rotate(90deg) translateY(0)' : 'rotate(0) translateY(0)';
|
|
20538
20547
|
});
|
|
20539
|
-
var templateObject_1$
|
|
20548
|
+
var templateObject_1$W, templateObject_2$H, templateObject_3$t, templateObject_4$n;
|
|
20540
20549
|
|
|
20541
20550
|
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';
|
|
20542
20551
|
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';
|
|
@@ -20567,24 +20576,34 @@ var AnimatedChevronUpDown = function AnimatedChevronUpDown(_a) {
|
|
|
20567
20576
|
}));
|
|
20568
20577
|
};
|
|
20569
20578
|
|
|
20570
|
-
var
|
|
20571
|
-
|
|
20572
|
-
|
|
20573
|
-
|
|
20574
|
-
var TextInput$
|
|
20575
|
-
|
|
20576
|
-
|
|
20577
|
-
|
|
20578
|
-
|
|
20579
|
-
|
|
20580
|
-
|
|
20579
|
+
var colors$3 = ddsBaseTokens.colors,
|
|
20580
|
+
spacing$4 = ddsBaseTokens.spacing,
|
|
20581
|
+
fontPackages$2 = ddsBaseTokens.fontPackages,
|
|
20582
|
+
border = ddsBaseTokens.border;
|
|
20583
|
+
var TextInput$2 = ddsReferenceTokens.textInput;
|
|
20584
|
+
|
|
20585
|
+
var inputBase$2 = __assign({
|
|
20586
|
+
color: TextInput$2.input.textColor,
|
|
20587
|
+
borderRadius: TextInput$2.input.borderRadius,
|
|
20588
|
+
border: "".concat(border.BordersDdsBorderStyleLightStrokeWeight, " solid ").concat(colors$3.DdsColorNeutralsGray5),
|
|
20589
|
+
borderColor: TextInput$2.input.borderColor,
|
|
20590
|
+
backgroundColor: colors$3.DdsColorNeutralsWhite
|
|
20591
|
+
}, TextInput$2.input.font);
|
|
20592
|
+
|
|
20593
|
+
var inputFocusBase = __assign({}, focusInputfield);
|
|
20594
|
+
|
|
20595
|
+
var inputHoverBase = __assign({}, hoverInputfield);
|
|
20596
|
+
|
|
20597
|
+
var inputHasLabelBase = {
|
|
20598
|
+
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)
|
|
20581
20599
|
};
|
|
20582
20600
|
var inputNoLabelBase$1 = {
|
|
20583
|
-
padding: "".concat(
|
|
20601
|
+
padding: "".concat(spacing$4.SizesDdsSpacingLocalX075, " ").concat(spacing$4.SizesDdsSpacingLocalX1, " ").concat(spacing$4.SizesDdsSpacingLocalX075, " ").concat(spacing$4.SizesDdsSpacingLocalX1)
|
|
20584
20602
|
};
|
|
20585
20603
|
var inputDisabledBase = {
|
|
20586
|
-
|
|
20587
|
-
|
|
20604
|
+
cursor: 'not-allowed',
|
|
20605
|
+
color: colors$3.DdsColorNeutralsGray7,
|
|
20606
|
+
backgroundColor: colors$3.DdsColorNeutralsGray1
|
|
20588
20607
|
};
|
|
20589
20608
|
|
|
20590
20609
|
var inputErrorBase = __assign({}, dangerInputfield);
|
|
@@ -20595,27 +20614,36 @@ var inputErrorFocusBase = __assign({}, focusDangerInputfield);
|
|
|
20595
20614
|
|
|
20596
20615
|
var inputReadOnlyBase = {
|
|
20597
20616
|
border: 'none',
|
|
20617
|
+
outline: 'none',
|
|
20618
|
+
cursor: 'default',
|
|
20598
20619
|
backgroundColor: 'transparent',
|
|
20599
|
-
paddingLeft:
|
|
20620
|
+
paddingLeft: spacing$4.SizesDdsSpacingLocalX1
|
|
20600
20621
|
};
|
|
20601
20622
|
var inputLabelBase = {
|
|
20602
|
-
padding: "".concat(
|
|
20623
|
+
padding: "".concat(spacing$4.SizesDdsSpacingLocalX075, " ").concat(spacing$4.SizesDdsSpacingLocalX1)
|
|
20603
20624
|
};
|
|
20604
20625
|
var inputLabelHoverBase = {
|
|
20605
|
-
color: TextInput$
|
|
20626
|
+
color: TextInput$2.label.hover.textColor
|
|
20606
20627
|
};
|
|
20607
20628
|
var inputLabelFocusBase = {
|
|
20608
|
-
color: TextInput$
|
|
20629
|
+
color: TextInput$2.label.focus.textColor
|
|
20609
20630
|
};
|
|
20610
20631
|
var inputLabelDisabledBase = {
|
|
20611
|
-
color:
|
|
20632
|
+
color: colors$3.DdsColorNeutralsGray6
|
|
20612
20633
|
};
|
|
20613
20634
|
var inputTokens = {
|
|
20614
|
-
|
|
20615
|
-
|
|
20616
|
-
|
|
20617
|
-
|
|
20618
|
-
|
|
20635
|
+
baseInput: {
|
|
20636
|
+
base: inputBase$2,
|
|
20637
|
+
focus: {
|
|
20638
|
+
base: inputFocusBase
|
|
20639
|
+
},
|
|
20640
|
+
hover: {
|
|
20641
|
+
base: inputHoverBase
|
|
20642
|
+
}
|
|
20643
|
+
},
|
|
20644
|
+
general: TextInput$2,
|
|
20645
|
+
hasLabel: {
|
|
20646
|
+
base: inputHasLabelBase
|
|
20619
20647
|
},
|
|
20620
20648
|
noLabel: {
|
|
20621
20649
|
base: inputNoLabelBase$1
|
|
@@ -20649,66 +20677,39 @@ var inputTokens = {
|
|
|
20649
20677
|
}
|
|
20650
20678
|
};
|
|
20651
20679
|
|
|
20652
|
-
var TextInput$2 = ddsReferenceTokens.textInput;
|
|
20653
|
-
var Border$e = ddsBaseTokens.border;
|
|
20654
|
-
|
|
20655
|
-
var stylingBase = __assign({
|
|
20656
|
-
color: TextInput$2.input.textColor,
|
|
20657
|
-
borderRadius: TextInput$2.input.borderRadius,
|
|
20658
|
-
border: "".concat(Border$e.BordersDdsBorderStyleLightStrokeWeight, " solid"),
|
|
20659
|
-
borderColor: TextInput$2.input.borderColor
|
|
20660
|
-
}, TextInput$2.input.font);
|
|
20661
|
-
|
|
20662
|
-
var focusBase$5 = __assign({}, focusInputfield);
|
|
20663
|
-
|
|
20664
|
-
var hoverBase$2 = __assign({}, hoverInputfield);
|
|
20665
|
-
|
|
20666
|
-
var inputFieldStylingBase = function inputFieldStylingBase() {
|
|
20667
|
-
return Ae(templateObject_1$T || (templateObject_1$T = __makeTemplateObject(["\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n &[type='text'],\n &[type='password'],\n &[type='number'],\n &[type='tel'],\n &[type='date'],\n &[type='url'],\n &[type='email'],\n &[type='search'],\n &[type='datetime-local'] {\n -webkit-appearance: none;\n }\n &::selection {\n ", "\n }\n ", "\n\n &:focus:enabled:read-write, &:active:enabled:read-write {\n ", "\n }\n &:focus {\n outline: none;\n }\n\n &:hover:enabled:read-write {\n ", "\n }\n "], ["\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n &[type='text'],\n &[type='password'],\n &[type='number'],\n &[type='tel'],\n &[type='date'],\n &[type='url'],\n &[type='email'],\n &[type='search'],\n &[type='datetime-local'] {\n -webkit-appearance: none;\n }\n &::selection {\n ", "\n }\n ", "\n\n &:focus:enabled:read-write, &:active:enabled:read-write {\n ", "\n }\n &:focus {\n outline: none;\n }\n\n &:hover:enabled:read-write {\n ", "\n }\n "])), typographyTokens.selection.base, stylingBase, focusBase$5, hoverBase$2);
|
|
20668
|
-
};
|
|
20669
|
-
var templateObject_1$T;
|
|
20670
|
-
|
|
20671
|
-
var inputStyling = function inputStyling(_a) {
|
|
20672
|
-
var readOnly = _a.readOnly,
|
|
20673
|
-
hasLabel = _a.hasLabel,
|
|
20674
|
-
disabled = _a.disabled,
|
|
20675
|
-
hasErrorMessage = _a.hasErrorMessage;
|
|
20676
|
-
return Ae(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["\n ", "\n ", "\n box-sizing: border-box;\n box-shadow: none;\n -webkit-appearance: textfield;\n ", ";\n\n &:hover:enabled:read-write ~ label {\n ", "\n }\n &:focus:enabled:read-write ~ label {\n ", "\n }\n\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n box-sizing: border-box;\n box-shadow: none;\n -webkit-appearance: textfield;\n ", ";\n\n &:hover:enabled:read-write ~ label {\n ", "\n }\n &:focus:enabled:read-write ~ label {\n ", "\n }\n\n ", "\n ", "\n ", "\n "])), inputFieldStylingBase, inputTokens.base, hasLabel ? Ae(templateObject_1$S || (templateObject_1$S = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.withLabel.base) : Ae(templateObject_2$E || (templateObject_2$E = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.noLabel.base), inputTokens.label.hover.base, inputTokens.label.focus.base, disabled && Ae(templateObject_3$r || (templateObject_3$r = __makeTemplateObject(["\n cursor: not-allowed;\n ", "\n "], ["\n cursor: not-allowed;\n ", "\n "])), inputTokens.disabled.base), hasErrorMessage && Ae(templateObject_4$m || (templateObject_4$m = __makeTemplateObject(["\n ", "\n &:hover:enabled:read-write {\n ", "\n }\n &:focus:enabled:read-write,\n &:active:enabled:read-write {\n ", "\n }\n "], ["\n ", "\n &:hover:enabled:read-write {\n ", "\n }\n &:focus:enabled:read-write,\n &:active:enabled:read-write {\n ", "\n }\n "])), inputTokens.error.base, inputTokens.error.hover.base, inputTokens.error.focus.base), readOnly && Ae(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n cursor: default;\n ", "\n "], ["\n cursor: default;\n ", "\n "])), inputTokens.readOnly.base));
|
|
20677
|
-
};
|
|
20678
20680
|
var Input$5 = styled$3.input.withConfig({
|
|
20679
20681
|
displayName: "Inputstyles__Input",
|
|
20680
20682
|
componentId: "sc-1oz9x8w-0"
|
|
20681
|
-
})(
|
|
20682
|
-
|
|
20683
|
-
|
|
20684
|
-
readOnly = _a.readOnly,
|
|
20685
|
-
hasErrorMessage = _a.hasErrorMessage;
|
|
20686
|
-
return inputStyling({
|
|
20687
|
-
readOnly: readOnly,
|
|
20688
|
-
hasLabel: hasLabel,
|
|
20689
|
-
disabled: disabled,
|
|
20690
|
-
hasErrorMessage: hasErrorMessage
|
|
20691
|
-
});
|
|
20692
|
-
});
|
|
20693
|
-
var SingleLineLabel = styled$3(Typography).withConfig({
|
|
20694
|
-
displayName: "Inputstyles__SingleLineLabel",
|
|
20683
|
+
})(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);
|
|
20684
|
+
var StatefulInput = styled$3(Input$5).withConfig({
|
|
20685
|
+
displayName: "Inputstyles__StatefulInput",
|
|
20695
20686
|
componentId: "sc-1oz9x8w-1"
|
|
20696
|
-
})(
|
|
20687
|
+
})(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) {
|
|
20688
|
+
var hasLabel = _a.hasLabel;
|
|
20689
|
+
return Ae(templateObject_2$G || (templateObject_2$G = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens[hasLabel].base);
|
|
20690
|
+
}, inputTokens.label.hover.base, inputTokens.label.focus.base, function (_a) {
|
|
20691
|
+
var hasErrorMessage = _a.hasErrorMessage;
|
|
20692
|
+
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);
|
|
20693
|
+
}, inputTokens.readOnly.base, inputTokens.disabled.base);
|
|
20694
|
+
var Label$5 = styled$3(Typography).withConfig({
|
|
20695
|
+
displayName: "Inputstyles__Label",
|
|
20696
|
+
componentId: "sc-1oz9x8w-2"
|
|
20697
|
+
})(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) {
|
|
20697
20698
|
var disabled = _a.disabled;
|
|
20698
|
-
return disabled && Ae(
|
|
20699
|
+
return disabled && Ae(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.label.disabled.base);
|
|
20699
20700
|
});
|
|
20700
|
-
var InputContainer
|
|
20701
|
+
var InputContainer = styled$3.div.withConfig({
|
|
20701
20702
|
displayName: "Inputstyles__InputContainer",
|
|
20702
|
-
componentId: "sc-1oz9x8w-
|
|
20703
|
-
})(
|
|
20703
|
+
componentId: "sc-1oz9x8w-3"
|
|
20704
|
+
})(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
|
|
20704
20705
|
var OuterInputContainer = styled$3.div.withConfig({
|
|
20705
20706
|
displayName: "Inputstyles__OuterInputContainer",
|
|
20706
|
-
componentId: "sc-1oz9x8w-
|
|
20707
|
-
})(
|
|
20707
|
+
componentId: "sc-1oz9x8w-4"
|
|
20708
|
+
})(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) {
|
|
20708
20709
|
var width = _a.width;
|
|
20709
|
-
return width;
|
|
20710
|
+
return width && Ae(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject(["\n width: ", ";\n "], ["\n width: ", ";\n "])), width);
|
|
20710
20711
|
});
|
|
20711
|
-
var templateObject_1$
|
|
20712
|
+
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;
|
|
20712
20713
|
|
|
20713
20714
|
var Colors$m = ddsBaseTokens.colors,
|
|
20714
20715
|
BorderRadius$8 = ddsBaseTokens.borderRadius,
|
|
@@ -20727,19 +20728,19 @@ var paperTokens = {
|
|
|
20727
20728
|
var Paper = styled$3.div.withConfig({
|
|
20728
20729
|
displayName: "Paper",
|
|
20729
20730
|
componentId: "sc-mrbi8q-0"
|
|
20730
|
-
})(templateObject_1$
|
|
20731
|
-
var templateObject_1$
|
|
20731
|
+
})(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);
|
|
20732
|
+
var templateObject_1$U;
|
|
20732
20733
|
|
|
20733
20734
|
var MarkerWrapper = styled$3.span.withConfig({
|
|
20734
20735
|
displayName: "RequiredMarker__MarkerWrapper",
|
|
20735
20736
|
componentId: "sc-1r1e9ds-0"
|
|
20736
|
-
})(templateObject_1$
|
|
20737
|
+
})(templateObject_1$T || (templateObject_1$T = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), ddsBaseTokens.colors.DdsColorDangerBase);
|
|
20737
20738
|
var RequiredMarker = function RequiredMarker() {
|
|
20738
20739
|
return jsxRuntime.exports.jsx(MarkerWrapper, {
|
|
20739
20740
|
children: "*"
|
|
20740
20741
|
});
|
|
20741
20742
|
};
|
|
20742
|
-
var templateObject_1$
|
|
20743
|
+
var templateObject_1$T;
|
|
20743
20744
|
|
|
20744
20745
|
var ReportProblemOutlined = {};
|
|
20745
20746
|
|
|
@@ -20761,9 +20762,9 @@ var _default$j = (0, _createSvgIcon$j.default)( /*#__PURE__*/(0, _jsxRuntime$j.j
|
|
|
20761
20762
|
default_1$j = ReportProblemOutlined.default = _default$j;
|
|
20762
20763
|
|
|
20763
20764
|
var Colors$l = ddsBaseTokens.colors,
|
|
20764
|
-
Spacing$
|
|
20765
|
+
Spacing$v = ddsBaseTokens.spacing;
|
|
20765
20766
|
var base$a = {
|
|
20766
|
-
padding: "".concat(Spacing$
|
|
20767
|
+
padding: "".concat(Spacing$v.SizesDdsSpacingLocalX025, " ").concat(Spacing$v.SizesDdsSpacingLocalX05),
|
|
20767
20768
|
maxWidth: '100%'
|
|
20768
20769
|
};
|
|
20769
20770
|
var tipBase = {
|
|
@@ -20774,7 +20775,7 @@ var errorBase = {
|
|
|
20774
20775
|
backgroundColor: Colors$l.DdsColorDangerLightest
|
|
20775
20776
|
};
|
|
20776
20777
|
var inputMessageTokens = {
|
|
20777
|
-
padding: "".concat(Spacing$
|
|
20778
|
+
padding: "".concat(Spacing$v.SizesDdsSpacingLocalX025, " ").concat(Spacing$v.SizesDdsSpacingLocalX05),
|
|
20778
20779
|
base: base$a,
|
|
20779
20780
|
tip: {
|
|
20780
20781
|
base: tipBase
|
|
@@ -20783,16 +20784,16 @@ var inputMessageTokens = {
|
|
|
20783
20784
|
base: errorBase
|
|
20784
20785
|
},
|
|
20785
20786
|
icon: {
|
|
20786
|
-
spaceRight: Spacing$
|
|
20787
|
+
spaceRight: Spacing$v.SizesDdsSpacingLocalX05
|
|
20787
20788
|
}
|
|
20788
20789
|
};
|
|
20789
20790
|
|
|
20790
20791
|
var InputMessageWrapper = styled$3.div.withConfig({
|
|
20791
20792
|
displayName: "InputMessage__InputMessageWrapper",
|
|
20792
20793
|
componentId: "sc-c954fy-0"
|
|
20793
|
-
})(templateObject_2$
|
|
20794
|
+
})(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) {
|
|
20794
20795
|
var messageType = _a.messageType;
|
|
20795
|
-
return messageType && Ae(templateObject_1$
|
|
20796
|
+
return messageType && Ae(templateObject_1$S || (templateObject_1$S = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputMessageTokens[messageType].base);
|
|
20796
20797
|
}, inputMessageTokens.icon.spaceRight);
|
|
20797
20798
|
var InputMessage = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
20798
20799
|
var message = _a.message,
|
|
@@ -20819,24 +20820,24 @@ var InputMessage = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
20819
20820
|
}))]
|
|
20820
20821
|
}));
|
|
20821
20822
|
});
|
|
20822
|
-
var templateObject_1$
|
|
20823
|
+
var templateObject_1$S, templateObject_2$F;
|
|
20823
20824
|
|
|
20824
|
-
var Spacing$
|
|
20825
|
+
var Spacing$u = ddsBaseTokens.spacing;
|
|
20825
20826
|
var groupContainerRowBase$1 = {
|
|
20826
|
-
gap: Spacing$
|
|
20827
|
+
gap: Spacing$u.SizesDdsSpacingLocalX075
|
|
20827
20828
|
};
|
|
20828
20829
|
var groupContainerColumnBase$1 = {
|
|
20829
|
-
gap: Spacing$
|
|
20830
|
+
gap: Spacing$u.SizesDdsSpacingLocalX05
|
|
20830
20831
|
};
|
|
20831
|
-
var containerBase$
|
|
20832
|
-
gap: Spacing$
|
|
20832
|
+
var containerBase$9 = {
|
|
20833
|
+
gap: Spacing$u.SizesDdsSpacingLocalX0125
|
|
20833
20834
|
};
|
|
20834
20835
|
var radioButtonGroupTokens = {
|
|
20835
20836
|
label: {
|
|
20836
|
-
spaceLeft: Spacing$
|
|
20837
|
+
spaceLeft: Spacing$u.SizesDdsSpacingLocalX025
|
|
20837
20838
|
},
|
|
20838
20839
|
container: {
|
|
20839
|
-
base: containerBase$
|
|
20840
|
+
base: containerBase$9
|
|
20840
20841
|
},
|
|
20841
20842
|
groupContainer: {
|
|
20842
20843
|
direction: {
|
|
@@ -20881,16 +20882,16 @@ var calculateHeightWithLineHeight = function calculateHeightWithLineHeight(lineH
|
|
|
20881
20882
|
return lineHeight * 0.01 * fontSize;
|
|
20882
20883
|
};
|
|
20883
20884
|
|
|
20884
|
-
var Container$
|
|
20885
|
+
var Container$i = styled$3.div.withConfig({
|
|
20885
20886
|
displayName: "RadioButtonGroup__Container",
|
|
20886
20887
|
componentId: "sc-1xsll60-0"
|
|
20887
|
-
})(templateObject_1$
|
|
20888
|
+
})(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);
|
|
20888
20889
|
var GroupContainer$1 = styled$3.div.withConfig({
|
|
20889
20890
|
displayName: "RadioButtonGroup__GroupContainer",
|
|
20890
20891
|
componentId: "sc-1xsll60-1"
|
|
20891
|
-
})(templateObject_3$
|
|
20892
|
+
})(templateObject_3$r || (templateObject_3$r = __makeTemplateObject(["\n display: flex;\n ", "\n"], ["\n display: flex;\n ", "\n"])), function (_a) {
|
|
20892
20893
|
var direction = _a.direction;
|
|
20893
|
-
return Ae(templateObject_2$
|
|
20894
|
+
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);
|
|
20894
20895
|
});
|
|
20895
20896
|
var Label$4 = styled$3(Typography).withConfig({
|
|
20896
20897
|
displayName: "RadioButtonGroup__Label",
|
|
@@ -20945,7 +20946,7 @@ var RadioButtonGroup = function RadioButtonGroup(_a) {
|
|
|
20945
20946
|
value: groupValue,
|
|
20946
20947
|
onChange: handleChange
|
|
20947
20948
|
};
|
|
20948
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
20949
|
+
return jsxRuntime.exports.jsxs(Container$i, __assign({}, containerProps, {
|
|
20949
20950
|
children: [jsxRuntime.exports.jsxs(Label$4, __assign({
|
|
20950
20951
|
forwardedAs: "span",
|
|
20951
20952
|
typographyType: "supportingStyleLabel01",
|
|
@@ -20975,19 +20976,19 @@ var RadioButtonGroup = function RadioButtonGroup(_a) {
|
|
|
20975
20976
|
})]
|
|
20976
20977
|
}));
|
|
20977
20978
|
};
|
|
20978
|
-
var templateObject_1$
|
|
20979
|
+
var templateObject_1$R, templateObject_2$E, templateObject_3$r, templateObject_4$l;
|
|
20979
20980
|
|
|
20980
20981
|
var Colors$k = ddsBaseTokens.colors,
|
|
20981
|
-
Spacing$
|
|
20982
|
-
FontPackages$
|
|
20982
|
+
Spacing$t = ddsBaseTokens.spacing,
|
|
20983
|
+
FontPackages$g = ddsBaseTokens.fontPackages,
|
|
20983
20984
|
BorderRadius$7 = ddsBaseTokens.borderRadius;
|
|
20984
20985
|
var checkboxBase = {
|
|
20985
20986
|
border: '1px solid',
|
|
20986
20987
|
backgroundColor: Colors$k.DdsColorNeutralsWhite,
|
|
20987
20988
|
borderColor: Colors$k.DdsColorNeutralsGray5,
|
|
20988
20989
|
borderRadius: BorderRadius$7.RadiiDdsBorderRadius1Radius,
|
|
20989
|
-
height: FontPackages$
|
|
20990
|
-
width: FontPackages$
|
|
20990
|
+
height: FontPackages$g.supportingStyle_inputtext_02.base.fontSize,
|
|
20991
|
+
width: FontPackages$g.supportingStyle_inputtext_02.base.fontSize
|
|
20991
20992
|
};
|
|
20992
20993
|
var checkboxCheckedBase = {
|
|
20993
20994
|
borderColor: Colors$k.DdsColorInteractiveBase,
|
|
@@ -21035,19 +21036,19 @@ var checkmarkIndeterminateBase = {
|
|
|
21035
21036
|
borderWidth: '1px 0 0 0'
|
|
21036
21037
|
};
|
|
21037
21038
|
|
|
21038
|
-
var containerBase$
|
|
21039
|
+
var containerBase$8 = __assign({}, FontPackages$g.body_sans_02.base);
|
|
21039
21040
|
|
|
21040
|
-
var containerWithLabelBase = __assign(__assign({}, FontPackages$
|
|
21041
|
-
padding: "0 ".concat(Spacing$
|
|
21041
|
+
var containerWithLabelBase = __assign(__assign({}, FontPackages$g.body_sans_02.base), {
|
|
21042
|
+
padding: "0 ".concat(Spacing$t.SizesDdsSpacingLocalX025, " 0 ").concat(FontPackages$g.supportingStyle_inputtext_02.numbers.fontSizeNumber + Spacing$t.SizesDdsSpacingLocalX075NumberPx, "px")
|
|
21042
21043
|
});
|
|
21043
21044
|
|
|
21044
21045
|
var containerNoLabelBase = {
|
|
21045
|
-
padding: "".concat(Spacing$
|
|
21046
|
+
padding: "".concat(Spacing$t.SizesDdsSpacingLocalX075, " ").concat(Spacing$t.SizesDdsSpacingLocalX0125, " ").concat(Spacing$t.SizesDdsSpacingLocalX075, " ").concat(Spacing$t.SizesDdsSpacingLocalX15)
|
|
21046
21047
|
};
|
|
21047
21048
|
var checkboxTokens = {
|
|
21048
21049
|
checkbox: {
|
|
21049
21050
|
base: checkboxBase,
|
|
21050
|
-
spaceLeft: Spacing$
|
|
21051
|
+
spaceLeft: Spacing$t.SizesDdsSpacingLocalX025,
|
|
21051
21052
|
hover: {
|
|
21052
21053
|
base: checkboxHoverBase
|
|
21053
21054
|
},
|
|
@@ -21096,7 +21097,7 @@ var checkboxTokens = {
|
|
|
21096
21097
|
}
|
|
21097
21098
|
},
|
|
21098
21099
|
container: {
|
|
21099
|
-
base: containerBase$
|
|
21100
|
+
base: containerBase$8,
|
|
21100
21101
|
focus: {
|
|
21101
21102
|
base: focusBase$4
|
|
21102
21103
|
},
|
|
@@ -21112,7 +21113,7 @@ var checkboxTokens = {
|
|
|
21112
21113
|
var CustomCheckbox = styled$3.span.withConfig({
|
|
21113
21114
|
displayName: "Checkboxstyles__CustomCheckbox",
|
|
21114
21115
|
componentId: "sc-17q1ubf-0"
|
|
21115
|
-
})(templateObject_1$
|
|
21116
|
+
})(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);
|
|
21116
21117
|
var Input$4 = styled$3.input.attrs(function (_a) {
|
|
21117
21118
|
var _b = _a.type,
|
|
21118
21119
|
type = _b === void 0 ? 'checkbox' : _b;
|
|
@@ -21122,32 +21123,32 @@ var Input$4 = styled$3.input.attrs(function (_a) {
|
|
|
21122
21123
|
}).withConfig({
|
|
21123
21124
|
displayName: "Checkboxstyles__Input",
|
|
21124
21125
|
componentId: "sc-17q1ubf-1"
|
|
21125
|
-
})(templateObject_2$
|
|
21126
|
-
var Container$
|
|
21126
|
+
})(templateObject_2$D || (templateObject_2$D = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), hideInput);
|
|
21127
|
+
var Container$h = styled$3.label.withConfig({
|
|
21127
21128
|
displayName: "Checkboxstyles__Container",
|
|
21128
21129
|
componentId: "sc-17q1ubf-2"
|
|
21129
|
-
})(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n ", "\n ", "\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n &:focus-within {\n ", "\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border: solid ", ";\n ", "\n }\n"], ["\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n ", "\n ", "\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n &:focus-within {\n ", "\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border: solid ", ";\n ", "\n }\n"])), checkboxTokens.container.base, function (_a) {
|
|
21130
|
+
})(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) {
|
|
21130
21131
|
var label = _a.label;
|
|
21131
|
-
return label ? Ae(templateObject_3$
|
|
21132
|
-
}, CustomCheckbox, CustomCheckbox, CustomCheckbox, checkboxTokens.checkbox.checked.base, CustomCheckbox, checkboxTokens.checkbox.hover.base, CustomCheckbox, checkboxTokens.checkbox.checked.hover.base, checkboxTokens.container.focus.base, function (_a) {
|
|
21132
|
+
return label ? Ae(templateObject_3$q || (templateObject_3$q = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.container.withLabel.base) : Ae(templateObject_4$k || (templateObject_4$k = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.container.noLabel.base);
|
|
21133
|
+
}, CustomCheckbox, CustomCheckbox, CustomCheckbox, checkboxTokens.checkbox.checked.base, CustomCheckbox, checkboxTokens.checkbox.hover.base, CustomCheckbox, checkboxTokens.checkbox.checked.hover.base, checkboxTokens.container.focus.base, focusVisibleTransitionValue, function (_a) {
|
|
21133
21134
|
var error = _a.error;
|
|
21134
21135
|
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);
|
|
21135
21136
|
}, function (_a) {
|
|
21136
21137
|
var indeterminate = _a.indeterminate;
|
|
21137
|
-
return indeterminate && Ae(templateObject_6$
|
|
21138
|
+
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);
|
|
21138
21139
|
}, function (_a) {
|
|
21139
21140
|
var disabled = _a.disabled,
|
|
21140
21141
|
indeterminate = _a.indeterminate;
|
|
21141
|
-
return disabled && Ae(templateObject_8$
|
|
21142
|
+
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));
|
|
21142
21143
|
}, function (_a) {
|
|
21143
21144
|
var readOnly = _a.readOnly,
|
|
21144
21145
|
indeterminate = _a.indeterminate;
|
|
21145
|
-
return readOnly && Ae(templateObject_10$
|
|
21146
|
+
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));
|
|
21146
21147
|
}, CustomCheckbox, checkboxTokens.checkmark.color, function (_a) {
|
|
21147
21148
|
var indeterminate = _a.indeterminate;
|
|
21148
21149
|
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);
|
|
21149
21150
|
});
|
|
21150
|
-
var templateObject_1$
|
|
21151
|
+
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;
|
|
21151
21152
|
|
|
21152
21153
|
var CheckboxGroupContext = /*#__PURE__*/React__default["default"].createContext(null);
|
|
21153
21154
|
var useCheckboxGroup = function useCheckboxGroup() {
|
|
@@ -21194,7 +21195,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
21194
21195
|
'aria-readonly': readOnly
|
|
21195
21196
|
}, rest);
|
|
21196
21197
|
|
|
21197
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
21198
|
+
return jsxRuntime.exports.jsxs(Container$h, __assign({}, containerProps, {
|
|
21198
21199
|
children: [jsxRuntime.exports.jsx(Input$4, __assign({}, inputProps, {
|
|
21199
21200
|
"data-indeterminate": indeterminate
|
|
21200
21201
|
})), jsxRuntime.exports.jsx(CustomCheckbox, {}), label && jsxRuntime.exports.jsx(Typography, __assign({
|
|
@@ -21205,22 +21206,22 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
21205
21206
|
}));
|
|
21206
21207
|
});
|
|
21207
21208
|
|
|
21208
|
-
var Spacing$
|
|
21209
|
+
var Spacing$s = ddsBaseTokens.spacing;
|
|
21209
21210
|
var groupContainerRowBase = {
|
|
21210
|
-
gap: Spacing$
|
|
21211
|
+
gap: Spacing$s.SizesDdsSpacingLocalX075
|
|
21211
21212
|
};
|
|
21212
21213
|
var groupContainerColumnBase = {
|
|
21213
|
-
gap: Spacing$
|
|
21214
|
+
gap: Spacing$s.SizesDdsSpacingLocalX05
|
|
21214
21215
|
};
|
|
21215
|
-
var containerBase$
|
|
21216
|
-
gap: Spacing$
|
|
21216
|
+
var containerBase$7 = {
|
|
21217
|
+
gap: Spacing$s.SizesDdsSpacingLocalX0125
|
|
21217
21218
|
};
|
|
21218
21219
|
var checkboxGroupTokens = {
|
|
21219
21220
|
label: {
|
|
21220
|
-
spaceLeft: Spacing$
|
|
21221
|
+
spaceLeft: Spacing$s.SizesDdsSpacingLocalX025
|
|
21221
21222
|
},
|
|
21222
21223
|
container: {
|
|
21223
|
-
base: containerBase$
|
|
21224
|
+
base: containerBase$7
|
|
21224
21225
|
},
|
|
21225
21226
|
groupContainer: {
|
|
21226
21227
|
direction: {
|
|
@@ -21234,16 +21235,16 @@ var checkboxGroupTokens = {
|
|
|
21234
21235
|
}
|
|
21235
21236
|
};
|
|
21236
21237
|
|
|
21237
|
-
var Container$
|
|
21238
|
+
var Container$g = styled$3.div.withConfig({
|
|
21238
21239
|
displayName: "CheckboxGroup__Container",
|
|
21239
21240
|
componentId: "sc-uixbzg-0"
|
|
21240
|
-
})(templateObject_1$
|
|
21241
|
+
})(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);
|
|
21241
21242
|
var GroupContainer = styled$3.div.withConfig({
|
|
21242
21243
|
displayName: "CheckboxGroup__GroupContainer",
|
|
21243
21244
|
componentId: "sc-uixbzg-1"
|
|
21244
|
-
})(templateObject_3$
|
|
21245
|
+
})(templateObject_3$p || (templateObject_3$p = __makeTemplateObject(["\n display: flex;\n ", "\n"], ["\n display: flex;\n ", "\n"])), function (_a) {
|
|
21245
21246
|
var direction = _a.direction;
|
|
21246
|
-
return Ae(templateObject_2$
|
|
21247
|
+
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);
|
|
21247
21248
|
});
|
|
21248
21249
|
var Label$3 = styled$3(Typography).withConfig({
|
|
21249
21250
|
displayName: "CheckboxGroup__Label",
|
|
@@ -21278,7 +21279,7 @@ var CheckboxGroup = function CheckboxGroup(_a) {
|
|
|
21278
21279
|
uniqueGroupId: uniqueGroupId,
|
|
21279
21280
|
tipId: tipId
|
|
21280
21281
|
};
|
|
21281
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
21282
|
+
return jsxRuntime.exports.jsxs(Container$g, __assign({}, containerProps, {
|
|
21282
21283
|
children: [jsxRuntime.exports.jsxs(Label$3, __assign({
|
|
21283
21284
|
forwardedAs: "span",
|
|
21284
21285
|
typographyType: "supportingStyleLabel01",
|
|
@@ -21307,69 +21308,69 @@ var CheckboxGroup = function CheckboxGroup(_a) {
|
|
|
21307
21308
|
})]
|
|
21308
21309
|
}));
|
|
21309
21310
|
};
|
|
21310
|
-
var templateObject_1$
|
|
21311
|
+
var templateObject_1$P, templateObject_2$C, templateObject_3$p, templateObject_4$j;
|
|
21311
21312
|
|
|
21312
21313
|
var Colors$j = ddsBaseTokens.colors,
|
|
21313
21314
|
Border$d = ddsBaseTokens.border,
|
|
21314
|
-
Spacing$
|
|
21315
|
-
FontPackages$
|
|
21315
|
+
Spacing$r = ddsBaseTokens.spacing,
|
|
21316
|
+
FontPackages$f = ddsBaseTokens.fontPackages,
|
|
21316
21317
|
BorderRadius$6 = ddsBaseTokens.borderRadius,
|
|
21317
21318
|
OuterShadow$4 = ddsBaseTokens.outerShadow;
|
|
21318
|
-
var iconSizeTinyPx = calculateHeightWithLineHeight(FontPackages$
|
|
21319
|
-
var iconSizeSmallPx = calculateHeightWithLineHeight(FontPackages$
|
|
21320
|
-
var iconSizeMediumPx = calculateHeightWithLineHeight(FontPackages$
|
|
21321
|
-
var iconSizeLargePx = calculateHeightWithLineHeight(FontPackages$
|
|
21322
|
-
var svgOffset = Spacing$
|
|
21319
|
+
var iconSizeTinyPx = calculateHeightWithLineHeight(FontPackages$f.supportingStyle_tiny_01.numbers.lineHeightNumber, FontPackages$f.supportingStyle_tiny_01.numbers.fontSizeNumber);
|
|
21320
|
+
var iconSizeSmallPx = calculateHeightWithLineHeight(FontPackages$f.body_sans_01.numbers.lineHeightNumber, FontPackages$f.body_sans_01.numbers.fontSizeNumber);
|
|
21321
|
+
var iconSizeMediumPx = calculateHeightWithLineHeight(FontPackages$f.body_sans_02.numbers.lineHeightNumber, FontPackages$f.body_sans_02.numbers.fontSizeNumber);
|
|
21322
|
+
var iconSizeLargePx = calculateHeightWithLineHeight(FontPackages$f.body_sans_04.numbers.lineHeightNumber, FontPackages$f.body_sans_04.numbers.fontSizeNumber);
|
|
21323
|
+
var svgOffset = Spacing$r.SizesDdsSpacingLocalX0125NumberPx;
|
|
21323
21324
|
var justIconSmallBase = {
|
|
21324
21325
|
fontSize: "".concat(iconSizeSmallPx + svgOffset, "px"),
|
|
21325
|
-
padding: Spacing$
|
|
21326
|
+
padding: Spacing$r.SizesDdsSpacingLocalX05
|
|
21326
21327
|
};
|
|
21327
21328
|
var justIconWrapperSmallBase = {
|
|
21328
21329
|
height: "".concat(iconSizeSmallPx, "px"),
|
|
21329
21330
|
width: "".concat(iconSizeSmallPx, "px")
|
|
21330
21331
|
};
|
|
21331
21332
|
|
|
21332
|
-
var textSmallBase = __assign(__assign({}, FontPackages$
|
|
21333
|
-
padding: "".concat(Spacing$
|
|
21333
|
+
var textSmallBase = __assign(__assign({}, FontPackages$f.body_sans_01.base), {
|
|
21334
|
+
padding: "".concat(Spacing$r.SizesDdsSpacingLocalX05, " ").concat(Spacing$r.SizesDdsSpacingLocalX1NumberPx - 2, "px")
|
|
21334
21335
|
});
|
|
21335
21336
|
|
|
21336
21337
|
var justIconMediumBase = {
|
|
21337
21338
|
fontSize: "".concat(iconSizeMediumPx + svgOffset, "px"),
|
|
21338
|
-
padding: Spacing$
|
|
21339
|
+
padding: Spacing$r.SizesDdsSpacingLocalX075
|
|
21339
21340
|
};
|
|
21340
21341
|
var justIconWrapperMediumBase = {
|
|
21341
21342
|
height: "".concat(iconSizeMediumPx, "px"),
|
|
21342
21343
|
width: "".concat(iconSizeMediumPx, "px")
|
|
21343
21344
|
};
|
|
21344
21345
|
|
|
21345
|
-
var textMediumBase = __assign(__assign({}, FontPackages$
|
|
21346
|
-
padding: "".concat(Spacing$
|
|
21346
|
+
var textMediumBase = __assign(__assign({}, FontPackages$f.body_sans_02.base), {
|
|
21347
|
+
padding: "".concat(Spacing$r.SizesDdsSpacingLocalX075, " ").concat(Spacing$r.SizesDdsSpacingLocalX15NumberPx - 2, "px")
|
|
21347
21348
|
});
|
|
21348
21349
|
|
|
21349
21350
|
var justIconLargeBase = {
|
|
21350
21351
|
fontSize: "".concat(iconSizeLargePx + svgOffset, "px"),
|
|
21351
|
-
padding: Spacing$
|
|
21352
|
+
padding: Spacing$r.SizesDdsSpacingLocalX1
|
|
21352
21353
|
};
|
|
21353
21354
|
var justIconWrapperLargeBase = {
|
|
21354
21355
|
height: "".concat(iconSizeLargePx, "px"),
|
|
21355
21356
|
width: "".concat(iconSizeLargePx, "px")
|
|
21356
21357
|
};
|
|
21357
21358
|
|
|
21358
|
-
var textLargeBase = __assign(__assign({}, FontPackages$
|
|
21359
|
-
padding: "".concat(Spacing$
|
|
21359
|
+
var textLargeBase = __assign(__assign({}, FontPackages$f.body_sans_04.base), {
|
|
21360
|
+
padding: "".concat(Spacing$r.SizesDdsSpacingLocalX1, " ").concat(Spacing$r.SizesDdsSpacingLocalX2NumberPx - 2, "px")
|
|
21360
21361
|
});
|
|
21361
21362
|
|
|
21362
21363
|
var justIconTinyBase = {
|
|
21363
21364
|
fontSize: "".concat(iconSizeTinyPx + svgOffset, "px"),
|
|
21364
|
-
padding: Spacing$
|
|
21365
|
+
padding: Spacing$r.SizesDdsSpacingLocalX025
|
|
21365
21366
|
};
|
|
21366
21367
|
var justIconWrapperTinyBase = {
|
|
21367
21368
|
height: "".concat(iconSizeTinyPx, "px"),
|
|
21368
21369
|
width: "".concat(iconSizeTinyPx, "px")
|
|
21369
21370
|
};
|
|
21370
21371
|
|
|
21371
|
-
var textTinyBase = __assign(__assign({}, FontPackages$
|
|
21372
|
-
padding: "".concat(Spacing$
|
|
21372
|
+
var textTinyBase = __assign(__assign({}, FontPackages$f.supportingStyle_tiny_01.base), {
|
|
21373
|
+
padding: "".concat(Spacing$r.SizesDdsSpacingLocalX025, " ").concat(Spacing$r.SizesDdsSpacingLocalX075)
|
|
21373
21374
|
});
|
|
21374
21375
|
|
|
21375
21376
|
var buttonBase$1 = {
|
|
@@ -21609,7 +21610,7 @@ var buttonTokens = {
|
|
|
21609
21610
|
text: {
|
|
21610
21611
|
base: textSmallBase
|
|
21611
21612
|
},
|
|
21612
|
-
iconWithTextMargin: Spacing$
|
|
21613
|
+
iconWithTextMargin: Spacing$r.SizesDdsSpacingLocalX05
|
|
21613
21614
|
},
|
|
21614
21615
|
medium: {
|
|
21615
21616
|
justIcon: {
|
|
@@ -21621,7 +21622,7 @@ var buttonTokens = {
|
|
|
21621
21622
|
text: {
|
|
21622
21623
|
base: textMediumBase
|
|
21623
21624
|
},
|
|
21624
|
-
iconWithTextMargin: Spacing$
|
|
21625
|
+
iconWithTextMargin: Spacing$r.SizesDdsSpacingLocalX075
|
|
21625
21626
|
},
|
|
21626
21627
|
large: {
|
|
21627
21628
|
justIcon: {
|
|
@@ -21633,7 +21634,7 @@ var buttonTokens = {
|
|
|
21633
21634
|
text: {
|
|
21634
21635
|
base: textLargeBase
|
|
21635
21636
|
},
|
|
21636
|
-
iconWithTextMargin: Spacing$
|
|
21637
|
+
iconWithTextMargin: Spacing$r.SizesDdsSpacingLocalX1
|
|
21637
21638
|
},
|
|
21638
21639
|
tiny: {
|
|
21639
21640
|
justIcon: {
|
|
@@ -21645,7 +21646,7 @@ var buttonTokens = {
|
|
|
21645
21646
|
text: {
|
|
21646
21647
|
base: textTinyBase
|
|
21647
21648
|
},
|
|
21648
|
-
iconWithTextMargin: Spacing$
|
|
21649
|
+
iconWithTextMargin: Spacing$r.SizesDdsSpacingLocalX05
|
|
21649
21650
|
}
|
|
21650
21651
|
},
|
|
21651
21652
|
appearance: {
|
|
@@ -21809,7 +21810,7 @@ var spinnerTokens = {
|
|
|
21809
21810
|
var StyledSpinner = styled$3.svg.withConfig({
|
|
21810
21811
|
displayName: "Spinner__StyledSpinner",
|
|
21811
21812
|
componentId: "sc-13hsttm-0"
|
|
21812
|
-
})(templateObject_1$
|
|
21813
|
+
})(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) {
|
|
21813
21814
|
var outerAnimationDelay = _a.outerAnimationDelay;
|
|
21814
21815
|
return outerAnimationDelay;
|
|
21815
21816
|
}, function (_a) {
|
|
@@ -21822,7 +21823,7 @@ var StyledSpinner = styled$3.svg.withConfig({
|
|
|
21822
21823
|
var Circle = styled$3.circle.withConfig({
|
|
21823
21824
|
displayName: "Spinner__Circle",
|
|
21824
21825
|
componentId: "sc-13hsttm-1"
|
|
21825
|
-
})(templateObject_2$
|
|
21826
|
+
})(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) {
|
|
21826
21827
|
var color = _a.color;
|
|
21827
21828
|
return color && getTextColor(color);
|
|
21828
21829
|
}, function (_a) {
|
|
@@ -21869,49 +21870,58 @@ function Spinner(_a) {
|
|
|
21869
21870
|
}))]
|
|
21870
21871
|
}));
|
|
21871
21872
|
}
|
|
21872
|
-
var templateObject_1$
|
|
21873
|
+
var templateObject_1$O, templateObject_2$B;
|
|
21873
21874
|
|
|
21874
21875
|
var ButtonWrapper$1 = styled$3.button.withConfig({
|
|
21875
21876
|
displayName: "Buttonstyles__ButtonWrapper",
|
|
21876
21877
|
componentId: "sc-14dutqk-0"
|
|
21877
|
-
})(templateObject_8$
|
|
21878
|
+
})(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) {
|
|
21878
21879
|
var fullWidth = _a.fullWidth;
|
|
21879
21880
|
return fullWidth ? '100%' : 'fit-content';
|
|
21880
|
-
}, function (_a) {
|
|
21881
|
+
}, focusVisibleTransitionValue, function (_a) {
|
|
21881
21882
|
var appearance = _a.appearance,
|
|
21882
21883
|
purpose = _a.purpose;
|
|
21883
|
-
return Ae(templateObject_1$
|
|
21884
|
+
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);
|
|
21884
21885
|
}, function (_a) {
|
|
21885
21886
|
var hasIcon = _a.hasIcon,
|
|
21886
21887
|
hasLabel = _a.hasLabel,
|
|
21887
21888
|
appearance = _a.appearance,
|
|
21888
21889
|
purpose = _a.purpose;
|
|
21889
|
-
return hasIcon && !hasLabel && appearance === 'borderless' && Ae(templateObject_2$
|
|
21890
|
+
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);
|
|
21890
21891
|
}, function (_a) {
|
|
21891
21892
|
var size = _a.size,
|
|
21892
21893
|
hasLabel = _a.hasLabel;
|
|
21893
|
-
return hasLabel ? Ae(templateObject_3$
|
|
21894
|
+
return hasLabel ? Ae(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].text.base) : Ae(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIcon.base);
|
|
21894
21895
|
}, function (_a) {
|
|
21895
21896
|
var fullWidth = _a.fullWidth,
|
|
21896
21897
|
hasIcon = _a.hasIcon,
|
|
21897
21898
|
hasLabel = _a.hasLabel,
|
|
21898
21899
|
isLoading = _a.isLoading,
|
|
21899
21900
|
iconPosition = _a.iconPosition;
|
|
21900
|
-
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$
|
|
21901
|
+
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 "]))));
|
|
21901
21902
|
}, buttonTokens.focus.base, typographyTokens.selection.base);
|
|
21902
21903
|
var StyledIconWrapperSpan = styled$3.span.withConfig({
|
|
21903
21904
|
displayName: "Buttonstyles__StyledIconWrapperSpan",
|
|
21904
21905
|
componentId: "sc-14dutqk-1"
|
|
21905
|
-
})(
|
|
21906
|
+
})(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) {
|
|
21907
|
+
var absolutePosition = _a.absolutePosition;
|
|
21908
|
+
return absolutePosition && Ae(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\n position: absolute;\n "], ["\n position: absolute;\n "])));
|
|
21909
|
+
}, function (_a) {
|
|
21910
|
+
var isHidden = _a.isHidden;
|
|
21911
|
+
return isHidden && Ae(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["\n visibility: hidden;\n "], ["\n visibility: hidden;\n "])));
|
|
21912
|
+
}, function (_a) {
|
|
21906
21913
|
var size = _a.size,
|
|
21907
21914
|
iconPosition = _a.iconPosition;
|
|
21908
|
-
return iconPosition === 'left' ? Ae(
|
|
21915
|
+
return iconPosition === 'left' ? Ae(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["\n margin-inline-end: ", ";\n "], ["\n margin-inline-end: ", ";\n "])), buttonTokens.sizes[size].iconWithTextMargin) : iconPosition === 'right' ? Ae(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n margin-inline-start: ", ";\n "], ["\n margin-inline-start: ", ";\n "])), buttonTokens.sizes[size].iconWithTextMargin) : Ae(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIconWrapper.base);
|
|
21909
21916
|
});
|
|
21910
21917
|
var Label$2 = styled$3.span.withConfig({
|
|
21911
21918
|
displayName: "Buttonstyles__Label",
|
|
21912
21919
|
componentId: "sc-14dutqk-2"
|
|
21913
|
-
})(
|
|
21914
|
-
var
|
|
21920
|
+
})(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
21921
|
+
var isHidden = _a.isHidden;
|
|
21922
|
+
return isHidden && Ae(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n visibility: hidden;\n "], ["\n visibility: hidden;\n "])));
|
|
21923
|
+
});
|
|
21924
|
+
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;
|
|
21915
21925
|
|
|
21916
21926
|
var Button$1 = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
21917
21927
|
var label = _a.label,
|
|
@@ -21936,6 +21946,8 @@ var Button$1 = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
21936
21946
|
rest = __rest(_a, ["label", "disabled", "purpose", "size", "iconPosition", "appearance", "href", "target", "loading", "fullWidth", "className", "style", "Icon"]);
|
|
21937
21947
|
|
|
21938
21948
|
var as = href ? 'a' : 'button';
|
|
21949
|
+
var hasLabel = !!label;
|
|
21950
|
+
var hasIcon = !!Icon;
|
|
21939
21951
|
|
|
21940
21952
|
var wrapperProps = __assign({
|
|
21941
21953
|
href: href,
|
|
@@ -21948,8 +21960,8 @@ var Button$1 = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
21948
21960
|
purpose: purpose,
|
|
21949
21961
|
iconPosition: iconPosition,
|
|
21950
21962
|
fullWidth: fullWidth,
|
|
21951
|
-
hasLabel:
|
|
21952
|
-
hasIcon:
|
|
21963
|
+
hasLabel: hasLabel,
|
|
21964
|
+
hasIcon: hasIcon,
|
|
21953
21965
|
isLoading: loading,
|
|
21954
21966
|
disabled: disabled,
|
|
21955
21967
|
size: size,
|
|
@@ -21957,12 +21969,12 @@ var Button$1 = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
21957
21969
|
style: style
|
|
21958
21970
|
}, rest);
|
|
21959
21971
|
|
|
21960
|
-
var
|
|
21961
|
-
var isIconButton = !hasLabel && !!Icon;
|
|
21972
|
+
var isIconButton = !hasLabel && hasIcon;
|
|
21962
21973
|
|
|
21963
21974
|
var iconElement = Icon && jsxRuntime.exports.jsx(StyledIconWrapperSpan, __assign({
|
|
21964
21975
|
iconPosition: isIconButton ? undefined : iconPosition,
|
|
21965
|
-
size: size
|
|
21976
|
+
size: size,
|
|
21977
|
+
isHidden: hasIcon && loading
|
|
21966
21978
|
}, {
|
|
21967
21979
|
children: jsxRuntime.exports.jsx(IconWrapper$1, {
|
|
21968
21980
|
Icon: Icon,
|
|
@@ -21971,44 +21983,55 @@ var Button$1 = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
21971
21983
|
}));
|
|
21972
21984
|
|
|
21973
21985
|
return jsxRuntime.exports.jsxs(ButtonWrapper$1, __assign({}, wrapperProps, {
|
|
21974
|
-
children: [
|
|
21975
|
-
|
|
21986
|
+
children: [!isIconButton && jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment, {
|
|
21987
|
+
children: [iconPosition === 'left' && iconElement, jsxRuntime.exports.jsx(Label$2, __assign({
|
|
21988
|
+
isHidden: loading,
|
|
21989
|
+
"aria-hidden": loading
|
|
21990
|
+
}, {
|
|
21991
|
+
children: label
|
|
21992
|
+
})), iconPosition === 'right' && iconElement]
|
|
21993
|
+
}), isIconButton && iconElement, loading && jsxRuntime.exports.jsx(StyledIconWrapperSpan, __assign({
|
|
21994
|
+
size: size,
|
|
21995
|
+
absolutePosition: hasIcon || hasLabel
|
|
21976
21996
|
}, {
|
|
21977
21997
|
children: jsxRuntime.exports.jsx(Spinner, {
|
|
21978
21998
|
color: buttonTokens.appearance[appearance][purpose].base.color,
|
|
21979
21999
|
size: buttonTokens.sizes[size].justIcon.base.fontSize
|
|
21980
22000
|
})
|
|
21981
|
-
}))
|
|
21982
|
-
children: [iconPosition === 'left' && iconElement, jsxRuntime.exports.jsx(Label$2, {
|
|
21983
|
-
children: label
|
|
21984
|
-
}), iconPosition === 'right' && iconElement]
|
|
21985
|
-
})]
|
|
22001
|
+
}))]
|
|
21986
22002
|
}));
|
|
21987
22003
|
});
|
|
21988
22004
|
|
|
21989
22005
|
var Colors$h = ddsBaseTokens.colors,
|
|
21990
|
-
Spacing$
|
|
22006
|
+
Spacing$q = ddsBaseTokens.spacing;
|
|
21991
22007
|
var TextInput$1 = ddsReferenceTokens.textInput;
|
|
21992
22008
|
var inputMultilineBase = {
|
|
21993
|
-
|
|
22009
|
+
height: 'auto',
|
|
22010
|
+
resize: 'vertical',
|
|
22011
|
+
paddingBottom: Spacing$q.SizesDdsSpacingLocalX05,
|
|
22012
|
+
verticalAlign: 'bottom'
|
|
21994
22013
|
};
|
|
21995
22014
|
var inputMultilineWithLabelBase = {
|
|
21996
|
-
paddingTop: Spacing$
|
|
22015
|
+
paddingTop: Spacing$q.SizesDdsSpacingLocalX2,
|
|
22016
|
+
minHeight: '99px'
|
|
21997
22017
|
};
|
|
21998
22018
|
var inputMultilineNoLabelBase = {
|
|
21999
|
-
paddingTop: Spacing$
|
|
22019
|
+
paddingTop: Spacing$q.SizesDdsSpacingLocalX075,
|
|
22020
|
+
minHeight: '78px'
|
|
22000
22021
|
};
|
|
22001
22022
|
var inputLabelMultilineBase = {
|
|
22023
|
+
marginTop: Spacing$q.SizesDdsSpacingLocalX0125,
|
|
22024
|
+
marginLeft: Spacing$q.SizesDdsSpacingLocalX0125,
|
|
22025
|
+
width: "calc(100% - ".concat(scrollbarWidthNumberPx + Spacing$q.SizesDdsSpacingLocalX0125NumberPx + 1, "px)"),
|
|
22002
22026
|
backgroundColor: Colors$h.DdsColorNeutralsWhite,
|
|
22003
|
-
padding: "".concat(Spacing$
|
|
22027
|
+
padding: "".concat(Spacing$q.SizesDdsSpacingLocalX075NumberPx - 2, "px ").concat(Spacing$q.SizesDdsSpacingLocalX1, " 0px ").concat(Spacing$q.SizesDdsSpacingLocalX1NumberPx - 2, "px")
|
|
22004
22028
|
};
|
|
22005
22029
|
var defaultWidth$2 = '320px';
|
|
22006
22030
|
var textInputTokens = {
|
|
22007
22031
|
general: TextInput$1,
|
|
22008
|
-
focusColor: TextInput$1.input.focus.borderColor,
|
|
22009
22032
|
multiline: {
|
|
22010
22033
|
base: inputMultilineBase,
|
|
22011
|
-
|
|
22034
|
+
hasLabel: {
|
|
22012
22035
|
base: inputMultilineWithLabelBase
|
|
22013
22036
|
},
|
|
22014
22037
|
noLabel: {
|
|
@@ -22022,31 +22045,21 @@ var textInputTokens = {
|
|
|
22022
22045
|
},
|
|
22023
22046
|
wrapper: {
|
|
22024
22047
|
defaultWidth: defaultWidth$2
|
|
22025
|
-
},
|
|
22026
|
-
container: {
|
|
22027
|
-
multiline: {
|
|
22028
|
-
withLabel: {
|
|
22029
|
-
height: '99px'
|
|
22030
|
-
},
|
|
22031
|
-
noLabel: {
|
|
22032
|
-
height: '78px'
|
|
22033
|
-
}
|
|
22034
|
-
}
|
|
22035
22048
|
}
|
|
22036
22049
|
};
|
|
22037
22050
|
|
|
22038
|
-
var Spacing$
|
|
22051
|
+
var Spacing$p = ddsBaseTokens.spacing;
|
|
22039
22052
|
var charCounterBase = {
|
|
22040
|
-
padding: "".concat(Spacing$
|
|
22053
|
+
padding: "".concat(Spacing$p.SizesDdsSpacingLocalX025, " ").concat(Spacing$p.SizesDdsSpacingLocalX05)
|
|
22041
22054
|
};
|
|
22042
22055
|
var charCounterTokens = {
|
|
22043
22056
|
base: charCounterBase
|
|
22044
22057
|
};
|
|
22045
22058
|
|
|
22046
|
-
var Wrapper$
|
|
22059
|
+
var Wrapper$7 = styled$3(Typography).withConfig({
|
|
22047
22060
|
displayName: "CharCounter__Wrapper",
|
|
22048
22061
|
componentId: "sc-qty1z2-0"
|
|
22049
|
-
})(templateObject_1$
|
|
22062
|
+
})(templateObject_1$M || (templateObject_1$M = __makeTemplateObject(["\n margin-left: auto;\n ", "\n"], ["\n margin-left: auto;\n ", "\n"])), charCounterTokens.base);
|
|
22050
22063
|
var nextUniqueId$e = 0;
|
|
22051
22064
|
|
|
22052
22065
|
function CharCounter(_a) {
|
|
@@ -22056,7 +22069,7 @@ function CharCounter(_a) {
|
|
|
22056
22069
|
rest = __rest(_a, ["current", "max", "id"]);
|
|
22057
22070
|
|
|
22058
22071
|
var uniqueId = React.useState(id !== null && id !== void 0 ? id : "characterCounter-".concat(nextUniqueId$e++))[0];
|
|
22059
|
-
return jsxRuntime.exports.jsxs(Wrapper$
|
|
22072
|
+
return jsxRuntime.exports.jsxs(Wrapper$7, __assign({
|
|
22060
22073
|
forwardedAs: "div",
|
|
22061
22074
|
typographyType: "supportingStyleHelperText01",
|
|
22062
22075
|
id: uniqueId,
|
|
@@ -22065,28 +22078,14 @@ function CharCounter(_a) {
|
|
|
22065
22078
|
children: [current, "/", max]
|
|
22066
22079
|
}));
|
|
22067
22080
|
}
|
|
22068
|
-
var templateObject_1$
|
|
22081
|
+
var templateObject_1$M;
|
|
22069
22082
|
|
|
22070
|
-
var TextArea = styled$3.
|
|
22083
|
+
var TextArea = styled$3(StatefulInput).withConfig({
|
|
22071
22084
|
displayName: "TextInputstyles__TextArea",
|
|
22072
22085
|
componentId: "sc-165zflr-0"
|
|
22073
|
-
})(
|
|
22074
|
-
var hasLabel = _a.hasLabel,
|
|
22075
|
-
disabled = _a.disabled,
|
|
22076
|
-
readOnly = _a.readOnly,
|
|
22077
|
-
hasErrorMessage = _a.hasErrorMessage;
|
|
22078
|
-
return inputStyling({
|
|
22079
|
-
readOnly: readOnly,
|
|
22080
|
-
hasLabel: hasLabel,
|
|
22081
|
-
disabled: disabled,
|
|
22082
|
-
hasErrorMessage: hasErrorMessage
|
|
22083
|
-
});
|
|
22084
|
-
}, scrollbarStyling, function (_a) {
|
|
22085
|
-
var hasLabel = _a.hasLabel;
|
|
22086
|
-
return hasLabel ? textInputTokens.container.multiline.withLabel.height : textInputTokens.container.multiline.noLabel.height;
|
|
22087
|
-
}, textInputTokens.multiline.base, function (_a) {
|
|
22086
|
+
})(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) {
|
|
22088
22087
|
var hasLabel = _a.hasLabel;
|
|
22089
|
-
return
|
|
22088
|
+
return Ae(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), textInputTokens.multiline[hasLabel].base);
|
|
22090
22089
|
}, function (_a) {
|
|
22091
22090
|
var hasErrorMessage = _a.hasErrorMessage;
|
|
22092
22091
|
return hasErrorMessage ? inputTokens.error.hover.base.backgroundColor : inputTokens.general.input.hover.backgroundColor;
|
|
@@ -22094,41 +22093,20 @@ var TextArea = styled$3.textarea.withConfig({
|
|
|
22094
22093
|
var MessageContainer = styled$3.div.withConfig({
|
|
22095
22094
|
displayName: "TextInputstyles__MessageContainer",
|
|
22096
22095
|
componentId: "sc-165zflr-1"
|
|
22097
|
-
})(
|
|
22098
|
-
var Label$1 = styled$3(
|
|
22096
|
+
})(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"])));
|
|
22097
|
+
var Label$1 = styled$3(Label$5).withConfig({
|
|
22099
22098
|
displayName: "TextInputstyles__Label",
|
|
22100
22099
|
componentId: "sc-165zflr-2"
|
|
22101
|
-
})(
|
|
22102
|
-
var multiline = _a.multiline;
|
|
22103
|
-
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);
|
|
22104
|
-
}, function (_a) {
|
|
22105
|
-
var disabled = _a.disabled,
|
|
22106
|
-
multiline = _a.multiline;
|
|
22107
|
-
return disabled && multiline && Ae(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), inputTokens.disabled.base.backgroundColor);
|
|
22108
|
-
}, function (_a) {
|
|
22109
|
-
var readOnly = _a.readOnly,
|
|
22110
|
-
multiline = _a.multiline;
|
|
22111
|
-
return readOnly && multiline && Ae(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), inputTokens.readOnly.base.backgroundColor);
|
|
22112
|
-
});
|
|
22113
|
-
var InputContainer$1 = styled$3(InputContainer$2).withConfig({
|
|
22114
|
-
displayName: "TextInputstyles__InputContainer",
|
|
22115
|
-
componentId: "sc-165zflr-3"
|
|
22116
|
-
})(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["\n ", "\n height: ", ";\n"], ["\n ", "\n height: ", ";\n"])), function (_a) {
|
|
22100
|
+
})(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), function (_a) {
|
|
22117
22101
|
var multiline = _a.multiline;
|
|
22118
|
-
return multiline && Ae(
|
|
22102
|
+
return multiline && Ae(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), textInputTokens.label.multiline.base);
|
|
22119
22103
|
}, function (_a) {
|
|
22120
22104
|
var multiline = _a.multiline,
|
|
22121
|
-
|
|
22122
|
-
|
|
22123
|
-
|
|
22124
|
-
if (label) {
|
|
22125
|
-
return textInputTokens.container.multiline.withLabel.height;
|
|
22126
|
-
}
|
|
22127
|
-
|
|
22128
|
-
return textInputTokens.container.multiline.noLabel.height;
|
|
22129
|
-
}
|
|
22105
|
+
disabled = _a.disabled,
|
|
22106
|
+
readOnly = _a.readOnly;
|
|
22107
|
+
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) : '';
|
|
22130
22108
|
});
|
|
22131
|
-
var templateObject_1$
|
|
22109
|
+
var templateObject_1$L, templateObject_2$z, templateObject_3$n, templateObject_4$h, templateObject_5$b, templateObject_6$9, templateObject_7$6;
|
|
22132
22110
|
|
|
22133
22111
|
var nextUniqueId$d = 0;
|
|
22134
22112
|
var TextInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
@@ -22157,18 +22135,9 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
22157
22135
|
text = _d[0],
|
|
22158
22136
|
setText = _d[1];
|
|
22159
22137
|
|
|
22160
|
-
var _e = React.useState('auto'),
|
|
22161
|
-
textAreaHeight = _e[0],
|
|
22162
|
-
setTextAreaHeight = _e[1];
|
|
22163
|
-
|
|
22164
|
-
var _f = React.useState('auto'),
|
|
22165
|
-
parentHeight = _f[0],
|
|
22166
|
-
setParentHeight = _f[1];
|
|
22167
|
-
|
|
22168
22138
|
React.useEffect(function () {
|
|
22169
22139
|
if (textAreaRef && textAreaRef.current) {
|
|
22170
|
-
|
|
22171
|
-
setTextAreaHeight("".concat(textAreaRef.current.scrollHeight, "px"));
|
|
22140
|
+
textAreaRef.current.style.height = "".concat(textAreaRef.current.scrollHeight + 2, "px");
|
|
22172
22141
|
}
|
|
22173
22142
|
}, [text]);
|
|
22174
22143
|
|
|
@@ -22181,12 +22150,6 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
22181
22150
|
};
|
|
22182
22151
|
|
|
22183
22152
|
var onChangeHandlerMultiline = function onChangeHandlerMultiline(event) {
|
|
22184
|
-
setTextAreaHeight('auto');
|
|
22185
|
-
|
|
22186
|
-
if (textAreaRef && textAreaRef.current) {
|
|
22187
|
-
setParentHeight("".concat(textAreaRef.current.scrollHeight, "px"));
|
|
22188
|
-
}
|
|
22189
|
-
|
|
22190
22153
|
setText(event.target.value);
|
|
22191
22154
|
|
|
22192
22155
|
if (onChange) {
|
|
@@ -22198,15 +22161,18 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
22198
22161
|
var hasErrorMessage = !!errorMessage;
|
|
22199
22162
|
var hasTip = !!tip;
|
|
22200
22163
|
var hasLabel = !!label;
|
|
22164
|
+
var labelPresence = hasLabel ? 'hasLabel' : 'noLabel';
|
|
22165
|
+
var hasMessage = hasErrorMessage || hasTip || !!maxLength;
|
|
22201
22166
|
var characterCounterId = derivativeIdGenerator(uniqueId, 'characterCounter', maxLength);
|
|
22202
22167
|
var tipId = derivativeIdGenerator(uniqueId, 'tip', tip);
|
|
22203
22168
|
var errorMessageId = derivativeIdGenerator(uniqueId, 'errorMessage', errorMessage);
|
|
22204
22169
|
|
|
22205
22170
|
var generalInputProps = __assign({
|
|
22206
22171
|
id: uniqueId,
|
|
22207
|
-
hasLabel:
|
|
22172
|
+
hasLabel: labelPresence,
|
|
22208
22173
|
errorMessage: errorMessage,
|
|
22209
22174
|
hasErrorMessage: hasErrorMessage,
|
|
22175
|
+
required: required,
|
|
22210
22176
|
disabled: disabled,
|
|
22211
22177
|
readOnly: readOnly,
|
|
22212
22178
|
tabIndex: readOnly ? -1 : 0,
|
|
@@ -22221,9 +22187,6 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
22221
22187
|
readOnly: readOnly
|
|
22222
22188
|
};
|
|
22223
22189
|
var inputContainerProps = {
|
|
22224
|
-
style: multiline ? {
|
|
22225
|
-
minHeight: parentHeight
|
|
22226
|
-
} : {},
|
|
22227
22190
|
multiline: multiline,
|
|
22228
22191
|
label: label
|
|
22229
22192
|
};
|
|
@@ -22233,19 +22196,15 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
22233
22196
|
width: width
|
|
22234
22197
|
};
|
|
22235
22198
|
return jsxRuntime.exports.jsxs(OuterInputContainer, __assign({}, outerInputContainerProps, {
|
|
22236
|
-
children: [jsxRuntime.exports.jsxs(InputContainer
|
|
22199
|
+
children: [jsxRuntime.exports.jsxs(InputContainer, __assign({}, inputContainerProps, {
|
|
22237
22200
|
children: [multiline ? jsxRuntime.exports.jsx(TextArea, __assign({
|
|
22238
22201
|
ref: textAreaRef,
|
|
22239
|
-
|
|
22240
|
-
|
|
22241
|
-
|
|
22242
|
-
onChange: onChangeHandlerMultiline,
|
|
22243
|
-
required: required
|
|
22244
|
-
}, generalInputProps)) : jsxRuntime.exports.jsx(Input$5, __assign({
|
|
22202
|
+
as: "textarea",
|
|
22203
|
+
onChange: onChangeHandlerMultiline
|
|
22204
|
+
}, generalInputProps)) : jsxRuntime.exports.jsx(StatefulInput, __assign({
|
|
22245
22205
|
ref: ref,
|
|
22246
22206
|
onChange: onChangeHandler,
|
|
22247
|
-
type: type
|
|
22248
|
-
required: required
|
|
22207
|
+
type: type
|
|
22249
22208
|
}, generalInputProps)), hasLabel && jsxRuntime.exports.jsxs(Label$1, __assign({}, labelProps, {
|
|
22250
22209
|
typographyType: "supportingStyleLabel01",
|
|
22251
22210
|
forwardedAs: "label",
|
|
@@ -22253,7 +22212,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
22253
22212
|
}, {
|
|
22254
22213
|
children: [label, " ", required && jsxRuntime.exports.jsx(RequiredMarker, {})]
|
|
22255
22214
|
}))]
|
|
22256
|
-
})), jsxRuntime.exports.jsxs(MessageContainer, {
|
|
22215
|
+
})), hasMessage && jsxRuntime.exports.jsxs(MessageContainer, {
|
|
22257
22216
|
children: [hasErrorMessage && jsxRuntime.exports.jsx(InputMessage, {
|
|
22258
22217
|
message: errorMessage,
|
|
22259
22218
|
messageType: "error",
|
|
@@ -23631,7 +23590,7 @@ var groupCSS = function groupCSS(_ref) {
|
|
|
23631
23590
|
};
|
|
23632
23591
|
};
|
|
23633
23592
|
|
|
23634
|
-
var Group$
|
|
23593
|
+
var Group$2 = function Group(props) {
|
|
23635
23594
|
var children = props.children,
|
|
23636
23595
|
className = props.className,
|
|
23637
23596
|
cx = props.cx,
|
|
@@ -23994,7 +23953,7 @@ var components = {
|
|
|
23994
23953
|
DropdownIndicator: DropdownIndicator,
|
|
23995
23954
|
DownChevron: DownChevron,
|
|
23996
23955
|
CrossIcon: CrossIcon,
|
|
23997
|
-
Group: Group$
|
|
23956
|
+
Group: Group$2,
|
|
23998
23957
|
GroupHeading: GroupHeading,
|
|
23999
23958
|
IndicatorsContainer: IndicatorsContainer$1,
|
|
24000
23959
|
IndicatorSeparator: IndicatorSeparator,
|
|
@@ -25055,7 +25014,7 @@ var defaultStyles = {
|
|
|
25055
25014
|
valueContainer: valueContainerCSS
|
|
25056
25015
|
}; // Merge Utility
|
|
25057
25016
|
|
|
25058
|
-
var colors = {
|
|
25017
|
+
var colors$2 = {
|
|
25059
25018
|
primary: '#2684FF',
|
|
25060
25019
|
primary75: '#4C9AFF',
|
|
25061
25020
|
primary50: '#B2D4FF',
|
|
@@ -25074,22 +25033,22 @@ var colors = {
|
|
|
25074
25033
|
neutral80: 'hsl(0, 0%, 20%)',
|
|
25075
25034
|
neutral90: 'hsl(0, 0%, 10%)'
|
|
25076
25035
|
};
|
|
25077
|
-
var borderRadius = 4; // Used to calculate consistent margin/padding on elements
|
|
25036
|
+
var borderRadius$2 = 4; // Used to calculate consistent margin/padding on elements
|
|
25078
25037
|
|
|
25079
25038
|
var baseUnit = 4; // The minimum height of the control
|
|
25080
25039
|
|
|
25081
25040
|
var controlHeight = 38; // The amount of space between the control and menu */
|
|
25082
25041
|
|
|
25083
25042
|
var menuGutter = baseUnit * 2;
|
|
25084
|
-
var spacing = {
|
|
25043
|
+
var spacing$3 = {
|
|
25085
25044
|
baseUnit: baseUnit,
|
|
25086
25045
|
controlHeight: controlHeight,
|
|
25087
25046
|
menuGutter: menuGutter
|
|
25088
25047
|
};
|
|
25089
25048
|
var defaultTheme = {
|
|
25090
|
-
borderRadius: borderRadius,
|
|
25091
|
-
colors: colors,
|
|
25092
|
-
spacing: spacing
|
|
25049
|
+
borderRadius: borderRadius$2,
|
|
25050
|
+
colors: colors$2,
|
|
25051
|
+
spacing: spacing$3
|
|
25093
25052
|
};
|
|
25094
25053
|
|
|
25095
25054
|
var defaultProps = {
|
|
@@ -26888,25 +26847,25 @@ var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
26888
26847
|
var ReactSelect = StateManagedSelect;
|
|
26889
26848
|
|
|
26890
26849
|
var Colors$g = ddsBaseTokens.colors,
|
|
26891
|
-
Spacing$
|
|
26892
|
-
FontPackages$
|
|
26850
|
+
Spacing$o = ddsBaseTokens.spacing,
|
|
26851
|
+
FontPackages$e = ddsBaseTokens.fontPackages,
|
|
26893
26852
|
BorderRadius$5 = ddsBaseTokens.borderRadius,
|
|
26894
26853
|
Border$c = ddsBaseTokens.border,
|
|
26895
26854
|
IconSizes$2 = ddsBaseTokens.iconSizes;
|
|
26896
26855
|
var textDefault$6 = ddsReferenceTokens.textDefault;
|
|
26897
|
-
var multiValueContainerMinHeight = "".concat(Spacing$
|
|
26856
|
+
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
|
|
26898
26857
|
|
|
26899
|
-
var valueContainerMarginBottomMultiWithLabel = "".concat(Spacing$
|
|
26858
|
+
var valueContainerMarginBottomMultiWithLabel = "".concat(Spacing$o.SizesDdsSpacingLocalX025NumberPx + Spacing$o.SizesDdsSpacingLocalX0125NumberPx, "px"); //custom spacing so that multiselect has same height as single value select
|
|
26900
26859
|
|
|
26901
|
-
var inputMultiNoLabelPaddingTop = "".concat(Spacing$
|
|
26860
|
+
var inputMultiNoLabelPaddingTop = "".concat(Spacing$o.SizesDdsSpacingLocalX05NumberPx + Spacing$o.SizesDdsSpacingLocalX0125NumberPx, "px");
|
|
26902
26861
|
|
|
26903
26862
|
var labelBase = __assign({
|
|
26904
26863
|
color: Colors$g.DdsColorNeutralsGray7,
|
|
26905
|
-
paddingTop: Spacing$
|
|
26906
|
-
paddingLeft: Spacing$
|
|
26864
|
+
paddingTop: Spacing$o.SizesDdsSpacingLocalX075,
|
|
26865
|
+
paddingLeft: Spacing$o.SizesDdsSpacingLocalX1,
|
|
26907
26866
|
paddingBottom: 0,
|
|
26908
|
-
paddingRight: Spacing$
|
|
26909
|
-
}, FontPackages$
|
|
26867
|
+
paddingRight: Spacing$o.SizesDdsSpacingLocalX05
|
|
26868
|
+
}, FontPackages$e.supportingStyle_label_01.base);
|
|
26910
26869
|
|
|
26911
26870
|
var labelHoverBase = {
|
|
26912
26871
|
color: Colors$g.DdsColorInteractiveBase
|
|
@@ -26915,10 +26874,10 @@ var labelFocusBase = {
|
|
|
26915
26874
|
color: Colors$g.DdsColorInteractiveBase
|
|
26916
26875
|
};
|
|
26917
26876
|
var valueContainerWithLabelBase = {
|
|
26918
|
-
marginBottom: Spacing$
|
|
26877
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX075
|
|
26919
26878
|
};
|
|
26920
26879
|
var valueContainerNoLabelBase = {
|
|
26921
|
-
marginBottom: Spacing$
|
|
26880
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX075
|
|
26922
26881
|
};
|
|
26923
26882
|
var valueContainerIsMultiBase = {
|
|
26924
26883
|
minHeight: multiValueContainerMinHeight
|
|
@@ -26927,9 +26886,9 @@ var valueContainerIsMultiWithLabelBase = {
|
|
|
26927
26886
|
marginBottom: valueContainerMarginBottomMultiWithLabel
|
|
26928
26887
|
};
|
|
26929
26888
|
var valueContainerIsMultiNoLabelBase = {
|
|
26930
|
-
marginBottom: Spacing$
|
|
26889
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX05
|
|
26931
26890
|
};
|
|
26932
|
-
var containerBase$
|
|
26891
|
+
var containerBase$6 = {
|
|
26933
26892
|
borderRadius: BorderRadius$5.RadiiDdsBorderRadius1Radius,
|
|
26934
26893
|
border: "".concat(Border$c.BordersDdsBorderStyleLightStrokeWeight, " solid"),
|
|
26935
26894
|
borderColor: Colors$g.DdsColorNeutralsGray5,
|
|
@@ -26947,11 +26906,11 @@ var containerDangerHoverBase = __assign({}, hoverDangerInputfield);
|
|
|
26947
26906
|
var containerDangerFocusBase = __assign({}, focusDangerInputfield);
|
|
26948
26907
|
|
|
26949
26908
|
var inputBase$1 = __assign({
|
|
26950
|
-
padding: "0 ".concat(Spacing$
|
|
26951
|
-
}, FontPackages$
|
|
26909
|
+
padding: "0 ".concat(Spacing$o.SizesDdsSpacingLocalX05, " 0 ").concat(Spacing$o.SizesDdsSpacingLocalX1)
|
|
26910
|
+
}, FontPackages$e.supportingStyle_inputtext_02.base);
|
|
26952
26911
|
|
|
26953
26912
|
var inputNoLabelBase = {
|
|
26954
|
-
paddingTop: Spacing$
|
|
26913
|
+
paddingTop: Spacing$o.SizesDdsSpacingLocalX075
|
|
26955
26914
|
};
|
|
26956
26915
|
var inputIsMultiNoLabelBase = {
|
|
26957
26916
|
paddingTop: inputMultiNoLabelPaddingTop
|
|
@@ -26959,19 +26918,19 @@ var inputIsMultiNoLabelBase = {
|
|
|
26959
26918
|
|
|
26960
26919
|
var placeholderBase = __assign({
|
|
26961
26920
|
color: Colors$g.DdsColorNeutralsGray6
|
|
26962
|
-
}, FontPackages$
|
|
26921
|
+
}, FontPackages$e.supportingStyle_placeholdertext_01.base);
|
|
26963
26922
|
|
|
26964
26923
|
var indicatorsContainerWithLabelBase = {
|
|
26965
|
-
marginBottom: Spacing$
|
|
26924
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX1
|
|
26966
26925
|
};
|
|
26967
26926
|
var indicatorsContainerNoLabelBase = {
|
|
26968
|
-
marginBottom: Spacing$
|
|
26927
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX075
|
|
26969
26928
|
};
|
|
26970
26929
|
var indicatorsContainerIsMultiWithLabelBase = {
|
|
26971
26930
|
marginBottom: valueContainerMarginBottomMultiWithLabel
|
|
26972
26931
|
};
|
|
26973
26932
|
var indicatorsContainerIsMultiNoLabelBase = {
|
|
26974
|
-
marginBottom: Spacing$
|
|
26933
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX05
|
|
26975
26934
|
};
|
|
26976
26935
|
var dropdownIndicatorBase = {
|
|
26977
26936
|
color: Colors$g.DdsColorNeutralsGray6,
|
|
@@ -26985,7 +26944,7 @@ var drodownIndicatorReadOnlyBase = {
|
|
|
26985
26944
|
};
|
|
26986
26945
|
var clearIndicatorBase = {
|
|
26987
26946
|
color: Colors$g.DdsColorNeutralsGray6,
|
|
26988
|
-
padding: " 0 ".concat(Spacing$
|
|
26947
|
+
padding: " 0 ".concat(Spacing$o.SizesDdsSpacingLocalX025, " 0 0")
|
|
26989
26948
|
};
|
|
26990
26949
|
var loadingIndicatorBase = {
|
|
26991
26950
|
color: Colors$g.DdsColorNeutralsGray6,
|
|
@@ -26999,13 +26958,13 @@ var menuBase = {
|
|
|
26999
26958
|
borderColor: Colors$g.DdsColorInteractiveBase,
|
|
27000
26959
|
backgroundColor: Colors$g.DdsColorNeutralsWhite,
|
|
27001
26960
|
borderRadius: BorderRadius$5.RadiiDdsBorderRadius1Radius,
|
|
27002
|
-
marginTop: Spacing$
|
|
27003
|
-
marginBottom: Spacing$
|
|
26961
|
+
marginTop: Spacing$o.SizesDdsSpacingLocalX025,
|
|
26962
|
+
marginBottom: Spacing$o.SizesDdsSpacingLocalX025
|
|
27004
26963
|
};
|
|
27005
26964
|
|
|
27006
26965
|
var optionBase = __assign(__assign({
|
|
27007
|
-
padding: "".concat(Spacing$
|
|
27008
|
-
}, FontPackages$
|
|
26966
|
+
padding: "".concat(Spacing$o.SizesDdsSpacingLocalX05, " ").concat(Spacing$o.SizesDdsSpacingLocalX1)
|
|
26967
|
+
}, FontPackages$e.body_sans_02.base), {
|
|
27009
26968
|
color: textDefault$6.textColor
|
|
27010
26969
|
});
|
|
27011
26970
|
|
|
@@ -27015,18 +26974,18 @@ var optionHoverBase = {
|
|
|
27015
26974
|
|
|
27016
26975
|
var optionSelectedBase = __assign(__assign({
|
|
27017
26976
|
backgroundColor: Colors$g.DdsColorInteractiveLightest
|
|
27018
|
-
}, FontPackages$
|
|
26977
|
+
}, FontPackages$e.body_sans_02.base), {
|
|
27019
26978
|
fontWeight: 600
|
|
27020
26979
|
});
|
|
27021
26980
|
|
|
27022
26981
|
var noOptionsMessageBase = __assign({
|
|
27023
|
-
padding: "".concat(Spacing$
|
|
26982
|
+
padding: "".concat(Spacing$o.SizesDdsSpacingLocalX05, " ").concat(Spacing$o.SizesDdsSpacingLocalX1),
|
|
27024
26983
|
color: Colors$g.DdsColorNeutralsGray6
|
|
27025
|
-
}, FontPackages$
|
|
26984
|
+
}, FontPackages$e.supportingStyle_placeholdertext_01.base);
|
|
27026
26985
|
|
|
27027
26986
|
var multiValueBase = {
|
|
27028
26987
|
borderRadius: BorderRadius$5.RadiiDdsBorderRadius1Radius,
|
|
27029
|
-
margin: Spacing$
|
|
26988
|
+
margin: Spacing$o.SizesDdsSpacingLocalX0125
|
|
27030
26989
|
};
|
|
27031
26990
|
var multiValueEnabledBase = {
|
|
27032
26991
|
backgroundColor: Colors$g.DdsColorInteractiveLighter
|
|
@@ -27036,17 +26995,17 @@ var multiValueDisabledBase = {
|
|
|
27036
26995
|
};
|
|
27037
26996
|
|
|
27038
26997
|
var multiValueLabelBase = __assign(__assign({
|
|
27039
|
-
paddingTop: "".concat(Spacing$
|
|
27040
|
-
paddingRight: "".concat(Spacing$
|
|
27041
|
-
paddingLeft: "".concat(Spacing$
|
|
27042
|
-
paddingBottom: "".concat(Spacing$
|
|
26998
|
+
paddingTop: "".concat(Spacing$o.SizesDdsSpacingLocalX025),
|
|
26999
|
+
paddingRight: "".concat(Spacing$o.SizesDdsSpacingLocalX05),
|
|
27000
|
+
paddingLeft: "".concat(Spacing$o.SizesDdsSpacingLocalX05),
|
|
27001
|
+
paddingBottom: "".concat(Spacing$o.SizesDdsSpacingLocalX025),
|
|
27043
27002
|
color: Colors$g.DdsColorNeutralsGray9
|
|
27044
|
-
}, FontPackages$
|
|
27003
|
+
}, FontPackages$e.supportingStyle_inputtext_01.base), {
|
|
27045
27004
|
fontWeight: 'bold'
|
|
27046
27005
|
});
|
|
27047
27006
|
|
|
27048
27007
|
var multiValueRemoveBase = {
|
|
27049
|
-
padding: "".concat(Spacing$
|
|
27008
|
+
padding: "".concat(Spacing$o.SizesDdsSpacingLocalX025),
|
|
27050
27009
|
color: Colors$g.DdsColorNeutralsGray9
|
|
27051
27010
|
};
|
|
27052
27011
|
var multiValueRemoveHoverBase = {
|
|
@@ -27068,7 +27027,7 @@ var containerReadOnlyBase = {
|
|
|
27068
27027
|
var defaultWidth$1 = '320px';
|
|
27069
27028
|
var selectTokens = {
|
|
27070
27029
|
container: {
|
|
27071
|
-
base: containerBase$
|
|
27030
|
+
base: containerBase$6,
|
|
27072
27031
|
defaultWidth: defaultWidth$1,
|
|
27073
27032
|
hover: {
|
|
27074
27033
|
base: containerHoverBase
|
|
@@ -27117,7 +27076,7 @@ var selectTokens = {
|
|
|
27117
27076
|
},
|
|
27118
27077
|
menu: {
|
|
27119
27078
|
base: menuBase,
|
|
27120
|
-
spaceTop: Spacing$
|
|
27079
|
+
spaceTop: Spacing$o.SizesDdsSpacingLocalX1NumberPx + 2 //grunnet shadow-box
|
|
27121
27080
|
|
|
27122
27081
|
},
|
|
27123
27082
|
option: {
|
|
@@ -27128,7 +27087,7 @@ var selectTokens = {
|
|
|
27128
27087
|
selected: {
|
|
27129
27088
|
base: optionSelectedBase,
|
|
27130
27089
|
icon: {
|
|
27131
|
-
margin: "0 ".concat(Spacing$
|
|
27090
|
+
margin: "0 ".concat(Spacing$o.SizesDdsSpacingLocalX05, " 0 0")
|
|
27132
27091
|
}
|
|
27133
27092
|
}
|
|
27134
27093
|
},
|
|
@@ -27213,20 +27172,20 @@ var prefix = 'dds-select';
|
|
|
27213
27172
|
var Label = styled$3(Typography).withConfig({
|
|
27214
27173
|
displayName: "Selectstyles__Label",
|
|
27215
27174
|
componentId: "sc-19jkd5s-0"
|
|
27216
|
-
})(templateObject_1$
|
|
27217
|
-
var Container$
|
|
27175
|
+
})(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n display: block;\n ", "\n"], ["\n display: block;\n ", "\n"])), selectTokens.label.base);
|
|
27176
|
+
var Container$f = styled$3.div.withConfig({
|
|
27218
27177
|
displayName: "Selectstyles__Container",
|
|
27219
27178
|
componentId: "sc-19jkd5s-1"
|
|
27220
27179
|
})(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) {
|
|
27221
27180
|
var isMulti = _a.isMulti;
|
|
27222
|
-
return isMulti && Ae(templateObject_2$
|
|
27181
|
+
return isMulti && Ae(templateObject_2$y || (templateObject_2$y = __makeTemplateObject([""], [""])));
|
|
27223
27182
|
}, function (_a) {
|
|
27224
27183
|
var hasLabel = _a.hasLabel,
|
|
27225
27184
|
isMulti = _a.isMulti;
|
|
27226
|
-
return isMulti && hasLabel ? Ae(templateObject_3$
|
|
27185
|
+
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);
|
|
27227
27186
|
}, selectTokens.container.hover.base, Label, selectTokens.label.hover.base, selectTokens.container.focus.base, Label, selectTokens.label.focus.base, function (_a) {
|
|
27228
27187
|
var errorMessage = _a.errorMessage;
|
|
27229
|
-
return errorMessage && Ae(templateObject_7$
|
|
27188
|
+
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);
|
|
27230
27189
|
}, prefix, scrollbarStyling, prefix, prefix, selectTokens.dropdownIndicator.hover.base, function (_a) {
|
|
27231
27190
|
var isDisabled = _a.isDisabled;
|
|
27232
27191
|
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);
|
|
@@ -27234,7 +27193,7 @@ var Container$e = styled$3.div.withConfig({
|
|
|
27234
27193
|
var readOnly = _a.readOnly;
|
|
27235
27194
|
return readOnly && Ae(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n }\n .", "__dropdown-indicator, &:hover .", "__dropdown-indicator {\n ", "\n }\n "], ["\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n }\n .", "__dropdown-indicator, &:hover .", "__dropdown-indicator {\n ", "\n }\n "])), selectTokens.container.readOnly.base, selectTokens.container.readOnly.base, Label, selectTokens.label.base, prefix, prefix, selectTokens.dropdownIndicator.readOnly.base);
|
|
27236
27195
|
});
|
|
27237
|
-
var Wrapper$
|
|
27196
|
+
var Wrapper$6 = styled$3.div.withConfig({
|
|
27238
27197
|
displayName: "Selectstyles__Wrapper",
|
|
27239
27198
|
componentId: "sc-19jkd5s-2"
|
|
27240
27199
|
})(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject(["\n margin: 0;\n width: ", ";\n"], ["\n margin: 0;\n width: ", ";\n"])), function (_a) {
|
|
@@ -27343,7 +27302,7 @@ var getCustomStyles = function getCustomStyles() {
|
|
|
27343
27302
|
}
|
|
27344
27303
|
};
|
|
27345
27304
|
};
|
|
27346
|
-
var templateObject_1$
|
|
27305
|
+
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;
|
|
27347
27306
|
|
|
27348
27307
|
var DdsOption = components.Option,
|
|
27349
27308
|
NoOptionsMessage = components.NoOptionsMessage,
|
|
@@ -27448,8 +27407,8 @@ var SelectInner = function SelectInner(_a, ref) {
|
|
|
27448
27407
|
'aria-invalid': hasErrorMessage ? true : undefined
|
|
27449
27408
|
}, rest);
|
|
27450
27409
|
|
|
27451
|
-
return jsxRuntime.exports.jsxs(Wrapper$
|
|
27452
|
-
children: [jsxRuntime.exports.jsxs(Container$
|
|
27410
|
+
return jsxRuntime.exports.jsxs(Wrapper$6, __assign({}, wrapperProps, {
|
|
27411
|
+
children: [jsxRuntime.exports.jsxs(Container$f, __assign({}, containerProps, {
|
|
27453
27412
|
children: [label && jsxRuntime.exports.jsxs(Label, __assign({
|
|
27454
27413
|
htmlFor: uniqueId,
|
|
27455
27414
|
forwardedAs: "label",
|
|
@@ -27537,24 +27496,24 @@ var _default$f = (0, _createSvgIcon$f.default)( /*#__PURE__*/(0, _jsxRuntime$f.j
|
|
|
27537
27496
|
default_1$f = InfoOutlined.default = _default$f;
|
|
27538
27497
|
|
|
27539
27498
|
var Colors$f = ddsBaseTokens.colors,
|
|
27540
|
-
Spacing$
|
|
27541
|
-
FontPackages$
|
|
27499
|
+
Spacing$n = ddsBaseTokens.spacing,
|
|
27500
|
+
FontPackages$d = ddsBaseTokens.fontPackages;
|
|
27542
27501
|
|
|
27543
|
-
var containerBase$
|
|
27502
|
+
var containerBase$5 = __assign(__assign({
|
|
27544
27503
|
borderBottom: '2px solid',
|
|
27545
|
-
padding: "0 ".concat(Spacing$
|
|
27504
|
+
padding: "0 ".concat(Spacing$n.SizesDdsSpacingLocalX1),
|
|
27546
27505
|
width: '100%'
|
|
27547
|
-
}, FontPackages$
|
|
27506
|
+
}, FontPackages$d.body_sans_02.base), {
|
|
27548
27507
|
color: Colors$f.DdsColorNeutralsGray8
|
|
27549
27508
|
});
|
|
27550
27509
|
|
|
27551
27510
|
var contentContainerBase$3 = {
|
|
27552
|
-
paddingRight: Spacing$
|
|
27553
|
-
paddingTop: Spacing$
|
|
27554
|
-
paddingBottom: Spacing$
|
|
27511
|
+
paddingRight: Spacing$n.SizesDdsSpacingLocalX15,
|
|
27512
|
+
paddingTop: Spacing$n.SizesDdsSpacingLocalX075,
|
|
27513
|
+
paddingBottom: Spacing$n.SizesDdsSpacingLocalX075
|
|
27555
27514
|
};
|
|
27556
27515
|
var contentContainerWithClosableBase$1 = {
|
|
27557
|
-
paddingRight: Spacing$
|
|
27516
|
+
paddingRight: Spacing$n.SizesDdsSpacingLocalX075
|
|
27558
27517
|
};
|
|
27559
27518
|
var containerInfoBase$1 = {
|
|
27560
27519
|
borderColor: Colors$f.DdsColorInfoLighter,
|
|
@@ -27570,7 +27529,7 @@ var containerWarningBase$1 = {
|
|
|
27570
27529
|
};
|
|
27571
27530
|
var globalMessageTokens = {
|
|
27572
27531
|
container: {
|
|
27573
|
-
base: containerBase$
|
|
27532
|
+
base: containerBase$5,
|
|
27574
27533
|
info: {
|
|
27575
27534
|
base: containerInfoBase$1
|
|
27576
27535
|
},
|
|
@@ -27588,7 +27547,7 @@ var globalMessageTokens = {
|
|
|
27588
27547
|
}
|
|
27589
27548
|
},
|
|
27590
27549
|
icon: {
|
|
27591
|
-
marginRight: "".concat(Spacing$
|
|
27550
|
+
marginRight: "".concat(Spacing$n.SizesDdsSpacingLocalX075),
|
|
27592
27551
|
info: {
|
|
27593
27552
|
icon: default_1$f,
|
|
27594
27553
|
color: Colors$f.DdsColorInfoDarkest
|
|
@@ -27615,17 +27574,17 @@ var globalMessageTokens = {
|
|
|
27615
27574
|
}
|
|
27616
27575
|
};
|
|
27617
27576
|
|
|
27618
|
-
var Container$
|
|
27577
|
+
var Container$e = styled$3.div.withConfig({
|
|
27619
27578
|
displayName: "GlobalMessage__Container",
|
|
27620
27579
|
componentId: "sc-bf2l65-0"
|
|
27621
|
-
})(templateObject_2$
|
|
27580
|
+
})(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) {
|
|
27622
27581
|
var purpose = _a.purpose;
|
|
27623
|
-
return purpose && Ae(templateObject_1$
|
|
27582
|
+
return purpose && Ae(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), globalMessageTokens.container.base, globalMessageTokens.container[purpose].base);
|
|
27624
27583
|
});
|
|
27625
27584
|
var MessageIconWrapper$1 = styled$3(IconWrapper$1).withConfig({
|
|
27626
27585
|
displayName: "GlobalMessage__MessageIconWrapper",
|
|
27627
27586
|
componentId: "sc-bf2l65-1"
|
|
27628
|
-
})(templateObject_3$
|
|
27587
|
+
})(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), globalMessageTokens.icon.marginRight);
|
|
27629
27588
|
var ControlsContainer = styled$3.div.withConfig({
|
|
27630
27589
|
displayName: "GlobalMessage__ControlsContainer",
|
|
27631
27590
|
componentId: "sc-bf2l65-2"
|
|
@@ -27633,7 +27592,7 @@ var ControlsContainer = styled$3.div.withConfig({
|
|
|
27633
27592
|
var ContentContainer$4 = styled$3.div.withConfig({
|
|
27634
27593
|
displayName: "GlobalMessage__ContentContainer",
|
|
27635
27594
|
componentId: "sc-bf2l65-3"
|
|
27636
|
-
})(templateObject_6$
|
|
27595
|
+
})(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) {
|
|
27637
27596
|
var closable = _a.closable;
|
|
27638
27597
|
return closable && Ae(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), globalMessageTokens.contentContainer.withClosable.base);
|
|
27639
27598
|
});
|
|
@@ -27657,7 +27616,7 @@ var GlobalMessage = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
27657
27616
|
purpose: purpose
|
|
27658
27617
|
}, rest);
|
|
27659
27618
|
|
|
27660
|
-
return !isClosed ? jsxRuntime.exports.jsxs(Container$
|
|
27619
|
+
return !isClosed ? jsxRuntime.exports.jsxs(Container$e, __assign({}, containerProps, {
|
|
27661
27620
|
children: [jsxRuntime.exports.jsxs(ContentContainer$4, __assign({
|
|
27662
27621
|
closable: closable
|
|
27663
27622
|
}, {
|
|
@@ -27684,7 +27643,7 @@ var GlobalMessage = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
27684
27643
|
})]
|
|
27685
27644
|
})) : null;
|
|
27686
27645
|
});
|
|
27687
|
-
var templateObject_1$
|
|
27646
|
+
var templateObject_1$J, templateObject_2$x, templateObject_3$l, templateObject_4$f, templateObject_5$9, templateObject_6$7;
|
|
27688
27647
|
|
|
27689
27648
|
var CheckCircleOutlined = {};
|
|
27690
27649
|
|
|
@@ -27731,38 +27690,38 @@ var _default$d = (0, _createSvgIcon$d.default)([/*#__PURE__*/(0, _jsxRuntime$d.j
|
|
|
27731
27690
|
default_1$d = EmojiObjectsOutlined.default = _default$d;
|
|
27732
27691
|
|
|
27733
27692
|
var Colors$e = ddsBaseTokens.colors,
|
|
27734
|
-
Spacing$
|
|
27735
|
-
FontPackages$
|
|
27693
|
+
Spacing$m = ddsBaseTokens.spacing,
|
|
27694
|
+
FontPackages$c = ddsBaseTokens.fontPackages,
|
|
27736
27695
|
BorderRadius$4 = ddsBaseTokens.borderRadius,
|
|
27737
27696
|
Border$b = ddsBaseTokens.border,
|
|
27738
27697
|
OuterShadow$3 = ddsBaseTokens.outerShadow;
|
|
27739
27698
|
|
|
27740
|
-
var containerBase$
|
|
27699
|
+
var containerBase$4 = __assign(__assign({
|
|
27741
27700
|
boxShadow: OuterShadow$3.DdsShadow1Onlight,
|
|
27742
27701
|
borderRadius: BorderRadius$4.RadiiDdsBorderRadius1Radius,
|
|
27743
27702
|
border: "".concat(Border$b.BordersDdsBorderStyleLightStrokeWeight, " solid"),
|
|
27744
|
-
padding: "0 ".concat(Spacing$
|
|
27745
|
-
}, FontPackages$
|
|
27703
|
+
padding: "0 ".concat(Spacing$m.SizesDdsSpacingLocalX1)
|
|
27704
|
+
}, FontPackages$c.body_sans_02.base), {
|
|
27746
27705
|
color: Colors$e.DdsColorNeutralsGray8
|
|
27747
27706
|
});
|
|
27748
27707
|
|
|
27749
27708
|
var defaultWidth = '400px';
|
|
27750
27709
|
var contentContainerBase$2 = {
|
|
27751
|
-
paddingRight: Spacing$
|
|
27752
|
-
paddingTop: Spacing$
|
|
27753
|
-
paddingBottom: Spacing$
|
|
27710
|
+
paddingRight: Spacing$m.SizesDdsSpacingLocalX15,
|
|
27711
|
+
paddingTop: Spacing$m.SizesDdsSpacingLocalX075,
|
|
27712
|
+
paddingBottom: Spacing$m.SizesDdsSpacingLocalX075
|
|
27754
27713
|
};
|
|
27755
27714
|
var contentContainerWithClosableBase = {
|
|
27756
|
-
paddingRight: Spacing$
|
|
27715
|
+
paddingRight: Spacing$m.SizesDdsSpacingLocalX075
|
|
27757
27716
|
};
|
|
27758
27717
|
var contentContainerVericalBase = {
|
|
27759
|
-
paddingBottom: Spacing$
|
|
27718
|
+
paddingBottom: Spacing$m.SizesDdsSpacingLocalX15
|
|
27760
27719
|
};
|
|
27761
27720
|
var topContainerBase = {
|
|
27762
|
-
paddingTop: Spacing$
|
|
27721
|
+
paddingTop: Spacing$m.SizesDdsSpacingLocalX15
|
|
27763
27722
|
};
|
|
27764
27723
|
var topContainerWithClosableBase = {
|
|
27765
|
-
paddingTop: Spacing$
|
|
27724
|
+
paddingTop: Spacing$m.SizesDdsSpacingLocalX1
|
|
27766
27725
|
};
|
|
27767
27726
|
var containerInfoBase = {
|
|
27768
27727
|
borderColor: Colors$e.DdsColorInfoLighter,
|
|
@@ -27790,7 +27749,7 @@ var containerConfidentialBase = {
|
|
|
27790
27749
|
};
|
|
27791
27750
|
var localMessageTokens = {
|
|
27792
27751
|
container: {
|
|
27793
|
-
base: containerBase$
|
|
27752
|
+
base: containerBase$4,
|
|
27794
27753
|
defaultWidth: defaultWidth,
|
|
27795
27754
|
info: {
|
|
27796
27755
|
base: containerInfoBase
|
|
@@ -27827,7 +27786,7 @@ var localMessageTokens = {
|
|
|
27827
27786
|
}
|
|
27828
27787
|
},
|
|
27829
27788
|
icon: {
|
|
27830
|
-
marginRight: "".concat(Spacing$
|
|
27789
|
+
marginRight: "".concat(Spacing$m.SizesDdsSpacingLocalX075),
|
|
27831
27790
|
info: {
|
|
27832
27791
|
icon: default_1$f,
|
|
27833
27792
|
color: Colors$e.DdsColorInfoDarkest
|
|
@@ -27875,18 +27834,18 @@ var localMessageTokens = {
|
|
|
27875
27834
|
}
|
|
27876
27835
|
};
|
|
27877
27836
|
|
|
27878
|
-
var Container$
|
|
27837
|
+
var Container$d = styled$3.div.withConfig({
|
|
27879
27838
|
displayName: "LocalMessage__Container",
|
|
27880
27839
|
componentId: "sc-kmfp8w-0"
|
|
27881
|
-
})(templateObject_3$
|
|
27840
|
+
})(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) {
|
|
27882
27841
|
var layout = _a.layout;
|
|
27883
27842
|
return layout === 'vertical' ? 'column' : 'row';
|
|
27884
27843
|
}, function (_a) {
|
|
27885
27844
|
var layout = _a.layout;
|
|
27886
|
-
return layout === 'horisontal' && Ae(templateObject_1$
|
|
27845
|
+
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 "])));
|
|
27887
27846
|
}, typographyTokens.selection.base, function (_a) {
|
|
27888
27847
|
var purpose = _a.purpose;
|
|
27889
|
-
return purpose && Ae(templateObject_2$
|
|
27848
|
+
return purpose && Ae(templateObject_2$w || (templateObject_2$w = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), localMessageTokens.container.base, localMessageTokens.container[purpose].base);
|
|
27890
27849
|
}, function (_a) {
|
|
27891
27850
|
var width = _a.width;
|
|
27892
27851
|
return width;
|
|
@@ -27900,10 +27859,10 @@ var ContentContainer$3 = styled$3.div.withConfig({
|
|
|
27900
27859
|
componentId: "sc-kmfp8w-2"
|
|
27901
27860
|
})(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), localMessageTokens.contentContainer.base, function (_a) {
|
|
27902
27861
|
var layout = _a.layout;
|
|
27903
|
-
return layout === 'vertical' ? Ae(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), localMessageTokens.contentContainer.vertical.base) : Ae(templateObject_6$
|
|
27862
|
+
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 "])));
|
|
27904
27863
|
}, function (_a) {
|
|
27905
27864
|
var closable = _a.closable;
|
|
27906
|
-
return closable && Ae(templateObject_7$
|
|
27865
|
+
return closable && Ae(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), localMessageTokens.contentContainer.withClosable.base);
|
|
27907
27866
|
});
|
|
27908
27867
|
var TopContainer = styled$3.div.withConfig({
|
|
27909
27868
|
displayName: "LocalMessage__TopContainer",
|
|
@@ -27966,7 +27925,7 @@ var LocalMessage = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
27966
27925
|
"aria-label": "Lukk melding"
|
|
27967
27926
|
});
|
|
27968
27927
|
|
|
27969
|
-
return !isClosed ? jsxRuntime.exports.jsx(Container$
|
|
27928
|
+
return !isClosed ? jsxRuntime.exports.jsx(Container$d, __assign({}, containerProps, {
|
|
27970
27929
|
children: layout === 'horisontal' ? jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment, {
|
|
27971
27930
|
children: [jsxRuntime.exports.jsxs(ContentContainer$3, __assign({}, contentContainerProps, {
|
|
27972
27931
|
children: [messageIconWrapper, " ", content]
|
|
@@ -27982,7 +27941,7 @@ var LocalMessage = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
27982
27941
|
})
|
|
27983
27942
|
})) : null;
|
|
27984
27943
|
});
|
|
27985
|
-
var templateObject_1$
|
|
27944
|
+
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;
|
|
27986
27945
|
|
|
27987
27946
|
var SearchOutlined = {};
|
|
27988
27947
|
|
|
@@ -28003,35 +27962,40 @@ var _default$c = (0, _createSvgIcon$c.default)( /*#__PURE__*/(0, _jsxRuntime$c.j
|
|
|
28003
27962
|
|
|
28004
27963
|
default_1$c = SearchOutlined.default = _default$c;
|
|
28005
27964
|
|
|
28006
|
-
var
|
|
28007
|
-
|
|
27965
|
+
var spacing$2 = ddsBaseTokens.spacing,
|
|
27966
|
+
fontPackages$1 = ddsBaseTokens.fontPackages;
|
|
28008
27967
|
var textDefault$5 = ddsReferenceTokens.textDefault;
|
|
28009
27968
|
var inputBase = {
|
|
28010
|
-
paddingRight:
|
|
27969
|
+
paddingRight: spacing$2.SizesDdsSpacingLocalX05,
|
|
27970
|
+
paddingLeft: spacing$2.SizesDdsSpacingLocalX3
|
|
28011
27971
|
};
|
|
28012
27972
|
|
|
28013
|
-
var smallBase$1 = __assign(__assign({},
|
|
28014
|
-
paddingTop:
|
|
28015
|
-
paddingBottom:
|
|
27973
|
+
var smallBase$1 = __assign(__assign({}, fontPackages$1.supportingStyle_inputtext_01.base), {
|
|
27974
|
+
paddingTop: spacing$2.SizesDdsSpacingLocalX05,
|
|
27975
|
+
paddingBottom: spacing$2.SizesDdsSpacingLocalX05
|
|
28016
27976
|
});
|
|
28017
27977
|
|
|
28018
|
-
var mediumBase = __assign(__assign({},
|
|
28019
|
-
paddingTop:
|
|
28020
|
-
paddingBottom:
|
|
27978
|
+
var mediumBase = __assign(__assign({}, fontPackages$1.supportingStyle_inputtext_02.base), {
|
|
27979
|
+
paddingTop: spacing$2.SizesDdsSpacingLocalX075,
|
|
27980
|
+
paddingBottom: spacing$2.SizesDdsSpacingLocalX075
|
|
28021
27981
|
});
|
|
28022
27982
|
|
|
28023
|
-
var largeBase = __assign(__assign({},
|
|
28024
|
-
paddingTop:
|
|
28025
|
-
paddingBottom:
|
|
27983
|
+
var largeBase = __assign(__assign({}, fontPackages$1.supportingStyle_inputtext_03.base), {
|
|
27984
|
+
paddingTop: spacing$2.SizesDdsSpacingLocalX1,
|
|
27985
|
+
paddingBottom: spacing$2.SizesDdsSpacingLocalX1
|
|
28026
27986
|
});
|
|
28027
27987
|
|
|
28028
27988
|
var iconWrapperBase = {
|
|
28029
27989
|
color: textDefault$5.textColor
|
|
28030
27990
|
};
|
|
27991
|
+
var containerBase$3 = {
|
|
27992
|
+
display: 'flex',
|
|
27993
|
+
flexDirection: 'row',
|
|
27994
|
+
gap: spacing$2.SizesDdsSpacingLocalX05
|
|
27995
|
+
};
|
|
28031
27996
|
var searchTokens = {
|
|
28032
27997
|
input: {
|
|
28033
27998
|
base: inputBase,
|
|
28034
|
-
spaceLeft: Spacing$m.SizesDdsSpacingLocalX3,
|
|
28035
27999
|
small: {
|
|
28036
28000
|
base: smallBase$1
|
|
28037
28001
|
},
|
|
@@ -28043,44 +28007,36 @@ var searchTokens = {
|
|
|
28043
28007
|
}
|
|
28044
28008
|
},
|
|
28045
28009
|
icon: {
|
|
28046
|
-
spaceTop: "calc(50% - ".concat(
|
|
28047
|
-
spaceLeft:
|
|
28010
|
+
spaceTop: "calc(50% - ".concat(spacing$2.SizesDdsSpacingLocalX15NumberPx / 2, "px)"),
|
|
28011
|
+
spaceLeft: spacing$2.SizesDdsSpacingLocalX075
|
|
28048
28012
|
},
|
|
28049
28013
|
iconWrapper: {
|
|
28050
28014
|
base: iconWrapperBase
|
|
28051
28015
|
},
|
|
28052
|
-
|
|
28053
|
-
|
|
28016
|
+
container: {
|
|
28017
|
+
base: containerBase$3
|
|
28054
28018
|
}
|
|
28055
28019
|
};
|
|
28056
28020
|
|
|
28057
|
-
var Input$1 = styled$3.
|
|
28021
|
+
var Input$1 = styled$3(Input$5).withConfig({
|
|
28058
28022
|
displayName: "Search__Input",
|
|
28059
28023
|
componentId: "sc-1ax3s9s-0"
|
|
28060
|
-
})(templateObject_2$
|
|
28024
|
+
})(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) {
|
|
28061
28025
|
var componentSize = _a.componentSize;
|
|
28062
|
-
return
|
|
28063
|
-
}
|
|
28026
|
+
return Ae(templateObject_1$H || (templateObject_1$H = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), searchTokens.input[componentSize].base);
|
|
28027
|
+
});
|
|
28064
28028
|
var IconWrapper = styled$3.span.withConfig({
|
|
28065
28029
|
displayName: "Search__IconWrapper",
|
|
28066
28030
|
componentId: "sc-1ax3s9s-1"
|
|
28067
|
-
})(templateObject_3$
|
|
28068
|
-
var Container$
|
|
28031
|
+
})(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);
|
|
28032
|
+
var Container$c = styled$3.div.withConfig({
|
|
28069
28033
|
displayName: "Search__Container",
|
|
28070
28034
|
componentId: "sc-1ax3s9s-2"
|
|
28071
|
-
})(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n
|
|
28072
|
-
var InputContainer = styled$3.div.withConfig({
|
|
28073
|
-
displayName: "Search__InputContainer",
|
|
28074
|
-
componentId: "sc-1ax3s9s-3"
|
|
28075
|
-
})(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"])));
|
|
28076
|
-
var InputWrapper = styled$3.div.withConfig({
|
|
28077
|
-
displayName: "Search__InputWrapper",
|
|
28078
|
-
componentId: "sc-1ax3s9s-4"
|
|
28079
|
-
})(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
|
|
28035
|
+
})(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), searchTokens.container.base);
|
|
28080
28036
|
var ButtonWrapper = styled$3.div.withConfig({
|
|
28081
28037
|
displayName: "Search__ButtonWrapper",
|
|
28082
|
-
componentId: "sc-1ax3s9s-
|
|
28083
|
-
})(
|
|
28038
|
+
componentId: "sc-1ax3s9s-3"
|
|
28039
|
+
})(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject([""], [""])));
|
|
28084
28040
|
var nextUniqueId$b = 0;
|
|
28085
28041
|
var Search = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
28086
28042
|
var _b = _a.componentSize,
|
|
@@ -28102,7 +28058,9 @@ var Search = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
28102
28058
|
style: style
|
|
28103
28059
|
};
|
|
28104
28060
|
|
|
28105
|
-
var inputProps = __assign(__assign({
|
|
28061
|
+
var inputProps = __assign(__assign({
|
|
28062
|
+
ref: ref
|
|
28063
|
+
}, rest), {
|
|
28106
28064
|
componentSize: componentSize,
|
|
28107
28065
|
name: name,
|
|
28108
28066
|
type: 'search',
|
|
@@ -28115,20 +28073,20 @@ var Search = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
28115
28073
|
onClick = _c.onClick,
|
|
28116
28074
|
otherButtonProps = __rest(_c, ["label", "onClick"]);
|
|
28117
28075
|
|
|
28118
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
28119
|
-
children: [jsxRuntime.exports.jsxs(
|
|
28120
|
-
|
|
28076
|
+
return jsxRuntime.exports.jsxs(Container$c, __assign({}, containerProps, {
|
|
28077
|
+
children: [jsxRuntime.exports.jsxs(OuterInputContainer, __assign({
|
|
28078
|
+
width: "100%"
|
|
28079
|
+
}, {
|
|
28080
|
+
children: [jsxRuntime.exports.jsxs(InputContainer, {
|
|
28121
28081
|
children: [jsxRuntime.exports.jsx(IconWrapper, {
|
|
28122
28082
|
children: jsxRuntime.exports.jsx(default_1$c, {})
|
|
28123
|
-
}), jsxRuntime.exports.jsx(Input$1, __assign({
|
|
28124
|
-
ref: ref
|
|
28125
|
-
}, inputProps))]
|
|
28083
|
+
}), jsxRuntime.exports.jsx(Input$1, __assign({}, inputProps))]
|
|
28126
28084
|
}), hasTip && jsxRuntime.exports.jsx(InputMessage, {
|
|
28127
28085
|
id: tipId,
|
|
28128
28086
|
messageType: "tip",
|
|
28129
28087
|
message: tip
|
|
28130
28088
|
})]
|
|
28131
|
-
}), buttonProps && onClick && jsxRuntime.exports.jsx(ButtonWrapper, {
|
|
28089
|
+
})), buttonProps && onClick && jsxRuntime.exports.jsx(ButtonWrapper, {
|
|
28132
28090
|
children: jsxRuntime.exports.jsx(Button$1, __assign({
|
|
28133
28091
|
size: componentSize,
|
|
28134
28092
|
label: label || 'Søk',
|
|
@@ -28137,7 +28095,7 @@ var Search = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
28137
28095
|
})]
|
|
28138
28096
|
}));
|
|
28139
28097
|
});
|
|
28140
|
-
var templateObject_1$
|
|
28098
|
+
var templateObject_1$H, templateObject_2$v, templateObject_3$j, templateObject_4$d, templateObject_5$7;
|
|
28141
28099
|
|
|
28142
28100
|
var Colors$d = ddsBaseTokens.colors,
|
|
28143
28101
|
Spacing$l = ddsBaseTokens.spacing;
|
|
@@ -28195,12 +28153,12 @@ var cellTokens = {
|
|
|
28195
28153
|
var StyledTable = styled$3.table.withConfig({
|
|
28196
28154
|
displayName: "Table__StyledTable",
|
|
28197
28155
|
componentId: "sc-bw0w0a-0"
|
|
28198
|
-
})(templateObject_3$
|
|
28156
|
+
})(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) {
|
|
28199
28157
|
var density = _a.density;
|
|
28200
|
-
return density && Ae(templateObject_1$
|
|
28158
|
+
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);
|
|
28201
28159
|
}, function (_a) {
|
|
28202
28160
|
var stickyHeader = _a.stickyHeader;
|
|
28203
|
-
return stickyHeader && Ae(templateObject_2$
|
|
28161
|
+
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 "])));
|
|
28204
28162
|
});
|
|
28205
28163
|
var Table = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
28206
28164
|
var _b = _a.density,
|
|
@@ -28217,12 +28175,12 @@ var Table = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
28217
28175
|
children: children
|
|
28218
28176
|
}));
|
|
28219
28177
|
});
|
|
28220
|
-
var templateObject_1$
|
|
28178
|
+
var templateObject_1$G, templateObject_2$u, templateObject_3$i;
|
|
28221
28179
|
|
|
28222
28180
|
var StyledBody = styled$3.tbody.withConfig({
|
|
28223
28181
|
displayName: "Body__StyledBody",
|
|
28224
28182
|
componentId: "sc-67qjfs-0"
|
|
28225
|
-
})(templateObject_1$
|
|
28183
|
+
})(templateObject_1$F || (templateObject_1$F = __makeTemplateObject([""], [""])));
|
|
28226
28184
|
var Body$1 = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
28227
28185
|
var children = _a.children,
|
|
28228
28186
|
rest = __rest(_a, ["children"]);
|
|
@@ -28235,12 +28193,12 @@ var Body$1 = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
28235
28193
|
children: children
|
|
28236
28194
|
}));
|
|
28237
28195
|
});
|
|
28238
|
-
var templateObject_1$
|
|
28196
|
+
var templateObject_1$F;
|
|
28239
28197
|
|
|
28240
28198
|
var StyledHead = styled$3.thead.withConfig({
|
|
28241
28199
|
displayName: "Head__StyledHead",
|
|
28242
28200
|
componentId: "sc-vzd2kv-0"
|
|
28243
|
-
})(templateObject_1$
|
|
28201
|
+
})(templateObject_1$E || (templateObject_1$E = __makeTemplateObject([""], [""])));
|
|
28244
28202
|
var Head = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
28245
28203
|
var children = _a.children,
|
|
28246
28204
|
rest = __rest(_a, ["children"]);
|
|
@@ -28253,7 +28211,7 @@ var Head = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
28253
28211
|
children: children
|
|
28254
28212
|
}));
|
|
28255
28213
|
});
|
|
28256
|
-
var templateObject_1$
|
|
28214
|
+
var templateObject_1$E;
|
|
28257
28215
|
|
|
28258
28216
|
var Colors$c = ddsBaseTokens.colors,
|
|
28259
28217
|
FontPackages$b = ddsBaseTokens.fontPackages,
|
|
@@ -28326,7 +28284,7 @@ var rowTokens = {
|
|
|
28326
28284
|
};
|
|
28327
28285
|
|
|
28328
28286
|
var bodyStyles = function bodyStyles(mode, selected) {
|
|
28329
|
-
return Ae(templateObject_3$
|
|
28287
|
+
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));
|
|
28330
28288
|
};
|
|
28331
28289
|
|
|
28332
28290
|
var StyledRow = styled$3.tr.withConfig({
|
|
@@ -28361,18 +28319,18 @@ var Row = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
28361
28319
|
children: children
|
|
28362
28320
|
}));
|
|
28363
28321
|
});
|
|
28364
|
-
var templateObject_1$
|
|
28322
|
+
var templateObject_1$D, templateObject_2$t, templateObject_3$h, templateObject_4$c, templateObject_5$6, templateObject_6$5, templateObject_7$3;
|
|
28365
28323
|
|
|
28366
28324
|
var layoutStyle = function layoutStyle(layout) {
|
|
28367
28325
|
switch (layout) {
|
|
28368
28326
|
case 'center':
|
|
28369
|
-
return Ae(templateObject_1$
|
|
28327
|
+
return Ae(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "])));
|
|
28370
28328
|
|
|
28371
28329
|
case 'right':
|
|
28372
|
-
return Ae(templateObject_2$
|
|
28330
|
+
return Ae(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n justify-content: flex-end;\n "], ["\n justify-content: flex-end;\n "])));
|
|
28373
28331
|
|
|
28374
28332
|
case 'text and icon':
|
|
28375
|
-
return Ae(templateObject_3$
|
|
28333
|
+
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);
|
|
28376
28334
|
|
|
28377
28335
|
default:
|
|
28378
28336
|
case 'left':
|
|
@@ -28432,7 +28390,7 @@ var Cell = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
28432
28390
|
}))
|
|
28433
28391
|
}));
|
|
28434
28392
|
});
|
|
28435
|
-
var templateObject_1$
|
|
28393
|
+
var templateObject_1$C, templateObject_2$s, templateObject_3$g, templateObject_4$b, templateObject_5$5, templateObject_6$4;
|
|
28436
28394
|
|
|
28437
28395
|
var KeyboardArrowDown = {};
|
|
28438
28396
|
|
|
@@ -28494,11 +28452,11 @@ default_1$9 = UnfoldMore.default = _default$9;
|
|
|
28494
28452
|
var SortIconWrapper = styled$3(IconWrapper$1).withConfig({
|
|
28495
28453
|
displayName: "SortCell__SortIconWrapper",
|
|
28496
28454
|
componentId: "sc-1l3jzvh-0"
|
|
28497
|
-
})(templateObject_1$
|
|
28455
|
+
})(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), cellTokens.head.sortCell.icon.base);
|
|
28498
28456
|
var StyledButton$3 = styled$3.button.withConfig({
|
|
28499
28457
|
displayName: "SortCell__StyledButton",
|
|
28500
28458
|
componentId: "sc-1l3jzvh-1"
|
|
28501
|
-
})(templateObject_2$
|
|
28459
|
+
})(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);
|
|
28502
28460
|
|
|
28503
28461
|
var makeSortIcon = function makeSortIcon(isSorted, sortOrder) {
|
|
28504
28462
|
if (!isSorted || !sortOrder) {
|
|
@@ -28537,12 +28495,12 @@ var SortCell = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
28537
28495
|
}))
|
|
28538
28496
|
}));
|
|
28539
28497
|
});
|
|
28540
|
-
var templateObject_1$
|
|
28498
|
+
var templateObject_1$B, templateObject_2$r;
|
|
28541
28499
|
|
|
28542
28500
|
var StyledFoot = styled$3.tfoot.withConfig({
|
|
28543
28501
|
displayName: "Foot__StyledFoot",
|
|
28544
28502
|
componentId: "sc-tfpehd-0"
|
|
28545
|
-
})(templateObject_1$
|
|
28503
|
+
})(templateObject_1$A || (templateObject_1$A = __makeTemplateObject([""], [""])));
|
|
28546
28504
|
var Foot = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
28547
28505
|
var children = _a.children,
|
|
28548
28506
|
rest = __rest(_a, ["children"]);
|
|
@@ -28555,14 +28513,14 @@ var Foot = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
28555
28513
|
children: children
|
|
28556
28514
|
}));
|
|
28557
28515
|
});
|
|
28558
|
-
var templateObject_1$
|
|
28516
|
+
var templateObject_1$A;
|
|
28559
28517
|
|
|
28560
|
-
var Wrapper$
|
|
28518
|
+
var Wrapper$5 = styled$3.div.withConfig({
|
|
28561
28519
|
displayName: "TableWrapper__Wrapper",
|
|
28562
28520
|
componentId: "sc-eb384b-0"
|
|
28563
|
-
})(templateObject_2$
|
|
28521
|
+
})(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), function (_a) {
|
|
28564
28522
|
var overflowX = _a.overflowX;
|
|
28565
|
-
return overflowX && Ae(templateObject_1$
|
|
28523
|
+
return overflowX && Ae(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n overflow-x: auto;\n "], ["\n overflow-x: auto;\n "])));
|
|
28566
28524
|
}, scrollbarStyling);
|
|
28567
28525
|
var TableWrapper = function TableWrapper(_a) {
|
|
28568
28526
|
var children = _a.children,
|
|
@@ -28605,11 +28563,11 @@ var TableWrapper = function TableWrapper(_a) {
|
|
|
28605
28563
|
overflowX: overflowX
|
|
28606
28564
|
}, rest);
|
|
28607
28565
|
|
|
28608
|
-
return jsxRuntime.exports.jsx(Wrapper$
|
|
28566
|
+
return jsxRuntime.exports.jsx(Wrapper$5, __assign({}, wrapperProps, {
|
|
28609
28567
|
children: children
|
|
28610
28568
|
}));
|
|
28611
28569
|
};
|
|
28612
|
-
var templateObject_1$
|
|
28570
|
+
var templateObject_1$z, templateObject_2$q;
|
|
28613
28571
|
|
|
28614
28572
|
var Breadcrumb = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
28615
28573
|
var children = _a.children,
|
|
@@ -28692,15 +28650,15 @@ var breadcrumbTokens = {
|
|
|
28692
28650
|
var List$2 = styled$3.ol.withConfig({
|
|
28693
28651
|
displayName: "Breadcrumbs__List",
|
|
28694
28652
|
componentId: "sc-xdj21o-0"
|
|
28695
|
-
})(templateObject_1$
|
|
28653
|
+
})(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"])));
|
|
28696
28654
|
var ListItem$2 = styled$3.li.withConfig({
|
|
28697
28655
|
displayName: "Breadcrumbs__ListItem",
|
|
28698
28656
|
componentId: "sc-xdj21o-1"
|
|
28699
|
-
})(templateObject_2$
|
|
28657
|
+
})(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);
|
|
28700
28658
|
var BreadcrumbIcon = styled$3(default_1$8).withConfig({
|
|
28701
28659
|
displayName: "Breadcrumbs__BreadcrumbIcon",
|
|
28702
28660
|
componentId: "sc-xdj21o-2"
|
|
28703
|
-
})(templateObject_3$
|
|
28661
|
+
})(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), breadcrumbTokens.icon.base);
|
|
28704
28662
|
var BackIcon = styled$3(default_1$7).withConfig({
|
|
28705
28663
|
displayName: "Breadcrumbs__BackIcon",
|
|
28706
28664
|
componentId: "sc-xdj21o-3"
|
|
@@ -28736,7 +28694,7 @@ var Breadcrumbs = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
28736
28694
|
})
|
|
28737
28695
|
}));
|
|
28738
28696
|
});
|
|
28739
|
-
var templateObject_1$
|
|
28697
|
+
var templateObject_1$y, templateObject_2$p, templateObject_3$f, templateObject_4$a;
|
|
28740
28698
|
|
|
28741
28699
|
var ChevronLeftOutlined = {};
|
|
28742
28700
|
|
|
@@ -28876,19 +28834,19 @@ var paginationTokens = {
|
|
|
28876
28834
|
var Nav = styled$3.nav.withConfig({
|
|
28877
28835
|
displayName: "Pagination__Nav",
|
|
28878
28836
|
componentId: "sc-5ltegq-0"
|
|
28879
|
-
})(templateObject_1$
|
|
28837
|
+
})(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
|
|
28880
28838
|
var List$1 = styled$3.ol.withConfig({
|
|
28881
28839
|
displayName: "Pagination__List",
|
|
28882
28840
|
componentId: "sc-5ltegq-1"
|
|
28883
|
-
})(templateObject_2$
|
|
28841
|
+
})(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);
|
|
28884
28842
|
var ListItem$1 = styled$3.li.withConfig({
|
|
28885
28843
|
displayName: "Pagination__ListItem",
|
|
28886
28844
|
componentId: "sc-5ltegq-2"
|
|
28887
28845
|
})(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n list-style: none;\n display: inline-grid;\n align-content: center;\n ", "\n"], ["\n list-style: none;\n display: inline-grid;\n align-content: center;\n ", "\n"])), function (_a) {
|
|
28888
28846
|
var isHidden = _a.isHidden;
|
|
28889
|
-
return isHidden && Ae(templateObject_3$
|
|
28847
|
+
return isHidden && Ae(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n visibility: hidden;\n "], ["\n visibility: hidden;\n "])));
|
|
28890
28848
|
});
|
|
28891
|
-
var Container$
|
|
28849
|
+
var Container$b = styled$3.div.withConfig({
|
|
28892
28850
|
displayName: "Pagination__Container",
|
|
28893
28851
|
componentId: "sc-5ltegq-3"
|
|
28894
28852
|
})(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) {
|
|
@@ -29078,7 +29036,7 @@ var Pagination = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29078
29036
|
var activePageFirstItem = activePage === 1 ? 1 : activePage * itemsPerPage - itemsPerPage + 1;
|
|
29079
29037
|
var activePageLastItem = activePage === pagesLength ? itemsAmount : activePage * itemsPerPage;
|
|
29080
29038
|
var navigationToBeRendered = smallScreen ? smallScreenNavigation : navigation;
|
|
29081
|
-
return !withCounter && !withSelect ? navigationToBeRendered : jsxRuntime.exports.jsxs(Container$
|
|
29039
|
+
return !withCounter && !withSelect ? navigationToBeRendered : jsxRuntime.exports.jsxs(Container$b, __assign({}, containerProps, {
|
|
29082
29040
|
children: [jsxRuntime.exports.jsxs(IndicatorsContainer, {
|
|
29083
29041
|
children: [withSelect && jsxRuntime.exports.jsx(Select, {
|
|
29084
29042
|
options: selectOptions,
|
|
@@ -29100,7 +29058,7 @@ var Pagination = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29100
29058
|
}), navigationToBeRendered]
|
|
29101
29059
|
}));
|
|
29102
29060
|
});
|
|
29103
|
-
var templateObject_1$
|
|
29061
|
+
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;
|
|
29104
29062
|
|
|
29105
29063
|
var Border$9 = ddsBaseTokens.border,
|
|
29106
29064
|
Spacing$i = ddsBaseTokens.spacing;
|
|
@@ -29122,9 +29080,9 @@ var dividerTokens = {
|
|
|
29122
29080
|
var DividerLine = styled$3.hr.withConfig({
|
|
29123
29081
|
displayName: "Divider__DividerLine",
|
|
29124
29082
|
componentId: "sc-ggdopz-0"
|
|
29125
|
-
})(templateObject_2$
|
|
29083
|
+
})(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), dividerTokens.base, function (_a) {
|
|
29126
29084
|
var color = _a.color;
|
|
29127
|
-
return color && Ae(templateObject_1$
|
|
29085
|
+
return color && Ae(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n border-color: ", ";\n "], ["\n border-color: ", ";\n "])), dividerColors[color]);
|
|
29128
29086
|
});
|
|
29129
29087
|
var Divider = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
29130
29088
|
var _b = _a.color,
|
|
@@ -29139,7 +29097,7 @@ var Divider = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29139
29097
|
ref: ref
|
|
29140
29098
|
}, lineProps));
|
|
29141
29099
|
});
|
|
29142
|
-
var templateObject_1$
|
|
29100
|
+
var templateObject_1$w, templateObject_2$n;
|
|
29143
29101
|
|
|
29144
29102
|
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";
|
|
29145
29103
|
|
|
@@ -29206,10 +29164,10 @@ var StyledList = styled$3.ul.withConfig({
|
|
|
29206
29164
|
componentId: "sc-1f1c7eb-0"
|
|
29207
29165
|
})(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) {
|
|
29208
29166
|
var typographyType = _a.typographyType;
|
|
29209
|
-
return typographyType && Ae(templateObject_1$
|
|
29167
|
+
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]);
|
|
29210
29168
|
}, function (_a) {
|
|
29211
29169
|
var listType = _a.listType;
|
|
29212
|
-
return listType === 'unordered' ? Ae(templateObject_2$
|
|
29170
|
+
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);
|
|
29213
29171
|
});
|
|
29214
29172
|
var List = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
29215
29173
|
var _b = _a.listType,
|
|
@@ -29232,12 +29190,12 @@ var List = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29232
29190
|
children: children
|
|
29233
29191
|
}));
|
|
29234
29192
|
});
|
|
29235
|
-
var templateObject_1$
|
|
29193
|
+
var templateObject_1$v, templateObject_2$m, templateObject_3$d, templateObject_4$8;
|
|
29236
29194
|
|
|
29237
29195
|
var StyledListItem = styled$3.li.withConfig({
|
|
29238
29196
|
displayName: "ListItem__StyledListItem",
|
|
29239
29197
|
componentId: "sc-17s9l0b-0"
|
|
29240
|
-
})(templateObject_1$
|
|
29198
|
+
})(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), listItemTokens.base);
|
|
29241
29199
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
29242
29200
|
var children = _a.children,
|
|
29243
29201
|
rest = __rest(_a, ["children"]);
|
|
@@ -29248,7 +29206,7 @@ var ListItem = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29248
29206
|
children: children
|
|
29249
29207
|
}));
|
|
29250
29208
|
});
|
|
29251
|
-
var templateObject_1$
|
|
29209
|
+
var templateObject_1$u;
|
|
29252
29210
|
|
|
29253
29211
|
var Spacing$f = ddsBaseTokens.spacing,
|
|
29254
29212
|
FontPackages$8 = ddsBaseTokens.fontPackages,
|
|
@@ -29279,9 +29237,9 @@ var descriptionListTermTokens = {
|
|
|
29279
29237
|
var DList = styled$3.dl.withConfig({
|
|
29280
29238
|
displayName: "DescriptionList__DList",
|
|
29281
29239
|
componentId: "sc-1ob73hm-0"
|
|
29282
|
-
})(templateObject_2$
|
|
29240
|
+
})(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) {
|
|
29283
29241
|
var appearance = _a.appearance;
|
|
29284
|
-
return appearance && Ae(templateObject_1$
|
|
29242
|
+
return appearance && Ae(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n dt {\n ", "\n }\n "], ["\n dt {\n ", "\n }\n "])), descriptionListTermTokens.appearance[appearance].base);
|
|
29285
29243
|
}, descriptionListTermTokens.unwrappedTopAndBottomSpace, descriptionListTermTokens.unwrappedTopAndBottomSpace, descriptionListTermTokens.unwrappedBetweenSpace);
|
|
29286
29244
|
var DescriptionList = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
29287
29245
|
var _b = _a.appearance,
|
|
@@ -29298,12 +29256,12 @@ var DescriptionList = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29298
29256
|
children: children
|
|
29299
29257
|
}));
|
|
29300
29258
|
});
|
|
29301
|
-
var templateObject_1$
|
|
29259
|
+
var templateObject_1$t, templateObject_2$l;
|
|
29302
29260
|
|
|
29303
29261
|
var DListTerm = styled$3.dt.withConfig({
|
|
29304
29262
|
displayName: "DescriptionListTerm__DListTerm",
|
|
29305
29263
|
componentId: "sc-10w0rzr-0"
|
|
29306
|
-
})(templateObject_1$
|
|
29264
|
+
})(templateObject_1$s || (templateObject_1$s = __makeTemplateObject([""], [""])));
|
|
29307
29265
|
var DescriptionListTerm = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
29308
29266
|
var children = _a.children,
|
|
29309
29267
|
rest = __rest(_a, ["children"]);
|
|
@@ -29316,7 +29274,7 @@ var DescriptionListTerm = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29316
29274
|
children: children
|
|
29317
29275
|
}));
|
|
29318
29276
|
});
|
|
29319
|
-
var templateObject_1$
|
|
29277
|
+
var templateObject_1$s;
|
|
29320
29278
|
|
|
29321
29279
|
var Spacing$e = ddsBaseTokens.spacing,
|
|
29322
29280
|
FontPackages$7 = ddsBaseTokens.fontPackages;
|
|
@@ -29339,11 +29297,11 @@ var descriptionListDescTokens = {
|
|
|
29339
29297
|
var DListDesc = styled$3.dd.withConfig({
|
|
29340
29298
|
displayName: "DescriptionListDesc__DListDesc",
|
|
29341
29299
|
componentId: "sc-1djcf0s-0"
|
|
29342
|
-
})(templateObject_1$
|
|
29300
|
+
})(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);
|
|
29343
29301
|
var StyledIconWrapper$1 = styled$3(IconWrapper$1).withConfig({
|
|
29344
29302
|
displayName: "DescriptionListDesc__StyledIconWrapper",
|
|
29345
29303
|
componentId: "sc-1djcf0s-1"
|
|
29346
|
-
})(templateObject_2$
|
|
29304
|
+
})(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), descriptionListDescTokens.icon.base);
|
|
29347
29305
|
var DescriptionListDesc = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
29348
29306
|
var children = _a.children,
|
|
29349
29307
|
Icon = _a.Icon,
|
|
@@ -29360,7 +29318,7 @@ var DescriptionListDesc = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29360
29318
|
}), " ", children]
|
|
29361
29319
|
}));
|
|
29362
29320
|
});
|
|
29363
|
-
var templateObject_1$
|
|
29321
|
+
var templateObject_1$r, templateObject_2$k;
|
|
29364
29322
|
|
|
29365
29323
|
var Spacing$d = ddsBaseTokens.spacing;
|
|
29366
29324
|
var base$5 = {
|
|
@@ -29373,9 +29331,9 @@ var descriptionListGroupTokens = {
|
|
|
29373
29331
|
var DListGroup = styled$3.div.withConfig({
|
|
29374
29332
|
displayName: "DescriptionListGroup__DListGroup",
|
|
29375
29333
|
componentId: "sc-jkdc0o-0"
|
|
29376
|
-
})(templateObject_2$
|
|
29334
|
+
})(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), descriptionListGroupTokens.base, function (_a) {
|
|
29377
29335
|
var margin = _a.margin;
|
|
29378
|
-
return margin && Ae(templateObject_1$
|
|
29336
|
+
return margin && Ae(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n margin: ", ";\n "], ["\n margin: ", ";\n "])), margin);
|
|
29379
29337
|
});
|
|
29380
29338
|
var DescriptionListGroup = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
29381
29339
|
var children = _a.children,
|
|
@@ -29390,7 +29348,7 @@ var DescriptionListGroup = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29390
29348
|
children: children
|
|
29391
29349
|
}));
|
|
29392
29350
|
});
|
|
29393
|
-
var templateObject_1$
|
|
29351
|
+
var templateObject_1$q, templateObject_2$j;
|
|
29394
29352
|
|
|
29395
29353
|
var Colors$8 = ddsBaseTokens.colors,
|
|
29396
29354
|
Border$8 = ddsBaseTokens.border,
|
|
@@ -29451,15 +29409,15 @@ var cardTokens = {
|
|
|
29451
29409
|
}
|
|
29452
29410
|
};
|
|
29453
29411
|
|
|
29454
|
-
var Container$
|
|
29412
|
+
var Container$a = styled$3.div.withConfig({
|
|
29455
29413
|
displayName: "Card__Container",
|
|
29456
29414
|
componentId: "sc-410ao9-0"
|
|
29457
29415
|
})(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) {
|
|
29458
29416
|
var color = _a.color;
|
|
29459
|
-
return color && Ae(templateObject_1$
|
|
29417
|
+
return color && Ae(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), cardTokens.colors[color].base);
|
|
29460
29418
|
}, function (_a) {
|
|
29461
29419
|
var cardType = _a.cardType;
|
|
29462
|
-
return cardType === 'navigation' ? Ae(templateObject_2$
|
|
29420
|
+
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 width: 100%;\n box-sizing: border-box;\n &:not(:first-of-type) {\n border-top: none;\n }\n "], ["\n width: 100%;\n box-sizing: border-box;\n &:not(:first-of-type) {\n border-top: none;\n }\n "]))) : '';
|
|
29463
29421
|
});
|
|
29464
29422
|
var Card = function Card(props) {
|
|
29465
29423
|
var _a;
|
|
@@ -29467,7 +29425,7 @@ var Card = function Card(props) {
|
|
|
29467
29425
|
var color = (_a = props.color) !== null && _a !== void 0 ? _a : 'filledLight';
|
|
29468
29426
|
|
|
29469
29427
|
if (props.cardType === 'navigation') {
|
|
29470
|
-
return jsxRuntime.exports.jsx(Container$
|
|
29428
|
+
return jsxRuntime.exports.jsx(Container$a, __assign({}, props, {
|
|
29471
29429
|
cardType: props.cardType,
|
|
29472
29430
|
color: color,
|
|
29473
29431
|
as: "a",
|
|
@@ -29477,7 +29435,7 @@ var Card = function Card(props) {
|
|
|
29477
29435
|
}));
|
|
29478
29436
|
}
|
|
29479
29437
|
|
|
29480
|
-
return jsxRuntime.exports.jsx(Container$
|
|
29438
|
+
return jsxRuntime.exports.jsx(Container$a, __assign({}, props, {
|
|
29481
29439
|
cardType: props.cardType,
|
|
29482
29440
|
color: color,
|
|
29483
29441
|
as: "div",
|
|
@@ -29486,12 +29444,12 @@ var Card = function Card(props) {
|
|
|
29486
29444
|
children: props.children
|
|
29487
29445
|
}));
|
|
29488
29446
|
};
|
|
29489
|
-
var templateObject_1$
|
|
29447
|
+
var templateObject_1$p, templateObject_2$i, templateObject_3$c, templateObject_4$7;
|
|
29490
29448
|
|
|
29491
|
-
var Wrapper$
|
|
29449
|
+
var Wrapper$4 = styled$3.div.withConfig({
|
|
29492
29450
|
displayName: "CardAccordion__Wrapper",
|
|
29493
29451
|
componentId: "sc-1ctxrby-0"
|
|
29494
|
-
})(templateObject_1$
|
|
29452
|
+
})(templateObject_1$o || (templateObject_1$o = __makeTemplateObject([""], [""])));
|
|
29495
29453
|
var nextUniqueId$a = 0;
|
|
29496
29454
|
var CardAccordion = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
29497
29455
|
var _b = _a.isExpanded,
|
|
@@ -29533,11 +29491,11 @@ var CardAccordion = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29533
29491
|
ref: ref
|
|
29534
29492
|
}, rest);
|
|
29535
29493
|
|
|
29536
|
-
return jsxRuntime.exports.jsx(Wrapper$
|
|
29494
|
+
return jsxRuntime.exports.jsx(Wrapper$4, __assign({}, props, {
|
|
29537
29495
|
children: Children
|
|
29538
29496
|
}));
|
|
29539
29497
|
});
|
|
29540
|
-
var templateObject_1$
|
|
29498
|
+
var templateObject_1$o;
|
|
29541
29499
|
|
|
29542
29500
|
var Spacing$c = ddsBaseTokens.spacing,
|
|
29543
29501
|
FontPackages$5 = ddsBaseTokens.fontPackages,
|
|
@@ -29579,15 +29537,15 @@ var cardAccordionHeaderTokens = {
|
|
|
29579
29537
|
var ContentWrapper = styled$3.div.withConfig({
|
|
29580
29538
|
displayName: "CardAccordionHeader__ContentWrapper",
|
|
29581
29539
|
componentId: "sc-1qs6bkj-0"
|
|
29582
|
-
})(templateObject_1$
|
|
29540
|
+
})(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n text-align: left;\n"], ["\n text-align: left;\n"])));
|
|
29583
29541
|
var HeaderContainer$2 = styled$3.div.withConfig({
|
|
29584
29542
|
displayName: "CardAccordionHeader__HeaderContainer",
|
|
29585
29543
|
componentId: "sc-1qs6bkj-1"
|
|
29586
|
-
})(templateObject_2$
|
|
29544
|
+
})(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);
|
|
29587
29545
|
var HeaderWrapper = styled$3.button.withConfig({
|
|
29588
29546
|
displayName: "CardAccordionHeader__HeaderWrapper",
|
|
29589
29547
|
componentId: "sc-1qs6bkj-2"
|
|
29590
|
-
})(templateObject_3$
|
|
29548
|
+
})(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n position: relative;\n cursor: pointer;\n transition: box-shadow 0.2s;\n ", "\n display: block;\n width: 100%;\n &:hover {\n ", "\n }\n\n &:focus-visible,\n &.focus-visible {\n outline: none;\n ", "\n }\n"], ["\n position: relative;\n cursor: pointer;\n transition: box-shadow 0.2s;\n ", "\n display: block;\n width: 100%;\n &:hover {\n ", "\n }\n\n &:focus-visible,\n &.focus-visible {\n outline: none;\n ", "\n }\n"])), removeButtonStyling, cardAccordionHeaderTokens.hover.base, cardAccordionHeaderTokens.focus.base);
|
|
29591
29549
|
var ChevronWrapper = styled$3.span.withConfig({
|
|
29592
29550
|
displayName: "CardAccordionHeader__ChevronWrapper",
|
|
29593
29551
|
componentId: "sc-1qs6bkj-3"
|
|
@@ -29628,7 +29586,7 @@ var CardAccordionHeader = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29628
29586
|
})
|
|
29629
29587
|
}));
|
|
29630
29588
|
});
|
|
29631
|
-
var templateObject_1$
|
|
29589
|
+
var templateObject_1$n, templateObject_2$h, templateObject_3$b, templateObject_4$6;
|
|
29632
29590
|
|
|
29633
29591
|
var Spacing$b = ddsBaseTokens.spacing,
|
|
29634
29592
|
FontPackages$4 = ddsBaseTokens.fontPackages;
|
|
@@ -29641,16 +29599,16 @@ var cardAccordionBodyTokens = {
|
|
|
29641
29599
|
base: base$2
|
|
29642
29600
|
};
|
|
29643
29601
|
|
|
29644
|
-
var expandingAnimation = Ae(templateObject_1$
|
|
29602
|
+
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"])));
|
|
29645
29603
|
var Body = styled$3.div.withConfig({
|
|
29646
29604
|
displayName: "CardAccordionBody__Body",
|
|
29647
29605
|
componentId: "sc-igsnpx-0"
|
|
29648
29606
|
})(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n ", "\n"])), expandingAnimation, cardAccordionBodyTokens.base, function (_a) {
|
|
29649
29607
|
var paddingTop = _a.paddingTop;
|
|
29650
|
-
return paddingTop && Ae(templateObject_2$
|
|
29608
|
+
return paddingTop && Ae(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n padding-top: ", ";\n "], ["\n padding-top: ", ";\n "])), paddingTop);
|
|
29651
29609
|
}, function (_a) {
|
|
29652
29610
|
var isExpanded = _a.isExpanded;
|
|
29653
|
-
return !isExpanded && Ae(templateObject_3$
|
|
29611
|
+
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 "])));
|
|
29654
29612
|
});
|
|
29655
29613
|
var BodyContainer = styled$3.div.withConfig({
|
|
29656
29614
|
displayName: "CardAccordionBody__BodyContainer",
|
|
@@ -29702,7 +29660,7 @@ var CardAccordionBody = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29702
29660
|
}))
|
|
29703
29661
|
}));
|
|
29704
29662
|
});
|
|
29705
|
-
var templateObject_1$
|
|
29663
|
+
var templateObject_1$m, templateObject_2$g, templateObject_3$a, templateObject_4$5, templateObject_5$3;
|
|
29706
29664
|
|
|
29707
29665
|
var MoreVertOutlined = {};
|
|
29708
29666
|
|
|
@@ -29761,7 +29719,7 @@ var linkHoverBase$2 = {
|
|
|
29761
29719
|
var linkActiveBase$1 = {
|
|
29762
29720
|
color: Colors$7.DdsColorInteractiveBase
|
|
29763
29721
|
};
|
|
29764
|
-
var wrapperBase$
|
|
29722
|
+
var wrapperBase$5 = {
|
|
29765
29723
|
backgroundColor: Colors$7.DdsColorNeutralsWhite
|
|
29766
29724
|
};
|
|
29767
29725
|
var applicationNameWrapperBase = {
|
|
@@ -29800,7 +29758,7 @@ var contextGroupBase = {
|
|
|
29800
29758
|
};
|
|
29801
29759
|
var internalHeaderTokens = {
|
|
29802
29760
|
wrapper: {
|
|
29803
|
-
base: wrapperBase$
|
|
29761
|
+
base: wrapperBase$5
|
|
29804
29762
|
},
|
|
29805
29763
|
applicationNameWrapper: {
|
|
29806
29764
|
base: applicationNameWrapperBase
|
|
@@ -31566,7 +31524,7 @@ var linkHoverBase$1 = {
|
|
|
31566
31524
|
var linkActiveBase = {
|
|
31567
31525
|
color: Colors$6.DdsColorInteractiveBase
|
|
31568
31526
|
};
|
|
31569
|
-
var wrapperBase$
|
|
31527
|
+
var wrapperBase$4 = {
|
|
31570
31528
|
border: "".concat(Border$5.BordersDdsBorderStyleLightStrokeWeight, " ").concat(Border$5.BordersDdsBorderStyleLightStroke, " solid "),
|
|
31571
31529
|
backgroundColor: Colors$6.DdsColorNeutralsWhite,
|
|
31572
31530
|
borderRadius: BorderRadius$3.RadiiDdsBorderRadius1Radius
|
|
@@ -31580,7 +31538,7 @@ var dividerBase = {
|
|
|
31580
31538
|
};
|
|
31581
31539
|
var overflowMenuTokens = {
|
|
31582
31540
|
container: {
|
|
31583
|
-
base: wrapperBase$
|
|
31541
|
+
base: wrapperBase$4
|
|
31584
31542
|
},
|
|
31585
31543
|
link: {
|
|
31586
31544
|
base: linkBase$1,
|
|
@@ -31603,15 +31561,15 @@ var overflowMenuTokens = {
|
|
|
31603
31561
|
var Span = styled$3.span.withConfig({
|
|
31604
31562
|
displayName: "OverflowMenuItem__Span",
|
|
31605
31563
|
componentId: "sc-1ka2asi-0"
|
|
31606
|
-
})(templateObject_1$
|
|
31564
|
+
})(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);
|
|
31607
31565
|
var Link$2 = styled$3.a.withConfig({
|
|
31608
31566
|
displayName: "OverflowMenuItem__Link",
|
|
31609
31567
|
componentId: "sc-1ka2asi-1"
|
|
31610
|
-
})(templateObject_2$
|
|
31568
|
+
})(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);
|
|
31611
31569
|
var StyledIconWrapper = styled$3(IconWrapper$1).withConfig({
|
|
31612
31570
|
displayName: "OverflowMenuItem__StyledIconWrapper",
|
|
31613
31571
|
componentId: "sc-1ka2asi-2"
|
|
31614
|
-
})(templateObject_3$
|
|
31572
|
+
})(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject([""], [""])));
|
|
31615
31573
|
var OverflowMenuItem = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
31616
31574
|
var title = _a.title,
|
|
31617
31575
|
href = _a.href,
|
|
@@ -31689,7 +31647,7 @@ var OverflowMenuItem = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31689
31647
|
children: [icon, title]
|
|
31690
31648
|
}));
|
|
31691
31649
|
});
|
|
31692
|
-
var templateObject_1$
|
|
31650
|
+
var templateObject_1$l, templateObject_2$f, templateObject_3$9;
|
|
31693
31651
|
|
|
31694
31652
|
var PersonOutlineOutlined = {};
|
|
31695
31653
|
|
|
@@ -31710,46 +31668,44 @@ var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("p
|
|
|
31710
31668
|
|
|
31711
31669
|
default_1 = PersonOutlineOutlined.default = _default;
|
|
31712
31670
|
|
|
31713
|
-
var Container$
|
|
31671
|
+
var Container$9 = styled$3.div.withConfig({
|
|
31714
31672
|
displayName: "OverflowMenu__Container",
|
|
31715
31673
|
componentId: "sc-kh744b-0"
|
|
31716
|
-
})(templateObject_1$
|
|
31717
|
-
var isOpen = _a.isOpen;
|
|
31718
|
-
return !isOpen ? 'hidden' : 'visible';
|
|
31719
|
-
}, function (_a) {
|
|
31674
|
+
})(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) {
|
|
31720
31675
|
var isOpen = _a.isOpen;
|
|
31721
|
-
return
|
|
31676
|
+
return visibilityTransition(isOpen);
|
|
31722
31677
|
}, overflowMenuTokens.container.base, scrollbarStyling, typographyTokens.selection.base);
|
|
31723
31678
|
var OverflowMenuList = styled$3.ul.withConfig({
|
|
31724
31679
|
displayName: "OverflowMenu__OverflowMenuList",
|
|
31725
31680
|
componentId: "sc-kh744b-1"
|
|
31726
|
-
})(templateObject_2$
|
|
31681
|
+
})(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"])));
|
|
31727
31682
|
var StyledDivider = styled$3(Divider).withConfig({
|
|
31728
31683
|
displayName: "OverflowMenu__StyledDivider",
|
|
31729
31684
|
componentId: "sc-kh744b-2"
|
|
31730
|
-
})(templateObject_3$
|
|
31685
|
+
})(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), overflowMenuTokens.divider.base);
|
|
31731
31686
|
var OverflowMenu = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
31732
31687
|
var _b, _c;
|
|
31733
31688
|
|
|
31734
31689
|
var anchorRef = _a.anchorRef,
|
|
31735
31690
|
onClose = _a.onClose,
|
|
31736
|
-
|
|
31737
|
-
|
|
31738
|
-
|
|
31691
|
+
_d = _a.isOpen,
|
|
31692
|
+
isOpen = _d === void 0 ? false : _d,
|
|
31693
|
+
_e = _a.placement,
|
|
31694
|
+
placement = _e === void 0 ? 'bottom-end' : _e,
|
|
31739
31695
|
items = _a.items,
|
|
31740
31696
|
navItems = _a.navItems,
|
|
31741
31697
|
userProps = _a.userProps,
|
|
31742
31698
|
id = _a.id,
|
|
31743
|
-
|
|
31744
|
-
offset =
|
|
31699
|
+
_f = _a.offset,
|
|
31700
|
+
offset = _f === void 0 ? overflowMenuTokens.offset : _f,
|
|
31745
31701
|
style = _a.style,
|
|
31746
31702
|
rest = __rest(_a, ["anchorRef", "onClose", "isOpen", "placement", "items", "navItems", "userProps", "id", "offset", "style"]);
|
|
31747
31703
|
|
|
31748
|
-
var
|
|
31749
|
-
reference =
|
|
31750
|
-
floating =
|
|
31751
|
-
refs =
|
|
31752
|
-
styles =
|
|
31704
|
+
var _g = useFloatPosition(null, placement, offset),
|
|
31705
|
+
reference = _g.reference,
|
|
31706
|
+
floating = _g.floating,
|
|
31707
|
+
refs = _g.refs,
|
|
31708
|
+
styles = _g.styles;
|
|
31753
31709
|
|
|
31754
31710
|
var combinedRef = useCombinedRef(ref, floating);
|
|
31755
31711
|
React.useEffect(function () {
|
|
@@ -31773,9 +31729,9 @@ var OverflowMenu = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31773
31729
|
var hasContextItems = !!items && items.length > 0;
|
|
31774
31730
|
var hasNavItems = !!navItems && navItems.length > 0;
|
|
31775
31731
|
|
|
31776
|
-
var
|
|
31777
|
-
username =
|
|
31778
|
-
userPropsRest = __rest(
|
|
31732
|
+
var _h = userProps || {},
|
|
31733
|
+
username = _h.name,
|
|
31734
|
+
userPropsRest = __rest(_h, ["name"]);
|
|
31779
31735
|
|
|
31780
31736
|
var hasStaticUser = username && userProps && !userProps.href && !userProps.onClick;
|
|
31781
31737
|
var hasInteractiveUser = username && userProps && (!!userProps.href || !!userProps.onClick);
|
|
@@ -31786,9 +31742,9 @@ var OverflowMenu = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31786
31742
|
hasContextItems && interactiveItems.push.apply(interactiveItems, items);
|
|
31787
31743
|
var hasInteractiveItems = interactiveItems.length > 0;
|
|
31788
31744
|
|
|
31789
|
-
var
|
|
31790
|
-
focus =
|
|
31791
|
-
setFocus =
|
|
31745
|
+
var _j = useRoveFocus(interactiveItems && interactiveItems.length, !isOpen),
|
|
31746
|
+
focus = _j[0],
|
|
31747
|
+
setFocus = _j[1];
|
|
31792
31748
|
|
|
31793
31749
|
var interactiveItemsList = hasInteractiveItems ? interactiveItems.map(function (item, index) {
|
|
31794
31750
|
return jsxRuntime.exports.jsx("li", {
|
|
@@ -31840,7 +31796,7 @@ var OverflowMenu = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31840
31796
|
role: 'menu'
|
|
31841
31797
|
});
|
|
31842
31798
|
|
|
31843
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
31799
|
+
return jsxRuntime.exports.jsxs(Container$9, __assign({}, containerProps, {
|
|
31844
31800
|
"aria-label": "bruk piltaster for \xE5 navigere"
|
|
31845
31801
|
}, {
|
|
31846
31802
|
children: [hasStaticUser && jsxRuntime.exports.jsx(OverflowMenuItem, {
|
|
@@ -31849,7 +31805,7 @@ var OverflowMenu = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31849
31805
|
}), interactiveContent()]
|
|
31850
31806
|
}));
|
|
31851
31807
|
});
|
|
31852
|
-
var templateObject_1$
|
|
31808
|
+
var templateObject_1$k, templateObject_2$e, templateObject_3$8;
|
|
31853
31809
|
|
|
31854
31810
|
var nextUniqueId$9 = 0;
|
|
31855
31811
|
var OverflowMenuGroup = function OverflowMenuGroup(_a) {
|
|
@@ -31906,16 +31862,16 @@ var OverflowMenuGroup = function OverflowMenuGroup(_a) {
|
|
|
31906
31862
|
});
|
|
31907
31863
|
};
|
|
31908
31864
|
|
|
31909
|
-
var Wrapper$
|
|
31865
|
+
var Wrapper$3 = styled$3.div.withConfig({
|
|
31910
31866
|
displayName: "InternalHeaderstyles__Wrapper",
|
|
31911
31867
|
componentId: "sc-91bnca-0"
|
|
31912
|
-
})(templateObject_1$
|
|
31868
|
+
})(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);
|
|
31913
31869
|
var BannerWrapper = styled$3.div.withConfig({
|
|
31914
31870
|
displayName: "InternalHeaderstyles__BannerWrapper",
|
|
31915
31871
|
componentId: "sc-91bnca-1"
|
|
31916
|
-
})(templateObject_3$
|
|
31872
|
+
})(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) {
|
|
31917
31873
|
var hasContextMenu = _a.hasContextMenu;
|
|
31918
|
-
return hasContextMenu && Ae(templateObject_2$
|
|
31874
|
+
return hasContextMenu && Ae(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n padding-right: ", ";\n "], ["\n padding-right: ", ";\n "])), internalHeaderTokens.banner.contextMenuSpacing);
|
|
31919
31875
|
});
|
|
31920
31876
|
var BannerLeftWrapper = styled$3.div.withConfig({
|
|
31921
31877
|
displayName: "InternalHeaderstyles__BannerLeftWrapper",
|
|
@@ -31948,14 +31904,14 @@ var StyledOverflowMenu = styled$3(OverflowMenu).withConfig({
|
|
|
31948
31904
|
displayName: "InternalHeaderstyles__StyledOverflowMenu",
|
|
31949
31905
|
componentId: "sc-91bnca-8"
|
|
31950
31906
|
})(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n max-height: calc(100vh - 110px);\n"], ["\n max-height: calc(100vh - 110px);\n"])));
|
|
31951
|
-
var templateObject_1$
|
|
31907
|
+
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;
|
|
31952
31908
|
|
|
31953
31909
|
var Link$1 = styled$3.a.withConfig({
|
|
31954
31910
|
displayName: "NavigationItem__Link",
|
|
31955
31911
|
componentId: "sc-1fua9kw-0"
|
|
31956
|
-
})(templateObject_2$
|
|
31912
|
+
})(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) {
|
|
31957
31913
|
var isCurrent = _a.isCurrent;
|
|
31958
|
-
return isCurrent && Ae(templateObject_1$
|
|
31914
|
+
return isCurrent && Ae(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), internalHeaderTokens.navigationLink.current.base);
|
|
31959
31915
|
});
|
|
31960
31916
|
var NavigationItem = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
31961
31917
|
var title = _a.title,
|
|
@@ -31973,12 +31929,12 @@ var NavigationItem = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31973
31929
|
children: title
|
|
31974
31930
|
}));
|
|
31975
31931
|
});
|
|
31976
|
-
var templateObject_1$
|
|
31932
|
+
var templateObject_1$i, templateObject_2$c;
|
|
31977
31933
|
|
|
31978
31934
|
var Li = styled$3.li.withConfig({
|
|
31979
31935
|
displayName: "InternalHeaderListItem__Li",
|
|
31980
31936
|
componentId: "sc-g1dd6e-0"
|
|
31981
|
-
})(templateObject_1$
|
|
31937
|
+
})(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n box-sizing: border-box;\n"], ["\n box-sizing: border-box;\n"])));
|
|
31982
31938
|
var InternalHeaderListItem = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
31983
31939
|
var children = _a.children,
|
|
31984
31940
|
rest = __rest(_a, ["children"]);
|
|
@@ -31991,7 +31947,7 @@ var InternalHeaderListItem = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31991
31947
|
children: children
|
|
31992
31948
|
}));
|
|
31993
31949
|
});
|
|
31994
|
-
var templateObject_1$
|
|
31950
|
+
var templateObject_1$h;
|
|
31995
31951
|
|
|
31996
31952
|
var InternalHeader = function InternalHeader(_a) {
|
|
31997
31953
|
var applicationName = _a.applicationName,
|
|
@@ -32052,7 +32008,7 @@ var InternalHeader = function InternalHeader(_a) {
|
|
|
32052
32008
|
})
|
|
32053
32009
|
})) : null;
|
|
32054
32010
|
var hasContextMenu = hasContextMenuElements || !!userProps || hasNavInContextMenu;
|
|
32055
|
-
return jsxRuntime.exports.jsxs(Wrapper$
|
|
32011
|
+
return jsxRuntime.exports.jsxs(Wrapper$3, __assign({}, rest, {
|
|
32056
32012
|
children: [jsxRuntime.exports.jsx(BannerWrapper, __assign({
|
|
32057
32013
|
hasContextMenu: hasContextMenu
|
|
32058
32014
|
}, {
|
|
@@ -32124,10 +32080,10 @@ var getWidth = function getWidth(type) {
|
|
|
32124
32080
|
return type === 'date' ? '205px' : type === 'datetime-local' ? '235px' : '320px';
|
|
32125
32081
|
};
|
|
32126
32082
|
|
|
32127
|
-
var StyledInput = styled$3(
|
|
32083
|
+
var StyledInput = styled$3(StatefulInput).withConfig({
|
|
32128
32084
|
displayName: "Datepicker__StyledInput",
|
|
32129
32085
|
componentId: "sc-1ijxhje-0"
|
|
32130
|
-
})(templateObject_1$
|
|
32086
|
+
})(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);
|
|
32131
32087
|
var nextUniqueId$8 = 0;
|
|
32132
32088
|
var Datepicker = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
32133
32089
|
var id = _a.id,
|
|
@@ -32148,13 +32104,14 @@ var Datepicker = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32148
32104
|
var uniqueId = React.useState(id !== null && id !== void 0 ? id : "datepickerInput-".concat(nextUniqueId$8++))[0];
|
|
32149
32105
|
var componentWidth = width ? width : getWidth(type);
|
|
32150
32106
|
var hasLabel = !!label;
|
|
32107
|
+
var labelPresence = hasLabel ? 'hasLabel' : 'noLabel';
|
|
32151
32108
|
var hasErrorMessage = !!errorMessage;
|
|
32152
32109
|
var errorMessageId = derivativeIdGenerator(uniqueId, 'errorMessage', errorMessage);
|
|
32153
32110
|
var tipId = derivativeIdGenerator(uniqueId, 'tip', tip);
|
|
32154
32111
|
|
|
32155
32112
|
var inputProps = __assign({
|
|
32156
32113
|
id: uniqueId,
|
|
32157
|
-
hasLabel:
|
|
32114
|
+
hasLabel: labelPresence,
|
|
32158
32115
|
hasErrorMessage: hasErrorMessage,
|
|
32159
32116
|
ref: ref,
|
|
32160
32117
|
readOnly: readOnly,
|
|
@@ -32176,8 +32133,8 @@ var Datepicker = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32176
32133
|
disabled: disabled
|
|
32177
32134
|
};
|
|
32178
32135
|
return jsxRuntime.exports.jsxs(OuterInputContainer, __assign({}, outerInputContainerProps, {
|
|
32179
|
-
children: [jsxRuntime.exports.jsxs(InputContainer
|
|
32180
|
-
children: [jsxRuntime.exports.jsx(StyledInput, __assign({}, inputProps)), hasLabel && jsxRuntime.exports.jsxs(
|
|
32136
|
+
children: [jsxRuntime.exports.jsxs(InputContainer, {
|
|
32137
|
+
children: [jsxRuntime.exports.jsx(StyledInput, __assign({}, inputProps)), hasLabel && jsxRuntime.exports.jsxs(Label$5, __assign({}, labelProps, {
|
|
32181
32138
|
typographyType: "supportingStyleLabel01",
|
|
32182
32139
|
forwardedAs: "label"
|
|
32183
32140
|
}, {
|
|
@@ -32194,7 +32151,7 @@ var Datepicker = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32194
32151
|
})]
|
|
32195
32152
|
}));
|
|
32196
32153
|
});
|
|
32197
|
-
var templateObject_1$
|
|
32154
|
+
var templateObject_1$g;
|
|
32198
32155
|
|
|
32199
32156
|
var Colors$5 = ddsBaseTokens.colors,
|
|
32200
32157
|
Spacing$7 = ddsBaseTokens.spacing,
|
|
@@ -32213,7 +32170,7 @@ var linkHoverBase = {
|
|
|
32213
32170
|
|
|
32214
32171
|
var linkFocusBase = __assign({}, focusVisibleOnDark);
|
|
32215
32172
|
|
|
32216
|
-
var wrapperBase$
|
|
32173
|
+
var wrapperBase$3 = {
|
|
32217
32174
|
backgroundColor: Colors$5.DdsColorPrimaryBase,
|
|
32218
32175
|
padding: Spacing$7.SizesDdsSpacingLocalX025
|
|
32219
32176
|
};
|
|
@@ -32232,21 +32189,21 @@ var skipToContentTokens = {
|
|
|
32232
32189
|
}
|
|
32233
32190
|
},
|
|
32234
32191
|
wrapper: {
|
|
32235
|
-
base: wrapperBase$
|
|
32192
|
+
base: wrapperBase$3
|
|
32236
32193
|
}
|
|
32237
32194
|
};
|
|
32238
32195
|
|
|
32239
|
-
var Wrapper$
|
|
32196
|
+
var Wrapper$2 = styled$3.div.withConfig({
|
|
32240
32197
|
displayName: "SkipToContent__Wrapper",
|
|
32241
32198
|
componentId: "sc-57o1qv-0"
|
|
32242
|
-
})(templateObject_1$
|
|
32199
|
+
})(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) {
|
|
32243
32200
|
var top = _a.top;
|
|
32244
32201
|
return top;
|
|
32245
32202
|
}, skipToContentTokens.wrapper.base);
|
|
32246
32203
|
var Link = styled$3.a.withConfig({
|
|
32247
32204
|
displayName: "SkipToContent__Link",
|
|
32248
32205
|
componentId: "sc-57o1qv-1"
|
|
32249
|
-
})(templateObject_2$
|
|
32206
|
+
})(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);
|
|
32250
32207
|
var SkipToContent = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
32251
32208
|
var _b = _a.text,
|
|
32252
32209
|
text = _b === void 0 ? 'Til hovedinnhold' : _b,
|
|
@@ -32261,7 +32218,7 @@ var SkipToContent = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32261
32218
|
className: className,
|
|
32262
32219
|
style: style
|
|
32263
32220
|
};
|
|
32264
|
-
return jsxRuntime.exports.jsx(Wrapper$
|
|
32221
|
+
return jsxRuntime.exports.jsx(Wrapper$2, __assign({}, wrapperProps, {
|
|
32265
32222
|
children: jsxRuntime.exports.jsx(Link, __assign({
|
|
32266
32223
|
ref: ref
|
|
32267
32224
|
}, rest, {
|
|
@@ -32269,7 +32226,7 @@ var SkipToContent = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32269
32226
|
}))
|
|
32270
32227
|
}));
|
|
32271
32228
|
});
|
|
32272
|
-
var templateObject_1$
|
|
32229
|
+
var templateObject_1$f, templateObject_2$b;
|
|
32273
32230
|
|
|
32274
32231
|
var Border$2 = ddsBaseTokens.border,
|
|
32275
32232
|
Colors$4 = ddsBaseTokens.colors,
|
|
@@ -32278,7 +32235,7 @@ var Border$2 = ddsBaseTokens.border,
|
|
|
32278
32235
|
OuterShadow$2 = ddsBaseTokens.outerShadow,
|
|
32279
32236
|
BorderRadius$2 = ddsBaseTokens.borderRadius;
|
|
32280
32237
|
|
|
32281
|
-
var wrapperBase$
|
|
32238
|
+
var wrapperBase$2 = __assign(__assign({
|
|
32282
32239
|
border: "".concat(Border$2.BordersDdsBorderStyleLightStroke, " solid ").concat(Border$2.BordersDdsBorderFocusBaseStrokeWeight),
|
|
32283
32240
|
backgroundColor: Colors$4.DdsColorNeutralsWhite
|
|
32284
32241
|
}, FontPackages.body_sans_02.base), {
|
|
@@ -32289,7 +32246,7 @@ var wrapperBase$1 = __assign(__assign({
|
|
|
32289
32246
|
|
|
32290
32247
|
var tooltipTokens = {
|
|
32291
32248
|
wrapper: {
|
|
32292
|
-
base: wrapperBase$
|
|
32249
|
+
base: wrapperBase$2
|
|
32293
32250
|
},
|
|
32294
32251
|
svgArrow: {
|
|
32295
32252
|
border: {
|
|
@@ -32304,26 +32261,23 @@ var tooltipTokens = {
|
|
|
32304
32261
|
var SvgArrow = styled$3.svg.withConfig({
|
|
32305
32262
|
displayName: "Tooltipstyles__SvgArrow",
|
|
32306
32263
|
componentId: "sc-1cna5tc-0"
|
|
32307
|
-
})(templateObject_1$
|
|
32264
|
+
})(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n width: 36px;\n height: 9px;\n"], ["\n width: 36px;\n height: 9px;\n"])));
|
|
32308
32265
|
var ArrowWrapper = styled$3.div.withConfig({
|
|
32309
32266
|
displayName: "Tooltipstyles__ArrowWrapper",
|
|
32310
32267
|
componentId: "sc-1cna5tc-1"
|
|
32311
|
-
})(templateObject_2$
|
|
32312
|
-
var Container$
|
|
32268
|
+
})(templateObject_2$a || (templateObject_2$a = __makeTemplateObject([""], [""])));
|
|
32269
|
+
var Container$8 = styled$3.div.withConfig({
|
|
32313
32270
|
displayName: "Tooltipstyles__Container",
|
|
32314
32271
|
componentId: "sc-1cna5tc-2"
|
|
32315
|
-
})(templateObject_3$
|
|
32272
|
+
})(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n width: fit-content;\n"], ["\n width: fit-content;\n"])));
|
|
32316
32273
|
var TooltipWrapper = styled$3.div.withConfig({
|
|
32317
32274
|
displayName: "Tooltipstyles__TooltipWrapper",
|
|
32318
32275
|
componentId: "sc-1cna5tc-3"
|
|
32319
|
-
})(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n &::selection {\n ", "\n }\n
|
|
32320
|
-
var open = _a.open;
|
|
32321
|
-
return open ? 'visible' : 'hidden';
|
|
32322
|
-
}, function (_a) {
|
|
32276
|
+
})(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n &::selection {\n ", "\n }\n ", "\n width: fit-content;\n position: absolute;\n z-index: 20;\n text-align: center;\n ", "\n"], ["\n &::selection {\n ", "\n }\n ", "\n width: fit-content;\n position: absolute;\n z-index: 20;\n text-align: center;\n ", "\n"])), typographyTokens.selection.base, function (_a) {
|
|
32323
32277
|
var open = _a.open;
|
|
32324
|
-
return open
|
|
32278
|
+
return visibilityTransition(open);
|
|
32325
32279
|
}, tooltipTokens.wrapper.base);
|
|
32326
|
-
var templateObject_1$
|
|
32280
|
+
var templateObject_1$e, templateObject_2$a, templateObject_3$6, templateObject_4$3;
|
|
32327
32281
|
|
|
32328
32282
|
var nextUniqueId$7 = 0;
|
|
32329
32283
|
var Tooltip = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
@@ -32408,7 +32362,7 @@ var Tooltip = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32408
32362
|
ref: setArrowElement,
|
|
32409
32363
|
style: styles.arrow
|
|
32410
32364
|
};
|
|
32411
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
32365
|
+
return jsxRuntime.exports.jsxs(Container$8, __assign({}, containerProps, {
|
|
32412
32366
|
children: [anchorElement, jsxRuntime.exports.jsxs(TooltipWrapper, __assign({}, wrapperProps, {
|
|
32413
32367
|
children: [text, jsxRuntime.exports.jsx(ArrowWrapper, __assign({}, arrowWrapperProps, {
|
|
32414
32368
|
children: jsxRuntime.exports.jsxs(SvgArrow, {
|
|
@@ -32470,18 +32424,18 @@ var modalTokens = {
|
|
|
32470
32424
|
}
|
|
32471
32425
|
};
|
|
32472
32426
|
|
|
32473
|
-
var Container$
|
|
32427
|
+
var Container$7 = styled$3.div.withConfig({
|
|
32474
32428
|
displayName: "Modal__Container",
|
|
32475
32429
|
componentId: "sc-12c14zx-0"
|
|
32476
|
-
})(templateObject_1$
|
|
32430
|
+
})(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);
|
|
32477
32431
|
var ContentContainer$2 = styled$3.div.withConfig({
|
|
32478
32432
|
displayName: "Modal__ContentContainer",
|
|
32479
32433
|
componentId: "sc-12c14zx-1"
|
|
32480
|
-
})(templateObject_2$
|
|
32434
|
+
})(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n display: grid;\n ", "\n"], ["\n display: grid;\n ", "\n"])), modalTokens.contentContainer.base);
|
|
32481
32435
|
var HeaderContainer$1 = styled$3.div.withConfig({
|
|
32482
32436
|
displayName: "Modal__HeaderContainer",
|
|
32483
32437
|
componentId: "sc-12c14zx-2"
|
|
32484
|
-
})(templateObject_3$
|
|
32438
|
+
})(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject([""], [""])));
|
|
32485
32439
|
var StyledButton$2 = styled$3(Button$1).withConfig({
|
|
32486
32440
|
displayName: "Modal__StyledButton",
|
|
32487
32441
|
componentId: "sc-12c14zx-3"
|
|
@@ -32546,7 +32500,7 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32546
32500
|
id: headerId
|
|
32547
32501
|
};
|
|
32548
32502
|
return isOpen || hasTransitionedIn ? /*#__PURE__*/ReactDOM.createPortal(jsxRuntime.exports.jsx(Backdrop, __assign({}, backdropProps, {
|
|
32549
|
-
children: jsxRuntime.exports.jsxs(Container$
|
|
32503
|
+
children: jsxRuntime.exports.jsxs(Container$7, __assign({}, containerProps, {
|
|
32550
32504
|
children: [jsxRuntime.exports.jsxs(ContentContainer$2, {
|
|
32551
32505
|
children: [header && jsxRuntime.exports.jsx(HeaderContainer$1, __assign({}, headerContainerProps, {
|
|
32552
32506
|
children: typeof header === 'string' ? jsxRuntime.exports.jsx(Typography, __assign({
|
|
@@ -32566,14 +32520,14 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32566
32520
|
}))
|
|
32567
32521
|
})), parentElement) : null;
|
|
32568
32522
|
});
|
|
32569
|
-
var templateObject_1$
|
|
32523
|
+
var templateObject_1$d, templateObject_2$9, templateObject_3$5, templateObject_4$2;
|
|
32570
32524
|
|
|
32571
|
-
var Container$
|
|
32525
|
+
var Container$6 = styled$3.div.withConfig({
|
|
32572
32526
|
displayName: "ModalBody__Container",
|
|
32573
32527
|
componentId: "sc-134o0zg-0"
|
|
32574
|
-
})(templateObject_2$
|
|
32528
|
+
})(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n ", "\n transition: ", ";\n ", "\n"], ["\n ", "\n transition: ", ";\n ", "\n"])), scrollbarStyling, focusVisibleTransitionValue, function (_a) {
|
|
32575
32529
|
var scrollable = _a.scrollable;
|
|
32576
|
-
return scrollable && Ae(templateObject_1$
|
|
32530
|
+
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);
|
|
32577
32531
|
});
|
|
32578
32532
|
var ModalBody = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
32579
32533
|
var children = _a.children,
|
|
@@ -32586,16 +32540,16 @@ var ModalBody = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32586
32540
|
scrollable: scrollable
|
|
32587
32541
|
}, rest);
|
|
32588
32542
|
|
|
32589
|
-
return jsxRuntime.exports.jsx(Container$
|
|
32543
|
+
return jsxRuntime.exports.jsx(Container$6, __assign({}, containerProps, {
|
|
32590
32544
|
children: children
|
|
32591
32545
|
}));
|
|
32592
32546
|
});
|
|
32593
|
-
var templateObject_1$
|
|
32547
|
+
var templateObject_1$c, templateObject_2$8;
|
|
32594
32548
|
|
|
32595
|
-
var Container$
|
|
32549
|
+
var Container$5 = styled$3.div.withConfig({
|
|
32596
32550
|
displayName: "ModalActions__Container",
|
|
32597
32551
|
componentId: "sc-ehph9l-0"
|
|
32598
|
-
})(templateObject_1$
|
|
32552
|
+
})(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);
|
|
32599
32553
|
var ModalActions = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
32600
32554
|
var children = _a.children,
|
|
32601
32555
|
rest = __rest(_a, ["children"]);
|
|
@@ -32604,14 +32558,14 @@ var ModalActions = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32604
32558
|
ref: ref
|
|
32605
32559
|
}, rest);
|
|
32606
32560
|
|
|
32607
|
-
return jsxRuntime.exports.jsx(Container$
|
|
32561
|
+
return jsxRuntime.exports.jsx(Container$5, __assign({}, containerProps, {
|
|
32608
32562
|
children: children
|
|
32609
32563
|
}));
|
|
32610
32564
|
});
|
|
32611
|
-
var templateObject_1$
|
|
32565
|
+
var templateObject_1$b;
|
|
32612
32566
|
|
|
32613
32567
|
var Spacing$4 = ddsBaseTokens.spacing;
|
|
32614
|
-
var containerBase$
|
|
32568
|
+
var containerBase$2 = {
|
|
32615
32569
|
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")
|
|
32616
32570
|
};
|
|
32617
32571
|
var contentContainerBase = {
|
|
@@ -32626,7 +32580,7 @@ var containerSmall = {
|
|
|
32626
32580
|
};
|
|
32627
32581
|
var drawerTokens = {
|
|
32628
32582
|
container: {
|
|
32629
|
-
base: containerBase$
|
|
32583
|
+
base: containerBase$2,
|
|
32630
32584
|
size: {
|
|
32631
32585
|
large: {
|
|
32632
32586
|
base: containerLarge
|
|
@@ -32641,19 +32595,19 @@ var drawerTokens = {
|
|
|
32641
32595
|
}
|
|
32642
32596
|
};
|
|
32643
32597
|
|
|
32644
|
-
var Container$
|
|
32598
|
+
var Container$4 = styled$3(Paper).withConfig({
|
|
32645
32599
|
displayName: "Drawer__Container",
|
|
32646
32600
|
componentId: "sc-i9luw3-0"
|
|
32647
|
-
})(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: 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: 0.5s;\n ", "\n &:focus-visible, &.focus-visible {\n ", "\n }\n"])), function (_a) {
|
|
32601
|
+
})(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) {
|
|
32648
32602
|
var size = _a.size;
|
|
32649
|
-
return Ae(templateObject_1$
|
|
32603
|
+
return Ae(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), drawerTokens.container.size[size].base);
|
|
32650
32604
|
}, function (_a) {
|
|
32651
32605
|
var widthProps = _a.widthProps;
|
|
32652
|
-
return widthProps && Ae(templateObject_2$
|
|
32606
|
+
return widthProps && Ae(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), widthProps);
|
|
32653
32607
|
}, function (_a) {
|
|
32654
32608
|
var placement = _a.placement,
|
|
32655
32609
|
isOpen = _a.isOpen;
|
|
32656
|
-
return placement === 'left' ? Ae(templateObject_3$
|
|
32610
|
+
return placement === 'left' ? Ae(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n left: 0;\n transform: ", ";\n "], ["\n left: 0;\n transform: ", ";\n "])), isOpen ? 'translate(0px)' : 'translateX(-100%)') : placement === 'right' ? Ae(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n right: 0;\n transform: ", ";\n "], ["\n right: 0;\n transform: ", ";\n "])), isOpen ? 'translate(0px)' : 'translateX(100%)') : '';
|
|
32657
32611
|
}, drawerTokens.container.base, focusVisible);
|
|
32658
32612
|
var ContentContainer$1 = styled$3.div.withConfig({
|
|
32659
32613
|
displayName: "Drawer__ContentContainer",
|
|
@@ -32718,7 +32672,7 @@ var Drawer = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32718
32672
|
var headerContainerProps = {
|
|
32719
32673
|
id: headerId
|
|
32720
32674
|
};
|
|
32721
|
-
return isOpen || hasTransitionedIn ? /*#__PURE__*/ReactDOM.createPortal(jsxRuntime.exports.jsxs(Container$
|
|
32675
|
+
return isOpen || hasTransitionedIn ? /*#__PURE__*/ReactDOM.createPortal(jsxRuntime.exports.jsxs(Container$4, __assign({}, containerProps, {
|
|
32722
32676
|
children: [jsxRuntime.exports.jsxs(ContentContainer$1, {
|
|
32723
32677
|
children: [hasHeader && jsxRuntime.exports.jsx(HeaderContainer, __assign({}, headerContainerProps, {
|
|
32724
32678
|
children: typeof header === 'string' ? jsxRuntime.exports.jsx(Typography, __assign({
|
|
@@ -32738,7 +32692,7 @@ var Drawer = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32738
32692
|
})]
|
|
32739
32693
|
})), parentElement) : null;
|
|
32740
32694
|
});
|
|
32741
|
-
var templateObject_1$
|
|
32695
|
+
var templateObject_1$a, templateObject_2$7, templateObject_3$4, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7, templateObject_8;
|
|
32742
32696
|
|
|
32743
32697
|
var nextUniqueId$4 = 0;
|
|
32744
32698
|
var DrawerGroup = function DrawerGroup(_a) {
|
|
@@ -32796,7 +32750,7 @@ var Colors$2 = ddsBaseTokens.colors,
|
|
|
32796
32750
|
Spacing$3 = ddsBaseTokens.spacing,
|
|
32797
32751
|
OuterShadow = ddsBaseTokens.outerShadow,
|
|
32798
32752
|
Border$1 = ddsBaseTokens.border;
|
|
32799
|
-
var wrapperBase = {
|
|
32753
|
+
var wrapperBase$1 = {
|
|
32800
32754
|
backgroundColor: Colors$2.DdsColorNeutralsWhite,
|
|
32801
32755
|
borderRadius: BorderRadius.RadiiDdsBorderRadius1Radius,
|
|
32802
32756
|
padding: "".concat(Spacing$3.SizesDdsSpacingLocalX075, " ").concat(Spacing$3.SizesDdsSpacingLocalX1, " ").concat(Spacing$3.SizesDdsSpacingLocalX15, " ").concat(Spacing$3.SizesDdsSpacingLocalX1),
|
|
@@ -32813,7 +32767,7 @@ var titleBase = {
|
|
|
32813
32767
|
};
|
|
32814
32768
|
var popoverTokens = {
|
|
32815
32769
|
wrapper: {
|
|
32816
|
-
base: wrapperBase
|
|
32770
|
+
base: wrapperBase$1
|
|
32817
32771
|
},
|
|
32818
32772
|
button: {
|
|
32819
32773
|
base: buttonBase
|
|
@@ -32827,23 +32781,20 @@ var popoverTokens = {
|
|
|
32827
32781
|
};
|
|
32828
32782
|
|
|
32829
32783
|
var Spacing$2 = ddsBaseTokens.spacing;
|
|
32830
|
-
var Wrapper = styled$3.div.withConfig({
|
|
32784
|
+
var Wrapper$1 = styled$3.div.withConfig({
|
|
32831
32785
|
displayName: "Popover__Wrapper",
|
|
32832
32786
|
componentId: "sc-1fecd7e-0"
|
|
32833
|
-
})(templateObject_2$
|
|
32834
|
-
var isOpen = _a.isOpen;
|
|
32835
|
-
return isOpen ? 'visible' : 'hidden';
|
|
32836
|
-
}, function (_a) {
|
|
32787
|
+
})(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) {
|
|
32837
32788
|
var isOpen = _a.isOpen;
|
|
32838
|
-
return isOpen
|
|
32789
|
+
return visibilityTransition(isOpen);
|
|
32839
32790
|
}, popoverTokens.wrapper.base, function (_a) {
|
|
32840
32791
|
var sizeProps = _a.sizeProps;
|
|
32841
|
-
return sizeProps && Ae(templateObject_1$
|
|
32792
|
+
return sizeProps && Ae(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), sizeProps);
|
|
32842
32793
|
});
|
|
32843
32794
|
var TitleContainer = styled$3.div.withConfig({
|
|
32844
32795
|
displayName: "Popover__TitleContainer",
|
|
32845
32796
|
componentId: "sc-1fecd7e-1"
|
|
32846
|
-
})(templateObject_3$
|
|
32797
|
+
})(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), popoverTokens.title.base);
|
|
32847
32798
|
var ContentContainer = styled$3.div.withConfig({
|
|
32848
32799
|
displayName: "Popover__ContentContainer",
|
|
32849
32800
|
componentId: "sc-1fecd7e-2"
|
|
@@ -32894,7 +32845,7 @@ var Popover = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32894
32845
|
role: 'dialog'
|
|
32895
32846
|
});
|
|
32896
32847
|
|
|
32897
|
-
return jsxRuntime.exports.jsxs(Wrapper, __assign({}, wrapperProps, {
|
|
32848
|
+
return jsxRuntime.exports.jsxs(Wrapper$1, __assign({}, wrapperProps, {
|
|
32898
32849
|
children: [title && jsxRuntime.exports.jsx(TitleContainer, {
|
|
32899
32850
|
children: typeof title === 'string' ? jsxRuntime.exports.jsx(Typography, __assign({
|
|
32900
32851
|
typographyType: "headingSans02"
|
|
@@ -32917,7 +32868,7 @@ var Popover = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32917
32868
|
})]
|
|
32918
32869
|
}));
|
|
32919
32870
|
});
|
|
32920
|
-
var templateObject_1$
|
|
32871
|
+
var templateObject_1$9, templateObject_2$6, templateObject_3$3, templateObject_4, templateObject_5, templateObject_6;
|
|
32921
32872
|
|
|
32922
32873
|
var nextUniqueId$3 = 0;
|
|
32923
32874
|
var PopoverGroup = function PopoverGroup(_a) {
|
|
@@ -33014,12 +32965,12 @@ var checkedHoverBase = __assign(__assign({}, checkboxTokens.checkbox.checked.hov
|
|
|
33014
32965
|
|
|
33015
32966
|
var focusBase = __assign({}, focusVisible);
|
|
33016
32967
|
|
|
33017
|
-
var groupBase = {
|
|
32968
|
+
var groupBase$1 = {
|
|
33018
32969
|
display: 'flex',
|
|
33019
32970
|
gap: Spacing$1.SizesDdsSpacingLocalX075,
|
|
33020
32971
|
flexWrap: 'wrap'
|
|
33021
32972
|
};
|
|
33022
|
-
var containerBase = {
|
|
32973
|
+
var containerBase$1 = {
|
|
33023
32974
|
display: 'flex',
|
|
33024
32975
|
flexDirection: 'column',
|
|
33025
32976
|
gap: Spacing$1.SizesDdsSpacingLocalX05
|
|
@@ -33039,25 +32990,25 @@ var toggleButtonTokens = {
|
|
|
33039
32990
|
}
|
|
33040
32991
|
},
|
|
33041
32992
|
group: {
|
|
33042
|
-
base: groupBase
|
|
32993
|
+
base: groupBase$1
|
|
33043
32994
|
},
|
|
33044
32995
|
container: {
|
|
33045
|
-
base: containerBase
|
|
32996
|
+
base: containerBase$1
|
|
33046
32997
|
}
|
|
33047
32998
|
};
|
|
33048
32999
|
|
|
33049
33000
|
var Input = styled$3.input.withConfig({
|
|
33050
33001
|
displayName: "ToggleButton__Input",
|
|
33051
33002
|
componentId: "sc-ya01sa-0"
|
|
33052
|
-
})(templateObject_1$
|
|
33003
|
+
})(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), hideInput);
|
|
33053
33004
|
var Content = styled$3.span.withConfig({
|
|
33054
33005
|
displayName: "ToggleButton__Content",
|
|
33055
33006
|
componentId: "sc-ya01sa-1"
|
|
33056
|
-
})(templateObject_2$
|
|
33057
|
-
var Container$
|
|
33007
|
+
})(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\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 box-sizing: border-box;\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);
|
|
33008
|
+
var Container$3 = styled$3.label.withConfig({
|
|
33058
33009
|
displayName: "ToggleButton__Container",
|
|
33059
33010
|
componentId: "sc-ya01sa-2"
|
|
33060
|
-
})(templateObject_3$
|
|
33011
|
+
})(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);
|
|
33061
33012
|
var nextUniqueId$2 = 0;
|
|
33062
33013
|
var ToggleButton = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
33063
33014
|
var id = _a.id,
|
|
@@ -33076,7 +33027,7 @@ var ToggleButton = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
33076
33027
|
var containerProps = {
|
|
33077
33028
|
htmlFor: uniqueId
|
|
33078
33029
|
};
|
|
33079
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
33030
|
+
return jsxRuntime.exports.jsxs(Container$3, __assign({}, containerProps, {
|
|
33080
33031
|
children: [jsxRuntime.exports.jsx(Input, __assign({}, inputProps)), jsxRuntime.exports.jsxs(Content, {
|
|
33081
33032
|
children: [Icon && jsxRuntime.exports.jsx(IconWrapper$1, {
|
|
33082
33033
|
Icon: Icon,
|
|
@@ -33085,19 +33036,19 @@ var ToggleButton = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
33085
33036
|
})]
|
|
33086
33037
|
}));
|
|
33087
33038
|
});
|
|
33088
|
-
var templateObject_1$
|
|
33039
|
+
var templateObject_1$8, templateObject_2$5, templateObject_3$2;
|
|
33089
33040
|
|
|
33090
|
-
var Group = styled$3.div.withConfig({
|
|
33041
|
+
var Group$1 = styled$3.div.withConfig({
|
|
33091
33042
|
displayName: "ToggleButtonGroup__Group",
|
|
33092
33043
|
componentId: "sc-14ijdag-0"
|
|
33093
|
-
})(templateObject_2$
|
|
33044
|
+
})(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), toggleButtonTokens.group.base, function (_a) {
|
|
33094
33045
|
var direction = _a.direction;
|
|
33095
|
-
return Ae(templateObject_1$
|
|
33046
|
+
return Ae(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n flex-direction: ", ";\n "], ["\n flex-direction: ", ";\n "])), direction);
|
|
33096
33047
|
});
|
|
33097
|
-
var Container$
|
|
33048
|
+
var Container$2 = styled$3.div.withConfig({
|
|
33098
33049
|
displayName: "ToggleButtonGroup__Container",
|
|
33099
33050
|
componentId: "sc-14ijdag-1"
|
|
33100
|
-
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), toggleButtonTokens.container.base);
|
|
33051
|
+
})(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), toggleButtonTokens.container.base);
|
|
33101
33052
|
var nextUniqueId$1 = 0;
|
|
33102
33053
|
var ToggleButtonGroup = function ToggleButtonGroup(_a) {
|
|
33103
33054
|
var children = _a.children,
|
|
@@ -33117,19 +33068,19 @@ var ToggleButtonGroup = function ToggleButtonGroup(_a) {
|
|
|
33117
33068
|
'aria-labelledby': label ? uniqueLabelId : undefined
|
|
33118
33069
|
}, props);
|
|
33119
33070
|
|
|
33120
|
-
return jsxRuntime.exports.jsxs(Container$
|
|
33071
|
+
return jsxRuntime.exports.jsxs(Container$2, __assign({}, containerProps, {
|
|
33121
33072
|
children: [!!label && jsxRuntime.exports.jsx(Typography, __assign({
|
|
33122
33073
|
as: "span",
|
|
33123
33074
|
typographyType: "supportingStyleLabel01",
|
|
33124
33075
|
id: uniqueLabelId
|
|
33125
33076
|
}, {
|
|
33126
33077
|
children: label
|
|
33127
|
-
})), jsxRuntime.exports.jsx(Group, __assign({}, groupProps, {
|
|
33078
|
+
})), jsxRuntime.exports.jsx(Group$1, __assign({}, groupProps, {
|
|
33128
33079
|
children: children
|
|
33129
33080
|
}))]
|
|
33130
33081
|
}));
|
|
33131
33082
|
};
|
|
33132
|
-
var templateObject_1$
|
|
33083
|
+
var templateObject_1$7, templateObject_2$4, templateObject_3$1;
|
|
33133
33084
|
|
|
33134
33085
|
var TabsContext = /*#__PURE__*/React.createContext({
|
|
33135
33086
|
activeTab: 0,
|
|
@@ -33150,10 +33101,10 @@ var useTabsContext = function useTabsContext() {
|
|
|
33150
33101
|
return React.useContext(TabsContext);
|
|
33151
33102
|
};
|
|
33152
33103
|
|
|
33153
|
-
var Container = styled$3.div.withConfig({
|
|
33104
|
+
var Container$1 = styled$3.div.withConfig({
|
|
33154
33105
|
displayName: "Tabs__Container",
|
|
33155
33106
|
componentId: "sc-7ta5g2-0"
|
|
33156
|
-
})(templateObject_1$
|
|
33107
|
+
})(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject([""], [""])));
|
|
33157
33108
|
var nextUniqueId = 0;
|
|
33158
33109
|
var Tabs = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
33159
33110
|
var id = _a.id,
|
|
@@ -33202,10 +33153,10 @@ var Tabs = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
33202
33153
|
tabWidth: tabWidth
|
|
33203
33154
|
}
|
|
33204
33155
|
}, {
|
|
33205
|
-
children: jsxRuntime.exports.jsx(Container, __assign({}, containerProps))
|
|
33156
|
+
children: jsxRuntime.exports.jsx(Container$1, __assign({}, containerProps))
|
|
33206
33157
|
}));
|
|
33207
33158
|
});
|
|
33208
|
-
var templateObject_1$
|
|
33159
|
+
var templateObject_1$6;
|
|
33209
33160
|
|
|
33210
33161
|
var Border = ddsBaseTokens.border,
|
|
33211
33162
|
Spacing = ddsBaseTokens.spacing,
|
|
@@ -33262,6 +33213,9 @@ var tabFocusBase = __assign(__assign({}, focusVisible), {
|
|
|
33262
33213
|
var tabPanelBase = {
|
|
33263
33214
|
padding: Spacing.SizesDdsSpacingLocalX025
|
|
33264
33215
|
};
|
|
33216
|
+
|
|
33217
|
+
var tabPanelFocusVisibleBase = __assign({}, focusVisible);
|
|
33218
|
+
|
|
33265
33219
|
var tabsTokens = {
|
|
33266
33220
|
tabList: {
|
|
33267
33221
|
base: tabListBase,
|
|
@@ -33293,14 +33247,17 @@ var tabsTokens = {
|
|
|
33293
33247
|
}
|
|
33294
33248
|
},
|
|
33295
33249
|
panel: {
|
|
33296
|
-
base: tabPanelBase
|
|
33250
|
+
base: tabPanelBase,
|
|
33251
|
+
focusVisible: {
|
|
33252
|
+
base: tabPanelFocusVisibleBase
|
|
33253
|
+
}
|
|
33297
33254
|
}
|
|
33298
33255
|
};
|
|
33299
33256
|
|
|
33300
33257
|
var Button = styled$3.button.withConfig({
|
|
33301
33258
|
displayName: "Tab__Button",
|
|
33302
33259
|
componentId: "sc-1dd8soq-0"
|
|
33303
|
-
})(templateObject_2$
|
|
33260
|
+
})(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) {
|
|
33304
33261
|
var width = _a.width;
|
|
33305
33262
|
return width;
|
|
33306
33263
|
}, function (_a) {
|
|
@@ -33308,7 +33265,7 @@ var Button = styled$3.button.withConfig({
|
|
|
33308
33265
|
return tabsTokens.tab.direction[direction].base;
|
|
33309
33266
|
}, function (_a) {
|
|
33310
33267
|
var active = _a.active;
|
|
33311
|
-
return active && Ae(templateObject_1$
|
|
33268
|
+
return active && Ae(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), tabsTokens.tab.active.base);
|
|
33312
33269
|
}, tabsTokens.tab.focus.base, tabsTokens.tab.hover.base);
|
|
33313
33270
|
var Tab = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
33314
33271
|
var _b = _a.active,
|
|
@@ -33385,12 +33342,12 @@ var Tab = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
33385
33342
|
})]
|
|
33386
33343
|
}));
|
|
33387
33344
|
});
|
|
33388
|
-
var templateObject_1$
|
|
33345
|
+
var templateObject_1$5, templateObject_2$3;
|
|
33389
33346
|
|
|
33390
33347
|
var TabRow = styled$3.div.withConfig({
|
|
33391
33348
|
displayName: "TabList__TabRow",
|
|
33392
33349
|
componentId: "sc-1ldr0lz-0"
|
|
33393
|
-
})(templateObject_1$
|
|
33350
|
+
})(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);
|
|
33394
33351
|
var TabList = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
33395
33352
|
var children = _a.children,
|
|
33396
33353
|
id = _a.id,
|
|
@@ -33455,15 +33412,15 @@ var TabList = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
33455
33412
|
children: tabListChildren
|
|
33456
33413
|
}));
|
|
33457
33414
|
});
|
|
33458
|
-
var templateObject_1$
|
|
33415
|
+
var templateObject_1$4;
|
|
33459
33416
|
|
|
33460
33417
|
var Panel = styled$3.div.withConfig({
|
|
33461
33418
|
displayName: "TabPanel__Panel",
|
|
33462
33419
|
componentId: "sc-vkzivq-0"
|
|
33463
|
-
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n transition:
|
|
33420
|
+
})(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) {
|
|
33464
33421
|
var active = _a.active;
|
|
33465
|
-
return !active && Ae(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: none;\n "], ["\n display: none;\n "])));
|
|
33466
|
-
}, focusVisible);
|
|
33422
|
+
return !active && Ae(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n display: none;\n "], ["\n display: none;\n "])));
|
|
33423
|
+
}, tabsTokens.panel.focusVisible.base);
|
|
33467
33424
|
var TabPanel = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
33468
33425
|
var _b = _a.active,
|
|
33469
33426
|
active = _b === void 0 ? false : _b,
|
|
@@ -33481,7 +33438,7 @@ var TabPanel = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
33481
33438
|
children: children
|
|
33482
33439
|
}));
|
|
33483
33440
|
});
|
|
33484
|
-
var templateObject_1, templateObject_2;
|
|
33441
|
+
var templateObject_1$3, templateObject_2$2;
|
|
33485
33442
|
|
|
33486
33443
|
var TabPanels = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
33487
33444
|
var children = _a.children,
|
|
@@ -33509,6 +33466,197 @@ var TabPanels = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
33509
33466
|
}));
|
|
33510
33467
|
});
|
|
33511
33468
|
|
|
33469
|
+
var colors$1 = ddsBaseTokens.colors,
|
|
33470
|
+
borderRadius$1 = ddsBaseTokens.borderRadius,
|
|
33471
|
+
spacing$1 = ddsBaseTokens.spacing;
|
|
33472
|
+
var wrapperBase = {
|
|
33473
|
+
border: '1px solid',
|
|
33474
|
+
borderRadius: borderRadius$1.RadiiDdsBorderRadius1Radius,
|
|
33475
|
+
padding: "".concat(spacing$1.SizesDdsSpacingLocalX0125, " ").concat(spacing$1.SizesDdsSpacingLocalX025),
|
|
33476
|
+
maxWidth: '100%',
|
|
33477
|
+
display: 'inline-flex',
|
|
33478
|
+
alignItems: 'center'
|
|
33479
|
+
};
|
|
33480
|
+
var innerBase = {
|
|
33481
|
+
whiteSpace: 'nowrap',
|
|
33482
|
+
overflow: 'hidden',
|
|
33483
|
+
textOverflow: 'ellipsis'
|
|
33484
|
+
};
|
|
33485
|
+
var defaultBase = {
|
|
33486
|
+
backgroundColor: colors$1.DdsColorNeutralsGray1,
|
|
33487
|
+
borderColor: colors$1.DdsColorNeutralsGray3
|
|
33488
|
+
};
|
|
33489
|
+
|
|
33490
|
+
var successBase = __assign({}, localMessageTokens.container.success.base);
|
|
33491
|
+
|
|
33492
|
+
var warningBase = __assign({}, localMessageTokens.container.warning.base);
|
|
33493
|
+
|
|
33494
|
+
var dangerBase = __assign({}, localMessageTokens.container.danger.base);
|
|
33495
|
+
|
|
33496
|
+
var infoBase = __assign({}, localMessageTokens.container.info.base);
|
|
33497
|
+
|
|
33498
|
+
var tagTokens = {
|
|
33499
|
+
wrapper: {
|
|
33500
|
+
base: wrapperBase,
|
|
33501
|
+
type: {
|
|
33502
|
+
success: {
|
|
33503
|
+
base: successBase
|
|
33504
|
+
},
|
|
33505
|
+
warning: {
|
|
33506
|
+
base: warningBase
|
|
33507
|
+
},
|
|
33508
|
+
danger: {
|
|
33509
|
+
base: dangerBase
|
|
33510
|
+
},
|
|
33511
|
+
"default": {
|
|
33512
|
+
base: defaultBase
|
|
33513
|
+
},
|
|
33514
|
+
info: {
|
|
33515
|
+
base: infoBase
|
|
33516
|
+
}
|
|
33517
|
+
}
|
|
33518
|
+
},
|
|
33519
|
+
inner: {
|
|
33520
|
+
base: innerBase
|
|
33521
|
+
}
|
|
33522
|
+
};
|
|
33523
|
+
|
|
33524
|
+
var Wrapper = styled$3(Typography).withConfig({
|
|
33525
|
+
displayName: "Tag__Wrapper",
|
|
33526
|
+
componentId: "sc-rdxtch-0"
|
|
33527
|
+
})(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), tagTokens.wrapper.base, function (_a) {
|
|
33528
|
+
var purpose = _a.purpose;
|
|
33529
|
+
return Ae(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), tagTokens.wrapper.type[purpose].base);
|
|
33530
|
+
});
|
|
33531
|
+
var Inner = styled$3.span.withConfig({
|
|
33532
|
+
displayName: "Tag__Inner",
|
|
33533
|
+
componentId: "sc-rdxtch-1"
|
|
33534
|
+
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), tagTokens.inner.base);
|
|
33535
|
+
var Tag = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
33536
|
+
var text = _a.text,
|
|
33537
|
+
_b = _a.purpose,
|
|
33538
|
+
purpose = _b === void 0 ? 'default' : _b,
|
|
33539
|
+
rest = __rest(_a, ["text", "purpose"]);
|
|
33540
|
+
|
|
33541
|
+
return jsxRuntime.exports.jsx(Wrapper, __assign({
|
|
33542
|
+
forwardedAs: "span",
|
|
33543
|
+
typographyType: "bodySans01",
|
|
33544
|
+
ref: ref,
|
|
33545
|
+
purpose: purpose
|
|
33546
|
+
}, rest, {
|
|
33547
|
+
children: jsxRuntime.exports.jsx(Inner, {
|
|
33548
|
+
children: text
|
|
33549
|
+
})
|
|
33550
|
+
}));
|
|
33551
|
+
});
|
|
33552
|
+
var templateObject_1$2, templateObject_2$1, templateObject_3;
|
|
33553
|
+
|
|
33554
|
+
var colors = ddsBaseTokens.colors,
|
|
33555
|
+
spacing = ddsBaseTokens.spacing,
|
|
33556
|
+
borderRadius = ddsBaseTokens.borderRadius,
|
|
33557
|
+
fontPackages = ddsBaseTokens.fontPackages;
|
|
33558
|
+
var containerBase = {
|
|
33559
|
+
display: 'flex',
|
|
33560
|
+
alignItems: 'center',
|
|
33561
|
+
gap: spacing.SizesDdsSpacingLocalX025,
|
|
33562
|
+
padding: "".concat(spacing.SizesDdsSpacingLocalX0125, " ").concat(spacing.SizesDdsSpacingLocalX025),
|
|
33563
|
+
backgroundColor: colors.DdsColorNeutralsGray1,
|
|
33564
|
+
border: "1px solid ".concat(colors.DdsColorNeutralsGray3),
|
|
33565
|
+
borderRadius: borderRadius.RadiiDdsBorderRadius1Radius,
|
|
33566
|
+
color: colors.DdsColorNeutralsGray9,
|
|
33567
|
+
maxWidth: '100%'
|
|
33568
|
+
};
|
|
33569
|
+
|
|
33570
|
+
var textBase = __assign({
|
|
33571
|
+
whiteSpace: 'nowrap',
|
|
33572
|
+
overflow: 'hidden',
|
|
33573
|
+
textOverflow: 'ellipsis'
|
|
33574
|
+
}, fontPackages.body_sans_01.base);
|
|
33575
|
+
|
|
33576
|
+
var groupBase = {
|
|
33577
|
+
display: 'flex',
|
|
33578
|
+
gap: spacing.SizesDdsSpacingLocalX075
|
|
33579
|
+
};
|
|
33580
|
+
var chipTokens = {
|
|
33581
|
+
container: {
|
|
33582
|
+
base: containerBase
|
|
33583
|
+
},
|
|
33584
|
+
group: {
|
|
33585
|
+
base: groupBase
|
|
33586
|
+
},
|
|
33587
|
+
text: {
|
|
33588
|
+
base: textBase
|
|
33589
|
+
}
|
|
33590
|
+
};
|
|
33591
|
+
|
|
33592
|
+
var Container = styled$3.div.withConfig({
|
|
33593
|
+
displayName: "Chip__Container",
|
|
33594
|
+
componentId: "sc-1l242zs-0"
|
|
33595
|
+
})(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), chipTokens.container.base);
|
|
33596
|
+
var TextWrapper = styled$3.span.withConfig({
|
|
33597
|
+
displayName: "Chip__TextWrapper",
|
|
33598
|
+
componentId: "sc-1l242zs-1"
|
|
33599
|
+
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), chipTokens.text.base);
|
|
33600
|
+
var Chip = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
33601
|
+
var text = _a.text,
|
|
33602
|
+
onClose = _a.onClose,
|
|
33603
|
+
ariaLabel = _a["aria-label"],
|
|
33604
|
+
rest = __rest(_a, ["text", "onClose", 'aria-label']);
|
|
33605
|
+
|
|
33606
|
+
var _b = React.useState(true),
|
|
33607
|
+
isOpen = _b[0],
|
|
33608
|
+
setIsOpen = _b[1];
|
|
33609
|
+
|
|
33610
|
+
var onClick = function onClick() {
|
|
33611
|
+
setIsOpen(false);
|
|
33612
|
+
onClose && onClose();
|
|
33613
|
+
};
|
|
33614
|
+
|
|
33615
|
+
return isOpen ? jsxRuntime.exports.jsxs(Container, __assign({}, rest, {
|
|
33616
|
+
ref: ref
|
|
33617
|
+
}, {
|
|
33618
|
+
children: [jsxRuntime.exports.jsx(TextWrapper, {
|
|
33619
|
+
children: text
|
|
33620
|
+
}), jsxRuntime.exports.jsx(Button$1, {
|
|
33621
|
+
size: "tiny",
|
|
33622
|
+
Icon: default_1$h,
|
|
33623
|
+
appearance: "borderless",
|
|
33624
|
+
purpose: "secondary",
|
|
33625
|
+
onClick: onClick,
|
|
33626
|
+
"aria-label": ariaLabel || "Fjern ".concat(text ? "chip ".concat(text) : 'chip')
|
|
33627
|
+
})]
|
|
33628
|
+
})) : null;
|
|
33629
|
+
});
|
|
33630
|
+
var templateObject_1$1, templateObject_2;
|
|
33631
|
+
|
|
33632
|
+
var removeListStyling = {
|
|
33633
|
+
listStyle: 'none',
|
|
33634
|
+
padding: 0,
|
|
33635
|
+
margin: 0
|
|
33636
|
+
};
|
|
33637
|
+
|
|
33638
|
+
var Group = styled$3.ul.withConfig({
|
|
33639
|
+
displayName: "ChipGroup__Group",
|
|
33640
|
+
componentId: "sc-evmxhv-0"
|
|
33641
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), removeListStyling, chipTokens.group.base);
|
|
33642
|
+
var ChipGroup = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
33643
|
+
var children = _a.children,
|
|
33644
|
+
rest = __rest(_a, ["children"]);
|
|
33645
|
+
|
|
33646
|
+
var childrenArray = React.Children.toArray(children);
|
|
33647
|
+
var groupChildren = childrenArray.map(function (item, index) {
|
|
33648
|
+
return jsxRuntime.exports.jsx("li", {
|
|
33649
|
+
children: item
|
|
33650
|
+
}, "chip-".concat(index));
|
|
33651
|
+
});
|
|
33652
|
+
return jsxRuntime.exports.jsx(Group, __assign({}, rest, {
|
|
33653
|
+
ref: ref
|
|
33654
|
+
}, {
|
|
33655
|
+
children: groupChildren
|
|
33656
|
+
}));
|
|
33657
|
+
});
|
|
33658
|
+
var templateObject_1;
|
|
33659
|
+
|
|
33512
33660
|
exports.Body = Body$1;
|
|
33513
33661
|
exports.Breadcrumb = Breadcrumb;
|
|
33514
33662
|
exports.Breadcrumbs = Breadcrumbs;
|
|
@@ -33520,7 +33668,9 @@ exports.CardAccordionHeader = CardAccordionHeader;
|
|
|
33520
33668
|
exports.Cell = Cell;
|
|
33521
33669
|
exports.Checkbox = Checkbox;
|
|
33522
33670
|
exports.CheckboxGroup = CheckboxGroup;
|
|
33523
|
-
exports.
|
|
33671
|
+
exports.Chip = Chip;
|
|
33672
|
+
exports.ChipGroup = ChipGroup;
|
|
33673
|
+
exports.Container = Container$9;
|
|
33524
33674
|
exports.Datepicker = Datepicker;
|
|
33525
33675
|
exports.DescriptionList = DescriptionList;
|
|
33526
33676
|
exports.DescriptionListDesc = DescriptionListDesc;
|
|
@@ -33562,6 +33712,7 @@ exports.TabPanels = TabPanels;
|
|
|
33562
33712
|
exports.Table = Table;
|
|
33563
33713
|
exports.TableWrapper = TableWrapper;
|
|
33564
33714
|
exports.Tabs = Tabs;
|
|
33715
|
+
exports.Tag = Tag;
|
|
33565
33716
|
exports.TextInput = TextInput;
|
|
33566
33717
|
exports.ToggleButton = ToggleButton;
|
|
33567
33718
|
exports.ToggleButtonGroup = ToggleButtonGroup;
|