@px-ui/core 3.0.0 → 3.1.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/README.md +1 -1
- package/dist/index.d.ts +160 -149
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +357 -74
- package/dist/index.js.map +1 -1
- package/package.json +8 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { n as __reExport, t as __export } from "./chunk-CYeTv9WL.js";
|
|
2
2
|
import * as React$2 from "react";
|
|
3
3
|
import React$1, { ChangeEvent, DragEvent, InputHTMLAttributes } from "react";
|
|
4
|
-
import
|
|
4
|
+
import * as _base_ui_react0 from "@base-ui/react";
|
|
5
|
+
import { Collapsible, Dialog, Toast } from "@base-ui/react";
|
|
5
6
|
import { ArgumentArray } from "classnames";
|
|
6
7
|
import { VariantProps } from "class-variance-authority";
|
|
7
|
-
import * as
|
|
8
|
-
import { Popover } from "@base-ui
|
|
9
|
-
import { Combobox } from "@base-ui
|
|
8
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
9
|
+
import { Popover } from "@base-ui/react/popover";
|
|
10
|
+
import { Combobox } from "@base-ui/react/combobox";
|
|
10
11
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
11
12
|
import { QueryKey } from "@tanstack/react-query";
|
|
12
|
-
import { Select } from "@base-ui
|
|
13
|
-
import { Menu } from "@base-ui
|
|
14
|
-
import { Progress } from "@base-ui
|
|
15
|
-
import { Radio } from "@base-ui
|
|
16
|
-
import { RadioGroup } from "@base-ui
|
|
17
|
-
import { Tabs } from "@base-ui
|
|
18
|
-
import { Tooltip } from "@base-ui
|
|
19
|
-
import { CheckboxGroup } from "@base-ui
|
|
20
|
-
import { Checkbox as Checkbox$1 } from "@base-ui
|
|
21
|
-
import { useRender } from "@base-ui
|
|
13
|
+
import { Select } from "@base-ui/react/select";
|
|
14
|
+
import { Menu } from "@base-ui/react/menu";
|
|
15
|
+
import { Progress } from "@base-ui/react/progress";
|
|
16
|
+
import { Radio } from "@base-ui/react/radio";
|
|
17
|
+
import { RadioGroup } from "@base-ui/react/radio-group";
|
|
18
|
+
import { Tabs } from "@base-ui/react/tabs";
|
|
19
|
+
import { Tooltip } from "@base-ui/react/tooltip";
|
|
20
|
+
import { CheckboxGroup } from "@base-ui/react/checkbox-group";
|
|
21
|
+
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
22
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
22
23
|
import { DayPickerProps } from "react-day-picker";
|
|
23
|
-
import { Avatar as Avatar$1 } from "@base-ui
|
|
24
|
-
import { Switch as Switch$1 } from "@base-ui
|
|
24
|
+
import { Avatar as Avatar$1 } from "@base-ui/react/avatar";
|
|
25
|
+
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
25
26
|
import * as class_variance_authority_types11 from "class-variance-authority/types";
|
|
26
27
|
export * from "class-variance-authority";
|
|
27
28
|
|
|
@@ -31,70 +32,70 @@ declare namespace dialog_d_exports {
|
|
|
31
32
|
}
|
|
32
33
|
declare function Root$11({
|
|
33
34
|
...props
|
|
34
|
-
}: React$2.ComponentProps<typeof Dialog.Root>):
|
|
35
|
+
}: React$2.ComponentProps<typeof Dialog.Root>): react_jsx_runtime11.JSX.Element;
|
|
35
36
|
declare function Portal({
|
|
36
37
|
...props
|
|
37
|
-
}: React$2.ComponentProps<typeof Dialog.Portal>):
|
|
38
|
+
}: React$2.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime11.JSX.Element;
|
|
38
39
|
declare function Trigger$8({
|
|
39
40
|
...props
|
|
40
|
-
}: React$2.ComponentProps<typeof Dialog.Trigger>):
|
|
41
|
+
}: React$2.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime11.JSX.Element;
|
|
41
42
|
declare function Close$1({
|
|
42
43
|
...props
|
|
43
|
-
}: React$2.ComponentProps<typeof Dialog.Close>):
|
|
44
|
+
}: React$2.ComponentProps<typeof Dialog.Close>): react_jsx_runtime11.JSX.Element;
|
|
44
45
|
declare function Overlay({
|
|
45
46
|
className,
|
|
46
47
|
...props
|
|
47
|
-
}: React$2.ComponentProps<typeof Dialog.Backdrop>):
|
|
48
|
+
}: React$2.ComponentProps<typeof Dialog.Backdrop>): react_jsx_runtime11.JSX.Element;
|
|
48
49
|
declare function Content$6({
|
|
49
50
|
className,
|
|
50
51
|
children,
|
|
51
52
|
...props
|
|
52
|
-
}: React$2.ComponentProps<typeof Dialog.Popup>):
|
|
53
|
+
}: React$2.ComponentProps<typeof Dialog.Popup>): react_jsx_runtime11.JSX.Element;
|
|
53
54
|
declare function Header$3({
|
|
54
55
|
className,
|
|
55
56
|
...props
|
|
56
|
-
}: React$2.ComponentProps<"div">):
|
|
57
|
+
}: React$2.ComponentProps<"div">): react_jsx_runtime11.JSX.Element;
|
|
57
58
|
declare function HeaderContent({
|
|
58
59
|
className,
|
|
59
60
|
children,
|
|
60
61
|
...props
|
|
61
|
-
}: React$2.ComponentProps<"div">):
|
|
62
|
+
}: React$2.ComponentProps<"div">): react_jsx_runtime11.JSX.Element;
|
|
62
63
|
declare function HeaderIcon({
|
|
63
64
|
className,
|
|
64
65
|
children,
|
|
65
66
|
...props
|
|
66
|
-
}: React$2.ComponentProps<"div">):
|
|
67
|
+
}: React$2.ComponentProps<"div">): react_jsx_runtime11.JSX.Element;
|
|
67
68
|
declare function Footer$1({
|
|
68
69
|
className,
|
|
69
70
|
...props
|
|
70
|
-
}: React$2.ComponentProps<"div">):
|
|
71
|
+
}: React$2.ComponentProps<"div">): react_jsx_runtime11.JSX.Element;
|
|
71
72
|
declare function Title$3({
|
|
72
73
|
className,
|
|
73
74
|
...props
|
|
74
|
-
}: React$2.ComponentProps<typeof Dialog.Title>):
|
|
75
|
+
}: React$2.ComponentProps<typeof Dialog.Title>): react_jsx_runtime11.JSX.Element;
|
|
75
76
|
declare function Description$3({
|
|
76
77
|
className,
|
|
77
78
|
...props
|
|
78
|
-
}: React$2.ComponentProps<typeof Dialog.Description>):
|
|
79
|
+
}: React$2.ComponentProps<typeof Dialog.Description>): react_jsx_runtime11.JSX.Element;
|
|
79
80
|
declare namespace popover_d_exports {
|
|
80
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 };
|
|
81
82
|
}
|
|
82
|
-
declare function Root$10(props: React.ComponentProps<typeof Popover.Root>):
|
|
83
|
-
declare function Trigger$7(props: React.ComponentProps<typeof Popover.Trigger>):
|
|
84
|
-
declare function Close(props: React.ComponentProps<typeof Popover.Close>):
|
|
85
|
-
declare function Positioner(props: React.ComponentProps<typeof Popover.Positioner>):
|
|
83
|
+
declare function Root$10(props: React.ComponentProps<typeof Popover.Root>): react_jsx_runtime11.JSX.Element;
|
|
84
|
+
declare function Trigger$7(props: React.ComponentProps<typeof Popover.Trigger>): react_jsx_runtime11.JSX.Element;
|
|
85
|
+
declare function Close(props: React.ComponentProps<typeof Popover.Close>): react_jsx_runtime11.JSX.Element;
|
|
86
|
+
declare function Positioner(props: React.ComponentProps<typeof Popover.Positioner>): react_jsx_runtime11.JSX.Element;
|
|
86
87
|
declare function Header$2({
|
|
87
88
|
className,
|
|
88
89
|
...props
|
|
89
|
-
}: React.ComponentProps<"div">):
|
|
90
|
+
}: React.ComponentProps<"div">): react_jsx_runtime11.JSX.Element;
|
|
90
91
|
declare function Title$2({
|
|
91
92
|
className,
|
|
92
93
|
...props
|
|
93
|
-
}: React.ComponentProps<typeof Popover.Title>):
|
|
94
|
+
}: React.ComponentProps<typeof Popover.Title>): react_jsx_runtime11.JSX.Element;
|
|
94
95
|
declare function Description$2({
|
|
95
96
|
className,
|
|
96
97
|
...props
|
|
97
|
-
}: React.ComponentProps<typeof Popover.Description>):
|
|
98
|
+
}: React.ComponentProps<typeof Popover.Description>): react_jsx_runtime11.JSX.Element;
|
|
98
99
|
declare function Content$5({
|
|
99
100
|
children,
|
|
100
101
|
className,
|
|
@@ -109,15 +110,15 @@ declare function Content$5({
|
|
|
109
110
|
children: React.ReactNode;
|
|
110
111
|
arrow?: boolean;
|
|
111
112
|
className?: string;
|
|
112
|
-
}):
|
|
113
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
113
114
|
declare function CloseIconButton({
|
|
114
115
|
className,
|
|
115
116
|
...props
|
|
116
|
-
}: React.ComponentProps<"button">):
|
|
117
|
+
}: React.ComponentProps<"button">): react_jsx_runtime11.JSX.Element;
|
|
117
118
|
declare function Footer({
|
|
118
119
|
className,
|
|
119
120
|
...props
|
|
120
|
-
}: React.ComponentProps<"div">):
|
|
121
|
+
}: React.ComponentProps<"div">): react_jsx_runtime11.JSX.Element;
|
|
121
122
|
//#endregion
|
|
122
123
|
//#region src/tw-styles/dropdown.d.ts
|
|
123
124
|
declare const triggerVariants: (props?: ({
|
|
@@ -136,7 +137,7 @@ declare function Button({
|
|
|
136
137
|
variant,
|
|
137
138
|
size,
|
|
138
139
|
...props
|
|
139
|
-
}: ButtonProps):
|
|
140
|
+
}: ButtonProps): react_jsx_runtime11.JSX.Element;
|
|
140
141
|
declare namespace input_group_d_exports {
|
|
141
142
|
export { Addon, Button$1 as Button, Input$1 as Input, Root$9 as Root, Text };
|
|
142
143
|
}
|
|
@@ -152,7 +153,7 @@ declare function Root$9({
|
|
|
152
153
|
...props
|
|
153
154
|
}: React$2.ComponentProps<"div"> & VariantProps<typeof inputGroupVariants> & {
|
|
154
155
|
disabled?: boolean;
|
|
155
|
-
}):
|
|
156
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
156
157
|
declare const inputGroupAddonVariants: (props?: ({
|
|
157
158
|
align?: "inline-start" | "inline-end" | null | undefined;
|
|
158
159
|
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
@@ -161,7 +162,7 @@ declare function Addon({
|
|
|
161
162
|
className,
|
|
162
163
|
align,
|
|
163
164
|
...props
|
|
164
|
-
}: AddonProps):
|
|
165
|
+
}: AddonProps): react_jsx_runtime11.JSX.Element;
|
|
165
166
|
declare const inputGroupButtonVariants: (props?: ({
|
|
166
167
|
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
167
168
|
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
@@ -171,18 +172,18 @@ declare function Button$1({
|
|
|
171
172
|
variant,
|
|
172
173
|
size,
|
|
173
174
|
...props
|
|
174
|
-
}: Omit<React$2.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>):
|
|
175
|
+
}: Omit<React$2.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime11.JSX.Element;
|
|
175
176
|
declare function Text({
|
|
176
177
|
className,
|
|
177
178
|
...props
|
|
178
|
-
}: React$2.ComponentProps<"span">):
|
|
179
|
+
}: React$2.ComponentProps<"span">): react_jsx_runtime11.JSX.Element;
|
|
179
180
|
declare function Input$1({
|
|
180
181
|
className,
|
|
181
182
|
invalid,
|
|
182
183
|
...props
|
|
183
184
|
}: React$2.ComponentProps<"input"> & {
|
|
184
185
|
invalid?: boolean;
|
|
185
|
-
}):
|
|
186
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
186
187
|
//#endregion
|
|
187
188
|
//#region src/hooks/use-async-options.d.ts
|
|
188
189
|
type LoadOptionsData<TData$1> = {
|
|
@@ -246,8 +247,8 @@ type InferOptions<T> = T extends LoadOptionsConfig<infer TData> ? TData[] : neve
|
|
|
246
247
|
declare namespace combobox_d_exports {
|
|
247
248
|
export { BaseCombobox, Chip, ChipsTrigger, Content$4 as Content, Item$7 as Item, List$2 as List, LoadingIndicator, MultiItem$1 as MultiItem, Root$8 as Root, Search, SearchableTrigger, SearchableTriggerDropdownAddon, Trigger$6 as Trigger, Value$2 as Value, useComboboxContext };
|
|
248
249
|
}
|
|
249
|
-
declare const List$2: React$2.ForwardRefExoticComponent<
|
|
250
|
-
type ComboboxContextValues = React$2.ComponentProps<typeof Combobox.Root<any, any
|
|
250
|
+
declare const List$2: React$2.ForwardRefExoticComponent<_base_ui_react0.AutocompleteListProps & React$2.RefAttributes<HTMLDivElement>>;
|
|
251
|
+
type ComboboxContextValues = React$2.ComponentProps<typeof Combobox.Root<any, any>> & {
|
|
251
252
|
chipsTriggerRef: React$2.RefObject<HTMLDivElement | null>;
|
|
252
253
|
searchableTriggerRef: React$2.RefObject<HTMLDivElement | null>;
|
|
253
254
|
invalid?: boolean;
|
|
@@ -257,12 +258,12 @@ type ComboboxContextValues = React$2.ComponentProps<typeof Combobox.Root<any, an
|
|
|
257
258
|
hasMore?: boolean;
|
|
258
259
|
onLoadMore?: () => void;
|
|
259
260
|
};
|
|
260
|
-
declare function Root$8<ItemValue,
|
|
261
|
+
declare function Root$8<ItemValue, Multiple extends boolean | undefined = false>({
|
|
261
262
|
children,
|
|
262
263
|
...props
|
|
263
|
-
}: React$2.ComponentProps<typeof Combobox.Root<ItemValue,
|
|
264
|
+
}: React$2.ComponentProps<typeof Combobox.Root<ItemValue, Multiple>> & Pick<ComboboxContextValues, "isLoading" | "isLoadingMore" | "isError" | "onLoadMore" | "hasMore" | "invalid"> & {
|
|
264
265
|
loadOptions?: LoadOptionsConfig<ItemValue>;
|
|
265
|
-
}):
|
|
266
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
266
267
|
declare function Content$4({
|
|
267
268
|
empty,
|
|
268
269
|
portalProps,
|
|
@@ -276,26 +277,26 @@ declare function Content$4({
|
|
|
276
277
|
positionerProps?: React$2.ComponentProps<typeof Combobox.Positioner>;
|
|
277
278
|
popupProps?: React$2.ComponentProps<typeof Combobox.Popup>;
|
|
278
279
|
widthVariant?: "trigger" | "fit" | "enforced";
|
|
279
|
-
}>):
|
|
280
|
+
}>): react_jsx_runtime11.JSX.Element;
|
|
280
281
|
declare function Item$7({
|
|
281
282
|
className,
|
|
282
283
|
...props
|
|
283
|
-
}: React$2.ComponentProps<typeof Combobox.Item>):
|
|
284
|
+
}: React$2.ComponentProps<typeof Combobox.Item>): react_jsx_runtime11.JSX.Element;
|
|
284
285
|
declare function MultiItem$1({
|
|
285
286
|
className,
|
|
286
287
|
...props
|
|
287
|
-
}: React$2.ComponentProps<typeof Combobox.Item>):
|
|
288
|
+
}: React$2.ComponentProps<typeof Combobox.Item>): react_jsx_runtime11.JSX.Element;
|
|
288
289
|
declare function LoadingIndicator(props: {
|
|
289
290
|
className?: string;
|
|
290
|
-
}):
|
|
291
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
291
292
|
declare function SearchableTrigger(props: {
|
|
292
293
|
placeholder?: string;
|
|
293
294
|
size?: React$2.ComponentProps<typeof Root$9>["size"];
|
|
294
295
|
widthVariant?: React$2.ComponentProps<typeof Root$9>["widthVariant"];
|
|
295
296
|
className?: string;
|
|
296
297
|
addons?: React$2.ReactNode;
|
|
297
|
-
}):
|
|
298
|
-
declare function SearchableTriggerDropdownAddon():
|
|
298
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
299
|
+
declare function SearchableTriggerDropdownAddon(): react_jsx_runtime11.JSX.Element;
|
|
299
300
|
interface TriggerProps$2 extends Combobox.Trigger.Props, VariantProps<typeof triggerVariants> {}
|
|
300
301
|
declare function Trigger$6({
|
|
301
302
|
size,
|
|
@@ -303,7 +304,7 @@ declare function Trigger$6({
|
|
|
303
304
|
children,
|
|
304
305
|
className,
|
|
305
306
|
...props
|
|
306
|
-
}: TriggerProps$2):
|
|
307
|
+
}: TriggerProps$2): react_jsx_runtime11.JSX.Element;
|
|
307
308
|
/**
|
|
308
309
|
* Renders the value, if `value` is a string or an object with `label` property in it,
|
|
309
310
|
* then renders that value else you should provide a render function to render your custom value
|
|
@@ -315,9 +316,9 @@ declare function Value$2({
|
|
|
315
316
|
...props
|
|
316
317
|
}: {
|
|
317
318
|
placeholder?: string;
|
|
318
|
-
children
|
|
319
|
+
children?: React$2.ReactNode | ((selectedValue: any) => React$2.ReactNode);
|
|
319
320
|
className?: string;
|
|
320
|
-
}):
|
|
321
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
321
322
|
declare const chipsTriggerVariants: (props?: ({
|
|
322
323
|
size?: "default" | "sm" | null | undefined;
|
|
323
324
|
widthVariant?: "enforced" | "full" | null | undefined;
|
|
@@ -330,14 +331,14 @@ declare function ChipsTrigger({
|
|
|
330
331
|
children: React$2.ReactNode | ((selectedValue: any) => React$2.ReactNode);
|
|
331
332
|
placeholder?: string;
|
|
332
333
|
className?: string;
|
|
333
|
-
} & VariantProps<typeof chipsTriggerVariants>):
|
|
334
|
+
} & VariantProps<typeof chipsTriggerVariants>): react_jsx_runtime11.JSX.Element;
|
|
334
335
|
declare function Chip(props: React$2.ComponentProps<typeof Combobox.Chip> & {
|
|
335
336
|
key: React$2.Key;
|
|
336
|
-
}):
|
|
337
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
337
338
|
declare function Search({
|
|
338
339
|
placeholder,
|
|
339
340
|
...props
|
|
340
|
-
}: React$2.ComponentProps<typeof Combobox.Input>):
|
|
341
|
+
}: React$2.ComponentProps<typeof Combobox.Input>): react_jsx_runtime11.JSX.Element;
|
|
341
342
|
declare function useComboboxContext(): ComboboxContextValues;
|
|
342
343
|
declare const BaseCombobox: typeof Combobox;
|
|
343
344
|
declare namespace select_d_exports {
|
|
@@ -349,7 +350,7 @@ declare function Root$7<Value$3 = any, Multiple extends boolean | undefined = fa
|
|
|
349
350
|
...props
|
|
350
351
|
}: React$2.ComponentPropsWithoutRef<typeof Select.Root<Value$3, Multiple>> & {
|
|
351
352
|
invalid?: boolean;
|
|
352
|
-
}):
|
|
353
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
353
354
|
declare function Content$3({
|
|
354
355
|
portalProps,
|
|
355
356
|
positionerProps,
|
|
@@ -361,29 +362,29 @@ declare function Content$3({
|
|
|
361
362
|
positionerProps?: React$2.ComponentProps<typeof Select.Positioner>;
|
|
362
363
|
popupProps?: React$2.ComponentProps<typeof Select.Popup>;
|
|
363
364
|
widthVariant?: "trigger" | "fit" | "enforced";
|
|
364
|
-
}>):
|
|
365
|
-
declare const List$1: React$2.ForwardRefExoticComponent<
|
|
365
|
+
}>): react_jsx_runtime11.JSX.Element;
|
|
366
|
+
declare const List$1: React$2.ForwardRefExoticComponent<_base_ui_react0.SelectListProps & React$2.RefAttributes<HTMLDivElement>>;
|
|
366
367
|
declare function Item$6({
|
|
367
368
|
className,
|
|
368
369
|
...props
|
|
369
|
-
}: React$2.ComponentProps<typeof Select.Item>):
|
|
370
|
+
}: React$2.ComponentProps<typeof Select.Item>): react_jsx_runtime11.JSX.Element;
|
|
370
371
|
declare function MultiItem({
|
|
371
372
|
className,
|
|
372
373
|
...props
|
|
373
|
-
}: React$2.ComponentProps<typeof Select.Item>):
|
|
374
|
+
}: React$2.ComponentProps<typeof Select.Item>): react_jsx_runtime11.JSX.Element;
|
|
374
375
|
interface TriggerProps$1 extends Select.Trigger.Props, VariantProps<typeof triggerVariants> {}
|
|
375
376
|
declare function Trigger$5({
|
|
376
377
|
size,
|
|
377
378
|
widthVariant,
|
|
378
379
|
...props
|
|
379
|
-
}: TriggerProps$1):
|
|
380
|
+
}: TriggerProps$1): react_jsx_runtime11.JSX.Element;
|
|
380
381
|
declare function MultiSelectedValue({
|
|
381
382
|
selectedValue,
|
|
382
383
|
maxItems
|
|
383
384
|
}: {
|
|
384
385
|
selectedValue: any;
|
|
385
386
|
maxItems: number;
|
|
386
|
-
}):
|
|
387
|
+
}): react_jsx_runtime11.JSX.Element | null;
|
|
387
388
|
/**
|
|
388
389
|
* Renders the value, if `value` is a string or an object with `label` property in it,
|
|
389
390
|
* then renders that value else you should provide a render function to render your custom value
|
|
@@ -395,20 +396,20 @@ declare function Value$1({
|
|
|
395
396
|
...props
|
|
396
397
|
}: Select.Value.Props & {
|
|
397
398
|
placeholder?: string;
|
|
398
|
-
}):
|
|
399
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
399
400
|
type SelectedValue<TValue> = TValue | null | undefined;
|
|
400
401
|
declare const BaseSelect: typeof Select;
|
|
401
402
|
declare namespace menu_d_exports {
|
|
402
403
|
export { BaseMenu, BaseTrigger, Content$2 as Content, DropdownIndicator, Group$3 as Group, GroupLabel, Item$5 as Item, RadioGroup$1 as RadioGroup, RadioItem, Root$6 as Root, Separator$1 as Separator, Trigger$4 as Trigger };
|
|
403
404
|
}
|
|
404
|
-
declare const Root$6:
|
|
405
|
+
declare const Root$6: typeof Menu.Root;
|
|
405
406
|
declare function Trigger$4({
|
|
406
407
|
className,
|
|
407
408
|
children,
|
|
408
409
|
size,
|
|
409
410
|
widthVariant,
|
|
410
411
|
...props
|
|
411
|
-
}: React$2.ComponentProps<typeof Menu.Trigger> & VariantProps<typeof triggerVariants>):
|
|
412
|
+
}: React$2.ComponentProps<typeof Menu.Trigger> & VariantProps<typeof triggerVariants>): react_jsx_runtime11.JSX.Element;
|
|
412
413
|
declare function Content$2({
|
|
413
414
|
portalProps,
|
|
414
415
|
positionerProps,
|
|
@@ -420,28 +421,28 @@ declare function Content$2({
|
|
|
420
421
|
positionerProps?: React$2.ComponentProps<typeof Menu.Positioner>;
|
|
421
422
|
popupProps?: React$2.ComponentProps<typeof Menu.Popup>;
|
|
422
423
|
widthVariant?: "trigger" | "fit" | "enforced";
|
|
423
|
-
}>):
|
|
424
|
-
declare function DropdownIndicator():
|
|
424
|
+
}>): react_jsx_runtime11.JSX.Element;
|
|
425
|
+
declare function DropdownIndicator(): react_jsx_runtime11.JSX.Element;
|
|
425
426
|
declare function Item$5({
|
|
426
427
|
className,
|
|
427
428
|
children,
|
|
428
429
|
...props
|
|
429
|
-
}: React$2.ComponentProps<typeof Menu.Item>):
|
|
430
|
+
}: React$2.ComponentProps<typeof Menu.Item>): react_jsx_runtime11.JSX.Element;
|
|
430
431
|
declare function Separator$1({
|
|
431
432
|
className,
|
|
432
433
|
...props
|
|
433
|
-
}: React$2.ComponentProps<typeof Menu.Separator>):
|
|
434
|
-
declare const Group$3: React$2.ForwardRefExoticComponent<
|
|
434
|
+
}: React$2.ComponentProps<typeof Menu.Separator>): react_jsx_runtime11.JSX.Element;
|
|
435
|
+
declare const Group$3: React$2.ForwardRefExoticComponent<_base_ui_react0.ContextMenuGroupProps & React$2.RefAttributes<Element>>;
|
|
435
436
|
declare function GroupLabel({
|
|
436
437
|
className,
|
|
437
438
|
...props
|
|
438
|
-
}: React$2.ComponentProps<typeof Menu.GroupLabel>):
|
|
439
|
-
declare const RadioGroup$1: React$2.NamedExoticComponent<
|
|
439
|
+
}: React$2.ComponentProps<typeof Menu.GroupLabel>): react_jsx_runtime11.JSX.Element;
|
|
440
|
+
declare const RadioGroup$1: React$2.NamedExoticComponent<_base_ui_react0.ContextMenuRadioGroupProps & React$2.RefAttributes<Element>>;
|
|
440
441
|
declare function RadioItem({
|
|
441
442
|
className,
|
|
442
443
|
...props
|
|
443
|
-
}: React$2.ComponentProps<typeof Menu.RadioItem>):
|
|
444
|
-
declare const BaseTrigger:
|
|
444
|
+
}: React$2.ComponentProps<typeof Menu.RadioItem>): react_jsx_runtime11.JSX.Element;
|
|
445
|
+
declare const BaseTrigger: Menu.Trigger;
|
|
445
446
|
declare const BaseMenu: typeof Menu;
|
|
446
447
|
declare namespace progress_d_exports {
|
|
447
448
|
export { BaseProgress, Indicator, Label$1 as Label, Root$5 as Root, Track, Value };
|
|
@@ -449,25 +450,25 @@ declare namespace progress_d_exports {
|
|
|
449
450
|
declare const progressTrackVariants: (props?: ({
|
|
450
451
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
451
452
|
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
452
|
-
declare const Root$5: React$2.ForwardRefExoticComponent<
|
|
453
|
+
declare const Root$5: React$2.ForwardRefExoticComponent<_base_ui_react0.ProgressRootProps & React$2.RefAttributes<HTMLDivElement>>;
|
|
453
454
|
declare function Track({
|
|
454
455
|
className,
|
|
455
456
|
size,
|
|
456
457
|
children,
|
|
457
458
|
...props
|
|
458
|
-
}: React$2.ComponentProps<typeof Progress.Track> & VariantProps<typeof progressTrackVariants>):
|
|
459
|
+
}: React$2.ComponentProps<typeof Progress.Track> & VariantProps<typeof progressTrackVariants>): react_jsx_runtime11.JSX.Element;
|
|
459
460
|
declare function Indicator({
|
|
460
461
|
className,
|
|
461
462
|
...props
|
|
462
|
-
}: React$2.ComponentProps<typeof Progress.Indicator>):
|
|
463
|
+
}: React$2.ComponentProps<typeof Progress.Indicator>): react_jsx_runtime11.JSX.Element;
|
|
463
464
|
declare function Label$1({
|
|
464
465
|
className,
|
|
465
466
|
...props
|
|
466
|
-
}: React$2.ComponentProps<typeof Progress.Label>):
|
|
467
|
+
}: React$2.ComponentProps<typeof Progress.Label>): react_jsx_runtime11.JSX.Element;
|
|
467
468
|
declare function Value({
|
|
468
469
|
className,
|
|
469
470
|
...props
|
|
470
|
-
}: React$2.ComponentProps<typeof Progress.Value>):
|
|
471
|
+
}: React$2.ComponentProps<typeof Progress.Value>): react_jsx_runtime11.JSX.Element;
|
|
471
472
|
declare const BaseProgress: typeof Progress;
|
|
472
473
|
declare namespace segmented_control_d_exports {
|
|
473
474
|
export { Item$4 as Item, Root$4 as Root };
|
|
@@ -479,7 +480,7 @@ declare const segmentedControlItemVariants: (props?: ({
|
|
|
479
480
|
declare function Root$4({
|
|
480
481
|
className,
|
|
481
482
|
...props
|
|
482
|
-
}: React$2.ComponentProps<typeof RadioGroup>):
|
|
483
|
+
}: React$2.ComponentProps<typeof RadioGroup>): react_jsx_runtime11.JSX.Element;
|
|
483
484
|
declare function Item$4({
|
|
484
485
|
children,
|
|
485
486
|
className,
|
|
@@ -488,7 +489,7 @@ declare function Item$4({
|
|
|
488
489
|
...props
|
|
489
490
|
}: React$2.ComponentProps<typeof Radio.Root> & VariantProps<typeof segmentedControlItemVariants> & {
|
|
490
491
|
children: React$2.ReactNode;
|
|
491
|
-
}):
|
|
492
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
492
493
|
declare namespace tabs_d_exports {
|
|
493
494
|
export { Content$1 as Content, List, Root$3 as Root, Trigger$3 as Trigger };
|
|
494
495
|
}
|
|
@@ -499,31 +500,31 @@ declare function Root$3({
|
|
|
499
500
|
...props
|
|
500
501
|
}: React$2.ComponentProps<typeof Tabs.Root> & {
|
|
501
502
|
variant?: TabsVariant;
|
|
502
|
-
}):
|
|
503
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
503
504
|
declare function List({
|
|
504
505
|
className,
|
|
505
506
|
children,
|
|
506
507
|
...props
|
|
507
|
-
}: React$2.ComponentProps<typeof Tabs.List>):
|
|
508
|
+
}: React$2.ComponentProps<typeof Tabs.List>): react_jsx_runtime11.JSX.Element;
|
|
508
509
|
declare function Trigger$3({
|
|
509
510
|
className,
|
|
510
511
|
...props
|
|
511
|
-
}: React$2.ComponentProps<typeof Tabs.Tab>):
|
|
512
|
+
}: React$2.ComponentProps<typeof Tabs.Tab>): react_jsx_runtime11.JSX.Element;
|
|
512
513
|
declare function Content$1({
|
|
513
514
|
className,
|
|
514
515
|
...props
|
|
515
|
-
}: React$2.ComponentProps<typeof Tabs.Panel>):
|
|
516
|
+
}: React$2.ComponentProps<typeof Tabs.Panel>): react_jsx_runtime11.JSX.Element;
|
|
516
517
|
declare namespace tooltip_d_exports {
|
|
517
518
|
export { BaseProvider, BaseRoot, Content, Root$2 as Root, Trigger$2 as Trigger };
|
|
518
519
|
}
|
|
519
520
|
declare function Root$2({
|
|
520
521
|
...props
|
|
521
|
-
}: React$2.ComponentProps<typeof Tooltip.Root>):
|
|
522
|
+
}: React$2.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime11.JSX.Element;
|
|
522
523
|
declare const BaseRoot: typeof Tooltip.Root;
|
|
523
|
-
declare const BaseProvider: React$2.FC<
|
|
524
|
+
declare const BaseProvider: React$2.FC<_base_ui_react0.TooltipProviderProps>;
|
|
524
525
|
declare function Trigger$2({
|
|
525
526
|
...props
|
|
526
|
-
}: React$2.ComponentProps<typeof Tooltip.Trigger>):
|
|
527
|
+
}: React$2.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime11.JSX.Element;
|
|
527
528
|
declare function Content({
|
|
528
529
|
className,
|
|
529
530
|
align,
|
|
@@ -535,7 +536,7 @@ declare function Content({
|
|
|
535
536
|
align?: Tooltip.Positioner.Props["align"];
|
|
536
537
|
side?: Tooltip.Positioner.Props["side"];
|
|
537
538
|
sideOffset?: Tooltip.Positioner.Props["sideOffset"];
|
|
538
|
-
}):
|
|
539
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
539
540
|
//#endregion
|
|
540
541
|
//#region src/components/checkbox.d.ts
|
|
541
542
|
declare const checkboxVariants: (props?: ({
|
|
@@ -546,14 +547,14 @@ interface CheckboxProps extends React.ComponentProps<typeof Checkbox$1.Root>, Va
|
|
|
546
547
|
declare function Checkbox({
|
|
547
548
|
className,
|
|
548
549
|
...props
|
|
549
|
-
}: CheckboxProps):
|
|
550
|
+
}: CheckboxProps): react_jsx_runtime11.JSX.Element;
|
|
550
551
|
declare namespace block_checkbox_group_d_exports {
|
|
551
552
|
export { Description$1 as Description, Group$2 as Group, Header$1 as Header, Item$3 as Item, Title$1 as Title };
|
|
552
553
|
}
|
|
553
554
|
declare function Group$2({
|
|
554
555
|
className,
|
|
555
556
|
...props
|
|
556
|
-
}: React.ComponentProps<typeof CheckboxGroup>):
|
|
557
|
+
}: React.ComponentProps<typeof CheckboxGroup>): react_jsx_runtime11.JSX.Element;
|
|
557
558
|
declare function Item$3({
|
|
558
559
|
className,
|
|
559
560
|
invalid,
|
|
@@ -562,23 +563,23 @@ declare function Item$3({
|
|
|
562
563
|
}: React.PropsWithChildren<React.ComponentProps<typeof Checkbox>> & {
|
|
563
564
|
className?: string;
|
|
564
565
|
invalid?: boolean;
|
|
565
|
-
}):
|
|
566
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
566
567
|
declare function Header$1(props: React.PropsWithChildren<{
|
|
567
568
|
className?: string;
|
|
568
|
-
}>):
|
|
569
|
+
}>): react_jsx_runtime11.JSX.Element;
|
|
569
570
|
declare function Title$1(props: React.PropsWithChildren<{
|
|
570
571
|
className?: string;
|
|
571
|
-
}>):
|
|
572
|
+
}>): react_jsx_runtime11.JSX.Element;
|
|
572
573
|
declare function Description$1(props: React.PropsWithChildren<{
|
|
573
574
|
className?: string;
|
|
574
|
-
}>):
|
|
575
|
+
}>): react_jsx_runtime11.JSX.Element;
|
|
575
576
|
declare namespace radio_group_d_exports {
|
|
576
577
|
export { Group$1 as Group, Item$1 as Item };
|
|
577
578
|
}
|
|
578
579
|
declare function Group$1({
|
|
579
580
|
className,
|
|
580
581
|
...props
|
|
581
|
-
}: React$2.ComponentProps<typeof RadioGroup>):
|
|
582
|
+
}: React$2.ComponentProps<typeof RadioGroup>): react_jsx_runtime11.JSX.Element;
|
|
582
583
|
declare const radioVariants: (props?: ({
|
|
583
584
|
variant?: "default" | null | undefined;
|
|
584
585
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
@@ -589,14 +590,14 @@ declare function Item$1({
|
|
|
589
590
|
variant,
|
|
590
591
|
size,
|
|
591
592
|
...props
|
|
592
|
-
}: RadioGroupItemProps):
|
|
593
|
+
}: RadioGroupItemProps): react_jsx_runtime11.JSX.Element;
|
|
593
594
|
declare namespace block_radio_group_d_exports {
|
|
594
595
|
export { Description, Group, Header, Item$2 as Item, Title };
|
|
595
596
|
}
|
|
596
597
|
declare function Group({
|
|
597
598
|
className,
|
|
598
599
|
...props
|
|
599
|
-
}: React.ComponentProps<typeof RadioGroup>):
|
|
600
|
+
}: React.ComponentProps<typeof RadioGroup>): react_jsx_runtime11.JSX.Element;
|
|
600
601
|
declare function Item$2({
|
|
601
602
|
className,
|
|
602
603
|
invalid,
|
|
@@ -605,30 +606,30 @@ declare function Item$2({
|
|
|
605
606
|
}: React.PropsWithChildren<React.ComponentProps<typeof Item$1>> & {
|
|
606
607
|
className?: string;
|
|
607
608
|
invalid?: boolean;
|
|
608
|
-
}):
|
|
609
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
609
610
|
declare function Header(props: React.PropsWithChildren<{
|
|
610
611
|
className?: string;
|
|
611
|
-
}>):
|
|
612
|
+
}>): react_jsx_runtime11.JSX.Element;
|
|
612
613
|
declare function Title(props: React.PropsWithChildren<{
|
|
613
614
|
className?: string;
|
|
614
|
-
}>):
|
|
615
|
+
}>): react_jsx_runtime11.JSX.Element;
|
|
615
616
|
declare function Description(props: React.PropsWithChildren<{
|
|
616
617
|
className?: string;
|
|
617
|
-
}>):
|
|
618
|
+
}>): react_jsx_runtime11.JSX.Element;
|
|
618
619
|
declare namespace breadcrumbs_d_exports {
|
|
619
620
|
export { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
620
621
|
}
|
|
621
622
|
declare function Breadcrumb({
|
|
622
623
|
...props
|
|
623
|
-
}: React$2.ComponentProps<"nav">):
|
|
624
|
+
}: React$2.ComponentProps<"nav">): react_jsx_runtime11.JSX.Element;
|
|
624
625
|
declare function BreadcrumbList({
|
|
625
626
|
className,
|
|
626
627
|
...props
|
|
627
|
-
}: React$2.ComponentProps<"ol">):
|
|
628
|
+
}: React$2.ComponentProps<"ol">): react_jsx_runtime11.JSX.Element;
|
|
628
629
|
declare function BreadcrumbItem({
|
|
629
630
|
className,
|
|
630
631
|
...props
|
|
631
|
-
}: React$2.ComponentProps<"li">):
|
|
632
|
+
}: React$2.ComponentProps<"li">): react_jsx_runtime11.JSX.Element;
|
|
632
633
|
declare function BreadcrumbLink({
|
|
633
634
|
className,
|
|
634
635
|
render,
|
|
@@ -637,25 +638,25 @@ declare function BreadcrumbLink({
|
|
|
637
638
|
declare function BreadcrumbPage({
|
|
638
639
|
className,
|
|
639
640
|
...props
|
|
640
|
-
}: React$2.ComponentProps<"span">):
|
|
641
|
+
}: React$2.ComponentProps<"span">): react_jsx_runtime11.JSX.Element;
|
|
641
642
|
declare function BreadcrumbSeparator({
|
|
642
643
|
children,
|
|
643
644
|
className,
|
|
644
645
|
...props
|
|
645
|
-
}: React$2.ComponentProps<"li">):
|
|
646
|
+
}: React$2.ComponentProps<"li">): react_jsx_runtime11.JSX.Element;
|
|
646
647
|
declare namespace collapsible_d_exports {
|
|
647
648
|
export { Panel, Root$1 as Root, ToggleIcon, Trigger$1 as Trigger };
|
|
648
649
|
}
|
|
649
650
|
declare function Root$1({
|
|
650
651
|
className,
|
|
651
652
|
...props
|
|
652
|
-
}: React$2.ComponentProps<typeof Collapsible.Root>):
|
|
653
|
-
declare function Trigger$1(props: React$2.ComponentProps<typeof Collapsible.Trigger>):
|
|
653
|
+
}: React$2.ComponentProps<typeof Collapsible.Root>): react_jsx_runtime11.JSX.Element;
|
|
654
|
+
declare function Trigger$1(props: React$2.ComponentProps<typeof Collapsible.Trigger>): react_jsx_runtime11.JSX.Element;
|
|
654
655
|
declare function Panel({
|
|
655
656
|
className,
|
|
656
657
|
...props
|
|
657
|
-
}: React$2.ComponentProps<typeof Collapsible.Panel>):
|
|
658
|
-
declare function ToggleIcon():
|
|
658
|
+
}: React$2.ComponentProps<typeof Collapsible.Panel>): react_jsx_runtime11.JSX.Element;
|
|
659
|
+
declare function ToggleIcon(): react_jsx_runtime11.JSX.Element;
|
|
659
660
|
//#endregion
|
|
660
661
|
//#region src/components/calendar.d.ts
|
|
661
662
|
declare function Calendar({
|
|
@@ -666,13 +667,20 @@ declare function Calendar({
|
|
|
666
667
|
formatters,
|
|
667
668
|
components,
|
|
668
669
|
...props
|
|
669
|
-
}: DayPickerProps):
|
|
670
|
+
}: DayPickerProps): react_jsx_runtime11.JSX.Element;
|
|
671
|
+
//#endregion
|
|
672
|
+
//#region src/providers/px-ui-provider.d.ts
|
|
673
|
+
declare function PXUIProvider(props: React.PropsWithChildren): react_jsx_runtime11.JSX.Element;
|
|
674
|
+
//#endregion
|
|
675
|
+
//#region src/components/toast.d.ts
|
|
676
|
+
declare const toast: _base_ui_react0.ToastManager;
|
|
677
|
+
declare const anchoredToast: _base_ui_react0.ToastManager;
|
|
670
678
|
//#endregion
|
|
671
679
|
//#region src/components/label.d.ts
|
|
672
680
|
declare function Label({
|
|
673
681
|
className,
|
|
674
682
|
...props
|
|
675
|
-
}: React.ComponentProps<"label">):
|
|
683
|
+
}: React.ComponentProps<"label">): react_jsx_runtime11.JSX.Element;
|
|
676
684
|
//#endregion
|
|
677
685
|
//#region src/components/input.d.ts
|
|
678
686
|
declare const inputVariants: (props?: ({
|
|
@@ -688,7 +696,7 @@ declare function Input({
|
|
|
688
696
|
invalid,
|
|
689
697
|
widthVariant,
|
|
690
698
|
...props
|
|
691
|
-
}: InputProps):
|
|
699
|
+
}: InputProps): react_jsx_runtime11.JSX.Element;
|
|
692
700
|
//#endregion
|
|
693
701
|
//#region src/components/textarea.d.ts
|
|
694
702
|
declare const textareaVariants: (props?: ({
|
|
@@ -704,7 +712,7 @@ declare function Textarea({
|
|
|
704
712
|
invalid,
|
|
705
713
|
widthVariant,
|
|
706
714
|
...props
|
|
707
|
-
}: TextareaProps):
|
|
715
|
+
}: TextareaProps): react_jsx_runtime11.JSX.Element;
|
|
708
716
|
//#endregion
|
|
709
717
|
//#region src/components/avatar.d.ts
|
|
710
718
|
type AvatarVariant = "squared" | "rounded";
|
|
@@ -717,11 +725,11 @@ interface AvatarProps {
|
|
|
717
725
|
children?: React.ReactNode;
|
|
718
726
|
hideTooltip?: boolean;
|
|
719
727
|
}
|
|
720
|
-
declare function Avatar(props: AvatarProps):
|
|
728
|
+
declare function Avatar(props: AvatarProps): react_jsx_runtime11.JSX.Element;
|
|
721
729
|
type AvatarImplProps = Omit<AvatarProps, "hideTooltip"> & {
|
|
722
730
|
avatarRootProps?: React.ComponentProps<typeof Avatar$1.Root>;
|
|
723
731
|
};
|
|
724
|
-
declare function AvatarImpl(props: AvatarImplProps):
|
|
732
|
+
declare function AvatarImpl(props: AvatarImplProps): react_jsx_runtime11.JSX.Element;
|
|
725
733
|
//#endregion
|
|
726
734
|
//#region src/components/avatar-group.d.ts
|
|
727
735
|
interface AvatarGroupProps {
|
|
@@ -733,7 +741,7 @@ declare function AvatarGroup({
|
|
|
733
741
|
max,
|
|
734
742
|
avatars,
|
|
735
743
|
className
|
|
736
|
-
}: AvatarGroupProps):
|
|
744
|
+
}: AvatarGroupProps): react_jsx_runtime11.JSX.Element;
|
|
737
745
|
//#endregion
|
|
738
746
|
//#region src/components/spinner.d.ts
|
|
739
747
|
interface SpinnerProps {
|
|
@@ -743,7 +751,7 @@ interface SpinnerProps {
|
|
|
743
751
|
declare function Spinner({
|
|
744
752
|
size,
|
|
745
753
|
className
|
|
746
|
-
}: SpinnerProps):
|
|
754
|
+
}: SpinnerProps): react_jsx_runtime11.JSX.Element;
|
|
747
755
|
//#endregion
|
|
748
756
|
//#region src/components/switch.d.ts
|
|
749
757
|
declare function Switch({
|
|
@@ -751,8 +759,8 @@ declare function Switch({
|
|
|
751
759
|
size,
|
|
752
760
|
...props
|
|
753
761
|
}: React$2.ComponentProps<typeof Switch$1.Root> & {
|
|
754
|
-
size?: "sm" | "lg";
|
|
755
|
-
}):
|
|
762
|
+
size?: "sm" | "lg" | "default";
|
|
763
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
756
764
|
//#endregion
|
|
757
765
|
//#region src/components/separator.d.ts
|
|
758
766
|
declare function Separator({
|
|
@@ -763,7 +771,7 @@ declare function Separator({
|
|
|
763
771
|
}: React$2.ComponentProps<"div"> & {
|
|
764
772
|
orientation: "horizontal" | "vertical";
|
|
765
773
|
decorative?: boolean;
|
|
766
|
-
}):
|
|
774
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
767
775
|
declare namespace Separator {
|
|
768
776
|
var displayName: string;
|
|
769
777
|
}
|
|
@@ -793,7 +801,7 @@ declare function DatePicker({
|
|
|
793
801
|
popoverRootProps,
|
|
794
802
|
popoverContentProps,
|
|
795
803
|
...calendarProps
|
|
796
|
-
}: DatePickerProps):
|
|
804
|
+
}: DatePickerProps): react_jsx_runtime11.JSX.Element;
|
|
797
805
|
//#endregion
|
|
798
806
|
//#region src/hooks/use-file-upload.d.ts
|
|
799
807
|
type FileMetadata = {
|
|
@@ -985,7 +993,7 @@ declare function Root({
|
|
|
985
993
|
multiple,
|
|
986
994
|
disabled,
|
|
987
995
|
className
|
|
988
|
-
}: RootProps):
|
|
996
|
+
}: RootProps): react_jsx_runtime11.JSX.Element;
|
|
989
997
|
declare const dropzoneVariants: (props?: ({
|
|
990
998
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
991
999
|
isDragActive?: boolean | null | undefined;
|
|
@@ -1007,7 +1015,7 @@ declare function Dropzone({
|
|
|
1007
1015
|
browseText,
|
|
1008
1016
|
hideDefaultContent,
|
|
1009
1017
|
...props
|
|
1010
|
-
}: DropzoneProps):
|
|
1018
|
+
}: DropzoneProps): react_jsx_runtime11.JSX.Element;
|
|
1011
1019
|
interface TriggerProps extends React$2.ComponentProps<typeof Button> {
|
|
1012
1020
|
/** Text to show while uploading */
|
|
1013
1021
|
uploadingText?: string;
|
|
@@ -1019,7 +1027,7 @@ declare function Trigger({
|
|
|
1019
1027
|
uploadingText,
|
|
1020
1028
|
showUploadingState,
|
|
1021
1029
|
...props
|
|
1022
|
-
}: TriggerProps):
|
|
1030
|
+
}: TriggerProps): react_jsx_runtime11.JSX.Element;
|
|
1023
1031
|
interface ItemListProps extends Omit<React$2.ComponentProps<"div">, "children"> {
|
|
1024
1032
|
children?: React$2.ReactNode | ((files: FileUploadFile[]) => React$2.ReactNode);
|
|
1025
1033
|
}
|
|
@@ -1027,7 +1035,7 @@ declare function ItemList({
|
|
|
1027
1035
|
className,
|
|
1028
1036
|
children,
|
|
1029
1037
|
...props
|
|
1030
|
-
}: ItemListProps):
|
|
1038
|
+
}: ItemListProps): react_jsx_runtime11.JSX.Element | null;
|
|
1031
1039
|
interface ItemProps extends React$2.ComponentProps<"div"> {
|
|
1032
1040
|
file: FileUploadFile;
|
|
1033
1041
|
/** Apply error styling based on file status */
|
|
@@ -1039,7 +1047,7 @@ declare function Item({
|
|
|
1039
1047
|
children,
|
|
1040
1048
|
statusStyles,
|
|
1041
1049
|
...props
|
|
1042
|
-
}: ItemProps):
|
|
1050
|
+
}: ItemProps): react_jsx_runtime11.JSX.Element;
|
|
1043
1051
|
interface ItemPreviewProps extends React$2.ComponentProps<"div"> {
|
|
1044
1052
|
/** Fallback icon when no preview is available */
|
|
1045
1053
|
fallback?: React$2.ReactNode;
|
|
@@ -1048,28 +1056,28 @@ declare function ItemPreview({
|
|
|
1048
1056
|
className,
|
|
1049
1057
|
fallback,
|
|
1050
1058
|
...props
|
|
1051
|
-
}: ItemPreviewProps):
|
|
1059
|
+
}: ItemPreviewProps): react_jsx_runtime11.JSX.Element;
|
|
1052
1060
|
interface ItemNameProps extends React$2.ComponentProps<"span"> {}
|
|
1053
1061
|
declare function ItemName({
|
|
1054
1062
|
className,
|
|
1055
1063
|
...props
|
|
1056
|
-
}: ItemNameProps):
|
|
1064
|
+
}: ItemNameProps): react_jsx_runtime11.JSX.Element;
|
|
1057
1065
|
interface ItemSizeProps extends React$2.ComponentProps<"span"> {}
|
|
1058
1066
|
declare function ItemSize({
|
|
1059
1067
|
className,
|
|
1060
1068
|
...props
|
|
1061
|
-
}: ItemSizeProps):
|
|
1069
|
+
}: ItemSizeProps): react_jsx_runtime11.JSX.Element;
|
|
1062
1070
|
interface ItemRemoveProps extends React$2.ComponentProps<typeof Button> {}
|
|
1063
1071
|
declare function ItemRemove({
|
|
1064
1072
|
className,
|
|
1065
1073
|
children,
|
|
1066
1074
|
...props
|
|
1067
|
-
}: ItemRemoveProps):
|
|
1075
|
+
}: ItemRemoveProps): react_jsx_runtime11.JSX.Element;
|
|
1068
1076
|
interface ItemProgressProps extends React$2.ComponentProps<"div"> {}
|
|
1069
1077
|
declare function ItemProgress({
|
|
1070
1078
|
className,
|
|
1071
1079
|
...props
|
|
1072
|
-
}: ItemProgressProps):
|
|
1080
|
+
}: ItemProgressProps): react_jsx_runtime11.JSX.Element | null;
|
|
1073
1081
|
interface ItemStatusProps extends React$2.ComponentProps<"div"> {
|
|
1074
1082
|
/** Custom success icon */
|
|
1075
1083
|
successIcon?: React$2.ReactNode;
|
|
@@ -1084,23 +1092,23 @@ declare function ItemStatus({
|
|
|
1084
1092
|
uploadingContent,
|
|
1085
1093
|
errorContent,
|
|
1086
1094
|
...props
|
|
1087
|
-
}: ItemStatusProps):
|
|
1095
|
+
}: ItemStatusProps): react_jsx_runtime11.JSX.Element | null;
|
|
1088
1096
|
interface ItemErrorProps extends React$2.ComponentProps<"span"> {}
|
|
1089
1097
|
declare function ItemError({
|
|
1090
1098
|
className,
|
|
1091
1099
|
...props
|
|
1092
|
-
}: ItemErrorProps):
|
|
1100
|
+
}: ItemErrorProps): react_jsx_runtime11.JSX.Element | null;
|
|
1093
1101
|
interface ItemRetryProps extends React$2.ComponentProps<typeof Button> {}
|
|
1094
1102
|
declare function ItemRetry({
|
|
1095
1103
|
className,
|
|
1096
1104
|
children,
|
|
1097
1105
|
...props
|
|
1098
|
-
}: ItemRetryProps):
|
|
1106
|
+
}: ItemRetryProps): react_jsx_runtime11.JSX.Element | null;
|
|
1099
1107
|
interface ClearButtonProps extends React$2.ComponentProps<typeof Button> {}
|
|
1100
1108
|
declare function ClearButton({
|
|
1101
1109
|
children,
|
|
1102
1110
|
...props
|
|
1103
|
-
}: ClearButtonProps):
|
|
1111
|
+
}: ClearButtonProps): react_jsx_runtime11.JSX.Element | null;
|
|
1104
1112
|
interface ImageGridProps extends Omit<React$2.ComponentProps<"div">, "children"> {
|
|
1105
1113
|
children?: React$2.ReactNode | ((files: FileUploadFile[]) => React$2.ReactNode);
|
|
1106
1114
|
}
|
|
@@ -1108,7 +1116,7 @@ declare function ImageGrid({
|
|
|
1108
1116
|
className,
|
|
1109
1117
|
children,
|
|
1110
1118
|
...props
|
|
1111
|
-
}: ImageGridProps):
|
|
1119
|
+
}: ImageGridProps): react_jsx_runtime11.JSX.Element | null;
|
|
1112
1120
|
interface ImageGridItemProps extends React$2.ComponentProps<"div"> {
|
|
1113
1121
|
file: FileUploadFile;
|
|
1114
1122
|
/** Show status overlays (uploading/error) */
|
|
@@ -1119,7 +1127,7 @@ declare function ImageGridItem({
|
|
|
1119
1127
|
className,
|
|
1120
1128
|
showStatusOverlay,
|
|
1121
1129
|
...props
|
|
1122
|
-
}: ImageGridItemProps):
|
|
1130
|
+
}: ImageGridItemProps): react_jsx_runtime11.JSX.Element;
|
|
1123
1131
|
declare const FileUpload: {
|
|
1124
1132
|
Root: typeof Root;
|
|
1125
1133
|
Dropzone: typeof Dropzone;
|
|
@@ -1140,10 +1148,10 @@ declare const FileUpload: {
|
|
|
1140
1148
|
};
|
|
1141
1149
|
//#endregion
|
|
1142
1150
|
//#region src/icons/file-icon.d.ts
|
|
1143
|
-
declare function FileIcon(props: React.ComponentProps<"svg">):
|
|
1151
|
+
declare function FileIcon(props: React.ComponentProps<"svg">): react_jsx_runtime11.JSX.Element;
|
|
1144
1152
|
//#endregion
|
|
1145
1153
|
//#region src/icons/upload-icon.d.ts
|
|
1146
|
-
declare function UploadIcon(props: React.ComponentProps<"svg">):
|
|
1154
|
+
declare function UploadIcon(props: React.ComponentProps<"svg">): react_jsx_runtime11.JSX.Element;
|
|
1147
1155
|
//#endregion
|
|
1148
1156
|
//#region src/hooks/use-intersection-observer.d.ts
|
|
1149
1157
|
interface UseIntersectionObserverOptions {
|
|
@@ -1162,11 +1170,14 @@ type UseInfiniteScrollHookArgs = Pick<UseIntersectionObserverOptions, "rootMargi
|
|
|
1162
1170
|
disabled?: boolean;
|
|
1163
1171
|
};
|
|
1164
1172
|
//#endregion
|
|
1173
|
+
//#region src/hooks/use-mobile.d.ts
|
|
1174
|
+
declare function useIsMobile(): boolean;
|
|
1175
|
+
//#endregion
|
|
1165
1176
|
//#region src/utils/classnames.d.ts
|
|
1166
1177
|
declare function cn(...inputs: ArgumentArray): string;
|
|
1167
1178
|
declare namespace index_d_exports {
|
|
1168
|
-
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, 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, buttonVariants, cn, defineLoadOptions, formatBytes, useAsyncOptions, useFileUpload, useIntersectionObserver };
|
|
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 };
|
|
1169
1180
|
}
|
|
1170
1181
|
//#endregion
|
|
1171
|
-
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, 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, buttonVariants, cn, defineLoadOptions, formatBytes, useAsyncOptions, useFileUpload, useIntersectionObserver };
|
|
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 };
|
|
1172
1183
|
//# sourceMappingURL=index.d.ts.map
|