@work-rjkashyap/unified-ui 0.1.2 → 0.2.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.
@@ -92,7 +92,6 @@ var Divider = react.forwardRef(function Divider2({ spacing = 4, orientation = "h
92
92
  "hr",
93
93
  {
94
94
  ref,
95
- role: "separator",
96
95
  "aria-orientation": orientation,
97
96
  className: chunk4ON3M3OM_cjs.cn(
98
97
  "border-none shrink-0",
@@ -349,7 +349,7 @@ var spin = {
349
349
  },
350
350
  transition: {}
351
351
  };
352
- function reduceMotion(preset) {
352
+ function reduceMotion(_preset) {
353
353
  return {
354
354
  variants: {
355
355
  initial: { opacity: 0 },
@@ -362,6 +362,120 @@ function reduceMotion(preset) {
362
362
  }
363
363
  };
364
364
  }
365
+ var shakeX = {
366
+ variants: {
367
+ initial: { x: 0, opacity: 1 },
368
+ animate: {
369
+ x: [0, -8, 8, -6, 6, -4, 4, 0],
370
+ opacity: 1,
371
+ transition: {
372
+ duration: chunkXCKK6P46_cjs.durationSeconds.slow,
373
+ ease: [...chunkXCKK6P46_cjs.easing.standard]
374
+ }
375
+ },
376
+ exit: { x: 0, opacity: 1 }
377
+ },
378
+ transition: {
379
+ duration: chunkXCKK6P46_cjs.durationSeconds.slow,
380
+ ease: [...chunkXCKK6P46_cjs.easing.standard]
381
+ }
382
+ };
383
+ var numberRoll = {
384
+ variants: {
385
+ initial: { opacity: 0, y: 12 },
386
+ animate: { opacity: 1, y: 0 },
387
+ exit: { opacity: 0, y: -12 }
388
+ },
389
+ transition: {
390
+ duration: chunkXCKK6P46_cjs.durationSeconds.normal,
391
+ ease: [...chunkXCKK6P46_cjs.easing.decelerate]
392
+ }
393
+ };
394
+ var crossfade = {
395
+ variants: {
396
+ initial: { opacity: 0 },
397
+ animate: { opacity: 1 },
398
+ exit: { opacity: 0 }
399
+ },
400
+ transition: {
401
+ duration: chunkXCKK6P46_cjs.durationSeconds.fast,
402
+ ease: [...chunkXCKK6P46_cjs.easing.standard]
403
+ }
404
+ };
405
+ var slidePanelRight = {
406
+ variants: {
407
+ initial: { x: "100%", opacity: 0 },
408
+ animate: { x: 0, opacity: 1 },
409
+ exit: { x: "100%", opacity: 0 }
410
+ },
411
+ transition: chunkXCKK6P46_cjs.spring.gentle
412
+ };
413
+ var slidePanelLeft = {
414
+ variants: {
415
+ initial: { x: "-100%", opacity: 0 },
416
+ animate: { x: 0, opacity: 1 },
417
+ exit: { x: "-100%", opacity: 0 }
418
+ },
419
+ transition: chunkXCKK6P46_cjs.spring.gentle
420
+ };
421
+ var slidePanelBottom = {
422
+ variants: {
423
+ initial: { y: "100%", opacity: 0 },
424
+ animate: { y: 0, opacity: 1 },
425
+ exit: { y: "100%", opacity: 0 }
426
+ },
427
+ transition: chunkXCKK6P46_cjs.spring.gentle
428
+ };
429
+ var slidePanelTop = {
430
+ variants: {
431
+ initial: { y: "-100%", opacity: 0 },
432
+ animate: { y: 0, opacity: 1 },
433
+ exit: { y: "-100%", opacity: 0 }
434
+ },
435
+ transition: chunkXCKK6P46_cjs.spring.gentle
436
+ };
437
+ var dragDismiss = {
438
+ variants: {
439
+ initial: { y: "100%", opacity: 0 },
440
+ animate: { y: 0, opacity: 1 },
441
+ exit: {
442
+ y: "100%",
443
+ opacity: 0,
444
+ transition: { duration: chunkXCKK6P46_cjs.durationSeconds.fast }
445
+ }
446
+ },
447
+ transition: chunkXCKK6P46_cjs.spring.gentle
448
+ };
449
+ var countUp = {
450
+ variants: {
451
+ initial: { opacity: 0, y: 8 },
452
+ animate: { opacity: 1, y: 0 },
453
+ exit: { opacity: 0, y: -8 }
454
+ },
455
+ transition: {
456
+ duration: chunkXCKK6P46_cjs.durationSeconds.normal,
457
+ ease: [...chunkXCKK6P46_cjs.easing.decelerate]
458
+ }
459
+ };
460
+ var revealMask = {
461
+ variants: {
462
+ initial: { clipPath: "inset(0 100% 0 0)", opacity: 1 },
463
+ animate: { clipPath: "inset(0 0% 0 0)", opacity: 1 },
464
+ exit: { clipPath: "inset(0 100% 0 0)", opacity: 0 }
465
+ },
466
+ transition: {
467
+ duration: chunkXCKK6P46_cjs.durationSeconds.slow,
468
+ ease: [...chunkXCKK6P46_cjs.easing.decelerate]
469
+ }
470
+ };
471
+ var springPress = {
472
+ scale: 0.97,
473
+ transition: chunkXCKK6P46_cjs.spring.snappy
474
+ };
475
+ var springHover = {
476
+ y: -2,
477
+ transition: chunkXCKK6P46_cjs.spring.gentle
478
+ };
365
479
  function withReducedMotion(preset, prefersReduced) {
366
480
  if (prefersReduced) {
367
481
  return reduceMotion();
@@ -434,6 +548,9 @@ function MotionSafe({ children, fallback }) {
434
548
  exports.MotionSafe = MotionSafe;
435
549
  exports.blurIn = blurIn;
436
550
  exports.blurInSubtle = blurInSubtle;
551
+ exports.countUp = countUp;
552
+ exports.crossfade = crossfade;
553
+ exports.dragDismiss = dragDismiss;
437
554
  exports.expandHeight = expandHeight;
438
555
  exports.expandHeightSlow = expandHeightSlow;
439
556
  exports.fadeIn = fadeIn;
@@ -444,27 +561,36 @@ exports.hoverScale = hoverScale;
444
561
  exports.modalContent = modalContent;
445
562
  exports.modalContentSpring = modalContentSpring;
446
563
  exports.motionProps = motionProps;
564
+ exports.numberRoll = numberRoll;
447
565
  exports.overlayBackdrop = overlayBackdrop;
448
566
  exports.pop = pop;
449
567
  exports.popSubtle = popSubtle;
450
568
  exports.press = press;
451
569
  exports.pulse = pulse;
452
570
  exports.reduceMotion = reduceMotion;
571
+ exports.revealMask = revealMask;
453
572
  exports.scaleIn = scaleIn;
454
573
  exports.scaleInLg = scaleInLg;
455
574
  exports.scaleInSpring = scaleInSpring;
575
+ exports.shakeX = shakeX;
456
576
  exports.slideDown = slideDown;
457
577
  exports.slideDownSm = slideDownSm;
458
578
  exports.slideInFromBottom = slideInFromBottom;
459
579
  exports.slideInFromLeft = slideInFromLeft;
460
580
  exports.slideInFromRight = slideInFromRight;
461
581
  exports.slideLeft = slideLeft;
582
+ exports.slidePanelBottom = slidePanelBottom;
583
+ exports.slidePanelLeft = slidePanelLeft;
584
+ exports.slidePanelRight = slidePanelRight;
585
+ exports.slidePanelTop = slidePanelTop;
462
586
  exports.slideRight = slideRight;
463
587
  exports.slideUp = slideUp;
464
588
  exports.slideUpLg = slideUpLg;
465
589
  exports.slideUpSm = slideUpSm;
466
590
  exports.slideUpSpring = slideUpSpring;
467
591
  exports.spin = spin;
592
+ exports.springHover = springHover;
593
+ exports.springPress = springPress;
468
594
  exports.staggerContainer = staggerContainer;
469
595
  exports.staggerContainerFast = staggerContainerFast;
470
596
  exports.staggerContainerSlow = staggerContainerSlow;
@@ -90,7 +90,6 @@ var Divider = forwardRef(function Divider2({ spacing = 4, orientation = "horizon
90
90
  "hr",
91
91
  {
92
92
  ref,
93
- role: "separator",
94
93
  "aria-orientation": orientation,
95
94
  className: cn(
96
95
  "border-none shrink-0",