sanity-plugin-media 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +9 -20
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +6 -6
- package/src/components/DialogAssetEdit/index.tsx +5 -14
- package/src/components/FormFieldInputFilename/index.tsx +0 -50
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# Sanity Media
|
|
1
|
+
# Sanity Media (for Sanity Studio v3)
|
|
2
2
|
|
|
3
|
-
>This is
|
|
4
|
-
>
|
|
3
|
+
> This plugin is for **Sanity Studio v3**.
|
|
4
|
+
> The Sanity Studio v2 version of this plugin is no longer maintained, but still accessible on the [v2 branch](https://github.com/sanity-io/sanity-plugin-media/tree/studio-v2).
|
|
5
5
|
|
|
6
6
|
## What is it?
|
|
7
7
|
|
|
8
|
-

|
|
9
9
|

|
|
10
10
|
|
|
11
11
|
A convenient way to browse, manage and refine your [Sanity](https://www.sanity.io/) assets.
|
|
@@ -45,7 +45,7 @@ _Individual asset view_
|
|
|
45
45
|
- Built with the same [UI components Sanity uses](https://www.sanity.io/ui) under the hood
|
|
46
46
|
- Fully responsive and mobile friendly
|
|
47
47
|
|
|
48
|
-
## Install (
|
|
48
|
+
## Install (Sanity Studio v3)
|
|
49
49
|
|
|
50
50
|
In your Sanity project folder:
|
|
51
51
|
|
|
@@ -228,23 +228,13 @@ Note that tags are namespaced within `opt.media` and tag names are accessed via
|
|
|
228
228
|
|
|
229
229
|
</details>
|
|
230
230
|
|
|
231
|
-
## Roadmap
|
|
232
|
-
|
|
233
|
-
- Jump to selected asset
|
|
234
|
-
- Asset replacement
|
|
235
|
-
- Total count displays
|
|
236
|
-
- Further keyboard shortcuts
|
|
237
|
-
- Shareable saved search facets
|
|
238
|
-
- Routing
|
|
239
|
-
- Storing browser options with local storage
|
|
240
|
-
|
|
241
231
|
## Contributing
|
|
242
232
|
|
|
243
233
|
Contributions, issues and feature requests are welcome!
|
|
244
234
|
|
|
245
235
|
## License
|
|
246
236
|
|
|
247
|
-
[MIT](LICENSE) ©
|
|
237
|
+
[MIT](LICENSE) © Sanity.io
|
|
248
238
|
|
|
249
239
|
## Develop & test
|
|
250
240
|
|
|
@@ -252,11 +242,10 @@ This plugin uses [@sanity/plugin-kit](https://github.com/sanity-io/plugin-kit)
|
|
|
252
242
|
with default configuration for build & watch scripts.
|
|
253
243
|
|
|
254
244
|
See [Testing a plugin in Sanity Studio](https://github.com/sanity-io/plugin-kit#testing-a-plugin-in-sanity-studio)
|
|
255
|
-
on how to run this plugin with
|
|
245
|
+
on how to run this plugin with hot-reload in the studio.
|
|
256
246
|
|
|
257
247
|
### Release new version
|
|
258
248
|
|
|
259
|
-
Run ["CI & Release" workflow](https://github.com/robinpyon/sanity-plugin-media/actions/workflows/main.yml).
|
|
260
|
-
Make sure to select the main branch and check "Release new version".
|
|
249
|
+
Run the ["CI & Release" workflow](https://github.com/robinpyon/sanity-plugin-media/actions/workflows/main.yml). Make sure to select the main branch and check "Release new version".
|
|
261
250
|
|
|
262
|
-
Semantic release will only release on configured branches, so it is safe to run
|
|
251
|
+
Semantic release will only release on configured branches, so it is safe to run the workflow on any branch.
|