@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.
- package/dist/SearchField-d2UqvD48.js +639 -0
- package/dist/assets/MenuItem.css +1 -1
- package/dist/components/Account/AccountMenu.js +1 -1
- package/dist/components/ContextMenu/ContextMenu.js +1 -1
- package/dist/components/Dialog/DialogActions.js +1 -1
- package/dist/components/Forms/SearchField.js +1 -1
- package/dist/components/Forms/index.js +1 -1
- package/dist/components/GlobalHeader/AccountSelector.js +1 -1
- package/dist/components/GlobalMenu/GlobalMenu.js +1 -1
- package/dist/components/GlobalMenu/LocaleSwitcher.js +1 -1
- package/dist/components/GlobalMenu_old/GlobalMenu.js +1 -1
- package/dist/components/Header/LocaleSwitcher.js +1 -1
- package/dist/components/Layout/Layout.js +1 -1
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/MenuItem.js +110 -108
- package/dist/components/Menu/MenuItems.js +1 -1
- package/dist/components/Menu/MenuListSearch.js +1 -1
- package/dist/components/Menu/VirtualizedMenuItems.js +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Toolbar/SelectDateFilter.js +1 -1
- package/dist/components/Toolbar/ToolbarFilterAddMenu.js +1 -1
- package/dist/components/Toolbar/ToolbarFilterMenu.js +1 -1
- package/dist/components/Toolbar/ToolbarMenu.js +1 -1
- package/dist/components/Toolbar/ToolbarSearch.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarFilter.stories.d.ts +2 -4
- package/package.json +1 -1
- 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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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,208 +1,210 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as m, jsx as
|
|
3
|
-
import { c as
|
|
4
|
-
import { Badge as
|
|
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
|
|
6
|
+
import h, { forwardRef as X } from "react";
|
|
7
7
|
import "../Button/Button.js";
|
|
8
8
|
import "../RootProvider/RootProvider.js";
|
|
9
|
-
import { ItemMedia as
|
|
10
|
-
import { ItemLabel as
|
|
11
|
-
import { ItemControls as
|
|
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(
|
|
17
|
+
import '../../assets/MenuItem.css';var W = function(t, o) {
|
|
18
18
|
var a = {};
|
|
19
|
-
for (var
|
|
20
|
-
if (
|
|
21
|
-
for (var r = 0,
|
|
22
|
-
o.indexOf(
|
|
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
|
|
26
|
-
var { title: a, titleId:
|
|
27
|
-
let
|
|
28
|
-
return
|
|
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":
|
|
31
|
-
a ?
|
|
32
|
-
|
|
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
|
-
}),
|
|
35
|
-
item:
|
|
36
|
-
media:
|
|
37
|
-
label:
|
|
38
|
-
title:
|
|
39
|
-
description:
|
|
40
|
-
count:
|
|
41
|
-
linkIcon:
|
|
42
|
-
},
|
|
43
|
-
id:
|
|
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:
|
|
46
|
+
as: e,
|
|
47
47
|
href: r,
|
|
48
|
-
onClick:
|
|
48
|
+
onClick: l,
|
|
49
49
|
onChange: v,
|
|
50
50
|
onKeyPress: y,
|
|
51
|
-
onMouseEnter:
|
|
52
|
-
size:
|
|
53
|
-
variant:
|
|
54
|
-
color:
|
|
55
|
-
name:
|
|
56
|
-
value:
|
|
57
|
-
checked:
|
|
58
|
-
icon:
|
|
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:
|
|
61
|
+
controls: N,
|
|
62
62
|
title: p,
|
|
63
|
-
description:
|
|
63
|
+
description: O,
|
|
64
64
|
highlightWords: P,
|
|
65
|
-
count:
|
|
65
|
+
count: u,
|
|
66
66
|
linkIcon: j = !1,
|
|
67
|
-
disabled:
|
|
68
|
-
selected:
|
|
69
|
-
active:
|
|
67
|
+
disabled: c,
|
|
68
|
+
selected: S,
|
|
69
|
+
active: E,
|
|
70
70
|
tabIndex: k = 0,
|
|
71
|
-
className:
|
|
72
|
-
"data-testid":
|
|
71
|
+
className: R,
|
|
72
|
+
"data-testid": B,
|
|
73
73
|
...H
|
|
74
74
|
}) => {
|
|
75
|
-
const
|
|
75
|
+
const L = typeof _ == "function" ? _() : _, M = Y(H);
|
|
76
76
|
if (a === "checkbox" || a === "radio") {
|
|
77
|
-
const
|
|
77
|
+
const f = b || (s ? Z : tt);
|
|
78
78
|
return /* @__PURE__ */ m(
|
|
79
79
|
"label",
|
|
80
80
|
{
|
|
81
|
-
...
|
|
82
|
-
className:
|
|
83
|
-
id:
|
|
84
|
-
"data-id":
|
|
81
|
+
...M,
|
|
82
|
+
className: A(i.item, R),
|
|
83
|
+
id: t,
|
|
84
|
+
"data-id": t,
|
|
85
85
|
"data-group-id": o,
|
|
86
|
-
"data-size":
|
|
87
|
-
"data-variant":
|
|
88
|
-
"data-color":
|
|
89
|
-
"data-active":
|
|
86
|
+
"data-size": I,
|
|
87
|
+
"data-variant": g,
|
|
88
|
+
"data-color": w,
|
|
89
|
+
"data-active": E,
|
|
90
90
|
role: a,
|
|
91
|
-
"aria-disabled":
|
|
92
|
-
"aria-checked":
|
|
93
|
-
"aria-selected":
|
|
91
|
+
"aria-disabled": c,
|
|
92
|
+
"aria-checked": s,
|
|
93
|
+
"aria-selected": s,
|
|
94
|
+
"data-selected": s,
|
|
94
95
|
"aria-label": p,
|
|
95
|
-
"data-testid":
|
|
96
|
-
onKeyUp: (
|
|
97
|
-
|
|
96
|
+
"data-testid": B,
|
|
97
|
+
onKeyUp: (U) => {
|
|
98
|
+
c || (U.key === "Enter" && l?.(), y?.(U));
|
|
98
99
|
},
|
|
99
|
-
onClick:
|
|
100
|
-
onMouseEnter:
|
|
100
|
+
onClick: l,
|
|
101
|
+
onMouseEnter: x,
|
|
101
102
|
tabIndex: k,
|
|
102
103
|
children: [
|
|
103
|
-
/* @__PURE__ */
|
|
104
|
+
/* @__PURE__ */ n(
|
|
104
105
|
"input",
|
|
105
106
|
{
|
|
106
|
-
name:
|
|
107
|
-
value:
|
|
107
|
+
name: D,
|
|
108
|
+
value: G,
|
|
108
109
|
type: a,
|
|
109
|
-
checked: !!
|
|
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__ */
|
|
117
|
-
/* @__PURE__ */
|
|
118
|
-
|
|
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(
|
|
123
|
+
title: /* @__PURE__ */ m(z, { children: [
|
|
123
124
|
p,
|
|
124
125
|
" ",
|
|
125
|
-
|
|
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:
|
|
132
|
+
description: O,
|
|
132
133
|
descriptionProps: {
|
|
133
134
|
weight: "normal",
|
|
134
135
|
variant: "subtle",
|
|
135
136
|
className: i.description
|
|
136
137
|
},
|
|
137
|
-
children:
|
|
138
|
+
children: L
|
|
138
139
|
}
|
|
139
140
|
),
|
|
140
|
-
/* @__PURE__ */ m(
|
|
141
|
-
d && /* @__PURE__ */
|
|
142
|
-
|
|
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 =
|
|
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:
|
|
154
|
-
id:
|
|
155
|
-
"data-id":
|
|
154
|
+
className: A(i.item, R),
|
|
155
|
+
id: t,
|
|
156
|
+
"data-id": t,
|
|
156
157
|
"data-group-id": o,
|
|
157
|
-
"data-size":
|
|
158
|
-
"data-variant":
|
|
159
|
-
"data-color":
|
|
160
|
-
"data-active":
|
|
161
|
-
"aria-disabled":
|
|
162
|
-
"aria-selected":
|
|
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":
|
|
165
|
-
onKeyUp: (
|
|
166
|
-
|
|
166
|
+
"data-testid": B,
|
|
167
|
+
onKeyUp: (f) => {
|
|
168
|
+
c || (f.key === "Enter" && l?.(), y?.(f));
|
|
167
169
|
},
|
|
168
|
-
onClick:
|
|
169
|
-
onMouseEnter:
|
|
170
|
-
tabIndex:
|
|
170
|
+
onClick: l,
|
|
171
|
+
onMouseEnter: x,
|
|
172
|
+
tabIndex: c ? -1 : k ?? 0,
|
|
171
173
|
role: a === "menuItem" ? "menuitem" : a,
|
|
172
|
-
...
|
|
174
|
+
...M,
|
|
173
175
|
children: [
|
|
174
|
-
|
|
175
|
-
/* @__PURE__ */
|
|
176
|
-
|
|
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(
|
|
182
|
+
title: /* @__PURE__ */ m(z, { children: [
|
|
181
183
|
p,
|
|
182
184
|
" ",
|
|
183
|
-
|
|
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:
|
|
191
|
+
description: O,
|
|
190
192
|
descriptionProps: {
|
|
191
193
|
variant: "subtle",
|
|
192
194
|
className: i.description
|
|
193
195
|
},
|
|
194
|
-
children:
|
|
196
|
+
children: L
|
|
195
197
|
}
|
|
196
198
|
),
|
|
197
|
-
/* @__PURE__ */ m(
|
|
198
|
-
d && /* @__PURE__ */
|
|
199
|
-
|
|
200
|
-
j && /* @__PURE__ */
|
|
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
|
-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
7
|
+
import { S as f } from "../../SearchField-d2UqvD48.js";
|
|
8
8
|
const z = ({
|
|
9
9
|
value: r,
|
|
10
10
|
name: o,
|
package/dist/components/index.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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 {
|
|
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, }:
|
|
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;
|