@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,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ChevronDownIcon
|
|
3
|
+
} from "../../chunk-ZUDNZTUE.mjs";
|
|
1
4
|
import {
|
|
2
5
|
__objRest,
|
|
3
6
|
__spreadProps,
|
|
@@ -5,49 +8,15 @@ import {
|
|
|
5
8
|
cn
|
|
6
9
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
7
10
|
|
|
8
|
-
// src/components/Accordion/
|
|
11
|
+
// src/components/Accordion/index.tsx
|
|
9
12
|
import React from "react";
|
|
10
13
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
11
|
-
|
|
12
|
-
// src/icons/chevronDown.tsx
|
|
13
|
-
import { forwardRef } from "react";
|
|
14
|
-
import { jsx } from "react/jsx-runtime";
|
|
15
|
-
var ChevronDownIcon = forwardRef(
|
|
16
|
-
function ChevronDownIcon2(_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: "M6 9L12 15L18 9",
|
|
33
|
-
stroke: "currentColor",
|
|
34
|
-
strokeWidth: "2",
|
|
35
|
-
strokeLinecap: "round",
|
|
36
|
-
strokeLinejoin: "round"
|
|
37
|
-
}
|
|
38
|
-
)
|
|
39
|
-
})
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
|
|
44
|
-
// src/components/Accordion/Accordion.tsx
|
|
45
|
-
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
14
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
46
15
|
var AccordionItem = AccordionPrimitive.Item;
|
|
47
16
|
var Accordion = AccordionPrimitive.Root;
|
|
48
17
|
var AccordionTrigger2 = React.forwardRef((_a, forwardedRef) => {
|
|
49
18
|
var _b = _a, { children, className, icon } = _b, props = __objRest(_b, ["children", "className", "icon"]);
|
|
50
|
-
return /* @__PURE__ */
|
|
19
|
+
return /* @__PURE__ */ jsx(AccordionPrimitive.Header, { children: /* @__PURE__ */ jsxs(
|
|
51
20
|
AccordionPrimitive.Trigger,
|
|
52
21
|
__spreadProps(__spreadValues({
|
|
53
22
|
className: cn(
|
|
@@ -61,8 +30,8 @@ var AccordionTrigger2 = React.forwardRef((_a, forwardedRef) => {
|
|
|
61
30
|
size: 18,
|
|
62
31
|
className: cn("flex-shrink-0 mr-2.5", icon.props.className)
|
|
63
32
|
}),
|
|
64
|
-
/* @__PURE__ */
|
|
65
|
-
/* @__PURE__ */
|
|
33
|
+
/* @__PURE__ */ jsx("span", { className: "text-left truncate grow", children }),
|
|
34
|
+
/* @__PURE__ */ jsx(
|
|
66
35
|
ChevronDownIcon,
|
|
67
36
|
{
|
|
68
37
|
size: 16,
|
|
@@ -77,7 +46,7 @@ var AccordionTrigger2 = React.forwardRef((_a, forwardedRef) => {
|
|
|
77
46
|
AccordionTrigger2.displayName = AccordionPrimitive.AccordionTrigger.displayName;
|
|
78
47
|
var AccordionContent = React.forwardRef((_a, forwardedRef) => {
|
|
79
48
|
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
|
80
|
-
return /* @__PURE__ */
|
|
49
|
+
return /* @__PURE__ */ jsx(
|
|
81
50
|
AccordionPrimitive.Content,
|
|
82
51
|
__spreadProps(__spreadValues({
|
|
83
52
|
className: cn(
|
|
@@ -86,7 +55,7 @@ var AccordionContent = React.forwardRef((_a, forwardedRef) => {
|
|
|
86
55
|
)
|
|
87
56
|
}, props), {
|
|
88
57
|
ref: forwardedRef,
|
|
89
|
-
children: /* @__PURE__ */
|
|
58
|
+
children: /* @__PURE__ */ jsx("div", { className: "pb-2", children })
|
|
90
59
|
})
|
|
91
60
|
);
|
|
92
61
|
});
|
|
@@ -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/AlertDialog/index.
|
|
59
|
+
// src/components/AlertDialog/index.tsx
|
|
60
60
|
var AlertDialog_exports = {};
|
|
61
61
|
__export(AlertDialog_exports, {
|
|
62
62
|
AlertDialog: () => AlertDialog,
|
|
@@ -70,8 +70,6 @@ __export(AlertDialog_exports, {
|
|
|
70
70
|
AlertDialogTrigger: () => AlertDialogTrigger
|
|
71
71
|
});
|
|
72
72
|
module.exports = __toCommonJS(AlertDialog_exports);
|
|
73
|
-
|
|
74
|
-
// src/components/AlertDialog/AlertDialog.tsx
|
|
75
73
|
var React2 = __toESM(require("react"));
|
|
76
74
|
var AlertDialogPrimitive = __toESM(require("@radix-ui/react-alert-dialog"));
|
|
77
75
|
|
|
@@ -82,7 +80,7 @@ function cn(...inputs) {
|
|
|
82
80
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
83
81
|
}
|
|
84
82
|
|
|
85
|
-
// src/components/Button/
|
|
83
|
+
// src/components/Button/index.tsx
|
|
86
84
|
var React = __toESM(require("react"));
|
|
87
85
|
var import_react_slot = require("@radix-ui/react-slot");
|
|
88
86
|
var import_class_variance_authority = require("class-variance-authority");
|
|
@@ -126,7 +124,7 @@ var SpinnerIcon = (0, import_react.forwardRef)(
|
|
|
126
124
|
}
|
|
127
125
|
);
|
|
128
126
|
|
|
129
|
-
// src/components/Button/
|
|
127
|
+
// src/components/Button/index.tsx
|
|
130
128
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
131
129
|
var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
132
130
|
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium ring-offset-background transition-colors relative focus-visible:outline-none focus-visible:ring-2 disabled:select-none disabled:pointer-events-none disabled:opacity-40",
|
|
@@ -233,7 +231,7 @@ var Button = React.forwardRef(
|
|
|
233
231
|
);
|
|
234
232
|
Button.displayName = "Button";
|
|
235
233
|
|
|
236
|
-
// src/components/AlertDialog/
|
|
234
|
+
// src/components/AlertDialog/index.tsx
|
|
237
235
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
238
236
|
var AlertDialog = AlertDialogPrimitive.Root;
|
|
239
237
|
var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buttonSizes,
|
|
3
3
|
buttonVariants
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-APPCA7PA.mjs";
|
|
5
|
+
import "../../chunk-FCKIVF33.mjs";
|
|
6
|
+
import "../../chunk-ZUDNZTUE.mjs";
|
|
5
7
|
import {
|
|
6
8
|
__objRest,
|
|
7
9
|
__spreadProps,
|
|
@@ -9,7 +11,7 @@ import {
|
|
|
9
11
|
cn
|
|
10
12
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
11
13
|
|
|
12
|
-
// src/components/AlertDialog/
|
|
14
|
+
// src/components/AlertDialog/index.tsx
|
|
13
15
|
import * as React from "react";
|
|
14
16
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
15
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -46,14 +46,15 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
46
46
|
};
|
|
47
47
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
48
48
|
|
|
49
|
-
// src/components/Avatar/index.
|
|
49
|
+
// src/components/Avatar/index.tsx
|
|
50
50
|
var Avatar_exports = {};
|
|
51
51
|
__export(Avatar_exports, {
|
|
52
|
-
Avatar: () => Avatar
|
|
52
|
+
Avatar: () => Avatar,
|
|
53
|
+
avatarColors: () => avatarColors,
|
|
54
|
+
avatarSizes: () => avatarSizes,
|
|
55
|
+
avatarVariants: () => avatarVariants
|
|
53
56
|
});
|
|
54
57
|
module.exports = __toCommonJS(Avatar_exports);
|
|
55
|
-
|
|
56
|
-
// src/components/Avatar/Avatar.tsx
|
|
57
58
|
var import_react = require("react");
|
|
58
59
|
var import_class_variance_authority = require("class-variance-authority");
|
|
59
60
|
|
|
@@ -64,7 +65,7 @@ function cn(...inputs) {
|
|
|
64
65
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
65
66
|
}
|
|
66
67
|
|
|
67
|
-
// src/components/Avatar/
|
|
68
|
+
// src/components/Avatar/index.tsx
|
|
68
69
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
69
70
|
var avatarSizes = (0, import_class_variance_authority.cva)("", {
|
|
70
71
|
variants: {
|
|
@@ -150,5 +151,8 @@ var Avatar = (0, import_react.forwardRef)(function Avatar2(_a, forwardedRef) {
|
|
|
150
151
|
});
|
|
151
152
|
// Annotate the CommonJS export names for ESM import in node:
|
|
152
153
|
0 && (module.exports = {
|
|
153
|
-
Avatar
|
|
154
|
+
Avatar,
|
|
155
|
+
avatarColors,
|
|
156
|
+
avatarSizes,
|
|
157
|
+
avatarVariants
|
|
154
158
|
});
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
cn
|
|
6
6
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
7
7
|
|
|
8
|
-
// src/components/Avatar/
|
|
8
|
+
// src/components/Avatar/index.tsx
|
|
9
9
|
import { forwardRef } from "react";
|
|
10
10
|
import { cva } from "class-variance-authority";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -92,5 +92,8 @@ var Avatar = forwardRef(function Avatar2(_a, forwardedRef) {
|
|
|
92
92
|
);
|
|
93
93
|
});
|
|
94
94
|
export {
|
|
95
|
-
Avatar
|
|
95
|
+
Avatar,
|
|
96
|
+
avatarColors,
|
|
97
|
+
avatarSizes,
|
|
98
|
+
avatarVariants
|
|
96
99
|
};
|
|
@@ -53,14 +53,12 @@ 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/Badge/index.
|
|
56
|
+
// src/components/Badge/index.tsx
|
|
57
57
|
var Badge_exports = {};
|
|
58
58
|
__export(Badge_exports, {
|
|
59
59
|
Badge: () => Badge
|
|
60
60
|
});
|
|
61
61
|
module.exports = __toCommonJS(Badge_exports);
|
|
62
|
-
|
|
63
|
-
// src/components/Badge/Badge.tsx
|
|
64
62
|
var import_class_variance_authority = require("class-variance-authority");
|
|
65
63
|
|
|
66
64
|
// src/utils/cn.ts
|
|
@@ -95,7 +93,7 @@ var randomPickFromArray = ({
|
|
|
95
93
|
return array[arrayIndex];
|
|
96
94
|
};
|
|
97
95
|
|
|
98
|
-
// src/components/Badge/
|
|
96
|
+
// src/components/Badge/index.tsx
|
|
99
97
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
100
98
|
var colors = {
|
|
101
99
|
gray: "text-gray-900",
|
|
@@ -56,17 +56,16 @@ 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/Button/index.
|
|
59
|
+
// src/components/Button/index.tsx
|
|
60
60
|
var Button_exports = {};
|
|
61
61
|
__export(Button_exports, {
|
|
62
62
|
Button: () => Button,
|
|
63
63
|
buttonSizes: () => buttonSizes,
|
|
64
64
|
buttonVariants: () => buttonVariants,
|
|
65
|
-
iconButtonSizes: () => iconButtonSizes
|
|
65
|
+
iconButtonSizes: () => iconButtonSizes,
|
|
66
|
+
iconSizes: () => iconSizes
|
|
66
67
|
});
|
|
67
68
|
module.exports = __toCommonJS(Button_exports);
|
|
68
|
-
|
|
69
|
-
// src/components/Button/Button.tsx
|
|
70
69
|
var React = __toESM(require("react"));
|
|
71
70
|
var import_react_slot = require("@radix-ui/react-slot");
|
|
72
71
|
var import_class_variance_authority = require("class-variance-authority");
|
|
@@ -117,7 +116,7 @@ function cn(...inputs) {
|
|
|
117
116
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
118
117
|
}
|
|
119
118
|
|
|
120
|
-
// src/components/Button/
|
|
119
|
+
// src/components/Button/index.tsx
|
|
121
120
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
122
121
|
var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
123
122
|
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium ring-offset-background transition-colors relative focus-visible:outline-none focus-visible:ring-2 disabled:select-none disabled:pointer-events-none disabled:opacity-40",
|
|
@@ -228,5 +227,6 @@ Button.displayName = "Button";
|
|
|
228
227
|
Button,
|
|
229
228
|
buttonSizes,
|
|
230
229
|
buttonVariants,
|
|
231
|
-
iconButtonSizes
|
|
230
|
+
iconButtonSizes,
|
|
231
|
+
iconSizes
|
|
232
232
|
});
|
|
@@ -2,12 +2,16 @@ import {
|
|
|
2
2
|
Button,
|
|
3
3
|
buttonSizes,
|
|
4
4
|
buttonVariants,
|
|
5
|
-
iconButtonSizes
|
|
6
|
-
|
|
5
|
+
iconButtonSizes,
|
|
6
|
+
iconSizes
|
|
7
|
+
} from "../../chunk-APPCA7PA.mjs";
|
|
8
|
+
import "../../chunk-FCKIVF33.mjs";
|
|
9
|
+
import "../../chunk-ZUDNZTUE.mjs";
|
|
7
10
|
import "../../chunk-JKJ6VK4H.mjs";
|
|
8
11
|
export {
|
|
9
12
|
Button,
|
|
10
13
|
buttonSizes,
|
|
11
14
|
buttonVariants,
|
|
12
|
-
iconButtonSizes
|
|
15
|
+
iconButtonSizes,
|
|
16
|
+
iconSizes
|
|
13
17
|
};
|
|
@@ -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/Calendar/index.
|
|
59
|
+
// src/components/Calendar/index.tsx
|
|
60
60
|
var Calendar_exports = {};
|
|
61
61
|
__export(Calendar_exports, {
|
|
62
62
|
Calendar: () => Calendar
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(Calendar_exports);
|
|
65
|
-
|
|
66
|
-
// src/components/Calendar/Calendar.tsx
|
|
67
65
|
var import_react_day_picker = require("react-day-picker");
|
|
68
66
|
|
|
69
67
|
// src/icons/chevronLeft.tsx
|
|
@@ -176,7 +174,7 @@ function cn(...inputs) {
|
|
|
176
174
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
177
175
|
}
|
|
178
176
|
|
|
179
|
-
// src/components/Button/
|
|
177
|
+
// src/components/Button/index.tsx
|
|
180
178
|
var React = __toESM(require("react"));
|
|
181
179
|
var import_react_slot = require("@radix-ui/react-slot");
|
|
182
180
|
var import_class_variance_authority = require("class-variance-authority");
|
|
@@ -286,7 +284,7 @@ var Button = React.forwardRef(
|
|
|
286
284
|
);
|
|
287
285
|
Button.displayName = "Button";
|
|
288
286
|
|
|
289
|
-
// src/components/Calendar/
|
|
287
|
+
// src/components/Calendar/index.tsx
|
|
290
288
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
291
289
|
function Calendar(_a) {
|
|
292
290
|
var _b = _a, {
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChevronLeftIcon
|
|
3
|
-
} from "../../chunk-PPFZHO26.mjs";
|
|
4
|
-
import {
|
|
5
|
-
ChevronRightIcon
|
|
6
|
-
} from "../../chunk-NOFOM2SJ.mjs";
|
|
7
1
|
import {
|
|
8
2
|
buttonVariants,
|
|
9
3
|
iconButtonSizes
|
|
10
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-APPCA7PA.mjs";
|
|
5
|
+
import {
|
|
6
|
+
ChevronLeftIcon,
|
|
7
|
+
ChevronRightIcon
|
|
8
|
+
} from "../../chunk-FCKIVF33.mjs";
|
|
9
|
+
import "../../chunk-ZUDNZTUE.mjs";
|
|
11
10
|
import {
|
|
12
11
|
__objRest,
|
|
13
12
|
__spreadValues,
|
|
14
13
|
cn
|
|
15
14
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
16
15
|
|
|
17
|
-
// src/components/Calendar/
|
|
16
|
+
// src/components/Calendar/index.tsx
|
|
18
17
|
import { DayPicker } from "react-day-picker";
|
|
19
18
|
import { jsx } from "react/jsx-runtime";
|
|
20
19
|
function Calendar(_a) {
|
|
@@ -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/Carousel/index.
|
|
59
|
+
// src/components/Carousel/index.tsx
|
|
60
60
|
var Carousel_exports = {};
|
|
61
61
|
__export(Carousel_exports, {
|
|
62
62
|
Carousel: () => Carousel,
|
|
@@ -66,8 +66,6 @@ __export(Carousel_exports, {
|
|
|
66
66
|
CarouselPrevious: () => CarouselPrevious
|
|
67
67
|
});
|
|
68
68
|
module.exports = __toCommonJS(Carousel_exports);
|
|
69
|
-
|
|
70
|
-
// src/components/Carousel/Carousel.tsx
|
|
71
69
|
var React2 = __toESM(require("react"));
|
|
72
70
|
var import_embla_carousel_react = __toESM(require("embla-carousel-react"));
|
|
73
71
|
|
|
@@ -245,7 +243,7 @@ function cn(...inputs) {
|
|
|
245
243
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
246
244
|
}
|
|
247
245
|
|
|
248
|
-
// src/components/Button/
|
|
246
|
+
// src/components/Button/index.tsx
|
|
249
247
|
var React = __toESM(require("react"));
|
|
250
248
|
var import_react_slot = require("@radix-ui/react-slot");
|
|
251
249
|
var import_class_variance_authority = require("class-variance-authority");
|
|
@@ -355,7 +353,7 @@ var Button = React.forwardRef(
|
|
|
355
353
|
);
|
|
356
354
|
Button.displayName = "Button";
|
|
357
355
|
|
|
358
|
-
// src/components/Carousel/
|
|
356
|
+
// src/components/Carousel/index.tsx
|
|
359
357
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
360
358
|
var CarouselContext = React2.createContext(null);
|
|
361
359
|
function useCarousel() {
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-APPCA7PA.mjs";
|
|
4
|
+
import {
|
|
5
|
+
ArrowDownIcon,
|
|
6
|
+
ArrowLeftIcon,
|
|
7
|
+
ArrowRightIcon,
|
|
8
|
+
ArrowUpIcon
|
|
9
|
+
} from "../../chunk-FCKIVF33.mjs";
|
|
10
|
+
import "../../chunk-ZUDNZTUE.mjs";
|
|
4
11
|
import {
|
|
5
12
|
__objRest,
|
|
6
13
|
__spreadProps,
|
|
@@ -8,140 +15,10 @@ import {
|
|
|
8
15
|
cn
|
|
9
16
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
10
17
|
|
|
11
|
-
// src/components/Carousel/
|
|
18
|
+
// src/components/Carousel/index.tsx
|
|
12
19
|
import * as React from "react";
|
|
13
20
|
import useEmblaCarousel from "embla-carousel-react";
|
|
14
|
-
|
|
15
|
-
// src/icons/arrowDown.tsx
|
|
16
|
-
import { forwardRef } from "react";
|
|
17
|
-
import { jsx } from "react/jsx-runtime";
|
|
18
|
-
var ArrowDownIcon = forwardRef(
|
|
19
|
-
function ArrowDownIcon2(_a, ref) {
|
|
20
|
-
var _b = _a, { size = 24, className = "text-gray-1000" } = _b, other = __objRest(_b, ["size", "className"]);
|
|
21
|
-
return /* @__PURE__ */ jsx(
|
|
22
|
-
"svg",
|
|
23
|
-
__spreadProps(__spreadValues({
|
|
24
|
-
ref,
|
|
25
|
-
width: size,
|
|
26
|
-
height: size,
|
|
27
|
-
viewBox: "0 0 24 24",
|
|
28
|
-
fill: "none",
|
|
29
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
-
className
|
|
31
|
-
}, other), {
|
|
32
|
-
children: /* @__PURE__ */ jsx(
|
|
33
|
-
"path",
|
|
34
|
-
{
|
|
35
|
-
d: "M12 5V19M12 19L19 12M12 19L5 12",
|
|
36
|
-
stroke: "currentColor",
|
|
37
|
-
strokeWidth: "2",
|
|
38
|
-
strokeLinecap: "round",
|
|
39
|
-
strokeLinejoin: "round"
|
|
40
|
-
}
|
|
41
|
-
)
|
|
42
|
-
})
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
);
|
|
46
|
-
|
|
47
|
-
// src/icons/arrowLeft.tsx
|
|
48
|
-
import { forwardRef as forwardRef2 } from "react";
|
|
49
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
50
|
-
var ArrowLeftIcon = forwardRef2(
|
|
51
|
-
function ArrowLeftIcon2(_a, ref) {
|
|
52
|
-
var _b = _a, { size = 24, className = "text-gray-1000" } = _b, other = __objRest(_b, ["size", "className"]);
|
|
53
|
-
return /* @__PURE__ */ jsx2(
|
|
54
|
-
"svg",
|
|
55
|
-
__spreadProps(__spreadValues({
|
|
56
|
-
ref,
|
|
57
|
-
width: size,
|
|
58
|
-
height: size,
|
|
59
|
-
viewBox: "0 0 24 24",
|
|
60
|
-
fill: "none",
|
|
61
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
62
|
-
className
|
|
63
|
-
}, other), {
|
|
64
|
-
children: /* @__PURE__ */ jsx2(
|
|
65
|
-
"path",
|
|
66
|
-
{
|
|
67
|
-
d: "M19 12H5M5 12L12 19M5 12L12 5",
|
|
68
|
-
stroke: "currentColor",
|
|
69
|
-
strokeWidth: "2",
|
|
70
|
-
strokeLinecap: "round",
|
|
71
|
-
strokeLinejoin: "round"
|
|
72
|
-
}
|
|
73
|
-
)
|
|
74
|
-
})
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
);
|
|
78
|
-
|
|
79
|
-
// src/icons/arrowRight.tsx
|
|
80
|
-
import { forwardRef as forwardRef3 } from "react";
|
|
81
|
-
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
82
|
-
var ArrowRightIcon = forwardRef3(
|
|
83
|
-
function ArrowRightIcon2(_a, ref) {
|
|
84
|
-
var _b = _a, { size = 24, className = "text-gray-1000" } = _b, other = __objRest(_b, ["size", "className"]);
|
|
85
|
-
return /* @__PURE__ */ jsx3(
|
|
86
|
-
"svg",
|
|
87
|
-
__spreadProps(__spreadValues({
|
|
88
|
-
ref,
|
|
89
|
-
width: size,
|
|
90
|
-
height: size,
|
|
91
|
-
viewBox: "0 0 24 24",
|
|
92
|
-
fill: "none",
|
|
93
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
94
|
-
className
|
|
95
|
-
}, other), {
|
|
96
|
-
children: /* @__PURE__ */ jsx3(
|
|
97
|
-
"path",
|
|
98
|
-
{
|
|
99
|
-
d: "M5 12H19M19 12L12 5M19 12L12 19",
|
|
100
|
-
stroke: "currentColor",
|
|
101
|
-
strokeWidth: "2",
|
|
102
|
-
strokeLinecap: "round",
|
|
103
|
-
strokeLinejoin: "round"
|
|
104
|
-
}
|
|
105
|
-
)
|
|
106
|
-
})
|
|
107
|
-
);
|
|
108
|
-
}
|
|
109
|
-
);
|
|
110
|
-
|
|
111
|
-
// src/icons/arrowUp.tsx
|
|
112
|
-
import { forwardRef as forwardRef4 } from "react";
|
|
113
|
-
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
114
|
-
var ArrowUpIcon = forwardRef4(
|
|
115
|
-
function ArrowUpIcon2(_a, ref) {
|
|
116
|
-
var _b = _a, { size = 24, className = "text-gray-1000" } = _b, other = __objRest(_b, ["size", "className"]);
|
|
117
|
-
return /* @__PURE__ */ jsx4(
|
|
118
|
-
"svg",
|
|
119
|
-
__spreadProps(__spreadValues({
|
|
120
|
-
ref,
|
|
121
|
-
width: size,
|
|
122
|
-
height: size,
|
|
123
|
-
viewBox: "0 0 24 24",
|
|
124
|
-
fill: "none",
|
|
125
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
126
|
-
className
|
|
127
|
-
}, other), {
|
|
128
|
-
children: /* @__PURE__ */ jsx4(
|
|
129
|
-
"path",
|
|
130
|
-
{
|
|
131
|
-
d: "M12 19V5M12 5L5 12M12 5L19 12",
|
|
132
|
-
stroke: "currentColor",
|
|
133
|
-
strokeWidth: "2",
|
|
134
|
-
strokeLinecap: "round",
|
|
135
|
-
strokeLinejoin: "round"
|
|
136
|
-
}
|
|
137
|
-
)
|
|
138
|
-
})
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
);
|
|
142
|
-
|
|
143
|
-
// src/components/Carousel/Carousel.tsx
|
|
144
|
-
import { jsx as jsx5, jsxs } from "react/jsx-runtime";
|
|
21
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
145
22
|
var CarouselContext = React.createContext(null);
|
|
146
23
|
function useCarousel() {
|
|
147
24
|
const context = React.useContext(CarouselContext);
|
|
@@ -217,7 +94,7 @@ var Carousel = React.forwardRef(
|
|
|
217
94
|
api == null ? void 0 : api.off("select", onSelect);
|
|
218
95
|
};
|
|
219
96
|
}, [api, onSelect]);
|
|
220
|
-
return /* @__PURE__ */
|
|
97
|
+
return /* @__PURE__ */ jsx(
|
|
221
98
|
CarouselContext.Provider,
|
|
222
99
|
{
|
|
223
100
|
value: {
|
|
@@ -230,7 +107,7 @@ var Carousel = React.forwardRef(
|
|
|
230
107
|
canScrollPrev,
|
|
231
108
|
canScrollNext
|
|
232
109
|
},
|
|
233
|
-
children: /* @__PURE__ */
|
|
110
|
+
children: /* @__PURE__ */ jsx(
|
|
234
111
|
"div",
|
|
235
112
|
__spreadProps(__spreadValues({
|
|
236
113
|
ref,
|
|
@@ -250,7 +127,7 @@ Carousel.displayName = "Carousel";
|
|
|
250
127
|
var CarouselContent = React.forwardRef((_a, ref) => {
|
|
251
128
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
252
129
|
const { carouselRef, orientation } = useCarousel();
|
|
253
|
-
return /* @__PURE__ */
|
|
130
|
+
return /* @__PURE__ */ jsx("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
254
131
|
"div",
|
|
255
132
|
__spreadValues({
|
|
256
133
|
ref,
|
|
@@ -266,7 +143,7 @@ CarouselContent.displayName = "CarouselContent";
|
|
|
266
143
|
var CarouselItem = React.forwardRef((_a, ref) => {
|
|
267
144
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
268
145
|
const { orientation } = useCarousel();
|
|
269
|
-
return /* @__PURE__ */
|
|
146
|
+
return /* @__PURE__ */ jsx(
|
|
270
147
|
"div",
|
|
271
148
|
__spreadValues({
|
|
272
149
|
ref,
|
|
@@ -300,8 +177,8 @@ var CarouselPrevious = React.forwardRef((_a, ref) => {
|
|
|
300
177
|
onClick: scrollPrev
|
|
301
178
|
}, props), {
|
|
302
179
|
children: [
|
|
303
|
-
orientation === "horizontal" ? /* @__PURE__ */
|
|
304
|
-
/* @__PURE__ */
|
|
180
|
+
orientation === "horizontal" ? /* @__PURE__ */ jsx(ArrowLeftIcon, { size: 16 }) : /* @__PURE__ */ jsx(ArrowUpIcon, { size: 16 }),
|
|
181
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Previous slide" })
|
|
305
182
|
]
|
|
306
183
|
})
|
|
307
184
|
);
|
|
@@ -326,8 +203,8 @@ var CarouselNext = React.forwardRef((_a, ref) => {
|
|
|
326
203
|
onClick: scrollNext
|
|
327
204
|
}, props), {
|
|
328
205
|
children: [
|
|
329
|
-
orientation === "horizontal" ? /* @__PURE__ */
|
|
330
|
-
/* @__PURE__ */
|
|
206
|
+
orientation === "horizontal" ? /* @__PURE__ */ jsx(ArrowRightIcon, { size: 16 }) : /* @__PURE__ */ jsx(ArrowDownIcon, { size: 16 }),
|
|
207
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Next slide" })
|
|
331
208
|
]
|
|
332
209
|
})
|
|
333
210
|
);
|
|
@@ -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/Checkbox/index.
|
|
59
|
+
// src/components/Checkbox/index.tsx
|
|
60
60
|
var Checkbox_exports = {};
|
|
61
61
|
__export(Checkbox_exports, {
|
|
62
62
|
Checkbox: () => Checkbox
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(Checkbox_exports);
|
|
65
|
-
|
|
66
|
-
// src/components/Checkbox/Checkbox.tsx
|
|
67
65
|
var React = __toESM(require("react"));
|
|
68
66
|
var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
|
|
69
67
|
|
|
@@ -106,7 +104,7 @@ function cn(...inputs) {
|
|
|
106
104
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
107
105
|
}
|
|
108
106
|
|
|
109
|
-
// src/components/Checkbox/
|
|
107
|
+
// src/components/Checkbox/index.tsx
|
|
110
108
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
111
109
|
var Checkbox = React.forwardRef((_a, ref) => {
|
|
112
110
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Checkbox
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-655CU734.mjs";
|
|
4
|
+
import "../../chunk-FCKIVF33.mjs";
|
|
5
|
+
import "../../chunk-ZUDNZTUE.mjs";
|
|
5
6
|
import "../../chunk-JKJ6VK4H.mjs";
|
|
6
7
|
export {
|
|
7
8
|
Checkbox
|