wacomm 2.27.1 → 2.27.2

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/dist/wacomm.es.js CHANGED
@@ -32988,10 +32988,7 @@ function zD({ locations: e }) {
32988
32988
  itemRenderer: ({ id: e, longitude: t, latitude: n, icon: r }) => /* @__PURE__ */ C("li", { children: /* @__PURE__ */ C(RD, {
32989
32989
  longitude: t,
32990
32990
  latitude: n,
32991
- children: /* @__PURE__ */ C("span", {
32992
- className: "text-xl",
32993
- children: r
32994
- })
32991
+ children: r
32995
32992
  }) }, e)
32996
32993
  });
32997
32994
  }
@@ -33033,7 +33030,7 @@ var BD = ({ lng: e, lat: t, zoom: n = 12, setCoordinates: r, locations: i = [],
33033
33030
  dn(t, e) && /* @__PURE__ */ C(FD, {
33034
33031
  longitude: e,
33035
33032
  latitude: t,
33036
- draggable: !0,
33033
+ draggable: !!r,
33037
33034
  onDragEnd: (e) => {
33038
33035
  let { lng: t, lat: n } = e.lngLat;
33039
33036
  r && r({
@@ -33042,7 +33039,7 @@ var BD = ({ lng: e, lat: t, zoom: n = 12, setCoordinates: r, locations: i = [],
33042
33039
  });
33043
33040
  },
33044
33041
  children: /* @__PURE__ */ C("span", {
33045
- className: "text-xl leading-none cursor-grab active:cursor-grabbing drop-shadow-[0_2px_3px_rgba(0,0,0,0.5)]",
33042
+ className: `text-xl leading-none drop-shadow-[0_2px_3px_rgba(0,0,0,0.5)] ${r ? "cursor-grab active:cursor-grabbing" : ""}`,
33046
33043
  children: "📌"
33047
33044
  })
33048
33045
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wacomm",
3
- "version": "2.27.1",
3
+ "version": "2.27.2",
4
4
  "main": "dist/wacomm.cjs.js",
5
5
  "module": "dist/wacomm.es.js",
6
6
  "types": "dist/index.d.ts",