@panneau/medias 3.0.196 → 3.0.198

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/es/index.js CHANGED
@@ -1175,10 +1175,13 @@ function MediasBrowser(_ref) {
1175
1175
  className: "ms-auto w-auto text-nowrap mt-2 mb-2 ps-2",
1176
1176
  withButton: true,
1177
1177
  withoutMedia: true,
1178
- uppyConfig: uppyConfig,
1178
+ uppyProps: uppyConfig,
1179
+ types: types,
1180
+ allowMultipleUploads: multipleSelection,
1179
1181
  onChange: onUploadComplete,
1180
1182
  disabled: uploadProcessing,
1181
- loading: uploadProcessing
1183
+ loading: uploadProcessing,
1184
+ closeAfterFinish: true
1182
1185
  }) : null), /*#__PURE__*/React.createElement("div", {
1183
1186
  className: classNames(['d-flex', 'mt-1', 'mb-3', {
1184
1187
  'justify-content-between': hasLayouts,
package/lib/index.js CHANGED
@@ -1177,10 +1177,13 @@ function MediasBrowser(_ref) {
1177
1177
  className: "ms-auto w-auto text-nowrap mt-2 mb-2 ps-2",
1178
1178
  withButton: true,
1179
1179
  withoutMedia: true,
1180
- uppyConfig: uppyConfig,
1180
+ uppyProps: uppyConfig,
1181
+ types: types,
1182
+ allowMultipleUploads: multipleSelection,
1181
1183
  onChange: onUploadComplete,
1182
1184
  disabled: uploadProcessing,
1183
- loading: uploadProcessing
1185
+ loading: uploadProcessing,
1186
+ closeAfterFinish: true
1184
1187
  }) : null), /*#__PURE__*/React.createElement("div", {
1185
1188
  className: classNames(['d-flex', 'mt-1', 'mb-3', {
1186
1189
  'justify-content-between': hasLayouts,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/medias",
3
- "version": "3.0.196",
3
+ "version": "3.0.198",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -59,7 +59,7 @@
59
59
  "@panneau/element-media-player": "^3.0.194",
60
60
  "@panneau/element-pagination": "^3.0.194",
61
61
  "@panneau/element-table": "^3.0.194",
62
- "@panneau/field-upload": "^3.0.194",
62
+ "@panneau/field-upload": "^3.0.198",
63
63
  "@panneau/filter-filters": "^3.0.194",
64
64
  "classnames": "^2.5.1",
65
65
  "lodash": "^4.17.21",
@@ -69,5 +69,5 @@
69
69
  "publishConfig": {
70
70
  "access": "public"
71
71
  },
72
- "gitHead": "4b478929e4e4fe1a710056e5b7052814e81d6990"
72
+ "gitHead": "a6c9a1104d7e7dd37ac50303358270093a15718e"
73
73
  }