wini-web-components 1.5.1 → 1.5.3

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.
@@ -266,7 +266,7 @@ var SelectMultiple = /** @class */ (function (_super) {
266
266
  this.state.value.map(function (item) {
267
267
  var optionItem = _this.props.options.find(function (e) { return e.id === item; });
268
268
  return react_1.default.createElement("div", { key: item, className: 'selected-item-value row', onClick: function (ev) { return _this.onClickItem(ev, item); } },
269
- react_1.default.createElement(text_1.Text, null, optionItem === null || optionItem === void 0 ? void 0 : optionItem.name),
269
+ react_1.default.createElement(text_1.Text, { style: { color: '#161D24E5', fontSize: '1.2rem', lineHeight: '1.4rem' } }, optionItem === null || optionItem === void 0 ? void 0 : optionItem.name),
270
270
  react_1.default.createElement(react_fontawesome_1.FontAwesomeIcon, { icon: free_solid_svg_icons_1.faClose, style: { color: '#161D24E5', fontSize: '1.2rem' } }));
271
271
  }),
272
272
  (!this.state.value.length || this.state.isOpen) && react_1.default.createElement("input", { autoFocus: this.state.isOpen, onChange: this.search, placeholder: this.state.value.length ? undefined : this.props.placeholder, onBlur: function (ev) {
@@ -71,8 +71,6 @@ var TextField = /** @class */ (function (_super) {
71
71
  this.props.register ?
72
72
  react_1.default.createElement("input", __assign({}, this.props.register, { autoFocus: this.props.autoFocus, maxLength: this.props.maxLength, name: this.props.name, type: (_e = this.props.type) !== null && _e !== void 0 ? _e : 'text', placeholder: this.props.placeholder, readOnly: this.props.readOnly, disabled: this.props.disabled, onFocus: this.props.onFocus, onKeyDown: this.props.onComplete ? function (ev) {
73
73
  if (_this.props.onComplete) {
74
- ev.stopPropagation();
75
- ev.preventDefault();
76
74
  switch (ev.key.toLowerCase()) {
77
75
  case "enter":
78
76
  _this.props.onComplete(ev);
@@ -83,8 +81,6 @@ var TextField = /** @class */ (function (_super) {
83
81
  }
84
82
  } : undefined })) : react_1.default.createElement("input", { autoFocus: this.props.autoFocus, maxLength: this.props.maxLength, name: this.props.name, type: (_f = this.props.type) !== null && _f !== void 0 ? _f : 'text', defaultValue: this.props.defaultValue, value: this.props.value, placeholder: this.props.placeholder, readOnly: this.props.readOnly, disabled: this.props.disabled, onChange: this.props.onChange, onFocus: this.props.onFocus, onBlur: this.props.onBlur, onKeyDown: this.props.onComplete ? function (ev) {
85
83
  if (_this.props.onComplete) {
86
- ev.stopPropagation();
87
- ev.preventDefault();
88
84
  switch (ev.key.toLowerCase()) {
89
85
  case "enter":
90
86
  _this.props.onComplete(ev);