@crystaldesign/diva-backoffice 26.8.0-beta.62 → 26.8.0-beta.64

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.
@@ -25504,7 +25504,6 @@ function resolveActionErrorText(action, t) {
25504
25504
  return t(action.errorText);
25505
25505
  }
25506
25506
  function ActionButton (_ref) {
25507
- var _ref3, _ref4, _ref5;
25508
25507
  var action = _ref.action,
25509
25508
  callback = _ref.callback,
25510
25509
  type = _ref.type,
@@ -25729,7 +25728,7 @@ function ActionButton (_ref) {
25729
25728
  disabled: disable,
25730
25729
  style: style,
25731
25730
  onClick: onClick,
25732
- children: (_ref3 = iconElement !== null && iconElement !== void 0 ? iconElement : label) !== null && _ref3 !== void 0 ? _ref3 : defaultLabel
25731
+ children: iconElement !== null && iconElement !== void 0 ? iconElement : label || defaultLabel
25733
25732
  }, id));
25734
25733
  case 'Download':
25735
25734
  return withTooltip(/*#__PURE__*/jsx(ButtonType, {
@@ -25746,7 +25745,7 @@ function ActionButton (_ref) {
25746
25745
  action: action
25747
25746
  });
25748
25747
  },
25749
- children: (_ref4 = iconElement !== null && iconElement !== void 0 ? iconElement : label) !== null && _ref4 !== void 0 ? _ref4 : /*#__PURE__*/jsx(FileExcelOutlined, {})
25748
+ children: iconElement !== null && iconElement !== void 0 ? iconElement : label || /*#__PURE__*/jsx(FileExcelOutlined, {})
25750
25749
  }, id));
25751
25750
  case 'Callback':
25752
25751
  return withTooltip(/*#__PURE__*/jsx(ButtonType, {
@@ -25755,7 +25754,7 @@ function ActionButton (_ref) {
25755
25754
  disabled: disable,
25756
25755
  style: style,
25757
25756
  onClick: onClick,
25758
- children: (_ref5 = iconElement !== null && iconElement !== void 0 ? iconElement : label) !== null && _ref5 !== void 0 ? _ref5 : defaultLabel
25757
+ children: iconElement !== null && iconElement !== void 0 ? iconElement : label || defaultLabel
25759
25758
  }, id));
25760
25759
  default:
25761
25760
  throw new Error("Action type ".concat(action.actionType, " is not supported"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.8.0-beta.62",
3
+ "version": "26.8.0-beta.64",
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": "6.1.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "26.8.0-beta.62",
19
- "@crystaldesign/content-item": "26.8.0-beta.62",
20
- "@crystaldesign/diva-core": "26.8.0-beta.62",
21
- "@crystaldesign/diva-utils": "26.8.0-beta.62",
22
- "@crystaldesign/media-upload": "26.8.0-beta.62",
23
- "@crystaldesign/rtf-editor": "26.8.0-beta.62",
24
- "@crystaldesign/spreadsheet": "26.8.0-beta.62",
18
+ "@crystaldesign/content-box": "26.8.0-beta.64",
19
+ "@crystaldesign/content-item": "26.8.0-beta.64",
20
+ "@crystaldesign/diva-core": "26.8.0-beta.64",
21
+ "@crystaldesign/diva-utils": "26.8.0-beta.64",
22
+ "@crystaldesign/media-upload": "26.8.0-beta.64",
23
+ "@crystaldesign/rtf-editor": "26.8.0-beta.64",
24
+ "@crystaldesign/spreadsheet": "26.8.0-beta.64",
25
25
  "@dnd-kit/core": "^6.1.0",
26
26
  "@dnd-kit/sortable": "^8.0.0",
27
27
  "@dnd-kit/utilities": "^3.2.2",
@@ -56,5 +56,5 @@
56
56
  },
57
57
  "module": "build/esm/index.js",
58
58
  "types": "./build/types/backoffice/src/index.d.ts",
59
- "gitHead": "36f0c383cbf848ff44665d0d0fc9be2bb972f8c3"
59
+ "gitHead": "aa8b3708ead6649ccd4207a233e1066fd5c47153"
60
60
  }