Skip to content

Release v3.3.0

Choose a tag to compare

@github-actions github-actions released this 16 Aug 16:54
f5d0461

Added

  • Button from @cratis/components/Common — preserves PrimeReact 10's label / icon / loading / tooltip / text / outlined authoring model over PrimeReact 11's children-only Button. Accepts a PrimeIcons class name or an element for icon, renders a spinner while loading, and sets iconOnly automatically when there is an icon and no label.

This closes a silent trap in the PrimeReact 11 migration: v11's Button props are generic over React.ElementType, so <Button label="Save" icon="pi pi-check" /> still typechecks — and renders an empty button. Nothing fails at build time; only a person looking at the screen catches it.