@crystaldesign/diva-backoffice 25.11.0-beta.5 → 25.11.0-beta.6

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.
@@ -17711,7 +17711,7 @@ var InputComponent = function InputComponent(_ref, ref) {
17711
17711
  value: item.type === 'dateinput' ? new Date((_item$value5 = item.value) !== null && _item$value5 !== void 0 ? _item$value5 : value).toLocaleString().replace('Invalid Date', '') : (_item$value6 = item.value) !== null && _item$value6 !== void 0 ? _item$value6 : value,
17712
17712
  placeholder: item.placeholder,
17713
17713
  onChange: function onChange(e) {
17714
- return _onChange === null || _onChange === void 0 ? void 0 : _onChange(item.name, e.target.value);
17714
+ return _onChange === null || _onChange === void 0 ? void 0 : _onChange(item.name, e.target.value.trim());
17715
17715
  }
17716
17716
  });
17717
17717
  };
@@ -20077,8 +20077,8 @@ function getElement(item, setCanSave, state, absoluteName, _onChange, _onError,
20077
20077
  disabled: disabled,
20078
20078
  value: item.value,
20079
20079
  placeholder: item.placeholder,
20080
- onBlur: function onBlur() {
20081
- return state.onInputChanged();
20080
+ onBlur: function onBlur(e) {
20081
+ return state.onInputChanged(item.name, e.target.value.trim());
20082
20082
  }
20083
20083
  });
20084
20084
  case 'detailaction':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "25.11.0-beta.5",
3
+ "version": "25.11.0-beta.6",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^6.5.0",
@@ -15,13 +15,13 @@
15
15
  "dependencies": {
16
16
  "@ant-design/icons": "5.4.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "25.11.0-beta.5",
19
- "@crystaldesign/content-item": "25.11.0-beta.5",
20
- "@crystaldesign/diva-core": "25.11.0-beta.5",
21
- "@crystaldesign/diva-utils": "25.11.0-beta.5",
22
- "@crystaldesign/media-upload": "25.11.0-beta.5",
23
- "@crystaldesign/rtf-editor": "25.11.0-beta.5",
24
- "@crystaldesign/spreadsheet": "25.11.0-beta.5",
18
+ "@crystaldesign/content-box": "25.11.0-beta.6",
19
+ "@crystaldesign/content-item": "25.11.0-beta.6",
20
+ "@crystaldesign/diva-core": "25.11.0-beta.6",
21
+ "@crystaldesign/diva-utils": "25.11.0-beta.6",
22
+ "@crystaldesign/media-upload": "25.11.0-beta.6",
23
+ "@crystaldesign/rtf-editor": "25.11.0-beta.6",
24
+ "@crystaldesign/spreadsheet": "25.11.0-beta.6",
25
25
  "@google/model-viewer": "3.5.0",
26
26
  "ag-charts-community": "^10.1.0",
27
27
  "ag-charts-react": "^10.1.0",
@@ -51,5 +51,5 @@
51
51
  },
52
52
  "module": "build/esm/index.js",
53
53
  "types": "./build/types/backoffice/src/index.d.ts",
54
- "gitHead": "8cd735936fd9a9d0208176ce5254c6adf4c61088"
54
+ "gitHead": "60d9867b6fc81e916da5a87641224ec861f7691d"
55
55
  }