Skip to content

Release v4.191.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 11:00
660cb89

Summary

Rendered applications and live Stage now use React Aria through @cratis/components by default. PrimeReact becomes an opt-in component library: list it in the Screenplay ui profile (packages → PrimeReact) and Stage adds it, and it then wins any component name it shares with the default library.

Added

  • A ui profile that lists PrimeReact gets the PrimeReact packages, provider, licence and theme in the generated frontend, and in live Stage the PrimeReact components are loaded on demand. (#707)

Changed

  • Without PrimeReact in the ui profile, the generated frontend no longer installs or loads PrimeReact, primeicons or the PrimeReact theme, and shows no PrimeReact licence banner. Components such as dataTable resolve to @cratis/components. A Screenplay that uses PrimeReact-only components, such as inputText, lists PrimeReact in its ui profile to keep them. (#707)
  • Stage resolves component names in one fixed package order: core, then Cratis.Components, then the libraries the profile lists, then blueprints, using Scene's hostProfilePackages. (#707)
  • Stage uses Scene 4.80.2 and @cratis/components 4.34.0. (#707)