@cieloazul310/digital-go-pandacss-preset 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/.turbo/turbo-build.log +20 -0
  2. package/README.md +30 -0
  3. package/dist/index.d.mts +8 -0
  4. package/dist/index.d.ts +8 -0
  5. package/dist/index.js +3022 -0
  6. package/dist/index.mjs +2989 -0
  7. package/eslint.config.mjs +6 -0
  8. package/package.json +60 -0
  9. package/src/anatomy.ts +41 -0
  10. package/src/index.ts +32 -0
  11. package/src/recipes/accordion.ts +128 -0
  12. package/src/recipes/breadcrumb.ts +64 -0
  13. package/src/recipes/button.ts +192 -0
  14. package/src/recipes/checkbox.ts +297 -0
  15. package/src/recipes/disclosure.ts +98 -0
  16. package/src/recipes/divider.ts +21 -0
  17. package/src/recipes/drawer.ts +126 -0
  18. package/src/recipes/error-text.ts +16 -0
  19. package/src/recipes/hamburger-menu-button.ts +45 -0
  20. package/src/recipes/index.ts +71 -0
  21. package/src/recipes/input-text.ts +76 -0
  22. package/src/recipes/input.ts +81 -0
  23. package/src/recipes/label.ts +32 -0
  24. package/src/recipes/legend.ts +44 -0
  25. package/src/recipes/link.ts +66 -0
  26. package/src/recipes/list.ts +11 -0
  27. package/src/recipes/menu-item.ts +99 -0
  28. package/src/recipes/menu-list.ts +67 -0
  29. package/src/recipes/menu.ts +101 -0
  30. package/src/recipes/notification-banner.ts +246 -0
  31. package/src/recipes/ordered-list.ts +23 -0
  32. package/src/recipes/radio-group.ts +74 -0
  33. package/src/recipes/radio.ts +227 -0
  34. package/src/recipes/requirement-badge.ts +29 -0
  35. package/src/recipes/resource-list.ts +122 -0
  36. package/src/recipes/select-box.ts +81 -0
  37. package/src/recipes/select.ts +117 -0
  38. package/src/recipes/support-text.ts +16 -0
  39. package/src/recipes/table.ts +146 -0
  40. package/src/recipes/tabs.ts +90 -0
  41. package/src/recipes/textarea.ts +63 -0
  42. package/src/recipes/tree-view.ts +89 -0
  43. package/src/recipes/unordered-list.ts +19 -0
  44. package/src/recipes/utility-link.ts +56 -0
  45. package/tsconfig.json +4 -0
  46. package/tsup.config.ts +9 -0
package/dist/index.js ADDED
@@ -0,0 +1,3022 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/index.ts
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
+ createPreset: () => createPreset,
34
+ default: () => index_default
35
+ });
36
+ module.exports = __toCommonJS(index_exports);
37
+ var import_dev34 = require("@pandacss/dev");
38
+ var import_digital_go_pandacss_plugin = __toESM(require("@cieloazul310/digital-go-pandacss-plugin"));
39
+ var import_digital_go_pandacss_utils = require("@cieloazul310/digital-go-pandacss-utils");
40
+
41
+ // src/recipes/accordion.ts
42
+ var import_dev = require("@pandacss/dev");
43
+ var import_accordion = require("@ark-ui/anatomy/accordion");
44
+ var accordion_default = (0, import_dev.defineSlotRecipe)({
45
+ className: "accordion",
46
+ slots: import_accordion.anatomy.keys(),
47
+ base: {
48
+ item: {
49
+ /**
50
+ * group/accordion border-b border-solid-gray-420
51
+ [--icon-size:calc(20/16*1rem)] desktop:[--icon-size:calc(32/16*1rem)]
52
+ ${className ?? ''}
53
+ */
54
+ borderBottomWidth: "1px",
55
+ borderBottomColor: "solid-gray.420",
56
+ "--icon-size": {
57
+ base: "calc(20 / 16 * 1rem)",
58
+ md: "calc(32 / 16 * 1rem)"
59
+ }
60
+ },
61
+ itemTrigger: {
62
+ /**
63
+ * group/summary relative block cursor-default
64
+ */
65
+ position: "relative",
66
+ display: "block",
67
+ /**
68
+ * hover:bg-solid-gray-50
69
+ * focus-visible:bg-yellow-300
70
+ */
71
+ bg: {
72
+ base: "transparent",
73
+ _hover: "solid-gray.50",
74
+ _focusVisible: { base: "yellow.300", _hover: "yellow.300" }
75
+ },
76
+ /*
77
+ * py-2 pl-[calc(var(--icon-size)+(12/16*1rem))] pr-2
78
+ * desktop:py-3.5 desktop:pl-[calc(var(--icon-size)+(20/16*1rem))] desktop:pr-4
79
+ */
80
+ py: { base: 2, md: 3.5 },
81
+ pl: {
82
+ base: "calc(var(--icon-size) + (12 / 16 * 1rem))",
83
+ md: "calc(var(--icon-size) + (20 / 16 * 1rem))"
84
+ },
85
+ pr: { base: 2, md: 4 },
86
+ cursor: { _hover: "pointer" },
87
+ /**
88
+ * marker:[content:'']
89
+ [&::-webkit-details-marker]:hidden
90
+ */
91
+ "&::marker": { content: '""' },
92
+ /**
93
+ * focus-visible:rounded-4 focus-visible:outline focus-visible:outline-4 focus-visible:outline-offset-[calc(2/16*1rem)] focus-visible:outline-black focus-visible:ring-[calc(2/16*1rem)] focus-visible:ring-yellow-300
94
+ */
95
+ _focusVisible: {
96
+ rounded: 4,
97
+ outlineStyle: "solid",
98
+ outlineWidth: "4px",
99
+ outlineColor: "black",
100
+ outlineOffset: "calc(2 / 16 * 1rem)",
101
+ focusRing: "calc(2 / 16 * 1rem)"
102
+ },
103
+ /**
104
+ * remove button style
105
+ */
106
+ textAlign: "start",
107
+ width: "full"
108
+ },
109
+ itemIndicator: {
110
+ /**
111
+ * absolute top-2 left-0.5
112
+ * desktop:top-3.5 desktop:left-1.5
113
+ * size-[var(--icon-size)]
114
+ * mt-[calc((1lh-var(--icon-size))/2)]
115
+ */
116
+ position: "absolute",
117
+ top: { base: 2, md: 3.5 },
118
+ left: { base: 0.5, md: 1.5 },
119
+ width: "var(--icon-size)",
120
+ height: "var(--icon-size)",
121
+ mt: "calc((1lh - var(--icon-size)) / 2)",
122
+ /**
123
+ * inline-flex items-center justify-center
124
+ */
125
+ display: "inline-flex",
126
+ alignItems: "center",
127
+ justifyContent: "center",
128
+ /**
129
+ * bg-white text-blue-1000
130
+ */
131
+ bg: "white",
132
+ color: "keyColor.1000",
133
+ /**
134
+ * border border-current rounded-full
135
+ group-hover/summary:outline group-hover/summary:outline-2 group-hover/summary:outline-current
136
+ group-open/accordion:rotate-180
137
+ */
138
+ borderWidth: "1px",
139
+ borderColor: "currentcolor",
140
+ rounded: "full",
141
+ outlineStyle: "solid",
142
+ outlineWidth: { base: "0px", _groupHover: "2px" },
143
+ transformOrigin: "center",
144
+ transitionDuration: "normal",
145
+ transitionProperty: "transform",
146
+ transitionTimingFunction: "default",
147
+ _open: {
148
+ transform: "rotate(-180deg)"
149
+ }
150
+ },
151
+ itemContent: {
152
+ /**
153
+ * pl-[calc(var(--icon-size)+(12/16*1rem))] pr-2 py-4
154
+ desktop:pl-[calc(var(--icon-size)+(20/16*1rem))] desktop:pr-4 desktop:py-6
155
+ */
156
+ pl: {
157
+ base: "calc(var(--icon-size) + (12 / 16 * 1rem))",
158
+ md: "calc(var(--icon-size) + (20 / 16 * 1rem))"
159
+ },
160
+ pr: { base: 2, md: 4 },
161
+ py: { base: 4, md: 6 }
162
+ }
163
+ }
164
+ });
165
+
166
+ // src/recipes/breadcrumb.ts
167
+ var import_dev3 = require("@pandacss/dev");
168
+
169
+ // ../../node_modules/@ark-ui/react/node_modules/@zag-js/anatomy/dist/index.mjs
170
+ var createAnatomy = (name, parts = []) => ({
171
+ parts: (...values) => {
172
+ if (isEmpty(parts)) {
173
+ return createAnatomy(name, values);
174
+ }
175
+ throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?");
176
+ },
177
+ extendWith: (...values) => createAnatomy(name, [...parts, ...values]),
178
+ rename: (newName) => createAnatomy(newName, parts),
179
+ keys: () => parts,
180
+ build: () => [...new Set(parts)].reduce(
181
+ (prev, part) => Object.assign(prev, {
182
+ [part]: {
183
+ selector: [
184
+ `&[data-scope="${toKebabCase(name)}"][data-part="${toKebabCase(part)}"]`,
185
+ `& [data-scope="${toKebabCase(name)}"][data-part="${toKebabCase(part)}"]`
186
+ ].join(", "),
187
+ attrs: { "data-scope": toKebabCase(name), "data-part": toKebabCase(part) }
188
+ }
189
+ }),
190
+ {}
191
+ )
192
+ });
193
+ var toKebabCase = (value) => value.replace(/([A-Z])([A-Z])/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase();
194
+ var isEmpty = (v) => v.length === 0;
195
+
196
+ // src/anatomy.ts
197
+ var breadcrumbAnatomy = createAnatomy("breadcrumb").parts(
198
+ "root",
199
+ "list",
200
+ "item",
201
+ "link",
202
+ "separator"
203
+ );
204
+ var menuListAnatomy = createAnatomy("menu-list").parts(
205
+ "root",
206
+ "label",
207
+ "content",
208
+ "item",
209
+ "itemGroup",
210
+ "itemGroupLabel",
211
+ "itemText",
212
+ "itemIndicator",
213
+ "input"
214
+ );
215
+ var notificationBannerAnatomy = createAnatomy(
216
+ "notification-banner"
217
+ ).parts("root", "icon", "close", "header", "heading", "body");
218
+ var resourceListAnatomy = createAnatomy("resource-list").parts(
219
+ "root",
220
+ "contentsContainer",
221
+ "functionButton",
222
+ "frontIcon",
223
+ "form",
224
+ "content",
225
+ "label",
226
+ "title",
227
+ "supportText",
228
+ "subLabel"
229
+ );
230
+
231
+ // src/recipes/link.ts
232
+ var import_dev2 = require("@pandacss/dev");
233
+ var link_default = (0, import_dev2.defineRecipe)({
234
+ className: "link",
235
+ description: "\u30EA\u30F3\u30AF\u30C6\u30AD\u30B9\u30C8\u306F\u901A\u5E38\u3001\u8272\u3084\u4E0B\u7DDA\u306A\u3069\u306E\u8996\u899A\u7684\u306A\u8868\u73FE\u3067\u901A\u5E38\u306E\u30C6\u30AD\u30B9\u30C8\u3068\u533A\u5225\u3055\u308C\u3001URL\u3068\u95A2\u9023\u3065\u3051\u3089\u308C\u305F\u30C6\u30AD\u30B9\u30C8\u6587\u5B57\u5217\u3067\u3059\u3002\u3053\u306E\u95A2\u9023\u4ED8\u3051\u3092\u30CF\u30A4\u30D1\u30FC\u30EA\u30F3\u30AF\u3068\u547C\u3073\u3001\u3053\u308C\u306F\u30A6\u30A7\u30D6\u3092\u30A6\u30A7\u30D6\u305F\u3089\u3057\u3081\u3066\u3044\u308B\u57FA\u672C\u7684\u306A\u6982\u5FF5\u306E\u3072\u3068\u3064\u3067\u3059\u3002",
236
+ base: {
237
+ /**
238
+ * text-blue-1000 visited:text-magenta-900 hover:text-blue-1000
239
+ * focus-visible:text-blue-1000 active:text-orange-700
240
+ */
241
+ color: {
242
+ base: "keyColor.1000",
243
+ _visited: "magenta.900",
244
+ _hover: "keyColor.1000",
245
+ _focusVisible: "keyColor.1000",
246
+ _active: "orange.700"
247
+ },
248
+ /**
249
+ * focus-visible:bg-yellow-300
250
+ */
251
+ bg: {
252
+ base: "transparent",
253
+ _focusVisible: "yellow.300"
254
+ },
255
+ /**
256
+ * underline underline-offset-[calc(3/16*1rem)] hover:decoration-[calc(3/16*1rem)]
257
+ * active:decoration-1
258
+ */
259
+ textDecoration: "underline",
260
+ textDecorationThickness: {
261
+ base: "1px",
262
+ _hover: "calc(3 / 16 * 1rem)",
263
+ _active: "1px"
264
+ },
265
+ textUnderlineOffset: "calc(3 / 16 * 1rem)",
266
+ /**
267
+ * focus-visible:rounded-4
268
+ * focus-visible:outline focus-visible:outline-4
269
+ * focus-visible:outline-black focus-visible:outline-offset-[calc(2/16*1rem)]
270
+ * focus-visible:ring-[calc(2/16*1rem)] focus-visible:ring-yellow-300
271
+ */
272
+ _focusVisible: {
273
+ rounded: 4,
274
+ outlineStyle: "solid",
275
+ outlineWidth: "4px",
276
+ outlineColor: "black",
277
+ outlineOffset: "calc(2 / 16 * 1rem)",
278
+ focusRing: "calc(2 / 16 * 1rem)"
279
+ },
280
+ /**
281
+ * with icon
282
+ */
283
+ display: "inline-flex",
284
+ alignItems: "center",
285
+ gap: 1,
286
+ "& svg": {
287
+ width: "1em",
288
+ height: "1em"
289
+ }
290
+ }
291
+ });
292
+
293
+ // src/recipes/breadcrumb.ts
294
+ var breadcrumb_default = (0, import_dev3.defineSlotRecipe)({
295
+ className: "breadcrumb",
296
+ description: "\u30D1\u30F3\u304F\u305A\u30EA\u30B9\u30C8\u306F\u3001\u30A6\u30A7\u30D6\u30B5\u30A4\u30C8\u306E\u968E\u5C64\u5185\u3067\u30E6\u30FC\u30B6\u30FC\u306E\u73FE\u5728\u306E\u4F4D\u7F6E\u3092\u8868\u793A\u3057\u307E\u3059\u3002",
297
+ slots: breadcrumbAnatomy.keys(),
298
+ base: {
299
+ root: {
300
+ /**
301
+ * icon
302
+ */
303
+ "--icon-size": "16px"
304
+ },
305
+ list: {
306
+ /**
307
+ * inline
308
+ */
309
+ display: "inline"
310
+ },
311
+ item: {
312
+ /**
313
+ * inline break-words text-oln-16N-100
314
+ */
315
+ display: "inline",
316
+ overflowWrap: "break-word",
317
+ textStyle: "oln-16N-100"
318
+ },
319
+ link: {
320
+ /**
321
+ * text-blue-1000 text-oln-16N-100 underline underline-offset-[calc(3/16*1rem)]
322
+ * hover:text-blue-900 hover:decoration-[calc(3/16*1rem)]
323
+ * active:text-orange-700 active:decoration-1
324
+ * focus-visible:rounded-4 focus-visible:outline focus-visible:outline-4
325
+ * focus-visible:outline-black focus-visible:outline-offset-[calc(2/16*1rem)]
326
+ * focus-visible:bg-yellow-300 focus-visible:text-blue-1000
327
+ * focus-visible:ring-[calc(2/16*1rem)] focus-visible:ring-yellow-300
328
+ */
329
+ ...link_default.base,
330
+ /**
331
+ * icon
332
+ */
333
+ "& svg": {
334
+ display: "inline",
335
+ width: "var(--icon-size)",
336
+ height: "var(--icon-size)",
337
+ mr: 1
338
+ }
339
+ },
340
+ separator: {
341
+ /**
342
+ * mx-2 inline
343
+ */
344
+ mx: 2,
345
+ display: "inline"
346
+ }
347
+ }
348
+ });
349
+
350
+ // src/recipes/button.ts
351
+ var import_dev4 = require("@pandacss/dev");
352
+ var button_default = (0, import_dev4.defineRecipe)({
353
+ className: "button",
354
+ 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",
355
+ base: {
356
+ /**
357
+ * underline-offset-[calc(3/16*1rem)]
358
+ */
359
+ textUnderlineOffset: "calc(3 / 16 * 1rem)",
360
+ /**
361
+ * focus-visible:outline focus-visible:outline-4 focus-visible:outline-black
362
+ * focus-visible:outline-offset-[calc(2/16*1rem)]
363
+ * focus-visible:ring-[calc(2/16*1rem)] focus-visible:ring-yellow-300
364
+ */
365
+ _focusVisible: {
366
+ outlineStyle: "solid",
367
+ outlineWidth: "4px",
368
+ outlineColor: "black",
369
+ outlineOffset: "calc(2 / 16 * 1rem)",
370
+ focusRing: "calc(2 / 16 * 1rem)"
371
+ },
372
+ /**
373
+ * aria-disabled:pointer-events-none aria-disabled:forced-colors:border-[GrayText] aria-disabled:forced-colors:text-[GrayText]
374
+ */
375
+ _disabled: {
376
+ pointerEvents: "none"
377
+ },
378
+ /**
379
+ * button default
380
+ */
381
+ display: "inline-flex",
382
+ textAlign: "center",
383
+ alignItems: "center",
384
+ justifyContent: "center",
385
+ cursor: "pointer"
386
+ },
387
+ variants: {
388
+ variant: {
389
+ "solid-fill": {
390
+ /**
391
+ * text-white aria-disabled:text-solid-gray-50
392
+ * bg-blue-900 hover:bg-blue-1000 active:bg-blue-1200 aria-disabled:bg-solid-gray-300
393
+ */
394
+ bg: {
395
+ base: "keyColor.900",
396
+ _hover: "keyColor.1000",
397
+ _active: "keyColor.1200",
398
+ _disabled: "solid-gray.300"
399
+ },
400
+ color: { base: "white", _disabled: "solid-gray.50" },
401
+ /**
402
+ * border-4 border-double border-transparent
403
+ * hover:underline active:underline
404
+ */
405
+ borderWidth: "4px",
406
+ borderStyle: "double",
407
+ borderColor: "transparent",
408
+ textDecoration: {
409
+ base: "none",
410
+ _hover: "underline",
411
+ _active: "underline"
412
+ }
413
+ },
414
+ outline: {
415
+ /**
416
+ * bg-white hover:bg-blue-200 active:bg-blue-300 aria-disabled:bg-white
417
+ * text-blue-900 hover:text-blue-1000 active:text-blue-1200
418
+ * aria-disabled:text-solid-gray-300
419
+ */
420
+ bg: {
421
+ base: "white",
422
+ _hover: "keyColor.200",
423
+ _active: "keyColor.300",
424
+ _disabled: "white"
425
+ },
426
+ color: {
427
+ base: "keyColor.900",
428
+ _hover: "keyColor.1000",
429
+ _active: "keyColor.1200",
430
+ _disabled: "solid-gray.300"
431
+ },
432
+ /**
433
+ * border border-current hover:underline active:underline
434
+ */
435
+ borderWidth: "1px",
436
+ borderColor: "currentcolor",
437
+ textDecoration: {
438
+ base: "none",
439
+ _hover: "underline",
440
+ _active: "underline"
441
+ }
442
+ },
443
+ text: {
444
+ /**
445
+ *
446
+ * hover:bg-blue-50 active:bg-blue-100 focus-visible:bg-yellow-300
447
+ * aria-disabled:bg-transparent aria-disabled:focus-visible:bg-yellow-300
448
+ * text-blue-900 hover:text-blue-1000 active:text-blue-1200
449
+ * aria-disabled:text-solid-gray-300
450
+ */
451
+ bg: {
452
+ base: "transparent",
453
+ _hover: "keyColor.50",
454
+ _active: "keyColor.100",
455
+ _focusVisible: { base: "yellow.300", _hover: "yellow.300" },
456
+ _disabled: "transparent"
457
+ },
458
+ color: {
459
+ base: "keyColor.900",
460
+ _hover: "keyColor.1000",
461
+ _active: "keyColor.1200",
462
+ _disabled: "solid-gray.300"
463
+ },
464
+ /**
465
+ * hover:decoration-[calc(3/16*1rem)] underline
466
+ */
467
+ textDecoration: "underline",
468
+ textDecorationThickness: { base: "1px", _hover: "calc(3 / 16 * 1rem)" }
469
+ }
470
+ },
471
+ size: {
472
+ lg: {
473
+ /**
474
+ * lg: 'min-w-[calc(136/16*1rem)] min-h-14 rounded-8 px-4 py-3 text-oln-16B-100'
475
+ */
476
+ minWidth: "calc(136 / 16 * 1rem)",
477
+ minHeight: 14,
478
+ rounded: 8,
479
+ px: 4,
480
+ py: 3,
481
+ textStyle: "oln-16B-100"
482
+ },
483
+ md: {
484
+ /**
485
+ * md: 'min-w-24 min-h-12 rounded-8 px-4 py-2 text-oln-16B-100',
486
+ */
487
+ minWidth: 24,
488
+ minHeight: 12,
489
+ textStyle: "oln-16B-100",
490
+ px: 4,
491
+ py: 2,
492
+ rounded: 8
493
+ },
494
+ sm: {
495
+ /**
496
+ * sm: 'relative min-w-20 min-h-9 rounded-6 px-3 py-0.5 text-oln-16B-100 after:absolute after:inset-x-0 after:-inset-y-full after:m-auto after:h-[44px]',
497
+ */
498
+ position: "relative",
499
+ minWidth: 20,
500
+ minHeight: 9,
501
+ textStyle: "oln-16B-100",
502
+ py: 0.5,
503
+ rounded: 6,
504
+ _after: {
505
+ position: "absolute",
506
+ insetInline: 0,
507
+ insetBlock: "full",
508
+ m: "auto",
509
+ height: "44px"
510
+ }
511
+ },
512
+ xs: {
513
+ /**
514
+ * xs: 'relative min-w-18 min-h-7 rounded-4 px-2 py-0.5 text-oln-14B-100 after:absolute after:inset-x-0 after:-inset-y-full after:m-auto after:h-[44px]',
515
+ */
516
+ minWidth: 18,
517
+ minHeight: 7,
518
+ textStyle: "oln-14B-100",
519
+ px: 2,
520
+ py: 0.5,
521
+ rounded: 4,
522
+ _after: {
523
+ position: "absolute",
524
+ insetInline: 0,
525
+ insetBlock: "full",
526
+ m: "auto",
527
+ height: "44px"
528
+ }
529
+ }
530
+ }
531
+ },
532
+ defaultVariants: {
533
+ variant: "solid-fill",
534
+ size: "md"
535
+ }
536
+ });
537
+
538
+ // src/recipes/checkbox.ts
539
+ var import_dev5 = require("@pandacss/dev");
540
+ var import_checkbox = require("@ark-ui/anatomy/checkbox");
541
+ var checkbox_default = (0, import_dev5.defineSlotRecipe)({
542
+ className: "checkbox",
543
+ slots: import_checkbox.anatomy.keys(),
544
+ base: {
545
+ root: {
546
+ /**
547
+ * flex w-fit items-start py-2
548
+ */
549
+ display: "flex",
550
+ alignItems: "flex-start",
551
+ width: "fit-content",
552
+ py: 2
553
+ },
554
+ control: {
555
+ /**
556
+ * flex items-center justify-center shrink-0 rounded-[calc(1/8*100%)]
557
+ * has-[input:hover:not(:focus):not([aria-disabled="true"])]:bg-solid-gray-420
558
+ */
559
+ display: "flex",
560
+ alignItems: "center",
561
+ justifyContent: "center",
562
+ flexShrink: 0,
563
+ rounded: "calc(1 / 8 * 100%)",
564
+ _disabled: {
565
+ bg: "solid-gray.420"
566
+ }
567
+ },
568
+ indicator: {
569
+ /**
570
+ * appearance-none size-3/4 rounded-[calc(2/18*100%)]
571
+ */
572
+ appearance: "none",
573
+ width: "3/4",
574
+ height: "3/4",
575
+ rounded: "calc(2 / 18 * 100%)",
576
+ borderColor: {
577
+ /**
578
+ * border-solid-gray-600 hover:border-black
579
+ * forced-colors:!border-[ButtonText]
580
+ */
581
+ base: "solid-gray.600",
582
+ _hover: "black",
583
+ _highContrast: "ButtonText",
584
+ _checked: {
585
+ /**
586
+ * checked:border-blue-900 checked:hover:border-blue-1100
587
+ * forced-colors:checked:!border-[Highlight]
588
+ */
589
+ base: "keyColor.900",
590
+ _hover: "keyColor.1100",
591
+ _highContrast: "Highlight"
592
+ },
593
+ _indeterminate: {
594
+ /**
595
+ * indeterminate:border-blue-900 indeterminate:hover:border-blue-1100
596
+ * forced-colors:indeterminate:!border-[Highlight]
597
+ */
598
+ base: "keyColor.900",
599
+ _hover: "keyColor.1100",
600
+ _highContrast: "Highlight"
601
+ },
602
+ _invalid: {
603
+ /**
604
+ * data-[error]:border-error-1 data-[error]:hover:border-red-1000
605
+ */
606
+ base: "error.1",
607
+ _hover: "red.1000"
608
+ },
609
+ _disabled: {
610
+ /**
611
+ * aria-disabled:!border-solid-gray-300
612
+ * forced-colors:aria-disabled:!border-[GrayText]
613
+ */
614
+ base: "solid-gray.300",
615
+ _highContrast: "GrayText"
616
+ }
617
+ },
618
+ bg: {
619
+ /**
620
+ * bg-white
621
+ */
622
+ base: "white",
623
+ /**
624
+ * checked:bg-blue-900 checked:hover:bg-blue-1100
625
+ * forced-colors:checked:!bg-[Highlight]
626
+ */
627
+ _checked: {
628
+ base: "keyColor.900",
629
+ _hover: "keyColor.1100",
630
+ _highContrast: "Highlight"
631
+ },
632
+ _indeterminate: {
633
+ /**
634
+ * indeterminate:bg-blue-900 indeterminate:hover:bg-blue-1100
635
+ * forced-colors:indeterminate:!bg-[Highlight]
636
+ */
637
+ base: "keyColor.900",
638
+ _hover: "keyColor.1100",
639
+ _highContrast: "Highlight"
640
+ },
641
+ /**
642
+ * data-[error]:indeterminate:bg-error-1
643
+ * data-[error]:indeterminate:hover:bg-red-1000
644
+ * data-[error]:checked:bg-error-1 data-[error]:checked:hover:bg-red-1000
645
+ */
646
+ _invalid: {
647
+ _indeterminate: {
648
+ base: "error.1",
649
+ _hover: "red.1000"
650
+ },
651
+ _checked: {
652
+ base: "error.1",
653
+ _hover: "red.1000"
654
+ }
655
+ },
656
+ /**
657
+ * aria-disabled:!bg-solid-gray-50
658
+ * aria-disabled:checked:!bg-solid-gray-300
659
+ * aria-disabled:indeterminate:!bg-solid-gray-300
660
+ * forced-colors:aria-disabled:checked:!bg-[GrayText]
661
+ */
662
+ _disabled: {
663
+ base: "solid-gray.50",
664
+ _checked: "solid-gray.300",
665
+ _indeterminate: "solid-gray.300",
666
+ _highContrast: {
667
+ _checked: "GrayText"
668
+ }
669
+ }
670
+ },
671
+ /**
672
+ * bg-clip-padding
673
+ */
674
+ backgroundClip: "padding-box",
675
+ /**
676
+ * before:hidden checked:before:block indeterminate:before:block
677
+ * before:size-3.5
678
+ * before:bg-white
679
+ * forced-colors:before:!bg-[HighlightText]
680
+ * aria-disabled:before:border-solid-gray-50
681
+ */
682
+ _before: {
683
+ content: '""',
684
+ display: "none",
685
+ width: 3.5,
686
+ height: 3.5,
687
+ bg: { base: "white", _highContrast: "HighlightText" },
688
+ borderColor: { _disabled: "solid-gray.50" }
689
+ },
690
+ /**
691
+ * checked:before:[clip-path:path('M5.6,11.2L12.65,4.15L11.25,2.75L5.6,8.4L2.75,5.55L1.35,6.95L5.6,11.2Z')]
692
+ * indeterminate:before:[clip-path:path('M3.25,7.75H10.75V6.25H3.25V7.75Z')]
693
+ */
694
+ _checked: {
695
+ _before: {
696
+ display: "block",
697
+ clipPath: "path('M5.6,11.2L12.65,4.15L11.25,2.75L5.6,8.4L2.75,5.55L1.35,6.95L5.6,11.2Z')"
698
+ }
699
+ },
700
+ _indeterminate: {
701
+ _before: {
702
+ display: "block",
703
+ clipPath: "path('M3.25,7.75H10.75V6.25H3.25V7.75Z')"
704
+ }
705
+ },
706
+ /**
707
+ * focus:outline focus:outline-4 focus:outline-black
708
+ * focus:outline-offset-[calc(2/16*1rem)]
709
+ * focus:ring-[calc(2/16*1rem)] focus:ring-yellow-300
710
+ */
711
+ _focus: {
712
+ outlineStyle: "solid",
713
+ outlineWidth: "4px",
714
+ outlineColor: "black",
715
+ outlineOffset: "calc(2 / 16 * 1rem)",
716
+ focusRing: "calc(2 / 16 * 1rem)"
717
+ }
718
+ },
719
+ label: {
720
+ /**
721
+ * text-solid-gray-800
722
+ * data-[size=sm]:pt-px data-[size=sm]:text-dns-16N-130
723
+ * data-[size=md]:pt-1 data-[size=md]:text-dns-16N-130
724
+ * data-[size=lg]:pt-2.5 data-[size=lg]:text-dns-17N-130
725
+ */
726
+ color: "solid-gray.800"
727
+ },
728
+ group: {}
729
+ },
730
+ variants: {
731
+ size: {
732
+ sm: {
733
+ root: {
734
+ /**
735
+ * data-[size=sm]:gap-1
736
+ */
737
+ gap: 1
738
+ },
739
+ control: {
740
+ /**
741
+ * data-[size=sm]:size-6
742
+ */
743
+ width: 6,
744
+ height: 6
745
+ },
746
+ indicator: {
747
+ /**
748
+ * data-[size=sm]:border-[calc(2/16*1rem)]
749
+ */
750
+ borderWidth: "calc(2 / 16 * 1rem)"
751
+ },
752
+ label: {
753
+ /**
754
+ * data-[size=sm]:pt-px data-[size=sm]:text-dns-16N-130
755
+ */
756
+ pt: "1px",
757
+ textStyle: "dns-16N-130"
758
+ }
759
+ },
760
+ md: {
761
+ root: {
762
+ /**
763
+ * data-[size=md]:gap-2
764
+ */
765
+ gap: 2
766
+ },
767
+ control: {
768
+ /**
769
+ * data-[size=md]:size-8
770
+ */
771
+ width: 8,
772
+ height: 8
773
+ },
774
+ indicator: {
775
+ /**
776
+ * data-[size=md]:border-[calc(2/16*1rem)]
777
+ * data-[size=md]:before:origin-top-left
778
+ * data-[size=md]:before:scale-[calc(20/14)]
779
+ */
780
+ borderWidth: "calc(2 / 16 * 1rem)",
781
+ _before: {
782
+ transformOrigin: "top left",
783
+ scale: "calc(20 / 14)"
784
+ }
785
+ },
786
+ label: {
787
+ /**
788
+ * data-[size=md]:pt-1 data-[size=md]:text-dns-16N-130
789
+ */
790
+ pt: 1,
791
+ textStyle: "dns-16N-130"
792
+ }
793
+ },
794
+ lg: {
795
+ root: {
796
+ /**
797
+ * data-[size=lg]:gap-2
798
+ */
799
+ gap: 2
800
+ },
801
+ control: {
802
+ /**
803
+ * data-[size=lg]:size-11
804
+ */
805
+ width: 11,
806
+ height: 11
807
+ },
808
+ indicator: {
809
+ /**
810
+ * data-[size=lg]:border-[calc(3/16*1rem)]
811
+ * data-[size=lg]:before:origin-top-left
812
+ * data-[size=lg]:before:scale-[calc(27/14)]
813
+ */
814
+ borderWidth: "calc(3 / 16 * 1rem)",
815
+ _before: {
816
+ transformOrigin: "top left",
817
+ scale: "calc(27 / 14)"
818
+ }
819
+ },
820
+ label: {
821
+ /**
822
+ * data-[size=lg]:pt-2.5 data-[size=lg]:text-dns-17N-130
823
+ */
824
+ pt: 2.5,
825
+ textStyle: "dns-17N-130"
826
+ }
827
+ }
828
+ }
829
+ },
830
+ defaultVariants: {
831
+ size: "sm"
832
+ }
833
+ });
834
+
835
+ // src/recipes/disclosure.ts
836
+ var import_dev6 = require("@pandacss/dev");
837
+ var disclosure_default = (0, import_dev6.defineSlotRecipe)({
838
+ className: "disclosure",
839
+ slots: ["root", "summary", "icon", "content"],
840
+ base: {
841
+ root: {
842
+ /**
843
+ * group/disclosure
844
+ */
845
+ },
846
+ summary: {
847
+ /**
848
+ * group/summary
849
+ * [&::-webkit-details-marker]:hidden
850
+ */
851
+ /**
852
+ * flex w-fit cursor-default list-none items-start justify-start gap-2
853
+ */
854
+ display: "flex",
855
+ width: "fit-content",
856
+ cursor: "default",
857
+ listStyle: "none",
858
+ alignItems: "start",
859
+ justifyContent: "start",
860
+ gap: 2,
861
+ /**
862
+ * remove button style
863
+ */
864
+ textAlign: "start",
865
+ /**
866
+ * hover:underline hover:underline-offset-[calc(3/16*1rem)]
867
+ */
868
+ _hover: {
869
+ textDecoration: "underline",
870
+ textUnderlineOffset: "calc(3 / 16 * 1rem)"
871
+ },
872
+ /**
873
+ * focus-visible:rounded-4 focus-visible:outline focus-visible:outline-4
874
+ * focus-visible:outline-black focus-visible:outline-offset-[calc(2/16*1rem)]
875
+ * focus-visible:bg-yellow-300
876
+ * focus-visible:ring-[calc(2/16*1rem)] focus-visible:ring-yellow-300
877
+ */
878
+ _focusVisible: {
879
+ rounded: 4,
880
+ bg: "yellow.300",
881
+ outlineStyle: "solid",
882
+ outlineWidth: "4px",
883
+ outlineColor: "black",
884
+ outlineOffset: "calc(2 / 16 * 1rem)",
885
+ focusRing: "calc(2 / 16 * 1rem)"
886
+ }
887
+ },
888
+ icon: {
889
+ /**
890
+ * flex-none text-blue-1000 mt-[calc((1lh-24px)/2)]
891
+ * group-open/disclosure:rotate-180
892
+ * forced-colors:text-inherit
893
+ */
894
+ flex: "none",
895
+ color: { base: "keyColor.1000", _highContrast: "inherit" },
896
+ mt: "calc((1lh - 24px) / 2)",
897
+ /**
898
+ * svg
899
+ */
900
+ width: "24px",
901
+ height: "24px",
902
+ rounded: "full",
903
+ bg: { base: "white", _groupHover: "currentColor" },
904
+ outlineStyle: "solid",
905
+ outlineWidth: "3px",
906
+ outlineOffset: "-3px",
907
+ transform: {
908
+ base: "rotate(-180deg)",
909
+ "[data-state=open]>&": "rotate(0deg)"
910
+ },
911
+ transition: "transform",
912
+ _before: {
913
+ content: '""',
914
+ bg: { base: "currentColor", _groupHover: "white" },
915
+ width: "full",
916
+ height: "full",
917
+ rounded: "full",
918
+ outlineStyle: "solid",
919
+ outlineWidth: "3px",
920
+ outlineOffset: "-3px",
921
+ display: "block",
922
+ 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')"
923
+ }
924
+ },
925
+ content: {}
926
+ }
927
+ });
928
+
929
+ // src/recipes/divider.ts
930
+ var import_dev7 = require("@pandacss/dev");
931
+ var divider_default = (0, import_dev7.defineRecipe)({
932
+ className: "divider",
933
+ 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",
934
+ variants: {
935
+ color: {
936
+ "gray-420": { borderColor: "solid-gray.420" },
937
+ "gray-536": { borderColor: "solid-gray.536" },
938
+ black: { borderColor: "black" }
939
+ }
940
+ },
941
+ defaultVariants: {
942
+ color: "gray-420"
943
+ }
944
+ });
945
+
946
+ // src/recipes/drawer.ts
947
+ var import_dialog = require("@ark-ui/anatomy/dialog");
948
+ var import_dev8 = require("@pandacss/dev");
949
+ var anatomy = import_dialog.anatomy.extendWith("header", "body", "footer");
950
+ var drawer_default = (0, import_dev8.defineSlotRecipe)({
951
+ className: "drawer",
952
+ slots: anatomy.keys(),
953
+ base: {
954
+ backdrop: {
955
+ /**
956
+ * backdrop:bg-opacity-gray-100 forced-colors:backdrop:bg-[#000b]
957
+ */
958
+ backdropFilter: "blur(4px)",
959
+ background: "gray.100/90",
960
+ height: "100vh",
961
+ position: "fixed",
962
+ top: 0,
963
+ left: 0,
964
+ width: "100vw",
965
+ zIndex: 10,
966
+ // zIndex: "overlay",
967
+ _open: {
968
+ animation: "backdrop-in"
969
+ },
970
+ _closed: {
971
+ animation: "backdrop-out"
972
+ }
973
+ },
974
+ positioner: {
975
+ alignItems: "center",
976
+ display: "flex",
977
+ height: "100dvh",
978
+ justifyContent: "center",
979
+ position: "fixed",
980
+ top: 0,
981
+ /**
982
+ * w-72
983
+ */
984
+ width: 72,
985
+ zIndex: 1400
986
+ // zIndex: "modal",
987
+ },
988
+ content: {
989
+ /**
990
+ * m-[unset] max-w-full max-h-[unset] overflow-visible start-auto
991
+ */
992
+ margin: "unset",
993
+ maxWidth: "full",
994
+ maxHeight: "full",
995
+ overflow: "visible",
996
+ insetInlineStart: "auto",
997
+ width: "full",
998
+ /**
999
+ * bg-white shadow-2 border-l-transparent
1000
+ */
1001
+ borderColor: "transparent",
1002
+ background: "white",
1003
+ boxShadow: 2,
1004
+ /**
1005
+ * grid grid-rows-[auto_1fr] h-dvh
1006
+ */
1007
+ display: "grid",
1008
+ gridTemplateRows: "auto 1fr",
1009
+ height: "100dvh",
1010
+ _hidden: {
1011
+ display: "none"
1012
+ }
1013
+ },
1014
+ header: {
1015
+ /**
1016
+ * flex justify-end py-4 pl-4 pr-8
1017
+ */
1018
+ display: "flex",
1019
+ justifyContent: "start",
1020
+ py: 4,
1021
+ px: 4
1022
+ },
1023
+ title: {
1024
+ textStyle: "std-20B-150"
1025
+ },
1026
+ body: {
1027
+ /**
1028
+ * overflow-auto
1029
+ */
1030
+ overflow: "auto",
1031
+ px: 4,
1032
+ py: 4,
1033
+ textStyle: "std-17N-170"
1034
+ }
1035
+ },
1036
+ variants: {
1037
+ placement: {
1038
+ right: {
1039
+ positioner: {
1040
+ right: 0
1041
+ },
1042
+ content: {
1043
+ /**
1044
+ * border-l
1045
+ */
1046
+ borderLeftWidth: "1px"
1047
+ }
1048
+ },
1049
+ left: {
1050
+ positioner: {
1051
+ left: 0
1052
+ },
1053
+ content: {
1054
+ /**
1055
+ * border-l
1056
+ */
1057
+ borderRightWidth: "1px"
1058
+ }
1059
+ }
1060
+ }
1061
+ },
1062
+ defaultVariants: {
1063
+ placement: "right"
1064
+ }
1065
+ });
1066
+
1067
+ // src/recipes/error-text.ts
1068
+ var import_dev9 = require("@pandacss/dev");
1069
+ var error_text_default = (0, import_dev9.defineRecipe)({
1070
+ className: "error-text",
1071
+ base: {
1072
+ /**
1073
+ * text-dns-16N-130 text-error-1
1074
+ */
1075
+ textStyle: "dns-16N-130",
1076
+ color: "error.1"
1077
+ }
1078
+ });
1079
+
1080
+ // src/recipes/hamburger-menu-button.ts
1081
+ var import_dev10 = require("@pandacss/dev");
1082
+ var hamburger_menu_button_default = (0, import_dev10.defineRecipe)({
1083
+ className: "hamburger-menu-button",
1084
+ base: {
1085
+ /**
1086
+ * flex w-fit items-center text-oln-16N-100 rounded-4 touch-manipulation
1087
+ */
1088
+ display: "flex",
1089
+ width: "fit-content",
1090
+ alignItems: "center",
1091
+ textStyle: "oln-16N-100",
1092
+ rounded: 4,
1093
+ touchAction: "manipulation",
1094
+ /**
1095
+ * hover:bg-solid-gray-50 hover:underline hover:underline-offset-[calc(3/16*1rem)]
1096
+ */
1097
+ _hover: {
1098
+ bg: "solid-gray.50",
1099
+ textDecoration: "underline",
1100
+ textUnderlineOffset: "calc(3 / 16 * 1rem)"
1101
+ },
1102
+ /**
1103
+ * focus-visible:outline focus-visible:outline-4 focus-visible:outline-black
1104
+ * focus-visible:outline-offset-[calc(2/16*1rem)] focus-visible:bg-yellow-300
1105
+ * focus-visible:ring-[calc(2/16*1rem)] focus-visible:ring-yellow-300
1106
+ */
1107
+ _focusVisible: {
1108
+ bg: "yellow.300",
1109
+ outlineStyle: "solid",
1110
+ outlineWidth: "4px",
1111
+ outlineColor: "black",
1112
+ outlineOffset: "calc(2 / 16 * 1rem)",
1113
+ focusRing: "calc(2 / 16 * 1rem)"
1114
+ },
1115
+ /**
1116
+ * override reset
1117
+ */
1118
+ cursor: "pointer"
1119
+ }
1120
+ });
1121
+
1122
+ // src/recipes/input.ts
1123
+ var import_dev11 = require("@pandacss/dev");
1124
+ var input_default = (0, import_dev11.defineRecipe)({
1125
+ className: "input",
1126
+ 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",
1127
+ base: {
1128
+ /**
1129
+ * max-w-full px-4 py-3 rounded-8
1130
+ */
1131
+ // minWidth: "80px",
1132
+ maxWidth: "full",
1133
+ rounded: 8,
1134
+ px: 4,
1135
+ py: 3,
1136
+ /**
1137
+ * border border-solid-gray-600 hover:border-black
1138
+ * aria-disabled:border-solid-gray-300
1139
+ * aria-disabled:forced-colors:border-[GrayText]
1140
+ */
1141
+ borderWidth: "1px",
1142
+ borderColor: {
1143
+ base: "solid-gray.600",
1144
+ _hover: "black",
1145
+ _disabled: { base: "solid-gray.300", _highContrast: "GrayText" }
1146
+ },
1147
+ /**
1148
+ * bg-white text-oln-16N-100 text-solid-gray-800
1149
+ * aria-disabled:bg-solid-gray-50 aria-disabled:text-solid-gray-420
1150
+ * aria-disabled:forced-colors:text-[GrayText]
1151
+ *
1152
+ */
1153
+ bg: { base: "white", _disabled: "solid-gray.50" },
1154
+ color: {
1155
+ base: "solid-gray.800",
1156
+ _disabled: { base: "solid-gray.420", _highContrast: "GrayText" }
1157
+ },
1158
+ textStyle: "oln-16N-100",
1159
+ /**
1160
+ * focus:outline focus:outline-4 focus:outline-black
1161
+ * focus:outline-offset-[calc(2/16*1rem)] focus:ring-[calc(2/16*1rem)] focus:ring-yellow-300
1162
+ */
1163
+ _focus: {
1164
+ outlineStyle: "solid",
1165
+ outlineWidth: "4px",
1166
+ outlineColor: "black",
1167
+ outlineOffset: "calc(2 / 16 * 1rem)",
1168
+ focusRing: "calc(2 / 16 * 1rem)"
1169
+ },
1170
+ /**
1171
+ * aria-disabled:pointer-events-none
1172
+ */
1173
+ pointerEvents: { base: "inherit", _disabled: "none" }
1174
+ },
1175
+ variants: {
1176
+ size: {
1177
+ /**
1178
+ * data-[size=sm]:h-10 data-[size=md]:h-12 data-[size=lg]:h-14
1179
+ */
1180
+ sm: { height: 10 },
1181
+ md: { height: 12 },
1182
+ lg: { height: 14 }
1183
+ },
1184
+ invalid: {
1185
+ true: {
1186
+ /**
1187
+ * aria-[invalid=true]:border-error-1 aria-[invalid=true]:hover:border-red-1000
1188
+ */
1189
+ borderColor: { base: "error.1", _hover: "red.1000" }
1190
+ }
1191
+ }
1192
+ },
1193
+ defaultVariants: {
1194
+ size: "lg",
1195
+ invalid: false
1196
+ }
1197
+ });
1198
+
1199
+ // src/recipes/input-text.ts
1200
+ var import_dev16 = require("@pandacss/dev");
1201
+ var import_field = require("@ark-ui/anatomy/field");
1202
+
1203
+ // src/recipes/label.ts
1204
+ var import_dev12 = require("@pandacss/dev");
1205
+ var label_default = (0, import_dev12.defineRecipe)({
1206
+ className: "label",
1207
+ base: {
1208
+ /**
1209
+ * flex w-fit items-center gap-2 text-solid-gray-800
1210
+ */
1211
+ display: "flex",
1212
+ width: "fit-content",
1213
+ alignItems: "center",
1214
+ gap: 2,
1215
+ color: "solid-gray.800"
1216
+ },
1217
+ variants: {
1218
+ size: {
1219
+ /**
1220
+ * data-[size=sm]:text-std-16B-170 data-[size=md]:text-std-17B-170 data-[size=lg]:text-std-18B-160
1221
+ */
1222
+ sm: { textStyle: "std-16B-170" },
1223
+ md: { textStyle: "std-17B-170" },
1224
+ lg: { textStyle: "std-18B-160" }
1225
+ }
1226
+ },
1227
+ defaultVariants: {
1228
+ size: "md"
1229
+ }
1230
+ });
1231
+
1232
+ // src/recipes/select-box.ts
1233
+ var import_dev13 = require("@pandacss/dev");
1234
+ var select_box_default = (0, import_dev13.defineRecipe)({
1235
+ className: "select-box",
1236
+ 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",
1237
+ base: {
1238
+ /**
1239
+ * w-full pl-4 pr-10 py-[calc(11/16*1rem)]
1240
+ * appearance-none rounded-8
1241
+ * aria-disabled:pointer-events-none
1242
+ */
1243
+ width: "full",
1244
+ appearance: "none",
1245
+ pl: 4,
1246
+ pr: 10,
1247
+ py: "calc(11 / 16 * 1rem)",
1248
+ rounded: 8,
1249
+ pointerEvents: { base: "inherit", _disabled: "none" },
1250
+ /**
1251
+ * bg-white text-oln-16N-100 text-solid-gray-800
1252
+ * aria-disabled:text-solid-gray-420
1253
+ * aria-disabled:forced-colors:text-[GrayText]
1254
+ */
1255
+ bg: { base: "white", _disabled: "solid-gray.50" },
1256
+ color: { base: "solid-gray.800", _disabled: "solid-gray.420" },
1257
+ textStyle: "oln-16N-100",
1258
+ /**
1259
+ * border border-solid-gray-600 hover:border-black
1260
+ * aria-disabled:border-solid-gray-300 aria-disabled:bg-solid-gray-50
1261
+ * aria-disabled:forced-colors:border-[GrayText]
1262
+ */
1263
+ borderWidth: "1px",
1264
+ borderColor: {
1265
+ base: "solid-gray.900",
1266
+ _disabled: "solid-gray.300"
1267
+ },
1268
+ /**
1269
+ * remove button style
1270
+ */
1271
+ textAlign: "start",
1272
+ /**
1273
+ * focus:outline focus:outline-4 focus:outline-black focus:outline-offset-[calc(2/16*1rem)] focus:ring-[calc(2/16*1rem)] focus:ring-yellow-300
1274
+ */
1275
+ _focus: {
1276
+ outlineStyle: "solid",
1277
+ outlineWidth: "4px",
1278
+ outlineColor: "black",
1279
+ outlineOffset: "calc(2 / 16 * 1rem)",
1280
+ focusRing: "calc(2 / 16 * 1rem)"
1281
+ }
1282
+ },
1283
+ variants: {
1284
+ size: {
1285
+ /**
1286
+ * data-[size=sm]:h-10 data-[size=md]:h-12 data-[size=lg]:h-14
1287
+ */
1288
+ sm: {
1289
+ height: 10
1290
+ },
1291
+ md: {
1292
+ height: 12
1293
+ },
1294
+ lg: {
1295
+ height: 14
1296
+ }
1297
+ },
1298
+ invalid: {
1299
+ /**
1300
+ * aria-[invalid=true]:border-error-1aria-[invalid=true]:hover:border-red-1000
1301
+ */
1302
+ true: {
1303
+ borderColor: { base: "error.1", _hover: "red.1000" }
1304
+ }
1305
+ }
1306
+ }
1307
+ });
1308
+
1309
+ // src/recipes/support-text.ts
1310
+ var import_dev14 = require("@pandacss/dev");
1311
+ var support_text_default = (0, import_dev14.defineRecipe)({
1312
+ className: "support-text",
1313
+ base: {
1314
+ /**
1315
+ * text-std-16N-170 text-solid-gray-700
1316
+ */
1317
+ textStyle: "dns-16N-170",
1318
+ color: "solid-gray.700"
1319
+ }
1320
+ });
1321
+
1322
+ // src/recipes/textarea.ts
1323
+ var import_dev15 = require("@pandacss/dev");
1324
+ var textarea_default = (0, import_dev15.defineRecipe)({
1325
+ className: "textarea",
1326
+ 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",
1327
+ base: {
1328
+ /**
1329
+ * rounded-8 max-w-full p-4 aria-disabled:pointer-events-none
1330
+ */
1331
+ rounded: 8,
1332
+ p: 4,
1333
+ /**
1334
+ * text-std-16N-170 bg-white text-solid-gray-800
1335
+ * aria-disabled:bg-solid-gray-50 aria-disabled:text-solid-gray-420
1336
+ * aria-disabled:forced-colors:text-[GrayText]
1337
+ */
1338
+ textStyle: "std-16N-170",
1339
+ bg: { base: "white", _disabled: "solid-gray.50" },
1340
+ color: {
1341
+ base: "solid-gray.800",
1342
+ _disabled: { base: "solid-gray.420", _highContrast: "GrayText" }
1343
+ },
1344
+ /**
1345
+ * border border-solid-gray-600 hover:border-black
1346
+ * aria-disabled:border-solid-gray-300 aria-disabled:forced-colors:border-[GrayText]
1347
+ */
1348
+ borderWidth: "1px",
1349
+ borderColor: {
1350
+ base: "solid-gray.600",
1351
+ _hover: "black",
1352
+ _disabled: { base: "solid-gray.300", _hover: "GrayText" }
1353
+ },
1354
+ /**
1355
+ * focus:outline focus:outline-4 focus:outline-black focus:outline-offset-[calc(2/16*1rem)]
1356
+ * focus:ring-[calc(2/16*1rem)] focus:ring-yellow-300
1357
+ */
1358
+ _focus: {
1359
+ outlineStyle: "solid",
1360
+ outlineWidth: "4px",
1361
+ outlineColor: "black",
1362
+ outlineOffset: "calc(2 / 16 * 1rem)",
1363
+ focusRing: "calc(2 / 16 * 1rem)"
1364
+ }
1365
+ },
1366
+ variants: {
1367
+ invalid: {
1368
+ true: {
1369
+ /**
1370
+ * aria-[invalid=true]:border-error-1 aria-[invalid=true]:hover:border-red-1000
1371
+ */
1372
+ borderColor: { base: "error.1", _hover: "red.1000" }
1373
+ }
1374
+ }
1375
+ },
1376
+ defaultVariants: {
1377
+ invalid: false
1378
+ }
1379
+ });
1380
+
1381
+ // src/recipes/input-text.ts
1382
+ var inputText = (0, import_dev16.defineSlotRecipe)({
1383
+ className: "input-text",
1384
+ 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",
1385
+ slots: import_field.anatomy.keys(),
1386
+ base: {
1387
+ root: {
1388
+ display: "flex",
1389
+ flexDirection: "column",
1390
+ gap: 1.5
1391
+ },
1392
+ label: {
1393
+ ...label_default.base
1394
+ },
1395
+ input: {
1396
+ ...input_default.base
1397
+ },
1398
+ textarea: {
1399
+ ...textarea_default.base
1400
+ },
1401
+ select: {
1402
+ ...select_box_default.base
1403
+ },
1404
+ errorText: {
1405
+ ...error_text_default.base
1406
+ },
1407
+ helperText: {
1408
+ ...support_text_default.base
1409
+ }
1410
+ },
1411
+ variants: {
1412
+ size: {
1413
+ lg: {
1414
+ label: { ...label_default.variants?.size?.lg },
1415
+ input: { ...input_default.variants?.size?.lg },
1416
+ select: { ...select_box_default.variants?.size?.lg }
1417
+ },
1418
+ md: {
1419
+ label: { ...label_default.variants?.size?.md },
1420
+ input: { ...input_default.variants?.size?.md },
1421
+ select: { ...select_box_default.variants?.size?.md }
1422
+ },
1423
+ sm: {
1424
+ label: { ...label_default.variants?.size?.sm },
1425
+ input: { ...input_default.variants?.size?.sm },
1426
+ select: { ...select_box_default.variants?.size?.sm }
1427
+ }
1428
+ },
1429
+ invalid: {
1430
+ true: {
1431
+ input: { ...input_default.variants?.invalid?.true },
1432
+ select: { ...select_box_default.variants?.invalid?.true },
1433
+ textarea: { ...textarea_default.variants?.invalid?.true }
1434
+ }
1435
+ }
1436
+ },
1437
+ defaultVariants: {
1438
+ size: "lg",
1439
+ invalid: false
1440
+ }
1441
+ });
1442
+ var input_text_default = inputText;
1443
+
1444
+ // src/recipes/legend.ts
1445
+ var import_dev17 = require("@pandacss/dev");
1446
+ var legend_default = (0, import_dev17.defineRecipe)({
1447
+ className: "legend",
1448
+ base: {
1449
+ /**
1450
+ * flex w-fit items-center gap-2 text-solid-gray-800
1451
+ */
1452
+ display: "flex",
1453
+ width: "fit-content",
1454
+ alignItems: "center",
1455
+ gap: 2,
1456
+ color: "solid-gray.800"
1457
+ },
1458
+ variants: {
1459
+ size: {
1460
+ sm: {
1461
+ /**
1462
+ * data-[size=sm]:text-std-16B-170
1463
+ */
1464
+ textStyle: "std-16B-170"
1465
+ },
1466
+ md: {
1467
+ /**
1468
+ * data-[size=md]:text-std-17B-170
1469
+ */
1470
+ textStyle: "std-17B-170"
1471
+ },
1472
+ lg: {
1473
+ /**
1474
+ * data-[size=lg]:text-std-18B-160
1475
+ */
1476
+ textStyle: "std-18B-160"
1477
+ }
1478
+ }
1479
+ },
1480
+ defaultVariants: {
1481
+ size: "md"
1482
+ }
1483
+ });
1484
+
1485
+ // src/recipes/list.ts
1486
+ var import_dev18 = require("@pandacss/dev");
1487
+ var list_default = (0, import_dev18.defineRecipe)({
1488
+ className: "list",
1489
+ base: {
1490
+ /**
1491
+ * py-1
1492
+ */
1493
+ py: 1
1494
+ }
1495
+ });
1496
+
1497
+ // src/recipes/menu.ts
1498
+ var import_dev20 = require("@pandacss/dev");
1499
+ var import_menu = require("@ark-ui/anatomy/menu");
1500
+
1501
+ // src/recipes/menu-item.ts
1502
+ var import_dev19 = require("@pandacss/dev");
1503
+ var menu_item_default = (0, import_dev19.defineRecipe)({
1504
+ className: "menu-item",
1505
+ base: {
1506
+ /**
1507
+ * flex relative items-center bg-white hover:bg-solid-gray-50 text-nowrap
1508
+ * text-oln-16N-100 text-solid-gray-800
1509
+ * ${isCurrent ? '!text-blue-1000 !bg-blue-100 font-bold' : ''}
1510
+ */
1511
+ display: "flex",
1512
+ position: "relative",
1513
+ alignItems: "center",
1514
+ textStyle: "dns-16N-130",
1515
+ bg: {
1516
+ base: "transparent",
1517
+ _hover: "solid-gray.50",
1518
+ _selected: {
1519
+ base: "keyColor.100",
1520
+ _hover: "keyColor.100"
1521
+ },
1522
+ _checked: {
1523
+ base: "keyColor.100",
1524
+ _hover: "keyColor.100"
1525
+ },
1526
+ _open: {
1527
+ base: "keyColor.50",
1528
+ _hover: "keyColor.50"
1529
+ }
1530
+ },
1531
+ color: {
1532
+ base: "solid-gray.800",
1533
+ _selected: "keyColor.1000",
1534
+ _checked: "keyColor.1000",
1535
+ _open: "keyColor.1000"
1536
+ },
1537
+ fontWeight: { base: "normal", _selected: "bold", _checked: "bold" },
1538
+ /**
1539
+ * hover:underline hover:underline-offset-[calc(3/16*1rem)]
1540
+ */
1541
+ _hover: {
1542
+ textDecoration: "underline",
1543
+ textUnderlineOffset: "calc(3 / 16 * 1rem)"
1544
+ },
1545
+ /**
1546
+ * py-3 pl-3 pr-6 gap-x-2
1547
+ */
1548
+ py: 3,
1549
+ pl: 3,
1550
+ pr: 6,
1551
+ columnGap: 2,
1552
+ /**
1553
+ * focus-visible:outline focus-visible:outline-4 focus-visible:outline-black
1554
+ * focus-visible:-outline-offset-4 focus-visible:bg-yellow-300
1555
+ * focus-visible:ring-[calc(6/16*1rem)] focus-visible:ring-inset
1556
+ * focus-visible:ring-yellow-300
1557
+ */
1558
+ _focusVisible: {
1559
+ // rounded: 4,
1560
+ outlineStyle: "solid",
1561
+ outlineWidth: "4px",
1562
+ outlineColor: "black",
1563
+ outlineOffset: "calc(2 / 16 * 1rem)",
1564
+ focusRing: "calc(6 / 16 * 1rem)"
1565
+ }
1566
+ },
1567
+ variants: {
1568
+ variant: {
1569
+ standard: {
1570
+ rounded: 4
1571
+ },
1572
+ boxed: {
1573
+ rounded: {
1574
+ base: 0,
1575
+ _focusVisible: 4
1576
+ }
1577
+ }
1578
+ },
1579
+ isCondensed: {
1580
+ true: {
1581
+ /**
1582
+ * ${isCondensed ? 'py-1.5 pl-1.5 pr-4 gap-x-1.5'}
1583
+ */
1584
+ py: 1.5,
1585
+ pl: 1.5,
1586
+ pr: 4,
1587
+ columnGap: 1.5
1588
+ }
1589
+ }
1590
+ },
1591
+ defaultVariants: {
1592
+ variant: "standard",
1593
+ isCondensed: false
1594
+ }
1595
+ });
1596
+
1597
+ // src/recipes/menu.ts
1598
+ var itemStyle = {
1599
+ ...menu_item_default.base
1600
+ };
1601
+ var menu_default = (0, import_dev20.defineSlotRecipe)({
1602
+ className: "menu",
1603
+ slots: import_menu.anatomy.keys(),
1604
+ base: {
1605
+ content: {
1606
+ minWidth: "fit-content",
1607
+ width: "auto",
1608
+ maxHeight: "calc((44 * 6.5 + 16) / 16 * 1rem)",
1609
+ py: 2,
1610
+ borderWidth: "1px",
1611
+ borderColor: "solid-gray.420",
1612
+ bg: "white",
1613
+ rounded: "lg",
1614
+ boxShadow: 1
1615
+ /**
1616
+ * min-w-fit w-auto py-2 border border-solid-grey-420 bg-white shadow-1 rounded-lg
1617
+ has-[>:nth-child(7)]:rounded-r-none
1618
+ ${isCondensed ? 'max-h-[calc((32*6.5+16)/16*1rem)]' : 'max-h-[calc((44*6.5+16)/16*1rem)]'}
1619
+ */
1620
+ },
1621
+ itemGroupLabel: {
1622
+ ...itemStyle,
1623
+ fontWeight: "bold"
1624
+ },
1625
+ triggerItem: {
1626
+ ...itemStyle
1627
+ },
1628
+ item: {
1629
+ ...itemStyle,
1630
+ textDecoration: {
1631
+ base: "none",
1632
+ _hover: "underline"
1633
+ },
1634
+ textUnderlineOffset: "calc(3 / 16 * 1rem)",
1635
+ _checked: {
1636
+ bg: "keyColor.100",
1637
+ color: "keyColor.1000",
1638
+ fontWeight: "bold"
1639
+ },
1640
+ _focusVisible: {
1641
+ outlineStyle: "solid",
1642
+ outlineWidth: "4px",
1643
+ outlineColor: "black",
1644
+ outlineOffset: "calc(2 / 16 * 1rem)",
1645
+ focusRing: "calc(2 / 16 * 1rem)",
1646
+ zIndex: 1
1647
+ }
1648
+ /**
1649
+ * flex relative items-center bg-white text-nowrap text-oln-16N-1 text-solid-grey-800
1650
+ ${isCondensed ? 'py-1.5 pl-1.5 pr-4 gap-x-1.5' : 'py-3 pl-3 pr-6 gap-x-2'}
1651
+ ${isCurrent && '!text-blue-1000 !bg-blue-100 font-bold'}
1652
+ hover:underline hover:underline-offset-[calc(3/16*1rem)] hover:bg-solid-grey-50
1653
+ focus-visible:outline focus-visible:outline-4 focus-visible:outline-black focus-visible:-outline-offset-4 focus-visible:bg-yellow-300 focus-visible:ring-[calc(6/16*1rem)] focus-visible:ring-inset focus-visible:ring-yellow-300
1654
+ ${className ?? ''}
1655
+ */
1656
+ }
1657
+ },
1658
+ variants: {
1659
+ isCondensed: {
1660
+ true: {
1661
+ content: {
1662
+ maxHeight: "calc((32 * 6.5 + 16) / 16 * 1rem)"
1663
+ },
1664
+ itemGroupLabel: {
1665
+ py: 1.5,
1666
+ pl: 1.5,
1667
+ pr: 4,
1668
+ columnGap: 1.5
1669
+ },
1670
+ item: {
1671
+ py: 1.5,
1672
+ pl: 1.5,
1673
+ pr: 4,
1674
+ columnGap: 1.5
1675
+ },
1676
+ triggerItem: {
1677
+ py: 1.5,
1678
+ pl: 1.5,
1679
+ pr: 4,
1680
+ columnGap: 1.5
1681
+ }
1682
+ }
1683
+ }
1684
+ },
1685
+ defaultVariants: {
1686
+ isCondensed: false
1687
+ }
1688
+ });
1689
+
1690
+ // src/recipes/menu-list.ts
1691
+ var import_dev21 = require("@pandacss/dev");
1692
+ var menu_list_default = (0, import_dev21.defineSlotRecipe)({
1693
+ className: "menu-list",
1694
+ slots: menuListAnatomy.keys(),
1695
+ base: {
1696
+ root: {},
1697
+ label: {
1698
+ py: 3,
1699
+ pl: 3,
1700
+ pr: 6,
1701
+ textStyle: "oln-17B-100",
1702
+ textWrap: "nowrap",
1703
+ display: "block",
1704
+ mb: 2
1705
+ },
1706
+ content: {},
1707
+ item: {
1708
+ ...menu_item_default.base
1709
+ },
1710
+ itemGroup: {
1711
+ my: 1
1712
+ },
1713
+ itemGroupLabel: {
1714
+ ...menu_item_default.base,
1715
+ position: "sticky",
1716
+ top: 0,
1717
+ bg: "white"
1718
+ },
1719
+ itemText: {},
1720
+ itemIndicator: {
1721
+ position: "absolute",
1722
+ top: "50%",
1723
+ right: 4,
1724
+ transform: "translateY(-50%)"
1725
+ }
1726
+ },
1727
+ variants: {
1728
+ variant: {
1729
+ standard: {
1730
+ item: {
1731
+ ...menu_item_default.variants?.variant?.standard
1732
+ },
1733
+ itemGroupLabel: {
1734
+ ...menu_item_default.variants?.variant?.standard
1735
+ }
1736
+ },
1737
+ boxed: {
1738
+ item: {
1739
+ ...menu_item_default.variants?.variant?.boxed
1740
+ },
1741
+ itemGroupLabel: {
1742
+ ...menu_item_default.variants?.variant?.boxed
1743
+ }
1744
+ }
1745
+ },
1746
+ isCondensed: {
1747
+ true: {}
1748
+ }
1749
+ },
1750
+ defaultVariants: {
1751
+ variant: "standard",
1752
+ isCondensed: false
1753
+ }
1754
+ });
1755
+
1756
+ // src/recipes/notification-banner.ts
1757
+ var import_dev22 = require("@pandacss/dev");
1758
+ var notification_banner_default = (0, import_dev22.defineSlotRecipe)({
1759
+ className: "notification-banner",
1760
+ slots: notificationBannerAnatomy.keys(),
1761
+ base: {
1762
+ root: {
1763
+ /**
1764
+ * [--icon-size:calc(24/16*1rem)] desktop:[--icon-size:calc(36/16*1rem)]
1765
+ */
1766
+ "--icon-size": {
1767
+ base: "calc(24 / 16 * 1rem)",
1768
+ md: "calc(36 / 16 * 1rem)"
1769
+ },
1770
+ "--icon-scale": {
1771
+ base: 24 / 36,
1772
+ md: 1
1773
+ },
1774
+ /**
1775
+ * p-4 desktop:p-6 border-current
1776
+ */
1777
+ p: { base: 4, md: 6 },
1778
+ borderColor: "currentcolor",
1779
+ /**
1780
+ * grid grid-cols-[var(--icon-size)_1fr_minmax(0,auto)]
1781
+ * gap-x-3 desktop:gap-x-6 gap-y-4
1782
+ */
1783
+ display: "grid",
1784
+ gridTemplateColumns: "var(--icon-size) 1fr minmax(0, auto)",
1785
+ columnGap: { base: 3, md: 6 },
1786
+ rowGap: 4
1787
+ },
1788
+ header: {
1789
+ /**
1790
+ * grid grid-cols-subgrid col-start-2 -col-end-1 place-items-start
1791
+ [&>*:last-child]:-col-end-1
1792
+ */
1793
+ display: "grid",
1794
+ gridTemplateColumns: "subgrid",
1795
+ gridColumnStart: 2,
1796
+ gridColumnEnd: -1,
1797
+ placeItems: "start",
1798
+ "& > *:last-child": {
1799
+ gridColumnEnd: -1
1800
+ }
1801
+ },
1802
+ icon: {
1803
+ /**
1804
+ * mt-[calc(2/16*1rem)] desktop:mt-0
1805
+ */
1806
+ mt: { base: "calc(2 / 16 * 1rem)", md: 0 },
1807
+ /**
1808
+ * h-auto max-w-full
1809
+ */
1810
+ height: "auto",
1811
+ maxWidth: "full",
1812
+ /**
1813
+ * icon element
1814
+ * instead of icon component
1815
+ */
1816
+ _before: {
1817
+ content: '""',
1818
+ display: "block",
1819
+ bg: "currentColor",
1820
+ width: "36px",
1821
+ height: "36px",
1822
+ transformOrigin: "left center",
1823
+ transform: "scale(var(--icon-scale))"
1824
+ }
1825
+ },
1826
+ close: {
1827
+ /**
1828
+ * inline-flex items-center gap-0.5
1829
+ * -mt-2 -mr-3 desktop:mt-0 desktop:mr-0 desktop:px-2 desktop:py-0.5
1830
+ */
1831
+ display: "inline-flex",
1832
+ alignItems: "center",
1833
+ gap: 0.5,
1834
+ mt: { base: -2, md: 0 },
1835
+ mr: { base: -3, md: 0 },
1836
+ px: { base: 0, md: 2 },
1837
+ py: { base: 0, md: 0.5 },
1838
+ /**
1839
+ * text-solid-gray-900
1840
+ */
1841
+ color: "solid-gray.900",
1842
+ /**
1843
+ * border border-transparent hover:border-solid-gray-900 rounded-8 focus-visible:border-transparent
1844
+ */
1845
+ borderWidth: "1px",
1846
+ borderColor: {
1847
+ base: "transparent",
1848
+ _hover: "solid-gray.900",
1849
+ _focusVisible: "transparent"
1850
+ },
1851
+ rounded: 8,
1852
+ /**
1853
+ * focus-visible:outline focus-visible:outline-4 focus-visible:outline-black focus-visible:outline-offset-[calc(2/16*1rem)]
1854
+ * focus-visible:ring-[calc(2/16*1rem)] focus-visible:ring-yellow-300 focus-visible:bg-yellow-300
1855
+ *
1856
+ */
1857
+ _focusVisible: {
1858
+ outlineStyle: "solid",
1859
+ outlineWidth: "4px",
1860
+ outlineColor: "black",
1861
+ outlineOffset: "calc(2 / 16 * 1rem)",
1862
+ focusRing: "calc(2 / 16 * 1rem)"
1863
+ }
1864
+ },
1865
+ heading: {
1866
+ /**
1867
+ * text-solid-gray-900 col-start-1 desktop:mt-0.5
1868
+ * text-std-17B-170 desktop:text-std-20B-160
1869
+ *
1870
+ * @todo
1871
+ * std-20B-160 doesn't exist and replace it to std-20B-150
1872
+ */
1873
+ textStyle: { base: "std-17B-170", md: "std-20B-150" },
1874
+ color: "solid-gray.900",
1875
+ gridColumnStart: 1,
1876
+ mt: { base: "auto", md: 0.5 }
1877
+ },
1878
+ body: {
1879
+ /**
1880
+ * col-start-1 -col-end-1 desktop:col-start-2 text-std-16N-170 text-solid-gray-800
1881
+ */
1882
+ gridColumnStart: { base: 1, md: 2 },
1883
+ gridColumnEnd: -1,
1884
+ textStyle: "std-16N-170",
1885
+ color: "solid-gray.800"
1886
+ }
1887
+ },
1888
+ variants: {
1889
+ type: {
1890
+ success: {
1891
+ root: {
1892
+ /**
1893
+ * text-success-2 [--color-chip-color:currentColor]
1894
+ */
1895
+ color: "success.2",
1896
+ "--color-chip-color": "currentColor"
1897
+ },
1898
+ icon: {
1899
+ _before: {
1900
+ 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 0ZM14.4 27L5.4 18L7.938 15.462L14.4 21.906L28.062 8.244L30.6 10.8L14.4 27Z')"
1901
+ }
1902
+ }
1903
+ },
1904
+ error: {
1905
+ root: {
1906
+ /**
1907
+ * text-error-1 [--color-chip-color:currentColor]
1908
+ */
1909
+ color: "error.1",
1910
+ "--color-chip-color": "currentColor"
1911
+ },
1912
+ icon: {
1913
+ _before: {
1914
+ clipPath: "path('M24.2525 33H11.7475L3 24.2525V11.7475L11.7475 3H24.2525L33 11.7475V24.2525L24.2525 33Z')"
1915
+ }
1916
+ }
1917
+ },
1918
+ warning: {
1919
+ root: {
1920
+ /**
1921
+ * text-warning-yellow-2 [--color-chip-color:theme(colors.yellow.400)]
1922
+ */
1923
+ color: "warning.yellow.2",
1924
+ "--color-chip-color": "{colors.yellow.400}"
1925
+ },
1926
+ icon: {
1927
+ _before: {
1928
+ clipPath: "path('M0 34.0909H36L18 3L0 34.0909ZM19.6364 29.1818H16.3636V25.9091H19.6364V29.1818ZM19.6364 22.6364H16.3636V16.0909H19.6364V22.6364Z')"
1929
+ }
1930
+ }
1931
+ },
1932
+ info1: {
1933
+ root: {
1934
+ /**
1935
+ * text-blue-900 [--color-chip-color:currentColor]
1936
+ */
1937
+ color: "blue.900",
1938
+ "--color-chip-color": "currentColor"
1939
+ },
1940
+ icon: {
1941
+ _before: {
1942
+ 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')"
1943
+ }
1944
+ }
1945
+ },
1946
+ info2: {
1947
+ root: {
1948
+ /**
1949
+ * text-solid-gray-536 [--color-chip-color:currentColor]
1950
+ */
1951
+ color: "solid-gray.536",
1952
+ "--color-chip-color": "currentColor"
1953
+ },
1954
+ icon: {
1955
+ _before: {
1956
+ 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')"
1957
+ }
1958
+ }
1959
+ }
1960
+ },
1961
+ bannerStyle: {
1962
+ standard: {
1963
+ root: {
1964
+ /**
1965
+ * border-[3px] rounded-12
1966
+ */
1967
+ borderWidth: "3px",
1968
+ rounded: 12
1969
+ }
1970
+ },
1971
+ "color-chip": {
1972
+ root: {
1973
+ /**
1974
+ * border-2 !pl-6 desktop:!pl-10
1975
+ * shadow-[inset_8px_0_0_0_var(--color-chip-color)]
1976
+ * desktop:shadow-[inset_16px_0_0_0_var(--color-chip-color)]
1977
+ */
1978
+ borderWidth: "2px",
1979
+ pl: { base: 6, md: 10 },
1980
+ shadow: "inset 16px 0 0 0 var(--color-chip-color)"
1981
+ }
1982
+ }
1983
+ }
1984
+ },
1985
+ defaultVariants: {
1986
+ type: "info1",
1987
+ bannerStyle: "standard"
1988
+ }
1989
+ });
1990
+
1991
+ // src/recipes/ordered-list.ts
1992
+ var import_dev23 = require("@pandacss/dev");
1993
+ var ordered_list_default = (0, import_dev23.defineRecipe)({
1994
+ className: "ordered-list",
1995
+ base: {
1996
+ /**
1997
+ * pl-8 list-[revert]
1998
+ */
1999
+ pl: 8,
2000
+ listStyle: "revert",
2001
+ /**
2002
+ * [&_:where(ol,ul)]:mt-1 [&_:where(ol,ul)]:-mb-1
2003
+ */
2004
+ "&:where(ol,ul)": {
2005
+ mt: 1,
2006
+ mb: -1
2007
+ }
2008
+ }
2009
+ });
2010
+
2011
+ // src/recipes/radio.ts
2012
+ var import_dev24 = require("@pandacss/dev");
2013
+ var radio_default = (0, import_dev24.defineSlotRecipe)({
2014
+ className: "radio",
2015
+ slots: ["item", "itemControl", "itemText"],
2016
+ base: {
2017
+ item: {
2018
+ /**
2019
+ * flex w-fit items-start py-2
2020
+ */
2021
+ display: "flex",
2022
+ width: "fit-content",
2023
+ alignItems: "start",
2024
+ py: 2
2025
+ },
2026
+ itemControl: {
2027
+ /**
2028
+ * flex items-center justify-center shrink-0 rounded-full
2029
+ * has-[input:hover:not(:focus):not([aria-disabled="true"])]:bg-solid-gray-420
2030
+ */
2031
+ /*
2032
+ display: "flex",
2033
+ alignItems: "center",
2034
+ justifyContent: "center",
2035
+ flexShrink: 0,
2036
+ rounded: "full",
2037
+ */
2038
+ /**
2039
+ * appearance-none size-[calc(5/6*100%)] rounded-full
2040
+ */
2041
+ appearance: "none",
2042
+ rounded: "full",
2043
+ width: "calc(var(--radio-size) * 5 / 6)",
2044
+ height: "calc(var(--radio-size) * 5 / 6)",
2045
+ m: "calc(var(--radio-size) / 12)",
2046
+ flexShrink: 0,
2047
+ /**
2048
+ * bg-white aria-disabled:!bg-solid-gray-50
2049
+ */
2050
+ bg: { base: "white", _disabled: "solid-gray.50" },
2051
+ borderColor: {
2052
+ /**
2053
+ * border-solid-gray-600
2054
+ * hover:border-black
2055
+ * checked:border-blue-900
2056
+ * checked:hover:border-blue-1100
2057
+ * forced-colors:!border-[ButtonText] forced-colors:checked:!border-[Highlight]
2058
+ */
2059
+ base: "solid-gray.600",
2060
+ _hover: "black",
2061
+ _highContrast: { base: "ButtonText" },
2062
+ _checked: {
2063
+ base: "keyColor.900",
2064
+ _hover: "keyColor.1100",
2065
+ _disabled: "solid-gray.300",
2066
+ _highContrast: "Highlight"
2067
+ },
2068
+ /**
2069
+ * data-[error]:border-error-1 data-[error]:hover:border-red-1000
2070
+ */
2071
+ _invalid: { base: "error.1", _hover: "red.1000" },
2072
+ /**
2073
+ * aria-disabled:!border-solid-gray-300
2074
+ * forced-colors:aria-disabled:!border-[GrayText]
2075
+ */
2076
+ _disabled: { base: "solid-gray.300", _highContrast: "GrayText" }
2077
+ },
2078
+ /**
2079
+ * outline on hover
2080
+ * has-[input:hover:not(:focus):not([aria-disabled="true"])]:bg-solid-gray-420
2081
+ */
2082
+ '&:is(:hover, [data-hover]):not(:focus):not([aria-disabled="true"])': {
2083
+ outlineStyle: "solid",
2084
+ outlineWidth: "calc(var(--radio-size) / 12)",
2085
+ outlineColor: "solid-gray.420"
2086
+ },
2087
+ /**
2088
+ * focus:outline focus:outline-4 focus:outline-black
2089
+ * focus:outline-offset-[calc(2/16*1rem)]
2090
+ * focus:ring-[calc(2/16*1rem)] focus:ring-yellow-300
2091
+ */
2092
+ _focus: {
2093
+ outlineStyle: "solid",
2094
+ outlineWidth: "4px",
2095
+ outlineColor: "black",
2096
+ outlineOffset: "calc(2 / 16 * 1rem)",
2097
+ focusRing: "calc(2 / 16 * 1rem)"
2098
+ },
2099
+ _before: {
2100
+ /**
2101
+ * before:hidden
2102
+ * before:size-full
2103
+ * before:[clip-path:circle(calc(5/16*100%))]
2104
+ * before:bg-white
2105
+ */
2106
+ content: '""',
2107
+ display: "none",
2108
+ width: "full",
2109
+ height: "full",
2110
+ clipPath: "circle(calc(5 / 16 * 100%))",
2111
+ bg: "white"
2112
+ },
2113
+ _checked: {
2114
+ /**
2115
+ * checked:before:block
2116
+ * checked:before:bg-blue-900 checked:hover:before:bg-blue-1100
2117
+ * data-[error]:checked:before:bg-error-1
2118
+ * data-[error]:checked:hover:before:bg-red-1000
2119
+ * aria-disabled:checked:before:!bg-solid-gray-300
2120
+ * forced-colors:checked:before:!bg-[Highlight]
2121
+ * forced-colors:aria-disabled:checked:before:!bg-[GrayText]
2122
+ */
2123
+ _before: {
2124
+ display: "block",
2125
+ bg: "keyColor.900",
2126
+ _hover: "keyColor.1100",
2127
+ _invalid: {
2128
+ base: "error.1",
2129
+ _hover: "red.1000"
2130
+ },
2131
+ _highContrast: "Highlight"
2132
+ },
2133
+ _disabled: {
2134
+ _before: {
2135
+ base: "solid-gray.300",
2136
+ _highContrast: "GrayText"
2137
+ }
2138
+ }
2139
+ }
2140
+ },
2141
+ itemText: {
2142
+ /**
2143
+ * text-solid-gray-800
2144
+ */
2145
+ color: "solid-gray.800"
2146
+ }
2147
+ },
2148
+ variants: {
2149
+ size: {
2150
+ sm: {
2151
+ item: {
2152
+ /**
2153
+ * data-[size=sm]:gap-1
2154
+ */
2155
+ gap: 1
2156
+ },
2157
+ itemControl: {
2158
+ /**
2159
+ * data-[size=sm]:size-6
2160
+ */
2161
+ "--radio-size": "{spacing.6}",
2162
+ /**
2163
+ * data-[size=sm]:border-[calc(2/16*1rem)]
2164
+ */
2165
+ borderWidth: "calc(2 / 16 * 1rem)"
2166
+ },
2167
+ itemText: {
2168
+ /**
2169
+ * data-[size=sm]:pt-px
2170
+ * data-[size=sm]:text-dns-16N-130
2171
+ */
2172
+ pt: "1px",
2173
+ textStyle: "dns-16N-130"
2174
+ }
2175
+ },
2176
+ md: {
2177
+ item: {
2178
+ /**
2179
+ * data-[size=md]:gap-2
2180
+ */
2181
+ gap: 2
2182
+ },
2183
+ itemControl: {
2184
+ /**
2185
+ * data-[size=md]:size-8
2186
+ */
2187
+ "--radio-size": "{spacing.8}",
2188
+ /**
2189
+ * data-[size=md]:border-[calc(2/16*1rem)]
2190
+ */
2191
+ borderWidth: "calc(2 / 16 * 1rem)"
2192
+ },
2193
+ itemText: {
2194
+ /**
2195
+ * data-[size=md]:pt-1
2196
+ * data-[size=md]:text-dns-16N-130
2197
+ */
2198
+ pt: 1,
2199
+ textStyle: "dns-16N-130"
2200
+ }
2201
+ },
2202
+ lg: {
2203
+ item: {
2204
+ /**
2205
+ * data-[size=lg]:gap-3
2206
+ */
2207
+ gap: 3
2208
+ },
2209
+ itemControl: {
2210
+ /**
2211
+ * data-[size=lg]:size-11
2212
+ */
2213
+ "--radio-size": "{spacing.11}",
2214
+ /**
2215
+ * data-[size=lg]:border-[calc(3/16*1rem)]
2216
+ */
2217
+ borderWidth: "calc(3 / 16 * 1rem)"
2218
+ },
2219
+ itemText: {
2220
+ /**
2221
+ * data-[size=lg]:pt-2.5
2222
+ * data-[size=lg]:text-dns-17N-130
2223
+ */
2224
+ pt: 2.5,
2225
+ textStyle: "dns-17N-130"
2226
+ }
2227
+ }
2228
+ }
2229
+ },
2230
+ defaultVariants: {
2231
+ size: "sm"
2232
+ }
2233
+ });
2234
+
2235
+ // src/recipes/radio-group.ts
2236
+ var import_dev25 = require("@pandacss/dev");
2237
+ var import_radio_group = require("@ark-ui/anatomy/radio-group");
2238
+ var radio_group_default = (0, import_dev25.defineSlotRecipe)({
2239
+ className: "radio-group",
2240
+ slots: import_radio_group.anatomy.keys(),
2241
+ base: {
2242
+ root: {
2243
+ display: "flex",
2244
+ _vertical: {
2245
+ flexDirection: "column",
2246
+ gap: 0
2247
+ },
2248
+ _horizonal: {
2249
+ flexDirection: "row",
2250
+ gap: 4
2251
+ }
2252
+ },
2253
+ item: {
2254
+ ...radio_default.base?.item
2255
+ },
2256
+ itemControl: {
2257
+ ...radio_default.base?.itemControl
2258
+ },
2259
+ itemText: {
2260
+ ...radio_default.base?.itemText
2261
+ }
2262
+ },
2263
+ variants: {
2264
+ size: {
2265
+ sm: {
2266
+ item: {
2267
+ ...radio_default.variants?.size?.sm?.item
2268
+ },
2269
+ itemControl: {
2270
+ ...radio_default.variants?.size?.sm?.itemControl
2271
+ },
2272
+ itemText: {
2273
+ ...radio_default.variants?.size?.sm?.itemText
2274
+ }
2275
+ },
2276
+ md: {
2277
+ item: {
2278
+ ...radio_default.variants?.size?.md?.item
2279
+ },
2280
+ itemControl: {
2281
+ ...radio_default.variants?.size?.md?.itemControl
2282
+ },
2283
+ itemText: {
2284
+ ...radio_default.variants?.size?.md?.itemText
2285
+ }
2286
+ },
2287
+ lg: {
2288
+ item: {
2289
+ ...radio_default.variants?.size?.lg?.item
2290
+ },
2291
+ itemControl: {
2292
+ ...radio_default.variants?.size?.lg?.itemControl
2293
+ },
2294
+ itemText: {
2295
+ ...radio_default.variants?.size?.lg?.itemText
2296
+ }
2297
+ }
2298
+ }
2299
+ },
2300
+ defaultVariants: {
2301
+ size: "sm"
2302
+ }
2303
+ });
2304
+
2305
+ // src/recipes/requirement-badge.ts
2306
+ var import_dev26 = require("@pandacss/dev");
2307
+ var requirement_badge_default = (0, import_dev26.defineRecipe)({
2308
+ className: "requirement-badge",
2309
+ base: {
2310
+ /**
2311
+ * text-oln-16N-100 text-red-800
2312
+ */
2313
+ textStyle: "oln-16N-100",
2314
+ color: "red.800"
2315
+ },
2316
+ variants: {
2317
+ isOptional: {
2318
+ true: {
2319
+ /**
2320
+ * data-[is-optional]:text-solid-gray-800
2321
+ */
2322
+ color: "solid-gray.800"
2323
+ }
2324
+ }
2325
+ },
2326
+ defaultVariants: {
2327
+ isOptional: false
2328
+ }
2329
+ });
2330
+
2331
+ // src/recipes/resource-list.ts
2332
+ var import_dev27 = require("@pandacss/dev");
2333
+ var resource_list_default = (0, import_dev27.defineSlotRecipe)({
2334
+ className: "resource-list",
2335
+ slots: resourceListAnatomy.keys(),
2336
+ base: {
2337
+ root: {
2338
+ display: "flex",
2339
+ borderColor: "solid-gray.420",
2340
+ bg: {
2341
+ "&:has(input:checked)": "keyColor.50",
2342
+ _selected: "keyColor.50"
2343
+ }
2344
+ },
2345
+ contentsContainer: {
2346
+ display: "flex",
2347
+ flexGrow: 1,
2348
+ flexDirection: "row",
2349
+ alignItems: "center",
2350
+ justifyContent: "start",
2351
+ gap: { base: 4, md: 6 },
2352
+ /**
2353
+ * p-4 md:px-6 md:py-4
2354
+ */
2355
+ py: 4,
2356
+ px: { base: 4, md: 6 },
2357
+ bg: { base: "transparent", _hover: "solid-gray.50" },
2358
+ _focusVisible: {
2359
+ outlineStyle: "solid",
2360
+ outlineWidth: "4px",
2361
+ outlineColor: "black",
2362
+ outlineOffset: "calc(2 / 16 * 1rem)",
2363
+ focusRing: "calc(2 / 16 * 1rem)"
2364
+ }
2365
+ },
2366
+ functionButton: {
2367
+ p: 4,
2368
+ display: "flex",
2369
+ alignItems: "center",
2370
+ justifyContent: "center"
2371
+ },
2372
+ frontIcon: {
2373
+ // px: 2,
2374
+ },
2375
+ content: {
2376
+ height: "full",
2377
+ flexGrow: 1,
2378
+ display: "flex",
2379
+ flexDirection: "column"
2380
+ },
2381
+ title: {
2382
+ /**
2383
+ * mb-4 text-std-20B-150 font-bold group-hover:text-blue-1000 group-hover:decoration-[calc(3/16*1rem)] md:mb-4
2384
+ */
2385
+ textStyle: "std-20B-150",
2386
+ width: "fit-content"
2387
+ },
2388
+ label: {
2389
+ zIndex: 1,
2390
+ width: "fit-content",
2391
+ textStyle: "oln-17N-100",
2392
+ color: "solid-gray.800"
2393
+ },
2394
+ supportText: {
2395
+ color: "solid-gray.800"
2396
+ },
2397
+ subLabel: {
2398
+ zIndex: 1,
2399
+ color: "solid-gray.800"
2400
+ }
2401
+ },
2402
+ variants: {
2403
+ variant: {
2404
+ list: {
2405
+ root: {
2406
+ borderBottomWidth: "1px"
2407
+ }
2408
+ },
2409
+ frame: {
2410
+ root: {
2411
+ rounded: 16,
2412
+ borderWidth: "1px"
2413
+ },
2414
+ contentsContainer: {
2415
+ borderTopLeftRadius: 16,
2416
+ borderBottomLeftRadius: 16,
2417
+ _only: {
2418
+ borderTopRightRadius: 16,
2419
+ borderBottomRightRadius: 16
2420
+ }
2421
+ },
2422
+ functionButton: {
2423
+ borderTopRightRadius: 16,
2424
+ borderBottomRightRadius: 16
2425
+ }
2426
+ }
2427
+ },
2428
+ asLink: {
2429
+ true: {
2430
+ contentsContainer: {
2431
+ position: "relative"
2432
+ },
2433
+ title: {
2434
+ _before: {
2435
+ content: '""',
2436
+ position: "absolute",
2437
+ top: 0,
2438
+ left: 0,
2439
+ width: "full",
2440
+ height: "full",
2441
+ zIndex: 0,
2442
+ cursor: "inherit"
2443
+ }
2444
+ },
2445
+ supportText: {
2446
+ textDecoration: { base: "none", _groupHover: "underline" }
2447
+ }
2448
+ }
2449
+ }
2450
+ }
2451
+ });
2452
+
2453
+ // src/recipes/select.ts
2454
+ var import_dev28 = require("@pandacss/dev");
2455
+ var import_select = require("@ark-ui/anatomy/select");
2456
+ var select_default = (0, import_dev28.defineSlotRecipe)({
2457
+ className: "select",
2458
+ 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",
2459
+ slots: import_select.anatomy.keys(),
2460
+ base: {
2461
+ root: {
2462
+ display: "flex",
2463
+ flexDirection: "column",
2464
+ gap: 1.5
2465
+ },
2466
+ label: {
2467
+ ...label_default.base
2468
+ },
2469
+ control: {
2470
+ /**
2471
+ * relative min-w-80 max-w-full
2472
+ */
2473
+ position: "relative",
2474
+ minWidth: "80px",
2475
+ maxWidth: "full"
2476
+ },
2477
+ trigger: {
2478
+ ...select_box_default.base,
2479
+ /**
2480
+ * adapt to clearTrigger
2481
+ */
2482
+ pr: 20
2483
+ },
2484
+ indicator: {
2485
+ /**
2486
+ * pointer-events-none absolute right-4 top-1/2 -translate-y-1/2
2487
+ */
2488
+ pointerEvents: "none",
2489
+ position: "absolute",
2490
+ top: "50%",
2491
+ transform: "translateY(-50%)",
2492
+ right: 4,
2493
+ /**
2494
+ * ${props['aria-disabled'] ? 'text-solid-gray-420 forced-colors:text-[GrayText]' : 'text-solid-gray-900 forced-colors:text-[CanvasText]'}
2495
+ */
2496
+ color: {
2497
+ base: { base: "solid-gray.900", _highContrast: "CanvasText" },
2498
+ _disabled: { base: "solid-gray.420", _highContrast: "GrayText" }
2499
+ }
2500
+ },
2501
+ clearTrigger: {
2502
+ position: "absolute",
2503
+ top: "50%",
2504
+ right: 12,
2505
+ transform: "translateY(-50%)"
2506
+ },
2507
+ content: {
2508
+ ...menu_default.base?.content
2509
+ },
2510
+ itemGroupLabel: {
2511
+ textStyle: "oln-16N-1",
2512
+ fontWeight: "bold",
2513
+ py: 3,
2514
+ pl: 3,
2515
+ pr: 6
2516
+ },
2517
+ item: {
2518
+ ...menu_default.base?.item
2519
+ },
2520
+ itemIndicator: {
2521
+ pointerEvents: "none",
2522
+ position: "absolute",
2523
+ right: 4,
2524
+ top: "50%",
2525
+ transform: "translateY(-50%)"
2526
+ }
2527
+ },
2528
+ variants: {
2529
+ size: {
2530
+ lg: {
2531
+ trigger: {
2532
+ ...select_box_default.variants?.size?.lg
2533
+ },
2534
+ label: { ...label_default.variants?.size?.lg }
2535
+ },
2536
+ md: {
2537
+ trigger: {
2538
+ ...select_box_default.variants?.size?.md
2539
+ },
2540
+ label: { ...label_default.variants?.size?.md }
2541
+ },
2542
+ sm: {
2543
+ trigger: {
2544
+ ...select_box_default.variants?.size?.sm
2545
+ },
2546
+ label: { ...label_default.variants?.size?.sm }
2547
+ }
2548
+ },
2549
+ invalid: {
2550
+ true: {
2551
+ trigger: {
2552
+ ...select_box_default.variants?.invalid?.true
2553
+ }
2554
+ }
2555
+ }
2556
+ },
2557
+ defaultVariants: {
2558
+ size: "lg",
2559
+ invalid: false
2560
+ }
2561
+ });
2562
+
2563
+ // src/recipes/table.ts
2564
+ var import_dev29 = require("@pandacss/dev");
2565
+ var table_default = (0, import_dev29.defineSlotRecipe)({
2566
+ className: "table",
2567
+ slots: [
2568
+ "root",
2569
+ "head",
2570
+ "body",
2571
+ "foot",
2572
+ "row",
2573
+ "header",
2574
+ "cell",
2575
+ "colgroup",
2576
+ "col",
2577
+ "caption"
2578
+ ],
2579
+ base: {
2580
+ root: {
2581
+ /**
2582
+ * w-full text-std-16N-170
2583
+ */
2584
+ width: "full"
2585
+ },
2586
+ head: {
2587
+ "& tr": {
2588
+ /**
2589
+ * border-black bg-solid-gray-50
2590
+ */
2591
+ borderColor: "black",
2592
+ bg: "solid-gray.50"
2593
+ }
2594
+ },
2595
+ body: {
2596
+ "& tr": {
2597
+ /**
2598
+ * border-solid-gray-420
2599
+ */
2600
+ borderColor: "solid-gray.420"
2601
+ /**
2602
+ * [&:has(input:checked)]:bg-blue-100
2603
+ */
2604
+ /*
2605
+ "&:has(input:checked)": {
2606
+ bg: "keyColor.100",
2607
+ },
2608
+ */
2609
+ }
2610
+ },
2611
+ foot: {},
2612
+ row: {
2613
+ /**
2614
+ * border-b
2615
+ */
2616
+ borderBottomWidth: "1px",
2617
+ "tbody > &:has(input:checked)": { bg: "keyColor.100" }
2618
+ },
2619
+ header: {
2620
+ /**
2621
+ * px-4 text-start align-top
2622
+ */
2623
+ px: 4,
2624
+ verticalAlign: "top",
2625
+ textAlign: "start"
2626
+ },
2627
+ cell: {
2628
+ /**
2629
+ * px-4 align-top
2630
+ */
2631
+ px: 4,
2632
+ verticalAlign: "top"
2633
+ },
2634
+ caption: {
2635
+ mb: 4,
2636
+ textStyle: "oln-17B-100"
2637
+ }
2638
+ },
2639
+ variants: {
2640
+ dense: {
2641
+ false: {
2642
+ root: {
2643
+ textStyle: "std-16N-170"
2644
+ },
2645
+ header: {
2646
+ /**
2647
+ * py-5
2648
+ */
2649
+ py: 5
2650
+ },
2651
+ cell: {
2652
+ /**
2653
+ * py-5
2654
+ */
2655
+ py: 5
2656
+ }
2657
+ },
2658
+ true: {
2659
+ root: {
2660
+ textStyle: "std-16N-120"
2661
+ },
2662
+ header: {
2663
+ /**
2664
+ * py-2.5
2665
+ */
2666
+ py: 2.5
2667
+ },
2668
+ cell: {
2669
+ /**
2670
+ * py-2.5
2671
+ */
2672
+ py: 2.5
2673
+ }
2674
+ }
2675
+ },
2676
+ striped: {
2677
+ true: {
2678
+ body: {
2679
+ "& tr": {
2680
+ _even: {
2681
+ "&:not(:has(input:checked))": { bg: "{colors.keyColor.50}/25" }
2682
+ }
2683
+ }
2684
+ }
2685
+ }
2686
+ },
2687
+ hovered: {
2688
+ true: {
2689
+ body: {
2690
+ "& tr": {
2691
+ _hover: {
2692
+ bg: "keyColor.50"
2693
+ }
2694
+ }
2695
+ }
2696
+ }
2697
+ }
2698
+ },
2699
+ defaultVariants: {
2700
+ dense: false,
2701
+ striped: false,
2702
+ hovered: false
2703
+ }
2704
+ });
2705
+
2706
+ // src/recipes/tabs.ts
2707
+ var import_dev30 = require("@pandacss/dev");
2708
+ var import_tabs = require("@ark-ui/anatomy/tabs");
2709
+ var tabs_default = (0, import_dev30.defineSlotRecipe)({
2710
+ className: "tabs",
2711
+ slots: import_tabs.anatomy.keys(),
2712
+ base: {
2713
+ root: {
2714
+ p: 1.5,
2715
+ mx: -1.5
2716
+ },
2717
+ list: {
2718
+ /**
2719
+ * flex w-full min-w-max items-end whitespace-nowrap
2720
+ * border-b border-solid-gray-420
2721
+ */
2722
+ display: "flex",
2723
+ width: "full",
2724
+ alignItems: "end",
2725
+ whiteSpace: "nowrap",
2726
+ borderBottomWidth: "1px",
2727
+ borderColor: "solid-gray.420",
2728
+ overflowX: "auto"
2729
+ },
2730
+ trigger: {
2731
+ /**
2732
+ * relative z-0 inline-flex gap-2 justify-center items-center
2733
+ * text-oln-14B-100 md:text-oln-16B-100
2734
+ */
2735
+ position: "relative",
2736
+ zIndex: 0,
2737
+ display: "inline-flex",
2738
+ gap: 2,
2739
+ justifyContent: "center",
2740
+ alignItems: "center",
2741
+ textStyle: { base: "oln-14B-100", md: "oln-16B-100" },
2742
+ /**
2743
+ * px-4 py-6 group md:px-8 md:py-6
2744
+ * hover:bg-solid-gray-50 focus-visible:bg-yellow-300
2745
+ * aria-[current=page]:bg-white
2746
+ */
2747
+ px: { base: 4, md: 8 },
2748
+ py: 6,
2749
+ bg: {
2750
+ base: "transparent",
2751
+ _hover: "solid-gray.50",
2752
+ _focusVisible: { base: "yellow.300", _hover: "yellow.300" },
2753
+ _selected: {
2754
+ base: "white",
2755
+ _hover: "white",
2756
+ _focusVisible: "yellow.300"
2757
+ }
2758
+ },
2759
+ /**
2760
+ * focus-visible:z-10 focus-visible:rounded-4
2761
+ * focus-visible:outline focus-visible:outline-4
2762
+ * focus-visible:outline-offset-[calc(2/16*1rem)] focus-visible:outline-black
2763
+ * focus-visible:ring-[calc(2/16*1rem)] focus-visible:ring-yellow-300
2764
+ */
2765
+ _focusVisible: {
2766
+ zIndex: 10,
2767
+ rounded: 4,
2768
+ outlineStyle: "solid",
2769
+ outlineWidth: "4px",
2770
+ outlineColor: "black",
2771
+ outlineOffset: "calc(2 / 16 * 1rem)",
2772
+ focusRing: "calc(2 / 16 * 1rem)"
2773
+ },
2774
+ _selected: {
2775
+ /**
2776
+ * relative text-blue-900
2777
+ * after:absolute after:bottom-0 after:left-0 after:w-full after:border-b-4
2778
+ * after:border-current
2779
+ * aria-[current=page]:cursor-default
2780
+ */
2781
+ color: "keyColor.900",
2782
+ cursor: "default",
2783
+ _after: {
2784
+ content: '""',
2785
+ position: "absolute",
2786
+ bottom: 0,
2787
+ left: 0,
2788
+ width: "full",
2789
+ borderBottomWidth: "4px",
2790
+ borderBlockColor: "currentcolor"
2791
+ }
2792
+ }
2793
+ }
2794
+ }
2795
+ });
2796
+
2797
+ // src/recipes/tree-view.ts
2798
+ var import_dev31 = require("@pandacss/dev");
2799
+ var import_tree_view = require("@ark-ui/anatomy/tree-view");
2800
+ var tree_view_default = (0, import_dev31.defineSlotRecipe)({
2801
+ className: "tree-view",
2802
+ slots: import_tree_view.anatomy.keys(),
2803
+ base: {
2804
+ root: {},
2805
+ label: {
2806
+ py: 3,
2807
+ pl: 3,
2808
+ pr: 6,
2809
+ textStyle: "oln-17B-100",
2810
+ textWrap: "nowrap",
2811
+ display: "block"
2812
+ },
2813
+ tree: {},
2814
+ item: {
2815
+ ...menu_item_default.base
2816
+ },
2817
+ itemIndicator: {
2818
+ transition: "transform",
2819
+ transform: { base: "rotate(0deg)", _open: "rotate(90deg)" }
2820
+ },
2821
+ itemText: {
2822
+ flexGrow: 1
2823
+ },
2824
+ branch: {},
2825
+ branchControl: { ...menu_item_default.base },
2826
+ branchTrigger: {},
2827
+ branchContent: {
2828
+ my: 1,
2829
+ pl: 8
2830
+ },
2831
+ branchIndicator: {
2832
+ position: "absolute",
2833
+ right: 4,
2834
+ transition: "transform",
2835
+ transform: { base: "rotate(0deg)", _open: "rotate(90deg)" }
2836
+ },
2837
+ branchText: {
2838
+ flexGrow: 1
2839
+ }
2840
+ },
2841
+ variants: {
2842
+ variant: {
2843
+ standard: {
2844
+ item: {
2845
+ ...menu_item_default.variants?.variant?.standard
2846
+ },
2847
+ branchControl: {
2848
+ ...menu_item_default.variants?.variant?.standard
2849
+ }
2850
+ },
2851
+ boxed: {
2852
+ item: {
2853
+ ...menu_item_default.variants?.variant?.boxed
2854
+ },
2855
+ branchControl: {
2856
+ ...menu_item_default.variants?.variant?.boxed
2857
+ }
2858
+ }
2859
+ },
2860
+ isCondensed: {
2861
+ true: {
2862
+ label: {
2863
+ py: 1.5,
2864
+ pl: 1.5,
2865
+ pr: 4
2866
+ },
2867
+ item: {
2868
+ ...menu_item_default.variants?.isCondensed?.true
2869
+ },
2870
+ branchControl: {
2871
+ ...menu_item_default.variants?.isCondensed?.true
2872
+ }
2873
+ },
2874
+ false: {
2875
+ item: {
2876
+ ...menu_item_default.variants?.isCondensed?.false
2877
+ },
2878
+ branchControl: {
2879
+ ...menu_item_default.variants?.isCondensed?.false
2880
+ }
2881
+ }
2882
+ }
2883
+ }
2884
+ });
2885
+
2886
+ // src/recipes/unordered-list.ts
2887
+ var import_dev32 = require("@pandacss/dev");
2888
+ var unordered_list_default = (0, import_dev32.defineRecipe)({
2889
+ className: "unordered-list",
2890
+ base: {
2891
+ /**
2892
+ * pl-8 list-[revert]
2893
+ */
2894
+ pl: 8,
2895
+ listStyle: "revert",
2896
+ /**
2897
+ * [&_:where(ol,ul)]:mt-1 [&_:where(ol,ul)]:-mb-1
2898
+ */
2899
+ "&:where(ol,ul)": {
2900
+ mt: 1,
2901
+ mb: -1
2902
+ }
2903
+ }
2904
+ });
2905
+
2906
+ // src/recipes/utility-link.ts
2907
+ var import_dev33 = require("@pandacss/dev");
2908
+ var utility_link_default = (0, import_dev33.defineRecipe)({
2909
+ className: "utility-link",
2910
+ 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",
2911
+ base: {
2912
+ /**
2913
+ * !text-solid-gray-800 text-dns-16N-130
2914
+ * focus-visible:bg-yellow-300 focus-visible:text-blue-1000
2915
+ */
2916
+ textStyle: "dns-16N-130",
2917
+ color: {
2918
+ base: "solid-gray.800",
2919
+ _focusVisible: "keyColor.1000"
2920
+ },
2921
+ bg: { base: "transparent", _focusVisible: "yellow.300" },
2922
+ /**
2923
+ * underline underline-offset-[calc(3/16*1rem)]
2924
+ * hover:decoration-[calc(3/16*1rem)]
2925
+ */
2926
+ textDecoration: "underline",
2927
+ textDecorationThickness: {
2928
+ base: "1px",
2929
+ _hover: "calc(3 / 16 * 1rem)"
2930
+ },
2931
+ textUnderlineOffset: "calc(3 / 16 * 1rem)",
2932
+ /**
2933
+ * focus-visible:rounded-4
2934
+ * focus-visible:outline focus-visible:outline-4
2935
+ * focus-visible:outline-black focus-visible:outline-offset-[calc(2/16*1rem)]
2936
+ * focus-visible:ring-[calc(2/16*1rem)] focus-visible:ring-yellow-300
2937
+ */
2938
+ _focusVisible: {
2939
+ rounded: 4,
2940
+ outlineStyle: "solid",
2941
+ outlineWidth: "4px",
2942
+ outlineColor: "black",
2943
+ outlineOffset: "calc(2 / 16 * 1rem)",
2944
+ focusRing: "calc(2 / 16 * 1rem)"
2945
+ },
2946
+ /**
2947
+ * with icon
2948
+ */
2949
+ display: "inline-flex",
2950
+ alignItems: "center",
2951
+ gap: 1,
2952
+ "& svg": {
2953
+ width: "1em",
2954
+ height: "1em"
2955
+ }
2956
+ }
2957
+ });
2958
+
2959
+ // src/recipes/index.ts
2960
+ var recipes = {
2961
+ accordion: accordion_default,
2962
+ breadcrumb: breadcrumb_default,
2963
+ button: button_default,
2964
+ checkbox: checkbox_default,
2965
+ drawer: drawer_default,
2966
+ disclosure: disclosure_default,
2967
+ digitalGoDivider: divider_default,
2968
+ errorText: error_text_default,
2969
+ hamburgerMenuButton: hamburger_menu_button_default,
2970
+ input: input_default,
2971
+ inputText: input_text_default,
2972
+ label: label_default,
2973
+ legend: legend_default,
2974
+ link: link_default,
2975
+ list: list_default,
2976
+ menu: menu_default,
2977
+ menuItem: menu_item_default,
2978
+ menuList: menu_list_default,
2979
+ notificationBanner: notification_banner_default,
2980
+ orderedList: ordered_list_default,
2981
+ radio: radio_default,
2982
+ radioGroup: radio_group_default,
2983
+ requirementBadge: requirement_badge_default,
2984
+ resourceList: resource_list_default,
2985
+ select: select_default,
2986
+ selectBox: select_box_default,
2987
+ supportText: support_text_default,
2988
+ table: table_default,
2989
+ tabs: tabs_default,
2990
+ textarea: textarea_default,
2991
+ treeView: tree_view_default,
2992
+ unorderedList: unordered_list_default,
2993
+ utilityLink: utility_link_default
2994
+ };
2995
+ var recipes_default = recipes;
2996
+
2997
+ // src/index.ts
2998
+ var base = {
2999
+ name: "digital-go-pandacss-preset",
3000
+ presets: [import_digital_go_pandacss_plugin.default],
3001
+ theme: {
3002
+ recipes: recipes_default
3003
+ }
3004
+ };
3005
+ var index_default = (0, import_dev34.definePreset)(base);
3006
+ var createPreset = (keyColor) => (0, import_dev34.definePreset)({
3007
+ ...base,
3008
+ theme: {
3009
+ ...base.theme,
3010
+ extend: {
3011
+ semanticTokens: {
3012
+ colors: {
3013
+ keyColor: (0, import_digital_go_pandacss_utils.createKeyColor)(keyColor ?? "blue")
3014
+ }
3015
+ }
3016
+ }
3017
+ }
3018
+ });
3019
+ // Annotate the CommonJS export names for ESM import in node:
3020
+ 0 && (module.exports = {
3021
+ createPreset
3022
+ });