@panneau/medias 3.0.246 → 3.0.247

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 +16 -1
  2. package/package.json +4 -4
package/es/index.js CHANGED
@@ -263,7 +263,22 @@ var defaultFields = [{
263
263
  }),
264
264
  type: 'text',
265
265
  component: 'text'
266
- }, {
266
+ },
267
+ // Creatable example
268
+ // {
269
+ // name: 'tags',
270
+ // label: <FormattedMessage defaultMessage="Tags" description="Field name" />,
271
+ // type: 'array',
272
+ // component: 'select',
273
+ // requestUrl: '/api/tags',
274
+ // optionLabelPath: 'label',
275
+ // optionValuePath: 'id', // Uses taggable so change the logic here
276
+ // valueIsOption: true,
277
+ // multiple: true,
278
+ // paginated: false,
279
+ // creatable: true, // TODO
280
+ // },
281
+ {
267
282
  id: 'info',
268
283
  component: 'fields',
269
284
  label: /*#__PURE__*/React.createElement(FormattedMessage, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/medias",
3
- "version": "3.0.246",
3
+ "version": "3.0.247",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -64,8 +64,8 @@
64
64
  "@panneau/element-media-player": "^3.0.244",
65
65
  "@panneau/element-pagination": "^3.0.244",
66
66
  "@panneau/element-table": "^3.0.244",
67
- "@panneau/field-upload": "^3.0.245",
68
- "@panneau/filter-filters": "^3.0.244",
67
+ "@panneau/field-upload": "^3.0.247",
68
+ "@panneau/filter-filters": "^3.0.247",
69
69
  "classnames": "^2.5.1",
70
70
  "lodash": "^4.17.21",
71
71
  "prop-types": "^15.7.2",
@@ -74,5 +74,5 @@
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "ff4eb6478ed963f29c9686e4463ffbf4d3791bcb"
77
+ "gitHead": "a8c051170781e27da715dcd48d808c0468cc5367"
78
78
  }