@krosoft/react 0.0.300 → 0.0.301

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.
@@ -0,0 +1,17 @@
1
+ import type { JSX } from "react";
2
+ interface FlagIconProps {
3
+ /** Taille/forme de l'icône, typiquement `size-4` depuis la surface qui l'accueille. */
4
+ className?: string;
5
+ }
6
+ /**
7
+ * Drapeau français, dessiné en SVG.
8
+ *
9
+ * Les emoji drapeaux (🇫🇷) ne conviennent pas : sous Windows ils retombent sur les
10
+ * deux lettres du code pays (« FR ») faute de glyphe drapeau. Un SVG s'affiche partout.
11
+ *
12
+ * `slice` remplit une case carrée (`size-4`) en rognant symétriquement les bords,
13
+ * plutôt que de laisser le drapeau flotter au centre d'un cadre trop haut.
14
+ */
15
+ export declare const FlagFrIcon: ({ className }: FlagIconProps) => JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=FlagFrIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlagFrIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/core/icons/FlagFrIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,UAAU,aAAa;IACrB,uFAAuF;IACvF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,GAAI,eAAe,aAAa,KAAG,GAAG,CAAC,OAM7D,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { type JSX } from "react";
2
+ interface FlagIconProps {
3
+ /** Taille/forme de l'icône, typiquement `size-4` depuis la surface qui l'accueille. */
4
+ className?: string;
5
+ }
6
+ /**
7
+ * Drapeau du Royaume-Uni (Union Jack), dessiné en SVG.
8
+ *
9
+ * Le tracé est le motif compact standard : croix de Saint-Georges (rouge) et de
10
+ * Saint-André / Saint-Patrick (blanc et rouge décalés). Comme {@link FlagFrIcon}, un
11
+ * SVG évite le repli en lettres des emoji drapeaux sous Windows.
12
+ *
13
+ * Les `clipPath` reçoivent un identifiant unique par instance (`useId`) : un id fixe se
14
+ * dupliquerait si plusieurs drapeaux étaient rendus sur la même page, et le premier
15
+ * gagnerait pour tous.
16
+ */
17
+ export declare const FlagGbIcon: ({ className }: FlagIconProps) => JSX.Element;
18
+ export {};
19
+ //# sourceMappingURL=FlagGbIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlagGbIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/core/icons/FlagGbIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAExC,UAAU,aAAa;IACrB,uFAAuF;IACvF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU,GAAI,eAAe,aAAa,KAAG,GAAG,CAAC,OAsB7D,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { FlagFrIcon } from "./FlagFrIcon";
2
+ export { FlagGbIcon } from "./FlagGbIcon";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/core/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "../../../icons-n0m_1w7z.js";
2
+ export { e as FlagFrIcon, t as FlagGbIcon };
@@ -3,6 +3,7 @@ export * from "./charts";
3
3
  export * from "./dialogs";
4
4
  export * from "./filters";
5
5
  export * from "./forms";
6
+ export * from "./icons";
6
7
  export * from "./inputs";
7
8
  export * from "./language";
8
9
  export * from "./layouts";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
@@ -12,13 +12,14 @@ import { t as N } from "../../GenericForm-fiF_fEUb.js";
12
12
  import { i as P, n as F, r as I, t as L } from "../../SearchInput-pJFU2KVz.js";
13
13
  import { ActiveFilters as R, AdvancedFilters as z, FilterField as B, FilterPills as V, FilterPillsGroup as H, TableFilter as U } from "./filters/index.js";
14
14
  import "./forms/index.js";
15
- import { t as W } from "../../inputs-Cb0xGJ-E.js";
16
- import { t as G } from "../../language-DcRIOaqX.js";
17
- import { t as K } from "../../AppTitle-CBY03gZy.js";
18
- import { n as q, t as J } from "../../states-__YoT7H3.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-CRdXfxxM.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-CHrjFJTd.js";
24
- export { R as ActiveFilters, z as AdvancedFilters, A as AppActions, D as AppDialog, Y as AppPageHeader, j 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, O 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, T as ErrorAlert, q as ErrorState, B as FilterField, V as FilterPills, H as FilterPillsGroup, E as FormDialog, N as GenericForm, ee as GlobalSearch, k 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, M as MultiSelect, Z as NotificationsBell, w as PieChart, o as Progress, W as RatingInput, L as SearchInput, te as Sidebar, $ as SidebarHeader, Q as SidebarNavItem, F as SingleSelect, 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 };
15
+ import { n as W, t as G } from "../../icons-n0m_1w7z.js";
16
+ import { t as K } from "../../inputs-Cb0xGJ-E.js";
17
+ import { t as q } from "../../language-DcRIOaqX.js";
18
+ import { t as J } from "../../AppTitle-CBY03gZy.js";
19
+ import { n as Y, t as X } from "../../states-__YoT7H3.js";
20
+ import { AppPageHeader as Z, KpiCardsLayout as Q } from "./layouts/index.js";
21
+ import { a as $, i as ee, n as te, o as ne, r as re, t as ie } from "../../navbar-CRdXfxxM.js";
22
+ import { DataTable as ae, JsonTableOutput as oe, TableActions as se, TableBody as ce, TableBulkActions as le, TableHeader as ue, TablePagination as de, TableSettings as fe } from "./table/index.js";
23
+ import { AppTabContainer as pe, AppTabHeader as me, AppTabs as he, AppVerticalTabs as ge } from "./tabs/index.js";
24
+ import { t as _e } from "../../theme-CHrjFJTd.js";
25
+ export { R as ActiveFilters, z as AdvancedFilters, A as AppActions, D as AppDialog, Z as AppPageHeader, j as AppSubTitle, pe as AppTabContainer, me as AppTabHeader, he as AppTabs, J as AppTitle, ge as AppVerticalTabs, v as BarChartHorizontal, C as BarChartVertical, _ as CHART_COLORS, y as ChartCard, S as CircularGauge, O as ConfirmationDialog, r as DashboardCard, ae 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, T as ErrorAlert, Y as ErrorState, B as FilterField, V as FilterPills, H as FilterPillsGroup, W as FlagFrIcon, G as FlagGbIcon, E as FormDialog, N as GenericForm, ne as GlobalSearch, k as ImageInput, oe as JsonTableOutput, e as KpiCard, t as KpiCards, Q as KpiCardsLayout, q as LanguageSelector, b as LineChart, X as LoadingState, i as MetricCard, M as MultiSelect, $ as NotificationsBell, w as PieChart, o as Progress, K as RatingInput, L as SearchInput, re as Sidebar, te as SidebarHeader, ee as SidebarNavItem, F as SingleSelect, n as SkeletonCard, a as SkeletonCards, se as TableActions, ce as TableBody, le as TableBulkActions, U as TableFilter, ue as TableHeader, de as TablePagination, fe as TableSettings, _e as ThemeSelector, ie as Topbar, x as getChartColor };
@@ -16,14 +16,15 @@ import { t as Ir } from "../MultiSelect-xNfIdYS9.js";
16
16
  import { t as Lr } from "../GenericForm-fiF_fEUb.js";
17
17
  import { i as Rr, n as zr, r as Br, t as Vr } from "../SearchInput-pJFU2KVz.js";
18
18
  import { ActiveFilters as Hr, AdvancedFilters as Ur, FilterField as Wr, FilterPills as Gr, FilterPillsGroup as Kr, TableFilter as qr } from "./core/filters/index.js";
19
- import { t as Jr } from "../inputs-Cb0xGJ-E.js";
20
- import { t as Yr } from "../language-DcRIOaqX.js";
21
- import { t as Xr } from "../AppTitle-CBY03gZy.js";
22
- import { n as Zr, t as Qr } from "../states-__YoT7H3.js";
23
- import { AppPageHeader as $r, KpiCardsLayout as ei } from "./core/layouts/index.js";
24
- import { a as ti, i as ni, n as ri, o as ii, r as ai, t as oi } from "../navbar-CRdXfxxM.js";
25
- import { DataTable as si, JsonTableOutput as ci, TableActions as li, TableBody as ui, TableBulkActions as di, TableHeader as fi, TablePagination as pi, TableSettings as mi } from "./core/table/index.js";
26
- import { AppTabContainer as hi, AppTabHeader as gi, AppTabs as _i, AppVerticalTabs as vi } from "./core/tabs/index.js";
27
- import { t as yi } from "../theme-CHrjFJTd.js";
19
+ import { n as Jr, t as Yr } from "../icons-n0m_1w7z.js";
20
+ import { t as Xr } from "../inputs-Cb0xGJ-E.js";
21
+ import { t as Zr } from "../language-DcRIOaqX.js";
22
+ import { t as Qr } from "../AppTitle-CBY03gZy.js";
23
+ import { n as $r, t as ei } from "../states-__YoT7H3.js";
24
+ import { AppPageHeader as ti, KpiCardsLayout as ni } from "./core/layouts/index.js";
25
+ import { a as ri, i as ii, n as ai, o as oi, r as si, t as ci } from "../navbar-CRdXfxxM.js";
26
+ import { DataTable as li, JsonTableOutput as ui, TableActions as di, TableBody as fi, TableBulkActions as pi, TableHeader as mi, TablePagination as hi, TableSettings as gi } from "./core/table/index.js";
27
+ import { AppTabContainer as _i, AppTabHeader as vi, AppTabs as yi, AppVerticalTabs as bi } from "./core/tabs/index.js";
28
+ import { t as xi } from "../theme-CHrjFJTd.js";
28
29
  import "./core/index.js";
29
- export { ze as Accordion, Ie as AccordionContent, He as AccordionItem, he as AccordionTrigger, Hr as ActiveFilters, Ur 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, Pr as AppActions, jr as AppDialog, $r as AppPageHeader, Fr as AppSubTitle, hi as AppTabContainer, gi as AppTabHeader, _i as AppTabs, Xr as AppTitle, vi as AppVerticalTabs, hn as AspectRatio, G as Avatar, ee as AvatarFallback, ve as AvatarImage, fe as Badge, Sr as BarChartHorizontal, Dr as BarChartVertical, A as Breadcrumb, le as BreadcrumbEllipsis, Ct as BreadcrumbItem, x as BreadcrumbLink, bt as BreadcrumbList, re as BreadcrumbPage, oe as BreadcrumbSeparator, xn as Button, xr 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, Cr as ChartCard, u as ChartContainer, o as ChartLegend, c as ChartLegendContent, i as ChartStyle, e as ChartTooltip, s as ChartTooltipContent, Ze as Checkbox, Er as CircularGauge, Ge as Collapsible, nn as CollapsibleContent, fn as CollapsibleTrigger, Bn as Command, or as CommandDialog, lr as CommandEmpty, Hn as CommandGroup, cr as CommandInput, Rn as CommandItem, An as CommandList, sr as CommandSeparator, zn as CommandShortcut, Mr 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, si as DataTable, Rr as DatePicker, Br as DateRangePicker, Mn as Dialog, jn as DialogClose, In as DialogContent, Xn as DialogDescription, kn as DialogFooter, Yn as DialogHeader, Pn as DialogOverlay, Fn as DialogPortal, Ln as DialogTitle, Nn 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, kr as ErrorAlert, Zr as ErrorState, Wr as FilterField, Gr as FilterPills, Kr as FilterPillsGroup, Se as Form, O as FormControl, sn as FormDescription, Ar as FormDialog, Te as FormField, P as FormItem, j as FormLabel, ue as FormMessage, Lr as GenericForm, ii as GlobalSearch, pn as HoverCard, Qe as HoverCardContent, un as HoverCardTrigger, Nr as ImageInput, Kn as Input, ht as InputOTP, ft as InputOTPGroup, Ke as InputOTPSeparator, rn as InputOTPSlot, ci as JsonTableOutput, f as KpiCard, p as KpiCards, ei as KpiCardsLayout, S as Label, Yr as LanguageSelector, wr as LineChart, Qr 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, Ir 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, ti as NotificationsBell, $ as Pagination, _e as PaginationContent, mn as PaginationEllipsis, C as PaginationItem, ke as PaginationLink, V as PaginationNext, Ee as PaginationPrevious, Or as PieChart, tr as Popover, Qn as PopoverContent, qn as PopoverTrigger, W as Progress, de as RadioGroup, F as RadioGroupItem, Jr as RatingInput, yt as ResizableHandle, ne as ResizablePanel, ae as ResizablePanelGroup, Wn as ScrollArea, Gn as ScrollBar, Vr as SearchInput, vr as Select, mr as SelectContent, gr as SelectGroup, fr as SelectItem, ur as SelectLabel, hr as SelectScrollDownButton, _r as SelectScrollUpButton, dr as SelectSeparator, pr as SelectTrigger, yr as SelectValue, b as Separator, ir as Sheet, $n as SheetClose, nr as SheetContent, Jn as SheetDescription, Vn as SheetFooter, er as SheetHeader, rr as SheetOverlay, Un as SheetPortal, Zn as SheetTitle, ar as SheetTrigger, ai as Sidebar, ri as SidebarHeader, ni 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, zr as SingleSelect, br as Skeleton, m as SkeletonCard, _ as SkeletonCards, cn as Slider, dn as Sonner, tn as Switch, li as TableActions, ui as TableBody, di as TableBulkActions, qr as TableFilter, fi as TableHeader, pi as TablePagination, mi as TableSettings, Ot as Tabs, pt as TabsContent, ut as TabsList, We as TabsTrigger, Lt as Textarea, yi 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, On as Tooltip, wn as TooltipContent, En as TooltipProvider, Sn as TooltipTrigger, oi as Topbar, I as badgeVariants, Cn as buttonVariants, bn as controlBaseClass, Tn as controlFilterWidthClass, Dn as controlTriggerClass, Tr as getChartColor, me as navigationMenuTriggerStyle, Xe as toast, gt as toggleVariants, wt as useFormField };
30
+ export { ze as Accordion, Ie as AccordionContent, He as AccordionItem, he as AccordionTrigger, Hr as ActiveFilters, Ur 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, Pr as AppActions, jr as AppDialog, ti as AppPageHeader, Fr as AppSubTitle, _i as AppTabContainer, vi as AppTabHeader, yi as AppTabs, Qr as AppTitle, bi as AppVerticalTabs, hn as AspectRatio, G as Avatar, ee as AvatarFallback, ve as AvatarImage, fe as Badge, Sr as BarChartHorizontal, Dr as BarChartVertical, A as Breadcrumb, le as BreadcrumbEllipsis, Ct as BreadcrumbItem, x as BreadcrumbLink, bt as BreadcrumbList, re as BreadcrumbPage, oe as BreadcrumbSeparator, xn as Button, xr 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, Cr as ChartCard, u as ChartContainer, o as ChartLegend, c as ChartLegendContent, i as ChartStyle, e as ChartTooltip, s as ChartTooltipContent, Ze as Checkbox, Er as CircularGauge, Ge as Collapsible, nn as CollapsibleContent, fn as CollapsibleTrigger, Bn as Command, or as CommandDialog, lr as CommandEmpty, Hn as CommandGroup, cr as CommandInput, Rn as CommandItem, An as CommandList, sr as CommandSeparator, zn as CommandShortcut, Mr 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, li as DataTable, Rr as DatePicker, Br as DateRangePicker, Mn as Dialog, jn as DialogClose, In as DialogContent, Xn as DialogDescription, kn as DialogFooter, Yn as DialogHeader, Pn as DialogOverlay, Fn as DialogPortal, Ln as DialogTitle, Nn 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, kr as ErrorAlert, $r as ErrorState, Wr as FilterField, Gr as FilterPills, Kr as FilterPillsGroup, Jr as FlagFrIcon, Yr as FlagGbIcon, Se as Form, O as FormControl, sn as FormDescription, Ar as FormDialog, Te as FormField, P as FormItem, j as FormLabel, ue as FormMessage, Lr as GenericForm, oi as GlobalSearch, pn as HoverCard, Qe as HoverCardContent, un as HoverCardTrigger, Nr as ImageInput, Kn as Input, ht as InputOTP, ft as InputOTPGroup, Ke as InputOTPSeparator, rn as InputOTPSlot, ui as JsonTableOutput, f as KpiCard, p as KpiCards, ni as KpiCardsLayout, S as Label, Zr as LanguageSelector, wr as LineChart, ei 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, Ir 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, ri as NotificationsBell, $ as Pagination, _e as PaginationContent, mn as PaginationEllipsis, C as PaginationItem, ke as PaginationLink, V as PaginationNext, Ee as PaginationPrevious, Or as PieChart, tr as Popover, Qn as PopoverContent, qn as PopoverTrigger, W as Progress, de as RadioGroup, F as RadioGroupItem, Xr as RatingInput, yt as ResizableHandle, ne as ResizablePanel, ae as ResizablePanelGroup, Wn as ScrollArea, Gn as ScrollBar, Vr as SearchInput, vr as Select, mr as SelectContent, gr as SelectGroup, fr as SelectItem, ur as SelectLabel, hr as SelectScrollDownButton, _r as SelectScrollUpButton, dr as SelectSeparator, pr as SelectTrigger, yr as SelectValue, b as Separator, ir as Sheet, $n as SheetClose, nr as SheetContent, Jn as SheetDescription, Vn as SheetFooter, er as SheetHeader, rr as SheetOverlay, Un as SheetPortal, Zn as SheetTitle, ar as SheetTrigger, si as Sidebar, ai as SidebarHeader, ii 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, zr as SingleSelect, br as Skeleton, m as SkeletonCard, _ as SkeletonCards, cn as Slider, dn as Sonner, tn as Switch, di as TableActions, fi as TableBody, pi as TableBulkActions, qr as TableFilter, mi as TableHeader, hi as TablePagination, gi as TableSettings, Ot as Tabs, pt as TabsContent, ut as TabsList, We as TabsTrigger, Lt as Textarea, xi 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, On as Tooltip, wn as TooltipContent, En as TooltipProvider, Sn as TooltipTrigger, ci as Topbar, I as badgeVariants, Cn as buttonVariants, bn as controlBaseClass, Tn as controlFilterWidthClass, Dn as controlTriggerClass, Tr as getChartColor, me as navigationMenuTriggerStyle, Xe as toast, gt as toggleVariants, wt as useFormField };
@@ -0,0 +1,77 @@
1
+ import { useId as e } from "react";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ //#region src/components/core/icons/FlagFrIcon.tsx
4
+ var r = ({ className: e }) => /* @__PURE__ */ n("svg", {
5
+ viewBox: "0 0 640 480",
6
+ preserveAspectRatio: "xMidYMid slice",
7
+ className: `rounded-[2px] ${e ?? ""}`,
8
+ "aria-hidden": "true",
9
+ children: [
10
+ /* @__PURE__ */ t("rect", {
11
+ width: "640",
12
+ height: "480",
13
+ fill: "#fff"
14
+ }),
15
+ /* @__PURE__ */ t("rect", {
16
+ width: "213.34",
17
+ height: "480",
18
+ fill: "#002395"
19
+ }),
20
+ /* @__PURE__ */ t("rect", {
21
+ x: "426.66",
22
+ width: "213.34",
23
+ height: "480",
24
+ fill: "#ED2939"
25
+ })
26
+ ]
27
+ }), i = ({ className: r }) => {
28
+ let i = e().replace(/:/g, ""), a = `flag-gb-field-${i}`, o = `flag-gb-saltire-${i}`;
29
+ return /* @__PURE__ */ n("svg", {
30
+ viewBox: "0 0 60 30",
31
+ preserveAspectRatio: "xMidYMid slice",
32
+ className: `rounded-[2px] ${r ?? ""}`,
33
+ "aria-hidden": "true",
34
+ children: [
35
+ /* @__PURE__ */ t("clipPath", {
36
+ id: a,
37
+ children: /* @__PURE__ */ t("path", { d: "M0 0v30h60V0z" })
38
+ }),
39
+ /* @__PURE__ */ t("clipPath", {
40
+ id: o,
41
+ children: /* @__PURE__ */ t("path", { d: "M30 15h30v15zv15H0zH0v-15zv-15h30z" })
42
+ }),
43
+ /* @__PURE__ */ n("g", {
44
+ clipPath: `url(#${a})`,
45
+ children: [
46
+ /* @__PURE__ */ t("path", {
47
+ d: "M0 0v30h60V0z",
48
+ fill: "#012169"
49
+ }),
50
+ /* @__PURE__ */ t("path", {
51
+ d: "M0 0l60 30m0-30L0 30",
52
+ stroke: "#fff",
53
+ strokeWidth: "6"
54
+ }),
55
+ /* @__PURE__ */ t("path", {
56
+ d: "M0 0l60 30m0-30L0 30",
57
+ clipPath: `url(#${o})`,
58
+ stroke: "#C8102E",
59
+ strokeWidth: "4"
60
+ }),
61
+ /* @__PURE__ */ t("path", {
62
+ d: "M30 0v30M0 15h60",
63
+ stroke: "#fff",
64
+ strokeWidth: "10"
65
+ }),
66
+ /* @__PURE__ */ t("path", {
67
+ d: "M30 0v30M0 15h60",
68
+ stroke: "#C8102E",
69
+ strokeWidth: "6"
70
+ })
71
+ ]
72
+ })
73
+ ]
74
+ });
75
+ };
76
+ //#endregion
77
+ export { r as n, i as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krosoft/react",
3
- "version": "0.0.300",
3
+ "version": "0.0.301",
4
4
  "description": "Krosoft shared React package",
5
5
  "type": "module",
6
6
  "scripts": {