adminium 1.0.2 → 1.0.3
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/index.cjs +2553 -183
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +310 -2
- package/dist/index.d.ts +310 -2
- package/dist/index.js +2457 -173
- package/dist/index.js.map +1 -1
- package/dist/styles/adminium.css +1041 -22
- package/dist/styles/global.css +65 -0
- package/package.json +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -3,13 +3,20 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import { ReactNode, CSSProperties, HTMLAttributes, RefObject } from 'react';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Popover as Popover$1, Avatar as Avatar$1, Tabs as Tabs$1, Label as Label$1, Switch as Switch$1, ScrollArea as ScrollArea$1, AspectRatio as AspectRatio$1, Select as Select$1 } from 'radix-ui';
|
|
6
|
+
import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Popover as Popover$1, Avatar as Avatar$1, Accordion as Accordion$1, Collapsible as Collapsible$1, Tabs as Tabs$1, ContextMenu as ContextMenu$1, Label as Label$1, RadioGroup as RadioGroup$1, Slider as Slider$1, Switch as Switch$1, ScrollArea as ScrollArea$1, AspectRatio as AspectRatio$1, Select as Select$1, Progress as Progress$1 } from 'radix-ui';
|
|
7
7
|
import { LucideIcon } from 'lucide-react';
|
|
8
8
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
9
9
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
10
|
+
import { Command as Command$1 } from 'cmdk';
|
|
11
|
+
import * as RechartsPrimitive from 'recharts';
|
|
10
12
|
import { RowData, Table, SortingState, ColumnFiltersState, Row, Cell, Column, HeaderGroup, Header } from '@tanstack/react-table';
|
|
13
|
+
import { DragEndEvent, UniqueIdentifier } from '@dnd-kit/core';
|
|
11
14
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
12
15
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
16
|
+
import { DayPicker } from 'react-day-picker';
|
|
17
|
+
export { DateRange } from 'react-day-picker';
|
|
18
|
+
import { DateValue, DateFieldProps, DateInputProps as DateInputProps$1, DateSegmentProps, TimeValue, TimeFieldProps } from 'react-aria-components';
|
|
19
|
+
import { OTPInput } from 'input-otp';
|
|
13
20
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
14
21
|
import { ClassValue } from 'clsx';
|
|
15
22
|
|
|
@@ -173,6 +180,23 @@ declare function SheetFooter({ className, ...props }: React$1.ComponentProps<'di
|
|
|
173
180
|
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
174
181
|
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
175
182
|
|
|
183
|
+
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
184
|
+
type CommandDialogProps = React$1.ComponentProps<typeof Dialog> & {
|
|
185
|
+
className?: string;
|
|
186
|
+
};
|
|
187
|
+
declare function CommandDialog({ children, className, ...props }: CommandDialogProps): react_jsx_runtime.JSX.Element;
|
|
188
|
+
declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
189
|
+
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
190
|
+
declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
191
|
+
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
192
|
+
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
193
|
+
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
194
|
+
declare function CommandShortcut({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
195
|
+
interface CommandCheckProps extends React$1.SVGProps<SVGSVGElement> {
|
|
196
|
+
icon?: LucideIcon;
|
|
197
|
+
}
|
|
198
|
+
declare function CommandCheck({ icon: Icon, className, ...props }: CommandCheckProps): react_jsx_runtime.JSX.Element;
|
|
199
|
+
|
|
176
200
|
declare const avatarStatusVariants: (props?: ({
|
|
177
201
|
variant?: "online" | "offline" | "busy" | "away" | null | undefined;
|
|
178
202
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -203,6 +227,48 @@ declare function AvatarGroup({ children, className, tooltipClassName, animation,
|
|
|
203
227
|
declare function AvatarGroupItem({ children, className, tooltipClassName, animation: itemAnimation, }: AvatarGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
204
228
|
declare function AvatarGroupTooltip({ children, className, }: AvatarGroupTooltipProps): react_jsx_runtime.JSX.Element;
|
|
205
229
|
|
|
230
|
+
declare const THEMES: {
|
|
231
|
+
readonly light: "";
|
|
232
|
+
readonly dark: ".dark";
|
|
233
|
+
};
|
|
234
|
+
type ChartConfig = {
|
|
235
|
+
[k in string]: {
|
|
236
|
+
label?: React$1.ReactNode;
|
|
237
|
+
icon?: React$1.ComponentType;
|
|
238
|
+
} & ({
|
|
239
|
+
color?: string;
|
|
240
|
+
theme?: never;
|
|
241
|
+
} | {
|
|
242
|
+
color?: never;
|
|
243
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
244
|
+
});
|
|
245
|
+
};
|
|
246
|
+
type ChartContextProps = {
|
|
247
|
+
config: ChartConfig;
|
|
248
|
+
};
|
|
249
|
+
declare function useChart(): ChartContextProps;
|
|
250
|
+
declare function ChartContainer({ id, className, children, config, ...props }: React$1.ComponentProps<"div"> & {
|
|
251
|
+
config: ChartConfig;
|
|
252
|
+
children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
253
|
+
}): react_jsx_runtime.JSX.Element;
|
|
254
|
+
declare function ChartStyle({ id, config }: {
|
|
255
|
+
id: string;
|
|
256
|
+
config: ChartConfig;
|
|
257
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
258
|
+
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
259
|
+
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip> & React$1.ComponentProps<"div"> & {
|
|
260
|
+
hideLabel?: boolean;
|
|
261
|
+
hideIndicator?: boolean;
|
|
262
|
+
indicator?: "line" | "dot" | "dashed";
|
|
263
|
+
nameKey?: string;
|
|
264
|
+
labelKey?: string;
|
|
265
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
266
|
+
declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
267
|
+
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React$1.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
|
|
268
|
+
hideIcon?: boolean;
|
|
269
|
+
nameKey?: string;
|
|
270
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
271
|
+
|
|
206
272
|
declare module "@tanstack/react-table" {
|
|
207
273
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
208
274
|
headerTitle?: string;
|
|
@@ -373,6 +439,71 @@ declare function DataGridColumnVisibility<TData>({ table, trigger, }: {
|
|
|
373
439
|
trigger: ReactNode;
|
|
374
440
|
}): react_jsx_runtime.JSX.Element;
|
|
375
441
|
|
|
442
|
+
interface KanbanMoveEvent {
|
|
443
|
+
event: DragEndEvent;
|
|
444
|
+
activeContainer: string;
|
|
445
|
+
activeIndex: number;
|
|
446
|
+
overContainer: string;
|
|
447
|
+
overIndex: number;
|
|
448
|
+
}
|
|
449
|
+
interface KanbanRootProps<T> {
|
|
450
|
+
value: Record<string, T[]>;
|
|
451
|
+
onValueChange: (value: Record<string, T[]>) => void;
|
|
452
|
+
getItemValue: (item: T) => string;
|
|
453
|
+
children: React$1.ReactNode;
|
|
454
|
+
className?: string;
|
|
455
|
+
onMove?: (event: KanbanMoveEvent) => void;
|
|
456
|
+
}
|
|
457
|
+
declare function Kanban<T>({ value, onValueChange, getItemValue, children, className, onMove, }: KanbanRootProps<T>): react_jsx_runtime.JSX.Element;
|
|
458
|
+
interface KanbanBoardProps {
|
|
459
|
+
className?: string;
|
|
460
|
+
children: React$1.ReactNode;
|
|
461
|
+
}
|
|
462
|
+
declare function KanbanBoard({ children, className }: KanbanBoardProps): react_jsx_runtime.JSX.Element;
|
|
463
|
+
interface KanbanColumnProps {
|
|
464
|
+
value: string;
|
|
465
|
+
className?: string;
|
|
466
|
+
children: React$1.ReactNode;
|
|
467
|
+
disabled?: boolean;
|
|
468
|
+
}
|
|
469
|
+
declare function KanbanColumn({ value, className, children, disabled, }: KanbanColumnProps): react_jsx_runtime.JSX.Element;
|
|
470
|
+
interface KanbanColumnHandleProps {
|
|
471
|
+
asChild?: boolean;
|
|
472
|
+
className?: string;
|
|
473
|
+
children?: React$1.ReactNode;
|
|
474
|
+
cursor?: boolean;
|
|
475
|
+
}
|
|
476
|
+
declare function KanbanColumnHandle({ asChild, className, children, cursor, }: KanbanColumnHandleProps): react_jsx_runtime.JSX.Element;
|
|
477
|
+
interface KanbanItemProps {
|
|
478
|
+
value: string;
|
|
479
|
+
asChild?: boolean;
|
|
480
|
+
className?: string;
|
|
481
|
+
children: React$1.ReactNode;
|
|
482
|
+
disabled?: boolean;
|
|
483
|
+
}
|
|
484
|
+
declare function KanbanItem({ value, asChild, className, children, disabled, }: KanbanItemProps): react_jsx_runtime.JSX.Element;
|
|
485
|
+
interface KanbanItemHandleProps {
|
|
486
|
+
asChild?: boolean;
|
|
487
|
+
className?: string;
|
|
488
|
+
children?: React$1.ReactNode;
|
|
489
|
+
cursor?: boolean;
|
|
490
|
+
}
|
|
491
|
+
declare function KanbanItemHandle({ asChild, className, children, cursor, }: KanbanItemHandleProps): react_jsx_runtime.JSX.Element;
|
|
492
|
+
interface KanbanColumnContentProps {
|
|
493
|
+
value: string;
|
|
494
|
+
className?: string;
|
|
495
|
+
children: React$1.ReactNode;
|
|
496
|
+
}
|
|
497
|
+
declare function KanbanColumnContent({ value, className, children, }: KanbanColumnContentProps): react_jsx_runtime.JSX.Element;
|
|
498
|
+
interface KanbanOverlayProps {
|
|
499
|
+
className?: string;
|
|
500
|
+
children?: React$1.ReactNode | ((params: {
|
|
501
|
+
value: UniqueIdentifier;
|
|
502
|
+
variant: "column" | "item";
|
|
503
|
+
}) => React$1.ReactNode);
|
|
504
|
+
}
|
|
505
|
+
declare function KanbanOverlay({ children, className }: KanbanOverlayProps): react_jsx_runtime.JSX.Element;
|
|
506
|
+
|
|
376
507
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
377
508
|
asChild?: boolean;
|
|
378
509
|
dotClassName?: string;
|
|
@@ -400,6 +531,64 @@ declare function BadgeButton({ className, variant, asChild, ...props }: React$1.
|
|
|
400
531
|
}): react_jsx_runtime.JSX.Element;
|
|
401
532
|
declare function BadgeDot({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
402
533
|
|
|
534
|
+
declare const accordionRootVariants: (props?: ({
|
|
535
|
+
variant?: "default" | "outline" | "solid" | null | undefined;
|
|
536
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
537
|
+
declare function Accordion(props: React$1.ComponentProps<typeof Accordion$1.Root> & VariantProps<typeof accordionRootVariants> & {
|
|
538
|
+
indicator?: "arrow" | "plus" | "none";
|
|
539
|
+
}): react_jsx_runtime.JSX.Element;
|
|
540
|
+
declare function AccordionItem(props: React$1.ComponentProps<typeof Accordion$1.Item>): react_jsx_runtime.JSX.Element;
|
|
541
|
+
declare function AccordionTrigger(props: React$1.ComponentProps<typeof Accordion$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
542
|
+
declare function AccordionContent(props: React$1.ComponentProps<typeof Accordion$1.Content>): react_jsx_runtime.JSX.Element;
|
|
543
|
+
|
|
544
|
+
interface AccordionMenuClassNames {
|
|
545
|
+
root?: string;
|
|
546
|
+
group?: string;
|
|
547
|
+
label?: string;
|
|
548
|
+
separator?: string;
|
|
549
|
+
item?: string;
|
|
550
|
+
sub?: string;
|
|
551
|
+
subTrigger?: string;
|
|
552
|
+
subContent?: string;
|
|
553
|
+
subWrapper?: string;
|
|
554
|
+
indicator?: string;
|
|
555
|
+
}
|
|
556
|
+
interface AccordionMenuProps {
|
|
557
|
+
selectedValue?: string;
|
|
558
|
+
matchPath?: (href: string) => boolean;
|
|
559
|
+
classNames?: AccordionMenuClassNames;
|
|
560
|
+
onItemClick?: (value: string, event: React$1.MouseEvent) => void;
|
|
561
|
+
}
|
|
562
|
+
declare function AccordionMenu({ className, matchPath, classNames, children, selectedValue, onItemClick, ...props }: React$1.ComponentPropsWithoutRef<typeof Accordion$1.Root> & AccordionMenuProps): react_jsx_runtime.JSX.Element;
|
|
563
|
+
type AccordionMenuGroupProps = React$1.ComponentPropsWithoutRef<"div">;
|
|
564
|
+
declare function AccordionMenuGroup({ children, className, ...props }: AccordionMenuGroupProps): react_jsx_runtime.JSX.Element;
|
|
565
|
+
type AccordionMenuLabelProps = React$1.ComponentPropsWithoutRef<"div">;
|
|
566
|
+
declare function AccordionMenuLabel({ children, className, ...props }: AccordionMenuLabelProps): react_jsx_runtime.JSX.Element;
|
|
567
|
+
type AccordionMenuSeparatorProps = React$1.ComponentPropsWithoutRef<"div">;
|
|
568
|
+
declare function AccordionMenuSeparator({ className, ...props }: AccordionMenuSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
569
|
+
declare const itemVariants: (props?: ({
|
|
570
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
571
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
572
|
+
declare function AccordionMenuItem({ className, children, variant, asChild, onClick, ...props }: React$1.ComponentPropsWithoutRef<typeof Accordion$1.Item> & VariantProps<typeof itemVariants> & {
|
|
573
|
+
onClick?: React$1.MouseEventHandler<HTMLElement>;
|
|
574
|
+
}): react_jsx_runtime.JSX.Element;
|
|
575
|
+
declare function AccordionMenuSub({ className, children, ...props }: React$1.ComponentPropsWithoutRef<typeof Accordion$1.Item>): react_jsx_runtime.JSX.Element;
|
|
576
|
+
declare function AccordionMenuSubTrigger({ className, children, }: React$1.ComponentPropsWithoutRef<typeof Accordion$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
577
|
+
type AccordionMenuSubContentProps = ((React$1.ComponentPropsWithoutRef<typeof Accordion$1.Content> & {
|
|
578
|
+
type: "single";
|
|
579
|
+
collapsible: boolean;
|
|
580
|
+
defaultValue?: string;
|
|
581
|
+
}) | (React$1.ComponentPropsWithoutRef<typeof Accordion$1.Content> & {
|
|
582
|
+
type: "multiple";
|
|
583
|
+
collapsible?: boolean;
|
|
584
|
+
defaultValue?: string | string[];
|
|
585
|
+
})) & {
|
|
586
|
+
parentValue: string;
|
|
587
|
+
};
|
|
588
|
+
declare function AccordionMenuSubContent({ className, children, type, collapsible, defaultValue, parentValue, ...props }: AccordionMenuSubContentProps): react_jsx_runtime.JSX.Element;
|
|
589
|
+
type AccordionMenuIndicatorProps = React$1.ComponentPropsWithoutRef<"span">;
|
|
590
|
+
declare function AccordionMenuIndicator({ className, ...props }: AccordionMenuIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
591
|
+
|
|
403
592
|
declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav"> & {
|
|
404
593
|
separator?: React$1.ReactNode;
|
|
405
594
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -412,6 +601,10 @@ declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<
|
|
|
412
601
|
declare const BreadcrumbSeparator: ({ children, className, ...props }: React$1.ComponentProps<"li">) => react_jsx_runtime.JSX.Element;
|
|
413
602
|
declare const BreadcrumbEllipsis: ({ className, ...props }: React$1.ComponentProps<"span">) => react_jsx_runtime.JSX.Element;
|
|
414
603
|
|
|
604
|
+
declare function Collapsible({ ...props }: React$1.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime.JSX.Element;
|
|
605
|
+
declare function CollapsibleTrigger({ ...props }: React$1.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
|
|
606
|
+
declare function CollapsibleContent({ className, children, ...props }: React$1.ComponentProps<typeof Collapsible$1.CollapsibleContent>): react_jsx_runtime.JSX.Element;
|
|
607
|
+
|
|
415
608
|
declare const tabsListVariantConfig: {
|
|
416
609
|
readonly variant: {
|
|
417
610
|
readonly default: "bg-accent p-1";
|
|
@@ -527,6 +720,40 @@ declare function DropdownMenuSeparator({ className, ...props }: React$1.Componen
|
|
|
527
720
|
declare function DropdownMenuShortcut({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
528
721
|
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
529
722
|
|
|
723
|
+
declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
724
|
+
declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
725
|
+
declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Group>): react_jsx_runtime.JSX.Element;
|
|
726
|
+
declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
727
|
+
declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Sub>): react_jsx_runtime.JSX.Element;
|
|
728
|
+
declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
729
|
+
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubTrigger> & {
|
|
730
|
+
inset?: boolean;
|
|
731
|
+
}): react_jsx_runtime.JSX.Element;
|
|
732
|
+
declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
733
|
+
declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
734
|
+
declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Item> & {
|
|
735
|
+
inset?: boolean;
|
|
736
|
+
variant?: "destructive";
|
|
737
|
+
}): react_jsx_runtime.JSX.Element;
|
|
738
|
+
declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
739
|
+
declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
740
|
+
declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Label> & {
|
|
741
|
+
inset?: boolean;
|
|
742
|
+
}): react_jsx_runtime.JSX.Element;
|
|
743
|
+
declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
744
|
+
declare function ContextMenuShortcut({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
745
|
+
|
|
746
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: React$1.ComponentProps<typeof DayPicker>): react_jsx_runtime.JSX.Element;
|
|
747
|
+
|
|
748
|
+
declare function DateField<T extends DateValue>({ className, children, ...props }: DateFieldProps<T>): react_jsx_runtime.JSX.Element;
|
|
749
|
+
declare function TimeField<T extends TimeValue>({ className, children, ...props }: TimeFieldProps<T>): react_jsx_runtime.JSX.Element;
|
|
750
|
+
declare function DateSegment({ className, ...props }: DateSegmentProps): react_jsx_runtime.JSX.Element;
|
|
751
|
+
declare const dateInputStyles = "relative inline-flex items-center overflow-hidden whitespace-nowrap data-focus-within:ring-ring/30 data-focus-within:border-ring data-focus-within:outline-none data-focus-within:ring-[3px] data-focus-within:has-aria-invalid:ring-destructive/20 dark:data-focus-within:has-aria-invalid:ring-destructive/40 data-focus-within:has-aria-invalid:border-destructive";
|
|
752
|
+
interface DateInputProps extends DateInputProps$1, VariantProps<typeof inputVariants> {
|
|
753
|
+
className?: string;
|
|
754
|
+
}
|
|
755
|
+
declare function DateInput({ className, variant, ...props }: Omit<DateInputProps, "children">): react_jsx_runtime.JSX.Element;
|
|
756
|
+
|
|
530
757
|
declare const labelVariants: (props?: ({
|
|
531
758
|
variant?: "secondary" | "primary" | null | undefined;
|
|
532
759
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -556,6 +783,28 @@ declare function FieldError({ className, children, errors, ...props }: React.Com
|
|
|
556
783
|
} | undefined>;
|
|
557
784
|
}): react_jsx_runtime.JSX.Element | null;
|
|
558
785
|
|
|
786
|
+
declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
|
|
787
|
+
containerClassName?: string;
|
|
788
|
+
}): react_jsx_runtime.JSX.Element;
|
|
789
|
+
declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
790
|
+
declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
|
|
791
|
+
index: number;
|
|
792
|
+
}): react_jsx_runtime.JSX.Element;
|
|
793
|
+
declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
794
|
+
|
|
795
|
+
declare const radioGroupVariants: (props?: ({
|
|
796
|
+
variant?: "primary" | "mono" | null | undefined;
|
|
797
|
+
size?: "md" | "sm" | "lg" | null | undefined;
|
|
798
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
799
|
+
declare function RadioGroup({ className, variant, size, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Root> & VariantProps<typeof radioGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
800
|
+
declare const radioItemVariants: (props?: ({
|
|
801
|
+
size?: "md" | "sm" | "lg" | null | undefined;
|
|
802
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
803
|
+
declare function RadioGroupItem({ className, size, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Item> & VariantProps<typeof radioItemVariants>): react_jsx_runtime.JSX.Element;
|
|
804
|
+
|
|
805
|
+
declare function Slider({ className, children, ...props }: React$1.ComponentProps<typeof Slider$1.Root>): react_jsx_runtime.JSX.Element;
|
|
806
|
+
declare function SliderThumb({ className, ...props }: React$1.ComponentProps<typeof Slider$1.Thumb>): react_jsx_runtime.JSX.Element;
|
|
807
|
+
|
|
559
808
|
declare const switchShapes: {
|
|
560
809
|
readonly pill: "rounded-full";
|
|
561
810
|
readonly square: "rounded-md";
|
|
@@ -641,6 +890,11 @@ declare function Switch({ className, thumbClassName, shape, size, ...props }: Re
|
|
|
641
890
|
*/
|
|
642
891
|
declare function SwitchIndicator({ className, state, ...props }: React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof switchIndicatorVariants>): react_jsx_runtime.JSX.Element;
|
|
643
892
|
|
|
893
|
+
declare const textareaVariants: (props?: ({
|
|
894
|
+
variant?: "md" | "sm" | "lg" | null | undefined;
|
|
895
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
896
|
+
declare function Textarea({ className, variant, ...props }: React$1.ComponentProps<"textarea"> & VariantProps<typeof textareaVariants>): react_jsx_runtime.JSX.Element;
|
|
897
|
+
|
|
644
898
|
declare function ScrollArea({ className, viewportClassName, children, viewportRef, ...props }: React$1.ComponentProps<typeof ScrollArea$1.Root> & {
|
|
645
899
|
viewportRef?: React$1.Ref<HTMLDivElement>;
|
|
646
900
|
viewportClassName?: string;
|
|
@@ -701,8 +955,62 @@ declare function SelectItem({ className, children, ...props }: React$1.Component
|
|
|
701
955
|
declare function SelectIndicator({ children, className, ...props }: React$1.ComponentProps<typeof Select$1.ItemIndicator>): react_jsx_runtime.JSX.Element;
|
|
702
956
|
declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
703
957
|
|
|
958
|
+
declare function Progress({ className, indicatorClassName, value, ...props }: React$1.ComponentProps<typeof Progress$1.Root> & {
|
|
959
|
+
indicatorClassName?: string;
|
|
960
|
+
}): react_jsx_runtime.JSX.Element;
|
|
961
|
+
declare function ProgressCircle({ className, indicatorClassName, trackClassName, value, size, strokeWidth, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
962
|
+
value?: number;
|
|
963
|
+
size?: number;
|
|
964
|
+
strokeWidth?: number;
|
|
965
|
+
indicatorClassName?: string;
|
|
966
|
+
trackClassName?: string;
|
|
967
|
+
children?: React$1.ReactNode;
|
|
968
|
+
}): react_jsx_runtime.JSX.Element;
|
|
969
|
+
declare function ProgressRadial({ className, value, size, strokeWidth, startAngle, endAngle, showLabel, trackClassName, indicatorClassName, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
970
|
+
value?: number;
|
|
971
|
+
size?: number;
|
|
972
|
+
strokeWidth?: number;
|
|
973
|
+
startAngle?: number;
|
|
974
|
+
endAngle?: number;
|
|
975
|
+
showLabel?: boolean;
|
|
976
|
+
indicatorClassName?: string;
|
|
977
|
+
trackClassName?: string;
|
|
978
|
+
children?: React$1.ReactNode;
|
|
979
|
+
}): react_jsx_runtime.JSX.Element;
|
|
980
|
+
|
|
704
981
|
declare function Spinner({ className, ...props }: React.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
705
982
|
|
|
983
|
+
declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
984
|
+
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
985
|
+
declare function PaginationItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
986
|
+
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
987
|
+
|
|
988
|
+
interface TimelineItemProps {
|
|
989
|
+
icon: LucideIcon;
|
|
990
|
+
line: boolean;
|
|
991
|
+
children: ReactNode;
|
|
992
|
+
removeSpace?: boolean;
|
|
993
|
+
className?: string;
|
|
994
|
+
}
|
|
995
|
+
declare const TimelineItem: React$1.ForwardRefExoticComponent<TimelineItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
996
|
+
|
|
997
|
+
declare const kbdVariants: (props?: ({
|
|
998
|
+
variant?: "default" | "outline" | null | undefined;
|
|
999
|
+
size?: "md" | "sm" | "xs" | null | undefined;
|
|
1000
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1001
|
+
declare function Kbd({ className, variant, size, ...props }: React$1.ComponentProps<"kbd"> & VariantProps<typeof kbdVariants>): react_jsx_runtime.JSX.Element;
|
|
1002
|
+
|
|
1003
|
+
interface CodeProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof codeVariants> {
|
|
1004
|
+
asChild?: boolean;
|
|
1005
|
+
showCopyButton?: boolean;
|
|
1006
|
+
copyText?: string;
|
|
1007
|
+
}
|
|
1008
|
+
declare const codeVariants: (props?: ({
|
|
1009
|
+
variant?: "default" | "outline" | "destructive" | null | undefined;
|
|
1010
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1011
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1012
|
+
declare function Code({ className, variant, size, asChild, showCopyButton, copyText, children, ...props }: CodeProps): react_jsx_runtime.JSX.Element;
|
|
1013
|
+
|
|
706
1014
|
declare function useIsMobile(): boolean;
|
|
707
1015
|
|
|
708
1016
|
declare function useCopyToClipboard({ timeout, onCopy, }?: {
|
|
@@ -723,4 +1031,4 @@ declare function useMounted(): boolean;
|
|
|
723
1031
|
*/
|
|
724
1032
|
declare function cn(...inputs: ClassValue[]): string;
|
|
725
1033
|
|
|
726
|
-
export { Alert, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, AlertToolbar, AspectRatio, Avatar, AvatarFallback, AvatarGroup, AvatarGroupItem, AvatarGroupTooltip, AvatarImage, AvatarIndicator, AvatarStatus, Badge, BadgeButton, type BadgeButtonProps, BadgeDot, type BadgeDotProps, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonArrow, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTable, CardTitle, CardToolbar, Checkbox, DataGrid, type DataGridApiFetchParams, type DataGridApiResponse, DataGridColumnHeader, type DataGridColumnHeaderProps, DataGridColumnVisibility, DataGridContainer, type DataGridContextProps, DataGridPagination, type DataGridPaginationProps, type DataGridProps, DataGridProvider, type DataGridRequestParams, DataGridTable, DataGridTableBase, DataGridTableBody, DataGridTableBodyRow, DataGridTableBodyRowCell, DataGridTableBodyRowExpanded, DataGridTableBodyRowSkeleton, DataGridTableBodyRowSkeletonCell, DataGridTableEmpty, DataGridTableHead, DataGridTableHeadRow, DataGridTableHeadRowCell, DataGridTableHeadRowCellResize, DataGridTableLoader, DataGridTableRowSelect, DataGridTableRowSelectAll, DataGridTableRowSpacer, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Input, InputAddon, InputGroup, InputWrapper, Label, Popover, PopoverContent, PopoverTrigger, ScrollArea, ScrollBar, Scrollspy, Select, SelectContent, SelectGroup, SelectIndicator, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Spinner, Switch, SwitchIndicator, SwitchWrapper, Tabs, TabsContent, TabsList, TabsTrigger, Toolbar, ToolbarActions, ToolbarDescription, ToolbarHeading, ToolbarTitle, avatarStatusVariants, badgeVariants, buttonVariantConfig, buttonVariants, cn, headings, inputAddonVariants, inputVariants, labelVariants, selectTriggerVariants, switchShapes, switchSizes, tabsListVariantConfig, useCopyToClipboard, useDataGrid, useIsMobile, useMounted };
|
|
1034
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionMenu, type AccordionMenuClassNames, AccordionMenuGroup, AccordionMenuIndicator, AccordionMenuItem, AccordionMenuLabel, AccordionMenuSeparator, AccordionMenuSub, AccordionMenuSubContent, AccordionMenuSubTrigger, AccordionTrigger, Alert, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, AlertToolbar, AspectRatio, Avatar, AvatarFallback, AvatarGroup, AvatarGroupItem, AvatarGroupTooltip, AvatarImage, AvatarIndicator, AvatarStatus, Badge, BadgeButton, type BadgeButtonProps, BadgeDot, type BadgeDotProps, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonArrow, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTable, CardTitle, CardToolbar, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Code, type CodeProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandCheck, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataGrid, type DataGridApiFetchParams, type DataGridApiResponse, DataGridColumnHeader, type DataGridColumnHeaderProps, DataGridColumnVisibility, DataGridContainer, type DataGridContextProps, DataGridPagination, type DataGridPaginationProps, type DataGridProps, DataGridProvider, type DataGridRequestParams, DataGridTable, DataGridTableBase, DataGridTableBody, DataGridTableBodyRow, DataGridTableBodyRowCell, DataGridTableBodyRowExpanded, DataGridTableBodyRowSkeleton, DataGridTableBodyRowSkeletonCell, DataGridTableEmpty, DataGridTableHead, DataGridTableHeadRow, DataGridTableHeadRowCell, DataGridTableHeadRowCellResize, DataGridTableLoader, DataGridTableRowSelect, DataGridTableRowSelectAll, DataGridTableRowSpacer, DateField, DateInput, type DateInputProps, DateSegment, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Input, InputAddon, InputGroup, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputWrapper, Kanban, KanbanBoard, type KanbanBoardProps, KanbanColumn, KanbanColumnContent, type KanbanColumnContentProps, KanbanColumnHandle, type KanbanColumnHandleProps, type KanbanColumnProps, KanbanItem, KanbanItemHandle, type KanbanItemHandleProps, type KanbanItemProps, type KanbanMoveEvent, KanbanOverlay, type KanbanOverlayProps, type KanbanRootProps, Kbd, Label, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, Popover, PopoverContent, PopoverTrigger, Progress, ProgressCircle, ProgressRadial, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, Scrollspy, Select, SelectContent, SelectGroup, SelectIndicator, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderThumb, Spinner, Switch, SwitchIndicator, SwitchWrapper, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TimeField, TimelineItem, type TimelineItemProps, Toolbar, ToolbarActions, ToolbarDescription, ToolbarHeading, ToolbarTitle, avatarStatusVariants, badgeVariants, buttonVariantConfig, buttonVariants, cn, codeVariants, dateInputStyles, headings, inputAddonVariants, inputVariants, kbdVariants, labelVariants, radioGroupVariants, radioItemVariants, selectTriggerVariants, switchShapes, switchSizes, tabsListVariantConfig, textareaVariants, useChart, useCopyToClipboard, useDataGrid, useIsMobile, useMounted };
|