@px-ui/core 2.1.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 +194 -170
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +431 -114
- package/dist/index.js.map +1 -1
- package/package.json +8 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,100 +1,101 @@
|
|
|
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
|
|
|
28
29
|
//#region src/components/dialog.d.ts
|
|
29
30
|
declare namespace dialog_d_exports {
|
|
30
|
-
export { Close$1 as Close, Content$6 as Content, Description$3 as Description, Footer$1 as Footer, Header$3 as Header, HeaderContent, HeaderIcon, Overlay, Portal, Root$
|
|
31
|
+
export { Close$1 as Close, Content$6 as Content, Description$3 as Description, Footer$1 as Footer, Header$3 as Header, HeaderContent, HeaderIcon, Overlay, Portal, Root$11 as Root, Title$3 as Title, Trigger$8 as Trigger };
|
|
31
32
|
}
|
|
32
|
-
declare function Root$
|
|
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
|
-
declare function Trigger$
|
|
38
|
+
}: React$2.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime11.JSX.Element;
|
|
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
|
-
export { Close, CloseIconButton, Content$5 as Content, Description$2 as Description, Footer, Header$2 as Header, Root$
|
|
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$
|
|
83
|
-
declare function 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,15 +137,15 @@ 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
|
-
export { Addon, Button$1 as Button, Input$1 as Input, Root$
|
|
142
|
+
export { Addon, Button$1 as Button, Input$1 as Input, Root$9 as Root, Text };
|
|
142
143
|
}
|
|
143
144
|
declare const inputGroupVariants: (props?: ({
|
|
144
145
|
size?: "default" | "sm" | null | undefined;
|
|
145
146
|
widthVariant?: "enforced" | "full" | "fit" | null | undefined;
|
|
146
147
|
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
147
|
-
declare function Root$
|
|
148
|
+
declare function Root$9({
|
|
148
149
|
className,
|
|
149
150
|
size,
|
|
150
151
|
disabled,
|
|
@@ -152,7 +153,7 @@ declare function Root$8({
|
|
|
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> = {
|
|
@@ -244,10 +245,10 @@ declare function defineLoadOptions<TData$1 = any>(loadOptions: LoadOptionsConfig
|
|
|
244
245
|
type InferOption<T> = T extends LoadOptionsConfig<infer TData> ? TData : never;
|
|
245
246
|
type InferOptions<T> = T extends LoadOptionsConfig<infer TData> ? TData[] : never;
|
|
246
247
|
declare namespace combobox_d_exports {
|
|
247
|
-
export { BaseCombobox, Chip, ChipsTrigger, Content$4 as Content, Item$7 as Item, List$2 as List, LoadingIndicator, MultiItem$1 as MultiItem, Root$
|
|
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$
|
|
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,34 +277,34 @@ 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
|
-
size?: React$2.ComponentProps<typeof Root$
|
|
294
|
-
widthVariant?: React$2.ComponentProps<typeof Root$
|
|
294
|
+
size?: React$2.ComponentProps<typeof Root$9>["size"];
|
|
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
|
-
declare function Trigger$
|
|
301
|
+
declare function Trigger$6({
|
|
301
302
|
size,
|
|
302
303
|
widthVariant,
|
|
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,26 +331,26 @@ 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 {
|
|
344
|
-
export { BaseSelect, Content$3 as Content, Item$6 as Item, List$1 as List, MultiItem, MultiSelectedValue, Root$
|
|
345
|
+
export { BaseSelect, Content$3 as Content, Item$6 as Item, List$1 as List, MultiItem, MultiSelectedValue, Root$7 as Root, SelectedValue, Trigger$5 as Trigger, TriggerProps$1 as TriggerProps, Value$1 as Value };
|
|
345
346
|
}
|
|
346
|
-
declare function Root$
|
|
347
|
+
declare function Root$7<Value$3 = any, Multiple extends boolean | undefined = false>({
|
|
347
348
|
children,
|
|
348
349
|
invalid,
|
|
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
|
-
declare function Trigger$
|
|
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
|
-
export { BaseMenu, BaseTrigger, Content$2 as Content, DropdownIndicator, Group$3 as Group, GroupLabel, Item$5 as Item, RadioGroup$1 as RadioGroup, RadioItem, Root$
|
|
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$
|
|
405
|
-
declare function Trigger$
|
|
405
|
+
declare const Root$6: typeof Menu.Root;
|
|
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,66 +421,66 @@ 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
|
-
export { BaseProgress, Indicator, Label$1 as Label, Root$
|
|
448
|
+
export { BaseProgress, Indicator, Label$1 as Label, Root$5 as Root, Track, Value };
|
|
448
449
|
}
|
|
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$
|
|
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
|
-
export { Item$4 as Item, Root$
|
|
474
|
+
export { Item$4 as Item, Root$4 as Root };
|
|
474
475
|
}
|
|
475
476
|
declare const segmentedControlItemVariants: (props?: ({
|
|
476
477
|
variant?: "default" | null | undefined;
|
|
477
478
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
478
479
|
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
479
|
-
declare function Root$
|
|
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,42 +489,42 @@ 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
|
-
export { Content$1 as Content, List, Root$
|
|
494
|
+
export { Content$1 as Content, List, Root$3 as Root, Trigger$3 as Trigger };
|
|
494
495
|
}
|
|
495
496
|
type TabsVariant = "underline";
|
|
496
|
-
declare function Root$
|
|
497
|
+
declare function Root$3({
|
|
497
498
|
variant,
|
|
498
499
|
className,
|
|
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
|
-
declare function Trigger$
|
|
508
|
+
}: React$2.ComponentProps<typeof Tabs.List>): react_jsx_runtime11.JSX.Element;
|
|
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
|
-
export { BaseProvider, BaseRoot, Content, Root$
|
|
518
|
+
export { BaseProvider, BaseRoot, Content, Root$2 as Root, Trigger$2 as Trigger };
|
|
518
519
|
}
|
|
519
|
-
declare function Root$
|
|
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 function Trigger$
|
|
524
|
+
declare const BaseProvider: React$2.FC<_base_ui_react0.TooltipProviderProps>;
|
|
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,12 +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;
|
|
647
|
+
declare namespace collapsible_d_exports {
|
|
648
|
+
export { Panel, Root$1 as Root, ToggleIcon, Trigger$1 as Trigger };
|
|
649
|
+
}
|
|
650
|
+
declare function Root$1({
|
|
651
|
+
className,
|
|
652
|
+
...props
|
|
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;
|
|
655
|
+
declare function Panel({
|
|
656
|
+
className,
|
|
657
|
+
...props
|
|
658
|
+
}: React$2.ComponentProps<typeof Collapsible.Panel>): react_jsx_runtime11.JSX.Element;
|
|
659
|
+
declare function ToggleIcon(): react_jsx_runtime11.JSX.Element;
|
|
646
660
|
//#endregion
|
|
647
661
|
//#region src/components/calendar.d.ts
|
|
648
662
|
declare function Calendar({
|
|
@@ -653,13 +667,20 @@ declare function Calendar({
|
|
|
653
667
|
formatters,
|
|
654
668
|
components,
|
|
655
669
|
...props
|
|
656
|
-
}: 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;
|
|
657
678
|
//#endregion
|
|
658
679
|
//#region src/components/label.d.ts
|
|
659
680
|
declare function Label({
|
|
660
681
|
className,
|
|
661
682
|
...props
|
|
662
|
-
}: React.ComponentProps<"label">):
|
|
683
|
+
}: React.ComponentProps<"label">): react_jsx_runtime11.JSX.Element;
|
|
663
684
|
//#endregion
|
|
664
685
|
//#region src/components/input.d.ts
|
|
665
686
|
declare const inputVariants: (props?: ({
|
|
@@ -675,7 +696,7 @@ declare function Input({
|
|
|
675
696
|
invalid,
|
|
676
697
|
widthVariant,
|
|
677
698
|
...props
|
|
678
|
-
}: InputProps):
|
|
699
|
+
}: InputProps): react_jsx_runtime11.JSX.Element;
|
|
679
700
|
//#endregion
|
|
680
701
|
//#region src/components/textarea.d.ts
|
|
681
702
|
declare const textareaVariants: (props?: ({
|
|
@@ -691,7 +712,7 @@ declare function Textarea({
|
|
|
691
712
|
invalid,
|
|
692
713
|
widthVariant,
|
|
693
714
|
...props
|
|
694
|
-
}: TextareaProps):
|
|
715
|
+
}: TextareaProps): react_jsx_runtime11.JSX.Element;
|
|
695
716
|
//#endregion
|
|
696
717
|
//#region src/components/avatar.d.ts
|
|
697
718
|
type AvatarVariant = "squared" | "rounded";
|
|
@@ -704,11 +725,11 @@ interface AvatarProps {
|
|
|
704
725
|
children?: React.ReactNode;
|
|
705
726
|
hideTooltip?: boolean;
|
|
706
727
|
}
|
|
707
|
-
declare function Avatar(props: AvatarProps):
|
|
728
|
+
declare function Avatar(props: AvatarProps): react_jsx_runtime11.JSX.Element;
|
|
708
729
|
type AvatarImplProps = Omit<AvatarProps, "hideTooltip"> & {
|
|
709
730
|
avatarRootProps?: React.ComponentProps<typeof Avatar$1.Root>;
|
|
710
731
|
};
|
|
711
|
-
declare function AvatarImpl(props: AvatarImplProps):
|
|
732
|
+
declare function AvatarImpl(props: AvatarImplProps): react_jsx_runtime11.JSX.Element;
|
|
712
733
|
//#endregion
|
|
713
734
|
//#region src/components/avatar-group.d.ts
|
|
714
735
|
interface AvatarGroupProps {
|
|
@@ -720,7 +741,7 @@ declare function AvatarGroup({
|
|
|
720
741
|
max,
|
|
721
742
|
avatars,
|
|
722
743
|
className
|
|
723
|
-
}: AvatarGroupProps):
|
|
744
|
+
}: AvatarGroupProps): react_jsx_runtime11.JSX.Element;
|
|
724
745
|
//#endregion
|
|
725
746
|
//#region src/components/spinner.d.ts
|
|
726
747
|
interface SpinnerProps {
|
|
@@ -730,7 +751,7 @@ interface SpinnerProps {
|
|
|
730
751
|
declare function Spinner({
|
|
731
752
|
size,
|
|
732
753
|
className
|
|
733
|
-
}: SpinnerProps):
|
|
754
|
+
}: SpinnerProps): react_jsx_runtime11.JSX.Element;
|
|
734
755
|
//#endregion
|
|
735
756
|
//#region src/components/switch.d.ts
|
|
736
757
|
declare function Switch({
|
|
@@ -738,8 +759,8 @@ declare function Switch({
|
|
|
738
759
|
size,
|
|
739
760
|
...props
|
|
740
761
|
}: React$2.ComponentProps<typeof Switch$1.Root> & {
|
|
741
|
-
size?: "sm" | "lg";
|
|
742
|
-
}):
|
|
762
|
+
size?: "sm" | "lg" | "default";
|
|
763
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
743
764
|
//#endregion
|
|
744
765
|
//#region src/components/separator.d.ts
|
|
745
766
|
declare function Separator({
|
|
@@ -750,7 +771,7 @@ declare function Separator({
|
|
|
750
771
|
}: React$2.ComponentProps<"div"> & {
|
|
751
772
|
orientation: "horizontal" | "vertical";
|
|
752
773
|
decorative?: boolean;
|
|
753
|
-
}):
|
|
774
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
754
775
|
declare namespace Separator {
|
|
755
776
|
var displayName: string;
|
|
756
777
|
}
|
|
@@ -767,7 +788,7 @@ type DatePickerProps = {
|
|
|
767
788
|
disabled?: boolean;
|
|
768
789
|
};
|
|
769
790
|
renderTriggerContent?: React$2.ReactNode;
|
|
770
|
-
popoverRootProps?: Omit<React$2.ComponentProps<typeof Root$
|
|
791
|
+
popoverRootProps?: Omit<React$2.ComponentProps<typeof Root$10>, "children">;
|
|
771
792
|
popoverContentProps?: React$2.ComponentProps<typeof Content$5>;
|
|
772
793
|
} & CalendarProps;
|
|
773
794
|
declare function DatePicker({
|
|
@@ -780,7 +801,7 @@ declare function DatePicker({
|
|
|
780
801
|
popoverRootProps,
|
|
781
802
|
popoverContentProps,
|
|
782
803
|
...calendarProps
|
|
783
|
-
}: DatePickerProps):
|
|
804
|
+
}: DatePickerProps): react_jsx_runtime11.JSX.Element;
|
|
784
805
|
//#endregion
|
|
785
806
|
//#region src/hooks/use-file-upload.d.ts
|
|
786
807
|
type FileMetadata = {
|
|
@@ -972,7 +993,7 @@ declare function Root({
|
|
|
972
993
|
multiple,
|
|
973
994
|
disabled,
|
|
974
995
|
className
|
|
975
|
-
}: RootProps):
|
|
996
|
+
}: RootProps): react_jsx_runtime11.JSX.Element;
|
|
976
997
|
declare const dropzoneVariants: (props?: ({
|
|
977
998
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
978
999
|
isDragActive?: boolean | null | undefined;
|
|
@@ -994,7 +1015,7 @@ declare function Dropzone({
|
|
|
994
1015
|
browseText,
|
|
995
1016
|
hideDefaultContent,
|
|
996
1017
|
...props
|
|
997
|
-
}: DropzoneProps):
|
|
1018
|
+
}: DropzoneProps): react_jsx_runtime11.JSX.Element;
|
|
998
1019
|
interface TriggerProps extends React$2.ComponentProps<typeof Button> {
|
|
999
1020
|
/** Text to show while uploading */
|
|
1000
1021
|
uploadingText?: string;
|
|
@@ -1006,7 +1027,7 @@ declare function Trigger({
|
|
|
1006
1027
|
uploadingText,
|
|
1007
1028
|
showUploadingState,
|
|
1008
1029
|
...props
|
|
1009
|
-
}: TriggerProps):
|
|
1030
|
+
}: TriggerProps): react_jsx_runtime11.JSX.Element;
|
|
1010
1031
|
interface ItemListProps extends Omit<React$2.ComponentProps<"div">, "children"> {
|
|
1011
1032
|
children?: React$2.ReactNode | ((files: FileUploadFile[]) => React$2.ReactNode);
|
|
1012
1033
|
}
|
|
@@ -1014,7 +1035,7 @@ declare function ItemList({
|
|
|
1014
1035
|
className,
|
|
1015
1036
|
children,
|
|
1016
1037
|
...props
|
|
1017
|
-
}: ItemListProps):
|
|
1038
|
+
}: ItemListProps): react_jsx_runtime11.JSX.Element | null;
|
|
1018
1039
|
interface ItemProps extends React$2.ComponentProps<"div"> {
|
|
1019
1040
|
file: FileUploadFile;
|
|
1020
1041
|
/** Apply error styling based on file status */
|
|
@@ -1026,7 +1047,7 @@ declare function Item({
|
|
|
1026
1047
|
children,
|
|
1027
1048
|
statusStyles,
|
|
1028
1049
|
...props
|
|
1029
|
-
}: ItemProps):
|
|
1050
|
+
}: ItemProps): react_jsx_runtime11.JSX.Element;
|
|
1030
1051
|
interface ItemPreviewProps extends React$2.ComponentProps<"div"> {
|
|
1031
1052
|
/** Fallback icon when no preview is available */
|
|
1032
1053
|
fallback?: React$2.ReactNode;
|
|
@@ -1035,28 +1056,28 @@ declare function ItemPreview({
|
|
|
1035
1056
|
className,
|
|
1036
1057
|
fallback,
|
|
1037
1058
|
...props
|
|
1038
|
-
}: ItemPreviewProps):
|
|
1059
|
+
}: ItemPreviewProps): react_jsx_runtime11.JSX.Element;
|
|
1039
1060
|
interface ItemNameProps extends React$2.ComponentProps<"span"> {}
|
|
1040
1061
|
declare function ItemName({
|
|
1041
1062
|
className,
|
|
1042
1063
|
...props
|
|
1043
|
-
}: ItemNameProps):
|
|
1064
|
+
}: ItemNameProps): react_jsx_runtime11.JSX.Element;
|
|
1044
1065
|
interface ItemSizeProps extends React$2.ComponentProps<"span"> {}
|
|
1045
1066
|
declare function ItemSize({
|
|
1046
1067
|
className,
|
|
1047
1068
|
...props
|
|
1048
|
-
}: ItemSizeProps):
|
|
1069
|
+
}: ItemSizeProps): react_jsx_runtime11.JSX.Element;
|
|
1049
1070
|
interface ItemRemoveProps extends React$2.ComponentProps<typeof Button> {}
|
|
1050
1071
|
declare function ItemRemove({
|
|
1051
1072
|
className,
|
|
1052
1073
|
children,
|
|
1053
1074
|
...props
|
|
1054
|
-
}: ItemRemoveProps):
|
|
1075
|
+
}: ItemRemoveProps): react_jsx_runtime11.JSX.Element;
|
|
1055
1076
|
interface ItemProgressProps extends React$2.ComponentProps<"div"> {}
|
|
1056
1077
|
declare function ItemProgress({
|
|
1057
1078
|
className,
|
|
1058
1079
|
...props
|
|
1059
|
-
}: ItemProgressProps):
|
|
1080
|
+
}: ItemProgressProps): react_jsx_runtime11.JSX.Element | null;
|
|
1060
1081
|
interface ItemStatusProps extends React$2.ComponentProps<"div"> {
|
|
1061
1082
|
/** Custom success icon */
|
|
1062
1083
|
successIcon?: React$2.ReactNode;
|
|
@@ -1071,23 +1092,23 @@ declare function ItemStatus({
|
|
|
1071
1092
|
uploadingContent,
|
|
1072
1093
|
errorContent,
|
|
1073
1094
|
...props
|
|
1074
|
-
}: ItemStatusProps):
|
|
1095
|
+
}: ItemStatusProps): react_jsx_runtime11.JSX.Element | null;
|
|
1075
1096
|
interface ItemErrorProps extends React$2.ComponentProps<"span"> {}
|
|
1076
1097
|
declare function ItemError({
|
|
1077
1098
|
className,
|
|
1078
1099
|
...props
|
|
1079
|
-
}: ItemErrorProps):
|
|
1100
|
+
}: ItemErrorProps): react_jsx_runtime11.JSX.Element | null;
|
|
1080
1101
|
interface ItemRetryProps extends React$2.ComponentProps<typeof Button> {}
|
|
1081
1102
|
declare function ItemRetry({
|
|
1082
1103
|
className,
|
|
1083
1104
|
children,
|
|
1084
1105
|
...props
|
|
1085
|
-
}: ItemRetryProps):
|
|
1106
|
+
}: ItemRetryProps): react_jsx_runtime11.JSX.Element | null;
|
|
1086
1107
|
interface ClearButtonProps extends React$2.ComponentProps<typeof Button> {}
|
|
1087
1108
|
declare function ClearButton({
|
|
1088
1109
|
children,
|
|
1089
1110
|
...props
|
|
1090
|
-
}: ClearButtonProps):
|
|
1111
|
+
}: ClearButtonProps): react_jsx_runtime11.JSX.Element | null;
|
|
1091
1112
|
interface ImageGridProps extends Omit<React$2.ComponentProps<"div">, "children"> {
|
|
1092
1113
|
children?: React$2.ReactNode | ((files: FileUploadFile[]) => React$2.ReactNode);
|
|
1093
1114
|
}
|
|
@@ -1095,7 +1116,7 @@ declare function ImageGrid({
|
|
|
1095
1116
|
className,
|
|
1096
1117
|
children,
|
|
1097
1118
|
...props
|
|
1098
|
-
}: ImageGridProps):
|
|
1119
|
+
}: ImageGridProps): react_jsx_runtime11.JSX.Element | null;
|
|
1099
1120
|
interface ImageGridItemProps extends React$2.ComponentProps<"div"> {
|
|
1100
1121
|
file: FileUploadFile;
|
|
1101
1122
|
/** Show status overlays (uploading/error) */
|
|
@@ -1106,7 +1127,7 @@ declare function ImageGridItem({
|
|
|
1106
1127
|
className,
|
|
1107
1128
|
showStatusOverlay,
|
|
1108
1129
|
...props
|
|
1109
|
-
}: ImageGridItemProps):
|
|
1130
|
+
}: ImageGridItemProps): react_jsx_runtime11.JSX.Element;
|
|
1110
1131
|
declare const FileUpload: {
|
|
1111
1132
|
Root: typeof Root;
|
|
1112
1133
|
Dropzone: typeof Dropzone;
|
|
@@ -1127,10 +1148,10 @@ declare const FileUpload: {
|
|
|
1127
1148
|
};
|
|
1128
1149
|
//#endregion
|
|
1129
1150
|
//#region src/icons/file-icon.d.ts
|
|
1130
|
-
declare function FileIcon(props: React.ComponentProps<"svg">):
|
|
1151
|
+
declare function FileIcon(props: React.ComponentProps<"svg">): react_jsx_runtime11.JSX.Element;
|
|
1131
1152
|
//#endregion
|
|
1132
1153
|
//#region src/icons/upload-icon.d.ts
|
|
1133
|
-
declare function UploadIcon(props: React.ComponentProps<"svg">):
|
|
1154
|
+
declare function UploadIcon(props: React.ComponentProps<"svg">): react_jsx_runtime11.JSX.Element;
|
|
1134
1155
|
//#endregion
|
|
1135
1156
|
//#region src/hooks/use-intersection-observer.d.ts
|
|
1136
1157
|
interface UseIntersectionObserverOptions {
|
|
@@ -1149,11 +1170,14 @@ type UseInfiniteScrollHookArgs = Pick<UseIntersectionObserverOptions, "rootMargi
|
|
|
1149
1170
|
disabled?: boolean;
|
|
1150
1171
|
};
|
|
1151
1172
|
//#endregion
|
|
1173
|
+
//#region src/hooks/use-mobile.d.ts
|
|
1174
|
+
declare function useIsMobile(): boolean;
|
|
1175
|
+
//#endregion
|
|
1152
1176
|
//#region src/utils/classnames.d.ts
|
|
1153
1177
|
declare function cn(...inputs: ArgumentArray): string;
|
|
1154
1178
|
declare namespace index_d_exports {
|
|
1155
|
-
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, 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 };
|
|
1156
1180
|
}
|
|
1157
1181
|
//#endregion
|
|
1158
|
-
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, 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 };
|
|
1159
1183
|
//# sourceMappingURL=index.d.ts.map
|