Skip to content

Release v2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Aug 15:24
8897e80

Summary

PrimeReact 11 ships 80 modules where 10.9.8 shipped 117, replaces monolithic components with compositional part namespaces, and ships no CSS at all. All four Scene JavaScript packages move together.

Important

PrimeReact 11 is not MIT. primereact, primeicons 8, @primereact/core, @primereact/headless, @primeuix/themes and @primeuix/styled are all under the commercial PrimeUI license, and a license key is required regardless of how you style — the check runs in PrimeReactProvider on mount with no condition on unstyled, on theme, or on NODE_ENV. Without a key, every page logs a warning and shows an "Invalid PrimeUI License" banner in development and production alike. See the migration page.

Changed

  • @cratis/scene.primereact, @cratis/scene.components, @cratis/scene.blueprint.default and @cratis/scene.blueprint.components now require primereact ^11.0.0, primeicons ^8.0.0 and @cratis/components ^3.0.0, and declare @primereact/core and @primereact/headless where they import them directly.
  • 13 abstract names follow a PrimeReact rename without changing their Scene name — dropdown is now Select, calendar is DatePicker, overlayPanel is Popover, tabView is Tabs, and so on.
  • multiSelect is re-expressed over Select's multiple; orderList and pickList over @primereact/headless hooks, which ship the behavior but no presentation.
  • Theming is rebuilt on @primeuix/themes presets. A theme is now an object handed to PrimeReactProvider rather than a stylesheet to load, so switching neither fetches nor flashes, and a theme name can no longer 404. usePrimeReactTheme returns the provider configuration instead of mutating the DOM.
  • The theme catalog is 24 themes across the Aura, Lara, Nora and Material families, replacing the 25 PrimeTek v10 themes. Their license is recorded as PrimeUI Commercial.
  • PrimeReactProvider is now mandatory anywhere Scene components render — PrimeReact 11 throws without it rather than falling back to a default configuration.

Added

  • 14 abstract names whose PrimeReact component was removed in v11 are now backed by Cratis-owned implementations: menubar, megaMenu, tieredMenu, panelMenu, tabMenu, steps, dock, splitButton, confirmDialog, column, treeSelect, blockUI, scrollTop and image.
  • MenuItem and TreeNode are exported from @cratis/scene.primereact. PrimeReact 11 removed primereact/menuitem and primereact/treenode, and the authored { label, icon, items } shape was always Scene's vocabulary.

Removed

  • cascadeSelect, inputMask, treeTable and virtualScroller are no longer declared. PrimeReact 11 removed all four with no equivalent and no headless hook. Use dropdown with grouped options or treeSelect instead of cascadeSelect, inputText with validation instead of inputMask, tree or dataTable instead of treeTable, and dataTable's own scrolling instead of virtualScroller.
  • applyPrimeReactTheme and primeReactThemeStylesheet are gone. They swapped and resolved a compiled theme stylesheet, and PrimeReact 11 has none — primeReactThemePreset resolves a theme name to a preset object instead.
  • 13 v10 themes have no v11 counterpart and are not carried over: saga-blue, vela-blue, arya-blue, bootstrap4-light-blue, bootstrap4-dark-blue, soho-light, soho-dark, viva-light, viva-dark, nano, mira, fluent-light and tailwind-light.

Deprecated

  • Reduced capabilities forced by PrimeReact 11: password loses feedback and toggleMask, colorPicker loses its overlay mode, rating loses cancel, listBox loses filter, multiSelect loses display and maxSelectedLabels, carousel loses numScroll, paginator loses rowsPerPageOptions, dataTable loses size='normal', and column no longer carries editor, frozen, footer, colSpan or expander.

Caution

Sidebar is not Sidebar. PrimeReact 10's Sidebar is v11's Drawer, and v11 gives the name Sidebar to an unrelated new app-shell primitive. A name-preserving port compiles cleanly and silently swaps an overlay for a static shell. Both affected sites — the sidebar adapter and the default blueprint's config panel — are on primereact/drawer.

🤖 Generated with Claude Code