@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/select-BZfB9A8R.cjs
DELETED
|
@@ -1,160 +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
|
-
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
|
-
});
|
|
@@ -1,26 +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
|
-
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
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
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 };
|
package/dist/sheet-CHuRM3o6.cjs
DELETED
|
@@ -1,133 +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
|
-
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
|
-
});
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime94 from "react/jsx-runtime";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/sheet.d.ts
|
|
6
|
-
declare function Sheet({
|
|
7
|
-
...props
|
|
8
|
-
}: React.ComponentProps<typeof SheetPrimitive.Root>): react_jsx_runtime94.JSX.Element;
|
|
9
|
-
declare function SheetTrigger({
|
|
10
|
-
...props
|
|
11
|
-
}: React.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime94.JSX.Element;
|
|
12
|
-
declare function SheetClose({
|
|
13
|
-
...props
|
|
14
|
-
}: React.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime94.JSX.Element;
|
|
15
|
-
declare function SheetContent({
|
|
16
|
-
className,
|
|
17
|
-
children,
|
|
18
|
-
side,
|
|
19
|
-
...props
|
|
20
|
-
}: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
21
|
-
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
22
|
-
}): react_jsx_runtime94.JSX.Element;
|
|
23
|
-
declare function SheetHeader({
|
|
24
|
-
className,
|
|
25
|
-
...props
|
|
26
|
-
}: React.ComponentProps<'div'>): react_jsx_runtime94.JSX.Element;
|
|
27
|
-
declare function SheetFooter({
|
|
28
|
-
className,
|
|
29
|
-
...props
|
|
30
|
-
}: React.ComponentProps<'div'>): react_jsx_runtime94.JSX.Element;
|
|
31
|
-
declare function SheetTitle({
|
|
32
|
-
className,
|
|
33
|
-
...props
|
|
34
|
-
}: React.ComponentProps<typeof SheetPrimitive.Title>): react_jsx_runtime94.JSX.Element;
|
|
35
|
-
declare function SheetDescription({
|
|
36
|
-
className,
|
|
37
|
-
...props
|
|
38
|
-
}: React.ComponentProps<typeof SheetPrimitive.Description>): react_jsx_runtime94.JSX.Element;
|
|
39
|
-
//#endregion
|
|
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 };
|
package/dist/slider-3-mzOHpV.cjs
DELETED
|
@@ -1,45 +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
|
-
let __radix_ui_react_slider = require("@radix-ui/react-slider");
|
|
6
|
-
__radix_ui_react_slider = require_jsx_runtime$1.__toESM(__radix_ui_react_slider);
|
|
7
|
-
|
|
8
|
-
//#region src/components/ui/slider.tsx
|
|
9
|
-
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
10
|
-
function Slider({ className, defaultValue, value, min = 0, max = 100, ...props }) {
|
|
11
|
-
const _values = react.useMemo(() => Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min, max], [
|
|
12
|
-
value,
|
|
13
|
-
defaultValue,
|
|
14
|
-
min,
|
|
15
|
-
max
|
|
16
|
-
]);
|
|
17
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(__radix_ui_react_slider.Root, {
|
|
18
|
-
"data-slot": "slider",
|
|
19
|
-
defaultValue,
|
|
20
|
-
value,
|
|
21
|
-
min,
|
|
22
|
-
max,
|
|
23
|
-
className: require_utils.cn("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col", className),
|
|
24
|
-
...props,
|
|
25
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_slider.Track, {
|
|
26
|
-
"data-slot": "slider-track",
|
|
27
|
-
className: require_utils.cn("bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),
|
|
28
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_slider.Range, {
|
|
29
|
-
"data-slot": "slider-range",
|
|
30
|
-
className: require_utils.cn("bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")
|
|
31
|
-
})
|
|
32
|
-
}), Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_slider.Thumb, {
|
|
33
|
-
"data-slot": "slider-thumb",
|
|
34
|
-
className: "border-primary ring-ring/50 block size-4 shrink-0 rounded-full border bg-white shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
|
|
35
|
-
}, index))]
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
//#endregion
|
|
40
|
-
Object.defineProperty(exports, 'Slider', {
|
|
41
|
-
enumerable: true,
|
|
42
|
-
get: function () {
|
|
43
|
-
return Slider;
|
|
44
|
-
}
|
|
45
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
3
|
-
import * as react_jsx_runtime76 from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/slider.d.ts
|
|
6
|
-
declare function Slider({
|
|
7
|
-
className,
|
|
8
|
-
defaultValue,
|
|
9
|
-
value,
|
|
10
|
-
min,
|
|
11
|
-
max,
|
|
12
|
-
...props
|
|
13
|
-
}: React.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime76.JSX.Element;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { Slider as t };
|