@okshaun/components 0.5.6 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/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-D5SjakQu.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";
@@ -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 = {
@@ -5319,84 +4798,149 @@ const textinputRecipe = defineRecipe({
5319
4798
  size: "medium"
5320
4799
  }
5321
4800
  });
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"
4801
+ const interactiveHoverStyles = {
4802
+ cursor: "pointer",
4803
+ transition: "all",
4804
+ _hover: {
4805
+ bg: "surface",
4806
+ boxShadow: "elevated"
4807
+ },
4808
+ _focusVisible: {
4809
+ bg: "surface",
4810
+ boxShadow: "elevated",
4811
+ borderWidth: "1",
4812
+ outlineColor: "border.focused",
4813
+ borderColor: "border.focused"
4814
+ },
4815
+ _disabled: {
4816
+ opacity: "0.4",
4817
+ cursor: "not-allowed"
4818
+ }
5329
4819
  };
5330
- const cardVariant = {
5331
- variant: {
5332
- default: {
5333
- boxShadow: "low",
5334
- borderWidth: "1",
5335
- borderColor: "transparent",
5336
- _hover: {
5337
- boxShadow: "medium"
4820
+ const cardRecipe = defineRecipe({
4821
+ className: "card",
4822
+ jsx: ["Card"],
4823
+ base: {
4824
+ display: "block",
4825
+ textAlign: "left",
4826
+ bg: "surface",
4827
+ borderRadius: "8",
4828
+ outlineWidth: "1",
4829
+ outlineStyle: "solid",
4830
+ outlineColor: "transparent",
4831
+ outlineOffset: "0"
4832
+ },
4833
+ variants: {
4834
+ appearance: {
4835
+ default: {
4836
+ bg: "surface.raised",
4837
+ boxShadow: "raised",
4838
+ borderWidth: "1",
4839
+ borderColor: "transparent"
5338
4840
  },
5339
- _active: {
5340
- boxShadow: "inset",
5341
- _grabbed: {
5342
- boxShadow: "high",
5343
- cursor: "grabbing"
5344
- }
4841
+ flat: {
4842
+ borderWidth: "1",
4843
+ borderStyle: "solid",
4844
+ borderColor: "border",
4845
+ boxShadow: "zero"
5345
4846
  },
5346
- _focusVisible: {
5347
- boxShadow: "none",
4847
+ sunken: {
4848
+ bg: "surface.sunken",
5348
4849
  borderWidth: "1",
5349
- outlineColor: { base: "gray.90", _dark: "gray.10" },
5350
- borderColor: { base: "gray.90", _dark: "gray.10" }
4850
+ borderStyle: "solid",
4851
+ borderColor: "transparent"
5351
4852
  },
5352
- _disabled: {
5353
- opacity: "0.4",
5354
- _hover: {
5355
- boxShadow: "low"
5356
- },
5357
- _active: {
5358
- boxShadow: "low"
5359
- }
4853
+ ghost: {
4854
+ bg: "transparent",
4855
+ borderWidth: "1",
4856
+ borderStyle: "solid",
4857
+ borderColor: "transparent"
4858
+ },
4859
+ overlay: {
4860
+ bg: "surface.overlay",
4861
+ boxShadow: "overlay",
4862
+ borderWidth: "1",
4863
+ borderColor: "transparent"
5360
4864
  }
5361
4865
  },
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" }
4866
+ interactive: {
4867
+ true: {
4868
+ cursor: "pointer"
5368
4869
  },
5369
- _active: {
5370
- borderColor: { base: "gray.100", _dark: "gray.30" },
5371
- _grabbed: {
5372
- boxShadow: "high",
5373
- cursor: "grabbing"
4870
+ false: {
4871
+ cursor: "default"
4872
+ }
4873
+ }
4874
+ },
4875
+ compoundVariants: [
4876
+ // Default + interactive
4877
+ {
4878
+ appearance: "default",
4879
+ interactive: true,
4880
+ css: {
4881
+ ...interactiveHoverStyles,
4882
+ _disabled: {
4883
+ _hover: {
4884
+ boxShadow: "raised"
4885
+ }
5374
4886
  }
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" }
4887
+ }
4888
+ },
4889
+ // Flat + interactive
4890
+ {
4891
+ appearance: "flat",
4892
+ interactive: true,
4893
+ css: {
4894
+ ...interactiveHoverStyles,
4895
+ _disabled: {
4896
+ _hover: {
4897
+ boxShadow: "none"
4898
+ }
4899
+ }
4900
+ }
4901
+ },
4902
+ // Sunken + interactive
4903
+ {
4904
+ appearance: "sunken",
4905
+ interactive: true,
4906
+ css: {
4907
+ ...interactiveHoverStyles,
4908
+ _disabled: {
4909
+ _hover: {
4910
+ boxShadow: "none"
4911
+ }
4912
+ }
4913
+ }
4914
+ },
4915
+ // Ghost + interactive
4916
+ {
4917
+ appearance: "ghost",
4918
+ interactive: true,
4919
+ css: {
4920
+ ...interactiveHoverStyles,
4921
+ _disabled: {
4922
+ _hover: {
4923
+ boxShadow: "none"
4924
+ }
4925
+ }
4926
+ }
4927
+ },
4928
+ // Overlay + interactive
4929
+ {
4930
+ appearance: "overlay",
4931
+ interactive: true,
4932
+ css: {
4933
+ _disabled: {
4934
+ _hover: {
4935
+ boxShadow: "raised"
4936
+ }
5388
4937
  }
5389
4938
  }
5390
4939
  }
5391
- }
5392
- };
5393
- const cardRecipe = defineRecipe({
5394
- className: "card",
5395
- jsx: ["Card"],
5396
- base: cardBase,
5397
- variants: cardVariant,
4940
+ ],
5398
4941
  defaultVariants: {
5399
- variant: "default"
4942
+ appearance: "default",
4943
+ interactive: false
5400
4944
  }
5401
4945
  });
5402
4946
  const BreadcrumbsBase = {
@@ -7336,16 +6880,14 @@ const pandaBasePresetConditions = index_default.conditions;
7336
6880
  const pandaBasePresetUtilities = index_default.utilities;
7337
6881
  const pandaBasePresetGlobalCss = index_default.globalCss;
7338
6882
  const sizeKeys = Object.keys(sizes);
7339
- const { breakpoints, keyframes, ...rawTokens } = tokens;
7340
6883
  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
- })
6884
+ tokens: {
6885
+ ...tokens
6886
+ },
6887
+ semanticTokens: {
6888
+ colors,
6889
+ shadows
6890
+ }
7349
6891
  };
7350
6892
  const okshaunPreset = definePreset$1({
7351
6893
  name: "okshaunPreset",
@@ -7355,10 +6897,13 @@ const okshaunPreset = definePreset$1({
7355
6897
  ...theme.tokens
7356
6898
  },
7357
6899
  semanticTokens: {
7358
- ...theme.semanticTokens
6900
+ colors: theme.semanticTokens.colors,
6901
+ shadows: theme.semanticTokens.shadows
7359
6902
  },
7360
6903
  breakpoints,
6904
+ containerSizes,
7361
6905
  keyframes,
6906
+ layerStyles,
7362
6907
  textStyles,
7363
6908
  recipes: {
7364
6909
  ...transformedRecipes
@@ -7415,15 +6960,13 @@ const okshaunPreset = definePreset$1({
7415
6960
  utilities: {
7416
6961
  ...pandaBasePresetUtilities,
7417
6962
  // Custom utility for transitionProperty that uses our transition tokens
7418
- transitionProperty: {
7419
- className: "transition-property",
7420
- values: "transitions"
7421
- }
6963
+ filtersProperty,
6964
+ transitionProperty
7422
6965
  },
7423
6966
  // Global styles
7424
6967
  globalCss: {
7425
6968
  ...pandaBasePresetGlobalCss,
7426
- ...globalCss,
6969
+ ...globalCss$1,
7427
6970
  html: {
7428
6971
  "--global-font-heading": "fonts.heading",
7429
6972
  "--global-font-body": "fonts.body",
@@ -7435,7 +6978,7 @@ const okshaunPreset = definePreset$1({
7435
6978
  // Conditions for responsive and state-based styling
7436
6979
  conditions: {
7437
6980
  ...pandaBasePresetConditions,
7438
- ...conditions
6981
+ ...conditions$1
7439
6982
  }
7440
6983
  });
7441
6984
  export {