qc-ui-lit 0.0.6 → 0.0.7

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.
@@ -5,7 +5,9 @@ import { customElement as i } from "lit/decorators.js";
5
5
  var a = class extends t {
6
6
  constructor(...e) {
7
7
  super(...e), this.resizeObserver = new ResizeObserver((e) => {
8
- this.dispatchEvent(new CustomEvent("resize", { detail: { rect: e[0].contentRect } }));
8
+ setTimeout(() => {
9
+ this.dispatchEvent(new CustomEvent("resize", { detail: { rect: e[0].contentRect } }));
10
+ });
9
11
  });
10
12
  }
11
13
  firstUpdated() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qc-ui-lit",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "基于 Lit 的 Web Components 组件库",
5
5
  "author": "",
6
6
  "license": "MIT",