@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.
- package/CHANGELOG.md +93 -0
- package/bin/cli.mjs +721 -0
- package/dist/{chunk-EO4WROWH.mjs → chunk-3OZJ4JLW.mjs} +116 -2
- package/dist/chunk-B3CW2WZS.cjs +20748 -0
- package/dist/chunk-CTWNFFLB.mjs +20438 -0
- package/dist/{chunk-7ITQSRGX.cjs → chunk-FUWXGHWQ.cjs} +0 -1
- package/dist/{chunk-ZPIPKY2J.cjs → chunk-HITTFB2U.cjs} +127 -1
- package/dist/{chunk-F5S6NLOT.mjs → chunk-OHEH57BV.mjs} +0 -1
- package/dist/{chunk-PQR7C4OH.cjs → chunk-TESKVASH.cjs} +332 -99
- package/dist/{chunk-ZDB557B2.mjs → chunk-YFH5JPAA.mjs} +331 -101
- package/dist/components.cjs +780 -126
- package/dist/components.d.cts +5183 -1464
- package/dist/components.d.ts +5183 -1464
- package/dist/components.mjs +3 -1
- package/dist/index.cjs +926 -214
- package/dist/index.d.cts +9 -6
- package/dist/index.d.ts +9 -6
- package/dist/index.mjs +5 -5
- package/dist/motion.cjs +94 -46
- package/dist/motion.d.cts +53 -2
- package/dist/motion.d.ts +53 -2
- package/dist/motion.mjs +1 -1
- package/dist/primitives.cjs +13 -13
- package/dist/primitives.mjs +1 -1
- package/dist/theme.cjs +40 -28
- package/dist/theme.d.cts +100 -62
- package/dist/theme.d.ts +100 -62
- package/dist/theme.mjs +1 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +190 -183
- package/styles.css +636 -473
- package/dist/chunk-4NYLE2LT.cjs +0 -10042
- package/dist/chunk-A4YYJAAJ.mjs +0 -9897
|
@@ -349,7 +349,7 @@ var spin = {
|
|
|
349
349
|
},
|
|
350
350
|
transition: {}
|
|
351
351
|
};
|
|
352
|
-
function reduceMotion(
|
|
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;
|