@okshaun/components 0.5.6 → 0.5.8

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/preset.js CHANGED
@@ -1,335 +1,117 @@
1
- import { defineSemanticTokens, defineStyles, defineTextStyles, defineGlobalStyles, defineRecipe, defineSlotRecipe, defineTokens, definePreset as definePreset$1 } from "@pandacss/dev";
2
- import { b as breakpoints$1, a as colors$1, c as containerSizes, n as numericSizes, s as sizes, u as utilitySizes } from "./size.primitives-j2MFgtrT.js";
3
- const fonts = {
4
- heading: { value: "'IBM Plex Sans', Geneva, Tahoma, Verdana, sans-serif" },
5
- sans: { value: "'IBM Plex Sans', Geneva, Tahoma, Verdana, sans-serif" },
6
- body: {
7
- value: "'Piazzolla Variable', 'Piazzolla', Georgia, 'Times New Roman', Times, serif"
8
- },
9
- serif: {
10
- value: "'Piazzolla Variable', 'Piazzolla', Georgia, 'Times New Roman', Times, serif"
11
- },
12
- mono: {
13
- value: "'IBM Plex Mono', Andale Mono, monaco, Consolas, Lucida Console, monospace"
14
- }
15
- };
16
- const fontSizes = {
17
- "12": { value: "0.75rem" },
18
- "14": { value: "0.875rem" },
19
- "16": { value: "1rem" },
20
- "20": { value: "1.25rem" },
21
- "24": { value: "1.5rem" },
22
- "32": { value: "2rem" },
23
- "40": { value: "2.5rem" },
24
- "48": { value: "3rem" },
25
- "56": { value: "3.5rem" },
26
- "64": { value: "4rem" },
27
- "72": { value: "4.5rem" },
28
- "80": { value: "5rem" },
29
- "88": { value: "5.5rem" },
30
- "96": { value: "6rem" }
31
- };
32
- const fontWeights = {
33
- light: { value: "300" },
34
- normal: { value: "400" },
35
- medium: { value: "500" },
36
- bold: { value: "700" },
37
- black: { value: "900" }
38
- };
39
- const lineHeights = {
40
- none: {
41
- value: "1"
42
- },
43
- tighter: {
44
- value: "calc(1em + 0.125rem)"
45
- },
46
- tight: {
47
- value: "calc(1em + 0.25rem)"
48
- },
49
- default: {
50
- value: "calc(1em + 0.5rem)"
51
- },
52
- loose: {
53
- value: "calc(1em + 0.75rem)"
54
- },
55
- looser: {
56
- value: "calc(1em + 0.875rem)"
57
- }
58
- };
59
- const letterSpacings = {
60
- tighter: {
61
- value: "-0.05em"
62
- },
63
- tight: {
64
- value: "-0.025em"
65
- },
66
- normal: {
67
- value: "0em"
68
- },
69
- wide: {
70
- value: "0.025em"
71
- },
72
- wider: {
73
- value: "0.05em"
74
- },
75
- widest: {
76
- value: "0.1em"
77
- }
78
- };
79
- const animations = {
80
- spin: {
81
- value: "spin 1s linear infinite"
82
- },
83
- ping: {
84
- value: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"
85
- },
86
- pulse: {
87
- value: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"
88
- },
89
- bounce: {
90
- value: "bounce 1s infinite"
91
- }
92
- };
93
- const keyframes$1 = {
94
- spin: {
95
- to: {
96
- transform: "rotate(360deg)"
97
- }
98
- },
99
- ping: {
100
- "75%, 100%": {
101
- transform: "scale(2)",
102
- opacity: "0"
103
- }
104
- },
105
- pulse: {
106
- "50%": {
107
- opacity: ".5"
108
- }
109
- },
110
- bounce: {
111
- "0%, 100%": {
112
- transform: "translateY(-25%)",
113
- animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
114
- },
115
- "50%": {
116
- transform: "none",
117
- animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
118
- }
119
- },
120
- badgePop: {
121
- "0%": {
122
- transform: "translate(50%, -50%) scale(1)"
123
- },
124
- "50%": {
125
- transform: "translate(50%, -50%) scale(1.2)"
126
- },
127
- "100%": {
128
- transform: "translate(50%, -50%) scale(1)"
129
- }
130
- },
131
- badgePopStandalone: {
132
- "0%": {
133
- transform: "scale(1)"
134
- },
135
- "50%": {
136
- transform: "scale(1.2)"
137
- },
138
- "100%": {
139
- transform: "scale(1)"
140
- }
141
- }
142
- };
143
- const easings = {
144
- default: {
145
- value: "cubic-bezier(0.4, 0, 0.2, 1)"
146
- },
147
- linear: {
148
- value: "linear"
149
- },
150
- in: {
151
- value: "cubic-bezier(0.4, 0, 1, 1)"
152
- },
153
- out: {
154
- value: "cubic-bezier(0, 0, 0.2, 1)"
155
- },
156
- "in-out": {
157
- value: "cubic-bezier(0.4, 0, 0.2, 1)"
158
- }
159
- };
160
- const durations = {
161
- fastest: {
162
- value: "50ms"
163
- },
164
- faster: {
165
- value: "100ms"
166
- },
167
- fast: {
168
- value: "150ms"
169
- },
170
- normal: {
171
- value: "200ms"
172
- },
173
- slow: {
174
- value: "300ms"
175
- },
176
- slower: {
177
- value: "400ms"
178
- },
179
- slowest: {
180
- value: "500ms"
181
- }
182
- };
183
- const transitions$1 = {
184
- none: {
185
- value: "none"
186
- },
187
- all: {
188
- value: "all"
189
- },
190
- common: {
191
- value: "background-color, border-color, color, fill, stroke, opacity, box-shadow, transform"
192
- },
193
- colors: {
194
- value: "background-color, border-color, color, fill, stroke"
195
- },
196
- opacity: {
197
- value: "opacity"
198
- },
199
- shadow: {
200
- value: "box-shadow"
201
- },
202
- transform: {
203
- value: "transform"
204
- },
205
- position: {
206
- value: "top, right, bottom, left"
207
- },
208
- size: {
209
- value: "width, height"
210
- },
211
- spacing: {
212
- value: "margin, padding"
213
- },
214
- outline: {
215
- value: "outline, outline-color, outline-offset"
216
- },
217
- border: {
218
- value: "border, border-color"
219
- }
220
- };
221
- const radii = {
222
- "0": { value: "{sizes.0}" },
223
- "1": { value: "{sizes.1}" },
224
- "2": { value: "{sizes.2}" },
225
- "4": { value: "{sizes.4}" },
226
- "8": { value: "{sizes.8}" },
227
- "16": { value: "{sizes.16}" },
228
- "100": { value: "100%" },
229
- "999": { value: "999px" }
230
- };
231
- const borderWidths = {
232
- "0": { value: "{sizes.0}" },
233
- "1": { value: "{sizes.1}" },
234
- "2": { value: "{sizes.2}" },
235
- "4": { value: "{sizes.4}" },
236
- "8": { value: "{sizes.8}" },
237
- "16": { value: "{sizes.16}" }
238
- };
239
- const shadows = {
240
- low: {
241
- value: "0px 1px 1px {colors.utility.shadowColor}, 0px 2px 2px {colors.utility.shadowColor}"
242
- },
243
- medium: {
244
- value: "0px 2px 2px {colors.utility.shadowColor}, 0px 4px 4px {colors.utility.shadowColor}, 0px 8px 8px {colors.utility.shadowColor}"
245
- },
246
- high: {
247
- value: "0px 2px 2px {colors.utility.shadowColor}, 0px 4px 4px {colors.utility.shadowColor}, 0px 8px 8px {colors.utility.shadowColor}, 0px 16px 16px {colors.utility.shadowColor}"
248
- },
249
- inset: {
250
- value: "inset 0px 2px 1px {colors.utility.shadowColor}, inset 0px 3px 2px {colors.utility.shadowColor}"
251
- },
252
- none: {
253
- value: "0 0 0 {colors.transparent}"
254
- }
255
- };
256
- const aspectRatios = {
257
- square: {
258
- value: "1 / 1"
259
- },
260
- landscape: {
261
- value: "4 / 3"
262
- },
263
- portrait: {
264
- value: "3 / 4"
265
- },
266
- wide: {
267
- value: "16 / 9"
268
- },
269
- ultrawide: {
270
- value: "18 / 5"
271
- },
272
- golden: {
273
- value: "1.618 / 1"
274
- }
275
- };
276
- const blurs = {
277
- sm: {
278
- value: "4px"
279
- },
280
- base: {
281
- value: "8px"
282
- },
283
- md: {
284
- value: "12px"
285
- },
286
- lg: {
287
- value: "16px"
288
- },
289
- xl: {
290
- value: "24px"
291
- },
292
- "2xl": {
293
- value: "40px"
294
- },
295
- "3xl": {
296
- value: "64px"
297
- }
298
- };
299
- const borders = {
300
- none: {
301
- value: "none"
302
- },
303
- subtle: {
304
- value: "1px solid {colors.border}"
305
- },
306
- default: {
307
- value: "1px solid {colors.border}"
308
- },
309
- strong: {
310
- value: "2px solid {colors.border.bold}"
311
- },
312
- input: {
313
- value: "1px solid {colors.border.input}"
314
- },
315
- focused: {
316
- value: "2px solid {colors.border.focused}"
317
- },
318
- selected: {
319
- value: "2px solid {colors.border.selected}"
320
- },
321
- success: {
322
- value: "1px solid {colors.border.success}"
323
- },
324
- warning: {
325
- value: "1px solid {colors.border.warning}"
326
- },
327
- danger: {
328
- value: "1px solid {colors.border.danger}"
329
- },
330
- info: {
331
- value: "1px solid {colors.border.info}"
332
- }
1
+ import { defineSemanticTokens, defineRecipe, defineSlotRecipe, definePreset as definePreset$1 } from "@pandacss/dev";
2
+ import { a as animations, d as aspectRatios, e as blurs, f as borderWidths, g as borders, h as colors$1, i as durations, j as easings, k as fontSizes, l as fontWeights, m as fonts, n as letterSpacings, o as lineHeights, p as numericSizes, r as radii, s as shadows$1, q as sizes, t as spacing$1, u as utilitySizes, v as globalCss$1, w as transitionProperty, x as filtersProperty, y as textStyles, z as layerStyles, A as keyframes, c as containerSizes, b as breakpoints } from "./transitions-DUgH88VW.js";
3
+ const conditions$1 = {
4
+ hover: "&:is(:hover, [data-hover=true])",
5
+ focus: "&:is(:focus, [data-focus=true])",
6
+ focusWithin: "&:focus-within",
7
+ focusVisible: "&:is(:focus-visible, [data-focus-visible]=true)",
8
+ disabled: "&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",
9
+ deleted: "&:is(:deleted, [deleted], [data-deleted=true])",
10
+ active: "&:is(:active, [data-active=true])",
11
+ visited: "&:visited",
12
+ target: "&:target",
13
+ readOnly: "&:is(:read-only, [data-read-only], [aria-readonly=true])",
14
+ readWrite: "&:read-write",
15
+ empty: "&:is(:empty, [data-empty])",
16
+ checked: '&:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"])',
17
+ enabled: "&:enabled",
18
+ expanded: '&:is([aria-expanded=true], [data-expanded], [data-state="expanded"])',
19
+ collapsed: '&:is([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])',
20
+ highlighted: "&[data-highlighted]",
21
+ complete: "&[data-complete]",
22
+ incomplete: "&[data-incomplete]",
23
+ dragging: "&[data-dragging]",
24
+ before: "&::before",
25
+ after: "&::after",
26
+ firstLetter: "&::first-letter",
27
+ firstLine: "&::first-line",
28
+ marker: "&::marker, &::-webkit-details-marker",
29
+ selection: "&::selection",
30
+ file: "&::file-selector-button",
31
+ backdrop: "&::backdrop",
32
+ first: "&:first-child",
33
+ last: "&:last-child",
34
+ only: "&:only-child",
35
+ even: "&:nth-child(even)",
36
+ odd: "&:nth-child(odd)",
37
+ firstOfType: "&:first-of-type",
38
+ lastOfType: "&:last-of-type",
39
+ onlyOfType: "&:only-of-type",
40
+ peerFocus: ".peer:is(:focus, [data-focus]) ~ &",
41
+ peerHover: ".peer:is(:hover, [data-hover]) ~ &",
42
+ peerActive: ".peer:is(:active, [data-active]) ~ &",
43
+ peerFocusWithin: ".peer:focus-within ~ &",
44
+ peerFocusVisible: ".peer:is(:focus-visible, [data-focus-visible]) ~ &",
45
+ peerDisabled: ".peer:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) ~ &",
46
+ peerChecked: '.peer:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) ~ &',
47
+ peerInvalid: ".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",
48
+ peerExpanded: '.peer:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) ~ &',
49
+ peerPlaceholderShown: ".peer:placeholder-shown ~ &",
50
+ groupFocus: ".group:is(:focus, [data-focus]) &",
51
+ groupHover: ".group:is(:hover, [data-hover]) &",
52
+ groupActive: ".group:is(:active, [data-active]) &",
53
+ groupFocusWithin: ".group:focus-within &",
54
+ groupFocusVisible: ".group:is(:focus-visible, [data-focus-visible]) &",
55
+ groupDisabled: ".group:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) &",
56
+ groupChecked: '.group:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) &',
57
+ groupExpanded: '.group:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) &',
58
+ groupInvalid: ".group:is(:invalid, [data-invalid], [aria-invalid=true]) &",
59
+ indeterminate: '&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state="indeterminate"])',
60
+ required: "&:is(:required, [data-required], [aria-required=true])",
61
+ valid: "&:is(:valid, [data-valid])",
62
+ invalid: "&:is(:invalid, [data-invalid], [aria-invalid=true])",
63
+ error: "&:is([data-error], [data-error=true])",
64
+ autofill: "&:autofill",
65
+ inRange: "&:is(:in-range, [data-in-range])",
66
+ outOfRange: "&:is(:out-of-range, [data-outside-range])",
67
+ placeholder: "&::placeholder, &[data-placeholder]",
68
+ placeholderShown: "&:is(:placeholder-shown, [data-placeholder-shown])",
69
+ pressed: "&:is([aria-pressed=true], [data-pressed])",
70
+ selected: "&:is([aria-selected=true], [data-selected=true])",
71
+ grabbed: "&:is([aria-grabbed=true], [data-grabbed])",
72
+ underValue: "&[data-state=under-value]",
73
+ overValue: "&[data-state=over-value]",
74
+ atValue: "&[data-state=at-value]",
75
+ default: "&:default",
76
+ optional: "&:optional",
77
+ open: '&:is([open], [data-open], [data-state="open"], :popover-open)',
78
+ closed: '&:is([closed], [data-closed], [data-state="closed"])',
79
+ fullscreen: "&:is(:fullscreen, [data-fullscreen])",
80
+ loading: "&:is([data-loading], [aria-busy=true])",
81
+ hidden: "&:is([hidden], [data-hidden])",
82
+ current: "&:is([aria-current=true], [data-current])",
83
+ currentPage: "&[aria-current=page]",
84
+ currentStep: "&[aria-current=step]",
85
+ today: "&:is([data-today])",
86
+ unavailable: "&[data-unavailable]",
87
+ rangeStart: "&[data-range-start]",
88
+ rangeEnd: "&[data-range-end]",
89
+ now: "&[data-now]",
90
+ topmost: "&[data-topmost]",
91
+ motionReduce: "@media (prefers-reduced-motion: reduce)",
92
+ motionSafe: "@media (prefers-reduced-motion: no-preference)",
93
+ paused: "&:is([data-paused=true])",
94
+ print: "@media print",
95
+ landscape: "@media (orientation: landscape)",
96
+ portrait: "@media (orientation: portrait)",
97
+ dark: ".dark &, &:is([data-color-mode=dark] *), [data-color-mode=dark] &",
98
+ light: ".light &, &:is([data-color-mode=light] *), [data-color-mode=light] &",
99
+ osDark: "@media (prefers-color-scheme: dark)",
100
+ osLight: "@media (prefers-color-scheme: light)",
101
+ highContrast: "@media (forced-colors: active)",
102
+ lessContrast: "@media (prefers-contrast: less)",
103
+ moreContrast: "@media (prefers-contrast: more)",
104
+ ltr: ":where([dir=ltr], :dir(ltr)) &",
105
+ rtl: ":where([dir=rtl], :dir(rtl)) &",
106
+ scrollbar: "&::-webkit-scrollbar",
107
+ scrollbarThumb: "&::-webkit-scrollbar-thumb",
108
+ scrollbarTrack: "&::-webkit-scrollbar-track",
109
+ horizontal: "&[data-orientation=horizontal]",
110
+ vertical: "&[data-orientation=vertical]",
111
+ icon: "& :where(svg)",
112
+ starting: "@starting-style",
113
+ noscript: "@media (scripting: none)",
114
+ invertedColors: "@media (inverted-colors: inverted)"
333
115
  };
334
116
  const tokens = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
335
117
  __proto__: null,
@@ -338,25 +120,22 @@ const tokens = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
338
120
  blurs,
339
121
  borderWidths,
340
122
  borders,
341
- breakpoints: breakpoints$1,
342
123
  colors: colors$1,
343
- containerSizes,
344
124
  durations,
345
125
  easings,
346
126
  fontSizes,
347
127
  fontWeights,
348
128
  fonts,
349
- keyframes: keyframes$1,
350
129
  letterSpacings,
351
130
  lineHeights,
352
131
  numericSizes,
353
132
  radii,
354
- shadows,
133
+ shadows: shadows$1,
355
134
  sizes,
356
- transitions: transitions$1,
135
+ spacing: spacing$1,
357
136
  utilitySizes
358
137
  }, Symbol.toStringTag, { value: "Module" }));
359
- var conditions$1 = {
138
+ var conditions = {
360
139
  hover: "&:is(:hover, [data-hover])",
361
140
  focus: "&:is(:focus, [data-focus])",
362
141
  focusWithin: "&:focus-within",
@@ -466,7 +245,7 @@ var conditions$1 = {
466
245
  invertedColors: "@media (inverted-colors: inverted)"
467
246
  };
468
247
  var EMPTY = "/*-*/ /*-*/";
469
- var globalCss$1 = {
248
+ var globalCss = {
470
249
  "*, ::before, ::after, ::backdrop": {
471
250
  "--blur": EMPTY,
472
251
  "--brightness": EMPTY,
@@ -3592,11 +3371,11 @@ var utilities = Object.assign(
3592
3371
  var definePreset = (preset2) => preset2;
3593
3372
  var preset = definePreset({
3594
3373
  name: "@pandacss/preset-base",
3595
- conditions: conditions$1,
3374
+ conditions,
3596
3375
  utilities,
3597
3376
  patterns,
3598
3377
  // globalVars,
3599
- globalCss: globalCss$1
3378
+ globalCss
3600
3379
  });
3601
3380
  var index_default = preset;
3602
3381
  const BRAND_PALETTE = "gray";
@@ -4041,8 +3820,8 @@ const colors = defineSemanticTokens.colors({
4041
3820
  }
4042
3821
  },
4043
3822
  blanket: {
4044
- DEFAULT: { value: { base: "#ef5c4814", _dark: "#e3493514" } },
4045
- danger: { value: { base: "#17171775", _dark: "#10121499" } },
3823
+ DEFAULT: { value: { base: "#17171775", _dark: "#10121499" } },
3824
+ danger: { value: { base: "#ef5c4814", _dark: "#e3493514" } },
4046
3825
  selected: { value: { base: "#388bff14", _dark: "#1d7afc14" } }
4047
3826
  },
4048
3827
  border: {
@@ -4361,334 +4140,34 @@ const colors = defineSemanticTokens.colors({
4361
4140
  }
4362
4141
  }
4363
4142
  });
4364
- const semantics = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4365
- __proto__: null,
4366
- colors
4367
- }, Symbol.toStringTag, { value: "Module" }));
4368
- const baseHeadingStyles = defineStyles({
4369
- value: {
4370
- fontFamily: "sans",
4371
- fontWeight: "bold",
4372
- color: "text",
4373
- lineHeight: "default"
4374
- }
4375
- });
4376
- const baseBodyTextStyles = defineStyles({
4377
- value: {
4378
- fontFamily: "serif",
4379
- fontWeight: "normal",
4380
- color: "text.subtlest",
4381
- lineHeight: "default"
4382
- }
4383
- });
4384
- const baseMonoStyles = defineStyles({
4385
- value: {
4386
- fontFamily: "mono",
4387
- fontWeight: "normal",
4388
- color: "text.subtlest",
4389
- lineHeight: "default"
4390
- }
4391
- });
4392
- const textStyles = defineTextStyles({
4393
- display: {
4394
- lg: {
4395
- value: {
4396
- ...baseHeadingStyles,
4397
- fontSize: "72"
4398
- }
4399
- },
4400
- md: {
4401
- value: {
4402
- ...baseHeadingStyles,
4403
- fontSize: "64"
4404
- }
4405
- },
4406
- sm: {
4407
- value: {
4408
- ...baseHeadingStyles,
4409
- fontSize: "56"
4410
- }
4411
- },
4412
- xs: {
4413
- value: {
4414
- ...baseHeadingStyles,
4415
- fontSize: "48"
4416
- }
4417
- }
4418
- },
4419
- heading: {
4420
- lg: {
4421
- value: {
4422
- ...baseHeadingStyles,
4423
- fontSize: "40"
4424
- }
4425
- },
4426
- md: {
4427
- value: {
4428
- ...baseHeadingStyles,
4429
- fontSize: "32"
4430
- }
4431
- },
4432
- sm: {
4433
- value: {
4434
- ...baseHeadingStyles,
4435
- fontSize: "24"
4436
- }
4437
- },
4438
- xs: {
4439
- value: {
4440
- ...baseHeadingStyles,
4441
- fontSize: "20"
4442
- }
4443
- }
4444
- },
4445
- body: {
4446
- lg: {
4447
- value: {
4448
- ...baseBodyTextStyles,
4449
- fontSize: "20"
4450
- }
4451
- },
4452
- md: {
4453
- value: {
4454
- ...baseBodyTextStyles,
4455
- fontSize: "16"
4456
- }
4457
- },
4458
- sm: {
4459
- value: {
4460
- ...baseBodyTextStyles,
4461
- fontSize: "14"
4462
- }
4463
- },
4464
- xs: {
4465
- value: {
4466
- ...baseBodyTextStyles,
4467
- fontSize: "12"
4468
- }
4469
- }
4470
- },
4471
- mono: {
4472
- lg: {
4473
- value: {
4474
- ...baseMonoStyles,
4475
- fontSize: "20"
4476
- }
4477
- },
4478
- md: {
4479
- value: {
4480
- ...baseMonoStyles,
4481
- fontSize: "16"
4482
- }
4483
- },
4484
- sm: {
4485
- value: {
4486
- ...baseMonoStyles,
4487
- fontSize: "14"
4488
- }
4489
- },
4490
- xs: {
4491
- value: {
4492
- ...baseMonoStyles,
4493
- fontSize: "12"
4494
- }
4495
- }
4496
- }
4497
- });
4498
- const conditions = {
4499
- hover: "&:is(:hover, [data-hover=true])",
4500
- focus: "&:is(:focus, [data-focus=true])",
4501
- focusWithin: "&:focus-within",
4502
- focusVisible: "&:is(:focus-visible, [data-focus-visible=true])",
4503
- disabled: "&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",
4504
- deleted: "&:is(:deleted, [deleted], [data-deleted=true])",
4505
- active: "&:is(:active, [data-active=true])",
4506
- visited: "&:visited",
4507
- target: "&:target",
4508
- readOnly: "&:is(:read-only, [data-read-only], [aria-readonly=true])",
4509
- readWrite: "&:read-write",
4510
- empty: "&:is(:empty, [data-empty])",
4511
- checked: '&:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"])',
4512
- enabled: "&:enabled",
4513
- expanded: '&:is([aria-expanded=true], [data-expanded], [data-state="expanded"])',
4514
- collapsed: '&:is([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])',
4515
- highlighted: "&[data-highlighted]",
4516
- complete: "&[data-complete]",
4517
- incomplete: "&[data-incomplete]",
4518
- dragging: "&[data-dragging]",
4519
- before: "&::before",
4520
- after: "&::after",
4521
- firstLetter: "&::first-letter",
4522
- firstLine: "&::first-line",
4523
- marker: "&::marker, &::-webkit-details-marker",
4524
- selection: "&::selection",
4525
- file: "&::file-selector-button",
4526
- backdrop: "&::backdrop",
4527
- first: "&:first-child",
4528
- last: "&:last-child",
4529
- only: "&:only-child",
4530
- even: "&:nth-child(even)",
4531
- odd: "&:nth-child(odd)",
4532
- firstOfType: "&:first-of-type",
4533
- lastOfType: "&:last-of-type",
4534
- onlyOfType: "&:only-of-type",
4535
- peerFocus: ".peer:is(:focus, [data-focus]) ~ &",
4536
- peerHover: ".peer:is(:hover, [data-hover]) ~ &",
4537
- peerActive: ".peer:is(:active, [data-active=true]) ~ &",
4538
- peerFocusWithin: ".peer:focus-within ~ &",
4539
- peerFocusVisible: ".peer:is(:focus-visible, [data-focus-visible]) ~ &",
4540
- peerDisabled: ".peer:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) ~ &",
4541
- peerChecked: '.peer:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) ~ &',
4542
- peerInvalid: ".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",
4543
- peerExpanded: '.peer:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) ~ &',
4544
- peerPlaceholderShown: ".peer:placeholder-shown ~ &",
4545
- groupFocus: ".group:is(:focus, [data-focus]) &",
4546
- groupHover: ".group:is(:hover, [data-hover]) &",
4547
- groupActive: ".group:is(:active, [data-active=true]) &",
4548
- groupFocusWithin: ".group:focus-within &",
4549
- groupFocusVisible: ".group:is(:focus-visible, [data-focus-visible]) &",
4550
- groupDisabled: ".group:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) &",
4551
- groupChecked: '.group:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) &',
4552
- groupExpanded: '.group:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) &',
4553
- groupInvalid: ".group:is(:invalid, [data-invalid], [aria-invalid=true]) &",
4554
- indeterminate: '&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state="indeterminate"])',
4555
- required: "&:is(:required, [data-required], [aria-required=true])",
4556
- valid: "&:is(:valid, [data-valid])",
4557
- invalid: "&:is(:invalid, [data-invalid], [aria-invalid=true])",
4558
- error: "&:is([data-error], [data-error=true])",
4559
- autofill: "&:autofill",
4560
- inRange: "&:is(:in-range, [data-in-range])",
4561
- outOfRange: "&:is(:out-of-range, [data-outside-range])",
4562
- placeholder: "&::placeholder, &[data-placeholder]",
4563
- placeholderShown: "&:is(:placeholder-shown, [data-placeholder-shown])",
4564
- pressed: "&:is([aria-pressed=true], [data-pressed])",
4565
- selected: "&:is([aria-selected=true], [data-selected=true])",
4566
- grabbed: "&:is([aria-grabbed=true], [data-grabbed])",
4567
- underValue: "&[data-state=under-value]",
4568
- overValue: "&[data-state=over-value]",
4569
- atValue: "&[data-state=at-value]",
4570
- default: "&:default",
4571
- optional: "&:optional",
4572
- open: '&:is([open], [data-open], [data-state="open"], :popover-open)',
4573
- closed: '&:is([closed], [data-closed], [data-state="closed"])',
4574
- fullscreen: "&:is(:fullscreen, [data-fullscreen])",
4575
- loading: "&:is([data-loading=true], [aria-busy=true])",
4576
- hidden: "&:is([hidden], [data-hidden])",
4577
- current: "&:is([aria-current=true], [data-current])",
4578
- currentPage: "&[aria-current=page]",
4579
- currentStep: "&[aria-current=step]",
4580
- today: "&:is([data-today])",
4581
- unavailable: "&[data-unavailable]",
4582
- rangeStart: "&[data-range-start]",
4583
- rangeEnd: "&[data-range-end]",
4584
- now: "&[data-now]",
4585
- topmost: "&[data-topmost]",
4586
- motionReduce: "@media (prefers-reduced-motion: reduce)",
4587
- motionSafe: "@media (prefers-reduced-motion: no-preference)",
4588
- paused: "&:is([data-paused=true])",
4589
- print: "@media print",
4590
- landscape: "@media (orientation: landscape)",
4591
- portrait: "@media (orientation: portrait)",
4592
- dark: ".dark &, &:is([data-color-mode=dark] *), [data-color-mode=dark] &",
4593
- light: ".light &, &:is([data-color-mode=light] *), [data-color-mode=light] &",
4594
- osDark: "@media (prefers-color-scheme: dark)",
4595
- osLight: "@media (prefers-color-scheme: light)",
4596
- highContrast: "@media (forced-colors: active)",
4597
- lessContrast: "@media (prefers-contrast: less)",
4598
- moreContrast: "@media (prefers-contrast: more)",
4599
- ltr: ":where([dir=ltr], :dir(ltr)) &",
4600
- rtl: ":where([dir=rtl], :dir(rtl)) &",
4601
- scrollbar: "&::-webkit-scrollbar",
4602
- scrollbarThumb: "&::-webkit-scrollbar-thumb",
4603
- scrollbarTrack: "&::-webkit-scrollbar-track",
4604
- horizontal: "&[data-orientation=horizontal]",
4605
- vertical: "&[data-orientation=vertical]",
4606
- icon: "& :where(svg)",
4607
- starting: "@starting-style",
4608
- noscript: "@media (scripting: none)",
4609
- invertedColors: "@media (inverted-colors: inverted)"
4610
- };
4611
- const globalCss = defineGlobalStyles({
4612
- "*, *::before, *::after": {
4613
- boxSizing: "border-box",
4614
- margin: 0,
4615
- padding: 0,
4616
- _focusVisible: {
4617
- borderColor: "border.focused"
4618
- },
4619
- _disabled: {
4620
- opacity: 0.4,
4621
- cursor: "not-allowed",
4622
- pointerEvents: "none"
4623
- }
4624
- },
4625
- html: {
4626
- fontSize: "16",
4627
- lineHeight: "calc(1em + 0.5rem)",
4628
- "-webkit-text-size-adjust": "100%",
4629
- tabSize: "4"
4630
- },
4631
- body: {
4632
- fontFamily: "body",
4633
- bg: "surface",
4634
- color: "text.subtlest",
4635
- fontWeight: "normal"
4636
- },
4637
- "h1, h2, h3, h4, h5, h6": {
4638
- color: "text",
4639
- fontWeight: "bold",
4640
- lineHeight: "calc(1em + 0.5rem)"
4641
- },
4642
- p: {
4643
- marginBottom: "0.5rem"
4644
- },
4645
- "b, strong": {
4646
- fontWeight: "bolder"
4647
- },
4648
- "i, em": {
4649
- fontStyle: "italic"
4650
- },
4651
- u: {
4652
- textDecoration: "underline"
4653
- },
4654
- "code, kbd, samp, pre": {
4655
- fontFamily: "mono",
4656
- fontSize: "1em"
4657
- },
4658
- table: {
4659
- borderColor: "border.subtle"
4660
- },
4661
- "button, input, optgroup, select, textarea": {
4662
- fontFamily: "inherit",
4663
- fontSize: "100%",
4664
- lineHeight: "calc(1em + 0.5rem)",
4665
- margin: "0"
4666
- },
4667
- 'button, [type="button"], [type="reset"], [type="submit"]': {
4668
- "-webkit-appearance": "button"
4669
- },
4670
- legend: {
4671
- padding: "0"
4672
- },
4673
- progress: {
4674
- verticalAlign: "baseline"
4675
- },
4676
- "::-webkit-inner-spin-button, ::-webkit-outer-spin-button": {
4677
- height: "auto"
4678
- },
4679
- '[type="search"]': {
4680
- "-webkit-appearance": "textfield",
4681
- outlineOffset: "-2px"
4682
- },
4683
- "::-webkit-search-decoration": {
4684
- "-webkit-appearance": "none"
4685
- },
4686
- "::-webkit-file-upload-button": {
4687
- "-webkit-appearance": "button",
4688
- font: "inherit"
4689
- },
4690
- summary: {
4691
- display: "list-item"
4143
+ const shadows = defineSemanticTokens.shadows({
4144
+ zero: {
4145
+ value: { base: "{shadows.zeroShadow}", _dark: "{shadows.zeroShadow}" }
4146
+ },
4147
+ raised: {
4148
+ value: { base: "{shadows.raisedLight}", _dark: "{shadows.raisedDark}" }
4149
+ },
4150
+ elevated: {
4151
+ value: { base: "{shadows.elevatedLight}", _dark: "{shadows.elevatedDark}" }
4152
+ },
4153
+ overlay: {
4154
+ value: { base: "{shadows.overlayLight}", _dark: "{shadows.overlayDark}" }
4155
+ },
4156
+ overflow: {
4157
+ value: { base: "{shadows.overflowLight}", _dark: "{shadows.overflowDark}" }
4158
+ },
4159
+ // TODO: delete below once migration is complete
4160
+ low: {
4161
+ value: { base: "{shadows.lowLight}", _dark: "{shadows.lowDark}" }
4162
+ },
4163
+ medium: {
4164
+ value: { base: "{shadows.mediumLight}", _dark: "{shadows.mediumDark}" }
4165
+ },
4166
+ high: {
4167
+ value: { base: "{shadows.highLight}", _dark: "{shadows.highDark}" }
4168
+ },
4169
+ inset: {
4170
+ value: { base: "{shadows.insetLight}", _dark: "{shadows.insetDark}" }
4692
4171
  }
4693
4172
  });
4694
4173
  const textareaVariants = {
@@ -4840,6 +4319,7 @@ const textareaRecipe = defineRecipe({
4840
4319
  }
4841
4320
  });
4842
4321
  const textBase = {
4322
+ display: "inline-block",
4843
4323
  margin: "0",
4844
4324
  lineHeight: "default",
4845
4325
  fontWeight: "normal",
@@ -5319,84 +4799,149 @@ const textinputRecipe = defineRecipe({
5319
4799
  size: "medium"
5320
4800
  }
5321
4801
  });
5322
- const cardBase = {
5323
- bg: { base: "gray.10", _dark: "gray.80" },
5324
- borderRadius: "4",
5325
- outlineWidth: "1",
5326
- outlineStyle: "solid",
5327
- outlineColor: "transparent",
5328
- outlineOffset: "0"
4802
+ const interactiveHoverStyles = {
4803
+ cursor: "pointer",
4804
+ transition: "all",
4805
+ _hover: {
4806
+ bg: "surface",
4807
+ boxShadow: "elevated"
4808
+ },
4809
+ _focusVisible: {
4810
+ bg: "surface",
4811
+ boxShadow: "elevated",
4812
+ borderWidth: "1",
4813
+ outlineColor: "border.focused",
4814
+ borderColor: "border.focused"
4815
+ },
4816
+ _disabled: {
4817
+ opacity: "0.4",
4818
+ cursor: "not-allowed"
4819
+ }
5329
4820
  };
5330
- const cardVariant = {
5331
- variant: {
5332
- default: {
5333
- boxShadow: "low",
5334
- borderWidth: "1",
5335
- borderColor: "transparent",
5336
- _hover: {
5337
- boxShadow: "medium"
4821
+ const cardRecipe = defineRecipe({
4822
+ className: "card",
4823
+ jsx: ["Card"],
4824
+ base: {
4825
+ display: "block",
4826
+ textAlign: "left",
4827
+ bg: "surface",
4828
+ borderRadius: "8",
4829
+ outlineWidth: "1",
4830
+ outlineStyle: "solid",
4831
+ outlineColor: "transparent",
4832
+ outlineOffset: "0"
4833
+ },
4834
+ variants: {
4835
+ appearance: {
4836
+ default: {
4837
+ bg: "surface.raised",
4838
+ boxShadow: "raised",
4839
+ borderWidth: "1",
4840
+ borderColor: "transparent"
5338
4841
  },
5339
- _active: {
5340
- boxShadow: "inset",
5341
- _grabbed: {
5342
- boxShadow: "high",
5343
- cursor: "grabbing"
5344
- }
4842
+ flat: {
4843
+ borderWidth: "1",
4844
+ borderStyle: "solid",
4845
+ borderColor: "border",
4846
+ boxShadow: "zero"
5345
4847
  },
5346
- _focusVisible: {
5347
- boxShadow: "none",
4848
+ sunken: {
4849
+ bg: "surface.sunken",
5348
4850
  borderWidth: "1",
5349
- outlineColor: { base: "gray.90", _dark: "gray.10" },
5350
- borderColor: { base: "gray.90", _dark: "gray.10" }
4851
+ borderStyle: "solid",
4852
+ borderColor: "transparent"
5351
4853
  },
5352
- _disabled: {
5353
- opacity: "0.4",
5354
- _hover: {
5355
- boxShadow: "low"
5356
- },
5357
- _active: {
5358
- boxShadow: "low"
5359
- }
4854
+ ghost: {
4855
+ bg: "transparent",
4856
+ borderWidth: "1",
4857
+ borderStyle: "solid",
4858
+ borderColor: "transparent"
4859
+ },
4860
+ overlay: {
4861
+ bg: "surface.overlay",
4862
+ boxShadow: "overlay",
4863
+ borderWidth: "1",
4864
+ borderColor: "transparent"
5360
4865
  }
5361
4866
  },
5362
- flat: {
5363
- borderWidth: "1",
5364
- borderStyle: "solid",
5365
- borderColor: { base: "gray.10", _dark: "gray.70" },
5366
- _hover: {
5367
- borderColor: { base: "gray.30", _dark: "gray.100" }
4867
+ interactive: {
4868
+ true: {
4869
+ cursor: "pointer"
5368
4870
  },
5369
- _active: {
5370
- borderColor: { base: "gray.100", _dark: "gray.30" },
5371
- _grabbed: {
5372
- boxShadow: "high",
5373
- cursor: "grabbing"
4871
+ false: {
4872
+ cursor: "default"
4873
+ }
4874
+ }
4875
+ },
4876
+ compoundVariants: [
4877
+ // Default + interactive
4878
+ {
4879
+ appearance: "default",
4880
+ interactive: true,
4881
+ css: {
4882
+ ...interactiveHoverStyles,
4883
+ _disabled: {
4884
+ _hover: {
4885
+ boxShadow: "raised"
4886
+ }
5374
4887
  }
5375
- },
5376
- _focusVisible: {
5377
- boxShadow: "none",
5378
- outlineColor: { base: "gray.90", _dark: "gray.10" },
5379
- borderColor: { base: "gray.90", _dark: "gray.10" }
5380
- },
5381
- _disabled: {
5382
- opacity: "0.4",
5383
- _hover: {
5384
- borderColor: { base: "gray.10", _dark: "gray.70" }
5385
- },
5386
- _active: {
5387
- borderColor: { base: "gray.10", _dark: "gray.70" }
4888
+ }
4889
+ },
4890
+ // Flat + interactive
4891
+ {
4892
+ appearance: "flat",
4893
+ interactive: true,
4894
+ css: {
4895
+ ...interactiveHoverStyles,
4896
+ _disabled: {
4897
+ _hover: {
4898
+ boxShadow: "none"
4899
+ }
4900
+ }
4901
+ }
4902
+ },
4903
+ // Sunken + interactive
4904
+ {
4905
+ appearance: "sunken",
4906
+ interactive: true,
4907
+ css: {
4908
+ ...interactiveHoverStyles,
4909
+ _disabled: {
4910
+ _hover: {
4911
+ boxShadow: "none"
4912
+ }
4913
+ }
4914
+ }
4915
+ },
4916
+ // Ghost + interactive
4917
+ {
4918
+ appearance: "ghost",
4919
+ interactive: true,
4920
+ css: {
4921
+ ...interactiveHoverStyles,
4922
+ _disabled: {
4923
+ _hover: {
4924
+ boxShadow: "none"
4925
+ }
4926
+ }
4927
+ }
4928
+ },
4929
+ // Overlay + interactive
4930
+ {
4931
+ appearance: "overlay",
4932
+ interactive: true,
4933
+ css: {
4934
+ _disabled: {
4935
+ _hover: {
4936
+ boxShadow: "raised"
4937
+ }
5388
4938
  }
5389
4939
  }
5390
4940
  }
5391
- }
5392
- };
5393
- const cardRecipe = defineRecipe({
5394
- className: "card",
5395
- jsx: ["Card"],
5396
- base: cardBase,
5397
- variants: cardVariant,
4941
+ ],
5398
4942
  defaultVariants: {
5399
- variant: "default"
4943
+ appearance: "default",
4944
+ interactive: false
5400
4945
  }
5401
4946
  });
5402
4947
  const BreadcrumbsBase = {
@@ -6689,6 +6234,133 @@ const menuRecipe$1 = defineSlotRecipe({
6689
6234
  indicatorPosition: "left"
6690
6235
  }
6691
6236
  });
6237
+ const selectBase = {
6238
+ // The trigger button container
6239
+ trigger: {
6240
+ display: "flex",
6241
+ alignItems: "center",
6242
+ justifyContent: "space-between",
6243
+ gap: "8",
6244
+ width: "full",
6245
+ borderWidth: "1",
6246
+ borderStyle: "solid",
6247
+ borderColor: "border.input",
6248
+ borderRadius: "4",
6249
+ bg: "bg.input",
6250
+ color: "text",
6251
+ fontFamily: "body",
6252
+ cursor: "pointer",
6253
+ outline: "none",
6254
+ transitionDuration: "fast",
6255
+ transitionProperty: "background, border-color, color, outline-color",
6256
+ transitionTimingFunction: "default",
6257
+ _hover: {
6258
+ bg: "bg.input.hovered"
6259
+ },
6260
+ _focus: {
6261
+ borderColor: "border.focused",
6262
+ outlineWidth: "2",
6263
+ outlineOffset: "-1",
6264
+ outlineStyle: "solid",
6265
+ outlineColor: "border.focused"
6266
+ },
6267
+ _disabled: {
6268
+ bg: "bg.disabled",
6269
+ borderColor: "border.disabled",
6270
+ color: "text.disabled",
6271
+ cursor: "not-allowed",
6272
+ opacity: 0.5
6273
+ },
6274
+ _error: {
6275
+ bg: "bg.danger",
6276
+ borderColor: "border.danger",
6277
+ _hover: {
6278
+ bg: "bg.danger.hovered"
6279
+ },
6280
+ _focus: {
6281
+ borderColor: "border.danger",
6282
+ outlineColor: "border.danger"
6283
+ }
6284
+ }
6285
+ },
6286
+ // The value/placeholder text display
6287
+ value: {
6288
+ flex: 1,
6289
+ textAlign: "left",
6290
+ truncate: true,
6291
+ color: "text",
6292
+ _placeholder: {
6293
+ color: "text.subtlest"
6294
+ }
6295
+ },
6296
+ // Placeholder styling (when no value selected)
6297
+ placeholder: {
6298
+ color: "text.subtlest"
6299
+ },
6300
+ // The chevron/arrow icon
6301
+ icon: {
6302
+ display: "flex",
6303
+ alignItems: "center",
6304
+ flexShrink: 0,
6305
+ color: "icon.decorative",
6306
+ transitionDuration: "normal",
6307
+ transitionProperty: "transform",
6308
+ transitionTimingFunction: "default",
6309
+ '&[data-open="true"]': {
6310
+ transform: "rotate(180deg)"
6311
+ }
6312
+ }
6313
+ };
6314
+ const selectVariants = {
6315
+ size: {
6316
+ compact: {
6317
+ trigger: {
6318
+ py: "4",
6319
+ px: "8",
6320
+ fontSize: "14",
6321
+ minHeight: "32"
6322
+ },
6323
+ icon: {
6324
+ w: "16",
6325
+ h: "16"
6326
+ }
6327
+ },
6328
+ default: {
6329
+ trigger: {
6330
+ py: "8",
6331
+ px: "12",
6332
+ fontSize: "16",
6333
+ minHeight: "40"
6334
+ },
6335
+ icon: {
6336
+ w: "20",
6337
+ h: "20"
6338
+ }
6339
+ },
6340
+ comfortable: {
6341
+ trigger: {
6342
+ py: "12",
6343
+ px: "16",
6344
+ fontSize: "16",
6345
+ minHeight: "48"
6346
+ },
6347
+ icon: {
6348
+ w: "24",
6349
+ h: "24"
6350
+ }
6351
+ }
6352
+ }
6353
+ };
6354
+ const selectRecipe$1 = defineSlotRecipe({
6355
+ className: "select",
6356
+ jsx: ["Select", "SelectTrigger"],
6357
+ slots: ["trigger", "value", "placeholder", "icon"],
6358
+ base: selectBase,
6359
+ variants: selectVariants,
6360
+ defaultVariants: {
6361
+ size: "default"
6362
+ }
6363
+ });
6692
6364
  const chipBase = {
6693
6365
  container: {
6694
6366
  position: "relative",
@@ -7277,6 +6949,122 @@ const avatarRecipe$1 = defineSlotRecipe({
7277
6949
  shape: "circle"
7278
6950
  }
7279
6951
  });
6952
+ const modalBase = {
6953
+ overlay: {
6954
+ position: "fixed",
6955
+ inset: "0",
6956
+ bg: "blanket",
6957
+ zIndex: 1100,
6958
+ // Initial state matches animation start
6959
+ opacity: "0",
6960
+ // Animation handled via data-state
6961
+ animation: "modalFadeIn 150ms ease-out forwards",
6962
+ '&[data-state="closing"]': {
6963
+ animation: "modalFadeOut 150ms ease-out forwards"
6964
+ }
6965
+ },
6966
+ container: {
6967
+ position: "fixed",
6968
+ top: "50%",
6969
+ left: "50%",
6970
+ display: "flex",
6971
+ flexDirection: "column",
6972
+ maxHeight: "90vh",
6973
+ bg: "surface.overlay",
6974
+ borderRadius: "12",
6975
+ boxShadow: "overlay",
6976
+ outline: "none",
6977
+ zIndex: 1101,
6978
+ // Initial state matches animation start
6979
+ opacity: "0",
6980
+ transform: "translate(-50%, -50%) scale(0.95) translateY(-10px)",
6981
+ // Animation handled via data-state
6982
+ animation: "modalScaleIn 150ms ease-out forwards",
6983
+ '&[data-state="closing"]': {
6984
+ animation: "modalScaleOut 150ms ease-out forwards"
6985
+ }
6986
+ },
6987
+ header: {
6988
+ display: "flex",
6989
+ alignItems: "center",
6990
+ justifyContent: "space-between",
6991
+ gap: "12",
6992
+ px: "20",
6993
+ py: "12",
6994
+ borderBottom: "default"
6995
+ },
6996
+ title: {
6997
+ w: "full",
6998
+ truncate: true
6999
+ },
7000
+ closeButton: {
7001
+ // IconButton styles will be applied via IconButton component
7002
+ // This slot is for any additional wrapper styling if needed
7003
+ },
7004
+ body: {
7005
+ flex: 1,
7006
+ overflowY: "auto",
7007
+ gap: "16",
7008
+ px: "20",
7009
+ py: "16",
7010
+ color: "text"
7011
+ },
7012
+ footer: {
7013
+ display: "flex",
7014
+ alignItems: "center",
7015
+ justifyContent: "flex-end",
7016
+ gap: "8",
7017
+ px: "20",
7018
+ py: "12",
7019
+ borderTop: "default"
7020
+ }
7021
+ };
7022
+ const modalVariants = {
7023
+ size: {
7024
+ sm: {
7025
+ container: {
7026
+ maxWidth: "400"
7027
+ },
7028
+ title: {
7029
+ fontSize: "md"
7030
+ }
7031
+ },
7032
+ md: {
7033
+ container: {
7034
+ maxWidth: "560"
7035
+ },
7036
+ title: {
7037
+ fontSize: "lg"
7038
+ }
7039
+ },
7040
+ lg: {
7041
+ container: {
7042
+ maxWidth: "720"
7043
+ },
7044
+ title: {
7045
+ fontSize: "xl"
7046
+ }
7047
+ }
7048
+ }
7049
+ };
7050
+ const modalRecipe$1 = defineSlotRecipe({
7051
+ className: "modal",
7052
+ jsx: ["Modal", "ModalHeader", "ModalBody", "ModalFooter"],
7053
+ slots: [
7054
+ "overlay",
7055
+ "container",
7056
+ "header",
7057
+ "title",
7058
+ "closeButton",
7059
+ "body",
7060
+ "footer"
7061
+ ],
7062
+ base: modalBase,
7063
+ variants: modalVariants,
7064
+ defaultVariants: {
7065
+ size: "md"
7066
+ }
7067
+ });
7280
7068
  const componentRecipes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7281
7069
  __proto__: null,
7282
7070
  avatarRecipe: avatarRecipe$1,
@@ -7295,9 +7083,11 @@ const componentRecipes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
7295
7083
  labelRecipe,
7296
7084
  linkRecipe,
7297
7085
  menuRecipe: menuRecipe$1,
7086
+ modalRecipe: modalRecipe$1,
7298
7087
  preRecipe,
7299
7088
  radioInputRecipe,
7300
7089
  radioRecipe: radioRecipe$1,
7090
+ selectRecipe: selectRecipe$1,
7301
7091
  spinnerRecipe,
7302
7092
  tagRecipe,
7303
7093
  textRecipe,
@@ -7316,9 +7106,11 @@ const {
7316
7106
  radioRecipe,
7317
7107
  tooltipRecipe,
7318
7108
  menuRecipe,
7109
+ selectRecipe,
7319
7110
  toggleRecipe,
7320
7111
  chipRecipe,
7321
7112
  avatarRecipe,
7113
+ modalRecipe,
7322
7114
  ...regularComponents
7323
7115
  } = componentRecipes;
7324
7116
  const transformedRecipes = Object.fromEntries(
@@ -7336,16 +7128,14 @@ const pandaBasePresetConditions = index_default.conditions;
7336
7128
  const pandaBasePresetUtilities = index_default.utilities;
7337
7129
  const pandaBasePresetGlobalCss = index_default.globalCss;
7338
7130
  const sizeKeys = Object.keys(sizes);
7339
- const { breakpoints, keyframes, ...rawTokens } = tokens;
7340
7131
  const theme = {
7341
- tokens: defineTokens({
7342
- ...rawTokens,
7343
- spacing: sizes
7344
- // Map spacing to our size scale for consistent sizing
7345
- }),
7346
- semanticTokens: defineSemanticTokens({
7347
- ...semantics
7348
- })
7132
+ tokens: {
7133
+ ...tokens
7134
+ },
7135
+ semanticTokens: {
7136
+ colors,
7137
+ shadows
7138
+ }
7349
7139
  };
7350
7140
  const okshaunPreset = definePreset$1({
7351
7141
  name: "okshaunPreset",
@@ -7355,10 +7145,13 @@ const okshaunPreset = definePreset$1({
7355
7145
  ...theme.tokens
7356
7146
  },
7357
7147
  semanticTokens: {
7358
- ...theme.semanticTokens
7148
+ colors: theme.semanticTokens.colors,
7149
+ shadows: theme.semanticTokens.shadows
7359
7150
  },
7360
7151
  breakpoints,
7152
+ containerSizes,
7361
7153
  keyframes,
7154
+ layerStyles,
7362
7155
  textStyles,
7363
7156
  recipes: {
7364
7157
  ...transformedRecipes
@@ -7371,9 +7164,11 @@ const okshaunPreset = definePreset$1({
7371
7164
  radio: radioRecipe,
7372
7165
  tooltip: tooltipRecipe,
7373
7166
  menu: menuRecipe,
7167
+ select: selectRecipe,
7374
7168
  toggle: toggleRecipe,
7375
7169
  chip: chipRecipe,
7376
- avatar: avatarRecipe
7170
+ avatar: avatarRecipe,
7171
+ modal: modalRecipe
7377
7172
  }
7378
7173
  }
7379
7174
  },
@@ -7415,15 +7210,13 @@ const okshaunPreset = definePreset$1({
7415
7210
  utilities: {
7416
7211
  ...pandaBasePresetUtilities,
7417
7212
  // Custom utility for transitionProperty that uses our transition tokens
7418
- transitionProperty: {
7419
- className: "transition-property",
7420
- values: "transitions"
7421
- }
7213
+ filtersProperty,
7214
+ transitionProperty
7422
7215
  },
7423
7216
  // Global styles
7424
7217
  globalCss: {
7425
7218
  ...pandaBasePresetGlobalCss,
7426
- ...globalCss,
7219
+ ...globalCss$1,
7427
7220
  html: {
7428
7221
  "--global-font-heading": "fonts.heading",
7429
7222
  "--global-font-body": "fonts.body",
@@ -7435,7 +7228,7 @@ const okshaunPreset = definePreset$1({
7435
7228
  // Conditions for responsive and state-based styling
7436
7229
  conditions: {
7437
7230
  ...pandaBasePresetConditions,
7438
- ...conditions
7231
+ ...conditions$1
7439
7232
  }
7440
7233
  });
7441
7234
  export {