vxe-table 3.6.0-beta.5 → 3.6.0-beta.9

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 (41) hide show
  1. package/helper/vetur/attributes.json +17 -5
  2. package/helper/vetur/tags.json +10 -2
  3. package/lib/export/style/style.css +0 -12
  4. package/lib/export/style/style.min.css +1 -1
  5. package/lib/filter/style/style.css +0 -12
  6. package/lib/filter/style/style.min.css +1 -1
  7. package/lib/icon/index.js +10 -4
  8. package/lib/icon/index.min.js +1 -1
  9. package/lib/icon/src/icon.js +28 -0
  10. package/lib/icon/src/icon.min.js +1 -0
  11. package/lib/icon/style/style.css +94 -550
  12. package/lib/icon/style/style.min.css +1 -1
  13. package/lib/index.css +1 -1
  14. package/lib/index.umd.js +45 -11
  15. package/lib/index.umd.min.js +1 -1
  16. package/lib/input/style/style.css +1 -1
  17. package/lib/input/style/style.min.css +1 -1
  18. package/lib/modal/src/modal.js +12 -5
  19. package/lib/modal/src/modal.min.js +1 -1
  20. package/lib/modal/style/style.css +20 -11
  21. package/lib/modal/style/style.min.css +1 -1
  22. package/lib/style.css +1 -1
  23. package/lib/style.min.css +1 -1
  24. package/lib/toolbar/style/style.css +0 -8
  25. package/lib/toolbar/style/style.min.css +1 -1
  26. package/lib/tools/log.js +1 -1
  27. package/lib/tools/log.min.js +1 -1
  28. package/lib/v-x-e-table/index.js +1 -1
  29. package/lib/v-x-e-table/index.min.js +1 -1
  30. package/lib/v-x-e-table/style/style.css +94 -550
  31. package/lib/v-x-e-table/style/style.min.css +1 -1
  32. package/package.json +3 -3
  33. package/packages/icon/index.js +7 -4
  34. package/packages/icon/src/icon.js +19 -0
  35. package/packages/modal/src/modal.js +29 -21
  36. package/styles/export.scss +0 -29
  37. package/styles/filter.scss +0 -29
  38. package/styles/icon.scss +122 -29
  39. package/styles/input.scss +1 -1
  40. package/styles/modal.scss +19 -16
  41. package/styles/toolbar.scss +0 -20
package/styles/modal.scss CHANGED
@@ -150,11 +150,6 @@
150
150
  }
151
151
  }
152
152
 
153
- &.type--modal {
154
- .vxe-modal--header {
155
- padding: 0.6em 4.6em 0.6em 1em;
156
- }
157
- }
158
153
  &.type--alert,
159
154
  &.type--confirm {
160
155
  .vxe-modal--status-wrapper {
@@ -238,36 +233,44 @@
238
233
  flex-grow: 1;
239
234
  }
240
235
  .vxe-modal--header {
236
+ display: flex;
237
+ flex-direction: row;
241
238
  flex-shrink: 0;
242
239
  font-size: 1.1em;
243
240
  font-weight: 700;
244
- padding: 0.6em 2.8em 0.6em 1em;
245
241
  border-bottom: 1px solid $vxe-modal-border-color;
246
242
  background-color: $vxe-modal-header-background-color;
247
243
  border-radius: $vxe-border-radius $vxe-border-radius 0 0;
248
244
  user-select: none;
249
245
  &.is--draggable {
250
- cursor: move;
246
+ .vxe-modal--header-title {
247
+ cursor: move;
248
+ }
251
249
  }
252
250
  &.is--ellipsis {
253
- overflow: hidden;
254
- text-overflow: ellipsis;
255
- white-space: nowrap;
251
+ .vxe-modal--header-title {
252
+ overflow: hidden;
253
+ text-overflow: ellipsis;
254
+ white-space: nowrap;
255
+ }
256
256
  }
257
257
  }
258
+ .vxe-modal--header-title {
259
+ flex-grow: 1;
260
+ padding: 0.6em 0 0.6em 1em;
261
+ }
262
+ .vxe-modal--header-right {
263
+ flex-shrink: 0;
264
+ padding: 0.6em 1em 0.6em 0;
265
+ }
258
266
  .vxe-modal--zoom-btn,
259
267
  .vxe-modal--close-btn {
260
- position: absolute;
261
- right: 14px;
262
- z-index: 1;
263
268
  cursor: pointer;
269
+ margin-left: 0.6em;
264
270
  &:hover {
265
271
  color: $vxe-primary-color;
266
272
  }
267
273
  }
268
- .vxe-modal--zoom-btn {
269
- right: 44px;
270
- }
271
274
  .vxe-modal--footer {
272
275
  flex-shrink: 0;
273
276
  text-align: right;
@@ -175,33 +175,13 @@
175
175
 
176
176
  .vxe-toolbar {
177
177
  font-size: $vxe-font-size;
178
- .vxe-custom--option {
179
- & > .vxe-checkbox--icon {
180
- font-size: $vxe-checkbox-font-size-default;
181
- }
182
- }
183
178
  &.size--medium {
184
179
  font-size: $vxe-font-size-medium;
185
- .vxe-custom--option {
186
- & > .vxe-checkbox--icon {
187
- font-size: $vxe-checkbox-font-size-medium;
188
- }
189
- }
190
180
  }
191
181
  &.size--small {
192
182
  font-size: $vxe-font-size-small;
193
- .vxe-custom--option {
194
- & > .vxe-checkbox--icon {
195
- font-size: $vxe-checkbox-font-size-small;
196
- }
197
- }
198
183
  }
199
184
  &.size--mini {
200
185
  font-size: $vxe-font-size-mini;
201
- .vxe-custom--option {
202
- & > .vxe-checkbox--icon {
203
- font-size: $vxe-checkbox-font-size-mini;
204
- }
205
- }
206
186
  }
207
187
  }