@bizapps/design-system-testing 1.0.7 → 1.0.10
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/README.md +235 -137
- package/dist/main.cjs +986 -267
- package/dist/main.cjs.map +1 -1
- package/dist/main.css +1 -1
- package/dist/main.d.cts +294 -231
- package/dist/main.d.ts +294 -231
- package/dist/main.js +960 -271
- package/dist/main.js.map +1 -1
- package/package.json +4 -1
package/dist/main.d.cts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import * as class_variance_authority from 'class-variance-authority';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
1
|
import * as react from 'react';
|
|
6
2
|
import { HTMLAttributes, ReactNode, ComponentProps, ButtonHTMLAttributes, MouseEventHandler, SVGAttributes } from 'react';
|
|
3
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
7
5
|
import { Avatar as Avatar$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, Select as Select$1, Separator as Separator$1, Progress as Progress$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Tooltip as Tooltip$1, Popover as Popover$1, Dialog as Dialog$1, AlertDialog as AlertDialog$1, Accordion as Accordion$1, DropdownMenu as DropdownMenu$1, RadioGroup as RadioGroup$1, NavigationMenu as NavigationMenu$1, Checkbox as Checkbox$1 } from 'radix-ui';
|
|
8
6
|
import { DayPicker, DayButton, Locale, DateRange } from 'react-day-picker';
|
|
9
7
|
export { DateRange } from 'react-day-picker';
|
|
@@ -26,35 +24,35 @@ interface AlertProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof
|
|
|
26
24
|
}
|
|
27
25
|
type AlertTitleProps = HTMLAttributes<HTMLHeadingElement>;
|
|
28
26
|
type AlertDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
|
|
29
|
-
declare function Alert({ className, variant, icon, onDismiss, children, ...props }: AlertProps):
|
|
30
|
-
declare function AlertTitle({ className, ...props }: AlertTitleProps):
|
|
31
|
-
declare function AlertDescription({ className, ...props }: AlertDescriptionProps):
|
|
27
|
+
declare function Alert({ className, variant, icon, onDismiss, children, ...props }: AlertProps): react.JSX.Element;
|
|
28
|
+
declare function AlertTitle({ className, ...props }: AlertTitleProps): react.JSX.Element;
|
|
29
|
+
declare function AlertDescription({ className, ...props }: AlertDescriptionProps): react.JSX.Element;
|
|
32
30
|
|
|
33
31
|
declare const avatarVariants: (props?: ({
|
|
34
32
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
35
33
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
36
|
-
declare function Avatar({ className, size, ...props }: ComponentProps<typeof Avatar$1.Root> & VariantProps<typeof avatarVariants>):
|
|
37
|
-
declare function AvatarImage({ className, ...props }: ComponentProps<typeof Avatar$1.Image>):
|
|
38
|
-
declare function AvatarFallback({ className, ...props }: ComponentProps<typeof Avatar$1.Fallback>):
|
|
39
|
-
declare function AvatarBadge({ className, ...props }: ComponentProps<'span'>):
|
|
40
|
-
declare function AvatarGroup({ className, ...props }: ComponentProps<'div'>):
|
|
41
|
-
declare function AvatarGroupCount({ className, ...props }: ComponentProps<'div'>):
|
|
34
|
+
declare function Avatar({ className, size, ...props }: ComponentProps<typeof Avatar$1.Root> & VariantProps<typeof avatarVariants>): react.JSX.Element;
|
|
35
|
+
declare function AvatarImage({ className, ...props }: ComponentProps<typeof Avatar$1.Image>): react.JSX.Element;
|
|
36
|
+
declare function AvatarFallback({ className, ...props }: ComponentProps<typeof Avatar$1.Fallback>): react.JSX.Element;
|
|
37
|
+
declare function AvatarBadge({ className, ...props }: ComponentProps<'span'>): react.JSX.Element;
|
|
38
|
+
declare function AvatarGroup({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
39
|
+
declare function AvatarGroupCount({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
42
40
|
|
|
43
41
|
declare const badgeVariants$1: (props?: ({
|
|
44
42
|
variant?: "default" | "link" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
45
43
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
46
44
|
declare function Badge$1({ className, variant, asChild, ...props }: ComponentProps<'span'> & VariantProps<typeof badgeVariants$1> & {
|
|
47
45
|
asChild?: boolean;
|
|
48
|
-
}):
|
|
46
|
+
}): react.JSX.Element;
|
|
49
47
|
|
|
50
48
|
type StatusProps = ComponentProps<typeof Badge$1> & {
|
|
51
49
|
status: 'online' | 'offline' | 'maintenance' | 'degraded';
|
|
52
50
|
};
|
|
53
|
-
declare const Status: ({ className, status, ...props }: StatusProps) =>
|
|
51
|
+
declare const Status: ({ className, status, ...props }: StatusProps) => react.JSX.Element;
|
|
54
52
|
type StatusIndicatorProps = HTMLAttributes<HTMLSpanElement>;
|
|
55
|
-
declare const StatusIndicator: ({ className, ...props }: StatusIndicatorProps) =>
|
|
53
|
+
declare const StatusIndicator: ({ className, ...props }: StatusIndicatorProps) => react.JSX.Element;
|
|
56
54
|
type StatusLabelProps = HTMLAttributes<HTMLSpanElement>;
|
|
57
|
-
declare const StatusLabel: ({ className, children, ...props }: StatusLabelProps) =>
|
|
55
|
+
declare const StatusLabel: ({ className, children, ...props }: StatusLabelProps) => react.JSX.Element;
|
|
58
56
|
|
|
59
57
|
declare const badgeVariants: (props?: ({
|
|
60
58
|
variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
@@ -62,23 +60,23 @@ declare const badgeVariants: (props?: ({
|
|
|
62
60
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
63
61
|
declare function Badge({ className, variant, size, asChild, ...props }: ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
64
62
|
asChild?: boolean;
|
|
65
|
-
}):
|
|
63
|
+
}): react.JSX.Element;
|
|
66
64
|
|
|
67
65
|
/**
|
|
68
66
|
* Root landmark for a breadcrumb trail. Renders a `<nav aria-label="breadcrumb">`
|
|
69
67
|
* and wraps a single {@link BreadcrumbList}.
|
|
70
68
|
*/
|
|
71
|
-
declare function Breadcrumb({ className, ...props }: ComponentProps<'nav'>):
|
|
69
|
+
declare function Breadcrumb({ className, ...props }: ComponentProps<'nav'>): react.JSX.Element;
|
|
72
70
|
/**
|
|
73
71
|
* Ordered list (`<ol>`) holding the trail. Lays the items out in a wrapping,
|
|
74
72
|
* gapped flex row and sets the default `text-main-grey` color and `text-sm` scale.
|
|
75
73
|
*/
|
|
76
|
-
declare function BreadcrumbList({ className, ...props }: ComponentProps<'ol'>):
|
|
74
|
+
declare function BreadcrumbList({ className, ...props }: ComponentProps<'ol'>): react.JSX.Element;
|
|
77
75
|
/**
|
|
78
76
|
* A single segment (`<li>`) of the trail. Wraps a {@link BreadcrumbLink},
|
|
79
77
|
* {@link BreadcrumbPage}, or {@link BreadcrumbEllipsis}.
|
|
80
78
|
*/
|
|
81
|
-
declare function BreadcrumbItem({ className, ...props }: ComponentProps<'li'>):
|
|
79
|
+
declare function BreadcrumbItem({ className, ...props }: ComponentProps<'li'>): react.JSX.Element;
|
|
82
80
|
/**
|
|
83
81
|
* Navigable ancestor in the trail. Renders an `<a>` by default; pass `asChild`
|
|
84
82
|
* to delegate to a router link (e.g. React Router / Next.js `Link`) while keeping
|
|
@@ -88,23 +86,23 @@ declare function BreadcrumbItem({ className, ...props }: ComponentProps<'li'>):
|
|
|
88
86
|
*/
|
|
89
87
|
declare function BreadcrumbLink({ asChild, className, ...props }: ComponentProps<'a'> & {
|
|
90
88
|
asChild?: boolean;
|
|
91
|
-
}):
|
|
89
|
+
}): react.JSX.Element;
|
|
92
90
|
/**
|
|
93
91
|
* The current page — the last, non-interactive segment. Renders a `<span>` with
|
|
94
92
|
* `aria-current="page"` and emphasized `text-main-blue-primary` color.
|
|
95
93
|
*/
|
|
96
|
-
declare function BreadcrumbPage({ className, ...props }: ComponentProps<'span'>):
|
|
94
|
+
declare function BreadcrumbPage({ className, ...props }: ComponentProps<'span'>): react.JSX.Element;
|
|
97
95
|
/**
|
|
98
96
|
* Visual divider between items. Defaults to a `ChevronRight` icon; pass any node
|
|
99
97
|
* as children to override it. Always `aria-hidden`, so overrides never reach
|
|
100
98
|
* assistive tech.
|
|
101
99
|
*/
|
|
102
|
-
declare function BreadcrumbSeparator({ children, className, ...props }: ComponentProps<'li'>):
|
|
100
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: ComponentProps<'li'>): react.JSX.Element;
|
|
103
101
|
/**
|
|
104
102
|
* Truncation marker (`…`) that collapses hidden middle segments of a long trail.
|
|
105
103
|
* Pair it with a `DropdownMenu` to make the collapsed segments navigable.
|
|
106
104
|
*/
|
|
107
|
-
declare function BreadcrumbEllipsis({ className, ...props }: ComponentProps<'span'>):
|
|
105
|
+
declare function BreadcrumbEllipsis({ className, ...props }: ComponentProps<'span'>): react.JSX.Element;
|
|
108
106
|
|
|
109
107
|
declare const buttonVariants$1: (props?: ({
|
|
110
108
|
variant?: "secondary" | "outline" | "ghost" | "cancel" | "primary" | "cancelGhost" | null | undefined;
|
|
@@ -117,16 +115,16 @@ declare const buttonVariants$1: (props?: ({
|
|
|
117
115
|
declare function Button$1({ className, variant, size, asChild, isLoading, children, onClick, ...props }: ComponentProps<'button'> & VariantProps<typeof buttonVariants$1> & {
|
|
118
116
|
asChild?: boolean;
|
|
119
117
|
isLoading?: boolean;
|
|
120
|
-
}):
|
|
118
|
+
}): react.JSX.Element;
|
|
121
119
|
|
|
122
120
|
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, fromYear, toYear, ...props }: ComponentProps<typeof DayPicker> & {
|
|
123
121
|
buttonVariant?: ComponentProps<typeof Button$1>['variant'];
|
|
124
122
|
fromYear?: number;
|
|
125
123
|
toYear?: number;
|
|
126
|
-
}):
|
|
124
|
+
}): react.JSX.Element;
|
|
127
125
|
declare function CalendarDayButton({ className, day, modifiers, locale, ...props }: ComponentProps<typeof DayButton> & {
|
|
128
126
|
locale?: Partial<Locale>;
|
|
129
|
-
}):
|
|
127
|
+
}): react.JSX.Element;
|
|
130
128
|
|
|
131
129
|
type MiniCalendarProps = HTMLAttributes<HTMLDivElement> & {
|
|
132
130
|
value?: Date;
|
|
@@ -137,30 +135,30 @@ type MiniCalendarProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
137
135
|
onStartDateChange?: (date: Date | undefined) => void;
|
|
138
136
|
days?: number;
|
|
139
137
|
};
|
|
140
|
-
declare const MiniCalendar: ({ value, defaultValue, onValueChange, startDate, defaultStartDate, onStartDateChange, days, className, children, ...props }: MiniCalendarProps) =>
|
|
138
|
+
declare const MiniCalendar: ({ value, defaultValue, onValueChange, startDate, defaultStartDate, onStartDateChange, days, className, children, ...props }: MiniCalendarProps) => react.JSX.Element;
|
|
141
139
|
type MiniCalendarNavigationProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
142
140
|
direction: 'prev' | 'next';
|
|
143
141
|
asChild?: boolean;
|
|
144
142
|
};
|
|
145
|
-
declare const MiniCalendarNavigation: ({ direction, asChild, children, onClick, ...props }: MiniCalendarNavigationProps) =>
|
|
143
|
+
declare const MiniCalendarNavigation: ({ direction, asChild, children, onClick, ...props }: MiniCalendarNavigationProps) => react.JSX.Element;
|
|
146
144
|
type MiniCalendarDaysProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
147
145
|
children: (date: Date) => ReactNode;
|
|
148
146
|
};
|
|
149
|
-
declare const MiniCalendarDays: ({ className, children, ...props }: MiniCalendarDaysProps) =>
|
|
147
|
+
declare const MiniCalendarDays: ({ className, children, ...props }: MiniCalendarDaysProps) => react.JSX.Element;
|
|
150
148
|
type MiniCalendarDayProps = ComponentProps<typeof Button$1> & {
|
|
151
149
|
date: Date;
|
|
152
150
|
};
|
|
153
|
-
declare const MiniCalendarDay: ({ date, className, ...props }: MiniCalendarDayProps) =>
|
|
151
|
+
declare const MiniCalendarDay: ({ date, className, ...props }: MiniCalendarDayProps) => react.JSX.Element;
|
|
154
152
|
|
|
155
153
|
declare function Card({ className, size, ...props }: ComponentProps<'div'> & {
|
|
156
154
|
size?: 'default' | 'sm';
|
|
157
|
-
}):
|
|
158
|
-
declare function CardHeader({ className, ...props }: ComponentProps<'div'>):
|
|
159
|
-
declare function CardTitle({ className, ...props }: ComponentProps<'div'>):
|
|
160
|
-
declare function CardDescription({ className, ...props }: ComponentProps<'div'>):
|
|
161
|
-
declare function CardAction({ className, ...props }: ComponentProps<'div'>):
|
|
162
|
-
declare function CardContent({ className, ...props }: ComponentProps<'div'>):
|
|
163
|
-
declare function CardFooter({ className, ...props }: ComponentProps<'div'>):
|
|
155
|
+
}): react.JSX.Element;
|
|
156
|
+
declare function CardHeader({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
157
|
+
declare function CardTitle({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
158
|
+
declare function CardDescription({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
159
|
+
declare function CardAction({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
160
|
+
declare function CardContent({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
161
|
+
declare function CardFooter({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
164
162
|
|
|
165
163
|
type CarouselApi = UseEmblaCarouselType[1];
|
|
166
164
|
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
@@ -185,36 +183,36 @@ declare function useCarousel(): CarouselContextProps;
|
|
|
185
183
|
* Carousel root. Wraps Embla Carousel with keyboard navigation, scroll state, and context.
|
|
186
184
|
* Use `orientation` for vertical mode and `opts` to pass Embla options directly.
|
|
187
185
|
*/
|
|
188
|
-
declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: ComponentProps<'div'> & CarouselProps):
|
|
186
|
+
declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: ComponentProps<'div'> & CarouselProps): react.JSX.Element;
|
|
189
187
|
/**
|
|
190
188
|
* Scrollable track wrapper. Direct child of `Carousel`. Wraps `CarouselItem` children.
|
|
191
189
|
*/
|
|
192
|
-
declare function CarouselContent({ className, ...props }: ComponentProps<'div'>):
|
|
190
|
+
declare function CarouselContent({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
193
191
|
/**
|
|
194
192
|
* Individual slide. Use `className` with `basis-*` utilities to control how many slides are visible.
|
|
195
193
|
*/
|
|
196
|
-
declare function CarouselItem({ className, ...props }: ComponentProps<'div'>):
|
|
194
|
+
declare function CarouselItem({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
197
195
|
/**
|
|
198
196
|
* Previous-slide button. Positioned absolutely to the left (horizontal) or top (vertical).
|
|
199
197
|
* Disabled automatically when there are no previous slides.
|
|
200
198
|
*/
|
|
201
|
-
declare function CarouselPrevious({ className, variant, size, ...props }: ComponentProps<typeof Button$1>):
|
|
199
|
+
declare function CarouselPrevious({ className, variant, size, ...props }: ComponentProps<typeof Button$1>): react.JSX.Element;
|
|
202
200
|
/**
|
|
203
201
|
* Next-slide button. Positioned absolutely to the right (horizontal) or bottom (vertical).
|
|
204
202
|
* Disabled automatically when there are no next slides.
|
|
205
203
|
*/
|
|
206
|
-
declare function CarouselNext({ className, variant, size, ...props }: ComponentProps<typeof Button$1>):
|
|
204
|
+
declare function CarouselNext({ className, variant, size, ...props }: ComponentProps<typeof Button$1>): react.JSX.Element;
|
|
207
205
|
|
|
208
|
-
declare function Field({ className, ...props }: ComponentProps<'div'>):
|
|
209
|
-
declare function FieldLabel({ className, ...props }: ComponentProps<'label'>):
|
|
210
|
-
declare function FieldDescription({ className, ...props }: ComponentProps<'p'>):
|
|
206
|
+
declare function Field({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
207
|
+
declare function FieldLabel({ className, ...props }: ComponentProps<'label'>): react.JSX.Element;
|
|
208
|
+
declare function FieldDescription({ className, ...props }: ComponentProps<'p'>): react.JSX.Element;
|
|
211
209
|
declare function FieldError({ errors, className }: {
|
|
212
210
|
errors?: unknown[];
|
|
213
211
|
className?: string;
|
|
214
|
-
}):
|
|
215
|
-
declare function FieldGroup({ className, ...props }: ComponentProps<'div'>):
|
|
212
|
+
}): react.JSX.Element | null;
|
|
213
|
+
declare function FieldGroup({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
216
214
|
|
|
217
|
-
declare function Input({ className, type, ...props }: ComponentProps<'input'>):
|
|
215
|
+
declare function Input({ className, type, ...props }: ComponentProps<'input'>): react.JSX.Element;
|
|
218
216
|
|
|
219
217
|
declare const linkVariants: (props?: ({
|
|
220
218
|
variant?: "underlined" | "plain" | null | undefined;
|
|
@@ -225,7 +223,7 @@ declare function Link({ className, variant, size, asChild, disabled, target, rel
|
|
|
225
223
|
disabled?: boolean;
|
|
226
224
|
truncate?: boolean;
|
|
227
225
|
onClick?: MouseEventHandler<HTMLElement>;
|
|
228
|
-
}):
|
|
226
|
+
}): react.JSX.Element;
|
|
229
227
|
|
|
230
228
|
interface PinInputProps {
|
|
231
229
|
length?: number;
|
|
@@ -237,13 +235,13 @@ interface PinInputProps {
|
|
|
237
235
|
className?: string;
|
|
238
236
|
inputClassName?: string;
|
|
239
237
|
}
|
|
240
|
-
declare function PinInput({ length, value, onChange, disabled, invalid, mask, className, inputClassName, }: PinInputProps):
|
|
238
|
+
declare function PinInput({ length, value, onChange, disabled, invalid, mask, className, inputClassName, }: PinInputProps): react.JSX.Element;
|
|
241
239
|
|
|
242
240
|
declare const toggleVariants: (props?: ({
|
|
243
241
|
variant?: "default" | "outline" | null | undefined;
|
|
244
242
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
245
243
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
246
|
-
declare function Toggle({ className, variant, size, ...props }: ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>):
|
|
244
|
+
declare function Toggle({ className, variant, size, ...props }: ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react.JSX.Element;
|
|
247
245
|
|
|
248
246
|
type SegmentedControlSingleProps = {
|
|
249
247
|
type: 'single';
|
|
@@ -262,21 +260,21 @@ type SegmentedControlProps = (SegmentedControlSingleProps | SegmentedControlMult
|
|
|
262
260
|
className?: string;
|
|
263
261
|
children?: ReactNode;
|
|
264
262
|
};
|
|
265
|
-
declare function SegmentedControl({ className, size, children, ...props }: SegmentedControlProps):
|
|
266
|
-
declare function SegmentedControlItem({ className, children, value, ...props }: ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>):
|
|
267
|
-
|
|
268
|
-
declare function Select({ ...props }: ComponentProps<typeof Select$1.Root>):
|
|
269
|
-
declare function SelectTrigger$1({ className, children, ...props }: ComponentProps<typeof Select$1.Trigger>):
|
|
270
|
-
declare function SelectContent({ className, children, position, ...props }: ComponentProps<typeof Select$1.Content>):
|
|
271
|
-
declare function SelectItem({ className, children, ...props }: ComponentProps<typeof Select$1.Item>):
|
|
272
|
-
declare function SelectLabel({ className, ...props }: ComponentProps<typeof Select$1.Label>):
|
|
273
|
-
declare function SelectSeparator({ className, ...props }: ComponentProps<typeof Select$1.Separator>):
|
|
274
|
-
declare function SelectScrollUpButton({ className, ...props }: ComponentProps<typeof Select$1.ScrollUpButton>):
|
|
275
|
-
declare function SelectScrollDownButton({ className, ...props }: ComponentProps<typeof Select$1.ScrollDownButton>):
|
|
276
|
-
declare function SelectValue({ ...props }: ComponentProps<typeof Select$1.Value>):
|
|
277
|
-
declare function SelectGroup({ ...props }: ComponentProps<typeof Select$1.Group>):
|
|
278
|
-
|
|
279
|
-
declare function Separator({ className, orientation, decorative, ...props }: ComponentProps<typeof Separator$1.Root>):
|
|
263
|
+
declare function SegmentedControl({ className, size, children, ...props }: SegmentedControlProps): react.JSX.Element;
|
|
264
|
+
declare function SegmentedControlItem({ className, children, value, ...props }: ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react.JSX.Element;
|
|
265
|
+
|
|
266
|
+
declare function Select({ ...props }: ComponentProps<typeof Select$1.Root>): react.JSX.Element;
|
|
267
|
+
declare function SelectTrigger$1({ className, children, ...props }: ComponentProps<typeof Select$1.Trigger>): react.JSX.Element;
|
|
268
|
+
declare function SelectContent({ className, children, position, ...props }: ComponentProps<typeof Select$1.Content>): react.JSX.Element;
|
|
269
|
+
declare function SelectItem({ className, children, ...props }: ComponentProps<typeof Select$1.Item>): react.JSX.Element;
|
|
270
|
+
declare function SelectLabel({ className, ...props }: ComponentProps<typeof Select$1.Label>): react.JSX.Element;
|
|
271
|
+
declare function SelectSeparator({ className, ...props }: ComponentProps<typeof Select$1.Separator>): react.JSX.Element;
|
|
272
|
+
declare function SelectScrollUpButton({ className, ...props }: ComponentProps<typeof Select$1.ScrollUpButton>): react.JSX.Element;
|
|
273
|
+
declare function SelectScrollDownButton({ className, ...props }: ComponentProps<typeof Select$1.ScrollDownButton>): react.JSX.Element;
|
|
274
|
+
declare function SelectValue({ ...props }: ComponentProps<typeof Select$1.Value>): react.JSX.Element;
|
|
275
|
+
declare function SelectGroup({ ...props }: ComponentProps<typeof Select$1.Group>): react.JSX.Element;
|
|
276
|
+
|
|
277
|
+
declare function Separator({ className, orientation, decorative, ...props }: ComponentProps<typeof Separator$1.Root>): react.JSX.Element;
|
|
280
278
|
|
|
281
279
|
declare const progressVariants: (props?: ({
|
|
282
280
|
variant?: "default" | "success" | "warning" | "danger" | "orange" | null | undefined;
|
|
@@ -287,23 +285,23 @@ declare const progressIndicatorVariants: (props?: ({
|
|
|
287
285
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
288
286
|
interface ProgressProps extends ComponentProps<typeof Progress$1.Root>, VariantProps<typeof progressVariants> {
|
|
289
287
|
}
|
|
290
|
-
declare function Progress({ className, value, variant, size, ...props }: ProgressProps):
|
|
288
|
+
declare function Progress({ className, value, variant, size, ...props }: ProgressProps): react.JSX.Element;
|
|
291
289
|
|
|
292
290
|
declare const skeletonVariants: (props?: ({
|
|
293
291
|
variant?: "default" | "text" | "avatar" | null | undefined;
|
|
294
292
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
295
|
-
declare function Skeleton({ className, variant, ...props }: ComponentProps<'div'> & VariantProps<typeof skeletonVariants>):
|
|
293
|
+
declare function Skeleton({ className, variant, ...props }: ComponentProps<'div'> & VariantProps<typeof skeletonVariants>): react.JSX.Element;
|
|
296
294
|
|
|
297
|
-
declare function Slider({ className, defaultValue, value, min, max, ...props }: ComponentProps<typeof Slider$1.Root>):
|
|
295
|
+
declare function Slider({ className, defaultValue, value, min, max, ...props }: ComponentProps<typeof Slider$1.Root>): react.JSX.Element;
|
|
298
296
|
|
|
299
297
|
declare function Switch({ className, size, ...props }: ComponentProps<typeof Switch$1.Root> & {
|
|
300
298
|
size?: 'sm' | 'default';
|
|
301
|
-
}):
|
|
299
|
+
}): react.JSX.Element;
|
|
302
300
|
|
|
303
|
-
declare function Tabs({ defaultValue, value: controlledValue, onValueChange, ...props }: ComponentProps<typeof Tabs$1.Root>):
|
|
304
|
-
declare function TabsList({ className, ...props }: ComponentProps<typeof Tabs$1.List>):
|
|
305
|
-
declare function TabsTrigger({ className, value, children, ...props }: ComponentProps<typeof Tabs$1.Trigger>):
|
|
306
|
-
declare function TabsContent({ className, value, children, ...props }: ComponentProps<typeof Tabs$1.Content>):
|
|
301
|
+
declare function Tabs({ defaultValue, value: controlledValue, onValueChange, ...props }: ComponentProps<typeof Tabs$1.Root>): react.JSX.Element;
|
|
302
|
+
declare function TabsList({ className, ...props }: ComponentProps<typeof Tabs$1.List>): react.JSX.Element;
|
|
303
|
+
declare function TabsTrigger({ className, value, children, ...props }: ComponentProps<typeof Tabs$1.Trigger>): react.JSX.Element;
|
|
304
|
+
declare function TabsContent({ className, value, children, ...props }: ComponentProps<typeof Tabs$1.Content>): react.JSX.Element;
|
|
307
305
|
|
|
308
306
|
type ToastType = 'default' | 'success' | 'error' | 'warning' | 'info' | 'loading';
|
|
309
307
|
interface ToastAction {
|
|
@@ -343,30 +341,30 @@ interface ToasterProps {
|
|
|
343
341
|
duration?: number;
|
|
344
342
|
children?: ReactNode;
|
|
345
343
|
}
|
|
346
|
-
declare function Toaster({ position, children }: ToasterProps):
|
|
344
|
+
declare function Toaster({ position, children }: ToasterProps): react.JSX.Element;
|
|
347
345
|
|
|
348
346
|
declare function ToggleGroup({ className, variant, size, spacing, orientation, children, ...props }: ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants> & {
|
|
349
347
|
spacing?: number;
|
|
350
348
|
orientation?: 'horizontal' | 'vertical';
|
|
351
|
-
}):
|
|
352
|
-
declare function ToggleGroupItem({ className, children, variant, size, ...props }: ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>):
|
|
349
|
+
}): react.JSX.Element;
|
|
350
|
+
declare function ToggleGroupItem({ className, children, variant, size, ...props }: ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react.JSX.Element;
|
|
353
351
|
|
|
354
352
|
declare const tooltipContentVariants: (props?: ({
|
|
355
353
|
variant?: "default" | "primary" | null | undefined;
|
|
356
354
|
size?: "sm" | "md" | null | undefined;
|
|
357
355
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
358
|
-
declare function TooltipProvider({ delayDuration, ...props }: ComponentProps<typeof Tooltip$1.Provider>):
|
|
359
|
-
declare function Tooltip({ ...props }: ComponentProps<typeof Tooltip$1.Root>):
|
|
360
|
-
declare function TooltipTrigger({ ...props }: ComponentProps<typeof Tooltip$1.Trigger>):
|
|
361
|
-
declare function TooltipContent({ className, sideOffset, variant, size, children, ...props }: ComponentProps<typeof Tooltip$1.Content> & VariantProps<typeof tooltipContentVariants>):
|
|
362
|
-
|
|
363
|
-
declare function Popover({ ...props }: ComponentProps<typeof Popover$1.Root>):
|
|
364
|
-
declare function PopoverTrigger({ ...props }: ComponentProps<typeof Popover$1.Trigger>):
|
|
365
|
-
declare function PopoverContent({ className, align, sideOffset, ...props }: ComponentProps<typeof Popover$1.Content>):
|
|
366
|
-
declare function PopoverAnchor({ ...props }: ComponentProps<typeof Popover$1.Anchor>):
|
|
367
|
-
declare function PopoverHeader({ className, ...props }: ComponentProps<'div'>):
|
|
368
|
-
declare function PopoverTitle({ className, ...props }: ComponentProps<'h2'>):
|
|
369
|
-
declare function PopoverDescription({ className, ...props }: ComponentProps<'p'>):
|
|
356
|
+
declare function TooltipProvider({ delayDuration, ...props }: ComponentProps<typeof Tooltip$1.Provider>): react.JSX.Element;
|
|
357
|
+
declare function Tooltip({ ...props }: ComponentProps<typeof Tooltip$1.Root>): react.JSX.Element;
|
|
358
|
+
declare function TooltipTrigger({ ...props }: ComponentProps<typeof Tooltip$1.Trigger>): react.JSX.Element;
|
|
359
|
+
declare function TooltipContent({ className, sideOffset, variant, size, children, ...props }: ComponentProps<typeof Tooltip$1.Content> & VariantProps<typeof tooltipContentVariants>): react.JSX.Element;
|
|
360
|
+
|
|
361
|
+
declare function Popover({ ...props }: ComponentProps<typeof Popover$1.Root>): react.JSX.Element;
|
|
362
|
+
declare function PopoverTrigger({ ...props }: ComponentProps<typeof Popover$1.Trigger>): react.JSX.Element;
|
|
363
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: ComponentProps<typeof Popover$1.Content>): react.JSX.Element;
|
|
364
|
+
declare function PopoverAnchor({ ...props }: ComponentProps<typeof Popover$1.Anchor>): react.JSX.Element;
|
|
365
|
+
declare function PopoverHeader({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
366
|
+
declare function PopoverTitle({ className, ...props }: ComponentProps<'h2'>): react.JSX.Element;
|
|
367
|
+
declare function PopoverDescription({ className, ...props }: ComponentProps<'p'>): react.JSX.Element;
|
|
370
368
|
|
|
371
369
|
declare const TEXT_SIZES: readonly [12, 14, 16, 18, 20, 24, 28, 32, 40, 48];
|
|
372
370
|
declare const TEXT_WEIGHTS: readonly [100, 200, 300, 400, 500, 700, 800, 900];
|
|
@@ -387,45 +385,45 @@ interface TextProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
|
|
|
387
385
|
/** Text content */
|
|
388
386
|
children: ReactNode;
|
|
389
387
|
}
|
|
390
|
-
declare function Text({ as: Tag, size, weight, italic, color, className, style, children, ...props }: TextProps):
|
|
388
|
+
declare function Text({ as: Tag, size, weight, italic, color, className, style, children, ...props }: TextProps): react.JSX.Element;
|
|
391
389
|
|
|
392
|
-
declare function Dialog({ children, ...props }: ComponentProps<typeof Dialog$1.Root>):
|
|
393
|
-
declare function DialogTrigger({ ...props }: ComponentProps<typeof Dialog$1.Trigger>):
|
|
394
|
-
declare function DialogPortal({ children, ...props }: ComponentProps<typeof Dialog$1.Portal>):
|
|
395
|
-
declare function DialogClose({ ...props }: ComponentProps<typeof Dialog$1.Close>):
|
|
396
|
-
declare function DialogOverlay({ className, ...props }: ComponentProps<typeof Dialog$1.Overlay>):
|
|
390
|
+
declare function Dialog({ children, ...props }: ComponentProps<typeof Dialog$1.Root>): react.JSX.Element;
|
|
391
|
+
declare function DialogTrigger({ ...props }: ComponentProps<typeof Dialog$1.Trigger>): react.JSX.Element;
|
|
392
|
+
declare function DialogPortal({ children, ...props }: ComponentProps<typeof Dialog$1.Portal>): react.JSX.Element;
|
|
393
|
+
declare function DialogClose({ ...props }: ComponentProps<typeof Dialog$1.Close>): react.JSX.Element;
|
|
394
|
+
declare function DialogOverlay({ className, ...props }: ComponentProps<typeof Dialog$1.Overlay>): react.JSX.Element;
|
|
397
395
|
declare function DialogContent({ className, children, showCloseButton, ...props }: ComponentProps<typeof Dialog$1.Content> & {
|
|
398
396
|
showCloseButton?: boolean;
|
|
399
|
-
}):
|
|
400
|
-
declare function DialogHeader({ className, ...props }: ComponentProps<'div'>):
|
|
401
|
-
declare function DialogBody({ className, ...props }: ComponentProps<'div'>):
|
|
397
|
+
}): react.JSX.Element;
|
|
398
|
+
declare function DialogHeader({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
399
|
+
declare function DialogBody({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
402
400
|
declare function DialogFooter({ className, showCloseButton, children, ...props }: ComponentProps<'div'> & {
|
|
403
401
|
showCloseButton?: boolean;
|
|
404
|
-
}):
|
|
405
|
-
declare function DialogTitle({ className, ...props }: ComponentProps<typeof Dialog$1.Title>):
|
|
406
|
-
declare function DialogDescription({ className, ...props }: ComponentProps<typeof Dialog$1.Description>):
|
|
407
|
-
|
|
408
|
-
declare function AlertDialog({ children, ...props }: ComponentProps<typeof AlertDialog$1.Root>):
|
|
409
|
-
declare function AlertDialogTrigger({ ...props }: ComponentProps<typeof AlertDialog$1.Trigger>):
|
|
410
|
-
declare function AlertDialogPortal({ children, ...props }: ComponentProps<typeof AlertDialog$1.Portal>):
|
|
411
|
-
declare function AlertDialogOverlay({ className, ...props }: ComponentProps<typeof AlertDialog$1.Overlay>):
|
|
402
|
+
}): react.JSX.Element;
|
|
403
|
+
declare function DialogTitle({ className, ...props }: ComponentProps<typeof Dialog$1.Title>): react.JSX.Element;
|
|
404
|
+
declare function DialogDescription({ className, ...props }: ComponentProps<typeof Dialog$1.Description>): react.JSX.Element;
|
|
405
|
+
|
|
406
|
+
declare function AlertDialog({ children, ...props }: ComponentProps<typeof AlertDialog$1.Root>): react.JSX.Element;
|
|
407
|
+
declare function AlertDialogTrigger({ ...props }: ComponentProps<typeof AlertDialog$1.Trigger>): react.JSX.Element;
|
|
408
|
+
declare function AlertDialogPortal({ children, ...props }: ComponentProps<typeof AlertDialog$1.Portal>): react.JSX.Element;
|
|
409
|
+
declare function AlertDialogOverlay({ className, ...props }: ComponentProps<typeof AlertDialog$1.Overlay>): react.JSX.Element;
|
|
412
410
|
declare function AlertDialogContent({ className, size, variant, showClose, children, ...props }: ComponentProps<typeof AlertDialog$1.Content> & {
|
|
413
411
|
size?: 'default' | 'sm';
|
|
414
412
|
variant?: 'default' | 'dark-glass';
|
|
415
413
|
showClose?: boolean;
|
|
416
|
-
}):
|
|
417
|
-
declare function AlertDialogHeader({ className, ...props }: ComponentProps<'div'>):
|
|
418
|
-
declare function AlertDialogFooter({ className, ...props }: ComponentProps<'div'>):
|
|
419
|
-
declare function AlertDialogMedia({ className, ...props }: ComponentProps<'div'>):
|
|
420
|
-
declare function AlertDialogTitle({ className, ...props }: ComponentProps<typeof AlertDialog$1.Title>):
|
|
421
|
-
declare function AlertDialogDescription({ className, ...props }: ComponentProps<typeof AlertDialog$1.Description>):
|
|
422
|
-
declare function AlertDialogAction({ className, variant, size, children, ...props }: ComponentProps<typeof AlertDialog$1.Action> & Pick<ComponentProps<typeof Button$1>, 'variant' | 'size'>):
|
|
423
|
-
declare function AlertDialogCancel({ className, variant, size, children, ...props }: ComponentProps<typeof AlertDialog$1.Cancel> & Pick<ComponentProps<typeof Button$1>, 'variant' | 'size'>):
|
|
424
|
-
|
|
425
|
-
declare function Accordion({ className, ...props }: ComponentProps<typeof Accordion$1.Root>):
|
|
426
|
-
declare function AccordionItem({ className, ...props }: ComponentProps<typeof Accordion$1.Item>):
|
|
427
|
-
declare function AccordionTrigger({ className, children, ...props }: ComponentProps<typeof Accordion$1.Trigger>):
|
|
428
|
-
declare function AccordionContent({ className, children, ...props }: ComponentProps<typeof Accordion$1.Content>):
|
|
414
|
+
}): react.JSX.Element;
|
|
415
|
+
declare function AlertDialogHeader({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
416
|
+
declare function AlertDialogFooter({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
417
|
+
declare function AlertDialogMedia({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
418
|
+
declare function AlertDialogTitle({ className, ...props }: ComponentProps<typeof AlertDialog$1.Title>): react.JSX.Element;
|
|
419
|
+
declare function AlertDialogDescription({ className, ...props }: ComponentProps<typeof AlertDialog$1.Description>): react.JSX.Element;
|
|
420
|
+
declare function AlertDialogAction({ className, variant, size, children, ...props }: ComponentProps<typeof AlertDialog$1.Action> & Pick<ComponentProps<typeof Button$1>, 'variant' | 'size'>): react.JSX.Element;
|
|
421
|
+
declare function AlertDialogCancel({ className, variant, size, children, ...props }: ComponentProps<typeof AlertDialog$1.Cancel> & Pick<ComponentProps<typeof Button$1>, 'variant' | 'size'>): react.JSX.Element;
|
|
422
|
+
|
|
423
|
+
declare function Accordion({ className, ...props }: ComponentProps<typeof Accordion$1.Root>): react.JSX.Element;
|
|
424
|
+
declare function AccordionItem({ className, ...props }: ComponentProps<typeof Accordion$1.Item>): react.JSX.Element;
|
|
425
|
+
declare function AccordionTrigger({ className, children, ...props }: ComponentProps<typeof Accordion$1.Trigger>): react.JSX.Element;
|
|
426
|
+
declare function AccordionContent({ className, children, ...props }: ComponentProps<typeof Accordion$1.Content>): react.JSX.Element;
|
|
429
427
|
|
|
430
428
|
interface ComboboxOption {
|
|
431
429
|
value: string;
|
|
@@ -442,34 +440,34 @@ interface ComboboxProps {
|
|
|
442
440
|
disabled?: boolean;
|
|
443
441
|
className?: string;
|
|
444
442
|
}
|
|
445
|
-
declare function Combobox({ options, value, onValueChange, placeholder, searchPlaceholder, emptyMessage, disabled, className, }: ComboboxProps):
|
|
443
|
+
declare function Combobox({ options, value, onValueChange, placeholder, searchPlaceholder, emptyMessage, disabled, className, }: ComboboxProps): react.JSX.Element;
|
|
446
444
|
|
|
447
|
-
declare function DropdownMenu({ ...props }: ComponentProps<typeof DropdownMenu$1.Root>):
|
|
448
|
-
declare function DropdownMenuPortal({ ...props }: ComponentProps<typeof DropdownMenu$1.Portal>):
|
|
449
|
-
declare function DropdownMenuTrigger({ ...props }: ComponentProps<typeof DropdownMenu$1.Trigger>):
|
|
450
|
-
declare function DropdownMenuContent({ className, align, sideOffset, ...props }: ComponentProps<typeof DropdownMenu$1.Content>):
|
|
451
|
-
declare function DropdownMenuGroup({ ...props }: ComponentProps<typeof DropdownMenu$1.Group>):
|
|
445
|
+
declare function DropdownMenu({ ...props }: ComponentProps<typeof DropdownMenu$1.Root>): react.JSX.Element;
|
|
446
|
+
declare function DropdownMenuPortal({ ...props }: ComponentProps<typeof DropdownMenu$1.Portal>): react.JSX.Element;
|
|
447
|
+
declare function DropdownMenuTrigger({ ...props }: ComponentProps<typeof DropdownMenu$1.Trigger>): react.JSX.Element;
|
|
448
|
+
declare function DropdownMenuContent({ className, align, sideOffset, ...props }: ComponentProps<typeof DropdownMenu$1.Content>): react.JSX.Element;
|
|
449
|
+
declare function DropdownMenuGroup({ ...props }: ComponentProps<typeof DropdownMenu$1.Group>): react.JSX.Element;
|
|
452
450
|
declare function DropdownMenuItem({ className, inset, variant, ...props }: ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
453
451
|
inset?: boolean;
|
|
454
452
|
variant?: 'default' | 'destructive';
|
|
455
|
-
}):
|
|
453
|
+
}): react.JSX.Element;
|
|
456
454
|
declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: ComponentProps<typeof DropdownMenu$1.CheckboxItem> & {
|
|
457
455
|
inset?: boolean;
|
|
458
|
-
}):
|
|
459
|
-
declare function DropdownMenuRadioGroup({ ...props }: ComponentProps<typeof DropdownMenu$1.RadioGroup>):
|
|
456
|
+
}): react.JSX.Element;
|
|
457
|
+
declare function DropdownMenuRadioGroup({ ...props }: ComponentProps<typeof DropdownMenu$1.RadioGroup>): react.JSX.Element;
|
|
460
458
|
declare function DropdownMenuRadioItem({ className, children, inset, ...props }: ComponentProps<typeof DropdownMenu$1.RadioItem> & {
|
|
461
459
|
inset?: boolean;
|
|
462
|
-
}):
|
|
460
|
+
}): react.JSX.Element;
|
|
463
461
|
declare function DropdownMenuLabel({ className, inset, ...props }: ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
464
462
|
inset?: boolean;
|
|
465
|
-
}):
|
|
466
|
-
declare function DropdownMenuSeparator({ className, ...props }: ComponentProps<typeof DropdownMenu$1.Separator>):
|
|
467
|
-
declare function DropdownMenuShortcut({ className, ...props }: ComponentProps<'span'>):
|
|
468
|
-
declare function DropdownMenuSub({ ...props }: ComponentProps<typeof DropdownMenu$1.Sub>):
|
|
463
|
+
}): react.JSX.Element;
|
|
464
|
+
declare function DropdownMenuSeparator({ className, ...props }: ComponentProps<typeof DropdownMenu$1.Separator>): react.JSX.Element;
|
|
465
|
+
declare function DropdownMenuShortcut({ className, ...props }: ComponentProps<'span'>): react.JSX.Element;
|
|
466
|
+
declare function DropdownMenuSub({ ...props }: ComponentProps<typeof DropdownMenu$1.Sub>): react.JSX.Element;
|
|
469
467
|
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
|
|
470
468
|
inset?: boolean;
|
|
471
|
-
}):
|
|
472
|
-
declare function DropdownMenuSubContent({ className, ...props }: ComponentProps<typeof DropdownMenu$1.SubContent>):
|
|
469
|
+
}): react.JSX.Element;
|
|
470
|
+
declare function DropdownMenuSubContent({ className, ...props }: ComponentProps<typeof DropdownMenu$1.SubContent>): react.JSX.Element;
|
|
473
471
|
|
|
474
472
|
type DropzoneProps = Omit<DropzoneOptions, 'onDrop'> & {
|
|
475
473
|
src?: File[];
|
|
@@ -478,50 +476,50 @@ type DropzoneProps = Omit<DropzoneOptions, 'onDrop'> & {
|
|
|
478
476
|
onDrop?: (acceptedFiles: File[], fileRejections: FileRejection[], event: DropEvent) => void;
|
|
479
477
|
children?: ReactNode;
|
|
480
478
|
};
|
|
481
|
-
declare const Dropzone: ({ accept, maxFiles, maxSize, minSize, onDrop, onError, disabled, src, className, children, border, ...props }: DropzoneProps) =>
|
|
479
|
+
declare const Dropzone: ({ accept, maxFiles, maxSize, minSize, onDrop, onError, disabled, src, className, children, border, ...props }: DropzoneProps) => react.JSX.Element;
|
|
482
480
|
interface DropzoneContentProps {
|
|
483
481
|
children?: ReactNode;
|
|
484
482
|
className?: string;
|
|
485
483
|
}
|
|
486
|
-
declare const DropzoneContent: ({ children, className }: DropzoneContentProps) => string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> |
|
|
484
|
+
declare const DropzoneContent: ({ children, className }: DropzoneContentProps) => string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react.JSX.Element | null;
|
|
487
485
|
interface DropzoneEmptyStateProps {
|
|
488
486
|
children?: ReactNode;
|
|
489
487
|
className?: string;
|
|
490
488
|
}
|
|
491
|
-
declare const DropzoneEmptyState: ({ children, className }: DropzoneEmptyStateProps) => string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> |
|
|
489
|
+
declare const DropzoneEmptyState: ({ children, className }: DropzoneEmptyStateProps) => string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react.JSX.Element | null;
|
|
492
490
|
|
|
493
|
-
declare function Empty({ className, ...props }: React.ComponentProps<'div'>):
|
|
494
|
-
declare function EmptyHeader({ className, ...props }: React.ComponentProps<'div'>):
|
|
491
|
+
declare function Empty({ className, ...props }: React.ComponentProps<'div'>): react.JSX.Element;
|
|
492
|
+
declare function EmptyHeader({ className, ...props }: React.ComponentProps<'div'>): react.JSX.Element;
|
|
495
493
|
declare const emptyMediaVariants: (props?: ({
|
|
496
494
|
variant?: "default" | "icon" | null | undefined;
|
|
497
495
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
498
|
-
declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>):
|
|
499
|
-
declare function EmptyTitle({ className, ...props }: React.ComponentProps<'div'>):
|
|
500
|
-
declare function EmptyDescription({ className, ...props }: React.ComponentProps<'p'>):
|
|
501
|
-
declare function EmptyContent({ className, ...props }: React.ComponentProps<'div'>):
|
|
496
|
+
declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react.JSX.Element;
|
|
497
|
+
declare function EmptyTitle({ className, ...props }: React.ComponentProps<'div'>): react.JSX.Element;
|
|
498
|
+
declare function EmptyDescription({ className, ...props }: React.ComponentProps<'p'>): react.JSX.Element;
|
|
499
|
+
declare function EmptyContent({ className, ...props }: React.ComponentProps<'div'>): react.JSX.Element;
|
|
502
500
|
|
|
503
|
-
declare function ItemGroup({ className, ...props }: ComponentProps<'div'>):
|
|
504
|
-
declare function ItemSeparator({ className, ...props }: ComponentProps<typeof Separator>):
|
|
501
|
+
declare function ItemGroup({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
502
|
+
declare function ItemSeparator({ className, ...props }: ComponentProps<typeof Separator>): react.JSX.Element;
|
|
505
503
|
declare const itemVariants: (props?: ({
|
|
506
504
|
variant?: "default" | "outline" | "muted" | "highlighted" | null | undefined;
|
|
507
505
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
508
506
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
509
507
|
declare function Item({ className, variant, size, asChild, ...props }: ComponentProps<'div'> & VariantProps<typeof itemVariants> & {
|
|
510
508
|
asChild?: boolean;
|
|
511
|
-
}):
|
|
509
|
+
}): react.JSX.Element;
|
|
512
510
|
declare const itemMediaVariants: (props?: ({
|
|
513
511
|
variant?: "default" | "icon" | "image" | null | undefined;
|
|
514
512
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
515
|
-
declare function ItemMedia({ className, variant, ...props }: ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>):
|
|
516
|
-
declare function ItemContent({ className, ...props }: ComponentProps<'div'>):
|
|
517
|
-
declare function ItemTitle({ className, ...props }: ComponentProps<'div'>):
|
|
518
|
-
declare function ItemDescription({ className, ...props }: ComponentProps<'p'>):
|
|
519
|
-
declare function ItemActions({ className, ...props }: ComponentProps<'div'>):
|
|
520
|
-
declare function ItemHeader({ className, ...props }: ComponentProps<'div'>):
|
|
521
|
-
declare function ItemFooter({ className, ...props }: ComponentProps<'div'>):
|
|
513
|
+
declare function ItemMedia({ className, variant, ...props }: ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>): react.JSX.Element;
|
|
514
|
+
declare function ItemContent({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
515
|
+
declare function ItemTitle({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
516
|
+
declare function ItemDescription({ className, ...props }: ComponentProps<'p'>): react.JSX.Element;
|
|
517
|
+
declare function ItemActions({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
518
|
+
declare function ItemHeader({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
519
|
+
declare function ItemFooter({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
522
520
|
|
|
523
|
-
declare function RadioGroup({ className, ...props }: ComponentProps<typeof RadioGroup$1.Root>):
|
|
524
|
-
declare function RadioGroupItem({ className, ...props }: ComponentProps<typeof RadioGroup$1.Item>):
|
|
521
|
+
declare function RadioGroup({ className, ...props }: ComponentProps<typeof RadioGroup$1.Root>): react.JSX.Element;
|
|
522
|
+
declare function RadioGroupItem({ className, ...props }: ComponentProps<typeof RadioGroup$1.Item>): react.JSX.Element;
|
|
525
523
|
|
|
526
524
|
declare const spinnerVariants: (props?: ({
|
|
527
525
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
@@ -529,14 +527,14 @@ declare const spinnerVariants: (props?: ({
|
|
|
529
527
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
530
528
|
interface SpinnerProps extends Omit<ComponentProps<'svg'>, 'color'>, VariantProps<typeof spinnerVariants> {
|
|
531
529
|
}
|
|
532
|
-
declare function Spinner({ className, size, color, ...props }: SpinnerProps):
|
|
530
|
+
declare function Spinner({ className, size, color, ...props }: SpinnerProps): react.JSX.Element;
|
|
533
531
|
declare const spinnerLoaderVariants: (props?: ({
|
|
534
532
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
535
533
|
color?: "current" | "destructive" | "primary" | "white" | "muted" | null | undefined;
|
|
536
534
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
537
535
|
interface SpinnerLoaderProps extends Omit<ComponentProps<'svg'>, 'color'>, VariantProps<typeof spinnerLoaderVariants> {
|
|
538
536
|
}
|
|
539
|
-
declare function SpinnerLoader({ className, size, color, ...props }: SpinnerLoaderProps):
|
|
537
|
+
declare function SpinnerLoader({ className, size, color, ...props }: SpinnerLoaderProps): react.JSX.Element;
|
|
540
538
|
declare const spinnerDotsVariants: (props?: ({
|
|
541
539
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
542
540
|
color?: "current" | "destructive" | "primary" | "white" | "muted" | null | undefined;
|
|
@@ -544,7 +542,7 @@ declare const spinnerDotsVariants: (props?: ({
|
|
|
544
542
|
interface SpinnerDotsProps extends VariantProps<typeof spinnerDotsVariants> {
|
|
545
543
|
className?: string;
|
|
546
544
|
}
|
|
547
|
-
declare function SpinnerDots({ className, size, color }: SpinnerDotsProps):
|
|
545
|
+
declare function SpinnerDots({ className, size, color }: SpinnerDotsProps): react.JSX.Element;
|
|
548
546
|
|
|
549
547
|
declare const buttonVariants: (props?: ({
|
|
550
548
|
variant?: "default" | "link" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
@@ -552,11 +550,11 @@ declare const buttonVariants: (props?: ({
|
|
|
552
550
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
553
551
|
declare function Button({ className, variant, size, asChild, ...props }: ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
554
552
|
asChild?: boolean;
|
|
555
|
-
}):
|
|
553
|
+
}): react.JSX.Element;
|
|
556
554
|
|
|
557
555
|
declare function SelectTrigger({ className, size, children, ...props }: ComponentProps<typeof Select$1.Trigger> & {
|
|
558
556
|
size?: 'sm' | 'default';
|
|
559
|
-
}):
|
|
557
|
+
}): react.JSX.Element;
|
|
560
558
|
|
|
561
559
|
interface ColorPickerContextValue {
|
|
562
560
|
hue: number;
|
|
@@ -576,24 +574,24 @@ type ColorPickerProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> & {
|
|
|
576
574
|
defaultValue?: Parameters<typeof Color>[0];
|
|
577
575
|
onChange?: (value: [number, number, number, number]) => void;
|
|
578
576
|
};
|
|
579
|
-
declare const ColorPicker: ({ value, defaultValue, onChange, className, ...props }: ColorPickerProps) =>
|
|
577
|
+
declare const ColorPicker: ({ value, defaultValue, onChange, className, ...props }: ColorPickerProps) => react.JSX.Element;
|
|
580
578
|
type ColorPickerSelectionProps = HTMLAttributes<HTMLDivElement>;
|
|
581
|
-
declare const ColorPickerSelection: react.MemoExoticComponent<({ className, ...props }: ColorPickerSelectionProps) =>
|
|
579
|
+
declare const ColorPickerSelection: react.MemoExoticComponent<({ className, ...props }: ColorPickerSelectionProps) => react.JSX.Element>;
|
|
582
580
|
type ColorPickerHueProps = ComponentProps<typeof Slider$1.Root>;
|
|
583
|
-
declare const ColorPickerHue: ({ className, ...props }: ColorPickerHueProps) =>
|
|
581
|
+
declare const ColorPickerHue: ({ className, ...props }: ColorPickerHueProps) => react.JSX.Element;
|
|
584
582
|
type ColorPickerAlphaProps = ComponentProps<typeof Slider$1.Root>;
|
|
585
|
-
declare const ColorPickerAlpha: ({ className, ...props }: ColorPickerAlphaProps) =>
|
|
583
|
+
declare const ColorPickerAlpha: ({ className, ...props }: ColorPickerAlphaProps) => react.JSX.Element;
|
|
586
584
|
type ColorPickerEyeDropperProps = ComponentProps<typeof Button>;
|
|
587
|
-
declare const ColorPickerEyeDropper: ({ className, ...props }: ColorPickerEyeDropperProps) =>
|
|
585
|
+
declare const ColorPickerEyeDropper: ({ className, ...props }: ColorPickerEyeDropperProps) => react.JSX.Element;
|
|
588
586
|
type ColorPickerOutputProps = ComponentProps<typeof SelectTrigger>;
|
|
589
|
-
declare const ColorPickerOutput: ({ ...props }: ColorPickerOutputProps) =>
|
|
587
|
+
declare const ColorPickerOutput: ({ ...props }: ColorPickerOutputProps) => react.JSX.Element;
|
|
590
588
|
type ColorPickerFormatProps = HTMLAttributes<HTMLDivElement>;
|
|
591
|
-
declare const ColorPickerFormat: ({ className, ...props }: ColorPickerFormatProps) =>
|
|
589
|
+
declare const ColorPickerFormat: ({ className, ...props }: ColorPickerFormatProps) => react.JSX.Element | null;
|
|
592
590
|
type ColorPickerPresetsProps = HTMLAttributes<HTMLDivElement> & {
|
|
593
591
|
colors: string[];
|
|
594
592
|
};
|
|
595
593
|
declare const ColorPickerPresets: {
|
|
596
|
-
({ colors, className, ...props }: ColorPickerPresetsProps):
|
|
594
|
+
({ colors, className, ...props }: ColorPickerPresetsProps): react.JSX.Element;
|
|
597
595
|
displayName: string;
|
|
598
596
|
};
|
|
599
597
|
|
|
@@ -627,7 +625,7 @@ interface DatePickerProps {
|
|
|
627
625
|
fromDate?: Date;
|
|
628
626
|
toDate?: Date;
|
|
629
627
|
}
|
|
630
|
-
declare function DatePicker({ mode, selected, onSelect, placeholder, disabled, className, fromDate, toDate, }: DatePickerProps):
|
|
628
|
+
declare function DatePicker({ mode, selected, onSelect, placeholder, disabled, className, fromDate, toDate, }: DatePickerProps): react.JSX.Element;
|
|
631
629
|
|
|
632
630
|
interface NavbarDropdownItem {
|
|
633
631
|
href: string;
|
|
@@ -668,7 +666,7 @@ interface NavbarProps extends HTMLAttributes<HTMLElement> {
|
|
|
668
666
|
onAvatarClick?: () => void;
|
|
669
667
|
onNotificationClick?: (id: string) => void;
|
|
670
668
|
}
|
|
671
|
-
declare const Logo: (props: SVGAttributes<SVGElement>) =>
|
|
669
|
+
declare const Logo: (props: SVGAttributes<SVGElement>) => react.JSX.Element;
|
|
672
670
|
/**
|
|
673
671
|
* @remarks
|
|
674
672
|
* Navigation dropdowns use `absolute` positioning without a Portal. If this
|
|
@@ -679,33 +677,82 @@ declare const Navbar: react.ForwardRefExoticComponent<NavbarProps & react.RefAtt
|
|
|
679
677
|
|
|
680
678
|
declare function NavigationMenu({ className, children, viewport, ...props }: ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
681
679
|
viewport?: boolean;
|
|
682
|
-
}):
|
|
683
|
-
declare function NavigationMenuList({ className, ...props }: ComponentProps<typeof NavigationMenu$1.List>):
|
|
684
|
-
declare function NavigationMenuItem({ className, ...props }: ComponentProps<typeof NavigationMenu$1.Item>):
|
|
680
|
+
}): react.JSX.Element;
|
|
681
|
+
declare function NavigationMenuList({ className, ...props }: ComponentProps<typeof NavigationMenu$1.List>): react.JSX.Element;
|
|
682
|
+
declare function NavigationMenuItem({ className, ...props }: ComponentProps<typeof NavigationMenu$1.Item>): react.JSX.Element;
|
|
685
683
|
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
686
|
-
declare function NavigationMenuTrigger({ className, children, ...props }: ComponentProps<typeof NavigationMenu$1.Trigger>):
|
|
687
|
-
declare function NavigationMenuContent({ className, ...props }: ComponentProps<typeof NavigationMenu$1.Content>):
|
|
688
|
-
declare function NavigationMenuViewport({ className, ...props }: ComponentProps<typeof NavigationMenu$1.Viewport>):
|
|
689
|
-
declare function NavigationMenuLink({ className, ...props }: ComponentProps<typeof NavigationMenu$1.Link>):
|
|
690
|
-
declare function NavigationMenuIndicator({ className, ...props }: ComponentProps<typeof NavigationMenu$1.Indicator>):
|
|
691
|
-
|
|
692
|
-
|
|
684
|
+
declare function NavigationMenuTrigger({ className, children, ...props }: ComponentProps<typeof NavigationMenu$1.Trigger>): react.JSX.Element;
|
|
685
|
+
declare function NavigationMenuContent({ className, ...props }: ComponentProps<typeof NavigationMenu$1.Content>): react.JSX.Element;
|
|
686
|
+
declare function NavigationMenuViewport({ className, ...props }: ComponentProps<typeof NavigationMenu$1.Viewport>): react.JSX.Element;
|
|
687
|
+
declare function NavigationMenuLink({ className, ...props }: ComponentProps<typeof NavigationMenu$1.Link>): react.JSX.Element;
|
|
688
|
+
declare function NavigationMenuIndicator({ className, ...props }: ComponentProps<typeof NavigationMenu$1.Indicator>): react.JSX.Element;
|
|
689
|
+
|
|
690
|
+
type SidebarContextProps = {
|
|
691
|
+
state: 'expanded' | 'collapsed';
|
|
692
|
+
open: boolean;
|
|
693
|
+
setOpen: (open: boolean) => void;
|
|
694
|
+
openMobile: boolean;
|
|
695
|
+
setOpenMobile: (open: boolean) => void;
|
|
696
|
+
isMobile: boolean;
|
|
697
|
+
toggleSidebar: () => void;
|
|
698
|
+
};
|
|
699
|
+
declare function useSidebar(): SidebarContextProps;
|
|
700
|
+
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: ComponentProps<'div'> & {
|
|
693
701
|
defaultOpen?: boolean;
|
|
694
702
|
open?: boolean;
|
|
695
703
|
onOpenChange?: (open: boolean) => void;
|
|
696
|
-
}
|
|
697
|
-
declare
|
|
698
|
-
|
|
699
|
-
variant?:
|
|
700
|
-
|
|
701
|
-
}
|
|
704
|
+
}): react.JSX.Element;
|
|
705
|
+
declare function Sidebar({ side, variant, collapsible, className, children, dir, ...props }: ComponentProps<'div'> & {
|
|
706
|
+
side?: 'left' | 'right';
|
|
707
|
+
variant?: 'sidebar' | 'floating' | 'inset';
|
|
708
|
+
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
709
|
+
}): react.JSX.Element;
|
|
710
|
+
declare function SidebarTrigger({ className, onClick, ...props }: ComponentProps<typeof Button$1>): react.JSX.Element;
|
|
711
|
+
declare function SidebarRail({ className, ...props }: ComponentProps<'button'>): react.JSX.Element;
|
|
712
|
+
declare function SidebarInset({ className, ...props }: ComponentProps<'main'>): react.JSX.Element;
|
|
713
|
+
declare function SidebarInput({ className, ...props }: ComponentProps<typeof Input>): react.JSX.Element;
|
|
714
|
+
declare function SidebarHeader({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
715
|
+
declare function SidebarFooter({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
716
|
+
declare function SidebarSeparator({ className, ...props }: ComponentProps<typeof Separator>): react.JSX.Element;
|
|
717
|
+
declare function SidebarContent({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
718
|
+
declare function SidebarGroup({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
719
|
+
declare function SidebarGroupLabel({ className, asChild, ...props }: ComponentProps<'div'> & {
|
|
702
720
|
asChild?: boolean;
|
|
703
|
-
|
|
704
|
-
|
|
721
|
+
}): react.JSX.Element;
|
|
722
|
+
declare function SidebarGroupAction({ className, asChild, ...props }: ComponentProps<'button'> & {
|
|
723
|
+
asChild?: boolean;
|
|
724
|
+
}): react.JSX.Element;
|
|
725
|
+
declare function SidebarGroupContent({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
726
|
+
declare function SidebarMenu({ className, ...props }: ComponentProps<'ul'>): react.JSX.Element;
|
|
727
|
+
declare function SidebarMenuItem({ className, ...props }: ComponentProps<'li'>): react.JSX.Element;
|
|
728
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
729
|
+
variant?: "default" | "outline" | null | undefined;
|
|
730
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
731
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
732
|
+
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: ComponentProps<'button'> & {
|
|
733
|
+
asChild?: boolean;
|
|
734
|
+
isActive?: boolean;
|
|
735
|
+
tooltip?: string | ComponentProps<typeof TooltipContent>;
|
|
736
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react.JSX.Element;
|
|
737
|
+
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: ComponentProps<'button'> & {
|
|
738
|
+
asChild?: boolean;
|
|
739
|
+
showOnHover?: boolean;
|
|
740
|
+
}): react.JSX.Element;
|
|
741
|
+
declare function SidebarMenuBadge({ className, ...props }: ComponentProps<'div'>): react.JSX.Element;
|
|
742
|
+
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: ComponentProps<'div'> & {
|
|
743
|
+
showIcon?: boolean;
|
|
744
|
+
}): react.JSX.Element;
|
|
745
|
+
declare function SidebarMenuSub({ className, ...props }: ComponentProps<'ul'>): react.JSX.Element;
|
|
746
|
+
declare function SidebarMenuSubItem({ className, ...props }: ComponentProps<'li'>): react.JSX.Element;
|
|
747
|
+
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: ComponentProps<'a'> & {
|
|
748
|
+
asChild?: boolean;
|
|
749
|
+
size?: 'sm' | 'md';
|
|
750
|
+
isActive?: boolean;
|
|
751
|
+
}): react.JSX.Element;
|
|
705
752
|
|
|
706
753
|
interface AppShellItem {
|
|
707
754
|
label: string;
|
|
708
|
-
icon?:
|
|
755
|
+
icon?: ReactNode;
|
|
709
756
|
active?: boolean;
|
|
710
757
|
onClick?: () => void;
|
|
711
758
|
permission?: string | string[];
|
|
@@ -717,20 +764,24 @@ interface AppShellProps {
|
|
|
717
764
|
onItemClick?: (label: string) => void;
|
|
718
765
|
brandName?: string;
|
|
719
766
|
showHeader?: boolean;
|
|
767
|
+
open?: boolean;
|
|
768
|
+
onOpenChange?: (open: boolean) => void;
|
|
769
|
+
defaultOpen?: boolean;
|
|
720
770
|
className?: string;
|
|
721
771
|
mainClassName?: string;
|
|
722
|
-
children?:
|
|
772
|
+
children?: ReactNode;
|
|
723
773
|
}
|
|
724
774
|
/**
|
|
725
|
-
*
|
|
726
|
-
* Internally wraps SidebarProvider (shadcn), which imposes `min-h-svh` on the root.
|
|
727
|
-
* This component overrides it with `min-h-0`.
|
|
775
|
+
* Full-page application shell with a collapsible sidebar.
|
|
728
776
|
*
|
|
729
|
-
*
|
|
777
|
+
* @remarks
|
|
778
|
+
* The wrapper is always `h-dvh overflow-hidden` so it fills the dynamic viewport
|
|
779
|
+
* regardless of the parent's height. The inner `<main>` handles its own scroll.
|
|
780
|
+
* Use `mainClassName` to customise padding, background, or scroll behaviour.
|
|
730
781
|
*/
|
|
731
|
-
declare function AppShell({ items, activeItem, onItemClick, brandName, showHeader, className, mainClassName, children, }: AppShellProps):
|
|
782
|
+
declare function AppShell({ items, activeItem, onItemClick, brandName, showHeader, open, onOpenChange, defaultOpen, className, mainClassName, children, }: AppShellProps): react.JSX.Element;
|
|
732
783
|
|
|
733
|
-
declare function Textarea({ className, ...props }: ComponentProps<'textarea'>):
|
|
784
|
+
declare function Textarea({ className, ...props }: ComponentProps<'textarea'>): react.JSX.Element;
|
|
734
785
|
|
|
735
786
|
interface CalendarEvent {
|
|
736
787
|
id: string | number;
|
|
@@ -775,7 +826,7 @@ interface EventCalendarProps {
|
|
|
775
826
|
className?: string;
|
|
776
827
|
}
|
|
777
828
|
|
|
778
|
-
declare function EventCalendar({ events, defaultView, onViewChange, defaultDate, onEventClick, onEventCreate, locale, className, }: EventCalendarProps):
|
|
829
|
+
declare function EventCalendar({ events, defaultView, onViewChange, defaultDate, onEventClick, onEventCreate, locale, className, }: EventCalendarProps): react.JSX.Element;
|
|
779
830
|
|
|
780
831
|
declare const duration: {
|
|
781
832
|
readonly instant: 0.1;
|
|
@@ -1147,16 +1198,16 @@ declare function Table({ className, containerClassName, ...props }: ComponentPro
|
|
|
1147
1198
|
* a nested scroll container would otherwise trap `position: sticky` cells.
|
|
1148
1199
|
*/
|
|
1149
1200
|
containerClassName?: string;
|
|
1150
|
-
}):
|
|
1151
|
-
declare function TableHeader({ className, ...props }: ComponentProps<'thead'>):
|
|
1152
|
-
declare function TableBody({ className, ...props }: ComponentProps<'tbody'>):
|
|
1153
|
-
declare function TableFooter({ className, ...props }: ComponentProps<'tfoot'>):
|
|
1154
|
-
declare function TableRow({ className, ...props }: ComponentProps<'tr'>):
|
|
1155
|
-
declare function TableHead({ className, ...props }: ComponentProps<'th'>):
|
|
1156
|
-
declare function TableCell({ className, ...props }: ComponentProps<'td'>):
|
|
1157
|
-
declare function TableCaption({ className, ...props }: ComponentProps<'caption'>):
|
|
1201
|
+
}): react.JSX.Element;
|
|
1202
|
+
declare function TableHeader({ className, ...props }: ComponentProps<'thead'>): react.JSX.Element;
|
|
1203
|
+
declare function TableBody({ className, ...props }: ComponentProps<'tbody'>): react.JSX.Element;
|
|
1204
|
+
declare function TableFooter({ className, ...props }: ComponentProps<'tfoot'>): react.JSX.Element;
|
|
1205
|
+
declare function TableRow({ className, ...props }: ComponentProps<'tr'>): react.JSX.Element;
|
|
1206
|
+
declare function TableHead({ className, ...props }: ComponentProps<'th'>): react.JSX.Element;
|
|
1207
|
+
declare function TableCell({ className, ...props }: ComponentProps<'td'>): react.JSX.Element;
|
|
1208
|
+
declare function TableCaption({ className, ...props }: ComponentProps<'caption'>): react.JSX.Element;
|
|
1158
1209
|
|
|
1159
|
-
declare function Checkbox({ className, checked, ...props }: ComponentProps<typeof Checkbox$1.Root>):
|
|
1210
|
+
declare function Checkbox({ className, checked, ...props }: ComponentProps<typeof Checkbox$1.Root>): react.JSX.Element;
|
|
1160
1211
|
|
|
1161
1212
|
type TableCellSize = 'sm' | 'md' | 'lg';
|
|
1162
1213
|
type TableVariant = 'default' | 'striped';
|
|
@@ -1281,26 +1332,26 @@ interface TablePaginationProps {
|
|
|
1281
1332
|
onPerPageChange: (newPerPage: number) => void;
|
|
1282
1333
|
}
|
|
1283
1334
|
|
|
1284
|
-
declare function Pagination({ className, ...props }: ComponentProps<'nav'>):
|
|
1285
|
-
declare function PaginationContent({ className, ...props }: ComponentProps<'ul'>):
|
|
1286
|
-
declare function PaginationItem({ ...props }: ComponentProps<'li'>):
|
|
1335
|
+
declare function Pagination({ className, ...props }: ComponentProps<'nav'>): react.JSX.Element;
|
|
1336
|
+
declare function PaginationContent({ className, ...props }: ComponentProps<'ul'>): react.JSX.Element;
|
|
1337
|
+
declare function PaginationItem({ ...props }: ComponentProps<'li'>): react.JSX.Element;
|
|
1287
1338
|
type PaginationLinkProps = {
|
|
1288
1339
|
isActive?: boolean;
|
|
1289
1340
|
} & Pick<ComponentProps<typeof Button$1>, 'size'> & ComponentProps<'a'>;
|
|
1290
|
-
declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps):
|
|
1341
|
+
declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react.JSX.Element;
|
|
1291
1342
|
declare function PaginationPrevious({ className, text, ...props }: ComponentProps<typeof PaginationLink> & {
|
|
1292
1343
|
text?: string;
|
|
1293
|
-
}):
|
|
1344
|
+
}): react.JSX.Element;
|
|
1294
1345
|
declare function PaginationNext({ className, text, ...props }: ComponentProps<typeof PaginationLink> & {
|
|
1295
1346
|
text?: string;
|
|
1296
|
-
}):
|
|
1297
|
-
declare function PaginationEllipsis({ className, ...props }: ComponentProps<'span'>):
|
|
1298
|
-
declare function TablePaginationBase({ page, totalPages, perPage, totalRecords, rowsPerPageOptions, onPageChange, onPerPageChange, }: TablePaginationProps):
|
|
1347
|
+
}): react.JSX.Element;
|
|
1348
|
+
declare function PaginationEllipsis({ className, ...props }: ComponentProps<'span'>): react.JSX.Element;
|
|
1349
|
+
declare function TablePaginationBase({ page, totalPages, perPage, totalRecords, rowsPerPageOptions, onPageChange, onPerPageChange, }: TablePaginationProps): react.JSX.Element;
|
|
1299
1350
|
declare const TablePagination: react.MemoExoticComponent<typeof TablePaginationBase>;
|
|
1300
1351
|
|
|
1301
1352
|
declare function useTableContext<T = unknown>(): TableContextType<T>;
|
|
1302
1353
|
|
|
1303
|
-
declare function DataTable<T>({ data, columns, size, variant, isLoading, stickyHeader, maxHeight, sorting, defaultSorting, onSortingChange, enableSorting, manualSorting, columnFilters, defaultColumnFilters, onColumnFiltersChange, enableFiltering, manualFiltering, onRowClick, classNames, getUniqueValues, emptyState, rowSelection, defaultRowSelection, onRowSelectionChange, enableRowSelection, onSelectedRowsChange, responsiveBreakpoint, disableResponsive, skeletonRowCount, onTableReady, tableId, globalFilter, defaultGlobalFilter, onGlobalFilterChange, columnVisibility, defaultColumnVisibility, onColumnVisibilityChange, columnSizing, defaultColumnSizing, onColumnSizingChange, enableColumnResizing, onSizeChange, toolbar, }: DataTableProps<T>):
|
|
1354
|
+
declare function DataTable<T>({ data, columns, size, variant, isLoading, stickyHeader, maxHeight, sorting, defaultSorting, onSortingChange, enableSorting, manualSorting, columnFilters, defaultColumnFilters, onColumnFiltersChange, enableFiltering, manualFiltering, onRowClick, classNames, getUniqueValues, emptyState, rowSelection, defaultRowSelection, onRowSelectionChange, enableRowSelection, onSelectedRowsChange, responsiveBreakpoint, disableResponsive, skeletonRowCount, onTableReady, tableId, globalFilter, defaultGlobalFilter, onGlobalFilterChange, columnVisibility, defaultColumnVisibility, onColumnVisibilityChange, columnSizing, defaultColumnSizing, onColumnSizingChange, enableColumnResizing, onSizeChange, toolbar, }: DataTableProps<T>): react.JSX.Element;
|
|
1304
1355
|
|
|
1305
1356
|
interface FilterOptionProps {
|
|
1306
1357
|
value: string;
|
|
@@ -1316,19 +1367,19 @@ interface DataTableColumnFilterProps {
|
|
|
1316
1367
|
/** Human-readable column name used to build accessible labels. */
|
|
1317
1368
|
columnLabel?: string;
|
|
1318
1369
|
}
|
|
1319
|
-
declare function DataTableColumnFilter({ options, selectedValues, onChange, searchPlaceholder, columnLabel, }: DataTableColumnFilterProps):
|
|
1370
|
+
declare function DataTableColumnFilter({ options, selectedValues, onChange, searchPlaceholder, columnLabel, }: DataTableColumnFilterProps): react.JSX.Element;
|
|
1320
1371
|
|
|
1321
1372
|
interface DataTableSkeletonProps {
|
|
1322
1373
|
columnCount: number;
|
|
1323
1374
|
rowCount?: number;
|
|
1324
1375
|
size?: TableCellSize;
|
|
1325
1376
|
}
|
|
1326
|
-
declare function DataTableSkeleton({ columnCount, rowCount, size }: DataTableSkeletonProps):
|
|
1377
|
+
declare function DataTableSkeleton({ columnCount, rowCount, size }: DataTableSkeletonProps): react.JSX.Element;
|
|
1327
1378
|
|
|
1328
1379
|
interface DataTableHeaderCellProps<T> {
|
|
1329
1380
|
header: Header<T, unknown>;
|
|
1330
1381
|
}
|
|
1331
|
-
declare function DataTableHeaderCell<T>({ header }: DataTableHeaderCellProps<T>):
|
|
1382
|
+
declare function DataTableHeaderCell<T>({ header }: DataTableHeaderCellProps<T>): react.JSX.Element;
|
|
1332
1383
|
|
|
1333
1384
|
interface UseTableSortingProps {
|
|
1334
1385
|
/**
|
|
@@ -1711,7 +1762,7 @@ interface DataTableRowActionsProps<T> {
|
|
|
1711
1762
|
/** Screen-reader label for the trigger button. Default: "Open actions" */
|
|
1712
1763
|
label?: string;
|
|
1713
1764
|
}
|
|
1714
|
-
declare function DataTableRowActions<T>({ row, actions, label, }: DataTableRowActionsProps<T>):
|
|
1765
|
+
declare function DataTableRowActions<T>({ row, actions, label, }: DataTableRowActionsProps<T>): react.JSX.Element;
|
|
1715
1766
|
|
|
1716
1767
|
interface DataTableFooterProps {
|
|
1717
1768
|
pagination: TablePaginationProps;
|
|
@@ -1719,7 +1770,7 @@ interface DataTableFooterProps {
|
|
|
1719
1770
|
selectedCount?: number;
|
|
1720
1771
|
className?: string;
|
|
1721
1772
|
}
|
|
1722
|
-
declare function DataTableFooter({ pagination, selectedCount, className }: DataTableFooterProps):
|
|
1773
|
+
declare function DataTableFooter({ pagination, selectedCount, className }: DataTableFooterProps): react.JSX.Element;
|
|
1723
1774
|
|
|
1724
1775
|
interface DataTableCardViewProps<T> {
|
|
1725
1776
|
rows: Row<T>[];
|
|
@@ -1731,7 +1782,7 @@ interface DataTableCardViewProps<T> {
|
|
|
1731
1782
|
skeletonRowCount?: number;
|
|
1732
1783
|
emptyState?: ReactNode;
|
|
1733
1784
|
}
|
|
1734
|
-
declare function DataTableCardView<T>({ rows, columns, size, variant, onRowClick, isLoading, skeletonRowCount, emptyState, }: DataTableCardViewProps<T>):
|
|
1785
|
+
declare function DataTableCardView<T>({ rows, columns, size, variant, onRowClick, isLoading, skeletonRowCount, emptyState, }: DataTableCardViewProps<T>): react.JSX.Element;
|
|
1735
1786
|
|
|
1736
1787
|
interface DataTableToolbarProps<T> {
|
|
1737
1788
|
/** TanStack Table instance. Optional when toolbar is rendered inside DataTable's toolbar prop (context available). */
|
|
@@ -1751,7 +1802,7 @@ interface DataTableToolbarProps<T> {
|
|
|
1751
1802
|
*/
|
|
1752
1803
|
columnFilters?: ColumnFiltersState;
|
|
1753
1804
|
}
|
|
1754
|
-
declare function DataTableToolbar<T>({ table: tableProp, leading, trailing, className, hideColumnsToggle, hideDensityToggle, columnFilters: columnFiltersProp, }: DataTableToolbarProps<T>):
|
|
1805
|
+
declare function DataTableToolbar<T>({ table: tableProp, leading, trailing, className, hideColumnsToggle, hideDensityToggle, columnFilters: columnFiltersProp, }: DataTableToolbarProps<T>): react.JSX.Element;
|
|
1755
1806
|
|
|
1756
1807
|
interface DataTableSearchProps {
|
|
1757
1808
|
placeholder?: string;
|
|
@@ -1759,7 +1810,7 @@ interface DataTableSearchProps {
|
|
|
1759
1810
|
/** Debounce delay in ms before committing to context. Default: 300 */
|
|
1760
1811
|
debounce?: number;
|
|
1761
1812
|
}
|
|
1762
|
-
declare function DataTableSearch({ placeholder, className, debounce, }: DataTableSearchProps):
|
|
1813
|
+
declare function DataTableSearch({ placeholder, className, debounce, }: DataTableSearchProps): react.JSX.Element;
|
|
1763
1814
|
|
|
1764
1815
|
interface UseTableGlobalFilterProps {
|
|
1765
1816
|
/**
|
|
@@ -1941,12 +1992,12 @@ interface CanProps {
|
|
|
1941
1992
|
}
|
|
1942
1993
|
type CanNotProps = Omit<CanProps, 'negate'>;
|
|
1943
1994
|
/** Renders children when the user has the required permission(s). Requires `AbilityProvider` in the tree. */
|
|
1944
|
-
declare function Can({ permission, mode, negate, fallback, children }: CanProps):
|
|
1995
|
+
declare function Can({ permission, mode, negate, fallback, children }: CanProps): react.JSX.Element;
|
|
1945
1996
|
declare namespace Can {
|
|
1946
1997
|
var displayName: string;
|
|
1947
1998
|
}
|
|
1948
1999
|
/** Renders children when the user does NOT have the required permission(s). Alias for `<Can negate />`. Requires `AbilityProvider` in the tree. */
|
|
1949
|
-
declare function CanNot({ permission, mode, fallback, children }: CanNotProps):
|
|
2000
|
+
declare function CanNot({ permission, mode, fallback, children }: CanNotProps): react.JSX.Element;
|
|
1950
2001
|
declare namespace CanNot {
|
|
1951
2002
|
var displayName: string;
|
|
1952
2003
|
}
|
|
@@ -1965,16 +2016,28 @@ interface AbilityProviderProps {
|
|
|
1965
2016
|
* @param permission - the permission being requested (from `Can.perform`)
|
|
1966
2017
|
*/
|
|
1967
2018
|
declare function matchPermission(pattern: string, permission: string): boolean;
|
|
1968
|
-
declare function AbilityProvider({ children, permissions }: AbilityProviderProps):
|
|
2019
|
+
declare function AbilityProvider({ children, permissions }: AbilityProviderProps): react.JSX.Element;
|
|
1969
2020
|
declare function useAbility(): AbilityContextValue;
|
|
1970
2021
|
declare function useCan(permissions: string | string[], mode?: 'any' | 'all'): boolean;
|
|
1971
2022
|
|
|
2023
|
+
declare function Sheet({ ...props }: react.ComponentProps<typeof Dialog$1.Root>): react.JSX.Element;
|
|
2024
|
+
declare function SheetTrigger({ ...props }: react.ComponentProps<typeof Dialog$1.Trigger>): react.JSX.Element;
|
|
2025
|
+
declare function SheetClose({ ...props }: react.ComponentProps<typeof Dialog$1.Close>): react.JSX.Element;
|
|
2026
|
+
declare function SheetContent({ className, children, side, showCloseButton, ...props }: react.ComponentProps<typeof Dialog$1.Content> & {
|
|
2027
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
2028
|
+
showCloseButton?: boolean;
|
|
2029
|
+
}): react.JSX.Element;
|
|
2030
|
+
declare function SheetHeader({ className, ...props }: react.ComponentProps<'div'>): react.JSX.Element;
|
|
2031
|
+
declare function SheetFooter({ className, ...props }: react.ComponentProps<'div'>): react.JSX.Element;
|
|
2032
|
+
declare function SheetTitle({ className, ...props }: react.ComponentProps<typeof Dialog$1.Title>): react.JSX.Element;
|
|
2033
|
+
declare function SheetDescription({ className, ...props }: react.ComponentProps<typeof Dialog$1.Description>): react.JSX.Element;
|
|
2034
|
+
|
|
1972
2035
|
interface TCCEProviderProps {
|
|
1973
2036
|
children: ReactNode;
|
|
1974
2037
|
permissions?: string[];
|
|
1975
2038
|
toasterPosition?: ToasterPosition;
|
|
1976
2039
|
tooltipDelayDuration?: number;
|
|
1977
2040
|
}
|
|
1978
|
-
declare function TCCEProvider({ children, permissions, toasterPosition, tooltipDelayDuration, }: TCCEProviderProps):
|
|
2041
|
+
declare function TCCEProvider({ children, permissions, toasterPosition, tooltipDelayDuration, }: TCCEProviderProps): react.JSX.Element;
|
|
1979
2042
|
|
|
1980
|
-
export { type AbilityContextValue, AbilityProvider, type AbilityProviderProps, Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationTokens, AppShell, type AppShellItem, type AppShellProps, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button$1 as Button, Calendar, CalendarDayButton, type CalendarEvent, type CalendarView, Can, CanNot, type CanNotProps, type CanProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type CellAlignment, Checkbox, ColorPicker, ColorPickerAlpha, type ColorPickerAlphaProps, ColorPickerEyeDropper, type ColorPickerEyeDropperProps, ColorPickerFormat, type ColorPickerFormatProps, ColorPickerHue, type ColorPickerHueProps, ColorPickerOutput, type ColorPickerOutputProps, ColorPickerPresets, type ColorPickerPresetsProps, type ColorPickerProps, ColorPickerSelection, type ColorPickerSelectionProps, type ColumnMeta, Combobox, type ComboboxOption, type ComboboxProps, DataTable, DataTableCardView, type DataTableCardViewProps, DataTableColumnFilter, type DataTableColumnFilterProps, DataTableFooter, type DataTableFooterProps, DataTableHeaderCell, type DataTableHeaderCellProps, type DataTableProps, DataTableRowActions, type DataTableRowActionsProps, DataTableSearch, type DataTableSearchProps, DataTableSkeleton, type DataTableSkeletonProps, DataTableToolbar, type DataTableToolbarProps, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneContent, type DropzoneContentProps, DropzoneEmptyState, type DropzoneEmptyStateProps, type DropzoneProps, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, EventCalendar, type EventCalendarProps, type EventCreateRange, Field, FieldDescription, FieldError, FieldGroup, FieldLabel, FilterOption, type FilterOptionProps, Input, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Link, Logo, type LogoKey, MiniCalendar, MiniCalendarDay, type MiniCalendarDayProps, MiniCalendarDays, type MiniCalendarDaysProps, MiniCalendarNavigation, type MiniCalendarNavigationProps, type MiniCalendarProps, Navbar, type NavbarDropdownItem, type NavbarNavLink, type NavbarNotification, type NavbarProps, type NavbarUtilityLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PinInput, type PinInputProps, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, type ProgressProps, RadioGroup, RadioGroupItem, type RowAction, SegmentedControl, SegmentedControlItem, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger$1 as SelectTrigger, SelectValue, Separator, SidebarProvider, SidebarTrigger, Skeleton, Slider, type SortDirection, type SortRecord, Spinner, SpinnerDots, type SpinnerDotsProps, SpinnerLoader, type SpinnerLoaderProps, type SpinnerProps, Status, StatusIndicator, type StatusIndicatorProps, StatusLabel, type StatusLabelProps, type StatusProps, Switch, TCCEProvider, type TCCEProviderProps, TEXT_SIZES, TEXT_WEIGHTS, Table, TableBody, TableCaption, TableCell, type TableCellSize, type TableClassNames, type TableColumnDef, type TableContextType, TableFooter, TableHead, TableHeader, TablePagination, type TablePaginationProps, TableRow, type TableVariant, Tabs, TabsContent, TabsList, TabsTrigger, Text, type TextAs, type TextProps, type TextSize, type TextWeight, Textarea, type ToastAction, type ToastItem, type ToastType, Toaster, type ToasterPosition, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseTableDataProps, type UseTableDataReturn, type UseTableFilteringProps, type UseTableFilteringReturn, type UseTableGlobalFilterProps, type UseTableGlobalFilterReturn, type UseTableSizingProps, type UseTableSizingReturn, type UseTableSortingProps, type UseTableSortingReturn, type UseTableVisibilityProps, type UseTableVisibilityReturn, alertVariants, animation, avatarVariants, badgeVariants, buttonVariants$1 as buttonVariants, columnFiltersToArrayQueryParams, columnFiltersToJsonString, columnFiltersToQueryParams, columnFiltersToRecord, createBackendParams, createBackendParamsWithFilters, duration, ease, fadeIn, getActiveFilterCount, getActiveFilterValues, getColumnValueCounts, getUniqueColumnValues, hasActiveFilters, linkVariants, logos, matchPermission, mergeFilters, multiSelectFilter, navigationMenuTriggerStyle, parseJsonToFilters, parseQueryParamsToFilters, progressIndicatorVariants, progressVariants, scaleIn, searchInArray, skeletonVariants, slideRight, slideUp, sortRecordToSortingState, sortingStateToJsonString, sortingStateToRecord, spinnerDotsVariants, spinnerLoaderVariants, spinnerVariants, spring, stagger, toggleVariants, tooltipContentVariants, transition, useAbility, useAppForm, useCan, useCarousel, useColorPicker, useColumnFilter, useTableContext, useTableData, useTableFiltering, useTableGlobalFilter, useTableSizing, useTableSorting, useTableVisibility, useToast };
|
|
2043
|
+
export { type AbilityContextValue, AbilityProvider, type AbilityProviderProps, Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationTokens, AppShell, type AppShellItem, type AppShellProps, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button$1 as Button, Calendar, CalendarDayButton, type CalendarEvent, type CalendarView, Can, CanNot, type CanNotProps, type CanProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type CellAlignment, Checkbox, ColorPicker, ColorPickerAlpha, type ColorPickerAlphaProps, ColorPickerEyeDropper, type ColorPickerEyeDropperProps, ColorPickerFormat, type ColorPickerFormatProps, ColorPickerHue, type ColorPickerHueProps, ColorPickerOutput, type ColorPickerOutputProps, ColorPickerPresets, type ColorPickerPresetsProps, type ColorPickerProps, ColorPickerSelection, type ColorPickerSelectionProps, type ColumnMeta, Combobox, type ComboboxOption, type ComboboxProps, DataTable, DataTableCardView, type DataTableCardViewProps, DataTableColumnFilter, type DataTableColumnFilterProps, DataTableFooter, type DataTableFooterProps, DataTableHeaderCell, type DataTableHeaderCellProps, type DataTableProps, DataTableRowActions, type DataTableRowActionsProps, DataTableSearch, type DataTableSearchProps, DataTableSkeleton, type DataTableSkeletonProps, DataTableToolbar, type DataTableToolbarProps, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneContent, type DropzoneContentProps, DropzoneEmptyState, type DropzoneEmptyStateProps, type DropzoneProps, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, EventCalendar, type EventCalendarProps, type EventCreateRange, Field, FieldDescription, FieldError, FieldGroup, FieldLabel, FilterOption, type FilterOptionProps, Input, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Link, Logo, type LogoKey, MiniCalendar, MiniCalendarDay, type MiniCalendarDayProps, MiniCalendarDays, type MiniCalendarDaysProps, MiniCalendarNavigation, type MiniCalendarNavigationProps, type MiniCalendarProps, Navbar, type NavbarDropdownItem, type NavbarNavLink, type NavbarNotification, type NavbarProps, type NavbarUtilityLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PinInput, type PinInputProps, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, type ProgressProps, RadioGroup, RadioGroupItem, type RowAction, SegmentedControl, SegmentedControlItem, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger$1 as 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, type SortDirection, type SortRecord, Spinner, SpinnerDots, type SpinnerDotsProps, SpinnerLoader, type SpinnerLoaderProps, type SpinnerProps, Status, StatusIndicator, type StatusIndicatorProps, StatusLabel, type StatusLabelProps, type StatusProps, Switch, TCCEProvider, type TCCEProviderProps, TEXT_SIZES, TEXT_WEIGHTS, Table, TableBody, TableCaption, TableCell, type TableCellSize, type TableClassNames, type TableColumnDef, type TableContextType, TableFooter, TableHead, TableHeader, TablePagination, type TablePaginationProps, TableRow, type TableVariant, Tabs, TabsContent, TabsList, TabsTrigger, Text, type TextAs, type TextProps, type TextSize, type TextWeight, Textarea, type ToastAction, type ToastItem, type ToastType, Toaster, type ToasterPosition, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseTableDataProps, type UseTableDataReturn, type UseTableFilteringProps, type UseTableFilteringReturn, type UseTableGlobalFilterProps, type UseTableGlobalFilterReturn, type UseTableSizingProps, type UseTableSizingReturn, type UseTableSortingProps, type UseTableSortingReturn, type UseTableVisibilityProps, type UseTableVisibilityReturn, alertVariants, animation, avatarVariants, badgeVariants, buttonVariants$1 as buttonVariants, columnFiltersToArrayQueryParams, columnFiltersToJsonString, columnFiltersToQueryParams, columnFiltersToRecord, createBackendParams, createBackendParamsWithFilters, duration, ease, fadeIn, getActiveFilterCount, getActiveFilterValues, getColumnValueCounts, getUniqueColumnValues, hasActiveFilters, linkVariants, logos, matchPermission, mergeFilters, multiSelectFilter, navigationMenuTriggerStyle, parseJsonToFilters, parseQueryParamsToFilters, progressIndicatorVariants, progressVariants, scaleIn, searchInArray, skeletonVariants, slideRight, slideUp, sortRecordToSortingState, sortingStateToJsonString, sortingStateToRecord, spinnerDotsVariants, spinnerLoaderVariants, spinnerVariants, spring, stagger, toggleVariants, tooltipContentVariants, transition, useAbility, useAppForm, useCan, useCarousel, useColorPicker, useColumnFilter, useSidebar, useTableContext, useTableData, useTableFiltering, useTableGlobalFilter, useTableSizing, useTableSorting, useTableVisibility, useToast };
|