@krosoft/react 0.0.275 → 0.0.277
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/components/core/filters/FilterPills.d.ts +25 -0
- package/dist/components/core/filters/FilterPills.d.ts.map +1 -0
- package/dist/components/core/filters/index.d.ts +1 -0
- package/dist/components/core/filters/index.d.ts.map +1 -1
- package/dist/components/core/filters/index.js +42 -6
- package/dist/components/core/index.js +11 -11
- package/dist/components/index.js +11 -11
- package/package.json +2 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface FilterPillOption<T extends string | number> {
|
|
2
|
+
value: T;
|
|
3
|
+
label: string;
|
|
4
|
+
count?: number;
|
|
5
|
+
/** Icône affichée devant le libellé. */
|
|
6
|
+
icon?: React.ElementType;
|
|
7
|
+
/** Style coloré de la pastille (bordure/fond/texte) ; remplace le style par défaut, l'état actif étant marqué en gras. */
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export type FilterPillsVariant = "solid" | "outline";
|
|
11
|
+
export interface FilterPillsProps<T extends string | number> {
|
|
12
|
+
options: FilterPillOption<T>[];
|
|
13
|
+
value: T;
|
|
14
|
+
onChange: (value: T) => void;
|
|
15
|
+
/** Style de l'option active : fond plein (`solid`, défaut) ou bordure/texte `primary` (`outline`). */
|
|
16
|
+
variant?: FilterPillsVariant;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Groupe de pastilles de filtre à sélection unique, avec compteur optionnel par option.
|
|
20
|
+
*
|
|
21
|
+
* Complémentaire de `SearchableFilterPill` (multi-sélection en popover) : ici toutes les
|
|
22
|
+
* options sont visibles en ligne et une seule est active à la fois, comme un segmented control.
|
|
23
|
+
*/
|
|
24
|
+
export declare function FilterPills<T extends string | number>({ options, value, onChange, variant }: FilterPillsProps<T>): React.ReactElement;
|
|
25
|
+
//# sourceMappingURL=FilterPills.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterPills.d.ts","sourceRoot":"","sources":["../../../../src/components/core/filters/FilterPills.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IACzD,KAAK,EAAE,CAAC,CAAC;IACT,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACzB,0HAA0H;IAC1H,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,SAAS,CAAC;AAErD,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IACzD,OAAO,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAC/B,KAAK,EAAE,CAAC,CAAC;IACT,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B,sGAAsG;IACtG,OAAO,CAAC,EAAE,kBAAkB,CAAC;CAC9B;AAgBD;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAiB,EAAE,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAqB/I"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/core/filters/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/core/filters/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC"}
|
|
@@ -228,8 +228,44 @@ function V({ sections: e, filters: r, onFiltersChange: i, buttonText: a, sheetTi
|
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
//#endregion
|
|
231
|
+
//#region src/components/core/filters/FilterPills.tsx
|
|
232
|
+
var H = {
|
|
233
|
+
solid: "border-foreground bg-foreground text-background",
|
|
234
|
+
outline: "border-primary bg-primary/10 text-primary font-medium"
|
|
235
|
+
};
|
|
236
|
+
function U(t, n, r) {
|
|
237
|
+
return r === void 0 ? t ? H[n] : "border-border bg-background text-muted-foreground hover:text-foreground hover:border-foreground/40" : e(r, t ? "font-semibold" : "opacity-60 hover:opacity-100");
|
|
238
|
+
}
|
|
239
|
+
function W({ options: t, value: n, onChange: r, variant: i = "solid" }) {
|
|
240
|
+
return /* @__PURE__ */ A("div", {
|
|
241
|
+
className: "flex flex-wrap gap-1.5",
|
|
242
|
+
children: t.map(({ value: t, label: a, count: o, icon: s, className: c }) => {
|
|
243
|
+
let l = U(n === t, i, c);
|
|
244
|
+
return /* @__PURE__ */ j("button", {
|
|
245
|
+
onClick: () => {
|
|
246
|
+
r(t);
|
|
247
|
+
},
|
|
248
|
+
className: e("inline-flex items-center gap-1 text-xs px-2.5 py-1 rounded-full border transition-colors", l),
|
|
249
|
+
children: [
|
|
250
|
+
s && /* @__PURE__ */ A(s, { className: "size-3 shrink-0" }),
|
|
251
|
+
a,
|
|
252
|
+
" ",
|
|
253
|
+
o !== void 0 && /* @__PURE__ */ j("span", {
|
|
254
|
+
className: "opacity-60",
|
|
255
|
+
children: [
|
|
256
|
+
"(",
|
|
257
|
+
o,
|
|
258
|
+
")"
|
|
259
|
+
]
|
|
260
|
+
})
|
|
261
|
+
]
|
|
262
|
+
}, String(t));
|
|
263
|
+
})
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
//#endregion
|
|
231
267
|
//#region src/components/core/filters/SearchableFilterPill.tsx
|
|
232
|
-
function
|
|
268
|
+
function G({ labelKey: n, options: r, selected: o, onToggle: s, onClear: c, onSelectAll: u, searchable: f = !1, searchPlaceholder: m }) {
|
|
233
269
|
let { t: h } = t(), [g, _] = k(""), v = o.length > 0, y = O(() => g === "" ? r : r.filter((e) => e.label.toLowerCase().includes(g.toLowerCase())), [r, g]), b = O(() => y.length !== 0 && y.every((e) => o.includes(e.value)), [y, o]);
|
|
234
270
|
return /* @__PURE__ */ j(p, {
|
|
235
271
|
onOpenChange: () => {
|
|
@@ -333,7 +369,7 @@ function H({ labelKey: n, options: r, selected: o, onToggle: s, onClear: c, onSe
|
|
|
333
369
|
}
|
|
334
370
|
//#endregion
|
|
335
371
|
//#region src/components/core/filters/TableFilter.tsx
|
|
336
|
-
function
|
|
372
|
+
function K({ searchQuery: e, onSearchChange: n, searchPlaceholder: r, filters: i, onFiltersChange: a, sections: o, advancedButtonText: s, sheetTitle: c }) {
|
|
337
373
|
let { t: l } = t(), u = (e, t) => {
|
|
338
374
|
let n = i[e], r = Array.isArray(n) ? n : [], o = r.includes(t) ? r.filter((e) => e !== t) : [...r, t], s = { ...i };
|
|
339
375
|
o.length === 0 ? delete s[e] : s[e] = o, a(s);
|
|
@@ -378,9 +414,9 @@ function U({ searchQuery: e, onSearchChange: n, searchPlaceholder: r, filters: i
|
|
|
378
414
|
return /* @__PURE__ */ j("div", {
|
|
379
415
|
className: "space-y-4 w-full",
|
|
380
416
|
children: [/* @__PURE__ */ j("div", {
|
|
381
|
-
className: "flex flex-wrap items-center gap-
|
|
417
|
+
className: "flex flex-wrap items-center gap-2 justify-between",
|
|
382
418
|
children: [/* @__PURE__ */ j("div", {
|
|
383
|
-
className: "flex flex-wrap items-center gap-
|
|
419
|
+
className: "flex flex-wrap items-center gap-2",
|
|
384
420
|
children: [n === void 0 ? null : /* @__PURE__ */ A(E, {
|
|
385
421
|
searchQuery: e,
|
|
386
422
|
onSearch: n,
|
|
@@ -388,7 +424,7 @@ function U({ searchQuery: e, onSearchChange: n, searchPlaceholder: r, filters: i
|
|
|
388
424
|
n("");
|
|
389
425
|
},
|
|
390
426
|
placeholder: r ?? l("search.placeholder")
|
|
391
|
-
}), m.map((e) => /* @__PURE__ */ A(
|
|
427
|
+
}), m.map((e) => /* @__PURE__ */ A(G, {
|
|
392
428
|
labelKey: e.labelKey,
|
|
393
429
|
options: e.options,
|
|
394
430
|
selected: Array.isArray(i[e.key]) ? i[e.key] : [],
|
|
@@ -424,4 +460,4 @@ function U({ searchQuery: e, onSearchChange: n, searchPlaceholder: r, filters: i
|
|
|
424
460
|
});
|
|
425
461
|
}
|
|
426
462
|
//#endregion
|
|
427
|
-
export { R as ActiveFilters, V as AdvancedFilters, z as FilterField,
|
|
463
|
+
export { R as ActiveFilters, V as AdvancedFilters, z as FilterField, W as FilterPills, G as SearchableFilterPill, K as TableFilter };
|
|
@@ -10,15 +10,15 @@ import { t as j } from "../../MultiSelect-LZHOrlJ0.js";
|
|
|
10
10
|
import { t as M } from "../../GenericForm-CapENiix.js";
|
|
11
11
|
import { t as N } from "../../ErrorAlert-BiyjpXW1.js";
|
|
12
12
|
import { i as P, n as F, r as I, t as L } from "../../SearchInput-DZJwoADO.js";
|
|
13
|
-
import { ActiveFilters as R, AdvancedFilters as z, FilterField as B,
|
|
13
|
+
import { ActiveFilters as R, AdvancedFilters as z, FilterField as B, FilterPills as V, SearchableFilterPill as H, TableFilter as U } from "./filters/index.js";
|
|
14
14
|
import "./forms/index.js";
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { n as
|
|
19
|
-
import { AppPageHeader as
|
|
20
|
-
import { a as
|
|
21
|
-
import { DataTable as
|
|
22
|
-
import { AppTabContainer as
|
|
23
|
-
import { t as
|
|
24
|
-
export { R as ActiveFilters, z as AdvancedFilters, k as AppActions, E as AppDialog,
|
|
15
|
+
import { t as W } from "../../inputs-BJOt0CO4.js";
|
|
16
|
+
import { t as G } from "../../language-wGKLt6oh.js";
|
|
17
|
+
import { t as K } from "../../AppTitle-B1wOSQGM.js";
|
|
18
|
+
import { n as q, t as J } from "../../states-DGjgfPuG.js";
|
|
19
|
+
import { AppPageHeader as Y, KpiCardsLayout as X } from "./layouts/index.js";
|
|
20
|
+
import { a as Z, i as Q, n as $, o as ee, r as te, t as ne } from "../../navbar-Dv4ymBap.js";
|
|
21
|
+
import { DataTable as re, JsonTableOutput as ie, TableActions as ae, TableBody as oe, TableBulkActions as se, TableHeader as ce, TablePagination as le, TableSettings as ue } from "./table/index.js";
|
|
22
|
+
import { AppTabContainer as de, AppTabHeader as fe, AppTabs as pe, AppVerticalTabs as me } from "./tabs/index.js";
|
|
23
|
+
import { t as he } from "../../theme-DedDA2ib.js";
|
|
24
|
+
export { R as ActiveFilters, z as AdvancedFilters, k as AppActions, E as AppDialog, Y as AppPageHeader, A as AppSubTitle, de as AppTabContainer, fe as AppTabHeader, pe as AppTabs, K as AppTitle, me as AppVerticalTabs, v as BarChartHorizontal, C as BarChartVertical, _ as CHART_COLORS, y as ChartCard, S as CircularGauge, D as ConfirmationDialog, r as DashboardCard, re as DataTable, P as DatePicker, I as DateRangePicker, l as Dialog, c as DialogClose, p as DialogContent, g as DialogDescription, s as DialogFooter, h as DialogHeader, d as DialogOverlay, f as DialogPortal, m as DialogTitle, u as DialogTrigger, N as ErrorAlert, q as ErrorState, B as FilterField, V as FilterPills, T as FormDialog, M as GenericForm, ee as GlobalSearch, O as ImageInput, ie as JsonTableOutput, e as KpiCard, t as KpiCards, X as KpiCardsLayout, G as LanguageSelector, b as LineChart, J as LoadingState, i as MetricCard, j as MultiSelect, Z as NotificationsBell, w as PieChart, o as Progress, W as RatingInput, L as SearchInput, H as SearchableFilterPill, F as SearchableSelect, te as Sidebar, $ as SidebarHeader, Q as SidebarNavItem, n as SkeletonCard, a as SkeletonCards, ae as TableActions, oe as TableBody, se as TableBulkActions, U as TableFilter, ce as TableHeader, le as TablePagination, ue as TableSettings, he as ThemeSelector, ne as Topbar, x as getChartColor };
|
package/dist/components/index.js
CHANGED
|
@@ -15,15 +15,15 @@ import { t as Pr } from "../MultiSelect-LZHOrlJ0.js";
|
|
|
15
15
|
import { t as Fr } from "../GenericForm-CapENiix.js";
|
|
16
16
|
import { t as Ir } from "../ErrorAlert-BiyjpXW1.js";
|
|
17
17
|
import { i as Lr, n as Rr, r as zr, t as Br } from "../SearchInput-DZJwoADO.js";
|
|
18
|
-
import { ActiveFilters as Vr, AdvancedFilters as Hr, FilterField as Ur,
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { n as
|
|
23
|
-
import { AppPageHeader as
|
|
24
|
-
import { a as
|
|
25
|
-
import { DataTable as
|
|
26
|
-
import { AppTabContainer as
|
|
27
|
-
import { t as
|
|
18
|
+
import { ActiveFilters as Vr, AdvancedFilters as Hr, FilterField as Ur, FilterPills as Wr, SearchableFilterPill as Gr, TableFilter as Kr } from "./core/filters/index.js";
|
|
19
|
+
import { t as qr } from "../inputs-BJOt0CO4.js";
|
|
20
|
+
import { t as Jr } from "../language-wGKLt6oh.js";
|
|
21
|
+
import { t as Yr } from "../AppTitle-B1wOSQGM.js";
|
|
22
|
+
import { n as Xr, t as Zr } from "../states-DGjgfPuG.js";
|
|
23
|
+
import { AppPageHeader as Qr, KpiCardsLayout as $r } from "./core/layouts/index.js";
|
|
24
|
+
import { a as ei, i as ti, n as ni, o as ri, r as ii, t as ai } from "../navbar-Dv4ymBap.js";
|
|
25
|
+
import { DataTable as oi, JsonTableOutput as si, TableActions as ci, TableBody as li, TableBulkActions as ui, TableHeader as di, TablePagination as fi, TableSettings as pi } from "./core/table/index.js";
|
|
26
|
+
import { AppTabContainer as mi, AppTabHeader as hi, AppTabs as gi, AppVerticalTabs as _i } from "./core/tabs/index.js";
|
|
27
|
+
import { t as vi } from "../theme-DedDA2ib.js";
|
|
28
28
|
import "./core/index.js";
|
|
29
|
-
export { ze as Accordion, Ie as AccordionContent, He as AccordionItem, he as AccordionTrigger, Vr as ActiveFilters, Hr as AdvancedFilters, yn as Alert, _n as AlertDescription, w as AlertDialog, Ae as AlertDialogAction, H as AlertDialogCancel, De as AlertDialogContent, Ne as AlertDialogDescription, z as AlertDialogFooter, Z as AlertDialogHeader, Vt as AlertDialogTitle, J as AlertDialogTrigger, vn as AlertTitle, Mr as AppActions, kr as AppDialog,
|
|
29
|
+
export { ze as Accordion, Ie as AccordionContent, He as AccordionItem, he as AccordionTrigger, Vr as ActiveFilters, Hr as AdvancedFilters, yn as Alert, _n as AlertDescription, w as AlertDialog, Ae as AlertDialogAction, H as AlertDialogCancel, De as AlertDialogContent, Ne as AlertDialogDescription, z as AlertDialogFooter, Z as AlertDialogHeader, Vt as AlertDialogTitle, J as AlertDialogTrigger, vn as AlertTitle, Mr as AppActions, kr as AppDialog, Qr as AppPageHeader, Nr as AppSubTitle, mi as AppTabContainer, hi as AppTabHeader, gi as AppTabs, Yr as AppTitle, _i as AppVerticalTabs, hn as AspectRatio, G as Avatar, ee as AvatarFallback, ve as AvatarImage, fe as Badge, xr as BarChartHorizontal, Er as BarChartVertical, A as Breadcrumb, le as BreadcrumbEllipsis, Ct as BreadcrumbItem, x as BreadcrumbLink, bt as BreadcrumbList, re as BreadcrumbPage, oe as BreadcrumbSeparator, En as Button, br as CHART_COLORS, N as Calendar, l as Card, t as CardContent, a as CardDescription, d as CardFooter, n as CardHeader, r as CardTitle, ln as Carousel, xe as CarouselContent, D as CarouselItem, on as CarouselNext, we as CarouselPrevious, Sr as ChartCard, u as ChartContainer, o as ChartLegend, c as ChartLegendContent, i as ChartStyle, e as ChartTooltip, s as ChartTooltipContent, Ze as Checkbox, Tr as CircularGauge, Ge as Collapsible, nn as CollapsibleContent, fn as CollapsibleTrigger, zn as Command, ar as CommandDialog, cr as CommandEmpty, Vn as CommandGroup, sr as CommandInput, Ln as CommandItem, kn as CommandList, or as CommandSeparator, Rn as CommandShortcut, Ar as ConfirmationDialog, Mt as ContextMenu, Wt as ContextMenuCheckboxItem, _t as ContextMenuContent, Je as ContextMenuGroup, Ft as ContextMenuItem, qt as ContextMenuLabel, et as ContextMenuPortal, Et as ContextMenuRadioGroup, $t as ContextMenuRadioItem, rt as ContextMenuSeparator, ct as ContextMenuShortcut, Rt as ContextMenuSub, kt as ContextMenuSubContent, mt as ContextMenuSubTrigger, dt as ContextMenuTrigger, h as DashboardCard, oi as DataTable, Lr as DatePicker, zr as DateRangePicker, jn as Dialog, An as DialogClose, Fn as DialogContent, Yn as DialogDescription, On as DialogFooter, Jn as DialogHeader, Nn as DialogOverlay, Pn as DialogPortal, In as DialogTitle, Mn as DialogTrigger, Q as Drawer, Ht as DrawerClose, Y as DrawerContent, Be as DrawerDescription, Le as DrawerFooter, Ue as DrawerHeader, ge as DrawerOverlay, y as DrawerPortal, at as DrawerTitle, Xt as DrawerTrigger, xt as DropdownMenu, ie as DropdownMenuCheckboxItem, se as DropdownMenuContent, pe as DropdownMenuGroup, L as DropdownMenuItem, K as DropdownMenuLabel, te as DropdownMenuPortal, ye as DropdownMenuRadioGroup, gn as DropdownMenuRadioItem, T as DropdownMenuSeparator, je as DropdownMenuShortcut, U as DropdownMenuSub, Oe as DropdownMenuSubContent, Pe as DropdownMenuSubTrigger, B as DropdownMenuTrigger, Ir as ErrorAlert, Xr as ErrorState, Ur as FilterField, Wr as FilterPills, Se as Form, O as FormControl, sn as FormDescription, Or as FormDialog, Te as FormField, P as FormItem, j as FormLabel, ue as FormMessage, Fr as GenericForm, ri as GlobalSearch, pn as HoverCard, Qe as HoverCardContent, un as HoverCardTrigger, jr as ImageInput, Gn as Input, ht as InputOTP, ft as InputOTPGroup, Ke as InputOTPSeparator, rn as InputOTPSlot, si as JsonTableOutput, f as KpiCard, p as KpiCards, $r as KpiCardsLayout, S as Label, Jr as LanguageSelector, Cr as LineChart, Zr as LoadingState, v as Menubar, ot as MenubarCheckboxItem, Zt as MenubarContent, Nt as MenubarGroup, Gt as MenubarItem, vt as MenubarLabel, Ye as MenubarMenu, It as MenubarPortal, Jt as MenubarRadioGroup, tt as MenubarRadioItem, Dt as MenubarSeparator, en as MenubarShortcut, it as MenubarSub, lt as MenubarSubContent, zt as MenubarSubTrigger, At as MenubarTrigger, g as MetricCard, Pr as MultiSelect, Me as NavigationMenu, R as NavigationMenuContent, X as NavigationMenuIndicator, Bt as NavigationMenuItem, q as NavigationMenuLink, Re as NavigationMenuList, Fe as NavigationMenuTrigger, Ve as NavigationMenuViewport, ei as NotificationsBell, $ as Pagination, _e as PaginationContent, mn as PaginationEllipsis, C as PaginationItem, ke as PaginationLink, V as PaginationNext, Ee as PaginationPrevious, Dr as PieChart, er as Popover, Zn as PopoverContent, Kn as PopoverTrigger, W as Progress, de as RadioGroup, F as RadioGroupItem, qr as RatingInput, yt as ResizableHandle, ne as ResizablePanel, ae as ResizablePanelGroup, Un as ScrollArea, Wn as ScrollBar, Br as SearchInput, Gr as SearchableFilterPill, Rr as SearchableSelect, _r as Select, pr as SelectContent, hr as SelectGroup, dr as SelectItem, lr as SelectLabel, mr as SelectScrollDownButton, gr as SelectScrollUpButton, ur as SelectSeparator, fr as SelectTrigger, vr as SelectValue, b as Separator, rr as Sheet, Qn as SheetClose, tr as SheetContent, qn as SheetDescription, Bn as SheetFooter, $n as SheetHeader, nr as SheetOverlay, Hn as SheetPortal, Xn as SheetTitle, ir as SheetTrigger, ii as Sidebar, ni as SidebarHeader, ti as SidebarNavItem, be as SimpleTable, E as SimpleTableBody, an as SimpleTableCaption, Ce as SimpleTableCell, M as SimpleTableFooter, k as SimpleTableHead, ce as SimpleTableHeader, St as SimpleTableRow, yr as Skeleton, m as SkeletonCard, _ as SkeletonCards, cn as Slider, dn as Sonner, tn as Switch, ci as TableActions, li as TableBody, ui as TableBulkActions, Kr as TableFilter, di as TableHeader, fi as TablePagination, pi as TableSettings, Ot as Tabs, pt as TabsContent, ut as TabsList, We as TabsTrigger, Lt as Textarea, vi as ThemeSelector, Pt as Toast, Kt as ToastAction, $e as ToastClose, Tt as ToastDescription, Qt as ToastProvider, nt as ToastTitle, st as ToastViewport, qe as Toaster, Ut as Toggle, Yt as ToggleGroup, jt as ToggleGroupItem, Dn as Tooltip, Cn as TooltipContent, Tn as TooltipProvider, Sn as TooltipTrigger, ai as Topbar, I as badgeVariants, xn as buttonVariants, bn as controlBaseClass, wn as controlTriggerClass, wr as getChartColor, me as navigationMenuTriggerStyle, Xe as toast, gt as toggleVariants, wt as useFormField };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krosoft/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.277",
|
|
4
4
|
"description": "Krosoft shared React package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"input-otp": "^1.5.0",
|
|
86
86
|
"lucide-react": "^1.37.0",
|
|
87
87
|
"react-day-picker": "^10.0.1",
|
|
88
|
-
"react-hook-form": "^7.
|
|
88
|
+
"react-hook-form": "^7.87.0",
|
|
89
89
|
"react-resizable-panels": "^4.12.3",
|
|
90
90
|
"recharts": "^3.10.1",
|
|
91
91
|
"sonner": "^2.0.8",
|