unika-components 1.0.37 → 1.0.38

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.
@@ -12,8 +12,8 @@ declare const _default: import("vue").DefineComponent<{
12
12
  default: string;
13
13
  };
14
14
  opacity: {
15
- type: StringConstructor;
16
- default: string;
15
+ type: NumberConstructor;
16
+ default: number;
17
17
  };
18
18
  weddingDate: {
19
19
  type: StringConstructor;
@@ -79,8 +79,8 @@ declare const _default: import("vue").DefineComponent<{
79
79
  default: string;
80
80
  };
81
81
  opacity: {
82
- type: StringConstructor;
83
- default: string;
82
+ type: NumberConstructor;
83
+ default: number;
84
84
  };
85
85
  weddingDate: {
86
86
  type: StringConstructor;
@@ -126,7 +126,7 @@ declare const _default: import("vue").DefineComponent<{
126
126
  left: string;
127
127
  top: string;
128
128
  transform: string;
129
- opacity: string;
129
+ opacity: number;
130
130
  weddingDate: string;
131
131
  boxBackgroundColor: string;
132
132
  boxBorderColor: string;
@@ -238,7 +238,7 @@ export declare const calendarDefaultProps: {
238
238
  left: string;
239
239
  top: string;
240
240
  transform: string;
241
- opacity: string;
241
+ opacity: number;
242
242
  weddingDate: string;
243
243
  boxBackgroundColor: string;
244
244
  boxBorderColor: string;
@@ -556,7 +556,7 @@ export declare const componentsDefaultProps: {
556
556
  left: string;
557
557
  top: string;
558
558
  transform: string;
559
- opacity: string;
559
+ opacity: number;
560
560
  weddingDate: string;
561
561
  boxBackgroundColor: string;
562
562
  boxBorderColor: string;
@@ -1,65 +1,4 @@
1
1
 
2
- .uni-image-component {
3
- max-width: 100%;
4
- }
5
-
6
- .uni-background-component {
7
- width: 100%;
8
- }
9
- .bg-img {
10
- width: 100%;
11
- height: 100%;
12
- object-fit: cover;
13
- z-index:1;
14
- }
15
- .watermark {
16
- height: 100%;
17
- position: absolute;
18
- top: 0;
19
- left: 0;
20
- right: 0;
21
- bottom: 0;
22
- }
23
- .watermark-div {
24
- height: 100%;
25
- width:100%;
26
- position:absolute;
27
- z-index:99999999;
28
- }
29
- body:before{
30
- content: '';
31
- position: fixed;
32
- top: 0;
33
- bottom: 0;
34
- left: 0;
35
- right: 0;
36
- z-index: -1;
37
- /* background: url(https://unika-static-dev.unika.cc/logo.png) 0 0 repeat; */
38
- background-position: center;
39
- opacity: 0.1;
40
- }
41
-
42
- .uni-video-component {
43
- position: relative;
44
- text-align: center;
45
- }
46
- .play-pause-button {
47
- position: absolute;
48
- top: 50%;
49
- left: 50%;
50
- transform: translate(-50%, -50%);
51
- cursor: pointer;
52
- font-size: 2rem;
53
- color: #fff;
54
- background: rgba(0, 0, 0, 0.6);
55
- border-radius: 50%;
56
- padding: 10px;
57
- transition: background 0.3s;
58
- }
59
- .play-pause-button:hover {
60
- background: rgba(0, 0, 0, 0.8);
61
- }
62
-
63
2
  .slide-guide {
64
3
  position: absolute;
65
4
  bottom: 90px;
@@ -239,8 +178,12 @@ button.uni-text-component {
239
178
  -webkit-transform: rotate(360deg);
240
179
  }
241
180
  }
181
+
182
+ .uni-image-component {
183
+ max-width: 100%;
184
+ }
242
185
 
243
- .video-player {
186
+ .uni-video-component {
244
187
  position: relative;
245
188
  text-align: center;
246
189
  }
@@ -269,28 +212,6 @@ button.uni-text-component {
269
212
  color: #666
270
213
  }
271
214
 
272
- #app1 {
273
- position: relative;
274
- }
275
- .snowflake {
276
- position: absolute;
277
- top: 0;
278
- left: 0;
279
- width: 10px;
280
- height: 10px;
281
- background: red;
282
- border-radius: 50%;
283
- animation: falling 10s linear infinite;
284
- }
285
- @keyframes falling {
286
- from {
287
- transform: translateY(0) rotate(0deg);
288
- }
289
- to {
290
- transform: translateY(100vh) rotate(360deg);
291
- }
292
- }
293
-
294
215
  .like-button {
295
216
  display: flex;
296
217
  flex-direction: column;
@@ -313,6 +234,42 @@ button.uni-text-component {
313
234
  color: #333;
314
235
  }
315
236
 
237
+ .uni-background-component {
238
+ width: 100%;
239
+ }
240
+ .bg-img {
241
+ width: 100%;
242
+ height: 100%;
243
+ object-fit: cover;
244
+ z-index:1;
245
+ }
246
+ .watermark {
247
+ height: 100%;
248
+ position: absolute;
249
+ top: 0;
250
+ left: 0;
251
+ right: 0;
252
+ bottom: 0;
253
+ }
254
+ .watermark-div {
255
+ height: 100%;
256
+ width:100%;
257
+ position:absolute;
258
+ z-index:99999999;
259
+ }
260
+ body:before{
261
+ content: '';
262
+ position: fixed;
263
+ top: 0;
264
+ bottom: 0;
265
+ left: 0;
266
+ right: 0;
267
+ z-index: -1;
268
+ /* background: url(https://unika-static-dev.unika.cc/logo.png) 0 0 repeat; */
269
+ background-position: center;
270
+ opacity: 0.1;
271
+ }
272
+
316
273
  .swiper-container {
317
274
  width: 100%;
318
275
  height: 300px;
@@ -326,6 +283,49 @@ button.uni-text-component {
326
283
  max-width: 100%;
327
284
  max-height: 100%;
328
285
  }
286
+
287
+ .video-player {
288
+ position: relative;
289
+ text-align: center;
290
+ }
291
+ .play-pause-button {
292
+ position: absolute;
293
+ top: 50%;
294
+ left: 50%;
295
+ transform: translate(-50%, -50%);
296
+ cursor: pointer;
297
+ font-size: 2rem;
298
+ color: #fff;
299
+ background: rgba(0, 0, 0, 0.6);
300
+ border-radius: 50%;
301
+ padding: 10px;
302
+ transition: background 0.3s;
303
+ }
304
+ .play-pause-button:hover {
305
+ background: rgba(0, 0, 0, 0.8);
306
+ }
307
+
308
+ #app1 {
309
+ position: relative;
310
+ }
311
+ .snowflake {
312
+ position: absolute;
313
+ top: 0;
314
+ left: 0;
315
+ width: 10px;
316
+ height: 10px;
317
+ background: red;
318
+ border-radius: 50%;
319
+ animation: falling 10s linear infinite;
320
+ }
321
+ @keyframes falling {
322
+ from {
323
+ transform: translateY(0) rotate(0deg);
324
+ }
325
+ to {
326
+ transform: translateY(100vh) rotate(360deg);
327
+ }
328
+ }
329
329
  /**
330
330
  * Swiper 6.8.4
331
331
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -874,249 +874,62 @@ button.swiper-pagination-bullet {
874
874
  backface-visibility: hidden;
875
875
  }
876
876
 
877
-
878
- .no-animation__card {
879
- font-weight: 500;
880
- font-size: var(--countdown-size, 2rem);
881
- line-height: 1.5;
882
- display: block;
883
- color: var(--main-color, #EC685C);
877
+ .unika-calendar-title {
878
+ font-size: 25px;
879
+ padding-bottom: 4px;
884
880
  }
885
-
886
- .flip-clock {
887
- text-align: center;
888
- perspective: 600px;
889
- margin: 0 auto;
881
+ .unika-calendar-header {
882
+ display: -webkit-box;
883
+ display: -ms-flexbox;
884
+ display: flex;
885
+ -webkit-box-pack: justify;
886
+ -ms-flex-pack: justify;
887
+ justify-content: space-between;
888
+ -webkit-box-align: end;
889
+ -ms-flex-align: end;
890
+ align-items: flex-end;
891
+ line-height: 1;
892
+ padding: 0 47px 20px;
890
893
  }
891
-
892
- .flip-clock *,
893
- .flip-clock *:before,
894
- .flip-clock *:after {
895
- box-sizing: border-box;
894
+ .unika-calendar-header .disabled {
895
+ pointer-events: none;
896
+ color: #f0f0f0;
896
897
  }
897
-
898
- .flip-clock__piece {
899
- display: inline-block;
900
- margin: 0 0.2vw;
898
+ .unika-calendar-th {
899
+ display: -webkit-box;
900
+ display: -ms-flexbox;
901
+ display: flex;
902
+ -webkit-box-pack: start;
903
+ -ms-flex-pack: start;
904
+ justify-content: flex-start;
905
+ height: 25px;
906
+ line-height: 25px;
907
+ padding: 0 10px;
908
+ border-radius: 13px
901
909
  }
902
-
903
- @media (min-width: 1000px) {
904
- .flip-clock__piece {
905
- margin: 0 5px;
906
- }
910
+ .unika-calendar-th > * {
911
+ width: 14.2%;
912
+ text-align: center;
913
+ color: #fff;
914
+ font-size: 15px;
907
915
  }
908
-
909
- .flip-clock__slot {
910
- font-size: var(--label-size, 1rem);
911
- line-height: 1.5;
912
- display: block;
913
- color: var(--label-color, #222222);
916
+ .unika-calendar-th > *:not(:first-child) {
917
+ margin-left: 10px;
914
918
  }
915
-
916
- .flip-card {
917
- display: block;
919
+ .unika-calendar-body {
920
+ padding: 0;
921
+ margin: 0;
922
+ font-size: 0;
923
+ padding: 5px 10px 0;
924
+ text-align: left;
925
+ }
926
+ .unika-calendar-editor {
927
+ font-size: 25px;
928
+ }
929
+ .unika-calendar-editor span {
918
930
  position: relative;
919
- padding-bottom: 0.72em; /* halfHeight */
920
- font-size: var(--countdown-size, 2.25rem);
921
- line-height: 0.95;
922
- }
923
-
924
- @media (min-width: 1000px) {
925
- .flip-clock__slot {
926
- font-size: 1.2rem;
927
- }
928
-
929
- .flip-card {
930
- font-size: 3rem;
931
- }
932
- }
933
-
934
- .flip-card__top,
935
- .flip-card__bottom,
936
- .flip-card__back-bottom,
937
- .flip-card__back::before,
938
- .flip-card__back::after{
939
- display: block;
940
- height: 0.72em; /* halfHeight */
941
- color: var(--main-color, #EC685C);
942
- background: var(--main-flip-background-color, #222222);
943
- padding: 0.23em 0.15em 0.4em;
944
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
945
- backface-visibility: hidden;
946
- -webkit-backface-visibility: hidden;
947
- transform-style: preserve-3d;
948
- width: 2.1em;
949
- }
950
-
951
- .flip-card__top-4digits,
952
- .flip-card__bottom-4digits,
953
- .flip-card__back-bottom-4digits,
954
- .flip-card__back-4digits::before,
955
- .flip-card__back-4digits::after {
956
- display: block;
957
- height: 0.72em; /* halfHeight */
958
- color: var(--main-color, #EC685C);
959
- background: var(--main-flip-background-color, #222222);
960
- padding: 0.23em 0.15em 0.4em;
961
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
962
- backface-visibility: hidden;
963
- -webkit-backface-visibility: hidden;
964
- transform-style: preserve-3d;
965
- width: 2.65em;
966
- }
967
-
968
- .flip-card__bottom,
969
- .flip-card__back-bottom,
970
- .flip-card__bottom-4digits,
971
- .flip-card__back-bottom-4digits {
972
- color: var(--second-flip-color, #EC685C);
973
- position: absolute;
974
- top: 50%;
975
- left: 0;
976
- border-top: solid 1px #000;
977
- background: var(--second-flip-background-color, #393939);
978
- border-radius: 0 0 0.15em 0.15em; /* borderRadius */
979
- pointer-events: none;
980
- overflow: hidden;
981
- z-index: 2;
982
- }
983
-
984
- .flip-card__back-bottom,
985
- .flip-card__back-bottom-4digits {
986
- z-index: 1;
987
- }
988
-
989
- .flip-card__bottom::after,
990
- .flip-card__back-bottom::after,
991
- .flip-card__bottom-4digits::after,
992
- .flip-card__back-bottom-4digits::after {
993
- display: block;
994
- margin-top: -0.72em; /* Negative halfHeight */
995
- }
996
- .flip-card__back::before,
997
- .flip-card__bottom::after,
998
- .flip-card__back-bottom::after,
999
- .flip-card__back-4digits::before,
1000
- .flip-card__bottom-4digits::after,
1001
- .flip-card__back-bottom-4digits::after {
1002
- content: attr(data-value);
1003
- }
1004
-
1005
- .flip-card__back,
1006
- .flip-card__back-4digits {
1007
- position: absolute;
1008
- top: 0;
1009
- height: 100%;
1010
- left: 0%;
1011
- pointer-events: none;
1012
- }
1013
- .flip-card__back::before,
1014
- .flip-card__back-4digits::before {
1015
- position: relative;
1016
- overflow: hidden;
1017
- z-index: -1;
1018
- }
1019
-
1020
- .flip .flip-card__back::before,
1021
- .flip .flip-card__back-4digits::before {
1022
- z-index: 1;
1023
- animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
1024
- animation-fill-mode: both;
1025
- transform-origin: center bottom;
1026
- }
1027
-
1028
- .flip .flip-card__bottom,
1029
- .flip .flip-card__bottom-4digits {
1030
- transform-origin: center top;
1031
- animation-fill-mode: both;
1032
- animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
1033
- }
1034
- @keyframes flipTop {
1035
- 0% {
1036
- transform: rotateX(0deg);
1037
- z-index: 2;
1038
- }
1039
- 0%, 99% {
1040
- opacity: 1;
1041
- }
1042
- 100% {
1043
- transform: rotateX(-90deg);
1044
- opacity: 0;
1045
- }
1046
- }
1047
-
1048
- @keyframes flipBottom {
1049
- 0%, 50% {
1050
- z-index: -1;
1051
- transform: rotateX(90deg);
1052
- opacity: 0;
1053
- }
1054
- 51% {
1055
- opacity: 1;
1056
- }
1057
- 100% {
1058
- opacity: 1;
1059
- transform: rotateX(0deg);
1060
- z-index: 5;
1061
- }
1062
- }
1063
-
1064
- .unika-calendar-title {
1065
- font-size: 25px;
1066
- padding-bottom: 4px;
1067
- }
1068
- .unika-calendar-header {
1069
- display: -webkit-box;
1070
- display: -ms-flexbox;
1071
- display: flex;
1072
- -webkit-box-pack: justify;
1073
- -ms-flex-pack: justify;
1074
- justify-content: space-between;
1075
- -webkit-box-align: end;
1076
- -ms-flex-align: end;
1077
- align-items: flex-end;
1078
- line-height: 1;
1079
- padding: 0 47px 20px;
1080
- }
1081
- .unika-calendar-header .disabled {
1082
- pointer-events: none;
1083
- color: #f0f0f0;
1084
- }
1085
- .unika-calendar-th {
1086
- display: -webkit-box;
1087
- display: -ms-flexbox;
1088
- display: flex;
1089
- -webkit-box-pack: start;
1090
- -ms-flex-pack: start;
1091
- justify-content: flex-start;
1092
- height: 25px;
1093
- line-height: 25px;
1094
- padding: 0 10px;
1095
- border-radius: 13px
1096
- }
1097
- .unika-calendar-th > * {
1098
- width: 14.2%;
1099
- text-align: center;
1100
- color: #fff;
1101
- font-size: 15px;
1102
- }
1103
- .unika-calendar-th > *:not(:first-child) {
1104
- margin-left: 10px;
1105
- }
1106
- .unika-calendar-body {
1107
- padding: 0;
1108
- margin: 0;
1109
- font-size: 0;
1110
- padding: 5px 10px 0;
1111
- text-align: left;
1112
- }
1113
- .unika-calendar-editor {
1114
- font-size: 25px;
1115
- }
1116
- .unika-calendar-editor span {
1117
- position: relative;
1118
- top: 2px;
1119
- font-size: 57px;
931
+ top: 2px;
932
+ font-size: 57px;
1120
933
  }
1121
934
  .unika-calendar-day {
1122
935
  display: inline-block;
@@ -1164,7 +977,7 @@ button.swiper-pagination-bullet {
1164
977
  position: relative;
1165
978
  width: 20px;
1166
979
  height: 20px;
1167
- margin: 0px auto;
980
+ margin: 0px 0px;
1168
981
  border: 2px solid var(--after-haert-color);
1169
982
  border-radius: 50%;
1170
983
  animation: heartbeat 1s infinite alternate;
@@ -1173,7 +986,7 @@ button.swiper-pagination-bullet {
1173
986
  .circle {
1174
987
  width: 30px;
1175
988
  height: 30px;
1176
- margin: -2px;
989
+ margin: -3px;
1177
990
  background-color: var(--after-haert-color);
1178
991
  border-radius: 50%;
1179
992
  animation: heartbeat 1s infinite alternate; /* 应用跳动的动画 */
@@ -1258,6 +1071,21 @@ button.swiper-pagination-bullet {
1258
1071
  .can-year {
1259
1072
  font-size: 20px
1260
1073
  }
1074
+ .can-date {
1075
+ position: relative;
1076
+ }
1077
+ .can-date .can-year {
1078
+ position: absolute;
1079
+ white-space: nowrap;
1080
+ left: 50%;
1081
+ top: 15%;
1082
+ -webkit-transform: translateX(-50%);
1083
+ transform: translateX(-50%);
1084
+ font-size: 76px;
1085
+ opacity: .1;
1086
+ font-weight: 600;
1087
+ }
1088
+
1261
1089
  .can-week {
1262
1090
  display: -webkit-box;
1263
1091
  display: -ms-flexbox;
@@ -1297,3 +1125,190 @@ button.swiper-pagination-bullet {
1297
1125
  padding: 0 0px;
1298
1126
  border-bottom: 1px solid
1299
1127
  }
1128
+
1129
+
1130
+ .no-animation__card {
1131
+ font-weight: 500;
1132
+ font-size: var(--countdown-size, 2rem);
1133
+ line-height: 1.5;
1134
+ display: block;
1135
+ color: var(--main-color, #EC685C);
1136
+ }
1137
+
1138
+ .flip-clock {
1139
+ text-align: center;
1140
+ perspective: 600px;
1141
+ margin: 0 auto;
1142
+ }
1143
+
1144
+ .flip-clock *,
1145
+ .flip-clock *:before,
1146
+ .flip-clock *:after {
1147
+ box-sizing: border-box;
1148
+ }
1149
+
1150
+ .flip-clock__piece {
1151
+ display: inline-block;
1152
+ margin: 0 0.2vw;
1153
+ }
1154
+
1155
+ @media (min-width: 1000px) {
1156
+ .flip-clock__piece {
1157
+ margin: 0 5px;
1158
+ }
1159
+ }
1160
+
1161
+ .flip-clock__slot {
1162
+ font-size: var(--label-size, 1rem);
1163
+ line-height: 1.5;
1164
+ display: block;
1165
+ color: var(--label-color, #222222);
1166
+ }
1167
+
1168
+ .flip-card {
1169
+ display: block;
1170
+ position: relative;
1171
+ padding-bottom: 0.72em; /* halfHeight */
1172
+ font-size: var(--countdown-size, 2.25rem);
1173
+ line-height: 0.95;
1174
+ }
1175
+
1176
+ @media (min-width: 1000px) {
1177
+ .flip-clock__slot {
1178
+ font-size: 1.2rem;
1179
+ }
1180
+
1181
+ .flip-card {
1182
+ font-size: 3rem;
1183
+ }
1184
+ }
1185
+
1186
+ .flip-card__top,
1187
+ .flip-card__bottom,
1188
+ .flip-card__back-bottom,
1189
+ .flip-card__back::before,
1190
+ .flip-card__back::after{
1191
+ display: block;
1192
+ height: 0.72em; /* halfHeight */
1193
+ color: var(--main-color, #EC685C);
1194
+ background: var(--main-flip-background-color, #222222);
1195
+ padding: 0.23em 0.15em 0.4em;
1196
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1197
+ backface-visibility: hidden;
1198
+ -webkit-backface-visibility: hidden;
1199
+ transform-style: preserve-3d;
1200
+ width: 2.1em;
1201
+ }
1202
+
1203
+ .flip-card__top-4digits,
1204
+ .flip-card__bottom-4digits,
1205
+ .flip-card__back-bottom-4digits,
1206
+ .flip-card__back-4digits::before,
1207
+ .flip-card__back-4digits::after {
1208
+ display: block;
1209
+ height: 0.72em; /* halfHeight */
1210
+ color: var(--main-color, #EC685C);
1211
+ background: var(--main-flip-background-color, #222222);
1212
+ padding: 0.23em 0.15em 0.4em;
1213
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1214
+ backface-visibility: hidden;
1215
+ -webkit-backface-visibility: hidden;
1216
+ transform-style: preserve-3d;
1217
+ width: 2.65em;
1218
+ }
1219
+
1220
+ .flip-card__bottom,
1221
+ .flip-card__back-bottom,
1222
+ .flip-card__bottom-4digits,
1223
+ .flip-card__back-bottom-4digits {
1224
+ color: var(--second-flip-color, #EC685C);
1225
+ position: absolute;
1226
+ top: 50%;
1227
+ left: 0;
1228
+ border-top: solid 1px #000;
1229
+ background: var(--second-flip-background-color, #393939);
1230
+ border-radius: 0 0 0.15em 0.15em; /* borderRadius */
1231
+ pointer-events: none;
1232
+ overflow: hidden;
1233
+ z-index: 2;
1234
+ }
1235
+
1236
+ .flip-card__back-bottom,
1237
+ .flip-card__back-bottom-4digits {
1238
+ z-index: 1;
1239
+ }
1240
+
1241
+ .flip-card__bottom::after,
1242
+ .flip-card__back-bottom::after,
1243
+ .flip-card__bottom-4digits::after,
1244
+ .flip-card__back-bottom-4digits::after {
1245
+ display: block;
1246
+ margin-top: -0.72em; /* Negative halfHeight */
1247
+ }
1248
+ .flip-card__back::before,
1249
+ .flip-card__bottom::after,
1250
+ .flip-card__back-bottom::after,
1251
+ .flip-card__back-4digits::before,
1252
+ .flip-card__bottom-4digits::after,
1253
+ .flip-card__back-bottom-4digits::after {
1254
+ content: attr(data-value);
1255
+ }
1256
+
1257
+ .flip-card__back,
1258
+ .flip-card__back-4digits {
1259
+ position: absolute;
1260
+ top: 0;
1261
+ height: 100%;
1262
+ left: 0%;
1263
+ pointer-events: none;
1264
+ }
1265
+ .flip-card__back::before,
1266
+ .flip-card__back-4digits::before {
1267
+ position: relative;
1268
+ overflow: hidden;
1269
+ z-index: -1;
1270
+ }
1271
+
1272
+ .flip .flip-card__back::before,
1273
+ .flip .flip-card__back-4digits::before {
1274
+ z-index: 1;
1275
+ animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
1276
+ animation-fill-mode: both;
1277
+ transform-origin: center bottom;
1278
+ }
1279
+
1280
+ .flip .flip-card__bottom,
1281
+ .flip .flip-card__bottom-4digits {
1282
+ transform-origin: center top;
1283
+ animation-fill-mode: both;
1284
+ animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
1285
+ }
1286
+ @keyframes flipTop {
1287
+ 0% {
1288
+ transform: rotateX(0deg);
1289
+ z-index: 2;
1290
+ }
1291
+ 0%, 99% {
1292
+ opacity: 1;
1293
+ }
1294
+ 100% {
1295
+ transform: rotateX(-90deg);
1296
+ opacity: 0;
1297
+ }
1298
+ }
1299
+
1300
+ @keyframes flipBottom {
1301
+ 0%, 50% {
1302
+ z-index: -1;
1303
+ transform: rotateX(90deg);
1304
+ opacity: 0;
1305
+ }
1306
+ 51% {
1307
+ opacity: 1;
1308
+ }
1309
+ 100% {
1310
+ opacity: 1;
1311
+ transform: rotateX(0deg);
1312
+ z-index: 5;
1313
+ }
1314
+ }
@@ -4174,7 +4174,7 @@ const calendarDefaultProps = {
4174
4174
  left: '25px',
4175
4175
  top: '204.5px',
4176
4176
  transform: 'scale(0.855)',
4177
- opacity: '1',
4177
+ opacity: 1,
4178
4178
  weddingDate: '2024-05-21',
4179
4179
  boxBackgroundColor: 'rgb(255, 255, 255)',
4180
4180
  boxBorderColor: 'rgb(237, 85, 102)',
@@ -11842,7 +11842,7 @@ const _hoisted_4$4 = /*#__PURE__*/createElementVNode("img", {
11842
11842
  src: "https://img1.maka.im/assets/usual/slideguide-3-view.png",
11843
11843
  alt: ""
11844
11844
  }, null, -1 /* HOISTED */);
11845
- const _hoisted_5$3 = [
11845
+ const _hoisted_5$4 = [
11846
11846
  _hoisted_4$4
11847
11847
  ];
11848
11848
 
@@ -11889,7 +11889,7 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
11889
11889
  _: 1 /* STABLE */
11890
11890
  }, 8 /* PROPS */, ["modules", "effect", "direction", "onSwiper", "onSlideChange"]),
11891
11891
  (_ctx.upArrow)
11892
- ? (openBlock(), createElementBlock("button", _hoisted_3$4, [..._hoisted_5$3]))
11892
+ ? (openBlock(), createElementBlock("button", _hoisted_3$4, [..._hoisted_5$4]))
11893
11893
  : createCommentVNode("v-if", true)
11894
11894
  ]))
11895
11895
  }
@@ -12033,7 +12033,7 @@ const _hoisted_4$3 = {
12033
12033
  key: 0,
12034
12034
  class: "icon-h"
12035
12035
  };
12036
- const _hoisted_5$2 = ["src"];
12036
+ const _hoisted_5$3 = ["src"];
12037
12037
 
12038
12038
  function render$d(_ctx, _cache, $props, $setup, $data, $options) {
12039
12039
  return (openBlock(), createElementBlock("div", {
@@ -12060,7 +12060,7 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
12060
12060
  controls: "",
12061
12061
  loop: "",
12062
12062
  preload: "auto"
12063
- }, null, 8 /* PROPS */, _hoisted_5$2)
12063
+ }, null, 8 /* PROPS */, _hoisted_5$3)
12064
12064
  ])
12065
12065
  ], 4 /* STYLE */))
12066
12066
  }
@@ -14720,6 +14720,10 @@ const _hoisted_4$2 = {
14720
14720
  key: 1,
14721
14721
  class: "can-week"
14722
14722
  };
14723
+ const _hoisted_5$2 = {
14724
+ key: 3,
14725
+ class: "can-date"
14726
+ };
14723
14727
 
14724
14728
  function render$b(_ctx, _cache, $props, $setup, $data, $options) {
14725
14729
  return (openBlock(), createElementBlock("div", {
@@ -14802,6 +14806,14 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
14802
14806
  }), 128 /* KEYED_FRAGMENT */))
14803
14807
  ], 4 /* STYLE */))
14804
14808
  : createCommentVNode("v-if", true),
14809
+ (_ctx.themeStyle == '2')
14810
+ ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
14811
+ createElementVNode("div", {
14812
+ class: "can-year",
14813
+ style: normalizeStyle({'color': _ctx.boxBorderColor})
14814
+ }, toDisplayString(_ctx.currentYear), 5 /* TEXT, STYLE */)
14815
+ ]))
14816
+ : createCommentVNode("v-if", true),
14805
14817
  createElementVNode("div", {
14806
14818
  class: normalizeClass(`${_ctx.cp}-body`),
14807
14819
  style: normalizeStyle({color: _ctx.frontColor})
@@ -14886,8 +14898,8 @@ var script$9 = defineComponent({
14886
14898
  default: 'scale(0.855)'
14887
14899
  },
14888
14900
  opacity: {
14889
- type: String,
14890
- default: '1'
14901
+ type: Number,
14902
+ default: 1
14891
14903
  },
14892
14904
  weddingDate: {
14893
14905
  type: String,
@@ -4181,7 +4181,7 @@
4181
4181
  left: '25px',
4182
4182
  top: '204.5px',
4183
4183
  transform: 'scale(0.855)',
4184
- opacity: '1',
4184
+ opacity: 1,
4185
4185
  weddingDate: '2024-05-21',
4186
4186
  boxBackgroundColor: 'rgb(255, 255, 255)',
4187
4187
  boxBorderColor: 'rgb(237, 85, 102)',
@@ -11849,7 +11849,7 @@
11849
11849
  src: "https://img1.maka.im/assets/usual/slideguide-3-view.png",
11850
11850
  alt: ""
11851
11851
  }, null, -1 /* HOISTED */);
11852
- const _hoisted_5$3 = [
11852
+ const _hoisted_5$4 = [
11853
11853
  _hoisted_4$4
11854
11854
  ];
11855
11855
 
@@ -11896,7 +11896,7 @@
11896
11896
  _: 1 /* STABLE */
11897
11897
  }, 8 /* PROPS */, ["modules", "effect", "direction", "onSwiper", "onSlideChange"]),
11898
11898
  (_ctx.upArrow)
11899
- ? (vue.openBlock(), vue.createElementBlock("button", _hoisted_3$4, [..._hoisted_5$3]))
11899
+ ? (vue.openBlock(), vue.createElementBlock("button", _hoisted_3$4, [..._hoisted_5$4]))
11900
11900
  : vue.createCommentVNode("v-if", true)
11901
11901
  ]))
11902
11902
  }
@@ -12040,7 +12040,7 @@
12040
12040
  key: 0,
12041
12041
  class: "icon-h"
12042
12042
  };
12043
- const _hoisted_5$2 = ["src"];
12043
+ const _hoisted_5$3 = ["src"];
12044
12044
 
12045
12045
  function render$d(_ctx, _cache, $props, $setup, $data, $options) {
12046
12046
  return (vue.openBlock(), vue.createElementBlock("div", {
@@ -12067,7 +12067,7 @@
12067
12067
  controls: "",
12068
12068
  loop: "",
12069
12069
  preload: "auto"
12070
- }, null, 8 /* PROPS */, _hoisted_5$2)
12070
+ }, null, 8 /* PROPS */, _hoisted_5$3)
12071
12071
  ])
12072
12072
  ], 4 /* STYLE */))
12073
12073
  }
@@ -14727,6 +14727,10 @@
14727
14727
  key: 1,
14728
14728
  class: "can-week"
14729
14729
  };
14730
+ const _hoisted_5$2 = {
14731
+ key: 3,
14732
+ class: "can-date"
14733
+ };
14730
14734
 
14731
14735
  function render$b(_ctx, _cache, $props, $setup, $data, $options) {
14732
14736
  return (vue.openBlock(), vue.createElementBlock("div", {
@@ -14809,6 +14813,14 @@
14809
14813
  }), 128 /* KEYED_FRAGMENT */))
14810
14814
  ], 4 /* STYLE */))
14811
14815
  : vue.createCommentVNode("v-if", true),
14816
+ (_ctx.themeStyle == '2')
14817
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$2, [
14818
+ vue.createElementVNode("div", {
14819
+ class: "can-year",
14820
+ style: vue.normalizeStyle({'color': _ctx.boxBorderColor})
14821
+ }, vue.toDisplayString(_ctx.currentYear), 5 /* TEXT, STYLE */)
14822
+ ]))
14823
+ : vue.createCommentVNode("v-if", true),
14812
14824
  vue.createElementVNode("div", {
14813
14825
  class: vue.normalizeClass(`${_ctx.cp}-body`),
14814
14826
  style: vue.normalizeStyle({color: _ctx.frontColor})
@@ -14893,8 +14905,8 @@
14893
14905
  default: 'scale(0.855)'
14894
14906
  },
14895
14907
  opacity: {
14896
- type: String,
14897
- default: '1'
14908
+ type: Number,
14909
+ default: 1
14898
14910
  },
14899
14911
  weddingDate: {
14900
14912
  type: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",