unika-components 1.0.156 → 1.0.157

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,14 +1,6 @@
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;
2
+ .uni-image-component {
3
+ max-width: 100%;
12
4
  }
13
5
 
14
6
  .slide-guide {
@@ -84,21 +76,17 @@ body, html {
84
76
  }
85
77
  }
86
78
 
87
- .uni-image-component {
88
- max-width: 100%;
79
+ h2.uni-text-component, p.uni-text-component {
80
+ margin-bottom: 0;
81
+ }
82
+ button.uni-text-component {
83
+ padding: 5px 10px;
84
+ cursor: pointer;
85
+ }
86
+ .uni-text-component {
87
+ box-sizing: border-box;
88
+ white-space: pre-wrap;
89
89
  }
90
-
91
-
92
- .uni-calendar-component {
93
-
94
- }
95
- .slot-number {
96
- position: absolute;
97
- bottom: 2px;
98
- left: 7px;
99
- font-size: 12px;
100
- color: #666
101
- }
102
90
 
103
91
  .like-button {
104
92
  display: flex;
@@ -122,6 +110,53 @@ body, html {
122
110
  color: #333;
123
111
  }
124
112
 
113
+ .uni-video-component {
114
+ position: relative;
115
+ text-align: center;
116
+ }
117
+ .play-pause-button {
118
+ position: absolute;
119
+ top: 50%;
120
+ left: 50%;
121
+ transform: translate(-50%, -50%);
122
+ cursor: pointer;
123
+ font-size: 2rem;
124
+ color: #fff;
125
+ background: rgba(0, 0, 0, 0.6);
126
+ border-radius: 50%;
127
+ padding: 10px;
128
+ transition: background 0.3s;
129
+ }
130
+ .play-pause-button:hover {
131
+ background: rgba(0, 0, 0, 0.8);
132
+ }
133
+
134
+
135
+ .uni-calendar-component {
136
+
137
+ }
138
+ .slot-number {
139
+ position: absolute;
140
+ bottom: 2px;
141
+ left: 7px;
142
+ font-size: 12px;
143
+ color: #666
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
+
125
160
  .effect {
126
161
  width: 100%;
127
162
  height: 100%;
@@ -161,41 +196,6 @@ body, html {
161
196
  margin-bottom: 0px;
162
197
  vertical-align: top;
163
198
  }
164
-
165
- .uni-video-component {
166
- position: relative;
167
- text-align: center;
168
- }
169
- .play-pause-button {
170
- position: absolute;
171
- top: 50%;
172
- left: 50%;
173
- transform: translate(-50%, -50%);
174
- cursor: pointer;
175
- font-size: 2rem;
176
- color: #fff;
177
- background: rgba(0, 0, 0, 0.6);
178
- border-radius: 50%;
179
- padding: 10px;
180
- transition: background 0.3s;
181
- }
182
- .play-pause-button:hover {
183
- background: rgba(0, 0, 0, 0.8);
184
- }
185
-
186
- .swiper-warp {
187
- width: 100%;
188
- height: 100%;
189
- }
190
-
191
- .swiper-slide-component {
192
- text-align: center;
193
- }
194
-
195
- .swiper-slide img {
196
- max-width: 100%;
197
- max-height: 100%;
198
- }
199
199
  /**
200
200
  * Swiper 6.8.4
201
201
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -744,193 +744,6 @@ button.swiper-pagination-bullet {
744
744
  backface-visibility: hidden;
745
745
  }
746
746
 
747
-
748
- .no-animation__card {
749
- font-weight: 500;
750
- font-size: var(--countdown-size, 2rem);
751
- line-height: 1.5;
752
- display: block;
753
- color: var(--main-color, #EC685C);
754
- }
755
-
756
- .flip-clock {
757
- text-align: center;
758
- perspective: 600px;
759
- margin: 0 auto;
760
- }
761
-
762
- .flip-clock *,
763
- .flip-clock *:before,
764
- .flip-clock *:after {
765
- box-sizing: border-box;
766
- }
767
-
768
- .flip-clock__piece {
769
- display: inline-block;
770
- margin: 0 0.2vw;
771
- }
772
-
773
- @media (min-width: 1000px) {
774
- .flip-clock__piece {
775
- margin: 0 5px;
776
- }
777
- }
778
-
779
- .flip-clock__slot {
780
- font-size: var(--label-size, 1rem);
781
- line-height: 1.5;
782
- display: block;
783
- color: var(--label-color, #222222);
784
- }
785
-
786
- .flip-card {
787
- display: block;
788
- position: relative;
789
- padding-bottom: 0.72em; /* halfHeight */
790
- font-size: var(--countdown-size, 2.25rem);
791
- line-height: 0.95;
792
- }
793
-
794
- @media (min-width: 1000px) {
795
- .flip-clock__slot {
796
- font-size: 1.2rem;
797
- }
798
-
799
- .flip-card {
800
- font-size: 3rem;
801
- }
802
- }
803
-
804
- .flip-card__top,
805
- .flip-card__bottom,
806
- .flip-card__back-bottom,
807
- .flip-card__back::before,
808
- .flip-card__back::after{
809
- display: block;
810
- height: 0.72em; /* halfHeight */
811
- color: var(--main-color, #EC685C);
812
- background: var(--main-flip-background-color, #222222);
813
- padding: 0.23em 0.15em 0.4em;
814
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
815
- backface-visibility: hidden;
816
- -webkit-backface-visibility: hidden;
817
- transform-style: preserve-3d;
818
- width: 2.1em;
819
- }
820
-
821
- .flip-card__top-4digits,
822
- .flip-card__bottom-4digits,
823
- .flip-card__back-bottom-4digits,
824
- .flip-card__back-4digits::before,
825
- .flip-card__back-4digits::after {
826
- display: block;
827
- height: 0.72em; /* halfHeight */
828
- color: var(--main-color, #EC685C);
829
- background: var(--main-flip-background-color, #222222);
830
- padding: 0.23em 0.15em 0.4em;
831
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
832
- backface-visibility: hidden;
833
- -webkit-backface-visibility: hidden;
834
- transform-style: preserve-3d;
835
- width: 2.65em;
836
- }
837
-
838
- .flip-card__bottom,
839
- .flip-card__back-bottom,
840
- .flip-card__bottom-4digits,
841
- .flip-card__back-bottom-4digits {
842
- color: var(--second-flip-color, #EC685C);
843
- position: absolute;
844
- top: 50%;
845
- left: 0;
846
- border-top: solid 1px var(--second-flip-background-color, #000);
847
- background: var(--second-flip-background-color, #393939);
848
- border-radius: 0 0 0.15em 0.15em; /* borderRadius */
849
- pointer-events: none;
850
- overflow: hidden;
851
- z-index: 2;
852
- }
853
-
854
- .flip-card__back-bottom,
855
- .flip-card__back-bottom-4digits {
856
- z-index: 1;
857
- }
858
-
859
- .flip-card__bottom::after,
860
- .flip-card__back-bottom::after,
861
- .flip-card__bottom-4digits::after,
862
- .flip-card__back-bottom-4digits::after {
863
- display: block;
864
- margin-top: -0.72em; /* Negative halfHeight */
865
- }
866
- .flip-card__back::before,
867
- .flip-card__bottom::after,
868
- .flip-card__back-bottom::after,
869
- .flip-card__back-4digits::before,
870
- .flip-card__bottom-4digits::after,
871
- .flip-card__back-bottom-4digits::after {
872
- content: attr(data-value);
873
- }
874
-
875
- .flip-card__back,
876
- .flip-card__back-4digits {
877
- position: absolute;
878
- top: 0;
879
- height: 100%;
880
- left: 0%;
881
- pointer-events: none;
882
- }
883
- .flip-card__back::before,
884
- .flip-card__back-4digits::before {
885
- position: relative;
886
- overflow: hidden;
887
- z-index: -1;
888
- }
889
-
890
- .flip .flip-card__back::before,
891
- .flip .flip-card__back-4digits::before {
892
- z-index: 1;
893
- animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
894
- animation-fill-mode: both;
895
- transform-origin: center bottom;
896
- }
897
-
898
- .flip .flip-card__bottom,
899
- .flip .flip-card__bottom-4digits {
900
- transform-origin: center top;
901
- animation-fill-mode: both;
902
- animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
903
- }
904
- @keyframes flipTop {
905
- 0% {
906
- transform: rotateX(0deg);
907
- z-index: 2;
908
- }
909
- 0%, 99% {
910
- opacity: 1;
911
- }
912
- 100% {
913
- transform: rotateX(-90deg);
914
- opacity: 0;
915
- }
916
- }
917
-
918
- @keyframes flipBottom {
919
- 0%, 50% {
920
- z-index: -1;
921
- transform: rotateX(90deg);
922
- opacity: 0;
923
- }
924
- 51% {
925
- opacity: 1;
926
- }
927
- 100% {
928
- opacity: 1;
929
- transform: rotateX(0deg);
930
- z-index: 5;
931
- }
932
- }
933
-
934
747
  .unika-calendar-box {
935
748
  position: relative;
936
749
  width: 325px !important;
@@ -1188,3 +1001,190 @@ button.swiper-pagination-bullet {
1188
1001
  padding: 0 0px;
1189
1002
  border-bottom: 1px solid
1190
1003
  }
1004
+
1005
+
1006
+ .no-animation__card {
1007
+ font-weight: 500;
1008
+ font-size: var(--countdown-size, 2rem);
1009
+ line-height: 1.5;
1010
+ display: block;
1011
+ color: var(--main-color, #EC685C);
1012
+ }
1013
+
1014
+ .flip-clock {
1015
+ text-align: center;
1016
+ perspective: 600px;
1017
+ margin: 0 auto;
1018
+ }
1019
+
1020
+ .flip-clock *,
1021
+ .flip-clock *:before,
1022
+ .flip-clock *:after {
1023
+ box-sizing: border-box;
1024
+ }
1025
+
1026
+ .flip-clock__piece {
1027
+ display: inline-block;
1028
+ margin: 0 0.2vw;
1029
+ }
1030
+
1031
+ @media (min-width: 1000px) {
1032
+ .flip-clock__piece {
1033
+ margin: 0 5px;
1034
+ }
1035
+ }
1036
+
1037
+ .flip-clock__slot {
1038
+ font-size: var(--label-size, 1rem);
1039
+ line-height: 1.5;
1040
+ display: block;
1041
+ color: var(--label-color, #222222);
1042
+ }
1043
+
1044
+ .flip-card {
1045
+ display: block;
1046
+ position: relative;
1047
+ padding-bottom: 0.72em; /* halfHeight */
1048
+ font-size: var(--countdown-size, 2.25rem);
1049
+ line-height: 0.95;
1050
+ }
1051
+
1052
+ @media (min-width: 1000px) {
1053
+ .flip-clock__slot {
1054
+ font-size: 1.2rem;
1055
+ }
1056
+
1057
+ .flip-card {
1058
+ font-size: 3rem;
1059
+ }
1060
+ }
1061
+
1062
+ .flip-card__top,
1063
+ .flip-card__bottom,
1064
+ .flip-card__back-bottom,
1065
+ .flip-card__back::before,
1066
+ .flip-card__back::after{
1067
+ display: block;
1068
+ height: 0.72em; /* halfHeight */
1069
+ color: var(--main-color, #EC685C);
1070
+ background: var(--main-flip-background-color, #222222);
1071
+ padding: 0.23em 0.15em 0.4em;
1072
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1073
+ backface-visibility: hidden;
1074
+ -webkit-backface-visibility: hidden;
1075
+ transform-style: preserve-3d;
1076
+ width: 2.1em;
1077
+ }
1078
+
1079
+ .flip-card__top-4digits,
1080
+ .flip-card__bottom-4digits,
1081
+ .flip-card__back-bottom-4digits,
1082
+ .flip-card__back-4digits::before,
1083
+ .flip-card__back-4digits::after {
1084
+ display: block;
1085
+ height: 0.72em; /* halfHeight */
1086
+ color: var(--main-color, #EC685C);
1087
+ background: var(--main-flip-background-color, #222222);
1088
+ padding: 0.23em 0.15em 0.4em;
1089
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1090
+ backface-visibility: hidden;
1091
+ -webkit-backface-visibility: hidden;
1092
+ transform-style: preserve-3d;
1093
+ width: 2.65em;
1094
+ }
1095
+
1096
+ .flip-card__bottom,
1097
+ .flip-card__back-bottom,
1098
+ .flip-card__bottom-4digits,
1099
+ .flip-card__back-bottom-4digits {
1100
+ color: var(--second-flip-color, #EC685C);
1101
+ position: absolute;
1102
+ top: 50%;
1103
+ left: 0;
1104
+ border-top: solid 1px var(--second-flip-background-color, #000);
1105
+ background: var(--second-flip-background-color, #393939);
1106
+ border-radius: 0 0 0.15em 0.15em; /* borderRadius */
1107
+ pointer-events: none;
1108
+ overflow: hidden;
1109
+ z-index: 2;
1110
+ }
1111
+
1112
+ .flip-card__back-bottom,
1113
+ .flip-card__back-bottom-4digits {
1114
+ z-index: 1;
1115
+ }
1116
+
1117
+ .flip-card__bottom::after,
1118
+ .flip-card__back-bottom::after,
1119
+ .flip-card__bottom-4digits::after,
1120
+ .flip-card__back-bottom-4digits::after {
1121
+ display: block;
1122
+ margin-top: -0.72em; /* Negative halfHeight */
1123
+ }
1124
+ .flip-card__back::before,
1125
+ .flip-card__bottom::after,
1126
+ .flip-card__back-bottom::after,
1127
+ .flip-card__back-4digits::before,
1128
+ .flip-card__bottom-4digits::after,
1129
+ .flip-card__back-bottom-4digits::after {
1130
+ content: attr(data-value);
1131
+ }
1132
+
1133
+ .flip-card__back,
1134
+ .flip-card__back-4digits {
1135
+ position: absolute;
1136
+ top: 0;
1137
+ height: 100%;
1138
+ left: 0%;
1139
+ pointer-events: none;
1140
+ }
1141
+ .flip-card__back::before,
1142
+ .flip-card__back-4digits::before {
1143
+ position: relative;
1144
+ overflow: hidden;
1145
+ z-index: -1;
1146
+ }
1147
+
1148
+ .flip .flip-card__back::before,
1149
+ .flip .flip-card__back-4digits::before {
1150
+ z-index: 1;
1151
+ animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
1152
+ animation-fill-mode: both;
1153
+ transform-origin: center bottom;
1154
+ }
1155
+
1156
+ .flip .flip-card__bottom,
1157
+ .flip .flip-card__bottom-4digits {
1158
+ transform-origin: center top;
1159
+ animation-fill-mode: both;
1160
+ animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
1161
+ }
1162
+ @keyframes flipTop {
1163
+ 0% {
1164
+ transform: rotateX(0deg);
1165
+ z-index: 2;
1166
+ }
1167
+ 0%, 99% {
1168
+ opacity: 1;
1169
+ }
1170
+ 100% {
1171
+ transform: rotateX(-90deg);
1172
+ opacity: 0;
1173
+ }
1174
+ }
1175
+
1176
+ @keyframes flipBottom {
1177
+ 0%, 50% {
1178
+ z-index: -1;
1179
+ transform: rotateX(90deg);
1180
+ opacity: 0;
1181
+ }
1182
+ 51% {
1183
+ opacity: 1;
1184
+ }
1185
+ 100% {
1186
+ opacity: 1;
1187
+ transform: rotateX(0deg);
1188
+ z-index: 5;
1189
+ }
1190
+ }
@@ -13114,7 +13114,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
13114
13114
  onSlideChange: _ctx.onSlideChange
13115
13115
  }, {
13116
13116
  default: withCtx(() => [
13117
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.work?.pages, (page, index) => {
13117
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.work.pages, (page, index) => {
13118
13118
  return (openBlock(), createBlock(_component_swiper_slide, {
13119
13119
  class: normalizeClass(_ctx.slideClasses(index)),
13120
13120
  key: index
@@ -13122,7 +13122,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
13122
13122
  default: withCtx(() => [
13123
13123
  createElementVNode("div", {
13124
13124
  class: "final-page",
13125
- style: normalizeStyle$1({ width: _ctx.work?.width, height: _ctx.work?.height })
13125
+ style: normalizeStyle$1({ width: _ctx.work.width, height: _ctx.work.height })
13126
13126
  }, [
13127
13127
  (openBlock(true), createElementBlock(Fragment, null, renderList(page.components, (item) => {
13128
13128
  return (openBlock(), createElementBlock("div", {
@@ -13121,7 +13121,7 @@
13121
13121
  onSlideChange: _ctx.onSlideChange
13122
13122
  }, {
13123
13123
  default: vue.withCtx(() => [
13124
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.work?.pages, (page, index) => {
13124
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.work.pages, (page, index) => {
13125
13125
  return (vue.openBlock(), vue.createBlock(_component_swiper_slide, {
13126
13126
  class: vue.normalizeClass(_ctx.slideClasses(index)),
13127
13127
  key: index
@@ -13129,7 +13129,7 @@
13129
13129
  default: vue.withCtx(() => [
13130
13130
  vue.createElementVNode("div", {
13131
13131
  class: "final-page",
13132
- style: vue.normalizeStyle({ width: _ctx.work?.width, height: _ctx.work?.height })
13132
+ style: vue.normalizeStyle({ width: _ctx.work.width, height: _ctx.work.height })
13133
13133
  }, [
13134
13134
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(page.components, (item) => {
13135
13135
  return (vue.openBlock(), vue.createElementBlock("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.156",
3
+ "version": "1.0.157",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",