@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,34 @@
|
|
|
1
|
+
const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
|
|
2
|
+
const require_separator = require('./separator-3CugGxfw.cjs');
|
|
3
|
+
let react = require("react");
|
|
4
|
+
react = require_jsx_runtime$1.__toESM(react);
|
|
5
|
+
|
|
6
|
+
//#region src/components/ui/OrContinueWithSeparator.tsx
|
|
7
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
8
|
+
/**
|
|
9
|
+
* A separator with a label for alternative sign-in methods.
|
|
10
|
+
* Used in authentication forms to visually separate sections.
|
|
11
|
+
*/
|
|
12
|
+
function OrContinueWithSeparator() {
|
|
13
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
14
|
+
className: "relative my-4",
|
|
15
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
16
|
+
className: "absolute inset-0 flex items-center",
|
|
17
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_separator.Separator, {})
|
|
18
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
19
|
+
className: "relative flex justify-center text-xs uppercase",
|
|
20
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
21
|
+
className: "bg-background text-muted-foreground px-2",
|
|
22
|
+
children: "Or continue with"
|
|
23
|
+
})
|
|
24
|
+
})]
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
Object.defineProperty(exports, 'OrContinueWithSeparator', {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () {
|
|
32
|
+
return OrContinueWithSeparator;
|
|
33
|
+
}
|
|
34
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/ui/OrContinueWithSeparator.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A separator with a label for alternative sign-in methods.
|
|
7
|
+
* Used in authentication forms to visually separate sections.
|
|
8
|
+
*/
|
|
9
|
+
declare function OrContinueWithSeparator(): react_jsx_runtime22.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { OrContinueWithSeparator as t };
|
package/dist/{OrContinueWithSeparator-BvOMy_0X.d.ts → OrContinueWithSeparator-D_x7OhtS.d.cts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime119 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ui/OrContinueWithSeparator.d.ts
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ import * as react_jsx_runtime112 from "react/jsx-runtime";
|
|
|
6
6
|
* A separator with a label for alternative sign-in methods.
|
|
7
7
|
* Used in authentication forms to visually separate sections.
|
|
8
8
|
*/
|
|
9
|
-
declare function OrContinueWithSeparator():
|
|
9
|
+
declare function OrContinueWithSeparator(): react_jsx_runtime119.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { OrContinueWithSeparator as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
2
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
1
3
|
import { VariantProps } from "class-variance-authority";
|
|
2
4
|
import * as React from "react";
|
|
3
|
-
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
4
|
-
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/alert.d.ts
|
|
7
7
|
declare const alertVariants: (props?: ({
|
|
@@ -11,14 +11,14 @@ declare function Alert({
|
|
|
11
11
|
className,
|
|
12
12
|
variant,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>):
|
|
14
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime10.JSX.Element;
|
|
15
15
|
declare function AlertTitle({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<'div'>):
|
|
18
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime10.JSX.Element;
|
|
19
19
|
declare function AlertDescription({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<'div'>):
|
|
22
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime10.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { AlertDescription as n, AlertTitle as r, Alert as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
4
|
+
import * as react_jsx_runtime135 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/ui/alert.d.ts
|
|
7
|
+
declare const alertVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
10
|
+
declare function Alert({
|
|
11
|
+
className,
|
|
12
|
+
variant,
|
|
13
|
+
...props
|
|
14
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime135.JSX.Element;
|
|
15
|
+
declare function AlertTitle({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime135.JSX.Element;
|
|
19
|
+
declare function AlertDescription({
|
|
20
|
+
className,
|
|
21
|
+
...props
|
|
22
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime135.JSX.Element;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { AlertDescription as n, AlertTitle as r, Alert as t };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
|
|
2
|
+
const require_utils = require('./utils-DyQCiavd.cjs');
|
|
3
|
+
let class_variance_authority = require("class-variance-authority");
|
|
4
|
+
let react = require("react");
|
|
5
|
+
react = require_jsx_runtime$1.__toESM(react);
|
|
6
|
+
|
|
7
|
+
//#region src/components/ui/alert.tsx
|
|
8
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
9
|
+
const alertVariants = (0, class_variance_authority.cva)("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
|
|
10
|
+
variants: { variant: {
|
|
11
|
+
default: "bg-card text-card-foreground",
|
|
12
|
+
destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
|
|
13
|
+
} },
|
|
14
|
+
defaultVariants: { variant: "default" }
|
|
15
|
+
});
|
|
16
|
+
function Alert({ className, variant, ...props }) {
|
|
17
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
18
|
+
"data-slot": "alert",
|
|
19
|
+
role: "alert",
|
|
20
|
+
className: require_utils.cn(alertVariants({ variant }), className),
|
|
21
|
+
...props
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
function AlertTitle({ className, ...props }) {
|
|
25
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
26
|
+
"data-slot": "alert-title",
|
|
27
|
+
className: require_utils.cn("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", className),
|
|
28
|
+
...props
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
function AlertDescription({ className, ...props }) {
|
|
32
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
33
|
+
"data-slot": "alert-description",
|
|
34
|
+
className: require_utils.cn("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", className),
|
|
35
|
+
...props
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
//#endregion
|
|
40
|
+
Object.defineProperty(exports, 'Alert', {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () {
|
|
43
|
+
return Alert;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, 'AlertDescription', {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () {
|
|
49
|
+
return AlertDescription;
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, 'AlertTitle', {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () {
|
|
55
|
+
return AlertTitle;
|
|
56
|
+
}
|
|
57
|
+
});
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime61 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/alert-dialog.d.ts
|
|
6
6
|
declare function AlertDialog({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime61.JSX.Element;
|
|
9
9
|
declare function AlertDialogTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime61.JSX.Element;
|
|
12
12
|
declare function AlertDialogPortal({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Portal>):
|
|
14
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime61.JSX.Element;
|
|
15
15
|
declare function AlertDialogOverlay({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>):
|
|
18
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime61.JSX.Element;
|
|
19
19
|
declare function AlertDialogContent({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Content>):
|
|
22
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime61.JSX.Element;
|
|
23
23
|
declare function AlertDialogHeader({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<'div'>):
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime61.JSX.Element;
|
|
27
27
|
declare function AlertDialogFooter({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<'div'>):
|
|
30
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime61.JSX.Element;
|
|
31
31
|
declare function AlertDialogTitle({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Title>):
|
|
34
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime61.JSX.Element;
|
|
35
35
|
declare function AlertDialogDescription({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Description>):
|
|
38
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime61.JSX.Element;
|
|
39
39
|
declare function AlertDialogAction({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Action>):
|
|
42
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime61.JSX.Element;
|
|
43
43
|
declare function AlertDialogCancel({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>):
|
|
46
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime61.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { AlertDialogDescription as a, AlertDialogOverlay as c, AlertDialogTrigger as d, AlertDialogContent as i, AlertDialogPortal as l, AlertDialogAction as n, AlertDialogFooter as o, AlertDialogCancel as r, AlertDialogHeader as s, AlertDialog as t, AlertDialogTitle as u };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/alert-dialog.d.ts
|
|
6
|
+
declare function AlertDialog({
|
|
7
|
+
...props
|
|
8
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime13.JSX.Element;
|
|
9
|
+
declare function AlertDialogTrigger({
|
|
10
|
+
...props
|
|
11
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime13.JSX.Element;
|
|
12
|
+
declare function AlertDialogPortal({
|
|
13
|
+
...props
|
|
14
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime13.JSX.Element;
|
|
15
|
+
declare function AlertDialogOverlay({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime13.JSX.Element;
|
|
19
|
+
declare function AlertDialogContent({
|
|
20
|
+
className,
|
|
21
|
+
...props
|
|
22
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime13.JSX.Element;
|
|
23
|
+
declare function AlertDialogHeader({
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime13.JSX.Element;
|
|
27
|
+
declare function AlertDialogFooter({
|
|
28
|
+
className,
|
|
29
|
+
...props
|
|
30
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime13.JSX.Element;
|
|
31
|
+
declare function AlertDialogTitle({
|
|
32
|
+
className,
|
|
33
|
+
...props
|
|
34
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime13.JSX.Element;
|
|
35
|
+
declare function AlertDialogDescription({
|
|
36
|
+
className,
|
|
37
|
+
...props
|
|
38
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime13.JSX.Element;
|
|
39
|
+
declare function AlertDialogAction({
|
|
40
|
+
className,
|
|
41
|
+
...props
|
|
42
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime13.JSX.Element;
|
|
43
|
+
declare function AlertDialogCancel({
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime13.JSX.Element;
|
|
47
|
+
//#endregion
|
|
48
|
+
export { AlertDialogDescription as a, AlertDialogOverlay as c, AlertDialogTrigger as d, AlertDialogContent as i, AlertDialogPortal as l, AlertDialogAction as n, AlertDialogFooter as o, AlertDialogCancel as r, AlertDialogHeader as s, AlertDialog as t, AlertDialogTitle as u };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
3
|
-
import * as react_jsx_runtime87 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/avatar.d.ts
|
|
6
6
|
declare function Avatar({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof AvatarPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime25.JSX.Element;
|
|
10
10
|
declare function AvatarImage({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof AvatarPrimitive.Image>):
|
|
13
|
+
}: React.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime25.JSX.Element;
|
|
14
14
|
declare function AvatarFallback({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>):
|
|
17
|
+
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime25.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { AvatarFallback as n, AvatarImage as r, Avatar as t };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
3
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/avatar.d.ts
|
|
6
|
+
declare function Avatar({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime81.JSX.Element;
|
|
10
|
+
declare function AvatarImage({
|
|
11
|
+
className,
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime81.JSX.Element;
|
|
14
|
+
declare function AvatarFallback({
|
|
15
|
+
className,
|
|
16
|
+
...props
|
|
17
|
+
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime81.JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { AvatarFallback as n, AvatarImage as r, Avatar as t };
|
|
@@ -0,0 +1,50 @@
|
|
|
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_avatar = require("@radix-ui/react-avatar");
|
|
6
|
+
__radix_ui_react_avatar = require_jsx_runtime$1.__toESM(__radix_ui_react_avatar);
|
|
7
|
+
|
|
8
|
+
//#region src/components/ui/avatar.tsx
|
|
9
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
10
|
+
function Avatar({ className, ...props }) {
|
|
11
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_avatar.Root, {
|
|
12
|
+
"data-slot": "avatar",
|
|
13
|
+
className: require_utils.cn("relative flex size-8 shrink-0 overflow-hidden rounded-full", className),
|
|
14
|
+
...props
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function AvatarImage({ className, ...props }) {
|
|
18
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_avatar.Image, {
|
|
19
|
+
"data-slot": "avatar-image",
|
|
20
|
+
className: require_utils.cn("aspect-square size-full", className),
|
|
21
|
+
...props
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
function AvatarFallback({ className, ...props }) {
|
|
25
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_avatar.Fallback, {
|
|
26
|
+
"data-slot": "avatar-fallback",
|
|
27
|
+
className: require_utils.cn("bg-muted flex size-full items-center justify-center rounded-full", className),
|
|
28
|
+
...props
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
Object.defineProperty(exports, 'Avatar', {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () {
|
|
36
|
+
return Avatar;
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, 'AvatarFallback', {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () {
|
|
42
|
+
return AvatarFallback;
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, 'AvatarImage', {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () {
|
|
48
|
+
return AvatarImage;
|
|
49
|
+
}
|
|
50
|
+
});
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
|
|
2
|
+
const require_utils = require('./utils-DyQCiavd.cjs');
|
|
3
|
+
let class_variance_authority = require("class-variance-authority");
|
|
4
|
+
let react = require("react");
|
|
5
|
+
react = require_jsx_runtime$1.__toESM(react);
|
|
6
|
+
let __radix_ui_react_slot = require("@radix-ui/react-slot");
|
|
7
|
+
|
|
8
|
+
//#region src/components/ui/badge.tsx
|
|
9
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
10
|
+
const badgeVariants = (0, class_variance_authority.cva)("inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", {
|
|
11
|
+
variants: { variant: {
|
|
12
|
+
default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
|
|
13
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
|
|
14
|
+
destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
15
|
+
outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
|
|
16
|
+
} },
|
|
17
|
+
defaultVariants: { variant: "default" }
|
|
18
|
+
});
|
|
19
|
+
function Badge({ className, variant, asChild = false, ...props }) {
|
|
20
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(asChild ? __radix_ui_react_slot.Slot : "span", {
|
|
21
|
+
"data-slot": "badge",
|
|
22
|
+
className: require_utils.cn(badgeVariants({ variant }), className),
|
|
23
|
+
...props
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
Object.defineProperty(exports, 'Badge', {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () {
|
|
31
|
+
return Badge;
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, 'badgeVariants', {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () {
|
|
37
|
+
return badgeVariants;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
2
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
1
3
|
import { VariantProps } from "class-variance-authority";
|
|
2
4
|
import * as React from "react";
|
|
3
|
-
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
4
|
-
import * as react_jsx_runtime39 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/badge.d.ts
|
|
7
7
|
declare const badgeVariants: (props?: ({
|
|
@@ -14,6 +14,6 @@ declare function Badge({
|
|
|
14
14
|
...props
|
|
15
15
|
}: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
16
16
|
asChild?: boolean;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime24.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { badgeVariants as n, Badge as t };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
4
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/ui/badge.d.ts
|
|
7
|
+
declare const badgeVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
|
+
declare function Badge({
|
|
11
|
+
className,
|
|
12
|
+
variant,
|
|
13
|
+
asChild,
|
|
14
|
+
...props
|
|
15
|
+
}: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
16
|
+
asChild?: boolean;
|
|
17
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { badgeVariants as n, Badge as t };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
|
|
2
|
+
const require_utils = require('./utils-DyQCiavd.cjs');
|
|
3
|
+
let class_variance_authority = require("class-variance-authority");
|
|
4
|
+
let react = require("react");
|
|
5
|
+
react = require_jsx_runtime$1.__toESM(react);
|
|
6
|
+
let __radix_ui_react_slot = require("@radix-ui/react-slot");
|
|
7
|
+
|
|
8
|
+
//#region src/components/ui/button.tsx
|
|
9
|
+
var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
|
|
10
|
+
const buttonVariants = (0, class_variance_authority.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
|
|
11
|
+
variants: {
|
|
12
|
+
variant: {
|
|
13
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
14
|
+
destructive: "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
15
|
+
outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
16
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
17
|
+
ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
18
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
19
|
+
},
|
|
20
|
+
size: {
|
|
21
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
22
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
23
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
24
|
+
icon: "size-9",
|
|
25
|
+
"icon-sm": "size-8",
|
|
26
|
+
"icon-lg": "size-10"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
defaultVariants: {
|
|
30
|
+
variant: "default",
|
|
31
|
+
size: "default"
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
function Button({ className, variant, size, asChild = false, ...props }) {
|
|
35
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(asChild ? __radix_ui_react_slot.Slot : "button", {
|
|
36
|
+
"data-slot": "button",
|
|
37
|
+
className: require_utils.cn(buttonVariants({
|
|
38
|
+
variant,
|
|
39
|
+
size,
|
|
40
|
+
className
|
|
41
|
+
})),
|
|
42
|
+
...props
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
//#endregion
|
|
47
|
+
Object.defineProperty(exports, 'Button', {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () {
|
|
50
|
+
return Button;
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
Object.defineProperty(exports, 'buttonVariants', {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () {
|
|
56
|
+
return buttonVariants;
|
|
57
|
+
}
|
|
58
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/button.d.ts
|
|
7
7
|
declare const buttonVariants: (props?: ({
|
|
@@ -16,6 +16,6 @@ declare function Button({
|
|
|
16
16
|
...props
|
|
17
17
|
}: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
18
18
|
asChild?: boolean;
|
|
19
|
-
}):
|
|
19
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { buttonVariants as n, Button as t };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
|
|
6
|
+
//#region src/components/ui/button.d.ts
|
|
7
|
+
declare const buttonVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
9
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
11
|
+
declare function Button({
|
|
12
|
+
className,
|
|
13
|
+
variant,
|
|
14
|
+
size,
|
|
15
|
+
asChild,
|
|
16
|
+
...props
|
|
17
|
+
}: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
18
|
+
asChild?: boolean;
|
|
19
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { buttonVariants as n, Button as t };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { t as Button } from "./button-DS2onC5z.cjs";
|
|
2
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { DayButton, DayPicker } from "react-day-picker";
|
|
5
|
+
|
|
6
|
+
//#region src/components/ui/calendar.d.ts
|
|
7
|
+
declare function Calendar({
|
|
8
|
+
className,
|
|
9
|
+
classNames,
|
|
10
|
+
showOutsideDays,
|
|
11
|
+
captionLayout,
|
|
12
|
+
buttonVariant,
|
|
13
|
+
formatters,
|
|
14
|
+
components,
|
|
15
|
+
...props
|
|
16
|
+
}: React.ComponentProps<typeof DayPicker> & {
|
|
17
|
+
buttonVariant?: React.ComponentProps<typeof Button>['variant'];
|
|
18
|
+
}): react_jsx_runtime8.JSX.Element;
|
|
19
|
+
declare function CalendarDayButton({
|
|
20
|
+
className,
|
|
21
|
+
day,
|
|
22
|
+
modifiers,
|
|
23
|
+
...props
|
|
24
|
+
}: React.ComponentProps<typeof DayButton>): react_jsx_runtime8.JSX.Element;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { CalendarDayButton as n, Calendar as t };
|