unika-components 1.0.168 → 1.0.169

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.
@@ -1,4 +1,3 @@
1
- export declare const defaultStyles: string[];
2
1
  declare const _default: import("vue").DefineComponent<{
3
2
  [x: string]: any;
4
3
  }, {
@@ -2,18 +2,6 @@
2
2
  .uni-image-component {
3
3
  max-width: 100%;
4
4
  }
5
-
6
- h2.uni-text-component, p.uni-text-component {
7
- margin-bottom: 0;
8
- }
9
- button.uni-text-component {
10
- padding: 5px 10px;
11
- cursor: pointer;
12
- }
13
- .uni-text-component {
14
- box-sizing: border-box;
15
- white-space: pre-wrap;
16
- }
17
5
 
18
6
  .uni-video-component {
19
7
  position: relative;
@@ -35,17 +23,22 @@ button.uni-text-component {
35
23
  .play-pause-button:hover {
36
24
  background: rgba(0, 0, 0, 0.8);
37
25
  }
26
+
27
+ h2.uni-text-component, p.uni-text-component {
28
+ margin-bottom: 0;
29
+ }
30
+ button.uni-text-component {
31
+ padding: 5px 10px;
32
+ cursor: pointer;
33
+ }
34
+ .uni-text-component {
35
+ box-sizing: border-box;
36
+ white-space: pre-wrap;
37
+ }
38
38
 
39
-
40
- .uni-calendar-component {
41
-
42
- }
43
- .slot-number {
44
- position: absolute;
45
- bottom: 2px;
46
- left: 7px;
47
- font-size: 12px;
48
- color: #666
39
+ .effect {
40
+ width: 100%;
41
+ height: 100%;
49
42
  }
50
43
 
51
44
  .slide-guide {
@@ -121,47 +114,6 @@ body, html {
121
114
  }
122
115
  }
123
116
 
124
- .effect {
125
- width: 100%;
126
- height: 100%;
127
- }
128
-
129
- .swiper-warp {
130
- width: 100%;
131
- height: 100%;
132
- }
133
-
134
- .swiper-slide-component {
135
- text-align: center;
136
- }
137
-
138
- .swiper-slide img {
139
- max-width: 100%;
140
- max-height: 100%;
141
- }
142
-
143
- .like-button {
144
- display: flex;
145
- flex-direction: column;
146
- align-items: center;
147
- cursor: pointer;
148
- }
149
-
150
- .icon-heart {
151
- font-size: 24px;
152
- color: #e74c3c;
153
- }
154
-
155
- .liked {
156
- color: #f00; /* 更改颜色以示已赞 */
157
- }
158
-
159
- .like-count {
160
- margin-top: 4px;
161
- font-size: 16px;
162
- color: #333;
163
- }
164
-
165
117
  .ant-input-number {
166
118
  box-sizing: border-box;
167
119
  margin: 0;
@@ -197,8 +149,56 @@ body, html {
197
149
  vertical-align: top;
198
150
  }
199
151
 
152
+ .like-button {
153
+ display: flex;
154
+ flex-direction: column;
155
+ align-items: center;
156
+ cursor: pointer;
157
+ }
158
+
159
+ .icon-heart {
160
+ font-size: 24px;
161
+ color: #e74c3c;
162
+ }
163
+
164
+ .liked {
165
+ color: #f00; /* 更改颜色以示已赞 */
166
+ }
167
+
168
+ .like-count {
169
+ margin-top: 4px;
170
+ font-size: 16px;
171
+ color: #333;
172
+ }
173
+
200
174
  .uni-build-up-component {
201
175
  }
176
+
177
+
178
+ .uni-calendar-component {
179
+
180
+ }
181
+ .slot-number {
182
+ position: absolute;
183
+ bottom: 2px;
184
+ left: 7px;
185
+ font-size: 12px;
186
+ color: #666
187
+ }
188
+
189
+ .swiper-warp {
190
+ width: 100%;
191
+ height: 100%;
192
+ }
193
+
194
+ .swiper-slide-component {
195
+ text-align: center;
196
+ }
197
+
198
+ .swiper-slide img {
199
+ max-width: 100%;
200
+ max-height: 100%;
201
+ }
202
202
  /**
203
203
  * Swiper 6.8.4
204
204
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -747,6 +747,193 @@ button.swiper-pagination-bullet {
747
747
  backface-visibility: hidden;
748
748
  }
749
749
 
750
+
751
+ .no-animation__card {
752
+ font-weight: 500;
753
+ font-size: var(--countdown-size, 2rem);
754
+ line-height: 1.5;
755
+ display: block;
756
+ color: var(--main-color, #EC685C);
757
+ }
758
+
759
+ .flip-clock {
760
+ text-align: center;
761
+ perspective: 600px;
762
+ margin: 0 auto;
763
+ }
764
+
765
+ .flip-clock *,
766
+ .flip-clock *:before,
767
+ .flip-clock *:after {
768
+ box-sizing: border-box;
769
+ }
770
+
771
+ .flip-clock__piece {
772
+ display: inline-block;
773
+ margin: 0 0.2vw;
774
+ }
775
+
776
+ @media (min-width: 1000px) {
777
+ .flip-clock__piece {
778
+ margin: 0 5px;
779
+ }
780
+ }
781
+
782
+ .flip-clock__slot {
783
+ font-size: var(--label-size, 1rem);
784
+ line-height: 1.5;
785
+ display: block;
786
+ color: var(--label-color, #222222);
787
+ }
788
+
789
+ .flip-card {
790
+ display: block;
791
+ position: relative;
792
+ padding-bottom: 0.72em; /* halfHeight */
793
+ font-size: var(--countdown-size, 2.25rem);
794
+ line-height: 0.95;
795
+ }
796
+
797
+ @media (min-width: 1000px) {
798
+ .flip-clock__slot {
799
+ font-size: 1.2rem;
800
+ }
801
+
802
+ .flip-card {
803
+ font-size: 3rem;
804
+ }
805
+ }
806
+
807
+ .flip-card__top,
808
+ .flip-card__bottom,
809
+ .flip-card__back-bottom,
810
+ .flip-card__back::before,
811
+ .flip-card__back::after{
812
+ display: block;
813
+ height: 0.72em; /* halfHeight */
814
+ color: var(--main-color, #EC685C);
815
+ background: var(--main-flip-background-color, #222222);
816
+ padding: 0.23em 0.15em 0.4em;
817
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
818
+ backface-visibility: hidden;
819
+ -webkit-backface-visibility: hidden;
820
+ transform-style: preserve-3d;
821
+ width: 2.1em;
822
+ }
823
+
824
+ .flip-card__top-4digits,
825
+ .flip-card__bottom-4digits,
826
+ .flip-card__back-bottom-4digits,
827
+ .flip-card__back-4digits::before,
828
+ .flip-card__back-4digits::after {
829
+ display: block;
830
+ height: 0.72em; /* halfHeight */
831
+ color: var(--main-color, #EC685C);
832
+ background: var(--main-flip-background-color, #222222);
833
+ padding: 0.23em 0.15em 0.4em;
834
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
835
+ backface-visibility: hidden;
836
+ -webkit-backface-visibility: hidden;
837
+ transform-style: preserve-3d;
838
+ width: 2.65em;
839
+ }
840
+
841
+ .flip-card__bottom,
842
+ .flip-card__back-bottom,
843
+ .flip-card__bottom-4digits,
844
+ .flip-card__back-bottom-4digits {
845
+ color: var(--second-flip-color, #EC685C);
846
+ position: absolute;
847
+ top: 50%;
848
+ left: 0;
849
+ border-top: solid 1px var(--second-flip-background-color, #000);
850
+ background: var(--second-flip-background-color, #393939);
851
+ border-radius: 0 0 0.15em 0.15em; /* borderRadius */
852
+ pointer-events: none;
853
+ overflow: hidden;
854
+ z-index: 2;
855
+ }
856
+
857
+ .flip-card__back-bottom,
858
+ .flip-card__back-bottom-4digits {
859
+ z-index: 1;
860
+ }
861
+
862
+ .flip-card__bottom::after,
863
+ .flip-card__back-bottom::after,
864
+ .flip-card__bottom-4digits::after,
865
+ .flip-card__back-bottom-4digits::after {
866
+ display: block;
867
+ margin-top: -0.72em; /* Negative halfHeight */
868
+ }
869
+ .flip-card__back::before,
870
+ .flip-card__bottom::after,
871
+ .flip-card__back-bottom::after,
872
+ .flip-card__back-4digits::before,
873
+ .flip-card__bottom-4digits::after,
874
+ .flip-card__back-bottom-4digits::after {
875
+ content: attr(data-value);
876
+ }
877
+
878
+ .flip-card__back,
879
+ .flip-card__back-4digits {
880
+ position: absolute;
881
+ top: 0;
882
+ height: 100%;
883
+ left: 0%;
884
+ pointer-events: none;
885
+ }
886
+ .flip-card__back::before,
887
+ .flip-card__back-4digits::before {
888
+ position: relative;
889
+ overflow: hidden;
890
+ z-index: -1;
891
+ }
892
+
893
+ .flip .flip-card__back::before,
894
+ .flip .flip-card__back-4digits::before {
895
+ z-index: 1;
896
+ animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
897
+ animation-fill-mode: both;
898
+ transform-origin: center bottom;
899
+ }
900
+
901
+ .flip .flip-card__bottom,
902
+ .flip .flip-card__bottom-4digits {
903
+ transform-origin: center top;
904
+ animation-fill-mode: both;
905
+ animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
906
+ }
907
+ @keyframes flipTop {
908
+ 0% {
909
+ transform: rotateX(0deg);
910
+ z-index: 2;
911
+ }
912
+ 0%, 99% {
913
+ opacity: 1;
914
+ }
915
+ 100% {
916
+ transform: rotateX(-90deg);
917
+ opacity: 0;
918
+ }
919
+ }
920
+
921
+ @keyframes flipBottom {
922
+ 0%, 50% {
923
+ z-index: -1;
924
+ transform: rotateX(90deg);
925
+ opacity: 0;
926
+ }
927
+ 51% {
928
+ opacity: 1;
929
+ }
930
+ 100% {
931
+ opacity: 1;
932
+ transform: rotateX(0deg);
933
+ z-index: 5;
934
+ }
935
+ }
936
+
750
937
  .unika-calendar-box {
751
938
  position: relative;
752
939
  width: 325px !important;
@@ -1004,190 +1191,3 @@ button.swiper-pagination-bullet {
1004
1191
  padding: 0 0px;
1005
1192
  border-bottom: 1px solid
1006
1193
  }
1007
-
1008
-
1009
- .no-animation__card {
1010
- font-weight: 500;
1011
- font-size: var(--countdown-size, 2rem);
1012
- line-height: 1.5;
1013
- display: block;
1014
- color: var(--main-color, #EC685C);
1015
- }
1016
-
1017
- .flip-clock {
1018
- text-align: center;
1019
- perspective: 600px;
1020
- margin: 0 auto;
1021
- }
1022
-
1023
- .flip-clock *,
1024
- .flip-clock *:before,
1025
- .flip-clock *:after {
1026
- box-sizing: border-box;
1027
- }
1028
-
1029
- .flip-clock__piece {
1030
- display: inline-block;
1031
- margin: 0 0.2vw;
1032
- }
1033
-
1034
- @media (min-width: 1000px) {
1035
- .flip-clock__piece {
1036
- margin: 0 5px;
1037
- }
1038
- }
1039
-
1040
- .flip-clock__slot {
1041
- font-size: var(--label-size, 1rem);
1042
- line-height: 1.5;
1043
- display: block;
1044
- color: var(--label-color, #222222);
1045
- }
1046
-
1047
- .flip-card {
1048
- display: block;
1049
- position: relative;
1050
- padding-bottom: 0.72em; /* halfHeight */
1051
- font-size: var(--countdown-size, 2.25rem);
1052
- line-height: 0.95;
1053
- }
1054
-
1055
- @media (min-width: 1000px) {
1056
- .flip-clock__slot {
1057
- font-size: 1.2rem;
1058
- }
1059
-
1060
- .flip-card {
1061
- font-size: 3rem;
1062
- }
1063
- }
1064
-
1065
- .flip-card__top,
1066
- .flip-card__bottom,
1067
- .flip-card__back-bottom,
1068
- .flip-card__back::before,
1069
- .flip-card__back::after{
1070
- display: block;
1071
- height: 0.72em; /* halfHeight */
1072
- color: var(--main-color, #EC685C);
1073
- background: var(--main-flip-background-color, #222222);
1074
- padding: 0.23em 0.15em 0.4em;
1075
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1076
- backface-visibility: hidden;
1077
- -webkit-backface-visibility: hidden;
1078
- transform-style: preserve-3d;
1079
- width: 2.1em;
1080
- }
1081
-
1082
- .flip-card__top-4digits,
1083
- .flip-card__bottom-4digits,
1084
- .flip-card__back-bottom-4digits,
1085
- .flip-card__back-4digits::before,
1086
- .flip-card__back-4digits::after {
1087
- display: block;
1088
- height: 0.72em; /* halfHeight */
1089
- color: var(--main-color, #EC685C);
1090
- background: var(--main-flip-background-color, #222222);
1091
- padding: 0.23em 0.15em 0.4em;
1092
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1093
- backface-visibility: hidden;
1094
- -webkit-backface-visibility: hidden;
1095
- transform-style: preserve-3d;
1096
- width: 2.65em;
1097
- }
1098
-
1099
- .flip-card__bottom,
1100
- .flip-card__back-bottom,
1101
- .flip-card__bottom-4digits,
1102
- .flip-card__back-bottom-4digits {
1103
- color: var(--second-flip-color, #EC685C);
1104
- position: absolute;
1105
- top: 50%;
1106
- left: 0;
1107
- border-top: solid 1px var(--second-flip-background-color, #000);
1108
- background: var(--second-flip-background-color, #393939);
1109
- border-radius: 0 0 0.15em 0.15em; /* borderRadius */
1110
- pointer-events: none;
1111
- overflow: hidden;
1112
- z-index: 2;
1113
- }
1114
-
1115
- .flip-card__back-bottom,
1116
- .flip-card__back-bottom-4digits {
1117
- z-index: 1;
1118
- }
1119
-
1120
- .flip-card__bottom::after,
1121
- .flip-card__back-bottom::after,
1122
- .flip-card__bottom-4digits::after,
1123
- .flip-card__back-bottom-4digits::after {
1124
- display: block;
1125
- margin-top: -0.72em; /* Negative halfHeight */
1126
- }
1127
- .flip-card__back::before,
1128
- .flip-card__bottom::after,
1129
- .flip-card__back-bottom::after,
1130
- .flip-card__back-4digits::before,
1131
- .flip-card__bottom-4digits::after,
1132
- .flip-card__back-bottom-4digits::after {
1133
- content: attr(data-value);
1134
- }
1135
-
1136
- .flip-card__back,
1137
- .flip-card__back-4digits {
1138
- position: absolute;
1139
- top: 0;
1140
- height: 100%;
1141
- left: 0%;
1142
- pointer-events: none;
1143
- }
1144
- .flip-card__back::before,
1145
- .flip-card__back-4digits::before {
1146
- position: relative;
1147
- overflow: hidden;
1148
- z-index: -1;
1149
- }
1150
-
1151
- .flip .flip-card__back::before,
1152
- .flip .flip-card__back-4digits::before {
1153
- z-index: 1;
1154
- animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
1155
- animation-fill-mode: both;
1156
- transform-origin: center bottom;
1157
- }
1158
-
1159
- .flip .flip-card__bottom,
1160
- .flip .flip-card__bottom-4digits {
1161
- transform-origin: center top;
1162
- animation-fill-mode: both;
1163
- animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
1164
- }
1165
- @keyframes flipTop {
1166
- 0% {
1167
- transform: rotateX(0deg);
1168
- z-index: 2;
1169
- }
1170
- 0%, 99% {
1171
- opacity: 1;
1172
- }
1173
- 100% {
1174
- transform: rotateX(-90deg);
1175
- opacity: 0;
1176
- }
1177
- }
1178
-
1179
- @keyframes flipBottom {
1180
- 0%, 50% {
1181
- z-index: -1;
1182
- transform: rotateX(90deg);
1183
- opacity: 0;
1184
- }
1185
- 51% {
1186
- opacity: 1;
1187
- }
1188
- 100% {
1189
- opacity: 1;
1190
- transform: rotateX(0deg);
1191
- z-index: 5;
1192
- }
1193
- }
@@ -94318,8 +94318,7 @@ axios.default = axios;
94318
94318
  var axios$1 = axios;
94319
94319
 
94320
94320
  const defaultProps = transformToComponentProps(componentsDefaultProps['uni-svg'].props, isEditingProp);
94321
- const defaultStyles = without$1(Object.keys(svgDefaultProps), 'actionType', 'url', 'color', 'svgSrc');
94322
- // array that contains style props
94321
+ const defaultStyles = without$1(Object.keys(componentsDefaultProps['uni-svg'].props), 'actionType', 'url', 'color', 'svgSrc');
94323
94322
  var script = defineComponent({
94324
94323
  name: 'uni-svg',
94325
94324
  props: {
@@ -94334,7 +94333,7 @@ var script = defineComponent({
94334
94333
  try {
94335
94334
  const response = await axios$1.get(url, {
94336
94335
  headers: {
94337
- 'Accept': 'image/svg+xml'
94336
+ Accept: 'image/svg+xml'
94338
94337
  }
94339
94338
  });
94340
94339
  return response.data;
@@ -94324,8 +94324,7 @@ summary tabindex target title type usemap value width wmode wrap`;
94324
94324
  var axios$1 = axios;
94325
94325
 
94326
94326
  const defaultProps = transformToComponentProps(componentsDefaultProps['uni-svg'].props, isEditingProp);
94327
- const defaultStyles = without$1(Object.keys(svgDefaultProps), 'actionType', 'url', 'color', 'svgSrc');
94328
- // array that contains style props
94327
+ const defaultStyles = without$1(Object.keys(componentsDefaultProps['uni-svg'].props), 'actionType', 'url', 'color', 'svgSrc');
94329
94328
  var script = vue.defineComponent({
94330
94329
  name: 'uni-svg',
94331
94330
  props: {
@@ -94340,7 +94339,7 @@ summary tabindex target title type usemap value width wmode wrap`;
94340
94339
  try {
94341
94340
  const response = await axios$1.get(url, {
94342
94341
  headers: {
94343
- 'Accept': 'image/svg+xml'
94342
+ Accept: 'image/svg+xml'
94344
94343
  }
94345
94344
  });
94346
94345
  return response.data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.168",
3
+ "version": "1.0.169",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",
@@ -39,7 +39,6 @@
39
39
  "moment": "^2.29.4",
40
40
  "particles.vue3": "^1.22.0",
41
41
  "swiper-animation": "^1.4.0",
42
- "text-encoding": "^0.7.0",
43
42
  "vue-baberrage": "^3.2.4",
44
43
  "vue-particles": "^1.0.9"
45
44
  },