fancy-ui-vue 0.4.0 → 0.4.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.
- package/dist/components/animated-testimonials/AnimatedTestimonials.vue.js +23 -12
- package/dist/components/bg-falling-stars/FallingStarsBg.vue.js +10 -1
- package/dist/components/bg-falling-stars/bg-falling-stars-core.d.ts +6 -0
- package/dist/components/bg-falling-stars/bg-falling-stars-core.js +24 -2
- package/dist/components/bg-stars/StarsBackground.vue.js +1 -1
- package/dist/components/bg-stars/StarsBackground.vue2.js +13 -1
- package/dist/components/bg-stars/bg-stars-core.d.ts +6 -0
- package/dist/components/bg-stars/bg-stars-core.js +21 -1
- package/dist/components/book/Book.vue.js +5 -83
- package/dist/components/book/Book.vue2.js +82 -1
- package/dist/components/box-reveal/BoxReveal.vue.js +5 -47
- package/dist/components/box-reveal/BoxReveal.vue2.js +48 -1
- package/dist/components/compare/StarField.vue.js +1 -1
- package/dist/components/container-text-flip/ContainerTextFlip.vue.js +1 -1
- package/dist/components/container-text-flip/ContainerTextFlip.vue2.js +14 -5
- package/dist/components/flickering-grid/FlickeringGrid.vue.js +19 -1
- package/dist/components/flickering-grid/flickering-grid-core.d.ts +6 -0
- package/dist/components/flickering-grid/flickering-grid-core.js +30 -1
- package/dist/components/flip-words/FlipWords.vue.js +1 -1
- package/dist/components/flip-words/FlipWords.vue2.js +14 -7
- package/dist/components/hyper-text/HyperText.vue.js +6 -97
- package/dist/components/hyper-text/HyperText.vue2.js +101 -0
- package/dist/components/letter-pullup/LetterPullup.vue.js +6 -38
- package/dist/components/letter-pullup/LetterPullup.vue2.js +40 -0
- package/dist/components/logo-cloud/AnimatedLogoCloud.vue.js +1 -1
- package/dist/components/matrix-rain/MatrixRain.vue.js +20 -1
- package/dist/components/matrix-rain/matrix-rain-core.d.ts +6 -0
- package/dist/components/matrix-rain/matrix-rain-core.js +28 -6
- package/dist/components/noise-reveal/NoiseReveal.vue.js +7 -0
- package/dist/components/noise-reveal/noise-reveal-core.js +23 -7
- package/dist/components/ripple/Ripple.vue.js +1 -1
- package/dist/components/ripple/Ripple.vue2.js +6 -1
- package/dist/components/sparkles/Sparkles.vue.js +10 -1
- package/dist/components/sparkles/sparkles-core.d.ts +6 -0
- package/dist/components/sparkles/sparkles-core.js +26 -2
- package/dist/components/sparkles-text/SparklesText.vue.js +6 -88
- package/dist/components/sparkles-text/SparklesText.vue2.js +100 -0
- package/dist/components/terminal-text/TerminalText.vue.js +1 -1
- package/dist/components/terminal-text/TerminalText.vue2.js +36 -4
- package/dist/components/text-generate-effect/TextGenerateEffect.vue.js +5 -72
- package/dist/components/text-generate-effect/TextGenerateEffect.vue2.js +74 -1
- package/dist/components/text-reveal-card/TextRevealCard.vue.js +5 -101
- package/dist/components/text-reveal-card/TextRevealCard.vue2.js +98 -1
- package/dist/components/text-reveal-card/TextRevealStars.vue.js +1 -1
- package/dist/components/text-reveal-card/TextRevealStars.vue2.js +29 -12
- package/dist/index.js +387 -390
- package/dist/styles.css +232 -89
- package/package.json +1 -1
- package/dist/components/hyper-text/HyperText.vue3.js +0 -5
- package/dist/components/letter-pullup/LetterPullup.vue3.js +0 -5
- package/dist/components/sparkles-text/SparklesText.vue3.js +0 -5
package/dist/styles.css
CHANGED
|
@@ -432,28 +432,6 @@ to {
|
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
@keyframes hyperFadeIn {
|
|
436
|
-
0% {
|
|
437
|
-
opacity: 0;
|
|
438
|
-
transform: translateY(-10px);
|
|
439
|
-
}
|
|
440
|
-
100% {
|
|
441
|
-
opacity: 1;
|
|
442
|
-
transform: translateY(0);
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
@keyframes letterPullUp {
|
|
447
|
-
0% {
|
|
448
|
-
opacity: 0;
|
|
449
|
-
transform: translateY(100px);
|
|
450
|
-
}
|
|
451
|
-
100% {
|
|
452
|
-
opacity: 1;
|
|
453
|
-
transform: translateY(0);
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
|
|
457
435
|
.ft-sources-trigger[data-v-28d2d62f] {
|
|
458
436
|
border: 1px solid
|
|
459
437
|
var(
|
|
@@ -626,45 +604,6 @@ to {
|
|
|
626
604
|
}
|
|
627
605
|
}
|
|
628
606
|
|
|
629
|
-
/* The source's only rule is a global keyframe, referenced from the inline
|
|
630
|
-
`style` above. It stays in an unscoped block so the compiler neither
|
|
631
|
-
renames it nor stamps a scope id onto markup the source leaves bare. */
|
|
632
|
-
@keyframes sparkleAnim {
|
|
633
|
-
0% {
|
|
634
|
-
opacity: 0;
|
|
635
|
-
transform: scale(0) rotate(75deg);
|
|
636
|
-
}
|
|
637
|
-
50% {
|
|
638
|
-
opacity: 1;
|
|
639
|
-
transform: scale(var(--sparkle-scale, 1)) rotate(120deg);
|
|
640
|
-
}
|
|
641
|
-
100% {
|
|
642
|
-
opacity: 0;
|
|
643
|
-
transform: scale(0) rotate(150deg);
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
@keyframes star-drift {
|
|
648
|
-
0% {
|
|
649
|
-
opacity: 0;
|
|
650
|
-
transform: scale(1);
|
|
651
|
-
}
|
|
652
|
-
50% {
|
|
653
|
-
opacity: var(--star-opacity, 0.5);
|
|
654
|
-
transform: scale(1.2);
|
|
655
|
-
}
|
|
656
|
-
100% {
|
|
657
|
-
opacity: 0;
|
|
658
|
-
transform: scale(0);
|
|
659
|
-
top: var(--target-top);
|
|
660
|
-
left: var(--target-left);
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
.star-animate[data-v-d9ef66bc] {
|
|
665
|
-
animation: star-drift linear infinite;
|
|
666
|
-
}
|
|
667
|
-
|
|
668
607
|
/*
|
|
669
608
|
* Declared locally, once, from the shared consumer-facing `--ft-accent` —
|
|
670
609
|
* the same indirection `Button` (`--ft-btn-accent`) and `Popover`
|
|
@@ -1764,23 +1703,29 @@ to {
|
|
|
1764
1703
|
}
|
|
1765
1704
|
}
|
|
1766
1705
|
|
|
1767
|
-
.stars-parallax[data-v-
|
|
1706
|
+
.stars-parallax[data-v-51fcced5] {
|
|
1768
1707
|
will-change: transform;
|
|
1769
1708
|
}
|
|
1770
|
-
.star-layer[data-v-
|
|
1709
|
+
.star-layer[data-v-51fcced5] {
|
|
1771
1710
|
position: absolute;
|
|
1772
1711
|
top: 0;
|
|
1773
1712
|
left: 0;
|
|
1774
1713
|
width: 100%;
|
|
1775
1714
|
height: 2000px;
|
|
1776
|
-
animation: scroll-stars-065f7ce0 var(--duration, 50s) linear infinite;
|
|
1777
1715
|
}
|
|
1778
|
-
|
|
1716
|
+
|
|
1717
|
+
/* Ungated = resting state: a still star field. Only the drift is motion. */
|
|
1718
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1719
|
+
.star-layer[data-v-51fcced5] {
|
|
1720
|
+
animation: scroll-stars-51fcced5 var(--duration, 50s) linear infinite;
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
.star-field[data-v-51fcced5] {
|
|
1779
1724
|
position: absolute;
|
|
1780
1725
|
background: transparent;
|
|
1781
1726
|
border-radius: 50%;
|
|
1782
1727
|
}
|
|
1783
|
-
@keyframes scroll-stars-
|
|
1728
|
+
@keyframes scroll-stars-51fcced5 {
|
|
1784
1729
|
from {
|
|
1785
1730
|
transform: translateY(0);
|
|
1786
1731
|
}
|
|
@@ -1855,6 +1800,14 @@ to {
|
|
|
1855
1800
|
}
|
|
1856
1801
|
}
|
|
1857
1802
|
|
|
1803
|
+
/* The hover angle is the state; only the tween that turns the cover is motion,
|
|
1804
|
+
so under reduced motion the cover lands on its angle at once. */
|
|
1805
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1806
|
+
.book-cover[data-v-05eed92f] {
|
|
1807
|
+
transition: transform var(--book-duration, 1000ms) ease;
|
|
1808
|
+
}
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1858
1811
|
.border-beam[data-v-f3456472] {
|
|
1859
1812
|
/* private plumbing: every value reads a public var with a fallback */
|
|
1860
1813
|
--_from: var(--border-beam-color-from, #8ec5ff);
|
|
@@ -2085,6 +2038,20 @@ from {
|
|
|
2085
2038
|
}
|
|
2086
2039
|
}
|
|
2087
2040
|
|
|
2041
|
+
/* The inline opacity / transform / left are the state; only the tween that
|
|
2042
|
+
animates them is motion, so under reduced motion the change lands
|
|
2043
|
+
instantly. */
|
|
2044
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
2045
|
+
.box-reveal-content[data-v-e343dd7c] {
|
|
2046
|
+
transition:
|
|
2047
|
+
opacity var(--box-reveal-duration, 0.5s) ease var(--box-reveal-delay, 0.5s),
|
|
2048
|
+
transform var(--box-reveal-duration, 0.5s) ease var(--box-reveal-delay, 0.5s);
|
|
2049
|
+
}
|
|
2050
|
+
.box-reveal-overlay[data-v-e343dd7c] {
|
|
2051
|
+
transition: left var(--box-reveal-duration, 0.5s) ease-in var(--box-reveal-delay, 0.25s);
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2088
2055
|
/*
|
|
2089
2056
|
* `:deep()` reaches past this component's own scoping and into whatever
|
|
2090
2057
|
* a caller renders inside the default slot — a Button, a plain <button>,
|
|
@@ -2847,12 +2814,17 @@ to {
|
|
|
2847
2814
|
}
|
|
2848
2815
|
}
|
|
2849
2816
|
|
|
2850
|
-
|
|
2817
|
+
/* Resting state: a faint fixed star; twinkle and drift only run without a reduce preference. */
|
|
2818
|
+
.star[data-v-06a2b4e6] {
|
|
2851
2819
|
opacity: var(--fancy-ui-opacity-start);
|
|
2852
|
-
animation:
|
|
2853
|
-
twinkle-9fadc287 var(--fancy-ui-twinkle-duration) ease-in-out infinite alternate,drift-9fadc287 var(--fancy-ui-drift-duration) linear infinite;
|
|
2854
2820
|
}
|
|
2855
|
-
@
|
|
2821
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
2822
|
+
.star[data-v-06a2b4e6] {
|
|
2823
|
+
animation:
|
|
2824
|
+
twinkle-06a2b4e6 var(--fancy-ui-twinkle-duration) ease-in-out infinite alternate,drift-06a2b4e6 var(--fancy-ui-drift-duration) linear infinite;
|
|
2825
|
+
}
|
|
2826
|
+
}
|
|
2827
|
+
@keyframes twinkle-06a2b4e6 {
|
|
2856
2828
|
0% {
|
|
2857
2829
|
opacity: var(--fancy-ui-opacity-start);
|
|
2858
2830
|
}
|
|
@@ -2860,7 +2832,7 @@ to {
|
|
|
2860
2832
|
opacity: var(--fancy-ui-opacity-end);
|
|
2861
2833
|
}
|
|
2862
2834
|
}
|
|
2863
|
-
@keyframes drift-
|
|
2835
|
+
@keyframes drift-06a2b4e6 {
|
|
2864
2836
|
0% {
|
|
2865
2837
|
transform: translate(0, 0);
|
|
2866
2838
|
}
|
|
@@ -3326,10 +3298,13 @@ html:not(.dark) .cs-root[data-v-c3e79750] {
|
|
|
3326
3298
|
}
|
|
3327
3299
|
}
|
|
3328
3300
|
|
|
3329
|
-
.
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3301
|
+
/* Resting state is the ungated default: the letters are simply shown. */
|
|
3302
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
3303
|
+
.text-flip-letter[data-v-ad8bc4bd] {
|
|
3304
|
+
animation: text-flip-in ease-in-out forwards;
|
|
3305
|
+
opacity: 0;
|
|
3306
|
+
filter: blur(10px);
|
|
3307
|
+
}
|
|
3333
3308
|
}
|
|
3334
3309
|
|
|
3335
3310
|
@keyframes text-flip-in {
|
|
@@ -4552,14 +4527,29 @@ from {
|
|
|
4552
4527
|
}
|
|
4553
4528
|
}
|
|
4554
4529
|
|
|
4555
|
-
.flip-words[data-v-
|
|
4530
|
+
.flip-words[data-v-8436152b] {
|
|
4556
4531
|
--flip-words-ms: 0.6s;
|
|
4557
4532
|
}
|
|
4558
|
-
|
|
4559
|
-
|
|
4533
|
+
|
|
4534
|
+
/* Resting state is the ungated default: the current word is visible and in
|
|
4535
|
+
place. The hidden start and every fade/flip belong to this gate. */
|
|
4536
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
4537
|
+
.flip-words-word[data-v-8436152b] {
|
|
4538
|
+
opacity: 0;
|
|
4539
|
+
animation: flipFadeInWord 0.3s ease forwards;
|
|
4540
|
+
animation-delay: var(--flip-words-word-delay, 0s);
|
|
4541
|
+
}
|
|
4542
|
+
.flip-words-letter[data-v-8436152b] {
|
|
4543
|
+
opacity: 0;
|
|
4544
|
+
animation: flipFadeInLetter 0.2s ease forwards;
|
|
4545
|
+
animation-delay: var(--flip-words-letter-delay, 0s);
|
|
4546
|
+
}
|
|
4547
|
+
.flip-words-enter[data-v-8436152b] {
|
|
4548
|
+
animation: flipEnterWord var(--flip-words-ms) ease-in-out forwards;
|
|
4549
|
+
}
|
|
4550
|
+
.flip-words-exit[data-v-8436152b] {
|
|
4551
|
+
animation: flipExitWord var(--flip-words-ms) ease-in-out forwards;
|
|
4560
4552
|
}
|
|
4561
|
-
.flip-words-exit[data-v-2d9070d7] {
|
|
4562
|
-
animation: flipExitWord var(--flip-words-ms) ease-in-out forwards;
|
|
4563
4553
|
}
|
|
4564
4554
|
|
|
4565
4555
|
@keyframes flipFadeInWord {
|
|
@@ -5108,6 +5098,26 @@ to {
|
|
|
5108
5098
|
}
|
|
5109
5099
|
}
|
|
5110
5100
|
|
|
5101
|
+
@keyframes hyperFadeIn {
|
|
5102
|
+
0% {
|
|
5103
|
+
opacity: 0;
|
|
5104
|
+
transform: translateY(-10px);
|
|
5105
|
+
}
|
|
5106
|
+
100% {
|
|
5107
|
+
opacity: 1;
|
|
5108
|
+
transform: translateY(0);
|
|
5109
|
+
}
|
|
5110
|
+
}
|
|
5111
|
+
|
|
5112
|
+
/* Resting state is the ungated default: every character visible, in place. */
|
|
5113
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
5114
|
+
.hyper-text-char[data-v-f520f7e3] {
|
|
5115
|
+
opacity: 0;
|
|
5116
|
+
animation: hyperFadeIn 0.3s ease forwards;
|
|
5117
|
+
animation-delay: var(--hyper-text-delay, 0s);
|
|
5118
|
+
}
|
|
5119
|
+
}
|
|
5120
|
+
|
|
5111
5121
|
.ft-pixel[data-v-76201e18] {
|
|
5112
5122
|
background-color: var(--ft-pixel-cell-color);
|
|
5113
5123
|
border-radius: 1px;
|
|
@@ -5421,6 +5431,27 @@ to {
|
|
|
5421
5431
|
}
|
|
5422
5432
|
}
|
|
5423
5433
|
|
|
5434
|
+
@keyframes letterPullUp {
|
|
5435
|
+
0% {
|
|
5436
|
+
opacity: 0;
|
|
5437
|
+
transform: translateY(100px);
|
|
5438
|
+
}
|
|
5439
|
+
100% {
|
|
5440
|
+
opacity: 1;
|
|
5441
|
+
transform: translateY(0);
|
|
5442
|
+
}
|
|
5443
|
+
}
|
|
5444
|
+
|
|
5445
|
+
/* Resting state is the ungated default: visible, in place. */
|
|
5446
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
5447
|
+
.letter-pullup-char[data-v-83f4fa7b] {
|
|
5448
|
+
opacity: 0;
|
|
5449
|
+
transform: translateY(100px);
|
|
5450
|
+
animation: letterPullUp 0.5s ease forwards;
|
|
5451
|
+
animation-delay: var(--letter-pullup-delay, 0s);
|
|
5452
|
+
}
|
|
5453
|
+
}
|
|
5454
|
+
|
|
5424
5455
|
/*
|
|
5425
5456
|
* One rule governs this whole sheet: every `transition` and `animation`
|
|
5426
5457
|
* declaration lives inside `@media (prefers-reduced-motion: no-preference)`,
|
|
@@ -6016,13 +6047,39 @@ to {
|
|
|
6016
6047
|
white-space: nowrap;
|
|
6017
6048
|
}
|
|
6018
6049
|
|
|
6019
|
-
.logo-cloud-mask[data-v-
|
|
6050
|
+
.logo-cloud-mask[data-v-3366d174] {
|
|
6020
6051
|
mask-image: linear-gradient(to left, transparent 0%, black 20%, black 80%, transparent 95%);
|
|
6021
6052
|
}
|
|
6022
|
-
|
|
6023
|
-
|
|
6053
|
+
|
|
6054
|
+
/* Resting state: the logos sit still; the scroll only runs without a reduce preference. */
|
|
6055
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
6056
|
+
.logo-cloud-scroll[data-v-3366d174] {
|
|
6057
|
+
animation: logo-cloud-scroll-3366d174 30s linear infinite;
|
|
6058
|
+
}
|
|
6059
|
+
.logo-cloud-mask:focus-within .logo-cloud-scroll[data-v-3366d174] {
|
|
6060
|
+
animation-play-state: paused;
|
|
6061
|
+
}
|
|
6062
|
+
}
|
|
6063
|
+
|
|
6064
|
+
/* Reduced motion removes the travel, never the logos: drop the repeated tracks and the
|
|
6065
|
+
edge fade, and let the one real set wrap and centre so every logo is in view. */
|
|
6066
|
+
@media (prefers-reduced-motion: reduce) {
|
|
6067
|
+
.logo-cloud-mask[data-v-3366d174] {
|
|
6068
|
+
mask-image: none;
|
|
6069
|
+
flex-wrap: wrap;
|
|
6070
|
+
justify-content: center;
|
|
6071
|
+
}
|
|
6072
|
+
.logo-cloud-mask > .logo-cloud-scroll[data-v-3366d174] {
|
|
6073
|
+
flex-wrap: wrap;
|
|
6074
|
+
flex-shrink: 1;
|
|
6075
|
+
justify-content: center;
|
|
6076
|
+
width: 100%;
|
|
6077
|
+
}
|
|
6078
|
+
.logo-cloud-mask > .logo-cloud-scroll[data-v-3366d174]:not(:first-child) {
|
|
6079
|
+
display: none;
|
|
6024
6080
|
}
|
|
6025
|
-
|
|
6081
|
+
}
|
|
6082
|
+
@keyframes logo-cloud-scroll-3366d174 {
|
|
6026
6083
|
0% {
|
|
6027
6084
|
transform: translateX(0);
|
|
6028
6085
|
}
|
|
@@ -7580,8 +7637,11 @@ to {
|
|
|
7580
7637
|
}
|
|
7581
7638
|
}
|
|
7582
7639
|
|
|
7583
|
-
.
|
|
7584
|
-
|
|
7640
|
+
/* Resting state: concentric rings stay at full size; only the pulse is gated. */
|
|
7641
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
7642
|
+
.animate-ripple-circle[data-v-cf5b782d] {
|
|
7643
|
+
animation: ripple-effect 2s ease-in-out infinite;
|
|
7644
|
+
}
|
|
7585
7645
|
}
|
|
7586
7646
|
|
|
7587
7647
|
/* Hover: a fingertip over water. */
|
|
@@ -8424,6 +8484,38 @@ to {
|
|
|
8424
8484
|
}
|
|
8425
8485
|
}
|
|
8426
8486
|
|
|
8487
|
+
/* The source's only global rule is a keyframe, referenced from the gated rule
|
|
8488
|
+
in the scoped block below. It stays in an unscoped block so the compiler neither
|
|
8489
|
+
renames it nor stamps a scope id onto markup the source leaves bare. */
|
|
8490
|
+
@keyframes sparkleAnim {
|
|
8491
|
+
0% {
|
|
8492
|
+
opacity: 0;
|
|
8493
|
+
transform: scale(0) rotate(75deg);
|
|
8494
|
+
}
|
|
8495
|
+
50% {
|
|
8496
|
+
opacity: 1;
|
|
8497
|
+
transform: scale(var(--sparkle-scale, 1)) rotate(120deg);
|
|
8498
|
+
}
|
|
8499
|
+
100% {
|
|
8500
|
+
opacity: 0;
|
|
8501
|
+
transform: scale(0) rotate(150deg);
|
|
8502
|
+
}
|
|
8503
|
+
}
|
|
8504
|
+
|
|
8505
|
+
/* The ungated pose is the resting state: a still, half-grown star (the 50 %
|
|
8506
|
+
keyframe), so reduced motion keeps the sparkles and drops the pulse. */
|
|
8507
|
+
.sparkles-star[data-v-f06a1c48] {
|
|
8508
|
+
opacity: 1;
|
|
8509
|
+
transform: scale(var(--sparkle-scale, 1)) rotate(120deg);
|
|
8510
|
+
}
|
|
8511
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
8512
|
+
.sparkles-star[data-v-f06a1c48] {
|
|
8513
|
+
opacity: 0;
|
|
8514
|
+
transform: scale(0) rotate(75deg);
|
|
8515
|
+
animation: sparkleAnim 0.8s ease-in-out var(--sparkles-text-delay, 0s) infinite;
|
|
8516
|
+
}
|
|
8517
|
+
}
|
|
8518
|
+
|
|
8427
8519
|
/*
|
|
8428
8520
|
* The only place this component reaches for the brand purple — the
|
|
8429
8521
|
* current bullet's fill/halo and a lit rail. No semantic token owns it,
|
|
@@ -9529,10 +9621,13 @@ to {
|
|
|
9529
9621
|
}
|
|
9530
9622
|
}
|
|
9531
9623
|
|
|
9532
|
-
.
|
|
9533
|
-
|
|
9624
|
+
/* The caret is a steady block first and a blinking one second. */
|
|
9625
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
9626
|
+
.cursor-blink[data-v-4e11cdd8] {
|
|
9627
|
+
animation: blink-4e11cdd8 1s step-end infinite;
|
|
9628
|
+
}
|
|
9534
9629
|
}
|
|
9535
|
-
@keyframes blink-
|
|
9630
|
+
@keyframes blink-4e11cdd8 {
|
|
9536
9631
|
0%,
|
|
9537
9632
|
100% {
|
|
9538
9633
|
opacity: 1;
|
|
@@ -9542,6 +9637,54 @@ to {
|
|
|
9542
9637
|
}
|
|
9543
9638
|
}
|
|
9544
9639
|
|
|
9640
|
+
/* The resting state is the ungated default: every word visible and sharp.
|
|
9641
|
+
The hidden start and the fade belong to the no-preference gate; the
|
|
9642
|
+
reveal timers write opacity/filter inline, which wins inside the gate. */
|
|
9643
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
9644
|
+
.tge-word[data-v-3e55378a] {
|
|
9645
|
+
opacity: 0;
|
|
9646
|
+
filter: var(--tge-blur, none);
|
|
9647
|
+
transition:
|
|
9648
|
+
opacity var(--tge-duration, 0.7s),
|
|
9649
|
+
filter var(--tge-duration, 0.7s);
|
|
9650
|
+
}
|
|
9651
|
+
}
|
|
9652
|
+
|
|
9653
|
+
@keyframes star-drift {
|
|
9654
|
+
0% {
|
|
9655
|
+
opacity: 0;
|
|
9656
|
+
transform: translate(0, 0) scale(1);
|
|
9657
|
+
}
|
|
9658
|
+
50% {
|
|
9659
|
+
opacity: var(--star-opacity, 0.5);
|
|
9660
|
+
transform: translate(calc(var(--drift-x) / 2), calc(var(--drift-y) / 2)) scale(1.2);
|
|
9661
|
+
}
|
|
9662
|
+
100% {
|
|
9663
|
+
opacity: 0;
|
|
9664
|
+
transform: translate(var(--drift-x), var(--drift-y)) scale(0);
|
|
9665
|
+
}
|
|
9666
|
+
}
|
|
9667
|
+
|
|
9668
|
+
/* Resting state: a faint fixed star; the drift only runs without a reduce preference. */
|
|
9669
|
+
.star-animate[data-v-ce39bf0f] {
|
|
9670
|
+
opacity: var(--star-opacity, 0.5);
|
|
9671
|
+
}
|
|
9672
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
9673
|
+
.star-animate[data-v-ce39bf0f] {
|
|
9674
|
+
opacity: 0;
|
|
9675
|
+
animation: star-drift linear infinite;
|
|
9676
|
+
}
|
|
9677
|
+
}
|
|
9678
|
+
|
|
9679
|
+
/* The 0.4s settle after the pointer leaves is travel (clip-path, left, rotate, opacity):
|
|
9680
|
+
it only runs without a reduce preference, otherwise the reveal snaps back.
|
|
9681
|
+
While hovering the class is off, so the layers follow the pointer without easing. */
|
|
9682
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
9683
|
+
.text-reveal-settle[data-v-7675d2f2] {
|
|
9684
|
+
transition: all 0.4s ease-out;
|
|
9685
|
+
}
|
|
9686
|
+
}
|
|
9687
|
+
|
|
9545
9688
|
/*
|
|
9546
9689
|
* `inline-grid` stacks both layers on the SAME grid area, so the implicit
|
|
9547
9690
|
* track sizes to `max-content` across both — the box is exactly as wide as
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fancy-ui-vue",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Animated UI components for Vue — the Vue counterpart of fancy-ui-svelte. WebGL, GSAP and CSS motion, styled with Tailwind CSS v4.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Rama Herbin",
|