@alivecss/aliveui 1.0.3 → 1.0.5
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/cli.js +109 -0
- package/dist/index.js +109 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +109 -0
- package/dist/index.mjs.map +1 -1
- package/dist/runtime.js +61 -0
- package/dist/runtime.js.map +1 -1
- package/dist/runtime.mjs +61 -0
- package/dist/runtime.mjs.map +1 -1
- package/dist/vite.js +109 -0
- package/dist/vite.js.map +1 -1
- package/dist/vite.mjs +109 -0
- package/dist/vite.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -553,6 +553,9 @@ function generateBase(_config) {
|
|
|
553
553
|
::before,
|
|
554
554
|
::after {
|
|
555
555
|
box-sizing: border-box;
|
|
556
|
+
border-width: 0;
|
|
557
|
+
border-style: solid;
|
|
558
|
+
border-color: currentColor;
|
|
556
559
|
}
|
|
557
560
|
|
|
558
561
|
html {
|
|
@@ -572,6 +575,39 @@ body {
|
|
|
572
575
|
-moz-osx-font-smoothing: grayscale;
|
|
573
576
|
}
|
|
574
577
|
|
|
578
|
+
blockquote,
|
|
579
|
+
dl,
|
|
580
|
+
dd,
|
|
581
|
+
h1,
|
|
582
|
+
h2,
|
|
583
|
+
h3,
|
|
584
|
+
h4,
|
|
585
|
+
h5,
|
|
586
|
+
h6,
|
|
587
|
+
hr,
|
|
588
|
+
figure,
|
|
589
|
+
p,
|
|
590
|
+
pre {
|
|
591
|
+
margin: 0;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
fieldset {
|
|
595
|
+
margin: 0;
|
|
596
|
+
padding: 0;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
legend {
|
|
600
|
+
padding: 0;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
ol,
|
|
604
|
+
ul,
|
|
605
|
+
menu {
|
|
606
|
+
list-style: none;
|
|
607
|
+
margin: 0;
|
|
608
|
+
padding: 0;
|
|
609
|
+
}
|
|
610
|
+
|
|
575
611
|
button,
|
|
576
612
|
input,
|
|
577
613
|
optgroup,
|
|
@@ -581,9 +617,24 @@ textarea {
|
|
|
581
617
|
font-size: 100%;
|
|
582
618
|
font-weight: inherit;
|
|
583
619
|
line-height: inherit;
|
|
620
|
+
letter-spacing: inherit;
|
|
584
621
|
color: inherit;
|
|
585
622
|
margin: 0;
|
|
586
623
|
padding: 0;
|
|
624
|
+
background-color: transparent;
|
|
625
|
+
background-image: none;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
button,
|
|
629
|
+
[type='button'],
|
|
630
|
+
[type='reset'],
|
|
631
|
+
[type='submit'] {
|
|
632
|
+
-webkit-appearance: button;
|
|
633
|
+
cursor: pointer;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
:disabled {
|
|
637
|
+
cursor: default;
|
|
587
638
|
}
|
|
588
639
|
|
|
589
640
|
button,
|
|
@@ -591,6 +642,28 @@ select {
|
|
|
591
642
|
text-transform: none;
|
|
592
643
|
}
|
|
593
644
|
|
|
645
|
+
img,
|
|
646
|
+
svg,
|
|
647
|
+
video,
|
|
648
|
+
canvas,
|
|
649
|
+
audio,
|
|
650
|
+
iframe,
|
|
651
|
+
embed,
|
|
652
|
+
object {
|
|
653
|
+
display: block;
|
|
654
|
+
vertical-align: middle;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
img,
|
|
658
|
+
video {
|
|
659
|
+
max-width: 100%;
|
|
660
|
+
height: auto;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
[hidden] {
|
|
664
|
+
display: none;
|
|
665
|
+
}
|
|
666
|
+
|
|
594
667
|
/* \u2500\u2500 Design tokens \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
595
668
|
:root {
|
|
596
669
|
/* Motion durations */
|
|
@@ -788,6 +861,30 @@ select {
|
|
|
788
861
|
.alive-loop-ping { animation: alive-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
|
|
789
862
|
.alive-loop-bounce { animation: alive-bounce 1s infinite; }
|
|
790
863
|
|
|
864
|
+
/* \u2500\u2500 Scroll-reveal (data-alive-scroll) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
865
|
+
|
|
866
|
+
[data-alive-scroll] {
|
|
867
|
+
opacity: 0;
|
|
868
|
+
transform: translateY(8px);
|
|
869
|
+
}
|
|
870
|
+
[data-alive-scroll].is-visible {
|
|
871
|
+
animation: alive-fade-up var(--alive-duration-slow) var(--alive-ease-emphasized) both;
|
|
872
|
+
}
|
|
873
|
+
[data-alive-scroll="fade"] {
|
|
874
|
+
opacity: 0;
|
|
875
|
+
transform: none;
|
|
876
|
+
}
|
|
877
|
+
[data-alive-scroll="fade"].is-visible {
|
|
878
|
+
animation: alive-fade-in var(--alive-duration-normal) var(--alive-ease-standard) both;
|
|
879
|
+
}
|
|
880
|
+
[data-alive-scroll="scale"] {
|
|
881
|
+
opacity: 0;
|
|
882
|
+
transform: scale(0.94);
|
|
883
|
+
}
|
|
884
|
+
[data-alive-scroll="scale"].is-visible {
|
|
885
|
+
animation: alive-scale-in var(--alive-duration-slow) var(--alive-ease-emphasized) both;
|
|
886
|
+
}
|
|
887
|
+
|
|
791
888
|
/* Reduced motion \u2014 respect system preference */
|
|
792
889
|
@media (prefers-reduced-motion: reduce) {
|
|
793
890
|
.alive-enter,
|
|
@@ -810,6 +907,18 @@ select {
|
|
|
810
907
|
transform: none;
|
|
811
908
|
}
|
|
812
909
|
|
|
910
|
+
[data-alive-scroll],
|
|
911
|
+
[data-alive-scroll="fade"],
|
|
912
|
+
[data-alive-scroll="scale"] {
|
|
913
|
+
opacity: 1;
|
|
914
|
+
transform: none;
|
|
915
|
+
}
|
|
916
|
+
[data-alive-scroll].is-visible,
|
|
917
|
+
[data-alive-scroll="fade"].is-visible,
|
|
918
|
+
[data-alive-scroll="scale"].is-visible {
|
|
919
|
+
animation: none;
|
|
920
|
+
}
|
|
921
|
+
|
|
813
922
|
/* depth system \u2014 disable hover lift and active press */
|
|
814
923
|
.d2,
|
|
815
924
|
.d2:hover,
|