unika-components 1.0.308 → 1.0.309

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,24 +1,3 @@
1
-
2
- .uni-video-component {
3
- position: relative;
4
- text-align: center;
5
- }
6
- .play-pause-button {
7
- position: absolute;
8
- top: 50%;
9
- left: 50%;
10
- transform: translate(-50%, -50%);
11
- cursor: pointer;
12
- font-size: 2rem;
13
- color: #fff;
14
- background: rgba(0, 0, 0, 0.6);
15
- border-radius: 50%;
16
- padding: 10px;
17
- transition: background 0.3s;
18
- }
19
- .play-pause-button:hover {
20
- background: rgba(0, 0, 0, 0.8);
21
- }
22
1
 
23
2
  .uni-image-component {
24
3
  max-width: 100%;
@@ -52,6 +31,27 @@ button.uni-text-component {
52
31
  color: #666
53
32
  }
54
33
 
34
+ .uni-video-component {
35
+ position: relative;
36
+ text-align: center;
37
+ }
38
+ .play-pause-button {
39
+ position: absolute;
40
+ top: 50%;
41
+ left: 50%;
42
+ transform: translate(-50%, -50%);
43
+ cursor: pointer;
44
+ font-size: 2rem;
45
+ color: #fff;
46
+ background: rgba(0, 0, 0, 0.6);
47
+ border-radius: 50%;
48
+ padding: 10px;
49
+ transition: background 0.3s;
50
+ }
51
+ .play-pause-button:hover {
52
+ background: rgba(0, 0, 0, 0.8);
53
+ }
54
+
55
55
  .like-button {
56
56
  display: flex;
57
57
  flex-direction: column;
@@ -158,7 +158,7 @@ body, html {
158
158
  position: static !important;
159
159
  }
160
160
 
161
- .uni-lotties-component {
161
+ .effect {
162
162
  width: 100%;
163
163
  height: 100%;
164
164
  }
@@ -198,11 +198,14 @@ body, html {
198
198
  vertical-align: top;
199
199
  }
200
200
 
201
- .effect {
201
+ .uni-lotties-component {
202
202
  width: 100%;
203
203
  height: 100%;
204
204
  }
205
205
 
206
+ .uni-build-up-component {
207
+ }
208
+
206
209
  .swiper-warp {
207
210
  width: 100%;
208
211
  height: 100%;
@@ -216,9 +219,6 @@ body, html {
216
219
  max-width: 100%;
217
220
  max-height: 100%;
218
221
  }
219
-
220
- .uni-build-up-component {
221
- }
222
222
 
223
223
  .uni-svg-component {
224
224
  display: inline-block;
@@ -13377,6 +13377,8 @@ var script$h = defineComponent({
13377
13377
  };
13378
13378
  const onSlideChange = (swiper) => {
13379
13379
  const currentIndex = swiper.activeIndex;
13380
+ console.log('aaaaaaaa');
13381
+ console.log(currentIndex);
13380
13382
  runAnimations(currentIndex);
13381
13383
  callUniLottiesPlay(currentIndex);
13382
13384
  if (currentIndex === swiper.slides.length - 1) {
@@ -13386,6 +13388,7 @@ var script$h = defineComponent({
13386
13388
  upArrow.value = true;
13387
13389
  }
13388
13390
  swiperAnimate(swiper);
13391
+ currentPage.value = currentIndex;
13389
13392
  sendPageInfo();
13390
13393
  };
13391
13394
  const slideChangeTransitionEnd = (e) => {
@@ -13384,6 +13384,8 @@
13384
13384
  };
13385
13385
  const onSlideChange = (swiper) => {
13386
13386
  const currentIndex = swiper.activeIndex;
13387
+ console.log('aaaaaaaa');
13388
+ console.log(currentIndex);
13387
13389
  runAnimations(currentIndex);
13388
13390
  callUniLottiesPlay(currentIndex);
13389
13391
  if (currentIndex === swiper.slides.length - 1) {
@@ -13393,6 +13395,7 @@
13393
13395
  upArrow.value = true;
13394
13396
  }
13395
13397
  swiperAnimate(swiper);
13398
+ currentPage.value = currentIndex;
13396
13399
  sendPageInfo();
13397
13400
  };
13398
13401
  const slideChangeTransitionEnd = (e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.308",
3
+ "version": "1.0.309",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",