@local-logic/maps 0.1.3 → 0.1.4
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-zqYpD_YN.js → index--PIAfLjo.js} +2 -2
- package/dist/{index-Deqck8KU.js → index-0EkdzCyN.js} +12 -11
- package/dist/index-BO34uKgS.js +16 -0
- package/dist/{index-CyFpPXRS.js → index-BY_xYg2p.js} +12 -11
- package/dist/{index-CzqD82Cl.js → index-BnTZMzoy.js} +2 -2
- package/dist/index-C0inY_TA.js +41 -0
- package/dist/index-CHdAT424.js +44 -0
- package/dist/{index-J8lmJ6Xj.js → index-CNP-c5ZB.js} +205 -194
- package/dist/index-COB6j_V1.js +25 -0
- package/dist/{index-CFioISlP.js → index-CZPGxjSJ.js} +11 -10
- package/dist/index-D4t3jFAj.js +35 -0
- package/dist/index-DEFuc-6u.js +78 -0
- package/dist/index-DXT59VJA.js +29 -0
- package/dist/{index-VFglx6lb.js → index-GoHd1Tri.js} +2 -2
- package/dist/{index-NMqp09ek.js → index-MZUXTR07.js} +1 -1
- package/dist/{index-Bm2KdhhT.js → index-QxKYqddl.js} +1 -1
- package/dist/{index-B1dI6iqp.js → index-zzok3ruU.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +62 -7
- package/dist/src/components/Map/Root/BaseMap/Testing/index.d.ts +4 -0
- package/dist/src/components/Map/Root/BaseMap/Testing/index.d.ts.map +1 -0
- package/dist/src/components/Map/Root/BaseMap/Testing/styles.d.ts +4 -0
- package/dist/src/components/Map/Root/BaseMap/Testing/styles.d.ts.map +1 -0
- package/dist/src/components/Map/Root/BaseMap/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/CenterPin/Testing/index.d.ts +4 -0
- package/dist/src/components/Map/Root/CenterPin/Testing/index.d.ts.map +1 -0
- package/dist/src/components/Map/Root/CenterPin/Testing/styles.d.ts +2 -0
- package/dist/src/components/Map/Root/CenterPin/Testing/styles.d.ts.map +1 -0
- package/dist/src/components/Map/Root/CenterPin/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/Layers/Testing/index.d.ts +4 -0
- package/dist/src/components/Map/Root/Layers/Testing/index.d.ts.map +1 -0
- package/dist/src/components/Map/Root/Layers/Testing/styles.d.ts +9 -0
- package/dist/src/components/Map/Root/Layers/Testing/styles.d.ts.map +1 -0
- package/dist/src/components/Map/Root/Layers/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/Markers/Testing/index.d.ts +4 -0
- package/dist/src/components/Map/Root/Markers/Testing/index.d.ts.map +1 -0
- package/dist/src/components/Map/Root/Markers/Testing/styles.d.ts +7 -0
- package/dist/src/components/Map/Root/Markers/Testing/styles.d.ts.map +1 -0
- package/dist/src/components/Map/Root/Markers/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/Popup/Testing/index.d.ts +4 -0
- package/dist/src/components/Map/Root/Popup/Testing/index.d.ts.map +1 -0
- package/dist/src/components/Map/Root/Popup/Testing/styles.d.ts +5 -0
- package/dist/src/components/Map/Root/Popup/Testing/styles.d.ts.map +1 -0
- package/dist/src/components/Map/Root/Popup/index.d.ts.map +1 -1
- package/dist/src/components/Map/Root/constants.d.ts +1 -0
- package/dist/src/components/Map/Root/constants.d.ts.map +1 -1
- package/dist/src/components/Map/Root/types.d.ts +1 -1
- package/dist/src/components/Map/Root/types.d.ts.map +1 -1
- package/dist/src/components/Map/index.stories.d.ts +3 -0
- package/dist/src/components/Map/index.stories.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/{styles-J872R1eq.js → styles-DvWVFFVb.js} +1 -1
- package/package.json +2 -1
- package/dist/index-HWDZde-a.js +0 -75
- package/dist/index-qqbvBkdn.js +0 -7
- package/dist/src/components/Map/Root/BaseMap/Empty/index.d.ts +0 -3
- package/dist/src/components/Map/Root/BaseMap/Empty/index.d.ts.map +0 -1
package/dist/index-HWDZde-a.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { jsx as r, jsxs as l, Fragment as d } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo as f } from "react";
|
|
3
|
-
import { u as h, M as n } from "./index-J8lmJ6Xj.js";
|
|
4
|
-
import { MapPinIcon as g } from "@phosphor-icons/react";
|
|
5
|
-
const a = `
|
|
6
|
-
group/marker cursor-pointer rounded-full
|
|
7
|
-
relative h-7 w-7 flex items-center justify-center
|
|
8
|
-
text-base-white ring-1 ring-inset
|
|
9
|
-
transition-colors
|
|
10
|
-
|
|
11
|
-
bg-[var(--background,theme(colors.base.white))]
|
|
12
|
-
ring-[var(--fill,theme(colors.primary.100))]
|
|
13
|
-
|
|
14
|
-
hover:bg-[var(--fill,theme(colors.primary.100))]
|
|
15
|
-
|
|
16
|
-
data-[is-zoomed-out=true]:bg-[var(--fill,theme(colors.primary.100))]
|
|
17
|
-
data-[is-zoomed-out=true]:h-4
|
|
18
|
-
data-[is-zoomed-out=true]:w-4
|
|
19
|
-
|
|
20
|
-
data-[is-active=true]:bg-[var(--fill,theme(colors.primary.100))]
|
|
21
|
-
`, m = `
|
|
22
|
-
m-auto transition-all w-4 h-4
|
|
23
|
-
|
|
24
|
-
fill-[var(--fill,theme(colors.primary.100))]
|
|
25
|
-
group-hover/marker:fill-[var(--background,theme(colors.base.white))]
|
|
26
|
-
|
|
27
|
-
group-data-[is-zoomed-out=true]/marker:hidden
|
|
28
|
-
|
|
29
|
-
group-data-[is-active=true]/marker:fill-[var(--background,theme(colors.base.white))]
|
|
30
|
-
`;
|
|
31
|
-
function v({ icon: e }) {
|
|
32
|
-
return typeof e < "u" ? /* @__PURE__ */ r(e, { className: m }) : /* @__PURE__ */ r(g, { className: m });
|
|
33
|
-
}
|
|
34
|
-
const p = `
|
|
35
|
-
relative flex
|
|
36
|
-
`, c = `
|
|
37
|
-
-ml-6 -z-10 last:-z-20
|
|
38
|
-
`;
|
|
39
|
-
function M({
|
|
40
|
-
isActive: e = !1,
|
|
41
|
-
colors: t,
|
|
42
|
-
icon: u
|
|
43
|
-
}) {
|
|
44
|
-
const { zoom: o, mapProvider: i } = h(), s = f(() => i.name === "google" ? o - 1 < n + 1 : o < n, [o, i]);
|
|
45
|
-
return /* @__PURE__ */ l(
|
|
46
|
-
"div",
|
|
47
|
-
{
|
|
48
|
-
className: p,
|
|
49
|
-
style: {
|
|
50
|
-
"--background": t?.background,
|
|
51
|
-
"--fill": t?.fill
|
|
52
|
-
},
|
|
53
|
-
children: [
|
|
54
|
-
/* @__PURE__ */ r(
|
|
55
|
-
"div",
|
|
56
|
-
{
|
|
57
|
-
className: a,
|
|
58
|
-
"data-is-zoomed-out": s,
|
|
59
|
-
"data-is-active": e,
|
|
60
|
-
children: /* @__PURE__ */ r(v, { icon: u })
|
|
61
|
-
}
|
|
62
|
-
),
|
|
63
|
-
!s && /* @__PURE__ */ l(d, { children: [
|
|
64
|
-
/* @__PURE__ */ r("div", { className: `${a} ${c}` }),
|
|
65
|
-
/* @__PURE__ */ r("div", { className: `${a} ${c}` })
|
|
66
|
-
] })
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
export {
|
|
72
|
-
M as C,
|
|
73
|
-
v as M,
|
|
74
|
-
a as c
|
|
75
|
-
};
|
package/dist/index-qqbvBkdn.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/Root/BaseMap/Empty/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,OAAO,UAAU,YAAY,sBAEnC"}
|