Releases: Aratramba/sanity-plugin-media-library
Releases · Aratramba/sanity-plugin-media-library
1.0.7
1.0.6
Merge branch 'main' of github.com:dennispassway/sanity-plugin-media-l…
1.0.5
This releases has a couple of bug fixes and performance improvements:
Both from @Aratramba:
- add select component
- add custom fields to local values
1.0.4
This releases has a couple of bug fixes and performance improvements:
- @Aratramba fixed a bug that showed a month as 'undefined'.
- Added listener to events. Fixes assets not being updated and reduces requests to Sanity Dataset.
- @Aratramba added lazy loading to asset, reducing requests to Sanity Dataset.
Add support for customFields
This version adds support for customFields in the config.
Thanks to @aadgrant for the contribution and @coreyward for the help.
Example with custom fields added:
{
"theme": "dark",
"themeChanges": {},
"customFields": [
{
"label": "Additional description",
"name": "description",
"placeholder": "No description yet...",
"type": "textarea"
},
{
"label": "Decade when photo captured",
"max": 2200,
"min": 1800,
"name": "decade",
"placeholder": "Between 1800 and 2200",
"step": 10,
"type": "number"
},
{
"label": "Is a premium photo",
"name": "premiumPhoto",
"type": "checkbox"
},
{
"label": "Attribution",
"name": "attribution",
"placeholder": "No attribution yet"
},
{
"name": "location",
"label": "Location",
"type": "location"
}
],
}
1.0.2
Readme title indentation fix
1.0.1
Correct mistake in docs
1.0.0
Woohooo, a media library 🔥