linkmore-design 1.1.17 → 1.1.19

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 (55) hide show
  1. package/dist/Button/demos/ghost.d.ts +2 -0
  2. package/dist/Descriptions/index.d.ts +1 -1
  3. package/dist/QuickMenu/demos/useInDraw.d.ts +2 -0
  4. package/dist/QuickMenu/index.d.ts +1 -0
  5. package/dist/Select/index.d.ts +3 -0
  6. package/dist/index.umd.js +91 -28
  7. package/dist/index.umd.min.js +6 -6
  8. package/dist/variables.css +64 -25
  9. package/es/Button/index.js +4 -3
  10. package/es/Button/style/index.css +28 -25
  11. package/es/Button/style/variables.css +28 -25
  12. package/es/Cascader/index.js +16 -2
  13. package/es/Descriptions/index.d.ts +1 -1
  14. package/es/Descriptions/index.js +3 -3
  15. package/es/Descriptions/style/index.css +3 -0
  16. package/es/Descriptions/style/variables.css +3 -0
  17. package/es/InputNumber/index.js +11 -4
  18. package/es/InputNumber/style/index.css +3 -0
  19. package/es/InputNumber/style/variables.css +3 -0
  20. package/es/LmEditTable/EditTable.js +5 -1
  21. package/es/LmFilter/components/DropdownFIlter.js +1 -1
  22. package/es/QuickMenu/index.d.ts +1 -0
  23. package/es/QuickMenu/index.js +12 -8
  24. package/es/Select/index.d.ts +3 -0
  25. package/es/Select/index.js +28 -1
  26. package/es/Select/style/index.css +27 -0
  27. package/es/Select/style/variables.css +27 -0
  28. package/es/TreeSelect/index.js +16 -2
  29. package/es/TreeSelect/style/index.css +3 -0
  30. package/es/TreeSelect/style/variables.css +3 -0
  31. package/es/styles/variables.css +64 -25
  32. package/lib/Button/index.js +4 -3
  33. package/lib/Button/style/index.css +28 -25
  34. package/lib/Button/style/variables.css +28 -25
  35. package/lib/Cascader/index.js +20 -2
  36. package/lib/Descriptions/index.d.ts +1 -1
  37. package/lib/Descriptions/index.js +3 -3
  38. package/lib/Descriptions/style/index.css +3 -0
  39. package/lib/Descriptions/style/variables.css +3 -0
  40. package/lib/InputNumber/index.js +13 -4
  41. package/lib/InputNumber/style/index.css +3 -0
  42. package/lib/InputNumber/style/variables.css +3 -0
  43. package/lib/LmEditTable/EditTable.js +5 -1
  44. package/lib/LmFilter/components/DropdownFIlter.js +1 -1
  45. package/lib/QuickMenu/index.d.ts +1 -0
  46. package/lib/QuickMenu/index.js +11 -7
  47. package/lib/Select/index.d.ts +3 -0
  48. package/lib/Select/index.js +29 -1
  49. package/lib/Select/style/index.css +27 -0
  50. package/lib/Select/style/variables.css +27 -0
  51. package/lib/TreeSelect/index.js +20 -2
  52. package/lib/TreeSelect/style/index.css +3 -0
  53. package/lib/TreeSelect/style/variables.css +3 -0
  54. package/lib/styles/variables.css +64 -25
  55. package/package.json +3 -3
@@ -746,12 +746,13 @@ p {
746
746
  padding: 0 var(--gap);
747
747
  }
748
748
  .ant-btn.lm-button {
749
- border: 0;
750
749
  display: inline-flex !important;
751
750
  flex-direction: row;
752
751
  align-items: center;
753
752
  justify-content: center;
753
+ color: var(--font-color);
754
754
  vertical-align: middle;
755
+ border: 1px solid var(--stroke-color);
755
756
  box-shadow: none;
756
757
  }
757
758
  .ant-btn.lm-button .anticon {
@@ -769,12 +770,24 @@ p {
769
770
  white-space: nowrap;
770
771
  }
771
772
  .ant-btn.lm-button::before {
772
- display: none !important;
773
+ position: absolute;
774
+ z-index: 1;
775
+ display: none;
776
+ background: #fff;
777
+ border-radius: inherit;
778
+ opacity: 0.35;
779
+ transition: opacity 0.2s;
780
+ content: '';
781
+ pointer-events: none;
782
+ inset: -1px;
783
+ }
784
+ .ant-btn.lm-button.ant-btn-loading::before {
785
+ display: block;
773
786
  }
774
787
  .ant-btn.lm-button:disabled {
788
+ color: var(--disabled-font-color) !important;
775
789
  background: var(--disabled-bg-color) !important;
776
790
  border: 1px solid var(--disabled-border-color) !important;
777
- color: var(--disabled-font-color) !important;
778
791
  }
779
792
  .ant-btn.lm-button > span:not(.anticon) {
780
793
  font-size: 12px;
@@ -795,57 +808,46 @@ p {
795
808
  .ant-btn.lm-button-middle .anticon {
796
809
  font-size: 16px;
797
810
  }
798
- .ant-btn.lm-button-default {
799
- border: 1px solid var(--stroke-color);
800
- color: var(--font-color);
801
- }
802
- .ant-btn.lm-button-default-hover,
803
- .ant-btn.lm-button-default:hover {
804
- border: 1px solid var(--primary-hover-color);
805
- color: var(--primary-hover-color);
806
- }
807
- .ant-btn.lm-button-default.ant-btn-loading {
808
- border-color: rgba(0, 0, 0, 0.15);
809
- color: rgba(0, 0, 0, 0.15);
810
- }
811
811
  .ant-btn.lm-button-primary {
812
- background: var(--primary-color);
813
812
  color: #fff;
813
+ background: var(--primary-color);
814
+ border-color: var(--primary-color);
814
815
  }
815
- .ant-btn.lm-button-primary-hover,
816
816
  .ant-btn.lm-button-primary:hover {
817
817
  background: var(--primary-hover-color);
818
818
  }
819
+ .ant-btn.lm-button-primary:active {
820
+ background-color: var(--primary-click-color);
821
+ }
819
822
  .ant-btn.lm-button-primary.ant-btn-loading {
820
823
  background: var(--primary-loading-color);
821
824
  }
822
825
  .ant-btn.lm-button-ghost {
823
826
  color: var(--font-color);
824
- border-color: var(--color-15);
825
827
  background: transparent;
828
+ border: 1px solid var(--color-15);
826
829
  }
827
830
  .ant-btn.lm-button-danger {
828
- border: 1px solid var(--error-color);
829
831
  color: var(--error-color);
830
832
  text-shadow: none;
833
+ border: 1px solid var(--error-color);
831
834
  box-shadow: none;
832
835
  }
833
- .ant-btn.lm-button-danger-hover,
834
836
  .ant-btn.lm-button-danger:hover {
835
- border-color: var(--error-hover-color);
836
837
  color: var(--error-hover-color);
838
+ border-color: var(--error-hover-color);
837
839
  }
838
840
  .ant-btn.lm-button-danger.ant-btn-loading {
839
- border-color: var(--error-loading-color);
840
841
  color: var(--error-hover-color);
842
+ border-color: var(--error-loading-color);
841
843
  }
842
844
  .ant-btn.lm-button-dashed {
843
845
  border: 1px dashed var(--color-15);
844
846
  }
845
847
  .ant-btn.lm-button-link {
846
848
  color: var(--primary-color);
849
+ border-color: transparent;
847
850
  }
848
- .ant-btn.lm-button-link-hover,
849
851
  .ant-btn.lm-button-link:hover {
850
852
  color: var(--primary-hover-color);
851
853
  }
@@ -853,11 +855,12 @@ p {
853
855
  color: var(--primary-loading-color);
854
856
  }
855
857
  .ant-btn.lm-button-link[disabled] {
856
- border: 0 !important;
857
858
  background: transparent !important;
859
+ border: 0 !important;
858
860
  }
859
861
  .ant-btn.ant-btn-text {
860
862
  background: transparent;
863
+ border-color: transparent;
861
864
  }
862
865
  .ant-btn.lm-button-icon-only .anticon {
863
866
  font-size: 16px;
@@ -2241,6 +2244,9 @@ p {
2241
2244
  padding-right: 24px;
2242
2245
  padding-bottom: 8px;
2243
2246
  }
2247
+ .lm_descriptions .ant-descriptions-item:last-child {
2248
+ padding-right: 0;
2249
+ }
2244
2250
  .lm_descriptions .ant-descriptions-item .ant-descriptions-item-container {
2245
2251
  color: var(--color-85);
2246
2252
  font-size: 12px;
@@ -9540,6 +9546,9 @@ p {
9540
9546
  .lm_input-number.ant-input-number-status-warning {
9541
9547
  border-color: var(--warning-color) !important;
9542
9548
  }
9549
+ .lm_input-number .ant-input-number-input::placeholder {
9550
+ font-size: 12px;
9551
+ }
9543
9552
  .lm_grid_tree {
9544
9553
  position: relative;
9545
9554
  font-size: 12px;
@@ -12398,6 +12407,33 @@ button.ant-table-row-expand-icon::after {
12398
12407
  .lm_select_dropdown .ant-select-item-option-disabled {
12399
12408
  color: var(--disabled-font-color);
12400
12409
  }
12410
+ .lm_select_has_icon {
12411
+ width: 100%;
12412
+ display: flex;
12413
+ flex-direction: row;
12414
+ align-items: center;
12415
+ justify-content: flex-start;
12416
+ position: relative;
12417
+ }
12418
+ .lm_select_has_icon .ant-select {
12419
+ border-top-right-radius: 0;
12420
+ border-bottom-right-radius: 0;
12421
+ z-index: 3;
12422
+ }
12423
+ .lm_select_has_icon .ant-select .ant-select-selector {
12424
+ border-top-right-radius: 0 !important;
12425
+ border-bottom-right-radius: 0 !important;
12426
+ }
12427
+ .lm_select_has_icon .lm_select_icon_button {
12428
+ margin-left: -1px;
12429
+ border-top-left-radius: 0;
12430
+ border-bottom-left-radius: 0;
12431
+ z-index: 2;
12432
+ }
12433
+ .lm_select_has_icon .lm_select_icon_button:hover,
12434
+ .lm_select_has_icon .lm_select_icon_button:focus {
12435
+ z-index: 5;
12436
+ }
12401
12437
  .ant-switch.lm-switch {
12402
12438
  width: 48px;
12403
12439
  height: 24px;
@@ -12574,6 +12610,9 @@ button.ant-table-row-expand-icon::after {
12574
12610
  .lm_tree .ant-tree-node-selected > .ant-tree-title {
12575
12611
  color: var(--primary-color);
12576
12612
  }
12613
+ .lm_tree_select .ant-select-selection-placeholder {
12614
+ font-size: 12px;
12615
+ }
12577
12616
  .ant-upload-select-picture-card div {
12578
12617
  margin-top: 8px;
12579
12618
  }
@@ -27,7 +27,8 @@ var LMButton = function LMButton(props) {
27
27
  type = _props$type === void 0 ? 'default' : _props$type,
28
28
  _props$hover = props.hover,
29
29
  hover = _props$hover === void 0 ? false : _props$hover,
30
- restProps = __rest(props, ["children", "className", "size", "type", "hover"]);
30
+ danger = props.danger,
31
+ restProps = __rest(props, ["children", "className", "size", "type", "hover", "danger"]);
31
32
 
32
33
  var globalSize = customizeSize || React.useContext(SizeContext) || 'middle';
33
34
  var size = React.useMemo(function () {
@@ -36,12 +37,12 @@ var LMButton = function LMButton(props) {
36
37
 
37
38
  var classs = cls('lm-button', className, {
38
39
  'lm-button-icon-only': !children
39
- }, _defineProperty({}, "lm-button-".concat(size), size), _defineProperty({}, "lm-button-".concat(type), type), _defineProperty({}, "lm-button-".concat(type, "-hover"), type && hover));
40
+ }, _defineProperty({}, "lm-button-danger", danger), _defineProperty({}, "lm-button-".concat(size), size), _defineProperty({}, "lm-button-".concat(type), type), _defineProperty({}, "lm-button-".concat(type, "-hover"), type && hover));
40
41
  return /*#__PURE__*/React.createElement(_Button, Object.assign({}, restProps, {
41
42
  className: classs,
42
43
  size: size,
43
44
  type: type,
44
- danger: !!restProps.danger
45
+ danger: !!danger
45
46
  }), children);
46
47
  };
47
48
 
@@ -1,10 +1,11 @@
1
1
  .ant-btn.lm-button {
2
- border: 0;
3
2
  display: inline-flex !important;
4
3
  flex-direction: row;
5
4
  align-items: center;
6
5
  justify-content: center;
6
+ color: var(--font-color);
7
7
  vertical-align: middle;
8
+ border: 1px solid var(--stroke-color);
8
9
  box-shadow: none;
9
10
  }
10
11
  .ant-btn.lm-button .anticon {
@@ -22,12 +23,24 @@
22
23
  white-space: nowrap;
23
24
  }
24
25
  .ant-btn.lm-button::before {
25
- display: none !important;
26
+ position: absolute;
27
+ z-index: 1;
28
+ display: none;
29
+ background: #fff;
30
+ border-radius: inherit;
31
+ opacity: 0.35;
32
+ transition: opacity 0.2s;
33
+ content: '';
34
+ pointer-events: none;
35
+ inset: -1px;
36
+ }
37
+ .ant-btn.lm-button.ant-btn-loading::before {
38
+ display: block;
26
39
  }
27
40
  .ant-btn.lm-button:disabled {
41
+ color: var(--disabled-font-color) !important;
28
42
  background: var(--disabled-bg-color) !important;
29
43
  border: 1px solid var(--disabled-border-color) !important;
30
- color: var(--disabled-font-color) !important;
31
44
  }
32
45
  .ant-btn.lm-button > span:not(.anticon) {
33
46
  font-size: 12px;
@@ -48,57 +61,46 @@
48
61
  .ant-btn.lm-button-middle .anticon {
49
62
  font-size: 16px;
50
63
  }
51
- .ant-btn.lm-button-default {
52
- border: 1px solid var(--stroke-color);
53
- color: var(--font-color);
54
- }
55
- .ant-btn.lm-button-default-hover,
56
- .ant-btn.lm-button-default:hover {
57
- border: 1px solid var(--primary-hover-color);
58
- color: var(--primary-hover-color);
59
- }
60
- .ant-btn.lm-button-default.ant-btn-loading {
61
- border-color: rgba(0, 0, 0, 0.15);
62
- color: rgba(0, 0, 0, 0.15);
63
- }
64
64
  .ant-btn.lm-button-primary {
65
- background: var(--primary-color);
66
65
  color: #fff;
66
+ background: var(--primary-color);
67
+ border-color: var(--primary-color);
67
68
  }
68
- .ant-btn.lm-button-primary-hover,
69
69
  .ant-btn.lm-button-primary:hover {
70
70
  background: var(--primary-hover-color);
71
71
  }
72
+ .ant-btn.lm-button-primary:active {
73
+ background-color: var(--primary-click-color);
74
+ }
72
75
  .ant-btn.lm-button-primary.ant-btn-loading {
73
76
  background: var(--primary-loading-color);
74
77
  }
75
78
  .ant-btn.lm-button-ghost {
76
79
  color: var(--font-color);
77
- border-color: var(--color-15);
78
80
  background: transparent;
81
+ border: 1px solid var(--color-15);
79
82
  }
80
83
  .ant-btn.lm-button-danger {
81
- border: 1px solid var(--error-color);
82
84
  color: var(--error-color);
83
85
  text-shadow: none;
86
+ border: 1px solid var(--error-color);
84
87
  box-shadow: none;
85
88
  }
86
- .ant-btn.lm-button-danger-hover,
87
89
  .ant-btn.lm-button-danger:hover {
88
- border-color: var(--error-hover-color);
89
90
  color: var(--error-hover-color);
91
+ border-color: var(--error-hover-color);
90
92
  }
91
93
  .ant-btn.lm-button-danger.ant-btn-loading {
92
- border-color: var(--error-loading-color);
93
94
  color: var(--error-hover-color);
95
+ border-color: var(--error-loading-color);
94
96
  }
95
97
  .ant-btn.lm-button-dashed {
96
98
  border: 1px dashed var(--color-15);
97
99
  }
98
100
  .ant-btn.lm-button-link {
99
101
  color: var(--primary-color);
102
+ border-color: transparent;
100
103
  }
101
- .ant-btn.lm-button-link-hover,
102
104
  .ant-btn.lm-button-link:hover {
103
105
  color: var(--primary-hover-color);
104
106
  }
@@ -106,11 +108,12 @@
106
108
  color: var(--primary-loading-color);
107
109
  }
108
110
  .ant-btn.lm-button-link[disabled] {
109
- border: 0 !important;
110
111
  background: transparent !important;
112
+ border: 0 !important;
111
113
  }
112
114
  .ant-btn.ant-btn-text {
113
115
  background: transparent;
116
+ border-color: transparent;
114
117
  }
115
118
  .ant-btn.lm-button-icon-only .anticon {
116
119
  font-size: 16px;
@@ -1,10 +1,11 @@
1
1
  .ant-btn.lm-button {
2
- border: 0;
3
2
  display: inline-flex !important;
4
3
  flex-direction: row;
5
4
  align-items: center;
6
5
  justify-content: center;
6
+ color: var(--font-color);
7
7
  vertical-align: middle;
8
+ border: 1px solid var(--stroke-color);
8
9
  box-shadow: none;
9
10
  }
10
11
  .ant-btn.lm-button .anticon {
@@ -22,12 +23,24 @@
22
23
  white-space: nowrap;
23
24
  }
24
25
  .ant-btn.lm-button::before {
25
- display: none !important;
26
+ position: absolute;
27
+ z-index: 1;
28
+ display: none;
29
+ background: #fff;
30
+ border-radius: inherit;
31
+ opacity: 0.35;
32
+ transition: opacity 0.2s;
33
+ content: '';
34
+ pointer-events: none;
35
+ inset: -1px;
36
+ }
37
+ .ant-btn.lm-button.ant-btn-loading::before {
38
+ display: block;
26
39
  }
27
40
  .ant-btn.lm-button:disabled {
41
+ color: var(--disabled-font-color) !important;
28
42
  background: var(--disabled-bg-color) !important;
29
43
  border: 1px solid var(--disabled-border-color) !important;
30
- color: var(--disabled-font-color) !important;
31
44
  }
32
45
  .ant-btn.lm-button > span:not(.anticon) {
33
46
  font-size: 12px;
@@ -48,57 +61,46 @@
48
61
  .ant-btn.lm-button-middle .anticon {
49
62
  font-size: 16px;
50
63
  }
51
- .ant-btn.lm-button-default {
52
- border: 1px solid var(--stroke-color);
53
- color: var(--font-color);
54
- }
55
- .ant-btn.lm-button-default-hover,
56
- .ant-btn.lm-button-default:hover {
57
- border: 1px solid var(--primary-hover-color);
58
- color: var(--primary-hover-color);
59
- }
60
- .ant-btn.lm-button-default.ant-btn-loading {
61
- border-color: rgba(0, 0, 0, 0.15);
62
- color: rgba(0, 0, 0, 0.15);
63
- }
64
64
  .ant-btn.lm-button-primary {
65
- background: var(--primary-color);
66
65
  color: #fff;
66
+ background: var(--primary-color);
67
+ border-color: var(--primary-color);
67
68
  }
68
- .ant-btn.lm-button-primary-hover,
69
69
  .ant-btn.lm-button-primary:hover {
70
70
  background: var(--primary-hover-color);
71
71
  }
72
+ .ant-btn.lm-button-primary:active {
73
+ background-color: var(--primary-click-color);
74
+ }
72
75
  .ant-btn.lm-button-primary.ant-btn-loading {
73
76
  background: var(--primary-loading-color);
74
77
  }
75
78
  .ant-btn.lm-button-ghost {
76
79
  color: var(--font-color);
77
- border-color: var(--color-15);
78
80
  background: transparent;
81
+ border: 1px solid var(--color-15);
79
82
  }
80
83
  .ant-btn.lm-button-danger {
81
- border: 1px solid var(--error-color);
82
84
  color: var(--error-color);
83
85
  text-shadow: none;
86
+ border: 1px solid var(--error-color);
84
87
  box-shadow: none;
85
88
  }
86
- .ant-btn.lm-button-danger-hover,
87
89
  .ant-btn.lm-button-danger:hover {
88
- border-color: var(--error-hover-color);
89
90
  color: var(--error-hover-color);
91
+ border-color: var(--error-hover-color);
90
92
  }
91
93
  .ant-btn.lm-button-danger.ant-btn-loading {
92
- border-color: var(--error-loading-color);
93
94
  color: var(--error-hover-color);
95
+ border-color: var(--error-loading-color);
94
96
  }
95
97
  .ant-btn.lm-button-dashed {
96
98
  border: 1px dashed var(--color-15);
97
99
  }
98
100
  .ant-btn.lm-button-link {
99
101
  color: var(--primary-color);
102
+ border-color: transparent;
100
103
  }
101
- .ant-btn.lm-button-link-hover,
102
104
  .ant-btn.lm-button-link:hover {
103
105
  color: var(--primary-hover-color);
104
106
  }
@@ -106,11 +108,12 @@
106
108
  color: var(--primary-loading-color);
107
109
  }
108
110
  .ant-btn.lm-button-link[disabled] {
109
- border: 0 !important;
110
111
  background: transparent !important;
112
+ border: 0 !important;
111
113
  }
112
114
  .ant-btn.ant-btn-text {
113
115
  background: transparent;
116
+ border-color: transparent;
114
117
  }
115
118
  .ant-btn.lm-button-icon-only .anticon {
116
119
  font-size: 16px;
@@ -16,6 +16,8 @@ var __rest = this && this.__rest || function (s, e) {
16
16
 
17
17
  import React from 'react';
18
18
  import classNames from 'classnames';
19
+ import DisabledContext from '../ConfigProvider/DisabledContext';
20
+ import SizeContext from '../ConfigProvider/SizeContext';
19
21
  var prefixCls = 'lm_cascader';
20
22
  var prefixDropdownCls = 'lm_cascader_dropdown';
21
23
 
@@ -26,7 +28,16 @@ var LMCascader = function LMCascader(props) {
26
28
  _props$placeholder = props.placeholder,
27
29
  placeholder = _props$placeholder === void 0 ? '请选择' : _props$placeholder,
28
30
  defaultLabel = props.defaultLabel,
29
- others = __rest(props, ["children", "className", "dropdownClassName", "placeholder", "defaultLabel"]);
31
+ customDisabled = props.disabled,
32
+ customizeSize = props.size,
33
+ others = __rest(props // ===================== Disabled =====================
34
+ , ["children", "className", "dropdownClassName", "placeholder", "defaultLabel", "disabled", "size"]); // ===================== Disabled =====================
35
+
36
+
37
+ var disabled = React.useContext(DisabledContext);
38
+ var size = React.useContext(SizeContext);
39
+ var mergeSize = customizeSize || size;
40
+ var mergedDisabled = customDisabled || disabled;
30
41
 
31
42
  var displayRender = function displayRender(label, selectedOptions) {
32
43
  var hasUndefined = selectedOptions.some(function (v) {
@@ -45,7 +56,10 @@ var LMCascader = function LMCascader(props) {
45
56
  className: classNames(prefixCls, className),
46
57
  dropdownClassName: classNames(prefixDropdownCls, dropdownClassName),
47
58
  displayRender: displayRender
48
- }, others));
59
+ }, others, {
60
+ size: mergeSize,
61
+ disabled: mergedDisabled
62
+ }));
49
63
  };
50
64
 
51
65
  export default LMCascader;
@@ -21,7 +21,7 @@ export interface DescriptionsProps {
21
21
  contentStyle?: React.CSSProperties;
22
22
  containerType?: 'default' | 'drawer' | 'modal';
23
23
  }
24
- declare function Descriptions({ prefixCls: customizePrefixCls, title, extra, column, colon, bordered, layout, children, className, style, size, labelStyle, contentStyle, containerType }: DescriptionsProps): JSX.Element;
24
+ declare function Descriptions({ prefixCls: customizePrefixCls, title, extra, column, colon, bordered, layout, children, className, style, size, labelStyle, contentStyle, containerType, }: DescriptionsProps): JSX.Element;
25
25
  declare namespace Descriptions {
26
26
  var Item: React.FC<import("./Item").DescriptionsItemProps>;
27
27
  }
@@ -143,9 +143,9 @@ function Descriptions(_ref) {
143
143
  value: contextValue
144
144
  }, /*#__PURE__*/React.createElement("div", {
145
145
  className: classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-").concat(size), size && size !== 'default'), _defineProperty(_classNames, "".concat(prefixCls, "-bordered"), !!bordered), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className, 'lm_descriptions', {
146
- 'lm_descriptions_default': containerType === 'default',
147
- 'lm_descriptions_drawer': containerType === 'drawer',
148
- 'lm_descriptions_modal': containerType === 'modal'
146
+ lm_descriptions_default: containerType === 'default',
147
+ lm_descriptions_drawer: containerType === 'drawer',
148
+ lm_descriptions_modal: containerType === 'modal'
149
149
  }),
150
150
  style: style
151
151
  }, (title || extra) && /*#__PURE__*/React.createElement("div", {
@@ -665,6 +665,9 @@ p {
665
665
  padding-right: 24px;
666
666
  padding-bottom: 8px;
667
667
  }
668
+ .lm_descriptions .ant-descriptions-item:last-child {
669
+ padding-right: 0;
670
+ }
668
671
  .lm_descriptions .ant-descriptions-item .ant-descriptions-item-container {
669
672
  color: var(--color-85);
670
673
  font-size: 12px;
@@ -153,6 +153,9 @@
153
153
  padding-right: 24px;
154
154
  padding-bottom: 8px;
155
155
  }
156
+ .lm_descriptions .ant-descriptions-item:last-child {
157
+ padding-right: 0;
158
+ }
156
159
  .lm_descriptions .ant-descriptions-item .ant-descriptions-item-container {
157
160
  color: var(--color-85);
158
161
  font-size: 12px;
@@ -17,23 +17,30 @@ var __rest = this && this.__rest || function (s, e) {
17
17
  import classNames from 'classnames';
18
18
  import React from 'react';
19
19
  import DisabledContext from '../ConfigProvider/DisabledContext';
20
+ import SizeContext from '../ConfigProvider/SizeContext';
20
21
  var prefixCls = 'lm_input-number';
21
22
 
22
23
  var LMInputNumber = function LMInputNumber(props) {
23
24
  var children = props.children,
24
25
  className = props.className,
25
26
  customDisabled = props.disabled,
27
+ customizeSize = props.size,
26
28
  rest = __rest(props // ===================== Disabled =====================
27
- , ["children", "className", "disabled"]); // ===================== Disabled =====================
29
+ , ["children", "className", "disabled", "size"]); // ===================== Disabled =====================
28
30
 
29
31
 
30
32
  var disabled = React.useContext(DisabledContext);
31
- var mergedDisabled = customDisabled || disabled;
33
+ var mergedDisabled = customDisabled || disabled; // ===================== size =====================
34
+
35
+ var size = React.useContext(SizeContext);
36
+ var mergeSize = customizeSize || size;
32
37
  return /*#__PURE__*/React.createElement(_InputNumber, Object.assign({
33
38
  className: classNames(className, prefixCls),
34
- disabled: mergedDisabled,
35
39
  placeholder: "\u8BF7\u8F93\u5165"
36
- }, rest));
40
+ }, rest, {
41
+ size: mergeSize,
42
+ disabled: mergedDisabled
43
+ }));
37
44
  };
38
45
 
39
46
  var CInputNumber = LMInputNumber;
@@ -549,3 +549,6 @@ p {
549
549
  .lm_input-number.ant-input-number-status-warning {
550
550
  border-color: var(--warning-color) !important;
551
551
  }
552
+ .lm_input-number .ant-input-number-input::placeholder {
553
+ font-size: 12px;
554
+ }
@@ -37,3 +37,6 @@
37
37
  .lm_input-number.ant-input-number-status-warning {
38
38
  border-color: var(--warning-color) !important;
39
39
  }
40
+ .lm_input-number .ant-input-number-input::placeholder {
41
+ font-size: 12px;
42
+ }
@@ -1153,7 +1153,11 @@ var EditTable = /*#__PURE__*/forwardRef(function (props, ref) {
1153
1153
  relevanceCols = col.relevanceCols,
1154
1154
  componentProps = col.componentProps;
1155
1155
 
1156
- if ((col === null || col === void 0 ? void 0 : col.fixed) || hasDisableOptions && hasDisableOptions.includes(dataIndex) || ((_a = col.componentProps) === null || _a === void 0 ? void 0 : _a.options) || editable === 'render' || !!relevanceCols || !!shouldUpdate || !!record.children || componentProps && isFunction(componentProps)) {
1156
+ if (componentProps && isFunction(componentProps)) {
1157
+ return true;
1158
+ }
1159
+
1160
+ if ((col === null || col === void 0 ? void 0 : col.fixed) || hasDisableOptions && hasDisableOptions.includes(dataIndex) || ((_a = col.componentProps) === null || _a === void 0 ? void 0 : _a.options) || editable === 'render' || !!relevanceCols || !!shouldUpdate || !!record.children) {
1157
1161
  return true;
1158
1162
  }
1159
1163
 
@@ -201,7 +201,7 @@ var ItemLabel = /*#__PURE__*/_react.default.memo(function (_ref3) {
201
201
  } catch (error) {
202
202
  return filterValue;
203
203
  }
204
- }, [type, filterValue]);
204
+ }, [type, data, filterValue]);
205
205
 
206
206
  if (isString) {
207
207
  return /*#__PURE__*/_react.default.createElement("span", null, String);
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  interface IMenuData {
3
3
  menuId: string;
4
4
  title: string | React.ReactNode;
5
+ hidden?: boolean;
5
6
  }
6
7
  export interface IQuickMenuProps {
7
8
  className?: string;
@@ -1,5 +1,5 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
- import React, { useEffect, useState, useRef } from 'react';
2
+ import React, { useEffect, useState, useRef, useMemo } from 'react';
3
3
  import { IconFont, Button } from 'linkmore-design';
4
4
  import { useScroll, useDebounceEffect } from 'ahooks';
5
5
  import classNames from 'classnames';
@@ -31,6 +31,11 @@ var LMQuickMenu = function LMQuickMenu(props) {
31
31
  var scroll = useScroll(getTargetElement(warpElement || document), function () {
32
32
  return scrollOpenStatus;
33
33
  });
34
+ var filterMenuData = useMemo(function () {
35
+ return menuData === null || menuData === void 0 ? void 0 : menuData.filter(function (item) {
36
+ return item.hidden !== true;
37
+ });
38
+ }, [menuData]);
34
39
 
35
40
  function clearActiveToc() {
36
41
  [].forEach.call(document.querySelectorAll('.lm_menu_list li a'), function (node) {
@@ -54,7 +59,7 @@ var LMQuickMenu = function LMQuickMenu(props) {
54
59
  (_a = menuTimeEventRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
55
60
  }
56
61
 
57
- if (!menuData.length) {
62
+ if (!filterMenuData.length) {
58
63
  return;
59
64
  } // eslint-disable-next-line global-require
60
65
 
@@ -66,11 +71,10 @@ var LMQuickMenu = function LMQuickMenu(props) {
66
71
 
67
72
  menuTimeEventRef.current = scrollama();
68
73
  (_c = (_b = menuTimeEventRef.current) === null || _b === void 0 ? void 0 : _b.setup({
69
- step: menuData.map(function (item) {
74
+ step: filterMenuData.map(function (item) {
70
75
  return document.getElementById("".concat(item.menuId));
71
- }).filter(Boolean) // required
72
- // offset: '10px',
73
-
76
+ }).filter(Boolean),
77
+ container: getTargetElement(warpElement || document)
74
78
  })) === null || _c === void 0 ? void 0 : _c.onStepEnter(function (_ref) {
75
79
  var element = _ref.element;
76
80
  updateActiveToc(element.id);
@@ -78,7 +82,7 @@ var LMQuickMenu = function LMQuickMenu(props) {
78
82
  };
79
83
 
80
84
  function setKeysDom() {
81
- menuData.forEach(function (item) {
85
+ filterMenuData.forEach(function (item) {
82
86
  var _a, _b;
83
87
 
84
88
  var warpTop = ((_a = getTargetElement(warpElement || document)) === null || _a === void 0 ? void 0 : _a.offsetTop) || 0;
@@ -156,7 +160,7 @@ var LMQuickMenu = function LMQuickMenu(props) {
156
160
  })
157
161
  }), /*#__PURE__*/React.createElement("ul", {
158
162
  className: classNames('lm_menu_list', hovering && 'show', className)
159
- }, menuData.map(function (item) {
163
+ }, filterMenuData.map(function (item) {
160
164
  return /*#__PURE__*/React.createElement("li", {
161
165
  key: item.menuId,
162
166
  onClick: function onClick() {