@px-ui/core 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +425 -62
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +905 -60
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __reExport, t as __export } from "./chunk-CYeTv9WL.js";
|
|
2
2
|
import * as React$2 from "react";
|
|
3
|
-
import React$1 from "react";
|
|
4
|
-
import { Dialog } from "@base-ui-components/react";
|
|
3
|
+
import React$1, { ChangeEvent, DragEvent, InputHTMLAttributes } from "react";
|
|
4
|
+
import { Collapsible, Dialog } from "@base-ui-components/react";
|
|
5
5
|
import { ArgumentArray } from "classnames";
|
|
6
6
|
import { VariantProps } from "class-variance-authority";
|
|
7
7
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
@@ -22,20 +22,20 @@ import { useRender } from "@base-ui-components/react/use-render";
|
|
|
22
22
|
import { DayPickerProps } from "react-day-picker";
|
|
23
23
|
import { Avatar as Avatar$1 } from "@base-ui-components/react/avatar";
|
|
24
24
|
import { Switch as Switch$1 } from "@base-ui-components/react/switch";
|
|
25
|
-
import * as
|
|
25
|
+
import * as class_variance_authority_types11 from "class-variance-authority/types";
|
|
26
26
|
export * from "class-variance-authority";
|
|
27
27
|
|
|
28
28
|
//#region src/components/dialog.d.ts
|
|
29
29
|
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$
|
|
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$11 as Root, Title$3 as Title, Trigger$8 as Trigger };
|
|
31
31
|
}
|
|
32
|
-
declare function Root$
|
|
32
|
+
declare function Root$11({
|
|
33
33
|
...props
|
|
34
34
|
}: React$2.ComponentProps<typeof Dialog.Root>): react_jsx_runtime0.JSX.Element;
|
|
35
35
|
declare function Portal({
|
|
36
36
|
...props
|
|
37
37
|
}: React$2.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime0.JSX.Element;
|
|
38
|
-
declare function Trigger$
|
|
38
|
+
declare function Trigger$8({
|
|
39
39
|
...props
|
|
40
40
|
}: React$2.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
41
41
|
declare function Close$1({
|
|
@@ -77,10 +77,10 @@ declare function Description$3({
|
|
|
77
77
|
...props
|
|
78
78
|
}: React$2.ComponentProps<typeof Dialog.Description>): react_jsx_runtime0.JSX.Element;
|
|
79
79
|
declare namespace popover_d_exports {
|
|
80
|
-
export { Close, CloseIconButton, Content$5 as Content, Description$2 as Description, Footer, Header$2 as Header, Root$
|
|
80
|
+
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
81
|
}
|
|
82
|
-
declare function Root$
|
|
83
|
-
declare function Trigger$
|
|
82
|
+
declare function Root$10(props: React.ComponentProps<typeof Popover.Root>): react_jsx_runtime0.JSX.Element;
|
|
83
|
+
declare function Trigger$7(props: React.ComponentProps<typeof Popover.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
84
84
|
declare function Close(props: React.ComponentProps<typeof Popover.Close>): react_jsx_runtime0.JSX.Element;
|
|
85
85
|
declare function Positioner(props: React.ComponentProps<typeof Popover.Positioner>): react_jsx_runtime0.JSX.Element;
|
|
86
86
|
declare function Header$2({
|
|
@@ -123,13 +123,13 @@ declare function Footer({
|
|
|
123
123
|
declare const triggerVariants: (props?: ({
|
|
124
124
|
size?: "default" | "sm" | null | undefined;
|
|
125
125
|
widthVariant?: "enforced" | "full" | "fit" | null | undefined;
|
|
126
|
-
} &
|
|
126
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
127
127
|
//#endregion
|
|
128
128
|
//#region src/components/button.d.ts
|
|
129
129
|
declare const buttonVariants: (props?: ({
|
|
130
130
|
variant?: "link" | "default" | "primary" | "destructive" | "outline" | "primary-outline" | "ghost" | null | undefined;
|
|
131
131
|
size?: "default" | "sm" | "lg" | "icon-sm" | "icon" | null | undefined;
|
|
132
|
-
} &
|
|
132
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
133
133
|
interface ButtonProps extends React$2.ComponentProps<"button">, VariantProps<typeof buttonVariants> {}
|
|
134
134
|
declare function Button({
|
|
135
135
|
className,
|
|
@@ -138,13 +138,13 @@ declare function Button({
|
|
|
138
138
|
...props
|
|
139
139
|
}: ButtonProps): react_jsx_runtime0.JSX.Element;
|
|
140
140
|
declare namespace input_group_d_exports {
|
|
141
|
-
export { Addon, Button$1 as Button, Input$1 as Input, Root$
|
|
141
|
+
export { Addon, Button$1 as Button, Input$1 as Input, Root$9 as Root, Text };
|
|
142
142
|
}
|
|
143
143
|
declare const inputGroupVariants: (props?: ({
|
|
144
144
|
size?: "default" | "sm" | null | undefined;
|
|
145
145
|
widthVariant?: "enforced" | "full" | "fit" | null | undefined;
|
|
146
|
-
} &
|
|
147
|
-
declare function Root$
|
|
146
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
147
|
+
declare function Root$9({
|
|
148
148
|
className,
|
|
149
149
|
size,
|
|
150
150
|
disabled,
|
|
@@ -155,7 +155,7 @@ declare function Root$7({
|
|
|
155
155
|
}): react_jsx_runtime0.JSX.Element;
|
|
156
156
|
declare const inputGroupAddonVariants: (props?: ({
|
|
157
157
|
align?: "inline-start" | "inline-end" | null | undefined;
|
|
158
|
-
} &
|
|
158
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
159
159
|
interface AddonProps extends React$2.ComponentProps<"div">, VariantProps<typeof inputGroupAddonVariants> {}
|
|
160
160
|
declare function Addon({
|
|
161
161
|
className,
|
|
@@ -164,7 +164,7 @@ declare function Addon({
|
|
|
164
164
|
}: AddonProps): react_jsx_runtime0.JSX.Element;
|
|
165
165
|
declare const inputGroupButtonVariants: (props?: ({
|
|
166
166
|
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
167
|
-
} &
|
|
167
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
168
168
|
declare function Button$1({
|
|
169
169
|
className,
|
|
170
170
|
type,
|
|
@@ -244,7 +244,7 @@ declare function defineLoadOptions<TData$1 = any>(loadOptions: LoadOptionsConfig
|
|
|
244
244
|
type InferOption<T> = T extends LoadOptionsConfig<infer TData> ? TData : never;
|
|
245
245
|
type InferOptions<T> = T extends LoadOptionsConfig<infer TData> ? TData[] : never;
|
|
246
246
|
declare namespace combobox_d_exports {
|
|
247
|
-
export { BaseCombobox, Chip, ChipsTrigger, Content$4 as Content, Item$
|
|
247
|
+
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
248
|
}
|
|
249
249
|
declare const List$2: React$2.ForwardRefExoticComponent<Combobox.List.Props & React$2.RefAttributes<HTMLDivElement>>;
|
|
250
250
|
type ComboboxContextValues = React$2.ComponentProps<typeof Combobox.Root<any, any, any>> & {
|
|
@@ -257,7 +257,7 @@ type ComboboxContextValues = React$2.ComponentProps<typeof Combobox.Root<any, an
|
|
|
257
257
|
hasMore?: boolean;
|
|
258
258
|
onLoadMore?: () => void;
|
|
259
259
|
};
|
|
260
|
-
declare function Root$
|
|
260
|
+
declare function Root$8<ItemValue, SelectedValue$1 = ItemValue, Multiple extends boolean | undefined = false>({
|
|
261
261
|
children,
|
|
262
262
|
...props
|
|
263
263
|
}: React$2.ComponentProps<typeof Combobox.Root<ItemValue, SelectedValue$1, Multiple>> & Pick<ComboboxContextValues, "isLoading" | "isLoadingMore" | "isError" | "onLoadMore" | "hasMore" | "invalid"> & {
|
|
@@ -277,7 +277,7 @@ declare function Content$4({
|
|
|
277
277
|
popupProps?: React$2.ComponentProps<typeof Combobox.Popup>;
|
|
278
278
|
widthVariant?: "trigger" | "fit" | "enforced";
|
|
279
279
|
}>): react_jsx_runtime0.JSX.Element;
|
|
280
|
-
declare function Item$
|
|
280
|
+
declare function Item$7({
|
|
281
281
|
className,
|
|
282
282
|
...props
|
|
283
283
|
}: React$2.ComponentProps<typeof Combobox.Item>): react_jsx_runtime0.JSX.Element;
|
|
@@ -290,20 +290,20 @@ declare function LoadingIndicator(props: {
|
|
|
290
290
|
}): react_jsx_runtime0.JSX.Element;
|
|
291
291
|
declare function SearchableTrigger(props: {
|
|
292
292
|
placeholder?: string;
|
|
293
|
-
size?: React$2.ComponentProps<typeof Root$
|
|
294
|
-
widthVariant?: React$2.ComponentProps<typeof Root$
|
|
293
|
+
size?: React$2.ComponentProps<typeof Root$9>["size"];
|
|
294
|
+
widthVariant?: React$2.ComponentProps<typeof Root$9>["widthVariant"];
|
|
295
295
|
className?: string;
|
|
296
296
|
addons?: React$2.ReactNode;
|
|
297
297
|
}): react_jsx_runtime0.JSX.Element;
|
|
298
298
|
declare function SearchableTriggerDropdownAddon(): react_jsx_runtime0.JSX.Element;
|
|
299
|
-
interface TriggerProps$
|
|
300
|
-
declare function Trigger$
|
|
299
|
+
interface TriggerProps$2 extends Combobox.Trigger.Props, VariantProps<typeof triggerVariants> {}
|
|
300
|
+
declare function Trigger$6({
|
|
301
301
|
size,
|
|
302
302
|
widthVariant,
|
|
303
303
|
children,
|
|
304
304
|
className,
|
|
305
305
|
...props
|
|
306
|
-
}: TriggerProps$
|
|
306
|
+
}: TriggerProps$2): react_jsx_runtime0.JSX.Element;
|
|
307
307
|
/**
|
|
308
308
|
* Renders the value, if `value` is a string or an object with `label` property in it,
|
|
309
309
|
* then renders that value else you should provide a render function to render your custom value
|
|
@@ -321,7 +321,7 @@ declare function Value$2({
|
|
|
321
321
|
declare const chipsTriggerVariants: (props?: ({
|
|
322
322
|
size?: "default" | "sm" | null | undefined;
|
|
323
323
|
widthVariant?: "enforced" | "full" | null | undefined;
|
|
324
|
-
} &
|
|
324
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
325
325
|
declare function ChipsTrigger({
|
|
326
326
|
size,
|
|
327
327
|
widthVariant,
|
|
@@ -341,9 +341,9 @@ declare function Search({
|
|
|
341
341
|
declare function useComboboxContext(): ComboboxContextValues;
|
|
342
342
|
declare const BaseCombobox: typeof Combobox;
|
|
343
343
|
declare namespace select_d_exports {
|
|
344
|
-
export { BaseSelect, Content$3 as Content, Item$
|
|
344
|
+
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
345
|
}
|
|
346
|
-
declare function Root$
|
|
346
|
+
declare function Root$7<Value$3 = any, Multiple extends boolean | undefined = false>({
|
|
347
347
|
children,
|
|
348
348
|
invalid,
|
|
349
349
|
...props
|
|
@@ -363,7 +363,7 @@ declare function Content$3({
|
|
|
363
363
|
widthVariant?: "trigger" | "fit" | "enforced";
|
|
364
364
|
}>): react_jsx_runtime0.JSX.Element;
|
|
365
365
|
declare const List$1: React$2.ForwardRefExoticComponent<Select.List.Props & React$2.RefAttributes<HTMLDivElement>>;
|
|
366
|
-
declare function Item$
|
|
366
|
+
declare function Item$6({
|
|
367
367
|
className,
|
|
368
368
|
...props
|
|
369
369
|
}: React$2.ComponentProps<typeof Select.Item>): react_jsx_runtime0.JSX.Element;
|
|
@@ -371,12 +371,12 @@ declare function MultiItem({
|
|
|
371
371
|
className,
|
|
372
372
|
...props
|
|
373
373
|
}: React$2.ComponentProps<typeof Select.Item>): react_jsx_runtime0.JSX.Element;
|
|
374
|
-
interface TriggerProps extends Select.Trigger.Props, VariantProps<typeof triggerVariants> {}
|
|
375
|
-
declare function Trigger$
|
|
374
|
+
interface TriggerProps$1 extends Select.Trigger.Props, VariantProps<typeof triggerVariants> {}
|
|
375
|
+
declare function Trigger$5({
|
|
376
376
|
size,
|
|
377
377
|
widthVariant,
|
|
378
378
|
...props
|
|
379
|
-
}: TriggerProps): react_jsx_runtime0.JSX.Element;
|
|
379
|
+
}: TriggerProps$1): react_jsx_runtime0.JSX.Element;
|
|
380
380
|
declare function MultiSelectedValue({
|
|
381
381
|
selectedValue,
|
|
382
382
|
maxItems
|
|
@@ -399,10 +399,10 @@ declare function Value$1({
|
|
|
399
399
|
type SelectedValue<TValue> = TValue | null | undefined;
|
|
400
400
|
declare const BaseSelect: typeof Select;
|
|
401
401
|
declare namespace menu_d_exports {
|
|
402
|
-
export { BaseMenu, BaseTrigger, Content$2 as Content, DropdownIndicator, Group$3 as Group, GroupLabel, Item$
|
|
402
|
+
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
403
|
}
|
|
404
|
-
declare const Root$
|
|
405
|
-
declare function Trigger$
|
|
404
|
+
declare const Root$6: React$2.FC<Menu.Root.Props>;
|
|
405
|
+
declare function Trigger$4({
|
|
406
406
|
className,
|
|
407
407
|
children,
|
|
408
408
|
size,
|
|
@@ -422,7 +422,7 @@ declare function Content$2({
|
|
|
422
422
|
widthVariant?: "trigger" | "fit" | "enforced";
|
|
423
423
|
}>): react_jsx_runtime0.JSX.Element;
|
|
424
424
|
declare function DropdownIndicator(): react_jsx_runtime0.JSX.Element;
|
|
425
|
-
declare function Item$
|
|
425
|
+
declare function Item$5({
|
|
426
426
|
className,
|
|
427
427
|
children,
|
|
428
428
|
...props
|
|
@@ -444,12 +444,12 @@ declare function RadioItem({
|
|
|
444
444
|
declare const BaseTrigger: React$2.ForwardRefExoticComponent<Menu.Trigger.Props & React$2.RefAttributes<HTMLElement>>;
|
|
445
445
|
declare const BaseMenu: typeof Menu;
|
|
446
446
|
declare namespace progress_d_exports {
|
|
447
|
-
export { BaseProgress, Indicator, Label$1 as Label, Root$
|
|
447
|
+
export { BaseProgress, Indicator, Label$1 as Label, Root$5 as Root, Track, Value };
|
|
448
448
|
}
|
|
449
449
|
declare const progressTrackVariants: (props?: ({
|
|
450
450
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
451
|
-
} &
|
|
452
|
-
declare const Root$
|
|
451
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
452
|
+
declare const Root$5: React$2.ForwardRefExoticComponent<Progress.Root.Props & React$2.RefAttributes<HTMLDivElement>>;
|
|
453
453
|
declare function Track({
|
|
454
454
|
className,
|
|
455
455
|
size,
|
|
@@ -470,17 +470,17 @@ declare function Value({
|
|
|
470
470
|
}: React$2.ComponentProps<typeof Progress.Value>): react_jsx_runtime0.JSX.Element;
|
|
471
471
|
declare const BaseProgress: typeof Progress;
|
|
472
472
|
declare namespace segmented_control_d_exports {
|
|
473
|
-
export { Item$
|
|
473
|
+
export { Item$4 as Item, Root$4 as Root };
|
|
474
474
|
}
|
|
475
475
|
declare const segmentedControlItemVariants: (props?: ({
|
|
476
476
|
variant?: "default" | null | undefined;
|
|
477
477
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
478
|
-
} &
|
|
479
|
-
declare function Root$
|
|
478
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
479
|
+
declare function Root$4({
|
|
480
480
|
className,
|
|
481
481
|
...props
|
|
482
482
|
}: React$2.ComponentProps<typeof RadioGroup>): react_jsx_runtime0.JSX.Element;
|
|
483
|
-
declare function Item$
|
|
483
|
+
declare function Item$4({
|
|
484
484
|
children,
|
|
485
485
|
className,
|
|
486
486
|
variant,
|
|
@@ -490,10 +490,10 @@ declare function Item$3({
|
|
|
490
490
|
children: React$2.ReactNode;
|
|
491
491
|
}): react_jsx_runtime0.JSX.Element;
|
|
492
492
|
declare namespace tabs_d_exports {
|
|
493
|
-
export { Content$1 as Content, List, Root$
|
|
493
|
+
export { Content$1 as Content, List, Root$3 as Root, Trigger$3 as Trigger };
|
|
494
494
|
}
|
|
495
495
|
type TabsVariant = "underline";
|
|
496
|
-
declare function Root$
|
|
496
|
+
declare function Root$3({
|
|
497
497
|
variant,
|
|
498
498
|
className,
|
|
499
499
|
...props
|
|
@@ -505,7 +505,7 @@ declare function List({
|
|
|
505
505
|
children,
|
|
506
506
|
...props
|
|
507
507
|
}: React$2.ComponentProps<typeof Tabs.List>): react_jsx_runtime0.JSX.Element;
|
|
508
|
-
declare function Trigger$
|
|
508
|
+
declare function Trigger$3({
|
|
509
509
|
className,
|
|
510
510
|
...props
|
|
511
511
|
}: React$2.ComponentProps<typeof Tabs.Tab>): react_jsx_runtime0.JSX.Element;
|
|
@@ -514,14 +514,14 @@ declare function Content$1({
|
|
|
514
514
|
...props
|
|
515
515
|
}: React$2.ComponentProps<typeof Tabs.Panel>): react_jsx_runtime0.JSX.Element;
|
|
516
516
|
declare namespace tooltip_d_exports {
|
|
517
|
-
export { BaseProvider, BaseRoot, Content, Root, Trigger };
|
|
517
|
+
export { BaseProvider, BaseRoot, Content, Root$2 as Root, Trigger$2 as Trigger };
|
|
518
518
|
}
|
|
519
|
-
declare function Root({
|
|
519
|
+
declare function Root$2({
|
|
520
520
|
...props
|
|
521
521
|
}: React$2.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime0.JSX.Element;
|
|
522
522
|
declare const BaseRoot: typeof Tooltip.Root;
|
|
523
523
|
declare const BaseProvider: React$2.FC<Tooltip.Provider.Props>;
|
|
524
|
-
declare function Trigger({
|
|
524
|
+
declare function Trigger$2({
|
|
525
525
|
...props
|
|
526
526
|
}: React$2.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
527
527
|
declare function Content({
|
|
@@ -541,20 +541,20 @@ declare function Content({
|
|
|
541
541
|
declare const checkboxVariants: (props?: ({
|
|
542
542
|
variant?: "default" | null | undefined;
|
|
543
543
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
544
|
-
} &
|
|
544
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
545
545
|
interface CheckboxProps extends React.ComponentProps<typeof Checkbox$1.Root>, VariantProps<typeof checkboxVariants> {}
|
|
546
546
|
declare function Checkbox({
|
|
547
547
|
className,
|
|
548
548
|
...props
|
|
549
549
|
}: CheckboxProps): react_jsx_runtime0.JSX.Element;
|
|
550
550
|
declare namespace block_checkbox_group_d_exports {
|
|
551
|
-
export { Description$1 as Description, Group$2 as Group, Header$1 as Header, Item$
|
|
551
|
+
export { Description$1 as Description, Group$2 as Group, Header$1 as Header, Item$3 as Item, Title$1 as Title };
|
|
552
552
|
}
|
|
553
553
|
declare function Group$2({
|
|
554
554
|
className,
|
|
555
555
|
...props
|
|
556
556
|
}: React.ComponentProps<typeof CheckboxGroup>): react_jsx_runtime0.JSX.Element;
|
|
557
|
-
declare function Item$
|
|
557
|
+
declare function Item$3({
|
|
558
558
|
className,
|
|
559
559
|
invalid,
|
|
560
560
|
children,
|
|
@@ -573,7 +573,7 @@ declare function Description$1(props: React.PropsWithChildren<{
|
|
|
573
573
|
className?: string;
|
|
574
574
|
}>): react_jsx_runtime0.JSX.Element;
|
|
575
575
|
declare namespace radio_group_d_exports {
|
|
576
|
-
export { Group$1 as Group, Item };
|
|
576
|
+
export { Group$1 as Group, Item$1 as Item };
|
|
577
577
|
}
|
|
578
578
|
declare function Group$1({
|
|
579
579
|
className,
|
|
@@ -582,27 +582,27 @@ declare function Group$1({
|
|
|
582
582
|
declare const radioVariants: (props?: ({
|
|
583
583
|
variant?: "default" | null | undefined;
|
|
584
584
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
585
|
-
} &
|
|
585
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
586
586
|
interface RadioGroupItemProps extends React$2.ComponentProps<typeof Radio.Root>, VariantProps<typeof radioVariants> {}
|
|
587
|
-
declare function Item({
|
|
587
|
+
declare function Item$1({
|
|
588
588
|
className,
|
|
589
589
|
variant,
|
|
590
590
|
size,
|
|
591
591
|
...props
|
|
592
592
|
}: RadioGroupItemProps): react_jsx_runtime0.JSX.Element;
|
|
593
593
|
declare namespace block_radio_group_d_exports {
|
|
594
|
-
export { Description, Group, Header, Item$
|
|
594
|
+
export { Description, Group, Header, Item$2 as Item, Title };
|
|
595
595
|
}
|
|
596
596
|
declare function Group({
|
|
597
597
|
className,
|
|
598
598
|
...props
|
|
599
599
|
}: React.ComponentProps<typeof RadioGroup>): react_jsx_runtime0.JSX.Element;
|
|
600
|
-
declare function Item$
|
|
600
|
+
declare function Item$2({
|
|
601
601
|
className,
|
|
602
602
|
invalid,
|
|
603
603
|
children,
|
|
604
604
|
...rest
|
|
605
|
-
}: React.PropsWithChildren<React.ComponentProps<typeof Item>> & {
|
|
605
|
+
}: React.PropsWithChildren<React.ComponentProps<typeof Item$1>> & {
|
|
606
606
|
className?: string;
|
|
607
607
|
invalid?: boolean;
|
|
608
608
|
}): react_jsx_runtime0.JSX.Element;
|
|
@@ -643,6 +643,19 @@ declare function BreadcrumbSeparator({
|
|
|
643
643
|
className,
|
|
644
644
|
...props
|
|
645
645
|
}: React$2.ComponentProps<"li">): react_jsx_runtime0.JSX.Element;
|
|
646
|
+
declare namespace collapsible_d_exports {
|
|
647
|
+
export { Panel, Root$1 as Root, ToggleIcon, Trigger$1 as Trigger };
|
|
648
|
+
}
|
|
649
|
+
declare function Root$1({
|
|
650
|
+
className,
|
|
651
|
+
...props
|
|
652
|
+
}: React$2.ComponentProps<typeof Collapsible.Root>): react_jsx_runtime0.JSX.Element;
|
|
653
|
+
declare function Trigger$1(props: React$2.ComponentProps<typeof Collapsible.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
654
|
+
declare function Panel({
|
|
655
|
+
className,
|
|
656
|
+
...props
|
|
657
|
+
}: React$2.ComponentProps<typeof Collapsible.Panel>): react_jsx_runtime0.JSX.Element;
|
|
658
|
+
declare function ToggleIcon(): react_jsx_runtime0.JSX.Element;
|
|
646
659
|
//#endregion
|
|
647
660
|
//#region src/components/calendar.d.ts
|
|
648
661
|
declare function Calendar({
|
|
@@ -665,7 +678,7 @@ declare function Label({
|
|
|
665
678
|
declare const inputVariants: (props?: ({
|
|
666
679
|
size?: "default" | "sm" | null | undefined;
|
|
667
680
|
widthVariant?: "enforced" | "full" | null | undefined;
|
|
668
|
-
} &
|
|
681
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
669
682
|
interface InputProps extends Omit<React$2.ComponentProps<"input">, "size">, VariantProps<typeof inputVariants> {
|
|
670
683
|
invalid?: boolean;
|
|
671
684
|
}
|
|
@@ -681,7 +694,7 @@ declare function Input({
|
|
|
681
694
|
declare const textareaVariants: (props?: ({
|
|
682
695
|
size?: "default" | "sm" | null | undefined;
|
|
683
696
|
widthVariant?: "enforced" | "full" | null | undefined;
|
|
684
|
-
} &
|
|
697
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
685
698
|
interface TextareaProps extends React$2.ComponentProps<"textarea">, VariantProps<typeof textareaVariants> {
|
|
686
699
|
invalid?: boolean;
|
|
687
700
|
}
|
|
@@ -767,7 +780,7 @@ type DatePickerProps = {
|
|
|
767
780
|
disabled?: boolean;
|
|
768
781
|
};
|
|
769
782
|
renderTriggerContent?: React$2.ReactNode;
|
|
770
|
-
popoverRootProps?: Omit<React$2.ComponentProps<typeof Root$
|
|
783
|
+
popoverRootProps?: Omit<React$2.ComponentProps<typeof Root$10>, "children">;
|
|
771
784
|
popoverContentProps?: React$2.ComponentProps<typeof Content$5>;
|
|
772
785
|
} & CalendarProps;
|
|
773
786
|
declare function DatePicker({
|
|
@@ -782,6 +795,356 @@ declare function DatePicker({
|
|
|
782
795
|
...calendarProps
|
|
783
796
|
}: DatePickerProps): react_jsx_runtime0.JSX.Element;
|
|
784
797
|
//#endregion
|
|
798
|
+
//#region src/hooks/use-file-upload.d.ts
|
|
799
|
+
type FileMetadata = {
|
|
800
|
+
name: string;
|
|
801
|
+
size: number;
|
|
802
|
+
type: string;
|
|
803
|
+
url: string;
|
|
804
|
+
id: string;
|
|
805
|
+
};
|
|
806
|
+
type FileWithPreview = {
|
|
807
|
+
file: File | FileMetadata;
|
|
808
|
+
id: string;
|
|
809
|
+
preview?: string;
|
|
810
|
+
};
|
|
811
|
+
type FileUploadOptions = {
|
|
812
|
+
maxFiles?: number;
|
|
813
|
+
maxSize?: number;
|
|
814
|
+
accept?: string;
|
|
815
|
+
multiple?: boolean;
|
|
816
|
+
initialFiles?: FileMetadata[];
|
|
817
|
+
onFilesChange?: (files: FileWithPreview[]) => void;
|
|
818
|
+
onFilesAdded?: (addedFiles: FileWithPreview[]) => void;
|
|
819
|
+
};
|
|
820
|
+
type FileUploadState = {
|
|
821
|
+
files: FileWithPreview[];
|
|
822
|
+
isDragging: boolean;
|
|
823
|
+
errors: string[];
|
|
824
|
+
};
|
|
825
|
+
type FileUploadActions = {
|
|
826
|
+
addFiles: (files: FileList | File[]) => void;
|
|
827
|
+
removeFile: (id: string) => void;
|
|
828
|
+
clearFiles: () => void;
|
|
829
|
+
clearErrors: () => void;
|
|
830
|
+
handleDragEnter: (e: DragEvent<HTMLElement>) => void;
|
|
831
|
+
handleDragLeave: (e: DragEvent<HTMLElement>) => void;
|
|
832
|
+
handleDragOver: (e: DragEvent<HTMLElement>) => void;
|
|
833
|
+
handleDrop: (e: DragEvent<HTMLElement>) => void;
|
|
834
|
+
handleFileChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
835
|
+
openFileDialog: () => void;
|
|
836
|
+
getInputProps: (props?: InputHTMLAttributes<HTMLInputElement>) => InputHTMLAttributes<HTMLInputElement> & {
|
|
837
|
+
ref: any;
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
declare const formatBytes: (bytes: number, decimals?: number) => string;
|
|
841
|
+
type UploadStatus = "idle" | "uploading" | "success" | "error";
|
|
842
|
+
type FileWithUploadStatus = FileWithPreview & {
|
|
843
|
+
progress: number;
|
|
844
|
+
status: UploadStatus;
|
|
845
|
+
error?: string;
|
|
846
|
+
uploadedUrl?: string;
|
|
847
|
+
};
|
|
848
|
+
type PresignedUrlResponse = {
|
|
849
|
+
url: string;
|
|
850
|
+
fullPath: string;
|
|
851
|
+
[key: string]: unknown;
|
|
852
|
+
};
|
|
853
|
+
type UploadConfig = {
|
|
854
|
+
/**
|
|
855
|
+
* Function to get a presigned URL for uploading
|
|
856
|
+
* Called before uploading each file
|
|
857
|
+
* @param params - Parameters including filename, contentType, size, and optional AbortSignal
|
|
858
|
+
* @param params.signal - Optional AbortSignal to cancel the request
|
|
859
|
+
*/
|
|
860
|
+
getPresignedUrl: (params: {
|
|
861
|
+
filename: string;
|
|
862
|
+
contentType: string;
|
|
863
|
+
size: number;
|
|
864
|
+
signal?: AbortSignal;
|
|
865
|
+
}) => Promise<{
|
|
866
|
+
result?: PresignedUrlResponse | null;
|
|
867
|
+
error?: unknown;
|
|
868
|
+
}>;
|
|
869
|
+
/**
|
|
870
|
+
* Function to upload the file to the storage
|
|
871
|
+
* Receives the presigned URL and the file
|
|
872
|
+
* @param url - The presigned URL to upload to
|
|
873
|
+
* @param file - The file to upload
|
|
874
|
+
* @param presignedData - The full presigned URL response data
|
|
875
|
+
* @param onProgress - Optional callback for upload progress
|
|
876
|
+
* @param signal - Optional AbortSignal to cancel the upload
|
|
877
|
+
*/
|
|
878
|
+
uploadFile: (url: string, file: File, presignedData: PresignedUrlResponse, onProgress?: (progress: number) => void, signal?: AbortSignal) => Promise<{
|
|
879
|
+
result?: {
|
|
880
|
+
url: string;
|
|
881
|
+
[key: string]: unknown;
|
|
882
|
+
};
|
|
883
|
+
error?: unknown;
|
|
884
|
+
}>;
|
|
885
|
+
/**
|
|
886
|
+
* Whether to auto-upload files when they are added
|
|
887
|
+
* @default true
|
|
888
|
+
*/
|
|
889
|
+
autoUpload?: boolean;
|
|
890
|
+
/**
|
|
891
|
+
* Called when a single file upload completes
|
|
892
|
+
*/
|
|
893
|
+
onUploadComplete?: (file: FileWithUploadStatus) => void;
|
|
894
|
+
/**
|
|
895
|
+
* Called when a single file upload fails
|
|
896
|
+
*/
|
|
897
|
+
onUploadError?: (file: FileWithUploadStatus, error: unknown) => void;
|
|
898
|
+
/**
|
|
899
|
+
* Called when all files finish uploading
|
|
900
|
+
*/
|
|
901
|
+
onAllUploadsComplete?: (files: FileWithUploadStatus[]) => void;
|
|
902
|
+
};
|
|
903
|
+
type FileUploadWithUploaderOptions = FileUploadOptions & {
|
|
904
|
+
upload?: UploadConfig;
|
|
905
|
+
};
|
|
906
|
+
type FileUploadWithUploaderState = Omit<FileUploadState, "files"> & {
|
|
907
|
+
files: FileWithUploadStatus[];
|
|
908
|
+
isUploading: boolean;
|
|
909
|
+
};
|
|
910
|
+
type FileUploadWithUploaderActions = Omit<FileUploadActions, "addFiles"> & {
|
|
911
|
+
addFiles: (files: FileList | File[]) => void;
|
|
912
|
+
uploadFiles: (files?: FileWithUploadStatus[]) => Promise<FileWithUploadStatus[]>;
|
|
913
|
+
retryUpload: (id: string) => Promise<void>;
|
|
914
|
+
cancelUpload: (id: string) => void;
|
|
915
|
+
};
|
|
916
|
+
declare const useFileUpload: (options?: FileUploadWithUploaderOptions) => [FileUploadWithUploaderState, FileUploadWithUploaderActions];
|
|
917
|
+
//#endregion
|
|
918
|
+
//#region src/components/file-upload.d.ts
|
|
919
|
+
interface FileUploadFile {
|
|
920
|
+
id: string;
|
|
921
|
+
file: File | {
|
|
922
|
+
name: string;
|
|
923
|
+
size: number;
|
|
924
|
+
type: string;
|
|
925
|
+
url?: string;
|
|
926
|
+
};
|
|
927
|
+
progress?: number;
|
|
928
|
+
status?: "idle" | "uploading" | "success" | "error";
|
|
929
|
+
preview?: string;
|
|
930
|
+
error?: string;
|
|
931
|
+
uploadedUrl?: string;
|
|
932
|
+
}
|
|
933
|
+
interface RootProps {
|
|
934
|
+
children: React$2.ReactNode;
|
|
935
|
+
/** Files from the useFileUpload hook */
|
|
936
|
+
files: FileUploadFile[] | FileWithUploadStatus[];
|
|
937
|
+
/** Add files action from the hook */
|
|
938
|
+
addFiles: (files: FileList | File[]) => void;
|
|
939
|
+
/** Remove file action from the hook */
|
|
940
|
+
removeFile: (id: string) => void;
|
|
941
|
+
/** Clear files action from the hook */
|
|
942
|
+
clearFiles: () => void;
|
|
943
|
+
/** Retry upload action from the hook */
|
|
944
|
+
retryUpload?: (id: string) => Promise<void>;
|
|
945
|
+
/** Open file dialog action from the hook */
|
|
946
|
+
openFileDialog: () => void;
|
|
947
|
+
/** Get input props from the hook */
|
|
948
|
+
getInputProps: FileUploadWithUploaderActions["getInputProps"];
|
|
949
|
+
/** Handle drag enter from the hook */
|
|
950
|
+
handleDragEnter: FileUploadWithUploaderActions["handleDragEnter"];
|
|
951
|
+
/** Handle drag leave from the hook */
|
|
952
|
+
handleDragLeave: FileUploadWithUploaderActions["handleDragLeave"];
|
|
953
|
+
/** Handle drag over from the hook */
|
|
954
|
+
handleDragOver: FileUploadWithUploaderActions["handleDragOver"];
|
|
955
|
+
/** Handle drop from the hook */
|
|
956
|
+
handleDrop: FileUploadWithUploaderActions["handleDrop"];
|
|
957
|
+
/** Whether dragging is active (from hook state) */
|
|
958
|
+
isDragActive?: boolean;
|
|
959
|
+
/** Whether upload is in progress (from hook state) */
|
|
960
|
+
isUploading?: boolean;
|
|
961
|
+
/** Accepted file types (e.g., "image/*,.pdf") */
|
|
962
|
+
accept?: string;
|
|
963
|
+
/** Allow multiple file selection */
|
|
964
|
+
multiple?: boolean;
|
|
965
|
+
/** Whether the upload is disabled */
|
|
966
|
+
disabled?: boolean;
|
|
967
|
+
className?: string;
|
|
968
|
+
}
|
|
969
|
+
declare function Root({
|
|
970
|
+
children,
|
|
971
|
+
files,
|
|
972
|
+
addFiles,
|
|
973
|
+
removeFile,
|
|
974
|
+
clearFiles,
|
|
975
|
+
retryUpload,
|
|
976
|
+
openFileDialog,
|
|
977
|
+
getInputProps,
|
|
978
|
+
handleDragEnter,
|
|
979
|
+
handleDragLeave,
|
|
980
|
+
handleDragOver,
|
|
981
|
+
handleDrop,
|
|
982
|
+
isDragActive,
|
|
983
|
+
isUploading,
|
|
984
|
+
accept,
|
|
985
|
+
multiple,
|
|
986
|
+
disabled,
|
|
987
|
+
className
|
|
988
|
+
}: RootProps): react_jsx_runtime0.JSX.Element;
|
|
989
|
+
declare const dropzoneVariants: (props?: ({
|
|
990
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
991
|
+
isDragActive?: boolean | null | undefined;
|
|
992
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
993
|
+
interface DropzoneProps extends Omit<React$2.ComponentProps<"div">, "children">, Omit<VariantProps<typeof dropzoneVariants>, "isDragActive"> {
|
|
994
|
+
children?: React$2.ReactNode;
|
|
995
|
+
/** Custom text for the dropzone */
|
|
996
|
+
dropzoneText?: string;
|
|
997
|
+
/** Custom text for the browse button */
|
|
998
|
+
browseText?: string;
|
|
999
|
+
/** Hide the default content */
|
|
1000
|
+
hideDefaultContent?: boolean;
|
|
1001
|
+
}
|
|
1002
|
+
declare function Dropzone({
|
|
1003
|
+
className,
|
|
1004
|
+
size,
|
|
1005
|
+
children,
|
|
1006
|
+
dropzoneText,
|
|
1007
|
+
browseText,
|
|
1008
|
+
hideDefaultContent,
|
|
1009
|
+
...props
|
|
1010
|
+
}: DropzoneProps): react_jsx_runtime0.JSX.Element;
|
|
1011
|
+
interface TriggerProps extends React$2.ComponentProps<typeof Button> {
|
|
1012
|
+
/** Text to show while uploading */
|
|
1013
|
+
uploadingText?: string;
|
|
1014
|
+
/** Show uploading state */
|
|
1015
|
+
showUploadingState?: boolean;
|
|
1016
|
+
}
|
|
1017
|
+
declare function Trigger({
|
|
1018
|
+
children,
|
|
1019
|
+
uploadingText,
|
|
1020
|
+
showUploadingState,
|
|
1021
|
+
...props
|
|
1022
|
+
}: TriggerProps): react_jsx_runtime0.JSX.Element;
|
|
1023
|
+
interface ItemListProps extends Omit<React$2.ComponentProps<"div">, "children"> {
|
|
1024
|
+
children?: React$2.ReactNode | ((files: FileUploadFile[]) => React$2.ReactNode);
|
|
1025
|
+
}
|
|
1026
|
+
declare function ItemList({
|
|
1027
|
+
className,
|
|
1028
|
+
children,
|
|
1029
|
+
...props
|
|
1030
|
+
}: ItemListProps): react_jsx_runtime0.JSX.Element | null;
|
|
1031
|
+
interface ItemProps extends React$2.ComponentProps<"div"> {
|
|
1032
|
+
file: FileUploadFile;
|
|
1033
|
+
/** Apply error styling based on file status */
|
|
1034
|
+
statusStyles?: boolean;
|
|
1035
|
+
}
|
|
1036
|
+
declare function Item({
|
|
1037
|
+
file,
|
|
1038
|
+
className,
|
|
1039
|
+
children,
|
|
1040
|
+
statusStyles,
|
|
1041
|
+
...props
|
|
1042
|
+
}: ItemProps): react_jsx_runtime0.JSX.Element;
|
|
1043
|
+
interface ItemPreviewProps extends React$2.ComponentProps<"div"> {
|
|
1044
|
+
/** Fallback icon when no preview is available */
|
|
1045
|
+
fallback?: React$2.ReactNode;
|
|
1046
|
+
}
|
|
1047
|
+
declare function ItemPreview({
|
|
1048
|
+
className,
|
|
1049
|
+
fallback,
|
|
1050
|
+
...props
|
|
1051
|
+
}: ItemPreviewProps): react_jsx_runtime0.JSX.Element;
|
|
1052
|
+
interface ItemNameProps extends React$2.ComponentProps<"span"> {}
|
|
1053
|
+
declare function ItemName({
|
|
1054
|
+
className,
|
|
1055
|
+
...props
|
|
1056
|
+
}: ItemNameProps): react_jsx_runtime0.JSX.Element;
|
|
1057
|
+
interface ItemSizeProps extends React$2.ComponentProps<"span"> {}
|
|
1058
|
+
declare function ItemSize({
|
|
1059
|
+
className,
|
|
1060
|
+
...props
|
|
1061
|
+
}: ItemSizeProps): react_jsx_runtime0.JSX.Element;
|
|
1062
|
+
interface ItemRemoveProps extends React$2.ComponentProps<typeof Button> {}
|
|
1063
|
+
declare function ItemRemove({
|
|
1064
|
+
className,
|
|
1065
|
+
children,
|
|
1066
|
+
...props
|
|
1067
|
+
}: ItemRemoveProps): react_jsx_runtime0.JSX.Element;
|
|
1068
|
+
interface ItemProgressProps extends React$2.ComponentProps<"div"> {}
|
|
1069
|
+
declare function ItemProgress({
|
|
1070
|
+
className,
|
|
1071
|
+
...props
|
|
1072
|
+
}: ItemProgressProps): react_jsx_runtime0.JSX.Element | null;
|
|
1073
|
+
interface ItemStatusProps extends React$2.ComponentProps<"div"> {
|
|
1074
|
+
/** Custom success icon */
|
|
1075
|
+
successIcon?: React$2.ReactNode;
|
|
1076
|
+
/** Custom uploading text/element */
|
|
1077
|
+
uploadingContent?: React$2.ReactNode;
|
|
1078
|
+
/** Custom error text/element */
|
|
1079
|
+
errorContent?: React$2.ReactNode;
|
|
1080
|
+
}
|
|
1081
|
+
declare function ItemStatus({
|
|
1082
|
+
className,
|
|
1083
|
+
successIcon,
|
|
1084
|
+
uploadingContent,
|
|
1085
|
+
errorContent,
|
|
1086
|
+
...props
|
|
1087
|
+
}: ItemStatusProps): react_jsx_runtime0.JSX.Element | null;
|
|
1088
|
+
interface ItemErrorProps extends React$2.ComponentProps<"span"> {}
|
|
1089
|
+
declare function ItemError({
|
|
1090
|
+
className,
|
|
1091
|
+
...props
|
|
1092
|
+
}: ItemErrorProps): react_jsx_runtime0.JSX.Element | null;
|
|
1093
|
+
interface ItemRetryProps extends React$2.ComponentProps<typeof Button> {}
|
|
1094
|
+
declare function ItemRetry({
|
|
1095
|
+
className,
|
|
1096
|
+
children,
|
|
1097
|
+
...props
|
|
1098
|
+
}: ItemRetryProps): react_jsx_runtime0.JSX.Element | null;
|
|
1099
|
+
interface ClearButtonProps extends React$2.ComponentProps<typeof Button> {}
|
|
1100
|
+
declare function ClearButton({
|
|
1101
|
+
children,
|
|
1102
|
+
...props
|
|
1103
|
+
}: ClearButtonProps): react_jsx_runtime0.JSX.Element | null;
|
|
1104
|
+
interface ImageGridProps extends Omit<React$2.ComponentProps<"div">, "children"> {
|
|
1105
|
+
children?: React$2.ReactNode | ((files: FileUploadFile[]) => React$2.ReactNode);
|
|
1106
|
+
}
|
|
1107
|
+
declare function ImageGrid({
|
|
1108
|
+
className,
|
|
1109
|
+
children,
|
|
1110
|
+
...props
|
|
1111
|
+
}: ImageGridProps): react_jsx_runtime0.JSX.Element | null;
|
|
1112
|
+
interface ImageGridItemProps extends React$2.ComponentProps<"div"> {
|
|
1113
|
+
file: FileUploadFile;
|
|
1114
|
+
/** Show status overlays (uploading/error) */
|
|
1115
|
+
showStatusOverlay?: boolean;
|
|
1116
|
+
}
|
|
1117
|
+
declare function ImageGridItem({
|
|
1118
|
+
file,
|
|
1119
|
+
className,
|
|
1120
|
+
showStatusOverlay,
|
|
1121
|
+
...props
|
|
1122
|
+
}: ImageGridItemProps): react_jsx_runtime0.JSX.Element;
|
|
1123
|
+
declare const FileUpload: {
|
|
1124
|
+
Root: typeof Root;
|
|
1125
|
+
Dropzone: typeof Dropzone;
|
|
1126
|
+
Trigger: typeof Trigger;
|
|
1127
|
+
ItemList: typeof ItemList;
|
|
1128
|
+
Item: typeof Item;
|
|
1129
|
+
ItemPreview: typeof ItemPreview;
|
|
1130
|
+
ItemName: typeof ItemName;
|
|
1131
|
+
ItemSize: typeof ItemSize;
|
|
1132
|
+
ItemRemove: typeof ItemRemove;
|
|
1133
|
+
ItemProgress: typeof ItemProgress;
|
|
1134
|
+
ItemStatus: typeof ItemStatus;
|
|
1135
|
+
ItemError: typeof ItemError;
|
|
1136
|
+
ItemRetry: typeof ItemRetry;
|
|
1137
|
+
ClearButton: typeof ClearButton;
|
|
1138
|
+
ImageGrid: typeof ImageGrid;
|
|
1139
|
+
ImageGridItem: typeof ImageGridItem;
|
|
1140
|
+
};
|
|
1141
|
+
//#endregion
|
|
1142
|
+
//#region src/icons/file-icon.d.ts
|
|
1143
|
+
declare function FileIcon(props: React.ComponentProps<"svg">): react_jsx_runtime0.JSX.Element;
|
|
1144
|
+
//#endregion
|
|
1145
|
+
//#region src/icons/upload-icon.d.ts
|
|
1146
|
+
declare function UploadIcon(props: React.ComponentProps<"svg">): react_jsx_runtime0.JSX.Element;
|
|
1147
|
+
//#endregion
|
|
785
1148
|
//#region src/hooks/use-intersection-observer.d.ts
|
|
786
1149
|
interface UseIntersectionObserverOptions {
|
|
787
1150
|
threshold?: number | number[];
|
|
@@ -802,8 +1165,8 @@ type UseInfiniteScrollHookArgs = Pick<UseIntersectionObserverOptions, "rootMargi
|
|
|
802
1165
|
//#region src/utils/classnames.d.ts
|
|
803
1166
|
declare function cn(...inputs: ArgumentArray): string;
|
|
804
1167
|
declare namespace index_d_exports {
|
|
805
|
-
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, combobox_d_exports as Combobox, DatePicker, dialog_d_exports as Dialog, InferOption, InferOptions, Input, input_group_d_exports as InputGroup, Label, LoadOptionsConfig, menu_d_exports as Menu, popover_d_exports as Popover, progress_d_exports as Progress, radio_group_d_exports as RadioGroup, 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, UseInfiniteScrollHookArgs, UseIntersectionObserverOptions, UseIntersectionObserverReturn, buttonVariants, cn, defineLoadOptions, useAsyncOptions, useIntersectionObserver };
|
|
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 };
|
|
806
1169
|
}
|
|
807
1170
|
//#endregion
|
|
808
|
-
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, combobox_d_exports as Combobox, DatePicker, dialog_d_exports as Dialog, InferOption, InferOptions, Input, input_group_d_exports as InputGroup, Label, LoadOptionsConfig, menu_d_exports as Menu, popover_d_exports as Popover, progress_d_exports as Progress, radio_group_d_exports as RadioGroup, 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, UseInfiniteScrollHookArgs, UseIntersectionObserverOptions, UseIntersectionObserverReturn, buttonVariants, cn, defineLoadOptions, useAsyncOptions, useIntersectionObserver };
|
|
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 };
|
|
809
1172
|
//# sourceMappingURL=index.d.ts.map
|