element-sim 1.1.19 → 1.1.21

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.
Files changed (133) hide show
  1. package/CHANGELOG.zh-CN.md +8 -0
  2. package/lib/cascader.js +3 -3
  3. package/lib/element-sim.common.js +18 -147
  4. package/lib/index.js +1 -1
  5. package/lib/select.js +3 -132
  6. package/lib/submenu.js +1 -1
  7. package/lib/theme-chalk/alert.css +1 -1
  8. package/lib/theme-chalk/autocomplete.css +1 -1
  9. package/lib/theme-chalk/avatar.css +1 -1
  10. package/lib/theme-chalk/breadcrumb.css +1 -1
  11. package/lib/theme-chalk/button.css +1 -1
  12. package/lib/theme-chalk/calendar.css +1 -1
  13. package/lib/theme-chalk/card.css +1 -1
  14. package/lib/theme-chalk/cascader-panel.css +1 -1
  15. package/lib/theme-chalk/cascader.css +1 -1
  16. package/lib/theme-chalk/checkbox.css +1 -1
  17. package/lib/theme-chalk/collapse.css +1 -1
  18. package/lib/theme-chalk/color-picker.css +1 -1
  19. package/lib/theme-chalk/date-picker.css +1 -1
  20. package/lib/theme-chalk/descriptions.css +1 -1
  21. package/lib/theme-chalk/dialog.css +1 -1
  22. package/lib/theme-chalk/divider.css +1 -1
  23. package/lib/theme-chalk/drawer.css +1 -1
  24. package/lib/theme-chalk/dropdown.css +1 -1
  25. package/lib/theme-chalk/form.css +1 -1
  26. package/lib/theme-chalk/index.css +1 -1
  27. package/lib/theme-chalk/input-number.css +1 -1
  28. package/lib/theme-chalk/input.css +1 -1
  29. package/lib/theme-chalk/link.css +1 -1
  30. package/lib/theme-chalk/menu.css +1 -1
  31. package/lib/theme-chalk/message-box.css +1 -1
  32. package/lib/theme-chalk/message.css +1 -1
  33. package/lib/theme-chalk/notification.css +1 -1
  34. package/lib/theme-chalk/option.css +1 -1
  35. package/lib/theme-chalk/page-header.css +1 -1
  36. package/lib/theme-chalk/pagination.css +1 -1
  37. package/lib/theme-chalk/popover.css +1 -1
  38. package/lib/theme-chalk/progress.css +1 -1
  39. package/lib/theme-chalk/radio-button.css +1 -1
  40. package/lib/theme-chalk/radio.css +1 -1
  41. package/lib/theme-chalk/reset.css +1 -1
  42. package/lib/theme-chalk/result.css +1 -1
  43. package/lib/theme-chalk/select-dropdown.css +1 -1
  44. package/lib/theme-chalk/select.css +1 -1
  45. package/lib/theme-chalk/skeleton-item.css +1 -1
  46. package/lib/theme-chalk/skeleton.css +1 -1
  47. package/lib/theme-chalk/slider.css +1 -1
  48. package/lib/theme-chalk/statistic.css +1 -1
  49. package/lib/theme-chalk/step.css +1 -1
  50. package/lib/theme-chalk/switch.css +1 -1
  51. package/lib/theme-chalk/table-column.css +1 -1
  52. package/lib/theme-chalk/table.css +1 -1
  53. package/lib/theme-chalk/tabs.css +1 -1
  54. package/lib/theme-chalk/tag.css +1 -1
  55. package/lib/theme-chalk/time-picker.css +1 -1
  56. package/lib/theme-chalk/time-select.css +1 -1
  57. package/lib/theme-chalk/timeline-item.css +1 -1
  58. package/lib/theme-chalk/tooltip.css +1 -1
  59. package/lib/theme-chalk/transfer.css +1 -1
  60. package/lib/theme-chalk/tree.css +1 -1
  61. package/lib/theme-chalk/upload.css +1 -1
  62. package/package.json +1 -1
  63. package/packages/cascader/src/cascader.vue +1 -1
  64. package/packages/menu/src/submenu.vue +1 -1
  65. package/packages/select/src/select.vue +1 -2
  66. package/packages/theme-chalk/lib/alert.css +1 -1
  67. package/packages/theme-chalk/lib/autocomplete.css +1 -1
  68. package/packages/theme-chalk/lib/avatar.css +1 -1
  69. package/packages/theme-chalk/lib/breadcrumb.css +1 -1
  70. package/packages/theme-chalk/lib/button.css +1 -1
  71. package/packages/theme-chalk/lib/calendar.css +1 -1
  72. package/packages/theme-chalk/lib/card.css +1 -1
  73. package/packages/theme-chalk/lib/cascader-panel.css +1 -1
  74. package/packages/theme-chalk/lib/cascader.css +1 -1
  75. package/packages/theme-chalk/lib/checkbox.css +1 -1
  76. package/packages/theme-chalk/lib/collapse.css +1 -1
  77. package/packages/theme-chalk/lib/color-picker.css +1 -1
  78. package/packages/theme-chalk/lib/date-picker.css +1 -1
  79. package/packages/theme-chalk/lib/descriptions.css +1 -1
  80. package/packages/theme-chalk/lib/dialog.css +1 -1
  81. package/packages/theme-chalk/lib/divider.css +1 -1
  82. package/packages/theme-chalk/lib/drawer.css +1 -1
  83. package/packages/theme-chalk/lib/dropdown.css +1 -1
  84. package/packages/theme-chalk/lib/form.css +1 -1
  85. package/packages/theme-chalk/lib/index.css +1 -1
  86. package/packages/theme-chalk/lib/input-number.css +1 -1
  87. package/packages/theme-chalk/lib/input.css +1 -1
  88. package/packages/theme-chalk/lib/link.css +1 -1
  89. package/packages/theme-chalk/lib/menu.css +1 -1
  90. package/packages/theme-chalk/lib/message-box.css +1 -1
  91. package/packages/theme-chalk/lib/message.css +1 -1
  92. package/packages/theme-chalk/lib/notification.css +1 -1
  93. package/packages/theme-chalk/lib/option.css +1 -1
  94. package/packages/theme-chalk/lib/page-header.css +1 -1
  95. package/packages/theme-chalk/lib/pagination.css +1 -1
  96. package/packages/theme-chalk/lib/popover.css +1 -1
  97. package/packages/theme-chalk/lib/progress.css +1 -1
  98. package/packages/theme-chalk/lib/radio-button.css +1 -1
  99. package/packages/theme-chalk/lib/radio.css +1 -1
  100. package/packages/theme-chalk/lib/reset.css +1 -1
  101. package/packages/theme-chalk/lib/result.css +1 -1
  102. package/packages/theme-chalk/lib/select-dropdown.css +1 -1
  103. package/packages/theme-chalk/lib/select.css +1 -1
  104. package/packages/theme-chalk/lib/skeleton-item.css +1 -1
  105. package/packages/theme-chalk/lib/skeleton.css +1 -1
  106. package/packages/theme-chalk/lib/slider.css +1 -1
  107. package/packages/theme-chalk/lib/statistic.css +1 -1
  108. package/packages/theme-chalk/lib/step.css +1 -1
  109. package/packages/theme-chalk/lib/switch.css +1 -1
  110. package/packages/theme-chalk/lib/table-column.css +1 -1
  111. package/packages/theme-chalk/lib/table.css +1 -1
  112. package/packages/theme-chalk/lib/tabs.css +1 -1
  113. package/packages/theme-chalk/lib/tag.css +1 -1
  114. package/packages/theme-chalk/lib/time-picker.css +1 -1
  115. package/packages/theme-chalk/lib/time-select.css +1 -1
  116. package/packages/theme-chalk/lib/timeline-item.css +1 -1
  117. package/packages/theme-chalk/lib/tooltip.css +1 -1
  118. package/packages/theme-chalk/lib/transfer.css +1 -1
  119. package/packages/theme-chalk/lib/tree.css +1 -1
  120. package/packages/theme-chalk/lib/upload.css +1 -1
  121. package/packages/theme-chalk/src/button.scss +10 -3
  122. package/packages/theme-chalk/src/cascader-panel.scss +1 -1
  123. package/packages/theme-chalk/src/common/var.scss +14 -11
  124. package/packages/theme-chalk/src/dialog.scss +3 -3
  125. package/packages/theme-chalk/src/drawer.scss +9 -2
  126. package/packages/theme-chalk/src/form.scss +2 -2
  127. package/packages/theme-chalk/src/menu.scss +1 -1
  128. package/packages/theme-chalk/src/message-box.scss +2 -2
  129. package/packages/theme-chalk/src/message.scss +2 -1
  130. package/packages/theme-chalk/src/table-column.scss +1 -1
  131. package/packages/theme-chalk/src/table.scss +8 -0
  132. package/packages/theme-chalk/src/tag.scss +2 -2
  133. package/src/index.js +1 -1
@@ -61,11 +61,11 @@
61
61
  @include e(title) {
62
62
  line-height: $--dialog-font-line-height;
63
63
  font-size: $--dialog-title-font-size;
64
- color: $--color-text-primary;
64
+ color: $--color-black;
65
65
  }
66
66
 
67
67
  @include e(body) {
68
- padding: ($--dialog-padding-primary + 10px) $--dialog-padding-primary;
68
+ padding: ($--dialog-padding-primary + 10px) ($--dialog-padding-primary + 4px);
69
69
  color: $--color-text-regular;
70
70
  font-size: $--dialog-content-font-size;
71
71
  word-break: break-all;
@@ -76,7 +76,7 @@
76
76
  padding-top: 19px;
77
77
  text-align: right;
78
78
  box-sizing: border-box;
79
- border-top: 1px solid #F2F3F5;
79
+ // border-top: 1px solid #F2F3F5;
80
80
  }
81
81
 
82
82
  // 内容居中布局
@@ -138,7 +138,7 @@ $directions: rtl, ltr, ttb, btt;
138
138
 
139
139
  &__header {
140
140
  align-items: center;
141
- color: rgb(114, 118, 123);
141
+ color: $--color-black;
142
142
  display: flex;
143
143
  margin-bottom: 10px;
144
144
  padding: $--dialog-padding-primary;
@@ -159,9 +159,16 @@ $directions: rtl, ltr, ttb, btt;
159
159
  &__close-btn {
160
160
  border: none;
161
161
  cursor: pointer;
162
- font-size: $--font-size-extra-large;
162
+ // font-size: $--font-size-extra-large;
163
163
  color: inherit;
164
164
  background-color: transparent;
165
+ font-size: $--message-close-size;
166
+
167
+ &:focus, &:hover {
168
+ .el-dialog__close {
169
+ color: $--color-primary;
170
+ }
171
+ }
165
172
  }
166
173
 
167
174
  &__body {
@@ -36,7 +36,7 @@
36
36
  }
37
37
  }
38
38
  @include b(form-item) {
39
- margin-bottom: 22px;
39
+ margin-bottom: 32px;
40
40
  @include utils-clearfix;
41
41
 
42
42
  & .el-form-item {
@@ -99,7 +99,7 @@
99
99
  font-size: $--form-label-font-size;
100
100
  color: $--color-text-regular;
101
101
  line-height: 40px;
102
- padding: 0 12px 0 0;
102
+ padding: 0 8px 0 0;
103
103
  box-sizing: border-box;
104
104
  }
105
105
  @include e(content) {
@@ -46,7 +46,7 @@
46
46
  background-color: $--menu-background-color;
47
47
  @include utils-clearfix;
48
48
  &.el-menu--horizontal {
49
- border-bottom: solid 1px #e6e6e6;
49
+ border-bottom: solid 1px $--border-color-lighter;
50
50
  }
51
51
 
52
52
  @include m(horizontal) {
@@ -98,7 +98,7 @@
98
98
  position: absolute;
99
99
  top: 50%;
100
100
  transform: translateY(-50%);
101
- font-size: 24px !important;
101
+ font-size: 18px !important;
102
102
 
103
103
  &::before {
104
104
  // 防止图标切割
@@ -106,7 +106,7 @@
106
106
  }
107
107
 
108
108
  + .el-message-box__message {
109
- padding-left: 36px;
109
+ padding-left: 30px;
110
110
  padding-right: 12px;
111
111
  }
112
112
 
@@ -2,7 +2,8 @@
2
2
  @import "common/var";
3
3
 
4
4
  @include b(message) {
5
- min-width: $--message-min-width;
5
+ // min-width: $--message-min-width;
6
+ max-width: $--message-max-width;
6
7
  box-sizing: border-box;
7
8
  border-radius: $--border-radius-base;
8
9
  // border-width: $--border-width-base;
@@ -7,7 +7,7 @@
7
7
  @include m(selection) {
8
8
  .cell {
9
9
  padding-left: 14px;
10
- padding-right: 14px;
10
+ padding-right: 10px;
11
11
  }
12
12
  }
13
13
  }
@@ -214,6 +214,10 @@
214
214
  margin-right: 5px;
215
215
  vertical-align: middle;
216
216
  }
217
+
218
+ &:first-child .cell {
219
+ padding-left: 24px;
220
+ }
217
221
  }
218
222
 
219
223
  td.el-table__cell {
@@ -224,6 +228,10 @@
224
228
  &.gutter {
225
229
  width: 0;
226
230
  }
231
+
232
+ &:first-child .cell {
233
+ padding-left: 24px;
234
+ }
227
235
  }
228
236
 
229
237
  .cell {
@@ -94,9 +94,9 @@
94
94
  @include b(tag) {
95
95
  @include genTheme(10%, 20%, 100%, 100%);
96
96
  display: inline-block;
97
- height: 32px;
97
+ height: 26px;
98
98
  padding: $--tag-padding;
99
- line-height: 30px;
99
+ line-height: 22px;
100
100
  font-size: $--tag-font-size;
101
101
  color: $--tag-primary-color;
102
102
  border-width: 1px;
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: '1.1.18',
215
+ version: '1.1.20',
216
216
  locale: locale.use,
217
217
  i18n: locale.i18n,
218
218
  install,