@altinn/altinn-components 0.56.4 → 0.56.6

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 (29) hide show
  1. package/dist/SearchField-d2UqvD48.js +639 -0
  2. package/dist/assets/MenuItem.css +1 -1
  3. package/dist/components/Account/AccountMenu.js +1 -1
  4. package/dist/components/ContextMenu/ContextMenu.js +1 -1
  5. package/dist/components/Dialog/DialogActions.js +1 -1
  6. package/dist/components/Forms/SearchField.js +1 -1
  7. package/dist/components/Forms/index.js +1 -1
  8. package/dist/components/GlobalHeader/AccountSelector.js +1 -1
  9. package/dist/components/GlobalMenu/GlobalMenu.js +1 -1
  10. package/dist/components/GlobalMenu/LocaleSwitcher.js +1 -1
  11. package/dist/components/GlobalMenu_old/GlobalMenu.js +1 -1
  12. package/dist/components/Header/LocaleSwitcher.js +1 -1
  13. package/dist/components/Layout/Layout.js +1 -1
  14. package/dist/components/Menu/Menu.js +1 -1
  15. package/dist/components/Menu/MenuItem.js +110 -108
  16. package/dist/components/Menu/MenuItems.js +1 -1
  17. package/dist/components/Menu/MenuListSearch.js +1 -1
  18. package/dist/components/Menu/VirtualizedMenuItems.js +1 -1
  19. package/dist/components/Menu/index.js +1 -1
  20. package/dist/components/Toolbar/SelectDateFilter.js +1 -1
  21. package/dist/components/Toolbar/ToolbarFilterAddMenu.js +1 -1
  22. package/dist/components/Toolbar/ToolbarFilterMenu.js +1 -1
  23. package/dist/components/Toolbar/ToolbarMenu.js +1 -1
  24. package/dist/components/Toolbar/ToolbarSearch.js +1 -1
  25. package/dist/components/index.js +1 -1
  26. package/dist/index.js +1 -1
  27. package/dist/types/lib/components/Toolbar/ToolbarFilter.stories.d.ts +2 -4
  28. package/package.json +1 -1
  29. package/dist/SearchField-B7o23RCl.js +0 -637
@@ -12,7 +12,7 @@ import { FieldBase as B } from "./FieldBase.js";
12
12
  import { TextField as C } from "./TextField.js";
13
13
  import { TextareaField as R } from "./TextareaField.js";
14
14
  import { SelectField as u } from "./SelectField.js";
15
- import { S as I } from "../../SearchField-B7o23RCl.js";
15
+ import { S as I } from "../../SearchField-d2UqvD48.js";
16
16
  import { TextFieldDropdown as q } from "./TextFieldDropdown.js";
17
17
  import { FieldsetBase as y } from "./FieldsetBase.js";
18
18
  import { OptionsBase as A } from "./OptionsBase.js";
@@ -7,7 +7,7 @@ import { AccountMenu as L } from "../Account/AccountMenu.js";
7
7
  import { Button as A } from "../Button/Button.js";
8
8
  import { useRootContext as P } from "../RootProvider/RootProvider.js";
9
9
  import "../Snackbar/useSnackbar.js";
10
- import { S as H } from "../../SearchField-B7o23RCl.js";
10
+ import { S as H } from "../../SearchField-d2UqvD48.js";
11
11
  import { S as T } from "../../button-BB5sYVKY.js";
12
12
  import { H as V, S as B } from "../../switch-Cemfhx0H.js";
13
13
  import { u as j } from "../../useId-BVFxCjkq.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsxs as p, jsx as e } from "react/jsx-runtime";
3
3
  import { useState as d, useCallback as G, useEffect as L, useMemo as C } from "react";
4
- import { M as S } from "../../SearchField-B7o23RCl.js";
4
+ import { M as S } from "../../SearchField-d2UqvD48.js";
5
5
  import "../../index-p1eeF8LQ.js";
6
6
  import "../Button/Button.js";
7
7
  import "../RootProvider/RootProvider.js";
@@ -2,7 +2,7 @@
2
2
  import { jsx as a } from "react/jsx-runtime";
3
3
  import { useRef as g, useMemo as l } from "react";
4
4
  import { useEnterKey as v } from "../../hooks/useEnterKey.js";
5
- import { a as h } from "../../SearchField-B7o23RCl.js";
5
+ import { a as h } from "../../SearchField-d2UqvD48.js";
6
6
  import "../../index-p1eeF8LQ.js";
7
7
  import "../Button/Button.js";
8
8
  import { useRootContext as b } from "../RootProvider/RootProvider.js";
@@ -5,7 +5,7 @@ import "../../index-p1eeF8LQ.js";
5
5
  import { AccountMenu as x } from "../Account/AccountMenu.js";
6
6
  import "../Button/Button.js";
7
7
  import "../RootProvider/RootProvider.js";
8
- import { M as f } from "../../SearchField-B7o23RCl.js";
8
+ import { M as f } from "../../SearchField-d2UqvD48.js";
9
9
  import { MenuListItem as h } from "../Menu/MenuListItem.js";
10
10
  import { CurrentAccount as y } from "./CurrentAccount.js";
11
11
  import { BackButton as j } from "./BackButton.js";
@@ -6,7 +6,7 @@ import { useIsDesktop as b } from "../../hooks/useIsDesktop.js";
6
6
  import { DropdownBase as x } from "../Dropdown/DropdownBase.js";
7
7
  import "../../index-p1eeF8LQ.js";
8
8
  import "../Button/Button.js";
9
- import { a as p } from "../../SearchField-B7o23RCl.js";
9
+ import { a as p } from "../../SearchField-d2UqvD48.js";
10
10
  import { useRootContext as I } from "../RootProvider/RootProvider.js";
11
11
  import { LocaleButton as S } from "./LocaleButton.js";
12
12
  import "../Snackbar/useSnackbar.js";
@@ -9,7 +9,7 @@ import { GlobalHeader as L } from "../GlobalHeader/GlobalHeader.js";
9
9
  import "../../index-p1eeF8LQ.js";
10
10
  import "react";
11
11
  import "../Button/Button.js";
12
- import { M as S } from "../../SearchField-B7o23RCl.js";
12
+ import { M as S } from "../../SearchField-d2UqvD48.js";
13
13
  import { useRootContext as j } from "../RootProvider/RootProvider.js";
14
14
  import { Header as B } from "../Header/Header.js";
15
15
  import "../Snackbar/useSnackbar.js";
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { M as t } from "../../SearchField-B7o23RCl.js";
2
+ import { M as t } from "../../SearchField-d2UqvD48.js";
3
3
  import "./useMenuSearch.js";
4
4
  export {
5
5
  t as Menu
@@ -1,208 +1,210 @@
1
1
  "use client";
2
- import { jsxs as m, jsx as l, Fragment as U } from "react/jsx-runtime";
3
- import { c as z } from "../../index-p1eeF8LQ.js";
4
- import { Badge as A } from "../Badge/Badge.js";
2
+ import { jsxs as m, jsx as n, Fragment as z } from "react/jsx-runtime";
3
+ import { c as A } from "../../index-p1eeF8LQ.js";
4
+ import { Badge as C } from "../Badge/Badge.js";
5
5
  import { Icon as V } from "../Icon/Icon.js";
6
- import b, { forwardRef as X } from "react";
6
+ import h, { forwardRef as X } from "react";
7
7
  import "../Button/Button.js";
8
8
  import "../RootProvider/RootProvider.js";
9
- import { ItemMedia as C } from "../Item/ItemMedia.js";
10
- import { ItemLabel as F } from "../Item/ItemLabel.js";
11
- import { ItemControls as K } from "../Item/ItemControls.js";
9
+ import { ItemMedia as F } from "../Item/ItemMedia.js";
10
+ import { ItemLabel as K } from "../Item/ItemLabel.js";
11
+ import { ItemControls as q } from "../Item/ItemControls.js";
12
12
  import "../Snackbar/useSnackbar.js";
13
13
  import { pickAriaProps as Y } from "./aria.js";
14
14
  import { S as Z } from "../../Checkmark-Byz_C9x4.js";
15
15
  import { u as $ } from "../../useId-BVFxCjkq.js";
16
16
  import { S as T } from "../../ChevronRight-ANFWmIs1.js";
17
- import '../../assets/MenuItem.css';var W = function(e, o) {
17
+ import '../../assets/MenuItem.css';var W = function(t, o) {
18
18
  var a = {};
19
- for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && o.indexOf(t) < 0 && (a[t] = e[t]);
20
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
21
- for (var r = 0, t = Object.getOwnPropertySymbols(e); r < t.length; r++)
22
- o.indexOf(t[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[r]) && (a[t[r]] = e[t[r]]);
19
+ for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && o.indexOf(e) < 0 && (a[e] = t[e]);
20
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
21
+ for (var r = 0, e = Object.getOwnPropertySymbols(t); r < e.length; r++)
22
+ o.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[r]) && (a[e[r]] = t[e[r]]);
23
23
  return a;
24
24
  };
25
- const ee = X((e, o) => {
26
- var { title: a, titleId: t } = e, r = W(e, ["title", "titleId"]);
27
- let n = $();
28
- return n = a ? t || "title-" + n : void 0, b.createElement(
25
+ const tt = X((t, o) => {
26
+ var { title: a, titleId: e } = t, r = W(t, ["title", "titleId"]);
27
+ let l = $();
28
+ return l = a ? e || "title-" + l : void 0, h.createElement(
29
29
  "svg",
30
- Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": n }, r),
31
- a ? b.createElement("title", { id: n }, a) : null,
32
- b.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.75 12a.75.75 0 0 1 .75-.75h13a.75.75 0 1 1 0 1.5h-13a.75.75 0 0 1-.75-.75", clipRule: "evenodd" })
30
+ Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": l }, r),
31
+ a ? h.createElement("title", { id: l }, a) : null,
32
+ h.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.75 12a.75.75 0 0 1 .75-.75h13a.75.75 0 1 1 0 1.5h-13a.75.75 0 0 1-.75-.75", clipRule: "evenodd" })
33
33
  );
34
- }), te = "_item_hle97_3", ae = "_media_hle97_129", ie = "_label_hle97_150", re = "_title_hle97_165", le = "_description_hle97_169", ne = "_count_hle97_181", oe = "_linkIcon_hle97_189", i = {
35
- item: te,
36
- media: ae,
37
- label: ie,
38
- title: re,
39
- description: le,
40
- count: ne,
41
- linkIcon: oe
42
- }, Ne = ({
43
- id: e,
34
+ }), et = "_item_uhbxn_3", at = "_media_uhbxn_129", it = "_label_uhbxn_150", rt = "_title_uhbxn_165", nt = "_description_uhbxn_169", lt = "_count_uhbxn_181", ot = "_linkIcon_uhbxn_189", i = {
35
+ item: et,
36
+ media: at,
37
+ label: it,
38
+ title: rt,
39
+ description: nt,
40
+ count: lt,
41
+ linkIcon: ot
42
+ }, wt = ({
43
+ id: t,
44
44
  groupId: o,
45
45
  role: a = "menuItem",
46
- as: t,
46
+ as: e,
47
47
  href: r,
48
- onClick: n,
48
+ onClick: l,
49
49
  onChange: v,
50
50
  onKeyPress: y,
51
- onMouseEnter: I,
52
- size: g = "sm",
53
- variant: w,
54
- color: N,
55
- name: q,
56
- value: D,
57
- checked: c,
58
- icon: h,
51
+ onMouseEnter: x,
52
+ size: I = "sm",
53
+ variant: g,
54
+ color: w,
55
+ name: D,
56
+ value: G,
57
+ checked: s,
58
+ icon: b,
59
59
  label: _,
60
60
  badge: d,
61
- controls: O,
61
+ controls: N,
62
62
  title: p,
63
- description: x,
63
+ description: O,
64
64
  highlightWords: P,
65
- count: f,
65
+ count: u,
66
66
  linkIcon: j = !1,
67
- disabled: s,
68
- selected: G,
69
- active: S,
67
+ disabled: c,
68
+ selected: S,
69
+ active: E,
70
70
  tabIndex: k = 0,
71
- className: E,
72
- "data-testid": R,
71
+ className: R,
72
+ "data-testid": B,
73
73
  ...H
74
74
  }) => {
75
- const B = typeof _ == "function" ? _() : _, L = Y(H);
75
+ const L = typeof _ == "function" ? _() : _, M = Y(H);
76
76
  if (a === "checkbox" || a === "radio") {
77
- const u = h || (c ? Z : ee);
77
+ const f = b || (s ? Z : tt);
78
78
  return /* @__PURE__ */ m(
79
79
  "label",
80
80
  {
81
- ...L,
82
- className: z(i.item, E),
83
- id: e,
84
- "data-id": e,
81
+ ...M,
82
+ className: A(i.item, R),
83
+ id: t,
84
+ "data-id": t,
85
85
  "data-group-id": o,
86
- "data-size": g,
87
- "data-variant": w,
88
- "data-color": N,
89
- "data-active": S,
86
+ "data-size": I,
87
+ "data-variant": g,
88
+ "data-color": w,
89
+ "data-active": E,
90
90
  role: a,
91
- "aria-disabled": s,
92
- "aria-checked": c,
93
- "aria-selected": c,
91
+ "aria-disabled": c,
92
+ "aria-checked": s,
93
+ "aria-selected": s,
94
+ "data-selected": s,
94
95
  "aria-label": p,
95
- "data-testid": R,
96
- onKeyUp: (M) => {
97
- s || (M.key === "Enter" && n?.(), y?.(M));
96
+ "data-testid": B,
97
+ onKeyUp: (U) => {
98
+ c || (U.key === "Enter" && l?.(), y?.(U));
98
99
  },
99
- onClick: n,
100
- onMouseEnter: I,
100
+ onClick: l,
101
+ onMouseEnter: x,
101
102
  tabIndex: k,
102
103
  children: [
103
- /* @__PURE__ */ l(
104
+ /* @__PURE__ */ n(
104
105
  "input",
105
106
  {
106
- name: q,
107
- value: D,
107
+ name: D,
108
+ value: G,
108
109
  type: a,
109
- checked: !!c,
110
+ checked: !!s,
110
111
  onChange: v,
111
112
  readOnly: !v,
112
113
  style: { opacity: 0, position: "absolute" },
113
114
  tabIndex: -1
114
115
  }
115
116
  ),
116
- /* @__PURE__ */ l(C, { icon: u, className: i.media }),
117
- /* @__PURE__ */ l(
118
- F,
117
+ /* @__PURE__ */ n(F, { icon: f, className: i.media }),
118
+ /* @__PURE__ */ n(
119
+ K,
119
120
  {
120
121
  className: i.label,
121
122
  highlightWords: P,
122
- title: /* @__PURE__ */ m(U, { children: [
123
+ title: /* @__PURE__ */ m(z, { children: [
123
124
  p,
124
125
  " ",
125
- f && /* @__PURE__ */ l("i", { className: i.count, children: f })
126
+ u && /* @__PURE__ */ n("i", { className: i.count, children: u })
126
127
  ] }),
127
128
  titleProps: {
128
129
  weight: "medium",
129
130
  className: i.title
130
131
  },
131
- description: x,
132
+ description: O,
132
133
  descriptionProps: {
133
134
  weight: "normal",
134
135
  variant: "subtle",
135
136
  className: i.description
136
137
  },
137
- children: B
138
+ children: L
138
139
  }
139
140
  ),
140
- /* @__PURE__ */ m(K, { children: [
141
- d && /* @__PURE__ */ l(A, { ...d }),
142
- O
141
+ /* @__PURE__ */ m(q, { children: [
142
+ d && /* @__PURE__ */ n(C, { ...d }),
143
+ N
143
144
  ] })
144
145
  ]
145
146
  }
146
147
  );
147
148
  }
148
- const J = t || (r ? "a" : "button"), Q = j && T;
149
+ const J = e || (r ? "a" : "button"), Q = j && T;
149
150
  return /* @__PURE__ */ m(
150
151
  J,
151
152
  {
152
153
  href: r,
153
- className: z(i.item, E),
154
- id: e,
155
- "data-id": e,
154
+ className: A(i.item, R),
155
+ id: t,
156
+ "data-id": t,
156
157
  "data-group-id": o,
157
- "data-size": g,
158
- "data-variant": w,
159
- "data-color": N,
160
- "data-active": S,
161
- "aria-disabled": s,
162
- "aria-selected": G,
158
+ "data-size": I,
159
+ "data-variant": g,
160
+ "data-color": w,
161
+ "data-active": E,
162
+ "aria-disabled": c,
163
+ "aria-selected": S,
164
+ "data-selected": S,
163
165
  "aria-label": p,
164
- "data-testid": R,
165
- onKeyUp: (u) => {
166
- s || (u.key === "Enter" && n?.(), y?.(u));
166
+ "data-testid": B,
167
+ onKeyUp: (f) => {
168
+ c || (f.key === "Enter" && l?.(), y?.(f));
167
169
  },
168
- onClick: n,
169
- onMouseEnter: I,
170
- tabIndex: s ? -1 : k ?? 0,
170
+ onClick: l,
171
+ onMouseEnter: x,
172
+ tabIndex: c ? -1 : k ?? 0,
171
173
  role: a === "menuItem" ? "menuitem" : a,
172
- ...L,
174
+ ...M,
173
175
  children: [
174
- h && /* @__PURE__ */ l(C, { icon: h, className: i.media }),
175
- /* @__PURE__ */ l(
176
- F,
176
+ b && /* @__PURE__ */ n(F, { icon: b, className: i.media }),
177
+ /* @__PURE__ */ n(
178
+ K,
177
179
  {
178
180
  className: i.label,
179
181
  highlightWords: P,
180
- title: /* @__PURE__ */ m(U, { children: [
182
+ title: /* @__PURE__ */ m(z, { children: [
181
183
  p,
182
184
  " ",
183
- f && /* @__PURE__ */ l("i", { className: i.count, children: f })
185
+ u && /* @__PURE__ */ n("i", { className: i.count, children: u })
184
186
  ] }),
185
187
  titleProps: {
186
188
  weight: "medium",
187
189
  className: i.title
188
190
  },
189
- description: x,
191
+ description: O,
190
192
  descriptionProps: {
191
193
  variant: "subtle",
192
194
  className: i.description
193
195
  },
194
- children: B
196
+ children: L
195
197
  }
196
198
  ),
197
- /* @__PURE__ */ m(K, { children: [
198
- d && /* @__PURE__ */ l(A, { ...d }),
199
- O,
200
- j && /* @__PURE__ */ l(V, { svgElement: Q, className: i.linkIcon })
199
+ /* @__PURE__ */ m(q, { children: [
200
+ d && /* @__PURE__ */ n(C, { ...d }),
201
+ N,
202
+ j && /* @__PURE__ */ n(V, { svgElement: Q, className: i.linkIcon })
201
203
  ] })
202
204
  ]
203
205
  }
204
206
  );
205
207
  };
206
208
  export {
207
- Ne as MenuItem
209
+ wt as MenuItem
208
210
  };
@@ -4,7 +4,7 @@ import "../../index-p1eeF8LQ.js";
4
4
  import "../../hooks/useMenu.js";
5
5
  import "../Button/Button.js";
6
6
  import "../RootProvider/RootProvider.js";
7
- import { a as b } from "../../SearchField-B7o23RCl.js";
7
+ import { a as b } from "../../SearchField-d2UqvD48.js";
8
8
  import "./MenuItem.js";
9
9
  import "./MenuList.js";
10
10
  import "./MenuListItem.js";
@@ -3,7 +3,7 @@ import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
4
  import "../Button/Button.js";
5
5
  import "../RootProvider/RootProvider.js";
6
- import { b as s } from "../../SearchField-B7o23RCl.js";
6
+ import { b as s } from "../../SearchField-d2UqvD48.js";
7
7
  import "../Snackbar/useSnackbar.js";
8
8
  export {
9
9
  s as MenuListSearch
@@ -4,7 +4,7 @@ import "../../index-p1eeF8LQ.js";
4
4
  import "../../hooks/useMenu.js";
5
5
  import "../Button/Button.js";
6
6
  import "../RootProvider/RootProvider.js";
7
- import { V as z } from "../../SearchField-B7o23RCl.js";
7
+ import { V as z } from "../../SearchField-d2UqvD48.js";
8
8
  import "./MenuItem.js";
9
9
  import "./MenuList.js";
10
10
  import "./MenuListItem.js";
@@ -1,4 +1,4 @@
1
- import { M as t, a as o, b as n, V as u } from "../../SearchField-B7o23RCl.js";
1
+ import { M as t, a as o, b as n, V as u } from "../../SearchField-d2UqvD48.js";
2
2
  import { MenuItem as M } from "./MenuItem.js";
3
3
  import { MenuList as s } from "./MenuList.js";
4
4
  import { MenuListItem as a } from "./MenuListItem.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
2
  import { useState as b } from "react";
3
- import { M as g } from "../../SearchField-B7o23RCl.js";
3
+ import { M as g } from "../../SearchField-d2UqvD48.js";
4
4
  import "../../index-p1eeF8LQ.js";
5
5
  import "../Button/Button.js";
6
6
  import "../RootProvider/RootProvider.js";
@@ -5,7 +5,7 @@ import { Button as b } from "../Button/Button.js";
5
5
  import "../../index-p1eeF8LQ.js";
6
6
  import { Dropdown as O } from "../Dropdown/Dropdown.js";
7
7
  import "../RootProvider/RootProvider.js";
8
- import { M as I } from "../../SearchField-B7o23RCl.js";
8
+ import { M as I } from "../../SearchField-d2UqvD48.js";
9
9
  import { useDropdownMenuController as x } from "../Menu/useDropdownMenuController.js";
10
10
  import "../Snackbar/useSnackbar.js";
11
11
  import { u as R } from "../../useId-BVFxCjkq.js";
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
2
2
  import { useRef as q, useEffect as G } from "react";
3
3
  import "../../index-p1eeF8LQ.js";
4
4
  import "../Button/Button.js";
5
- import { M as H } from "../../SearchField-B7o23RCl.js";
5
+ import { M as H } from "../../SearchField-d2UqvD48.js";
6
6
  import { useDropdownMenuController as J } from "../Menu/useDropdownMenuController.js";
7
7
  import "../RootProvider/RootProvider.js";
8
8
  import "../Snackbar/useSnackbar.js";
@@ -4,7 +4,7 @@ import "../../index-p1eeF8LQ.js";
4
4
  import "react";
5
5
  import { Dropdown as c } from "../Dropdown/Dropdown.js";
6
6
  import "../RootProvider/RootProvider.js";
7
- import { M as b } from "../../SearchField-B7o23RCl.js";
7
+ import { M as b } from "../../SearchField-d2UqvD48.js";
8
8
  import { useDropdownMenuController as f } from "../Menu/useDropdownMenuController.js";
9
9
  import "../Snackbar/useSnackbar.js";
10
10
  import { S as h } from "../../ChevronUpDown-DqGsU4MC.js";
@@ -4,7 +4,7 @@ import "react";
4
4
  import "../Button/Button.js";
5
5
  import "../RootProvider/RootProvider.js";
6
6
  import "../Snackbar/useSnackbar.js";
7
- import { S as f } from "../../SearchField-B7o23RCl.js";
7
+ import { S as f } from "../../SearchField-d2UqvD48.js";
8
8
  const z = ({
9
9
  value: r,
10
10
  name: o,
@@ -96,7 +96,7 @@ import { ListItemControls as Ge } from "./List/ListItemControls.js";
96
96
  import { ListItemSelect as Ee } from "./List/ListItemSelect.js";
97
97
  import { ListItem as Re } from "./List/ListItem.js";
98
98
  import { List as Ve } from "./List/List.js";
99
- import { M as Qe, a as _e, b as je, S as qe, V as Je } from "../SearchField-B7o23RCl.js";
99
+ import { M as Qe, a as _e, b as je, S as qe, V as Je } from "../SearchField-d2UqvD48.js";
100
100
  import { MenuItem as We } from "./Menu/MenuItem.js";
101
101
  import { MenuList as Ye } from "./Menu/MenuList.js";
102
102
  import { MenuListItem as $e } from "./Menu/MenuListItem.js";
package/dist/index.js CHANGED
@@ -96,7 +96,7 @@ import { ListItemControls as Ge } from "./components/List/ListItemControls.js";
96
96
  import { ListItemSelect as Ee } from "./components/List/ListItemSelect.js";
97
97
  import { ListItem as Re } from "./components/List/ListItem.js";
98
98
  import { List as Ve } from "./components/List/List.js";
99
- import { M as Qe, a as _e, b as Ke, S as je, V as qe } from "./SearchField-B7o23RCl.js";
99
+ import { M as Qe, a as _e, b as Ke, S as je, V as qe } from "./SearchField-d2UqvD48.js";
100
100
  import { MenuItem as We } from "./components/Menu/MenuItem.js";
101
101
  import { MenuList as Ye } from "./components/Menu/MenuList.js";
102
102
  import { MenuListItem as $e } from "./components/Menu/MenuListItem.js";
@@ -1,13 +1,11 @@
1
- import { StoryObj } from '@storybook/react-vite';
1
+ import { ToolbarFilterProps } from './ToolbarFilter';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: ({ filters, filterState, onFilterStateChange, addLabel, addNextLabel, resetLabel, removeLabel, submitLabel, getFilterLabel, virtualized, }: import('./ToolbarFilter').ToolbarFilterProps) => import("react/jsx-runtime").JSX.Element;
4
+ component: ({ filters, filterState, onFilterStateChange, addLabel, addNextLabel, resetLabel, removeLabel, submitLabel, getFilterLabel, virtualized, }: ToolbarFilterProps) => import("react/jsx-runtime").JSX.Element;
5
5
  parameters: {};
6
6
  args: {};
7
7
  };
8
8
  export default meta;
9
- type Story = StoryObj<typeof meta>;
10
- export declare const Uncontrolled: Story;
11
9
  export declare const Controlled: () => import("react/jsx-runtime").JSX.Element;
12
10
  export declare const Removable: () => import("react/jsx-runtime").JSX.Element;
13
11
  export declare const Datepicker: () => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altinn/altinn-components",
3
- "version": "0.56.4",
3
+ "version": "0.56.6",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist/",