@panneau/field-resource-item 2.0.81 → 2.0.83

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
@@ -18,7 +18,6 @@ import Select from '@panneau/element-select';
18
18
  import ResourceForm from '@panneau/form-resource';
19
19
  import { useResourceValues } from '@panneau/intl';
20
20
  import Dialog from '@panneau/modal-dialog';
21
- import '@panneau/modal-resource-form';
22
21
  import ResourceItemsModal from '@panneau/modal-resource-items';
23
22
 
24
23
  var propTypes = {
@@ -76,7 +75,7 @@ var defaultProps = {
76
75
  getItemImage: getPathValue,
77
76
  itemLabelPath: 'label',
78
77
  itemDescriptionPath: null,
79
- itemImagePath: 'image',
78
+ itemImagePath: 'image.thumbnail_url',
80
79
  itemLabelWithId: false,
81
80
  placeholder: null,
82
81
  canCreate: false,
package/lib/index.js CHANGED
@@ -22,7 +22,6 @@ var Select = require('@panneau/element-select');
22
22
  var ResourceForm = require('@panneau/form-resource');
23
23
  var intl = require('@panneau/intl');
24
24
  var Dialog = require('@panneau/modal-dialog');
25
- require('@panneau/modal-resource-form');
26
25
  var ResourceItemsModal = require('@panneau/modal-resource-items');
27
26
 
28
27
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -98,7 +97,7 @@ var defaultProps = {
98
97
  getItemImage: utils.getPathValue,
99
98
  itemLabelPath: 'label',
100
99
  itemDescriptionPath: null,
101
- itemImagePath: 'image',
100
+ itemImagePath: 'image.thumbnail_url',
102
101
  itemLabelWithId: false,
103
102
  placeholder: null,
104
103
  canCreate: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/field-resource-item",
3
- "version": "2.0.81",
3
+ "version": "2.0.83",
4
4
  "description": "An item mapping a resource",
5
5
  "keywords": [
6
6
  "javascript"
@@ -45,15 +45,16 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@babel/runtime": "^7.12.5",
48
- "@panneau/core": "^2.0.75",
49
- "@panneau/data": "^2.0.75",
50
- "@panneau/element-button": "^2.0.75",
51
- "@panneau/element-resource-card": "^2.0.80",
52
- "@panneau/element-select": "^2.0.75",
53
- "@panneau/form-resource": "^2.0.79",
54
- "@panneau/intl": "^2.0.79",
55
- "@panneau/modal-resource-form": "^2.0.79",
56
- "@panneau/modal-resource-items": "^2.0.79",
48
+ "@panneau/core": "^2.0.83",
49
+ "@panneau/data": "^2.0.83",
50
+ "@panneau/element-button": "^2.0.83",
51
+ "@panneau/element-resource-card": "^2.0.83",
52
+ "@panneau/element-select": "^2.0.83",
53
+ "@panneau/form-resource": "^2.0.83",
54
+ "@panneau/intl": "^2.0.83",
55
+ "@panneau/modal-dialog": "^2.0.83",
56
+ "@panneau/modal-resource-form": "^2.0.83",
57
+ "@panneau/modal-resource-items": "^2.0.83",
57
58
  "classnames": "^2.2.6",
58
59
  "lodash": "^4.17.21",
59
60
  "prop-types": "^15.7.2",
@@ -62,5 +63,5 @@
62
63
  "publishConfig": {
63
64
  "access": "public"
64
65
  },
65
- "gitHead": "4677cd27afca48b7208c4fe827233db08ebb8e21"
66
+ "gitHead": "2f2300a3f55d94d6913eb25cde7f035b3c8e0915"
66
67
  }