@j3m-quantum/ui 0.1.0 → 0.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/index.cjs +566 -246
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +82 -27
- package/dist/index.d.ts +82 -27
- package/dist/index.js +558 -245
- package/dist/index.js.map +1 -1
- package/dist/styles/base-theme.css +124 -0
- package/dist/styles/index.css +7 -4
- package/package.json +31 -11
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
2
|
import * as React$1 from 'react';
|
|
4
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
6
6
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
7
7
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
@@ -42,13 +42,21 @@ import * as ResizablePrimitive from 'react-resizable-panels';
|
|
|
42
42
|
|
|
43
43
|
declare function useIsMobile(): boolean;
|
|
44
44
|
|
|
45
|
+
/**
|
|
46
|
+
* J3M Button
|
|
47
|
+
*
|
|
48
|
+
* A button component styled with J3M design tokens.
|
|
49
|
+
* Variants: default (primary), secondary, outline, ghost, destructive, link
|
|
50
|
+
* Sizes: sm, default, lg, icon
|
|
51
|
+
*/
|
|
45
52
|
declare const buttonVariants: (props?: ({
|
|
46
|
-
variant?: "default" | "
|
|
47
|
-
size?: "default" | "sm" | "lg" | "icon" |
|
|
53
|
+
variant?: "default" | "secondary" | "outline" | "ghost" | "destructive" | "link" | null | undefined;
|
|
54
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
48
55
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
49
|
-
|
|
56
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
50
57
|
asChild?: boolean;
|
|
51
|
-
}
|
|
58
|
+
}
|
|
59
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
52
60
|
|
|
53
61
|
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
54
62
|
|
|
@@ -61,7 +69,13 @@ declare function ButtonGroupText({ className, asChild, ...props }: React.Compone
|
|
|
61
69
|
}): react_jsx_runtime.JSX.Element;
|
|
62
70
|
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
63
71
|
|
|
64
|
-
|
|
72
|
+
/**
|
|
73
|
+
* J3M Input
|
|
74
|
+
*
|
|
75
|
+
* A text input styled with J3M design tokens.
|
|
76
|
+
* Features: subtle border, surface background, focus ring with primary accent
|
|
77
|
+
*/
|
|
78
|
+
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
65
79
|
|
|
66
80
|
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
67
81
|
declare const inputGroupAddonVariants: (props?: ({
|
|
@@ -69,7 +83,7 @@ declare const inputGroupAddonVariants: (props?: ({
|
|
|
69
83
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
70
84
|
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
71
85
|
declare const inputGroupButtonVariants: (props?: ({
|
|
72
|
-
size?: "sm" | "
|
|
86
|
+
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
73
87
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
74
88
|
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
75
89
|
declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
@@ -168,13 +182,23 @@ declare function FieldError({ className, children, errors, ...props }: React.Com
|
|
|
168
182
|
} | undefined>;
|
|
169
183
|
}): react_jsx_runtime.JSX.Element | null;
|
|
170
184
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
declare
|
|
185
|
+
/**
|
|
186
|
+
* J3M Card
|
|
187
|
+
*
|
|
188
|
+
* A container component styled with J3M design tokens.
|
|
189
|
+
* Variants: default, glass-light, glass-dark, glass-neutral, glass-primary
|
|
190
|
+
*/
|
|
191
|
+
declare const cardVariants: (props?: ({
|
|
192
|
+
variant?: "default" | "glass-light" | "glass-dark" | "glass-neutral" | "glass-primary" | null | undefined;
|
|
193
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
194
|
+
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
195
|
+
}
|
|
196
|
+
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
197
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
198
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
199
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
200
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
201
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
178
202
|
|
|
179
203
|
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
180
204
|
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
@@ -186,7 +210,7 @@ declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">
|
|
|
186
210
|
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
187
211
|
|
|
188
212
|
declare const badgeVariants: (props?: ({
|
|
189
|
-
variant?: "default" | "
|
|
213
|
+
variant?: "default" | "secondary" | "outline" | "destructive" | null | undefined;
|
|
190
214
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
191
215
|
declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
192
216
|
asChild?: boolean;
|
|
@@ -353,18 +377,30 @@ declare function PaginationPrevious({ className, ...props }: React$1.ComponentPr
|
|
|
353
377
|
declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
354
378
|
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
355
379
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
380
|
+
/**
|
|
381
|
+
* J3M Dialog
|
|
382
|
+
*
|
|
383
|
+
* A modal dialog styled with J3M design tokens.
|
|
384
|
+
* Uses Card-like styling for the content panel.
|
|
385
|
+
*/
|
|
386
|
+
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
387
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
388
|
+
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
389
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
390
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<never>>;
|
|
391
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
362
392
|
showCloseButton?: boolean;
|
|
363
|
-
}
|
|
364
|
-
declare
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
393
|
+
} & React$1.RefAttributes<never>>;
|
|
394
|
+
declare const DialogHeader: {
|
|
395
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
396
|
+
displayName: string;
|
|
397
|
+
};
|
|
398
|
+
declare const DialogFooter: {
|
|
399
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
400
|
+
displayName: string;
|
|
401
|
+
};
|
|
402
|
+
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<never>>;
|
|
403
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<never>>;
|
|
368
404
|
|
|
369
405
|
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
370
406
|
declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React$1.ComponentProps<typeof Dialog> & {
|
|
@@ -570,4 +606,23 @@ declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...p
|
|
|
570
606
|
isActive?: boolean;
|
|
571
607
|
}): react_jsx_runtime.JSX.Element;
|
|
572
608
|
|
|
573
|
-
|
|
609
|
+
/**
|
|
610
|
+
* J3M Section
|
|
611
|
+
*
|
|
612
|
+
* A container component for grouping multiple components with glass morphism backgrounds.
|
|
613
|
+
* Designed for use on canvas or neutral backgrounds.
|
|
614
|
+
* Variants: default, glass-light, glass-dark, glass-neutral, glass-primary
|
|
615
|
+
*/
|
|
616
|
+
declare const sectionVariants: (props?: ({
|
|
617
|
+
variant?: "default" | "glass-light" | "glass-dark" | "glass-neutral" | "glass-primary" | null | undefined;
|
|
618
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
619
|
+
interface SectionProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof sectionVariants> {
|
|
620
|
+
}
|
|
621
|
+
declare const Section: React$1.ForwardRefExoticComponent<SectionProps & React$1.RefAttributes<HTMLElement>>;
|
|
622
|
+
declare const SectionHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
623
|
+
declare const SectionTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
624
|
+
declare const SectionDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
625
|
+
declare const SectionContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
626
|
+
declare const SectionFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
627
|
+
|
|
628
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, 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, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Section, SectionContent, SectionDescription, SectionFooter, SectionHeader, type SectionProps, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonGroupVariants, buttonVariants, cardVariants, navigationMenuTriggerStyle, sectionVariants, toggleVariants, useFormField, useIsMobile, useSidebar };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
2
|
import * as React$1 from 'react';
|
|
4
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
6
6
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
7
7
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
@@ -42,13 +42,21 @@ import * as ResizablePrimitive from 'react-resizable-panels';
|
|
|
42
42
|
|
|
43
43
|
declare function useIsMobile(): boolean;
|
|
44
44
|
|
|
45
|
+
/**
|
|
46
|
+
* J3M Button
|
|
47
|
+
*
|
|
48
|
+
* A button component styled with J3M design tokens.
|
|
49
|
+
* Variants: default (primary), secondary, outline, ghost, destructive, link
|
|
50
|
+
* Sizes: sm, default, lg, icon
|
|
51
|
+
*/
|
|
45
52
|
declare const buttonVariants: (props?: ({
|
|
46
|
-
variant?: "default" | "
|
|
47
|
-
size?: "default" | "sm" | "lg" | "icon" |
|
|
53
|
+
variant?: "default" | "secondary" | "outline" | "ghost" | "destructive" | "link" | null | undefined;
|
|
54
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
48
55
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
49
|
-
|
|
56
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
50
57
|
asChild?: boolean;
|
|
51
|
-
}
|
|
58
|
+
}
|
|
59
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
52
60
|
|
|
53
61
|
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
54
62
|
|
|
@@ -61,7 +69,13 @@ declare function ButtonGroupText({ className, asChild, ...props }: React.Compone
|
|
|
61
69
|
}): react_jsx_runtime.JSX.Element;
|
|
62
70
|
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
63
71
|
|
|
64
|
-
|
|
72
|
+
/**
|
|
73
|
+
* J3M Input
|
|
74
|
+
*
|
|
75
|
+
* A text input styled with J3M design tokens.
|
|
76
|
+
* Features: subtle border, surface background, focus ring with primary accent
|
|
77
|
+
*/
|
|
78
|
+
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
65
79
|
|
|
66
80
|
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
67
81
|
declare const inputGroupAddonVariants: (props?: ({
|
|
@@ -69,7 +83,7 @@ declare const inputGroupAddonVariants: (props?: ({
|
|
|
69
83
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
70
84
|
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
71
85
|
declare const inputGroupButtonVariants: (props?: ({
|
|
72
|
-
size?: "sm" | "
|
|
86
|
+
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
73
87
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
74
88
|
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
75
89
|
declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
@@ -168,13 +182,23 @@ declare function FieldError({ className, children, errors, ...props }: React.Com
|
|
|
168
182
|
} | undefined>;
|
|
169
183
|
}): react_jsx_runtime.JSX.Element | null;
|
|
170
184
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
declare
|
|
185
|
+
/**
|
|
186
|
+
* J3M Card
|
|
187
|
+
*
|
|
188
|
+
* A container component styled with J3M design tokens.
|
|
189
|
+
* Variants: default, glass-light, glass-dark, glass-neutral, glass-primary
|
|
190
|
+
*/
|
|
191
|
+
declare const cardVariants: (props?: ({
|
|
192
|
+
variant?: "default" | "glass-light" | "glass-dark" | "glass-neutral" | "glass-primary" | null | undefined;
|
|
193
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
194
|
+
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
195
|
+
}
|
|
196
|
+
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
197
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
198
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
199
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
200
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
201
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
178
202
|
|
|
179
203
|
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
180
204
|
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
@@ -186,7 +210,7 @@ declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">
|
|
|
186
210
|
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
187
211
|
|
|
188
212
|
declare const badgeVariants: (props?: ({
|
|
189
|
-
variant?: "default" | "
|
|
213
|
+
variant?: "default" | "secondary" | "outline" | "destructive" | null | undefined;
|
|
190
214
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
191
215
|
declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
192
216
|
asChild?: boolean;
|
|
@@ -353,18 +377,30 @@ declare function PaginationPrevious({ className, ...props }: React$1.ComponentPr
|
|
|
353
377
|
declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
354
378
|
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
355
379
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
380
|
+
/**
|
|
381
|
+
* J3M Dialog
|
|
382
|
+
*
|
|
383
|
+
* A modal dialog styled with J3M design tokens.
|
|
384
|
+
* Uses Card-like styling for the content panel.
|
|
385
|
+
*/
|
|
386
|
+
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
387
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
388
|
+
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
389
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
390
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<never>>;
|
|
391
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
362
392
|
showCloseButton?: boolean;
|
|
363
|
-
}
|
|
364
|
-
declare
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
393
|
+
} & React$1.RefAttributes<never>>;
|
|
394
|
+
declare const DialogHeader: {
|
|
395
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
396
|
+
displayName: string;
|
|
397
|
+
};
|
|
398
|
+
declare const DialogFooter: {
|
|
399
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
400
|
+
displayName: string;
|
|
401
|
+
};
|
|
402
|
+
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<never>>;
|
|
403
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<never>>;
|
|
368
404
|
|
|
369
405
|
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
370
406
|
declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React$1.ComponentProps<typeof Dialog> & {
|
|
@@ -570,4 +606,23 @@ declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...p
|
|
|
570
606
|
isActive?: boolean;
|
|
571
607
|
}): react_jsx_runtime.JSX.Element;
|
|
572
608
|
|
|
573
|
-
|
|
609
|
+
/**
|
|
610
|
+
* J3M Section
|
|
611
|
+
*
|
|
612
|
+
* A container component for grouping multiple components with glass morphism backgrounds.
|
|
613
|
+
* Designed for use on canvas or neutral backgrounds.
|
|
614
|
+
* Variants: default, glass-light, glass-dark, glass-neutral, glass-primary
|
|
615
|
+
*/
|
|
616
|
+
declare const sectionVariants: (props?: ({
|
|
617
|
+
variant?: "default" | "glass-light" | "glass-dark" | "glass-neutral" | "glass-primary" | null | undefined;
|
|
618
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
619
|
+
interface SectionProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof sectionVariants> {
|
|
620
|
+
}
|
|
621
|
+
declare const Section: React$1.ForwardRefExoticComponent<SectionProps & React$1.RefAttributes<HTMLElement>>;
|
|
622
|
+
declare const SectionHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
623
|
+
declare const SectionTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
624
|
+
declare const SectionDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
625
|
+
declare const SectionContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
626
|
+
declare const SectionFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
627
|
+
|
|
628
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, 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, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Section, SectionContent, SectionDescription, SectionFooter, SectionHeader, type SectionProps, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonGroupVariants, buttonVariants, cardVariants, navigationMenuTriggerStyle, sectionVariants, toggleVariants, useFormField, useIsMobile, useSidebar };
|