vxe-table 4.7.95 → 4.7.97

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 (37) hide show
  1. package/es/style.css +1 -1
  2. package/es/style.min.css +1 -1
  3. package/es/ui/index.js +2 -2
  4. package/es/ui/src/log.js +1 -1
  5. package/lib/index.umd.js +3 -3
  6. package/lib/index.umd.min.js +1 -1
  7. package/lib/style.css +1 -1
  8. package/lib/style.min.css +1 -1
  9. package/lib/ui/index.js +2 -2
  10. package/lib/ui/index.min.js +1 -1
  11. package/lib/ui/src/log.js +1 -1
  12. package/lib/ui/src/log.min.js +1 -1
  13. package/package.json +3 -3
  14. package/styles/all.scss +6 -6
  15. package/styles/base.scss +2 -2
  16. package/styles/components/icon.scss +7 -5
  17. package/styles/components/old-icon.scss +0 -2
  18. package/styles/components/table-module/all.scss +7 -7
  19. package/styles/components/table-module/custom.scss +2 -2
  20. package/styles/components/table-module/export.scss +2 -2
  21. package/styles/components/table-module/filter.scss +2 -2
  22. package/styles/components/table.scss +8 -8
  23. package/styles/components/toolbar.scss +0 -2
  24. package/styles/cssvar.scss +1 -1
  25. package/styles/default.scss +1 -1
  26. package/styles/index.scss +2 -2
  27. package/styles/modules.scss +5 -5
  28. package/styles/theme/dark.scss +1 -1
  29. package/styles/theme/light.scss +26 -25
  30. package/styles/variable.scss +35 -2
  31. /package/es/{iconfont.1729859551986.ttf → iconfont.1729948062939.ttf} +0 -0
  32. /package/es/{iconfont.1729859551986.woff → iconfont.1729948062939.woff} +0 -0
  33. /package/es/{iconfont.1729859551986.woff2 → iconfont.1729948062939.woff2} +0 -0
  34. /package/lib/{iconfont.1729859551986.ttf → iconfont.1729948062939.ttf} +0 -0
  35. /package/lib/{iconfont.1729859551986.woff → iconfont.1729948062939.woff} +0 -0
  36. /package/lib/{iconfont.1729859551986.woff2 → iconfont.1729948062939.woff2} +0 -0
  37. /package/styles/helpers/{mixin.scss → baseMixin.scss} +0 -0
@@ -1,4 +1,4 @@
1
- @import '../../helpers/mixin.scss';
1
+ @use '../../helpers/baseMixin.scss';
2
2
 
3
3
  .vxe-export--panel-column > ul {
4
4
  list-style-type: none;
@@ -123,5 +123,5 @@
123
123
  }
124
124
 
125
125
  .vxe-export--panel-column-option {
126
- @include createCheckboxIcon();
126
+ @include baseMixin.createCheckboxIcon();
127
127
  }
@@ -1,4 +1,4 @@
1
- @import '../../helpers/mixin.scss';
1
+ @use '../../helpers/baseMixin.scss';
2
2
 
3
3
  .vxe-cell--filter {
4
4
  padding: 0 0.1em 0 0.2em;
@@ -108,5 +108,5 @@
108
108
  }
109
109
 
110
110
  .vxe-table--filter-option {
111
- @include createCheckboxIcon();
111
+ @include baseMixin.createCheckboxIcon();
112
112
  }
@@ -1,6 +1,6 @@
1
- @import '../helpers/mixin.scss';
2
- @import './icon.scss';
3
- @import './table-module/all.scss';
1
+ @use '../helpers/baseMixin.scss';
2
+ @use './icon.scss';
3
+ @use './table-module/all.scss';
4
4
 
5
5
  %DefaultColumnHeight {
6
6
  height: var(--vxe-ui-table-row-height-default);
@@ -427,7 +427,7 @@
427
427
  .vxe-filter--btn {
428
428
  &:before,
429
429
  &:after {
430
- @include createAnimationTransition(border);
430
+ @include baseMixin.createAnimationTransition(border);
431
431
  }
432
432
  }
433
433
 
@@ -953,10 +953,10 @@
953
953
 
954
954
  // 单选框和复选框
955
955
  .vxe-cell--radio {
956
- @include createRadioIcon();
956
+ @include baseMixin.createRadioIcon();
957
957
  }
958
958
  .vxe-cell--checkbox {
959
- @include createCheckboxIcon();
959
+ @include baseMixin.createCheckboxIcon();
960
960
  }
961
961
 
962
962
  .fixed--hidden {
@@ -1111,7 +1111,7 @@
1111
1111
  .vxe-tree--node-btn {
1112
1112
  display: block;
1113
1113
  color: var(--vxe-ui-font-lighten-color);
1114
- @include createAnimationTransition(transform);
1114
+ @include baseMixin.createAnimationTransition(transform);
1115
1115
  &:hover {
1116
1116
  color: var(--vxe-ui-font-color);
1117
1117
  }
@@ -1142,7 +1142,7 @@
1142
1142
  text-align: center;
1143
1143
  user-select: none;
1144
1144
  color: var(--vxe-ui-font-lighten-color);
1145
- @include createAnimationTransition(transform);
1145
+ @include baseMixin.createAnimationTransition(transform);
1146
1146
  &:hover {
1147
1147
  color: var(--vxe-ui-font-color);
1148
1148
  }
@@ -1,5 +1,3 @@
1
- @import '../helpers/mixin.scss';
2
-
3
1
  /*toolbar*/
4
2
  .vxe-toolbar {
5
3
  position: relative;
@@ -1,3 +1,3 @@
1
1
  /*已废弃*/
2
2
 
3
- @import './base.scss';
3
+ @use './base.scss';
@@ -1,3 +1,3 @@
1
1
  // 该文件已废弃,请使用 vxe-table/styles/all.scss
2
2
 
3
- @import './modules.scss';
3
+ @use './modules.scss';
package/styles/index.scss CHANGED
@@ -1,4 +1,4 @@
1
1
  // 该文件已废弃,请使用 vxe-table/style/all.scss
2
2
 
3
- @import './variable.scss';
4
- @import './default.scss';
3
+ @use './variable.scss';
4
+ @use './default.scss';
@@ -1,7 +1,7 @@
1
1
  /*已废弃*/
2
2
 
3
- @import './components/column.scss';
4
- @import './components/colgroup.scss';
5
- @import './components/table.scss';
6
- @import './components/grid.scss';
7
- @import './components/toolbar.scss';
3
+ @use './components/column.scss';
4
+ @use './components/colgroup.scss';
5
+ @use './components/table.scss';
6
+ @use './components/grid.scss';
7
+ @use './components/toolbar.scss';
@@ -1,4 +1,4 @@
1
- @import './base.scss';
1
+ @use './base.scss';
2
2
 
3
3
  [data-vxe-ui-theme="dark"] {
4
4
  color-scheme: dark;
@@ -1,39 +1,40 @@
1
- @import './base.scss';
1
+ @use './base.scss';
2
+ @use '../variable.scss' as light-variable;
2
3
 
3
4
  [data-vxe-ui-theme="light"] {
4
5
  /*font color*/
5
- --vxe-ui-font-color: #606266;
6
- --vxe-ui-font-primary-color: #409eff;
7
- --vxe-ui-font-lighten-color: #797b80;
8
- --vxe-ui-font-darken-color: #47494c;
9
- --vxe-ui-font-disabled-color: #BFBFBF;
6
+ --vxe-ui-font-color: #{light-variable.$vxe-ui-font-color};
7
+ --vxe-ui-font-primary-color: #{light-variable.$vxe-ui-font-primary-color};
8
+ --vxe-ui-font-lighten-color: #{light-variable.$vxe-ui-font-lighten-color};
9
+ --vxe-ui-font-darken-color: #{light-variable.$vxe-ui-font-darken-color};
10
+ --vxe-ui-font-disabled-color: #{light-variable.$vxe-ui-font-disabled-color};
10
11
 
11
12
  /*base*/
12
- --vxe-ui-base-popup-border-color: #DADCE0;
13
- --vxe-ui-base-popup-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.16);
13
+ --vxe-ui-base-popup-border-color: #{light-variable.$vxe-ui-base-popup-border-color};
14
+ --vxe-ui-base-popup-box-shadow: #{light-variable.$vxe-ui-base-popup-box-shadow};
14
15
 
15
16
  /*layout*/
16
- --vxe-ui-layout-background-color: #ffffff;
17
+ --vxe-ui-layout-background-color: #{light-variable.$vxe-ui-layout-background-color};
17
18
 
18
19
  /*input*/
19
- --vxe-ui-input-border-color: #dcdfe6;
20
- --vxe-ui-input-placeholder-color: #C0C4CC;
21
- --vxe-ui-input-disabled-background-color: #f3f3f3;
20
+ --vxe-ui-input-border-color: #{light-variable.$vxe-ui-input-border-color};
21
+ --vxe-ui-input-placeholder-color: #{light-variable.$vxe-ui-input-placeholder-color};
22
+ --vxe-ui-input-disabled-background-color: #{light-variable.$vxe-ui-input-disabled-background-color};
22
23
 
23
24
  /*loading*/
24
- --vxe-ui-loading-background-color: rgba(255, 255, 255, 0.5);
25
+ --vxe-ui-loading-background-color: #{light-variable.$vxe-ui-loading-background-color};
25
26
 
26
27
  /*table*/
27
- --vxe-ui-table-header-background-color: #f8f8f9;
28
- --vxe-ui-table-border-color: #e8eaec;
29
- --vxe-ui-table-row-hover-background-color: #f5f7fa;
30
- --vxe-ui-table-row-striped-background-color: #fafafa;
31
- --vxe-ui-table-row-hover-striped-background-color: #f5f7fa;
32
- --vxe-ui-table-row-radio-checked-background-color: #fff3e0;
33
- --vxe-ui-table-row-hover-radio-checked-background-color: #ffebbc;
34
- --vxe-ui-table-row-checkbox-checked-background-color: #fff3e0;
35
- --vxe-ui-table-row-hover-checkbox-checked-background-color: #ffebbc;
36
- --vxe-ui-table-row-current-background-color: #e6f7ff;
37
- --vxe-ui-table-row-hover-current-background-color: #d7effb;
38
- --vxe-ui-table-fixed-scrolling-box-shadow-color: rgba(0, 0, 0, 0.12);
28
+ --vxe-ui-table-header-background-color: #{light-variable.$vxe-ui-table-header-background-color};
29
+ --vxe-ui-table-border-color: #{light-variable.$vxe-ui-table-border-color};
30
+ --vxe-ui-table-row-hover-background-color: #{light-variable.$vxe-ui-table-row-hover-background-color};
31
+ --vxe-ui-table-row-striped-background-color: #{light-variable.$vxe-ui-table-row-striped-background-color};
32
+ --vxe-ui-table-row-hover-striped-background-color: #{light-variable.$vxe-ui-table-row-hover-striped-background-color};
33
+ --vxe-ui-table-row-radio-checked-background-color: #{light-variable.$vxe-ui-table-row-radio-checked-background-color};
34
+ --vxe-ui-table-row-hover-radio-checked-background-color: #{light-variable.$vxe-ui-table-row-hover-radio-checked-background-color};
35
+ --vxe-ui-table-row-checkbox-checked-background-color: #{light-variable.$vxe-ui-table-row-checkbox-checked-background-color};
36
+ --vxe-ui-table-row-hover-checkbox-checked-background-color: #{light-variable.$vxe-ui-table-row-hover-checkbox-checked-background-color};
37
+ --vxe-ui-table-row-current-background-color: #{light-variable.$vxe-ui-table-row-current-background-color};
38
+ --vxe-ui-table-row-hover-current-background-color: #{light-variable.$vxe-ui-table-row-hover-current-background-color};
39
+ --vxe-ui-table-fixed-scrolling-box-shadow-color: #{light-variable.$vxe-ui-table-fixed-scrolling-box-shadow-color};
39
40
  }
@@ -1,3 +1,36 @@
1
- /*已废弃*/
1
+ /*font color*/
2
+ $vxe-ui-font-color: #606266;
3
+ $vxe-ui-font-primary-color: #409eff;
4
+ $vxe-ui-font-lighten-color: #797b80;
5
+ $vxe-ui-font-darken-color: #47494c;
6
+ $vxe-ui-font-disabled-color: #BFBFBF;
2
7
 
3
- @import './base.scss';
8
+ /*base*/
9
+ $vxe-ui-base-popup-border-color: #DADCE0;
10
+ $vxe-ui-base-popup-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.16);
11
+
12
+ /*layout*/
13
+ $vxe-ui-layout-background-color: #ffffff;
14
+
15
+ /*input*/
16
+ $vxe-ui-input-border-color: #dcdfe6;
17
+ $vxe-ui-input-placeholder-color: #C0C4CC;
18
+ $vxe-ui-input-disabled-background-color: #f3f3f3;
19
+
20
+ /*loading*/
21
+ $vxe-ui-loading-background-color: rgba(255, 255, 255, 0.5);
22
+
23
+ /*table*/
24
+ $vxe-ui-table-header-background-color: #f8f8f9;
25
+ $vxe-ui-table-border-color: #e8eaec;
26
+ $vxe-ui-table-row-hover-background-color: #f5f7fa;
27
+ $vxe-ui-table-row-striped-background-color: #fafafa;
28
+ $vxe-ui-table-row-hover-striped-background-color: #f5f7fa;
29
+ $vxe-ui-table-row-radio-checked-background-color: #fff3e0;
30
+ $vxe-ui-table-row-hover-radio-checked-background-color: #ffebbc;
31
+ $vxe-ui-table-row-checkbox-checked-background-color: #fff3e0;
32
+ $vxe-ui-table-row-hover-checkbox-checked-background-color: #ffebbc;
33
+ $vxe-ui-table-row-current-background-color: #e6f7ff;
34
+ $vxe-ui-table-row-hover-current-background-color: #d7effb;
35
+ $vxe-ui-table-fixed-scrolling-box-shadow-color: rgba(0, 0, 0, 0.12);
36
+
File without changes