unika-components 1.0.291 → 1.0.292

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.
@@ -11,6 +11,13 @@ button.uni-text-component {
11
11
  box-sizing: border-box;
12
12
  white-space: pre-wrap;
13
13
  }
14
+
15
+ .uni-image-component {
16
+ max-width: 100%;
17
+ }
18
+ .uni-image-mask-wrapper {
19
+ display: inline-block;
20
+ }
14
21
 
15
22
 
16
23
  .uni-calendar-component {
@@ -24,13 +31,6 @@ button.uni-text-component {
24
31
  color: #666
25
32
  }
26
33
 
27
- .uni-image-component {
28
- max-width: 100%;
29
- }
30
- .uni-image-mask-wrapper {
31
- display: inline-block;
32
- }
33
-
34
34
  .slide-guide {
35
35
  position: absolute;
36
36
  bottom: 90px;
@@ -115,11 +115,6 @@ body, html {
115
115
  position: static !important;
116
116
  }
117
117
 
118
- .effect {
119
- width: 100%;
120
- height: 100%;
121
- }
122
-
123
118
  .uni-video-component {
124
119
  position: relative;
125
120
  text-align: center;
@@ -140,6 +135,29 @@ body, html {
140
135
  .play-pause-button:hover {
141
136
  background: rgba(0, 0, 0, 0.8);
142
137
  }
138
+
139
+ .uni-svg-component {
140
+ display: inline-block;
141
+ }
142
+
143
+ .effect {
144
+ width: 100%;
145
+ height: 100%;
146
+ }
147
+
148
+ .swiper-warp {
149
+ width: 100%;
150
+ height: 100%;
151
+ }
152
+
153
+ .swiper-slide-component {
154
+ text-align: center;
155
+ }
156
+
157
+ .swiper-slide img {
158
+ max-width: 100%;
159
+ max-height: 100%;
160
+ }
143
161
 
144
162
  .ant-input-number {
145
163
  box-sizing: border-box;
@@ -198,31 +216,13 @@ body, html {
198
216
  color: #333;
199
217
  }
200
218
 
201
- .uni-build-up-component {
202
- }
203
-
204
- .uni-svg-component {
205
- display: inline-block;
206
- }
207
-
208
219
  .uni-lotties-component {
209
220
  width: 100%;
210
221
  height: 100%;
211
222
  }
212
223
 
213
- .swiper-warp {
214
- width: 100%;
215
- height: 100%;
216
- }
217
-
218
- .swiper-slide-component {
219
- text-align: center;
220
- }
221
-
222
- .swiper-slide img {
223
- max-width: 100%;
224
- max-height: 100%;
225
- }
224
+ .uni-build-up-component {
225
+ }
226
226
  /**
227
227
  * Swiper 6.8.4
228
228
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -75994,6 +75994,7 @@ var script = defineComponent({
75994
75994
  if (svgElement) {
75995
75995
  svgElement.setAttribute('width', width);
75996
75996
  svgElement.setAttribute('height', height);
75997
+ svgElement.setAttribute('preserveAspectRatio', 'none'); // 添加preserveAspectRatio属性
75997
75998
  }
75998
75999
  return new XMLSerializer().serializeToString(svgDoc);
75999
76000
  };
@@ -76001,6 +76001,7 @@ summary tabindex target title type usemap value width wmode wrap`;
76001
76001
  if (svgElement) {
76002
76002
  svgElement.setAttribute('width', width);
76003
76003
  svgElement.setAttribute('height', height);
76004
+ svgElement.setAttribute('preserveAspectRatio', 'none'); // 添加preserveAspectRatio属性
76004
76005
  }
76005
76006
  return new XMLSerializer().serializeToString(svgDoc);
76006
76007
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.291",
3
+ "version": "1.0.292",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",