Skip to content

v1.8.0

Choose a tag to compare

@moiku moiku released this 25 Oct 07:55
· 202 commits to main since this release

m-map-japan's default drawing changes in this release: the 小笠原諸島 inset is off by default (islands="all" turns it on, with 沖ノ鳥島・南鳥島 always named). 北方領土・竹島・尖閣諸島 are drawn at every size. Lessons stay on the version they recorded until their author updates.

m-timer's bells sound once Egatari Studio implements component sounds (spec §8.4); until then they are ignored.

Changed

  • m-map-japan: the default drawing changes (owner's decision, docs/map-design.md §5.3.1). The 小笠原諸島 inset (鳥島・父島・硫黄島・沖ノ鳥島・南鳥島) is no longer drawn by default; the main map is laid out without it (it is larger only where the inset limited the width; at the demo's 440 px height the map is height-limited and keeps its size, centred). The new attribute islands="all" (default main) brings the inset back, and then its 沖ノ鳥島 and 南鳥島 are always named (in the nearby sea with a leader line if needed); if even that cannot fit, the whole inset is left out with a console.warn instead of being shown unnamed. The 南西諸島 inset (沖縄県, 尖閣諸島) stays. 北方領土・竹島・尖閣諸島 are drawn at every size; layout="true" draws every island at its true position and names 竹島・尖閣諸島・沖ノ鳥島・南鳥島・父島・硫黄島 (the last two with a warning if they cannot fit). The readable layer now always lists the islands drawn (北方領土, 竹島, 尖閣諸島, and 沖ノ鳥島・南鳥島 when drawn; 父島・硫黄島 in layout="true"). Lessons pinned to v1.7.x keep the v1.7.x drawing. tools/test-seed0.mjs skips m-map-japan against baselines older than v1.8.0 (approved change)

Added

  • m-map-japan: demo slide 「日本の範囲(本当の位置)」 with layout="true" and the four extremities (択捉島・南鳥島・沖ノ鳥島・与那国島, coordinates from 国土地理院「日本の東西南北端点の経度緯度」), and islands="all" on the population slide. README: one pack-visible sentence pointing to layout="true" for the extent of Japan, its extremities and the EEZ; the island rule in the implementation notes. tools/test-map-territory.mjs (in tools/test-all.mjs): 192 maps (heights 200–700 px in 9 steps × widths 300–1184 px in 5 × both layouts × with and without labels, islands="all" at 300/380/520 px and two tiny sizes, author points on territory islands) check that the territories are drawn inside the element and not hidden at step 0 and in the final state, that the inset is off by default, the names required above, and that the readable layer lists exactly what is drawn
  • Tools (道具, docs/conventions.md §7): m-timer declares static group = "tool" and its new-deck tile (static tile: 「タイマー」 / "Timer", 「グループワークの時間・残り時間・ベル」, icon timer); manifest.json carries components.timer.group and .tile. Checked by tools/lint.mjs. README text unchanged
  • m-timer: bells like a conference timer (bells: [{left, count}], for all phases or per phase; off unless written). The part declares them with events(k) (spec §8.4 "Component sounds"); the player rings them on forward crossings during a live presentation and puts them into video. A player without component sounds ignores them; the clock and colours still carry the information

Fixed

  • m-map-japan: an author point with a label on a territory island (e.g. 「南鳥島(東端)」 at 南鳥島 or 「沖ノ鳥島(南端)」 at 沖ノ鳥島 in layout="true") was drawn next to the built-in 「南鳥島」/「沖ノ鳥島」 name, with two dots. When a labelled author point is within 15 px of a territory dot, the built-in dot and name fade out as the author's point appears (one dot and one name in the final state; the built-in name still shows before that step), and the readable layer has one entry for the island (the author's label). All layouts
  • m-map-japan: a point label that fits at none of the spots next to its point (near the element's edge, or a point inside an inset frame) was drawn over the edge with an "overlaps another" warning; it is now placed nearby with a leader line
  • m-map-japan: a label could be drawn inside the 南西諸島 inset frame (on the demo's 八地方区分 slide, 「九州地方」 and its leader sat in the frame and read as part of the inset). Region, point, flow/shape and built-in island labels now treat the inset frames and their captions as obstacles: a label lies inside a frame only when its own point is in that frame, and leader lines do not enter another frame or cross a caption. Region labels near a frame (within 150 px) are placed first, and a leader crossing an earlier leader counts as farther. On the demo only the 八地方区分 slide changes, from step 4 (labels move; 九州地方 is now below-right of 九州); every other slide is byte-identical. tools/test-map-territory.mjs checks every map it draws (now 241, including the demo slide and 八地方区分 at 6 heights × 4 widths with and without the 小笠原諸島 inset) for labels and leaders on frames or captions; v1.8.0 as merged fails 19 of them

README size (Egatari Studio's free-plan pack), change since v1.7.1

  • m-bars README: 0 bytes
  • m-flow README: 0 bytes
  • m-menu README: 0 bytes
  • m-curves README: 0 bytes
  • m-quad README: 0 bytes
  • m-kpi README: 0 bytes

(m-map-japan, in the social set: +96 bytes of README text and +48 bytes of attribute descriptions. m-timer, a tool, not in the free core: +258 bytes outside the llm: omit blocks, for bells.)

sha256 a1005178daa66e6ab8b92c9f79212715d13b116ce9c6ad93a5e8d7f12a2483a9 egatari-components-v1.8.0.tar.gz