@norges-domstoler/dds-components 6.0.0 → 7.0.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/cjs/components/Card/Card.stories.d.ts +1 -0
- package/dist/cjs/components/Card/CardAccordion/CardAccordion.d.ts +4 -0
- package/dist/cjs/components/Checkbox/Checkbox.stories.d.ts +1 -0
- package/dist/cjs/components/Checkbox/CheckboxGroup.d.ts +1 -1
- package/dist/cjs/components/Checkbox/CheckboxGroup.stories.d.ts +6 -1
- package/dist/cjs/components/Checkbox/CheckboxGroup.tokens.d.ts +7 -13
- package/dist/cjs/components/Datepicker/Datepicker.stories.d.ts +1 -0
- package/dist/cjs/components/Datepicker/Datepicker.tokens.d.ts +21 -3
- package/dist/cjs/components/InputMessage/InputMessage.tokens.d.ts +11 -9
- package/dist/cjs/components/List/List.tokens.d.ts +0 -4
- package/dist/cjs/components/RadioButton/RadioButtonGroup.d.ts +5 -5
- package/dist/cjs/components/ScrollableContainer/scrollbarStyling.d.ts +1 -1
- package/dist/cjs/components/Search/Search.tokens.d.ts +51 -21
- package/dist/cjs/components/Select/CustomSelect.stories.d.ts +2 -2
- package/dist/cjs/components/Select/MultiSelect.stories.d.ts +2 -1
- package/dist/cjs/components/Select/Select.d.ts +9 -3
- package/dist/cjs/components/Select/Select.stories.d.ts +3 -1
- package/dist/cjs/components/Select/Select.styles.d.ts +6 -5
- package/dist/cjs/components/Select/Select.tokens.d.ts +215 -91
- package/dist/cjs/components/TextInput/TextInput.d.ts +5 -1
- package/dist/cjs/components/TextInput/TextInput.stories.d.ts +3 -0
- package/dist/cjs/components/TextInput/TextInput.styles.d.ts +14 -6
- package/dist/cjs/components/TextInput/TextInput.tokens.d.ts +25 -44
- package/dist/cjs/components/TextInput/TextInput.types.d.ts +3 -0
- package/dist/cjs/components/Typography/Link/Link.d.ts +1 -1
- package/dist/cjs/components/Typography/Link/Link.stories.d.ts +1 -1
- package/dist/cjs/components/Typography/Paragraph/Paragraph.d.ts +1 -1
- package/dist/cjs/components/Typography/Paragraph/Paragraph.stories.d.ts +1 -1
- package/dist/cjs/components/Typography/Typography/Typography.types.d.ts +2 -3
- package/dist/cjs/components/Typography/Typography.tokens.d.ts +3 -89
- package/dist/cjs/helpers/Input/Input.styles.d.ts +3 -5
- package/dist/cjs/helpers/Input/Input.tokens.d.ts +52 -29
- package/dist/cjs/helpers/Input/Input.types.d.ts +4 -6
- package/dist/cjs/helpers/Input/Input.utils.d.ts +3 -0
- package/dist/cjs/helpers/Input/index.d.ts +1 -0
- package/dist/cjs/helpers/SelectionControl/SelectionControl.styles.d.ts +15 -0
- package/dist/cjs/helpers/SelectionControl/SelectionControl.tokens.d.ts +83 -0
- package/dist/cjs/helpers/SelectionControl/SelectionControl.utils.d.ts +2 -0
- package/dist/cjs/helpers/SelectionControl/index.d.ts +3 -0
- package/dist/cjs/helpers/styling/hover.d.ts +0 -2
- package/dist/cjs/hooks/useFloatPosition.d.ts +22 -1
- package/dist/cjs/hooks/useIsMounted.d.ts +2 -0
- package/dist/cjs/index.js +1404 -1534
- package/dist/cjs/test/mocks/ResizeObserver.d.ts +6 -0
- package/dist/components/Card/Card.stories.d.ts +1 -0
- package/dist/components/Card/CardAccordion/CardAccordion.d.ts +4 -0
- package/dist/components/Card/CardAccordion/CardAccordion.js +10 -6
- package/dist/components/Card/CardAccordion/CardAccordionBody.js +41 -15
- package/dist/components/Checkbox/Checkbox.js +13 -6
- package/dist/components/Checkbox/Checkbox.stories.d.ts +1 -0
- package/dist/components/Checkbox/CheckboxGroup.d.ts +1 -1
- package/dist/components/Checkbox/CheckboxGroup.js +26 -23
- package/dist/components/Checkbox/CheckboxGroup.stories.d.ts +6 -1
- package/dist/components/Checkbox/CheckboxGroup.tokens.d.ts +7 -13
- package/dist/components/Checkbox/CheckboxGroup.tokens.js +12 -24
- package/dist/components/Datepicker/Datepicker.js +37 -29
- package/dist/components/Datepicker/Datepicker.stories.d.ts +1 -0
- package/dist/components/Datepicker/Datepicker.tokens.d.ts +21 -3
- package/dist/components/Datepicker/Datepicker.tokens.js +28 -18
- package/dist/components/InputMessage/InputMessage.js +4 -4
- package/dist/components/InputMessage/InputMessage.tokens.d.ts +11 -9
- package/dist/components/InputMessage/InputMessage.tokens.js +15 -21
- package/dist/components/List/List.tokens.d.ts +0 -4
- package/dist/components/List/List.tokens.js +0 -8
- package/dist/components/OverflowMenu/OverflowMenu.js +4 -1
- package/dist/components/Popover/Popover.js +4 -1
- package/dist/components/RadioButton/RadioButton.js +12 -4
- package/dist/components/RadioButton/RadioButtonGroup.d.ts +5 -5
- package/dist/components/RadioButton/RadioButtonGroup.js +11 -9
- package/dist/components/ScrollableContainer/scrollbarStyling.d.ts +1 -1
- package/dist/components/ScrollableContainer/scrollbarStyling.js +2 -1
- package/dist/components/Search/Search.js +32 -11
- package/dist/components/Search/Search.tokens.d.ts +51 -21
- package/dist/components/Search/Search.tokens.js +41 -49
- package/dist/components/Select/CustomSelect.stories.d.ts +2 -2
- package/dist/components/Select/MultiSelect.stories.d.ts +2 -1
- package/dist/components/Select/Select.d.ts +9 -3
- package/dist/components/Select/Select.js +88 -62
- package/dist/components/Select/Select.stories.d.ts +3 -1
- package/dist/components/Select/Select.styles.d.ts +6 -5
- package/dist/components/Select/Select.styles.js +149 -73
- package/dist/components/Select/Select.tokens.d.ts +215 -91
- package/dist/components/Select/Select.tokens.js +171 -279
- package/dist/components/Tabs/Tabs.js +3 -4
- package/dist/components/TextInput/CharCounter.js +1 -2
- package/dist/components/TextInput/TextInput.d.ts +5 -1
- package/dist/components/TextInput/TextInput.js +53 -32
- package/dist/components/TextInput/TextInput.stories.d.ts +3 -0
- package/dist/components/TextInput/TextInput.styles.d.ts +14 -6
- package/dist/components/TextInput/TextInput.styles.js +22 -19
- package/dist/components/TextInput/TextInput.tokens.d.ts +25 -44
- package/dist/components/TextInput/TextInput.tokens.js +35 -41
- package/dist/components/TextInput/TextInput.types.d.ts +3 -0
- package/dist/components/ToggleButton/ToggleButton.tokens.js +5 -4
- package/dist/components/Tooltip/Tooltip.js +3 -1
- package/dist/components/Typography/Link/Link.d.ts +1 -1
- package/dist/components/Typography/Link/Link.stories.d.ts +1 -1
- package/dist/components/Typography/Paragraph/Paragraph.d.ts +1 -1
- package/dist/components/Typography/Paragraph/Paragraph.stories.d.ts +1 -1
- package/dist/components/Typography/Typography/Typography.types.d.ts +2 -3
- package/dist/components/Typography/Typography.tokens.d.ts +3 -89
- package/dist/components/Typography/Typography.tokens.js +16 -72
- package/dist/components/Typography/Typography.utils.js +3 -8
- package/dist/helpers/Input/Input.styles.d.ts +3 -5
- package/dist/helpers/Input/Input.styles.js +20 -28
- package/dist/helpers/Input/Input.tokens.d.ts +52 -29
- package/dist/helpers/Input/Input.tokens.js +36 -54
- package/dist/helpers/Input/Input.types.d.ts +4 -6
- package/dist/helpers/Input/Input.utils.d.ts +3 -0
- package/dist/helpers/Input/Input.utils.js +14 -0
- package/dist/helpers/Input/index.d.ts +1 -0
- package/dist/helpers/SelectionControl/SelectionControl.styles.d.ts +15 -0
- package/dist/helpers/SelectionControl/SelectionControl.styles.js +36 -0
- package/dist/helpers/SelectionControl/SelectionControl.tokens.d.ts +83 -0
- package/dist/helpers/SelectionControl/SelectionControl.tokens.js +100 -0
- package/dist/helpers/SelectionControl/SelectionControl.utils.d.ts +2 -0
- package/dist/helpers/SelectionControl/SelectionControl.utils.js +4 -0
- package/dist/helpers/SelectionControl/index.d.ts +3 -0
- package/dist/helpers/styling/danger.js +1 -1
- package/dist/helpers/styling/focus.js +5 -6
- package/dist/helpers/styling/hover.d.ts +0 -2
- package/dist/helpers/styling/hover.js +2 -4
- package/dist/hooks/useFloatPosition.d.ts +22 -1
- package/dist/hooks/useFloatPosition.js +13 -13
- package/dist/hooks/useIsMounted.d.ts +2 -0
- package/dist/hooks/useIsMounted.js +16 -0
- package/dist/test/mocks/ResizeObserver.d.ts +6 -0
- package/package.json +30 -31
- package/dist/cjs/components/Checkbox/Checkbox.styles.d.ts +0 -5
- package/dist/cjs/components/Checkbox/Checkbox.tokens.d.ts +0 -65
- package/dist/cjs/components/RadioButton/RadioButton.styles.d.ts +0 -5
- package/dist/cjs/components/RadioButton/RadioButton.tokens.d.ts +0 -43
- package/dist/cjs/components/TextInput/CharCounter.tokens.d.ts +0 -4
- package/dist/components/Checkbox/Checkbox.styles.d.ts +0 -5
- package/dist/components/Checkbox/Checkbox.styles.js +0 -38
- package/dist/components/Checkbox/Checkbox.tokens.d.ts +0 -65
- package/dist/components/Checkbox/Checkbox.tokens.js +0 -132
- package/dist/components/RadioButton/RadioButton.styles.d.ts +0 -5
- package/dist/components/RadioButton/RadioButton.styles.js +0 -27
- package/dist/components/RadioButton/RadioButton.tokens.d.ts +0 -43
- package/dist/components/RadioButton/RadioButton.tokens.js +0 -100
- package/dist/components/TextInput/CharCounter.tokens.d.ts +0 -4
- package/dist/components/TextInput/CharCounter.tokens.js +0 -11
|
@@ -148,46 +148,6 @@ var bodySans04 = {
|
|
|
148
148
|
marginBottom: fontPackages.body_sans_04.paragraph.paragraphSpacing
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
|
-
var bodySerif01 = {
|
|
152
|
-
base: {
|
|
153
|
-
color: textDefault.textColor,
|
|
154
|
-
font: fontPackages.body_serif_01.base
|
|
155
|
-
},
|
|
156
|
-
margins: {
|
|
157
|
-
marginTop: 0,
|
|
158
|
-
marginBottom: fontPackages.body_serif_01.paragraph.paragraphSpacing
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
var bodySerif02 = {
|
|
162
|
-
base: {
|
|
163
|
-
color: textDefault.textColor,
|
|
164
|
-
font: fontPackages.body_serif_02.base
|
|
165
|
-
},
|
|
166
|
-
margins: {
|
|
167
|
-
marginTop: 0,
|
|
168
|
-
marginBottom: fontPackages.body_serif_02.paragraph.paragraphSpacing
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
var bodySerif03 = {
|
|
172
|
-
base: {
|
|
173
|
-
color: textDefault.textColor,
|
|
174
|
-
font: fontPackages.body_serif_03.base
|
|
175
|
-
},
|
|
176
|
-
margins: {
|
|
177
|
-
marginTop: 0,
|
|
178
|
-
marginBottom: fontPackages.body_serif_03.paragraph.paragraphSpacing
|
|
179
|
-
}
|
|
180
|
-
};
|
|
181
|
-
var bodySerif04 = {
|
|
182
|
-
base: {
|
|
183
|
-
color: textDefault.textColor,
|
|
184
|
-
font: fontPackages.body_serif_04.base
|
|
185
|
-
},
|
|
186
|
-
margins: {
|
|
187
|
-
marginTop: 0,
|
|
188
|
-
marginBottom: fontPackages.body_serif_04.paragraph.paragraphSpacing
|
|
189
|
-
}
|
|
190
|
-
};
|
|
191
151
|
var leadSans01 = {
|
|
192
152
|
base: {
|
|
193
153
|
color: textDefault.textColor,
|
|
@@ -260,48 +220,37 @@ var supportingStyleHelperText01 = {
|
|
|
260
220
|
marginBottom: fontPackages.supportingStyle_helpertext_01.paragraph.paragraphSpacing
|
|
261
221
|
}
|
|
262
222
|
};
|
|
263
|
-
var
|
|
264
|
-
base: {
|
|
265
|
-
color: textDefault.textColor,
|
|
266
|
-
font: fontPackages.supportingStyle_inputtext_01.base,
|
|
267
|
-
margin: 0
|
|
268
|
-
},
|
|
269
|
-
margins: {
|
|
270
|
-
marginTop: fontPackages.supportingStyle_inputtext_01.paragraph.paragraphSpacing,
|
|
271
|
-
marginBottom: fontPackages.supportingStyle_inputtext_01.paragraph.paragraphSpacing
|
|
272
|
-
}
|
|
273
|
-
};
|
|
274
|
-
var supportingStyleInputText02 = {
|
|
223
|
+
var supportingStylePlaceholderText01 = {
|
|
275
224
|
base: {
|
|
276
|
-
color:
|
|
277
|
-
font: fontPackages.
|
|
225
|
+
color: colors.DdsColorNeutralsGray6,
|
|
226
|
+
font: fontPackages.supportingStyle_placeholdertext_01.base,
|
|
278
227
|
margin: 0
|
|
279
228
|
},
|
|
280
229
|
margins: {
|
|
281
|
-
marginTop: fontPackages.
|
|
282
|
-
marginBottom: fontPackages.
|
|
230
|
+
marginTop: fontPackages.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing,
|
|
231
|
+
marginBottom: fontPackages.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing
|
|
283
232
|
}
|
|
284
233
|
};
|
|
285
|
-
var
|
|
234
|
+
var supportingStylePlaceholderText02 = {
|
|
286
235
|
base: {
|
|
287
|
-
color:
|
|
288
|
-
font: fontPackages.
|
|
236
|
+
color: colors.DdsColorNeutralsGray6,
|
|
237
|
+
font: fontPackages.supportingStyle_placeholdertext_02.base,
|
|
289
238
|
margin: 0
|
|
290
239
|
},
|
|
291
240
|
margins: {
|
|
292
|
-
marginTop: fontPackages.
|
|
293
|
-
marginBottom: fontPackages.
|
|
241
|
+
marginTop: fontPackages.supportingStyle_placeholdertext_02.paragraph.paragraphSpacing,
|
|
242
|
+
marginBottom: fontPackages.supportingStyle_placeholdertext_02.paragraph.paragraphSpacing
|
|
294
243
|
}
|
|
295
244
|
};
|
|
296
|
-
var
|
|
245
|
+
var supportingStylePlaceholderText03 = {
|
|
297
246
|
base: {
|
|
298
247
|
color: colors.DdsColorNeutralsGray6,
|
|
299
|
-
font: fontPackages.
|
|
248
|
+
font: fontPackages.supportingStyle_placeholdertext_03.base,
|
|
300
249
|
margin: 0
|
|
301
250
|
},
|
|
302
251
|
margins: {
|
|
303
|
-
marginTop: fontPackages.
|
|
304
|
-
marginBottom: fontPackages.
|
|
252
|
+
marginTop: fontPackages.supportingStyle_placeholdertext_03.paragraph.paragraphSpacing,
|
|
253
|
+
marginBottom: fontPackages.supportingStyle_placeholdertext_03.paragraph.paragraphSpacing
|
|
305
254
|
}
|
|
306
255
|
};
|
|
307
256
|
var supportingStyleTiny01 = {
|
|
@@ -341,10 +290,6 @@ var typographyTokens = {
|
|
|
341
290
|
bodySans02: bodySans02,
|
|
342
291
|
bodySans03: bodySans03,
|
|
343
292
|
bodySans04: bodySans04,
|
|
344
|
-
bodySerif01: bodySerif01,
|
|
345
|
-
bodySerif02: bodySerif02,
|
|
346
|
-
bodySerif03: bodySerif03,
|
|
347
|
-
bodySerif04: bodySerif04,
|
|
348
293
|
leadSans01: leadSans01,
|
|
349
294
|
leadSans02: leadSans02,
|
|
350
295
|
leadSans03: leadSans03,
|
|
@@ -352,10 +297,9 @@ var typographyTokens = {
|
|
|
352
297
|
leadSans05: leadSans05,
|
|
353
298
|
supportingStyleLabel01: supportingStyleLabel01,
|
|
354
299
|
supportingStyleHelperText01: supportingStyleHelperText01,
|
|
355
|
-
supportingStyleInputText01: supportingStyleInputText01,
|
|
356
|
-
supportingStyleInputText02: supportingStyleInputText02,
|
|
357
|
-
supportingStyleInputText03: supportingStyleInputText03,
|
|
358
300
|
supportingStylePlaceholderText01: supportingStylePlaceholderText01,
|
|
301
|
+
supportingStylePlaceholderText02: supportingStylePlaceholderText02,
|
|
302
|
+
supportingStylePlaceholderText03: supportingStylePlaceholderText03,
|
|
359
303
|
supportingStyleTiny01: supportingStyleTiny01,
|
|
360
304
|
supportingStyleTiny02: supportingStyleTiny02
|
|
361
305
|
},
|
|
@@ -38,20 +38,15 @@ var getElementType = function getElementType(element) {
|
|
|
38
38
|
case 'bodySans02':
|
|
39
39
|
case 'bodySans03':
|
|
40
40
|
case 'bodySans04':
|
|
41
|
-
case 'bodySerif01':
|
|
42
|
-
case 'bodySerif02':
|
|
43
|
-
case 'bodySerif03':
|
|
44
|
-
case 'bodySerif04':
|
|
45
41
|
case 'leadSans01':
|
|
46
42
|
case 'leadSans02':
|
|
47
43
|
case 'leadSans03':
|
|
48
44
|
case 'leadSans04':
|
|
49
45
|
case 'leadSans05':
|
|
50
|
-
case 'supportingStyleInputText01':
|
|
51
|
-
case 'supportingStyleInputText02':
|
|
52
|
-
case 'supportingStyleInputText03':
|
|
53
46
|
case 'supportingStyleHelperText01':
|
|
54
47
|
case 'supportingStylePlaceholderText01':
|
|
48
|
+
case 'supportingStylePlaceholderText02':
|
|
49
|
+
case 'supportingStylePlaceholderText03':
|
|
55
50
|
case 'supportingStyleTiny01':
|
|
56
51
|
case 'supportingStyleTiny02':
|
|
57
52
|
default:
|
|
@@ -69,7 +64,7 @@ var getMarginStyling = function getMarginStyling(typographyType, element, withMa
|
|
|
69
64
|
return withMargins ? css(["", " margin-top:", ";margin-bottom:", ";", ""], isInlineElement(element) && element !== 'a' && css(["display:block;"]), typographyTokens.typographyType[typographyType].margins.marginTop, typographyTokens.typographyType[typographyType].margins.marginBottom, css(["padding-top:", ";"], typographyTokens.typographyType[typographyType].margins.paddingTop)) : css(["margin:0;"]);
|
|
70
65
|
};
|
|
71
66
|
var getAnchorStyling = function getAnchorStyling(external, interactionStyling, typographyType, withMargins) {
|
|
72
|
-
return css(["", " width:fit-content;text-decoration:underline;@media (prefers-reduced-motion:no-preference){transition:", ";}", " &:hover{color:", ";", "}", " &:focus-visible,&.focus-visible,&:focus-visible::selection,&.focus-visible::selection{", "}"], typographyType ? css(["", ";
|
|
67
|
+
return css(["", " color:", ";width:fit-content;text-decoration:underline;@media (prefers-reduced-motion:no-preference){transition:", ";}", " &:hover{color:", ";", "}", " &:focus-visible,&.focus-visible,&:focus-visible::selection,&.focus-visible::selection{", "}"], typographyType ? css(["", ";", ""], typographyTokens.typographyType[typographyType].base.font, getMarginStyling(typographyType, 'a', withMargins)) : css(["font:inherit;", ""], getMarginStyling('a', 'a', withMargins)), typographyTokens.typographyType.a.base.color, focusVisibleLinkTransitionValue, external && css(["display:inline-flex;align-items:center;gap:", ";"], typographyTokens.typographyType.a.base.gap), typographyTokens.typographyType.a.hover.color, interactionStyling && interactionStyling.hover && css(["", ""], interactionStyling.hover), interactionStyling && interactionStyling.active && css(["&:active{", "}"], interactionStyling.active), focusVisibleLink);
|
|
73
68
|
};
|
|
74
69
|
|
|
75
70
|
export { getAdditionalFontStyle, getAnchorStyling, getElementType, getMarginStyling, inlineElements, isInlineElement };
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { StyledLabelProps } from '.';
|
|
2
1
|
import { Property } from 'csstype';
|
|
3
2
|
export declare const Input: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
4
|
-
export declare const StatefulInput: import("styled-components").StyledComponent<"input", any, Pick<import("./Input.types").InputProps, "disabled" | "readOnly"> & {
|
|
3
|
+
export declare const StatefulInput: import("styled-components").StyledComponent<"input", any, Pick<import("./Input.types").InputProps, "disabled" | "readOnly" | "componentSize"> & {
|
|
5
4
|
hasErrorMessage: boolean;
|
|
6
|
-
hasLabel: import("./Input.types").LabelPresence;
|
|
7
5
|
}, never>;
|
|
8
|
-
export declare const Label: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../components/Typography").TypographyProps & import("react").RefAttributes<HTMLElement>>, any, StyledLabelProps, never>;
|
|
9
|
-
export declare const InputContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
6
|
declare type OuterInputContainerProps = {
|
|
11
7
|
width?: Property.Width<string>;
|
|
12
8
|
};
|
|
13
9
|
export declare const OuterInputContainer: import("styled-components").StyledComponent<"div", any, OuterInputContainerProps, never>;
|
|
10
|
+
/**Brukes som container til input og ikon for posisjonering. */
|
|
11
|
+
export declare const InputContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
12
|
export {};
|
|
@@ -1,47 +1,39 @@
|
|
|
1
1
|
import styled, { css } from 'styled-components';
|
|
2
2
|
import { inputTokens } from './Input.tokens.js';
|
|
3
|
-
import { Typography } from '../../components/Typography/Typography/Typography.js';
|
|
4
|
-
import 'tslib';
|
|
5
|
-
import 'react/jsx-runtime';
|
|
6
|
-
import 'react';
|
|
7
|
-
import '../../components/Typography/Link/Link.js';
|
|
8
3
|
import '../styling/focusVisible.js';
|
|
9
|
-
import '../styling/hover.js';
|
|
10
|
-
import '../styling/focus.js';
|
|
11
|
-
import '../styling/danger.js';
|
|
4
|
+
import { hoverInputfield, hoverDangerInputfield } from '../styling/hover.js';
|
|
5
|
+
import { focusInputfield, focusDangerInputfield } from '../styling/focus.js';
|
|
6
|
+
import { dangerInputfield } from '../styling/danger.js';
|
|
12
7
|
import { selection } from '../styling/selection.js';
|
|
13
8
|
|
|
9
|
+
var input = inputTokens.input,
|
|
10
|
+
container = inputTokens.container;
|
|
14
11
|
var Input = styled.input.withConfig({
|
|
15
12
|
displayName: "Inputstyles__Input",
|
|
16
13
|
componentId: "sc-1oz9x8w-0"
|
|
17
|
-
})(["", "
|
|
14
|
+
})(["position:relative;color:", ";border-radius:", ";border:", ";border-color:", ";background-color:", ";padding:", ";width:100%;margin:0;box-sizing:border-box;box-shadow:none;@media (prefers-reduced-motion:no-preference){transition:box-shadow 0.2s,border-color 0.2s,background-color 0.2s;}&[type='text'],&[type='password'],&[type='number'],&[type='tel'],&[type='date'],&[type='url'],&[type='email'],&[type='search'],&[type='datetime-local']{-webkit-appearance:none;}&::selection{", "}&:hover:enabled:read-write{", "}&:focus:enabled:read-write,&:active:enabled:read-write{", "}"], input.base.color, input.base.borderRadius, input.base.border, input.base.borderColor, input.base.backgroundColor, input.base.padding, selection, hoverInputfield, focusInputfield);
|
|
18
15
|
var StatefulInput = styled(Input).withConfig({
|
|
19
16
|
displayName: "Inputstyles__StatefulInput",
|
|
20
17
|
componentId: "sc-1oz9x8w-1"
|
|
21
|
-
})(["-webkit-appearance:textfield;", "
|
|
22
|
-
var
|
|
23
|
-
return css(["", ""],
|
|
24
|
-
},
|
|
18
|
+
})(["-webkit-appearance:textfield;", " ", " &:enabled:read-only{border:none;outline:none;cursor:default;background-color:", ";padding-left:0;}&:disabled{cursor:not-allowed;color:", ";background-color:", ";}"], function (_ref) {
|
|
19
|
+
var componentSize = _ref.componentSize;
|
|
20
|
+
return componentSize && css(["padding:", ";", ""], input.sizes[componentSize].padding, input.sizes[componentSize].font);
|
|
21
|
+
}, function (_ref2) {
|
|
25
22
|
var hasErrorMessage = _ref2.hasErrorMessage;
|
|
26
|
-
return hasErrorMessage && css(["", " &:hover:enabled:read-write{", "}&:focus:enabled:read-write,&:active:enabled:read-write{", "}"],
|
|
27
|
-
},
|
|
28
|
-
var
|
|
29
|
-
displayName: "
|
|
23
|
+
return hasErrorMessage && css(["", " &:hover:enabled:read-write{", "}&:focus:enabled:read-write,&:active:enabled:read-write{", "}"], dangerInputfield, hoverDangerInputfield, focusDangerInputfield);
|
|
24
|
+
}, input.readOnly.backgroundColor, input.disabled.color, input.disabled.backgroundColor);
|
|
25
|
+
var OuterInputContainer = styled.div.withConfig({
|
|
26
|
+
displayName: "Inputstyles__OuterInputContainer",
|
|
30
27
|
componentId: "sc-1oz9x8w-2"
|
|
31
|
-
})(["position:
|
|
32
|
-
var
|
|
33
|
-
return
|
|
28
|
+
})(["position:relative;gap:", ";width:", ";"], container.gap, function (_ref3) {
|
|
29
|
+
var width = _ref3.width;
|
|
30
|
+
return width;
|
|
34
31
|
});
|
|
32
|
+
/**Brukes som container til input og ikon for posisjonering. */
|
|
33
|
+
|
|
35
34
|
var InputContainer = styled.div.withConfig({
|
|
36
35
|
displayName: "Inputstyles__InputContainer",
|
|
37
36
|
componentId: "sc-1oz9x8w-3"
|
|
38
37
|
})(["position:relative;"]);
|
|
39
|
-
var OuterInputContainer = styled.div.withConfig({
|
|
40
|
-
displayName: "Inputstyles__OuterInputContainer",
|
|
41
|
-
componentId: "sc-1oz9x8w-4"
|
|
42
|
-
})(["display:flex;flex-direction:column;", ";"], function (_ref4) {
|
|
43
|
-
var width = _ref4.width;
|
|
44
|
-
return width && css(["width:", ";"], width);
|
|
45
|
-
});
|
|
46
38
|
|
|
47
|
-
export { Input, InputContainer,
|
|
39
|
+
export { Input, InputContainer, OuterInputContainer, StatefulInput };
|
|
@@ -1,13 +1,59 @@
|
|
|
1
1
|
import { CSSObject } from 'styled-components';
|
|
2
2
|
export declare const inputTokens: {
|
|
3
|
-
|
|
4
|
-
base:
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
input: {
|
|
4
|
+
base: {
|
|
5
|
+
color: string;
|
|
6
|
+
borderRadius: string;
|
|
7
|
+
border: string;
|
|
8
|
+
borderColor: string;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
padding: string;
|
|
7
11
|
};
|
|
8
|
-
|
|
9
|
-
|
|
12
|
+
disabled: {
|
|
13
|
+
color: string;
|
|
14
|
+
backgroundColor: string;
|
|
15
|
+
};
|
|
16
|
+
readOnly: {
|
|
17
|
+
backgroundColor: string;
|
|
10
18
|
};
|
|
19
|
+
sizes: {
|
|
20
|
+
medium: {
|
|
21
|
+
padding: string;
|
|
22
|
+
font: {
|
|
23
|
+
lineHeight: any;
|
|
24
|
+
fontSize: string;
|
|
25
|
+
letterSpacing: any;
|
|
26
|
+
fontFamily: any;
|
|
27
|
+
fontWeight: any;
|
|
28
|
+
fontStyle: any;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
small: {
|
|
32
|
+
padding: string;
|
|
33
|
+
font: {
|
|
34
|
+
lineHeight: any;
|
|
35
|
+
fontSize: string;
|
|
36
|
+
letterSpacing: any;
|
|
37
|
+
fontFamily: any;
|
|
38
|
+
fontWeight: any;
|
|
39
|
+
fontStyle: any;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
tiny: {
|
|
43
|
+
padding: string;
|
|
44
|
+
font: {
|
|
45
|
+
lineHeight: any;
|
|
46
|
+
fontSize: string;
|
|
47
|
+
letterSpacing: any;
|
|
48
|
+
fontFamily: any;
|
|
49
|
+
fontWeight: any;
|
|
50
|
+
fontStyle: any;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
container: {
|
|
56
|
+
gap: string;
|
|
11
57
|
};
|
|
12
58
|
general: {
|
|
13
59
|
input: {
|
|
@@ -15,14 +61,6 @@ export declare const inputTokens: {
|
|
|
15
61
|
borderWidth: string;
|
|
16
62
|
borderColor: string;
|
|
17
63
|
textColor: string;
|
|
18
|
-
font: {
|
|
19
|
-
lineHeight: any;
|
|
20
|
-
fontSize: string;
|
|
21
|
-
letterSpacing: any;
|
|
22
|
-
fontFamily: any;
|
|
23
|
-
fontWeight: any;
|
|
24
|
-
fontStyle: any;
|
|
25
|
-
};
|
|
26
64
|
hover: {
|
|
27
65
|
backgroundColor: string;
|
|
28
66
|
borderColor: string;
|
|
@@ -48,21 +86,6 @@ export declare const inputTokens: {
|
|
|
48
86
|
noLabel: {
|
|
49
87
|
base: CSSObject;
|
|
50
88
|
};
|
|
51
|
-
readOnly: {
|
|
52
|
-
base: CSSObject;
|
|
53
|
-
};
|
|
54
|
-
disabled: {
|
|
55
|
-
base: CSSObject;
|
|
56
|
-
};
|
|
57
|
-
error: {
|
|
58
|
-
base: CSSObject;
|
|
59
|
-
hover: {
|
|
60
|
-
base: CSSObject;
|
|
61
|
-
};
|
|
62
|
-
focus: {
|
|
63
|
-
base: CSSObject;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
89
|
label: {
|
|
67
90
|
base: CSSObject;
|
|
68
91
|
hover: {
|
|
@@ -1,46 +1,47 @@
|
|
|
1
1
|
import { ddsBaseTokens, ddsReferenceTokens } from '@norges-domstoler/dds-design-tokens';
|
|
2
|
-
import 'styled-components';
|
|
3
|
-
import '../styling/focusVisible.js';
|
|
4
|
-
import { hoverInputfield, hoverDangerInputfield } from '../styling/hover.js';
|
|
5
|
-
import { focusInputfield, focusDangerInputfield } from '../styling/focus.js';
|
|
6
|
-
import { dangerInputfield } from '../styling/danger.js';
|
|
7
|
-
import '../styling/selection.js';
|
|
8
2
|
|
|
9
3
|
var colors = ddsBaseTokens.colors,
|
|
10
4
|
spacing = ddsBaseTokens.spacing,
|
|
11
5
|
fontPackages = ddsBaseTokens.fontPackages,
|
|
12
6
|
border = ddsBaseTokens.border;
|
|
13
7
|
var TextInput = ddsReferenceTokens.textInput;
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
8
|
+
var input = {
|
|
9
|
+
base: {
|
|
10
|
+
color: TextInput.input.textColor,
|
|
11
|
+
borderRadius: TextInput.input.borderRadius,
|
|
12
|
+
border: "".concat(border.BordersDdsBorderStyleLightStrokeWeight, " solid ").concat(colors.DdsColorNeutralsGray5),
|
|
13
|
+
borderColor: TextInput.input.borderColor,
|
|
14
|
+
backgroundColor: colors.DdsColorNeutralsWhite,
|
|
15
|
+
padding: "".concat(spacing.SizesDdsSpacingLocalX075, " ").concat(spacing.SizesDdsSpacingLocalX1, " ").concat(spacing.SizesDdsSpacingLocalX075, " ").concat(spacing.SizesDdsSpacingLocalX075)
|
|
16
|
+
},
|
|
17
|
+
disabled: {
|
|
18
|
+
color: colors.DdsColorNeutralsGray7,
|
|
19
|
+
backgroundColor: colors.DdsColorNeutralsGray1
|
|
20
|
+
},
|
|
21
|
+
readOnly: {
|
|
22
|
+
backgroundColor: 'transparent'
|
|
23
|
+
},
|
|
24
|
+
sizes: {
|
|
25
|
+
medium: {
|
|
26
|
+
padding: spacing.SizesDdsSpacingLocalX075,
|
|
27
|
+
font: fontPackages.body_sans_02.base
|
|
28
|
+
},
|
|
29
|
+
small: {
|
|
30
|
+
padding: "".concat(spacing.SizesDdsSpacingLocalX05, " ").concat(spacing.SizesDdsSpacingLocalX075, " ").concat(spacing.SizesDdsSpacingLocalX05, " ").concat(spacing.SizesDdsSpacingLocalX075),
|
|
31
|
+
font: fontPackages.body_sans_01.base
|
|
32
|
+
},
|
|
33
|
+
tiny: {
|
|
34
|
+
padding: "".concat(spacing.SizesDdsSpacingLocalX025, " ").concat(spacing.SizesDdsSpacingLocalX05, " ").concat(spacing.SizesDdsSpacingLocalX025, " ").concat(spacing.SizesDdsSpacingLocalX05),
|
|
35
|
+
font: fontPackages.supportingStyle_tiny_01.base
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
};
|
|
23
39
|
var inputHasLabelBase = {
|
|
24
40
|
padding: "".concat(spacing.SizesDdsSpacingLocalX075NumberPx + fontPackages.supportingStyle_label_01.numbers.lineHeightNumber * 0.01 * fontPackages.supportingStyle_label_01.numbers.fontSizeNumber, "px ").concat(spacing.SizesDdsSpacingLocalX1, " ").concat(spacing.SizesDdsSpacingLocalX075, " ").concat(spacing.SizesDdsSpacingLocalX1)
|
|
25
41
|
};
|
|
26
42
|
var inputNoLabelBase = {
|
|
27
43
|
padding: "".concat(spacing.SizesDdsSpacingLocalX075, " ").concat(spacing.SizesDdsSpacingLocalX1, " ").concat(spacing.SizesDdsSpacingLocalX075, " ").concat(spacing.SizesDdsSpacingLocalX1)
|
|
28
44
|
};
|
|
29
|
-
var inputDisabledBase = {
|
|
30
|
-
cursor: 'not-allowed',
|
|
31
|
-
color: colors.DdsColorNeutralsGray7,
|
|
32
|
-
backgroundColor: colors.DdsColorNeutralsGray1
|
|
33
|
-
};
|
|
34
|
-
var inputErrorBase = Object.assign({}, dangerInputfield);
|
|
35
|
-
var inputErrorHoverBase = Object.assign({}, hoverDangerInputfield);
|
|
36
|
-
var inputErrorFocusBase = Object.assign({}, focusDangerInputfield);
|
|
37
|
-
var inputReadOnlyBase = {
|
|
38
|
-
border: 'none',
|
|
39
|
-
outline: 'none',
|
|
40
|
-
cursor: 'default',
|
|
41
|
-
backgroundColor: 'transparent',
|
|
42
|
-
paddingLeft: spacing.SizesDdsSpacingLocalX1
|
|
43
|
-
};
|
|
44
45
|
var inputLabelBase = {
|
|
45
46
|
padding: "".concat(spacing.SizesDdsSpacingLocalX075, " ").concat(spacing.SizesDdsSpacingLocalX1)
|
|
46
47
|
};
|
|
@@ -53,16 +54,12 @@ var inputLabelFocusBase = {
|
|
|
53
54
|
var inputLabelDisabledBase = {
|
|
54
55
|
color: colors.DdsColorNeutralsGray6
|
|
55
56
|
};
|
|
57
|
+
var container = {
|
|
58
|
+
gap: spacing.SizesDdsSpacingLocalX0125
|
|
59
|
+
};
|
|
56
60
|
var inputTokens = {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
focus: {
|
|
60
|
-
base: inputFocusBase
|
|
61
|
-
},
|
|
62
|
-
hover: {
|
|
63
|
-
base: inputHoverBase
|
|
64
|
-
}
|
|
65
|
-
},
|
|
61
|
+
input: input,
|
|
62
|
+
container: container,
|
|
66
63
|
general: TextInput,
|
|
67
64
|
hasLabel: {
|
|
68
65
|
base: inputHasLabelBase
|
|
@@ -70,21 +67,6 @@ var inputTokens = {
|
|
|
70
67
|
noLabel: {
|
|
71
68
|
base: inputNoLabelBase
|
|
72
69
|
},
|
|
73
|
-
readOnly: {
|
|
74
|
-
base: inputReadOnlyBase
|
|
75
|
-
},
|
|
76
|
-
disabled: {
|
|
77
|
-
base: inputDisabledBase
|
|
78
|
-
},
|
|
79
|
-
error: {
|
|
80
|
-
base: inputErrorBase,
|
|
81
|
-
hover: {
|
|
82
|
-
base: inputErrorHoverBase
|
|
83
|
-
},
|
|
84
|
-
focus: {
|
|
85
|
-
base: inputErrorFocusBase
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
70
|
label: {
|
|
89
71
|
base: inputLabelBase,
|
|
90
72
|
hover: {
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { InputHTMLAttributes } from 'react';
|
|
2
2
|
import { Property } from 'csstype';
|
|
3
|
+
export declare type InputSize = 'medium' | 'small' | 'tiny';
|
|
3
4
|
export declare type InputProps = {
|
|
4
5
|
/**Ledetekst for input. */
|
|
5
6
|
label?: string;
|
|
7
|
+
/**Størrelse på inputfeltet. */
|
|
8
|
+
componentSize?: InputSize;
|
|
6
9
|
/**Bredde for inputfeltet. */
|
|
7
10
|
width?: Property.Width<string>;
|
|
8
11
|
/**Hjelpetekst. */
|
|
@@ -10,11 +13,6 @@ export declare type InputProps = {
|
|
|
10
13
|
/**Feilmelding. Setter også error state. */
|
|
11
14
|
errorMessage?: string;
|
|
12
15
|
} & InputHTMLAttributes<HTMLInputElement>;
|
|
13
|
-
export declare type
|
|
14
|
-
export declare type StyledInputProps = Pick<InputProps, 'readOnly' | 'disabled'> & {
|
|
16
|
+
export declare type StyledInputProps = Pick<InputProps, 'readOnly' | 'disabled' | 'componentSize'> & {
|
|
15
17
|
hasErrorMessage: boolean;
|
|
16
|
-
hasLabel: LabelPresence;
|
|
17
|
-
};
|
|
18
|
-
export declare type StyledLabelProps = {
|
|
19
|
-
disabled?: boolean;
|
|
20
18
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var getFormInputIconSize = function getFormInputIconSize(componentSize) {
|
|
2
|
+
switch (componentSize) {
|
|
3
|
+
case 'medium':
|
|
4
|
+
return 'medium';
|
|
5
|
+
|
|
6
|
+
case 'small':
|
|
7
|
+
return 'small';
|
|
8
|
+
|
|
9
|
+
case 'tiny':
|
|
10
|
+
return 'small';
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { getFormInputIconSize };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare type SelectionControlType = 'radio' | 'checkbox';
|
|
2
|
+
declare type CustomSelectionControlProps = {
|
|
3
|
+
controlType?: SelectionControlType;
|
|
4
|
+
};
|
|
5
|
+
export declare const CustomSelectionControl: import("styled-components").StyledComponent<"span", any, CustomSelectionControlProps, never>;
|
|
6
|
+
declare type ContainerProps = {
|
|
7
|
+
hasLabel?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
readOnly?: boolean;
|
|
10
|
+
error?: boolean;
|
|
11
|
+
indeterminate?: boolean;
|
|
12
|
+
controlType: SelectionControlType;
|
|
13
|
+
};
|
|
14
|
+
export declare const Container: import("styled-components").StyledComponent<"label", any, ContainerProps, never>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import styled, { css } from 'styled-components';
|
|
2
|
+
import { focusVisible, focusVisibleTransitionValue } from '../styling/focusVisible.js';
|
|
3
|
+
import '../styling/hover.js';
|
|
4
|
+
import '../styling/focus.js';
|
|
5
|
+
import '../styling/danger.js';
|
|
6
|
+
import '../styling/selection.js';
|
|
7
|
+
import { selectionControlTokens } from './SelectionControl.tokens.js';
|
|
8
|
+
|
|
9
|
+
var selectionControl = selectionControlTokens.selectionControl,
|
|
10
|
+
container = selectionControlTokens.container,
|
|
11
|
+
checkmark = selectionControlTokens.checkmark;
|
|
12
|
+
var CustomSelectionControl = styled.span.withConfig({
|
|
13
|
+
displayName: "SelectionControlstyles__CustomSelectionControl",
|
|
14
|
+
componentId: "sc-1wv80b7-0"
|
|
15
|
+
})(["position:absolute;left:0;box-sizing:border-box;border:", ";border-color:", ";background-color:", ";border-radius:", ";height:", ";width:", ";", " &:after{content:'';position:absolute;display:none;}"], selectionControl.base.border, selectionControl.base.borderColor, selectionControl.base.backgroundColor, selectionControl.base.borderRadius, selectionControl.base.height, selectionControl.base.width, function (_ref) {
|
|
16
|
+
var controlType = _ref.controlType;
|
|
17
|
+
return controlType === 'radio' && css(["border-radius:50%;"]);
|
|
18
|
+
});
|
|
19
|
+
var Container = styled.label.withConfig({
|
|
20
|
+
displayName: "SelectionControlstyles__Container",
|
|
21
|
+
componentId: "sc-1wv80b7-1"
|
|
22
|
+
})(["position:relative;display:flex;align-items:center;cursor:pointer;user-select:none;width:fit-content;color:", ";", " input ~ ", "{@media (prefers-reduced-motion:no-preference){transition:box-shadow 0.2s,background-color 0.2s,border 0.2s;}}&:focus-within{", " @media (prefers-reduced-motion:no-preference){transition:", ";}}&:hover input:enabled ~ ", "{background-color:", ";box-shadow:", ";border-color:", ";}input:checked:enabled ~ ", ",input[data-indeterminate='true'] ~ ", "{border-color:", ";background-color:", ";}&:hover input:checked:enabled ~ ", ",&:hover input:enabled[data-indeterminate='true'] ~ ", "{background-color:", ";box-shadow:", ";border-color:", ";}", " input:disabled ~ ", "{", "}input:checked:disabled ~ ", ",input:disabled[data-indeterminate='true'] ~ ", "{background-color:", ";border-color:", ";}input:checked ~ ", ":after,input[data-indeterminate='true'] ~ ", ":after{display:block;}", " ", ""], container.color, function (_ref2) {
|
|
23
|
+
var hasLabel = _ref2.hasLabel;
|
|
24
|
+
return hasLabel ? css(["padding-left:", ";"], container.withLabel.paddingLeft) : css(["padding:", ";"], container.noLabel.padding);
|
|
25
|
+
}, CustomSelectionControl, focusVisible, focusVisibleTransitionValue, CustomSelectionControl, selectionControl.hover.base.backgroundColor, selectionControl.hover.base.boxShadow, selectionControl.hover.base.borderColor, CustomSelectionControl, CustomSelectionControl, selectionControl.checked.base.borderColor, selectionControl.checked.base.backgroundColor, CustomSelectionControl, CustomSelectionControl, selectionControl.checked.hover.backgroundColor, selectionControl.checked.hover.boxShadow, selectionControl.checked.hover.borderColor, function (_ref3) {
|
|
26
|
+
var error = _ref3.error;
|
|
27
|
+
return error && css(["&:hover input:enabled ~ ", "{background-color:", ";box-shadow:", ";border-color:", ";}input ~ ", ",input:checked:enabled ~ ", ",&:hover input:checked:enabled ~ ", "{box-shadow:", ";border-color:", ";}"], CustomSelectionControl, selectionControl.hover.danger.backgroundColor, selectionControl.hover.danger.boxShadow, selectionControl.hover.danger.borderColor, CustomSelectionControl, CustomSelectionControl, CustomSelectionControl, selectionControl.danger.boxShadow, selectionControl.danger.borderColor);
|
|
28
|
+
}, CustomSelectionControl, selectionControl.disabled, CustomSelectionControl, CustomSelectionControl, selectionControl.checked.disabled.backgroundColor, selectionControl.checked.disabled.borderColor, CustomSelectionControl, CustomSelectionControl, function (_ref4) {
|
|
29
|
+
var disabled = _ref4.disabled;
|
|
30
|
+
return disabled && css(["cursor:not-allowed;color:", ";"], container.disabled.color);
|
|
31
|
+
}, function (_ref5) {
|
|
32
|
+
var controlType = _ref5.controlType;
|
|
33
|
+
return controlType === 'checkbox' ? css(["", ":after{border:solid ", ";border-width:0 1px 1px 0;left:35%;top:10%;width:30%;height:65%;transform:rotate(45deg);}input[data-indeterminate='true'] ~ ", ":after{border-width:1px 0 0 0;left:25%;top:50%;width:50%;height:1px;transform:none;}"], CustomSelectionControl, checkmark.checkbox.borderColor, CustomSelectionControl) : css(["", ":after{border-radius:50%;background-color:", ";width:", ";height:", ";left:", ";top:", ";}"], CustomSelectionControl, checkmark.radio.backgroundColor, checkmark.radio.width, checkmark.radio.height, checkmark.radio.left, checkmark.radio.top);
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export { Container, CustomSelectionControl };
|