@varlet/ui 3.3.6-alpha.1720620017198 → 3.3.7-alpha.1721204330710

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/README.md CHANGED
@@ -148,14 +148,6 @@ We recommend that [issue](https://github.com/varletjs/varlet/issues) be used for
148
148
  <img src="https://cdn.jsdelivr.net/gh/varletjs/varlet-static/sponsorkit/sponsors.svg">
149
149
  </a>
150
150
 
151
- ### Sponsor this project
152
-
153
- Sponsor this project to support our better creation. It is recommended to use afdian to subscribe, and your avatar will appear in this project.
154
-
155
- #### Afdian
156
-
157
- <a href="https://afdian.net/a/haoziqaq">https://afdian.net/a/haoziqaq</a>
158
-
159
151
  #### Wechat / Alipay
160
152
 
161
153
  <img style="width: 25%" src="https://cdn.jsdelivr.net/gh/varletjs/varlet-static/wechat.jpg" />
package/README.zh-CN.md CHANGED
@@ -150,11 +150,7 @@ createApp(App).use(Varlet).mount('#app')
150
150
 
151
151
  ### 赞助本项目
152
152
 
153
- 赞助本项目,支持我们更好的创作。推荐使用爱发电进行订阅,您的头像将出现在本项目中。
154
-
155
- #### 爱发电
156
-
157
- <a href="https://afdian.net/a/haoziqaq">https://afdian.net/a/haoziqaq</a>
153
+ 赞助本项目,支持我们更好的创作。
158
154
 
159
155
  #### 微信 / 支付宝
160
156
 
@@ -3,5 +3,5 @@ import '../../icon/icon.css'
3
3
  import '../../ripple/ripple.css'
4
4
  import '../../popup/popup.css'
5
5
  import '../actionSheet.css'
6
- import '../ActionItemSfc.css'
7
6
  import '../ActionSheetSfc.css'
7
+ import '../ActionItemSfc.css'
@@ -265,7 +265,7 @@ import './tooltip/style/index.mjs'
265
265
  import './uploader/style/index.mjs'
266
266
  import './watermark/style/index.mjs'
267
267
 
268
- const version = '3.3.6-alpha.1720620017198'
268
+ const version = '3.3.7-alpha.1721204330710'
269
269
 
270
270
  function install(app) {
271
271
  ActionSheet.install && app.use(ActionSheet)
package/es/index.mjs CHANGED
@@ -176,7 +176,7 @@ export * from './tooltip/index.mjs'
176
176
  export * from './uploader/index.mjs'
177
177
  export * from './watermark/index.mjs'
178
178
 
179
- const version = '3.3.6-alpha.1720620017198'
179
+ const version = '3.3.7-alpha.1721204330710'
180
180
 
181
181
  function install(app) {
182
182
  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'
@@ -93,7 +93,9 @@ function mount(component) {
93
93
  instance: app.mount(host),
94
94
  unmount() {
95
95
  app.unmount();
96
- document.body.removeChild(host);
96
+ if (host.parentNode) {
97
+ document.body.removeChild(host);
98
+ }
97
99
  }
98
100
  };
99
101
  }