@frontify/fondue-components 29.0.0 → 29.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/fondue-components111.js +15 -3
- package/dist/fondue-components111.js.map +1 -1
- package/dist/fondue-components112.js +127 -5
- package/dist/fondue-components112.js.map +1 -1
- package/dist/fondue-components113.js +11 -17
- package/dist/fondue-components113.js.map +1 -1
- package/dist/fondue-components114.js +36 -14
- package/dist/fondue-components114.js.map +1 -1
- package/dist/fondue-components115.js +14 -15
- package/dist/fondue-components115.js.map +1 -1
- package/dist/fondue-components116.js +15 -111
- package/dist/fondue-components116.js.map +1 -1
- package/dist/fondue-components117.js +110 -12
- package/dist/fondue-components117.js.map +1 -1
- package/dist/fondue-components118.js +13 -17
- package/dist/fondue-components118.js.map +1 -1
- package/dist/fondue-components119.js +17 -13
- package/dist/fondue-components119.js.map +1 -1
- package/dist/fondue-components120.js +12 -126
- package/dist/fondue-components120.js.map +1 -1
- package/dist/fondue-components121.js +217 -11
- package/dist/fondue-components121.js.map +1 -1
- package/dist/fondue-components122.js +17 -34
- package/dist/fondue-components122.js.map +1 -1
- package/dist/fondue-components123.js +14 -214
- package/dist/fondue-components123.js.map +1 -1
- package/dist/fondue-components124.js +149 -17
- package/dist/fondue-components124.js.map +1 -1
- package/dist/fondue-components125.js +44 -16
- package/dist/fondue-components125.js.map +1 -1
- package/dist/fondue-components126.js +4 -150
- package/dist/fondue-components126.js.map +1 -1
- package/dist/fondue-components127.js +4 -44
- package/dist/fondue-components127.js.map +1 -1
- package/dist/fondue-components128.js +28 -169
- package/dist/fondue-components128.js.map +1 -1
- package/dist/fondue-components130.js +41 -9
- package/dist/fondue-components130.js.map +1 -1
- package/dist/fondue-components131.js +6 -256
- package/dist/fondue-components131.js.map +1 -1
- package/dist/fondue-components132.js +11 -28
- package/dist/fondue-components132.js.map +1 -1
- package/dist/fondue-components133.js +74 -0
- package/dist/fondue-components133.js.map +1 -0
- package/dist/fondue-components134.js +14 -40
- package/dist/fondue-components134.js.map +1 -1
- package/dist/fondue-components135.js +7 -6
- package/dist/fondue-components135.js.map +1 -1
- package/dist/fondue-components136.js +88 -11
- package/dist/fondue-components136.js.map +1 -1
- package/dist/fondue-components137.js +79 -69
- package/dist/fondue-components137.js.map +1 -1
- package/dist/fondue-components138.js +30 -14
- package/dist/fondue-components138.js.map +1 -1
- package/dist/fondue-components139.js +170 -7
- package/dist/fondue-components139.js.map +1 -1
- package/dist/fondue-components140.js +57 -86
- package/dist/fondue-components140.js.map +1 -1
- package/dist/fondue-components141.js +9 -81
- package/dist/fondue-components141.js.map +1 -1
- package/dist/fondue-components142.js +254 -29
- package/dist/fondue-components142.js.map +1 -1
- package/dist/fondue-components145.js +2 -2
- package/dist/fondue-components147.js +2 -2
- package/dist/fondue-components148.js +1 -1
- package/dist/fondue-components43.js +2 -2
- package/dist/fondue-components50.js +1 -1
- package/dist/fondue-components60.js +2 -2
- package/dist/fondue-components61.js +3 -3
- package/dist/fondue-components62.js +2 -2
- package/dist/fondue-components74.js +2 -2
- package/dist/fondue-components77.js +1 -1
- package/dist/fondue-components78.js +1 -1
- package/dist/fondue-components79.js +1 -1
- package/dist/fondue-components82.js +1 -1
- package/dist/fondue-components84.js +2 -2
- package/dist/fondue-components90.js +2 -2
- package/dist/fondue-components91.js +2 -2
- package/dist/fondue-components92.js +2 -2
- package/dist/fondue-components93.js +2 -2
- package/dist/fondue-components94.js +1 -1
- package/dist/fondue-components95.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/fondue-components129.js +0 -63
- package/dist/fondue-components129.js.map +0 -1
|
@@ -1,34 +1,259 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"aria-hidden": "true"
|
|
15
|
-
}
|
|
16
|
-
) : null,
|
|
17
|
-
a ? /* @__PURE__ */ c(n, { children: [
|
|
18
|
-
/* @__PURE__ */ r(
|
|
19
|
-
l,
|
|
20
|
-
{
|
|
21
|
-
size: 16,
|
|
22
|
-
className: s.iconError,
|
|
23
|
-
"data-test-id": `${e}-error-icon`,
|
|
24
|
-
"aria-hidden": "true"
|
|
1
|
+
var m = Symbol.for("preact-signals");
|
|
2
|
+
function d() {
|
|
3
|
+
if (s > 1)
|
|
4
|
+
s--;
|
|
5
|
+
else {
|
|
6
|
+
for (var t, i = !1; u !== void 0; ) {
|
|
7
|
+
var o = u;
|
|
8
|
+
for (u = void 0, c++; o !== void 0; ) {
|
|
9
|
+
var n = o.o;
|
|
10
|
+
if (o.o = void 0, o.f &= -3, !(8 & o.f) && w(o)) try {
|
|
11
|
+
o.c();
|
|
12
|
+
} catch (h) {
|
|
13
|
+
i || (t = h, i = !0);
|
|
25
14
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
15
|
+
o = n;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
if (c = 0, s--, i) throw t;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
function E(t) {
|
|
22
|
+
if (s > 0) return t();
|
|
23
|
+
s++;
|
|
24
|
+
try {
|
|
25
|
+
return t();
|
|
26
|
+
} finally {
|
|
27
|
+
d();
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
var r = void 0;
|
|
31
|
+
function p(t) {
|
|
32
|
+
var i = r;
|
|
33
|
+
r = void 0;
|
|
34
|
+
try {
|
|
35
|
+
return t();
|
|
36
|
+
} finally {
|
|
37
|
+
r = i;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
var u = void 0, s = 0, c = 0, a = 0;
|
|
41
|
+
function y(t) {
|
|
42
|
+
if (r !== void 0) {
|
|
43
|
+
var i = t.n;
|
|
44
|
+
if (i === void 0 || i.t !== r)
|
|
45
|
+
return i = { i: 0, S: t, p: r.s, n: void 0, t: r, e: void 0, x: void 0, r: i }, r.s !== void 0 && (r.s.n = i), r.s = i, t.n = i, 32 & r.f && t.S(i), i;
|
|
46
|
+
if (i.i === -1)
|
|
47
|
+
return i.i = 0, i.n !== void 0 && (i.n.p = i.p, i.p !== void 0 && (i.p.n = i.n), i.p = r.s, i.n = void 0, r.s.n = i, r.s = i), i;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function f(t, i) {
|
|
51
|
+
this.v = t, this.i = 0, this.n = void 0, this.t = void 0, this.W = i == null ? void 0 : i.watched, this.Z = i == null ? void 0 : i.unwatched, this.name = i == null ? void 0 : i.name;
|
|
52
|
+
}
|
|
53
|
+
f.prototype.brand = m;
|
|
54
|
+
f.prototype.h = function() {
|
|
55
|
+
return !0;
|
|
56
|
+
};
|
|
57
|
+
f.prototype.S = function(t) {
|
|
58
|
+
var i = this, o = this.t;
|
|
59
|
+
o !== t && t.e === void 0 && (t.x = o, this.t = t, o !== void 0 ? o.e = t : p(function() {
|
|
60
|
+
var n;
|
|
61
|
+
(n = i.W) == null || n.call(i);
|
|
62
|
+
}));
|
|
63
|
+
};
|
|
64
|
+
f.prototype.U = function(t) {
|
|
65
|
+
var i = this;
|
|
66
|
+
if (this.t !== void 0) {
|
|
67
|
+
var o = t.e, n = t.x;
|
|
68
|
+
o !== void 0 && (o.x = n, t.e = void 0), n !== void 0 && (n.e = o, t.x = void 0), t === this.t && (this.t = n, n === void 0 && p(function() {
|
|
69
|
+
var h;
|
|
70
|
+
(h = i.Z) == null || h.call(i);
|
|
71
|
+
}));
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
f.prototype.subscribe = function(t) {
|
|
75
|
+
var i = this;
|
|
76
|
+
return U(function() {
|
|
77
|
+
var o = i.value, n = r;
|
|
78
|
+
r = void 0;
|
|
79
|
+
try {
|
|
80
|
+
t(o);
|
|
81
|
+
} finally {
|
|
82
|
+
r = n;
|
|
83
|
+
}
|
|
84
|
+
}, { name: "sub" });
|
|
85
|
+
};
|
|
86
|
+
f.prototype.valueOf = function() {
|
|
87
|
+
return this.value;
|
|
88
|
+
};
|
|
89
|
+
f.prototype.toString = function() {
|
|
90
|
+
return this.value + "";
|
|
91
|
+
};
|
|
92
|
+
f.prototype.toJSON = function() {
|
|
93
|
+
return this.value;
|
|
94
|
+
};
|
|
95
|
+
f.prototype.peek = function() {
|
|
96
|
+
var t = r;
|
|
97
|
+
r = void 0;
|
|
98
|
+
try {
|
|
99
|
+
return this.value;
|
|
100
|
+
} finally {
|
|
101
|
+
r = t;
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
Object.defineProperty(f.prototype, "value", { get: function() {
|
|
105
|
+
var t = y(this);
|
|
106
|
+
return t !== void 0 && (t.i = this.i), this.v;
|
|
107
|
+
}, set: function(t) {
|
|
108
|
+
if (t !== this.v) {
|
|
109
|
+
if (c > 100) throw new Error("Cycle detected");
|
|
110
|
+
this.v = t, this.i++, a++, s++;
|
|
111
|
+
try {
|
|
112
|
+
for (var i = this.t; i !== void 0; i = i.x) i.t.N();
|
|
113
|
+
} finally {
|
|
114
|
+
d();
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
} });
|
|
118
|
+
function N(t, i) {
|
|
119
|
+
return new f(t, i);
|
|
120
|
+
}
|
|
121
|
+
function w(t) {
|
|
122
|
+
for (var i = t.s; i !== void 0; i = i.n) if (i.S.i !== i.i || !i.S.h() || i.S.i !== i.i) return !0;
|
|
123
|
+
return !1;
|
|
124
|
+
}
|
|
125
|
+
function S(t) {
|
|
126
|
+
for (var i = t.s; i !== void 0; i = i.n) {
|
|
127
|
+
var o = i.S.n;
|
|
128
|
+
if (o !== void 0 && (i.r = o), i.S.n = i, i.i = -1, i.n === void 0) {
|
|
129
|
+
t.s = i;
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
function x(t) {
|
|
135
|
+
for (var i = t.s, o = void 0; i !== void 0; ) {
|
|
136
|
+
var n = i.p;
|
|
137
|
+
i.i === -1 ? (i.S.U(i), n !== void 0 && (n.n = i.n), i.n !== void 0 && (i.n.p = n)) : o = i, i.S.n = i.r, i.r !== void 0 && (i.r = void 0), i = n;
|
|
138
|
+
}
|
|
139
|
+
t.s = o;
|
|
140
|
+
}
|
|
141
|
+
function e(t, i) {
|
|
142
|
+
f.call(this, void 0), this.x = t, this.s = void 0, this.g = a - 1, this.f = 4, this.W = i == null ? void 0 : i.watched, this.Z = i == null ? void 0 : i.unwatched, this.name = i == null ? void 0 : i.name;
|
|
143
|
+
}
|
|
144
|
+
e.prototype = new f();
|
|
145
|
+
e.prototype.h = function() {
|
|
146
|
+
if (this.f &= -3, 1 & this.f) return !1;
|
|
147
|
+
if ((36 & this.f) == 32 || (this.f &= -5, this.g === a)) return !0;
|
|
148
|
+
if (this.g = a, this.f |= 1, this.i > 0 && !w(this))
|
|
149
|
+
return this.f &= -2, !0;
|
|
150
|
+
var t = r;
|
|
151
|
+
try {
|
|
152
|
+
S(this), r = this;
|
|
153
|
+
var i = this.x();
|
|
154
|
+
(16 & this.f || this.v !== i || this.i === 0) && (this.v = i, this.f &= -17, this.i++);
|
|
155
|
+
} catch (o) {
|
|
156
|
+
this.v = o, this.f |= 16, this.i++;
|
|
157
|
+
}
|
|
158
|
+
return r = t, x(this), this.f &= -2, !0;
|
|
159
|
+
};
|
|
160
|
+
e.prototype.S = function(t) {
|
|
161
|
+
if (this.t === void 0) {
|
|
162
|
+
this.f |= 36;
|
|
163
|
+
for (var i = this.s; i !== void 0; i = i.n) i.S.S(i);
|
|
164
|
+
}
|
|
165
|
+
f.prototype.S.call(this, t);
|
|
166
|
+
};
|
|
167
|
+
e.prototype.U = function(t) {
|
|
168
|
+
if (this.t !== void 0 && (f.prototype.U.call(this, t), this.t === void 0)) {
|
|
169
|
+
this.f &= -33;
|
|
170
|
+
for (var i = this.s; i !== void 0; i = i.n) i.S.U(i);
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
e.prototype.N = function() {
|
|
174
|
+
if (!(2 & this.f)) {
|
|
175
|
+
this.f |= 6;
|
|
176
|
+
for (var t = this.t; t !== void 0; t = t.x) t.t.N();
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
Object.defineProperty(e.prototype, "value", { get: function() {
|
|
180
|
+
if (1 & this.f) throw new Error("Cycle detected");
|
|
181
|
+
var t = y(this);
|
|
182
|
+
if (this.h(), t !== void 0 && (t.i = this.i), 16 & this.f) throw this.v;
|
|
183
|
+
return this.v;
|
|
184
|
+
} });
|
|
185
|
+
function O(t, i) {
|
|
186
|
+
return new e(t, i);
|
|
187
|
+
}
|
|
188
|
+
function b(t) {
|
|
189
|
+
var i = t.u;
|
|
190
|
+
if (t.u = void 0, typeof i == "function") {
|
|
191
|
+
s++;
|
|
192
|
+
var o = r;
|
|
193
|
+
r = void 0;
|
|
194
|
+
try {
|
|
195
|
+
i();
|
|
196
|
+
} catch (n) {
|
|
197
|
+
throw t.f &= -2, t.f |= 8, l(t), n;
|
|
198
|
+
} finally {
|
|
199
|
+
r = o, d();
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
function l(t) {
|
|
204
|
+
for (var i = t.s; i !== void 0; i = i.n) i.S.U(i);
|
|
205
|
+
t.x = void 0, t.s = void 0, b(t);
|
|
206
|
+
}
|
|
207
|
+
function g(t) {
|
|
208
|
+
if (r !== this) throw new Error("Out-of-order effect");
|
|
209
|
+
x(this), r = t, this.f &= -2, 8 & this.f && l(this), d();
|
|
210
|
+
}
|
|
211
|
+
function v(t, i) {
|
|
212
|
+
this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32, this.name = i == null ? void 0 : i.name;
|
|
213
|
+
}
|
|
214
|
+
v.prototype.c = function() {
|
|
215
|
+
var t = this.S();
|
|
216
|
+
try {
|
|
217
|
+
if (8 & this.f || this.x === void 0) return;
|
|
218
|
+
var i = this.x();
|
|
219
|
+
typeof i == "function" && (this.u = i);
|
|
220
|
+
} finally {
|
|
221
|
+
t();
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
v.prototype.S = function() {
|
|
225
|
+
if (1 & this.f) throw new Error("Cycle detected");
|
|
226
|
+
this.f |= 1, this.f &= -9, b(this), S(this), s++;
|
|
227
|
+
var t = r;
|
|
228
|
+
return r = this, g.bind(this, t);
|
|
229
|
+
};
|
|
230
|
+
v.prototype.N = function() {
|
|
231
|
+
2 & this.f || (this.f |= 2, this.o = u, u = this);
|
|
232
|
+
};
|
|
233
|
+
v.prototype.d = function() {
|
|
234
|
+
this.f |= 8, 1 & this.f || l(this);
|
|
235
|
+
};
|
|
236
|
+
v.prototype.dispose = function() {
|
|
237
|
+
this.d();
|
|
30
238
|
};
|
|
239
|
+
function U(t, i) {
|
|
240
|
+
var o = new v(t, i);
|
|
241
|
+
try {
|
|
242
|
+
o.c();
|
|
243
|
+
} catch (h) {
|
|
244
|
+
throw o.d(), h;
|
|
245
|
+
}
|
|
246
|
+
var n = o.d.bind(o);
|
|
247
|
+
return n[Symbol.dispose] = n, n;
|
|
248
|
+
}
|
|
31
249
|
export {
|
|
32
|
-
|
|
250
|
+
e as Computed,
|
|
251
|
+
v as Effect,
|
|
252
|
+
f as Signal,
|
|
253
|
+
E as batch,
|
|
254
|
+
O as computed,
|
|
255
|
+
U as effect,
|
|
256
|
+
N as signal,
|
|
257
|
+
p as untracked
|
|
33
258
|
};
|
|
34
259
|
//# sourceMappingURL=fondue-components142.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components142.js","sources":["../src/components/Select/components/StatusIcons.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { IconCheckMark, IconExclamationMarkTriangle } from '@frontify/fondue-icons';\nimport { type ReactNode } from 'react';\n\nimport { useTranslation } from '#/hooks/useTranslation';\n\nimport styles from '../styles/select.module.scss';\n\ntype StatusIconsProps = {\n /** The current status of the component. */\n status: 'neutral' | 'success' | 'error';\n /** Whether the component is in an error state (may differ from status when validation is involved). */\n hasError: boolean;\n /** The data-test-id prefix for the icons. */\n dataTestId: string;\n};\n\nexport const StatusIcons = ({ status, hasError, dataTestId }: StatusIconsProps): ReactNode => {\n const { t } = useTranslation();\n return (\n <>\n {status === 'success' ? (\n <IconCheckMark\n size={16}\n className={styles.iconSuccess}\n data-test-id={`${dataTestId}-success-icon`}\n aria-hidden=\"true\"\n />\n ) : null}\n {hasError ? (\n <>\n <IconExclamationMarkTriangle\n size={16}\n className={styles.iconError}\n data-test-id={`${dataTestId}-error-icon`}\n aria-hidden=\"true\"\n />\n <span className={styles.srOnly} role=\"alert\">\n {t('Select_error')}\n </span>\n </>\n ) : null}\n </>\n );\n};\n"],"names":["StatusIcons","status","hasError","dataTestId","useTranslation","jsxs","Fragment","jsx","IconCheckMark","styles","IconExclamationMarkTriangle"],"mappings":";;;;AAkBO,MAAMA,IAAc,CAAC,EAAE,QAAAC,GAAQ,UAAAC,GAAU,YAAAC,QAA8C;AAC1F,QAAM,EAAE,EAAA,IAAMC,EAAA;AACd,SACI,gBAAAC,EAAAC,GAAA,EACK,UAAA;AAAA,IAAAL,MAAW,YACR,gBAAAM;AAAA,MAACC;AAAA,MAAA;AAAA,QACG,MAAM;AAAA,QACN,WAAWC,EAAO;AAAA,QAClB,gBAAc,GAAGN,CAAU;AAAA,QAC3B,eAAY;AAAA,MAAA;AAAA,IAAA,IAEhB;AAAA,IACHD,IACG,gBAAAG,EAAAC,GAAA,EACI,UAAA;AAAA,MAAA,gBAAAC;AAAA,QAACG;AAAA,QAAA;AAAA,UACG,MAAM;AAAA,UACN,WAAWD,EAAO;AAAA,UAClB,gBAAc,GAAGN,CAAU;AAAA,UAC3B,eAAY;AAAA,QAAA;AAAA,MAAA;AAAA,MAEhB,gBAAAI,EAAC,UAAK,WAAWE,EAAO,QAAQ,MAAK,SAChC,UAAA,EAAE,cAAc,EAAA,CACrB;AAAA,IAAA,EAAA,CACJ,IACA;AAAA,EAAA,GACR;AAER;"}
|
|
1
|
+
{"version":3,"file":"fondue-components142.js","sources":["../../../node_modules/.pnpm/@preact+signals-core@1.13.0/node_modules/@preact/signals-core/dist/signals-core.module.js"],"sourcesContent":["var i=Symbol.for(\"preact-signals\");function t(){if(!(s>1)){var i,t=!1;while(void 0!==h){var n=h;h=void 0;v++;while(void 0!==n){var r=n.o;n.o=void 0;n.f&=-3;if(!(8&n.f)&&a(n))try{n.c()}catch(n){if(!t){i=n;t=!0}}n=r}}v=0;s--;if(t)throw i}else s--}function n(i){if(s>0)return i();s++;try{return i()}finally{t()}}var r=void 0;function o(i){var t=r;r=void 0;try{return i()}finally{r=t}}var f,h=void 0,s=0,v=0,u=0;function e(i){if(void 0!==r){var t=i.n;if(void 0===t||t.t!==r){t={i:0,S:i,p:r.s,n:void 0,t:r,e:void 0,x:void 0,r:t};if(void 0!==r.s)r.s.n=t;r.s=t;i.n=t;if(32&r.f)i.S(t);return t}else if(-1===t.i){t.i=0;if(void 0!==t.n){t.n.p=t.p;if(void 0!==t.p)t.p.n=t.n;t.p=r.s;t.n=void 0;r.s.n=t;r.s=t}return t}}}function d(i,t){this.v=i;this.i=0;this.n=void 0;this.t=void 0;this.W=null==t?void 0:t.watched;this.Z=null==t?void 0:t.unwatched;this.name=null==t?void 0:t.name}d.prototype.brand=i;d.prototype.h=function(){return!0};d.prototype.S=function(i){var t=this,n=this.t;if(n!==i&&void 0===i.e){i.x=n;this.t=i;if(void 0!==n)n.e=i;else o(function(){var i;null==(i=t.W)||i.call(t)})}};d.prototype.U=function(i){var t=this;if(void 0!==this.t){var n=i.e,r=i.x;if(void 0!==n){n.x=r;i.e=void 0}if(void 0!==r){r.e=n;i.x=void 0}if(i===this.t){this.t=r;if(void 0===r)o(function(){var i;null==(i=t.Z)||i.call(t)})}}};d.prototype.subscribe=function(i){var t=this;return m(function(){var n=t.value,o=r;r=void 0;try{i(n)}finally{r=o}},{name:\"sub\"})};d.prototype.valueOf=function(){return this.value};d.prototype.toString=function(){return this.value+\"\"};d.prototype.toJSON=function(){return this.value};d.prototype.peek=function(){var i=r;r=void 0;try{return this.value}finally{r=i}};Object.defineProperty(d.prototype,\"value\",{get:function(){var i=e(this);if(void 0!==i)i.i=this.i;return this.v},set:function(i){if(i!==this.v){if(v>100)throw new Error(\"Cycle detected\");this.v=i;this.i++;u++;s++;try{for(var n=this.t;void 0!==n;n=n.x)n.t.N()}finally{t()}}}});function c(i,t){return new d(i,t)}function a(i){for(var t=i.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function l(i){for(var t=i.s;void 0!==t;t=t.n){var n=t.S.n;if(void 0!==n)t.r=n;t.S.n=t;t.i=-1;if(void 0===t.n){i.s=t;break}}}function y(i){var t=i.s,n=void 0;while(void 0!==t){var r=t.p;if(-1===t.i){t.S.U(t);if(void 0!==r)r.n=t.n;if(void 0!==t.n)t.n.p=r}else n=t;t.S.n=t.r;if(void 0!==t.r)t.r=void 0;t=r}i.s=n}function w(i,t){d.call(this,void 0);this.x=i;this.s=void 0;this.g=u-1;this.f=4;this.W=null==t?void 0:t.watched;this.Z=null==t?void 0:t.unwatched;this.name=null==t?void 0:t.name}w.prototype=new d;w.prototype.h=function(){this.f&=-3;if(1&this.f)return!1;if(32==(36&this.f))return!0;this.f&=-5;if(this.g===u)return!0;this.g=u;this.f|=1;if(this.i>0&&!a(this)){this.f&=-2;return!0}var i=r;try{l(this);r=this;var t=this.x();if(16&this.f||this.v!==t||0===this.i){this.v=t;this.f&=-17;this.i++}}catch(i){this.v=i;this.f|=16;this.i++}r=i;y(this);this.f&=-2;return!0};w.prototype.S=function(i){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}d.prototype.S.call(this,i)};w.prototype.U=function(i){if(void 0!==this.t){d.prototype.U.call(this,i);if(void 0===this.t){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}}};w.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var i=this.t;void 0!==i;i=i.x)i.t.N()}};Object.defineProperty(w.prototype,\"value\",{get:function(){if(1&this.f)throw new Error(\"Cycle detected\");var i=e(this);this.h();if(void 0!==i)i.i=this.i;if(16&this.f)throw this.v;return this.v}});function b(i,t){return new w(i,t)}function _(i){var n=i.u;i.u=void 0;if(\"function\"==typeof n){s++;var o=r;r=void 0;try{n()}catch(t){i.f&=-2;i.f|=8;p(i);throw t}finally{r=o;t()}}}function p(i){for(var t=i.s;void 0!==t;t=t.n)t.S.U(t);i.x=void 0;i.s=void 0;_(i)}function g(i){if(r!==this)throw new Error(\"Out-of-order effect\");y(this);r=i;this.f&=-2;if(8&this.f)p(this);t()}function S(i,t){this.x=i;this.u=void 0;this.s=void 0;this.o=void 0;this.f=32;this.name=null==t?void 0:t.name;if(f)f.push(this)}S.prototype.c=function(){var i=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var t=this.x();if(\"function\"==typeof t)this.u=t}finally{i()}};S.prototype.S=function(){if(1&this.f)throw new Error(\"Cycle detected\");this.f|=1;this.f&=-9;_(this);l(this);s++;var i=r;r=this;return g.bind(this,i)};S.prototype.N=function(){if(!(2&this.f)){this.f|=2;this.o=h;h=this}};S.prototype.d=function(){this.f|=8;if(!(1&this.f))p(this)};S.prototype.dispose=function(){this.d()};function m(i,t){var n=new S(i,t);try{n.c()}catch(i){n.d();throw i}var r=n.d.bind(n);r[Symbol.dispose]=r;return r}function E(i){return function(){var t=arguments,r=this;return n(function(){return o(function(){return i.apply(r,[].slice.call(t))})})}}function x(){var i=f;f=[];return function(){var t=f;if(f&&i)i=i.concat(f);f=i;return t}}function C(i){return function(){var t,n,r=x();try{n=i.apply(void 0,[].slice.call(arguments))}catch(i){f=void 0;throw i}finally{t=r()}for(var o in n)if(\"function\"==typeof n[o])n[o]=E(n[o]);n[Symbol.dispose]=E(function(){if(t)for(var i=0;i<t.length;i++)t[i].dispose();t=void 0});return n}}export{w as Computed,S as Effect,d as Signal,E as action,n as batch,b as computed,C as createModel,m as effect,c as signal,o as untracked};//# sourceMappingURL=signals-core.module.js.map\n"],"names":["i","t","h","n","v","r","a","o","u","e","d","m","c","l","y","w","b","_","p","S"],"mappings":"AAAA,IAAIA,IAAE,OAAO,IAAI,gBAAgB;AAAE,SAASC,IAAG;AAAC,MAAK,IAAE;AAA0L;AAAA,OAAvL;AAAY,aAAPD,GAAEC,IAAE,IAAkBC,MAAT,UAAW;AAAC,UAAIC,IAAED;AAAe,WAAbA,IAAE,QAAOE,KAAmBD,MAAT,UAAW;AAAC,YAAIE,IAAEF,EAAE;AAAqB,YAAnBA,EAAE,IAAE,QAAOA,EAAE,KAAG,IAAM,EAAE,IAAEA,EAAE,MAAIG,EAAEH,CAAC,EAAE,KAAG;AAAC,UAAAA,EAAE,EAAC;AAAA,QAAE,SAAOA,GAAE;AAAC,UAAIF,MAAGD,IAAEG,GAAEF,IAAE;AAAA,QAAG;AAAC,QAAAE,IAAEE;AAAA,MAAC;AAAA,IAAC;AAAS,QAARD,IAAE,GAAE,KAAOH,EAAE,OAAMD;AAAA,EAAC;AAAS;AAAC,SAASG,EAAEH,GAAE;AAAC,MAAG,IAAE,EAAE,QAAOA,EAAC;AAAG;AAAI,MAAG;AAAC,WAAOA,EAAC;AAAA,EAAE,UAAC;AAAQ,IAAAC,EAAC;AAAA,EAAE;AAAC;AAAC,IAAI,IAAE;AAAO,SAASM,EAAEP,GAAE;AAAC,MAAIC,IAAE;AAAE,MAAE;AAAO,MAAG;AAAC,WAAOD,EAAC;AAAA,EAAE,UAAC;AAAQ,QAAEC;AAAA,EAAC;AAAC;AAAI,IAAGC,IAAE,QAAO,IAAE,GAAEE,IAAE,GAAEI,IAAE;AAAE,SAASC,EAAET,GAAE;AAAC,MAAY,MAAT,QAAW;AAAC,QAAIC,IAAED,EAAE;AAAE,QAAYC,MAAT,UAAYA,EAAE,MAAI;AAAG,aAAAA,IAAE,EAAC,GAAE,GAAE,GAAED,G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E,EAAE,EAAC;AAAA,EAAE,SAAOH,GAAE;AAAC,UAAAG,EAAE,EAAC,GAASH;AAAA,EAAC;AAAC,MAAIK,IAAEF,EAAE,EAAE,KAAKA,CAAC;AAAE,SAAAE,EAAE,OAAO,OAAO,IAAEA,GAASA;AAAC;","x_google_ignoreList":[0]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Droppable as rr, Draggable as ir, descriptor as sr, Sensor as ke, configurator as tt, ActivationController as or, Plugin as nt, CorePlugin as Vt, ActivationConstraint as Gt } from "@dnd-kit/abstract";
|
|
2
2
|
import { resolveCustomizable as mi } from "@dnd-kit/abstract";
|
|
3
3
|
import { DOMRectangle as L, ScrollDirection as I, PositionObserver as ar, Listeners as Jt, isElement as te, isKeyboardEvent as rt, scrollIntoViewIfNeeded as lr, getDocument as it, isPointerEvent as cr, isHTMLElement as Qt, getFrameTransform as xe, getEventCoordinates as ne, getDocuments as dr, scheduler as Zt, isInteractiveElement as ur, isTextInput as hr, getRoot as Oe, canScroll as fr, detectScrollIntent as pr, getScrollableAncestors as Lt, isDocument as vr, isShadowRoot as mr, getComputedStyles as en, parseTranslate as tn, getFixedPositionOffset as nn, Styles as gr, supportsPopover as Ft, showPopover as ve, getWindow as rn, prefersReducedMotion as sn, getElementFromPoint as yr, getFrameElement as zt, cloneElement as br, supportsStyle as Nt, generateUniqueId as _r, ProxiedElements as Kt, getFinalKeyframe as wr, animateTransform as Sr } from "./fondue-components146.js";
|
|
4
|
-
import { computed as Xt, deepEqual as Er, effects as kr, reactive as W, derived as Ne } from "./fondue-
|
|
4
|
+
import { computed as Xt, deepEqual as Er, effects as kr, reactive as W, derived as Ne } from "./fondue-components139.js";
|
|
5
5
|
import { Axes as on, Point as xr, Rectangle as an, exceedsDistance as Xe } from "./fondue-components147.js";
|
|
6
6
|
import { defaultCollisionDetection as Or } from "./fondue-components144.js";
|
|
7
|
-
import { untracked as P, signal as ln, effect as Me, batch as Ar } from "./fondue-
|
|
7
|
+
import { untracked as P, signal as ln, effect as Me, batch as Ar } from "./fondue-components142.js";
|
|
8
8
|
var Dr = Object.create, st = Object.defineProperty, Cr = Object.defineProperties, Tr = Object.getOwnPropertyDescriptor, Pr = Object.getOwnPropertyDescriptors, Ae = Object.getOwnPropertySymbols, cn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable, un = (e, t) => (t = Symbol[e]) ? t : Symbol.for("Symbol." + e), ie = (e) => {
|
|
9
9
|
throw TypeError(e);
|
|
10
10
|
}, Ye = (e, t, n) => t in e ? st(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, De = (e, t) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ValueHistory as W, derived as S } from "./fondue-
|
|
2
|
-
import { batch as G } from "./fondue-
|
|
1
|
+
import { ValueHistory as W, derived as S } from "./fondue-components139.js";
|
|
2
|
+
import { batch as G } from "./fondue-components142.js";
|
|
3
3
|
var N = Object.create, z = Object.defineProperty, T = Object.getOwnPropertyDescriptor, R = Object.getOwnPropertySymbols, B = Object.prototype.hasOwnProperty, J = Object.prototype.propertyIsEnumerable, I = (r, t) => (t = Symbol[r]) ? t : Symbol.for("Symbol." + r), p = (r) => {
|
|
4
4
|
throw TypeError(r);
|
|
5
5
|
}, A = Math.pow, g = (r, t, e) => t in r ? z(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e, K = (r, t) => {
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { IconCross as s } from "@frontify/fondue-icons";
|
|
3
3
|
import { Button as t } from "./fondue-components6.js";
|
|
4
4
|
import { useTranslation as a } from "./fondue-components42.js";
|
|
5
|
-
import l from "./fondue-
|
|
5
|
+
import l from "./fondue-components125.js";
|
|
6
6
|
const f = ({ onClear: r }) => {
|
|
7
7
|
const { t: o } = a();
|
|
8
8
|
return /* @__PURE__ */ e(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import s from "./fondue-
|
|
3
|
-
import { colorToCss as e } from "./fondue-
|
|
2
|
+
import s from "./fondue-components126.js";
|
|
3
|
+
import { colorToCss as e } from "./fondue-components127.js";
|
|
4
4
|
const a = ["default", "positive", "highlight", "warning", "negative"], i = (t) => typeof t == "string" && a.includes(t), p = ({ status: t }) => {
|
|
5
5
|
const o = i(t) ? { "data-status": t } : { style: { backgroundColor: typeof t == "string" ? t : e(t) || "transparent" } };
|
|
6
6
|
return /* @__PURE__ */ r("div", { "data-test-id": "badge-status", className: s.root, ...o });
|
|
@@ -3,7 +3,7 @@ import { IconDroplet as I, IconCross as k, IconCaretDown as v } from "@frontify/
|
|
|
3
3
|
import { forwardRef as P } from "react";
|
|
4
4
|
import { useTranslation as w } from "./fondue-components42.js";
|
|
5
5
|
import { Button as y } from "./fondue-components6.js";
|
|
6
|
-
import a from "./fondue-
|
|
6
|
+
import a from "./fondue-components111.js";
|
|
7
7
|
import { getColorWithName as z, colorToCss as x } from "./fondue-components53.js";
|
|
8
8
|
const c = ({
|
|
9
9
|
id: m,
|
|
@@ -3,8 +3,8 @@ import { IconCalendar as h, IconCross as D, IconCaretDown as N } from "@frontify
|
|
|
3
3
|
import { forwardRef as I, useMemo as k } from "react";
|
|
4
4
|
import { useTranslation as y } from "./fondue-components42.js";
|
|
5
5
|
import { Button as P } from "./fondue-components6.js";
|
|
6
|
-
import { getDateDisplayString as w } from "./fondue-
|
|
7
|
-
import t from "./fondue-
|
|
6
|
+
import { getDateDisplayString as w } from "./fondue-components115.js";
|
|
7
|
+
import t from "./fondue-components116.js";
|
|
8
8
|
const n = ({
|
|
9
9
|
id: c,
|
|
10
10
|
selected: s,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as c } from "react";
|
|
3
|
-
import { DatePickerCalendar as f } from "./fondue-
|
|
4
|
-
import { useDateRange as R } from "./fondue-
|
|
5
|
-
import { useRangeHover as g } from "./fondue-
|
|
3
|
+
import { DatePickerCalendar as f } from "./fondue-components117.js";
|
|
4
|
+
import { useDateRange as R } from "./fondue-components118.js";
|
|
5
|
+
import { useRangeHover as g } from "./fondue-components119.js";
|
|
6
6
|
const r = ({ "data-test-id": t, onChange: a, selected: o, ...i }, d) => {
|
|
7
7
|
const { selectedDateRange: e, handleSelect: n } = R(o, a), { hoverModifiers: s } = g(e);
|
|
8
8
|
return /* @__PURE__ */ m(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as c } from "react";
|
|
3
|
-
import { DatePickerCalendar as s } from "./fondue-
|
|
4
|
-
import { useSingleDate as m } from "./fondue-
|
|
3
|
+
import { DatePickerCalendar as s } from "./fondue-components117.js";
|
|
4
|
+
import { useSingleDate as m } from "./fondue-components120.js";
|
|
5
5
|
const e = ({ "data-test-id": t, onChange: r, selected: a, ...i }, o) => {
|
|
6
6
|
const { selectedDate: d, handleSelect: l } = m(a, r);
|
|
7
7
|
return /* @__PURE__ */ n(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import { useSortable as E } from "./fondue-
|
|
2
|
+
import { useSortable as E } from "./fondue-components112.js";
|
|
3
3
|
import { forwardRef as p, useRef as L, useState as v, useCallback as y, useMemo as C, useEffect as H } from "react";
|
|
4
|
-
import { OrderableItemContextProvider as N } from "./fondue-
|
|
4
|
+
import { OrderableItemContextProvider as N } from "./fondue-components113.js";
|
|
5
5
|
import h from "./fondue-components83.js";
|
|
6
6
|
const x = p((o, e) => null);
|
|
7
7
|
x.displayName = "OrderableListItem";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { Slot as m } from "@radix-ui/react-slot";
|
|
3
3
|
import { forwardRef as s } from "react";
|
|
4
|
-
import { useOrderableItemContext as n } from "./fondue-
|
|
4
|
+
import { useOrderableItemContext as n } from "./fondue-components113.js";
|
|
5
5
|
import p from "./fondue-components83.js";
|
|
6
6
|
const a = s(
|
|
7
7
|
({ children: e, asChild: r }, t) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { IconGrabHandle as o } from "@frontify/fondue-icons";
|
|
3
3
|
import { Slot as m } from "@radix-ui/react-slot";
|
|
4
|
-
import { useOrderableItemContext as t } from "./fondue-
|
|
4
|
+
import { useOrderableItemContext as t } from "./fondue-components113.js";
|
|
5
5
|
import r from "./fondue-components83.js";
|
|
6
6
|
const s = () => {
|
|
7
7
|
const { itemId: e, dragHandleRef: a } = t();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { Slot as i } from "@radix-ui/react-slot";
|
|
3
3
|
import { forwardRef as s } from "react";
|
|
4
|
-
import { useOrderableItemContext as l } from "./fondue-
|
|
4
|
+
import { useOrderableItemContext as l } from "./fondue-components113.js";
|
|
5
5
|
import a from "./fondue-components83.js";
|
|
6
6
|
const n = s(
|
|
7
7
|
({ children: t, asChild: e }, r) => {
|
|
@@ -2,7 +2,7 @@ import { jsxs as I, jsx as l } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo as f, Children as d, isValidElement as i } from "react";
|
|
3
3
|
import { OrderableListItemComponent as y, OrderableListItem as b } from "./fondue-components74.js";
|
|
4
4
|
import { OrderableListItemAction as g } from "./fondue-components75.js";
|
|
5
|
-
import { OrderableListItemContent as C } from "./fondue-
|
|
5
|
+
import { OrderableListItemContent as C } from "./fondue-components114.js";
|
|
6
6
|
import { OrderableItemDragHandle as c, OrderableItemCustomHandle as O } from "./fondue-components78.js";
|
|
7
7
|
import H from "./fondue-components83.js";
|
|
8
8
|
const L = (n) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { WeakStore as we, reactive as te } from "./fondue-
|
|
1
|
+
import { WeakStore as we, reactive as te } from "./fondue-components139.js";
|
|
2
2
|
import { defaultCollisionDetection as me, closestCorners as Se } from "./fondue-components144.js";
|
|
3
3
|
import { Droppable as Pe, Draggable as De, Scroller as Ee } from "./fondue-components145.js";
|
|
4
4
|
import { ProxiedElements as Ge, isKeyboardEvent as re, DOMRectangle as ne, getVisibleBoundingRectangle as Te, scrollIntoViewIfNeeded as ke, getComputedStyles as Me, computeTranslate as ie, prefersReducedMotion as je, getWindow as Ce, animateTransform as Re } from "./fondue-components146.js";
|
|
5
5
|
import { Plugin as ge } from "@dnd-kit/abstract";
|
|
6
6
|
import { Rectangle as se } from "./fondue-components147.js";
|
|
7
|
-
import { batch as w, untracked as oe, effect as Ae } from "./fondue-
|
|
7
|
+
import { batch as w, untracked as oe, effect as Ae } from "./fondue-components142.js";
|
|
8
8
|
var ze = Object.create, fe = Object.defineProperty, We = Object.defineProperties, $e = Object.getOwnPropertyDescriptor, Be = Object.getOwnPropertyDescriptors, J = Object.getOwnPropertySymbols, he = Object.prototype.hasOwnProperty, be = Object.prototype.propertyIsEnumerable, Le = (e, t) => (t = Symbol[e]) ? t : Symbol.for("Symbol." + e), N = (e) => {
|
|
9
9
|
throw TypeError(e);
|
|
10
10
|
}, U = (e, t, r) => t in e ? fe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ae = (e, t) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as u } from "react";
|
|
3
|
-
import { ComboboxBase as c } from "./fondue-
|
|
4
|
-
import { useMultiselect as b } from "./fondue-
|
|
3
|
+
import { ComboboxBase as c } from "./fondue-components121.js";
|
|
4
|
+
import { useMultiselect as b } from "./fondue-components122.js";
|
|
5
5
|
const a = ({ value: e, onSelect: o, defaultValue: t, ...l }, m) => {
|
|
6
6
|
const { selectedItemValues: r, toggleSelectedItem: p, clear: i } = b(o, e, t);
|
|
7
7
|
return /* @__PURE__ */ s(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as i } from "react";
|
|
3
|
-
import { ComboboxBase as a } from "./fondue-
|
|
4
|
-
import { useSingleSelect as b } from "./fondue-
|
|
3
|
+
import { ComboboxBase as a } from "./fondue-components121.js";
|
|
4
|
+
import { useSingleSelect as b } from "./fondue-components123.js";
|
|
5
5
|
const p = ({ value: e, onSelect: o, defaultValue: t, ...m }, l) => {
|
|
6
6
|
const { selectedItemValues: r, selectItem: s, clear: n } = b(o, e, t);
|
|
7
7
|
return /* @__PURE__ */ c(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as s } from "react";
|
|
3
|
-
import { SelectBase as u } from "./fondue-
|
|
4
|
-
import { useMultiselect as a } from "./fondue-
|
|
3
|
+
import { SelectBase as u } from "./fondue-components124.js";
|
|
4
|
+
import { useMultiselect as a } from "./fondue-components122.js";
|
|
5
5
|
const n = ({ value: e, onSelect: t, defaultValue: l, ...o }, r) => {
|
|
6
6
|
const { selectedItemValues: m, toggleSelectedItem: c, clear: i } = a(t, e, l);
|
|
7
7
|
return /* @__PURE__ */ p(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as i } from "react";
|
|
3
|
-
import { SelectBase as S } from "./fondue-
|
|
4
|
-
import { useSingleSelect as a } from "./fondue-
|
|
3
|
+
import { SelectBase as S } from "./fondue-components124.js";
|
|
4
|
+
import { useSingleSelect as a } from "./fondue-components123.js";
|
|
5
5
|
const p = ({ value: e, onSelect: t, defaultValue: l, ...o }, r) => {
|
|
6
6
|
const { selectedItemValues: m, selectItem: c, clear: s } = a(t, e, l);
|
|
7
7
|
return /* @__PURE__ */ n(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as d, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { IconCheckMark as n } from "@frontify/fondue-icons";
|
|
3
3
|
import { forwardRef as l } from "react";
|
|
4
|
-
import a from "./fondue-
|
|
4
|
+
import a from "./fondue-components125.js";
|
|
5
5
|
const o = ({ "data-test-id": c = "fondue-select-item", ...e }, t) => /* @__PURE__ */ d("li", { "data-test-id": c, ref: t, ...e, children: [
|
|
6
6
|
/* @__PURE__ */ r("div", { className: a.itemValue, children: e.children }),
|
|
7
7
|
/* @__PURE__ */ r(n, { className: a.checkmarkIcon })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as d } from "react";
|
|
3
|
-
import m from "./fondue-
|
|
3
|
+
import m from "./fondue-components125.js";
|
|
4
4
|
const t = ({ children: e, name: o, "data-test-id": r = "fondue-select-slot", ...a }, s) => /* @__PURE__ */ l("div", { "data-test-id": r, ref: s, className: m.slot, "data-name": o, ...a, children: e });
|
|
5
5
|
t.displayName = "Select.Slot";
|
|
6
6
|
const S = d(t);
|
package/dist/index.d.ts
CHANGED
|
@@ -526,13 +526,13 @@ declare type DatePickerBaseProps = {
|
|
|
526
526
|
'data-test-id'?: string;
|
|
527
527
|
};
|
|
528
528
|
|
|
529
|
-
declare type DatePickerDate = {
|
|
529
|
+
export declare type DatePickerDate = {
|
|
530
530
|
year: number;
|
|
531
531
|
month: number;
|
|
532
532
|
day: number;
|
|
533
533
|
} | undefined;
|
|
534
534
|
|
|
535
|
-
declare type DatePickerDateRange = {
|
|
535
|
+
export declare type DatePickerDateRange = {
|
|
536
536
|
from: DatePickerDate;
|
|
537
537
|
to: DatePickerDate;
|
|
538
538
|
} | undefined;
|