@gbmtech/aurora-ui 0.1.2 → 0.1.3

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.
@@ -181,3 +181,399 @@
181
181
  --color-purple-800: #351856;
182
182
  --color-purple-900: #2a1440;
183
183
  }
184
+ /**
185
+ * Keyframe Animations
186
+ * -----------------------------------------------------------------------------
187
+ * Defines basic animations such as cursor blinking effects,
188
+ * expanding/collapsing content effects.
189
+ */
190
+ @theme inline {
191
+ --animate-caret-blink: caret-blink 1250ms ease-out infinite;
192
+ --animate-collapsible-up: collapsible-up 200ms ease-in;
193
+ --animate-collapsible-down: collapsible-down 200ms ease-out;
194
+
195
+ @keyframes caret-blink {
196
+ 0%,
197
+ 70%,
198
+ 100% {
199
+ opacity: 1;
200
+ }
201
+
202
+ 20%,
203
+ 50% {
204
+ opacity: 0;
205
+ }
206
+ }
207
+
208
+ @keyframes collapsible-up {
209
+ from {
210
+ /*noinspection CssUnresolvedCustomProperty*/
211
+ height: var(--radix-collapsible-content-height);
212
+ }
213
+ to {
214
+ height: 0;
215
+ }
216
+ }
217
+
218
+ @keyframes collapsible-down {
219
+ from {
220
+ height: 0;
221
+ }
222
+ to {
223
+ /*noinspection CssUnresolvedCustomProperty*/
224
+ height: var(--radix-collapsible-content-height);
225
+ }
226
+ }
227
+ }
228
+
229
+ /**
230
+ * Animation Timing Functions
231
+ * -----------------------------------------------------------------------------
232
+ * Easing functions used to adjust the speed of animation transitions.
233
+ */
234
+ @theme inline {
235
+ --animate-fade-in: fadeIn 250ms ease-out;
236
+ --animate-fade-out: fadeOut 250ms ease-in;
237
+
238
+ --animate-in: enter 300ms cubic-bezier(0.32, 0.72, 0, 1);
239
+ --animate-out: exit 250ms cubic-bezier(0.32, 0.72, 0, 1);
240
+
241
+ @keyframes fadeIn {
242
+ from {
243
+ opacity: var(--tw-enter-opacity, 0);
244
+ }
245
+ }
246
+
247
+ @keyframes fadeOut {
248
+ to {
249
+ opacity: var(--tw-exit-opacity, 0);
250
+ }
251
+ }
252
+
253
+ @keyframes enter {
254
+ from {
255
+ opacity: var(--tw-enter-opacity, 1);
256
+ transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0)
257
+ scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1))
258
+ rotate(var(--tw-enter-rotate, 0));
259
+ }
260
+ }
261
+
262
+ @keyframes exit {
263
+ to {
264
+ opacity: var(--tw-exit-opacity, 1);
265
+ transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0)
266
+ scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1))
267
+ rotate(var(--tw-exit-rotate, 0));
268
+ }
269
+ }
270
+ }
271
+
272
+ /**
273
+ * Animation Timing Functions
274
+ * -----------------------------------------------------------------------------
275
+ * Defines utilities to adjust animation speed.
276
+ */
277
+ @utility animation-ease-linear {
278
+ animation-timing-function: linear;
279
+ }
280
+
281
+ @utility animation-ease-in {
282
+ animation-timing-function: var(--ease-in);
283
+ }
284
+
285
+ @utility animation-ease-out {
286
+ animation-timing-function: var(--ease-out);
287
+ }
288
+
289
+ @utility animation-ease-in-out {
290
+ animation-timing-function: var(--ease-in-out);
291
+ }
292
+
293
+ @utility animation-ease-initial {
294
+ animation-timing-function: initial;
295
+ }
296
+
297
+ @utility animation-ease-* {
298
+ animation-timing-function: --value([*]);
299
+ }
300
+
301
+ /**
302
+ * Animation Play State
303
+ * -----------------------------------------------------------------------------
304
+ * Adjust the playback state of the animation.
305
+ */
306
+ @utility animation-state-paused {
307
+ animation-play-state: paused;
308
+ }
309
+
310
+ @utility animation-state-running {
311
+ animation-play-state: running;
312
+ }
313
+
314
+ @utility animation-state-initial {
315
+ animation-play-state: initial;
316
+ }
317
+
318
+ @utility animation-state-* {
319
+ animation-play-state: --value([*]);
320
+ }
321
+
322
+ /**
323
+ * Animation Repeat
324
+ * -----------------------------------------------------------------------------
325
+ * Controls the number of repetitions of the animation.
326
+ */
327
+ @utility animation-repeat-infinite {
328
+ animation-iteration-count: infinite;
329
+ }
330
+
331
+ @utility animation-repeat-initial {
332
+ animation-iteration-count: initial;
333
+ }
334
+
335
+ @utility animation-repeat-* {
336
+ animation-iteration-count: --value(integer, [integer]);
337
+ }
338
+
339
+ /**
340
+ * Animation Composition
341
+ * -----------------------------------------------------------------------------
342
+ * Defines how animations combine with each other.
343
+ */
344
+ @utility animation-composition-replace {
345
+ animation-composition: replace;
346
+ }
347
+
348
+ @utility animation-composition-add {
349
+ animation-composition: add;
350
+ }
351
+
352
+ @utility animation-composition-accumulate {
353
+ animation-composition: accumulate;
354
+ }
355
+
356
+ @utility animation-composition-initial {
357
+ animation-composition: initial;
358
+ }
359
+
360
+ @utility animation-composition-* {
361
+ animation-composition: --value([*]);
362
+ }
363
+
364
+ /**
365
+ * Animation Delay
366
+ * -----------------------------------------------------------------------------
367
+ * Adjust the delay time before the animation starts.
368
+ */
369
+ @utility animation-delay-initial {
370
+ animation-delay: initial;
371
+ }
372
+
373
+ @utility animation-delay-* {
374
+ animation-delay: calc(--value(integer) * 1ms);
375
+ animation-delay: --value([*]);
376
+ }
377
+
378
+ /**
379
+ * Animation Direction
380
+ * -----------------------------------------------------------------------------
381
+ * Determines the playback direction of the animation.
382
+ */
383
+ @utility animation-direction-normal {
384
+ animation-direction: normal;
385
+ }
386
+
387
+ @utility animation-direction-reverse {
388
+ animation-direction: reverse;
389
+ }
390
+
391
+ @utility animation-direction-alternate {
392
+ animation-direction: alternate;
393
+ }
394
+
395
+ @utility animation-direction-alternate-reverse {
396
+ animation-direction: alternate-reverse;
397
+ }
398
+
399
+ @utility animation-direction-initial {
400
+ animation-direction: initial;
401
+ }
402
+
403
+ @utility animation-direction-* {
404
+ animation-direction: --value([*]);
405
+ }
406
+
407
+ /**
408
+ * Animation Duration
409
+ * -----------------------------------------------------------------------------
410
+ * Defines the duration of the animation execution.
411
+ */
412
+ @utility animation-duration-initial {
413
+ animation-duration: initial;
414
+ }
415
+
416
+ @utility animation-duration-* {
417
+ animation-duration: calc(--value(integer) * 1ms);
418
+ animation-duration: --value([*]);
419
+ }
420
+
421
+ /**
422
+ * Animation Fill Mode
423
+ * -----------------------------------------------------------------------------
424
+ * Defines the state of the element after the animation ends.
425
+ */
426
+ @utility animation-fill-none {
427
+ animation-fill-mode: none;
428
+ }
429
+
430
+ @utility animation-fill-forwards {
431
+ animation-fill-mode: forwards;
432
+ }
433
+
434
+ @utility animation-fill-backwards {
435
+ animation-fill-mode: backwards;
436
+ }
437
+
438
+ @utility animation-fill-both {
439
+ animation-fill-mode: both;
440
+ }
441
+
442
+ @utility animation-fill-* {
443
+ animation-fill-mode: --value([*]);
444
+ }
445
+
446
+ /**
447
+ * Fade Animations
448
+ * -----------------------------------------------------------------------------
449
+ * Create fade-in and fade-out effects.
450
+ */
451
+ @utility fade-in-* {
452
+ --tw-enter-opacity: calc(--value(integer) * 1%);
453
+ --tw-enter-opacity: --value(--opacity-*, [percentage]);
454
+ }
455
+
456
+ @utility fade-out-* {
457
+ --tw-exit-opacity: calc(--value(integer) * 1%);
458
+ --tw-exit-opacity: --value(--opacity-*, [percentage]);
459
+ }
460
+
461
+ /**
462
+ * Rotate Animations
463
+ * -----------------------------------------------------------------------------
464
+ * Adjust the rotation angle of the element when it appears or disappears.
465
+ */
466
+ @utility spin-in-* {
467
+ --tw-enter-rotate: calc(1deg * --value(integer));
468
+ }
469
+
470
+ @utility spin-out-* {
471
+ --tw-exit-rotate: calc(1deg * --value(integer));
472
+ }
473
+
474
+ /**
475
+ * Scale Animations
476
+ * -----------------------------------------------------------------------------
477
+ * Adjust the size of the element when it appears or disappears.
478
+ */
479
+ @utility zoom-in-* {
480
+ --tw-enter-scale: --value([percentage]);
481
+ --tw-enter-scale: calc(--value(integer) * 1%);
482
+ }
483
+
484
+ @utility zoom-out-* {
485
+ --tw-exit-scale: --value([percentage]);
486
+ --tw-exit-scale: calc(--value(integer) * 1%);
487
+ }
488
+
489
+ /**
490
+ * Slide Animations - Enter
491
+ * -----------------------------------------------------------------------------
492
+ * Effects for sliding in from directions: left, right, top, bottom.
493
+ */
494
+
495
+ @utility slide-in-from-top {
496
+ --tw-enter-translate-y: -100%;
497
+ }
498
+
499
+ @utility slide-in-from-top-* {
500
+ --tw-enter-translate-y: calc(var(--spacing) * --value(number) * -1);
501
+ --tw-enter-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);
502
+ --tw-enter-translate-y: calc(--value([length], [percentage]) * -1);
503
+ }
504
+
505
+ @utility slide-in-from-left {
506
+ --tw-enter-translate-x: -100%;
507
+ }
508
+
509
+ @utility slide-in-from-left-* {
510
+ --tw-enter-translate-x: calc(var(--spacing) * --value(number) * -1);
511
+ --tw-enter-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);
512
+ --tw-enter-translate-x: calc(--value([length], [percentage]) * -1);
513
+ }
514
+
515
+ @utility slide-in-from-bottom {
516
+ --tw-enter-translate-y: 100%;
517
+ }
518
+
519
+ @utility slide-in-from-bottom-* {
520
+ --tw-enter-translate-y: calc(var(--spacing) * --value(number));
521
+ --tw-enter-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);
522
+ --tw-enter-translate-y: --value([length], [percentage]);
523
+ }
524
+
525
+ @utility slide-in-from-right {
526
+ --tw-enter-translate-x: 100%;
527
+ }
528
+
529
+ @utility slide-in-from-right-* {
530
+ --tw-enter-translate-x: calc(var(--spacing) * --value(number));
531
+ --tw-enter-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);
532
+ --tw-enter-translate-x: --value([length], [percentage]);
533
+ }
534
+
535
+ /**
536
+ * Slide Animations - Exit
537
+ * -----------------------------------------------------------------------------
538
+ * Effects for sliding out of the screen in directions: left, right, top, bottom.
539
+ */
540
+
541
+ @utility slide-out-to-top {
542
+ --tw-exit-translate-y: -100%;
543
+ }
544
+
545
+ @utility slide-out-to-top-* {
546
+ --tw-exit-translate-y: calc(var(--spacing) * --value(number) * -1);
547
+ --tw-exit-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);
548
+ --tw-exit-translate-y: calc(--value([length], [percentage]) * -1);
549
+ }
550
+
551
+ @utility slide-out-to-left {
552
+ --tw-exit-translate-x: -100%;
553
+ }
554
+
555
+ @utility slide-out-to-left-* {
556
+ --tw-exit-translate-x: calc(var(--spacing) * --value(number) * -1);
557
+ --tw-exit-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);
558
+ --tw-exit-translate-x: calc(--value([length], [percentage]) * -1);
559
+ }
560
+
561
+ @utility slide-out-to-bottom {
562
+ --tw-exit-translate-y: 100%;
563
+ }
564
+
565
+ @utility slide-out-to-bottom-* {
566
+ --tw-exit-translate-y: calc(var(--spacing) * --value(number));
567
+ --tw-exit-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);
568
+ --tw-exit-translate-y: --value([length], [percentage]);
569
+ }
570
+
571
+ @utility slide-out-to-right {
572
+ --tw-exit-translate-x: 100%;
573
+ }
574
+
575
+ @utility slide-out-to-right-* {
576
+ --tw-exit-translate-x: calc(var(--spacing) * --value(number));
577
+ --tw-exit-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);
578
+ --tw-exit-translate-x: --value([length], [percentage]);
579
+ }
@@ -181,3 +181,399 @@
181
181
  --color-purple-800: #351856;
182
182
  --color-purple-900: #2a1440;
183
183
  }
184
+ /**
185
+ * Keyframe Animations
186
+ * -----------------------------------------------------------------------------
187
+ * Defines basic animations such as cursor blinking effects,
188
+ * expanding/collapsing content effects.
189
+ */
190
+ @theme inline {
191
+ --animate-caret-blink: caret-blink 1250ms ease-out infinite;
192
+ --animate-collapsible-up: collapsible-up 200ms ease-in;
193
+ --animate-collapsible-down: collapsible-down 200ms ease-out;
194
+
195
+ @keyframes caret-blink {
196
+ 0%,
197
+ 70%,
198
+ 100% {
199
+ opacity: 1;
200
+ }
201
+
202
+ 20%,
203
+ 50% {
204
+ opacity: 0;
205
+ }
206
+ }
207
+
208
+ @keyframes collapsible-up {
209
+ from {
210
+ /*noinspection CssUnresolvedCustomProperty*/
211
+ height: var(--radix-collapsible-content-height);
212
+ }
213
+ to {
214
+ height: 0;
215
+ }
216
+ }
217
+
218
+ @keyframes collapsible-down {
219
+ from {
220
+ height: 0;
221
+ }
222
+ to {
223
+ /*noinspection CssUnresolvedCustomProperty*/
224
+ height: var(--radix-collapsible-content-height);
225
+ }
226
+ }
227
+ }
228
+
229
+ /**
230
+ * Animation Timing Functions
231
+ * -----------------------------------------------------------------------------
232
+ * Easing functions used to adjust the speed of animation transitions.
233
+ */
234
+ @theme inline {
235
+ --animate-fade-in: fadeIn 250ms ease-out;
236
+ --animate-fade-out: fadeOut 250ms ease-in;
237
+
238
+ --animate-in: enter 300ms cubic-bezier(0.32, 0.72, 0, 1);
239
+ --animate-out: exit 250ms cubic-bezier(0.32, 0.72, 0, 1);
240
+
241
+ @keyframes fadeIn {
242
+ from {
243
+ opacity: var(--tw-enter-opacity, 0);
244
+ }
245
+ }
246
+
247
+ @keyframes fadeOut {
248
+ to {
249
+ opacity: var(--tw-exit-opacity, 0);
250
+ }
251
+ }
252
+
253
+ @keyframes enter {
254
+ from {
255
+ opacity: var(--tw-enter-opacity, 1);
256
+ transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0)
257
+ scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1))
258
+ rotate(var(--tw-enter-rotate, 0));
259
+ }
260
+ }
261
+
262
+ @keyframes exit {
263
+ to {
264
+ opacity: var(--tw-exit-opacity, 1);
265
+ transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0)
266
+ scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1))
267
+ rotate(var(--tw-exit-rotate, 0));
268
+ }
269
+ }
270
+ }
271
+
272
+ /**
273
+ * Animation Timing Functions
274
+ * -----------------------------------------------------------------------------
275
+ * Defines utilities to adjust animation speed.
276
+ */
277
+ @utility animation-ease-linear {
278
+ animation-timing-function: linear;
279
+ }
280
+
281
+ @utility animation-ease-in {
282
+ animation-timing-function: var(--ease-in);
283
+ }
284
+
285
+ @utility animation-ease-out {
286
+ animation-timing-function: var(--ease-out);
287
+ }
288
+
289
+ @utility animation-ease-in-out {
290
+ animation-timing-function: var(--ease-in-out);
291
+ }
292
+
293
+ @utility animation-ease-initial {
294
+ animation-timing-function: initial;
295
+ }
296
+
297
+ @utility animation-ease-* {
298
+ animation-timing-function: --value([*]);
299
+ }
300
+
301
+ /**
302
+ * Animation Play State
303
+ * -----------------------------------------------------------------------------
304
+ * Adjust the playback state of the animation.
305
+ */
306
+ @utility animation-state-paused {
307
+ animation-play-state: paused;
308
+ }
309
+
310
+ @utility animation-state-running {
311
+ animation-play-state: running;
312
+ }
313
+
314
+ @utility animation-state-initial {
315
+ animation-play-state: initial;
316
+ }
317
+
318
+ @utility animation-state-* {
319
+ animation-play-state: --value([*]);
320
+ }
321
+
322
+ /**
323
+ * Animation Repeat
324
+ * -----------------------------------------------------------------------------
325
+ * Controls the number of repetitions of the animation.
326
+ */
327
+ @utility animation-repeat-infinite {
328
+ animation-iteration-count: infinite;
329
+ }
330
+
331
+ @utility animation-repeat-initial {
332
+ animation-iteration-count: initial;
333
+ }
334
+
335
+ @utility animation-repeat-* {
336
+ animation-iteration-count: --value(integer, [integer]);
337
+ }
338
+
339
+ /**
340
+ * Animation Composition
341
+ * -----------------------------------------------------------------------------
342
+ * Defines how animations combine with each other.
343
+ */
344
+ @utility animation-composition-replace {
345
+ animation-composition: replace;
346
+ }
347
+
348
+ @utility animation-composition-add {
349
+ animation-composition: add;
350
+ }
351
+
352
+ @utility animation-composition-accumulate {
353
+ animation-composition: accumulate;
354
+ }
355
+
356
+ @utility animation-composition-initial {
357
+ animation-composition: initial;
358
+ }
359
+
360
+ @utility animation-composition-* {
361
+ animation-composition: --value([*]);
362
+ }
363
+
364
+ /**
365
+ * Animation Delay
366
+ * -----------------------------------------------------------------------------
367
+ * Adjust the delay time before the animation starts.
368
+ */
369
+ @utility animation-delay-initial {
370
+ animation-delay: initial;
371
+ }
372
+
373
+ @utility animation-delay-* {
374
+ animation-delay: calc(--value(integer) * 1ms);
375
+ animation-delay: --value([*]);
376
+ }
377
+
378
+ /**
379
+ * Animation Direction
380
+ * -----------------------------------------------------------------------------
381
+ * Determines the playback direction of the animation.
382
+ */
383
+ @utility animation-direction-normal {
384
+ animation-direction: normal;
385
+ }
386
+
387
+ @utility animation-direction-reverse {
388
+ animation-direction: reverse;
389
+ }
390
+
391
+ @utility animation-direction-alternate {
392
+ animation-direction: alternate;
393
+ }
394
+
395
+ @utility animation-direction-alternate-reverse {
396
+ animation-direction: alternate-reverse;
397
+ }
398
+
399
+ @utility animation-direction-initial {
400
+ animation-direction: initial;
401
+ }
402
+
403
+ @utility animation-direction-* {
404
+ animation-direction: --value([*]);
405
+ }
406
+
407
+ /**
408
+ * Animation Duration
409
+ * -----------------------------------------------------------------------------
410
+ * Defines the duration of the animation execution.
411
+ */
412
+ @utility animation-duration-initial {
413
+ animation-duration: initial;
414
+ }
415
+
416
+ @utility animation-duration-* {
417
+ animation-duration: calc(--value(integer) * 1ms);
418
+ animation-duration: --value([*]);
419
+ }
420
+
421
+ /**
422
+ * Animation Fill Mode
423
+ * -----------------------------------------------------------------------------
424
+ * Defines the state of the element after the animation ends.
425
+ */
426
+ @utility animation-fill-none {
427
+ animation-fill-mode: none;
428
+ }
429
+
430
+ @utility animation-fill-forwards {
431
+ animation-fill-mode: forwards;
432
+ }
433
+
434
+ @utility animation-fill-backwards {
435
+ animation-fill-mode: backwards;
436
+ }
437
+
438
+ @utility animation-fill-both {
439
+ animation-fill-mode: both;
440
+ }
441
+
442
+ @utility animation-fill-* {
443
+ animation-fill-mode: --value([*]);
444
+ }
445
+
446
+ /**
447
+ * Fade Animations
448
+ * -----------------------------------------------------------------------------
449
+ * Create fade-in and fade-out effects.
450
+ */
451
+ @utility fade-in-* {
452
+ --tw-enter-opacity: calc(--value(integer) * 1%);
453
+ --tw-enter-opacity: --value(--opacity-*, [percentage]);
454
+ }
455
+
456
+ @utility fade-out-* {
457
+ --tw-exit-opacity: calc(--value(integer) * 1%);
458
+ --tw-exit-opacity: --value(--opacity-*, [percentage]);
459
+ }
460
+
461
+ /**
462
+ * Rotate Animations
463
+ * -----------------------------------------------------------------------------
464
+ * Adjust the rotation angle of the element when it appears or disappears.
465
+ */
466
+ @utility spin-in-* {
467
+ --tw-enter-rotate: calc(1deg * --value(integer));
468
+ }
469
+
470
+ @utility spin-out-* {
471
+ --tw-exit-rotate: calc(1deg * --value(integer));
472
+ }
473
+
474
+ /**
475
+ * Scale Animations
476
+ * -----------------------------------------------------------------------------
477
+ * Adjust the size of the element when it appears or disappears.
478
+ */
479
+ @utility zoom-in-* {
480
+ --tw-enter-scale: --value([percentage]);
481
+ --tw-enter-scale: calc(--value(integer) * 1%);
482
+ }
483
+
484
+ @utility zoom-out-* {
485
+ --tw-exit-scale: --value([percentage]);
486
+ --tw-exit-scale: calc(--value(integer) * 1%);
487
+ }
488
+
489
+ /**
490
+ * Slide Animations - Enter
491
+ * -----------------------------------------------------------------------------
492
+ * Effects for sliding in from directions: left, right, top, bottom.
493
+ */
494
+
495
+ @utility slide-in-from-top {
496
+ --tw-enter-translate-y: -100%;
497
+ }
498
+
499
+ @utility slide-in-from-top-* {
500
+ --tw-enter-translate-y: calc(var(--spacing) * --value(number) * -1);
501
+ --tw-enter-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);
502
+ --tw-enter-translate-y: calc(--value([length], [percentage]) * -1);
503
+ }
504
+
505
+ @utility slide-in-from-left {
506
+ --tw-enter-translate-x: -100%;
507
+ }
508
+
509
+ @utility slide-in-from-left-* {
510
+ --tw-enter-translate-x: calc(var(--spacing) * --value(number) * -1);
511
+ --tw-enter-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);
512
+ --tw-enter-translate-x: calc(--value([length], [percentage]) * -1);
513
+ }
514
+
515
+ @utility slide-in-from-bottom {
516
+ --tw-enter-translate-y: 100%;
517
+ }
518
+
519
+ @utility slide-in-from-bottom-* {
520
+ --tw-enter-translate-y: calc(var(--spacing) * --value(number));
521
+ --tw-enter-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);
522
+ --tw-enter-translate-y: --value([length], [percentage]);
523
+ }
524
+
525
+ @utility slide-in-from-right {
526
+ --tw-enter-translate-x: 100%;
527
+ }
528
+
529
+ @utility slide-in-from-right-* {
530
+ --tw-enter-translate-x: calc(var(--spacing) * --value(number));
531
+ --tw-enter-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);
532
+ --tw-enter-translate-x: --value([length], [percentage]);
533
+ }
534
+
535
+ /**
536
+ * Slide Animations - Exit
537
+ * -----------------------------------------------------------------------------
538
+ * Effects for sliding out of the screen in directions: left, right, top, bottom.
539
+ */
540
+
541
+ @utility slide-out-to-top {
542
+ --tw-exit-translate-y: -100%;
543
+ }
544
+
545
+ @utility slide-out-to-top-* {
546
+ --tw-exit-translate-y: calc(var(--spacing) * --value(number) * -1);
547
+ --tw-exit-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);
548
+ --tw-exit-translate-y: calc(--value([length], [percentage]) * -1);
549
+ }
550
+
551
+ @utility slide-out-to-left {
552
+ --tw-exit-translate-x: -100%;
553
+ }
554
+
555
+ @utility slide-out-to-left-* {
556
+ --tw-exit-translate-x: calc(var(--spacing) * --value(number) * -1);
557
+ --tw-exit-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);
558
+ --tw-exit-translate-x: calc(--value([length], [percentage]) * -1);
559
+ }
560
+
561
+ @utility slide-out-to-bottom {
562
+ --tw-exit-translate-y: 100%;
563
+ }
564
+
565
+ @utility slide-out-to-bottom-* {
566
+ --tw-exit-translate-y: calc(var(--spacing) * --value(number));
567
+ --tw-exit-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);
568
+ --tw-exit-translate-y: --value([length], [percentage]);
569
+ }
570
+
571
+ @utility slide-out-to-right {
572
+ --tw-exit-translate-x: 100%;
573
+ }
574
+
575
+ @utility slide-out-to-right-* {
576
+ --tw-exit-translate-x: calc(var(--spacing) * --value(number));
577
+ --tw-exit-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);
578
+ --tw-exit-translate-x: --value([length], [percentage]);
579
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gbmtech/aurora-ui",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "main": "./dist/cjs/index.cjs",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/types/index.d.ts",