@xiaou66/u-web-ui 0.158.0 → 0.159.0

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/dist/index.d.ts CHANGED
@@ -506,6 +506,12 @@ export declare interface ScrollbarInstance {
506
506
  * @param {number} left
507
507
  */
508
508
  scrollLeft: (left: number) => void;
509
+ /**
510
+ * @zh 重新计算滚动条可见性和尺寸
511
+ * @en Recalculate scrollbar visibility and thumb metrics
512
+ * @public
513
+ */
514
+ update: () => void;
509
515
  }
510
516
 
511
517
  export declare interface ScrollbarProps {
package/dist/index.es.js CHANGED
@@ -1187,6 +1187,9 @@ var _hoisted_1$5 = { class: "title" }, LeftMenu_default = /* @__PURE__ */ define
1187
1187
  },
1188
1188
  scrollLeft: (e) => {
1189
1189
  f.value?.scrollTo({ left: e });
1190
+ },
1191
+ update: () => {
1192
+ O();
1190
1193
  }
1191
1194
  }), (e, t) => (openBlock(), createElementBlock("div", {
1192
1195
  class: normalizeClass(P.value),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiaou66/u-web-ui",
3
- "version": "0.158.0",
3
+ "version": "0.159.0",
4
4
  "description": "web-ui",
5
5
  "main": "./dist/index.es.js",
6
6
  "module": "./dist/index.es.js",