iov-design 2.15.21 → 2.15.22

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.
@@ -677,14 +677,14 @@
677
677
  // 兼容input组件多加了一层el-input-group__inner
678
678
  Array.from(inputChildNodes).find(child => {
679
679
  if (child && child.classList && child.classList.contains('el-input-group__inner')) {
680
- inputChildNodes = child.childNodes;
680
+ inputChildNodes = child;
681
681
  }
682
682
  });
683
- let input = [].filter.call(inputChildNodes, item => item.tagName === 'INPUT')[0];
683
+ // let input = [].filter.call(inputChildNodes, item => item.tagName === 'INPUT')[0];
684
684
  const tags = this.$refs.tags;
685
685
  const tagsHeight = tags ? Math.round(tags.getBoundingClientRect().height) : 0;
686
- const sizeInMap = this.initialInputHeight || 40;
687
- input.style.height = this.selected.length === 0
686
+ const sizeInMap = this.initialInputHeight || 36;
687
+ inputChildNodes.style.height = this.selected.length === 0
688
688
  ? sizeInMap + 'px'
689
689
  : Math.max(
690
690
  tags ? (tagsHeight + (tagsHeight > sizeInMap ? 6 : 0)) : 0,
@@ -907,11 +907,11 @@
907
907
  const reference = this.$refs.reference;
908
908
  if (reference && reference.$el) {
909
909
  const sizeMap = {
910
- medium: 36,
911
- small: 32,
912
- mini: 28
910
+ medium: 32,
911
+ small: 30,
912
+ mini: 26
913
913
  };
914
- const input = reference.$el.querySelector('input');
914
+ const input = reference.$el;
915
915
  this.initialInputHeight = input.getBoundingClientRect().height || sizeMap[this.selectSize];
916
916
  }
917
917
  if (this.remote && this.multiple) {
@@ -241,7 +241,7 @@
241
241
  }
242
242
  .el-input__prefix,
243
243
  .el-input__suffix,
244
- // .el-input-group__prefix-label,
244
+ .el-input-group__prefix-label,
245
245
  .el-input-group__suffix-label {
246
246
  background-color: $--input-disabled-fill;
247
247
  }
@@ -64,12 +64,13 @@
64
64
  box-sizing: border-box;
65
65
  transition: border-color ease .3s;
66
66
  overflow: hidden;
67
+ background: #fff;
67
68
  .el-radio__input {
68
69
  float: left;
69
70
  font-size: 0;
70
71
  &.is-checked {
71
72
  & + .el-radio__label {
72
- color: $--color-text-6;
73
+ color: $--color-primary-6;
73
74
  }
74
75
  }
75
76
  }
@@ -97,8 +98,8 @@
97
98
 
98
99
 
99
100
  &.is-disabled {
100
- background: $--color-fill-1;
101
- border-color: $--color-line-2;
101
+ background: $--color-primary-1;
102
+ border-color: $--color-primary-2;
102
103
  .el-radio__label {
103
104
  color: $--color-text-3;
104
105
  }
@@ -121,13 +122,13 @@
121
122
  right: -1px;
122
123
  }
123
124
  &.is-disabled {
125
+ border-color: $--color-primary-6;
124
126
  background: $--color-primary-1;
125
- border-color: $--color-primary-2;
126
- &:after {
127
- opacity: .25;
128
- }
127
+ // &:after {
128
+ // opacity: .25;
129
+ // }
129
130
  .el-radio__label {
130
- color: $--color-text-3;
131
+ color: $--color-primary-6;
131
132
  }
132
133
  }
133
134
  }
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.21',
215
+ version: '2.15.22',
216
216
  locale: locale.use,
217
217
  i18n: locale.i18n,
218
218
  install,