unika-components 1.0.273 → 1.0.275

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,7 +11,6 @@ declare const _default: import("vue").DefineComponent<{
11
11
  handleClick: () => void;
12
12
  getItemNumber: (date: string) => string | undefined;
13
13
  getMonthData: (date: any) => void;
14
- size: import("vue").ComputedRef<"scale(0.855)" | "scale(1)" | "scale(0.75)">;
15
14
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
15
  [x: string]: any;
17
16
  }>>, {
@@ -26,6 +26,19 @@
26
26
  .uni-image-mask-wrapper {
27
27
  display: inline-block;
28
28
  }
29
+
30
+ h2.uni-text-component, p.uni-text-component {
31
+ margin-top: 0;
32
+ margin-bottom: 0;
33
+ }
34
+ button.uni-text-component {
35
+ padding: 5px 10px;
36
+ cursor: pointer;
37
+ }
38
+ .uni-text-component {
39
+ box-sizing: border-box;
40
+ white-space: pre-wrap;
41
+ }
29
42
 
30
43
 
31
44
  .uni-calendar-component {
@@ -122,28 +135,11 @@ body, html {
122
135
  .edit-wrapper .uni-lotties-component, .edit-wrapper .uni-like-component, .edit-wrapper .uni-background-component, .edit-wrapper .uni-svg-component, .edit-wrapper .uni-register-form-component{
123
136
  position: static !important;
124
137
  }
125
-
126
- .uni-svg-component {
127
- display: inline-block;
128
- }
129
138
 
130
- .uni-lotties-component {
139
+ .effect {
131
140
  width: 100%;
132
141
  height: 100%;
133
142
  }
134
-
135
- h2.uni-text-component, p.uni-text-component {
136
- margin-top: 0;
137
- margin-bottom: 0;
138
- }
139
- button.uni-text-component {
140
- padding: 5px 10px;
141
- cursor: pointer;
142
- }
143
- .uni-text-component {
144
- box-sizing: border-box;
145
- white-space: pre-wrap;
146
- }
147
143
 
148
144
  .like-button {
149
145
  display: flex;
@@ -167,11 +163,6 @@ button.uni-text-component {
167
163
  color: #333;
168
164
  }
169
165
 
170
- .effect {
171
- width: 100%;
172
- height: 100%;
173
- }
174
-
175
166
  .ant-input-number {
176
167
  box-sizing: border-box;
177
168
  margin: 0;
@@ -207,8 +198,10 @@ button.uni-text-component {
207
198
  vertical-align: top;
208
199
  }
209
200
 
210
- .uni-build-up-component {
211
- }
201
+ .uni-lotties-component {
202
+ width: 100%;
203
+ height: 100%;
204
+ }
212
205
 
213
206
  .swiper-warp {
214
207
  width: 100%;
@@ -223,6 +216,13 @@ button.uni-text-component {
223
216
  max-width: 100%;
224
217
  max-height: 100%;
225
218
  }
219
+
220
+ .uni-build-up-component {
221
+ }
222
+
223
+ .uni-svg-component {
224
+ display: inline-block;
225
+ }
226
226
  /**
227
227
  * Swiper 6.8.4
228
228
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -961,8 +961,9 @@ button.swiper-pagination-bullet {
961
961
  .unika-calendar-box {
962
962
  position: relative;
963
963
  width: 325px !important;
964
- min-height: 325px !important;
964
+ min-height: 300px !important;
965
965
  height: auto !important;
966
+ padding-bottom: 20px;
966
967
  }
967
968
  .unika-calendar-title {
968
969
  font-size: 25px;
@@ -5221,7 +5221,7 @@ const registerFormDefaultProps = {
5221
5221
  publishContentId: '1'
5222
5222
  };
5223
5223
  const lottiesDefaultProps = {
5224
- animationLink: 'https://unika-static-dev.unika.cc/lotties/zlweddingbai.json',
5224
+ animationLink: 'https://h5cdn.unika.cc/static/lotties/wedding.json',
5225
5225
  position: 'absolute',
5226
5226
  left: '13px',
5227
5227
  top: '7px',
@@ -5374,7 +5374,7 @@ const extraProps$1 = {
5374
5374
  ...isEditingProp
5375
5375
  };
5376
5376
  const defaultProps$g = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps$1);
5377
- const defaultStyles$d = without$1(Object.keys(textDefaultProps), 'actionType', 'url');
5377
+ const defaultStyles$d = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
5378
5378
  // array that contains style props
5379
5379
  var script$l = defineComponent({
5380
5380
  name: 'uni-text',
@@ -16024,7 +16024,7 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
16024
16024
  class: normalizeClass(`${_ctx.cp}-box`),
16025
16025
  style: normalizeStyle$1({'background-color': _ctx.backgroundColor, 'border-color': _ctx.themeColor,
16026
16026
  'border-radius': _ctx.borderRadius,'border-style': _ctx.borderStyle,'border-width': _ctx.borderWidth,
16027
- 'position': 'relative', 'min-height': '8.66667rem !important','height': 'auto!important'})
16027
+ 'position': 'relative', 'min-height': '8.66667rem !important','height': 'auto!important', 'transform': _ctx.size })
16028
16028
  }, [
16029
16029
  (_ctx.themeStyle == '1')
16030
16030
  ? (openBlock(), createElementBlock("div", {
@@ -16201,25 +16201,13 @@ var script$d = defineComponent({
16201
16201
  // todo axios for get data
16202
16202
  console.log(date);
16203
16203
  };
16204
- const size = computed(() => {
16205
- if (props.size == 'middle') {
16206
- return "scale(0.855)";
16207
- }
16208
- else if (props.size == 'large') {
16209
- return "scale(1)";
16210
- }
16211
- else {
16212
- return "scale(0.75)";
16213
- }
16214
- });
16215
16204
  return {
16216
16205
  styleProps,
16217
16206
  dataList,
16218
16207
  checkItem,
16219
16208
  handleClick,
16220
16209
  getItemNumber,
16221
- getMonthData,
16222
- size
16210
+ getMonthData
16223
16211
  };
16224
16212
  }
16225
16213
  });
@@ -16234,7 +16222,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
16234
16222
 
16235
16223
  return (openBlock(), createElementBlock("div", {
16236
16224
  onClick: _cache[0] || (_cache[0] = withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
16237
- style: normalizeStyle$1({ ..._ctx.styleProps, transform: _ctx.size }),
16225
+ style: normalizeStyle$1(_ctx.styleProps),
16238
16226
  class: "uni-calendar-component inner-component"
16239
16227
  }, [
16240
16228
  createVNode(_component_Calendar, {
@@ -16248,7 +16236,8 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
16248
16236
  dateColor: _ctx.dateColor,
16249
16237
  heartColor: _ctx.heartColor,
16250
16238
  themeStyle: _ctx.themeStyle,
16251
- language: _ctx.language
16239
+ language: _ctx.language,
16240
+ size: _ctx.size
16252
16241
  }, {
16253
16242
  default: withCtx((slotProps) => [
16254
16243
  (_ctx.checkItem(slotProps.item.date))
@@ -16256,7 +16245,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
16256
16245
  : createCommentVNode("v-if", true)
16257
16246
  ]),
16258
16247
  _: 1 /* STABLE */
16259
- }, 8 /* PROPS */, ["weddingDate", "backgroundColor", "themeColor", "borderRadius", "borderStyle", "borderWidth", "dateColor", "heartColor", "themeStyle", "language"])
16248
+ }, 8 /* PROPS */, ["weddingDate", "backgroundColor", "themeColor", "borderRadius", "borderStyle", "borderWidth", "dateColor", "heartColor", "themeStyle", "language", "size"])
16260
16249
  ], 4 /* STYLE */))
16261
16250
  }
16262
16251
 
@@ -5228,7 +5228,7 @@
5228
5228
  publishContentId: '1'
5229
5229
  };
5230
5230
  const lottiesDefaultProps = {
5231
- animationLink: 'https://unika-static-dev.unika.cc/lotties/zlweddingbai.json',
5231
+ animationLink: 'https://h5cdn.unika.cc/static/lotties/wedding.json',
5232
5232
  position: 'absolute',
5233
5233
  left: '13px',
5234
5234
  top: '7px',
@@ -5381,7 +5381,7 @@
5381
5381
  ...isEditingProp
5382
5382
  };
5383
5383
  const defaultProps$g = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps$1);
5384
- const defaultStyles$d = without$1(Object.keys(textDefaultProps), 'actionType', 'url');
5384
+ const defaultStyles$d = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
5385
5385
  // array that contains style props
5386
5386
  var script$l = vue.defineComponent({
5387
5387
  name: 'uni-text',
@@ -16031,7 +16031,7 @@
16031
16031
  class: vue.normalizeClass(`${_ctx.cp}-box`),
16032
16032
  style: vue.normalizeStyle({'background-color': _ctx.backgroundColor, 'border-color': _ctx.themeColor,
16033
16033
  'border-radius': _ctx.borderRadius,'border-style': _ctx.borderStyle,'border-width': _ctx.borderWidth,
16034
- 'position': 'relative', 'min-height': '8.66667rem !important','height': 'auto!important'})
16034
+ 'position': 'relative', 'min-height': '8.66667rem !important','height': 'auto!important', 'transform': _ctx.size })
16035
16035
  }, [
16036
16036
  (_ctx.themeStyle == '1')
16037
16037
  ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -16208,25 +16208,13 @@
16208
16208
  // todo axios for get data
16209
16209
  console.log(date);
16210
16210
  };
16211
- const size = vue.computed(() => {
16212
- if (props.size == 'middle') {
16213
- return "scale(0.855)";
16214
- }
16215
- else if (props.size == 'large') {
16216
- return "scale(1)";
16217
- }
16218
- else {
16219
- return "scale(0.75)";
16220
- }
16221
- });
16222
16211
  return {
16223
16212
  styleProps,
16224
16213
  dataList,
16225
16214
  checkItem,
16226
16215
  handleClick,
16227
16216
  getItemNumber,
16228
- getMonthData,
16229
- size
16217
+ getMonthData
16230
16218
  };
16231
16219
  }
16232
16220
  });
@@ -16241,7 +16229,7 @@
16241
16229
 
16242
16230
  return (vue.openBlock(), vue.createElementBlock("div", {
16243
16231
  onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => (_ctx.handleClick && _ctx.handleClick(...args)), ["prevent"])),
16244
- style: vue.normalizeStyle({ ..._ctx.styleProps, transform: _ctx.size }),
16232
+ style: vue.normalizeStyle(_ctx.styleProps),
16245
16233
  class: "uni-calendar-component inner-component"
16246
16234
  }, [
16247
16235
  vue.createVNode(_component_Calendar, {
@@ -16255,7 +16243,8 @@
16255
16243
  dateColor: _ctx.dateColor,
16256
16244
  heartColor: _ctx.heartColor,
16257
16245
  themeStyle: _ctx.themeStyle,
16258
- language: _ctx.language
16246
+ language: _ctx.language,
16247
+ size: _ctx.size
16259
16248
  }, {
16260
16249
  default: vue.withCtx((slotProps) => [
16261
16250
  (_ctx.checkItem(slotProps.item.date))
@@ -16263,7 +16252,7 @@
16263
16252
  : vue.createCommentVNode("v-if", true)
16264
16253
  ]),
16265
16254
  _: 1 /* STABLE */
16266
- }, 8 /* PROPS */, ["weddingDate", "backgroundColor", "themeColor", "borderRadius", "borderStyle", "borderWidth", "dateColor", "heartColor", "themeStyle", "language"])
16255
+ }, 8 /* PROPS */, ["weddingDate", "backgroundColor", "themeColor", "borderRadius", "borderStyle", "borderWidth", "dateColor", "heartColor", "themeStyle", "language", "size"])
16267
16256
  ], 4 /* STYLE */))
16268
16257
  }
16269
16258
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.273",
3
+ "version": "1.0.275",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",