declarative-ui-core 1.0.7 → 1.0.8

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -297,7 +297,7 @@ function Q({ page: i, componentId: t, component: e }) {
297
297
  } catch {
298
298
  }
299
299
  };
300
- return p.once("style.load", k), f.current = p, () => {
300
+ return p.on("styledata", k), p.once("load", k), f.current = p, () => {
301
301
  h.current.forEach((M) => M.remove()), h.current = [], f.current = null, p.remove();
302
302
  };
303
303
  }
@@ -339,7 +339,7 @@ function Q({ page: i, componentId: t, component: e }) {
339
339
  d.once("style.load", L), d.once("load", p);
340
340
  const m = setTimeout(() => {
341
341
  d.isStyleLoaded() && (console.log("[MapLibreGL] Fallback timer applying data layer"), a());
342
- }, 1e3);
342
+ }, 2e3);
343
343
  return () => {
344
344
  clearTimeout(m);
345
345
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "declarative-ui-core",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",