unika-components 1.0.250 → 1.0.251

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,16 +1,4 @@
1
1
 
2
- h2.uni-text-component, p.uni-text-component {
3
- margin-bottom: 0;
4
- }
5
- button.uni-text-component {
6
- padding: 5px 10px;
7
- cursor: pointer;
8
- }
9
- .uni-text-component {
10
- box-sizing: border-box;
11
- white-space: pre-wrap;
12
- }
13
-
14
2
  .uni-image-component {
15
3
  max-width: 100%;
16
4
  }
@@ -18,18 +6,6 @@ button.uni-text-component {
18
6
  display: inline-block;
19
7
  }
20
8
 
21
-
22
- .uni-calendar-component {
23
-
24
- }
25
- .slot-number {
26
- position: absolute;
27
- bottom: 2px;
28
- left: 7px;
29
- font-size: 12px;
30
- color: #666
31
- }
32
-
33
9
  .uni-video-component {
34
10
  position: relative;
35
11
  text-align: center;
@@ -51,6 +27,18 @@ button.uni-text-component {
51
27
  background: rgba(0, 0, 0, 0.8);
52
28
  }
53
29
 
30
+
31
+ .uni-calendar-component {
32
+
33
+ }
34
+ .slot-number {
35
+ position: absolute;
36
+ bottom: 2px;
37
+ left: 7px;
38
+ font-size: 12px;
39
+ color: #666
40
+ }
41
+
54
42
  .like-button {
55
43
  display: flex;
56
44
  flex-direction: column;
@@ -72,6 +60,46 @@ button.uni-text-component {
72
60
  font-size: 16px;
73
61
  color: #333;
74
62
  }
63
+
64
+ .effect {
65
+ width: 100%;
66
+ height: 100%;
67
+ }
68
+
69
+ .ant-input-number {
70
+ box-sizing: border-box;
71
+ margin: 0;
72
+ padding: 0;
73
+ color: rgba(0, 0, 0, 0.88);
74
+ font-size: 14px;
75
+ line-height: 1.5714285714285714;
76
+ list-style: none;
77
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
78
+ position: relative;
79
+ display: inline-block;
80
+ width: 100%;
81
+ min-width: 0;
82
+ background-color: #ffffff;
83
+ background-image: none;
84
+ border-width: 1px;
85
+ border-style: solid;
86
+ border-color: #d9d9d9;
87
+ border-radius: 6px;
88
+ transition: all 0.2s;
89
+ border: 1px solid #d9d9d9;
90
+ }
91
+ .ant-form-item {
92
+ box-sizing: border-box;
93
+ margin: 0;
94
+ padding: 0;
95
+ color: rgba(0, 0, 0, 0.88);
96
+ font-size: 14px;
97
+ line-height: 1.5714285714285714;
98
+ list-style: none;
99
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
100
+ margin-bottom: 0px;
101
+ vertical-align: top;
102
+ }
75
103
 
76
104
  .slide-guide {
77
105
  position: absolute;
@@ -142,44 +170,17 @@ body, html {
142
170
  transform: translate3d(-50%, -50%, 0);
143
171
  }
144
172
  }
145
-
146
- .ant-input-number {
147
- box-sizing: border-box;
148
- margin: 0;
149
- padding: 0;
150
- color: rgba(0, 0, 0, 0.88);
151
- font-size: 14px;
152
- line-height: 1.5714285714285714;
153
- list-style: none;
154
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
155
- position: relative;
156
- display: inline-block;
157
- width: 100%;
158
- min-width: 0;
159
- background-color: #ffffff;
160
- background-image: none;
161
- border-width: 1px;
162
- border-style: solid;
163
- border-color: #d9d9d9;
164
- border-radius: 6px;
165
- transition: all 0.2s;
166
- border: 1px solid #d9d9d9;
167
- }
168
- .ant-form-item {
169
- box-sizing: border-box;
170
- margin: 0;
171
- padding: 0;
172
- color: rgba(0, 0, 0, 0.88);
173
- font-size: 14px;
174
- line-height: 1.5714285714285714;
175
- list-style: none;
176
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
177
- margin-bottom: 0px;
178
- vertical-align: top;
179
- }
180
173
 
181
- .uni-svg-component {
182
- display: inline-block;
174
+ h2.uni-text-component, p.uni-text-component {
175
+ margin-bottom: 0;
176
+ }
177
+ button.uni-text-component {
178
+ padding: 5px 10px;
179
+ cursor: pointer;
180
+ }
181
+ .uni-text-component {
182
+ box-sizing: border-box;
183
+ white-space: pre-wrap;
183
184
  }
184
185
 
185
186
  .swiper-warp {
@@ -195,16 +196,15 @@ body, html {
195
196
  max-width: 100%;
196
197
  max-height: 100%;
197
198
  }
198
-
199
- .uni-lotties-component {
200
- width: 100%;
201
- height: 100%;
202
- }
199
+
200
+ .uni-svg-component {
201
+ display: inline-block;
202
+ }
203
203
 
204
204
  .uni-build-up-component {
205
205
  }
206
206
 
207
- .effect {
207
+ .uni-lotties-component {
208
208
  width: 100%;
209
209
  height: 100%;
210
210
  }
@@ -756,193 +756,6 @@ button.swiper-pagination-bullet {
756
756
  backface-visibility: hidden;
757
757
  }
758
758
 
759
-
760
- .no-animation__card {
761
- font-weight: 500;
762
- font-size: var(--countdown-size, 2rem);
763
- line-height: 1.5;
764
- display: block;
765
- color: var(--main-color, #EC685C);
766
- }
767
-
768
- .flip-clock {
769
- text-align: center;
770
- perspective: 600px;
771
- margin: 0 auto;
772
- }
773
-
774
- .flip-clock *,
775
- .flip-clock *:before,
776
- .flip-clock *:after {
777
- box-sizing: border-box;
778
- }
779
-
780
- .flip-clock__piece {
781
- display: inline-block;
782
- margin: 0 0.2vw;
783
- }
784
-
785
- @media (min-width: 1000px) {
786
- .flip-clock__piece {
787
- margin: 0 5px;
788
- }
789
- }
790
-
791
- .flip-clock__slot {
792
- font-size: var(--label-size, 1rem);
793
- line-height: 1.5;
794
- display: block;
795
- color: var(--label-color, #222222);
796
- }
797
-
798
- .flip-card {
799
- display: block;
800
- position: relative;
801
- padding-bottom: 0.72em; /* halfHeight */
802
- font-size: var(--countdown-size, 2.25rem);
803
- line-height: 0.95;
804
- }
805
-
806
- @media (min-width: 1000px) {
807
- .flip-clock__slot {
808
- font-size: 1.2rem;
809
- }
810
-
811
- .flip-card {
812
- font-size: 3rem;
813
- }
814
- }
815
-
816
- .flip-card__top,
817
- .flip-card__bottom,
818
- .flip-card__back-bottom,
819
- .flip-card__back::before,
820
- .flip-card__back::after{
821
- display: block;
822
- height: 0.72em; /* halfHeight */
823
- color: var(--main-color, #EC685C);
824
- background: var(--main-flip-background-color, #222222);
825
- padding: 0.23em 0.15em 0.4em;
826
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
827
- backface-visibility: hidden;
828
- -webkit-backface-visibility: hidden;
829
- transform-style: preserve-3d;
830
- width: 2.1em;
831
- }
832
-
833
- .flip-card__top-4digits,
834
- .flip-card__bottom-4digits,
835
- .flip-card__back-bottom-4digits,
836
- .flip-card__back-4digits::before,
837
- .flip-card__back-4digits::after {
838
- display: block;
839
- height: 0.72em; /* halfHeight */
840
- color: var(--main-color, #EC685C);
841
- background: var(--main-flip-background-color, #222222);
842
- padding: 0.23em 0.15em 0.4em;
843
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
844
- backface-visibility: hidden;
845
- -webkit-backface-visibility: hidden;
846
- transform-style: preserve-3d;
847
- width: 2.65em;
848
- }
849
-
850
- .flip-card__bottom,
851
- .flip-card__back-bottom,
852
- .flip-card__bottom-4digits,
853
- .flip-card__back-bottom-4digits {
854
- color: var(--second-flip-color, #EC685C);
855
- position: absolute;
856
- top: 50%;
857
- left: 0;
858
- border-top: solid 1px var(--second-flip-background-color, #000);
859
- background: var(--second-flip-background-color, #393939);
860
- border-radius: 0 0 0.15em 0.15em; /* borderRadius */
861
- pointer-events: none;
862
- overflow: hidden;
863
- z-index: 2;
864
- }
865
-
866
- .flip-card__back-bottom,
867
- .flip-card__back-bottom-4digits {
868
- z-index: 1;
869
- }
870
-
871
- .flip-card__bottom::after,
872
- .flip-card__back-bottom::after,
873
- .flip-card__bottom-4digits::after,
874
- .flip-card__back-bottom-4digits::after {
875
- display: block;
876
- margin-top: -0.72em; /* Negative halfHeight */
877
- }
878
- .flip-card__back::before,
879
- .flip-card__bottom::after,
880
- .flip-card__back-bottom::after,
881
- .flip-card__back-4digits::before,
882
- .flip-card__bottom-4digits::after,
883
- .flip-card__back-bottom-4digits::after {
884
- content: attr(data-value);
885
- }
886
-
887
- .flip-card__back,
888
- .flip-card__back-4digits {
889
- position: absolute;
890
- top: 0;
891
- height: 100%;
892
- left: 0%;
893
- pointer-events: none;
894
- }
895
- .flip-card__back::before,
896
- .flip-card__back-4digits::before {
897
- position: relative;
898
- overflow: hidden;
899
- z-index: -1;
900
- }
901
-
902
- .flip .flip-card__back::before,
903
- .flip .flip-card__back-4digits::before {
904
- z-index: 1;
905
- animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
906
- animation-fill-mode: both;
907
- transform-origin: center bottom;
908
- }
909
-
910
- .flip .flip-card__bottom,
911
- .flip .flip-card__bottom-4digits {
912
- transform-origin: center top;
913
- animation-fill-mode: both;
914
- animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
915
- }
916
- @keyframes flipTop {
917
- 0% {
918
- transform: rotateX(0deg);
919
- z-index: 2;
920
- }
921
- 0%, 99% {
922
- opacity: 1;
923
- }
924
- 100% {
925
- transform: rotateX(-90deg);
926
- opacity: 0;
927
- }
928
- }
929
-
930
- @keyframes flipBottom {
931
- 0%, 50% {
932
- z-index: -1;
933
- transform: rotateX(90deg);
934
- opacity: 0;
935
- }
936
- 51% {
937
- opacity: 1;
938
- }
939
- 100% {
940
- opacity: 1;
941
- transform: rotateX(0deg);
942
- z-index: 5;
943
- }
944
- }
945
-
946
759
  .unika-calendar-box {
947
760
  position: relative;
948
761
  width: 325px !important;
@@ -1202,3 +1015,190 @@ button.swiper-pagination-bullet {
1202
1015
  padding: 0 0px;
1203
1016
  border-bottom: 1px solid
1204
1017
  }
1018
+
1019
+
1020
+ .no-animation__card {
1021
+ font-weight: 500;
1022
+ font-size: var(--countdown-size, 2rem);
1023
+ line-height: 1.5;
1024
+ display: block;
1025
+ color: var(--main-color, #EC685C);
1026
+ }
1027
+
1028
+ .flip-clock {
1029
+ text-align: center;
1030
+ perspective: 600px;
1031
+ margin: 0 auto;
1032
+ }
1033
+
1034
+ .flip-clock *,
1035
+ .flip-clock *:before,
1036
+ .flip-clock *:after {
1037
+ box-sizing: border-box;
1038
+ }
1039
+
1040
+ .flip-clock__piece {
1041
+ display: inline-block;
1042
+ margin: 0 0.2vw;
1043
+ }
1044
+
1045
+ @media (min-width: 1000px) {
1046
+ .flip-clock__piece {
1047
+ margin: 0 5px;
1048
+ }
1049
+ }
1050
+
1051
+ .flip-clock__slot {
1052
+ font-size: var(--label-size, 1rem);
1053
+ line-height: 1.5;
1054
+ display: block;
1055
+ color: var(--label-color, #222222);
1056
+ }
1057
+
1058
+ .flip-card {
1059
+ display: block;
1060
+ position: relative;
1061
+ padding-bottom: 0.72em; /* halfHeight */
1062
+ font-size: var(--countdown-size, 2.25rem);
1063
+ line-height: 0.95;
1064
+ }
1065
+
1066
+ @media (min-width: 1000px) {
1067
+ .flip-clock__slot {
1068
+ font-size: 1.2rem;
1069
+ }
1070
+
1071
+ .flip-card {
1072
+ font-size: 3rem;
1073
+ }
1074
+ }
1075
+
1076
+ .flip-card__top,
1077
+ .flip-card__bottom,
1078
+ .flip-card__back-bottom,
1079
+ .flip-card__back::before,
1080
+ .flip-card__back::after{
1081
+ display: block;
1082
+ height: 0.72em; /* halfHeight */
1083
+ color: var(--main-color, #EC685C);
1084
+ background: var(--main-flip-background-color, #222222);
1085
+ padding: 0.23em 0.15em 0.4em;
1086
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1087
+ backface-visibility: hidden;
1088
+ -webkit-backface-visibility: hidden;
1089
+ transform-style: preserve-3d;
1090
+ width: 2.1em;
1091
+ }
1092
+
1093
+ .flip-card__top-4digits,
1094
+ .flip-card__bottom-4digits,
1095
+ .flip-card__back-bottom-4digits,
1096
+ .flip-card__back-4digits::before,
1097
+ .flip-card__back-4digits::after {
1098
+ display: block;
1099
+ height: 0.72em; /* halfHeight */
1100
+ color: var(--main-color, #EC685C);
1101
+ background: var(--main-flip-background-color, #222222);
1102
+ padding: 0.23em 0.15em 0.4em;
1103
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1104
+ backface-visibility: hidden;
1105
+ -webkit-backface-visibility: hidden;
1106
+ transform-style: preserve-3d;
1107
+ width: 2.65em;
1108
+ }
1109
+
1110
+ .flip-card__bottom,
1111
+ .flip-card__back-bottom,
1112
+ .flip-card__bottom-4digits,
1113
+ .flip-card__back-bottom-4digits {
1114
+ color: var(--second-flip-color, #EC685C);
1115
+ position: absolute;
1116
+ top: 50%;
1117
+ left: 0;
1118
+ border-top: solid 1px var(--second-flip-background-color, #000);
1119
+ background: var(--second-flip-background-color, #393939);
1120
+ border-radius: 0 0 0.15em 0.15em; /* borderRadius */
1121
+ pointer-events: none;
1122
+ overflow: hidden;
1123
+ z-index: 2;
1124
+ }
1125
+
1126
+ .flip-card__back-bottom,
1127
+ .flip-card__back-bottom-4digits {
1128
+ z-index: 1;
1129
+ }
1130
+
1131
+ .flip-card__bottom::after,
1132
+ .flip-card__back-bottom::after,
1133
+ .flip-card__bottom-4digits::after,
1134
+ .flip-card__back-bottom-4digits::after {
1135
+ display: block;
1136
+ margin-top: -0.72em; /* Negative halfHeight */
1137
+ }
1138
+ .flip-card__back::before,
1139
+ .flip-card__bottom::after,
1140
+ .flip-card__back-bottom::after,
1141
+ .flip-card__back-4digits::before,
1142
+ .flip-card__bottom-4digits::after,
1143
+ .flip-card__back-bottom-4digits::after {
1144
+ content: attr(data-value);
1145
+ }
1146
+
1147
+ .flip-card__back,
1148
+ .flip-card__back-4digits {
1149
+ position: absolute;
1150
+ top: 0;
1151
+ height: 100%;
1152
+ left: 0%;
1153
+ pointer-events: none;
1154
+ }
1155
+ .flip-card__back::before,
1156
+ .flip-card__back-4digits::before {
1157
+ position: relative;
1158
+ overflow: hidden;
1159
+ z-index: -1;
1160
+ }
1161
+
1162
+ .flip .flip-card__back::before,
1163
+ .flip .flip-card__back-4digits::before {
1164
+ z-index: 1;
1165
+ animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
1166
+ animation-fill-mode: both;
1167
+ transform-origin: center bottom;
1168
+ }
1169
+
1170
+ .flip .flip-card__bottom,
1171
+ .flip .flip-card__bottom-4digits {
1172
+ transform-origin: center top;
1173
+ animation-fill-mode: both;
1174
+ animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
1175
+ }
1176
+ @keyframes flipTop {
1177
+ 0% {
1178
+ transform: rotateX(0deg);
1179
+ z-index: 2;
1180
+ }
1181
+ 0%, 99% {
1182
+ opacity: 1;
1183
+ }
1184
+ 100% {
1185
+ transform: rotateX(-90deg);
1186
+ opacity: 0;
1187
+ }
1188
+ }
1189
+
1190
+ @keyframes flipBottom {
1191
+ 0%, 50% {
1192
+ z-index: -1;
1193
+ transform: rotateX(90deg);
1194
+ opacity: 0;
1195
+ }
1196
+ 51% {
1197
+ opacity: 1;
1198
+ }
1199
+ 100% {
1200
+ opacity: 1;
1201
+ transform: rotateX(0deg);
1202
+ z-index: 5;
1203
+ }
1204
+ }
@@ -13022,7 +13022,7 @@ var script$h = defineComponent({
13022
13022
  const reloadAnimation = (componentId) => {
13023
13023
  const component = componentRefs.value.get(`component-${componentId}`);
13024
13024
  if (component) {
13025
- const innerComponent = component.querySelector('.inner-component');
13025
+ const innerComponent = component.querySelector('.uni-lotties-component');
13026
13026
  if (innerComponent) {
13027
13027
  const keyAttr = innerComponent.getAttribute('key');
13028
13028
  if (keyAttr) {
@@ -13029,7 +13029,7 @@
13029
13029
  const reloadAnimation = (componentId) => {
13030
13030
  const component = componentRefs.value.get(`component-${componentId}`);
13031
13031
  if (component) {
13032
- const innerComponent = component.querySelector('.inner-component');
13032
+ const innerComponent = component.querySelector('.uni-lotties-component');
13033
13033
  if (innerComponent) {
13034
13034
  const keyAttr = innerComponent.getAttribute('key');
13035
13035
  if (keyAttr) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.250",
3
+ "version": "1.0.251",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",