@maplibre-yaml/core 0.1.3 → 0.2.0
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 +44 -0
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +25 -12
- package/dist/components/index.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +23 -10
- package/dist/index.js.map +1 -1
- package/dist/{map-renderer-Br4guic2.d.ts → map-renderer-8-c51Ww7.d.ts} +3 -2
- package/dist/{page.schema-EBT_0Ojm.d.ts → page.schema-Cad2FFqh.d.ts} +1637 -1
- package/dist/register.browser.js +25 -12
- package/dist/register.browser.js.map +1 -1
- package/dist/register.d.ts +2 -2
- package/dist/register.js +25 -12
- package/dist/register.js.map +1 -1
- package/dist/schemas/index.d.ts +2 -1638
- package/dist/schemas/index.js +2 -0
- package/dist/schemas/index.js.map +1 -1
- package/package.json +1 -1
package/dist/schemas/index.js
CHANGED
|
@@ -583,6 +583,7 @@ var MapBlockSchema = z.object({
|
|
|
583
583
|
className: z.string().optional().describe("CSS class name for container"),
|
|
584
584
|
style: z.string().optional().describe("Inline CSS styles for container"),
|
|
585
585
|
config: MapConfigSchema.describe("Map configuration"),
|
|
586
|
+
sources: z.record(z.string(), LayerSourceSchema).optional().describe("Map sources"),
|
|
586
587
|
layers: z.array(LayerOrReferenceSchema).default([]).describe("Map layers"),
|
|
587
588
|
controls: ControlsConfigSchema.optional().describe("Map controls"),
|
|
588
589
|
legend: LegendConfigSchema.optional().describe("Legend configuration")
|
|
@@ -593,6 +594,7 @@ var MapFullPageBlockSchema = z.object({
|
|
|
593
594
|
className: z.string().optional().describe("CSS class name for container"),
|
|
594
595
|
style: z.string().optional().describe("Inline CSS styles for container"),
|
|
595
596
|
config: MapConfigSchema.describe("Map configuration"),
|
|
597
|
+
sources: z.record(z.string(), LayerSourceSchema).optional().describe("Map sources"),
|
|
596
598
|
layers: z.array(LayerOrReferenceSchema).default([]).describe("Map layers"),
|
|
597
599
|
controls: ControlsConfigSchema.optional().describe("Map controls"),
|
|
598
600
|
legend: LegendConfigSchema.optional().describe("Legend configuration")
|