@mekari/pixel3-theme 0.0.1 → 0.0.2

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.mjs CHANGED
@@ -1,6 +1,14 @@
1
1
  // src/index.ts
2
2
  import { definePreset } from "@pandacss/dev";
3
3
 
4
+ // src/breakpoints.ts
5
+ var breakpoints = {
6
+ sm: "22.5em",
7
+ md: "48em",
8
+ lg: "64em",
9
+ xl: "80em"
10
+ };
11
+
4
12
  // src/conditions.ts
5
13
  var conditions = {
6
14
  extend: {
@@ -48,486 +56,123 @@ var globalCss = defineGlobalStyles({
48
56
  }
49
57
  });
50
58
 
51
- // src/tokens/index.ts
52
- import { defineTokens as defineTokens11 } from "@pandacss/dev";
53
-
54
- // src/tokens/borders.ts
55
- import { defineTokens } from "@pandacss/dev";
56
- var borders = defineTokens.borders({
57
- none: { value: "none" },
58
- sm: { value: "1px" },
59
- md: { value: "1.5px" },
60
- lg: { value: "2px" }
61
- });
62
-
63
- // src/tokens/colors.ts
64
- import { defineTokens as defineTokens2 } from "@pandacss/dev";
65
- var colors = defineTokens2.colors({
66
- currentcolor: {
67
- value: "currentcolor",
68
- description: "Need to add this for Icon usage"
69
- },
70
- dark: { value: "#232933", description: "Default or primary text color" },
71
- white: {
72
- value: "#FFFFFF",
73
- description: "Background color in components such as Card, Modal, and Popover"
59
+ // src/keyframes.ts
60
+ import { defineKeyframes } from "@pandacss/dev";
61
+ var keyframes = defineKeyframes({
62
+ "fade-in": {
63
+ from: { opacity: "0" },
64
+ to: { opacity: "1" }
74
65
  },
75
- background: { value: "#F1F5F9", description: "For use as background page" },
76
- overlay: {
77
- value: "rgba(22, 26, 32, 0.8)",
78
- description: "For use as overlay"
66
+ "fade-out": {
67
+ from: { opacity: "1" },
68
+ to: { opacity: "0" }
79
69
  },
80
- brand: {
81
- capital: { value: "#2F5573", description: "Mekari Capital" },
82
- esign: { value: "#00C853", description: "Mekari e-Sign" },
83
- expense: { value: "#183883", description: "Mekari Expense" },
84
- flex: { value: "#7C4DFF", description: "Mekari Flex" },
85
- jurnal: { value: "#40C3FF", description: "Mekari Jurnal" },
86
- klikpajak: { value: "#FF9100", description: "Mekari Klikpajak" },
87
- mekari: { value: "#651FFF", description: "Mekari" },
88
- qontak: { value: "#2979FF", description: "Mekari Qontak" },
89
- talenta: { value: "#F22929", description: "Mekari Talenta" },
90
- university: { value: "#448AFF", description: "Mekari University" }
70
+ spin: {
71
+ "100%": { transform: "rotate(1turn)" }
72
+ }
73
+ });
74
+
75
+ // src/recipes/tag.ts
76
+ import { defineSlotRecipe } from "@pandacss/dev";
77
+ var tagSlotRecipe = defineSlotRecipe({
78
+ className: "tag",
79
+ jsx: ["MpTag", "mp-tag"],
80
+ slots: ["root", "close"],
81
+ base: {
82
+ root: {
83
+ position: "relative",
84
+ display: "inline-flex",
85
+ alignItems: "center",
86
+ userSelect: "auto",
87
+ outline: "0px solid transparent",
88
+ borderWidth: "1px",
89
+ borderColor: "transparent",
90
+ borderRadius: "sm",
91
+ transition: "all 250ms",
92
+ textAlign: "left",
93
+ fontSize: "md",
94
+ fontWeight: "regular",
95
+ lineHeight: "md",
96
+ letterSpacing: "normal",
97
+ paddingX: "2",
98
+ whiteSpace: "normal",
99
+ overflowWrap: "anywhere",
100
+ cursor: "var(--mp-tag--cursor)"
101
+ },
102
+ close: {
103
+ position: "absolute!",
104
+ color: "gray.600",
105
+ border: "none",
106
+ right: "0",
107
+ width: "5",
108
+ height: "5",
109
+ minWidth: "5",
110
+ paddingTop: "1",
111
+ padding: "0",
112
+ transition: "all 250ms!",
113
+ visibility: "hidden",
114
+ opacity: "0",
115
+ _groupHover: {
116
+ visibility: "visible",
117
+ opacity: "1"
118
+ }
119
+ }
91
120
  },
92
- gray: {
93
- 25: {
94
- value: "#F8F9FB",
95
- description: "Background color in table header component"
121
+ variants: {
122
+ size: {
123
+ sm: {
124
+ root: {
125
+ paddingY: "0"
126
+ }
127
+ },
128
+ md: {
129
+ root: {
130
+ paddingY: "1"
131
+ }
132
+ }
96
133
  },
97
- 50: {
98
- value: "#EDF0F2",
99
- description: "Disabled background color in components such as Input and Select backgrounds"
134
+ variant: {
135
+ gray: {
136
+ root: {
137
+ color: "gray.600",
138
+ background: "gray.50"
139
+ }
140
+ },
141
+ red: {
142
+ root: {
143
+ color: "red.400",
144
+ backgroundColor: "red.50"
145
+ }
146
+ }
147
+ }
148
+ },
149
+ compoundVariants: [
150
+ {
151
+ variant: "gray",
152
+ css: {
153
+ close: {
154
+ background: "linear-gradient(270deg, #EDF0F2 75%, rgba(237, 240, 242, 0) 111.54%)"
155
+ }
156
+ }
100
157
  },
101
- 100: { value: "#D0D6DD", description: "Default stroke color or divider" },
102
- 400: {
103
- value: "#8B95A5",
104
- description: "Disabled and placeholder text color, icon or in components such as hover state Input, Select and stroke in Popover"
158
+ {
159
+ variant: "red",
160
+ css: {
161
+ close: {
162
+ background: "linear-gradient(270deg, #FDECEE 75%, rgba(237, 240, 242, 0) 111.54%)"
163
+ }
164
+ }
105
165
  },
106
- 600: {
107
- value: "#626B79",
108
- description: "Description text color and default color for outline icon"
166
+ {
167
+ size: "sm",
168
+ css: {
169
+ close: { paddingTop: "0" }
170
+ }
109
171
  }
110
- },
111
- blue: {
112
- 50: { value: "#EAECFB" },
113
- 100: { value: "#D5DEFF" },
114
- 400: { value: "#4B61DD" },
115
- 500: { value: "#1C44D5" },
116
- 700: { value: "#0031BE" }
117
- },
118
- red: {
119
- 50: { value: "#FDECEE" },
120
- 400: { value: "#DA473F" },
121
- 500: { value: "#C83E39" },
122
- 700: { value: "#AB3129" }
123
- },
124
- green: {
125
- 50: { value: "#E8F5EB" },
126
- 400: { value: "#68BE79" },
127
- 500: { value: "#4FB262" },
128
- 700: { value: "#3C914D" }
129
- },
130
- orange: {
131
- 50: { value: "#FBF3DD" },
132
- 400: { value: "#E0AB00" },
133
- 500: { value: "#DE9400" },
134
- 700: { value: "#DB8000" }
135
- },
136
- sky: {
137
- 100: { value: "#60A5FA" },
138
- 400: { value: "#3B82F6" }
139
- },
140
- teal: {
141
- 100: { value: "#2DD4BF" },
142
- 400: { value: "#14B8A6" }
143
- },
144
- violet: {
145
- 100: { value: "#A78BFA" },
146
- 400: { value: "#8B5CF6" }
147
- },
148
- amber: {
149
- 100: { value: "#FBBF24" },
150
- 400: { value: "#F59E0B" }
151
- },
152
- rose: {
153
- 100: { value: "#F87171" },
154
- 400: { value: "#EF4444" }
155
- },
156
- stone: {
157
- 100: { value: "#A1A1AA" },
158
- 400: { value: "#71717A" }
159
- },
160
- lime: {
161
- 100: { value: "#A3E635" },
162
- 400: { value: "#84CC16" }
163
- },
164
- pink: {
165
- 100: { value: "#F472B6" },
166
- 400: { value: "#EC4899" }
167
- },
168
- apricot: {
169
- 100: { value: "#FB923C" },
170
- 400: { value: "#F97316" }
171
- },
172
- aqua: {
173
- 100: { value: "#22D3EE" },
174
- 400: { value: "#06B6D4" }
175
- },
176
- leaf: {
177
- 100: { value: "#4ADE80" },
178
- 400: { value: "#22C55E" }
179
- },
180
- fuchsia: {
181
- 100: { value: "#E879F9" },
182
- 400: { value: "#D946EF" }
183
- },
184
- ice: {
185
- 50: { value: "#E0EEFF" },
186
- 100: { value: "#B4D3F2" }
187
- },
188
- ash: {
189
- 100: { value: "#E7EDF5" }
190
- }
191
- });
192
-
193
- // src/tokens/durations.ts
194
- import { defineTokens as defineTokens3 } from "@pandacss/dev";
195
- var durations = defineTokens3.durations({
196
- slow: { value: "100ms" },
197
- normal: { value: "250ms" },
198
- fast: { value: "300ms" }
199
- });
200
-
201
- // src/tokens/opacity.ts
202
- import { defineTokens as defineTokens4 } from "@pandacss/dev";
203
- var opacity = defineTokens4.opacity({
204
- 0: { value: 0 },
205
- 40: { value: 0.4 },
206
- 60: { value: 0.6 },
207
- 100: { value: 1 }
208
- });
209
-
210
- // src/tokens/radii.ts
211
- import { defineTokens as defineTokens5 } from "@pandacss/dev";
212
- var radii = defineTokens5.radii({
213
- none: { value: "0" },
214
- xs: { value: "0.125rem", description: "2px" },
215
- sm: { value: "0.25rem", description: "4px" },
216
- md: { value: "0.375rem", description: "6px" },
217
- lg: { value: "0.5rem", description: "8px" },
218
- xl: { value: "0.75rem", description: "12px" },
219
- full: { value: "50%" }
220
- });
221
-
222
- // src/tokens/shadows.ts
223
- import { defineTokens as defineTokens6 } from "@pandacss/dev";
224
- var shadows = defineTokens6.shadows({
225
- xs: {
226
- value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
227
- },
228
- sm: {
229
- value: ["0px 4px 6px -2px rgba(0, 0, 0, 0.05)", "0px 10px 15px -3px rgba(0, 0, 0, 0.10)"]
230
- },
231
- md: {
232
- value: ["0px 10px 10px -5px rgba(0, 0, 0, 0.04)", "0px 20px 25px -5px rgba(0, 0, 0, 0.10)"]
233
- },
234
- lg: {
235
- value: ["0px 6px 16px 0px rgba(0, 0, 0, 0.08)", "0px 9px 28px 8px rgba(0, 0, 0, 0.05)"]
236
- },
237
- focus: {
238
- value: "0 0 0 3px rgba(224, 238, 255, 1)"
239
- },
240
- xl: {
241
- value: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"
242
- },
243
- "2xl": {
244
- value: "0 25px 50px -12px rgba(0, 0, 0, 0.25)"
245
- },
246
- outline: {
247
- value: "0 0 0 3px #E0EEFF"
248
- },
249
- "outline-tab": {
250
- value: "0 0 0 2px #E0EEFF"
251
- },
252
- outer: {
253
- value: "0 0 0 3px rgba(224, 238, 255, 1)"
254
- },
255
- inner: {
256
- value: "inset 0 2px 4px 0 rgba( 0, 0, 0, 0.06)"
257
- },
258
- none: {
259
- value: "none"
260
- }
261
- });
262
-
263
- // src/tokens/sizes.ts
264
- import { defineTokens as defineTokens7 } from "@pandacss/dev";
265
- var sizes = defineTokens7.sizes({
266
- 0: { value: "0", description: "0px" },
267
- 0.25: { value: "0.0625rem", description: "1px" },
268
- 0.5: { value: "0.125rem", description: "2px" },
269
- 1: { value: "0.25rem", description: "4px" },
270
- 2: { value: "0.5rem", description: "8px" },
271
- 2.5: { value: "0.625rem", description: "10px" },
272
- 3: { value: "0.75rem", description: "12px" },
273
- 4: { value: "1rem", description: "16px" },
274
- 5: { value: "1.25rem", description: "20px" },
275
- 6: { value: "1.5rem", description: "24px" },
276
- 7: { value: "1.75rem", description: "28px" },
277
- 7.5: { value: "1.875rem", description: "30px" },
278
- 8: { value: "2rem", description: "32px" },
279
- 9: { value: "2.25rem", description: "36px" },
280
- 9.5: { value: "2.375rem", description: "38px" },
281
- 10: { value: "2.5rem", description: "40px" },
282
- 11: { value: "2.75rem", description: "44px" },
283
- 12: { value: "3rem", description: "48px" },
284
- 16: { value: "4rem", description: "64px" },
285
- 20: { value: "5rem", description: "80px" },
286
- 22: { value: "5.5rem", description: "96px" },
287
- 56: { value: "14rem", description: "224px" },
288
- 65: { value: "17.5rem", description: "280px" },
289
- full: { value: "100%" }
290
- });
291
-
292
- // src/tokens/spacing.ts
293
- import { defineTokens as defineTokens8 } from "@pandacss/dev";
294
- var spacing = defineTokens8.spacing({
295
- 0: { value: "0", description: "0px" },
296
- 0.5: { value: "0.125rem", description: "2px" },
297
- 1: { value: "0.25rem", description: "4px" },
298
- 1.5: { value: "0.375rem", description: "6px" },
299
- 2: { value: "0.5rem", description: "8px" },
300
- 3: { value: "0.75rem", description: "12px" },
301
- 4: { value: "1rem", description: "16px" },
302
- 5: { value: "1.3rem", description: "20px" },
303
- 6: { value: "1.5rem", description: "24px" },
304
- 8: { value: "2rem", description: "32px" },
305
- 12: { value: "3rem", description: "48px" },
306
- 16: { value: "4rem", description: "64px" },
307
- 20: { value: "5rem", description: "80px" },
308
- 24: { value: "6rem", description: "96px" },
309
- 32: { value: "8rem", description: "128px" },
310
- 40: { value: "10rem", description: "160px" },
311
- 64: { value: "16rem", description: "256px" }
312
- });
313
-
314
- // src/tokens/z-index.ts
315
- import { defineTokens as defineTokens9 } from "@pandacss/dev";
316
- var zIndex = defineTokens9.zIndex({
317
- hide: { value: -1 },
318
- base: { value: 0 },
319
- docked: { value: 10 },
320
- sticky: { value: 1100 },
321
- overlay: { value: 1300 },
322
- modal: { value: 1400 },
323
- popover: { value: 1500 },
324
- tooltip: { value: 1800 }
325
- });
326
-
327
- // src/tokens/typography.ts
328
- import { defineTokens as defineTokens10 } from "@pandacss/dev";
329
- var fonts = defineTokens10.fonts({
330
- body: {
331
- value: '"inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
332
- },
333
- mono: {
334
- value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
335
- }
336
- });
337
- var fontSizes = defineTokens10.fontSizes({
338
- xs: { value: "0.625rem", description: "10px" },
339
- sm: { value: "0.75rem", description: "12px" },
340
- md: { value: "0.875rem", description: "14px" },
341
- lg: { value: "1rem", description: "16px" },
342
- xl: { value: "1.25rem", description: "20px" },
343
- "2xl": { value: "1.5rem", description: "24px" }
344
- });
345
- var fontWeights = defineTokens10.fontWeights({
346
- regular: { value: "400" },
347
- semiBold: { value: "600" },
348
- bold: { value: "800" }
349
- });
350
- var lineHeights = defineTokens10.lineHeights({
351
- xs: { value: 1.2, description: "12px/10px" },
352
- sm: { value: 1.34, description: "16px/12px or 32px/24px" },
353
- md: { value: 1.4, description: "28px/20px" },
354
- lg: { value: 1.429, description: "20px/14px" },
355
- xl: { value: 1.5, description: "24px/16px" },
356
- "2xl": { value: 1.67, description: "20px/12px" },
357
- "3xl": { value: 1.71, description: "24px/14px" }
358
- });
359
- var letterSpacings = defineTokens10.letterSpacings({
360
- tighter: { value: "-0.05em" },
361
- tight: { value: "-0.025em" },
362
- normal: { value: "0" },
363
- wide: { value: "0.025em" },
364
- wider: { value: "0.05em" },
365
- widest: { value: "0.1em" }
366
- });
367
-
368
- // src/tokens/index.ts
369
- var tokens = defineTokens11({
370
- borders,
371
- colors,
372
- durations,
373
- fonts,
374
- fontSizes,
375
- fontWeights,
376
- lineHeights,
377
- letterSpacings,
378
- opacity,
379
- radii,
380
- shadows,
381
- sizes,
382
- spacing,
383
- zIndex
384
- });
385
-
386
- // src/text-styles.ts
387
- import { defineTextStyles } from "@pandacss/dev";
388
- var textStyles = defineTextStyles({
389
- overline: { value: { fontSize: "xs", lineHeight: "xs" } },
390
- body: {
391
- sm: { value: { fontSize: "sm", lineHeight: "2xl" } },
392
- md: { value: { fontSize: "md", lineHeight: "3xl" } }
393
- },
394
- label: {
395
- sm: { value: { fontSize: "sm", lineHeight: "sm" } },
396
- md: { value: { fontSize: "md", lineHeight: "lg" } }
397
- },
398
- h3: {
399
- value: {
400
- fontSize: "lg",
401
- lineHeight: "xl",
402
- fontWeight: "semiBold !important"
403
- }
404
- },
405
- h2: {
406
- value: {
407
- fontSize: "xl",
408
- lineHeight: "md",
409
- fontWeight: "semiBold !important"
410
- }
411
- },
412
- h1: {
413
- value: {
414
- fontSize: "2xl",
415
- lineHeight: "sm",
416
- fontWeight: "semiBold !important"
417
- }
418
- }
419
- });
420
-
421
- // src/keyframes.ts
422
- import { defineKeyframes } from "@pandacss/dev";
423
- var keyframes = defineKeyframes({
424
- "fade-in": {
425
- from: { opacity: "0" },
426
- to: { opacity: "1" }
427
- },
428
- "fade-out": {
429
- from: { opacity: "1" },
430
- to: { opacity: "0" }
431
- },
432
- spin: {
433
- "100%": { transform: "rotate(1turn)" }
434
- }
435
- });
436
-
437
- // src/recipes/tag.ts
438
- import { defineSlotRecipe } from "@pandacss/dev";
439
- var tagSlotRecipe = defineSlotRecipe({
440
- className: "tag",
441
- jsx: ["MpTag", "mp-tag"],
442
- slots: ["root", "close"],
443
- base: {
444
- root: {
445
- position: "relative",
446
- display: "inline-flex",
447
- alignItems: "center",
448
- userSelect: "auto",
449
- outline: "0px solid transparent",
450
- borderWidth: "1px",
451
- borderColor: "transparent",
452
- borderRadius: "sm",
453
- transition: "all 250ms",
454
- textAlign: "left",
455
- fontSize: "md",
456
- fontWeight: "regular",
457
- lineHeight: "md",
458
- letterSpacing: "normal",
459
- paddingX: "2",
460
- whiteSpace: "normal",
461
- overflowWrap: "anywhere",
462
- cursor: "var(--mp-tag--cursor)"
463
- },
464
- close: {
465
- position: "absolute!",
466
- color: "gray.600",
467
- background: "linear-gradient(270deg, #EDF0F2 75%, rgba(237, 240, 242, 0) 111.54%)!",
468
- border: "none",
469
- right: "0",
470
- width: "5",
471
- height: "5",
472
- minWidth: "5",
473
- paddingTop: "1",
474
- padding: "0",
475
- transition: "all 250ms!",
476
- visibility: "hidden",
477
- opacity: "0",
478
- _groupHover: {
479
- visibility: "visible",
480
- opacity: "1"
481
- }
482
- }
483
- },
484
- variants: {
485
- size: {
486
- sm: {
487
- root: {
488
- paddingY: "0"
489
- }
490
- },
491
- md: {
492
- root: {
493
- paddingY: "1"
494
- }
495
- }
496
- },
497
- variant: {
498
- gray: {
499
- root: {
500
- color: "gray.600",
501
- background: "gray.50"
502
- }
503
- },
504
- red: {
505
- root: {
506
- color: "red.400",
507
- backgroundColor: "red.50"
508
- }
509
- }
510
- }
511
- },
512
- compoundVariants: [
513
- {
514
- variant: "red",
515
- css: {
516
- close: {
517
- background: "linear-gradient(270deg, #FDECEE 75%, rgba(237, 240, 242, 0) 111.54%)!"
518
- }
519
- }
520
- },
521
- {
522
- size: "sm",
523
- css: {
524
- close: { paddingTop: "0" }
525
- }
526
- }
527
- ],
528
- defaultVariants: {
529
- size: "md",
530
- variant: "gray"
172
+ ],
173
+ defaultVariants: {
174
+ size: "md",
175
+ variant: "gray"
531
176
  }
532
177
  });
533
178
 
@@ -1973,690 +1618,1581 @@ var checkboxSlotRecipe = defineSlotRecipe6({
1973
1618
  "& .mp-checkbox__control": {
1974
1619
  borderColor: "gray.100 !important",
1975
1620
  background: "gray.50 !important",
1976
- boxShadow: "none !important"
1621
+ boxShadow: "none !important"
1622
+ }
1623
+ },
1624
+ _invalid: {
1625
+ "& .mp-checkbox__control": {
1626
+ borderColor: "red.400",
1627
+ background: "white"
1628
+ }
1629
+ },
1630
+ _checked: {
1631
+ "& .mp-checkbox__control": {
1632
+ borderColor: "blue.400",
1633
+ background: "blue.400"
1634
+ },
1635
+ _hover: {
1636
+ "& .mp-checkbox__control": {
1637
+ borderColor: "blue.400"
1638
+ }
1639
+ }
1640
+ },
1641
+ _indeterminate: {
1642
+ "& .mp-checkbox__control": {
1643
+ borderColor: "blue.400",
1644
+ background: "blue.400"
1645
+ },
1646
+ _hover: {
1647
+ "& .mp-checkbox__control": {
1648
+ borderColor: "blue.400"
1649
+ }
1650
+ }
1651
+ }
1652
+ },
1653
+ control: {
1654
+ flex: "none",
1655
+ transitionDuration: "250ms",
1656
+ transitionProperty: "background, border-color, box-shadow",
1657
+ transitionTimingFunction: "linear",
1658
+ position: "relative",
1659
+ display: "inline-flex",
1660
+ alignItems: "center",
1661
+ justifyContent: "center",
1662
+ width: "18px",
1663
+ height: "18px",
1664
+ borderWidth: "2px",
1665
+ borderColor: "gray.100",
1666
+ borderRadius: "md",
1667
+ background: "white"
1668
+ },
1669
+ label: {
1670
+ background: "transparent"
1671
+ }
1672
+ }
1673
+ });
1674
+
1675
+ // src/recipes/radio.ts
1676
+ import { defineSlotRecipe as defineSlotRecipe7 } from "@pandacss/dev";
1677
+ var radioSlotRecipe = defineSlotRecipe7({
1678
+ className: "radio",
1679
+ jsx: ["MpRadio", "mp-radio"],
1680
+ slots: ["root", "control", "label"],
1681
+ base: {
1682
+ root: {
1683
+ position: "relative",
1684
+ display: "inline-flex",
1685
+ alignItems: "center",
1686
+ justifyContent: "center",
1687
+ gap: "2",
1688
+ cursor: "pointer",
1689
+ outline: "none",
1690
+ "&[data-has-description=true]": {
1691
+ alignItems: "flex-start",
1692
+ "& .mp-radio__control": {
1693
+ marginTop: "1"
1694
+ }
1695
+ },
1696
+ "& .mp-shared__hidden": {
1697
+ "&:focus + .mp-radio__control": {
1698
+ borderColor: "blue.400",
1699
+ boxShadow: "focus"
1700
+ }
1701
+ },
1702
+ _hover: {
1703
+ "& .mp-radio__control": {
1704
+ borderColor: "gray.400"
1705
+ }
1706
+ },
1707
+ _disabled: {
1708
+ cursor: "not-allowed",
1709
+ "& .mp-radio__control": {
1710
+ borderColor: "gray.100 !important",
1711
+ background: "gray.50 !important",
1712
+ boxShadow: "none !important",
1713
+ "& div": {
1714
+ background: "gray.400"
1715
+ }
1716
+ }
1717
+ },
1718
+ _invalid: {
1719
+ "& .mp-radio__control": {
1720
+ borderColor: "red.400",
1721
+ background: "white"
1722
+ }
1723
+ },
1724
+ _checked: {
1725
+ "& .mp-radio__control": {
1726
+ borderColor: "blue.400",
1727
+ background: "blue.400"
1728
+ },
1729
+ _hover: {
1730
+ "& .mp-radio__control": {
1731
+ borderColor: "blue.400"
1732
+ }
1733
+ }
1734
+ },
1735
+ _indeterminate: {
1736
+ "& .mp-radio__control": {
1737
+ borderColor: "blue.400",
1738
+ background: "blue.400"
1739
+ },
1740
+ _hover: {
1741
+ "& .mp-radio__control": {
1742
+ borderColor: "blue.400"
1743
+ }
1744
+ }
1745
+ }
1746
+ },
1747
+ control: {
1748
+ flex: "none",
1749
+ transitionDuration: "250ms",
1750
+ transitionProperty: "background, border-color, box-shadow",
1751
+ transitionTimingFunction: "linear",
1752
+ position: "relative",
1753
+ display: "inline-flex",
1754
+ alignItems: "center",
1755
+ justifyContent: "center",
1756
+ width: "18px",
1757
+ height: "18px",
1758
+ borderWidth: "2px",
1759
+ borderColor: "gray.100",
1760
+ borderRadius: "full",
1761
+ background: "white",
1762
+ "& div": {
1763
+ width: "2.5",
1764
+ height: "2.5",
1765
+ background: "white",
1766
+ borderRadius: "full"
1767
+ }
1768
+ },
1769
+ label: {
1770
+ background: "transparent"
1771
+ }
1772
+ }
1773
+ });
1774
+
1775
+ // src/recipes/shared.ts
1776
+ import { defineSlotRecipe as defineSlotRecipe8 } from "@pandacss/dev";
1777
+ var sharedSlotRecipe = defineSlotRecipe8({
1778
+ className: "shared",
1779
+ jsx: ["MpCheckbox", "mp-checkbox", "MpRadio", "mp-radio"],
1780
+ slots: ["hidden"],
1781
+ base: {
1782
+ hidden: {
1783
+ clip: "rect(0px, 0px, 0px, 0px)",
1784
+ height: "1px",
1785
+ width: "1px",
1786
+ overflow: "hidden",
1787
+ whiteSpace: "nowrap",
1788
+ position: "absolute"
1789
+ }
1790
+ }
1791
+ });
1792
+
1793
+ // src/recipes/toggle.ts
1794
+ import { defineSlotRecipe as defineSlotRecipe9 } from "@pandacss/dev";
1795
+ var toggleSlotRecipe = defineSlotRecipe9({
1796
+ className: "toggle",
1797
+ jsx: ["MpToggle", "mp-toggle"],
1798
+ slots: ["root", "control", "label"],
1799
+ base: {
1800
+ root: {
1801
+ position: "relative",
1802
+ display: "inline-flex",
1803
+ alignItems: "center",
1804
+ justifyContent: "center",
1805
+ gap: "3",
1806
+ cursor: "pointer",
1807
+ outline: "none",
1808
+ "&[data-has-description=true]": {
1809
+ alignItems: "flex-start",
1810
+ "& .mp-toggle__control": {
1811
+ marginTop: "1"
1812
+ }
1813
+ },
1814
+ "& .mp-shared__hidden": {
1815
+ "&:focus + .mp-toggle__control": {
1816
+ borderColor: "blue.400",
1817
+ boxShadow: "focus"
1818
+ }
1819
+ },
1820
+ _hover: {
1821
+ "& .mp-toggle__control": {
1822
+ borderColor: "gray.400",
1823
+ background: "gray.400"
1824
+ }
1825
+ },
1826
+ _disabled: {
1827
+ cursor: "not-allowed",
1828
+ "& .mp-toggle__control": {
1829
+ borderColor: "gray.100 !important",
1830
+ background: "gray.50 !important",
1831
+ boxShadow: "none !important",
1832
+ "& div": {
1833
+ background: "gray.100"
1834
+ }
1977
1835
  }
1978
1836
  },
1979
1837
  _invalid: {
1980
- "& .mp-checkbox__control": {
1838
+ "& .mp-toggle__control": {
1981
1839
  borderColor: "red.400",
1982
- background: "white"
1840
+ background: "red.400"
1983
1841
  }
1984
1842
  },
1985
1843
  _checked: {
1986
- "& .mp-checkbox__control": {
1844
+ "& .mp-toggle__control": {
1987
1845
  borderColor: "blue.400",
1988
- background: "blue.400"
1989
- },
1990
- _hover: {
1991
- "& .mp-checkbox__control": {
1992
- borderColor: "blue.400"
1846
+ background: "blue.400",
1847
+ "& div": {
1848
+ transform: "translateX(var(--mp-sizes-3))"
1993
1849
  }
1994
- }
1995
- },
1996
- _indeterminate: {
1997
- "& .mp-checkbox__control": {
1998
- borderColor: "blue.400",
1999
- background: "blue.400"
2000
1850
  },
2001
1851
  _hover: {
2002
- "& .mp-checkbox__control": {
2003
- borderColor: "blue.400"
1852
+ "& .mp-toggle__control": {
1853
+ borderColor: "blue.400",
1854
+ background: "blue.400"
2004
1855
  }
2005
1856
  }
2006
1857
  }
2007
1858
  },
2008
1859
  control: {
2009
1860
  flex: "none",
2010
- transitionDuration: "250ms",
2011
- transitionProperty: "background, border-color, box-shadow",
2012
- transitionTimingFunction: "linear",
2013
1861
  position: "relative",
2014
1862
  display: "inline-flex",
2015
1863
  alignItems: "center",
2016
- justifyContent: "center",
2017
- width: "18px",
2018
- height: "18px",
2019
- borderWidth: "2px",
1864
+ justifyContent: "flex-start",
1865
+ width: "7",
1866
+ height: "4",
1867
+ borderWidth: "1px",
2020
1868
  borderColor: "gray.100",
2021
- borderRadius: "md",
2022
- background: "white"
1869
+ borderRadius: "lg",
1870
+ background: "gray.100",
1871
+ "& div": {
1872
+ transitionDuration: "250ms",
1873
+ transitionProperty: "transform",
1874
+ transitionTimingFunction: "linear",
1875
+ transform: "translateX(2px)",
1876
+ width: "3",
1877
+ height: "3",
1878
+ background: "white",
1879
+ borderRadius: "full"
1880
+ }
1881
+ },
1882
+ label: {
1883
+ background: "transparent"
1884
+ }
1885
+ }
1886
+ });
1887
+
1888
+ // src/recipes/table.ts
1889
+ import { defineRecipe as defineRecipe10 } from "@pandacss/dev";
1890
+ var tableRecipe = defineRecipe10({
1891
+ className: "table",
1892
+ jsx: ["MpTable", "mp-table"],
1893
+ base: {
1894
+ position: "relative",
1895
+ width: "full",
1896
+ display: "table",
1897
+ borderCollapse: "collapse",
1898
+ borderSpacing: "0px",
1899
+ whiteSpace: "nowrap",
1900
+ "&[data-table-hoverable=true]": {
1901
+ "& tr": {
1902
+ _hover: {
1903
+ "& > td": {
1904
+ backgroundColor: "gray.50"
1905
+ }
1906
+ }
1907
+ }
1908
+ },
1909
+ "& > thead": {
1910
+ width: "full",
1911
+ backgroundColor: "gray.25",
1912
+ "&[data-table-head-fixed=true]": {
1913
+ position: "sticky",
1914
+ zIndex: "sticky",
1915
+ top: "0",
1916
+ boxShadow: "0px 2px var(--mp-colors-gray-100)"
1917
+ }
1918
+ },
1919
+ "& > tbody": {
1920
+ width: "full"
1921
+ },
1922
+ "& > tr": {
1923
+ width: "full",
1924
+ boxSizing: "border-box",
1925
+ whiteSpace: "nowrap"
1926
+ },
1927
+ "& th, & td": {
1928
+ cursor: "default",
1929
+ paddingLeft: "2",
1930
+ paddingRight: "4",
1931
+ paddingY: "2",
1932
+ height: "12",
1933
+ textStyle: "label.md",
1934
+ textAlign: "left",
1935
+ borderBottom: "sm",
1936
+ borderStyle: "solid",
1937
+ borderColor: "gray.100",
1938
+ transition: "background linear 120ms"
1939
+ },
1940
+ "& th": {
1941
+ fontWeight: "semiBold",
1942
+ backgroundColor: "gray.25"
1943
+ },
1944
+ "& td": {
1945
+ fontWeight: "regular",
1946
+ backgroundColor: "white"
1947
+ },
1948
+ "& th[data-table-cell-fixed=true], & td[data-table-cell-fixed=true]": {
1949
+ position: "sticky",
1950
+ zIndex: "docked",
1951
+ left: "0",
1952
+ right: "0"
1953
+ }
1954
+ }
1955
+ });
1956
+ var tableContainerRecipe = defineRecipe10({
1957
+ className: "table-container",
1958
+ jsx: ["MpTableContainer", "mp-table-container"],
1959
+ base: {
1960
+ position: "relative",
1961
+ overflow: "auto",
1962
+ "&[data-table-has-left-shadow=true]": {
1963
+ _before: {
1964
+ boxShadow: "inset 10px 0 8px -8px rgba(5, 5, 5, 0.08)"
1965
+ }
1966
+ },
1967
+ "&[data-table-has-right-shadow=true]": {
1968
+ _after: {
1969
+ boxShadow: "inset -10px 0 8px -8px rgba(5, 5, 5, 0.08)"
1970
+ }
1971
+ },
1972
+ _before: {
1973
+ content: '""',
1974
+ position: "absolute",
1975
+ zIndex: "docked",
1976
+ boxShadow: "none",
1977
+ transition: "box-shadow 300ms",
1978
+ insetInlineStart: 0,
1979
+ width: "30px",
1980
+ top: 0,
1981
+ bottom: 0,
1982
+ pointerEvents: "none"
1983
+ },
1984
+ _after: {
1985
+ content: '""',
1986
+ position: "absolute",
1987
+ zIndex: "docked",
1988
+ boxShadow: "none",
1989
+ transition: "box-shadow linear 300ms",
1990
+ insetInlineEnd: 0,
1991
+ width: "30px",
1992
+ top: 0,
1993
+ bottom: 0,
1994
+ pointerEvents: "none"
1995
+ }
1996
+ }
1997
+ });
1998
+
1999
+ // src/recipes/progress.ts
2000
+ import { defineSlotRecipe as defineSlotRecipe10 } from "@pandacss/dev";
2001
+ var progressSlotRecipe = defineSlotRecipe10({
2002
+ className: "progress",
2003
+ jsx: ["MpProgress", "mp-progress"],
2004
+ slots: ["root", "linear", "circularBase", "circularTrack"],
2005
+ base: {
2006
+ root: {
2007
+ position: "relative",
2008
+ width: "full",
2009
+ borderRadius: "100px",
2010
+ background: "gray.100",
2011
+ transition: "all 250ms linear"
2012
+ },
2013
+ linear: {
2014
+ transition: "all 250ms linear",
2015
+ height: "full",
2016
+ borderRadius: "100px",
2017
+ background: "var(--mp-progress-color)",
2018
+ width: "var(--mp-progress-width)"
2019
+ },
2020
+ circularBase: {
2021
+ width: "full",
2022
+ height: "full",
2023
+ borderRadius: "full",
2024
+ background: "conic-gradient(var(--mp-progress-color) var(--mp-progress-width), var(--mp-colors-gray-100) 0deg)"
2025
+ },
2026
+ circularTrack: {
2027
+ width: "calc(100% - 6px)",
2028
+ height: "calc(100% - 6px)",
2029
+ position: "absolute",
2030
+ top: "50%",
2031
+ left: "50%",
2032
+ transform: "translate(-50%, -50%)",
2033
+ backgroundColor: "white",
2034
+ borderRadius: "full"
2035
+ }
2036
+ },
2037
+ variants: {
2038
+ size: {
2039
+ md: {
2040
+ linear: {
2041
+ height: "3"
2042
+ }
2043
+ },
2044
+ sm: {
2045
+ linear: {
2046
+ height: "2"
2047
+ }
2048
+ }
2049
+ },
2050
+ variant: {
2051
+ linear: {
2052
+ root: {
2053
+ borderRadius: "100px"
2054
+ }
2055
+ },
2056
+ circular: {
2057
+ root: {
2058
+ borderRadius: "full",
2059
+ width: "22px",
2060
+ height: "22px",
2061
+ background: "transparent",
2062
+ alignSelf: "start"
2063
+ }
2064
+ }
2065
+ }
2066
+ },
2067
+ defaultVariants: {
2068
+ variant: "linear",
2069
+ size: "md"
2070
+ }
2071
+ });
2072
+
2073
+ // src/recipes/form-control.ts
2074
+ import { defineSlotRecipe as defineSlotRecipe11 } from "@pandacss/dev";
2075
+ var formControlSlotRecipe = defineSlotRecipe11({
2076
+ className: "form-control",
2077
+ jsx: ["MpFormControl", "mp-form-control"],
2078
+ slots: ["root", "label", "required", "helpText", "errorMessage"],
2079
+ base: {
2080
+ root: {},
2081
+ label: {
2082
+ fontSize: "md",
2083
+ fontWeight: "semiBold",
2084
+ marginBottom: "1",
2085
+ textAlign: "left",
2086
+ verticalAlign: "middle",
2087
+ display: "flex"
2023
2088
  },
2024
- label: {
2025
- background: "transparent"
2089
+ required: {
2090
+ color: "red.400",
2091
+ marginLeft: "1"
2092
+ },
2093
+ helpText: {
2094
+ color: "gray.600",
2095
+ fontSize: "sm",
2096
+ marginTop: "1"
2097
+ },
2098
+ errorMessage: {
2099
+ color: "red.400",
2100
+ fontSize: "sm",
2101
+ marginTop: "1",
2102
+ textAlign: "left",
2103
+ verticalAlign: "middle",
2104
+ display: "flex"
2026
2105
  }
2027
- }
2106
+ },
2107
+ variants: {},
2108
+ compoundVariants: [],
2109
+ defaultVariants: {}
2028
2110
  });
2029
2111
 
2030
- // src/recipes/radio.ts
2031
- import { defineSlotRecipe as defineSlotRecipe7 } from "@pandacss/dev";
2032
- var radioSlotRecipe = defineSlotRecipe7({
2033
- className: "radio",
2034
- jsx: ["MpRadio", "mp-radio"],
2035
- slots: ["root", "control", "label"],
2112
+ // src/recipes/input-tag.ts
2113
+ import { defineSlotRecipe as defineSlotRecipe12 } from "@pandacss/dev";
2114
+ var inputTagSlotRecipe = defineSlotRecipe12({
2115
+ className: "input-tag",
2116
+ jsx: ["MpInputTag", "mp-input-tag"],
2117
+ slots: [
2118
+ "root",
2119
+ "trigger",
2120
+ "input",
2121
+ "content",
2122
+ "resetButton",
2123
+ "dropdownButton",
2124
+ "addButton",
2125
+ "loading",
2126
+ "empty",
2127
+ "suggestionWrapper",
2128
+ "suggestionLoading"
2129
+ ],
2036
2130
  base: {
2037
2131
  root: {
2038
2132
  position: "relative",
2039
- display: "inline-flex",
2133
+ width: "full"
2134
+ },
2135
+ trigger: {
2136
+ overflowY: "auto",
2137
+ position: "relative",
2138
+ display: "flex",
2040
2139
  alignItems: "center",
2041
- justifyContent: "center",
2140
+ flexWrap: "wrap",
2042
2141
  gap: "2",
2043
- cursor: "pointer",
2044
- outline: "none",
2045
- "&[data-has-description=true]": {
2046
- alignItems: "flex-start",
2047
- "& .mp-radio__control": {
2048
- marginTop: "1"
2049
- }
2050
- },
2051
- "& .mp-shared__hidden": {
2052
- "&:focus + .mp-radio__control": {
2053
- borderColor: "blue.400",
2054
- boxShadow: "focus"
2055
- }
2056
- },
2142
+ borderWidth: "1px",
2143
+ borderColor: "gray.100",
2144
+ borderRadius: "md",
2145
+ paddingTop: "2",
2146
+ paddingBottom: "2",
2147
+ paddingLeft: "3",
2148
+ paddingRight: "8",
2149
+ backgroundColor: "white",
2150
+ transition: "all 250ms",
2057
2151
  _hover: {
2058
- "& .mp-radio__control": {
2059
- borderColor: "gray.400"
2152
+ borderColor: "gray.400"
2153
+ },
2154
+ _focusVisible: {
2155
+ boxShadow: "focus",
2156
+ borderColor: "blue.400",
2157
+ _hover: {
2158
+ borderColor: "blue.400"
2060
2159
  }
2061
2160
  },
2062
2161
  _disabled: {
2063
2162
  cursor: "not-allowed",
2064
- "& .mp-radio__control": {
2065
- borderColor: "gray.100 !important",
2066
- background: "gray.50 !important",
2067
- boxShadow: "none !important",
2068
- "& div": {
2069
- background: "gray.400"
2070
- }
2071
- }
2163
+ background: "gray.50"
2072
2164
  },
2073
2165
  _invalid: {
2074
- "& .mp-radio__control": {
2075
- borderColor: "red.400",
2076
- background: "white"
2077
- }
2078
- },
2079
- _checked: {
2080
- "& .mp-radio__control": {
2081
- borderColor: "blue.400",
2082
- background: "blue.400"
2083
- },
2166
+ borderColor: "red.400",
2084
2167
  _hover: {
2085
- "& .mp-radio__control": {
2086
- borderColor: "blue.400"
2087
- }
2168
+ borderColor: "red.400"
2088
2169
  }
2089
2170
  },
2090
- _indeterminate: {
2091
- "& .mp-radio__control": {
2092
- borderColor: "blue.400",
2093
- background: "blue.400"
2094
- },
2095
- _hover: {
2096
- "& .mp-radio__control": {
2097
- borderColor: "blue.400"
2098
- }
2099
- }
2171
+ _hasIcon: {
2172
+ paddingRight: "52px"
2100
2173
  }
2101
2174
  },
2102
- control: {
2103
- flex: "none",
2104
- transitionDuration: "250ms",
2105
- transitionProperty: "background, border-color, box-shadow",
2106
- transitionTimingFunction: "linear",
2175
+ input: {
2176
+ padding: "0 !important",
2177
+ margin: "0 !important"
2178
+ },
2179
+ content: {
2180
+ maxHeight: "300px",
2181
+ overflowY: "auto"
2182
+ },
2183
+ resetButton: {
2184
+ cursor: "pointer",
2185
+ position: "absolute",
2186
+ top: "2"
2187
+ },
2188
+ dropdownButton: {
2189
+ cursor: "pointer",
2190
+ position: "absolute",
2191
+ top: "2",
2192
+ right: "3"
2193
+ },
2194
+ addButton: {
2195
+ cursor: "pointer",
2196
+ width: "full",
2197
+ px: "3",
2198
+ py: "2",
2199
+ wordBreak: "break-all",
2200
+ textAlign: "center"
2201
+ },
2202
+ loading: {
2203
+ position: "absolute",
2204
+ top: "2",
2205
+ right: "3"
2206
+ },
2207
+ empty: {
2208
+ px: "3",
2209
+ py: "2",
2210
+ width: "full",
2211
+ textAlign: "left"
2212
+ },
2213
+ suggestionWrapper: {
2214
+ display: "flex",
2215
+ flexDirection: "column",
2216
+ width: "100%"
2217
+ },
2218
+ suggestionLoading: {
2219
+ display: "flex",
2220
+ justifyContent: "flex-start",
2221
+ gap: "3",
2222
+ width: "full",
2223
+ height: "9",
2224
+ py: "2",
2225
+ px: "3"
2226
+ }
2227
+ }
2228
+ });
2229
+
2230
+ // src/recipes/divider.ts
2231
+ import { defineRecipe as defineRecipe11 } from "@pandacss/dev";
2232
+ var dividerRecipe = defineRecipe11({
2233
+ className: "divider",
2234
+ jsx: ["MpDivider", "mp-divider"],
2235
+ base: {
2236
+ border: 0,
2237
+ opacity: 0.6,
2238
+ color: "rgb(208, 214, 221)"
2239
+ },
2240
+ variants: {
2241
+ orientation: {
2242
+ horizontal: {
2243
+ borderBottom: "0.0625rem solid",
2244
+ height: "auto",
2245
+ marginY: 2
2246
+ },
2247
+ vertical: {
2248
+ borderLeft: "0.0625rem solid",
2249
+ height: "auto",
2250
+ marginX: 2
2251
+ }
2252
+ }
2253
+ },
2254
+ compoundVariants: [],
2255
+ defaultVariants: {
2256
+ orientation: "horizontal"
2257
+ }
2258
+ });
2259
+
2260
+ // src/recipes/modal.ts
2261
+ import { defineSlotRecipe as defineSlotRecipe13 } from "@pandacss/dev";
2262
+ var modalSlotRecipe = defineSlotRecipe13({
2263
+ className: "modal",
2264
+ description: "The styles for the Modal component",
2265
+ jsx: ["MpModal", "mp-modal"],
2266
+ slots: ["root", "rootChild", "body", "contentRoot", "contentChild", "header", "footer", "body", "overlay", "closeButton"],
2267
+ base: {
2268
+ root: {
2107
2269
  position: "relative",
2108
- display: "inline-flex",
2109
- alignItems: "center",
2110
- justifyContent: "center",
2111
- width: "18px",
2112
- height: "18px",
2113
- borderWidth: "2px",
2270
+ zIndex: "modal"
2271
+ },
2272
+ rootChild: {
2273
+ position: "fixed",
2274
+ top: 0,
2275
+ right: 0,
2276
+ bottom: 0,
2277
+ left: 0
2278
+ },
2279
+ body: {
2280
+ p: 4,
2281
+ flex: 1
2282
+ },
2283
+ contentRoot: {
2284
+ pos: "fixed",
2285
+ left: "0",
2286
+ w: "100%",
2287
+ h: "100%",
2288
+ zIndex: "modal"
2289
+ },
2290
+ contentChild: {
2291
+ outline: 0,
2292
+ width: "100%",
2293
+ position: "relative",
2294
+ display: "flex",
2295
+ flexDir: "column",
2296
+ zIndex: "modal",
2297
+ fontFamily: "body",
2114
2298
  borderColor: "gray.100",
2115
- borderRadius: "full",
2116
- background: "white",
2117
- "& div": {
2118
- width: "2.5",
2119
- height: "2.5",
2120
- background: "white",
2121
- borderRadius: "full"
2299
+ bg: "white",
2300
+ marginInline: "auto"
2301
+ },
2302
+ header: {
2303
+ px: 4,
2304
+ py: 3,
2305
+ position: "relative",
2306
+ fontSize: "md",
2307
+ fontWeight: "semiBold",
2308
+ bg: "background",
2309
+ borderTopLeftRadius: "md",
2310
+ borderTopRightRadius: "md",
2311
+ borderBottom: "solid 1px",
2312
+ borderBottomColor: "gray.100"
2313
+ },
2314
+ closeButton: {
2315
+ position: "absolute",
2316
+ top: "10px",
2317
+ right: "12px",
2318
+ bg: "transparent",
2319
+ borderColor: "transparent"
2320
+ },
2321
+ footer: {
2322
+ display: "flex",
2323
+ pt: 2,
2324
+ px: 4,
2325
+ pb: 4,
2326
+ justifyContent: "flex-end"
2327
+ },
2328
+ overlay: {
2329
+ position: "fixed",
2330
+ bg: "overlay",
2331
+ left: "0",
2332
+ top: "0",
2333
+ w: "100vw",
2334
+ h: "100vh",
2335
+ zIndex: "overlay"
2336
+ }
2337
+ },
2338
+ variants: {
2339
+ full: {
2340
+ true: {
2341
+ contentRoot: {
2342
+ top: "0"
2343
+ },
2344
+ contentChild: {
2345
+ height: "100vh",
2346
+ border: "none",
2347
+ borderRadius: "none"
2348
+ }
2349
+ },
2350
+ false: {
2351
+ contentRoot: {
2352
+ top: "3.75rem"
2353
+ },
2354
+ contentChild: {
2355
+ height: "100%",
2356
+ borderWidth: "1px",
2357
+ borderRadius: "md"
2358
+ }
2122
2359
  }
2123
- },
2124
- label: {
2125
- background: "transparent"
2126
- }
2127
- }
2128
- });
2129
-
2130
- // src/recipes/shared.ts
2131
- import { defineSlotRecipe as defineSlotRecipe8 } from "@pandacss/dev";
2132
- var sharedSlotRecipe = defineSlotRecipe8({
2133
- className: "shared",
2134
- jsx: ["MpCheckbox", "mp-checkbox", "MpRadio", "mp-radio"],
2135
- slots: ["hidden"],
2136
- base: {
2137
- hidden: {
2138
- clip: "rect(0px, 0px, 0px, 0px)",
2139
- height: "1px",
2140
- width: "1px",
2141
- overflow: "hidden",
2142
- whiteSpace: "nowrap",
2143
- position: "absolute"
2144
2360
  }
2361
+ },
2362
+ defaultVariants: {
2363
+ full: false
2145
2364
  }
2146
2365
  });
2147
2366
 
2148
- // src/recipes/toggle.ts
2149
- import { defineSlotRecipe as defineSlotRecipe9 } from "@pandacss/dev";
2150
- var toggleSlotRecipe = defineSlotRecipe9({
2151
- className: "toggle",
2152
- jsx: ["MpToggle", "mp-toggle"],
2153
- slots: ["root", "control", "label"],
2367
+ // src/recipes/upload.ts
2368
+ import { defineSlotRecipe as defineSlotRecipe14 } from "@pandacss/dev";
2369
+ var uploadSlotRecipe = defineSlotRecipe14({
2370
+ className: "upload",
2371
+ jsx: ["MpUpload", "mp-upload"],
2372
+ slots: ["root", "resetButton"],
2154
2373
  base: {
2155
2374
  root: {
2156
2375
  position: "relative",
2157
- display: "inline-flex",
2376
+ width: "full",
2377
+ display: "flex",
2158
2378
  alignItems: "center",
2159
- justifyContent: "center",
2160
2379
  gap: "3",
2161
- cursor: "pointer",
2380
+ py: "1",
2381
+ pl: "1",
2382
+ pr: "3",
2383
+ borderWidth: "1px",
2384
+ borderColor: "gray.100",
2385
+ borderRadius: "md",
2386
+ backgroundColor: "white",
2162
2387
  outline: "none",
2163
- "&[data-has-description=true]": {
2164
- alignItems: "flex-start",
2165
- "& .mp-toggle__control": {
2166
- marginTop: "1"
2167
- }
2168
- },
2169
- "& .mp-shared__hidden": {
2170
- "&:focus + .mp-toggle__control": {
2171
- borderColor: "blue.400",
2172
- boxShadow: "focus"
2388
+ transition: "all 250ms",
2389
+ _hover: {
2390
+ borderColor: "gray.400",
2391
+ "& .mp-upload__resetButton": {
2392
+ display: "block"
2173
2393
  }
2174
2394
  },
2175
- _hover: {
2176
- "& .mp-toggle__control": {
2177
- borderColor: "gray.400",
2178
- background: "gray.400"
2395
+ _focusVisible: {
2396
+ boxShadow: "focus",
2397
+ borderColor: "blue.400",
2398
+ _hover: {
2399
+ borderColor: "blue.400"
2179
2400
  }
2180
2401
  },
2181
2402
  _disabled: {
2182
2403
  cursor: "not-allowed",
2183
- "& .mp-toggle__control": {
2184
- borderColor: "gray.100 !important",
2185
- background: "gray.50 !important",
2186
- boxShadow: "none !important",
2187
- "& div": {
2188
- background: "gray.100"
2189
- }
2190
- }
2404
+ background: "gray.50"
2191
2405
  },
2192
2406
  _invalid: {
2193
- "& .mp-toggle__control": {
2194
- borderColor: "red.400",
2195
- background: "red.400"
2196
- }
2197
- },
2198
- _checked: {
2199
- "& .mp-toggle__control": {
2200
- borderColor: "blue.400",
2201
- background: "blue.400",
2202
- "& div": {
2203
- transform: "translateX(var(--mp-sizes-3))"
2204
- }
2205
- },
2407
+ borderColor: "red.400",
2206
2408
  _hover: {
2207
- "& .mp-toggle__control": {
2208
- borderColor: "blue.400",
2209
- background: "blue.400"
2210
- }
2409
+ borderColor: "red.400"
2211
2410
  }
2212
2411
  }
2213
2412
  },
2214
- control: {
2215
- flex: "none",
2413
+ resetButton: {
2414
+ display: "none",
2415
+ cursor: "pointer",
2416
+ position: "absolute",
2417
+ top: "2",
2418
+ right: "3"
2419
+ }
2420
+ }
2421
+ });
2422
+ var uploadListSlotRecipe = defineSlotRecipe14({
2423
+ className: "upload-list",
2424
+ jsx: ["MpUploadList", "mp-upload-list"],
2425
+ slots: ["root", "titleWrapper", "actionWrapper"],
2426
+ base: {
2427
+ root: {
2216
2428
  position: "relative",
2217
- display: "inline-flex",
2429
+ width: "full",
2430
+ display: "flex",
2218
2431
  alignItems: "center",
2219
- justifyContent: "flex-start",
2220
- width: "7",
2221
- height: "4",
2222
- borderWidth: "1px",
2223
- borderColor: "gray.100",
2224
- borderRadius: "lg",
2225
- background: "gray.100",
2226
- "& div": {
2227
- transitionDuration: "250ms",
2228
- transitionProperty: "transform",
2229
- transitionTimingFunction: "linear",
2230
- transform: "translateX(2px)",
2231
- width: "3",
2232
- height: "3",
2233
- background: "white",
2234
- borderRadius: "full"
2432
+ justifyContent: "start",
2433
+ gap: "3",
2434
+ py: "2",
2435
+ px: "1",
2436
+ borderRadius: "md",
2437
+ backgroundColor: "white",
2438
+ transition: "all 250ms",
2439
+ _hover: {
2440
+ backgroundColor: "background"
2235
2441
  }
2236
2442
  },
2237
- label: {
2238
- background: "transparent"
2443
+ titleWrapper: {
2444
+ display: "flex",
2445
+ flexDirection: "column",
2446
+ minWidth: "1px"
2447
+ },
2448
+ actionWrapper: {
2449
+ display: "flex",
2450
+ flexDirection: "row",
2451
+ gap: "0.5",
2452
+ ml: "auto",
2453
+ "& > button": {
2454
+ // Remove hover style for Button Icon
2455
+ _hover: {
2456
+ background: "transparent!important",
2457
+ borderColor: "transparent!important"
2458
+ }
2459
+ }
2239
2460
  }
2240
2461
  }
2241
2462
  });
2242
2463
 
2243
- // src/recipes/table.ts
2244
- import { defineRecipe as defineRecipe10 } from "@pandacss/dev";
2245
- var tableRecipe = defineRecipe10({
2246
- className: "table",
2247
- jsx: ["MpTable", "mp-table"],
2464
+ // src/recipes/dropzone.ts
2465
+ import { defineSlotRecipe as defineSlotRecipe15 } from "@pandacss/dev";
2466
+ var dropzoneSlotRecipe = defineSlotRecipe15({
2467
+ className: "dropzone",
2468
+ jsx: ["MpDropzone", "mp-dropzone"],
2469
+ slots: [
2470
+ "root",
2471
+ "wrapper",
2472
+ "box",
2473
+ "logoBox",
2474
+ "productBox",
2475
+ "avatarBox",
2476
+ "overlayWrapper",
2477
+ "overlay",
2478
+ "preview",
2479
+ "overlayPreview",
2480
+ "clearButton"
2481
+ ],
2248
2482
  base: {
2249
- position: "relative",
2250
- width: "full",
2251
- display: "table",
2252
- borderCollapse: "collapse",
2253
- borderSpacing: "0px",
2254
- whiteSpace: "nowrap",
2255
- "&[data-table-hoverable=true]": {
2256
- "& tr": {
2257
- _hover: {
2258
- "& > td": {
2259
- backgroundColor: "gray.50"
2260
- }
2261
- }
2262
- }
2483
+ root: {
2484
+ position: "relative",
2485
+ width: "full",
2486
+ height: "full"
2263
2487
  },
2264
- thead: {
2488
+ wrapper: {
2489
+ position: "relative",
2490
+ display: "flex",
2491
+ flexDirection: "column",
2492
+ justifyContent: "center",
2493
+ alignItems: "center",
2265
2494
  width: "full",
2266
- backgroundColor: "gray.25",
2267
- "&[data-table-head-fixed=true]": {
2268
- position: "sticky",
2269
- zIndex: "sticky",
2270
- top: "0",
2271
- boxShadow: "0px 2px var(--mp-colors-gray-100)"
2495
+ height: "inherit",
2496
+ minHeight: "inherit",
2497
+ borderWidth: "1px",
2498
+ borderColor: "gray.100",
2499
+ borderRadius: "md",
2500
+ borderStyle: "dashed",
2501
+ background: "white",
2502
+ outline: "none",
2503
+ transition: "all 250ms",
2504
+ _hover: {
2505
+ borderColor: "gray.400",
2506
+ "& [data-overlay-preview=true]": {
2507
+ display: "flex"
2508
+ }
2509
+ },
2510
+ _focusVisible: {
2511
+ boxShadow: "focus",
2512
+ borderColor: "blue.400",
2513
+ _hover: {
2514
+ borderColor: "blue.400"
2515
+ }
2516
+ },
2517
+ _disabled: {
2518
+ cursor: "not-allowed",
2519
+ background: "gray.50!"
2520
+ },
2521
+ _invalid: {
2522
+ borderColor: "red.400",
2523
+ backgroundColor: "red.50!",
2524
+ _hover: {
2525
+ borderColor: "red.400!"
2526
+ }
2272
2527
  }
2273
2528
  },
2274
- tbody: {
2275
- width: "full"
2529
+ box: {
2530
+ display: "flex",
2531
+ flexDirection: "column",
2532
+ alignItems: "center",
2533
+ justifyContent: "center",
2534
+ gap: "2"
2276
2535
  },
2277
- tr: {
2536
+ logoBox: {
2537
+ display: "flex",
2538
+ alignItems: "center",
2539
+ justifyContent: "center",
2540
+ gap: "2",
2278
2541
  width: "full",
2279
- boxSizing: "border-box",
2280
- whiteSpace: "nowrap"
2281
- },
2282
- "th, td": {
2283
- cursor: "default",
2284
- paddingLeft: "2",
2285
- paddingRight: "4",
2286
- paddingY: "2",
2287
- height: "12",
2288
- textStyle: "label.md",
2289
- textAlign: "left",
2290
- borderBottom: "sm",
2291
- borderStyle: "solid",
2292
- borderColor: "gray.100",
2293
- transition: "background linear 120ms"
2294
- },
2295
- th: {
2296
- fontWeight: "semiBold",
2297
- backgroundColor: "gray.25"
2542
+ height: "full",
2543
+ borderRadius: "inherit",
2544
+ cursor: "pointer"
2298
2545
  },
2299
- td: {
2300
- fontWeight: "regular",
2301
- backgroundColor: "white"
2546
+ productBox: {
2547
+ display: "flex",
2548
+ flexDirection: "column",
2549
+ alignItems: "center",
2550
+ justifyContent: "center",
2551
+ gap: "2",
2552
+ width: "full",
2553
+ height: "full",
2554
+ borderRadius: "inherit",
2555
+ cursor: "pointer"
2302
2556
  },
2303
- "th[data-table-cell-fixed=true], td[data-table-cell-fixed=true]": {
2304
- position: "sticky",
2305
- zIndex: "docked",
2306
- left: "0",
2307
- right: "0"
2308
- }
2309
- }
2310
- });
2311
- var tableContainerRecipe = defineRecipe10({
2312
- className: "table-container",
2313
- jsx: ["MpTableContainer", "mp-table-container"],
2314
- base: {
2315
- position: "relative",
2316
- overflow: "auto",
2317
- "&[data-table-has-left-shadow=true]": {
2318
- _before: {
2319
- boxShadow: "inset 10px 0 8px -8px rgba(5, 5, 5, 0.08)"
2320
- }
2557
+ avatarBox: {
2558
+ display: "flex",
2559
+ alignItems: "center",
2560
+ justifyContent: "center",
2561
+ width: "full",
2562
+ height: "full",
2563
+ borderRadius: "inherit",
2564
+ cursor: "pointer"
2321
2565
  },
2322
- "&[data-table-has-right-shadow=true]": {
2323
- _after: {
2324
- boxShadow: "inset -10px 0 8px -8px rgba(5, 5, 5, 0.08)"
2325
- }
2566
+ overlayWrapper: {
2567
+ width: "full",
2568
+ height: "inherit",
2569
+ minHeight: "inherit",
2570
+ borderRadius: "inherit"
2326
2571
  },
2327
- _before: {
2328
- content: '""',
2572
+ overlay: {
2329
2573
  position: "absolute",
2330
- zIndex: "docked",
2331
- boxShadow: "none",
2332
- transition: "box-shadow 300ms",
2333
- insetInlineStart: 0,
2334
- width: "30px",
2335
- top: 0,
2336
- bottom: 0,
2337
- pointerEvents: "none"
2574
+ zIndex: "1",
2575
+ display: "flex",
2576
+ flexDirection: "column",
2577
+ alignItems: "center",
2578
+ justifyContent: "center",
2579
+ gap: "2",
2580
+ width: "full",
2581
+ height: "full",
2582
+ top: "0",
2583
+ right: "0",
2584
+ backdropFilter: "blur(12px)",
2585
+ borderRadius: "md",
2586
+ borderWidth: "1px",
2587
+ borderColor: "blue.400",
2588
+ borderStyle: "dashed"
2338
2589
  },
2339
- _after: {
2340
- content: '""',
2590
+ preview: {
2591
+ display: "flex",
2592
+ flexDirection: "column",
2593
+ alignItems: "center",
2594
+ justifyContent: "center",
2595
+ height: "full",
2596
+ borderRadius: "inherit"
2597
+ },
2598
+ overlayPreview: {
2599
+ display: "none",
2600
+ cursor: "pointer",
2341
2601
  position: "absolute",
2342
- zIndex: "docked",
2343
- boxShadow: "none",
2344
- transition: "box-shadow linear 300ms",
2345
- insetInlineEnd: 0,
2346
- width: "30px",
2347
- top: 0,
2348
- bottom: 0,
2349
- pointerEvents: "none"
2602
+ zIndex: "1",
2603
+ width: "full",
2604
+ height: "full",
2605
+ background: "overlay",
2606
+ backdropFilter: "blur(12px)",
2607
+ borderRadius: "inherit",
2608
+ flexDirection: "column",
2609
+ justifyContent: "center",
2610
+ alignItems: "center",
2611
+ gap: "2"
2612
+ },
2613
+ clearButton: {
2614
+ cursor: "pointer",
2615
+ position: "absolute",
2616
+ zIndex: "2",
2617
+ background: "white",
2618
+ border: "2px solid white",
2619
+ borderRadius: "full"
2350
2620
  }
2351
2621
  }
2352
2622
  });
2353
2623
 
2354
- // src/recipes/progress.ts
2355
- import { defineSlotRecipe as defineSlotRecipe10 } from "@pandacss/dev";
2356
- var progressSlotRecipe = defineSlotRecipe10({
2357
- className: "progress",
2358
- jsx: ["MpProgress", "mp-progress"],
2359
- slots: ["root", "linear", "circularBase", "circularTrack"],
2624
+ // src/recipes/banner.ts
2625
+ import { defineRecipe as defineRecipe12, defineSlotRecipe as defineSlotRecipe16 } from "@pandacss/dev";
2626
+ var bannerSlotRecipe = defineSlotRecipe16({
2627
+ className: "banner",
2628
+ jsx: ["MpBanner", "mp-banner"],
2629
+ slots: ["root", "body"],
2360
2630
  base: {
2361
2631
  root: {
2632
+ display: "flex",
2362
2633
  position: "relative",
2363
- width: "full",
2364
- borderRadius: "100px",
2365
- background: "gray.100",
2366
- transition: "all 250ms linear"
2367
- },
2368
- linear: {
2369
- transition: "all 250ms linear",
2370
- height: "full",
2371
- borderRadius: "100px",
2372
- background: "var(--mp-progress-color)",
2373
- width: "var(--mp-progress-width)"
2374
- },
2375
- circularBase: {
2376
- width: "full",
2377
- height: "full",
2378
- borderRadius: "full",
2379
- background: "conic-gradient(var(--mp-progress-color) var(--mp-progress-width), var(--mp-colors-gray-100) 0deg)"
2634
+ alignItems: "var(--mp-banner--align-items)",
2635
+ borderRadius: "md",
2636
+ paddingY: "var(--mp-banner--padding-y)",
2637
+ paddingX: "var(--mp-banner--padding-x)"
2380
2638
  },
2381
- circularTrack: {
2382
- width: "calc(100% - 6px)",
2383
- height: "calc(100% - 6px)",
2384
- position: "absolute",
2385
- top: "50%",
2386
- left: "50%",
2387
- transform: "translate(-50%, -50%)",
2388
- backgroundColor: "white",
2389
- borderRadius: "full"
2639
+ body: {
2640
+ display: "flex",
2641
+ justifyContent: "space-between",
2642
+ alignItems: "center",
2643
+ width: "full"
2390
2644
  }
2391
2645
  },
2392
2646
  variants: {
2393
- size: {
2394
- md: {
2395
- linear: {
2396
- height: "3"
2397
- }
2398
- },
2399
- sm: {
2400
- linear: {
2401
- height: "2"
2402
- }
2403
- }
2404
- },
2405
2647
  variant: {
2406
- linear: {
2407
- root: {
2408
- borderRadius: "100px"
2409
- }
2648
+ info: {
2649
+ root: { backgroundColor: "blue.50" }
2410
2650
  },
2411
- circular: {
2412
- root: {
2413
- borderRadius: "full",
2414
- width: "22px",
2415
- height: "22px",
2416
- background: "transparent",
2417
- alignSelf: "start"
2418
- }
2651
+ success: {
2652
+ root: { backgroundColor: "green.50" }
2653
+ },
2654
+ danger: {
2655
+ root: { backgroundColor: "red.50" }
2656
+ },
2657
+ warning: {
2658
+ root: { backgroundColor: "orange.50" }
2419
2659
  }
2420
2660
  }
2421
2661
  },
2662
+ compoundVariants: [],
2422
2663
  defaultVariants: {
2423
- variant: "linear",
2424
- size: "md"
2664
+ variant: "info"
2425
2665
  }
2426
2666
  });
2427
-
2428
- // src/recipes/form-control.ts
2429
- import { defineSlotRecipe as defineSlotRecipe11 } from "@pandacss/dev";
2430
- var formControlSlotRecipe = defineSlotRecipe11({
2431
- className: "form-control",
2432
- jsx: ["MpFormControl", "mp-form-control"],
2433
- slots: ["root", "label", "required", "helpText", "errorMessage"],
2667
+ var bannerTitleRecipe = defineRecipe12({
2668
+ className: "banner-title",
2669
+ jsx: ["MpBannerTitle", "mp-banner-title"],
2434
2670
  base: {
2435
- root: {},
2436
- label: {
2437
- fontSize: "md",
2438
- fontWeight: "semiBold",
2439
- marginBottom: "1",
2440
- textAlign: "left",
2441
- verticalAlign: "middle",
2442
- display: "flex"
2443
- },
2444
- required: {
2445
- color: "red.400",
2446
- marginLeft: "1"
2447
- },
2448
- helpText: {
2449
- color: "gray.600",
2450
- fontSize: "sm",
2451
- marginTop: "1"
2671
+ fontFamily: "body",
2672
+ fontSize: "md",
2673
+ fontWeight: "semiBold",
2674
+ lineHeight: "md",
2675
+ letterSpacing: "normal",
2676
+ color: "dark",
2677
+ marginTop: "0.5",
2678
+ marginBottom: "1.5"
2679
+ },
2680
+ variants: {},
2681
+ compoundVariants: [],
2682
+ defaultVariants: {}
2683
+ });
2684
+ var bannerDescriptionRecipe = defineRecipe12({
2685
+ className: "banner-description",
2686
+ jsx: ["MpBannerDescription", "mp-banner-description"],
2687
+ base: {
2688
+ fontFamily: "body",
2689
+ fontSize: "md",
2690
+ fontWeight: "regular",
2691
+ lineHeight: "md",
2692
+ letterSpacing: "normal",
2693
+ color: "dark"
2694
+ },
2695
+ variants: {},
2696
+ compoundVariants: [],
2697
+ defaultVariants: {}
2698
+ });
2699
+ var bannerIconSlotRecipe = defineSlotRecipe16({
2700
+ className: "banner-icon",
2701
+ jsx: ["MpBannerIcon", "mp-banner-icon"],
2702
+ slots: ["root", "custom"],
2703
+ base: {
2704
+ root: {
2705
+ marginRight: "3"
2452
2706
  },
2453
- errorMessage: {
2454
- color: "red.400",
2455
- fontSize: "sm",
2456
- marginTop: "1",
2457
- textAlign: "left",
2707
+ custom: {
2708
+ flexShrink: "0",
2709
+ backfaceVisibility: "hidden",
2710
+ width: "6",
2711
+ height: "6",
2712
+ display: "inline-block",
2458
2713
  verticalAlign: "middle",
2459
- display: "flex"
2714
+ marginRight: "3",
2715
+ color: "var(--mp-banner-icon--color)"
2716
+ }
2717
+ },
2718
+ variants: {},
2719
+ compoundVariants: [],
2720
+ defaultVariants: {}
2721
+ });
2722
+ var bannerLinkRecipe = defineRecipe12({
2723
+ className: "banner-link",
2724
+ jsx: ["MpBannerLink", "mp-banner-link"],
2725
+ base: {
2726
+ display: "flex",
2727
+ gap: "4",
2728
+ marginBottom: "var(--mp-banner-link--margin-bottom)",
2729
+ marginTop: "var(--mp-banner-link--margin-top)"
2730
+ },
2731
+ variants: {},
2732
+ compoundVariants: [],
2733
+ defaultVariants: {}
2734
+ });
2735
+ var bannerCloseButtonRecipe = defineRecipe12({
2736
+ className: "banner-close-button",
2737
+ jsx: ["MpBannerCloseButton", "mp-banner-close-button"],
2738
+ base: {
2739
+ position: "absolute",
2740
+ top: "var(--mp-banner-close-button--top)",
2741
+ right: "var(--mp-banner-close-button--right)",
2742
+ display: "inline-flex",
2743
+ justifyContent: "center",
2744
+ alignItems: "center",
2745
+ width: "6",
2746
+ height: "6",
2747
+ cursor: "pointer"
2748
+ },
2749
+ variants: {},
2750
+ compoundVariants: [],
2751
+ defaultVariants: {}
2752
+ });
2753
+
2754
+ // src/recipes/index.ts
2755
+ var recipes = {
2756
+ buttonRecipe,
2757
+ buttonGroupRecipe,
2758
+ textRecipe,
2759
+ iconRecipe,
2760
+ spinnerRecipe,
2761
+ popoverContentRecipe,
2762
+ popoverListRecipe,
2763
+ popoverListItemRecipe,
2764
+ badgeRecipe,
2765
+ textareaRecipe,
2766
+ tooltipRecipe,
2767
+ tabListRecipe,
2768
+ tabRecipe,
2769
+ selectedBorderRecipe,
2770
+ tableRecipe,
2771
+ tableContainerRecipe,
2772
+ dividerRecipe,
2773
+ bannerTitleRecipe,
2774
+ bannerDescriptionRecipe,
2775
+ bannerLinkRecipe,
2776
+ bannerCloseButtonRecipe
2777
+ };
2778
+ var slotRecipes = {
2779
+ accordion,
2780
+ checkboxSlotRecipe,
2781
+ radioSlotRecipe,
2782
+ sharedSlotRecipe,
2783
+ progressSlotRecipe,
2784
+ toggleSlotRecipe,
2785
+ tagSlotRecipe,
2786
+ inputSlotRecipe,
2787
+ inputGroupSlotRecipe,
2788
+ inputAddonSlotRecipe,
2789
+ avatarSlotRecipe,
2790
+ avatarGroupSlotRecipe,
2791
+ selectSlotRecipe,
2792
+ formControlSlotRecipe,
2793
+ inputTagSlotRecipe,
2794
+ modalSlotRecipe,
2795
+ uploadSlotRecipe,
2796
+ uploadListSlotRecipe,
2797
+ dropzoneSlotRecipe,
2798
+ bannerSlotRecipe,
2799
+ bannerIconSlotRecipe
2800
+ };
2801
+
2802
+ // src/text-styles.ts
2803
+ import { defineTextStyles } from "@pandacss/dev";
2804
+ var textStyles = defineTextStyles({
2805
+ overline: { value: { fontSize: "xs", lineHeight: "xs" } },
2806
+ body: {
2807
+ sm: { value: { fontSize: "sm", lineHeight: "2xl" } },
2808
+ md: { value: { fontSize: "md", lineHeight: "3xl" } }
2809
+ },
2810
+ label: {
2811
+ sm: { value: { fontSize: "sm", lineHeight: "sm" } },
2812
+ md: { value: { fontSize: "md", lineHeight: "lg" } }
2813
+ },
2814
+ h3: {
2815
+ value: {
2816
+ fontSize: "lg",
2817
+ lineHeight: "xl",
2818
+ fontWeight: "semiBold !important"
2819
+ }
2820
+ },
2821
+ h2: {
2822
+ value: {
2823
+ fontSize: "xl",
2824
+ lineHeight: "md",
2825
+ fontWeight: "semiBold !important"
2460
2826
  }
2461
2827
  },
2462
- variants: {},
2463
- compoundVariants: [],
2464
- defaultVariants: {}
2828
+ h1: {
2829
+ value: {
2830
+ fontSize: "2xl",
2831
+ lineHeight: "sm",
2832
+ fontWeight: "semiBold !important"
2833
+ }
2834
+ }
2465
2835
  });
2466
2836
 
2467
- // src/recipes/input-tag.ts
2468
- import { defineSlotRecipe as defineSlotRecipe12 } from "@pandacss/dev";
2469
- var inputTagSlotRecipe = defineSlotRecipe12({
2470
- className: "input-tag",
2471
- jsx: ["MpInputTag", "mp-input-tag"],
2472
- slots: [
2473
- "root",
2474
- "trigger",
2475
- "input",
2476
- "content",
2477
- "resetButton",
2478
- "dropdownButton",
2479
- "addButton",
2480
- "loading",
2481
- "empty",
2482
- "suggestionWrapper",
2483
- "suggestionLoading"
2484
- ],
2485
- base: {
2486
- root: {
2487
- position: "relative",
2488
- width: "full"
2489
- },
2490
- trigger: {
2491
- overflowY: "auto",
2492
- position: "relative",
2493
- display: "flex",
2494
- alignItems: "center",
2495
- flexWrap: "wrap",
2496
- gap: "2",
2497
- borderWidth: "1px",
2498
- borderColor: "gray.100",
2499
- borderRadius: "md",
2500
- paddingTop: "2",
2501
- paddingBottom: "2",
2502
- paddingLeft: "3",
2503
- paddingRight: "8",
2504
- backgroundColor: "white",
2505
- transition: "all 250ms",
2506
- _hover: {
2507
- borderColor: "gray.400"
2508
- },
2509
- _focusVisible: {
2510
- boxShadow: "focus",
2511
- borderColor: "blue.400",
2512
- _hover: {
2513
- borderColor: "blue.400"
2514
- }
2515
- },
2516
- _disabled: {
2517
- cursor: "not-allowed",
2518
- background: "gray.50"
2519
- },
2520
- _invalid: {
2521
- borderColor: "red.400",
2522
- _hover: {
2523
- borderColor: "red.400"
2524
- }
2525
- },
2526
- _hasIcon: {
2527
- paddingRight: "52px"
2528
- }
2529
- },
2530
- input: {
2531
- padding: "0 !important",
2532
- margin: "0 !important"
2533
- },
2534
- content: {
2535
- maxHeight: "300px",
2536
- overflowY: "auto"
2537
- },
2538
- resetButton: {
2539
- cursor: "pointer",
2540
- position: "absolute",
2541
- top: "2"
2542
- },
2543
- dropdownButton: {
2544
- cursor: "pointer",
2545
- position: "absolute",
2546
- top: "2",
2547
- right: "3"
2548
- },
2549
- addButton: {
2550
- cursor: "pointer",
2551
- width: "full",
2552
- px: "3",
2553
- py: "2",
2554
- wordBreak: "break-all",
2555
- textAlign: "center"
2556
- },
2557
- loading: {
2558
- position: "absolute",
2559
- top: "2",
2560
- right: "3"
2837
+ // src/tokens/index.ts
2838
+ import { defineTokens as defineTokens11 } from "@pandacss/dev";
2839
+
2840
+ // src/tokens/borders.ts
2841
+ import { defineTokens } from "@pandacss/dev";
2842
+ var borders = defineTokens.borders({
2843
+ none: { value: "none" },
2844
+ sm: { value: "1px" },
2845
+ md: { value: "1.5px" },
2846
+ lg: { value: "2px" }
2847
+ });
2848
+
2849
+ // src/tokens/colors.ts
2850
+ import { defineTokens as defineTokens2 } from "@pandacss/dev";
2851
+ var colors = defineTokens2.colors({
2852
+ currentcolor: {
2853
+ value: "currentcolor",
2854
+ description: "Need to add this for Icon usage"
2855
+ },
2856
+ dark: { value: "#232933", description: "Default or primary text color" },
2857
+ white: {
2858
+ value: "#FFFFFF",
2859
+ description: "Background color in components such as Card, Modal, and Popover"
2860
+ },
2861
+ background: { value: "#F1F5F9", description: "For use as background page" },
2862
+ overlay: {
2863
+ value: "rgba(22, 26, 32, 0.8)",
2864
+ description: "For use as overlay"
2865
+ },
2866
+ brand: {
2867
+ capital: { value: "#2F5573", description: "Mekari Capital" },
2868
+ esign: { value: "#00C853", description: "Mekari e-Sign" },
2869
+ expense: { value: "#183883", description: "Mekari Expense" },
2870
+ flex: { value: "#7C4DFF", description: "Mekari Flex" },
2871
+ jurnal: { value: "#40C3FF", description: "Mekari Jurnal" },
2872
+ klikpajak: { value: "#FF9100", description: "Mekari Klikpajak" },
2873
+ mekari: { value: "#651FFF", description: "Mekari" },
2874
+ qontak: { value: "#2979FF", description: "Mekari Qontak" },
2875
+ talenta: { value: "#F22929", description: "Mekari Talenta" },
2876
+ university: { value: "#448AFF", description: "Mekari University" }
2877
+ },
2878
+ whiteAlpha: {
2879
+ 50: { value: "rgba(255, 255, 255, 0.04)" },
2880
+ 100: { value: "rgba(255, 255, 255, 0.06)" },
2881
+ 200: { value: "rgba(255, 255, 255, 0.08)" },
2882
+ 300: { value: "rgba(255, 255, 255, 0.16)" },
2883
+ 400: { value: "rgba(255, 255, 255, 0.24)" },
2884
+ 500: { value: "rgba(255, 255, 255, 0.36)" },
2885
+ 600: { value: "rgba(255, 255, 255, 0.48)" },
2886
+ 700: { value: "rgba(255, 255, 255, 0.64)" },
2887
+ 800: { value: "rgba(255, 255, 255, 0.80)" },
2888
+ 900: { value: "rgba(255, 255, 255, 0.92)" }
2889
+ },
2890
+ blackAplpha: {
2891
+ 50: { value: "rgba(0, 0, 0, 0.04)" },
2892
+ 100: { value: "rgba(0, 0, 0, 0.06)" },
2893
+ 200: { value: "rgba(0, 0, 0, 0.08)" },
2894
+ 300: { value: "rgba(0, 0, 0, 0.16)" },
2895
+ 400: { value: "rgba(0, 0, 0, 0.24)" },
2896
+ 500: { value: "rgba(0, 0, 0, 0.36)" },
2897
+ 600: { value: "rgba(0, 0, 0, 0.48)" },
2898
+ 700: { value: "rgba(0, 0, 0, 0.64)" },
2899
+ 800: { value: "rgba(0, 0, 0, 0.80)" },
2900
+ 900: { value: "rgba(0, 0, 0, 0.92)" }
2901
+ },
2902
+ gray: {
2903
+ 25: {
2904
+ value: "#F8F9FB",
2905
+ description: "Background color in table header component"
2561
2906
  },
2562
- empty: {
2563
- px: "3",
2564
- py: "2",
2565
- width: "full",
2566
- textAlign: "left"
2907
+ 50: {
2908
+ value: "#EDF0F2",
2909
+ description: "Disabled background color in components such as Input and Select backgrounds"
2567
2910
  },
2568
- suggestionWrapper: {
2569
- display: "flex",
2570
- flexDirection: "column",
2571
- width: "100%"
2911
+ 100: { value: "#D0D6DD", description: "Default stroke color or divider" },
2912
+ 400: {
2913
+ value: "#8B95A5",
2914
+ description: "Disabled and placeholder text color, icon or in components such as hover state Input, Select and stroke in Popover"
2572
2915
  },
2573
- suggestionLoading: {
2574
- display: "flex",
2575
- justifyContent: "flex-start",
2576
- gap: "3",
2577
- width: "full",
2578
- height: "9",
2579
- py: "2",
2580
- px: "3"
2916
+ 600: {
2917
+ value: "#626B79",
2918
+ description: "Description text color and default color for outline icon"
2581
2919
  }
2920
+ },
2921
+ blue: {
2922
+ 50: { value: "#EAECFB" },
2923
+ 100: { value: "#D5DEFF" },
2924
+ 400: { value: "#4B61DD" },
2925
+ 500: { value: "#1C44D5" },
2926
+ 700: { value: "#0031BE" }
2927
+ },
2928
+ red: {
2929
+ 50: { value: "#FDECEE" },
2930
+ 400: { value: "#DA473F" },
2931
+ 500: { value: "#C83E39" },
2932
+ 700: { value: "#AB3129" }
2933
+ },
2934
+ green: {
2935
+ 50: { value: "#E8F5EB" },
2936
+ 400: { value: "#68BE79" },
2937
+ 500: { value: "#4FB262" },
2938
+ 700: { value: "#3C914D" }
2939
+ },
2940
+ orange: {
2941
+ 50: { value: "#FBF3DD" },
2942
+ 400: { value: "#E0AB00" },
2943
+ 500: { value: "#DE9400" },
2944
+ 700: { value: "#DB8000" }
2945
+ },
2946
+ sky: {
2947
+ 100: { value: "#60A5FA" },
2948
+ 400: { value: "#3B82F6" }
2949
+ },
2950
+ teal: {
2951
+ 100: { value: "#2DD4BF" },
2952
+ 400: { value: "#14B8A6" }
2953
+ },
2954
+ violet: {
2955
+ 100: { value: "#A78BFA" },
2956
+ 400: { value: "#8B5CF6" }
2957
+ },
2958
+ amber: {
2959
+ 100: { value: "#FBBF24" },
2960
+ 400: { value: "#F59E0B" }
2961
+ },
2962
+ rose: {
2963
+ 100: { value: "#F87171" },
2964
+ 400: { value: "#EF4444" }
2965
+ },
2966
+ stone: {
2967
+ 100: { value: "#A1A1AA" },
2968
+ 400: { value: "#71717A" }
2969
+ },
2970
+ lime: {
2971
+ 100: { value: "#A3E635" },
2972
+ 400: { value: "#84CC16" }
2973
+ },
2974
+ pink: {
2975
+ 100: { value: "#F472B6" },
2976
+ 400: { value: "#EC4899" }
2977
+ },
2978
+ apricot: {
2979
+ 100: { value: "#FB923C" },
2980
+ 400: { value: "#F97316" }
2981
+ },
2982
+ aqua: {
2983
+ 100: { value: "#22D3EE" },
2984
+ 400: { value: "#06B6D4" }
2985
+ },
2986
+ leaf: {
2987
+ 100: { value: "#4ADE80" },
2988
+ 400: { value: "#22C55E" }
2989
+ },
2990
+ fuchsia: {
2991
+ 100: { value: "#E879F9" },
2992
+ 400: { value: "#D946EF" }
2993
+ },
2994
+ ice: {
2995
+ 50: { value: "#E0EEFF" },
2996
+ 100: { value: "#B4D3F2" }
2997
+ },
2998
+ ash: {
2999
+ 100: { value: "#E7EDF5" }
2582
3000
  }
2583
3001
  });
2584
3002
 
2585
- // src/recipes/divider.ts
2586
- import { defineRecipe as defineRecipe11 } from "@pandacss/dev";
2587
- var dividerRecipe = defineRecipe11({
2588
- className: "divider",
2589
- jsx: ["MpDivider", "mp-divider"],
2590
- base: {
2591
- border: 0,
2592
- opacity: 0.6,
2593
- color: "rgb(208, 214, 221)"
3003
+ // src/tokens/durations.ts
3004
+ import { defineTokens as defineTokens3 } from "@pandacss/dev";
3005
+ var durations = defineTokens3.durations({
3006
+ slow: { value: "100ms" },
3007
+ normal: { value: "250ms" },
3008
+ fast: { value: "300ms" }
3009
+ });
3010
+
3011
+ // src/tokens/opacity.ts
3012
+ import { defineTokens as defineTokens4 } from "@pandacss/dev";
3013
+ var opacity = defineTokens4.opacity({
3014
+ 0: { value: 0 },
3015
+ 40: { value: 0.4 },
3016
+ 60: { value: 0.6 },
3017
+ 100: { value: 1 }
3018
+ });
3019
+
3020
+ // src/tokens/radii.ts
3021
+ import { defineTokens as defineTokens5 } from "@pandacss/dev";
3022
+ var radii = defineTokens5.radii({
3023
+ none: { value: "0" },
3024
+ xs: { value: "0.125rem", description: "2px" },
3025
+ sm: { value: "0.25rem", description: "4px" },
3026
+ md: { value: "0.375rem", description: "6px" },
3027
+ lg: { value: "0.5rem", description: "8px" },
3028
+ xl: { value: "0.75rem", description: "12px" },
3029
+ full: { value: "50%" }
3030
+ });
3031
+
3032
+ // src/tokens/shadows.ts
3033
+ import { defineTokens as defineTokens6 } from "@pandacss/dev";
3034
+ var shadows = defineTokens6.shadows({
3035
+ xs: {
3036
+ value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
2594
3037
  },
2595
- variants: {
2596
- orientation: {
2597
- horizontal: {
2598
- borderBottom: "0.0625rem solid",
2599
- height: "auto",
2600
- marginY: 2
2601
- },
2602
- vertical: {
2603
- borderLeft: "0.0625rem solid",
2604
- height: "auto",
2605
- marginX: 2
2606
- }
2607
- }
3038
+ sm: {
3039
+ value: ["0px 4px 6px -2px rgba(0, 0, 0, 0.05)", "0px 10px 15px -3px rgba(0, 0, 0, 0.10)"]
2608
3040
  },
2609
- compoundVariants: [],
2610
- defaultVariants: {
2611
- orientation: "horizontal"
3041
+ md: {
3042
+ value: ["0px 10px 10px -5px rgba(0, 0, 0, 0.04)", "0px 20px 25px -5px rgba(0, 0, 0, 0.10)"]
3043
+ },
3044
+ lg: {
3045
+ value: ["0px 6px 16px 0px rgba(0, 0, 0, 0.08)", "0px 9px 28px 8px rgba(0, 0, 0, 0.05)"]
3046
+ },
3047
+ focus: {
3048
+ value: "0 0 0 3px rgba(224, 238, 255, 1)"
3049
+ },
3050
+ xl: {
3051
+ value: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"
3052
+ },
3053
+ "2xl": {
3054
+ value: "0 25px 50px -12px rgba(0, 0, 0, 0.25)"
3055
+ },
3056
+ outline: {
3057
+ value: "0 0 0 3px #E0EEFF"
3058
+ },
3059
+ "outline-tab": {
3060
+ value: "0 0 0 2px #E0EEFF"
3061
+ },
3062
+ outer: {
3063
+ value: "0 0 0 3px rgba(224, 238, 255, 1)"
3064
+ },
3065
+ inner: {
3066
+ value: "inset 0 2px 4px 0 rgba( 0, 0, 0, 0.06)"
3067
+ },
3068
+ none: {
3069
+ value: "none"
2612
3070
  }
2613
3071
  });
2614
3072
 
2615
- // src/recipes/index.ts
2616
- var recipes = {
2617
- buttonRecipe,
2618
- buttonGroupRecipe,
2619
- textRecipe,
2620
- iconRecipe,
2621
- spinnerRecipe,
2622
- popoverContentRecipe,
2623
- popoverListRecipe,
2624
- popoverListItemRecipe,
2625
- badgeRecipe,
2626
- textareaRecipe,
2627
- tooltipRecipe,
2628
- tabListRecipe,
2629
- tabRecipe,
2630
- selectedBorderRecipe,
2631
- tableRecipe,
2632
- tableContainerRecipe,
2633
- dividerRecipe
2634
- };
2635
- var slotRecipes = {
2636
- accordion,
2637
- checkboxSlotRecipe,
2638
- radioSlotRecipe,
2639
- sharedSlotRecipe,
2640
- progressSlotRecipe,
2641
- toggleSlotRecipe,
2642
- tagSlotRecipe,
2643
- inputSlotRecipe,
2644
- inputGroupSlotRecipe,
2645
- inputAddonSlotRecipe,
2646
- avatarSlotRecipe,
2647
- avatarGroupSlotRecipe,
2648
- selectSlotRecipe,
2649
- formControlSlotRecipe,
2650
- inputTagSlotRecipe
2651
- };
3073
+ // src/tokens/sizes.ts
3074
+ import { defineTokens as defineTokens7 } from "@pandacss/dev";
3075
+ var sizes = defineTokens7.sizes({
3076
+ 0: { value: "0", description: "0px" },
3077
+ 0.25: { value: "0.0625rem", description: "1px" },
3078
+ 0.5: { value: "0.125rem", description: "2px" },
3079
+ 1: { value: "0.25rem", description: "4px" },
3080
+ 2: { value: "0.5rem", description: "8px" },
3081
+ 2.5: { value: "0.625rem", description: "10px" },
3082
+ 3: { value: "0.75rem", description: "12px" },
3083
+ 4: { value: "1rem", description: "16px" },
3084
+ 5: { value: "1.25rem", description: "20px" },
3085
+ 6: { value: "1.5rem", description: "24px" },
3086
+ 7: { value: "1.75rem", description: "28px" },
3087
+ 7.5: { value: "1.875rem", description: "30px" },
3088
+ 8: { value: "2rem", description: "32px" },
3089
+ 9: { value: "2.25rem", description: "36px" },
3090
+ 9.5: { value: "2.375rem", description: "38px" },
3091
+ 10: { value: "2.5rem", description: "40px" },
3092
+ 11: { value: "2.75rem", description: "44px" },
3093
+ 12: { value: "3rem", description: "48px" },
3094
+ 16: { value: "4rem", description: "64px" },
3095
+ 20: { value: "5rem", description: "80px" },
3096
+ 22: { value: "5.5rem", description: "96px" },
3097
+ 56: { value: "14rem", description: "224px" },
3098
+ 65: { value: "17.5rem", description: "280px" },
3099
+ full: { value: "100%" },
3100
+ sm: { value: "24rem" }
3101
+ });
2652
3102
 
2653
- // src/breakpoints.ts
2654
- var breakpoints = {
2655
- sm: "22.5em",
2656
- md: "48em",
2657
- lg: "64em",
2658
- xl: "80em"
2659
- };
3103
+ // src/tokens/spacing.ts
3104
+ import { defineTokens as defineTokens8 } from "@pandacss/dev";
3105
+ var spacing = defineTokens8.spacing({
3106
+ 0: { value: "0", description: "0px" },
3107
+ 0.5: { value: "0.125rem", description: "2px" },
3108
+ 1: { value: "0.25rem", description: "4px" },
3109
+ 1.5: { value: "0.375rem", description: "6px" },
3110
+ 2: { value: "0.5rem", description: "8px" },
3111
+ 3: { value: "0.75rem", description: "12px" },
3112
+ 4: { value: "1rem", description: "16px" },
3113
+ 5: { value: "1.3rem", description: "20px" },
3114
+ 6: { value: "1.5rem", description: "24px" },
3115
+ 8: { value: "2rem", description: "32px" },
3116
+ 12: { value: "3rem", description: "48px" },
3117
+ 16: { value: "4rem", description: "64px" },
3118
+ 20: { value: "5rem", description: "80px" },
3119
+ 24: { value: "6rem", description: "96px" },
3120
+ 32: { value: "8rem", description: "128px" },
3121
+ 40: { value: "10rem", description: "160px" },
3122
+ 64: { value: "16rem", description: "256px" }
3123
+ });
3124
+
3125
+ // src/tokens/z-index.ts
3126
+ import { defineTokens as defineTokens9 } from "@pandacss/dev";
3127
+ var zIndex = defineTokens9.zIndex({
3128
+ hide: { value: -1 },
3129
+ base: { value: 0 },
3130
+ docked: { value: 10 },
3131
+ sticky: { value: 1100 },
3132
+ overlay: { value: 1300 },
3133
+ modal: { value: 1400 },
3134
+ popover: { value: 1500 },
3135
+ tooltip: { value: 1800 }
3136
+ });
3137
+
3138
+ // src/tokens/typography.ts
3139
+ import { defineTokens as defineTokens10 } from "@pandacss/dev";
3140
+ var fonts = defineTokens10.fonts({
3141
+ body: {
3142
+ value: '"inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
3143
+ },
3144
+ mono: {
3145
+ value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
3146
+ }
3147
+ });
3148
+ var fontSizes = defineTokens10.fontSizes({
3149
+ xs: { value: "0.625rem", description: "10px" },
3150
+ sm: { value: "0.75rem", description: "12px" },
3151
+ md: { value: "0.875rem", description: "14px" },
3152
+ lg: { value: "1rem", description: "16px" },
3153
+ xl: { value: "1.25rem", description: "20px" },
3154
+ "2xl": { value: "1.5rem", description: "24px" }
3155
+ });
3156
+ var fontWeights = defineTokens10.fontWeights({
3157
+ regular: { value: "400" },
3158
+ semiBold: { value: "600" },
3159
+ bold: { value: "800" }
3160
+ });
3161
+ var lineHeights = defineTokens10.lineHeights({
3162
+ xs: { value: 1.2, description: "12px/10px" },
3163
+ sm: { value: 1.34, description: "16px/12px or 32px/24px" },
3164
+ md: { value: 1.4, description: "28px/20px" },
3165
+ lg: { value: 1.429, description: "20px/14px" },
3166
+ xl: { value: 1.5, description: "24px/16px" },
3167
+ "2xl": { value: 1.67, description: "20px/12px" },
3168
+ "3xl": { value: 1.71, description: "24px/14px" }
3169
+ });
3170
+ var letterSpacings = defineTokens10.letterSpacings({
3171
+ tighter: { value: "-0.05em" },
3172
+ tight: { value: "-0.025em" },
3173
+ normal: { value: "0" },
3174
+ wide: { value: "0.025em" },
3175
+ wider: { value: "0.05em" },
3176
+ widest: { value: "0.1em" }
3177
+ });
3178
+
3179
+ // src/tokens/index.ts
3180
+ var tokens = defineTokens11({
3181
+ borders,
3182
+ colors,
3183
+ durations,
3184
+ fonts,
3185
+ fontSizes,
3186
+ fontWeights,
3187
+ lineHeights,
3188
+ letterSpacings,
3189
+ opacity,
3190
+ radii,
3191
+ shadows,
3192
+ sizes,
3193
+ spacing,
3194
+ zIndex
3195
+ });
2660
3196
 
2661
3197
  // src/index.ts
2662
3198
  var preset = definePreset({