@mekari/pixel3-theme 0.0.0
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/breakpoints.d.mts +8 -0
- package/dist/breakpoints.d.ts +8 -0
- package/dist/conditions.d.mts +23 -0
- package/dist/conditions.d.ts +23 -0
- package/dist/global-css.d.mts +5 -0
- package/dist/global-css.d.ts +5 -0
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2509 -0
- package/dist/index.mjs +2488 -0
- package/dist/keyframes.d.mts +5 -0
- package/dist/keyframes.d.ts +5 -0
- package/dist/recipes/accordion.d.mts +5 -0
- package/dist/recipes/accordion.d.ts +5 -0
- package/dist/recipes/avatar.d.mts +6 -0
- package/dist/recipes/avatar.d.ts +6 -0
- package/dist/recipes/badge.d.mts +5 -0
- package/dist/recipes/badge.d.ts +5 -0
- package/dist/recipes/button.d.mts +6 -0
- package/dist/recipes/button.d.ts +6 -0
- package/dist/recipes/checkbox.d.mts +5 -0
- package/dist/recipes/checkbox.d.ts +5 -0
- package/dist/recipes/icon.d.mts +5 -0
- package/dist/recipes/icon.d.ts +5 -0
- package/dist/recipes/index.d.mts +37 -0
- package/dist/recipes/index.d.ts +37 -0
- package/dist/recipes/input.d.mts +7 -0
- package/dist/recipes/input.d.ts +7 -0
- package/dist/recipes/popover.d.mts +7 -0
- package/dist/recipes/popover.d.ts +7 -0
- package/dist/recipes/progress.d.mts +5 -0
- package/dist/recipes/progress.d.ts +5 -0
- package/dist/recipes/radio.d.mts +5 -0
- package/dist/recipes/radio.d.ts +5 -0
- package/dist/recipes/select.d.mts +5 -0
- package/dist/recipes/select.d.ts +5 -0
- package/dist/recipes/shared.d.mts +5 -0
- package/dist/recipes/shared.d.ts +5 -0
- package/dist/recipes/spinner.d.mts +5 -0
- package/dist/recipes/spinner.d.ts +5 -0
- package/dist/recipes/table.d.mts +6 -0
- package/dist/recipes/table.d.ts +6 -0
- package/dist/recipes/tabs.d.mts +7 -0
- package/dist/recipes/tabs.d.ts +7 -0
- package/dist/recipes/tag.d.mts +5 -0
- package/dist/recipes/tag.d.ts +5 -0
- package/dist/recipes/text.d.mts +5 -0
- package/dist/recipes/text.d.ts +5 -0
- package/dist/recipes/textarea.d.mts +5 -0
- package/dist/recipes/textarea.d.ts +5 -0
- package/dist/recipes/toggle.d.mts +5 -0
- package/dist/recipes/toggle.d.ts +5 -0
- package/dist/recipes/tooltip.d.mts +5 -0
- package/dist/recipes/tooltip.d.ts +5 -0
- package/dist/text-styles.d.mts +5 -0
- package/dist/text-styles.d.ts +5 -0
- package/dist/tokens/borders.d.mts +16 -0
- package/dist/tokens/borders.d.ts +16 -0
- package/dist/tokens/colors.d.mts +256 -0
- package/dist/tokens/colors.d.ts +256 -0
- package/dist/tokens/durations.d.mts +13 -0
- package/dist/tokens/durations.d.ts +13 -0
- package/dist/tokens/index.d.mts +647 -0
- package/dist/tokens/index.d.ts +647 -0
- package/dist/tokens/opacity.d.mts +16 -0
- package/dist/tokens/opacity.d.ts +16 -0
- package/dist/tokens/radii.d.mts +30 -0
- package/dist/tokens/radii.d.ts +30 -0
- package/dist/tokens/shadows.d.mts +40 -0
- package/dist/tokens/shadows.d.ts +40 -0
- package/dist/tokens/sizes.d.mts +95 -0
- package/dist/tokens/sizes.d.ts +95 -0
- package/dist/tokens/spacing.d.mts +72 -0
- package/dist/tokens/spacing.d.ts +72 -0
- package/dist/tokens/typography.d.mts +97 -0
- package/dist/tokens/typography.d.ts +97 -0
- package/dist/tokens/z-index.d.mts +28 -0
- package/dist/tokens/z-index.d.ts +28 -0
- package/package.json +41 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,2509 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
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
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
default: () => src_default
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(src_exports);
|
|
26
|
+
var import_dev35 = require("@pandacss/dev");
|
|
27
|
+
|
|
28
|
+
// src/conditions.ts
|
|
29
|
+
var conditions = {
|
|
30
|
+
extend: {
|
|
31
|
+
disabled: "&:is(:disabled, [disabled], [aria-disabled=true], [data-disabled])",
|
|
32
|
+
invalid: "&:is(:invalid, [aria-invalid=true], [data-invalid])",
|
|
33
|
+
checked: "&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",
|
|
34
|
+
indeterminate: "&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",
|
|
35
|
+
closed: "&:is([data-state=closed])",
|
|
36
|
+
open: "&:is([open], [data-state=open])",
|
|
37
|
+
hidden: "&:is([hidden])",
|
|
38
|
+
collapsed: '&:is([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])',
|
|
39
|
+
loading: "& > [data-loading=true], &:is([data-loading], [aria-busy=true])",
|
|
40
|
+
hasIcon: "&[data-button-icon=true]",
|
|
41
|
+
active: "&[data-active=true], [data-active]",
|
|
42
|
+
highlight: "&[data-highlight=true], [data-highlight]",
|
|
43
|
+
hasBorder: "&[data-has-border=true]",
|
|
44
|
+
hasBackground: "&[data-has-background=true]",
|
|
45
|
+
isFullWidth: "&[data-is-full-width=true]",
|
|
46
|
+
placementLeft: "&[data-placement=left]",
|
|
47
|
+
placementRight: "&[data-placement=right]"
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
// src/global-css.ts
|
|
52
|
+
var import_dev = require("@pandacss/dev");
|
|
53
|
+
var globalCss = (0, import_dev.defineGlobalStyles)({
|
|
54
|
+
html: {
|
|
55
|
+
MozOsxFontSmoothing: "grayscale",
|
|
56
|
+
textRendering: "optimizeLegibility",
|
|
57
|
+
WebkitFontSmoothing: "antialiased",
|
|
58
|
+
WebkitTextSizeAdjust: "100%"
|
|
59
|
+
},
|
|
60
|
+
body: {
|
|
61
|
+
background: "var(--mp-colors-white)",
|
|
62
|
+
color: "var(--mp-colors-dark)",
|
|
63
|
+
fontFamily: "var(--mp-fonts-body)",
|
|
64
|
+
fontSize: "14px",
|
|
65
|
+
_dark: {
|
|
66
|
+
colorScheme: "dark"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"*, *::before, *::after": {
|
|
70
|
+
borderStyle: "solid",
|
|
71
|
+
boxSizing: "border-box"
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
// src/tokens/index.ts
|
|
76
|
+
var import_dev12 = require("@pandacss/dev");
|
|
77
|
+
|
|
78
|
+
// src/tokens/borders.ts
|
|
79
|
+
var import_dev2 = require("@pandacss/dev");
|
|
80
|
+
var borders = import_dev2.defineTokens.borders({
|
|
81
|
+
none: { value: "none" },
|
|
82
|
+
sm: { value: "1px" },
|
|
83
|
+
md: { value: "1.5px" },
|
|
84
|
+
lg: { value: "2px" }
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
// src/tokens/colors.ts
|
|
88
|
+
var import_dev3 = require("@pandacss/dev");
|
|
89
|
+
var colors = import_dev3.defineTokens.colors({
|
|
90
|
+
currentcolor: {
|
|
91
|
+
value: "currentcolor",
|
|
92
|
+
description: "Need to add this for Icon usage"
|
|
93
|
+
},
|
|
94
|
+
dark: { value: "#232933", description: "Default or primary text color" },
|
|
95
|
+
white: {
|
|
96
|
+
value: "#FFFFFF",
|
|
97
|
+
description: "Background color in components such as Card, Modal, and Popover"
|
|
98
|
+
},
|
|
99
|
+
background: { value: "#F1F5F9", description: "For use as background page" },
|
|
100
|
+
overlay: {
|
|
101
|
+
value: "rgba(22, 26, 32, 0.8)",
|
|
102
|
+
description: "For use as overlay"
|
|
103
|
+
},
|
|
104
|
+
brand: {
|
|
105
|
+
capital: { value: "#2F5573", description: "Mekari Capital" },
|
|
106
|
+
esign: { value: "#00C853", description: "Mekari e-Sign" },
|
|
107
|
+
expense: { value: "#183883", description: "Mekari Expense" },
|
|
108
|
+
flex: { value: "#7C4DFF", description: "Mekari Flex" },
|
|
109
|
+
jurnal: { value: "#40C3FF", description: "Mekari Jurnal" },
|
|
110
|
+
klikpajak: { value: "#FF9100", description: "Mekari Klikpajak" },
|
|
111
|
+
mekari: { value: "#651FFF", description: "Mekari" },
|
|
112
|
+
qontak: { value: "#2979FF", description: "Mekari Qontak" },
|
|
113
|
+
talenta: { value: "#F22929", description: "Mekari Talenta" },
|
|
114
|
+
university: { value: "#448AFF", description: "Mekari University" }
|
|
115
|
+
},
|
|
116
|
+
gray: {
|
|
117
|
+
25: {
|
|
118
|
+
value: "#F8F9FB",
|
|
119
|
+
description: "Background color in table header component"
|
|
120
|
+
},
|
|
121
|
+
50: {
|
|
122
|
+
value: "#EDF0F2",
|
|
123
|
+
description: "Disabled background color in components such as Input and Select backgrounds"
|
|
124
|
+
},
|
|
125
|
+
100: { value: "#D0D6DD", description: "Default stroke color or divider" },
|
|
126
|
+
400: {
|
|
127
|
+
value: "#8B95A5",
|
|
128
|
+
description: "Disabled and placeholder text color, icon or in components such as hover state Input, Select and stroke in Popover"
|
|
129
|
+
},
|
|
130
|
+
600: {
|
|
131
|
+
value: "#626B79",
|
|
132
|
+
description: "Description text color and default color for outline icon"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
blue: {
|
|
136
|
+
50: { value: "#EAECFB" },
|
|
137
|
+
100: { value: "#D5DEFF" },
|
|
138
|
+
400: { value: "#4B61DD" },
|
|
139
|
+
500: { value: "#1C44D5" },
|
|
140
|
+
700: { value: "#0031BE" }
|
|
141
|
+
},
|
|
142
|
+
red: {
|
|
143
|
+
50: { value: "#FDECEE" },
|
|
144
|
+
400: { value: "#DA473F" },
|
|
145
|
+
500: { value: "#C83E39" },
|
|
146
|
+
700: { value: "#AB3129" }
|
|
147
|
+
},
|
|
148
|
+
green: {
|
|
149
|
+
50: { value: "#E8F5EB" },
|
|
150
|
+
400: { value: "#68BE79" },
|
|
151
|
+
500: { value: "#4FB262" },
|
|
152
|
+
700: { value: "#3C914D" }
|
|
153
|
+
},
|
|
154
|
+
orange: {
|
|
155
|
+
50: { value: "#FBF3DD" },
|
|
156
|
+
400: { value: "#E0AB00" },
|
|
157
|
+
500: { value: "#DE9400" },
|
|
158
|
+
700: { value: "#DB8000" }
|
|
159
|
+
},
|
|
160
|
+
sky: {
|
|
161
|
+
100: { value: "#60A5FA" },
|
|
162
|
+
400: { value: "#3B82F6" }
|
|
163
|
+
},
|
|
164
|
+
teal: {
|
|
165
|
+
100: { value: "#2DD4BF" },
|
|
166
|
+
400: { value: "#14B8A6" }
|
|
167
|
+
},
|
|
168
|
+
violet: {
|
|
169
|
+
100: { value: "#A78BFA" },
|
|
170
|
+
400: { value: "#8B5CF6" }
|
|
171
|
+
},
|
|
172
|
+
amber: {
|
|
173
|
+
100: { value: "#FBBF24" },
|
|
174
|
+
400: { value: "#F59E0B" }
|
|
175
|
+
},
|
|
176
|
+
rose: {
|
|
177
|
+
100: { value: "#F87171" },
|
|
178
|
+
400: { value: "#EF4444" }
|
|
179
|
+
},
|
|
180
|
+
stone: {
|
|
181
|
+
100: { value: "#A1A1AA" },
|
|
182
|
+
400: { value: "#71717A" }
|
|
183
|
+
},
|
|
184
|
+
lime: {
|
|
185
|
+
100: { value: "#A3E635" },
|
|
186
|
+
400: { value: "#84CC16" }
|
|
187
|
+
},
|
|
188
|
+
pink: {
|
|
189
|
+
100: { value: "#F472B6" },
|
|
190
|
+
400: { value: "#EC4899" }
|
|
191
|
+
},
|
|
192
|
+
apricot: {
|
|
193
|
+
100: { value: "#FB923C" },
|
|
194
|
+
400: { value: "#F97316" }
|
|
195
|
+
},
|
|
196
|
+
aqua: {
|
|
197
|
+
100: { value: "#22D3EE" },
|
|
198
|
+
400: { value: "#06B6D4" }
|
|
199
|
+
},
|
|
200
|
+
leaf: {
|
|
201
|
+
100: { value: "#4ADE80" },
|
|
202
|
+
400: { value: "#22C55E" }
|
|
203
|
+
},
|
|
204
|
+
fuchsia: {
|
|
205
|
+
100: { value: "#E879F9" },
|
|
206
|
+
400: { value: "#D946EF" }
|
|
207
|
+
},
|
|
208
|
+
ice: {
|
|
209
|
+
50: { value: "#E0EEFF" },
|
|
210
|
+
100: { value: "#B4D3F2" }
|
|
211
|
+
},
|
|
212
|
+
ash: {
|
|
213
|
+
100: { value: "#E7EDF5" }
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
|
|
217
|
+
// src/tokens/durations.ts
|
|
218
|
+
var import_dev4 = require("@pandacss/dev");
|
|
219
|
+
var durations = import_dev4.defineTokens.durations({
|
|
220
|
+
slow: { value: "100ms" },
|
|
221
|
+
normal: { value: "250ms" },
|
|
222
|
+
fast: { value: "300ms" }
|
|
223
|
+
});
|
|
224
|
+
|
|
225
|
+
// src/tokens/opacity.ts
|
|
226
|
+
var import_dev5 = require("@pandacss/dev");
|
|
227
|
+
var opacity = import_dev5.defineTokens.opacity({
|
|
228
|
+
0: { value: 0 },
|
|
229
|
+
40: { value: 0.4 },
|
|
230
|
+
60: { value: 0.6 },
|
|
231
|
+
100: { value: 1 }
|
|
232
|
+
});
|
|
233
|
+
|
|
234
|
+
// src/tokens/radii.ts
|
|
235
|
+
var import_dev6 = require("@pandacss/dev");
|
|
236
|
+
var radii = import_dev6.defineTokens.radii({
|
|
237
|
+
none: { value: "0" },
|
|
238
|
+
xs: { value: "0.125rem", description: "2px" },
|
|
239
|
+
sm: { value: "0.25rem", description: "4px" },
|
|
240
|
+
md: { value: "0.375rem", description: "6px" },
|
|
241
|
+
lg: { value: "0.5rem", description: "8px" },
|
|
242
|
+
xl: { value: "0.75rem", description: "12px" },
|
|
243
|
+
full: { value: "50%" }
|
|
244
|
+
});
|
|
245
|
+
|
|
246
|
+
// src/tokens/shadows.ts
|
|
247
|
+
var import_dev7 = require("@pandacss/dev");
|
|
248
|
+
var shadows = import_dev7.defineTokens.shadows({
|
|
249
|
+
xs: {
|
|
250
|
+
value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
|
|
251
|
+
},
|
|
252
|
+
sm: {
|
|
253
|
+
value: ["0px 4px 6px -2px rgba(0, 0, 0, 0.05)", "0px 10px 15px -3px rgba(0, 0, 0, 0.10)"]
|
|
254
|
+
},
|
|
255
|
+
md: {
|
|
256
|
+
value: ["0px 10px 10px -5px rgba(0, 0, 0, 0.04)", "0px 20px 25px -5px rgba(0, 0, 0, 0.10)"]
|
|
257
|
+
},
|
|
258
|
+
lg: {
|
|
259
|
+
value: ["0px 6px 16px 0px rgba(0, 0, 0, 0.08)", "0px 9px 28px 8px rgba(0, 0, 0, 0.05)"]
|
|
260
|
+
},
|
|
261
|
+
focus: {
|
|
262
|
+
value: "0 0 0 3px rgba(224, 238, 255, 1)"
|
|
263
|
+
},
|
|
264
|
+
xl: {
|
|
265
|
+
value: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"
|
|
266
|
+
},
|
|
267
|
+
"2xl": {
|
|
268
|
+
value: "0 25px 50px -12px rgba(0, 0, 0, 0.25)"
|
|
269
|
+
},
|
|
270
|
+
outline: {
|
|
271
|
+
value: "0 0 0 3px #E0EEFF"
|
|
272
|
+
},
|
|
273
|
+
"outline-tab": {
|
|
274
|
+
value: "0 0 0 2px #E0EEFF"
|
|
275
|
+
},
|
|
276
|
+
outer: {
|
|
277
|
+
value: "0 0 0 3px rgba(224, 238, 255, 1)"
|
|
278
|
+
},
|
|
279
|
+
inner: {
|
|
280
|
+
value: "inset 0 2px 4px 0 rgba( 0, 0, 0, 0.06)"
|
|
281
|
+
},
|
|
282
|
+
none: {
|
|
283
|
+
value: "none"
|
|
284
|
+
}
|
|
285
|
+
});
|
|
286
|
+
|
|
287
|
+
// src/tokens/sizes.ts
|
|
288
|
+
var import_dev8 = require("@pandacss/dev");
|
|
289
|
+
var sizes = import_dev8.defineTokens.sizes({
|
|
290
|
+
0: { value: "0", description: "0px" },
|
|
291
|
+
0.25: { value: "0.0625rem", description: "1px" },
|
|
292
|
+
0.5: { value: "0.125rem", description: "2px" },
|
|
293
|
+
1: { value: "0.25rem", description: "4px" },
|
|
294
|
+
2: { value: "0.5rem", description: "8px" },
|
|
295
|
+
2.5: { value: "0.625rem", description: "10px" },
|
|
296
|
+
3: { value: "0.75rem", description: "12px" },
|
|
297
|
+
4: { value: "1rem", description: "16px" },
|
|
298
|
+
5: { value: "1.25rem", description: "20px" },
|
|
299
|
+
6: { value: "1.5rem", description: "24px" },
|
|
300
|
+
7: { value: "1.75rem", description: "28px" },
|
|
301
|
+
7.5: { value: "1.875rem", description: "30px" },
|
|
302
|
+
8: { value: "2rem", description: "32px" },
|
|
303
|
+
9: { value: "2.25rem", description: "36px" },
|
|
304
|
+
9.5: { value: "2.375rem", description: "38px" },
|
|
305
|
+
10: { value: "2.5rem", description: "40px" },
|
|
306
|
+
11: { value: "2.75rem", description: "44px" },
|
|
307
|
+
12: { value: "3rem", description: "48px" },
|
|
308
|
+
16: { value: "4rem", description: "64px" },
|
|
309
|
+
20: { value: "5rem", description: "80px" },
|
|
310
|
+
22: { value: "5.5rem", description: "96px" },
|
|
311
|
+
65: { value: "17.5rem", description: "280px" },
|
|
312
|
+
full: { value: "100%" }
|
|
313
|
+
});
|
|
314
|
+
|
|
315
|
+
// src/tokens/spacing.ts
|
|
316
|
+
var import_dev9 = require("@pandacss/dev");
|
|
317
|
+
var spacing = import_dev9.defineTokens.spacing({
|
|
318
|
+
0: { value: "0", description: "0px" },
|
|
319
|
+
0.5: { value: "0.125rem", description: "2px" },
|
|
320
|
+
1: { value: "0.25rem", description: "4px" },
|
|
321
|
+
1.5: { value: "0.375rem", description: "6px" },
|
|
322
|
+
2: { value: "0.5rem", description: "8px" },
|
|
323
|
+
3: { value: "0.75rem", description: "12px" },
|
|
324
|
+
4: { value: "1rem", description: "16px" },
|
|
325
|
+
5: { value: "1.3rem", description: "20px" },
|
|
326
|
+
6: { value: "1.5rem", description: "24px" },
|
|
327
|
+
8: { value: "2rem", description: "32px" },
|
|
328
|
+
12: { value: "3rem", description: "48px" },
|
|
329
|
+
16: { value: "4rem", description: "64px" },
|
|
330
|
+
20: { value: "5rem", description: "80px" },
|
|
331
|
+
24: { value: "6rem", description: "96px" },
|
|
332
|
+
32: { value: "8rem", description: "128px" },
|
|
333
|
+
40: { value: "10rem", description: "160px" },
|
|
334
|
+
64: { value: "16rem", description: "256px" }
|
|
335
|
+
});
|
|
336
|
+
|
|
337
|
+
// src/tokens/z-index.ts
|
|
338
|
+
var import_dev10 = require("@pandacss/dev");
|
|
339
|
+
var zIndex = import_dev10.defineTokens.zIndex({
|
|
340
|
+
hide: { value: -1 },
|
|
341
|
+
base: { value: 0 },
|
|
342
|
+
docked: { value: 10 },
|
|
343
|
+
sticky: { value: 1100 },
|
|
344
|
+
overlay: { value: 1300 },
|
|
345
|
+
modal: { value: 1400 },
|
|
346
|
+
popover: { value: 1500 },
|
|
347
|
+
tooltip: { value: 1800 }
|
|
348
|
+
});
|
|
349
|
+
|
|
350
|
+
// src/tokens/typography.ts
|
|
351
|
+
var import_dev11 = require("@pandacss/dev");
|
|
352
|
+
var fonts = import_dev11.defineTokens.fonts({
|
|
353
|
+
body: {
|
|
354
|
+
value: '"inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
|
|
355
|
+
},
|
|
356
|
+
mono: {
|
|
357
|
+
value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
var fontSizes = import_dev11.defineTokens.fontSizes({
|
|
361
|
+
xs: { value: "0.625rem", description: "10px" },
|
|
362
|
+
sm: { value: "0.75rem", description: "12px" },
|
|
363
|
+
md: { value: "0.875rem", description: "14px" },
|
|
364
|
+
lg: { value: "1rem", description: "16px" },
|
|
365
|
+
xl: { value: "1.25rem", description: "20px" },
|
|
366
|
+
"2xl": { value: "1.5rem", description: "24px" }
|
|
367
|
+
});
|
|
368
|
+
var fontWeights = import_dev11.defineTokens.fontWeights({
|
|
369
|
+
regular: { value: "400" },
|
|
370
|
+
semiBold: { value: "600" },
|
|
371
|
+
bold: { value: "800" }
|
|
372
|
+
});
|
|
373
|
+
var lineHeights = import_dev11.defineTokens.lineHeights({
|
|
374
|
+
xs: { value: 1.2, description: "12px/10px" },
|
|
375
|
+
sm: { value: 1.34, description: "16px/12px or 32px/24px" },
|
|
376
|
+
md: { value: 1.4, description: "28px/20px" },
|
|
377
|
+
lg: { value: 1.429, description: "20px/14px" },
|
|
378
|
+
xl: { value: 1.5, description: "24px/16px" },
|
|
379
|
+
"2xl": { value: 1.67, description: "20px/12px" },
|
|
380
|
+
"3xl": { value: 1.71, description: "24px/14px" }
|
|
381
|
+
});
|
|
382
|
+
var letterSpacings = import_dev11.defineTokens.letterSpacings({
|
|
383
|
+
tighter: { value: "-0.05em" },
|
|
384
|
+
tight: { value: "-0.025em" },
|
|
385
|
+
normal: { value: "0" },
|
|
386
|
+
wide: { value: "0.025em" },
|
|
387
|
+
wider: { value: "0.05em" },
|
|
388
|
+
widest: { value: "0.1em" }
|
|
389
|
+
});
|
|
390
|
+
|
|
391
|
+
// src/tokens/index.ts
|
|
392
|
+
var tokens = (0, import_dev12.defineTokens)({
|
|
393
|
+
borders,
|
|
394
|
+
colors,
|
|
395
|
+
durations,
|
|
396
|
+
fonts,
|
|
397
|
+
fontSizes,
|
|
398
|
+
fontWeights,
|
|
399
|
+
lineHeights,
|
|
400
|
+
letterSpacings,
|
|
401
|
+
opacity,
|
|
402
|
+
radii,
|
|
403
|
+
shadows,
|
|
404
|
+
sizes,
|
|
405
|
+
spacing,
|
|
406
|
+
zIndex
|
|
407
|
+
});
|
|
408
|
+
|
|
409
|
+
// src/text-styles.ts
|
|
410
|
+
var import_dev13 = require("@pandacss/dev");
|
|
411
|
+
var textStyles = (0, import_dev13.defineTextStyles)({
|
|
412
|
+
overline: { value: { fontSize: "xs", lineHeight: "xs" } },
|
|
413
|
+
body: {
|
|
414
|
+
sm: { value: { fontSize: "sm", lineHeight: "2xl" } },
|
|
415
|
+
md: { value: { fontSize: "md", lineHeight: "3xl" } }
|
|
416
|
+
},
|
|
417
|
+
label: {
|
|
418
|
+
sm: { value: { fontSize: "sm", lineHeight: "sm" } },
|
|
419
|
+
md: { value: { fontSize: "md", lineHeight: "lg" } }
|
|
420
|
+
},
|
|
421
|
+
h3: {
|
|
422
|
+
value: {
|
|
423
|
+
fontSize: "lg",
|
|
424
|
+
lineHeight: "xl",
|
|
425
|
+
fontWeight: "semiBold !important"
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
h2: {
|
|
429
|
+
value: {
|
|
430
|
+
fontSize: "xl",
|
|
431
|
+
lineHeight: "md",
|
|
432
|
+
fontWeight: "semiBold !important"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
h1: {
|
|
436
|
+
value: {
|
|
437
|
+
fontSize: "2xl",
|
|
438
|
+
lineHeight: "sm",
|
|
439
|
+
fontWeight: "semiBold !important"
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
});
|
|
443
|
+
|
|
444
|
+
// src/keyframes.ts
|
|
445
|
+
var import_dev14 = require("@pandacss/dev");
|
|
446
|
+
var keyframes = (0, import_dev14.defineKeyframes)({
|
|
447
|
+
"fade-in": {
|
|
448
|
+
from: { opacity: "0" },
|
|
449
|
+
to: { opacity: "1" }
|
|
450
|
+
},
|
|
451
|
+
"fade-out": {
|
|
452
|
+
from: { opacity: "1" },
|
|
453
|
+
to: { opacity: "0" }
|
|
454
|
+
},
|
|
455
|
+
spin: {
|
|
456
|
+
"100%": { transform: "rotate(1turn)" }
|
|
457
|
+
}
|
|
458
|
+
});
|
|
459
|
+
|
|
460
|
+
// src/recipes/tag.ts
|
|
461
|
+
var import_dev15 = require("@pandacss/dev");
|
|
462
|
+
var tagSlotRecipe = (0, import_dev15.defineSlotRecipe)({
|
|
463
|
+
className: "tag",
|
|
464
|
+
jsx: ["MpTag", "mp-tag"],
|
|
465
|
+
slots: ["root", "close"],
|
|
466
|
+
base: {
|
|
467
|
+
root: {
|
|
468
|
+
position: "relative",
|
|
469
|
+
display: "inline-flex",
|
|
470
|
+
alignItems: "center",
|
|
471
|
+
userSelect: "none",
|
|
472
|
+
outline: "0px solid transparent",
|
|
473
|
+
borderWidth: "1px",
|
|
474
|
+
borderColor: "transparent",
|
|
475
|
+
borderRadius: "sm",
|
|
476
|
+
transition: "all 250ms",
|
|
477
|
+
textAlign: "left",
|
|
478
|
+
fontSize: "md",
|
|
479
|
+
fontWeight: "regular",
|
|
480
|
+
lineHeight: "md",
|
|
481
|
+
letterSpacing: "normal",
|
|
482
|
+
paddingX: "2",
|
|
483
|
+
whiteSpace: "normal",
|
|
484
|
+
overflowWrap: "anywhere",
|
|
485
|
+
cursor: "var(--mp-tag--cursor)"
|
|
486
|
+
},
|
|
487
|
+
close: {
|
|
488
|
+
position: "absolute!",
|
|
489
|
+
color: "gray.600",
|
|
490
|
+
background: "linear-gradient(270deg, #EDF0F2 75%, rgba(237, 240, 242, 0) 111.54%)!",
|
|
491
|
+
border: "none",
|
|
492
|
+
right: "0",
|
|
493
|
+
width: "5",
|
|
494
|
+
height: "5",
|
|
495
|
+
minWidth: "5",
|
|
496
|
+
paddingTop: "1",
|
|
497
|
+
padding: "0",
|
|
498
|
+
transition: "all 250ms!",
|
|
499
|
+
visibility: "hidden",
|
|
500
|
+
opacity: "0",
|
|
501
|
+
_groupHover: {
|
|
502
|
+
visibility: "visible",
|
|
503
|
+
opacity: "1"
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
variants: {
|
|
508
|
+
size: {
|
|
509
|
+
sm: {
|
|
510
|
+
root: {
|
|
511
|
+
paddingY: "0"
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
md: {
|
|
515
|
+
root: {
|
|
516
|
+
paddingY: "1"
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
variant: {
|
|
521
|
+
gray: {
|
|
522
|
+
root: {
|
|
523
|
+
color: "gray.600",
|
|
524
|
+
background: "gray.50"
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
red: {
|
|
528
|
+
root: {
|
|
529
|
+
color: "red.400",
|
|
530
|
+
backgroundColor: "red.50"
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
compoundVariants: [
|
|
536
|
+
{
|
|
537
|
+
variant: "red",
|
|
538
|
+
css: {
|
|
539
|
+
close: {
|
|
540
|
+
background: "linear-gradient(270deg, #FDECEE 75%, rgba(237, 240, 242, 0) 111.54%)!"
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
size: "sm",
|
|
546
|
+
css: {
|
|
547
|
+
close: { paddingTop: "0" }
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
defaultVariants: {
|
|
552
|
+
size: "md",
|
|
553
|
+
variant: "gray"
|
|
554
|
+
}
|
|
555
|
+
});
|
|
556
|
+
|
|
557
|
+
// src/recipes/avatar.ts
|
|
558
|
+
var import_dev16 = require("@pandacss/dev");
|
|
559
|
+
var avatarSlotRecipe = (0, import_dev16.defineSlotRecipe)({
|
|
560
|
+
className: "avatar",
|
|
561
|
+
jsx: ["MpAvatar", "mp-avatar"],
|
|
562
|
+
slots: ["root", "fallback", "image", "icon"],
|
|
563
|
+
base: {
|
|
564
|
+
root: {
|
|
565
|
+
color: "white",
|
|
566
|
+
position: "relative",
|
|
567
|
+
display: "inline-flex",
|
|
568
|
+
alignItems: "center",
|
|
569
|
+
justifyContent: "center",
|
|
570
|
+
verticalAlign: "top",
|
|
571
|
+
flexShrink: "0",
|
|
572
|
+
fontWeight: "semiBold",
|
|
573
|
+
textTransform: "uppercase",
|
|
574
|
+
userSelect: "none",
|
|
575
|
+
backgroundColor: "var(--mp-avatar--background-color)",
|
|
576
|
+
borderColor: "var(--mp-avatar--border-color)",
|
|
577
|
+
marginLeft: "var(--mp-avatar--margin-left)",
|
|
578
|
+
cursor: "var(--mp-avatar--cursor)",
|
|
579
|
+
_hasBorder: {
|
|
580
|
+
borderWidth: "0.125rem"
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
fallback: {
|
|
584
|
+
width: "100%",
|
|
585
|
+
height: "100%",
|
|
586
|
+
visibility: "var(--mp-avatar--visibility)",
|
|
587
|
+
display: "var(--mp-avatar--display)"
|
|
588
|
+
},
|
|
589
|
+
image: {
|
|
590
|
+
width: "100%",
|
|
591
|
+
height: "100%",
|
|
592
|
+
objectFit: "cover"
|
|
593
|
+
}
|
|
594
|
+
},
|
|
595
|
+
variants: {
|
|
596
|
+
variant: {
|
|
597
|
+
square: {
|
|
598
|
+
root: { borderRadius: "md" },
|
|
599
|
+
image: { borderRadius: "md" }
|
|
600
|
+
},
|
|
601
|
+
circle: {
|
|
602
|
+
root: { borderRadius: "full" },
|
|
603
|
+
image: { borderRadius: "full" }
|
|
604
|
+
}
|
|
605
|
+
},
|
|
606
|
+
variantColor: {
|
|
607
|
+
gray: {
|
|
608
|
+
root: { backgroundColor: "gray.50" }
|
|
609
|
+
},
|
|
610
|
+
sky: {
|
|
611
|
+
root: { backgroundColor: "sky.400" }
|
|
612
|
+
},
|
|
613
|
+
teal: {
|
|
614
|
+
root: { backgroundColor: "teal.400" }
|
|
615
|
+
},
|
|
616
|
+
violet: {
|
|
617
|
+
root: { backgroundColor: "violet.400" }
|
|
618
|
+
},
|
|
619
|
+
amber: {
|
|
620
|
+
root: { backgroundColor: "amber.400" }
|
|
621
|
+
},
|
|
622
|
+
rose: {
|
|
623
|
+
root: { backgroundColor: "rose.400" }
|
|
624
|
+
},
|
|
625
|
+
stone: {
|
|
626
|
+
root: { backgroundColor: "stone.400" }
|
|
627
|
+
},
|
|
628
|
+
lime: {
|
|
629
|
+
root: { backgroundColor: "lime.400" }
|
|
630
|
+
},
|
|
631
|
+
pink: {
|
|
632
|
+
root: { backgroundColor: "pink.400" }
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
size: {
|
|
636
|
+
sm: {
|
|
637
|
+
root: { width: "6", height: "6", fontSize: "xs" },
|
|
638
|
+
icon: { width: "4!", height: "4!" }
|
|
639
|
+
},
|
|
640
|
+
md: {
|
|
641
|
+
root: { width: "8", height: "8", fontSize: "sm" },
|
|
642
|
+
icon: { width: "5!", height: "5!" }
|
|
643
|
+
},
|
|
644
|
+
lg: {
|
|
645
|
+
root: { width: "12", height: "12", fontSize: "lg" },
|
|
646
|
+
icon: { width: "8!", height: "8!" }
|
|
647
|
+
},
|
|
648
|
+
xl: {
|
|
649
|
+
root: { width: "20", height: "20", fontSize: "2xl" },
|
|
650
|
+
icon: { width: "16!", height: "16!" }
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
compoundVariants: [
|
|
655
|
+
{
|
|
656
|
+
size: "sm",
|
|
657
|
+
variant: "square",
|
|
658
|
+
css: {
|
|
659
|
+
root: { borderRadius: "sm" },
|
|
660
|
+
image: { borderRadius: "sm" }
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
size: "lg",
|
|
665
|
+
variant: "square",
|
|
666
|
+
css: {
|
|
667
|
+
root: { borderRadius: "lg" },
|
|
668
|
+
image: { borderRadius: "lg" }
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
size: "xl",
|
|
673
|
+
variant: "square",
|
|
674
|
+
css: {
|
|
675
|
+
root: { borderRadius: "xl" },
|
|
676
|
+
image: { borderRadius: "xl" }
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
variantColor: "gray",
|
|
681
|
+
css: {
|
|
682
|
+
root: { color: "gray.600" }
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
],
|
|
686
|
+
defaultVariants: {
|
|
687
|
+
size: "md",
|
|
688
|
+
variant: "circle"
|
|
689
|
+
}
|
|
690
|
+
});
|
|
691
|
+
var avatarGroupSlotRecipe = (0, import_dev16.defineSlotRecipe)({
|
|
692
|
+
className: "avatar-group",
|
|
693
|
+
jsx: ["MpAvatarGroup", "mp-avatar-group"],
|
|
694
|
+
slots: ["root", "excess"],
|
|
695
|
+
base: {
|
|
696
|
+
root: {
|
|
697
|
+
display: "flex",
|
|
698
|
+
alignItems: "center",
|
|
699
|
+
zIndex: "0"
|
|
700
|
+
},
|
|
701
|
+
excess: {
|
|
702
|
+
marginLeft: "2",
|
|
703
|
+
color: "blue.400",
|
|
704
|
+
backgroundColor: "blue.50",
|
|
705
|
+
fontWeight: "semiBold",
|
|
706
|
+
display: "flex",
|
|
707
|
+
alignItems: "center",
|
|
708
|
+
justifyContent: "center",
|
|
709
|
+
borderRadius: "full",
|
|
710
|
+
userSelect: "none",
|
|
711
|
+
cursor: "var(--mp-avatar-group--cursor)"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
variants: {
|
|
715
|
+
size: {
|
|
716
|
+
sm: {
|
|
717
|
+
excess: { width: "6", height: "6", fontSize: "xs" }
|
|
718
|
+
},
|
|
719
|
+
md: {
|
|
720
|
+
excess: { width: "8", height: "8", fontSize: "sm" }
|
|
721
|
+
},
|
|
722
|
+
lg: {
|
|
723
|
+
excess: { width: "12", height: "12", fontSize: "lg" }
|
|
724
|
+
},
|
|
725
|
+
xl: {
|
|
726
|
+
excess: { width: "20", height: "20", fontSize: "2xl" }
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
compoundVariants: [],
|
|
731
|
+
defaultVariants: {}
|
|
732
|
+
});
|
|
733
|
+
|
|
734
|
+
// src/recipes/button.ts
|
|
735
|
+
var import_dev17 = require("@pandacss/dev");
|
|
736
|
+
var buttonRecipe = (0, import_dev17.defineRecipe)({
|
|
737
|
+
className: "button",
|
|
738
|
+
jsx: ["MpButton", "mp-button"],
|
|
739
|
+
base: {
|
|
740
|
+
position: "relative",
|
|
741
|
+
display: "inline-flex",
|
|
742
|
+
justifyContent: "center",
|
|
743
|
+
alignItems: "center",
|
|
744
|
+
alignSelf: "start",
|
|
745
|
+
gap: "2",
|
|
746
|
+
borderWidth: "1px",
|
|
747
|
+
whiteSpace: "nowrap",
|
|
748
|
+
userSelect: "none",
|
|
749
|
+
appearance: "none",
|
|
750
|
+
outline: "none",
|
|
751
|
+
cursor: "pointer",
|
|
752
|
+
transitionDuration: "250ms",
|
|
753
|
+
transitionProperty: "background, border-color, color, box-shadow",
|
|
754
|
+
transitionTimingFunction: "linear",
|
|
755
|
+
_loading: {
|
|
756
|
+
cursor: "wait",
|
|
757
|
+
position: "absolute",
|
|
758
|
+
display: "flex",
|
|
759
|
+
justifyContent: "center",
|
|
760
|
+
alignItems: "center",
|
|
761
|
+
width: "full",
|
|
762
|
+
height: "full"
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
variants: {
|
|
766
|
+
variant: {
|
|
767
|
+
primary: {
|
|
768
|
+
color: "white",
|
|
769
|
+
background: "blue.400",
|
|
770
|
+
borderColor: "blue.400",
|
|
771
|
+
_hover: {
|
|
772
|
+
background: "blue.500",
|
|
773
|
+
borderColor: "blue.500"
|
|
774
|
+
},
|
|
775
|
+
_active: {
|
|
776
|
+
background: "blue.700",
|
|
777
|
+
borderColor: "blue.700"
|
|
778
|
+
},
|
|
779
|
+
_loading: {
|
|
780
|
+
background: "blue.400"
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
secondary: {
|
|
784
|
+
color: "blue.400",
|
|
785
|
+
background: "white",
|
|
786
|
+
borderColor: "gray.100",
|
|
787
|
+
_hover: {
|
|
788
|
+
background: "gray.50",
|
|
789
|
+
borderColor: "gray.100"
|
|
790
|
+
},
|
|
791
|
+
_active: {
|
|
792
|
+
background: "blue.50",
|
|
793
|
+
borderColor: "blue.50"
|
|
794
|
+
},
|
|
795
|
+
_loading: {
|
|
796
|
+
background: "white"
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
ghost: {
|
|
800
|
+
color: "gray.600",
|
|
801
|
+
background: "white",
|
|
802
|
+
borderColor: "white",
|
|
803
|
+
_hover: {
|
|
804
|
+
background: "gray.50",
|
|
805
|
+
borderColor: "gray.50"
|
|
806
|
+
},
|
|
807
|
+
_active: {
|
|
808
|
+
background: "gray.100",
|
|
809
|
+
borderColor: "gray.100"
|
|
810
|
+
},
|
|
811
|
+
_loading: {
|
|
812
|
+
background: "white"
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
danger: {
|
|
816
|
+
color: "white",
|
|
817
|
+
background: "red.400",
|
|
818
|
+
borderColor: "red.400",
|
|
819
|
+
_hover: {
|
|
820
|
+
background: "red.500",
|
|
821
|
+
borderColor: "red.500"
|
|
822
|
+
},
|
|
823
|
+
_active: {
|
|
824
|
+
background: "red.700",
|
|
825
|
+
borderColor: "red.700"
|
|
826
|
+
},
|
|
827
|
+
_focusVisible: {
|
|
828
|
+
borderColor: "red.400",
|
|
829
|
+
boxShadow: "0 0 0 3px #FDECEE"
|
|
830
|
+
},
|
|
831
|
+
_loading: {
|
|
832
|
+
background: "red.400"
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
textLink: {
|
|
836
|
+
color: "blue.400",
|
|
837
|
+
background: "white",
|
|
838
|
+
borderColor: "white",
|
|
839
|
+
_hover: {
|
|
840
|
+
color: "blue.500"
|
|
841
|
+
},
|
|
842
|
+
_active: {
|
|
843
|
+
color: "blue.700"
|
|
844
|
+
},
|
|
845
|
+
_disabled: {
|
|
846
|
+
cursor: "not-allowed",
|
|
847
|
+
color: "gray.400"
|
|
848
|
+
},
|
|
849
|
+
_loading: {
|
|
850
|
+
background: "white"
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
size: {
|
|
855
|
+
sm: {
|
|
856
|
+
paddingX: "2",
|
|
857
|
+
paddingY: "1",
|
|
858
|
+
borderRadius: "sm",
|
|
859
|
+
textStyle: "label.md",
|
|
860
|
+
fontWeight: "regular",
|
|
861
|
+
_loading: {
|
|
862
|
+
borderRadius: "sm"
|
|
863
|
+
},
|
|
864
|
+
_hasIcon: {
|
|
865
|
+
padding: "1 !important"
|
|
866
|
+
}
|
|
867
|
+
},
|
|
868
|
+
md: {
|
|
869
|
+
paddingX: "4",
|
|
870
|
+
paddingY: "2",
|
|
871
|
+
borderRadius: "md",
|
|
872
|
+
textStyle: "label.md",
|
|
873
|
+
fontWeight: "semiBold",
|
|
874
|
+
_loading: {
|
|
875
|
+
borderRadius: "md"
|
|
876
|
+
},
|
|
877
|
+
_hasIcon: {
|
|
878
|
+
padding: "2 !important"
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
compoundVariants: [
|
|
884
|
+
{
|
|
885
|
+
variant: ["textLink"],
|
|
886
|
+
css: {
|
|
887
|
+
paddingX: "0",
|
|
888
|
+
paddingY: "0",
|
|
889
|
+
borderRadius: "sm",
|
|
890
|
+
_focusVisible: {
|
|
891
|
+
borderColor: "white",
|
|
892
|
+
boxShadow: "focus"
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
variant: ["ghost", "textLink"],
|
|
898
|
+
css: {
|
|
899
|
+
fontWeight: "regular"
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
variant: ["primary", "secondary", "ghost"],
|
|
904
|
+
css: {
|
|
905
|
+
_focusVisible: {
|
|
906
|
+
borderColor: "blue.400",
|
|
907
|
+
boxShadow: "focus"
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
variant: ["primary", "secondary", "ghost", "danger"],
|
|
913
|
+
css: {
|
|
914
|
+
_disabled: {
|
|
915
|
+
cursor: "not-allowed",
|
|
916
|
+
color: "gray.400",
|
|
917
|
+
background: "gray.50",
|
|
918
|
+
borderColor: "gray.50",
|
|
919
|
+
_hover: {
|
|
920
|
+
background: "gray.50",
|
|
921
|
+
borderColor: "gray.50"
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
],
|
|
927
|
+
defaultVariants: {
|
|
928
|
+
variant: "primary",
|
|
929
|
+
size: "md"
|
|
930
|
+
}
|
|
931
|
+
});
|
|
932
|
+
var buttonGroupRecipe = (0, import_dev17.defineRecipe)({
|
|
933
|
+
className: "pixel-button-group",
|
|
934
|
+
jsx: ["MpButtonGroup"],
|
|
935
|
+
base: {
|
|
936
|
+
display: "flex",
|
|
937
|
+
alignItems: "center",
|
|
938
|
+
gap: "var(--mp-button-group-spacing)",
|
|
939
|
+
"&[data-split-button=true]": {
|
|
940
|
+
gap: "0",
|
|
941
|
+
"& > [data-pixel-component=MpButton]": {
|
|
942
|
+
_first: {
|
|
943
|
+
borderTopRightRadius: "none !important",
|
|
944
|
+
borderBottomRightRadius: "none !important",
|
|
945
|
+
borderRight: "0 !important"
|
|
946
|
+
},
|
|
947
|
+
_last: {
|
|
948
|
+
borderTopLeftRadius: "none !important",
|
|
949
|
+
borderBottomLeftRadius: "none !important"
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
});
|
|
955
|
+
|
|
956
|
+
// src/recipes/input.ts
|
|
957
|
+
var import_dev18 = require("@pandacss/dev");
|
|
958
|
+
var inputSlotRecipe = (0, import_dev18.defineSlotRecipe)({
|
|
959
|
+
className: "input",
|
|
960
|
+
jsx: ["MpInput", "mp-input"],
|
|
961
|
+
slots: ["root", "control", "clear"],
|
|
962
|
+
base: {
|
|
963
|
+
root: {
|
|
964
|
+
position: "relative",
|
|
965
|
+
display: "flex",
|
|
966
|
+
alignItems: "center",
|
|
967
|
+
_isFullWidth: {
|
|
968
|
+
width: "full"
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
control: {
|
|
972
|
+
minWidth: "22",
|
|
973
|
+
fontWeight: "regular",
|
|
974
|
+
lineHeight: "md",
|
|
975
|
+
color: "dark",
|
|
976
|
+
position: "relative",
|
|
977
|
+
display: "flex",
|
|
978
|
+
alignItems: "center",
|
|
979
|
+
outline: "0",
|
|
980
|
+
borderWidth: "1px",
|
|
981
|
+
borderColor: "inherit",
|
|
982
|
+
borderRadius: "sm",
|
|
983
|
+
paddingRight: "var(--mp-input--padding-right)",
|
|
984
|
+
paddingLeft: "var(--mp-input--padding-left)",
|
|
985
|
+
appearance: "none",
|
|
986
|
+
transition: "all 250ms",
|
|
987
|
+
_isFullWidth: {
|
|
988
|
+
width: "full"
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
clear: {
|
|
992
|
+
position: "absolute!",
|
|
993
|
+
color: "gray.600",
|
|
994
|
+
border: "none",
|
|
995
|
+
top: "9px",
|
|
996
|
+
right: "var(--mp-input--right)",
|
|
997
|
+
width: "5",
|
|
998
|
+
height: "5",
|
|
999
|
+
minWidth: "5",
|
|
1000
|
+
padding: "0",
|
|
1001
|
+
transition: "all 250ms!",
|
|
1002
|
+
visibility: "hidden",
|
|
1003
|
+
opacity: "0",
|
|
1004
|
+
_groupHover: {
|
|
1005
|
+
visibility: "var(--mp-input--visibility)",
|
|
1006
|
+
opacity: "var(--mp-input--opacity)"
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
1010
|
+
variants: {
|
|
1011
|
+
variant: {
|
|
1012
|
+
unstyled: {
|
|
1013
|
+
control: {
|
|
1014
|
+
backgroundColor: "transparent",
|
|
1015
|
+
borderWidth: "0",
|
|
1016
|
+
borderRadius: "none"
|
|
1017
|
+
}
|
|
1018
|
+
},
|
|
1019
|
+
outline: {
|
|
1020
|
+
control: {
|
|
1021
|
+
backgroundColor: "white",
|
|
1022
|
+
borderColor: "gray.100",
|
|
1023
|
+
_hover: {
|
|
1024
|
+
borderColor: "gray.400"
|
|
1025
|
+
},
|
|
1026
|
+
_focus: {
|
|
1027
|
+
borderColor: "blue.500",
|
|
1028
|
+
boxShadow: "outer",
|
|
1029
|
+
_hover: {
|
|
1030
|
+
borderColor: "blue.500"
|
|
1031
|
+
},
|
|
1032
|
+
_invalid: {
|
|
1033
|
+
borderColor: "red.400"
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
_disabled: {
|
|
1037
|
+
color: "gray.400",
|
|
1038
|
+
backgroundColor: "gray.50",
|
|
1039
|
+
borderColor: "gray.100",
|
|
1040
|
+
cursor: "not-allowed"
|
|
1041
|
+
},
|
|
1042
|
+
_invalid: {
|
|
1043
|
+
borderColor: "red.400"
|
|
1044
|
+
},
|
|
1045
|
+
_readOnly: {
|
|
1046
|
+
boxShadow: "none",
|
|
1047
|
+
userSelect: "all"
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
size: {
|
|
1053
|
+
sm: {
|
|
1054
|
+
control: {
|
|
1055
|
+
height: "7.5",
|
|
1056
|
+
fontSize: "sm",
|
|
1057
|
+
borderRadius: "sm",
|
|
1058
|
+
paddingY: "1"
|
|
1059
|
+
}
|
|
1060
|
+
},
|
|
1061
|
+
md: {
|
|
1062
|
+
control: {
|
|
1063
|
+
height: "9.5",
|
|
1064
|
+
fontSize: "md",
|
|
1065
|
+
borderRadius: "md",
|
|
1066
|
+
paddingY: "2"
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
1071
|
+
compoundVariants: [],
|
|
1072
|
+
defaultVariants: {
|
|
1073
|
+
size: "md",
|
|
1074
|
+
variant: "outline"
|
|
1075
|
+
}
|
|
1076
|
+
});
|
|
1077
|
+
var inputGroupSlotRecipe = (0, import_dev18.defineSlotRecipe)({
|
|
1078
|
+
className: "input-group",
|
|
1079
|
+
jsx: ["MpInputGroup", "mp-input-group"],
|
|
1080
|
+
slots: ["root"],
|
|
1081
|
+
base: {
|
|
1082
|
+
root: {
|
|
1083
|
+
position: "relative",
|
|
1084
|
+
display: "inline-flex",
|
|
1085
|
+
alignItems: "center",
|
|
1086
|
+
width: "full"
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
variants: {},
|
|
1090
|
+
compoundVariants: [],
|
|
1091
|
+
defaultVariants: {}
|
|
1092
|
+
});
|
|
1093
|
+
var inputAddonSlotRecipe = (0, import_dev18.defineSlotRecipe)({
|
|
1094
|
+
className: "input-addon",
|
|
1095
|
+
jsx: ["MpInputAddon", "mp-input-addon"],
|
|
1096
|
+
slots: ["root"],
|
|
1097
|
+
base: {
|
|
1098
|
+
root: {
|
|
1099
|
+
position: "absolute",
|
|
1100
|
+
display: "flex",
|
|
1101
|
+
alignItems: "center",
|
|
1102
|
+
paddingX: "0",
|
|
1103
|
+
whiteSpace: "nowrap",
|
|
1104
|
+
zIndex: "2",
|
|
1105
|
+
_hasBackground: {
|
|
1106
|
+
backgroundColor: "gray.50"
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
variants: {
|
|
1111
|
+
placement: {
|
|
1112
|
+
left: {
|
|
1113
|
+
root: {
|
|
1114
|
+
left: "3",
|
|
1115
|
+
borderTopRightRadius: "none!",
|
|
1116
|
+
borderBottomRightRadius: "none!"
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
right: {
|
|
1120
|
+
root: {
|
|
1121
|
+
right: "3",
|
|
1122
|
+
borderTopLeftRadius: "none!",
|
|
1123
|
+
borderBottomLeftRadius: "none!"
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1127
|
+
size: {
|
|
1128
|
+
sm: {
|
|
1129
|
+
root: {
|
|
1130
|
+
height: "6.5",
|
|
1131
|
+
borderRadius: "2xs",
|
|
1132
|
+
_hasBackground: {
|
|
1133
|
+
_placementLeft: { left: "0.5" },
|
|
1134
|
+
_placementRight: { right: "0.5" }
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
md: {
|
|
1139
|
+
root: {
|
|
1140
|
+
height: "7.5",
|
|
1141
|
+
borderRadius: "sm",
|
|
1142
|
+
_hasBackground: {
|
|
1143
|
+
_placementLeft: { left: "1" },
|
|
1144
|
+
_placementRight: { right: "1" }
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
},
|
|
1150
|
+
compoundVariants: [],
|
|
1151
|
+
defaultVariants: {
|
|
1152
|
+
size: "md",
|
|
1153
|
+
placement: "left"
|
|
1154
|
+
}
|
|
1155
|
+
});
|
|
1156
|
+
|
|
1157
|
+
// src/recipes/select.ts
|
|
1158
|
+
var import_dev19 = require("@pandacss/dev");
|
|
1159
|
+
var selectSlotRecipe = (0, import_dev19.defineSlotRecipe)({
|
|
1160
|
+
className: "select",
|
|
1161
|
+
jsx: ["MpSelect", "mp-select"],
|
|
1162
|
+
slots: ["root", "control", "clear", "arrow"],
|
|
1163
|
+
base: {
|
|
1164
|
+
root: {
|
|
1165
|
+
position: "relative",
|
|
1166
|
+
display: "flex",
|
|
1167
|
+
alignItems: "center",
|
|
1168
|
+
_isFullWidth: {
|
|
1169
|
+
width: "full"
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
control: {
|
|
1173
|
+
minWidth: "22",
|
|
1174
|
+
fontWeight: "regular",
|
|
1175
|
+
lineHeight: "md",
|
|
1176
|
+
color: "var(--mp-select--color)",
|
|
1177
|
+
position: "relative",
|
|
1178
|
+
display: "flex",
|
|
1179
|
+
alignItems: "center",
|
|
1180
|
+
outline: "0",
|
|
1181
|
+
borderWidth: "1px",
|
|
1182
|
+
borderRadius: "sm",
|
|
1183
|
+
paddingLeft: "3",
|
|
1184
|
+
paddingRight: "var(--mp-select--padding-right)",
|
|
1185
|
+
appearance: "none",
|
|
1186
|
+
transition: "all 250ms",
|
|
1187
|
+
backgroundColor: "white",
|
|
1188
|
+
borderColor: "gray.100",
|
|
1189
|
+
_hover: {
|
|
1190
|
+
borderColor: "gray.400"
|
|
1191
|
+
},
|
|
1192
|
+
_focus: {
|
|
1193
|
+
borderColor: "blue.500",
|
|
1194
|
+
boxShadow: "outer",
|
|
1195
|
+
_hover: {
|
|
1196
|
+
borderColor: "blue.500"
|
|
1197
|
+
},
|
|
1198
|
+
_invalid: {
|
|
1199
|
+
borderColor: "red.400"
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
_disabled: {
|
|
1203
|
+
color: "gray.400",
|
|
1204
|
+
backgroundColor: "gray.50",
|
|
1205
|
+
borderColor: "gray.100",
|
|
1206
|
+
cursor: "not-allowed"
|
|
1207
|
+
},
|
|
1208
|
+
_invalid: {
|
|
1209
|
+
borderColor: "red.400"
|
|
1210
|
+
},
|
|
1211
|
+
_isFullWidth: {
|
|
1212
|
+
width: "full"
|
|
1213
|
+
}
|
|
1214
|
+
},
|
|
1215
|
+
clear: {
|
|
1216
|
+
position: "absolute!",
|
|
1217
|
+
color: "gray.600",
|
|
1218
|
+
border: "none",
|
|
1219
|
+
top: "9px",
|
|
1220
|
+
right: "40px",
|
|
1221
|
+
width: "5",
|
|
1222
|
+
height: "5",
|
|
1223
|
+
minWidth: "5",
|
|
1224
|
+
padding: "0",
|
|
1225
|
+
transition: "all 250ms!",
|
|
1226
|
+
visibility: "hidden",
|
|
1227
|
+
opacity: "0",
|
|
1228
|
+
_groupHover: {
|
|
1229
|
+
visibility: "var(--mp-select--visibility)",
|
|
1230
|
+
opacity: "var(--mp-select--opacity)"
|
|
1231
|
+
}
|
|
1232
|
+
},
|
|
1233
|
+
arrow: {
|
|
1234
|
+
position: "absolute!",
|
|
1235
|
+
display: "inline-flex",
|
|
1236
|
+
alignItems: "center",
|
|
1237
|
+
width: "6",
|
|
1238
|
+
height: "6",
|
|
1239
|
+
right: "2",
|
|
1240
|
+
whiteSpace: "nowrap",
|
|
1241
|
+
pointerEvents: "none"
|
|
1242
|
+
}
|
|
1243
|
+
},
|
|
1244
|
+
variants: {
|
|
1245
|
+
size: {
|
|
1246
|
+
sm: {
|
|
1247
|
+
control: {
|
|
1248
|
+
height: "7.5",
|
|
1249
|
+
fontSize: "sm",
|
|
1250
|
+
borderRadius: "sm",
|
|
1251
|
+
paddingY: "1"
|
|
1252
|
+
}
|
|
1253
|
+
},
|
|
1254
|
+
md: {
|
|
1255
|
+
control: {
|
|
1256
|
+
height: "9.5",
|
|
1257
|
+
fontSize: "md",
|
|
1258
|
+
borderRadius: "md",
|
|
1259
|
+
paddingY: "2"
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
},
|
|
1264
|
+
compoundVariants: [],
|
|
1265
|
+
defaultVariants: {
|
|
1266
|
+
size: "md"
|
|
1267
|
+
}
|
|
1268
|
+
});
|
|
1269
|
+
|
|
1270
|
+
// src/recipes/text.ts
|
|
1271
|
+
var import_dev20 = require("@pandacss/dev");
|
|
1272
|
+
var textRecipe = (0, import_dev20.defineRecipe)({
|
|
1273
|
+
className: "text",
|
|
1274
|
+
jsx: ["MpText", "mp-text"],
|
|
1275
|
+
base: {
|
|
1276
|
+
color: "var(--mp-text-color)",
|
|
1277
|
+
fontVariantNumeric: "lining-nums tabular-nums",
|
|
1278
|
+
"&[data-text-strike=true]": {
|
|
1279
|
+
textDecoration: "line-through"
|
|
1280
|
+
},
|
|
1281
|
+
"&[data-text-link=true]": {
|
|
1282
|
+
textDecoration: "underline"
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1285
|
+
variants: {
|
|
1286
|
+
size: {
|
|
1287
|
+
h1: {
|
|
1288
|
+
textStyle: "h1"
|
|
1289
|
+
},
|
|
1290
|
+
h2: {
|
|
1291
|
+
textStyle: "h2"
|
|
1292
|
+
},
|
|
1293
|
+
h3: {
|
|
1294
|
+
textStyle: "h3"
|
|
1295
|
+
},
|
|
1296
|
+
body: {
|
|
1297
|
+
textStyle: "body.md"
|
|
1298
|
+
},
|
|
1299
|
+
"body-small": {
|
|
1300
|
+
textStyle: "body.sm"
|
|
1301
|
+
},
|
|
1302
|
+
label: {
|
|
1303
|
+
textStyle: "label.md"
|
|
1304
|
+
},
|
|
1305
|
+
"label-small": {
|
|
1306
|
+
textStyle: "label.sm"
|
|
1307
|
+
},
|
|
1308
|
+
overline: {
|
|
1309
|
+
textStyle: "overline"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
weight: {
|
|
1313
|
+
regular: {
|
|
1314
|
+
fontWeight: "regular"
|
|
1315
|
+
},
|
|
1316
|
+
semiBold: {
|
|
1317
|
+
fontWeight: "semiBold"
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
},
|
|
1321
|
+
defaultVariants: {
|
|
1322
|
+
size: "label",
|
|
1323
|
+
weight: "regular"
|
|
1324
|
+
}
|
|
1325
|
+
});
|
|
1326
|
+
|
|
1327
|
+
// src/recipes/icon.ts
|
|
1328
|
+
var import_dev21 = require("@pandacss/dev");
|
|
1329
|
+
var iconRecipe = (0, import_dev21.defineRecipe)({
|
|
1330
|
+
className: "icon",
|
|
1331
|
+
jsx: ["MpIcon", "mp-icon"],
|
|
1332
|
+
base: {
|
|
1333
|
+
color: "var(--mp-icon-color)",
|
|
1334
|
+
display: "inline-block",
|
|
1335
|
+
verticalAlign: "middle",
|
|
1336
|
+
backfaceVisibility: "hidden",
|
|
1337
|
+
flexShrink: 0,
|
|
1338
|
+
"&:not(:root)": {
|
|
1339
|
+
overflow: "hidden"
|
|
1340
|
+
}
|
|
1341
|
+
},
|
|
1342
|
+
variants: {
|
|
1343
|
+
size: {
|
|
1344
|
+
sm: {
|
|
1345
|
+
width: "5",
|
|
1346
|
+
height: "5"
|
|
1347
|
+
},
|
|
1348
|
+
md: {
|
|
1349
|
+
width: "6",
|
|
1350
|
+
height: "6"
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
},
|
|
1354
|
+
defaultVariants: {
|
|
1355
|
+
size: "md"
|
|
1356
|
+
}
|
|
1357
|
+
});
|
|
1358
|
+
|
|
1359
|
+
// src/recipes/spinner.ts
|
|
1360
|
+
var import_dev22 = require("@pandacss/dev");
|
|
1361
|
+
var spinnerRecipe = (0, import_dev22.defineRecipe)({
|
|
1362
|
+
className: "spinner",
|
|
1363
|
+
jsx: ["MpSpinner", "mp-spinner"],
|
|
1364
|
+
base: {
|
|
1365
|
+
display: "inline-flex",
|
|
1366
|
+
animation: "0.45s linear 0s infinite normal none running spin"
|
|
1367
|
+
},
|
|
1368
|
+
variants: {
|
|
1369
|
+
size: {
|
|
1370
|
+
sm: {
|
|
1371
|
+
width: "5",
|
|
1372
|
+
height: "5"
|
|
1373
|
+
},
|
|
1374
|
+
md: {
|
|
1375
|
+
width: "6",
|
|
1376
|
+
height: "6"
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
defaultVariants: {
|
|
1381
|
+
size: "sm"
|
|
1382
|
+
}
|
|
1383
|
+
});
|
|
1384
|
+
|
|
1385
|
+
// src/recipes/accordion.ts
|
|
1386
|
+
var import_dev23 = require("@pandacss/dev");
|
|
1387
|
+
var accordion = (0, import_dev23.defineSlotRecipe)({
|
|
1388
|
+
className: "accordion",
|
|
1389
|
+
slots: ["root", "item", "trigger", "content"],
|
|
1390
|
+
base: {
|
|
1391
|
+
root: {
|
|
1392
|
+
divideY: "1px",
|
|
1393
|
+
width: "full"
|
|
1394
|
+
},
|
|
1395
|
+
trigger: {
|
|
1396
|
+
alignItems: "center",
|
|
1397
|
+
color: "fg.default",
|
|
1398
|
+
cursor: "pointer",
|
|
1399
|
+
display: "flex",
|
|
1400
|
+
fontWeight: "normal",
|
|
1401
|
+
justifyContent: "space-between",
|
|
1402
|
+
textStyle: "lg",
|
|
1403
|
+
width: "full",
|
|
1404
|
+
fontSize: "lg"
|
|
1405
|
+
},
|
|
1406
|
+
content: {
|
|
1407
|
+
color: "fg.muted",
|
|
1408
|
+
display: "grid",
|
|
1409
|
+
gridTemplateRows: "0fr",
|
|
1410
|
+
transitionProperty: "grid-template-rows, padding-bottom",
|
|
1411
|
+
transitionDuration: "normal",
|
|
1412
|
+
transitionTimingFunction: "default",
|
|
1413
|
+
_open: {
|
|
1414
|
+
gridTemplateRows: "1fr"
|
|
1415
|
+
},
|
|
1416
|
+
"& > div": {
|
|
1417
|
+
overflow: "hidden"
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
},
|
|
1421
|
+
defaultVariants: {
|
|
1422
|
+
size: "md"
|
|
1423
|
+
},
|
|
1424
|
+
variants: {
|
|
1425
|
+
size: {
|
|
1426
|
+
md: {
|
|
1427
|
+
trigger: {
|
|
1428
|
+
py: "4"
|
|
1429
|
+
},
|
|
1430
|
+
content: {
|
|
1431
|
+
pb: "6",
|
|
1432
|
+
pr: "8",
|
|
1433
|
+
_closed: {
|
|
1434
|
+
pb: "0"
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
});
|
|
1441
|
+
|
|
1442
|
+
// src/recipes/popover.ts
|
|
1443
|
+
var import_dev24 = require("@pandacss/dev");
|
|
1444
|
+
var popoverContentRecipe = (0, import_dev24.defineRecipe)({
|
|
1445
|
+
className: "popover",
|
|
1446
|
+
jsx: ["MpPopover", "mp-popover"],
|
|
1447
|
+
base: {},
|
|
1448
|
+
variants: {
|
|
1449
|
+
isUnstyled: {
|
|
1450
|
+
true: {},
|
|
1451
|
+
false: {
|
|
1452
|
+
rounded: "md",
|
|
1453
|
+
shadow: "lg",
|
|
1454
|
+
borderWidth: "1px",
|
|
1455
|
+
borderColor: "gray.400",
|
|
1456
|
+
zIndex: "popover"
|
|
1457
|
+
}
|
|
1458
|
+
},
|
|
1459
|
+
isDark: {
|
|
1460
|
+
true: {
|
|
1461
|
+
background: "overlay",
|
|
1462
|
+
color: "white"
|
|
1463
|
+
},
|
|
1464
|
+
false: {
|
|
1465
|
+
background: "white"
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
},
|
|
1469
|
+
defaultVariants: {
|
|
1470
|
+
isDark: false,
|
|
1471
|
+
isUnstyled: false
|
|
1472
|
+
}
|
|
1473
|
+
});
|
|
1474
|
+
var popoverListRecipe = (0, import_dev24.defineRecipe)({
|
|
1475
|
+
className: "popover-list",
|
|
1476
|
+
jsx: ["MpPopoverList", "mp-popover-list"],
|
|
1477
|
+
base: {
|
|
1478
|
+
pt: 3,
|
|
1479
|
+
pb: 2,
|
|
1480
|
+
alignItems: "center",
|
|
1481
|
+
display: "flex",
|
|
1482
|
+
flexDirection: "column"
|
|
1483
|
+
}
|
|
1484
|
+
});
|
|
1485
|
+
var popoverListItemRecipe = (0, import_dev24.defineRecipe)({
|
|
1486
|
+
className: "popover-list-item",
|
|
1487
|
+
jsx: ["MpPopoverListItem", "mp-popover-list-item"],
|
|
1488
|
+
base: {
|
|
1489
|
+
px: 3,
|
|
1490
|
+
py: 2,
|
|
1491
|
+
width: "full",
|
|
1492
|
+
textDecoration: "none",
|
|
1493
|
+
alignItems: "center",
|
|
1494
|
+
textAlign: "left",
|
|
1495
|
+
outline: "none",
|
|
1496
|
+
fontSize: "md",
|
|
1497
|
+
flex: " 0 0 auto",
|
|
1498
|
+
userSelect: "none",
|
|
1499
|
+
cursor: "pointer",
|
|
1500
|
+
color: "dark",
|
|
1501
|
+
_disabled: {
|
|
1502
|
+
color: "gray.400",
|
|
1503
|
+
bg: "white",
|
|
1504
|
+
cursor: "not-allowed"
|
|
1505
|
+
},
|
|
1506
|
+
_highlight: {
|
|
1507
|
+
background: "white",
|
|
1508
|
+
bg: "gray.50",
|
|
1509
|
+
color: "dark",
|
|
1510
|
+
outline: 0
|
|
1511
|
+
},
|
|
1512
|
+
_active: {
|
|
1513
|
+
background: "ice.50",
|
|
1514
|
+
bg: "ice.50",
|
|
1515
|
+
color: "dark",
|
|
1516
|
+
outline: 0
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
});
|
|
1520
|
+
|
|
1521
|
+
// src/recipes/badge.ts
|
|
1522
|
+
var import_dev25 = require("@pandacss/dev");
|
|
1523
|
+
var badgeRecipe = (0, import_dev25.defineRecipe)({
|
|
1524
|
+
className: "badge",
|
|
1525
|
+
jsx: ["MpBadge", "mp-badge"],
|
|
1526
|
+
base: {
|
|
1527
|
+
display: "inline-flex",
|
|
1528
|
+
alignItems: "center",
|
|
1529
|
+
borderRadius: "999px"
|
|
1530
|
+
},
|
|
1531
|
+
variants: {
|
|
1532
|
+
variant: {
|
|
1533
|
+
solid: {
|
|
1534
|
+
color: "white"
|
|
1535
|
+
},
|
|
1536
|
+
subtle: {}
|
|
1537
|
+
},
|
|
1538
|
+
variantColor: {
|
|
1539
|
+
blue: {},
|
|
1540
|
+
green: {},
|
|
1541
|
+
orange: {},
|
|
1542
|
+
red: {},
|
|
1543
|
+
gray: {}
|
|
1544
|
+
},
|
|
1545
|
+
size: {
|
|
1546
|
+
sm: {
|
|
1547
|
+
fontSize: "xs",
|
|
1548
|
+
fontWeight: "semibold",
|
|
1549
|
+
lineHeight: "1sm",
|
|
1550
|
+
letterSpacing: "normal",
|
|
1551
|
+
height: "4"
|
|
1552
|
+
},
|
|
1553
|
+
md: {
|
|
1554
|
+
fontSize: "md",
|
|
1555
|
+
fontWeight: "regular",
|
|
1556
|
+
lineHeight: "md",
|
|
1557
|
+
letterSpacing: "normal",
|
|
1558
|
+
height: "5"
|
|
1559
|
+
}
|
|
1560
|
+
}
|
|
1561
|
+
},
|
|
1562
|
+
compoundVariants: [
|
|
1563
|
+
// Size
|
|
1564
|
+
{
|
|
1565
|
+
variant: "solid",
|
|
1566
|
+
size: "md",
|
|
1567
|
+
css: {
|
|
1568
|
+
paddingX: "1.5",
|
|
1569
|
+
paddingY: "0.5"
|
|
1570
|
+
}
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
variant: "solid",
|
|
1574
|
+
size: "sm",
|
|
1575
|
+
css: {
|
|
1576
|
+
paddingX: "1",
|
|
1577
|
+
paddingY: "0.5"
|
|
1578
|
+
}
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
variant: "subtle",
|
|
1582
|
+
size: "md",
|
|
1583
|
+
css: {
|
|
1584
|
+
paddingX: "2",
|
|
1585
|
+
paddingY: "0"
|
|
1586
|
+
}
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
variant: "subtle",
|
|
1590
|
+
size: "sm",
|
|
1591
|
+
css: {
|
|
1592
|
+
paddingX: "1",
|
|
1593
|
+
paddingY: "0"
|
|
1594
|
+
}
|
|
1595
|
+
},
|
|
1596
|
+
// Solid
|
|
1597
|
+
{
|
|
1598
|
+
variant: "solid",
|
|
1599
|
+
variantColor: "blue",
|
|
1600
|
+
css: {
|
|
1601
|
+
backgroundColor: "sky.400"
|
|
1602
|
+
}
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
variant: "solid",
|
|
1606
|
+
variantColor: "green",
|
|
1607
|
+
css: {
|
|
1608
|
+
backgroundColor: "teal.400"
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
variant: "solid",
|
|
1613
|
+
variantColor: "orange",
|
|
1614
|
+
css: {
|
|
1615
|
+
backgroundColor: "amber.400"
|
|
1616
|
+
}
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
variant: "solid",
|
|
1620
|
+
variantColor: "red",
|
|
1621
|
+
css: {
|
|
1622
|
+
backgroundColor: "rose.400"
|
|
1623
|
+
}
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
variant: "solid",
|
|
1627
|
+
variantColor: "gray",
|
|
1628
|
+
css: {
|
|
1629
|
+
backgroundColor: "stone.400"
|
|
1630
|
+
}
|
|
1631
|
+
},
|
|
1632
|
+
// Subtle
|
|
1633
|
+
{
|
|
1634
|
+
variant: ["subtle"],
|
|
1635
|
+
variantColor: "blue",
|
|
1636
|
+
css: {
|
|
1637
|
+
backgroundColor: "blue.50",
|
|
1638
|
+
color: "blue.700"
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
variant: ["subtle"],
|
|
1643
|
+
variantColor: "green",
|
|
1644
|
+
css: {
|
|
1645
|
+
backgroundColor: "green.50",
|
|
1646
|
+
color: "green.700"
|
|
1647
|
+
}
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
variant: ["subtle"],
|
|
1651
|
+
variantColor: "orange",
|
|
1652
|
+
css: {
|
|
1653
|
+
backgroundColor: "orange.50",
|
|
1654
|
+
color: "orange.700"
|
|
1655
|
+
}
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
variant: ["subtle"],
|
|
1659
|
+
variantColor: "red",
|
|
1660
|
+
css: {
|
|
1661
|
+
backgroundColor: "red.50",
|
|
1662
|
+
color: "red.700"
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
variant: ["subtle"],
|
|
1667
|
+
variantColor: "gray",
|
|
1668
|
+
css: {
|
|
1669
|
+
backgroundColor: "gray.50",
|
|
1670
|
+
color: "black"
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
],
|
|
1674
|
+
defaultVariants: {
|
|
1675
|
+
variant: "solid",
|
|
1676
|
+
size: "md",
|
|
1677
|
+
variantColor: "blue"
|
|
1678
|
+
}
|
|
1679
|
+
});
|
|
1680
|
+
|
|
1681
|
+
// src/recipes/textarea.ts
|
|
1682
|
+
var import_dev26 = require("@pandacss/dev");
|
|
1683
|
+
var textareaRecipe = (0, import_dev26.defineRecipe)({
|
|
1684
|
+
className: "textarea",
|
|
1685
|
+
jsx: ["MpTextarea", "mp-textarea"],
|
|
1686
|
+
base: {
|
|
1687
|
+
position: "relative",
|
|
1688
|
+
display: "flex",
|
|
1689
|
+
alignItems: "center",
|
|
1690
|
+
outline: "0",
|
|
1691
|
+
borderWidth: "1px",
|
|
1692
|
+
borderColor: "gray.100",
|
|
1693
|
+
borderRadius: "md",
|
|
1694
|
+
color: "dark",
|
|
1695
|
+
backgroundColor: "white",
|
|
1696
|
+
appearance: "none",
|
|
1697
|
+
transition: "all 250ms",
|
|
1698
|
+
minWidth: "65",
|
|
1699
|
+
minHeight: "20",
|
|
1700
|
+
fontSize: "md",
|
|
1701
|
+
fontWeight: "regular",
|
|
1702
|
+
lineHeight: "md",
|
|
1703
|
+
paddingX: "3",
|
|
1704
|
+
paddingTop: "2",
|
|
1705
|
+
paddingBottom: "5",
|
|
1706
|
+
resize: "both",
|
|
1707
|
+
_hover: {
|
|
1708
|
+
borderColor: "gray.400"
|
|
1709
|
+
},
|
|
1710
|
+
_focus: {
|
|
1711
|
+
borderColor: "blue.500",
|
|
1712
|
+
boxShadow: "outer",
|
|
1713
|
+
_hover: {
|
|
1714
|
+
borderColor: "blue.500"
|
|
1715
|
+
}
|
|
1716
|
+
},
|
|
1717
|
+
_disabled: {
|
|
1718
|
+
color: "gray.400",
|
|
1719
|
+
backgroundColor: "gray.50",
|
|
1720
|
+
borderColor: "gray.100",
|
|
1721
|
+
cursor: "not-allowed"
|
|
1722
|
+
},
|
|
1723
|
+
_invalid: {
|
|
1724
|
+
borderColor: "red.400"
|
|
1725
|
+
},
|
|
1726
|
+
_readOnly: {
|
|
1727
|
+
boxShadow: "none",
|
|
1728
|
+
userSelect: "all"
|
|
1729
|
+
}
|
|
1730
|
+
},
|
|
1731
|
+
variants: {
|
|
1732
|
+
isFullWidth: {
|
|
1733
|
+
true: {
|
|
1734
|
+
width: "100%"
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
});
|
|
1739
|
+
|
|
1740
|
+
// src/recipes/tooltip.ts
|
|
1741
|
+
var import_dev27 = require("@pandacss/dev");
|
|
1742
|
+
var tooltipRecipe = (0, import_dev27.defineRecipe)({
|
|
1743
|
+
className: "tooltip",
|
|
1744
|
+
jsx: ["MpTooltip", "mp-tooltip"],
|
|
1745
|
+
base: {
|
|
1746
|
+
px: "2",
|
|
1747
|
+
py: "1",
|
|
1748
|
+
borderRadius: "sm",
|
|
1749
|
+
fontWeight: "regular",
|
|
1750
|
+
pointerEvents: "none",
|
|
1751
|
+
fontSize: "sm",
|
|
1752
|
+
shadow: "md",
|
|
1753
|
+
maxW: "300px",
|
|
1754
|
+
zIndex: "tooltip",
|
|
1755
|
+
boxShadow: "sm",
|
|
1756
|
+
bg: "overlay",
|
|
1757
|
+
color: "white",
|
|
1758
|
+
whiteSpace: "normal",
|
|
1759
|
+
overflowWrap: "break-word"
|
|
1760
|
+
}
|
|
1761
|
+
});
|
|
1762
|
+
|
|
1763
|
+
// src/recipes/tabs.ts
|
|
1764
|
+
var import_dev28 = require("@pandacss/dev");
|
|
1765
|
+
var tabListRecipe = (0, import_dev28.defineRecipe)({
|
|
1766
|
+
className: "tab-list",
|
|
1767
|
+
jsx: ["MpTabList", "mp-tab-list"],
|
|
1768
|
+
base: {
|
|
1769
|
+
display: "flex",
|
|
1770
|
+
overflow: "auto",
|
|
1771
|
+
gap: "1.5rem",
|
|
1772
|
+
fontSize: "md",
|
|
1773
|
+
color: "gray.600",
|
|
1774
|
+
marginBottom: 6,
|
|
1775
|
+
padding: 0.5,
|
|
1776
|
+
alignItems: "center",
|
|
1777
|
+
justifyContent: "flex-start",
|
|
1778
|
+
maxWidth: "full"
|
|
1779
|
+
}
|
|
1780
|
+
});
|
|
1781
|
+
var tabRecipe = (0, import_dev28.defineRecipe)({
|
|
1782
|
+
className: "tab",
|
|
1783
|
+
jsx: ["MpTab", "mp-tab"],
|
|
1784
|
+
base: {
|
|
1785
|
+
display: "flex",
|
|
1786
|
+
cursor: "pointer",
|
|
1787
|
+
alignItems: "center",
|
|
1788
|
+
justifyContent: "center",
|
|
1789
|
+
transition: "all 0.2s",
|
|
1790
|
+
position: "relative",
|
|
1791
|
+
mb: "1px",
|
|
1792
|
+
pt: "3",
|
|
1793
|
+
pb: "4",
|
|
1794
|
+
px: "1",
|
|
1795
|
+
color: "gray.600",
|
|
1796
|
+
_hover: {
|
|
1797
|
+
color: "dark"
|
|
1798
|
+
},
|
|
1799
|
+
_disabled: {
|
|
1800
|
+
opacity: 0.4,
|
|
1801
|
+
cursor: "not-allowed"
|
|
1802
|
+
},
|
|
1803
|
+
_focus: {
|
|
1804
|
+
shadow: "0 0 0 2px #E0EEFF",
|
|
1805
|
+
borderRadius: "sm"
|
|
1806
|
+
}
|
|
1807
|
+
},
|
|
1808
|
+
variants: {
|
|
1809
|
+
variantColor: {
|
|
1810
|
+
blue: {},
|
|
1811
|
+
green: {},
|
|
1812
|
+
orange: {},
|
|
1813
|
+
red: {},
|
|
1814
|
+
gray: {}
|
|
1815
|
+
},
|
|
1816
|
+
isSelected: {
|
|
1817
|
+
true: {}
|
|
1818
|
+
}
|
|
1819
|
+
},
|
|
1820
|
+
compoundVariants: [
|
|
1821
|
+
{
|
|
1822
|
+
variantColor: "blue",
|
|
1823
|
+
isSelected: true,
|
|
1824
|
+
css: {
|
|
1825
|
+
color: "blue.400",
|
|
1826
|
+
_hover: {
|
|
1827
|
+
color: "blue.500"
|
|
1828
|
+
}
|
|
1829
|
+
}
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
variantColor: "green",
|
|
1833
|
+
isSelected: true,
|
|
1834
|
+
css: {
|
|
1835
|
+
color: "green.400",
|
|
1836
|
+
_hover: {
|
|
1837
|
+
color: "green.500"
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
variantColor: "orange",
|
|
1843
|
+
isSelected: true,
|
|
1844
|
+
css: {
|
|
1845
|
+
color: "orange.400",
|
|
1846
|
+
_hover: {
|
|
1847
|
+
color: "orange.500"
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
variantColor: "red",
|
|
1853
|
+
isSelected: true,
|
|
1854
|
+
css: {
|
|
1855
|
+
color: "red.400",
|
|
1856
|
+
_hover: {
|
|
1857
|
+
color: "red.500"
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
},
|
|
1861
|
+
{
|
|
1862
|
+
variantColor: "gray",
|
|
1863
|
+
isSelected: true,
|
|
1864
|
+
css: {
|
|
1865
|
+
color: "gray.400",
|
|
1866
|
+
_hover: {
|
|
1867
|
+
color: "gray.500"
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
}
|
|
1871
|
+
],
|
|
1872
|
+
defaultVariants: {
|
|
1873
|
+
variantColor: "blue",
|
|
1874
|
+
isSelected: false
|
|
1875
|
+
}
|
|
1876
|
+
});
|
|
1877
|
+
var selectedBorderRecipe = (0, import_dev28.defineRecipe)({
|
|
1878
|
+
className: "selected-border",
|
|
1879
|
+
jsx: ["MpSelectedBorder", "mp-selected-border"],
|
|
1880
|
+
base: {
|
|
1881
|
+
position: "absolute",
|
|
1882
|
+
bottom: "-2px",
|
|
1883
|
+
width: "calc(100% - 8px)",
|
|
1884
|
+
height: "0.5"
|
|
1885
|
+
},
|
|
1886
|
+
variants: {
|
|
1887
|
+
variantColor: {
|
|
1888
|
+
blue: {},
|
|
1889
|
+
green: {},
|
|
1890
|
+
orange: {},
|
|
1891
|
+
red: {},
|
|
1892
|
+
gray: {}
|
|
1893
|
+
},
|
|
1894
|
+
isSelected: {
|
|
1895
|
+
false: {
|
|
1896
|
+
background: "transparent",
|
|
1897
|
+
_groupHover: {
|
|
1898
|
+
background: "gray.400"
|
|
1899
|
+
}
|
|
1900
|
+
},
|
|
1901
|
+
true: {}
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
compoundVariants: [
|
|
1905
|
+
{
|
|
1906
|
+
variantColor: "blue",
|
|
1907
|
+
isSelected: true,
|
|
1908
|
+
css: {
|
|
1909
|
+
background: "blue.400",
|
|
1910
|
+
_groupHover: {
|
|
1911
|
+
background: "blue.500"
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
variantColor: "green",
|
|
1917
|
+
isSelected: true,
|
|
1918
|
+
css: {
|
|
1919
|
+
background: "green.400",
|
|
1920
|
+
_groupHover: {
|
|
1921
|
+
background: "green.500"
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
variantColor: "orange",
|
|
1927
|
+
isSelected: true,
|
|
1928
|
+
css: {
|
|
1929
|
+
background: "orange.400",
|
|
1930
|
+
_groupHover: {
|
|
1931
|
+
background: "orange.500"
|
|
1932
|
+
}
|
|
1933
|
+
}
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
variantColor: "red",
|
|
1937
|
+
isSelected: true,
|
|
1938
|
+
css: {
|
|
1939
|
+
background: "red.400",
|
|
1940
|
+
_groupHover: {
|
|
1941
|
+
background: "red.500"
|
|
1942
|
+
}
|
|
1943
|
+
}
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
variantColor: "gray",
|
|
1947
|
+
isSelected: true,
|
|
1948
|
+
css: {
|
|
1949
|
+
background: "gray.400",
|
|
1950
|
+
_groupHover: {
|
|
1951
|
+
background: "gray.500"
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
],
|
|
1956
|
+
defaultVariants: {
|
|
1957
|
+
variantColor: "blue",
|
|
1958
|
+
isSelected: false
|
|
1959
|
+
}
|
|
1960
|
+
});
|
|
1961
|
+
|
|
1962
|
+
// src/recipes/checkbox.ts
|
|
1963
|
+
var import_dev29 = require("@pandacss/dev");
|
|
1964
|
+
var checkboxSlotRecipe = (0, import_dev29.defineSlotRecipe)({
|
|
1965
|
+
className: "checkbox",
|
|
1966
|
+
jsx: ["MpCheckbox", "mp-checkbox"],
|
|
1967
|
+
slots: ["root", "control", "label"],
|
|
1968
|
+
base: {
|
|
1969
|
+
root: {
|
|
1970
|
+
position: "relative",
|
|
1971
|
+
display: "inline-flex",
|
|
1972
|
+
alignItems: "center",
|
|
1973
|
+
justifyContent: "center",
|
|
1974
|
+
gap: "2",
|
|
1975
|
+
cursor: "pointer",
|
|
1976
|
+
outline: "none",
|
|
1977
|
+
"&[data-has-description=true]": {
|
|
1978
|
+
alignItems: "flex-start",
|
|
1979
|
+
"& .mp-checkbox__control": {
|
|
1980
|
+
marginTop: "1"
|
|
1981
|
+
}
|
|
1982
|
+
},
|
|
1983
|
+
"& .mp-shared__hidden": {
|
|
1984
|
+
"&:focus + .mp-checkbox__control": {
|
|
1985
|
+
borderColor: "blue.400",
|
|
1986
|
+
boxShadow: "focus"
|
|
1987
|
+
}
|
|
1988
|
+
},
|
|
1989
|
+
_hover: {
|
|
1990
|
+
"& .mp-checkbox__control": {
|
|
1991
|
+
borderColor: "gray.400"
|
|
1992
|
+
}
|
|
1993
|
+
},
|
|
1994
|
+
_disabled: {
|
|
1995
|
+
cursor: "not-allowed",
|
|
1996
|
+
"& .mp-checkbox__control": {
|
|
1997
|
+
borderColor: "gray.100 !important",
|
|
1998
|
+
background: "gray.50 !important",
|
|
1999
|
+
boxShadow: "none !important"
|
|
2000
|
+
}
|
|
2001
|
+
},
|
|
2002
|
+
_invalid: {
|
|
2003
|
+
"& .mp-checkbox__control": {
|
|
2004
|
+
borderColor: "red.400",
|
|
2005
|
+
background: "white"
|
|
2006
|
+
}
|
|
2007
|
+
},
|
|
2008
|
+
_checked: {
|
|
2009
|
+
"& .mp-checkbox__control": {
|
|
2010
|
+
borderColor: "blue.400",
|
|
2011
|
+
background: "blue.400"
|
|
2012
|
+
},
|
|
2013
|
+
_hover: {
|
|
2014
|
+
"& .mp-checkbox__control": {
|
|
2015
|
+
borderColor: "blue.400"
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
},
|
|
2019
|
+
_indeterminate: {
|
|
2020
|
+
"& .mp-checkbox__control": {
|
|
2021
|
+
borderColor: "blue.400",
|
|
2022
|
+
background: "blue.400"
|
|
2023
|
+
},
|
|
2024
|
+
_hover: {
|
|
2025
|
+
"& .mp-checkbox__control": {
|
|
2026
|
+
borderColor: "blue.400"
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
2030
|
+
},
|
|
2031
|
+
control: {
|
|
2032
|
+
flex: "none",
|
|
2033
|
+
transitionDuration: "250ms",
|
|
2034
|
+
transitionProperty: "background, border-color, box-shadow",
|
|
2035
|
+
transitionTimingFunction: "linear",
|
|
2036
|
+
position: "relative",
|
|
2037
|
+
display: "inline-flex",
|
|
2038
|
+
alignItems: "center",
|
|
2039
|
+
justifyContent: "center",
|
|
2040
|
+
width: "18px",
|
|
2041
|
+
height: "18px",
|
|
2042
|
+
borderWidth: "2px",
|
|
2043
|
+
borderColor: "gray.100",
|
|
2044
|
+
borderRadius: "md",
|
|
2045
|
+
background: "white"
|
|
2046
|
+
},
|
|
2047
|
+
label: {
|
|
2048
|
+
background: "transparent"
|
|
2049
|
+
}
|
|
2050
|
+
}
|
|
2051
|
+
});
|
|
2052
|
+
|
|
2053
|
+
// src/recipes/radio.ts
|
|
2054
|
+
var import_dev30 = require("@pandacss/dev");
|
|
2055
|
+
var radioSlotRecipe = (0, import_dev30.defineSlotRecipe)({
|
|
2056
|
+
className: "radio",
|
|
2057
|
+
jsx: ["MpRadio", "mp-radio"],
|
|
2058
|
+
slots: ["root", "control", "label"],
|
|
2059
|
+
base: {
|
|
2060
|
+
root: {
|
|
2061
|
+
position: "relative",
|
|
2062
|
+
display: "inline-flex",
|
|
2063
|
+
alignItems: "center",
|
|
2064
|
+
justifyContent: "center",
|
|
2065
|
+
gap: "2",
|
|
2066
|
+
cursor: "pointer",
|
|
2067
|
+
outline: "none",
|
|
2068
|
+
"&[data-has-description=true]": {
|
|
2069
|
+
alignItems: "flex-start",
|
|
2070
|
+
"& .mp-radio__control": {
|
|
2071
|
+
marginTop: "1"
|
|
2072
|
+
}
|
|
2073
|
+
},
|
|
2074
|
+
"& .mp-shared__hidden": {
|
|
2075
|
+
"&:focus + .mp-radio__control": {
|
|
2076
|
+
borderColor: "blue.400",
|
|
2077
|
+
boxShadow: "focus"
|
|
2078
|
+
}
|
|
2079
|
+
},
|
|
2080
|
+
_hover: {
|
|
2081
|
+
"& .mp-radio__control": {
|
|
2082
|
+
borderColor: "gray.400"
|
|
2083
|
+
}
|
|
2084
|
+
},
|
|
2085
|
+
_disabled: {
|
|
2086
|
+
cursor: "not-allowed",
|
|
2087
|
+
"& .mp-radio__control": {
|
|
2088
|
+
borderColor: "gray.100 !important",
|
|
2089
|
+
background: "gray.50 !important",
|
|
2090
|
+
boxShadow: "none !important",
|
|
2091
|
+
"& div": {
|
|
2092
|
+
background: "gray.400"
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
},
|
|
2096
|
+
_invalid: {
|
|
2097
|
+
"& .mp-radio__control": {
|
|
2098
|
+
borderColor: "red.400",
|
|
2099
|
+
background: "white"
|
|
2100
|
+
}
|
|
2101
|
+
},
|
|
2102
|
+
_checked: {
|
|
2103
|
+
"& .mp-radio__control": {
|
|
2104
|
+
borderColor: "blue.400",
|
|
2105
|
+
background: "blue.400"
|
|
2106
|
+
},
|
|
2107
|
+
_hover: {
|
|
2108
|
+
"& .mp-radio__control": {
|
|
2109
|
+
borderColor: "blue.400"
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
},
|
|
2113
|
+
_indeterminate: {
|
|
2114
|
+
"& .mp-radio__control": {
|
|
2115
|
+
borderColor: "blue.400",
|
|
2116
|
+
background: "blue.400"
|
|
2117
|
+
},
|
|
2118
|
+
_hover: {
|
|
2119
|
+
"& .mp-radio__control": {
|
|
2120
|
+
borderColor: "blue.400"
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
}
|
|
2124
|
+
},
|
|
2125
|
+
control: {
|
|
2126
|
+
flex: "none",
|
|
2127
|
+
transitionDuration: "250ms",
|
|
2128
|
+
transitionProperty: "background, border-color, box-shadow",
|
|
2129
|
+
transitionTimingFunction: "linear",
|
|
2130
|
+
position: "relative",
|
|
2131
|
+
display: "inline-flex",
|
|
2132
|
+
alignItems: "center",
|
|
2133
|
+
justifyContent: "center",
|
|
2134
|
+
width: "18px",
|
|
2135
|
+
height: "18px",
|
|
2136
|
+
borderWidth: "2px",
|
|
2137
|
+
borderColor: "gray.100",
|
|
2138
|
+
borderRadius: "full",
|
|
2139
|
+
background: "white",
|
|
2140
|
+
"& div": {
|
|
2141
|
+
width: "2.5",
|
|
2142
|
+
height: "2.5",
|
|
2143
|
+
background: "white",
|
|
2144
|
+
borderRadius: "full"
|
|
2145
|
+
}
|
|
2146
|
+
},
|
|
2147
|
+
label: {
|
|
2148
|
+
background: "transparent"
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
});
|
|
2152
|
+
|
|
2153
|
+
// src/recipes/shared.ts
|
|
2154
|
+
var import_dev31 = require("@pandacss/dev");
|
|
2155
|
+
var sharedSlotRecipe = (0, import_dev31.defineSlotRecipe)({
|
|
2156
|
+
className: "shared",
|
|
2157
|
+
jsx: ["MpCheckbox", "mp-checkbox", "MpRadio", "mp-radio"],
|
|
2158
|
+
slots: ["hidden"],
|
|
2159
|
+
base: {
|
|
2160
|
+
hidden: {
|
|
2161
|
+
clip: "rect(0px, 0px, 0px, 0px)",
|
|
2162
|
+
height: "1px",
|
|
2163
|
+
width: "1px",
|
|
2164
|
+
overflow: "hidden",
|
|
2165
|
+
whiteSpace: "nowrap",
|
|
2166
|
+
position: "absolute"
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
});
|
|
2170
|
+
|
|
2171
|
+
// src/recipes/toggle.ts
|
|
2172
|
+
var import_dev32 = require("@pandacss/dev");
|
|
2173
|
+
var toggleSlotRecipe = (0, import_dev32.defineSlotRecipe)({
|
|
2174
|
+
className: "toggle",
|
|
2175
|
+
jsx: ["MpToggle", "mp-toggle"],
|
|
2176
|
+
slots: ["root", "control", "label"],
|
|
2177
|
+
base: {
|
|
2178
|
+
root: {
|
|
2179
|
+
position: "relative",
|
|
2180
|
+
display: "inline-flex",
|
|
2181
|
+
alignItems: "center",
|
|
2182
|
+
justifyContent: "center",
|
|
2183
|
+
gap: "3",
|
|
2184
|
+
cursor: "pointer",
|
|
2185
|
+
outline: "none",
|
|
2186
|
+
"&[data-has-description=true]": {
|
|
2187
|
+
alignItems: "flex-start",
|
|
2188
|
+
"& .mp-toggle__control": {
|
|
2189
|
+
marginTop: "1"
|
|
2190
|
+
}
|
|
2191
|
+
},
|
|
2192
|
+
"& .mp-shared__hidden": {
|
|
2193
|
+
"&:focus + .mp-toggle__control": {
|
|
2194
|
+
borderColor: "blue.400",
|
|
2195
|
+
boxShadow: "focus"
|
|
2196
|
+
}
|
|
2197
|
+
},
|
|
2198
|
+
_hover: {
|
|
2199
|
+
"& .mp-toggle__control": {
|
|
2200
|
+
borderColor: "gray.400",
|
|
2201
|
+
background: "gray.400"
|
|
2202
|
+
}
|
|
2203
|
+
},
|
|
2204
|
+
_disabled: {
|
|
2205
|
+
cursor: "not-allowed",
|
|
2206
|
+
"& .mp-toggle__control": {
|
|
2207
|
+
borderColor: "gray.100 !important",
|
|
2208
|
+
background: "gray.50 !important",
|
|
2209
|
+
boxShadow: "none !important",
|
|
2210
|
+
"& div": {
|
|
2211
|
+
background: "gray.100"
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
},
|
|
2215
|
+
_invalid: {
|
|
2216
|
+
"& .mp-toggle__control": {
|
|
2217
|
+
borderColor: "red.400",
|
|
2218
|
+
background: "red.400"
|
|
2219
|
+
}
|
|
2220
|
+
},
|
|
2221
|
+
_checked: {
|
|
2222
|
+
"& .mp-toggle__control": {
|
|
2223
|
+
borderColor: "blue.400",
|
|
2224
|
+
background: "blue.400",
|
|
2225
|
+
"& div": {
|
|
2226
|
+
transform: "translateX(var(--mp-sizes-3))"
|
|
2227
|
+
}
|
|
2228
|
+
},
|
|
2229
|
+
_hover: {
|
|
2230
|
+
"& .mp-toggle__control": {
|
|
2231
|
+
borderColor: "blue.400",
|
|
2232
|
+
background: "blue.400"
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
},
|
|
2237
|
+
control: {
|
|
2238
|
+
flex: "none",
|
|
2239
|
+
position: "relative",
|
|
2240
|
+
display: "inline-flex",
|
|
2241
|
+
alignItems: "center",
|
|
2242
|
+
justifyContent: "flex-start",
|
|
2243
|
+
width: "7",
|
|
2244
|
+
height: "4",
|
|
2245
|
+
borderWidth: "1px",
|
|
2246
|
+
borderColor: "gray.100",
|
|
2247
|
+
borderRadius: "lg",
|
|
2248
|
+
background: "gray.100",
|
|
2249
|
+
"& div": {
|
|
2250
|
+
transitionDuration: "250ms",
|
|
2251
|
+
transitionProperty: "transform",
|
|
2252
|
+
transitionTimingFunction: "linear",
|
|
2253
|
+
transform: "translateX(2px)",
|
|
2254
|
+
width: "3",
|
|
2255
|
+
height: "3",
|
|
2256
|
+
background: "white",
|
|
2257
|
+
borderRadius: "full"
|
|
2258
|
+
}
|
|
2259
|
+
},
|
|
2260
|
+
label: {
|
|
2261
|
+
background: "transparent"
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
2264
|
+
});
|
|
2265
|
+
|
|
2266
|
+
// src/recipes/table.ts
|
|
2267
|
+
var import_dev33 = require("@pandacss/dev");
|
|
2268
|
+
var tableRecipe = (0, import_dev33.defineRecipe)({
|
|
2269
|
+
className: "table",
|
|
2270
|
+
jsx: ["MpTable", "mp-table"],
|
|
2271
|
+
base: {
|
|
2272
|
+
position: "relative",
|
|
2273
|
+
width: "full",
|
|
2274
|
+
display: "table",
|
|
2275
|
+
borderCollapse: "collapse",
|
|
2276
|
+
borderSpacing: "0px",
|
|
2277
|
+
whiteSpace: "nowrap",
|
|
2278
|
+
"&[data-table-hoverable=true]": {
|
|
2279
|
+
"& tr": {
|
|
2280
|
+
_hover: {
|
|
2281
|
+
"& > td": {
|
|
2282
|
+
backgroundColor: "gray.50"
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
},
|
|
2287
|
+
thead: {
|
|
2288
|
+
width: "full",
|
|
2289
|
+
backgroundColor: "gray.25",
|
|
2290
|
+
"&[data-table-head-fixed=true]": {
|
|
2291
|
+
position: "sticky",
|
|
2292
|
+
zIndex: "sticky",
|
|
2293
|
+
top: "0",
|
|
2294
|
+
boxShadow: "0px 2px var(--mp-colors-gray-100)"
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
tbody: {
|
|
2298
|
+
width: "full"
|
|
2299
|
+
},
|
|
2300
|
+
tr: {
|
|
2301
|
+
width: "full",
|
|
2302
|
+
boxSizing: "border-box",
|
|
2303
|
+
whiteSpace: "nowrap"
|
|
2304
|
+
},
|
|
2305
|
+
"th, td": {
|
|
2306
|
+
cursor: "default",
|
|
2307
|
+
paddingLeft: "2",
|
|
2308
|
+
paddingRight: "4",
|
|
2309
|
+
paddingY: "2",
|
|
2310
|
+
height: "12",
|
|
2311
|
+
textStyle: "label.md",
|
|
2312
|
+
textAlign: "left",
|
|
2313
|
+
borderBottom: "sm",
|
|
2314
|
+
borderStyle: "solid",
|
|
2315
|
+
borderColor: "gray.100",
|
|
2316
|
+
transition: "background linear 120ms"
|
|
2317
|
+
},
|
|
2318
|
+
th: {
|
|
2319
|
+
fontWeight: "semiBold",
|
|
2320
|
+
backgroundColor: "gray.25"
|
|
2321
|
+
},
|
|
2322
|
+
td: {
|
|
2323
|
+
fontWeight: "regular",
|
|
2324
|
+
backgroundColor: "white"
|
|
2325
|
+
},
|
|
2326
|
+
"th[data-table-cell-fixed=true], td[data-table-cell-fixed=true]": {
|
|
2327
|
+
position: "sticky",
|
|
2328
|
+
zIndex: "docked",
|
|
2329
|
+
left: "0",
|
|
2330
|
+
right: "0"
|
|
2331
|
+
}
|
|
2332
|
+
}
|
|
2333
|
+
});
|
|
2334
|
+
var tableContainerRecipe = (0, import_dev33.defineRecipe)({
|
|
2335
|
+
className: "table-container",
|
|
2336
|
+
jsx: ["MpTableContainer", "mp-table-container"],
|
|
2337
|
+
base: {
|
|
2338
|
+
position: "relative",
|
|
2339
|
+
overflow: "auto",
|
|
2340
|
+
"&[data-table-has-left-shadow=true]": {
|
|
2341
|
+
_before: {
|
|
2342
|
+
boxShadow: "inset 10px 0 8px -8px rgba(5, 5, 5, 0.08)"
|
|
2343
|
+
}
|
|
2344
|
+
},
|
|
2345
|
+
"&[data-table-has-right-shadow=true]": {
|
|
2346
|
+
_after: {
|
|
2347
|
+
boxShadow: "inset -10px 0 8px -8px rgba(5, 5, 5, 0.08)"
|
|
2348
|
+
}
|
|
2349
|
+
},
|
|
2350
|
+
_before: {
|
|
2351
|
+
content: '""',
|
|
2352
|
+
position: "absolute",
|
|
2353
|
+
zIndex: "docked",
|
|
2354
|
+
boxShadow: "none",
|
|
2355
|
+
transition: "box-shadow 300ms",
|
|
2356
|
+
insetInlineStart: 0,
|
|
2357
|
+
width: "30px",
|
|
2358
|
+
top: 0,
|
|
2359
|
+
bottom: 0,
|
|
2360
|
+
pointerEvents: "none"
|
|
2361
|
+
},
|
|
2362
|
+
_after: {
|
|
2363
|
+
content: '""',
|
|
2364
|
+
position: "absolute",
|
|
2365
|
+
zIndex: "docked",
|
|
2366
|
+
boxShadow: "none",
|
|
2367
|
+
transition: "box-shadow linear 300ms",
|
|
2368
|
+
insetInlineEnd: 0,
|
|
2369
|
+
width: "30px",
|
|
2370
|
+
top: 0,
|
|
2371
|
+
bottom: 0,
|
|
2372
|
+
pointerEvents: "none"
|
|
2373
|
+
}
|
|
2374
|
+
}
|
|
2375
|
+
});
|
|
2376
|
+
|
|
2377
|
+
// src/recipes/progress.ts
|
|
2378
|
+
var import_dev34 = require("@pandacss/dev");
|
|
2379
|
+
var progressSlotRecipe = (0, import_dev34.defineSlotRecipe)({
|
|
2380
|
+
className: "progress",
|
|
2381
|
+
jsx: ["MpProgress", "mp-progress"],
|
|
2382
|
+
slots: ["root", "linear", "circularBase", "circularTrack"],
|
|
2383
|
+
base: {
|
|
2384
|
+
root: {
|
|
2385
|
+
position: "relative",
|
|
2386
|
+
width: "full",
|
|
2387
|
+
borderRadius: "100px",
|
|
2388
|
+
background: "gray.100",
|
|
2389
|
+
transition: "all 250ms linear"
|
|
2390
|
+
},
|
|
2391
|
+
linear: {
|
|
2392
|
+
transition: "all 250ms linear",
|
|
2393
|
+
height: "full",
|
|
2394
|
+
borderRadius: "100px",
|
|
2395
|
+
background: "var(--mp-progress-color)",
|
|
2396
|
+
width: "var(--mp-progress-width)"
|
|
2397
|
+
},
|
|
2398
|
+
circularBase: {
|
|
2399
|
+
width: "full",
|
|
2400
|
+
height: "full",
|
|
2401
|
+
borderRadius: "full",
|
|
2402
|
+
background: "conic-gradient(var(--mp-progress-color) var(--mp-progress-width), var(--mp-colors-gray-100) 0deg)"
|
|
2403
|
+
},
|
|
2404
|
+
circularTrack: {
|
|
2405
|
+
width: "calc(100% - 6px)",
|
|
2406
|
+
height: "calc(100% - 6px)",
|
|
2407
|
+
position: "absolute",
|
|
2408
|
+
top: "50%",
|
|
2409
|
+
left: "50%",
|
|
2410
|
+
transform: "translate(-50%, -50%)",
|
|
2411
|
+
backgroundColor: "white",
|
|
2412
|
+
borderRadius: "full"
|
|
2413
|
+
}
|
|
2414
|
+
},
|
|
2415
|
+
variants: {
|
|
2416
|
+
size: {
|
|
2417
|
+
md: {
|
|
2418
|
+
linear: {
|
|
2419
|
+
height: "3"
|
|
2420
|
+
}
|
|
2421
|
+
},
|
|
2422
|
+
sm: {
|
|
2423
|
+
linear: {
|
|
2424
|
+
height: "2"
|
|
2425
|
+
}
|
|
2426
|
+
}
|
|
2427
|
+
},
|
|
2428
|
+
variant: {
|
|
2429
|
+
linear: {
|
|
2430
|
+
root: {
|
|
2431
|
+
borderRadius: "100px"
|
|
2432
|
+
}
|
|
2433
|
+
},
|
|
2434
|
+
circular: {
|
|
2435
|
+
root: {
|
|
2436
|
+
borderRadius: "full",
|
|
2437
|
+
width: "22px",
|
|
2438
|
+
height: "22px",
|
|
2439
|
+
background: "transparent",
|
|
2440
|
+
alignSelf: "start"
|
|
2441
|
+
}
|
|
2442
|
+
}
|
|
2443
|
+
}
|
|
2444
|
+
},
|
|
2445
|
+
defaultVariants: {
|
|
2446
|
+
variant: "linear",
|
|
2447
|
+
size: "md"
|
|
2448
|
+
}
|
|
2449
|
+
});
|
|
2450
|
+
|
|
2451
|
+
// src/recipes/index.ts
|
|
2452
|
+
var recipes = {
|
|
2453
|
+
buttonRecipe,
|
|
2454
|
+
buttonGroupRecipe,
|
|
2455
|
+
textRecipe,
|
|
2456
|
+
iconRecipe,
|
|
2457
|
+
spinnerRecipe,
|
|
2458
|
+
popoverContentRecipe,
|
|
2459
|
+
popoverListRecipe,
|
|
2460
|
+
popoverListItemRecipe,
|
|
2461
|
+
badgeRecipe,
|
|
2462
|
+
textareaRecipe,
|
|
2463
|
+
tooltipRecipe,
|
|
2464
|
+
tabListRecipe,
|
|
2465
|
+
tabRecipe,
|
|
2466
|
+
selectedBorderRecipe,
|
|
2467
|
+
tableRecipe,
|
|
2468
|
+
tableContainerRecipe
|
|
2469
|
+
};
|
|
2470
|
+
var slotRecipes = {
|
|
2471
|
+
accordion,
|
|
2472
|
+
checkboxSlotRecipe,
|
|
2473
|
+
radioSlotRecipe,
|
|
2474
|
+
sharedSlotRecipe,
|
|
2475
|
+
progressSlotRecipe,
|
|
2476
|
+
toggleSlotRecipe,
|
|
2477
|
+
tagSlotRecipe,
|
|
2478
|
+
inputSlotRecipe,
|
|
2479
|
+
inputGroupSlotRecipe,
|
|
2480
|
+
inputAddonSlotRecipe,
|
|
2481
|
+
avatarSlotRecipe,
|
|
2482
|
+
avatarGroupSlotRecipe,
|
|
2483
|
+
selectSlotRecipe
|
|
2484
|
+
};
|
|
2485
|
+
|
|
2486
|
+
// src/breakpoints.ts
|
|
2487
|
+
var breakpoints = {
|
|
2488
|
+
sm: "22.5em",
|
|
2489
|
+
md: "48em",
|
|
2490
|
+
lg: "64em",
|
|
2491
|
+
xl: "80em"
|
|
2492
|
+
};
|
|
2493
|
+
|
|
2494
|
+
// src/index.ts
|
|
2495
|
+
var preset = (0, import_dev35.definePreset)({
|
|
2496
|
+
theme: {
|
|
2497
|
+
extend: {
|
|
2498
|
+
breakpoints,
|
|
2499
|
+
keyframes,
|
|
2500
|
+
textStyles,
|
|
2501
|
+
tokens,
|
|
2502
|
+
recipes,
|
|
2503
|
+
slotRecipes
|
|
2504
|
+
}
|
|
2505
|
+
},
|
|
2506
|
+
conditions,
|
|
2507
|
+
globalCss
|
|
2508
|
+
});
|
|
2509
|
+
var src_default = preset;
|