@pixpilot/shadcn 0.1.3 → 0.1.4
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-ygHlSc0_.d.ts +795 -0
- package/dist/index.js +2276 -30
- package/package.json +7 -15
- package/dist/OrContinueWithSeparator-BDH-vep4.d.ts +0 -11
- package/dist/OrContinueWithSeparator-CkITP0NT.js +0 -27
- package/dist/alert-CKr0C0yG.d.ts +0 -24
- package/dist/alert-DgTy4F7t.js +0 -38
- package/dist/alert-dialog-BIYOf1qe.d.ts +0 -48
- package/dist/avatar-DomHDuSM.d.ts +0 -19
- package/dist/avatar-ggnaPAdx.js +0 -30
- package/dist/badge-DaNELwZ4.d.ts +0 -19
- package/dist/badge-OxgStuN-.js +0 -26
- package/dist/button-Ct22vvF2.js +0 -45
- package/dist/button-Qk5_S2q2.d.ts +0 -21
- package/dist/calendar-CtMOHJjw.d.ts +0 -26
- package/dist/calendar-SVLTPCYN.js +0 -106
- package/dist/card-7m__j7pN.d.ts +0 -34
- package/dist/card-mGJMSXR3.js +0 -57
- package/dist/checkbox-C2ohGs66.d.ts +0 -11
- package/dist/checkbox-Car6S-YU.js +0 -22
- package/dist/command-Bh0lIHth.js +0 -87
- package/dist/command-J-Z7237Z.d.ts +0 -52
- package/dist/components/index-CjxDeDgS.d.ts +0 -30
- package/dist/components/index.js +0 -32
- package/dist/components/ui/OrContinueWithSeparator-CHwqvVjX.d.ts +0 -2
- package/dist/components/ui/OrContinueWithSeparator.js +0 -6
- package/dist/components/ui/alert-1G0clvys.d.ts +0 -2
- package/dist/components/ui/alert-dialog-B4l6hBX8.d.ts +0 -2
- package/dist/components/ui/alert-dialog.js +0 -34
- package/dist/components/ui/alert.js +0 -5
- package/dist/components/ui/avatar-utP6R-Uq.d.ts +0 -2
- package/dist/components/ui/avatar.js +0 -5
- package/dist/components/ui/badge-DwySSPk7.d.ts +0 -2
- package/dist/components/ui/badge.js +0 -5
- package/dist/components/ui/button-fWXid_Jg.d.ts +0 -2
- package/dist/components/ui/button.js +0 -5
- package/dist/components/ui/calendar-DxgOZaJG.d.ts +0 -2
- package/dist/components/ui/calendar.js +0 -6
- package/dist/components/ui/card-CEc4KDWR.d.ts +0 -2
- package/dist/components/ui/card.js +0 -5
- package/dist/components/ui/checkbox-Db1hdfQh.d.ts +0 -2
- package/dist/components/ui/checkbox.js +0 -7
- package/dist/components/ui/command-D5yDsetf.d.ts +0 -2
- package/dist/components/ui/command.js +0 -8
- package/dist/components/ui/dialog-C9hWg6Jo.d.ts +0 -2
- package/dist/components/ui/dialog.js +0 -5
- package/dist/components/ui/dropdown-menu-CZQe3gdP.d.ts +0 -2
- package/dist/components/ui/dropdown-menu.js +0 -5
- package/dist/components/ui/file-upload-DE4ndg6D.d.ts +0 -2
- package/dist/components/ui/file-upload.js +0 -7
- package/dist/components/ui/form-_IonQq2g.d.ts +0 -2
- package/dist/components/ui/form.js +0 -6
- package/dist/components/ui/index-ByU7Ea3g.d.ts +0 -30
- package/dist/components/ui/index.js +0 -32
- package/dist/components/ui/input-nIiKz0t3.d.ts +0 -2
- package/dist/components/ui/input.js +0 -5
- package/dist/components/ui/label-DcYFARJv.d.ts +0 -2
- package/dist/components/ui/label.js +0 -5
- package/dist/components/ui/pagination-BzA2nvm7.d.ts +0 -2
- package/dist/components/ui/pagination.js +0 -32
- package/dist/components/ui/popover-CWkbXPIs.d.ts +0 -2
- package/dist/components/ui/popover.js +0 -5
- package/dist/components/ui/radio-group-B8uVaLcH.d.ts +0 -2
- package/dist/components/ui/radio-group.js +0 -5
- package/dist/components/ui/select-Thz3wmNR.d.ts +0 -2
- package/dist/components/ui/select.js +0 -7
- package/dist/components/ui/separator-nDjbz769.d.ts +0 -2
- package/dist/components/ui/separator.js +0 -5
- package/dist/components/ui/shadcn-io/tags/index-ByG1DLSH.d.ts +0 -2
- package/dist/components/ui/shadcn-io/tags/index.js +0 -12
- package/dist/components/ui/shadcn-io/tags-input-inline/index-Z-lSeFdH.d.ts +0 -2
- package/dist/components/ui/shadcn-io/tags-input-inline/index.js +0 -4
- package/dist/components/ui/sheet-DG1hOjV0.d.ts +0 -2
- package/dist/components/ui/sheet.js +0 -5
- package/dist/components/ui/slider-BQpp3iiy.d.ts +0 -2
- package/dist/components/ui/slider.js +0 -5
- package/dist/components/ui/switch-nWOTZVXx.d.ts +0 -2
- package/dist/components/ui/switch.js +0 -7
- package/dist/components/ui/tabs-k3ha4bbs.d.ts +0 -2
- package/dist/components/ui/tabs.js +0 -5
- package/dist/components/ui/textarea-BV_2NNxa.d.ts +0 -2
- package/dist/components/ui/textarea.js +0 -5
- package/dist/components/ui/tooltip--Q9yXR4z.d.ts +0 -2
- package/dist/components/ui/tooltip.js +0 -5
- package/dist/dialog-GHzqCUyY.d.ts +0 -47
- package/dist/dialog-O7j71U82.js +0 -87
- package/dist/dropdown-menu-B7IpNRT1.d.ts +0 -77
- package/dist/dropdown-menu-ChXZkLy7.js +0 -124
- package/dist/file-upload-DPXO1W1r.js +0 -906
- package/dist/file-upload-DtI7t48f.d.ts +0 -94
- package/dist/form-B1wa9dSK.d.ts +0 -45
- package/dist/form-DITfwajn.js +0 -88
- package/dist/index-BBg42y-x.d.ts +0 -31
- package/dist/index-CCggO_hw.d.ts +0 -1
- package/dist/index-CbEoBXve.d.ts +0 -39
- package/dist/index-DAxEKRyQ.d.ts +0 -31
- package/dist/index-nhYidbaI.d.ts +0 -70
- package/dist/input-BOo0lKrd.d.ts +0 -11
- package/dist/input-Yyz-T5fE.js +0 -16
- package/dist/label-CAjd9Y0A.js +0 -16
- package/dist/label-VBeDhZRS.d.ts +0 -11
- package/dist/lib/index-BBZGfoI7.d.ts +0 -2
- package/dist/lib/index.js +0 -4
- package/dist/lib/utils-COdFh0eZ.d.ts +0 -2
- package/dist/lib/utils.js +0 -3
- package/dist/lib-IiLuXmGR.js +0 -0
- package/dist/popover-B6K6dK1G.js +0 -36
- package/dist/popover-BSOEEHRm.d.ts +0 -22
- package/dist/radio-group-2z7Wk4bX.d.ts +0 -15
- package/dist/radio-group-CN-7YDqF.js +0 -29
- package/dist/select-BLcUSgPc.d.ts +0 -52
- package/dist/select-D1s3F0et.js +0 -98
- package/dist/separator-BVBCxKBW.js +0 -18
- package/dist/separator-CQdurlbm.d.ts +0 -13
- package/dist/sheet-BBjl1baR.d.ts +0 -40
- package/dist/sheet-DrR3eH28.js +0 -83
- package/dist/slider-BlL5lT8d.js +0 -37
- package/dist/slider-CYGuuC8k.d.ts +0 -15
- package/dist/src-8ePG_tPo.js +0 -156
- package/dist/switch-BXSa0MEU.js +0 -20
- package/dist/switch-Y5FN07nj.d.ts +0 -11
- package/dist/tabs-C-Tv9y7L.d.ts +0 -23
- package/dist/tabs-DbvqqMZV.js +0 -37
- package/dist/tags-BACevgr_.js +0 -130
- package/dist/tags-input-inline-Bz5h19zx.js +0 -57
- package/dist/textarea-C3eFh4Vd.d.ts +0 -10
- package/dist/textarea-DTGK7cx-.js +0 -15
- package/dist/tooltip-CGDnGnPt.d.ts +0 -23
- package/dist/tooltip-CX3NbXUu.js +0 -37
- package/dist/utils-Bgl9doaU.d.ts +0 -6
- package/dist/utils-CeuVg6RA.js +0 -10
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime19 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_runtime19.JSX.Element;
|
|
48
|
-
interface FileUploadDropzoneProps extends React.ComponentProps<'div'> {
|
|
49
|
-
asChild?: boolean;
|
|
50
|
-
}
|
|
51
|
-
declare function FileUploadDropzone(props: FileUploadDropzoneProps): react_jsx_runtime19.JSX.Element;
|
|
52
|
-
interface FileUploadTriggerProps extends React.ComponentProps<'button'> {
|
|
53
|
-
asChild?: boolean;
|
|
54
|
-
}
|
|
55
|
-
declare function FileUploadTrigger(props: FileUploadTriggerProps): react_jsx_runtime19.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_runtime19.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_runtime19.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_runtime19.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_runtime19.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_runtime19.JSX.Element | null;
|
|
84
|
-
interface FileUploadItemDeleteProps extends React.ComponentProps<'button'> {
|
|
85
|
-
asChild?: boolean;
|
|
86
|
-
}
|
|
87
|
-
declare function FileUploadItemDelete(props: FileUploadItemDeleteProps): react_jsx_runtime19.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_runtime19.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 };
|
package/dist/form-B1wa9dSK.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime132 from "react/jsx-runtime";
|
|
3
|
-
import { Slot } from "@radix-ui/react-slot";
|
|
4
|
-
import * as react_hook_form0 from "react-hook-form";
|
|
5
|
-
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
6
|
-
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
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_runtime132.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_runtime132.JSX.Element;
|
|
29
|
-
declare function FormLabel({
|
|
30
|
-
className,
|
|
31
|
-
...props
|
|
32
|
-
}: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime132.JSX.Element;
|
|
33
|
-
declare function FormControl({
|
|
34
|
-
...props
|
|
35
|
-
}: React.ComponentProps<typeof Slot>): react_jsx_runtime132.JSX.Element;
|
|
36
|
-
declare function FormDescription({
|
|
37
|
-
className,
|
|
38
|
-
...props
|
|
39
|
-
}: React.ComponentProps<'p'>): react_jsx_runtime132.JSX.Element;
|
|
40
|
-
declare function FormMessage({
|
|
41
|
-
className,
|
|
42
|
-
...props
|
|
43
|
-
}: React.ComponentProps<'p'>): react_jsx_runtime132.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 };
|
package/dist/form-DITfwajn.js
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
2
|
-
import { t as Label } from "./label-CAjd9Y0A.js";
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
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
|
-
const Form = FormProvider;
|
|
10
|
-
const FormFieldContext = React.createContext({});
|
|
11
|
-
function FormField({ ...props }) {
|
|
12
|
-
return /* @__PURE__ */ jsx(FormFieldContext, {
|
|
13
|
-
value: { name: props.name },
|
|
14
|
-
children: /* @__PURE__ */ jsx(Controller, { ...props })
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
function useFormField() {
|
|
18
|
-
const fieldContext = React.use(FormFieldContext);
|
|
19
|
-
const itemContext = React.use(FormItemContext);
|
|
20
|
-
const { getFieldState } = useFormContext();
|
|
21
|
-
const formState = useFormState({ name: fieldContext.name });
|
|
22
|
-
const fieldState = getFieldState(fieldContext.name, formState);
|
|
23
|
-
if (!fieldContext) throw new Error("useFormField should be used within <FormField>");
|
|
24
|
-
const { id } = itemContext;
|
|
25
|
-
return {
|
|
26
|
-
id,
|
|
27
|
-
name: fieldContext.name,
|
|
28
|
-
formItemId: `${id}-form-item`,
|
|
29
|
-
formDescriptionId: `${id}-form-item-description`,
|
|
30
|
-
formMessageId: `${id}-form-item-message`,
|
|
31
|
-
...fieldState
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
const FormItemContext = React.createContext({});
|
|
35
|
-
function FormItem({ className, ...props }) {
|
|
36
|
-
return /* @__PURE__ */ jsx(FormItemContext, {
|
|
37
|
-
value: { id: React.useId() },
|
|
38
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
39
|
-
"data-slot": "form-item",
|
|
40
|
-
className: cn("grid gap-2", className),
|
|
41
|
-
...props
|
|
42
|
-
})
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
function FormLabel({ className, ...props }) {
|
|
46
|
-
const { error, formItemId } = useFormField();
|
|
47
|
-
return /* @__PURE__ */ jsx(Label, {
|
|
48
|
-
"data-slot": "form-label",
|
|
49
|
-
"data-error": Boolean(error),
|
|
50
|
-
className: cn("data-[error=true]:text-destructive", className),
|
|
51
|
-
htmlFor: formItemId,
|
|
52
|
-
...props
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
function FormControl({ ...props }) {
|
|
56
|
-
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
57
|
-
return /* @__PURE__ */ jsx(Slot, {
|
|
58
|
-
"data-slot": "form-control",
|
|
59
|
-
id: formItemId,
|
|
60
|
-
"aria-describedby": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`,
|
|
61
|
-
"aria-invalid": Boolean(error),
|
|
62
|
-
...props
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function FormDescription({ className, ...props }) {
|
|
66
|
-
const { formDescriptionId } = useFormField();
|
|
67
|
-
return /* @__PURE__ */ jsx("p", {
|
|
68
|
-
"data-slot": "form-description",
|
|
69
|
-
id: formDescriptionId,
|
|
70
|
-
className: cn("text-muted-foreground text-sm", className),
|
|
71
|
-
...props
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
function FormMessage({ className, ...props }) {
|
|
75
|
-
const { error, formMessageId } = useFormField();
|
|
76
|
-
const body = error ? String(error?.message ?? "") : props.children;
|
|
77
|
-
if (!body) return null;
|
|
78
|
-
return /* @__PURE__ */ jsx("p", {
|
|
79
|
-
"data-slot": "form-message",
|
|
80
|
-
id: formMessageId,
|
|
81
|
-
className: cn("text-destructive text-sm", className),
|
|
82
|
-
...props,
|
|
83
|
-
children: body
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
//#endregion
|
|
88
|
-
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 };
|
package/dist/index-BBg42y-x.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { n as AlertDescription, r as AlertTitle, t as Alert } from "./alert-CKr0C0yG.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-BIYOf1qe.js";
|
|
3
|
-
import { n as AvatarFallback, r as AvatarImage, t as Avatar } from "./avatar-DomHDuSM.js";
|
|
4
|
-
import { n as badgeVariants, t as Badge } from "./badge-DaNELwZ4.js";
|
|
5
|
-
import { n as buttonVariants, t as Button } from "./button-Qk5_S2q2.js";
|
|
6
|
-
import { n as CalendarDayButton, t as Calendar } from "./calendar-CtMOHJjw.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-7m__j7pN.js";
|
|
8
|
-
import { t as Checkbox } from "./checkbox-C2ohGs66.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-GHzqCUyY.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-J-Z7237Z.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-B7IpNRT1.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-DtI7t48f.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-B1wa9dSK.js";
|
|
14
|
-
import { t as Input } from "./input-BOo0lKrd.js";
|
|
15
|
-
import { t as Label } from "./label-VBeDhZRS.js";
|
|
16
|
-
import { t as OrContinueWithSeparator } from "./OrContinueWithSeparator-BDH-vep4.js";
|
|
17
|
-
import { t as cn } from "./utils-Bgl9doaU.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-CbEoBXve.js";
|
|
19
|
-
import { i as PopoverTrigger, n as PopoverAnchor, r as PopoverContent, t as Popover } from "./popover-BSOEEHRm.js";
|
|
20
|
-
import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-2z7Wk4bX.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-BLcUSgPc.js";
|
|
22
|
-
import { t as Separator } from "./separator-CQdurlbm.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-nhYidbaI.js";
|
|
24
|
-
import { a as TagsInputInLineList, i as TagsInputInLineLabel, n as TagsInputInLineInput, o as TagsInputInLineRoot, r as TagsInputInLineItem, t as TagsInputInLineClear } from "./index-DAxEKRyQ.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-BBjl1baR.js";
|
|
26
|
-
import { t as Slider } from "./slider-CYGuuC8k.js";
|
|
27
|
-
import { t as Switch } from "./switch-Y5FN07nj.js";
|
|
28
|
-
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "./tabs-C-Tv9y7L.js";
|
|
29
|
-
import { t as Textarea } from "./textarea-C3eFh4Vd.js";
|
|
30
|
-
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "./tooltip-CGDnGnPt.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 };
|
package/dist/index-CCggO_hw.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/index-CbEoBXve.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { t as Button } from "./button-Qk5_S2q2.js";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import * as react_jsx_runtime90 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_runtime90.JSX.Element;
|
|
10
|
-
declare function PaginationContent({
|
|
11
|
-
className,
|
|
12
|
-
...props
|
|
13
|
-
}: React.ComponentProps<'ul'>): react_jsx_runtime90.JSX.Element;
|
|
14
|
-
declare function PaginationItem({
|
|
15
|
-
...props
|
|
16
|
-
}: React.ComponentProps<'li'>): react_jsx_runtime90.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_runtime90.JSX.Element;
|
|
26
|
-
declare function PaginationPrevious({
|
|
27
|
-
className,
|
|
28
|
-
...props
|
|
29
|
-
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime90.JSX.Element;
|
|
30
|
-
declare function PaginationNext({
|
|
31
|
-
className,
|
|
32
|
-
...props
|
|
33
|
-
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime90.JSX.Element;
|
|
34
|
-
declare function PaginationEllipsis({
|
|
35
|
-
className,
|
|
36
|
-
...props
|
|
37
|
-
}: React.ComponentProps<'span'>): react_jsx_runtime90.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 };
|
package/dist/index-DAxEKRyQ.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
|
-
import * as TagsInputPrimitive from "@diceui/tags-input";
|
|
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_runtime13.JSX.Element;
|
|
10
|
-
declare function TagsInputInLineLabel({
|
|
11
|
-
className,
|
|
12
|
-
...props
|
|
13
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Label>): react_jsx_runtime13.JSX.Element;
|
|
14
|
-
declare function TagsInputInLineList({
|
|
15
|
-
className,
|
|
16
|
-
...props
|
|
17
|
-
}: React.ComponentProps<'div'>): react_jsx_runtime13.JSX.Element;
|
|
18
|
-
declare function TagsInputInLineInput({
|
|
19
|
-
className,
|
|
20
|
-
...props
|
|
21
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Input>): react_jsx_runtime13.JSX.Element;
|
|
22
|
-
declare function TagsInputInLineItem({
|
|
23
|
-
className,
|
|
24
|
-
children,
|
|
25
|
-
...props
|
|
26
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Item>): react_jsx_runtime13.JSX.Element;
|
|
27
|
-
declare function TagsInputInLineClear({
|
|
28
|
-
...props
|
|
29
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>): react_jsx_runtime13.JSX.Element;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { TagsInputInLineList as a, TagsInputInLineLabel as i, TagsInputInLineInput as n, TagsInputInLineRoot as o, TagsInputInLineItem as r, TagsInputInLineClear as t };
|
package/dist/index-nhYidbaI.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { t as Badge } from "./badge-DaNELwZ4.js";
|
|
2
|
-
import { t as Button } from "./button-Qk5_S2q2.js";
|
|
3
|
-
import { a as CommandInput, i as CommandGroup, o as CommandItem, r as CommandEmpty, s as CommandList } from "./command-J-Z7237Z.js";
|
|
4
|
-
import { r as PopoverContent } from "./popover-BSOEEHRm.js";
|
|
5
|
-
import { ComponentProps, ReactNode } from "react";
|
|
6
|
-
import * as react_jsx_runtime33 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_runtime33.JSX.Element;
|
|
25
|
-
type TagsTriggerProps = ComponentProps<typeof Button>;
|
|
26
|
-
declare function TagsTrigger({
|
|
27
|
-
className,
|
|
28
|
-
children,
|
|
29
|
-
...props
|
|
30
|
-
}: TagsTriggerProps): react_jsx_runtime33.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_runtime33.JSX.Element;
|
|
40
|
-
type TagsContentProps = ComponentProps<typeof PopoverContent>;
|
|
41
|
-
declare function TagsContent({
|
|
42
|
-
className,
|
|
43
|
-
children,
|
|
44
|
-
...props
|
|
45
|
-
}: TagsContentProps): react_jsx_runtime33.JSX.Element;
|
|
46
|
-
type TagsInputProps = ComponentProps<typeof CommandInput>;
|
|
47
|
-
declare function TagsInput({
|
|
48
|
-
className,
|
|
49
|
-
...props
|
|
50
|
-
}: TagsInputProps): react_jsx_runtime33.JSX.Element;
|
|
51
|
-
type TagsListProps = ComponentProps<typeof CommandList>;
|
|
52
|
-
declare function TagsList({
|
|
53
|
-
className,
|
|
54
|
-
...props
|
|
55
|
-
}: TagsListProps): react_jsx_runtime33.JSX.Element;
|
|
56
|
-
type TagsEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
57
|
-
declare function TagsEmpty({
|
|
58
|
-
children,
|
|
59
|
-
className,
|
|
60
|
-
...props
|
|
61
|
-
}: TagsEmptyProps): react_jsx_runtime33.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_runtime33.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/input-BOo0lKrd.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
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 };
|
package/dist/input-Yyz-T5fE.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/input.tsx
|
|
6
|
-
function Input({ className, type, ...props }) {
|
|
7
|
-
return /* @__PURE__ */ jsx("input", {
|
|
8
|
-
type,
|
|
9
|
-
"data-slot": "input",
|
|
10
|
-
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),
|
|
11
|
-
...props
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
export { Input as t };
|
package/dist/label-CAjd9Y0A.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
5
|
-
|
|
6
|
-
//#region src/components/ui/label.tsx
|
|
7
|
-
function Label({ className, ...props }) {
|
|
8
|
-
return /* @__PURE__ */ jsx(LabelPrimitive.Root, {
|
|
9
|
-
"data-slot": "label",
|
|
10
|
-
className: cn("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", className),
|
|
11
|
-
...props
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
export { Label as t };
|
package/dist/label-VBeDhZRS.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime107 from "react/jsx-runtime";
|
|
3
|
-
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/label.d.ts
|
|
6
|
-
declare function Label({
|
|
7
|
-
className,
|
|
8
|
-
...props
|
|
9
|
-
}: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime107.JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { Label as t };
|
package/dist/lib/index.js
DELETED
package/dist/lib/utils.js
DELETED
package/dist/lib-IiLuXmGR.js
DELETED
|
File without changes
|
package/dist/popover-B6K6dK1G.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
5
|
-
|
|
6
|
-
//#region src/components/ui/popover.tsx
|
|
7
|
-
function Popover({ ...props }) {
|
|
8
|
-
return /* @__PURE__ */ jsx(PopoverPrimitive.Root, {
|
|
9
|
-
"data-slot": "popover",
|
|
10
|
-
...props
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
function PopoverTrigger({ ...props }) {
|
|
14
|
-
return /* @__PURE__ */ jsx(PopoverPrimitive.Trigger, {
|
|
15
|
-
"data-slot": "popover-trigger",
|
|
16
|
-
...props
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
function PopoverContent({ className, align = "center", sideOffset = 4, ...props }) {
|
|
20
|
-
return /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(PopoverPrimitive.Content, {
|
|
21
|
-
"data-slot": "popover-content",
|
|
22
|
-
align,
|
|
23
|
-
sideOffset,
|
|
24
|
-
className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", className),
|
|
25
|
-
...props
|
|
26
|
-
}) });
|
|
27
|
-
}
|
|
28
|
-
function PopoverAnchor({ ...props }) {
|
|
29
|
-
return /* @__PURE__ */ jsx(PopoverPrimitive.Anchor, {
|
|
30
|
-
"data-slot": "popover-anchor",
|
|
31
|
-
...props
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
//#endregion
|
|
36
|
-
export { PopoverTrigger as i, PopoverAnchor as n, PopoverContent as r, Popover as t };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime108 from "react/jsx-runtime";
|
|
3
|
-
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/popover.d.ts
|
|
6
|
-
declare function Popover({
|
|
7
|
-
...props
|
|
8
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime108.JSX.Element;
|
|
9
|
-
declare function PopoverTrigger({
|
|
10
|
-
...props
|
|
11
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime108.JSX.Element;
|
|
12
|
-
declare function PopoverContent({
|
|
13
|
-
className,
|
|
14
|
-
align,
|
|
15
|
-
sideOffset,
|
|
16
|
-
...props
|
|
17
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime108.JSX.Element;
|
|
18
|
-
declare function PopoverAnchor({
|
|
19
|
-
...props
|
|
20
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime108.JSX.Element;
|
|
21
|
-
//#endregion
|
|
22
|
-
export { PopoverTrigger as i, PopoverAnchor as n, PopoverContent as r, Popover as t };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime42 from "react/jsx-runtime";
|
|
3
|
-
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/radio-group.d.ts
|
|
6
|
-
declare function RadioGroup({
|
|
7
|
-
className,
|
|
8
|
-
...props
|
|
9
|
-
}: React.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime42.JSX.Element;
|
|
10
|
-
declare function RadioGroupItem({
|
|
11
|
-
className,
|
|
12
|
-
...props
|
|
13
|
-
}: React.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime42.JSX.Element;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { RadioGroupItem as n, RadioGroup as t };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { CircleIcon } from "lucide-react";
|
|
5
|
-
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
6
|
-
|
|
7
|
-
//#region src/components/ui/radio-group.tsx
|
|
8
|
-
function RadioGroup({ className, ...props }) {
|
|
9
|
-
return /* @__PURE__ */ jsx(RadioGroupPrimitive.Root, {
|
|
10
|
-
"data-slot": "radio-group",
|
|
11
|
-
className: cn("grid gap-3", className),
|
|
12
|
-
...props
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
function RadioGroupItem({ className, ...props }) {
|
|
16
|
-
return /* @__PURE__ */ jsx(RadioGroupPrimitive.Item, {
|
|
17
|
-
"data-slot": "radio-group-item",
|
|
18
|
-
className: cn("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
19
|
-
...props,
|
|
20
|
-
children: /* @__PURE__ */ jsx(RadioGroupPrimitive.Indicator, {
|
|
21
|
-
"data-slot": "radio-group-indicator",
|
|
22
|
-
className: "relative flex items-center justify-center",
|
|
23
|
-
children: /* @__PURE__ */ jsx(CircleIcon, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
|
|
24
|
-
})
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
//#endregion
|
|
29
|
-
export { RadioGroupItem as n, RadioGroup as t };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime112 from "react/jsx-runtime";
|
|
3
|
-
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/select.d.ts
|
|
6
|
-
declare function Select({
|
|
7
|
-
...props
|
|
8
|
-
}: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime112.JSX.Element;
|
|
9
|
-
declare function SelectGroup({
|
|
10
|
-
...props
|
|
11
|
-
}: React.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime112.JSX.Element;
|
|
12
|
-
declare function SelectValue({
|
|
13
|
-
...props
|
|
14
|
-
}: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime112.JSX.Element;
|
|
15
|
-
declare function SelectTrigger({
|
|
16
|
-
className,
|
|
17
|
-
size,
|
|
18
|
-
children,
|
|
19
|
-
...props
|
|
20
|
-
}: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
21
|
-
size?: 'sm' | 'default';
|
|
22
|
-
}): react_jsx_runtime112.JSX.Element;
|
|
23
|
-
declare function SelectContent({
|
|
24
|
-
className,
|
|
25
|
-
children,
|
|
26
|
-
position,
|
|
27
|
-
align,
|
|
28
|
-
...props
|
|
29
|
-
}: React.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime112.JSX.Element;
|
|
30
|
-
declare function SelectLabel({
|
|
31
|
-
className,
|
|
32
|
-
...props
|
|
33
|
-
}: React.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime112.JSX.Element;
|
|
34
|
-
declare function SelectItem({
|
|
35
|
-
className,
|
|
36
|
-
children,
|
|
37
|
-
...props
|
|
38
|
-
}: React.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime112.JSX.Element;
|
|
39
|
-
declare function SelectSeparator({
|
|
40
|
-
className,
|
|
41
|
-
...props
|
|
42
|
-
}: React.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime112.JSX.Element;
|
|
43
|
-
declare function SelectScrollUpButton({
|
|
44
|
-
className,
|
|
45
|
-
...props
|
|
46
|
-
}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime112.JSX.Element;
|
|
47
|
-
declare function SelectScrollDownButton({
|
|
48
|
-
className,
|
|
49
|
-
...props
|
|
50
|
-
}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime112.JSX.Element;
|
|
51
|
-
//#endregion
|
|
52
|
-
export { SelectLabel as a, SelectSeparator as c, SelectItem as i, SelectTrigger as l, SelectContent as n, SelectScrollDownButton as o, SelectGroup as r, SelectScrollUpButton as s, Select as t, SelectValue as u };
|