@pixpilot/shadcn 0.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/LICENSE +21 -0
- package/README.md +3 -0
- package/dist/OrContinueWithSeparator-BvOMy_0X.d.ts +11 -0
- package/dist/OrContinueWithSeparator-Cs96m5UB.js +28 -0
- package/dist/alert-DUygh_xL.d.ts +24 -0
- package/dist/alert-DuQQzE0M.js +39 -0
- package/dist/alert-dialog-BQBvTsjx.d.ts +48 -0
- package/dist/avatar-4_qFkDQq.d.ts +19 -0
- package/dist/avatar-DWlyZZC1.js +31 -0
- package/dist/badge-BtexTWYL.d.ts +19 -0
- package/dist/badge-ChGpGKfr.js +27 -0
- package/dist/button-BlGZakU_.d.ts +21 -0
- package/dist/button-CoM3CepB.js +46 -0
- package/dist/calendar-5J34tX7L.js +107 -0
- package/dist/calendar-DK_qW8tK.d.ts +26 -0
- package/dist/card-8btbTKaB.d.ts +34 -0
- package/dist/card-Bf0-1Hox.js +58 -0
- package/dist/checkbox-BfAe26dy.d.ts +11 -0
- package/dist/checkbox-ChqHvI5Y.js +23 -0
- package/dist/command-BzJMrpFw.js +88 -0
- package/dist/command-CTOqnzSx.d.ts +52 -0
- package/dist/components/index-DVJl6H4Z.d.ts +30 -0
- package/dist/components/index.js +33 -0
- package/dist/components/ui/OrContinueWithSeparator-DT1kKIwU.d.ts +2 -0
- package/dist/components/ui/OrContinueWithSeparator.js +7 -0
- package/dist/components/ui/alert-Dnyd20KB.d.ts +2 -0
- package/dist/components/ui/alert-dialog-D6vR-1Jz.d.ts +2 -0
- package/dist/components/ui/alert-dialog.js +35 -0
- package/dist/components/ui/alert.js +6 -0
- package/dist/components/ui/avatar-CBM6Rxkl.d.ts +2 -0
- package/dist/components/ui/avatar.js +6 -0
- package/dist/components/ui/badge-tZQG9OGU.d.ts +2 -0
- package/dist/components/ui/badge.js +6 -0
- package/dist/components/ui/button-B1jOU2SH.d.ts +2 -0
- package/dist/components/ui/button.js +6 -0
- package/dist/components/ui/calendar-CJJGD2Mp.d.ts +2 -0
- package/dist/components/ui/calendar.js +7 -0
- package/dist/components/ui/card-Dw7UFh1G.d.ts +2 -0
- package/dist/components/ui/card.js +6 -0
- package/dist/components/ui/checkbox-B4Zt92ES.d.ts +2 -0
- package/dist/components/ui/checkbox.js +8 -0
- package/dist/components/ui/command-Bo9iT_Mm.d.ts +2 -0
- package/dist/components/ui/command.js +9 -0
- package/dist/components/ui/dialog-DwFy7VXb.d.ts +2 -0
- package/dist/components/ui/dialog.js +6 -0
- package/dist/components/ui/dropdown-menu-CUC5b1yi.d.ts +2 -0
- package/dist/components/ui/dropdown-menu.js +6 -0
- package/dist/components/ui/file-upload-BKYxasJe.d.ts +2 -0
- package/dist/components/ui/file-upload.js +8 -0
- package/dist/components/ui/form-Ui-fGegs.d.ts +2 -0
- package/dist/components/ui/form.js +7 -0
- package/dist/components/ui/index-BDJfgHZT.d.ts +30 -0
- package/dist/components/ui/index.js +33 -0
- package/dist/components/ui/input-O6aZyiJl.d.ts +2 -0
- package/dist/components/ui/input.js +6 -0
- package/dist/components/ui/label-CiFY9QCm.d.ts +2 -0
- package/dist/components/ui/label.js +6 -0
- package/dist/components/ui/pagination-CLlEoufd.d.ts +2 -0
- package/dist/components/ui/pagination.js +33 -0
- package/dist/components/ui/popover-BuE9HJFI.d.ts +2 -0
- package/dist/components/ui/popover.js +6 -0
- package/dist/components/ui/radio-group-BNV5xVaA.d.ts +2 -0
- package/dist/components/ui/radio-group.js +6 -0
- package/dist/components/ui/select-BAT_xUS6.d.ts +2 -0
- package/dist/components/ui/select.js +8 -0
- package/dist/components/ui/separator-rI7QiaxO.d.ts +2 -0
- package/dist/components/ui/separator.js +6 -0
- package/dist/components/ui/shadcn-io/tags/index-NcbrE1RX.d.ts +2 -0
- package/dist/components/ui/shadcn-io/tags/index.js +13 -0
- package/dist/components/ui/shadcn-io/tags-input-inline/index-CAYAMlWT.d.ts +2 -0
- package/dist/components/ui/shadcn-io/tags-input-inline/index.js +5 -0
- package/dist/components/ui/sheet-CPsrps2C.d.ts +2 -0
- package/dist/components/ui/sheet.js +6 -0
- package/dist/components/ui/slider-DqROXr79.d.ts +2 -0
- package/dist/components/ui/slider.js +6 -0
- package/dist/components/ui/switch-BF2c_Zn9.d.ts +2 -0
- package/dist/components/ui/switch.js +8 -0
- package/dist/components/ui/tabs-DRhGRCqD.d.ts +2 -0
- package/dist/components/ui/tabs.js +6 -0
- package/dist/components/ui/textarea-BoOWHGtB.d.ts +2 -0
- package/dist/components/ui/textarea.js +6 -0
- package/dist/components/ui/tooltip-BcAxWshO.d.ts +2 -0
- package/dist/components/ui/tooltip.js +6 -0
- package/dist/dialog-C4wKr521.d.ts +47 -0
- package/dist/dialog-CnHQjTPX.js +88 -0
- package/dist/dropdown-menu-BytmAQI6.js +125 -0
- package/dist/dropdown-menu-CnrLe3nb.d.ts +77 -0
- package/dist/file-upload-BEeMesnR.js +907 -0
- package/dist/file-upload-BLSfy-1K.d.ts +94 -0
- package/dist/form-BSwltNo1.d.ts +45 -0
- package/dist/form-BjnyYpgw.js +89 -0
- package/dist/index-BSKUD7fA.d.ts +39 -0
- package/dist/index-Bpvi7gIc.d.ts +31 -0
- package/dist/index-CZUtOTjh.d.ts +1 -0
- package/dist/index-CkSrVqpn.d.ts +31 -0
- package/dist/index-DwHkYD1A.d.ts +70 -0
- package/dist/index.js +33 -0
- package/dist/input-CUeyj64L.js +17 -0
- package/dist/input-Mvgjlh3F.d.ts +11 -0
- package/dist/jsx-runtime-CjFsk39Z.js +274 -0
- package/dist/label-CaJMuv7i.d.ts +11 -0
- package/dist/label-DGznqsHm.js +17 -0
- package/dist/lib/index-ChuxSUKt.d.ts +2 -0
- package/dist/lib/index.js +4 -0
- package/dist/lib/utils-45Ez8x6p.d.ts +2 -0
- package/dist/lib/utils.js +3 -0
- package/dist/lib-B_fww26I.js +1 -0
- package/dist/popover-CV48KL0e.js +37 -0
- package/dist/popover-DpSyC3-j.d.ts +22 -0
- package/dist/radio-group-Cfa4brdK.d.ts +15 -0
- package/dist/radio-group-jaFHISZ7.js +30 -0
- package/dist/select-B3Zt7fRL.d.ts +52 -0
- package/dist/select-C96xvMSx.js +99 -0
- package/dist/separator-C71XEO3E.js +19 -0
- package/dist/separator-Cucb_6O4.d.ts +13 -0
- package/dist/sheet-B3Ak6LSw.d.ts +40 -0
- package/dist/sheet-BlZGrRNt.js +84 -0
- package/dist/slider-CdK5O4pc.js +38 -0
- package/dist/slider-D8tCfiZV.d.ts +15 -0
- package/dist/src-DQlJgy1h.js +157 -0
- package/dist/switch-Bz5Iiy2_.js +21 -0
- package/dist/switch-DXaptB6g.d.ts +11 -0
- package/dist/tabs-B0X-LEdY.d.ts +23 -0
- package/dist/tabs-BjolTUEI.js +38 -0
- package/dist/tags-BnJCu0NQ.js +131 -0
- package/dist/tags-input-inline-DnEu3Dyw.js +58 -0
- package/dist/textarea-09eXlo5q.d.ts +10 -0
- package/dist/textarea-BNZyZgAM.js +16 -0
- package/dist/tooltip-BQpFgVRJ.d.ts +23 -0
- package/dist/tooltip-CuYs-__e.js +38 -0
- package/dist/utils-D2WOFi-N.js +10 -0
- package/dist/utils-_VBxPjie.d.ts +6 -0
- package/package.json +101 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ui/file-upload.d.ts
|
|
5
|
+
type Direction = 'ltr' | 'rtl';
|
|
6
|
+
interface FileState {
|
|
7
|
+
file: File;
|
|
8
|
+
progress: number;
|
|
9
|
+
error?: string;
|
|
10
|
+
status: 'idle' | 'uploading' | 'error' | 'success';
|
|
11
|
+
}
|
|
12
|
+
interface StoreState {
|
|
13
|
+
files: Map<File, FileState>;
|
|
14
|
+
dragOver: boolean;
|
|
15
|
+
invalid: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare function useStore<T>(selector: (state: StoreState) => T): T;
|
|
18
|
+
interface FileUploadRootProps extends Omit<React.ComponentProps<'div'>, 'defaultValue' | 'onChange'> {
|
|
19
|
+
value?: File[];
|
|
20
|
+
defaultValue?: File[];
|
|
21
|
+
onValueChange?: (files: File[]) => void;
|
|
22
|
+
onAccept?: (files: File[]) => void;
|
|
23
|
+
onFileAccept?: (file: File) => void;
|
|
24
|
+
onFileReject?: (file: File, message: string) => void;
|
|
25
|
+
onFilesReject?: (files: Array<{
|
|
26
|
+
file: File;
|
|
27
|
+
message: string;
|
|
28
|
+
}>) => void;
|
|
29
|
+
onFileValidate?: (file: File) => string | null | undefined;
|
|
30
|
+
onUpload?: (files: File[], options: {
|
|
31
|
+
onProgress: (file: File, progress: number) => void;
|
|
32
|
+
onSuccess: (file: File) => void;
|
|
33
|
+
onError: (file: File, error: Error) => void;
|
|
34
|
+
}) => Promise<void> | void;
|
|
35
|
+
accept?: string;
|
|
36
|
+
maxFiles?: number;
|
|
37
|
+
maxSize?: number;
|
|
38
|
+
dir?: Direction;
|
|
39
|
+
label?: string;
|
|
40
|
+
name?: string;
|
|
41
|
+
asChild?: boolean;
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
invalid?: boolean;
|
|
44
|
+
multiple?: boolean;
|
|
45
|
+
required?: boolean;
|
|
46
|
+
}
|
|
47
|
+
declare function FileUploadRoot(props: FileUploadRootProps): react_jsx_runtime21.JSX.Element;
|
|
48
|
+
interface FileUploadDropzoneProps extends React.ComponentProps<'div'> {
|
|
49
|
+
asChild?: boolean;
|
|
50
|
+
}
|
|
51
|
+
declare function FileUploadDropzone(props: FileUploadDropzoneProps): react_jsx_runtime21.JSX.Element;
|
|
52
|
+
interface FileUploadTriggerProps extends React.ComponentProps<'button'> {
|
|
53
|
+
asChild?: boolean;
|
|
54
|
+
}
|
|
55
|
+
declare function FileUploadTrigger(props: FileUploadTriggerProps): react_jsx_runtime21.JSX.Element;
|
|
56
|
+
interface FileUploadListProps extends React.ComponentProps<'div'> {
|
|
57
|
+
orientation?: 'horizontal' | 'vertical';
|
|
58
|
+
asChild?: boolean;
|
|
59
|
+
forceMount?: boolean;
|
|
60
|
+
}
|
|
61
|
+
declare function FileUploadList(props: FileUploadListProps): react_jsx_runtime21.JSX.Element | null;
|
|
62
|
+
interface FileUploadItemProps extends React.ComponentProps<'div'> {
|
|
63
|
+
value: File;
|
|
64
|
+
asChild?: boolean;
|
|
65
|
+
}
|
|
66
|
+
declare function FileUploadItem(props: FileUploadItemProps): react_jsx_runtime21.JSX.Element | null;
|
|
67
|
+
interface FileUploadItemPreviewProps extends React.ComponentProps<'div'> {
|
|
68
|
+
render?: (file: File, fallback: () => React.ReactNode) => React.ReactNode;
|
|
69
|
+
asChild?: boolean;
|
|
70
|
+
}
|
|
71
|
+
declare function FileUploadItemPreview(props: FileUploadItemPreviewProps): react_jsx_runtime21.JSX.Element | null;
|
|
72
|
+
interface FileUploadItemMetadataProps extends React.ComponentProps<'div'> {
|
|
73
|
+
asChild?: boolean;
|
|
74
|
+
size?: 'default' | 'sm';
|
|
75
|
+
}
|
|
76
|
+
declare function FileUploadItemMetadata(props: FileUploadItemMetadataProps): react_jsx_runtime21.JSX.Element | null;
|
|
77
|
+
interface FileUploadItemProgressProps extends React.ComponentProps<'div'> {
|
|
78
|
+
variant?: 'linear' | 'circular' | 'fill';
|
|
79
|
+
size?: number;
|
|
80
|
+
asChild?: boolean;
|
|
81
|
+
forceMount?: boolean;
|
|
82
|
+
}
|
|
83
|
+
declare function FileUploadItemProgress(props: FileUploadItemProgressProps): react_jsx_runtime21.JSX.Element | null;
|
|
84
|
+
interface FileUploadItemDeleteProps extends React.ComponentProps<'button'> {
|
|
85
|
+
asChild?: boolean;
|
|
86
|
+
}
|
|
87
|
+
declare function FileUploadItemDelete(props: FileUploadItemDeleteProps): react_jsx_runtime21.JSX.Element | null;
|
|
88
|
+
interface FileUploadClearProps extends React.ComponentProps<'button'> {
|
|
89
|
+
forceMount?: boolean;
|
|
90
|
+
asChild?: boolean;
|
|
91
|
+
}
|
|
92
|
+
declare function FileUploadClear(props: FileUploadClearProps): react_jsx_runtime21.JSX.Element | null;
|
|
93
|
+
//#endregion
|
|
94
|
+
export { FileUploadItemMetadata as a, FileUploadList as c, FileUploadTrigger as d, useStore as f, FileUploadItemDelete as i, FileUploadRoot as l, FileUploadDropzone as n, FileUploadItemPreview as o, FileUploadItem as r, FileUploadItemProgress as s, FileUploadClear as t, FileUploadRootProps as u };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
3
|
+
import * as react_hook_form0 from "react-hook-form";
|
|
4
|
+
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
5
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
6
|
+
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/ui/form.d.ts
|
|
9
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
10
|
+
declare function FormField<TFieldValues$1 extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues$1> = FieldPath<TFieldValues$1>>({
|
|
11
|
+
...props
|
|
12
|
+
}: ControllerProps<TFieldValues$1, TName>): react_jsx_runtime99.JSX.Element;
|
|
13
|
+
declare function useFormField(): {
|
|
14
|
+
invalid: boolean;
|
|
15
|
+
isDirty: boolean;
|
|
16
|
+
isTouched: boolean;
|
|
17
|
+
isValidating: boolean;
|
|
18
|
+
error?: react_hook_form0.FieldError;
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
formItemId: string;
|
|
22
|
+
formDescriptionId: string;
|
|
23
|
+
formMessageId: string;
|
|
24
|
+
};
|
|
25
|
+
declare function FormItem({
|
|
26
|
+
className,
|
|
27
|
+
...props
|
|
28
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime99.JSX.Element;
|
|
29
|
+
declare function FormLabel({
|
|
30
|
+
className,
|
|
31
|
+
...props
|
|
32
|
+
}: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime99.JSX.Element;
|
|
33
|
+
declare function FormControl({
|
|
34
|
+
...props
|
|
35
|
+
}: React.ComponentProps<typeof Slot>): react_jsx_runtime99.JSX.Element;
|
|
36
|
+
declare function FormDescription({
|
|
37
|
+
className,
|
|
38
|
+
...props
|
|
39
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime99.JSX.Element;
|
|
40
|
+
declare function FormMessage({
|
|
41
|
+
className,
|
|
42
|
+
...props
|
|
43
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime99.JSX.Element | null;
|
|
44
|
+
//#endregion
|
|
45
|
+
export { FormItem as a, useFormField as c, FormField as i, FormControl as n, FormLabel as o, FormDescription as r, FormMessage as s, Form as t };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { n as __toESM, t as require_jsx_runtime } from "./jsx-runtime-CjFsk39Z.js";
|
|
2
|
+
import { t as cn } from "./utils-D2WOFi-N.js";
|
|
3
|
+
import { t as Label } from "./label-DGznqsHm.js";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
6
|
+
import { Controller, FormProvider, useFormContext, useFormState } from "react-hook-form";
|
|
7
|
+
|
|
8
|
+
//#region src/components/ui/form.tsx
|
|
9
|
+
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime());
|
|
10
|
+
const Form = FormProvider;
|
|
11
|
+
const FormFieldContext = React.createContext({});
|
|
12
|
+
function FormField({ ...props }) {
|
|
13
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FormFieldContext, {
|
|
14
|
+
value: { name: props.name },
|
|
15
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Controller, { ...props })
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function useFormField() {
|
|
19
|
+
const fieldContext = React.use(FormFieldContext);
|
|
20
|
+
const itemContext = React.use(FormItemContext);
|
|
21
|
+
const { getFieldState } = useFormContext();
|
|
22
|
+
const formState = useFormState({ name: fieldContext.name });
|
|
23
|
+
const fieldState = getFieldState(fieldContext.name, formState);
|
|
24
|
+
if (!fieldContext) throw new Error("useFormField should be used within <FormField>");
|
|
25
|
+
const { id } = itemContext;
|
|
26
|
+
return {
|
|
27
|
+
id,
|
|
28
|
+
name: fieldContext.name,
|
|
29
|
+
formItemId: `${id}-form-item`,
|
|
30
|
+
formDescriptionId: `${id}-form-item-description`,
|
|
31
|
+
formMessageId: `${id}-form-item-message`,
|
|
32
|
+
...fieldState
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
const FormItemContext = React.createContext({});
|
|
36
|
+
function FormItem({ className, ...props }) {
|
|
37
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FormItemContext, {
|
|
38
|
+
value: { id: React.useId() },
|
|
39
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
40
|
+
"data-slot": "form-item",
|
|
41
|
+
className: cn("grid gap-2", className),
|
|
42
|
+
...props
|
|
43
|
+
})
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function FormLabel({ className, ...props }) {
|
|
47
|
+
const { error, formItemId } = useFormField();
|
|
48
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Label, {
|
|
49
|
+
"data-slot": "form-label",
|
|
50
|
+
"data-error": Boolean(error),
|
|
51
|
+
className: cn("data-[error=true]:text-destructive", className),
|
|
52
|
+
htmlFor: formItemId,
|
|
53
|
+
...props
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
function FormControl({ ...props }) {
|
|
57
|
+
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
58
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot, {
|
|
59
|
+
"data-slot": "form-control",
|
|
60
|
+
id: formItemId,
|
|
61
|
+
"aria-describedby": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`,
|
|
62
|
+
"aria-invalid": Boolean(error),
|
|
63
|
+
...props
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function FormDescription({ className, ...props }) {
|
|
67
|
+
const { formDescriptionId } = useFormField();
|
|
68
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
69
|
+
"data-slot": "form-description",
|
|
70
|
+
id: formDescriptionId,
|
|
71
|
+
className: cn("text-muted-foreground text-sm", className),
|
|
72
|
+
...props
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
function FormMessage({ className, ...props }) {
|
|
76
|
+
const { error, formMessageId } = useFormField();
|
|
77
|
+
const body = error ? String(error?.message ?? "") : props.children;
|
|
78
|
+
if (!body) return null;
|
|
79
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
80
|
+
"data-slot": "form-message",
|
|
81
|
+
id: formMessageId,
|
|
82
|
+
className: cn("text-destructive text-sm", className),
|
|
83
|
+
...props,
|
|
84
|
+
children: body
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
//#endregion
|
|
89
|
+
export { FormItem as a, useFormField as c, FormField as i, FormControl as n, FormLabel as o, FormDescription as r, FormMessage as s, Form as t };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { t as Button } from "./button-BlGZakU_.js";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as react_jsx_runtime113 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/pagination.d.ts
|
|
6
|
+
declare function Pagination({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime113.JSX.Element;
|
|
10
|
+
declare function PaginationContent({
|
|
11
|
+
className,
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime113.JSX.Element;
|
|
14
|
+
declare function PaginationItem({
|
|
15
|
+
...props
|
|
16
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime113.JSX.Element;
|
|
17
|
+
type PaginationLinkProps = {
|
|
18
|
+
isActive?: boolean;
|
|
19
|
+
} & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
|
|
20
|
+
declare function PaginationLink({
|
|
21
|
+
className,
|
|
22
|
+
isActive,
|
|
23
|
+
size,
|
|
24
|
+
...props
|
|
25
|
+
}: PaginationLinkProps): react_jsx_runtime113.JSX.Element;
|
|
26
|
+
declare function PaginationPrevious({
|
|
27
|
+
className,
|
|
28
|
+
...props
|
|
29
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime113.JSX.Element;
|
|
30
|
+
declare function PaginationNext({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime113.JSX.Element;
|
|
34
|
+
declare function PaginationEllipsis({
|
|
35
|
+
className,
|
|
36
|
+
...props
|
|
37
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime113.JSX.Element;
|
|
38
|
+
//#endregion
|
|
39
|
+
export { PaginationLink as a, PaginationItem as i, PaginationContent as n, PaginationNext as o, PaginationEllipsis as r, PaginationPrevious as s, Pagination as t };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as TagsInputPrimitive from "@diceui/tags-input";
|
|
3
|
+
import * as react_jsx_runtime106 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/shadcn-io/tags-input-inline/index.d.ts
|
|
6
|
+
declare function TagsInputInLineRoot({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Root>): react_jsx_runtime106.JSX.Element;
|
|
10
|
+
declare function TagsInputInLineLabel({
|
|
11
|
+
className,
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Label>): react_jsx_runtime106.JSX.Element;
|
|
14
|
+
declare function TagsInputInLineList({
|
|
15
|
+
className,
|
|
16
|
+
...props
|
|
17
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime106.JSX.Element;
|
|
18
|
+
declare function TagsInputInLineInput({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Input>): react_jsx_runtime106.JSX.Element;
|
|
22
|
+
declare function TagsInputInLineItem({
|
|
23
|
+
className,
|
|
24
|
+
children,
|
|
25
|
+
...props
|
|
26
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Item>): react_jsx_runtime106.JSX.Element;
|
|
27
|
+
declare function TagsInputInLineClear({
|
|
28
|
+
...props
|
|
29
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>): react_jsx_runtime106.JSX.Element;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { TagsInputInLineList as a, TagsInputInLineLabel as i, TagsInputInLineInput as n, TagsInputInLineRoot as o, TagsInputInLineItem as r, TagsInputInLineClear as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { n as AlertDescription, r as AlertTitle, t as Alert } from "./alert-DUygh_xL.js";
|
|
2
|
+
import { a as AlertDialogDescription, c as AlertDialogOverlay, d as AlertDialogTrigger, i as AlertDialogContent, l as AlertDialogPortal, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog, u as AlertDialogTitle } from "./alert-dialog-BQBvTsjx.js";
|
|
3
|
+
import { n as AvatarFallback, r as AvatarImage, t as Avatar } from "./avatar-4_qFkDQq.js";
|
|
4
|
+
import { n as badgeVariants, t as Badge } from "./badge-BtexTWYL.js";
|
|
5
|
+
import { n as buttonVariants, t as Button } from "./button-BlGZakU_.js";
|
|
6
|
+
import { n as CalendarDayButton, t as Calendar } from "./calendar-DK_qW8tK.js";
|
|
7
|
+
import { a as CardFooter, i as CardDescription, n as CardAction, o as CardHeader, r as CardContent, s as CardTitle, t as Card } from "./card-8btbTKaB.js";
|
|
8
|
+
import { t as Checkbox } from "./checkbox-BfAe26dy.js";
|
|
9
|
+
import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "./dialog-C4wKr521.js";
|
|
10
|
+
import { a as CommandInput, c as CommandSeparator, i as CommandGroup, l as CommandShortcut, n as CommandDialog, o as CommandItem, r as CommandEmpty, s as CommandList, t as Command } from "./command-CTOqnzSx.js";
|
|
11
|
+
import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, l as DropdownMenuRadioItem, m as DropdownMenuSubTrigger, n as DropdownMenuCheckboxItem, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "./dropdown-menu-CnrLe3nb.js";
|
|
12
|
+
import { a as FileUploadItemMetadata, c as FileUploadList, d as FileUploadTrigger, f as useStore, i as FileUploadItemDelete, l as FileUploadRoot, n as FileUploadDropzone, o as FileUploadItemPreview, r as FileUploadItem, s as FileUploadItemProgress, t as FileUploadClear, u as FileUploadRootProps } from "./file-upload-BLSfy-1K.js";
|
|
13
|
+
import { a as FormItem, c as useFormField, i as FormField, n as FormControl, o as FormLabel, r as FormDescription, s as FormMessage, t as Form } from "./form-BSwltNo1.js";
|
|
14
|
+
import { t as Input } from "./input-Mvgjlh3F.js";
|
|
15
|
+
import { t as Label } from "./label-CaJMuv7i.js";
|
|
16
|
+
import { t as OrContinueWithSeparator } from "./OrContinueWithSeparator-BvOMy_0X.js";
|
|
17
|
+
import { t as cn } from "./utils-_VBxPjie.js";
|
|
18
|
+
import { a as PaginationLink, i as PaginationItem, n as PaginationContent, o as PaginationNext, r as PaginationEllipsis, s as PaginationPrevious, t as Pagination } from "./index-BSKUD7fA.js";
|
|
19
|
+
import { i as PopoverTrigger, n as PopoverAnchor, r as PopoverContent, t as Popover } from "./popover-DpSyC3-j.js";
|
|
20
|
+
import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-Cfa4brdK.js";
|
|
21
|
+
import { a as SelectLabel, c as SelectSeparator, i as SelectItem, l as SelectTrigger, n as SelectContent, o as SelectScrollDownButton, r as SelectGroup, s as SelectScrollUpButton, t as Select, u as SelectValue } from "./select-B3Zt7fRL.js";
|
|
22
|
+
import { t as Separator } from "./separator-Cucb_6O4.js";
|
|
23
|
+
import { _ as TagsValue, a as TagsEmptyProps, c as TagsInput, d as TagsItemProps, f as TagsList, g as TagsTriggerProps, h as TagsTrigger, i as TagsEmpty, l as TagsInputProps, m as TagsProps, n as TagsContent, o as TagsGroup, p as TagsListProps, r as TagsContentProps, s as TagsGroupProps, t as Tags, u as TagsItem, v as TagsValueProps } from "./index-DwHkYD1A.js";
|
|
24
|
+
import { a as TagsInputInLineList, i as TagsInputInLineLabel, n as TagsInputInLineInput, o as TagsInputInLineRoot, r as TagsInputInLineItem, t as TagsInputInLineClear } from "./index-Bpvi7gIc.js";
|
|
25
|
+
import { a as SheetFooter, c as SheetTrigger, i as SheetDescription, n as SheetClose, o as SheetHeader, r as SheetContent, s as SheetTitle, t as Sheet } from "./sheet-B3Ak6LSw.js";
|
|
26
|
+
import { t as Slider } from "./slider-D8tCfiZV.js";
|
|
27
|
+
import { t as Switch } from "./switch-DXaptB6g.js";
|
|
28
|
+
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "./tabs-B0X-LEdY.js";
|
|
29
|
+
import { t as Textarea } from "./textarea-09eXlo5q.js";
|
|
30
|
+
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "./tooltip-BQpFgVRJ.js";
|
|
31
|
+
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, FileUploadClear as Clear, FileUploadClear, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FileUploadDropzone as Dropzone, FileUploadDropzone, FileUploadRoot as FileUpload, FileUploadRoot as Root, FileUploadItem, FileUploadItem as Item, FileUploadItemDelete, FileUploadItemDelete as ItemDelete, FileUploadItemMetadata, FileUploadItemMetadata as ItemMetadata, FileUploadItemPreview, FileUploadItemPreview as ItemPreview, FileUploadItemProgress, FileUploadItemProgress as ItemProgress, FileUploadList, FileUploadList as List, FileUploadRootProps as FileUploadProps, FileUploadTrigger, FileUploadTrigger as Trigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Input, Label, OrContinueWithSeparator, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Slider, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Tags, TagsContent, TagsContentProps, TagsEmpty, TagsEmptyProps, TagsGroup, TagsGroupProps, TagsInput, TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot, TagsInputProps, TagsItem, TagsItemProps, TagsList, TagsListProps, TagsProps, TagsTrigger, TagsTriggerProps, TagsValue, TagsValueProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, useStore as useFileUpload, useFormField };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { t as Badge } from "./badge-BtexTWYL.js";
|
|
2
|
+
import { t as Button } from "./button-BlGZakU_.js";
|
|
3
|
+
import { a as CommandInput, i as CommandGroup, o as CommandItem, r as CommandEmpty, s as CommandList } from "./command-CTOqnzSx.js";
|
|
4
|
+
import { r as PopoverContent } from "./popover-DpSyC3-j.js";
|
|
5
|
+
import { ComponentProps, ReactNode } from "react";
|
|
6
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/ui/shadcn-io/tags/index.d.ts
|
|
9
|
+
interface TagsProps {
|
|
10
|
+
value?: string;
|
|
11
|
+
setValue?: (value: string) => void;
|
|
12
|
+
open?: boolean;
|
|
13
|
+
onOpenChange?: (open: boolean) => void;
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
declare function Tags({
|
|
18
|
+
value,
|
|
19
|
+
setValue,
|
|
20
|
+
open: controlledOpen,
|
|
21
|
+
onOpenChange: controlledOnOpenChange,
|
|
22
|
+
children,
|
|
23
|
+
className
|
|
24
|
+
}: TagsProps): react_jsx_runtime12.JSX.Element;
|
|
25
|
+
type TagsTriggerProps = ComponentProps<typeof Button>;
|
|
26
|
+
declare function TagsTrigger({
|
|
27
|
+
className,
|
|
28
|
+
children,
|
|
29
|
+
...props
|
|
30
|
+
}: TagsTriggerProps): react_jsx_runtime12.JSX.Element;
|
|
31
|
+
type TagsValueProps = ComponentProps<typeof Badge>;
|
|
32
|
+
declare function TagsValue({
|
|
33
|
+
className,
|
|
34
|
+
children,
|
|
35
|
+
onRemove,
|
|
36
|
+
...props
|
|
37
|
+
}: TagsValueProps & {
|
|
38
|
+
onRemove?: () => void;
|
|
39
|
+
}): react_jsx_runtime12.JSX.Element;
|
|
40
|
+
type TagsContentProps = ComponentProps<typeof PopoverContent>;
|
|
41
|
+
declare function TagsContent({
|
|
42
|
+
className,
|
|
43
|
+
children,
|
|
44
|
+
...props
|
|
45
|
+
}: TagsContentProps): react_jsx_runtime12.JSX.Element;
|
|
46
|
+
type TagsInputProps = ComponentProps<typeof CommandInput>;
|
|
47
|
+
declare function TagsInput({
|
|
48
|
+
className,
|
|
49
|
+
...props
|
|
50
|
+
}: TagsInputProps): react_jsx_runtime12.JSX.Element;
|
|
51
|
+
type TagsListProps = ComponentProps<typeof CommandList>;
|
|
52
|
+
declare function TagsList({
|
|
53
|
+
className,
|
|
54
|
+
...props
|
|
55
|
+
}: TagsListProps): react_jsx_runtime12.JSX.Element;
|
|
56
|
+
type TagsEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
57
|
+
declare function TagsEmpty({
|
|
58
|
+
children,
|
|
59
|
+
className,
|
|
60
|
+
...props
|
|
61
|
+
}: TagsEmptyProps): react_jsx_runtime12.JSX.Element;
|
|
62
|
+
type TagsGroupProps = ComponentProps<typeof CommandGroup>;
|
|
63
|
+
declare const TagsGroup: typeof CommandGroup;
|
|
64
|
+
type TagsItemProps = ComponentProps<typeof CommandItem>;
|
|
65
|
+
declare function TagsItem({
|
|
66
|
+
className,
|
|
67
|
+
...props
|
|
68
|
+
}: TagsItemProps): react_jsx_runtime12.JSX.Element;
|
|
69
|
+
//#endregion
|
|
70
|
+
export { TagsValue as _, TagsEmptyProps as a, TagsInput as c, TagsItemProps as d, TagsList as f, TagsTriggerProps as g, TagsTrigger as h, TagsEmpty as i, TagsInputProps as l, TagsProps as m, TagsContent as n, TagsGroup as o, TagsListProps as p, TagsContentProps as r, TagsGroupProps as s, Tags as t, TagsItem as u, TagsValueProps as v };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import "./jsx-runtime-CjFsk39Z.js";
|
|
2
|
+
import { t as cn } from "./utils-D2WOFi-N.js";
|
|
3
|
+
import "./lib-B_fww26I.js";
|
|
4
|
+
import { n as AlertDescription, r as AlertTitle, t as Alert } from "./alert-DuQQzE0M.js";
|
|
5
|
+
import { _ as AlertDialogTitle, a as PaginationLink, c as AlertDialog, d as AlertDialogContent, f as AlertDialogDescription, g as AlertDialogPortal, h as AlertDialogOverlay, i as PaginationItem, l as AlertDialogAction, m as AlertDialogHeader, n as PaginationContent, o as PaginationNext, p as AlertDialogFooter, r as PaginationEllipsis, s as PaginationPrevious, t as Pagination, u as AlertDialogCancel, v as AlertDialogTrigger } from "./src-DQlJgy1h.js";
|
|
6
|
+
import { n as AvatarFallback, r as AvatarImage, t as Avatar } from "./avatar-DWlyZZC1.js";
|
|
7
|
+
import { n as badgeVariants, t as Badge } from "./badge-ChGpGKfr.js";
|
|
8
|
+
import { n as buttonVariants, t as Button } from "./button-CoM3CepB.js";
|
|
9
|
+
import { n as CalendarDayButton, t as Calendar } from "./calendar-5J34tX7L.js";
|
|
10
|
+
import { a as CardFooter, i as CardDescription, n as CardAction, o as CardHeader, r as CardContent, s as CardTitle, t as Card } from "./card-Bf0-1Hox.js";
|
|
11
|
+
import { t as Checkbox } from "./checkbox-ChqHvI5Y.js";
|
|
12
|
+
import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "./dialog-CnHQjTPX.js";
|
|
13
|
+
import { a as CommandInput, c as CommandSeparator, i as CommandGroup, l as CommandShortcut, n as CommandDialog, o as CommandItem, r as CommandEmpty, s as CommandList, t as Command } from "./command-BzJMrpFw.js";
|
|
14
|
+
import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, l as DropdownMenuRadioItem, m as DropdownMenuSubTrigger, n as DropdownMenuCheckboxItem, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "./dropdown-menu-BytmAQI6.js";
|
|
15
|
+
import { a as FileUploadItemMetadata, c as FileUploadList, d as useStore, i as FileUploadItemDelete, l as FileUploadRoot, n as FileUploadDropzone, o as FileUploadItemPreview, r as FileUploadItem, s as FileUploadItemProgress, t as FileUploadClear, u as FileUploadTrigger } from "./file-upload-BEeMesnR.js";
|
|
16
|
+
import { t as Label } from "./label-DGznqsHm.js";
|
|
17
|
+
import { a as FormItem, c as useFormField, i as FormField, n as FormControl, o as FormLabel, r as FormDescription, s as FormMessage, t as Form } from "./form-BjnyYpgw.js";
|
|
18
|
+
import { t as Input } from "./input-CUeyj64L.js";
|
|
19
|
+
import { t as Separator } from "./separator-C71XEO3E.js";
|
|
20
|
+
import { t as OrContinueWithSeparator } from "./OrContinueWithSeparator-Cs96m5UB.js";
|
|
21
|
+
import { i as PopoverTrigger, n as PopoverAnchor, r as PopoverContent, t as Popover } from "./popover-CV48KL0e.js";
|
|
22
|
+
import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-jaFHISZ7.js";
|
|
23
|
+
import { a as SelectLabel, c as SelectSeparator, i as SelectItem, l as SelectTrigger, n as SelectContent, o as SelectScrollDownButton, r as SelectGroup, s as SelectScrollUpButton, t as Select, u as SelectValue } from "./select-C96xvMSx.js";
|
|
24
|
+
import { a as TagsInput, c as TagsTrigger, i as TagsGroup, l as TagsValue, n as TagsContent, o as TagsItem, r as TagsEmpty, s as TagsList, t as Tags } from "./tags-BnJCu0NQ.js";
|
|
25
|
+
import { a as TagsInputInLineList, i as TagsInputInLineLabel, n as TagsInputInLineInput, o as TagsInputInLineRoot, r as TagsInputInLineItem, t as TagsInputInLineClear } from "./tags-input-inline-DnEu3Dyw.js";
|
|
26
|
+
import { a as SheetFooter, c as SheetTrigger, i as SheetDescription, n as SheetClose, o as SheetHeader, r as SheetContent, s as SheetTitle, t as Sheet } from "./sheet-BlZGrRNt.js";
|
|
27
|
+
import { t as Slider } from "./slider-CdK5O4pc.js";
|
|
28
|
+
import { t as Switch } from "./switch-Bz5Iiy2_.js";
|
|
29
|
+
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "./tabs-BjolTUEI.js";
|
|
30
|
+
import { t as Textarea } from "./textarea-BNZyZgAM.js";
|
|
31
|
+
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "./tooltip-CuYs-__e.js";
|
|
32
|
+
|
|
33
|
+
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, FileUploadClear as Clear, FileUploadClear, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FileUploadDropzone as Dropzone, FileUploadDropzone, FileUploadRoot as FileUpload, FileUploadRoot as Root, FileUploadItem, FileUploadItem as Item, FileUploadItemDelete, FileUploadItemDelete as ItemDelete, FileUploadItemMetadata, FileUploadItemMetadata as ItemMetadata, FileUploadItemPreview, FileUploadItemPreview as ItemPreview, FileUploadItemProgress, FileUploadItemProgress as ItemProgress, FileUploadList, FileUploadList as List, FileUploadTrigger, FileUploadTrigger as Trigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Input, Label, OrContinueWithSeparator, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Slider, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Tags, TagsContent, TagsEmpty, TagsGroup, TagsInput, TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot, TagsItem, TagsList, TagsTrigger, TagsValue, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, useStore as useFileUpload, useFormField };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { n as __toESM, t as require_jsx_runtime } from "./jsx-runtime-CjFsk39Z.js";
|
|
2
|
+
import { t as cn } from "./utils-D2WOFi-N.js";
|
|
3
|
+
import "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/input.tsx
|
|
6
|
+
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime());
|
|
7
|
+
function Input({ className, type, ...props }) {
|
|
8
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", {
|
|
9
|
+
type,
|
|
10
|
+
"data-slot": "input",
|
|
11
|
+
className: cn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", className),
|
|
12
|
+
...props
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { Input as t };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime97 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ui/input.d.ts
|
|
5
|
+
declare function Input({
|
|
6
|
+
className,
|
|
7
|
+
type,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<'input'>): react_jsx_runtime97.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Input as t };
|