@sonamu-kit/react-components 0.4.10 → 0.5.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/_virtual/~icons/lucide/arrow-left.js +13 -10
- package/dist/_virtual/~icons/lucide/arrow-left.js.map +1 -1
- package/dist/_virtual/~icons/lucide/arrow-right.js +13 -10
- package/dist/_virtual/~icons/lucide/arrow-right.js.map +1 -1
- package/dist/_virtual/~icons/lucide/calendar.js +17 -14
- package/dist/_virtual/~icons/lucide/calendar.js.map +1 -1
- package/dist/_virtual/~icons/lucide/check.js +13 -10
- package/dist/_virtual/~icons/lucide/check.js.map +1 -1
- package/dist/_virtual/~icons/lucide/chevron-down.js +13 -10
- package/dist/_virtual/~icons/lucide/chevron-down.js.map +1 -1
- package/dist/_virtual/~icons/lucide/chevron-left.js +13 -10
- package/dist/_virtual/~icons/lucide/chevron-left.js.map +1 -1
- package/dist/_virtual/~icons/lucide/chevron-right.js +13 -10
- package/dist/_virtual/~icons/lucide/chevron-right.js.map +1 -1
- package/dist/_virtual/~icons/lucide/chevrons-up-down.js +13 -10
- package/dist/_virtual/~icons/lucide/chevrons-up-down.js.map +1 -1
- package/dist/_virtual/~icons/lucide/circle.js +13 -10
- package/dist/_virtual/~icons/lucide/circle.js.map +1 -1
- package/dist/_virtual/~icons/lucide/dot.js +15 -12
- package/dist/_virtual/~icons/lucide/dot.js.map +1 -1
- package/dist/_virtual/~icons/lucide/grip-vertical.js +19 -16
- package/dist/_virtual/~icons/lucide/grip-vertical.js.map +1 -1
- package/dist/_virtual/~icons/lucide/image.js +16 -13
- package/dist/_virtual/~icons/lucide/image.js.map +1 -1
- package/dist/_virtual/~icons/lucide/loader-2.js +13 -10
- package/dist/_virtual/~icons/lucide/loader-2.js.map +1 -1
- package/dist/_virtual/~icons/lucide/loader2.js +13 -10
- package/dist/_virtual/~icons/lucide/loader2.js.map +1 -1
- package/dist/_virtual/~icons/lucide/more-horizontal.js +16 -13
- package/dist/_virtual/~icons/lucide/more-horizontal.js.map +1 -1
- package/dist/_virtual/~icons/lucide/panel-left.js +15 -12
- package/dist/_virtual/~icons/lucide/panel-left.js.map +1 -1
- package/dist/_virtual/~icons/lucide/plus.js +13 -10
- package/dist/_virtual/~icons/lucide/plus.js.map +1 -1
- package/dist/_virtual/~icons/lucide/search.js +14 -11
- package/dist/_virtual/~icons/lucide/search.js.map +1 -1
- package/dist/_virtual/~icons/lucide/trash-2.js +13 -10
- package/dist/_virtual/~icons/lucide/trash-2.js.map +1 -1
- package/dist/_virtual/~icons/lucide/upload.js +13 -10
- package/dist/_virtual/~icons/lucide/upload.js.map +1 -1
- package/dist/_virtual/~icons/lucide/x-circle.js +15 -12
- package/dist/_virtual/~icons/lucide/x-circle.js.map +1 -1
- package/dist/_virtual/~icons/lucide/x.js +13 -10
- package/dist/_virtual/~icons/lucide/x.js.map +1 -1
- package/dist/components/ui/accordion.js +1 -2
- package/dist/components/ui/accordion.js.map +1 -1
- package/dist/components/ui/alert-dialog.d.ts +2 -2
- package/dist/components/ui/alert-dialog.js +1 -2
- package/dist/components/ui/alert-dialog.js.map +1 -1
- package/dist/components/ui/alert.js +15 -15
- package/dist/components/ui/alert.js.map +1 -1
- package/dist/components/ui/aspect-ratio.js +1 -2
- package/dist/components/ui/aspect-ratio.js.map +1 -1
- package/dist/components/ui/avatar.js +1 -2
- package/dist/components/ui/avatar.js.map +1 -1
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/badge.js +11 -11
- package/dist/components/ui/badge.js.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts +2 -2
- package/dist/components/ui/breadcrumb.js +1 -2
- package/dist/components/ui/breadcrumb.js.map +1 -1
- package/dist/components/ui/button.js +33 -33
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/calendar.d.ts +1 -1
- package/dist/components/ui/calendar.js +41 -43
- package/dist/components/ui/calendar.js.map +1 -1
- package/dist/components/ui/card.d.ts +7 -7
- package/dist/components/ui/card.js +1 -2
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/carousel.js +2 -3
- package/dist/components/ui/carousel.js.map +1 -1
- package/dist/components/ui/checkbox.js +2 -3
- package/dist/components/ui/checkbox.js.map +1 -1
- package/dist/components/ui/collapsible.js +1 -2
- package/dist/components/ui/collapsible.js.map +1 -1
- package/dist/components/ui/combobox.js +1 -2
- package/dist/components/ui/combobox.js.map +1 -1
- package/dist/components/ui/command.d.ts +2 -2
- package/dist/components/ui/command.js +1 -2
- package/dist/components/ui/command.js.map +1 -1
- package/dist/components/ui/common-modal.d.ts +1 -1
- package/dist/components/ui/common-modal.js +1 -2
- package/dist/components/ui/common-modal.js.map +1 -1
- package/dist/components/ui/context-menu.d.ts +1 -1
- package/dist/components/ui/context-menu.js +1 -2
- package/dist/components/ui/context-menu.js.map +1 -1
- package/dist/components/ui/date-input.d.ts +1 -1
- package/dist/components/ui/date-input.js +3 -3
- package/dist/components/ui/date-input.js.map +1 -1
- package/dist/components/ui/date-picker.d.ts +3 -3
- package/dist/components/ui/date-picker.js +3 -4
- package/dist/components/ui/date-picker.js.map +1 -1
- package/dist/components/ui/dialog.d.ts +2 -2
- package/dist/components/ui/dialog.js +1 -2
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/drawer.d.ts +3 -3
- package/dist/components/ui/drawer.js +1 -2
- package/dist/components/ui/drawer.js.map +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +1 -1
- package/dist/components/ui/dropdown-menu.js +1 -2
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/file-input.d.ts +1 -1
- package/dist/components/ui/file-input.js +20 -12
- package/dist/components/ui/file-input.js.map +1 -1
- package/dist/components/ui/form.d.ts +6 -4
- package/dist/components/ui/form.js +1 -2
- package/dist/components/ui/form.js.map +1 -1
- package/dist/components/ui/hover-card.js +1 -2
- package/dist/components/ui/hover-card.js.map +1 -1
- package/dist/components/ui/input-otp.d.ts +4 -2
- package/dist/components/ui/input-otp.js +1 -2
- package/dist/components/ui/input-otp.js.map +1 -1
- package/dist/components/ui/input.js +1 -2
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/label.js +1 -2
- package/dist/components/ui/label.js.map +1 -1
- package/dist/components/ui/menubar.d.ts +6 -6
- package/dist/components/ui/menubar.js +1 -2
- package/dist/components/ui/menubar.js.map +1 -1
- package/dist/components/ui/month-picker-multiple.d.ts +1 -1
- package/dist/components/ui/month-picker-multiple.js +80 -79
- package/dist/components/ui/month-picker-multiple.js.map +1 -1
- package/dist/components/ui/navigation-menu.js +1 -2
- package/dist/components/ui/navigation-menu.js.map +1 -1
- package/dist/components/ui/pagination.js +3 -4
- package/dist/components/ui/pagination.js.map +1 -1
- package/dist/components/ui/popover.d.ts +4 -4
- package/dist/components/ui/popover.js +1 -2
- package/dist/components/ui/popover.js.map +1 -1
- package/dist/components/ui/progress.js +1 -2
- package/dist/components/ui/progress.js.map +1 -1
- package/dist/components/ui/radio-group.js +1 -2
- package/dist/components/ui/radio-group.js.map +1 -1
- package/dist/components/ui/range-number-input.d.ts +1 -1
- package/dist/components/ui/range-number-input.js +1 -2
- package/dist/components/ui/range-number-input.js.map +1 -1
- package/dist/components/ui/resizable.d.ts +4 -20
- package/dist/components/ui/resizable.js +5 -6
- package/dist/components/ui/resizable.js.map +1 -1
- package/dist/components/ui/scroll-area.js +1 -2
- package/dist/components/ui/scroll-area.js.map +1 -1
- package/dist/components/ui/select/enum-select.d.ts +2 -1
- package/dist/components/ui/select/enum-select.js +1 -2
- package/dist/components/ui/select/enum-select.js.map +1 -1
- package/dist/components/ui/select/id-async-select.js +60 -60
- package/dist/components/ui/select/id-async-select.js.map +1 -1
- package/dist/components/ui/select/select.js +11 -9
- package/dist/components/ui/select/select.js.map +1 -1
- package/dist/components/ui/separator.js +1 -2
- package/dist/components/ui/separator.js.map +1 -1
- package/dist/components/ui/sheet.d.ts +2 -2
- package/dist/components/ui/sheet.js +20 -21
- package/dist/components/ui/sheet.js.map +1 -1
- package/dist/components/ui/sidebar.d.ts +23 -23
- package/dist/components/ui/sidebar.js +1 -2
- package/dist/components/ui/sidebar.js.map +1 -1
- package/dist/components/ui/skeleton.d.ts +1 -1
- package/dist/components/ui/skeleton.js +1 -2
- package/dist/components/ui/skeleton.js.map +1 -1
- package/dist/components/ui/slider.js +1 -2
- package/dist/components/ui/slider.js.map +1 -1
- package/dist/components/ui/sonamu-filter/constants.js +1 -2
- package/dist/components/ui/sonamu-filter/constants.js.map +1 -1
- package/dist/components/ui/sonamu-filter/rule-row-input.d.ts +1 -1
- package/dist/components/ui/sonamu-filter/rule-row-input.js +1 -2
- package/dist/components/ui/sonamu-filter/rule-row-input.js.map +1 -1
- package/dist/components/ui/sonamu-filter/sonamu-filter-modal.d.ts +1 -1
- package/dist/components/ui/sonamu-filter/sonamu-filter-modal.js +2 -3
- package/dist/components/ui/sonamu-filter/sonamu-filter-modal.js.map +1 -1
- package/dist/components/ui/sonamu-filter/sonamu-filter-popover.d.ts +1 -1
- package/dist/components/ui/sonamu-filter/sonamu-filter-popover.js +1 -2
- package/dist/components/ui/sonamu-filter/sonamu-filter-popover.js.map +1 -1
- package/dist/components/ui/sonamu-filter/utils.js +2 -3
- package/dist/components/ui/sonamu-filter/utils.js.map +1 -1
- package/dist/components/ui/sonamu-filter/value-input.d.ts +1 -1
- package/dist/components/ui/sonamu-filter/value-input.js +1 -2
- package/dist/components/ui/sonamu-filter/value-input.js.map +1 -1
- package/dist/components/ui/sonner.d.ts +1 -1
- package/dist/components/ui/switch.js +1 -2
- package/dist/components/ui/switch.js.map +1 -1
- package/dist/components/ui/table.d.ts +8 -8
- package/dist/components/ui/table.js +1 -2
- package/dist/components/ui/table.js.map +1 -1
- package/dist/components/ui/tabs.js +1 -2
- package/dist/components/ui/tabs.js.map +1 -1
- package/dist/components/ui/tag-input.d.ts +1 -1
- package/dist/components/ui/tag-input.js +3 -12
- package/dist/components/ui/tag-input.js.map +1 -1
- package/dist/components/ui/textarea.js +1 -2
- package/dist/components/ui/textarea.js.map +1 -1
- package/dist/components/ui/toast.js +18 -19
- package/dist/components/ui/toast.js.map +1 -1
- package/dist/components/ui/toaster.d.ts +1 -1
- package/dist/components/ui/toaster.js +1 -2
- package/dist/components/ui/toaster.js.map +1 -1
- package/dist/components/ui/toggle-group.js +1 -2
- package/dist/components/ui/toggle-group.js.map +1 -1
- package/dist/components/ui/toggle.js +17 -17
- package/dist/components/ui/toggle.js.map +1 -1
- package/dist/components/ui/tooltip.js +1 -2
- package/dist/components/ui/tooltip.js.map +1 -1
- package/dist/contexts/index.js +1 -2
- package/dist/contexts/sonamu-context.d.ts +1 -1
- package/dist/contexts/sonamu-context.js +1 -2
- package/dist/contexts/sonamu-context.js.map +1 -1
- package/dist/demo/App.d.ts +1 -1
- package/dist/demo/Layout.d.ts +1 -1
- package/dist/demo/components/FormDebugPanel.d.ts +1 -1
- package/dist/demo/routeTree.gen.d.ts +37 -37
- package/dist/demo/schemas/form-demo.schema.d.ts +8 -8
- package/dist/hooks/index.js +1 -2
- package/dist/hooks/use-toast.js +2 -3
- package/dist/hooks/use-toast.js.map +1 -1
- package/dist/i18n/rc-keys.js +1 -2
- package/dist/i18n/rc-keys.js.map +1 -1
- package/dist/lib/base-helpers.js +3 -3
- package/dist/lib/base-helpers.js.map +1 -1
- package/dist/lib/caster.d.ts +1 -1
- package/dist/lib/caster.js +1 -2
- package/dist/lib/caster.js.map +1 -1
- package/dist/lib/form-helpers.js +1 -2
- package/dist/lib/form-helpers.js.map +1 -1
- package/dist/lib/list-helpers.js +1 -2
- package/dist/lib/list-helpers.js.map +1 -1
- package/dist/lib/modal-helpers.js +1 -2
- package/dist/lib/modal-helpers.js.map +1 -1
- package/dist/lib/types.js +1 -2
- package/dist/lib/types.js.map +1 -1
- package/dist/lib/use-mobile.js +7 -9
- package/dist/lib/use-mobile.js.map +1 -1
- package/dist/lib/utils.js +1 -2
- package/dist/lib/utils.js.map +1 -1
- package/dist/styles/globals.css +1 -7
- package/package.json +69 -67
|
@@ -1,37 +1,40 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { jsx as
|
|
3
|
-
|
|
4
|
-
var n = (n) => /* @__PURE__ */ e("svg", {
|
|
1
|
+
import { forwardRef as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
|
|
5
4
|
viewBox: "0 0 24 24",
|
|
6
5
|
width: "1.2em",
|
|
7
6
|
height: "1.2em",
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
ref: a,
|
|
8
|
+
"aria-labelledby": r,
|
|
9
|
+
...i,
|
|
10
|
+
children: [e ? /* @__PURE__ */ t("title", {
|
|
11
|
+
id: r,
|
|
12
|
+
children: e
|
|
13
|
+
}) : null, /* @__PURE__ */ n("g", {
|
|
10
14
|
fill: "none",
|
|
11
15
|
stroke: "currentColor",
|
|
12
16
|
strokeLinecap: "round",
|
|
13
17
|
strokeLinejoin: "round",
|
|
14
18
|
strokeWidth: 2,
|
|
15
19
|
children: [
|
|
16
|
-
/* @__PURE__ */
|
|
20
|
+
/* @__PURE__ */ t("circle", {
|
|
17
21
|
cx: 12,
|
|
18
22
|
cy: 12,
|
|
19
23
|
r: 1
|
|
20
24
|
}),
|
|
21
|
-
/* @__PURE__ */
|
|
25
|
+
/* @__PURE__ */ t("circle", {
|
|
22
26
|
cx: 19,
|
|
23
27
|
cy: 12,
|
|
24
28
|
r: 1
|
|
25
29
|
}),
|
|
26
|
-
/* @__PURE__ */
|
|
30
|
+
/* @__PURE__ */ t("circle", {
|
|
27
31
|
cx: 5,
|
|
28
32
|
cy: 12,
|
|
29
33
|
r: 1
|
|
30
34
|
})
|
|
31
35
|
]
|
|
32
|
-
})
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
export { n as default };
|
|
36
|
+
})]
|
|
37
|
+
}));
|
|
38
|
+
export { r as default };
|
|
36
39
|
|
|
37
40
|
//# sourceMappingURL=more-horizontal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"more-horizontal.js","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"more-horizontal.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
|
|
@@ -1,27 +1,30 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { jsx as
|
|
3
|
-
|
|
4
|
-
var n = (n) => /* @__PURE__ */ e("svg", {
|
|
1
|
+
import { forwardRef as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
|
|
5
4
|
viewBox: "0 0 24 24",
|
|
6
5
|
width: "1.2em",
|
|
7
6
|
height: "1.2em",
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
ref: a,
|
|
8
|
+
"aria-labelledby": r,
|
|
9
|
+
...i,
|
|
10
|
+
children: [e ? /* @__PURE__ */ t("title", {
|
|
11
|
+
id: r,
|
|
12
|
+
children: e
|
|
13
|
+
}) : null, /* @__PURE__ */ n("g", {
|
|
10
14
|
fill: "none",
|
|
11
15
|
stroke: "currentColor",
|
|
12
16
|
strokeLinecap: "round",
|
|
13
17
|
strokeLinejoin: "round",
|
|
14
18
|
strokeWidth: 2,
|
|
15
|
-
children: [/* @__PURE__ */
|
|
19
|
+
children: [/* @__PURE__ */ t("rect", {
|
|
16
20
|
width: 18,
|
|
17
21
|
height: 18,
|
|
18
22
|
x: 3,
|
|
19
23
|
y: 3,
|
|
20
24
|
rx: 2
|
|
21
|
-
}), /* @__PURE__ */
|
|
22
|
-
})
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export { n as default };
|
|
25
|
+
}), /* @__PURE__ */ t("path", { d: "M9 3v18" })]
|
|
26
|
+
})]
|
|
27
|
+
}));
|
|
28
|
+
export { r as default };
|
|
26
29
|
|
|
27
30
|
//# sourceMappingURL=panel-left.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-left.js","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"panel-left.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { jsx as
|
|
3
|
-
|
|
4
|
-
var t = (t) => /* @__PURE__ */ e("svg", {
|
|
1
|
+
import { forwardRef as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
|
|
5
4
|
viewBox: "0 0 24 24",
|
|
6
5
|
width: "1.2em",
|
|
7
6
|
height: "1.2em",
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
ref: a,
|
|
8
|
+
"aria-labelledby": r,
|
|
9
|
+
...i,
|
|
10
|
+
children: [e ? /* @__PURE__ */ t("title", {
|
|
11
|
+
id: r,
|
|
12
|
+
children: e
|
|
13
|
+
}) : null, /* @__PURE__ */ t("path", {
|
|
10
14
|
fill: "none",
|
|
11
15
|
stroke: "currentColor",
|
|
12
16
|
strokeLinecap: "round",
|
|
13
17
|
strokeLinejoin: "round",
|
|
14
18
|
strokeWidth: 2,
|
|
15
19
|
d: "M5 12h14m-7-7v14"
|
|
16
|
-
})
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
export { t as default };
|
|
20
|
+
})]
|
|
21
|
+
}));
|
|
22
|
+
export { r as default };
|
|
20
23
|
|
|
21
24
|
//# sourceMappingURL=plus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plus.js","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"plus.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
|
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { jsx as
|
|
3
|
-
|
|
4
|
-
var n = (n) => /* @__PURE__ */ e("svg", {
|
|
1
|
+
import { forwardRef as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
|
|
5
4
|
viewBox: "0 0 24 24",
|
|
6
5
|
width: "1.2em",
|
|
7
6
|
height: "1.2em",
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
ref: a,
|
|
8
|
+
"aria-labelledby": r,
|
|
9
|
+
...i,
|
|
10
|
+
children: [e ? /* @__PURE__ */ t("title", {
|
|
11
|
+
id: r,
|
|
12
|
+
children: e
|
|
13
|
+
}) : null, /* @__PURE__ */ n("g", {
|
|
10
14
|
fill: "none",
|
|
11
15
|
stroke: "currentColor",
|
|
12
16
|
strokeLinecap: "round",
|
|
13
17
|
strokeLinejoin: "round",
|
|
14
18
|
strokeWidth: 2,
|
|
15
|
-
children: [/* @__PURE__ */
|
|
19
|
+
children: [/* @__PURE__ */ t("path", { d: "m21 21l-4.34-4.34" }), /* @__PURE__ */ t("circle", {
|
|
16
20
|
cx: 11,
|
|
17
21
|
cy: 11,
|
|
18
22
|
r: 8
|
|
19
23
|
})]
|
|
20
|
-
})
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
export { n as default };
|
|
24
|
+
})]
|
|
25
|
+
}));
|
|
26
|
+
export { r as default };
|
|
24
27
|
|
|
25
28
|
//# sourceMappingURL=search.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.js","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"search.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { jsx as
|
|
3
|
-
|
|
4
|
-
var t = (t) => /* @__PURE__ */ e("svg", {
|
|
1
|
+
import { forwardRef as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
|
|
5
4
|
viewBox: "0 0 24 24",
|
|
6
5
|
width: "1.2em",
|
|
7
6
|
height: "1.2em",
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
ref: a,
|
|
8
|
+
"aria-labelledby": r,
|
|
9
|
+
...i,
|
|
10
|
+
children: [e ? /* @__PURE__ */ t("title", {
|
|
11
|
+
id: r,
|
|
12
|
+
children: e
|
|
13
|
+
}) : null, /* @__PURE__ */ t("path", {
|
|
10
14
|
fill: "none",
|
|
11
15
|
stroke: "currentColor",
|
|
12
16
|
strokeLinecap: "round",
|
|
13
17
|
strokeLinejoin: "round",
|
|
14
18
|
strokeWidth: 2,
|
|
15
19
|
d: "M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"
|
|
16
|
-
})
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
export { t as default };
|
|
20
|
+
})]
|
|
21
|
+
}));
|
|
22
|
+
export { r as default };
|
|
20
23
|
|
|
21
24
|
//# sourceMappingURL=trash-2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trash-2.js","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"trash-2.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { jsx as
|
|
3
|
-
|
|
4
|
-
var t = (t) => /* @__PURE__ */ e("svg", {
|
|
1
|
+
import { forwardRef as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
|
|
5
4
|
viewBox: "0 0 24 24",
|
|
6
5
|
width: "1.2em",
|
|
7
6
|
height: "1.2em",
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
ref: a,
|
|
8
|
+
"aria-labelledby": r,
|
|
9
|
+
...i,
|
|
10
|
+
children: [e ? /* @__PURE__ */ t("title", {
|
|
11
|
+
id: r,
|
|
12
|
+
children: e
|
|
13
|
+
}) : null, /* @__PURE__ */ t("path", {
|
|
10
14
|
fill: "none",
|
|
11
15
|
stroke: "currentColor",
|
|
12
16
|
strokeLinecap: "round",
|
|
13
17
|
strokeLinejoin: "round",
|
|
14
18
|
strokeWidth: 2,
|
|
15
19
|
d: "M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"
|
|
16
|
-
})
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
export { t as default };
|
|
20
|
+
})]
|
|
21
|
+
}));
|
|
22
|
+
export { r as default };
|
|
20
23
|
|
|
21
24
|
//# sourceMappingURL=upload.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.js","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"upload.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
|
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { jsx as
|
|
3
|
-
|
|
4
|
-
var n = (n) => /* @__PURE__ */ e("svg", {
|
|
1
|
+
import { forwardRef as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
|
|
5
4
|
viewBox: "0 0 24 24",
|
|
6
5
|
width: "1.2em",
|
|
7
6
|
height: "1.2em",
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
ref: a,
|
|
8
|
+
"aria-labelledby": r,
|
|
9
|
+
...i,
|
|
10
|
+
children: [e ? /* @__PURE__ */ t("title", {
|
|
11
|
+
id: r,
|
|
12
|
+
children: e
|
|
13
|
+
}) : null, /* @__PURE__ */ n("g", {
|
|
10
14
|
fill: "none",
|
|
11
15
|
stroke: "currentColor",
|
|
12
16
|
strokeLinecap: "round",
|
|
13
17
|
strokeLinejoin: "round",
|
|
14
18
|
strokeWidth: 2,
|
|
15
|
-
children: [/* @__PURE__ */
|
|
19
|
+
children: [/* @__PURE__ */ t("circle", {
|
|
16
20
|
cx: 12,
|
|
17
21
|
cy: 12,
|
|
18
22
|
r: 10
|
|
19
|
-
}), /* @__PURE__ */
|
|
20
|
-
})
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
export { n as default };
|
|
23
|
+
}), /* @__PURE__ */ t("path", { d: "m15 9l-6 6m0-6l6 6" })]
|
|
24
|
+
})]
|
|
25
|
+
}));
|
|
26
|
+
export { r as default };
|
|
24
27
|
|
|
25
28
|
//# sourceMappingURL=x-circle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-circle.js","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"x-circle.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { jsx as
|
|
3
|
-
|
|
4
|
-
var t = (t) => /* @__PURE__ */ e("svg", {
|
|
1
|
+
import { forwardRef as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
|
|
5
4
|
viewBox: "0 0 24 24",
|
|
6
5
|
width: "1.2em",
|
|
7
6
|
height: "1.2em",
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
ref: a,
|
|
8
|
+
"aria-labelledby": r,
|
|
9
|
+
...i,
|
|
10
|
+
children: [e ? /* @__PURE__ */ t("title", {
|
|
11
|
+
id: r,
|
|
12
|
+
children: e
|
|
13
|
+
}) : null, /* @__PURE__ */ t("path", {
|
|
10
14
|
fill: "none",
|
|
11
15
|
stroke: "currentColor",
|
|
12
16
|
strokeLinecap: "round",
|
|
13
17
|
strokeLinejoin: "round",
|
|
14
18
|
strokeWidth: 2,
|
|
15
19
|
d: "M18 6L6 18M6 6l12 12"
|
|
16
|
-
})
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
export { t as default };
|
|
20
|
+
})]
|
|
21
|
+
}));
|
|
22
|
+
export { r as default };
|
|
20
23
|
|
|
21
24
|
//# sourceMappingURL=x.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x.js","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"x.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
|
|
@@ -4,7 +4,7 @@ import { cn as t } from "../../lib/utils.js";
|
|
|
4
4
|
import * as n from "react";
|
|
5
5
|
import * as r from "@radix-ui/react-accordion";
|
|
6
6
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/components/ui/accordion.tsx
|
|
8
8
|
var o = r.Root, s = n.forwardRef(({ className: e, ...n }, a) => /* @__PURE__ */ i(r.Item, {
|
|
9
9
|
ref: a,
|
|
10
10
|
className: t("border-b", e),
|
|
@@ -31,7 +31,6 @@ var l = n.forwardRef(({ className: e, children: n, ...a }, o) => /* @__PURE__ */
|
|
|
31
31
|
})
|
|
32
32
|
}));
|
|
33
33
|
l.displayName = r.Content.displayName;
|
|
34
|
-
//#endregion
|
|
35
34
|
export { o as Accordion, l as AccordionContent, s as AccordionItem, c as AccordionTrigger };
|
|
36
35
|
|
|
37
36
|
//# sourceMappingURL=accordion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.js","names":[],"sources":["../../../src/components/ui/accordion.tsx"],"sourcesContent":["\"use client\";\n\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\";\nimport * as React from \"react\";\nimport ChevronDownIcon from \"~icons/lucide/chevron-down\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Accordion = AccordionPrimitive.Root;\n\nconst AccordionItem = React.forwardRef<\n React.ComponentRef<typeof AccordionPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>\n>(({ className, ...props }, ref) => (\n <AccordionPrimitive.Item ref={ref} className={cn(\"border-b\", className)} {...props} />\n));\nAccordionItem.displayName = \"AccordionItem\";\n\nconst AccordionTrigger = React.forwardRef<\n React.ComponentRef<typeof AccordionPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>\n>(({ className, children, ...props }, ref) => (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n ref={ref}\n className={cn(\n \"flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180\",\n className,\n )}\n {...props}\n >\n {children}\n <ChevronDownIcon className=\"h-4 w-4 shrink-0 transition-transform duration-200\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n));\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;\n\nconst AccordionContent = React.forwardRef<\n React.ComponentRef<typeof AccordionPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <AccordionPrimitive.Content\n ref={ref}\n className=\"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down\"\n {...props}\n >\n <div className={cn(\"pb-4 pt-0\", className)}>{children}</div>\n </AccordionPrimitive.Content>\n));\n\nAccordionContent.displayName = AccordionPrimitive.Content.displayName;\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent };\n"],"mappings":";;;;;;;AAQA,
|
|
1
|
+
{"version":3,"file":"accordion.js","names":["React","ChevronDownIcon","ForwardRef","React$1","AccordionPrimitive","Accordion","AccordionItem","props","cn","className","AccordionTrigger","children","AccordionContent"],"sources":["../../../src/components/ui/accordion.tsx"],"sourcesContent":["\"use client\";\n\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\";\nimport * as React from \"react\";\nimport ChevronDownIcon from \"~icons/lucide/chevron-down\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Accordion = AccordionPrimitive.Root;\n\nconst AccordionItem = React.forwardRef<\n React.ComponentRef<typeof AccordionPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>\n>(({ className, ...props }, ref) => (\n <AccordionPrimitive.Item ref={ref} className={cn(\"border-b\", className)} {...props} />\n));\nAccordionItem.displayName = \"AccordionItem\";\n\nconst AccordionTrigger = React.forwardRef<\n React.ComponentRef<typeof AccordionPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>\n>(({ className, children, ...props }, ref) => (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n ref={ref}\n className={cn(\n \"flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180\",\n className,\n )}\n {...props}\n >\n {children}\n <ChevronDownIcon className=\"h-4 w-4 shrink-0 transition-transform duration-200\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n));\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;\n\nconst AccordionContent = React.forwardRef<\n React.ComponentRef<typeof AccordionPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <AccordionPrimitive.Content\n ref={ref}\n className=\"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down\"\n {...props}\n >\n <div className={cn(\"pb-4 pt-0\", className)}>{children}</div>\n </AccordionPrimitive.Content>\n));\n\nAccordionContent.displayName = AccordionPrimitive.Content.displayName;\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent };\n"],"mappings":";;;;;;;AAQA,IAAMK,IAAYD,EAAmB,MAE/BE,IAAgBN,EAAM,YAGzB,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACH,EAAmB,MAApB;CAA8B;CAAK,WAAWI,EAAG,YAAYC,CAAS;CAAG,GAAIF;AAAQ,CAAA,CACtF;AACD,EAAc,cAAc;AAE5B,IAAMG,IAAmBV,EAAM,YAG5B,EAAE,cAAW,aAAU,GAAGO,KAAS,MACpC,kBAACH,EAAmB,QAApB;CAA2B,WAAU;CACnC,UAAA,kBAACA,EAAmB,SAApB;EACO;EACL,WAAWI,EACT,gIACAC,CACF;EACA,GAAIF;EANN,UAAA,CAQGI,GACD,kBAACV,GAAD,EAAiB,WAAU,qDAAsD,CAAA,CACvD;;AACH,CAAA,CAC5B;AACD,EAAiB,cAAcG,EAAmB,QAAQ;AAE1D,IAAMQ,IAAmBZ,EAAM,YAG5B,EAAE,cAAW,aAAU,GAAGO,KAAS,MACpC,kBAACH,EAAmB,SAApB;CACO;CACL,WAAU;CACV,GAAIG;CAEJ,UAAA,kBAAC,OAAD;EAAK,WAAWC,EAAG,aAAaC,CAAS;EAAI;CAAc,CAAA;AACjC,CAAA,CAC7B;AAED,EAAiB,cAAcL,EAAmB,QAAQ"}
|
|
@@ -6,11 +6,11 @@ declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortal
|
|
|
6
6
|
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
declare const AlertDialogHeader: {
|
|
9
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
9
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
declare const AlertDialogFooter: {
|
|
13
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
13
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -3,7 +3,7 @@ import { buttonVariants as t } from "./button.js";
|
|
|
3
3
|
import * as n from "react";
|
|
4
4
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
5
|
import * as a from "@radix-ui/react-alert-dialog";
|
|
6
|
-
|
|
6
|
+
// src/components/ui/alert-dialog.tsx
|
|
7
7
|
var o = a.Root, s = a.Trigger, c = a.Portal, l = n.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r(a.Overlay, {
|
|
8
8
|
className: e("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", t),
|
|
9
9
|
...n,
|
|
@@ -50,7 +50,6 @@ var g = n.forwardRef(({ className: n, ...i }, o) => /* @__PURE__ */ r(a.Cancel,
|
|
|
50
50
|
...i
|
|
51
51
|
}));
|
|
52
52
|
g.displayName = a.Cancel.displayName;
|
|
53
|
-
//#endregion
|
|
54
53
|
export { o as AlertDialog, h as AlertDialogAction, g as AlertDialogCancel, u as AlertDialogContent, m as AlertDialogDescription, f as AlertDialogFooter, d as AlertDialogHeader, l as AlertDialogOverlay, c as AlertDialogPortal, p as AlertDialogTitle, s as AlertDialogTrigger };
|
|
55
54
|
|
|
56
55
|
//# sourceMappingURL=alert-dialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.js","names":[],"sources":["../../../src/components/ui/alert-dialog.tsx"],"sourcesContent":["import * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\nimport { buttonVariants } from \"./button\";\n\nconst AlertDialog = AlertDialogPrimitive.Root;\n\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className,\n )}\n {...props}\n ref={ref}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\nconst AlertDialogContent = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",\n className,\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\nconst AlertDialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn(\"flex flex-col space-y-2 text-center sm:text-left\", className)} {...props} />\n);\nAlertDialogHeader.displayName = \"AlertDialogHeader\";\n\nconst AlertDialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\", className)}\n {...props}\n />\n);\nAlertDialogFooter.displayName = \"AlertDialogFooter\";\n\nconst AlertDialogTitle = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold\", className)}\n {...props}\n />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\nconst AlertDialogDescription = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\nconst AlertDialogAction = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Action>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action ref={ref} className={cn(buttonVariants(), className)} {...props} />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\nconst AlertDialogCancel = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: \"outline\" }), \"mt-2 sm:mt-0\", className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n};\n"],"mappings":";;;;;;AAMA,
|
|
1
|
+
{"version":3,"file":"alert-dialog.js","names":["React","React$1","AlertDialogPrimitive","AlertDialog","AlertDialogTrigger","AlertDialogPortal","AlertDialogOverlay","props","cn","className","AlertDialogContent","AlertDialogHeader","AlertDialogFooter","AlertDialogTitle","AlertDialogDescription","AlertDialogAction","buttonVariants","AlertDialogCancel"],"sources":["../../../src/components/ui/alert-dialog.tsx"],"sourcesContent":["import * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\nimport { buttonVariants } from \"./button\";\n\nconst AlertDialog = AlertDialogPrimitive.Root;\n\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className,\n )}\n {...props}\n ref={ref}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\nconst AlertDialogContent = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",\n className,\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\nconst AlertDialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn(\"flex flex-col space-y-2 text-center sm:text-left\", className)} {...props} />\n);\nAlertDialogHeader.displayName = \"AlertDialogHeader\";\n\nconst AlertDialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\", className)}\n {...props}\n />\n);\nAlertDialogFooter.displayName = \"AlertDialogFooter\";\n\nconst AlertDialogTitle = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold\", className)}\n {...props}\n />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\nconst AlertDialogDescription = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\nconst AlertDialogAction = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Action>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action ref={ref} className={cn(buttonVariants(), className)} {...props} />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\nconst AlertDialogCancel = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: \"outline\" }), \"mt-2 sm:mt-0\", className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n};\n"],"mappings":";;;;;;AAMA,IAAMG,IAAcD,EAAqB,MAEnCE,IAAqBF,EAAqB,SAE1CG,IAAoBH,EAAqB,QAEzCI,IAAqBN,EAAM,YAG9B,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACL,EAAqB,SAAtB;CACE,WAAWM,EACT,2JACAC,CACF;CACA,GAAIF;CACC;AACN,CAAA,CACF;AACD,EAAmB,cAAcL,EAAqB,QAAQ;AAE9D,IAAMQ,IAAqBV,EAAM,YAG9B,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACF,GAAD,EAAA,UAAA,CACE,kBAACC,GAAD,CAAqB,CAAA,GACrB,kBAACJ,EAAqB,SAAtB;CACO;CACL,WAAWM,EACT,+fACAC,CACF;CACA,GAAIF;AACL,CAAA,CACgB,EAAA,CAAA,CACpB;AACD,EAAmB,cAAcL,EAAqB,QAAQ;AAE9D,IAAMS,KAAqB,EAAE,cAAW,GAAGJ,QACzC,kBAAC,OAAD;CAAK,WAAWC,EAAG,oDAAoDC,CAAS;CAAG,GAAIF;AAAQ,CAAA;AAEjG,EAAkB,cAAc;AAEhC,IAAMK,KAAqB,EAAE,cAAW,GAAGL,QACzC,kBAAC,OAAD;CACE,WAAWC,EAAG,iEAAiEC,CAAS;CACxF,GAAIF;AACL,CAAA;AAEH,EAAkB,cAAc;AAEhC,IAAMM,IAAmBb,EAAM,YAG5B,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACL,EAAqB,OAAtB;CACO;CACL,WAAWM,EAAG,yBAAyBC,CAAS;CAChD,GAAIF;AACL,CAAA,CACF;AACD,EAAiB,cAAcL,EAAqB,MAAM;AAE1D,IAAMY,IAAyBd,EAAM,YAGlC,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACL,EAAqB,aAAtB;CACO;CACL,WAAWM,EAAG,iCAAiCC,CAAS;CACxD,GAAIF;AACL,CAAA,CACF;AACD,EAAuB,cAAcL,EAAqB,YAAY;AAEtE,IAAMa,IAAoBf,EAAM,YAG7B,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACL,EAAqB,QAAtB;CAAkC;CAAK,WAAWM,EAAGQ,EAAe,GAAGP,CAAS;CAAG,GAAIF;AAAQ,CAAA,CAChG;AACD,EAAkB,cAAcL,EAAqB,OAAO;AAE5D,IAAMe,IAAoBjB,EAAM,YAG7B,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACL,EAAqB,QAAtB;CACO;CACL,WAAWM,EAAGQ,EAAe,EAAE,SAAS,UAAU,CAAC,GAAG,gBAAgBP,CAAS;CAC/E,GAAIF;AACL,CAAA,CACF;AACD,EAAkB,cAAcL,EAAqB,OAAO"}
|
|
@@ -2,32 +2,32 @@ import { cn as e } from "../../lib/utils.js";
|
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import { cva as r } from "class-variance-authority";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
// src/components/ui/alert.tsx
|
|
6
|
+
var i = { variant: {
|
|
7
|
+
default: "bg-background text-foreground",
|
|
8
|
+
destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
|
|
9
|
+
} }, a = r("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground", {
|
|
10
|
+
variants: i,
|
|
10
11
|
defaultVariants: { variant: "default" }
|
|
11
|
-
}),
|
|
12
|
+
}), o = t.forwardRef(({ className: t, variant: r, ...i }, o) => /* @__PURE__ */ n("div", {
|
|
12
13
|
ref: o,
|
|
13
14
|
role: "alert",
|
|
14
|
-
className: e(
|
|
15
|
-
...
|
|
15
|
+
className: e(a({ variant: r }), t),
|
|
16
|
+
...i
|
|
16
17
|
}));
|
|
17
|
-
|
|
18
|
-
var
|
|
18
|
+
o.displayName = "Alert";
|
|
19
|
+
var s = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("h5", {
|
|
19
20
|
ref: i,
|
|
20
21
|
className: e("mb-1 font-medium leading-none tracking-tight", t),
|
|
21
22
|
...r
|
|
22
23
|
}));
|
|
23
|
-
|
|
24
|
-
var
|
|
24
|
+
s.displayName = "AlertTitle";
|
|
25
|
+
var c = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
|
|
25
26
|
ref: i,
|
|
26
27
|
className: e("text-sm [&_p]:leading-relaxed", t),
|
|
27
28
|
...r
|
|
28
29
|
}));
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export { a as Alert, s as AlertDescription, o as AlertTitle };
|
|
30
|
+
c.displayName = "AlertDescription";
|
|
31
|
+
export { o as Alert, c as AlertDescription, s as AlertTitle, i as alertVariantsConfig };
|
|
32
32
|
|
|
33
33
|
//# sourceMappingURL=alert.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.js","names":[],"sources":["../../../src/components/ui/alert.tsx"],"sourcesContent":["import { cva } from \"class-variance-authority\";\nimport { type VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst alertVariantsConfig = {\n variant: {\n default: \"bg-background text-foreground\",\n destructive:\n \"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive\",\n },\n} as const;\n\nconst alertVariants = cva(\n \"relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground\",\n {\n variants: alertVariantsConfig,\n defaultVariants: {\n variant: \"default\",\n },\n },\n);\n\nconst Alert = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>\n>(({ className, variant, ...props }, ref) => (\n <div ref={ref} role=\"alert\" className={cn(alertVariants({ variant }), className)} {...props} />\n));\nAlert.displayName = \"Alert\";\n\nconst AlertTitle = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLHeadingElement>>(\n ({ className, ...props }, ref) => (\n <h5\n ref={ref}\n className={cn(\"mb-1 font-medium leading-none tracking-tight\", className)}\n {...props}\n />\n ),\n);\nAlertTitle.displayName = \"AlertTitle\";\n\nconst AlertDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"text-sm [&_p]:leading-relaxed\", className)} {...props} />\n));\nAlertDescription.displayName = \"AlertDescription\";\n\nexport { Alert, alertVariantsConfig, AlertTitle, AlertDescription };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"alert.js","names":["React","React$1","alertVariantsConfig","alertVariants","cva","Alert","props","cn","className","AlertTitle","AlertDescription"],"sources":["../../../src/components/ui/alert.tsx"],"sourcesContent":["import { cva } from \"class-variance-authority\";\nimport { type VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst alertVariantsConfig = {\n variant: {\n default: \"bg-background text-foreground\",\n destructive:\n \"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive\",\n },\n} as const;\n\nconst alertVariants = cva(\n \"relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground\",\n {\n variants: alertVariantsConfig,\n defaultVariants: {\n variant: \"default\",\n },\n },\n);\n\nconst Alert = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>\n>(({ className, variant, ...props }, ref) => (\n <div ref={ref} role=\"alert\" className={cn(alertVariants({ variant }), className)} {...props} />\n));\nAlert.displayName = \"Alert\";\n\nconst AlertTitle = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLHeadingElement>>(\n ({ className, ...props }, ref) => (\n <h5\n ref={ref}\n className={cn(\"mb-1 font-medium leading-none tracking-tight\", className)}\n {...props}\n />\n ),\n);\nAlertTitle.displayName = \"AlertTitle\";\n\nconst AlertDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"text-sm [&_p]:leading-relaxed\", className)} {...props} />\n));\nAlertDescription.displayName = \"AlertDescription\";\n\nexport { Alert, alertVariantsConfig, AlertTitle, AlertDescription };\n"],"mappings":";;;;;AAMA,IAAME,IAAsB,EAC1B,SAAS;CACP,SAAS;CACT,aACE;AACJ,EACF,GAEMC,IAAgBC,EACpB,6JACA;CACE,UAAUF;CACV,iBAAiB,EACf,SAAS,UACX;AACF,CACF,GAEMG,IAAQL,EAAM,YAGjB,EAAE,cAAW,YAAS,GAAGM,KAAS,MACnC,kBAAC,OAAD;CAAU;CAAK,MAAK;CAAQ,WAAWC,EAAGJ,EAAc,EAAE,WAAQ,CAAC,GAAGK,CAAS;CAAG,GAAIF;AAAQ,CAAA,CAC/F;AACD,EAAM,cAAc;AAEpB,IAAMG,IAAaT,EAAM,YACtB,EAAE,cAAW,GAAGM,KAAS,MACxB,kBAAC,MAAD;CACO;CACL,WAAWC,EAAG,gDAAgDC,CAAS;CACvE,GAAIF;AACL,CAAA,CAEL;AACA,EAAW,cAAc;AAEzB,IAAMI,IAAmBV,EAAM,YAG5B,EAAE,cAAW,GAAGM,KAAS,MAC1B,kBAAC,OAAD;CAAU;CAAK,WAAWC,EAAG,iCAAiCC,CAAS;CAAG,GAAIF;AAAQ,CAAA,CACvF;AACD,EAAiB,cAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aspect-ratio.js","names":[],"sources":["../../../src/components/ui/aspect-ratio.tsx"],"sourcesContent":["import * as AspectRatioPrimitive from \"@radix-ui/react-aspect-ratio\";\n\nconst AspectRatio = AspectRatioPrimitive.Root;\n\nexport { AspectRatio };\n"],"mappings":";;AAEA,
|
|
1
|
+
{"version":3,"file":"aspect-ratio.js","names":["AspectRatioPrimitive","AspectRatio"],"sources":["../../../src/components/ui/aspect-ratio.tsx"],"sourcesContent":["import * as AspectRatioPrimitive from \"@radix-ui/react-aspect-ratio\";\n\nconst AspectRatio = AspectRatioPrimitive.Root;\n\nexport { AspectRatio };\n"],"mappings":";;AAEA,IAAMC,IAAcD,EAAqB"}
|
|
@@ -2,7 +2,7 @@ import { cn as e } from "../../lib/utils.js";
|
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import * as r from "@radix-ui/react-avatar";
|
|
5
|
-
|
|
5
|
+
// src/components/ui/avatar.tsx
|
|
6
6
|
var i = t.forwardRef(({ className: t, ...i }, a) => /* @__PURE__ */ n(r.Root, {
|
|
7
7
|
ref: a,
|
|
8
8
|
className: e("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", t),
|
|
@@ -21,7 +21,6 @@ var o = t.forwardRef(({ className: t, ...i }, a) => /* @__PURE__ */ n(r.Fallback
|
|
|
21
21
|
...i
|
|
22
22
|
}));
|
|
23
23
|
o.displayName = r.Fallback.displayName;
|
|
24
|
-
//#endregion
|
|
25
24
|
export { i as Avatar, o as AvatarFallback, a as AvatarImage };
|
|
26
25
|
|
|
27
26
|
//# sourceMappingURL=avatar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.js","names":[],"sources":["../../../src/components/ui/avatar.tsx"],"sourcesContent":["import * as AvatarPrimitive from \"@radix-ui/react-avatar\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Avatar = React.forwardRef<\n React.ComponentRef<typeof AvatarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Root\n ref={ref}\n className={cn(\"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full\", className)}\n {...props}\n />\n));\nAvatar.displayName = AvatarPrimitive.Root.displayName;\n\nconst AvatarImage = React.forwardRef<\n React.ComponentRef<typeof AvatarPrimitive.Image>,\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Image\n ref={ref}\n className={cn(\"aspect-square h-full w-full\", className)}\n {...props}\n />\n));\nAvatarImage.displayName = AvatarPrimitive.Image.displayName;\n\nconst AvatarFallback = React.forwardRef<\n React.ComponentRef<typeof AvatarPrimitive.Fallback>,\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Fallback\n ref={ref}\n className={cn(\n \"flex h-full w-full items-center justify-center rounded-full bg-muted\",\n className,\n )}\n {...props}\n />\n));\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;\n\nexport { Avatar, AvatarImage, AvatarFallback };\n"],"mappings":";;;;;AAKA,
|
|
1
|
+
{"version":3,"file":"avatar.js","names":["React","React$1","AvatarPrimitive","Avatar","props","cn","className","AvatarImage","AvatarFallback"],"sources":["../../../src/components/ui/avatar.tsx"],"sourcesContent":["import * as AvatarPrimitive from \"@radix-ui/react-avatar\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Avatar = React.forwardRef<\n React.ComponentRef<typeof AvatarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Root\n ref={ref}\n className={cn(\"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full\", className)}\n {...props}\n />\n));\nAvatar.displayName = AvatarPrimitive.Root.displayName;\n\nconst AvatarImage = React.forwardRef<\n React.ComponentRef<typeof AvatarPrimitive.Image>,\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Image\n ref={ref}\n className={cn(\"aspect-square h-full w-full\", className)}\n {...props}\n />\n));\nAvatarImage.displayName = AvatarPrimitive.Image.displayName;\n\nconst AvatarFallback = React.forwardRef<\n React.ComponentRef<typeof AvatarPrimitive.Fallback>,\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Fallback\n ref={ref}\n className={cn(\n \"flex h-full w-full items-center justify-center rounded-full bg-muted\",\n className,\n )}\n {...props}\n />\n));\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;\n\nexport { Avatar, AvatarImage, AvatarFallback };\n"],"mappings":";;;;;AAKA,IAAMG,IAASH,EAAM,YAGlB,EAAE,cAAW,GAAGI,KAAS,MAC1B,kBAACF,EAAgB,MAAjB;CACO;CACL,WAAWG,EAAG,iEAAiEC,CAAS;CACxF,GAAIF;AACL,CAAA,CACF;AACD,EAAO,cAAcF,EAAgB,KAAK;AAE1C,IAAMK,IAAcP,EAAM,YAGvB,EAAE,cAAW,GAAGI,KAAS,MAC1B,kBAACF,EAAgB,OAAjB;CACO;CACL,WAAWG,EAAG,+BAA+BC,CAAS;CACtD,GAAIF;AACL,CAAA,CACF;AACD,EAAY,cAAcF,EAAgB,MAAM;AAEhD,IAAMM,IAAiBR,EAAM,YAG1B,EAAE,cAAW,GAAGI,KAAS,MAC1B,kBAACF,EAAgB,UAAjB;CACO;CACL,WAAWG,EACT,wEACAC,CACF;CACA,GAAIF;AACL,CAAA,CACF;AACD,EAAe,cAAcF,EAAgB,SAAS"}
|
|
@@ -13,5 +13,5 @@ declare const badgeVariants: (props?: ({
|
|
|
13
13
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
14
14
|
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
15
15
|
asChild?: boolean;
|
|
16
|
-
}):
|
|
16
|
+
}): React.JSX.Element;
|
|
17
17
|
export { Badge, badgeVariants, badgeVariantsConfig };
|