ml-uikit 1.0.7 → 1.0.8
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/components/button.d.ts +2 -11
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/ui/badge.d.ts +14 -3
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/button-group.d.ts +1 -0
- package/dist/components/ui/button-group.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/chart.d.ts +1 -1
- package/dist/components/ui/command.d.ts +7 -7
- package/dist/components/ui/empty.d.ts +1 -0
- package/dist/components/ui/empty.d.ts.map +1 -1
- package/dist/components/ui/input-group.d.ts +2 -2
- package/dist/components/ui/input-otp.d.ts +2 -2
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/item.d.ts +1 -1
- package/dist/components/ui/kbd.d.ts +1 -0
- package/dist/components/ui/kbd.d.ts.map +1 -1
- package/dist/components/ui/sheet.d.ts +1 -1
- package/dist/components/ui/sidebar.d.ts +2 -2
- package/dist/components/ui/skeleton.d.ts +1 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -1
- package/dist/components/ui/table.d.ts +24 -2
- package/dist/components/ui/table.d.ts.map +1 -1
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.d.ts +2 -2
- package/dist/components/ui/toggle.d.ts +2 -2
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs10.js.map +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs11.js.map +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs2.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs23.js.map +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs27.js.map +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs31.js.map +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs45.js.map +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs50.js.map +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs52.js.map +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs56.js.map +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs57.js.map +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs8.js.map +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.es10.js +31 -24
- package/dist/index.es10.js.map +1 -1
- package/dist/index.es11.js +22 -21
- package/dist/index.es11.js.map +1 -1
- package/dist/index.es12.js +1 -1
- package/dist/index.es13.js +1 -1
- package/dist/index.es14.js +1 -1
- package/dist/index.es15.js +1 -1
- package/dist/index.es16.js +1 -1
- package/dist/index.es18.js +1 -1
- package/dist/index.es19.js +1 -1
- package/dist/index.es2.js +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es23.js +25 -24
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es26.js +1 -1
- package/dist/index.es27.js +13 -9
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es28.js +1 -1
- package/dist/index.es29.js +1 -1
- package/dist/index.es3.js +1 -1
- package/dist/index.es30.js +1 -1
- package/dist/index.es31.js +8 -7
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js +1 -1
- package/dist/index.es33.js +1 -1
- package/dist/index.es34.js +1 -1
- package/dist/index.es35.js +1 -1
- package/dist/index.es36.js +1 -1
- package/dist/index.es37.js +1 -1
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +1 -1
- package/dist/index.es4.js +1 -1
- package/dist/index.es40.js +1 -1
- package/dist/index.es41.js +1 -1
- package/dist/index.es42.js +1 -1
- package/dist/index.es43.js +1 -1
- package/dist/index.es44.js +2 -2
- package/dist/index.es45.js +6 -5
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es46.js +1 -1
- package/dist/index.es48.js +1 -1
- package/dist/index.es49.js +1 -1
- package/dist/index.es5.js +1 -1
- package/dist/index.es50.js +159 -45
- package/dist/index.es50.js.map +1 -1
- package/dist/index.es51.js +1 -1
- package/dist/index.es52.js +10 -7
- package/dist/index.es52.js.map +1 -1
- package/dist/index.es53.js +1 -1
- package/dist/index.es54.js +1 -1
- package/dist/index.es55.js +1 -1
- package/dist/index.es56.js +6 -43
- package/dist/index.es56.js.map +1 -1
- package/dist/index.es57.js +11 -5
- package/dist/index.es57.js.map +1 -1
- package/dist/index.es7.js +1 -1
- package/dist/index.es8.js +71 -20
- package/dist/index.es8.js.map +1 -1
- package/dist/index.es9.js +1 -1
- package/dist/style.css +227 -36
- package/package.json +1 -1
- package/dist/index.cjs58.js +0 -2
- package/dist/index.cjs58.js.map +0 -1
- package/dist/index.es58.js +0 -15
- package/dist/index.es58.js.map +0 -1
package/dist/index.es11.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es11.js","sources":["../src/components/ui/button-group.tsx"],"sourcesContent":["import { Slot } from \"@radix-ui/react-slot\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Separator } from \"@/components/ui/separator\"\n\nconst buttonGroupVariants = cva(\n \"flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1\",\n {\n variants: {\n orientation: {\n horizontal:\n \"[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none\",\n vertical:\n \"flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none\",\n },\n },\n defaultVariants: {\n orientation: \"horizontal\",\n },\n }\n)\n\nfunction ButtonGroup({\n className,\n orientation,\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof buttonGroupVariants>) {\n return (\n <div\n role=\"group\"\n data-slot=\"button-group\"\n data-orientation={orientation}\n className={cn(buttonGroupVariants({ orientation }), className)}\n {...props}\n />\n )\n}\n\nfunction ButtonGroupText({\n className,\n asChild = false,\n ...props\n}: React.ComponentProps<\"div\"> & {\n asChild?: boolean\n}) {\n const Comp = asChild ? Slot : \"div\"\n\n return (\n <Comp\n className={cn(\n \"bg-muted shadow-xs flex items-center gap-2 rounded-md border px-4 text-sm font-medium [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction ButtonGroupSeparator({\n className,\n orientation = \"vertical\",\n ...props\n}: React.ComponentProps<typeof Separator>) {\n return (\n <Separator\n data-slot=\"button-group-separator\"\n orientation={orientation}\n className={cn(\n \"bg-input relative !m-0 self-stretch data-[orientation=vertical]:h-auto\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n ButtonGroup,\n ButtonGroupSeparator,\n ButtonGroupText,\n buttonGroupVariants,\n}\n"],"names":["buttonGroupVariants","cva","ButtonGroup","className","orientation","props","cn","ButtonGroupText","asChild","Comp","Slot","ButtonGroupSeparator","Separator"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es11.js","sources":["../src/components/ui/button-group.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { Slot } from \"@radix-ui/react-slot\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Separator } from \"@/components/ui/separator\"\n\nconst buttonGroupVariants = cva(\n \"flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1\",\n {\n variants: {\n orientation: {\n horizontal:\n \"[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none\",\n vertical:\n \"flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none\",\n },\n },\n defaultVariants: {\n orientation: \"horizontal\",\n },\n }\n)\n\nfunction ButtonGroup({\n className,\n orientation,\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof buttonGroupVariants>) {\n return (\n <div\n role=\"group\"\n data-slot=\"button-group\"\n data-orientation={orientation}\n className={cn(buttonGroupVariants({ orientation }), className)}\n {...props}\n />\n )\n}\n\nfunction ButtonGroupText({\n className,\n asChild = false,\n ...props\n}: React.ComponentProps<\"div\"> & {\n asChild?: boolean\n}) {\n const Comp = asChild ? Slot : \"div\"\n\n return (\n <Comp\n className={cn(\n \"bg-muted shadow-xs flex items-center gap-2 rounded-md border px-4 text-sm font-medium [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction ButtonGroupSeparator({\n className,\n orientation = \"vertical\",\n ...props\n}: React.ComponentProps<typeof Separator>) {\n return (\n <Separator\n data-slot=\"button-group-separator\"\n orientation={orientation}\n className={cn(\n \"bg-input relative !m-0 self-stretch data-[orientation=vertical]:h-auto\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n ButtonGroup,\n ButtonGroupSeparator,\n ButtonGroupText,\n buttonGroupVariants,\n}\n"],"names":["buttonGroupVariants","cva","ButtonGroup","className","orientation","props","React","cn","ButtonGroupText","asChild","Comp","Slot","ButtonGroupSeparator","Separator"],"mappings":";;;;;AAOA,MAAMA,IAAsBC;AAAA,EAC1B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,aAAa;AAAA,QACX,YACE;AAAA,QACF,UACE;AAAA,MAAA;AAAA,IACJ;AAAA,IAEF,iBAAiB;AAAA,MACf,aAAa;AAAA,IAAA;AAAA,EACf;AAEJ;AAEA,SAASC,EAAY;AAAA,EACnB,WAAAC;AAAA,EACA,aAAAC;AAAA,EACA,GAAGC;AACL,GAA2E;AACzE,SACE,gBAAAC,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,aAAU;AAAA,MACV,oBAAkBF;AAAA,MAClB,WAAWG,EAAGP,EAAoB,EAAE,aAAAI,EAAA,CAAa,GAAGD,CAAS;AAAA,MAC5D,GAAGE;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASG,EAAgB;AAAA,EACvB,WAAAL;AAAA,EACA,SAAAM,IAAU;AAAA,EACV,GAAGJ;AACL,GAEG;AACD,QAAMK,IAAOD,IAAUE,IAAO;AAE9B,SACE,gBAAAL,EAAA;AAAA,IAACI;AAAA,IAAA;AAAA,MACC,WAAWH;AAAA,QACT;AAAA,QACAJ;AAAA,MAAA;AAAA,MAED,GAAGE;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASO,EAAqB;AAAA,EAC5B,WAAAT;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,GAAGC;AACL,GAA2C;AACzC,SACE,gBAAAC,EAAA;AAAA,IAACO;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,aAAAT;AAAA,MACA,WAAWG;AAAA,QACT;AAAA,QACAJ;AAAA,MAAA;AAAA,MAED,GAAGE;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
package/dist/index.es12.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as a from "react";
|
|
2
2
|
import { ChevronLeftIcon as x, ChevronRightIcon as b, ChevronDownIcon as w } from "lucide-react";
|
|
3
3
|
import { getDefaultClassNames as g, DayPicker as h } from "react-day-picker";
|
|
4
|
-
import { cn as e } from "./index.
|
|
4
|
+
import { cn as e } from "./index.es56.js";
|
|
5
5
|
import { buttonVariants as m, Button as _ } from "./index.es10.js";
|
|
6
6
|
function C({
|
|
7
7
|
className: c,
|
package/dist/index.es13.js
CHANGED
package/dist/index.es14.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import P from "embla-carousel-react";
|
|
3
3
|
import { ArrowLeft as S, ArrowRight as R } from "lucide-react";
|
|
4
|
-
import { cn as m } from "./index.
|
|
4
|
+
import { cn as m } from "./index.es56.js";
|
|
5
5
|
import { Button as x } from "./index.es10.js";
|
|
6
6
|
const w = e.createContext(null);
|
|
7
7
|
function d() {
|
package/dist/index.es15.js
CHANGED
package/dist/index.es16.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as r from "@radix-ui/react-checkbox";
|
|
3
3
|
import { Check as i } from "lucide-react";
|
|
4
|
-
import { cn as t } from "./index.
|
|
4
|
+
import { cn as t } from "./index.es56.js";
|
|
5
5
|
const s = e.forwardRef(({ className: o, ...a }, c) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
r.Root,
|
|
7
7
|
{
|
package/dist/index.es18.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { Command as m } from "cmdk";
|
|
3
3
|
import { Search as n } from "lucide-react";
|
|
4
|
-
import { cn as o } from "./index.
|
|
4
|
+
import { cn as o } from "./index.es56.js";
|
|
5
5
|
import { Dialog as s, DialogContent as p } from "./index.es20.js";
|
|
6
6
|
const d = e.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e.createElement(
|
|
7
7
|
m,
|
package/dist/index.es19.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as t from "@radix-ui/react-context-menu";
|
|
3
3
|
import { Check as l, Circle as i, ChevronRight as m } from "lucide-react";
|
|
4
|
-
import { cn as s } from "./index.
|
|
4
|
+
import { cn as s } from "./index.es56.js";
|
|
5
5
|
const w = t.Root, E = t.Trigger, M = t.Group, v = t.Portal, R = t.Sub, I = t.RadioGroup, c = e.forwardRef(({ className: a, inset: o, children: n, ...r }, d) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
t.SubTrigger,
|
|
7
7
|
{
|
package/dist/index.es2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import e from "react";
|
|
2
2
|
import { Input as t } from "./index.es27.js";
|
|
3
|
-
import { Button as r } from "./index.
|
|
3
|
+
import { Button as r } from "./index.es10.js";
|
|
4
4
|
function m() {
|
|
5
5
|
return /* @__PURE__ */ e.createElement("div", { className: "border p-4 flex gap-4 rounded-md flex-col" }, /* @__PURE__ */ e.createElement(t, { type: "email", placeholder: "Email" }), /* @__PURE__ */ e.createElement(t, { type: "password", placeholder: "Password" }), /* @__PURE__ */ e.createElement(r, null, "Login"));
|
|
6
6
|
}
|
package/dist/index.es20.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as t from "@radix-ui/react-dialog";
|
|
3
3
|
import { X as r } from "lucide-react";
|
|
4
|
-
import { cn as l } from "./index.
|
|
4
|
+
import { cn as l } from "./index.es56.js";
|
|
5
5
|
const N = t.Root, x = t.Trigger, d = t.Portal, D = t.Close, n = e.forwardRef(({ className: a, ...o }, s) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
t.Overlay,
|
|
7
7
|
{
|
package/dist/index.es21.js
CHANGED
package/dist/index.es22.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as t from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import { Check as i, Circle as l, ChevronRight as m } from "lucide-react";
|
|
4
|
-
import { cn as s } from "./index.
|
|
4
|
+
import { cn as s } from "./index.es56.js";
|
|
5
5
|
const v = t.Root, D = t.Trigger, E = t.Group, M = t.Portal, R = t.Sub, I = t.RadioGroup, c = e.forwardRef(({ className: o, inset: a, children: n, ...r }, d) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
t.SubTrigger,
|
|
7
7
|
{
|
package/dist/index.es23.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as n from "react";
|
|
2
|
+
import { cva as i } from "class-variance-authority";
|
|
3
|
+
import { cn as a } from "./index.es56.js";
|
|
4
|
+
function c({ className: t, ...e }) {
|
|
5
|
+
return /* @__PURE__ */ n.createElement(
|
|
5
6
|
"div",
|
|
6
7
|
{
|
|
7
8
|
"data-slot": "empty",
|
|
@@ -13,8 +14,8 @@ function m({ className: t, ...e }) {
|
|
|
13
14
|
}
|
|
14
15
|
);
|
|
15
16
|
}
|
|
16
|
-
function
|
|
17
|
-
return /* @__PURE__ */
|
|
17
|
+
function o({ className: t, ...e }) {
|
|
18
|
+
return /* @__PURE__ */ n.createElement(
|
|
18
19
|
"div",
|
|
19
20
|
{
|
|
20
21
|
"data-slot": "empty-header",
|
|
@@ -26,7 +27,7 @@ function l({ className: t, ...e }) {
|
|
|
26
27
|
}
|
|
27
28
|
);
|
|
28
29
|
}
|
|
29
|
-
const
|
|
30
|
+
const s = i(
|
|
30
31
|
"mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
31
32
|
{
|
|
32
33
|
variants: {
|
|
@@ -40,23 +41,23 @@ const i = r(
|
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
);
|
|
43
|
-
function
|
|
44
|
+
function d({
|
|
44
45
|
className: t,
|
|
45
46
|
variant: e = "default",
|
|
46
|
-
...
|
|
47
|
+
...r
|
|
47
48
|
}) {
|
|
48
|
-
return /* @__PURE__ */
|
|
49
|
+
return /* @__PURE__ */ n.createElement(
|
|
49
50
|
"div",
|
|
50
51
|
{
|
|
51
52
|
"data-slot": "empty-icon",
|
|
52
53
|
"data-variant": e,
|
|
53
|
-
className: a(
|
|
54
|
-
...
|
|
54
|
+
className: a(s({ variant: e, className: t })),
|
|
55
|
+
...r
|
|
55
56
|
}
|
|
56
57
|
);
|
|
57
58
|
}
|
|
58
|
-
function
|
|
59
|
-
return /* @__PURE__ */
|
|
59
|
+
function f({ className: t, ...e }) {
|
|
60
|
+
return /* @__PURE__ */ n.createElement(
|
|
60
61
|
"div",
|
|
61
62
|
{
|
|
62
63
|
"data-slot": "empty-title",
|
|
@@ -65,8 +66,8 @@ function d({ className: t, ...e }) {
|
|
|
65
66
|
}
|
|
66
67
|
);
|
|
67
68
|
}
|
|
68
|
-
function
|
|
69
|
-
return /* @__PURE__ */
|
|
69
|
+
function u({ className: t, ...e }) {
|
|
70
|
+
return /* @__PURE__ */ n.createElement(
|
|
70
71
|
"div",
|
|
71
72
|
{
|
|
72
73
|
"data-slot": "empty-description",
|
|
@@ -78,8 +79,8 @@ function f({ className: t, ...e }) {
|
|
|
78
79
|
}
|
|
79
80
|
);
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
-
return /* @__PURE__ */
|
|
82
|
+
function p({ className: t, ...e }) {
|
|
83
|
+
return /* @__PURE__ */ n.createElement(
|
|
83
84
|
"div",
|
|
84
85
|
{
|
|
85
86
|
"data-slot": "empty-content",
|
|
@@ -92,11 +93,11 @@ function u({ className: t, ...e }) {
|
|
|
92
93
|
);
|
|
93
94
|
}
|
|
94
95
|
export {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
c as Empty,
|
|
97
|
+
p as EmptyContent,
|
|
98
|
+
u as EmptyDescription,
|
|
99
|
+
o as EmptyHeader,
|
|
100
|
+
d as EmptyMedia,
|
|
101
|
+
f as EmptyTitle
|
|
101
102
|
};
|
|
102
103
|
//# sourceMappingURL=index.es23.js.map
|
package/dist/index.es23.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es23.js","sources":["../src/components/ui/empty.tsx"],"sourcesContent":["import { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Empty({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty\"\n className={cn(\n \"flex min-w-0 flex-1 flex-col items-center justify-center gap-6 text-balance rounded-lg border-dashed p-6 text-center md:p-12\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty-header\"\n className={cn(\n \"flex max-w-sm flex-col items-center gap-2 text-center\",\n className\n )}\n {...props}\n />\n )\n}\n\nconst emptyMediaVariants = cva(\n \"mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n icon: \"bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n)\n\nfunction EmptyMedia({\n className,\n variant = \"default\",\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof emptyMediaVariants>) {\n return (\n <div\n data-slot=\"empty-icon\"\n data-variant={variant}\n className={cn(emptyMediaVariants({ variant, className }))}\n {...props}\n />\n )\n}\n\nfunction EmptyTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty-title\"\n className={cn(\"text-lg font-medium tracking-tight\", className)}\n {...props}\n />\n )\n}\n\nfunction EmptyDescription({ className, ...props }: React.ComponentProps<\"p\">) {\n return (\n <div\n data-slot=\"empty-description\"\n className={cn(\n \"text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty-content\"\n className={cn(\n \"flex w-full min-w-0 max-w-sm flex-col items-center gap-4 text-balance text-sm\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n Empty,\n EmptyHeader,\n EmptyTitle,\n EmptyDescription,\n EmptyContent,\n EmptyMedia,\n}\n"],"names":["Empty","className","props","cn","EmptyHeader","emptyMediaVariants","cva","EmptyMedia","variant","EmptyTitle","EmptyDescription","EmptyContent"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es23.js","sources":["../src/components/ui/empty.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Empty({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty\"\n className={cn(\n \"flex min-w-0 flex-1 flex-col items-center justify-center gap-6 text-balance rounded-lg border-dashed p-6 text-center md:p-12\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty-header\"\n className={cn(\n \"flex max-w-sm flex-col items-center gap-2 text-center\",\n className\n )}\n {...props}\n />\n )\n}\n\nconst emptyMediaVariants = cva(\n \"mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n icon: \"bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n)\n\nfunction EmptyMedia({\n className,\n variant = \"default\",\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof emptyMediaVariants>) {\n return (\n <div\n data-slot=\"empty-icon\"\n data-variant={variant}\n className={cn(emptyMediaVariants({ variant, className }))}\n {...props}\n />\n )\n}\n\nfunction EmptyTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty-title\"\n className={cn(\"text-lg font-medium tracking-tight\", className)}\n {...props}\n />\n )\n}\n\nfunction EmptyDescription({ className, ...props }: React.ComponentProps<\"p\">) {\n return (\n <div\n data-slot=\"empty-description\"\n className={cn(\n \"text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty-content\"\n className={cn(\n \"flex w-full min-w-0 max-w-sm flex-col items-center gap-4 text-balance text-sm\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n Empty,\n EmptyHeader,\n EmptyTitle,\n EmptyDescription,\n EmptyContent,\n EmptyMedia,\n}\n"],"names":["Empty","className","props","React","cn","EmptyHeader","emptyMediaVariants","cva","EmptyMedia","variant","EmptyTitle","EmptyDescription","EmptyContent"],"mappings":";;;AAKA,SAASA,EAAM,EAAE,WAAAC,GAAW,GAAGC,KAAsC;AACnE,SACE,gBAAAC,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASG,EAAY,EAAE,WAAAJ,GAAW,GAAGC,KAAsC;AACzE,SACE,gBAAAC,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,MAAMI,IAAqBC;AAAA,EACzB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,MAAM;AAAA,MAAA;AAAA,IACR;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ;AAEA,SAASC,EAAW;AAAA,EAClB,WAAAP;AAAA,EACA,SAAAQ,IAAU;AAAA,EACV,GAAGP;AACL,GAA0E;AACxE,SACE,gBAAAC,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,gBAAcM;AAAA,MACd,WAAWL,EAAGE,EAAmB,EAAE,SAAAG,GAAS,WAAAR,EAAA,CAAW,CAAC;AAAA,MACvD,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASQ,EAAW,EAAE,WAAAT,GAAW,GAAGC,KAAsC;AACxE,SACE,gBAAAC,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,sCAAsCH,CAAS;AAAA,MAC5D,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASS,EAAiB,EAAE,WAAAV,GAAW,GAAGC,KAAoC;AAC5E,SACE,gBAAAC,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASU,EAAa,EAAE,WAAAX,GAAW,GAAGC,KAAsC;AAC1E,SACE,gBAAAC,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
package/dist/index.es24.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo as n } from "react";
|
|
2
2
|
import { cva as s } from "class-variance-authority";
|
|
3
|
-
import { cn as l } from "./index.
|
|
3
|
+
import { cn as l } from "./index.es56.js";
|
|
4
4
|
import { Label as c } from "./index.es32.js";
|
|
5
5
|
import { Separator as f } from "./index.es42.js";
|
|
6
6
|
function h({ className: t, ...e }) {
|
package/dist/index.es25.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { Slot as f } from "@radix-ui/react-slot";
|
|
3
3
|
import { FormProvider as u, useFormContext as F, Controller as p } from "react-hook-form";
|
|
4
|
-
import { cn as a } from "./index.
|
|
4
|
+
import { cn as a } from "./index.es56.js";
|
|
5
5
|
import { Label as I } from "./index.es32.js";
|
|
6
6
|
const h = u, c = e.createContext(null), R = ({
|
|
7
7
|
...r
|
package/dist/index.es26.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
2
|
import * as t from "@radix-ui/react-hover-card";
|
|
3
|
-
import { cn as n } from "./index.
|
|
3
|
+
import { cn as n } from "./index.es56.js";
|
|
4
4
|
const p = t.Root, f = t.Trigger, s = o.forwardRef(({ className: e, align: a = "center", sideOffset: r = 4, ...d }, i) => /* @__PURE__ */ o.createElement(
|
|
5
5
|
t.Content,
|
|
6
6
|
{
|
package/dist/index.es27.js
CHANGED
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import { cn as
|
|
3
|
-
const
|
|
4
|
-
({ className: r, type:
|
|
2
|
+
import { cn as l } from "./index.es56.js";
|
|
3
|
+
const a = e.forwardRef(
|
|
4
|
+
({ className: r, type: i, ...o }, t) => /* @__PURE__ */ e.createElement(
|
|
5
5
|
"input",
|
|
6
6
|
{
|
|
7
|
-
type:
|
|
8
|
-
className:
|
|
9
|
-
"flex h-
|
|
7
|
+
type: i,
|
|
8
|
+
className: l(
|
|
9
|
+
"flex h-10 w-full rounded-[8px] border border-[#e6e6e6] bg-white px-3 py-2 text-[14px] leading-[20px] text-foreground transition-colors",
|
|
10
|
+
"file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground",
|
|
11
|
+
"placeholder:text-[#b3b3b3] focus-visible:outline-none focus-visible:border-[#111111] focus-visible:ring-0",
|
|
12
|
+
"disabled:cursor-not-allowed disabled:bg-[#f2f2f2] disabled:text-[#9ca3af] disabled:placeholder:text-[#b3b3b3] disabled:opacity-100",
|
|
13
|
+
"aria-invalid:border-[#ff3b30] aria-invalid:focus-visible:border-[#ff3b30]",
|
|
10
14
|
r
|
|
11
15
|
),
|
|
12
|
-
ref:
|
|
16
|
+
ref: t,
|
|
13
17
|
...o
|
|
14
18
|
}
|
|
15
19
|
)
|
|
16
20
|
);
|
|
17
|
-
|
|
21
|
+
a.displayName = "Input";
|
|
18
22
|
export {
|
|
19
|
-
|
|
23
|
+
a as Input
|
|
20
24
|
};
|
|
21
25
|
//# sourceMappingURL=index.es27.js.map
|
package/dist/index.es27.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es27.js","sources":["../src/components/ui/input.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Input = React.forwardRef<HTMLInputElement, React.ComponentProps<\"input\">>(\n ({ className, type, ...props }, ref) => {\n return (\n <input\n type={type}\n className={cn(\n \"flex h-
|
|
1
|
+
{"version":3,"file":"index.es27.js","sources":["../src/components/ui/input.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Input = React.forwardRef<HTMLInputElement, React.ComponentProps<\"input\">>(\n ({ className, type, ...props }, ref) => {\n return (\n <input\n type={type}\n className={cn(\n \"flex h-10 w-full rounded-[8px] border border-[#e6e6e6] bg-white px-3 py-2 text-[14px] leading-[20px] text-foreground transition-colors\",\n \"file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground\",\n \"placeholder:text-[#b3b3b3] focus-visible:outline-none focus-visible:border-[#111111] focus-visible:ring-0\",\n \"disabled:cursor-not-allowed disabled:bg-[#f2f2f2] disabled:text-[#9ca3af] disabled:placeholder:text-[#b3b3b3] disabled:opacity-100\",\n \"aria-invalid:border-[#ff3b30] aria-invalid:focus-visible:border-[#ff3b30]\",\n className\n )}\n ref={ref}\n {...props}\n />\n )\n }\n)\nInput.displayName = \"Input\"\n\nexport { Input }\n"],"names":["Input","React","className","type","props","ref","cn"],"mappings":";;AAIA,MAAMA,IAAQC,EAAM;AAAA,EAClB,CAAC,EAAE,WAAAC,GAAW,MAAAC,GAAM,GAAGC,EAAA,GAASC,MAE5B,gBAAAJ,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAAE;AAAA,MACA,WAAWG;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACAJ;AAAA,MAAA;AAAA,MAEF,KAAAG;AAAA,MACC,GAAGD;AAAA,IAAA;AAAA,EAAA;AAIZ;AACAJ,EAAM,cAAc;"}
|
package/dist/index.es28.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as r from "react";
|
|
2
2
|
import { cva as s } from "class-variance-authority";
|
|
3
|
-
import { cn as e } from "./index.
|
|
3
|
+
import { cn as e } from "./index.es56.js";
|
|
4
4
|
import { Button as u } from "./index.es10.js";
|
|
5
5
|
import { Input as p } from "./index.es27.js";
|
|
6
6
|
import { Textarea as l } from "./index.es52.js";
|
package/dist/index.es29.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { OTPInput as c, OTPInputContext as d } from "input-otp";
|
|
3
3
|
import { Minus as p } from "lucide-react";
|
|
4
|
-
import { cn as n } from "./index.
|
|
4
|
+
import { cn as n } from "./index.es56.js";
|
|
5
5
|
const u = e.forwardRef(({ className: t, containerClassName: r, ...a }, o) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
c,
|
|
7
7
|
{
|
package/dist/index.es3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as t from "@radix-ui/react-accordion";
|
|
3
3
|
import { ChevronDown as i } from "lucide-react";
|
|
4
|
-
import { cn as m } from "./index.
|
|
4
|
+
import { cn as m } from "./index.es56.js";
|
|
5
5
|
const p = t.Root, c = e.forwardRef(({ className: a, ...o }, r) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
t.Item,
|
|
7
7
|
{
|
package/dist/index.es30.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as a from "react";
|
|
2
2
|
import { Slot as m } from "@radix-ui/react-slot";
|
|
3
3
|
import { cva as i } from "class-variance-authority";
|
|
4
|
-
import { cn as r } from "./index.
|
|
4
|
+
import { cn as r } from "./index.es56.js";
|
|
5
5
|
import { Separator as d } from "./index.es42.js";
|
|
6
6
|
function x({ className: t, ...e }) {
|
|
7
7
|
return /* @__PURE__ */ a.createElement(
|
package/dist/index.es31.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import * as n from "react";
|
|
2
|
+
import { cn as o } from "./index.es56.js";
|
|
3
|
+
function r({ className: t, ...e }) {
|
|
4
|
+
return /* @__PURE__ */ n.createElement(
|
|
4
5
|
"kbd",
|
|
5
6
|
{
|
|
6
7
|
"data-slot": "kbd",
|
|
7
|
-
className:
|
|
8
|
+
className: o(
|
|
8
9
|
"bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium",
|
|
9
10
|
"[&_svg:not([class*='size-'])]:size-3",
|
|
10
11
|
"[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10",
|
|
@@ -15,17 +16,17 @@ function a({ className: t, ...e }) {
|
|
|
15
16
|
);
|
|
16
17
|
}
|
|
17
18
|
function s({ className: t, ...e }) {
|
|
18
|
-
return /* @__PURE__ */
|
|
19
|
+
return /* @__PURE__ */ n.createElement(
|
|
19
20
|
"kbd",
|
|
20
21
|
{
|
|
21
22
|
"data-slot": "kbd-group",
|
|
22
|
-
className:
|
|
23
|
+
className: o("inline-flex items-center gap-1", t),
|
|
23
24
|
...e
|
|
24
25
|
}
|
|
25
26
|
);
|
|
26
27
|
}
|
|
27
28
|
export {
|
|
28
|
-
|
|
29
|
+
r as Kbd,
|
|
29
30
|
s as KbdGroup
|
|
30
31
|
};
|
|
31
32
|
//# sourceMappingURL=index.es31.js.map
|
package/dist/index.es31.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es31.js","sources":["../src/components/ui/kbd.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils\"\n\nfunction Kbd({ className, ...props }: React.ComponentProps<\"kbd\">) {\n return (\n <kbd\n data-slot=\"kbd\"\n className={cn(\n \"bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium\",\n \"[&_svg:not([class*='size-'])]:size-3\",\n \"[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction KbdGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <kbd\n data-slot=\"kbd-group\"\n className={cn(\"inline-flex items-center gap-1\", className)}\n {...props}\n />\n )\n}\n\nexport { Kbd, KbdGroup }\n"],"names":["Kbd","className","props","cn","KbdGroup"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es31.js","sources":["../src/components/ui/kbd.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\nfunction Kbd({ className, ...props }: React.ComponentProps<\"kbd\">) {\n return (\n <kbd\n data-slot=\"kbd\"\n className={cn(\n \"bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium\",\n \"[&_svg:not([class*='size-'])]:size-3\",\n \"[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction KbdGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <kbd\n data-slot=\"kbd-group\"\n className={cn(\"inline-flex items-center gap-1\", className)}\n {...props}\n />\n )\n}\n\nexport { Kbd, KbdGroup }\n"],"names":["Kbd","className","props","React","cn","KbdGroup"],"mappings":";;AAGA,SAASA,EAAI,EAAE,WAAAC,GAAW,GAAGC,KAAsC;AACjE,SACE,gBAAAC,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASG,EAAS,EAAE,WAAAJ,GAAW,GAAGC,KAAsC;AACtE,SACE,gBAAAC,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,kCAAkCH,CAAS;AAAA,MACxD,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
package/dist/index.es32.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as a from "@radix-ui/react-label";
|
|
3
3
|
import { cva as m } from "class-variance-authority";
|
|
4
|
-
import { cn as i } from "./index.
|
|
4
|
+
import { cn as i } from "./index.es56.js";
|
|
5
5
|
const l = m(
|
|
6
6
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
7
7
|
), s = e.forwardRef(({ className: o, ...t }, r) => /* @__PURE__ */ e.createElement(
|
package/dist/index.es33.js
CHANGED
package/dist/index.es34.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as a from "@radix-ui/react-menubar";
|
|
3
3
|
import { Check as l, Circle as c, ChevronRight as i } from "lucide-react";
|
|
4
|
-
import { cn as s } from "./index.
|
|
4
|
+
import { cn as s } from "./index.es56.js";
|
|
5
5
|
function v({
|
|
6
6
|
...t
|
|
7
7
|
}) {
|
package/dist/index.es35.js
CHANGED
|
@@ -2,7 +2,7 @@ import * as e from "react";
|
|
|
2
2
|
import * as t from "@radix-ui/react-navigation-menu";
|
|
3
3
|
import { cva as s } from "class-variance-authority";
|
|
4
4
|
import { ChevronDown as m } from "lucide-react";
|
|
5
|
-
import { cn as i } from "./index.
|
|
5
|
+
import { cn as i } from "./index.es56.js";
|
|
6
6
|
const l = e.forwardRef(({ className: a, children: o, ...n }, r) => /* @__PURE__ */ e.createElement(
|
|
7
7
|
t.Root,
|
|
8
8
|
{
|
package/dist/index.es36.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { ChevronLeft as s, ChevronRight as r, MoreHorizontal as m } from "lucide-react";
|
|
3
|
-
import { cn as n } from "./index.
|
|
3
|
+
import { cn as n } from "./index.es56.js";
|
|
4
4
|
import { buttonVariants as c } from "./index.es10.js";
|
|
5
5
|
const p = ({ className: t, ...a }) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
"nav",
|
package/dist/index.es37.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
2
|
import * as o from "@radix-ui/react-popover";
|
|
3
|
-
import { cn as d } from "./index.
|
|
3
|
+
import { cn as d } from "./index.es56.js";
|
|
4
4
|
const p = o.Root, l = o.Trigger, c = o.Anchor, s = t.forwardRef(({ className: e, align: a = "center", sideOffset: r = 4, ...n }, i) => /* @__PURE__ */ t.createElement(o.Portal, null, /* @__PURE__ */ t.createElement(
|
|
5
5
|
o.Content,
|
|
6
6
|
{
|
package/dist/index.es38.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as r from "react";
|
|
2
2
|
import * as e from "@radix-ui/react-progress";
|
|
3
|
-
import { cn as s } from "./index.
|
|
3
|
+
import { cn as s } from "./index.es56.js";
|
|
4
4
|
const m = r.forwardRef(({ className: a, value: l, ...o }, t) => /* @__PURE__ */ r.createElement(
|
|
5
5
|
e.Root,
|
|
6
6
|
{
|
package/dist/index.es39.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as r from "@radix-ui/react-radio-group";
|
|
3
3
|
import { Circle as s } from "lucide-react";
|
|
4
|
-
import { cn as i } from "./index.
|
|
4
|
+
import { cn as i } from "./index.es56.js";
|
|
5
5
|
const m = e.forwardRef(({ className: a, ...o }, t) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
r.Root,
|
|
7
7
|
{
|
package/dist/index.es4.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { cva as i } from "class-variance-authority";
|
|
3
|
-
import { cn as s } from "./index.
|
|
3
|
+
import { cn as s } from "./index.es56.js";
|
|
4
4
|
const d = i(
|
|
5
5
|
"relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",
|
|
6
6
|
{
|
package/dist/index.es40.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as r from "@radix-ui/react-scroll-area";
|
|
3
|
-
import { cn as c } from "./index.
|
|
3
|
+
import { cn as c } from "./index.es56.js";
|
|
4
4
|
const m = e.forwardRef(({ className: a, children: l, ...o }, t) => /* @__PURE__ */ e.createElement(
|
|
5
5
|
r.Root,
|
|
6
6
|
{
|
package/dist/index.es41.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as t from "@radix-ui/react-select";
|
|
3
3
|
import { ChevronDown as s, Check as i, ChevronUp as p } from "lucide-react";
|
|
4
|
-
import { cn as o } from "./index.
|
|
4
|
+
import { cn as o } from "./index.es56.js";
|
|
5
5
|
const x = t.Root, b = t.Group, S = t.Value, f = e.forwardRef(({ className: r, children: l, ...a }, n) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
t.Trigger,
|
|
7
7
|
{
|
package/dist/index.es42.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
2
|
import * as a from "@radix-ui/react-separator";
|
|
3
|
-
import { cn as p } from "./index.
|
|
3
|
+
import { cn as p } from "./index.es56.js";
|
|
4
4
|
const i = o.forwardRef(
|
|
5
5
|
({ className: e, orientation: r = "horizontal", decorative: t = !0, ...m }, l) => /* @__PURE__ */ o.createElement(
|
|
6
6
|
a.Root,
|
package/dist/index.es43.js
CHANGED
|
@@ -2,7 +2,7 @@ import * as e from "react";
|
|
|
2
2
|
import * as t from "@radix-ui/react-dialog";
|
|
3
3
|
import { cva as d } from "class-variance-authority";
|
|
4
4
|
import { X as m } from "lucide-react";
|
|
5
|
-
import { cn as r } from "./index.
|
|
5
|
+
import { cn as r } from "./index.es56.js";
|
|
6
6
|
const S = t.Root, v = t.Trigger, w = t.Close, c = t.Portal, n = e.forwardRef(({ className: a, ...o }, s) => /* @__PURE__ */ e.createElement(
|
|
7
7
|
t.Overlay,
|
|
8
8
|
{
|
package/dist/index.es44.js
CHANGED
|
@@ -2,8 +2,8 @@ import * as e from "react";
|
|
|
2
2
|
import { Slot as g } from "@radix-ui/react-slot";
|
|
3
3
|
import { cva as R } from "class-variance-authority";
|
|
4
4
|
import { PanelLeft as _ } from "lucide-react";
|
|
5
|
-
import { useIsMobile as k } from "./index.
|
|
6
|
-
import { cn as i } from "./index.
|
|
5
|
+
import { useIsMobile as k } from "./index.es57.js";
|
|
6
|
+
import { cn as i } from "./index.es56.js";
|
|
7
7
|
import { Button as C } from "./index.es10.js";
|
|
8
8
|
import { Input as I } from "./index.es27.js";
|
|
9
9
|
import { Separator as z } from "./index.es42.js";
|
package/dist/index.es45.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
import { cn as m } from "./index.es56.js";
|
|
3
|
+
function n({
|
|
3
4
|
className: e,
|
|
4
5
|
...r
|
|
5
6
|
}) {
|
|
6
|
-
return /* @__PURE__ */
|
|
7
|
+
return /* @__PURE__ */ t.createElement(
|
|
7
8
|
"div",
|
|
8
9
|
{
|
|
9
|
-
className:
|
|
10
|
+
className: m("animate-pulse rounded-md bg-primary/10", e),
|
|
10
11
|
...r
|
|
11
12
|
}
|
|
12
13
|
);
|
|
13
14
|
}
|
|
14
15
|
export {
|
|
15
|
-
|
|
16
|
+
n as Skeleton
|
|
16
17
|
};
|
|
17
18
|
//# sourceMappingURL=index.es45.js.map
|
package/dist/index.es45.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es45.js","sources":["../src/components/ui/skeleton.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils\"\n\nfunction Skeleton({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n className={cn(\"animate-pulse rounded-md bg-primary/10\", className)}\n {...props}\n />\n )\n}\n\nexport { Skeleton }\n"],"names":["Skeleton","className","props","cn"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es45.js","sources":["../src/components/ui/skeleton.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\nfunction Skeleton({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n className={cn(\"animate-pulse rounded-md bg-primary/10\", className)}\n {...props}\n />\n )\n}\n\nexport { Skeleton }\n"],"names":["Skeleton","className","props","React","cn"],"mappings":";;AAGA,SAASA,EAAS;AAAA,EAChB,WAAAC;AAAA,EACA,GAAGC;AACL,GAAyC;AACvC,SACE,gBAAAC,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC,EAAG,0CAA0CH,CAAS;AAAA,MAChE,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
package/dist/index.es46.js
CHANGED
package/dist/index.es48.js
CHANGED
package/dist/index.es49.js
CHANGED