@aircall/ds 0.10.0 → 0.13.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/AGENTS.consumer.md +57 -0
- package/README.md +59 -51
- package/dist/globals.css +1 -1
- package/dist/index.d.ts +1707 -1195
- package/dist/index.js +1978 -692
- package/package.json +7 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
|
|
2
3
|
import { ClassValue } from "clsx";
|
|
3
|
-
import * as
|
|
4
|
-
import * as React$2 from "react";
|
|
5
|
-
import React$1 from "react";
|
|
6
|
-
import { AlertDialog as AlertDialog$1 } from "@base-ui/react/alert-dialog";
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
7
5
|
import { Button as Button$1 } from "@base-ui/react/button";
|
|
8
6
|
import { VariantProps } from "class-variance-authority";
|
|
7
|
+
import { AlertDialog as AlertDialog$1 } from "@base-ui/react/alert-dialog";
|
|
9
8
|
import { Avatar as Avatar$1 } from "@base-ui/react/avatar";
|
|
10
9
|
import { useRender } from "@base-ui/react/use-render";
|
|
11
10
|
import { Separator as Separator$1 } from "@base-ui/react/separator";
|
|
@@ -18,14 +17,16 @@ import * as _base_ui_react0 from "@base-ui/react";
|
|
|
18
17
|
import { Combobox as Combobox$1 } from "@base-ui/react";
|
|
19
18
|
import { Command as Command$1 } from "cmdk";
|
|
20
19
|
import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
|
|
21
|
-
import { ColumnDef,
|
|
20
|
+
import { ColumnDef, OnChangeFn, Row, RowSelectionState, SortingState } from "@tanstack/react-table";
|
|
21
|
+
import { ItemInstance } from "@headless-tree/core";
|
|
22
22
|
import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
|
|
23
23
|
import { Radio } from "@base-ui/react/radio";
|
|
24
24
|
import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
|
|
25
25
|
import { Menu } from "@base-ui/react/menu";
|
|
26
26
|
import { Categories, SuggestionMode } from "emoji-picker-react";
|
|
27
27
|
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
28
|
-
import { ThemeProviderProps
|
|
28
|
+
import { ThemeProviderProps, useTheme } from "next-themes";
|
|
29
|
+
import * as input_otp0 from "input-otp";
|
|
29
30
|
import { OTPInput } from "input-otp";
|
|
30
31
|
import { Progress as Progress$1 } from "@base-ui/react/progress";
|
|
31
32
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
@@ -36,161 +37,230 @@ import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
|
36
37
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
37
38
|
import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
|
|
38
39
|
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
39
|
-
import * as
|
|
40
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
40
41
|
import { CountryCode } from "@aircall/numbers";
|
|
41
42
|
|
|
42
43
|
//#region src/components/accordion.d.ts
|
|
43
|
-
declare
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
44
|
+
declare const Accordion: React.ForwardRefExoticComponent<Omit<AccordionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
interface AccordionProps extends Accordion$1.Root.Props {}
|
|
46
|
+
declare namespace Accordion {
|
|
47
|
+
type Props = AccordionProps;
|
|
48
|
+
}
|
|
49
|
+
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
50
|
+
interface AccordionItemProps extends Accordion$1.Item.Props {}
|
|
51
|
+
declare namespace AccordionItem {
|
|
52
|
+
type Props = AccordionItemProps;
|
|
53
|
+
}
|
|
54
|
+
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionTriggerProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
55
|
+
interface AccordionTriggerProps extends Accordion$1.Trigger.Props {}
|
|
56
|
+
declare namespace AccordionTrigger {
|
|
57
|
+
type Props = AccordionTriggerProps;
|
|
58
|
+
}
|
|
59
|
+
declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
60
|
+
interface AccordionContentProps extends Accordion$1.Panel.Props {}
|
|
61
|
+
declare namespace AccordionContent {
|
|
62
|
+
type Props = AccordionContentProps;
|
|
63
|
+
}
|
|
61
64
|
//#endregion
|
|
62
65
|
//#region src/components/button.d.ts
|
|
63
66
|
declare const buttonVariants: (props?: ({
|
|
64
|
-
variant?: "
|
|
65
|
-
size?: "default" | "
|
|
67
|
+
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
68
|
+
size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
66
69
|
block?: boolean | null | undefined;
|
|
67
|
-
} &
|
|
68
|
-
declare const Button: React
|
|
70
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
71
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
69
72
|
interface ButtonProps extends Button$1.Props, VariantProps<typeof buttonVariants> {
|
|
70
|
-
children?: React
|
|
73
|
+
children?: React.ReactNode;
|
|
71
74
|
}
|
|
72
75
|
declare namespace Button {
|
|
73
76
|
type Props = ButtonProps;
|
|
74
77
|
}
|
|
75
78
|
//#endregion
|
|
79
|
+
//#region src/components/action-bar.d.ts
|
|
80
|
+
/** Fixed height of the ActionBar (px). Single source of truth — the bar uses it
|
|
81
|
+
* for its own height and consumers (e.g. DataTable) reserve space with it. */
|
|
82
|
+
declare const ActionBarHeight = 48;
|
|
83
|
+
interface ActionBarContextValue {
|
|
84
|
+
/** Number of selected items. */
|
|
85
|
+
count: number;
|
|
86
|
+
/** Clears the current selection. */
|
|
87
|
+
onClear?: () => void;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Lets a parent (e.g. `DataTable`) supply the selected `count` and an `onClear`
|
|
91
|
+
* handler so an `<ActionBar>` rendered inside it doesn't have to be passed them.
|
|
92
|
+
* Explicit `count`/`onClear` props on `ActionBar` always take precedence, so the
|
|
93
|
+
* component still works standalone. Mirrors React Spectrum's `ActionBarContext`.
|
|
94
|
+
*/
|
|
95
|
+
declare const ActionBarContext: React.Context<ActionBarContextValue | null>;
|
|
96
|
+
/**
|
|
97
|
+
* A button for use inside an `ActionBar`. Always `ghost`; pick `default` (text)
|
|
98
|
+
* or `icon` (icon-only) — other Button variants/sizes are intentionally not
|
|
99
|
+
* exposed so action bars stay visually consistent.
|
|
100
|
+
*/
|
|
101
|
+
interface ActionBarButtonProps extends Omit<React.ComponentProps<typeof Button>, 'variant' | 'size'> {
|
|
102
|
+
size?: 'default' | 'icon';
|
|
103
|
+
}
|
|
104
|
+
declare const ActionBarButton: React.ForwardRefExoticComponent<Omit<ActionBarButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
105
|
+
declare namespace ActionBarButton {
|
|
106
|
+
type Props = ActionBarButtonProps;
|
|
107
|
+
}
|
|
108
|
+
interface ActionBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
109
|
+
/** Number of items currently selected. Falls back to `ActionBarContext` when omitted. */
|
|
110
|
+
count?: number;
|
|
111
|
+
/** Called when the clear button is clicked. Falls back to context; the button hides when neither is set. */
|
|
112
|
+
onClear?: () => void;
|
|
113
|
+
/** Action buttons rendered on the right of the bar — use `ActionBarButton`. */
|
|
114
|
+
children?: React.ReactNode;
|
|
115
|
+
/** Custom label renderer. Defaults to `${count} items selected.`. */
|
|
116
|
+
label?: (count: number) => React.ReactNode;
|
|
117
|
+
/** Accessible label for the clear button. */
|
|
118
|
+
clearLabel?: string;
|
|
119
|
+
}
|
|
120
|
+
declare const ActionBar: React.ForwardRefExoticComponent<ActionBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
121
|
+
declare namespace ActionBar {
|
|
122
|
+
type Props = ActionBarProps;
|
|
123
|
+
}
|
|
124
|
+
//#endregion
|
|
76
125
|
//#region src/components/alert-dialog.d.ts
|
|
77
|
-
declare function AlertDialog(
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
97
|
-
declare
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
declare
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
declare
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
declare
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
126
|
+
declare function AlertDialog(componentProps: AlertDialog.Props): react_jsx_runtime0.JSX.Element;
|
|
127
|
+
interface AlertDialogProps extends AlertDialog$1.Root.Props {}
|
|
128
|
+
declare namespace AlertDialog {
|
|
129
|
+
type Props = AlertDialogProps;
|
|
130
|
+
}
|
|
131
|
+
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<Omit<AlertDialogTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
132
|
+
interface AlertDialogTriggerProps extends AlertDialog$1.Trigger.Props {}
|
|
133
|
+
declare namespace AlertDialogTrigger {
|
|
134
|
+
type Props = AlertDialogTriggerProps;
|
|
135
|
+
}
|
|
136
|
+
declare function AlertDialogPortal(componentProps: AlertDialogPortal.Props): react_jsx_runtime0.JSX.Element;
|
|
137
|
+
interface AlertDialogPortalProps extends AlertDialog$1.Portal.Props {}
|
|
138
|
+
declare namespace AlertDialogPortal {
|
|
139
|
+
type Props = AlertDialogPortalProps;
|
|
140
|
+
}
|
|
141
|
+
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogOverlayProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
142
|
+
interface AlertDialogOverlayProps extends AlertDialog$1.Backdrop.Props {}
|
|
143
|
+
declare namespace AlertDialogOverlay {
|
|
144
|
+
type Props = AlertDialogOverlayProps;
|
|
145
|
+
}
|
|
146
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
147
|
+
interface AlertDialogContentProps extends AlertDialog$1.Popup.Props {
|
|
148
|
+
size?: 'default' | 'sm';
|
|
149
|
+
}
|
|
150
|
+
declare namespace AlertDialogContent {
|
|
151
|
+
type Props = AlertDialogContentProps;
|
|
152
|
+
}
|
|
153
|
+
declare const AlertDialogHeader: React.ForwardRefExoticComponent<Omit<AlertDialogHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
154
|
+
interface AlertDialogHeaderProps extends React.ComponentProps<'div'> {}
|
|
155
|
+
declare namespace AlertDialogHeader {
|
|
156
|
+
type Props = AlertDialogHeaderProps;
|
|
157
|
+
}
|
|
158
|
+
declare const AlertDialogFooter: React.ForwardRefExoticComponent<Omit<AlertDialogFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
159
|
+
interface AlertDialogFooterProps extends React.ComponentProps<'div'> {}
|
|
160
|
+
declare namespace AlertDialogFooter {
|
|
161
|
+
type Props = AlertDialogFooterProps;
|
|
162
|
+
}
|
|
163
|
+
declare const AlertDialogMedia: React.ForwardRefExoticComponent<Omit<AlertDialogMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
164
|
+
interface AlertDialogMediaProps extends React.ComponentProps<'div'> {}
|
|
165
|
+
declare namespace AlertDialogMedia {
|
|
166
|
+
type Props = AlertDialogMediaProps;
|
|
167
|
+
}
|
|
168
|
+
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
169
|
+
interface AlertDialogTitleProps extends React.ComponentProps<typeof AlertDialog$1.Title> {}
|
|
170
|
+
declare namespace AlertDialogTitle {
|
|
171
|
+
type Props = AlertDialogTitleProps;
|
|
172
|
+
}
|
|
173
|
+
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
174
|
+
interface AlertDialogDescriptionProps extends React.ComponentProps<typeof AlertDialog$1.Description> {}
|
|
175
|
+
declare namespace AlertDialogDescription {
|
|
176
|
+
type Props = AlertDialogDescriptionProps;
|
|
177
|
+
}
|
|
178
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogActionProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
179
|
+
interface AlertDialogActionProps extends React.ComponentProps<typeof Button> {}
|
|
180
|
+
declare namespace AlertDialogAction {
|
|
181
|
+
type Props = AlertDialogActionProps;
|
|
182
|
+
}
|
|
183
|
+
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogCancelProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
184
|
+
interface AlertDialogCancelProps extends AlertDialog$1.Close.Props, Pick<React.ComponentProps<typeof Button>, 'variant' | 'size'> {}
|
|
185
|
+
declare namespace AlertDialogCancel {
|
|
186
|
+
type Props = AlertDialogCancelProps;
|
|
187
|
+
}
|
|
127
188
|
//#endregion
|
|
128
189
|
//#region src/components/alert.d.ts
|
|
129
190
|
declare const alertVariants: (props?: ({
|
|
130
|
-
variant?: "default" | "
|
|
131
|
-
} &
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
declare
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
191
|
+
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
192
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
193
|
+
declare const Alert: React.ForwardRefExoticComponent<Omit<AlertProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
194
|
+
interface AlertProps extends React.ComponentProps<'div'>, VariantProps<typeof alertVariants> {}
|
|
195
|
+
declare namespace Alert {
|
|
196
|
+
type Props = AlertProps;
|
|
197
|
+
}
|
|
198
|
+
declare const AlertTitle: React.ForwardRefExoticComponent<Omit<AlertTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
199
|
+
interface AlertTitleProps extends React.ComponentProps<'div'> {}
|
|
200
|
+
declare namespace AlertTitle {
|
|
201
|
+
type Props = AlertTitleProps;
|
|
202
|
+
}
|
|
203
|
+
declare const AlertDescription: React.ForwardRefExoticComponent<Omit<AlertDescriptionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
204
|
+
interface AlertDescriptionProps extends React.ComponentProps<'div'> {}
|
|
205
|
+
declare namespace AlertDescription {
|
|
206
|
+
type Props = AlertDescriptionProps;
|
|
207
|
+
}
|
|
208
|
+
declare const AlertAction: React.ForwardRefExoticComponent<Omit<AlertActionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
209
|
+
interface AlertActionProps extends React.ComponentProps<'div'> {}
|
|
210
|
+
declare namespace AlertAction {
|
|
211
|
+
type Props = AlertActionProps;
|
|
212
|
+
}
|
|
150
213
|
//#endregion
|
|
151
214
|
//#region src/components/avatar.d.ts
|
|
152
|
-
declare const Avatar: React
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
declare
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
declare
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
215
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
216
|
+
interface AvatarProps extends Avatar$1.Root.Props {
|
|
217
|
+
size?: 'xs' | 'sm' | 'default' | 'lg' | 'xl';
|
|
218
|
+
}
|
|
219
|
+
declare namespace Avatar {
|
|
220
|
+
type Props = AvatarProps;
|
|
221
|
+
}
|
|
222
|
+
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarImageProps, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
223
|
+
interface AvatarImageProps extends Avatar$1.Image.Props {}
|
|
224
|
+
declare namespace AvatarImage {
|
|
225
|
+
type Props = AvatarImageProps;
|
|
226
|
+
}
|
|
227
|
+
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarFallbackProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
228
|
+
interface AvatarFallbackProps extends Avatar$1.Fallback.Props {}
|
|
229
|
+
declare namespace AvatarFallback {
|
|
230
|
+
type Props = AvatarFallbackProps;
|
|
231
|
+
}
|
|
232
|
+
declare const AvatarBadge: React.ForwardRefExoticComponent<Omit<AvatarBadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
233
|
+
interface AvatarBadgeProps extends React.ComponentProps<'span'> {}
|
|
234
|
+
declare namespace AvatarBadge {
|
|
235
|
+
type Props = AvatarBadgeProps;
|
|
236
|
+
}
|
|
237
|
+
declare const AvatarGroup: React.ForwardRefExoticComponent<Omit<AvatarGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
238
|
+
interface AvatarGroupProps extends React.ComponentProps<'div'> {}
|
|
239
|
+
declare namespace AvatarGroup {
|
|
240
|
+
type Props = AvatarGroupProps;
|
|
241
|
+
}
|
|
242
|
+
declare const AvatarGroupCount: React.ForwardRefExoticComponent<Omit<AvatarGroupCountProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
243
|
+
interface AvatarGroupCountProps extends React.ComponentProps<'div'> {}
|
|
244
|
+
declare namespace AvatarGroupCount {
|
|
245
|
+
type Props = AvatarGroupCountProps;
|
|
246
|
+
}
|
|
175
247
|
//#endregion
|
|
176
248
|
//#region src/components/counter-badge.d.ts
|
|
177
249
|
declare const counterBadgeVariants: (props?: ({
|
|
178
250
|
variant?: "default" | "secondary" | "ghost" | null | undefined;
|
|
179
|
-
} &
|
|
180
|
-
declare const CounterBadge: React
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}
|
|
185
|
-
variant?: "default" | "secondary" | "ghost" | null | undefined;
|
|
186
|
-
} & class_variance_authority_types6.ClassProp) | undefined) => string>, "ref"> & React$2.RefAttributes<HTMLSpanElement>>;
|
|
251
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
252
|
+
declare const CounterBadge: React.ForwardRefExoticComponent<Omit<CounterBadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
253
|
+
type CounterBadgeProps = useRender.ComponentProps<'span'> & VariantProps<typeof counterBadgeVariants>;
|
|
254
|
+
declare namespace CounterBadge {
|
|
255
|
+
type Props = CounterBadgeProps;
|
|
256
|
+
}
|
|
187
257
|
//#endregion
|
|
188
258
|
//#region src/components/badge.d.ts
|
|
189
259
|
declare const badgeVariants: (props?: ({
|
|
190
260
|
size?: "default" | "lg" | null | undefined;
|
|
191
|
-
color?: "
|
|
192
|
-
tone?: "dark" | "
|
|
193
|
-
} &
|
|
261
|
+
color?: "blue" | "green" | "pink" | "purple" | "red" | "yellow" | "charcoal" | null | undefined;
|
|
262
|
+
tone?: "dark" | "light" | "medium-dark" | "medium-light" | null | undefined;
|
|
263
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
194
264
|
type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
195
265
|
type BadgeColor = NonNullable<BadgeVariants['color']>;
|
|
196
266
|
type BadgeTone = NonNullable<BadgeVariants['tone']>;
|
|
@@ -203,7 +273,7 @@ type BadgeTone = NonNullable<BadgeVariants['tone']>;
|
|
|
203
273
|
* `charcoal` / `light` — or pass a stored hex via `legacyColor`. Icons are
|
|
204
274
|
* composed as children (auto-sized per `size`).
|
|
205
275
|
*/
|
|
206
|
-
declare const Badge: React
|
|
276
|
+
declare const Badge: React.ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
207
277
|
interface BadgeProps extends Omit<useRender.ComponentProps<'span'>, 'color'>, VariantProps<typeof badgeVariants> {
|
|
208
278
|
/**
|
|
209
279
|
* A legacy hard-coded tag hex (e.g. `#0761B5`) from the old palette. When
|
|
@@ -216,38 +286,38 @@ interface BadgeProps extends Omit<useRender.ComponentProps<'span'>, 'color'>, Va
|
|
|
216
286
|
declare namespace Badge {
|
|
217
287
|
type Props = BadgeProps;
|
|
218
288
|
}
|
|
219
|
-
declare const BadgeGroup: React
|
|
289
|
+
declare const BadgeGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
220
290
|
declare namespace BadgeGroup {
|
|
221
|
-
type Props = React
|
|
291
|
+
type Props = React.ComponentProps<'div'>;
|
|
222
292
|
}
|
|
223
293
|
declare const badgeGroupCountVariants: (props?: ({
|
|
224
294
|
size?: "default" | "lg" | null | undefined;
|
|
225
|
-
} &
|
|
226
|
-
declare const BadgeGroupCount: React
|
|
295
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
296
|
+
declare const BadgeGroupCount: React.ForwardRefExoticComponent<Omit<BadgeGroupCount.Props, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
227
297
|
declare namespace BadgeGroupCount {
|
|
228
|
-
type Props = Omit<React
|
|
298
|
+
type Props = Omit<React.ComponentProps<typeof CounterBadge>, 'variant'> & VariantProps<typeof badgeGroupCountVariants>;
|
|
229
299
|
}
|
|
230
300
|
//#endregion
|
|
231
301
|
//#region src/components/banner.d.ts
|
|
232
302
|
declare const bannerVariants: (props?: ({
|
|
233
|
-
variant?: "default" | "
|
|
303
|
+
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
234
304
|
borderDirection?: "bottom" | "top" | null | undefined;
|
|
235
|
-
} &
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
...props
|
|
242
|
-
}: BannerProps): react_jsx_runtime15.JSX.Element;
|
|
305
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
306
|
+
declare const Banner: React.ForwardRefExoticComponent<Omit<BannerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
307
|
+
interface BannerProps extends React.ComponentProps<'div'>, VariantProps<typeof bannerVariants> {}
|
|
308
|
+
declare namespace Banner {
|
|
309
|
+
type Props = BannerProps;
|
|
310
|
+
}
|
|
243
311
|
//#endregion
|
|
244
312
|
//#region src/components/notification-queue.d.ts
|
|
245
313
|
type NotificationPriority = 'error' | 'warning' | 'success' | 'info' | 'promotional';
|
|
246
|
-
declare function NotificationQueueProvider(
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
314
|
+
declare function NotificationQueueProvider(componentProps: NotificationQueueProvider.Props): react_jsx_runtime0.JSX.Element;
|
|
315
|
+
interface NotificationQueueProviderProps {
|
|
316
|
+
children: React.ReactNode;
|
|
317
|
+
}
|
|
318
|
+
declare namespace NotificationQueueProvider {
|
|
319
|
+
type Props = NotificationQueueProviderProps;
|
|
320
|
+
}
|
|
251
321
|
interface NotificationRenderProps {
|
|
252
322
|
/** Dismisses this notification from the queue. */
|
|
253
323
|
dismiss: () => void;
|
|
@@ -277,7 +347,7 @@ interface NotificationOptions {
|
|
|
277
347
|
* </Banner>
|
|
278
348
|
* )
|
|
279
349
|
*/
|
|
280
|
-
render: (props: NotificationRenderProps) => React
|
|
350
|
+
render: (props: NotificationRenderProps) => React.ReactNode;
|
|
281
351
|
}
|
|
282
352
|
interface NotificationHandle {
|
|
283
353
|
/** Dismisses this specific notification. No id/slot required. */
|
|
@@ -298,37 +368,37 @@ interface NotificationSlotProps {
|
|
|
298
368
|
slot: string;
|
|
299
369
|
className?: string;
|
|
300
370
|
}
|
|
301
|
-
declare
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
}
|
|
371
|
+
declare const NotificationSlot: React.ForwardRefExoticComponent<NotificationSlotProps & React.RefAttributes<HTMLDivElement>>;
|
|
372
|
+
declare namespace NotificationSlot {
|
|
373
|
+
type Props = NotificationSlotProps;
|
|
374
|
+
}
|
|
305
375
|
//#endregion
|
|
306
376
|
//#region src/components/separator.d.ts
|
|
307
|
-
declare
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
}
|
|
377
|
+
declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
378
|
+
interface SeparatorProps extends Separator$1.Props {}
|
|
379
|
+
declare namespace Separator {
|
|
380
|
+
type Props = SeparatorProps;
|
|
381
|
+
}
|
|
312
382
|
//#endregion
|
|
313
383
|
//#region src/components/button-group.d.ts
|
|
314
384
|
declare const buttonGroupVariants: (props?: ({
|
|
315
385
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
316
|
-
} &
|
|
317
|
-
declare
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
}
|
|
322
|
-
declare
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
}
|
|
327
|
-
declare
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
}
|
|
386
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
387
|
+
declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
388
|
+
interface ButtonGroupProps extends React.ComponentProps<'div'>, VariantProps<typeof buttonGroupVariants> {}
|
|
389
|
+
declare namespace ButtonGroup {
|
|
390
|
+
type Props = ButtonGroupProps;
|
|
391
|
+
}
|
|
392
|
+
declare const ButtonGroupText: React.ForwardRefExoticComponent<Omit<ButtonGroupTextProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
393
|
+
type ButtonGroupTextProps = useRender.ComponentProps<'div'>;
|
|
394
|
+
declare namespace ButtonGroupText {
|
|
395
|
+
type Props = ButtonGroupTextProps;
|
|
396
|
+
}
|
|
397
|
+
declare const ButtonGroupSeparator: React.ForwardRefExoticComponent<Omit<ButtonGroupSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
398
|
+
interface ButtonGroupSeparatorProps extends React.ComponentProps<typeof Separator> {}
|
|
399
|
+
declare namespace ButtonGroupSeparator {
|
|
400
|
+
type Props = ButtonGroupSeparatorProps;
|
|
401
|
+
}
|
|
332
402
|
//#endregion
|
|
333
403
|
//#region src/components/calendar.d.ts
|
|
334
404
|
declare function Calendar({
|
|
@@ -341,48 +411,65 @@ declare function Calendar({
|
|
|
341
411
|
formatters,
|
|
342
412
|
components,
|
|
343
413
|
...props
|
|
344
|
-
}:
|
|
345
|
-
|
|
346
|
-
|
|
414
|
+
}: Calendar.Props): react_jsx_runtime0.JSX.Element;
|
|
415
|
+
type CalendarProps = React.ComponentProps<typeof DayPicker> & {
|
|
416
|
+
buttonVariant?: React.ComponentProps<typeof Button>['variant'];
|
|
417
|
+
};
|
|
418
|
+
declare namespace Calendar {
|
|
419
|
+
type Props = CalendarProps;
|
|
420
|
+
}
|
|
347
421
|
declare function CalendarDayButton({
|
|
348
422
|
className: dayClassName,
|
|
349
423
|
day,
|
|
350
424
|
modifiers,
|
|
351
425
|
locale,
|
|
352
426
|
...props
|
|
353
|
-
}:
|
|
427
|
+
}: CalendarDayButton.Props): react_jsx_runtime0.JSX.Element;
|
|
428
|
+
interface CalendarDayButtonProps extends React.ComponentProps<typeof DayButton> {
|
|
354
429
|
locale?: Partial<Locale>;
|
|
355
|
-
}
|
|
430
|
+
}
|
|
431
|
+
declare namespace CalendarDayButton {
|
|
432
|
+
type Props = CalendarDayButtonProps;
|
|
433
|
+
}
|
|
356
434
|
//#endregion
|
|
357
435
|
//#region src/components/card.d.ts
|
|
358
|
-
declare
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}
|
|
362
|
-
declare
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
}
|
|
370
|
-
declare
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
declare
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
436
|
+
declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
437
|
+
interface CardProps extends React.ComponentProps<'div'> {
|
|
438
|
+
size?: 'default' | 'sm';
|
|
439
|
+
}
|
|
440
|
+
declare namespace Card {
|
|
441
|
+
type Props = CardProps;
|
|
442
|
+
}
|
|
443
|
+
declare const CardHeader: React.ForwardRefExoticComponent<Omit<CardHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
444
|
+
interface CardHeaderProps extends React.ComponentProps<'div'> {}
|
|
445
|
+
declare namespace CardHeader {
|
|
446
|
+
type Props = CardHeaderProps;
|
|
447
|
+
}
|
|
448
|
+
declare const CardTitle: React.ForwardRefExoticComponent<Omit<CardTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
449
|
+
interface CardTitleProps extends React.ComponentProps<'div'> {}
|
|
450
|
+
declare namespace CardTitle {
|
|
451
|
+
type Props = CardTitleProps;
|
|
452
|
+
}
|
|
453
|
+
declare const CardDescription: React.ForwardRefExoticComponent<Omit<CardDescriptionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
454
|
+
interface CardDescriptionProps extends React.ComponentProps<'div'> {}
|
|
455
|
+
declare namespace CardDescription {
|
|
456
|
+
type Props = CardDescriptionProps;
|
|
457
|
+
}
|
|
458
|
+
declare const CardAction: React.ForwardRefExoticComponent<Omit<CardActionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
459
|
+
interface CardActionProps extends React.ComponentProps<'div'> {}
|
|
460
|
+
declare namespace CardAction {
|
|
461
|
+
type Props = CardActionProps;
|
|
462
|
+
}
|
|
463
|
+
declare const CardContent: React.ForwardRefExoticComponent<Omit<CardContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
464
|
+
interface CardContentProps extends React.ComponentProps<'div'> {}
|
|
465
|
+
declare namespace CardContent {
|
|
466
|
+
type Props = CardContentProps;
|
|
467
|
+
}
|
|
468
|
+
declare const CardFooter: React.ForwardRefExoticComponent<Omit<CardFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
469
|
+
interface CardFooterProps extends React.ComponentProps<'div'> {}
|
|
470
|
+
declare namespace CardFooter {
|
|
471
|
+
type Props = CardFooterProps;
|
|
472
|
+
}
|
|
386
473
|
//#endregion
|
|
387
474
|
//#region src/components/carousel.d.ts
|
|
388
475
|
type CarouselApi = UseEmblaCarouselType[1];
|
|
@@ -395,38 +482,37 @@ type CarouselProps = {
|
|
|
395
482
|
orientation?: 'horizontal' | 'vertical';
|
|
396
483
|
setApi?: (api: CarouselApi) => void;
|
|
397
484
|
};
|
|
398
|
-
declare
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
}
|
|
407
|
-
declare
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
className,
|
|
423
|
-
variant,
|
|
424
|
-
size,
|
|
425
|
-
...props
|
|
426
|
-
}: React$2.ComponentProps<typeof Button>): react_jsx_runtime15.JSX.Element;
|
|
485
|
+
declare const Carousel: React.ForwardRefExoticComponent<Omit<Carousel.Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
486
|
+
declare namespace Carousel {
|
|
487
|
+
type Props = React.ComponentProps<'div'> & CarouselProps;
|
|
488
|
+
}
|
|
489
|
+
declare const CarouselContent: React.ForwardRefExoticComponent<Omit<CarouselContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
490
|
+
interface CarouselContentProps extends React.ComponentProps<'div'> {}
|
|
491
|
+
declare namespace CarouselContent {
|
|
492
|
+
type Props = CarouselContentProps;
|
|
493
|
+
}
|
|
494
|
+
declare const CarouselItem: React.ForwardRefExoticComponent<Omit<CarouselItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
495
|
+
interface CarouselItemProps extends React.ComponentProps<'div'> {}
|
|
496
|
+
declare namespace CarouselItem {
|
|
497
|
+
type Props = CarouselItemProps;
|
|
498
|
+
}
|
|
499
|
+
declare const CarouselPrevious: React.ForwardRefExoticComponent<Omit<CarouselPreviousProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
500
|
+
interface CarouselPreviousProps extends React.ComponentProps<typeof Button> {}
|
|
501
|
+
declare namespace CarouselPrevious {
|
|
502
|
+
type Props = CarouselPreviousProps;
|
|
503
|
+
}
|
|
504
|
+
declare const CarouselNext: React.ForwardRefExoticComponent<Omit<CarouselNextProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
505
|
+
interface CarouselNextProps extends React.ComponentProps<typeof Button> {}
|
|
506
|
+
declare namespace CarouselNext {
|
|
507
|
+
type Props = CarouselNextProps;
|
|
508
|
+
}
|
|
427
509
|
//#endregion
|
|
428
510
|
//#region src/components/checkbox.d.ts
|
|
429
|
-
declare const Checkbox: React
|
|
511
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
512
|
+
interface CheckboxProps extends Checkbox$1.Root.Props {}
|
|
513
|
+
declare namespace Checkbox {
|
|
514
|
+
type Props = CheckboxProps;
|
|
515
|
+
}
|
|
430
516
|
//#endregion
|
|
431
517
|
//#region src/components/chip.d.ts
|
|
432
518
|
/**
|
|
@@ -434,9 +520,9 @@ declare const Checkbox: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.C
|
|
|
434
520
|
* inherits the chip's text color and brightens on hover. Exported so the
|
|
435
521
|
* combobox can reuse the exact treatment for its Base-UI-bound chips.
|
|
436
522
|
*/
|
|
437
|
-
declare const ChipRemove: React
|
|
523
|
+
declare const ChipRemove: React.ForwardRefExoticComponent<Omit<ChipRemoveProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
438
524
|
interface ChipRemoveProps extends Button.Props {
|
|
439
|
-
children?: React
|
|
525
|
+
children?: React.ReactNode;
|
|
440
526
|
}
|
|
441
527
|
declare namespace ChipRemove {
|
|
442
528
|
type Props = ChipRemoveProps;
|
|
@@ -447,7 +533,7 @@ declare namespace ChipRemove {
|
|
|
447
533
|
* non-interactive — only the X reacts to hover. For combobox-bound chips that
|
|
448
534
|
* must drive Base UI's selection state, see `ComboboxChip`.
|
|
449
535
|
*/
|
|
450
|
-
declare const Chip: React
|
|
536
|
+
declare const Chip: React.ForwardRefExoticComponent<Omit<ChipProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
451
537
|
interface ChipProps extends Omit<Badge.Props, 'size' | 'render'> {
|
|
452
538
|
color?: BadgeColor;
|
|
453
539
|
tone?: BadgeTone;
|
|
@@ -467,7 +553,7 @@ declare namespace Chip {
|
|
|
467
553
|
* `max-w-36` (144px). Compose inside a `FilterGroup` with a trailing
|
|
468
554
|
* `FilterClearAllButton` (see the FilterBar story).
|
|
469
555
|
*/
|
|
470
|
-
declare const Filter: React
|
|
556
|
+
declare const Filter: React.ForwardRefExoticComponent<FilterProps & React.RefAttributes<HTMLSpanElement>>;
|
|
471
557
|
interface FilterProps extends Pick<Chip.Props, 'className' | 'children'> {
|
|
472
558
|
/** Called when the trailing X is activated to clear this filter. */
|
|
473
559
|
onRemove: () => void;
|
|
@@ -483,46 +569,52 @@ declare namespace Filter {
|
|
|
483
569
|
* horizontal `ScrollArea` (inset scroll + edge fade) — it does not wrap onto
|
|
484
570
|
* multiple lines.
|
|
485
571
|
*/
|
|
486
|
-
declare const FilterGroup: React
|
|
572
|
+
declare const FilterGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
487
573
|
declare namespace FilterGroup {
|
|
488
|
-
type Props = React
|
|
574
|
+
type Props = React.ComponentProps<'div'>;
|
|
489
575
|
}
|
|
490
576
|
/**
|
|
491
577
|
* The trailing "Clear all filters" action for a `FilterGroup` — a ghost,
|
|
492
578
|
* small `Button` with the styling pinned. Provide `onClick`; the label
|
|
493
579
|
* defaults to "Clear all filters" (pass translated `children` to override).
|
|
494
580
|
*/
|
|
495
|
-
declare const FilterClearAllButton: React
|
|
581
|
+
declare const FilterClearAllButton: React.ForwardRefExoticComponent<Omit<FilterClearAllButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
496
582
|
interface FilterClearAllButtonProps extends Omit<Button.Props, 'variant' | 'size'> {}
|
|
497
583
|
declare namespace FilterClearAllButton {
|
|
498
584
|
type Props = FilterClearAllButtonProps;
|
|
499
585
|
}
|
|
500
586
|
//#endregion
|
|
501
587
|
//#region src/components/collapsible.d.ts
|
|
502
|
-
declare
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
588
|
+
declare const Collapsible: React.ForwardRefExoticComponent<Omit<CollapsibleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
589
|
+
interface CollapsibleProps extends Collapsible$1.Root.Props {}
|
|
590
|
+
declare namespace Collapsible {
|
|
591
|
+
type Props = CollapsibleProps;
|
|
592
|
+
}
|
|
593
|
+
declare const CollapsibleTrigger: React.ForwardRefExoticComponent<Omit<CollapsibleTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
594
|
+
interface CollapsibleTriggerProps extends Collapsible$1.Trigger.Props {}
|
|
595
|
+
declare namespace CollapsibleTrigger {
|
|
596
|
+
type Props = CollapsibleTriggerProps;
|
|
597
|
+
}
|
|
598
|
+
declare const CollapsibleContent: React.ForwardRefExoticComponent<Omit<CollapsibleContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
599
|
+
interface CollapsibleContentProps extends Collapsible$1.Panel.Props {}
|
|
600
|
+
declare namespace CollapsibleContent {
|
|
601
|
+
type Props = CollapsibleContentProps;
|
|
602
|
+
}
|
|
511
603
|
//#endregion
|
|
512
604
|
//#region src/components/combobox.d.ts
|
|
513
605
|
declare const Combobox: typeof Combobox$1.Root;
|
|
514
|
-
declare function ComboboxValue(componentProps: ComboboxValue.Props):
|
|
606
|
+
declare function ComboboxValue(componentProps: ComboboxValue.Props): react_jsx_runtime0.JSX.Element;
|
|
515
607
|
declare namespace ComboboxValue {
|
|
516
608
|
type Props = Combobox$1.Value.Props;
|
|
517
609
|
}
|
|
518
|
-
declare const ComboboxTrigger: React
|
|
610
|
+
declare const ComboboxTrigger: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
519
611
|
declare namespace ComboboxTrigger {
|
|
520
612
|
type Props = Combobox$1.Trigger.Props;
|
|
521
613
|
}
|
|
522
614
|
declare namespace ComboboxClear {
|
|
523
615
|
type Props = Combobox$1.Clear.Props;
|
|
524
616
|
}
|
|
525
|
-
declare const ComboboxInput: React
|
|
617
|
+
declare const ComboboxInput: React.ForwardRefExoticComponent<ComboboxInputProps & React.RefAttributes<HTMLDivElement>>;
|
|
526
618
|
interface ComboboxInputProps extends Omit<Combobox$1.Input.Props, 'ref'> {
|
|
527
619
|
showTrigger?: boolean;
|
|
528
620
|
showClear?: boolean;
|
|
@@ -530,167 +622,295 @@ interface ComboboxInputProps extends Omit<Combobox$1.Input.Props, 'ref'> {
|
|
|
530
622
|
declare namespace ComboboxInput {
|
|
531
623
|
type Props = ComboboxInputProps;
|
|
532
624
|
}
|
|
533
|
-
declare const ComboboxContent: React
|
|
625
|
+
declare const ComboboxContent: React.ForwardRefExoticComponent<Omit<ComboboxContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
534
626
|
interface ComboboxContentProps extends Combobox$1.Popup.Props, Pick<Combobox$1.Positioner.Props, 'side' | 'align' | 'sideOffset' | 'alignOffset' | 'anchor'> {}
|
|
535
627
|
declare namespace ComboboxContent {
|
|
536
628
|
type Props = ComboboxContentProps;
|
|
537
629
|
}
|
|
538
|
-
declare const ComboboxList: React
|
|
630
|
+
declare const ComboboxList: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
539
631
|
declare namespace ComboboxList {
|
|
540
632
|
type Props = Combobox$1.List.Props;
|
|
541
633
|
}
|
|
542
|
-
declare const ComboboxItem: React
|
|
634
|
+
declare const ComboboxItem: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
543
635
|
declare namespace ComboboxItem {
|
|
544
636
|
type Props = Combobox$1.Item.Props;
|
|
545
637
|
}
|
|
546
|
-
declare const ComboboxGroup: React
|
|
638
|
+
declare const ComboboxGroup: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
547
639
|
declare namespace ComboboxGroup {
|
|
548
640
|
type Props = Combobox$1.Group.Props;
|
|
549
641
|
}
|
|
550
|
-
declare const ComboboxLabel: React
|
|
642
|
+
declare const ComboboxLabel: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
551
643
|
declare namespace ComboboxLabel {
|
|
552
644
|
type Props = Combobox$1.GroupLabel.Props;
|
|
553
645
|
}
|
|
554
|
-
declare function ComboboxCollection(componentProps: ComboboxCollection.Props):
|
|
646
|
+
declare function ComboboxCollection(componentProps: ComboboxCollection.Props): react_jsx_runtime0.JSX.Element;
|
|
555
647
|
declare namespace ComboboxCollection {
|
|
556
648
|
type Props = Combobox$1.Collection.Props;
|
|
557
649
|
}
|
|
558
|
-
declare const ComboboxEmpty: React
|
|
650
|
+
declare const ComboboxEmpty: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
559
651
|
declare namespace ComboboxEmpty {
|
|
560
652
|
type Props = Combobox$1.Empty.Props;
|
|
561
653
|
}
|
|
562
|
-
declare const ComboboxSeparator: React
|
|
654
|
+
declare const ComboboxSeparator: React.ForwardRefExoticComponent<Omit<_base_ui_react0.SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
563
655
|
declare namespace ComboboxSeparator {
|
|
564
656
|
type Props = Combobox$1.Separator.Props;
|
|
565
657
|
}
|
|
566
|
-
declare const ComboboxChips: React
|
|
658
|
+
declare const ComboboxChips: React.ForwardRefExoticComponent<Omit<ComboboxChips.Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
567
659
|
declare namespace ComboboxChips {
|
|
568
|
-
type Props = React
|
|
660
|
+
type Props = React.ComponentPropsWithoutRef<typeof Combobox$1.Chips> & Combobox$1.Chips.Props;
|
|
569
661
|
}
|
|
570
|
-
declare const ComboboxChip: React
|
|
662
|
+
declare const ComboboxChip: React.ForwardRefExoticComponent<Omit<ComboboxChipProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
571
663
|
interface ComboboxChipProps extends Combobox$1.Chip.Props, Pick<Chip.Props, 'color' | 'tone' | 'legacyColor'> {
|
|
572
664
|
showRemove?: boolean;
|
|
573
665
|
}
|
|
574
666
|
declare namespace ComboboxChip {
|
|
575
667
|
type Props = ComboboxChipProps;
|
|
576
668
|
}
|
|
577
|
-
declare const ComboboxChipsInput: React
|
|
578
|
-
declare function useComboboxAnchor(): React
|
|
669
|
+
declare const ComboboxChipsInput: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
670
|
+
declare function useComboboxAnchor(): React.MutableRefObject<HTMLDivElement | null>;
|
|
579
671
|
//#endregion
|
|
580
672
|
//#region src/components/dialog.d.ts
|
|
581
|
-
declare function Dialog(
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
declare
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
673
|
+
declare function Dialog(componentProps: Dialog.Props): react_jsx_runtime0.JSX.Element;
|
|
674
|
+
interface DialogProps extends Dialog$1.Root.Props {}
|
|
675
|
+
declare namespace Dialog {
|
|
676
|
+
type Props = DialogProps;
|
|
677
|
+
}
|
|
678
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<Omit<DialogTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
679
|
+
interface DialogTriggerProps extends Dialog$1.Trigger.Props {}
|
|
680
|
+
declare namespace DialogTrigger {
|
|
681
|
+
type Props = DialogTriggerProps;
|
|
682
|
+
}
|
|
683
|
+
declare function DialogPortal(componentProps: DialogPortal.Props): react_jsx_runtime0.JSX.Element;
|
|
684
|
+
interface DialogPortalProps extends Dialog$1.Portal.Props {}
|
|
685
|
+
declare namespace DialogPortal {
|
|
686
|
+
type Props = DialogPortalProps;
|
|
687
|
+
}
|
|
688
|
+
declare const DialogClose: React.ForwardRefExoticComponent<Omit<DialogCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
689
|
+
interface DialogCloseProps extends Dialog$1.Close.Props {}
|
|
690
|
+
declare namespace DialogClose {
|
|
691
|
+
type Props = DialogCloseProps;
|
|
692
|
+
}
|
|
693
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogOverlayProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
694
|
+
interface DialogOverlayProps extends Dialog$1.Backdrop.Props {}
|
|
695
|
+
declare namespace DialogOverlay {
|
|
696
|
+
type Props = DialogOverlayProps;
|
|
697
|
+
}
|
|
698
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
699
|
+
interface DialogContentProps extends Dialog$1.Popup.Props {
|
|
603
700
|
showCloseButton?: boolean;
|
|
604
|
-
}
|
|
605
|
-
declare
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
701
|
+
}
|
|
702
|
+
declare namespace DialogContent {
|
|
703
|
+
type Props = DialogContentProps;
|
|
704
|
+
}
|
|
705
|
+
declare const DialogHeader: React.ForwardRefExoticComponent<Omit<DialogHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
706
|
+
interface DialogHeaderProps extends React.ComponentProps<'div'> {}
|
|
707
|
+
declare namespace DialogHeader {
|
|
708
|
+
type Props = DialogHeaderProps;
|
|
709
|
+
}
|
|
710
|
+
declare const DialogFooter: React.ForwardRefExoticComponent<Omit<DialogFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
711
|
+
interface DialogFooterProps extends React.ComponentProps<'div'> {
|
|
615
712
|
showCloseButton?: boolean;
|
|
616
|
-
}
|
|
617
|
-
declare
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
}
|
|
713
|
+
}
|
|
714
|
+
declare namespace DialogFooter {
|
|
715
|
+
type Props = DialogFooterProps;
|
|
716
|
+
}
|
|
717
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
718
|
+
interface DialogTitleProps extends Dialog$1.Title.Props {}
|
|
719
|
+
declare namespace DialogTitle {
|
|
720
|
+
type Props = DialogTitleProps;
|
|
721
|
+
}
|
|
722
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
723
|
+
interface DialogDescriptionProps extends Dialog$1.Description.Props {}
|
|
724
|
+
declare namespace DialogDescription {
|
|
725
|
+
type Props = DialogDescriptionProps;
|
|
726
|
+
}
|
|
625
727
|
//#endregion
|
|
626
728
|
//#region src/components/command.d.ts
|
|
627
|
-
declare
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
children,
|
|
635
|
-
...props
|
|
636
|
-
}: React$2.ComponentProps<typeof Dialog> & {
|
|
729
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<CommandProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
730
|
+
interface CommandProps extends React.ComponentProps<typeof Command$1> {}
|
|
731
|
+
declare namespace Command {
|
|
732
|
+
type Props = CommandProps;
|
|
733
|
+
}
|
|
734
|
+
declare function CommandDialog(componentProps: CommandDialog.Props): react_jsx_runtime0.JSX.Element;
|
|
735
|
+
interface CommandDialogProps extends React.ComponentProps<typeof Dialog> {
|
|
637
736
|
title?: string;
|
|
638
737
|
description?: string;
|
|
639
|
-
}
|
|
640
|
-
declare
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
}
|
|
648
|
-
declare
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
declare
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
}
|
|
663
|
-
declare
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
738
|
+
}
|
|
739
|
+
declare namespace CommandDialog {
|
|
740
|
+
type Props = CommandDialogProps;
|
|
741
|
+
}
|
|
742
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<CommandInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
743
|
+
interface CommandInputProps extends React.ComponentProps<typeof Command$1.Input> {}
|
|
744
|
+
declare namespace CommandInput {
|
|
745
|
+
type Props = CommandInputProps;
|
|
746
|
+
}
|
|
747
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<CommandListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
748
|
+
interface CommandListProps extends React.ComponentProps<typeof Command$1.List> {}
|
|
749
|
+
declare namespace CommandList {
|
|
750
|
+
type Props = CommandListProps;
|
|
751
|
+
}
|
|
752
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<CommandEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
753
|
+
interface CommandEmptyProps extends React.ComponentProps<typeof Command$1.Empty> {}
|
|
754
|
+
declare namespace CommandEmpty {
|
|
755
|
+
type Props = CommandEmptyProps;
|
|
756
|
+
}
|
|
757
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<CommandGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
758
|
+
interface CommandGroupProps extends React.ComponentProps<typeof Command$1.Group> {}
|
|
759
|
+
declare namespace CommandGroup {
|
|
760
|
+
type Props = CommandGroupProps;
|
|
761
|
+
}
|
|
762
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<CommandSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
763
|
+
interface CommandSeparatorProps extends React.ComponentProps<typeof Command$1.Separator> {}
|
|
764
|
+
declare namespace CommandSeparator {
|
|
765
|
+
type Props = CommandSeparatorProps;
|
|
766
|
+
}
|
|
767
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<CommandItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
768
|
+
interface CommandItemProps extends React.ComponentProps<typeof Command$1.Item> {}
|
|
769
|
+
declare namespace CommandItem {
|
|
770
|
+
type Props = CommandItemProps;
|
|
771
|
+
}
|
|
772
|
+
declare const CommandShortcut: React.ForwardRefExoticComponent<Omit<CommandShortcutProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
773
|
+
interface CommandShortcutProps extends React.ComponentProps<'span'> {}
|
|
774
|
+
declare namespace CommandShortcut {
|
|
775
|
+
type Props = CommandShortcutProps;
|
|
776
|
+
}
|
|
667
777
|
//#endregion
|
|
668
778
|
//#region src/components/country-flag.d.ts
|
|
669
779
|
type FlagSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
780
|
+
declare const CountryFlag: React.ForwardRefExoticComponent<CountryFlagProps & React.RefAttributes<SVGSVGElement>>;
|
|
670
781
|
interface CountryFlagProps {
|
|
671
782
|
countryIsoCode: CountryCode;
|
|
672
783
|
size?: FlagSize;
|
|
673
784
|
className?: string;
|
|
674
785
|
}
|
|
675
|
-
declare
|
|
786
|
+
declare namespace CountryFlag {
|
|
787
|
+
type Props = CountryFlagProps;
|
|
788
|
+
}
|
|
676
789
|
//#endregion
|
|
677
790
|
//#region src/components/data-table.d.ts
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
/**
|
|
791
|
+
/** Async states a `DataTable` can be in (mirrors React Spectrum's `loadingState`). */
|
|
792
|
+
type DataTableLoadingState = 'idle' | 'loading' | 'sorting' | 'filtering' | 'loadingMore';
|
|
793
|
+
interface DataTableProps<TData> {
|
|
794
|
+
/**
|
|
795
|
+
* Column definitions for the table. Define a column's `footer` to render a
|
|
796
|
+
* summary row — the table auto-shows a `<tfoot>` when any column has one, with
|
|
797
|
+
* footer cells aligned under their columns.
|
|
798
|
+
*/
|
|
799
|
+
columns: ColumnDef<TData, unknown>[];
|
|
800
|
+
/** Data array to render. With server-side sorting/pagination, this is the already-prepared page. */
|
|
682
801
|
data: TData[];
|
|
683
|
-
/**
|
|
684
|
-
|
|
685
|
-
/**
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
802
|
+
/** Stable row id resolver. Required for selection to persist across data changes. */
|
|
803
|
+
getRowId?: (row: TData, index: number) => string;
|
|
804
|
+
/**
|
|
805
|
+
* The table's async state (mirrors React Spectrum's single `loadingState`):
|
|
806
|
+
* - `'loading'` — initial load with no data yet; the body shows skeleton rows.
|
|
807
|
+
* - `'sorting'` / `'filtering'` — re-querying an already-loaded table; the
|
|
808
|
+
* current rows stay in place under a dimmed overlay with a spinner.
|
|
809
|
+
* - `'loadingMore'` — fetching the next page for infinite scroll; a spinner
|
|
810
|
+
* row renders at the bottom.
|
|
811
|
+
* Omit (or `'idle'`) when not loading.
|
|
812
|
+
*/
|
|
813
|
+
loadingState?: DataTableLoadingState;
|
|
814
|
+
/** Number of skeleton rows when `loadingState` is `'loading'`. */
|
|
815
|
+
skeletonCount?: number;
|
|
816
|
+
/**
|
|
817
|
+
* Rendered when there are no rows and not loading. Provide an `<Empty>`
|
|
818
|
+
* component (icon, copy, actions) — render different content based on context
|
|
819
|
+
* (no data vs. no search results). Nothing is shown when omitted.
|
|
820
|
+
*/
|
|
821
|
+
emptyState?: React.ReactNode;
|
|
822
|
+
/** Controlled sorting state. Pass alongside `onSortingChange` to enable sortable headers. */
|
|
823
|
+
sorting?: SortingState;
|
|
824
|
+
/** Called when the user toggles a sortable header. */
|
|
825
|
+
onSortingChange?: OnChangeFn<SortingState>;
|
|
826
|
+
/**
|
|
827
|
+
* Enables interactive column resizing. Each resizable header gets a drag
|
|
828
|
+
* handle on its right edge; column widths come from each column's `size`
|
|
829
|
+
* (and are bounded by `minSize`/`maxSize`). Set `enableResizing: false` on a
|
|
830
|
+
* column def to pin it (e.g. an actions column).
|
|
831
|
+
*/
|
|
832
|
+
enableColumnResizing?: boolean;
|
|
833
|
+
/** Enables row selection. When truthy, a checkbox column is auto-prepended. */
|
|
834
|
+
enableRowSelection?: boolean | ((row: Row<TData>) => boolean);
|
|
835
|
+
/** Controlled selection state. */
|
|
836
|
+
rowSelection?: RowSelectionState;
|
|
837
|
+
/** Called when selection changes. */
|
|
838
|
+
onRowSelectionChange?: OnChangeFn<RowSelectionState>;
|
|
839
|
+
/** Bar rendered floating at the bottom while there is at least one selected row. */
|
|
840
|
+
actionBar?: React.ReactNode;
|
|
841
|
+
/** Called when the user scrolls near the bottom; use to fetch the next page. */
|
|
842
|
+
onFetchMore?: () => void;
|
|
843
|
+
/** Whether more pages are available. */
|
|
844
|
+
hasMore?: boolean;
|
|
845
|
+
/**
|
|
846
|
+
* Called when a data row is activated by click. With row selection enabled,
|
|
847
|
+
* this fires only while nothing is selected — once there is a selection, a row
|
|
848
|
+
* click toggles that row instead (the "click anywhere to select" pattern, as in
|
|
849
|
+
* React Spectrum). Clicks on the selection checkbox never fire this.
|
|
850
|
+
*/
|
|
851
|
+
onRowClick?: (row: TData) => void;
|
|
852
|
+
/**
|
|
853
|
+
* Fills the parent's height and scrolls the table body internally, keeping
|
|
854
|
+
* the header pinned (sticky). The parent must provide a bounded height — e.g.
|
|
855
|
+
* a flex column (`flex flex-col` + `min-h-0`). Common for full-page lists.
|
|
856
|
+
*/
|
|
857
|
+
fillHeight?: boolean;
|
|
858
|
+
className?: string;
|
|
859
|
+
}
|
|
860
|
+
declare function DataTable<TData>(componentProps: DataTable.Props<TData>): react_jsx_runtime0.JSX.Element;
|
|
861
|
+
declare namespace DataTable {
|
|
862
|
+
type Props<TData> = DataTableProps<TData>;
|
|
863
|
+
}
|
|
864
|
+
//#endregion
|
|
865
|
+
//#region src/components/data-tree.d.ts
|
|
866
|
+
type SelectionMode = 'none' | 'single' | 'multiple';
|
|
867
|
+
interface DataTreeProps<T> {
|
|
868
|
+
/** Nested data. Each node may expose children via `getChildren`. */
|
|
869
|
+
items: T[];
|
|
870
|
+
/** Stable, unique key for a node. */
|
|
871
|
+
getKey: (item: T) => string;
|
|
872
|
+
/** Renders a node's label (text or rich content). */
|
|
873
|
+
getLabel: (item: T) => React.ReactNode;
|
|
874
|
+
/** Returns a node's children, or `undefined`/`[]` for a leaf. */
|
|
875
|
+
getChildren?: (item: T) => T[] | undefined;
|
|
876
|
+
/** Optional leading icon, resolved per node and folder/expansion state. */
|
|
877
|
+
getIcon?: (item: T, state: {
|
|
878
|
+
isFolder: boolean;
|
|
879
|
+
isExpanded: boolean;
|
|
880
|
+
}) => React.ReactNode;
|
|
881
|
+
/**
|
|
882
|
+
* Plain-text value used for typeahead and accessibility. Defaults to the
|
|
883
|
+
* label when it is a string, otherwise the key.
|
|
884
|
+
*/
|
|
885
|
+
getTextValue?: (item: T) => string;
|
|
886
|
+
/**
|
|
887
|
+
* Selection behaviour (mirrors React Spectrum):
|
|
888
|
+
* - `'none'` (default) — no selection affordance.
|
|
889
|
+
* - `'single'` — one row highlighted on click.
|
|
890
|
+
* - `'multiple'` — tri-state checkboxes with parent↔child cascade.
|
|
891
|
+
*/
|
|
892
|
+
selectionMode?: SelectionMode;
|
|
893
|
+
/** Controlled selected keys. */
|
|
894
|
+
selectedKeys?: string[];
|
|
895
|
+
/** Initial selected keys (uncontrolled). */
|
|
896
|
+
defaultSelectedKeys?: string[];
|
|
897
|
+
/** Called when the selection changes. */
|
|
898
|
+
onSelectionChange?: (keys: string[]) => void;
|
|
899
|
+
/** Controlled expanded keys. */
|
|
900
|
+
expandedKeys?: string[];
|
|
901
|
+
/** Initial expanded keys (uncontrolled). */
|
|
902
|
+
defaultExpandedKeys?: string[];
|
|
903
|
+
/** Called when the expanded set changes. */
|
|
904
|
+
onExpandedChange?: (keys: string[]) => void;
|
|
905
|
+
/** Pixel indentation per nesting level. Defaults to `20`. */
|
|
906
|
+
indent?: number;
|
|
907
|
+
className?: string;
|
|
908
|
+
'aria-label'?: string;
|
|
909
|
+
}
|
|
910
|
+
declare namespace DataTree {
|
|
911
|
+
type Props<T> = DataTreeProps<T>;
|
|
912
|
+
}
|
|
913
|
+
declare function DataTree<T>(componentProps: DataTree.Props<T>): react_jsx_runtime0.JSX.Element;
|
|
694
914
|
//#endregion
|
|
695
915
|
//#region src/components/drawer.d.ts
|
|
696
916
|
type DrawerPosition = 'right' | 'left' | 'top' | 'bottom';
|
|
@@ -699,286 +919,283 @@ declare function Drawer({
|
|
|
699
919
|
swipeDirection,
|
|
700
920
|
position,
|
|
701
921
|
...props
|
|
702
|
-
}:
|
|
922
|
+
}: Drawer.Props): React.ReactElement;
|
|
923
|
+
interface DrawerProps extends DrawerPrimitive.Root.Props {
|
|
703
924
|
position?: DrawerPosition;
|
|
704
|
-
}
|
|
925
|
+
}
|
|
926
|
+
declare namespace Drawer {
|
|
927
|
+
type Props = DrawerProps;
|
|
928
|
+
}
|
|
705
929
|
declare const DrawerPortal: typeof DrawerPrimitive.Portal;
|
|
706
|
-
declare
|
|
707
|
-
|
|
708
|
-
declare
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
930
|
+
declare const DrawerTrigger: React.ForwardRefExoticComponent<Omit<DrawerTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
931
|
+
interface DrawerTriggerProps extends DrawerPrimitive.Trigger.Props {}
|
|
932
|
+
declare namespace DrawerTrigger {
|
|
933
|
+
type Props = DrawerTriggerProps;
|
|
934
|
+
}
|
|
935
|
+
declare const DrawerClose: React.ForwardRefExoticComponent<Omit<DrawerCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
936
|
+
interface DrawerCloseProps extends DrawerPrimitive.Close.Props {}
|
|
937
|
+
declare namespace DrawerClose {
|
|
938
|
+
type Props = DrawerCloseProps;
|
|
939
|
+
}
|
|
940
|
+
declare const DrawerSwipeArea: React.ForwardRefExoticComponent<Omit<DrawerSwipeAreaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
941
|
+
interface DrawerSwipeAreaProps extends DrawerPrimitive.SwipeArea.Props {
|
|
713
942
|
position?: DrawerPosition;
|
|
714
|
-
}
|
|
715
|
-
declare
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
943
|
+
}
|
|
944
|
+
declare namespace DrawerSwipeArea {
|
|
945
|
+
type Props = DrawerSwipeAreaProps;
|
|
946
|
+
}
|
|
947
|
+
declare const DrawerBackdrop: React.ForwardRefExoticComponent<Omit<DrawerBackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
948
|
+
interface DrawerBackdropProps extends DrawerPrimitive.Backdrop.Props {
|
|
720
949
|
inContainer?: boolean;
|
|
721
|
-
}
|
|
722
|
-
declare
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
...props
|
|
728
|
-
}: DrawerPrimitive.Viewport.Props & {
|
|
950
|
+
}
|
|
951
|
+
declare namespace DrawerBackdrop {
|
|
952
|
+
type Props = DrawerBackdropProps;
|
|
953
|
+
}
|
|
954
|
+
declare const DrawerViewport: React.ForwardRefExoticComponent<Omit<DrawerViewportProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
955
|
+
interface DrawerViewportProps extends DrawerPrimitive.Viewport.Props {
|
|
729
956
|
position?: DrawerPosition;
|
|
730
957
|
variant?: 'default' | 'straight' | 'inset';
|
|
731
958
|
inContainer?: boolean;
|
|
732
|
-
}
|
|
733
|
-
declare
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
variant,
|
|
739
|
-
showBar,
|
|
740
|
-
container,
|
|
741
|
-
...props
|
|
742
|
-
}: DrawerPrimitive.Popup.Props & {
|
|
959
|
+
}
|
|
960
|
+
declare namespace DrawerViewport {
|
|
961
|
+
type Props = DrawerViewportProps;
|
|
962
|
+
}
|
|
963
|
+
declare const DrawerPopup: React.ForwardRefExoticComponent<Omit<DrawerPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
964
|
+
interface DrawerPopupProps extends DrawerPrimitive.Popup.Props {
|
|
743
965
|
showCloseButton?: boolean;
|
|
744
966
|
position?: DrawerPosition;
|
|
745
967
|
variant?: 'default' | 'straight' | 'inset';
|
|
746
968
|
showBar?: boolean;
|
|
747
969
|
container?: DrawerPrimitive.Portal.Props['container'];
|
|
748
|
-
}
|
|
749
|
-
declare
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
}: useRender.ComponentProps<'div'> & {
|
|
970
|
+
}
|
|
971
|
+
declare namespace DrawerPopup {
|
|
972
|
+
type Props = DrawerPopupProps;
|
|
973
|
+
}
|
|
974
|
+
declare const DrawerHeader: React.ForwardRefExoticComponent<Omit<DrawerHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
975
|
+
interface DrawerHeaderProps extends useRender.ComponentProps<'div'> {
|
|
755
976
|
allowSelection?: boolean;
|
|
756
|
-
}
|
|
757
|
-
declare
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
...props
|
|
763
|
-
}: useRender.ComponentProps<'div'> & {
|
|
977
|
+
}
|
|
978
|
+
declare namespace DrawerHeader {
|
|
979
|
+
type Props = DrawerHeaderProps;
|
|
980
|
+
}
|
|
981
|
+
declare const DrawerFooter: React.ForwardRefExoticComponent<Omit<DrawerFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
982
|
+
interface DrawerFooterProps extends useRender.ComponentProps<'div'> {
|
|
764
983
|
variant?: 'default' | 'bare';
|
|
765
984
|
allowSelection?: boolean;
|
|
766
|
-
}
|
|
767
|
-
declare
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
}
|
|
775
|
-
declare
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
}: useRender.ComponentProps<'div'> & {
|
|
985
|
+
}
|
|
986
|
+
declare namespace DrawerFooter {
|
|
987
|
+
type Props = DrawerFooterProps;
|
|
988
|
+
}
|
|
989
|
+
declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<DrawerTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
990
|
+
interface DrawerTitleProps extends DrawerPrimitive.Title.Props {}
|
|
991
|
+
declare namespace DrawerTitle {
|
|
992
|
+
type Props = DrawerTitleProps;
|
|
993
|
+
}
|
|
994
|
+
declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<DrawerDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
995
|
+
interface DrawerDescriptionProps extends DrawerPrimitive.Description.Props {}
|
|
996
|
+
declare namespace DrawerDescription {
|
|
997
|
+
type Props = DrawerDescriptionProps;
|
|
998
|
+
}
|
|
999
|
+
declare const DrawerPanel: React.ForwardRefExoticComponent<Omit<DrawerPanelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1000
|
+
interface DrawerPanelProps extends useRender.ComponentProps<'div'> {
|
|
783
1001
|
scrollFade?: boolean;
|
|
784
1002
|
scrollable?: boolean;
|
|
785
1003
|
allowSelection?: boolean;
|
|
786
|
-
}
|
|
787
|
-
declare
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
}: useRender.ComponentProps<'div'> & {
|
|
1004
|
+
}
|
|
1005
|
+
declare namespace DrawerPanel {
|
|
1006
|
+
type Props = DrawerPanelProps;
|
|
1007
|
+
}
|
|
1008
|
+
declare const DrawerBar: React.ForwardRefExoticComponent<Omit<DrawerBarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1009
|
+
interface DrawerBarProps extends useRender.ComponentProps<'div'> {
|
|
793
1010
|
position?: DrawerPosition;
|
|
794
|
-
}
|
|
1011
|
+
}
|
|
1012
|
+
declare namespace DrawerBar {
|
|
1013
|
+
type Props = DrawerBarProps;
|
|
1014
|
+
}
|
|
795
1015
|
declare const DrawerContent: typeof DrawerPrimitive.Content;
|
|
796
|
-
declare
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
}
|
|
801
|
-
declare
|
|
802
|
-
|
|
803
|
-
variant,
|
|
804
|
-
render,
|
|
805
|
-
disabled,
|
|
806
|
-
...props
|
|
807
|
-
}: useRender.ComponentProps<'button'> & {
|
|
1016
|
+
declare const DrawerMenu: React.ForwardRefExoticComponent<Omit<DrawerMenuProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
1017
|
+
interface DrawerMenuProps extends useRender.ComponentProps<'nav'> {}
|
|
1018
|
+
declare namespace DrawerMenu {
|
|
1019
|
+
type Props = DrawerMenuProps;
|
|
1020
|
+
}
|
|
1021
|
+
declare const DrawerMenuItem: React.ForwardRefExoticComponent<Omit<DrawerMenuItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1022
|
+
interface DrawerMenuItemProps extends useRender.ComponentProps<'button'> {
|
|
808
1023
|
variant?: 'default' | 'destructive';
|
|
809
|
-
}
|
|
810
|
-
declare
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
declare
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
declare
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
declare
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
declare
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
onCheckedChange,
|
|
836
|
-
variant,
|
|
837
|
-
disabled,
|
|
838
|
-
render,
|
|
839
|
-
...props
|
|
840
|
-
}: Checkbox$1.Root.Props & {
|
|
1024
|
+
}
|
|
1025
|
+
declare namespace DrawerMenuItem {
|
|
1026
|
+
type Props = DrawerMenuItemProps;
|
|
1027
|
+
}
|
|
1028
|
+
declare const DrawerMenuSeparator: React.ForwardRefExoticComponent<Omit<DrawerMenuSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1029
|
+
interface DrawerMenuSeparatorProps extends useRender.ComponentProps<'div'> {}
|
|
1030
|
+
declare namespace DrawerMenuSeparator {
|
|
1031
|
+
type Props = DrawerMenuSeparatorProps;
|
|
1032
|
+
}
|
|
1033
|
+
declare const DrawerMenuGroup: React.ForwardRefExoticComponent<Omit<DrawerMenuGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1034
|
+
interface DrawerMenuGroupProps extends useRender.ComponentProps<'div'> {}
|
|
1035
|
+
declare namespace DrawerMenuGroup {
|
|
1036
|
+
type Props = DrawerMenuGroupProps;
|
|
1037
|
+
}
|
|
1038
|
+
declare const DrawerMenuGroupLabel: React.ForwardRefExoticComponent<Omit<DrawerMenuGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1039
|
+
interface DrawerMenuGroupLabelProps extends useRender.ComponentProps<'div'> {}
|
|
1040
|
+
declare namespace DrawerMenuGroupLabel {
|
|
1041
|
+
type Props = DrawerMenuGroupLabelProps;
|
|
1042
|
+
}
|
|
1043
|
+
declare const DrawerMenuTrigger: React.ForwardRefExoticComponent<Omit<DrawerMenuTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1044
|
+
interface DrawerMenuTriggerProps extends DrawerPrimitive.Trigger.Props {}
|
|
1045
|
+
declare namespace DrawerMenuTrigger {
|
|
1046
|
+
type Props = DrawerMenuTriggerProps;
|
|
1047
|
+
}
|
|
1048
|
+
declare const DrawerMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DrawerMenuCheckboxItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
1049
|
+
interface DrawerMenuCheckboxItemProps extends Checkbox$1.Root.Props {
|
|
841
1050
|
variant?: 'default' | 'switch';
|
|
842
|
-
render?: React
|
|
843
|
-
}
|
|
844
|
-
declare
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
...props
|
|
855
|
-
}: Radio.Root.Props & {
|
|
1051
|
+
render?: React.ReactElement;
|
|
1052
|
+
}
|
|
1053
|
+
declare namespace DrawerMenuCheckboxItem {
|
|
1054
|
+
type Props = DrawerMenuCheckboxItemProps;
|
|
1055
|
+
}
|
|
1056
|
+
declare const DrawerMenuRadioGroup: React.ForwardRefExoticComponent<Omit<DrawerMenuRadioGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1057
|
+
interface DrawerMenuRadioGroupProps extends RadioGroup$1.Props {}
|
|
1058
|
+
declare namespace DrawerMenuRadioGroup {
|
|
1059
|
+
type Props = DrawerMenuRadioGroupProps;
|
|
1060
|
+
}
|
|
1061
|
+
declare const DrawerMenuRadioItem: React.ForwardRefExoticComponent<Omit<DrawerMenuRadioItemProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1062
|
+
interface DrawerMenuRadioItemProps extends Radio.Root.Props {
|
|
856
1063
|
value: string;
|
|
857
|
-
render?: React
|
|
858
|
-
}
|
|
1064
|
+
render?: React.ReactElement;
|
|
1065
|
+
}
|
|
1066
|
+
declare namespace DrawerMenuRadioItem {
|
|
1067
|
+
type Props = DrawerMenuRadioItemProps;
|
|
1068
|
+
}
|
|
859
1069
|
//#endregion
|
|
860
1070
|
//#region src/components/dropdown-menu.d.ts
|
|
861
|
-
declare function DropdownMenu(
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
}: Menu.Popup.Props & Pick<Menu.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'> & {
|
|
1071
|
+
declare function DropdownMenu(componentProps: DropdownMenu.Props): react_jsx_runtime0.JSX.Element;
|
|
1072
|
+
interface DropdownMenuProps extends Menu.Root.Props {}
|
|
1073
|
+
declare namespace DropdownMenu {
|
|
1074
|
+
type Props = DropdownMenuProps;
|
|
1075
|
+
}
|
|
1076
|
+
declare function DropdownMenuPortal(componentProps: DropdownMenuPortal.Props): react_jsx_runtime0.JSX.Element;
|
|
1077
|
+
interface DropdownMenuPortalProps extends Menu.Portal.Props {}
|
|
1078
|
+
declare namespace DropdownMenuPortal {
|
|
1079
|
+
type Props = DropdownMenuPortalProps;
|
|
1080
|
+
}
|
|
1081
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1082
|
+
interface DropdownMenuTriggerProps extends Menu.Trigger.Props {}
|
|
1083
|
+
declare namespace DropdownMenuTrigger {
|
|
1084
|
+
type Props = DropdownMenuTriggerProps;
|
|
1085
|
+
}
|
|
1086
|
+
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1087
|
+
interface DropdownMenuContentProps extends Menu.Popup.Props, Pick<Menu.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'> {
|
|
879
1088
|
container?: Menu.Portal.Props['container'];
|
|
880
|
-
}
|
|
881
|
-
declare
|
|
882
|
-
|
|
883
|
-
}
|
|
884
|
-
declare
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
}
|
|
1089
|
+
}
|
|
1090
|
+
declare namespace DropdownMenuContent {
|
|
1091
|
+
type Props = DropdownMenuContentProps;
|
|
1092
|
+
}
|
|
1093
|
+
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<Omit<DropdownMenuGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1094
|
+
interface DropdownMenuGroupProps extends Menu.Group.Props {}
|
|
1095
|
+
declare namespace DropdownMenuGroup {
|
|
1096
|
+
type Props = DropdownMenuGroupProps;
|
|
1097
|
+
}
|
|
1098
|
+
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1099
|
+
interface DropdownMenuLabelProps extends Menu.GroupLabel.Props {
|
|
889
1100
|
inset?: boolean;
|
|
890
|
-
}
|
|
891
|
-
declare
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
}: Menu.Item.Props & {
|
|
1101
|
+
}
|
|
1102
|
+
declare namespace DropdownMenuLabel {
|
|
1103
|
+
type Props = DropdownMenuLabelProps;
|
|
1104
|
+
}
|
|
1105
|
+
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
1106
|
+
interface DropdownMenuItemProps extends Menu.Item.Props {
|
|
897
1107
|
inset?: boolean;
|
|
898
1108
|
variant?: 'default' | 'destructive';
|
|
899
|
-
}
|
|
900
|
-
declare
|
|
901
|
-
|
|
902
|
-
}
|
|
903
|
-
declare function
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
1109
|
+
}
|
|
1110
|
+
declare namespace DropdownMenuItem {
|
|
1111
|
+
type Props = DropdownMenuItemProps;
|
|
1112
|
+
}
|
|
1113
|
+
declare function DropdownMenuSub(componentProps: DropdownMenuSub.Props): react_jsx_runtime0.JSX.Element;
|
|
1114
|
+
interface DropdownMenuSubProps extends Menu.SubmenuRoot.Props {}
|
|
1115
|
+
declare namespace DropdownMenuSub {
|
|
1116
|
+
type Props = DropdownMenuSubProps;
|
|
1117
|
+
}
|
|
1118
|
+
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuSubTriggerProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
1119
|
+
interface DropdownMenuSubTriggerProps extends Menu.SubmenuTrigger.Props {
|
|
909
1120
|
inset?: boolean;
|
|
910
|
-
}
|
|
911
|
-
declare
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
}
|
|
919
|
-
declare
|
|
920
|
-
|
|
921
|
-
children,
|
|
922
|
-
checked,
|
|
923
|
-
inset,
|
|
924
|
-
...props
|
|
925
|
-
}: Menu.CheckboxItem.Props & {
|
|
1121
|
+
}
|
|
1122
|
+
declare namespace DropdownMenuSubTrigger {
|
|
1123
|
+
type Props = DropdownMenuSubTriggerProps;
|
|
1124
|
+
}
|
|
1125
|
+
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuSubContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1126
|
+
interface DropdownMenuSubContentProps extends React.ComponentProps<typeof DropdownMenuContent> {}
|
|
1127
|
+
declare namespace DropdownMenuSubContent {
|
|
1128
|
+
type Props = DropdownMenuSubContentProps;
|
|
1129
|
+
}
|
|
1130
|
+
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuCheckboxItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
1131
|
+
interface DropdownMenuCheckboxItemProps extends Menu.CheckboxItem.Props {
|
|
926
1132
|
inset?: boolean;
|
|
927
|
-
}
|
|
928
|
-
declare
|
|
929
|
-
|
|
930
|
-
}
|
|
931
|
-
declare
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
1133
|
+
}
|
|
1134
|
+
declare namespace DropdownMenuCheckboxItem {
|
|
1135
|
+
type Props = DropdownMenuCheckboxItemProps;
|
|
1136
|
+
}
|
|
1137
|
+
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<Omit<DropdownMenuRadioGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1138
|
+
interface DropdownMenuRadioGroupProps extends Menu.RadioGroup.Props {}
|
|
1139
|
+
declare namespace DropdownMenuRadioGroup {
|
|
1140
|
+
type Props = DropdownMenuRadioGroupProps;
|
|
1141
|
+
}
|
|
1142
|
+
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuRadioItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
1143
|
+
interface DropdownMenuRadioItemProps extends Menu.RadioItem.Props {
|
|
937
1144
|
inset?: boolean;
|
|
938
|
-
}
|
|
939
|
-
declare
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
}
|
|
947
|
-
declare
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
1145
|
+
}
|
|
1146
|
+
declare namespace DropdownMenuRadioItem {
|
|
1147
|
+
type Props = DropdownMenuRadioItemProps;
|
|
1148
|
+
}
|
|
1149
|
+
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1150
|
+
interface DropdownMenuSeparatorProps extends Menu.Separator.Props {}
|
|
1151
|
+
declare namespace DropdownMenuSeparator {
|
|
1152
|
+
type Props = DropdownMenuSeparatorProps;
|
|
1153
|
+
}
|
|
1154
|
+
declare const DropdownMenuShortcut: React.ForwardRefExoticComponent<Omit<DropdownMenuShortcutProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1155
|
+
interface DropdownMenuShortcutProps extends React.ComponentProps<'span'> {}
|
|
1156
|
+
declare namespace DropdownMenuShortcut {
|
|
1157
|
+
type Props = DropdownMenuShortcutProps;
|
|
1158
|
+
}
|
|
1159
|
+
declare const DropdownMenuAddon: React.ForwardRefExoticComponent<Omit<DropdownMenuAddonProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1160
|
+
interface DropdownMenuAddonProps extends React.ComponentProps<'span'> {}
|
|
1161
|
+
declare namespace DropdownMenuAddon {
|
|
1162
|
+
type Props = DropdownMenuAddonProps;
|
|
1163
|
+
}
|
|
952
1164
|
//#endregion
|
|
953
1165
|
//#region src/components/empty.d.ts
|
|
954
|
-
declare
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
1166
|
+
declare const Empty: React.ForwardRefExoticComponent<Omit<EmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1167
|
+
interface EmptyProps extends React.ComponentProps<'div'> {}
|
|
1168
|
+
declare namespace Empty {
|
|
1169
|
+
type Props = EmptyProps;
|
|
1170
|
+
}
|
|
1171
|
+
declare const EmptyHeader: React.ForwardRefExoticComponent<Omit<EmptyHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1172
|
+
interface EmptyHeaderProps extends React.ComponentProps<'div'> {}
|
|
1173
|
+
declare namespace EmptyHeader {
|
|
1174
|
+
type Props = EmptyHeaderProps;
|
|
1175
|
+
}
|
|
962
1176
|
declare const emptyMediaVariants: (props?: ({
|
|
963
1177
|
variant?: "default" | "icon" | null | undefined;
|
|
964
|
-
} &
|
|
965
|
-
declare
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
}
|
|
970
|
-
declare
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
1178
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
1179
|
+
declare const EmptyMedia: React.ForwardRefExoticComponent<Omit<EmptyMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1180
|
+
interface EmptyMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof emptyMediaVariants> {}
|
|
1181
|
+
declare namespace EmptyMedia {
|
|
1182
|
+
type Props = EmptyMediaProps;
|
|
1183
|
+
}
|
|
1184
|
+
declare const EmptyTitle: React.ForwardRefExoticComponent<Omit<EmptyTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1185
|
+
interface EmptyTitleProps extends React.ComponentProps<'div'> {}
|
|
1186
|
+
declare namespace EmptyTitle {
|
|
1187
|
+
type Props = EmptyTitleProps;
|
|
1188
|
+
}
|
|
1189
|
+
declare const EmptyDescription: React.ForwardRefExoticComponent<Omit<EmptyDescriptionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1190
|
+
interface EmptyDescriptionProps extends React.ComponentProps<'p'> {}
|
|
1191
|
+
declare namespace EmptyDescription {
|
|
1192
|
+
type Props = EmptyDescriptionProps;
|
|
1193
|
+
}
|
|
1194
|
+
declare const EmptyContent: React.ForwardRefExoticComponent<Omit<EmptyContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1195
|
+
interface EmptyContentProps extends React.ComponentProps<'div'> {}
|
|
1196
|
+
declare namespace EmptyContent {
|
|
1197
|
+
type Props = EmptyContentProps;
|
|
1198
|
+
}
|
|
982
1199
|
//#endregion
|
|
983
1200
|
//#region src/components/dropzone.d.ts
|
|
984
1201
|
/** Error codes — same set as react-dropzone, so consumers can share translation logic. */
|
|
@@ -992,7 +1209,7 @@ interface FileRejection {
|
|
|
992
1209
|
file: File;
|
|
993
1210
|
errors: FileError[];
|
|
994
1211
|
}
|
|
995
|
-
interface DropzoneProps extends Omit<React
|
|
1212
|
+
interface DropzoneProps extends Omit<React.ComponentProps<'div'>, 'onDrop' | 'onError'> {
|
|
996
1213
|
/** e.g. `"audio/*,.pdf"`. */
|
|
997
1214
|
accept?: string;
|
|
998
1215
|
multiple?: boolean;
|
|
@@ -1007,9 +1224,9 @@ interface DropzoneProps extends Omit<React$2.ComponentProps<'div'>, 'onDrop' | '
|
|
|
1007
1224
|
/** Fires with rejected files (same shape as react-dropzone's `onDropRejected`). */
|
|
1008
1225
|
onError?: (rejections: FileRejection[]) => void;
|
|
1009
1226
|
/** Overlay message during drag-over. */
|
|
1010
|
-
hoverMessage?: React
|
|
1227
|
+
hoverMessage?: React.ReactNode;
|
|
1011
1228
|
/** Opt-in: shown in the destructive overlay when the dragged MIME doesn't match `accept`. */
|
|
1012
|
-
dragRejectMessage?: React
|
|
1229
|
+
dragRejectMessage?: React.ReactNode;
|
|
1013
1230
|
}
|
|
1014
1231
|
/**
|
|
1015
1232
|
* Headless drop-target — handles drag/drop state, validation, and the hover
|
|
@@ -1017,8 +1234,11 @@ interface DropzoneProps extends Omit<React$2.ComponentProps<'div'>, 'onDrop' | '
|
|
|
1017
1234
|
* standard dashed-border look, or compose around any other control (textarea,
|
|
1018
1235
|
* etc.) for file-drop on an arbitrary surface.
|
|
1019
1236
|
*/
|
|
1020
|
-
declare const Dropzone: React
|
|
1021
|
-
|
|
1237
|
+
declare const Dropzone: React.ForwardRefExoticComponent<Omit<DropzoneProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1238
|
+
declare namespace Dropzone {
|
|
1239
|
+
type Props = DropzoneProps;
|
|
1240
|
+
}
|
|
1241
|
+
interface DropzoneContentProps extends React.ComponentProps<'div'> {
|
|
1022
1242
|
/** Renders the dropzone content in an error state (red dashed border). */
|
|
1023
1243
|
error?: boolean;
|
|
1024
1244
|
}
|
|
@@ -1027,53 +1247,72 @@ interface DropzoneContentProps extends React$2.ComponentProps<'div'> {
|
|
|
1027
1247
|
* Space / Enter open the picker. Omit it (and use `<DropzoneTrigger>`)
|
|
1028
1248
|
* when you want file-drop on an existing surface instead.
|
|
1029
1249
|
*/
|
|
1030
|
-
declare const DropzoneContent: React
|
|
1250
|
+
declare const DropzoneContent: React.ForwardRefExoticComponent<Omit<DropzoneContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1251
|
+
declare namespace DropzoneContent {
|
|
1252
|
+
type Props = DropzoneContentProps;
|
|
1253
|
+
}
|
|
1031
1254
|
/** `<EmptyMedia>` with `variant="icon"` baked in. */
|
|
1032
|
-
declare
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1255
|
+
declare const DropzoneIcon: React.ForwardRefExoticComponent<Omit<DropzoneIconProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1256
|
+
interface DropzoneIconProps extends React.ComponentProps<typeof EmptyMedia> {}
|
|
1257
|
+
declare namespace DropzoneIcon {
|
|
1258
|
+
type Props = DropzoneIconProps;
|
|
1259
|
+
}
|
|
1260
|
+
declare const DropzoneTitle: React.ForwardRefExoticComponent<Omit<DropzoneTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1261
|
+
interface DropzoneTitleProps extends React.ComponentProps<typeof EmptyTitle> {}
|
|
1262
|
+
declare namespace DropzoneTitle {
|
|
1263
|
+
type Props = DropzoneTitleProps;
|
|
1264
|
+
}
|
|
1265
|
+
declare const DropzoneDescription: React.ForwardRefExoticComponent<Omit<DropzoneDescriptionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1266
|
+
interface DropzoneDescriptionProps extends React.ComponentProps<typeof EmptyDescription> {}
|
|
1267
|
+
declare namespace DropzoneDescription {
|
|
1268
|
+
type Props = DropzoneDescriptionProps;
|
|
1269
|
+
}
|
|
1270
|
+
declare const DropzoneActions: React.ForwardRefExoticComponent<Omit<DropzoneActionsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1271
|
+
interface DropzoneActionsProps extends React.ComponentProps<'div'> {}
|
|
1272
|
+
declare namespace DropzoneActions {
|
|
1273
|
+
type Props = DropzoneActionsProps;
|
|
1274
|
+
}
|
|
1045
1275
|
/**
|
|
1046
1276
|
* Opens the file picker on click. Default-renders a DS `<Button>`; pass
|
|
1047
1277
|
* `render` (Base UI convention) to substitute another element.
|
|
1048
1278
|
*/
|
|
1049
|
-
declare const DropzoneTrigger: React
|
|
1279
|
+
declare const DropzoneTrigger: React.ForwardRefExoticComponent<Omit<DropzoneTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1050
1280
|
type DropzoneTriggerProps = useRender.ComponentProps<'button'>;
|
|
1281
|
+
declare namespace DropzoneTrigger {
|
|
1282
|
+
type Props = DropzoneTriggerProps;
|
|
1283
|
+
}
|
|
1051
1284
|
//#endregion
|
|
1052
1285
|
//#region src/components/popover.d.ts
|
|
1053
|
-
declare function Popover(
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
declare
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
}
|
|
1073
|
-
declare
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1286
|
+
declare function Popover(componentProps: Popover.Props): react_jsx_runtime0.JSX.Element;
|
|
1287
|
+
interface PopoverProps extends Popover$1.Root.Props {}
|
|
1288
|
+
declare namespace Popover {
|
|
1289
|
+
type Props = PopoverProps;
|
|
1290
|
+
}
|
|
1291
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<PopoverTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1292
|
+
interface PopoverTriggerProps extends Popover$1.Trigger.Props {}
|
|
1293
|
+
declare namespace PopoverTrigger {
|
|
1294
|
+
type Props = PopoverTriggerProps;
|
|
1295
|
+
}
|
|
1296
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1297
|
+
interface PopoverContentProps extends Popover$1.Popup.Props, Pick<Popover$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'> {}
|
|
1298
|
+
declare namespace PopoverContent {
|
|
1299
|
+
type Props = PopoverContentProps;
|
|
1300
|
+
}
|
|
1301
|
+
declare const PopoverHeader: React.ForwardRefExoticComponent<Omit<PopoverHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1302
|
+
interface PopoverHeaderProps extends React.ComponentProps<'div'> {}
|
|
1303
|
+
declare namespace PopoverHeader {
|
|
1304
|
+
type Props = PopoverHeaderProps;
|
|
1305
|
+
}
|
|
1306
|
+
declare const PopoverTitle: React.ForwardRefExoticComponent<Omit<PopoverTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
1307
|
+
interface PopoverTitleProps extends Popover$1.Title.Props {}
|
|
1308
|
+
declare namespace PopoverTitle {
|
|
1309
|
+
type Props = PopoverTitleProps;
|
|
1310
|
+
}
|
|
1311
|
+
declare const PopoverDescription: React.ForwardRefExoticComponent<Omit<PopoverDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
1312
|
+
interface PopoverDescriptionProps extends Popover$1.Description.Props {}
|
|
1313
|
+
declare namespace PopoverDescription {
|
|
1314
|
+
type Props = PopoverDescriptionProps;
|
|
1315
|
+
}
|
|
1077
1316
|
//#endregion
|
|
1078
1317
|
//#region src/components/emoji-picker.d.ts
|
|
1079
1318
|
declare const EmojiPickerCategories: {
|
|
@@ -1093,14 +1332,21 @@ type EmojiPickerCategory = {
|
|
|
1093
1332
|
};
|
|
1094
1333
|
type EmojiPickerProps = {
|
|
1095
1334
|
onEmojiSelect?: (emoji: string) => void;
|
|
1096
|
-
children?: React
|
|
1335
|
+
children?: React.ReactNode;
|
|
1097
1336
|
};
|
|
1098
1337
|
declare function EmojiPicker({
|
|
1099
1338
|
onEmojiSelect,
|
|
1100
1339
|
children
|
|
1101
|
-
}:
|
|
1102
|
-
declare
|
|
1103
|
-
type
|
|
1340
|
+
}: EmojiPicker.Props): react_jsx_runtime0.JSX.Element;
|
|
1341
|
+
declare namespace EmojiPicker {
|
|
1342
|
+
type Props = EmojiPickerProps;
|
|
1343
|
+
}
|
|
1344
|
+
declare const EmojiPickerTrigger: React.ForwardRefExoticComponent<Omit<EmojiPickerTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1345
|
+
interface EmojiPickerTriggerProps extends Popover$1.Trigger.Props {}
|
|
1346
|
+
declare namespace EmojiPickerTrigger {
|
|
1347
|
+
type Props = EmojiPickerTriggerProps;
|
|
1348
|
+
}
|
|
1349
|
+
type EmojiPickerContentProps = Omit<React.ComponentProps<typeof PopoverContent>, 'children'> & {
|
|
1104
1350
|
searchPlaceholder?: string;
|
|
1105
1351
|
categories?: EmojiPickerCategory[];
|
|
1106
1352
|
width?: number;
|
|
@@ -1114,392 +1360,514 @@ declare function EmojiPickerContent({
|
|
|
1114
1360
|
width,
|
|
1115
1361
|
suggestedEmojisMode,
|
|
1116
1362
|
...props
|
|
1117
|
-
}: EmojiPickerContentProps):
|
|
1363
|
+
}: EmojiPickerContentProps): react_jsx_runtime0.JSX.Element;
|
|
1364
|
+
declare namespace EmojiPickerContent {
|
|
1365
|
+
type Props = EmojiPickerContentProps;
|
|
1366
|
+
}
|
|
1118
1367
|
//#endregion
|
|
1119
1368
|
//#region src/components/fab.d.ts
|
|
1120
1369
|
declare const fabVariants: (props?: ({
|
|
1121
1370
|
variant?: "default" | "outline" | null | undefined;
|
|
1122
1371
|
size?: "lg" | "icon-lg" | null | undefined;
|
|
1123
|
-
} &
|
|
1124
|
-
declare const FAB: React
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1372
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
1373
|
+
declare const FAB: React.ForwardRefExoticComponent<Omit<FABProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1374
|
+
interface FABProps extends Button$1.Props, VariantProps<typeof fabVariants> {}
|
|
1375
|
+
declare namespace FAB {
|
|
1376
|
+
type Props = FABProps;
|
|
1377
|
+
}
|
|
1128
1378
|
//#endregion
|
|
1129
1379
|
//#region src/components/label.d.ts
|
|
1130
|
-
declare
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1380
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<LabelProps, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
1381
|
+
interface LabelProps extends React.ComponentProps<'label'> {}
|
|
1382
|
+
declare namespace Label {
|
|
1383
|
+
type Props = LabelProps;
|
|
1384
|
+
}
|
|
1134
1385
|
//#endregion
|
|
1135
1386
|
//#region src/components/field.d.ts
|
|
1136
|
-
declare
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1387
|
+
declare const FieldSet: React.ForwardRefExoticComponent<Omit<FieldSetProps, "ref"> & React.RefAttributes<HTMLFieldSetElement>>;
|
|
1388
|
+
interface FieldSetProps extends React.ComponentProps<'fieldset'> {}
|
|
1389
|
+
declare namespace FieldSet {
|
|
1390
|
+
type Props = FieldSetProps;
|
|
1391
|
+
}
|
|
1392
|
+
declare const FieldLegend: React.ForwardRefExoticComponent<Omit<FieldLegendProps, "ref"> & React.RefAttributes<HTMLLegendElement>>;
|
|
1393
|
+
interface FieldLegendProps extends React.ComponentProps<'legend'> {
|
|
1394
|
+
variant?: 'legend' | 'label';
|
|
1395
|
+
}
|
|
1396
|
+
declare namespace FieldLegend {
|
|
1397
|
+
type Props = FieldLegendProps;
|
|
1398
|
+
}
|
|
1399
|
+
declare const FieldGroup: React.ForwardRefExoticComponent<Omit<FieldGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1400
|
+
interface FieldGroupProps extends React.ComponentProps<'div'> {}
|
|
1401
|
+
declare namespace FieldGroup {
|
|
1402
|
+
type Props = FieldGroupProps;
|
|
1403
|
+
}
|
|
1151
1404
|
declare const fieldVariants: (props?: ({
|
|
1152
1405
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
1153
|
-
} &
|
|
1154
|
-
declare
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
}
|
|
1159
|
-
declare
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
declare
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1406
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
1407
|
+
declare const Field: React.ForwardRefExoticComponent<Omit<FieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1408
|
+
interface FieldProps extends React.ComponentProps<'div'>, VariantProps<typeof fieldVariants> {}
|
|
1409
|
+
declare namespace Field {
|
|
1410
|
+
type Props = FieldProps;
|
|
1411
|
+
}
|
|
1412
|
+
declare const FieldContent: React.ForwardRefExoticComponent<Omit<FieldContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1413
|
+
interface FieldContentProps extends React.ComponentProps<'div'> {}
|
|
1414
|
+
declare namespace FieldContent {
|
|
1415
|
+
type Props = FieldContentProps;
|
|
1416
|
+
}
|
|
1417
|
+
declare const FieldLabel: React.ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
1418
|
+
interface FieldLabelProps extends React.ComponentProps<typeof Label> {}
|
|
1419
|
+
declare namespace FieldLabel {
|
|
1420
|
+
type Props = FieldLabelProps;
|
|
1421
|
+
}
|
|
1422
|
+
declare const FieldTitle: React.ForwardRefExoticComponent<Omit<FieldTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1423
|
+
interface FieldTitleProps extends React.ComponentProps<'div'> {}
|
|
1424
|
+
declare namespace FieldTitle {
|
|
1425
|
+
type Props = FieldTitleProps;
|
|
1426
|
+
}
|
|
1427
|
+
declare const FieldDescription: React.ForwardRefExoticComponent<Omit<FieldDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
1428
|
+
interface FieldDescriptionProps extends React.ComponentProps<'p'> {}
|
|
1429
|
+
declare namespace FieldDescription {
|
|
1430
|
+
type Props = FieldDescriptionProps;
|
|
1431
|
+
}
|
|
1432
|
+
declare const FieldSeparator: React.ForwardRefExoticComponent<Omit<FieldSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1433
|
+
interface FieldSeparatorProps extends React.ComponentProps<'div'> {
|
|
1180
1434
|
children?: React.ReactNode;
|
|
1181
|
-
}
|
|
1182
|
-
declare
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
}: React.ComponentProps<"div"> & {
|
|
1435
|
+
}
|
|
1436
|
+
declare namespace FieldSeparator {
|
|
1437
|
+
type Props = FieldSeparatorProps;
|
|
1438
|
+
}
|
|
1439
|
+
declare const FieldError: React.ForwardRefExoticComponent<Omit<FieldErrorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1440
|
+
interface FieldErrorProps extends React.ComponentProps<'div'> {
|
|
1188
1441
|
errors?: Array<{
|
|
1189
1442
|
message?: string;
|
|
1190
1443
|
} | undefined>;
|
|
1191
|
-
}
|
|
1444
|
+
}
|
|
1445
|
+
declare namespace FieldError {
|
|
1446
|
+
type Props = FieldErrorProps;
|
|
1447
|
+
}
|
|
1192
1448
|
//#endregion
|
|
1193
1449
|
//#region src/components/gauge.d.ts
|
|
1194
|
-
interface GaugeProps extends Omit<React
|
|
1450
|
+
interface GaugeProps extends Omit<React.ComponentProps<'div'>, 'children'> {
|
|
1195
1451
|
/**
|
|
1196
1452
|
* The current value of the gauge, clamped to `[0, 8]`. Values past 8 are
|
|
1197
1453
|
* shown as fully saturated (all segments filled).
|
|
1198
1454
|
*/
|
|
1199
1455
|
value: number;
|
|
1200
1456
|
}
|
|
1201
|
-
declare
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1457
|
+
declare const Gauge: React.ForwardRefExoticComponent<Omit<GaugeProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1458
|
+
declare namespace Gauge {
|
|
1459
|
+
type Props = GaugeProps;
|
|
1460
|
+
}
|
|
1461
|
+
//#endregion
|
|
1462
|
+
//#region src/components/input.d.ts
|
|
1463
|
+
declare const inputVariants: (props?: ({
|
|
1464
|
+
block?: boolean | null | undefined;
|
|
1465
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
1466
|
+
declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1467
|
+
interface InputProps extends React.ComponentProps<'input'>, VariantProps<typeof inputVariants> {}
|
|
1468
|
+
declare namespace Input {
|
|
1469
|
+
type Props = InputProps;
|
|
1470
|
+
}
|
|
1206
1471
|
//#endregion
|
|
1207
1472
|
//#region src/components/input-group.d.ts
|
|
1208
|
-
declare const InputGroup: React
|
|
1473
|
+
declare const InputGroup: React.ForwardRefExoticComponent<Omit<InputGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1474
|
+
interface InputGroupProps extends React.ComponentProps<'div'> {}
|
|
1475
|
+
declare namespace InputGroup {
|
|
1476
|
+
type Props = InputGroupProps;
|
|
1477
|
+
}
|
|
1209
1478
|
declare const inputGroupAddonVariants: (props?: ({
|
|
1210
|
-
align?: "
|
|
1211
|
-
} &
|
|
1212
|
-
declare
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
}
|
|
1217
|
-
declare const InputGroupButton: React
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
}
|
|
1222
|
-
declare const
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1479
|
+
align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
|
|
1480
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
1481
|
+
declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<InputGroupAddonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1482
|
+
interface InputGroupAddonProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupAddonVariants> {}
|
|
1483
|
+
declare namespace InputGroupAddon {
|
|
1484
|
+
type Props = InputGroupAddonProps;
|
|
1485
|
+
}
|
|
1486
|
+
declare const InputGroupButton: React.ForwardRefExoticComponent<InputGroupButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1487
|
+
interface InputGroupButtonProps extends React.ComponentPropsWithoutRef<typeof Button> {}
|
|
1488
|
+
declare namespace InputGroupButton {
|
|
1489
|
+
type Props = InputGroupButtonProps;
|
|
1490
|
+
}
|
|
1491
|
+
declare const InputGroupText: React.ForwardRefExoticComponent<Omit<InputGroupTextProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1492
|
+
interface InputGroupTextProps extends React.ComponentProps<'span'> {}
|
|
1493
|
+
declare namespace InputGroupText {
|
|
1494
|
+
type Props = InputGroupTextProps;
|
|
1495
|
+
}
|
|
1496
|
+
declare const InputGroupInput: React.ForwardRefExoticComponent<Omit<InputGroupInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1497
|
+
interface InputGroupInputProps extends React.ComponentProps<typeof Input> {}
|
|
1498
|
+
declare namespace InputGroupInput {
|
|
1499
|
+
type Props = InputGroupInputProps;
|
|
1500
|
+
}
|
|
1501
|
+
declare const InputGroupTextarea: React.ForwardRefExoticComponent<Omit<InputGroupTextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
1502
|
+
interface InputGroupTextareaProps extends React.ComponentProps<'textarea'> {}
|
|
1503
|
+
declare namespace InputGroupTextarea {
|
|
1504
|
+
type Props = InputGroupTextareaProps;
|
|
1505
|
+
}
|
|
1229
1506
|
//#endregion
|
|
1230
1507
|
//#region src/components/input-otp.d.ts
|
|
1231
|
-
declare
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1508
|
+
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
1509
|
+
value?: string;
|
|
1510
|
+
onChange?: (newValue: string) => unknown;
|
|
1511
|
+
maxLength: number;
|
|
1512
|
+
textAlign?: "left" | "center" | "right";
|
|
1513
|
+
onComplete?: (...args: any[]) => unknown;
|
|
1514
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
1515
|
+
pasteTransformer?: (pasted: string) => string;
|
|
1236
1516
|
containerClassName?: string;
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1517
|
+
noScriptCSSFallback?: string | null;
|
|
1518
|
+
} & {
|
|
1519
|
+
render: (props: input_otp0.RenderProps) => React.ReactNode;
|
|
1520
|
+
children?: never;
|
|
1521
|
+
} & React.RefAttributes<HTMLInputElement> & {
|
|
1522
|
+
containerClassName?: string;
|
|
1523
|
+
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
1524
|
+
value?: string;
|
|
1525
|
+
onChange?: (newValue: string) => unknown;
|
|
1526
|
+
maxLength: number;
|
|
1527
|
+
textAlign?: "left" | "center" | "right";
|
|
1528
|
+
onComplete?: (...args: any[]) => unknown;
|
|
1529
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
1530
|
+
pasteTransformer?: (pasted: string) => string;
|
|
1531
|
+
containerClassName?: string;
|
|
1532
|
+
noScriptCSSFallback?: string | null;
|
|
1533
|
+
} & {
|
|
1534
|
+
render?: never;
|
|
1535
|
+
children: React.ReactNode;
|
|
1536
|
+
} & React.RefAttributes<HTMLInputElement> & {
|
|
1537
|
+
containerClassName?: string;
|
|
1538
|
+
}, "ref">) & React.RefAttributes<HTMLInputElement>>;
|
|
1539
|
+
type InputOTPProps = React.ComponentProps<typeof OTPInput> & {
|
|
1540
|
+
containerClassName?: string;
|
|
1541
|
+
};
|
|
1542
|
+
declare namespace InputOTP {
|
|
1543
|
+
type Props = InputOTPProps;
|
|
1544
|
+
}
|
|
1545
|
+
declare const InputOTPGroup: React.ForwardRefExoticComponent<Omit<InputOTPGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1546
|
+
interface InputOTPGroupProps extends React.ComponentProps<'div'> {}
|
|
1547
|
+
declare namespace InputOTPGroup {
|
|
1548
|
+
type Props = InputOTPGroupProps;
|
|
1549
|
+
}
|
|
1550
|
+
declare const InputOTPSlot: React.ForwardRefExoticComponent<Omit<InputOTPSlotProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1551
|
+
interface InputOTPSlotProps extends React.ComponentProps<'div'> {
|
|
1247
1552
|
index: number;
|
|
1248
|
-
}
|
|
1249
|
-
declare
|
|
1250
|
-
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
declare
|
|
1255
|
-
|
|
1256
|
-
}
|
|
1553
|
+
}
|
|
1554
|
+
declare namespace InputOTPSlot {
|
|
1555
|
+
type Props = InputOTPSlotProps;
|
|
1556
|
+
}
|
|
1557
|
+
declare const InputOTPSeparator: React.ForwardRefExoticComponent<Omit<InputOTPSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1558
|
+
interface InputOTPSeparatorProps extends React.ComponentProps<'div'> {}
|
|
1559
|
+
declare namespace InputOTPSeparator {
|
|
1560
|
+
type Props = InputOTPSeparatorProps;
|
|
1561
|
+
}
|
|
1257
1562
|
//#endregion
|
|
1258
1563
|
//#region src/components/item.d.ts
|
|
1259
|
-
interface ItemGroupProps extends React
|
|
1564
|
+
interface ItemGroupProps extends React.ComponentProps<'div'> {
|
|
1260
1565
|
stackedItems?: boolean;
|
|
1261
1566
|
}
|
|
1262
|
-
declare const ItemGroup: React
|
|
1263
|
-
declare
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
variant?: "default" | "
|
|
1273
|
-
size?: "default" | "
|
|
1274
|
-
} &
|
|
1275
|
-
declare const
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
declare const
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
declare const
|
|
1567
|
+
declare const ItemGroup: React.ForwardRefExoticComponent<Omit<ItemGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1568
|
+
declare namespace ItemGroup {
|
|
1569
|
+
type Props = ItemGroupProps;
|
|
1570
|
+
}
|
|
1571
|
+
declare const ItemSeparator: React.ForwardRefExoticComponent<Omit<ItemSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1572
|
+
interface ItemSeparatorProps extends React.ComponentProps<typeof Separator> {}
|
|
1573
|
+
declare namespace ItemSeparator {
|
|
1574
|
+
type Props = ItemSeparatorProps;
|
|
1575
|
+
}
|
|
1576
|
+
declare const itemVariants: (props?: ({
|
|
1577
|
+
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
1578
|
+
size?: "default" | "sm" | "xs" | null | undefined;
|
|
1579
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
1580
|
+
declare const Item: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1581
|
+
interface ItemProps extends useRender.ComponentProps<'div'>, VariantProps<typeof itemVariants> {}
|
|
1582
|
+
declare namespace Item {
|
|
1583
|
+
type Props = ItemProps;
|
|
1584
|
+
}
|
|
1585
|
+
declare const itemMediaVariants: (props?: ({
|
|
1586
|
+
variant?: "image" | "default" | "icon" | null | undefined;
|
|
1587
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
1588
|
+
declare const ItemMedia: React.ForwardRefExoticComponent<Omit<ItemMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1589
|
+
interface ItemMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof itemMediaVariants> {}
|
|
1590
|
+
declare namespace ItemMedia {
|
|
1591
|
+
type Props = ItemMediaProps;
|
|
1592
|
+
}
|
|
1593
|
+
declare const ItemContent: React.ForwardRefExoticComponent<Omit<ItemContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1594
|
+
interface ItemContentProps extends React.ComponentProps<'div'> {}
|
|
1595
|
+
declare namespace ItemContent {
|
|
1596
|
+
type Props = ItemContentProps;
|
|
1597
|
+
}
|
|
1598
|
+
declare const ItemTitle: React.ForwardRefExoticComponent<Omit<ItemTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1599
|
+
interface ItemTitleProps extends React.ComponentProps<'div'> {}
|
|
1600
|
+
declare namespace ItemTitle {
|
|
1601
|
+
type Props = ItemTitleProps;
|
|
1602
|
+
}
|
|
1603
|
+
declare const ItemDescription: React.ForwardRefExoticComponent<Omit<ItemDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
1604
|
+
interface ItemDescriptionProps extends React.ComponentProps<'p'> {}
|
|
1605
|
+
declare namespace ItemDescription {
|
|
1606
|
+
type Props = ItemDescriptionProps;
|
|
1607
|
+
}
|
|
1608
|
+
declare const ItemActions: React.ForwardRefExoticComponent<Omit<ItemActionsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1609
|
+
interface ItemActionsProps extends React.ComponentProps<'div'> {}
|
|
1610
|
+
declare namespace ItemActions {
|
|
1611
|
+
type Props = ItemActionsProps;
|
|
1612
|
+
}
|
|
1613
|
+
declare const ItemHeader: React.ForwardRefExoticComponent<Omit<ItemHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1614
|
+
interface ItemHeaderProps extends React.ComponentProps<'div'> {}
|
|
1615
|
+
declare namespace ItemHeader {
|
|
1616
|
+
type Props = ItemHeaderProps;
|
|
1617
|
+
}
|
|
1618
|
+
declare const ItemFooter: React.ForwardRefExoticComponent<Omit<ItemFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1619
|
+
interface ItemFooterProps extends React.ComponentProps<'div'> {}
|
|
1620
|
+
declare namespace ItemFooter {
|
|
1621
|
+
type Props = ItemFooterProps;
|
|
1622
|
+
}
|
|
1284
1623
|
//#endregion
|
|
1285
1624
|
//#region src/components/list.d.ts
|
|
1286
|
-
|
|
1287
|
-
|
|
1625
|
+
declare const List: React.ForwardRefExoticComponent<ListProps & React.RefAttributes<HTMLDivElement>>;
|
|
1626
|
+
interface ListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1627
|
+
children: React.ReactNode;
|
|
1288
1628
|
}
|
|
1289
|
-
declare
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1629
|
+
declare namespace List {
|
|
1630
|
+
type Props = ListProps;
|
|
1631
|
+
}
|
|
1632
|
+
declare const ListRow: React.ForwardRefExoticComponent<ListRowProps & React.RefAttributes<HTMLDivElement>>;
|
|
1633
|
+
interface ListRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1634
|
+
children: React.ReactNode;
|
|
1635
|
+
}
|
|
1636
|
+
declare namespace ListRow {
|
|
1637
|
+
type Props = ListRowProps;
|
|
1296
1638
|
}
|
|
1297
|
-
declare const
|
|
1298
|
-
interface ListColProps extends React
|
|
1639
|
+
declare const ListCol: React.ForwardRefExoticComponent<ListColProps & React.RefAttributes<HTMLDivElement>>;
|
|
1640
|
+
interface ListColProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1299
1641
|
grow?: boolean;
|
|
1300
1642
|
wrap?: boolean;
|
|
1301
|
-
children: React
|
|
1643
|
+
children: React.ReactNode;
|
|
1644
|
+
}
|
|
1645
|
+
declare namespace ListCol {
|
|
1646
|
+
type Props = ListColProps;
|
|
1302
1647
|
}
|
|
1303
|
-
declare const ListCol: ({
|
|
1304
|
-
grow,
|
|
1305
|
-
wrap,
|
|
1306
|
-
children,
|
|
1307
|
-
className,
|
|
1308
|
-
...props
|
|
1309
|
-
}: ListColProps) => react_jsx_runtime15.JSX.Element;
|
|
1310
1648
|
//#endregion
|
|
1311
1649
|
//#region src/components/pagination.d.ts
|
|
1312
|
-
declare
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1650
|
+
declare const Pagination: React.ForwardRefExoticComponent<Omit<PaginationProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
1651
|
+
interface PaginationProps extends React.ComponentProps<'nav'> {}
|
|
1652
|
+
declare namespace Pagination {
|
|
1653
|
+
type Props = PaginationProps;
|
|
1654
|
+
}
|
|
1655
|
+
declare const PaginationContent: React.ForwardRefExoticComponent<Omit<PaginationContentProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
1656
|
+
interface PaginationContentProps extends React.ComponentProps<'ul'> {}
|
|
1657
|
+
declare namespace PaginationContent {
|
|
1658
|
+
type Props = PaginationContentProps;
|
|
1659
|
+
}
|
|
1660
|
+
declare const PaginationItem: React.ForwardRefExoticComponent<Omit<PaginationItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
1661
|
+
interface PaginationItemProps extends React.ComponentProps<'li'> {}
|
|
1662
|
+
declare namespace PaginationItem {
|
|
1663
|
+
type Props = PaginationItemProps;
|
|
1664
|
+
}
|
|
1665
|
+
declare const PaginationLink: React.ForwardRefExoticComponent<Omit<PaginationLinkProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1666
|
+
interface PaginationLinkProps extends Pick<React.ComponentProps<typeof Button>, 'size'>, React.ComponentProps<'a'> {
|
|
1324
1667
|
isActive?: boolean;
|
|
1325
|
-
}
|
|
1326
|
-
declare
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
}: PaginationLinkProps): react_jsx_runtime15.JSX.Element;
|
|
1332
|
-
declare function PaginationPrevious({
|
|
1333
|
-
className,
|
|
1334
|
-
text,
|
|
1335
|
-
...props
|
|
1336
|
-
}: React$2.ComponentProps<typeof PaginationLink> & {
|
|
1668
|
+
}
|
|
1669
|
+
declare namespace PaginationLink {
|
|
1670
|
+
type Props = PaginationLinkProps;
|
|
1671
|
+
}
|
|
1672
|
+
declare const PaginationPrevious: React.ForwardRefExoticComponent<Omit<PaginationPreviousProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1673
|
+
interface PaginationPreviousProps extends React.ComponentProps<typeof PaginationLink> {
|
|
1337
1674
|
text?: string;
|
|
1338
|
-
}
|
|
1339
|
-
declare
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1675
|
+
}
|
|
1676
|
+
declare namespace PaginationPrevious {
|
|
1677
|
+
type Props = PaginationPreviousProps;
|
|
1678
|
+
}
|
|
1679
|
+
declare const PaginationNext: React.ForwardRefExoticComponent<Omit<PaginationNextProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1680
|
+
interface PaginationNextProps extends React.ComponentProps<typeof PaginationLink> {
|
|
1344
1681
|
text?: string;
|
|
1345
|
-
}
|
|
1346
|
-
declare
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1682
|
+
}
|
|
1683
|
+
declare namespace PaginationNext {
|
|
1684
|
+
type Props = PaginationNextProps;
|
|
1685
|
+
}
|
|
1686
|
+
declare const PaginationEllipsis: React.ForwardRefExoticComponent<Omit<PaginationEllipsisProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1687
|
+
interface PaginationEllipsisProps extends React.ComponentProps<'span'> {}
|
|
1688
|
+
declare namespace PaginationEllipsis {
|
|
1689
|
+
type Props = PaginationEllipsisProps;
|
|
1690
|
+
}
|
|
1350
1691
|
//#endregion
|
|
1351
1692
|
//#region src/components/progress.d.ts
|
|
1352
|
-
declare
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
}
|
|
1362
|
-
declare
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1693
|
+
declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1694
|
+
interface ProgressProps extends Progress$1.Root.Props {}
|
|
1695
|
+
declare namespace Progress {
|
|
1696
|
+
type Props = ProgressProps;
|
|
1697
|
+
}
|
|
1698
|
+
declare const ProgressTrack: React.ForwardRefExoticComponent<Omit<ProgressTrackProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1699
|
+
interface ProgressTrackProps extends Progress$1.Track.Props {}
|
|
1700
|
+
declare namespace ProgressTrack {
|
|
1701
|
+
type Props = ProgressTrackProps;
|
|
1702
|
+
}
|
|
1703
|
+
declare const ProgressIndicator: React.ForwardRefExoticComponent<Omit<ProgressIndicatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1704
|
+
interface ProgressIndicatorProps extends Progress$1.Indicator.Props {}
|
|
1705
|
+
declare namespace ProgressIndicator {
|
|
1706
|
+
type Props = ProgressIndicatorProps;
|
|
1707
|
+
}
|
|
1708
|
+
declare const ProgressLabel: React.ForwardRefExoticComponent<Omit<ProgressLabelProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1709
|
+
interface ProgressLabelProps extends Progress$1.Label.Props {}
|
|
1710
|
+
declare namespace ProgressLabel {
|
|
1711
|
+
type Props = ProgressLabelProps;
|
|
1712
|
+
}
|
|
1713
|
+
declare const ProgressValue: React.ForwardRefExoticComponent<Omit<ProgressValueProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1714
|
+
interface ProgressValueProps extends Progress$1.Value.Props {}
|
|
1715
|
+
declare namespace ProgressValue {
|
|
1716
|
+
type Props = ProgressValueProps;
|
|
1717
|
+
}
|
|
1374
1718
|
//#endregion
|
|
1375
1719
|
//#region src/components/radio-group.d.ts
|
|
1376
|
-
declare
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1720
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1721
|
+
interface RadioGroupProps extends RadioGroup$1.Props {}
|
|
1722
|
+
declare namespace RadioGroup {
|
|
1723
|
+
type Props = RadioGroupProps;
|
|
1724
|
+
}
|
|
1725
|
+
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupItemProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1726
|
+
interface RadioGroupItemProps extends Radio.Root.Props {}
|
|
1727
|
+
declare namespace RadioGroupItem {
|
|
1728
|
+
type Props = RadioGroupItemProps;
|
|
1729
|
+
}
|
|
1384
1730
|
//#endregion
|
|
1385
1731
|
//#region src/components/scroll-area.d.ts
|
|
1386
|
-
declare
|
|
1387
|
-
|
|
1388
|
-
children,
|
|
1389
|
-
scrollFade,
|
|
1390
|
-
scrollbarGutter,
|
|
1391
|
-
...props
|
|
1392
|
-
}: ScrollAreaPrimitive.Root.Props & {
|
|
1732
|
+
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1733
|
+
interface ScrollAreaProps extends ScrollAreaPrimitive.Root.Props {
|
|
1393
1734
|
scrollFade?: boolean;
|
|
1394
1735
|
scrollbarGutter?: boolean;
|
|
1395
|
-
}
|
|
1396
|
-
declare
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1736
|
+
}
|
|
1737
|
+
declare namespace ScrollArea {
|
|
1738
|
+
type Props = ScrollAreaProps;
|
|
1739
|
+
}
|
|
1740
|
+
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollBarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1741
|
+
interface ScrollBarProps extends ScrollAreaPrimitive.Scrollbar.Props {}
|
|
1742
|
+
declare namespace ScrollBar {
|
|
1743
|
+
type Props = ScrollBarProps;
|
|
1744
|
+
}
|
|
1401
1745
|
//#endregion
|
|
1402
1746
|
//#region src/components/select.d.ts
|
|
1403
1747
|
declare const selectTriggerVariants: (props?: ({
|
|
1404
1748
|
size?: "default" | "sm" | null | undefined;
|
|
1405
|
-
} &
|
|
1749
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
1406
1750
|
declare const Select: typeof Select$1.Root;
|
|
1407
|
-
declare
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
declare
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
}
|
|
1751
|
+
declare const SelectGroup: React.ForwardRefExoticComponent<Omit<SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1752
|
+
interface SelectGroupProps extends Select$1.Group.Props {}
|
|
1753
|
+
declare namespace SelectGroup {
|
|
1754
|
+
type Props = SelectGroupProps;
|
|
1755
|
+
}
|
|
1756
|
+
declare function SelectValue(componentProps: SelectValue.Props): react_jsx_runtime0.JSX.Element;
|
|
1757
|
+
interface SelectValueProps extends Select$1.Value.Props {}
|
|
1758
|
+
declare namespace SelectValue {
|
|
1759
|
+
type Props = SelectValueProps;
|
|
1760
|
+
}
|
|
1761
|
+
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1762
|
+
interface SelectTriggerProps extends Select$1.Trigger.Props, VariantProps<typeof selectTriggerVariants> {}
|
|
1763
|
+
declare namespace SelectTrigger {
|
|
1764
|
+
type Props = SelectTriggerProps;
|
|
1765
|
+
}
|
|
1766
|
+
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1767
|
+
interface SelectContentProps extends Select$1.Popup.Props, Pick<Select$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset' | 'alignItemWithTrigger'> {}
|
|
1768
|
+
declare namespace SelectContent {
|
|
1769
|
+
type Props = SelectContentProps;
|
|
1770
|
+
}
|
|
1771
|
+
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1772
|
+
interface SelectLabelProps extends Select$1.GroupLabel.Props {}
|
|
1773
|
+
declare namespace SelectLabel {
|
|
1774
|
+
type Props = SelectLabelProps;
|
|
1775
|
+
}
|
|
1776
|
+
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
1777
|
+
interface SelectItemProps extends Select$1.Item.Props {}
|
|
1778
|
+
declare namespace SelectItem {
|
|
1779
|
+
type Props = SelectItemProps;
|
|
1780
|
+
}
|
|
1781
|
+
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1782
|
+
interface SelectSeparatorProps extends Select$1.Separator.Props {}
|
|
1783
|
+
declare namespace SelectSeparator {
|
|
1784
|
+
type Props = SelectSeparatorProps;
|
|
1785
|
+
}
|
|
1786
|
+
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectScrollUpButtonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1787
|
+
interface SelectScrollUpButtonProps extends React.ComponentProps<typeof Select$1.ScrollUpArrow> {}
|
|
1788
|
+
declare namespace SelectScrollUpButton {
|
|
1789
|
+
type Props = SelectScrollUpButtonProps;
|
|
1790
|
+
}
|
|
1791
|
+
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectScrollDownButtonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1792
|
+
interface SelectScrollDownButtonProps extends React.ComponentProps<typeof Select$1.ScrollDownArrow> {}
|
|
1793
|
+
declare namespace SelectScrollDownButton {
|
|
1794
|
+
type Props = SelectScrollDownButtonProps;
|
|
1795
|
+
}
|
|
1452
1796
|
//#endregion
|
|
1453
1797
|
//#region src/components/sheet.d.ts
|
|
1454
|
-
declare function Sheet(
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1798
|
+
declare function Sheet(componentProps: Sheet.Props): react_jsx_runtime0.JSX.Element;
|
|
1799
|
+
interface SheetProps extends Dialog$1.Root.Props {}
|
|
1800
|
+
declare namespace Sheet {
|
|
1801
|
+
type Props = SheetProps;
|
|
1802
|
+
}
|
|
1803
|
+
declare const SheetTrigger: React.ForwardRefExoticComponent<Omit<SheetTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1804
|
+
interface SheetTriggerProps extends Dialog$1.Trigger.Props {}
|
|
1805
|
+
declare namespace SheetTrigger {
|
|
1806
|
+
type Props = SheetTriggerProps;
|
|
1807
|
+
}
|
|
1808
|
+
declare const SheetClose: React.ForwardRefExoticComponent<Omit<SheetCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1809
|
+
interface SheetCloseProps extends Dialog$1.Close.Props {}
|
|
1810
|
+
declare namespace SheetClose {
|
|
1811
|
+
type Props = SheetCloseProps;
|
|
1812
|
+
}
|
|
1813
|
+
interface SheetPortalProps extends Dialog$1.Portal.Props {}
|
|
1814
|
+
declare namespace SheetPortal {
|
|
1815
|
+
type Props = SheetPortalProps;
|
|
1816
|
+
}
|
|
1817
|
+
interface SheetOverlayProps extends Dialog$1.Backdrop.Props {}
|
|
1818
|
+
declare namespace SheetOverlay {
|
|
1819
|
+
type Props = SheetOverlayProps;
|
|
1820
|
+
}
|
|
1821
|
+
declare const SheetContent: React.ForwardRefExoticComponent<Omit<SheetContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1822
|
+
interface SheetContentProps extends Dialog$1.Popup.Props, Pick<Dialog$1.Portal.Props, 'container'> {
|
|
1823
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
1472
1824
|
showCloseButton?: boolean;
|
|
1473
|
-
}
|
|
1474
|
-
declare
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
}
|
|
1482
|
-
declare
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1825
|
+
}
|
|
1826
|
+
declare namespace SheetContent {
|
|
1827
|
+
type Props = SheetContentProps;
|
|
1828
|
+
}
|
|
1829
|
+
declare const SheetHeader: React.ForwardRefExoticComponent<Omit<SheetHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1830
|
+
interface SheetHeaderProps extends React.ComponentProps<'div'> {}
|
|
1831
|
+
declare namespace SheetHeader {
|
|
1832
|
+
type Props = SheetHeaderProps;
|
|
1833
|
+
}
|
|
1834
|
+
declare const SheetFooter: React.ForwardRefExoticComponent<Omit<SheetFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1835
|
+
interface SheetFooterProps extends React.ComponentProps<'div'> {}
|
|
1836
|
+
declare namespace SheetFooter {
|
|
1837
|
+
type Props = SheetFooterProps;
|
|
1838
|
+
}
|
|
1839
|
+
declare const SheetTitle: React.ForwardRefExoticComponent<Omit<SheetTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
1840
|
+
interface SheetTitleProps extends Dialog$1.Title.Props {}
|
|
1841
|
+
declare namespace SheetTitle {
|
|
1842
|
+
type Props = SheetTitleProps;
|
|
1843
|
+
}
|
|
1844
|
+
declare const SheetDescription: React.ForwardRefExoticComponent<Omit<SheetDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
1845
|
+
interface SheetDescriptionProps extends Dialog$1.Description.Props {}
|
|
1846
|
+
declare namespace SheetDescription {
|
|
1847
|
+
type Props = SheetDescriptionProps;
|
|
1848
|
+
}
|
|
1490
1849
|
//#endregion
|
|
1491
1850
|
//#region src/components/tooltip.d.ts
|
|
1492
|
-
declare function TooltipProvider(
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
declare
|
|
1500
|
-
|
|
1501
|
-
}
|
|
1502
|
-
declare const
|
|
1851
|
+
declare function TooltipProvider(componentProps: TooltipProvider.Props): react_jsx_runtime0.JSX.Element;
|
|
1852
|
+
interface TooltipProviderProps extends Tooltip$1.Provider.Props {}
|
|
1853
|
+
declare namespace TooltipProvider {
|
|
1854
|
+
type Props = TooltipProviderProps;
|
|
1855
|
+
}
|
|
1856
|
+
declare function Tooltip(componentProps: Tooltip.Props): react_jsx_runtime0.JSX.Element;
|
|
1857
|
+
interface TooltipProps extends Tooltip$1.Root.Props {}
|
|
1858
|
+
declare namespace Tooltip {
|
|
1859
|
+
type Props = TooltipProps;
|
|
1860
|
+
}
|
|
1861
|
+
declare const TooltipTrigger: React.ForwardRefExoticComponent<Omit<TooltipTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1862
|
+
interface TooltipTriggerProps extends Tooltip$1.Trigger.Props {}
|
|
1863
|
+
declare namespace TooltipTrigger {
|
|
1864
|
+
type Props = TooltipTriggerProps;
|
|
1865
|
+
}
|
|
1866
|
+
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1867
|
+
interface TooltipContentProps extends Tooltip$1.Popup.Props, Pick<Tooltip$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'> {}
|
|
1868
|
+
declare namespace TooltipContent {
|
|
1869
|
+
type Props = TooltipContentProps;
|
|
1870
|
+
}
|
|
1503
1871
|
//#endregion
|
|
1504
1872
|
//#region src/components/sidebar.d.ts
|
|
1505
1873
|
type SidebarContextProps = {
|
|
@@ -1512,259 +1880,403 @@ type SidebarContextProps = {
|
|
|
1512
1880
|
toggleSidebar: () => void;
|
|
1513
1881
|
};
|
|
1514
1882
|
declare function useSidebar(): SidebarContextProps;
|
|
1515
|
-
declare
|
|
1516
|
-
|
|
1517
|
-
open: openProp,
|
|
1518
|
-
onOpenChange: setOpenProp,
|
|
1519
|
-
className,
|
|
1520
|
-
style,
|
|
1521
|
-
children,
|
|
1522
|
-
...props
|
|
1523
|
-
}: React$2.ComponentProps<'div'> & {
|
|
1883
|
+
declare const SidebarProvider: React.ForwardRefExoticComponent<Omit<SidebarProviderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1884
|
+
interface SidebarProviderProps extends React.ComponentProps<'div'> {
|
|
1524
1885
|
defaultOpen?: boolean;
|
|
1525
1886
|
open?: boolean;
|
|
1526
1887
|
onOpenChange?: (open: boolean) => void;
|
|
1527
|
-
}
|
|
1528
|
-
declare
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
children,
|
|
1534
|
-
dir,
|
|
1535
|
-
...props
|
|
1536
|
-
}: React$2.ComponentProps<'div'> & {
|
|
1888
|
+
}
|
|
1889
|
+
declare namespace SidebarProvider {
|
|
1890
|
+
type Props = SidebarProviderProps;
|
|
1891
|
+
}
|
|
1892
|
+
declare const Sidebar: React.ForwardRefExoticComponent<Omit<SidebarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1893
|
+
interface SidebarProps extends React.ComponentProps<'div'> {
|
|
1537
1894
|
side?: 'left' | 'right';
|
|
1538
1895
|
variant?: 'sidebar' | 'floating' | 'inset';
|
|
1539
1896
|
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
1540
|
-
}
|
|
1541
|
-
declare
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
declare
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
}
|
|
1554
|
-
declare
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
declare
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
}
|
|
1574
|
-
declare
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
declare
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1897
|
+
}
|
|
1898
|
+
declare namespace Sidebar {
|
|
1899
|
+
type Props = SidebarProps;
|
|
1900
|
+
}
|
|
1901
|
+
declare const SidebarTrigger: React.ForwardRefExoticComponent<Omit<SidebarTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1902
|
+
interface SidebarTriggerProps extends React.ComponentProps<typeof Button> {}
|
|
1903
|
+
declare namespace SidebarTrigger {
|
|
1904
|
+
type Props = SidebarTriggerProps;
|
|
1905
|
+
}
|
|
1906
|
+
declare const SidebarRail: React.ForwardRefExoticComponent<Omit<SidebarRailProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1907
|
+
interface SidebarRailProps extends React.ComponentProps<'button'> {}
|
|
1908
|
+
declare namespace SidebarRail {
|
|
1909
|
+
type Props = SidebarRailProps;
|
|
1910
|
+
}
|
|
1911
|
+
declare const SidebarInset: React.ForwardRefExoticComponent<Omit<SidebarInsetProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
1912
|
+
interface SidebarInsetProps extends React.ComponentProps<'main'> {}
|
|
1913
|
+
declare namespace SidebarInset {
|
|
1914
|
+
type Props = SidebarInsetProps;
|
|
1915
|
+
}
|
|
1916
|
+
declare const SidebarInput: React.ForwardRefExoticComponent<Omit<SidebarInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1917
|
+
interface SidebarInputProps extends React.ComponentProps<typeof Input> {}
|
|
1918
|
+
declare namespace SidebarInput {
|
|
1919
|
+
type Props = SidebarInputProps;
|
|
1920
|
+
}
|
|
1921
|
+
declare const SidebarHeader: React.ForwardRefExoticComponent<Omit<SidebarHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1922
|
+
interface SidebarHeaderProps extends React.ComponentProps<'div'> {}
|
|
1923
|
+
declare namespace SidebarHeader {
|
|
1924
|
+
type Props = SidebarHeaderProps;
|
|
1925
|
+
}
|
|
1926
|
+
declare const SidebarFooter: React.ForwardRefExoticComponent<Omit<SidebarFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1927
|
+
interface SidebarFooterProps extends React.ComponentProps<'div'> {}
|
|
1928
|
+
declare namespace SidebarFooter {
|
|
1929
|
+
type Props = SidebarFooterProps;
|
|
1930
|
+
}
|
|
1931
|
+
declare const SidebarSeparator: React.ForwardRefExoticComponent<Omit<SidebarSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1932
|
+
interface SidebarSeparatorProps extends React.ComponentProps<typeof Separator> {}
|
|
1933
|
+
declare namespace SidebarSeparator {
|
|
1934
|
+
type Props = SidebarSeparatorProps;
|
|
1935
|
+
}
|
|
1936
|
+
declare const SidebarContent: React.ForwardRefExoticComponent<Omit<SidebarContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1937
|
+
interface SidebarContentProps extends React.ComponentProps<'div'> {}
|
|
1938
|
+
declare namespace SidebarContent {
|
|
1939
|
+
type Props = SidebarContentProps;
|
|
1940
|
+
}
|
|
1941
|
+
declare const SidebarGroup: React.ForwardRefExoticComponent<Omit<SidebarGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1942
|
+
interface SidebarGroupProps extends React.ComponentProps<'div'> {}
|
|
1943
|
+
declare namespace SidebarGroup {
|
|
1944
|
+
type Props = SidebarGroupProps;
|
|
1945
|
+
}
|
|
1946
|
+
declare const SidebarGroupLabel: React.ForwardRefExoticComponent<Omit<SidebarGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1947
|
+
type SidebarGroupLabelProps = useRender.ComponentProps<'div'> & React.ComponentProps<'div'>;
|
|
1948
|
+
declare namespace SidebarGroupLabel {
|
|
1949
|
+
type Props = SidebarGroupLabelProps;
|
|
1950
|
+
}
|
|
1951
|
+
declare const SidebarGroupAction: React.ForwardRefExoticComponent<Omit<SidebarGroupActionProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1952
|
+
type SidebarGroupActionProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'>;
|
|
1953
|
+
declare namespace SidebarGroupAction {
|
|
1954
|
+
type Props = SidebarGroupActionProps;
|
|
1955
|
+
}
|
|
1956
|
+
declare const SidebarGroupContent: React.ForwardRefExoticComponent<Omit<SidebarGroupContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1957
|
+
interface SidebarGroupContentProps extends React.ComponentProps<'div'> {}
|
|
1958
|
+
declare namespace SidebarGroupContent {
|
|
1959
|
+
type Props = SidebarGroupContentProps;
|
|
1960
|
+
}
|
|
1961
|
+
declare const SidebarMenu: React.ForwardRefExoticComponent<Omit<SidebarMenuProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
1962
|
+
interface SidebarMenuProps extends React.ComponentProps<'ul'> {}
|
|
1963
|
+
declare namespace SidebarMenu {
|
|
1964
|
+
type Props = SidebarMenuProps;
|
|
1965
|
+
}
|
|
1966
|
+
declare const SidebarMenuItem: React.ForwardRefExoticComponent<Omit<SidebarMenuItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
1967
|
+
interface SidebarMenuItemProps extends React.ComponentProps<'li'> {}
|
|
1968
|
+
declare namespace SidebarMenuItem {
|
|
1969
|
+
type Props = SidebarMenuItemProps;
|
|
1970
|
+
}
|
|
1971
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
1608
1972
|
variant?: "default" | "outline" | null | undefined;
|
|
1609
|
-
size?: "default" | "
|
|
1610
|
-
} &
|
|
1611
|
-
declare const
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
}
|
|
1973
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1974
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
1975
|
+
declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<SidebarMenuButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1976
|
+
type SidebarMenuButtonProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'> & VariantProps<typeof sidebarMenuButtonVariants> & {
|
|
1977
|
+
isActive?: boolean;
|
|
1978
|
+
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
1979
|
+
};
|
|
1980
|
+
declare namespace SidebarMenuButton {
|
|
1981
|
+
type Props = SidebarMenuButtonProps;
|
|
1982
|
+
}
|
|
1983
|
+
declare const SidebarMenuAction: React.ForwardRefExoticComponent<Omit<SidebarMenuActionProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1984
|
+
type SidebarMenuActionProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'> & {
|
|
1616
1985
|
showOnHover?: boolean;
|
|
1617
|
-
}
|
|
1618
|
-
declare
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
showIcon?: boolean;
|
|
1986
|
+
};
|
|
1987
|
+
declare namespace SidebarMenuAction {
|
|
1988
|
+
type Props = SidebarMenuActionProps;
|
|
1989
|
+
}
|
|
1990
|
+
declare const SidebarMenuBadge: React.ForwardRefExoticComponent<Omit<SidebarMenuBadgeProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1991
|
+
interface SidebarMenuBadgeProps extends React.ComponentProps<'div'> {}
|
|
1992
|
+
declare namespace SidebarMenuBadge {
|
|
1993
|
+
type Props = SidebarMenuBadgeProps;
|
|
1994
|
+
}
|
|
1995
|
+
declare const SidebarMenuSkeleton: React.ForwardRefExoticComponent<Omit<SidebarMenuSkeletonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1996
|
+
interface SidebarMenuSkeletonProps extends Omit<React.ComponentProps<'div'>, 'width'> {
|
|
1997
|
+
showIcon?: boolean;
|
|
1998
|
+
/** Override the randomized skeleton width (e.g. for deterministic stories). */
|
|
1629
1999
|
width?: string;
|
|
1630
|
-
}
|
|
1631
|
-
declare
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
}
|
|
1639
|
-
declare
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
2000
|
+
}
|
|
2001
|
+
declare namespace SidebarMenuSkeleton {
|
|
2002
|
+
type Props = SidebarMenuSkeletonProps;
|
|
2003
|
+
}
|
|
2004
|
+
declare const SidebarMenuSub: React.ForwardRefExoticComponent<Omit<SidebarMenuSubProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
2005
|
+
interface SidebarMenuSubProps extends React.ComponentProps<'ul'> {}
|
|
2006
|
+
declare namespace SidebarMenuSub {
|
|
2007
|
+
type Props = SidebarMenuSubProps;
|
|
2008
|
+
}
|
|
2009
|
+
declare const SidebarMenuSubItem: React.ForwardRefExoticComponent<Omit<SidebarMenuSubItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
2010
|
+
interface SidebarMenuSubItemProps extends React.ComponentProps<'li'> {}
|
|
2011
|
+
declare namespace SidebarMenuSubItem {
|
|
2012
|
+
type Props = SidebarMenuSubItemProps;
|
|
2013
|
+
}
|
|
2014
|
+
declare const SidebarMenuSubButton: React.ForwardRefExoticComponent<Omit<SidebarMenuSubButtonProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
2015
|
+
type SidebarMenuSubButtonProps = useRender.ComponentProps<'a'> & React.ComponentProps<'a'> & {
|
|
1646
2016
|
size?: 'sm' | 'md';
|
|
1647
2017
|
isActive?: boolean;
|
|
1648
|
-
}
|
|
2018
|
+
};
|
|
2019
|
+
declare namespace SidebarMenuSubButton {
|
|
2020
|
+
type Props = SidebarMenuSubButtonProps;
|
|
2021
|
+
}
|
|
1649
2022
|
//#endregion
|
|
1650
2023
|
//#region src/components/skeleton.d.ts
|
|
1651
|
-
declare
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
2024
|
+
declare const Skeleton: React.ForwardRefExoticComponent<Omit<SkeletonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2025
|
+
interface SkeletonProps extends React.ComponentProps<'div'> {}
|
|
2026
|
+
declare namespace Skeleton {
|
|
2027
|
+
type Props = SkeletonProps;
|
|
2028
|
+
}
|
|
1655
2029
|
//#endregion
|
|
1656
2030
|
//#region src/components/slider.d.ts
|
|
1657
|
-
declare
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
max,
|
|
1663
|
-
orientation,
|
|
1664
|
-
...props
|
|
1665
|
-
}: Slider$1.Root.Props): react_jsx_runtime15.JSX.Element;
|
|
2031
|
+
declare const Slider: React.ForwardRefExoticComponent<Omit<SliderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2032
|
+
interface SliderProps extends Slider$1.Root.Props {}
|
|
2033
|
+
declare namespace Slider {
|
|
2034
|
+
type Props = SliderProps;
|
|
2035
|
+
}
|
|
1666
2036
|
//#endregion
|
|
1667
2037
|
//#region src/components/sonner.d.ts
|
|
1668
|
-
declare const Toaster: (
|
|
1669
|
-
|
|
1670
|
-
|
|
2038
|
+
declare const Toaster: (componentProps: Toaster.Props) => react_jsx_runtime0.JSX.Element;
|
|
2039
|
+
declare namespace Toaster {
|
|
2040
|
+
type Props = ToasterProps;
|
|
2041
|
+
}
|
|
1671
2042
|
//#endregion
|
|
1672
2043
|
//#region src/components/spinner.d.ts
|
|
1673
2044
|
declare const spinnerVariants: (props?: ({
|
|
1674
|
-
size?: "default" | "
|
|
1675
|
-
} &
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
2045
|
+
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
2046
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
2047
|
+
declare const Spinner: React.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
2048
|
+
interface SpinnerProps extends React.ComponentProps<'svg'>, VariantProps<typeof spinnerVariants> {}
|
|
2049
|
+
declare namespace Spinner {
|
|
2050
|
+
type Props = SpinnerProps;
|
|
2051
|
+
}
|
|
2052
|
+
//#endregion
|
|
2053
|
+
//#region src/components/stepper.d.ts
|
|
2054
|
+
type StepDefinition = {
|
|
2055
|
+
id: string;
|
|
2056
|
+
title?: string;
|
|
2057
|
+
description?: string;
|
|
2058
|
+
};
|
|
2059
|
+
interface StepperContextValue {
|
|
2060
|
+
activeId: string;
|
|
2061
|
+
goTo: (id: string) => void;
|
|
2062
|
+
getIndex: (id: string) => number;
|
|
2063
|
+
steps: StepDefinition[];
|
|
2064
|
+
}
|
|
2065
|
+
declare function useStepper(): StepperContextValue;
|
|
2066
|
+
declare const Stepper: React.ForwardRefExoticComponent<Omit<StepperProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2067
|
+
interface StepperProps extends React.ComponentProps<'div'> {
|
|
2068
|
+
steps: StepDefinition[];
|
|
2069
|
+
defaultValue?: string;
|
|
2070
|
+
value?: string;
|
|
2071
|
+
onValueChange?: (value: string) => void;
|
|
2072
|
+
}
|
|
2073
|
+
declare namespace Stepper {
|
|
2074
|
+
type Props = StepperProps;
|
|
2075
|
+
}
|
|
2076
|
+
declare const StepperProgress: React.ForwardRefExoticComponent<Omit<StepperProgressProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2077
|
+
interface StepperProgressProps extends React.ComponentProps<'div'> {
|
|
2078
|
+
steps?: string[];
|
|
2079
|
+
}
|
|
2080
|
+
declare namespace StepperProgress {
|
|
2081
|
+
type Props = StepperProgressProps;
|
|
2082
|
+
}
|
|
2083
|
+
declare const StepperCounter: React.ForwardRefExoticComponent<Omit<StepperCounterProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
2084
|
+
interface StepperCounterProps extends React.ComponentProps<'p'> {
|
|
2085
|
+
steps?: string[];
|
|
2086
|
+
}
|
|
2087
|
+
declare namespace StepperCounter {
|
|
2088
|
+
type Props = StepperCounterProps;
|
|
2089
|
+
}
|
|
2090
|
+
declare const StepperPanel: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2091
|
+
declare namespace StepperPanel {
|
|
2092
|
+
type Props = React.ComponentProps<'div'>;
|
|
2093
|
+
}
|
|
2094
|
+
declare const StepperContent: React.ForwardRefExoticComponent<Omit<StepperContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2095
|
+
interface StepperContentProps extends React.ComponentProps<'div'> {
|
|
2096
|
+
value: string;
|
|
2097
|
+
forceMount?: boolean;
|
|
2098
|
+
}
|
|
2099
|
+
declare namespace StepperContent {
|
|
2100
|
+
type Props = StepperContentProps;
|
|
2101
|
+
}
|
|
1682
2102
|
//#endregion
|
|
1683
2103
|
//#region src/components/switch.d.ts
|
|
1684
|
-
declare
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
2104
|
+
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
2105
|
+
interface SwitchProps extends Switch$1.Root.Props {}
|
|
2106
|
+
declare namespace Switch {
|
|
2107
|
+
type Props = SwitchProps;
|
|
2108
|
+
}
|
|
1688
2109
|
//#endregion
|
|
1689
2110
|
//#region src/components/table.d.ts
|
|
1690
|
-
declare const Table: React
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
declare
|
|
1696
|
-
|
|
1697
|
-
|
|
2111
|
+
declare const Table: React.ForwardRefExoticComponent<Omit<TableProps, "ref"> & React.RefAttributes<HTMLTableElement>>;
|
|
2112
|
+
interface TableProps extends React.ComponentProps<'table'> {
|
|
2113
|
+
containerClassName?: string;
|
|
2114
|
+
containerStyle?: React.CSSProperties;
|
|
2115
|
+
}
|
|
2116
|
+
declare namespace Table {
|
|
2117
|
+
type Props = TableProps;
|
|
2118
|
+
}
|
|
2119
|
+
declare const TableHeader: React.ForwardRefExoticComponent<Omit<TableHeaderProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
2120
|
+
interface TableHeaderProps extends React.ComponentProps<'thead'> {}
|
|
2121
|
+
declare namespace TableHeader {
|
|
2122
|
+
type Props = TableHeaderProps;
|
|
2123
|
+
}
|
|
2124
|
+
declare const TableBody: React.ForwardRefExoticComponent<Omit<TableBodyProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
2125
|
+
interface TableBodyProps extends React.ComponentProps<'tbody'> {}
|
|
2126
|
+
declare namespace TableBody {
|
|
2127
|
+
type Props = TableBodyProps;
|
|
2128
|
+
}
|
|
2129
|
+
declare const TableFooter: React.ForwardRefExoticComponent<Omit<TableFooterProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
2130
|
+
interface TableFooterProps extends React.ComponentProps<'tfoot'> {}
|
|
2131
|
+
declare namespace TableFooter {
|
|
2132
|
+
type Props = TableFooterProps;
|
|
2133
|
+
}
|
|
2134
|
+
declare const TableRow: React.ForwardRefExoticComponent<Omit<TableRowProps, "ref"> & React.RefAttributes<HTMLTableRowElement>>;
|
|
2135
|
+
interface TableRowProps extends React.ComponentProps<'tr'> {}
|
|
2136
|
+
declare namespace TableRow {
|
|
2137
|
+
type Props = TableRowProps;
|
|
2138
|
+
}
|
|
2139
|
+
declare const TableHead: React.ForwardRefExoticComponent<Omit<TableHeadProps, "ref"> & React.RefAttributes<HTMLTableCellElement>>;
|
|
2140
|
+
interface TableHeadProps extends React.ComponentProps<'th'> {}
|
|
2141
|
+
declare namespace TableHead {
|
|
2142
|
+
type Props = TableHeadProps;
|
|
2143
|
+
}
|
|
2144
|
+
declare const TableCell: React.ForwardRefExoticComponent<Omit<TableCellProps, "ref"> & React.RefAttributes<HTMLTableCellElement>>;
|
|
2145
|
+
interface TableCellProps extends React.ComponentProps<'td'> {}
|
|
2146
|
+
declare namespace TableCell {
|
|
2147
|
+
type Props = TableCellProps;
|
|
2148
|
+
}
|
|
1698
2149
|
//#endregion
|
|
1699
2150
|
//#region src/components/tabs.d.ts
|
|
1700
|
-
declare
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
}
|
|
1705
|
-
declare
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
2151
|
+
declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2152
|
+
interface TabsProps extends Tabs$1.Root.Props {}
|
|
2153
|
+
declare namespace Tabs {
|
|
2154
|
+
type Props = TabsProps;
|
|
2155
|
+
}
|
|
2156
|
+
declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2157
|
+
interface TabsListProps extends Tabs$1.List.Props {}
|
|
2158
|
+
declare namespace TabsList {
|
|
2159
|
+
type Props = TabsListProps;
|
|
2160
|
+
}
|
|
2161
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsTriggerProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
2162
|
+
interface TabsTriggerProps extends Tabs$1.Tab.Props {}
|
|
2163
|
+
declare namespace TabsTrigger {
|
|
2164
|
+
type Props = TabsTriggerProps;
|
|
2165
|
+
}
|
|
2166
|
+
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2167
|
+
interface TabsContentProps extends Tabs$1.Panel.Props {}
|
|
2168
|
+
declare namespace TabsContent {
|
|
2169
|
+
type Props = TabsContentProps;
|
|
2170
|
+
}
|
|
1717
2171
|
//#endregion
|
|
1718
2172
|
//#region src/components/textarea.d.ts
|
|
1719
|
-
declare
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
2173
|
+
declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
2174
|
+
interface TextareaProps extends React.ComponentProps<'textarea'> {}
|
|
2175
|
+
declare namespace Textarea {
|
|
2176
|
+
type Props = TextareaProps;
|
|
2177
|
+
}
|
|
1723
2178
|
//#endregion
|
|
1724
2179
|
//#region src/components/theme-provider.d.ts
|
|
1725
|
-
type ThemeProviderProps = ThemeProviderProps
|
|
1726
|
-
declare function ThemeProvider(
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
}
|
|
2180
|
+
type ThemeProviderProps$1 = ThemeProviderProps;
|
|
2181
|
+
declare function ThemeProvider(componentProps: ThemeProvider.Props): React.ReactNode;
|
|
2182
|
+
declare namespace ThemeProvider {
|
|
2183
|
+
type Props = ThemeProviderProps$1;
|
|
2184
|
+
}
|
|
1730
2185
|
//#endregion
|
|
1731
2186
|
//#region src/components/toggle.d.ts
|
|
1732
2187
|
declare const toggleVariants: (props?: ({
|
|
1733
2188
|
variant?: "default" | "outline" | null | undefined;
|
|
1734
|
-
size?: "default" | "
|
|
1735
|
-
} &
|
|
1736
|
-
declare
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
}: Toggle$1.Props & VariantProps<typeof toggleVariants>): react_jsx_runtime15.JSX.Element;
|
|
2189
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2190
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
2191
|
+
declare const Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2192
|
+
interface ToggleProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
|
|
2193
|
+
declare namespace Toggle {
|
|
2194
|
+
type Props = ToggleProps;
|
|
2195
|
+
}
|
|
1742
2196
|
//#endregion
|
|
1743
2197
|
//#region src/components/toggle-group.d.ts
|
|
1744
|
-
declare
|
|
1745
|
-
|
|
1746
|
-
variant,
|
|
1747
|
-
size,
|
|
1748
|
-
spacing,
|
|
1749
|
-
orientation,
|
|
1750
|
-
block,
|
|
1751
|
-
children,
|
|
1752
|
-
...props
|
|
1753
|
-
}: ToggleGroup$1.Props & VariantProps<typeof toggleVariants> & {
|
|
2198
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<Omit<ToggleGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2199
|
+
type ToggleGroupProps = ToggleGroup$1.Props & VariantProps<typeof toggleVariants> & {
|
|
1754
2200
|
spacing?: number;
|
|
1755
|
-
orientation?:
|
|
2201
|
+
orientation?: 'horizontal' | 'vertical';
|
|
1756
2202
|
/**
|
|
1757
2203
|
* Stretch the group to fill its container.
|
|
1758
2204
|
*/
|
|
1759
2205
|
block?: boolean;
|
|
1760
|
-
}
|
|
1761
|
-
declare
|
|
2206
|
+
};
|
|
2207
|
+
declare namespace ToggleGroup {
|
|
2208
|
+
type Props = ToggleGroupProps;
|
|
2209
|
+
}
|
|
2210
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2211
|
+
interface ToggleGroupItemProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
|
|
2212
|
+
declare namespace ToggleGroupItem {
|
|
2213
|
+
type Props = ToggleGroupItemProps;
|
|
2214
|
+
}
|
|
2215
|
+
//#endregion
|
|
2216
|
+
//#region src/components/tree.d.ts
|
|
2217
|
+
interface TreeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
2218
|
+
/** Pixel indentation applied per nesting level. Defaults to `20`. */
|
|
2219
|
+
indent?: number;
|
|
2220
|
+
/** The tree instance returned by `useTree`. */
|
|
2221
|
+
tree?: any;
|
|
2222
|
+
}
|
|
2223
|
+
declare namespace Tree {
|
|
2224
|
+
type Props = TreeProps;
|
|
2225
|
+
}
|
|
2226
|
+
declare function Tree({
|
|
2227
|
+
indent,
|
|
2228
|
+
tree,
|
|
2229
|
+
className,
|
|
2230
|
+
...props
|
|
2231
|
+
}: Tree.Props): react_jsx_runtime0.JSX.Element;
|
|
2232
|
+
interface TreeItemProps<T = any> extends React.HTMLAttributes<HTMLDivElement> {
|
|
2233
|
+
/** The item instance from `tree.getItems()`. */
|
|
2234
|
+
item: ItemInstance<T>;
|
|
2235
|
+
/**
|
|
2236
|
+
* What activating the row does — fired on a row-body click and on Enter/Space
|
|
2237
|
+
* while the row is focused (not when a child checkbox/chevron is the target).
|
|
2238
|
+
* Provide it to make row activation toggle selection (e.g.
|
|
2239
|
+
* `() => item.toggleCheckedState()`). When omitted, activation toggles the
|
|
2240
|
+
* folder's expansion — the default for a plain navigation tree. Expansion via
|
|
2241
|
+
* the `TreeItemLabel` chevron button and the ←/→ arrow keys always works
|
|
2242
|
+
* regardless of this prop.
|
|
2243
|
+
*/
|
|
2244
|
+
onActivate?: (item: ItemInstance<T>) => void;
|
|
2245
|
+
}
|
|
2246
|
+
declare namespace TreeItem {
|
|
2247
|
+
type Props<T = any> = TreeItemProps<T>;
|
|
2248
|
+
}
|
|
2249
|
+
declare function TreeItem<T = any>({
|
|
2250
|
+
item,
|
|
1762
2251
|
className,
|
|
1763
2252
|
children,
|
|
1764
|
-
|
|
1765
|
-
|
|
2253
|
+
onActivate,
|
|
2254
|
+
onClick: userOnClick,
|
|
2255
|
+
onKeyDown: userOnKeyDown,
|
|
2256
|
+
style: userStyle,
|
|
2257
|
+
...props
|
|
2258
|
+
}: TreeItem.Props<T>): react_jsx_runtime0.JSX.Element;
|
|
2259
|
+
interface TreeItemLabelProps<T = any> extends React.HTMLAttributes<HTMLSpanElement> {
|
|
2260
|
+
/** Item to label. Falls back to the current `TreeItem` from context. */
|
|
2261
|
+
item?: ItemInstance<T>;
|
|
2262
|
+
}
|
|
2263
|
+
declare namespace TreeItemLabel {
|
|
2264
|
+
type Props<T = any> = TreeItemLabelProps<T>;
|
|
2265
|
+
}
|
|
2266
|
+
declare function TreeItemLabel<T = any>({
|
|
2267
|
+
item: propItem,
|
|
2268
|
+
children,
|
|
2269
|
+
className,
|
|
2270
|
+
...props
|
|
2271
|
+
}: TreeItemLabel.Props<T>): react_jsx_runtime0.JSX.Element | null;
|
|
2272
|
+
interface TreeDragLineProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
2273
|
+
declare namespace TreeDragLine {
|
|
2274
|
+
type Props = TreeDragLineProps;
|
|
2275
|
+
}
|
|
2276
|
+
declare function TreeDragLine({
|
|
2277
|
+
className,
|
|
1766
2278
|
...props
|
|
1767
|
-
}:
|
|
2279
|
+
}: TreeDragLine.Props): react_jsx_runtime0.JSX.Element | null;
|
|
1768
2280
|
//#endregion
|
|
1769
2281
|
//#region src/hooks/use-audio-gauge.d.ts
|
|
1770
2282
|
interface UseAudioGaugeOptions {
|
|
@@ -1824,4 +2336,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
|
|
|
1824
2336
|
//#region src/lib/utils.d.ts
|
|
1825
2337
|
declare function cn(...inputs: ClassValue[]): string;
|
|
1826
2338
|
//#endregion
|
|
1827
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertAction as BannerAction, AlertDescription, AlertDescription as BannerDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger,
|
|
2339
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionBar, ActionBarButton, ActionBarContext, type ActionBarContextValue, ActionBarHeight, Alert, AlertAction, AlertAction as BannerAction, AlertDescription, AlertDescription as BannerDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlertTitle as BannerTitle, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BadgeGroup, BadgeGroupCount, Banner, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, type ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, DataTable, type DataTableLoadingState, DataTree, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBackdrop, DrawerBar, DrawerClose, DrawerContent, DrawerCreateHandle, DrawerDescription, DrawerFooter, DrawerHeader, DrawerMenu, DrawerMenuCheckboxItem, DrawerMenuGroup, DrawerMenuGroupLabel, DrawerMenuItem, DrawerMenuRadioGroup, DrawerMenuRadioItem, DrawerMenuSeparator, DrawerMenuTrigger, DrawerPanel, DrawerPopup, DrawerPortal, DrawerPrimitive, DrawerSwipeArea, DrawerTitle, DrawerTrigger, DrawerViewport, DropdownMenu, DropdownMenuAddon, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneActions, DropzoneContent, DropzoneDescription, type DropzoneErrorCode, DropzoneIcon, DropzoneTitle, DropzoneTrigger, EmojiPicker, EmojiPickerCategories, type EmojiPickerCategory, EmojiPickerContent, EmojiPickerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAB, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FileError, type FileRejection, Filter, FilterClearAllButton, FilterGroup, Gauge, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, List, ListCol, ListRow, type NotificationHandle, type NotificationOptions, type NotificationPriority, type NotificationQueueControls, NotificationQueueProvider, type NotificationRenderProps, NotificationSlot, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, ScrollArea, ScrollAreaPrimitive, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetOverlay, type SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, type StepDefinition, Stepper, StepperContent, StepperCounter, StepperPanel, StepperProgress, Switch, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TreeDragLine, TreeItem, TreeItemLabel, UseAudioGaugeOptions, UseAudioGaugeResult, alertVariants, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, fabVariants, selectTriggerVariants, spinnerVariants, toast, toggleVariants, useAudioGauge, useComboboxAnchor, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
|