@pixpilot/shadcn 0.1.2 → 0.1.3
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/{OrContinueWithSeparator-BQalGx6O.d.ts → OrContinueWithSeparator-BDH-vep4.d.ts} +2 -2
- package/dist/OrContinueWithSeparator-CkITP0NT.js +27 -0
- package/dist/{alert-BDcOuBrO.d.ts → alert-CKr0C0yG.d.ts} +4 -4
- package/dist/{alert-DuQQzE0M.js → alert-DgTy4F7t.js} +5 -6
- package/dist/{alert-dialog-Iw5UG8d3.d.ts → alert-dialog-BIYOf1qe.d.ts} +1 -1
- package/dist/{avatar-BRZS2oIf.d.ts → avatar-DomHDuSM.d.ts} +4 -4
- package/dist/{avatar-DWlyZZC1.js → avatar-ggnaPAdx.js} +5 -6
- package/dist/{badge-Dwxq7JaA.d.ts → badge-DaNELwZ4.d.ts} +5 -5
- package/dist/{badge-ChGpGKfr.js → badge-OxgStuN-.js} +3 -4
- package/dist/{button-CoM3CepB.js → button-Ct22vvF2.js} +3 -4
- package/dist/{button-CSw4bOk7.d.ts → button-Qk5_S2q2.d.ts} +5 -5
- package/dist/{calendar-Vx7GBiN5.d.ts → calendar-CtMOHJjw.d.ts} +4 -4
- package/dist/{calendar-5J34tX7L.js → calendar-SVLTPCYN.js} +11 -12
- package/dist/{card-CN1Wv1_W.d.ts → card-7m__j7pN.d.ts} +8 -8
- package/dist/{card-Bf0-1Hox.js → card-mGJMSXR3.js} +9 -10
- package/dist/{checkbox-COC2Igpo.d.ts → checkbox-C2ohGs66.d.ts} +2 -2
- package/dist/{checkbox-ChqHvI5Y.js → checkbox-Car6S-YU.js} +5 -6
- package/dist/{command-BzJMrpFw.js → command-Bh0lIHth.js} +17 -18
- package/dist/{command-CJXf3-UR.d.ts → command-J-Z7237Z.d.ts} +11 -11
- package/dist/components/{index-2Smtu_1u.d.ts → index-CjxDeDgS.d.ts} +29 -29
- package/dist/components/index.js +30 -31
- package/dist/components/ui/{OrContinueWithSeparator-OYGOTHTw.d.ts → OrContinueWithSeparator-CHwqvVjX.d.ts} +1 -1
- package/dist/components/ui/OrContinueWithSeparator.js +4 -5
- package/dist/components/ui/alert-1G0clvys.d.ts +2 -0
- package/dist/components/ui/{alert-dialog-CUL8nAeI.d.ts → alert-dialog-B4l6hBX8.d.ts} +1 -1
- package/dist/components/ui/alert-dialog.js +30 -31
- package/dist/components/ui/alert.js +3 -4
- package/dist/components/ui/avatar-utP6R-Uq.d.ts +2 -0
- package/dist/components/ui/avatar.js +3 -4
- package/dist/components/ui/badge-DwySSPk7.d.ts +2 -0
- package/dist/components/ui/badge.js +3 -4
- package/dist/components/ui/button-fWXid_Jg.d.ts +2 -0
- package/dist/components/ui/button.js +3 -4
- package/dist/components/ui/{calendar-B9zfwi7H.d.ts → calendar-DxgOZaJG.d.ts} +1 -1
- package/dist/components/ui/calendar.js +4 -5
- package/dist/components/ui/{card-BYi1Jf3z.d.ts → card-CEc4KDWR.d.ts} +1 -1
- package/dist/components/ui/card.js +3 -4
- package/dist/components/ui/checkbox-Db1hdfQh.d.ts +2 -0
- package/dist/components/ui/checkbox.js +3 -4
- package/dist/components/ui/{command-BkXDbodx.d.ts → command-D5yDsetf.d.ts} +1 -1
- package/dist/components/ui/command.js +4 -5
- package/dist/components/ui/{dialog-BvEqiJH6.d.ts → dialog-C9hWg6Jo.d.ts} +1 -1
- package/dist/components/ui/dialog.js +3 -4
- package/dist/components/ui/{dropdown-menu-BJ2FNIH4.d.ts → dropdown-menu-CZQe3gdP.d.ts} +1 -1
- package/dist/components/ui/dropdown-menu.js +3 -4
- package/dist/components/ui/{file-upload-DZGaOzQS.d.ts → file-upload-DE4ndg6D.d.ts} +1 -1
- package/dist/components/ui/file-upload.js +3 -4
- package/dist/components/ui/{form-CpVuTht7.d.ts → form-_IonQq2g.d.ts} +1 -1
- package/dist/components/ui/form.js +4 -5
- package/dist/components/ui/{index-q7RUuYJ2.d.ts → index-ByU7Ea3g.d.ts} +29 -29
- package/dist/components/ui/index.js +30 -31
- package/dist/components/ui/input-nIiKz0t3.d.ts +2 -0
- package/dist/components/ui/input.js +3 -4
- package/dist/components/ui/label-DcYFARJv.d.ts +2 -0
- package/dist/components/ui/label.js +3 -4
- package/dist/components/ui/{pagination-CDtFyXkC.d.ts → pagination-BzA2nvm7.d.ts} +1 -1
- package/dist/components/ui/pagination.js +30 -31
- package/dist/components/ui/{popover-B6PDCy8U.d.ts → popover-CWkbXPIs.d.ts} +1 -1
- package/dist/components/ui/popover.js +3 -4
- package/dist/components/ui/{radio-group-DuGtPMcp.d.ts → radio-group-B8uVaLcH.d.ts} +1 -1
- package/dist/components/ui/radio-group.js +3 -4
- package/dist/components/ui/{select-DAN9r02Z.d.ts → select-Thz3wmNR.d.ts} +1 -1
- package/dist/components/ui/select.js +3 -4
- package/dist/components/ui/separator-nDjbz769.d.ts +2 -0
- package/dist/components/ui/separator.js +3 -4
- package/dist/components/ui/shadcn-io/tags/{index-CnMq6aeV.d.ts → index-ByG1DLSH.d.ts} +1 -1
- package/dist/components/ui/shadcn-io/tags/index.js +8 -9
- package/dist/components/ui/shadcn-io/tags-input-inline/{index-D7OIPdfu.d.ts → index-Z-lSeFdH.d.ts} +1 -1
- package/dist/components/ui/shadcn-io/tags-input-inline/index.js +2 -3
- package/dist/components/ui/{sheet-Bo7lvlRA.d.ts → sheet-DG1hOjV0.d.ts} +1 -1
- package/dist/components/ui/sheet.js +3 -4
- package/dist/components/ui/slider-BQpp3iiy.d.ts +2 -0
- package/dist/components/ui/slider.js +3 -4
- package/dist/components/ui/switch-nWOTZVXx.d.ts +2 -0
- package/dist/components/ui/switch.js +3 -4
- package/dist/components/ui/tabs-k3ha4bbs.d.ts +2 -0
- package/dist/components/ui/tabs.js +3 -4
- package/dist/components/ui/textarea-BV_2NNxa.d.ts +2 -0
- package/dist/components/ui/textarea.js +3 -4
- package/dist/components/ui/{tooltip-JdLdCVsY.d.ts → tooltip--Q9yXR4z.d.ts} +1 -1
- package/dist/components/ui/tooltip.js +3 -4
- package/dist/{dialog-a61KKgp5.d.ts → dialog-GHzqCUyY.d.ts} +11 -11
- package/dist/{dialog-CnHQjTPX.js → dialog-O7j71U82.js} +15 -16
- package/dist/{dropdown-menu-DTRzUFxv.d.ts → dropdown-menu-B7IpNRT1.d.ts} +16 -16
- package/dist/{dropdown-menu-BytmAQI6.js → dropdown-menu-ChXZkLy7.js} +22 -23
- package/dist/{file-upload-BEeMesnR.js → file-upload-DPXO1W1r.js} +36 -37
- package/dist/{file-upload-C38U9nyT.d.ts → file-upload-DtI7t48f.d.ts} +11 -11
- package/dist/{form-Cx2k120Z.d.ts → form-B1wa9dSK.d.ts} +7 -7
- package/dist/{form-BjnyYpgw.js → form-DITfwajn.js} +11 -12
- package/dist/{index-2apAhpYW.d.ts → index-BBg42y-x.d.ts} +30 -30
- package/dist/{index-B9p9Ocoz.d.ts → index-CbEoBXve.d.ts} +9 -9
- package/dist/{index-B6o0TAoD.d.ts → index-DAxEKRyQ.d.ts} +7 -7
- package/dist/{index-fkXKhUlW.d.ts → index-nhYidbaI.d.ts} +13 -13
- package/dist/index.js +30 -31
- package/dist/{input-DCWzuP_2.d.ts → input-BOo0lKrd.d.ts} +2 -2
- package/dist/{input-CUeyj64L.js → input-Yyz-T5fE.js} +3 -4
- package/dist/{label-DGznqsHm.js → label-CAjd9Y0A.js} +3 -4
- package/dist/{label-pEqCQKel.d.ts → label-VBeDhZRS.d.ts} +2 -2
- package/dist/lib/index-BBZGfoI7.d.ts +2 -0
- package/dist/lib/index.js +2 -2
- package/dist/lib/utils-COdFh0eZ.d.ts +2 -0
- package/dist/lib/utils.js +1 -1
- package/dist/lib-IiLuXmGR.js +0 -0
- package/dist/{popover-CV48KL0e.js → popover-B6K6dK1G.js} +6 -7
- package/dist/{popover-RnfYQfGo.d.ts → popover-BSOEEHRm.d.ts} +5 -5
- package/dist/{radio-group-BNj4EfLg.d.ts → radio-group-2z7Wk4bX.d.ts} +3 -3
- package/dist/{radio-group-jaFHISZ7.js → radio-group-CN-7YDqF.js} +6 -7
- package/dist/{select-B4b-ZC31.d.ts → select-BLcUSgPc.d.ts} +11 -11
- package/dist/{select-C96xvMSx.js → select-D1s3F0et.js} +22 -23
- package/dist/{separator-C71XEO3E.js → separator-BVBCxKBW.js} +3 -4
- package/dist/{separator-izY8KL7y.d.ts → separator-CQdurlbm.d.ts} +2 -2
- package/dist/{sheet-Dag7L2Xd.d.ts → sheet-BBjl1baR.d.ts} +9 -9
- package/dist/{sheet-BlZGrRNt.js → sheet-DrR3eH28.js} +14 -15
- package/dist/{slider-CdK5O4pc.js → slider-BlL5lT8d.js} +6 -7
- package/dist/{slider-DEUGdZC4.d.ts → slider-CYGuuC8k.d.ts} +2 -2
- package/dist/{src-DQlJgy1h.js → src-8ePG_tPo.js} +25 -26
- package/dist/{switch-Bz5Iiy2_.js → switch-BXSa0MEU.js} +4 -5
- package/dist/{switch-RbFzvnvM.d.ts → switch-Y5FN07nj.d.ts} +2 -2
- package/dist/{tabs-had5ildI.d.ts → tabs-C-Tv9y7L.d.ts} +5 -5
- package/dist/{tabs-BjolTUEI.js → tabs-DbvqqMZV.js} +6 -7
- package/dist/{tags-BnJCu0NQ.js → tags-BACevgr_.js} +22 -23
- package/dist/{tags-input-inline-DnEu3Dyw.js → tags-input-inline-Bz5h19zx.js} +11 -12
- package/dist/{textarea-s8H46Zg0.d.ts → textarea-C3eFh4Vd.d.ts} +2 -2
- package/dist/{textarea-BNZyZgAM.js → textarea-DTGK7cx-.js} +3 -4
- package/dist/{tooltip-CS40su1S.d.ts → tooltip-CGDnGnPt.d.ts} +5 -5
- package/dist/{tooltip-CuYs-__e.js → tooltip-CX3NbXUu.js} +7 -8
- package/package.json +1 -1
- package/dist/OrContinueWithSeparator-Cs96m5UB.js +0 -28
- package/dist/components/ui/alert-DuyLuX68.d.ts +0 -2
- package/dist/components/ui/avatar-DAQzpqqD.d.ts +0 -2
- package/dist/components/ui/badge-BM6RVFS5.d.ts +0 -2
- package/dist/components/ui/button-D9y8v_Tt.d.ts +0 -2
- package/dist/components/ui/checkbox-QkowwGnR.d.ts +0 -2
- package/dist/components/ui/input-DVpolrW-.d.ts +0 -2
- package/dist/components/ui/label-BW9JhwyW.d.ts +0 -2
- package/dist/components/ui/separator-D53tTv-J.d.ts +0 -2
- package/dist/components/ui/slider-lAthKpva.d.ts +0 -2
- package/dist/components/ui/switch-D7WzMqgv.d.ts +0 -2
- package/dist/components/ui/tabs-CnjGY6eE.d.ts +0 -2
- package/dist/components/ui/textarea-BJpu8fK5.d.ts +0 -2
- package/dist/jsx-runtime-CjFsk39Z.js +0 -274
- package/dist/lib/index-ChuxSUKt.d.ts +0 -2
- package/dist/lib/utils-45Ez8x6p.d.ts +0 -2
- package/dist/lib-B_fww26I.js +0 -1
- /package/dist/{index-CZUtOTjh.d.ts → index-CCggO_hw.d.ts} +0 -0
- /package/dist/{utils-_VBxPjie.d.ts → utils-Bgl9doaU.d.ts} +0 -0
- /package/dist/{utils-D2WOFi-N.js → utils-CeuVg6RA.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/file-upload.d.ts
|
|
5
5
|
type Direction = 'ltr' | 'rtl';
|
|
@@ -44,51 +44,51 @@ interface FileUploadRootProps extends Omit<React.ComponentProps<'div'>, 'default
|
|
|
44
44
|
multiple?: boolean;
|
|
45
45
|
required?: boolean;
|
|
46
46
|
}
|
|
47
|
-
declare function FileUploadRoot(props: FileUploadRootProps):
|
|
47
|
+
declare function FileUploadRoot(props: FileUploadRootProps): react_jsx_runtime19.JSX.Element;
|
|
48
48
|
interface FileUploadDropzoneProps extends React.ComponentProps<'div'> {
|
|
49
49
|
asChild?: boolean;
|
|
50
50
|
}
|
|
51
|
-
declare function FileUploadDropzone(props: FileUploadDropzoneProps):
|
|
51
|
+
declare function FileUploadDropzone(props: FileUploadDropzoneProps): react_jsx_runtime19.JSX.Element;
|
|
52
52
|
interface FileUploadTriggerProps extends React.ComponentProps<'button'> {
|
|
53
53
|
asChild?: boolean;
|
|
54
54
|
}
|
|
55
|
-
declare function FileUploadTrigger(props: FileUploadTriggerProps):
|
|
55
|
+
declare function FileUploadTrigger(props: FileUploadTriggerProps): react_jsx_runtime19.JSX.Element;
|
|
56
56
|
interface FileUploadListProps extends React.ComponentProps<'div'> {
|
|
57
57
|
orientation?: 'horizontal' | 'vertical';
|
|
58
58
|
asChild?: boolean;
|
|
59
59
|
forceMount?: boolean;
|
|
60
60
|
}
|
|
61
|
-
declare function FileUploadList(props: FileUploadListProps):
|
|
61
|
+
declare function FileUploadList(props: FileUploadListProps): react_jsx_runtime19.JSX.Element | null;
|
|
62
62
|
interface FileUploadItemProps extends React.ComponentProps<'div'> {
|
|
63
63
|
value: File;
|
|
64
64
|
asChild?: boolean;
|
|
65
65
|
}
|
|
66
|
-
declare function FileUploadItem(props: FileUploadItemProps):
|
|
66
|
+
declare function FileUploadItem(props: FileUploadItemProps): react_jsx_runtime19.JSX.Element | null;
|
|
67
67
|
interface FileUploadItemPreviewProps extends React.ComponentProps<'div'> {
|
|
68
68
|
render?: (file: File, fallback: () => React.ReactNode) => React.ReactNode;
|
|
69
69
|
asChild?: boolean;
|
|
70
70
|
}
|
|
71
|
-
declare function FileUploadItemPreview(props: FileUploadItemPreviewProps):
|
|
71
|
+
declare function FileUploadItemPreview(props: FileUploadItemPreviewProps): react_jsx_runtime19.JSX.Element | null;
|
|
72
72
|
interface FileUploadItemMetadataProps extends React.ComponentProps<'div'> {
|
|
73
73
|
asChild?: boolean;
|
|
74
74
|
size?: 'default' | 'sm';
|
|
75
75
|
}
|
|
76
|
-
declare function FileUploadItemMetadata(props: FileUploadItemMetadataProps):
|
|
76
|
+
declare function FileUploadItemMetadata(props: FileUploadItemMetadataProps): react_jsx_runtime19.JSX.Element | null;
|
|
77
77
|
interface FileUploadItemProgressProps extends React.ComponentProps<'div'> {
|
|
78
78
|
variant?: 'linear' | 'circular' | 'fill';
|
|
79
79
|
size?: number;
|
|
80
80
|
asChild?: boolean;
|
|
81
81
|
forceMount?: boolean;
|
|
82
82
|
}
|
|
83
|
-
declare function FileUploadItemProgress(props: FileUploadItemProgressProps):
|
|
83
|
+
declare function FileUploadItemProgress(props: FileUploadItemProgressProps): react_jsx_runtime19.JSX.Element | null;
|
|
84
84
|
interface FileUploadItemDeleteProps extends React.ComponentProps<'button'> {
|
|
85
85
|
asChild?: boolean;
|
|
86
86
|
}
|
|
87
|
-
declare function FileUploadItemDelete(props: FileUploadItemDeleteProps):
|
|
87
|
+
declare function FileUploadItemDelete(props: FileUploadItemDeleteProps): react_jsx_runtime19.JSX.Element | null;
|
|
88
88
|
interface FileUploadClearProps extends React.ComponentProps<'button'> {
|
|
89
89
|
forceMount?: boolean;
|
|
90
90
|
asChild?: boolean;
|
|
91
91
|
}
|
|
92
|
-
declare function FileUploadClear(props: FileUploadClearProps):
|
|
92
|
+
declare function FileUploadClear(props: FileUploadClearProps): react_jsx_runtime19.JSX.Element | null;
|
|
93
93
|
//#endregion
|
|
94
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 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime132 from "react/jsx-runtime";
|
|
2
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
3
4
|
import * as react_hook_form0 from "react-hook-form";
|
|
4
5
|
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
5
6
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
6
|
-
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/components/ui/form.d.ts
|
|
9
9
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
10
10
|
declare function FormField<TFieldValues$1 extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues$1> = FieldPath<TFieldValues$1>>({
|
|
11
11
|
...props
|
|
12
|
-
}: ControllerProps<TFieldValues$1, TName>):
|
|
12
|
+
}: ControllerProps<TFieldValues$1, TName>): react_jsx_runtime132.JSX.Element;
|
|
13
13
|
declare function useFormField(): {
|
|
14
14
|
invalid: boolean;
|
|
15
15
|
isDirty: boolean;
|
|
@@ -25,21 +25,21 @@ declare function useFormField(): {
|
|
|
25
25
|
declare function FormItem({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<'div'>):
|
|
28
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime132.JSX.Element;
|
|
29
29
|
declare function FormLabel({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<typeof LabelPrimitive.Root>):
|
|
32
|
+
}: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime132.JSX.Element;
|
|
33
33
|
declare function FormControl({
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof Slot>):
|
|
35
|
+
}: React.ComponentProps<typeof Slot>): react_jsx_runtime132.JSX.Element;
|
|
36
36
|
declare function FormDescription({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<'p'>):
|
|
39
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime132.JSX.Element;
|
|
40
40
|
declare function FormMessage({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<'p'>):
|
|
43
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime132.JSX.Element | null;
|
|
44
44
|
//#endregion
|
|
45
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 };
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as Label } from "./label-DGznqsHm.js";
|
|
1
|
+
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
2
|
+
import { t as Label } from "./label-CAjd9Y0A.js";
|
|
4
3
|
import * as React from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { Slot } from "@radix-ui/react-slot";
|
|
6
6
|
import { Controller, FormProvider, useFormContext, useFormState } from "react-hook-form";
|
|
7
7
|
|
|
8
8
|
//#region src/components/ui/form.tsx
|
|
9
|
-
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime());
|
|
10
9
|
const Form = FormProvider;
|
|
11
10
|
const FormFieldContext = React.createContext({});
|
|
12
11
|
function FormField({ ...props }) {
|
|
13
|
-
return /* @__PURE__ */
|
|
12
|
+
return /* @__PURE__ */ jsx(FormFieldContext, {
|
|
14
13
|
value: { name: props.name },
|
|
15
|
-
children: /* @__PURE__ */
|
|
14
|
+
children: /* @__PURE__ */ jsx(Controller, { ...props })
|
|
16
15
|
});
|
|
17
16
|
}
|
|
18
17
|
function useFormField() {
|
|
@@ -34,9 +33,9 @@ function useFormField() {
|
|
|
34
33
|
}
|
|
35
34
|
const FormItemContext = React.createContext({});
|
|
36
35
|
function FormItem({ className, ...props }) {
|
|
37
|
-
return /* @__PURE__ */
|
|
36
|
+
return /* @__PURE__ */ jsx(FormItemContext, {
|
|
38
37
|
value: { id: React.useId() },
|
|
39
|
-
children: /* @__PURE__ */
|
|
38
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
40
39
|
"data-slot": "form-item",
|
|
41
40
|
className: cn("grid gap-2", className),
|
|
42
41
|
...props
|
|
@@ -45,7 +44,7 @@ function FormItem({ className, ...props }) {
|
|
|
45
44
|
}
|
|
46
45
|
function FormLabel({ className, ...props }) {
|
|
47
46
|
const { error, formItemId } = useFormField();
|
|
48
|
-
return /* @__PURE__ */
|
|
47
|
+
return /* @__PURE__ */ jsx(Label, {
|
|
49
48
|
"data-slot": "form-label",
|
|
50
49
|
"data-error": Boolean(error),
|
|
51
50
|
className: cn("data-[error=true]:text-destructive", className),
|
|
@@ -55,7 +54,7 @@ function FormLabel({ className, ...props }) {
|
|
|
55
54
|
}
|
|
56
55
|
function FormControl({ ...props }) {
|
|
57
56
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
58
|
-
return /* @__PURE__ */
|
|
57
|
+
return /* @__PURE__ */ jsx(Slot, {
|
|
59
58
|
"data-slot": "form-control",
|
|
60
59
|
id: formItemId,
|
|
61
60
|
"aria-describedby": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`,
|
|
@@ -65,7 +64,7 @@ function FormControl({ ...props }) {
|
|
|
65
64
|
}
|
|
66
65
|
function FormDescription({ className, ...props }) {
|
|
67
66
|
const { formDescriptionId } = useFormField();
|
|
68
|
-
return /* @__PURE__ */
|
|
67
|
+
return /* @__PURE__ */ jsx("p", {
|
|
69
68
|
"data-slot": "form-description",
|
|
70
69
|
id: formDescriptionId,
|
|
71
70
|
className: cn("text-muted-foreground text-sm", className),
|
|
@@ -76,7 +75,7 @@ function FormMessage({ className, ...props }) {
|
|
|
76
75
|
const { error, formMessageId } = useFormField();
|
|
77
76
|
const body = error ? String(error?.message ?? "") : props.children;
|
|
78
77
|
if (!body) return null;
|
|
79
|
-
return /* @__PURE__ */
|
|
78
|
+
return /* @__PURE__ */ jsx("p", {
|
|
80
79
|
"data-slot": "form-message",
|
|
81
80
|
id: formMessageId,
|
|
82
81
|
className: cn("text-destructive text-sm", className),
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { n as AlertDescription, r as AlertTitle, t as Alert } from "./alert-
|
|
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-
|
|
3
|
-
import { n as AvatarFallback, r as AvatarImage, t as Avatar } from "./avatar-
|
|
4
|
-
import { n as badgeVariants, t as Badge } from "./badge-
|
|
5
|
-
import { n as buttonVariants, t as Button } from "./button-
|
|
6
|
-
import { n as CalendarDayButton, t as Calendar } from "./calendar-
|
|
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-
|
|
8
|
-
import { t as Checkbox } from "./checkbox-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
14
|
-
import { t as Input } from "./input-
|
|
15
|
-
import { t as Label } from "./label-
|
|
16
|
-
import { t as OrContinueWithSeparator } from "./OrContinueWithSeparator-
|
|
17
|
-
import { t as cn } from "./utils-
|
|
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-
|
|
19
|
-
import { i as PopoverTrigger, n as PopoverAnchor, r as PopoverContent, t as Popover } from "./popover-
|
|
20
|
-
import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-
|
|
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-
|
|
22
|
-
import { t as Separator } from "./separator-
|
|
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-
|
|
24
|
-
import { a as TagsInputInLineList, i as TagsInputInLineLabel, n as TagsInputInLineInput, o as TagsInputInLineRoot, r as TagsInputInLineItem, t as TagsInputInLineClear } from "./index-
|
|
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-
|
|
26
|
-
import { t as Slider } from "./slider-
|
|
27
|
-
import { t as Switch } from "./switch-
|
|
28
|
-
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "./tabs-
|
|
29
|
-
import { t as Textarea } from "./textarea-
|
|
30
|
-
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "./tooltip-
|
|
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
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 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { t as Button } from "./button-
|
|
1
|
+
import { t as Button } from "./button-Qk5_S2q2.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime90 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/pagination.d.ts
|
|
6
6
|
declare function Pagination({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<'nav'>):
|
|
9
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime90.JSX.Element;
|
|
10
10
|
declare function PaginationContent({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<'ul'>):
|
|
13
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime90.JSX.Element;
|
|
14
14
|
declare function PaginationItem({
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<'li'>):
|
|
16
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime90.JSX.Element;
|
|
17
17
|
type PaginationLinkProps = {
|
|
18
18
|
isActive?: boolean;
|
|
19
19
|
} & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
|
|
@@ -22,18 +22,18 @@ declare function PaginationLink({
|
|
|
22
22
|
isActive,
|
|
23
23
|
size,
|
|
24
24
|
...props
|
|
25
|
-
}: PaginationLinkProps):
|
|
25
|
+
}: PaginationLinkProps): react_jsx_runtime90.JSX.Element;
|
|
26
26
|
declare function PaginationPrevious({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
29
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime90.JSX.Element;
|
|
30
30
|
declare function PaginationNext({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
33
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime90.JSX.Element;
|
|
34
34
|
declare function PaginationEllipsis({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<'span'>):
|
|
37
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime90.JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { PaginationLink as a, PaginationItem as i, PaginationContent as n, PaginationNext as o, PaginationEllipsis as r, PaginationPrevious as s, Pagination as t };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
2
3
|
import * as TagsInputPrimitive from "@diceui/tags-input";
|
|
3
|
-
import * as react_jsx_runtime100 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/shadcn-io/tags-input-inline/index.d.ts
|
|
6
6
|
declare function TagsInputInLineRoot({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Root>): react_jsx_runtime13.JSX.Element;
|
|
10
10
|
declare function TagsInputInLineLabel({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Label>):
|
|
13
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Label>): react_jsx_runtime13.JSX.Element;
|
|
14
14
|
declare function TagsInputInLineList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<'div'>):
|
|
17
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime13.JSX.Element;
|
|
18
18
|
declare function TagsInputInLineInput({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Input>):
|
|
21
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Input>): react_jsx_runtime13.JSX.Element;
|
|
22
22
|
declare function TagsInputInLineItem({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Item>):
|
|
26
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Item>): react_jsx_runtime13.JSX.Element;
|
|
27
27
|
declare function TagsInputInLineClear({
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>):
|
|
29
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>): react_jsx_runtime13.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { TagsInputInLineList as a, TagsInputInLineLabel as i, TagsInputInLineInput as n, TagsInputInLineRoot as o, TagsInputInLineItem as r, TagsInputInLineClear as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as Badge } from "./badge-
|
|
2
|
-
import { t as Button } from "./button-
|
|
3
|
-
import { a as CommandInput, i as CommandGroup, o as CommandItem, r as CommandEmpty, s as CommandList } from "./command-
|
|
4
|
-
import { r as PopoverContent } from "./popover-
|
|
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
5
|
import { ComponentProps, ReactNode } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/components/ui/shadcn-io/tags/index.d.ts
|
|
9
9
|
interface TagsProps {
|
|
@@ -21,13 +21,13 @@ declare function Tags({
|
|
|
21
21
|
onOpenChange: controlledOnOpenChange,
|
|
22
22
|
children,
|
|
23
23
|
className
|
|
24
|
-
}: TagsProps):
|
|
24
|
+
}: TagsProps): react_jsx_runtime33.JSX.Element;
|
|
25
25
|
type TagsTriggerProps = ComponentProps<typeof Button>;
|
|
26
26
|
declare function TagsTrigger({
|
|
27
27
|
className,
|
|
28
28
|
children,
|
|
29
29
|
...props
|
|
30
|
-
}: TagsTriggerProps):
|
|
30
|
+
}: TagsTriggerProps): react_jsx_runtime33.JSX.Element;
|
|
31
31
|
type TagsValueProps = ComponentProps<typeof Badge>;
|
|
32
32
|
declare function TagsValue({
|
|
33
33
|
className,
|
|
@@ -36,35 +36,35 @@ declare function TagsValue({
|
|
|
36
36
|
...props
|
|
37
37
|
}: TagsValueProps & {
|
|
38
38
|
onRemove?: () => void;
|
|
39
|
-
}):
|
|
39
|
+
}): react_jsx_runtime33.JSX.Element;
|
|
40
40
|
type TagsContentProps = ComponentProps<typeof PopoverContent>;
|
|
41
41
|
declare function TagsContent({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: TagsContentProps):
|
|
45
|
+
}: TagsContentProps): react_jsx_runtime33.JSX.Element;
|
|
46
46
|
type TagsInputProps = ComponentProps<typeof CommandInput>;
|
|
47
47
|
declare function TagsInput({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: TagsInputProps):
|
|
50
|
+
}: TagsInputProps): react_jsx_runtime33.JSX.Element;
|
|
51
51
|
type TagsListProps = ComponentProps<typeof CommandList>;
|
|
52
52
|
declare function TagsList({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: TagsListProps):
|
|
55
|
+
}: TagsListProps): react_jsx_runtime33.JSX.Element;
|
|
56
56
|
type TagsEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
57
57
|
declare function TagsEmpty({
|
|
58
58
|
children,
|
|
59
59
|
className,
|
|
60
60
|
...props
|
|
61
|
-
}: TagsEmptyProps):
|
|
61
|
+
}: TagsEmptyProps): react_jsx_runtime33.JSX.Element;
|
|
62
62
|
type TagsGroupProps = ComponentProps<typeof CommandGroup>;
|
|
63
63
|
declare const TagsGroup: typeof CommandGroup;
|
|
64
64
|
type TagsItemProps = ComponentProps<typeof CommandItem>;
|
|
65
65
|
declare function TagsItem({
|
|
66
66
|
className,
|
|
67
67
|
...props
|
|
68
|
-
}: TagsItemProps):
|
|
68
|
+
}: TagsItemProps): react_jsx_runtime33.JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
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
CHANGED
|
@@ -1,33 +1,32 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import { n as
|
|
5
|
-
import {
|
|
6
|
-
import { n as
|
|
7
|
-
import { n as
|
|
8
|
-
import { n as
|
|
9
|
-
import { n as
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import { a as
|
|
13
|
-
import { a as
|
|
14
|
-
import { a as
|
|
15
|
-
import {
|
|
16
|
-
import { t as
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import {
|
|
22
|
-
import { n as
|
|
23
|
-
import { a as
|
|
24
|
-
import { a as
|
|
25
|
-
import { a as
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as
|
|
29
|
-
import {
|
|
30
|
-
import { t as
|
|
31
|
-
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "./tooltip-CuYs-__e.js";
|
|
1
|
+
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
2
|
+
import "./lib-IiLuXmGR.js";
|
|
3
|
+
import { n as AlertDescription, r as AlertTitle, t as Alert } from "./alert-DgTy4F7t.js";
|
|
4
|
+
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-8ePG_tPo.js";
|
|
5
|
+
import { n as AvatarFallback, r as AvatarImage, t as Avatar } from "./avatar-ggnaPAdx.js";
|
|
6
|
+
import { n as badgeVariants, t as Badge } from "./badge-OxgStuN-.js";
|
|
7
|
+
import { n as buttonVariants, t as Button } from "./button-Ct22vvF2.js";
|
|
8
|
+
import { n as CalendarDayButton, t as Calendar } from "./calendar-SVLTPCYN.js";
|
|
9
|
+
import { a as CardFooter, i as CardDescription, n as CardAction, o as CardHeader, r as CardContent, s as CardTitle, t as Card } from "./card-mGJMSXR3.js";
|
|
10
|
+
import { t as Checkbox } from "./checkbox-Car6S-YU.js";
|
|
11
|
+
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-O7j71U82.js";
|
|
12
|
+
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-Bh0lIHth.js";
|
|
13
|
+
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-ChXZkLy7.js";
|
|
14
|
+
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-DPXO1W1r.js";
|
|
15
|
+
import { t as Label } from "./label-CAjd9Y0A.js";
|
|
16
|
+
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-DITfwajn.js";
|
|
17
|
+
import { t as Input } from "./input-Yyz-T5fE.js";
|
|
18
|
+
import { t as Separator } from "./separator-BVBCxKBW.js";
|
|
19
|
+
import { t as OrContinueWithSeparator } from "./OrContinueWithSeparator-CkITP0NT.js";
|
|
20
|
+
import { i as PopoverTrigger, n as PopoverAnchor, r as PopoverContent, t as Popover } from "./popover-B6K6dK1G.js";
|
|
21
|
+
import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-CN-7YDqF.js";
|
|
22
|
+
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-D1s3F0et.js";
|
|
23
|
+
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-BACevgr_.js";
|
|
24
|
+
import { a as TagsInputInLineList, i as TagsInputInLineLabel, n as TagsInputInLineInput, o as TagsInputInLineRoot, r as TagsInputInLineItem, t as TagsInputInLineClear } from "./tags-input-inline-Bz5h19zx.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-DrR3eH28.js";
|
|
26
|
+
import { t as Slider } from "./slider-BlL5lT8d.js";
|
|
27
|
+
import { t as Switch } from "./switch-BXSa0MEU.js";
|
|
28
|
+
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "./tabs-DbvqqMZV.js";
|
|
29
|
+
import { t as Textarea } from "./textarea-DTGK7cx-.js";
|
|
30
|
+
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "./tooltip-CX3NbXUu.js";
|
|
32
31
|
|
|
33
32
|
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 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime97 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/input.d.ts
|
|
5
5
|
declare function Input({
|
|
6
6
|
className,
|
|
7
7
|
type,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<'input'>):
|
|
9
|
+
}: React.ComponentProps<'input'>): react_jsx_runtime97.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Input as t };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as cn } from "./utils-D2WOFi-N.js";
|
|
1
|
+
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
3
2
|
import "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/input.tsx
|
|
6
|
-
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime());
|
|
7
6
|
function Input({ className, type, ...props }) {
|
|
8
|
-
return /* @__PURE__ */
|
|
7
|
+
return /* @__PURE__ */ jsx("input", {
|
|
9
8
|
type,
|
|
10
9
|
"data-slot": "input",
|
|
11
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),
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as cn } from "./utils-D2WOFi-N.js";
|
|
1
|
+
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
3
2
|
import "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/label.tsx
|
|
7
|
-
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime());
|
|
8
7
|
function Label({ className, ...props }) {
|
|
9
|
-
return /* @__PURE__ */
|
|
8
|
+
return /* @__PURE__ */ jsx(LabelPrimitive.Root, {
|
|
10
9
|
"data-slot": "label",
|
|
11
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),
|
|
12
11
|
...props
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime107 from "react/jsx-runtime";
|
|
2
3
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
3
|
-
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/label.d.ts
|
|
6
6
|
declare function Label({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof LabelPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime107.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Label as t };
|
package/dist/lib/index.js
CHANGED
package/dist/lib/utils.js
CHANGED
|
File without changes
|