@mekari/pixel3-theme 0.0.1 → 0.0.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.
- package/dist/index.js +1903 -1356
- package/dist/index.mjs +1722 -1179
- package/dist/recipes/banner.d.mts +10 -0
- package/dist/recipes/banner.d.ts +10 -0
- package/dist/recipes/dropzone.d.mts +5 -0
- package/dist/recipes/dropzone.d.ts +5 -0
- package/dist/recipes/index.d.mts +10 -0
- package/dist/recipes/index.d.ts +10 -0
- package/dist/recipes/modal.d.mts +5 -0
- package/dist/recipes/modal.d.ts +5 -0
- package/dist/recipes/upload.d.mts +6 -0
- package/dist/recipes/upload.d.ts +6 -0
- package/dist/tokens/colors.d.mts +64 -0
- package/dist/tokens/colors.d.ts +64 -0
- package/dist/tokens/index.d.mts +67 -0
- package/dist/tokens/index.d.ts +67 -0
- package/dist/tokens/sizes.d.mts +3 -0
- package/dist/tokens/sizes.d.ts +3 -0
- package/package.json +5 -5
- package/src/index.ts +3 -3
- package/src/recipes/banner.ts +143 -0
- package/src/recipes/dropzone.ts +161 -0
- package/src/recipes/index.ts +24 -2
- package/src/recipes/modal.ts +108 -0
- package/src/recipes/table.ts +7 -7
- package/src/recipes/tag.ts +9 -2
- package/src/recipes/upload.ts +99 -0
- package/src/tokens/colors.ts +24 -0
- package/src/tokens/sizes.ts +2 -1
package/dist/index.js
CHANGED
|
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
6
10
|
var __copyProps = (to, from, except, desc) => {
|
|
7
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
12
|
for (let key of __getOwnPropNames(from))
|
|
@@ -15,10 +19,21 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
15
19
|
|
|
16
20
|
// index.ts
|
|
17
21
|
var theme_exports = {};
|
|
22
|
+
__export(theme_exports, {
|
|
23
|
+
default: () => theme_default
|
|
24
|
+
});
|
|
18
25
|
module.exports = __toCommonJS(theme_exports);
|
|
19
26
|
|
|
20
27
|
// src/index.ts
|
|
21
|
-
var
|
|
28
|
+
var import_dev42 = require("@pandacss/dev");
|
|
29
|
+
|
|
30
|
+
// src/breakpoints.ts
|
|
31
|
+
var breakpoints = {
|
|
32
|
+
sm: "22.5em",
|
|
33
|
+
md: "48em",
|
|
34
|
+
lg: "64em",
|
|
35
|
+
xl: "80em"
|
|
36
|
+
};
|
|
22
37
|
|
|
23
38
|
// src/conditions.ts
|
|
24
39
|
var conditions = {
|
|
@@ -67,492 +82,129 @@ var globalCss = (0, import_dev.defineGlobalStyles)({
|
|
|
67
82
|
}
|
|
68
83
|
});
|
|
69
84
|
|
|
70
|
-
// src/
|
|
71
|
-
var import_dev12 = require("@pandacss/dev");
|
|
72
|
-
|
|
73
|
-
// src/tokens/borders.ts
|
|
85
|
+
// src/keyframes.ts
|
|
74
86
|
var import_dev2 = require("@pandacss/dev");
|
|
75
|
-
var
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
87
|
+
var keyframes = (0, import_dev2.defineKeyframes)({
|
|
88
|
+
"fade-in": {
|
|
89
|
+
from: { opacity: "0" },
|
|
90
|
+
to: { opacity: "1" }
|
|
91
|
+
},
|
|
92
|
+
"fade-out": {
|
|
93
|
+
from: { opacity: "1" },
|
|
94
|
+
to: { opacity: "0" }
|
|
95
|
+
},
|
|
96
|
+
spin: {
|
|
97
|
+
"100%": { transform: "rotate(1turn)" }
|
|
98
|
+
}
|
|
80
99
|
});
|
|
81
100
|
|
|
82
|
-
// src/
|
|
101
|
+
// src/recipes/tag.ts
|
|
83
102
|
var import_dev3 = require("@pandacss/dev");
|
|
84
|
-
var
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
103
|
+
var tagSlotRecipe = (0, import_dev3.defineSlotRecipe)({
|
|
104
|
+
className: "tag",
|
|
105
|
+
jsx: ["MpTag", "mp-tag"],
|
|
106
|
+
slots: ["root", "close"],
|
|
107
|
+
base: {
|
|
108
|
+
root: {
|
|
109
|
+
position: "relative",
|
|
110
|
+
display: "inline-flex",
|
|
111
|
+
alignItems: "center",
|
|
112
|
+
userSelect: "auto",
|
|
113
|
+
outline: "0px solid transparent",
|
|
114
|
+
borderWidth: "1px",
|
|
115
|
+
borderColor: "transparent",
|
|
116
|
+
borderRadius: "sm",
|
|
117
|
+
transition: "all 250ms",
|
|
118
|
+
textAlign: "left",
|
|
119
|
+
fontSize: "md",
|
|
120
|
+
fontWeight: "regular",
|
|
121
|
+
lineHeight: "md",
|
|
122
|
+
letterSpacing: "normal",
|
|
123
|
+
paddingX: "2",
|
|
124
|
+
whiteSpace: "normal",
|
|
125
|
+
overflowWrap: "anywhere",
|
|
126
|
+
cursor: "var(--mp-tag--cursor)"
|
|
127
|
+
},
|
|
128
|
+
close: {
|
|
129
|
+
position: "absolute!",
|
|
130
|
+
color: "gray.600",
|
|
131
|
+
border: "none",
|
|
132
|
+
right: "0",
|
|
133
|
+
width: "5",
|
|
134
|
+
height: "5",
|
|
135
|
+
minWidth: "5",
|
|
136
|
+
paddingTop: "1",
|
|
137
|
+
padding: "0",
|
|
138
|
+
transition: "all 250ms!",
|
|
139
|
+
visibility: "hidden",
|
|
140
|
+
opacity: "0",
|
|
141
|
+
_groupHover: {
|
|
142
|
+
visibility: "visible",
|
|
143
|
+
opacity: "1"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
110
146
|
},
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
147
|
+
variants: {
|
|
148
|
+
size: {
|
|
149
|
+
sm: {
|
|
150
|
+
root: {
|
|
151
|
+
paddingY: "0"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
md: {
|
|
155
|
+
root: {
|
|
156
|
+
paddingY: "1"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
115
159
|
},
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
160
|
+
variant: {
|
|
161
|
+
gray: {
|
|
162
|
+
root: {
|
|
163
|
+
color: "gray.600",
|
|
164
|
+
background: "gray.50"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
red: {
|
|
168
|
+
root: {
|
|
169
|
+
color: "red.400",
|
|
170
|
+
backgroundColor: "red.50"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
compoundVariants: [
|
|
176
|
+
{
|
|
177
|
+
variant: "gray",
|
|
178
|
+
css: {
|
|
179
|
+
close: {
|
|
180
|
+
background: "linear-gradient(270deg, #EDF0F2 75%, rgba(237, 240, 242, 0) 111.54%)"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
119
183
|
},
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
184
|
+
{
|
|
185
|
+
variant: "red",
|
|
186
|
+
css: {
|
|
187
|
+
close: {
|
|
188
|
+
background: "linear-gradient(270deg, #FDECEE 75%, rgba(237, 240, 242, 0) 111.54%)"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
124
191
|
},
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
192
|
+
{
|
|
193
|
+
size: "sm",
|
|
194
|
+
css: {
|
|
195
|
+
close: { paddingTop: "0" }
|
|
196
|
+
}
|
|
128
197
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
400: { value: "#4B61DD" },
|
|
134
|
-
500: { value: "#1C44D5" },
|
|
135
|
-
700: { value: "#0031BE" }
|
|
136
|
-
},
|
|
137
|
-
red: {
|
|
138
|
-
50: { value: "#FDECEE" },
|
|
139
|
-
400: { value: "#DA473F" },
|
|
140
|
-
500: { value: "#C83E39" },
|
|
141
|
-
700: { value: "#AB3129" }
|
|
142
|
-
},
|
|
143
|
-
green: {
|
|
144
|
-
50: { value: "#E8F5EB" },
|
|
145
|
-
400: { value: "#68BE79" },
|
|
146
|
-
500: { value: "#4FB262" },
|
|
147
|
-
700: { value: "#3C914D" }
|
|
148
|
-
},
|
|
149
|
-
orange: {
|
|
150
|
-
50: { value: "#FBF3DD" },
|
|
151
|
-
400: { value: "#E0AB00" },
|
|
152
|
-
500: { value: "#DE9400" },
|
|
153
|
-
700: { value: "#DB8000" }
|
|
154
|
-
},
|
|
155
|
-
sky: {
|
|
156
|
-
100: { value: "#60A5FA" },
|
|
157
|
-
400: { value: "#3B82F6" }
|
|
158
|
-
},
|
|
159
|
-
teal: {
|
|
160
|
-
100: { value: "#2DD4BF" },
|
|
161
|
-
400: { value: "#14B8A6" }
|
|
162
|
-
},
|
|
163
|
-
violet: {
|
|
164
|
-
100: { value: "#A78BFA" },
|
|
165
|
-
400: { value: "#8B5CF6" }
|
|
166
|
-
},
|
|
167
|
-
amber: {
|
|
168
|
-
100: { value: "#FBBF24" },
|
|
169
|
-
400: { value: "#F59E0B" }
|
|
170
|
-
},
|
|
171
|
-
rose: {
|
|
172
|
-
100: { value: "#F87171" },
|
|
173
|
-
400: { value: "#EF4444" }
|
|
174
|
-
},
|
|
175
|
-
stone: {
|
|
176
|
-
100: { value: "#A1A1AA" },
|
|
177
|
-
400: { value: "#71717A" }
|
|
178
|
-
},
|
|
179
|
-
lime: {
|
|
180
|
-
100: { value: "#A3E635" },
|
|
181
|
-
400: { value: "#84CC16" }
|
|
182
|
-
},
|
|
183
|
-
pink: {
|
|
184
|
-
100: { value: "#F472B6" },
|
|
185
|
-
400: { value: "#EC4899" }
|
|
186
|
-
},
|
|
187
|
-
apricot: {
|
|
188
|
-
100: { value: "#FB923C" },
|
|
189
|
-
400: { value: "#F97316" }
|
|
190
|
-
},
|
|
191
|
-
aqua: {
|
|
192
|
-
100: { value: "#22D3EE" },
|
|
193
|
-
400: { value: "#06B6D4" }
|
|
194
|
-
},
|
|
195
|
-
leaf: {
|
|
196
|
-
100: { value: "#4ADE80" },
|
|
197
|
-
400: { value: "#22C55E" }
|
|
198
|
-
},
|
|
199
|
-
fuchsia: {
|
|
200
|
-
100: { value: "#E879F9" },
|
|
201
|
-
400: { value: "#D946EF" }
|
|
202
|
-
},
|
|
203
|
-
ice: {
|
|
204
|
-
50: { value: "#E0EEFF" },
|
|
205
|
-
100: { value: "#B4D3F2" }
|
|
206
|
-
},
|
|
207
|
-
ash: {
|
|
208
|
-
100: { value: "#E7EDF5" }
|
|
198
|
+
],
|
|
199
|
+
defaultVariants: {
|
|
200
|
+
size: "md",
|
|
201
|
+
variant: "gray"
|
|
209
202
|
}
|
|
210
203
|
});
|
|
211
204
|
|
|
212
|
-
// src/
|
|
205
|
+
// src/recipes/avatar.ts
|
|
213
206
|
var import_dev4 = require("@pandacss/dev");
|
|
214
|
-
var
|
|
215
|
-
slow: { value: "100ms" },
|
|
216
|
-
normal: { value: "250ms" },
|
|
217
|
-
fast: { value: "300ms" }
|
|
218
|
-
});
|
|
219
|
-
|
|
220
|
-
// src/tokens/opacity.ts
|
|
221
|
-
var import_dev5 = require("@pandacss/dev");
|
|
222
|
-
var opacity = import_dev5.defineTokens.opacity({
|
|
223
|
-
0: { value: 0 },
|
|
224
|
-
40: { value: 0.4 },
|
|
225
|
-
60: { value: 0.6 },
|
|
226
|
-
100: { value: 1 }
|
|
227
|
-
});
|
|
228
|
-
|
|
229
|
-
// src/tokens/radii.ts
|
|
230
|
-
var import_dev6 = require("@pandacss/dev");
|
|
231
|
-
var radii = import_dev6.defineTokens.radii({
|
|
232
|
-
none: { value: "0" },
|
|
233
|
-
xs: { value: "0.125rem", description: "2px" },
|
|
234
|
-
sm: { value: "0.25rem", description: "4px" },
|
|
235
|
-
md: { value: "0.375rem", description: "6px" },
|
|
236
|
-
lg: { value: "0.5rem", description: "8px" },
|
|
237
|
-
xl: { value: "0.75rem", description: "12px" },
|
|
238
|
-
full: { value: "50%" }
|
|
239
|
-
});
|
|
240
|
-
|
|
241
|
-
// src/tokens/shadows.ts
|
|
242
|
-
var import_dev7 = require("@pandacss/dev");
|
|
243
|
-
var shadows = import_dev7.defineTokens.shadows({
|
|
244
|
-
xs: {
|
|
245
|
-
value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
|
|
246
|
-
},
|
|
247
|
-
sm: {
|
|
248
|
-
value: ["0px 4px 6px -2px rgba(0, 0, 0, 0.05)", "0px 10px 15px -3px rgba(0, 0, 0, 0.10)"]
|
|
249
|
-
},
|
|
250
|
-
md: {
|
|
251
|
-
value: ["0px 10px 10px -5px rgba(0, 0, 0, 0.04)", "0px 20px 25px -5px rgba(0, 0, 0, 0.10)"]
|
|
252
|
-
},
|
|
253
|
-
lg: {
|
|
254
|
-
value: ["0px 6px 16px 0px rgba(0, 0, 0, 0.08)", "0px 9px 28px 8px rgba(0, 0, 0, 0.05)"]
|
|
255
|
-
},
|
|
256
|
-
focus: {
|
|
257
|
-
value: "0 0 0 3px rgba(224, 238, 255, 1)"
|
|
258
|
-
},
|
|
259
|
-
xl: {
|
|
260
|
-
value: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"
|
|
261
|
-
},
|
|
262
|
-
"2xl": {
|
|
263
|
-
value: "0 25px 50px -12px rgba(0, 0, 0, 0.25)"
|
|
264
|
-
},
|
|
265
|
-
outline: {
|
|
266
|
-
value: "0 0 0 3px #E0EEFF"
|
|
267
|
-
},
|
|
268
|
-
"outline-tab": {
|
|
269
|
-
value: "0 0 0 2px #E0EEFF"
|
|
270
|
-
},
|
|
271
|
-
outer: {
|
|
272
|
-
value: "0 0 0 3px rgba(224, 238, 255, 1)"
|
|
273
|
-
},
|
|
274
|
-
inner: {
|
|
275
|
-
value: "inset 0 2px 4px 0 rgba( 0, 0, 0, 0.06)"
|
|
276
|
-
},
|
|
277
|
-
none: {
|
|
278
|
-
value: "none"
|
|
279
|
-
}
|
|
280
|
-
});
|
|
281
|
-
|
|
282
|
-
// src/tokens/sizes.ts
|
|
283
|
-
var import_dev8 = require("@pandacss/dev");
|
|
284
|
-
var sizes = import_dev8.defineTokens.sizes({
|
|
285
|
-
0: { value: "0", description: "0px" },
|
|
286
|
-
0.25: { value: "0.0625rem", description: "1px" },
|
|
287
|
-
0.5: { value: "0.125rem", description: "2px" },
|
|
288
|
-
1: { value: "0.25rem", description: "4px" },
|
|
289
|
-
2: { value: "0.5rem", description: "8px" },
|
|
290
|
-
2.5: { value: "0.625rem", description: "10px" },
|
|
291
|
-
3: { value: "0.75rem", description: "12px" },
|
|
292
|
-
4: { value: "1rem", description: "16px" },
|
|
293
|
-
5: { value: "1.25rem", description: "20px" },
|
|
294
|
-
6: { value: "1.5rem", description: "24px" },
|
|
295
|
-
7: { value: "1.75rem", description: "28px" },
|
|
296
|
-
7.5: { value: "1.875rem", description: "30px" },
|
|
297
|
-
8: { value: "2rem", description: "32px" },
|
|
298
|
-
9: { value: "2.25rem", description: "36px" },
|
|
299
|
-
9.5: { value: "2.375rem", description: "38px" },
|
|
300
|
-
10: { value: "2.5rem", description: "40px" },
|
|
301
|
-
11: { value: "2.75rem", description: "44px" },
|
|
302
|
-
12: { value: "3rem", description: "48px" },
|
|
303
|
-
16: { value: "4rem", description: "64px" },
|
|
304
|
-
20: { value: "5rem", description: "80px" },
|
|
305
|
-
22: { value: "5.5rem", description: "96px" },
|
|
306
|
-
56: { value: "14rem", description: "224px" },
|
|
307
|
-
65: { value: "17.5rem", description: "280px" },
|
|
308
|
-
full: { value: "100%" }
|
|
309
|
-
});
|
|
310
|
-
|
|
311
|
-
// src/tokens/spacing.ts
|
|
312
|
-
var import_dev9 = require("@pandacss/dev");
|
|
313
|
-
var spacing = import_dev9.defineTokens.spacing({
|
|
314
|
-
0: { value: "0", description: "0px" },
|
|
315
|
-
0.5: { value: "0.125rem", description: "2px" },
|
|
316
|
-
1: { value: "0.25rem", description: "4px" },
|
|
317
|
-
1.5: { value: "0.375rem", description: "6px" },
|
|
318
|
-
2: { value: "0.5rem", description: "8px" },
|
|
319
|
-
3: { value: "0.75rem", description: "12px" },
|
|
320
|
-
4: { value: "1rem", description: "16px" },
|
|
321
|
-
5: { value: "1.3rem", description: "20px" },
|
|
322
|
-
6: { value: "1.5rem", description: "24px" },
|
|
323
|
-
8: { value: "2rem", description: "32px" },
|
|
324
|
-
12: { value: "3rem", description: "48px" },
|
|
325
|
-
16: { value: "4rem", description: "64px" },
|
|
326
|
-
20: { value: "5rem", description: "80px" },
|
|
327
|
-
24: { value: "6rem", description: "96px" },
|
|
328
|
-
32: { value: "8rem", description: "128px" },
|
|
329
|
-
40: { value: "10rem", description: "160px" },
|
|
330
|
-
64: { value: "16rem", description: "256px" }
|
|
331
|
-
});
|
|
332
|
-
|
|
333
|
-
// src/tokens/z-index.ts
|
|
334
|
-
var import_dev10 = require("@pandacss/dev");
|
|
335
|
-
var zIndex = import_dev10.defineTokens.zIndex({
|
|
336
|
-
hide: { value: -1 },
|
|
337
|
-
base: { value: 0 },
|
|
338
|
-
docked: { value: 10 },
|
|
339
|
-
sticky: { value: 1100 },
|
|
340
|
-
overlay: { value: 1300 },
|
|
341
|
-
modal: { value: 1400 },
|
|
342
|
-
popover: { value: 1500 },
|
|
343
|
-
tooltip: { value: 1800 }
|
|
344
|
-
});
|
|
345
|
-
|
|
346
|
-
// src/tokens/typography.ts
|
|
347
|
-
var import_dev11 = require("@pandacss/dev");
|
|
348
|
-
var fonts = import_dev11.defineTokens.fonts({
|
|
349
|
-
body: {
|
|
350
|
-
value: '"inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
|
|
351
|
-
},
|
|
352
|
-
mono: {
|
|
353
|
-
value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
|
|
354
|
-
}
|
|
355
|
-
});
|
|
356
|
-
var fontSizes = import_dev11.defineTokens.fontSizes({
|
|
357
|
-
xs: { value: "0.625rem", description: "10px" },
|
|
358
|
-
sm: { value: "0.75rem", description: "12px" },
|
|
359
|
-
md: { value: "0.875rem", description: "14px" },
|
|
360
|
-
lg: { value: "1rem", description: "16px" },
|
|
361
|
-
xl: { value: "1.25rem", description: "20px" },
|
|
362
|
-
"2xl": { value: "1.5rem", description: "24px" }
|
|
363
|
-
});
|
|
364
|
-
var fontWeights = import_dev11.defineTokens.fontWeights({
|
|
365
|
-
regular: { value: "400" },
|
|
366
|
-
semiBold: { value: "600" },
|
|
367
|
-
bold: { value: "800" }
|
|
368
|
-
});
|
|
369
|
-
var lineHeights = import_dev11.defineTokens.lineHeights({
|
|
370
|
-
xs: { value: 1.2, description: "12px/10px" },
|
|
371
|
-
sm: { value: 1.34, description: "16px/12px or 32px/24px" },
|
|
372
|
-
md: { value: 1.4, description: "28px/20px" },
|
|
373
|
-
lg: { value: 1.429, description: "20px/14px" },
|
|
374
|
-
xl: { value: 1.5, description: "24px/16px" },
|
|
375
|
-
"2xl": { value: 1.67, description: "20px/12px" },
|
|
376
|
-
"3xl": { value: 1.71, description: "24px/14px" }
|
|
377
|
-
});
|
|
378
|
-
var letterSpacings = import_dev11.defineTokens.letterSpacings({
|
|
379
|
-
tighter: { value: "-0.05em" },
|
|
380
|
-
tight: { value: "-0.025em" },
|
|
381
|
-
normal: { value: "0" },
|
|
382
|
-
wide: { value: "0.025em" },
|
|
383
|
-
wider: { value: "0.05em" },
|
|
384
|
-
widest: { value: "0.1em" }
|
|
385
|
-
});
|
|
386
|
-
|
|
387
|
-
// src/tokens/index.ts
|
|
388
|
-
var tokens = (0, import_dev12.defineTokens)({
|
|
389
|
-
borders,
|
|
390
|
-
colors,
|
|
391
|
-
durations,
|
|
392
|
-
fonts,
|
|
393
|
-
fontSizes,
|
|
394
|
-
fontWeights,
|
|
395
|
-
lineHeights,
|
|
396
|
-
letterSpacings,
|
|
397
|
-
opacity,
|
|
398
|
-
radii,
|
|
399
|
-
shadows,
|
|
400
|
-
sizes,
|
|
401
|
-
spacing,
|
|
402
|
-
zIndex
|
|
403
|
-
});
|
|
404
|
-
|
|
405
|
-
// src/text-styles.ts
|
|
406
|
-
var import_dev13 = require("@pandacss/dev");
|
|
407
|
-
var textStyles = (0, import_dev13.defineTextStyles)({
|
|
408
|
-
overline: { value: { fontSize: "xs", lineHeight: "xs" } },
|
|
409
|
-
body: {
|
|
410
|
-
sm: { value: { fontSize: "sm", lineHeight: "2xl" } },
|
|
411
|
-
md: { value: { fontSize: "md", lineHeight: "3xl" } }
|
|
412
|
-
},
|
|
413
|
-
label: {
|
|
414
|
-
sm: { value: { fontSize: "sm", lineHeight: "sm" } },
|
|
415
|
-
md: { value: { fontSize: "md", lineHeight: "lg" } }
|
|
416
|
-
},
|
|
417
|
-
h3: {
|
|
418
|
-
value: {
|
|
419
|
-
fontSize: "lg",
|
|
420
|
-
lineHeight: "xl",
|
|
421
|
-
fontWeight: "semiBold !important"
|
|
422
|
-
}
|
|
423
|
-
},
|
|
424
|
-
h2: {
|
|
425
|
-
value: {
|
|
426
|
-
fontSize: "xl",
|
|
427
|
-
lineHeight: "md",
|
|
428
|
-
fontWeight: "semiBold !important"
|
|
429
|
-
}
|
|
430
|
-
},
|
|
431
|
-
h1: {
|
|
432
|
-
value: {
|
|
433
|
-
fontSize: "2xl",
|
|
434
|
-
lineHeight: "sm",
|
|
435
|
-
fontWeight: "semiBold !important"
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
});
|
|
439
|
-
|
|
440
|
-
// src/keyframes.ts
|
|
441
|
-
var import_dev14 = require("@pandacss/dev");
|
|
442
|
-
var keyframes = (0, import_dev14.defineKeyframes)({
|
|
443
|
-
"fade-in": {
|
|
444
|
-
from: { opacity: "0" },
|
|
445
|
-
to: { opacity: "1" }
|
|
446
|
-
},
|
|
447
|
-
"fade-out": {
|
|
448
|
-
from: { opacity: "1" },
|
|
449
|
-
to: { opacity: "0" }
|
|
450
|
-
},
|
|
451
|
-
spin: {
|
|
452
|
-
"100%": { transform: "rotate(1turn)" }
|
|
453
|
-
}
|
|
454
|
-
});
|
|
455
|
-
|
|
456
|
-
// src/recipes/tag.ts
|
|
457
|
-
var import_dev15 = require("@pandacss/dev");
|
|
458
|
-
var tagSlotRecipe = (0, import_dev15.defineSlotRecipe)({
|
|
459
|
-
className: "tag",
|
|
460
|
-
jsx: ["MpTag", "mp-tag"],
|
|
461
|
-
slots: ["root", "close"],
|
|
462
|
-
base: {
|
|
463
|
-
root: {
|
|
464
|
-
position: "relative",
|
|
465
|
-
display: "inline-flex",
|
|
466
|
-
alignItems: "center",
|
|
467
|
-
userSelect: "auto",
|
|
468
|
-
outline: "0px solid transparent",
|
|
469
|
-
borderWidth: "1px",
|
|
470
|
-
borderColor: "transparent",
|
|
471
|
-
borderRadius: "sm",
|
|
472
|
-
transition: "all 250ms",
|
|
473
|
-
textAlign: "left",
|
|
474
|
-
fontSize: "md",
|
|
475
|
-
fontWeight: "regular",
|
|
476
|
-
lineHeight: "md",
|
|
477
|
-
letterSpacing: "normal",
|
|
478
|
-
paddingX: "2",
|
|
479
|
-
whiteSpace: "normal",
|
|
480
|
-
overflowWrap: "anywhere",
|
|
481
|
-
cursor: "var(--mp-tag--cursor)"
|
|
482
|
-
},
|
|
483
|
-
close: {
|
|
484
|
-
position: "absolute!",
|
|
485
|
-
color: "gray.600",
|
|
486
|
-
background: "linear-gradient(270deg, #EDF0F2 75%, rgba(237, 240, 242, 0) 111.54%)!",
|
|
487
|
-
border: "none",
|
|
488
|
-
right: "0",
|
|
489
|
-
width: "5",
|
|
490
|
-
height: "5",
|
|
491
|
-
minWidth: "5",
|
|
492
|
-
paddingTop: "1",
|
|
493
|
-
padding: "0",
|
|
494
|
-
transition: "all 250ms!",
|
|
495
|
-
visibility: "hidden",
|
|
496
|
-
opacity: "0",
|
|
497
|
-
_groupHover: {
|
|
498
|
-
visibility: "visible",
|
|
499
|
-
opacity: "1"
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
variants: {
|
|
504
|
-
size: {
|
|
505
|
-
sm: {
|
|
506
|
-
root: {
|
|
507
|
-
paddingY: "0"
|
|
508
|
-
}
|
|
509
|
-
},
|
|
510
|
-
md: {
|
|
511
|
-
root: {
|
|
512
|
-
paddingY: "1"
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
variant: {
|
|
517
|
-
gray: {
|
|
518
|
-
root: {
|
|
519
|
-
color: "gray.600",
|
|
520
|
-
background: "gray.50"
|
|
521
|
-
}
|
|
522
|
-
},
|
|
523
|
-
red: {
|
|
524
|
-
root: {
|
|
525
|
-
color: "red.400",
|
|
526
|
-
backgroundColor: "red.50"
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
},
|
|
531
|
-
compoundVariants: [
|
|
532
|
-
{
|
|
533
|
-
variant: "red",
|
|
534
|
-
css: {
|
|
535
|
-
close: {
|
|
536
|
-
background: "linear-gradient(270deg, #FDECEE 75%, rgba(237, 240, 242, 0) 111.54%)!"
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
size: "sm",
|
|
542
|
-
css: {
|
|
543
|
-
close: { paddingTop: "0" }
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
],
|
|
547
|
-
defaultVariants: {
|
|
548
|
-
size: "md",
|
|
549
|
-
variant: "gray"
|
|
550
|
-
}
|
|
551
|
-
});
|
|
552
|
-
|
|
553
|
-
// src/recipes/avatar.ts
|
|
554
|
-
var import_dev16 = require("@pandacss/dev");
|
|
555
|
-
var avatarSlotRecipe = (0, import_dev16.defineSlotRecipe)({
|
|
207
|
+
var avatarSlotRecipe = (0, import_dev4.defineSlotRecipe)({
|
|
556
208
|
className: "avatar",
|
|
557
209
|
jsx: ["MpAvatar", "mp-avatar"],
|
|
558
210
|
slots: ["root", "fallback", "image", "icon"],
|
|
@@ -684,7 +336,7 @@ var avatarSlotRecipe = (0, import_dev16.defineSlotRecipe)({
|
|
|
684
336
|
variant: "circle"
|
|
685
337
|
}
|
|
686
338
|
});
|
|
687
|
-
var avatarGroupSlotRecipe = (0,
|
|
339
|
+
var avatarGroupSlotRecipe = (0, import_dev4.defineSlotRecipe)({
|
|
688
340
|
className: "avatar-group",
|
|
689
341
|
jsx: ["MpAvatarGroup", "mp-avatar-group"],
|
|
690
342
|
slots: ["root", "excess"],
|
|
@@ -728,8 +380,8 @@ var avatarGroupSlotRecipe = (0, import_dev16.defineSlotRecipe)({
|
|
|
728
380
|
});
|
|
729
381
|
|
|
730
382
|
// src/recipes/button.ts
|
|
731
|
-
var
|
|
732
|
-
var buttonRecipe = (0,
|
|
383
|
+
var import_dev5 = require("@pandacss/dev");
|
|
384
|
+
var buttonRecipe = (0, import_dev5.defineRecipe)({
|
|
733
385
|
className: "button",
|
|
734
386
|
jsx: ["MpButton", "mp-button"],
|
|
735
387
|
base: {
|
|
@@ -925,7 +577,7 @@ var buttonRecipe = (0, import_dev17.defineRecipe)({
|
|
|
925
577
|
size: "md"
|
|
926
578
|
}
|
|
927
579
|
});
|
|
928
|
-
var buttonGroupRecipe = (0,
|
|
580
|
+
var buttonGroupRecipe = (0, import_dev5.defineRecipe)({
|
|
929
581
|
className: "pixel-button-group",
|
|
930
582
|
jsx: ["MpButtonGroup"],
|
|
931
583
|
base: {
|
|
@@ -950,8 +602,8 @@ var buttonGroupRecipe = (0, import_dev17.defineRecipe)({
|
|
|
950
602
|
});
|
|
951
603
|
|
|
952
604
|
// src/recipes/input.ts
|
|
953
|
-
var
|
|
954
|
-
var inputSlotRecipe = (0,
|
|
605
|
+
var import_dev6 = require("@pandacss/dev");
|
|
606
|
+
var inputSlotRecipe = (0, import_dev6.defineSlotRecipe)({
|
|
955
607
|
className: "input",
|
|
956
608
|
jsx: ["MpInput", "mp-input"],
|
|
957
609
|
slots: ["root", "control", "clear"],
|
|
@@ -1070,7 +722,7 @@ var inputSlotRecipe = (0, import_dev18.defineSlotRecipe)({
|
|
|
1070
722
|
variant: "outline"
|
|
1071
723
|
}
|
|
1072
724
|
});
|
|
1073
|
-
var inputGroupSlotRecipe = (0,
|
|
725
|
+
var inputGroupSlotRecipe = (0, import_dev6.defineSlotRecipe)({
|
|
1074
726
|
className: "input-group",
|
|
1075
727
|
jsx: ["MpInputGroup", "mp-input-group"],
|
|
1076
728
|
slots: ["root"],
|
|
@@ -1086,7 +738,7 @@ var inputGroupSlotRecipe = (0, import_dev18.defineSlotRecipe)({
|
|
|
1086
738
|
compoundVariants: [],
|
|
1087
739
|
defaultVariants: {}
|
|
1088
740
|
});
|
|
1089
|
-
var inputAddonSlotRecipe = (0,
|
|
741
|
+
var inputAddonSlotRecipe = (0, import_dev6.defineSlotRecipe)({
|
|
1090
742
|
className: "input-addon",
|
|
1091
743
|
jsx: ["MpInputAddon", "mp-input-addon"],
|
|
1092
744
|
slots: ["root"],
|
|
@@ -1151,8 +803,8 @@ var inputAddonSlotRecipe = (0, import_dev18.defineSlotRecipe)({
|
|
|
1151
803
|
});
|
|
1152
804
|
|
|
1153
805
|
// src/recipes/select.ts
|
|
1154
|
-
var
|
|
1155
|
-
var selectSlotRecipe = (0,
|
|
806
|
+
var import_dev7 = require("@pandacss/dev");
|
|
807
|
+
var selectSlotRecipe = (0, import_dev7.defineSlotRecipe)({
|
|
1156
808
|
className: "select",
|
|
1157
809
|
jsx: ["MpSelect", "mp-select"],
|
|
1158
810
|
slots: ["root", "control", "clear", "arrow"],
|
|
@@ -1264,8 +916,8 @@ var selectSlotRecipe = (0, import_dev19.defineSlotRecipe)({
|
|
|
1264
916
|
});
|
|
1265
917
|
|
|
1266
918
|
// src/recipes/text.ts
|
|
1267
|
-
var
|
|
1268
|
-
var textRecipe = (0,
|
|
919
|
+
var import_dev8 = require("@pandacss/dev");
|
|
920
|
+
var textRecipe = (0, import_dev8.defineRecipe)({
|
|
1269
921
|
className: "text",
|
|
1270
922
|
jsx: ["MpText", "mp-text"],
|
|
1271
923
|
base: {
|
|
@@ -1321,8 +973,8 @@ var textRecipe = (0, import_dev20.defineRecipe)({
|
|
|
1321
973
|
});
|
|
1322
974
|
|
|
1323
975
|
// src/recipes/icon.ts
|
|
1324
|
-
var
|
|
1325
|
-
var iconRecipe = (0,
|
|
976
|
+
var import_dev9 = require("@pandacss/dev");
|
|
977
|
+
var iconRecipe = (0, import_dev9.defineRecipe)({
|
|
1326
978
|
className: "icon",
|
|
1327
979
|
jsx: ["MpIcon", "mp-icon"],
|
|
1328
980
|
base: {
|
|
@@ -1353,8 +1005,8 @@ var iconRecipe = (0, import_dev21.defineRecipe)({
|
|
|
1353
1005
|
});
|
|
1354
1006
|
|
|
1355
1007
|
// src/recipes/spinner.ts
|
|
1356
|
-
var
|
|
1357
|
-
var spinnerRecipe = (0,
|
|
1008
|
+
var import_dev10 = require("@pandacss/dev");
|
|
1009
|
+
var spinnerRecipe = (0, import_dev10.defineRecipe)({
|
|
1358
1010
|
className: "spinner",
|
|
1359
1011
|
jsx: ["MpSpinner", "mp-spinner"],
|
|
1360
1012
|
base: {
|
|
@@ -1379,8 +1031,8 @@ var spinnerRecipe = (0, import_dev22.defineRecipe)({
|
|
|
1379
1031
|
});
|
|
1380
1032
|
|
|
1381
1033
|
// src/recipes/accordion.ts
|
|
1382
|
-
var
|
|
1383
|
-
var accordion = (0,
|
|
1034
|
+
var import_dev11 = require("@pandacss/dev");
|
|
1035
|
+
var accordion = (0, import_dev11.defineSlotRecipe)({
|
|
1384
1036
|
className: "accordion",
|
|
1385
1037
|
slots: ["root", "item", "trigger", "content"],
|
|
1386
1038
|
base: {
|
|
@@ -1436,8 +1088,8 @@ var accordion = (0, import_dev23.defineSlotRecipe)({
|
|
|
1436
1088
|
});
|
|
1437
1089
|
|
|
1438
1090
|
// src/recipes/popover.ts
|
|
1439
|
-
var
|
|
1440
|
-
var popoverContentRecipe = (0,
|
|
1091
|
+
var import_dev12 = require("@pandacss/dev");
|
|
1092
|
+
var popoverContentRecipe = (0, import_dev12.defineRecipe)({
|
|
1441
1093
|
className: "popover",
|
|
1442
1094
|
jsx: ["MpPopover", "mp-popover"],
|
|
1443
1095
|
base: {},
|
|
@@ -1467,7 +1119,7 @@ var popoverContentRecipe = (0, import_dev24.defineRecipe)({
|
|
|
1467
1119
|
isUnstyled: false
|
|
1468
1120
|
}
|
|
1469
1121
|
});
|
|
1470
|
-
var popoverListRecipe = (0,
|
|
1122
|
+
var popoverListRecipe = (0, import_dev12.defineRecipe)({
|
|
1471
1123
|
className: "popover-list",
|
|
1472
1124
|
jsx: ["MpPopoverList", "mp-popover-list"],
|
|
1473
1125
|
base: {
|
|
@@ -1478,7 +1130,7 @@ var popoverListRecipe = (0, import_dev24.defineRecipe)({
|
|
|
1478
1130
|
flexDirection: "column"
|
|
1479
1131
|
}
|
|
1480
1132
|
});
|
|
1481
|
-
var popoverListItemRecipe = (0,
|
|
1133
|
+
var popoverListItemRecipe = (0, import_dev12.defineRecipe)({
|
|
1482
1134
|
className: "popover-list-item",
|
|
1483
1135
|
jsx: ["MpPopoverListItem", "mp-popover-list-item"],
|
|
1484
1136
|
base: {
|
|
@@ -1515,8 +1167,8 @@ var popoverListItemRecipe = (0, import_dev24.defineRecipe)({
|
|
|
1515
1167
|
});
|
|
1516
1168
|
|
|
1517
1169
|
// src/recipes/badge.ts
|
|
1518
|
-
var
|
|
1519
|
-
var badgeRecipe = (0,
|
|
1170
|
+
var import_dev13 = require("@pandacss/dev");
|
|
1171
|
+
var badgeRecipe = (0, import_dev13.defineRecipe)({
|
|
1520
1172
|
className: "badge",
|
|
1521
1173
|
jsx: ["MpBadge", "mp-badge"],
|
|
1522
1174
|
base: {
|
|
@@ -1627,1058 +1279,1949 @@ var badgeRecipe = (0, import_dev25.defineRecipe)({
|
|
|
1627
1279
|
},
|
|
1628
1280
|
// Subtle
|
|
1629
1281
|
{
|
|
1630
|
-
variant: ["subtle"],
|
|
1282
|
+
variant: ["subtle"],
|
|
1283
|
+
variantColor: "blue",
|
|
1284
|
+
css: {
|
|
1285
|
+
backgroundColor: "blue.50",
|
|
1286
|
+
color: "blue.700"
|
|
1287
|
+
}
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
variant: ["subtle"],
|
|
1291
|
+
variantColor: "green",
|
|
1292
|
+
css: {
|
|
1293
|
+
backgroundColor: "green.50",
|
|
1294
|
+
color: "green.700"
|
|
1295
|
+
}
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
variant: ["subtle"],
|
|
1299
|
+
variantColor: "orange",
|
|
1300
|
+
css: {
|
|
1301
|
+
backgroundColor: "orange.50",
|
|
1302
|
+
color: "orange.700"
|
|
1303
|
+
}
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
variant: ["subtle"],
|
|
1307
|
+
variantColor: "red",
|
|
1308
|
+
css: {
|
|
1309
|
+
backgroundColor: "red.50",
|
|
1310
|
+
color: "red.700"
|
|
1311
|
+
}
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
variant: ["subtle"],
|
|
1315
|
+
variantColor: "gray",
|
|
1316
|
+
css: {
|
|
1317
|
+
backgroundColor: "gray.50",
|
|
1318
|
+
color: "black"
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
],
|
|
1322
|
+
defaultVariants: {
|
|
1323
|
+
variant: "solid",
|
|
1324
|
+
size: "md",
|
|
1325
|
+
variantColor: "blue"
|
|
1326
|
+
}
|
|
1327
|
+
});
|
|
1328
|
+
|
|
1329
|
+
// src/recipes/textarea.ts
|
|
1330
|
+
var import_dev14 = require("@pandacss/dev");
|
|
1331
|
+
var textareaRecipe = (0, import_dev14.defineRecipe)({
|
|
1332
|
+
className: "textarea",
|
|
1333
|
+
jsx: ["MpTextarea", "mp-textarea"],
|
|
1334
|
+
base: {
|
|
1335
|
+
position: "relative",
|
|
1336
|
+
display: "flex",
|
|
1337
|
+
alignItems: "center",
|
|
1338
|
+
outline: "0",
|
|
1339
|
+
borderWidth: "1px",
|
|
1340
|
+
borderColor: "gray.100",
|
|
1341
|
+
borderRadius: "md",
|
|
1342
|
+
color: "dark",
|
|
1343
|
+
backgroundColor: "white",
|
|
1344
|
+
appearance: "none",
|
|
1345
|
+
transition: "all 250ms",
|
|
1346
|
+
minWidth: "65",
|
|
1347
|
+
minHeight: "20",
|
|
1348
|
+
fontSize: "md",
|
|
1349
|
+
fontWeight: "regular",
|
|
1350
|
+
lineHeight: "md",
|
|
1351
|
+
paddingX: "3",
|
|
1352
|
+
paddingTop: "2",
|
|
1353
|
+
paddingBottom: "5",
|
|
1354
|
+
resize: "both",
|
|
1355
|
+
_hover: {
|
|
1356
|
+
borderColor: "gray.400"
|
|
1357
|
+
},
|
|
1358
|
+
_focus: {
|
|
1359
|
+
borderColor: "blue.500",
|
|
1360
|
+
boxShadow: "outer",
|
|
1361
|
+
_hover: {
|
|
1362
|
+
borderColor: "blue.500"
|
|
1363
|
+
}
|
|
1364
|
+
},
|
|
1365
|
+
_disabled: {
|
|
1366
|
+
color: "gray.400",
|
|
1367
|
+
backgroundColor: "gray.50",
|
|
1368
|
+
borderColor: "gray.100",
|
|
1369
|
+
cursor: "not-allowed"
|
|
1370
|
+
},
|
|
1371
|
+
_invalid: {
|
|
1372
|
+
borderColor: "red.400"
|
|
1373
|
+
},
|
|
1374
|
+
_readOnly: {
|
|
1375
|
+
boxShadow: "none",
|
|
1376
|
+
userSelect: "all"
|
|
1377
|
+
}
|
|
1378
|
+
},
|
|
1379
|
+
variants: {
|
|
1380
|
+
isFullWidth: {
|
|
1381
|
+
true: {
|
|
1382
|
+
width: "100%"
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
});
|
|
1387
|
+
|
|
1388
|
+
// src/recipes/tooltip.ts
|
|
1389
|
+
var import_dev15 = require("@pandacss/dev");
|
|
1390
|
+
var tooltipRecipe = (0, import_dev15.defineRecipe)({
|
|
1391
|
+
className: "tooltip",
|
|
1392
|
+
jsx: ["MpTooltip", "mp-tooltip"],
|
|
1393
|
+
base: {
|
|
1394
|
+
px: "2",
|
|
1395
|
+
py: "1",
|
|
1396
|
+
borderRadius: "sm",
|
|
1397
|
+
fontWeight: "regular",
|
|
1398
|
+
pointerEvents: "none",
|
|
1399
|
+
fontSize: "sm",
|
|
1400
|
+
shadow: "md",
|
|
1401
|
+
maxW: "300px",
|
|
1402
|
+
zIndex: "tooltip",
|
|
1403
|
+
boxShadow: "sm",
|
|
1404
|
+
bg: "overlay",
|
|
1405
|
+
color: "white",
|
|
1406
|
+
whiteSpace: "normal",
|
|
1407
|
+
overflowWrap: "break-word"
|
|
1408
|
+
}
|
|
1409
|
+
});
|
|
1410
|
+
|
|
1411
|
+
// src/recipes/tabs.ts
|
|
1412
|
+
var import_dev16 = require("@pandacss/dev");
|
|
1413
|
+
var tabListRecipe = (0, import_dev16.defineRecipe)({
|
|
1414
|
+
className: "tab-list",
|
|
1415
|
+
jsx: ["MpTabList", "mp-tab-list"],
|
|
1416
|
+
base: {
|
|
1417
|
+
display: "flex",
|
|
1418
|
+
overflow: "auto",
|
|
1419
|
+
gap: "1.5rem",
|
|
1420
|
+
fontSize: "md",
|
|
1421
|
+
color: "gray.600",
|
|
1422
|
+
marginBottom: 6,
|
|
1423
|
+
padding: 0.5,
|
|
1424
|
+
alignItems: "center",
|
|
1425
|
+
justifyContent: "flex-start",
|
|
1426
|
+
maxWidth: "full"
|
|
1427
|
+
}
|
|
1428
|
+
});
|
|
1429
|
+
var tabRecipe = (0, import_dev16.defineRecipe)({
|
|
1430
|
+
className: "tab",
|
|
1431
|
+
jsx: ["MpTab", "mp-tab"],
|
|
1432
|
+
base: {
|
|
1433
|
+
display: "flex",
|
|
1434
|
+
cursor: "pointer",
|
|
1435
|
+
alignItems: "center",
|
|
1436
|
+
justifyContent: "center",
|
|
1437
|
+
transition: "all 0.2s",
|
|
1438
|
+
position: "relative",
|
|
1439
|
+
mb: "1px",
|
|
1440
|
+
pt: "3",
|
|
1441
|
+
pb: "4",
|
|
1442
|
+
px: "1",
|
|
1443
|
+
color: "gray.600",
|
|
1444
|
+
_hover: {
|
|
1445
|
+
color: "dark"
|
|
1446
|
+
},
|
|
1447
|
+
_disabled: {
|
|
1448
|
+
opacity: 0.4,
|
|
1449
|
+
cursor: "not-allowed"
|
|
1450
|
+
},
|
|
1451
|
+
_focus: {
|
|
1452
|
+
shadow: "0 0 0 2px #E0EEFF",
|
|
1453
|
+
borderRadius: "sm"
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1456
|
+
variants: {
|
|
1457
|
+
variantColor: {
|
|
1458
|
+
blue: {},
|
|
1459
|
+
green: {},
|
|
1460
|
+
orange: {},
|
|
1461
|
+
red: {},
|
|
1462
|
+
gray: {}
|
|
1463
|
+
},
|
|
1464
|
+
isSelected: {
|
|
1465
|
+
true: {}
|
|
1466
|
+
}
|
|
1467
|
+
},
|
|
1468
|
+
compoundVariants: [
|
|
1469
|
+
{
|
|
1470
|
+
variantColor: "blue",
|
|
1471
|
+
isSelected: true,
|
|
1472
|
+
css: {
|
|
1473
|
+
color: "blue.400",
|
|
1474
|
+
_hover: {
|
|
1475
|
+
color: "blue.500"
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
variantColor: "green",
|
|
1481
|
+
isSelected: true,
|
|
1482
|
+
css: {
|
|
1483
|
+
color: "green.400",
|
|
1484
|
+
_hover: {
|
|
1485
|
+
color: "green.500"
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
variantColor: "orange",
|
|
1491
|
+
isSelected: true,
|
|
1492
|
+
css: {
|
|
1493
|
+
color: "orange.400",
|
|
1494
|
+
_hover: {
|
|
1495
|
+
color: "orange.500"
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
variantColor: "red",
|
|
1501
|
+
isSelected: true,
|
|
1502
|
+
css: {
|
|
1503
|
+
color: "red.400",
|
|
1504
|
+
_hover: {
|
|
1505
|
+
color: "red.500"
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
variantColor: "gray",
|
|
1511
|
+
isSelected: true,
|
|
1512
|
+
css: {
|
|
1513
|
+
color: "gray.400",
|
|
1514
|
+
_hover: {
|
|
1515
|
+
color: "gray.500"
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
],
|
|
1520
|
+
defaultVariants: {
|
|
1521
|
+
variantColor: "blue",
|
|
1522
|
+
isSelected: false
|
|
1523
|
+
}
|
|
1524
|
+
});
|
|
1525
|
+
var selectedBorderRecipe = (0, import_dev16.defineRecipe)({
|
|
1526
|
+
className: "selected-border",
|
|
1527
|
+
jsx: ["MpSelectedBorder", "mp-selected-border"],
|
|
1528
|
+
base: {
|
|
1529
|
+
position: "absolute",
|
|
1530
|
+
bottom: "-2px",
|
|
1531
|
+
width: "calc(100% - 8px)",
|
|
1532
|
+
height: "0.5"
|
|
1533
|
+
},
|
|
1534
|
+
variants: {
|
|
1535
|
+
variantColor: {
|
|
1536
|
+
blue: {},
|
|
1537
|
+
green: {},
|
|
1538
|
+
orange: {},
|
|
1539
|
+
red: {},
|
|
1540
|
+
gray: {}
|
|
1541
|
+
},
|
|
1542
|
+
isSelected: {
|
|
1543
|
+
false: {
|
|
1544
|
+
background: "transparent",
|
|
1545
|
+
_groupHover: {
|
|
1546
|
+
background: "gray.400"
|
|
1547
|
+
}
|
|
1548
|
+
},
|
|
1549
|
+
true: {}
|
|
1550
|
+
}
|
|
1551
|
+
},
|
|
1552
|
+
compoundVariants: [
|
|
1553
|
+
{
|
|
1631
1554
|
variantColor: "blue",
|
|
1555
|
+
isSelected: true,
|
|
1632
1556
|
css: {
|
|
1633
|
-
|
|
1634
|
-
|
|
1557
|
+
background: "blue.400",
|
|
1558
|
+
_groupHover: {
|
|
1559
|
+
background: "blue.500"
|
|
1560
|
+
}
|
|
1635
1561
|
}
|
|
1636
1562
|
},
|
|
1637
1563
|
{
|
|
1638
|
-
variant: ["subtle"],
|
|
1639
1564
|
variantColor: "green",
|
|
1565
|
+
isSelected: true,
|
|
1640
1566
|
css: {
|
|
1641
|
-
|
|
1642
|
-
|
|
1567
|
+
background: "green.400",
|
|
1568
|
+
_groupHover: {
|
|
1569
|
+
background: "green.500"
|
|
1570
|
+
}
|
|
1643
1571
|
}
|
|
1644
1572
|
},
|
|
1645
1573
|
{
|
|
1646
|
-
variant: ["subtle"],
|
|
1647
1574
|
variantColor: "orange",
|
|
1575
|
+
isSelected: true,
|
|
1648
1576
|
css: {
|
|
1649
|
-
|
|
1650
|
-
|
|
1577
|
+
background: "orange.400",
|
|
1578
|
+
_groupHover: {
|
|
1579
|
+
background: "orange.500"
|
|
1580
|
+
}
|
|
1651
1581
|
}
|
|
1652
1582
|
},
|
|
1653
1583
|
{
|
|
1654
|
-
variant: ["subtle"],
|
|
1655
1584
|
variantColor: "red",
|
|
1585
|
+
isSelected: true,
|
|
1656
1586
|
css: {
|
|
1657
|
-
|
|
1658
|
-
|
|
1587
|
+
background: "red.400",
|
|
1588
|
+
_groupHover: {
|
|
1589
|
+
background: "red.500"
|
|
1590
|
+
}
|
|
1659
1591
|
}
|
|
1660
1592
|
},
|
|
1661
1593
|
{
|
|
1662
|
-
variant: ["subtle"],
|
|
1663
1594
|
variantColor: "gray",
|
|
1595
|
+
isSelected: true,
|
|
1664
1596
|
css: {
|
|
1665
|
-
|
|
1666
|
-
|
|
1597
|
+
background: "gray.400",
|
|
1598
|
+
_groupHover: {
|
|
1599
|
+
background: "gray.500"
|
|
1600
|
+
}
|
|
1667
1601
|
}
|
|
1668
1602
|
}
|
|
1669
1603
|
],
|
|
1670
1604
|
defaultVariants: {
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
variantColor: "blue"
|
|
1605
|
+
variantColor: "blue",
|
|
1606
|
+
isSelected: false
|
|
1674
1607
|
}
|
|
1675
1608
|
});
|
|
1676
1609
|
|
|
1677
|
-
// src/recipes/
|
|
1678
|
-
var
|
|
1679
|
-
var
|
|
1680
|
-
className: "
|
|
1681
|
-
jsx: ["
|
|
1610
|
+
// src/recipes/checkbox.ts
|
|
1611
|
+
var import_dev17 = require("@pandacss/dev");
|
|
1612
|
+
var checkboxSlotRecipe = (0, import_dev17.defineSlotRecipe)({
|
|
1613
|
+
className: "checkbox",
|
|
1614
|
+
jsx: ["MpCheckbox", "mp-checkbox"],
|
|
1615
|
+
slots: ["root", "control", "label"],
|
|
1682
1616
|
base: {
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1617
|
+
root: {
|
|
1618
|
+
position: "relative",
|
|
1619
|
+
display: "inline-flex",
|
|
1620
|
+
alignItems: "center",
|
|
1621
|
+
justifyContent: "center",
|
|
1622
|
+
gap: "2",
|
|
1623
|
+
cursor: "pointer",
|
|
1624
|
+
outline: "none",
|
|
1625
|
+
"&[data-has-description=true]": {
|
|
1626
|
+
alignItems: "flex-start",
|
|
1627
|
+
"& .mp-checkbox__control": {
|
|
1628
|
+
marginTop: "1"
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
"& .mp-shared__hidden": {
|
|
1632
|
+
"&:focus + .mp-checkbox__control": {
|
|
1633
|
+
borderColor: "blue.400",
|
|
1634
|
+
boxShadow: "focus"
|
|
1635
|
+
}
|
|
1636
|
+
},
|
|
1637
|
+
_hover: {
|
|
1638
|
+
"& .mp-checkbox__control": {
|
|
1639
|
+
borderColor: "gray.400"
|
|
1640
|
+
}
|
|
1641
|
+
},
|
|
1642
|
+
_disabled: {
|
|
1643
|
+
cursor: "not-allowed",
|
|
1644
|
+
"& .mp-checkbox__control": {
|
|
1645
|
+
borderColor: "gray.100 !important",
|
|
1646
|
+
background: "gray.50 !important",
|
|
1647
|
+
boxShadow: "none !important"
|
|
1648
|
+
}
|
|
1649
|
+
},
|
|
1650
|
+
_invalid: {
|
|
1651
|
+
"& .mp-checkbox__control": {
|
|
1652
|
+
borderColor: "red.400",
|
|
1653
|
+
background: "white"
|
|
1654
|
+
}
|
|
1655
|
+
},
|
|
1656
|
+
_checked: {
|
|
1657
|
+
"& .mp-checkbox__control": {
|
|
1658
|
+
borderColor: "blue.400",
|
|
1659
|
+
background: "blue.400"
|
|
1660
|
+
},
|
|
1661
|
+
_hover: {
|
|
1662
|
+
"& .mp-checkbox__control": {
|
|
1663
|
+
borderColor: "blue.400"
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
},
|
|
1667
|
+
_indeterminate: {
|
|
1668
|
+
"& .mp-checkbox__control": {
|
|
1669
|
+
borderColor: "blue.400",
|
|
1670
|
+
background: "blue.400"
|
|
1671
|
+
},
|
|
1672
|
+
_hover: {
|
|
1673
|
+
"& .mp-checkbox__control": {
|
|
1674
|
+
borderColor: "blue.400"
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1705
1678
|
},
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1679
|
+
control: {
|
|
1680
|
+
flex: "none",
|
|
1681
|
+
transitionDuration: "250ms",
|
|
1682
|
+
transitionProperty: "background, border-color, box-shadow",
|
|
1683
|
+
transitionTimingFunction: "linear",
|
|
1684
|
+
position: "relative",
|
|
1685
|
+
display: "inline-flex",
|
|
1686
|
+
alignItems: "center",
|
|
1687
|
+
justifyContent: "center",
|
|
1688
|
+
width: "18px",
|
|
1689
|
+
height: "18px",
|
|
1690
|
+
borderWidth: "2px",
|
|
1691
|
+
borderColor: "gray.100",
|
|
1692
|
+
borderRadius: "md",
|
|
1693
|
+
background: "white"
|
|
1694
|
+
},
|
|
1695
|
+
label: {
|
|
1696
|
+
background: "transparent"
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
});
|
|
1700
|
+
|
|
1701
|
+
// src/recipes/radio.ts
|
|
1702
|
+
var import_dev18 = require("@pandacss/dev");
|
|
1703
|
+
var radioSlotRecipe = (0, import_dev18.defineSlotRecipe)({
|
|
1704
|
+
className: "radio",
|
|
1705
|
+
jsx: ["MpRadio", "mp-radio"],
|
|
1706
|
+
slots: ["root", "control", "label"],
|
|
1707
|
+
base: {
|
|
1708
|
+
root: {
|
|
1709
|
+
position: "relative",
|
|
1710
|
+
display: "inline-flex",
|
|
1711
|
+
alignItems: "center",
|
|
1712
|
+
justifyContent: "center",
|
|
1713
|
+
gap: "2",
|
|
1714
|
+
cursor: "pointer",
|
|
1715
|
+
outline: "none",
|
|
1716
|
+
"&[data-has-description=true]": {
|
|
1717
|
+
alignItems: "flex-start",
|
|
1718
|
+
"& .mp-radio__control": {
|
|
1719
|
+
marginTop: "1"
|
|
1720
|
+
}
|
|
1721
|
+
},
|
|
1722
|
+
"& .mp-shared__hidden": {
|
|
1723
|
+
"&:focus + .mp-radio__control": {
|
|
1724
|
+
borderColor: "blue.400",
|
|
1725
|
+
boxShadow: "focus"
|
|
1726
|
+
}
|
|
1727
|
+
},
|
|
1709
1728
|
_hover: {
|
|
1710
|
-
|
|
1729
|
+
"& .mp-radio__control": {
|
|
1730
|
+
borderColor: "gray.400"
|
|
1731
|
+
}
|
|
1732
|
+
},
|
|
1733
|
+
_disabled: {
|
|
1734
|
+
cursor: "not-allowed",
|
|
1735
|
+
"& .mp-radio__control": {
|
|
1736
|
+
borderColor: "gray.100 !important",
|
|
1737
|
+
background: "gray.50 !important",
|
|
1738
|
+
boxShadow: "none !important",
|
|
1739
|
+
"& div": {
|
|
1740
|
+
background: "gray.400"
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
},
|
|
1744
|
+
_invalid: {
|
|
1745
|
+
"& .mp-radio__control": {
|
|
1746
|
+
borderColor: "red.400",
|
|
1747
|
+
background: "white"
|
|
1748
|
+
}
|
|
1749
|
+
},
|
|
1750
|
+
_checked: {
|
|
1751
|
+
"& .mp-radio__control": {
|
|
1752
|
+
borderColor: "blue.400",
|
|
1753
|
+
background: "blue.400"
|
|
1754
|
+
},
|
|
1755
|
+
_hover: {
|
|
1756
|
+
"& .mp-radio__control": {
|
|
1757
|
+
borderColor: "blue.400"
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
},
|
|
1761
|
+
_indeterminate: {
|
|
1762
|
+
"& .mp-radio__control": {
|
|
1763
|
+
borderColor: "blue.400",
|
|
1764
|
+
background: "blue.400"
|
|
1765
|
+
},
|
|
1766
|
+
_hover: {
|
|
1767
|
+
"& .mp-radio__control": {
|
|
1768
|
+
borderColor: "blue.400"
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1711
1771
|
}
|
|
1712
1772
|
},
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1773
|
+
control: {
|
|
1774
|
+
flex: "none",
|
|
1775
|
+
transitionDuration: "250ms",
|
|
1776
|
+
transitionProperty: "background, border-color, box-shadow",
|
|
1777
|
+
transitionTimingFunction: "linear",
|
|
1778
|
+
position: "relative",
|
|
1779
|
+
display: "inline-flex",
|
|
1780
|
+
alignItems: "center",
|
|
1781
|
+
justifyContent: "center",
|
|
1782
|
+
width: "18px",
|
|
1783
|
+
height: "18px",
|
|
1784
|
+
borderWidth: "2px",
|
|
1716
1785
|
borderColor: "gray.100",
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
userSelect: "all"
|
|
1725
|
-
}
|
|
1726
|
-
},
|
|
1727
|
-
variants: {
|
|
1728
|
-
isFullWidth: {
|
|
1729
|
-
true: {
|
|
1730
|
-
width: "100%"
|
|
1786
|
+
borderRadius: "full",
|
|
1787
|
+
background: "white",
|
|
1788
|
+
"& div": {
|
|
1789
|
+
width: "2.5",
|
|
1790
|
+
height: "2.5",
|
|
1791
|
+
background: "white",
|
|
1792
|
+
borderRadius: "full"
|
|
1731
1793
|
}
|
|
1794
|
+
},
|
|
1795
|
+
label: {
|
|
1796
|
+
background: "transparent"
|
|
1732
1797
|
}
|
|
1733
1798
|
}
|
|
1734
1799
|
});
|
|
1735
1800
|
|
|
1736
|
-
// src/recipes/
|
|
1737
|
-
var
|
|
1738
|
-
var
|
|
1739
|
-
className: "
|
|
1740
|
-
jsx: ["
|
|
1801
|
+
// src/recipes/shared.ts
|
|
1802
|
+
var import_dev19 = require("@pandacss/dev");
|
|
1803
|
+
var sharedSlotRecipe = (0, import_dev19.defineSlotRecipe)({
|
|
1804
|
+
className: "shared",
|
|
1805
|
+
jsx: ["MpCheckbox", "mp-checkbox", "MpRadio", "mp-radio"],
|
|
1806
|
+
slots: ["hidden"],
|
|
1741
1807
|
base: {
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
zIndex: "tooltip",
|
|
1751
|
-
boxShadow: "sm",
|
|
1752
|
-
bg: "overlay",
|
|
1753
|
-
color: "white",
|
|
1754
|
-
whiteSpace: "normal",
|
|
1755
|
-
overflowWrap: "break-word"
|
|
1808
|
+
hidden: {
|
|
1809
|
+
clip: "rect(0px, 0px, 0px, 0px)",
|
|
1810
|
+
height: "1px",
|
|
1811
|
+
width: "1px",
|
|
1812
|
+
overflow: "hidden",
|
|
1813
|
+
whiteSpace: "nowrap",
|
|
1814
|
+
position: "absolute"
|
|
1815
|
+
}
|
|
1756
1816
|
}
|
|
1757
1817
|
});
|
|
1758
1818
|
|
|
1759
|
-
// src/recipes/
|
|
1760
|
-
var
|
|
1761
|
-
var
|
|
1762
|
-
className: "
|
|
1763
|
-
jsx: ["
|
|
1819
|
+
// src/recipes/toggle.ts
|
|
1820
|
+
var import_dev20 = require("@pandacss/dev");
|
|
1821
|
+
var toggleSlotRecipe = (0, import_dev20.defineSlotRecipe)({
|
|
1822
|
+
className: "toggle",
|
|
1823
|
+
jsx: ["MpToggle", "mp-toggle"],
|
|
1824
|
+
slots: ["root", "control", "label"],
|
|
1764
1825
|
base: {
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1826
|
+
root: {
|
|
1827
|
+
position: "relative",
|
|
1828
|
+
display: "inline-flex",
|
|
1829
|
+
alignItems: "center",
|
|
1830
|
+
justifyContent: "center",
|
|
1831
|
+
gap: "3",
|
|
1832
|
+
cursor: "pointer",
|
|
1833
|
+
outline: "none",
|
|
1834
|
+
"&[data-has-description=true]": {
|
|
1835
|
+
alignItems: "flex-start",
|
|
1836
|
+
"& .mp-toggle__control": {
|
|
1837
|
+
marginTop: "1"
|
|
1838
|
+
}
|
|
1839
|
+
},
|
|
1840
|
+
"& .mp-shared__hidden": {
|
|
1841
|
+
"&:focus + .mp-toggle__control": {
|
|
1842
|
+
borderColor: "blue.400",
|
|
1843
|
+
boxShadow: "focus"
|
|
1844
|
+
}
|
|
1845
|
+
},
|
|
1846
|
+
_hover: {
|
|
1847
|
+
"& .mp-toggle__control": {
|
|
1848
|
+
borderColor: "gray.400",
|
|
1849
|
+
background: "gray.400"
|
|
1850
|
+
}
|
|
1851
|
+
},
|
|
1852
|
+
_disabled: {
|
|
1853
|
+
cursor: "not-allowed",
|
|
1854
|
+
"& .mp-toggle__control": {
|
|
1855
|
+
borderColor: "gray.100 !important",
|
|
1856
|
+
background: "gray.50 !important",
|
|
1857
|
+
boxShadow: "none !important",
|
|
1858
|
+
"& div": {
|
|
1859
|
+
background: "gray.100"
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1862
|
+
},
|
|
1863
|
+
_invalid: {
|
|
1864
|
+
"& .mp-toggle__control": {
|
|
1865
|
+
borderColor: "red.400",
|
|
1866
|
+
background: "red.400"
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
_checked: {
|
|
1870
|
+
"& .mp-toggle__control": {
|
|
1871
|
+
borderColor: "blue.400",
|
|
1872
|
+
background: "blue.400",
|
|
1873
|
+
"& div": {
|
|
1874
|
+
transform: "translateX(var(--mp-sizes-3))"
|
|
1875
|
+
}
|
|
1876
|
+
},
|
|
1877
|
+
_hover: {
|
|
1878
|
+
"& .mp-toggle__control": {
|
|
1879
|
+
borderColor: "blue.400",
|
|
1880
|
+
background: "blue.400"
|
|
1881
|
+
}
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
},
|
|
1885
|
+
control: {
|
|
1886
|
+
flex: "none",
|
|
1887
|
+
position: "relative",
|
|
1888
|
+
display: "inline-flex",
|
|
1889
|
+
alignItems: "center",
|
|
1890
|
+
justifyContent: "flex-start",
|
|
1891
|
+
width: "7",
|
|
1892
|
+
height: "4",
|
|
1893
|
+
borderWidth: "1px",
|
|
1894
|
+
borderColor: "gray.100",
|
|
1895
|
+
borderRadius: "lg",
|
|
1896
|
+
background: "gray.100",
|
|
1897
|
+
"& div": {
|
|
1898
|
+
transitionDuration: "250ms",
|
|
1899
|
+
transitionProperty: "transform",
|
|
1900
|
+
transitionTimingFunction: "linear",
|
|
1901
|
+
transform: "translateX(2px)",
|
|
1902
|
+
width: "3",
|
|
1903
|
+
height: "3",
|
|
1904
|
+
background: "white",
|
|
1905
|
+
borderRadius: "full"
|
|
1906
|
+
}
|
|
1907
|
+
},
|
|
1908
|
+
label: {
|
|
1909
|
+
background: "transparent"
|
|
1910
|
+
}
|
|
1775
1911
|
}
|
|
1776
1912
|
});
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1913
|
+
|
|
1914
|
+
// src/recipes/table.ts
|
|
1915
|
+
var import_dev21 = require("@pandacss/dev");
|
|
1916
|
+
var tableRecipe = (0, import_dev21.defineRecipe)({
|
|
1917
|
+
className: "table",
|
|
1918
|
+
jsx: ["MpTable", "mp-table"],
|
|
1780
1919
|
base: {
|
|
1781
|
-
display: "flex",
|
|
1782
|
-
cursor: "pointer",
|
|
1783
|
-
alignItems: "center",
|
|
1784
|
-
justifyContent: "center",
|
|
1785
|
-
transition: "all 0.2s",
|
|
1786
1920
|
position: "relative",
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
},
|
|
1795
|
-
_disabled: {
|
|
1796
|
-
opacity: 0.4,
|
|
1797
|
-
cursor: "not-allowed"
|
|
1798
|
-
},
|
|
1799
|
-
_focus: {
|
|
1800
|
-
shadow: "0 0 0 2px #E0EEFF",
|
|
1801
|
-
borderRadius: "sm"
|
|
1802
|
-
}
|
|
1803
|
-
},
|
|
1804
|
-
variants: {
|
|
1805
|
-
variantColor: {
|
|
1806
|
-
blue: {},
|
|
1807
|
-
green: {},
|
|
1808
|
-
orange: {},
|
|
1809
|
-
red: {},
|
|
1810
|
-
gray: {}
|
|
1811
|
-
},
|
|
1812
|
-
isSelected: {
|
|
1813
|
-
true: {}
|
|
1814
|
-
}
|
|
1815
|
-
},
|
|
1816
|
-
compoundVariants: [
|
|
1817
|
-
{
|
|
1818
|
-
variantColor: "blue",
|
|
1819
|
-
isSelected: true,
|
|
1820
|
-
css: {
|
|
1821
|
-
color: "blue.400",
|
|
1921
|
+
width: "full",
|
|
1922
|
+
display: "table",
|
|
1923
|
+
borderCollapse: "collapse",
|
|
1924
|
+
borderSpacing: "0px",
|
|
1925
|
+
whiteSpace: "nowrap",
|
|
1926
|
+
"&[data-table-hoverable=true]": {
|
|
1927
|
+
"& tr": {
|
|
1822
1928
|
_hover: {
|
|
1823
|
-
|
|
1929
|
+
"& > td": {
|
|
1930
|
+
backgroundColor: "gray.50"
|
|
1931
|
+
}
|
|
1824
1932
|
}
|
|
1825
1933
|
}
|
|
1826
1934
|
},
|
|
1827
|
-
{
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1935
|
+
"& > thead": {
|
|
1936
|
+
width: "full",
|
|
1937
|
+
backgroundColor: "gray.25",
|
|
1938
|
+
"&[data-table-head-fixed=true]": {
|
|
1939
|
+
position: "sticky",
|
|
1940
|
+
zIndex: "sticky",
|
|
1941
|
+
top: "0",
|
|
1942
|
+
boxShadow: "0px 2px var(--mp-colors-gray-100)"
|
|
1835
1943
|
}
|
|
1836
1944
|
},
|
|
1837
|
-
{
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1945
|
+
"& > tbody": {
|
|
1946
|
+
width: "full"
|
|
1947
|
+
},
|
|
1948
|
+
"& > tr": {
|
|
1949
|
+
width: "full",
|
|
1950
|
+
boxSizing: "border-box",
|
|
1951
|
+
whiteSpace: "nowrap"
|
|
1952
|
+
},
|
|
1953
|
+
"& th, & td": {
|
|
1954
|
+
cursor: "default",
|
|
1955
|
+
paddingLeft: "2",
|
|
1956
|
+
paddingRight: "4",
|
|
1957
|
+
paddingY: "2",
|
|
1958
|
+
height: "12",
|
|
1959
|
+
textStyle: "label.md",
|
|
1960
|
+
textAlign: "left",
|
|
1961
|
+
borderBottom: "sm",
|
|
1962
|
+
borderStyle: "solid",
|
|
1963
|
+
borderColor: "gray.100",
|
|
1964
|
+
transition: "background linear 120ms"
|
|
1965
|
+
},
|
|
1966
|
+
"& th": {
|
|
1967
|
+
fontWeight: "semiBold",
|
|
1968
|
+
backgroundColor: "gray.25"
|
|
1969
|
+
},
|
|
1970
|
+
"& td": {
|
|
1971
|
+
fontWeight: "regular",
|
|
1972
|
+
backgroundColor: "white"
|
|
1973
|
+
},
|
|
1974
|
+
"& th[data-table-cell-fixed=true], & td[data-table-cell-fixed=true]": {
|
|
1975
|
+
position: "sticky",
|
|
1976
|
+
zIndex: "docked",
|
|
1977
|
+
left: "0",
|
|
1978
|
+
right: "0"
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
});
|
|
1982
|
+
var tableContainerRecipe = (0, import_dev21.defineRecipe)({
|
|
1983
|
+
className: "table-container",
|
|
1984
|
+
jsx: ["MpTableContainer", "mp-table-container"],
|
|
1985
|
+
base: {
|
|
1986
|
+
position: "relative",
|
|
1987
|
+
overflow: "auto",
|
|
1988
|
+
"&[data-table-has-left-shadow=true]": {
|
|
1989
|
+
_before: {
|
|
1990
|
+
boxShadow: "inset 10px 0 8px -8px rgba(5, 5, 5, 0.08)"
|
|
1845
1991
|
}
|
|
1846
1992
|
},
|
|
1847
|
-
{
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
css: {
|
|
1851
|
-
color: "red.400",
|
|
1852
|
-
_hover: {
|
|
1853
|
-
color: "red.500"
|
|
1854
|
-
}
|
|
1993
|
+
"&[data-table-has-right-shadow=true]": {
|
|
1994
|
+
_after: {
|
|
1995
|
+
boxShadow: "inset -10px 0 8px -8px rgba(5, 5, 5, 0.08)"
|
|
1855
1996
|
}
|
|
1856
1997
|
},
|
|
1857
|
-
{
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1998
|
+
_before: {
|
|
1999
|
+
content: '""',
|
|
2000
|
+
position: "absolute",
|
|
2001
|
+
zIndex: "docked",
|
|
2002
|
+
boxShadow: "none",
|
|
2003
|
+
transition: "box-shadow 300ms",
|
|
2004
|
+
insetInlineStart: 0,
|
|
2005
|
+
width: "30px",
|
|
2006
|
+
top: 0,
|
|
2007
|
+
bottom: 0,
|
|
2008
|
+
pointerEvents: "none"
|
|
2009
|
+
},
|
|
2010
|
+
_after: {
|
|
2011
|
+
content: '""',
|
|
2012
|
+
position: "absolute",
|
|
2013
|
+
zIndex: "docked",
|
|
2014
|
+
boxShadow: "none",
|
|
2015
|
+
transition: "box-shadow linear 300ms",
|
|
2016
|
+
insetInlineEnd: 0,
|
|
2017
|
+
width: "30px",
|
|
2018
|
+
top: 0,
|
|
2019
|
+
bottom: 0,
|
|
2020
|
+
pointerEvents: "none"
|
|
1866
2021
|
}
|
|
1867
|
-
],
|
|
1868
|
-
defaultVariants: {
|
|
1869
|
-
variantColor: "blue",
|
|
1870
|
-
isSelected: false
|
|
1871
2022
|
}
|
|
1872
2023
|
});
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
2024
|
+
|
|
2025
|
+
// src/recipes/progress.ts
|
|
2026
|
+
var import_dev22 = require("@pandacss/dev");
|
|
2027
|
+
var progressSlotRecipe = (0, import_dev22.defineSlotRecipe)({
|
|
2028
|
+
className: "progress",
|
|
2029
|
+
jsx: ["MpProgress", "mp-progress"],
|
|
2030
|
+
slots: ["root", "linear", "circularBase", "circularTrack"],
|
|
1876
2031
|
base: {
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
variantColor: {
|
|
1884
|
-
blue: {},
|
|
1885
|
-
green: {},
|
|
1886
|
-
orange: {},
|
|
1887
|
-
red: {},
|
|
1888
|
-
gray: {}
|
|
2032
|
+
root: {
|
|
2033
|
+
position: "relative",
|
|
2034
|
+
width: "full",
|
|
2035
|
+
borderRadius: "100px",
|
|
2036
|
+
background: "gray.100",
|
|
2037
|
+
transition: "all 250ms linear"
|
|
1889
2038
|
},
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
2039
|
+
linear: {
|
|
2040
|
+
transition: "all 250ms linear",
|
|
2041
|
+
height: "full",
|
|
2042
|
+
borderRadius: "100px",
|
|
2043
|
+
background: "var(--mp-progress-color)",
|
|
2044
|
+
width: "var(--mp-progress-width)"
|
|
2045
|
+
},
|
|
2046
|
+
circularBase: {
|
|
2047
|
+
width: "full",
|
|
2048
|
+
height: "full",
|
|
2049
|
+
borderRadius: "full",
|
|
2050
|
+
background: "conic-gradient(var(--mp-progress-color) var(--mp-progress-width), var(--mp-colors-gray-100) 0deg)"
|
|
2051
|
+
},
|
|
2052
|
+
circularTrack: {
|
|
2053
|
+
width: "calc(100% - 6px)",
|
|
2054
|
+
height: "calc(100% - 6px)",
|
|
2055
|
+
position: "absolute",
|
|
2056
|
+
top: "50%",
|
|
2057
|
+
left: "50%",
|
|
2058
|
+
transform: "translate(-50%, -50%)",
|
|
2059
|
+
backgroundColor: "white",
|
|
2060
|
+
borderRadius: "full"
|
|
1898
2061
|
}
|
|
1899
2062
|
},
|
|
1900
|
-
|
|
1901
|
-
{
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
background: "blue.400",
|
|
1906
|
-
_groupHover: {
|
|
1907
|
-
background: "blue.500"
|
|
1908
|
-
}
|
|
1909
|
-
}
|
|
1910
|
-
},
|
|
1911
|
-
{
|
|
1912
|
-
variantColor: "green",
|
|
1913
|
-
isSelected: true,
|
|
1914
|
-
css: {
|
|
1915
|
-
background: "green.400",
|
|
1916
|
-
_groupHover: {
|
|
1917
|
-
background: "green.500"
|
|
2063
|
+
variants: {
|
|
2064
|
+
size: {
|
|
2065
|
+
md: {
|
|
2066
|
+
linear: {
|
|
2067
|
+
height: "3"
|
|
1918
2068
|
}
|
|
1919
|
-
}
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
isSelected: true,
|
|
1924
|
-
css: {
|
|
1925
|
-
background: "orange.400",
|
|
1926
|
-
_groupHover: {
|
|
1927
|
-
background: "orange.500"
|
|
2069
|
+
},
|
|
2070
|
+
sm: {
|
|
2071
|
+
linear: {
|
|
2072
|
+
height: "2"
|
|
1928
2073
|
}
|
|
1929
2074
|
}
|
|
1930
2075
|
},
|
|
1931
|
-
{
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
background: "red.400",
|
|
1936
|
-
_groupHover: {
|
|
1937
|
-
background: "red.500"
|
|
2076
|
+
variant: {
|
|
2077
|
+
linear: {
|
|
2078
|
+
root: {
|
|
2079
|
+
borderRadius: "100px"
|
|
1938
2080
|
}
|
|
1939
|
-
}
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
background: "gray.500"
|
|
2081
|
+
},
|
|
2082
|
+
circular: {
|
|
2083
|
+
root: {
|
|
2084
|
+
borderRadius: "full",
|
|
2085
|
+
width: "22px",
|
|
2086
|
+
height: "22px",
|
|
2087
|
+
background: "transparent",
|
|
2088
|
+
alignSelf: "start"
|
|
1948
2089
|
}
|
|
1949
2090
|
}
|
|
1950
2091
|
}
|
|
1951
|
-
|
|
2092
|
+
},
|
|
1952
2093
|
defaultVariants: {
|
|
1953
|
-
|
|
1954
|
-
|
|
2094
|
+
variant: "linear",
|
|
2095
|
+
size: "md"
|
|
1955
2096
|
}
|
|
1956
2097
|
});
|
|
1957
2098
|
|
|
1958
|
-
// src/recipes/
|
|
1959
|
-
var
|
|
1960
|
-
var
|
|
1961
|
-
className: "
|
|
1962
|
-
jsx: ["
|
|
1963
|
-
slots: ["root", "
|
|
2099
|
+
// src/recipes/form-control.ts
|
|
2100
|
+
var import_dev23 = require("@pandacss/dev");
|
|
2101
|
+
var formControlSlotRecipe = (0, import_dev23.defineSlotRecipe)({
|
|
2102
|
+
className: "form-control",
|
|
2103
|
+
jsx: ["MpFormControl", "mp-form-control"],
|
|
2104
|
+
slots: ["root", "label", "required", "helpText", "errorMessage"],
|
|
2105
|
+
base: {
|
|
2106
|
+
root: {},
|
|
2107
|
+
label: {
|
|
2108
|
+
fontSize: "md",
|
|
2109
|
+
fontWeight: "semiBold",
|
|
2110
|
+
marginBottom: "1",
|
|
2111
|
+
textAlign: "left",
|
|
2112
|
+
verticalAlign: "middle",
|
|
2113
|
+
display: "flex"
|
|
2114
|
+
},
|
|
2115
|
+
required: {
|
|
2116
|
+
color: "red.400",
|
|
2117
|
+
marginLeft: "1"
|
|
2118
|
+
},
|
|
2119
|
+
helpText: {
|
|
2120
|
+
color: "gray.600",
|
|
2121
|
+
fontSize: "sm",
|
|
2122
|
+
marginTop: "1"
|
|
2123
|
+
},
|
|
2124
|
+
errorMessage: {
|
|
2125
|
+
color: "red.400",
|
|
2126
|
+
fontSize: "sm",
|
|
2127
|
+
marginTop: "1",
|
|
2128
|
+
textAlign: "left",
|
|
2129
|
+
verticalAlign: "middle",
|
|
2130
|
+
display: "flex"
|
|
2131
|
+
}
|
|
2132
|
+
},
|
|
2133
|
+
variants: {},
|
|
2134
|
+
compoundVariants: [],
|
|
2135
|
+
defaultVariants: {}
|
|
2136
|
+
});
|
|
2137
|
+
|
|
2138
|
+
// src/recipes/input-tag.ts
|
|
2139
|
+
var import_dev24 = require("@pandacss/dev");
|
|
2140
|
+
var inputTagSlotRecipe = (0, import_dev24.defineSlotRecipe)({
|
|
2141
|
+
className: "input-tag",
|
|
2142
|
+
jsx: ["MpInputTag", "mp-input-tag"],
|
|
2143
|
+
slots: [
|
|
2144
|
+
"root",
|
|
2145
|
+
"trigger",
|
|
2146
|
+
"input",
|
|
2147
|
+
"content",
|
|
2148
|
+
"resetButton",
|
|
2149
|
+
"dropdownButton",
|
|
2150
|
+
"addButton",
|
|
2151
|
+
"loading",
|
|
2152
|
+
"empty",
|
|
2153
|
+
"suggestionWrapper",
|
|
2154
|
+
"suggestionLoading"
|
|
2155
|
+
],
|
|
1964
2156
|
base: {
|
|
1965
2157
|
root: {
|
|
1966
2158
|
position: "relative",
|
|
1967
|
-
|
|
2159
|
+
width: "full"
|
|
2160
|
+
},
|
|
2161
|
+
trigger: {
|
|
2162
|
+
overflowY: "auto",
|
|
2163
|
+
position: "relative",
|
|
2164
|
+
display: "flex",
|
|
1968
2165
|
alignItems: "center",
|
|
1969
|
-
|
|
2166
|
+
flexWrap: "wrap",
|
|
1970
2167
|
gap: "2",
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
"
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
"
|
|
1980
|
-
"&:focus + .mp-checkbox__control": {
|
|
1981
|
-
borderColor: "blue.400",
|
|
1982
|
-
boxShadow: "focus"
|
|
1983
|
-
}
|
|
1984
|
-
},
|
|
2168
|
+
borderWidth: "1px",
|
|
2169
|
+
borderColor: "gray.100",
|
|
2170
|
+
borderRadius: "md",
|
|
2171
|
+
paddingTop: "2",
|
|
2172
|
+
paddingBottom: "2",
|
|
2173
|
+
paddingLeft: "3",
|
|
2174
|
+
paddingRight: "8",
|
|
2175
|
+
backgroundColor: "white",
|
|
2176
|
+
transition: "all 250ms",
|
|
1985
2177
|
_hover: {
|
|
1986
|
-
"
|
|
1987
|
-
|
|
2178
|
+
borderColor: "gray.400"
|
|
2179
|
+
},
|
|
2180
|
+
_focusVisible: {
|
|
2181
|
+
boxShadow: "focus",
|
|
2182
|
+
borderColor: "blue.400",
|
|
2183
|
+
_hover: {
|
|
2184
|
+
borderColor: "blue.400"
|
|
1988
2185
|
}
|
|
1989
2186
|
},
|
|
1990
2187
|
_disabled: {
|
|
1991
2188
|
cursor: "not-allowed",
|
|
1992
|
-
"
|
|
1993
|
-
borderColor: "gray.100 !important",
|
|
1994
|
-
background: "gray.50 !important",
|
|
1995
|
-
boxShadow: "none !important"
|
|
1996
|
-
}
|
|
2189
|
+
background: "gray.50"
|
|
1997
2190
|
},
|
|
1998
2191
|
_invalid: {
|
|
1999
|
-
"
|
|
2000
|
-
borderColor: "red.400",
|
|
2001
|
-
background: "white"
|
|
2002
|
-
}
|
|
2003
|
-
},
|
|
2004
|
-
_checked: {
|
|
2005
|
-
"& .mp-checkbox__control": {
|
|
2006
|
-
borderColor: "blue.400",
|
|
2007
|
-
background: "blue.400"
|
|
2008
|
-
},
|
|
2192
|
+
borderColor: "red.400",
|
|
2009
2193
|
_hover: {
|
|
2010
|
-
"
|
|
2011
|
-
borderColor: "blue.400"
|
|
2012
|
-
}
|
|
2194
|
+
borderColor: "red.400"
|
|
2013
2195
|
}
|
|
2014
2196
|
},
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
borderColor: "blue.400",
|
|
2018
|
-
background: "blue.400"
|
|
2019
|
-
},
|
|
2020
|
-
_hover: {
|
|
2021
|
-
"& .mp-checkbox__control": {
|
|
2022
|
-
borderColor: "blue.400"
|
|
2023
|
-
}
|
|
2024
|
-
}
|
|
2197
|
+
_hasIcon: {
|
|
2198
|
+
paddingRight: "52px"
|
|
2025
2199
|
}
|
|
2026
2200
|
},
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
transitionProperty: "background, border-color, box-shadow",
|
|
2031
|
-
transitionTimingFunction: "linear",
|
|
2032
|
-
position: "relative",
|
|
2033
|
-
display: "inline-flex",
|
|
2034
|
-
alignItems: "center",
|
|
2035
|
-
justifyContent: "center",
|
|
2036
|
-
width: "18px",
|
|
2037
|
-
height: "18px",
|
|
2038
|
-
borderWidth: "2px",
|
|
2039
|
-
borderColor: "gray.100",
|
|
2040
|
-
borderRadius: "md",
|
|
2041
|
-
background: "white"
|
|
2201
|
+
input: {
|
|
2202
|
+
padding: "0 !important",
|
|
2203
|
+
margin: "0 !important"
|
|
2042
2204
|
},
|
|
2043
|
-
|
|
2044
|
-
|
|
2205
|
+
content: {
|
|
2206
|
+
maxHeight: "300px",
|
|
2207
|
+
overflowY: "auto"
|
|
2208
|
+
},
|
|
2209
|
+
resetButton: {
|
|
2210
|
+
cursor: "pointer",
|
|
2211
|
+
position: "absolute",
|
|
2212
|
+
top: "2"
|
|
2213
|
+
},
|
|
2214
|
+
dropdownButton: {
|
|
2215
|
+
cursor: "pointer",
|
|
2216
|
+
position: "absolute",
|
|
2217
|
+
top: "2",
|
|
2218
|
+
right: "3"
|
|
2219
|
+
},
|
|
2220
|
+
addButton: {
|
|
2221
|
+
cursor: "pointer",
|
|
2222
|
+
width: "full",
|
|
2223
|
+
px: "3",
|
|
2224
|
+
py: "2",
|
|
2225
|
+
wordBreak: "break-all",
|
|
2226
|
+
textAlign: "center"
|
|
2227
|
+
},
|
|
2228
|
+
loading: {
|
|
2229
|
+
position: "absolute",
|
|
2230
|
+
top: "2",
|
|
2231
|
+
right: "3"
|
|
2232
|
+
},
|
|
2233
|
+
empty: {
|
|
2234
|
+
px: "3",
|
|
2235
|
+
py: "2",
|
|
2236
|
+
width: "full",
|
|
2237
|
+
textAlign: "left"
|
|
2238
|
+
},
|
|
2239
|
+
suggestionWrapper: {
|
|
2240
|
+
display: "flex",
|
|
2241
|
+
flexDirection: "column",
|
|
2242
|
+
width: "100%"
|
|
2243
|
+
},
|
|
2244
|
+
suggestionLoading: {
|
|
2245
|
+
display: "flex",
|
|
2246
|
+
justifyContent: "flex-start",
|
|
2247
|
+
gap: "3",
|
|
2248
|
+
width: "full",
|
|
2249
|
+
height: "9",
|
|
2250
|
+
py: "2",
|
|
2251
|
+
px: "3"
|
|
2045
2252
|
}
|
|
2046
2253
|
}
|
|
2047
2254
|
});
|
|
2048
2255
|
|
|
2049
|
-
// src/recipes/
|
|
2050
|
-
var
|
|
2051
|
-
var
|
|
2052
|
-
className: "
|
|
2053
|
-
jsx: ["
|
|
2054
|
-
slots: ["root", "control", "label"],
|
|
2256
|
+
// src/recipes/divider.ts
|
|
2257
|
+
var import_dev25 = require("@pandacss/dev");
|
|
2258
|
+
var dividerRecipe = (0, import_dev25.defineRecipe)({
|
|
2259
|
+
className: "divider",
|
|
2260
|
+
jsx: ["MpDivider", "mp-divider"],
|
|
2055
2261
|
base: {
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
"& .mp-radio__control": {
|
|
2067
|
-
marginTop: "1"
|
|
2068
|
-
}
|
|
2069
|
-
},
|
|
2070
|
-
"& .mp-shared__hidden": {
|
|
2071
|
-
"&:focus + .mp-radio__control": {
|
|
2072
|
-
borderColor: "blue.400",
|
|
2073
|
-
boxShadow: "focus"
|
|
2074
|
-
}
|
|
2075
|
-
},
|
|
2076
|
-
_hover: {
|
|
2077
|
-
"& .mp-radio__control": {
|
|
2078
|
-
borderColor: "gray.400"
|
|
2079
|
-
}
|
|
2080
|
-
},
|
|
2081
|
-
_disabled: {
|
|
2082
|
-
cursor: "not-allowed",
|
|
2083
|
-
"& .mp-radio__control": {
|
|
2084
|
-
borderColor: "gray.100 !important",
|
|
2085
|
-
background: "gray.50 !important",
|
|
2086
|
-
boxShadow: "none !important",
|
|
2087
|
-
"& div": {
|
|
2088
|
-
background: "gray.400"
|
|
2089
|
-
}
|
|
2090
|
-
}
|
|
2091
|
-
},
|
|
2092
|
-
_invalid: {
|
|
2093
|
-
"& .mp-radio__control": {
|
|
2094
|
-
borderColor: "red.400",
|
|
2095
|
-
background: "white"
|
|
2096
|
-
}
|
|
2097
|
-
},
|
|
2098
|
-
_checked: {
|
|
2099
|
-
"& .mp-radio__control": {
|
|
2100
|
-
borderColor: "blue.400",
|
|
2101
|
-
background: "blue.400"
|
|
2102
|
-
},
|
|
2103
|
-
_hover: {
|
|
2104
|
-
"& .mp-radio__control": {
|
|
2105
|
-
borderColor: "blue.400"
|
|
2106
|
-
}
|
|
2107
|
-
}
|
|
2262
|
+
border: 0,
|
|
2263
|
+
opacity: 0.6,
|
|
2264
|
+
color: "rgb(208, 214, 221)"
|
|
2265
|
+
},
|
|
2266
|
+
variants: {
|
|
2267
|
+
orientation: {
|
|
2268
|
+
horizontal: {
|
|
2269
|
+
borderBottom: "0.0625rem solid",
|
|
2270
|
+
height: "auto",
|
|
2271
|
+
marginY: 2
|
|
2108
2272
|
},
|
|
2109
|
-
|
|
2110
|
-
"
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
},
|
|
2114
|
-
_hover: {
|
|
2115
|
-
"& .mp-radio__control": {
|
|
2116
|
-
borderColor: "blue.400"
|
|
2117
|
-
}
|
|
2118
|
-
}
|
|
2119
|
-
}
|
|
2120
|
-
},
|
|
2121
|
-
control: {
|
|
2122
|
-
flex: "none",
|
|
2123
|
-
transitionDuration: "250ms",
|
|
2124
|
-
transitionProperty: "background, border-color, box-shadow",
|
|
2125
|
-
transitionTimingFunction: "linear",
|
|
2126
|
-
position: "relative",
|
|
2127
|
-
display: "inline-flex",
|
|
2128
|
-
alignItems: "center",
|
|
2129
|
-
justifyContent: "center",
|
|
2130
|
-
width: "18px",
|
|
2131
|
-
height: "18px",
|
|
2132
|
-
borderWidth: "2px",
|
|
2133
|
-
borderColor: "gray.100",
|
|
2134
|
-
borderRadius: "full",
|
|
2135
|
-
background: "white",
|
|
2136
|
-
"& div": {
|
|
2137
|
-
width: "2.5",
|
|
2138
|
-
height: "2.5",
|
|
2139
|
-
background: "white",
|
|
2140
|
-
borderRadius: "full"
|
|
2273
|
+
vertical: {
|
|
2274
|
+
borderLeft: "0.0625rem solid",
|
|
2275
|
+
height: "auto",
|
|
2276
|
+
marginX: 2
|
|
2141
2277
|
}
|
|
2142
|
-
},
|
|
2143
|
-
label: {
|
|
2144
|
-
background: "transparent"
|
|
2145
2278
|
}
|
|
2279
|
+
},
|
|
2280
|
+
compoundVariants: [],
|
|
2281
|
+
defaultVariants: {
|
|
2282
|
+
orientation: "horizontal"
|
|
2146
2283
|
}
|
|
2147
2284
|
});
|
|
2148
2285
|
|
|
2149
|
-
// src/recipes/
|
|
2150
|
-
var
|
|
2151
|
-
var
|
|
2152
|
-
className: "
|
|
2153
|
-
|
|
2154
|
-
|
|
2286
|
+
// src/recipes/modal.ts
|
|
2287
|
+
var import_dev26 = require("@pandacss/dev");
|
|
2288
|
+
var modalSlotRecipe = (0, import_dev26.defineSlotRecipe)({
|
|
2289
|
+
className: "modal",
|
|
2290
|
+
description: "The styles for the Modal component",
|
|
2291
|
+
jsx: ["MpModal", "mp-modal"],
|
|
2292
|
+
slots: ["root", "rootChild", "body", "contentRoot", "contentChild", "header", "footer", "body", "overlay", "closeButton"],
|
|
2155
2293
|
base: {
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2294
|
+
root: {
|
|
2295
|
+
position: "relative",
|
|
2296
|
+
zIndex: "modal"
|
|
2297
|
+
},
|
|
2298
|
+
rootChild: {
|
|
2299
|
+
position: "fixed",
|
|
2300
|
+
top: 0,
|
|
2301
|
+
right: 0,
|
|
2302
|
+
bottom: 0,
|
|
2303
|
+
left: 0
|
|
2304
|
+
},
|
|
2305
|
+
body: {
|
|
2306
|
+
p: 4,
|
|
2307
|
+
flex: 1
|
|
2308
|
+
},
|
|
2309
|
+
contentRoot: {
|
|
2310
|
+
pos: "fixed",
|
|
2311
|
+
left: "0",
|
|
2312
|
+
w: "100%",
|
|
2313
|
+
h: "100%",
|
|
2314
|
+
zIndex: "modal"
|
|
2315
|
+
},
|
|
2316
|
+
contentChild: {
|
|
2317
|
+
outline: 0,
|
|
2318
|
+
width: "100%",
|
|
2319
|
+
position: "relative",
|
|
2320
|
+
display: "flex",
|
|
2321
|
+
flexDir: "column",
|
|
2322
|
+
zIndex: "modal",
|
|
2323
|
+
fontFamily: "body",
|
|
2324
|
+
borderColor: "gray.100",
|
|
2325
|
+
bg: "white",
|
|
2326
|
+
marginInline: "auto"
|
|
2327
|
+
},
|
|
2328
|
+
header: {
|
|
2329
|
+
px: 4,
|
|
2330
|
+
py: 3,
|
|
2331
|
+
position: "relative",
|
|
2332
|
+
fontSize: "md",
|
|
2333
|
+
fontWeight: "semiBold",
|
|
2334
|
+
bg: "background",
|
|
2335
|
+
borderTopLeftRadius: "md",
|
|
2336
|
+
borderTopRightRadius: "md",
|
|
2337
|
+
borderBottom: "solid 1px",
|
|
2338
|
+
borderBottomColor: "gray.100"
|
|
2339
|
+
},
|
|
2340
|
+
closeButton: {
|
|
2341
|
+
position: "absolute",
|
|
2342
|
+
top: "10px",
|
|
2343
|
+
right: "12px",
|
|
2344
|
+
bg: "transparent",
|
|
2345
|
+
borderColor: "transparent"
|
|
2346
|
+
},
|
|
2347
|
+
footer: {
|
|
2348
|
+
display: "flex",
|
|
2349
|
+
pt: 2,
|
|
2350
|
+
px: 4,
|
|
2351
|
+
pb: 4,
|
|
2352
|
+
justifyContent: "flex-end"
|
|
2353
|
+
},
|
|
2354
|
+
overlay: {
|
|
2355
|
+
position: "fixed",
|
|
2356
|
+
bg: "overlay",
|
|
2357
|
+
left: "0",
|
|
2358
|
+
top: "0",
|
|
2359
|
+
w: "100vw",
|
|
2360
|
+
h: "100vh",
|
|
2361
|
+
zIndex: "overlay"
|
|
2362
|
+
}
|
|
2363
|
+
},
|
|
2364
|
+
variants: {
|
|
2365
|
+
full: {
|
|
2366
|
+
true: {
|
|
2367
|
+
contentRoot: {
|
|
2368
|
+
top: "0"
|
|
2369
|
+
},
|
|
2370
|
+
contentChild: {
|
|
2371
|
+
height: "100vh",
|
|
2372
|
+
border: "none",
|
|
2373
|
+
borderRadius: "none"
|
|
2374
|
+
}
|
|
2375
|
+
},
|
|
2376
|
+
false: {
|
|
2377
|
+
contentRoot: {
|
|
2378
|
+
top: "3.75rem"
|
|
2379
|
+
},
|
|
2380
|
+
contentChild: {
|
|
2381
|
+
height: "100%",
|
|
2382
|
+
borderWidth: "1px",
|
|
2383
|
+
borderRadius: "md"
|
|
2384
|
+
}
|
|
2385
|
+
}
|
|
2163
2386
|
}
|
|
2387
|
+
},
|
|
2388
|
+
defaultVariants: {
|
|
2389
|
+
full: false
|
|
2164
2390
|
}
|
|
2165
2391
|
});
|
|
2166
2392
|
|
|
2167
|
-
// src/recipes/
|
|
2168
|
-
var
|
|
2169
|
-
var
|
|
2170
|
-
className: "
|
|
2171
|
-
jsx: ["
|
|
2172
|
-
slots: ["root", "
|
|
2393
|
+
// src/recipes/upload.ts
|
|
2394
|
+
var import_dev27 = require("@pandacss/dev");
|
|
2395
|
+
var uploadSlotRecipe = (0, import_dev27.defineSlotRecipe)({
|
|
2396
|
+
className: "upload",
|
|
2397
|
+
jsx: ["MpUpload", "mp-upload"],
|
|
2398
|
+
slots: ["root", "resetButton"],
|
|
2173
2399
|
base: {
|
|
2174
2400
|
root: {
|
|
2175
2401
|
position: "relative",
|
|
2176
|
-
|
|
2402
|
+
width: "full",
|
|
2403
|
+
display: "flex",
|
|
2177
2404
|
alignItems: "center",
|
|
2178
|
-
justifyContent: "center",
|
|
2179
2405
|
gap: "3",
|
|
2180
|
-
|
|
2406
|
+
py: "1",
|
|
2407
|
+
pl: "1",
|
|
2408
|
+
pr: "3",
|
|
2409
|
+
borderWidth: "1px",
|
|
2410
|
+
borderColor: "gray.100",
|
|
2411
|
+
borderRadius: "md",
|
|
2412
|
+
backgroundColor: "white",
|
|
2181
2413
|
outline: "none",
|
|
2182
|
-
"
|
|
2183
|
-
|
|
2184
|
-
"
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
},
|
|
2188
|
-
"& .mp-shared__hidden": {
|
|
2189
|
-
"&:focus + .mp-toggle__control": {
|
|
2190
|
-
borderColor: "blue.400",
|
|
2191
|
-
boxShadow: "focus"
|
|
2414
|
+
transition: "all 250ms",
|
|
2415
|
+
_hover: {
|
|
2416
|
+
borderColor: "gray.400",
|
|
2417
|
+
"& .mp-upload__resetButton": {
|
|
2418
|
+
display: "block"
|
|
2192
2419
|
}
|
|
2193
2420
|
},
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2421
|
+
_focusVisible: {
|
|
2422
|
+
boxShadow: "focus",
|
|
2423
|
+
borderColor: "blue.400",
|
|
2424
|
+
_hover: {
|
|
2425
|
+
borderColor: "blue.400"
|
|
2198
2426
|
}
|
|
2199
2427
|
},
|
|
2200
2428
|
_disabled: {
|
|
2201
2429
|
cursor: "not-allowed",
|
|
2202
|
-
"
|
|
2203
|
-
borderColor: "gray.100 !important",
|
|
2204
|
-
background: "gray.50 !important",
|
|
2205
|
-
boxShadow: "none !important",
|
|
2206
|
-
"& div": {
|
|
2207
|
-
background: "gray.100"
|
|
2208
|
-
}
|
|
2209
|
-
}
|
|
2430
|
+
background: "gray.50"
|
|
2210
2431
|
},
|
|
2211
2432
|
_invalid: {
|
|
2212
|
-
"
|
|
2213
|
-
borderColor: "red.400",
|
|
2214
|
-
background: "red.400"
|
|
2215
|
-
}
|
|
2216
|
-
},
|
|
2217
|
-
_checked: {
|
|
2218
|
-
"& .mp-toggle__control": {
|
|
2219
|
-
borderColor: "blue.400",
|
|
2220
|
-
background: "blue.400",
|
|
2221
|
-
"& div": {
|
|
2222
|
-
transform: "translateX(var(--mp-sizes-3))"
|
|
2223
|
-
}
|
|
2224
|
-
},
|
|
2433
|
+
borderColor: "red.400",
|
|
2225
2434
|
_hover: {
|
|
2226
|
-
"
|
|
2227
|
-
borderColor: "blue.400",
|
|
2228
|
-
background: "blue.400"
|
|
2229
|
-
}
|
|
2435
|
+
borderColor: "red.400"
|
|
2230
2436
|
}
|
|
2231
2437
|
}
|
|
2232
2438
|
},
|
|
2233
|
-
|
|
2234
|
-
|
|
2439
|
+
resetButton: {
|
|
2440
|
+
display: "none",
|
|
2441
|
+
cursor: "pointer",
|
|
2442
|
+
position: "absolute",
|
|
2443
|
+
top: "2",
|
|
2444
|
+
right: "3"
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2447
|
+
});
|
|
2448
|
+
var uploadListSlotRecipe = (0, import_dev27.defineSlotRecipe)({
|
|
2449
|
+
className: "upload-list",
|
|
2450
|
+
jsx: ["MpUploadList", "mp-upload-list"],
|
|
2451
|
+
slots: ["root", "titleWrapper", "actionWrapper"],
|
|
2452
|
+
base: {
|
|
2453
|
+
root: {
|
|
2235
2454
|
position: "relative",
|
|
2236
|
-
|
|
2455
|
+
width: "full",
|
|
2456
|
+
display: "flex",
|
|
2237
2457
|
alignItems: "center",
|
|
2238
|
-
justifyContent: "
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
transitionProperty: "transform",
|
|
2248
|
-
transitionTimingFunction: "linear",
|
|
2249
|
-
transform: "translateX(2px)",
|
|
2250
|
-
width: "3",
|
|
2251
|
-
height: "3",
|
|
2252
|
-
background: "white",
|
|
2253
|
-
borderRadius: "full"
|
|
2458
|
+
justifyContent: "start",
|
|
2459
|
+
gap: "3",
|
|
2460
|
+
py: "2",
|
|
2461
|
+
px: "1",
|
|
2462
|
+
borderRadius: "md",
|
|
2463
|
+
backgroundColor: "white",
|
|
2464
|
+
transition: "all 250ms",
|
|
2465
|
+
_hover: {
|
|
2466
|
+
backgroundColor: "background"
|
|
2254
2467
|
}
|
|
2255
2468
|
},
|
|
2256
|
-
|
|
2257
|
-
|
|
2469
|
+
titleWrapper: {
|
|
2470
|
+
display: "flex",
|
|
2471
|
+
flexDirection: "column",
|
|
2472
|
+
minWidth: "1px"
|
|
2473
|
+
},
|
|
2474
|
+
actionWrapper: {
|
|
2475
|
+
display: "flex",
|
|
2476
|
+
flexDirection: "row",
|
|
2477
|
+
gap: "0.5",
|
|
2478
|
+
ml: "auto",
|
|
2479
|
+
"& > button": {
|
|
2480
|
+
// Remove hover style for Button Icon
|
|
2481
|
+
_hover: {
|
|
2482
|
+
background: "transparent!important",
|
|
2483
|
+
borderColor: "transparent!important"
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2258
2486
|
}
|
|
2259
2487
|
}
|
|
2260
2488
|
});
|
|
2261
2489
|
|
|
2262
|
-
// src/recipes/
|
|
2263
|
-
var
|
|
2264
|
-
var
|
|
2265
|
-
className: "
|
|
2266
|
-
jsx: ["
|
|
2490
|
+
// src/recipes/dropzone.ts
|
|
2491
|
+
var import_dev28 = require("@pandacss/dev");
|
|
2492
|
+
var dropzoneSlotRecipe = (0, import_dev28.defineSlotRecipe)({
|
|
2493
|
+
className: "dropzone",
|
|
2494
|
+
jsx: ["MpDropzone", "mp-dropzone"],
|
|
2495
|
+
slots: [
|
|
2496
|
+
"root",
|
|
2497
|
+
"wrapper",
|
|
2498
|
+
"box",
|
|
2499
|
+
"logoBox",
|
|
2500
|
+
"productBox",
|
|
2501
|
+
"avatarBox",
|
|
2502
|
+
"overlayWrapper",
|
|
2503
|
+
"overlay",
|
|
2504
|
+
"preview",
|
|
2505
|
+
"overlayPreview",
|
|
2506
|
+
"clearButton"
|
|
2507
|
+
],
|
|
2267
2508
|
base: {
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
borderSpacing: "0px",
|
|
2273
|
-
whiteSpace: "nowrap",
|
|
2274
|
-
"&[data-table-hoverable=true]": {
|
|
2275
|
-
"& tr": {
|
|
2276
|
-
_hover: {
|
|
2277
|
-
"& > td": {
|
|
2278
|
-
backgroundColor: "gray.50"
|
|
2279
|
-
}
|
|
2280
|
-
}
|
|
2281
|
-
}
|
|
2509
|
+
root: {
|
|
2510
|
+
position: "relative",
|
|
2511
|
+
width: "full",
|
|
2512
|
+
height: "full"
|
|
2282
2513
|
},
|
|
2283
|
-
|
|
2514
|
+
wrapper: {
|
|
2515
|
+
position: "relative",
|
|
2516
|
+
display: "flex",
|
|
2517
|
+
flexDirection: "column",
|
|
2518
|
+
justifyContent: "center",
|
|
2519
|
+
alignItems: "center",
|
|
2284
2520
|
width: "full",
|
|
2285
|
-
|
|
2286
|
-
"
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2521
|
+
height: "inherit",
|
|
2522
|
+
minHeight: "inherit",
|
|
2523
|
+
borderWidth: "1px",
|
|
2524
|
+
borderColor: "gray.100",
|
|
2525
|
+
borderRadius: "md",
|
|
2526
|
+
borderStyle: "dashed",
|
|
2527
|
+
background: "white",
|
|
2528
|
+
outline: "none",
|
|
2529
|
+
transition: "all 250ms",
|
|
2530
|
+
_hover: {
|
|
2531
|
+
borderColor: "gray.400",
|
|
2532
|
+
"& [data-overlay-preview=true]": {
|
|
2533
|
+
display: "flex"
|
|
2534
|
+
}
|
|
2535
|
+
},
|
|
2536
|
+
_focusVisible: {
|
|
2537
|
+
boxShadow: "focus",
|
|
2538
|
+
borderColor: "blue.400",
|
|
2539
|
+
_hover: {
|
|
2540
|
+
borderColor: "blue.400"
|
|
2541
|
+
}
|
|
2542
|
+
},
|
|
2543
|
+
_disabled: {
|
|
2544
|
+
cursor: "not-allowed",
|
|
2545
|
+
background: "gray.50!"
|
|
2546
|
+
},
|
|
2547
|
+
_invalid: {
|
|
2548
|
+
borderColor: "red.400",
|
|
2549
|
+
backgroundColor: "red.50!",
|
|
2550
|
+
_hover: {
|
|
2551
|
+
borderColor: "red.400!"
|
|
2552
|
+
}
|
|
2291
2553
|
}
|
|
2292
2554
|
},
|
|
2293
|
-
|
|
2294
|
-
|
|
2555
|
+
box: {
|
|
2556
|
+
display: "flex",
|
|
2557
|
+
flexDirection: "column",
|
|
2558
|
+
alignItems: "center",
|
|
2559
|
+
justifyContent: "center",
|
|
2560
|
+
gap: "2"
|
|
2295
2561
|
},
|
|
2296
|
-
|
|
2562
|
+
logoBox: {
|
|
2563
|
+
display: "flex",
|
|
2564
|
+
alignItems: "center",
|
|
2565
|
+
justifyContent: "center",
|
|
2566
|
+
gap: "2",
|
|
2297
2567
|
width: "full",
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
"th, td": {
|
|
2302
|
-
cursor: "default",
|
|
2303
|
-
paddingLeft: "2",
|
|
2304
|
-
paddingRight: "4",
|
|
2305
|
-
paddingY: "2",
|
|
2306
|
-
height: "12",
|
|
2307
|
-
textStyle: "label.md",
|
|
2308
|
-
textAlign: "left",
|
|
2309
|
-
borderBottom: "sm",
|
|
2310
|
-
borderStyle: "solid",
|
|
2311
|
-
borderColor: "gray.100",
|
|
2312
|
-
transition: "background linear 120ms"
|
|
2568
|
+
height: "full",
|
|
2569
|
+
borderRadius: "inherit",
|
|
2570
|
+
cursor: "pointer"
|
|
2313
2571
|
},
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2572
|
+
productBox: {
|
|
2573
|
+
display: "flex",
|
|
2574
|
+
flexDirection: "column",
|
|
2575
|
+
alignItems: "center",
|
|
2576
|
+
justifyContent: "center",
|
|
2577
|
+
gap: "2",
|
|
2578
|
+
width: "full",
|
|
2579
|
+
height: "full",
|
|
2580
|
+
borderRadius: "inherit",
|
|
2581
|
+
cursor: "pointer"
|
|
2317
2582
|
},
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2583
|
+
avatarBox: {
|
|
2584
|
+
display: "flex",
|
|
2585
|
+
alignItems: "center",
|
|
2586
|
+
justifyContent: "center",
|
|
2587
|
+
width: "full",
|
|
2588
|
+
height: "full",
|
|
2589
|
+
borderRadius: "inherit",
|
|
2590
|
+
cursor: "pointer"
|
|
2321
2591
|
},
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
}
|
|
2328
|
-
}
|
|
2329
|
-
});
|
|
2330
|
-
var tableContainerRecipe = (0, import_dev33.defineRecipe)({
|
|
2331
|
-
className: "table-container",
|
|
2332
|
-
jsx: ["MpTableContainer", "mp-table-container"],
|
|
2333
|
-
base: {
|
|
2334
|
-
position: "relative",
|
|
2335
|
-
overflow: "auto",
|
|
2336
|
-
"&[data-table-has-left-shadow=true]": {
|
|
2337
|
-
_before: {
|
|
2338
|
-
boxShadow: "inset 10px 0 8px -8px rgba(5, 5, 5, 0.08)"
|
|
2339
|
-
}
|
|
2592
|
+
overlayWrapper: {
|
|
2593
|
+
width: "full",
|
|
2594
|
+
height: "inherit",
|
|
2595
|
+
minHeight: "inherit",
|
|
2596
|
+
borderRadius: "inherit"
|
|
2340
2597
|
},
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2598
|
+
overlay: {
|
|
2599
|
+
position: "absolute",
|
|
2600
|
+
zIndex: "1",
|
|
2601
|
+
display: "flex",
|
|
2602
|
+
flexDirection: "column",
|
|
2603
|
+
alignItems: "center",
|
|
2604
|
+
justifyContent: "center",
|
|
2605
|
+
gap: "2",
|
|
2606
|
+
width: "full",
|
|
2607
|
+
height: "full",
|
|
2608
|
+
top: "0",
|
|
2609
|
+
right: "0",
|
|
2610
|
+
backdropFilter: "blur(12px)",
|
|
2611
|
+
borderRadius: "md",
|
|
2612
|
+
borderWidth: "1px",
|
|
2613
|
+
borderColor: "blue.400",
|
|
2614
|
+
borderStyle: "dashed"
|
|
2345
2615
|
},
|
|
2346
|
-
|
|
2347
|
-
|
|
2616
|
+
preview: {
|
|
2617
|
+
display: "flex",
|
|
2618
|
+
flexDirection: "column",
|
|
2619
|
+
alignItems: "center",
|
|
2620
|
+
justifyContent: "center",
|
|
2621
|
+
height: "full",
|
|
2622
|
+
borderRadius: "inherit"
|
|
2623
|
+
},
|
|
2624
|
+
overlayPreview: {
|
|
2625
|
+
display: "none",
|
|
2626
|
+
cursor: "pointer",
|
|
2348
2627
|
position: "absolute",
|
|
2349
|
-
zIndex: "
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2628
|
+
zIndex: "1",
|
|
2629
|
+
width: "full",
|
|
2630
|
+
height: "full",
|
|
2631
|
+
background: "overlay",
|
|
2632
|
+
backdropFilter: "blur(12px)",
|
|
2633
|
+
borderRadius: "inherit",
|
|
2634
|
+
flexDirection: "column",
|
|
2635
|
+
justifyContent: "center",
|
|
2636
|
+
alignItems: "center",
|
|
2637
|
+
gap: "2"
|
|
2357
2638
|
},
|
|
2358
|
-
|
|
2359
|
-
|
|
2639
|
+
clearButton: {
|
|
2640
|
+
cursor: "pointer",
|
|
2360
2641
|
position: "absolute",
|
|
2361
|
-
zIndex: "
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
width: "30px",
|
|
2366
|
-
top: 0,
|
|
2367
|
-
bottom: 0,
|
|
2368
|
-
pointerEvents: "none"
|
|
2642
|
+
zIndex: "2",
|
|
2643
|
+
background: "white",
|
|
2644
|
+
border: "2px solid white",
|
|
2645
|
+
borderRadius: "full"
|
|
2369
2646
|
}
|
|
2370
2647
|
}
|
|
2371
2648
|
});
|
|
2372
2649
|
|
|
2373
|
-
// src/recipes/
|
|
2374
|
-
var
|
|
2375
|
-
var
|
|
2376
|
-
className: "
|
|
2377
|
-
jsx: ["
|
|
2378
|
-
slots: ["root", "
|
|
2650
|
+
// src/recipes/banner.ts
|
|
2651
|
+
var import_dev29 = require("@pandacss/dev");
|
|
2652
|
+
var bannerSlotRecipe = (0, import_dev29.defineSlotRecipe)({
|
|
2653
|
+
className: "banner",
|
|
2654
|
+
jsx: ["MpBanner", "mp-banner"],
|
|
2655
|
+
slots: ["root", "body"],
|
|
2379
2656
|
base: {
|
|
2380
2657
|
root: {
|
|
2658
|
+
display: "flex",
|
|
2381
2659
|
position: "relative",
|
|
2382
|
-
|
|
2383
|
-
borderRadius: "
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
},
|
|
2387
|
-
linear: {
|
|
2388
|
-
transition: "all 250ms linear",
|
|
2389
|
-
height: "full",
|
|
2390
|
-
borderRadius: "100px",
|
|
2391
|
-
background: "var(--mp-progress-color)",
|
|
2392
|
-
width: "var(--mp-progress-width)"
|
|
2393
|
-
},
|
|
2394
|
-
circularBase: {
|
|
2395
|
-
width: "full",
|
|
2396
|
-
height: "full",
|
|
2397
|
-
borderRadius: "full",
|
|
2398
|
-
background: "conic-gradient(var(--mp-progress-color) var(--mp-progress-width), var(--mp-colors-gray-100) 0deg)"
|
|
2660
|
+
alignItems: "var(--mp-banner--align-items)",
|
|
2661
|
+
borderRadius: "md",
|
|
2662
|
+
paddingY: "var(--mp-banner--padding-y)",
|
|
2663
|
+
paddingX: "var(--mp-banner--padding-x)"
|
|
2399
2664
|
},
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
left: "50%",
|
|
2406
|
-
transform: "translate(-50%, -50%)",
|
|
2407
|
-
backgroundColor: "white",
|
|
2408
|
-
borderRadius: "full"
|
|
2665
|
+
body: {
|
|
2666
|
+
display: "flex",
|
|
2667
|
+
justifyContent: "space-between",
|
|
2668
|
+
alignItems: "center",
|
|
2669
|
+
width: "full"
|
|
2409
2670
|
}
|
|
2410
2671
|
},
|
|
2411
2672
|
variants: {
|
|
2412
|
-
size: {
|
|
2413
|
-
md: {
|
|
2414
|
-
linear: {
|
|
2415
|
-
height: "3"
|
|
2416
|
-
}
|
|
2417
|
-
},
|
|
2418
|
-
sm: {
|
|
2419
|
-
linear: {
|
|
2420
|
-
height: "2"
|
|
2421
|
-
}
|
|
2422
|
-
}
|
|
2423
|
-
},
|
|
2424
2673
|
variant: {
|
|
2425
|
-
|
|
2426
|
-
root: {
|
|
2427
|
-
borderRadius: "100px"
|
|
2428
|
-
}
|
|
2674
|
+
info: {
|
|
2675
|
+
root: { backgroundColor: "blue.50" }
|
|
2429
2676
|
},
|
|
2430
|
-
|
|
2431
|
-
root: {
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
}
|
|
2677
|
+
success: {
|
|
2678
|
+
root: { backgroundColor: "green.50" }
|
|
2679
|
+
},
|
|
2680
|
+
danger: {
|
|
2681
|
+
root: { backgroundColor: "red.50" }
|
|
2682
|
+
},
|
|
2683
|
+
warning: {
|
|
2684
|
+
root: { backgroundColor: "orange.50" }
|
|
2438
2685
|
}
|
|
2439
2686
|
}
|
|
2440
2687
|
},
|
|
2688
|
+
compoundVariants: [],
|
|
2441
2689
|
defaultVariants: {
|
|
2442
|
-
variant: "
|
|
2443
|
-
size: "md"
|
|
2690
|
+
variant: "info"
|
|
2444
2691
|
}
|
|
2445
2692
|
});
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
var formControlSlotRecipe = (0, import_dev35.defineSlotRecipe)({
|
|
2450
|
-
className: "form-control",
|
|
2451
|
-
jsx: ["MpFormControl", "mp-form-control"],
|
|
2452
|
-
slots: ["root", "label", "required", "helpText", "errorMessage"],
|
|
2693
|
+
var bannerTitleRecipe = (0, import_dev29.defineRecipe)({
|
|
2694
|
+
className: "banner-title",
|
|
2695
|
+
jsx: ["MpBannerTitle", "mp-banner-title"],
|
|
2453
2696
|
base: {
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2697
|
+
fontFamily: "body",
|
|
2698
|
+
fontSize: "md",
|
|
2699
|
+
fontWeight: "semiBold",
|
|
2700
|
+
lineHeight: "md",
|
|
2701
|
+
letterSpacing: "normal",
|
|
2702
|
+
color: "dark",
|
|
2703
|
+
marginTop: "0.5",
|
|
2704
|
+
marginBottom: "1.5"
|
|
2705
|
+
},
|
|
2706
|
+
variants: {},
|
|
2707
|
+
compoundVariants: [],
|
|
2708
|
+
defaultVariants: {}
|
|
2709
|
+
});
|
|
2710
|
+
var bannerDescriptionRecipe = (0, import_dev29.defineRecipe)({
|
|
2711
|
+
className: "banner-description",
|
|
2712
|
+
jsx: ["MpBannerDescription", "mp-banner-description"],
|
|
2713
|
+
base: {
|
|
2714
|
+
fontFamily: "body",
|
|
2715
|
+
fontSize: "md",
|
|
2716
|
+
fontWeight: "regular",
|
|
2717
|
+
lineHeight: "md",
|
|
2718
|
+
letterSpacing: "normal",
|
|
2719
|
+
color: "dark"
|
|
2720
|
+
},
|
|
2721
|
+
variants: {},
|
|
2722
|
+
compoundVariants: [],
|
|
2723
|
+
defaultVariants: {}
|
|
2724
|
+
});
|
|
2725
|
+
var bannerIconSlotRecipe = (0, import_dev29.defineSlotRecipe)({
|
|
2726
|
+
className: "banner-icon",
|
|
2727
|
+
jsx: ["MpBannerIcon", "mp-banner-icon"],
|
|
2728
|
+
slots: ["root", "custom"],
|
|
2729
|
+
base: {
|
|
2730
|
+
root: {
|
|
2731
|
+
marginRight: "3"
|
|
2471
2732
|
},
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2733
|
+
custom: {
|
|
2734
|
+
flexShrink: "0",
|
|
2735
|
+
backfaceVisibility: "hidden",
|
|
2736
|
+
width: "6",
|
|
2737
|
+
height: "6",
|
|
2738
|
+
display: "inline-block",
|
|
2477
2739
|
verticalAlign: "middle",
|
|
2478
|
-
|
|
2740
|
+
marginRight: "3",
|
|
2741
|
+
color: "var(--mp-banner-icon--color)"
|
|
2742
|
+
}
|
|
2743
|
+
},
|
|
2744
|
+
variants: {},
|
|
2745
|
+
compoundVariants: [],
|
|
2746
|
+
defaultVariants: {}
|
|
2747
|
+
});
|
|
2748
|
+
var bannerLinkRecipe = (0, import_dev29.defineRecipe)({
|
|
2749
|
+
className: "banner-link",
|
|
2750
|
+
jsx: ["MpBannerLink", "mp-banner-link"],
|
|
2751
|
+
base: {
|
|
2752
|
+
display: "flex",
|
|
2753
|
+
gap: "4",
|
|
2754
|
+
marginBottom: "var(--mp-banner-link--margin-bottom)",
|
|
2755
|
+
marginTop: "var(--mp-banner-link--margin-top)"
|
|
2756
|
+
},
|
|
2757
|
+
variants: {},
|
|
2758
|
+
compoundVariants: [],
|
|
2759
|
+
defaultVariants: {}
|
|
2760
|
+
});
|
|
2761
|
+
var bannerCloseButtonRecipe = (0, import_dev29.defineRecipe)({
|
|
2762
|
+
className: "banner-close-button",
|
|
2763
|
+
jsx: ["MpBannerCloseButton", "mp-banner-close-button"],
|
|
2764
|
+
base: {
|
|
2765
|
+
position: "absolute",
|
|
2766
|
+
top: "var(--mp-banner-close-button--top)",
|
|
2767
|
+
right: "var(--mp-banner-close-button--right)",
|
|
2768
|
+
display: "inline-flex",
|
|
2769
|
+
justifyContent: "center",
|
|
2770
|
+
alignItems: "center",
|
|
2771
|
+
width: "6",
|
|
2772
|
+
height: "6",
|
|
2773
|
+
cursor: "pointer"
|
|
2774
|
+
},
|
|
2775
|
+
variants: {},
|
|
2776
|
+
compoundVariants: [],
|
|
2777
|
+
defaultVariants: {}
|
|
2778
|
+
});
|
|
2779
|
+
|
|
2780
|
+
// src/recipes/index.ts
|
|
2781
|
+
var recipes = {
|
|
2782
|
+
buttonRecipe,
|
|
2783
|
+
buttonGroupRecipe,
|
|
2784
|
+
textRecipe,
|
|
2785
|
+
iconRecipe,
|
|
2786
|
+
spinnerRecipe,
|
|
2787
|
+
popoverContentRecipe,
|
|
2788
|
+
popoverListRecipe,
|
|
2789
|
+
popoverListItemRecipe,
|
|
2790
|
+
badgeRecipe,
|
|
2791
|
+
textareaRecipe,
|
|
2792
|
+
tooltipRecipe,
|
|
2793
|
+
tabListRecipe,
|
|
2794
|
+
tabRecipe,
|
|
2795
|
+
selectedBorderRecipe,
|
|
2796
|
+
tableRecipe,
|
|
2797
|
+
tableContainerRecipe,
|
|
2798
|
+
dividerRecipe,
|
|
2799
|
+
bannerTitleRecipe,
|
|
2800
|
+
bannerDescriptionRecipe,
|
|
2801
|
+
bannerLinkRecipe,
|
|
2802
|
+
bannerCloseButtonRecipe
|
|
2803
|
+
};
|
|
2804
|
+
var slotRecipes = {
|
|
2805
|
+
accordion,
|
|
2806
|
+
checkboxSlotRecipe,
|
|
2807
|
+
radioSlotRecipe,
|
|
2808
|
+
sharedSlotRecipe,
|
|
2809
|
+
progressSlotRecipe,
|
|
2810
|
+
toggleSlotRecipe,
|
|
2811
|
+
tagSlotRecipe,
|
|
2812
|
+
inputSlotRecipe,
|
|
2813
|
+
inputGroupSlotRecipe,
|
|
2814
|
+
inputAddonSlotRecipe,
|
|
2815
|
+
avatarSlotRecipe,
|
|
2816
|
+
avatarGroupSlotRecipe,
|
|
2817
|
+
selectSlotRecipe,
|
|
2818
|
+
formControlSlotRecipe,
|
|
2819
|
+
inputTagSlotRecipe,
|
|
2820
|
+
modalSlotRecipe,
|
|
2821
|
+
uploadSlotRecipe,
|
|
2822
|
+
uploadListSlotRecipe,
|
|
2823
|
+
dropzoneSlotRecipe,
|
|
2824
|
+
bannerSlotRecipe,
|
|
2825
|
+
bannerIconSlotRecipe
|
|
2826
|
+
};
|
|
2827
|
+
|
|
2828
|
+
// src/text-styles.ts
|
|
2829
|
+
var import_dev30 = require("@pandacss/dev");
|
|
2830
|
+
var textStyles = (0, import_dev30.defineTextStyles)({
|
|
2831
|
+
overline: { value: { fontSize: "xs", lineHeight: "xs" } },
|
|
2832
|
+
body: {
|
|
2833
|
+
sm: { value: { fontSize: "sm", lineHeight: "2xl" } },
|
|
2834
|
+
md: { value: { fontSize: "md", lineHeight: "3xl" } }
|
|
2835
|
+
},
|
|
2836
|
+
label: {
|
|
2837
|
+
sm: { value: { fontSize: "sm", lineHeight: "sm" } },
|
|
2838
|
+
md: { value: { fontSize: "md", lineHeight: "lg" } }
|
|
2839
|
+
},
|
|
2840
|
+
h3: {
|
|
2841
|
+
value: {
|
|
2842
|
+
fontSize: "lg",
|
|
2843
|
+
lineHeight: "xl",
|
|
2844
|
+
fontWeight: "semiBold !important"
|
|
2479
2845
|
}
|
|
2480
2846
|
},
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2847
|
+
h2: {
|
|
2848
|
+
value: {
|
|
2849
|
+
fontSize: "xl",
|
|
2850
|
+
lineHeight: "md",
|
|
2851
|
+
fontWeight: "semiBold !important"
|
|
2852
|
+
}
|
|
2853
|
+
},
|
|
2854
|
+
h1: {
|
|
2855
|
+
value: {
|
|
2856
|
+
fontSize: "2xl",
|
|
2857
|
+
lineHeight: "sm",
|
|
2858
|
+
fontWeight: "semiBold !important"
|
|
2859
|
+
}
|
|
2860
|
+
}
|
|
2484
2861
|
});
|
|
2485
2862
|
|
|
2486
|
-
// src/
|
|
2487
|
-
var
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
"
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
},
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
overflowY: "auto"
|
|
2556
|
-
},
|
|
2557
|
-
resetButton: {
|
|
2558
|
-
cursor: "pointer",
|
|
2559
|
-
position: "absolute",
|
|
2560
|
-
top: "2"
|
|
2561
|
-
},
|
|
2562
|
-
dropdownButton: {
|
|
2563
|
-
cursor: "pointer",
|
|
2564
|
-
position: "absolute",
|
|
2565
|
-
top: "2",
|
|
2566
|
-
right: "3"
|
|
2567
|
-
},
|
|
2568
|
-
addButton: {
|
|
2569
|
-
cursor: "pointer",
|
|
2570
|
-
width: "full",
|
|
2571
|
-
px: "3",
|
|
2572
|
-
py: "2",
|
|
2573
|
-
wordBreak: "break-all",
|
|
2574
|
-
textAlign: "center"
|
|
2575
|
-
},
|
|
2576
|
-
loading: {
|
|
2577
|
-
position: "absolute",
|
|
2578
|
-
top: "2",
|
|
2579
|
-
right: "3"
|
|
2863
|
+
// src/tokens/index.ts
|
|
2864
|
+
var import_dev41 = require("@pandacss/dev");
|
|
2865
|
+
|
|
2866
|
+
// src/tokens/borders.ts
|
|
2867
|
+
var import_dev31 = require("@pandacss/dev");
|
|
2868
|
+
var borders = import_dev31.defineTokens.borders({
|
|
2869
|
+
none: { value: "none" },
|
|
2870
|
+
sm: { value: "1px" },
|
|
2871
|
+
md: { value: "1.5px" },
|
|
2872
|
+
lg: { value: "2px" }
|
|
2873
|
+
});
|
|
2874
|
+
|
|
2875
|
+
// src/tokens/colors.ts
|
|
2876
|
+
var import_dev32 = require("@pandacss/dev");
|
|
2877
|
+
var colors = import_dev32.defineTokens.colors({
|
|
2878
|
+
currentcolor: {
|
|
2879
|
+
value: "currentcolor",
|
|
2880
|
+
description: "Need to add this for Icon usage"
|
|
2881
|
+
},
|
|
2882
|
+
dark: { value: "#232933", description: "Default or primary text color" },
|
|
2883
|
+
white: {
|
|
2884
|
+
value: "#FFFFFF",
|
|
2885
|
+
description: "Background color in components such as Card, Modal, and Popover"
|
|
2886
|
+
},
|
|
2887
|
+
background: { value: "#F1F5F9", description: "For use as background page" },
|
|
2888
|
+
overlay: {
|
|
2889
|
+
value: "rgba(22, 26, 32, 0.8)",
|
|
2890
|
+
description: "For use as overlay"
|
|
2891
|
+
},
|
|
2892
|
+
brand: {
|
|
2893
|
+
capital: { value: "#2F5573", description: "Mekari Capital" },
|
|
2894
|
+
esign: { value: "#00C853", description: "Mekari e-Sign" },
|
|
2895
|
+
expense: { value: "#183883", description: "Mekari Expense" },
|
|
2896
|
+
flex: { value: "#7C4DFF", description: "Mekari Flex" },
|
|
2897
|
+
jurnal: { value: "#40C3FF", description: "Mekari Jurnal" },
|
|
2898
|
+
klikpajak: { value: "#FF9100", description: "Mekari Klikpajak" },
|
|
2899
|
+
mekari: { value: "#651FFF", description: "Mekari" },
|
|
2900
|
+
qontak: { value: "#2979FF", description: "Mekari Qontak" },
|
|
2901
|
+
talenta: { value: "#F22929", description: "Mekari Talenta" },
|
|
2902
|
+
university: { value: "#448AFF", description: "Mekari University" }
|
|
2903
|
+
},
|
|
2904
|
+
whiteAlpha: {
|
|
2905
|
+
50: { value: "rgba(255, 255, 255, 0.04)" },
|
|
2906
|
+
100: { value: "rgba(255, 255, 255, 0.06)" },
|
|
2907
|
+
200: { value: "rgba(255, 255, 255, 0.08)" },
|
|
2908
|
+
300: { value: "rgba(255, 255, 255, 0.16)" },
|
|
2909
|
+
400: { value: "rgba(255, 255, 255, 0.24)" },
|
|
2910
|
+
500: { value: "rgba(255, 255, 255, 0.36)" },
|
|
2911
|
+
600: { value: "rgba(255, 255, 255, 0.48)" },
|
|
2912
|
+
700: { value: "rgba(255, 255, 255, 0.64)" },
|
|
2913
|
+
800: { value: "rgba(255, 255, 255, 0.80)" },
|
|
2914
|
+
900: { value: "rgba(255, 255, 255, 0.92)" }
|
|
2915
|
+
},
|
|
2916
|
+
blackAplpha: {
|
|
2917
|
+
50: { value: "rgba(0, 0, 0, 0.04)" },
|
|
2918
|
+
100: { value: "rgba(0, 0, 0, 0.06)" },
|
|
2919
|
+
200: { value: "rgba(0, 0, 0, 0.08)" },
|
|
2920
|
+
300: { value: "rgba(0, 0, 0, 0.16)" },
|
|
2921
|
+
400: { value: "rgba(0, 0, 0, 0.24)" },
|
|
2922
|
+
500: { value: "rgba(0, 0, 0, 0.36)" },
|
|
2923
|
+
600: { value: "rgba(0, 0, 0, 0.48)" },
|
|
2924
|
+
700: { value: "rgba(0, 0, 0, 0.64)" },
|
|
2925
|
+
800: { value: "rgba(0, 0, 0, 0.80)" },
|
|
2926
|
+
900: { value: "rgba(0, 0, 0, 0.92)" }
|
|
2927
|
+
},
|
|
2928
|
+
gray: {
|
|
2929
|
+
25: {
|
|
2930
|
+
value: "#F8F9FB",
|
|
2931
|
+
description: "Background color in table header component"
|
|
2580
2932
|
},
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
width: "full",
|
|
2585
|
-
textAlign: "left"
|
|
2933
|
+
50: {
|
|
2934
|
+
value: "#EDF0F2",
|
|
2935
|
+
description: "Disabled background color in components such as Input and Select backgrounds"
|
|
2586
2936
|
},
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2937
|
+
100: { value: "#D0D6DD", description: "Default stroke color or divider" },
|
|
2938
|
+
400: {
|
|
2939
|
+
value: "#8B95A5",
|
|
2940
|
+
description: "Disabled and placeholder text color, icon or in components such as hover state Input, Select and stroke in Popover"
|
|
2591
2941
|
},
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
gap: "3",
|
|
2596
|
-
width: "full",
|
|
2597
|
-
height: "9",
|
|
2598
|
-
py: "2",
|
|
2599
|
-
px: "3"
|
|
2942
|
+
600: {
|
|
2943
|
+
value: "#626B79",
|
|
2944
|
+
description: "Description text color and default color for outline icon"
|
|
2600
2945
|
}
|
|
2946
|
+
},
|
|
2947
|
+
blue: {
|
|
2948
|
+
50: { value: "#EAECFB" },
|
|
2949
|
+
100: { value: "#D5DEFF" },
|
|
2950
|
+
400: { value: "#4B61DD" },
|
|
2951
|
+
500: { value: "#1C44D5" },
|
|
2952
|
+
700: { value: "#0031BE" }
|
|
2953
|
+
},
|
|
2954
|
+
red: {
|
|
2955
|
+
50: { value: "#FDECEE" },
|
|
2956
|
+
400: { value: "#DA473F" },
|
|
2957
|
+
500: { value: "#C83E39" },
|
|
2958
|
+
700: { value: "#AB3129" }
|
|
2959
|
+
},
|
|
2960
|
+
green: {
|
|
2961
|
+
50: { value: "#E8F5EB" },
|
|
2962
|
+
400: { value: "#68BE79" },
|
|
2963
|
+
500: { value: "#4FB262" },
|
|
2964
|
+
700: { value: "#3C914D" }
|
|
2965
|
+
},
|
|
2966
|
+
orange: {
|
|
2967
|
+
50: { value: "#FBF3DD" },
|
|
2968
|
+
400: { value: "#E0AB00" },
|
|
2969
|
+
500: { value: "#DE9400" },
|
|
2970
|
+
700: { value: "#DB8000" }
|
|
2971
|
+
},
|
|
2972
|
+
sky: {
|
|
2973
|
+
100: { value: "#60A5FA" },
|
|
2974
|
+
400: { value: "#3B82F6" }
|
|
2975
|
+
},
|
|
2976
|
+
teal: {
|
|
2977
|
+
100: { value: "#2DD4BF" },
|
|
2978
|
+
400: { value: "#14B8A6" }
|
|
2979
|
+
},
|
|
2980
|
+
violet: {
|
|
2981
|
+
100: { value: "#A78BFA" },
|
|
2982
|
+
400: { value: "#8B5CF6" }
|
|
2983
|
+
},
|
|
2984
|
+
amber: {
|
|
2985
|
+
100: { value: "#FBBF24" },
|
|
2986
|
+
400: { value: "#F59E0B" }
|
|
2987
|
+
},
|
|
2988
|
+
rose: {
|
|
2989
|
+
100: { value: "#F87171" },
|
|
2990
|
+
400: { value: "#EF4444" }
|
|
2991
|
+
},
|
|
2992
|
+
stone: {
|
|
2993
|
+
100: { value: "#A1A1AA" },
|
|
2994
|
+
400: { value: "#71717A" }
|
|
2995
|
+
},
|
|
2996
|
+
lime: {
|
|
2997
|
+
100: { value: "#A3E635" },
|
|
2998
|
+
400: { value: "#84CC16" }
|
|
2999
|
+
},
|
|
3000
|
+
pink: {
|
|
3001
|
+
100: { value: "#F472B6" },
|
|
3002
|
+
400: { value: "#EC4899" }
|
|
3003
|
+
},
|
|
3004
|
+
apricot: {
|
|
3005
|
+
100: { value: "#FB923C" },
|
|
3006
|
+
400: { value: "#F97316" }
|
|
3007
|
+
},
|
|
3008
|
+
aqua: {
|
|
3009
|
+
100: { value: "#22D3EE" },
|
|
3010
|
+
400: { value: "#06B6D4" }
|
|
3011
|
+
},
|
|
3012
|
+
leaf: {
|
|
3013
|
+
100: { value: "#4ADE80" },
|
|
3014
|
+
400: { value: "#22C55E" }
|
|
3015
|
+
},
|
|
3016
|
+
fuchsia: {
|
|
3017
|
+
100: { value: "#E879F9" },
|
|
3018
|
+
400: { value: "#D946EF" }
|
|
3019
|
+
},
|
|
3020
|
+
ice: {
|
|
3021
|
+
50: { value: "#E0EEFF" },
|
|
3022
|
+
100: { value: "#B4D3F2" }
|
|
3023
|
+
},
|
|
3024
|
+
ash: {
|
|
3025
|
+
100: { value: "#E7EDF5" }
|
|
2601
3026
|
}
|
|
2602
3027
|
});
|
|
2603
3028
|
|
|
2604
|
-
// src/
|
|
2605
|
-
var
|
|
2606
|
-
var
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
3029
|
+
// src/tokens/durations.ts
|
|
3030
|
+
var import_dev33 = require("@pandacss/dev");
|
|
3031
|
+
var durations = import_dev33.defineTokens.durations({
|
|
3032
|
+
slow: { value: "100ms" },
|
|
3033
|
+
normal: { value: "250ms" },
|
|
3034
|
+
fast: { value: "300ms" }
|
|
3035
|
+
});
|
|
3036
|
+
|
|
3037
|
+
// src/tokens/opacity.ts
|
|
3038
|
+
var import_dev34 = require("@pandacss/dev");
|
|
3039
|
+
var opacity = import_dev34.defineTokens.opacity({
|
|
3040
|
+
0: { value: 0 },
|
|
3041
|
+
40: { value: 0.4 },
|
|
3042
|
+
60: { value: 0.6 },
|
|
3043
|
+
100: { value: 1 }
|
|
3044
|
+
});
|
|
3045
|
+
|
|
3046
|
+
// src/tokens/radii.ts
|
|
3047
|
+
var import_dev35 = require("@pandacss/dev");
|
|
3048
|
+
var radii = import_dev35.defineTokens.radii({
|
|
3049
|
+
none: { value: "0" },
|
|
3050
|
+
xs: { value: "0.125rem", description: "2px" },
|
|
3051
|
+
sm: { value: "0.25rem", description: "4px" },
|
|
3052
|
+
md: { value: "0.375rem", description: "6px" },
|
|
3053
|
+
lg: { value: "0.5rem", description: "8px" },
|
|
3054
|
+
xl: { value: "0.75rem", description: "12px" },
|
|
3055
|
+
full: { value: "50%" }
|
|
3056
|
+
});
|
|
3057
|
+
|
|
3058
|
+
// src/tokens/shadows.ts
|
|
3059
|
+
var import_dev36 = require("@pandacss/dev");
|
|
3060
|
+
var shadows = import_dev36.defineTokens.shadows({
|
|
3061
|
+
xs: {
|
|
3062
|
+
value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
|
|
2613
3063
|
},
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
horizontal: {
|
|
2617
|
-
borderBottom: "0.0625rem solid",
|
|
2618
|
-
height: "auto",
|
|
2619
|
-
marginY: 2
|
|
2620
|
-
},
|
|
2621
|
-
vertical: {
|
|
2622
|
-
borderLeft: "0.0625rem solid",
|
|
2623
|
-
height: "auto",
|
|
2624
|
-
marginX: 2
|
|
2625
|
-
}
|
|
2626
|
-
}
|
|
3064
|
+
sm: {
|
|
3065
|
+
value: ["0px 4px 6px -2px rgba(0, 0, 0, 0.05)", "0px 10px 15px -3px rgba(0, 0, 0, 0.10)"]
|
|
2627
3066
|
},
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
3067
|
+
md: {
|
|
3068
|
+
value: ["0px 10px 10px -5px rgba(0, 0, 0, 0.04)", "0px 20px 25px -5px rgba(0, 0, 0, 0.10)"]
|
|
3069
|
+
},
|
|
3070
|
+
lg: {
|
|
3071
|
+
value: ["0px 6px 16px 0px rgba(0, 0, 0, 0.08)", "0px 9px 28px 8px rgba(0, 0, 0, 0.05)"]
|
|
3072
|
+
},
|
|
3073
|
+
focus: {
|
|
3074
|
+
value: "0 0 0 3px rgba(224, 238, 255, 1)"
|
|
3075
|
+
},
|
|
3076
|
+
xl: {
|
|
3077
|
+
value: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"
|
|
3078
|
+
},
|
|
3079
|
+
"2xl": {
|
|
3080
|
+
value: "0 25px 50px -12px rgba(0, 0, 0, 0.25)"
|
|
3081
|
+
},
|
|
3082
|
+
outline: {
|
|
3083
|
+
value: "0 0 0 3px #E0EEFF"
|
|
3084
|
+
},
|
|
3085
|
+
"outline-tab": {
|
|
3086
|
+
value: "0 0 0 2px #E0EEFF"
|
|
3087
|
+
},
|
|
3088
|
+
outer: {
|
|
3089
|
+
value: "0 0 0 3px rgba(224, 238, 255, 1)"
|
|
3090
|
+
},
|
|
3091
|
+
inner: {
|
|
3092
|
+
value: "inset 0 2px 4px 0 rgba( 0, 0, 0, 0.06)"
|
|
3093
|
+
},
|
|
3094
|
+
none: {
|
|
3095
|
+
value: "none"
|
|
2631
3096
|
}
|
|
2632
3097
|
});
|
|
2633
3098
|
|
|
2634
|
-
// src/
|
|
2635
|
-
var
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
}
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
inputGroupSlotRecipe,
|
|
2664
|
-
inputAddonSlotRecipe,
|
|
2665
|
-
avatarSlotRecipe,
|
|
2666
|
-
avatarGroupSlotRecipe,
|
|
2667
|
-
selectSlotRecipe,
|
|
2668
|
-
formControlSlotRecipe,
|
|
2669
|
-
inputTagSlotRecipe
|
|
2670
|
-
};
|
|
3099
|
+
// src/tokens/sizes.ts
|
|
3100
|
+
var import_dev37 = require("@pandacss/dev");
|
|
3101
|
+
var sizes = import_dev37.defineTokens.sizes({
|
|
3102
|
+
0: { value: "0", description: "0px" },
|
|
3103
|
+
0.25: { value: "0.0625rem", description: "1px" },
|
|
3104
|
+
0.5: { value: "0.125rem", description: "2px" },
|
|
3105
|
+
1: { value: "0.25rem", description: "4px" },
|
|
3106
|
+
2: { value: "0.5rem", description: "8px" },
|
|
3107
|
+
2.5: { value: "0.625rem", description: "10px" },
|
|
3108
|
+
3: { value: "0.75rem", description: "12px" },
|
|
3109
|
+
4: { value: "1rem", description: "16px" },
|
|
3110
|
+
5: { value: "1.25rem", description: "20px" },
|
|
3111
|
+
6: { value: "1.5rem", description: "24px" },
|
|
3112
|
+
7: { value: "1.75rem", description: "28px" },
|
|
3113
|
+
7.5: { value: "1.875rem", description: "30px" },
|
|
3114
|
+
8: { value: "2rem", description: "32px" },
|
|
3115
|
+
9: { value: "2.25rem", description: "36px" },
|
|
3116
|
+
9.5: { value: "2.375rem", description: "38px" },
|
|
3117
|
+
10: { value: "2.5rem", description: "40px" },
|
|
3118
|
+
11: { value: "2.75rem", description: "44px" },
|
|
3119
|
+
12: { value: "3rem", description: "48px" },
|
|
3120
|
+
16: { value: "4rem", description: "64px" },
|
|
3121
|
+
20: { value: "5rem", description: "80px" },
|
|
3122
|
+
22: { value: "5.5rem", description: "96px" },
|
|
3123
|
+
56: { value: "14rem", description: "224px" },
|
|
3124
|
+
65: { value: "17.5rem", description: "280px" },
|
|
3125
|
+
full: { value: "100%" },
|
|
3126
|
+
sm: { value: "24rem" }
|
|
3127
|
+
});
|
|
2671
3128
|
|
|
2672
|
-
// src/
|
|
2673
|
-
var
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
}
|
|
3129
|
+
// src/tokens/spacing.ts
|
|
3130
|
+
var import_dev38 = require("@pandacss/dev");
|
|
3131
|
+
var spacing = import_dev38.defineTokens.spacing({
|
|
3132
|
+
0: { value: "0", description: "0px" },
|
|
3133
|
+
0.5: { value: "0.125rem", description: "2px" },
|
|
3134
|
+
1: { value: "0.25rem", description: "4px" },
|
|
3135
|
+
1.5: { value: "0.375rem", description: "6px" },
|
|
3136
|
+
2: { value: "0.5rem", description: "8px" },
|
|
3137
|
+
3: { value: "0.75rem", description: "12px" },
|
|
3138
|
+
4: { value: "1rem", description: "16px" },
|
|
3139
|
+
5: { value: "1.3rem", description: "20px" },
|
|
3140
|
+
6: { value: "1.5rem", description: "24px" },
|
|
3141
|
+
8: { value: "2rem", description: "32px" },
|
|
3142
|
+
12: { value: "3rem", description: "48px" },
|
|
3143
|
+
16: { value: "4rem", description: "64px" },
|
|
3144
|
+
20: { value: "5rem", description: "80px" },
|
|
3145
|
+
24: { value: "6rem", description: "96px" },
|
|
3146
|
+
32: { value: "8rem", description: "128px" },
|
|
3147
|
+
40: { value: "10rem", description: "160px" },
|
|
3148
|
+
64: { value: "16rem", description: "256px" }
|
|
3149
|
+
});
|
|
3150
|
+
|
|
3151
|
+
// src/tokens/z-index.ts
|
|
3152
|
+
var import_dev39 = require("@pandacss/dev");
|
|
3153
|
+
var zIndex = import_dev39.defineTokens.zIndex({
|
|
3154
|
+
hide: { value: -1 },
|
|
3155
|
+
base: { value: 0 },
|
|
3156
|
+
docked: { value: 10 },
|
|
3157
|
+
sticky: { value: 1100 },
|
|
3158
|
+
overlay: { value: 1300 },
|
|
3159
|
+
modal: { value: 1400 },
|
|
3160
|
+
popover: { value: 1500 },
|
|
3161
|
+
tooltip: { value: 1800 }
|
|
3162
|
+
});
|
|
3163
|
+
|
|
3164
|
+
// src/tokens/typography.ts
|
|
3165
|
+
var import_dev40 = require("@pandacss/dev");
|
|
3166
|
+
var fonts = import_dev40.defineTokens.fonts({
|
|
3167
|
+
body: {
|
|
3168
|
+
value: '"inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
|
|
3169
|
+
},
|
|
3170
|
+
mono: {
|
|
3171
|
+
value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
|
|
3172
|
+
}
|
|
3173
|
+
});
|
|
3174
|
+
var fontSizes = import_dev40.defineTokens.fontSizes({
|
|
3175
|
+
xs: { value: "0.625rem", description: "10px" },
|
|
3176
|
+
sm: { value: "0.75rem", description: "12px" },
|
|
3177
|
+
md: { value: "0.875rem", description: "14px" },
|
|
3178
|
+
lg: { value: "1rem", description: "16px" },
|
|
3179
|
+
xl: { value: "1.25rem", description: "20px" },
|
|
3180
|
+
"2xl": { value: "1.5rem", description: "24px" }
|
|
3181
|
+
});
|
|
3182
|
+
var fontWeights = import_dev40.defineTokens.fontWeights({
|
|
3183
|
+
regular: { value: "400" },
|
|
3184
|
+
semiBold: { value: "600" },
|
|
3185
|
+
bold: { value: "800" }
|
|
3186
|
+
});
|
|
3187
|
+
var lineHeights = import_dev40.defineTokens.lineHeights({
|
|
3188
|
+
xs: { value: 1.2, description: "12px/10px" },
|
|
3189
|
+
sm: { value: 1.34, description: "16px/12px or 32px/24px" },
|
|
3190
|
+
md: { value: 1.4, description: "28px/20px" },
|
|
3191
|
+
lg: { value: 1.429, description: "20px/14px" },
|
|
3192
|
+
xl: { value: 1.5, description: "24px/16px" },
|
|
3193
|
+
"2xl": { value: 1.67, description: "20px/12px" },
|
|
3194
|
+
"3xl": { value: 1.71, description: "24px/14px" }
|
|
3195
|
+
});
|
|
3196
|
+
var letterSpacings = import_dev40.defineTokens.letterSpacings({
|
|
3197
|
+
tighter: { value: "-0.05em" },
|
|
3198
|
+
tight: { value: "-0.025em" },
|
|
3199
|
+
normal: { value: "0" },
|
|
3200
|
+
wide: { value: "0.025em" },
|
|
3201
|
+
wider: { value: "0.05em" },
|
|
3202
|
+
widest: { value: "0.1em" }
|
|
3203
|
+
});
|
|
3204
|
+
|
|
3205
|
+
// src/tokens/index.ts
|
|
3206
|
+
var tokens = (0, import_dev41.defineTokens)({
|
|
3207
|
+
borders,
|
|
3208
|
+
colors,
|
|
3209
|
+
durations,
|
|
3210
|
+
fonts,
|
|
3211
|
+
fontSizes,
|
|
3212
|
+
fontWeights,
|
|
3213
|
+
lineHeights,
|
|
3214
|
+
letterSpacings,
|
|
3215
|
+
opacity,
|
|
3216
|
+
radii,
|
|
3217
|
+
shadows,
|
|
3218
|
+
sizes,
|
|
3219
|
+
spacing,
|
|
3220
|
+
zIndex
|
|
3221
|
+
});
|
|
2679
3222
|
|
|
2680
3223
|
// src/index.ts
|
|
2681
|
-
var preset = (0,
|
|
3224
|
+
var preset = (0, import_dev42.definePreset)({
|
|
2682
3225
|
theme: {
|
|
2683
3226
|
extend: {
|
|
2684
3227
|
breakpoints,
|
|
@@ -2692,3 +3235,7 @@ var preset = (0, import_dev38.definePreset)({
|
|
|
2692
3235
|
conditions,
|
|
2693
3236
|
globalCss
|
|
2694
3237
|
});
|
|
3238
|
+
var src_default = preset;
|
|
3239
|
+
|
|
3240
|
+
// index.ts
|
|
3241
|
+
var theme_default = src_default;
|