Repository navigation
v1.5.0
Changed
m-curves,m-scatter,m-map-japan:anchoralso acceptstopandbottom, as names foraboveandbelow(AI authors guess them)
Added
m-map-japan(new seriessocial): the 47 prefectures of Japan for geography and history lessons. Regions by JIS code or the 八地方区分 (group), a choropleth (default 4 classes, up to 5; classes evenly spaced in OKLab lightness, boundaries always drawn, class ranges in the legend, values on the regions where they fit only withshow="value"; legend ranges like 「500 以上」), points, arrows (via: waypoints the arrow passes through, e.g. to keep a sea route offshore;labelAt) and author-drawn lon/lat shapes, each withstepattone. The map itself is shown from step 0. The territory dots 竹島, 尖閣諸島, 沖ノ鳥島 and 南鳥島 are always named. Insets for 南西諸島 (a frame tight to the islands, left of 九州) and 小笠原 with 沖ノ鳥島・南鳥島 (0.5×), captioned 「縮尺は本図と異なる」, beside a main map that fills the element's height (or in the main map's empty corners in small elements);layout="true"for true positions. A hidden list gives the final state's text (regions, every value, labels).data-mark="JP-<code>"on each prefecture for Studio's camera; variantsfade,sweep,draw. Map data: Natural Earth 5.1.1 (public domain), modified, built bytools/map/build-japan.mjswith the Japanese government's position on the territories fixed in the data (docs/map-design.md §4.5) and ownership checks at build time. New seriessocialand purposespatial(場所・地図)tools/test-classes.mjs: choropleth legends in the default, kokugo and business themes, with 4 and 5 classes: adjacent classes ≥ 0.08 apart in OKLab lightness and evenly spaced, the lightest class ≥ 3:1 against the background or outlined, every region's boundary drawn.npm testalso checks the map block's sha256 (tools/map/build-japan.mjs --check, no network)
README size (Egatari Studio's free-plan pack), change since v1.4.1
m-barsREADME: 0 bytesm-flowREADME: 0 bytesm-menuREADME: 0 bytesm-curvesREADME: 0 bytesm-quadREADME: 0 bytesm-kpiREADME: 0 bytes
(m-map-japan is in the new social series, which only lessons with the 地図(社会) subject carry: its README is about 1.5 KB outside the llm: omit blocks.)
Map data: Natural Earth 5.1.1 (public domain), modified; territory and names follow the Japanese government's position and approved school atlases (docs/map-design.md).
sha256 b5a3ab6e7928320369e66a21255f3dfa938c467f05a8a5146f32401ce8b30988 egatari-components-v1.5.0.tar.gz