@guillotinaweb/react-gmi 0.26.0 → 0.27.0

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.
@@ -3403,7 +3403,7 @@
3403
3403
 
3404
3404
  return /*#__PURE__*/React.createElement("div", {
3405
3405
  className: "control"
3406
- }, /*#__PURE__*/React.createElement("div", {
3406
+ }, (value != null ? value : []).length > 0 && /*#__PURE__*/React.createElement("div", {
3407
3407
  className: "tags"
3408
3408
  }, value.map(function (tag, index) {
3409
3409
  return /*#__PURE__*/React.createElement("div", {
@@ -4583,7 +4583,9 @@
4583
4583
  }
4584
4584
  }
4585
4585
 
4586
- return /*#__PURE__*/React__default['default'].createElement(InputList, _extends({
4586
+ return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, rest.placeholder && /*#__PURE__*/React__default['default'].createElement("label", {
4587
+ className: "label"
4588
+ }, rest.placeholder), /*#__PURE__*/React__default['default'].createElement(InputList, _extends({
4587
4589
  value: val || [],
4588
4590
  className: className,
4589
4591
  onChange: function onChange(ev) {
@@ -4591,7 +4593,7 @@
4591
4593
  },
4592
4594
  ref: ref,
4593
4595
  dataTest: dataTest
4594
- }, rest));
4596
+ }, rest)));
4595
4597
  } else if ((schema == null ? void 0 : schema.widget) === 'file') {
4596
4598
  return /*#__PURE__*/React__default['default'].createElement(FileUpload, _extends({
4597
4599
  onChange: function onChange(ev) {
@@ -6120,13 +6122,10 @@
6120
6122
  var getStateTitle = function getStateTitle() {
6121
6123
  var _vocabulary$data, _vocabulary$data$item;
6122
6124
 
6123
- console.log('getStateTitle', vocabulary);
6124
-
6125
6125
  if (((_vocabulary$data = vocabulary.data) == null ? void 0 : (_vocabulary$data$item = _vocabulary$data.items) == null ? void 0 : _vocabulary$data$item.length) > 0) {
6126
6126
  var vocabularyValue = vocabulary.data.items.find(function (item) {
6127
6127
  return item.token === currentState;
6128
6128
  });
6129
- console.log('state title', vocabularyValue, intl.locale);
6130
6129
 
6131
6130
  if (vocabularyValue) {
6132
6131
  var translatedValue = get$1(vocabularyValue, "title.translated_title." + intl.locale, null);
@@ -6146,7 +6145,6 @@
6146
6145
  return currentState;
6147
6146
  };
6148
6147
 
6149
- console.log('Workflow log');
6150
6148
  if (definition === undefined) return null;
6151
6149
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, workflowAction && /*#__PURE__*/React__default['default'].createElement(Confirm, {
6152
6150
  loading: loading,