@evergis/uilib-gl 1.0.31 → 1.0.32

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.
@@ -15229,7 +15229,11 @@ var OptionComponent = function OptionComponent(_ref) {
15229
15229
  onMouseDown: function onMouseDown(e) {
15230
15230
  e.preventDefault();
15231
15231
  e.stopPropagation();
15232
- select(item);
15232
+ },
15233
+ onMouseUp: function onMouseUp(e) {
15234
+ e.preventDefault();
15235
+ e.stopPropagation();
15236
+ select == null ? void 0 : select(item);
15233
15237
  },
15234
15238
  className: className,
15235
15239
  disabled: disabled,
@@ -15239,7 +15243,7 @@ var OptionComponent = function OptionComponent(_ref) {
15239
15243
  }, !!multiple && value !== null && React__default.createElement(Checkbox, {
15240
15244
  indeterminate: isIndeterminate(item, selectedOptions),
15241
15245
  onChange: function onChange() {
15242
- return select(item);
15246
+ return select == null ? void 0 : select(item);
15243
15247
  },
15244
15248
  onClick: function onClick(e) {
15245
15249
  e.preventDefault();