iov-design 2.15.37 → 2.15.38

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.
@@ -7554,8 +7554,8 @@ var selectvue_type_template_id_0e4aade6_render = function() {
7554
7554
  staticClass: "el-select__tags",
7555
7555
  style: {
7556
7556
  "max-width": _vm.inputWidth - 32 + "px",
7557
- width: "100%",
7558
- left: _vm.tagsLeft
7557
+ width: _vm.inputWidth - _vm.tagsLeft - 32 + "px",
7558
+ left: _vm.tagsLeft + "px"
7559
7559
  }
7560
7560
  },
7561
7561
  [
@@ -9116,7 +9116,7 @@ var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_vi
9116
9116
  var inputInner = _this10.$el.querySelector('.el-input__inner');
9117
9117
  var prefixLabelWidth = prefixLabel && Math.round(prefixLabel.getBoundingClientRect().width) || 0;
9118
9118
  var inputPaddingLeft = prefixLabel || prefix ? Math.round(window.getComputedStyle(inputInner).paddingLeft.replace(/px/, '')) : 0;
9119
- _this10.tagsLeft = prefixLabelWidth + inputPaddingLeft + 'px';
9119
+ _this10.tagsLeft = prefixLabelWidth + inputPaddingLeft;
9120
9120
  });
9121
9121
  },
9122
9122
  resetInputState: function resetInputState(e) {
@@ -44009,7 +44009,7 @@ if (typeof window !== 'undefined' && window.Vue) {
44009
44009
  }
44010
44010
 
44011
44011
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
44012
- version: '2.15.37',
44012
+ version: '2.15.38',
44013
44013
  locale: lib_locale_default.a.use,
44014
44014
  i18n: lib_locale_default.a.i18n,
44015
44015
  install: src_install,
package/lib/select.js CHANGED
@@ -597,8 +597,8 @@ var render = function() {
597
597
  staticClass: "el-select__tags",
598
598
  style: {
599
599
  "max-width": _vm.inputWidth - 32 + "px",
600
- width: "100%",
601
- left: _vm.tagsLeft
600
+ width: _vm.inputWidth - _vm.tagsLeft - 32 + "px",
601
+ left: _vm.tagsLeft + "px"
602
602
  }
603
603
  },
604
604
  [
@@ -1947,7 +1947,7 @@ var shared_ = __webpack_require__(21);
1947
1947
  var inputInner = _this10.$el.querySelector('.el-input__inner');
1948
1948
  var prefixLabelWidth = prefixLabel && Math.round(prefixLabel.getBoundingClientRect().width) || 0;
1949
1949
  var inputPaddingLeft = prefixLabel || prefix ? Math.round(window.getComputedStyle(inputInner).paddingLeft.replace(/px/, '')) : 0;
1950
- _this10.tagsLeft = prefixLabelWidth + inputPaddingLeft + 'px';
1950
+ _this10.tagsLeft = prefixLabelWidth + inputPaddingLeft;
1951
1951
  });
1952
1952
  },
1953
1953
  resetInputState: function resetInputState(e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iov-design",
3
- "version": "2.15.37",
3
+ "version": "2.15.38",
4
4
  "description": "A Component Library for Vue.js.",
5
5
  "main": "lib/iov-design.common.js",
6
6
  "files": [
@@ -8,7 +8,7 @@
8
8
  class="el-select__tags"
9
9
  v-if="multiple"
10
10
  ref="tags"
11
- :style="{ 'max-width': inputWidth - 32 + 'px', width: '100%', left: tagsLeft }">
11
+ :style="{ 'max-width': inputWidth - 32 + 'px', width: (inputWidth - tagsLeft - 32) + 'px', left: tagsLeft + 'px' }">
12
12
  <span class="el-tag__group" v-if="collapseTags && selected.length">
13
13
  <el-tag
14
14
  :closable="!selectDisabled"
@@ -656,7 +656,7 @@
656
656
  const inputInner = this.$el.querySelector('.el-input__inner');
657
657
  const prefixLabelWidth = prefixLabel && Math.round(prefixLabel.getBoundingClientRect().width) || 0;
658
658
  const inputPaddingLeft = prefixLabel || prefix ? Math.round(window.getComputedStyle(inputInner).paddingLeft.replace(/px/, '')) : 0;
659
- this.tagsLeft = (prefixLabelWidth + inputPaddingLeft) + 'px';
659
+ this.tagsLeft = prefixLabelWidth + inputPaddingLeft;
660
660
  });
661
661
  },
662
662
 
package/src/index.js CHANGED
@@ -212,7 +212,7 @@ if (typeof window !== 'undefined' && window.Vue) {
212
212
  }
213
213
 
214
214
  export default {
215
- version: '2.15.37',
215
+ version: '2.15.38',
216
216
  locale: locale.use,
217
217
  i18n: locale.i18n,
218
218
  install,