@varlet/ui 2.11.0-alpha.1683829480300 → 2.11.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/lib/varlet.cjs.js CHANGED
@@ -15539,18 +15539,17 @@ var __sfc__$D = vue.defineComponent({
15539
15539
  }
15540
15540
  };
15541
15541
  var getOffsetTop = () => {
15542
- if (!("getBoundingClientRect" in scroller)) {
15542
+ if (isWindow(scroller))
15543
15543
  return 0;
15544
- }
15545
15544
  var {
15546
15545
  top: parentTop
15547
- } = scroller.getBoundingClientRect();
15546
+ } = getRect(scroller);
15548
15547
  var {
15549
15548
  scrollTop
15550
15549
  } = scroller;
15551
15550
  var {
15552
15551
  top: targetTop
15553
- } = barEl.value.getBoundingClientRect();
15552
+ } = getRect(barEl.value);
15554
15553
  return scrollTop - parentTop + targetTop;
15555
15554
  };
15556
15555
  var handleScroll = () => {
@@ -21083,7 +21082,7 @@ function __render__$d(_ctx, _cache) {
21083
21082
  [vue.createElementVNode(
21084
21083
  "div",
21085
21084
  {
21086
- class: vue.normalizeClass(_ctx.classes(_ctx.n(_ctx.direction + "-block"), [_ctx.isDisabled, _ctx.n("--disabled")], [_ctx.errorMessage, _ctx.n("--error")])),
21085
+ class: vue.normalizeClass(_ctx.classes(_ctx.n(_ctx.direction + "-block"), [_ctx.isDisabled, _ctx.n("--disabled")], [_ctx.errorMessage, _ctx.n(_ctx.direction + "--error")])),
21087
21086
  ref: "sliderEl",
21088
21087
  onClick: _cache[0] || (_cache[0] = function() {
21089
21088
  return _ctx.click && _ctx.click(...arguments);
@@ -25442,9 +25441,9 @@ const skeleton = "";
25442
25441
  const SkeletonSfc = "";
25443
25442
  const slider = "";
25444
25443
  const SliderSfc = "";
25444
+ const SnackbarSfc = "";
25445
25445
  const snackbar = "";
25446
25446
  const coreSfc = "";
25447
- const SnackbarSfc = "";
25448
25447
  const space = "";
25449
25448
  const step = "";
25450
25449
  const StepSfc = "";
@@ -25469,7 +25468,7 @@ const TimePickerSfc = "";
25469
25468
  const TooltipSfc = "";
25470
25469
  const uploader = "";
25471
25470
  const UploaderSfc = "";
25472
- const version = "2.11.0-alpha.1683829480300";
25471
+ const version = "2.11.0";
25473
25472
  function install(app) {
25474
25473
  ActionSheet.install && app.use(ActionSheet);
25475
25474
  AppBar.install && app.use(AppBar);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/ui",
3
- "version": "2.11.0-alpha.1683829480300",
3
+ "version": "2.11.0",
4
4
  "description": "A material like components library",
5
5
  "main": "lib/varlet.cjs.js",
6
6
  "module": "es/index.mjs",
@@ -46,9 +46,9 @@
46
46
  "@popperjs/core": "^2.11.6",
47
47
  "dayjs": "^1.10.4",
48
48
  "decimal.js": "^10.2.1",
49
- "@varlet/icons": "2.11.0-alpha.1683829480300",
50
- "@varlet/shared": "2.11.0-alpha.1683829480300",
51
- "@varlet/use": "2.11.0-alpha.1683829480300"
49
+ "@varlet/icons": "2.11.0",
50
+ "@varlet/shared": "2.11.0",
51
+ "@varlet/use": "2.11.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@vue/runtime-core": "3.3.1",
@@ -61,10 +61,10 @@
61
61
  "lodash-es": "^4.17.21",
62
62
  "postcss-px-to-viewport": "^1.1.1",
63
63
  "typescript": "^4.4.4",
64
- "vue": "3.3.1",
64
+ "vue": "3.3.2",
65
65
  "vue-router": "4.2.0",
66
- "@varlet/cli": "2.11.0-alpha.1683829480300",
67
- "@varlet/touch-emulator": "2.11.0-alpha.1683829480300"
66
+ "@varlet/cli": "2.11.0",
67
+ "@varlet/touch-emulator": "2.11.0"
68
68
  },
69
69
  "browserslist": [
70
70
  "Chrome >= 54",