unika-components 1.0.124 → 1.0.126

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,10 +11,6 @@ button.uni-text-component {
11
11
  white-space: pre-wrap;
12
12
  }
13
13
 
14
- .uni-image-component {
15
- max-width: 100%;
16
- }
17
-
18
14
  .slide-guide {
19
15
  position: absolute;
20
16
  bottom: 90px;
@@ -88,14 +84,6 @@ body, html {
88
84
  }
89
85
  }
90
86
 
91
- .slot-number {
92
- position: absolute;
93
- bottom: 2px;
94
- left: 7px;
95
- font-size: 12px;
96
- color: #666
97
- }
98
-
99
87
  .uni-video-component {
100
88
  position: relative;
101
89
  text-align: center;
@@ -116,6 +104,37 @@ body, html {
116
104
  .play-pause-button:hover {
117
105
  background: rgba(0, 0, 0, 0.8);
118
106
  }
107
+
108
+ .uni-image-component {
109
+ max-width: 100%;
110
+ }
111
+
112
+ .slot-number {
113
+ position: absolute;
114
+ bottom: 2px;
115
+ left: 7px;
116
+ font-size: 12px;
117
+ color: #666
118
+ }
119
+
120
+ .effect {
121
+ width: 100%;
122
+ height: 100%;
123
+ }
124
+
125
+ .swiper-warp {
126
+ width: 100%;
127
+ height: 100%;
128
+ }
129
+
130
+ .swiper-slide-component {
131
+ text-align: center;
132
+ }
133
+
134
+ .swiper-slide img {
135
+ max-width: 100%;
136
+ max-height: 100%;
137
+ }
119
138
 
120
139
  .like-button {
121
140
  display: flex;
@@ -139,25 +158,6 @@ body, html {
139
158
  color: #333;
140
159
  }
141
160
 
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
-
161
161
  .ant-input-number {
162
162
  box-sizing: border-box;
163
163
  margin: 0;
@@ -13083,7 +13083,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
13083
13083
  default: withCtx(() => [
13084
13084
  createCommentVNode(" <swiper-slide :class=\"['swiper-slide', `slide-${index}`]\" v-for=\"(page, index) in work?.pages\" :key=\"index\">"),
13085
13085
  createCommentVNode("<swiper-slide :class=\"['swiper-slide', `slide-${index}`]\" v-for=\"(page, index) in work?.pages\" :key=\"index\">"),
13086
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.work?.pages, (page, index) => {
13086
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.work.pages, (page, index) => {
13087
13087
  return (openBlock(), createBlock(_component_swiper_slide, {
13088
13088
  class: normalizeClass(_ctx.slideClasses(index)),
13089
13089
  key: index
@@ -13091,7 +13091,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
13091
13091
  default: withCtx(() => [
13092
13092
  createElementVNode("div", {
13093
13093
  class: "final-page",
13094
- style: normalizeStyle$1({ width: _ctx.work?.width, height: _ctx.work?.height })
13094
+ style: normalizeStyle$1({ width: _ctx.work.width, height: _ctx.work.height })
13095
13095
  }, [
13096
13096
  (openBlock(true), createElementBlock(Fragment, null, renderList(page.components, (item) => {
13097
13097
  return (openBlock(), createElementBlock("div", {
@@ -75575,6 +75575,7 @@ var script$1 = defineComponent({
75575
75575
  const styleProps = useStylePick(props);
75576
75576
  const handleClick = useComponentClick(props);
75577
75577
  const openUrl = () => {
75578
+ alert('Button clicked!');
75578
75579
  if (!props.isEditing) {
75579
75580
  window.location.href = props.buttonUrl;
75580
75581
  }
@@ -13090,7 +13090,7 @@
13090
13090
  default: vue.withCtx(() => [
13091
13091
  vue.createCommentVNode(" <swiper-slide :class=\"['swiper-slide', `slide-${index}`]\" v-for=\"(page, index) in work?.pages\" :key=\"index\">"),
13092
13092
  vue.createCommentVNode("<swiper-slide :class=\"['swiper-slide', `slide-${index}`]\" v-for=\"(page, index) in work?.pages\" :key=\"index\">"),
13093
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.work?.pages, (page, index) => {
13093
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.work.pages, (page, index) => {
13094
13094
  return (vue.openBlock(), vue.createBlock(_component_swiper_slide, {
13095
13095
  class: vue.normalizeClass(_ctx.slideClasses(index)),
13096
13096
  key: index
@@ -13098,7 +13098,7 @@
13098
13098
  default: vue.withCtx(() => [
13099
13099
  vue.createElementVNode("div", {
13100
13100
  class: "final-page",
13101
- style: vue.normalizeStyle({ width: _ctx.work?.width, height: _ctx.work?.height })
13101
+ style: vue.normalizeStyle({ width: _ctx.work.width, height: _ctx.work.height })
13102
13102
  }, [
13103
13103
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(page.components, (item) => {
13104
13104
  return (vue.openBlock(), vue.createElementBlock("div", {
@@ -75582,6 +75582,7 @@ summary tabindex target title type usemap value width wmode wrap`;
75582
75582
  const styleProps = useStylePick(props);
75583
75583
  const handleClick = useComponentClick(props);
75584
75584
  const openUrl = () => {
75585
+ alert('Button clicked!');
75585
75586
  if (!props.isEditing) {
75586
75587
  window.location.href = props.buttonUrl;
75587
75588
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.124",
3
+ "version": "1.0.126",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",