@local-logic/maps 0.0.20 → 0.0.21
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/index-29Y5fJR0.js +24 -0
- package/dist/{index-h41HdBg1.js → index-6JzOJU8O.js} +1 -1
- package/dist/{index-DiCaFCSI.js → index-AcZakyxd.js} +4 -4
- package/dist/{index-BQ20UVWH.js → index-CqUTGwL0.js} +1 -1
- package/dist/{index-DD3i8r0F.js → index-Cwn0dgP_.js} +2 -2
- package/dist/{index-B8fs8nrA.js → index-D--WdzK4.js} +1 -1
- package/dist/{index-LU2s85nk.js → index-D1Phs0fA.js} +2 -2
- package/dist/{index-D0-MIbts.js → index-D1vI6Ww_.js} +1 -1
- package/dist/{index-C-sxmk7l.js → index-DKFcZs0A.js} +1 -1
- package/dist/{index-CSNuLBAd.js → index-DZTFM839.js} +1 -1
- package/dist/index-DdYanSGw.js +23 -0
- package/dist/index-Dxh7aMoG.js +23 -0
- package/dist/{index-oYRVzSxJ.js → index-_8n5sl1B.js} +2 -2
- package/dist/{index-D8HDei0S.js → index-_n1FGHXc.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +174 -174
- package/dist/src/components/Map/Root/CenterPin/Google/index.d.ts +1 -1
- package/dist/src/components/Map/Root/CenterPin/Google/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/CenterPin/Mapbox/index.d.ts +1 -1
- package/dist/src/components/Map/Root/CenterPin/Mapbox/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/CenterPin/Maptiler/index.d.ts +1 -1
- package/dist/src/components/Map/Root/CenterPin/Maptiler/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/CenterPin/types.d.ts +1 -0
- package/dist/src/components/Map/Root/CenterPin/types.d.ts.map +1 -1
- package/dist/styles-B8oT_wcC.js +2772 -0
- package/package.json +2 -1
- package/dist/index-B8yUQ1_f.js +0 -23
- package/dist/index-BG_F5Dkz.js +0 -23
- package/dist/index-C7cTTXxY.js +0 -24
- package/dist/styles-Do-o-qNU.js +0 -48
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@local-logic/maps",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"description": "This is a maps implementation allowing for the display of Local Logic data on a map.",
|
|
5
5
|
"author": "Local Logic",
|
|
6
6
|
"license": "ISC",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"maplibre-gl": "^5.9.0",
|
|
87
87
|
"react-map-gl": "^8.1.0",
|
|
88
88
|
"supercluster": "^8.0.1",
|
|
89
|
+
"tailwind-merge": "^3.3.1",
|
|
89
90
|
"use-supercluster": "^1.2.0"
|
|
90
91
|
}
|
|
91
92
|
}
|
package/dist/index-B8yUQ1_f.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsxs as i, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { a as o } from "./scale-control-Cflgzbvb.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import { c as n, b as e, S as r, o as s, i as c } from "./styles-Do-o-qNU.js";
|
|
5
|
-
function p({ marker: t }) {
|
|
6
|
-
return /* @__PURE__ */ i(
|
|
7
|
-
o,
|
|
8
|
-
{
|
|
9
|
-
anchor: "bottom",
|
|
10
|
-
longitude: t.longitude,
|
|
11
|
-
latitude: t.latitude,
|
|
12
|
-
className: n.trim(),
|
|
13
|
-
children: [
|
|
14
|
-
/* @__PURE__ */ a("span", { className: e, children: /* @__PURE__ */ a(r, {}) }),
|
|
15
|
-
/* @__PURE__ */ a(s, { className: c })
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
`center-pin-marker-${t.longitude}-${t.latitude}`
|
|
19
|
-
);
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
p as default
|
|
23
|
-
};
|
package/dist/index-BG_F5Dkz.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsxs as i, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { a as e } from "./logo-control-C5ZdRec5.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import { c as n, b as o, S as r, o as s, i as l } from "./styles-Do-o-qNU.js";
|
|
5
|
-
function p({ marker: t }) {
|
|
6
|
-
return /* @__PURE__ */ i(
|
|
7
|
-
e,
|
|
8
|
-
{
|
|
9
|
-
anchor: "bottom",
|
|
10
|
-
longitude: t.longitude,
|
|
11
|
-
latitude: t.latitude,
|
|
12
|
-
className: n.trim(),
|
|
13
|
-
children: [
|
|
14
|
-
/* @__PURE__ */ a("span", { className: o, children: /* @__PURE__ */ a(r, {}) }),
|
|
15
|
-
/* @__PURE__ */ a(s, { className: l })
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
`center-pin-marker-${t.longitude}-${t.latitude}`
|
|
19
|
-
);
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
p as default
|
|
23
|
-
};
|
package/dist/index-C7cTTXxY.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsxs as e, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { a as i } from "./index.modern-fpUBOYPT.js";
|
|
3
|
-
import { c as t, b as o, S as s, o as r, i as l } from "./styles-Do-o-qNU.js";
|
|
4
|
-
function u({ marker: n }) {
|
|
5
|
-
return /* @__PURE__ */ e(
|
|
6
|
-
i,
|
|
7
|
-
{
|
|
8
|
-
position: {
|
|
9
|
-
lat: n.latitude,
|
|
10
|
-
lng: n.longitude
|
|
11
|
-
},
|
|
12
|
-
className: t.trim(),
|
|
13
|
-
zIndex: 10,
|
|
14
|
-
children: [
|
|
15
|
-
/* @__PURE__ */ a("span", { className: o, children: /* @__PURE__ */ a(s, {}) }),
|
|
16
|
-
/* @__PURE__ */ a(r, { className: l })
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
`center-pin-marker-${n.longitude}-${n.latitude}`
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
u as default
|
|
24
|
-
};
|
package/dist/styles-Do-o-qNU.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as e from "react";
|
|
2
|
-
import { p as l } from "./IconBase.es-rM5tt24D.js";
|
|
3
|
-
const n = /* @__PURE__ */ new Map([
|
|
4
|
-
[
|
|
5
|
-
"bold",
|
|
6
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M240,204H228V144a12,12,0,0,0,12.49-19.78L142.14,25.85a20,20,0,0,0-28.28,0L15.51,124.2A12,12,0,0,0,28,144v60H16a12,12,0,0,0,0,24H240a12,12,0,0,0,0-24ZM52,121.65l76-76,76,76V204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52ZM140,204H116V164h24Z" }))
|
|
7
|
-
],
|
|
8
|
-
[
|
|
9
|
-
"duotone",
|
|
10
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
11
|
-
"path",
|
|
12
|
-
{
|
|
13
|
-
d: "M216,116.69V216H152V152H104v64H40V116.69l82.34-82.35a8,8,0,0,1,11.32,0Z",
|
|
14
|
-
opacity: "0.2"
|
|
15
|
-
}
|
|
16
|
-
), /* @__PURE__ */ e.createElement("path", { d: "M240,208H224V136l2.34,2.34A8,8,0,0,0,237.66,127L139.31,28.68a16,16,0,0,0-22.62,0L18.34,127a8,8,0,0,0,11.32,11.31L32,136v72H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM48,120l80-80,80,80v88H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48Zm96,88H112V160h32Z" }))
|
|
17
|
-
],
|
|
18
|
-
[
|
|
19
|
-
"fill",
|
|
20
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M240,208H224V136l2.34,2.34A8,8,0,0,0,237.66,127L139.31,28.68a16,16,0,0,0-22.62,0L18.34,127a8,8,0,0,0,11.32,11.31L32,136v72H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16Zm-88,0H104V160a4,4,0,0,1,4-4h40a4,4,0,0,1,4,4Z" }))
|
|
21
|
-
],
|
|
22
|
-
[
|
|
23
|
-
"light",
|
|
24
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M240,210H222V131.17l5.76,5.76a6,6,0,0,0,8.48-8.49L137.9,30.09a14,14,0,0,0-19.8,0L19.76,128.44a6,6,0,0,0,8.48,8.49L34,131.17V210H16a6,6,0,0,0,0,12H240a6,6,0,0,0,0-12ZM46,119.17l80.58-80.59a2,2,0,0,1,2.84,0L210,119.17V210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46ZM146,210H110V158h36Z" }))
|
|
25
|
-
],
|
|
26
|
-
[
|
|
27
|
-
"regular",
|
|
28
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M240,208H224V136l2.34,2.34A8,8,0,0,0,237.66,127L139.31,28.68a16,16,0,0,0-22.62,0L18.34,127a8,8,0,0,0,11.32,11.31L32,136v72H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM48,120l80-80,80,80v88H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48Zm96,88H112V160h32Z" }))
|
|
29
|
-
],
|
|
30
|
-
[
|
|
31
|
-
"thin",
|
|
32
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M240,212H220V126.34l9.17,9.17a4,4,0,1,0,5.66-5.66L136.49,31.51a12,12,0,0,0-17,0L21.17,129.85a4,4,0,1,0,5.66,5.66L36,126.34V212H16a4,4,0,0,0,0,8H240a4,4,0,0,0,0-8ZM44,118.34l81.17-81.17a4,4,0,0,1,5.66,0L212,118.34V212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44ZM148,212H108V156h40Z" }))
|
|
33
|
-
]
|
|
34
|
-
]), r = e.forwardRef((a, t) => /* @__PURE__ */ e.createElement(l, { ref: t, ...a, weights: n }));
|
|
35
|
-
r.displayName = "HouseLineIcon";
|
|
36
|
-
const m = (a) => /* @__PURE__ */ e.createElement("svg", { width: 34, height: 41, viewBox: "0 0 34 41", fill: "inherit", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17 0C26.3888 0 34 7.61116 34 17C34 24.1987 29.5256 30.3524 23.2061 32.8316L17.9683 39.991C17.8591 40.1409 17.7141 40.2632 17.5456 40.3476C17.377 40.4321 17.1899 40.4762 17 40.4762C16.8101 40.4762 16.623 40.4321 16.4544 40.3476C16.2859 40.2632 16.1409 40.1409 16.0317 39.991L10.7939 32.8316C4.47445 30.3524 0 24.1987 0 17C0 7.61116 7.61116 0 17 0Z", fill: "currentColor" })), c = `
|
|
37
|
-
relative flex items-center justify-center z-10 w-fit
|
|
38
|
-
`, o = "text-primary-100", i = `
|
|
39
|
-
w-5 h-5 fill-base-white
|
|
40
|
-
absolute top-1.5 left-1/2 transform -translate-x-1/2
|
|
41
|
-
`;
|
|
42
|
-
export {
|
|
43
|
-
m as S,
|
|
44
|
-
o as b,
|
|
45
|
-
c,
|
|
46
|
-
i,
|
|
47
|
-
r as o
|
|
48
|
-
};
|