unika-components 1.0.266 → 1.0.267

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.
@@ -1,36 +1,3 @@
1
-
2
- .uni-video-component {
3
- position: relative;
4
- text-align: center;
5
- }
6
- .play-pause-button {
7
- position: absolute;
8
- top: 50%;
9
- left: 50%;
10
- transform: translate(-50%, -50%);
11
- cursor: pointer;
12
- font-size: 2rem;
13
- color: #fff;
14
- background: rgba(0, 0, 0, 0.6);
15
- border-radius: 50%;
16
- padding: 10px;
17
- transition: background 0.3s;
18
- }
19
- .play-pause-button:hover {
20
- background: rgba(0, 0, 0, 0.8);
21
- }
22
-
23
- h2.uni-text-component, p.uni-text-component {
24
- margin-bottom: 0;
25
- }
26
- button.uni-text-component {
27
- padding: 5px 10px;
28
- cursor: pointer;
29
- }
30
- .uni-text-component {
31
- box-sizing: border-box;
32
- white-space: pre-wrap;
33
- }
34
1
 
35
2
  .uni-image-component {
36
3
  max-width: 100%;
@@ -123,6 +90,58 @@ body, html {
123
90
  transform: translate3d(-50%, -50%, 0);
124
91
  }
125
92
  }
93
+
94
+ h2.uni-text-component, p.uni-text-component {
95
+ margin-bottom: 0;
96
+ }
97
+ button.uni-text-component {
98
+ padding: 5px 10px;
99
+ cursor: pointer;
100
+ }
101
+ .uni-text-component {
102
+ box-sizing: border-box;
103
+ white-space: pre-wrap;
104
+ }
105
+
106
+ .effect {
107
+ width: 100%;
108
+ height: 100%;
109
+ }
110
+
111
+ .uni-video-component {
112
+ position: relative;
113
+ text-align: center;
114
+ }
115
+ .play-pause-button {
116
+ position: absolute;
117
+ top: 50%;
118
+ left: 50%;
119
+ transform: translate(-50%, -50%);
120
+ cursor: pointer;
121
+ font-size: 2rem;
122
+ color: #fff;
123
+ background: rgba(0, 0, 0, 0.6);
124
+ border-radius: 50%;
125
+ padding: 10px;
126
+ transition: background 0.3s;
127
+ }
128
+ .play-pause-button:hover {
129
+ background: rgba(0, 0, 0, 0.8);
130
+ }
131
+
132
+ .swiper-warp {
133
+ width: 100%;
134
+ height: 100%;
135
+ }
136
+
137
+ .swiper-slide-component {
138
+ text-align: center;
139
+ }
140
+
141
+ .swiper-slide img {
142
+ max-width: 100%;
143
+ max-height: 100%;
144
+ }
126
145
 
127
146
  .like-button {
128
147
  display: flex;
@@ -146,16 +165,14 @@ body, html {
146
165
  color: #333;
147
166
  }
148
167
 
149
- .effect {
150
- width: 100%;
151
- height: 100%;
152
- }
153
-
154
168
  .uni-lotties-component {
155
169
  width: 100%;
156
170
  height: 100%;
157
171
  }
158
172
 
173
+ .uni-build-up-component {
174
+ }
175
+
159
176
  .ant-input-number {
160
177
  box-sizing: border-box;
161
178
  margin: 0;
@@ -194,23 +211,6 @@ body, html {
194
211
  .uni-svg-component {
195
212
  display: inline-block;
196
213
  }
197
-
198
- .uni-build-up-component {
199
- }
200
-
201
- .swiper-warp {
202
- width: 100%;
203
- height: 100%;
204
- }
205
-
206
- .swiper-slide-component {
207
- text-align: center;
208
- }
209
-
210
- .swiper-slide img {
211
- max-width: 100%;
212
- max-height: 100%;
213
- }
214
214
  /**
215
215
  * Swiper 6.8.4
216
216
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -1,4 +1,4 @@
1
- import { computed, defineComponent, openBlock, createElementBlock, withModifiers, normalizeStyle as normalizeStyle$1, createBlock, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList, normalizeProps, guardReactiveProps, h as h$2, ref, onUpdated, watch, nextTick as nextTick$1, onMounted, onBeforeUnmount, onBeforeUpdate, resolveComponent, createVNode, normalizeClass, mergeProps, 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$n, TransitionGroup } from 'vue';
1
+ import { computed, defineComponent, openBlock, createBlock, resolveDynamicComponent, withModifiers, normalizeStyle as normalizeStyle$1, withCtx, createTextVNode, toDisplayString, createElementBlock, createElementVNode, Fragment, renderList, normalizeProps, guardReactiveProps, h as h$2, ref, onUpdated, watch, nextTick as nextTick$1, onMounted, onBeforeUnmount, onBeforeUpdate, resolveComponent, createVNode, normalizeClass, mergeProps, 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$n, TransitionGroup } from 'vue';
2
2
  import crypto from 'crypto';
3
3
 
4
4
  /** Detect free variable `global` from Node.js. */
@@ -5392,18 +5392,16 @@ var script$l = defineComponent({
5392
5392
  });
5393
5393
 
5394
5394
  function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5395
- return (openBlock(), createElementBlock("div", {
5396
- onClick: _cache[0] || (_cache[0] = withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
5395
+ return (openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {
5396
+ onClick: withModifiers(_ctx.handleClick, ["prevent"]),
5397
5397
  style: normalizeStyle$1(_ctx.styleProps),
5398
5398
  class: "uni-text-component inner-component"
5399
- }, [
5400
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), null, {
5401
- default: withCtx(() => [
5402
- createTextVNode(toDisplayString(_ctx.text), 1 /* TEXT */)
5403
- ]),
5404
- _: 1 /* STABLE */
5405
- }))
5406
- ], 4 /* STYLE */))
5399
+ }, {
5400
+ default: withCtx(() => [
5401
+ createTextVNode(toDisplayString(_ctx.text), 1 /* TEXT */)
5402
+ ]),
5403
+ _: 1 /* STABLE */
5404
+ }, 8 /* PROPS */, ["onClick", "style"]))
5407
5405
  }
5408
5406
 
5409
5407
  script$l.render = render$m;
@@ -5399,18 +5399,16 @@
5399
5399
  });
5400
5400
 
5401
5401
  function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5402
- return (vue.openBlock(), vue.createElementBlock("div", {
5403
- onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
5402
+ return (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
5403
+ onClick: vue.withModifiers(_ctx.handleClick, ["prevent"]),
5404
5404
  style: vue.normalizeStyle(_ctx.styleProps),
5405
5405
  class: "uni-text-component inner-component"
5406
- }, [
5407
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), null, {
5408
- default: vue.withCtx(() => [
5409
- vue.createTextVNode(vue.toDisplayString(_ctx.text), 1 /* TEXT */)
5410
- ]),
5411
- _: 1 /* STABLE */
5412
- }))
5413
- ], 4 /* STYLE */))
5406
+ }, {
5407
+ default: vue.withCtx(() => [
5408
+ vue.createTextVNode(vue.toDisplayString(_ctx.text), 1 /* TEXT */)
5409
+ ]),
5410
+ _: 1 /* STABLE */
5411
+ }, 8 /* PROPS */, ["onClick", "style"]))
5414
5412
  }
5415
5413
 
5416
5414
  script$l.render = render$m;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.266",
3
+ "version": "1.0.267",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",