Skip to content

Release v4.39.0

Choose a tag to compare

@github-actions github-actions released this 01 Nov 14:03
7a1a99a

Added

  • Dialogs have a header-actions region before the close button: pass headerActions to Dialog, CommandDialog or StepperCommandDialog, or register dialogHeaderActions once on CratisComponentsProvider to show an action in every dialog, with hideGlobalHeaderActions to opt a dialog out. The registered action receives the dialog's id, title, whether it is a command dialog and, when given, its slice location. (#477)
  • Components render data-cratis-component (and data-cratis-component-id when they have an id or name) on their root, so an element on screen can be traced to the component that drew it. (part of #478)
  • @cratis/components/ComponentPicker adds useComponentPicker and ComponentPicker to pick a component with the mouse or keyboard (also inside open dialogs), ComponentHighlight to highlight one, and PresentationPropertyEditor to propose changes to a component's presentation properties with an optional live preview that reverts cleanly. (part of #478)
  • Buttons, icon buttons, text inputs, text areas, dialogs, pages and data table columns describe their presentation properties, so the property editor knows what can be changed. (part of #478)