wini-web-components 1.5.7 → 1.5.8

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.
@@ -286,12 +286,12 @@ var Select1 = /** @class */ (function (_super) {
286
286
  (_c = _this.inputRef.current) === null || _c === void 0 ? void 0 : _c.focus();
287
287
  }
288
288
  } },
289
- react_1.default.createElement("div", { className: 'row', style: { flexWrap: 'wrap', flex: 1, width: '100%', gap: '0.6rem 0.4rem' } }, (!_value || typeof _value.name === "string" || typeof _value.name === "number") ? react_1.default.createElement("input", { ref: this.inputRef, readOnly: this.props.readOnly, onChange: this.search, placeholder: this.props.placeholder, onKeyDown: this.onKeyDown, onBlur: function (ev) {
289
+ (!_value || typeof _value.name === "string" || typeof _value.name === "number") ? react_1.default.createElement("input", { ref: this.inputRef, readOnly: this.props.readOnly, onChange: this.search, placeholder: this.props.placeholder, onKeyDown: this.onKeyDown, onBlur: function (ev) {
290
290
  if (_this.state.onSelect && !_this.props.readOnly)
291
291
  ev.target.focus();
292
292
  else if (!_this.state.onSelect)
293
293
  _this.setState(__assign(__assign({}, _this.state), { isOpen: false, onSelect: null }));
294
- } }) : _value.name),
294
+ } }) : _value.name,
295
295
  this.props.showClearValueButton && _value ? react_1.default.createElement("button", { type: 'button', className: 'row', style: { padding: '0.4rem' }, onClick: function (ev) {
296
296
  ev.stopPropagation();
297
297
  if (_this.state.value)