@px-ui/core 3.1.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +171 -138
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +81 -50
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as _base_ui_react0 from "@base-ui/react";
|
|
|
5
5
|
import { Collapsible, Dialog, Toast } from "@base-ui/react";
|
|
6
6
|
import { ArgumentArray } from "classnames";
|
|
7
7
|
import { VariantProps } from "class-variance-authority";
|
|
8
|
-
import * as
|
|
8
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
9
9
|
import { Popover } from "@base-ui/react/popover";
|
|
10
10
|
import { Combobox } from "@base-ui/react/combobox";
|
|
11
11
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
@@ -23,8 +23,10 @@ import { useRender } from "@base-ui/react/use-render";
|
|
|
23
23
|
import { DayPickerProps } from "react-day-picker";
|
|
24
24
|
import { Avatar as Avatar$1 } from "@base-ui/react/avatar";
|
|
25
25
|
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
26
|
-
import
|
|
26
|
+
import { OTPInput } from "input-otp";
|
|
27
|
+
import * as class_variance_authority_types12 from "class-variance-authority/types";
|
|
27
28
|
export * from "class-variance-authority";
|
|
29
|
+
export * from "input-otp";
|
|
28
30
|
|
|
29
31
|
//#region src/components/dialog.d.ts
|
|
30
32
|
declare namespace dialog_d_exports {
|
|
@@ -32,70 +34,70 @@ declare namespace dialog_d_exports {
|
|
|
32
34
|
}
|
|
33
35
|
declare function Root$11({
|
|
34
36
|
...props
|
|
35
|
-
}: React$2.ComponentProps<typeof Dialog.Root>):
|
|
37
|
+
}: React$2.ComponentProps<typeof Dialog.Root>): react_jsx_runtime35.JSX.Element;
|
|
36
38
|
declare function Portal({
|
|
37
39
|
...props
|
|
38
|
-
}: React$2.ComponentProps<typeof Dialog.Portal>):
|
|
40
|
+
}: React$2.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime35.JSX.Element;
|
|
39
41
|
declare function Trigger$8({
|
|
40
42
|
...props
|
|
41
|
-
}: React$2.ComponentProps<typeof Dialog.Trigger>):
|
|
43
|
+
}: React$2.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime35.JSX.Element;
|
|
42
44
|
declare function Close$1({
|
|
43
45
|
...props
|
|
44
|
-
}: React$2.ComponentProps<typeof Dialog.Close>):
|
|
46
|
+
}: React$2.ComponentProps<typeof Dialog.Close>): react_jsx_runtime35.JSX.Element;
|
|
45
47
|
declare function Overlay({
|
|
46
48
|
className,
|
|
47
49
|
...props
|
|
48
|
-
}: React$2.ComponentProps<typeof Dialog.Backdrop>):
|
|
50
|
+
}: React$2.ComponentProps<typeof Dialog.Backdrop>): react_jsx_runtime35.JSX.Element;
|
|
49
51
|
declare function Content$6({
|
|
50
52
|
className,
|
|
51
53
|
children,
|
|
52
54
|
...props
|
|
53
|
-
}: React$2.ComponentProps<typeof Dialog.Popup>):
|
|
55
|
+
}: React$2.ComponentProps<typeof Dialog.Popup>): react_jsx_runtime35.JSX.Element;
|
|
54
56
|
declare function Header$3({
|
|
55
57
|
className,
|
|
56
58
|
...props
|
|
57
|
-
}: React$2.ComponentProps<"div">):
|
|
59
|
+
}: React$2.ComponentProps<"div">): react_jsx_runtime35.JSX.Element;
|
|
58
60
|
declare function HeaderContent({
|
|
59
61
|
className,
|
|
60
62
|
children,
|
|
61
63
|
...props
|
|
62
|
-
}: React$2.ComponentProps<"div">):
|
|
64
|
+
}: React$2.ComponentProps<"div">): react_jsx_runtime35.JSX.Element;
|
|
63
65
|
declare function HeaderIcon({
|
|
64
66
|
className,
|
|
65
67
|
children,
|
|
66
68
|
...props
|
|
67
|
-
}: React$2.ComponentProps<"div">):
|
|
69
|
+
}: React$2.ComponentProps<"div">): react_jsx_runtime35.JSX.Element;
|
|
68
70
|
declare function Footer$1({
|
|
69
71
|
className,
|
|
70
72
|
...props
|
|
71
|
-
}: React$2.ComponentProps<"div">):
|
|
73
|
+
}: React$2.ComponentProps<"div">): react_jsx_runtime35.JSX.Element;
|
|
72
74
|
declare function Title$3({
|
|
73
75
|
className,
|
|
74
76
|
...props
|
|
75
|
-
}: React$2.ComponentProps<typeof Dialog.Title>):
|
|
77
|
+
}: React$2.ComponentProps<typeof Dialog.Title>): react_jsx_runtime35.JSX.Element;
|
|
76
78
|
declare function Description$3({
|
|
77
79
|
className,
|
|
78
80
|
...props
|
|
79
|
-
}: React$2.ComponentProps<typeof Dialog.Description>):
|
|
81
|
+
}: React$2.ComponentProps<typeof Dialog.Description>): react_jsx_runtime35.JSX.Element;
|
|
80
82
|
declare namespace popover_d_exports {
|
|
81
83
|
export { Close, CloseIconButton, Content$5 as Content, Description$2 as Description, Footer, Header$2 as Header, Root$10 as Root, Title$2 as Title, Trigger$7 as Trigger };
|
|
82
84
|
}
|
|
83
|
-
declare function Root$10(props: React.ComponentProps<typeof Popover.Root>):
|
|
84
|
-
declare function Trigger$7(props: React.ComponentProps<typeof Popover.Trigger>):
|
|
85
|
-
declare function Close(props: React.ComponentProps<typeof Popover.Close>):
|
|
86
|
-
declare function Positioner(props: React.ComponentProps<typeof Popover.Positioner>):
|
|
85
|
+
declare function Root$10(props: React.ComponentProps<typeof Popover.Root>): react_jsx_runtime35.JSX.Element;
|
|
86
|
+
declare function Trigger$7(props: React.ComponentProps<typeof Popover.Trigger>): react_jsx_runtime35.JSX.Element;
|
|
87
|
+
declare function Close(props: React.ComponentProps<typeof Popover.Close>): react_jsx_runtime35.JSX.Element;
|
|
88
|
+
declare function Positioner(props: React.ComponentProps<typeof Popover.Positioner>): react_jsx_runtime35.JSX.Element;
|
|
87
89
|
declare function Header$2({
|
|
88
90
|
className,
|
|
89
91
|
...props
|
|
90
|
-
}: React.ComponentProps<"div">):
|
|
92
|
+
}: React.ComponentProps<"div">): react_jsx_runtime35.JSX.Element;
|
|
91
93
|
declare function Title$2({
|
|
92
94
|
className,
|
|
93
95
|
...props
|
|
94
|
-
}: React.ComponentProps<typeof Popover.Title>):
|
|
96
|
+
}: React.ComponentProps<typeof Popover.Title>): react_jsx_runtime35.JSX.Element;
|
|
95
97
|
declare function Description$2({
|
|
96
98
|
className,
|
|
97
99
|
...props
|
|
98
|
-
}: React.ComponentProps<typeof Popover.Description>):
|
|
100
|
+
}: React.ComponentProps<typeof Popover.Description>): react_jsx_runtime35.JSX.Element;
|
|
99
101
|
declare function Content$5({
|
|
100
102
|
children,
|
|
101
103
|
className,
|
|
@@ -110,41 +112,41 @@ declare function Content$5({
|
|
|
110
112
|
children: React.ReactNode;
|
|
111
113
|
arrow?: boolean;
|
|
112
114
|
className?: string;
|
|
113
|
-
}):
|
|
115
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
114
116
|
declare function CloseIconButton({
|
|
115
117
|
className,
|
|
116
118
|
...props
|
|
117
|
-
}: React.ComponentProps<"button">):
|
|
119
|
+
}: React.ComponentProps<"button">): react_jsx_runtime35.JSX.Element;
|
|
118
120
|
declare function Footer({
|
|
119
121
|
className,
|
|
120
122
|
...props
|
|
121
|
-
}: React.ComponentProps<"div">):
|
|
123
|
+
}: React.ComponentProps<"div">): react_jsx_runtime35.JSX.Element;
|
|
122
124
|
//#endregion
|
|
123
125
|
//#region src/tw-styles/dropdown.d.ts
|
|
124
126
|
declare const triggerVariants: (props?: ({
|
|
125
127
|
size?: "default" | "sm" | null | undefined;
|
|
126
128
|
widthVariant?: "enforced" | "full" | "fit" | null | undefined;
|
|
127
|
-
} &
|
|
129
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
128
130
|
//#endregion
|
|
129
131
|
//#region src/components/button.d.ts
|
|
130
132
|
declare const buttonVariants: (props?: ({
|
|
131
133
|
variant?: "link" | "default" | "primary" | "destructive" | "outline" | "primary-outline" | "ghost" | null | undefined;
|
|
132
134
|
size?: "default" | "sm" | "lg" | "icon-sm" | "icon" | null | undefined;
|
|
133
|
-
} &
|
|
135
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
134
136
|
interface ButtonProps extends React$2.ComponentProps<"button">, VariantProps<typeof buttonVariants> {}
|
|
135
137
|
declare function Button({
|
|
136
138
|
className,
|
|
137
139
|
variant,
|
|
138
140
|
size,
|
|
139
141
|
...props
|
|
140
|
-
}: ButtonProps):
|
|
142
|
+
}: ButtonProps): react_jsx_runtime35.JSX.Element;
|
|
141
143
|
declare namespace input_group_d_exports {
|
|
142
144
|
export { Addon, Button$1 as Button, Input$1 as Input, Root$9 as Root, Text };
|
|
143
145
|
}
|
|
144
146
|
declare const inputGroupVariants: (props?: ({
|
|
145
147
|
size?: "default" | "sm" | null | undefined;
|
|
146
148
|
widthVariant?: "enforced" | "full" | "fit" | null | undefined;
|
|
147
|
-
} &
|
|
149
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
148
150
|
declare function Root$9({
|
|
149
151
|
className,
|
|
150
152
|
size,
|
|
@@ -153,37 +155,37 @@ declare function Root$9({
|
|
|
153
155
|
...props
|
|
154
156
|
}: React$2.ComponentProps<"div"> & VariantProps<typeof inputGroupVariants> & {
|
|
155
157
|
disabled?: boolean;
|
|
156
|
-
}):
|
|
158
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
157
159
|
declare const inputGroupAddonVariants: (props?: ({
|
|
158
160
|
align?: "inline-start" | "inline-end" | null | undefined;
|
|
159
|
-
} &
|
|
161
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
160
162
|
interface AddonProps extends React$2.ComponentProps<"div">, VariantProps<typeof inputGroupAddonVariants> {}
|
|
161
163
|
declare function Addon({
|
|
162
164
|
className,
|
|
163
165
|
align,
|
|
164
166
|
...props
|
|
165
|
-
}: AddonProps):
|
|
167
|
+
}: AddonProps): react_jsx_runtime35.JSX.Element;
|
|
166
168
|
declare const inputGroupButtonVariants: (props?: ({
|
|
167
169
|
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
168
|
-
} &
|
|
170
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
169
171
|
declare function Button$1({
|
|
170
172
|
className,
|
|
171
173
|
type,
|
|
172
174
|
variant,
|
|
173
175
|
size,
|
|
174
176
|
...props
|
|
175
|
-
}: Omit<React$2.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>):
|
|
177
|
+
}: Omit<React$2.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime35.JSX.Element;
|
|
176
178
|
declare function Text({
|
|
177
179
|
className,
|
|
178
180
|
...props
|
|
179
|
-
}: React$2.ComponentProps<"span">):
|
|
181
|
+
}: React$2.ComponentProps<"span">): react_jsx_runtime35.JSX.Element;
|
|
180
182
|
declare function Input$1({
|
|
181
183
|
className,
|
|
182
184
|
invalid,
|
|
183
185
|
...props
|
|
184
186
|
}: React$2.ComponentProps<"input"> & {
|
|
185
187
|
invalid?: boolean;
|
|
186
|
-
}):
|
|
188
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
187
189
|
//#endregion
|
|
188
190
|
//#region src/hooks/use-async-options.d.ts
|
|
189
191
|
type LoadOptionsData<TData$1> = {
|
|
@@ -263,7 +265,7 @@ declare function Root$8<ItemValue, Multiple extends boolean | undefined = false>
|
|
|
263
265
|
...props
|
|
264
266
|
}: React$2.ComponentProps<typeof Combobox.Root<ItemValue, Multiple>> & Pick<ComboboxContextValues, "isLoading" | "isLoadingMore" | "isError" | "onLoadMore" | "hasMore" | "invalid"> & {
|
|
265
267
|
loadOptions?: LoadOptionsConfig<ItemValue>;
|
|
266
|
-
}):
|
|
268
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
267
269
|
declare function Content$4({
|
|
268
270
|
empty,
|
|
269
271
|
portalProps,
|
|
@@ -277,26 +279,26 @@ declare function Content$4({
|
|
|
277
279
|
positionerProps?: React$2.ComponentProps<typeof Combobox.Positioner>;
|
|
278
280
|
popupProps?: React$2.ComponentProps<typeof Combobox.Popup>;
|
|
279
281
|
widthVariant?: "trigger" | "fit" | "enforced";
|
|
280
|
-
}>):
|
|
282
|
+
}>): react_jsx_runtime35.JSX.Element;
|
|
281
283
|
declare function Item$7({
|
|
282
284
|
className,
|
|
283
285
|
...props
|
|
284
|
-
}: React$2.ComponentProps<typeof Combobox.Item>):
|
|
286
|
+
}: React$2.ComponentProps<typeof Combobox.Item>): react_jsx_runtime35.JSX.Element;
|
|
285
287
|
declare function MultiItem$1({
|
|
286
288
|
className,
|
|
287
289
|
...props
|
|
288
|
-
}: React$2.ComponentProps<typeof Combobox.Item>):
|
|
290
|
+
}: React$2.ComponentProps<typeof Combobox.Item>): react_jsx_runtime35.JSX.Element;
|
|
289
291
|
declare function LoadingIndicator(props: {
|
|
290
292
|
className?: string;
|
|
291
|
-
}):
|
|
293
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
292
294
|
declare function SearchableTrigger(props: {
|
|
293
295
|
placeholder?: string;
|
|
294
296
|
size?: React$2.ComponentProps<typeof Root$9>["size"];
|
|
295
297
|
widthVariant?: React$2.ComponentProps<typeof Root$9>["widthVariant"];
|
|
296
298
|
className?: string;
|
|
297
299
|
addons?: React$2.ReactNode;
|
|
298
|
-
}):
|
|
299
|
-
declare function SearchableTriggerDropdownAddon():
|
|
300
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
301
|
+
declare function SearchableTriggerDropdownAddon(): react_jsx_runtime35.JSX.Element;
|
|
300
302
|
interface TriggerProps$2 extends Combobox.Trigger.Props, VariantProps<typeof triggerVariants> {}
|
|
301
303
|
declare function Trigger$6({
|
|
302
304
|
size,
|
|
@@ -304,7 +306,7 @@ declare function Trigger$6({
|
|
|
304
306
|
children,
|
|
305
307
|
className,
|
|
306
308
|
...props
|
|
307
|
-
}: TriggerProps$2):
|
|
309
|
+
}: TriggerProps$2): react_jsx_runtime35.JSX.Element;
|
|
308
310
|
/**
|
|
309
311
|
* Renders the value, if `value` is a string or an object with `label` property in it,
|
|
310
312
|
* then renders that value else you should provide a render function to render your custom value
|
|
@@ -318,11 +320,11 @@ declare function Value$2({
|
|
|
318
320
|
placeholder?: string;
|
|
319
321
|
children?: React$2.ReactNode | ((selectedValue: any) => React$2.ReactNode);
|
|
320
322
|
className?: string;
|
|
321
|
-
}):
|
|
323
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
322
324
|
declare const chipsTriggerVariants: (props?: ({
|
|
323
325
|
size?: "default" | "sm" | null | undefined;
|
|
324
326
|
widthVariant?: "enforced" | "full" | null | undefined;
|
|
325
|
-
} &
|
|
327
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
326
328
|
declare function ChipsTrigger({
|
|
327
329
|
size,
|
|
328
330
|
widthVariant,
|
|
@@ -331,14 +333,14 @@ declare function ChipsTrigger({
|
|
|
331
333
|
children: React$2.ReactNode | ((selectedValue: any) => React$2.ReactNode);
|
|
332
334
|
placeholder?: string;
|
|
333
335
|
className?: string;
|
|
334
|
-
} & VariantProps<typeof chipsTriggerVariants>):
|
|
336
|
+
} & VariantProps<typeof chipsTriggerVariants>): react_jsx_runtime35.JSX.Element;
|
|
335
337
|
declare function Chip(props: React$2.ComponentProps<typeof Combobox.Chip> & {
|
|
336
338
|
key: React$2.Key;
|
|
337
|
-
}):
|
|
339
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
338
340
|
declare function Search({
|
|
339
341
|
placeholder,
|
|
340
342
|
...props
|
|
341
|
-
}: React$2.ComponentProps<typeof Combobox.Input>):
|
|
343
|
+
}: React$2.ComponentProps<typeof Combobox.Input>): react_jsx_runtime35.JSX.Element;
|
|
342
344
|
declare function useComboboxContext(): ComboboxContextValues;
|
|
343
345
|
declare const BaseCombobox: typeof Combobox;
|
|
344
346
|
declare namespace select_d_exports {
|
|
@@ -350,7 +352,7 @@ declare function Root$7<Value$3 = any, Multiple extends boolean | undefined = fa
|
|
|
350
352
|
...props
|
|
351
353
|
}: React$2.ComponentPropsWithoutRef<typeof Select.Root<Value$3, Multiple>> & {
|
|
352
354
|
invalid?: boolean;
|
|
353
|
-
}):
|
|
355
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
354
356
|
declare function Content$3({
|
|
355
357
|
portalProps,
|
|
356
358
|
positionerProps,
|
|
@@ -362,29 +364,29 @@ declare function Content$3({
|
|
|
362
364
|
positionerProps?: React$2.ComponentProps<typeof Select.Positioner>;
|
|
363
365
|
popupProps?: React$2.ComponentProps<typeof Select.Popup>;
|
|
364
366
|
widthVariant?: "trigger" | "fit" | "enforced";
|
|
365
|
-
}>):
|
|
367
|
+
}>): react_jsx_runtime35.JSX.Element;
|
|
366
368
|
declare const List$1: React$2.ForwardRefExoticComponent<_base_ui_react0.SelectListProps & React$2.RefAttributes<HTMLDivElement>>;
|
|
367
369
|
declare function Item$6({
|
|
368
370
|
className,
|
|
369
371
|
...props
|
|
370
|
-
}: React$2.ComponentProps<typeof Select.Item>):
|
|
372
|
+
}: React$2.ComponentProps<typeof Select.Item>): react_jsx_runtime35.JSX.Element;
|
|
371
373
|
declare function MultiItem({
|
|
372
374
|
className,
|
|
373
375
|
...props
|
|
374
|
-
}: React$2.ComponentProps<typeof Select.Item>):
|
|
376
|
+
}: React$2.ComponentProps<typeof Select.Item>): react_jsx_runtime35.JSX.Element;
|
|
375
377
|
interface TriggerProps$1 extends Select.Trigger.Props, VariantProps<typeof triggerVariants> {}
|
|
376
378
|
declare function Trigger$5({
|
|
377
379
|
size,
|
|
378
380
|
widthVariant,
|
|
379
381
|
...props
|
|
380
|
-
}: TriggerProps$1):
|
|
382
|
+
}: TriggerProps$1): react_jsx_runtime35.JSX.Element;
|
|
381
383
|
declare function MultiSelectedValue({
|
|
382
384
|
selectedValue,
|
|
383
385
|
maxItems
|
|
384
386
|
}: {
|
|
385
387
|
selectedValue: any;
|
|
386
388
|
maxItems: number;
|
|
387
|
-
}):
|
|
389
|
+
}): react_jsx_runtime35.JSX.Element | null;
|
|
388
390
|
/**
|
|
389
391
|
* Renders the value, if `value` is a string or an object with `label` property in it,
|
|
390
392
|
* then renders that value else you should provide a render function to render your custom value
|
|
@@ -396,7 +398,7 @@ declare function Value$1({
|
|
|
396
398
|
...props
|
|
397
399
|
}: Select.Value.Props & {
|
|
398
400
|
placeholder?: string;
|
|
399
|
-
}):
|
|
401
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
400
402
|
type SelectedValue<TValue> = TValue | null | undefined;
|
|
401
403
|
declare const BaseSelect: typeof Select;
|
|
402
404
|
declare namespace menu_d_exports {
|
|
@@ -409,7 +411,7 @@ declare function Trigger$4({
|
|
|
409
411
|
size,
|
|
410
412
|
widthVariant,
|
|
411
413
|
...props
|
|
412
|
-
}: React$2.ComponentProps<typeof Menu.Trigger> & VariantProps<typeof triggerVariants>):
|
|
414
|
+
}: React$2.ComponentProps<typeof Menu.Trigger> & VariantProps<typeof triggerVariants>): react_jsx_runtime35.JSX.Element;
|
|
413
415
|
declare function Content$2({
|
|
414
416
|
portalProps,
|
|
415
417
|
positionerProps,
|
|
@@ -421,27 +423,27 @@ declare function Content$2({
|
|
|
421
423
|
positionerProps?: React$2.ComponentProps<typeof Menu.Positioner>;
|
|
422
424
|
popupProps?: React$2.ComponentProps<typeof Menu.Popup>;
|
|
423
425
|
widthVariant?: "trigger" | "fit" | "enforced";
|
|
424
|
-
}>):
|
|
425
|
-
declare function DropdownIndicator():
|
|
426
|
+
}>): react_jsx_runtime35.JSX.Element;
|
|
427
|
+
declare function DropdownIndicator(): react_jsx_runtime35.JSX.Element;
|
|
426
428
|
declare function Item$5({
|
|
427
429
|
className,
|
|
428
430
|
children,
|
|
429
431
|
...props
|
|
430
|
-
}: React$2.ComponentProps<typeof Menu.Item>):
|
|
432
|
+
}: React$2.ComponentProps<typeof Menu.Item>): react_jsx_runtime35.JSX.Element;
|
|
431
433
|
declare function Separator$1({
|
|
432
434
|
className,
|
|
433
435
|
...props
|
|
434
|
-
}: React$2.ComponentProps<typeof Menu.Separator>):
|
|
436
|
+
}: React$2.ComponentProps<typeof Menu.Separator>): react_jsx_runtime35.JSX.Element;
|
|
435
437
|
declare const Group$3: React$2.ForwardRefExoticComponent<_base_ui_react0.ContextMenuGroupProps & React$2.RefAttributes<Element>>;
|
|
436
438
|
declare function GroupLabel({
|
|
437
439
|
className,
|
|
438
440
|
...props
|
|
439
|
-
}: React$2.ComponentProps<typeof Menu.GroupLabel>):
|
|
441
|
+
}: React$2.ComponentProps<typeof Menu.GroupLabel>): react_jsx_runtime35.JSX.Element;
|
|
440
442
|
declare const RadioGroup$1: React$2.NamedExoticComponent<_base_ui_react0.ContextMenuRadioGroupProps & React$2.RefAttributes<Element>>;
|
|
441
443
|
declare function RadioItem({
|
|
442
444
|
className,
|
|
443
445
|
...props
|
|
444
|
-
}: React$2.ComponentProps<typeof Menu.RadioItem>):
|
|
446
|
+
}: React$2.ComponentProps<typeof Menu.RadioItem>): react_jsx_runtime35.JSX.Element;
|
|
445
447
|
declare const BaseTrigger: Menu.Trigger;
|
|
446
448
|
declare const BaseMenu: typeof Menu;
|
|
447
449
|
declare namespace progress_d_exports {
|
|
@@ -449,26 +451,26 @@ declare namespace progress_d_exports {
|
|
|
449
451
|
}
|
|
450
452
|
declare const progressTrackVariants: (props?: ({
|
|
451
453
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
452
|
-
} &
|
|
454
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
453
455
|
declare const Root$5: React$2.ForwardRefExoticComponent<_base_ui_react0.ProgressRootProps & React$2.RefAttributes<HTMLDivElement>>;
|
|
454
456
|
declare function Track({
|
|
455
457
|
className,
|
|
456
458
|
size,
|
|
457
459
|
children,
|
|
458
460
|
...props
|
|
459
|
-
}: React$2.ComponentProps<typeof Progress.Track> & VariantProps<typeof progressTrackVariants>):
|
|
461
|
+
}: React$2.ComponentProps<typeof Progress.Track> & VariantProps<typeof progressTrackVariants>): react_jsx_runtime35.JSX.Element;
|
|
460
462
|
declare function Indicator({
|
|
461
463
|
className,
|
|
462
464
|
...props
|
|
463
|
-
}: React$2.ComponentProps<typeof Progress.Indicator>):
|
|
465
|
+
}: React$2.ComponentProps<typeof Progress.Indicator>): react_jsx_runtime35.JSX.Element;
|
|
464
466
|
declare function Label$1({
|
|
465
467
|
className,
|
|
466
468
|
...props
|
|
467
|
-
}: React$2.ComponentProps<typeof Progress.Label>):
|
|
469
|
+
}: React$2.ComponentProps<typeof Progress.Label>): react_jsx_runtime35.JSX.Element;
|
|
468
470
|
declare function Value({
|
|
469
471
|
className,
|
|
470
472
|
...props
|
|
471
|
-
}: React$2.ComponentProps<typeof Progress.Value>):
|
|
473
|
+
}: React$2.ComponentProps<typeof Progress.Value>): react_jsx_runtime35.JSX.Element;
|
|
472
474
|
declare const BaseProgress: typeof Progress;
|
|
473
475
|
declare namespace segmented_control_d_exports {
|
|
474
476
|
export { Item$4 as Item, Root$4 as Root };
|
|
@@ -476,11 +478,11 @@ declare namespace segmented_control_d_exports {
|
|
|
476
478
|
declare const segmentedControlItemVariants: (props?: ({
|
|
477
479
|
variant?: "default" | null | undefined;
|
|
478
480
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
479
|
-
} &
|
|
481
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
480
482
|
declare function Root$4({
|
|
481
483
|
className,
|
|
482
484
|
...props
|
|
483
|
-
}: React$2.ComponentProps<typeof RadioGroup>):
|
|
485
|
+
}: React$2.ComponentProps<typeof RadioGroup>): react_jsx_runtime35.JSX.Element;
|
|
484
486
|
declare function Item$4({
|
|
485
487
|
children,
|
|
486
488
|
className,
|
|
@@ -489,7 +491,7 @@ declare function Item$4({
|
|
|
489
491
|
...props
|
|
490
492
|
}: React$2.ComponentProps<typeof Radio.Root> & VariantProps<typeof segmentedControlItemVariants> & {
|
|
491
493
|
children: React$2.ReactNode;
|
|
492
|
-
}):
|
|
494
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
493
495
|
declare namespace tabs_d_exports {
|
|
494
496
|
export { Content$1 as Content, List, Root$3 as Root, Trigger$3 as Trigger };
|
|
495
497
|
}
|
|
@@ -500,31 +502,31 @@ declare function Root$3({
|
|
|
500
502
|
...props
|
|
501
503
|
}: React$2.ComponentProps<typeof Tabs.Root> & {
|
|
502
504
|
variant?: TabsVariant;
|
|
503
|
-
}):
|
|
505
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
504
506
|
declare function List({
|
|
505
507
|
className,
|
|
506
508
|
children,
|
|
507
509
|
...props
|
|
508
|
-
}: React$2.ComponentProps<typeof Tabs.List>):
|
|
510
|
+
}: React$2.ComponentProps<typeof Tabs.List>): react_jsx_runtime35.JSX.Element;
|
|
509
511
|
declare function Trigger$3({
|
|
510
512
|
className,
|
|
511
513
|
...props
|
|
512
|
-
}: React$2.ComponentProps<typeof Tabs.Tab>):
|
|
514
|
+
}: React$2.ComponentProps<typeof Tabs.Tab>): react_jsx_runtime35.JSX.Element;
|
|
513
515
|
declare function Content$1({
|
|
514
516
|
className,
|
|
515
517
|
...props
|
|
516
|
-
}: React$2.ComponentProps<typeof Tabs.Panel>):
|
|
518
|
+
}: React$2.ComponentProps<typeof Tabs.Panel>): react_jsx_runtime35.JSX.Element;
|
|
517
519
|
declare namespace tooltip_d_exports {
|
|
518
520
|
export { BaseProvider, BaseRoot, Content, Root$2 as Root, Trigger$2 as Trigger };
|
|
519
521
|
}
|
|
520
522
|
declare function Root$2({
|
|
521
523
|
...props
|
|
522
|
-
}: React$2.ComponentProps<typeof Tooltip.Root>):
|
|
524
|
+
}: React$2.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime35.JSX.Element;
|
|
523
525
|
declare const BaseRoot: typeof Tooltip.Root;
|
|
524
526
|
declare const BaseProvider: React$2.FC<_base_ui_react0.TooltipProviderProps>;
|
|
525
527
|
declare function Trigger$2({
|
|
526
528
|
...props
|
|
527
|
-
}: React$2.ComponentProps<typeof Tooltip.Trigger>):
|
|
529
|
+
}: React$2.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime35.JSX.Element;
|
|
528
530
|
declare function Content({
|
|
529
531
|
className,
|
|
530
532
|
align,
|
|
@@ -536,25 +538,25 @@ declare function Content({
|
|
|
536
538
|
align?: Tooltip.Positioner.Props["align"];
|
|
537
539
|
side?: Tooltip.Positioner.Props["side"];
|
|
538
540
|
sideOffset?: Tooltip.Positioner.Props["sideOffset"];
|
|
539
|
-
}):
|
|
541
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
540
542
|
//#endregion
|
|
541
543
|
//#region src/components/checkbox.d.ts
|
|
542
544
|
declare const checkboxVariants: (props?: ({
|
|
543
545
|
variant?: "default" | null | undefined;
|
|
544
546
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
545
|
-
} &
|
|
547
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
546
548
|
interface CheckboxProps extends React.ComponentProps<typeof Checkbox$1.Root>, VariantProps<typeof checkboxVariants> {}
|
|
547
549
|
declare function Checkbox({
|
|
548
550
|
className,
|
|
549
551
|
...props
|
|
550
|
-
}: CheckboxProps):
|
|
552
|
+
}: CheckboxProps): react_jsx_runtime35.JSX.Element;
|
|
551
553
|
declare namespace block_checkbox_group_d_exports {
|
|
552
554
|
export { Description$1 as Description, Group$2 as Group, Header$1 as Header, Item$3 as Item, Title$1 as Title };
|
|
553
555
|
}
|
|
554
556
|
declare function Group$2({
|
|
555
557
|
className,
|
|
556
558
|
...props
|
|
557
|
-
}: React.ComponentProps<typeof CheckboxGroup>):
|
|
559
|
+
}: React.ComponentProps<typeof CheckboxGroup>): react_jsx_runtime35.JSX.Element;
|
|
558
560
|
declare function Item$3({
|
|
559
561
|
className,
|
|
560
562
|
invalid,
|
|
@@ -563,41 +565,41 @@ declare function Item$3({
|
|
|
563
565
|
}: React.PropsWithChildren<React.ComponentProps<typeof Checkbox>> & {
|
|
564
566
|
className?: string;
|
|
565
567
|
invalid?: boolean;
|
|
566
|
-
}):
|
|
568
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
567
569
|
declare function Header$1(props: React.PropsWithChildren<{
|
|
568
570
|
className?: string;
|
|
569
|
-
}>):
|
|
571
|
+
}>): react_jsx_runtime35.JSX.Element;
|
|
570
572
|
declare function Title$1(props: React.PropsWithChildren<{
|
|
571
573
|
className?: string;
|
|
572
|
-
}>):
|
|
574
|
+
}>): react_jsx_runtime35.JSX.Element;
|
|
573
575
|
declare function Description$1(props: React.PropsWithChildren<{
|
|
574
576
|
className?: string;
|
|
575
|
-
}>):
|
|
577
|
+
}>): react_jsx_runtime35.JSX.Element;
|
|
576
578
|
declare namespace radio_group_d_exports {
|
|
577
579
|
export { Group$1 as Group, Item$1 as Item };
|
|
578
580
|
}
|
|
579
581
|
declare function Group$1({
|
|
580
582
|
className,
|
|
581
583
|
...props
|
|
582
|
-
}: React$2.ComponentProps<typeof RadioGroup>):
|
|
584
|
+
}: React$2.ComponentProps<typeof RadioGroup>): react_jsx_runtime35.JSX.Element;
|
|
583
585
|
declare const radioVariants: (props?: ({
|
|
584
586
|
variant?: "default" | null | undefined;
|
|
585
587
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
586
|
-
} &
|
|
588
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
587
589
|
interface RadioGroupItemProps extends React$2.ComponentProps<typeof Radio.Root>, VariantProps<typeof radioVariants> {}
|
|
588
590
|
declare function Item$1({
|
|
589
591
|
className,
|
|
590
592
|
variant,
|
|
591
593
|
size,
|
|
592
594
|
...props
|
|
593
|
-
}: RadioGroupItemProps):
|
|
595
|
+
}: RadioGroupItemProps): react_jsx_runtime35.JSX.Element;
|
|
594
596
|
declare namespace block_radio_group_d_exports {
|
|
595
597
|
export { Description, Group, Header, Item$2 as Item, Title };
|
|
596
598
|
}
|
|
597
599
|
declare function Group({
|
|
598
600
|
className,
|
|
599
601
|
...props
|
|
600
|
-
}: React.ComponentProps<typeof RadioGroup>):
|
|
602
|
+
}: React.ComponentProps<typeof RadioGroup>): react_jsx_runtime35.JSX.Element;
|
|
601
603
|
declare function Item$2({
|
|
602
604
|
className,
|
|
603
605
|
invalid,
|
|
@@ -606,30 +608,30 @@ declare function Item$2({
|
|
|
606
608
|
}: React.PropsWithChildren<React.ComponentProps<typeof Item$1>> & {
|
|
607
609
|
className?: string;
|
|
608
610
|
invalid?: boolean;
|
|
609
|
-
}):
|
|
611
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
610
612
|
declare function Header(props: React.PropsWithChildren<{
|
|
611
613
|
className?: string;
|
|
612
|
-
}>):
|
|
614
|
+
}>): react_jsx_runtime35.JSX.Element;
|
|
613
615
|
declare function Title(props: React.PropsWithChildren<{
|
|
614
616
|
className?: string;
|
|
615
|
-
}>):
|
|
617
|
+
}>): react_jsx_runtime35.JSX.Element;
|
|
616
618
|
declare function Description(props: React.PropsWithChildren<{
|
|
617
619
|
className?: string;
|
|
618
|
-
}>):
|
|
620
|
+
}>): react_jsx_runtime35.JSX.Element;
|
|
619
621
|
declare namespace breadcrumbs_d_exports {
|
|
620
622
|
export { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
621
623
|
}
|
|
622
624
|
declare function Breadcrumb({
|
|
623
625
|
...props
|
|
624
|
-
}: React$2.ComponentProps<"nav">):
|
|
626
|
+
}: React$2.ComponentProps<"nav">): react_jsx_runtime35.JSX.Element;
|
|
625
627
|
declare function BreadcrumbList({
|
|
626
628
|
className,
|
|
627
629
|
...props
|
|
628
|
-
}: React$2.ComponentProps<"ol">):
|
|
630
|
+
}: React$2.ComponentProps<"ol">): react_jsx_runtime35.JSX.Element;
|
|
629
631
|
declare function BreadcrumbItem({
|
|
630
632
|
className,
|
|
631
633
|
...props
|
|
632
|
-
}: React$2.ComponentProps<"li">):
|
|
634
|
+
}: React$2.ComponentProps<"li">): react_jsx_runtime35.JSX.Element;
|
|
633
635
|
declare function BreadcrumbLink({
|
|
634
636
|
className,
|
|
635
637
|
render,
|
|
@@ -638,25 +640,25 @@ declare function BreadcrumbLink({
|
|
|
638
640
|
declare function BreadcrumbPage({
|
|
639
641
|
className,
|
|
640
642
|
...props
|
|
641
|
-
}: React$2.ComponentProps<"span">):
|
|
643
|
+
}: React$2.ComponentProps<"span">): react_jsx_runtime35.JSX.Element;
|
|
642
644
|
declare function BreadcrumbSeparator({
|
|
643
645
|
children,
|
|
644
646
|
className,
|
|
645
647
|
...props
|
|
646
|
-
}: React$2.ComponentProps<"li">):
|
|
648
|
+
}: React$2.ComponentProps<"li">): react_jsx_runtime35.JSX.Element;
|
|
647
649
|
declare namespace collapsible_d_exports {
|
|
648
650
|
export { Panel, Root$1 as Root, ToggleIcon, Trigger$1 as Trigger };
|
|
649
651
|
}
|
|
650
652
|
declare function Root$1({
|
|
651
653
|
className,
|
|
652
654
|
...props
|
|
653
|
-
}: React$2.ComponentProps<typeof Collapsible.Root>):
|
|
654
|
-
declare function Trigger$1(props: React$2.ComponentProps<typeof Collapsible.Trigger>):
|
|
655
|
+
}: React$2.ComponentProps<typeof Collapsible.Root>): react_jsx_runtime35.JSX.Element;
|
|
656
|
+
declare function Trigger$1(props: React$2.ComponentProps<typeof Collapsible.Trigger>): react_jsx_runtime35.JSX.Element;
|
|
655
657
|
declare function Panel({
|
|
656
658
|
className,
|
|
657
659
|
...props
|
|
658
|
-
}: React$2.ComponentProps<typeof Collapsible.Panel>):
|
|
659
|
-
declare function ToggleIcon():
|
|
660
|
+
}: React$2.ComponentProps<typeof Collapsible.Panel>): react_jsx_runtime35.JSX.Element;
|
|
661
|
+
declare function ToggleIcon(): react_jsx_runtime35.JSX.Element;
|
|
660
662
|
//#endregion
|
|
661
663
|
//#region src/components/calendar.d.ts
|
|
662
664
|
declare function Calendar({
|
|
@@ -667,10 +669,10 @@ declare function Calendar({
|
|
|
667
669
|
formatters,
|
|
668
670
|
components,
|
|
669
671
|
...props
|
|
670
|
-
}: DayPickerProps):
|
|
672
|
+
}: DayPickerProps): react_jsx_runtime35.JSX.Element;
|
|
671
673
|
//#endregion
|
|
672
674
|
//#region src/providers/px-ui-provider.d.ts
|
|
673
|
-
declare function PXUIProvider(props: React.PropsWithChildren):
|
|
675
|
+
declare function PXUIProvider(props: React.PropsWithChildren): react_jsx_runtime35.JSX.Element;
|
|
674
676
|
//#endregion
|
|
675
677
|
//#region src/components/toast.d.ts
|
|
676
678
|
declare const toast: _base_ui_react0.ToastManager;
|
|
@@ -680,13 +682,13 @@ declare const anchoredToast: _base_ui_react0.ToastManager;
|
|
|
680
682
|
declare function Label({
|
|
681
683
|
className,
|
|
682
684
|
...props
|
|
683
|
-
}: React.ComponentProps<"label">):
|
|
685
|
+
}: React.ComponentProps<"label">): react_jsx_runtime35.JSX.Element;
|
|
684
686
|
//#endregion
|
|
685
687
|
//#region src/components/input.d.ts
|
|
686
688
|
declare const inputVariants: (props?: ({
|
|
687
689
|
size?: "default" | "sm" | null | undefined;
|
|
688
690
|
widthVariant?: "enforced" | "full" | null | undefined;
|
|
689
|
-
} &
|
|
691
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
690
692
|
interface InputProps extends Omit<React$2.ComponentProps<"input">, "size">, VariantProps<typeof inputVariants> {
|
|
691
693
|
invalid?: boolean;
|
|
692
694
|
}
|
|
@@ -696,13 +698,13 @@ declare function Input({
|
|
|
696
698
|
invalid,
|
|
697
699
|
widthVariant,
|
|
698
700
|
...props
|
|
699
|
-
}: InputProps):
|
|
701
|
+
}: InputProps): react_jsx_runtime35.JSX.Element;
|
|
700
702
|
//#endregion
|
|
701
703
|
//#region src/components/textarea.d.ts
|
|
702
704
|
declare const textareaVariants: (props?: ({
|
|
703
705
|
size?: "default" | "sm" | null | undefined;
|
|
704
706
|
widthVariant?: "enforced" | "full" | null | undefined;
|
|
705
|
-
} &
|
|
707
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
706
708
|
interface TextareaProps extends React$2.ComponentProps<"textarea">, VariantProps<typeof textareaVariants> {
|
|
707
709
|
invalid?: boolean;
|
|
708
710
|
}
|
|
@@ -712,7 +714,7 @@ declare function Textarea({
|
|
|
712
714
|
invalid,
|
|
713
715
|
widthVariant,
|
|
714
716
|
...props
|
|
715
|
-
}: TextareaProps):
|
|
717
|
+
}: TextareaProps): react_jsx_runtime35.JSX.Element;
|
|
716
718
|
//#endregion
|
|
717
719
|
//#region src/components/avatar.d.ts
|
|
718
720
|
type AvatarVariant = "squared" | "rounded";
|
|
@@ -725,11 +727,11 @@ interface AvatarProps {
|
|
|
725
727
|
children?: React.ReactNode;
|
|
726
728
|
hideTooltip?: boolean;
|
|
727
729
|
}
|
|
728
|
-
declare function Avatar(props: AvatarProps):
|
|
730
|
+
declare function Avatar(props: AvatarProps): react_jsx_runtime35.JSX.Element;
|
|
729
731
|
type AvatarImplProps = Omit<AvatarProps, "hideTooltip"> & {
|
|
730
732
|
avatarRootProps?: React.ComponentProps<typeof Avatar$1.Root>;
|
|
731
733
|
};
|
|
732
|
-
declare function AvatarImpl(props: AvatarImplProps):
|
|
734
|
+
declare function AvatarImpl(props: AvatarImplProps): react_jsx_runtime35.JSX.Element;
|
|
733
735
|
//#endregion
|
|
734
736
|
//#region src/components/avatar-group.d.ts
|
|
735
737
|
interface AvatarGroupProps {
|
|
@@ -741,7 +743,7 @@ declare function AvatarGroup({
|
|
|
741
743
|
max,
|
|
742
744
|
avatars,
|
|
743
745
|
className
|
|
744
|
-
}: AvatarGroupProps):
|
|
746
|
+
}: AvatarGroupProps): react_jsx_runtime35.JSX.Element;
|
|
745
747
|
//#endregion
|
|
746
748
|
//#region src/components/spinner.d.ts
|
|
747
749
|
interface SpinnerProps {
|
|
@@ -751,7 +753,7 @@ interface SpinnerProps {
|
|
|
751
753
|
declare function Spinner({
|
|
752
754
|
size,
|
|
753
755
|
className
|
|
754
|
-
}: SpinnerProps):
|
|
756
|
+
}: SpinnerProps): react_jsx_runtime35.JSX.Element;
|
|
755
757
|
//#endregion
|
|
756
758
|
//#region src/components/switch.d.ts
|
|
757
759
|
declare function Switch({
|
|
@@ -760,7 +762,7 @@ declare function Switch({
|
|
|
760
762
|
...props
|
|
761
763
|
}: React$2.ComponentProps<typeof Switch$1.Root> & {
|
|
762
764
|
size?: "sm" | "lg" | "default";
|
|
763
|
-
}):
|
|
765
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
764
766
|
//#endregion
|
|
765
767
|
//#region src/components/separator.d.ts
|
|
766
768
|
declare function Separator({
|
|
@@ -771,7 +773,7 @@ declare function Separator({
|
|
|
771
773
|
}: React$2.ComponentProps<"div"> & {
|
|
772
774
|
orientation: "horizontal" | "vertical";
|
|
773
775
|
decorative?: boolean;
|
|
774
|
-
}):
|
|
776
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
775
777
|
declare namespace Separator {
|
|
776
778
|
var displayName: string;
|
|
777
779
|
}
|
|
@@ -801,7 +803,7 @@ declare function DatePicker({
|
|
|
801
803
|
popoverRootProps,
|
|
802
804
|
popoverContentProps,
|
|
803
805
|
...calendarProps
|
|
804
|
-
}: DatePickerProps):
|
|
806
|
+
}: DatePickerProps): react_jsx_runtime35.JSX.Element;
|
|
805
807
|
//#endregion
|
|
806
808
|
//#region src/hooks/use-file-upload.d.ts
|
|
807
809
|
type FileMetadata = {
|
|
@@ -993,11 +995,11 @@ declare function Root({
|
|
|
993
995
|
multiple,
|
|
994
996
|
disabled,
|
|
995
997
|
className
|
|
996
|
-
}: RootProps):
|
|
998
|
+
}: RootProps): react_jsx_runtime35.JSX.Element;
|
|
997
999
|
declare const dropzoneVariants: (props?: ({
|
|
998
1000
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
999
1001
|
isDragActive?: boolean | null | undefined;
|
|
1000
|
-
} &
|
|
1002
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
1001
1003
|
interface DropzoneProps extends Omit<React$2.ComponentProps<"div">, "children">, Omit<VariantProps<typeof dropzoneVariants>, "isDragActive"> {
|
|
1002
1004
|
children?: React$2.ReactNode;
|
|
1003
1005
|
/** Custom text for the dropzone */
|
|
@@ -1015,19 +1017,22 @@ declare function Dropzone({
|
|
|
1015
1017
|
browseText,
|
|
1016
1018
|
hideDefaultContent,
|
|
1017
1019
|
...props
|
|
1018
|
-
}: DropzoneProps):
|
|
1020
|
+
}: DropzoneProps): react_jsx_runtime35.JSX.Element;
|
|
1019
1021
|
interface TriggerProps extends React$2.ComponentProps<typeof Button> {
|
|
1020
1022
|
/** Text to show while uploading */
|
|
1021
1023
|
uploadingText?: string;
|
|
1022
1024
|
/** Show uploading state */
|
|
1023
1025
|
showUploadingState?: boolean;
|
|
1026
|
+
/** Hide the default content */
|
|
1027
|
+
hideDefaultContent?: boolean;
|
|
1024
1028
|
}
|
|
1025
1029
|
declare function Trigger({
|
|
1026
1030
|
children,
|
|
1027
1031
|
uploadingText,
|
|
1028
1032
|
showUploadingState,
|
|
1033
|
+
hideDefaultContent,
|
|
1029
1034
|
...props
|
|
1030
|
-
}: TriggerProps):
|
|
1035
|
+
}: TriggerProps): react_jsx_runtime35.JSX.Element;
|
|
1031
1036
|
interface ItemListProps extends Omit<React$2.ComponentProps<"div">, "children"> {
|
|
1032
1037
|
children?: React$2.ReactNode | ((files: FileUploadFile[]) => React$2.ReactNode);
|
|
1033
1038
|
}
|
|
@@ -1035,7 +1040,7 @@ declare function ItemList({
|
|
|
1035
1040
|
className,
|
|
1036
1041
|
children,
|
|
1037
1042
|
...props
|
|
1038
|
-
}: ItemListProps):
|
|
1043
|
+
}: ItemListProps): react_jsx_runtime35.JSX.Element | null;
|
|
1039
1044
|
interface ItemProps extends React$2.ComponentProps<"div"> {
|
|
1040
1045
|
file: FileUploadFile;
|
|
1041
1046
|
/** Apply error styling based on file status */
|
|
@@ -1047,7 +1052,7 @@ declare function Item({
|
|
|
1047
1052
|
children,
|
|
1048
1053
|
statusStyles,
|
|
1049
1054
|
...props
|
|
1050
|
-
}: ItemProps):
|
|
1055
|
+
}: ItemProps): react_jsx_runtime35.JSX.Element;
|
|
1051
1056
|
interface ItemPreviewProps extends React$2.ComponentProps<"div"> {
|
|
1052
1057
|
/** Fallback icon when no preview is available */
|
|
1053
1058
|
fallback?: React$2.ReactNode;
|
|
@@ -1056,28 +1061,28 @@ declare function ItemPreview({
|
|
|
1056
1061
|
className,
|
|
1057
1062
|
fallback,
|
|
1058
1063
|
...props
|
|
1059
|
-
}: ItemPreviewProps):
|
|
1064
|
+
}: ItemPreviewProps): react_jsx_runtime35.JSX.Element;
|
|
1060
1065
|
interface ItemNameProps extends React$2.ComponentProps<"span"> {}
|
|
1061
1066
|
declare function ItemName({
|
|
1062
1067
|
className,
|
|
1063
1068
|
...props
|
|
1064
|
-
}: ItemNameProps):
|
|
1069
|
+
}: ItemNameProps): react_jsx_runtime35.JSX.Element;
|
|
1065
1070
|
interface ItemSizeProps extends React$2.ComponentProps<"span"> {}
|
|
1066
1071
|
declare function ItemSize({
|
|
1067
1072
|
className,
|
|
1068
1073
|
...props
|
|
1069
|
-
}: ItemSizeProps):
|
|
1074
|
+
}: ItemSizeProps): react_jsx_runtime35.JSX.Element;
|
|
1070
1075
|
interface ItemRemoveProps extends React$2.ComponentProps<typeof Button> {}
|
|
1071
1076
|
declare function ItemRemove({
|
|
1072
1077
|
className,
|
|
1073
1078
|
children,
|
|
1074
1079
|
...props
|
|
1075
|
-
}: ItemRemoveProps):
|
|
1080
|
+
}: ItemRemoveProps): react_jsx_runtime35.JSX.Element;
|
|
1076
1081
|
interface ItemProgressProps extends React$2.ComponentProps<"div"> {}
|
|
1077
1082
|
declare function ItemProgress({
|
|
1078
1083
|
className,
|
|
1079
1084
|
...props
|
|
1080
|
-
}: ItemProgressProps):
|
|
1085
|
+
}: ItemProgressProps): react_jsx_runtime35.JSX.Element | null;
|
|
1081
1086
|
interface ItemStatusProps extends React$2.ComponentProps<"div"> {
|
|
1082
1087
|
/** Custom success icon */
|
|
1083
1088
|
successIcon?: React$2.ReactNode;
|
|
@@ -1092,23 +1097,23 @@ declare function ItemStatus({
|
|
|
1092
1097
|
uploadingContent,
|
|
1093
1098
|
errorContent,
|
|
1094
1099
|
...props
|
|
1095
|
-
}: ItemStatusProps):
|
|
1100
|
+
}: ItemStatusProps): react_jsx_runtime35.JSX.Element | null;
|
|
1096
1101
|
interface ItemErrorProps extends React$2.ComponentProps<"span"> {}
|
|
1097
1102
|
declare function ItemError({
|
|
1098
1103
|
className,
|
|
1099
1104
|
...props
|
|
1100
|
-
}: ItemErrorProps):
|
|
1105
|
+
}: ItemErrorProps): react_jsx_runtime35.JSX.Element | null;
|
|
1101
1106
|
interface ItemRetryProps extends React$2.ComponentProps<typeof Button> {}
|
|
1102
1107
|
declare function ItemRetry({
|
|
1103
1108
|
className,
|
|
1104
1109
|
children,
|
|
1105
1110
|
...props
|
|
1106
|
-
}: ItemRetryProps):
|
|
1111
|
+
}: ItemRetryProps): react_jsx_runtime35.JSX.Element | null;
|
|
1107
1112
|
interface ClearButtonProps extends React$2.ComponentProps<typeof Button> {}
|
|
1108
1113
|
declare function ClearButton({
|
|
1109
1114
|
children,
|
|
1110
1115
|
...props
|
|
1111
|
-
}: ClearButtonProps):
|
|
1116
|
+
}: ClearButtonProps): react_jsx_runtime35.JSX.Element | null;
|
|
1112
1117
|
interface ImageGridProps extends Omit<React$2.ComponentProps<"div">, "children"> {
|
|
1113
1118
|
children?: React$2.ReactNode | ((files: FileUploadFile[]) => React$2.ReactNode);
|
|
1114
1119
|
}
|
|
@@ -1116,7 +1121,7 @@ declare function ImageGrid({
|
|
|
1116
1121
|
className,
|
|
1117
1122
|
children,
|
|
1118
1123
|
...props
|
|
1119
|
-
}: ImageGridProps):
|
|
1124
|
+
}: ImageGridProps): react_jsx_runtime35.JSX.Element | null;
|
|
1120
1125
|
interface ImageGridItemProps extends React$2.ComponentProps<"div"> {
|
|
1121
1126
|
file: FileUploadFile;
|
|
1122
1127
|
/** Show status overlays (uploading/error) */
|
|
@@ -1127,7 +1132,7 @@ declare function ImageGridItem({
|
|
|
1127
1132
|
className,
|
|
1128
1133
|
showStatusOverlay,
|
|
1129
1134
|
...props
|
|
1130
|
-
}: ImageGridItemProps):
|
|
1135
|
+
}: ImageGridItemProps): react_jsx_runtime35.JSX.Element;
|
|
1131
1136
|
declare const FileUpload: {
|
|
1132
1137
|
Root: typeof Root;
|
|
1133
1138
|
Dropzone: typeof Dropzone;
|
|
@@ -1147,11 +1152,42 @@ declare const FileUpload: {
|
|
|
1147
1152
|
ImageGridItem: typeof ImageGridItem;
|
|
1148
1153
|
};
|
|
1149
1154
|
//#endregion
|
|
1155
|
+
//#region src/components/otp-input.d.ts
|
|
1156
|
+
declare const otpInputSlotVariants: (props?: ({
|
|
1157
|
+
size?: "default" | "sm" | null | undefined;
|
|
1158
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
1159
|
+
interface OtpInputProps extends Readonly<Omit<React$2.ComponentProps<typeof OTPInput>, "children" | "render" | "maxLength" | "size">> {
|
|
1160
|
+
length?: number;
|
|
1161
|
+
maxLength?: number;
|
|
1162
|
+
separatorAfter?: number[];
|
|
1163
|
+
invalid?: boolean;
|
|
1164
|
+
containerClassName?: string;
|
|
1165
|
+
slotClassName?: string;
|
|
1166
|
+
separatorClassName?: string;
|
|
1167
|
+
size?: VariantProps<typeof otpInputSlotVariants>["size"];
|
|
1168
|
+
}
|
|
1169
|
+
declare function OtpInput({
|
|
1170
|
+
length,
|
|
1171
|
+
separatorAfter,
|
|
1172
|
+
className,
|
|
1173
|
+
containerClassName,
|
|
1174
|
+
slotClassName,
|
|
1175
|
+
separatorClassName,
|
|
1176
|
+
maxLength,
|
|
1177
|
+
invalid,
|
|
1178
|
+
size,
|
|
1179
|
+
"aria-invalid": ariaInvalid,
|
|
1180
|
+
...props
|
|
1181
|
+
}: Readonly<OtpInputProps>): react_jsx_runtime35.JSX.Element;
|
|
1182
|
+
//#endregion
|
|
1150
1183
|
//#region src/icons/file-icon.d.ts
|
|
1151
|
-
declare function FileIcon(props: React.ComponentProps<"svg">):
|
|
1184
|
+
declare function FileIcon(props: React.ComponentProps<"svg">): react_jsx_runtime35.JSX.Element;
|
|
1152
1185
|
//#endregion
|
|
1153
1186
|
//#region src/icons/upload-icon.d.ts
|
|
1154
|
-
declare function UploadIcon(props: React.ComponentProps<"svg">):
|
|
1187
|
+
declare function UploadIcon(props: React.ComponentProps<"svg">): react_jsx_runtime35.JSX.Element;
|
|
1188
|
+
//#endregion
|
|
1189
|
+
//#region src/icons/chevron-down-icon.d.ts
|
|
1190
|
+
declare function ChevronDownIcon(props: React.ComponentProps<"svg">): react_jsx_runtime35.JSX.Element;
|
|
1155
1191
|
//#endregion
|
|
1156
1192
|
//#region src/hooks/use-intersection-observer.d.ts
|
|
1157
1193
|
interface UseIntersectionObserverOptions {
|
|
@@ -1175,9 +1211,6 @@ declare function useIsMobile(): boolean;
|
|
|
1175
1211
|
//#endregion
|
|
1176
1212
|
//#region src/utils/classnames.d.ts
|
|
1177
1213
|
declare function cn(...inputs: ArgumentArray): string;
|
|
1178
|
-
declare namespace index_d_exports {
|
|
1179
|
-
export { Avatar, AvatarGroup, AvatarImpl, block_checkbox_group_d_exports as BlockCheckboxGroup, block_radio_group_d_exports as BlockRadioGroup, breadcrumbs_d_exports as Breadcrumbs, Button, Calendar, Checkbox, ClearButtonProps, collapsible_d_exports as Collapsible, combobox_d_exports as Combobox, DatePicker, dialog_d_exports as Dialog, DropzoneProps, FileIcon, FileMetadata, FileUpload, FileUploadActions, FileUploadFile, FileUploadOptions, FileUploadState, FileUploadWithUploaderActions, FileUploadWithUploaderOptions, FileUploadWithUploaderState, FileWithPreview, FileWithUploadStatus, ImageGridItemProps, ImageGridProps, InferOption, InferOptions, Input, input_group_d_exports as InputGroup, ItemErrorProps, ItemListProps, ItemNameProps, ItemPreviewProps, ItemProgressProps, ItemProps, ItemRemoveProps, ItemRetryProps, ItemSizeProps, ItemStatusProps, Label, LoadOptionsConfig, menu_d_exports as Menu, PXUIProvider, popover_d_exports as Popover, PresignedUrlResponse, progress_d_exports as Progress, radio_group_d_exports as RadioGroup, RootProps, segmented_control_d_exports as SegmentedControl, select_d_exports as Select, Separator, Spinner, Switch, tabs_d_exports as Tabs, Textarea, TextareaProps, tooltip_d_exports as Tooltip, TriggerProps, UploadConfig, UploadIcon, UploadStatus, UseInfiniteScrollHookArgs, UseIntersectionObserverOptions, UseIntersectionObserverReturn, anchoredToast, buttonVariants, cn, defineLoadOptions, formatBytes, toast, useAsyncOptions, useFileUpload, useIntersectionObserver, useIsMobile };
|
|
1180
|
-
}
|
|
1181
1214
|
//#endregion
|
|
1182
|
-
export { Avatar, AvatarGroup, AvatarImpl, block_checkbox_group_d_exports as BlockCheckboxGroup, block_radio_group_d_exports as BlockRadioGroup, breadcrumbs_d_exports as Breadcrumbs, Button, Calendar, Checkbox, ClearButtonProps, collapsible_d_exports as Collapsible, combobox_d_exports as Combobox, DatePicker, dialog_d_exports as Dialog, DropzoneProps, FileIcon, FileMetadata, FileUpload, FileUploadActions, FileUploadFile, FileUploadOptions, FileUploadState, FileUploadWithUploaderActions, FileUploadWithUploaderOptions, FileUploadWithUploaderState, FileWithPreview, FileWithUploadStatus, ImageGridItemProps, ImageGridProps, InferOption, InferOptions, Input, input_group_d_exports as InputGroup, ItemErrorProps, ItemListProps, ItemNameProps, ItemPreviewProps, ItemProgressProps, ItemProps, ItemRemoveProps, ItemRetryProps, ItemSizeProps, ItemStatusProps, Label, LoadOptionsConfig, menu_d_exports as Menu, PXUIProvider, popover_d_exports as Popover, PresignedUrlResponse, progress_d_exports as Progress, radio_group_d_exports as RadioGroup, RootProps, segmented_control_d_exports as SegmentedControl, select_d_exports as Select, Separator, Spinner, Switch, tabs_d_exports as Tabs, Textarea, TextareaProps, tooltip_d_exports as Tooltip, TriggerProps, UploadConfig, UploadIcon, UploadStatus, UseInfiniteScrollHookArgs, UseIntersectionObserverOptions, UseIntersectionObserverReturn, anchoredToast, buttonVariants, cn, defineLoadOptions, formatBytes, toast, useAsyncOptions, useFileUpload, useIntersectionObserver, useIsMobile };
|
|
1215
|
+
export { Avatar, AvatarGroup, AvatarImpl, block_checkbox_group_d_exports as BlockCheckboxGroup, block_radio_group_d_exports as BlockRadioGroup, breadcrumbs_d_exports as Breadcrumbs, Button, Calendar, Checkbox, ChevronDownIcon, ClearButtonProps, collapsible_d_exports as Collapsible, combobox_d_exports as Combobox, DatePicker, dialog_d_exports as Dialog, DropzoneProps, FileIcon, FileMetadata, FileUpload, FileUploadActions, FileUploadFile, FileUploadOptions, FileUploadState, FileUploadWithUploaderActions, FileUploadWithUploaderOptions, FileUploadWithUploaderState, FileWithPreview, FileWithUploadStatus, ImageGridItemProps, ImageGridProps, InferOption, InferOptions, Input, input_group_d_exports as InputGroup, ItemErrorProps, ItemListProps, ItemNameProps, ItemPreviewProps, ItemProgressProps, ItemProps, ItemRemoveProps, ItemRetryProps, ItemSizeProps, ItemStatusProps, Label, LoadOptionsConfig, menu_d_exports as Menu, OtpInput, PXUIProvider, popover_d_exports as Popover, PresignedUrlResponse, progress_d_exports as Progress, radio_group_d_exports as RadioGroup, RootProps, segmented_control_d_exports as SegmentedControl, select_d_exports as Select, Separator, Spinner, Switch, tabs_d_exports as Tabs, Textarea, TextareaProps, tooltip_d_exports as Tooltip, TriggerProps, UploadConfig, UploadIcon, UploadStatus, UseInfiniteScrollHookArgs, UseIntersectionObserverOptions, UseIntersectionObserverReturn, anchoredToast, buttonVariants, cn, defineLoadOptions, formatBytes, toast, useAsyncOptions, useFileUpload, useIntersectionObserver, useIsMobile };
|
|
1183
1216
|
//# sourceMappingURL=index.d.ts.map
|