@varlet/ui 2.9.2 → 2.9.3-alpha.1679304010895
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/es/collapse-item/CollapseItem.mjs +3 -3
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/varlet.esm.js +463 -463
- package/highlight/web-types.en-US.json +1 -1
- package/highlight/web-types.zh-CN.json +1 -1
- package/lib/varlet.cjs.js +3 -3
- package/package.json +6 -6
- package/umd/varlet.js +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, nextTick, watch, computed } from 'vue';
|
|
2
|
-
import { nextTickFrame
|
|
2
|
+
import { nextTickFrame } from '../utils/elements.mjs';
|
|
3
3
|
import { isArray } from '@varlet/shared';
|
|
4
4
|
import { createNamespace } from '../utils/components.mjs';
|
|
5
5
|
import { useCollapse } from './provide.mjs';
|
|
@@ -105,7 +105,7 @@ var __sfc__ = defineComponent({
|
|
|
105
105
|
offsetHeight
|
|
106
106
|
} = contentEl.value;
|
|
107
107
|
contentEl.value.style.height = 0 + 'px';
|
|
108
|
-
|
|
108
|
+
nextTickFrame(() => {
|
|
109
109
|
;
|
|
110
110
|
contentEl.value.style.height = offsetHeight + 'px';
|
|
111
111
|
if (!isInitToTrigger) return;
|
|
@@ -126,7 +126,7 @@ var __sfc__ = defineComponent({
|
|
|
126
126
|
offsetHeight
|
|
127
127
|
} = contentEl.value;
|
|
128
128
|
contentEl.value.style.height = offsetHeight + 'px';
|
|
129
|
-
|
|
129
|
+
nextTickFrame(() => {
|
|
130
130
|
;
|
|
131
131
|
contentEl.value.style.height = 0 + 'px';
|
|
132
132
|
});
|
package/es/index.bundle.mjs
CHANGED
|
@@ -241,7 +241,7 @@ import './time-picker/style/index.mjs'
|
|
|
241
241
|
import './tooltip/style/index.mjs'
|
|
242
242
|
import './uploader/style/index.mjs'
|
|
243
243
|
|
|
244
|
-
const version = '2.9.
|
|
244
|
+
const version = '2.9.3-alpha.1679304010895'
|
|
245
245
|
|
|
246
246
|
function install(app) {
|
|
247
247
|
ActionSheet.install && app.use(ActionSheet)
|
package/es/index.mjs
CHANGED
|
@@ -160,7 +160,7 @@ export * from './time-picker/index.mjs'
|
|
|
160
160
|
export * from './tooltip/index.mjs'
|
|
161
161
|
export * from './uploader/index.mjs'
|
|
162
162
|
|
|
163
|
-
const version = '2.9.
|
|
163
|
+
const version = '2.9.3-alpha.1679304010895'
|
|
164
164
|
|
|
165
165
|
function install(app) {
|
|
166
166
|
ActionSheet.install && app.use(ActionSheet)
|