@akira-io/ui 2.0.0 → 2.2.0
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/blocks.d.ts +4 -4
- package/dist/blocks.js +11 -10
- package/dist/blocks.js.map +1 -1
- package/dist/{chunk-3Z2VGVPI.js → chunk-53V4J7MC.js} +2 -2
- package/dist/{chunk-VA6A4HZ2.js → chunk-BH3B26DK.js} +5 -5
- package/dist/{chunk-TM5MN3MI.js → chunk-BP2YDMMI.js} +2 -2
- package/dist/{chunk-DE2AJ54R.js → chunk-BR3JI3KN.js} +6 -6
- package/dist/{chunk-YBXRJSR3.js → chunk-CAUTXZ4U.js} +2 -2
- package/dist/chunk-EXTOGROG.js +42 -0
- package/dist/chunk-EXTOGROG.js.map +1 -0
- package/dist/{chunk-SZUXATOF.js → chunk-MCHHCLV3.js} +4 -4
- package/dist/{chunk-2V6HUWST.js → chunk-NKPFIA32.js} +2 -2
- package/dist/{chunk-E26KKMGS.js → chunk-OS7YY5R4.js} +1 -1
- package/dist/{chunk-E26KKMGS.js.map → chunk-OS7YY5R4.js.map} +1 -1
- package/dist/{chunk-UXVI326F.js → chunk-PCYYU332.js} +3 -3
- package/dist/{chunk-KHOA4TEI.js → chunk-PPWJK5T3.js} +7 -1
- package/dist/chunk-PPWJK5T3.js.map +1 -0
- package/dist/{chunk-B3L6PRLX.js → chunk-PYXUFFMO.js} +12 -5
- package/dist/chunk-PYXUFFMO.js.map +1 -0
- package/dist/{chunk-EYPM6IMS.js → chunk-QZRSQVCN.js} +2 -2
- package/dist/{chunk-UCJTM3UM.js → chunk-RE4M2G2Y.js} +139 -55
- package/dist/chunk-RE4M2G2Y.js.map +1 -0
- package/dist/code.js +3 -3
- package/dist/{context-Soro3B1I.d.ts → context-Dqf-5Qne.d.ts} +10 -2
- package/dist/editor.js +5 -5
- package/dist/index.d.ts +23 -10
- package/dist/index.js +156 -123
- package/dist/index.js.map +1 -1
- package/dist/inertia.js +9 -8
- package/dist/inertia.js.map +1 -1
- package/dist/locales/fr.d.ts +44 -0
- package/dist/locales/fr.js +248 -0
- package/dist/locales/fr.js.map +1 -0
- package/dist/locales/pt.d.ts +2 -2
- package/dist/locales/pt.js.map +1 -1
- package/dist/shells.d.ts +1 -1
- package/dist/shells.js +6 -5
- package/dist/shells.js.map +1 -1
- package/dist/{sidebar-BLL2tgTt.d.ts → sidebar-_xQ3IehY.d.ts} +3 -1
- package/package.json +5 -1
- package/theme.css +11 -0
- package/dist/chunk-B3L6PRLX.js.map +0 -1
- package/dist/chunk-KHOA4TEI.js.map +0 -1
- package/dist/chunk-UCJTM3UM.js.map +0 -1
- /package/dist/{chunk-3Z2VGVPI.js.map → chunk-53V4J7MC.js.map} +0 -0
- /package/dist/{chunk-VA6A4HZ2.js.map → chunk-BH3B26DK.js.map} +0 -0
- /package/dist/{chunk-TM5MN3MI.js.map → chunk-BP2YDMMI.js.map} +0 -0
- /package/dist/{chunk-DE2AJ54R.js.map → chunk-BR3JI3KN.js.map} +0 -0
- /package/dist/{chunk-YBXRJSR3.js.map → chunk-CAUTXZ4U.js.map} +0 -0
- /package/dist/{chunk-SZUXATOF.js.map → chunk-MCHHCLV3.js.map} +0 -0
- /package/dist/{chunk-2V6HUWST.js.map → chunk-NKPFIA32.js.map} +0 -0
- /package/dist/{chunk-UXVI326F.js.map → chunk-PCYYU332.js.map} +0 -0
- /package/dist/{chunk-EYPM6IMS.js.map → chunk-QZRSQVCN.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import { ReactNode } from 'react';
|
|
|
6
6
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
7
7
|
import { S as SlotNameProps, I as IconComponent } from './types-CMZRvMV5.js';
|
|
8
8
|
export { C as Column, a as ColumnDef, F as FilterFn, b as LucideIcon, R as Row, T as TableInstance, U as UrlLike } from './types-CMZRvMV5.js';
|
|
9
|
-
import { F as FloatingSheetLabels } from './context-
|
|
10
|
-
export { B as Alert, E as AlertDescription, G as AlertLabels, H as AlertTitle, I as AppearanceToggle, J as AppearanceToggleLabels, K as AppearanceToggleProps, L as Combobox, M as ComboboxLabels, N as ComboboxOption, O as ComboboxProps, P as ConfirmDialog, Q as ConfirmDialogLabels, R as CopyButton, C as CopyButtonLabels, T as CopyButtonProps, V as DataTable, W as DataTableFacetedFilterLabels, X as DataTableFilter, Y as DataTableLabels, Z as DataTableRowAction, _ as DataTableServerFilter, $ as DatePicker, a0 as DatePickerLabels, a1 as DatePickerProps, a2 as DateRangeFilter, a3 as DateRangeFilterLabels, a4 as DateRangeFilterProps, a5 as FacetedFilter, a6 as PasswordInput, a7 as PasswordInputLabels, a8 as RowActionsMenu, a9 as SAVED_DURATION, aa as SaveStatus, ab as SaveStatusLabels, ac as SaveStatusProps, ad as SaveStatusState, ae as ServerFacetedFilter, U as UiLabelSections, v as UiLabels, w as UiLocaleProvider, af as alertDefaultLabels, ag as appearanceToggleDefaultLabels, ah as comboboxDefaultLabels, ai as confirmDialogDefaultLabels, aj as copyButtonLabels, ak as dataTableDefaultLabels, al as dataTableFacetedFilterDefaultLabels, am as datePickerDefaultLabels, an as dateRangeFilterDefaultLabels, ao as floatingSheetDefaultLabels, ap as passwordInputDefaultLabels, aq as saveStatusLabels, z as useUiLabels, A as useUiLocale } from './context-
|
|
9
|
+
import { F as FloatingSheetLabels } from './context-Dqf-5Qne.js';
|
|
10
|
+
export { B as Alert, E as AlertDescription, G as AlertLabels, H as AlertTitle, I as AppearanceToggle, J as AppearanceToggleLabels, K as AppearanceToggleProps, L as Combobox, M as ComboboxLabels, N as ComboboxOption, O as ComboboxProps, P as ConfirmDialog, Q as ConfirmDialogLabels, R as CopyButton, C as CopyButtonLabels, T as CopyButtonProps, V as DataTable, W as DataTableFacetedFilterLabels, X as DataTableFilter, Y as DataTableLabels, Z as DataTableRowAction, _ as DataTableServerFilter, $ as DatePicker, a0 as DatePickerLabels, a1 as DatePickerProps, a2 as DateRangeFilter, a3 as DateRangeFilterLabels, a4 as DateRangeFilterProps, a5 as FacetedFilter, a6 as PasswordInput, a7 as PasswordInputLabels, a8 as RowActionsMenu, a9 as SAVED_DURATION, aa as SaveStatus, ab as SaveStatusLabels, ac as SaveStatusProps, ad as SaveStatusState, ae as ServerFacetedFilter, U as UiLabelSections, v as UiLabels, w as UiLocaleProvider, af as alertDefaultLabels, ag as appearanceToggleDefaultLabels, ah as comboboxDefaultLabels, ai as confirmDialogDefaultLabels, aj as copyButtonLabels, ak as dataTableDefaultLabels, al as dataTableFacetedFilterDefaultLabels, am as datePickerDefaultLabels, an as dateRangeFilterDefaultLabels, ao as floatingSheetDefaultLabels, ap as passwordInputDefaultLabels, aq as saveStatusLabels, z as useUiLabels, A as useUiLocale } from './context-Dqf-5Qne.js';
|
|
11
11
|
import { AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Dialog as Dialog$1, ContextMenu as ContextMenu$1, HoverCard as HoverCard$1, Menubar as Menubar$1, Popover as Popover$1, Progress as Progress$1, RadioGroup as RadioGroup$1, Slider as Slider$1 } from 'radix-ui';
|
|
12
12
|
import { B as Button } from './input-B4uEClxB.js';
|
|
13
13
|
export { a as ButtonProps, I as Input, b as buttonVariants } from './input-B4uEClxB.js';
|
|
@@ -33,7 +33,7 @@ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
|
33
33
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
34
34
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
35
35
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
36
|
-
export { S as Separator, a as Sidebar, b as SidebarContent, c as SidebarFooter, d as SidebarGroup, e as SidebarGroupAction, f as SidebarGroupContent, g as SidebarGroupLabel, h as SidebarHeader, i as SidebarInput, j as SidebarInset, k as SidebarMenu, l as SidebarMenuAction, m as SidebarMenuBadge, n as SidebarMenuButton, o as SidebarMenuItem, p as SidebarMenuSkeleton, q as SidebarMenuSub, r as SidebarMenuSubButton, s as SidebarMenuSubItem, t as SidebarProvider, u as SidebarRail, v as SidebarSeparator, w as SidebarTrigger, T as Tooltip, x as TooltipContent, y as TooltipProvider, z as TooltipTrigger, A as useSidebar } from './sidebar-
|
|
36
|
+
export { S as Separator, a as Sidebar, b as SidebarContent, c as SidebarFooter, d as SidebarGroup, e as SidebarGroupAction, f as SidebarGroupContent, g as SidebarGroupLabel, h as SidebarHeader, i as SidebarInput, j as SidebarInset, k as SidebarMenu, l as SidebarMenuAction, m as SidebarMenuBadge, n as SidebarMenuButton, o as SidebarMenuItem, p as SidebarMenuSkeleton, q as SidebarMenuSub, r as SidebarMenuSubButton, s as SidebarMenuSubItem, t as SidebarProvider, u as SidebarRail, v as SidebarSeparator, w as SidebarTrigger, T as Tooltip, x as TooltipContent, y as TooltipProvider, z as TooltipTrigger, A as useSidebar } from './sidebar-_xQ3IehY.js';
|
|
37
37
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
38
38
|
import { ToasterProps } from 'sonner';
|
|
39
39
|
export { toast } from 'sonner';
|
|
@@ -243,7 +243,9 @@ declare function ContextMenuSubTrigger({ className, inset, children, slotName, .
|
|
|
243
243
|
inset?: boolean;
|
|
244
244
|
} & SlotNameProps): React$1.JSX.Element;
|
|
245
245
|
declare function ContextMenuSubContent({ className, slotName, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubContent> & SlotNameProps): React$1.JSX.Element;
|
|
246
|
-
declare function ContextMenuContent({ className, slotName, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Content> & SlotNameProps
|
|
246
|
+
declare function ContextMenuContent({ className, slotName, container, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Content> & SlotNameProps & {
|
|
247
|
+
container?: HTMLElement | null;
|
|
248
|
+
}): React$1.JSX.Element;
|
|
247
249
|
declare function ContextMenuItem({ className, inset, variant, slotName, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Item> & {
|
|
248
250
|
inset?: boolean;
|
|
249
251
|
variant?: 'default' | 'destructive';
|
|
@@ -270,7 +272,9 @@ declare function DrawerDescription({ className, slotName, ...props }: React$1.Co
|
|
|
270
272
|
declare function DropdownMenu({ modal, slotName, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root> & SlotNameProps): React$1.JSX.Element;
|
|
271
273
|
declare function DropdownMenuPortal({ slotName, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal> & SlotNameProps): React$1.JSX.Element;
|
|
272
274
|
declare function DropdownMenuTrigger({ slotName, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger> & SlotNameProps): React$1.JSX.Element;
|
|
273
|
-
declare function DropdownMenuContent({ className, sideOffset, slotName, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content> & SlotNameProps
|
|
275
|
+
declare function DropdownMenuContent({ className, sideOffset, slotName, container, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content> & SlotNameProps & {
|
|
276
|
+
container?: HTMLElement | null;
|
|
277
|
+
}): React$1.JSX.Element;
|
|
274
278
|
declare function DropdownMenuGroup({ slotName, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group> & SlotNameProps): React$1.JSX.Element;
|
|
275
279
|
declare function DropdownMenuItem({ className, inset, variant, slotName, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
276
280
|
inset?: boolean;
|
|
@@ -321,7 +325,7 @@ declare function FloatingSheet({ open, onOpenChange, title, description, persist
|
|
|
321
325
|
description?: React$1.ReactNode;
|
|
322
326
|
persistent?: boolean;
|
|
323
327
|
} & SlotNameProps): React$1.ReactPortal | null;
|
|
324
|
-
declare function FloatingSheetBody({ className, slotName, ...props }: React$1.ComponentProps<'div'> & SlotNameProps): React$1.JSX.Element;
|
|
328
|
+
declare function FloatingSheetBody({ className, slotName, children, ...props }: React$1.ComponentProps<'div'> & SlotNameProps): React$1.JSX.Element;
|
|
325
329
|
declare function FloatingSheetFooter({ className, slotName, ...props }: React$1.ComponentProps<'div'> & SlotNameProps): React$1.JSX.Element;
|
|
326
330
|
|
|
327
331
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, handleSubmit, unregister, control, register, setFocus, subscribe, }: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
@@ -348,7 +352,9 @@ declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttribu
|
|
|
348
352
|
|
|
349
353
|
declare function HoverCard({ slotName, ...props }: React$1.ComponentProps<typeof HoverCard$1.Root> & SlotNameProps): React$1.JSX.Element;
|
|
350
354
|
declare function HoverCardTrigger({ slotName, ...props }: React$1.ComponentProps<typeof HoverCard$1.Trigger> & SlotNameProps): React$1.JSX.Element;
|
|
351
|
-
declare function HoverCardContent({ className, align, sideOffset, slotName, ...props }: React$1.ComponentProps<typeof HoverCard$1.Content> & SlotNameProps
|
|
355
|
+
declare function HoverCardContent({ className, align, sideOffset, slotName, container, ...props }: React$1.ComponentProps<typeof HoverCard$1.Content> & SlotNameProps & {
|
|
356
|
+
container?: HTMLElement | null;
|
|
357
|
+
}): React$1.JSX.Element;
|
|
352
358
|
|
|
353
359
|
interface IconProps {
|
|
354
360
|
iconNode?: IconComponent | null;
|
|
@@ -389,10 +395,13 @@ declare const InputOTPSlot: React$1.ForwardRefExoticComponent<Omit<React$1.Detai
|
|
|
389
395
|
} & SlotNameProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
390
396
|
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
391
397
|
|
|
398
|
+
declare function MenubarPortal({ slotName, container, ...props }: Omit<React$1.ComponentProps<typeof Menubar$1.Portal>, 'container'> & SlotNameProps & {
|
|
399
|
+
container?: HTMLElement | null;
|
|
400
|
+
}): React$1.JSX.Element;
|
|
401
|
+
|
|
392
402
|
declare function Menubar({ className, slotName, ...props }: React$1.ComponentProps<typeof Menubar$1.Root> & SlotNameProps): React$1.JSX.Element;
|
|
393
403
|
declare function MenubarMenu({ slotName, ...props }: React$1.ComponentProps<typeof Menubar$1.Menu> & SlotNameProps): React$1.JSX.Element;
|
|
394
404
|
declare function MenubarGroup({ slotName, ...props }: React$1.ComponentProps<typeof Menubar$1.Group> & SlotNameProps): React$1.JSX.Element;
|
|
395
|
-
declare function MenubarPortal({ slotName, ...props }: React$1.ComponentProps<typeof Menubar$1.Portal> & SlotNameProps): React$1.JSX.Element;
|
|
396
405
|
declare function MenubarRadioGroup({ slotName, ...props }: React$1.ComponentProps<typeof Menubar$1.RadioGroup> & SlotNameProps): React$1.JSX.Element;
|
|
397
406
|
declare function MenubarTrigger({ className, slotName, ...props }: React$1.ComponentProps<typeof Menubar$1.Trigger> & SlotNameProps): React$1.JSX.Element;
|
|
398
407
|
declare function MenubarContent({ className, align, alignOffset, sideOffset, slotName, ...props }: React$1.ComponentProps<typeof Menubar$1.Content> & SlotNameProps): React$1.JSX.Element;
|
|
@@ -444,7 +453,9 @@ declare function PlaceholderPattern({ className, slotName, }: PlaceholderPattern
|
|
|
444
453
|
declare const Popover: React$1.FC<Popover$1.PopoverProps>;
|
|
445
454
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<Popover$1.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
446
455
|
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<Popover$1.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
447
|
-
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<Popover$1.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & SlotNameProps &
|
|
456
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<Popover$1.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & SlotNameProps & {
|
|
457
|
+
container?: HTMLElement | null;
|
|
458
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
448
459
|
|
|
449
460
|
declare function Progress({ className, value, slotName, ...props }: React$1.ComponentProps<typeof Progress$1.Root> & SlotNameProps): React$1.JSX.Element;
|
|
450
461
|
|
|
@@ -464,7 +475,9 @@ declare function Select({ slotName, ...props }: React$1.ComponentProps<typeof Se
|
|
|
464
475
|
declare function SelectGroup({ slotName, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Group> & SlotNameProps): React$1.JSX.Element;
|
|
465
476
|
declare function SelectValue({ slotName, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value> & SlotNameProps): React$1.JSX.Element;
|
|
466
477
|
declare function SelectTrigger({ className, children, slotName, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & SlotNameProps): React$1.JSX.Element;
|
|
467
|
-
declare function SelectContent({ className, children, position, slotName, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content> & SlotNameProps
|
|
478
|
+
declare function SelectContent({ className, children, position, slotName, container, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content> & SlotNameProps & {
|
|
479
|
+
container?: HTMLElement | null;
|
|
480
|
+
}): React$1.JSX.Element;
|
|
468
481
|
declare function SelectLabel({ className, slotName, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Label> & SlotNameProps): React$1.JSX.Element;
|
|
469
482
|
declare function SelectItem({ className, children, slotName, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item> & SlotNameProps): React$1.JSX.Element;
|
|
470
483
|
declare function SelectSeparator({ className, slotName, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Separator> & SlotNameProps): React$1.JSX.Element;
|