unika-components 1.0.119 → 1.0.120

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,35 +2,18 @@
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
+
6
+ h2.uni-text-component, p.uni-text-component {
7
+ margin-bottom: 0;
8
+ }
9
+ button.uni-text-component {
10
+ padding: 5px 10px;
11
+ cursor: pointer;
12
+ }
13
+ .uni-text-component {
14
+ box-sizing: border-box;
15
+ white-space: pre-wrap;
16
+ }
34
17
 
35
18
  .slide-guide {
36
19
  position: absolute;
@@ -104,18 +87,35 @@ body, html {
104
87
  transform: translate3d(-50%, -50%, 0);
105
88
  }
106
89
  }
107
-
108
- h2.uni-text-component, p.uni-text-component {
109
- margin-bottom: 0;
110
- }
111
- button.uni-text-component {
112
- padding: 5px 10px;
113
- cursor: pointer;
114
- }
115
- .uni-text-component {
116
- box-sizing: border-box;
117
- white-space: pre-wrap;
118
- }
90
+
91
+ .slot-number {
92
+ position: absolute;
93
+ bottom: 2px;
94
+ left: 7px;
95
+ font-size: 12px;
96
+ color: #666
97
+ }
98
+
99
+ .uni-video-component {
100
+ position: relative;
101
+ text-align: center;
102
+ }
103
+ .play-pause-button {
104
+ position: absolute;
105
+ top: 50%;
106
+ left: 50%;
107
+ transform: translate(-50%, -50%);
108
+ cursor: pointer;
109
+ font-size: 2rem;
110
+ color: #fff;
111
+ background: rgba(0, 0, 0, 0.6);
112
+ border-radius: 50%;
113
+ padding: 10px;
114
+ transition: background 0.3s;
115
+ }
116
+ .play-pause-button:hover {
117
+ background: rgba(0, 0, 0, 0.8);
118
+ }
119
119
 
120
120
  .like-button {
121
121
  display: flex;
@@ -144,20 +144,6 @@ button.uni-text-component {
144
144
  height: 100%;
145
145
  }
146
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
-
161
147
  .ant-input-number {
162
148
  box-sizing: border-box;
163
149
  margin: 0;
@@ -192,6 +178,20 @@ button.uni-text-component {
192
178
  margin-bottom: 0px;
193
179
  vertical-align: top;
194
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
@@ -1,4 +1,4 @@
1
- import { computed, defineComponent, openBlock, createBlock, resolveDynamicComponent, withModifiers, normalizeStyle as normalizeStyle$1, withCtx, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList, normalizeProps, guardReactiveProps, h as h$2, ref, onUpdated, watch, nextTick as nextTick$1, onMounted, onBeforeUnmount, onBeforeUpdate, resolveComponent, createVNode, normalizeClass, createElementVNode, createCommentVNode, renderSlot, pushScopeId, popScopeId, toRefs, onBeforeMount, onUnmounted, withDirectives, vShow, isVNode, Comment, Text, reactive, getCurrentInstance, inject, provide, unref, shallowRef, watchEffect, triggerRef, Transition, resolveDirective, cloneVNode, toRef, Teleport, isRef, toRaw, render as render$l, TransitionGroup, mergeProps } from 'vue';
1
+ import { computed, defineComponent, openBlock, createBlock, resolveDynamicComponent, withModifiers, normalizeStyle as normalizeStyle$1, withCtx, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList, normalizeProps, guardReactiveProps, h as h$2, ref, onUpdated, watch, nextTick as nextTick$1, onMounted, onBeforeUnmount, onBeforeUpdate, resolveComponent, createVNode, createElementVNode, createCommentVNode, normalizeClass, renderSlot, pushScopeId, popScopeId, toRefs, onBeforeMount, onUnmounted, withDirectives, vShow, isVNode, Comment, Text, reactive, getCurrentInstance, inject, provide, unref, shallowRef, watchEffect, triggerRef, Transition, resolveDirective, cloneVNode, toRef, Teleport, isRef, toRaw, render as render$l, TransitionGroup, mergeProps } from 'vue';
2
2
  import crypto from 'crypto';
3
3
 
4
4
  /** Detect free variable `global` from Node.js. */
@@ -13080,7 +13080,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
13080
13080
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.work?.pages, (page, index) => {
13081
13081
  return (openBlock(), createBlock(_component_swiper_slide, {
13082
13082
  key: index,
13083
- class: normalizeClass(`swiper-slide slide-${index}`)
13083
+ class: "swiper-slide"
13084
13084
  }, {
13085
13085
  default: withCtx(() => [
13086
13086
  createElementVNode("div", {
@@ -13101,7 +13101,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
13101
13101
  ], 4 /* STYLE */)
13102
13102
  ]),
13103
13103
  _: 2 /* DYNAMIC */
13104
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class"]))
13104
+ }, 1024 /* DYNAMIC_SLOTS */))
13105
13105
  }), 128 /* KEYED_FRAGMENT */))
13106
13106
  ]),
13107
13107
  _: 1 /* STABLE */
@@ -13087,7 +13087,7 @@
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
13089
  key: index,
13090
- class: vue.normalizeClass(`swiper-slide slide-${index}`)
13090
+ class: "swiper-slide"
13091
13091
  }, {
13092
13092
  default: vue.withCtx(() => [
13093
13093
  vue.createElementVNode("div", {
@@ -13108,7 +13108,7 @@
13108
13108
  ], 4 /* STYLE */)
13109
13109
  ]),
13110
13110
  _: 2 /* DYNAMIC */
13111
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class"]))
13111
+ }, 1024 /* DYNAMIC_SLOTS */))
13112
13112
  }), 128 /* KEYED_FRAGMENT */))
13113
13113
  ]),
13114
13114
  _: 1 /* STABLE */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.119",
3
+ "version": "1.0.120",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",