@px-ui/core 3.1.0 → 3.1.1
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 +124 -124
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -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_runtime0 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";
|
|
@@ -32,70 +32,70 @@ declare namespace dialog_d_exports {
|
|
|
32
32
|
}
|
|
33
33
|
declare function Root$11({
|
|
34
34
|
...props
|
|
35
|
-
}: React$2.ComponentProps<typeof Dialog.Root>):
|
|
35
|
+
}: React$2.ComponentProps<typeof Dialog.Root>): react_jsx_runtime0.JSX.Element;
|
|
36
36
|
declare function Portal({
|
|
37
37
|
...props
|
|
38
|
-
}: React$2.ComponentProps<typeof Dialog.Portal>):
|
|
38
|
+
}: React$2.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime0.JSX.Element;
|
|
39
39
|
declare function Trigger$8({
|
|
40
40
|
...props
|
|
41
|
-
}: React$2.ComponentProps<typeof Dialog.Trigger>):
|
|
41
|
+
}: React$2.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
42
42
|
declare function Close$1({
|
|
43
43
|
...props
|
|
44
|
-
}: React$2.ComponentProps<typeof Dialog.Close>):
|
|
44
|
+
}: React$2.ComponentProps<typeof Dialog.Close>): react_jsx_runtime0.JSX.Element;
|
|
45
45
|
declare function Overlay({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React$2.ComponentProps<typeof Dialog.Backdrop>):
|
|
48
|
+
}: React$2.ComponentProps<typeof Dialog.Backdrop>): react_jsx_runtime0.JSX.Element;
|
|
49
49
|
declare function Content$6({
|
|
50
50
|
className,
|
|
51
51
|
children,
|
|
52
52
|
...props
|
|
53
|
-
}: React$2.ComponentProps<typeof Dialog.Popup>):
|
|
53
|
+
}: React$2.ComponentProps<typeof Dialog.Popup>): react_jsx_runtime0.JSX.Element;
|
|
54
54
|
declare function Header$3({
|
|
55
55
|
className,
|
|
56
56
|
...props
|
|
57
|
-
}: React$2.ComponentProps<"div">):
|
|
57
|
+
}: React$2.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
58
58
|
declare function HeaderContent({
|
|
59
59
|
className,
|
|
60
60
|
children,
|
|
61
61
|
...props
|
|
62
|
-
}: React$2.ComponentProps<"div">):
|
|
62
|
+
}: React$2.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
63
63
|
declare function HeaderIcon({
|
|
64
64
|
className,
|
|
65
65
|
children,
|
|
66
66
|
...props
|
|
67
|
-
}: React$2.ComponentProps<"div">):
|
|
67
|
+
}: React$2.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
68
68
|
declare function Footer$1({
|
|
69
69
|
className,
|
|
70
70
|
...props
|
|
71
|
-
}: React$2.ComponentProps<"div">):
|
|
71
|
+
}: React$2.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
72
72
|
declare function Title$3({
|
|
73
73
|
className,
|
|
74
74
|
...props
|
|
75
|
-
}: React$2.ComponentProps<typeof Dialog.Title>):
|
|
75
|
+
}: React$2.ComponentProps<typeof Dialog.Title>): react_jsx_runtime0.JSX.Element;
|
|
76
76
|
declare function Description$3({
|
|
77
77
|
className,
|
|
78
78
|
...props
|
|
79
|
-
}: React$2.ComponentProps<typeof Dialog.Description>):
|
|
79
|
+
}: React$2.ComponentProps<typeof Dialog.Description>): react_jsx_runtime0.JSX.Element;
|
|
80
80
|
declare namespace popover_d_exports {
|
|
81
81
|
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
82
|
}
|
|
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>):
|
|
83
|
+
declare function Root$10(props: React.ComponentProps<typeof Popover.Root>): react_jsx_runtime0.JSX.Element;
|
|
84
|
+
declare function Trigger$7(props: React.ComponentProps<typeof Popover.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
85
|
+
declare function Close(props: React.ComponentProps<typeof Popover.Close>): react_jsx_runtime0.JSX.Element;
|
|
86
|
+
declare function Positioner(props: React.ComponentProps<typeof Popover.Positioner>): react_jsx_runtime0.JSX.Element;
|
|
87
87
|
declare function Header$2({
|
|
88
88
|
className,
|
|
89
89
|
...props
|
|
90
|
-
}: React.ComponentProps<"div">):
|
|
90
|
+
}: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
91
91
|
declare function Title$2({
|
|
92
92
|
className,
|
|
93
93
|
...props
|
|
94
|
-
}: React.ComponentProps<typeof Popover.Title>):
|
|
94
|
+
}: React.ComponentProps<typeof Popover.Title>): react_jsx_runtime0.JSX.Element;
|
|
95
95
|
declare function Description$2({
|
|
96
96
|
className,
|
|
97
97
|
...props
|
|
98
|
-
}: React.ComponentProps<typeof Popover.Description>):
|
|
98
|
+
}: React.ComponentProps<typeof Popover.Description>): react_jsx_runtime0.JSX.Element;
|
|
99
99
|
declare function Content$5({
|
|
100
100
|
children,
|
|
101
101
|
className,
|
|
@@ -110,26 +110,26 @@ declare function Content$5({
|
|
|
110
110
|
children: React.ReactNode;
|
|
111
111
|
arrow?: boolean;
|
|
112
112
|
className?: string;
|
|
113
|
-
}):
|
|
113
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
114
114
|
declare function CloseIconButton({
|
|
115
115
|
className,
|
|
116
116
|
...props
|
|
117
|
-
}: React.ComponentProps<"button">):
|
|
117
|
+
}: React.ComponentProps<"button">): react_jsx_runtime0.JSX.Element;
|
|
118
118
|
declare function Footer({
|
|
119
119
|
className,
|
|
120
120
|
...props
|
|
121
|
-
}: React.ComponentProps<"div">):
|
|
121
|
+
}: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
122
122
|
//#endregion
|
|
123
123
|
//#region src/tw-styles/dropdown.d.ts
|
|
124
124
|
declare const triggerVariants: (props?: ({
|
|
125
125
|
size?: "default" | "sm" | null | undefined;
|
|
126
|
-
widthVariant?: "enforced" | "
|
|
126
|
+
widthVariant?: "enforced" | "fit" | "full" | null | undefined;
|
|
127
127
|
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
128
128
|
//#endregion
|
|
129
129
|
//#region src/components/button.d.ts
|
|
130
130
|
declare const buttonVariants: (props?: ({
|
|
131
|
-
variant?: "
|
|
132
|
-
size?: "default" | "sm" | "
|
|
131
|
+
variant?: "default" | "link" | "primary" | "destructive" | "outline" | "primary-outline" | "ghost" | null | undefined;
|
|
132
|
+
size?: "default" | "sm" | "icon-sm" | "lg" | "icon" | null | undefined;
|
|
133
133
|
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
134
134
|
interface ButtonProps extends React$2.ComponentProps<"button">, VariantProps<typeof buttonVariants> {}
|
|
135
135
|
declare function Button({
|
|
@@ -137,13 +137,13 @@ declare function Button({
|
|
|
137
137
|
variant,
|
|
138
138
|
size,
|
|
139
139
|
...props
|
|
140
|
-
}: ButtonProps):
|
|
140
|
+
}: ButtonProps): react_jsx_runtime0.JSX.Element;
|
|
141
141
|
declare namespace input_group_d_exports {
|
|
142
142
|
export { Addon, Button$1 as Button, Input$1 as Input, Root$9 as Root, Text };
|
|
143
143
|
}
|
|
144
144
|
declare const inputGroupVariants: (props?: ({
|
|
145
145
|
size?: "default" | "sm" | null | undefined;
|
|
146
|
-
widthVariant?: "enforced" | "
|
|
146
|
+
widthVariant?: "enforced" | "fit" | "full" | null | undefined;
|
|
147
147
|
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
148
148
|
declare function Root$9({
|
|
149
149
|
className,
|
|
@@ -153,7 +153,7 @@ declare function Root$9({
|
|
|
153
153
|
...props
|
|
154
154
|
}: React$2.ComponentProps<"div"> & VariantProps<typeof inputGroupVariants> & {
|
|
155
155
|
disabled?: boolean;
|
|
156
|
-
}):
|
|
156
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
157
157
|
declare const inputGroupAddonVariants: (props?: ({
|
|
158
158
|
align?: "inline-start" | "inline-end" | null | undefined;
|
|
159
159
|
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
@@ -162,7 +162,7 @@ declare function Addon({
|
|
|
162
162
|
className,
|
|
163
163
|
align,
|
|
164
164
|
...props
|
|
165
|
-
}: AddonProps):
|
|
165
|
+
}: AddonProps): react_jsx_runtime0.JSX.Element;
|
|
166
166
|
declare const inputGroupButtonVariants: (props?: ({
|
|
167
167
|
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
168
168
|
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
@@ -172,18 +172,18 @@ declare function Button$1({
|
|
|
172
172
|
variant,
|
|
173
173
|
size,
|
|
174
174
|
...props
|
|
175
|
-
}: Omit<React$2.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>):
|
|
175
|
+
}: Omit<React$2.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime0.JSX.Element;
|
|
176
176
|
declare function Text({
|
|
177
177
|
className,
|
|
178
178
|
...props
|
|
179
|
-
}: React$2.ComponentProps<"span">):
|
|
179
|
+
}: React$2.ComponentProps<"span">): react_jsx_runtime0.JSX.Element;
|
|
180
180
|
declare function Input$1({
|
|
181
181
|
className,
|
|
182
182
|
invalid,
|
|
183
183
|
...props
|
|
184
184
|
}: React$2.ComponentProps<"input"> & {
|
|
185
185
|
invalid?: boolean;
|
|
186
|
-
}):
|
|
186
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
187
187
|
//#endregion
|
|
188
188
|
//#region src/hooks/use-async-options.d.ts
|
|
189
189
|
type LoadOptionsData<TData$1> = {
|
|
@@ -263,7 +263,7 @@ declare function Root$8<ItemValue, Multiple extends boolean | undefined = false>
|
|
|
263
263
|
...props
|
|
264
264
|
}: React$2.ComponentProps<typeof Combobox.Root<ItemValue, Multiple>> & Pick<ComboboxContextValues, "isLoading" | "isLoadingMore" | "isError" | "onLoadMore" | "hasMore" | "invalid"> & {
|
|
265
265
|
loadOptions?: LoadOptionsConfig<ItemValue>;
|
|
266
|
-
}):
|
|
266
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
267
267
|
declare function Content$4({
|
|
268
268
|
empty,
|
|
269
269
|
portalProps,
|
|
@@ -277,26 +277,26 @@ declare function Content$4({
|
|
|
277
277
|
positionerProps?: React$2.ComponentProps<typeof Combobox.Positioner>;
|
|
278
278
|
popupProps?: React$2.ComponentProps<typeof Combobox.Popup>;
|
|
279
279
|
widthVariant?: "trigger" | "fit" | "enforced";
|
|
280
|
-
}>):
|
|
280
|
+
}>): react_jsx_runtime0.JSX.Element;
|
|
281
281
|
declare function Item$7({
|
|
282
282
|
className,
|
|
283
283
|
...props
|
|
284
|
-
}: React$2.ComponentProps<typeof Combobox.Item>):
|
|
284
|
+
}: React$2.ComponentProps<typeof Combobox.Item>): react_jsx_runtime0.JSX.Element;
|
|
285
285
|
declare function MultiItem$1({
|
|
286
286
|
className,
|
|
287
287
|
...props
|
|
288
|
-
}: React$2.ComponentProps<typeof Combobox.Item>):
|
|
288
|
+
}: React$2.ComponentProps<typeof Combobox.Item>): react_jsx_runtime0.JSX.Element;
|
|
289
289
|
declare function LoadingIndicator(props: {
|
|
290
290
|
className?: string;
|
|
291
|
-
}):
|
|
291
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
292
292
|
declare function SearchableTrigger(props: {
|
|
293
293
|
placeholder?: string;
|
|
294
294
|
size?: React$2.ComponentProps<typeof Root$9>["size"];
|
|
295
295
|
widthVariant?: React$2.ComponentProps<typeof Root$9>["widthVariant"];
|
|
296
296
|
className?: string;
|
|
297
297
|
addons?: React$2.ReactNode;
|
|
298
|
-
}):
|
|
299
|
-
declare function SearchableTriggerDropdownAddon():
|
|
298
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
299
|
+
declare function SearchableTriggerDropdownAddon(): react_jsx_runtime0.JSX.Element;
|
|
300
300
|
interface TriggerProps$2 extends Combobox.Trigger.Props, VariantProps<typeof triggerVariants> {}
|
|
301
301
|
declare function Trigger$6({
|
|
302
302
|
size,
|
|
@@ -304,7 +304,7 @@ declare function Trigger$6({
|
|
|
304
304
|
children,
|
|
305
305
|
className,
|
|
306
306
|
...props
|
|
307
|
-
}: TriggerProps$2):
|
|
307
|
+
}: TriggerProps$2): react_jsx_runtime0.JSX.Element;
|
|
308
308
|
/**
|
|
309
309
|
* Renders the value, if `value` is a string or an object with `label` property in it,
|
|
310
310
|
* then renders that value else you should provide a render function to render your custom value
|
|
@@ -318,7 +318,7 @@ declare function Value$2({
|
|
|
318
318
|
placeholder?: string;
|
|
319
319
|
children?: React$2.ReactNode | ((selectedValue: any) => React$2.ReactNode);
|
|
320
320
|
className?: string;
|
|
321
|
-
}):
|
|
321
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
322
322
|
declare const chipsTriggerVariants: (props?: ({
|
|
323
323
|
size?: "default" | "sm" | null | undefined;
|
|
324
324
|
widthVariant?: "enforced" | "full" | null | undefined;
|
|
@@ -331,14 +331,14 @@ declare function ChipsTrigger({
|
|
|
331
331
|
children: React$2.ReactNode | ((selectedValue: any) => React$2.ReactNode);
|
|
332
332
|
placeholder?: string;
|
|
333
333
|
className?: string;
|
|
334
|
-
} & VariantProps<typeof chipsTriggerVariants>):
|
|
334
|
+
} & VariantProps<typeof chipsTriggerVariants>): react_jsx_runtime0.JSX.Element;
|
|
335
335
|
declare function Chip(props: React$2.ComponentProps<typeof Combobox.Chip> & {
|
|
336
336
|
key: React$2.Key;
|
|
337
|
-
}):
|
|
337
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
338
338
|
declare function Search({
|
|
339
339
|
placeholder,
|
|
340
340
|
...props
|
|
341
|
-
}: React$2.ComponentProps<typeof Combobox.Input>):
|
|
341
|
+
}: React$2.ComponentProps<typeof Combobox.Input>): react_jsx_runtime0.JSX.Element;
|
|
342
342
|
declare function useComboboxContext(): ComboboxContextValues;
|
|
343
343
|
declare const BaseCombobox: typeof Combobox;
|
|
344
344
|
declare namespace select_d_exports {
|
|
@@ -350,7 +350,7 @@ declare function Root$7<Value$3 = any, Multiple extends boolean | undefined = fa
|
|
|
350
350
|
...props
|
|
351
351
|
}: React$2.ComponentPropsWithoutRef<typeof Select.Root<Value$3, Multiple>> & {
|
|
352
352
|
invalid?: boolean;
|
|
353
|
-
}):
|
|
353
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
354
354
|
declare function Content$3({
|
|
355
355
|
portalProps,
|
|
356
356
|
positionerProps,
|
|
@@ -362,29 +362,29 @@ declare function Content$3({
|
|
|
362
362
|
positionerProps?: React$2.ComponentProps<typeof Select.Positioner>;
|
|
363
363
|
popupProps?: React$2.ComponentProps<typeof Select.Popup>;
|
|
364
364
|
widthVariant?: "trigger" | "fit" | "enforced";
|
|
365
|
-
}>):
|
|
365
|
+
}>): react_jsx_runtime0.JSX.Element;
|
|
366
366
|
declare const List$1: React$2.ForwardRefExoticComponent<_base_ui_react0.SelectListProps & React$2.RefAttributes<HTMLDivElement>>;
|
|
367
367
|
declare function Item$6({
|
|
368
368
|
className,
|
|
369
369
|
...props
|
|
370
|
-
}: React$2.ComponentProps<typeof Select.Item>):
|
|
370
|
+
}: React$2.ComponentProps<typeof Select.Item>): react_jsx_runtime0.JSX.Element;
|
|
371
371
|
declare function MultiItem({
|
|
372
372
|
className,
|
|
373
373
|
...props
|
|
374
|
-
}: React$2.ComponentProps<typeof Select.Item>):
|
|
374
|
+
}: React$2.ComponentProps<typeof Select.Item>): react_jsx_runtime0.JSX.Element;
|
|
375
375
|
interface TriggerProps$1 extends Select.Trigger.Props, VariantProps<typeof triggerVariants> {}
|
|
376
376
|
declare function Trigger$5({
|
|
377
377
|
size,
|
|
378
378
|
widthVariant,
|
|
379
379
|
...props
|
|
380
|
-
}: TriggerProps$1):
|
|
380
|
+
}: TriggerProps$1): react_jsx_runtime0.JSX.Element;
|
|
381
381
|
declare function MultiSelectedValue({
|
|
382
382
|
selectedValue,
|
|
383
383
|
maxItems
|
|
384
384
|
}: {
|
|
385
385
|
selectedValue: any;
|
|
386
386
|
maxItems: number;
|
|
387
|
-
}):
|
|
387
|
+
}): react_jsx_runtime0.JSX.Element | null;
|
|
388
388
|
/**
|
|
389
389
|
* Renders the value, if `value` is a string or an object with `label` property in it,
|
|
390
390
|
* then renders that value else you should provide a render function to render your custom value
|
|
@@ -396,7 +396,7 @@ declare function Value$1({
|
|
|
396
396
|
...props
|
|
397
397
|
}: Select.Value.Props & {
|
|
398
398
|
placeholder?: string;
|
|
399
|
-
}):
|
|
399
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
400
400
|
type SelectedValue<TValue> = TValue | null | undefined;
|
|
401
401
|
declare const BaseSelect: typeof Select;
|
|
402
402
|
declare namespace menu_d_exports {
|
|
@@ -409,7 +409,7 @@ declare function Trigger$4({
|
|
|
409
409
|
size,
|
|
410
410
|
widthVariant,
|
|
411
411
|
...props
|
|
412
|
-
}: React$2.ComponentProps<typeof Menu.Trigger> & VariantProps<typeof triggerVariants>):
|
|
412
|
+
}: React$2.ComponentProps<typeof Menu.Trigger> & VariantProps<typeof triggerVariants>): react_jsx_runtime0.JSX.Element;
|
|
413
413
|
declare function Content$2({
|
|
414
414
|
portalProps,
|
|
415
415
|
positionerProps,
|
|
@@ -421,27 +421,27 @@ declare function Content$2({
|
|
|
421
421
|
positionerProps?: React$2.ComponentProps<typeof Menu.Positioner>;
|
|
422
422
|
popupProps?: React$2.ComponentProps<typeof Menu.Popup>;
|
|
423
423
|
widthVariant?: "trigger" | "fit" | "enforced";
|
|
424
|
-
}>):
|
|
425
|
-
declare function DropdownIndicator():
|
|
424
|
+
}>): react_jsx_runtime0.JSX.Element;
|
|
425
|
+
declare function DropdownIndicator(): react_jsx_runtime0.JSX.Element;
|
|
426
426
|
declare function Item$5({
|
|
427
427
|
className,
|
|
428
428
|
children,
|
|
429
429
|
...props
|
|
430
|
-
}: React$2.ComponentProps<typeof Menu.Item>):
|
|
430
|
+
}: React$2.ComponentProps<typeof Menu.Item>): react_jsx_runtime0.JSX.Element;
|
|
431
431
|
declare function Separator$1({
|
|
432
432
|
className,
|
|
433
433
|
...props
|
|
434
|
-
}: React$2.ComponentProps<typeof Menu.Separator>):
|
|
434
|
+
}: React$2.ComponentProps<typeof Menu.Separator>): react_jsx_runtime0.JSX.Element;
|
|
435
435
|
declare const Group$3: React$2.ForwardRefExoticComponent<_base_ui_react0.ContextMenuGroupProps & React$2.RefAttributes<Element>>;
|
|
436
436
|
declare function GroupLabel({
|
|
437
437
|
className,
|
|
438
438
|
...props
|
|
439
|
-
}: React$2.ComponentProps<typeof Menu.GroupLabel>):
|
|
439
|
+
}: React$2.ComponentProps<typeof Menu.GroupLabel>): react_jsx_runtime0.JSX.Element;
|
|
440
440
|
declare const RadioGroup$1: React$2.NamedExoticComponent<_base_ui_react0.ContextMenuRadioGroupProps & React$2.RefAttributes<Element>>;
|
|
441
441
|
declare function RadioItem({
|
|
442
442
|
className,
|
|
443
443
|
...props
|
|
444
|
-
}: React$2.ComponentProps<typeof Menu.RadioItem>):
|
|
444
|
+
}: React$2.ComponentProps<typeof Menu.RadioItem>): react_jsx_runtime0.JSX.Element;
|
|
445
445
|
declare const BaseTrigger: Menu.Trigger;
|
|
446
446
|
declare const BaseMenu: typeof Menu;
|
|
447
447
|
declare namespace progress_d_exports {
|
|
@@ -456,19 +456,19 @@ declare function Track({
|
|
|
456
456
|
size,
|
|
457
457
|
children,
|
|
458
458
|
...props
|
|
459
|
-
}: React$2.ComponentProps<typeof Progress.Track> & VariantProps<typeof progressTrackVariants>):
|
|
459
|
+
}: React$2.ComponentProps<typeof Progress.Track> & VariantProps<typeof progressTrackVariants>): react_jsx_runtime0.JSX.Element;
|
|
460
460
|
declare function Indicator({
|
|
461
461
|
className,
|
|
462
462
|
...props
|
|
463
|
-
}: React$2.ComponentProps<typeof Progress.Indicator>):
|
|
463
|
+
}: React$2.ComponentProps<typeof Progress.Indicator>): react_jsx_runtime0.JSX.Element;
|
|
464
464
|
declare function Label$1({
|
|
465
465
|
className,
|
|
466
466
|
...props
|
|
467
|
-
}: React$2.ComponentProps<typeof Progress.Label>):
|
|
467
|
+
}: React$2.ComponentProps<typeof Progress.Label>): react_jsx_runtime0.JSX.Element;
|
|
468
468
|
declare function Value({
|
|
469
469
|
className,
|
|
470
470
|
...props
|
|
471
|
-
}: React$2.ComponentProps<typeof Progress.Value>):
|
|
471
|
+
}: React$2.ComponentProps<typeof Progress.Value>): react_jsx_runtime0.JSX.Element;
|
|
472
472
|
declare const BaseProgress: typeof Progress;
|
|
473
473
|
declare namespace segmented_control_d_exports {
|
|
474
474
|
export { Item$4 as Item, Root$4 as Root };
|
|
@@ -480,7 +480,7 @@ declare const segmentedControlItemVariants: (props?: ({
|
|
|
480
480
|
declare function Root$4({
|
|
481
481
|
className,
|
|
482
482
|
...props
|
|
483
|
-
}: React$2.ComponentProps<typeof RadioGroup>):
|
|
483
|
+
}: React$2.ComponentProps<typeof RadioGroup>): react_jsx_runtime0.JSX.Element;
|
|
484
484
|
declare function Item$4({
|
|
485
485
|
children,
|
|
486
486
|
className,
|
|
@@ -489,7 +489,7 @@ declare function Item$4({
|
|
|
489
489
|
...props
|
|
490
490
|
}: React$2.ComponentProps<typeof Radio.Root> & VariantProps<typeof segmentedControlItemVariants> & {
|
|
491
491
|
children: React$2.ReactNode;
|
|
492
|
-
}):
|
|
492
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
493
493
|
declare namespace tabs_d_exports {
|
|
494
494
|
export { Content$1 as Content, List, Root$3 as Root, Trigger$3 as Trigger };
|
|
495
495
|
}
|
|
@@ -500,31 +500,31 @@ declare function Root$3({
|
|
|
500
500
|
...props
|
|
501
501
|
}: React$2.ComponentProps<typeof Tabs.Root> & {
|
|
502
502
|
variant?: TabsVariant;
|
|
503
|
-
}):
|
|
503
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
504
504
|
declare function List({
|
|
505
505
|
className,
|
|
506
506
|
children,
|
|
507
507
|
...props
|
|
508
|
-
}: React$2.ComponentProps<typeof Tabs.List>):
|
|
508
|
+
}: React$2.ComponentProps<typeof Tabs.List>): react_jsx_runtime0.JSX.Element;
|
|
509
509
|
declare function Trigger$3({
|
|
510
510
|
className,
|
|
511
511
|
...props
|
|
512
|
-
}: React$2.ComponentProps<typeof Tabs.Tab>):
|
|
512
|
+
}: React$2.ComponentProps<typeof Tabs.Tab>): react_jsx_runtime0.JSX.Element;
|
|
513
513
|
declare function Content$1({
|
|
514
514
|
className,
|
|
515
515
|
...props
|
|
516
|
-
}: React$2.ComponentProps<typeof Tabs.Panel>):
|
|
516
|
+
}: React$2.ComponentProps<typeof Tabs.Panel>): react_jsx_runtime0.JSX.Element;
|
|
517
517
|
declare namespace tooltip_d_exports {
|
|
518
518
|
export { BaseProvider, BaseRoot, Content, Root$2 as Root, Trigger$2 as Trigger };
|
|
519
519
|
}
|
|
520
520
|
declare function Root$2({
|
|
521
521
|
...props
|
|
522
|
-
}: React$2.ComponentProps<typeof Tooltip.Root>):
|
|
522
|
+
}: React$2.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime0.JSX.Element;
|
|
523
523
|
declare const BaseRoot: typeof Tooltip.Root;
|
|
524
524
|
declare const BaseProvider: React$2.FC<_base_ui_react0.TooltipProviderProps>;
|
|
525
525
|
declare function Trigger$2({
|
|
526
526
|
...props
|
|
527
|
-
}: React$2.ComponentProps<typeof Tooltip.Trigger>):
|
|
527
|
+
}: React$2.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
528
528
|
declare function Content({
|
|
529
529
|
className,
|
|
530
530
|
align,
|
|
@@ -536,7 +536,7 @@ declare function Content({
|
|
|
536
536
|
align?: Tooltip.Positioner.Props["align"];
|
|
537
537
|
side?: Tooltip.Positioner.Props["side"];
|
|
538
538
|
sideOffset?: Tooltip.Positioner.Props["sideOffset"];
|
|
539
|
-
}):
|
|
539
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
540
540
|
//#endregion
|
|
541
541
|
//#region src/components/checkbox.d.ts
|
|
542
542
|
declare const checkboxVariants: (props?: ({
|
|
@@ -547,14 +547,14 @@ interface CheckboxProps extends React.ComponentProps<typeof Checkbox$1.Root>, Va
|
|
|
547
547
|
declare function Checkbox({
|
|
548
548
|
className,
|
|
549
549
|
...props
|
|
550
|
-
}: CheckboxProps):
|
|
550
|
+
}: CheckboxProps): react_jsx_runtime0.JSX.Element;
|
|
551
551
|
declare namespace block_checkbox_group_d_exports {
|
|
552
552
|
export { Description$1 as Description, Group$2 as Group, Header$1 as Header, Item$3 as Item, Title$1 as Title };
|
|
553
553
|
}
|
|
554
554
|
declare function Group$2({
|
|
555
555
|
className,
|
|
556
556
|
...props
|
|
557
|
-
}: React.ComponentProps<typeof CheckboxGroup>):
|
|
557
|
+
}: React.ComponentProps<typeof CheckboxGroup>): react_jsx_runtime0.JSX.Element;
|
|
558
558
|
declare function Item$3({
|
|
559
559
|
className,
|
|
560
560
|
invalid,
|
|
@@ -563,23 +563,23 @@ declare function Item$3({
|
|
|
563
563
|
}: React.PropsWithChildren<React.ComponentProps<typeof Checkbox>> & {
|
|
564
564
|
className?: string;
|
|
565
565
|
invalid?: boolean;
|
|
566
|
-
}):
|
|
566
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
567
567
|
declare function Header$1(props: React.PropsWithChildren<{
|
|
568
568
|
className?: string;
|
|
569
|
-
}>):
|
|
569
|
+
}>): react_jsx_runtime0.JSX.Element;
|
|
570
570
|
declare function Title$1(props: React.PropsWithChildren<{
|
|
571
571
|
className?: string;
|
|
572
|
-
}>):
|
|
572
|
+
}>): react_jsx_runtime0.JSX.Element;
|
|
573
573
|
declare function Description$1(props: React.PropsWithChildren<{
|
|
574
574
|
className?: string;
|
|
575
|
-
}>):
|
|
575
|
+
}>): react_jsx_runtime0.JSX.Element;
|
|
576
576
|
declare namespace radio_group_d_exports {
|
|
577
577
|
export { Group$1 as Group, Item$1 as Item };
|
|
578
578
|
}
|
|
579
579
|
declare function Group$1({
|
|
580
580
|
className,
|
|
581
581
|
...props
|
|
582
|
-
}: React$2.ComponentProps<typeof RadioGroup>):
|
|
582
|
+
}: React$2.ComponentProps<typeof RadioGroup>): react_jsx_runtime0.JSX.Element;
|
|
583
583
|
declare const radioVariants: (props?: ({
|
|
584
584
|
variant?: "default" | null | undefined;
|
|
585
585
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
@@ -590,14 +590,14 @@ declare function Item$1({
|
|
|
590
590
|
variant,
|
|
591
591
|
size,
|
|
592
592
|
...props
|
|
593
|
-
}: RadioGroupItemProps):
|
|
593
|
+
}: RadioGroupItemProps): react_jsx_runtime0.JSX.Element;
|
|
594
594
|
declare namespace block_radio_group_d_exports {
|
|
595
595
|
export { Description, Group, Header, Item$2 as Item, Title };
|
|
596
596
|
}
|
|
597
597
|
declare function Group({
|
|
598
598
|
className,
|
|
599
599
|
...props
|
|
600
|
-
}: React.ComponentProps<typeof RadioGroup>):
|
|
600
|
+
}: React.ComponentProps<typeof RadioGroup>): react_jsx_runtime0.JSX.Element;
|
|
601
601
|
declare function Item$2({
|
|
602
602
|
className,
|
|
603
603
|
invalid,
|
|
@@ -606,30 +606,30 @@ declare function Item$2({
|
|
|
606
606
|
}: React.PropsWithChildren<React.ComponentProps<typeof Item$1>> & {
|
|
607
607
|
className?: string;
|
|
608
608
|
invalid?: boolean;
|
|
609
|
-
}):
|
|
609
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
610
610
|
declare function Header(props: React.PropsWithChildren<{
|
|
611
611
|
className?: string;
|
|
612
|
-
}>):
|
|
612
|
+
}>): react_jsx_runtime0.JSX.Element;
|
|
613
613
|
declare function Title(props: React.PropsWithChildren<{
|
|
614
614
|
className?: string;
|
|
615
|
-
}>):
|
|
615
|
+
}>): react_jsx_runtime0.JSX.Element;
|
|
616
616
|
declare function Description(props: React.PropsWithChildren<{
|
|
617
617
|
className?: string;
|
|
618
|
-
}>):
|
|
618
|
+
}>): react_jsx_runtime0.JSX.Element;
|
|
619
619
|
declare namespace breadcrumbs_d_exports {
|
|
620
620
|
export { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
621
621
|
}
|
|
622
622
|
declare function Breadcrumb({
|
|
623
623
|
...props
|
|
624
|
-
}: React$2.ComponentProps<"nav">):
|
|
624
|
+
}: React$2.ComponentProps<"nav">): react_jsx_runtime0.JSX.Element;
|
|
625
625
|
declare function BreadcrumbList({
|
|
626
626
|
className,
|
|
627
627
|
...props
|
|
628
|
-
}: React$2.ComponentProps<"ol">):
|
|
628
|
+
}: React$2.ComponentProps<"ol">): react_jsx_runtime0.JSX.Element;
|
|
629
629
|
declare function BreadcrumbItem({
|
|
630
630
|
className,
|
|
631
631
|
...props
|
|
632
|
-
}: React$2.ComponentProps<"li">):
|
|
632
|
+
}: React$2.ComponentProps<"li">): react_jsx_runtime0.JSX.Element;
|
|
633
633
|
declare function BreadcrumbLink({
|
|
634
634
|
className,
|
|
635
635
|
render,
|
|
@@ -638,25 +638,25 @@ declare function BreadcrumbLink({
|
|
|
638
638
|
declare function BreadcrumbPage({
|
|
639
639
|
className,
|
|
640
640
|
...props
|
|
641
|
-
}: React$2.ComponentProps<"span">):
|
|
641
|
+
}: React$2.ComponentProps<"span">): react_jsx_runtime0.JSX.Element;
|
|
642
642
|
declare function BreadcrumbSeparator({
|
|
643
643
|
children,
|
|
644
644
|
className,
|
|
645
645
|
...props
|
|
646
|
-
}: React$2.ComponentProps<"li">):
|
|
646
|
+
}: React$2.ComponentProps<"li">): react_jsx_runtime0.JSX.Element;
|
|
647
647
|
declare namespace collapsible_d_exports {
|
|
648
648
|
export { Panel, Root$1 as Root, ToggleIcon, Trigger$1 as Trigger };
|
|
649
649
|
}
|
|
650
650
|
declare function Root$1({
|
|
651
651
|
className,
|
|
652
652
|
...props
|
|
653
|
-
}: React$2.ComponentProps<typeof Collapsible.Root>):
|
|
654
|
-
declare function Trigger$1(props: React$2.ComponentProps<typeof Collapsible.Trigger>):
|
|
653
|
+
}: React$2.ComponentProps<typeof Collapsible.Root>): react_jsx_runtime0.JSX.Element;
|
|
654
|
+
declare function Trigger$1(props: React$2.ComponentProps<typeof Collapsible.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
655
655
|
declare function Panel({
|
|
656
656
|
className,
|
|
657
657
|
...props
|
|
658
|
-
}: React$2.ComponentProps<typeof Collapsible.Panel>):
|
|
659
|
-
declare function ToggleIcon():
|
|
658
|
+
}: React$2.ComponentProps<typeof Collapsible.Panel>): react_jsx_runtime0.JSX.Element;
|
|
659
|
+
declare function ToggleIcon(): react_jsx_runtime0.JSX.Element;
|
|
660
660
|
//#endregion
|
|
661
661
|
//#region src/components/calendar.d.ts
|
|
662
662
|
declare function Calendar({
|
|
@@ -667,10 +667,10 @@ declare function Calendar({
|
|
|
667
667
|
formatters,
|
|
668
668
|
components,
|
|
669
669
|
...props
|
|
670
|
-
}: DayPickerProps):
|
|
670
|
+
}: DayPickerProps): react_jsx_runtime0.JSX.Element;
|
|
671
671
|
//#endregion
|
|
672
672
|
//#region src/providers/px-ui-provider.d.ts
|
|
673
|
-
declare function PXUIProvider(props: React.PropsWithChildren):
|
|
673
|
+
declare function PXUIProvider(props: React.PropsWithChildren): react_jsx_runtime0.JSX.Element;
|
|
674
674
|
//#endregion
|
|
675
675
|
//#region src/components/toast.d.ts
|
|
676
676
|
declare const toast: _base_ui_react0.ToastManager;
|
|
@@ -680,7 +680,7 @@ declare const anchoredToast: _base_ui_react0.ToastManager;
|
|
|
680
680
|
declare function Label({
|
|
681
681
|
className,
|
|
682
682
|
...props
|
|
683
|
-
}: React.ComponentProps<"label">):
|
|
683
|
+
}: React.ComponentProps<"label">): react_jsx_runtime0.JSX.Element;
|
|
684
684
|
//#endregion
|
|
685
685
|
//#region src/components/input.d.ts
|
|
686
686
|
declare const inputVariants: (props?: ({
|
|
@@ -696,7 +696,7 @@ declare function Input({
|
|
|
696
696
|
invalid,
|
|
697
697
|
widthVariant,
|
|
698
698
|
...props
|
|
699
|
-
}: InputProps):
|
|
699
|
+
}: InputProps): react_jsx_runtime0.JSX.Element;
|
|
700
700
|
//#endregion
|
|
701
701
|
//#region src/components/textarea.d.ts
|
|
702
702
|
declare const textareaVariants: (props?: ({
|
|
@@ -712,7 +712,7 @@ declare function Textarea({
|
|
|
712
712
|
invalid,
|
|
713
713
|
widthVariant,
|
|
714
714
|
...props
|
|
715
|
-
}: TextareaProps):
|
|
715
|
+
}: TextareaProps): react_jsx_runtime0.JSX.Element;
|
|
716
716
|
//#endregion
|
|
717
717
|
//#region src/components/avatar.d.ts
|
|
718
718
|
type AvatarVariant = "squared" | "rounded";
|
|
@@ -725,11 +725,11 @@ interface AvatarProps {
|
|
|
725
725
|
children?: React.ReactNode;
|
|
726
726
|
hideTooltip?: boolean;
|
|
727
727
|
}
|
|
728
|
-
declare function Avatar(props: AvatarProps):
|
|
728
|
+
declare function Avatar(props: AvatarProps): react_jsx_runtime0.JSX.Element;
|
|
729
729
|
type AvatarImplProps = Omit<AvatarProps, "hideTooltip"> & {
|
|
730
730
|
avatarRootProps?: React.ComponentProps<typeof Avatar$1.Root>;
|
|
731
731
|
};
|
|
732
|
-
declare function AvatarImpl(props: AvatarImplProps):
|
|
732
|
+
declare function AvatarImpl(props: AvatarImplProps): react_jsx_runtime0.JSX.Element;
|
|
733
733
|
//#endregion
|
|
734
734
|
//#region src/components/avatar-group.d.ts
|
|
735
735
|
interface AvatarGroupProps {
|
|
@@ -741,7 +741,7 @@ declare function AvatarGroup({
|
|
|
741
741
|
max,
|
|
742
742
|
avatars,
|
|
743
743
|
className
|
|
744
|
-
}: AvatarGroupProps):
|
|
744
|
+
}: AvatarGroupProps): react_jsx_runtime0.JSX.Element;
|
|
745
745
|
//#endregion
|
|
746
746
|
//#region src/components/spinner.d.ts
|
|
747
747
|
interface SpinnerProps {
|
|
@@ -751,7 +751,7 @@ interface SpinnerProps {
|
|
|
751
751
|
declare function Spinner({
|
|
752
752
|
size,
|
|
753
753
|
className
|
|
754
|
-
}: SpinnerProps):
|
|
754
|
+
}: SpinnerProps): react_jsx_runtime0.JSX.Element;
|
|
755
755
|
//#endregion
|
|
756
756
|
//#region src/components/switch.d.ts
|
|
757
757
|
declare function Switch({
|
|
@@ -760,7 +760,7 @@ declare function Switch({
|
|
|
760
760
|
...props
|
|
761
761
|
}: React$2.ComponentProps<typeof Switch$1.Root> & {
|
|
762
762
|
size?: "sm" | "lg" | "default";
|
|
763
|
-
}):
|
|
763
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
764
764
|
//#endregion
|
|
765
765
|
//#region src/components/separator.d.ts
|
|
766
766
|
declare function Separator({
|
|
@@ -771,7 +771,7 @@ declare function Separator({
|
|
|
771
771
|
}: React$2.ComponentProps<"div"> & {
|
|
772
772
|
orientation: "horizontal" | "vertical";
|
|
773
773
|
decorative?: boolean;
|
|
774
|
-
}):
|
|
774
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
775
775
|
declare namespace Separator {
|
|
776
776
|
var displayName: string;
|
|
777
777
|
}
|
|
@@ -801,7 +801,7 @@ declare function DatePicker({
|
|
|
801
801
|
popoverRootProps,
|
|
802
802
|
popoverContentProps,
|
|
803
803
|
...calendarProps
|
|
804
|
-
}: DatePickerProps):
|
|
804
|
+
}: DatePickerProps): react_jsx_runtime0.JSX.Element;
|
|
805
805
|
//#endregion
|
|
806
806
|
//#region src/hooks/use-file-upload.d.ts
|
|
807
807
|
type FileMetadata = {
|
|
@@ -993,7 +993,7 @@ declare function Root({
|
|
|
993
993
|
multiple,
|
|
994
994
|
disabled,
|
|
995
995
|
className
|
|
996
|
-
}: RootProps):
|
|
996
|
+
}: RootProps): react_jsx_runtime0.JSX.Element;
|
|
997
997
|
declare const dropzoneVariants: (props?: ({
|
|
998
998
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
999
999
|
isDragActive?: boolean | null | undefined;
|
|
@@ -1015,7 +1015,7 @@ declare function Dropzone({
|
|
|
1015
1015
|
browseText,
|
|
1016
1016
|
hideDefaultContent,
|
|
1017
1017
|
...props
|
|
1018
|
-
}: DropzoneProps):
|
|
1018
|
+
}: DropzoneProps): react_jsx_runtime0.JSX.Element;
|
|
1019
1019
|
interface TriggerProps extends React$2.ComponentProps<typeof Button> {
|
|
1020
1020
|
/** Text to show while uploading */
|
|
1021
1021
|
uploadingText?: string;
|
|
@@ -1027,7 +1027,7 @@ declare function Trigger({
|
|
|
1027
1027
|
uploadingText,
|
|
1028
1028
|
showUploadingState,
|
|
1029
1029
|
...props
|
|
1030
|
-
}: TriggerProps):
|
|
1030
|
+
}: TriggerProps): react_jsx_runtime0.JSX.Element;
|
|
1031
1031
|
interface ItemListProps extends Omit<React$2.ComponentProps<"div">, "children"> {
|
|
1032
1032
|
children?: React$2.ReactNode | ((files: FileUploadFile[]) => React$2.ReactNode);
|
|
1033
1033
|
}
|
|
@@ -1035,7 +1035,7 @@ declare function ItemList({
|
|
|
1035
1035
|
className,
|
|
1036
1036
|
children,
|
|
1037
1037
|
...props
|
|
1038
|
-
}: ItemListProps):
|
|
1038
|
+
}: ItemListProps): react_jsx_runtime0.JSX.Element | null;
|
|
1039
1039
|
interface ItemProps extends React$2.ComponentProps<"div"> {
|
|
1040
1040
|
file: FileUploadFile;
|
|
1041
1041
|
/** Apply error styling based on file status */
|
|
@@ -1047,7 +1047,7 @@ declare function Item({
|
|
|
1047
1047
|
children,
|
|
1048
1048
|
statusStyles,
|
|
1049
1049
|
...props
|
|
1050
|
-
}: ItemProps):
|
|
1050
|
+
}: ItemProps): react_jsx_runtime0.JSX.Element;
|
|
1051
1051
|
interface ItemPreviewProps extends React$2.ComponentProps<"div"> {
|
|
1052
1052
|
/** Fallback icon when no preview is available */
|
|
1053
1053
|
fallback?: React$2.ReactNode;
|
|
@@ -1056,28 +1056,28 @@ declare function ItemPreview({
|
|
|
1056
1056
|
className,
|
|
1057
1057
|
fallback,
|
|
1058
1058
|
...props
|
|
1059
|
-
}: ItemPreviewProps):
|
|
1059
|
+
}: ItemPreviewProps): react_jsx_runtime0.JSX.Element;
|
|
1060
1060
|
interface ItemNameProps extends React$2.ComponentProps<"span"> {}
|
|
1061
1061
|
declare function ItemName({
|
|
1062
1062
|
className,
|
|
1063
1063
|
...props
|
|
1064
|
-
}: ItemNameProps):
|
|
1064
|
+
}: ItemNameProps): react_jsx_runtime0.JSX.Element;
|
|
1065
1065
|
interface ItemSizeProps extends React$2.ComponentProps<"span"> {}
|
|
1066
1066
|
declare function ItemSize({
|
|
1067
1067
|
className,
|
|
1068
1068
|
...props
|
|
1069
|
-
}: ItemSizeProps):
|
|
1069
|
+
}: ItemSizeProps): react_jsx_runtime0.JSX.Element;
|
|
1070
1070
|
interface ItemRemoveProps extends React$2.ComponentProps<typeof Button> {}
|
|
1071
1071
|
declare function ItemRemove({
|
|
1072
1072
|
className,
|
|
1073
1073
|
children,
|
|
1074
1074
|
...props
|
|
1075
|
-
}: ItemRemoveProps):
|
|
1075
|
+
}: ItemRemoveProps): react_jsx_runtime0.JSX.Element;
|
|
1076
1076
|
interface ItemProgressProps extends React$2.ComponentProps<"div"> {}
|
|
1077
1077
|
declare function ItemProgress({
|
|
1078
1078
|
className,
|
|
1079
1079
|
...props
|
|
1080
|
-
}: ItemProgressProps):
|
|
1080
|
+
}: ItemProgressProps): react_jsx_runtime0.JSX.Element | null;
|
|
1081
1081
|
interface ItemStatusProps extends React$2.ComponentProps<"div"> {
|
|
1082
1082
|
/** Custom success icon */
|
|
1083
1083
|
successIcon?: React$2.ReactNode;
|
|
@@ -1092,23 +1092,23 @@ declare function ItemStatus({
|
|
|
1092
1092
|
uploadingContent,
|
|
1093
1093
|
errorContent,
|
|
1094
1094
|
...props
|
|
1095
|
-
}: ItemStatusProps):
|
|
1095
|
+
}: ItemStatusProps): react_jsx_runtime0.JSX.Element | null;
|
|
1096
1096
|
interface ItemErrorProps extends React$2.ComponentProps<"span"> {}
|
|
1097
1097
|
declare function ItemError({
|
|
1098
1098
|
className,
|
|
1099
1099
|
...props
|
|
1100
|
-
}: ItemErrorProps):
|
|
1100
|
+
}: ItemErrorProps): react_jsx_runtime0.JSX.Element | null;
|
|
1101
1101
|
interface ItemRetryProps extends React$2.ComponentProps<typeof Button> {}
|
|
1102
1102
|
declare function ItemRetry({
|
|
1103
1103
|
className,
|
|
1104
1104
|
children,
|
|
1105
1105
|
...props
|
|
1106
|
-
}: ItemRetryProps):
|
|
1106
|
+
}: ItemRetryProps): react_jsx_runtime0.JSX.Element | null;
|
|
1107
1107
|
interface ClearButtonProps extends React$2.ComponentProps<typeof Button> {}
|
|
1108
1108
|
declare function ClearButton({
|
|
1109
1109
|
children,
|
|
1110
1110
|
...props
|
|
1111
|
-
}: ClearButtonProps):
|
|
1111
|
+
}: ClearButtonProps): react_jsx_runtime0.JSX.Element | null;
|
|
1112
1112
|
interface ImageGridProps extends Omit<React$2.ComponentProps<"div">, "children"> {
|
|
1113
1113
|
children?: React$2.ReactNode | ((files: FileUploadFile[]) => React$2.ReactNode);
|
|
1114
1114
|
}
|
|
@@ -1116,7 +1116,7 @@ declare function ImageGrid({
|
|
|
1116
1116
|
className,
|
|
1117
1117
|
children,
|
|
1118
1118
|
...props
|
|
1119
|
-
}: ImageGridProps):
|
|
1119
|
+
}: ImageGridProps): react_jsx_runtime0.JSX.Element | null;
|
|
1120
1120
|
interface ImageGridItemProps extends React$2.ComponentProps<"div"> {
|
|
1121
1121
|
file: FileUploadFile;
|
|
1122
1122
|
/** Show status overlays (uploading/error) */
|
|
@@ -1127,7 +1127,7 @@ declare function ImageGridItem({
|
|
|
1127
1127
|
className,
|
|
1128
1128
|
showStatusOverlay,
|
|
1129
1129
|
...props
|
|
1130
|
-
}: ImageGridItemProps):
|
|
1130
|
+
}: ImageGridItemProps): react_jsx_runtime0.JSX.Element;
|
|
1131
1131
|
declare const FileUpload: {
|
|
1132
1132
|
Root: typeof Root;
|
|
1133
1133
|
Dropzone: typeof Dropzone;
|
|
@@ -1148,10 +1148,10 @@ declare const FileUpload: {
|
|
|
1148
1148
|
};
|
|
1149
1149
|
//#endregion
|
|
1150
1150
|
//#region src/icons/file-icon.d.ts
|
|
1151
|
-
declare function FileIcon(props: React.ComponentProps<"svg">):
|
|
1151
|
+
declare function FileIcon(props: React.ComponentProps<"svg">): react_jsx_runtime0.JSX.Element;
|
|
1152
1152
|
//#endregion
|
|
1153
1153
|
//#region src/icons/upload-icon.d.ts
|
|
1154
|
-
declare function UploadIcon(props: React.ComponentProps<"svg">):
|
|
1154
|
+
declare function UploadIcon(props: React.ComponentProps<"svg">): react_jsx_runtime0.JSX.Element;
|
|
1155
1155
|
//#endregion
|
|
1156
1156
|
//#region src/hooks/use-intersection-observer.d.ts
|
|
1157
1157
|
interface UseIntersectionObserverOptions {
|