@szum-tech/design-system 3.12.2 → 3.12.3

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.
@@ -0,0 +1,145 @@
1
+ 'use strict';
2
+
3
+ var chunkH2BWO3SI_cjs = require('./chunk-H2BWO3SI.cjs');
4
+ var radixUi = require('radix-ui');
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+ var lucideReact = require('lucide-react');
7
+ var classVarianceAuthority = require('class-variance-authority');
8
+
9
+ function Sheet(props) {
10
+ return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Root, { "data-slot": "sheet", ...props });
11
+ }
12
+ function SheetTrigger(props) {
13
+ return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Trigger, { "data-slot": "sheet-trigger", ...props });
14
+ }
15
+ function SheetClose(props) {
16
+ return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Close, { "data-slot": "sheet-close", ...props });
17
+ }
18
+ var sheetContentStyles = classVarianceAuthority.cva(
19
+ [
20
+ "bg-background text-sm data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 fixed z-50 flex flex-col gap-4 bg-clip-padding shadow-lg transition duration-200 ease-in-out",
21
+ "data-[state=open]:slide-in data-[state=closed]:slide-out"
22
+ ],
23
+ {
24
+ variants: {
25
+ side: {
26
+ top: [
27
+ "data-[side=top]:data-[state=open]:slide-in-from-top-10",
28
+ "data-[side=top]:data-[state=closed]:slide-out-to-top-10",
29
+ "data-[side=top]:inset-x-0",
30
+ "data-[side=top]:top-0",
31
+ "data-[side=top]:h-auto",
32
+ "data-[side=top]:border-b",
33
+ "data-[side=top]:max-h-[90vh]"
34
+ ],
35
+ right: [
36
+ "data-[side=right]:data-[state=open]:slide-in-from-right-10",
37
+ "data-[side=right]:data-[state=closed]:slide-out-to-right-10",
38
+ "data-[side=right]:inset-y-0",
39
+ "data-[side=right]:right-0",
40
+ "data-[side=right]:h-full",
41
+ "data-[side=right]:border-l",
42
+ "data-[side=right]:w-3/4",
43
+ "data-[side=right]:sm:max-w-sm"
44
+ ],
45
+ bottom: [
46
+ "data-[side=bottom]:data-[state=open]:slide-in-from-bottom-10",
47
+ "data-[side=bottom]:data-[state=closed]:slide-out-to-bottom-10",
48
+ "data-[side=bottom]:inset-x-0",
49
+ "data-[side=bottom]:bottom-0",
50
+ "data-[side=bottom]:h-auto",
51
+ "data-[side=bottom]:border-t",
52
+ "data-[side=bottom]:max-h-[90vh]"
53
+ ],
54
+ left: [
55
+ "data-[side=left]:data-[state=open]:slide-in-from-left-10",
56
+ "data-[side=left]:data-[state=closed]:slide-out-to-left-10",
57
+ "data-[side=left]:inset-y-0",
58
+ "data-[side=left]:left-0",
59
+ "data-[side=left]:h-full",
60
+ "data-[side=left]:border-r",
61
+ "data-[side=left]:w-3/4",
62
+ "data-[side=left]:sm:max-w-sm"
63
+ ]
64
+ }
65
+ },
66
+ defaultVariants: {
67
+ side: "right"
68
+ }
69
+ }
70
+ );
71
+ function SheetContent({
72
+ side = "right",
73
+ showCloseButton = true,
74
+ className,
75
+ children,
76
+ ...props
77
+ }) {
78
+ return /* @__PURE__ */ jsxRuntime.jsxs(radixUi.Dialog.Portal, { "data-slot": "sheet-portal", children: [
79
+ /* @__PURE__ */ jsxRuntime.jsx(
80
+ radixUi.Dialog.Overlay,
81
+ {
82
+ "data-slot": "sheet-overlay",
83
+ className: "data-[state=open]:animate-in data-[state=closed]:animate-out [state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs"
84
+ }
85
+ ),
86
+ /* @__PURE__ */ jsxRuntime.jsxs(
87
+ radixUi.Dialog.Content,
88
+ {
89
+ "data-slot": "sheet-content",
90
+ "data-side": side,
91
+ className: chunkH2BWO3SI_cjs.cn(sheetContentStyles({ side }), className),
92
+ ...props,
93
+ children: [
94
+ children,
95
+ showCloseButton ? /* @__PURE__ */ jsxRuntime.jsxs(
96
+ radixUi.Dialog.Close,
97
+ {
98
+ "data-slot": "sheet-close",
99
+ className: "focus:ring-ring focus:ring-offset-background absolute top-3 right-3 rounded opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",
100
+ children: [
101
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.XIcon, {}),
102
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
103
+ ]
104
+ }
105
+ ) : null
106
+ ]
107
+ }
108
+ )
109
+ ] });
110
+ }
111
+ function SheetHeader({ className, ...props }) {
112
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "sheet-header", className: chunkH2BWO3SI_cjs.cn("flex flex-col gap-0.5 p-4", className), ...props });
113
+ }
114
+ function SheetFooter({ className, ...props }) {
115
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "sheet-footer", className: chunkH2BWO3SI_cjs.cn("mt-auto flex flex-col gap-2 p-4", className), ...props });
116
+ }
117
+ function SheetTitle({ className, ...props }) {
118
+ return /* @__PURE__ */ jsxRuntime.jsx(
119
+ radixUi.Dialog.Title,
120
+ {
121
+ "data-slot": "sheet-title",
122
+ className: chunkH2BWO3SI_cjs.cn("text-foreground text-base font-medium", className),
123
+ ...props
124
+ }
125
+ );
126
+ }
127
+ function SheetDescription({ className, ...props }) {
128
+ return /* @__PURE__ */ jsxRuntime.jsx(
129
+ radixUi.Dialog.Description,
130
+ {
131
+ "data-slot": "sheet-description",
132
+ className: chunkH2BWO3SI_cjs.cn("text-muted-foreground text-sm", className),
133
+ ...props
134
+ }
135
+ );
136
+ }
137
+
138
+ exports.Sheet = Sheet;
139
+ exports.SheetClose = SheetClose;
140
+ exports.SheetContent = SheetContent;
141
+ exports.SheetDescription = SheetDescription;
142
+ exports.SheetFooter = SheetFooter;
143
+ exports.SheetHeader = SheetHeader;
144
+ exports.SheetTitle = SheetTitle;
145
+ exports.SheetTrigger = SheetTrigger;
@@ -0,0 +1,136 @@
1
+ import { cn } from './chunk-ZD2QRAOX.js';
2
+ import { Dialog } from 'radix-ui';
3
+ import { jsx, jsxs } from 'react/jsx-runtime';
4
+ import { XIcon } from 'lucide-react';
5
+ import { cva } from 'class-variance-authority';
6
+
7
+ function Sheet(props) {
8
+ return /* @__PURE__ */ jsx(Dialog.Root, { "data-slot": "sheet", ...props });
9
+ }
10
+ function SheetTrigger(props) {
11
+ return /* @__PURE__ */ jsx(Dialog.Trigger, { "data-slot": "sheet-trigger", ...props });
12
+ }
13
+ function SheetClose(props) {
14
+ return /* @__PURE__ */ jsx(Dialog.Close, { "data-slot": "sheet-close", ...props });
15
+ }
16
+ var sheetContentStyles = cva(
17
+ [
18
+ "bg-background text-sm data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 fixed z-50 flex flex-col gap-4 bg-clip-padding shadow-lg transition duration-200 ease-in-out",
19
+ "data-[state=open]:slide-in data-[state=closed]:slide-out"
20
+ ],
21
+ {
22
+ variants: {
23
+ side: {
24
+ top: [
25
+ "data-[side=top]:data-[state=open]:slide-in-from-top-10",
26
+ "data-[side=top]:data-[state=closed]:slide-out-to-top-10",
27
+ "data-[side=top]:inset-x-0",
28
+ "data-[side=top]:top-0",
29
+ "data-[side=top]:h-auto",
30
+ "data-[side=top]:border-b",
31
+ "data-[side=top]:max-h-[90vh]"
32
+ ],
33
+ right: [
34
+ "data-[side=right]:data-[state=open]:slide-in-from-right-10",
35
+ "data-[side=right]:data-[state=closed]:slide-out-to-right-10",
36
+ "data-[side=right]:inset-y-0",
37
+ "data-[side=right]:right-0",
38
+ "data-[side=right]:h-full",
39
+ "data-[side=right]:border-l",
40
+ "data-[side=right]:w-3/4",
41
+ "data-[side=right]:sm:max-w-sm"
42
+ ],
43
+ bottom: [
44
+ "data-[side=bottom]:data-[state=open]:slide-in-from-bottom-10",
45
+ "data-[side=bottom]:data-[state=closed]:slide-out-to-bottom-10",
46
+ "data-[side=bottom]:inset-x-0",
47
+ "data-[side=bottom]:bottom-0",
48
+ "data-[side=bottom]:h-auto",
49
+ "data-[side=bottom]:border-t",
50
+ "data-[side=bottom]:max-h-[90vh]"
51
+ ],
52
+ left: [
53
+ "data-[side=left]:data-[state=open]:slide-in-from-left-10",
54
+ "data-[side=left]:data-[state=closed]:slide-out-to-left-10",
55
+ "data-[side=left]:inset-y-0",
56
+ "data-[side=left]:left-0",
57
+ "data-[side=left]:h-full",
58
+ "data-[side=left]:border-r",
59
+ "data-[side=left]:w-3/4",
60
+ "data-[side=left]:sm:max-w-sm"
61
+ ]
62
+ }
63
+ },
64
+ defaultVariants: {
65
+ side: "right"
66
+ }
67
+ }
68
+ );
69
+ function SheetContent({
70
+ side = "right",
71
+ showCloseButton = true,
72
+ className,
73
+ children,
74
+ ...props
75
+ }) {
76
+ return /* @__PURE__ */ jsxs(Dialog.Portal, { "data-slot": "sheet-portal", children: [
77
+ /* @__PURE__ */ jsx(
78
+ Dialog.Overlay,
79
+ {
80
+ "data-slot": "sheet-overlay",
81
+ className: "data-[state=open]:animate-in data-[state=closed]:animate-out [state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs"
82
+ }
83
+ ),
84
+ /* @__PURE__ */ jsxs(
85
+ Dialog.Content,
86
+ {
87
+ "data-slot": "sheet-content",
88
+ "data-side": side,
89
+ className: cn(sheetContentStyles({ side }), className),
90
+ ...props,
91
+ children: [
92
+ children,
93
+ showCloseButton ? /* @__PURE__ */ jsxs(
94
+ Dialog.Close,
95
+ {
96
+ "data-slot": "sheet-close",
97
+ className: "focus:ring-ring focus:ring-offset-background absolute top-3 right-3 rounded opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",
98
+ children: [
99
+ /* @__PURE__ */ jsx(XIcon, {}),
100
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
101
+ ]
102
+ }
103
+ ) : null
104
+ ]
105
+ }
106
+ )
107
+ ] });
108
+ }
109
+ function SheetHeader({ className, ...props }) {
110
+ return /* @__PURE__ */ jsx("div", { "data-slot": "sheet-header", className: cn("flex flex-col gap-0.5 p-4", className), ...props });
111
+ }
112
+ function SheetFooter({ className, ...props }) {
113
+ return /* @__PURE__ */ jsx("div", { "data-slot": "sheet-footer", className: cn("mt-auto flex flex-col gap-2 p-4", className), ...props });
114
+ }
115
+ function SheetTitle({ className, ...props }) {
116
+ return /* @__PURE__ */ jsx(
117
+ Dialog.Title,
118
+ {
119
+ "data-slot": "sheet-title",
120
+ className: cn("text-foreground text-base font-medium", className),
121
+ ...props
122
+ }
123
+ );
124
+ }
125
+ function SheetDescription({ className, ...props }) {
126
+ return /* @__PURE__ */ jsx(
127
+ Dialog.Description,
128
+ {
129
+ "data-slot": "sheet-description",
130
+ className: cn("text-muted-foreground text-sm", className),
131
+ ...props
132
+ }
133
+ );
134
+ }
135
+
136
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
@@ -8,26 +8,26 @@ require('../../chunk-NU5UQPBX.cjs');
8
8
  require('../../chunk-KQ6QE7BT.cjs');
9
9
  require('../../chunk-A7SBXO2Y.cjs');
10
10
  require('../../chunk-EUH466AL.cjs');
11
- require('../../chunk-S2BCU6WG.cjs');
12
11
  require('../../chunk-TH44JYXB.cjs');
13
12
  require('../../chunk-XENOUBSI.cjs');
14
13
  require('../../chunk-UJX74PFK.cjs');
15
14
  require('../../chunk-XJZOANXX.cjs');
16
- require('../../chunk-GHV2TURY.cjs');
15
+ require('../../chunk-375QAB65.cjs');
17
16
  require('../../chunk-3WSQRFUY.cjs');
18
17
  require('../../chunk-VK5EX3OG.cjs');
19
18
  require('../../chunk-CXHDWIGF.cjs');
20
- require('../../chunk-DTYX7CYN.cjs');
19
+ require('../../chunk-GAZLMZBH.cjs');
20
+ require('../../chunk-S3ANEJJ7.cjs');
21
21
  require('../../chunk-6X26XC6P.cjs');
22
22
  require('../../chunk-5AA4IE2T.cjs');
23
23
  require('../../chunk-CFJ44JVK.cjs');
24
24
  require('../../chunk-UIOBJSKZ.cjs');
25
- require('../../chunk-S3ANEJJ7.cjs');
26
25
  require('../../chunk-2WQJ36RD.cjs');
26
+ require('../../chunk-S2BCU6WG.cjs');
27
27
  require('../../chunk-ZVF7J4EI.cjs');
28
- require('../../chunk-2Y2ZCPNV.cjs');
29
28
  require('../../chunk-HCHVDUI6.cjs');
30
29
  require('../../chunk-ULEEQ723.cjs');
30
+ require('../../chunk-2Y2ZCPNV.cjs');
31
31
  require('../../chunk-USIW3VT5.cjs');
32
32
  require('../../chunk-XIQUR62A.cjs');
33
33
  require('../../chunk-X3ZT3KGX.cjs');
@@ -6,26 +6,26 @@ import '../../chunk-OQCNPNPS.js';
6
6
  import '../../chunk-WXZE35FK.js';
7
7
  import '../../chunk-U7XZJQ4O.js';
8
8
  import '../../chunk-WMGJCB7O.js';
9
- import '../../chunk-DL54DIMD.js';
10
9
  import '../../chunk-PBEZZMAB.js';
11
10
  import '../../chunk-4TRADSTP.js';
12
11
  import '../../chunk-M7NIRB3U.js';
13
12
  import '../../chunk-E5TYGWGE.js';
14
- import '../../chunk-DTSFPOLX.js';
13
+ import '../../chunk-H5NHGMSQ.js';
15
14
  import '../../chunk-P5IUC7HJ.js';
16
15
  import '../../chunk-BTSHACKG.js';
17
16
  import '../../chunk-HNRVLRMN.js';
18
- import '../../chunk-3MH6P44N.js';
17
+ import '../../chunk-K5QSMTKJ.js';
18
+ import '../../chunk-I3RSTJP6.js';
19
19
  import '../../chunk-VT5GDGZJ.js';
20
20
  import '../../chunk-UGSNASZM.js';
21
21
  import '../../chunk-KGGCA634.js';
22
22
  import '../../chunk-XJIUGEPN.js';
23
- import '../../chunk-I3RSTJP6.js';
24
23
  import '../../chunk-YUMKV5TH.js';
24
+ import '../../chunk-DL54DIMD.js';
25
25
  import '../../chunk-U3QKV7I4.js';
26
- import '../../chunk-6BSR3O2J.js';
27
26
  import '../../chunk-5F2Y65JH.js';
28
27
  import '../../chunk-3RK5PCIC.js';
28
+ import '../../chunk-6BSR3O2J.js';
29
29
  import '../../chunk-P4JIMFSL.js';
30
30
  import '../../chunk-SB5UG7OC.js';
31
31
  import '../../chunk-B7RHEMZH.js';
@@ -8,26 +8,26 @@ require('../../chunk-NU5UQPBX.cjs');
8
8
  require('../../chunk-KQ6QE7BT.cjs');
9
9
  require('../../chunk-A7SBXO2Y.cjs');
10
10
  require('../../chunk-EUH466AL.cjs');
11
- require('../../chunk-S2BCU6WG.cjs');
12
11
  require('../../chunk-TH44JYXB.cjs');
13
12
  require('../../chunk-XENOUBSI.cjs');
14
13
  require('../../chunk-UJX74PFK.cjs');
15
14
  require('../../chunk-XJZOANXX.cjs');
16
- require('../../chunk-GHV2TURY.cjs');
15
+ require('../../chunk-375QAB65.cjs');
17
16
  require('../../chunk-3WSQRFUY.cjs');
18
17
  require('../../chunk-VK5EX3OG.cjs');
19
18
  require('../../chunk-CXHDWIGF.cjs');
20
- require('../../chunk-DTYX7CYN.cjs');
19
+ require('../../chunk-GAZLMZBH.cjs');
20
+ require('../../chunk-S3ANEJJ7.cjs');
21
21
  require('../../chunk-6X26XC6P.cjs');
22
22
  require('../../chunk-5AA4IE2T.cjs');
23
23
  require('../../chunk-CFJ44JVK.cjs');
24
24
  require('../../chunk-UIOBJSKZ.cjs');
25
- require('../../chunk-S3ANEJJ7.cjs');
26
25
  require('../../chunk-2WQJ36RD.cjs');
26
+ require('../../chunk-S2BCU6WG.cjs');
27
27
  require('../../chunk-ZVF7J4EI.cjs');
28
- require('../../chunk-2Y2ZCPNV.cjs');
29
28
  require('../../chunk-HCHVDUI6.cjs');
30
29
  require('../../chunk-ULEEQ723.cjs');
30
+ require('../../chunk-2Y2ZCPNV.cjs');
31
31
  require('../../chunk-USIW3VT5.cjs');
32
32
  require('../../chunk-XIQUR62A.cjs');
33
33
  require('../../chunk-X3ZT3KGX.cjs');
@@ -6,26 +6,26 @@ import '../../chunk-OQCNPNPS.js';
6
6
  import '../../chunk-WXZE35FK.js';
7
7
  import '../../chunk-U7XZJQ4O.js';
8
8
  import '../../chunk-WMGJCB7O.js';
9
- import '../../chunk-DL54DIMD.js';
10
9
  import '../../chunk-PBEZZMAB.js';
11
10
  import '../../chunk-4TRADSTP.js';
12
11
  import '../../chunk-M7NIRB3U.js';
13
12
  import '../../chunk-E5TYGWGE.js';
14
- import '../../chunk-DTSFPOLX.js';
13
+ import '../../chunk-H5NHGMSQ.js';
15
14
  import '../../chunk-P5IUC7HJ.js';
16
15
  import '../../chunk-BTSHACKG.js';
17
16
  import '../../chunk-HNRVLRMN.js';
18
- import '../../chunk-3MH6P44N.js';
17
+ import '../../chunk-K5QSMTKJ.js';
18
+ import '../../chunk-I3RSTJP6.js';
19
19
  import '../../chunk-VT5GDGZJ.js';
20
20
  import '../../chunk-UGSNASZM.js';
21
21
  import '../../chunk-KGGCA634.js';
22
22
  import '../../chunk-XJIUGEPN.js';
23
- import '../../chunk-I3RSTJP6.js';
24
23
  import '../../chunk-YUMKV5TH.js';
24
+ import '../../chunk-DL54DIMD.js';
25
25
  import '../../chunk-U3QKV7I4.js';
26
- import '../../chunk-6BSR3O2J.js';
27
26
  import '../../chunk-5F2Y65JH.js';
28
27
  import '../../chunk-3RK5PCIC.js';
28
+ import '../../chunk-6BSR3O2J.js';
29
29
  import '../../chunk-P4JIMFSL.js';
30
30
  import '../../chunk-SB5UG7OC.js';
31
31
  import '../../chunk-B7RHEMZH.js';
@@ -1,49 +1,49 @@
1
1
  'use strict';
2
2
 
3
- var chunkDTYX7CYN_cjs = require('../../chunk-DTYX7CYN.cjs');
4
- require('../../chunk-UIOBJSKZ.cjs');
3
+ var chunkGAZLMZBH_cjs = require('../../chunk-GAZLMZBH.cjs');
5
4
  require('../../chunk-S3ANEJJ7.cjs');
5
+ require('../../chunk-UIOBJSKZ.cjs');
6
6
  require('../../chunk-H2BWO3SI.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "Field", {
11
11
  enumerable: true,
12
- get: function () { return chunkDTYX7CYN_cjs.Field; }
12
+ get: function () { return chunkGAZLMZBH_cjs.Field; }
13
13
  });
14
14
  Object.defineProperty(exports, "FieldContent", {
15
15
  enumerable: true,
16
- get: function () { return chunkDTYX7CYN_cjs.FieldContent; }
16
+ get: function () { return chunkGAZLMZBH_cjs.FieldContent; }
17
17
  });
18
18
  Object.defineProperty(exports, "FieldDescription", {
19
19
  enumerable: true,
20
- get: function () { return chunkDTYX7CYN_cjs.FieldDescription; }
20
+ get: function () { return chunkGAZLMZBH_cjs.FieldDescription; }
21
21
  });
22
22
  Object.defineProperty(exports, "FieldError", {
23
23
  enumerable: true,
24
- get: function () { return chunkDTYX7CYN_cjs.FieldError; }
24
+ get: function () { return chunkGAZLMZBH_cjs.FieldError; }
25
25
  });
26
26
  Object.defineProperty(exports, "FieldGroup", {
27
27
  enumerable: true,
28
- get: function () { return chunkDTYX7CYN_cjs.FieldGroup; }
28
+ get: function () { return chunkGAZLMZBH_cjs.FieldGroup; }
29
29
  });
30
30
  Object.defineProperty(exports, "FieldLabel", {
31
31
  enumerable: true,
32
- get: function () { return chunkDTYX7CYN_cjs.FieldLabel; }
32
+ get: function () { return chunkGAZLMZBH_cjs.FieldLabel; }
33
33
  });
34
34
  Object.defineProperty(exports, "FieldLegend", {
35
35
  enumerable: true,
36
- get: function () { return chunkDTYX7CYN_cjs.FieldLegend; }
36
+ get: function () { return chunkGAZLMZBH_cjs.FieldLegend; }
37
37
  });
38
38
  Object.defineProperty(exports, "FieldSeparator", {
39
39
  enumerable: true,
40
- get: function () { return chunkDTYX7CYN_cjs.FieldSeparator; }
40
+ get: function () { return chunkGAZLMZBH_cjs.FieldSeparator; }
41
41
  });
42
42
  Object.defineProperty(exports, "FieldSet", {
43
43
  enumerable: true,
44
- get: function () { return chunkDTYX7CYN_cjs.FieldSet; }
44
+ get: function () { return chunkGAZLMZBH_cjs.FieldSet; }
45
45
  });
46
46
  Object.defineProperty(exports, "FieldTitle", {
47
47
  enumerable: true,
48
- get: function () { return chunkDTYX7CYN_cjs.FieldTitle; }
48
+ get: function () { return chunkGAZLMZBH_cjs.FieldTitle; }
49
49
  });
@@ -1,4 +1,4 @@
1
- export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from '../../chunk-3MH6P44N.js';
2
- import '../../chunk-XJIUGEPN.js';
1
+ export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from '../../chunk-K5QSMTKJ.js';
3
2
  import '../../chunk-I3RSTJP6.js';
3
+ import '../../chunk-XJIUGEPN.js';
4
4
  import '../../chunk-ZD2QRAOX.js';
@@ -10,26 +10,26 @@ var chunkNU5UQPBX_cjs = require('../chunk-NU5UQPBX.cjs');
10
10
  var chunkKQ6QE7BT_cjs = require('../chunk-KQ6QE7BT.cjs');
11
11
  var chunkA7SBXO2Y_cjs = require('../chunk-A7SBXO2Y.cjs');
12
12
  var chunkEUH466AL_cjs = require('../chunk-EUH466AL.cjs');
13
- var chunkS2BCU6WG_cjs = require('../chunk-S2BCU6WG.cjs');
14
13
  var chunkTH44JYXB_cjs = require('../chunk-TH44JYXB.cjs');
15
14
  var chunkXENOUBSI_cjs = require('../chunk-XENOUBSI.cjs');
16
15
  var chunkUJX74PFK_cjs = require('../chunk-UJX74PFK.cjs');
17
16
  var chunkXJZOANXX_cjs = require('../chunk-XJZOANXX.cjs');
18
- var chunkGHV2TURY_cjs = require('../chunk-GHV2TURY.cjs');
17
+ var chunk375QAB65_cjs = require('../chunk-375QAB65.cjs');
19
18
  var chunk3WSQRFUY_cjs = require('../chunk-3WSQRFUY.cjs');
20
19
  var chunkVK5EX3OG_cjs = require('../chunk-VK5EX3OG.cjs');
21
20
  var chunkCXHDWIGF_cjs = require('../chunk-CXHDWIGF.cjs');
22
- var chunkDTYX7CYN_cjs = require('../chunk-DTYX7CYN.cjs');
21
+ var chunkGAZLMZBH_cjs = require('../chunk-GAZLMZBH.cjs');
22
+ var chunkS3ANEJJ7_cjs = require('../chunk-S3ANEJJ7.cjs');
23
23
  var chunk6X26XC6P_cjs = require('../chunk-6X26XC6P.cjs');
24
24
  var chunk5AA4IE2T_cjs = require('../chunk-5AA4IE2T.cjs');
25
25
  var chunkCFJ44JVK_cjs = require('../chunk-CFJ44JVK.cjs');
26
26
  var chunkUIOBJSKZ_cjs = require('../chunk-UIOBJSKZ.cjs');
27
- var chunkS3ANEJJ7_cjs = require('../chunk-S3ANEJJ7.cjs');
28
27
  var chunk2WQJ36RD_cjs = require('../chunk-2WQJ36RD.cjs');
28
+ var chunkS2BCU6WG_cjs = require('../chunk-S2BCU6WG.cjs');
29
29
  var chunkZVF7J4EI_cjs = require('../chunk-ZVF7J4EI.cjs');
30
- var chunk2Y2ZCPNV_cjs = require('../chunk-2Y2ZCPNV.cjs');
31
30
  var chunkHCHVDUI6_cjs = require('../chunk-HCHVDUI6.cjs');
32
31
  var chunkULEEQ723_cjs = require('../chunk-ULEEQ723.cjs');
32
+ var chunk2Y2ZCPNV_cjs = require('../chunk-2Y2ZCPNV.cjs');
33
33
  var chunkUSIW3VT5_cjs = require('../chunk-USIW3VT5.cjs');
34
34
  require('../chunk-XIQUR62A.cjs');
35
35
  var chunkX3ZT3KGX_cjs = require('../chunk-X3ZT3KGX.cjs');
@@ -216,14 +216,6 @@ Object.defineProperty(exports, "TypingText", {
216
216
  enumerable: true,
217
217
  get: function () { return chunkEUH466AL_cjs.TypingText; }
218
218
  });
219
- Object.defineProperty(exports, "Masonry", {
220
- enumerable: true,
221
- get: function () { return chunkS2BCU6WG_cjs.Masonry; }
222
- });
223
- Object.defineProperty(exports, "MasonryItem", {
224
- enumerable: true,
225
- get: function () { return chunkS2BCU6WG_cjs.MasonryItem; }
226
- });
227
219
  Object.defineProperty(exports, "Progress", {
228
220
  enumerable: true,
229
221
  get: function () { return chunkTH44JYXB_cjs.Progress; }
@@ -270,35 +262,35 @@ Object.defineProperty(exports, "SelectSeparator", {
270
262
  });
271
263
  Object.defineProperty(exports, "Sheet", {
272
264
  enumerable: true,
273
- get: function () { return chunkGHV2TURY_cjs.Sheet; }
265
+ get: function () { return chunk375QAB65_cjs.Sheet; }
274
266
  });
275
267
  Object.defineProperty(exports, "SheetClose", {
276
268
  enumerable: true,
277
- get: function () { return chunkGHV2TURY_cjs.SheetClose; }
269
+ get: function () { return chunk375QAB65_cjs.SheetClose; }
278
270
  });
279
271
  Object.defineProperty(exports, "SheetContent", {
280
272
  enumerable: true,
281
- get: function () { return chunkGHV2TURY_cjs.SheetContent; }
273
+ get: function () { return chunk375QAB65_cjs.SheetContent; }
282
274
  });
283
275
  Object.defineProperty(exports, "SheetDescription", {
284
276
  enumerable: true,
285
- get: function () { return chunkGHV2TURY_cjs.SheetDescription; }
277
+ get: function () { return chunk375QAB65_cjs.SheetDescription; }
286
278
  });
287
279
  Object.defineProperty(exports, "SheetFooter", {
288
280
  enumerable: true,
289
- get: function () { return chunkGHV2TURY_cjs.SheetFooter; }
281
+ get: function () { return chunk375QAB65_cjs.SheetFooter; }
290
282
  });
291
283
  Object.defineProperty(exports, "SheetHeader", {
292
284
  enumerable: true,
293
- get: function () { return chunkGHV2TURY_cjs.SheetHeader; }
285
+ get: function () { return chunk375QAB65_cjs.SheetHeader; }
294
286
  });
295
287
  Object.defineProperty(exports, "SheetTitle", {
296
288
  enumerable: true,
297
- get: function () { return chunkGHV2TURY_cjs.SheetTitle; }
289
+ get: function () { return chunk375QAB65_cjs.SheetTitle; }
298
290
  });
299
291
  Object.defineProperty(exports, "SheetTrigger", {
300
292
  enumerable: true,
301
- get: function () { return chunkGHV2TURY_cjs.SheetTrigger; }
293
+ get: function () { return chunk375QAB65_cjs.SheetTrigger; }
302
294
  });
303
295
  Object.defineProperty(exports, "Spinner", {
304
296
  enumerable: true,
@@ -362,43 +354,47 @@ Object.defineProperty(exports, "EmptyTitle", {
362
354
  });
363
355
  Object.defineProperty(exports, "Field", {
364
356
  enumerable: true,
365
- get: function () { return chunkDTYX7CYN_cjs.Field; }
357
+ get: function () { return chunkGAZLMZBH_cjs.Field; }
366
358
  });
367
359
  Object.defineProperty(exports, "FieldContent", {
368
360
  enumerable: true,
369
- get: function () { return chunkDTYX7CYN_cjs.FieldContent; }
361
+ get: function () { return chunkGAZLMZBH_cjs.FieldContent; }
370
362
  });
371
363
  Object.defineProperty(exports, "FieldDescription", {
372
364
  enumerable: true,
373
- get: function () { return chunkDTYX7CYN_cjs.FieldDescription; }
365
+ get: function () { return chunkGAZLMZBH_cjs.FieldDescription; }
374
366
  });
375
367
  Object.defineProperty(exports, "FieldError", {
376
368
  enumerable: true,
377
- get: function () { return chunkDTYX7CYN_cjs.FieldError; }
369
+ get: function () { return chunkGAZLMZBH_cjs.FieldError; }
378
370
  });
379
371
  Object.defineProperty(exports, "FieldGroup", {
380
372
  enumerable: true,
381
- get: function () { return chunkDTYX7CYN_cjs.FieldGroup; }
373
+ get: function () { return chunkGAZLMZBH_cjs.FieldGroup; }
382
374
  });
383
375
  Object.defineProperty(exports, "FieldLabel", {
384
376
  enumerable: true,
385
- get: function () { return chunkDTYX7CYN_cjs.FieldLabel; }
377
+ get: function () { return chunkGAZLMZBH_cjs.FieldLabel; }
386
378
  });
387
379
  Object.defineProperty(exports, "FieldLegend", {
388
380
  enumerable: true,
389
- get: function () { return chunkDTYX7CYN_cjs.FieldLegend; }
381
+ get: function () { return chunkGAZLMZBH_cjs.FieldLegend; }
390
382
  });
391
383
  Object.defineProperty(exports, "FieldSeparator", {
392
384
  enumerable: true,
393
- get: function () { return chunkDTYX7CYN_cjs.FieldSeparator; }
385
+ get: function () { return chunkGAZLMZBH_cjs.FieldSeparator; }
394
386
  });
395
387
  Object.defineProperty(exports, "FieldSet", {
396
388
  enumerable: true,
397
- get: function () { return chunkDTYX7CYN_cjs.FieldSet; }
389
+ get: function () { return chunkGAZLMZBH_cjs.FieldSet; }
398
390
  });
399
391
  Object.defineProperty(exports, "FieldTitle", {
400
392
  enumerable: true,
401
- get: function () { return chunkDTYX7CYN_cjs.FieldTitle; }
393
+ get: function () { return chunkGAZLMZBH_cjs.FieldTitle; }
394
+ });
395
+ Object.defineProperty(exports, "Label", {
396
+ enumerable: true,
397
+ get: function () { return chunkS3ANEJJ7_cjs.Label; }
402
398
  });
403
399
  Object.defineProperty(exports, "Header", {
404
400
  enumerable: true,
@@ -452,14 +448,18 @@ Object.defineProperty(exports, "Separator", {
452
448
  enumerable: true,
453
449
  get: function () { return chunkUIOBJSKZ_cjs.Separator; }
454
450
  });
455
- Object.defineProperty(exports, "Label", {
456
- enumerable: true,
457
- get: function () { return chunkS3ANEJJ7_cjs.Label; }
458
- });
459
451
  Object.defineProperty(exports, "Marquee", {
460
452
  enumerable: true,
461
453
  get: function () { return chunk2WQJ36RD_cjs.Marquee; }
462
454
  });
455
+ Object.defineProperty(exports, "Masonry", {
456
+ enumerable: true,
457
+ get: function () { return chunkS2BCU6WG_cjs.Masonry; }
458
+ });
459
+ Object.defineProperty(exports, "MasonryItem", {
460
+ enumerable: true,
461
+ get: function () { return chunkS2BCU6WG_cjs.MasonryItem; }
462
+ });
463
463
  Object.defineProperty(exports, "Badge", {
464
464
  enumerable: true,
465
465
  get: function () { return chunkZVF7J4EI_cjs.Badge; }
@@ -472,6 +472,14 @@ Object.defineProperty(exports, "BadgeDot", {
472
472
  enumerable: true,
473
473
  get: function () { return chunkZVF7J4EI_cjs.BadgeDot; }
474
474
  });
475
+ Object.defineProperty(exports, "Checkbox", {
476
+ enumerable: true,
477
+ get: function () { return chunkHCHVDUI6_cjs.Checkbox; }
478
+ });
479
+ Object.defineProperty(exports, "ColorSwatch", {
480
+ enumerable: true,
481
+ get: function () { return chunkULEEQ723_cjs.ColorSwatch; }
482
+ });
475
483
  Object.defineProperty(exports, "Card", {
476
484
  enumerable: true,
477
485
  get: function () { return chunk2Y2ZCPNV_cjs.Card; }
@@ -500,14 +508,6 @@ Object.defineProperty(exports, "CardTitle", {
500
508
  enumerable: true,
501
509
  get: function () { return chunk2Y2ZCPNV_cjs.CardTitle; }
502
510
  });
503
- Object.defineProperty(exports, "Checkbox", {
504
- enumerable: true,
505
- get: function () { return chunkHCHVDUI6_cjs.Checkbox; }
506
- });
507
- Object.defineProperty(exports, "ColorSwatch", {
508
- enumerable: true,
509
- get: function () { return chunkULEEQ723_cjs.ColorSwatch; }
510
- });
511
511
  Object.defineProperty(exports, "CountingNumber", {
512
512
  enumerable: true,
513
513
  get: function () { return chunkUSIW3VT5_cjs.CountingNumber; }
@@ -14,7 +14,7 @@ export { Marquee, MarqueeProps } from './marquee/index.cjs';
14
14
  export { Progress, ProgressProps } from './progress/index.cjs';
15
15
  export { Select, SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectSeparator, SelectSeparatorProps } from './select/index.cjs';
16
16
  export { Separator, SeparatorProps } from './separator/index.cjs';
17
- export { Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetContentSide, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps } from './sheet/index.cjs';
17
+ export { Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetContentSide, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetContentSide as SheetSide, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps } from './sheet/index.cjs';
18
18
  export { Spinner, SpinnerProps } from './spinner/index.cjs';
19
19
  export { Status, StatusIndicator, StatusIndicatorProps, StatusLabel, StatusLabelProps, StatusProps, StatusVariant } from './status/index.cjs';
20
20
  export { StepIndicators, Stepper, StepperActivationMode, StepperContent, StepperContentProps, StepperDataState, StepperDescription, StepperDescriptionProps, StepperDirection, StepperFocusIntent, StepperIndicator, StepperIndicatorProps, StepperItem, StepperItemProps, StepperNav, StepperNavProps, StepperNavigationDirection, StepperNextTrigger, StepperNextTriggerProps, StepperOrientation, StepperPanel, StepperPanelProps, StepperPrevTrigger, StepperPrevTriggerProps, StepperProps, StepperTitle, StepperTitleProps, StepperTrigger, StepperTriggerElement, StepperTriggerProps, useStepperContext, useStepperFocusContext, useStepperItemContext } from './stepper/index.cjs';
@@ -14,7 +14,7 @@ export { Marquee, MarqueeProps } from './marquee/index.js';
14
14
  export { Progress, ProgressProps } from './progress/index.js';
15
15
  export { Select, SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectSeparator, SelectSeparatorProps } from './select/index.js';
16
16
  export { Separator, SeparatorProps } from './separator/index.js';
17
- export { Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetContentSide, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps } from './sheet/index.js';
17
+ export { Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetContentSide, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetContentSide as SheetSide, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps } from './sheet/index.js';
18
18
  export { Spinner, SpinnerProps } from './spinner/index.js';
19
19
  export { Status, StatusIndicator, StatusIndicatorProps, StatusLabel, StatusLabelProps, StatusProps, StatusVariant } from './status/index.js';
20
20
  export { StepIndicators, Stepper, StepperActivationMode, StepperContent, StepperContentProps, StepperDataState, StepperDescription, StepperDescriptionProps, StepperDirection, StepperFocusIntent, StepperIndicator, StepperIndicatorProps, StepperItem, StepperItemProps, StepperNav, StepperNavProps, StepperNavigationDirection, StepperNextTrigger, StepperNextTriggerProps, StepperOrientation, StepperPanel, StepperPanelProps, StepperPrevTrigger, StepperPrevTriggerProps, StepperProps, StepperTitle, StepperTitleProps, StepperTrigger, StepperTriggerElement, StepperTriggerProps, useStepperContext, useStepperFocusContext, useStepperItemContext } from './stepper/index.js';
@@ -8,26 +8,26 @@ export { Textarea } from '../chunk-OQCNPNPS.js';
8
8
  export { Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, TimelineHeader, TimelineItem, TimelineTime, TimelineTitle } from '../chunk-WXZE35FK.js';
9
9
  export { Tooltip, TooltipContent, TooltipTrigger } from '../chunk-U7XZJQ4O.js';
10
10
  export { TypingText } from '../chunk-WMGJCB7O.js';
11
- export { Masonry, MasonryItem } from '../chunk-DL54DIMD.js';
12
11
  export { Progress } from '../chunk-PBEZZMAB.js';
13
12
  export { RadioGroup, RadioGroupItem } from '../chunk-4TRADSTP.js';
14
13
  export { ScrollArea, ScrollBar } from '../chunk-M7NIRB3U.js';
15
14
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator } from '../chunk-E5TYGWGE.js';
16
- export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from '../chunk-DTSFPOLX.js';
15
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from '../chunk-H5NHGMSQ.js';
17
16
  export { Spinner } from '../chunk-P5IUC7HJ.js';
18
17
  export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from '../chunk-BTSHACKG.js';
19
18
  export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from '../chunk-HNRVLRMN.js';
20
- export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from '../chunk-3MH6P44N.js';
19
+ export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from '../chunk-K5QSMTKJ.js';
20
+ export { Label } from '../chunk-I3RSTJP6.js';
21
21
  export { Header } from '../chunk-VT5GDGZJ.js';
22
22
  export { Input } from '../chunk-UGSNASZM.js';
23
23
  export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle } from '../chunk-KGGCA634.js';
24
24
  export { Separator } from '../chunk-XJIUGEPN.js';
25
- export { Label } from '../chunk-I3RSTJP6.js';
26
25
  export { Marquee } from '../chunk-YUMKV5TH.js';
26
+ export { Masonry, MasonryItem } from '../chunk-DL54DIMD.js';
27
27
  export { Badge, BadgeButton, BadgeDot } from '../chunk-U3QKV7I4.js';
28
- export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../chunk-6BSR3O2J.js';
29
28
  export { Checkbox } from '../chunk-5F2Y65JH.js';
30
29
  export { ColorSwatch } from '../chunk-3RK5PCIC.js';
30
+ export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../chunk-6BSR3O2J.js';
31
31
  export { CountingNumber } from '../chunk-P4JIMFSL.js';
32
32
  import '../chunk-SB5UG7OC.js';
33
33
  export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '../chunk-B7RHEMZH.js';
@@ -1,39 +1,39 @@
1
1
  'use strict';
2
2
 
3
- var chunkGHV2TURY_cjs = require('../../chunk-GHV2TURY.cjs');
3
+ var chunk375QAB65_cjs = require('../../chunk-375QAB65.cjs');
4
4
  require('../../chunk-H2BWO3SI.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Sheet", {
9
9
  enumerable: true,
10
- get: function () { return chunkGHV2TURY_cjs.Sheet; }
10
+ get: function () { return chunk375QAB65_cjs.Sheet; }
11
11
  });
12
12
  Object.defineProperty(exports, "SheetClose", {
13
13
  enumerable: true,
14
- get: function () { return chunkGHV2TURY_cjs.SheetClose; }
14
+ get: function () { return chunk375QAB65_cjs.SheetClose; }
15
15
  });
16
16
  Object.defineProperty(exports, "SheetContent", {
17
17
  enumerable: true,
18
- get: function () { return chunkGHV2TURY_cjs.SheetContent; }
18
+ get: function () { return chunk375QAB65_cjs.SheetContent; }
19
19
  });
20
20
  Object.defineProperty(exports, "SheetDescription", {
21
21
  enumerable: true,
22
- get: function () { return chunkGHV2TURY_cjs.SheetDescription; }
22
+ get: function () { return chunk375QAB65_cjs.SheetDescription; }
23
23
  });
24
24
  Object.defineProperty(exports, "SheetFooter", {
25
25
  enumerable: true,
26
- get: function () { return chunkGHV2TURY_cjs.SheetFooter; }
26
+ get: function () { return chunk375QAB65_cjs.SheetFooter; }
27
27
  });
28
28
  Object.defineProperty(exports, "SheetHeader", {
29
29
  enumerable: true,
30
- get: function () { return chunkGHV2TURY_cjs.SheetHeader; }
30
+ get: function () { return chunk375QAB65_cjs.SheetHeader; }
31
31
  });
32
32
  Object.defineProperty(exports, "SheetTitle", {
33
33
  enumerable: true,
34
- get: function () { return chunkGHV2TURY_cjs.SheetTitle; }
34
+ get: function () { return chunk375QAB65_cjs.SheetTitle; }
35
35
  });
36
36
  Object.defineProperty(exports, "SheetTrigger", {
37
37
  enumerable: true,
38
- get: function () { return chunkGHV2TURY_cjs.SheetTrigger; }
38
+ get: function () { return chunk375QAB65_cjs.SheetTrigger; }
39
39
  });
@@ -1,34 +1,35 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import * as React from 'react';
2
3
  import { Dialog } from 'radix-ui';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import * as class_variance_authority_types from 'class-variance-authority/types';
6
6
 
7
- type SheetProps = Dialog.DialogProps;
8
- declare const Sheet: React.FC<Dialog.DialogProps>;
7
+ type SheetProps = React.ComponentProps<typeof Dialog.Root>;
8
+ declare function Sheet(props: SheetProps): react_jsx_runtime.JSX.Element;
9
9
 
10
- type SheetTriggerProps = Dialog.DialogTriggerProps;
11
- declare const SheetTrigger: React.ForwardRefExoticComponent<Dialog.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
10
+ type SheetTriggerProps = React.ComponentProps<typeof Dialog.Trigger>;
11
+ declare function SheetTrigger(props: SheetTriggerProps): react_jsx_runtime.JSX.Element;
12
12
 
13
- type SheetCloseProps = Dialog.DialogCloseProps;
14
- declare const SheetClose: React.ForwardRefExoticComponent<Dialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
13
+ type SheetCloseProps = React.ComponentProps<typeof Dialog.Close>;
14
+ declare function SheetClose(props: SheetCloseProps): react_jsx_runtime.JSX.Element;
15
15
 
16
16
  type SheetContentProps = React.ComponentProps<typeof Dialog.Content> & {
17
17
  side?: SheetContentSide;
18
+ showCloseButton?: boolean;
18
19
  };
19
- declare function SheetContent({ side, className, children, ...props }: SheetContentProps): react_jsx_runtime.JSX.Element;
20
+ declare function SheetContent({ side, showCloseButton, className, children, ...props }: SheetContentProps): react_jsx_runtime.JSX.Element;
20
21
 
21
22
  declare const sheetContentStyles: (props?: {
22
- side?: "top" | "bottom" | "left" | "right";
23
+ side?: "top" | "right" | "bottom" | "left";
23
24
  } & class_variance_authority_types.ClassProp) => string;
24
25
 
25
26
  type SheetContentCvaProps = VariantProps<typeof sheetContentStyles>;
26
27
  type SheetContentSide = NonNullable<SheetContentCvaProps["side"]>;
27
28
 
28
- type SheetHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
29
+ type SheetHeaderProps = React.ComponentProps<"div">;
29
30
  declare function SheetHeader({ className, ...props }: SheetHeaderProps): react_jsx_runtime.JSX.Element;
30
31
 
31
- type SheetFooterProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
32
+ type SheetFooterProps = React.ComponentProps<"div">;
32
33
  declare function SheetFooter({ className, ...props }: SheetFooterProps): react_jsx_runtime.JSX.Element;
33
34
 
34
35
  type SheetTitleProps = React.ComponentProps<typeof Dialog.Title>;
@@ -37,4 +38,4 @@ declare function SheetTitle({ className, ...props }: SheetTitleProps): react_jsx
37
38
  type SheetDescriptionProps = React.ComponentProps<typeof Dialog.Description>;
38
39
  declare function SheetDescription({ className, ...props }: SheetDescriptionProps): react_jsx_runtime.JSX.Element;
39
40
 
40
- export { Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, type SheetContentSide, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps };
41
+ export { Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, type SheetContentSide, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, type SheetContentSide as SheetSide, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps };
@@ -1,34 +1,35 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import * as React from 'react';
2
3
  import { Dialog } from 'radix-ui';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import * as class_variance_authority_types from 'class-variance-authority/types';
6
6
 
7
- type SheetProps = Dialog.DialogProps;
8
- declare const Sheet: React.FC<Dialog.DialogProps>;
7
+ type SheetProps = React.ComponentProps<typeof Dialog.Root>;
8
+ declare function Sheet(props: SheetProps): react_jsx_runtime.JSX.Element;
9
9
 
10
- type SheetTriggerProps = Dialog.DialogTriggerProps;
11
- declare const SheetTrigger: React.ForwardRefExoticComponent<Dialog.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
10
+ type SheetTriggerProps = React.ComponentProps<typeof Dialog.Trigger>;
11
+ declare function SheetTrigger(props: SheetTriggerProps): react_jsx_runtime.JSX.Element;
12
12
 
13
- type SheetCloseProps = Dialog.DialogCloseProps;
14
- declare const SheetClose: React.ForwardRefExoticComponent<Dialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
13
+ type SheetCloseProps = React.ComponentProps<typeof Dialog.Close>;
14
+ declare function SheetClose(props: SheetCloseProps): react_jsx_runtime.JSX.Element;
15
15
 
16
16
  type SheetContentProps = React.ComponentProps<typeof Dialog.Content> & {
17
17
  side?: SheetContentSide;
18
+ showCloseButton?: boolean;
18
19
  };
19
- declare function SheetContent({ side, className, children, ...props }: SheetContentProps): react_jsx_runtime.JSX.Element;
20
+ declare function SheetContent({ side, showCloseButton, className, children, ...props }: SheetContentProps): react_jsx_runtime.JSX.Element;
20
21
 
21
22
  declare const sheetContentStyles: (props?: {
22
- side?: "top" | "bottom" | "left" | "right";
23
+ side?: "top" | "right" | "bottom" | "left";
23
24
  } & class_variance_authority_types.ClassProp) => string;
24
25
 
25
26
  type SheetContentCvaProps = VariantProps<typeof sheetContentStyles>;
26
27
  type SheetContentSide = NonNullable<SheetContentCvaProps["side"]>;
27
28
 
28
- type SheetHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
29
+ type SheetHeaderProps = React.ComponentProps<"div">;
29
30
  declare function SheetHeader({ className, ...props }: SheetHeaderProps): react_jsx_runtime.JSX.Element;
30
31
 
31
- type SheetFooterProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
32
+ type SheetFooterProps = React.ComponentProps<"div">;
32
33
  declare function SheetFooter({ className, ...props }: SheetFooterProps): react_jsx_runtime.JSX.Element;
33
34
 
34
35
  type SheetTitleProps = React.ComponentProps<typeof Dialog.Title>;
@@ -37,4 +38,4 @@ declare function SheetTitle({ className, ...props }: SheetTitleProps): react_jsx
37
38
  type SheetDescriptionProps = React.ComponentProps<typeof Dialog.Description>;
38
39
  declare function SheetDescription({ className, ...props }: SheetDescriptionProps): react_jsx_runtime.JSX.Element;
39
40
 
40
- export { Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, type SheetContentSide, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps };
41
+ export { Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, type SheetContentSide, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, type SheetContentSide as SheetSide, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps };
@@ -1,2 +1,2 @@
1
- export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from '../../chunk-DTSFPOLX.js';
1
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from '../../chunk-H5NHGMSQ.js';
2
2
  import '../../chunk-ZD2QRAOX.js';
@@ -8,26 +8,26 @@ require('../../chunk-NU5UQPBX.cjs');
8
8
  require('../../chunk-KQ6QE7BT.cjs');
9
9
  require('../../chunk-A7SBXO2Y.cjs');
10
10
  require('../../chunk-EUH466AL.cjs');
11
- require('../../chunk-S2BCU6WG.cjs');
12
11
  require('../../chunk-TH44JYXB.cjs');
13
12
  require('../../chunk-XENOUBSI.cjs');
14
13
  require('../../chunk-UJX74PFK.cjs');
15
14
  require('../../chunk-XJZOANXX.cjs');
16
- require('../../chunk-GHV2TURY.cjs');
15
+ require('../../chunk-375QAB65.cjs');
17
16
  require('../../chunk-3WSQRFUY.cjs');
18
17
  require('../../chunk-VK5EX3OG.cjs');
19
18
  require('../../chunk-CXHDWIGF.cjs');
20
- require('../../chunk-DTYX7CYN.cjs');
19
+ require('../../chunk-GAZLMZBH.cjs');
20
+ require('../../chunk-S3ANEJJ7.cjs');
21
21
  require('../../chunk-6X26XC6P.cjs');
22
22
  require('../../chunk-5AA4IE2T.cjs');
23
23
  require('../../chunk-CFJ44JVK.cjs');
24
24
  require('../../chunk-UIOBJSKZ.cjs');
25
- require('../../chunk-S3ANEJJ7.cjs');
26
25
  require('../../chunk-2WQJ36RD.cjs');
26
+ require('../../chunk-S2BCU6WG.cjs');
27
27
  require('../../chunk-ZVF7J4EI.cjs');
28
- require('../../chunk-2Y2ZCPNV.cjs');
29
28
  require('../../chunk-HCHVDUI6.cjs');
30
29
  require('../../chunk-ULEEQ723.cjs');
30
+ require('../../chunk-2Y2ZCPNV.cjs');
31
31
  require('../../chunk-USIW3VT5.cjs');
32
32
  require('../../chunk-XIQUR62A.cjs');
33
33
  require('../../chunk-X3ZT3KGX.cjs');
@@ -6,26 +6,26 @@ import '../../chunk-OQCNPNPS.js';
6
6
  import '../../chunk-WXZE35FK.js';
7
7
  import '../../chunk-U7XZJQ4O.js';
8
8
  import '../../chunk-WMGJCB7O.js';
9
- import '../../chunk-DL54DIMD.js';
10
9
  import '../../chunk-PBEZZMAB.js';
11
10
  import '../../chunk-4TRADSTP.js';
12
11
  import '../../chunk-M7NIRB3U.js';
13
12
  import '../../chunk-E5TYGWGE.js';
14
- import '../../chunk-DTSFPOLX.js';
13
+ import '../../chunk-H5NHGMSQ.js';
15
14
  import '../../chunk-P5IUC7HJ.js';
16
15
  import '../../chunk-BTSHACKG.js';
17
16
  import '../../chunk-HNRVLRMN.js';
18
- import '../../chunk-3MH6P44N.js';
17
+ import '../../chunk-K5QSMTKJ.js';
18
+ import '../../chunk-I3RSTJP6.js';
19
19
  import '../../chunk-VT5GDGZJ.js';
20
20
  import '../../chunk-UGSNASZM.js';
21
21
  import '../../chunk-KGGCA634.js';
22
22
  import '../../chunk-XJIUGEPN.js';
23
- import '../../chunk-I3RSTJP6.js';
24
23
  import '../../chunk-YUMKV5TH.js';
24
+ import '../../chunk-DL54DIMD.js';
25
25
  import '../../chunk-U3QKV7I4.js';
26
- import '../../chunk-6BSR3O2J.js';
27
26
  import '../../chunk-5F2Y65JH.js';
28
27
  import '../../chunk-3RK5PCIC.js';
28
+ import '../../chunk-6BSR3O2J.js';
29
29
  import '../../chunk-P4JIMFSL.js';
30
30
  import '../../chunk-SB5UG7OC.js';
31
31
  import '../../chunk-B7RHEMZH.js';
@@ -8,26 +8,26 @@ require('../../chunk-NU5UQPBX.cjs');
8
8
  require('../../chunk-KQ6QE7BT.cjs');
9
9
  require('../../chunk-A7SBXO2Y.cjs');
10
10
  require('../../chunk-EUH466AL.cjs');
11
- require('../../chunk-S2BCU6WG.cjs');
12
11
  require('../../chunk-TH44JYXB.cjs');
13
12
  require('../../chunk-XENOUBSI.cjs');
14
13
  require('../../chunk-UJX74PFK.cjs');
15
14
  require('../../chunk-XJZOANXX.cjs');
16
- require('../../chunk-GHV2TURY.cjs');
15
+ require('../../chunk-375QAB65.cjs');
17
16
  require('../../chunk-3WSQRFUY.cjs');
18
17
  require('../../chunk-VK5EX3OG.cjs');
19
18
  require('../../chunk-CXHDWIGF.cjs');
20
- require('../../chunk-DTYX7CYN.cjs');
19
+ require('../../chunk-GAZLMZBH.cjs');
20
+ require('../../chunk-S3ANEJJ7.cjs');
21
21
  require('../../chunk-6X26XC6P.cjs');
22
22
  require('../../chunk-5AA4IE2T.cjs');
23
23
  require('../../chunk-CFJ44JVK.cjs');
24
24
  require('../../chunk-UIOBJSKZ.cjs');
25
- require('../../chunk-S3ANEJJ7.cjs');
26
25
  require('../../chunk-2WQJ36RD.cjs');
26
+ require('../../chunk-S2BCU6WG.cjs');
27
27
  require('../../chunk-ZVF7J4EI.cjs');
28
- require('../../chunk-2Y2ZCPNV.cjs');
29
28
  require('../../chunk-HCHVDUI6.cjs');
30
29
  require('../../chunk-ULEEQ723.cjs');
30
+ require('../../chunk-2Y2ZCPNV.cjs');
31
31
  require('../../chunk-USIW3VT5.cjs');
32
32
  require('../../chunk-XIQUR62A.cjs');
33
33
  require('../../chunk-X3ZT3KGX.cjs');
@@ -6,26 +6,26 @@ import '../../chunk-OQCNPNPS.js';
6
6
  import '../../chunk-WXZE35FK.js';
7
7
  import '../../chunk-U7XZJQ4O.js';
8
8
  import '../../chunk-WMGJCB7O.js';
9
- import '../../chunk-DL54DIMD.js';
10
9
  import '../../chunk-PBEZZMAB.js';
11
10
  import '../../chunk-4TRADSTP.js';
12
11
  import '../../chunk-M7NIRB3U.js';
13
12
  import '../../chunk-E5TYGWGE.js';
14
- import '../../chunk-DTSFPOLX.js';
13
+ import '../../chunk-H5NHGMSQ.js';
15
14
  import '../../chunk-P5IUC7HJ.js';
16
15
  import '../../chunk-BTSHACKG.js';
17
16
  import '../../chunk-HNRVLRMN.js';
18
- import '../../chunk-3MH6P44N.js';
17
+ import '../../chunk-K5QSMTKJ.js';
18
+ import '../../chunk-I3RSTJP6.js';
19
19
  import '../../chunk-VT5GDGZJ.js';
20
20
  import '../../chunk-UGSNASZM.js';
21
21
  import '../../chunk-KGGCA634.js';
22
22
  import '../../chunk-XJIUGEPN.js';
23
- import '../../chunk-I3RSTJP6.js';
24
23
  import '../../chunk-YUMKV5TH.js';
24
+ import '../../chunk-DL54DIMD.js';
25
25
  import '../../chunk-U3QKV7I4.js';
26
- import '../../chunk-6BSR3O2J.js';
27
26
  import '../../chunk-5F2Y65JH.js';
28
27
  import '../../chunk-3RK5PCIC.js';
28
+ import '../../chunk-6BSR3O2J.js';
29
29
  import '../../chunk-P4JIMFSL.js';
30
30
  import '../../chunk-SB5UG7OC.js';
31
31
  import '../../chunk-B7RHEMZH.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@szum-tech/design-system",
3
- "version": "3.12.2",
3
+ "version": "3.12.3",
4
4
  "description": "Szum-Tech design system with tailwindcss support",
5
5
  "keywords": [
6
6
  "szum-tech",
@@ -113,39 +113,39 @@
113
113
  "class-variance-authority": "^0.7.1",
114
114
  "clsx": "^2.1.1",
115
115
  "embla-carousel-react": "^8.6.0",
116
- "lucide-react": "^0.575.0",
117
- "motion": "^12.34.3",
116
+ "lucide-react": "^0.577.0",
117
+ "motion": "^12.36.0",
118
118
  "radix-ui": "^1.4.3",
119
119
  "sonner": "^2.0.7",
120
120
  "tailwind-merge": "^3.5.0",
121
121
  "tailwindcss-animate": "^1.0.7"
122
122
  },
123
123
  "devDependencies": {
124
- "@storybook-community/storybook-dark-mode": "^7.1.0",
125
- "@storybook/addon-a11y": "^10.2.10",
126
- "@storybook/addon-docs": "^10.2.10",
127
- "@storybook/addon-vitest": "^10.2.10",
128
- "@storybook/builder-vite": "^10.2.10",
129
- "@storybook/react-vite": "^10.2.10",
124
+ "@storybook-community/storybook-dark-mode": "^7.1.1",
125
+ "@storybook/addon-a11y": "^10.2.17",
126
+ "@storybook/addon-docs": "^10.2.17",
127
+ "@storybook/addon-vitest": "^10.2.17",
128
+ "@storybook/builder-vite": "^10.2.17",
129
+ "@storybook/react-vite": "^10.2.17",
130
130
  "@szum-tech/eslint-config": "^2.2.2",
131
131
  "@szum-tech/prettier-config": "^1.6.5",
132
132
  "@szum-tech/semantic-release-config": "^2.3.7",
133
- "@tailwindcss/vite": "^4.2.0",
133
+ "@tailwindcss/vite": "^4.2.1",
134
134
  "@testing-library/dom": "^10.4.1",
135
135
  "@testing-library/jest-dom": "^6.9.1",
136
136
  "@testing-library/react": "^16.3.2",
137
137
  "@testing-library/user-event": "^14.6.1",
138
- "@types/node": "^25.3.0",
138
+ "@types/node": "^25.4.0",
139
139
  "@types/react": "^19.2.14",
140
140
  "@types/react-dom": "^19.2.3",
141
- "@vitejs/plugin-react": "^5.1.4",
142
- "@vitest/browser": "^4.0.18",
143
- "@vitest/browser-playwright": "^4.0.18",
144
- "@vitest/coverage-v8": "^4.0.18",
145
- "@vitest/ui": "^4.0.18",
141
+ "@vitejs/plugin-react": "^5.2.0",
142
+ "@vitest/browser": "^4.1.0",
143
+ "@vitest/browser-playwright": "^4.1.0",
144
+ "@vitest/coverage-v8": "^4.1.0",
145
+ "@vitest/ui": "^4.1.0",
146
146
  "cpy-cli": "^7.0.0",
147
- "eslint": "^9.39.2",
148
- "happy-dom": "^20.7.0",
147
+ "eslint": "9.39.4",
148
+ "happy-dom": "^20.8.3",
149
149
  "playwright": "^1.58.2",
150
150
  "prettier": "^3.8.1",
151
151
  "react": "^19.2.4",
@@ -153,15 +153,15 @@
153
153
  "react-docgen-typescript": "^2.4.0",
154
154
  "react-dom": "^19.2.4",
155
155
  "semantic-release": "^25.0.3",
156
- "serve": "^14.2.5",
157
- "storybook": "^10.2.10",
156
+ "serve": "^14.2.6",
157
+ "storybook": "^10.2.17",
158
158
  "storybook-addon-tag-badges": "^3.0.6",
159
- "tailwindcss": "^4.2.0",
159
+ "tailwindcss": "^4.2.1",
160
160
  "tsup": "^8.5.1",
161
161
  "typescript": "^5.9.3",
162
162
  "vite": "^7.3.1",
163
163
  "vite-tsconfig-paths": "^6.1.1",
164
- "vitest": "^4.0.18"
164
+ "vitest": "^4.1.0"
165
165
  },
166
166
  "peerDependencies": {
167
167
  "react": ">=19",
@@ -1,51 +0,0 @@
1
- import { cn } from './chunk-ZD2QRAOX.js';
2
- import { Dialog } from 'radix-ui';
3
- import { X } from 'lucide-react';
4
- import { cva } from 'class-variance-authority';
5
- import { jsxs, jsx } from 'react/jsx-runtime';
6
-
7
- var Sheet = Dialog.Root;
8
- var SheetTrigger = Dialog.Trigger;
9
- var SheetClose = Dialog.Close;
10
- var sheetContentStyles = cva(
11
- "bg-app-foreground data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col border-gray-800 p-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
12
- {
13
- variants: {
14
- side: {
15
- top: "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 border-b",
16
- bottom: "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 border-t",
17
- left: "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
18
- right: "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm"
19
- }
20
- },
21
- defaultVariants: {
22
- side: "right"
23
- }
24
- }
25
- );
26
- function SheetContent({ side = "right", className, children, ...props }) {
27
- return /* @__PURE__ */ jsxs(Dialog.Portal, { children: [
28
- /* @__PURE__ */ jsx(Dialog.Overlay, { className: "bg-app-background/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 backdrop-blur-sm" }),
29
- /* @__PURE__ */ jsxs(Dialog.Content, { className: cn(sheetContentStyles({ side }), className), ...props, children: [
30
- children,
31
- /* @__PURE__ */ jsxs(Dialog.Close, { className: "focus:ring-ring ring-primary-500 ring-offset-app-foreground data-[state=open]:bg-app-foreground absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none", children: [
32
- /* @__PURE__ */ jsx(X, { className: "size-4" }),
33
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
34
- ] })
35
- ] })
36
- ] });
37
- }
38
- function SheetHeader({ className, ...props }) {
39
- return /* @__PURE__ */ jsx("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
40
- }
41
- function SheetFooter({ className, ...props }) {
42
- return /* @__PURE__ */ jsx("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
43
- }
44
- function SheetTitle({ className, ...props }) {
45
- return /* @__PURE__ */ jsx(Dialog.Title, { className: cn("typography-heading-6", className), ...props });
46
- }
47
- function SheetDescription({ className, ...props }) {
48
- return /* @__PURE__ */ jsx(Dialog.Description, { className: cn("typography-body-2 text-gray-300", className), ...props });
49
- }
50
-
51
- export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
@@ -1,60 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkH2BWO3SI_cjs = require('./chunk-H2BWO3SI.cjs');
4
- var radixUi = require('radix-ui');
5
- var lucideReact = require('lucide-react');
6
- var classVarianceAuthority = require('class-variance-authority');
7
- var jsxRuntime = require('react/jsx-runtime');
8
-
9
- var Sheet = radixUi.Dialog.Root;
10
- var SheetTrigger = radixUi.Dialog.Trigger;
11
- var SheetClose = radixUi.Dialog.Close;
12
- var sheetContentStyles = classVarianceAuthority.cva(
13
- "bg-app-foreground data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col border-gray-800 p-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
14
- {
15
- variants: {
16
- side: {
17
- top: "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 border-b",
18
- bottom: "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 border-t",
19
- left: "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
20
- right: "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm"
21
- }
22
- },
23
- defaultVariants: {
24
- side: "right"
25
- }
26
- }
27
- );
28
- function SheetContent({ side = "right", className, children, ...props }) {
29
- return /* @__PURE__ */ jsxRuntime.jsxs(radixUi.Dialog.Portal, { children: [
30
- /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Overlay, { className: "bg-app-background/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 backdrop-blur-sm" }),
31
- /* @__PURE__ */ jsxRuntime.jsxs(radixUi.Dialog.Content, { className: chunkH2BWO3SI_cjs.cn(sheetContentStyles({ side }), className), ...props, children: [
32
- children,
33
- /* @__PURE__ */ jsxRuntime.jsxs(radixUi.Dialog.Close, { className: "focus:ring-ring ring-primary-500 ring-offset-app-foreground data-[state=open]:bg-app-foreground absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none", children: [
34
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-4" }),
35
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
36
- ] })
37
- ] })
38
- ] });
39
- }
40
- function SheetHeader({ className, ...props }) {
41
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkH2BWO3SI_cjs.cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
42
- }
43
- function SheetFooter({ className, ...props }) {
44
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkH2BWO3SI_cjs.cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
45
- }
46
- function SheetTitle({ className, ...props }) {
47
- return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Title, { className: chunkH2BWO3SI_cjs.cn("typography-heading-6", className), ...props });
48
- }
49
- function SheetDescription({ className, ...props }) {
50
- return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Description, { className: chunkH2BWO3SI_cjs.cn("typography-body-2 text-gray-300", className), ...props });
51
- }
52
-
53
- exports.Sheet = Sheet;
54
- exports.SheetClose = SheetClose;
55
- exports.SheetContent = SheetContent;
56
- exports.SheetDescription = SheetDescription;
57
- exports.SheetFooter = SheetFooter;
58
- exports.SheetHeader = SheetHeader;
59
- exports.SheetTitle = SheetTitle;
60
- exports.SheetTrigger = SheetTrigger;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkUIOBJSKZ_cjs = require('./chunk-UIOBJSKZ.cjs');
4
3
  var chunkS3ANEJJ7_cjs = require('./chunk-S3ANEJJ7.cjs');
4
+ var chunkUIOBJSKZ_cjs = require('./chunk-UIOBJSKZ.cjs');
5
5
  var chunkH2BWO3SI_cjs = require('./chunk-H2BWO3SI.cjs');
6
6
  var classVarianceAuthority = require('class-variance-authority');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -1,5 +1,5 @@
1
- import { Separator } from './chunk-XJIUGEPN.js';
2
1
  import { Label } from './chunk-I3RSTJP6.js';
2
+ import { Separator } from './chunk-XJIUGEPN.js';
3
3
  import { cn } from './chunk-ZD2QRAOX.js';
4
4
  import { cva } from 'class-variance-authority';
5
5
  import { jsx, jsxs } from 'react/jsx-runtime';