Skip to content

Release v4.80.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 15:30
6b25540

Summary

The default blueprint now works out of the box with React Aria through @cratis/components. PrimeReact is used only when a UI profile lists it, and then it wins any component name it shares with the default library.

Added

  • hostProfilePackages (TypeScript) and PackageResolver.HostPackages (C#) give hosts one deterministic package order: core, then Cratis.Components, then the component libraries the profile lists, then blueprints. A deliberately chosen library such as PrimeReact therefore always wins shared names like dataTable, and the blueprint keeps its own shell components. (#250)

Changed

  • The default blueprint shell (sidebar, topbar, user menu and configuration panel) is built on @cratis/components and React Aria, and no longer installs or loads PrimeReact. (#250)
  • @cratis/scene.blueprint.default and @cratis/scene.components no longer depend on PrimeReact or primeicons. Apps that use PrimeReact list it in their UI profile (packages → PrimeReact). (#250)
  • @cratis/scene.blueprint.default takes @cratis/components (^4.34.0), @cratis/arc, @cratis/arc.react, @cratis/fundamentals and reflect-metadata as peer dependencies that the app provides, so an app gets a single copy of the component library. (#250)
  • A template that needs a package its own package does not depend on, such as the PrimeReact-based gallery templates, is offered only when the profile includes that package. Otherwise a diagnostic explains how to add it. (#250)

Fixed

  • The shell uses the design-token sans-serif font stack, shows one brand in the sidebar header, and sizes avatar groups so initials are not clipped. (#250)
  • The Dashboard gallery template lays its key figures out as a responsive grid of stat cards. (#250)