unika-components 1.0.196 → 1.0.197

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.
@@ -2,6 +2,27 @@
2
2
  .uni-image-component {
3
3
  max-width: 100%;
4
4
  }
5
+
6
+ .uni-video-component {
7
+ position: relative;
8
+ text-align: center;
9
+ }
10
+ .play-pause-button {
11
+ position: absolute;
12
+ top: 50%;
13
+ left: 50%;
14
+ transform: translate(-50%, -50%);
15
+ cursor: pointer;
16
+ font-size: 2rem;
17
+ color: #fff;
18
+ background: rgba(0, 0, 0, 0.6);
19
+ border-radius: 50%;
20
+ padding: 10px;
21
+ transition: background 0.3s;
22
+ }
23
+ .play-pause-button:hover {
24
+ background: rgba(0, 0, 0, 0.8);
25
+ }
5
26
 
6
27
  h2.uni-text-component, p.uni-text-component {
7
28
  margin-bottom: 0;
@@ -100,6 +121,9 @@ body, html {
100
121
  color: #666
101
122
  }
102
123
 
124
+ .uni-build-up-component {
125
+ }
126
+
103
127
  .like-button {
104
128
  display: flex;
105
129
  flex-direction: column;
@@ -122,41 +146,6 @@ body, html {
122
146
  color: #333;
123
147
  }
124
148
 
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
149
  .ant-input-number {
161
150
  box-sizing: border-box;
162
151
  margin: 0;
@@ -192,13 +181,24 @@ body, html {
192
181
  vertical-align: top;
193
182
  }
194
183
 
195
- .effect {
184
+ .swiper-warp {
196
185
  width: 100%;
197
186
  height: 100%;
198
187
  }
199
188
 
200
- .uni-build-up-component {
201
- }
189
+ .swiper-slide-component {
190
+ text-align: center;
191
+ }
192
+
193
+ .swiper-slide img {
194
+ max-width: 100%;
195
+ max-height: 100%;
196
+ }
197
+
198
+ .effect {
199
+ width: 100%;
200
+ height: 100%;
201
+ }
202
202
 
203
203
  .uni-svg-component {
204
204
  display: inline-block;
@@ -13069,8 +13069,8 @@ var script$h = defineComponent({
13069
13069
  else {
13070
13070
  const element = componentRefs.value.get('component-' + component.id);
13071
13071
  if (element) {
13072
- // element.style.cssText = getComputedCSSText({ width: '100%', height: '100%' });
13073
- element.style.cssText = getComputedCSSText(oldStyle);
13072
+ element.style.cssText = getComputedCSSText({ width: '100%', height: '100%' });
13073
+ // element.style.cssText = getComputedCSSText(oldStyle);
13074
13074
  }
13075
13075
  }
13076
13076
  };
@@ -13076,8 +13076,8 @@
13076
13076
  else {
13077
13077
  const element = componentRefs.value.get('component-' + component.id);
13078
13078
  if (element) {
13079
- // element.style.cssText = getComputedCSSText({ width: '100%', height: '100%' });
13080
- element.style.cssText = getComputedCSSText(oldStyle);
13079
+ element.style.cssText = getComputedCSSText({ width: '100%', height: '100%' });
13080
+ // element.style.cssText = getComputedCSSText(oldStyle);
13081
13081
  }
13082
13082
  }
13083
13083
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.196",
3
+ "version": "1.0.197",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",