@diagrammo/dgmo 0.20.3 → 0.21.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/dist/advanced.cjs +329 -109
- package/dist/advanced.d.cts +66 -25
- package/dist/advanced.d.ts +66 -25
- package/dist/advanced.js +329 -109
- package/dist/auto.cjs +332 -107
- package/dist/auto.js +109 -109
- package/dist/auto.mjs +332 -107
- package/dist/cli.cjs +151 -151
- package/dist/editor.cjs +5 -2
- package/dist/editor.js +5 -2
- package/dist/highlight.cjs +5 -2
- package/dist/highlight.js +5 -2
- package/dist/index.cjs +326 -104
- package/dist/index.js +326 -104
- package/dist/internal.cjs +329 -109
- package/dist/internal.d.cts +66 -25
- package/dist/internal.d.ts +66 -25
- package/dist/internal.js +329 -109
- package/gallery/fixtures/map-choropleth.dgmo +7 -7
- package/gallery/fixtures/map-pois.dgmo +4 -4
- package/gallery/fixtures/map-region-scope.dgmo +8 -8
- package/gallery/fixtures/map-route.dgmo +5 -6
- package/package.json +1 -1
- package/src/completion.ts +9 -4
- package/src/editor/keywords.ts +5 -2
- package/src/map/layout.ts +141 -67
- package/src/map/parser.ts +122 -33
- package/src/map/renderer.ts +13 -6
- package/src/map/resolved-types.ts +13 -2
- package/src/map/resolver.ts +179 -34
- package/src/map/types.ts +39 -14
- package/src/utils/reserved-key-registry.ts +7 -7
|
@@ -75,16 +75,16 @@ export const INFRA_REGISTRY: ReservedKeyRegistry = staticRegistry([
|
|
|
75
75
|
// NOTE: `color` is deliberately OMITTED (unlike sibling registries) — per
|
|
76
76
|
// §24B.9 the map chart type carries color as a trailing token (peeled by
|
|
77
77
|
// `peelTrailingColorName`) / via the tag system, not a `color:` metadata key.
|
|
78
|
-
// `
|
|
79
|
-
//
|
|
78
|
+
// `value` is the single numeric data channel (§24B): it renders as region shade,
|
|
79
|
+
// POI marker size, or edge/leg thickness depending on the element. `style` is the
|
|
80
|
+
// route/edge shape key. `description`/`date`/`score`/`size`/`weight` were removed
|
|
81
|
+
// in the 2026-06-01 syntax review — `value` collapses the old three numeric keys,
|
|
82
|
+
// and description/date had no v1 surface (they now raise an unknown-key error
|
|
83
|
+
// rather than silently no-op).
|
|
80
84
|
export const MAP_REGISTRY: ReservedKeyRegistry = staticRegistry([
|
|
81
|
-
'
|
|
85
|
+
'value',
|
|
82
86
|
'label',
|
|
83
|
-
'size',
|
|
84
|
-
'description',
|
|
85
|
-
'weight',
|
|
86
87
|
'style',
|
|
87
|
-
'date',
|
|
88
88
|
]);
|
|
89
89
|
|
|
90
90
|
export const ORG_REGISTRY: ReservedKeyRegistry = staticRegistry([
|