@conboai/storybook.components 0.3.6 → 0.3.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.
@@ -78268,13 +78268,14 @@ const One = ({
78268
78268
  Nc.isNil(O) || (f(O), s == null || s(I));
78269
78269
  };
78270
78270
  return Le(() => {
78271
+ var O, M;
78271
78272
  const I = A || (i == null ? void 0 : i[0]);
78272
78273
  if ((I == null ? void 0 : I.type) === Fo.Polygon && v) {
78273
- const O = rte((I == null ? void 0 : I.coordinates) || []);
78274
- O && (b == null || b.panTo(O));
78274
+ const S = rte((I == null ? void 0 : I.coordinates) || []);
78275
+ S && ((O = b == null ? void 0 : b.panTo) == null || O.call(b, S));
78275
78276
  } else if ((I == null ? void 0 : I.type) === Fo.Polyline && v) {
78276
- const O = ite((I == null ? void 0 : I.coordinates) || []);
78277
- O && (b == null || b.panTo(O));
78277
+ const S = ite((I == null ? void 0 : I.coordinates) || []);
78278
+ S && ((M = b == null ? void 0 : b.panTo) == null || M.call(b, S));
78278
78279
  }
78279
78280
  I != null && I.coordinates && h && ote(b, I.coordinates);
78280
78281
  }, [A, i, b, h, v]), /* @__PURE__ */ ee.jsxs(It, { sx: { width: "100%", height: "100%", position: "relative" }, children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/storybook.components",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "main": "dist/storybook.components.mjs",
5
5
  "types": "dist/build/index.d.ts",
6
6
  "files": [