@varlet/ui 3.1.2 → 3.1.3-alpha.1710265615179

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.
@@ -62,15 +62,19 @@ const __sfc__ = defineComponent({
62
62
  const disabled = ref(true);
63
63
  let scroller;
64
64
  const handleScroll = throttle(() => {
65
- show.value = getScrollTop(scroller) >= toPxNum(props2.visibilityHeight);
65
+ setBackTopVisibility();
66
66
  }, 200);
67
67
  onMounted(() => {
68
68
  setScroller();
69
69
  addScrollerEventListener();
70
+ setBackTopVisibility();
70
71
  disabled.value = false;
71
72
  });
72
73
  onActivated(addScrollerEventListener);
73
74
  onSmartUnmounted(removeScrollerEventListener);
75
+ function setBackTopVisibility() {
76
+ show.value = getScrollTop(scroller) >= toPxNum(props2.visibilityHeight);
77
+ }
74
78
  function handleClick(event) {
75
79
  call(props2.onClick, event);
76
80
  const left = getScrollLeft(scroller);
@@ -262,7 +262,7 @@ import './tooltip/style/index.mjs'
262
262
  import './uploader/style/index.mjs'
263
263
  import './watermark/style/index.mjs'
264
264
 
265
- const version = '3.1.2'
265
+ const version = '3.1.3-alpha.1710265615179'
266
266
 
267
267
  function install(app) {
268
268
  ActionSheet.install && app.use(ActionSheet)
package/es/index.mjs CHANGED
@@ -174,7 +174,7 @@ export * from './tooltip/index.mjs'
174
174
  export * from './uploader/index.mjs'
175
175
  export * from './watermark/index.mjs'
176
176
 
177
- const version = '3.1.2'
177
+ const version = '3.1.3-alpha.1710265615179'
178
178
 
179
179
  function install(app) {
180
180
  ActionSheet.install && app.use(ActionSheet)
@@ -1,7 +1,7 @@
1
1
  import '../../styles/common.css'
2
- import '../SnackbarSfc.css'
3
2
  import '../../styles/elevation.css'
4
3
  import '../../loading/loading.css'
5
4
  import '../../icon/icon.css'
6
5
  import '../snackbar.css'
7
6
  import '../coreSfc.css'
7
+ import '../SnackbarSfc.css'
@@ -44,6 +44,7 @@ var stdin_default = defineComponent({
44
44
  lastIndex
45
45
  });
46
46
  return _createVNode("div", {
47
+ "class": classes([direction === "column", n("--full")]),
47
48
  "style": {
48
49
  margin
49
50
  }
@@ -1 +1 @@
1
- :root { --space-size-mini-y: 4px; --space-size-mini-x: 4px; --space-size-small-y: 6px; --space-size-small-x: 6px; --space-size-normal-y: 8px; --space-size-normal-x: 12px; --space-size-large-y: 12px; --space-size-large-x: 20px;}.var-space { display: flex;}.var-space--inline { display: inline-flex;}
1
+ :root { --space-size-mini-y: 4px; --space-size-mini-x: 4px; --space-size-small-y: 6px; --space-size-small-x: 6px; --space-size-normal-y: 8px; --space-size-normal-x: 12px; --space-size-large-y: 12px; --space-size-large-x: 20px;}.var-space { display: flex;}.var-space--inline { display: inline-flex;}.var-space--full { width: 100%;}