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