@norges-domstoler/dds-components 13.4.0 → 13.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/cjs/icons/tsx/agreement.d.ts +2 -0
  2. package/dist/cjs/icons/tsx/caring.d.ts +2 -0
  3. package/dist/cjs/icons/tsx/index.d.ts +3 -0
  4. package/dist/cjs/icons/tsx/payout.d.ts +2 -0
  5. package/dist/cjs/index.js +319 -417
  6. package/dist/components/BackLink/BackLink.js +6 -8
  7. package/dist/components/Breadcrumbs/Breadcrumb.js +6 -8
  8. package/dist/components/Breadcrumbs/Breadcrumbs.js +1 -2
  9. package/dist/components/Button/Button.js +10 -14
  10. package/dist/components/Card/Card.js +2 -4
  11. package/dist/components/Card/CardAccordion/CardAccordionBody.js +2 -4
  12. package/dist/components/Card/CardAccordion/CardAccordionHeader.js +4 -6
  13. package/dist/components/Checkbox/Checkbox.js +4 -6
  14. package/dist/components/Checkbox/CheckboxGroup.js +8 -11
  15. package/dist/components/Chip/Chip.js +1 -2
  16. package/dist/components/Chip/ChipGroup.js +1 -2
  17. package/dist/components/Datepicker/Datepicker.js +3 -4
  18. package/dist/components/Drawer/Drawer.js +4 -6
  19. package/dist/components/EmptyContent/EmptyContent.js +5 -7
  20. package/dist/components/FileUploader/FileUploader.js +10 -14
  21. package/dist/components/GlobalMessage/GlobalMessage.js +6 -8
  22. package/dist/components/Grid/Grid.js +5 -8
  23. package/dist/components/Grid/GridChild.js +1 -2
  24. package/dist/components/InlineEdit/InlineEdit.utils.js +3 -4
  25. package/dist/components/InlineEdit/InlineEditInput.js +3 -4
  26. package/dist/components/InlineEdit/InlineEditTextArea.js +3 -4
  27. package/dist/components/InlineEdit/InlineInput.js +6 -8
  28. package/dist/components/InlineEdit/InlineTextArea.js +6 -8
  29. package/dist/components/InputMessage/InputMessage.js +3 -4
  30. package/dist/components/InternalHeader/InternalHeader.js +12 -16
  31. package/dist/components/InternalHeader/NavigationItem.js +1 -2
  32. package/dist/components/LocalMessage/LocalMessage.js +3 -4
  33. package/dist/components/Modal/Modal.js +4 -6
  34. package/dist/components/Modal/ModalBody.js +3 -4
  35. package/dist/components/OverflowMenu/OverflowMenu.js +4 -6
  36. package/dist/components/OverflowMenu/OverflowMenuItem.js +4 -7
  37. package/dist/components/Pagination/Pagination.js +18 -25
  38. package/dist/components/Popover/Popover.js +7 -10
  39. package/dist/components/ProgressTracker/ProgressTracker.js +3 -4
  40. package/dist/components/ProgressTracker/ProgressTrackerItem.js +8 -12
  41. package/dist/components/RadioButton/RadioButton.js +4 -6
  42. package/dist/components/RadioButton/RadioButtonGroup.js +9 -13
  43. package/dist/components/ScrollableContainer/ScrollableContainer.js +3 -4
  44. package/dist/components/Search/Search.js +6 -8
  45. package/dist/components/Search/SearchAutocompleteWrapper.js +3 -4
  46. package/dist/components/Search/SearchSuggestions.js +10 -14
  47. package/dist/components/Select/Select.js +6 -8
  48. package/dist/components/SkipToContent/SkipToContent.js +1 -2
  49. package/dist/components/Spinner/Spinner.js +3 -4
  50. package/dist/components/SplitButton/SplitButton.js +6 -8
  51. package/dist/components/Table/SortCell.js +3 -4
  52. package/dist/components/Table/collapsible/CollapsibleRow.js +16 -22
  53. package/dist/components/Table/collapsible/CollapsibleTable.js +3 -4
  54. package/dist/components/Tabs/Tabs.js +4 -6
  55. package/dist/components/Tag/Tag.js +1 -2
  56. package/dist/components/TextArea/TextArea.js +3 -4
  57. package/dist/components/TextInput/CharCounter.js +1 -2
  58. package/dist/components/TextInput/TextInput.js +9 -12
  59. package/dist/components/ToggleBar/ToggleBar.js +7 -10
  60. package/dist/components/ToggleBar/ToggleRadio.js +6 -8
  61. package/dist/components/ToggleButton/ToggleButton.js +3 -4
  62. package/dist/components/ToggleButton/ToggleButtonGroup.js +3 -4
  63. package/dist/components/Tooltip/Tooltip.js +1 -2
  64. package/dist/components/Typography/Caption/Caption.js +1 -2
  65. package/dist/components/Typography/Label/Label.js +1 -2
  66. package/dist/components/Typography/Legend/Legend.js +1 -2
  67. package/dist/components/VisuallyHidden/VisuallyHidden.js +1 -2
  68. package/dist/helpers/Chevron/AnimatedChevronUpDown.js +6 -8
  69. package/dist/icons/tsx/agreement.d.ts +2 -0
  70. package/dist/icons/tsx/agreement.js +12 -0
  71. package/dist/icons/tsx/caring.d.ts +2 -0
  72. package/dist/icons/tsx/caring.js +12 -0
  73. package/dist/icons/tsx/index.d.ts +3 -0
  74. package/dist/icons/tsx/jordskifterett.js +1 -2
  75. package/dist/icons/tsx/payout.d.ts +2 -0
  76. package/dist/icons/tsx/payout.js +12 -0
  77. package/dist/index.js +3 -0
  78. package/package.json +24 -24
@@ -26,17 +26,16 @@ var CollapsibleTable = /*#__PURE__*/forwardRef(function (props, ref) {
26
26
  density: density,
27
27
  isCollapsed: isCollapsed
28
28
  }, rest);
29
- return jsx(CollapsibleTableContext.Provider, Object.assign({
29
+ return jsx(CollapsibleTableContext.Provider, {
30
30
  value: {
31
31
  isCollapsed: isCollapsed,
32
32
  headerValues: headerValues,
33
33
  definingColumnIndex: definingColumnIndex
34
- }
35
- }, {
34
+ },
36
35
  children: jsx(StyledTable, Object.assign({}, tableProps, {
37
36
  children: children
38
37
  }))
39
- }));
38
+ });
40
39
  });
41
40
  CollapsibleTable.displayName = 'CollapsibleTable';
42
41
 
@@ -48,7 +48,7 @@ var Tabs = /*#__PURE__*/forwardRef(function (props, ref) {
48
48
  var containerProps = Object.assign(Object.assign({}, getBaseHTMLProps(uniqueId, className, htmlProps, rest)), {
49
49
  ref: ref
50
50
  });
51
- return jsx(TabsContext.Provider, Object.assign({
51
+ return jsx(TabsContext.Provider, {
52
52
  value: {
53
53
  tabsId: uniqueId,
54
54
  activeTab: thisActiveTab,
@@ -58,14 +58,12 @@ var Tabs = /*#__PURE__*/forwardRef(function (props, ref) {
58
58
  hasTabFocus: hasTabFocus,
59
59
  setHasTabFocus: setHasTabFocus,
60
60
  tabContentDirection: tabContentDirection
61
- }
62
- }, {
61
+ },
63
62
  children: jsx(Container, Object.assign({}, containerProps, {
64
- width: width
65
- }, {
63
+ width: width,
66
64
  children: children
67
65
  }))
68
- }));
66
+ });
69
67
  });
70
68
  Tabs.displayName = 'Tabs';
71
69
 
@@ -25,8 +25,7 @@ var Tag = /*#__PURE__*/forwardRef(function (props, ref) {
25
25
  rest = __rest(props, ["text", "purpose", "id", "className", "htmlProps"]);
26
26
  return jsx(Wrapper, Object.assign({}, getBaseHTMLProps(id, className, htmlProps, rest), {
27
27
  ref: ref,
28
- purpose: purpose
29
- }, {
28
+ purpose: purpose,
30
29
  children: jsx(TextOverflowEllipsisInner, {
31
30
  children: text
32
31
  })
@@ -90,12 +90,11 @@ var TextArea = /*#__PURE__*/forwardRef(function (props, ref) {
90
90
  'aria-invalid': hasErrorMessage ? true : undefined
91
91
  }, rest);
92
92
  return jsxs(OuterInputContainer, Object.assign({}, containerProps, {
93
- children: [hasLabel && jsx(Label, Object.assign({
93
+ children: [hasLabel && jsx(Label, {
94
94
  showRequiredStyling: showRequiredStyling,
95
- htmlFor: uniqueId
96
- }, {
95
+ htmlFor: uniqueId,
97
96
  children: label
98
- })), jsx(StyledTextArea, Object.assign({}, textAreaProps, {
97
+ }), jsx(StyledTextArea, Object.assign({}, textAreaProps, {
99
98
  as: "textarea"
100
99
  })), renderInputMessage(tip, tipId, errorMessage, errorMessageId)]
101
100
  }));
@@ -27,8 +27,7 @@ function CharCounter(props) {
27
27
  return jsxs(Wrapper, Object.assign({}, getBaseHTMLProps(uniqueId, className, htmlProps, rest), {
28
28
  forwardedAs: "div",
29
29
  typographyType: "supportingStyleHelperText01",
30
- "aria-label": "".concat(current, " av ").concat(max, " tegn skrevet")
31
- }, {
30
+ "aria-label": "".concat(current, " av ").concat(max, " tegn skrevet"),
32
31
  children: [current, "/", max]
33
32
  }));
34
33
  }
@@ -157,35 +157,32 @@ var TextInput = /*#__PURE__*/forwardRef(function (_a, ref) {
157
157
  });
158
158
  } else if (hasAffix) {
159
159
  extendedInput = jsxs(InputAffixContainer, {
160
- children: [prefix && jsx(Prefix, Object.assign({
160
+ children: [prefix && jsx(Prefix, {
161
161
  readOnly: readOnly,
162
162
  ref: prefixRef,
163
- "aria-hidden": true
164
- }, {
163
+ "aria-hidden": true,
165
164
  children: prefix
166
- })), jsx(StatefulInput, Object.assign({
165
+ }), jsx(StatefulInput, Object.assign({
167
166
  ref: ref,
168
167
  onChange: onChangeHandler,
169
168
  type: type,
170
169
  componentSize: componentSize,
171
170
  prefixLength: prefixLength,
172
171
  suffixLength: suffixLength
173
- }, generalInputProps)), suffix && jsx(Suffix, Object.assign({
172
+ }, generalInputProps)), suffix && jsx(Suffix, {
174
173
  readOnly: readOnly,
175
174
  ref: suffixRef,
176
- "aria-hidden": true
177
- }, {
175
+ "aria-hidden": true,
178
176
  children: suffix
179
- }))]
177
+ })]
180
178
  });
181
179
  }
182
180
  return jsxs(OuterInputContainer, Object.assign({}, outerInputContainerProps, {
183
- children: [hasLabel && jsx(Label, Object.assign({
181
+ children: [hasLabel && jsx(Label, {
184
182
  htmlFor: uniqueId,
185
- showRequiredStyling: showRequiredStyling
186
- }, {
183
+ showRequiredStyling: showRequiredStyling,
187
184
  children: label
188
- })), extendedInput ? extendedInput : jsx(StatefulInput, Object.assign({
185
+ }), extendedInput ? extendedInput : jsx(StatefulInput, Object.assign({
189
186
  ref: ref,
190
187
  onChange: onChangeHandler,
191
188
  type: type,
@@ -57,29 +57,26 @@ var ToggleBar = function ToggleBar(props) {
57
57
  return onChange && onChange(e, e.target.value);
58
58
  });
59
59
  var labelId = label && "".concat(uniqueId, "-label");
60
- return jsx(ToggleBarContext.Provider, Object.assign({
60
+ return jsx(ToggleBarContext.Provider, {
61
61
  value: {
62
62
  size: size,
63
63
  onChange: handleChange,
64
64
  name: name,
65
65
  value: groupValue
66
- }
67
- }, {
66
+ },
68
67
  children: jsxs(OuterContainer, Object.assign({}, getBaseHTMLProps(id, className, htmlProps, rest), {
69
68
  role: "radiogroup",
70
69
  "aria-labelledby": labelId !== null && labelId !== void 0 ? labelId : htmlProps === null || htmlProps === void 0 ? void 0 : htmlProps['aria-labelledby'],
71
- width: width
72
- }, {
73
- children: [label && jsx(Typography, Object.assign({
70
+ width: width,
71
+ children: [label && jsx(Typography, {
74
72
  typographyType: "supportingStyleLabel01",
75
- id: labelId
76
- }, {
73
+ id: labelId,
77
74
  children: label
78
- })), jsx(Bar, {
75
+ }), jsx(Bar, {
79
76
  children: children
80
77
  })]
81
78
  }))
82
- }));
79
+ });
83
80
  };
84
81
  ToggleBar.displayName = 'ToggleBar';
85
82
 
@@ -54,10 +54,9 @@ var ToggleRadio = /*#__PURE__*/forwardRef(function (props, ref) {
54
54
  onChange && onChange(event);
55
55
  group && group.onChange && group.onChange(event);
56
56
  };
57
- return jsxs(Label, Object.assign({
57
+ return jsxs(Label, {
58
58
  size: group.size,
59
- htmlFor: uniqueId
60
- }, {
59
+ htmlFor: uniqueId,
61
60
  children: [jsx(HiddenInput, Object.assign({}, getBaseHTMLProps(uniqueId, className, htmlProps, rest), {
62
61
  type: "radio",
63
62
  ref: ref,
@@ -65,18 +64,17 @@ var ToggleRadio = /*#__PURE__*/forwardRef(function (props, ref) {
65
64
  onChange: handleChange,
66
65
  value: value,
67
66
  checked: calculateChecked(value, group, checked)
68
- })), jsxs(Content, Object.assign({
67
+ })), jsxs(Content, {
69
68
  size: group.size,
70
- justIcon: !!icon && !!!label
71
- }, {
69
+ justIcon: !!icon && !!!label,
72
70
  children: [icon && jsx(Icon, {
73
71
  icon: icon,
74
72
  iconSize: "inherit"
75
73
  }), label && jsx("span", {
76
74
  children: label
77
75
  })]
78
- }))]
79
- }));
76
+ })]
77
+ });
80
78
  });
81
79
  ToggleRadio.displayName = 'ToggleRadio';
82
80
 
@@ -52,14 +52,13 @@ var ToggleButton = /*#__PURE__*/forwardRef(function (_a, ref) {
52
52
  htmlFor: uniqueId
53
53
  };
54
54
  return jsxs(Container, Object.assign({}, containerProps, {
55
- children: [jsx(HiddenInput, Object.assign({}, inputProps)), jsxs(Content, Object.assign({
56
- hasIcon: !!icon
57
- }, {
55
+ children: [jsx(HiddenInput, Object.assign({}, inputProps)), jsxs(Content, {
56
+ hasIcon: !!icon,
58
57
  children: [icon && jsx(Icon, {
59
58
  icon: icon,
60
59
  iconSize: "inherit"
61
60
  }), " ", label]
62
- }))]
61
+ })]
63
62
  }));
64
63
  });
65
64
  ToggleButton.displayName = 'ToggleButton';
@@ -43,13 +43,12 @@ var ToggleButtonGroup = function ToggleButtonGroup(props) {
43
43
  'aria-labelledby': label ? uniqueLabelId : undefined
44
44
  });
45
45
  return jsxs(Container, Object.assign({}, containerProps, {
46
- children: [!!label && jsx(Typography, Object.assign({
46
+ children: [!!label && jsx(Typography, {
47
47
  as: "span",
48
48
  typographyType: "supportingStyleLabel01",
49
- id: uniqueLabelId
50
- }, {
49
+ id: uniqueLabelId,
51
50
  children: label
52
- })), jsx(Group, Object.assign({}, groupProps, {
51
+ }), jsx(Group, Object.assign({}, groupProps, {
53
52
  children: children
54
53
  }))]
55
54
  }));
@@ -127,8 +127,7 @@ var Tooltip = /*#__PURE__*/forwardRef(function (props, ref) {
127
127
  return jsxs(Container, Object.assign({}, containerProps, {
128
128
  children: [anchorElement, jsxs(TooltipWrapper, Object.assign({}, wrapperProps, {
129
129
  elevation: 1,
130
- border: "light"
131
- }, {
130
+ border: "light",
132
131
  children: [text, jsx(ArrowWrapper, Object.assign({}, arrowWrapperProps, {
133
132
  children: jsxs(SvgArrow, {
134
133
  children: [jsx("path", {
@@ -13,8 +13,7 @@ var Caption = /*#__PURE__*/forwardRef(function (props, ref) {
13
13
  return jsx(Typography, Object.assign({}, getBaseHTMLProps(id, className, htmlProps, rest), {
14
14
  ref: ref,
15
15
  typographyType: "headingSans03",
16
- as: "caption"
17
- }, {
16
+ as: "caption",
18
17
  children: children
19
18
  }));
20
19
  });
@@ -24,8 +24,7 @@ var Label = /*#__PURE__*/forwardRef(function (props, ref) {
24
24
  rest = __rest(props, ["showRequiredStyling", "id", "className", "htmlProps", "children"]);
25
25
  return jsxs(Typography, Object.assign({}, getBaseHTMLProps(id, className, htmlProps, rest), {
26
26
  ref: ref,
27
- typographyType: "supportingStyleLabel01"
28
- }, {
27
+ typographyType: "supportingStyleLabel01",
29
28
  children: [children, " ", showRequiredStyling && jsx(RequiredMarker, {})]
30
29
  }));
31
30
  });
@@ -13,8 +13,7 @@ var Legend = /*#__PURE__*/forwardRef(function (props, ref) {
13
13
  return jsx(Typography, Object.assign({}, getBaseHTMLProps(id, className, htmlProps, rest), {
14
14
  ref: ref,
15
15
  as: "legend",
16
- typographyType: "headingSans03"
17
- }, {
16
+ typographyType: "headingSans03",
18
17
  children: children
19
18
  }));
20
19
  });
@@ -16,8 +16,7 @@ var VisuallyHidden = function VisuallyHidden(props) {
16
16
  rest = __rest(props, ["children", "id", "className", "htmlProps", "as"]);
17
17
  if (as === 'div') {
18
18
  return jsx(Wrapper, Object.assign({}, getBaseHTMLProps(id, className, htmlProps, rest), {
19
- as: as
20
- }, {
19
+ as: as,
21
20
  children: children
22
21
  }));
23
22
  }
@@ -9,16 +9,14 @@ var AnimatedChevronUpDown = function AnimatedChevronUpDown(_ref) {
9
9
  height = _ref$height === void 0 ? '5px' : _ref$height,
10
10
  _ref$width = _ref.width,
11
11
  width = _ref$width === void 0 ? '8px' : _ref$width;
12
- return jsx(SvgChevron, Object.assign({
12
+ return jsx(SvgChevron, {
13
13
  viewBox: "0 0 8 5",
14
14
  width: width,
15
15
  height: height,
16
16
  fill: "currentColor",
17
- isUp: isUp
18
- }, {
19
- children: jsxs(SvgChevronlGroup, Object.assign({
20
- isUp: isUp
21
- }, {
17
+ isUp: isUp,
18
+ children: jsxs(SvgChevronlGroup, {
19
+ isUp: isUp,
22
20
  children: [jsx(SvgChevronlLeft, {
23
21
  d: svgChevronLeftPath,
24
22
  isUp: isUp
@@ -26,8 +24,8 @@ var AnimatedChevronUpDown = function AnimatedChevronUpDown(_ref) {
26
24
  d: svgChevronRightPath,
27
25
  isUp: isUp
28
26
  })]
29
- }))
30
- }));
27
+ })
28
+ });
31
29
  };
32
30
 
33
31
  export { AnimatedChevronUpDown };
@@ -0,0 +1,2 @@
1
+ import { SvgProps } from '../utils/propTypes';
2
+ export declare function AgreementIcon(props: SvgProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { SvgWrapper } from '../utils/SvgWrapper.js';
3
+
4
+ function AgreementIcon(props) {
5
+ return jsx(SvgWrapper, Object.assign({}, props, {
6
+ children: jsx("path", {
7
+ d: "M12.22 19.85c-.18.18-.5.21-.71 0-.18-.18-.21-.5 0-.71l3.39-3.39-1.41-1.41-3.39 3.39c-.19.2-.51.19-.71 0-.21-.21-.18-.53 0-.71l3.39-3.39-1.41-1.41-3.39 3.39c-.18.18-.5.21-.71 0-.19-.19-.19-.51 0-.71l3.39-3.39-1.42-1.41-3.39 3.39c-.18.18-.5.21-.71 0-.19-.2-.19-.51 0-.71L9.52 8.4l1.87 1.86c.95.95 2.59.94 3.54 0 .98-.98.98-2.56 0-3.54l-1.86-1.86.28-.28c.78-.78 2.05-.78 2.83 0l4.24 4.24c.78.78.78 2.05 0 2.83l-8.2 8.2zm9.61-6.78c1.56-1.56 1.56-4.09 0-5.66l-4.24-4.24c-1.56-1.56-4.09-1.56-5.66 0l-.28.28-.28-.28c-1.56-1.56-4.09-1.56-5.66 0L2.17 6.71C.75 8.13.62 10.34 1.77 11.9l1.45-1.45c-.39-.75-.26-1.7.37-2.33l3.54-3.54c.78-.78 2.05-.78 2.83 0l3.56 3.56c.18.18.21.5 0 .71-.21.21-.53.18-.71 0L9.52 5.57l-5.8 5.79c-.98.97-.98 2.56 0 3.54.39.39.89.63 1.42.7.07.52.3 1.02.7 1.42.4.4.9.63 1.42.7.07.52.3 1.02.7 1.42.4.4.9.63 1.42.7.07.54.31 1.03.7 1.42.47.47 1.1.73 1.77.73.67 0 1.3-.26 1.77-.73l8.21-8.19z"
8
+ })
9
+ }));
10
+ }
11
+
12
+ export { AgreementIcon };
@@ -0,0 +1,2 @@
1
+ import { SvgProps } from '../utils/propTypes';
2
+ export declare function CaringIcon(props: SvgProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { SvgWrapper } from '../utils/SvgWrapper.js';
3
+
4
+ function CaringIcon(props) {
5
+ return jsx(SvgWrapper, Object.assign({}, props, {
6
+ children: jsx("path", {
7
+ d: "M16 13c3.09-2.81 6-5.44 6-7.7C22 3.45 20.55 2 18.7 2c-1.04 0-2.05.49-2.7 1.25C15.34 2.49 14.34 2 13.3 2 11.45 2 10 3.45 10 5.3c0 2.26 2.91 4.89 6 7.7zm-2.7-9c.44 0 .89.21 1.18.55L16 6.34l1.52-1.79c.29-.34.74-.55 1.18-.55.74 0 1.3.56 1.3 1.3 0 1.12-2.04 3.17-4 4.99-1.96-1.82-4-3.88-4-4.99 0-.74.56-1.3 1.3-1.3zM19 16h-2c0-1.2-.75-2.28-1.87-2.7L8.97 11H1v11h6v-1.44l7 1.94 8-2.5v-1c0-1.66-1.34-3-3-3zM3 20v-7h2v7H3zm10.97.41L7 18.48V13h1.61l5.82 2.17c.34.13.57.46.57.83 0 0-1.99-.05-2.3-.15l-2.38-.79-.63 1.9 2.38.79c.51.17 1.04.26 1.58.26H19c.39 0 .74.23.9.56l-5.93 1.84z"
8
+ })
9
+ }));
10
+ }
11
+
12
+ export { CaringIcon };
@@ -1,3 +1,4 @@
1
+ export * from './agreement';
1
2
  export * from './apps';
2
3
  export * from './archive';
3
4
  export * from './arrowDown';
@@ -15,6 +16,7 @@ export * from './calendarViewDay';
15
16
  export * from './calendarViewMonth';
16
17
  export * from './calendarViewWeek';
17
18
  export * from './call';
19
+ export * from './caring';
18
20
  export * from './chat';
19
21
  export * from './check';
20
22
  export * from './checkCircled';
@@ -99,6 +101,7 @@ export * from './notifications';
99
101
  export * from './notificationsOff';
100
102
  export * from './onlineMeeting';
101
103
  export * from './openExternal';
104
+ export * from './payout';
102
105
  export * from './pdf';
103
106
  export * from './person';
104
107
  export * from './personAdd';
@@ -10,8 +10,7 @@ function JordskifterettIcon(props) {
10
10
  height: "24"
11
11
  }, rest, {
12
12
  xmlns: "http://www.w3.org/2000/svg",
13
- viewBox: "0 0 24 24"
14
- }, {
13
+ viewBox: "0 0 24 24",
15
14
  children: [title && jsx("title", {
16
15
  children: title
17
16
  }), jsx("circle", {
@@ -0,0 +1,2 @@
1
+ import { SvgProps } from '../utils/propTypes';
2
+ export declare function PayoutIcon(props: SvgProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { SvgWrapper } from '../utils/SvgWrapper.js';
3
+
4
+ function PayoutIcon(props) {
5
+ return jsx(SvgWrapper, Object.assign({}, props, {
6
+ children: jsx("path", {
7
+ d: "M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v4h5v12H6zm5-1h2v-1h1c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1h-3v-1h4v-2h-2V9h-2v1h-1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h3v1H9v2h2v1z"
8
+ })
9
+ }));
10
+ }
11
+
12
+ export { PayoutIcon };
package/dist/index.js CHANGED
@@ -61,6 +61,7 @@ export { VisuallyHidden } from './components/VisuallyHidden/VisuallyHidden.js';
61
61
  export { Scrollbar } from './components/ScrollableContainer/Scrollbar.js';
62
62
  export { ScrollableContainer } from './components/ScrollableContainer/ScrollableContainer.js';
63
63
  export { scrollbarStyling } from './components/ScrollableContainer/scrollbarStyling.js';
64
+ export { AgreementIcon } from './icons/tsx/agreement.js';
64
65
  export { AppsIcon } from './icons/tsx/apps.js';
65
66
  export { ArchiveIcon } from './icons/tsx/archive.js';
66
67
  export { ArrowDownIcon } from './icons/tsx/arrowDown.js';
@@ -78,6 +79,7 @@ export { CalendarViewDayIcon } from './icons/tsx/calendarViewDay.js';
78
79
  export { CalendarViewMonthIcon } from './icons/tsx/calendarViewMonth.js';
79
80
  export { CalendarViewWeekIcon } from './icons/tsx/calendarViewWeek.js';
80
81
  export { CallIcon } from './icons/tsx/call.js';
82
+ export { CaringIcon } from './icons/tsx/caring.js';
81
83
  export { ChatIcon } from './icons/tsx/chat.js';
82
84
  export { CheckIcon } from './icons/tsx/check.js';
83
85
  export { CheckCircledIcon } from './icons/tsx/checkCircled.js';
@@ -162,6 +164,7 @@ export { NotificationsIcon } from './icons/tsx/notifications.js';
162
164
  export { NotificationsOffIcon } from './icons/tsx/notificationsOff.js';
163
165
  export { OnlineMeetingIcon } from './icons/tsx/onlineMeeting.js';
164
166
  export { OpenExternalIcon } from './icons/tsx/openExternal.js';
167
+ export { PayoutIcon } from './icons/tsx/payout.js';
165
168
  export { PdfIcon } from './icons/tsx/pdf.js';
166
169
  export { PersonIcon } from './icons/tsx/person.js';
167
170
  export { PersonAddIcon } from './icons/tsx/personAdd.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norges-domstoler/dds-components",
3
- "version": "13.4.0",
3
+ "version": "13.5.0",
4
4
  "description": "React components used in Elsa - domstolenes designsystem",
5
5
  "author": "Elsa team",
6
6
  "license": "MIT",
@@ -43,43 +43,43 @@
43
43
  "elsa"
44
44
  ],
45
45
  "devDependencies": {
46
- "@babel/core": "^7.21.0",
47
- "@babel/preset-env": "^7.20.2",
48
- "@babel/preset-react": "^7.18.6",
49
- "@mdx-js/react": "^2.2.1",
46
+ "@babel/core": "^7.22.5",
47
+ "@babel/preset-env": "^7.22.5",
48
+ "@babel/preset-react": "^7.22.5",
49
+ "@mdx-js/react": "^2.3.0",
50
50
  "@norges-domstoler/dds-design-tokens": "*",
51
51
  "@norges-domstoler/storybook-components": "*",
52
52
  "@rollup/plugin-babel": "^6.0.3",
53
- "@rollup/plugin-commonjs": "^24.0.0",
54
- "@rollup/plugin-image": "^3.0.1",
55
- "@rollup/plugin-node-resolve": "^15.0.1",
53
+ "@rollup/plugin-commonjs": "^25.0.1",
54
+ "@rollup/plugin-image": "^3.0.2",
55
+ "@rollup/plugin-node-resolve": "^15.1.0",
56
56
  "@storybook/blocks": "^7.0.20",
57
57
  "@testing-library/jest-dom": "^5.16.5",
58
58
  "@testing-library/react": "^14.0.0",
59
59
  "@testing-library/user-event": "^14.4.3",
60
- "@types/react": "^18.0.21",
61
- "@types/react-dom": "^18.0.11",
60
+ "@types/react": "^18.2.12",
61
+ "@types/react-dom": "^18.2.5",
62
62
  "@types/styled-components": "^5.1.26",
63
- "@typescript-eslint/eslint-plugin": "^5.54.1",
64
- "@typescript-eslint/parser": "^5.54.0",
63
+ "@typescript-eslint/eslint-plugin": "^5.59.11",
64
+ "@typescript-eslint/parser": "^5.59.11",
65
65
  "babel-loader": "^9.1.2",
66
- "babel-plugin-styled-components": "^2.0.7",
67
- "concurrently": "^8.0.1",
68
- "eslint": "^8.38.0",
69
- "eslint-config-prettier": "^8.7.0",
66
+ "babel-plugin-styled-components": "^2.1.3",
67
+ "concurrently": "^8.2.0",
68
+ "eslint": "^8.42.0",
69
+ "eslint-config-prettier": "^8.8.0",
70
70
  "eslint-plugin-prettier": "^4.2.1",
71
71
  "eslint-plugin-react": "^7.32.2",
72
- "jsdom": "^21.1.1",
72
+ "jsdom": "^22.1.0",
73
73
  "react": "^18.2.0",
74
74
  "react-dom": "^18.2.0",
75
- "rollup": "^3.10.0",
75
+ "rollup": "^3.25.1",
76
76
  "rollup-plugin-copy": "^3.4.0",
77
- "rollup-plugin-import-css": "^3.1.0",
77
+ "rollup-plugin-import-css": "^3.2.1",
78
78
  "rollup-plugin-sass": "^1.12.19",
79
79
  "rollup-plugin-typescript2": "^0.34.1",
80
- "typescript": "^5.0.2",
81
- "vite": "^4.2.1",
82
- "vitest": "^0.30.1"
80
+ "typescript": "^5.1.3",
81
+ "vite": "^4.3.9",
82
+ "vitest": "^0.32.0"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "@norges-domstoler/dds-design-tokens": "^3",
@@ -92,8 +92,8 @@
92
92
  "attr-accept": "^2.2.2",
93
93
  "file-selector": "^0.6.0",
94
94
  "focus-visible": "^5.2.0",
95
- "react-select": "^5.7.2",
96
- "tslib": "^2.4.0"
95
+ "react-select": "^5.7.3",
96
+ "tslib": "^2.5.3"
97
97
  },
98
98
  "publishConfig": {
99
99
  "provenance": true