@latte-macchiat-io/latte-vanilla-components 0.0.174 → 0.0.176

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 (41) hide show
  1. package/dist/css/index.cjs +1 -0
  2. package/dist/css/index.js +34 -0
  3. package/dist/index.cjs.js +2 -2
  4. package/dist/index.es.js +3195 -6144
  5. package/dist/styles/sprinkles.css.ts +2 -0
  6. package/dist/theme/contract.css.ts +5 -5
  7. package/dist/theme.css-CNjMk-g_.cjs +1 -0
  8. package/dist/theme.css-Dj6kL9o0.js +3020 -0
  9. package/dist/types/css/index.d.ts +28 -0
  10. package/dist/types/index.d.ts +1 -1
  11. package/dist/types/styles/mediaqueries.d.ts +16 -0
  12. package/dist/types/styles/sprinkles.css.d.ts +3423 -0
  13. package/dist/types/theme/baseThemeValues.d.ts +158 -0
  14. package/dist/types/theme/contract.css.d.ts +79 -0
  15. package/dist/types/theme/index.d.ts +3 -0
  16. package/dist/types/theme/utils.d.ts +86 -0
  17. package/package.json +22 -8
  18. package/src/assets/styles/default-theme.ts +312 -0
  19. package/src/components/Button/stories.ts +127 -0
  20. package/src/components/Columns/stories.ts +35 -0
  21. package/src/components/Icon/path.ts +36 -0
  22. package/src/components/Icon/stories.ts +29 -0
  23. package/src/components/Main/stories.ts +33 -0
  24. package/src/components/Section/stories.ts +64 -0
  25. package/src/css/index.ts +33 -0
  26. package/src/index.ts +96 -0
  27. package/src/styles/mediaqueries.ts +17 -0
  28. package/src/styles/sprinkles.css.ts +2 -0
  29. package/src/theme/baseThemeValues.ts +160 -0
  30. package/src/theme/contract.css.ts +5 -5
  31. package/src/theme/index.ts +6 -0
  32. package/src/theme/utils.ts +76 -0
  33. package/src/themes/dark.ts +3 -0
  34. package/src/themes/index.ts +5 -0
  35. package/src/themes/light.ts +3 -0
  36. package/src/types/theme.ts +295 -0
  37. package/src/types/withClassName.ts +3 -0
  38. package/src/utils/cookie.ts +24 -0
  39. package/src/utils/deep-merge-objects.ts +15 -0
  40. package/src/utils/use-breakpoint-key.ts +30 -0
  41. package/src/utils/use-window-size.ts +37 -0
@@ -0,0 +1,3020 @@
1
+ import { createSprinkles as c, defineProperties as p } from "@vanilla-extract/sprinkles";
2
+ import { recipe as i } from "@vanilla-extract/recipes";
3
+ import { createGlobalThemeContract as g, style as t, keyframes as l } from "@vanilla-extract/css";
4
+ const e = g({
5
+ colors: {
6
+ primary: null,
7
+ secondary: null,
8
+ accent: null,
9
+ background: null,
10
+ surface: null,
11
+ text: null,
12
+ textSecondary: null,
13
+ textLight: null,
14
+ border: null,
15
+ error: null,
16
+ warning: null,
17
+ success: null,
18
+ info: null
19
+ },
20
+ space: {
21
+ none: null,
22
+ xs: null,
23
+ sm: null,
24
+ md: null,
25
+ lg: null,
26
+ xl: null,
27
+ "2xl": null
28
+ },
29
+ radii: {
30
+ none: null,
31
+ sm: null,
32
+ md: null,
33
+ lg: null,
34
+ xl: null,
35
+ full: null
36
+ },
37
+ fonts: {
38
+ body: null,
39
+ heading: null,
40
+ mono: null
41
+ },
42
+ fontSizes: {
43
+ xs: null,
44
+ sm: null,
45
+ md: null,
46
+ lg: null,
47
+ xl: null,
48
+ "2xl": null,
49
+ "3xl": null,
50
+ "4xl": null
51
+ },
52
+ fontWeights: {
53
+ light: null,
54
+ normal: null,
55
+ medium: null,
56
+ semibold: null,
57
+ bold: null
58
+ },
59
+ lineHeights: {
60
+ tight: null,
61
+ normal: null,
62
+ relaxed: null
63
+ },
64
+ shadows: {
65
+ none: null,
66
+ sm: null,
67
+ md: null,
68
+ lg: null,
69
+ xl: null
70
+ },
71
+ maxWidth: null,
72
+ section: {
73
+ paddingTop: null,
74
+ paddingBottom: null
75
+ },
76
+ header: {
77
+ height: null
78
+ },
79
+ footer: {
80
+ height: null
81
+ }
82
+ }, (a) => `latte-${a}`), n = {
83
+ colors: {
84
+ primary: "#FF7377",
85
+ secondary: "#FCEFE6",
86
+ accent: "#FF7377",
87
+ background: "#ffffff",
88
+ surface: "#f8f9fa",
89
+ text: "#000000",
90
+ textSecondary: "#666666",
91
+ textLight: "#f5f5f5",
92
+ border: "#e1e1e1",
93
+ error: "#dc3545",
94
+ warning: "#ffc107",
95
+ success: "#28a745",
96
+ info: "#17a2b8"
97
+ },
98
+ space: {
99
+ none: "0px",
100
+ xs: "4px",
101
+ sm: "8px",
102
+ md: "16px",
103
+ lg: "32px",
104
+ xl: "64px",
105
+ "2xl": "128px"
106
+ },
107
+ radii: {
108
+ none: "0px",
109
+ sm: "4px",
110
+ md: "8px",
111
+ lg: "16px",
112
+ xl: "24px",
113
+ full: "9999px"
114
+ },
115
+ fonts: {
116
+ body: 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',
117
+ heading: 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',
118
+ mono: 'ui-monospace, SFMono-Regular, "SF Mono", Monaco, Consolas, monospace'
119
+ },
120
+ fontSizes: {
121
+ xs: "12px",
122
+ sm: "14px",
123
+ md: "16px",
124
+ lg: "18px",
125
+ xl: "20px",
126
+ "2xl": "24px",
127
+ "3xl": "32px",
128
+ "4xl": "40px"
129
+ },
130
+ fontWeights: {
131
+ light: "300",
132
+ normal: "400",
133
+ medium: "500",
134
+ semibold: "600",
135
+ bold: "700"
136
+ },
137
+ lineHeights: {
138
+ tight: "1.2",
139
+ normal: "1.5",
140
+ relaxed: "1.75"
141
+ },
142
+ shadows: {
143
+ none: "none",
144
+ sm: "0 1px 2px rgba(0, 0, 0, 0.05)",
145
+ md: "0 4px 6px rgba(0, 0, 0, 0.1)",
146
+ lg: "0 10px 15px rgba(0, 0, 0, 0.1)",
147
+ xl: "0 20px 25px rgba(0, 0, 0, 0.1)"
148
+ },
149
+ maxWidth: "1500px",
150
+ section: {
151
+ paddingTop: "48px",
152
+ paddingBottom: "48px"
153
+ },
154
+ header: {
155
+ height: "80px"
156
+ },
157
+ footer: {
158
+ height: "80px"
159
+ }
160
+ }, s = {
161
+ colors: {
162
+ primary: "#1a73e8",
163
+ secondary: "#374151",
164
+ accent: "#60a5fa",
165
+ background: "#111827",
166
+ surface: "#1f2937",
167
+ text: "#ffffff",
168
+ textSecondary: "#9ca3af",
169
+ textLight: "#f3f4f6",
170
+ border: "#374151",
171
+ error: "#ef4444",
172
+ warning: "#f59e0b",
173
+ success: "#10b981",
174
+ info: "#3b82f6"
175
+ },
176
+ space: {
177
+ none: "0px",
178
+ xs: "4px",
179
+ sm: "8px",
180
+ md: "16px",
181
+ lg: "32px",
182
+ xl: "64px",
183
+ "2xl": "128px"
184
+ },
185
+ radii: {
186
+ none: "0px",
187
+ sm: "4px",
188
+ md: "8px",
189
+ lg: "16px",
190
+ xl: "24px",
191
+ full: "9999px"
192
+ },
193
+ fonts: {
194
+ body: 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',
195
+ heading: 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',
196
+ mono: 'ui-monospace, SFMono-Regular, "SF Mono", Monaco, Consolas, monospace'
197
+ },
198
+ fontSizes: {
199
+ xs: "12px",
200
+ sm: "14px",
201
+ md: "16px",
202
+ lg: "18px",
203
+ xl: "20px",
204
+ "2xl": "24px",
205
+ "3xl": "32px",
206
+ "4xl": "40px"
207
+ },
208
+ fontWeights: {
209
+ light: "300",
210
+ normal: "400",
211
+ medium: "500",
212
+ semibold: "600",
213
+ bold: "700"
214
+ },
215
+ lineHeights: {
216
+ tight: "1.2",
217
+ normal: "1.5",
218
+ relaxed: "1.75"
219
+ },
220
+ shadows: {
221
+ none: "none",
222
+ sm: "0 1px 2px rgba(0, 0, 0, 0.1)",
223
+ md: "0 4px 6px rgba(0, 0, 0, 0.15)",
224
+ lg: "0 10px 15px rgba(0, 0, 0, 0.2)",
225
+ xl: "0 20px 25px rgba(0, 0, 0, 0.25)"
226
+ },
227
+ maxWidth: "1500px",
228
+ section: {
229
+ paddingTop: "48px",
230
+ paddingBottom: "48px"
231
+ },
232
+ header: {
233
+ height: "80px"
234
+ },
235
+ footer: {
236
+ height: "80px"
237
+ }
238
+ }, r = {
239
+ mobile: 0,
240
+ sm: 640,
241
+ md: 768,
242
+ lg: 1024,
243
+ xl: 1280,
244
+ "2xl": 1536
245
+ }, o = {
246
+ mobile: `screen and (min-width: ${r.mobile}px)`,
247
+ sm: `screen and (min-width: ${r.sm}px)`,
248
+ md: `screen and (min-width: ${r.md}px)`,
249
+ lg: `screen and (min-width: ${r.lg}px)`,
250
+ xl: `screen and (min-width: ${r.xl}px)`,
251
+ "2xl": `screen and (min-width: ${r["2xl"]}px)`
252
+ }, m = p({
253
+ conditions: {
254
+ mobile: {},
255
+ sm: { "@media": o.sm },
256
+ md: { "@media": o.md },
257
+ lg: { "@media": o.lg },
258
+ xl: { "@media": o.xl },
259
+ "2xl": { "@media": o["2xl"] }
260
+ },
261
+ defaultCondition: "mobile",
262
+ properties: {
263
+ // Spacing
264
+ padding: e.space,
265
+ paddingTop: e.space,
266
+ paddingBottom: e.space,
267
+ paddingLeft: e.space,
268
+ paddingRight: e.space,
269
+ margin: e.space,
270
+ marginTop: e.space,
271
+ marginBottom: e.space,
272
+ marginLeft: e.space,
273
+ marginRight: e.space,
274
+ gap: e.space,
275
+ // Layout
276
+ display: ["none", "block", "inline", "inline-block", "flex", "inline-flex", "grid", "inline-grid"],
277
+ flexDirection: ["row", "column", "row-reverse", "column-reverse"],
278
+ // alignItems: ['stretch', 'flex-start', 'center', 'flex-end', 'baseline'],
279
+ justifyContent: ["flex-start", "center", "flex-end", "space-between", "space-around", "space-evenly"],
280
+ flexWrap: ["nowrap", "wrap", "wrap-reverse"],
281
+ flex: ["1", "auto", "initial", "none"],
282
+ // Dimensions
283
+ width: ["auto", "100%", "50%", "33.333333%", "25%", "fit-content", "min-content", "max-content"],
284
+ height: ["auto", "100%", "100vh", "fit-content", "min-content", "max-content"],
285
+ minWidth: ["0", "100%", "fit-content", "min-content", "max-content"],
286
+ maxWidth: [e.maxWidth],
287
+ minHeight: ["0", "100%", "100vh"],
288
+ // Position
289
+ position: ["static", "relative", "absolute", "fixed", "sticky"],
290
+ top: e.space,
291
+ bottom: e.space,
292
+ left: e.space,
293
+ right: e.space,
294
+ zIndex: [0, 10, 20, 30, 40, 50],
295
+ // Typography
296
+ fontSize: e.fontSizes,
297
+ fontFamily: e.fonts,
298
+ lineHeight: e.lineHeights,
299
+ textAlign: ["left", "center", "right", "justify"],
300
+ fontWeight: ["normal", "bold", "100", "200", "300", "400", "500", "600", "700", "800", "900"],
301
+ // Colors
302
+ color: e.colors,
303
+ backgroundColor: e.colors,
304
+ // Border
305
+ borderRadius: e.radii,
306
+ borderWidth: ["0", "1px", "2px", "4px"],
307
+ borderStyle: ["none", "solid", "dashed", "dotted"],
308
+ borderColor: e.colors,
309
+ // Effects
310
+ boxShadow: e.shadows,
311
+ opacity: ["0", "0.25", "0.5", "0.75", "1"],
312
+ // Overflow
313
+ overflow: ["visible", "hidden", "scroll", "auto"],
314
+ overflowX: ["visible", "hidden", "scroll", "auto"],
315
+ overflowY: ["visible", "hidden", "scroll", "auto"]
316
+ }
317
+ }), J = c(m), K = i({
318
+ base: {
319
+ display: "inline-flex",
320
+ alignItems: "center",
321
+ justifyContent: "center",
322
+ padding: e.space.md,
323
+ borderRadius: e.radii.md,
324
+ border: "none",
325
+ cursor: "pointer",
326
+ fontFamily: e.fonts.body,
327
+ fontSize: e.fontSizes.md,
328
+ fontWeight: "500",
329
+ lineHeight: e.lineHeights.tight,
330
+ textDecoration: "none",
331
+ transition: "all 0.2s ease-in-out",
332
+ outline: "none",
333
+ ":hover": {
334
+ transform: "translateY(-1px)",
335
+ boxShadow: e.shadows.md
336
+ },
337
+ ":active": {
338
+ transform: "translateY(0)"
339
+ },
340
+ ":focus-visible": {
341
+ outline: "2px solid",
342
+ outlineColor: e.colors.primary,
343
+ outlineOffset: "2px"
344
+ },
345
+ ":disabled": {
346
+ opacity: "0.5",
347
+ cursor: "not-allowed",
348
+ transform: "none",
349
+ boxShadow: "none"
350
+ }
351
+ },
352
+ variants: {
353
+ variant: {
354
+ primary: {
355
+ backgroundColor: e.colors.primary,
356
+ color: e.colors.background,
357
+ ":hover": {
358
+ backgroundColor: e.colors.accent
359
+ }
360
+ },
361
+ secondary: {
362
+ backgroundColor: e.colors.secondary,
363
+ color: e.colors.text,
364
+ ":hover": {
365
+ backgroundColor: e.colors.surface
366
+ }
367
+ },
368
+ outline: {
369
+ backgroundColor: "transparent",
370
+ color: e.colors.text,
371
+ border: `1px solid ${e.colors.border}`,
372
+ ":hover": {
373
+ backgroundColor: e.colors.surface,
374
+ borderColor: e.colors.primary
375
+ }
376
+ },
377
+ ghost: {
378
+ backgroundColor: "transparent",
379
+ color: e.colors.text,
380
+ ":hover": {
381
+ backgroundColor: e.colors.surface
382
+ }
383
+ },
384
+ danger: {
385
+ backgroundColor: e.colors.error,
386
+ color: e.colors.background,
387
+ ":hover": {
388
+ opacity: "0.9"
389
+ }
390
+ }
391
+ },
392
+ size: {
393
+ sm: {
394
+ padding: `${e.space.xs} ${e.space.sm}`,
395
+ fontSize: e.fontSizes.sm,
396
+ borderRadius: e.radii.sm
397
+ },
398
+ md: {
399
+ padding: `${e.space.sm} ${e.space.md}`,
400
+ fontSize: e.fontSizes.md,
401
+ borderRadius: e.radii.md
402
+ },
403
+ lg: {
404
+ padding: `${e.space.md} ${e.space.lg}`,
405
+ fontSize: e.fontSizes.lg,
406
+ borderRadius: e.radii.lg
407
+ }
408
+ },
409
+ fullWidth: {
410
+ true: {
411
+ width: "100%"
412
+ }
413
+ }
414
+ },
415
+ defaultVariants: {
416
+ variant: "primary",
417
+ size: "md"
418
+ }
419
+ }), f = t({
420
+ width: "100%",
421
+ display: "flex",
422
+ flexDirection: "column",
423
+ alignItems: "center",
424
+ justifyContent: "flex-start",
425
+ paddingTop: e.section.paddingTop,
426
+ paddingBottom: e.section.paddingBottom,
427
+ paddingLeft: e.space.md,
428
+ paddingRight: e.space.md,
429
+ maxWidth: e.maxWidth,
430
+ margin: "0 auto",
431
+ position: "relative",
432
+ "@media": {
433
+ "screen and (min-width: 768px)": {
434
+ paddingLeft: e.space.lg,
435
+ paddingRight: e.space.lg
436
+ },
437
+ "screen and (min-width: 1024px)": {
438
+ paddingLeft: e.space.xl,
439
+ paddingRight: e.space.xl
440
+ }
441
+ }
442
+ }), Q = i({
443
+ base: f,
444
+ variants: {
445
+ align: {
446
+ left: {
447
+ textAlign: "left",
448
+ alignItems: "flex-start"
449
+ },
450
+ center: {
451
+ textAlign: "center",
452
+ alignItems: "center"
453
+ },
454
+ right: {
455
+ textAlign: "right",
456
+ alignItems: "flex-end"
457
+ }
458
+ },
459
+ isDark: {
460
+ true: {
461
+ backgroundColor: e.colors.surface,
462
+ color: e.colors.textLight
463
+ },
464
+ false: {
465
+ backgroundColor: e.colors.background,
466
+ color: e.colors.text
467
+ }
468
+ },
469
+ isFullHeight: {
470
+ true: {
471
+ minHeight: "100vh",
472
+ justifyContent: "center"
473
+ },
474
+ false: {
475
+ minHeight: "auto",
476
+ justifyContent: "flex-start"
477
+ }
478
+ },
479
+ spacing: {
480
+ none: {
481
+ paddingTop: "0",
482
+ paddingBottom: "0"
483
+ },
484
+ sm: {
485
+ paddingTop: e.space.md,
486
+ paddingBottom: e.space.md
487
+ },
488
+ md: {
489
+ paddingTop: e.section.paddingTop,
490
+ paddingBottom: e.section.paddingBottom
491
+ },
492
+ lg: {
493
+ paddingTop: e.space.xl,
494
+ paddingBottom: e.space.xl
495
+ },
496
+ xl: {
497
+ paddingTop: e.space["2xl"],
498
+ paddingBottom: e.space["2xl"]
499
+ }
500
+ }
501
+ },
502
+ defaultVariants: {
503
+ align: "left",
504
+ isDark: !1,
505
+ isFullHeight: !1,
506
+ spacing: "md"
507
+ }
508
+ }), x = t({
509
+ display: "flex",
510
+ flexDirection: "column",
511
+ alignItems: "center",
512
+ justifyContent: "flex-start",
513
+ width: "100%",
514
+ minHeight: "100vh",
515
+ maxWidth: e.maxWidth,
516
+ margin: "0 auto",
517
+ paddingTop: e.header.height,
518
+ paddingBottom: e.footer.height,
519
+ backgroundColor: e.colors.background,
520
+ color: e.colors.text,
521
+ fontFamily: e.fonts.body
522
+ }), Z = i({
523
+ base: x,
524
+ variants: {
525
+ centered: {
526
+ true: {
527
+ justifyContent: "center",
528
+ alignItems: "center"
529
+ },
530
+ false: {
531
+ justifyContent: "flex-start",
532
+ alignItems: "stretch"
533
+ }
534
+ },
535
+ fullWidth: {
536
+ true: {
537
+ maxWidth: "100%"
538
+ },
539
+ false: {
540
+ maxWidth: e.maxWidth
541
+ }
542
+ },
543
+ noPadding: {
544
+ true: {
545
+ paddingTop: "0",
546
+ paddingBottom: "0"
547
+ },
548
+ false: {
549
+ paddingTop: e.header.height,
550
+ paddingBottom: e.footer.height
551
+ }
552
+ }
553
+ },
554
+ defaultVariants: {
555
+ centered: !1,
556
+ fullWidth: !1,
557
+ noPadding: !1
558
+ }
559
+ }), u = t({
560
+ display: "flex",
561
+ alignItems: "center",
562
+ justifyContent: "space-between",
563
+ width: "100%",
564
+ height: e.header.height,
565
+ backgroundColor: e.colors.background,
566
+ color: e.colors.text,
567
+ zIndex: 30,
568
+ paddingLeft: e.space.md,
569
+ paddingRight: e.space.md,
570
+ paddingTop: e.space.sm,
571
+ paddingBottom: e.space.sm,
572
+ gap: e.space.md,
573
+ "@media": {
574
+ [o.md]: {
575
+ paddingLeft: e.space.lg,
576
+ paddingRight: e.space.lg,
577
+ gap: e.space.lg
578
+ },
579
+ [o.lg]: {
580
+ paddingLeft: e.space.xl,
581
+ paddingRight: e.space.xl,
582
+ gap: e.space.xl
583
+ }
584
+ }
585
+ // selectors: {
586
+ // '& a': {
587
+ // transition: 'all 0.3s ease-in-out',
588
+ // textDecoration: 'none',
589
+ // color: 'inherit',
590
+ // },
591
+ // '& a:hover': {
592
+ // opacity: '0.7',
593
+ // transform: 'translateY(-1px)',
594
+ // },
595
+ // },
596
+ }), _ = i({
597
+ base: u,
598
+ variants: {
599
+ // position: {
600
+ // relative: {
601
+ // position: 'relative',
602
+ // },
603
+ // fixed: {
604
+ // position: 'fixed',
605
+ // top: 0,
606
+ // left: 0,
607
+ // right: 0,
608
+ // },
609
+ // sticky: {
610
+ // position: 'sticky',
611
+ // top: 0,
612
+ // },
613
+ // },
614
+ variant: {
615
+ default: {
616
+ backgroundColor: e.colors.background,
617
+ borderBottom: `1px solid ${e.colors.border}`
618
+ },
619
+ transparent: {
620
+ backgroundColor: "transparent",
621
+ borderBottom: "none"
622
+ },
623
+ dark: {
624
+ backgroundColor: e.colors.surface,
625
+ color: e.colors.textLight
626
+ }
627
+ },
628
+ size: {
629
+ sm: {
630
+ height: "60px",
631
+ paddingTop: e.space.xs,
632
+ paddingBottom: e.space.xs
633
+ },
634
+ md: {
635
+ height: e.header.height,
636
+ paddingTop: e.space.sm,
637
+ paddingBottom: e.space.sm
638
+ },
639
+ lg: {
640
+ height: "100px",
641
+ paddingTop: e.space.md,
642
+ paddingBottom: e.space.md
643
+ }
644
+ }
645
+ },
646
+ defaultVariants: {
647
+ // position: 'relative',
648
+ variant: "default",
649
+ size: "md"
650
+ }
651
+ }), ee = t({
652
+ height: e.header.height,
653
+ width: "100%"
654
+ }), h = t({
655
+ display: "flex",
656
+ alignItems: "center",
657
+ justifyContent: "space-between",
658
+ flexDirection: "column",
659
+ backgroundColor: e.colors.background,
660
+ color: e.colors.text,
661
+ zIndex: 20,
662
+ paddingLeft: e.space.md,
663
+ paddingRight: e.space.md,
664
+ paddingTop: e.space.lg,
665
+ paddingBottom: e.space.lg,
666
+ gap: e.space.md,
667
+ fontSize: e.fontSizes.sm,
668
+ borderTop: `1px solid ${e.colors.border}`,
669
+ "@media": {
670
+ [o.md]: {
671
+ paddingLeft: e.space.lg,
672
+ paddingRight: e.space.lg,
673
+ gap: e.space.lg
674
+ },
675
+ [o.lg]: {
676
+ flexDirection: "row",
677
+ paddingLeft: e.space.xl,
678
+ paddingRight: e.space.xl,
679
+ gap: e.space.xl
680
+ }
681
+ }
682
+ // selectors: {
683
+ // '& a': {
684
+ // transition: 'all 0.3s ease-in-out',
685
+ // textDecoration: 'none',
686
+ // color: 'inherit',
687
+ // },
688
+ // '& a:hover': {
689
+ // opacity: '0.7',
690
+ // transform: 'translateY(-1px)',
691
+ // },
692
+ // },
693
+ }), te = i({
694
+ base: h,
695
+ variants: {
696
+ variant: {
697
+ default: {
698
+ backgroundColor: e.colors.background,
699
+ borderTop: `1px solid ${e.colors.border}`
700
+ },
701
+ dark: {
702
+ backgroundColor: e.colors.surface,
703
+ color: e.colors.textLight,
704
+ borderTop: `1px solid ${e.colors.border}`
705
+ },
706
+ minimal: {
707
+ backgroundColor: "transparent",
708
+ borderTop: "none"
709
+ }
710
+ },
711
+ size: {
712
+ sm: {
713
+ paddingTop: e.space.md,
714
+ paddingBottom: e.space.md,
715
+ fontSize: e.fontSizes.xs
716
+ },
717
+ md: {
718
+ paddingTop: e.space.lg,
719
+ paddingBottom: e.space.lg,
720
+ fontSize: e.fontSizes.sm
721
+ },
722
+ lg: {
723
+ paddingTop: e.space.xl,
724
+ paddingBottom: e.space.xl,
725
+ fontSize: e.fontSizes.md
726
+ }
727
+ },
728
+ layout: {
729
+ stacked: {
730
+ flexDirection: "column",
731
+ textAlign: "center"
732
+ },
733
+ horizontal: {
734
+ "@media": {
735
+ [o.sm]: {
736
+ flexDirection: "row",
737
+ textAlign: "left"
738
+ }
739
+ }
740
+ }
741
+ }
742
+ },
743
+ defaultVariants: {
744
+ variant: "default",
745
+ size: "md",
746
+ layout: "horizontal"
747
+ }
748
+ }), b = t({
749
+ display: "flex",
750
+ alignItems: "center",
751
+ gap: e.space.md,
752
+ flexDirection: "column",
753
+ "@media": {
754
+ [o.md]: {
755
+ flexDirection: "row",
756
+ gap: e.space.lg
757
+ },
758
+ [o.lg]: {
759
+ gap: e.space.xl
760
+ }
761
+ }
762
+ // selectors: {
763
+ // '& a': {
764
+ // textDecoration: 'none',
765
+ // color: 'inherit',
766
+ // transition: 'all 0.3s ease-in-out',
767
+ // display: 'block',
768
+ // padding: `${themeContract.space.xs} ${themeContract.space.sm}`,
769
+ // borderRadius: themeContract.radii.sm,
770
+ // },
771
+ // '& a:hover': {
772
+ // backgroundColor: themeContract.colors.surface,
773
+ // transform: 'translateY(-1px)',
774
+ // },
775
+ // '& a:focus': {
776
+ // outline: '2px solid',
777
+ // outlineColor: themeContract.colors.primary,
778
+ // outlineOffset: '2px',
779
+ // },
780
+ // '& a[aria-current="page"]': {
781
+ // backgroundColor: themeContract.colors.primary,
782
+ // color: themeContract.colors.background,
783
+ // },
784
+ // },
785
+ }), oe = i({
786
+ base: b,
787
+ variants: {
788
+ orientation: {
789
+ horizontal: {
790
+ flexDirection: "row",
791
+ alignItems: "center"
792
+ },
793
+ vertical: {
794
+ flexDirection: "column",
795
+ alignItems: "flex-start"
796
+ },
797
+ responsive: {
798
+ flexDirection: "column",
799
+ alignItems: "flex-start",
800
+ "@media": {
801
+ [o.md]: {
802
+ flexDirection: "row",
803
+ alignItems: "center"
804
+ }
805
+ }
806
+ }
807
+ },
808
+ variant: {
809
+ default: {
810
+ gap: e.space.md
811
+ },
812
+ compact: {
813
+ gap: e.space.sm
814
+ // selectors: {
815
+ // '& a': {
816
+ // padding: `${themeContract.space.xs} ${themeContract.space.xs}`,
817
+ // fontSize: themeContract.fontSizes.sm,
818
+ // },
819
+ // },
820
+ },
821
+ spacious: {
822
+ gap: e.space.lg
823
+ // selectors: {
824
+ // '& a': {
825
+ // padding: `${themeContract.space.sm} ${themeContract.space.md}`,
826
+ // fontSize: themeContract.fontSizes.lg,
827
+ // },
828
+ // },
829
+ }
830
+ },
831
+ justify: {
832
+ start: {
833
+ justifyContent: "flex-start"
834
+ },
835
+ center: {
836
+ justifyContent: "center"
837
+ },
838
+ end: {
839
+ justifyContent: "flex-end"
840
+ },
841
+ between: {
842
+ justifyContent: "space-between"
843
+ },
844
+ around: {
845
+ justifyContent: "space-around"
846
+ }
847
+ }
848
+ },
849
+ defaultVariants: {
850
+ orientation: "responsive",
851
+ variant: "default",
852
+ justify: "start"
853
+ }
854
+ }), y = t({
855
+ display: "inline-block",
856
+ verticalAlign: "middle",
857
+ fill: "currentColor",
858
+ flexShrink: 0,
859
+ transition: "all 0.3s ease-in-out"
860
+ });
861
+ t({
862
+ transition: "fill 0.3s ease-in-out"
863
+ });
864
+ const ae = i({
865
+ base: y,
866
+ variants: {
867
+ size: {
868
+ xs: {
869
+ width: "12px",
870
+ height: "12px"
871
+ },
872
+ sm: {
873
+ width: "16px",
874
+ height: "16px"
875
+ },
876
+ md: {
877
+ width: "24px",
878
+ height: "24px"
879
+ },
880
+ lg: {
881
+ width: "32px",
882
+ height: "32px"
883
+ },
884
+ xl: {
885
+ width: "48px",
886
+ height: "48px"
887
+ },
888
+ "2xl": {
889
+ width: "64px",
890
+ height: "64px"
891
+ }
892
+ },
893
+ // color: {
894
+ // current: {
895
+ // fill: 'currentColor',
896
+ // },
897
+ // primary: {
898
+ // fill: themeContract.colors.primary,
899
+ // },
900
+ // secondary: {
901
+ // fill: themeContract.colors.secondary,
902
+ // },
903
+ // accent: {
904
+ // fill: themeContract.colors.accent,
905
+ // },
906
+ // text: {
907
+ // fill: themeContract.colors.text,
908
+ // },
909
+ // textSecondary: {
910
+ // fill: themeContract.colors.textSecondary,
911
+ // },
912
+ // error: {
913
+ // fill: themeContract.colors.error,
914
+ // },
915
+ // success: {
916
+ // fill: themeContract.colors.success,
917
+ // },
918
+ // warning: {
919
+ // fill: themeContract.colors.warning,
920
+ // },
921
+ // info: {
922
+ // fill: themeContract.colors.info,
923
+ // },
924
+ // },
925
+ interactive: {
926
+ true: {
927
+ cursor: "pointer",
928
+ ":hover": {
929
+ transform: "scale(1.1)",
930
+ opacity: 0.8
931
+ },
932
+ ":active": {
933
+ transform: "scale(0.95)"
934
+ }
935
+ },
936
+ false: {}
937
+ }
938
+ },
939
+ defaultVariants: {
940
+ size: "md",
941
+ // color: 'current',
942
+ interactive: !1
943
+ }
944
+ }), w = l({
945
+ from: { opacity: "0" },
946
+ to: { opacity: "1" }
947
+ }), v = l({
948
+ from: {
949
+ opacity: "0",
950
+ transform: "translate(-50%, -60%) scale(0.95)"
951
+ },
952
+ to: {
953
+ opacity: "1",
954
+ transform: "translate(-50%, -50%) scale(1)"
955
+ }
956
+ }), z = t({
957
+ position: "fixed",
958
+ top: 0,
959
+ left: 0,
960
+ right: 0,
961
+ bottom: 0,
962
+ zIndex: 50,
963
+ backgroundColor: "rgba(0, 0, 0, 0.5)",
964
+ backdropFilter: "blur(4px)",
965
+ animation: `${w} 0.2s ease-out`,
966
+ display: "flex",
967
+ alignItems: "center",
968
+ justifyContent: "center",
969
+ padding: e.space.md,
970
+ overflowY: "auto"
971
+ }), C = t({
972
+ position: "relative",
973
+ backgroundColor: e.colors.background,
974
+ borderRadius: e.radii.lg,
975
+ boxShadow: e.shadows.xl,
976
+ border: `1px solid ${e.colors.border}`,
977
+ maxHeight: "90vh",
978
+ maxWidth: "90vw",
979
+ width: "100%",
980
+ overflowY: "auto",
981
+ animation: `${v} 0.3s ease-out`,
982
+ "@media": {
983
+ [o.sm]: {
984
+ maxWidth: "500px"
985
+ },
986
+ [o.md]: {
987
+ maxWidth: "600px"
988
+ },
989
+ [o.lg]: {
990
+ maxWidth: "800px"
991
+ }
992
+ }
993
+ }), ie = t({
994
+ position: "absolute",
995
+ top: e.space.md,
996
+ right: e.space.md,
997
+ zIndex: 10,
998
+ display: "flex",
999
+ alignItems: "center",
1000
+ justifyContent: "center",
1001
+ width: "32px",
1002
+ height: "32px",
1003
+ border: "none",
1004
+ borderRadius: e.radii.full,
1005
+ backgroundColor: e.colors.surface,
1006
+ color: e.colors.text,
1007
+ cursor: "pointer",
1008
+ transition: "all 0.2s ease-in-out"
1009
+ // ':hover': {
1010
+ // backgroundColor: themeContract.colors.error,
1011
+ // color: themeContract.colors.background,
1012
+ // transform: 'scale(1.1)',
1013
+ // },
1014
+ // ':focus': {
1015
+ // outline: '2px solid',
1016
+ // outlineColor: themeContract.colors.primary,
1017
+ // outlineOffset: '2px',
1018
+ // },
1019
+ }), ne = i({
1020
+ base: z,
1021
+ variants: {
1022
+ size: {
1023
+ sm: {},
1024
+ md: {},
1025
+ lg: {},
1026
+ xl: {},
1027
+ full: {
1028
+ padding: 0
1029
+ // selectors: {
1030
+ // '& > div': {
1031
+ // width: '100vw',
1032
+ // height: '100vh',
1033
+ // maxWidth: 'none',
1034
+ // maxHeight: 'none',
1035
+ // borderRadius: 0,
1036
+ // },
1037
+ // },
1038
+ }
1039
+ },
1040
+ centered: {
1041
+ true: {
1042
+ alignItems: "center",
1043
+ justifyContent: "center"
1044
+ },
1045
+ false: {
1046
+ alignItems: "flex-start",
1047
+ justifyContent: "center",
1048
+ paddingTop: "5vh"
1049
+ }
1050
+ }
1051
+ },
1052
+ defaultVariants: {
1053
+ size: "md",
1054
+ centered: !0
1055
+ }
1056
+ }), se = i({
1057
+ base: C,
1058
+ variants: {
1059
+ size: {
1060
+ sm: {
1061
+ padding: e.space.md,
1062
+ "@media": {
1063
+ [o.sm]: {
1064
+ maxWidth: "400px"
1065
+ }
1066
+ }
1067
+ },
1068
+ md: {
1069
+ padding: e.space.lg,
1070
+ "@media": {
1071
+ [o.sm]: {
1072
+ maxWidth: "500px"
1073
+ }
1074
+ }
1075
+ },
1076
+ lg: {
1077
+ padding: e.space.xl,
1078
+ "@media": {
1079
+ [o.md]: {
1080
+ maxWidth: "700px"
1081
+ }
1082
+ }
1083
+ },
1084
+ xl: {
1085
+ padding: e.space.xl,
1086
+ "@media": {
1087
+ [o.lg]: {
1088
+ maxWidth: "900px"
1089
+ }
1090
+ }
1091
+ },
1092
+ full: {
1093
+ width: "100vw",
1094
+ height: "100vh",
1095
+ maxWidth: "none",
1096
+ maxHeight: "none",
1097
+ borderRadius: 0,
1098
+ padding: e.space.xl
1099
+ }
1100
+ },
1101
+ align: {
1102
+ left: {
1103
+ textAlign: "left"
1104
+ },
1105
+ center: {
1106
+ textAlign: "center"
1107
+ },
1108
+ right: {
1109
+ textAlign: "right"
1110
+ }
1111
+ }
1112
+ },
1113
+ defaultVariants: {
1114
+ size: "md",
1115
+ align: "left"
1116
+ }
1117
+ }), S = t({
1118
+ display: "inline-block"
1119
+ // selectors: {
1120
+ // '& img': {
1121
+ // width: '100%',
1122
+ // height: 'auto',
1123
+ // maxWidth: '100%',
1124
+ // display: 'block',
1125
+ // },
1126
+ // '& svg': {
1127
+ // width: '100%',
1128
+ // height: 'auto',
1129
+ // maxWidth: '100%',
1130
+ // display: 'block',
1131
+ // fill: 'currentColor',
1132
+ // },
1133
+ // },
1134
+ }), re = i({
1135
+ base: S,
1136
+ variants: {
1137
+ size: {
1138
+ xs: {
1139
+ width: "80px",
1140
+ height: "auto"
1141
+ },
1142
+ sm: {
1143
+ width: "120px",
1144
+ height: "auto"
1145
+ },
1146
+ md: {
1147
+ width: "160px",
1148
+ height: "auto"
1149
+ },
1150
+ lg: {
1151
+ width: "200px",
1152
+ height: "auto"
1153
+ },
1154
+ xl: {
1155
+ width: "240px",
1156
+ height: "auto"
1157
+ },
1158
+ auto: {
1159
+ width: "auto",
1160
+ height: "auto"
1161
+ }
1162
+ },
1163
+ variant: {
1164
+ default: {},
1165
+ link: {
1166
+ cursor: "pointer",
1167
+ transition: "all 0.3s ease-in-out",
1168
+ ":hover": {
1169
+ opacity: "0.8",
1170
+ transform: "scale(1.05)"
1171
+ },
1172
+ ":focus": {
1173
+ outline: "2px solid",
1174
+ outlineColor: e.colors.primary,
1175
+ outlineOffset: "2px",
1176
+ borderRadius: e.radii.sm
1177
+ }
1178
+ }
1179
+ },
1180
+ responsive: {
1181
+ true: {
1182
+ maxWidth: "100%",
1183
+ height: "auto"
1184
+ // selectors: {
1185
+ // '& img, & svg': {
1186
+ // width: '100%',
1187
+ // height: 'auto',
1188
+ // maxWidth: '100%',
1189
+ // },
1190
+ // },
1191
+ },
1192
+ false: {}
1193
+ }
1194
+ },
1195
+ defaultVariants: {
1196
+ size: "md",
1197
+ variant: "default",
1198
+ responsive: !0
1199
+ }
1200
+ }), k = t({
1201
+ display: "flex",
1202
+ flexDirection: "column",
1203
+ alignItems: "flex-start",
1204
+ justifyContent: "flex-start",
1205
+ width: "100%",
1206
+ gap: e.space.md,
1207
+ "@media": {
1208
+ [o.md]: {
1209
+ flexDirection: "row",
1210
+ alignItems: "stretch",
1211
+ gap: e.space.lg
1212
+ },
1213
+ [o.lg]: {
1214
+ gap: e.space.xl
1215
+ }
1216
+ }
1217
+ }), le = {
1218
+ 1: t({
1219
+ "@media": {
1220
+ [o.md]: {
1221
+ flex: "0 0 100%",
1222
+ maxWidth: "100%"
1223
+ }
1224
+ }
1225
+ }),
1226
+ 2: t({
1227
+ "@media": {
1228
+ [o.md]: {
1229
+ flex: "0 0 50%",
1230
+ maxWidth: "50%"
1231
+ }
1232
+ }
1233
+ }),
1234
+ 3: t({
1235
+ "@media": {
1236
+ [o.md]: {
1237
+ flex: "0 0 33.333333%",
1238
+ maxWidth: "33.333333%"
1239
+ }
1240
+ }
1241
+ }),
1242
+ 4: t({
1243
+ "@media": {
1244
+ [o.md]: {
1245
+ flex: "0 0 25%",
1246
+ maxWidth: "25%"
1247
+ }
1248
+ }
1249
+ }),
1250
+ 6: t({
1251
+ "@media": {
1252
+ [o.md]: {
1253
+ flex: "0 0 16.666667%",
1254
+ maxWidth: "16.666667%"
1255
+ }
1256
+ }
1257
+ }),
1258
+ 12: t({
1259
+ "@media": {
1260
+ [o.md]: {
1261
+ flex: "0 0 8.333333%",
1262
+ maxWidth: "8.333333%"
1263
+ }
1264
+ }
1265
+ })
1266
+ }, de = i({
1267
+ base: k,
1268
+ variants: {
1269
+ align: {
1270
+ left: {
1271
+ textAlign: "left",
1272
+ justifyContent: "flex-start"
1273
+ },
1274
+ center: {
1275
+ textAlign: "center",
1276
+ justifyContent: "center"
1277
+ },
1278
+ right: {
1279
+ textAlign: "right",
1280
+ justifyContent: "flex-end"
1281
+ }
1282
+ },
1283
+ spacing: {
1284
+ none: {
1285
+ gap: "0"
1286
+ },
1287
+ sm: {
1288
+ gap: e.space.sm,
1289
+ "@media": {
1290
+ [o.md]: {
1291
+ gap: e.space.md
1292
+ }
1293
+ }
1294
+ },
1295
+ md: {
1296
+ gap: e.space.md,
1297
+ "@media": {
1298
+ [o.md]: {
1299
+ gap: e.space.lg
1300
+ }
1301
+ }
1302
+ },
1303
+ lg: {
1304
+ gap: e.space.lg,
1305
+ "@media": {
1306
+ [o.md]: {
1307
+ gap: e.space.xl
1308
+ }
1309
+ }
1310
+ }
1311
+ },
1312
+ wrap: {
1313
+ true: {
1314
+ flexWrap: "wrap"
1315
+ },
1316
+ false: {
1317
+ flexWrap: "nowrap"
1318
+ }
1319
+ },
1320
+ reverse: {
1321
+ true: {
1322
+ "@media": {
1323
+ [o.md]: {
1324
+ flexDirection: "row-reverse"
1325
+ }
1326
+ }
1327
+ },
1328
+ false: {}
1329
+ },
1330
+ alignItems: {
1331
+ start: {
1332
+ "@media": {
1333
+ [o.md]: {
1334
+ alignItems: "flex-start"
1335
+ }
1336
+ }
1337
+ },
1338
+ center: {
1339
+ "@media": {
1340
+ [o.md]: {
1341
+ alignItems: "center"
1342
+ }
1343
+ }
1344
+ },
1345
+ end: {
1346
+ "@media": {
1347
+ [o.md]: {
1348
+ alignItems: "flex-end"
1349
+ }
1350
+ }
1351
+ },
1352
+ stretch: {
1353
+ "@media": {
1354
+ [o.md]: {
1355
+ alignItems: "stretch"
1356
+ }
1357
+ }
1358
+ }
1359
+ }
1360
+ },
1361
+ defaultVariants: {
1362
+ align: "left",
1363
+ spacing: "md",
1364
+ wrap: !0,
1365
+ reverse: !1,
1366
+ alignItems: "stretch"
1367
+ }
1368
+ }), B = t({
1369
+ display: "flex",
1370
+ flexWrap: "wrap",
1371
+ gap: e.space.sm,
1372
+ paddingTop: e.space.sm,
1373
+ width: "100%",
1374
+ "@media": {
1375
+ [o.lg]: {
1376
+ gap: e.space.md,
1377
+ paddingTop: e.space.md
1378
+ }
1379
+ }
1380
+ }), ce = i({
1381
+ base: B,
1382
+ variants: {
1383
+ align: {
1384
+ left: {
1385
+ justifyContent: "flex-start",
1386
+ alignItems: "flex-start"
1387
+ },
1388
+ center: {
1389
+ justifyContent: "center",
1390
+ alignItems: "center"
1391
+ },
1392
+ right: {
1393
+ justifyContent: "flex-end",
1394
+ alignItems: "flex-end"
1395
+ }
1396
+ },
1397
+ direction: {
1398
+ row: {
1399
+ flexDirection: "row"
1400
+ },
1401
+ column: {
1402
+ flexDirection: "column"
1403
+ },
1404
+ "row-reverse": {
1405
+ flexDirection: "row-reverse"
1406
+ },
1407
+ "column-reverse": {
1408
+ flexDirection: "column-reverse"
1409
+ }
1410
+ },
1411
+ spacing: {
1412
+ none: {
1413
+ gap: "0",
1414
+ paddingTop: "0"
1415
+ },
1416
+ xs: {
1417
+ gap: e.space.xs,
1418
+ paddingTop: e.space.xs
1419
+ },
1420
+ sm: {
1421
+ gap: e.space.sm,
1422
+ paddingTop: e.space.sm
1423
+ },
1424
+ md: {
1425
+ gap: e.space.md,
1426
+ paddingTop: e.space.md
1427
+ },
1428
+ lg: {
1429
+ gap: e.space.lg,
1430
+ paddingTop: e.space.lg
1431
+ },
1432
+ xl: {
1433
+ gap: e.space.xl,
1434
+ paddingTop: e.space.xl
1435
+ }
1436
+ },
1437
+ wrap: {
1438
+ true: {
1439
+ flexWrap: "wrap"
1440
+ },
1441
+ false: {
1442
+ flexWrap: "nowrap"
1443
+ }
1444
+ },
1445
+ fullWidth: {
1446
+ true: {
1447
+ width: "100%"
1448
+ // selectors: {
1449
+ // '& > *': {
1450
+ // flex: '1',
1451
+ // },
1452
+ // },
1453
+ },
1454
+ false: {
1455
+ width: "auto"
1456
+ }
1457
+ }
1458
+ },
1459
+ defaultVariants: {
1460
+ align: "left",
1461
+ direction: "row",
1462
+ spacing: "sm",
1463
+ wrap: !0,
1464
+ fullWidth: !1
1465
+ }
1466
+ });
1467
+ l({
1468
+ "0%": { transform: "translateX(0)" },
1469
+ "100%": { transform: "translateX(var(--slide-offset))" }
1470
+ });
1471
+ const W = t({
1472
+ position: "relative",
1473
+ overflow: "hidden",
1474
+ width: "100%"
1475
+ }), pe = t({
1476
+ width: "100%",
1477
+ position: "relative"
1478
+ }), ge = t({
1479
+ display: "flex",
1480
+ position: "relative",
1481
+ transition: "transform 0.3s ease-in-out",
1482
+ willChange: "transform"
1483
+ }), me = t({
1484
+ width: "100%",
1485
+ display: "flex",
1486
+ position: "relative",
1487
+ alignItems: "stretch",
1488
+ flexShrink: 0
1489
+ }), fe = t({
1490
+ position: "absolute",
1491
+ bottom: 0,
1492
+ left: 0,
1493
+ right: 0,
1494
+ zIndex: 30,
1495
+ width: "100%",
1496
+ maxWidth: e.maxWidth,
1497
+ display: "flex",
1498
+ justifyContent: "flex-end",
1499
+ pointerEvents: "none",
1500
+ gap: e.space.sm,
1501
+ padding: e.space.md
1502
+ }), xe = t({
1503
+ border: "none",
1504
+ borderRadius: e.radii.full,
1505
+ backgroundColor: e.colors.background,
1506
+ color: e.colors.text,
1507
+ padding: e.space.sm,
1508
+ cursor: "pointer",
1509
+ pointerEvents: "auto",
1510
+ transition: "all 0.3s ease-in-out",
1511
+ boxShadow: e.shadows.md,
1512
+ display: "flex",
1513
+ alignItems: "center",
1514
+ justifyContent: "center",
1515
+ width: "48px",
1516
+ height: "48px"
1517
+ // ':hover': {
1518
+ // transform: 'scale(1.1)',
1519
+ // backgroundColor: themeContract.colors.primary,
1520
+ // color: themeContract.colors.background,
1521
+ // },
1522
+ // ':focus': {
1523
+ // outline: '2px solid',
1524
+ // outlineColor: themeContract.colors.primary,
1525
+ // outlineOffset: '2px',
1526
+ // },
1527
+ // ':disabled': {
1528
+ // opacity: '0.5',
1529
+ // cursor: 'not-allowed',
1530
+ // transform: 'none',
1531
+ // },
1532
+ // selectors: {
1533
+ // ':disabled:hover': {
1534
+ // transform: 'none',
1535
+ // backgroundColor: themeContract.colors.background,
1536
+ // color: themeContract.colors.text,
1537
+ // },
1538
+ // },
1539
+ }), ue = t({
1540
+ display: "flex",
1541
+ alignItems: "center",
1542
+ justifyContent: "center",
1543
+ gap: e.space.md,
1544
+ marginTop: e.space.lg,
1545
+ "@media": {
1546
+ [o.lg]: {
1547
+ marginTop: e.space.xl
1548
+ }
1549
+ }
1550
+ }), he = t({
1551
+ width: "12px",
1552
+ height: "12px",
1553
+ borderRadius: e.radii.full,
1554
+ backgroundColor: e.colors.border,
1555
+ cursor: "pointer",
1556
+ transition: "all 0.3s ease-in-out",
1557
+ border: "none",
1558
+ ":hover": {
1559
+ transform: "scale(1.2)",
1560
+ backgroundColor: e.colors.primary
1561
+ },
1562
+ ":focus": {
1563
+ outline: "2px solid",
1564
+ outlineColor: e.colors.primary,
1565
+ outlineOffset: "2px"
1566
+ },
1567
+ "@media": {
1568
+ [o.md]: {
1569
+ width: "16px",
1570
+ height: "16px"
1571
+ }
1572
+ }
1573
+ }), be = i({
1574
+ base: W,
1575
+ variants: {
1576
+ fullWidth: {
1577
+ true: {
1578
+ width: "100vw",
1579
+ marginLeft: `calc((100vw - ${e.maxWidth}) / -2)`,
1580
+ marginRight: `calc((100vw - ${e.maxWidth}) / -2)`,
1581
+ "@media": {
1582
+ "screen and (max-width: 1500px)": {
1583
+ marginLeft: `calc(-1 * ${e.space.md})`,
1584
+ marginRight: `calc(-1 * ${e.space.md})`
1585
+ },
1586
+ [o.md]: {
1587
+ marginLeft: `calc(-1 * ${e.space.lg})`,
1588
+ marginRight: `calc(-1 * ${e.space.lg})`
1589
+ },
1590
+ [o.lg]: {
1591
+ marginLeft: `calc(-1 * ${e.space.xl})`,
1592
+ marginRight: `calc(-1 * ${e.space.xl})`
1593
+ }
1594
+ }
1595
+ },
1596
+ false: {
1597
+ width: "100%"
1598
+ }
1599
+ }
1600
+ },
1601
+ defaultVariants: {
1602
+ fullWidth: !1
1603
+ }
1604
+ }), ye = t({
1605
+ backgroundColor: e.colors.primary,
1606
+ pointerEvents: "none",
1607
+ opacity: 1
1608
+ }), R = l({
1609
+ from: { opacity: "0" },
1610
+ to: { opacity: "1" }
1611
+ }), I = l({
1612
+ from: {
1613
+ opacity: "0",
1614
+ transform: "translateY(100%)"
1615
+ },
1616
+ to: {
1617
+ opacity: "1",
1618
+ transform: "translateY(0)"
1619
+ }
1620
+ }), $ = t({
1621
+ position: "fixed",
1622
+ top: 0,
1623
+ left: 0,
1624
+ right: 0,
1625
+ bottom: 0,
1626
+ zIndex: 100,
1627
+ animation: `${R} 0.3s ease-out`,
1628
+ "::before": {
1629
+ content: '""',
1630
+ position: "fixed",
1631
+ top: 0,
1632
+ left: 0,
1633
+ right: 0,
1634
+ bottom: 0,
1635
+ backgroundColor: "rgba(0, 0, 0, 0.3)",
1636
+ backdropFilter: "blur(2px)",
1637
+ opacity: 0.8
1638
+ }
1639
+ }), we = t({
1640
+ // position: 'fixed',
1641
+ bottom: e.space.md,
1642
+ right: e.space.md,
1643
+ zIndex: 20,
1644
+ display: "flex",
1645
+ flexDirection: "column",
1646
+ backgroundColor: e.colors.background,
1647
+ border: `1px solid ${e.colors.border}`,
1648
+ borderRadius: e.radii.lg,
1649
+ boxShadow: e.shadows.xl,
1650
+ padding: e.space.lg,
1651
+ width: "300px",
1652
+ maxWidth: "calc(100vw - 32px)",
1653
+ animation: `${I} 0.3s ease-out`,
1654
+ "@media": {
1655
+ [o.sm]: {
1656
+ width: "400px"
1657
+ },
1658
+ [o.md]: {
1659
+ width: "500px",
1660
+ padding: e.space.xl
1661
+ }
1662
+ }
1663
+ }), ve = t({
1664
+ display: "flex",
1665
+ alignItems: "center",
1666
+ justifyContent: "flex-end",
1667
+ gap: e.space.md,
1668
+ marginTop: e.space.lg,
1669
+ flexWrap: "wrap",
1670
+ "@media": {
1671
+ [o.sm]: {
1672
+ flexWrap: "nowrap"
1673
+ }
1674
+ }
1675
+ }), ze = i({
1676
+ base: $,
1677
+ variants: {
1678
+ // position: {
1679
+ // 'bottom-right': {},
1680
+ // 'bottom-left': {
1681
+ // // selectors: {
1682
+ // // '& > div': {
1683
+ // // left: themeContract.space.md,
1684
+ // // right: 'auto',
1685
+ // // },
1686
+ // // },
1687
+ // },
1688
+ // 'bottom-center': {
1689
+ // // selectors: {
1690
+ // // '& > div': {
1691
+ // // left: '50%',
1692
+ // // right: 'auto',
1693
+ // // transform: 'translateX(-50%)',
1694
+ // // },
1695
+ // // },
1696
+ // },
1697
+ // 'top-right': {
1698
+ // // selectors: {
1699
+ // // '& > div': {
1700
+ // // top: themeContract.space.md,
1701
+ // // bottom: 'auto',
1702
+ // // },
1703
+ // // },
1704
+ // },
1705
+ // 'top-left': {
1706
+ // // selectors: {
1707
+ // // '& > div': {
1708
+ // // top: themeContract.space.md,
1709
+ // // bottom: 'auto',
1710
+ // // left: themeContract.space.md,
1711
+ // // right: 'auto',
1712
+ // // },
1713
+ // // },
1714
+ // },
1715
+ // 'top-center': {
1716
+ // // selectors: {
1717
+ // // '& > div': {
1718
+ // // top: themeContract.space.md,
1719
+ // // bottom: 'auto',
1720
+ // // left: '50%',
1721
+ // // right: 'auto',
1722
+ // // transform: 'translateX(-50%)',
1723
+ // // },
1724
+ // // },
1725
+ // },
1726
+ // },
1727
+ variant: {
1728
+ modal: {},
1729
+ banner: {
1730
+ "::before": {
1731
+ display: "none"
1732
+ }
1733
+ // selectors: {
1734
+ // '& > div': {
1735
+ // position: 'static',
1736
+ // width: '100%',
1737
+ // maxWidth: 'none',
1738
+ // borderRadius: 0,
1739
+ // bottom: 'auto',
1740
+ // right: 'auto',
1741
+ // },
1742
+ // },
1743
+ }
1744
+ }
1745
+ },
1746
+ defaultVariants: {
1747
+ // position: 'bottom-right',
1748
+ variant: "modal"
1749
+ }
1750
+ }), T = t({
1751
+ display: "flex",
1752
+ flexDirection: "column",
1753
+ alignItems: "center",
1754
+ textAlign: "center",
1755
+ color: e.colors.text
1756
+ }), Ce = t({
1757
+ fontSize: e.fontSizes.lg,
1758
+ paddingBottom: e.space.md,
1759
+ fontWeight: "400",
1760
+ "@media": {
1761
+ [o.lg]: {
1762
+ paddingBottom: e.space.lg
1763
+ }
1764
+ }
1765
+ // selectors: {
1766
+ // '& span': {
1767
+ // fontSize: themeContract.fontSizes['4xl'],
1768
+ // lineHeight: themeContract.lineHeights.tight,
1769
+ // fontWeight: 'bold',
1770
+ // display: 'inline-block',
1771
+ // '@media': {
1772
+ // [queries.md]: {
1773
+ // fontSize: '3rem',
1774
+ // },
1775
+ // [queries.lg]: {
1776
+ // fontSize: '4rem',
1777
+ // },
1778
+ // },
1779
+ // },
1780
+ // },
1781
+ }), Se = t({
1782
+ fontSize: e.fontSizes.md,
1783
+ color: e.colors.textSecondary,
1784
+ lineHeight: e.lineHeights.normal,
1785
+ margin: 0,
1786
+ "@media": {
1787
+ [o.md]: {
1788
+ fontSize: e.fontSizes.lg
1789
+ }
1790
+ }
1791
+ }), ke = i({
1792
+ base: T,
1793
+ variants: {
1794
+ size: {
1795
+ sm: {
1796
+ // selectors: {
1797
+ // [`& .${keyNumberValue}`]: {
1798
+ // fontSize: themeContract.fontSizes.md,
1799
+ // },
1800
+ // [`& .${keyNumberValue} span`]: {
1801
+ // fontSize: themeContract.fontSizes['2xl'],
1802
+ // },
1803
+ // [`& .${keyNumberLabel}`]: {
1804
+ // fontSize: themeContract.fontSizes.sm,
1805
+ // },
1806
+ // },
1807
+ },
1808
+ md: {},
1809
+ lg: {
1810
+ // selectors: {
1811
+ // [`& .${keyNumberValue}`]: {
1812
+ // fontSize: themeContract.fontSizes.xl,
1813
+ // },
1814
+ // [`& .${keyNumberValue} span`]: {
1815
+ // fontSize: '5rem',
1816
+ // '@media': {
1817
+ // [queries.lg]: {
1818
+ // fontSize: '6rem',
1819
+ // },
1820
+ // },
1821
+ // },
1822
+ // [`& .${keyNumberLabel}`]: {
1823
+ // fontSize: themeContract.fontSizes.xl,
1824
+ // },
1825
+ // },
1826
+ }
1827
+ },
1828
+ variant: {
1829
+ default: {},
1830
+ highlighted: {
1831
+ padding: e.space.lg,
1832
+ backgroundColor: e.colors.surface,
1833
+ borderRadius: e.radii.lg,
1834
+ boxShadow: e.shadows.md
1835
+ },
1836
+ outlined: {
1837
+ padding: e.space.lg,
1838
+ border: `2px solid ${e.colors.border}`,
1839
+ borderRadius: e.radii.lg
1840
+ }
1841
+ },
1842
+ align: {
1843
+ left: {
1844
+ alignItems: "flex-start",
1845
+ textAlign: "left"
1846
+ },
1847
+ center: {
1848
+ alignItems: "center",
1849
+ textAlign: "center"
1850
+ },
1851
+ right: {
1852
+ alignItems: "flex-end",
1853
+ textAlign: "right"
1854
+ }
1855
+ }
1856
+ // color: {
1857
+ // default: {},
1858
+ // primary: {
1859
+ // // selectors: {
1860
+ // // [`& .${keyNumberValue} span`]: {
1861
+ // // color: themeContract.colors.primary,
1862
+ // // },
1863
+ // // },
1864
+ // },
1865
+ // accent: {
1866
+ // // selectors: {
1867
+ // // [`& .${keyNumberValue} span`]: {
1868
+ // // color: themeContract.colors.accent,
1869
+ // // },
1870
+ // // },
1871
+ // },
1872
+ // success: {
1873
+ // // selectors: {
1874
+ // // [`& .${keyNumberValue} span`]: {
1875
+ // // color: themeContract.colors.success,
1876
+ // // },
1877
+ // // },
1878
+ // },
1879
+ // },
1880
+ },
1881
+ defaultVariants: {
1882
+ size: "md",
1883
+ variant: "default",
1884
+ align: "center"
1885
+ // color: 'default',
1886
+ }
1887
+ }), D = t({
1888
+ display: "flex",
1889
+ alignItems: "center",
1890
+ gap: e.space.md,
1891
+ "@media": {
1892
+ [o.md]: {
1893
+ gap: e.space.lg
1894
+ }
1895
+ }
1896
+ }), Be = t({
1897
+ display: "flex",
1898
+ alignItems: "center",
1899
+ justifyContent: "center",
1900
+ textDecoration: "none",
1901
+ color: "inherit",
1902
+ transition: "all 0.3s ease-in-out",
1903
+ borderRadius: e.radii.full,
1904
+ padding: e.space.xs
1905
+ // ':hover': {
1906
+ // transform: 'translateY(-2px) scale(1.1)',
1907
+ // color: themeContract.colors.primary,
1908
+ // },
1909
+ // ':focus': {
1910
+ // outline: '2px solid',
1911
+ // outlineColor: themeContract.colors.primary,
1912
+ // outlineOffset: '2px',
1913
+ // },
1914
+ // ':active': {
1915
+ // transform: 'translateY(0) scale(1.05)',
1916
+ // },
1917
+ }), We = i({
1918
+ base: D,
1919
+ variants: {
1920
+ orientation: {
1921
+ horizontal: {
1922
+ flexDirection: "row"
1923
+ },
1924
+ vertical: {
1925
+ flexDirection: "column"
1926
+ }
1927
+ },
1928
+ size: {
1929
+ sm: {
1930
+ gap: e.space.sm
1931
+ // selectors: {
1932
+ // [`& .${navSocialLink}`]: {
1933
+ // padding: themeContract.space.xs,
1934
+ // },
1935
+ // },
1936
+ },
1937
+ md: {
1938
+ gap: e.space.md
1939
+ },
1940
+ lg: {
1941
+ gap: e.space.lg
1942
+ // selectors: {
1943
+ // [`& .${navSocialLink}`]: {
1944
+ // padding: themeContract.space.sm,
1945
+ // },
1946
+ // },
1947
+ }
1948
+ },
1949
+ variant: {
1950
+ default: {},
1951
+ rounded: {
1952
+ // selectors: {
1953
+ // [`& .${navSocialLink}`]: {
1954
+ // backgroundColor: themeContract.colors.surface,
1955
+ // borderRadius: themeContract.radii.full,
1956
+ // width: '40px',
1957
+ // height: '40px',
1958
+ // },
1959
+ // [`& .${navSocialLink}:hover`]: {
1960
+ // backgroundColor: themeContract.colors.primary,
1961
+ // color: themeContract.colors.background,
1962
+ // },
1963
+ // },
1964
+ },
1965
+ outlined: {
1966
+ // selectors: {
1967
+ // [`& .${navSocialLink}`]: {
1968
+ // border: `1px solid ${themeContract.colors.border}`,
1969
+ // borderRadius: themeContract.radii.md,
1970
+ // width: '40px',
1971
+ // height: '40px',
1972
+ // },
1973
+ // [`& .${navSocialLink}:hover`]: {
1974
+ // borderColor: themeContract.colors.primary,
1975
+ // backgroundColor: themeContract.colors.primary,
1976
+ // color: themeContract.colors.background,
1977
+ // },
1978
+ // },
1979
+ }
1980
+ }
1981
+ },
1982
+ defaultVariants: {
1983
+ orientation: "horizontal",
1984
+ size: "md",
1985
+ variant: "default"
1986
+ }
1987
+ }), j = t({
1988
+ display: "flex",
1989
+ alignItems: "center",
1990
+ gap: e.space.md,
1991
+ fontSize: e.fontSizes.sm,
1992
+ color: e.colors.textSecondary,
1993
+ flexDirection: "column",
1994
+ "@media": {
1995
+ [o.md]: {
1996
+ flexDirection: "row",
1997
+ gap: e.space.lg
1998
+ }
1999
+ }
2000
+ // selectors: {
2001
+ // '& a': {
2002
+ // color: 'inherit',
2003
+ // textDecoration: 'none',
2004
+ // transition: 'all 0.3s ease-in-out',
2005
+ // borderRadius: themeContract.radii.sm,
2006
+ // padding: `${themeContract.space.xs} ${themeContract.space.sm}`,
2007
+ // },
2008
+ // '& a:hover': {
2009
+ // color: themeContract.colors.primary,
2010
+ // backgroundColor: themeContract.colors.surface,
2011
+ // },
2012
+ // '& a:focus': {
2013
+ // outline: '2px solid',
2014
+ // outlineColor: themeContract.colors.primary,
2015
+ // outlineOffset: '2px',
2016
+ // },
2017
+ // },
2018
+ }), Re = i({
2019
+ base: j,
2020
+ variants: {
2021
+ orientation: {
2022
+ horizontal: {
2023
+ flexDirection: "row"
2024
+ },
2025
+ vertical: {
2026
+ flexDirection: "column",
2027
+ alignItems: "flex-start"
2028
+ },
2029
+ responsive: {
2030
+ flexDirection: "column",
2031
+ alignItems: "flex-start",
2032
+ "@media": {
2033
+ [o.md]: {
2034
+ flexDirection: "row",
2035
+ alignItems: "center"
2036
+ }
2037
+ }
2038
+ }
2039
+ },
2040
+ size: {
2041
+ sm: {
2042
+ fontSize: e.fontSizes.xs,
2043
+ gap: e.space.sm
2044
+ },
2045
+ md: {
2046
+ fontSize: e.fontSizes.sm,
2047
+ gap: e.space.md
2048
+ },
2049
+ lg: {
2050
+ fontSize: e.fontSizes.md,
2051
+ gap: e.space.lg
2052
+ }
2053
+ },
2054
+ variant: {
2055
+ default: {},
2056
+ compact: {
2057
+ gap: e.space.sm
2058
+ // selectors: {
2059
+ // '& a': {
2060
+ // padding: `${themeContract.space.xs} ${themeContract.space.xs}`,
2061
+ // },
2062
+ // },
2063
+ },
2064
+ spacious: {
2065
+ gap: e.space.xl
2066
+ // selectors: {
2067
+ // '& a': {
2068
+ // padding: `${themeContract.space.sm} ${themeContract.space.md}`,
2069
+ // },
2070
+ // },
2071
+ }
2072
+ },
2073
+ align: {
2074
+ left: {
2075
+ justifyContent: "flex-start"
2076
+ },
2077
+ center: {
2078
+ justifyContent: "center"
2079
+ },
2080
+ right: {
2081
+ justifyContent: "flex-end"
2082
+ }
2083
+ }
2084
+ },
2085
+ defaultVariants: {
2086
+ orientation: "responsive",
2087
+ size: "md",
2088
+ variant: "default",
2089
+ align: "left"
2090
+ }
2091
+ }), H = t({
2092
+ position: "relative",
2093
+ display: "inline-flex",
2094
+ alignItems: "center"
2095
+ }), Ie = t({
2096
+ appearance: "none",
2097
+ background: "transparent",
2098
+ border: `1px solid ${e.colors.border}`,
2099
+ borderRadius: e.radii.md,
2100
+ padding: `${e.space.sm} ${e.space.md}`,
2101
+ paddingRight: e.space.xl,
2102
+ fontSize: e.fontSizes.sm,
2103
+ fontFamily: e.fonts.body,
2104
+ color: e.colors.text,
2105
+ cursor: "pointer",
2106
+ transition: "all 0.3s ease-in-out",
2107
+ minWidth: "120px"
2108
+ // ':hover': {
2109
+ // borderColor: themeContract.colors.primary,
2110
+ // backgroundColor: themeContract.colors.surface,
2111
+ // },
2112
+ // ':focus': {
2113
+ // outline: '2px solid',
2114
+ // outlineColor: themeContract.colors.primary,
2115
+ // outlineOffset: '2px',
2116
+ // borderColor: themeContract.colors.primary,
2117
+ // },
2118
+ // ':disabled': {
2119
+ // opacity: '0.5',
2120
+ // cursor: 'not-allowed',
2121
+ // },
2122
+ }), $e = t({
2123
+ position: "absolute",
2124
+ right: e.space.sm,
2125
+ top: "50%",
2126
+ transform: "translateY(-50%)",
2127
+ pointerEvents: "none",
2128
+ color: e.colors.textSecondary,
2129
+ transition: "transform 0.2s ease-in-out"
2130
+ // selectors: {
2131
+ // [`${languageSwitcherSelect}:focus + &`]: {
2132
+ // color: themeContract.colors.primary,
2133
+ // transform: 'translateY(-50%) rotate(180deg)',
2134
+ // },
2135
+ // },
2136
+ }), Te = i({
2137
+ base: H,
2138
+ variants: {
2139
+ variant: {
2140
+ default: {},
2141
+ minimal: {
2142
+ // selectors: {
2143
+ // [`& .${languageSwitcherSelect}`]: {
2144
+ // border: 'none',
2145
+ // borderRadius: 0,
2146
+ // borderBottom: `1px solid ${themeContract.colors.border}`,
2147
+ // paddingLeft: 0,
2148
+ // paddingRight: themeContract.space.lg,
2149
+ // backgroundColor: 'transparent',
2150
+ // },
2151
+ // },
2152
+ },
2153
+ outlined: {},
2154
+ filled: {
2155
+ // selectors: {
2156
+ // [`& .${languageSwitcherSelect}`]: {
2157
+ // backgroundColor: themeContract.colors.surface,
2158
+ // border: 'none',
2159
+ // },
2160
+ // },
2161
+ }
2162
+ },
2163
+ size: {
2164
+ sm: {
2165
+ // selectors: {
2166
+ // [`& .${languageSwitcherSelect}`]: {
2167
+ // padding: `${themeContract.space.xs} ${themeContract.space.sm}`,
2168
+ // paddingRight: themeContract.space.lg,
2169
+ // fontSize: themeContract.fontSizes.xs,
2170
+ // minWidth: '100px',
2171
+ // },
2172
+ // },
2173
+ },
2174
+ md: {},
2175
+ lg: {
2176
+ // selectors: {
2177
+ // [`& .${languageSwitcherSelect}`]: {
2178
+ // padding: `${themeContract.space.md} ${themeContract.space.lg}`,
2179
+ // paddingRight: '48px',
2180
+ // fontSize: themeContract.fontSizes.md,
2181
+ // minWidth: '140px',
2182
+ // },
2183
+ // },
2184
+ }
2185
+ }
2186
+ },
2187
+ defaultVariants: {
2188
+ variant: "default",
2189
+ size: "md"
2190
+ }
2191
+ }), F = t({
2192
+ position: "relative",
2193
+ overflow: "hidden",
2194
+ backgroundColor: e.colors.background
2195
+ }), De = t({
2196
+ top: "50%",
2197
+ left: "50%",
2198
+ width: "auto",
2199
+ minWidth: "100%",
2200
+ minHeight: "100%",
2201
+ position: "absolute",
2202
+ transform: "translate(-50%, -50%)"
2203
+ }), je = t({
2204
+ top: 0,
2205
+ left: 0,
2206
+ width: "100%",
2207
+ height: "100%",
2208
+ position: "absolute",
2209
+ opacity: 1,
2210
+ transition: "opacity 0.3s ease-in-out",
2211
+ pointerEvents: "auto"
2212
+ // selectors: {
2213
+ // '&[data-playing="true"]': {
2214
+ // opacity: 0,
2215
+ // pointerEvents: 'none',
2216
+ // },
2217
+ // },
2218
+ }), He = t({
2219
+ width: "100%",
2220
+ height: "100%",
2221
+ minWidth: "100%",
2222
+ minHeight: "100%",
2223
+ objectFit: "cover"
2224
+ }), Fe = t({
2225
+ position: "absolute",
2226
+ top: "50%",
2227
+ left: "50%",
2228
+ transform: "translate(-50%, -50%)",
2229
+ border: "none",
2230
+ borderRadius: e.radii.full,
2231
+ backgroundColor: "rgba(0, 0, 0, 0.7)",
2232
+ color: e.colors.background,
2233
+ cursor: "pointer",
2234
+ transition: "all 0.3s ease-in-out",
2235
+ display: "flex",
2236
+ alignItems: "center",
2237
+ justifyContent: "center",
2238
+ opacity: 1,
2239
+ pointerEvents: "auto",
2240
+ ":hover": {
2241
+ backgroundColor: "rgba(0, 0, 0, 0.9)",
2242
+ transform: "translate(-50%, -50%) scale(1.1)"
2243
+ },
2244
+ ":focus": {
2245
+ outline: "2px solid",
2246
+ outlineColor: e.colors.primary,
2247
+ outlineOffset: "2px"
2248
+ }
2249
+ // selectors: {
2250
+ // '&[data-playing="true"]': {
2251
+ // opacity: 0,
2252
+ // pointerEvents: 'none',
2253
+ // },
2254
+ // '&[data-hidden="true"]': {
2255
+ // display: 'none',
2256
+ // },
2257
+ // },
2258
+ }), d = t({
2259
+ position: "absolute",
2260
+ border: "none",
2261
+ borderRadius: e.radii.md,
2262
+ backgroundColor: "rgba(0, 0, 0, 0.7)",
2263
+ color: e.colors.background,
2264
+ cursor: "pointer",
2265
+ transition: "all 0.3s ease-in-out",
2266
+ display: "flex",
2267
+ alignItems: "center",
2268
+ justifyContent: "center"
2269
+ // ':hover': {
2270
+ // backgroundColor: 'rgba(0, 0, 0, 0.9)',
2271
+ // },
2272
+ // ':focus': {
2273
+ // outline: '2px solid',
2274
+ // outlineColor: themeContract.colors.primary,
2275
+ // outlineOffset: '2px',
2276
+ // },
2277
+ }), Le = t([
2278
+ d,
2279
+ {
2280
+ top: e.space.md,
2281
+ right: e.space.md,
2282
+ width: "40px",
2283
+ height: "40px",
2284
+ "@media": {
2285
+ "screen and (min-width: 768px)": {
2286
+ width: "48px",
2287
+ height: "48px",
2288
+ top: e.space.lg,
2289
+ right: e.space.lg
2290
+ }
2291
+ }
2292
+ }
2293
+ ]), Ve = t([
2294
+ d,
2295
+ {
2296
+ bottom: e.space.md,
2297
+ right: "80px",
2298
+ width: "40px",
2299
+ height: "40px",
2300
+ "@media": {
2301
+ "screen and (min-width: 768px)": {
2302
+ width: "48px",
2303
+ height: "48px",
2304
+ bottom: e.space.lg,
2305
+ right: "100px"
2306
+ }
2307
+ }
2308
+ }
2309
+ ]), Ae = t([
2310
+ d,
2311
+ {
2312
+ bottom: e.space.md,
2313
+ right: e.space.md,
2314
+ width: "40px",
2315
+ height: "40px",
2316
+ "@media": {
2317
+ "screen and (min-width: 768px)": {
2318
+ width: "48px",
2319
+ height: "48px",
2320
+ bottom: e.space.lg,
2321
+ right: e.space.lg
2322
+ }
2323
+ }
2324
+ }
2325
+ ]), Me = i({
2326
+ base: F,
2327
+ variants: {
2328
+ size: {
2329
+ sm: {
2330
+ width: "300px",
2331
+ height: "200px"
2332
+ },
2333
+ md: {
2334
+ width: "500px",
2335
+ height: "300px"
2336
+ },
2337
+ lg: {
2338
+ width: "800px",
2339
+ height: "450px"
2340
+ },
2341
+ fullWidth: {
2342
+ width: "100vw",
2343
+ height: 0,
2344
+ paddingBottom: "56.25%",
2345
+ // 16:9 aspect ratio
2346
+ position: "relative"
2347
+ }
2348
+ },
2349
+ aspectRatio: {
2350
+ "16:9": {
2351
+ aspectRatio: "16/9"
2352
+ },
2353
+ "4:3": {
2354
+ aspectRatio: "4/3"
2355
+ },
2356
+ "1:1": {
2357
+ aspectRatio: "1/1"
2358
+ }
2359
+ }
2360
+ },
2361
+ defaultVariants: {
2362
+ size: "md",
2363
+ aspectRatio: "16:9"
2364
+ }
2365
+ }), L = t({
2366
+ height: 0,
2367
+ width: "100vw",
2368
+ overflow: "hidden",
2369
+ position: "relative",
2370
+ paddingBottom: "56.25%",
2371
+ // 16:9 aspect ratio
2372
+ backgroundColor: e.colors.background,
2373
+ // Break out of container padding
2374
+ marginLeft: "calc(-50vw + 50%)",
2375
+ marginRight: "calc(-50vw + 50%)",
2376
+ "@media": {
2377
+ "screen and (min-width: 768px)": {
2378
+ marginLeft: "calc(-50vw + 50%)",
2379
+ marginRight: "calc(-50vw + 50%)"
2380
+ }
2381
+ }
2382
+ }), Ee = i({
2383
+ base: L,
2384
+ variants: {
2385
+ aspectRatio: {
2386
+ "16:9": {
2387
+ paddingBottom: "56.25%"
2388
+ },
2389
+ "4:3": {
2390
+ paddingBottom: "75%"
2391
+ },
2392
+ "1:1": {
2393
+ paddingBottom: "100%"
2394
+ },
2395
+ "21:9": {
2396
+ paddingBottom: "42.86%"
2397
+ }
2398
+ }
2399
+ },
2400
+ defaultVariants: {
2401
+ aspectRatio: "16:9"
2402
+ }
2403
+ }), V = t({
2404
+ width: "100%",
2405
+ backgroundColor: "transparent"
2406
+ }), Oe = i({
2407
+ base: V,
2408
+ variants: {
2409
+ spacing: {
2410
+ none: {
2411
+ gap: 0
2412
+ },
2413
+ sm: {
2414
+ display: "flex",
2415
+ flexDirection: "column",
2416
+ gap: e.space.sm
2417
+ },
2418
+ md: {
2419
+ display: "flex",
2420
+ flexDirection: "column",
2421
+ gap: e.space.md
2422
+ },
2423
+ lg: {
2424
+ display: "flex",
2425
+ flexDirection: "column",
2426
+ gap: e.space.lg
2427
+ },
2428
+ xl: {
2429
+ display: "flex",
2430
+ flexDirection: "column",
2431
+ gap: e.space.xl
2432
+ }
2433
+ },
2434
+ layout: {
2435
+ stacked: {
2436
+ display: "flex",
2437
+ flexDirection: "column"
2438
+ },
2439
+ inline: {
2440
+ display: "flex",
2441
+ flexDirection: "row",
2442
+ flexWrap: "wrap",
2443
+ alignItems: "flex-end"
2444
+ },
2445
+ grid: {
2446
+ display: "grid",
2447
+ gridTemplateColumns: "repeat(auto-fit, minmax(250px, 1fr))",
2448
+ gap: e.space.md
2449
+ }
2450
+ }
2451
+ },
2452
+ defaultVariants: {
2453
+ spacing: "md",
2454
+ layout: "stacked"
2455
+ }
2456
+ }), A = t({
2457
+ display: "flex",
2458
+ width: "100%"
2459
+ }), Ye = i({
2460
+ base: A,
2461
+ variants: {
2462
+ align: {
2463
+ left: {
2464
+ justifyContent: "flex-start",
2465
+ textAlign: "left"
2466
+ },
2467
+ center: {
2468
+ justifyContent: "center",
2469
+ textAlign: "center"
2470
+ },
2471
+ right: {
2472
+ justifyContent: "flex-end",
2473
+ textAlign: "right"
2474
+ }
2475
+ },
2476
+ variant: {
2477
+ default: {
2478
+ flexDirection: "column",
2479
+ gap: e.space.sm
2480
+ },
2481
+ actions: {
2482
+ flexDirection: "row",
2483
+ alignItems: "center",
2484
+ gap: e.space.md,
2485
+ marginTop: e.space.lg
2486
+ },
2487
+ message: {
2488
+ flexDirection: "column",
2489
+ padding: e.space.md,
2490
+ backgroundColor: e.colors.surface,
2491
+ borderRadius: e.radii.md,
2492
+ border: `1px solid ${e.colors.border}`
2493
+ }
2494
+ },
2495
+ spacing: {
2496
+ none: {
2497
+ gap: 0
2498
+ },
2499
+ sm: {
2500
+ gap: e.space.sm
2501
+ },
2502
+ md: {
2503
+ gap: e.space.md
2504
+ },
2505
+ lg: {
2506
+ gap: e.space.lg
2507
+ }
2508
+ }
2509
+ },
2510
+ defaultVariants: {
2511
+ align: "left",
2512
+ variant: "default",
2513
+ spacing: "sm"
2514
+ }
2515
+ }), M = t({
2516
+ display: "flex",
2517
+ flexDirection: "column",
2518
+ width: "100%",
2519
+ gap: e.space.xs
2520
+ }), Ne = t({
2521
+ fontFamily: e.fonts.body,
2522
+ fontSize: e.fontSizes.sm,
2523
+ fontWeight: e.fontWeights.medium,
2524
+ color: e.colors.text,
2525
+ lineHeight: e.lineHeights.tight
2526
+ // selectors: {
2527
+ // '&[data-required="true"]': {
2528
+ // selectors: {
2529
+ // '&::after': {
2530
+ // content: ' *',
2531
+ // color: themeContract.colors.error,
2532
+ // },
2533
+ // },
2534
+ // },
2535
+ // },
2536
+ }), E = t({
2537
+ appearance: "none",
2538
+ backgroundColor: e.colors.background,
2539
+ border: `1px solid ${e.colors.border}`,
2540
+ borderRadius: e.radii.md,
2541
+ color: e.colors.text,
2542
+ fontFamily: e.fonts.body,
2543
+ fontSize: e.fontSizes.sm,
2544
+ lineHeight: e.lineHeights.normal,
2545
+ padding: `${e.space.sm} ${e.space.md}`,
2546
+ transition: "all 0.2s ease-in-out",
2547
+ width: "100%",
2548
+ "::placeholder": {
2549
+ color: e.colors.textSecondary
2550
+ },
2551
+ ":hover": {
2552
+ borderColor: e.colors.primary
2553
+ },
2554
+ ":focus": {
2555
+ outline: "2px solid",
2556
+ outlineColor: e.colors.primary,
2557
+ outlineOffset: "2px",
2558
+ borderColor: e.colors.primary
2559
+ },
2560
+ ":disabled": {
2561
+ backgroundColor: e.colors.surface,
2562
+ color: e.colors.textSecondary,
2563
+ cursor: "not-allowed",
2564
+ opacity: "0.6"
2565
+ }
2566
+ // selectors: {
2567
+ // '&[data-error="true"]': {
2568
+ // borderColor: themeContract.colors.error,
2569
+ // },
2570
+ // '&[data-error="true"]:focus': {
2571
+ // outlineColor: themeContract.colors.error,
2572
+ // borderColor: themeContract.colors.error,
2573
+ // },
2574
+ // },
2575
+ }), Pe = t([
2576
+ E,
2577
+ {
2578
+ resize: "vertical",
2579
+ minHeight: "80px"
2580
+ }
2581
+ ]), Ue = t({
2582
+ display: "flex",
2583
+ flexDirection: "column",
2584
+ gap: e.space.xs
2585
+ }), Xe = t({
2586
+ color: e.colors.error,
2587
+ fontSize: e.fontSizes.xs,
2588
+ lineHeight: e.lineHeights.tight,
2589
+ fontFamily: e.fonts.body
2590
+ }), qe = i({
2591
+ base: M,
2592
+ variants: {
2593
+ size: {
2594
+ sm: {
2595
+ gap: e.space.xs
2596
+ // selectors: {
2597
+ // [`& .${labelBase}`]: {
2598
+ // fontSize: themeContract.fontSizes.xs,
2599
+ // },
2600
+ // [`& .${inputBase}`]: {
2601
+ // fontSize: themeContract.fontSizes.xs,
2602
+ // padding: `${themeContract.space.xs} ${themeContract.space.sm}`,
2603
+ // },
2604
+ // },
2605
+ },
2606
+ md: {},
2607
+ lg: {
2608
+ gap: e.space.sm
2609
+ // selectors: {
2610
+ // [`& .${labelBase}`]: {
2611
+ // fontSize: themeContract.fontSizes.md,
2612
+ // },
2613
+ // [`& .${inputBase}`]: {
2614
+ // fontSize: themeContract.fontSizes.md,
2615
+ // padding: `${themeContract.space.md} ${themeContract.space.lg}`,
2616
+ // },
2617
+ // },
2618
+ }
2619
+ }
2620
+ },
2621
+ defaultVariants: {
2622
+ size: "md"
2623
+ }
2624
+ }), O = t({
2625
+ fontFamily: e.fonts.body,
2626
+ fontSize: e.fontSizes.sm,
2627
+ fontWeight: e.fontWeights.medium,
2628
+ color: e.colors.text,
2629
+ lineHeight: e.lineHeights.tight,
2630
+ width: "100%",
2631
+ textAlign: "left",
2632
+ paddingBottom: e.space.xs
2633
+ // selectors: {
2634
+ // '&[data-required="true"]': {
2635
+ // selectors: {
2636
+ // '&::after': {
2637
+ // content: ' *',
2638
+ // color: themeContract.colors.error,
2639
+ // },
2640
+ // },
2641
+ // },
2642
+ // },
2643
+ }), Ge = i({
2644
+ base: O,
2645
+ variants: {
2646
+ size: {
2647
+ sm: {
2648
+ fontSize: e.fontSizes.xs,
2649
+ paddingBottom: e.space.xs
2650
+ },
2651
+ md: {},
2652
+ lg: {
2653
+ fontSize: e.fontSizes.md,
2654
+ paddingBottom: e.space.sm
2655
+ }
2656
+ },
2657
+ variant: {
2658
+ default: {},
2659
+ inline: {
2660
+ display: "inline-block",
2661
+ marginRight: e.space.sm,
2662
+ paddingBottom: 0
2663
+ }
2664
+ }
2665
+ },
2666
+ defaultVariants: {
2667
+ size: "md",
2668
+ variant: "default"
2669
+ }
2670
+ }), Y = t({
2671
+ appearance: "none",
2672
+ backgroundColor: e.colors.background,
2673
+ border: `1px solid ${e.colors.border}`,
2674
+ borderRadius: e.radii.md,
2675
+ color: e.colors.text,
2676
+ fontFamily: e.fonts.body,
2677
+ fontSize: e.fontSizes.sm,
2678
+ lineHeight: e.lineHeights.normal,
2679
+ padding: `${e.space.sm} ${e.space.md}`,
2680
+ transition: "all 0.2s ease-in-out",
2681
+ width: "100%"
2682
+ // '::placeholder': {
2683
+ // color: themeContract.colors.textSecondary,
2684
+ // },
2685
+ // ':hover': {
2686
+ // borderColor: themeContract.colors.primary,
2687
+ // },
2688
+ // ':focus': {
2689
+ // outline: '2px solid',
2690
+ // outlineColor: themeContract.colors.primary,
2691
+ // outlineOffset: '2px',
2692
+ // borderColor: themeContract.colors.primary,
2693
+ // },
2694
+ // ':disabled': {
2695
+ // backgroundColor: themeContract.colors.surface,
2696
+ // color: themeContract.colors.textSecondary,
2697
+ // cursor: 'not-allowed',
2698
+ // opacity: '0.6',
2699
+ // },
2700
+ // selectors: {
2701
+ // '&[data-error="true"]': {
2702
+ // borderColor: themeContract.colors.error,
2703
+ // },
2704
+ // '&[data-error="true"]:focus': {
2705
+ // outlineColor: themeContract.colors.error,
2706
+ // borderColor: themeContract.colors.error,
2707
+ // },
2708
+ // // WebKit autofill styles
2709
+ // '&:-webkit-autofill': {
2710
+ // WebkitTextFillColor: themeContract.colors.text,
2711
+ // WebkitBoxShadow: `0 0 0px 1000px ${themeContract.colors.background} inset`,
2712
+ // },
2713
+ // },
2714
+ }), Je = i({
2715
+ base: Y,
2716
+ variants: {
2717
+ size: {
2718
+ sm: {
2719
+ fontSize: e.fontSizes.xs,
2720
+ padding: `${e.space.xs} ${e.space.sm}`
2721
+ },
2722
+ md: {},
2723
+ lg: {
2724
+ fontSize: e.fontSizes.md,
2725
+ padding: `${e.space.md} ${e.space.lg}`
2726
+ }
2727
+ },
2728
+ variant: {
2729
+ default: {},
2730
+ filled: {
2731
+ backgroundColor: e.colors.surface,
2732
+ border: "none"
2733
+ // ':focus': {
2734
+ // backgroundColor: themeContract.colors.background,
2735
+ // border: `1px solid ${themeContract.colors.primary}`,
2736
+ // },
2737
+ },
2738
+ outlined: {
2739
+ backgroundColor: "transparent"
2740
+ },
2741
+ underlined: {
2742
+ backgroundColor: "transparent",
2743
+ border: "none",
2744
+ borderBottom: `1px solid ${e.colors.border}`,
2745
+ borderRadius: 0,
2746
+ padding: `${e.space.sm} 0`
2747
+ // ':focus': {
2748
+ // borderBottom: `2px solid ${themeContract.colors.primary}`,
2749
+ // outline: 'none',
2750
+ // },
2751
+ }
2752
+ }
2753
+ },
2754
+ defaultVariants: {
2755
+ size: "md",
2756
+ variant: "default"
2757
+ }
2758
+ }), N = t({
2759
+ appearance: "none",
2760
+ backgroundColor: e.colors.background,
2761
+ border: `1px solid ${e.colors.border}`,
2762
+ borderRadius: e.radii.md,
2763
+ color: e.colors.text,
2764
+ fontFamily: e.fonts.body,
2765
+ fontSize: e.fontSizes.sm,
2766
+ lineHeight: e.lineHeights.normal,
2767
+ padding: `${e.space.sm} ${e.space.md}`,
2768
+ transition: "all 0.2s ease-in-out",
2769
+ width: "100%",
2770
+ resize: "vertical",
2771
+ minHeight: "80px",
2772
+ "::placeholder": {
2773
+ color: e.colors.textSecondary
2774
+ },
2775
+ ":hover": {
2776
+ borderColor: e.colors.primary
2777
+ },
2778
+ ":focus": {
2779
+ outline: "2px solid",
2780
+ outlineColor: e.colors.primary,
2781
+ outlineOffset: "2px",
2782
+ borderColor: e.colors.primary
2783
+ },
2784
+ ":disabled": {
2785
+ backgroundColor: e.colors.surface,
2786
+ color: e.colors.textSecondary,
2787
+ cursor: "not-allowed",
2788
+ opacity: "0.6",
2789
+ resize: "none"
2790
+ },
2791
+ selectors: {
2792
+ '&[data-error="true"]': {
2793
+ borderColor: e.colors.error
2794
+ },
2795
+ '&[data-error="true"]:focus': {
2796
+ outlineColor: e.colors.error,
2797
+ borderColor: e.colors.error
2798
+ }
2799
+ }
2800
+ }), Ke = i({
2801
+ base: N,
2802
+ variants: {
2803
+ size: {
2804
+ sm: {
2805
+ fontSize: e.fontSizes.xs,
2806
+ padding: `${e.space.xs} ${e.space.sm}`,
2807
+ minHeight: "60px"
2808
+ },
2809
+ md: {},
2810
+ lg: {
2811
+ fontSize: e.fontSizes.md,
2812
+ padding: `${e.space.md} ${e.space.lg}`,
2813
+ minHeight: "100px"
2814
+ }
2815
+ },
2816
+ variant: {
2817
+ default: {},
2818
+ filled: {
2819
+ backgroundColor: e.colors.surface,
2820
+ border: "none",
2821
+ ":focus": {
2822
+ backgroundColor: e.colors.background,
2823
+ border: `1px solid ${e.colors.primary}`
2824
+ }
2825
+ },
2826
+ outlined: {
2827
+ backgroundColor: "transparent"
2828
+ },
2829
+ underlined: {
2830
+ backgroundColor: "transparent",
2831
+ border: "none",
2832
+ borderBottom: `1px solid ${e.colors.border}`,
2833
+ borderRadius: 0,
2834
+ padding: `${e.space.sm} 0`,
2835
+ ":focus": {
2836
+ borderBottom: `2px solid ${e.colors.primary}`,
2837
+ outline: "none"
2838
+ }
2839
+ }
2840
+ },
2841
+ resize: {
2842
+ vertical: {
2843
+ resize: "vertical"
2844
+ },
2845
+ horizontal: {
2846
+ resize: "horizontal"
2847
+ },
2848
+ both: {
2849
+ resize: "both"
2850
+ },
2851
+ none: {
2852
+ resize: "none"
2853
+ }
2854
+ }
2855
+ },
2856
+ defaultVariants: {
2857
+ size: "md",
2858
+ variant: "default",
2859
+ resize: "vertical"
2860
+ }
2861
+ }), P = (a = {}) => ({
2862
+ colors: {
2863
+ ...n.colors,
2864
+ ...a.colors
2865
+ },
2866
+ space: {
2867
+ ...n.space,
2868
+ ...a.space
2869
+ },
2870
+ radii: {
2871
+ ...n.radii,
2872
+ ...a.radii
2873
+ },
2874
+ fonts: {
2875
+ ...n.fonts,
2876
+ ...a.fonts
2877
+ },
2878
+ maxWidth: a.maxWidth || `${n.maxWidth}px`,
2879
+ fontSizes: {
2880
+ ...n.fontSizes,
2881
+ ...a.fontSizes
2882
+ },
2883
+ fontWeights: {
2884
+ ...n.fontWeights,
2885
+ ...a.fontWeights
2886
+ },
2887
+ lineHeights: {
2888
+ ...n.lineHeights,
2889
+ ...a.lineHeights
2890
+ },
2891
+ shadows: {
2892
+ ...n.shadows,
2893
+ ...a.shadows
2894
+ },
2895
+ section: {
2896
+ ...n.section,
2897
+ ...a.section
2898
+ },
2899
+ header: {
2900
+ ...n.header,
2901
+ ...a.header
2902
+ },
2903
+ footer: {
2904
+ ...n.footer,
2905
+ ...a.footer
2906
+ }
2907
+ }), U = (a = {}) => ({
2908
+ colors: {
2909
+ ...s.colors,
2910
+ ...a.colors
2911
+ },
2912
+ space: {
2913
+ ...s.space,
2914
+ ...a.space
2915
+ },
2916
+ radii: {
2917
+ ...s.radii,
2918
+ ...a.radii
2919
+ },
2920
+ fonts: {
2921
+ ...s.fonts,
2922
+ ...a.fonts
2923
+ },
2924
+ maxWidth: a.maxWidth || `${s.maxWidth}px`,
2925
+ fontSizes: {
2926
+ ...s.fontSizes,
2927
+ ...a.fontSizes
2928
+ },
2929
+ fontWeights: {
2930
+ ...s.fontWeights,
2931
+ ...a.fontWeights
2932
+ },
2933
+ lineHeights: {
2934
+ ...s.lineHeights,
2935
+ ...a.lineHeights
2936
+ },
2937
+ shadows: {
2938
+ ...s.shadows,
2939
+ ...a.shadows
2940
+ },
2941
+ section: {
2942
+ ...s.section,
2943
+ ...a.section
2944
+ },
2945
+ header: {
2946
+ ...s.header,
2947
+ ...a.header
2948
+ },
2949
+ footer: {
2950
+ ...s.footer,
2951
+ ...a.footer
2952
+ }
2953
+ }), Qe = (a = {}) => P(a), Ze = (a = {}) => U(a);
2954
+ export {
2955
+ je as $,
2956
+ Re as A,
2957
+ We as B,
2958
+ Q as C,
2959
+ Me as D,
2960
+ Ee as E,
2961
+ n as F,
2962
+ s as G,
2963
+ ee as H,
2964
+ ie as I,
2965
+ le as J,
2966
+ r as K,
2967
+ pe as L,
2968
+ ge as M,
2969
+ me as N,
2970
+ fe as O,
2971
+ xe as P,
2972
+ ue as Q,
2973
+ he as R,
2974
+ ye as S,
2975
+ we as T,
2976
+ ve as U,
2977
+ Ce as V,
2978
+ Se as W,
2979
+ Be as X,
2980
+ Ie as Y,
2981
+ $e as Z,
2982
+ De as _,
2983
+ Ze as a,
2984
+ He as a0,
2985
+ Fe as a1,
2986
+ Le as a2,
2987
+ Ve as a3,
2988
+ Ae as a4,
2989
+ Ne as a5,
2990
+ Pe as a6,
2991
+ E as a7,
2992
+ Ue as a8,
2993
+ Xe as a9,
2994
+ o as aa,
2995
+ ce as b,
2996
+ Qe as c,
2997
+ K as d,
2998
+ be as e,
2999
+ de as f,
3000
+ ze as g,
3001
+ te as h,
3002
+ Oe as i,
3003
+ Ye as j,
3004
+ Je as k,
3005
+ Ge as l,
3006
+ qe as m,
3007
+ Ke as n,
3008
+ _ as o,
3009
+ ae as p,
3010
+ ke as q,
3011
+ m as r,
3012
+ J as s,
3013
+ e as t,
3014
+ Te as u,
3015
+ re as v,
3016
+ Z as w,
3017
+ ne as x,
3018
+ se as y,
3019
+ oe as z
3020
+ };