@removify/tailwind-preset 0.2.11 → 1.0.1

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.
@@ -0,0 +1,578 @@
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)) var(--tw-ease, ease)
166
+ var(--tw-animation-delay, 0s) var(--tw-animation-iteration-count, 1)
167
+ var(--tw-animation-direction, normal) var(--tw-animation-fill-mode, none);
168
+ --animate-out: exit var(--tw-animation-duration, var(--tw-duration, 150ms)) var(--tw-ease, ease)
169
+ var(--tw-animation-delay, 0s) var(--tw-animation-iteration-count, 1)
170
+ var(--tw-animation-direction, normal) var(--tw-animation-fill-mode, none);
171
+
172
+ @keyframes enter {
173
+ from {
174
+ opacity: var(--tw-enter-opacity, 1);
175
+ transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0)
176
+ scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1))
177
+ rotate(var(--tw-enter-rotate, 0));
178
+ filter: blur(var(--tw-enter-blur, 0));
179
+ }
180
+ }
181
+
182
+ @keyframes exit {
183
+ to {
184
+ opacity: var(--tw-exit-opacity, 1);
185
+ transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0)
186
+ scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1))
187
+ rotate(var(--tw-exit-rotate, 0));
188
+ filter: blur(var(--tw-exit-blur, 0));
189
+ }
190
+ }
191
+
192
+ --animate-accordion-down: accordion-down var(--tw-animation-duration, var(--tw-duration, 200ms))
193
+ var(--tw-ease, ease-out) var(--tw-animation-delay, 0s) var(--tw-animation-iteration-count, 1)
194
+ var(--tw-animation-direction, normal) var(--tw-animation-fill-mode, none);
195
+ --animate-accordion-up: accordion-up var(--tw-animation-duration, var(--tw-duration, 200ms))
196
+ var(--tw-ease, ease-out) var(--tw-animation-delay, 0s) var(--tw-animation-iteration-count, 1)
197
+ var(--tw-animation-direction, normal) var(--tw-animation-fill-mode, none);
198
+ --animate-collapsible-down: collapsible-down
199
+ var(--tw-animation-duration, var(--tw-duration, 200ms)) var(--tw-ease, ease-out)
200
+ var(--tw-animation-delay, 0s) var(--tw-animation-iteration-count, 1)
201
+ var(--tw-animation-direction, normal) var(--tw-animation-fill-mode, none);
202
+ --animate-collapsible-up: collapsible-up var(--tw-animation-duration, var(--tw-duration, 200ms))
203
+ var(--tw-ease, ease-out) var(--tw-animation-delay, 0s) var(--tw-animation-iteration-count, 1)
204
+ var(--tw-animation-direction, normal) var(--tw-animation-fill-mode, none);
205
+
206
+ @keyframes accordion-down {
207
+ from {
208
+ height: 0;
209
+ }
210
+ to {
211
+ height: var(
212
+ --radix-accordion-content-height,
213
+ var(
214
+ --bits-accordion-content-height,
215
+ var(--reka-accordion-content-height,
216
+ var(--kb-accordion-content-height, var(--ngp-accordion-content-height, auto)))
217
+ )
218
+ );
219
+ }
220
+ }
221
+
222
+ @keyframes accordion-up {
223
+ from {
224
+ height: var(
225
+ --radix-accordion-content-height,
226
+ var(
227
+ --bits-accordion-content-height,
228
+ var(--reka-accordion-content-height,
229
+ var(--kb-accordion-content-height, var(--ngp-accordion-content-height, auto)))
230
+ )
231
+ );
232
+ }
233
+ to {
234
+ height: 0;
235
+ }
236
+ }
237
+
238
+ @keyframes collapsible-down {
239
+ from {
240
+ height: 0;
241
+ }
242
+ to {
243
+ height: var(
244
+ --radix-collapsible-content-height,
245
+ var(
246
+ --bits-collapsible-content-height,
247
+ var(--reka-collapsible-content-height, var(--kb-collapsible-content-height, auto))
248
+ )
249
+ );
250
+ }
251
+ }
252
+
253
+ @keyframes collapsible-up {
254
+ from {
255
+ height: var(
256
+ --radix-collapsible-content-height,
257
+ var(
258
+ --bits-collapsible-content-height,
259
+ var(--reka-collapsible-content-height, var(--kb-collapsible-content-height, auto))
260
+ )
261
+ );
262
+ }
263
+ to {
264
+ height: 0;
265
+ }
266
+ }
267
+
268
+ --animate-caret-blink: caret-blink 1.25s ease-out infinite;
269
+
270
+ @keyframes caret-blink {
271
+ 0%,
272
+ 70%,
273
+ 100% {
274
+ opacity: 1;
275
+ }
276
+ 20%,
277
+ 50% {
278
+ opacity: 0;
279
+ }
280
+ }
281
+ }
282
+
283
+ /* Utility classes */
284
+
285
+ @utility animation-duration-* {
286
+ --tw-animation-duration: calc(--value(number) * 1ms);
287
+ --tw-animation-duration: --value(--animation-duration-*, [duration], "initial", [*]);
288
+ animation-duration: calc(--value(number) * 1ms);
289
+ animation-duration: --value(--animation-duration-*, [duration], "initial", [*]);
290
+ }
291
+
292
+ @utility delay-* {
293
+ animation-delay: calc(--value(number) * 1ms);
294
+ animation-delay: --value(--animation-delay-*, [duration], "initial", [*]);
295
+ --tw-animation-delay: calc(--value(number) * 1ms);
296
+ --tw-animation-delay: --value(--animation-delay-*, [duration], "initial", [*]);
297
+ }
298
+
299
+ @utility repeat-* {
300
+ animation-iteration-count: --value(--animation-repeat-*, number, "initial", [*]);
301
+ --tw-animation-iteration-count: --value(--animation-repeat-*, number, "initial", [*]);
302
+ }
303
+
304
+ @utility direction-* {
305
+ animation-direction: --value(--animation-direction-*, "initial", [*]);
306
+ --tw-animation-direction: --value(--animation-direction-*, "initial", [*]);
307
+ }
308
+
309
+ @utility fill-mode-* {
310
+ animation-fill-mode: --value(--animation-fill-mode-*, "initial", [*]);
311
+ --tw-animation-fill-mode: --value(--animation-fill-mode-*, "initial", [*]);
312
+ }
313
+
314
+ @utility running {
315
+ animation-play-state: running;
316
+ }
317
+ @utility paused {
318
+ animation-play-state: paused;
319
+ }
320
+ @utility play-state-* {
321
+ animation-play-state: --value("initial", [*]);
322
+ }
323
+
324
+ @utility blur-in {
325
+ --tw-enter-blur: 20px;
326
+ }
327
+ @utility blur-in-* {
328
+ --tw-enter-blur: calc(--value(number) * 1px);
329
+ --tw-enter-blur: --value(--blur-*, [*]);
330
+ }
331
+
332
+ @utility blur-out {
333
+ --tw-exit-blur: 20px;
334
+ }
335
+ @utility blur-out-* {
336
+ --tw-exit-blur: calc(--value(number) * 1px);
337
+ --tw-exit-blur: --value(--blur-*, [*]);
338
+ }
339
+
340
+ @utility fade-in {
341
+ --tw-enter-opacity: 0;
342
+ }
343
+ @utility fade-in-* {
344
+ --tw-enter-opacity: calc(--value(number) / 100);
345
+ --tw-enter-opacity: --value(--percentage-*, [*]);
346
+ }
347
+
348
+ @utility fade-out {
349
+ --tw-exit-opacity: 0;
350
+ }
351
+ @utility fade-out-* {
352
+ --tw-exit-opacity: calc(--value(number) / 100);
353
+ --tw-exit-opacity: --value(--percentage-*, [*]);
354
+ }
355
+
356
+ @utility zoom-in {
357
+ --tw-enter-scale: 0;
358
+ }
359
+ @utility zoom-in-* {
360
+ --tw-enter-scale: calc(--value(number) * 1%);
361
+ --tw-enter-scale: calc(--value(ratio));
362
+ --tw-enter-scale: --value(--percentage-*, [*]);
363
+ }
364
+ @utility -zoom-in-* {
365
+ --tw-enter-scale: calc(--value(number) * -1%);
366
+ --tw-enter-scale: calc(--value(ratio) * -1);
367
+ --tw-enter-scale: --value(--percentage-*, [*]);
368
+ }
369
+
370
+ @utility zoom-out {
371
+ --tw-exit-scale: 0;
372
+ }
373
+ @utility zoom-out-* {
374
+ --tw-exit-scale: calc(--value(number) * 1%);
375
+ --tw-exit-scale: calc(--value(ratio));
376
+ --tw-exit-scale: --value(--percentage-*, [*]);
377
+ }
378
+ @utility -zoom-out-* {
379
+ --tw-exit-scale: calc(--value(number) * -1%);
380
+ --tw-exit-scale: calc(--value(ratio) * -1);
381
+ --tw-exit-scale: --value(--percentage-*, [*]);
382
+ }
383
+
384
+ @utility spin-in {
385
+ --tw-enter-rotate: 30deg;
386
+ }
387
+ @utility spin-in-* {
388
+ --tw-enter-rotate: calc(--value(number) * 1deg);
389
+ --tw-enter-rotate: calc(--value(ratio) * 360deg);
390
+ --tw-enter-rotate: --value(--rotate-*, [*]);
391
+ }
392
+ @utility -spin-in {
393
+ --tw-enter-rotate: -30deg;
394
+ }
395
+ @utility -spin-in-* {
396
+ --tw-enter-rotate: calc(--value(number) * -1deg);
397
+ --tw-enter-rotate: calc(--value(ratio) * -360deg);
398
+ --tw-enter-rotate: --value(--rotate-*, [*]);
399
+ }
400
+
401
+ @utility spin-out {
402
+ --tw-exit-rotate: 30deg;
403
+ }
404
+ @utility spin-out-* {
405
+ --tw-exit-rotate: calc(--value(number) * 1deg);
406
+ --tw-exit-rotate: calc(--value(ratio) * 360deg);
407
+ --tw-exit-rotate: --value(--rotate-*, [*]);
408
+ }
409
+ @utility -spin-out {
410
+ --tw-exit-rotate: -30deg;
411
+ }
412
+ @utility -spin-out-* {
413
+ --tw-exit-rotate: calc(--value(number) * -1deg);
414
+ --tw-exit-rotate: calc(--value(ratio) * -360deg);
415
+ --tw-exit-rotate: --value(--rotate-*, [*]);
416
+ }
417
+
418
+ @utility slide-in-from-top {
419
+ --tw-enter-translate-y: -100%;
420
+ }
421
+ @utility slide-in-from-top-* {
422
+ --tw-enter-translate-y: calc(--value(integer) * var(--spacing) * -1);
423
+ --tw-enter-translate-y: calc(--value(--percentage-*, --percentage-translate-*) * -100%);
424
+ --tw-enter-translate-y: calc(--value(ratio) * -100%);
425
+ --tw-enter-translate-y: calc(--value(--translate-*, [percentage], [length]) * -1);
426
+ }
427
+ @utility slide-in-from-bottom {
428
+ --tw-enter-translate-y: 100%;
429
+ }
430
+ @utility slide-in-from-bottom-* {
431
+ --tw-enter-translate-y: calc(--value(integer) * var(--spacing));
432
+ --tw-enter-translate-y: calc(--value(--percentage-*, --percentage-translate-*) * 100%);
433
+ --tw-enter-translate-y: calc(--value(ratio) * 100%);
434
+ --tw-enter-translate-y: --value(--translate-*, [percentage], [length]);
435
+ }
436
+ @utility slide-in-from-left {
437
+ --tw-enter-translate-x: -100%;
438
+ }
439
+ @utility slide-in-from-left-* {
440
+ --tw-enter-translate-x: calc(--value(integer) * var(--spacing) * -1);
441
+ --tw-enter-translate-x: calc(--value(--percentage-*, --percentage-translate-*) * -100%);
442
+ --tw-enter-translate-x: calc(--value(ratio) * -100%);
443
+ --tw-enter-translate-x: calc(--value(--translate-*, [percentage], [length]) * -1);
444
+ }
445
+ @utility slide-in-from-right {
446
+ --tw-enter-translate-x: 100%;
447
+ }
448
+ @utility slide-in-from-right-* {
449
+ --tw-enter-translate-x: calc(--value(integer) * var(--spacing));
450
+ --tw-enter-translate-x: calc(--value(--percentage-*, --percentage-translate-*) * 100%);
451
+ --tw-enter-translate-x: calc(--value(ratio) * 100%);
452
+ --tw-enter-translate-x: --value(--translate-*, [percentage], [length]);
453
+ }
454
+ @utility slide-in-from-start {
455
+ &:dir(ltr) {
456
+ --tw-enter-translate-x: -100%;
457
+ }
458
+ &:dir(rtl) {
459
+ --tw-enter-translate-x: 100%;
460
+ }
461
+ }
462
+ @utility slide-in-from-start-* {
463
+ &:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *) {
464
+ --tw-enter-translate-x: calc(--value(integer) * var(--spacing) * -1);
465
+ --tw-enter-translate-x: calc(--value(--percentage-*, --percentage-translate-*) * -100%);
466
+ --tw-enter-translate-x: calc(--value(ratio) * -100%);
467
+ --tw-enter-translate-x: calc(--value(--translate-*, [percentage], [length]) * -1);
468
+ }
469
+ &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
470
+ --tw-enter-translate-x: calc(--value(integer) * var(--spacing));
471
+ --tw-enter-translate-x: calc(--value(--percentage-*, --percentage-translate-*) * 100%);
472
+ --tw-enter-translate-x: calc(--value(ratio) * 100%);
473
+ --tw-enter-translate-x: --value(--translate-*, [percentage], [length]);
474
+ }
475
+ }
476
+ @utility slide-in-from-end {
477
+ &:dir(ltr) {
478
+ --tw-enter-translate-x: 100%;
479
+ }
480
+ &:dir(rtl) {
481
+ --tw-enter-translate-x: -100%;
482
+ }
483
+ }
484
+ @utility slide-in-from-end-* {
485
+ &:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *) {
486
+ --tw-enter-translate-x: calc(--value(integer) * var(--spacing));
487
+ --tw-enter-translate-x: calc(--value(--percentage-*, --percentage-translate-*) * 100%);
488
+ --tw-enter-translate-x: calc(--value(ratio) * 100%);
489
+ --tw-enter-translate-x: --value(--translate-*, [percentage], [length]);
490
+ }
491
+ &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
492
+ --tw-enter-translate-x: calc(--value(integer) * var(--spacing) * -1);
493
+ --tw-enter-translate-x: calc(--value(--percentage-*, --percentage-translate-*) * -100%);
494
+ --tw-enter-translate-x: calc(--value(ratio) * -100%);
495
+ --tw-enter-translate-x: calc(--value(--translate-*, [percentage], [length]) * -1);
496
+ }
497
+ }
498
+
499
+ @utility slide-out-to-top {
500
+ --tw-exit-translate-y: -100%;
501
+ }
502
+ @utility slide-out-to-top-* {
503
+ --tw-exit-translate-y: calc(--value(integer) * var(--spacing) * -1);
504
+ --tw-exit-translate-y: calc(--value(--percentage-*, --percentage-translate-*) * -100%);
505
+ --tw-exit-translate-y: calc(--value(ratio) * -100%);
506
+ --tw-exit-translate-y: calc(--value(--translate-*, [percentage], [length]) * -1);
507
+ }
508
+ @utility slide-out-to-bottom {
509
+ --tw-exit-translate-y: 100%;
510
+ }
511
+ @utility slide-out-to-bottom-* {
512
+ --tw-exit-translate-y: calc(--value(integer) * var(--spacing));
513
+ --tw-exit-translate-y: calc(--value(--percentage-*, --percentage-translate-*) * 100%);
514
+ --tw-exit-translate-y: calc(--value(ratio) * 100%);
515
+ --tw-exit-translate-y: --value(--translate-*, [percentage], [length]);
516
+ }
517
+ @utility slide-out-to-left {
518
+ --tw-exit-translate-x: -100%;
519
+ }
520
+ @utility slide-out-to-left-* {
521
+ --tw-exit-translate-x: calc(--value(integer) * var(--spacing) * -1);
522
+ --tw-exit-translate-x: calc(--value(--percentage-*, --percentage-translate-*) * -100%);
523
+ --tw-exit-translate-x: calc(--value(ratio) * -100%);
524
+ --tw-exit-translate-x: calc(--value(--translate-*, [percentage], [length]) * -1);
525
+ }
526
+ @utility slide-out-to-right {
527
+ --tw-exit-translate-x: 100%;
528
+ }
529
+ @utility slide-out-to-right-* {
530
+ --tw-exit-translate-x: calc(--value(integer) * var(--spacing));
531
+ --tw-exit-translate-x: calc(--value(--percentage-*, --percentage-translate-*) * 100%);
532
+ --tw-exit-translate-x: calc(--value(ratio) * 100%);
533
+ --tw-exit-translate-x: --value(--translate-*, [percentage], [length]);
534
+ }
535
+ @utility slide-out-to-start {
536
+ &:dir(ltr) {
537
+ --tw-exit-translate-x: -100%;
538
+ }
539
+ &:dir(rtl) {
540
+ --tw-exit-translate-x: 100%;
541
+ }
542
+ }
543
+ @utility slide-out-to-start-* {
544
+ &:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *) {
545
+ --tw-exit-translate-x: calc(--value(integer) * var(--spacing) * -1);
546
+ --tw-exit-translate-x: calc(--value(--percentage-*, --percentage-translate-*) * -100%);
547
+ --tw-exit-translate-x: calc(--value(ratio) * -100%);
548
+ --tw-exit-translate-x: calc(--value(--translate-*, [percentage], [length]) * -1);
549
+ }
550
+ &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
551
+ --tw-exit-translate-x: calc(--value(integer) * var(--spacing));
552
+ --tw-exit-translate-x: calc(--value(--percentage-*, --percentage-translate-*) * 100%);
553
+ --tw-exit-translate-x: calc(--value(ratio) * 100%);
554
+ --tw-exit-translate-x: --value(--translate-*, [percentage], [length]);
555
+ }
556
+ }
557
+ @utility slide-out-to-end {
558
+ &:dir(ltr) {
559
+ --tw-exit-translate-x: 100%;
560
+ }
561
+ &:dir(rtl) {
562
+ --tw-exit-translate-x: -100%;
563
+ }
564
+ }
565
+ @utility slide-out-to-end-* {
566
+ &:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *) {
567
+ --tw-exit-translate-x: calc(--value(integer) * var(--spacing));
568
+ --tw-exit-translate-x: calc(--value(--percentage-*, --percentage-translate-*) * 100%);
569
+ --tw-exit-translate-x: calc(--value(ratio) * 100%);
570
+ --tw-exit-translate-x: --value(--translate-*, [percentage], [length]);
571
+ }
572
+ &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
573
+ --tw-exit-translate-x: calc(--value(integer) * var(--spacing) * -1);
574
+ --tw-exit-translate-x: calc(--value(--percentage-*, --percentage-translate-*) * -100%);
575
+ --tw-exit-translate-x: calc(--value(ratio) * -100%);
576
+ --tw-exit-translate-x: calc(--value(--translate-*, [percentage], [length]) * -1);
577
+ }
578
+ }
package/bin/index.js DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- import '../dist/cli/index.js';