@qtalo/qt-ui-library 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/index.cjs +18 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +63 -1
- package/dist/index.js +544 -306
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/styles/styles.css +39 -0
package/package.json
CHANGED
package/src/styles/styles.css
CHANGED
|
@@ -631,6 +631,36 @@ body {
|
|
|
631
631
|
animation: tourFadeInUp 0.25s ease-out forwards;
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
+
/* Crossfade between two skeletons in the same place: a generic one fades out
|
|
635
|
+
while the specific one fades in, so the swap does not jump. */
|
|
636
|
+
|
|
637
|
+
@keyframes skeletonCrossfadeIn {
|
|
638
|
+
from {
|
|
639
|
+
opacity: 0;
|
|
640
|
+
}
|
|
641
|
+
to {
|
|
642
|
+
opacity: 1;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
@keyframes skeletonCrossfadeOut {
|
|
647
|
+
from {
|
|
648
|
+
opacity: 1;
|
|
649
|
+
}
|
|
650
|
+
to {
|
|
651
|
+
opacity: 0;
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.skeleton-crossfade-in {
|
|
656
|
+
animation: skeletonCrossfadeIn 0.4s ease-in-out;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.skeleton-crossfade-out {
|
|
660
|
+
pointer-events: none;
|
|
661
|
+
animation: skeletonCrossfadeOut 0.4s ease-in-out forwards;
|
|
662
|
+
}
|
|
663
|
+
|
|
634
664
|
/* Skeleton block */
|
|
635
665
|
|
|
636
666
|
.skeleton {
|
|
@@ -661,6 +691,15 @@ body {
|
|
|
661
691
|
animation: none;
|
|
662
692
|
background-image: none;
|
|
663
693
|
}
|
|
694
|
+
|
|
695
|
+
.skeleton-crossfade-in {
|
|
696
|
+
animation: none;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.skeleton-crossfade-out {
|
|
700
|
+
animation: none;
|
|
701
|
+
opacity: 0;
|
|
702
|
+
}
|
|
664
703
|
}
|
|
665
704
|
|
|
666
705
|
/* Normalized content */
|