arengibook 2.4.688 → 2.4.690

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 +10 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -36619,7 +36619,12 @@ var Dropdown = function Dropdown(props) {
36619
36619
  return /*#__PURE__*/React__default.createElement("span", null);
36620
36620
  }
36621
36621
  var optionAttrs = (option === null || option === void 0 ? void 0 : option.attrs) || {};
36622
+ console.log('optionAttrs');
36623
+ console.log(optionAttrs);
36624
+ console.log(option);
36622
36625
  var imgUrl = optionAttrs['data-linkimg'];
36626
+ console.log("imgUrl");
36627
+ console.log(imgUrl);
36623
36628
  var _style2 = _objectSpread2({
36624
36629
  display: 'flex',
36625
36630
  alignItems: 'center',
@@ -36632,7 +36637,9 @@ var Dropdown = function Dropdown(props) {
36632
36637
  fontSize: '14px'
36633
36638
  }, valueStyle)
36634
36639
  };
36635
- return /*#__PURE__*/React__default.createElement("div", {
36640
+ console.log('attrs');
36641
+ console.log(attrs);
36642
+ return imgUrl ? /*#__PURE__*/React__default.createElement("div", {
36636
36643
  style: _style2
36637
36644
  }, imgUrl && /*#__PURE__*/React__default.createElement("img", {
36638
36645
  src: imgUrl,
@@ -36642,10 +36649,10 @@ var Dropdown = function Dropdown(props) {
36642
36649
  height: '18px',
36643
36650
  objectFit: 'contain'
36644
36651
  }
36645
- }), /*#__PURE__*/React__default.createElement("span", {
36652
+ }), /*#__PURE__*/React__default.createElement("span", null, option === null || option === void 0 ? void 0 : option[optionLabel])) : /*#__PURE__*/React__default.createElement("span", {
36646
36653
  className: attrs.className,
36647
36654
  style: _objectSpread2(_objectSpread2({}, attrs.style), optionStyle)
36648
- }, (option === null || option === void 0 ? void 0 : option[optionLabel]) || placeholder));
36655
+ }, (option === null || option === void 0 ? void 0 : option[optionLabel]) || placeholder);
36649
36656
  }
36650
36657
  };
36651
36658
  var handleFilter = function handleFilter(event) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "2.4.688",
4
+ "version": "2.4.690",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {