@conscia-labs/design-system 0.4.0 → 1.0.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.
@@ -1,32 +1,56 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
2
  import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import * as AvatarPrimitive from '@radix-ui/react-avatar';
5
- import { B as Button, C as Card, a as CardContent, b as CardDescription, c as CardHeader, d as CardTitle, I as Input } from '../card-BFUHJgV-.js';
6
- export { S as Separator, e as buttonVariants } from '../card-BFUHJgV-.js';
7
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
8
- import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
9
- import * as SelectPrimitive from '@radix-ui/react-select';
10
- import * as SwitchPrimitive from '@radix-ui/react-switch';
11
- import * as DialogPrimitive from '@radix-ui/react-dialog';
12
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
13
- import * as LabelPrimitive from '@radix-ui/react-label';
14
- import * as TabsPrimitive from '@radix-ui/react-tabs';
15
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
4
+ import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
5
+ import { B as Button, C as Card, b as CardContent, c as CardDescription, d as CardFooter, e as CardHeader, h as CardTitle, I as IconButton, j as Input } from '../card-DmBKqvj_.js';
6
+ export { a as ButtonProps, f as CardHeaderProps, g as CardProps, i as IconButtonProps, S as Separator, k as SeparatorProps, l as buttonVariants, m as cardVariants } from '../card-DmBKqvj_.js';
7
+ import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
8
+ import { Collapsible as Collapsible$1 } from '@base-ui/react/collapsible';
9
+ import { Select as Select$1 } from '@base-ui/react/select';
10
+ import { Switch as Switch$1 } from '@base-ui/react/switch';
11
+ import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
12
+ import { Menu } from '@base-ui/react/menu';
13
+ import { Popover as Popover$1 } from '@base-ui/react/popover';
14
+ import { Drawer } from '@base-ui/react/drawer';
15
+ import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
16
+ import { ToastObject } from '@base-ui/react/toast';
17
+ import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
16
18
  export { cn } from '../utils/index.js';
17
- import '@radix-ui/react-separator';
19
+ import '@base-ui/react/use-render';
18
20
  import 'clsx';
19
21
 
20
22
  declare const alertVariants: (props?: ({
21
23
  variant?: "default" | "success" | "warning" | "danger" | "information" | null | undefined;
22
24
  } & class_variance_authority_types.ClassProp) | undefined) => string;
23
- declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): React.JSX.Element;
25
+ type AlertProps = React.ComponentProps<"div"> & VariantProps<typeof alertVariants>;
26
+ declare function Alert({ children, className, variant, role, "aria-labelledby": ariaLabelledby, "aria-describedby": ariaDescribedby, ...props }: AlertProps): React.JSX.Element;
24
27
  declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
25
28
  declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
26
29
 
27
- declare function Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>): React.JSX.Element;
28
- declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): React.JSX.Element;
29
- declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): React.JSX.Element;
30
+ declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialog$1.Root>): React.JSX.Element;
31
+ declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialog$1.Trigger>): React.JSX.Element;
32
+ declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialog$1.Portal>): React.JSX.Element;
33
+ declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Backdrop>): React.JSX.Element;
34
+ declare function AlertDialogContent({ className, children, ...props }: React.ComponentProps<typeof AlertDialog$1.Popup>): React.JSX.Element;
35
+ declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
36
+ declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Title>): React.JSX.Element;
37
+ declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Description>): React.JSX.Element;
38
+ declare function AlertDialogBody({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
39
+ declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
40
+ declare function AlertDialogCancel({ ...props }: React.ComponentProps<typeof AlertDialog$1.Close>): React.JSX.Element;
41
+ declare function AlertDialogAction({ ...props }: React.ComponentProps<typeof AlertDialog$1.Close>): React.JSX.Element;
42
+ declare function AlertDialogClose({ ...props }: React.ComponentProps<typeof AlertDialog$1.Close>): React.JSX.Element;
43
+
44
+ declare function Avatar({ children, className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
45
+ declare function AvatarImage({ alt, className, onError, onLoad, src, ...props }: React.ComponentProps<"img">): React.JSX.Element;
46
+ declare function AvatarFallback({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
47
+
48
+ type AvatarGroupProps = React.ComponentProps<"div"> & {
49
+ max?: number;
50
+ size?: "sm" | "default" | "lg";
51
+ total?: number;
52
+ };
53
+ declare function AvatarGroup({ children, className, max, size, total, ...props }: AvatarGroupProps): React.JSX.Element;
30
54
 
31
55
  declare const badgeVariants: (props?: ({
32
56
  variant?: "default" | "destructive" | "outline" | "secondary" | "neutral" | "success" | "warning" | "danger" | "information" | "accent" | "info" | null | undefined;
@@ -36,35 +60,46 @@ declare function Badge({ className, variant, ...props }: React.ComponentProps<"s
36
60
  type BrandIconProps = React.ComponentPropsWithoutRef<"svg">;
37
61
  declare function BrandIcon({ "aria-label": ariaLabel, className, ...props }: BrandIconProps): React.JSX.Element;
38
62
 
39
- declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): React.JSX.Element;
63
+ type BrandWordmarkProps = React.ComponentPropsWithoutRef<"svg">;
64
+ declare function BrandWordmark({ "aria-label": ariaLabel, className, ...props }: BrandWordmarkProps): React.JSX.Element;
65
+
66
+ declare function Checkbox({ className, ...props }: React.ComponentProps<typeof Checkbox$1.Root>): React.JSX.Element;
40
67
 
41
- declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): React.JSX.Element;
42
- declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Trigger>): React.JSX.Element;
43
- declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Content>): React.JSX.Element;
68
+ declare function Collapsible({ open: controlledOpen, defaultOpen, onOpenChange, children, ...props }: React.ComponentProps<typeof Collapsible$1.Root>): React.JSX.Element;
69
+ declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible$1.Trigger>): React.JSX.Element;
70
+ declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof Collapsible$1.Panel>): React.JSX.Element;
44
71
 
45
- declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): React.JSX.Element;
46
- declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): React.JSX.Element;
47
- declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): React.JSX.Element;
48
- declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
72
+ type SelectProps = Omit<React.ComponentProps<typeof Select$1.Root>, "onValueChange"> & {
73
+ onValueChange?: (value: string) => void;
74
+ };
75
+ declare function Select({ onValueChange, children, items, ...props }: SelectProps & {
76
+ children?: React.ReactNode;
77
+ items?: React.ComponentProps<typeof Select$1.Root>["items"];
78
+ }): React.JSX.Element;
79
+ declare function SelectGroup({ ...props }: React.ComponentProps<typeof Select$1.Group>): React.JSX.Element;
80
+ declare function SelectValue({ ...props }: React.ComponentProps<typeof Select$1.Value>): React.JSX.Element;
81
+ declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof Select$1.Trigger> & {
49
82
  size?: "sm" | "default";
50
83
  }): React.JSX.Element;
51
- declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): React.JSX.Element;
52
- declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): React.JSX.Element;
53
- declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): React.JSX.Element;
54
- declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): React.JSX.Element;
55
- declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): React.JSX.Element;
56
- declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): React.JSX.Element;
84
+ declare function SelectContent({ className, children, ...props }: React.ComponentProps<typeof Select$1.Popup>): React.JSX.Element;
85
+ declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof Select$1.Item>): React.JSX.Element;
86
+ declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof Select$1.GroupLabel>): React.JSX.Element;
87
+ declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof Select$1.Separator>): React.JSX.Element;
88
+ declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof Select$1.ScrollUpArrow>): React.JSX.Element;
89
+ declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof Select$1.ScrollDownArrow>): React.JSX.Element;
57
90
 
58
- declare function Switch({ className, size, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root> & {
91
+ declare function Switch({ className, size, ...props }: React.ComponentProps<typeof Switch$1.Root> & {
59
92
  size?: "sm" | "default";
60
93
  }): React.JSX.Element;
61
94
 
62
95
  declare function Table({ className, ...props }: React.ComponentProps<"table">): React.JSX.Element;
63
96
  declare function TableHeader({ className, ...props }: React.ComponentProps<"thead">): React.JSX.Element;
64
97
  declare function TableBody({ className, ...props }: React.ComponentProps<"tbody">): React.JSX.Element;
98
+ declare function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">): React.JSX.Element;
65
99
  declare function TableRow({ className, ...props }: React.ComponentProps<"tr">): React.JSX.Element;
66
100
  declare function TableHead({ className, ...props }: React.ComponentProps<"th">): React.JSX.Element;
67
101
  declare function TableCell({ className, ...props }: React.ComponentProps<"td">): React.JSX.Element;
102
+ declare function TableCaption({ className, ...props }: React.ComponentProps<"caption">): React.JSX.Element;
68
103
 
69
104
  declare function Textarea({ className, ...props }: React.ComponentProps<"textarea">): React.JSX.Element;
70
105
 
@@ -73,7 +108,7 @@ declare function Textarea({ className, ...props }: React.ComponentProps<"textare
73
108
  * clean primitive names from @conscia-labs/design-system.
74
109
  */
75
110
  declare const ConsciaButton: typeof Button;
76
- declare function ConsciaIconButton({ size, ...props }: React.ComponentProps<typeof Button>): React.JSX.Element;
111
+ declare const ConsciaIconButton: typeof IconButton;
77
112
  declare const ConsciaCard: typeof Card;
78
113
  declare const ConsciaCardContent: typeof CardContent;
79
114
  declare const ConsciaCardDescription: typeof CardDescription;
@@ -81,6 +116,7 @@ declare function ConsciaCardHeader({ actionRight, className, children, ...props
81
116
  actionRight?: React.ReactNode;
82
117
  }): React.JSX.Element;
83
118
  declare const ConsciaCardTitle: typeof CardTitle;
119
+ declare const ConsciaCardFooter: typeof CardFooter;
84
120
  declare const ConsciaCheckbox: typeof Checkbox;
85
121
  declare const ConsciaInput: typeof Input;
86
122
  declare const ConsciaSwitch: typeof Switch;
@@ -98,37 +134,42 @@ declare const ConsciaTableHeader: typeof TableHeader;
98
134
  declare const ConsciaTableHead: typeof TableHead;
99
135
  declare const ConsciaTableRow: typeof TableRow;
100
136
 
101
- declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): React.JSX.Element;
102
- declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): React.JSX.Element;
103
- declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): React.JSX.Element;
104
- declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): React.JSX.Element;
105
- declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): React.JSX.Element;
106
- declare function DialogContent({ className, children, showCloseButton, size, closeLabel, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
137
+ declare function Dialog({ ...props }: React.ComponentProps<typeof Dialog$1.Root>): React.JSX.Element;
138
+ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof Dialog$1.Trigger>): React.JSX.Element;
139
+ declare function DialogClose({ ...props }: React.ComponentProps<typeof Dialog$1.Close>): React.JSX.Element;
140
+ declare function DialogPortal({ ...props }: React.ComponentProps<typeof Dialog$1.Portal>): React.JSX.Element;
141
+ declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof Dialog$1.Backdrop>): React.JSX.Element;
142
+ declare function DialogContent({ className, children, showCloseButton, size, closeLabel, ...props }: React.ComponentProps<typeof Dialog$1.Popup> & {
107
143
  showCloseButton?: boolean;
108
144
  size?: "small" | "default" | "large";
109
145
  closeLabel?: string;
110
146
  }): React.JSX.Element;
111
147
  declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
112
- declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): React.JSX.Element;
113
- declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): React.JSX.Element;
148
+ declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof Dialog$1.Title>): React.JSX.Element;
149
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof Dialog$1.Description>): React.JSX.Element;
114
150
  declare function DialogBody({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
115
151
  declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
116
152
 
117
- declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): React.JSX.Element;
118
- declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): React.JSX.Element;
119
- declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): React.JSX.Element;
120
- declare function DropdownMenuSubTrigger({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger>): React.JSX.Element;
121
- declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): React.JSX.Element;
122
- declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): React.JSX.Element;
123
- declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): React.JSX.Element;
124
- declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
153
+ declare function DropdownMenu({ ...props }: React.ComponentProps<typeof Menu.Root>): React.JSX.Element;
154
+ declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof Menu.Group>): React.JSX.Element;
155
+ declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof Menu.SubmenuRoot>): React.JSX.Element;
156
+ declare function DropdownMenuSubTrigger({ className, children, ...props }: React.ComponentProps<typeof Menu.SubmenuTrigger>): React.JSX.Element;
157
+ declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof Menu.Popup>): React.JSX.Element;
158
+ declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof Menu.Trigger>): React.JSX.Element;
159
+ declare function DropdownMenuContent({ className, sideOffset, side, align, ...props }: React.ComponentProps<typeof Menu.Popup> & {
160
+ sideOffset?: number;
161
+ side?: React.ComponentProps<typeof Menu.Positioner>["side"];
162
+ align?: React.ComponentProps<typeof Menu.Positioner>["align"];
163
+ }): React.JSX.Element;
164
+ declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof Menu.Item> & {
125
165
  inset?: boolean;
126
166
  variant?: "default" | "destructive";
127
167
  }): React.JSX.Element;
128
- declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
168
+ declare function DropdownMenuLinkItem({ className, ...props }: React.ComponentProps<typeof Menu.LinkItem>): React.JSX.Element;
169
+ declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<"div"> & {
129
170
  inset?: boolean;
130
171
  }): React.JSX.Element;
131
- declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): React.JSX.Element;
172
+ declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof Menu.Separator>): React.JSX.Element;
132
173
 
133
174
  declare function Field({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
134
175
  declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
@@ -136,6 +177,14 @@ declare function FieldLabel({ className, ...props }: React.ComponentProps<"label
136
177
  declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
137
178
  declare function FieldError({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
138
179
 
180
+ type FilterChipProps = React.ComponentProps<"div"> & {
181
+ label: React.ReactNode;
182
+ onRemove?: () => void;
183
+ removeLabel?: string;
184
+ value?: React.ReactNode;
185
+ };
186
+ declare function FilterChip({ className, label, onRemove, removeLabel, value, ...props }: FilterChipProps): React.JSX.Element;
187
+
139
188
  type FormSelectOption = {
140
189
  value: string;
141
190
  label: React.ReactNode;
@@ -160,7 +209,17 @@ type FormSelectProps = {
160
209
  declare function FormSelect({ name, id, value, defaultValue, required, disabled, placeholder, options, className, triggerClassName, contentClassName, onValueChange, onClick, "aria-label": ariaLabel, }: FormSelectProps): React.JSX.Element;
161
210
  declare const ConsciaFormSelect: typeof FormSelect;
162
211
 
163
- declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): React.JSX.Element;
212
+ declare function Label({ className, ...props }: React.ComponentProps<"label">): React.JSX.Element;
213
+
214
+ declare function Popover({ ...props }: React.ComponentProps<typeof Popover$1.Root>): React.JSX.Element;
215
+ declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof Popover$1.Trigger>): React.JSX.Element;
216
+ declare function PopoverPortal({ ...props }: React.ComponentProps<typeof Popover$1.Portal>): React.JSX.Element;
217
+ declare function PopoverPositioner({ className, ...props }: React.ComponentProps<typeof Popover$1.Positioner>): React.JSX.Element;
218
+ declare function PopoverContent({ className, children, ...props }: React.ComponentProps<typeof Popover$1.Popup>): React.JSX.Element;
219
+ declare function PopoverArrow({ ...props }: React.ComponentProps<typeof Popover$1.Arrow>): React.JSX.Element;
220
+ declare function PopoverTitle({ className, ...props }: React.ComponentProps<typeof Popover$1.Title>): React.JSX.Element;
221
+ declare function PopoverDescription({ className, ...props }: React.ComponentProps<typeof Popover$1.Description>): React.JSX.Element;
222
+ declare function PopoverClose({ ...props }: React.ComponentProps<typeof Popover$1.Close>): React.JSX.Element;
164
223
 
165
224
  type SearchableSelectOption = {
166
225
  value: string;
@@ -185,56 +244,121 @@ type SearchableSelectProps = {
185
244
  className?: string;
186
245
  "aria-label"?: string;
187
246
  };
188
- declare function SearchableSelect({ id, name, value, options, onValueChange, placeholder, searchPlaceholder, emptyMessage, disabled, clearable, clearLabel, optionsLabel, className, "aria-label": ariaLabel, }: SearchableSelectProps): React.JSX.Element;
189
-
190
- declare function Sheet({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): React.JSX.Element;
191
- declare function SheetTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): React.JSX.Element;
192
- declare function SheetPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): React.JSX.Element;
193
- declare function SheetClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): React.JSX.Element;
194
- declare function SheetOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): React.JSX.Element;
195
- declare const sheetSideClasses: {
196
- top: string;
197
- right: string;
198
- bottom: string;
199
- left: string;
200
- };
201
- declare function SheetContent({ className, children, side, closeLabel, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
202
- side?: keyof typeof sheetSideClasses;
247
+ declare function SearchableSelect({ id, name, value, options, onValueChange, placeholder, searchPlaceholder, emptyMessage, disabled, clearable, clearLabel, optionsLabel, className, "aria-label": ariaLabel }: SearchableSelectProps): React.JSX.Element;
248
+
249
+ type SheetSide = "top" | "right" | "bottom" | "left";
250
+ type SheetProps = React.ComponentProps<typeof Drawer.Root> & {
251
+ /** Sets the panel position and the corresponding swipe-to-dismiss direction. */
252
+ side?: SheetSide;
253
+ };
254
+ declare function Sheet({ side, swipeDirection, ...props }: SheetProps): React.JSX.Element;
255
+ declare function SheetTrigger({ ...props }: React.ComponentProps<typeof Drawer.Trigger>): React.JSX.Element;
256
+ declare function SheetPortal({ ...props }: React.ComponentProps<typeof Drawer.Portal>): React.JSX.Element;
257
+ declare function SheetClose({ ...props }: React.ComponentProps<typeof Drawer.Close>): React.JSX.Element;
258
+ declare function SheetOverlay({ className, ...props }: React.ComponentProps<typeof Drawer.Backdrop>): React.JSX.Element;
259
+ declare function SheetContent({ className, children, side: sideProp, closeLabel, ...props }: React.ComponentProps<typeof Drawer.Popup> & {
260
+ side?: SheetSide;
203
261
  closeLabel?: string;
204
262
  }): React.JSX.Element;
205
263
  declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
206
- declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): React.JSX.Element;
207
- declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): React.JSX.Element;
208
- declare function SheetBody({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
264
+ declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof Drawer.Title>): React.JSX.Element;
265
+ declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof Drawer.Description>): React.JSX.Element;
266
+ declare function SheetBody({ className, ...props }: React.ComponentProps<typeof Drawer.Content>): React.JSX.Element;
209
267
  declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
210
268
 
211
- declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
269
+ declare function Skeleton({ "aria-hidden": ariaHidden, className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
270
+
271
+ type SpinnerProps = React.ComponentProps<"span"> & {
272
+ label?: string;
273
+ size?: "sm" | "default" | "lg";
274
+ };
275
+ declare function Spinner({ "aria-label": ariaLabel, className, label, size, ...props }: SpinnerProps): React.JSX.Element;
212
276
 
213
277
  type TabsVariant = "underline" | "segmented";
214
278
  type TabsSize = "default" | "compact";
215
- declare function Tabs({ className, variant, size, ...props }: React.ComponentProps<typeof TabsPrimitive.Root> & {
279
+ declare function Tabs({ className, variant, size, ...props }: React.ComponentProps<typeof Tabs$1.Root> & {
216
280
  variant?: TabsVariant;
217
281
  size?: TabsSize;
218
282
  }): React.JSX.Element;
219
- declare function TabsList({ className, variant, size, children, ref: externalRef, onScroll, ...props }: React.ComponentProps<typeof TabsPrimitive.List> & {
283
+ declare function TabsList({ className, variant, size, children, ref: externalRef, onScroll, ...props }: React.ComponentProps<typeof Tabs$1.List> & {
220
284
  variant?: TabsVariant;
221
285
  size?: TabsSize;
222
286
  }): React.JSX.Element;
223
- declare function TabsTrigger({ className, variant, size, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger> & {
287
+ declare function TabsTrigger({ className, variant, size, ...props }: React.ComponentProps<typeof Tabs$1.Tab> & {
224
288
  variant?: TabsVariant;
225
289
  size?: TabsSize;
226
290
  }): React.JSX.Element;
227
- declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): React.JSX.Element;
291
+ declare function TabsContent({ className, ...props }: React.ComponentProps<typeof Tabs$1.Panel>): React.JSX.Element;
228
292
  declare function NavigationTabs({ className, ...props }: React.ComponentProps<"nav">): React.JSX.Element;
229
293
  declare function NavigationTabsList({ className, ref: externalRef, onScroll, ...props }: React.ComponentProps<"div">): React.JSX.Element;
230
- declare function NavigationTab({ className, active, asChild, ref: externalRef, ...props }: React.ComponentProps<"a"> & {
294
+ declare function NavigationTab({ className, active, ref: externalRef, ...props }: React.ComponentProps<"a"> & {
231
295
  active?: boolean;
232
- asChild?: boolean;
233
296
  }): React.JSX.Element;
234
297
 
235
- declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): React.JSX.Element;
236
- declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): React.JSX.Element;
237
- declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): React.JSX.Element;
238
- declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): React.JSX.Element;
298
+ type ToastVariant = "default" | "error" | "information" | "success" | "warning";
299
+ type ToastPriority = "high" | "low";
300
+ type ToastActionOptions = {
301
+ label: string;
302
+ onClick?: React.MouseEventHandler<HTMLButtonElement>;
303
+ };
304
+ type ToastOptions = {
305
+ action?: ToastActionOptions;
306
+ description?: React.ReactNode;
307
+ id?: string;
308
+ priority?: ToastPriority;
309
+ timeout?: number;
310
+ title: React.ReactNode;
311
+ variant?: ToastVariant;
312
+ };
313
+ type ToastUpdateOptions = Partial<ToastOptions>;
314
+ type ToastPromiseOptions<Value> = {
315
+ error: string | ToastOptions | ((error: unknown) => string | ToastOptions);
316
+ loading: string | ToastOptions;
317
+ success: string | ToastOptions | ((result: Value) => string | ToastOptions);
318
+ };
319
+ type ToastData = {
320
+ variant: ToastVariant;
321
+ };
322
+ type ToastProviderProps = {
323
+ children?: React.ReactNode;
324
+ limit?: number;
325
+ timeout?: number;
326
+ };
327
+ type ToastViewportProps = React.ComponentProps<"div"> & {
328
+ placement?: "bottom-end" | "bottom-start" | "top-end" | "top-start";
329
+ };
330
+ type ToastRecord = ToastObject<ToastData>;
331
+ declare function ToastProvider({ children, limit, timeout }: ToastProviderProps): React.JSX.Element;
332
+ declare function useToast(): {
333
+ add(options: ToastOptions): string;
334
+ close(id?: string): void;
335
+ update(id: string, options: ToastUpdateOptions): void;
336
+ promise<Value>(promise: Promise<Value>, options: ToastPromiseOptions<Value>): Promise<Value>;
337
+ };
338
+ declare function ToastViewport({ className, placement, ...props }: ToastViewportProps): React.JSX.Element;
339
+ declare function Toast({ children, className, toast, ...props }: React.ComponentProps<"div"> & {
340
+ toast: ToastRecord;
341
+ }): React.JSX.Element;
342
+ declare function ToastContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
343
+ declare function ToastTitle({ className, ...props }: React.ComponentProps<"h2">): React.JSX.Element;
344
+ declare function ToastDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
345
+ declare function ToastAction({ className, ...props }: React.ComponentProps<"button">): React.JSX.Element;
346
+ declare function ToastClose({ "aria-label": ariaLabel, children, className, ...props }: React.ComponentProps<"button">): React.JSX.Element;
347
+
348
+ declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof Tooltip$1.Provider> & {
349
+ delayDuration?: number;
350
+ }): React.JSX.Element;
351
+ declare function Tooltip({ ...props }: React.ComponentProps<typeof Tooltip$1.Root>): React.JSX.Element;
352
+ declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof Tooltip$1.Trigger>): React.JSX.Element;
353
+ declare function TooltipContent({ className, sideOffset, side, align, children, ...props }: React.ComponentProps<typeof Tooltip$1.Popup> & {
354
+ sideOffset?: number;
355
+ side?: React.ComponentProps<typeof Tooltip$1.Positioner>["side"];
356
+ align?: React.ComponentProps<typeof Tooltip$1.Positioner>["align"];
357
+ }): React.JSX.Element;
358
+
359
+ type ShortcutHintProps = React.ComponentProps<"kbd"> & {
360
+ label?: string;
361
+ };
362
+ declare function ShortcutHint({ "aria-label": ariaLabel, children, className, label, ...props }: ShortcutHintProps): React.JSX.Element;
239
363
 
240
- export { Alert, AlertDescription, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, BrandIcon, type BrandIconProps, Button, Card, CardContent, CardDescription, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, ConsciaButton, ConsciaCard, ConsciaCardContent, ConsciaCardDescription, ConsciaCardHeader, ConsciaCardTitle, ConsciaCheckbox, ConsciaFormSelect, ConsciaIconButton, ConsciaInput, ConsciaSelect, ConsciaSelectContent, ConsciaSelectGroup, ConsciaSelectItem, ConsciaSelectTrigger, ConsciaSelectValue, ConsciaSwitch, ConsciaTable, ConsciaTableBody, ConsciaTableCell, ConsciaTableHead, ConsciaTableHeader, ConsciaTableRow, ConsciaTextarea, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldDescription, FieldError, FieldGroup, FieldLabel, FormSelect, type FormSelectOption, type FormSelectProps, Input, Label, NavigationTab, NavigationTabs, NavigationTabsList, SearchableSelect, type SearchableSelectOption, type SearchableSelectProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Switch, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, type TabsSize, TabsTrigger, type TabsVariant, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertVariants, badgeVariants };
364
+ export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogClose, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupProps, AvatarImage, Badge, BrandIcon, type BrandIconProps, BrandWordmark, type BrandWordmarkProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, ConsciaButton, ConsciaCard, ConsciaCardContent, ConsciaCardDescription, ConsciaCardFooter, ConsciaCardHeader, ConsciaCardTitle, ConsciaCheckbox, ConsciaFormSelect, ConsciaIconButton, ConsciaInput, ConsciaSelect, ConsciaSelectContent, ConsciaSelectGroup, ConsciaSelectItem, ConsciaSelectTrigger, ConsciaSelectValue, ConsciaSwitch, ConsciaTable, ConsciaTableBody, ConsciaTableCell, ConsciaTableHead, ConsciaTableHeader, ConsciaTableRow, ConsciaTextarea, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuLinkItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldDescription, FieldError, FieldGroup, FieldLabel, FilterChip, type FilterChipProps, FormSelect, type FormSelectOption, type FormSelectProps, IconButton, Input, Label, NavigationTab, NavigationTabs, NavigationTabsList, Popover, PopoverArrow, PopoverClose, PopoverContent, PopoverDescription, PopoverPortal, PopoverPositioner, PopoverTitle, PopoverTrigger, SearchableSelect, type SearchableSelectOption, type SearchableSelectProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShortcutHint, type ShortcutHintProps, Skeleton, Spinner, type SpinnerProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, type TabsSize, TabsTrigger, type TabsVariant, Textarea, Toast, ToastAction, type ToastActionOptions, ToastClose, ToastContent, ToastDescription, type ToastOptions, type ToastPriority, type ToastPromiseOptions, ToastProvider, type ToastProviderProps, type ToastRecord, ToastTitle, type ToastUpdateOptions, type ToastVariant, ToastViewport, type ToastViewportProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertVariants, badgeVariants, useToast };
@@ -5,13 +5,16 @@ import {
5
5
  AlertTitle,
6
6
  Avatar,
7
7
  AvatarFallback,
8
+ AvatarGroup,
8
9
  AvatarImage,
9
10
  Badge,
10
11
  BrandIcon,
12
+ BrandWordmark,
11
13
  ConsciaButton,
12
14
  ConsciaCard,
13
15
  ConsciaCardContent,
14
16
  ConsciaCardDescription,
17
+ ConsciaCardFooter,
15
18
  ConsciaCardHeader,
16
19
  ConsciaCardTitle,
17
20
  ConsciaCheckbox,
@@ -37,19 +40,53 @@ import {
37
40
  FieldError,
38
41
  FieldGroup,
39
42
  FieldLabel,
43
+ FilterChip,
40
44
  FormSelect,
41
45
  Label,
46
+ Popover,
47
+ PopoverArrow,
48
+ PopoverClose,
49
+ PopoverContent,
50
+ PopoverDescription,
51
+ PopoverPortal,
52
+ PopoverPositioner,
53
+ PopoverTitle,
54
+ PopoverTrigger,
42
55
  SearchableSelect,
56
+ Spinner,
43
57
  Switch,
44
58
  Textarea,
59
+ Toast,
60
+ ToastAction,
61
+ ToastClose,
62
+ ToastContent,
63
+ ToastDescription,
64
+ ToastProvider,
65
+ ToastTitle,
66
+ ToastViewport,
45
67
  alertVariants,
46
- badgeVariants
47
- } from "../chunk-C44RGLGF.js";
68
+ badgeVariants,
69
+ useToast
70
+ } from "../chunk-3UTRMJLB.js";
48
71
  import {
72
+ AlertDialog,
73
+ AlertDialogAction,
74
+ AlertDialogBody,
75
+ AlertDialogCancel,
76
+ AlertDialogClose,
77
+ AlertDialogContent,
78
+ AlertDialogDescription,
79
+ AlertDialogFooter,
80
+ AlertDialogHeader,
81
+ AlertDialogOverlay,
82
+ AlertDialogPortal,
83
+ AlertDialogTitle,
84
+ AlertDialogTrigger,
49
85
  Button,
50
86
  Card,
51
87
  CardContent,
52
88
  CardDescription,
89
+ CardFooter,
53
90
  CardHeader,
54
91
  CardTitle,
55
92
  Checkbox,
@@ -72,11 +109,13 @@ import {
72
109
  DropdownMenuGroup,
73
110
  DropdownMenuItem,
74
111
  DropdownMenuLabel,
112
+ DropdownMenuLinkItem,
75
113
  DropdownMenuSeparator,
76
114
  DropdownMenuSub,
77
115
  DropdownMenuSubContent,
78
116
  DropdownMenuSubTrigger,
79
117
  DropdownMenuTrigger,
118
+ IconButton,
80
119
  Input,
81
120
  NavigationTab,
82
121
  NavigationTabs,
@@ -103,10 +142,13 @@ import {
103
142
  SheetPortal,
104
143
  SheetTitle,
105
144
  SheetTrigger,
145
+ ShortcutHint,
106
146
  Skeleton,
107
147
  Table,
108
148
  TableBody,
149
+ TableCaption,
109
150
  TableCell,
151
+ TableFooter,
110
152
  TableHead,
111
153
  TableHeader,
112
154
  TableRow,
@@ -118,24 +160,42 @@ import {
118
160
  TooltipContent,
119
161
  TooltipProvider,
120
162
  TooltipTrigger,
121
- buttonVariants
122
- } from "../chunk-RAGHGWLB.js";
163
+ buttonVariants,
164
+ cardVariants
165
+ } from "../chunk-YAJUTCGD.js";
123
166
  import {
124
167
  cn
125
168
  } from "../chunk-JU5DQXFC.js";
169
+ import "../chunk-UVKRO5ER.js";
126
170
  export {
127
171
  Alert,
128
172
  AlertDescription,
173
+ AlertDialog,
174
+ AlertDialogAction,
175
+ AlertDialogBody,
176
+ AlertDialogCancel,
177
+ AlertDialogClose,
178
+ AlertDialogContent,
179
+ AlertDialogDescription,
180
+ AlertDialogFooter,
181
+ AlertDialogHeader,
182
+ AlertDialogOverlay,
183
+ AlertDialogPortal,
184
+ AlertDialogTitle,
185
+ AlertDialogTrigger,
129
186
  AlertTitle,
130
187
  Avatar,
131
188
  AvatarFallback,
189
+ AvatarGroup,
132
190
  AvatarImage,
133
191
  Badge,
134
192
  BrandIcon,
193
+ BrandWordmark,
135
194
  Button,
136
195
  Card,
137
196
  CardContent,
138
197
  CardDescription,
198
+ CardFooter,
139
199
  CardHeader,
140
200
  CardTitle,
141
201
  Checkbox,
@@ -146,6 +206,7 @@ export {
146
206
  ConsciaCard,
147
207
  ConsciaCardContent,
148
208
  ConsciaCardDescription,
209
+ ConsciaCardFooter,
149
210
  ConsciaCardHeader,
150
211
  ConsciaCardTitle,
151
212
  ConsciaCheckbox,
@@ -182,6 +243,7 @@ export {
182
243
  DropdownMenuGroup,
183
244
  DropdownMenuItem,
184
245
  DropdownMenuLabel,
246
+ DropdownMenuLinkItem,
185
247
  DropdownMenuSeparator,
186
248
  DropdownMenuSub,
187
249
  DropdownMenuSubContent,
@@ -192,12 +254,23 @@ export {
192
254
  FieldError,
193
255
  FieldGroup,
194
256
  FieldLabel,
257
+ FilterChip,
195
258
  FormSelect,
259
+ IconButton,
196
260
  Input,
197
261
  Label,
198
262
  NavigationTab,
199
263
  NavigationTabs,
200
264
  NavigationTabsList,
265
+ Popover,
266
+ PopoverArrow,
267
+ PopoverClose,
268
+ PopoverContent,
269
+ PopoverDescription,
270
+ PopoverPortal,
271
+ PopoverPositioner,
272
+ PopoverTitle,
273
+ PopoverTrigger,
201
274
  SearchableSelect,
202
275
  Select,
203
276
  SelectContent,
@@ -221,11 +294,15 @@ export {
221
294
  SheetPortal,
222
295
  SheetTitle,
223
296
  SheetTrigger,
297
+ ShortcutHint,
224
298
  Skeleton,
299
+ Spinner,
225
300
  Switch,
226
301
  Table,
227
302
  TableBody,
303
+ TableCaption,
228
304
  TableCell,
305
+ TableFooter,
229
306
  TableHead,
230
307
  TableHeader,
231
308
  TableRow,
@@ -234,6 +311,14 @@ export {
234
311
  TabsList,
235
312
  TabsTrigger,
236
313
  Textarea,
314
+ Toast,
315
+ ToastAction,
316
+ ToastClose,
317
+ ToastContent,
318
+ ToastDescription,
319
+ ToastProvider,
320
+ ToastTitle,
321
+ ToastViewport,
237
322
  Tooltip,
238
323
  TooltipContent,
239
324
  TooltipProvider,
@@ -241,6 +326,8 @@ export {
241
326
  alertVariants,
242
327
  badgeVariants,
243
328
  buttonVariants,
244
- cn
329
+ cardVariants,
330
+ cn,
331
+ useToast
245
332
  };
246
333
  //# sourceMappingURL=index.js.map