This release introduces powerful new plugin APIs and draggable array items.
The new plugin APIs enable plugin developers to fully control the Puck application UI and current data object by exposing Puck's internal state and dispatcher. Documentation available in the README.
Draggable array items allows users to reorder items when using the array
field type. We also introduces a refreshed UI for array items.
Breaking changes
- The
data
prop on plugin render methods has been deprecated. Usestate.data
instead.
Features
- align component list UI with refreshed array fields (74cd3a7)
- enable drag-and-drop of array items (12800f8)
- expose state dispatcher to plugins (e94accb)
- expose state to plugins, removing data (89f9f2e)
- expose state to renderHeader, removing data (29ddaaf)
- record application state in undo/redo history (0f2d7c5)
- refresh UI for array fields (5ef8a96)
Bug Fixes
- ensure layer tree consistently shows selected item (6a9145c)
- only render strings or numbers in external adaptors (3c337be)
- prevent style pollution for select fields (fa7af7d)
New Contributors
- @JakeSidSmith made their first contribution in #140
- @FreddieRidell made their first contribution in #146
Full Changelog: v0.9.0...v0.10.0