@pebble-software/bonsai 0.1.0 → 0.1.2

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 (45) hide show
  1. package/README.md +4 -0
  2. package/dist/ast.js +10 -0
  3. package/dist/ast.js.map +1 -0
  4. package/dist/chunks/builder.meta-WpXc5VBB.js +666 -0
  5. package/dist/chunks/builder.meta-WpXc5VBB.js.map +1 -0
  6. package/dist/chunks/{button-CSLrIvsS.js → button-jfJanilw.js} +46 -51
  7. package/dist/chunks/button-jfJanilw.js.map +1 -0
  8. package/dist/chunks/{create-renderer-1cky1uN9.js → create-renderer-DHneTPd-.js} +8 -8
  9. package/dist/chunks/{create-renderer-1cky1uN9.js.map → create-renderer-DHneTPd-.js.map} +1 -1
  10. package/dist/chunks/index-DzpRdatr.js +359 -0
  11. package/dist/chunks/index-DzpRdatr.js.map +1 -0
  12. package/dist/chunks/{render-shared-CIUUkLDn.js → render-shared-Ci28BpkI.js} +601 -931
  13. package/dist/chunks/render-shared-Ci28BpkI.js.map +1 -0
  14. package/dist/constants.d.ts +1 -0
  15. package/dist/constants.js +11 -0
  16. package/dist/constants.js.map +1 -0
  17. package/dist/core.js +3 -3
  18. package/dist/index.js +308 -955
  19. package/dist/index.js.map +1 -1
  20. package/dist/library/constants/src/components.d.ts +59 -0
  21. package/dist/library/constants/src/index.d.ts +2 -0
  22. package/dist/library/constants/src/webhook-events.d.ts +6 -0
  23. package/dist/library/schemas/src/bonsai.schema.d.ts +24 -0
  24. package/dist/library/schemas/src/builder.meta.d.ts +26 -0
  25. package/dist/presets/calendar.js +83 -74
  26. package/dist/presets/calendar.js.map +1 -1
  27. package/dist/presets/signature.js +9 -8
  28. package/dist/presets/signature.js.map +1 -1
  29. package/dist/schemas.d.ts +2 -0
  30. package/dist/schemas.js +13 -0
  31. package/dist/schemas.js.map +1 -0
  32. package/dist/styles/css/base.css +144 -0
  33. package/dist/styles/css/fonts.css +25 -0
  34. package/dist/styles/css/maplibre.css +29 -0
  35. package/dist/styles/css/overrides.css +7 -0
  36. package/dist/styles/css/tailwind.css +1 -0
  37. package/dist/styles/css/theme.css +197 -0
  38. package/dist/styles/css/tw-animate.css +1 -0
  39. package/dist/styles/css/utilities.css +44 -0
  40. package/dist/styles/presets.json +20 -0
  41. package/dist/styles/vendor/maplibre-gl.css +701 -0
  42. package/dist/styles/vendor/tw-animate.css +692 -0
  43. package/package.json +19 -3
  44. package/dist/chunks/button-CSLrIvsS.js.map +0 -1
  45. package/dist/chunks/render-shared-CIUUkLDn.js.map +0 -1
@@ -0,0 +1,692 @@
1
+ /**
2
+ * TailwindCSS v4.0 compatible replacement for `tailwindcss-animate`.
3
+ *
4
+ * @author Luca Bosin <https://github.com/Wombosvideo>
5
+ * @license MIT
6
+ */
7
+
8
+ :root {
9
+ /* @property declarations for animation variables, to prevent inheritance */
10
+ @property --tw-animation-delay {
11
+ syntax: "*";
12
+ inherits: false;
13
+ initial-value: 0s;
14
+ }
15
+
16
+ @property --tw-animation-direction {
17
+ syntax: "*";
18
+ inherits: false;
19
+ initial-value: normal;
20
+ }
21
+
22
+ @property --tw-animation-duration {
23
+ syntax: "*";
24
+ inherits: false;
25
+ /* does not have an initial value in order for the `--tw-duration` variable to work */
26
+ }
27
+
28
+ @property --tw-animation-fill-mode {
29
+ syntax: "*";
30
+ inherits: false;
31
+ initial-value: none;
32
+ }
33
+
34
+ @property --tw-animation-iteration-count {
35
+ syntax: "*";
36
+ inherits: false;
37
+ initial-value: 1;
38
+ }
39
+
40
+ @property --tw-enter-blur {
41
+ syntax: "*";
42
+ inherits: false;
43
+ initial-value: 0;
44
+ }
45
+
46
+ @property --tw-enter-opacity {
47
+ syntax: "*";
48
+ inherits: false;
49
+ initial-value: 1;
50
+ }
51
+
52
+ @property --tw-enter-rotate {
53
+ syntax: "*";
54
+ inherits: false;
55
+ initial-value: 0;
56
+ }
57
+
58
+ @property --tw-enter-scale {
59
+ syntax: "*";
60
+ inherits: false;
61
+ initial-value: 1;
62
+ }
63
+
64
+ @property --tw-enter-translate-x {
65
+ syntax: "*";
66
+ inherits: false;
67
+ initial-value: 0;
68
+ }
69
+
70
+ @property --tw-enter-translate-y {
71
+ syntax: "*";
72
+ inherits: false;
73
+ initial-value: 0;
74
+ }
75
+
76
+ @property --tw-exit-blur {
77
+ syntax: "*";
78
+ inherits: false;
79
+ initial-value: 0;
80
+ }
81
+
82
+ @property --tw-exit-opacity {
83
+ syntax: "*";
84
+ inherits: false;
85
+ initial-value: 1;
86
+ }
87
+
88
+ @property --tw-exit-rotate {
89
+ syntax: "*";
90
+ inherits: false;
91
+ initial-value: 0;
92
+ }
93
+
94
+ @property --tw-exit-scale {
95
+ syntax: "*";
96
+ inherits: false;
97
+ initial-value: 1;
98
+ }
99
+
100
+ @property --tw-exit-translate-x {
101
+ syntax: "*";
102
+ inherits: false;
103
+ initial-value: 0;
104
+ }
105
+
106
+ @property --tw-exit-translate-y {
107
+ syntax: "*";
108
+ inherits: false;
109
+ initial-value: 0;
110
+ }
111
+ }
112
+
113
+ @theme inline {
114
+ /* Predefined values */
115
+
116
+ --animation-delay-0: 0s;
117
+ --animation-delay-75: 75ms;
118
+ --animation-delay-100: 0.1s;
119
+ --animation-delay-150: 0.15s;
120
+ --animation-delay-200: 0.2s;
121
+ --animation-delay-300: 0.3s;
122
+ --animation-delay-500: 0.5s;
123
+ --animation-delay-700: 0.7s;
124
+ --animation-delay-1000: 1s;
125
+
126
+ --animation-repeat-0: 0;
127
+ --animation-repeat-1: 1;
128
+ --animation-repeat-infinite: infinite;
129
+
130
+ --animation-direction-normal: normal;
131
+ --animation-direction-reverse: reverse;
132
+ --animation-direction-alternate: alternate;
133
+ --animation-direction-alternate-reverse: alternate-reverse;
134
+
135
+ --animation-fill-mode-none: none;
136
+ --animation-fill-mode-forwards: forwards;
137
+ --animation-fill-mode-backwards: backwards;
138
+ --animation-fill-mode-both: both;
139
+
140
+ --percentage-0: 0;
141
+ --percentage-5: 0.05;
142
+ --percentage-10: 0.1;
143
+ --percentage-15: 0.15;
144
+ --percentage-20: 0.2;
145
+ --percentage-25: 0.25;
146
+ --percentage-30: 0.3;
147
+ --percentage-35: 0.35;
148
+ --percentage-40: 0.4;
149
+ --percentage-45: 0.45;
150
+ --percentage-50: 0.5;
151
+ --percentage-55: 0.55;
152
+ --percentage-60: 0.6;
153
+ --percentage-65: 0.65;
154
+ --percentage-70: 0.7;
155
+ --percentage-75: 0.75;
156
+ --percentage-80: 0.8;
157
+ --percentage-85: 0.85;
158
+ --percentage-90: 0.9;
159
+ --percentage-95: 0.95;
160
+ --percentage-100: 1;
161
+ --percentage-translate-full: 1;
162
+
163
+ /* Animations and keyframes */
164
+
165
+ --animate-in: enter var(--tw-animation-duration, var(--tw-duration, 150ms))
166
+ var(--tw-ease, ease) var(--tw-animation-delay, 0s)
167
+ var(--tw-animation-iteration-count, 1) var(--tw-animation-direction, normal)
168
+ var(--tw-animation-fill-mode, none);
169
+ --animate-out: exit var(--tw-animation-duration, var(--tw-duration, 150ms))
170
+ var(--tw-ease, ease) var(--tw-animation-delay, 0s)
171
+ var(--tw-animation-iteration-count, 1) var(--tw-animation-direction, normal)
172
+ var(--tw-animation-fill-mode, none);
173
+
174
+ @keyframes enter {
175
+ from {
176
+ opacity: var(--tw-enter-opacity, 1);
177
+ transform: translate3d(
178
+ var(--tw-enter-translate-x, 0),
179
+ var(--tw-enter-translate-y, 0),
180
+ 0
181
+ )
182
+ scale3d(
183
+ var(--tw-enter-scale, 1),
184
+ var(--tw-enter-scale, 1),
185
+ var(--tw-enter-scale, 1)
186
+ )
187
+ rotate(var(--tw-enter-rotate, 0));
188
+ filter: blur(var(--tw-enter-blur, 0));
189
+ }
190
+ }
191
+
192
+ @keyframes exit {
193
+ to {
194
+ opacity: var(--tw-exit-opacity, 1);
195
+ transform: translate3d(
196
+ var(--tw-exit-translate-x, 0),
197
+ var(--tw-exit-translate-y, 0),
198
+ 0
199
+ )
200
+ scale3d(
201
+ var(--tw-exit-scale, 1),
202
+ var(--tw-exit-scale, 1),
203
+ var(--tw-exit-scale, 1)
204
+ )
205
+ rotate(var(--tw-exit-rotate, 0));
206
+ filter: blur(var(--tw-exit-blur, 0));
207
+ }
208
+ }
209
+
210
+ --animate-accordion-down: accordion-down
211
+ var(--tw-animation-duration, var(--tw-duration, 200ms))
212
+ var(--tw-ease, ease-out) var(--tw-animation-delay, 0s)
213
+ var(--tw-animation-iteration-count, 1) var(--tw-animation-direction, normal)
214
+ var(--tw-animation-fill-mode, none);
215
+ --animate-accordion-up: accordion-up
216
+ var(--tw-animation-duration, var(--tw-duration, 200ms))
217
+ var(--tw-ease, ease-out) var(--tw-animation-delay, 0s)
218
+ var(--tw-animation-iteration-count, 1) var(--tw-animation-direction, normal)
219
+ var(--tw-animation-fill-mode, none);
220
+ --animate-collapsible-down: collapsible-down
221
+ var(--tw-animation-duration, var(--tw-duration, 200ms))
222
+ var(--tw-ease, ease-out) var(--tw-animation-delay, 0s)
223
+ var(--tw-animation-iteration-count, 1) var(--tw-animation-direction, normal)
224
+ var(--tw-animation-fill-mode, none);
225
+ --animate-collapsible-up: collapsible-up
226
+ var(--tw-animation-duration, var(--tw-duration, 200ms))
227
+ var(--tw-ease, ease-out) var(--tw-animation-delay, 0s)
228
+ var(--tw-animation-iteration-count, 1) var(--tw-animation-direction, normal)
229
+ var(--tw-animation-fill-mode, none);
230
+
231
+ @keyframes accordion-down {
232
+ from {
233
+ height: 0;
234
+ }
235
+ to {
236
+ height: var(
237
+ --radix-accordion-content-height,
238
+ var(
239
+ --bits-accordion-content-height,
240
+ var(
241
+ --reka-accordion-content-height,
242
+ var(
243
+ --kb-accordion-content-height,
244
+ var(--ngp-accordion-content-height, auto)
245
+ )
246
+ )
247
+ )
248
+ );
249
+ }
250
+ }
251
+
252
+ @keyframes accordion-up {
253
+ from {
254
+ height: var(
255
+ --radix-accordion-content-height,
256
+ var(
257
+ --bits-accordion-content-height,
258
+ var(
259
+ --reka-accordion-content-height,
260
+ var(
261
+ --kb-accordion-content-height,
262
+ var(--ngp-accordion-content-height, auto)
263
+ )
264
+ )
265
+ )
266
+ );
267
+ }
268
+ to {
269
+ height: 0;
270
+ }
271
+ }
272
+
273
+ @keyframes collapsible-down {
274
+ from {
275
+ height: 0;
276
+ }
277
+ to {
278
+ height: var(
279
+ --radix-collapsible-content-height,
280
+ var(
281
+ --bits-collapsible-content-height,
282
+ var(
283
+ --reka-collapsible-content-height,
284
+ var(--kb-collapsible-content-height, auto)
285
+ )
286
+ )
287
+ );
288
+ }
289
+ }
290
+
291
+ @keyframes collapsible-up {
292
+ from {
293
+ height: var(
294
+ --radix-collapsible-content-height,
295
+ var(
296
+ --bits-collapsible-content-height,
297
+ var(
298
+ --reka-collapsible-content-height,
299
+ var(--kb-collapsible-content-height, auto)
300
+ )
301
+ )
302
+ );
303
+ }
304
+ to {
305
+ height: 0;
306
+ }
307
+ }
308
+
309
+ --animate-caret-blink: caret-blink 1.25s ease-out infinite;
310
+
311
+ @keyframes caret-blink {
312
+ 0%,
313
+ 70%,
314
+ 100% {
315
+ opacity: 1;
316
+ }
317
+ 20%,
318
+ 50% {
319
+ opacity: 0;
320
+ }
321
+ }
322
+ }
323
+
324
+ /* Utility classes */
325
+
326
+ @utility animation-duration-* {
327
+ --tw-animation-duration: calc(--value(number) * 1ms);
328
+ --tw-animation-duration: --value(
329
+ --animation-duration-*,
330
+ [duration],
331
+ "initial",
332
+ [*]
333
+ );
334
+ animation-duration: calc(--value(number) * 1ms);
335
+ animation-duration: --value(
336
+ --animation-duration-*,
337
+ [duration],
338
+ "initial",
339
+ [*]
340
+ );
341
+ }
342
+
343
+ @utility delay-* {
344
+ animation-delay: calc(--value(number) * 1ms);
345
+ animation-delay: --value(--animation-delay-*, [duration], "initial", [*]);
346
+ --tw-animation-delay: calc(--value(number) * 1ms);
347
+ --tw-animation-delay: --value(
348
+ --animation-delay-*,
349
+ [duration],
350
+ "initial",
351
+ [*]
352
+ );
353
+ }
354
+
355
+ @utility repeat-* {
356
+ animation-iteration-count: --value(
357
+ --animation-repeat-*,
358
+ number,
359
+ "initial",
360
+ [*]
361
+ );
362
+ --tw-animation-iteration-count: --value(
363
+ --animation-repeat-*,
364
+ number,
365
+ "initial",
366
+ [*]
367
+ );
368
+ }
369
+
370
+ @utility direction-* {
371
+ animation-direction: --value(--animation-direction-*, "initial", [*]);
372
+ --tw-animation-direction: --value(--animation-direction-*, "initial", [*]);
373
+ }
374
+
375
+ @utility fill-mode-* {
376
+ animation-fill-mode: --value(--animation-fill-mode-*, "initial", [*]);
377
+ --tw-animation-fill-mode: --value(--animation-fill-mode-*, "initial", [*]);
378
+ }
379
+
380
+ @utility running {
381
+ animation-play-state: running;
382
+ }
383
+ @utility paused {
384
+ animation-play-state: paused;
385
+ }
386
+ @utility play-state-* {
387
+ animation-play-state: --value("initial", [*]);
388
+ }
389
+
390
+ @utility blur-in {
391
+ --tw-enter-blur: 20px;
392
+ }
393
+ @utility blur-in-* {
394
+ --tw-enter-blur: calc(--value(number) * 1px);
395
+ --tw-enter-blur: --value(--blur-*, [*]);
396
+ }
397
+
398
+ @utility blur-out {
399
+ --tw-exit-blur: 20px;
400
+ }
401
+ @utility blur-out-* {
402
+ --tw-exit-blur: calc(--value(number) * 1px);
403
+ --tw-exit-blur: --value(--blur-*, [*]);
404
+ }
405
+
406
+ @utility fade-in {
407
+ --tw-enter-opacity: 0;
408
+ }
409
+ @utility fade-in-* {
410
+ --tw-enter-opacity: calc(--value(number) / 100);
411
+ --tw-enter-opacity: --value(--percentage-*, [*]);
412
+ }
413
+
414
+ @utility fade-out {
415
+ --tw-exit-opacity: 0;
416
+ }
417
+ @utility fade-out-* {
418
+ --tw-exit-opacity: calc(--value(number) / 100);
419
+ --tw-exit-opacity: --value(--percentage-*, [*]);
420
+ }
421
+
422
+ @utility zoom-in {
423
+ --tw-enter-scale: 0;
424
+ }
425
+ @utility zoom-in-* {
426
+ --tw-enter-scale: calc(--value(number) * 1%);
427
+ --tw-enter-scale: calc(--value(ratio));
428
+ --tw-enter-scale: --value(--percentage-*, [*]);
429
+ }
430
+ @utility -zoom-in-* {
431
+ --tw-enter-scale: calc(--value(number) * -1%);
432
+ --tw-enter-scale: calc(--value(ratio) * -1);
433
+ --tw-enter-scale: --value(--percentage-*, [*]);
434
+ }
435
+
436
+ @utility zoom-out {
437
+ --tw-exit-scale: 0;
438
+ }
439
+ @utility zoom-out-* {
440
+ --tw-exit-scale: calc(--value(number) * 1%);
441
+ --tw-exit-scale: calc(--value(ratio));
442
+ --tw-exit-scale: --value(--percentage-*, [*]);
443
+ }
444
+ @utility -zoom-out-* {
445
+ --tw-exit-scale: calc(--value(number) * -1%);
446
+ --tw-exit-scale: calc(--value(ratio) * -1);
447
+ --tw-exit-scale: --value(--percentage-*, [*]);
448
+ }
449
+
450
+ @utility spin-in {
451
+ --tw-enter-rotate: 30deg;
452
+ }
453
+ @utility spin-in-* {
454
+ --tw-enter-rotate: calc(--value(number) * 1deg);
455
+ --tw-enter-rotate: calc(--value(ratio) * 360deg);
456
+ --tw-enter-rotate: --value(--rotate-*, [*]);
457
+ }
458
+ @utility -spin-in {
459
+ --tw-enter-rotate: -30deg;
460
+ }
461
+ @utility -spin-in-* {
462
+ --tw-enter-rotate: calc(--value(number) * -1deg);
463
+ --tw-enter-rotate: calc(--value(ratio) * -360deg);
464
+ --tw-enter-rotate: --value(--rotate-*, [*]);
465
+ }
466
+
467
+ @utility spin-out {
468
+ --tw-exit-rotate: 30deg;
469
+ }
470
+ @utility spin-out-* {
471
+ --tw-exit-rotate: calc(--value(number) * 1deg);
472
+ --tw-exit-rotate: calc(--value(ratio) * 360deg);
473
+ --tw-exit-rotate: --value(--rotate-*, [*]);
474
+ }
475
+ @utility -spin-out {
476
+ --tw-exit-rotate: -30deg;
477
+ }
478
+ @utility -spin-out-* {
479
+ --tw-exit-rotate: calc(--value(number) * -1deg);
480
+ --tw-exit-rotate: calc(--value(ratio) * -360deg);
481
+ --tw-exit-rotate: --value(--rotate-*, [*]);
482
+ }
483
+
484
+ @utility slide-in-from-top {
485
+ --tw-enter-translate-y: -100%;
486
+ }
487
+ @utility slide-in-from-top-* {
488
+ --tw-enter-translate-y: calc(--value(integer) * var(--spacing) * -1);
489
+ --tw-enter-translate-y: calc(
490
+ --value(--percentage-*, --percentage-translate-*) * -100%
491
+ );
492
+ --tw-enter-translate-y: calc(--value(ratio) * -100%);
493
+ --tw-enter-translate-y: calc(
494
+ --value(--translate-*, [percentage], [length]) * -1
495
+ );
496
+ }
497
+ @utility slide-in-from-bottom {
498
+ --tw-enter-translate-y: 100%;
499
+ }
500
+ @utility slide-in-from-bottom-* {
501
+ --tw-enter-translate-y: calc(--value(integer) * var(--spacing));
502
+ --tw-enter-translate-y: calc(
503
+ --value(--percentage-*, --percentage-translate-*) * 100%
504
+ );
505
+ --tw-enter-translate-y: calc(--value(ratio) * 100%);
506
+ --tw-enter-translate-y: --value(--translate-*, [percentage], [length]);
507
+ }
508
+ @utility slide-in-from-left {
509
+ --tw-enter-translate-x: -100%;
510
+ }
511
+ @utility slide-in-from-left-* {
512
+ --tw-enter-translate-x: calc(--value(integer) * var(--spacing) * -1);
513
+ --tw-enter-translate-x: calc(
514
+ --value(--percentage-*, --percentage-translate-*) * -100%
515
+ );
516
+ --tw-enter-translate-x: calc(--value(ratio) * -100%);
517
+ --tw-enter-translate-x: calc(
518
+ --value(--translate-*, [percentage], [length]) * -1
519
+ );
520
+ }
521
+ @utility slide-in-from-right {
522
+ --tw-enter-translate-x: 100%;
523
+ }
524
+ @utility slide-in-from-right-* {
525
+ --tw-enter-translate-x: calc(--value(integer) * var(--spacing));
526
+ --tw-enter-translate-x: calc(
527
+ --value(--percentage-*, --percentage-translate-*) * 100%
528
+ );
529
+ --tw-enter-translate-x: calc(--value(ratio) * 100%);
530
+ --tw-enter-translate-x: --value(--translate-*, [percentage], [length]);
531
+ }
532
+ @utility slide-in-from-start {
533
+ &:dir(ltr) {
534
+ --tw-enter-translate-x: -100%;
535
+ }
536
+ &:dir(rtl) {
537
+ --tw-enter-translate-x: 100%;
538
+ }
539
+ }
540
+ @utility slide-in-from-start-* {
541
+ &:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *) {
542
+ --tw-enter-translate-x: calc(--value(integer) * var(--spacing) * -1);
543
+ --tw-enter-translate-x: calc(
544
+ --value(--percentage-*, --percentage-translate-*) * -100%
545
+ );
546
+ --tw-enter-translate-x: calc(--value(ratio) * -100%);
547
+ --tw-enter-translate-x: calc(
548
+ --value(--translate-*, [percentage], [length]) * -1
549
+ );
550
+ }
551
+ &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
552
+ --tw-enter-translate-x: calc(--value(integer) * var(--spacing));
553
+ --tw-enter-translate-x: calc(
554
+ --value(--percentage-*, --percentage-translate-*) * 100%
555
+ );
556
+ --tw-enter-translate-x: calc(--value(ratio) * 100%);
557
+ --tw-enter-translate-x: --value(--translate-*, [percentage], [length]);
558
+ }
559
+ }
560
+ @utility slide-in-from-end {
561
+ &:dir(ltr) {
562
+ --tw-enter-translate-x: 100%;
563
+ }
564
+ &:dir(rtl) {
565
+ --tw-enter-translate-x: -100%;
566
+ }
567
+ }
568
+ @utility slide-in-from-end-* {
569
+ &:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *) {
570
+ --tw-enter-translate-x: calc(--value(integer) * var(--spacing));
571
+ --tw-enter-translate-x: calc(
572
+ --value(--percentage-*, --percentage-translate-*) * 100%
573
+ );
574
+ --tw-enter-translate-x: calc(--value(ratio) * 100%);
575
+ --tw-enter-translate-x: --value(--translate-*, [percentage], [length]);
576
+ }
577
+ &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
578
+ --tw-enter-translate-x: calc(--value(integer) * var(--spacing) * -1);
579
+ --tw-enter-translate-x: calc(
580
+ --value(--percentage-*, --percentage-translate-*) * -100%
581
+ );
582
+ --tw-enter-translate-x: calc(--value(ratio) * -100%);
583
+ --tw-enter-translate-x: calc(
584
+ --value(--translate-*, [percentage], [length]) * -1
585
+ );
586
+ }
587
+ }
588
+
589
+ @utility slide-out-to-top {
590
+ --tw-exit-translate-y: -100%;
591
+ }
592
+ @utility slide-out-to-top-* {
593
+ --tw-exit-translate-y: calc(--value(integer) * var(--spacing) * -1);
594
+ --tw-exit-translate-y: calc(
595
+ --value(--percentage-*, --percentage-translate-*) * -100%
596
+ );
597
+ --tw-exit-translate-y: calc(--value(ratio) * -100%);
598
+ --tw-exit-translate-y: calc(
599
+ --value(--translate-*, [percentage], [length]) * -1
600
+ );
601
+ }
602
+ @utility slide-out-to-bottom {
603
+ --tw-exit-translate-y: 100%;
604
+ }
605
+ @utility slide-out-to-bottom-* {
606
+ --tw-exit-translate-y: calc(--value(integer) * var(--spacing));
607
+ --tw-exit-translate-y: calc(
608
+ --value(--percentage-*, --percentage-translate-*) * 100%
609
+ );
610
+ --tw-exit-translate-y: calc(--value(ratio) * 100%);
611
+ --tw-exit-translate-y: --value(--translate-*, [percentage], [length]);
612
+ }
613
+ @utility slide-out-to-left {
614
+ --tw-exit-translate-x: -100%;
615
+ }
616
+ @utility slide-out-to-left-* {
617
+ --tw-exit-translate-x: calc(--value(integer) * var(--spacing) * -1);
618
+ --tw-exit-translate-x: calc(
619
+ --value(--percentage-*, --percentage-translate-*) * -100%
620
+ );
621
+ --tw-exit-translate-x: calc(--value(ratio) * -100%);
622
+ --tw-exit-translate-x: calc(
623
+ --value(--translate-*, [percentage], [length]) * -1
624
+ );
625
+ }
626
+ @utility slide-out-to-right {
627
+ --tw-exit-translate-x: 100%;
628
+ }
629
+ @utility slide-out-to-right-* {
630
+ --tw-exit-translate-x: calc(--value(integer) * var(--spacing));
631
+ --tw-exit-translate-x: calc(
632
+ --value(--percentage-*, --percentage-translate-*) * 100%
633
+ );
634
+ --tw-exit-translate-x: calc(--value(ratio) * 100%);
635
+ --tw-exit-translate-x: --value(--translate-*, [percentage], [length]);
636
+ }
637
+ @utility slide-out-to-start {
638
+ &:dir(ltr) {
639
+ --tw-exit-translate-x: -100%;
640
+ }
641
+ &:dir(rtl) {
642
+ --tw-exit-translate-x: 100%;
643
+ }
644
+ }
645
+ @utility slide-out-to-start-* {
646
+ &:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *) {
647
+ --tw-exit-translate-x: calc(--value(integer) * var(--spacing) * -1);
648
+ --tw-exit-translate-x: calc(
649
+ --value(--percentage-*, --percentage-translate-*) * -100%
650
+ );
651
+ --tw-exit-translate-x: calc(--value(ratio) * -100%);
652
+ --tw-exit-translate-x: calc(
653
+ --value(--translate-*, [percentage], [length]) * -1
654
+ );
655
+ }
656
+ &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
657
+ --tw-exit-translate-x: calc(--value(integer) * var(--spacing));
658
+ --tw-exit-translate-x: calc(
659
+ --value(--percentage-*, --percentage-translate-*) * 100%
660
+ );
661
+ --tw-exit-translate-x: calc(--value(ratio) * 100%);
662
+ --tw-exit-translate-x: --value(--translate-*, [percentage], [length]);
663
+ }
664
+ }
665
+ @utility slide-out-to-end {
666
+ &:dir(ltr) {
667
+ --tw-exit-translate-x: 100%;
668
+ }
669
+ &:dir(rtl) {
670
+ --tw-exit-translate-x: -100%;
671
+ }
672
+ }
673
+ @utility slide-out-to-end-* {
674
+ &:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *) {
675
+ --tw-exit-translate-x: calc(--value(integer) * var(--spacing));
676
+ --tw-exit-translate-x: calc(
677
+ --value(--percentage-*, --percentage-translate-*) * 100%
678
+ );
679
+ --tw-exit-translate-x: calc(--value(ratio) * 100%);
680
+ --tw-exit-translate-x: --value(--translate-*, [percentage], [length]);
681
+ }
682
+ &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
683
+ --tw-exit-translate-x: calc(--value(integer) * var(--spacing) * -1);
684
+ --tw-exit-translate-x: calc(
685
+ --value(--percentage-*, --percentage-translate-*) * -100%
686
+ );
687
+ --tw-exit-translate-x: calc(--value(ratio) * -100%);
688
+ --tw-exit-translate-x: calc(
689
+ --value(--translate-*, [percentage], [length]) * -1
690
+ );
691
+ }
692
+ }