@tenerife.music/ui 1.2.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/preset.cjs CHANGED
@@ -130,7 +130,7 @@ var tailwindThemeColors = {
130
130
  };
131
131
 
132
132
  // src/FOUNDATION/tokens/motion/v2.ts
133
- var motionV2Durations = {
133
+ var motionDurations = {
134
134
  fast: "150ms",
135
135
  // Quick interactions
136
136
  normal: "250ms",
@@ -140,7 +140,7 @@ var motionV2Durations = {
140
140
  reduced: "0ms"
141
141
  // For prefers-reduced-motion
142
142
  };
143
- var motionV2Easings = {
143
+ var motionEasings = {
144
144
  soft: "cubic-bezier(0.22, 1, 0.36, 1)",
145
145
  // Gentle, smooth
146
146
  standard: "cubic-bezier(0.4, 0, 0.2, 1)",
@@ -148,366 +148,166 @@ var motionV2Easings = {
148
148
  emphasized: "cubic-bezier(0.2, 0, 0, 1)"
149
149
  // Strong, decisive
150
150
  };
151
- var motionV2Fade = {
151
+ var motionFade = {
152
152
  in: {
153
- from: { opacity: 0 },
154
- to: { opacity: 1 }
153
+ from: { opacity: "0" },
154
+ to: { opacity: "1" }
155
155
  },
156
156
  out: {
157
- from: { opacity: 1 },
158
- to: { opacity: 0 }
157
+ from: { opacity: "1" },
158
+ to: { opacity: "0" }
159
159
  }
160
160
  };
161
- var motionV2Scale = {
161
+ var motionScale = {
162
162
  in: {
163
- from: { transform: "scale(0.95)", opacity: 0 },
164
- to: { transform: "scale(1)", opacity: 1 }
163
+ from: { transform: "scale(0.95)", opacity: "0" },
164
+ to: { transform: "scale(1)", opacity: "1" }
165
165
  },
166
166
  out: {
167
- from: { transform: "scale(1)", opacity: 1 },
168
- to: { transform: "scale(0.95)", opacity: 0 }
167
+ from: { transform: "scale(1)", opacity: "1" },
168
+ to: { transform: "scale(0.95)", opacity: "0" }
169
169
  }
170
170
  };
171
- var motionV2Slide = {
171
+ var motionSlide = {
172
172
  up: {
173
173
  in: {
174
- from: { transform: "translateY(100%)", opacity: 0 },
175
- to: { transform: "translateY(0)", opacity: 1 }
174
+ from: { transform: "translateY(100%)", opacity: "0" },
175
+ to: { transform: "translateY(0)", opacity: "1" }
176
176
  },
177
177
  out: {
178
- from: { transform: "translateY(0)", opacity: 1 },
179
- to: { transform: "translateY(100%)", opacity: 0 }
178
+ from: { transform: "translateY(0)", opacity: "1" },
179
+ to: { transform: "translateY(100%)", opacity: "0" }
180
180
  }
181
181
  },
182
182
  down: {
183
183
  in: {
184
- from: { transform: "translateY(-100%)", opacity: 0 },
185
- to: { transform: "translateY(0)", opacity: 1 }
184
+ from: { transform: "translateY(-100%)", opacity: "0" },
185
+ to: { transform: "translateY(0)", opacity: "1" }
186
186
  },
187
187
  out: {
188
- from: { transform: "translateY(0)", opacity: 1 },
189
- to: { transform: "translateY(-100%)", opacity: 0 }
188
+ from: { transform: "translateY(0)", opacity: "1" },
189
+ to: { transform: "translateY(-100%)", opacity: "0" }
190
190
  }
191
191
  },
192
192
  left: {
193
193
  in: {
194
- from: { transform: "translateX(100%)", opacity: 0 },
195
- to: { transform: "translateX(0)", opacity: 1 }
194
+ from: { transform: "translateX(100%)", opacity: "0" },
195
+ to: { transform: "translateX(0)", opacity: "1" }
196
196
  },
197
197
  out: {
198
- from: { transform: "translateX(0)", opacity: 1 },
199
- to: { transform: "translateX(100%)", opacity: 0 }
198
+ from: { transform: "translateX(0)", opacity: "1" },
199
+ to: { transform: "translateX(100%)", opacity: "0" }
200
200
  }
201
201
  },
202
202
  right: {
203
203
  in: {
204
- from: { transform: "translateX(-100%)", opacity: 0 },
205
- to: { transform: "translateX(0)", opacity: 1 }
204
+ from: { transform: "translateX(-100%)", opacity: "0" },
205
+ to: { transform: "translateX(0)", opacity: "1" }
206
206
  },
207
207
  out: {
208
- from: { transform: "translateX(0)", opacity: 1 },
209
- to: { transform: "translateX(-100%)", opacity: 0 }
208
+ from: { transform: "translateX(0)", opacity: "1" },
209
+ to: { transform: "translateX(-100%)", opacity: "0" }
210
210
  }
211
211
  }
212
212
  };
213
- var motionV2Combined = {
213
+ var motionCombined = {
214
214
  fadeScale: {
215
215
  in: {
216
- from: { transform: "scale(0.95)", opacity: 0 },
217
- to: { transform: "scale(1)", opacity: 1 }
216
+ from: { transform: "scale(0.95)", opacity: "0" },
217
+ to: { transform: "scale(1)", opacity: "1" }
218
218
  },
219
219
  out: {
220
- from: { transform: "scale(1)", opacity: 1 },
221
- to: { transform: "scale(0.95)", opacity: 0 }
220
+ from: { transform: "scale(1)", opacity: "1" },
221
+ to: { transform: "scale(0.95)", opacity: "0" }
222
222
  }
223
223
  },
224
224
  fadeSlideUp: {
225
225
  in: {
226
- from: { transform: "translateY(100%)", opacity: 0 },
227
- to: { transform: "translateY(0)", opacity: 1 }
226
+ from: { transform: "translateY(100%)", opacity: "0" },
227
+ to: { transform: "translateY(0)", opacity: "1" }
228
228
  },
229
229
  out: {
230
- from: { transform: "translateY(0)", opacity: 1 },
231
- to: { transform: "translateY(100%)", opacity: 0 }
230
+ from: { transform: "translateY(0)", opacity: "1" },
231
+ to: { transform: "translateY(100%)", opacity: "0" }
232
232
  }
233
233
  },
234
234
  fadeSlideDown: {
235
235
  in: {
236
- from: { transform: "translateY(-100%)", opacity: 0 },
237
- to: { transform: "translateY(0)", opacity: 1 }
236
+ from: { transform: "translateY(-100%)", opacity: "0" },
237
+ to: { transform: "translateY(0)", opacity: "1" }
238
238
  },
239
239
  out: {
240
- from: { transform: "translateY(0)", opacity: 1 },
241
- to: { transform: "translateY(-100%)", opacity: 0 }
240
+ from: { transform: "translateY(0)", opacity: "1" },
241
+ to: { transform: "translateY(-100%)", opacity: "0" }
242
242
  }
243
243
  },
244
244
  fadeSlideLeft: {
245
245
  in: {
246
- from: { transform: "translateX(100%)", opacity: 0 },
247
- to: { transform: "translateX(0)", opacity: 1 }
246
+ from: { transform: "translateX(100%)", opacity: "0" },
247
+ to: { transform: "translateX(0)", opacity: "1" }
248
248
  },
249
249
  out: {
250
- from: { transform: "translateX(0)", opacity: 1 },
251
- to: { transform: "translateX(100%)", opacity: 0 }
250
+ from: { transform: "translateX(0)", opacity: "1" },
251
+ to: { transform: "translateX(100%)", opacity: "0" }
252
252
  }
253
253
  },
254
254
  fadeSlideRight: {
255
255
  in: {
256
- from: { transform: "translateX(-100%)", opacity: 0 },
257
- to: { transform: "translateX(0)", opacity: 1 }
256
+ from: { transform: "translateX(-100%)", opacity: "0" },
257
+ to: { transform: "translateX(0)", opacity: "1" }
258
258
  },
259
259
  out: {
260
- from: { transform: "translateX(0)", opacity: 1 },
261
- to: { transform: "translateX(-100%)", opacity: 0 }
260
+ from: { transform: "translateX(0)", opacity: "1" },
261
+ to: { transform: "translateX(-100%)", opacity: "0" }
262
262
  }
263
263
  }
264
264
  };
265
- var motionV2TailwindConfig = {
265
+ var motionTransitionProperty = {
266
+ DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
267
+ colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
268
+ opacity: "opacity",
269
+ shadow: "box-shadow",
270
+ transform: "transform",
271
+ all: "all",
272
+ none: "none"
273
+ };
274
+ var motionTailwindConfig = {
266
275
  transitionDuration: {
267
- ...motionV2Durations
276
+ ...motionDurations
268
277
  },
269
278
  transitionTimingFunction: {
270
- ...motionV2Easings
279
+ ...motionEasings
280
+ },
281
+ transitionProperty: {
282
+ ...motionTransitionProperty
271
283
  },
272
284
  keyframes: {
273
285
  // Fade
274
- "fade-in": motionV2Fade.in,
275
- "fade-out": motionV2Fade.out,
286
+ "fade-in": motionFade.in,
287
+ "fade-out": motionFade.out,
276
288
  // Scale
277
- "scale-in": motionV2Scale.in,
278
- "scale-out": motionV2Scale.out,
289
+ "scale-in": motionScale.in,
290
+ "scale-out": motionScale.out,
279
291
  // Slide
280
- "slide-up-in": motionV2Slide.up.in,
281
- "slide-up-out": motionV2Slide.up.out,
282
- "slide-down-in": motionV2Slide.down.in,
283
- "slide-down-out": motionV2Slide.down.out,
284
- "slide-left-in": motionV2Slide.left.in,
285
- "slide-left-out": motionV2Slide.left.out,
286
- "slide-right-in": motionV2Slide.right.in,
287
- "slide-right-out": motionV2Slide.right.out,
292
+ "slide-up-in": motionSlide.up.in,
293
+ "slide-up-out": motionSlide.up.out,
294
+ "slide-down-in": motionSlide.down.in,
295
+ "slide-down-out": motionSlide.down.out,
296
+ "slide-left-in": motionSlide.left.in,
297
+ "slide-left-out": motionSlide.left.out,
298
+ "slide-right-in": motionSlide.right.in,
299
+ "slide-right-out": motionSlide.right.out,
288
300
  // Combined
289
- "fade-scale-in": motionV2Combined.fadeScale.in,
290
- "fade-scale-out": motionV2Combined.fadeScale.out,
291
- "fade-slide-up-in": motionV2Combined.fadeSlideUp.in,
292
- "fade-slide-up-out": motionV2Combined.fadeSlideUp.out,
293
- "fade-slide-down-in": motionV2Combined.fadeSlideDown.in,
294
- "fade-slide-down-out": motionV2Combined.fadeSlideDown.out,
295
- "fade-slide-left-in": motionV2Combined.fadeSlideLeft.in,
296
- "fade-slide-left-out": motionV2Combined.fadeSlideLeft.out,
297
- "fade-slide-right-in": motionV2Combined.fadeSlideRight.in,
298
- "fade-slide-right-out": motionV2Combined.fadeSlideRight.out
299
- }
300
- };
301
-
302
- // src/FOUNDATION/tokens/motion.ts
303
- var durations = {
304
- instant: "0ms",
305
- fast: "150ms",
306
- // 1.5 × base (quick interactions)
307
- normal: "300ms",
308
- // 3 × base (default)
309
- slow: "500ms",
310
- // 5 × base (emphasized)
311
- slower: "700ms",
312
- // 7 × base (very emphasized)
313
- slowest: "1000ms",
314
- // 10 × base (maximum emphasis)
315
- // Additional granular durations
316
- "75": "75ms",
317
- // Ultra-fast
318
- "100": "100ms",
319
- // Base unit
320
- "200": "200ms",
321
- // Fast-normal
322
- "250": "250ms",
323
- // Between fast and normal
324
- "400": "400ms",
325
- // Between normal and slow
326
- "600": "600ms",
327
- // Between slow and slower
328
- "800": "800ms"
329
- // Between slower and slowest
330
- };
331
- var easings = {
332
- // Linear (no easing)
333
- linear: "linear",
334
- // Ease-in (accelerate) - cubic-bezier
335
- "ease-in": "cubic-bezier(0.4, 0, 1, 1)",
336
- // Ease-out (decelerate) - recommended for most UI - cubic-bezier
337
- "ease-out": "cubic-bezier(0, 0, 0.2, 1)",
338
- // Ease-in-out (accelerate and decelerate)
339
- "ease-in-out": "cubic-bezier(0.4, 0, 0.2, 1)",
340
- // Standard easing functions
341
- ease: "ease",
342
- // Advanced easing functions
343
- bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
344
- elastic: "cubic-bezier(0.175, 0.885, 0.32, 1.275)",
345
- // Material Design easing
346
- "ease-out-cubic": "cubic-bezier(0.215, 0.61, 0.355, 1)",
347
- "ease-in-cubic": "cubic-bezier(0.55, 0.055, 0.675, 0.19)",
348
- "ease-in-out-cubic": "cubic-bezier(0.645, 0.045, 0.355, 1)"
349
- };
350
- var keyframes = {
351
- // Fade animations
352
- fadeIn: {
353
- from: { opacity: "0" },
354
- to: { opacity: "1" }
355
- },
356
- fadeOut: {
357
- from: { opacity: "1" },
358
- to: { opacity: "0" }
359
- },
360
- // Slide animations
361
- slideInUp: {
362
- from: { transform: "translateY(100%)", opacity: "0" },
363
- to: { transform: "translateY(0)", opacity: "1" }
364
- },
365
- slideInDown: {
366
- from: { transform: "translateY(-100%)", opacity: "0" },
367
- to: { transform: "translateY(0)", opacity: "1" }
368
- },
369
- slideInLeft: {
370
- from: { transform: "translateX(-100%)", opacity: "0" },
371
- to: { transform: "translateX(0)", opacity: "1" }
372
- },
373
- slideInRight: {
374
- from: { transform: "translateX(100%)", opacity: "0" },
375
- to: { transform: "translateX(0)", opacity: "1" }
376
- },
377
- slideOutUp: {
378
- from: { transform: "translateY(0)", opacity: "1" },
379
- to: { transform: "translateY(-100%)", opacity: "0" }
380
- },
381
- slideOutDown: {
382
- from: { transform: "translateY(0)", opacity: "1" },
383
- to: { transform: "translateY(100%)", opacity: "0" }
384
- },
385
- slideOutLeft: {
386
- from: { transform: "translateX(0)", opacity: "1" },
387
- to: { transform: "translateX(-100%)", opacity: "0" }
388
- },
389
- slideOutRight: {
390
- from: { transform: "translateX(0)", opacity: "1" },
391
- to: { transform: "translateX(100%)", opacity: "0" }
392
- },
393
- // Scale animations
394
- scaleIn: {
395
- from: { transform: "scale(0.95)", opacity: "0" },
396
- to: { transform: "scale(1)", opacity: "1" }
397
- },
398
- scaleOut: {
399
- from: { transform: "scale(1)", opacity: "1" },
400
- to: { transform: "scale(0.95)", opacity: "0" }
401
- },
402
- scaleUp: {
403
- from: { transform: "scale(1)" },
404
- to: { transform: "scale(1.05)" }
405
- },
406
- scaleDown: {
407
- from: { transform: "scale(1.05)" },
408
- to: { transform: "scale(1)" }
409
- },
410
- // Rotation animations
411
- spin: {
412
- from: { transform: "rotate(0deg)" },
413
- to: { transform: "rotate(360deg)" }
414
- },
415
- spinReverse: {
416
- from: { transform: "rotate(360deg)" },
417
- to: { transform: "rotate(0deg)" }
418
- },
419
- // Pulse and bounce
420
- pulse: {
421
- "0%, 100%": { opacity: "1" },
422
- "50%": { opacity: "0.5" }
423
- },
424
- bounce: {
425
- "0%, 100%": {
426
- transform: "translateY(-25%)",
427
- animationTimingFunction: "cubic-bezier(0.8, 0, 1, 1)"
428
- },
429
- "50%": {
430
- transform: "translateY(0)",
431
- animationTimingFunction: "cubic-bezier(0, 0, 0.2, 1)"
432
- }
433
- },
434
- // Shake animation
435
- shake: {
436
- "0%, 100%": { transform: "translateX(0)" },
437
- "10%, 30%, 50%, 70%, 90%": { transform: "translateX(-4px)" },
438
- "20%, 40%, 60%, 80%": { transform: "translateX(4px)" }
439
- },
440
- // Ping animation
441
- ping: {
442
- "75%, 100%": {
443
- transform: "scale(2)",
444
- opacity: "0"
445
- }
446
- },
447
- // Accordion animations (for Radix UI)
448
- "accordion-down": {
449
- from: { height: "0" },
450
- to: { height: "var(--radix-accordion-content-height)" }
451
- },
452
- "accordion-up": {
453
- from: { height: "var(--radix-accordion-content-height)" },
454
- to: { height: "0" }
455
- }
456
- };
457
- var animations = {
458
- // Fade animations
459
- fadeIn: `fadeIn ${durations.normal} ${easings["ease-out"]}`,
460
- fadeOut: `fadeOut ${durations.fast} ${easings["ease-in"]}`,
461
- // Slide animations
462
- slideInUp: `slideInUp ${durations.normal} ${easings["ease-out"]}`,
463
- slideInDown: `slideInDown ${durations.normal} ${easings["ease-out"]}`,
464
- slideInLeft: `slideInLeft ${durations.normal} ${easings["ease-out"]}`,
465
- slideInRight: `slideInRight ${durations.normal} ${easings["ease-out"]}`,
466
- slideOutUp: `slideOutUp ${durations.fast} ${easings["ease-in"]}`,
467
- slideOutDown: `slideOutDown ${durations.fast} ${easings["ease-in"]}`,
468
- slideOutLeft: `slideOutLeft ${durations.fast} ${easings["ease-in"]}`,
469
- slideOutRight: `slideOutRight ${durations.fast} ${easings["ease-in"]}`,
470
- // Scale animations
471
- scaleIn: `scaleIn ${durations.normal} ${easings["ease-out"]}`,
472
- scaleOut: `scaleOut ${durations.fast} ${easings["ease-in"]}`,
473
- // Continuous animations
474
- spin: `spin 1s ${easings.linear} infinite`,
475
- pulse: `pulse 2s ${easings["ease-in-out"]} infinite`,
476
- bounce: `bounce 1s ${easings.linear} infinite`,
477
- ping: `ping 1s ${easings["ease-out"]} cubic-bezier(0, 0, 0.2, 1) infinite`,
478
- shake: `shake 0.5s ${easings["ease-in-out"]}`,
479
- // Accordion animations
480
- "accordion-down": `accordion-down ${durations.normal} ${easings["ease-out"]}`,
481
- "accordion-up": `accordion-up ${durations.normal} ${easings["ease-out"]}`
482
- };
483
- var tailwindMotionConfig = {
484
- transitionDuration: {
485
- ...durations
486
- },
487
- transitionTimingFunction: {
488
- ...easings
489
- },
490
- transitionProperty: {
491
- DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
492
- colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
493
- opacity: "opacity",
494
- shadow: "box-shadow",
495
- transform: "transform",
496
- all: "all",
497
- none: "none"
498
- },
499
- keyframes: {
500
- ...keyframes
501
- },
502
- animation: {
503
- ...animations,
504
- // Additional animation utilities
505
- none: "none",
506
- spin: animations.spin,
507
- pulse: animations.pulse,
508
- bounce: animations.bounce,
509
- ping: animations.ping,
510
- shake: animations.shake
301
+ "fade-scale-in": motionCombined.fadeScale.in,
302
+ "fade-scale-out": motionCombined.fadeScale.out,
303
+ "fade-slide-up-in": motionCombined.fadeSlideUp.in,
304
+ "fade-slide-up-out": motionCombined.fadeSlideUp.out,
305
+ "fade-slide-down-in": motionCombined.fadeSlideDown.in,
306
+ "fade-slide-down-out": motionCombined.fadeSlideDown.out,
307
+ "fade-slide-left-in": motionCombined.fadeSlideLeft.in,
308
+ "fade-slide-left-out": motionCombined.fadeSlideLeft.out,
309
+ "fade-slide-right-in": motionCombined.fadeSlideRight.in,
310
+ "fade-slide-right-out": motionCombined.fadeSlideRight.out
511
311
  }
512
312
  };
513
313
 
@@ -1125,23 +925,31 @@ var preset = {
1125
925
  ringColor: tailwindShadowConfig.ringColor,
1126
926
  // Token-based border radius from tokens/radius
1127
927
  borderRadius: tailwindRadiusConfig.borderRadius,
1128
- // Token-based motion from tokens/motion
1129
- transitionDuration: {
1130
- ...tailwindMotionConfig.transitionDuration,
1131
- ...motionV2TailwindConfig.transitionDuration
1132
- },
1133
- transitionTimingFunction: {
1134
- ...tailwindMotionConfig.transitionTimingFunction,
1135
- ...motionV2TailwindConfig.transitionTimingFunction
1136
- },
1137
- transitionProperty: tailwindMotionConfig.transitionProperty,
1138
- keyframes: {
1139
- ...tailwindMotionConfig.keyframes,
1140
- ...motionV2TailwindConfig.keyframes
1141
- },
928
+ // Token-based motion
929
+ transitionDuration: motionTailwindConfig.transitionDuration,
930
+ transitionTimingFunction: motionTailwindConfig.transitionTimingFunction,
931
+ transitionProperty: motionTailwindConfig.transitionProperty,
932
+ keyframes: motionTailwindConfig.keyframes,
1142
933
  animation: {
1143
- ...tailwindMotionConfig.animation,
1144
- ...motionV2TailwindConfig.keyframes
934
+ // Motion animations - map keyframes to animation utilities
935
+ "fade-in": `fade-in ${motionDurations.normal} ${motionEasings.standard}`,
936
+ "fade-out": `fade-out ${motionDurations.fast} ${motionEasings.standard}`,
937
+ "scale-in": `scale-in ${motionDurations.normal} ${motionEasings.standard}`,
938
+ "scale-out": `scale-out ${motionDurations.fast} ${motionEasings.standard}`,
939
+ "slide-up-in": `slide-up-in ${motionDurations.normal} ${motionEasings.standard}`,
940
+ "slide-down-in": `slide-down-in ${motionDurations.normal} ${motionEasings.standard}`,
941
+ "slide-left-in": `slide-left-in ${motionDurations.normal} ${motionEasings.standard}`,
942
+ "slide-right-in": `slide-right-in ${motionDurations.normal} ${motionEasings.standard}`,
943
+ "fade-scale-in": `fade-scale-in ${motionDurations.normal} ${motionEasings.standard}`,
944
+ "fade-slide-up-in": `fade-slide-up-in ${motionDurations.normal} ${motionEasings.standard}`,
945
+ "fade-slide-down-in": `fade-slide-down-in ${motionDurations.normal} ${motionEasings.standard}`,
946
+ "fade-slide-left-in": `fade-slide-left-in ${motionDurations.normal} ${motionEasings.standard}`,
947
+ "fade-slide-right-in": `fade-slide-right-in ${motionDurations.normal} ${motionEasings.standard}`,
948
+ "fade-scale-out": `fade-scale-out ${motionDurations.fast} ${motionEasings.standard}`,
949
+ "fade-slide-up-out": `fade-slide-up-out ${motionDurations.fast} ${motionEasings.standard}`,
950
+ "fade-slide-down-out": `fade-slide-down-out ${motionDurations.fast} ${motionEasings.standard}`,
951
+ "fade-slide-left-out": `fade-slide-left-out ${motionDurations.fast} ${motionEasings.standard}`,
952
+ "fade-slide-right-out": `fade-slide-right-out ${motionDurations.fast} ${motionEasings.standard}`
1145
953
  }
1146
954
  }
1147
955
  },
@@ -1150,62 +958,62 @@ var preset = {
1150
958
  addUtilities({
1151
959
  // Fade animations
1152
960
  ".tm-motion-fade-in": {
1153
- animation: `fade-in var(--motion-duration-normal) var(--motion-easing-standard)`
961
+ animation: `fade-in var(--motion-duration-normal) var(--motion-easing-standard) both`
1154
962
  },
1155
963
  ".tm-motion-fade-out": {
1156
- animation: `fade-out var(--motion-duration-fast) var(--motion-easing-standard)`
964
+ animation: `fade-out var(--motion-duration-fast) var(--motion-easing-standard) both`
1157
965
  },
1158
966
  // Scale animations
1159
967
  ".tm-motion-scale-in": {
1160
- animation: `scale-in var(--motion-duration-normal) var(--motion-easing-standard)`
968
+ animation: `scale-in var(--motion-duration-normal) var(--motion-easing-standard) both`
1161
969
  },
1162
970
  ".tm-motion-scale-out": {
1163
- animation: `scale-out var(--motion-duration-fast) var(--motion-easing-standard)`
971
+ animation: `scale-out var(--motion-duration-fast) var(--motion-easing-standard) both`
1164
972
  },
1165
973
  // Slide animations
1166
974
  ".tm-motion-slide-up": {
1167
- animation: `slide-up-in var(--motion-duration-normal) var(--motion-easing-standard)`
975
+ animation: `slide-up-in var(--motion-duration-normal) var(--motion-easing-standard) both`
1168
976
  },
1169
977
  ".tm-motion-slide-down": {
1170
- animation: `slide-down-in var(--motion-duration-normal) var(--motion-easing-standard)`
978
+ animation: `slide-down-in var(--motion-duration-normal) var(--motion-easing-standard) both`
1171
979
  },
1172
980
  ".tm-motion-slide-left": {
1173
- animation: `slide-left-in var(--motion-duration-normal) var(--motion-easing-standard)`
981
+ animation: `slide-left-in var(--motion-duration-normal) var(--motion-easing-standard) both`
1174
982
  },
1175
983
  ".tm-motion-slide-right": {
1176
- animation: `slide-right-in var(--motion-duration-normal) var(--motion-easing-standard)`
984
+ animation: `slide-right-in var(--motion-duration-normal) var(--motion-easing-standard) both`
1177
985
  },
1178
986
  // Compound animations
1179
987
  ".tm-motion-fade-scale": {
1180
- animation: `fade-scale-in var(--motion-duration-normal) var(--motion-easing-standard)`
988
+ animation: `fade-scale-in var(--motion-duration-normal) var(--motion-easing-standard) both`
1181
989
  },
1182
990
  ".tm-motion-fade-slide-up": {
1183
- animation: `fade-slide-up-in var(--motion-duration-normal) var(--motion-easing-standard)`
991
+ animation: `fade-slide-up-in var(--motion-duration-normal) var(--motion-easing-standard) both`
1184
992
  },
1185
993
  ".tm-motion-fade-slide-down": {
1186
- animation: `fade-slide-down-in var(--motion-duration-normal) var(--motion-easing-standard)`
994
+ animation: `fade-slide-down-in var(--motion-duration-normal) var(--motion-easing-standard) both`
1187
995
  },
1188
996
  ".tm-motion-fade-slide-left": {
1189
- animation: `fade-slide-left-in var(--motion-duration-normal) var(--motion-easing-standard)`
997
+ animation: `fade-slide-left-in var(--motion-duration-normal) var(--motion-easing-standard) both`
1190
998
  },
1191
999
  ".tm-motion-fade-slide-right": {
1192
- animation: `fade-slide-right-in var(--motion-duration-normal) var(--motion-easing-standard)`
1000
+ animation: `fade-slide-right-in var(--motion-duration-normal) var(--motion-easing-standard) both`
1193
1001
  },
1194
1002
  // Exit animations (for use with data attributes or state classes)
1195
1003
  ".tm-motion-fade-scale-out": {
1196
- animation: `fade-scale-out var(--motion-duration-fast) var(--motion-easing-standard)`
1004
+ animation: `fade-scale-out var(--motion-duration-fast) var(--motion-easing-standard) both`
1197
1005
  },
1198
1006
  ".tm-motion-fade-slide-up-out": {
1199
- animation: `fade-slide-up-out var(--motion-duration-fast) var(--motion-easing-standard)`
1007
+ animation: `fade-slide-up-out var(--motion-duration-fast) var(--motion-easing-standard) both`
1200
1008
  },
1201
1009
  ".tm-motion-fade-slide-down-out": {
1202
- animation: `fade-slide-down-out var(--motion-duration-fast) var(--motion-easing-standard)`
1010
+ animation: `fade-slide-down-out var(--motion-duration-fast) var(--motion-easing-standard) both`
1203
1011
  },
1204
1012
  ".tm-motion-fade-slide-left-out": {
1205
- animation: `fade-slide-left-out var(--motion-duration-fast) var(--motion-easing-standard)`
1013
+ animation: `fade-slide-left-out var(--motion-duration-fast) var(--motion-easing-standard) both`
1206
1014
  },
1207
1015
  ".tm-motion-fade-slide-right-out": {
1208
- animation: `fade-slide-right-out var(--motion-duration-fast) var(--motion-easing-standard)`
1016
+ animation: `fade-slide-right-out var(--motion-duration-fast) var(--motion-easing-standard) both`
1209
1017
  },
1210
1018
  // Hover animations
1211
1019
  ".tm-motion-hover-lift": {