@templatical/media-library 0.39.0 → 0.39.1
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/README.md +2 -3
- package/dist/cdn/chunks/{icons-DJG-T8pC.js → icons-DIwxXaHv.js} +1150 -1143
- package/dist/cdn/chunks/icons-DIwxXaHv.js.map +1 -0
- package/dist/cdn/media-library.js +8 -6
- package/dist/cdn/media-library.js.map +1 -1
- package/package.json +9 -9
- package/dist/cdn/chunks/icons-DJG-T8pC.js.map +0 -1
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ npm install @templatical/media-library
|
|
|
15
15
|
|
|
16
16
|
Peer dep: `vue@^3.5`. Not needed next to `@templatical/editor` — that package already contains the modal.
|
|
17
17
|
|
|
18
|
-
> **Storage.** The library is storage-agnostic. Pass a `MediaProvider` — Cloud's adapter is `createCloudMediaProvider` from `@templatical/core/cloud`. See the [media contract](https://docs.templatical.com/backend/media)
|
|
18
|
+
> **Storage.** The library is storage-agnostic. Pass a `MediaProvider` — Cloud's adapter is `createCloudMediaProvider` from `@templatical/core/cloud`. See the [media contract](https://docs.templatical.com/backend/media).
|
|
19
19
|
|
|
20
20
|
## Usage
|
|
21
21
|
|
|
@@ -42,7 +42,7 @@ media.unmount();
|
|
|
42
42
|
|
|
43
43
|
### Vue component
|
|
44
44
|
|
|
45
|
-
Use `MediaLibraryModal` inside a Vue 3 app. See [
|
|
45
|
+
Use `MediaLibraryModal` inside a Vue 3 app. See the [media contract](https://docs.templatical.com/backend/media) for the provider the modal sits on.
|
|
46
46
|
|
|
47
47
|
```ts
|
|
48
48
|
import { MediaLibraryModal } from '@templatical/media-library';
|
|
@@ -105,7 +105,6 @@ If you embed `MediaLibraryModal` manually inside another shadow-DOM-mounted UI,
|
|
|
105
105
|
## Documentation
|
|
106
106
|
|
|
107
107
|
- [Media contract](https://docs.templatical.com/backend/media)
|
|
108
|
-
- [Cloud media library](https://docs.templatical.com/cloud/media-library)
|
|
109
108
|
- [Shadow DOM (editor)](https://docs.templatical.com/guide/shadow-dom)
|
|
110
109
|
|
|
111
110
|
Full reference at **[docs.templatical.com](https://docs.templatical.com)**.
|