@pixpilot/shadcn 0.1.0 → 0.1.1
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-BvzntFX7.cjs +34 -0
- package/dist/OrContinueWithSeparator-D2E12axp.d.ts +11 -0
- package/dist/{OrContinueWithSeparator-BvOMy_0X.d.ts → OrContinueWithSeparator-D_x7OhtS.d.cts} +2 -2
- package/dist/{alert-DUygh_xL.d.ts → alert-BOmOAVab.d.cts} +5 -5
- package/dist/alert-CwZayX3S.d.ts +24 -0
- package/dist/alert-D-l745dk.cjs +57 -0
- package/dist/{alert-dialog-BQBvTsjx.d.ts → alert-dialog-TlaRRoQl.d.ts} +12 -12
- package/dist/alert-dialog-UlVI8Jfl.d.cts +48 -0
- package/dist/{avatar-4_qFkDQq.d.ts → avatar-C0o0LZHK.d.cts} +4 -4
- package/dist/avatar-DXl-ag7U.d.ts +19 -0
- package/dist/avatar-w_kyvah6.cjs +50 -0
- package/dist/badge-3M1AQ3yx.cjs +39 -0
- package/dist/{badge-BtexTWYL.d.ts → badge-BwMa0yrU.d.cts} +3 -3
- package/dist/badge-_7r9g75U.d.ts +19 -0
- package/dist/button-BNmxKjOB.cjs +58 -0
- package/dist/{button-BlGZakU_.d.ts → button-CESLc3CQ.d.ts} +2 -2
- package/dist/button-DS2onC5z.d.cts +21 -0
- package/dist/calendar-2na2Z1lC.d.cts +26 -0
- package/dist/calendar-CELLMIIj.cjs +119 -0
- package/dist/{calendar-DK_qW8tK.d.ts → calendar-b33t89Qe.d.ts} +4 -4
- package/dist/{card-8btbTKaB.d.ts → card-C4hKT5Pm.d.cts} +8 -8
- package/dist/card-Dvch7YjH.cjs +100 -0
- package/dist/card-WGLY-CGJ.d.ts +34 -0
- package/dist/checkbox-B_9kOHN4.d.ts +11 -0
- package/dist/checkbox-DBOuQN-K.cjs +30 -0
- package/dist/{checkbox-BfAe26dy.d.ts → checkbox-qfDakeFS.d.cts} +1 -1
- package/dist/{command-CTOqnzSx.d.ts → command-C4R-OiAQ.d.cts} +11 -11
- package/dist/command-DX6woPdY.cjs +142 -0
- package/dist/command-Jg-MECH0.d.ts +52 -0
- package/dist/components/{index-DVJl6H4Z.d.ts → index-9UbR5pav.d.ts} +29 -29
- package/dist/components/index-IQG8KA86.d.cts +30 -0
- package/dist/components/index.cjs +187 -0
- package/dist/components/ui/{OrContinueWithSeparator-DT1kKIwU.d.ts → OrContinueWithSeparator-Deko0a05.d.ts} +1 -1
- package/dist/components/ui/OrContinueWithSeparator-Dvc8cDyM.d.cts +2 -0
- package/dist/components/ui/OrContinueWithSeparator.cjs +7 -0
- package/dist/components/ui/alert-Byz-rs0N.d.ts +2 -0
- package/dist/components/ui/alert-EgfaSBxF.d.cts +2 -0
- package/dist/components/ui/{alert-dialog-D6vR-1Jz.d.ts → alert-dialog-B1O4SkCO.d.ts} +1 -1
- package/dist/components/ui/alert-dialog-DduTXxp5.d.cts +2 -0
- package/dist/components/ui/alert-dialog.cjs +45 -0
- package/dist/components/ui/alert.cjs +8 -0
- package/dist/components/ui/avatar-C27hFzFH.d.ts +2 -0
- package/dist/components/ui/avatar-hpkEskr5.d.cts +2 -0
- package/dist/components/ui/avatar.cjs +8 -0
- package/dist/components/ui/badge-Bn_Si704.d.ts +2 -0
- package/dist/components/ui/badge-KcziaqyK.d.cts +2 -0
- package/dist/components/ui/badge.cjs +7 -0
- package/dist/components/ui/button-OMnV_24p.d.cts +2 -0
- package/dist/components/ui/button-xAUU71CK.d.ts +2 -0
- package/dist/components/ui/button.cjs +7 -0
- package/dist/components/ui/calendar-BEbds-zF.d.cts +2 -0
- package/dist/components/ui/{calendar-CJJGD2Mp.d.ts → calendar-CdHQnChE.d.ts} +1 -1
- package/dist/components/ui/calendar.cjs +8 -0
- package/dist/components/ui/{card-Dw7UFh1G.d.ts → card-B33oFk7g.d.ts} +1 -1
- package/dist/components/ui/card-BDrM5yPN.d.cts +2 -0
- package/dist/components/ui/card.cjs +12 -0
- package/dist/components/ui/checkbox-0VdiyPZJ.d.ts +2 -0
- package/dist/components/ui/checkbox-DAUiq-4T.d.cts +2 -0
- package/dist/components/ui/checkbox.cjs +8 -0
- package/dist/components/ui/{command-Bo9iT_Mm.d.ts → command-CiYsTw-N.d.ts} +1 -1
- package/dist/components/ui/command-DCzWKK9H.d.cts +2 -0
- package/dist/components/ui/command.cjs +17 -0
- package/dist/components/ui/{dialog-DwFy7VXb.d.ts → dialog-BLmUGWhm.d.ts} +1 -1
- package/dist/components/ui/dialog-BgbuIKOa.d.cts +2 -0
- package/dist/components/ui/dialog.cjs +15 -0
- package/dist/components/ui/{dropdown-menu-CUC5b1yi.d.ts → dropdown-menu-BiTw8JoY.d.ts} +1 -1
- package/dist/components/ui/dropdown-menu-BkKMo0ox.d.cts +2 -0
- package/dist/components/ui/dropdown-menu.cjs +20 -0
- package/dist/components/ui/{file-upload-BKYxasJe.d.ts → file-upload-B5xI4UMr.d.ts} +1 -1
- package/dist/components/ui/file-upload-DiSeXl5J.d.cts +2 -0
- package/dist/components/ui/file-upload.cjs +28 -0
- package/dist/components/ui/{form-Ui-fGegs.d.ts → form-Di2tTY-R.d.ts} +1 -1
- package/dist/components/ui/form-Ou4AQTb6.d.cts +2 -0
- package/dist/components/ui/form.cjs +14 -0
- package/dist/components/ui/{index-BDJfgHZT.d.ts → index-8A2fRq2u.d.ts} +29 -29
- package/dist/components/ui/index-G20FcqoN.d.cts +30 -0
- package/dist/components/ui/index.cjs +187 -0
- package/dist/components/ui/input-DUQcmWuH.d.cts +2 -0
- package/dist/components/ui/input-gUHpQ5sH.d.ts +2 -0
- package/dist/components/ui/input.cjs +6 -0
- package/dist/components/ui/label-D0-7tdhM.d.ts +2 -0
- package/dist/components/ui/label-DimrvHz0.d.cts +2 -0
- package/dist/components/ui/label.cjs +6 -0
- package/dist/components/ui/pagination-C3bwMwwX.d.cts +2 -0
- package/dist/components/ui/{pagination-CLlEoufd.d.ts → pagination-CEb9cpQ4.d.ts} +1 -1
- package/dist/components/ui/pagination.cjs +39 -0
- package/dist/components/ui/popover-BMsEOeZk.d.cts +2 -0
- package/dist/components/ui/{popover-BuE9HJFI.d.ts → popover-DnnrgVi3.d.ts} +1 -1
- package/dist/components/ui/popover.cjs +9 -0
- package/dist/components/ui/{radio-group-BNV5xVaA.d.ts → radio-group-DIjhsevH.d.ts} +1 -1
- package/dist/components/ui/radio-group-LhGeL5Jq.d.cts +2 -0
- package/dist/components/ui/radio-group.cjs +7 -0
- package/dist/components/ui/select-DEocx6ny.d.cts +2 -0
- package/dist/components/ui/{select-BAT_xUS6.d.ts → select-d1uVKLd4.d.ts} +1 -1
- package/dist/components/ui/select.cjs +17 -0
- package/dist/components/ui/separator-B9ar107P.d.ts +2 -0
- package/dist/components/ui/separator-CRHUHLVk.d.cts +2 -0
- package/dist/components/ui/separator.cjs +6 -0
- package/dist/components/ui/shadcn-io/tags/index-C7ircX0x.d.cts +2 -0
- package/dist/components/ui/shadcn-io/tags/{index-NcbrE1RX.d.ts → index-D0RWMGB5.d.ts} +1 -1
- package/dist/components/ui/shadcn-io/tags/index.cjs +21 -0
- package/dist/components/ui/shadcn-io/tags-input-inline/{index-CAYAMlWT.d.ts → index-DVGMC27L.d.ts} +1 -1
- package/dist/components/ui/shadcn-io/tags-input-inline/index-DpTV34EG.d.cts +2 -0
- package/dist/components/ui/shadcn-io/tags-input-inline/index.cjs +10 -0
- package/dist/components/ui/sheet-DrTt0RCh.d.cts +2 -0
- package/dist/components/ui/{sheet-CPsrps2C.d.ts → sheet-oRvo5v4N.d.ts} +1 -1
- package/dist/components/ui/sheet.cjs +13 -0
- package/dist/components/ui/slider-B_Ct6RDR.d.ts +2 -0
- package/dist/components/ui/slider-qhTDbebA.d.cts +2 -0
- package/dist/components/ui/slider.cjs +6 -0
- package/dist/components/ui/switch-BN9A2aWi.d.ts +2 -0
- package/dist/components/ui/switch-D6yB-Ovv.d.cts +2 -0
- package/dist/components/ui/switch.cjs +8 -0
- package/dist/components/ui/tabs-BThS9Ifx.d.cts +2 -0
- package/dist/components/ui/tabs-BXfCBX9q.d.ts +2 -0
- package/dist/components/ui/tabs.cjs +9 -0
- package/dist/components/ui/textarea-BfSbPfQE.d.ts +2 -0
- package/dist/components/ui/textarea-CQzW61Gx.d.cts +2 -0
- package/dist/components/ui/textarea.cjs +6 -0
- package/dist/components/ui/{tooltip-BcAxWshO.d.ts → tooltip-B05vLa7i.d.ts} +1 -1
- package/dist/components/ui/tooltip-BRCqK0UP.d.cts +2 -0
- package/dist/components/ui/tooltip.cjs +9 -0
- package/dist/{dialog-C4wKr521.d.ts → dialog-BeJ4W_wL.d.cts} +11 -11
- package/dist/dialog-C1-NCU47.d.ts +47 -0
- package/dist/dialog-DFENsfgQ.cjs +149 -0
- package/dist/dropdown-menu-B2D2pr52.cjs +216 -0
- package/dist/dropdown-menu-CGyKEAjo.d.ts +77 -0
- package/dist/{dropdown-menu-CnrLe3nb.d.ts → dropdown-menu-pJlZRoLy.d.cts} +16 -16
- package/dist/file-upload-9q25L_mV.d.cts +94 -0
- package/dist/{file-upload-BLSfy-1K.d.ts → file-upload-Cd99SBNZ.d.ts} +11 -11
- package/dist/file-upload-DGFPUCSi.cjs +973 -0
- package/dist/{form-BSwltNo1.d.ts → form-C4ktVmIn.d.ts} +7 -7
- package/dist/form-C9YnHr1i.cjs +137 -0
- package/dist/form-DHHxQebW.d.cts +45 -0
- package/dist/{index-Bpvi7gIc.d.ts → index-B_2R7TER.d.cts} +7 -7
- package/dist/index-Blt-EW0e.d.cts +31 -0
- package/dist/{index-BSKUD7fA.d.ts → index-Cgz59HyA.d.ts} +9 -9
- package/dist/index-Ctvuv0vV.d.cts +1 -0
- package/dist/{index-CkSrVqpn.d.ts → index-DOMvBE84.d.ts} +29 -29
- package/dist/index-DvlthbVs.d.cts +39 -0
- package/dist/index-DxMmAsPK.d.cts +70 -0
- package/dist/{index-DwHkYD1A.d.ts → index-VLXQAOef.d.ts} +13 -13
- package/dist/index-fofN1DBY.d.ts +31 -0
- package/dist/index.cjs +188 -0
- package/dist/input-BGQuRFda.d.ts +11 -0
- package/dist/input-BfxJHE4U.cjs +23 -0
- package/dist/input-C5RDMgi3.d.cts +11 -0
- package/dist/jsx-runtime-BlVTPSwi.cjs +283 -0
- package/dist/label-B92w7LNc.cjs +24 -0
- package/dist/{label-CaJMuv7i.d.ts → label-C82lEB8P.d.ts} +2 -2
- package/dist/label-FC0f8Usj.d.cts +11 -0
- package/dist/lib/index-D0-THr8a.d.cts +2 -0
- package/dist/lib/index.cjs +4 -0
- package/dist/lib/utils-lNm-CqH0.d.cts +2 -0
- package/dist/lib/utils.cjs +3 -0
- package/dist/lib-CkvvICiv.cjs +0 -0
- package/dist/{popover-DpSyC3-j.d.ts → popover-BX6CaTPU.d.cts} +5 -5
- package/dist/popover-C7XolifE.d.ts +22 -0
- package/dist/popover-CxQjRK9q.cjs +62 -0
- package/dist/radio-group-BGPJ_D8q.cjs +43 -0
- package/dist/{radio-group-Cfa4brdK.d.ts → radio-group-CcjDx3W6.d.ts} +3 -3
- package/dist/radio-group-oSmZ0ztd.d.cts +15 -0
- package/dist/{select-B3Zt7fRL.d.ts → select-BAngGmNL.d.cts} +11 -11
- package/dist/select-BZfB9A8R.cjs +160 -0
- package/dist/select-Fa42Z4LL.d.ts +52 -0
- package/dist/separator-3CugGxfw.cjs +26 -0
- package/dist/separator-4yrIPr8r.d.cts +13 -0
- package/dist/{separator-Cucb_6O4.d.ts → separator-CfeHjQ3U.d.ts} +2 -2
- package/dist/{sheet-B3Ak6LSw.d.ts → sheet-BjXx7ddJ.d.ts} +9 -9
- package/dist/sheet-CHuRM3o6.cjs +133 -0
- package/dist/sheet-DP0qGWDN.d.cts +40 -0
- package/dist/slider-3-mzOHpV.cjs +45 -0
- package/dist/{slider-D8tCfiZV.d.ts → slider-B3CoyrXu.d.cts} +2 -2
- package/dist/slider-D3ozng9Y.d.ts +15 -0
- package/dist/src-Bx8pdty8.cjs +266 -0
- package/dist/{switch-DXaptB6g.d.ts → switch-B5LyLweM.d.ts} +2 -2
- package/dist/switch-BIfMlSaF.d.cts +11 -0
- package/dist/switch-L23w_mnL.cjs +28 -0
- package/dist/{tabs-B0X-LEdY.d.ts → tabs-BPdlT-mo.d.ts} +5 -5
- package/dist/tabs-CaKdT_iv.cjs +63 -0
- package/dist/tabs-DB6AHtkj.d.cts +23 -0
- package/dist/tags-VzxSgWuS.cjs +184 -0
- package/dist/tags-input-inline-CNZb7USn.cjs +94 -0
- package/dist/textarea-CRkBubLj.cjs +22 -0
- package/dist/textarea-CqY_xh2i.d.cts +10 -0
- package/dist/{textarea-09eXlo5q.d.ts → textarea-_V7biagy.d.ts} +2 -2
- package/dist/{tooltip-BQpFgVRJ.d.ts → tooltip-C7py127U.d.cts} +5 -5
- package/dist/tooltip-D1pZ34pY.d.ts +23 -0
- package/dist/tooltip-DelLkXOp.cjs +63 -0
- package/dist/utils-DyQCiavd.cjs +16 -0
- package/dist/utils-tcGMjZkT.d.cts +6 -0
- package/package.json +51 -48
- package/dist/components/ui/alert-Dnyd20KB.d.ts +0 -2
- package/dist/components/ui/avatar-CBM6Rxkl.d.ts +0 -2
- package/dist/components/ui/badge-tZQG9OGU.d.ts +0 -2
- package/dist/components/ui/button-B1jOU2SH.d.ts +0 -2
- package/dist/components/ui/checkbox-B4Zt92ES.d.ts +0 -2
- package/dist/components/ui/input-O6aZyiJl.d.ts +0 -2
- package/dist/components/ui/label-CiFY9QCm.d.ts +0 -2
- package/dist/components/ui/separator-rI7QiaxO.d.ts +0 -2
- package/dist/components/ui/slider-DqROXr79.d.ts +0 -2
- package/dist/components/ui/switch-BF2c_Zn9.d.ts +0 -2
- package/dist/components/ui/tabs-DRhGRCqD.d.ts +0 -2
- package/dist/components/ui/textarea-BoOWHGtB.d.ts +0 -2
- package/dist/input-Mvgjlh3F.d.ts +0 -11
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
|
|
2
|
+
const require_utils = require('./utils-DyQCiavd.cjs');
|
|
3
|
+
const require_badge = require('./badge-3M1AQ3yx.cjs');
|
|
4
|
+
const require_button = require('./button-BNmxKjOB.cjs');
|
|
5
|
+
const require_command = require('./command-DX6woPdY.cjs');
|
|
6
|
+
const require_popover = require('./popover-CxQjRK9q.cjs');
|
|
7
|
+
let react = require("react");
|
|
8
|
+
let lucide_react = require("lucide-react");
|
|
9
|
+
|
|
10
|
+
//#region src/components/ui/shadcn-io/tags/index.tsx
|
|
11
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
12
|
+
const TagsContext = (0, react.createContext)({
|
|
13
|
+
value: void 0,
|
|
14
|
+
setValue: void 0,
|
|
15
|
+
open: false,
|
|
16
|
+
onOpenChange: () => {},
|
|
17
|
+
width: void 0,
|
|
18
|
+
setWidth: void 0
|
|
19
|
+
});
|
|
20
|
+
function useTagsContext() {
|
|
21
|
+
const context = (0, react.use)(TagsContext);
|
|
22
|
+
if (!context) throw new Error("useTagsContext must be used within a TagsProvider");
|
|
23
|
+
return context;
|
|
24
|
+
}
|
|
25
|
+
function Tags({ value, setValue, open: controlledOpen, onOpenChange: controlledOnOpenChange, children, className }) {
|
|
26
|
+
const [uncontrolledOpen, setUncontrolledOpen] = (0, react.useState)(false);
|
|
27
|
+
const [width, setWidth] = (0, react.useState)();
|
|
28
|
+
const ref = (0, react.useRef)(null);
|
|
29
|
+
const open = controlledOpen ?? uncontrolledOpen;
|
|
30
|
+
const onOpenChange = controlledOnOpenChange ?? setUncontrolledOpen;
|
|
31
|
+
(0, react.useEffect)(() => {
|
|
32
|
+
if (!ref.current) return;
|
|
33
|
+
const resizeObserver = new ResizeObserver((entries) => {
|
|
34
|
+
if (entries[0]) setWidth(entries[0].contentRect.width);
|
|
35
|
+
});
|
|
36
|
+
resizeObserver.observe(ref.current);
|
|
37
|
+
return () => {
|
|
38
|
+
resizeObserver.disconnect();
|
|
39
|
+
};
|
|
40
|
+
}, []);
|
|
41
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TagsContext.Provider, {
|
|
42
|
+
value: {
|
|
43
|
+
value,
|
|
44
|
+
setValue,
|
|
45
|
+
open,
|
|
46
|
+
onOpenChange,
|
|
47
|
+
width,
|
|
48
|
+
setWidth
|
|
49
|
+
},
|
|
50
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_popover.Popover, {
|
|
51
|
+
onOpenChange,
|
|
52
|
+
open,
|
|
53
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
54
|
+
className: require_utils.cn("relative w-full", className),
|
|
55
|
+
ref,
|
|
56
|
+
children
|
|
57
|
+
})
|
|
58
|
+
})
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
function TagsTrigger({ className, children, ...props }) {
|
|
62
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_popover.PopoverTrigger, {
|
|
63
|
+
asChild: true,
|
|
64
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_button.Button, {
|
|
65
|
+
className: require_utils.cn("h-auto w-full justify-between p-2", className),
|
|
66
|
+
role: "combobox",
|
|
67
|
+
variant: "outline",
|
|
68
|
+
...props,
|
|
69
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
70
|
+
className: "flex flex-wrap items-center gap-1",
|
|
71
|
+
children: [children, /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
72
|
+
className: "px-2 py-px text-muted-foreground",
|
|
73
|
+
children: "Select a tag..."
|
|
74
|
+
})]
|
|
75
|
+
})
|
|
76
|
+
})
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
function TagsValue({ className, children, onRemove, ...props }) {
|
|
80
|
+
const handleRemove = (event) => {
|
|
81
|
+
event.preventDefault();
|
|
82
|
+
event.stopPropagation();
|
|
83
|
+
onRemove?.();
|
|
84
|
+
};
|
|
85
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(require_badge.Badge, {
|
|
86
|
+
className: require_utils.cn("flex items-center gap-2", className),
|
|
87
|
+
...props,
|
|
88
|
+
children: [children, onRemove && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
89
|
+
className: "size-auto cursor-pointer hover:text-muted-foreground",
|
|
90
|
+
onClick: handleRemove,
|
|
91
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(lucide_react.XIcon, { size: 12 })
|
|
92
|
+
})]
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function TagsContent({ className, children, ...props }) {
|
|
96
|
+
const { width } = useTagsContext();
|
|
97
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_popover.PopoverContent, {
|
|
98
|
+
className: require_utils.cn("p-0", className),
|
|
99
|
+
style: { width },
|
|
100
|
+
...props,
|
|
101
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_command.Command, { children })
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
function TagsInput({ className, ...props }) {
|
|
105
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_command.CommandInput, {
|
|
106
|
+
className: require_utils.cn("h-9", className),
|
|
107
|
+
...props
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
function TagsList({ className, ...props }) {
|
|
111
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_command.CommandList, {
|
|
112
|
+
className: require_utils.cn("max-h-[200px]", className),
|
|
113
|
+
...props
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
function TagsEmpty({ children, className, ...props }) {
|
|
117
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_command.CommandEmpty, {
|
|
118
|
+
...props,
|
|
119
|
+
children: children ?? "No tags found."
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
const TagsGroup = require_command.CommandGroup;
|
|
123
|
+
function TagsItem({ className, ...props }) {
|
|
124
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_command.CommandItem, {
|
|
125
|
+
className: require_utils.cn("cursor-pointer items-center justify-between", className),
|
|
126
|
+
...props
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
//#endregion
|
|
131
|
+
Object.defineProperty(exports, 'Tags', {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function () {
|
|
134
|
+
return Tags;
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
Object.defineProperty(exports, 'TagsContent', {
|
|
138
|
+
enumerable: true,
|
|
139
|
+
get: function () {
|
|
140
|
+
return TagsContent;
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
Object.defineProperty(exports, 'TagsEmpty', {
|
|
144
|
+
enumerable: true,
|
|
145
|
+
get: function () {
|
|
146
|
+
return TagsEmpty;
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
Object.defineProperty(exports, 'TagsGroup', {
|
|
150
|
+
enumerable: true,
|
|
151
|
+
get: function () {
|
|
152
|
+
return TagsGroup;
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
Object.defineProperty(exports, 'TagsInput', {
|
|
156
|
+
enumerable: true,
|
|
157
|
+
get: function () {
|
|
158
|
+
return TagsInput;
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
Object.defineProperty(exports, 'TagsItem', {
|
|
162
|
+
enumerable: true,
|
|
163
|
+
get: function () {
|
|
164
|
+
return TagsItem;
|
|
165
|
+
}
|
|
166
|
+
});
|
|
167
|
+
Object.defineProperty(exports, 'TagsList', {
|
|
168
|
+
enumerable: true,
|
|
169
|
+
get: function () {
|
|
170
|
+
return TagsList;
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
Object.defineProperty(exports, 'TagsTrigger', {
|
|
174
|
+
enumerable: true,
|
|
175
|
+
get: function () {
|
|
176
|
+
return TagsTrigger;
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
Object.defineProperty(exports, 'TagsValue', {
|
|
180
|
+
enumerable: true,
|
|
181
|
+
get: function () {
|
|
182
|
+
return TagsValue;
|
|
183
|
+
}
|
|
184
|
+
});
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
|
|
2
|
+
const require_utils = require('./utils-DyQCiavd.cjs');
|
|
3
|
+
let lucide_react = require("lucide-react");
|
|
4
|
+
let __diceui_tags_input = require("@diceui/tags-input");
|
|
5
|
+
__diceui_tags_input = require_jsx_runtime$1.__toESM(__diceui_tags_input);
|
|
6
|
+
|
|
7
|
+
//#region src/components/ui/shadcn-io/tags-input-inline/index.tsx
|
|
8
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
9
|
+
function TagsInputInLineRoot({ className, ...props }) {
|
|
10
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__diceui_tags_input.Root, {
|
|
11
|
+
"data-slot": "tags-input",
|
|
12
|
+
className: require_utils.cn("flex w-full flex-col", className),
|
|
13
|
+
...props
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function TagsInputInLineLabel({ className, ...props }) {
|
|
17
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__diceui_tags_input.Label, {
|
|
18
|
+
"data-slot": "tags-input-label",
|
|
19
|
+
className: require_utils.cn("font-medium text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", className),
|
|
20
|
+
...props
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
function TagsInputInLineList({ className, ...props }) {
|
|
24
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
25
|
+
"data-slot": "tags-input-list",
|
|
26
|
+
className: require_utils.cn("flex min-h-10 w-full flex-wrap items-center gap-1.5 rounded-md border border-input bg-background px-3 py-2 text-sm focus-within:ring-1 focus-within:ring-ring disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
27
|
+
...props
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
function TagsInputInLineInput({ className, ...props }) {
|
|
31
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__diceui_tags_input.Input, {
|
|
32
|
+
"data-slot": "tags-input-input",
|
|
33
|
+
className: require_utils.cn("flex-1 bg-transparent outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
34
|
+
...props
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function TagsInputInLineItem({ className, children, ...props }) {
|
|
38
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(__diceui_tags_input.Item, {
|
|
39
|
+
"data-slot": "tags-input-item",
|
|
40
|
+
className: require_utils.cn("inline-flex max-w-[calc(100%-8px)] items-center gap-1.5 rounded border bg-transparent px-2.5 py-1 text-sm focus:outline-hidden data-disabled:cursor-not-allowed data-editable:select-none data-editing:bg-transparent data-disabled:opacity-50 data-editing:ring-1 data-editing:ring-ring [&:not([data-editing])]:pr-1.5 [&[data-highlighted]:not([data-editing])]:bg-accent [&[data-highlighted]:not([data-editing])]:text-accent-foreground", className),
|
|
41
|
+
...props,
|
|
42
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(__diceui_tags_input.ItemText, {
|
|
43
|
+
className: "truncate",
|
|
44
|
+
children
|
|
45
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__diceui_tags_input.ItemDelete, {
|
|
46
|
+
className: "size-4 shrink-0 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100",
|
|
47
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(lucide_react.X, { className: "size-3.5" })
|
|
48
|
+
})]
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
function TagsInputInLineClear({ ...props }) {
|
|
52
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__diceui_tags_input.Clear, {
|
|
53
|
+
"data-slot": "tags-input-clear",
|
|
54
|
+
...props
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
//#endregion
|
|
59
|
+
Object.defineProperty(exports, 'TagsInputInLineClear', {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () {
|
|
62
|
+
return TagsInputInLineClear;
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, 'TagsInputInLineInput', {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () {
|
|
68
|
+
return TagsInputInLineInput;
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
Object.defineProperty(exports, 'TagsInputInLineItem', {
|
|
72
|
+
enumerable: true,
|
|
73
|
+
get: function () {
|
|
74
|
+
return TagsInputInLineItem;
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports, 'TagsInputInLineLabel', {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () {
|
|
80
|
+
return TagsInputInLineLabel;
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
Object.defineProperty(exports, 'TagsInputInLineList', {
|
|
84
|
+
enumerable: true,
|
|
85
|
+
get: function () {
|
|
86
|
+
return TagsInputInLineList;
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(exports, 'TagsInputInLineRoot', {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function () {
|
|
92
|
+
return TagsInputInLineRoot;
|
|
93
|
+
}
|
|
94
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
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/textarea.tsx
|
|
7
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
8
|
+
function Textarea({ className, ...props }) {
|
|
9
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("textarea", {
|
|
10
|
+
"data-slot": "textarea",
|
|
11
|
+
className: require_utils.cn("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", className),
|
|
12
|
+
...props
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
Object.defineProperty(exports, 'Textarea', {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () {
|
|
20
|
+
return Textarea;
|
|
21
|
+
}
|
|
22
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime85 from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ui/textarea.d.ts
|
|
5
|
+
declare function Textarea({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}: React.ComponentProps<'textarea'>): react_jsx_runtime85.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Textarea as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime104 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/textarea.d.ts
|
|
5
5
|
declare function Textarea({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<'textarea'>):
|
|
8
|
+
}: React.ComponentProps<'textarea'>): react_jsx_runtime104.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Textarea as t };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
+
import * as react_jsx_runtime120 from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3
|
-
import * as react_jsx_runtime129 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/tooltip.d.ts
|
|
6
6
|
declare function TooltipProvider({
|
|
7
7
|
delayDuration,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Provider>):
|
|
9
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime120.JSX.Element;
|
|
10
10
|
declare function Tooltip({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Root>):
|
|
12
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime120.JSX.Element;
|
|
13
13
|
declare function TooltipTrigger({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>):
|
|
15
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime120.JSX.Element;
|
|
16
16
|
declare function TooltipContent({
|
|
17
17
|
className,
|
|
18
18
|
sideOffset,
|
|
19
19
|
children,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Content>):
|
|
21
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime120.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { TooltipTrigger as i, TooltipContent as n, TooltipProvider as r, Tooltip as t };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3
|
+
import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/tooltip.d.ts
|
|
6
|
+
declare function TooltipProvider({
|
|
7
|
+
delayDuration,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime72.JSX.Element;
|
|
10
|
+
declare function Tooltip({
|
|
11
|
+
...props
|
|
12
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime72.JSX.Element;
|
|
13
|
+
declare function TooltipTrigger({
|
|
14
|
+
...props
|
|
15
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime72.JSX.Element;
|
|
16
|
+
declare function TooltipContent({
|
|
17
|
+
className,
|
|
18
|
+
sideOffset,
|
|
19
|
+
children,
|
|
20
|
+
...props
|
|
21
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime72.JSX.Element;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { TooltipTrigger as i, TooltipContent as n, TooltipProvider as r, Tooltip as t };
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
let __radix_ui_react_tooltip = require("@radix-ui/react-tooltip");
|
|
6
|
+
__radix_ui_react_tooltip = require_jsx_runtime$1.__toESM(__radix_ui_react_tooltip);
|
|
7
|
+
|
|
8
|
+
//#region src/components/ui/tooltip.tsx
|
|
9
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
10
|
+
function TooltipProvider({ delayDuration = 0, ...props }) {
|
|
11
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_tooltip.Provider, {
|
|
12
|
+
"data-slot": "tooltip-provider",
|
|
13
|
+
delayDuration,
|
|
14
|
+
...props
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function Tooltip({ ...props }) {
|
|
18
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_tooltip.Root, {
|
|
19
|
+
"data-slot": "tooltip",
|
|
20
|
+
...props
|
|
21
|
+
}) });
|
|
22
|
+
}
|
|
23
|
+
function TooltipTrigger({ ...props }) {
|
|
24
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_tooltip.Trigger, {
|
|
25
|
+
"data-slot": "tooltip-trigger",
|
|
26
|
+
...props
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function TooltipContent({ className, sideOffset = 0, children, ...props }) {
|
|
30
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(__radix_ui_react_tooltip.Content, {
|
|
31
|
+
"data-slot": "tooltip-content",
|
|
32
|
+
sideOffset,
|
|
33
|
+
className: require_utils.cn("bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance", className),
|
|
34
|
+
...props,
|
|
35
|
+
children: [children, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_tooltip.Arrow, { className: "bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })]
|
|
36
|
+
}) });
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
//#endregion
|
|
40
|
+
Object.defineProperty(exports, 'Tooltip', {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () {
|
|
43
|
+
return Tooltip;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, 'TooltipContent', {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () {
|
|
49
|
+
return TooltipContent;
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, 'TooltipProvider', {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () {
|
|
55
|
+
return TooltipProvider;
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
Object.defineProperty(exports, 'TooltipTrigger', {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () {
|
|
61
|
+
return TooltipTrigger;
|
|
62
|
+
}
|
|
63
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_jsx_runtime = require('./jsx-runtime-BlVTPSwi.cjs');
|
|
2
|
+
let clsx = require("clsx");
|
|
3
|
+
let tailwind_merge = require("tailwind-merge");
|
|
4
|
+
|
|
5
|
+
//#region src/lib/utils.ts
|
|
6
|
+
function cn(...inputs) {
|
|
7
|
+
return (0, tailwind_merge.twMerge)((0, clsx.clsx)(inputs));
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
Object.defineProperty(exports, 'cn', {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () {
|
|
14
|
+
return cn;
|
|
15
|
+
}
|
|
16
|
+
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixpilot/shadcn",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
|
+
"packageManager": "pnpm@10.17.0",
|
|
5
6
|
"description": "A collection of reusable UI components built with shadcn/ui and Radix UI primitives.",
|
|
6
7
|
"author": "m.doaie <m.doaie@hotmail.com>",
|
|
7
8
|
"license": "MIT",
|
|
@@ -11,23 +12,43 @@
|
|
|
11
12
|
"directory": "packages/ui"
|
|
12
13
|
},
|
|
13
14
|
"keywords": [],
|
|
14
|
-
"exports":
|
|
15
|
-
".": {
|
|
16
|
-
"types": "./dist/index.d.ts",
|
|
17
|
-
"import": "./dist/index.js",
|
|
18
|
-
"require": "./dist/index.cjs"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
15
|
+
"exports": "./src/index.ts",
|
|
21
16
|
"files": [
|
|
22
17
|
"dist"
|
|
23
18
|
],
|
|
24
19
|
"publishConfig": {
|
|
25
|
-
"access": "public"
|
|
20
|
+
"access": "public",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"import": "./dist/index.js",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"main": "./dist/index.cjs",
|
|
29
|
+
"module": "./dist/index.js",
|
|
30
|
+
"types": "./dist/index.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"prepublishOnly": "pnpm run clean && pnpm run build",
|
|
34
|
+
"clean": "git clean -xdf .cache .turbo dist",
|
|
35
|
+
"clean:all": "git clean -xdf .cache .turbo dist node_modules",
|
|
36
|
+
"build": "tsdown",
|
|
37
|
+
"build:watch": "tsdown --watch",
|
|
38
|
+
"type-check": "tsc --noEmit",
|
|
39
|
+
"format": "prettier --check . --ignore-path ../../.gitignore --ignore-path ../../.prettierignore",
|
|
40
|
+
"lint": "eslint",
|
|
41
|
+
"lint:fix": "eslint --fix",
|
|
42
|
+
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
|
|
43
|
+
"test": "vitest --run",
|
|
44
|
+
"test:watch": "vitest --watch",
|
|
45
|
+
"test:ui": "vitest --ui",
|
|
46
|
+
"shadcn:add": "npx shadcn@latest add"
|
|
26
47
|
},
|
|
27
48
|
"dependencies": {
|
|
28
49
|
"@diceui/tags-input": "^0.7.2",
|
|
29
50
|
"@hookform/resolvers": "^5.2.2",
|
|
30
|
-
"@pixpilot/hash": "
|
|
51
|
+
"@pixpilot/hash": "catalog:prod",
|
|
31
52
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
32
53
|
"@radix-ui/react-avatar": "^1.1.11",
|
|
33
54
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
@@ -47,55 +68,37 @@
|
|
|
47
68
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
48
69
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
49
70
|
"class-variance-authority": "^0.7.1",
|
|
50
|
-
"clsx": "
|
|
71
|
+
"clsx": "catalog:prod",
|
|
51
72
|
"cmdk": "^1.1.1",
|
|
52
73
|
"date-fns": "^4.1.0",
|
|
53
|
-
"lucide-react": "
|
|
74
|
+
"lucide-react": "catalog:prod",
|
|
54
75
|
"react-day-picker": "^9.11.3",
|
|
55
76
|
"react-hook-form": "^8.0.0-alpha.5",
|
|
56
|
-
"tailwind-merge": "
|
|
77
|
+
"tailwind-merge": "catalog:prod",
|
|
57
78
|
"tailwindcss-animate": "^1.0.7",
|
|
58
79
|
"zod": "^4.1.12"
|
|
59
80
|
},
|
|
60
81
|
"devDependencies": {
|
|
61
|
-
"@
|
|
82
|
+
"@internal/eslint-config": "workspace:*",
|
|
83
|
+
"@internal/prettier-config": "workspace:*",
|
|
84
|
+
"@internal/tsconfig": "workspace:*",
|
|
85
|
+
"@internal/tsdown-config": "workspace:*",
|
|
86
|
+
"@internal/vitest-config": "workspace:*",
|
|
87
|
+
"@pixpilot/dev-config": "catalog:dev",
|
|
62
88
|
"@tailwindcss/postcss": "^4.1.17",
|
|
63
|
-
"@testing-library/jest-dom": "
|
|
64
|
-
"@testing-library/react": "
|
|
65
|
-
"@types/react": "
|
|
89
|
+
"@testing-library/jest-dom": "catalog:dev",
|
|
90
|
+
"@testing-library/react": "catalog:dev",
|
|
91
|
+
"@types/react": "catalog:dev",
|
|
66
92
|
"autoprefixer": "^10.4.21",
|
|
67
|
-
"eslint": "
|
|
93
|
+
"eslint": "catalog:dev",
|
|
68
94
|
"jsdom": "^27.2.0",
|
|
69
95
|
"postcss": "^8.5.6",
|
|
70
|
-
"prettier": "
|
|
71
|
-
"react": "
|
|
96
|
+
"prettier": "catalog:dev",
|
|
97
|
+
"react": "catalog:prod",
|
|
72
98
|
"tailwindcss": "^4.1.17",
|
|
73
|
-
"tsdown": "
|
|
74
|
-
"typescript": "
|
|
75
|
-
"typescript-eslint": "
|
|
76
|
-
"@internal/eslint-config": "0.3.0",
|
|
77
|
-
"@internal/prettier-config": "0.0.1",
|
|
78
|
-
"@internal/tsdown-config": "0.1.0",
|
|
79
|
-
"@internal/tsconfig": "0.1.0",
|
|
80
|
-
"@internal/vitest-config": "0.1.0"
|
|
81
|
-
},
|
|
82
|
-
"prettier": "@internal/prettier-config",
|
|
83
|
-
"scripts": {
|
|
84
|
-
"clean": "git clean -xdf .cache .turbo dist",
|
|
85
|
-
"clean:all": "git clean -xdf .cache .turbo dist node_modules",
|
|
86
|
-
"build": "tsdown",
|
|
87
|
-
"build:watch": "tsdown --watch",
|
|
88
|
-
"type-check": "tsc --noEmit",
|
|
89
|
-
"format": "prettier --check . --ignore-path ../../.gitignore --ignore-path ../../.prettierignore",
|
|
90
|
-
"lint": "eslint",
|
|
91
|
-
"lint:fix": "eslint --fix",
|
|
92
|
-
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
|
|
93
|
-
"test": "vitest --run",
|
|
94
|
-
"test:watch": "vitest --watch",
|
|
95
|
-
"test:ui": "vitest --ui",
|
|
96
|
-
"shadcn:add": "npx shadcn@latest add"
|
|
99
|
+
"tsdown": "catalog:dev",
|
|
100
|
+
"typescript": "catalog:dev",
|
|
101
|
+
"typescript-eslint": "catalog:dev"
|
|
97
102
|
},
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
"types": "./dist/index.d.ts"
|
|
101
|
-
}
|
|
103
|
+
"prettier": "@internal/prettier-config"
|
|
104
|
+
}
|