@cieloazul310/digital-go-pandacss-preset 0.1.0-beta.5 → 0.1.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +840 -597
- package/dist/index.mjs +834 -591
- package/package.json +22 -17
package/dist/index.js
CHANGED
|
@@ -34,7 +34,7 @@ __export(index_exports, {
|
|
|
34
34
|
default: () => index_default
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(index_exports);
|
|
37
|
-
var
|
|
37
|
+
var import_dev37 = require("@pandacss/dev");
|
|
38
38
|
var import_digital_go_pandacss_plugin = __toESM(require("@cieloazul310/digital-go-pandacss-plugin"));
|
|
39
39
|
var import_digital_go_pandacss_utils = require("@cieloazul310/digital-go-pandacss-utils");
|
|
40
40
|
|
|
@@ -43,8 +43,12 @@ var import_dev = require("@pandacss/dev");
|
|
|
43
43
|
var import_accordion = require("@zag-js/accordion");
|
|
44
44
|
var accordion_default = (0, import_dev.defineSlotRecipe)({
|
|
45
45
|
className: "accordion",
|
|
46
|
+
description: "\u30A2\u30B3\u30FC\u30C7\u30A3\u30AA\u30F3\u306F\u3001\u30E6\u30FC\u30B6\u30FC\u304C\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u3092\u5C55\u958B\u307E\u305F\u306F\u6298\u308A\u305F\u305F\u3080\u3053\u3068\u304C\u3067\u304D\u308B\u30E6\u30FC\u30B6\u30FC\u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30FC\u30B9\u3067\u3059\u3002\u9805\u76EE\u3092\u30B3\u30F3\u30D1\u30AF\u30C8\u306B\u30EA\u30B9\u30C8\u8868\u793A\u3057\u3064\u3064\u30DA\u30FC\u30B8\u9077\u79FB\u305B\u305A\u95A2\u9023\u60C5\u5831\u3092\u8868\u793A\u3057\u305F\u3044\u3068\u3044\u3046\u8981\u6C42\u306B\u5BFE\u5FDC\u3057\u307E\u3059\u3002\u203B\u30BB\u30AF\u30B7\u30E7\u30F3\u5185\u306E\u4EFB\u610F\u306E\u7BC4\u56F2\u3067\u6298\u308A\u305F\u305F\u307F\u8868\u793A\u3092\u3059\u308B\u5834\u5408\u306F\u300C\u30C7\u30A3\u30B9\u30AF\u30ED\u30FC\u30B8\u30E3\u30FC\u300D\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
46
47
|
slots: import_accordion.anatomy.keys(),
|
|
47
48
|
base: {
|
|
49
|
+
root: {
|
|
50
|
+
colorPalette: "keyColor"
|
|
51
|
+
},
|
|
48
52
|
item: {
|
|
49
53
|
/**
|
|
50
54
|
* group/accordion border-b border-solid-gray-420
|
|
@@ -129,24 +133,21 @@ var accordion_default = (0, import_dev.defineSlotRecipe)({
|
|
|
129
133
|
* bg-white text-blue-1000
|
|
130
134
|
*/
|
|
131
135
|
bg: "white",
|
|
132
|
-
color: "
|
|
136
|
+
color: "colorPalette.primary.100",
|
|
133
137
|
/**
|
|
134
138
|
* border border-current rounded-full
|
|
135
|
-
|
|
136
|
-
|
|
139
|
+
* group-hover/summary:outline group-hover/summary:outline-2
|
|
140
|
+
* group-hover/summary:outline-current
|
|
141
|
+
* group-open/accordion:rotate-180
|
|
137
142
|
*/
|
|
138
143
|
borderWidth: "1px",
|
|
139
144
|
borderColor: "currentcolor",
|
|
140
145
|
rounded: "full",
|
|
141
146
|
outlineStyle: "solid",
|
|
142
147
|
outlineWidth: { base: "0px", _groupHover: "2px" },
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
transitionTimingFunction: "default",
|
|
147
|
-
_open: {
|
|
148
|
-
transform: "rotate(-180deg)"
|
|
149
|
-
}
|
|
148
|
+
outlineColor: { base: "transparent", _groupHover: "currentcolor" },
|
|
149
|
+
transition: "transform",
|
|
150
|
+
transform: { base: "rotate(0deg)", _open: "rotate(-180deg)" }
|
|
150
151
|
},
|
|
151
152
|
itemContent: {
|
|
152
153
|
/**
|
|
@@ -170,26 +171,34 @@ var import_dev3 = require("@pandacss/dev");
|
|
|
170
171
|
var import_anatomy = require("@zag-js/anatomy");
|
|
171
172
|
var breadcrumbAnatomy = (0, import_anatomy.createAnatomy)("breadcrumb").parts(
|
|
172
173
|
"root",
|
|
174
|
+
"label",
|
|
173
175
|
"list",
|
|
174
176
|
"item",
|
|
175
177
|
"link",
|
|
176
178
|
"separator"
|
|
177
179
|
);
|
|
178
|
-
var
|
|
180
|
+
var cardAnatomy = (0, import_anatomy.createAnatomy)("card").parts(
|
|
179
181
|
"root",
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
182
|
+
"main",
|
|
183
|
+
"image",
|
|
184
|
+
"sub",
|
|
185
|
+
"title"
|
|
183
186
|
);
|
|
184
|
-
var
|
|
187
|
+
var fieldAnatomy = (0, import_anatomy.createAnatomy)("field").parts(
|
|
185
188
|
"root",
|
|
186
189
|
"errorText",
|
|
187
|
-
"
|
|
190
|
+
"supportText",
|
|
188
191
|
"input",
|
|
189
192
|
"label",
|
|
190
193
|
"select",
|
|
191
194
|
"textarea",
|
|
192
|
-
"
|
|
195
|
+
"requirementBadge"
|
|
196
|
+
);
|
|
197
|
+
var fieldsetAnatomy = (0, import_anatomy.createAnatomy)("fieldset").parts(
|
|
198
|
+
"root",
|
|
199
|
+
"errorText",
|
|
200
|
+
"supportText",
|
|
201
|
+
"legend"
|
|
193
202
|
);
|
|
194
203
|
var menuListAnatomy = (0, import_anatomy.createAnatomy)("menu-list").parts(
|
|
195
204
|
"root",
|
|
@@ -204,18 +213,13 @@ var menuListAnatomy = (0, import_anatomy.createAnatomy)("menu-list").parts(
|
|
|
204
213
|
);
|
|
205
214
|
var notificationBannerAnatomy = (0, import_anatomy.createAnatomy)(
|
|
206
215
|
"notification-banner"
|
|
207
|
-
).parts("root", "icon", "close", "header", "heading", "body");
|
|
216
|
+
).parts("root", "icon", "close", "header", "heading", "body", "actions");
|
|
208
217
|
var resourceListAnatomy = (0, import_anatomy.createAnatomy)("resource-list").parts(
|
|
209
218
|
"root",
|
|
210
|
-
"
|
|
211
|
-
"
|
|
212
|
-
"frontIcon",
|
|
213
|
-
"form",
|
|
219
|
+
"main",
|
|
220
|
+
"action",
|
|
214
221
|
"content",
|
|
215
|
-
"
|
|
216
|
-
"title",
|
|
217
|
-
"supportText",
|
|
218
|
-
"subLabel"
|
|
222
|
+
"title"
|
|
219
223
|
);
|
|
220
224
|
var tableAnatomy = (0, import_anatomy.createAnatomy)("table").parts(
|
|
221
225
|
"root",
|
|
@@ -240,11 +244,12 @@ var link_default = (0, import_dev2.defineRecipe)({
|
|
|
240
244
|
* text-blue-1000 visited:text-magenta-900 hover:text-blue-1000
|
|
241
245
|
* focus-visible:text-blue-1000 active:text-orange-700
|
|
242
246
|
*/
|
|
247
|
+
colorPalette: "blue",
|
|
243
248
|
color: {
|
|
244
|
-
base: "
|
|
249
|
+
base: "colorPalette.primary.100",
|
|
245
250
|
_visited: "magenta.900",
|
|
246
|
-
_hover: "
|
|
247
|
-
_focusVisible: "
|
|
251
|
+
_hover: "colorPalette.primary.100",
|
|
252
|
+
_focusVisible: "colorPalette.primary.100",
|
|
248
253
|
_active: "orange.700"
|
|
249
254
|
},
|
|
250
255
|
/**
|
|
@@ -282,10 +287,10 @@ var link_default = (0, import_dev2.defineRecipe)({
|
|
|
282
287
|
/**
|
|
283
288
|
* with icon
|
|
284
289
|
*/
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
290
|
+
"& > svg": {
|
|
291
|
+
display: "inline",
|
|
292
|
+
ml: 1,
|
|
293
|
+
mb: 1,
|
|
289
294
|
width: "1em",
|
|
290
295
|
height: "1em"
|
|
291
296
|
}
|
|
@@ -304,6 +309,10 @@ var breadcrumb_default = (0, import_dev3.defineSlotRecipe)({
|
|
|
304
309
|
*/
|
|
305
310
|
"--icon-size": "16px"
|
|
306
311
|
},
|
|
312
|
+
label: {
|
|
313
|
+
srOnly: true,
|
|
314
|
+
textStyle: "oln-16N-100"
|
|
315
|
+
},
|
|
307
316
|
list: {
|
|
308
317
|
/**
|
|
309
318
|
* inline
|
|
@@ -344,7 +353,10 @@ var breadcrumb_default = (0, import_dev3.defineSlotRecipe)({
|
|
|
344
353
|
* mx-2 inline
|
|
345
354
|
*/
|
|
346
355
|
mx: 2,
|
|
347
|
-
display: "inline"
|
|
356
|
+
display: "inline",
|
|
357
|
+
width: "12px",
|
|
358
|
+
height: "12px",
|
|
359
|
+
fill: "none"
|
|
348
360
|
}
|
|
349
361
|
}
|
|
350
362
|
});
|
|
@@ -355,6 +367,7 @@ var button_default = (0, import_dev4.defineRecipe)({
|
|
|
355
367
|
className: "button",
|
|
356
368
|
description: "\u30DC\u30BF\u30F3\u306F\u3001\u4E3B\u306B\u30A2\u30AF\u30B7\u30E7\u30F3\u5B9F\u884C\u307E\u305F\u306F\u30DA\u30FC\u30B8\u9077\u79FB\u306E\u305F\u3081\u306E\u30C8\u30EA\u30AC\u30FC\u3068\u3057\u3066\u4F7F\u7528\u3057\u307E\u3059\u3002\u753B\u9762\u5185\u306B\u304A\u3051\u308B\u30DC\u30BF\u30F3\u306E\u91CD\u8981\u5EA6\u306B\u5FDC\u3058\u3066\u4F7F\u3044\u5206\u3051\u53EF\u80FD\u306A\u8907\u6570\u306E\u30B9\u30BF\u30A4\u30EB\u304C\u3042\u308A\u307E\u3059\u3002",
|
|
357
369
|
base: {
|
|
370
|
+
colorPalette: "keyColor",
|
|
358
371
|
/**
|
|
359
372
|
* underline-offset-[calc(3/16*1rem)]
|
|
360
373
|
*/
|
|
@@ -394,9 +407,9 @@ var button_default = (0, import_dev4.defineRecipe)({
|
|
|
394
407
|
* bg-blue-900 hover:bg-blue-1000 active:bg-blue-1200 aria-disabled:bg-solid-gray-300
|
|
395
408
|
*/
|
|
396
409
|
bg: {
|
|
397
|
-
base: "
|
|
398
|
-
_hover: "
|
|
399
|
-
_active: "
|
|
410
|
+
base: "colorPalette.primary",
|
|
411
|
+
_hover: "colorPalette.primary.100",
|
|
412
|
+
_active: "colorPalette.primary.300",
|
|
400
413
|
_disabled: "solid-gray.300"
|
|
401
414
|
},
|
|
402
415
|
color: { base: "white", _disabled: "solid-gray.50" },
|
|
@@ -421,14 +434,14 @@ var button_default = (0, import_dev4.defineRecipe)({
|
|
|
421
434
|
*/
|
|
422
435
|
bg: {
|
|
423
436
|
base: "white",
|
|
424
|
-
_hover: "
|
|
425
|
-
_active: "
|
|
437
|
+
_hover: "colorPalette.200",
|
|
438
|
+
_active: "colorPalette.300",
|
|
426
439
|
_disabled: "white"
|
|
427
440
|
},
|
|
428
441
|
color: {
|
|
429
|
-
base: "
|
|
430
|
-
_hover: "
|
|
431
|
-
_active: "
|
|
442
|
+
base: "colorPalette.primary",
|
|
443
|
+
_hover: "colorPalette.primary.100",
|
|
444
|
+
_active: "colorPalette.primary.300",
|
|
432
445
|
_disabled: "solid-gray.300"
|
|
433
446
|
},
|
|
434
447
|
/**
|
|
@@ -452,15 +465,15 @@ var button_default = (0, import_dev4.defineRecipe)({
|
|
|
452
465
|
*/
|
|
453
466
|
bg: {
|
|
454
467
|
base: "transparent",
|
|
455
|
-
_hover: "
|
|
456
|
-
_active: "
|
|
468
|
+
_hover: "colorPalette.bg",
|
|
469
|
+
_active: "colorPalette.100",
|
|
457
470
|
_focusVisible: { base: "yellow.300", _hover: "yellow.300" },
|
|
458
471
|
_disabled: "transparent"
|
|
459
472
|
},
|
|
460
473
|
color: {
|
|
461
|
-
base: "
|
|
462
|
-
_hover: "
|
|
463
|
-
_active: "
|
|
474
|
+
base: "colorPalette.primary",
|
|
475
|
+
_hover: "colorPalette.primary.100",
|
|
476
|
+
_active: "colorPalette.primary.300",
|
|
464
477
|
_disabled: "solid-gray.300"
|
|
465
478
|
},
|
|
466
479
|
/**
|
|
@@ -537,34 +550,181 @@ var button_default = (0, import_dev4.defineRecipe)({
|
|
|
537
550
|
}
|
|
538
551
|
});
|
|
539
552
|
|
|
540
|
-
// src/recipes/
|
|
553
|
+
// src/recipes/card.ts
|
|
541
554
|
var import_dev5 = require("@pandacss/dev");
|
|
555
|
+
var card_default = (0, import_dev5.defineSlotRecipe)({
|
|
556
|
+
className: "card",
|
|
557
|
+
description: "\u5358\u4E00\u306E\u4E3B\u984C\u306B\u95A2\u3059\u308B\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u307E\u3068\u3081\u3066\u8868\u793A\u3059\u308B\u30B3\u30F3\u30C6\u30CA\u3068\u306A\u308B\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3067\u3059\u3002\u3055\u307E\u3056\u307E\u306A\u30BF\u30A4\u30D7\u3068\u30B5\u30A4\u30BA\u306E\u8981\u7D20\u3084\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u67D4\u8EDF\u306B\u683C\u7D0D\u3067\u304D\u307E\u3059\u3002\u672C\u6765\u30AB\u30FC\u30C9\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306F\u3001\u3042\u3089\u3086\u308B\u30B3\u30F3\u30C6\u30F3\u30C4\uFF08\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3084\u8981\u7D20\uFF09\u3092\u5185\u5305\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u3001\u975E\u5E38\u306B\u81EA\u7531\u5EA6\u306E\u9AD8\u3044\u30B3\u30F3\u30C6\u30CA\u3068\u306A\u308A\u307E\u3059\u3002\u672C\u30C7\u30B6\u30A4\u30F3\u30B7\u30B9\u30C6\u30E0\u3067\u306F\u3001\u60C5\u5831\u8A2D\u8A08\u3092\u3057\u3084\u3059\u3044\u30AB\u30FC\u30C9\u3092\u63D0\u4F9B\u3059\u308B\u305F\u3081\u3001\u81EA\u7531\u5EA6\u306B\u5236\u7D04\u3092\u8A2D\u3051\u305F\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u4ED5\u69D8\u3068\u3057\u3066\u7B56\u5B9A\u3057\u3066\u3044\u307E\u3059\u3002",
|
|
558
|
+
slots: cardAnatomy.keys(),
|
|
559
|
+
base: {
|
|
560
|
+
root: {
|
|
561
|
+
display: "grid",
|
|
562
|
+
gridTemplateAreas: `
|
|
563
|
+
"image"
|
|
564
|
+
"main"
|
|
565
|
+
"sub"
|
|
566
|
+
`,
|
|
567
|
+
bg: { base: "white", "&:has(input:checked)": "colorPalette.bg" },
|
|
568
|
+
color: "solid-gray.800",
|
|
569
|
+
textStyle: "std-16N-170",
|
|
570
|
+
borderColor: "solid-gray.420",
|
|
571
|
+
borderWidth: "1px",
|
|
572
|
+
rounded: 16,
|
|
573
|
+
overflow: "hidden",
|
|
574
|
+
colorPalette: "keyColor"
|
|
575
|
+
},
|
|
576
|
+
main: {
|
|
577
|
+
gridArea: "main",
|
|
578
|
+
py: 4,
|
|
579
|
+
px: { base: 4, md: 6 },
|
|
580
|
+
display: "flex",
|
|
581
|
+
flexDirection: "column",
|
|
582
|
+
gap: 4,
|
|
583
|
+
_focusVisible: {
|
|
584
|
+
outlineStyle: "solid",
|
|
585
|
+
outlineWidth: "4px",
|
|
586
|
+
outlineColor: "black",
|
|
587
|
+
outlineOffset: "calc(2 / 16 * 1rem)",
|
|
588
|
+
focusRing: "calc(2 / 16 * 1rem)"
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
image: {
|
|
592
|
+
gridArea: "image",
|
|
593
|
+
position: "relative",
|
|
594
|
+
overflow: "hidden",
|
|
595
|
+
"& > img": {
|
|
596
|
+
objectFit: "cover",
|
|
597
|
+
width: "full",
|
|
598
|
+
height: "full"
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
sub: {
|
|
602
|
+
gridArea: "sub",
|
|
603
|
+
py: 4,
|
|
604
|
+
px: { base: 4, md: 6 }
|
|
605
|
+
},
|
|
606
|
+
title: {
|
|
607
|
+
textStyle: "std-20B-150"
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
variants: {
|
|
611
|
+
orientation: {
|
|
612
|
+
vertical: {
|
|
613
|
+
root: {
|
|
614
|
+
gridTemplateAreas: `
|
|
615
|
+
"image"
|
|
616
|
+
"main"
|
|
617
|
+
"sub"
|
|
618
|
+
`,
|
|
619
|
+
gridTemplateColumns: "1fr"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
horizontal: {
|
|
623
|
+
root: {
|
|
624
|
+
gridTemplateAreas: `
|
|
625
|
+
"image main"
|
|
626
|
+
"image sub"
|
|
627
|
+
`,
|
|
628
|
+
gridTemplateColumns: "minmax(auto, 320px) 1fr"
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
asLink: {
|
|
633
|
+
true: {
|
|
634
|
+
root: {
|
|
635
|
+
position: "relative",
|
|
636
|
+
bg: {
|
|
637
|
+
_hover: "solid-gray.50"
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
image: {
|
|
641
|
+
"& > img": {
|
|
642
|
+
transition: "transform",
|
|
643
|
+
_groupHover: {
|
|
644
|
+
transform: "scale(1.05)"
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
sub: {
|
|
649
|
+
"& > *": {
|
|
650
|
+
zIndex: 1
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
title: {
|
|
654
|
+
_before: {
|
|
655
|
+
content: '""',
|
|
656
|
+
position: "absolute",
|
|
657
|
+
top: 0,
|
|
658
|
+
left: 0,
|
|
659
|
+
width: "full",
|
|
660
|
+
height: "full",
|
|
661
|
+
zIndex: 0,
|
|
662
|
+
cursor: "inherit"
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
defaultVariants: {
|
|
669
|
+
orientation: "vertical",
|
|
670
|
+
asLink: false
|
|
671
|
+
}
|
|
672
|
+
});
|
|
673
|
+
|
|
674
|
+
// src/recipes/checkbox.ts
|
|
675
|
+
var import_dev6 = require("@pandacss/dev");
|
|
542
676
|
var import_checkbox = require("@zag-js/checkbox");
|
|
543
|
-
var checkbox_default = (0,
|
|
677
|
+
var checkbox_default = (0, import_dev6.defineSlotRecipe)({
|
|
544
678
|
className: "checkbox",
|
|
679
|
+
description: "\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u306F\u3001\u8907\u6570\u306E\u9805\u76EE\u306E\u4E2D\u304B\u3089\u8907\u6570\u306E\u9078\u629E\u80A2\u3092\u9078\u3076\u3053\u3068\u3092\u53EF\u80FD\u306B\u3057\u307E\u3059\u3002\u307E\u305F\u3001\u3072\u3068\u3064\u306E\u9078\u629E\u80A2\u306E\u30AA\u30F3\u30FB\u30AA\u30D5\u306E\u5207\u308A\u66FF\u3048\u306B\u3082\u7528\u3044\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002",
|
|
545
680
|
slots: import_checkbox.anatomy.extendWith("group").keys(),
|
|
546
681
|
base: {
|
|
547
682
|
root: {
|
|
548
|
-
/**
|
|
549
|
-
* flex w-fit items-start py-2
|
|
550
|
-
*/
|
|
551
683
|
display: "flex",
|
|
552
|
-
alignItems: "
|
|
684
|
+
alignItems: "center",
|
|
553
685
|
width: "fit-content",
|
|
554
|
-
py: 2
|
|
686
|
+
py: 2,
|
|
687
|
+
colorPalette: "keyColor"
|
|
555
688
|
},
|
|
556
689
|
control: {
|
|
557
690
|
/**
|
|
558
691
|
* flex items-center justify-center shrink-0 rounded-[calc(1/8*100%)]
|
|
559
692
|
* has-[input:hover:not(:focus):not([aria-disabled="true"])]:bg-solid-gray-420
|
|
560
693
|
*/
|
|
561
|
-
display: "flex",
|
|
562
|
-
alignItems: "center",
|
|
563
|
-
justifyContent: "center",
|
|
564
694
|
flexShrink: 0,
|
|
565
|
-
rounded: "calc(
|
|
695
|
+
rounded: "calc(2 / 18 * 100%)",
|
|
696
|
+
borderWidth: "2px",
|
|
697
|
+
borderColor: {
|
|
698
|
+
base: "solid-gray.420",
|
|
699
|
+
_checked: "colorPalette.primary",
|
|
700
|
+
_invalid: { base: "error.1", _disabled: "solid-gray.420" },
|
|
701
|
+
_groupHover: { base: "black", _disabled: "solid-gray.420" }
|
|
702
|
+
},
|
|
566
703
|
_disabled: {
|
|
567
|
-
bg: "solid-gray.
|
|
704
|
+
bg: "solid-gray.50"
|
|
705
|
+
},
|
|
706
|
+
_groupHover: {
|
|
707
|
+
outlineStyle: { base: "solid", _disabled: "hidden" },
|
|
708
|
+
outlineColor: "solid-gray.420",
|
|
709
|
+
_focus: {
|
|
710
|
+
outlineStyle: "solid",
|
|
711
|
+
outlineWidth: "4px",
|
|
712
|
+
outlineColor: "black",
|
|
713
|
+
outlineOffset: "calc(2 / 16 * 1rem)",
|
|
714
|
+
focusRing: "calc(2 / 16 * 1rem)"
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
/**
|
|
718
|
+
* focus:outline focus:outline-4 focus:outline-black
|
|
719
|
+
* focus:outline-offset-[calc(2/16*1rem)]
|
|
720
|
+
* focus:ring-[calc(2/16*1rem)] focus:ring-yellow-300
|
|
721
|
+
*/
|
|
722
|
+
_focus: {
|
|
723
|
+
outlineStyle: "solid",
|
|
724
|
+
outlineWidth: "4px",
|
|
725
|
+
outlineColor: "black",
|
|
726
|
+
outlineOffset: "calc(2 / 16 * 1rem)",
|
|
727
|
+
focusRing: "calc(2 / 16 * 1rem)"
|
|
568
728
|
}
|
|
569
729
|
},
|
|
570
730
|
indicator: {
|
|
@@ -572,51 +732,9 @@ var checkbox_default = (0, import_dev5.defineSlotRecipe)({
|
|
|
572
732
|
* appearance-none size-3/4 rounded-[calc(2/18*100%)]
|
|
573
733
|
*/
|
|
574
734
|
appearance: "none",
|
|
575
|
-
width: "
|
|
576
|
-
height: "
|
|
577
|
-
|
|
578
|
-
borderColor: {
|
|
579
|
-
/**
|
|
580
|
-
* border-solid-gray-600 hover:border-black
|
|
581
|
-
* forced-colors:!border-[ButtonText]
|
|
582
|
-
*/
|
|
583
|
-
base: "solid-gray.600",
|
|
584
|
-
_hover: "black",
|
|
585
|
-
_highContrast: "ButtonText",
|
|
586
|
-
_checked: {
|
|
587
|
-
/**
|
|
588
|
-
* checked:border-blue-900 checked:hover:border-blue-1100
|
|
589
|
-
* forced-colors:checked:!border-[Highlight]
|
|
590
|
-
*/
|
|
591
|
-
base: "keyColor.900",
|
|
592
|
-
_hover: "keyColor.1100",
|
|
593
|
-
_highContrast: "Highlight"
|
|
594
|
-
},
|
|
595
|
-
_indeterminate: {
|
|
596
|
-
/**
|
|
597
|
-
* indeterminate:border-blue-900 indeterminate:hover:border-blue-1100
|
|
598
|
-
* forced-colors:indeterminate:!border-[Highlight]
|
|
599
|
-
*/
|
|
600
|
-
base: "keyColor.900",
|
|
601
|
-
_hover: "keyColor.1100",
|
|
602
|
-
_highContrast: "Highlight"
|
|
603
|
-
},
|
|
604
|
-
_invalid: {
|
|
605
|
-
/**
|
|
606
|
-
* data-[error]:border-error-1 data-[error]:hover:border-red-1000
|
|
607
|
-
*/
|
|
608
|
-
base: "error.1",
|
|
609
|
-
_hover: "red.1000"
|
|
610
|
-
},
|
|
611
|
-
_disabled: {
|
|
612
|
-
/**
|
|
613
|
-
* aria-disabled:!border-solid-gray-300
|
|
614
|
-
* forced-colors:aria-disabled:!border-[GrayText]
|
|
615
|
-
*/
|
|
616
|
-
base: "solid-gray.300",
|
|
617
|
-
_highContrast: "GrayText"
|
|
618
|
-
}
|
|
619
|
-
},
|
|
735
|
+
width: "full",
|
|
736
|
+
height: "full",
|
|
737
|
+
zIndex: 1,
|
|
620
738
|
bg: {
|
|
621
739
|
/**
|
|
622
740
|
* bg-white
|
|
@@ -627,8 +745,8 @@ var checkbox_default = (0, import_dev5.defineSlotRecipe)({
|
|
|
627
745
|
* forced-colors:checked:!bg-[Highlight]
|
|
628
746
|
*/
|
|
629
747
|
_checked: {
|
|
630
|
-
base: "
|
|
631
|
-
_hover: "
|
|
748
|
+
base: "colorPalette.primary",
|
|
749
|
+
_hover: "colorPalette.primary.200",
|
|
632
750
|
_highContrast: "Highlight"
|
|
633
751
|
},
|
|
634
752
|
_indeterminate: {
|
|
@@ -636,8 +754,8 @@ var checkbox_default = (0, import_dev5.defineSlotRecipe)({
|
|
|
636
754
|
* indeterminate:bg-blue-900 indeterminate:hover:bg-blue-1100
|
|
637
755
|
* forced-colors:indeterminate:!bg-[Highlight]
|
|
638
756
|
*/
|
|
639
|
-
base: "
|
|
640
|
-
_hover: "
|
|
757
|
+
base: "colorPalette.primary",
|
|
758
|
+
_hover: "colorPalette.primary.200",
|
|
641
759
|
_highContrast: "Highlight"
|
|
642
760
|
},
|
|
643
761
|
/**
|
|
@@ -648,11 +766,13 @@ var checkbox_default = (0, import_dev5.defineSlotRecipe)({
|
|
|
648
766
|
_invalid: {
|
|
649
767
|
_indeterminate: {
|
|
650
768
|
base: "error.1",
|
|
651
|
-
_hover: "red.1000"
|
|
769
|
+
_hover: "red.1000",
|
|
770
|
+
_disabled: "solid-gray.300"
|
|
652
771
|
},
|
|
653
772
|
_checked: {
|
|
654
773
|
base: "error.1",
|
|
655
|
-
_hover: "red.1000"
|
|
774
|
+
_hover: "red.1000",
|
|
775
|
+
_disabled: "solid-gray.300"
|
|
656
776
|
}
|
|
657
777
|
},
|
|
658
778
|
/**
|
|
@@ -704,27 +824,9 @@ var checkbox_default = (0, import_dev5.defineSlotRecipe)({
|
|
|
704
824
|
display: "block",
|
|
705
825
|
clipPath: "path('M3.25,7.75H10.75V6.25H3.25V7.75Z')"
|
|
706
826
|
}
|
|
707
|
-
},
|
|
708
|
-
/**
|
|
709
|
-
* focus:outline focus:outline-4 focus:outline-black
|
|
710
|
-
* focus:outline-offset-[calc(2/16*1rem)]
|
|
711
|
-
* focus:ring-[calc(2/16*1rem)] focus:ring-yellow-300
|
|
712
|
-
*/
|
|
713
|
-
_focus: {
|
|
714
|
-
outlineStyle: "solid",
|
|
715
|
-
outlineWidth: "4px",
|
|
716
|
-
outlineColor: "black",
|
|
717
|
-
outlineOffset: "calc(2 / 16 * 1rem)",
|
|
718
|
-
focusRing: "calc(2 / 16 * 1rem)"
|
|
719
827
|
}
|
|
720
828
|
},
|
|
721
829
|
label: {
|
|
722
|
-
/**
|
|
723
|
-
* text-solid-gray-800
|
|
724
|
-
* data-[size=sm]:pt-px data-[size=sm]:text-dns-16N-130
|
|
725
|
-
* data-[size=md]:pt-1 data-[size=md]:text-dns-16N-130
|
|
726
|
-
* data-[size=lg]:pt-2.5 data-[size=lg]:text-dns-17N-130
|
|
727
|
-
*/
|
|
728
830
|
color: "solid-gray.800"
|
|
729
831
|
}
|
|
730
832
|
},
|
|
@@ -732,97 +834,60 @@ var checkbox_default = (0, import_dev5.defineSlotRecipe)({
|
|
|
732
834
|
size: {
|
|
733
835
|
sm: {
|
|
734
836
|
root: {
|
|
735
|
-
|
|
736
|
-
* data-[size=sm]:gap-1
|
|
737
|
-
*/
|
|
738
|
-
gap: 1
|
|
837
|
+
gap: 1.5
|
|
739
838
|
},
|
|
740
839
|
control: {
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
indicator: {
|
|
748
|
-
/**
|
|
749
|
-
* data-[size=sm]:border-[calc(2/16*1rem)]
|
|
750
|
-
*/
|
|
751
|
-
borderWidth: "calc(2 / 16 * 1rem)"
|
|
840
|
+
width: "calc({spacing.9} / 2)",
|
|
841
|
+
height: "calc({spacing.9} / 2)",
|
|
842
|
+
_groupHover: {
|
|
843
|
+
outlineWidth: "2px",
|
|
844
|
+
_focus: { outlineWidth: "4px" }
|
|
845
|
+
}
|
|
752
846
|
},
|
|
753
847
|
label: {
|
|
754
|
-
/**
|
|
755
|
-
* data-[size=sm]:pt-px data-[size=sm]:text-dns-16N-130
|
|
756
|
-
*/
|
|
757
|
-
pt: "1px",
|
|
758
848
|
textStyle: "dns-16N-130"
|
|
759
849
|
}
|
|
760
850
|
},
|
|
761
851
|
md: {
|
|
762
852
|
root: {
|
|
763
|
-
|
|
764
|
-
* data-[size=md]:gap-2
|
|
765
|
-
*/
|
|
766
|
-
gap: 2
|
|
853
|
+
gap: 2.5
|
|
767
854
|
},
|
|
768
855
|
control: {
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
856
|
+
width: 6,
|
|
857
|
+
height: 6,
|
|
858
|
+
_groupHover: {
|
|
859
|
+
outlineWidth: "4px"
|
|
860
|
+
}
|
|
774
861
|
},
|
|
775
862
|
indicator: {
|
|
776
|
-
/**
|
|
777
|
-
* data-[size=md]:border-[calc(2/16*1rem)]
|
|
778
|
-
* data-[size=md]:before:origin-top-left
|
|
779
|
-
* data-[size=md]:before:scale-[calc(20/14)]
|
|
780
|
-
*/
|
|
781
|
-
borderWidth: "calc(2 / 16 * 1rem)",
|
|
782
863
|
_before: {
|
|
783
864
|
transformOrigin: "top left",
|
|
784
865
|
scale: "calc(20 / 14)"
|
|
785
866
|
}
|
|
786
867
|
},
|
|
787
868
|
label: {
|
|
788
|
-
/**
|
|
789
|
-
* data-[size=md]:pt-1 data-[size=md]:text-dns-16N-130
|
|
790
|
-
*/
|
|
791
|
-
pt: 1,
|
|
792
869
|
textStyle: "dns-16N-130"
|
|
793
870
|
}
|
|
794
871
|
},
|
|
795
872
|
lg: {
|
|
796
873
|
root: {
|
|
797
|
-
|
|
798
|
-
* data-[size=lg]:gap-2
|
|
799
|
-
*/
|
|
800
|
-
gap: 2
|
|
874
|
+
gap: 2.5
|
|
801
875
|
},
|
|
802
876
|
control: {
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
877
|
+
width: 8,
|
|
878
|
+
height: 8,
|
|
879
|
+
_groupHover: {
|
|
880
|
+
outlineWidth: "6px",
|
|
881
|
+
_focus: { outlineWidth: "4px" }
|
|
882
|
+
}
|
|
808
883
|
},
|
|
809
884
|
indicator: {
|
|
810
|
-
/**
|
|
811
|
-
* data-[size=lg]:border-[calc(3/16*1rem)]
|
|
812
|
-
* data-[size=lg]:before:origin-top-left
|
|
813
|
-
* data-[size=lg]:before:scale-[calc(27/14)]
|
|
814
|
-
*/
|
|
815
|
-
borderWidth: "calc(3 / 16 * 1rem)",
|
|
816
885
|
_before: {
|
|
817
886
|
transformOrigin: "top left",
|
|
818
887
|
scale: "calc(27 / 14)"
|
|
819
888
|
}
|
|
820
889
|
},
|
|
821
890
|
label: {
|
|
822
|
-
/**
|
|
823
|
-
* data-[size=lg]:pt-2.5 data-[size=lg]:text-dns-17N-130
|
|
824
|
-
*/
|
|
825
|
-
pt: 2.5,
|
|
826
891
|
textStyle: "dns-17N-130"
|
|
827
892
|
}
|
|
828
893
|
}
|
|
@@ -833,18 +898,67 @@ var checkbox_default = (0, import_dev5.defineSlotRecipe)({
|
|
|
833
898
|
}
|
|
834
899
|
});
|
|
835
900
|
|
|
901
|
+
// src/recipes/chip-label.ts
|
|
902
|
+
var import_dev7 = require("@pandacss/dev");
|
|
903
|
+
var chip_label_default = (0, import_dev7.defineRecipe)({
|
|
904
|
+
className: "chip-label",
|
|
905
|
+
description: "\u72B6\u614B\u3084\u72B6\u6CC1\u3092\u793A\u3059\u30AD\u30FC\u30EF\u30FC\u30C9\u3092\u8868\u793A\u3057\u3066\u3001\u60C5\u5831\u306E\u5206\u985E\u30FB\u6574\u7406\u306E\u52B9\u7387\u3092\u5411\u4E0A\u3055\u305B\u308B\u30B0\u30E9\u30D5\u30A3\u30C3\u30AF\u8981\u7D20\u3067\u3059\u3002\u60C5\u5831\u30EA\u30B9\u30C8\u3084\u30C6\u30FC\u30D6\u30EB\u306E\u5404\u884C\u306A\u3069\u306E\u30B9\u30C6\u30FC\u30BF\u30B9\u3092\u5206\u304B\u308A\u3084\u3059\u304F\u8868\u793A\u3057\u305F\u3044\u5834\u5408\u306B\u6709\u52B9\u3067\u3059\u3002",
|
|
906
|
+
base: {
|
|
907
|
+
display: "inline-flex",
|
|
908
|
+
alignItems: "center",
|
|
909
|
+
gap: 1,
|
|
910
|
+
px: 2,
|
|
911
|
+
py: 1,
|
|
912
|
+
minHeight: "32px",
|
|
913
|
+
borderWidth: "1px",
|
|
914
|
+
colorPalette: "keyColor",
|
|
915
|
+
rounded: 8,
|
|
916
|
+
flexShrink: 0,
|
|
917
|
+
whiteSpace: "nowrap",
|
|
918
|
+
textStyle: "oln-16N-100"
|
|
919
|
+
},
|
|
920
|
+
variants: {
|
|
921
|
+
variant: {
|
|
922
|
+
text: {
|
|
923
|
+
color: "colorPalette.primary",
|
|
924
|
+
borderColor: "transparent"
|
|
925
|
+
},
|
|
926
|
+
outlined: {
|
|
927
|
+
color: "colorPalette.primary",
|
|
928
|
+
borderColor: "currentcolor"
|
|
929
|
+
},
|
|
930
|
+
ghost: {
|
|
931
|
+
color: "colorPalette.primary",
|
|
932
|
+
bg: "colorPalette.bg",
|
|
933
|
+
borderColor: "currentColor"
|
|
934
|
+
},
|
|
935
|
+
"solid-fill": {
|
|
936
|
+
bg: "colorPalette.primary",
|
|
937
|
+
color: "white",
|
|
938
|
+
borderColor: "transparent"
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
defaultVariants: {
|
|
943
|
+
variant: "text"
|
|
944
|
+
}
|
|
945
|
+
});
|
|
946
|
+
|
|
836
947
|
// src/recipes/disclosure.ts
|
|
837
|
-
var
|
|
838
|
-
var
|
|
948
|
+
var import_dev8 = require("@pandacss/dev");
|
|
949
|
+
var import_collapsible = require("@zag-js/collapsible");
|
|
950
|
+
var disclosure_default = (0, import_dev8.defineSlotRecipe)({
|
|
839
951
|
className: "disclosure",
|
|
840
|
-
|
|
952
|
+
description: "\u30C7\u30A3\u30B9\u30AF\u30ED\u30FC\u30B8\u30E3\u30FC\u306F\u3001\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u5185\u306E\u4EFB\u610F\u306E\u7BC4\u56F2\u3092\u6298\u308A\u305F\u305F\u3080\u3053\u3068\u304C\u3067\u304D\u308B\u30E6\u30FC\u30B6\u30FC\u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30FC\u30B9\u3067\u3059\u3002\u203B\u30BB\u30AF\u30B7\u30E7\u30F3\u5358\u4F4D\u3067\u6298\u308A\u305F\u305F\u307F\u8868\u793A\u3092\u3059\u308B\u5834\u5408\u306F\u300C\u30A2\u30B3\u30FC\u30C7\u30A3\u30AA\u30F3\u300D\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
953
|
+
slots: import_collapsible.anatomy.extendWith("indicator").keys(),
|
|
841
954
|
base: {
|
|
842
955
|
root: {
|
|
843
956
|
/**
|
|
844
957
|
* group/disclosure
|
|
845
958
|
*/
|
|
959
|
+
colorPalette: "keyColor"
|
|
846
960
|
},
|
|
847
|
-
|
|
961
|
+
trigger: {
|
|
848
962
|
/**
|
|
849
963
|
* group/summary
|
|
850
964
|
* [&::-webkit-details-marker]:hidden
|
|
@@ -886,41 +1000,26 @@ var disclosure_default = (0, import_dev6.defineSlotRecipe)({
|
|
|
886
1000
|
focusRing: "calc(2 / 16 * 1rem)"
|
|
887
1001
|
}
|
|
888
1002
|
},
|
|
889
|
-
|
|
890
|
-
/**
|
|
891
|
-
* flex-none text-blue-1000 mt-[calc((1lh-24px)/2)]
|
|
892
|
-
* group-open/disclosure:rotate-180
|
|
893
|
-
* forced-colors:text-inherit
|
|
894
|
-
*/
|
|
1003
|
+
indicator: {
|
|
895
1004
|
flex: "none",
|
|
896
|
-
|
|
1005
|
+
bg: { base: "colorPalette.primary.100", _groupHover: "white" },
|
|
1006
|
+
color: {
|
|
1007
|
+
base: "white",
|
|
1008
|
+
_groupHover: "colorPalette.primary.100",
|
|
1009
|
+
_highContrast: "inherit"
|
|
1010
|
+
},
|
|
897
1011
|
mt: "calc((1lh - 24px) / 2)",
|
|
898
|
-
/**
|
|
899
|
-
* svg
|
|
900
|
-
*/
|
|
901
1012
|
width: "24px",
|
|
902
1013
|
height: "24px",
|
|
903
1014
|
rounded: "full",
|
|
904
|
-
bg: { base: "white", _groupHover: "currentColor" },
|
|
905
1015
|
outlineStyle: "solid",
|
|
906
1016
|
outlineWidth: "3px",
|
|
907
1017
|
outlineOffset: "-3px",
|
|
1018
|
+
outlineColor: "colorPalette.primary.100",
|
|
1019
|
+
transition: "transform",
|
|
908
1020
|
transform: {
|
|
909
1021
|
base: "rotate(-180deg)",
|
|
910
|
-
|
|
911
|
-
},
|
|
912
|
-
transition: "transform",
|
|
913
|
-
_before: {
|
|
914
|
-
content: '""',
|
|
915
|
-
bg: { base: "currentColor", _groupHover: "white" },
|
|
916
|
-
width: "full",
|
|
917
|
-
height: "full",
|
|
918
|
-
rounded: "full",
|
|
919
|
-
outlineStyle: "solid",
|
|
920
|
-
outlineWidth: "3px",
|
|
921
|
-
outlineOffset: "-3px",
|
|
922
|
-
display: "block",
|
|
923
|
-
clipPath: "path('M12 15.525L16.925 10.625H7.07502L12 15.525ZM12 22.85C10.4834 22.85 9.06677 22.566 7.75027 21.998C6.43394 21.4298 5.28886 20.6588 4.31502 19.685C3.34119 18.7112 2.57019 17.5661 2.00202 16.2498C1.43402 14.9333 1.15002 13.5167 1.15002 12C1.15002 10.4833 1.43402 9.06675 2.00202 7.75025C2.57019 6.43392 3.34119 5.28883 4.31502 4.315C5.28886 3.34117 6.43394 2.57017 7.75027 2.002C9.06677 1.434 10.4834 1.15 12 1.15C13.5167 1.15 14.9333 1.434 16.2498 2.002C17.5661 2.57017 18.7112 3.34117 19.685 4.315C20.6589 5.28883 21.4299 6.43392 21.998 7.75025C22.566 9.06675 22.85 10.4833 22.85 12C22.85 13.5167 22.566 14.9333 21.998 16.2498C21.4299 17.5661 20.6589 18.7112 19.685 19.685C18.7112 20.6588 17.5661 21.4298 16.2498 21.998C14.9333 22.566 13.5167 22.85 12 22.85Z')"
|
|
1022
|
+
_open: "rotate(0deg)"
|
|
924
1023
|
}
|
|
925
1024
|
},
|
|
926
1025
|
content: {}
|
|
@@ -928,8 +1027,8 @@ var disclosure_default = (0, import_dev6.defineSlotRecipe)({
|
|
|
928
1027
|
});
|
|
929
1028
|
|
|
930
1029
|
// src/recipes/divider.ts
|
|
931
|
-
var
|
|
932
|
-
var divider_default = (0,
|
|
1030
|
+
var import_dev9 = require("@pandacss/dev");
|
|
1031
|
+
var divider_default = (0, import_dev9.defineRecipe)({
|
|
933
1032
|
className: "divider",
|
|
934
1033
|
description: "\u30C7\u30A3\u30D0\u30A4\u30C0\u30FC\u306F\u3001\u7570\u306A\u308B\u30BB\u30AF\u30B7\u30E7\u30F3\u3001\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3001\u307E\u305F\u306F\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u30B0\u30EB\u30FC\u30D7\u9593\u306B\u8A2D\u3051\u3089\u308C\u308B\u8996\u899A\u7684\u306A\u533A\u5207\u308A\u3067\u3001HTML\u306Ehr\u8981\u7D20\u306B\u76F8\u5F53\u3057\u307E\u3059\u3002\u8981\u7D20\u9593\u306B\u660E\u78BA\u306A\u533A\u5207\u308A\u3092\u8A2D\u3051\u308B\u3053\u3068\u3067\u3001\u8AAD\u307F\u3084\u3059\u3055\u3092\u5411\u4E0A\u3055\u305B\u308B\u5F79\u5272\u3092\u679C\u305F\u3057\u307E\u3059\u3002",
|
|
935
1034
|
variants: {
|
|
@@ -946,10 +1045,11 @@ var divider_default = (0, import_dev7.defineRecipe)({
|
|
|
946
1045
|
|
|
947
1046
|
// src/recipes/drawer.ts
|
|
948
1047
|
var import_dialog = require("@zag-js/dialog");
|
|
949
|
-
var
|
|
1048
|
+
var import_dev10 = require("@pandacss/dev");
|
|
950
1049
|
var anatomy = import_dialog.anatomy.extendWith("header", "body", "footer");
|
|
951
|
-
var drawer_default = (0,
|
|
1050
|
+
var drawer_default = (0, import_dev10.defineSlotRecipe)({
|
|
952
1051
|
className: "drawer",
|
|
1052
|
+
description: "\u30D6\u30E9\u30A6\u30B6\u753B\u9762\u306E\u56DB\u8FBA(\u4E0A\u4E0B\u5DE6\u53F3\u7AEF)\u304B\u3089\u5C55\u958B\u3057\u3001\u30E2\u30D0\u30A4\u30EB\u30E1\u30CB\u30E5\u30FC\u306A\u3069\u306E\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u683C\u7D0D\u53EF\u80FD\u306A\u30B3\u30F3\u30C6\u30CA\u3067\u3059\u3002",
|
|
953
1053
|
slots: anatomy.keys(),
|
|
954
1054
|
base: {
|
|
955
1055
|
backdrop: {
|
|
@@ -957,7 +1057,7 @@ var drawer_default = (0, import_dev8.defineSlotRecipe)({
|
|
|
957
1057
|
* backdrop:bg-opacity-gray-100 forced-colors:backdrop:bg-[#000b]
|
|
958
1058
|
*/
|
|
959
1059
|
backdropFilter: "blur(4px)",
|
|
960
|
-
background: "gray.100/90",
|
|
1060
|
+
background: "solid-gray.100/90",
|
|
961
1061
|
height: "100vh",
|
|
962
1062
|
position: "fixed",
|
|
963
1063
|
top: 0,
|
|
@@ -1066,8 +1166,8 @@ var drawer_default = (0, import_dev8.defineSlotRecipe)({
|
|
|
1066
1166
|
});
|
|
1067
1167
|
|
|
1068
1168
|
// src/recipes/error-text.ts
|
|
1069
|
-
var
|
|
1070
|
-
var error_text_default = (0,
|
|
1169
|
+
var import_dev11 = require("@pandacss/dev");
|
|
1170
|
+
var error_text_default = (0, import_dev11.defineRecipe)({
|
|
1071
1171
|
className: "error-text",
|
|
1072
1172
|
base: {
|
|
1073
1173
|
/**
|
|
@@ -1078,52 +1178,12 @@ var error_text_default = (0, import_dev9.defineRecipe)({
|
|
|
1078
1178
|
}
|
|
1079
1179
|
});
|
|
1080
1180
|
|
|
1081
|
-
// src/recipes/
|
|
1082
|
-
var
|
|
1083
|
-
var hamburger_menu_button_default = (0, import_dev10.defineRecipe)({
|
|
1084
|
-
className: "hamburger-menu-button",
|
|
1085
|
-
base: {
|
|
1086
|
-
/**
|
|
1087
|
-
* flex w-fit items-center text-oln-16N-100 rounded-4 touch-manipulation
|
|
1088
|
-
*/
|
|
1089
|
-
display: "flex",
|
|
1090
|
-
width: "fit-content",
|
|
1091
|
-
alignItems: "center",
|
|
1092
|
-
textStyle: "oln-16N-100",
|
|
1093
|
-
rounded: 4,
|
|
1094
|
-
touchAction: "manipulation",
|
|
1095
|
-
gap: 1.5,
|
|
1096
|
-
/**
|
|
1097
|
-
* hover:bg-solid-gray-50 hover:underline hover:underline-offset-[calc(3/16*1rem)]
|
|
1098
|
-
*/
|
|
1099
|
-
_hover: {
|
|
1100
|
-
bg: "solid-gray.50",
|
|
1101
|
-
textDecoration: "underline",
|
|
1102
|
-
textUnderlineOffset: "calc(3 / 16 * 1rem)"
|
|
1103
|
-
},
|
|
1104
|
-
/**
|
|
1105
|
-
* focus-visible:outline focus-visible:outline-4 focus-visible:outline-black
|
|
1106
|
-
* focus-visible:outline-offset-[calc(2/16*1rem)] focus-visible:bg-yellow-300
|
|
1107
|
-
* focus-visible:ring-[calc(2/16*1rem)] focus-visible:ring-yellow-300
|
|
1108
|
-
*/
|
|
1109
|
-
_focusVisible: {
|
|
1110
|
-
bg: "yellow.300",
|
|
1111
|
-
outlineStyle: "solid",
|
|
1112
|
-
outlineWidth: "4px",
|
|
1113
|
-
outlineColor: "black",
|
|
1114
|
-
outlineOffset: "calc(2 / 16 * 1rem)",
|
|
1115
|
-
focusRing: "calc(2 / 16 * 1rem)"
|
|
1116
|
-
},
|
|
1117
|
-
/**
|
|
1118
|
-
* override reset
|
|
1119
|
-
*/
|
|
1120
|
-
cursor: "pointer"
|
|
1121
|
-
}
|
|
1122
|
-
});
|
|
1181
|
+
// src/recipes/field.ts
|
|
1182
|
+
var import_dev18 = require("@pandacss/dev");
|
|
1123
1183
|
|
|
1124
1184
|
// src/recipes/input.ts
|
|
1125
|
-
var
|
|
1126
|
-
var input_default = (0,
|
|
1185
|
+
var import_dev12 = require("@pandacss/dev");
|
|
1186
|
+
var input_default = (0, import_dev12.defineRecipe)({
|
|
1127
1187
|
className: "input",
|
|
1128
1188
|
description: "\u30A4\u30F3\u30D7\u30C3\u30C8\u30C6\u30AD\u30B9\u30C8\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306F\u3001\u540D\u524D\u3084\u96FB\u8A71\u756A\u53F7\u306A\u3069\u30011\u884C\u4EE5\u5185\u306E\u30C6\u30AD\u30B9\u30C8\u3092\u5165\u529B\u3059\u308B\u5834\u5408\u306B\u4F7F\u7528\u3057\u307E\u3059\u3002",
|
|
1129
1189
|
base: {
|
|
@@ -1139,12 +1199,14 @@ var input_default = (0, import_dev11.defineRecipe)({
|
|
|
1139
1199
|
* border border-solid-gray-600 hover:border-black
|
|
1140
1200
|
* aria-disabled:border-solid-gray-300
|
|
1141
1201
|
* aria-disabled:forced-colors:border-[GrayText]
|
|
1202
|
+
* aria-[invalid=true]:border-error-1 aria-[invalid=true]:hover:border-red-1000
|
|
1142
1203
|
*/
|
|
1143
1204
|
borderWidth: "1px",
|
|
1144
1205
|
borderColor: {
|
|
1145
1206
|
base: "solid-gray.600",
|
|
1146
1207
|
_hover: "black",
|
|
1147
|
-
_disabled: { base: "solid-gray.300", _highContrast: "GrayText" }
|
|
1208
|
+
_disabled: { base: "solid-gray.300", _highContrast: "GrayText" },
|
|
1209
|
+
_invalid: { base: "error.1", _hover: "red.1000" }
|
|
1148
1210
|
},
|
|
1149
1211
|
/**
|
|
1150
1212
|
* bg-white text-oln-16N-100 text-solid-gray-800
|
|
@@ -1160,7 +1222,8 @@ var input_default = (0, import_dev11.defineRecipe)({
|
|
|
1160
1222
|
textStyle: "oln-16N-100",
|
|
1161
1223
|
/**
|
|
1162
1224
|
* focus:outline focus:outline-4 focus:outline-black
|
|
1163
|
-
* focus:outline-offset-[calc(2/16*1rem)]
|
|
1225
|
+
* focus:outline-offset-[calc(2/16*1rem)]
|
|
1226
|
+
* focus:ring-[calc(2/16*1rem)] focus:ring-yellow-300
|
|
1164
1227
|
*/
|
|
1165
1228
|
_focus: {
|
|
1166
1229
|
outlineStyle: "solid",
|
|
@@ -1182,28 +1245,16 @@ var input_default = (0, import_dev11.defineRecipe)({
|
|
|
1182
1245
|
sm: { height: 10 },
|
|
1183
1246
|
md: { height: 12 },
|
|
1184
1247
|
lg: { height: 14 }
|
|
1185
|
-
},
|
|
1186
|
-
invalid: {
|
|
1187
|
-
true: {
|
|
1188
|
-
/**
|
|
1189
|
-
* aria-[invalid=true]:border-error-1 aria-[invalid=true]:hover:border-red-1000
|
|
1190
|
-
*/
|
|
1191
|
-
borderColor: { base: "error.1", _hover: "red.1000" }
|
|
1192
|
-
}
|
|
1193
1248
|
}
|
|
1194
1249
|
},
|
|
1195
1250
|
defaultVariants: {
|
|
1196
|
-
size: "lg"
|
|
1197
|
-
invalid: false
|
|
1251
|
+
size: "lg"
|
|
1198
1252
|
}
|
|
1199
1253
|
});
|
|
1200
1254
|
|
|
1201
|
-
// src/recipes/input-text.ts
|
|
1202
|
-
var import_dev16 = require("@pandacss/dev");
|
|
1203
|
-
|
|
1204
1255
|
// src/recipes/label.ts
|
|
1205
|
-
var
|
|
1206
|
-
var label_default = (0,
|
|
1256
|
+
var import_dev13 = require("@pandacss/dev");
|
|
1257
|
+
var label_default = (0, import_dev13.defineRecipe)({
|
|
1207
1258
|
className: "label",
|
|
1208
1259
|
base: {
|
|
1209
1260
|
/**
|
|
@@ -1230,9 +1281,22 @@ var label_default = (0, import_dev12.defineRecipe)({
|
|
|
1230
1281
|
}
|
|
1231
1282
|
});
|
|
1232
1283
|
|
|
1284
|
+
// src/recipes/requirement-badge.ts
|
|
1285
|
+
var import_dev14 = require("@pandacss/dev");
|
|
1286
|
+
var requirement_badge_default = (0, import_dev14.defineRecipe)({
|
|
1287
|
+
className: "requirement-badge",
|
|
1288
|
+
base: {
|
|
1289
|
+
/**
|
|
1290
|
+
* text-oln-16N-100 text-red-800
|
|
1291
|
+
*/
|
|
1292
|
+
textStyle: "oln-16N-100",
|
|
1293
|
+
color: "red.800"
|
|
1294
|
+
}
|
|
1295
|
+
});
|
|
1296
|
+
|
|
1233
1297
|
// src/recipes/select-box.ts
|
|
1234
|
-
var
|
|
1235
|
-
var select_box_default = (0,
|
|
1298
|
+
var import_dev15 = require("@pandacss/dev");
|
|
1299
|
+
var select_box_default = (0, import_dev15.defineRecipe)({
|
|
1236
1300
|
className: "select-box",
|
|
1237
1301
|
description: "\u30BB\u30EC\u30AF\u30C8\u30DC\u30C3\u30AF\u30B9\u306F\u3001\u8907\u6570\u306E\u9078\u629E\u80A2\u3092\u63D0\u4F9B\u3059\u308B\u30D5\u30A9\u30FC\u30E0\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u3067\u3059\u3002",
|
|
1238
1302
|
base: {
|
|
@@ -1260,11 +1324,13 @@ var select_box_default = (0, import_dev13.defineRecipe)({
|
|
|
1260
1324
|
* border border-solid-gray-600 hover:border-black
|
|
1261
1325
|
* aria-disabled:border-solid-gray-300 aria-disabled:bg-solid-gray-50
|
|
1262
1326
|
* aria-disabled:forced-colors:border-[GrayText]
|
|
1327
|
+
* aria-[invalid=true]:border-error-1aria-[invalid=true]:hover:border-red-1000
|
|
1263
1328
|
*/
|
|
1264
1329
|
borderWidth: "1px",
|
|
1265
1330
|
borderColor: {
|
|
1266
1331
|
base: "solid-gray.900",
|
|
1267
|
-
_disabled: "solid-gray.300"
|
|
1332
|
+
_disabled: "solid-gray.300",
|
|
1333
|
+
_invalid: { base: "error.1", _hover: "red.1000" }
|
|
1268
1334
|
},
|
|
1269
1335
|
/**
|
|
1270
1336
|
* remove button style
|
|
@@ -1295,34 +1361,26 @@ var select_box_default = (0, import_dev13.defineRecipe)({
|
|
|
1295
1361
|
lg: {
|
|
1296
1362
|
height: 14
|
|
1297
1363
|
}
|
|
1298
|
-
},
|
|
1299
|
-
invalid: {
|
|
1300
|
-
/**
|
|
1301
|
-
* aria-[invalid=true]:border-error-1aria-[invalid=true]:hover:border-red-1000
|
|
1302
|
-
*/
|
|
1303
|
-
true: {
|
|
1304
|
-
borderColor: { base: "error.1", _hover: "red.1000" }
|
|
1305
|
-
}
|
|
1306
1364
|
}
|
|
1307
1365
|
}
|
|
1308
1366
|
});
|
|
1309
1367
|
|
|
1310
1368
|
// src/recipes/support-text.ts
|
|
1311
|
-
var
|
|
1312
|
-
var support_text_default = (0,
|
|
1369
|
+
var import_dev16 = require("@pandacss/dev");
|
|
1370
|
+
var support_text_default = (0, import_dev16.defineRecipe)({
|
|
1313
1371
|
className: "support-text",
|
|
1314
1372
|
base: {
|
|
1315
1373
|
/**
|
|
1316
1374
|
* text-std-16N-170 text-solid-gray-700
|
|
1317
1375
|
*/
|
|
1318
|
-
textStyle: "
|
|
1376
|
+
textStyle: "std-16N-170",
|
|
1319
1377
|
color: "solid-gray.700"
|
|
1320
1378
|
}
|
|
1321
1379
|
});
|
|
1322
1380
|
|
|
1323
1381
|
// src/recipes/textarea.ts
|
|
1324
|
-
var
|
|
1325
|
-
var textarea_default = (0,
|
|
1382
|
+
var import_dev17 = require("@pandacss/dev");
|
|
1383
|
+
var textarea_default = (0, import_dev17.defineRecipe)({
|
|
1326
1384
|
className: "textarea",
|
|
1327
1385
|
description: "\u30C6\u30AD\u30B9\u30C8\u30A8\u30EA\u30A2\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306F\u30011\u884C\u4EE5\u4E0A\u306E\u30C6\u30AD\u30B9\u30C8\u3092\u5165\u529B\u3059\u308B\u5834\u5408\u306B\u4F7F\u7528\u3057\u307E\u3059\u3002",
|
|
1328
1386
|
base: {
|
|
@@ -1345,15 +1403,18 @@ var textarea_default = (0, import_dev15.defineRecipe)({
|
|
|
1345
1403
|
/**
|
|
1346
1404
|
* border border-solid-gray-600 hover:border-black
|
|
1347
1405
|
* aria-disabled:border-solid-gray-300 aria-disabled:forced-colors:border-[GrayText]
|
|
1406
|
+
* aria-[invalid=true]:border-error-1 aria-[invalid=true]:hover:border-red-1000
|
|
1348
1407
|
*/
|
|
1349
1408
|
borderWidth: "1px",
|
|
1350
1409
|
borderColor: {
|
|
1351
1410
|
base: "solid-gray.600",
|
|
1352
1411
|
_hover: "black",
|
|
1353
|
-
_disabled: { base: "solid-gray.300", _hover: "GrayText" }
|
|
1412
|
+
_disabled: { base: "solid-gray.300", _hover: "GrayText" },
|
|
1413
|
+
_invalid: { base: "error.1", _hover: "red.1000" }
|
|
1354
1414
|
},
|
|
1355
1415
|
/**
|
|
1356
|
-
* focus:outline focus:outline-4 focus:outline-black
|
|
1416
|
+
* focus:outline focus:outline-4 focus:outline-black
|
|
1417
|
+
* focus:outline-offset-[calc(2/16*1rem)]
|
|
1357
1418
|
* focus:ring-[calc(2/16*1rem)] focus:ring-yellow-300
|
|
1358
1419
|
*/
|
|
1359
1420
|
_focus: {
|
|
@@ -1363,27 +1424,13 @@ var textarea_default = (0, import_dev15.defineRecipe)({
|
|
|
1363
1424
|
outlineOffset: "calc(2 / 16 * 1rem)",
|
|
1364
1425
|
focusRing: "calc(2 / 16 * 1rem)"
|
|
1365
1426
|
}
|
|
1366
|
-
},
|
|
1367
|
-
variants: {
|
|
1368
|
-
invalid: {
|
|
1369
|
-
true: {
|
|
1370
|
-
/**
|
|
1371
|
-
* aria-[invalid=true]:border-error-1 aria-[invalid=true]:hover:border-red-1000
|
|
1372
|
-
*/
|
|
1373
|
-
borderColor: { base: "error.1", _hover: "red.1000" }
|
|
1374
|
-
}
|
|
1375
|
-
}
|
|
1376
|
-
},
|
|
1377
|
-
defaultVariants: {
|
|
1378
|
-
invalid: false
|
|
1379
1427
|
}
|
|
1380
1428
|
});
|
|
1381
1429
|
|
|
1382
|
-
// src/recipes/
|
|
1383
|
-
var
|
|
1384
|
-
className: "
|
|
1385
|
-
|
|
1386
|
-
slots: inputTextAnatomy.keys(),
|
|
1430
|
+
// src/recipes/field.ts
|
|
1431
|
+
var field = (0, import_dev18.defineSlotRecipe)({
|
|
1432
|
+
className: "field",
|
|
1433
|
+
slots: fieldAnatomy.keys(),
|
|
1387
1434
|
base: {
|
|
1388
1435
|
root: {
|
|
1389
1436
|
display: "flex",
|
|
@@ -1405,8 +1452,11 @@ var inputText = (0, import_dev16.defineSlotRecipe)({
|
|
|
1405
1452
|
errorText: {
|
|
1406
1453
|
...error_text_default.base
|
|
1407
1454
|
},
|
|
1408
|
-
|
|
1455
|
+
supportText: {
|
|
1409
1456
|
...support_text_default.base
|
|
1457
|
+
},
|
|
1458
|
+
requirementBadge: {
|
|
1459
|
+
...requirement_badge_default.base
|
|
1410
1460
|
}
|
|
1411
1461
|
},
|
|
1412
1462
|
variants: {
|
|
@@ -1426,25 +1476,100 @@ var inputText = (0, import_dev16.defineSlotRecipe)({
|
|
|
1426
1476
|
input: { ...input_default.variants?.size?.sm },
|
|
1427
1477
|
select: { ...select_box_default.variants?.size?.sm }
|
|
1428
1478
|
}
|
|
1479
|
+
}
|
|
1480
|
+
},
|
|
1481
|
+
defaultVariants: {
|
|
1482
|
+
size: "md"
|
|
1483
|
+
}
|
|
1484
|
+
});
|
|
1485
|
+
var field_default = field;
|
|
1486
|
+
|
|
1487
|
+
// src/recipes/fieldset.ts
|
|
1488
|
+
var import_dev19 = require("@pandacss/dev");
|
|
1489
|
+
var fieldset_default = (0, import_dev19.defineSlotRecipe)({
|
|
1490
|
+
className: "fieldset",
|
|
1491
|
+
slots: fieldsetAnatomy.keys(),
|
|
1492
|
+
base: {
|
|
1493
|
+
legend: {
|
|
1494
|
+
...label_default.base
|
|
1429
1495
|
},
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1496
|
+
supportText: {
|
|
1497
|
+
...support_text_default.base
|
|
1498
|
+
},
|
|
1499
|
+
errorText: {
|
|
1500
|
+
...error_text_default.base
|
|
1501
|
+
}
|
|
1502
|
+
},
|
|
1503
|
+
variants: {
|
|
1504
|
+
size: {
|
|
1505
|
+
lg: {
|
|
1506
|
+
legend: { ...label_default.variants?.size?.lg }
|
|
1507
|
+
},
|
|
1508
|
+
md: {
|
|
1509
|
+
legend: { ...label_default.variants?.size?.md }
|
|
1510
|
+
},
|
|
1511
|
+
sm: {
|
|
1512
|
+
legend: { ...label_default.variants?.size?.sm }
|
|
1435
1513
|
}
|
|
1436
1514
|
}
|
|
1437
1515
|
},
|
|
1438
1516
|
defaultVariants: {
|
|
1439
|
-
size: "
|
|
1440
|
-
|
|
1517
|
+
size: "md"
|
|
1518
|
+
}
|
|
1519
|
+
});
|
|
1520
|
+
|
|
1521
|
+
// src/recipes/hamburger-menu-button.ts
|
|
1522
|
+
var import_dev20 = require("@pandacss/dev");
|
|
1523
|
+
var hamburger_menu_button_default = (0, import_dev20.defineRecipe)({
|
|
1524
|
+
className: "hamburger-menu-button",
|
|
1525
|
+
base: {
|
|
1526
|
+
/**
|
|
1527
|
+
* flex w-fit items-center text-oln-16N-100 rounded-6 touch-manipulation
|
|
1528
|
+
*/
|
|
1529
|
+
display: "flex",
|
|
1530
|
+
width: "fit-content",
|
|
1531
|
+
alignItems: "center",
|
|
1532
|
+
textStyle: "oln-16N-100",
|
|
1533
|
+
rounded: 6,
|
|
1534
|
+
/**
|
|
1535
|
+
* gap-x-1 px-3 pb-1.5 pt-1
|
|
1536
|
+
*/
|
|
1537
|
+
px: 3,
|
|
1538
|
+
pb: 1.5,
|
|
1539
|
+
pt: 1,
|
|
1540
|
+
touchAction: "manipulation",
|
|
1541
|
+
columnGap: 1.5,
|
|
1542
|
+
/**
|
|
1543
|
+
* hover:bg-solid-gray-50 hover:underline hover:underline-offset-[calc(3/16*1rem)]
|
|
1544
|
+
*/
|
|
1545
|
+
_hover: {
|
|
1546
|
+
bg: "solid-gray.50",
|
|
1547
|
+
textDecoration: "underline",
|
|
1548
|
+
textUnderlineOffset: "calc(3 / 16 * 1rem)"
|
|
1549
|
+
},
|
|
1550
|
+
/**
|
|
1551
|
+
* focus-visible:outline focus-visible:outline-4 focus-visible:outline-black
|
|
1552
|
+
* focus-visible:outline-offset-[calc(2/16*1rem)] focus-visible:bg-yellow-300
|
|
1553
|
+
* focus-visible:ring-[calc(2/16*1rem)] focus-visible:ring-yellow-300
|
|
1554
|
+
*/
|
|
1555
|
+
_focusVisible: {
|
|
1556
|
+
bg: "yellow.300",
|
|
1557
|
+
outlineStyle: "solid",
|
|
1558
|
+
outlineWidth: "4px",
|
|
1559
|
+
outlineColor: "black",
|
|
1560
|
+
outlineOffset: "calc(2 / 16 * 1rem)",
|
|
1561
|
+
focusRing: "calc(2 / 16 * 1rem)"
|
|
1562
|
+
},
|
|
1563
|
+
/**
|
|
1564
|
+
* override reset
|
|
1565
|
+
*/
|
|
1566
|
+
cursor: "pointer"
|
|
1441
1567
|
}
|
|
1442
1568
|
});
|
|
1443
|
-
var input_text_default = inputText;
|
|
1444
1569
|
|
|
1445
1570
|
// src/recipes/legend.ts
|
|
1446
|
-
var
|
|
1447
|
-
var legend_default = (0,
|
|
1571
|
+
var import_dev21 = require("@pandacss/dev");
|
|
1572
|
+
var legend_default = (0, import_dev21.defineRecipe)({
|
|
1448
1573
|
className: "legend",
|
|
1449
1574
|
base: {
|
|
1450
1575
|
/**
|
|
@@ -1484,8 +1609,8 @@ var legend_default = (0, import_dev17.defineRecipe)({
|
|
|
1484
1609
|
});
|
|
1485
1610
|
|
|
1486
1611
|
// src/recipes/list.ts
|
|
1487
|
-
var
|
|
1488
|
-
var list_default = (0,
|
|
1612
|
+
var import_dev22 = require("@pandacss/dev");
|
|
1613
|
+
var list_default = (0, import_dev22.defineRecipe)({
|
|
1489
1614
|
className: "list",
|
|
1490
1615
|
base: {
|
|
1491
1616
|
/**
|
|
@@ -1496,16 +1621,17 @@ var list_default = (0, import_dev18.defineRecipe)({
|
|
|
1496
1621
|
});
|
|
1497
1622
|
|
|
1498
1623
|
// src/recipes/menu.ts
|
|
1499
|
-
var
|
|
1624
|
+
var import_dev24 = require("@pandacss/dev");
|
|
1500
1625
|
var import_menu = require("@zag-js/menu");
|
|
1501
1626
|
|
|
1502
1627
|
// src/recipes/menu-item.ts
|
|
1503
|
-
var
|
|
1504
|
-
var menu_item_default = (0,
|
|
1628
|
+
var import_dev23 = require("@pandacss/dev");
|
|
1629
|
+
var menu_item_default = (0, import_dev23.defineRecipe)({
|
|
1505
1630
|
className: "menu-item",
|
|
1506
1631
|
base: {
|
|
1507
1632
|
/**
|
|
1508
|
-
* flex relative items-center
|
|
1633
|
+
* flex relative items-center text-nowrap
|
|
1634
|
+
* bg-white hover:bg-solid-gray-50 focus-visible:bg-yellow-300
|
|
1509
1635
|
* text-oln-16N-100 text-solid-gray-800
|
|
1510
1636
|
* ${isCurrent ? '!text-blue-1000 !bg-blue-100 font-bold' : ''}
|
|
1511
1637
|
*/
|
|
@@ -1513,27 +1639,30 @@ var menu_item_default = (0, import_dev19.defineRecipe)({
|
|
|
1513
1639
|
position: "relative",
|
|
1514
1640
|
alignItems: "center",
|
|
1515
1641
|
textStyle: "dns-16N-130",
|
|
1642
|
+
colorPalette: "keyColor",
|
|
1516
1643
|
bg: {
|
|
1517
1644
|
base: "transparent",
|
|
1518
1645
|
_hover: "solid-gray.50",
|
|
1646
|
+
_focusVisible: "yellow.300",
|
|
1647
|
+
_highlighted: "yellow.300",
|
|
1519
1648
|
_selected: {
|
|
1520
|
-
base: "
|
|
1521
|
-
_hover: "
|
|
1649
|
+
base: "colorPalette.100",
|
|
1650
|
+
_hover: "colorPalette.100"
|
|
1522
1651
|
},
|
|
1523
1652
|
_checked: {
|
|
1524
|
-
base: "
|
|
1525
|
-
_hover: "
|
|
1653
|
+
base: "colorPalette.100",
|
|
1654
|
+
_hover: "colorPalette.100"
|
|
1526
1655
|
},
|
|
1527
1656
|
_open: {
|
|
1528
|
-
base: "
|
|
1529
|
-
_hover: "
|
|
1657
|
+
base: "colorPalette.bg",
|
|
1658
|
+
_hover: "colorPalette.bg"
|
|
1530
1659
|
}
|
|
1531
1660
|
},
|
|
1532
1661
|
color: {
|
|
1533
1662
|
base: "solid-gray.800",
|
|
1534
|
-
_selected: "
|
|
1535
|
-
_checked: "
|
|
1536
|
-
_open: "
|
|
1663
|
+
_selected: "colorPalette.primary.100",
|
|
1664
|
+
_checked: "colorPalette.primary.100",
|
|
1665
|
+
_open: "colorPalette.primary.100"
|
|
1537
1666
|
},
|
|
1538
1667
|
fontWeight: { base: "normal", _selected: "bold", _checked: "bold" },
|
|
1539
1668
|
/**
|
|
@@ -1552,17 +1681,27 @@ var menu_item_default = (0, import_dev19.defineRecipe)({
|
|
|
1552
1681
|
columnGap: 2,
|
|
1553
1682
|
/**
|
|
1554
1683
|
* focus-visible:outline focus-visible:outline-4 focus-visible:outline-black
|
|
1555
|
-
* focus-visible:-outline-offset-4
|
|
1684
|
+
* focus-visible:-outline-offset-4
|
|
1556
1685
|
* focus-visible:ring-[calc(6/16*1rem)] focus-visible:ring-inset
|
|
1557
1686
|
* focus-visible:ring-yellow-300
|
|
1558
1687
|
*/
|
|
1559
1688
|
_focusVisible: {
|
|
1560
|
-
|
|
1689
|
+
rounded: 4,
|
|
1690
|
+
outlineStyle: "solid",
|
|
1691
|
+
outlineWidth: "4px",
|
|
1692
|
+
outlineColor: "black",
|
|
1693
|
+
outlineOffset: "calc(2 / 16 * 1rem)",
|
|
1694
|
+
focusRing: "calc(6 / 16 * 1rem)",
|
|
1695
|
+
zIndex: 1
|
|
1696
|
+
},
|
|
1697
|
+
_highlighted: {
|
|
1698
|
+
rounded: 4,
|
|
1561
1699
|
outlineStyle: "solid",
|
|
1562
1700
|
outlineWidth: "4px",
|
|
1563
1701
|
outlineColor: "black",
|
|
1564
1702
|
outlineOffset: "calc(2 / 16 * 1rem)",
|
|
1565
|
-
focusRing: "calc(6 / 16 * 1rem)"
|
|
1703
|
+
focusRing: "calc(6 / 16 * 1rem)",
|
|
1704
|
+
zIndex: 1
|
|
1566
1705
|
}
|
|
1567
1706
|
},
|
|
1568
1707
|
variants: {
|
|
@@ -1599,7 +1738,7 @@ var menu_item_default = (0, import_dev19.defineRecipe)({
|
|
|
1599
1738
|
var itemStyle = {
|
|
1600
1739
|
...menu_item_default.base
|
|
1601
1740
|
};
|
|
1602
|
-
var menu_default = (0,
|
|
1741
|
+
var menu_default = (0, import_dev24.defineSlotRecipe)({
|
|
1603
1742
|
className: "menu",
|
|
1604
1743
|
slots: import_menu.anatomy.keys(),
|
|
1605
1744
|
base: {
|
|
@@ -1611,7 +1750,7 @@ var menu_default = (0, import_dev20.defineSlotRecipe)({
|
|
|
1611
1750
|
borderWidth: "1px",
|
|
1612
1751
|
borderColor: "solid-gray.420",
|
|
1613
1752
|
bg: "white",
|
|
1614
|
-
rounded:
|
|
1753
|
+
rounded: 8,
|
|
1615
1754
|
boxShadow: 1
|
|
1616
1755
|
/**
|
|
1617
1756
|
* min-w-fit w-auto py-2 border border-solid-grey-420 bg-white shadow-1 rounded-lg
|
|
@@ -1634,8 +1773,8 @@ var menu_default = (0, import_dev20.defineSlotRecipe)({
|
|
|
1634
1773
|
},
|
|
1635
1774
|
textUnderlineOffset: "calc(3 / 16 * 1rem)",
|
|
1636
1775
|
_checked: {
|
|
1637
|
-
bg: "
|
|
1638
|
-
color: "
|
|
1776
|
+
bg: "colorPalette.100",
|
|
1777
|
+
color: "colorPalette.primary.100",
|
|
1639
1778
|
fontWeight: "bold"
|
|
1640
1779
|
},
|
|
1641
1780
|
_focusVisible: {
|
|
@@ -1689,8 +1828,8 @@ var menu_default = (0, import_dev20.defineSlotRecipe)({
|
|
|
1689
1828
|
});
|
|
1690
1829
|
|
|
1691
1830
|
// src/recipes/menu-list.ts
|
|
1692
|
-
var
|
|
1693
|
-
var menu_list_default = (0,
|
|
1831
|
+
var import_dev25 = require("@pandacss/dev");
|
|
1832
|
+
var menu_list_default = (0, import_dev25.defineSlotRecipe)({
|
|
1694
1833
|
className: "menu-list",
|
|
1695
1834
|
slots: menuListAnatomy.keys(),
|
|
1696
1835
|
base: {
|
|
@@ -1755,9 +1894,10 @@ var menu_list_default = (0, import_dev21.defineSlotRecipe)({
|
|
|
1755
1894
|
});
|
|
1756
1895
|
|
|
1757
1896
|
// src/recipes/notification-banner.ts
|
|
1758
|
-
var
|
|
1759
|
-
var notification_banner_default = (0,
|
|
1897
|
+
var import_dev26 = require("@pandacss/dev");
|
|
1898
|
+
var notification_banner_default = (0, import_dev26.defineSlotRecipe)({
|
|
1760
1899
|
className: "notification-banner",
|
|
1900
|
+
description: "\u30B5\u30A4\u30C8/\u30B5\u30FC\u30D3\u30B9\u5168\u4F53\u306B\u95A2\u308F\u308B\u3001\u307E\u305F\u306F\u30DA\u30FC\u30B8\u3084\u8981\u7D20\u5358\u4F4D\u306B\u304A\u3051\u308B\u91CD\u8981\u5EA6\u306E\u9AD8\u3044\u60C5\u5831\u3092\u3001\u30E6\u30FC\u30B6\u30FC\u306E\u64CD\u4F5C\u306B\u95A2\u308F\u3089\u305A\u3001\u30B5\u30A4\u30C8/\u30B5\u30FC\u30D3\u30B9\u5074\u304B\u3089\u30E6\u30FC\u30B6\u30FC\u3078\u63D0\u793A\u3059\u308B\u5834\u5408\u306B\u7528\u3044\u308B\u901A\u77E5\u30D0\u30CA\u30FC\u3067\u3059\u3002\u901A\u77E5\u306B\u5BFE\u3059\u308B\u30E6\u30FC\u30B6\u30FC\u30A2\u30AF\u30B7\u30E7\u30F3\u3092\u8981\u6C42\u3059\u308B\u3053\u3068\u304C\u53EF\u80FD\u3067\u3059\u3002\u30E1\u30F3\u30C6\u30CA\u30F3\u30B9\u3092\u901A\u77E5\u3057\u305F\u3044\u3001\u30E6\u30FC\u30B6\u30FC\u306E\u5BFE\u5FDC\u304C\u5FC5\u8981\u306A\u60C5\u5831\u3092\u901A\u77E5\u3057\u3066\u30A2\u30AF\u30B7\u30E7\u30F3\u3055\u305B\u305F\u3044\u3001\u3068\u3044\u3063\u305F\u8981\u6C42\u306B\u5BFE\u5FDC\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002",
|
|
1761
1901
|
slots: notificationBannerAnatomy.keys(),
|
|
1762
1902
|
base: {
|
|
1763
1903
|
root: {
|
|
@@ -1820,49 +1960,26 @@ var notification_banner_default = (0, import_dev22.defineSlotRecipe)({
|
|
|
1820
1960
|
bg: "currentColor",
|
|
1821
1961
|
width: "36px",
|
|
1822
1962
|
height: "36px",
|
|
1823
|
-
transformOrigin: "left center",
|
|
1824
|
-
transform: "scale(var(--icon-scale))"
|
|
1825
|
-
}
|
|
1826
|
-
},
|
|
1827
|
-
close: {
|
|
1828
|
-
/**
|
|
1829
|
-
* inline-flex items-center gap-0.5
|
|
1830
|
-
* -mt-2 -mr-3 desktop:mt-0 desktop:mr-0 desktop:px-2 desktop:py-0.5
|
|
1831
|
-
*/
|
|
1832
|
-
display: "inline-flex",
|
|
1833
|
-
alignItems: "center",
|
|
1834
|
-
gap: 0.5,
|
|
1835
|
-
mt: { base: -2, md: 0 },
|
|
1836
|
-
mr: { base: -3, md: 0 },
|
|
1837
|
-
px: { base: 0, md: 2 },
|
|
1838
|
-
py: { base: 0, md: 0.5 },
|
|
1839
|
-
/**
|
|
1840
|
-
* text-solid-gray-900
|
|
1841
|
-
*/
|
|
1842
|
-
color: "solid-gray.900",
|
|
1843
|
-
/**
|
|
1844
|
-
* border border-transparent hover:border-solid-gray-900 rounded-8 focus-visible:border-transparent
|
|
1845
|
-
*/
|
|
1846
|
-
borderWidth: "1px",
|
|
1847
|
-
borderColor: {
|
|
1848
|
-
base: "transparent",
|
|
1849
|
-
_hover: "solid-gray.900",
|
|
1850
|
-
_focusVisible: "transparent"
|
|
1851
|
-
},
|
|
1852
|
-
rounded: 8,
|
|
1853
|
-
/**
|
|
1854
|
-
* focus-visible:outline focus-visible:outline-4 focus-visible:outline-black focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
1855
|
-
* focus-visible:ring-[calc(2/16*1rem)] focus-visible:ring-yellow-300 focus-visible:bg-yellow-300
|
|
1856
|
-
*
|
|
1857
|
-
*/
|
|
1858
|
-
_focusVisible: {
|
|
1859
|
-
outlineStyle: "solid",
|
|
1860
|
-
outlineWidth: "4px",
|
|
1861
|
-
outlineColor: "black",
|
|
1862
|
-
outlineOffset: "calc(2 / 16 * 1rem)",
|
|
1863
|
-
focusRing: "calc(2 / 16 * 1rem)"
|
|
1963
|
+
transformOrigin: "left center",
|
|
1964
|
+
transform: "scale(var(--icon-scale))"
|
|
1864
1965
|
}
|
|
1865
1966
|
},
|
|
1967
|
+
close: {
|
|
1968
|
+
_before: {
|
|
1969
|
+
content: '""',
|
|
1970
|
+
display: "block",
|
|
1971
|
+
mt: 0.5,
|
|
1972
|
+
width: 6,
|
|
1973
|
+
height: 6,
|
|
1974
|
+
bg: "currentColor",
|
|
1975
|
+
clipPath: "path('m6.4 18.6-1-1 5.5-5.6-5.6-5.6 1.1-1 5.6 5.5 5.6-5.6 1 1.1L13 12l5.6 5.6-1 1L12 13l-5.6 5.6Z')"
|
|
1976
|
+
},
|
|
1977
|
+
...hamburger_menu_button_default.base,
|
|
1978
|
+
display: "inline-flex",
|
|
1979
|
+
gap: 1,
|
|
1980
|
+
mr: -3,
|
|
1981
|
+
color: "solid-gray.900"
|
|
1982
|
+
},
|
|
1866
1983
|
heading: {
|
|
1867
1984
|
/**
|
|
1868
1985
|
* text-solid-gray-900 col-start-1 desktop:mt-0.5
|
|
@@ -1884,6 +2001,28 @@ var notification_banner_default = (0, import_dev22.defineSlotRecipe)({
|
|
|
1884
2001
|
gridColumnEnd: -1,
|
|
1885
2002
|
textStyle: "std-16N-170",
|
|
1886
2003
|
color: "solid-gray.800"
|
|
2004
|
+
},
|
|
2005
|
+
actions: {
|
|
2006
|
+
/**
|
|
2007
|
+
* margin-bottom: calc(-8 / 16 * 1rem);
|
|
2008
|
+
* display: grid;
|
|
2009
|
+
* gap: calc(8 / 16 * 1rem);
|
|
2010
|
+
* grid-column: 1 / 4;
|
|
2011
|
+
* @media (min-width: 48rem) {
|
|
2012
|
+
* .dads-notification-banner__actions {
|
|
2013
|
+
* grid-auto-flow: column;
|
|
2014
|
+
* gap: calc(16 / 16 * 1rem);
|
|
2015
|
+
* grid-column: 2 / 4;
|
|
2016
|
+
* justify-content: end;
|
|
2017
|
+
* }
|
|
2018
|
+
* }
|
|
2019
|
+
*/
|
|
2020
|
+
mb: "calc(-8 / 16 * 1rem)",
|
|
2021
|
+
display: "grid",
|
|
2022
|
+
gap: { base: "calc(8 / 16 * 1rem)", md: "calc(16 / 16 * 1rem)" },
|
|
2023
|
+
gridColumn: { base: "1 / 4", md: "2 / 4" },
|
|
2024
|
+
gridAutoFlow: { md: "column" },
|
|
2025
|
+
justifyContent: { md: "end" }
|
|
1887
2026
|
}
|
|
1888
2027
|
},
|
|
1889
2028
|
variants: {
|
|
@@ -1898,7 +2037,12 @@ var notification_banner_default = (0, import_dev22.defineSlotRecipe)({
|
|
|
1898
2037
|
},
|
|
1899
2038
|
icon: {
|
|
1900
2039
|
_before: {
|
|
1901
|
-
clipPath: "path('M18 0C8.064 0 0 8.064 0 18C0 27.936 8.064 36 18 36C27.936 36 36 27.936 36 18C36 8.064 27.936 0 18
|
|
2040
|
+
clipPath: "path('M18 0C8.064 0 0 8.064 0 18C0 27.936 8.064 36 18 36C27.936 36 36 27.936 36 18C36 8.064 27.936 0 18 0Z M14.4 27L5.4 18L7.938 15.462L14.4 21.906L28.062 8.244L30.6 10.8L14.4 27Z')"
|
|
2041
|
+
}
|
|
2042
|
+
},
|
|
2043
|
+
actions: {
|
|
2044
|
+
"& button": {
|
|
2045
|
+
colorPalette: "green"
|
|
1902
2046
|
}
|
|
1903
2047
|
}
|
|
1904
2048
|
},
|
|
@@ -1912,7 +2056,12 @@ var notification_banner_default = (0, import_dev22.defineSlotRecipe)({
|
|
|
1912
2056
|
},
|
|
1913
2057
|
icon: {
|
|
1914
2058
|
_before: {
|
|
1915
|
-
clipPath: "path('
|
|
2059
|
+
clipPath: "path('M10.82 35.3.74 25.22v-14.4L10.82.74h14.4L35.3 10.82v14.4L25.22 35.3h-14.4Zm7.2-14.592 5.472 5.472 2.688-2.688-5.472-5.472 5.472-5.472-2.688-2.688-5.472 5.472-5.472-5.472-2.688 2.688 5.472 5.472-5.472 5.472 2.688 2.688 5.472-5.472Z')"
|
|
2060
|
+
}
|
|
2061
|
+
},
|
|
2062
|
+
actions: {
|
|
2063
|
+
"& button": {
|
|
2064
|
+
colorPalette: "red"
|
|
1916
2065
|
}
|
|
1917
2066
|
}
|
|
1918
2067
|
},
|
|
@@ -1928,6 +2077,11 @@ var notification_banner_default = (0, import_dev22.defineSlotRecipe)({
|
|
|
1928
2077
|
_before: {
|
|
1929
2078
|
clipPath: "path('M0 34.0909H36L18 3L0 34.0909ZM19.6364 29.1818H16.3636V25.9091H19.6364V29.1818ZM19.6364 22.6364H16.3636V16.0909H19.6364V22.6364Z')"
|
|
1930
2079
|
}
|
|
2080
|
+
},
|
|
2081
|
+
actions: {
|
|
2082
|
+
"& button": {
|
|
2083
|
+
colorPalette: "yellow"
|
|
2084
|
+
}
|
|
1931
2085
|
}
|
|
1932
2086
|
},
|
|
1933
2087
|
info1: {
|
|
@@ -1942,6 +2096,11 @@ var notification_banner_default = (0, import_dev22.defineSlotRecipe)({
|
|
|
1942
2096
|
_before: {
|
|
1943
2097
|
clipPath: "path('M18 0C8.064 0 0 8.064 0 18C0 27.936 8.064 36 18 36C27.936 36 36 27.936 36 18C36 8.064 27.936 0 18 0ZM19.8 27H16.2V16.2H19.8V27ZM19.8 12.6H16.2V9H19.8V12.6Z')"
|
|
1944
2098
|
}
|
|
2099
|
+
},
|
|
2100
|
+
actions: {
|
|
2101
|
+
"& button": {
|
|
2102
|
+
colorPalette: "blue"
|
|
2103
|
+
}
|
|
1945
2104
|
}
|
|
1946
2105
|
},
|
|
1947
2106
|
info2: {
|
|
@@ -1956,6 +2115,11 @@ var notification_banner_default = (0, import_dev22.defineSlotRecipe)({
|
|
|
1956
2115
|
_before: {
|
|
1957
2116
|
clipPath: "path('M18 0C8.064 0 0 8.064 0 18C0 27.936 8.064 36 18 36C27.936 36 36 27.936 36 18C36 8.064 27.936 0 18 0ZM19.8 27H16.2V16.2H19.8V27ZM19.8 12.6H16.2V9H19.8V12.6Z')"
|
|
1958
2117
|
}
|
|
2118
|
+
},
|
|
2119
|
+
actions: {
|
|
2120
|
+
"& button": {
|
|
2121
|
+
colorPalette: "solid-gray"
|
|
2122
|
+
}
|
|
1959
2123
|
}
|
|
1960
2124
|
}
|
|
1961
2125
|
},
|
|
@@ -1990,8 +2154,8 @@ var notification_banner_default = (0, import_dev22.defineSlotRecipe)({
|
|
|
1990
2154
|
});
|
|
1991
2155
|
|
|
1992
2156
|
// src/recipes/ordered-list.ts
|
|
1993
|
-
var
|
|
1994
|
-
var ordered_list_default = (0,
|
|
2157
|
+
var import_dev27 = require("@pandacss/dev");
|
|
2158
|
+
var ordered_list_default = (0, import_dev27.defineRecipe)({
|
|
1995
2159
|
className: "ordered-list",
|
|
1996
2160
|
base: {
|
|
1997
2161
|
/**
|
|
@@ -2009,12 +2173,119 @@ var ordered_list_default = (0, import_dev23.defineRecipe)({
|
|
|
2009
2173
|
}
|
|
2010
2174
|
});
|
|
2011
2175
|
|
|
2012
|
-
// src/recipes/
|
|
2013
|
-
var
|
|
2014
|
-
var
|
|
2015
|
-
|
|
2016
|
-
|
|
2176
|
+
// src/recipes/progress.ts
|
|
2177
|
+
var import_dev28 = require("@pandacss/dev");
|
|
2178
|
+
var import_progress = require("@zag-js/progress");
|
|
2179
|
+
var progress_default = (0, import_dev28.defineSlotRecipe)({
|
|
2180
|
+
className: "progress",
|
|
2181
|
+
description: "\u30D7\u30ED\u30B0\u30EC\u30B9\u30A4\u30F3\u30B8\u30B1\u30FC\u30BF\u30FC\u306F\u3001\u30E6\u30FC\u30B6\u30FC\u306E\u30A2\u30AF\u30B7\u30E7\u30F3\u306B\u5BFE\u3057\u3066\u51E6\u7406\u9032\u884C\u4E2D\u3067\u3042\u308B\u3053\u3068\u3092\u901A\u77E5\u3057\u307E\u3059\u3002\u30C7\u30FC\u30BF\u53D6\u5F97\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u5FDC\u7B54\u3092\u5F85\u3063\u3066\u3044\u308B\u3053\u3068\u3092\u30E6\u30FC\u30B6\u30FC\u306B\u4F1D\u3048\u305F\u3044\u3068\u3044\u3063\u305F\u8981\u6C42\u306B\u5BFE\u5FDC\u3057\u307E\u3059\u3002",
|
|
2182
|
+
slots: import_progress.anatomy.keys(),
|
|
2183
|
+
base: {
|
|
2184
|
+
root: {
|
|
2185
|
+
display: "flex",
|
|
2186
|
+
alignItems: "center",
|
|
2187
|
+
colorPalette: "keyColor"
|
|
2188
|
+
},
|
|
2189
|
+
track: {
|
|
2190
|
+
height: "4px",
|
|
2191
|
+
bg: "colorPalette.500",
|
|
2192
|
+
rounded: "full",
|
|
2193
|
+
overflow: "hidden",
|
|
2194
|
+
position: "relative"
|
|
2195
|
+
},
|
|
2196
|
+
range: {
|
|
2197
|
+
bg: "colorPalette.1200",
|
|
2198
|
+
height: "full",
|
|
2199
|
+
outlineStyle: "solid",
|
|
2200
|
+
outlineWidth: "1px",
|
|
2201
|
+
outlineColor: "white",
|
|
2202
|
+
rounded: "full",
|
|
2203
|
+
transition: "width 0.2s ease-in-out",
|
|
2204
|
+
"--translate-x": "-100%",
|
|
2205
|
+
_indeterminate: {
|
|
2206
|
+
"--animate-from-x": "-40%",
|
|
2207
|
+
"--animate-to-x": "100%",
|
|
2208
|
+
position: "absolute",
|
|
2209
|
+
willChange: "left",
|
|
2210
|
+
minWidth: "50%",
|
|
2211
|
+
animation: "position 1s ease infinite normal none running",
|
|
2212
|
+
backgroundImage: `linear-gradient(to right, transparent 0%, var(--track-color) 50%, transparent 100%)`
|
|
2213
|
+
}
|
|
2214
|
+
},
|
|
2215
|
+
circle: {
|
|
2216
|
+
_indeterminate: {
|
|
2217
|
+
animation: "spin 2s linear infinite"
|
|
2218
|
+
}
|
|
2219
|
+
},
|
|
2220
|
+
circleTrack: {
|
|
2221
|
+
stroke: "colorPalette.500"
|
|
2222
|
+
},
|
|
2223
|
+
circleRange: {
|
|
2224
|
+
stroke: "colorPalette.1200",
|
|
2225
|
+
strokeLinecap: "round",
|
|
2226
|
+
transitionProperty: "stroke-dashoffset, stroke-dasharray",
|
|
2227
|
+
transitionDuration: "0.6s",
|
|
2228
|
+
_indeterminate: {
|
|
2229
|
+
animation: "circular-progress 1.5s linear infinite"
|
|
2230
|
+
}
|
|
2231
|
+
},
|
|
2232
|
+
label: {
|
|
2233
|
+
textStyle: "std-16N-170"
|
|
2234
|
+
}
|
|
2235
|
+
},
|
|
2236
|
+
variants: {
|
|
2237
|
+
layout: {
|
|
2238
|
+
vertical: {
|
|
2239
|
+
root: {
|
|
2240
|
+
flexDirection: "column",
|
|
2241
|
+
gap: 4,
|
|
2242
|
+
"--size": "48px",
|
|
2243
|
+
"--thickness": "4px"
|
|
2244
|
+
},
|
|
2245
|
+
track: {
|
|
2246
|
+
width: "240px"
|
|
2247
|
+
}
|
|
2248
|
+
},
|
|
2249
|
+
horizontal: {
|
|
2250
|
+
root: {
|
|
2251
|
+
flexDirection: "row",
|
|
2252
|
+
gap: 2,
|
|
2253
|
+
"--size": "24px",
|
|
2254
|
+
"--thickness": "2px"
|
|
2255
|
+
},
|
|
2256
|
+
track: {
|
|
2257
|
+
width: "80px"
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
},
|
|
2262
|
+
defaultVariants: {
|
|
2263
|
+
layout: "vertical"
|
|
2264
|
+
}
|
|
2265
|
+
});
|
|
2266
|
+
|
|
2267
|
+
// src/recipes/radio-group.ts
|
|
2268
|
+
var import_dev29 = require("@pandacss/dev");
|
|
2269
|
+
var import_radio_group = require("@zag-js/radio-group");
|
|
2270
|
+
var radio_group_default = (0, import_dev29.defineSlotRecipe)({
|
|
2271
|
+
className: "radio-group",
|
|
2272
|
+
slots: import_radio_group.anatomy.keys(),
|
|
2017
2273
|
base: {
|
|
2274
|
+
root: {
|
|
2275
|
+
display: "flex",
|
|
2276
|
+
colorPalette: "keyColor",
|
|
2277
|
+
_vertical: {
|
|
2278
|
+
flexDirection: "column",
|
|
2279
|
+
gap: 0
|
|
2280
|
+
},
|
|
2281
|
+
_horizonal: {
|
|
2282
|
+
flexDirection: "row",
|
|
2283
|
+
gap: 4
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
label: {
|
|
2287
|
+
...legend_default.base
|
|
2288
|
+
},
|
|
2018
2289
|
item: {
|
|
2019
2290
|
/**
|
|
2020
2291
|
* flex w-fit items-start py-2
|
|
@@ -2061,15 +2332,19 @@ var radio_default = (0, import_dev24.defineSlotRecipe)({
|
|
|
2061
2332
|
_hover: "black",
|
|
2062
2333
|
_highContrast: { base: "ButtonText" },
|
|
2063
2334
|
_checked: {
|
|
2064
|
-
base: "
|
|
2065
|
-
_hover: "
|
|
2066
|
-
_disabled: "solid-gray.300",
|
|
2335
|
+
base: "colorPalette.primary",
|
|
2336
|
+
_hover: "colorPalette.primary.200",
|
|
2337
|
+
_disabled: { base: "solid-gray.300", _highContrast: "GrayText" },
|
|
2067
2338
|
_highContrast: "Highlight"
|
|
2068
2339
|
},
|
|
2069
2340
|
/**
|
|
2070
2341
|
* data-[error]:border-error-1 data-[error]:hover:border-red-1000
|
|
2071
2342
|
*/
|
|
2072
|
-
_invalid: {
|
|
2343
|
+
_invalid: {
|
|
2344
|
+
base: "error.1",
|
|
2345
|
+
_hover: "red.1000",
|
|
2346
|
+
_disabled: "solid-gray.300"
|
|
2347
|
+
},
|
|
2073
2348
|
/**
|
|
2074
2349
|
* aria-disabled:!border-solid-gray-300
|
|
2075
2350
|
* forced-colors:aria-disabled:!border-[GrayText]
|
|
@@ -2080,10 +2355,17 @@ var radio_default = (0, import_dev24.defineSlotRecipe)({
|
|
|
2080
2355
|
* outline on hover
|
|
2081
2356
|
* has-[input:hover:not(:focus):not([aria-disabled="true"])]:bg-solid-gray-420
|
|
2082
2357
|
*/
|
|
2083
|
-
'&:is(:hover, [data-hover]):not(
|
|
2358
|
+
'&:is(:hover, [data-hover]):not([aria-disabled="true"])': {
|
|
2084
2359
|
outlineStyle: "solid",
|
|
2085
2360
|
outlineWidth: "calc(var(--radio-size) / 12)",
|
|
2086
|
-
outlineColor: "solid-gray.420"
|
|
2361
|
+
outlineColor: "solid-gray.420",
|
|
2362
|
+
_focus: {
|
|
2363
|
+
outlineStyle: "solid",
|
|
2364
|
+
outlineWidth: "4px",
|
|
2365
|
+
outlineColor: "black",
|
|
2366
|
+
outlineOffset: "calc(2 / 16 * 1rem)",
|
|
2367
|
+
focusRing: "calc(2 / 16 * 1rem)"
|
|
2368
|
+
}
|
|
2087
2369
|
},
|
|
2088
2370
|
/**
|
|
2089
2371
|
* focus:outline focus:outline-4 focus:outline-black
|
|
@@ -2123,18 +2405,33 @@ var radio_default = (0, import_dev24.defineSlotRecipe)({
|
|
|
2123
2405
|
*/
|
|
2124
2406
|
_before: {
|
|
2125
2407
|
display: "block",
|
|
2126
|
-
bg:
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2408
|
+
bg: {
|
|
2409
|
+
base: "colorPalette.primary",
|
|
2410
|
+
_hover: "colorPalette.primary.200",
|
|
2411
|
+
_highContrast: "Highlight"
|
|
2412
|
+
}
|
|
2413
|
+
},
|
|
2414
|
+
_invalid: {
|
|
2415
|
+
_before: {
|
|
2416
|
+
bg: {
|
|
2417
|
+
base: "error.1",
|
|
2418
|
+
_hover: "red.1000"
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2133
2421
|
},
|
|
2134
2422
|
_disabled: {
|
|
2135
2423
|
_before: {
|
|
2136
|
-
|
|
2137
|
-
|
|
2424
|
+
bg: {
|
|
2425
|
+
base: "solid-gray.300",
|
|
2426
|
+
_highContrast: "GrayText"
|
|
2427
|
+
}
|
|
2428
|
+
},
|
|
2429
|
+
_invalid: {
|
|
2430
|
+
_before: {
|
|
2431
|
+
bg: {
|
|
2432
|
+
base: "solid-gray.300"
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2138
2435
|
}
|
|
2139
2436
|
}
|
|
2140
2437
|
}
|
|
@@ -2149,6 +2446,9 @@ var radio_default = (0, import_dev24.defineSlotRecipe)({
|
|
|
2149
2446
|
variants: {
|
|
2150
2447
|
size: {
|
|
2151
2448
|
sm: {
|
|
2449
|
+
label: {
|
|
2450
|
+
...legend_default.variants?.size?.sm
|
|
2451
|
+
},
|
|
2152
2452
|
item: {
|
|
2153
2453
|
/**
|
|
2154
2454
|
* data-[size=sm]:gap-1
|
|
@@ -2175,6 +2475,9 @@ var radio_default = (0, import_dev24.defineSlotRecipe)({
|
|
|
2175
2475
|
}
|
|
2176
2476
|
},
|
|
2177
2477
|
md: {
|
|
2478
|
+
label: {
|
|
2479
|
+
...legend_default.variants?.size?.md
|
|
2480
|
+
},
|
|
2178
2481
|
item: {
|
|
2179
2482
|
/**
|
|
2180
2483
|
* data-[size=md]:gap-2
|
|
@@ -2201,6 +2504,9 @@ var radio_default = (0, import_dev24.defineSlotRecipe)({
|
|
|
2201
2504
|
}
|
|
2202
2505
|
},
|
|
2203
2506
|
lg: {
|
|
2507
|
+
label: {
|
|
2508
|
+
...legend_default.variants?.size?.lg
|
|
2509
|
+
},
|
|
2204
2510
|
item: {
|
|
2205
2511
|
/**
|
|
2206
2512
|
* data-[size=lg]:gap-3
|
|
@@ -2233,123 +2539,31 @@ var radio_default = (0, import_dev24.defineSlotRecipe)({
|
|
|
2233
2539
|
}
|
|
2234
2540
|
});
|
|
2235
2541
|
|
|
2236
|
-
// src/recipes/radio-group.ts
|
|
2237
|
-
var import_dev25 = require("@pandacss/dev");
|
|
2238
|
-
var import_radio_group = require("@zag-js/radio-group");
|
|
2239
|
-
var radio_group_default = (0, import_dev25.defineSlotRecipe)({
|
|
2240
|
-
className: "radio-group",
|
|
2241
|
-
slots: import_radio_group.anatomy.keys(),
|
|
2242
|
-
base: {
|
|
2243
|
-
root: {
|
|
2244
|
-
display: "flex",
|
|
2245
|
-
_vertical: {
|
|
2246
|
-
flexDirection: "column",
|
|
2247
|
-
gap: 0
|
|
2248
|
-
},
|
|
2249
|
-
_horizonal: {
|
|
2250
|
-
flexDirection: "row",
|
|
2251
|
-
gap: 4
|
|
2252
|
-
}
|
|
2253
|
-
},
|
|
2254
|
-
item: {
|
|
2255
|
-
...radio_default.base?.item
|
|
2256
|
-
},
|
|
2257
|
-
itemControl: {
|
|
2258
|
-
...radio_default.base?.itemControl
|
|
2259
|
-
},
|
|
2260
|
-
itemText: {
|
|
2261
|
-
...radio_default.base?.itemText
|
|
2262
|
-
}
|
|
2263
|
-
},
|
|
2264
|
-
variants: {
|
|
2265
|
-
size: {
|
|
2266
|
-
sm: {
|
|
2267
|
-
item: {
|
|
2268
|
-
...radio_default.variants?.size?.sm?.item
|
|
2269
|
-
},
|
|
2270
|
-
itemControl: {
|
|
2271
|
-
...radio_default.variants?.size?.sm?.itemControl
|
|
2272
|
-
},
|
|
2273
|
-
itemText: {
|
|
2274
|
-
...radio_default.variants?.size?.sm?.itemText
|
|
2275
|
-
}
|
|
2276
|
-
},
|
|
2277
|
-
md: {
|
|
2278
|
-
item: {
|
|
2279
|
-
...radio_default.variants?.size?.md?.item
|
|
2280
|
-
},
|
|
2281
|
-
itemControl: {
|
|
2282
|
-
...radio_default.variants?.size?.md?.itemControl
|
|
2283
|
-
},
|
|
2284
|
-
itemText: {
|
|
2285
|
-
...radio_default.variants?.size?.md?.itemText
|
|
2286
|
-
}
|
|
2287
|
-
},
|
|
2288
|
-
lg: {
|
|
2289
|
-
item: {
|
|
2290
|
-
...radio_default.variants?.size?.lg?.item
|
|
2291
|
-
},
|
|
2292
|
-
itemControl: {
|
|
2293
|
-
...radio_default.variants?.size?.lg?.itemControl
|
|
2294
|
-
},
|
|
2295
|
-
itemText: {
|
|
2296
|
-
...radio_default.variants?.size?.lg?.itemText
|
|
2297
|
-
}
|
|
2298
|
-
}
|
|
2299
|
-
}
|
|
2300
|
-
},
|
|
2301
|
-
defaultVariants: {
|
|
2302
|
-
size: "sm"
|
|
2303
|
-
}
|
|
2304
|
-
});
|
|
2305
|
-
|
|
2306
|
-
// src/recipes/requirement-badge.ts
|
|
2307
|
-
var import_dev26 = require("@pandacss/dev");
|
|
2308
|
-
var requirement_badge_default = (0, import_dev26.defineRecipe)({
|
|
2309
|
-
className: "requirement-badge",
|
|
2310
|
-
base: {
|
|
2311
|
-
/**
|
|
2312
|
-
* text-oln-16N-100 text-red-800
|
|
2313
|
-
*/
|
|
2314
|
-
textStyle: "oln-16N-100",
|
|
2315
|
-
color: "red.800"
|
|
2316
|
-
},
|
|
2317
|
-
variants: {
|
|
2318
|
-
isOptional: {
|
|
2319
|
-
true: {
|
|
2320
|
-
/**
|
|
2321
|
-
* data-[is-optional]:text-solid-gray-800
|
|
2322
|
-
*/
|
|
2323
|
-
color: "solid-gray.800"
|
|
2324
|
-
}
|
|
2325
|
-
}
|
|
2326
|
-
},
|
|
2327
|
-
defaultVariants: {
|
|
2328
|
-
isOptional: false
|
|
2329
|
-
}
|
|
2330
|
-
});
|
|
2331
|
-
|
|
2332
2542
|
// src/recipes/resource-list.ts
|
|
2333
|
-
var
|
|
2334
|
-
var resource_list_default = (0,
|
|
2543
|
+
var import_dev30 = require("@pandacss/dev");
|
|
2544
|
+
var resource_list_default = (0, import_dev30.defineSlotRecipe)({
|
|
2335
2545
|
className: "resource-list",
|
|
2336
2546
|
slots: resourceListAnatomy.keys(),
|
|
2337
2547
|
base: {
|
|
2338
2548
|
root: {
|
|
2339
2549
|
display: "flex",
|
|
2340
2550
|
borderColor: "solid-gray.420",
|
|
2551
|
+
overflow: "hidden",
|
|
2552
|
+
colorPalette: "keyColor",
|
|
2341
2553
|
bg: {
|
|
2342
|
-
"&:has(input:checked)": "
|
|
2343
|
-
_selected: "
|
|
2554
|
+
"&:has(input:checked)": "colorPalette.bg",
|
|
2555
|
+
_selected: "colorPalette.bg"
|
|
2344
2556
|
}
|
|
2345
2557
|
},
|
|
2346
|
-
|
|
2558
|
+
main: {
|
|
2347
2559
|
display: "flex",
|
|
2348
2560
|
flexGrow: 1,
|
|
2349
2561
|
flexDirection: "row",
|
|
2350
2562
|
alignItems: "center",
|
|
2351
2563
|
justifyContent: "start",
|
|
2352
2564
|
gap: { base: 4, md: 6 },
|
|
2565
|
+
color: "solid-gray.800",
|
|
2566
|
+
textStyle: "dns-16N-130",
|
|
2353
2567
|
/**
|
|
2354
2568
|
* p-4 md:px-6 md:py-4
|
|
2355
2569
|
*/
|
|
@@ -2364,15 +2578,12 @@ var resource_list_default = (0, import_dev27.defineSlotRecipe)({
|
|
|
2364
2578
|
focusRing: "calc(2 / 16 * 1rem)"
|
|
2365
2579
|
}
|
|
2366
2580
|
},
|
|
2367
|
-
|
|
2581
|
+
action: {
|
|
2368
2582
|
p: 4,
|
|
2369
2583
|
display: "flex",
|
|
2370
2584
|
alignItems: "center",
|
|
2371
2585
|
justifyContent: "center"
|
|
2372
2586
|
},
|
|
2373
|
-
frontIcon: {
|
|
2374
|
-
// px: 2,
|
|
2375
|
-
},
|
|
2376
2587
|
content: {
|
|
2377
2588
|
height: "full",
|
|
2378
2589
|
flexGrow: 1,
|
|
@@ -2385,19 +2596,6 @@ var resource_list_default = (0, import_dev27.defineSlotRecipe)({
|
|
|
2385
2596
|
*/
|
|
2386
2597
|
textStyle: "std-20B-150",
|
|
2387
2598
|
width: "fit-content"
|
|
2388
|
-
},
|
|
2389
|
-
label: {
|
|
2390
|
-
zIndex: 1,
|
|
2391
|
-
width: "fit-content",
|
|
2392
|
-
textStyle: "oln-17N-100",
|
|
2393
|
-
color: "solid-gray.800"
|
|
2394
|
-
},
|
|
2395
|
-
supportText: {
|
|
2396
|
-
color: "solid-gray.800"
|
|
2397
|
-
},
|
|
2398
|
-
subLabel: {
|
|
2399
|
-
zIndex: 1,
|
|
2400
|
-
color: "solid-gray.800"
|
|
2401
2599
|
}
|
|
2402
2600
|
},
|
|
2403
2601
|
variants: {
|
|
@@ -2411,24 +2609,12 @@ var resource_list_default = (0, import_dev27.defineSlotRecipe)({
|
|
|
2411
2609
|
root: {
|
|
2412
2610
|
rounded: 16,
|
|
2413
2611
|
borderWidth: "1px"
|
|
2414
|
-
},
|
|
2415
|
-
contentsContainer: {
|
|
2416
|
-
borderTopLeftRadius: 16,
|
|
2417
|
-
borderBottomLeftRadius: 16,
|
|
2418
|
-
_only: {
|
|
2419
|
-
borderTopRightRadius: 16,
|
|
2420
|
-
borderBottomRightRadius: 16
|
|
2421
|
-
}
|
|
2422
|
-
},
|
|
2423
|
-
functionButton: {
|
|
2424
|
-
borderTopRightRadius: 16,
|
|
2425
|
-
borderBottomRightRadius: 16
|
|
2426
2612
|
}
|
|
2427
2613
|
}
|
|
2428
2614
|
},
|
|
2429
2615
|
asLink: {
|
|
2430
2616
|
true: {
|
|
2431
|
-
|
|
2617
|
+
main: {
|
|
2432
2618
|
position: "relative"
|
|
2433
2619
|
},
|
|
2434
2620
|
title: {
|
|
@@ -2442,19 +2628,20 @@ var resource_list_default = (0, import_dev27.defineSlotRecipe)({
|
|
|
2442
2628
|
zIndex: 0,
|
|
2443
2629
|
cursor: "inherit"
|
|
2444
2630
|
}
|
|
2445
|
-
},
|
|
2446
|
-
supportText: {
|
|
2447
|
-
textDecoration: { base: "none", _groupHover: "underline" }
|
|
2448
2631
|
}
|
|
2449
2632
|
}
|
|
2450
2633
|
}
|
|
2634
|
+
},
|
|
2635
|
+
defaultVariants: {
|
|
2636
|
+
variant: "list",
|
|
2637
|
+
asLink: false
|
|
2451
2638
|
}
|
|
2452
2639
|
});
|
|
2453
2640
|
|
|
2454
2641
|
// src/recipes/select.ts
|
|
2455
|
-
var
|
|
2642
|
+
var import_dev31 = require("@pandacss/dev");
|
|
2456
2643
|
var import_select = require("@zag-js/select");
|
|
2457
|
-
var select_default = (0,
|
|
2644
|
+
var select_default = (0, import_dev31.defineSlotRecipe)({
|
|
2458
2645
|
className: "select",
|
|
2459
2646
|
description: "\u30BB\u30EC\u30AF\u30C8\u30DC\u30C3\u30AF\u30B9\u306F\u3001\u8907\u6570\u306E\u9078\u629E\u80A2\u3092\u63D0\u4F9B\u3059\u308B\u30D5\u30A9\u30FC\u30E0\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u3067\u3059\u3002",
|
|
2460
2647
|
slots: import_select.anatomy.keys(),
|
|
@@ -2546,24 +2733,16 @@ var select_default = (0, import_dev28.defineSlotRecipe)({
|
|
|
2546
2733
|
},
|
|
2547
2734
|
label: { ...label_default.variants?.size?.sm }
|
|
2548
2735
|
}
|
|
2549
|
-
},
|
|
2550
|
-
invalid: {
|
|
2551
|
-
true: {
|
|
2552
|
-
trigger: {
|
|
2553
|
-
...select_box_default.variants?.invalid?.true
|
|
2554
|
-
}
|
|
2555
|
-
}
|
|
2556
2736
|
}
|
|
2557
2737
|
},
|
|
2558
2738
|
defaultVariants: {
|
|
2559
|
-
size: "lg"
|
|
2560
|
-
invalid: false
|
|
2739
|
+
size: "lg"
|
|
2561
2740
|
}
|
|
2562
2741
|
});
|
|
2563
2742
|
|
|
2564
2743
|
// src/recipes/table.ts
|
|
2565
|
-
var
|
|
2566
|
-
var table_default = (0,
|
|
2744
|
+
var import_dev32 = require("@pandacss/dev");
|
|
2745
|
+
var table_default = (0, import_dev32.defineSlotRecipe)({
|
|
2567
2746
|
className: "table",
|
|
2568
2747
|
slots: tableAnatomy.keys(),
|
|
2569
2748
|
base: {
|
|
@@ -2571,7 +2750,8 @@ var table_default = (0, import_dev29.defineSlotRecipe)({
|
|
|
2571
2750
|
/**
|
|
2572
2751
|
* w-full text-std-16N-170
|
|
2573
2752
|
*/
|
|
2574
|
-
maxWidth: "full"
|
|
2753
|
+
maxWidth: "full",
|
|
2754
|
+
colorPalette: "keyColor"
|
|
2575
2755
|
},
|
|
2576
2756
|
head: {
|
|
2577
2757
|
"& tr": {
|
|
@@ -2593,7 +2773,7 @@ var table_default = (0, import_dev29.defineSlotRecipe)({
|
|
|
2593
2773
|
*/
|
|
2594
2774
|
/*
|
|
2595
2775
|
"&:has(input:checked)": {
|
|
2596
|
-
bg: "
|
|
2776
|
+
bg: "colorPalette.100",
|
|
2597
2777
|
},
|
|
2598
2778
|
*/
|
|
2599
2779
|
}
|
|
@@ -2604,7 +2784,7 @@ var table_default = (0, import_dev29.defineSlotRecipe)({
|
|
|
2604
2784
|
* border-b
|
|
2605
2785
|
*/
|
|
2606
2786
|
borderBottomWidth: "1px",
|
|
2607
|
-
"tbody > &:has(input:checked)": { bg: "
|
|
2787
|
+
"tbody > &:has(input:checked)": { bg: "colorPalette.100" }
|
|
2608
2788
|
},
|
|
2609
2789
|
header: {
|
|
2610
2790
|
/**
|
|
@@ -2668,7 +2848,9 @@ var table_default = (0, import_dev29.defineSlotRecipe)({
|
|
|
2668
2848
|
body: {
|
|
2669
2849
|
"& tr": {
|
|
2670
2850
|
_even: {
|
|
2671
|
-
"&:not(:has(input:checked))": {
|
|
2851
|
+
"&:not(:has(input:checked))": {
|
|
2852
|
+
bg: "{colors.colorPalette.bg}/25"
|
|
2853
|
+
}
|
|
2672
2854
|
}
|
|
2673
2855
|
}
|
|
2674
2856
|
}
|
|
@@ -2679,11 +2861,11 @@ var table_default = (0, import_dev29.defineSlotRecipe)({
|
|
|
2679
2861
|
body: {
|
|
2680
2862
|
"& tr": {
|
|
2681
2863
|
_hover: {
|
|
2682
|
-
bg: "
|
|
2864
|
+
bg: "colorPalette.bg"
|
|
2683
2865
|
},
|
|
2684
2866
|
_even: {
|
|
2685
2867
|
"&:not(:has(input:checked))": {
|
|
2686
|
-
_hover: { bg: "{colors.
|
|
2868
|
+
_hover: { bg: "{colors.colorPalette.bg}" }
|
|
2687
2869
|
}
|
|
2688
2870
|
}
|
|
2689
2871
|
}
|
|
@@ -2699,15 +2881,14 @@ var table_default = (0, import_dev29.defineSlotRecipe)({
|
|
|
2699
2881
|
});
|
|
2700
2882
|
|
|
2701
2883
|
// src/recipes/tabs.ts
|
|
2702
|
-
var
|
|
2884
|
+
var import_dev33 = require("@pandacss/dev");
|
|
2703
2885
|
var import_tabs = require("@zag-js/tabs");
|
|
2704
|
-
var tabs_default = (0,
|
|
2886
|
+
var tabs_default = (0, import_dev33.defineSlotRecipe)({
|
|
2705
2887
|
className: "tabs",
|
|
2706
2888
|
slots: import_tabs.anatomy.keys(),
|
|
2707
2889
|
base: {
|
|
2708
2890
|
root: {
|
|
2709
|
-
|
|
2710
|
-
mx: -1.5
|
|
2891
|
+
colorPalette: "keyColor"
|
|
2711
2892
|
},
|
|
2712
2893
|
list: {
|
|
2713
2894
|
/**
|
|
@@ -2741,6 +2922,7 @@ var tabs_default = (0, import_dev30.defineSlotRecipe)({
|
|
|
2741
2922
|
*/
|
|
2742
2923
|
px: { base: 4, md: 8 },
|
|
2743
2924
|
py: 6,
|
|
2925
|
+
cursor: "pointer",
|
|
2744
2926
|
bg: {
|
|
2745
2927
|
base: "transparent",
|
|
2746
2928
|
_hover: "solid-gray.50",
|
|
@@ -2773,7 +2955,7 @@ var tabs_default = (0, import_dev30.defineSlotRecipe)({
|
|
|
2773
2955
|
* after:border-current
|
|
2774
2956
|
* aria-[current=page]:cursor-default
|
|
2775
2957
|
*/
|
|
2776
|
-
color: "
|
|
2958
|
+
color: "colorPalette.primary",
|
|
2777
2959
|
cursor: "default",
|
|
2778
2960
|
_after: {
|
|
2779
2961
|
content: '""',
|
|
@@ -2790,9 +2972,9 @@ var tabs_default = (0, import_dev30.defineSlotRecipe)({
|
|
|
2790
2972
|
});
|
|
2791
2973
|
|
|
2792
2974
|
// src/recipes/tree-view.ts
|
|
2793
|
-
var
|
|
2975
|
+
var import_dev34 = require("@pandacss/dev");
|
|
2794
2976
|
var import_tree_view = require("@zag-js/tree-view");
|
|
2795
|
-
var tree_view_default = (0,
|
|
2977
|
+
var tree_view_default = (0, import_dev34.defineSlotRecipe)({
|
|
2796
2978
|
className: "tree-view",
|
|
2797
2979
|
slots: import_tree_view.anatomy.keys(),
|
|
2798
2980
|
base: {
|
|
@@ -2810,8 +2992,21 @@ var tree_view_default = (0, import_dev31.defineSlotRecipe)({
|
|
|
2810
2992
|
...menu_item_default.base
|
|
2811
2993
|
},
|
|
2812
2994
|
itemIndicator: {
|
|
2813
|
-
|
|
2814
|
-
|
|
2995
|
+
_empty: {
|
|
2996
|
+
_before: {
|
|
2997
|
+
content: '""',
|
|
2998
|
+
display: "block",
|
|
2999
|
+
width: "24px",
|
|
3000
|
+
height: "24px",
|
|
3001
|
+
bg: "black",
|
|
3002
|
+
clipPath: "path('M12 19L5 12L12 5L19 12L12 19Z')"
|
|
3003
|
+
},
|
|
3004
|
+
_selected: {
|
|
3005
|
+
_before: {
|
|
3006
|
+
clipPath: "path('M12 19L5 12L12 5L19 12L12 19ZM12 16.15L16.15 12L12 7.85L7.85 12L12 16.15Z')"
|
|
3007
|
+
}
|
|
3008
|
+
}
|
|
3009
|
+
}
|
|
2815
3010
|
},
|
|
2816
3011
|
itemText: {
|
|
2817
3012
|
flexGrow: 1
|
|
@@ -2824,10 +3019,26 @@ var tree_view_default = (0, import_dev31.defineSlotRecipe)({
|
|
|
2824
3019
|
pl: 8
|
|
2825
3020
|
},
|
|
2826
3021
|
branchIndicator: {
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
3022
|
+
_empty: {
|
|
3023
|
+
_before: {
|
|
3024
|
+
content: '""',
|
|
3025
|
+
display: "block",
|
|
3026
|
+
width: "24px",
|
|
3027
|
+
height: "24px",
|
|
3028
|
+
bg: "black",
|
|
3029
|
+
clipPath: "path('M12 19L5 12L12 5L19 12L12 19Z')"
|
|
3030
|
+
},
|
|
3031
|
+
_selected: {
|
|
3032
|
+
_before: {
|
|
3033
|
+
clipPath: "path('M12 19L5 12L12 5L19 12L12 19ZM12 16.15L16.15 12L12 7.85L7.85 12L12 16.15Z')"
|
|
3034
|
+
}
|
|
3035
|
+
},
|
|
3036
|
+
_open: {
|
|
3037
|
+
_before: {
|
|
3038
|
+
clipPath: "path('M12 19L5 12L12 5L19 12L12 19ZM12 16.15L16.15 12L12 7.85L7.85 12L12 16.15Z')"
|
|
3039
|
+
}
|
|
3040
|
+
}
|
|
3041
|
+
}
|
|
2831
3042
|
},
|
|
2832
3043
|
branchText: {
|
|
2833
3044
|
flexGrow: 1
|
|
@@ -2879,8 +3090,8 @@ var tree_view_default = (0, import_dev31.defineSlotRecipe)({
|
|
|
2879
3090
|
});
|
|
2880
3091
|
|
|
2881
3092
|
// src/recipes/unordered-list.ts
|
|
2882
|
-
var
|
|
2883
|
-
var unordered_list_default = (0,
|
|
3093
|
+
var import_dev35 = require("@pandacss/dev");
|
|
3094
|
+
var unordered_list_default = (0, import_dev35.defineRecipe)({
|
|
2884
3095
|
className: "unordered-list",
|
|
2885
3096
|
base: {
|
|
2886
3097
|
/**
|
|
@@ -2899,11 +3110,12 @@ var unordered_list_default = (0, import_dev32.defineRecipe)({
|
|
|
2899
3110
|
});
|
|
2900
3111
|
|
|
2901
3112
|
// src/recipes/utility-link.ts
|
|
2902
|
-
var
|
|
2903
|
-
var utility_link_default = (0,
|
|
3113
|
+
var import_dev36 = require("@pandacss/dev");
|
|
3114
|
+
var utility_link_default = (0, import_dev36.defineRecipe)({
|
|
2904
3115
|
className: "utility-link",
|
|
2905
3116
|
description: "\u30E6\u30FC\u30C6\u30A3\u30EA\u30C6\u30A3\u30EA\u30F3\u30AF\u306F\u3075\u3064\u3046\u306E\u6A2A\u4E26\u3073\u30EA\u30F3\u30AF\u30EA\u30B9\u30C8\u306B\u8FD1\u3044\u304C\u3001\u305D\u308C\u3088\u308A\u3082\u30B3\u30F3\u30D1\u30AF\u30C8\u306B\u4F5C\u3089\u308C\u3066\u3044\u307E\u3059\u3002",
|
|
2906
3117
|
base: {
|
|
3118
|
+
colorPalette: "keyColor",
|
|
2907
3119
|
/**
|
|
2908
3120
|
* !text-solid-gray-800 text-dns-16N-130
|
|
2909
3121
|
* focus-visible:bg-yellow-300 focus-visible:text-blue-1000
|
|
@@ -2911,7 +3123,7 @@ var utility_link_default = (0, import_dev33.defineRecipe)({
|
|
|
2911
3123
|
textStyle: "dns-16N-130",
|
|
2912
3124
|
color: {
|
|
2913
3125
|
base: "solid-gray.800",
|
|
2914
|
-
_focusVisible: "
|
|
3126
|
+
_focusVisible: "colorPalette.primary.100"
|
|
2915
3127
|
},
|
|
2916
3128
|
bg: { base: "transparent", _focusVisible: "yellow.300" },
|
|
2917
3129
|
/**
|
|
@@ -2956,14 +3168,17 @@ var recipes = {
|
|
|
2956
3168
|
accordion: accordion_default,
|
|
2957
3169
|
breadcrumb: breadcrumb_default,
|
|
2958
3170
|
button: button_default,
|
|
3171
|
+
card: card_default,
|
|
2959
3172
|
checkbox: checkbox_default,
|
|
3173
|
+
chipLabel: chip_label_default,
|
|
2960
3174
|
drawer: drawer_default,
|
|
2961
3175
|
disclosure: disclosure_default,
|
|
2962
3176
|
digitalGoDivider: divider_default,
|
|
2963
3177
|
errorText: error_text_default,
|
|
3178
|
+
field: field_default,
|
|
3179
|
+
fieldset: fieldset_default,
|
|
2964
3180
|
hamburgerMenuButton: hamburger_menu_button_default,
|
|
2965
3181
|
input: input_default,
|
|
2966
|
-
inputText: input_text_default,
|
|
2967
3182
|
label: label_default,
|
|
2968
3183
|
legend: legend_default,
|
|
2969
3184
|
link: link_default,
|
|
@@ -2973,12 +3188,11 @@ var recipes = {
|
|
|
2973
3188
|
menuList: menu_list_default,
|
|
2974
3189
|
notificationBanner: notification_banner_default,
|
|
2975
3190
|
orderedList: ordered_list_default,
|
|
2976
|
-
|
|
3191
|
+
progress: progress_default,
|
|
2977
3192
|
radioGroup: radio_group_default,
|
|
2978
3193
|
requirementBadge: requirement_badge_default,
|
|
2979
3194
|
resourceList: resource_list_default,
|
|
2980
3195
|
select: select_default,
|
|
2981
|
-
selectBox: select_box_default,
|
|
2982
3196
|
supportText: support_text_default,
|
|
2983
3197
|
table: table_default,
|
|
2984
3198
|
tabs: tabs_default,
|
|
@@ -2989,16 +3203,45 @@ var recipes = {
|
|
|
2989
3203
|
};
|
|
2990
3204
|
var recipes_default = recipes;
|
|
2991
3205
|
|
|
3206
|
+
// src/keyframes.ts
|
|
3207
|
+
var keyframes = {
|
|
3208
|
+
"circular-progress": {
|
|
3209
|
+
"0%": {
|
|
3210
|
+
strokeDasharray: "1, 400",
|
|
3211
|
+
strokeDashoffset: "0"
|
|
3212
|
+
},
|
|
3213
|
+
"50%": {
|
|
3214
|
+
strokeDasharray: "400, 400",
|
|
3215
|
+
strokeDashoffset: "-100%"
|
|
3216
|
+
},
|
|
3217
|
+
"100%": {
|
|
3218
|
+
strokeDasharray: "400, 400",
|
|
3219
|
+
strokeDashoffset: "-260%"
|
|
3220
|
+
}
|
|
3221
|
+
},
|
|
3222
|
+
position: {
|
|
3223
|
+
from: {
|
|
3224
|
+
insetInlineStart: "var(--animate-from-x)",
|
|
3225
|
+
insetBlockStart: "var(--animate-from-y)"
|
|
3226
|
+
},
|
|
3227
|
+
to: {
|
|
3228
|
+
insetInlineStart: "var(--animate-to-x)",
|
|
3229
|
+
insetBlockStart: "var(--animate-to-y)"
|
|
3230
|
+
}
|
|
3231
|
+
}
|
|
3232
|
+
};
|
|
3233
|
+
|
|
2992
3234
|
// src/index.ts
|
|
2993
3235
|
var base = {
|
|
2994
3236
|
name: "digital-go-pandacss-preset",
|
|
2995
3237
|
presets: [import_digital_go_pandacss_plugin.default],
|
|
2996
3238
|
theme: {
|
|
3239
|
+
keyframes,
|
|
2997
3240
|
recipes: recipes_default
|
|
2998
3241
|
}
|
|
2999
3242
|
};
|
|
3000
|
-
var index_default = (0,
|
|
3001
|
-
var createPreset = (keyColor) => (0,
|
|
3243
|
+
var index_default = (0, import_dev37.definePreset)(base);
|
|
3244
|
+
var createPreset = (keyColor) => (0, import_dev37.definePreset)({
|
|
3002
3245
|
...base,
|
|
3003
3246
|
theme: {
|
|
3004
3247
|
...base.theme,
|