Skip to content

v0.3.0

Choose a tag to compare

@knoan knoan released this 02 Oct 07:01
· 21 commits to main since this release

Line-opening release adding the shared resource store, nested route tables and the hint, box, stack and strip widgets.

Added

  • @metreeca/tile — padding spacing token, color, backgroundColor, padding, borderRadius and boxShadow
    style properties, and exported token group types
  • @metreeca/tile — enlarged images shown on a rounded panel over the whole viewport, and every heading level sized
    from the heading size token
  • @metreeca/tile-data/store — shared resource store (Store, useStore) with useResource and useCollection
    bindings over @metreeca/keep
  • @metreeca/tile-data/router — nested Routes tables routing the trailing path of a section, with subtree patterns
    and a bare * catch-all inherited by nested tables
  • @metreeca/tile-cell/hint — pointer hint naming a control, a button standing on a glyph alone included
  • @metreeca/tile-cell — title hint on links, Reload and Dismiss icon roles, and the GitHub mark
  • @metreeca/tile-hive/box, /stack and /strip — styled box, vertical stack and horizontal strip layouts with
    split placements
  • @metreeca/tile-hive/shell — copy slot under the content, with the done action taken off show while exchanges
    are in flight

Changed

  • @metreeca/tile-data/router — breaking: Router drops the mode (hash routing) and fallback props, in favour
    of catch-all patterns in Routes; route tables are declared only in Routes
    (<Router fallback={view}> → <Routes>{{ ..., "*": view }}</Routes>)
  • @metreeca/tile-data/router — breaking: the navigator takes the replace flag in the navigation object rather
    than as a second argument (navigate(route, true) → navigate({ route, replace: true }))
  • @metreeca/tile-data/router — breaking: every same-site link is followed in place, and Routes renders nothing
    while it moves the location
  • @metreeca/tile-cell/fault — breaking: text and children props removed; reader-actionable faults are told by
    their detail (<Fault text={wording}/> → a problem carrying detail: wording)
  • @metreeca/tile-data — depends on @metreeca/blue and @metreeca/qest ^0.12.0, and on @metreeca/keep and
    @metreeca/keep-rest ^0.11.0
  • @metreeca/tile-data, /tile-cell, /tile-hive and /tile-lens — require @metreeca/core ^0.12.0, and
    @metreeca/http ^0.4.0 where they depend on it

Fixed

  • @metreeca/tile — scheme-varying colours stated as light-dark() pairs
  • @metreeca/tile-cell — glyphs and link logos centred on the text, neutral button hover and press painted once, note
    code blocks laid out as written, subtle links set in the surrounding face
  • @metreeca/tile-hive/shell — headers held to the height of a subtle button, focus rings kept whole, columns clipped
    to their width with wide content scrolled across, and the menu kept at the end of a header without a heading

Full Changelog: v0.2.0...v0.3.0