arengibook 2.4.684 → 2.4.685

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 +13 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -36522,11 +36522,23 @@ var Dropdown = function Dropdown(props) {
36522
36522
  var optionAttrs = (option === null || option === void 0 ? void 0 : option.attrs) || {};
36523
36523
  var className = optionAttrs.className || optionClassname;
36524
36524
  var _style = _objectSpread2(_objectSpread2({
36525
+ display: 'flex',
36526
+ alignItems: 'center',
36527
+ gap: '0.5rem',
36525
36528
  fontSize: '14px'
36526
36529
  }, optionAttrs.style || {}), optionStyle);
36530
+ var imgUrl = optionAttrs['data-linkimg'];
36527
36531
  return /*#__PURE__*/React__default.createElement("div", _extends$C({}, optionAttrs, {
36528
36532
  className: className,
36529
36533
  style: _style
36534
+ }), imgUrl && /*#__PURE__*/React__default.createElement("img", {
36535
+ src: imgUrl,
36536
+ alt: "",
36537
+ style: {
36538
+ width: '18px',
36539
+ height: '18px',
36540
+ objectFit: 'contain'
36541
+ }
36530
36542
  }), option === null || option === void 0 ? void 0 : option[optionLabel]);
36531
36543
  } else {
36532
36544
  var _ref = selectMetaConfig || {},
@@ -36849,7 +36861,7 @@ var DropdownPresets = {
36849
36861
  },
36850
36862
  choice_attr: function choice_attr(option) {
36851
36863
  return {
36852
- 'data-src': option
36864
+ className: ''
36853
36865
  };
36854
36866
  }
36855
36867
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "2.4.684",
4
+ "version": "2.4.685",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {