arengibook 2.4.670 → 2.4.671
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.
- package/dist/index.js +13 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36374,6 +36374,8 @@ var Dropdown = function Dropdown(props) {
|
|
|
36374
36374
|
choice_attr = _props$choice_attr === void 0 ? function () {
|
|
36375
36375
|
return {};
|
|
36376
36376
|
} : _props$choice_attr,
|
|
36377
|
+
_props$optionClassnam = props.optionClassname,
|
|
36378
|
+
optionClassname = _props$optionClassnam === void 0 ? null : _props$optionClassnam,
|
|
36377
36379
|
_props$isGroupedOptio = props.isGroupedOption,
|
|
36378
36380
|
isGroupedOption = _props$isGroupedOptio === void 0 ? false : _props$isGroupedOptio,
|
|
36379
36381
|
_props$showTooltipGro = props.showTooltipGroup,
|
|
@@ -36518,20 +36520,17 @@ var Dropdown = function Dropdown(props) {
|
|
|
36518
36520
|
};
|
|
36519
36521
|
var optionTemplate = function optionTemplate(option) {
|
|
36520
36522
|
if (!isSelectMeta) {
|
|
36521
|
-
|
|
36522
|
-
|
|
36523
|
-
|
|
36524
|
-
|
|
36525
|
-
|
|
36526
|
-
|
|
36527
|
-
|
|
36528
|
-
|
|
36529
|
-
|
|
36530
|
-
|
|
36531
|
-
|
|
36532
|
-
}, optionStyle)
|
|
36533
|
-
}, option === null || option === void 0 ? void 0 : option[optionLabel]);
|
|
36534
|
-
}
|
|
36523
|
+
var defaultAttrs = {
|
|
36524
|
+
className: optionClassname,
|
|
36525
|
+
style: {
|
|
36526
|
+
fontSize: '14px'
|
|
36527
|
+
}
|
|
36528
|
+
};
|
|
36529
|
+
var attrs = typeof choice_attr === 'function' ? choice_attr(option) : defaultAttrs;
|
|
36530
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
36531
|
+
className: attrs.className,
|
|
36532
|
+
style: _objectSpread2(_objectSpread2({}, attrs.style), optionStyle)
|
|
36533
|
+
}, option === null || option === void 0 ? void 0 : option[optionLabel]);
|
|
36535
36534
|
} else {
|
|
36536
36535
|
var _ref = selectMetaConfig || {},
|
|
36537
36536
|
labelStyle = _ref.labelStyle,
|