@panneau/medias 4.0.28 → 4.0.31
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.js +4 -3
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -237,7 +237,9 @@ function MediaFrame(_ref) {
|
|
|
237
237
|
}) : /*#__PURE__*/jsx(ImageDisplay, {
|
|
238
238
|
className: "w-100",
|
|
239
239
|
value: value,
|
|
240
|
-
onClick: type === 'video' || type === 'audio' ? onClick : null
|
|
240
|
+
onClick: type === 'video' || type === 'audio' ? onClick : null,
|
|
241
|
+
maxWidth: null,
|
|
242
|
+
maxHeight: null
|
|
241
243
|
})
|
|
242
244
|
});
|
|
243
245
|
}
|
|
@@ -1302,7 +1304,7 @@ function MediasBrowser(_ref) {
|
|
|
1302
1304
|
clearValue: types !== null ? queryWithoutTypes : null,
|
|
1303
1305
|
filters: finalFilters,
|
|
1304
1306
|
onChange: onQueryChange,
|
|
1305
|
-
|
|
1307
|
+
onClear: onQueryReset,
|
|
1306
1308
|
theme: theme
|
|
1307
1309
|
}) : null
|
|
1308
1310
|
}), /*#__PURE__*/jsx("div", {
|
|
@@ -1432,7 +1434,6 @@ function MediasPicker(_ref) {
|
|
|
1432
1434
|
return Array.isArray(initialSelectedItems) ? initialSelectedItems : [initialSelectedItems];
|
|
1433
1435
|
}, []);
|
|
1434
1436
|
|
|
1435
|
-
// // Mostly for testing
|
|
1436
1437
|
// const [selectedItems, setSelectedItems] = useState<PickerSelection>(
|
|
1437
1438
|
// initialSelectedItems || null,
|
|
1438
1439
|
// );
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/medias",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.31",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
"@panneau/element-icon": "^4.0.27",
|
|
67
67
|
"@panneau/element-media-card": "^4.0.27",
|
|
68
68
|
"@panneau/element-media-player": "^4.0.27",
|
|
69
|
-
"@panneau/element-pagination": "^4.0.
|
|
69
|
+
"@panneau/element-pagination": "^4.0.31",
|
|
70
70
|
"@panneau/element-table": "^4.0.27",
|
|
71
|
-
"@panneau/field-upload": "^4.0.
|
|
72
|
-
"@panneau/filter-filters": "^4.0.
|
|
71
|
+
"@panneau/field-upload": "^4.0.31",
|
|
72
|
+
"@panneau/filter-filters": "^4.0.31",
|
|
73
73
|
"classnames": "^2.5.1",
|
|
74
74
|
"lodash": "^4.17.21",
|
|
75
75
|
"react-intl": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"publishConfig": {
|
|
78
78
|
"access": "public"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "64756359d534e2eb7a3516f8ee0691dc7d7587db"
|
|
81
81
|
}
|