@panneau/modal-medias-picker 4.0.55 → 4.0.56
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/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +8 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { Media, Resource, Button } from '@panneau/core';
|
|
3
3
|
|
|
4
4
|
interface MediasPickerModalProps {
|
|
@@ -12,6 +12,6 @@ interface MediasPickerModalProps {
|
|
|
12
12
|
confirmButton?: Button | null;
|
|
13
13
|
cancelButton?: Button | null;
|
|
14
14
|
}
|
|
15
|
-
declare function MediasPickerModal({ id, value: initialValue, resource, title, onChange, onClosed, confirmButton, cancelButton, multiple, ...props }: MediasPickerModalProps):
|
|
15
|
+
declare function MediasPickerModal({ id, value: initialValue, resource, title, onChange, onClosed, confirmButton, cancelButton, multiple, ...props }: MediasPickerModalProps): react.JSX.Element;
|
|
16
16
|
|
|
17
17
|
export { MediasPickerModal as default };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
|
-
import isArray from 'lodash/isArray';
|
|
3
|
-
import isObject from 'lodash/isObject';
|
|
2
|
+
import isArray from 'lodash-es/isArray';
|
|
3
|
+
import isObject from 'lodash-es/isObject';
|
|
4
4
|
import { useState } from 'react';
|
|
5
5
|
import { FormattedMessage } from 'react-intl';
|
|
6
6
|
import { MediasResourcePicker, MediasPickerContainer } from '@panneau/medias';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/modal-medias-picker",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.56",
|
|
4
4
|
"description": "Medias picker modal",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
"type": "module",
|
|
29
29
|
"module": "dist/index.js",
|
|
30
30
|
"types": "dist/index.d.ts",
|
|
31
|
+
"sideEffects": [
|
|
32
|
+
"**/*.css"
|
|
33
|
+
],
|
|
31
34
|
"exports": {
|
|
32
35
|
".": {
|
|
33
36
|
"types": "./dist/index.d.ts",
|
|
@@ -52,9 +55,9 @@
|
|
|
52
55
|
},
|
|
53
56
|
"dependencies": {
|
|
54
57
|
"@babel/runtime": "^7.28.6",
|
|
55
|
-
"@panneau/core": "^4.0.
|
|
56
|
-
"@panneau/medias": "^4.0.
|
|
57
|
-
"@panneau/modal-dialog": "^4.0.
|
|
58
|
+
"@panneau/core": "^4.0.56",
|
|
59
|
+
"@panneau/medias": "^4.0.56",
|
|
60
|
+
"@panneau/modal-dialog": "^4.0.56",
|
|
58
61
|
"@uppy/core": "^5.1.1",
|
|
59
62
|
"@uppy/dashboard": "^5.0.4",
|
|
60
63
|
"@uppy/react": "^5.1.1",
|
|
@@ -65,5 +68,5 @@
|
|
|
65
68
|
"publishConfig": {
|
|
66
69
|
"access": "public"
|
|
67
70
|
},
|
|
68
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "9c3ba1bdd04699e0150f84a35f2bdbdec073bd59"
|
|
69
72
|
}
|