@codefast/ui 0.0.34 → 0.0.35
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/animate.plugin.ts +68 -42
- package/dist/accordion.js +1 -1
- package/dist/accordion.js.map +1 -1
- package/dist/accordion.mjs +1 -1
- package/dist/accordion.mjs.map +1 -1
- package/dist/alert-dialog.js +1 -1
- package/dist/alert-dialog.js.map +1 -1
- package/dist/alert-dialog.mjs +1 -1
- package/dist/alert-dialog.mjs.map +1 -1
- package/dist/alert.js +1 -1
- package/dist/alert.js.map +1 -1
- package/dist/alert.mjs +1 -1
- package/dist/alert.mjs.map +1 -1
- package/dist/animate.plugin.js +1 -1
- package/dist/animate.plugin.mjs +1 -1
- package/dist/button.js +1 -1
- package/dist/button.mjs +1 -1
- package/dist/calendar.js +1 -1
- package/dist/calendar.mjs +1 -1
- package/dist/card.js +1 -1
- package/dist/card.js.map +1 -1
- package/dist/card.mjs +1 -1
- package/dist/card.mjs.map +1 -1
- package/dist/carousel.js +1 -1
- package/dist/carousel.js.map +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/carousel.mjs.map +1 -1
- package/dist/checkbox-cards.js +1 -1
- package/dist/checkbox-cards.js.map +1 -1
- package/dist/checkbox-cards.mjs +1 -1
- package/dist/checkbox-cards.mjs.map +1 -1
- package/dist/{chunk-MZK6NKEQ.mjs → chunk-4UVLRXTB.mjs} +2 -2
- package/dist/chunk-55N7YRUU.js +2 -0
- package/dist/chunk-55N7YRUU.js.map +1 -0
- package/dist/chunk-5M27PLCC.js +2 -0
- package/dist/chunk-5M27PLCC.js.map +1 -0
- package/dist/chunk-7XGQAAYA.mjs +2 -0
- package/dist/chunk-7XGQAAYA.mjs.map +1 -0
- package/dist/chunk-AGQAQPG4.mjs +2 -0
- package/dist/chunk-AGQAQPG4.mjs.map +1 -0
- package/dist/chunk-F573R6SD.mjs +2 -0
- package/dist/chunk-F573R6SD.mjs.map +1 -0
- package/dist/chunk-FEHY6EXQ.js +2 -0
- package/dist/chunk-FEHY6EXQ.js.map +1 -0
- package/dist/chunk-FMUUVBVI.mjs +2 -0
- package/dist/chunk-FMUUVBVI.mjs.map +1 -0
- package/dist/chunk-ICHQEE5Q.js +2 -0
- package/dist/chunk-ICHQEE5Q.js.map +1 -0
- package/dist/chunk-KXTYKCZX.js +2 -0
- package/dist/chunk-KXTYKCZX.js.map +1 -0
- package/dist/{chunk-HL4LYB74.js → chunk-MUVQMEAI.js} +2 -2
- package/dist/chunk-YZ5BKYGH.mjs +2 -0
- package/dist/chunk-YZ5BKYGH.mjs.map +1 -0
- package/dist/collapsible.d.mts +1 -1
- package/dist/collapsible.d.ts +1 -1
- package/dist/collapsible.js +1 -1
- package/dist/collapsible.js.map +1 -1
- package/dist/collapsible.mjs +1 -1
- package/dist/collapsible.mjs.map +1 -1
- package/dist/command.js +1 -1
- package/dist/command.js.map +1 -1
- package/dist/command.mjs +1 -1
- package/dist/command.mjs.map +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/context-menu.js.map +1 -1
- package/dist/context-menu.mjs +1 -1
- package/dist/context-menu.mjs.map +1 -1
- package/dist/data-table.js +1 -1
- package/dist/data-table.mjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/dialog.mjs +1 -1
- package/dist/drawer.js +1 -1
- package/dist/drawer.js.map +1 -1
- package/dist/drawer.mjs +1 -1
- package/dist/drawer.mjs.map +1 -1
- package/dist/dropdown-menu.js +1 -1
- package/dist/dropdown-menu.mjs +1 -1
- package/dist/form.js +1 -1
- package/dist/form.js.map +1 -1
- package/dist/form.mjs +1 -1
- package/dist/form.mjs.map +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/hover-card.js.map +1 -1
- package/dist/hover-card.mjs +1 -1
- package/dist/hover-card.mjs.map +1 -1
- package/dist/input-otp.js +1 -1
- package/dist/input-otp.js.map +1 -1
- package/dist/input-otp.mjs +1 -1
- package/dist/input-otp.mjs.map +1 -1
- package/dist/menubar.js +1 -1
- package/dist/menubar.js.map +1 -1
- package/dist/menubar.mjs +1 -1
- package/dist/menubar.mjs.map +1 -1
- package/dist/navigation-menu.d.mts +1 -5
- package/dist/navigation-menu.d.ts +1 -5
- package/dist/navigation-menu.js +1 -1
- package/dist/navigation-menu.js.map +1 -1
- package/dist/navigation-menu.mjs +1 -1
- package/dist/navigation-menu.mjs.map +1 -1
- package/dist/pagination.js +1 -1
- package/dist/pagination.mjs +1 -1
- package/dist/popover.js +1 -1
- package/dist/popover.js.map +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/popover.mjs.map +1 -1
- package/dist/radio-cards.js +1 -1
- package/dist/radio-cards.js.map +1 -1
- package/dist/radio-cards.mjs +1 -1
- package/dist/radio-cards.mjs.map +1 -1
- package/dist/scroll-area.js +1 -1
- package/dist/scroll-area.js.map +1 -1
- package/dist/scroll-area.mjs +1 -1
- package/dist/scroll-area.mjs.map +1 -1
- package/dist/select.js +1 -1
- package/dist/select.mjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/sheet.js.map +1 -1
- package/dist/sheet.mjs +1 -1
- package/dist/sheet.mjs.map +1 -1
- package/dist/skeleton.js +1 -1
- package/dist/skeleton.js.map +1 -1
- package/dist/skeleton.mjs +1 -1
- package/dist/skeleton.mjs.map +1 -1
- package/dist/spinner.js +1 -1
- package/dist/spinner.mjs +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/tailwind.config.js.map +1 -1
- package/dist/tailwind.config.mjs +1 -1
- package/dist/tailwind.config.mjs.map +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/toggle-group.js.map +1 -1
- package/dist/toggle-group.mjs +1 -1
- package/dist/toggle-group.mjs.map +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/tooltip.js.map +1 -1
- package/dist/tooltip.mjs +1 -1
- package/dist/tooltip.mjs.map +1 -1
- package/package.json +1 -1
- package/src/accordion.tsx +5 -8
- package/src/alert-dialog.tsx +2 -2
- package/src/alert.tsx +1 -1
- package/src/card.tsx +1 -1
- package/src/carousel.tsx +1 -1
- package/src/checkbox-cards.tsx +2 -7
- package/src/collapsible.tsx +18 -2
- package/src/command.tsx +1 -1
- package/src/context-menu.tsx +9 -9
- package/src/dialog.tsx +3 -3
- package/src/drawer.tsx +1 -1
- package/src/dropdown-menu.tsx +9 -9
- package/src/form.tsx +1 -1
- package/src/hover-card.tsx +1 -1
- package/src/input-otp.tsx +1 -1
- package/src/menubar.tsx +10 -10
- package/src/navigation-menu.tsx +12 -13
- package/src/popover.tsx +1 -1
- package/src/radio-cards.tsx +1 -1
- package/src/scroll-area.tsx +1 -1
- package/src/select.tsx +5 -5
- package/src/sheet.tsx +3 -3
- package/src/skeleton.tsx +1 -1
- package/src/spinner.tsx +2 -2
- package/src/toggle-group.tsx +2 -2
- package/src/tooltip.tsx +1 -1
- package/tailwind.config.ts +7 -7
- package/dist/chunk-2RQCRE7N.js +0 -2
- package/dist/chunk-2RQCRE7N.js.map +0 -1
- package/dist/chunk-4PLFXJV7.js +0 -2
- package/dist/chunk-4PLFXJV7.js.map +0 -1
- package/dist/chunk-HJ4U5JJA.mjs +0 -2
- package/dist/chunk-HJ4U5JJA.mjs.map +0 -1
- package/dist/chunk-JVGHOCS7.js +0 -2
- package/dist/chunk-JVGHOCS7.js.map +0 -1
- package/dist/chunk-K2R52EI6.js +0 -2
- package/dist/chunk-K2R52EI6.js.map +0 -1
- package/dist/chunk-OFYFDUZA.mjs +0 -2
- package/dist/chunk-OFYFDUZA.mjs.map +0 -1
- package/dist/chunk-OMKKUHYT.mjs +0 -2
- package/dist/chunk-OMKKUHYT.mjs.map +0 -1
- package/dist/chunk-TMXZMQRK.mjs +0 -2
- package/dist/chunk-TMXZMQRK.mjs.map +0 -1
- package/dist/chunk-Y3CNKB2A.js +0 -2
- package/dist/chunk-Y3CNKB2A.js.map +0 -1
- package/dist/chunk-Y4C6DTPN.mjs +0 -2
- package/dist/chunk-Y4C6DTPN.mjs.map +0 -1
- /package/dist/{chunk-MZK6NKEQ.mjs.map → chunk-4UVLRXTB.mjs.map} +0 -0
- /package/dist/{chunk-HL4LYB74.js.map → chunk-MUVQMEAI.js.map} +0 -0
package/animate.plugin.ts
CHANGED
|
@@ -5,50 +5,76 @@ type Theme = <TDefaultValue = Config["theme"]>(path?: string, defaultValue?: TDe
|
|
|
5
5
|
|
|
6
6
|
const animate = plugin(
|
|
7
7
|
({ addUtilities, matchUtilities, theme }) => {
|
|
8
|
+
// Keyframes
|
|
8
9
|
addUtilities({
|
|
9
|
-
"@keyframes
|
|
10
|
+
"@keyframes in": {
|
|
10
11
|
from: {
|
|
11
|
-
opacity: "var(--animate-
|
|
12
|
+
opacity: "var(--animate-in-opacity, 1)",
|
|
12
13
|
transform: [
|
|
13
|
-
"translate3d(var(--animate-
|
|
14
|
-
"scale3d(var(--animate-
|
|
15
|
-
"rotate(var(--animate-
|
|
14
|
+
"translate3d(var(--animate-in-translate-x, 0), var(--animate-in-translate-y, 0), 0)",
|
|
15
|
+
"scale3d(var(--animate-in-scale, 1), var(--animate-in-scale, 1), var(--animate-in-scale, 1))",
|
|
16
|
+
"rotate(var(--animate-in-rotate, 0))",
|
|
16
17
|
].join(" "),
|
|
17
18
|
},
|
|
18
19
|
},
|
|
19
20
|
|
|
20
|
-
"@keyframes
|
|
21
|
+
"@keyframes out": {
|
|
21
22
|
to: {
|
|
22
|
-
opacity: "var(--animate-
|
|
23
|
+
opacity: "var(--animate-out-opacity, 1)",
|
|
23
24
|
transform: [
|
|
24
|
-
"translate3d(var(--animate-
|
|
25
|
-
"scale3d(var(--animate-
|
|
26
|
-
"rotate(var(--animate-
|
|
25
|
+
"translate3d(var(--animate-out-translate-x, 0), var(--animate-out-translate-y, 0), 0)",
|
|
26
|
+
"scale3d(var(--animate-out-scale, 1), var(--animate-out-scale, 1), var(--animate-out-scale, 1))",
|
|
27
|
+
"rotate(var(--animate-out-rotate, 0))",
|
|
27
28
|
].join(" "),
|
|
28
29
|
},
|
|
29
30
|
},
|
|
30
31
|
|
|
32
|
+
"@keyframes fade-in": {
|
|
33
|
+
from: {
|
|
34
|
+
opacity: "var(--animate-in-opacity, 0)",
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
"@keyframes fade-out": {
|
|
39
|
+
to: {
|
|
40
|
+
opacity: "var(--animate-out-opacity, 0)",
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
|
|
31
44
|
".animate-in": {
|
|
32
|
-
animationName: "
|
|
45
|
+
animationName: "in",
|
|
33
46
|
animationDuration: theme("animationDuration.DEFAULT"),
|
|
34
|
-
"--animate-
|
|
35
|
-
"--animate-
|
|
36
|
-
"--animate-
|
|
37
|
-
"--animate-
|
|
38
|
-
"--animate-
|
|
47
|
+
"--animate-in-opacity": "initial",
|
|
48
|
+
"--animate-in-scale": "initial",
|
|
49
|
+
"--animate-in-rotate": "initial",
|
|
50
|
+
"--animate-in-translate-x": "initial",
|
|
51
|
+
"--animate-in-translate-y": "initial",
|
|
39
52
|
},
|
|
40
53
|
|
|
41
54
|
".animate-out": {
|
|
42
|
-
animationName: "
|
|
55
|
+
animationName: "out",
|
|
56
|
+
animationDuration: theme("animationDuration.DEFAULT"),
|
|
57
|
+
"--animate-out-opacity": "initial",
|
|
58
|
+
"--animate-out-scale": "initial",
|
|
59
|
+
"--animate-out-rotate": "initial",
|
|
60
|
+
"--animate-out-translate-x": "initial",
|
|
61
|
+
"--animate-out-translate-y": "initial",
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
".animate-fade-in": {
|
|
65
|
+
animationName: "fade-in",
|
|
66
|
+
animationDuration: theme("animationDuration.DEFAULT"),
|
|
67
|
+
"--animate-in-opacity": "initial",
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
".animate-fade-out": {
|
|
71
|
+
animationName: "fade-out",
|
|
43
72
|
animationDuration: theme("animationDuration.DEFAULT"),
|
|
44
|
-
"--animate-
|
|
45
|
-
"--animate-exit-scale": "initial",
|
|
46
|
-
"--animate-exit-rotate": "initial",
|
|
47
|
-
"--animate-exit-translate-x": "initial",
|
|
48
|
-
"--animate-exit-translate-y": "initial",
|
|
73
|
+
"--animate-out-opacity": "initial",
|
|
49
74
|
},
|
|
50
75
|
});
|
|
51
76
|
|
|
77
|
+
// Play state
|
|
52
78
|
addUtilities({
|
|
53
79
|
".animation-running": {
|
|
54
80
|
animationPlayState: "running",
|
|
@@ -61,7 +87,7 @@ const animate = plugin(
|
|
|
61
87
|
// Delay
|
|
62
88
|
matchUtilities(
|
|
63
89
|
{
|
|
64
|
-
"
|
|
90
|
+
"animate-delay": (value) => ({
|
|
65
91
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
66
92
|
animationDelay: value,
|
|
67
93
|
}),
|
|
@@ -74,7 +100,7 @@ const animate = plugin(
|
|
|
74
100
|
// Direction
|
|
75
101
|
matchUtilities(
|
|
76
102
|
{
|
|
77
|
-
"
|
|
103
|
+
"animate-direction": (value) => ({
|
|
78
104
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
79
105
|
animationDirection: value,
|
|
80
106
|
}),
|
|
@@ -87,7 +113,7 @@ const animate = plugin(
|
|
|
87
113
|
// Duration
|
|
88
114
|
matchUtilities(
|
|
89
115
|
{
|
|
90
|
-
"
|
|
116
|
+
"animate-duration": (value) => ({
|
|
91
117
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
92
118
|
animationDuration: value,
|
|
93
119
|
}),
|
|
@@ -100,7 +126,7 @@ const animate = plugin(
|
|
|
100
126
|
// Fill mode
|
|
101
127
|
matchUtilities(
|
|
102
128
|
{
|
|
103
|
-
"
|
|
129
|
+
"animate-fill-mode": (value) => ({
|
|
104
130
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
105
131
|
animationFillMode: value,
|
|
106
132
|
}),
|
|
@@ -115,11 +141,11 @@ const animate = plugin(
|
|
|
115
141
|
{
|
|
116
142
|
"fade-in": (value) => ({
|
|
117
143
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
118
|
-
"--animate-
|
|
144
|
+
"--animate-in-opacity": value,
|
|
119
145
|
}),
|
|
120
146
|
"fade-out": (value) => ({
|
|
121
147
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
122
|
-
"--animate-
|
|
148
|
+
"--animate-out-opacity": value,
|
|
123
149
|
}),
|
|
124
150
|
},
|
|
125
151
|
{
|
|
@@ -130,7 +156,7 @@ const animate = plugin(
|
|
|
130
156
|
// Repeat
|
|
131
157
|
matchUtilities(
|
|
132
158
|
{
|
|
133
|
-
"
|
|
159
|
+
"animate-repeat": (value) => ({
|
|
134
160
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
135
161
|
animationIterationCount: value,
|
|
136
162
|
}),
|
|
@@ -145,11 +171,11 @@ const animate = plugin(
|
|
|
145
171
|
{
|
|
146
172
|
"spin-in": (value) => ({
|
|
147
173
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
148
|
-
"--animate-
|
|
174
|
+
"--animate-in-rotate": value,
|
|
149
175
|
}),
|
|
150
176
|
"spin-out": (value) => ({
|
|
151
177
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
152
|
-
"--animate-
|
|
178
|
+
"--animate-out-rotate": value,
|
|
153
179
|
}),
|
|
154
180
|
},
|
|
155
181
|
{
|
|
@@ -162,11 +188,11 @@ const animate = plugin(
|
|
|
162
188
|
{
|
|
163
189
|
"zoom-in": (value) => ({
|
|
164
190
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
165
|
-
"--animate-
|
|
191
|
+
"--animate-in-scale": value,
|
|
166
192
|
}),
|
|
167
193
|
"zoom-out": (value) => ({
|
|
168
194
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
169
|
-
"--animate-
|
|
195
|
+
"--animate-out-scale": value,
|
|
170
196
|
}),
|
|
171
197
|
},
|
|
172
198
|
{
|
|
@@ -177,7 +203,7 @@ const animate = plugin(
|
|
|
177
203
|
// Timing function
|
|
178
204
|
matchUtilities(
|
|
179
205
|
{
|
|
180
|
-
"
|
|
206
|
+
"animate-ease": (value) => ({
|
|
181
207
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
182
208
|
animationTimingFunction: value,
|
|
183
209
|
}),
|
|
@@ -191,39 +217,39 @@ const animate = plugin(
|
|
|
191
217
|
matchUtilities(
|
|
192
218
|
{
|
|
193
219
|
"slide-in-from-top": (value) => ({
|
|
194
|
-
"--animate-
|
|
220
|
+
"--animate-in-translate-y": `-${value}`,
|
|
195
221
|
}),
|
|
196
222
|
|
|
197
223
|
"slide-in-from-bottom": (value) => ({
|
|
198
224
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
199
|
-
"--animate-
|
|
225
|
+
"--animate-in-translate-y": value,
|
|
200
226
|
}),
|
|
201
227
|
|
|
202
228
|
"slide-in-from-left": (value) => ({
|
|
203
|
-
"--animate-
|
|
229
|
+
"--animate-in-translate-x": `-${value}`,
|
|
204
230
|
}),
|
|
205
231
|
|
|
206
232
|
"slide-in-from-right": (value) => ({
|
|
207
233
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
208
|
-
"--animate-
|
|
234
|
+
"--animate-in-translate-x": value,
|
|
209
235
|
}),
|
|
210
236
|
|
|
211
237
|
"slide-out-to-top": (value) => ({
|
|
212
|
-
"--animate-
|
|
238
|
+
"--animate-out-translate-y": `-${value}`,
|
|
213
239
|
}),
|
|
214
240
|
|
|
215
241
|
"slide-out-to-bottom": (value) => ({
|
|
216
242
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
217
|
-
"--animate-
|
|
243
|
+
"--animate-out-translate-y": value,
|
|
218
244
|
}),
|
|
219
245
|
|
|
220
246
|
"slide-out-to-left": (value) => ({
|
|
221
|
-
"--animate-
|
|
247
|
+
"--animate-out-translate-x": `-${value}`,
|
|
222
248
|
}),
|
|
223
249
|
|
|
224
250
|
"slide-out-to-right": (value) => ({
|
|
225
251
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- safe
|
|
226
|
-
"--animate-
|
|
252
|
+
"--animate-out-translate-x": value,
|
|
227
253
|
}),
|
|
228
254
|
},
|
|
229
255
|
{
|
package/dist/accordion.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var n = _interopRequireWildcard(_react);var _reactaccordion = require('@radix-ui/react-accordion'); var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var n = _interopRequireWildcard(_react);var _reactaccordion = require('@radix-ui/react-accordion'); var e = _interopRequireWildcard(_reactaccordion);var _reacticons = require('@radix-ui/react-icons');var _jsxruntime = require('react/jsx-runtime');var P=e.Root,a= exports.AccordionItem =n.forwardRef(({className:o,...t},i)=>_jsxruntime.jsx.call(void 0, e.Item,{ref:i,className:_chunkQZCQ42BPjs.b.call(void 0, "border-b",o),...t}));a.displayName=e.Item.displayName;var p=n.forwardRef(({children:o,className:t,...i},m)=>_jsxruntime.jsx.call(void 0, e.Header,{className:"flex",children:_jsxruntime.jsxs.call(void 0, e.Trigger,{ref:m,className:_chunkQZCQ42BPjs.b.call(void 0, "group flex flex-1 items-center justify-between py-4 text-sm font-medium",t),...i,children:[o,_jsxruntime.jsx.call(void 0, _reacticons.ChevronDownIcon,{className:"text-muted-foreground size-4 shrink-0 transition group-data-[state=open]:rotate-180"})]})}));p.displayName=e.Trigger.displayName;var s=n.forwardRef(({children:o,className:t,...i},m)=>_jsxruntime.jsx.call(void 0, e.Content,{ref:m,className:"data-[state=open]:animate-collapsible-open data-[state=closed]:animate-collapsible-closed overflow-hidden text-sm",...i,children:_jsxruntime.jsx.call(void 0, "div",{className:_chunkQZCQ42BPjs.b.call(void 0, "pb-4 pt-0",t),children:o})}));s.displayName=e.Content.displayName;exports.Accordion = P; exports.AccordionContent = s; exports.AccordionItem = a; exports.AccordionTrigger = p;
|
|
2
2
|
//# sourceMappingURL=accordion.js.map
|
package/dist/accordion.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/accordion.tsx"],"names":["React","AccordionPrimitive","ChevronDownIcon","jsx","jsxs","Accordion","AccordionItem","className","props","ref","cn","AccordionTrigger","children","AccordionContent"],"mappings":"qDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAwB,4BACpC,OAAS,mBAAAC,MAAuB,wBAkB9B,cAAAC,EAeI,QAAAC,MAfJ,oBAVF,IAAMC,EAA+B,OAS/BC,EAAsB,aAAqD,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACzGN,EAAoB,OAAnB,CAAwB,IAAKM,EAAK,UAAWC,EAAG,WAAYH,CAAS,EAAI,GAAGC,EAAO,CACrF,EAEDF,EAAc,YAAiC,OAAK,YASpD,IAAMK,EAAyB,aAC7B,CAAC,CAAE,
|
|
1
|
+
{"version":3,"sources":["../src/accordion.tsx"],"names":["React","AccordionPrimitive","ChevronDownIcon","jsx","jsxs","Accordion","AccordionItem","className","props","ref","cn","AccordionTrigger","children","AccordionContent"],"mappings":"qDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAwB,4BACpC,OAAS,mBAAAC,MAAuB,wBAkB9B,cAAAC,EAeI,QAAAC,MAfJ,oBAVF,IAAMC,EAA+B,OAS/BC,EAAsB,aAAqD,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACzGN,EAAoB,OAAnB,CAAwB,IAAKM,EAAK,UAAWC,EAAG,WAAYH,CAAS,EAAI,GAAGC,EAAO,CACrF,EAEDF,EAAc,YAAiC,OAAK,YASpD,IAAMK,EAAyB,aAC7B,CAAC,CAAE,SAAAC,EAAU,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IAClCN,EAAoB,SAAnB,CAA0B,UAAU,OACnC,SAAAC,EAAoB,UAAnB,CACC,IAAKK,EACL,UAAWC,EAAG,0EAA2EH,CAAS,EACjG,GAAGC,EAEH,UAAAI,EACDT,EAACD,EAAA,CAAgB,UAAU,sFAAsF,GACnH,EACF,CAEJ,EAEAS,EAAiB,YAAiC,UAAQ,YAS1D,IAAME,EAAyB,aAC7B,CAAC,CAAE,SAAAD,EAAU,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IAClCN,EAAoB,UAAnB,CACC,IAAKM,EACL,UAAU,oHACT,GAAGD,EAEJ,SAAAL,EAAC,OAAI,UAAWO,EAAG,YAAaH,CAAS,EAAI,SAAAK,EAAS,EACxD,CAEJ,EAEAC,EAAiB,YAAiC,UAAQ","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\";\nimport { ChevronDownIcon } from \"@radix-ui/react-icons\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Accordion\n * -------------------------------------------------------------------------- */\n\ntype AccordionProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;\nconst Accordion = AccordionPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionItem\n * -------------------------------------------------------------------------- */\n\ntype AccordionItemElement = React.ElementRef<typeof AccordionPrimitive.Item>;\ntype AccordionItemProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>;\n\nconst AccordionItem = React.forwardRef<AccordionItemElement, AccordionItemProps>(({ className, ...props }, ref) => (\n <AccordionPrimitive.Item ref={ref} className={cn(\"border-b\", className)} {...props} />\n));\n\nAccordionItem.displayName = AccordionPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionTrigger\n * -------------------------------------------------------------------------- */\n\ntype AccordionTriggerElement = React.ElementRef<typeof AccordionPrimitive.Trigger>;\ntype AccordionTriggerProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>;\n\nconst AccordionTrigger = React.forwardRef<AccordionTriggerElement, AccordionTriggerProps>(\n ({ children, className, ...props }, ref) => (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n ref={ref}\n className={cn(\"group flex flex-1 items-center justify-between py-4 text-sm font-medium\", className)}\n {...props}\n >\n {children}\n <ChevronDownIcon className=\"text-muted-foreground size-4 shrink-0 transition group-data-[state=open]:rotate-180\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n ),\n);\n\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionContent\n * -------------------------------------------------------------------------- */\n\ntype AccordionContentElement = React.ElementRef<typeof AccordionPrimitive.Content>;\ntype AccordionContentProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>;\n\nconst AccordionContent = React.forwardRef<AccordionContentElement, AccordionContentProps>(\n ({ children, className, ...props }, ref) => (\n <AccordionPrimitive.Content\n ref={ref}\n className=\"data-[state=open]:animate-collapsible-open data-[state=closed]:animate-collapsible-closed overflow-hidden text-sm\"\n {...props}\n >\n <div className={cn(\"pb-4 pt-0\", className)}>{children}</div>\n </AccordionPrimitive.Content>\n ),\n);\n\nAccordionContent.displayName = AccordionPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Accordion,\n AccordionItem,\n AccordionTrigger,\n AccordionContent,\n type AccordionProps,\n type AccordionItemProps,\n type AccordionTriggerProps,\n type AccordionContentProps,\n};\n"]}
|
package/dist/accordion.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{b as c}from"./chunk-JTI7KCLO.mjs";import*as n from"react";import*as
|
|
1
|
+
"use client";import{b as c}from"./chunk-JTI7KCLO.mjs";import*as n from"react";import*as e from"@radix-ui/react-accordion";import{ChevronDownIcon as d}from"@radix-ui/react-icons";import{jsx as r,jsxs as A}from"react/jsx-runtime";var P=e.Root,a=n.forwardRef(({className:o,...t},i)=>r(e.Item,{ref:i,className:c("border-b",o),...t}));a.displayName=e.Item.displayName;var p=n.forwardRef(({children:o,className:t,...i},m)=>r(e.Header,{className:"flex",children:A(e.Trigger,{ref:m,className:c("group flex flex-1 items-center justify-between py-4 text-sm font-medium",t),...i,children:[o,r(d,{className:"text-muted-foreground size-4 shrink-0 transition group-data-[state=open]:rotate-180"})]})}));p.displayName=e.Trigger.displayName;var s=n.forwardRef(({children:o,className:t,...i},m)=>r(e.Content,{ref:m,className:"data-[state=open]:animate-collapsible-open data-[state=closed]:animate-collapsible-closed overflow-hidden text-sm",...i,children:r("div",{className:c("pb-4 pt-0",t),children:o})}));s.displayName=e.Content.displayName;export{P as Accordion,s as AccordionContent,a as AccordionItem,p as AccordionTrigger};
|
|
2
2
|
//# sourceMappingURL=accordion.mjs.map
|
package/dist/accordion.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/accordion.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\";\nimport { ChevronDownIcon } from \"@radix-ui/react-icons\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Accordion\n * -------------------------------------------------------------------------- */\n\ntype AccordionProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;\nconst Accordion = AccordionPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionItem\n * -------------------------------------------------------------------------- */\n\ntype AccordionItemElement = React.ElementRef<typeof AccordionPrimitive.Item>;\ntype AccordionItemProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>;\n\nconst AccordionItem = React.forwardRef<AccordionItemElement, AccordionItemProps>(({ className, ...props }, ref) => (\n <AccordionPrimitive.Item ref={ref} className={cn(\"border-b\", className)} {...props} />\n));\n\nAccordionItem.displayName = AccordionPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionTrigger\n * -------------------------------------------------------------------------- */\n\ntype AccordionTriggerElement = React.ElementRef<typeof AccordionPrimitive.Trigger>;\ntype AccordionTriggerProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>;\n\nconst AccordionTrigger = React.forwardRef<AccordionTriggerElement, AccordionTriggerProps>(\n ({
|
|
1
|
+
{"version":3,"sources":["../src/accordion.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\";\nimport { ChevronDownIcon } from \"@radix-ui/react-icons\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Accordion\n * -------------------------------------------------------------------------- */\n\ntype AccordionProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;\nconst Accordion = AccordionPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionItem\n * -------------------------------------------------------------------------- */\n\ntype AccordionItemElement = React.ElementRef<typeof AccordionPrimitive.Item>;\ntype AccordionItemProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>;\n\nconst AccordionItem = React.forwardRef<AccordionItemElement, AccordionItemProps>(({ className, ...props }, ref) => (\n <AccordionPrimitive.Item ref={ref} className={cn(\"border-b\", className)} {...props} />\n));\n\nAccordionItem.displayName = AccordionPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionTrigger\n * -------------------------------------------------------------------------- */\n\ntype AccordionTriggerElement = React.ElementRef<typeof AccordionPrimitive.Trigger>;\ntype AccordionTriggerProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>;\n\nconst AccordionTrigger = React.forwardRef<AccordionTriggerElement, AccordionTriggerProps>(\n ({ children, className, ...props }, ref) => (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n ref={ref}\n className={cn(\"group flex flex-1 items-center justify-between py-4 text-sm font-medium\", className)}\n {...props}\n >\n {children}\n <ChevronDownIcon className=\"text-muted-foreground size-4 shrink-0 transition group-data-[state=open]:rotate-180\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n ),\n);\n\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionContent\n * -------------------------------------------------------------------------- */\n\ntype AccordionContentElement = React.ElementRef<typeof AccordionPrimitive.Content>;\ntype AccordionContentProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>;\n\nconst AccordionContent = React.forwardRef<AccordionContentElement, AccordionContentProps>(\n ({ children, className, ...props }, ref) => (\n <AccordionPrimitive.Content\n ref={ref}\n className=\"data-[state=open]:animate-collapsible-open data-[state=closed]:animate-collapsible-closed overflow-hidden text-sm\"\n {...props}\n >\n <div className={cn(\"pb-4 pt-0\", className)}>{children}</div>\n </AccordionPrimitive.Content>\n ),\n);\n\nAccordionContent.displayName = AccordionPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Accordion,\n AccordionItem,\n AccordionTrigger,\n AccordionContent,\n type AccordionProps,\n type AccordionItemProps,\n type AccordionTriggerProps,\n type AccordionContentProps,\n};\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAwB,4BACpC,OAAS,mBAAAC,MAAuB,wBAkB9B,cAAAC,EAeI,QAAAC,MAfJ,oBAVF,IAAMC,EAA+B,OAS/BC,EAAsB,aAAqD,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACzGN,EAAoB,OAAnB,CAAwB,IAAKM,EAAK,UAAWC,EAAG,WAAYH,CAAS,EAAI,GAAGC,EAAO,CACrF,EAEDF,EAAc,YAAiC,OAAK,YASpD,IAAMK,EAAyB,aAC7B,CAAC,CAAE,SAAAC,EAAU,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IAClCN,EAAoB,SAAnB,CAA0B,UAAU,OACnC,SAAAC,EAAoB,UAAnB,CACC,IAAKK,EACL,UAAWC,EAAG,0EAA2EH,CAAS,EACjG,GAAGC,EAEH,UAAAI,EACDT,EAACU,EAAA,CAAgB,UAAU,sFAAsF,GACnH,EACF,CAEJ,EAEAF,EAAiB,YAAiC,UAAQ,YAS1D,IAAMG,EAAyB,aAC7B,CAAC,CAAE,SAAAF,EAAU,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IAClCN,EAAoB,UAAnB,CACC,IAAKM,EACL,UAAU,oHACT,GAAGD,EAEJ,SAAAL,EAAC,OAAI,UAAWO,EAAG,YAAaH,CAAS,EAAI,SAAAK,EAAS,EACxD,CAEJ,EAEAE,EAAiB,YAAiC,UAAQ","names":["React","AccordionPrimitive","ChevronDownIcon","jsx","jsxs","Accordion","AccordionItem","className","props","ref","cn","AccordionTrigger","children","ChevronDownIcon","AccordionContent"]}
|
package/dist/alert-dialog.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkMUVQMEAIjs = require('./chunk-MUVQMEAI.js');require('./chunk-KXTYKCZX.js');var _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var r = _interopRequireWildcard(_react);var _reactalertdialog = require('@radix-ui/react-alert-dialog'); var e = _interopRequireWildcard(_reactalertdialog);var _jsxruntime = require('react/jsx-runtime');var d=e.Root,P= exports.AlertDialogTrigger =e.Trigger,s= exports.AlertDialogContent =r.forwardRef(({className:t,...i},o)=>_jsxruntime.jsxs.call(void 0, e.Portal,{children:[_jsxruntime.jsx.call(void 0, e.Overlay,{className:"data-[state=open]:animate-duration-200 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 bg-black/80"}),_jsxruntime.jsx.call(void 0, e.Content,{ref:o,className:_chunkQZCQ42BPjs.b.call(void 0, "bg-background data-[state=open]:animate-in data-[state=open]:animate-duration-200 data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg",t),...i})]}));s.displayName=e.Content.displayName;function y({className:t,...i}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkQZCQ42BPjs.b.call(void 0, "flex flex-col space-y-2 text-center","sm:text-left",t),...i})}function R({className:t,...i}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkQZCQ42BPjs.b.call(void 0, "flex flex-col-reverse gap-2","sm:flex-row sm:justify-end",t),...i})}var p=r.forwardRef(({className:t,...i},o)=>_jsxruntime.jsx.call(void 0, e.Title,{ref:o,className:_chunkQZCQ42BPjs.b.call(void 0, "text-lg font-semibold",t),...i}));p.displayName=e.Title.displayName;var m=r.forwardRef(({className:t,...i},o)=>_jsxruntime.jsx.call(void 0, e.Description,{ref:o,className:_chunkQZCQ42BPjs.b.call(void 0, "text-muted-foreground text-sm",t),...i}));m.displayName=e.Description.displayName;var g=r.forwardRef(({className:t,...i},o)=>_jsxruntime.jsx.call(void 0, e.Action,{ref:o,className:_chunkMUVQMEAIjs.a.call(void 0, {className:t}),...i}));g.displayName=e.Action.displayName;var A=r.forwardRef(({className:t,...i},o)=>_jsxruntime.jsx.call(void 0, e.Cancel,{ref:o,className:_chunkMUVQMEAIjs.a.call(void 0, {variant:"outline",className:t}),...i}));A.displayName=e.Cancel.displayName;exports.AlertDialog = d; exports.AlertDialogAction = g; exports.AlertDialogCancel = A; exports.AlertDialogContent = s; exports.AlertDialogDescription = m; exports.AlertDialogFooter = R; exports.AlertDialogHeader = y; exports.AlertDialogTitle = p; exports.AlertDialogTrigger = P;
|
|
2
2
|
//# sourceMappingURL=alert-dialog.js.map
|
package/dist/alert-dialog.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/alert-dialog.tsx"],"names":["React","AlertDialogPrimitive","jsx","jsxs","AlertDialog","AlertDialogTrigger","AlertDialogContent","className","props","ref","cn","AlertDialogHeader","AlertDialogFooter","AlertDialogTitle","AlertDialogDescription","AlertDialogAction","buttonVariants","AlertDialogCancel"],"mappings":"yHAEA,UAAYA,MAAW,QACvB,UAAYC,MAA0B,+BA2BlC,OACE,OAAAC,EADF,QAAAC,MAAA,oBAlBJ,IAAMC,EAAmC,OAOnCC,EAA0C,UAS1CC,EAA2B,aAC/B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,SAArB,CACC,UAAAD,EAAsB,UAArB,CAA6B,UAAU,
|
|
1
|
+
{"version":3,"sources":["../src/alert-dialog.tsx"],"names":["React","AlertDialogPrimitive","jsx","jsxs","AlertDialog","AlertDialogTrigger","AlertDialogContent","className","props","ref","cn","AlertDialogHeader","AlertDialogFooter","AlertDialogTitle","AlertDialogDescription","AlertDialogAction","buttonVariants","AlertDialogCancel"],"mappings":"yHAEA,UAAYA,MAAW,QACvB,UAAYC,MAA0B,+BA2BlC,OACE,OAAAC,EADF,QAAAC,MAAA,oBAlBJ,IAAMC,EAAmC,OAOnCC,EAA0C,UAS1CC,EAA2B,aAC/B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,SAArB,CACC,UAAAD,EAAsB,UAArB,CAA6B,UAAU,+IAA+I,EACvLA,EAAsB,UAArB,CACC,IAAKO,EACL,UAAWC,EACT,yhBACAH,CACF,EACC,GAAGC,EACN,GACF,CAEJ,EAEAF,EAAmB,YAAmC,UAAQ,YAQ9D,SAASK,EAAkB,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAA8C,CAC7F,OAAON,EAAC,OAAI,UAAWQ,EAAG,sCAAuC,eAAgBH,CAAS,EAAI,GAAGC,EAAO,CAC1G,CAQA,SAASI,EAAkB,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAA8C,CAC7F,OAAON,EAAC,OAAI,UAAWQ,EAAG,8BAA+B,6BAA8BH,CAAS,EAAI,GAAGC,EAAO,CAChH,CASA,IAAMK,EAAyB,aAC7B,CAAC,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAAGC,IACxBP,EAAsB,QAArB,CAA2B,IAAKO,EAAK,UAAWC,EAAG,wBAAyBH,CAAS,EAAI,GAAGC,EAAO,CAExG,EAEAK,EAAiB,YAAmC,QAAM,YAS1D,IAAMC,EAA+B,aACnC,CAAC,CAAE,UAAAP,EAAW,GAAGC,CAAM,EAAGC,IACxBP,EAAsB,cAArB,CAAiC,IAAKO,EAAK,UAAWC,EAAG,gCAAiCH,CAAS,EAAI,GAAGC,EAAO,CAEtH,EAEAM,EAAuB,YAAmC,cAAY,YAStE,IAAMC,EAA0B,aAC9B,CAAC,CAAE,UAAAR,EAAW,GAAGC,CAAM,EAAGC,IACxBP,EAAsB,SAArB,CAA4B,IAAKO,EAAK,UAAWO,EAAe,CAAE,UAAAT,CAAU,CAAC,EAAI,GAAGC,EAAO,CAEhG,EAEAO,EAAkB,YAAmC,SAAO,YAS5D,IAAME,EAA0B,aAC9B,CAAC,CAAE,UAAAV,EAAW,GAAGC,CAAM,EAAGC,IACxBP,EAAsB,SAArB,CAA4B,IAAKO,EAAK,UAAWO,EAAe,CAAE,QAAS,UAAW,UAAAT,CAAU,CAAC,EAAI,GAAGC,EAAO,CAEpH,EACAS,EAAkB,YAAmC,SAAO","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\nimport { buttonVariants } from \"./button\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialog\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogProps = React.ComponentProps<typeof AlertDialogPrimitive.Root>;\nconst AlertDialog = AlertDialogPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogTrigger\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogTriggerProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Trigger>;\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogContent\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogContentElement = React.ElementRef<typeof AlertDialogPrimitive.Content>;\ntype AlertDialogContentProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>;\n\nconst AlertDialogContent = React.forwardRef<AlertDialogContentElement, AlertDialogContentProps>(\n ({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Portal>\n <AlertDialogPrimitive.Overlay className=\"data-[state=open]:animate-duration-200 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 bg-black/80\" />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n \"bg-background data-[state=open]:animate-in data-[state=open]:animate-duration-200 data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg\",\n className,\n )}\n {...props}\n />\n </AlertDialogPrimitive.Portal>\n ),\n);\n\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogHeader\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogHeaderProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): React.JSX.Element {\n return <div className={cn(\"flex flex-col space-y-2 text-center\", \"sm:text-left\", className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogFooter\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogFooterProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): React.JSX.Element {\n return <div className={cn(\"flex flex-col-reverse gap-2\", \"sm:flex-row sm:justify-end\", className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogTitleElement = React.ElementRef<typeof AlertDialogPrimitive.Title>;\ntype AlertDialogTitleProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>;\n\nconst AlertDialogTitle = React.forwardRef<AlertDialogTitleElement, AlertDialogTitleProps>(\n ({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title ref={ref} className={cn(\"text-lg font-semibold\", className)} {...props} />\n ),\n);\n\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogDescription\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogDescriptionElement = React.ElementRef<typeof AlertDialogPrimitive.Description>;\ntype AlertDialogDescriptionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>;\n\nconst AlertDialogDescription = React.forwardRef<AlertDialogDescriptionElement, AlertDialogDescriptionProps>(\n ({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description ref={ref} className={cn(\"text-muted-foreground text-sm\", className)} {...props} />\n ),\n);\n\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogAction\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogActionElement = React.ElementRef<typeof AlertDialogPrimitive.Action>;\ntype AlertDialogActionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>;\n\nconst AlertDialogAction = React.forwardRef<AlertDialogActionElement, AlertDialogActionProps>(\n ({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action ref={ref} className={buttonVariants({ className })} {...props} />\n ),\n);\n\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogCancel\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogCancelElement = React.ElementRef<typeof AlertDialogPrimitive.Cancel>;\ntype AlertDialogCancelProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>;\n\nconst AlertDialogCancel = React.forwardRef<AlertDialogCancelElement, AlertDialogCancelProps>(\n ({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel ref={ref} className={buttonVariants({ variant: \"outline\", className })} {...props} />\n ),\n);\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n AlertDialog,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n type AlertDialogProps,\n type AlertDialogTriggerProps,\n type AlertDialogContentProps,\n type AlertDialogHeaderProps,\n type AlertDialogFooterProps,\n type AlertDialogTitleProps,\n type AlertDialogDescriptionProps,\n type AlertDialogActionProps,\n type AlertDialogCancelProps,\n};\n"]}
|
package/dist/alert-dialog.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{a as n}from"./chunk-
|
|
1
|
+
"use client";import{a as n}from"./chunk-4UVLRXTB.mjs";import"./chunk-7XGQAAYA.mjs";import{b as a}from"./chunk-JTI7KCLO.mjs";import*as r from"react";import*as e from"@radix-ui/react-alert-dialog";import{jsx as l,jsxs as D}from"react/jsx-runtime";var d=e.Root,P=e.Trigger,s=r.forwardRef(({className:t,...i},o)=>D(e.Portal,{children:[l(e.Overlay,{className:"data-[state=open]:animate-duration-200 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 bg-black/80"}),l(e.Content,{ref:o,className:a("bg-background data-[state=open]:animate-in data-[state=open]:animate-duration-200 data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg",t),...i})]}));s.displayName=e.Content.displayName;function y({className:t,...i}){return l("div",{className:a("flex flex-col space-y-2 text-center","sm:text-left",t),...i})}function R({className:t,...i}){return l("div",{className:a("flex flex-col-reverse gap-2","sm:flex-row sm:justify-end",t),...i})}var p=r.forwardRef(({className:t,...i},o)=>l(e.Title,{ref:o,className:a("text-lg font-semibold",t),...i}));p.displayName=e.Title.displayName;var m=r.forwardRef(({className:t,...i},o)=>l(e.Description,{ref:o,className:a("text-muted-foreground text-sm",t),...i}));m.displayName=e.Description.displayName;var g=r.forwardRef(({className:t,...i},o)=>l(e.Action,{ref:o,className:n({className:t}),...i}));g.displayName=e.Action.displayName;var A=r.forwardRef(({className:t,...i},o)=>l(e.Cancel,{ref:o,className:n({variant:"outline",className:t}),...i}));A.displayName=e.Cancel.displayName;export{d as AlertDialog,g as AlertDialogAction,A as AlertDialogCancel,s as AlertDialogContent,m as AlertDialogDescription,R as AlertDialogFooter,y as AlertDialogHeader,p as AlertDialogTitle,P as AlertDialogTrigger};
|
|
2
2
|
//# sourceMappingURL=alert-dialog.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/alert-dialog.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\nimport { buttonVariants } from \"./button\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialog\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogProps = React.ComponentProps<typeof AlertDialogPrimitive.Root>;\nconst AlertDialog = AlertDialogPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogTrigger\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogTriggerProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Trigger>;\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogContent\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogContentElement = React.ElementRef<typeof AlertDialogPrimitive.Content>;\ntype AlertDialogContentProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>;\n\nconst AlertDialogContent = React.forwardRef<AlertDialogContentElement, AlertDialogContentProps>(\n ({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Portal>\n <AlertDialogPrimitive.Overlay className=\"data-[state=open]:animate-
|
|
1
|
+
{"version":3,"sources":["../src/alert-dialog.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\nimport { buttonVariants } from \"./button\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialog\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogProps = React.ComponentProps<typeof AlertDialogPrimitive.Root>;\nconst AlertDialog = AlertDialogPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogTrigger\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogTriggerProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Trigger>;\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogContent\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogContentElement = React.ElementRef<typeof AlertDialogPrimitive.Content>;\ntype AlertDialogContentProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>;\n\nconst AlertDialogContent = React.forwardRef<AlertDialogContentElement, AlertDialogContentProps>(\n ({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Portal>\n <AlertDialogPrimitive.Overlay className=\"data-[state=open]:animate-duration-200 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 bg-black/80\" />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n \"bg-background data-[state=open]:animate-in data-[state=open]:animate-duration-200 data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg\",\n className,\n )}\n {...props}\n />\n </AlertDialogPrimitive.Portal>\n ),\n);\n\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogHeader\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogHeaderProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): React.JSX.Element {\n return <div className={cn(\"flex flex-col space-y-2 text-center\", \"sm:text-left\", className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogFooter\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogFooterProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): React.JSX.Element {\n return <div className={cn(\"flex flex-col-reverse gap-2\", \"sm:flex-row sm:justify-end\", className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogTitleElement = React.ElementRef<typeof AlertDialogPrimitive.Title>;\ntype AlertDialogTitleProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>;\n\nconst AlertDialogTitle = React.forwardRef<AlertDialogTitleElement, AlertDialogTitleProps>(\n ({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title ref={ref} className={cn(\"text-lg font-semibold\", className)} {...props} />\n ),\n);\n\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogDescription\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogDescriptionElement = React.ElementRef<typeof AlertDialogPrimitive.Description>;\ntype AlertDialogDescriptionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>;\n\nconst AlertDialogDescription = React.forwardRef<AlertDialogDescriptionElement, AlertDialogDescriptionProps>(\n ({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description ref={ref} className={cn(\"text-muted-foreground text-sm\", className)} {...props} />\n ),\n);\n\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogAction\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogActionElement = React.ElementRef<typeof AlertDialogPrimitive.Action>;\ntype AlertDialogActionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>;\n\nconst AlertDialogAction = React.forwardRef<AlertDialogActionElement, AlertDialogActionProps>(\n ({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action ref={ref} className={buttonVariants({ className })} {...props} />\n ),\n);\n\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogCancel\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogCancelElement = React.ElementRef<typeof AlertDialogPrimitive.Cancel>;\ntype AlertDialogCancelProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>;\n\nconst AlertDialogCancel = React.forwardRef<AlertDialogCancelElement, AlertDialogCancelProps>(\n ({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel ref={ref} className={buttonVariants({ variant: \"outline\", className })} {...props} />\n ),\n);\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n AlertDialog,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n type AlertDialogProps,\n type AlertDialogTriggerProps,\n type AlertDialogContentProps,\n type AlertDialogHeaderProps,\n type AlertDialogFooterProps,\n type AlertDialogTitleProps,\n type AlertDialogDescriptionProps,\n type AlertDialogActionProps,\n type AlertDialogCancelProps,\n};\n"],"mappings":"4HAEA,UAAYA,MAAW,QACvB,UAAYC,MAA0B,+BA2BlC,OACE,OAAAC,EADF,QAAAC,MAAA,oBAlBJ,IAAMC,EAAmC,OAOnCC,EAA0C,UAS1CC,EAA2B,aAC/B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,SAArB,CACC,UAAAD,EAAsB,UAArB,CAA6B,UAAU,+IAA+I,EACvLA,EAAsB,UAArB,CACC,IAAKO,EACL,UAAWC,EACT,yhBACAH,CACF,EACC,GAAGC,EACN,GACF,CAEJ,EAEAF,EAAmB,YAAmC,UAAQ,YAQ9D,SAASK,EAAkB,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAA8C,CAC7F,OAAON,EAAC,OAAI,UAAWQ,EAAG,sCAAuC,eAAgBH,CAAS,EAAI,GAAGC,EAAO,CAC1G,CAQA,SAASI,EAAkB,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAA8C,CAC7F,OAAON,EAAC,OAAI,UAAWQ,EAAG,8BAA+B,6BAA8BH,CAAS,EAAI,GAAGC,EAAO,CAChH,CASA,IAAMK,EAAyB,aAC7B,CAAC,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAAGC,IACxBP,EAAsB,QAArB,CAA2B,IAAKO,EAAK,UAAWC,EAAG,wBAAyBH,CAAS,EAAI,GAAGC,EAAO,CAExG,EAEAK,EAAiB,YAAmC,QAAM,YAS1D,IAAMC,EAA+B,aACnC,CAAC,CAAE,UAAAP,EAAW,GAAGC,CAAM,EAAGC,IACxBP,EAAsB,cAArB,CAAiC,IAAKO,EAAK,UAAWC,EAAG,gCAAiCH,CAAS,EAAI,GAAGC,EAAO,CAEtH,EAEAM,EAAuB,YAAmC,cAAY,YAStE,IAAMC,EAA0B,aAC9B,CAAC,CAAE,UAAAR,EAAW,GAAGC,CAAM,EAAGC,IACxBP,EAAsB,SAArB,CAA4B,IAAKO,EAAK,UAAWO,EAAe,CAAE,UAAAT,CAAU,CAAC,EAAI,GAAGC,EAAO,CAEhG,EAEAO,EAAkB,YAAmC,SAAO,YAS5D,IAAME,EAA0B,aAC9B,CAAC,CAAE,UAAAV,EAAW,GAAGC,CAAM,EAAGC,IACxBP,EAAsB,SAArB,CAA4B,IAAKO,EAAK,UAAWO,EAAe,CAAE,QAAS,UAAW,UAAAT,CAAU,CAAC,EAAI,GAAGC,EAAO,CAEpH,EACAS,EAAkB,YAAmC,SAAO","names":["React","AlertDialogPrimitive","jsx","jsxs","AlertDialog","AlertDialogTrigger","AlertDialogContent","className","props","ref","cn","AlertDialogHeader","AlertDialogFooter","AlertDialogTitle","AlertDialogDescription","AlertDialogAction","buttonVariants","AlertDialogCancel"]}
|
package/dist/alert.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var l = _interopRequireWildcard(_react);var _jsxruntime = require('react/jsx-runtime');var n=_chunkQZCQ42BPjs.a.call(void 0, {base:"[&>svg+div]:-translate-y-0.75 relative w-full rounded-lg border p-4 text-sm [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg~*]:pl-7",variants:{variant:{default:"bg-background text-foreground [&>svg]:text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),p= exports.Alert =l.forwardRef(({className:e,variant:t,...r},a)=>_jsxruntime.jsx.call(void 0, "div",{ref:a,role:"alert",className:n({variant:t,className:e}),...r}));p.displayName="Alert";var d=l.forwardRef(({
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var l = _interopRequireWildcard(_react);var _jsxruntime = require('react/jsx-runtime');var n=_chunkQZCQ42BPjs.a.call(void 0, {base:"[&>svg+div]:-translate-y-0.75 relative w-full rounded-lg border p-4 text-sm [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg~*]:pl-7",variants:{variant:{default:"bg-background text-foreground [&>svg]:text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),p= exports.Alert =l.forwardRef(({className:e,variant:t,...r},a)=>_jsxruntime.jsx.call(void 0, "div",{ref:a,role:"alert",className:n({variant:t,className:e}),...r}));p.displayName="Alert";var d=l.forwardRef(({children:e,className:t,...r},a)=>_jsxruntime.jsx.call(void 0, "h5",{ref:a,className:_chunkQZCQ42BPjs.b.call(void 0, "mb-1 font-medium leading-none tracking-tight",t),...r,children:e}));d.displayName="AlertTitle";var c=l.forwardRef(({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, "div",{ref:r,className:_chunkQZCQ42BPjs.b.call(void 0, "text-sm [&_p]:leading-relaxed",e),...t}));c.displayName="AlertDescription";exports.Alert = p; exports.AlertDescription = c; exports.AlertTitle = d;
|
|
2
2
|
//# sourceMappingURL=alert.js.map
|
package/dist/alert.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/alert.tsx"],"names":["React","jsx","alertVariants","cva","Alert","className","variant","props","ref","AlertTitle","children","cn","AlertDescription"],"mappings":"+CAAA,UAAYA,MAAW,QA+BrB,cAAAC,MAAA,oBAvBF,IAAMC,EAAgBC,EAAI,CACxB,KAAM,2IACN,SAAU,CACR,QAAS,CACP,QAAS,wDACT,YAAa,yFACf,CACF,EACA,gBAAiB,CACf,QAAS,SACX,CACF,CAAC,EAWKC,EAAc,aAAqC,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAC1FP,EAAC,OAAI,IAAKO,EAAK,KAAK,QAAQ,UAAWN,EAAc,CAAE,QAAAI,EAAS,UAAAD,CAAU,CAAC,EAAI,GAAGE,EAAO,CAC1F,EAEDH,EAAM,YAAc,QASpB,IAAMK,EAAmB,aAA+C,CAAC,CAAE,
|
|
1
|
+
{"version":3,"sources":["../src/alert.tsx"],"names":["React","jsx","alertVariants","cva","Alert","className","variant","props","ref","AlertTitle","children","cn","AlertDescription"],"mappings":"+CAAA,UAAYA,MAAW,QA+BrB,cAAAC,MAAA,oBAvBF,IAAMC,EAAgBC,EAAI,CACxB,KAAM,2IACN,SAAU,CACR,QAAS,CACP,QAAS,wDACT,YAAa,yFACf,CACF,EACA,gBAAiB,CACf,QAAS,SACX,CACF,CAAC,EAWKC,EAAc,aAAqC,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAC1FP,EAAC,OAAI,IAAKO,EAAK,KAAK,QAAQ,UAAWN,EAAc,CAAE,QAAAI,EAAS,UAAAD,CAAU,CAAC,EAAI,GAAGE,EAAO,CAC1F,EAEDH,EAAM,YAAc,QASpB,IAAMK,EAAmB,aAA+C,CAAC,CAAE,SAAAC,EAAU,UAAAL,EAAW,GAAGE,CAAM,EAAGC,IAC1GP,EAAC,MAAG,IAAKO,EAAK,UAAWG,EAAG,+CAAgDN,CAAS,EAAI,GAAGE,EACzF,SAAAG,EACH,CACD,EAEDD,EAAW,YAAc,aASzB,IAAMG,EAAyB,aAC7B,CAAC,CAAE,UAAAP,EAAW,GAAGE,CAAM,EAAGC,IACxBP,EAAC,OAAI,IAAKO,EAAK,UAAWG,EAAG,gCAAiCN,CAAS,EAAI,GAAGE,EAAO,CAEzF,EAEAK,EAAiB,YAAc","sourcesContent":["import * as React from \"react\";\nimport { type VariantProps } from \"cva\";\nimport { cn, cva } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Variant: Alert\n * -------------------------------------------------------------------------- */\n\nconst alertVariants = cva({\n base: \"[&>svg+div]:-translate-y-0.75 relative w-full rounded-lg border p-4 text-sm [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg~*]:pl-7\",\n variants: {\n variant: {\n default: \"bg-background text-foreground [&>svg]:text-foreground\",\n destructive: \"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n});\n\ntype AlertVariantsProps = VariantProps<typeof alertVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Alert\n * -------------------------------------------------------------------------- */\n\ntype AlertElement = HTMLDivElement;\ntype AlertProps = React.HTMLAttributes<HTMLDivElement> & AlertVariantsProps;\n\nconst Alert = React.forwardRef<AlertElement, AlertProps>(({ className, variant, ...props }, ref) => (\n <div ref={ref} role=\"alert\" className={alertVariants({ variant, className })} {...props} />\n));\n\nAlert.displayName = \"Alert\";\n\n/* -----------------------------------------------------------------------------\n * Component: AlertTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertTitleElement = HTMLHeadingElement;\ntype AlertTitleProps = React.HTMLAttributes<HTMLHeadingElement>;\n\nconst AlertTitle = React.forwardRef<AlertTitleElement, AlertTitleProps>(({ children, className, ...props }, ref) => (\n <h5 ref={ref} className={cn(\"mb-1 font-medium leading-none tracking-tight\", className)} {...props}>\n {children}\n </h5>\n));\n\nAlertTitle.displayName = \"AlertTitle\";\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDescription\n * -------------------------------------------------------------------------- */\n\ntype AlertDescriptionElement = HTMLDivElement;\ntype AlertDescriptionProps = React.HTMLAttributes<HTMLDivElement>;\n\nconst AlertDescription = React.forwardRef<AlertDescriptionElement, AlertDescriptionProps>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"text-sm [&_p]:leading-relaxed\", className)} {...props} />\n ),\n);\n\nAlertDescription.displayName = \"AlertDescription\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Alert, AlertTitle, AlertDescription, type AlertProps, type AlertTitleProps, type AlertDescriptionProps };\n"]}
|
package/dist/alert.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as o,b as i}from"./chunk-JTI7KCLO.mjs";import*as l from"react";import{jsx as s}from"react/jsx-runtime";var n=o({base:"[&>svg+div]:-translate-y-0.75 relative w-full rounded-lg border p-4 text-sm [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg~*]:pl-7",variants:{variant:{default:"bg-background text-foreground [&>svg]:text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),p=l.forwardRef(({className:e,variant:t,...r},a)=>s("div",{ref:a,role:"alert",className:n({variant:t,className:e}),...r}));p.displayName="Alert";var d=l.forwardRef(({
|
|
1
|
+
import{a as o,b as i}from"./chunk-JTI7KCLO.mjs";import*as l from"react";import{jsx as s}from"react/jsx-runtime";var n=o({base:"[&>svg+div]:-translate-y-0.75 relative w-full rounded-lg border p-4 text-sm [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg~*]:pl-7",variants:{variant:{default:"bg-background text-foreground [&>svg]:text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),p=l.forwardRef(({className:e,variant:t,...r},a)=>s("div",{ref:a,role:"alert",className:n({variant:t,className:e}),...r}));p.displayName="Alert";var d=l.forwardRef(({children:e,className:t,...r},a)=>s("h5",{ref:a,className:i("mb-1 font-medium leading-none tracking-tight",t),...r,children:e}));d.displayName="AlertTitle";var c=l.forwardRef(({className:e,...t},r)=>s("div",{ref:r,className:i("text-sm [&_p]:leading-relaxed",e),...t}));c.displayName="AlertDescription";export{p as Alert,c as AlertDescription,d as AlertTitle};
|
|
2
2
|
//# sourceMappingURL=alert.mjs.map
|
package/dist/alert.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/alert.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { type VariantProps } from \"cva\";\nimport { cn, cva } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Variant: Alert\n * -------------------------------------------------------------------------- */\n\nconst alertVariants = cva({\n base: \"[&>svg+div]:-translate-y-0.75 relative w-full rounded-lg border p-4 text-sm [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg~*]:pl-7\",\n variants: {\n variant: {\n default: \"bg-background text-foreground [&>svg]:text-foreground\",\n destructive: \"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n});\n\ntype AlertVariantsProps = VariantProps<typeof alertVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Alert\n * -------------------------------------------------------------------------- */\n\ntype AlertElement = HTMLDivElement;\ntype AlertProps = React.HTMLAttributes<HTMLDivElement> & AlertVariantsProps;\n\nconst Alert = React.forwardRef<AlertElement, AlertProps>(({ className, variant, ...props }, ref) => (\n <div ref={ref} role=\"alert\" className={alertVariants({ variant, className })} {...props} />\n));\n\nAlert.displayName = \"Alert\";\n\n/* -----------------------------------------------------------------------------\n * Component: AlertTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertTitleElement = HTMLHeadingElement;\ntype AlertTitleProps = React.HTMLAttributes<HTMLHeadingElement>;\n\nconst AlertTitle = React.forwardRef<AlertTitleElement, AlertTitleProps>(({
|
|
1
|
+
{"version":3,"sources":["../src/alert.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { type VariantProps } from \"cva\";\nimport { cn, cva } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Variant: Alert\n * -------------------------------------------------------------------------- */\n\nconst alertVariants = cva({\n base: \"[&>svg+div]:-translate-y-0.75 relative w-full rounded-lg border p-4 text-sm [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg~*]:pl-7\",\n variants: {\n variant: {\n default: \"bg-background text-foreground [&>svg]:text-foreground\",\n destructive: \"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n});\n\ntype AlertVariantsProps = VariantProps<typeof alertVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Alert\n * -------------------------------------------------------------------------- */\n\ntype AlertElement = HTMLDivElement;\ntype AlertProps = React.HTMLAttributes<HTMLDivElement> & AlertVariantsProps;\n\nconst Alert = React.forwardRef<AlertElement, AlertProps>(({ className, variant, ...props }, ref) => (\n <div ref={ref} role=\"alert\" className={alertVariants({ variant, className })} {...props} />\n));\n\nAlert.displayName = \"Alert\";\n\n/* -----------------------------------------------------------------------------\n * Component: AlertTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertTitleElement = HTMLHeadingElement;\ntype AlertTitleProps = React.HTMLAttributes<HTMLHeadingElement>;\n\nconst AlertTitle = React.forwardRef<AlertTitleElement, AlertTitleProps>(({ children, className, ...props }, ref) => (\n <h5 ref={ref} className={cn(\"mb-1 font-medium leading-none tracking-tight\", className)} {...props}>\n {children}\n </h5>\n));\n\nAlertTitle.displayName = \"AlertTitle\";\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDescription\n * -------------------------------------------------------------------------- */\n\ntype AlertDescriptionElement = HTMLDivElement;\ntype AlertDescriptionProps = React.HTMLAttributes<HTMLDivElement>;\n\nconst AlertDescription = React.forwardRef<AlertDescriptionElement, AlertDescriptionProps>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"text-sm [&_p]:leading-relaxed\", className)} {...props} />\n ),\n);\n\nAlertDescription.displayName = \"AlertDescription\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Alert, AlertTitle, AlertDescription, type AlertProps, type AlertTitleProps, type AlertDescriptionProps };\n"],"mappings":"gDAAA,UAAYA,MAAW,QA+BrB,cAAAC,MAAA,oBAvBF,IAAMC,EAAgBC,EAAI,CACxB,KAAM,2IACN,SAAU,CACR,QAAS,CACP,QAAS,wDACT,YAAa,yFACf,CACF,EACA,gBAAiB,CACf,QAAS,SACX,CACF,CAAC,EAWKC,EAAc,aAAqC,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAC1FP,EAAC,OAAI,IAAKO,EAAK,KAAK,QAAQ,UAAWN,EAAc,CAAE,QAAAI,EAAS,UAAAD,CAAU,CAAC,EAAI,GAAGE,EAAO,CAC1F,EAEDH,EAAM,YAAc,QASpB,IAAMK,EAAmB,aAA+C,CAAC,CAAE,SAAAC,EAAU,UAAAL,EAAW,GAAGE,CAAM,EAAGC,IAC1GP,EAAC,MAAG,IAAKO,EAAK,UAAWG,EAAG,+CAAgDN,CAAS,EAAI,GAAGE,EACzF,SAAAG,EACH,CACD,EAEDD,EAAW,YAAc,aASzB,IAAMG,EAAyB,aAC7B,CAAC,CAAE,UAAAP,EAAW,GAAGE,CAAM,EAAGC,IACxBP,EAAC,OAAI,IAAKO,EAAK,UAAWG,EAAG,gCAAiCN,CAAS,EAAI,GAAGE,EAAO,CAEzF,EAEAK,EAAiB,YAAc","names":["React","jsx","alertVariants","cva","Alert","className","variant","props","ref","AlertTitle","children","cn","AlertDescription"]}
|
package/dist/animate.plugin.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk55N7YRUUjs = require('./chunk-55N7YRUU.js');exports.default = _chunk55N7YRUUjs.a;
|
|
2
2
|
//# sourceMappingURL=animate.plugin.js.map
|
package/dist/animate.plugin.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-FMUUVBVI.mjs";export{a as default};
|
|
2
2
|
//# sourceMappingURL=animate.plugin.mjs.map
|
package/dist/button.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkMUVQMEAIjs = require('./chunk-MUVQMEAI.js');require('./chunk-KXTYKCZX.js');require('./chunk-QZCQ42BP.js');exports.Button = _chunkMUVQMEAIjs.b; exports.buttonVariants = _chunkMUVQMEAIjs.a;
|
|
2
2
|
//# sourceMappingURL=button.js.map
|
package/dist/button.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"./chunk-
|
|
1
|
+
import{a,b}from"./chunk-4UVLRXTB.mjs";import"./chunk-7XGQAAYA.mjs";import"./chunk-JTI7KCLO.mjs";export{b as Button,a as buttonVariants};
|
|
2
2
|
//# sourceMappingURL=button.mjs.map
|
package/dist/calendar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkMUVQMEAIjs = require('./chunk-MUVQMEAI.js');require('./chunk-KXTYKCZX.js');var _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _reactdaypicker = require('react-day-picker');var _reacticons = require('@radix-ui/react-icons');var _jsxruntime = require('react/jsx-runtime');function l({children:t,...e}){return _jsxruntime.jsx.call(void 0, _reacticons.ChevronLeftIcon,{className:"size-4",...e})}function m({children:t,...e}){return _jsxruntime.jsx.call(void 0, _reacticons.ChevronRightIcon,{className:"size-4",...e})}function g({className:t,classNames:e,showOutsideDays:d=!0,...o}){return _jsxruntime.jsx.call(void 0, _reactdaypicker.DayPicker,{showOutsideDays:d,className:_chunkQZCQ42BPjs.b.call(void 0, "p-3",t),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:_chunkMUVQMEAIjs.a.call(void 0, {variant:"outline",className:"size-7 bg-transparent p-0 opacity-50 hover:opacity-100"}),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-xs",row:"flex w-full mt-2",cell:_chunkQZCQ42BPjs.b.call(void 0, "relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",o.mode==="range"?"[&:has(>.day-range-start)]:rounded-l-md [&:has(>.day-range-end)]:rounded-r-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:_chunkMUVQMEAIjs.a.call(void 0, {variant:"ghost",className:"size-9 p-0 font-normal aria-selected:opacity-100"}),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...e},components:{IconLeft:l,IconRight:m},...o})}exports.Calendar = g;
|
|
2
2
|
//# sourceMappingURL=calendar.js.map
|
package/dist/calendar.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{a as r}from"./chunk-
|
|
1
|
+
"use client";import{a as r}from"./chunk-4UVLRXTB.mjs";import"./chunk-7XGQAAYA.mjs";import{b as a}from"./chunk-JTI7KCLO.mjs";import{DayPicker as s}from"react-day-picker";import{ChevronLeftIcon as c,ChevronRightIcon as i}from"@radix-ui/react-icons";import{jsx as n}from"react/jsx-runtime";function l({children:t,...e}){return n(c,{className:"size-4",...e})}function m({children:t,...e}){return n(i,{className:"size-4",...e})}function g({className:t,classNames:e,showOutsideDays:d=!0,...o}){return n(s,{showOutsideDays:d,className:a("p-3",t),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:r({variant:"outline",className:"size-7 bg-transparent p-0 opacity-50 hover:opacity-100"}),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-xs",row:"flex w-full mt-2",cell:a("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",o.mode==="range"?"[&:has(>.day-range-start)]:rounded-l-md [&:has(>.day-range-end)]:rounded-r-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:r({variant:"ghost",className:"size-9 p-0 font-normal aria-selected:opacity-100"}),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...e},components:{IconLeft:l,IconRight:m},...o})}export{g as Calendar};
|
|
2
2
|
//# sourceMappingURL=calendar.mjs.map
|
package/dist/card.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var d = _interopRequireWildcard(_react);var _jsxruntime = require('react/jsx-runtime');var n=d.forwardRef(({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, "div",{ref:r,className:_chunkQZCQ42BPjs.b.call(void 0, "bg-card text-card-foreground rounded-lg border shadow-sm",e),...t}));n.displayName="Card";var s=d.forwardRef(({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, "div",{ref:r,className:_chunkQZCQ42BPjs.b.call(void 0, "flex flex-col space-y-1.5 p-6",e),...t}));s.displayName="CardHeader";var i=d.forwardRef(({
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var d = _interopRequireWildcard(_react);var _jsxruntime = require('react/jsx-runtime');var n=d.forwardRef(({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, "div",{ref:r,className:_chunkQZCQ42BPjs.b.call(void 0, "bg-card text-card-foreground rounded-lg border shadow-sm",e),...t}));n.displayName="Card";var s=d.forwardRef(({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, "div",{ref:r,className:_chunkQZCQ42BPjs.b.call(void 0, "flex flex-col space-y-1.5 p-6",e),...t}));s.displayName="CardHeader";var i=d.forwardRef(({children:e,className:t,...r},p)=>_jsxruntime.jsx.call(void 0, "h3",{ref:p,className:_chunkQZCQ42BPjs.b.call(void 0, "font-semibold leading-none tracking-tight",t),...r,children:e}));i.displayName="CardTitle";var l=d.forwardRef(({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, "p",{ref:r,className:_chunkQZCQ42BPjs.b.call(void 0, "text-muted-foreground text-sm",e),...t}));l.displayName="CardDescription";var C=d.forwardRef(({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, "div",{ref:r,className:_chunkQZCQ42BPjs.b.call(void 0, "p-6 pt-0",e),...t}));C.displayName="CardContent";var m=d.forwardRef(({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, "div",{ref:r,className:_chunkQZCQ42BPjs.b.call(void 0, "flex items-center p-6 pt-0",e),...t}));m.displayName="CardFooter";exports.Card = n; exports.CardContent = C; exports.CardDescription = l; exports.CardFooter = m; exports.CardHeader = s; exports.CardTitle = i;
|
|
2
2
|
//# sourceMappingURL=card.js.map
|