@arenarium/maps 1.0.22 → 1.0.24
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/README.md +1 -1
- package/dist/index.d.ts +49 -6
- package/dist/index.es.js +28046 -0
- package/dist/index.umd.js +729 -0
- package/dist/style.css +1 -1
- package/package.json +16 -12
- package/dist/index.js +0 -728
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -29,10 +29,39 @@ declare const mapOptionsSchema: z.ZodObject<{
|
|
|
29
29
|
};
|
|
30
30
|
zoom: number;
|
|
31
31
|
}>;
|
|
32
|
-
theme: z.
|
|
33
|
-
z.
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
theme: z.ZodObject<{
|
|
33
|
+
name: z.ZodUnion<[
|
|
34
|
+
z.ZodLiteral<"dark">,
|
|
35
|
+
z.ZodLiteral<"light">
|
|
36
|
+
]>;
|
|
37
|
+
colors: z.ZodObject<{
|
|
38
|
+
primary: z.ZodString;
|
|
39
|
+
background: z.ZodString;
|
|
40
|
+
text: z.ZodString;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
primary: string;
|
|
43
|
+
background: string;
|
|
44
|
+
text: string;
|
|
45
|
+
}, {
|
|
46
|
+
primary: string;
|
|
47
|
+
background: string;
|
|
48
|
+
text: string;
|
|
49
|
+
}>;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
name: "dark" | "light";
|
|
52
|
+
colors: {
|
|
53
|
+
primary: string;
|
|
54
|
+
background: string;
|
|
55
|
+
text: string;
|
|
56
|
+
};
|
|
57
|
+
}, {
|
|
58
|
+
name: "dark" | "light";
|
|
59
|
+
colors: {
|
|
60
|
+
primary: string;
|
|
61
|
+
background: string;
|
|
62
|
+
text: string;
|
|
63
|
+
};
|
|
64
|
+
}>;
|
|
36
65
|
}, "strip", z.ZodTypeAny, {
|
|
37
66
|
container: string;
|
|
38
67
|
position: {
|
|
@@ -42,7 +71,14 @@ declare const mapOptionsSchema: z.ZodObject<{
|
|
|
42
71
|
};
|
|
43
72
|
zoom: number;
|
|
44
73
|
};
|
|
45
|
-
theme:
|
|
74
|
+
theme: {
|
|
75
|
+
name: "dark" | "light";
|
|
76
|
+
colors: {
|
|
77
|
+
primary: string;
|
|
78
|
+
background: string;
|
|
79
|
+
text: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
46
82
|
}, {
|
|
47
83
|
container: string;
|
|
48
84
|
position: {
|
|
@@ -52,7 +88,14 @@ declare const mapOptionsSchema: z.ZodObject<{
|
|
|
52
88
|
};
|
|
53
89
|
zoom: number;
|
|
54
90
|
};
|
|
55
|
-
theme:
|
|
91
|
+
theme: {
|
|
92
|
+
name: "dark" | "light";
|
|
93
|
+
colors: {
|
|
94
|
+
primary: string;
|
|
95
|
+
background: string;
|
|
96
|
+
text: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
56
99
|
}>;
|
|
57
100
|
export type MapOptions = z.infer<typeof mapOptionsSchema>;
|
|
58
101
|
export declare function mountMap(options: MapOptions): {
|