* feat(strapi): add plugin:link-watch command to CLI
* chore: skip assertion of strapi project if its the plugin:init command
* fix: add yalc
* fix: add yalc files/folders to ignore list to avoid restarting strapi when using
* chore: don't use run-action on plugin:init
* chore: add yarn dlx command to yarn suggestion
* feat(admin): add Auth feature
* refactor: authentication to use redux-toolkit
* chore(admin): convert admin data-fetching to use redux-toolkit-query
* chore: add docs
* fix: default logo would not show on login page
* fix: app flashes on logout
* fix: logout should work across browsers
* feat: updated useDragAndDrop hook to enable DND for blocks where path is not a number but number[], wrapped renderElement with Dnd component to have ability to move blocks around in editor
* fix: useDragandDrop hook updated to accept number[] for moving heirarchy of nodes, cmd/ctrl + shift + up/down arrow to move blocks around using keyboard, set live text on moving blocks for accessibility
* fix: when node is dragged downwards inside list convert it to list-item
* fix: index type updated
* style: margin added to preview block as droppable area needs some height to drop the item
* refactor: updated context, code optimisation, added necessary comments
* docs: updated use-drag-and-drop hook doc
* fix: type NonSelectorBlock
* Revert "fix: type NonSelectorBlock"
This reverts commit c3cb3c15442ba0008c650cbe38e993b0aa44817c.
* fix: block value type
* fix: type of onMoveItem() in useKeyboardDragAndDrop
* fix: selection issue resolved, ondragstart styling updated, grab cursor added back, missing comments added
* update: VisuallyHidden with aria-hidden attr added
* fix: minor fix
* update: link block dropped from dnd, test cases updated
* fix: if list node is empty after dragging remove it, drag handle aligned at the start
* update: link is inline block so skip wrapping dnd component
* Update: comment
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
* fix: types updated, disabled state managed for drag item
* update: IconButton is used for drag handler, refered getAttributesToClear from utils
* update: on drop blocks are moved, updated useDragAndDrop hook and related changes, instead of blue line showing border box around drop target for now
* update: canDrag, canDrop options removed, as its not required for onDropItem()
* fix: dragging is enabled only on drag button
* fix: quote block padding and margin reduced
* update: useDragAndDrop hook doc
* update: useDragAndDrop hook doc with onDropItem usage
* update: drop placeholder added
* fix: missing condition check added
* update: useDragAndDrop hook doc
* update: useDragAndDrop and useKeyboardDragAndDrop hook converted to TS, styling changes related to list and quote
* fix: types updated for useDragAndDrop hook, tooltip disabled for drag button
* fix: mock event typecasted as its not possible to add all required props for type event
* fix: deleted useDragAndDrop js file
* fix: drag handle is made visible on hover, hide on selection change
* fix: history undo
* fix: dragging block into list-item, drop item at right position
* fix: placeholder margin adjusted for list items
* fix: cloned drag item extracted
* fix: dragging list-item out of block downward
* chore: refactor dnd hook to use generics (#18994)
* fix: required block types exported, manual id creation replaced with useId
* update: drag handle top margin added for few headings
* fix: extended useDropAndDropOptions callback types, comments updated
* fix: drag handle top margin added for all required blocks, selection bug fixed
* fix: reordering between different list-items
---------
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
* fix(pack-up): ensure we pass the tsconfig file name, not a path to it
fix(admin): annotate return type on createBuildContext
fix(admin): ensure shared is a the base folder not importing from server
chore(pack-up): PRINT MOREEEE
fix(ctb): export required type
chore: refactor tsconfigs
* chore: pr amends
* feature(content-releases): Add update release service/endpoint
* chore(Content-releases): create update release contract
* chore(content-releases): Add right type to params id
* fix(admin): import & pass user customisations for admin panel
* fix(admin): modules should be resolved with module paths not system paths
* fix(admin): ensure webpack config is a type of function before calling, warn otherwise
* fix: convert the pluginPath to a system path before trying to resolve relative
* chore: update documentation