You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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)