arengibook 2.4.589 → 2.4.590

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/dist/index.js +5 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -35926,7 +35926,7 @@ var Dropdown = function Dropdown(_ref) {
35926
35926
  style: _objectSpread2({
35927
35927
  fontSize: '14px'
35928
35928
  }, optionStyle)
35929
- }, option.label);
35929
+ }, option === null || option === void 0 ? void 0 : option[optionLabel]);
35930
35930
  } else {
35931
35931
  var _ref2 = selectMetaConfig || {},
35932
35932
  labelStyle = _ref2.labelStyle,
@@ -35951,7 +35951,7 @@ var Dropdown = function Dropdown(_ref) {
35951
35951
  className: generalIcon
35952
35952
  }), /*#__PURE__*/React__default.createElement("span", {
35953
35953
  style: styleLabel
35954
- }, option === null || option === void 0 ? void 0 : option.label)));
35954
+ }, option === null || option === void 0 ? void 0 : option[optionLabel])));
35955
35955
  }
35956
35956
  };
35957
35957
  var valueTemplate = function valueTemplate(option) {
@@ -35965,11 +35965,11 @@ var Dropdown = function Dropdown(_ref) {
35965
35965
  borderRadius: '1rem',
35966
35966
  display: 'inline-block'
35967
35967
  }, valueStyle)
35968
- }, option !== null && option !== void 0 && option.label ? /*#__PURE__*/React__default.createElement("span", {
35968
+ }, option !== null && option !== void 0 && option[optionLabel] ? /*#__PURE__*/React__default.createElement("span", {
35969
35969
  style: {
35970
35970
  color: iconColor
35971
35971
  }
35972
- }, option === null || option === void 0 ? void 0 : option.label) : /*#__PURE__*/React__default.createElement("span", {
35972
+ }, option === null || option === void 0 ? void 0 : option[optionLabel]) : /*#__PURE__*/React__default.createElement("span", {
35973
35973
  style: {
35974
35974
  color: '#000000'
35975
35975
  }
@@ -35980,7 +35980,7 @@ var Dropdown = function Dropdown(_ref) {
35980
35980
  fontFamily: 'Arial',
35981
35981
  fontSize: '14px'
35982
35982
  }, valueStyle)
35983
- }, (option === null || option === void 0 ? void 0 : option.label) || placeholder);
35983
+ }, (option === null || option === void 0 ? void 0 : option[optionLabel]) || placeholder);
35984
35984
  }
35985
35985
  };
35986
35986
  var onLazyLoad = function onLazyLoad(event) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "2.4.589",
4
+ "version": "2.4.590",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {