@nutui/nutui 4.2.4 → 4.2.5

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## v4.2.5
2
+
3
+ `2023-12-22`
4
+
5
+ Features
6
+
7
+ - watermark: 水印支持多行文字 (#2746), close #2742 @yi-boide
8
+ - tabs: 开启 title-scroll 时不再需要设置 name (#2789) @eiinu
9
+
10
+ Bug Fixes
11
+
12
+ - textarea: 修复 taro h5 下双向绑定失效的问题 (#2768), close #2767 @Moonofweisheng
13
+ - tabs: 修复 horizontal 方向占位元素宽度错误 (#2749) @yang1206
14
+ - ellipsis: 修复 taro 下文本省略失效 (#2791) @yi-boide
15
+ - tabs: 修复 iOS 下 smile 类型激活条展示问题 (#2774), close #2773 @eiinu
16
+ - tabbar: 修复 useTaroRect 报错问题 (#2775) @eiinu
17
+ - input-number: 修复 disabled 下未禁用点击问题 (#2783), close #2782 @eiinu
18
+
1
19
  ## v4.2.4
2
20
 
3
21
  `2023-12-15`
package/dist/nutui.es.js CHANGED
@@ -219,7 +219,7 @@ export function install(app) {
219
219
  }
220
220
  });
221
221
  }
222
- export const version = '4.2.4';
222
+ export const version = '4.2.5';
223
223
  export default {
224
224
  install,
225
225
  version
package/dist/nutui.js CHANGED
@@ -3603,7 +3603,6 @@ const { create: Nc } = W("tabs"), Dc = Nc({
3603
3603
  direction: {
3604
3604
  type: String,
3605
3605
  default: "horizontal"
3606
- //vertical
3607
3606
  },
3608
3607
  size: {
3609
3608
  type: String,
@@ -3612,7 +3611,6 @@ const { create: Nc } = W("tabs"), Dc = Nc({
3612
3611
  type: {
3613
3612
  type: String,
3614
3613
  default: "line"
3615
- //card、line、smile
3616
3614
  },
3617
3615
  titleScroll: {
3618
3616
  type: Boolean,
@@ -13550,7 +13548,7 @@ const wy = /* @__PURE__ */ K(yy, [["render", ky]]), { componentName: Cy, create:
13550
13548
  default: 64
13551
13549
  },
13552
13550
  content: {
13553
- type: String,
13551
+ type: [String, Array],
13554
13552
  default: ""
13555
13553
  },
13556
13554
  fontColor: {
@@ -13616,7 +13614,9 @@ const wy = /* @__PURE__ */ K(yy, [["render", ky]]), { componentName: Cy, create:
13616
13614
  } else if (v) {
13617
13615
  T.textBaseline = "middle", T.textAlign = "center", T.translate(A / 2, C / 2), T.rotate(Math.PI / 180 * Number(i));
13618
13616
  const E = Number(w) * I;
13619
- T.font = `${y} normal ${g} ${E}px/${C}px ${c}`, T.fillStyle = b, T.fillText(v, 0, 0), T.restore(), t.base64Url = k.toDataURL();
13617
+ T.font = `${y} normal ${g} ${E}px/${C}px ${c}`, T.fillStyle = b, Array.isArray(v) ? v.map((V, X) => {
13618
+ T.fillText(V, 0, (X - 1) * E);
13619
+ }) : T.fillText(v, 0, 0), T.restore(), t.base64Url = k.toDataURL();
13620
13620
  }
13621
13621
  } else
13622
13622
  throw new Error("当前环境不支持Canvas");
@@ -16599,7 +16599,7 @@ function l4(e) {
16599
16599
  n.install ? e.use(n) : n.name && e.component(n.name, n);
16600
16600
  });
16601
16601
  }
16602
- const s4 = "4.2.4", d4 = { install: l4, version: s4 };
16602
+ const s4 = "4.2.5", d4 = { install: l4, version: s4 };
16603
16603
  export {
16604
16604
  U1 as ActionSheet,
16605
16605
  hv as Address,