@mesob/ui 0.2.5 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.d.ts +1330 -250
- package/dist/components.js +11991 -4460
- package/dist/components.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +431 -31
- package/dist/index.js.map +1 -1
- package/dist/lib/color-utils.d.ts +17 -0
- package/dist/lib/color-utils.js +205 -0
- package/dist/lib/color-utils.js.map +1 -0
- package/dist/lib/locale.d.ts +4 -3
- package/dist/lib/locale.js +1 -2
- package/dist/lib/locale.js.map +1 -1
- package/dist/lib/theme-config.d.ts +22 -0
- package/dist/lib/theme-config.js +420 -0
- package/dist/lib/theme-config.js.map +1 -0
- package/dist/lib/theme-schema.d.ts +12 -4
- package/dist/lib/theme-schema.js +8 -29
- package/dist/lib/theme-schema.js.map +1 -1
- package/dist/lib/themes.d.ts +23 -0
- package/dist/lib/themes.js +315 -0
- package/dist/lib/themes.js.map +1 -0
- package/dist/providers.d.ts +12 -2
- package/dist/providers.js +74 -7
- package/dist/providers.js.map +1 -1
- package/package.json +4 -30
package/dist/components.d.ts
CHANGED
|
@@ -1,51 +1,54 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import { ReactNode, ComponentType } from 'react';
|
|
3
|
+
import { ReactNode, ComponentType, ReactElement } from 'react';
|
|
4
4
|
export { u as useEntityPagination, a as useEntityParams } from './use-entity-params-nqD69tdX.js';
|
|
5
5
|
import * as react_hook_form from 'react-hook-form';
|
|
6
6
|
import { Control, UseFormRegister, ControllerRenderProps, FieldError as FieldError$1, FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
7
7
|
import { Locale } from './lib/locale.js';
|
|
8
8
|
import { Editor } from '@tiptap/react';
|
|
9
|
-
import
|
|
9
|
+
import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
|
|
10
10
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
11
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
11
12
|
import { VariantProps } from 'class-variance-authority';
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
13
|
+
import { ComponentColor, ComponentSize, ComponentRadius, InputWrapperOrder } from './lib/theme-schema.js';
|
|
14
|
+
import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
|
|
15
|
+
import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
|
|
16
|
+
import { Button as Button$1 } from '@base-ui/react/button';
|
|
17
|
+
import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
16
18
|
import { DayPicker, DayButton } from 'react-day-picker';
|
|
19
|
+
export { DateRange } from 'react-day-picker';
|
|
17
20
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
18
21
|
import * as RechartsPrimitive from 'recharts';
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
import
|
|
22
|
+
import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
|
|
23
|
+
import { Collapsible as Collapsible$1 } from '@base-ui/react/collapsible';
|
|
24
|
+
import { ColorFormat } from './lib/color-utils.js';
|
|
25
|
+
import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
|
|
26
|
+
import { Autocomplete } from '@base-ui/react/autocomplete';
|
|
27
|
+
import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
28
|
+
import { ContextMenu as ContextMenu$1 } from '@base-ui/react/context-menu';
|
|
24
29
|
import { ColumnDef, SortingState, ColumnFiltersState, VisibilityState, Column, Table as Table$1 } from '@tanstack/react-table';
|
|
25
|
-
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import { Slot } from '@radix-ui/react-slot';
|
|
29
|
-
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
30
|
+
export { DirectionProvider, useDirection } from '@base-ui/react/direction-provider';
|
|
31
|
+
import { Menu } from '@base-ui/react/menu';
|
|
32
|
+
import { PreviewCard } from '@base-ui/react/preview-card';
|
|
30
33
|
import { OTPInput } from 'input-otp';
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
34
|
+
import { Menubar as Menubar$1 } from '@base-ui/react/menubar';
|
|
35
|
+
import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-menu';
|
|
36
|
+
import { Popover as Popover$1 } from '@base-ui/react/popover';
|
|
37
|
+
import { Progress as Progress$1 } from '@base-ui/react/progress';
|
|
38
|
+
import { Radio } from '@base-ui/react/radio';
|
|
39
|
+
import { RadioGroup as RadioGroup$1 } from '@base-ui/react/radio-group';
|
|
36
40
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
+
import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
|
|
42
|
+
import { Select as Select$1 } from '@base-ui/react/select';
|
|
43
|
+
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
44
|
+
import { Slider as Slider$1 } from '@base-ui/react/slider';
|
|
41
45
|
import { ToasterProps } from 'sonner';
|
|
42
46
|
export { toast } from 'sonner';
|
|
43
47
|
import { IconLoader2 } from '@tabler/icons-react';
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import * as VisuallyHiddenPrimitive from '@radix-ui/react-visually-hidden';
|
|
48
|
+
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
49
|
+
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
50
|
+
import { Toggle as Toggle$1 } from '@base-ui/react/toggle';
|
|
51
|
+
import { ToggleGroup as ToggleGroup$1 } from '@base-ui/react/toggle-group';
|
|
49
52
|
import 'nuqs';
|
|
50
53
|
import 'zod';
|
|
51
54
|
|
|
@@ -135,6 +138,120 @@ type AppSidebarProps = {
|
|
|
135
138
|
};
|
|
136
139
|
declare function AppSidebar({ logo, navItems, footer, pathname, roles, }: AppSidebarProps): react_jsx_runtime.JSX.Element;
|
|
137
140
|
|
|
141
|
+
type LoaderType = 'oval' | 'bars' | 'dots';
|
|
142
|
+
type LoaderProps = {
|
|
143
|
+
type?: LoaderType;
|
|
144
|
+
size?: number | string;
|
|
145
|
+
color?: string;
|
|
146
|
+
className?: string;
|
|
147
|
+
children?: React$1.ReactNode;
|
|
148
|
+
};
|
|
149
|
+
declare const Loader: React$1.ForwardRefExoticComponent<LoaderProps & React$1.RefAttributes<HTMLOutputElement>>;
|
|
150
|
+
|
|
151
|
+
type LoadingOverlayProps = {
|
|
152
|
+
visible: boolean;
|
|
153
|
+
zIndex?: number;
|
|
154
|
+
blur?: number;
|
|
155
|
+
opacity?: number;
|
|
156
|
+
loaderSize?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number;
|
|
157
|
+
loaderType?: LoaderType;
|
|
158
|
+
loaderColor?: string;
|
|
159
|
+
loaderProps?: React$1.ComponentProps<typeof Loader>;
|
|
160
|
+
className?: string;
|
|
161
|
+
};
|
|
162
|
+
declare function LoadingOverlay({ visible, zIndex, blur, opacity, loaderSize, loaderType, loaderColor, loaderProps, className, }: LoadingOverlayProps): react_jsx_runtime.JSX.Element | null;
|
|
163
|
+
|
|
164
|
+
type EmptyCardLoadingProps = {
|
|
165
|
+
className?: string;
|
|
166
|
+
zIndex?: number;
|
|
167
|
+
minHeight?: boolean;
|
|
168
|
+
loaderSize?: LoadingOverlayProps['loaderSize'];
|
|
169
|
+
loaderType?: LoadingOverlayProps['loaderType'];
|
|
170
|
+
};
|
|
171
|
+
declare function EmptyCardLoading({ className, zIndex, minHeight, loaderSize, loaderType, }: EmptyCardLoadingProps): react_jsx_runtime.JSX.Element;
|
|
172
|
+
|
|
173
|
+
type EntityPageLoadingProps = {
|
|
174
|
+
className?: string;
|
|
175
|
+
loaderSize?: LoadingOverlayProps['loaderSize'];
|
|
176
|
+
loaderType?: LoadingOverlayProps['loaderType'];
|
|
177
|
+
};
|
|
178
|
+
declare function EntityPageLoading({ className, loaderSize, loaderType, }: EntityPageLoadingProps): react_jsx_runtime.JSX.Element;
|
|
179
|
+
|
|
180
|
+
type ErrorPageViewProps = {
|
|
181
|
+
code: string;
|
|
182
|
+
title: string;
|
|
183
|
+
description: string;
|
|
184
|
+
primaryAction: ReactNode;
|
|
185
|
+
secondaryAction?: ReactNode;
|
|
186
|
+
onRetry?: () => void;
|
|
187
|
+
};
|
|
188
|
+
declare function ErrorPageView({ code, title, description, primaryAction, secondaryAction, onRetry, }: ErrorPageViewProps): react_jsx_runtime.JSX.Element;
|
|
189
|
+
|
|
190
|
+
type NoDataAvailableProps = {
|
|
191
|
+
title: string;
|
|
192
|
+
message: string;
|
|
193
|
+
iconType?: 'certificate' | 'alert' | 'cart' | 'message';
|
|
194
|
+
buttonText?: string;
|
|
195
|
+
buttonLink?: string;
|
|
196
|
+
icon?: React$1.ReactNode;
|
|
197
|
+
};
|
|
198
|
+
declare function NoDataAvailable({ title, message, iconType, buttonText, buttonLink, icon, }: NoDataAvailableProps): react_jsx_runtime.JSX.Element;
|
|
199
|
+
|
|
200
|
+
type DisplayTableVariant = 'horizontal' | 'vertical';
|
|
201
|
+
type DisplayTableData = {
|
|
202
|
+
caption?: React$1.ReactNode;
|
|
203
|
+
head?: React$1.ReactNode[];
|
|
204
|
+
body: React$1.ReactNode[][];
|
|
205
|
+
foot?: React$1.ReactNode[];
|
|
206
|
+
};
|
|
207
|
+
type ScrollContainerProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
208
|
+
minWidth?: number;
|
|
209
|
+
maxHeight?: number;
|
|
210
|
+
type?: 'native' | 'scroll-area';
|
|
211
|
+
};
|
|
212
|
+
declare function DisplayTableScrollContainer({ className, minWidth, maxHeight, type, children, style, ...props }: ScrollContainerProps): react_jsx_runtime.JSX.Element;
|
|
213
|
+
declare namespace DisplayTableScrollContainer {
|
|
214
|
+
var displayName: string;
|
|
215
|
+
}
|
|
216
|
+
declare const DisplayTableThead: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
217
|
+
declare const DisplayTableTbody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
218
|
+
declare const DisplayTableTfoot: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
219
|
+
declare const DisplayTableTr: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & {
|
|
220
|
+
variant?: DisplayTableVariant;
|
|
221
|
+
} & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
222
|
+
declare const DisplayTableTh: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCellElement> & {
|
|
223
|
+
w?: number | string;
|
|
224
|
+
} & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
225
|
+
declare const DisplayTableTd: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
226
|
+
declare const DisplayTableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
227
|
+
declare const DisplayTable: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & {
|
|
228
|
+
variant?: DisplayTableVariant;
|
|
229
|
+
striped?: boolean;
|
|
230
|
+
stripedInverted?: boolean;
|
|
231
|
+
highlightOnHover?: boolean;
|
|
232
|
+
withTableBorder?: boolean;
|
|
233
|
+
withColumnBorders?: boolean;
|
|
234
|
+
withRowBorders?: boolean;
|
|
235
|
+
stickyHeader?: boolean;
|
|
236
|
+
stickyHeaderOffset?: number;
|
|
237
|
+
captionSide?: "top" | "bottom";
|
|
238
|
+
tabularNums?: boolean;
|
|
239
|
+
data?: DisplayTableData;
|
|
240
|
+
} & React$1.RefAttributes<HTMLTableElement>> & {
|
|
241
|
+
Thead: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
242
|
+
Tbody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
243
|
+
Tfoot: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
244
|
+
Tr: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & {
|
|
245
|
+
variant?: DisplayTableVariant;
|
|
246
|
+
} & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
247
|
+
Th: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCellElement> & {
|
|
248
|
+
w?: number | string;
|
|
249
|
+
} & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
250
|
+
Td: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
251
|
+
Caption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
252
|
+
ScrollContainer: typeof DisplayTableScrollContainer;
|
|
253
|
+
};
|
|
254
|
+
|
|
138
255
|
type BulkAction = {
|
|
139
256
|
label: string;
|
|
140
257
|
icon?: ReactNode;
|
|
@@ -176,7 +293,7 @@ type EntityDetailHeaderProps = {
|
|
|
176
293
|
className?: string;
|
|
177
294
|
linkComponent?: ComponentType<LinkComponentProps$1>;
|
|
178
295
|
};
|
|
179
|
-
declare function EntityDetailHeader({ title, icon, backButton, actions, tabs, activeTab: controlledActiveTab, defaultTab, onTabChange, className, linkComponent:
|
|
296
|
+
declare function EntityDetailHeader({ title, icon, backButton, actions, tabs, activeTab: controlledActiveTab, defaultTab, onTabChange, className, linkComponent: linkProp, }: EntityDetailHeaderProps): react_jsx_runtime.JSX.Element;
|
|
180
297
|
|
|
181
298
|
type EntityDrawerProps = {
|
|
182
299
|
title: ReactNode;
|
|
@@ -458,6 +575,155 @@ type RichTextInputProps = {
|
|
|
458
575
|
};
|
|
459
576
|
declare function RichTextInput({ field, label, error, className, withAsterisk, enabledControllers, mode, withOnUpdate, placeholder, }: RichTextInputProps): react_jsx_runtime.JSX.Element;
|
|
460
577
|
|
|
578
|
+
type SelectorModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
579
|
+
type SelectorModalProps = {
|
|
580
|
+
open: boolean;
|
|
581
|
+
onOpenChange: (open: boolean) => void;
|
|
582
|
+
title?: ReactNode;
|
|
583
|
+
size?: SelectorModalSize;
|
|
584
|
+
contentClassName?: string;
|
|
585
|
+
footer?: ReactNode;
|
|
586
|
+
children: ReactNode;
|
|
587
|
+
};
|
|
588
|
+
declare function SelectorModal({ open, onOpenChange, title, size, contentClassName, footer, children, }: SelectorModalProps): react_jsx_runtime.JSX.Element;
|
|
589
|
+
|
|
590
|
+
type SelectorParams = {
|
|
591
|
+
search: string;
|
|
592
|
+
filter: string;
|
|
593
|
+
sort: string;
|
|
594
|
+
order: 'asc' | 'desc';
|
|
595
|
+
view: 'table' | 'card' | 'list';
|
|
596
|
+
page: number;
|
|
597
|
+
pageSize: number;
|
|
598
|
+
};
|
|
599
|
+
type SelectorParamsConfig = {
|
|
600
|
+
defaultSort?: string;
|
|
601
|
+
defaultOrder?: 'asc' | 'desc';
|
|
602
|
+
defaultPageSize?: number;
|
|
603
|
+
searchParamName?: string;
|
|
604
|
+
};
|
|
605
|
+
declare function useSelectorParams(config?: SelectorParamsConfig): {
|
|
606
|
+
params: SelectorParams;
|
|
607
|
+
setParams: (update: Partial<SelectorParams>) => void;
|
|
608
|
+
queryConfig: {
|
|
609
|
+
params: {
|
|
610
|
+
query: {
|
|
611
|
+
sort?: string | undefined;
|
|
612
|
+
order?: "desc" | "asc" | undefined;
|
|
613
|
+
filter?: string | undefined;
|
|
614
|
+
page: number;
|
|
615
|
+
limit: number;
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
type UseSelectorParamsReturn = ReturnType<typeof useSelectorParams>;
|
|
621
|
+
|
|
622
|
+
type BaseItem = {
|
|
623
|
+
id: string;
|
|
624
|
+
};
|
|
625
|
+
type SelectorColumn<T> = {
|
|
626
|
+
key: string;
|
|
627
|
+
header: ReactNode;
|
|
628
|
+
cell: (item: T) => ReactNode;
|
|
629
|
+
className?: string;
|
|
630
|
+
};
|
|
631
|
+
type SelectorConfig<T extends BaseItem> = {
|
|
632
|
+
title: string;
|
|
633
|
+
modalSize?: SelectorModalSize;
|
|
634
|
+
contentClassName?: string;
|
|
635
|
+
multiple?: boolean;
|
|
636
|
+
minSelect?: number;
|
|
637
|
+
maxSelect?: number;
|
|
638
|
+
entityName: string;
|
|
639
|
+
entityIcon: React.ComponentType<{
|
|
640
|
+
className?: string;
|
|
641
|
+
}>;
|
|
642
|
+
emptyTitle?: string;
|
|
643
|
+
emptyDescription?: string;
|
|
644
|
+
columns: SelectorColumn<T>[];
|
|
645
|
+
columnCount?: number;
|
|
646
|
+
getItemLabel: (item: T) => string;
|
|
647
|
+
searchPlaceholder?: string;
|
|
648
|
+
filterOptions?: {
|
|
649
|
+
label: string;
|
|
650
|
+
value: string;
|
|
651
|
+
}[];
|
|
652
|
+
sortOptions?: {
|
|
653
|
+
label: string;
|
|
654
|
+
value: string;
|
|
655
|
+
}[];
|
|
656
|
+
showViewToggle?: boolean;
|
|
657
|
+
renderCard?: (item: T, selected: boolean, onToggle: () => void) => ReactNode;
|
|
658
|
+
};
|
|
659
|
+
type SelectorProps<T extends BaseItem> = {
|
|
660
|
+
trigger: ReactNode;
|
|
661
|
+
config: SelectorConfig<T>;
|
|
662
|
+
onSelect: (items: T[]) => void;
|
|
663
|
+
items: T[];
|
|
664
|
+
total?: number;
|
|
665
|
+
isLoading?: boolean;
|
|
666
|
+
params: UseSelectorParamsReturn['params'];
|
|
667
|
+
setParams: UseSelectorParamsReturn['setParams'];
|
|
668
|
+
};
|
|
669
|
+
declare function Selector<T extends BaseItem>({ trigger, config, onSelect, items, total: totalProp, isLoading, params, setParams, }: SelectorProps<T>): react_jsx_runtime.JSX.Element;
|
|
670
|
+
|
|
671
|
+
type SelectorFilterOption = {
|
|
672
|
+
label: string;
|
|
673
|
+
value: string;
|
|
674
|
+
};
|
|
675
|
+
type SelectorFilterProps = {
|
|
676
|
+
value: string;
|
|
677
|
+
onChange: (value: string) => void;
|
|
678
|
+
options: SelectorFilterOption[];
|
|
679
|
+
placeholder?: string;
|
|
680
|
+
className?: string;
|
|
681
|
+
};
|
|
682
|
+
declare function SelectorFilter({ value, onChange, options, placeholder, className, }: SelectorFilterProps): react_jsx_runtime.JSX.Element;
|
|
683
|
+
|
|
684
|
+
type SelectorHeaderProps = {
|
|
685
|
+
title?: ReactNode;
|
|
686
|
+
icon?: ReactNode;
|
|
687
|
+
search?: ReactNode;
|
|
688
|
+
filter?: ReactNode;
|
|
689
|
+
sort?: ReactNode;
|
|
690
|
+
view?: ReactNode;
|
|
691
|
+
};
|
|
692
|
+
declare function SelectorHeader({ title, icon, search, filter, sort, view, }: SelectorHeaderProps): react_jsx_runtime.JSX.Element;
|
|
693
|
+
|
|
694
|
+
type SelectorSearchProps = {
|
|
695
|
+
value: string;
|
|
696
|
+
onChange: (value: string) => void;
|
|
697
|
+
onSearchChange?: (value: string) => void;
|
|
698
|
+
placeholder?: string;
|
|
699
|
+
className?: string;
|
|
700
|
+
debounceMs?: number;
|
|
701
|
+
};
|
|
702
|
+
declare function SelectorSearch({ value, onChange, onSearchChange, placeholder, className, debounceMs, }: SelectorSearchProps): react_jsx_runtime.JSX.Element;
|
|
703
|
+
|
|
704
|
+
type SelectorSortOption = {
|
|
705
|
+
label: string;
|
|
706
|
+
value: string;
|
|
707
|
+
};
|
|
708
|
+
type SelectorSortProps = {
|
|
709
|
+
sort: string;
|
|
710
|
+
order: 'asc' | 'desc';
|
|
711
|
+
onSortChange: (sort: string) => void;
|
|
712
|
+
onOrderChange: (order: 'asc' | 'desc') => void;
|
|
713
|
+
options: SelectorSortOption[];
|
|
714
|
+
className?: string;
|
|
715
|
+
};
|
|
716
|
+
declare function SelectorSort({ sort, order, onSortChange, onOrderChange, options, className, }: SelectorSortProps): react_jsx_runtime.JSX.Element;
|
|
717
|
+
|
|
718
|
+
type SelectorViewOption = 'table' | 'card' | 'list';
|
|
719
|
+
type SelectorViewToggleProps = {
|
|
720
|
+
value: SelectorViewOption;
|
|
721
|
+
onChange: (value: SelectorViewOption) => void;
|
|
722
|
+
views?: SelectorViewOption[];
|
|
723
|
+
className?: string;
|
|
724
|
+
};
|
|
725
|
+
declare function SelectorViewToggle({ value, onChange, views, className, }: SelectorViewToggleProps): react_jsx_runtime.JSX.Element;
|
|
726
|
+
|
|
461
727
|
type SpotlightItem = {
|
|
462
728
|
id: string;
|
|
463
729
|
title: string;
|
|
@@ -484,29 +750,100 @@ type ThemeToggleProps = {
|
|
|
484
750
|
};
|
|
485
751
|
declare function ThemeToggle({ className }: ThemeToggleProps): react_jsx_runtime.JSX.Element;
|
|
486
752
|
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
753
|
+
type AccordionProps = React$1.ComponentProps<typeof Accordion$1.Root> & {
|
|
754
|
+
variant?: 'default' | 'separated' | 'contained' | 'filled';
|
|
755
|
+
radius?: unknown;
|
|
756
|
+
chevronPosition?: 'left' | 'right';
|
|
757
|
+
chevronSize?: number | string;
|
|
758
|
+
chevronIconSize?: number | string;
|
|
759
|
+
chevron?: React$1.ReactNode | null;
|
|
760
|
+
disableChevronRotation?: boolean;
|
|
761
|
+
transitionDuration?: number;
|
|
762
|
+
order?: 2 | 3 | 4 | 5 | 6;
|
|
763
|
+
unstyled?: boolean;
|
|
764
|
+
};
|
|
765
|
+
declare function Accordion({ className, variant, chevronPosition, transitionDuration, unstyled, radius: _radius, chevronSize: _chevronSize, chevronIconSize: _chevronIconSize, chevron: _chevron, disableChevronRotation: _disableChevronRotation, order: _order, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
766
|
+
declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof Accordion$1.Item>): react_jsx_runtime.JSX.Element;
|
|
767
|
+
declare function AccordionTrigger({ className, children, chevron, chevronPosition, icon, ...props }: React$1.ComponentProps<typeof Accordion$1.Trigger> & {
|
|
768
|
+
chevron?: React$1.ReactNode | null;
|
|
769
|
+
chevronPosition?: 'left' | 'right';
|
|
770
|
+
icon?: React$1.ReactNode;
|
|
771
|
+
}): react_jsx_runtime.JSX.Element;
|
|
772
|
+
declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof Accordion$1.Panel>): react_jsx_runtime.JSX.Element;
|
|
491
773
|
|
|
492
|
-
declare const
|
|
493
|
-
variant?: "
|
|
774
|
+
declare const actionIconVariants: (props?: ({
|
|
775
|
+
variant?: "secondary" | "destructive" | "default" | "outline" | "ghost" | "light" | null | undefined;
|
|
776
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
777
|
+
radius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
494
778
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
495
|
-
|
|
779
|
+
type ActionIconProps = React$1.ComponentProps<'button'> & VariantProps<typeof actionIconVariants> & {
|
|
780
|
+
render?: useRender.RenderProp;
|
|
781
|
+
loading?: boolean;
|
|
782
|
+
color?: ComponentColor;
|
|
783
|
+
};
|
|
784
|
+
declare function ActionIcon({ className, variant, size, radius, color, render, loading, disabled, children, ...props }: ActionIconProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
785
|
+
|
|
786
|
+
type Position = {
|
|
787
|
+
top?: number;
|
|
788
|
+
bottom?: number;
|
|
789
|
+
left?: number;
|
|
790
|
+
right?: number;
|
|
791
|
+
};
|
|
792
|
+
type AffixProps = React$1.ComponentProps<'div'> & {
|
|
793
|
+
position: Position;
|
|
794
|
+
zIndex?: number;
|
|
795
|
+
withinPortal?: boolean;
|
|
796
|
+
};
|
|
797
|
+
declare function Affix({ className, position, zIndex, withinPortal, children, style, ...props }: AffixProps): react_jsx_runtime.JSX.Element;
|
|
798
|
+
|
|
799
|
+
type AlertProps = React$1.ComponentProps<'div'> & {
|
|
800
|
+
variant?: 'default' | 'destructive' | 'filled' | 'light' | 'outline';
|
|
801
|
+
radius?: unknown;
|
|
802
|
+
color?: unknown;
|
|
803
|
+
};
|
|
804
|
+
declare function Alert({ className, variant, radius: _radius, color: _color, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
496
805
|
declare function AlertTitle({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
497
806
|
declare function AlertDescription({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
declare function
|
|
501
|
-
declare function
|
|
502
|
-
declare function
|
|
503
|
-
declare function
|
|
807
|
+
declare function AlertAction({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
808
|
+
|
|
809
|
+
declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
810
|
+
declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
811
|
+
declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
812
|
+
declare function AlertDialogOverlay({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Backdrop>): react_jsx_runtime.JSX.Element;
|
|
813
|
+
declare function AlertDialogContent({ className, size, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Popup> & {
|
|
814
|
+
size?: 'default' | 'sm';
|
|
815
|
+
}): react_jsx_runtime.JSX.Element;
|
|
504
816
|
declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
505
817
|
declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
506
|
-
declare function
|
|
507
|
-
declare function
|
|
508
|
-
declare function
|
|
509
|
-
declare function
|
|
818
|
+
declare function AlertDialogMedia({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
819
|
+
declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
820
|
+
declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
821
|
+
declare function AlertDialogAction({ className, variant, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Close> & {
|
|
822
|
+
variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link' | 'light';
|
|
823
|
+
}): react_jsx_runtime.JSX.Element;
|
|
824
|
+
declare function AlertDialogCancel({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Close>): react_jsx_runtime.JSX.Element;
|
|
825
|
+
|
|
826
|
+
declare const anchorVariants: (props?: ({
|
|
827
|
+
variant?: "default" | "muted" | "gradient" | "subtle" | null | undefined;
|
|
828
|
+
underline?: "always" | "never" | "hover" | null | undefined;
|
|
829
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
830
|
+
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
831
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
832
|
+
type AnchorProps = React$1.ComponentProps<'a'> & VariantProps<typeof anchorVariants>;
|
|
833
|
+
declare function Anchor({ className, variant, underline, size, weight, children, href, ...props }: AnchorProps): react_jsx_runtime.JSX.Element;
|
|
834
|
+
|
|
835
|
+
type AngleSliderProps = React$1.ComponentProps<'div'> & {
|
|
836
|
+
value?: number;
|
|
837
|
+
defaultValue?: number;
|
|
838
|
+
onChange?: (value: number) => void;
|
|
839
|
+
onChangeEnd?: (value: number) => void;
|
|
840
|
+
size?: number;
|
|
841
|
+
step?: number;
|
|
842
|
+
withLabel?: boolean;
|
|
843
|
+
formatLabel?: (value: number) => React$1.ReactNode;
|
|
844
|
+
disabled?: boolean;
|
|
845
|
+
};
|
|
846
|
+
declare function AngleSlider({ className, value: valueProp, defaultValue, onChange, onChangeEnd, size, step, withLabel, formatLabel, disabled, ...props }: AngleSliderProps): react_jsx_runtime.JSX.Element;
|
|
510
847
|
|
|
511
848
|
type AnimatedTabItem = {
|
|
512
849
|
name: string;
|
|
@@ -528,51 +865,94 @@ type AnimatedTabsProps = {
|
|
|
528
865
|
className?: string;
|
|
529
866
|
linkComponent?: ComponentType<LinkComponentProps>;
|
|
530
867
|
};
|
|
531
|
-
declare function AnimatedTabs({ tabs, activeTab: controlledActiveTab, defaultTab, onTabChange, className, linkComponent:
|
|
868
|
+
declare function AnimatedTabs({ tabs, activeTab: controlledActiveTab, defaultTab, onTabChange, className, linkComponent: linkProp, }: AnimatedTabsProps): react_jsx_runtime.JSX.Element;
|
|
532
869
|
|
|
533
|
-
|
|
870
|
+
type AspectRatioProps = React$1.ComponentProps<'div'> & {
|
|
871
|
+
ratio?: number;
|
|
872
|
+
};
|
|
873
|
+
declare function AspectRatio({ className, ratio, style, children, ...props }: AspectRatioProps): react_jsx_runtime.JSX.Element;
|
|
534
874
|
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
875
|
+
type AvatarProps = React$1.ComponentProps<typeof Avatar$1.Root> & {
|
|
876
|
+
size?: ComponentSize;
|
|
877
|
+
radius?: ComponentRadius;
|
|
878
|
+
};
|
|
879
|
+
declare function Avatar({ className, size, radius: _radius, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
880
|
+
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime.JSX.Element;
|
|
881
|
+
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime.JSX.Element;
|
|
882
|
+
|
|
883
|
+
type BackgroundImageProps = React$1.ComponentProps<'div'> & {
|
|
884
|
+
src: string;
|
|
885
|
+
radius?: ComponentRadius;
|
|
886
|
+
};
|
|
887
|
+
declare function BackgroundImage({ className, src, radius, style, ...props }: BackgroundImageProps): react_jsx_runtime.JSX.Element;
|
|
538
888
|
|
|
539
889
|
declare const badgeVariants: (props?: ({
|
|
540
|
-
variant?: "
|
|
890
|
+
variant?: "link" | "secondary" | "destructive" | "default" | "outline" | "ghost" | "light" | "dot" | "success" | "warning" | null | undefined;
|
|
891
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
892
|
+
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
893
|
+
circle?: boolean | null | undefined;
|
|
541
894
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
895
|
+
type BadgeProps = React$1.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
896
|
+
render?: useRender.RenderProp;
|
|
897
|
+
leftSection?: React$1.ReactNode;
|
|
898
|
+
rightSection?: React$1.ReactNode;
|
|
899
|
+
color?: ComponentColor;
|
|
900
|
+
};
|
|
901
|
+
declare function Badge({ className, variant, size, radius, circle, color, render, leftSection, rightSection, children, ...props }: BadgeProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
902
|
+
|
|
903
|
+
declare const blockquoteVariants: (props?: ({
|
|
904
|
+
variant?: "primary" | "secondary" | "default" | null | undefined;
|
|
905
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
906
|
+
declare function Blockquote({ className, variant, ...props }: React$1.ComponentProps<'blockquote'> & VariantProps<typeof blockquoteVariants>): react_jsx_runtime.JSX.Element;
|
|
545
907
|
|
|
546
908
|
declare function Breadcrumb({ ...props }: React$1.ComponentProps<'nav'>): react_jsx_runtime.JSX.Element;
|
|
547
909
|
declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<'ol'>): react_jsx_runtime.JSX.Element;
|
|
548
910
|
declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
|
|
549
|
-
declare function BreadcrumbLink({
|
|
550
|
-
|
|
551
|
-
}):
|
|
911
|
+
declare function BreadcrumbLink({ className, render, ...props }: React$1.ComponentProps<'a'> & {
|
|
912
|
+
render?: useRender.RenderProp;
|
|
913
|
+
}): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
552
914
|
declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
553
915
|
declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
|
|
554
916
|
declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
555
917
|
|
|
918
|
+
declare const burgerVariants: (props?: ({
|
|
919
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
920
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
921
|
+
type BurgerProps = Omit<React$1.ComponentProps<'button'>, 'children'> & VariantProps<typeof burgerVariants> & {
|
|
922
|
+
opened: boolean;
|
|
923
|
+
ariaLabel?: string;
|
|
924
|
+
};
|
|
925
|
+
declare function Burger({ className, size, opened, ariaLabel, ...props }: BurgerProps): react_jsx_runtime.JSX.Element;
|
|
926
|
+
|
|
556
927
|
declare const buttonVariants: (props?: ({
|
|
557
|
-
variant?: "link" | "
|
|
558
|
-
size?: "
|
|
928
|
+
variant?: "link" | "secondary" | "destructive" | "default" | "outline" | "ghost" | "light" | null | undefined;
|
|
929
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "icon-xl" | null | undefined;
|
|
930
|
+
radius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
931
|
+
fullWidth?: boolean | null | undefined;
|
|
559
932
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
560
|
-
type
|
|
561
|
-
|
|
933
|
+
type ButtonLoaderProps = {
|
|
934
|
+
size?: 'sm' | 'md' | 'lg';
|
|
935
|
+
className?: string;
|
|
936
|
+
};
|
|
937
|
+
type ButtonProps = Button$1.Props & VariantProps<typeof buttonVariants> & {
|
|
562
938
|
leftIcon?: React$1.ReactNode;
|
|
563
939
|
rightIcon?: React$1.ReactNode;
|
|
940
|
+
leftSection?: React$1.ReactNode;
|
|
941
|
+
rightSection?: React$1.ReactNode;
|
|
942
|
+
loading?: boolean;
|
|
943
|
+
loaderProps?: ButtonLoaderProps;
|
|
944
|
+
color?: ComponentColor;
|
|
564
945
|
};
|
|
565
|
-
declare function Button({ className, variant, size,
|
|
946
|
+
declare function Button({ className, variant, size, radius, fullWidth, color, leftIcon, rightIcon, leftSection, rightSection, loading, loaderProps, disabled, children, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
566
947
|
|
|
567
|
-
declare function Separator({ className, orientation,
|
|
948
|
+
declare function Separator({ className, orientation, ...props }: React$1.ComponentProps<typeof Separator$1>): react_jsx_runtime.JSX.Element;
|
|
568
949
|
|
|
569
|
-
declare
|
|
570
|
-
orientation?:
|
|
571
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
572
|
-
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'fieldset'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
573
|
-
declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<'div'> & {
|
|
574
|
-
asChild?: boolean;
|
|
950
|
+
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'fieldset'> & {
|
|
951
|
+
orientation?: 'horizontal' | 'vertical';
|
|
575
952
|
}): react_jsx_runtime.JSX.Element;
|
|
953
|
+
declare function ButtonGroupText({ className, render, ...props }: React.ComponentProps<'div'> & {
|
|
954
|
+
render?: useRender.RenderProp;
|
|
955
|
+
}): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
576
956
|
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
577
957
|
|
|
578
958
|
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
@@ -580,7 +960,14 @@ declare function Calendar({ className, classNames, showOutsideDays, captionLayou
|
|
|
580
960
|
}): react_jsx_runtime.JSX.Element;
|
|
581
961
|
declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
582
962
|
|
|
583
|
-
|
|
963
|
+
type CardProps = React$1.ComponentProps<'div'> & {
|
|
964
|
+
size?: 'default' | 'sm';
|
|
965
|
+
padding?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
966
|
+
radius?: ComponentRadius;
|
|
967
|
+
withBorder?: boolean;
|
|
968
|
+
variant?: 'default' | 'outline' | 'filled';
|
|
969
|
+
};
|
|
970
|
+
declare function Card({ className, children, size, padding, radius, withBorder, variant, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
584
971
|
declare function CardHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
585
972
|
declare function CardTitle({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
586
973
|
declare function CardDescription({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
@@ -604,6 +991,11 @@ declare function CarouselItem({ className, ...props }: React$1.ComponentProps<'f
|
|
|
604
991
|
declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
605
992
|
declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
606
993
|
|
|
994
|
+
type CenterProps = React$1.ComponentProps<'div'> & {
|
|
995
|
+
inline?: boolean;
|
|
996
|
+
};
|
|
997
|
+
declare function Center({ className, inline, children, ...props }: CenterProps): react_jsx_runtime.JSX.Element;
|
|
998
|
+
|
|
607
999
|
declare const THEMES: {
|
|
608
1000
|
readonly light: "";
|
|
609
1001
|
readonly dark: ".dark";
|
|
@@ -642,63 +1034,254 @@ declare function ChartLegendContent({ className, hideIcon, payload, verticalAlig
|
|
|
642
1034
|
nameKey?: string;
|
|
643
1035
|
}): react_jsx_runtime.JSX.Element | null;
|
|
644
1036
|
|
|
645
|
-
|
|
1037
|
+
type CheckboxProps = React$1.ComponentProps<typeof Checkbox$1.Root> & {
|
|
1038
|
+
size?: ComponentSize;
|
|
1039
|
+
color?: ComponentColor;
|
|
1040
|
+
};
|
|
1041
|
+
declare function Checkbox({ className, size, color: _color, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
646
1042
|
|
|
647
|
-
declare
|
|
648
|
-
|
|
649
|
-
|
|
1043
|
+
declare const chipVariants: (props?: ({
|
|
1044
|
+
variant?: "input" | "secondary" | "default" | "outline" | null | undefined;
|
|
1045
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1046
|
+
type ChipProps = React$1.ComponentProps<'div'> & VariantProps<typeof chipVariants> & {
|
|
1047
|
+
onRemove?: () => void;
|
|
1048
|
+
removable?: boolean;
|
|
1049
|
+
};
|
|
1050
|
+
declare function Chip({ className, variant, onRemove, removable, children, ...props }: ChipProps): react_jsx_runtime.JSX.Element;
|
|
1051
|
+
|
|
1052
|
+
type CloseButtonProps = Omit<React$1.ComponentProps<typeof Button>, 'children'> & {
|
|
1053
|
+
iconSize?: number;
|
|
1054
|
+
};
|
|
1055
|
+
declare function CloseButton({ className, size, variant, iconSize, ...props }: CloseButtonProps): react_jsx_runtime.JSX.Element;
|
|
650
1056
|
|
|
651
|
-
declare
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
declare function
|
|
655
|
-
|
|
656
|
-
declare function
|
|
1057
|
+
declare const codeVariants: (props?: ({
|
|
1058
|
+
variant?: "inline" | "block" | null | undefined;
|
|
1059
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1060
|
+
declare function Code({ className, variant, ...props }: React$1.ComponentProps<'code'> & VariantProps<typeof codeVariants>): react_jsx_runtime.JSX.Element;
|
|
1061
|
+
|
|
1062
|
+
declare function Collapsible({ ...props }: React.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime.JSX.Element;
|
|
1063
|
+
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1064
|
+
declare function CollapsibleContent({ className, ...props }: React.ComponentProps<typeof Collapsible$1.Panel>): react_jsx_runtime.JSX.Element;
|
|
1065
|
+
|
|
1066
|
+
declare function Input({ className, type, ...props }: React$1.ComponentProps<'input'>): react_jsx_runtime.JSX.Element;
|
|
1067
|
+
|
|
1068
|
+
declare function Label({ className, ...props }: React$1.ComponentProps<'label'>): react_jsx_runtime.JSX.Element;
|
|
1069
|
+
|
|
1070
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<'fieldset'>): react_jsx_runtime.JSX.Element;
|
|
1071
|
+
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<'legend'> & {
|
|
1072
|
+
variant?: 'legend' | 'label';
|
|
1073
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1074
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1075
|
+
declare const fieldVariants: (props?: ({
|
|
1076
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
1077
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1078
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<'fieldset'> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
|
|
1079
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1080
|
+
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
|
|
1081
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1082
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<'p'>): react_jsx_runtime.JSX.Element;
|
|
1083
|
+
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<'div'> & {
|
|
1084
|
+
children?: React.ReactNode;
|
|
1085
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1086
|
+
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<'div'> & {
|
|
1087
|
+
errors?: Array<{
|
|
1088
|
+
message?: string;
|
|
1089
|
+
} | undefined>;
|
|
1090
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
1091
|
+
|
|
1092
|
+
type InputWrapperProps = {
|
|
1093
|
+
/** Input element or component to wrap */
|
|
1094
|
+
children: React$1.ReactNode;
|
|
1095
|
+
/** Label text */
|
|
1096
|
+
label?: React$1.ReactNode;
|
|
1097
|
+
/** Description text (helper text) */
|
|
1098
|
+
description?: React$1.ReactNode;
|
|
1099
|
+
/** Error message or array of errors */
|
|
1100
|
+
error?: React$1.ReactNode | Array<{
|
|
1101
|
+
message?: string;
|
|
1102
|
+
} | undefined>;
|
|
1103
|
+
/** Adds required attribute to the input and asterisk to label */
|
|
1104
|
+
required?: boolean;
|
|
1105
|
+
/** Shows asterisk on label without required attribute */
|
|
1106
|
+
withAsterisk?: boolean;
|
|
1107
|
+
/** Controls order of elements */
|
|
1108
|
+
inputWrapperOrder?: InputWrapperOrder;
|
|
1109
|
+
/** Props for label */
|
|
1110
|
+
labelProps?: React$1.ComponentProps<typeof FieldLabel>;
|
|
1111
|
+
/** Props for description */
|
|
1112
|
+
descriptionProps?: React$1.ComponentProps<typeof FieldDescription>;
|
|
1113
|
+
/** Props for error */
|
|
1114
|
+
errorProps?: React$1.ComponentProps<typeof FieldError>;
|
|
1115
|
+
/** Input container wrapper function */
|
|
1116
|
+
inputContainer?: (children: React$1.ReactNode) => React$1.ReactNode;
|
|
1117
|
+
/** Disabled state (passed to Field) */
|
|
1118
|
+
disabled?: boolean;
|
|
1119
|
+
/** Class name for wrapper */
|
|
1120
|
+
className?: string;
|
|
1121
|
+
};
|
|
1122
|
+
declare function InputWrapper({ children, label, description, error, required, withAsterisk, inputWrapperOrder, labelProps, descriptionProps, errorProps, inputContainer, disabled, className, }: InputWrapperProps): react_jsx_runtime.JSX.Element;
|
|
1123
|
+
|
|
1124
|
+
type ColorInputProps = Omit<React$1.ComponentProps<typeof Input>, 'type' | 'value' | 'defaultValue' | 'onChange'> & Omit<InputWrapperProps, 'children'> & {
|
|
1125
|
+
value?: string;
|
|
1126
|
+
defaultValue?: string;
|
|
1127
|
+
onChange?: (value: string) => void;
|
|
1128
|
+
onValueChange?: (value: string) => void;
|
|
1129
|
+
onChangeEnd?: (value: string) => void;
|
|
1130
|
+
format?: ColorFormat;
|
|
1131
|
+
size?: ComponentSize;
|
|
1132
|
+
/** If true, input value resets to last valid on blur. @default true */
|
|
1133
|
+
fixOnBlur?: boolean;
|
|
1134
|
+
/** If true, user can only pick via picker/swatches, not type. */
|
|
1135
|
+
disallowInput?: boolean;
|
|
1136
|
+
/** Show color preview swatch on the left. @default true */
|
|
1137
|
+
withPreview?: boolean;
|
|
1138
|
+
/** Show eye dropper button. @default true when supported */
|
|
1139
|
+
withEyeDropper?: boolean;
|
|
1140
|
+
eyeDropperIcon?: React$1.ReactNode;
|
|
1141
|
+
/** Close dropdown when a swatch is clicked. @default false */
|
|
1142
|
+
closeOnColorSwatchClick?: boolean;
|
|
1143
|
+
/** Preset swatches in dropdown */
|
|
1144
|
+
swatches?: string[];
|
|
1145
|
+
swatchesPerRow?: number;
|
|
1146
|
+
/** Show saturation/hue/alpha picker in dropdown. @default true */
|
|
1147
|
+
withPicker?: boolean;
|
|
1148
|
+
/** When false, no dropdown popover (e.g. when used inside ColorPicker). @default true */
|
|
1149
|
+
withPopover?: boolean;
|
|
1150
|
+
};
|
|
1151
|
+
declare const ColorInput: React$1.ForwardRefExoticComponent<Omit<ColorInputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
1152
|
+
|
|
1153
|
+
type ColorPickerProps = Omit<React$1.ComponentProps<typeof ColorInput>, 'label' | 'description' | 'error' | 'onChange' | 'onValueChange' | 'size'> & Omit<InputWrapperProps, 'children'> & {
|
|
1154
|
+
size?: ComponentSize;
|
|
1155
|
+
value?: string;
|
|
1156
|
+
onChange?: (value: string) => void;
|
|
1157
|
+
onChangeEnd?: (value: string) => void;
|
|
1158
|
+
/** hex | hexa | rgb | rgba | hsl | hsla */
|
|
1159
|
+
format?: ColorFormat;
|
|
1160
|
+
/** Show saturation + hue (+ alpha) picker. false = swatches only */
|
|
1161
|
+
withPicker?: boolean;
|
|
1162
|
+
fullWidth?: boolean;
|
|
1163
|
+
/** Preset colors */
|
|
1164
|
+
swatches?: string[];
|
|
1165
|
+
swatchesPerRow?: number;
|
|
1166
|
+
/** Called when a swatch is clicked (e.g. to close parent dropdown) */
|
|
1167
|
+
onColorSwatchClick?: () => void;
|
|
1168
|
+
saturationLabel?: string;
|
|
1169
|
+
hueLabel?: string;
|
|
1170
|
+
alphaLabel?: string;
|
|
1171
|
+
};
|
|
1172
|
+
declare function ColorPicker({ label, description, error, required, withAsterisk, inputWrapperOrder, labelProps, descriptionProps, errorProps, disabled, className, size, format, withPicker, fullWidth, swatches, swatchesPerRow, onColorSwatchClick, value, onChange, onChangeEnd, saturationLabel, hueLabel, alphaLabel, ...inputProps }: ColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
1173
|
+
|
|
1174
|
+
type ColorSwatchProps = React$1.ComponentProps<'div'> & {
|
|
1175
|
+
color: string;
|
|
1176
|
+
size?: number | string;
|
|
1177
|
+
radius?: ComponentRadius;
|
|
1178
|
+
withShadow?: boolean;
|
|
1179
|
+
};
|
|
1180
|
+
declare function ColorSwatch({ className, color, size, radius, withShadow, children, style, ...props }: ColorSwatchProps): react_jsx_runtime.JSX.Element;
|
|
1181
|
+
|
|
1182
|
+
type ComboboxOption = {
|
|
1183
|
+
value: string;
|
|
1184
|
+
label: string;
|
|
1185
|
+
disabled?: boolean;
|
|
1186
|
+
};
|
|
1187
|
+
type ComboboxProps = Omit<Combobox$1.Root.Props<string>, 'children' | 'onValueChange' | 'value' | 'inputValue' | 'onInputValueChange'> & {
|
|
1188
|
+
options: ComboboxOption[];
|
|
1189
|
+
value?: string | null;
|
|
1190
|
+
onValueChange?: (value: string | null) => void;
|
|
1191
|
+
placeholder?: string;
|
|
1192
|
+
emptyText?: string;
|
|
1193
|
+
disabled?: boolean;
|
|
1194
|
+
showClear?: boolean;
|
|
1195
|
+
className?: string;
|
|
1196
|
+
};
|
|
1197
|
+
declare function Combobox({ options, value, onValueChange, placeholder, emptyText, disabled, showClear, className, ...props }: ComboboxProps): react_jsx_runtime.JSX.Element;
|
|
1198
|
+
|
|
1199
|
+
declare function Dialog({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
1200
|
+
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1201
|
+
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
1202
|
+
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
|
|
1203
|
+
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Backdrop>): react_jsx_runtime.JSX.Element;
|
|
1204
|
+
declare function DialogContent({ className, children, showCloseButton, ...props }: React$1.ComponentProps<typeof Dialog$1.Popup> & {
|
|
657
1205
|
showCloseButton?: boolean;
|
|
658
1206
|
}): react_jsx_runtime.JSX.Element;
|
|
659
1207
|
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
660
1208
|
declare function DialogFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
661
|
-
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof
|
|
662
|
-
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof
|
|
1209
|
+
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
1210
|
+
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
663
1211
|
|
|
664
|
-
|
|
665
|
-
|
|
1212
|
+
type CommandProps = Omit<React$1.ComponentProps<typeof Autocomplete.Root>, 'children'> & {
|
|
1213
|
+
className?: string;
|
|
1214
|
+
children?: React$1.ReactNode;
|
|
1215
|
+
};
|
|
1216
|
+
declare function Command({ className, children, ...props }: CommandProps): react_jsx_runtime.JSX.Element;
|
|
1217
|
+
declare function CommandDialog({ title, description, children, className, showCloseButton, commandProps, ...props }: Omit<React$1.ComponentProps<typeof Dialog>, 'children'> & {
|
|
666
1218
|
title?: string;
|
|
667
1219
|
description?: string;
|
|
668
1220
|
className?: string;
|
|
669
1221
|
showCloseButton?: boolean;
|
|
1222
|
+
commandProps?: Omit<React$1.ComponentProps<typeof Autocomplete.Root>, 'children'>;
|
|
1223
|
+
children?: React$1.ReactNode;
|
|
1224
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1225
|
+
declare function CommandInput({ className, onValueChange, onChange, ...props }: React$1.ComponentProps<typeof Autocomplete.Input> & {
|
|
1226
|
+
onValueChange?: (value: string) => void;
|
|
1227
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1228
|
+
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Autocomplete.List>): react_jsx_runtime.JSX.Element;
|
|
1229
|
+
declare function CommandEmpty({ className, ...props }: React$1.ComponentProps<typeof Autocomplete.Empty>): react_jsx_runtime.JSX.Element;
|
|
1230
|
+
type CommandGroupProps = Omit<React$1.ComponentProps<typeof Autocomplete.Group>, 'children'> & {
|
|
1231
|
+
heading?: string;
|
|
1232
|
+
children?: React$1.ReactNode | ((item: unknown, index: number) => React$1.ReactNode);
|
|
1233
|
+
};
|
|
1234
|
+
declare function CommandGroup({ className, heading, items, children, ...props }: CommandGroupProps): react_jsx_runtime.JSX.Element;
|
|
1235
|
+
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
1236
|
+
declare function CommandItem({ className, onSelect, onClick, ...props }: React$1.ComponentProps<typeof Autocomplete.Item> & {
|
|
1237
|
+
onSelect?: React$1.MouseEventHandler<HTMLElement>;
|
|
670
1238
|
}): react_jsx_runtime.JSX.Element;
|
|
671
|
-
declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
672
|
-
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
673
|
-
declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
674
|
-
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
675
|
-
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
676
|
-
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
677
1239
|
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
678
1240
|
|
|
679
|
-
declare
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
1241
|
+
declare const containerVariants: (props?: ({
|
|
1242
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "fluid" | null | undefined;
|
|
1243
|
+
px?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
1244
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1245
|
+
type ContainerProps = React$1.ComponentProps<'div'> & VariantProps<typeof containerVariants> & {
|
|
1246
|
+
fluid?: boolean;
|
|
1247
|
+
};
|
|
1248
|
+
declare function Container({ className, size, px, fluid, children, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
|
|
1249
|
+
|
|
1250
|
+
declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
1251
|
+
declare function ContextMenuTrigger({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1252
|
+
declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Group>): react_jsx_runtime.JSX.Element;
|
|
1253
|
+
declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
1254
|
+
declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubmenuRoot>): react_jsx_runtime.JSX.Element;
|
|
1255
|
+
declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
1256
|
+
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubmenuTrigger> & {
|
|
686
1257
|
inset?: boolean;
|
|
687
1258
|
}): react_jsx_runtime.JSX.Element;
|
|
688
|
-
declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof
|
|
689
|
-
declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof
|
|
690
|
-
declare function
|
|
1259
|
+
declare function ContextMenuSubContent({ className, align, alignOffset, side, sideOffset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Popup> & Pick<React$1.ComponentProps<typeof ContextMenu$1.Positioner>, 'align' | 'alignOffset' | 'side' | 'sideOffset'>): react_jsx_runtime.JSX.Element;
|
|
1260
|
+
declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Popup>): react_jsx_runtime.JSX.Element;
|
|
1261
|
+
declare function ContextMenuPositioner({ align, alignOffset, side, sideOffset, className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Positioner>): react_jsx_runtime.JSX.Element;
|
|
1262
|
+
declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Item> & {
|
|
691
1263
|
inset?: boolean;
|
|
692
1264
|
variant?: 'default' | 'destructive';
|
|
693
1265
|
}): react_jsx_runtime.JSX.Element;
|
|
694
|
-
declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof
|
|
695
|
-
|
|
696
|
-
|
|
1266
|
+
declare function ContextMenuCheckboxItem({ className, children, checked, inset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.CheckboxItem> & {
|
|
1267
|
+
inset?: boolean;
|
|
1268
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1269
|
+
declare function ContextMenuRadioItem({ className, children, inset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioItem> & {
|
|
1270
|
+
inset?: boolean;
|
|
1271
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1272
|
+
declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.GroupLabel> & {
|
|
697
1273
|
inset?: boolean;
|
|
698
1274
|
}): react_jsx_runtime.JSX.Element;
|
|
699
|
-
declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof
|
|
1275
|
+
declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
700
1276
|
declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
701
1277
|
|
|
1278
|
+
type CopyButtonProps = Omit<React$1.ComponentProps<typeof Button>, 'onClick' | 'children'> & {
|
|
1279
|
+
value: string;
|
|
1280
|
+
timeout?: number;
|
|
1281
|
+
children?: React$1.ReactNode;
|
|
1282
|
+
};
|
|
1283
|
+
declare function CopyButton({ value, timeout, children, size, variant, className, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
|
|
1284
|
+
|
|
702
1285
|
type DataTableProps<TData, TValue> = {
|
|
703
1286
|
columns: ColumnDef<TData, TValue>[];
|
|
704
1287
|
data: TData[];
|
|
@@ -748,39 +1331,46 @@ type DataTableViewOptionsProps<TData> = {
|
|
|
748
1331
|
};
|
|
749
1332
|
declare function DataTableViewOptions<TData>({ table, }: DataTableViewOptionsProps<TData>): react_jsx_runtime.JSX.Element;
|
|
750
1333
|
|
|
751
|
-
declare function Drawer({ ...props }: React$1.ComponentProps<typeof
|
|
752
|
-
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof
|
|
753
|
-
declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof
|
|
754
|
-
declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof
|
|
755
|
-
declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof
|
|
756
|
-
declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof
|
|
1334
|
+
declare function Drawer({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
1335
|
+
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1336
|
+
declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
1337
|
+
declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
|
|
1338
|
+
declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Backdrop>): react_jsx_runtime.JSX.Element;
|
|
1339
|
+
declare function DrawerContent({ className, children, side, ...props }: React$1.ComponentProps<typeof Dialog$1.Popup> & {
|
|
1340
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
1341
|
+
}): react_jsx_runtime.JSX.Element;
|
|
757
1342
|
declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
758
1343
|
declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
759
|
-
declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof
|
|
760
|
-
declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof
|
|
761
|
-
|
|
762
|
-
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof
|
|
763
|
-
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof
|
|
764
|
-
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof
|
|
765
|
-
declare function DropdownMenuContent({ className,
|
|
766
|
-
declare function
|
|
767
|
-
declare function
|
|
1344
|
+
declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
1345
|
+
declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
1346
|
+
|
|
1347
|
+
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof Menu.Root>): react_jsx_runtime.JSX.Element;
|
|
1348
|
+
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof Menu.Portal>): react_jsx_runtime.JSX.Element;
|
|
1349
|
+
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof Menu.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1350
|
+
declare function DropdownMenuContent({ className, ...props }: React$1.ComponentProps<typeof Menu.Popup>): react_jsx_runtime.JSX.Element;
|
|
1351
|
+
declare function DropdownMenuPositioner({ align, alignOffset, side, sideOffset, className, ...props }: React$1.ComponentProps<typeof Menu.Positioner>): react_jsx_runtime.JSX.Element;
|
|
1352
|
+
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof Menu.Group>): react_jsx_runtime.JSX.Element;
|
|
1353
|
+
declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof Menu.Item> & {
|
|
768
1354
|
inset?: boolean;
|
|
769
1355
|
variant?: 'default' | 'destructive';
|
|
770
1356
|
}): react_jsx_runtime.JSX.Element;
|
|
771
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
declare function
|
|
1357
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: React$1.ComponentProps<typeof Menu.CheckboxItem> & {
|
|
1358
|
+
inset?: boolean;
|
|
1359
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1360
|
+
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof Menu.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
1361
|
+
declare function DropdownMenuRadioItem({ className, children, inset, ...props }: React$1.ComponentProps<typeof Menu.RadioItem> & {
|
|
775
1362
|
inset?: boolean;
|
|
776
1363
|
}): react_jsx_runtime.JSX.Element;
|
|
777
|
-
declare function
|
|
1364
|
+
declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof Menu.GroupLabel> & {
|
|
1365
|
+
inset?: boolean;
|
|
1366
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1367
|
+
declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof Menu.Separator>): react_jsx_runtime.JSX.Element;
|
|
778
1368
|
declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
779
|
-
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof
|
|
780
|
-
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof
|
|
1369
|
+
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof Menu.SubmenuRoot>): react_jsx_runtime.JSX.Element;
|
|
1370
|
+
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof Menu.SubmenuTrigger> & {
|
|
781
1371
|
inset?: boolean;
|
|
782
1372
|
}): react_jsx_runtime.JSX.Element;
|
|
783
|
-
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof
|
|
1373
|
+
declare function DropdownMenuSubContent({ className, align, alignOffset, side, sideOffset, ...props }: React$1.ComponentProps<typeof Menu.Popup> & Pick<React$1.ComponentProps<typeof Menu.Positioner>, 'align' | 'alignOffset' | 'side' | 'sideOffset'>): react_jsx_runtime.JSX.Element;
|
|
784
1374
|
|
|
785
1375
|
declare function Empty({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
786
1376
|
declare function EmptyHeader({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
@@ -792,29 +1382,49 @@ declare function EmptyTitle({ className, ...props }: React.ComponentProps<'div'>
|
|
|
792
1382
|
declare function EmptyDescription({ className, ...props }: React.ComponentProps<'p'>): react_jsx_runtime.JSX.Element;
|
|
793
1383
|
declare function EmptyContent({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
794
1384
|
|
|
795
|
-
|
|
1385
|
+
type FileButtonProps = Omit<React$1.ComponentProps<typeof Button>, 'onChange' | 'onClick'> & {
|
|
1386
|
+
onChange: (files: FileList | null) => void;
|
|
1387
|
+
accept?: string;
|
|
1388
|
+
multiple?: boolean;
|
|
1389
|
+
capture?: boolean | 'user' | 'environment';
|
|
1390
|
+
};
|
|
1391
|
+
declare function FileButton({ onChange, accept, multiple, capture, children, disabled, className, ...props }: FileButtonProps): react_jsx_runtime.JSX.Element;
|
|
796
1392
|
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
}
|
|
801
|
-
declare function
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
}): react_jsx_runtime.JSX.Element;
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
1393
|
+
type FileInputProps = Omit<React$1.ComponentProps<'input'>, 'type'> & {
|
|
1394
|
+
onFilesChange?: (files: File[]) => void;
|
|
1395
|
+
clearable?: boolean;
|
|
1396
|
+
};
|
|
1397
|
+
declare function FileInput({ className, onFilesChange, clearable, multiple, ...props }: FileInputProps): react_jsx_runtime.JSX.Element;
|
|
1398
|
+
|
|
1399
|
+
type FlexProps = React$1.ComponentProps<'div'> & {
|
|
1400
|
+
gap?: ComponentSize | number;
|
|
1401
|
+
rowGap?: ComponentSize | number;
|
|
1402
|
+
columnGap?: ComponentSize | number;
|
|
1403
|
+
align?: 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
1404
|
+
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
1405
|
+
wrap?: 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
1406
|
+
direction?: 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
1407
|
+
};
|
|
1408
|
+
declare function Flex({ className, gap, rowGap, columnGap, align, justify, wrap, direction, style, ...props }: FlexProps): react_jsx_runtime.JSX.Element;
|
|
1409
|
+
|
|
1410
|
+
type FloatingIndicatorProps = Omit<React$1.ComponentProps<'div'>, 'target'> & {
|
|
1411
|
+
target: HTMLElement | null;
|
|
1412
|
+
parent: HTMLElement | null;
|
|
1413
|
+
transitionDuration?: number;
|
|
1414
|
+
displayAfterTransitionEnd?: boolean;
|
|
1415
|
+
};
|
|
1416
|
+
declare function FloatingIndicator({ className, target, parent, transitionDuration, displayAfterTransitionEnd, style, ...props }: FloatingIndicatorProps): react_jsx_runtime.JSX.Element | null;
|
|
1417
|
+
|
|
1418
|
+
type FocusTrapProps = {
|
|
1419
|
+
children: ReactElement;
|
|
1420
|
+
active?: boolean;
|
|
1421
|
+
refProp?: string;
|
|
1422
|
+
};
|
|
1423
|
+
declare function FocusTrap({ children, active, refProp, }: FocusTrapProps): ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1424
|
+
declare namespace FocusTrap {
|
|
1425
|
+
var InitialFocus: typeof FocusTrapInitialFocus;
|
|
1426
|
+
}
|
|
1427
|
+
declare function FocusTrapInitialFocus(props: React.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
818
1428
|
|
|
819
1429
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
820
1430
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
@@ -831,24 +1441,87 @@ declare const useFormField: () => {
|
|
|
831
1441
|
formMessageId: string;
|
|
832
1442
|
};
|
|
833
1443
|
declare function FormItem({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
834
|
-
declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof
|
|
835
|
-
declare function FormControl({ ...props }: React$1.ComponentProps<
|
|
1444
|
+
declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
|
|
1445
|
+
declare function FormControl({ render, children, ...props }: React$1.ComponentProps<'input'> & {
|
|
1446
|
+
render?: useRender.RenderProp;
|
|
1447
|
+
}): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
836
1448
|
declare function FormDescription({ className, ...props }: React$1.ComponentProps<'p'>): react_jsx_runtime.JSX.Element;
|
|
837
1449
|
declare function FormMessage({ className, ...props }: React$1.ComponentProps<'p'>): react_jsx_runtime.JSX.Element | null;
|
|
838
1450
|
|
|
839
|
-
declare
|
|
840
|
-
|
|
841
|
-
|
|
1451
|
+
declare const gridVariants: (props?: ({
|
|
1452
|
+
gutter?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
1453
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1454
|
+
declare const gridColVariants: (props?: ({
|
|
1455
|
+
span?: 4 | 1 | "auto" | 2 | 3 | 5 | 7 | 6 | 8 | 10 | 9 | 12 | 11 | null | undefined;
|
|
1456
|
+
sm?: 4 | 1 | 2 | 3 | 5 | 7 | 6 | 8 | 10 | 9 | 12 | 11 | null | undefined;
|
|
1457
|
+
md?: 4 | 1 | 2 | 3 | 5 | 7 | 6 | 8 | 10 | 9 | 12 | 11 | null | undefined;
|
|
1458
|
+
lg?: 4 | 1 | 2 | 3 | 5 | 7 | 6 | 8 | 10 | 9 | 12 | 11 | null | undefined;
|
|
1459
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1460
|
+
type GridProps = React$1.ComponentProps<'div'> & VariantProps<typeof gridVariants>;
|
|
1461
|
+
type GridColProps = React$1.ComponentProps<'div'> & VariantProps<typeof gridColVariants> & {
|
|
1462
|
+
offset?: number;
|
|
1463
|
+
};
|
|
1464
|
+
declare function Grid({ className, gutter, children, ...props }: GridProps): react_jsx_runtime.JSX.Element;
|
|
1465
|
+
declare namespace Grid {
|
|
1466
|
+
var Col: typeof GridCol;
|
|
1467
|
+
}
|
|
1468
|
+
declare function GridCol({ className, span, sm, md, lg, offset, style, children, ...props }: GridColProps): react_jsx_runtime.JSX.Element;
|
|
1469
|
+
|
|
1470
|
+
type GroupProps = React$1.ComponentProps<'div'> & {
|
|
1471
|
+
gap?: ComponentSize | number;
|
|
1472
|
+
wrap?: 'wrap' | 'nowrap';
|
|
1473
|
+
align?: 'start' | 'center' | 'end' | 'stretch';
|
|
1474
|
+
justify?: 'start' | 'center' | 'end' | 'between' | 'around';
|
|
1475
|
+
grow?: boolean;
|
|
1476
|
+
};
|
|
1477
|
+
declare function Group({ className, gap, wrap, align, justify, grow, style, ...props }: GroupProps): react_jsx_runtime.JSX.Element;
|
|
1478
|
+
|
|
1479
|
+
type HighlightProps = React$1.ComponentProps<'span'> & {
|
|
1480
|
+
children: string;
|
|
1481
|
+
highlight: string | string[];
|
|
1482
|
+
className?: string;
|
|
1483
|
+
highlightClassName?: string;
|
|
1484
|
+
};
|
|
1485
|
+
declare function Highlight({ children, highlight, className, highlightClassName, ...props }: HighlightProps): react_jsx_runtime.JSX.Element;
|
|
842
1486
|
|
|
843
|
-
declare function
|
|
1487
|
+
declare function HoverCard({ ...props }: React$1.ComponentProps<typeof PreviewCard.Root>): react_jsx_runtime.JSX.Element;
|
|
1488
|
+
declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof PreviewCard.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1489
|
+
declare function HoverCardContent({ className, align, alignOffset, side, sideOffset, ...props }: React$1.ComponentProps<typeof PreviewCard.Popup> & {
|
|
1490
|
+
align?: React$1.ComponentProps<typeof PreviewCard.Positioner>['align'];
|
|
1491
|
+
alignOffset?: React$1.ComponentProps<typeof PreviewCard.Positioner>['alignOffset'];
|
|
1492
|
+
side?: React$1.ComponentProps<typeof PreviewCard.Positioner>['side'];
|
|
1493
|
+
sideOffset?: React$1.ComponentProps<typeof PreviewCard.Positioner>['sideOffset'];
|
|
1494
|
+
}): react_jsx_runtime.JSX.Element;
|
|
844
1495
|
|
|
845
|
-
|
|
1496
|
+
type ImageProps = React$1.ComponentProps<'img'> & {
|
|
1497
|
+
fallback?: React$1.ReactNode;
|
|
1498
|
+
radius?: 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
1499
|
+
fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
1500
|
+
};
|
|
1501
|
+
declare function Image({ className, src, alt, fallback, radius, fit, onError, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
|
|
1502
|
+
|
|
1503
|
+
declare const indicatorVariants: (props?: ({
|
|
1504
|
+
position?: "top-start" | "top-end" | "bottom-start" | "bottom-end" | "top-center" | "bottom-center" | "middle-start" | "middle-end" | null | undefined;
|
|
1505
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
1506
|
+
color?: "primary" | "secondary" | "accent" | "destructive" | null | undefined;
|
|
1507
|
+
withBorder?: boolean | null | undefined;
|
|
1508
|
+
processing?: boolean | null | undefined;
|
|
1509
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1510
|
+
type IndicatorProps = React$1.ComponentProps<'div'> & VariantProps<typeof indicatorVariants> & {
|
|
1511
|
+
label?: string | number;
|
|
1512
|
+
offset?: number;
|
|
1513
|
+
disabled?: boolean;
|
|
1514
|
+
inline?: boolean;
|
|
1515
|
+
};
|
|
1516
|
+
declare function Indicator({ className, position, size, color, withBorder, processing, label, offset, disabled, inline, children, style, ...props }: IndicatorProps): react_jsx_runtime.JSX.Element;
|
|
1517
|
+
|
|
1518
|
+
declare function InputGroup({ className, disabled, ...props }: React$1.ComponentProps<'fieldset'>): react_jsx_runtime.JSX.Element;
|
|
846
1519
|
declare const inputGroupAddonVariants: (props?: ({
|
|
847
1520
|
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
848
1521
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
849
|
-
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<'
|
|
1522
|
+
declare function InputGroupAddon({ className, align, type, ...props }: React$1.ComponentProps<'button'> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
850
1523
|
declare const inputGroupButtonVariants: (props?: ({
|
|
851
|
-
size?: "
|
|
1524
|
+
size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
|
|
852
1525
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
853
1526
|
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, 'size'> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
854
1527
|
declare function InputGroupText({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
@@ -868,11 +1541,11 @@ declare function ItemGroup({ className, ...props }: React$1.ComponentProps<'ul'>
|
|
|
868
1541
|
declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
869
1542
|
declare const itemVariants: (props?: ({
|
|
870
1543
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
871
|
-
size?: "
|
|
1544
|
+
size?: "xs" | "sm" | "default" | null | undefined;
|
|
872
1545
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
873
|
-
declare function Item({ className, variant, size,
|
|
874
|
-
|
|
875
|
-
}):
|
|
1546
|
+
declare function Item({ className, variant, size, render, ...props }: React$1.ComponentProps<'div'> & VariantProps<typeof itemVariants> & {
|
|
1547
|
+
render?: useRender.RenderProp;
|
|
1548
|
+
}): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
876
1549
|
declare const itemMediaVariants: (props?: ({
|
|
877
1550
|
variant?: "image" | "default" | "icon" | null | undefined;
|
|
878
1551
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -884,32 +1557,78 @@ declare function ItemActions({ className, ...props }: React$1.ComponentProps<'di
|
|
|
884
1557
|
declare function ItemHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
885
1558
|
declare function ItemFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
886
1559
|
|
|
1560
|
+
type TextareaBaseProps = Omit<React$1.ComponentProps<'textarea'>, 'size'> & {
|
|
1561
|
+
size?: ComponentSize;
|
|
1562
|
+
};
|
|
1563
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<TextareaBaseProps, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
1564
|
+
type TextareaInputProps = TextareaBaseProps & Omit<InputWrapperProps, 'children'> & {
|
|
1565
|
+
autosize?: boolean;
|
|
1566
|
+
minRows?: number;
|
|
1567
|
+
maxRows?: number;
|
|
1568
|
+
};
|
|
1569
|
+
declare const TextareaInput: React$1.ForwardRefExoticComponent<Omit<TextareaInputProps, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
1570
|
+
|
|
1571
|
+
type JsonInputProps = Omit<React$1.ComponentProps<typeof Textarea>, 'value' | 'onChange'> & {
|
|
1572
|
+
value?: string | object;
|
|
1573
|
+
defaultValue?: string | object;
|
|
1574
|
+
onChange?: (value: string) => void;
|
|
1575
|
+
onValueChange?: (value: object | null) => void;
|
|
1576
|
+
formatOnBlur?: boolean;
|
|
1577
|
+
validationError?: string;
|
|
1578
|
+
};
|
|
1579
|
+
declare function JsonInput({ className, value, defaultValue, onChange, onValueChange, formatOnBlur, validationError, onBlur, ...props }: JsonInputProps): react_jsx_runtime.JSX.Element;
|
|
1580
|
+
|
|
887
1581
|
declare function Kbd({ className, ...props }: React.ComponentProps<'kbd'>): react_jsx_runtime.JSX.Element;
|
|
888
1582
|
declare function KbdGroup({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
889
1583
|
|
|
890
|
-
declare
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
1584
|
+
declare const listVariants: (props?: ({
|
|
1585
|
+
listStyle?: "none" | "decimal" | "disc" | null | undefined;
|
|
1586
|
+
spacing?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
1587
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1588
|
+
type BaseListProps = VariantProps<typeof listVariants> & {
|
|
1589
|
+
ordered?: boolean;
|
|
1590
|
+
};
|
|
1591
|
+
type ListProps = BaseListProps & (({
|
|
1592
|
+
ordered?: false;
|
|
1593
|
+
} & React$1.ComponentProps<'ul'>) | ({
|
|
1594
|
+
ordered: true;
|
|
1595
|
+
} & React$1.ComponentProps<'ol'>));
|
|
1596
|
+
declare function List({ className, listStyle, spacing, ordered, ...props }: ListProps): react_jsx_runtime.JSX.Element;
|
|
1597
|
+
declare function ListItem({ className, ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
|
|
1598
|
+
|
|
1599
|
+
type MarkProps = React$1.ComponentProps<'mark'> & {
|
|
1600
|
+
color?: ComponentColor;
|
|
1601
|
+
};
|
|
1602
|
+
declare function Mark({ className, color, ...props }: MarkProps): react_jsx_runtime.JSX.Element;
|
|
1603
|
+
|
|
1604
|
+
declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof Menubar$1>): react_jsx_runtime.JSX.Element;
|
|
1605
|
+
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof Menu.Root>): react_jsx_runtime.JSX.Element;
|
|
1606
|
+
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof Menu.Group>): react_jsx_runtime.JSX.Element;
|
|
1607
|
+
declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof Menu.Portal>): react_jsx_runtime.JSX.Element;
|
|
1608
|
+
declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof Menu.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
1609
|
+
declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof Menu.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1610
|
+
declare function MenubarContent({ className, ...props }: React$1.ComponentProps<typeof Menu.Popup>): react_jsx_runtime.JSX.Element;
|
|
1611
|
+
declare function MenubarPositioner({ align, alignOffset, side, sideOffset, className, ...props }: React$1.ComponentProps<typeof Menu.Positioner>): react_jsx_runtime.JSX.Element;
|
|
1612
|
+
declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof Menu.Item> & {
|
|
898
1613
|
inset?: boolean;
|
|
899
1614
|
variant?: 'default' | 'destructive';
|
|
900
1615
|
}): react_jsx_runtime.JSX.Element;
|
|
901
|
-
declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof
|
|
902
|
-
|
|
903
|
-
|
|
1616
|
+
declare function MenubarCheckboxItem({ className, children, checked, inset, ...props }: React$1.ComponentProps<typeof Menu.CheckboxItem> & {
|
|
1617
|
+
inset?: boolean;
|
|
1618
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1619
|
+
declare function MenubarRadioItem({ className, children, inset, ...props }: React$1.ComponentProps<typeof Menu.RadioItem> & {
|
|
904
1620
|
inset?: boolean;
|
|
905
1621
|
}): react_jsx_runtime.JSX.Element;
|
|
906
|
-
declare function
|
|
1622
|
+
declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof Menu.GroupLabel> & {
|
|
1623
|
+
inset?: boolean;
|
|
1624
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1625
|
+
declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof Menu.Separator>): react_jsx_runtime.JSX.Element;
|
|
907
1626
|
declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
908
|
-
declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof
|
|
909
|
-
declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof
|
|
1627
|
+
declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof Menu.SubmenuRoot>): react_jsx_runtime.JSX.Element;
|
|
1628
|
+
declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof Menu.SubmenuTrigger> & {
|
|
910
1629
|
inset?: boolean;
|
|
911
1630
|
}): react_jsx_runtime.JSX.Element;
|
|
912
|
-
declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof
|
|
1631
|
+
declare function MenubarSubContent({ className, align, alignOffset, side, sideOffset, ...props }: React$1.ComponentProps<typeof Menu.Popup> & Pick<React$1.ComponentProps<typeof Menu.Positioner>, 'align' | 'alignOffset' | 'side' | 'sideOffset'>): react_jsx_runtime.JSX.Element;
|
|
913
1632
|
|
|
914
1633
|
type CurrencyOption = {
|
|
915
1634
|
label: string;
|
|
@@ -930,17 +1649,94 @@ type MoneyInputProps = {
|
|
|
930
1649
|
};
|
|
931
1650
|
declare const MoneyInput: React$1.ForwardRefExoticComponent<MoneyInputProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
932
1651
|
|
|
933
|
-
|
|
1652
|
+
type MultiSelectOption = {
|
|
1653
|
+
value: string;
|
|
1654
|
+
label: string;
|
|
1655
|
+
disabled?: boolean;
|
|
1656
|
+
};
|
|
1657
|
+
type MultiSelectProps = Omit<React$1.ComponentProps<typeof Autocomplete.Root>, 'children' | 'onValueChange' | 'inline'> & {
|
|
1658
|
+
options: MultiSelectOption[];
|
|
1659
|
+
value?: string[];
|
|
1660
|
+
onValueChange?: (value: string[]) => void;
|
|
1661
|
+
placeholder?: string;
|
|
1662
|
+
emptyText?: string;
|
|
1663
|
+
className?: string;
|
|
1664
|
+
disabled?: boolean;
|
|
1665
|
+
};
|
|
1666
|
+
declare function MultiSelect({ options, value, onValueChange, placeholder, emptyText, className, disabled, ...props }: MultiSelectProps): react_jsx_runtime.JSX.Element;
|
|
1667
|
+
|
|
1668
|
+
type NativeSelectOption = {
|
|
1669
|
+
value: string;
|
|
1670
|
+
label: string;
|
|
1671
|
+
} | string;
|
|
1672
|
+
type NativeSelectBaseProps = Omit<React$1.ComponentProps<'select'>, 'size'> & {
|
|
1673
|
+
size?: ComponentSize;
|
|
1674
|
+
data?: NativeSelectOption[];
|
|
1675
|
+
rightSection?: React$1.ReactNode;
|
|
1676
|
+
};
|
|
1677
|
+
declare const NativeSelectBase: React$1.ForwardRefExoticComponent<Omit<NativeSelectBaseProps, "ref"> & React$1.RefAttributes<HTMLSelectElement>>;
|
|
1678
|
+
type NativeSelectProps = NativeSelectBaseProps & Omit<InputWrapperProps, 'children'>;
|
|
1679
|
+
declare const NativeSelect: React$1.ForwardRefExoticComponent<Omit<NativeSelectProps, "ref"> & React$1.RefAttributes<HTMLSelectElement>>;
|
|
1680
|
+
|
|
1681
|
+
declare const navLinkVariants: (props?: ({
|
|
1682
|
+
active?: boolean | null | undefined;
|
|
1683
|
+
variant?: "default" | "subtle" | null | undefined;
|
|
1684
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1685
|
+
type NavLinkProps = React$1.ComponentProps<'a'> & VariantProps<typeof navLinkVariants> & {
|
|
1686
|
+
label: string;
|
|
1687
|
+
icon?: React$1.ReactNode;
|
|
1688
|
+
rightSection?: React$1.ReactNode;
|
|
1689
|
+
disabled?: boolean;
|
|
1690
|
+
};
|
|
1691
|
+
declare function NavLink({ className, active, variant, label, icon, rightSection, disabled, children, href, ...props }: NavLinkProps): react_jsx_runtime.JSX.Element;
|
|
1692
|
+
|
|
1693
|
+
declare function NavigationMenu({ className, children, viewport, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
934
1694
|
viewport?: boolean;
|
|
935
1695
|
}): react_jsx_runtime.JSX.Element;
|
|
936
|
-
declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof
|
|
937
|
-
declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof
|
|
1696
|
+
declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime.JSX.Element;
|
|
1697
|
+
declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime.JSX.Element;
|
|
938
1698
|
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
939
|
-
declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof
|
|
940
|
-
declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof
|
|
941
|
-
declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof
|
|
942
|
-
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof
|
|
943
|
-
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<
|
|
1699
|
+
declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1700
|
+
declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
1701
|
+
declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime.JSX.Element;
|
|
1702
|
+
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime.JSX.Element;
|
|
1703
|
+
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1704
|
+
|
|
1705
|
+
type NumberFormatterProps = React$1.ComponentProps<'span'> & {
|
|
1706
|
+
value: number;
|
|
1707
|
+
prefix?: string;
|
|
1708
|
+
suffix?: string;
|
|
1709
|
+
thousandsSeparator?: string;
|
|
1710
|
+
decimalSeparator?: string;
|
|
1711
|
+
decimalScale?: number;
|
|
1712
|
+
fixedDecimalScale?: boolean;
|
|
1713
|
+
};
|
|
1714
|
+
declare function NumberFormatter({ className, value, prefix, suffix, thousandsSeparator, decimalSeparator, decimalScale, fixedDecimalScale, ...props }: NumberFormatterProps): react_jsx_runtime.JSX.Element;
|
|
1715
|
+
|
|
1716
|
+
type NumberInputProps = Omit<React$1.ComponentProps<'input'>, 'type' | 'value' | 'defaultValue' | 'onChange' | 'size'> & Omit<InputWrapperProps, 'children'> & {
|
|
1717
|
+
value?: number | string;
|
|
1718
|
+
defaultValue?: number | string;
|
|
1719
|
+
onChange?: (value: number | string) => void;
|
|
1720
|
+
size?: ComponentSize;
|
|
1721
|
+
min?: number;
|
|
1722
|
+
max?: number;
|
|
1723
|
+
step?: number;
|
|
1724
|
+
decimalScale?: number;
|
|
1725
|
+
thousandsSeparator?: string;
|
|
1726
|
+
decimalSeparator?: string;
|
|
1727
|
+
/** Show increment/decrement controls */
|
|
1728
|
+
controls?: boolean;
|
|
1729
|
+
leftSection?: React$1.ReactNode;
|
|
1730
|
+
rightSection?: React$1.ReactNode;
|
|
1731
|
+
};
|
|
1732
|
+
declare const NumberInput: React$1.ForwardRefExoticComponent<Omit<NumberInputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
1733
|
+
|
|
1734
|
+
type OverlayProps = React$1.ComponentProps<'div'> & {
|
|
1735
|
+
blur?: number;
|
|
1736
|
+
opacity?: number;
|
|
1737
|
+
color?: string;
|
|
1738
|
+
};
|
|
1739
|
+
declare function Overlay({ className, blur, opacity, color, style, ...props }: OverlayProps): react_jsx_runtime.JSX.Element;
|
|
944
1740
|
|
|
945
1741
|
declare function Pagination({ className, ...props }: React$1.ComponentProps<'nav'>): react_jsx_runtime.JSX.Element;
|
|
946
1742
|
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
|
|
@@ -953,15 +1749,74 @@ declare function PaginationPrevious({ className, ...props }: React$1.ComponentPr
|
|
|
953
1749
|
declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
954
1750
|
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
955
1751
|
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
1752
|
+
type PaperProps = React$1.ComponentProps<'div'> & {
|
|
1753
|
+
padding?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1754
|
+
radius?: ComponentRadius;
|
|
1755
|
+
withBorder?: boolean;
|
|
1756
|
+
shadow?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1757
|
+
};
|
|
1758
|
+
declare function Paper({ className, padding, radius, withBorder, shadow, ...props }: PaperProps): react_jsx_runtime.JSX.Element;
|
|
1759
|
+
|
|
1760
|
+
type PasswordInputBaseProps = Omit<React$1.ComponentProps<'input'>, 'type' | 'size'> & {
|
|
1761
|
+
showToggle?: boolean;
|
|
1762
|
+
size?: ComponentSize;
|
|
1763
|
+
};
|
|
1764
|
+
declare const PasswordInput: React$1.ForwardRefExoticComponent<Omit<PasswordInputBaseProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
1765
|
+
type PasswordInputWithWrapperProps = PasswordInputBaseProps & Omit<InputWrapperProps, 'children'>;
|
|
1766
|
+
declare const PasswordInputWithWrapper: React$1.ForwardRefExoticComponent<Omit<PasswordInputWithWrapperProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
1767
|
+
|
|
1768
|
+
declare const pillVariants: (props?: ({
|
|
1769
|
+
variant?: "default" | "contrast" | null | undefined;
|
|
1770
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
1771
|
+
radius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
1772
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1773
|
+
type PillProps = Omit<React$1.ComponentProps<'span'>, 'disabled'> & VariantProps<typeof pillVariants> & {
|
|
1774
|
+
withRemoveButton?: boolean;
|
|
1775
|
+
onRemove?: () => void;
|
|
1776
|
+
removeButtonProps?: React$1.ComponentProps<typeof CloseButton>;
|
|
1777
|
+
disabled?: boolean;
|
|
1778
|
+
};
|
|
1779
|
+
declare function Pill({ className, variant, size, radius, withRemoveButton, onRemove, removeButtonProps, children, disabled, ...props }: PillProps): react_jsx_runtime.JSX.Element;
|
|
1780
|
+
|
|
1781
|
+
declare function Popover({ ...props }: React$1.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime.JSX.Element;
|
|
1782
|
+
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1783
|
+
declare function PopoverContent({ className, align, alignOffset, side, sideOffset, anchor, ...props }: React$1.ComponentProps<typeof Popover$1.Popup> & {
|
|
1784
|
+
align?: React$1.ComponentProps<typeof Popover$1.Positioner>['align'];
|
|
1785
|
+
alignOffset?: React$1.ComponentProps<typeof Popover$1.Positioner>['alignOffset'];
|
|
1786
|
+
side?: React$1.ComponentProps<typeof Popover$1.Positioner>['side'];
|
|
1787
|
+
sideOffset?: React$1.ComponentProps<typeof Popover$1.Positioner>['sideOffset'];
|
|
1788
|
+
anchor?: React$1.ComponentProps<typeof Popover$1.Positioner>['anchor'];
|
|
1789
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1790
|
+
declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1791
|
+
declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<typeof Popover$1.Title>): react_jsx_runtime.JSX.Element;
|
|
1792
|
+
declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<typeof Popover$1.Description>): react_jsx_runtime.JSX.Element;
|
|
1793
|
+
declare function PopoverAnchor({ ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
960
1794
|
|
|
961
|
-
|
|
1795
|
+
type ProgressProps = React$1.ComponentProps<typeof Progress$1.Root> & {
|
|
1796
|
+
size?: ComponentSize;
|
|
1797
|
+
radius?: ComponentRadius;
|
|
1798
|
+
color?: ComponentColor;
|
|
1799
|
+
};
|
|
1800
|
+
declare function Progress({ className, value, size, radius, color: _color, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
962
1801
|
|
|
963
|
-
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof
|
|
964
|
-
|
|
1802
|
+
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroup$1>): react_jsx_runtime.JSX.Element;
|
|
1803
|
+
type RadioGroupItemProps = React$1.ComponentProps<typeof Radio.Root> & {
|
|
1804
|
+
size?: ComponentSize;
|
|
1805
|
+
variant?: 'outline' | 'filled';
|
|
1806
|
+
};
|
|
1807
|
+
declare function RadioGroupItem({ className, size, variant, ...props }: RadioGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
1808
|
+
|
|
1809
|
+
type RatingProps = Omit<React$1.ComponentProps<'div'>, 'onChange'> & {
|
|
1810
|
+
count?: number;
|
|
1811
|
+
value?: number;
|
|
1812
|
+
onChange?: (value: number) => void;
|
|
1813
|
+
readOnly?: boolean;
|
|
1814
|
+
disabled?: boolean;
|
|
1815
|
+
allowHalf?: boolean;
|
|
1816
|
+
size?: 'sm' | 'md' | 'lg';
|
|
1817
|
+
color?: string;
|
|
1818
|
+
};
|
|
1819
|
+
declare function Rating({ count, value, onChange, readOnly, disabled, allowHalf, size, color, className, ...props }: RatingProps): react_jsx_runtime.JSX.Element;
|
|
965
1820
|
|
|
966
1821
|
declare function ResizablePanelGroup({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
|
|
967
1822
|
declare function ResizablePanel({ ...props }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
|
|
@@ -969,37 +1824,56 @@ declare function ResizableHandle({ withHandle, className, ...props }: React$1.Co
|
|
|
969
1824
|
withHandle?: boolean;
|
|
970
1825
|
}): react_jsx_runtime.JSX.Element;
|
|
971
1826
|
|
|
972
|
-
|
|
973
|
-
|
|
1827
|
+
type RingProgressProps = React$1.ComponentProps<'div'> & {
|
|
1828
|
+
value: number;
|
|
1829
|
+
size?: number;
|
|
1830
|
+
thickness?: number;
|
|
1831
|
+
color?: string;
|
|
1832
|
+
label?: React$1.ReactNode;
|
|
1833
|
+
};
|
|
1834
|
+
declare function RingProgress({ value, size, thickness, color, label, className, ...props }: RingProgressProps): react_jsx_runtime.JSX.Element;
|
|
1835
|
+
|
|
1836
|
+
declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollArea$1.Root>): react_jsx_runtime.JSX.Element;
|
|
1837
|
+
declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollArea$1.Scrollbar>): react_jsx_runtime.JSX.Element;
|
|
974
1838
|
|
|
975
|
-
declare
|
|
976
|
-
declare function SelectGroup({ ...props }:
|
|
977
|
-
declare function SelectValue({ ...props }:
|
|
978
|
-
declare function SelectTrigger({ className, size, children, ...props }:
|
|
1839
|
+
declare const Select: typeof Select$1.Root;
|
|
1840
|
+
declare function SelectGroup({ className, ...props }: Select$1.Group.Props): react_jsx_runtime.JSX.Element;
|
|
1841
|
+
declare function SelectValue({ className, ...props }: Select$1.Value.Props): react_jsx_runtime.JSX.Element;
|
|
1842
|
+
declare function SelectTrigger({ className, size, children, ...props }: Select$1.Trigger.Props & {
|
|
979
1843
|
size?: 'sm' | 'default';
|
|
980
1844
|
}): react_jsx_runtime.JSX.Element;
|
|
981
|
-
declare function SelectContent({ className, children,
|
|
982
|
-
declare function SelectLabel({ className, ...props }:
|
|
983
|
-
declare function SelectItem({ className, children, ...props }:
|
|
984
|
-
declare function SelectSeparator({ className, ...props }:
|
|
985
|
-
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof
|
|
986
|
-
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1845
|
+
declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: Select$1.Popup.Props & Pick<Select$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset' | 'alignItemWithTrigger'>): react_jsx_runtime.JSX.Element;
|
|
1846
|
+
declare function SelectLabel({ className, ...props }: Select$1.GroupLabel.Props): react_jsx_runtime.JSX.Element;
|
|
1847
|
+
declare function SelectItem({ className, children, ...props }: Select$1.Item.Props): react_jsx_runtime.JSX.Element;
|
|
1848
|
+
declare function SelectSeparator({ className, ...props }: Select$1.Separator.Props): react_jsx_runtime.JSX.Element;
|
|
1849
|
+
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollUpArrow>): react_jsx_runtime.JSX.Element;
|
|
1850
|
+
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollDownArrow>): react_jsx_runtime.JSX.Element;
|
|
1851
|
+
|
|
1852
|
+
type SemiCircleProgressProps = React$1.ComponentProps<'div'> & {
|
|
1853
|
+
value: number;
|
|
1854
|
+
size?: number;
|
|
1855
|
+
thickness?: number;
|
|
1856
|
+
color?: string;
|
|
1857
|
+
label?: React$1.ReactNode;
|
|
1858
|
+
};
|
|
1859
|
+
declare function SemiCircleProgress({ className, value, size, thickness, color, label, ...props }: SemiCircleProgressProps): react_jsx_runtime.JSX.Element;
|
|
1860
|
+
|
|
1861
|
+
declare function Sheet({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
1862
|
+
declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1863
|
+
declare function SheetClose({ ...props }: React$1.ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
|
|
1864
|
+
declare function SheetContent({ className, children, side, showCloseButton, ...props }: React$1.ComponentProps<typeof Dialog$1.Popup> & {
|
|
992
1865
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
1866
|
+
showCloseButton?: boolean;
|
|
993
1867
|
}): react_jsx_runtime.JSX.Element;
|
|
994
1868
|
declare function SheetHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
995
1869
|
declare function SheetFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
996
|
-
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof
|
|
997
|
-
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof
|
|
1870
|
+
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
1871
|
+
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
998
1872
|
|
|
999
|
-
declare function TooltipProvider({
|
|
1000
|
-
declare function Tooltip({
|
|
1001
|
-
declare function TooltipTrigger({ ...props }:
|
|
1002
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }:
|
|
1873
|
+
declare function TooltipProvider({ delay, ...props }: Tooltip$1.Provider.Props): react_jsx_runtime.JSX.Element;
|
|
1874
|
+
declare function Tooltip({ ...props }: Tooltip$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
1875
|
+
declare function TooltipTrigger({ ...props }: Tooltip$1.Trigger.Props): react_jsx_runtime.JSX.Element;
|
|
1876
|
+
declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: Tooltip$1.Popup.Props & Pick<Tooltip$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'>): react_jsx_runtime.JSX.Element;
|
|
1003
1877
|
|
|
1004
1878
|
type SidebarContextProps = {
|
|
1005
1879
|
state: 'expanded' | 'collapsed';
|
|
@@ -1036,49 +1910,108 @@ declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<'
|
|
|
1036
1910
|
declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
1037
1911
|
declare function SidebarContent({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1038
1912
|
declare function SidebarGroup({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1039
|
-
declare function SidebarGroupLabel({ className,
|
|
1040
|
-
|
|
1041
|
-
}):
|
|
1042
|
-
declare function SidebarGroupAction({ className,
|
|
1043
|
-
|
|
1044
|
-
}):
|
|
1913
|
+
declare function SidebarGroupLabel({ className, render, ...props }: React$1.ComponentProps<'div'> & {
|
|
1914
|
+
render?: useRender.RenderProp;
|
|
1915
|
+
}): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1916
|
+
declare function SidebarGroupAction({ className, render, ...props }: React$1.ComponentProps<'button'> & {
|
|
1917
|
+
render?: useRender.RenderProp;
|
|
1918
|
+
}): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1045
1919
|
declare function SidebarGroupContent({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1046
1920
|
declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
|
|
1047
1921
|
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
|
|
1048
1922
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
1049
1923
|
variant?: "default" | "outline" | null | undefined;
|
|
1050
|
-
size?: "
|
|
1924
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
1051
1925
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1052
|
-
declare function SidebarMenuButton({
|
|
1053
|
-
|
|
1926
|
+
declare function SidebarMenuButton({ render, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<'button'> & {
|
|
1927
|
+
render?: useRender.RenderProp;
|
|
1054
1928
|
isActive?: boolean;
|
|
1055
1929
|
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
1056
1930
|
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
1057
|
-
declare function SidebarMenuAction({ className,
|
|
1058
|
-
|
|
1931
|
+
declare function SidebarMenuAction({ className, render, showOnHover, ...props }: React$1.ComponentProps<'button'> & {
|
|
1932
|
+
render?: useRender.RenderProp;
|
|
1059
1933
|
showOnHover?: boolean;
|
|
1060
|
-
}):
|
|
1934
|
+
}): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1061
1935
|
declare function SidebarMenuBadge({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1062
1936
|
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React$1.ComponentProps<'div'> & {
|
|
1063
1937
|
showIcon?: boolean;
|
|
1064
1938
|
}): react_jsx_runtime.JSX.Element;
|
|
1065
1939
|
declare function SidebarMenuSub({ className, ...props }: React$1.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
|
|
1066
1940
|
declare function SidebarMenuSubItem({ className, ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
|
|
1067
|
-
declare function SidebarMenuSubButton({
|
|
1068
|
-
|
|
1941
|
+
declare function SidebarMenuSubButton({ render, size, isActive, className, ...props }: React$1.ComponentProps<'a'> & {
|
|
1942
|
+
render?: useRender.RenderProp;
|
|
1069
1943
|
size?: 'sm' | 'md';
|
|
1070
1944
|
isActive?: boolean;
|
|
1071
|
-
}):
|
|
1945
|
+
}): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1946
|
+
|
|
1947
|
+
declare const simpleGridVariants: (props?: ({
|
|
1948
|
+
cols?: 4 | 1 | "auto" | 2 | 3 | 5 | 6 | null | undefined;
|
|
1949
|
+
spacing?: "0" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
1950
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1951
|
+
type SimpleGridProps = React$1.ComponentProps<'div'> & VariantProps<typeof simpleGridVariants> & {
|
|
1952
|
+
verticalSpacing?: '0' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
1953
|
+
minChildWidth?: string | number;
|
|
1954
|
+
};
|
|
1955
|
+
declare function SimpleGrid({ className, cols, spacing, verticalSpacing, minChildWidth, style, children, ...props }: SimpleGridProps): react_jsx_runtime.JSX.Element;
|
|
1072
1956
|
|
|
1073
|
-
|
|
1957
|
+
type SkeletonProps = React.ComponentProps<'div'> & {
|
|
1958
|
+
radius?: ComponentRadius;
|
|
1959
|
+
circle?: boolean;
|
|
1960
|
+
animate?: boolean;
|
|
1961
|
+
};
|
|
1962
|
+
declare function Skeleton({ className, radius: _radius, circle, animate, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
|
|
1074
1963
|
|
|
1075
|
-
declare function Slider({ className, defaultValue, value, min, max, ...props }:
|
|
1964
|
+
declare function Slider({ className, defaultValue, value, min, max, ...props }: Slider$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
1076
1965
|
|
|
1077
1966
|
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
1078
1967
|
|
|
1079
|
-
|
|
1968
|
+
type SpaceProps = React$1.ComponentProps<'div'> & {
|
|
1969
|
+
/** Height (vertical spacer). Theme size or CSS value. */
|
|
1970
|
+
h?: ComponentSize | number | string;
|
|
1971
|
+
/** Width (horizontal spacer). Theme size or CSS value. */
|
|
1972
|
+
w?: ComponentSize | number | string;
|
|
1973
|
+
};
|
|
1974
|
+
declare function Space({ className, h, w, style, ...props }: SpaceProps): react_jsx_runtime.JSX.Element;
|
|
1975
|
+
|
|
1976
|
+
type SpinnerProps = Omit<React.ComponentProps<typeof IconLoader2>, 'size'> & {
|
|
1977
|
+
size?: ComponentSize;
|
|
1978
|
+
};
|
|
1979
|
+
declare function Spinner({ className, size, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
1980
|
+
|
|
1981
|
+
type SpoilerProps = React$1.ComponentProps<'div'> & {
|
|
1982
|
+
maxHeight?: number;
|
|
1983
|
+
showLabel?: string;
|
|
1984
|
+
hideLabel?: string;
|
|
1985
|
+
initialState?: boolean;
|
|
1986
|
+
};
|
|
1987
|
+
declare function Spoiler({ maxHeight, showLabel, hideLabel, initialState, children, className, ...props }: SpoilerProps): react_jsx_runtime.JSX.Element;
|
|
1988
|
+
|
|
1989
|
+
type StackProps = React$1.ComponentProps<'div'> & {
|
|
1990
|
+
gap?: ComponentSize | number;
|
|
1991
|
+
align?: 'start' | 'center' | 'end' | 'stretch';
|
|
1992
|
+
justify?: 'start' | 'center' | 'end' | 'between' | 'around';
|
|
1993
|
+
};
|
|
1994
|
+
declare function Stack({ className, gap, align, justify, style, ...props }: StackProps): react_jsx_runtime.JSX.Element;
|
|
1995
|
+
|
|
1996
|
+
type StepperProps = React$1.ComponentProps<'div'> & {
|
|
1997
|
+
activeStep: number;
|
|
1998
|
+
orientation?: 'horizontal' | 'vertical';
|
|
1999
|
+
totalSteps?: number;
|
|
2000
|
+
};
|
|
2001
|
+
declare function Stepper({ activeStep, orientation, totalSteps, className, children, ...props }: StepperProps): react_jsx_runtime.JSX.Element;
|
|
2002
|
+
type StepProps = React$1.ComponentProps<'div'> & {
|
|
2003
|
+
index: number;
|
|
2004
|
+
label?: string;
|
|
2005
|
+
description?: string;
|
|
2006
|
+
isLast?: boolean;
|
|
2007
|
+
};
|
|
2008
|
+
declare function Step({ index, label, description, isLast, className, children, ...props }: StepProps): react_jsx_runtime.JSX.Element;
|
|
1080
2009
|
|
|
1081
|
-
|
|
2010
|
+
type SwitchProps = React$1.ComponentProps<typeof Switch$1.Root> & {
|
|
2011
|
+
size?: ComponentSize;
|
|
2012
|
+
color?: ComponentColor;
|
|
2013
|
+
};
|
|
2014
|
+
declare function Switch({ className, size, color: _color, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
1082
2015
|
|
|
1083
2016
|
declare function Table({ className, ...props }: React$1.ComponentProps<'table'>): react_jsx_runtime.JSX.Element;
|
|
1084
2017
|
declare function TableHeader({ className, ...props }: React$1.ComponentProps<'thead'>): react_jsx_runtime.JSX.Element;
|
|
@@ -1089,24 +2022,171 @@ declare function TableHead({ className, ...props }: React$1.ComponentProps<'th'>
|
|
|
1089
2022
|
declare function TableCell({ className, ...props }: React$1.ComponentProps<'td'>): react_jsx_runtime.JSX.Element;
|
|
1090
2023
|
declare function TableCaption({ className, ...props }: React$1.ComponentProps<'caption'>): react_jsx_runtime.JSX.Element;
|
|
1091
2024
|
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
2025
|
+
type TableOfContentsItem = {
|
|
2026
|
+
id: string;
|
|
2027
|
+
label: string;
|
|
2028
|
+
depth?: number;
|
|
2029
|
+
};
|
|
2030
|
+
type TableOfContentsProps = React$1.ComponentProps<'nav'> & {
|
|
2031
|
+
items: TableOfContentsItem[];
|
|
2032
|
+
/** Currently active item id (e.g. from scroll spy) */
|
|
2033
|
+
activeId?: string | null;
|
|
2034
|
+
/** Called when an item is clicked (e.g. scroll to #id) */
|
|
2035
|
+
onItemClick?: (id: string) => void;
|
|
2036
|
+
size?: ComponentSize;
|
|
2037
|
+
/** Left padding offset per depth level (px) */
|
|
2038
|
+
depthOffset?: number;
|
|
2039
|
+
minDepth?: number;
|
|
2040
|
+
};
|
|
2041
|
+
declare function TableOfContents({ className, items, activeId, onItemClick, size, depthOffset, minDepth, ...props }: TableOfContentsProps): react_jsx_runtime.JSX.Element;
|
|
2042
|
+
|
|
2043
|
+
declare function Tabs({ className, orientation, ...props }: React$1.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime.JSX.Element;
|
|
2044
|
+
declare const tabsListVariants: (props?: ({
|
|
2045
|
+
variant?: "line" | "default" | null | undefined;
|
|
2046
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2047
|
+
declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.List> & VariantProps<typeof tabsListVariants> & {
|
|
2048
|
+
variant?: 'default' | 'line' | 'outline' | 'pills';
|
|
2049
|
+
radius?: unknown;
|
|
2050
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2051
|
+
declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Tab>): react_jsx_runtime.JSX.Element;
|
|
2052
|
+
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Panel>): react_jsx_runtime.JSX.Element;
|
|
1096
2053
|
|
|
1097
|
-
|
|
2054
|
+
type TagsInputProps = Omit<React$1.ComponentProps<'div'>, 'onChange'> & {
|
|
2055
|
+
value?: string[];
|
|
2056
|
+
defaultValue?: string[];
|
|
2057
|
+
onChange?: (value: string[]) => void;
|
|
2058
|
+
placeholder?: string;
|
|
2059
|
+
maxTags?: number;
|
|
2060
|
+
allowDuplicates?: boolean;
|
|
2061
|
+
splitChars?: string[];
|
|
2062
|
+
disabled?: boolean;
|
|
2063
|
+
};
|
|
2064
|
+
declare function TagsInput({ className, value, defaultValue, onChange, placeholder, maxTags, allowDuplicates, splitChars, disabled, ...props }: TagsInputProps): react_jsx_runtime.JSX.Element;
|
|
2065
|
+
|
|
2066
|
+
declare const textVariants: (props?: ({
|
|
2067
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
2068
|
+
weight?: "bold" | "light" | "normal" | "medium" | "semibold" | "extrabold" | null | undefined;
|
|
2069
|
+
align?: "center" | "left" | "right" | "start" | "end" | "justify" | null | undefined;
|
|
2070
|
+
transform?: "none" | "capitalize" | "lowercase" | "uppercase" | null | undefined;
|
|
2071
|
+
decoration?: "none" | "line-through" | "underline" | null | undefined;
|
|
2072
|
+
variant?: "primary" | "secondary" | "accent" | "destructive" | "default" | "muted" | "success" | "warning" | "dimmed" | null | undefined;
|
|
2073
|
+
truncate?: boolean | null | undefined;
|
|
2074
|
+
inherit?: boolean | null | undefined;
|
|
2075
|
+
italic?: boolean | null | undefined;
|
|
2076
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2077
|
+
type TextProps = React$1.ComponentPropsWithoutRef<'span'> & VariantProps<typeof textVariants> & {
|
|
2078
|
+
as?: 'span' | 'p' | 'div' | 'label' | 'strong' | 'em';
|
|
2079
|
+
lineClamp?: number;
|
|
2080
|
+
gradient?: boolean;
|
|
2081
|
+
span?: boolean;
|
|
2082
|
+
};
|
|
2083
|
+
declare function Text({ className, size, weight, align, transform, decoration, variant, truncate, inherit, italic, as, lineClamp, gradient, span, style, children, ...props }: TextProps): React$1.ReactElement;
|
|
2084
|
+
|
|
2085
|
+
type TextInputProps = Omit<React.ComponentProps<'input'>, 'size'> & Omit<InputWrapperProps, 'children'> & {
|
|
2086
|
+
/** Input size */
|
|
2087
|
+
size?: ComponentSize;
|
|
2088
|
+
/** Left section (icon, text, etc.) */
|
|
2089
|
+
leftSection?: React.ReactNode;
|
|
2090
|
+
/** Right section (icon, button, etc.) */
|
|
2091
|
+
rightSection?: React.ReactNode;
|
|
2092
|
+
/** Pointer events for right section */
|
|
2093
|
+
rightSectionPointerEvents?: 'none' | 'all';
|
|
2094
|
+
};
|
|
2095
|
+
declare const TextInput: React$1.ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
2096
|
+
|
|
2097
|
+
declare const themeIconVariants: (props?: ({
|
|
2098
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
2099
|
+
variant?: "default" | "outline" | "light" | "filled" | "gradient" | "subtle" | null | undefined;
|
|
2100
|
+
color?: "primary" | "secondary" | "accent" | "destructive" | "success" | "warning" | null | undefined;
|
|
2101
|
+
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
2102
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2103
|
+
type ThemeIconProps = React$1.ComponentProps<'div'> & VariantProps<typeof themeIconVariants>;
|
|
2104
|
+
declare function ThemeIcon({ className, size, variant, color, radius, children, ...props }: ThemeIconProps): react_jsx_runtime.JSX.Element;
|
|
2105
|
+
|
|
2106
|
+
declare function Timeline({ className, ...props }: React$1.ComponentProps<'ol'>): react_jsx_runtime.JSX.Element;
|
|
2107
|
+
declare function TimelineItem({ className, ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
|
|
2108
|
+
declare function TimelineDot({ className, variant, ...props }: React$1.ComponentProps<'div'> & {
|
|
2109
|
+
variant?: 'default' | 'primary' | 'secondary';
|
|
2110
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2111
|
+
declare function TimelineContent({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
2112
|
+
declare function TimelineTitle({ className, ...props }: React$1.ComponentProps<'h3'>): react_jsx_runtime.JSX.Element;
|
|
2113
|
+
declare function TimelineDescription({ className, ...props }: React$1.ComponentProps<'p'>): react_jsx_runtime.JSX.Element;
|
|
2114
|
+
declare function TimelineTime({ className, ...props }: React$1.ComponentProps<'time'>): react_jsx_runtime.JSX.Element;
|
|
2115
|
+
|
|
2116
|
+
declare const titleVariants: (props?: ({
|
|
2117
|
+
order?: 4 | 1 | 2 | 3 | 5 | 6 | null | undefined;
|
|
2118
|
+
variant?: "primary" | "secondary" | "accent" | "default" | "muted" | "dimmed" | "gradient" | null | undefined;
|
|
2119
|
+
weight?: "bold" | "light" | "normal" | "medium" | "semibold" | "extrabold" | null | undefined;
|
|
2120
|
+
align?: "center" | "left" | "right" | null | undefined;
|
|
2121
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2122
|
+
type TitleProps = Omit<React$1.ComponentProps<'h1'>, 'ref'> & VariantProps<typeof titleVariants>;
|
|
2123
|
+
declare function Title({ className, order, variant, weight, align, children, ...props }: TitleProps): react_jsx_runtime.JSX.Element;
|
|
1098
2124
|
|
|
1099
2125
|
declare const toggleVariants: (props?: ({
|
|
1100
2126
|
variant?: "default" | "outline" | null | undefined;
|
|
1101
|
-
size?: "
|
|
2127
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
1102
2128
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1103
|
-
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof
|
|
2129
|
+
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof Toggle$1> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1104
2130
|
|
|
1105
|
-
declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React$1.ComponentProps<typeof
|
|
2131
|
+
declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1> & VariantProps<typeof toggleVariants> & {
|
|
1106
2132
|
spacing?: number;
|
|
1107
2133
|
}): react_jsx_runtime.JSX.Element;
|
|
1108
|
-
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
2134
|
+
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof Toggle$1> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
2135
|
+
|
|
2136
|
+
type TransitionName = 'fade' | 'fade-up' | 'fade-down' | 'fade-left' | 'fade-right' | 'slide-down' | 'slide-up' | 'slide-left' | 'slide-right' | 'scale';
|
|
2137
|
+
type TransitionProps = {
|
|
2138
|
+
mounted: boolean;
|
|
2139
|
+
children: (styles: React$1.CSSProperties) => React$1.ReactElement;
|
|
2140
|
+
transition?: TransitionName;
|
|
2141
|
+
duration?: number;
|
|
2142
|
+
exitDuration?: number;
|
|
2143
|
+
timingFunction?: string;
|
|
2144
|
+
keepMounted?: boolean;
|
|
2145
|
+
onExited?: () => void;
|
|
2146
|
+
onEntered?: () => void;
|
|
2147
|
+
onExit?: () => void;
|
|
2148
|
+
onEnter?: () => void;
|
|
2149
|
+
enterDelay?: number;
|
|
2150
|
+
exitDelay?: number;
|
|
2151
|
+
};
|
|
2152
|
+
declare function Transition({ mounted, children, transition, duration, exitDuration, timingFunction, keepMounted, onExited, onEntered, onExit, onEnter, enterDelay, exitDelay, }: TransitionProps): react_jsx_runtime.JSX.Element | null;
|
|
2153
|
+
|
|
2154
|
+
type TreeNodeData = {
|
|
2155
|
+
label: React$1.ReactNode;
|
|
2156
|
+
value: string;
|
|
2157
|
+
children?: TreeNodeData[];
|
|
2158
|
+
nodeProps?: Record<string, unknown>;
|
|
2159
|
+
};
|
|
2160
|
+
type TreeProps = React$1.ComponentProps<'div'> & {
|
|
2161
|
+
data: TreeNodeData[];
|
|
2162
|
+
/** Selected value (controlled) */
|
|
2163
|
+
selectedValue?: string | null;
|
|
2164
|
+
/** Called when selection changes */
|
|
2165
|
+
onSelectedValueChange?: (value: string | null) => void;
|
|
2166
|
+
/** Expanded values (controlled). If undefined, internal state is used. */
|
|
2167
|
+
expandedValues?: Set<string>;
|
|
2168
|
+
onExpandedValuesChange?: (values: Set<string>) => void;
|
|
2169
|
+
/** Padding left per level (px) */
|
|
2170
|
+
levelOffset?: number;
|
|
2171
|
+
/** Expand node on click (when it has children) */
|
|
2172
|
+
expandOnClick?: boolean;
|
|
2173
|
+
/** Select node on click */
|
|
2174
|
+
selectOnClick?: boolean;
|
|
2175
|
+
renderNode?: (payload: {
|
|
2176
|
+
node: TreeNodeData;
|
|
2177
|
+
level: number;
|
|
2178
|
+
expanded: boolean;
|
|
2179
|
+
hasChildren: boolean;
|
|
2180
|
+
selected: boolean;
|
|
2181
|
+
}) => React$1.ReactNode;
|
|
2182
|
+
};
|
|
2183
|
+
declare function Tree({ className, data, selectedValue, onSelectedValueChange, expandedValues: expandedProp, onExpandedValuesChange, levelOffset, expandOnClick, selectOnClick, renderNode, ...props }: TreeProps): react_jsx_runtime.JSX.Element;
|
|
2184
|
+
|
|
2185
|
+
type UnstyledButtonProps = React$1.ComponentProps<'button'> & {
|
|
2186
|
+
render?: React$1.ComponentProps<typeof useRender>['render'];
|
|
2187
|
+
};
|
|
2188
|
+
declare function UnstyledButton({ className, render, ...props }: UnstyledButtonProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
2189
|
+
|
|
2190
|
+
declare function VisuallyHidden({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
2191
|
+
|
|
2192
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionProps, AccordionTrigger, ActionIcon, type ActionIconProps, Affix, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, Anchor, type AnchorProps, AngleSlider, type AngleSliderProps, type AnimatedTabItem, AnimatedTabs, AppBreadcrumbs, AppHeaderActions, AppSidebar, AspectRatio, Avatar, AvatarFallback, AvatarImage, type AvatarProps, BackgroundImage, type BackgroundImageProps, Badge, type BadgeProps, Blockquote, Breadcrumb, BreadcrumbContext, type BreadcrumbContextValue, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemData, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbProvider, BreadcrumbSeparator, Burger, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonLoaderProps, type ButtonProps, Calendar, CalendarDayButton, DisplayTableCaption as Caption, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Center, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, type CheckboxProps, Chip, CloseButton, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorFormat, ColorInput, ColorPicker, type ColorPickerProps, ColorSwatch, type ColorSwatchProps, Combobox, type ComboboxOption, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Container, type ContainerProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuPositioner, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CurrencyOption, DataTable, DataTableAction, DataTableColumnHeader, DataTablePagination, DataTableViewOptions, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayTable, type DisplayTableData, type DisplayTableVariant, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuPositioner, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyCardLoading, type EmptyCardLoadingProps, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, EntityBulkActions, EntityDetailHeader, EntityDrawer, EntityDrawerTrigger, EntityEmptyState, EntityFilter, EntityFormActions, EntityHeader, EntityLoadingState, EntityPageLoading, type EntityPageLoadingProps, EntitySearch, EntitySort, EntityViewToggle, ErrorPageView, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileButton, FileInput, Flex, type FlexProps, FloatingIndicator, type FloatingIndicatorProps, FocusTrap, FocusTrapInitialFocus, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Grid, GridCol, Group, type GroupProps, Highlight, HoverCard, HoverCardContent, HoverCardTrigger, Image, Indicator, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputWrapper, type InputWrapperProps, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, JsonInput, Kbd, KbdGroup, Label, List, ListItem, Loader, type LoaderProps, type LoaderType, LoadingOverlay, type LoadingOverlayProps, LocaleInputRichText, type LocaleInputRichTextProps, LocaleInputText, type LocaleInputTextProps, LocaleInputTextarea, type LocaleInputTextareaProps, LocaleRichText, type LocaleRichTextProps, LocaleText, Mark, type MarkProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarPositioner, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MesobLogo, MoneyInput, type MoneyInputProps, MultiSelect, type MultiSelectOption, NativeSelect, NativeSelectBase, type NativeSelectBaseProps, type NativeSelectOption, type NativeSelectProps, type NavItem, NavLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NoDataAvailable, type NoDataAvailableProps, NumberFormatter, NumberInput, type NumberInputProps, Overlay, PageBody, PageContainer, PageGoBack, PageSection, PageSubTitle, PageTitle, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Paper, type PaperProps, PasswordInput, type PasswordInputBaseProps, PasswordInputWithWrapper, type PasswordInputWithWrapperProps, Pill, type PillProps, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, PoweredBy, Progress, type ProgressProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Rating, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichTextDisplay, RichTextEditor, RichTextEditorContent, RichTextEditorControl, RichTextEditorControlsGroup, RichTextEditorToolbar, RichTextInput, RingProgress, ScrollArea, ScrollBar, DisplayTableScrollContainer as ScrollContainer, Section, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Selector, type SelectorColumn, type SelectorConfig, SelectorFilter, type SelectorFilterOption, SelectorHeader, SelectorModal, type SelectorModalSize, type SelectorParams, type SelectorParamsConfig, SelectorSearch, SelectorSort, type SelectorSortOption, type SelectorViewOption, SelectorViewToggle, SemiCircleProgress, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Shell, Sidebar, SidebarContent, SidebarContext, type SidebarContextProps, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleGrid, type SimpleGridProps, Skeleton, type SkeletonProps, Slider, Space, type SpaceProps, Spinner, type SpinnerProps, Spoiler, SpotlightSearch, Stack, type StackProps, Step, Stepper, Switch, type SwitchProps, type TabItem, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, type TableOfContentsItem, type TableOfContentsProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagsInput, DisplayTableTbody as Tbody, DisplayTableTd as Td, Text, TextInput, type TextInputProps, type TextProps, Textarea, type TextareaBaseProps, TextareaInput, type TextareaInputProps, DisplayTableTfoot as Tfoot, DisplayTableTh as Th, DisplayTableThead as Thead, ThemeIcon, type ThemeIconProps, ThemeToggle, Timeline, TimelineContent, TimelineDescription, TimelineDot, TimelineItem, TimelineTime, TimelineTitle, Title, type TitleProps, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, DisplayTableTr as Tr, Transition, type TransitionName, type TransitionProps, Tree, type TreeNodeData, type TreeProps, UnstyledButton, type UnstyledButtonProps, type UseSelectorParamsReturn, VisuallyHidden, actionIconVariants, anchorVariants, badgeVariants, blockquoteVariants, burgerVariants, buttonVariants, chipVariants, codeVariants, containerVariants, gridColVariants, gridVariants, indicatorVariants, listVariants, navLinkVariants, navigationMenuTriggerStyle, pillVariants, simpleGridVariants, tabsListVariants, textVariants, themeIconVariants, titleVariants, toggleVariants, useBreadcrumbs, useFormField, useRichTextEditorContext, useSelectorParams, useSidebar };
|