@snapcall/design-system 1.20.0-beta.3 → 1.20.0-beta.5
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/Avatar/index.d.mts +21 -1
- package/dist/Avatar/index.d.ts +21 -1
- package/dist/Button/index.d.mts +7 -1
- package/dist/Button/index.d.ts +7 -1
- package/dist/Calendar/index.d.mts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Command/index.d.mts +96 -2
- package/dist/Command/index.d.ts +96 -2
- package/dist/CreatableSelect/index.d.mts +1 -1
- package/dist/CreatableSelect/index.d.ts +1 -1
- package/dist/Input/index.d.mts +1 -1
- package/dist/Input/index.d.ts +1 -1
- package/dist/Pagination/index.d.mts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Select/index.d.mts +1 -1
- package/dist/Select/index.d.ts +1 -1
- package/dist/Textarea/index.d.mts +1 -1
- package/dist/Textarea/index.d.ts +1 -1
- package/dist/{chunk-I7KGDNNG.mjs → chunk-22ROPG2O.mjs} +2 -2
- package/dist/{chunk-R3S6KBX3.mjs → chunk-4IMIAFOU.mjs} +27 -70
- package/dist/{chunk-XWD63VYR.mjs → chunk-655CU734.mjs} +2 -2
- package/dist/{chunk-PDYIMMJH.mjs → chunk-APPCA7PA.mjs} +10 -48
- package/dist/chunk-FCKIVF33.mjs +454 -0
- package/dist/{chunk-IZJXAMXC.mjs → chunk-FETPXSOH.mjs} +1 -1
- package/dist/{chunk-4TUMP4TB.mjs → chunk-ZUDNZTUE.mjs} +5 -5
- package/dist/components/Accordion/index.js +2 -4
- package/dist/components/Accordion/index.mjs +10 -41
- package/dist/components/AlertDialog/index.js +4 -6
- package/dist/components/AlertDialog/index.mjs +4 -2
- package/dist/components/Avatar/index.js +10 -6
- package/dist/components/Avatar/index.mjs +5 -2
- package/dist/components/Badge/index.js +2 -4
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Button/index.js +6 -6
- package/dist/components/Button/index.mjs +7 -3
- package/dist/components/Calendar/index.js +3 -5
- package/dist/components/Calendar/index.mjs +7 -8
- package/dist/components/Carousel/index.js +3 -5
- package/dist/components/Carousel/index.mjs +18 -141
- package/dist/components/Checkbox/index.js +2 -4
- package/dist/components/Checkbox/index.mjs +3 -2
- package/dist/components/Command/index.js +4 -6
- package/dist/components/Command/index.mjs +5 -5
- package/dist/components/CreatableSelect/index.js +8 -10
- package/dist/components/CreatableSelect/index.mjs +9 -9
- package/dist/components/Dialog/index.js +4 -5
- package/dist/components/Dialog/index.mjs +7 -5
- package/dist/components/DropdownMenu/index.js +3 -5
- package/dist/components/DropdownMenu/index.mjs +6 -6
- package/dist/components/FilterButton/index.js +6 -8
- package/dist/components/FilterButton/index.mjs +5 -3
- package/dist/components/Form/index.js +3 -5
- package/dist/components/Form/index.mjs +2 -2
- package/dist/components/Input/index.js +2 -4
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/Label/index.js +2 -4
- package/dist/components/Label/index.mjs +1 -1
- package/dist/components/Link/index.js +2 -4
- package/dist/components/Link/index.mjs +1 -1
- package/dist/components/Pagination/index.js +3 -3
- package/dist/components/Pagination/index.mjs +19 -85
- package/dist/components/Popover/index.js +2 -4
- package/dist/components/Popover/index.mjs +1 -1
- package/dist/components/RadioGroup/index.js +3 -4
- package/dist/components/RadioGroup/index.mjs +2 -1
- package/dist/components/Select/index.js +2 -4
- package/dist/components/Select/index.mjs +13 -43
- package/dist/components/Sheet/index.js +3 -5
- package/dist/components/Sheet/index.mjs +6 -5
- package/dist/components/Skeleton/index.js +2 -2
- package/dist/components/Skeleton/index.mjs +1 -1
- package/dist/components/Switch/index.js +2 -4
- package/dist/components/Switch/index.mjs +1 -1
- package/dist/components/Table/index.js +2 -4
- package/dist/components/Table/index.mjs +1 -1
- package/dist/components/Tabs/index.js +2 -4
- package/dist/components/Tabs/index.mjs +1 -1
- package/dist/components/Textarea/index.js +2 -4
- package/dist/components/Textarea/index.mjs +1 -1
- package/dist/components/Toaster/index.js +2 -2
- package/dist/components/Toaster/index.mjs +5 -4
- package/dist/components/ToggleGroup/index.js +2 -4
- package/dist/components/ToggleGroup/index.mjs +3 -2
- package/dist/components/Tooltip/index.js +2 -4
- package/dist/components/Tooltip/index.mjs +1 -1
- package/dist/icons/index.d.mts +2452 -2
- package/dist/icons/index.d.ts +2452 -2
- package/dist/icons/index.js +3678 -2455
- package/dist/icons/index.mjs +2450 -1227
- package/dist/index.d.mts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +275 -61
- package/dist/index.mjs +279 -30
- package/package.json +19 -1
- package/dist/chunk-NOFOM2SJ.mjs +0 -41
- package/dist/chunk-PPFZHO26.mjs +0 -41
- package/dist/chunk-ZT2KTEGZ.mjs +0 -41
- package/dist/icons/search.js +0 -98
- package/dist/icons/search.mjs +0 -50
- package/dist/index-2pOvozv0.d.mts +0 -2456
- package/dist/index-2pOvozv0.d.ts +0 -2456
- package/dist/index-Jp7jKI5I.d.mts +0 -96
- package/dist/index-Jp7jKI5I.d.ts +0 -96
- package/dist/search.d.mts +0 -6
- package/dist/search.d.ts +0 -6
|
@@ -1,85 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunk-
|
|
2
|
+
Button
|
|
3
|
+
} from "../../chunk-APPCA7PA.mjs";
|
|
4
4
|
import {
|
|
5
|
+
ChevronLeftDoubleIcon,
|
|
6
|
+
ChevronLeftIcon,
|
|
7
|
+
ChevronRightDoubleIcon,
|
|
5
8
|
ChevronRightIcon
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import
|
|
8
|
-
Button
|
|
9
|
-
} from "../../chunk-PDYIMMJH.mjs";
|
|
9
|
+
} from "../../chunk-FCKIVF33.mjs";
|
|
10
|
+
import "../../chunk-ZUDNZTUE.mjs";
|
|
10
11
|
import {
|
|
11
|
-
__objRest,
|
|
12
|
-
__spreadProps,
|
|
13
|
-
__spreadValues,
|
|
14
12
|
cn
|
|
15
13
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
16
14
|
|
|
17
|
-
// src/
|
|
18
|
-
import {
|
|
19
|
-
import { jsx } from "react/jsx-runtime";
|
|
20
|
-
var ChevronLeftDoubleIcon = forwardRef(
|
|
21
|
-
function ChevronLeftDoubleIcon2(_a, ref) {
|
|
22
|
-
var _b = _a, { size = 24, className = "text-gray-1000" } = _b, other = __objRest(_b, ["size", "className"]);
|
|
23
|
-
return /* @__PURE__ */ jsx(
|
|
24
|
-
"svg",
|
|
25
|
-
__spreadProps(__spreadValues({
|
|
26
|
-
ref,
|
|
27
|
-
width: size,
|
|
28
|
-
height: size,
|
|
29
|
-
viewBox: "0 0 24 24",
|
|
30
|
-
fill: "none",
|
|
31
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
-
className
|
|
33
|
-
}, other), {
|
|
34
|
-
children: /* @__PURE__ */ jsx(
|
|
35
|
-
"path",
|
|
36
|
-
{
|
|
37
|
-
d: "M18 17L13 12L18 7M11 17L6 12L11 7",
|
|
38
|
-
stroke: "currentColor",
|
|
39
|
-
strokeWidth: "2",
|
|
40
|
-
strokeLinecap: "round",
|
|
41
|
-
strokeLinejoin: "round"
|
|
42
|
-
}
|
|
43
|
-
)
|
|
44
|
-
})
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
// src/icons/chevronRightDouble.tsx
|
|
50
|
-
import { forwardRef as forwardRef2 } from "react";
|
|
51
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
52
|
-
var ChevronRightDoubleIcon = forwardRef2(
|
|
53
|
-
function ChevronRightDoubleIcon2(_a, ref) {
|
|
54
|
-
var _b = _a, { size = 24, className = "text-gray-1000" } = _b, other = __objRest(_b, ["size", "className"]);
|
|
55
|
-
return /* @__PURE__ */ jsx2(
|
|
56
|
-
"svg",
|
|
57
|
-
__spreadProps(__spreadValues({
|
|
58
|
-
ref,
|
|
59
|
-
width: size,
|
|
60
|
-
height: size,
|
|
61
|
-
viewBox: "0 0 24 24",
|
|
62
|
-
fill: "none",
|
|
63
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
64
|
-
className
|
|
65
|
-
}, other), {
|
|
66
|
-
children: /* @__PURE__ */ jsx2(
|
|
67
|
-
"path",
|
|
68
|
-
{
|
|
69
|
-
d: "M6 17L11 12L6 7M13 17L18 12L13 7",
|
|
70
|
-
stroke: "currentColor",
|
|
71
|
-
strokeWidth: "2",
|
|
72
|
-
strokeLinecap: "round",
|
|
73
|
-
strokeLinejoin: "round"
|
|
74
|
-
}
|
|
75
|
-
)
|
|
76
|
-
})
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
);
|
|
80
|
-
|
|
81
|
-
// src/components/Pagination/Pagination.tsx
|
|
82
|
-
import { jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
15
|
+
// src/components/Pagination/index.tsx
|
|
16
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
83
17
|
var PaginationPageChoice = /* @__PURE__ */ ((PaginationPageChoice2) => {
|
|
84
18
|
PaginationPageChoice2["FIRST"] = "FIRST";
|
|
85
19
|
PaginationPageChoice2["PREVIOUS"] = "PREVIOUS";
|
|
@@ -96,11 +30,11 @@ var Pagination = ({
|
|
|
96
30
|
className
|
|
97
31
|
}) => {
|
|
98
32
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center justify-between px-2", className), children: [
|
|
99
|
-
totalRowsCaption && /* @__PURE__ */
|
|
33
|
+
totalRowsCaption && /* @__PURE__ */ jsx("div", { className: "flex-1 text-sm text-gray-700", children: totalRowsCaption }),
|
|
100
34
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4", children: [
|
|
101
|
-
currentPageCation && /* @__PURE__ */
|
|
35
|
+
currentPageCation && /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center text-sm font-medium text-gray-1000", children: currentPageCation }),
|
|
102
36
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
103
|
-
/* @__PURE__ */
|
|
37
|
+
/* @__PURE__ */ jsx(
|
|
104
38
|
Button,
|
|
105
39
|
{
|
|
106
40
|
variant: "outline",
|
|
@@ -108,10 +42,10 @@ var Pagination = ({
|
|
|
108
42
|
size: "sm",
|
|
109
43
|
onClick: () => onPageChange("FIRST" /* FIRST */),
|
|
110
44
|
disabled: !previousPageAvailable,
|
|
111
|
-
children: /* @__PURE__ */
|
|
45
|
+
children: /* @__PURE__ */ jsx(ChevronLeftDoubleIcon, { size: "16" })
|
|
112
46
|
}
|
|
113
47
|
),
|
|
114
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ jsx(
|
|
115
49
|
Button,
|
|
116
50
|
{
|
|
117
51
|
variant: "outline",
|
|
@@ -119,10 +53,10 @@ var Pagination = ({
|
|
|
119
53
|
size: "sm",
|
|
120
54
|
onClick: () => onPageChange("PREVIOUS" /* PREVIOUS */),
|
|
121
55
|
disabled: !previousPageAvailable,
|
|
122
|
-
children: /* @__PURE__ */
|
|
56
|
+
children: /* @__PURE__ */ jsx(ChevronLeftIcon, { size: "16" })
|
|
123
57
|
}
|
|
124
58
|
),
|
|
125
|
-
/* @__PURE__ */
|
|
59
|
+
/* @__PURE__ */ jsx(
|
|
126
60
|
Button,
|
|
127
61
|
{
|
|
128
62
|
variant: "outline",
|
|
@@ -130,10 +64,10 @@ var Pagination = ({
|
|
|
130
64
|
size: "sm",
|
|
131
65
|
onClick: () => onPageChange("NEXT" /* NEXT */),
|
|
132
66
|
disabled: !nextPageAvailable,
|
|
133
|
-
children: /* @__PURE__ */
|
|
67
|
+
children: /* @__PURE__ */ jsx(ChevronRightIcon, { size: "16" })
|
|
134
68
|
}
|
|
135
69
|
),
|
|
136
|
-
/* @__PURE__ */
|
|
70
|
+
/* @__PURE__ */ jsx(
|
|
137
71
|
Button,
|
|
138
72
|
{
|
|
139
73
|
variant: "outline",
|
|
@@ -141,7 +75,7 @@ var Pagination = ({
|
|
|
141
75
|
size: "sm",
|
|
142
76
|
onClick: () => onPageChange("LAST" /* LAST */),
|
|
143
77
|
disabled: !nextPageAvailable,
|
|
144
|
-
children: /* @__PURE__ */
|
|
78
|
+
children: /* @__PURE__ */ jsx(ChevronRightDoubleIcon, { size: "16" })
|
|
145
79
|
}
|
|
146
80
|
)
|
|
147
81
|
] })
|
|
@@ -53,7 +53,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
53
53
|
));
|
|
54
54
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
55
55
|
|
|
56
|
-
// src/components/Popover/index.
|
|
56
|
+
// src/components/Popover/index.tsx
|
|
57
57
|
var Popover_exports = {};
|
|
58
58
|
__export(Popover_exports, {
|
|
59
59
|
Popover: () => Popover,
|
|
@@ -61,8 +61,6 @@ __export(Popover_exports, {
|
|
|
61
61
|
PopoverTrigger: () => PopoverTrigger
|
|
62
62
|
});
|
|
63
63
|
module.exports = __toCommonJS(Popover_exports);
|
|
64
|
-
|
|
65
|
-
// src/components/Popover/Popover.tsx
|
|
66
64
|
var React = __toESM(require("react"));
|
|
67
65
|
var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
|
|
68
66
|
|
|
@@ -73,7 +71,7 @@ function cn(...inputs) {
|
|
|
73
71
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
74
72
|
}
|
|
75
73
|
|
|
76
|
-
// src/components/Popover/
|
|
74
|
+
// src/components/Popover/index.tsx
|
|
77
75
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
78
76
|
var Popover = PopoverPrimitive.Root;
|
|
79
77
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
cn
|
|
5
5
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
6
6
|
|
|
7
|
-
// src/components/Popover/
|
|
7
|
+
// src/components/Popover/index.tsx
|
|
8
8
|
import * as React from "react";
|
|
9
9
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
"use client";
|
|
2
3
|
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __defProps = Object.defineProperties;
|
|
@@ -56,15 +57,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
56
57
|
));
|
|
57
58
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
59
|
|
|
59
|
-
// src/components/RadioGroup/index.
|
|
60
|
+
// src/components/RadioGroup/index.tsx
|
|
60
61
|
var RadioGroup_exports = {};
|
|
61
62
|
__export(RadioGroup_exports, {
|
|
62
63
|
RadioGroup: () => RadioGroup,
|
|
63
64
|
RadioGroupItem: () => RadioGroupItem
|
|
64
65
|
});
|
|
65
66
|
module.exports = __toCommonJS(RadioGroup_exports);
|
|
66
|
-
|
|
67
|
-
// src/components/RadioGroup/RadioGroup.tsx
|
|
68
67
|
var React = __toESM(require("react"));
|
|
69
68
|
var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"));
|
|
70
69
|
|
|
@@ -75,7 +74,7 @@ function cn(...inputs) {
|
|
|
75
74
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
76
75
|
}
|
|
77
76
|
|
|
78
|
-
// src/components/RadioGroup/
|
|
77
|
+
// src/components/RadioGroup/index.tsx
|
|
79
78
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
80
79
|
var RadioGroup = React.forwardRef((_a, ref) => {
|
|
81
80
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import {
|
|
2
3
|
__objRest,
|
|
3
4
|
__spreadProps,
|
|
@@ -5,7 +6,7 @@ import {
|
|
|
5
6
|
cn
|
|
6
7
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
7
8
|
|
|
8
|
-
// src/components/RadioGroup/
|
|
9
|
+
// src/components/RadioGroup/index.tsx
|
|
9
10
|
import * as React from "react";
|
|
10
11
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
11
12
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -56,7 +56,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
56
56
|
));
|
|
57
57
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
58
|
|
|
59
|
-
// src/components/Select/index.
|
|
59
|
+
// src/components/Select/index.tsx
|
|
60
60
|
var Select_exports = {};
|
|
61
61
|
__export(Select_exports, {
|
|
62
62
|
Select: () => Select,
|
|
@@ -69,8 +69,6 @@ __export(Select_exports, {
|
|
|
69
69
|
SelectValue: () => SelectValue
|
|
70
70
|
});
|
|
71
71
|
module.exports = __toCommonJS(Select_exports);
|
|
72
|
-
|
|
73
|
-
// src/components/Select/Select.tsx
|
|
74
72
|
var React = __toESM(require("react"));
|
|
75
73
|
var SelectPrimitive = __toESM(require("@radix-ui/react-select"));
|
|
76
74
|
|
|
@@ -113,7 +111,7 @@ function cn(...inputs) {
|
|
|
113
111
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
114
112
|
}
|
|
115
113
|
|
|
116
|
-
// src/components/Select/
|
|
114
|
+
// src/components/Select/index.tsx
|
|
117
115
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
118
116
|
var Select = SelectPrimitive.Root;
|
|
119
117
|
var SelectGroup = SelectPrimitive.Group;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ChevronSelectorVerticalIcon
|
|
3
|
+
} from "../../chunk-FCKIVF33.mjs";
|
|
4
|
+
import "../../chunk-ZUDNZTUE.mjs";
|
|
1
5
|
import {
|
|
2
6
|
__objRest,
|
|
3
7
|
__spreadProps,
|
|
@@ -5,44 +9,10 @@ import {
|
|
|
5
9
|
cn
|
|
6
10
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
7
11
|
|
|
8
|
-
// src/components/Select/
|
|
12
|
+
// src/components/Select/index.tsx
|
|
9
13
|
import * as React from "react";
|
|
10
14
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
11
|
-
|
|
12
|
-
// src/icons/chevronSelectorVertical.tsx
|
|
13
|
-
import { forwardRef } from "react";
|
|
14
|
-
import { jsx } from "react/jsx-runtime";
|
|
15
|
-
var ChevronSelectorVerticalIcon = forwardRef(
|
|
16
|
-
function ChevronSelectorVerticalIcon2(_a, ref) {
|
|
17
|
-
var _b = _a, { size = 24, className = "text-gray-1000" } = _b, other = __objRest(_b, ["size", "className"]);
|
|
18
|
-
return /* @__PURE__ */ jsx(
|
|
19
|
-
"svg",
|
|
20
|
-
__spreadProps(__spreadValues({
|
|
21
|
-
ref,
|
|
22
|
-
width: size,
|
|
23
|
-
height: size,
|
|
24
|
-
viewBox: "0 0 24 24",
|
|
25
|
-
fill: "none",
|
|
26
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
-
className
|
|
28
|
-
}, other), {
|
|
29
|
-
children: /* @__PURE__ */ jsx(
|
|
30
|
-
"path",
|
|
31
|
-
{
|
|
32
|
-
d: "M7 15L12 20L17 15M7 9L12 4L17 9",
|
|
33
|
-
stroke: "currentColor",
|
|
34
|
-
strokeWidth: "2",
|
|
35
|
-
strokeLinecap: "round",
|
|
36
|
-
strokeLinejoin: "round"
|
|
37
|
-
}
|
|
38
|
-
)
|
|
39
|
-
})
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
|
|
44
|
-
// src/components/Select/Select.tsx
|
|
45
|
-
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
15
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
46
16
|
var Select = SelectPrimitive.Root;
|
|
47
17
|
var SelectGroup = SelectPrimitive.Group;
|
|
48
18
|
var SelectValue = SelectPrimitive.Value;
|
|
@@ -66,7 +36,7 @@ var SelectTrigger = React.forwardRef((_a, ref) => {
|
|
|
66
36
|
}, props), {
|
|
67
37
|
children: [
|
|
68
38
|
children,
|
|
69
|
-
/* @__PURE__ */
|
|
39
|
+
/* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(ChevronSelectorVerticalIcon, { size: "16", className: "w-4 h-4 opacity-50" }) })
|
|
70
40
|
]
|
|
71
41
|
})
|
|
72
42
|
);
|
|
@@ -74,7 +44,7 @@ var SelectTrigger = React.forwardRef((_a, ref) => {
|
|
|
74
44
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
75
45
|
var SelectContent = React.forwardRef((_a, ref) => {
|
|
76
46
|
var _b = _a, { className, children, position = "popper" } = _b, props = __objRest(_b, ["className", "children", "position"]);
|
|
77
|
-
return /* @__PURE__ */
|
|
47
|
+
return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
78
48
|
SelectPrimitive.Content,
|
|
79
49
|
__spreadProps(__spreadValues({
|
|
80
50
|
ref,
|
|
@@ -85,7 +55,7 @@ var SelectContent = React.forwardRef((_a, ref) => {
|
|
|
85
55
|
),
|
|
86
56
|
position
|
|
87
57
|
}, props), {
|
|
88
|
-
children: /* @__PURE__ */
|
|
58
|
+
children: /* @__PURE__ */ jsx(
|
|
89
59
|
SelectPrimitive.Viewport,
|
|
90
60
|
{
|
|
91
61
|
className: cn(
|
|
@@ -101,7 +71,7 @@ var SelectContent = React.forwardRef((_a, ref) => {
|
|
|
101
71
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
102
72
|
var SelectLabel = React.forwardRef((_a, ref) => {
|
|
103
73
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
104
|
-
return /* @__PURE__ */
|
|
74
|
+
return /* @__PURE__ */ jsx(
|
|
105
75
|
SelectPrimitive.Label,
|
|
106
76
|
__spreadValues({
|
|
107
77
|
ref,
|
|
@@ -112,7 +82,7 @@ var SelectLabel = React.forwardRef((_a, ref) => {
|
|
|
112
82
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
113
83
|
var SelectItem = React.forwardRef((_a, ref) => {
|
|
114
84
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
115
|
-
return /* @__PURE__ */
|
|
85
|
+
return /* @__PURE__ */ jsx(
|
|
116
86
|
SelectPrimitive.Item,
|
|
117
87
|
__spreadProps(__spreadValues({
|
|
118
88
|
ref,
|
|
@@ -121,14 +91,14 @@ var SelectItem = React.forwardRef((_a, ref) => {
|
|
|
121
91
|
className
|
|
122
92
|
)
|
|
123
93
|
}, props), {
|
|
124
|
-
children: /* @__PURE__ */
|
|
94
|
+
children: /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children })
|
|
125
95
|
})
|
|
126
96
|
);
|
|
127
97
|
});
|
|
128
98
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
129
99
|
var SelectSeparator = React.forwardRef((_a, ref) => {
|
|
130
100
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
131
|
-
return /* @__PURE__ */
|
|
101
|
+
return /* @__PURE__ */ jsx(
|
|
132
102
|
SelectPrimitive.Separator,
|
|
133
103
|
__spreadValues({
|
|
134
104
|
ref,
|
|
@@ -56,7 +56,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
56
56
|
));
|
|
57
57
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
58
|
|
|
59
|
-
// src/components/Sheet/index.
|
|
59
|
+
// src/components/Sheet/index.tsx
|
|
60
60
|
var Sheet_exports = {};
|
|
61
61
|
__export(Sheet_exports, {
|
|
62
62
|
Sheet: () => Sheet,
|
|
@@ -68,8 +68,6 @@ __export(Sheet_exports, {
|
|
|
68
68
|
SheetTrigger: () => SheetTrigger
|
|
69
69
|
});
|
|
70
70
|
module.exports = __toCommonJS(Sheet_exports);
|
|
71
|
-
|
|
72
|
-
// src/components/Sheet/Sheet.tsx
|
|
73
71
|
var React2 = __toESM(require("react"));
|
|
74
72
|
var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
|
|
75
73
|
var import_class_variance_authority2 = require("class-variance-authority");
|
|
@@ -152,7 +150,7 @@ function cn(...inputs) {
|
|
|
152
150
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
153
151
|
}
|
|
154
152
|
|
|
155
|
-
// src/components/Button/
|
|
153
|
+
// src/components/Button/index.tsx
|
|
156
154
|
var React = __toESM(require("react"));
|
|
157
155
|
var import_react_slot = require("@radix-ui/react-slot");
|
|
158
156
|
var import_class_variance_authority = require("class-variance-authority");
|
|
@@ -262,7 +260,7 @@ var Button = React.forwardRef(
|
|
|
262
260
|
);
|
|
263
261
|
Button.displayName = "Button";
|
|
264
262
|
|
|
265
|
-
// src/components/Sheet/
|
|
263
|
+
// src/components/Sheet/index.tsx
|
|
266
264
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
267
265
|
var Sheet = SheetPrimitive.Root;
|
|
268
266
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
XCloseIcon
|
|
3
|
-
} from "../../chunk-ZT2KTEGZ.mjs";
|
|
4
1
|
import {
|
|
5
2
|
Button
|
|
6
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-APPCA7PA.mjs";
|
|
4
|
+
import {
|
|
5
|
+
XCloseIcon
|
|
6
|
+
} from "../../chunk-FCKIVF33.mjs";
|
|
7
|
+
import "../../chunk-ZUDNZTUE.mjs";
|
|
7
8
|
import {
|
|
8
9
|
__objRest,
|
|
9
10
|
__spreadProps,
|
|
@@ -11,7 +12,7 @@ import {
|
|
|
11
12
|
cn
|
|
12
13
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
13
14
|
|
|
14
|
-
// src/components/Sheet/
|
|
15
|
+
// src/components/Sheet/index.tsx
|
|
15
16
|
import * as React from "react";
|
|
16
17
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
17
18
|
import { cva } from "class-variance-authority";
|
|
@@ -43,7 +43,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
43
43
|
};
|
|
44
44
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
45
45
|
|
|
46
|
-
// src/components/Skeleton/index.
|
|
46
|
+
// src/components/Skeleton/index.tsx
|
|
47
47
|
var Skeleton_exports = {};
|
|
48
48
|
__export(Skeleton_exports, {
|
|
49
49
|
Skeleton: () => Skeleton
|
|
@@ -57,7 +57,7 @@ function cn(...inputs) {
|
|
|
57
57
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
// src/components/Skeleton/
|
|
60
|
+
// src/components/Skeleton/index.tsx
|
|
61
61
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
62
62
|
function Skeleton(_a) {
|
|
63
63
|
var _b = _a, {
|
|
@@ -56,14 +56,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
56
56
|
));
|
|
57
57
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
58
|
|
|
59
|
-
// src/components/Switch/index.
|
|
59
|
+
// src/components/Switch/index.tsx
|
|
60
60
|
var Switch_exports = {};
|
|
61
61
|
__export(Switch_exports, {
|
|
62
62
|
Switch: () => Switch
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(Switch_exports);
|
|
65
|
-
|
|
66
|
-
// src/components/Switch/Switch.tsx
|
|
67
65
|
var React = __toESM(require("react"));
|
|
68
66
|
var SwitchPrimitive = __toESM(require("@radix-ui/react-switch"));
|
|
69
67
|
|
|
@@ -74,7 +72,7 @@ function cn(...inputs) {
|
|
|
74
72
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
75
73
|
}
|
|
76
74
|
|
|
77
|
-
// src/components/Switch/
|
|
75
|
+
// src/components/Switch/index.tsx
|
|
78
76
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
79
77
|
var Switch = React.forwardRef((_a, ref) => {
|
|
80
78
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
cn
|
|
6
6
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
7
7
|
|
|
8
|
-
// src/components/Switch/
|
|
8
|
+
// src/components/Switch/index.tsx
|
|
9
9
|
import * as React from "react";
|
|
10
10
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
11
11
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -56,7 +56,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
56
56
|
));
|
|
57
57
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
58
|
|
|
59
|
-
// src/components/Table/index.
|
|
59
|
+
// src/components/Table/index.tsx
|
|
60
60
|
var Table_exports = {};
|
|
61
61
|
__export(Table_exports, {
|
|
62
62
|
Table: () => Table,
|
|
@@ -68,8 +68,6 @@ __export(Table_exports, {
|
|
|
68
68
|
TableRow: () => TableRow
|
|
69
69
|
});
|
|
70
70
|
module.exports = __toCommonJS(Table_exports);
|
|
71
|
-
|
|
72
|
-
// src/components/Table/Table.tsx
|
|
73
71
|
var React = __toESM(require("react"));
|
|
74
72
|
|
|
75
73
|
// src/utils/cn.ts
|
|
@@ -79,7 +77,7 @@ function cn(...inputs) {
|
|
|
79
77
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
80
78
|
}
|
|
81
79
|
|
|
82
|
-
// src/components/Table/
|
|
80
|
+
// src/components/Table/index.tsx
|
|
83
81
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
84
82
|
var Table = React.forwardRef((_a, ref) => {
|
|
85
83
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
@@ -53,7 +53,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
53
53
|
));
|
|
54
54
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
55
55
|
|
|
56
|
-
// src/components/Tabs/index.
|
|
56
|
+
// src/components/Tabs/index.tsx
|
|
57
57
|
var Tabs_exports = {};
|
|
58
58
|
__export(Tabs_exports, {
|
|
59
59
|
Tabs: () => Tabs,
|
|
@@ -62,8 +62,6 @@ __export(Tabs_exports, {
|
|
|
62
62
|
TabsTrigger: () => TabsTrigger
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(Tabs_exports);
|
|
65
|
-
|
|
66
|
-
// src/components/Tabs/Tabs.tsx
|
|
67
65
|
var React = __toESM(require("react"));
|
|
68
66
|
var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
|
|
69
67
|
|
|
@@ -74,7 +72,7 @@ function cn(...inputs) {
|
|
|
74
72
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
75
73
|
}
|
|
76
74
|
|
|
77
|
-
// src/components/Tabs/
|
|
75
|
+
// src/components/Tabs/index.tsx
|
|
78
76
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
79
77
|
var Tabs = TabsPrimitive.Root;
|
|
80
78
|
var TabsList = React.forwardRef((_a, ref) => {
|
|
@@ -56,14 +56,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
56
56
|
));
|
|
57
57
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
58
|
|
|
59
|
-
// src/components/Textarea/index.
|
|
59
|
+
// src/components/Textarea/index.tsx
|
|
60
60
|
var Textarea_exports = {};
|
|
61
61
|
__export(Textarea_exports, {
|
|
62
62
|
Textarea: () => Textarea
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(Textarea_exports);
|
|
65
|
-
|
|
66
|
-
// src/components/Textarea/Textarea.tsx
|
|
67
65
|
var React = __toESM(require("react"));
|
|
68
66
|
|
|
69
67
|
// src/utils/cn.ts
|
|
@@ -73,7 +71,7 @@ function cn(...inputs) {
|
|
|
73
71
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
74
72
|
}
|
|
75
73
|
|
|
76
|
-
// src/components/Textarea/
|
|
74
|
+
// src/components/Textarea/index.tsx
|
|
77
75
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
78
76
|
var Textarea = React.forwardRef(
|
|
79
77
|
(_a, ref) => {
|
|
@@ -56,7 +56,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
56
56
|
));
|
|
57
57
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
58
|
|
|
59
|
-
// src/components/Toaster/index.
|
|
59
|
+
// src/components/Toaster/index.tsx
|
|
60
60
|
var Toaster_exports = {};
|
|
61
61
|
__export(Toaster_exports, {
|
|
62
62
|
RawToast: () => RawToast,
|
|
@@ -157,7 +157,7 @@ function cn(...inputs) {
|
|
|
157
157
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
// src/components/Button/
|
|
160
|
+
// src/components/Button/index.tsx
|
|
161
161
|
var React = __toESM(require("react"));
|
|
162
162
|
var import_react_slot = require("@radix-ui/react-slot");
|
|
163
163
|
var import_class_variance_authority = require("class-variance-authority");
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
XCloseIcon
|
|
3
|
-
} from "../../chunk-ZT2KTEGZ.mjs";
|
|
4
1
|
import {
|
|
5
2
|
Button
|
|
6
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-APPCA7PA.mjs";
|
|
4
|
+
import {
|
|
5
|
+
XCloseIcon
|
|
6
|
+
} from "../../chunk-FCKIVF33.mjs";
|
|
7
|
+
import "../../chunk-ZUDNZTUE.mjs";
|
|
7
8
|
import {
|
|
8
9
|
__objRest,
|
|
9
10
|
__spreadProps,
|