@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,62 @@
|
|
|
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_popover = require("@radix-ui/react-popover");
|
|
6
|
+
__radix_ui_react_popover = require_jsx_runtime$1.__toESM(__radix_ui_react_popover);
|
|
7
|
+
|
|
8
|
+
//#region src/components/ui/popover.tsx
|
|
9
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
10
|
+
function Popover({ ...props }) {
|
|
11
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_popover.Root, {
|
|
12
|
+
"data-slot": "popover",
|
|
13
|
+
...props
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function PopoverTrigger({ ...props }) {
|
|
17
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_popover.Trigger, {
|
|
18
|
+
"data-slot": "popover-trigger",
|
|
19
|
+
...props
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function PopoverContent({ className, align = "center", sideOffset = 4, ...props }) {
|
|
23
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_popover.Content, {
|
|
24
|
+
"data-slot": "popover-content",
|
|
25
|
+
align,
|
|
26
|
+
sideOffset,
|
|
27
|
+
className: require_utils.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", className),
|
|
28
|
+
...props
|
|
29
|
+
}) });
|
|
30
|
+
}
|
|
31
|
+
function PopoverAnchor({ ...props }) {
|
|
32
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_popover.Anchor, {
|
|
33
|
+
"data-slot": "popover-anchor",
|
|
34
|
+
...props
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
//#endregion
|
|
39
|
+
Object.defineProperty(exports, 'Popover', {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () {
|
|
42
|
+
return Popover;
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, 'PopoverAnchor', {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () {
|
|
48
|
+
return PopoverAnchor;
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(exports, 'PopoverContent', {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () {
|
|
54
|
+
return PopoverContent;
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(exports, 'PopoverTrigger', {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () {
|
|
60
|
+
return PopoverTrigger;
|
|
61
|
+
}
|
|
62
|
+
});
|
|
@@ -0,0 +1,43 @@
|
|
|
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 lucide_react = require("lucide-react");
|
|
6
|
+
let __radix_ui_react_radio_group = require("@radix-ui/react-radio-group");
|
|
7
|
+
__radix_ui_react_radio_group = require_jsx_runtime$1.__toESM(__radix_ui_react_radio_group);
|
|
8
|
+
|
|
9
|
+
//#region src/components/ui/radio-group.tsx
|
|
10
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
11
|
+
function RadioGroup({ className, ...props }) {
|
|
12
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_radio_group.Root, {
|
|
13
|
+
"data-slot": "radio-group",
|
|
14
|
+
className: require_utils.cn("grid gap-3", className),
|
|
15
|
+
...props
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function RadioGroupItem({ className, ...props }) {
|
|
19
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_radio_group.Item, {
|
|
20
|
+
"data-slot": "radio-group-item",
|
|
21
|
+
className: require_utils.cn("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
22
|
+
...props,
|
|
23
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_radio_group.Indicator, {
|
|
24
|
+
"data-slot": "radio-group-indicator",
|
|
25
|
+
className: "relative flex items-center justify-center",
|
|
26
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(lucide_react.CircleIcon, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
|
|
27
|
+
})
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
Object.defineProperty(exports, 'RadioGroup', {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () {
|
|
35
|
+
return RadioGroup;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, 'RadioGroupItem', {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () {
|
|
41
|
+
return RadioGroupItem;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/radio-group.d.ts
|
|
6
6
|
declare function RadioGroup({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof RadioGroupPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime23.JSX.Element;
|
|
10
10
|
declare function RadioGroupItem({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof RadioGroupPrimitive.Item>):
|
|
13
|
+
}: React.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime23.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { RadioGroupItem as n, RadioGroup as t };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime135 from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/radio-group.d.ts
|
|
6
|
+
declare function RadioGroup({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime135.JSX.Element;
|
|
10
|
+
declare function RadioGroupItem({
|
|
11
|
+
className,
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime135.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { RadioGroupItem as n, RadioGroup as t };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
3
|
-
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/select.d.ts
|
|
6
6
|
declare function Select({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof SelectPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime44.JSX.Element;
|
|
9
9
|
declare function SelectGroup({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof SelectPrimitive.Group>):
|
|
11
|
+
}: React.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime44.JSX.Element;
|
|
12
12
|
declare function SelectValue({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof SelectPrimitive.Value>):
|
|
14
|
+
}: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime44.JSX.Element;
|
|
15
15
|
declare function SelectTrigger({
|
|
16
16
|
className,
|
|
17
17
|
size,
|
|
@@ -19,34 +19,34 @@ declare function SelectTrigger({
|
|
|
19
19
|
...props
|
|
20
20
|
}: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
21
21
|
size?: 'sm' | 'default';
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime44.JSX.Element;
|
|
23
23
|
declare function SelectContent({
|
|
24
24
|
className,
|
|
25
25
|
children,
|
|
26
26
|
position,
|
|
27
27
|
align,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof SelectPrimitive.Content>):
|
|
29
|
+
}: React.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime44.JSX.Element;
|
|
30
30
|
declare function SelectLabel({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof SelectPrimitive.Label>):
|
|
33
|
+
}: React.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime44.JSX.Element;
|
|
34
34
|
declare function SelectItem({
|
|
35
35
|
className,
|
|
36
36
|
children,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof SelectPrimitive.Item>):
|
|
38
|
+
}: React.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime44.JSX.Element;
|
|
39
39
|
declare function SelectSeparator({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<typeof SelectPrimitive.Separator>):
|
|
42
|
+
}: React.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime44.JSX.Element;
|
|
43
43
|
declare function SelectScrollUpButton({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>):
|
|
46
|
+
}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime44.JSX.Element;
|
|
47
47
|
declare function SelectScrollDownButton({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>):
|
|
50
|
+
}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime44.JSX.Element;
|
|
51
51
|
//#endregion
|
|
52
52
|
export { SelectLabel as a, SelectSeparator as c, SelectItem as i, SelectTrigger as l, SelectContent as n, SelectScrollDownButton as o, SelectGroup as r, SelectScrollUpButton as s, Select as t, SelectValue as u };
|
|
@@ -0,0 +1,160 @@
|
|
|
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 lucide_react = require("lucide-react");
|
|
6
|
+
let __radix_ui_react_select = require("@radix-ui/react-select");
|
|
7
|
+
__radix_ui_react_select = require_jsx_runtime$1.__toESM(__radix_ui_react_select);
|
|
8
|
+
|
|
9
|
+
//#region src/components/ui/select.tsx
|
|
10
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
11
|
+
function Select({ ...props }) {
|
|
12
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_select.Root, {
|
|
13
|
+
"data-slot": "select",
|
|
14
|
+
...props
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function SelectGroup({ ...props }) {
|
|
18
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_select.Group, {
|
|
19
|
+
"data-slot": "select-group",
|
|
20
|
+
...props
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
function SelectValue({ ...props }) {
|
|
24
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_select.Value, {
|
|
25
|
+
"data-slot": "select-value",
|
|
26
|
+
...props
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function SelectTrigger({ className, size = "default", children, ...props }) {
|
|
30
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(__radix_ui_react_select.Trigger, {
|
|
31
|
+
"data-slot": "select-trigger",
|
|
32
|
+
"data-size": size,
|
|
33
|
+
className: require_utils.cn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]: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 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
|
|
34
|
+
...props,
|
|
35
|
+
children: [children, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_select.Icon, {
|
|
36
|
+
asChild: true,
|
|
37
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(lucide_react.ChevronDownIcon, { className: "size-4 opacity-50" })
|
|
38
|
+
})]
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function SelectContent({ className, children, position = "popper", align = "center", ...props }) {
|
|
42
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(__radix_ui_react_select.Content, {
|
|
43
|
+
"data-slot": "select-content",
|
|
44
|
+
className: require_utils.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
|
|
45
|
+
position,
|
|
46
|
+
align,
|
|
47
|
+
...props,
|
|
48
|
+
children: [
|
|
49
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectScrollUpButton, {}),
|
|
50
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_select.Viewport, {
|
|
51
|
+
className: require_utils.cn("p-1", position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),
|
|
52
|
+
children
|
|
53
|
+
}),
|
|
54
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectScrollDownButton, {})
|
|
55
|
+
]
|
|
56
|
+
}) });
|
|
57
|
+
}
|
|
58
|
+
function SelectLabel({ className, ...props }) {
|
|
59
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_select.Label, {
|
|
60
|
+
"data-slot": "select-label",
|
|
61
|
+
className: require_utils.cn("text-muted-foreground px-2 py-1.5 text-xs", className),
|
|
62
|
+
...props
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function SelectItem({ className, children, ...props }) {
|
|
66
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(__radix_ui_react_select.Item, {
|
|
67
|
+
"data-slot": "select-item",
|
|
68
|
+
className: require_utils.cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", className),
|
|
69
|
+
...props,
|
|
70
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
71
|
+
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
72
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_select.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(lucide_react.CheckIcon, { className: "size-4" }) })
|
|
73
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_select.ItemText, { children })]
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
function SelectSeparator({ className, ...props }) {
|
|
77
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_select.Separator, {
|
|
78
|
+
"data-slot": "select-separator",
|
|
79
|
+
className: require_utils.cn("bg-border pointer-events-none -mx-1 my-1 h-px", className),
|
|
80
|
+
...props
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
function SelectScrollUpButton({ className, ...props }) {
|
|
84
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_select.ScrollUpButton, {
|
|
85
|
+
"data-slot": "select-scroll-up-button",
|
|
86
|
+
className: require_utils.cn("flex cursor-default items-center justify-center py-1", className),
|
|
87
|
+
...props,
|
|
88
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(lucide_react.ChevronUpIcon, { className: "size-4" })
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
function SelectScrollDownButton({ className, ...props }) {
|
|
92
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_select.ScrollDownButton, {
|
|
93
|
+
"data-slot": "select-scroll-down-button",
|
|
94
|
+
className: require_utils.cn("flex cursor-default items-center justify-center py-1", className),
|
|
95
|
+
...props,
|
|
96
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(lucide_react.ChevronDownIcon, { className: "size-4" })
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
//#endregion
|
|
101
|
+
Object.defineProperty(exports, 'Select', {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function () {
|
|
104
|
+
return Select;
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
Object.defineProperty(exports, 'SelectContent', {
|
|
108
|
+
enumerable: true,
|
|
109
|
+
get: function () {
|
|
110
|
+
return SelectContent;
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
Object.defineProperty(exports, 'SelectGroup', {
|
|
114
|
+
enumerable: true,
|
|
115
|
+
get: function () {
|
|
116
|
+
return SelectGroup;
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
Object.defineProperty(exports, 'SelectItem', {
|
|
120
|
+
enumerable: true,
|
|
121
|
+
get: function () {
|
|
122
|
+
return SelectItem;
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
Object.defineProperty(exports, 'SelectLabel', {
|
|
126
|
+
enumerable: true,
|
|
127
|
+
get: function () {
|
|
128
|
+
return SelectLabel;
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
Object.defineProperty(exports, 'SelectScrollDownButton', {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function () {
|
|
134
|
+
return SelectScrollDownButton;
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
Object.defineProperty(exports, 'SelectScrollUpButton', {
|
|
138
|
+
enumerable: true,
|
|
139
|
+
get: function () {
|
|
140
|
+
return SelectScrollUpButton;
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
Object.defineProperty(exports, 'SelectSeparator', {
|
|
144
|
+
enumerable: true,
|
|
145
|
+
get: function () {
|
|
146
|
+
return SelectSeparator;
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
Object.defineProperty(exports, 'SelectTrigger', {
|
|
150
|
+
enumerable: true,
|
|
151
|
+
get: function () {
|
|
152
|
+
return SelectTrigger;
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
Object.defineProperty(exports, 'SelectValue', {
|
|
156
|
+
enumerable: true,
|
|
157
|
+
get: function () {
|
|
158
|
+
return SelectValue;
|
|
159
|
+
}
|
|
160
|
+
});
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
3
|
+
import * as react_jsx_runtime51 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/select.d.ts
|
|
6
|
+
declare function Select({
|
|
7
|
+
...props
|
|
8
|
+
}: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime51.JSX.Element;
|
|
9
|
+
declare function SelectGroup({
|
|
10
|
+
...props
|
|
11
|
+
}: React.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime51.JSX.Element;
|
|
12
|
+
declare function SelectValue({
|
|
13
|
+
...props
|
|
14
|
+
}: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime51.JSX.Element;
|
|
15
|
+
declare function SelectTrigger({
|
|
16
|
+
className,
|
|
17
|
+
size,
|
|
18
|
+
children,
|
|
19
|
+
...props
|
|
20
|
+
}: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
21
|
+
size?: 'sm' | 'default';
|
|
22
|
+
}): react_jsx_runtime51.JSX.Element;
|
|
23
|
+
declare function SelectContent({
|
|
24
|
+
className,
|
|
25
|
+
children,
|
|
26
|
+
position,
|
|
27
|
+
align,
|
|
28
|
+
...props
|
|
29
|
+
}: React.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime51.JSX.Element;
|
|
30
|
+
declare function SelectLabel({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime51.JSX.Element;
|
|
34
|
+
declare function SelectItem({
|
|
35
|
+
className,
|
|
36
|
+
children,
|
|
37
|
+
...props
|
|
38
|
+
}: React.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime51.JSX.Element;
|
|
39
|
+
declare function SelectSeparator({
|
|
40
|
+
className,
|
|
41
|
+
...props
|
|
42
|
+
}: React.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime51.JSX.Element;
|
|
43
|
+
declare function SelectScrollUpButton({
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime51.JSX.Element;
|
|
47
|
+
declare function SelectScrollDownButton({
|
|
48
|
+
className,
|
|
49
|
+
...props
|
|
50
|
+
}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime51.JSX.Element;
|
|
51
|
+
//#endregion
|
|
52
|
+
export { SelectLabel as a, SelectSeparator as c, SelectItem as i, SelectTrigger as l, SelectContent as n, SelectScrollDownButton as o, SelectGroup as r, SelectScrollUpButton as s, Select as t, SelectValue as u };
|
|
@@ -0,0 +1,26 @@
|
|
|
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_separator = require("@radix-ui/react-separator");
|
|
6
|
+
__radix_ui_react_separator = require_jsx_runtime$1.__toESM(__radix_ui_react_separator);
|
|
7
|
+
|
|
8
|
+
//#region src/components/ui/separator.tsx
|
|
9
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
10
|
+
function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
|
|
11
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_separator.Root, {
|
|
12
|
+
"data-slot": "separator",
|
|
13
|
+
decorative,
|
|
14
|
+
orientation,
|
|
15
|
+
className: require_utils.cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", className),
|
|
16
|
+
...props
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
Object.defineProperty(exports, 'Separator', {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return Separator;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime137 from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/separator.d.ts
|
|
6
|
+
declare function Separator({
|
|
7
|
+
className,
|
|
8
|
+
orientation,
|
|
9
|
+
decorative,
|
|
10
|
+
...props
|
|
11
|
+
}: React.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime137.JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { Separator as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime84 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/separator.d.ts
|
|
6
6
|
declare function Separator({
|
|
@@ -8,6 +8,6 @@ declare function Separator({
|
|
|
8
8
|
orientation,
|
|
9
9
|
decorative,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof SeparatorPrimitive.Root>):
|
|
11
|
+
}: React.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime84.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Separator as t };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime32 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/sheet.d.ts
|
|
6
6
|
declare function Sheet({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof SheetPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof SheetPrimitive.Root>): react_jsx_runtime32.JSX.Element;
|
|
9
9
|
declare function SheetTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof SheetPrimitive.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime32.JSX.Element;
|
|
12
12
|
declare function SheetClose({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof SheetPrimitive.Close>):
|
|
14
|
+
}: React.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime32.JSX.Element;
|
|
15
15
|
declare function SheetContent({
|
|
16
16
|
className,
|
|
17
17
|
children,
|
|
@@ -19,22 +19,22 @@ declare function SheetContent({
|
|
|
19
19
|
...props
|
|
20
20
|
}: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
21
21
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime32.JSX.Element;
|
|
23
23
|
declare function SheetHeader({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<'div'>):
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime32.JSX.Element;
|
|
27
27
|
declare function SheetFooter({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<'div'>):
|
|
30
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime32.JSX.Element;
|
|
31
31
|
declare function SheetTitle({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof SheetPrimitive.Title>):
|
|
34
|
+
}: React.ComponentProps<typeof SheetPrimitive.Title>): react_jsx_runtime32.JSX.Element;
|
|
35
35
|
declare function SheetDescription({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof SheetPrimitive.Description>):
|
|
38
|
+
}: React.ComponentProps<typeof SheetPrimitive.Description>): react_jsx_runtime32.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { SheetFooter as a, SheetTrigger as c, SheetDescription as i, SheetClose as n, SheetHeader as o, SheetContent as r, SheetTitle as s, Sheet as t };
|
|
@@ -0,0 +1,133 @@
|
|
|
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 lucide_react = require("lucide-react");
|
|
6
|
+
let __radix_ui_react_dialog = require("@radix-ui/react-dialog");
|
|
7
|
+
__radix_ui_react_dialog = require_jsx_runtime$1.__toESM(__radix_ui_react_dialog);
|
|
8
|
+
|
|
9
|
+
//#region src/components/ui/sheet.tsx
|
|
10
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
11
|
+
function Sheet({ ...props }) {
|
|
12
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_dialog.Root, {
|
|
13
|
+
"data-slot": "sheet",
|
|
14
|
+
...props
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function SheetTrigger({ ...props }) {
|
|
18
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_dialog.Trigger, {
|
|
19
|
+
"data-slot": "sheet-trigger",
|
|
20
|
+
...props
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
function SheetClose({ ...props }) {
|
|
24
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_dialog.Close, {
|
|
25
|
+
"data-slot": "sheet-close",
|
|
26
|
+
...props
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function SheetPortal({ ...props }) {
|
|
30
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_dialog.Portal, {
|
|
31
|
+
"data-slot": "sheet-portal",
|
|
32
|
+
...props
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function SheetOverlay({ className, ...props }) {
|
|
36
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_dialog.Overlay, {
|
|
37
|
+
"data-slot": "sheet-overlay",
|
|
38
|
+
className: require_utils.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className),
|
|
39
|
+
...props
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
function SheetContent({ className, children, side = "right", ...props }) {
|
|
43
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SheetPortal, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SheetOverlay, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(__radix_ui_react_dialog.Content, {
|
|
44
|
+
"data-slot": "sheet-content",
|
|
45
|
+
className: require_utils.cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500", side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm", side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm", side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b", side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t", className),
|
|
46
|
+
...props,
|
|
47
|
+
children: [children, /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(__radix_ui_react_dialog.Close, {
|
|
48
|
+
className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",
|
|
49
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(lucide_react.XIcon, { className: "size-4" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
50
|
+
className: "sr-only",
|
|
51
|
+
children: "Close"
|
|
52
|
+
})]
|
|
53
|
+
})]
|
|
54
|
+
})] });
|
|
55
|
+
}
|
|
56
|
+
function SheetHeader({ className, ...props }) {
|
|
57
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
58
|
+
"data-slot": "sheet-header",
|
|
59
|
+
className: require_utils.cn("flex flex-col gap-1.5 p-4", className),
|
|
60
|
+
...props
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
function SheetFooter({ className, ...props }) {
|
|
64
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
65
|
+
"data-slot": "sheet-footer",
|
|
66
|
+
className: require_utils.cn("mt-auto flex flex-col gap-2 p-4", className),
|
|
67
|
+
...props
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function SheetTitle({ className, ...props }) {
|
|
71
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_dialog.Title, {
|
|
72
|
+
"data-slot": "sheet-title",
|
|
73
|
+
className: require_utils.cn("text-foreground font-semibold", className),
|
|
74
|
+
...props
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
function SheetDescription({ className, ...props }) {
|
|
78
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_dialog.Description, {
|
|
79
|
+
"data-slot": "sheet-description",
|
|
80
|
+
className: require_utils.cn("text-muted-foreground text-sm", className),
|
|
81
|
+
...props
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
//#endregion
|
|
86
|
+
Object.defineProperty(exports, 'Sheet', {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () {
|
|
89
|
+
return Sheet;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, 'SheetClose', {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () {
|
|
95
|
+
return SheetClose;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, 'SheetContent', {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () {
|
|
101
|
+
return SheetContent;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, 'SheetDescription', {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () {
|
|
107
|
+
return SheetDescription;
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, 'SheetFooter', {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function () {
|
|
113
|
+
return SheetFooter;
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, 'SheetHeader', {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () {
|
|
119
|
+
return SheetHeader;
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
Object.defineProperty(exports, 'SheetTitle', {
|
|
123
|
+
enumerable: true,
|
|
124
|
+
get: function () {
|
|
125
|
+
return SheetTitle;
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, 'SheetTrigger', {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () {
|
|
131
|
+
return SheetTrigger;
|
|
132
|
+
}
|
|
133
|
+
});
|