@pixpilot/shadcn 0.1.1 → 0.1.2
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-D2E12axp.d.ts → OrContinueWithSeparator-BQalGx6O.d.ts} +2 -2
- package/dist/{alert-BOmOAVab.d.cts → alert-BDcOuBrO.d.ts} +5 -5
- package/dist/{alert-dialog-TlaRRoQl.d.ts → alert-dialog-Iw5UG8d3.d.ts} +12 -12
- package/dist/{avatar-C0o0LZHK.d.cts → avatar-BRZS2oIf.d.ts} +4 -4
- package/dist/{badge-BwMa0yrU.d.cts → badge-Dwxq7JaA.d.ts} +3 -3
- package/dist/{button-DS2onC5z.d.cts → button-CSw4bOk7.d.ts} +3 -3
- package/dist/{calendar-2na2Z1lC.d.cts → calendar-Vx7GBiN5.d.ts} +4 -4
- package/dist/{card-WGLY-CGJ.d.ts → card-CN1Wv1_W.d.ts} +8 -8
- package/dist/{checkbox-qfDakeFS.d.cts → checkbox-COC2Igpo.d.ts} +2 -2
- package/dist/{command-Jg-MECH0.d.ts → command-CJXf3-UR.d.ts} +11 -11
- package/dist/components/{index-9UbR5pav.d.ts → index-2Smtu_1u.d.ts} +29 -29
- package/dist/components/ui/{OrContinueWithSeparator-Deko0a05.d.ts → OrContinueWithSeparator-OYGOTHTw.d.ts} +1 -1
- package/dist/components/ui/alert-DuyLuX68.d.ts +2 -0
- package/dist/components/ui/{alert-dialog-B1O4SkCO.d.ts → alert-dialog-CUL8nAeI.d.ts} +1 -1
- package/dist/components/ui/avatar-DAQzpqqD.d.ts +2 -0
- package/dist/components/ui/badge-BM6RVFS5.d.ts +2 -0
- package/dist/components/ui/{button-xAUU71CK.d.ts → button-D9y8v_Tt.d.ts} +1 -1
- package/dist/components/ui/{calendar-CdHQnChE.d.ts → calendar-B9zfwi7H.d.ts} +1 -1
- package/dist/components/ui/{card-B33oFk7g.d.ts → card-BYi1Jf3z.d.ts} +1 -1
- package/dist/components/ui/checkbox-QkowwGnR.d.ts +2 -0
- package/dist/components/ui/{command-CiYsTw-N.d.ts → command-BkXDbodx.d.ts} +1 -1
- package/dist/components/ui/{dialog-BLmUGWhm.d.ts → dialog-BvEqiJH6.d.ts} +1 -1
- package/dist/components/ui/{dropdown-menu-BiTw8JoY.d.ts → dropdown-menu-BJ2FNIH4.d.ts} +1 -1
- package/dist/components/ui/{file-upload-B5xI4UMr.d.ts → file-upload-DZGaOzQS.d.ts} +1 -1
- package/dist/components/ui/{form-Di2tTY-R.d.ts → form-CpVuTht7.d.ts} +1 -1
- package/dist/components/ui/{index-8A2fRq2u.d.ts → index-q7RUuYJ2.d.ts} +29 -29
- package/dist/components/ui/input-DVpolrW-.d.ts +2 -0
- package/dist/components/ui/label-BW9JhwyW.d.ts +2 -0
- package/dist/components/ui/{pagination-CEb9cpQ4.d.ts → pagination-CDtFyXkC.d.ts} +1 -1
- package/dist/components/ui/{popover-DnnrgVi3.d.ts → popover-B6PDCy8U.d.ts} +1 -1
- package/dist/components/ui/{radio-group-DIjhsevH.d.ts → radio-group-DuGtPMcp.d.ts} +1 -1
- package/dist/components/ui/{select-d1uVKLd4.d.ts → select-DAN9r02Z.d.ts} +1 -1
- package/dist/components/ui/separator-D53tTv-J.d.ts +2 -0
- package/dist/components/ui/shadcn-io/tags/{index-D0RWMGB5.d.ts → index-CnMq6aeV.d.ts} +1 -1
- package/dist/components/ui/shadcn-io/tags-input-inline/{index-DVGMC27L.d.ts → index-D7OIPdfu.d.ts} +1 -1
- package/dist/components/ui/{sheet-oRvo5v4N.d.ts → sheet-Bo7lvlRA.d.ts} +1 -1
- package/dist/components/ui/slider-lAthKpva.d.ts +2 -0
- package/dist/components/ui/switch-D7WzMqgv.d.ts +2 -0
- package/dist/components/ui/tabs-CnjGY6eE.d.ts +2 -0
- package/dist/components/ui/textarea-BJpu8fK5.d.ts +2 -0
- package/dist/components/ui/{tooltip-B05vLa7i.d.ts → tooltip-JdLdCVsY.d.ts} +1 -1
- package/dist/{dialog-BeJ4W_wL.d.cts → dialog-a61KKgp5.d.ts} +11 -11
- package/dist/{dropdown-menu-pJlZRoLy.d.cts → dropdown-menu-DTRzUFxv.d.ts} +16 -16
- package/dist/{file-upload-Cd99SBNZ.d.ts → file-upload-C38U9nyT.d.ts} +11 -11
- package/dist/{form-C4ktVmIn.d.ts → form-Cx2k120Z.d.ts} +7 -7
- package/dist/{index-DOMvBE84.d.ts → index-2apAhpYW.d.ts} +29 -29
- package/dist/{index-fofN1DBY.d.ts → index-B6o0TAoD.d.ts} +7 -7
- package/dist/{index-DvlthbVs.d.cts → index-B9p9Ocoz.d.ts} +9 -9
- package/dist/{index-VLXQAOef.d.ts → index-fkXKhUlW.d.ts} +13 -13
- package/dist/input-DCWzuP_2.d.ts +11 -0
- package/dist/{label-FC0f8Usj.d.cts → label-pEqCQKel.d.ts} +2 -2
- package/dist/{popover-BX6CaTPU.d.cts → popover-RnfYQfGo.d.ts} +5 -5
- package/dist/{radio-group-CcjDx3W6.d.ts → radio-group-BNj4EfLg.d.ts} +3 -3
- package/dist/{select-Fa42Z4LL.d.ts → select-B4b-ZC31.d.ts} +11 -11
- package/dist/{separator-CfeHjQ3U.d.ts → separator-izY8KL7y.d.ts} +2 -2
- package/dist/{sheet-BjXx7ddJ.d.ts → sheet-Dag7L2Xd.d.ts} +9 -9
- package/dist/{slider-B3CoyrXu.d.cts → slider-DEUGdZC4.d.ts} +2 -2
- package/dist/{switch-B5LyLweM.d.ts → switch-RbFzvnvM.d.ts} +2 -2
- package/dist/{tabs-BPdlT-mo.d.ts → tabs-had5ildI.d.ts} +5 -5
- package/dist/{textarea-CqY_xh2i.d.cts → textarea-s8H46Zg0.d.ts} +2 -2
- package/dist/{tooltip-D1pZ34pY.d.ts → tooltip-CS40su1S.d.ts} +5 -5
- package/package.json +1 -1
- package/dist/OrContinueWithSeparator-BvzntFX7.cjs +0 -34
- package/dist/OrContinueWithSeparator-D_x7OhtS.d.cts +0 -11
- package/dist/alert-CwZayX3S.d.ts +0 -24
- package/dist/alert-D-l745dk.cjs +0 -57
- package/dist/alert-dialog-UlVI8Jfl.d.cts +0 -48
- package/dist/avatar-DXl-ag7U.d.ts +0 -19
- package/dist/avatar-w_kyvah6.cjs +0 -50
- package/dist/badge-3M1AQ3yx.cjs +0 -39
- package/dist/badge-_7r9g75U.d.ts +0 -19
- package/dist/button-BNmxKjOB.cjs +0 -58
- package/dist/button-CESLc3CQ.d.ts +0 -21
- package/dist/calendar-CELLMIIj.cjs +0 -119
- package/dist/calendar-b33t89Qe.d.ts +0 -26
- package/dist/card-C4hKT5Pm.d.cts +0 -34
- package/dist/card-Dvch7YjH.cjs +0 -100
- package/dist/checkbox-B_9kOHN4.d.ts +0 -11
- package/dist/checkbox-DBOuQN-K.cjs +0 -30
- package/dist/command-C4R-OiAQ.d.cts +0 -52
- package/dist/command-DX6woPdY.cjs +0 -142
- package/dist/components/index-IQG8KA86.d.cts +0 -30
- package/dist/components/index.cjs +0 -187
- package/dist/components/ui/OrContinueWithSeparator-Dvc8cDyM.d.cts +0 -2
- package/dist/components/ui/OrContinueWithSeparator.cjs +0 -7
- package/dist/components/ui/alert-Byz-rs0N.d.ts +0 -2
- package/dist/components/ui/alert-EgfaSBxF.d.cts +0 -2
- package/dist/components/ui/alert-dialog-DduTXxp5.d.cts +0 -2
- package/dist/components/ui/alert-dialog.cjs +0 -45
- package/dist/components/ui/alert.cjs +0 -8
- package/dist/components/ui/avatar-C27hFzFH.d.ts +0 -2
- package/dist/components/ui/avatar-hpkEskr5.d.cts +0 -2
- package/dist/components/ui/avatar.cjs +0 -8
- package/dist/components/ui/badge-Bn_Si704.d.ts +0 -2
- package/dist/components/ui/badge-KcziaqyK.d.cts +0 -2
- package/dist/components/ui/badge.cjs +0 -7
- package/dist/components/ui/button-OMnV_24p.d.cts +0 -2
- package/dist/components/ui/button.cjs +0 -7
- package/dist/components/ui/calendar-BEbds-zF.d.cts +0 -2
- package/dist/components/ui/calendar.cjs +0 -8
- package/dist/components/ui/card-BDrM5yPN.d.cts +0 -2
- package/dist/components/ui/card.cjs +0 -12
- package/dist/components/ui/checkbox-0VdiyPZJ.d.ts +0 -2
- package/dist/components/ui/checkbox-DAUiq-4T.d.cts +0 -2
- package/dist/components/ui/checkbox.cjs +0 -8
- package/dist/components/ui/command-DCzWKK9H.d.cts +0 -2
- package/dist/components/ui/command.cjs +0 -17
- package/dist/components/ui/dialog-BgbuIKOa.d.cts +0 -2
- package/dist/components/ui/dialog.cjs +0 -15
- package/dist/components/ui/dropdown-menu-BkKMo0ox.d.cts +0 -2
- package/dist/components/ui/dropdown-menu.cjs +0 -20
- package/dist/components/ui/file-upload-DiSeXl5J.d.cts +0 -2
- package/dist/components/ui/file-upload.cjs +0 -28
- package/dist/components/ui/form-Ou4AQTb6.d.cts +0 -2
- package/dist/components/ui/form.cjs +0 -14
- package/dist/components/ui/index-G20FcqoN.d.cts +0 -30
- package/dist/components/ui/index.cjs +0 -187
- package/dist/components/ui/input-DUQcmWuH.d.cts +0 -2
- package/dist/components/ui/input-gUHpQ5sH.d.ts +0 -2
- package/dist/components/ui/input.cjs +0 -6
- package/dist/components/ui/label-D0-7tdhM.d.ts +0 -2
- package/dist/components/ui/label-DimrvHz0.d.cts +0 -2
- package/dist/components/ui/label.cjs +0 -6
- package/dist/components/ui/pagination-C3bwMwwX.d.cts +0 -2
- package/dist/components/ui/pagination.cjs +0 -39
- package/dist/components/ui/popover-BMsEOeZk.d.cts +0 -2
- package/dist/components/ui/popover.cjs +0 -9
- package/dist/components/ui/radio-group-LhGeL5Jq.d.cts +0 -2
- package/dist/components/ui/radio-group.cjs +0 -7
- package/dist/components/ui/select-DEocx6ny.d.cts +0 -2
- package/dist/components/ui/select.cjs +0 -17
- package/dist/components/ui/separator-B9ar107P.d.ts +0 -2
- package/dist/components/ui/separator-CRHUHLVk.d.cts +0 -2
- package/dist/components/ui/separator.cjs +0 -6
- package/dist/components/ui/shadcn-io/tags/index-C7ircX0x.d.cts +0 -2
- package/dist/components/ui/shadcn-io/tags/index.cjs +0 -21
- package/dist/components/ui/shadcn-io/tags-input-inline/index-DpTV34EG.d.cts +0 -2
- package/dist/components/ui/shadcn-io/tags-input-inline/index.cjs +0 -10
- package/dist/components/ui/sheet-DrTt0RCh.d.cts +0 -2
- package/dist/components/ui/sheet.cjs +0 -13
- package/dist/components/ui/slider-B_Ct6RDR.d.ts +0 -2
- package/dist/components/ui/slider-qhTDbebA.d.cts +0 -2
- package/dist/components/ui/slider.cjs +0 -6
- package/dist/components/ui/switch-BN9A2aWi.d.ts +0 -2
- package/dist/components/ui/switch-D6yB-Ovv.d.cts +0 -2
- package/dist/components/ui/switch.cjs +0 -8
- package/dist/components/ui/tabs-BThS9Ifx.d.cts +0 -2
- package/dist/components/ui/tabs-BXfCBX9q.d.ts +0 -2
- package/dist/components/ui/tabs.cjs +0 -9
- package/dist/components/ui/textarea-BfSbPfQE.d.ts +0 -2
- package/dist/components/ui/textarea-CQzW61Gx.d.cts +0 -2
- package/dist/components/ui/textarea.cjs +0 -6
- package/dist/components/ui/tooltip-BRCqK0UP.d.cts +0 -2
- package/dist/components/ui/tooltip.cjs +0 -9
- package/dist/dialog-C1-NCU47.d.ts +0 -47
- package/dist/dialog-DFENsfgQ.cjs +0 -149
- package/dist/dropdown-menu-B2D2pr52.cjs +0 -216
- package/dist/dropdown-menu-CGyKEAjo.d.ts +0 -77
- package/dist/file-upload-9q25L_mV.d.cts +0 -94
- package/dist/file-upload-DGFPUCSi.cjs +0 -973
- package/dist/form-C9YnHr1i.cjs +0 -137
- package/dist/form-DHHxQebW.d.cts +0 -45
- package/dist/index-B_2R7TER.d.cts +0 -31
- package/dist/index-Blt-EW0e.d.cts +0 -31
- package/dist/index-Cgz59HyA.d.ts +0 -39
- package/dist/index-Ctvuv0vV.d.cts +0 -1
- package/dist/index-DxMmAsPK.d.cts +0 -70
- package/dist/index.cjs +0 -188
- package/dist/input-BGQuRFda.d.ts +0 -11
- package/dist/input-BfxJHE4U.cjs +0 -23
- package/dist/input-C5RDMgi3.d.cts +0 -11
- package/dist/jsx-runtime-BlVTPSwi.cjs +0 -283
- package/dist/label-B92w7LNc.cjs +0 -24
- package/dist/label-C82lEB8P.d.ts +0 -11
- package/dist/lib/index-D0-THr8a.d.cts +0 -2
- package/dist/lib/index.cjs +0 -4
- package/dist/lib/utils-lNm-CqH0.d.cts +0 -2
- package/dist/lib/utils.cjs +0 -3
- package/dist/lib-CkvvICiv.cjs +0 -0
- package/dist/popover-C7XolifE.d.ts +0 -22
- package/dist/popover-CxQjRK9q.cjs +0 -62
- package/dist/radio-group-BGPJ_D8q.cjs +0 -43
- package/dist/radio-group-oSmZ0ztd.d.cts +0 -15
- package/dist/select-BAngGmNL.d.cts +0 -52
- package/dist/select-BZfB9A8R.cjs +0 -160
- package/dist/separator-3CugGxfw.cjs +0 -26
- package/dist/separator-4yrIPr8r.d.cts +0 -13
- package/dist/sheet-CHuRM3o6.cjs +0 -133
- package/dist/sheet-DP0qGWDN.d.cts +0 -40
- package/dist/slider-3-mzOHpV.cjs +0 -45
- package/dist/slider-D3ozng9Y.d.ts +0 -15
- package/dist/src-Bx8pdty8.cjs +0 -266
- package/dist/switch-BIfMlSaF.d.cts +0 -11
- package/dist/switch-L23w_mnL.cjs +0 -28
- package/dist/tabs-CaKdT_iv.cjs +0 -63
- package/dist/tabs-DB6AHtkj.d.cts +0 -23
- package/dist/tags-VzxSgWuS.cjs +0 -184
- package/dist/tags-input-inline-CNZb7USn.cjs +0 -94
- package/dist/textarea-CRkBubLj.cjs +0 -22
- package/dist/textarea-_V7biagy.d.ts +0 -10
- package/dist/tooltip-C7py127U.d.cts +0 -23
- package/dist/tooltip-DelLkXOp.cjs +0 -63
- package/dist/utils-DyQCiavd.cjs +0 -16
- package/dist/utils-tcGMjZkT.d.cts +0 -6
package/dist/form-C9YnHr1i.cjs
DELETED
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
|
|
2
|
-
const require_utils = require('./utils-DyQCiavd.cjs');
|
|
3
|
-
const require_label = require('./label-B92w7LNc.cjs');
|
|
4
|
-
let react = require("react");
|
|
5
|
-
react = require_jsx_runtime$1.__toESM(react);
|
|
6
|
-
let __radix_ui_react_slot = require("@radix-ui/react-slot");
|
|
7
|
-
let react_hook_form = require("react-hook-form");
|
|
8
|
-
|
|
9
|
-
//#region src/components/ui/form.tsx
|
|
10
|
-
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
11
|
-
const Form = react_hook_form.FormProvider;
|
|
12
|
-
const FormFieldContext = react.createContext({});
|
|
13
|
-
function FormField({ ...props }) {
|
|
14
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FormFieldContext, {
|
|
15
|
-
value: { name: props.name },
|
|
16
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(react_hook_form.Controller, { ...props })
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
function useFormField() {
|
|
20
|
-
const fieldContext = react.use(FormFieldContext);
|
|
21
|
-
const itemContext = react.use(FormItemContext);
|
|
22
|
-
const { getFieldState } = (0, react_hook_form.useFormContext)();
|
|
23
|
-
const formState = (0, react_hook_form.useFormState)({ name: fieldContext.name });
|
|
24
|
-
const fieldState = getFieldState(fieldContext.name, formState);
|
|
25
|
-
if (!fieldContext) throw new Error("useFormField should be used within <FormField>");
|
|
26
|
-
const { id } = itemContext;
|
|
27
|
-
return {
|
|
28
|
-
id,
|
|
29
|
-
name: fieldContext.name,
|
|
30
|
-
formItemId: `${id}-form-item`,
|
|
31
|
-
formDescriptionId: `${id}-form-item-description`,
|
|
32
|
-
formMessageId: `${id}-form-item-message`,
|
|
33
|
-
...fieldState
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
const FormItemContext = react.createContext({});
|
|
37
|
-
function FormItem({ className, ...props }) {
|
|
38
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FormItemContext, {
|
|
39
|
-
value: { id: react.useId() },
|
|
40
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
41
|
-
"data-slot": "form-item",
|
|
42
|
-
className: require_utils.cn("grid gap-2", className),
|
|
43
|
-
...props
|
|
44
|
-
})
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
function FormLabel({ className, ...props }) {
|
|
48
|
-
const { error, formItemId } = useFormField();
|
|
49
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_label.Label, {
|
|
50
|
-
"data-slot": "form-label",
|
|
51
|
-
"data-error": Boolean(error),
|
|
52
|
-
className: require_utils.cn("data-[error=true]:text-destructive", className),
|
|
53
|
-
htmlFor: formItemId,
|
|
54
|
-
...props
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
function FormControl({ ...props }) {
|
|
58
|
-
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
59
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_slot.Slot, {
|
|
60
|
-
"data-slot": "form-control",
|
|
61
|
-
id: formItemId,
|
|
62
|
-
"aria-describedby": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`,
|
|
63
|
-
"aria-invalid": Boolean(error),
|
|
64
|
-
...props
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
function FormDescription({ className, ...props }) {
|
|
68
|
-
const { formDescriptionId } = useFormField();
|
|
69
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
70
|
-
"data-slot": "form-description",
|
|
71
|
-
id: formDescriptionId,
|
|
72
|
-
className: require_utils.cn("text-muted-foreground text-sm", className),
|
|
73
|
-
...props
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
function FormMessage({ className, ...props }) {
|
|
77
|
-
const { error, formMessageId } = useFormField();
|
|
78
|
-
const body = error ? String(error?.message ?? "") : props.children;
|
|
79
|
-
if (!body) return null;
|
|
80
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
81
|
-
"data-slot": "form-message",
|
|
82
|
-
id: formMessageId,
|
|
83
|
-
className: require_utils.cn("text-destructive text-sm", className),
|
|
84
|
-
...props,
|
|
85
|
-
children: body
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
//#endregion
|
|
90
|
-
Object.defineProperty(exports, 'Form', {
|
|
91
|
-
enumerable: true,
|
|
92
|
-
get: function () {
|
|
93
|
-
return Form;
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(exports, 'FormControl', {
|
|
97
|
-
enumerable: true,
|
|
98
|
-
get: function () {
|
|
99
|
-
return FormControl;
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
Object.defineProperty(exports, 'FormDescription', {
|
|
103
|
-
enumerable: true,
|
|
104
|
-
get: function () {
|
|
105
|
-
return FormDescription;
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
Object.defineProperty(exports, 'FormField', {
|
|
109
|
-
enumerable: true,
|
|
110
|
-
get: function () {
|
|
111
|
-
return FormField;
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
Object.defineProperty(exports, 'FormItem', {
|
|
115
|
-
enumerable: true,
|
|
116
|
-
get: function () {
|
|
117
|
-
return FormItem;
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
Object.defineProperty(exports, 'FormLabel', {
|
|
121
|
-
enumerable: true,
|
|
122
|
-
get: function () {
|
|
123
|
-
return FormLabel;
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
Object.defineProperty(exports, 'FormMessage', {
|
|
127
|
-
enumerable: true,
|
|
128
|
-
get: function () {
|
|
129
|
-
return FormMessage;
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
Object.defineProperty(exports, 'useFormField', {
|
|
133
|
-
enumerable: true,
|
|
134
|
-
get: function () {
|
|
135
|
-
return useFormField;
|
|
136
|
-
}
|
|
137
|
-
});
|
package/dist/form-DHHxQebW.d.cts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime64 from "react/jsx-runtime";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import * as react_hook_form0 from "react-hook-form";
|
|
4
|
-
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
5
|
-
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
6
|
-
import { Slot } from "@radix-ui/react-slot";
|
|
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_runtime64.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_runtime64.JSX.Element;
|
|
29
|
-
declare function FormLabel({
|
|
30
|
-
className,
|
|
31
|
-
...props
|
|
32
|
-
}: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime64.JSX.Element;
|
|
33
|
-
declare function FormControl({
|
|
34
|
-
...props
|
|
35
|
-
}: React.ComponentProps<typeof Slot>): react_jsx_runtime64.JSX.Element;
|
|
36
|
-
declare function FormDescription({
|
|
37
|
-
className,
|
|
38
|
-
...props
|
|
39
|
-
}: React.ComponentProps<'p'>): react_jsx_runtime64.JSX.Element;
|
|
40
|
-
declare function FormMessage({
|
|
41
|
-
className,
|
|
42
|
-
...props
|
|
43
|
-
}: React.ComponentProps<'p'>): react_jsx_runtime64.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 };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime70 from "react/jsx-runtime";
|
|
2
|
-
import * as React from "react";
|
|
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_runtime70.JSX.Element;
|
|
10
|
-
declare function TagsInputInLineLabel({
|
|
11
|
-
className,
|
|
12
|
-
...props
|
|
13
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Label>): react_jsx_runtime70.JSX.Element;
|
|
14
|
-
declare function TagsInputInLineList({
|
|
15
|
-
className,
|
|
16
|
-
...props
|
|
17
|
-
}: React.ComponentProps<'div'>): react_jsx_runtime70.JSX.Element;
|
|
18
|
-
declare function TagsInputInLineInput({
|
|
19
|
-
className,
|
|
20
|
-
...props
|
|
21
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Input>): react_jsx_runtime70.JSX.Element;
|
|
22
|
-
declare function TagsInputInLineItem({
|
|
23
|
-
className,
|
|
24
|
-
children,
|
|
25
|
-
...props
|
|
26
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Item>): react_jsx_runtime70.JSX.Element;
|
|
27
|
-
declare function TagsInputInLineClear({
|
|
28
|
-
...props
|
|
29
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>): react_jsx_runtime70.JSX.Element;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { TagsInputInLineList as a, TagsInputInLineLabel as i, TagsInputInLineInput as n, TagsInputInLineRoot as o, TagsInputInLineItem as r, TagsInputInLineClear as t };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { n as AlertDescription, r as AlertTitle, t as Alert } from "./alert-BOmOAVab.cjs";
|
|
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-UlVI8Jfl.cjs";
|
|
3
|
-
import { n as AvatarFallback, r as AvatarImage, t as Avatar } from "./avatar-C0o0LZHK.cjs";
|
|
4
|
-
import { n as badgeVariants, t as Badge } from "./badge-BwMa0yrU.cjs";
|
|
5
|
-
import { n as buttonVariants, t as Button } from "./button-DS2onC5z.cjs";
|
|
6
|
-
import { n as CalendarDayButton, t as Calendar } from "./calendar-2na2Z1lC.cjs";
|
|
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-C4hKT5Pm.cjs";
|
|
8
|
-
import { t as Checkbox } from "./checkbox-qfDakeFS.cjs";
|
|
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-BeJ4W_wL.cjs";
|
|
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-C4R-OiAQ.cjs";
|
|
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-pJlZRoLy.cjs";
|
|
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-9q25L_mV.cjs";
|
|
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-DHHxQebW.cjs";
|
|
14
|
-
import { t as Input } from "./input-C5RDMgi3.cjs";
|
|
15
|
-
import { t as Label } from "./label-FC0f8Usj.cjs";
|
|
16
|
-
import { t as OrContinueWithSeparator } from "./OrContinueWithSeparator-D_x7OhtS.cjs";
|
|
17
|
-
import { t as cn } from "./utils-tcGMjZkT.cjs";
|
|
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-DvlthbVs.cjs";
|
|
19
|
-
import { i as PopoverTrigger, n as PopoverAnchor, r as PopoverContent, t as Popover } from "./popover-BX6CaTPU.cjs";
|
|
20
|
-
import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-oSmZ0ztd.cjs";
|
|
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-BAngGmNL.cjs";
|
|
22
|
-
import { t as Separator } from "./separator-4yrIPr8r.cjs";
|
|
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-DxMmAsPK.cjs";
|
|
24
|
-
import { a as TagsInputInLineList, i as TagsInputInLineLabel, n as TagsInputInLineInput, o as TagsInputInLineRoot, r as TagsInputInLineItem, t as TagsInputInLineClear } from "./index-B_2R7TER.cjs";
|
|
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-DP0qGWDN.cjs";
|
|
26
|
-
import { t as Slider } from "./slider-B3CoyrXu.cjs";
|
|
27
|
-
import { t as Switch } from "./switch-BIfMlSaF.cjs";
|
|
28
|
-
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "./tabs-DB6AHtkj.cjs";
|
|
29
|
-
import { t as Textarea } from "./textarea-CqY_xh2i.cjs";
|
|
30
|
-
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "./tooltip-C7py127U.cjs";
|
|
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-Cgz59HyA.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { t as Button } from "./button-CESLc3CQ.js";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import * as react_jsx_runtime128 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_runtime128.JSX.Element;
|
|
10
|
-
declare function PaginationContent({
|
|
11
|
-
className,
|
|
12
|
-
...props
|
|
13
|
-
}: React.ComponentProps<'ul'>): react_jsx_runtime128.JSX.Element;
|
|
14
|
-
declare function PaginationItem({
|
|
15
|
-
...props
|
|
16
|
-
}: React.ComponentProps<'li'>): react_jsx_runtime128.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_runtime128.JSX.Element;
|
|
26
|
-
declare function PaginationPrevious({
|
|
27
|
-
className,
|
|
28
|
-
...props
|
|
29
|
-
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime128.JSX.Element;
|
|
30
|
-
declare function PaginationNext({
|
|
31
|
-
className,
|
|
32
|
-
...props
|
|
33
|
-
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime128.JSX.Element;
|
|
34
|
-
declare function PaginationEllipsis({
|
|
35
|
-
className,
|
|
36
|
-
...props
|
|
37
|
-
}: React.ComponentProps<'span'>): react_jsx_runtime128.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 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { t as Badge } from "./badge-BwMa0yrU.cjs";
|
|
2
|
-
import { t as Button } from "./button-DS2onC5z.cjs";
|
|
3
|
-
import { a as CommandInput, i as CommandGroup, o as CommandItem, r as CommandEmpty, s as CommandList } from "./command-C4R-OiAQ.cjs";
|
|
4
|
-
import { r as PopoverContent } from "./popover-BX6CaTPU.cjs";
|
|
5
|
-
import * as react_jsx_runtime77 from "react/jsx-runtime";
|
|
6
|
-
import { ComponentProps, ReactNode } from "react";
|
|
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_runtime77.JSX.Element;
|
|
25
|
-
type TagsTriggerProps = ComponentProps<typeof Button>;
|
|
26
|
-
declare function TagsTrigger({
|
|
27
|
-
className,
|
|
28
|
-
children,
|
|
29
|
-
...props
|
|
30
|
-
}: TagsTriggerProps): react_jsx_runtime77.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_runtime77.JSX.Element;
|
|
40
|
-
type TagsContentProps = ComponentProps<typeof PopoverContent>;
|
|
41
|
-
declare function TagsContent({
|
|
42
|
-
className,
|
|
43
|
-
children,
|
|
44
|
-
...props
|
|
45
|
-
}: TagsContentProps): react_jsx_runtime77.JSX.Element;
|
|
46
|
-
type TagsInputProps = ComponentProps<typeof CommandInput>;
|
|
47
|
-
declare function TagsInput({
|
|
48
|
-
className,
|
|
49
|
-
...props
|
|
50
|
-
}: TagsInputProps): react_jsx_runtime77.JSX.Element;
|
|
51
|
-
type TagsListProps = ComponentProps<typeof CommandList>;
|
|
52
|
-
declare function TagsList({
|
|
53
|
-
className,
|
|
54
|
-
...props
|
|
55
|
-
}: TagsListProps): react_jsx_runtime77.JSX.Element;
|
|
56
|
-
type TagsEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
57
|
-
declare function TagsEmpty({
|
|
58
|
-
children,
|
|
59
|
-
className,
|
|
60
|
-
...props
|
|
61
|
-
}: TagsEmptyProps): react_jsx_runtime77.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_runtime77.JSX.Element;
|
|
69
|
-
//#endregion
|
|
70
|
-
export { TagsValue as _, TagsEmptyProps as a, TagsInput as c, TagsItemProps as d, TagsList as f, TagsTriggerProps as g, TagsTrigger as h, TagsEmpty as i, TagsInputProps as l, TagsProps as m, TagsContent as n, TagsGroup as o, TagsListProps as p, TagsContentProps as r, TagsGroupProps as s, Tags as t, TagsItem as u, TagsValueProps as v };
|
package/dist/index.cjs
DELETED
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
require('./jsx-runtime-BlVTPSwi.cjs');
|
|
2
|
-
const require_utils = require('./utils-DyQCiavd.cjs');
|
|
3
|
-
require('./lib-CkvvICiv.cjs');
|
|
4
|
-
const require_alert = require('./alert-D-l745dk.cjs');
|
|
5
|
-
const require_src = require('./src-Bx8pdty8.cjs');
|
|
6
|
-
const require_avatar = require('./avatar-w_kyvah6.cjs');
|
|
7
|
-
const require_badge = require('./badge-3M1AQ3yx.cjs');
|
|
8
|
-
const require_button = require('./button-BNmxKjOB.cjs');
|
|
9
|
-
const require_calendar = require('./calendar-CELLMIIj.cjs');
|
|
10
|
-
const require_card = require('./card-Dvch7YjH.cjs');
|
|
11
|
-
const require_checkbox = require('./checkbox-DBOuQN-K.cjs');
|
|
12
|
-
const require_dialog = require('./dialog-DFENsfgQ.cjs');
|
|
13
|
-
const require_command = require('./command-DX6woPdY.cjs');
|
|
14
|
-
const require_dropdown_menu = require('./dropdown-menu-B2D2pr52.cjs');
|
|
15
|
-
const require_file_upload = require('./file-upload-DGFPUCSi.cjs');
|
|
16
|
-
const require_label = require('./label-B92w7LNc.cjs');
|
|
17
|
-
const require_form = require('./form-C9YnHr1i.cjs');
|
|
18
|
-
const require_input = require('./input-BfxJHE4U.cjs');
|
|
19
|
-
const require_separator = require('./separator-3CugGxfw.cjs');
|
|
20
|
-
const require_OrContinueWithSeparator = require('./OrContinueWithSeparator-BvzntFX7.cjs');
|
|
21
|
-
const require_popover = require('./popover-CxQjRK9q.cjs');
|
|
22
|
-
const require_radio_group = require('./radio-group-BGPJ_D8q.cjs');
|
|
23
|
-
const require_select = require('./select-BZfB9A8R.cjs');
|
|
24
|
-
const require_tags = require('./tags-VzxSgWuS.cjs');
|
|
25
|
-
const require_tags_input_inline = require('./tags-input-inline-CNZb7USn.cjs');
|
|
26
|
-
const require_sheet = require('./sheet-CHuRM3o6.cjs');
|
|
27
|
-
const require_slider = require('./slider-3-mzOHpV.cjs');
|
|
28
|
-
const require_switch = require('./switch-L23w_mnL.cjs');
|
|
29
|
-
const require_tabs = require('./tabs-CaKdT_iv.cjs');
|
|
30
|
-
const require_textarea = require('./textarea-CRkBubLj.cjs');
|
|
31
|
-
const require_tooltip = require('./tooltip-DelLkXOp.cjs');
|
|
32
|
-
|
|
33
|
-
exports.Alert = require_alert.Alert;
|
|
34
|
-
exports.AlertDescription = require_alert.AlertDescription;
|
|
35
|
-
exports.AlertDialog = require_src.AlertDialog;
|
|
36
|
-
exports.AlertDialogAction = require_src.AlertDialogAction;
|
|
37
|
-
exports.AlertDialogCancel = require_src.AlertDialogCancel;
|
|
38
|
-
exports.AlertDialogContent = require_src.AlertDialogContent;
|
|
39
|
-
exports.AlertDialogDescription = require_src.AlertDialogDescription;
|
|
40
|
-
exports.AlertDialogFooter = require_src.AlertDialogFooter;
|
|
41
|
-
exports.AlertDialogHeader = require_src.AlertDialogHeader;
|
|
42
|
-
exports.AlertDialogOverlay = require_src.AlertDialogOverlay;
|
|
43
|
-
exports.AlertDialogPortal = require_src.AlertDialogPortal;
|
|
44
|
-
exports.AlertDialogTitle = require_src.AlertDialogTitle;
|
|
45
|
-
exports.AlertDialogTrigger = require_src.AlertDialogTrigger;
|
|
46
|
-
exports.AlertTitle = require_alert.AlertTitle;
|
|
47
|
-
exports.Avatar = require_avatar.Avatar;
|
|
48
|
-
exports.AvatarFallback = require_avatar.AvatarFallback;
|
|
49
|
-
exports.AvatarImage = require_avatar.AvatarImage;
|
|
50
|
-
exports.Badge = require_badge.Badge;
|
|
51
|
-
exports.Button = require_button.Button;
|
|
52
|
-
exports.Calendar = require_calendar.Calendar;
|
|
53
|
-
exports.CalendarDayButton = require_calendar.CalendarDayButton;
|
|
54
|
-
exports.Card = require_card.Card;
|
|
55
|
-
exports.CardAction = require_card.CardAction;
|
|
56
|
-
exports.CardContent = require_card.CardContent;
|
|
57
|
-
exports.CardDescription = require_card.CardDescription;
|
|
58
|
-
exports.CardFooter = require_card.CardFooter;
|
|
59
|
-
exports.CardHeader = require_card.CardHeader;
|
|
60
|
-
exports.CardTitle = require_card.CardTitle;
|
|
61
|
-
exports.Checkbox = require_checkbox.Checkbox;
|
|
62
|
-
exports.Clear = require_file_upload.FileUploadClear;
|
|
63
|
-
exports.FileUploadClear = require_file_upload.FileUploadClear;
|
|
64
|
-
exports.Command = require_command.Command;
|
|
65
|
-
exports.CommandDialog = require_command.CommandDialog;
|
|
66
|
-
exports.CommandEmpty = require_command.CommandEmpty;
|
|
67
|
-
exports.CommandGroup = require_command.CommandGroup;
|
|
68
|
-
exports.CommandInput = require_command.CommandInput;
|
|
69
|
-
exports.CommandItem = require_command.CommandItem;
|
|
70
|
-
exports.CommandList = require_command.CommandList;
|
|
71
|
-
exports.CommandSeparator = require_command.CommandSeparator;
|
|
72
|
-
exports.CommandShortcut = require_command.CommandShortcut;
|
|
73
|
-
exports.Dialog = require_dialog.Dialog;
|
|
74
|
-
exports.DialogClose = require_dialog.DialogClose;
|
|
75
|
-
exports.DialogContent = require_dialog.DialogContent;
|
|
76
|
-
exports.DialogDescription = require_dialog.DialogDescription;
|
|
77
|
-
exports.DialogFooter = require_dialog.DialogFooter;
|
|
78
|
-
exports.DialogHeader = require_dialog.DialogHeader;
|
|
79
|
-
exports.DialogOverlay = require_dialog.DialogOverlay;
|
|
80
|
-
exports.DialogPortal = require_dialog.DialogPortal;
|
|
81
|
-
exports.DialogTitle = require_dialog.DialogTitle;
|
|
82
|
-
exports.DialogTrigger = require_dialog.DialogTrigger;
|
|
83
|
-
exports.DropdownMenu = require_dropdown_menu.DropdownMenu;
|
|
84
|
-
exports.DropdownMenuCheckboxItem = require_dropdown_menu.DropdownMenuCheckboxItem;
|
|
85
|
-
exports.DropdownMenuContent = require_dropdown_menu.DropdownMenuContent;
|
|
86
|
-
exports.DropdownMenuGroup = require_dropdown_menu.DropdownMenuGroup;
|
|
87
|
-
exports.DropdownMenuItem = require_dropdown_menu.DropdownMenuItem;
|
|
88
|
-
exports.DropdownMenuLabel = require_dropdown_menu.DropdownMenuLabel;
|
|
89
|
-
exports.DropdownMenuPortal = require_dropdown_menu.DropdownMenuPortal;
|
|
90
|
-
exports.DropdownMenuRadioGroup = require_dropdown_menu.DropdownMenuRadioGroup;
|
|
91
|
-
exports.DropdownMenuRadioItem = require_dropdown_menu.DropdownMenuRadioItem;
|
|
92
|
-
exports.DropdownMenuSeparator = require_dropdown_menu.DropdownMenuSeparator;
|
|
93
|
-
exports.DropdownMenuShortcut = require_dropdown_menu.DropdownMenuShortcut;
|
|
94
|
-
exports.DropdownMenuSub = require_dropdown_menu.DropdownMenuSub;
|
|
95
|
-
exports.DropdownMenuSubContent = require_dropdown_menu.DropdownMenuSubContent;
|
|
96
|
-
exports.DropdownMenuSubTrigger = require_dropdown_menu.DropdownMenuSubTrigger;
|
|
97
|
-
exports.DropdownMenuTrigger = require_dropdown_menu.DropdownMenuTrigger;
|
|
98
|
-
exports.Dropzone = require_file_upload.FileUploadDropzone;
|
|
99
|
-
exports.FileUploadDropzone = require_file_upload.FileUploadDropzone;
|
|
100
|
-
exports.FileUpload = require_file_upload.FileUploadRoot;
|
|
101
|
-
exports.Root = require_file_upload.FileUploadRoot;
|
|
102
|
-
exports.FileUploadItem = require_file_upload.FileUploadItem;
|
|
103
|
-
exports.Item = require_file_upload.FileUploadItem;
|
|
104
|
-
exports.FileUploadItemDelete = require_file_upload.FileUploadItemDelete;
|
|
105
|
-
exports.ItemDelete = require_file_upload.FileUploadItemDelete;
|
|
106
|
-
exports.FileUploadItemMetadata = require_file_upload.FileUploadItemMetadata;
|
|
107
|
-
exports.ItemMetadata = require_file_upload.FileUploadItemMetadata;
|
|
108
|
-
exports.FileUploadItemPreview = require_file_upload.FileUploadItemPreview;
|
|
109
|
-
exports.ItemPreview = require_file_upload.FileUploadItemPreview;
|
|
110
|
-
exports.FileUploadItemProgress = require_file_upload.FileUploadItemProgress;
|
|
111
|
-
exports.ItemProgress = require_file_upload.FileUploadItemProgress;
|
|
112
|
-
exports.FileUploadList = require_file_upload.FileUploadList;
|
|
113
|
-
exports.List = require_file_upload.FileUploadList;
|
|
114
|
-
exports.FileUploadTrigger = require_file_upload.FileUploadTrigger;
|
|
115
|
-
exports.Trigger = require_file_upload.FileUploadTrigger;
|
|
116
|
-
exports.Form = require_form.Form;
|
|
117
|
-
exports.FormControl = require_form.FormControl;
|
|
118
|
-
exports.FormDescription = require_form.FormDescription;
|
|
119
|
-
exports.FormField = require_form.FormField;
|
|
120
|
-
exports.FormItem = require_form.FormItem;
|
|
121
|
-
exports.FormLabel = require_form.FormLabel;
|
|
122
|
-
exports.FormMessage = require_form.FormMessage;
|
|
123
|
-
exports.Input = require_input.Input;
|
|
124
|
-
exports.Label = require_label.Label;
|
|
125
|
-
exports.OrContinueWithSeparator = require_OrContinueWithSeparator.OrContinueWithSeparator;
|
|
126
|
-
exports.Pagination = require_src.Pagination;
|
|
127
|
-
exports.PaginationContent = require_src.PaginationContent;
|
|
128
|
-
exports.PaginationEllipsis = require_src.PaginationEllipsis;
|
|
129
|
-
exports.PaginationItem = require_src.PaginationItem;
|
|
130
|
-
exports.PaginationLink = require_src.PaginationLink;
|
|
131
|
-
exports.PaginationNext = require_src.PaginationNext;
|
|
132
|
-
exports.PaginationPrevious = require_src.PaginationPrevious;
|
|
133
|
-
exports.Popover = require_popover.Popover;
|
|
134
|
-
exports.PopoverAnchor = require_popover.PopoverAnchor;
|
|
135
|
-
exports.PopoverContent = require_popover.PopoverContent;
|
|
136
|
-
exports.PopoverTrigger = require_popover.PopoverTrigger;
|
|
137
|
-
exports.RadioGroup = require_radio_group.RadioGroup;
|
|
138
|
-
exports.RadioGroupItem = require_radio_group.RadioGroupItem;
|
|
139
|
-
exports.Select = require_select.Select;
|
|
140
|
-
exports.SelectContent = require_select.SelectContent;
|
|
141
|
-
exports.SelectGroup = require_select.SelectGroup;
|
|
142
|
-
exports.SelectItem = require_select.SelectItem;
|
|
143
|
-
exports.SelectLabel = require_select.SelectLabel;
|
|
144
|
-
exports.SelectScrollDownButton = require_select.SelectScrollDownButton;
|
|
145
|
-
exports.SelectScrollUpButton = require_select.SelectScrollUpButton;
|
|
146
|
-
exports.SelectSeparator = require_select.SelectSeparator;
|
|
147
|
-
exports.SelectTrigger = require_select.SelectTrigger;
|
|
148
|
-
exports.SelectValue = require_select.SelectValue;
|
|
149
|
-
exports.Separator = require_separator.Separator;
|
|
150
|
-
exports.Sheet = require_sheet.Sheet;
|
|
151
|
-
exports.SheetClose = require_sheet.SheetClose;
|
|
152
|
-
exports.SheetContent = require_sheet.SheetContent;
|
|
153
|
-
exports.SheetDescription = require_sheet.SheetDescription;
|
|
154
|
-
exports.SheetFooter = require_sheet.SheetFooter;
|
|
155
|
-
exports.SheetHeader = require_sheet.SheetHeader;
|
|
156
|
-
exports.SheetTitle = require_sheet.SheetTitle;
|
|
157
|
-
exports.SheetTrigger = require_sheet.SheetTrigger;
|
|
158
|
-
exports.Slider = require_slider.Slider;
|
|
159
|
-
exports.Switch = require_switch.Switch;
|
|
160
|
-
exports.Tabs = require_tabs.Tabs;
|
|
161
|
-
exports.TabsContent = require_tabs.TabsContent;
|
|
162
|
-
exports.TabsList = require_tabs.TabsList;
|
|
163
|
-
exports.TabsTrigger = require_tabs.TabsTrigger;
|
|
164
|
-
exports.Tags = require_tags.Tags;
|
|
165
|
-
exports.TagsContent = require_tags.TagsContent;
|
|
166
|
-
exports.TagsEmpty = require_tags.TagsEmpty;
|
|
167
|
-
exports.TagsGroup = require_tags.TagsGroup;
|
|
168
|
-
exports.TagsInput = require_tags.TagsInput;
|
|
169
|
-
exports.TagsInputInLineClear = require_tags_input_inline.TagsInputInLineClear;
|
|
170
|
-
exports.TagsInputInLineInput = require_tags_input_inline.TagsInputInLineInput;
|
|
171
|
-
exports.TagsInputInLineItem = require_tags_input_inline.TagsInputInLineItem;
|
|
172
|
-
exports.TagsInputInLineLabel = require_tags_input_inline.TagsInputInLineLabel;
|
|
173
|
-
exports.TagsInputInLineList = require_tags_input_inline.TagsInputInLineList;
|
|
174
|
-
exports.TagsInputInLineRoot = require_tags_input_inline.TagsInputInLineRoot;
|
|
175
|
-
exports.TagsItem = require_tags.TagsItem;
|
|
176
|
-
exports.TagsList = require_tags.TagsList;
|
|
177
|
-
exports.TagsTrigger = require_tags.TagsTrigger;
|
|
178
|
-
exports.TagsValue = require_tags.TagsValue;
|
|
179
|
-
exports.Textarea = require_textarea.Textarea;
|
|
180
|
-
exports.Tooltip = require_tooltip.Tooltip;
|
|
181
|
-
exports.TooltipContent = require_tooltip.TooltipContent;
|
|
182
|
-
exports.TooltipProvider = require_tooltip.TooltipProvider;
|
|
183
|
-
exports.TooltipTrigger = require_tooltip.TooltipTrigger;
|
|
184
|
-
exports.badgeVariants = require_badge.badgeVariants;
|
|
185
|
-
exports.buttonVariants = require_button.buttonVariants;
|
|
186
|
-
exports.cn = require_utils.cn;
|
|
187
|
-
exports.useFileUpload = require_file_upload.useStore;
|
|
188
|
-
exports.useFormField = require_form.useFormField;
|
package/dist/input-BGQuRFda.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime4 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_runtime4.JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { Input as t };
|
package/dist/input-BfxJHE4U.cjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
|
|
2
|
-
const require_utils = require('./utils-DyQCiavd.cjs');
|
|
3
|
-
let react = require("react");
|
|
4
|
-
react = require_jsx_runtime$1.__toESM(react);
|
|
5
|
-
|
|
6
|
-
//#region src/components/ui/input.tsx
|
|
7
|
-
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
8
|
-
function Input({ className, type, ...props }) {
|
|
9
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", {
|
|
10
|
-
type,
|
|
11
|
-
"data-slot": "input",
|
|
12
|
-
className: require_utils.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),
|
|
13
|
-
...props
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
//#endregion
|
|
18
|
-
Object.defineProperty(exports, 'Input', {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return Input;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime124 from "react/jsx-runtime";
|
|
2
|
-
import * as React from "react";
|
|
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_runtime124.JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { Input as t };
|