unika-components 1.0.117 → 1.0.119

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,35 @@
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
+ }
26
+
27
+ .slot-number {
28
+ position: absolute;
29
+ bottom: 2px;
30
+ left: 7px;
31
+ font-size: 12px;
32
+ color: #666
33
+ }
5
34
 
6
35
  .slide-guide {
7
36
  position: absolute;
@@ -75,27 +104,6 @@ body, html {
75
104
  transform: translate3d(-50%, -50%, 0);
76
105
  }
77
106
  }
78
-
79
- .uni-video-component {
80
- position: relative;
81
- text-align: center;
82
- }
83
- .play-pause-button {
84
- position: absolute;
85
- top: 50%;
86
- left: 50%;
87
- transform: translate(-50%, -50%);
88
- cursor: pointer;
89
- font-size: 2rem;
90
- color: #fff;
91
- background: rgba(0, 0, 0, 0.6);
92
- border-radius: 50%;
93
- padding: 10px;
94
- transition: background 0.3s;
95
- }
96
- .play-pause-button:hover {
97
- background: rgba(0, 0, 0, 0.8);
98
- }
99
107
 
100
108
  h2.uni-text-component, p.uni-text-component {
101
109
  margin-bottom: 0;
@@ -109,14 +117,6 @@ button.uni-text-component {
109
117
  white-space: pre-wrap;
110
118
  }
111
119
 
112
- .slot-number {
113
- position: absolute;
114
- bottom: 2px;
115
- left: 7px;
116
- font-size: 12px;
117
- color: #666
118
- }
119
-
120
120
  .like-button {
121
121
  display: flex;
122
122
  flex-direction: column;
@@ -139,6 +139,25 @@ button.uni-text-component {
139
139
  color: #333;
140
140
  }
141
141
 
142
+ .effect {
143
+ width: 100%;
144
+ height: 100%;
145
+ }
146
+
147
+ .swiper-warp {
148
+ width: 100%;
149
+ height: 100%;
150
+ }
151
+
152
+ .swiper-slide-component {
153
+ text-align: center;
154
+ }
155
+
156
+ .swiper-slide img {
157
+ max-width: 100%;
158
+ max-height: 100%;
159
+ }
160
+
142
161
  .ant-input-number {
143
162
  box-sizing: border-box;
144
163
  margin: 0;
@@ -173,25 +192,6 @@ button.uni-text-component {
173
192
  margin-bottom: 0px;
174
193
  vertical-align: top;
175
194
  }
176
-
177
- .effect {
178
- width: 100%;
179
- height: 100%;
180
- }
181
-
182
- .swiper-warp {
183
- width: 100%;
184
- height: 100%;
185
- }
186
-
187
- .swiper-slide-component {
188
- text-align: center;
189
- }
190
-
191
- .swiper-slide img {
192
- max-width: 100%;
193
- max-height: 100%;
194
- }
195
195
  /**
196
196
  * Swiper 6.8.4
197
197
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -13079,8 +13079,8 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
13079
13079
  default: withCtx(() => [
13080
13080
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.work?.pages, (page, index) => {
13081
13081
  return (openBlock(), createBlock(_component_swiper_slide, {
13082
- class: normalizeClass(`swiper-slide slide-${index}`),
13083
- key: index
13082
+ key: index,
13083
+ class: normalizeClass(`swiper-slide slide-${index}`)
13084
13084
  }, {
13085
13085
  default: withCtx(() => [
13086
13086
  createElementVNode("div", {
@@ -13086,8 +13086,8 @@
13086
13086
  default: vue.withCtx(() => [
13087
13087
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.work?.pages, (page, index) => {
13088
13088
  return (vue.openBlock(), vue.createBlock(_component_swiper_slide, {
13089
- class: vue.normalizeClass(`swiper-slide slide-${index}`),
13090
- key: index
13089
+ key: index,
13090
+ class: vue.normalizeClass(`swiper-slide slide-${index}`)
13091
13091
  }, {
13092
13092
  default: vue.withCtx(() => [
13093
13093
  vue.createElementVNode("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.117",
3
+ "version": "1.0.119",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",