@krosoft/react 0.0.176 → 0.0.178
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/README.md +20 -0
- package/dist/{AppActions-CwPaiNx1.js → AppActions-DEkRxBia.js} +4 -4
- package/dist/{AppSubTitle-6JLlE8Vf.js → AppSubTitle-ChCtQ7Sv.js} +1 -1
- package/dist/{AppVerticalTabs-BkZkxL_K.js → AppVerticalTabs-BSU6M8OU.js} +3 -3
- package/dist/{ConfirmationDialog-t5QtNOQO.js → ConfirmationDialog-Ht4e-1Lg.js} +5 -5
- package/dist/{DataTable-CfCXm_D_.js → DataTable-ny08K506.js} +4 -4
- package/dist/{GenericForm-DXclmweK.js → GenericForm-COQEdT9e.js} +7 -7
- package/dist/{ImageInput-BqoCekqh.js → ImageInput-BoYUZx9H.js} +4 -4
- package/dist/{KpiCardsLayout-BhEoJhJ9.js → KpiCardsLayout-C4Ds3BEl.js} +6 -6
- package/dist/{MetricCard-C7kgpgRl.js → MetricCard-CvQFjIOb.js} +1 -1
- package/dist/{MultiSelect-BFdaRnIO.js → MultiSelect-DF7-91OW.js} +25 -29
- package/dist/{SearchInput-Dg5Aw2lv.js → SearchInput-ClZbbRWg.js} +38 -37
- package/dist/{SkeletonCards-DemfjUfD.js → SkeletonCards-BvJYF_LK.js} +4 -4
- package/dist/{TableFilter-WWNz4Nua.js → TableFilter-Dbo7qkgR.js} +51 -47
- package/dist/{ThemeSelector-BwrbKW-4.js → ThemeSelector-BFC37dSl.js} +2 -2
- package/dist/{Topbar-D55ou5Uk.js → Topbar-CFmKB_S2.js} +2 -2
- package/dist/components/core/cards/index.js +2 -2
- package/dist/components/core/dialogs/index.js +2 -2
- package/dist/components/core/filters/SearchableFilterPill.d.ts.map +1 -1
- package/dist/components/core/filters/index.js +1 -1
- package/dist/components/core/forms/index.js +1 -1
- package/dist/components/core/index.js +16 -16
- package/dist/components/core/inputs/MultiSelect.d.ts.map +1 -1
- package/dist/components/core/inputs/SearchableSelect.d.ts.map +1 -1
- package/dist/components/core/inputs/index.js +3 -3
- package/dist/components/core/layouts/index.js +3 -3
- package/dist/components/core/navbar/index.js +1 -1
- package/dist/components/core/table/index.js +1 -1
- package/dist/components/core/tabs/index.js +1 -1
- package/dist/components/core/theme/index.js +1 -1
- package/dist/components/index.js +67 -65
- package/dist/components/ui/control.d.ts +18 -0
- package/dist/components/ui/control.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +49 -47
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/{select-BwcXfUqZ.js → select-BpjFWqAY.js} +44 -54
- package/dist/{sheet-DOncI9p6.js → sheet-B_uq6-K_.js} +38 -35
- package/dist/tailwind/index.d.ts +15 -4
- package/dist/tailwind/index.d.ts.map +1 -1
- package/dist/tailwind/index.js +5 -3
- package/dist/{toaster-S0xacBVZ.js → toaster-B6XKMRwI.js} +1 -1
- package/dist/{toggle-group-DC5hqQ4H.js → toggle-group-D6c-gM1D.js} +1 -1
- package/dist/{tooltip-OY3E8Lo0.js → tooltip-DVeqVwqV.js} +24 -19
- package/package.json +1 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsxs as u, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useState as F, useEffect as
|
|
3
|
-
import { a as
|
|
4
|
-
import { B as k, a$ as
|
|
2
|
+
import { useState as F, useEffect as O, useMemo as A } from "react";
|
|
3
|
+
import { a as $, D as j, b as M, S as I } from "./SearchInput-ClZbbRWg.js";
|
|
4
|
+
import { B as k, a$ as z, bv as B, bx as R, bw as Q, $ as C } from "./toggle-group-D6c-gM1D.js";
|
|
5
5
|
import "./alert-B9F1N9Qk.js";
|
|
6
6
|
import "@radix-ui/react-aspect-ratio";
|
|
7
|
-
import { B as w } from "./tooltip-
|
|
7
|
+
import { B as w, e as V } from "./tooltip-DVeqVwqV.js";
|
|
8
8
|
import "@radix-ui/react-collapsible";
|
|
9
|
-
import { I as P, S as
|
|
10
|
-
import { XIcon as E, Filter as
|
|
9
|
+
import { I as P, S as _, i as H, b as X, e as G, h as J, d as K } from "./sheet-B_uq6-K_.js";
|
|
10
|
+
import { XIcon as E, Filter as U, ChevronDown as W, Search as Y } from "lucide-react";
|
|
11
11
|
import "react-resizable-panels";
|
|
12
12
|
import "clsx";
|
|
13
13
|
import "tailwind-merge";
|
|
14
|
-
import { S as
|
|
14
|
+
import { S as Z, h as q, i as ee, a as re, c as te } from "./select-BpjFWqAY.js";
|
|
15
15
|
import "next-themes";
|
|
16
16
|
import "sonner";
|
|
17
|
-
import { c as
|
|
18
|
-
import { M as
|
|
17
|
+
import { c as T } from "./tailwind.helper-B6yFEsav.js";
|
|
18
|
+
import { M as le } from "./MultiSelect-DF7-91OW.js";
|
|
19
19
|
const L = (a, n, c = {}) => {
|
|
20
20
|
if (n instanceof Date)
|
|
21
21
|
return n.toLocaleDateString("fr-FR");
|
|
22
22
|
const i = String(n), d = c[`${a}_${i}`];
|
|
23
23
|
return d !== void 0 ? d : a.includes("ok") || n === "true" || n === "false" ? n === "true" ? "Oui" : "Non" : i;
|
|
24
24
|
};
|
|
25
|
-
function
|
|
25
|
+
function ae({ filters: a, onRemoveFilter: n, onClearAll: c, filterLabels: i = {}, optionLabels: d = {} }) {
|
|
26
26
|
const o = Object.entries(a).filter(([h, m]) => !(m == null || m === "" || Array.isArray(m) && m.length === 0));
|
|
27
27
|
return o.length === 0 ? null : /* @__PURE__ */ u("div", { className: "flex flex-wrap items-center gap-2 mb-4", children: [
|
|
28
28
|
/* @__PURE__ */ r("span", { className: "text-sm text-gray-600 font-medium", children: "Filtres actifs :" }),
|
|
@@ -75,7 +75,7 @@ function le({ filters: a, onRemoveFilter: n, onClearAll: c, filterLabels: i = {}
|
|
|
75
75
|
o.length > 0 && /* @__PURE__ */ r("button", { onClick: c, className: "text-xs text-red-500 hover:text-red-600 transition-colors font-medium ml-auto", children: "Effacer tout" })
|
|
76
76
|
] });
|
|
77
77
|
}
|
|
78
|
-
const
|
|
78
|
+
const se = ({
|
|
79
79
|
field: a,
|
|
80
80
|
value: n,
|
|
81
81
|
onChange: c,
|
|
@@ -110,7 +110,7 @@ const ae = ({
|
|
|
110
110
|
);
|
|
111
111
|
case "select":
|
|
112
112
|
return a.searchable === !0 ? /* @__PURE__ */ r(
|
|
113
|
-
|
|
113
|
+
M,
|
|
114
114
|
{
|
|
115
115
|
options: a.options ?? [],
|
|
116
116
|
value: n,
|
|
@@ -118,17 +118,17 @@ const ae = ({
|
|
|
118
118
|
placeholder: a.placeholder,
|
|
119
119
|
searchPlaceholder: a.searchPlaceholder
|
|
120
120
|
}
|
|
121
|
-
) : /* @__PURE__ */ u(
|
|
122
|
-
/* @__PURE__ */ r(
|
|
123
|
-
/* @__PURE__ */ r(
|
|
121
|
+
) : /* @__PURE__ */ u(Z, { value: n ?? "", onValueChange: c, children: [
|
|
122
|
+
/* @__PURE__ */ r(q, { className: T((n === void 0 || n === "") && "text-muted-foreground"), children: /* @__PURE__ */ r(ee, { placeholder: a.placeholder }) }),
|
|
123
|
+
/* @__PURE__ */ r(re, { children: (d = a.options) == null ? void 0 : d.map((o) => /* @__PURE__ */ r(te, { value: o.value, children: o.label }, o.value)) })
|
|
124
124
|
] });
|
|
125
125
|
case "date":
|
|
126
|
-
return /* @__PURE__ */ r(
|
|
126
|
+
return /* @__PURE__ */ r(j, { date: n, onDateChange: c, placeholder: a.placeholder ?? "Sélectionner une date" });
|
|
127
127
|
case "date-range":
|
|
128
|
-
return /* @__PURE__ */ r(
|
|
128
|
+
return /* @__PURE__ */ r($, { value: n, onChange: c, placeholder: a.placeholder });
|
|
129
129
|
case "multi-select":
|
|
130
130
|
return /* @__PURE__ */ r(
|
|
131
|
-
|
|
131
|
+
le,
|
|
132
132
|
{
|
|
133
133
|
options: a.options ?? [],
|
|
134
134
|
selected: n ?? [],
|
|
@@ -145,8 +145,8 @@ const ae = ({
|
|
|
145
145
|
default:
|
|
146
146
|
return null;
|
|
147
147
|
}
|
|
148
|
-
},
|
|
149
|
-
function
|
|
148
|
+
}, ne = (a) => !(a == null || a === "" || Array.isArray(a) && a.length === 0);
|
|
149
|
+
function ce({
|
|
150
150
|
sections: a,
|
|
151
151
|
filters: n,
|
|
152
152
|
onFiltersChange: c,
|
|
@@ -154,7 +154,7 @@ function ne({
|
|
|
154
154
|
sheetTitle: d = "Filtres avancés"
|
|
155
155
|
}) {
|
|
156
156
|
const [o, h] = F(!1), [m, b] = F(n);
|
|
157
|
-
|
|
157
|
+
O(() => {
|
|
158
158
|
b(n);
|
|
159
159
|
}, [n, o]);
|
|
160
160
|
const g = (l, e) => {
|
|
@@ -168,22 +168,22 @@ function ne({
|
|
|
168
168
|
b({}), c({}), h(!1);
|
|
169
169
|
}, v = A(() => {
|
|
170
170
|
const l = new Set(a.flatMap((e) => e.filters.map((t) => t.key)));
|
|
171
|
-
return Object.entries(n).filter(([e, t]) => l.has(e) &&
|
|
171
|
+
return Object.entries(n).filter(([e, t]) => l.has(e) && ne(t)).length;
|
|
172
172
|
}, [a, n]);
|
|
173
|
-
return /* @__PURE__ */ u(
|
|
174
|
-
/* @__PURE__ */ r(
|
|
175
|
-
/* @__PURE__ */ r(
|
|
173
|
+
return /* @__PURE__ */ u(_, { open: o, onOpenChange: h, children: [
|
|
174
|
+
/* @__PURE__ */ r(H, { asChild: !0, children: /* @__PURE__ */ u(w, { variant: "outline", className: "gap-2", children: [
|
|
175
|
+
/* @__PURE__ */ r(U, { className: "size-4 shrink-0" }),
|
|
176
176
|
i,
|
|
177
177
|
v > 0 && /* @__PURE__ */ r("span", { className: "ml-1 flex h-5 min-w-5 items-center justify-center rounded-full bg-primary px-1.5 text-xs font-semibold text-primary-foreground", children: v })
|
|
178
178
|
] }) }),
|
|
179
|
-
/* @__PURE__ */ u(
|
|
180
|
-
/* @__PURE__ */ r(
|
|
179
|
+
/* @__PURE__ */ u(X, { side: "right", className: "w-[400px] sm:w-[500px] flex flex-col p-0", children: [
|
|
180
|
+
/* @__PURE__ */ r(G, { className: "p-6 pb-0", children: /* @__PURE__ */ r(J, { children: d }) }),
|
|
181
181
|
/* @__PURE__ */ r("div", { className: "flex-1 overflow-y-auto p-6 pt-6", children: /* @__PURE__ */ r("div", { className: "space-y-6", children: a.map((l, e) => /* @__PURE__ */ u("div", { className: "space-y-4", children: [
|
|
182
182
|
/* @__PURE__ */ r("h3", { className: "font-semibold text-sm text-gray-900 dark:text-gray-100 border-b pb-2", children: l.title }),
|
|
183
183
|
l.filters.map((t) => /* @__PURE__ */ u("div", { className: "space-y-2", children: [
|
|
184
|
-
/* @__PURE__ */ r(
|
|
184
|
+
/* @__PURE__ */ r(z, { htmlFor: t.key, children: t.label }),
|
|
185
185
|
/* @__PURE__ */ r(
|
|
186
|
-
|
|
186
|
+
se,
|
|
187
187
|
{
|
|
188
188
|
field: t,
|
|
189
189
|
value: m[t.key],
|
|
@@ -197,14 +197,14 @@ function ne({
|
|
|
197
197
|
)
|
|
198
198
|
] }, t.key))
|
|
199
199
|
] }, e)) }) }),
|
|
200
|
-
/* @__PURE__ */ u(
|
|
200
|
+
/* @__PURE__ */ u(K, { className: "gap-2 p-6 border-t bg-white dark:bg-gray-950", children: [
|
|
201
201
|
/* @__PURE__ */ r(w, { variant: "outline", className: "flex-1", onClick: y, children: "Effacer les filtres" }),
|
|
202
202
|
/* @__PURE__ */ r(w, { className: "flex-1 bg-orange-500 hover:bg-orange-600 text-white", onClick: p, children: "Rechercher" })
|
|
203
203
|
] })
|
|
204
204
|
] })
|
|
205
205
|
] });
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function oe({
|
|
208
208
|
label: a,
|
|
209
209
|
options: n,
|
|
210
210
|
selected: c,
|
|
@@ -233,7 +233,7 @@ function ce({
|
|
|
233
233
|
});
|
|
234
234
|
};
|
|
235
235
|
return /* @__PURE__ */ u(
|
|
236
|
-
|
|
236
|
+
B,
|
|
237
237
|
{
|
|
238
238
|
onOpenChange: () => {
|
|
239
239
|
g("");
|
|
@@ -242,17 +242,21 @@ function ce({
|
|
|
242
242
|
/* @__PURE__ */ r(R, { asChild: !0, children: /* @__PURE__ */ u(
|
|
243
243
|
"button",
|
|
244
244
|
{
|
|
245
|
-
className:
|
|
245
|
+
className: T(
|
|
246
|
+
V,
|
|
247
|
+
"inline-flex items-center gap-1.5 whitespace-nowrap transition-colors",
|
|
248
|
+
x ? "border-primary bg-primary/10 text-primary font-medium" : "hover:bg-muted"
|
|
249
|
+
),
|
|
246
250
|
children: [
|
|
247
251
|
a,
|
|
248
252
|
c.length > 0 && /* @__PURE__ */ r("span", { className: "flex h-4 min-w-[16px] items-center justify-center rounded-full bg-primary px-1 text-[10px] font-bold text-primary-foreground", children: c.length }),
|
|
249
|
-
/* @__PURE__ */ r(
|
|
253
|
+
/* @__PURE__ */ r(W, { className: "size-3.5 opacity-60" })
|
|
250
254
|
]
|
|
251
255
|
}
|
|
252
256
|
) }),
|
|
253
|
-
/* @__PURE__ */ u(
|
|
257
|
+
/* @__PURE__ */ u(Q, { className: "w-56 p-0", align: "start", children: [
|
|
254
258
|
h ? /* @__PURE__ */ r("div", { className: "border-b border-border p-2", children: /* @__PURE__ */ u("div", { className: "relative", children: [
|
|
255
|
-
/* @__PURE__ */ r(
|
|
259
|
+
/* @__PURE__ */ r(Y, { className: "absolute left-2 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-muted-foreground" }),
|
|
256
260
|
/* @__PURE__ */ r(
|
|
257
261
|
"input",
|
|
258
262
|
{
|
|
@@ -303,7 +307,7 @@ function ce({
|
|
|
303
307
|
}
|
|
304
308
|
);
|
|
305
309
|
}
|
|
306
|
-
function
|
|
310
|
+
function Ce({
|
|
307
311
|
searchQuery: a,
|
|
308
312
|
onSearchChange: n,
|
|
309
313
|
searchPlaceholder: c = "Rechercher...",
|
|
@@ -314,7 +318,7 @@ function ke({
|
|
|
314
318
|
sheetTitle: m = "Filtres avancés"
|
|
315
319
|
}) {
|
|
316
320
|
const b = (e, t) => {
|
|
317
|
-
const s = i[e], f = Array.isArray(s) ? s : [], N = f.includes(t) ? f.filter((
|
|
321
|
+
const s = i[e], f = Array.isArray(s) ? s : [], N = f.includes(t) ? f.filter((D) => D !== t) : [...f, t], S = { ...i };
|
|
318
322
|
N.length === 0 ? delete S[e] : S[e] = N, d(S);
|
|
319
323
|
}, g = (e) => {
|
|
320
324
|
const t = { ...i };
|
|
@@ -358,7 +362,7 @@ function ke({
|
|
|
358
362
|
/* @__PURE__ */ u("div", { className: "flex flex-wrap items-center gap-3 justify-between", children: [
|
|
359
363
|
/* @__PURE__ */ u("div", { className: "flex flex-wrap items-center gap-3", children: [
|
|
360
364
|
n !== void 0 ? /* @__PURE__ */ r(
|
|
361
|
-
|
|
365
|
+
I,
|
|
362
366
|
{
|
|
363
367
|
searchQuery: a,
|
|
364
368
|
onSearch: n,
|
|
@@ -369,7 +373,7 @@ function ke({
|
|
|
369
373
|
}
|
|
370
374
|
) : null,
|
|
371
375
|
y.map((e) => /* @__PURE__ */ r(
|
|
372
|
-
|
|
376
|
+
oe,
|
|
373
377
|
{
|
|
374
378
|
label: e.label,
|
|
375
379
|
options: e.options,
|
|
@@ -389,10 +393,10 @@ function ke({
|
|
|
389
393
|
e.key
|
|
390
394
|
))
|
|
391
395
|
] }),
|
|
392
|
-
o.length > 0 && /* @__PURE__ */ r(
|
|
396
|
+
o.length > 0 && /* @__PURE__ */ r(ce, { sections: o, filters: i, onFiltersChange: d, buttonText: h, sheetTitle: m })
|
|
393
397
|
] }),
|
|
394
398
|
/* @__PURE__ */ r(
|
|
395
|
-
|
|
399
|
+
ae,
|
|
396
400
|
{
|
|
397
401
|
filters: i,
|
|
398
402
|
onRemoveFilter: p,
|
|
@@ -404,9 +408,9 @@ function ke({
|
|
|
404
408
|
] });
|
|
405
409
|
}
|
|
406
410
|
export {
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
411
|
+
ae as A,
|
|
412
|
+
se as F,
|
|
413
|
+
oe as S,
|
|
414
|
+
Ce as T,
|
|
415
|
+
ce as a
|
|
412
416
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as s } from "react/jsx-runtime";
|
|
2
|
-
import { b as m, T as h, c as u, B as g, a as f } from "./tooltip-
|
|
3
|
-
import { S as v, h as b, i as N, a as S, c as x } from "./select-
|
|
2
|
+
import { b as m, T as h, c as u, B as g, a as f } from "./tooltip-DVeqVwqV.js";
|
|
3
|
+
import { S as v, h as b, i as N, a as S, c as x } from "./select-BpjFWqAY.js";
|
|
4
4
|
import { u as C } from "./useTheme-CSr_h5xJ.js";
|
|
5
5
|
function I({ themeOptions: r, variant: i = "select" }) {
|
|
6
6
|
const { theme: n, handleThemeChange: t, currentThemeOption: e, nextThemeOption: c, cycleTheme: o } = C(r);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e, Fragment as D } from "react/jsx-runtime";
|
|
2
2
|
import * as K from "react";
|
|
3
3
|
import { ChevronDownIcon as $, SearchIcon as L, MenuIcon as M } from "lucide-react";
|
|
4
|
-
import { T as B, c as Q, a as R, b as q, B as F } from "./tooltip-
|
|
4
|
+
import { T as B, c as Q, a as R, b as q, B as F } from "./tooltip-DVeqVwqV.js";
|
|
5
5
|
import { c as l } from "./tailwind.helper-B6yFEsav.js";
|
|
6
6
|
import "./sidebar.context-D5nywlmP.js";
|
|
7
7
|
import { u as W } from "./useSidebar-BJuALHqQ.js";
|
|
8
8
|
import "react-i18next";
|
|
9
9
|
import "next-themes";
|
|
10
|
-
import { I as G, S as H, b as _, h as E, c as J } from "./sheet-
|
|
10
|
+
import { I as G, S as H, b as _, h as E, c as J } from "./sheet-B_uq6-K_.js";
|
|
11
11
|
import { S as O } from "./skeleton-BX4RcsiK.js";
|
|
12
12
|
const z = (a, d, m) => d === a ? !0 : a === "/" || !d.startsWith(`${a}/`) ? !1 : !m.some(
|
|
13
13
|
(i) => i !== a && i.startsWith(`${a}/`) && (d === i || d.startsWith(`${i}/`))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as s, M as d } from "../../../MetricCard-
|
|
2
|
-
import { K as o, a as C, S as t, b as p } from "../../../SkeletonCards-
|
|
1
|
+
import { D as s, M as d } from "../../../MetricCard-CvQFjIOb.js";
|
|
2
|
+
import { K as o, a as C, S as t, b as p } from "../../../SkeletonCards-BvJYF_LK.js";
|
|
3
3
|
export {
|
|
4
4
|
s as DashboardCard,
|
|
5
5
|
o as KpiCard,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as i, C as s, F as g } from "../../../ConfirmationDialog-
|
|
2
|
-
import { D as r, a as D, b as e, c as t, d as n, e as p, f, g as m, h as C, i as F, P } from "../../../toggle-group-
|
|
1
|
+
import { A as i, C as s, F as g } from "../../../ConfirmationDialog-Ht4e-1Lg.js";
|
|
2
|
+
import { D as r, a as D, b as e, c as t, d as n, e as p, f, g as m, h as C, i as F, P } from "../../../toggle-group-D6c-gM1D.js";
|
|
3
3
|
export {
|
|
4
4
|
i as AppDialog,
|
|
5
5
|
s as ConfirmationDialog,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchableFilterPill.d.ts","sourceRoot":"","sources":["../../../../src/components/core/filters/SearchableFilterPill.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SearchableFilterPill.d.ts","sourceRoot":"","sources":["../../../../src/components/core/filters/SearchableFilterPill.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,EAAE,EACrD,KAAK,EACL,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,WAAW,EACX,UAAkB,EAClB,iBAAmC,GACpC,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,EAAE,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,GAAG,KAAK,CAAC,YAAY,CA+HrB"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { D as r, M as o } from "../../MetricCard-
|
|
2
|
-
import { K as t, a as i, S as l, b as p } from "../../SkeletonCards-
|
|
3
|
-
import { A as m, C as d, F as g } from "../../ConfirmationDialog-
|
|
4
|
-
import { D as A, a as D, b as T, c as n, d as c, e as x, f as S, g as C, h as F, i as P, P as h } from "../../toggle-group-
|
|
5
|
-
import { A as k, a as H, F as I, S as K, T as v } from "../../TableFilter-
|
|
6
|
-
import { G as M } from "../../GenericForm-
|
|
7
|
-
import { I as L } from "../../ImageInput-
|
|
8
|
-
import { D as G, a as N, S as O, b as R } from "../../SearchInput-
|
|
9
|
-
import { M as j } from "../../MultiSelect-
|
|
10
|
-
import { A as w } from "../../AppActions-
|
|
11
|
-
import { A as J, K as Q } from "../../KpiCardsLayout-
|
|
12
|
-
import { A as W } from "../../AppSubTitle-
|
|
1
|
+
import { D as r, M as o } from "../../MetricCard-CvQFjIOb.js";
|
|
2
|
+
import { K as t, a as i, S as l, b as p } from "../../SkeletonCards-BvJYF_LK.js";
|
|
3
|
+
import { A as m, C as d, F as g } from "../../ConfirmationDialog-Ht4e-1Lg.js";
|
|
4
|
+
import { D as A, a as D, b as T, c as n, d as c, e as x, f as S, g as C, h as F, i as P, P as h } from "../../toggle-group-D6c-gM1D.js";
|
|
5
|
+
import { A as k, a as H, F as I, S as K, T as v } from "../../TableFilter-Dbo7qkgR.js";
|
|
6
|
+
import { G as M } from "../../GenericForm-COQEdT9e.js";
|
|
7
|
+
import { I as L } from "../../ImageInput-BoYUZx9H.js";
|
|
8
|
+
import { D as G, a as N, S as O, b as R } from "../../SearchInput-ClZbbRWg.js";
|
|
9
|
+
import { M as j } from "../../MultiSelect-DF7-91OW.js";
|
|
10
|
+
import { A as w } from "../../AppActions-DEkRxBia.js";
|
|
11
|
+
import { A as J, K as Q } from "../../KpiCardsLayout-C4Ds3BEl.js";
|
|
12
|
+
import { A as W } from "../../AppSubTitle-ChCtQ7Sv.js";
|
|
13
13
|
import { A as Y } from "../../AppTitle-uboDuil4.js";
|
|
14
|
-
import { S as _, a as $, b as aa, T as ea } from "../../Topbar-
|
|
14
|
+
import { S as _, a as $, b as aa, T as ea } from "../../Topbar-CFmKB_S2.js";
|
|
15
15
|
import { E as oa } from "../../ErrorAlert-SrIcU1mM.js";
|
|
16
16
|
import { E as ta } from "../../ErrorState-CmaxuJyW.js";
|
|
17
17
|
import { L as la } from "../../LoadingState-BN0YaPSs.js";
|
|
18
|
-
import { D as ba, T as ma, a as da, b as ga, c as fa, d as Aa, e as Da } from "../../DataTable-
|
|
19
|
-
import { A as na, a as ca, b as xa, c as Sa } from "../../AppVerticalTabs-
|
|
20
|
-
import { T as Fa } from "../../ThemeSelector-
|
|
18
|
+
import { D as ba, T as ma, a as da, b as ga, c as fa, d as Aa, e as Da } from "../../DataTable-ny08K506.js";
|
|
19
|
+
import { A as na, a as ca, b as xa, c as Sa } from "../../AppVerticalTabs-BSU6M8OU.js";
|
|
20
|
+
import { T as Fa } from "../../ThemeSelector-BFC37dSl.js";
|
|
21
21
|
export {
|
|
22
22
|
k as ActiveFilters,
|
|
23
23
|
H as AdvancedFilters,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/core/inputs/MultiSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAIpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,UAAU,gBAAgB;IACxB,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,GAAI,8GAUzB,gBAAgB,KAAG,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/core/inputs/MultiSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAIpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,UAAU,gBAAgB;IACxB,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,GAAI,8GAUzB,gBAAgB,KAAG,KAAK,CAAC,YAiK3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchableSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/core/inputs/SearchableSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SearchableSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/core/inputs/SearchableSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAIpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,UAAU,qBAAqB;IAC7B,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB,GAAI,kFAQ9B,qBAAqB,KAAG,KAAK,CAAC,YAwIhC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as r } from "../../../ImageInput-
|
|
2
|
-
import { D as c, a as o, S as s, b as p } from "../../../SearchInput-
|
|
3
|
-
import { M as l } from "../../../MultiSelect-
|
|
1
|
+
import { I as r } from "../../../ImageInput-BoYUZx9H.js";
|
|
2
|
+
import { D as c, a as o, S as s, b as p } from "../../../SearchInput-ClZbbRWg.js";
|
|
3
|
+
import { M as l } from "../../../MultiSelect-DF7-91OW.js";
|
|
4
4
|
export {
|
|
5
5
|
c as DatePicker,
|
|
6
6
|
o as DateRangePicker,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as r } from "../../../AppActions-
|
|
2
|
-
import { A as e, K as A } from "../../../KpiCardsLayout-
|
|
3
|
-
import { A as s } from "../../../AppSubTitle-
|
|
1
|
+
import { A as r } from "../../../AppActions-DEkRxBia.js";
|
|
2
|
+
import { A as e, K as A } from "../../../KpiCardsLayout-C4Ds3BEl.js";
|
|
3
|
+
import { A as s } from "../../../AppSubTitle-ChCtQ7Sv.js";
|
|
4
4
|
import { A as i } from "../../../AppTitle-uboDuil4.js";
|
|
5
5
|
export {
|
|
6
6
|
r as AppActions,
|
package/dist/components/index.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { D as o, M as r } from "../MetricCard-
|
|
2
|
-
import { K as t, a as n, S as i, b as l } from "../SkeletonCards-
|
|
3
|
-
import { A as p, C as u, F as g } from "../ConfirmationDialog-
|
|
4
|
-
import { A as
|
|
5
|
-
import { A as Vo, a as Ko, F as zo, S as Uo, T as jo } from "../TableFilter-
|
|
6
|
-
import { G as Jo } from "../GenericForm-
|
|
7
|
-
import { I as Wo } from "../ImageInput-
|
|
8
|
-
import { D as Yo, a as Zo, S as _o, b as $o } from "../SearchInput-
|
|
9
|
-
import { M as er } from "../MultiSelect-
|
|
10
|
-
import { A as rr } from "../AppActions-
|
|
11
|
-
import { A as tr, K as nr } from "../KpiCardsLayout-
|
|
12
|
-
import { A as lr } from "../AppSubTitle-
|
|
1
|
+
import { D as o, M as r } from "../MetricCard-CvQFjIOb.js";
|
|
2
|
+
import { K as t, a as n, S as i, b as l } from "../SkeletonCards-BvJYF_LK.js";
|
|
3
|
+
import { A as p, C as u, F as g } from "../ConfirmationDialog-Ht4e-1Lg.js";
|
|
4
|
+
import { A as C, j as m, k as T, l as S, m as c, n as D, o as M, p as x, q as A, r as I, s as P, t as h, u as f, v as w, w as v, x as F, B as L, y as B, z as G, C as H, E as R, F as k, G as N, H as y, I as E, J as O, K as V, L as K, M as z, N as U, O as j, Q as q, R as J, S as Q, T as W, U as X, V as Y, W as Z, X as _, Y as $, Z as aa, _ as ea, $ as oa, a0 as ra, a1 as sa, a2 as ta, a3 as na, a4 as ia, a5 as la, a6 as ba, a7 as pa, a8 as ua, a9 as ga, aa as da, ab as Ca, ac as ma, ad as Ta, ae as Sa, af as ca, ag as Da, ah as Ma, ai as xa, aj as Aa, ak as Ia, al as Pa, am as ha, an as fa, D as wa, a as va, b as Fa, c as La, d as Ba, e as Ga, f as Ha, g as Ra, h as ka, i as Na, ao as ya, ap as Ea, aq as Oa, ar as Va, as as Ka, at as za, au as Ua, av as ja, aw as qa, ax as Ja, ay as Qa, az as Wa, aA as Xa, aB as Ya, aC as Za, aD as _a, aE as $a, aF as ae, aG as ee, aH as oe, aI as re, aJ as se, aK as te, aL as ne, aM as ie, aN as le, aO as be, aP as pe, aQ as ue, aR as ge, aS as de, aT as Ce, aU as me, aV as Te, aW as Se, aX as ce, aY as De, aZ as Me, a_ as xe, a$ as Ae, b0 as Ie, b1 as Pe, b2 as he, b3 as fe, b4 as we, b5 as ve, b6 as Fe, b7 as Le, b8 as Be, b9 as Ge, ba as He, bb as Re, bc as ke, bd as Ne, be as ye, bf as Ee, bg as Oe, bh as Ve, bi as Ke, bj as ze, bk as Ue, bl as je, bm as qe, bn as Je, bo as Qe, bp as We, bq as Xe, br as Ye, bs as Ze, bt as _e, bu as $e, bv as ao, bw as eo, bx as oo, P as ro, by as so, bz as to, bA as no, bB as io, bC as lo, bD as bo, bE as po, bF as uo, bG as go, bH as Co, bI as mo, bJ as To, bK as So, bL as co, bM as Do, bN as Mo, bO as xo, bP as Ao, bQ as Io, bR as Po, bS as ho, bT as fo, bU as wo, bV as vo, bW as Fo, bX as Lo, bY as Bo, bZ as Go, b_ as Ho, b$ as Ro, c0 as ko, c1 as No, c2 as yo, c3 as Eo } from "../toggle-group-D6c-gM1D.js";
|
|
5
|
+
import { A as Vo, a as Ko, F as zo, S as Uo, T as jo } from "../TableFilter-Dbo7qkgR.js";
|
|
6
|
+
import { G as Jo } from "../GenericForm-COQEdT9e.js";
|
|
7
|
+
import { I as Wo } from "../ImageInput-BoYUZx9H.js";
|
|
8
|
+
import { D as Yo, a as Zo, S as _o, b as $o } from "../SearchInput-ClZbbRWg.js";
|
|
9
|
+
import { M as er } from "../MultiSelect-DF7-91OW.js";
|
|
10
|
+
import { A as rr } from "../AppActions-DEkRxBia.js";
|
|
11
|
+
import { A as tr, K as nr } from "../KpiCardsLayout-C4Ds3BEl.js";
|
|
12
|
+
import { A as lr } from "../AppSubTitle-ChCtQ7Sv.js";
|
|
13
13
|
import { A as pr } from "../AppTitle-uboDuil4.js";
|
|
14
|
-
import { S as gr, a as dr, b as
|
|
15
|
-
import { E as
|
|
14
|
+
import { S as gr, a as dr, b as Cr, T as mr } from "../Topbar-CFmKB_S2.js";
|
|
15
|
+
import { E as Sr } from "../ErrorAlert-SrIcU1mM.js";
|
|
16
16
|
import { E as Dr } from "../ErrorState-CmaxuJyW.js";
|
|
17
17
|
import { L as xr } from "../LoadingState-BN0YaPSs.js";
|
|
18
|
-
import { D as Ir, T as Pr, a as hr, b as fr, c as wr, d as vr, e as Fr } from "../DataTable-
|
|
19
|
-
import { A as Br, a as Gr, b as Hr, c as Rr } from "../AppVerticalTabs-
|
|
20
|
-
import { T as Nr } from "../ThemeSelector-
|
|
18
|
+
import { D as Ir, T as Pr, a as hr, b as fr, c as wr, d as vr, e as Fr } from "../DataTable-ny08K506.js";
|
|
19
|
+
import { A as Br, a as Gr, b as Hr, c as Rr } from "../AppVerticalTabs-BSU6M8OU.js";
|
|
20
|
+
import { T as Nr } from "../ThemeSelector-BFC37dSl.js";
|
|
21
21
|
import { A as Er, a as Or, b as Vr } from "../alert-B9F1N9Qk.js";
|
|
22
|
-
import { A as zr, C as Ur, a as jr, b as qr, R as Jr, c as Qr, d as Wr, T as Xr, e as Yr } from "../toaster-
|
|
23
|
-
import { B as _r, T as $r, a as as, b as es, c as os, d as rs } from "../tooltip-
|
|
24
|
-
import { I as
|
|
25
|
-
import { S as
|
|
26
|
-
import { S as
|
|
27
|
-
import { toast as
|
|
22
|
+
import { A as zr, C as Ur, a as jr, b as qr, R as Jr, c as Qr, d as Wr, T as Xr, e as Yr } from "../toaster-B6XKMRwI.js";
|
|
23
|
+
import { B as _r, T as $r, a as as, b as es, c as os, d as rs, e as ss, f as ts } from "../tooltip-DVeqVwqV.js";
|
|
24
|
+
import { I as is, S as ls, a as bs, b as ps, c as us, d as gs, e as ds, f as Cs, g as ms, h as Ts, i as Ss } from "../sheet-B_uq6-K_.js";
|
|
25
|
+
import { S as Ds, a as Ms, b as xs, c as As, d as Is, e as Ps, f as hs, g as fs, h as ws, i as vs } from "../select-BpjFWqAY.js";
|
|
26
|
+
import { S as Ls } from "../skeleton-BX4RcsiK.js";
|
|
27
|
+
import { toast as Gs } from "sonner";
|
|
28
28
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
C as Accordion,
|
|
30
|
+
m as AccordionContent,
|
|
31
|
+
T as AccordionItem,
|
|
32
|
+
S as AccordionTrigger,
|
|
33
33
|
Vo as ActiveFilters,
|
|
34
34
|
Ko as AdvancedFilters,
|
|
35
35
|
Er as Alert,
|
|
@@ -100,10 +100,10 @@ export {
|
|
|
100
100
|
u as ConfirmationDialog,
|
|
101
101
|
ga as ContextMenu,
|
|
102
102
|
da as ContextMenuCheckboxItem,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
103
|
+
Ca as ContextMenuContent,
|
|
104
|
+
ma as ContextMenuGroup,
|
|
105
|
+
Ta as ContextMenuItem,
|
|
106
|
+
Sa as ContextMenuLabel,
|
|
107
107
|
ca as ContextMenuPortal,
|
|
108
108
|
Da as ContextMenuRadioGroup,
|
|
109
109
|
Ma as ContextMenuRadioItem,
|
|
@@ -152,7 +152,7 @@ export {
|
|
|
152
152
|
te as DropdownMenuSubContent,
|
|
153
153
|
ne as DropdownMenuSubTrigger,
|
|
154
154
|
ie as DropdownMenuTrigger,
|
|
155
|
-
|
|
155
|
+
Sr as ErrorAlert,
|
|
156
156
|
Dr as ErrorState,
|
|
157
157
|
zo as FilterField,
|
|
158
158
|
le as Form,
|
|
@@ -162,13 +162,13 @@ export {
|
|
|
162
162
|
ue as FormField,
|
|
163
163
|
ge as FormItem,
|
|
164
164
|
de as FormLabel,
|
|
165
|
-
|
|
165
|
+
Ce as FormMessage,
|
|
166
166
|
Jo as GenericForm,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
me as HoverCard,
|
|
168
|
+
Te as HoverCardContent,
|
|
169
|
+
Se as HoverCardTrigger,
|
|
170
170
|
Wo as ImageInput,
|
|
171
|
-
|
|
171
|
+
is as Input,
|
|
172
172
|
ce as InputOTP,
|
|
173
173
|
De as InputOTPGroup,
|
|
174
174
|
Me as InputOTPSeparator,
|
|
@@ -225,39 +225,39 @@ export {
|
|
|
225
225
|
_o as SearchInput,
|
|
226
226
|
Uo as SearchableFilterPill,
|
|
227
227
|
$o as SearchableSelect,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
228
|
+
Ds as Select,
|
|
229
|
+
Ms as SelectContent,
|
|
230
|
+
xs as SelectGroup,
|
|
231
|
+
As as SelectItem,
|
|
232
|
+
Is as SelectLabel,
|
|
233
|
+
Ps as SelectScrollDownButton,
|
|
234
|
+
hs as SelectScrollUpButton,
|
|
235
|
+
fs as SelectSeparator,
|
|
236
|
+
ws as SelectTrigger,
|
|
237
|
+
vs as SelectValue,
|
|
238
238
|
lo as Separator,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
239
|
+
ls as Sheet,
|
|
240
|
+
bs as SheetClose,
|
|
241
|
+
ps as SheetContent,
|
|
242
|
+
us as SheetDescription,
|
|
243
|
+
gs as SheetFooter,
|
|
244
|
+
ds as SheetHeader,
|
|
245
|
+
Cs as SheetOverlay,
|
|
246
|
+
ms as SheetPortal,
|
|
247
|
+
Ts as SheetTitle,
|
|
248
|
+
Ss as SheetTrigger,
|
|
249
249
|
gr as Sidebar,
|
|
250
250
|
dr as SidebarHeader,
|
|
251
|
-
|
|
251
|
+
Cr as SidebarNavItem,
|
|
252
252
|
bo as SimpleTable,
|
|
253
253
|
po as SimpleTableBody,
|
|
254
254
|
uo as SimpleTableCaption,
|
|
255
255
|
go as SimpleTableCell,
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
256
|
+
Co as SimpleTableFooter,
|
|
257
|
+
mo as SimpleTableHead,
|
|
258
|
+
To as SimpleTableHeader,
|
|
259
|
+
So as SimpleTableRow,
|
|
260
|
+
Ls as Skeleton,
|
|
261
261
|
i as SkeletonCard,
|
|
262
262
|
l as SkeletonCards,
|
|
263
263
|
co as Slider,
|
|
@@ -291,11 +291,13 @@ export {
|
|
|
291
291
|
as as TooltipContent,
|
|
292
292
|
es as TooltipProvider,
|
|
293
293
|
os as TooltipTrigger,
|
|
294
|
-
|
|
294
|
+
mr as Topbar,
|
|
295
295
|
ko as badgeVariants,
|
|
296
296
|
rs as buttonVariants,
|
|
297
|
+
ss as controlBaseClass,
|
|
298
|
+
ts as controlTriggerClass,
|
|
297
299
|
No as navigationMenuTriggerStyle,
|
|
298
|
-
|
|
300
|
+
Gs as toast,
|
|
299
301
|
yo as toggleVariants,
|
|
300
302
|
Eo as useFormField
|
|
301
303
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gabarit commun des contrôles de formulaire tenant sur une ligne : hauteur, forme,
|
|
3
|
+
* bordure, fond, padding, taille de texte et état désactivé.
|
|
4
|
+
*
|
|
5
|
+
* À réutiliser dès qu'un composant doit s'aligner avec un `Input` ou un `SelectTrigger`
|
|
6
|
+
* (select, multi-select, pastille de filtre…) : c'est ce qui garantit qu'une barre de
|
|
7
|
+
* filtres reste homogène quand on y ajoute un contrôle.
|
|
8
|
+
*
|
|
9
|
+
* La largeur n'en fait volontairement pas partie : chaque composant décide s'il occupe
|
|
10
|
+
* toute la place (`w-full`) ou s'il se dimensionne sur son contenu.
|
|
11
|
+
*/
|
|
12
|
+
export declare const controlBaseClass = "h-10 rounded-control border border-input bg-background px-3 py-2 text-sm ring-offset-background disabled:cursor-not-allowed disabled:opacity-50";
|
|
13
|
+
/**
|
|
14
|
+
* Gabarit des contrôles cliquables qui ouvrent un panneau (select, multi-select,
|
|
15
|
+
* combobox) : `controlBaseClass` + libellé à gauche / chevron à droite + anneau de focus.
|
|
16
|
+
*/
|
|
17
|
+
export declare const controlTriggerClass: string;
|
|
18
|
+
//# sourceMappingURL=control.d.ts.map
|