@nutui/nutui 4.2.4 → 4.2.6

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/nutui.es.js +1 -1
  3. package/dist/nutui.js +5 -8
  4. package/dist/nutui.umd.js +1 -1
  5. package/dist/packages/cascader/Cascader.js +3 -3
  6. package/dist/packages/cascader/index.css +1 -1
  7. package/dist/packages/category/index.css +1 -1
  8. package/dist/packages/category/index.scss +0 -1
  9. package/dist/packages/categorypane/index.css +1 -1
  10. package/dist/packages/categorypane/index.scss +0 -3
  11. package/dist/packages/collapseitem/CollapseItem.js +0 -3
  12. package/dist/packages/countup/index.css +1 -1
  13. package/dist/packages/countup/index.scss +0 -3
  14. package/dist/packages/ecard/index.css +1 -1
  15. package/dist/packages/ecard/index.scss +0 -2
  16. package/dist/packages/popover/index.css +1 -1
  17. package/dist/packages/popover/index.scss +0 -1
  18. package/dist/packages/tabs/Tabs.js +3 -5
  19. package/dist/packages/tabs/index.css +1 -1
  20. package/dist/packages/tabs/index.scss +8 -4
  21. package/dist/packages/textarea/index.css +1 -1
  22. package/dist/packages/textarea/index.scss +0 -1
  23. package/dist/packages/tour/index.css +1 -1
  24. package/dist/packages/watermark/Watermark.js +8 -2
  25. package/dist/smartips/web-types.json +5 -5
  26. package/dist/style.css +1 -1
  27. package/dist/types/__VUE/collapseitem/index.vue.d.ts +0 -6
  28. package/dist/types/__VUE/drag/index.vue.d.ts +5 -3
  29. package/dist/types/__VUE/drag/types.d.ts +1 -0
  30. package/dist/types/__VUE/pagination/index.vue.d.ts +6 -4
  31. package/dist/types/__VUE/pagination/types.d.ts +1 -0
  32. package/dist/types/__VUE/searchbar/index.vue.d.ts +8 -7
  33. package/dist/types/__VUE/searchbar/types.d.ts +3 -0
  34. package/dist/types/__VUE/steps/index.vue.d.ts +5 -3
  35. package/dist/types/__VUE/steps/types.d.ts +1 -0
  36. package/dist/types/__VUE/table/types.d.ts +2 -2
  37. package/dist/types/__VUE/tabs/index.vue.d.ts +10 -10
  38. package/dist/types/__VUE/tabs/types.d.ts +3 -0
  39. package/dist/types/__VUE/watermark/index.vue.d.ts +29 -3
  40. package/dist/types/index.d.ts +1 -1
  41. package/package.json +1 -1
  42. package/dist/types/__VUE/searchbar/type.d.ts +0 -1
  43. package/dist/types/__VUE/table/common.d.ts +0 -125
package/CHANGELOG.md CHANGED
@@ -1,3 +1,34 @@
1
+ ## v4.2.6
2
+
3
+ `2023-12-25`
4
+
5
+ Bug Fixes
6
+
7
+ - tabs: 修复 taro h5 下 placeholder 展示错误 (#2801) @eiinu
8
+ - remove defualt font-family style (#2792) @eiinu
9
+
10
+ Other Changes
11
+
12
+ - collapse: remove unused prop (#2794) @eiinu
13
+
14
+ ## v4.2.5
15
+
16
+ `2023-12-22`
17
+
18
+ Features
19
+
20
+ - watermark: 水印支持多行文字 (#2746), close #2742 @yi-boide
21
+ - tabs: 开启 title-scroll 时不再需要设置 name (#2789) @eiinu
22
+
23
+ Bug Fixes
24
+
25
+ - textarea: 修复 taro h5 下双向绑定失效的问题 (#2768), close #2767 @Moonofweisheng
26
+ - tabs: 修复 horizontal 方向占位元素宽度错误 (#2749) @yang1206
27
+ - ellipsis: 修复 taro 下文本省略失效 (#2791) @yi-boide
28
+ - tabs: 修复 iOS 下 smile 类型激活条展示问题 (#2774), close #2773 @eiinu
29
+ - tabbar: 修复 useTaroRect 报错问题 (#2775) @eiinu
30
+ - input-number: 修复 disabled 下未禁用点击问题 (#2783), close #2782 @eiinu
31
+
1
32
  ## v4.2.4
2
33
 
3
34
  `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.6';
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,
@@ -13039,9 +13037,6 @@ function P0(e, t, n, s, o, a) {
13039
13037
  }
13040
13038
  const A0 = /* @__PURE__ */ K(L0, [["render", P0]]), { create: z0 } = W("collapse-item"), V0 = z0({
13041
13039
  props: {
13042
- collapseRef: {
13043
- type: Object
13044
- },
13045
13040
  title: {
13046
13041
  type: String,
13047
13042
  default: ""
@@ -13550,7 +13545,7 @@ const wy = /* @__PURE__ */ K(yy, [["render", ky]]), { componentName: Cy, create:
13550
13545
  default: 64
13551
13546
  },
13552
13547
  content: {
13553
- type: String,
13548
+ type: [String, Array],
13554
13549
  default: ""
13555
13550
  },
13556
13551
  fontColor: {
@@ -13616,7 +13611,9 @@ const wy = /* @__PURE__ */ K(yy, [["render", ky]]), { componentName: Cy, create:
13616
13611
  } else if (v) {
13617
13612
  T.textBaseline = "middle", T.textAlign = "center", T.translate(A / 2, C / 2), T.rotate(Math.PI / 180 * Number(i));
13618
13613
  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();
13614
+ T.font = `${y} normal ${g} ${E}px/${C}px ${c}`, T.fillStyle = b, Array.isArray(v) ? v.map((V, X) => {
13615
+ T.fillText(V, 0, (X - 1) * E);
13616
+ }) : T.fillText(v, 0, 0), T.restore(), t.base64Url = k.toDataURL();
13620
13617
  }
13621
13618
  } else
13622
13619
  throw new Error("当前环境不支持Canvas");
@@ -16599,7 +16596,7 @@ function l4(e) {
16599
16596
  n.install ? e.use(n) : n.name && e.component(n.name, n);
16600
16597
  });
16601
16598
  }
16602
- const s4 = "4.2.4", d4 = { install: l4, version: s4 };
16599
+ const s4 = "4.2.6", d4 = { install: l4, version: s4 };
16603
16600
  export {
16604
16601
  U1 as ActionSheet,
16605
16602
  hv as Address,