unika-components 1.0.168 → 1.0.170

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
  }, {
@@ -1,40 +1,3 @@
1
-
2
- .uni-image-component {
3
- max-width: 100%;
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
-
18
- .uni-video-component {
19
- position: relative;
20
- text-align: center;
21
- }
22
- .play-pause-button {
23
- position: absolute;
24
- top: 50%;
25
- left: 50%;
26
- transform: translate(-50%, -50%);
27
- cursor: pointer;
28
- font-size: 2rem;
29
- color: #fff;
30
- background: rgba(0, 0, 0, 0.6);
31
- border-radius: 50%;
32
- padding: 10px;
33
- transition: background 0.3s;
34
- }
35
- .play-pause-button:hover {
36
- background: rgba(0, 0, 0, 0.8);
37
- }
38
1
 
39
2
 
40
3
  .uni-calendar-component {
@@ -48,6 +11,18 @@ button.uni-text-component {
48
11
  color: #666
49
12
  }
50
13
 
14
+ h2.uni-text-component, p.uni-text-component {
15
+ margin-bottom: 0;
16
+ }
17
+ button.uni-text-component {
18
+ padding: 5px 10px;
19
+ cursor: pointer;
20
+ }
21
+ .uni-text-component {
22
+ box-sizing: border-box;
23
+ white-space: pre-wrap;
24
+ }
25
+
51
26
  .slide-guide {
52
27
  position: absolute;
53
28
  bottom: 90px;
@@ -120,25 +95,10 @@ body, html {
120
95
  transform: translate3d(-50%, -50%, 0);
121
96
  }
122
97
  }
123
-
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
- }
98
+
99
+ .uni-image-component {
100
+ max-width: 100%;
101
+ }
142
102
 
143
103
  .like-button {
144
104
  display: flex;
@@ -162,6 +122,49 @@ body, html {
162
122
  color: #333;
163
123
  }
164
124
 
125
+ .uni-video-component {
126
+ position: relative;
127
+ text-align: center;
128
+ }
129
+ .play-pause-button {
130
+ position: absolute;
131
+ top: 50%;
132
+ left: 50%;
133
+ transform: translate(-50%, -50%);
134
+ cursor: pointer;
135
+ font-size: 2rem;
136
+ color: #fff;
137
+ background: rgba(0, 0, 0, 0.6);
138
+ border-radius: 50%;
139
+ padding: 10px;
140
+ transition: background 0.3s;
141
+ }
142
+ .play-pause-button:hover {
143
+ background: rgba(0, 0, 0, 0.8);
144
+ }
145
+
146
+ .swiper-warp {
147
+ width: 100%;
148
+ height: 100%;
149
+ }
150
+
151
+ .swiper-slide-component {
152
+ text-align: center;
153
+ }
154
+
155
+ .swiper-slide img {
156
+ max-width: 100%;
157
+ max-height: 100%;
158
+ }
159
+
160
+ .effect {
161
+ width: 100%;
162
+ height: 100%;
163
+ }
164
+
165
+ .uni-build-up-component {
166
+ }
167
+
165
168
  .ant-input-number {
166
169
  box-sizing: border-box;
167
170
  margin: 0;
@@ -196,9 +199,6 @@ body, html {
196
199
  margin-bottom: 0px;
197
200
  vertical-align: top;
198
201
  }
199
-
200
- .uni-build-up-component {
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.170",
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
  },