unika-components 1.0.160 → 1.0.161

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.
@@ -14,39 +14,6 @@ button.uni-text-component {
14
14
  box-sizing: border-box;
15
15
  white-space: pre-wrap;
16
16
  }
17
-
18
-
19
- .uni-calendar-component {
20
-
21
- }
22
- .slot-number {
23
- position: absolute;
24
- bottom: 2px;
25
- left: 7px;
26
- font-size: 12px;
27
- color: #666
28
- }
29
-
30
- .uni-video-component {
31
- position: relative;
32
- text-align: center;
33
- }
34
- .play-pause-button {
35
- position: absolute;
36
- top: 50%;
37
- left: 50%;
38
- transform: translate(-50%, -50%);
39
- cursor: pointer;
40
- font-size: 2rem;
41
- color: #fff;
42
- background: rgba(0, 0, 0, 0.6);
43
- border-radius: 50%;
44
- padding: 10px;
45
- transition: background 0.3s;
46
- }
47
- .play-pause-button:hover {
48
- background: rgba(0, 0, 0, 0.8);
49
- }
50
17
 
51
18
  .slide-guide {
52
19
  position: absolute;
@@ -121,6 +88,39 @@ body, html {
121
88
  }
122
89
  }
123
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
+
103
+ .uni-video-component {
104
+ position: relative;
105
+ text-align: center;
106
+ }
107
+ .play-pause-button {
108
+ position: absolute;
109
+ top: 50%;
110
+ left: 50%;
111
+ transform: translate(-50%, -50%);
112
+ cursor: pointer;
113
+ font-size: 2rem;
114
+ color: #fff;
115
+ background: rgba(0, 0, 0, 0.6);
116
+ border-radius: 50%;
117
+ padding: 10px;
118
+ transition: background 0.3s;
119
+ }
120
+ .play-pause-button:hover {
121
+ background: rgba(0, 0, 0, 0.8);
122
+ }
123
+
124
124
  .like-button {
125
125
  display: flex;
126
126
  flex-direction: column;
@@ -157,6 +157,11 @@ body, html {
157
157
  max-height: 100%;
158
158
  }
159
159
 
160
+ .effect {
161
+ width: 100%;
162
+ height: 100%;
163
+ }
164
+
160
165
  .ant-input-number {
161
166
  box-sizing: border-box;
162
167
  margin: 0;
@@ -192,11 +197,6 @@ body, html {
192
197
  vertical-align: top;
193
198
  }
194
199
 
195
- .effect {
196
- width: 100%;
197
- height: 100%;
198
- }
199
-
200
200
  .uni-build-up-component {
201
201
  }
202
202
  /**
@@ -13030,7 +13030,7 @@ var script$g = defineComponent({
13030
13030
  if (len === 0)
13031
13031
  return;
13032
13032
  let animIdx = 0;
13033
- const oldStyle = component.props || {};
13033
+ component.props || {};
13034
13034
  const runAnimation = () => {
13035
13035
  if (animIdx < len) {
13036
13036
  const animation = animationQueue[animIdx];
@@ -13049,10 +13049,7 @@ var script$g = defineComponent({
13049
13049
  }
13050
13050
  }
13051
13051
  else {
13052
- const element = componentRefs.value.get('component-' + component.id);
13053
- if (element) {
13054
- element.style.cssText = getComputedCSSText(oldStyle);
13055
- }
13052
+ componentRefs.value.get('component-' + component.id);
13056
13053
  }
13057
13054
  };
13058
13055
  runAnimation();
@@ -13037,7 +13037,7 @@
13037
13037
  if (len === 0)
13038
13038
  return;
13039
13039
  let animIdx = 0;
13040
- const oldStyle = component.props || {};
13040
+ component.props || {};
13041
13041
  const runAnimation = () => {
13042
13042
  if (animIdx < len) {
13043
13043
  const animation = animationQueue[animIdx];
@@ -13056,10 +13056,7 @@
13056
13056
  }
13057
13057
  }
13058
13058
  else {
13059
- const element = componentRefs.value.get('component-' + component.id);
13060
- if (element) {
13061
- element.style.cssText = getComputedCSSText(oldStyle);
13062
- }
13059
+ componentRefs.value.get('component-' + component.id);
13063
13060
  }
13064
13061
  };
13065
13062
  runAnimation();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.160",
3
+ "version": "1.0.161",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",