iov-design 2.15.37 → 2.15.39
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.
- package/lib/index.js +1 -1
- package/lib/iov-design.common.js +8 -8
- package/lib/message-box.js +2 -2
- package/lib/select.js +3 -3
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/calendar.css +1 -1
- package/lib/theme-chalk/cascader.css +1 -1
- package/lib/theme-chalk/collapse.css +1 -1
- package/lib/theme-chalk/date-picker.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/message-box.css +1 -1
- package/lib/theme-chalk/pagination.css +1 -1
- package/lib/theme-chalk/select.css +1 -1
- package/lib/theme-chalk/table-column.css +1 -1
- package/lib/theme-chalk/table.css +1 -1
- package/lib/theme-chalk/tag.css +1 -1
- package/lib/theme-chalk/time-picker.css +1 -1
- package/lib/theme-chalk/time-select.css +1 -1
- package/lib/theme-chalk/tree.css +1 -1
- package/lib/tooltip.js +2 -2
- package/package.json +1 -1
- package/packages/message-box/src/main.js +1 -1
- package/packages/message-box/src/main.vue +1 -1
- package/packages/select/src/select.vue +2 -2
- package/packages/theme-chalk/src/common/transition.scss +1 -1
- package/packages/theme-chalk/src/common/var.scss +3 -3
- package/packages/theme-chalk/src/table.scss +8 -8
- package/packages/theme-chalk/src/tag.scss +4 -4
- package/packages/tooltip/src/main.js +2 -2
- package/src/index.js +1 -1
|
@@ -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: '
|
|
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 =
|
|
659
|
+
this.tagsLeft = prefixLabelWidth + inputPaddingLeft;
|
|
660
660
|
});
|
|
661
661
|
},
|
|
662
662
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
-------------------------- */
|
|
10
10
|
$--all-transition: all .3s cubic-bezier(.645,.045,.355,1) !default;
|
|
11
11
|
$--fade-transition: opacity 300ms cubic-bezier(0.23, 1, 0.32, 1) !default;
|
|
12
|
-
$--fade-linear-transition: opacity
|
|
12
|
+
$--fade-linear-transition: opacity 100ms linear !default;
|
|
13
13
|
$--md-fade-transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1) !default;
|
|
14
14
|
$--border-transition-base: border-color .2s cubic-bezier(.645,.045,.355,1) !default;
|
|
15
15
|
$--color-transition-base: color .2s cubic-bezier(.645,.045,.355,1) !default;
|
|
@@ -299,7 +299,7 @@ $--alert-icon-large-size: 28px !default;
|
|
|
299
299
|
-------------------------- */
|
|
300
300
|
/// color||Color|0
|
|
301
301
|
$--messagebox-title-color: $--color-text-primary !default;
|
|
302
|
-
$--msgbox-width:
|
|
302
|
+
$--msgbox-width: 480px !default;
|
|
303
303
|
$--msgbox-border-radius: 4px !default;
|
|
304
304
|
/// fontSize||Font|1
|
|
305
305
|
$--messagebox-font-size: $--font-size-large !default;
|
|
@@ -545,7 +545,7 @@ $--dialog-padding-primary: 20px !default;
|
|
|
545
545
|
|
|
546
546
|
/* Table
|
|
547
547
|
-------------------------- */
|
|
548
|
-
$--table-border-color: $--color-line-
|
|
548
|
+
$--table-border-color: $--color-line-5 !default;
|
|
549
549
|
$--table-border: 1px solid $--table-border-color !default;
|
|
550
550
|
$--table-border-radius: $--border-radius-base !default;
|
|
551
551
|
$--table-font-color: $--color-text-regular !default;
|
|
@@ -298,18 +298,18 @@
|
|
|
298
298
|
.has-gutter {
|
|
299
299
|
.el-table__cell {
|
|
300
300
|
border-bottom: 0 none;
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
301
|
+
&:nth-last-child(2) {
|
|
302
|
+
border-right: 0 none;
|
|
303
|
+
}
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
.el-table__row {
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
308
|
+
.el-table__cell {
|
|
309
|
+
&:last-child {
|
|
310
|
+
border-right: 0 none;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
313
|
&:last-child {
|
|
314
314
|
.el-table__cell {
|
|
315
315
|
border-bottom: 0 none;
|
|
@@ -195,14 +195,14 @@
|
|
|
195
195
|
line-height: 32px;
|
|
196
196
|
padding: $--tag-padding;
|
|
197
197
|
font-size: $--tag-font-size;
|
|
198
|
-
color:
|
|
198
|
+
color: #546EFF;
|
|
199
199
|
border-width: 1px;
|
|
200
200
|
border-style: solid;
|
|
201
201
|
border-color: transparent;
|
|
202
202
|
border-radius: $--tag-border-radius;
|
|
203
203
|
box-sizing: border-box;
|
|
204
204
|
white-space: nowrap;
|
|
205
|
-
@include genTheme($--color-primary-1, $--color-primary-2,
|
|
205
|
+
@include genTheme($--color-primary-1, $--color-primary-2, #546EFF, $--color-primary-7, $--color-primary-1);
|
|
206
206
|
@include genThemeInfo($--color-fill-2, $--color-line-2, $--color-text-3, $--color-text-4, $--color-fill-2);
|
|
207
207
|
@include genThemeSuccess($--color-success-1, $--color-success-2, $--color-success-6, $--color-success-7, $--color-success-1);
|
|
208
208
|
@include genThemeWarning($--color-warning-1, $--color-warning-2, $--color-warning-6, $--color-warning-7, $--color-warning-1);
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
@include m(dark) {
|
|
267
|
-
@include genTheme(
|
|
267
|
+
@include genTheme(#546EFF, #546EFF, $--color-white, $--color-white, #546EFF);
|
|
268
268
|
@include genThemeInfo($--color-text-3, $--color-text-3, $--color-white, $--color-white, $--color-text-3);
|
|
269
269
|
@include genThemeSuccess($--color-success-6, $--color-success-6, $--color-white, $--color-white, $--color-success-6);
|
|
270
270
|
@include genThemeWarning($--color-warning-6, $--color-warning-6, $--color-white, $--color-white, $--color-warning-6);
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
@include m(plain) {
|
|
279
|
-
@include genTheme($--color-white, $--color-primary-2,
|
|
279
|
+
@include genTheme($--color-white, $--color-primary-2, #546EFF, $--color-primary-7, #546EFF);
|
|
280
280
|
@include genThemeInfo($--color-white, $--color-line-2, $--color-text-3, $--color-text-4, $--color-text-3);
|
|
281
281
|
@include genThemeSuccess($--color-white, $--color-success-2, $--color-success-6, $--color-success-7, $--color-success-6);
|
|
282
282
|
@include genThemeWarning($--color-white, $--color-warning-2, $--color-warning-6, $--color-warning-7, $--color-warning-6);
|
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
props: {
|
|
13
13
|
openDelay: {
|
|
14
14
|
type: Number,
|
|
15
|
-
default:
|
|
15
|
+
default: 300
|
|
16
16
|
},
|
|
17
17
|
disabled: Boolean,
|
|
18
18
|
manual: Boolean,
|
|
@@ -72,7 +72,7 @@ export default {
|
|
|
72
72
|
}
|
|
73
73
|
}).$mount();
|
|
74
74
|
|
|
75
|
-
this.debounceClose = debounce(
|
|
75
|
+
this.debounceClose = debounce(150, () => this.handleClosePopper());
|
|
76
76
|
},
|
|
77
77
|
|
|
78
78
|
render(h) {
|