Skip to content

v2.1.0

Choose a tag to compare

@moiku moiku released this 01 Nov 11:45
· 19 commits to main since this release

Components 2.1.0, for Egatari Studio v0.6.4. New parts only. No part released in 2.0.0 changes, except m-keyboard, which is now 2.0.1 and gives a clearer error.

Added

  • m-cards 2.0.0 (#142): 2–6 cards in a row, or in two rows with layout="grid" (2×2, or 3×2 for 5–6 cards). Each card has a badge, an icon looked up by name, a title and a text, and the cards appear one per step.
    • arrows shows the order (Z order in a grid), and hilite marks a card.
    • Japanese text wraps at likely phrase boundaries and keeps numbers with their counters. Text that does not fit is cut with … and reported.
    • Variants: rise, fade and draw. Purposes: process and grouping.
  • Library part icons 1.0.0: line icons by name, from Tabler Icons outline 3.49.0 (MIT, 4,808 icons). Brand and filled icons are left out.
    • The data is subset by name (spec §6.2 match: "name"). A lesson naming a few icons carries about 5 KB of the 870 KB set.
    • build is declared on the value the factory returns (spec 3d4ead0), and the manifest's library entry repeats it.
    • The MIT notice (_notice) survives subsetting.
  • m-orbit 2.0.0: the phases of the Moon and of Venus, as a top view beside the view from Earth. It sits in a new specialized set, science (理科), with a new purpose, model (仕組みをモデルで見る).

Changed

  • m-keyboard 2.0.1: when keys are outside range, the error lists them and names a range that covers them all (e.g. use C4-D5).

For Studio

  • Subset by name must land before lessons use m-cards. Without it, a lesson carries the whole icons block. The reference is tools/subset-produce.mjs. For the current spec, including c6024bf (the slide source parsed by parse5 and walked in tree order), use its version on c2-base (c004416); it ships with the next release that changes a part.
  • Pack bytes (node tools/pack-bytes.mjs --base v2.0.0): m-cards adds 3,406 bytes and m-orbit adds 5,498 (both new). Every other part is unchanged.
  • README bytes since v2.0.0: m-bars 0, m-flow 0, m-menu 0, m-curves 0, m-quad 0, m-kpi 0.

sha256 53b86b055b6905b3aad26e88ab0222ab76f518c0ba4a005e6bb237b2e14760cc egatari-components-v2.1.0.tar.gz