@micromag/media-gallery 0.3.551 → 0.3.552

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.
Files changed (2) hide show
  1. package/es/index.js +6 -2
  2. package/package.json +2 -2
package/es/index.js CHANGED
@@ -176,6 +176,7 @@ var defaultFields = [{
176
176
  "value": "Tags"
177
177
  }]
178
178
  }),
179
+ createPrefix: 'Create',
179
180
  type: 'array',
180
181
  component: 'select',
181
182
  requestUrl: '/api/medias/tags',
@@ -184,8 +185,9 @@ var defaultFields = [{
184
185
  // Uses taggable so change the logic here
185
186
  valueIsOption: true,
186
187
  multiple: true,
187
- paginated: false
188
- // creatable: true, // TODO
188
+ paginated: false,
189
+ creatable: true
190
+ // onCreate...
189
191
  }]
190
192
  }, {
191
193
  id: 'info',
@@ -600,6 +602,8 @@ function MediaGallery(_ref) {
600
602
  columns: columns,
601
603
  uppyConfig: uppyConfig,
602
604
  onMediaUploaded: onMediaUploaded,
605
+ multipleSelection: true // allow multi-uploads in MediasBrowser
606
+ ,
603
607
  withStickySelection: true,
604
608
  withTrash: true
605
609
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/media-gallery",
3
- "version": "0.3.551",
3
+ "version": "0.3.552",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -86,5 +86,5 @@
86
86
  "access": "public",
87
87
  "registry": "https://registry.npmjs.org/"
88
88
  },
89
- "gitHead": "197f35804518016b6a705cdff8b8a0a73717bdf7"
89
+ "gitHead": "0d6ffdbca29afb482e68f55a41c45ba6e982ae7d"
90
90
  }