unika-components 1.0.109 → 1.0.110

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.
@@ -15,6 +15,14 @@ button.uni-text-component {
15
15
  white-space: pre-wrap;
16
16
  }
17
17
 
18
+ .slot-number {
19
+ position: absolute;
20
+ bottom: 2px;
21
+ left: 7px;
22
+ font-size: 12px;
23
+ color: #666
24
+ }
25
+
18
26
  #audio {
19
27
  position: absolute;
20
28
  right: 10px;
@@ -96,14 +104,6 @@ button.uni-text-component {
96
104
  }
97
105
  }
98
106
 
99
- .slot-number {
100
- position: absolute;
101
- bottom: 2px;
102
- left: 7px;
103
- font-size: 12px;
104
- color: #666
105
- }
106
-
107
107
  .uni-video-component {
108
108
  position: relative;
109
109
  text-align: center;
@@ -147,20 +147,11 @@ button.uni-text-component {
147
147
  color: #333;
148
148
  }
149
149
 
150
- .swiper-warp {
150
+ .effect {
151
151
  width: 100%;
152
152
  height: 100%;
153
153
  }
154
154
 
155
- .swiper-slide-component {
156
- text-align: center;
157
- }
158
-
159
- .swiper-slide img {
160
- max-width: 100%;
161
- max-height: 100%;
162
- }
163
-
164
155
  .ant-input-number {
165
156
  box-sizing: border-box;
166
157
  margin: 0;
@@ -196,10 +187,19 @@ button.uni-text-component {
196
187
  vertical-align: top;
197
188
  }
198
189
 
199
- .effect {
190
+ .swiper-warp {
200
191
  width: 100%;
201
192
  height: 100%;
202
193
  }
194
+
195
+ .swiper-slide-component {
196
+ text-align: center;
197
+ }
198
+
199
+ .swiper-slide img {
200
+ max-width: 100%;
201
+ max-height: 100%;
202
+ }
203
203
  /**
204
204
  * Swiper 6.8.4
205
205
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -748,6 +748,193 @@ button.swiper-pagination-bullet {
748
748
  backface-visibility: hidden;
749
749
  }
750
750
 
751
+
752
+ .no-animation__card {
753
+ font-weight: 500;
754
+ font-size: var(--countdown-size, 2rem);
755
+ line-height: 1.5;
756
+ display: block;
757
+ color: var(--main-color, #EC685C);
758
+ }
759
+
760
+ .flip-clock {
761
+ text-align: center;
762
+ perspective: 600px;
763
+ margin: 0 auto;
764
+ }
765
+
766
+ .flip-clock *,
767
+ .flip-clock *:before,
768
+ .flip-clock *:after {
769
+ box-sizing: border-box;
770
+ }
771
+
772
+ .flip-clock__piece {
773
+ display: inline-block;
774
+ margin: 0 0.2vw;
775
+ }
776
+
777
+ @media (min-width: 1000px) {
778
+ .flip-clock__piece {
779
+ margin: 0 5px;
780
+ }
781
+ }
782
+
783
+ .flip-clock__slot {
784
+ font-size: var(--label-size, 1rem);
785
+ line-height: 1.5;
786
+ display: block;
787
+ color: var(--label-color, #222222);
788
+ }
789
+
790
+ .flip-card {
791
+ display: block;
792
+ position: relative;
793
+ padding-bottom: 0.72em; /* halfHeight */
794
+ font-size: var(--countdown-size, 2.25rem);
795
+ line-height: 0.95;
796
+ }
797
+
798
+ @media (min-width: 1000px) {
799
+ .flip-clock__slot {
800
+ font-size: 1.2rem;
801
+ }
802
+
803
+ .flip-card {
804
+ font-size: 3rem;
805
+ }
806
+ }
807
+
808
+ .flip-card__top,
809
+ .flip-card__bottom,
810
+ .flip-card__back-bottom,
811
+ .flip-card__back::before,
812
+ .flip-card__back::after{
813
+ display: block;
814
+ height: 0.72em; /* halfHeight */
815
+ color: var(--main-color, #EC685C);
816
+ background: var(--main-flip-background-color, #222222);
817
+ padding: 0.23em 0.15em 0.4em;
818
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
819
+ backface-visibility: hidden;
820
+ -webkit-backface-visibility: hidden;
821
+ transform-style: preserve-3d;
822
+ width: 2.1em;
823
+ }
824
+
825
+ .flip-card__top-4digits,
826
+ .flip-card__bottom-4digits,
827
+ .flip-card__back-bottom-4digits,
828
+ .flip-card__back-4digits::before,
829
+ .flip-card__back-4digits::after {
830
+ display: block;
831
+ height: 0.72em; /* halfHeight */
832
+ color: var(--main-color, #EC685C);
833
+ background: var(--main-flip-background-color, #222222);
834
+ padding: 0.23em 0.15em 0.4em;
835
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
836
+ backface-visibility: hidden;
837
+ -webkit-backface-visibility: hidden;
838
+ transform-style: preserve-3d;
839
+ width: 2.65em;
840
+ }
841
+
842
+ .flip-card__bottom,
843
+ .flip-card__back-bottom,
844
+ .flip-card__bottom-4digits,
845
+ .flip-card__back-bottom-4digits {
846
+ color: var(--second-flip-color, #EC685C);
847
+ position: absolute;
848
+ top: 50%;
849
+ left: 0;
850
+ border-top: solid 1px var(--second-flip-background-color, #000);
851
+ background: var(--second-flip-background-color, #393939);
852
+ border-radius: 0 0 0.15em 0.15em; /* borderRadius */
853
+ pointer-events: none;
854
+ overflow: hidden;
855
+ z-index: 2;
856
+ }
857
+
858
+ .flip-card__back-bottom,
859
+ .flip-card__back-bottom-4digits {
860
+ z-index: 1;
861
+ }
862
+
863
+ .flip-card__bottom::after,
864
+ .flip-card__back-bottom::after,
865
+ .flip-card__bottom-4digits::after,
866
+ .flip-card__back-bottom-4digits::after {
867
+ display: block;
868
+ margin-top: -0.72em; /* Negative halfHeight */
869
+ }
870
+ .flip-card__back::before,
871
+ .flip-card__bottom::after,
872
+ .flip-card__back-bottom::after,
873
+ .flip-card__back-4digits::before,
874
+ .flip-card__bottom-4digits::after,
875
+ .flip-card__back-bottom-4digits::after {
876
+ content: attr(data-value);
877
+ }
878
+
879
+ .flip-card__back,
880
+ .flip-card__back-4digits {
881
+ position: absolute;
882
+ top: 0;
883
+ height: 100%;
884
+ left: 0%;
885
+ pointer-events: none;
886
+ }
887
+ .flip-card__back::before,
888
+ .flip-card__back-4digits::before {
889
+ position: relative;
890
+ overflow: hidden;
891
+ z-index: -1;
892
+ }
893
+
894
+ .flip .flip-card__back::before,
895
+ .flip .flip-card__back-4digits::before {
896
+ z-index: 1;
897
+ animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
898
+ animation-fill-mode: both;
899
+ transform-origin: center bottom;
900
+ }
901
+
902
+ .flip .flip-card__bottom,
903
+ .flip .flip-card__bottom-4digits {
904
+ transform-origin: center top;
905
+ animation-fill-mode: both;
906
+ animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
907
+ }
908
+ @keyframes flipTop {
909
+ 0% {
910
+ transform: rotateX(0deg);
911
+ z-index: 2;
912
+ }
913
+ 0%, 99% {
914
+ opacity: 1;
915
+ }
916
+ 100% {
917
+ transform: rotateX(-90deg);
918
+ opacity: 0;
919
+ }
920
+ }
921
+
922
+ @keyframes flipBottom {
923
+ 0%, 50% {
924
+ z-index: -1;
925
+ transform: rotateX(90deg);
926
+ opacity: 0;
927
+ }
928
+ 51% {
929
+ opacity: 1;
930
+ }
931
+ 100% {
932
+ opacity: 1;
933
+ transform: rotateX(0deg);
934
+ z-index: 5;
935
+ }
936
+ }
937
+
751
938
  .unika-calendar-title {
752
939
  font-size: 25px;
753
940
  padding-bottom: 4px;
@@ -999,190 +1186,3 @@ button.swiper-pagination-bullet {
999
1186
  padding: 0 0px;
1000
1187
  border-bottom: 1px solid
1001
1188
  }
1002
-
1003
-
1004
- .no-animation__card {
1005
- font-weight: 500;
1006
- font-size: var(--countdown-size, 2rem);
1007
- line-height: 1.5;
1008
- display: block;
1009
- color: var(--main-color, #EC685C);
1010
- }
1011
-
1012
- .flip-clock {
1013
- text-align: center;
1014
- perspective: 600px;
1015
- margin: 0 auto;
1016
- }
1017
-
1018
- .flip-clock *,
1019
- .flip-clock *:before,
1020
- .flip-clock *:after {
1021
- box-sizing: border-box;
1022
- }
1023
-
1024
- .flip-clock__piece {
1025
- display: inline-block;
1026
- margin: 0 0.2vw;
1027
- }
1028
-
1029
- @media (min-width: 1000px) {
1030
- .flip-clock__piece {
1031
- margin: 0 5px;
1032
- }
1033
- }
1034
-
1035
- .flip-clock__slot {
1036
- font-size: var(--label-size, 1rem);
1037
- line-height: 1.5;
1038
- display: block;
1039
- color: var(--label-color, #222222);
1040
- }
1041
-
1042
- .flip-card {
1043
- display: block;
1044
- position: relative;
1045
- padding-bottom: 0.72em; /* halfHeight */
1046
- font-size: var(--countdown-size, 2.25rem);
1047
- line-height: 0.95;
1048
- }
1049
-
1050
- @media (min-width: 1000px) {
1051
- .flip-clock__slot {
1052
- font-size: 1.2rem;
1053
- }
1054
-
1055
- .flip-card {
1056
- font-size: 3rem;
1057
- }
1058
- }
1059
-
1060
- .flip-card__top,
1061
- .flip-card__bottom,
1062
- .flip-card__back-bottom,
1063
- .flip-card__back::before,
1064
- .flip-card__back::after{
1065
- display: block;
1066
- height: 0.72em; /* halfHeight */
1067
- color: var(--main-color, #EC685C);
1068
- background: var(--main-flip-background-color, #222222);
1069
- padding: 0.23em 0.15em 0.4em;
1070
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1071
- backface-visibility: hidden;
1072
- -webkit-backface-visibility: hidden;
1073
- transform-style: preserve-3d;
1074
- width: 2.1em;
1075
- }
1076
-
1077
- .flip-card__top-4digits,
1078
- .flip-card__bottom-4digits,
1079
- .flip-card__back-bottom-4digits,
1080
- .flip-card__back-4digits::before,
1081
- .flip-card__back-4digits::after {
1082
- display: block;
1083
- height: 0.72em; /* halfHeight */
1084
- color: var(--main-color, #EC685C);
1085
- background: var(--main-flip-background-color, #222222);
1086
- padding: 0.23em 0.15em 0.4em;
1087
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1088
- backface-visibility: hidden;
1089
- -webkit-backface-visibility: hidden;
1090
- transform-style: preserve-3d;
1091
- width: 2.65em;
1092
- }
1093
-
1094
- .flip-card__bottom,
1095
- .flip-card__back-bottom,
1096
- .flip-card__bottom-4digits,
1097
- .flip-card__back-bottom-4digits {
1098
- color: var(--second-flip-color, #EC685C);
1099
- position: absolute;
1100
- top: 50%;
1101
- left: 0;
1102
- border-top: solid 1px var(--second-flip-background-color, #000);
1103
- background: var(--second-flip-background-color, #393939);
1104
- border-radius: 0 0 0.15em 0.15em; /* borderRadius */
1105
- pointer-events: none;
1106
- overflow: hidden;
1107
- z-index: 2;
1108
- }
1109
-
1110
- .flip-card__back-bottom,
1111
- .flip-card__back-bottom-4digits {
1112
- z-index: 1;
1113
- }
1114
-
1115
- .flip-card__bottom::after,
1116
- .flip-card__back-bottom::after,
1117
- .flip-card__bottom-4digits::after,
1118
- .flip-card__back-bottom-4digits::after {
1119
- display: block;
1120
- margin-top: -0.72em; /* Negative halfHeight */
1121
- }
1122
- .flip-card__back::before,
1123
- .flip-card__bottom::after,
1124
- .flip-card__back-bottom::after,
1125
- .flip-card__back-4digits::before,
1126
- .flip-card__bottom-4digits::after,
1127
- .flip-card__back-bottom-4digits::after {
1128
- content: attr(data-value);
1129
- }
1130
-
1131
- .flip-card__back,
1132
- .flip-card__back-4digits {
1133
- position: absolute;
1134
- top: 0;
1135
- height: 100%;
1136
- left: 0%;
1137
- pointer-events: none;
1138
- }
1139
- .flip-card__back::before,
1140
- .flip-card__back-4digits::before {
1141
- position: relative;
1142
- overflow: hidden;
1143
- z-index: -1;
1144
- }
1145
-
1146
- .flip .flip-card__back::before,
1147
- .flip .flip-card__back-4digits::before {
1148
- z-index: 1;
1149
- animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
1150
- animation-fill-mode: both;
1151
- transform-origin: center bottom;
1152
- }
1153
-
1154
- .flip .flip-card__bottom,
1155
- .flip .flip-card__bottom-4digits {
1156
- transform-origin: center top;
1157
- animation-fill-mode: both;
1158
- animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
1159
- }
1160
- @keyframes flipTop {
1161
- 0% {
1162
- transform: rotateX(0deg);
1163
- z-index: 2;
1164
- }
1165
- 0%, 99% {
1166
- opacity: 1;
1167
- }
1168
- 100% {
1169
- transform: rotateX(-90deg);
1170
- opacity: 0;
1171
- }
1172
- }
1173
-
1174
- @keyframes flipBottom {
1175
- 0%, 50% {
1176
- z-index: -1;
1177
- transform: rotateX(90deg);
1178
- opacity: 0;
1179
- }
1180
- 51% {
1181
- opacity: 1;
1182
- }
1183
- 100% {
1184
- opacity: 1;
1185
- transform: rotateX(0deg);
1186
- z-index: 5;
1187
- }
1188
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.109",
3
+ "version": "1.0.110",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",