@elaraai/east-ui 1.0.14 → 1.0.16

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.
Files changed (89) hide show
  1. package/dist/src/charts/chart/index.d.ts +22 -0
  2. package/dist/src/charts/chart/index.d.ts.map +1 -1
  3. package/dist/src/charts/chart/index.js +17 -5
  4. package/dist/src/charts/chart/index.js.map +1 -1
  5. package/dist/src/charts/spec/index.d.ts +23 -0
  6. package/dist/src/charts/spec/index.d.ts.map +1 -1
  7. package/dist/src/charts/spec/types.d.ts +12 -0
  8. package/dist/src/charts/spec/types.d.ts.map +1 -1
  9. package/dist/src/charts/spec/types.js +3 -0
  10. package/dist/src/charts/spec/types.js.map +1 -1
  11. package/dist/src/collections/index.d.ts +1 -0
  12. package/dist/src/collections/index.d.ts.map +1 -1
  13. package/dist/src/collections/index.js +1 -0
  14. package/dist/src/collections/index.js.map +1 -1
  15. package/dist/src/collections/map/index.d.ts +1183 -0
  16. package/dist/src/collections/map/index.d.ts.map +1 -0
  17. package/dist/src/collections/map/index.js +805 -0
  18. package/dist/src/collections/map/index.js.map +1 -0
  19. package/dist/src/collections/map/types.d.ts +589 -0
  20. package/dist/src/collections/map/types.d.ts.map +1 -0
  21. package/dist/src/collections/map/types.js +318 -0
  22. package/dist/src/collections/map/types.js.map +1 -0
  23. package/dist/src/component.d.ts +243 -0
  24. package/dist/src/component.d.ts.map +1 -1
  25. package/dist/src/component.js +36 -0
  26. package/dist/src/component.js.map +1 -1
  27. package/dist/src/index.d.ts +1 -1
  28. package/dist/src/index.d.ts.map +1 -1
  29. package/dist/src/index.js +1 -1
  30. package/dist/src/index.js.map +1 -1
  31. package/dist/src/internal.d.ts +1 -1
  32. package/dist/src/internal.d.ts.map +1 -1
  33. package/dist/src/internal.js +1 -1
  34. package/dist/src/internal.js.map +1 -1
  35. package/dist/src/platform/slice/impl.d.ts +1 -0
  36. package/dist/src/platform/slice/impl.d.ts.map +1 -1
  37. package/dist/src/platform/slice/impl.js +2 -2
  38. package/dist/src/platform/slice/impl.js.map +1 -1
  39. package/dist/src/platform/slice/index.d.ts +12 -0
  40. package/dist/src/platform/slice/index.d.ts.map +1 -1
  41. package/dist/src/platform/slice/index.js +3 -0
  42. package/dist/src/platform/slice/index.js.map +1 -1
  43. package/dist/src/runtime/collections/index.d.ts +1 -0
  44. package/dist/src/runtime/collections/index.d.ts.map +1 -1
  45. package/dist/src/runtime/collections/index.js +1 -0
  46. package/dist/src/runtime/collections/index.js.map +1 -1
  47. package/dist/src/runtime/collections/map.d.ts +74 -0
  48. package/dist/src/runtime/collections/map.d.ts.map +1 -0
  49. package/dist/src/runtime/collections/map.js +70 -0
  50. package/dist/src/runtime/collections/map.js.map +1 -0
  51. package/dist/src/slice/breakdown/index.d.ts +1 -0
  52. package/dist/src/slice/breakdown/index.d.ts.map +1 -1
  53. package/dist/src/slice/breakdown/types.d.ts +1 -0
  54. package/dist/src/slice/breakdown/types.d.ts.map +1 -1
  55. package/dist/src/slice/cohort/index.d.ts +1 -0
  56. package/dist/src/slice/cohort/index.d.ts.map +1 -1
  57. package/dist/src/slice/cohort/types.d.ts +1 -0
  58. package/dist/src/slice/cohort/types.d.ts.map +1 -1
  59. package/dist/src/slice/filter/index.d.ts +1 -0
  60. package/dist/src/slice/filter/index.d.ts.map +1 -1
  61. package/dist/src/slice/filter/types.d.ts +1 -0
  62. package/dist/src/slice/filter/types.d.ts.map +1 -1
  63. package/dist/src/slice/index.d.ts +12 -0
  64. package/dist/src/slice/index.d.ts.map +1 -1
  65. package/dist/src/slice/legend/index.d.ts +1 -0
  66. package/dist/src/slice/legend/index.d.ts.map +1 -1
  67. package/dist/src/slice/legend/types.d.ts +1 -0
  68. package/dist/src/slice/legend/types.d.ts.map +1 -1
  69. package/dist/src/slice/range/index.d.ts +1 -0
  70. package/dist/src/slice/range/index.d.ts.map +1 -1
  71. package/dist/src/slice/range/types.d.ts +1 -0
  72. package/dist/src/slice/range/types.d.ts.map +1 -1
  73. package/dist/src/slice/search/index.d.ts +1 -0
  74. package/dist/src/slice/search/index.d.ts.map +1 -1
  75. package/dist/src/slice/search/types.d.ts +1 -0
  76. package/dist/src/slice/search/types.d.ts.map +1 -1
  77. package/dist/src/slice/summary/index.d.ts +1 -0
  78. package/dist/src/slice/summary/index.d.ts.map +1 -1
  79. package/dist/src/slice/summary/types.d.ts +1 -0
  80. package/dist/src/slice/summary/types.d.ts.map +1 -1
  81. package/dist/test/charts/chart.examples.d.ts +1 -0
  82. package/dist/test/charts/chart.examples.d.ts.map +1 -1
  83. package/dist/test/charts/chart.examples.js +15 -0
  84. package/dist/test/charts/chart.examples.js.map +1 -1
  85. package/dist/test/collections/map.examples.d.ts +8 -0
  86. package/dist/test/collections/map.examples.d.ts.map +1 -0
  87. package/dist/test/collections/map.examples.js +150 -0
  88. package/dist/test/collections/map.examples.js.map +1 -0
  89. package/package.json +3 -3
@@ -0,0 +1,318 @@
1
+ /**
2
+ * Copyright (c) 2025 Elara AI Pty Ltd
3
+ * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
+ */
5
+ import { ArrayType, BooleanType, FloatType, IntegerType, NullType, OptionType, StringType, StructType, VariantType, } from "@elaraai/east";
6
+ import { StatusTokenType } from "../../style/interaction.js";
7
+ /**
8
+ * A geographic point.
9
+ *
10
+ * @remarks
11
+ * Leaflet's coordinate order is `[lat, lng]` and H3 cell boundaries match,
12
+ * so values flow straight through to the renderer with no swap.
13
+ *
14
+ * @property lat - Latitude in degrees
15
+ * @property lng - Longitude in degrees
16
+ */
17
+ export const MapLatLngType = StructType({
18
+ /** Latitude in degrees */
19
+ lat: FloatType,
20
+ /** Longitude in degrees */
21
+ lng: FloatType,
22
+ });
23
+ /**
24
+ * Theme tone for area fills, hex strokes, markers, and lines.
25
+ *
26
+ * @remarks
27
+ * Colour stays theme-owned: data selects a tone and the renderer's recipe
28
+ * maps each tone to its token.
29
+ *
30
+ * @property brand - Brand teal
31
+ * @property ink - Foreground ink
32
+ * @property muted - Muted foreground
33
+ * @property success - Status ok
34
+ * @property warning - Status warn
35
+ * @property danger - Status bad
36
+ */
37
+ export const MapToneType = VariantType({
38
+ /** Brand teal */
39
+ brand: NullType,
40
+ /** Foreground ink */
41
+ ink: NullType,
42
+ /** Muted foreground */
43
+ muted: NullType,
44
+ /** Status ok */
45
+ success: NullType,
46
+ /** Status warn */
47
+ warning: NullType,
48
+ /** Status bad */
49
+ danger: NullType,
50
+ });
51
+ /**
52
+ * CARTO raster basemap preset.
53
+ *
54
+ * @property positron - Light, low-saturation base (default)
55
+ * @property darkMatter - Dark base
56
+ * @property voyager - Balanced colour base
57
+ */
58
+ export const MapCartoStyleType = VariantType({
59
+ /** Light, low-saturation base (default) */
60
+ positron: NullType,
61
+ /** Dark base */
62
+ darkMatter: NullType,
63
+ /** Balanced colour base */
64
+ voyager: NullType,
65
+ });
66
+ /**
67
+ * Basemap source — closed CARTO / OSM presets plus a raw XYZ escape hatch.
68
+ *
69
+ * @remarks
70
+ * The `custom` case keeps `attribution` required: tile providers (CARTO,
71
+ * OSM) require their credit to stay visible.
72
+ *
73
+ * @property carto - A CARTO raster preset
74
+ * @property osm - OpenStreetMap standard raster tiles
75
+ * @property custom - A raw XYZ tile template with explicit attribution
76
+ */
77
+ export const MapTileType = VariantType({
78
+ /** A CARTO raster preset */
79
+ carto: StructType({
80
+ /** The CARTO preset */
81
+ style: MapCartoStyleType,
82
+ }),
83
+ /** OpenStreetMap standard raster tiles */
84
+ osm: NullType,
85
+ /** A raw XYZ tile template with explicit attribution */
86
+ custom: StructType({
87
+ /** XYZ tile URL template (e.g. `https://{s}.tiles.example/{z}/{x}/{y}.png`) */
88
+ url: StringType,
89
+ /** Attribution HTML kept visible in the corner */
90
+ attribution: StringType,
91
+ /** Optional `{s}` subdomain list (default none) */
92
+ subdomains: OptionType(ArrayType(StringType)),
93
+ /** Optional max zoom for the layer (default the map's `maxZoom`) */
94
+ maxZoom: OptionType(IntegerType),
95
+ /** Optional retina `{r}` tiles (default off) */
96
+ detectRetina: OptionType(BooleanType),
97
+ }),
98
+ });
99
+ /**
100
+ * A `flyTo` / `fitBounds` camera target.
101
+ *
102
+ * @property point - Centre on a point at a zoom level
103
+ * @property bounds - Frame a south-west / north-east bounding box
104
+ */
105
+ export const MapFocusType = VariantType({
106
+ /** Centre on a point at a zoom level */
107
+ point: StructType({
108
+ /** The centre */
109
+ center: MapLatLngType,
110
+ /** The zoom level to settle at */
111
+ zoom: IntegerType,
112
+ }),
113
+ /** Frame a south-west / north-east bounding box */
114
+ bounds: StructType({
115
+ /** South-west corner */
116
+ sw: MapLatLngType,
117
+ /** North-east corner */
118
+ ne: MapLatLngType,
119
+ }),
120
+ });
121
+ /**
122
+ * An area boundary — an H3 disk, an explicit ring, or explicit H3 cell ids.
123
+ *
124
+ * @remarks
125
+ * The value stores H3 *inputs* (centre / `k` / resolution, or cell ids), not
126
+ * expanded boundary coordinates — the renderer owns `h3-js` and computes the
127
+ * rings, keeping the serialized value small.
128
+ *
129
+ * @property hexDisk - A `gridDisk(origin, k)` blob at a resolution
130
+ * @property polygon - An explicit ring of points
131
+ * @property cells - Explicit H3 cell ids
132
+ */
133
+ export const MapAreaShapeType = VariantType({
134
+ /** A `gridDisk(origin, k)` blob at a resolution */
135
+ hexDisk: StructType({
136
+ /** The disk origin */
137
+ center: MapLatLngType,
138
+ /** Ring count (`k`) around the origin */
139
+ k: IntegerType,
140
+ /** H3 resolution */
141
+ resolution: IntegerType,
142
+ }),
143
+ /** An explicit ring of points */
144
+ polygon: ArrayType(MapLatLngType),
145
+ /** Explicit H3 cell ids */
146
+ cells: ArrayType(StringType),
147
+ });
148
+ /**
149
+ * A filled, clickable area (e.g. a postcode).
150
+ *
151
+ * @remarks
152
+ * `status` drives both colour and the pulse animation; `bad` ⇒ red pulse,
153
+ * `success` / `info` ⇒ teal pulse, neutral ⇒ static.
154
+ *
155
+ * @property key - Area identity — `onAreaClick` returns it; `flyTo` target id
156
+ * @property shape - The H3 / polygon boundary
157
+ * @property label - Optional permanent tooltip
158
+ * @property detailLabel - Optional richer label shown only at/after `lodZoom`
159
+ * @property status - Optional status token; drives colour + pulse
160
+ * @property tone - Optional explicit tone override; absent ⇒ `status` drives colour
161
+ * @property color - Optional raw CSS colour; wins over `tone`
162
+ * @property fillOpacity - Optional fill alpha (0–1)
163
+ * @property weight - Optional stroke width in px
164
+ * @property pulse - Optional explicit pulse override; absent ⇒ derived from `status`
165
+ * @property flyTo - Optional click camera target; absent ⇒ frame the shape
166
+ * @property interactive - Optional click flag; absent ⇒ derived (clickable only when `onAreaClick`/`onSelect`/`flyTo` is set)
167
+ */
168
+ export const MapAreaType = StructType({
169
+ /** Area identity — `onAreaClick` returns it; `flyTo` target id */
170
+ key: StringType,
171
+ /** The H3 / polygon boundary */
172
+ shape: MapAreaShapeType,
173
+ /** Optional permanent tooltip */
174
+ label: OptionType(StringType),
175
+ /** Optional richer label shown only at/after `lodZoom` */
176
+ detailLabel: OptionType(StringType),
177
+ /** Optional status token; drives colour + pulse */
178
+ status: OptionType(StatusTokenType),
179
+ /** Optional explicit tone override; absent ⇒ `status` drives colour */
180
+ tone: OptionType(MapToneType),
181
+ /** Optional raw CSS colour (e.g. `"#2D7FF9"`); wins over `tone` */
182
+ color: OptionType(StringType),
183
+ /** Optional fill alpha (0–1) */
184
+ fillOpacity: OptionType(FloatType),
185
+ /** Optional stroke width in px */
186
+ weight: OptionType(FloatType),
187
+ /** Optional explicit pulse override; absent ⇒ derived from `status` */
188
+ pulse: OptionType(BooleanType),
189
+ /** Optional click camera target; absent ⇒ frame the shape */
190
+ flyTo: OptionType(MapFocusType),
191
+ /** Optional click flag; absent ⇒ clickable only when a callback / `flyTo` is set */
192
+ interactive: OptionType(BooleanType),
193
+ });
194
+ /**
195
+ * The res-8 hex lattice plus per-cell detail revealed at LOD.
196
+ *
197
+ * @remarks
198
+ * First-class so the renderer can compute disks / boundaries with `h3-js`
199
+ * and gate per-cell detail on zoom; the value stays compact (cell ids, not
200
+ * boundary coordinates).
201
+ *
202
+ * @property lattice - Optional faint background lattice (a disk of cells)
203
+ * @property cells - Per-cell detail (id + optional status / fill / detail text)
204
+ * @property tone - Optional lattice stroke tone (default `muted`)
205
+ * @property interactive - Optional click-through flag (default false — decorative)
206
+ */
207
+ export const MapHexLayerType = StructType({
208
+ /** Optional faint background lattice (a disk of cells around a centre) */
209
+ lattice: OptionType(StructType({
210
+ /** The lattice centre */
211
+ center: MapLatLngType,
212
+ /** Ring count (`k`) around the centre */
213
+ k: IntegerType,
214
+ /** H3 resolution */
215
+ resolution: IntegerType,
216
+ })),
217
+ /** Per-cell detail */
218
+ cells: ArrayType(StructType({
219
+ /** H3 cell id (the renderer calls `cellToBoundary`) */
220
+ id: StringType,
221
+ /** Optional status token for the cell fill */
222
+ status: OptionType(StatusTokenType),
223
+ /** Optional fill alpha (0–1) */
224
+ fillOpacity: OptionType(FloatType),
225
+ /** Optional detail text shown only when zoom ≥ `lodZoom` */
226
+ detail: OptionType(StringType),
227
+ })),
228
+ /** Optional lattice stroke tone (default `muted`) */
229
+ tone: OptionType(MapToneType),
230
+ /** Optional click-through flag (default false — decorative) */
231
+ interactive: OptionType(BooleanType),
232
+ });
233
+ /**
234
+ * A pin (home / POI). `minZoom` is the LOD gate; `icon` is a Font Awesome name.
235
+ *
236
+ * @property key - Marker identity — `onMarkerClick` returns it
237
+ * @property at - The pin location
238
+ * @property label - Optional permanent tooltip
239
+ * @property icon - Optional Font Awesome solid icon name
240
+ * @property tone - Optional marker tone
241
+ * @property minZoom - Optional LOD gate; the pin appears only at/after this zoom
242
+ * @property interactive - Optional click flag (default true)
243
+ */
244
+ export const MapMarkerType = StructType({
245
+ /** Marker identity — `onMarkerClick` returns it */
246
+ key: StringType,
247
+ /** The pin location */
248
+ at: MapLatLngType,
249
+ /** Optional permanent tooltip */
250
+ label: OptionType(StringType),
251
+ /** Optional Font Awesome solid icon name */
252
+ icon: OptionType(StringType),
253
+ /** Optional marker tone */
254
+ tone: OptionType(MapToneType),
255
+ /** Optional LOD gate; the pin appears only at/after this zoom */
256
+ minZoom: OptionType(IntegerType),
257
+ /** Optional click flag (default true) */
258
+ interactive: OptionType(BooleanType),
259
+ });
260
+ /**
261
+ * Line render style.
262
+ *
263
+ * @property solid - A solid connector
264
+ * @property dashed - A dashed / routing connector
265
+ */
266
+ export const MapLineStyleType = VariantType({
267
+ /** A solid connector */
268
+ solid: StructType({
269
+ /** Stroke tone (default `brand`) */
270
+ tone: OptionType(MapToneType),
271
+ /** Stroke width in px (default 2.5) */
272
+ weight: OptionType(FloatType),
273
+ }),
274
+ /** A dashed / routing connector */
275
+ dashed: StructType({
276
+ /** Stroke tone (default `brand`) */
277
+ tone: OptionType(MapToneType),
278
+ /** Stroke width in px (default 2) */
279
+ weight: OptionType(FloatType),
280
+ }),
281
+ });
282
+ /**
283
+ * A connector / move arrow between geographic points.
284
+ *
285
+ * @property key - Line identity
286
+ * @property points - The polyline points, in order
287
+ * @property style - Render style (`solid` / `dashed`)
288
+ * @property flow - Optional animated dash-offset when active (default off)
289
+ * @property arrow - Optional arrowhead at the destination (default off)
290
+ */
291
+ export const MapLineType = StructType({
292
+ /** Line identity */
293
+ key: StringType,
294
+ /** The polyline points, in order */
295
+ points: ArrayType(MapLatLngType),
296
+ /** Render style (`solid` / `dashed`) */
297
+ style: MapLineStyleType,
298
+ /** Optional animated dash-offset when active (default off) */
299
+ flow: OptionType(BooleanType),
300
+ /** Optional arrowhead at the destination (default off) */
301
+ arrow: OptionType(BooleanType),
302
+ });
303
+ /**
304
+ * A standalone label (e.g. a suburb name) not tied to an area.
305
+ *
306
+ * @property key - Label identity
307
+ * @property at - The label anchor
308
+ * @property text - The label text
309
+ */
310
+ export const MapLabelType = StructType({
311
+ /** Label identity */
312
+ key: StringType,
313
+ /** The label anchor */
314
+ at: MapLatLngType,
315
+ /** The label text */
316
+ text: StringType,
317
+ });
318
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"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IACrB,GAAG,EAAE,UAAU;IACf,uBAAuB;IACvB,EAAE,EAAE,aAAa;IACjB,qBAAqB;IACrB,IAAI,EAAE,UAAU;CACnB,CAAC,CAAC"}
@@ -5454,6 +5454,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
5454
5454
  }>;
5455
5455
  readonly value: FloatType;
5456
5456
  readonly size: OptionType<FloatType>;
5457
+ readonly color: OptionType<StringType>;
5457
5458
  }>>;
5458
5459
  }>>>;
5459
5460
  readonly matches: FunctionType<[], ArrayType<StructType<{
@@ -5977,6 +5978,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
5977
5978
  }>;
5978
5979
  readonly value: FloatType;
5979
5980
  readonly size: OptionType<FloatType>;
5981
+ readonly color: OptionType<StringType>;
5980
5982
  }>>;
5981
5983
  }>>>;
5982
5984
  readonly matches: FunctionType<[], ArrayType<StructType<{
@@ -6501,6 +6503,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
6501
6503
  }>;
6502
6504
  readonly value: FloatType;
6503
6505
  readonly size: OptionType<FloatType>;
6506
+ readonly color: OptionType<StringType>;
6504
6507
  }>>;
6505
6508
  }>>>;
6506
6509
  readonly matches: FunctionType<[], ArrayType<StructType<{
@@ -7030,6 +7033,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
7030
7033
  }>;
7031
7034
  readonly value: FloatType;
7032
7035
  readonly size: OptionType<FloatType>;
7036
+ readonly color: OptionType<StringType>;
7033
7037
  }>>;
7034
7038
  }>>>;
7035
7039
  readonly matches: FunctionType<[], ArrayType<StructType<{
@@ -7553,6 +7557,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
7553
7557
  }>;
7554
7558
  readonly value: FloatType;
7555
7559
  readonly size: OptionType<FloatType>;
7560
+ readonly color: OptionType<StringType>;
7556
7561
  }>>;
7557
7562
  }>>>;
7558
7563
  readonly matches: FunctionType<[], ArrayType<StructType<{
@@ -8080,6 +8085,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
8080
8085
  }>;
8081
8086
  readonly value: FloatType;
8082
8087
  readonly size: OptionType<FloatType>;
8088
+ readonly color: OptionType<StringType>;
8083
8089
  }>>;
8084
8090
  }>>>;
8085
8091
  readonly matches: FunctionType<[], ArrayType<StructType<{
@@ -8609,6 +8615,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
8609
8615
  }>;
8610
8616
  readonly value: FloatType;
8611
8617
  readonly size: OptionType<FloatType>;
8618
+ readonly color: OptionType<StringType>;
8612
8619
  }>>;
8613
8620
  }>>>;
8614
8621
  readonly matches: FunctionType<[], ArrayType<StructType<{
@@ -9145,6 +9152,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
9145
9152
  }>;
9146
9153
  readonly value: FloatType;
9147
9154
  readonly size: OptionType<FloatType>;
9155
+ readonly color: OptionType<StringType>;
9148
9156
  }>>;
9149
9157
  }>>>;
9150
9158
  readonly matches: FunctionType<[], ArrayType<StructType<{
@@ -9968,6 +9976,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
9968
9976
  }>;
9969
9977
  readonly value: FloatType;
9970
9978
  readonly size: OptionType<FloatType>;
9979
+ readonly color: OptionType<StringType>;
9971
9980
  }>>;
9972
9981
  }>>>;
9973
9982
  readonly matches: FunctionType<[], ArrayType<StructType<{
@@ -10002,6 +10011,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
10002
10011
  }>;
10003
10012
  readonly value: FloatType;
10004
10013
  readonly size: OptionType<FloatType>;
10014
+ readonly color: OptionType<StringType>;
10005
10015
  }>>;
10006
10016
  readonly stroke: StringType;
10007
10017
  readonly strokeWidth: OptionType<FloatType>;
@@ -10023,6 +10033,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
10023
10033
  }>;
10024
10034
  readonly value: FloatType;
10025
10035
  readonly size: OptionType<FloatType>;
10036
+ readonly color: OptionType<StringType>;
10026
10037
  }>>;
10027
10038
  readonly fill: StringType;
10028
10039
  readonly fillOpacity: OptionType<FloatType>;
@@ -10066,6 +10077,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
10066
10077
  }>;
10067
10078
  readonly value: FloatType;
10068
10079
  readonly size: OptionType<FloatType>;
10080
+ readonly color: OptionType<StringType>;
10069
10081
  }>>;
10070
10082
  readonly fill: StringType;
10071
10083
  readonly fillOpacity: OptionType<FloatType>;
@@ -10080,6 +10092,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
10080
10092
  }>;
10081
10093
  readonly value: FloatType;
10082
10094
  readonly size: OptionType<FloatType>;
10095
+ readonly color: OptionType<StringType>;
10083
10096
  }>>;
10084
10097
  readonly fill: StringType;
10085
10098
  readonly radius: OptionType<FloatType>;
@@ -10135,6 +10148,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
10135
10148
  }>;
10136
10149
  readonly value: FloatType;
10137
10150
  readonly size: OptionType<FloatType>;
10151
+ readonly color: OptionType<StringType>;
10138
10152
  }>;
10139
10153
  readonly text: StringType;
10140
10154
  readonly anchor: OptionType<VariantType<{
@@ -10250,6 +10264,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
10250
10264
  }>;
10251
10265
  readonly value: FloatType;
10252
10266
  readonly size: OptionType<FloatType>;
10267
+ readonly color: OptionType<StringType>;
10253
10268
  }>>;
10254
10269
  }>>;
10255
10270
  readonly mark: VariantType<{
@@ -11200,6 +11215,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
11200
11215
  }>;
11201
11216
  readonly value: FloatType;
11202
11217
  readonly size: OptionType<FloatType>;
11218
+ readonly color: OptionType<StringType>;
11203
11219
  }>>;
11204
11220
  }>>>;
11205
11221
  readonly matches: FunctionType<[], ArrayType<StructType<{
@@ -12097,6 +12113,7 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
12097
12113
  }>;
12098
12114
  readonly value: FloatType;
12099
12115
  readonly size: OptionType<FloatType>;
12116
+ readonly color: OptionType<StringType>;
12100
12117
  }>>;
12101
12118
  }>>>;
12102
12119
  readonly matches: FunctionType<[], ArrayType<StructType<{
@@ -12538,6 +12555,232 @@ declare const UIComponentTypeImpl: RecursiveType<VariantType<{
12538
12555
  readonly height: OptionType<StringType>;
12539
12556
  readonly onSelect: OptionType<FunctionType<[StringType], NullType>>;
12540
12557
  }>;
12558
+ readonly Map: StructType<{
12559
+ readonly tiles: VariantType<{
12560
+ readonly carto: StructType<{
12561
+ readonly style: VariantType<{
12562
+ readonly positron: NullType;
12563
+ readonly darkMatter: NullType;
12564
+ readonly voyager: NullType;
12565
+ }>;
12566
+ }>;
12567
+ readonly osm: NullType;
12568
+ readonly custom: StructType<{
12569
+ readonly url: StringType;
12570
+ readonly attribution: StringType;
12571
+ readonly subdomains: OptionType<ArrayType<StringType>>;
12572
+ readonly maxZoom: OptionType<IntegerType>;
12573
+ readonly detectRetina: OptionType<BooleanType>;
12574
+ }>;
12575
+ }>;
12576
+ readonly center: StructType<{
12577
+ readonly lat: FloatType;
12578
+ readonly lng: FloatType;
12579
+ }>;
12580
+ readonly zoom: IntegerType;
12581
+ readonly minZoom: OptionType<IntegerType>;
12582
+ readonly maxZoom: OptionType<IntegerType>;
12583
+ readonly lodZoom: OptionType<IntegerType>;
12584
+ readonly fitBounds: OptionType<VariantType<{
12585
+ readonly point: StructType<{
12586
+ readonly center: StructType<{
12587
+ readonly lat: FloatType;
12588
+ readonly lng: FloatType;
12589
+ }>;
12590
+ readonly zoom: IntegerType;
12591
+ }>;
12592
+ readonly bounds: StructType<{
12593
+ readonly sw: StructType<{
12594
+ readonly lat: FloatType;
12595
+ readonly lng: FloatType;
12596
+ }>;
12597
+ readonly ne: StructType<{
12598
+ readonly lat: FloatType;
12599
+ readonly lng: FloatType;
12600
+ }>;
12601
+ }>;
12602
+ }>>;
12603
+ readonly areas: ArrayType<StructType<{
12604
+ readonly key: StringType;
12605
+ readonly shape: VariantType<{
12606
+ readonly hexDisk: StructType<{
12607
+ readonly center: StructType<{
12608
+ readonly lat: FloatType;
12609
+ readonly lng: FloatType;
12610
+ }>;
12611
+ readonly k: IntegerType;
12612
+ readonly resolution: IntegerType;
12613
+ }>;
12614
+ readonly polygon: ArrayType<StructType<{
12615
+ readonly lat: FloatType;
12616
+ readonly lng: FloatType;
12617
+ }>>;
12618
+ readonly cells: ArrayType<StringType>;
12619
+ }>;
12620
+ readonly label: OptionType<StringType>;
12621
+ readonly detailLabel: OptionType<StringType>;
12622
+ readonly status: OptionType<VariantType<{
12623
+ readonly success: NullType;
12624
+ readonly warning: NullType;
12625
+ readonly danger: NullType;
12626
+ readonly info: NullType;
12627
+ readonly neutral: NullType;
12628
+ }>>;
12629
+ readonly tone: OptionType<VariantType<{
12630
+ readonly brand: NullType;
12631
+ readonly ink: NullType;
12632
+ readonly muted: NullType;
12633
+ readonly success: NullType;
12634
+ readonly warning: NullType;
12635
+ readonly danger: NullType;
12636
+ }>>;
12637
+ readonly color: OptionType<StringType>;
12638
+ readonly fillOpacity: OptionType<FloatType>;
12639
+ readonly weight: OptionType<FloatType>;
12640
+ readonly pulse: OptionType<BooleanType>;
12641
+ readonly flyTo: OptionType<VariantType<{
12642
+ readonly point: StructType<{
12643
+ readonly center: StructType<{
12644
+ readonly lat: FloatType;
12645
+ readonly lng: FloatType;
12646
+ }>;
12647
+ readonly zoom: IntegerType;
12648
+ }>;
12649
+ readonly bounds: StructType<{
12650
+ readonly sw: StructType<{
12651
+ readonly lat: FloatType;
12652
+ readonly lng: FloatType;
12653
+ }>;
12654
+ readonly ne: StructType<{
12655
+ readonly lat: FloatType;
12656
+ readonly lng: FloatType;
12657
+ }>;
12658
+ }>;
12659
+ }>>;
12660
+ readonly interactive: OptionType<BooleanType>;
12661
+ }>>;
12662
+ readonly hexes: OptionType<StructType<{
12663
+ readonly lattice: OptionType<StructType<{
12664
+ readonly center: StructType<{
12665
+ readonly lat: FloatType;
12666
+ readonly lng: FloatType;
12667
+ }>;
12668
+ readonly k: IntegerType;
12669
+ readonly resolution: IntegerType;
12670
+ }>>;
12671
+ readonly cells: ArrayType<StructType<{
12672
+ readonly id: StringType;
12673
+ readonly status: OptionType<VariantType<{
12674
+ readonly success: NullType;
12675
+ readonly warning: NullType;
12676
+ readonly danger: NullType;
12677
+ readonly info: NullType;
12678
+ readonly neutral: NullType;
12679
+ }>>;
12680
+ readonly fillOpacity: OptionType<FloatType>;
12681
+ readonly detail: OptionType<StringType>;
12682
+ }>>;
12683
+ readonly tone: OptionType<VariantType<{
12684
+ readonly brand: NullType;
12685
+ readonly ink: NullType;
12686
+ readonly muted: NullType;
12687
+ readonly success: NullType;
12688
+ readonly warning: NullType;
12689
+ readonly danger: NullType;
12690
+ }>>;
12691
+ readonly interactive: OptionType<BooleanType>;
12692
+ }>>;
12693
+ readonly markers: ArrayType<StructType<{
12694
+ readonly key: StringType;
12695
+ readonly at: StructType<{
12696
+ readonly lat: FloatType;
12697
+ readonly lng: FloatType;
12698
+ }>;
12699
+ readonly label: OptionType<StringType>;
12700
+ readonly icon: OptionType<StringType>;
12701
+ readonly tone: OptionType<VariantType<{
12702
+ readonly brand: NullType;
12703
+ readonly ink: NullType;
12704
+ readonly muted: NullType;
12705
+ readonly success: NullType;
12706
+ readonly warning: NullType;
12707
+ readonly danger: NullType;
12708
+ }>>;
12709
+ readonly minZoom: OptionType<IntegerType>;
12710
+ readonly interactive: OptionType<BooleanType>;
12711
+ }>>;
12712
+ readonly lines: ArrayType<StructType<{
12713
+ readonly key: StringType;
12714
+ readonly points: ArrayType<StructType<{
12715
+ readonly lat: FloatType;
12716
+ readonly lng: FloatType;
12717
+ }>>;
12718
+ readonly style: VariantType<{
12719
+ readonly solid: StructType<{
12720
+ readonly tone: OptionType<VariantType<{
12721
+ readonly brand: NullType;
12722
+ readonly ink: NullType;
12723
+ readonly muted: NullType;
12724
+ readonly success: NullType;
12725
+ readonly warning: NullType;
12726
+ readonly danger: NullType;
12727
+ }>>;
12728
+ readonly weight: OptionType<FloatType>;
12729
+ }>;
12730
+ readonly dashed: StructType<{
12731
+ readonly tone: OptionType<VariantType<{
12732
+ readonly brand: NullType;
12733
+ readonly ink: NullType;
12734
+ readonly muted: NullType;
12735
+ readonly success: NullType;
12736
+ readonly warning: NullType;
12737
+ readonly danger: NullType;
12738
+ }>>;
12739
+ readonly weight: OptionType<FloatType>;
12740
+ }>;
12741
+ }>;
12742
+ readonly flow: OptionType<BooleanType>;
12743
+ readonly arrow: OptionType<BooleanType>;
12744
+ }>>;
12745
+ readonly labels: ArrayType<StructType<{
12746
+ readonly key: StringType;
12747
+ readonly at: StructType<{
12748
+ readonly lat: FloatType;
12749
+ readonly lng: FloatType;
12750
+ }>;
12751
+ readonly text: StringType;
12752
+ }>>;
12753
+ readonly overlays: ArrayType<StructType<{
12754
+ readonly content: import("@elaraai/east").RecursiveTypeMarker;
12755
+ readonly align: VariantType<{
12756
+ readonly start: NullType;
12757
+ readonly center: NullType;
12758
+ readonly end: NullType;
12759
+ }>;
12760
+ readonly verticalAlign: VariantType<{
12761
+ readonly start: NullType;
12762
+ readonly center: NullType;
12763
+ readonly end: NullType;
12764
+ }>;
12765
+ readonly key: OptionType<StringType>;
12766
+ readonly geoAnchor: OptionType<StructType<{
12767
+ readonly lat: FloatType;
12768
+ readonly lng: FloatType;
12769
+ }>>;
12770
+ readonly offset: OptionType<StructType<{
12771
+ readonly x: FloatType;
12772
+ readonly y: FloatType;
12773
+ }>>;
12774
+ readonly interactive: OptionType<BooleanType>;
12775
+ }>>;
12776
+ readonly scrollWheelZoom: OptionType<BooleanType>;
12777
+ readonly attributionPrefix: OptionType<BooleanType>;
12778
+ readonly height: OptionType<StringType>;
12779
+ readonly onAreaClick: OptionType<FunctionType<[StringType], NullType>>;
12780
+ readonly onMarkerClick: OptionType<FunctionType<[StringType], NullType>>;
12781
+ readonly onZoom: OptionType<FunctionType<[IntegerType], NullType>>;
12782
+ readonly onSelect: OptionType<FunctionType<[StringType], NullType>>;
12783
+ }>;
12541
12784
  readonly Blend: StructType<{
12542
12785
  readonly id: StringType;
12543
12786
  readonly sources: ArrayType<StringType>;