Skip to content

Release v4.3.0

Choose a tag to compare

@github-actions github-actions released this 02 Oct 07:43
c01597b

Scene can now describe what is editable on a screen, inspect and edit it, and let a template author hand some of it to the screens built on the template.

Added

  • Property and component descriptors that packages ship next to their components, with a descriptors list on the package bundle and descriptors for the core and Cratis.Components components. (#51)
  • inspect and applyEdit in @cratis/scene.engine: node provenance, effective values and editability, and pure immutable edits for properties, layout type changes, and inserting, moving and removing nodes. Refused edits return the original document and diagnostics. (#51)
  • Layout type capabilities and conversions, with lossy conversions refused until the author accepts what is dropped. (#51)
  • Exposure and instance configuration: templates expose properties and collection operations, nested templates re-expose and only narrow, screens store their own contributions apart from the template, and resolveEffectiveConfiguration merges them for both the editor and the renderer. (#51)
  • QueryCandidate and QueryBinding contracts with validateBinding, and IconReference and DestinationReference value types. (#51)
  • A core:navigationBar component whose items a template can expose to its screens. (#51)
  • SceneElementView accepts a resolved configuration to render a configured template. (#51)
  • Documentation for editing, exposure and query binding. (#51)

Changed

  • A data table's query property now also accepts a QueryBinding; a plain query name still works. (#51)