Releases: premieroctet/next-admin
@premieroctet/[email protected]
Minor Changes
-
cbf6925: 📄 add option for custom pages
In the
options
, addpages: { "/custom": { title: "Custom page" }, },
In the above example, navigating to
<basePath>/custom
will render theCustomPage
component, in addition with the persistent Next Admin components (header, sidebar, message). -
a261bc5: # New feature
✏️ add ability to render a custom input
-
4ddf12f: 🛠 add ability to create custom actions on resources
-
244820a: use the
@id
field of a model as the id field instead of defaulting to "id" -
2d3f8ac: # New feature
✨ Override model name in UI
-
28053ff: add option
optionFormatter
to format select option of a related model at field option level -
603b499: 🛠 add support for JSON fields
-
af7f123: 🪄 allow sort by relationship count
Patch Changes
- 11c3b5a: feat: allow slug version of model in url
@premieroctet/[email protected]
Patch Changes
- 84ea409: chore: update docs
@premieroctet/[email protected]
Major Changes
-
New feature
- 🎉 App router is now supported. You can find an exemple of its usage in the example app.
- New context object, currently passed only to the
formatter
function
@premieroctet/[email protected]
Major Changes
-
dbb5a3e: - Always fetch
id
property from items- Hide
id
column in list if it doesn't havedisplay: true
options - Mutualize
NextAdminOptions
to reduce useless duplication of code - Add file upload input
⚠️ Breaking ChangesTo reduce the complexity and duplication of next-admin options, this PR contains major changes to the structure of the options.
- Changed structure for
display
andsearch
properties: fields are now entered as an array
- Hide
Patch Changes
- dbb5a3e: Add formatting system to relationship column
- dbb5a3e: Add ability to choose format type for Date property between date-time and date in edit options
Introduce handler object to handle custom logic for a property in edit mode
Add ability to use input variant in edit mode
Fix datetime-local input to store correct datetime
@premieroctet/[email protected]
@premieroctet/[email protected]
@premieroctet/[email protected]
dist
files.
Patch Changes
-
7bcf33c: change package properties
Change type: fix
@premieroctet/[email protected]
@premieroctet/[email protected]
dist
files.
Patch Changes
- c7bbf42: Support differents name case