linkmore-design 1.0.26 → 1.0.29
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/dist/index.umd.js +354 -454
- package/dist/index.umd.min.js +7 -7
- package/es/Button/index.js +1 -1
- package/es/Button/style/style.css +9 -0
- package/es/Checkbox/style/style.css +9 -0
- package/es/CkFilter/baseFilter/filterMenu.js +5 -4
- package/es/CkFilter/baseFilter/index.js +2 -1
- package/es/CkFilter/baseFilter/moreFilters.js +10 -5
- package/es/CkFilter/complexFilter/drawer.js +8 -9
- package/es/CkFilter/complexFilter/index.js +1 -1
- package/es/CkFilter/components/DragBox/index.js +0 -1
- package/es/CkFilter/components/DragBox/sortableItem.js +5 -1
- package/es/CkFilter/components/filterTypes.js +33 -18
- package/es/CkFilter/components/modal.js +36 -24
- package/es/CkFilter/context.js +2 -1
- package/es/CkFilter/customFilter/drawer.js +61 -13
- package/es/CkFilter/customFilter/index.js +4 -1
- package/es/CkFilter/customFilter/radioGroup.js +4 -3
- package/es/CkFilter/icon_placeholder.png +0 -0
- package/es/CkFilter/style/style.css +26 -5
- package/es/Dropdown/index.d.ts +2 -0
- package/es/Dropdown/index.js +9 -12
- package/es/Dropdown/style/index.css +12 -2
- package/es/Input/index.js +6 -5
- package/es/LmTable/ImgList/imgCell.js +3 -1
- package/es/LmTable/ImgList/imgTable.js +4 -4
- package/es/LmTable/style/style.css +62 -61
- package/es/Radio/index.js +4 -2
- package/es/Radio/style/style.css +17 -3
- package/lib/Button/index.js +1 -1
- package/lib/Button/style/style.css +9 -0
- package/lib/Checkbox/style/style.css +9 -0
- package/lib/CkFilter/baseFilter/filterMenu.js +5 -4
- package/lib/CkFilter/baseFilter/index.js +2 -1
- package/lib/CkFilter/baseFilter/moreFilters.js +10 -5
- package/lib/CkFilter/complexFilter/drawer.js +8 -9
- package/lib/CkFilter/complexFilter/index.js +1 -1
- package/lib/CkFilter/components/DragBox/index.js +0 -1
- package/lib/CkFilter/components/DragBox/sortableItem.js +5 -1
- package/lib/CkFilter/components/filterTypes.js +33 -18
- package/lib/CkFilter/components/modal.js +36 -24
- package/lib/CkFilter/context.js +2 -1
- package/lib/CkFilter/customFilter/drawer.js +61 -13
- package/lib/CkFilter/customFilter/index.js +4 -1
- package/lib/CkFilter/customFilter/radioGroup.js +4 -3
- package/lib/CkFilter/icon_placeholder.png +0 -0
- package/lib/CkFilter/style/style.css +26 -5
- package/lib/Dropdown/index.d.ts +2 -0
- package/lib/Dropdown/index.js +9 -12
- package/lib/Dropdown/style/index.css +12 -2
- package/lib/Input/index.js +6 -5
- package/lib/LmTable/ImgList/imgCell.js +3 -1
- package/lib/LmTable/ImgList/imgTable.js +4 -4
- package/lib/LmTable/style/style.css +62 -61
- package/lib/Radio/index.js +4 -2
- package/lib/Radio/style/style.css +17 -3
- package/package.json +4 -4
|
@@ -500,11 +500,19 @@ html {
|
|
|
500
500
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
501
501
|
opacity: 1;
|
|
502
502
|
}
|
|
503
|
+
.lm_dropdown.only_icon {
|
|
504
|
+
padding: 6px 8px;
|
|
505
|
+
}
|
|
506
|
+
.lm_dropdown_overlay > * {
|
|
507
|
+
max-height: 552px;
|
|
508
|
+
max-width: 552px;
|
|
509
|
+
overflow-y: auto;
|
|
510
|
+
}
|
|
503
511
|
.lm_dropdown_overlay .ant-dropdown-menu {
|
|
504
512
|
padding: 0;
|
|
505
513
|
}
|
|
506
514
|
.lm_dropdown_overlay .ant-dropdown-menu .ant-dropdown-menu-item {
|
|
507
|
-
height: 32px;
|
|
515
|
+
min-height: 32px;
|
|
508
516
|
font-size: 12px;
|
|
509
517
|
}
|
|
510
518
|
.lm_dropdown_overlay .ant-dropdown-menu .ant-dropdown-menu-item:hover {
|
|
@@ -522,7 +530,7 @@ html {
|
|
|
522
530
|
box-sizing: content-box;
|
|
523
531
|
}
|
|
524
532
|
.lm_dropdown_button .ant-btn {
|
|
525
|
-
height:
|
|
533
|
+
height: 30px;
|
|
526
534
|
border-top: 0px;
|
|
527
535
|
border-bottom: 0px;
|
|
528
536
|
}
|
|
@@ -531,6 +539,8 @@ html {
|
|
|
531
539
|
}
|
|
532
540
|
.lm_dropdown_button .ant-btn:first-child {
|
|
533
541
|
border-left: 0px;
|
|
542
|
+
padding-left: 12px;
|
|
543
|
+
padding-right: 12px;
|
|
534
544
|
}
|
|
535
545
|
.lm_dropdown_button .ant-btn:last-child {
|
|
536
546
|
border-right: 0px;
|
package/lib/Input/index.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
4
|
|
|
5
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
6
|
+
|
|
5
7
|
Object.defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
@@ -15,7 +17,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
15
17
|
|
|
16
18
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
17
19
|
|
|
18
|
-
var _react =
|
|
20
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
19
21
|
|
|
20
22
|
var _IconFont = _interopRequireDefault(require("../IconFont"));
|
|
21
23
|
|
|
@@ -35,8 +37,7 @@ var LmInput = function LmInput(props) {
|
|
|
35
37
|
};
|
|
36
38
|
|
|
37
39
|
LmInput.Group = _input.default.Group;
|
|
38
|
-
|
|
39
|
-
LmInput.Search = function (props) {
|
|
40
|
+
LmInput.Search = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
40
41
|
var _props$allowClear2 = props.allowClear,
|
|
41
42
|
allowClear = _props$allowClear2 === void 0 ? true : _props$allowClear2,
|
|
42
43
|
rest = (0, _objectWithoutProperties2.default)(props, _excluded2);
|
|
@@ -45,11 +46,11 @@ LmInput.Search = function (props) {
|
|
|
45
46
|
type: "lmweb-search"
|
|
46
47
|
})
|
|
47
48
|
}, rest, {
|
|
49
|
+
ref: ref,
|
|
48
50
|
allowClear: true,
|
|
49
51
|
className: "lm_input_search"
|
|
50
52
|
}));
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
+
});
|
|
53
54
|
LmInput.TextArea = _input.default.TextArea;
|
|
54
55
|
|
|
55
56
|
LmInput.Password = function (props) {
|
|
@@ -33,6 +33,8 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
33
33
|
|
|
34
34
|
var _linkmoreDesign = require("linkmore-design");
|
|
35
35
|
|
|
36
|
+
var _context = _interopRequireDefault(require("./context"));
|
|
37
|
+
|
|
36
38
|
var _react = _interopRequireWildcard(require("react"));
|
|
37
39
|
|
|
38
40
|
var _EnlargeImg = _interopRequireDefault(require("../../EnlargeImg"));
|
|
@@ -71,7 +73,7 @@ var Cell = function Cell(props) {
|
|
|
71
73
|
style = props.style,
|
|
72
74
|
className = props.className;
|
|
73
75
|
|
|
74
|
-
var _useContext = (0, _react.useContext)(
|
|
76
|
+
var _useContext = (0, _react.useContext)(_context.default),
|
|
75
77
|
dispatch = _useContext.dispatch,
|
|
76
78
|
defaultValue = _useContext.defaultValue,
|
|
77
79
|
_useContext$rowKey = _useContext.rowKey,
|
|
@@ -15,14 +15,14 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
15
15
|
|
|
16
16
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
17
17
|
|
|
18
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
19
|
-
|
|
20
18
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
21
19
|
|
|
22
|
-
var
|
|
20
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
23
21
|
|
|
24
22
|
var _body = _interopRequireDefault(require("./body"));
|
|
25
23
|
|
|
24
|
+
var _context = _interopRequireDefault(require("./context"));
|
|
25
|
+
|
|
26
26
|
var _footer = _interopRequireDefault(require("./footer"));
|
|
27
27
|
|
|
28
28
|
var _excluded = ["style", "defaultPage"];
|
|
@@ -96,7 +96,7 @@ var ImgTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
96
96
|
defaultPage: defaultPage
|
|
97
97
|
})
|
|
98
98
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
99
|
-
className: "
|
|
99
|
+
className: "lm_pro_component_img_table",
|
|
100
100
|
style: (0, _objectSpread2.default)({}, style)
|
|
101
101
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
102
102
|
className: (0, _classnames.default)('lm_img_body', {
|
|
@@ -775,71 +775,71 @@ html {
|
|
|
775
775
|
.ant-popover.ant-pro-table-column-setting-overlay .ant-tree .ant-tree-node-content-wrapper:hover {
|
|
776
776
|
background-color: transparent;
|
|
777
777
|
}
|
|
778
|
-
.
|
|
778
|
+
.lm_pro_component_img_table {
|
|
779
779
|
display: flex;
|
|
780
780
|
flex-flow: column;
|
|
781
781
|
height: 100%;
|
|
782
782
|
}
|
|
783
|
-
.
|
|
783
|
+
.lm_pro_component_img_table .lm_img_body {
|
|
784
784
|
flex: 1;
|
|
785
785
|
height: calc(100% - 36px);
|
|
786
786
|
}
|
|
787
|
-
.
|
|
788
|
-
.
|
|
787
|
+
.lm_pro_component_img_table .lm_img_body.hasChecked .lm_imgList .img_cell_wrap .checkBox,
|
|
788
|
+
.lm_pro_component_img_table .lm_img_body.hasChecked .lm_imgList .img_cell_wrap .card_cell_checkbox {
|
|
789
789
|
opacity: 1;
|
|
790
790
|
}
|
|
791
|
-
.
|
|
791
|
+
.lm_pro_component_img_table .lm_img_footer {
|
|
792
792
|
display: flex;
|
|
793
793
|
justify-content: flex-end;
|
|
794
794
|
height: 36px;
|
|
795
795
|
}
|
|
796
|
-
.
|
|
796
|
+
.lm_pro_component_img_table .lm_imgList {
|
|
797
797
|
font-size: 0;
|
|
798
798
|
}
|
|
799
|
-
.
|
|
799
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap {
|
|
800
800
|
font-size: 12px;
|
|
801
801
|
width: 20%;
|
|
802
802
|
padding: 6px;
|
|
803
803
|
overflow: hidden;
|
|
804
804
|
}
|
|
805
|
-
.
|
|
805
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap.first_row {
|
|
806
806
|
padding-top: 0;
|
|
807
807
|
}
|
|
808
|
-
.
|
|
808
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap.last_row {
|
|
809
809
|
padding-bottom: 0;
|
|
810
810
|
}
|
|
811
|
-
.
|
|
811
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap.first_column {
|
|
812
812
|
padding-left: 0;
|
|
813
813
|
}
|
|
814
|
-
.
|
|
814
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap.last_column {
|
|
815
815
|
padding-right: 0;
|
|
816
816
|
}
|
|
817
|
-
.
|
|
817
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body {
|
|
818
818
|
display: flex;
|
|
819
819
|
flex-flow: column;
|
|
820
820
|
height: 100%;
|
|
821
821
|
border-radius: 2px;
|
|
822
822
|
background-color: var(--background-color);
|
|
823
|
-
padding: 16px
|
|
823
|
+
padding: 16px;
|
|
824
824
|
overflow: hidden;
|
|
825
825
|
border: 1px solid transparent;
|
|
826
826
|
transition: 0.3s;
|
|
827
827
|
}
|
|
828
|
-
.
|
|
828
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body:hover {
|
|
829
829
|
background-color: var(--background-color-hover);
|
|
830
830
|
}
|
|
831
|
-
.
|
|
831
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .ant-checkbox {
|
|
832
832
|
border: 8px solid rgba(255, 255, 255, 0.624);
|
|
833
833
|
border-radius: 2px;
|
|
834
834
|
}
|
|
835
|
-
.
|
|
835
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .checkBox {
|
|
836
836
|
position: absolute;
|
|
837
837
|
top: 0;
|
|
838
838
|
left: 0;
|
|
839
839
|
opacity: 0;
|
|
840
840
|
transition: 0.3s;
|
|
841
841
|
}
|
|
842
|
-
.
|
|
842
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .more {
|
|
843
843
|
position: absolute;
|
|
844
844
|
top: 0;
|
|
845
845
|
right: 0;
|
|
@@ -848,7 +848,7 @@ html {
|
|
|
848
848
|
background-color: rgba(255, 255, 255, 0.624);
|
|
849
849
|
transition: 0.3s;
|
|
850
850
|
}
|
|
851
|
-
.
|
|
851
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .more .more_btn {
|
|
852
852
|
display: inline-flex;
|
|
853
853
|
align-items: center;
|
|
854
854
|
justify-content: center;
|
|
@@ -856,7 +856,7 @@ html {
|
|
|
856
856
|
width: 32px;
|
|
857
857
|
height: 32px;
|
|
858
858
|
}
|
|
859
|
-
.
|
|
859
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum {
|
|
860
860
|
position: relative;
|
|
861
861
|
display: flex;
|
|
862
862
|
align-items: center;
|
|
@@ -865,41 +865,42 @@ html {
|
|
|
865
865
|
text-align: center;
|
|
866
866
|
overflow: hidden;
|
|
867
867
|
}
|
|
868
|
-
.
|
|
868
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum img {
|
|
869
869
|
display: inline-block;
|
|
870
|
-
max-height: 200px;
|
|
871
870
|
object-fit: cover;
|
|
872
871
|
margin: auto;
|
|
872
|
+
width: 100%;
|
|
873
873
|
}
|
|
874
|
-
.
|
|
875
|
-
.
|
|
874
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum:hover .checkBox,
|
|
875
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum:hover .more {
|
|
876
876
|
opacity: 1;
|
|
877
877
|
}
|
|
878
|
-
.
|
|
878
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title {
|
|
879
879
|
padding: 16px 0 0 4px;
|
|
880
880
|
}
|
|
881
|
-
.
|
|
881
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .title {
|
|
882
882
|
color: var(--font-color);
|
|
883
883
|
white-space: nowrap;
|
|
884
884
|
text-overflow: ellipsis;
|
|
885
885
|
overflow: hidden;
|
|
886
886
|
font-weight: 500;
|
|
887
|
+
font-size: var(--font-size-base);
|
|
887
888
|
}
|
|
888
|
-
.
|
|
889
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code {
|
|
889
890
|
padding-top: 5px;
|
|
890
891
|
color: var(--text-color);
|
|
891
892
|
}
|
|
892
|
-
.
|
|
893
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code .ant-typography {
|
|
893
894
|
color: var(--text-color);
|
|
894
895
|
margin-bottom: 0;
|
|
895
896
|
}
|
|
896
|
-
.
|
|
897
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code .ant-typography .ant-typography-copy {
|
|
897
898
|
color: inherit;
|
|
898
899
|
}
|
|
899
|
-
.
|
|
900
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code .ant-typography .ant-typography-copy-success {
|
|
900
901
|
color: var(--success-color);
|
|
901
902
|
}
|
|
902
|
-
.
|
|
903
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_tags {
|
|
903
904
|
flex: 1;
|
|
904
905
|
width: 100%;
|
|
905
906
|
padding-top: 9px;
|
|
@@ -910,19 +911,19 @@ html {
|
|
|
910
911
|
font-size: 12px;
|
|
911
912
|
padding-left: 4px;
|
|
912
913
|
}
|
|
913
|
-
.
|
|
914
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_tags button.ant-btn-sm {
|
|
914
915
|
border: 0;
|
|
915
916
|
background: var(--background-color-hover);
|
|
916
917
|
margin: 0 4px 6px 0px;
|
|
917
918
|
}
|
|
918
|
-
.
|
|
919
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body.checked {
|
|
919
920
|
border-color: #2593f9;
|
|
920
921
|
}
|
|
921
|
-
.
|
|
922
|
-
.
|
|
922
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body.checked .checkBox,
|
|
923
|
+
.lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body.checked .more {
|
|
923
924
|
opacity: 1;
|
|
924
925
|
}
|
|
925
|
-
.
|
|
926
|
+
.lm_pro_component_img_table .lm_card_cell_content {
|
|
926
927
|
display: flex;
|
|
927
928
|
flex-flow: column;
|
|
928
929
|
height: 100%;
|
|
@@ -931,7 +932,7 @@ html {
|
|
|
931
932
|
border-radius: 2px;
|
|
932
933
|
transition: 0.3s;
|
|
933
934
|
}
|
|
934
|
-
.
|
|
935
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body {
|
|
935
936
|
position: relative;
|
|
936
937
|
flex: 1;
|
|
937
938
|
display: flex;
|
|
@@ -940,7 +941,7 @@ html {
|
|
|
940
941
|
padding: 16px;
|
|
941
942
|
cursor: pointer;
|
|
942
943
|
}
|
|
943
|
-
.
|
|
944
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_checkbox {
|
|
944
945
|
position: absolute;
|
|
945
946
|
left: 8px;
|
|
946
947
|
top: 8px;
|
|
@@ -948,17 +949,17 @@ html {
|
|
|
948
949
|
opacity: 0;
|
|
949
950
|
transition: 0.3s;
|
|
950
951
|
}
|
|
951
|
-
.
|
|
952
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_checkbox .ant-checkbox {
|
|
952
953
|
border: 8px solid rgba(255, 255, 255, 0.624);
|
|
953
954
|
border-radius: 2px;
|
|
954
955
|
}
|
|
955
|
-
.
|
|
956
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .title {
|
|
956
957
|
display: flex;
|
|
957
958
|
align-items: center;
|
|
958
959
|
justify-content: space-between;
|
|
959
960
|
gap: 8px;
|
|
960
961
|
}
|
|
961
|
-
.
|
|
962
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .title .label {
|
|
962
963
|
flex: 1;
|
|
963
964
|
font-size: 14px;
|
|
964
965
|
font-weight: 500;
|
|
@@ -967,7 +968,7 @@ html {
|
|
|
967
968
|
overflow: hidden;
|
|
968
969
|
white-space: nowrap;
|
|
969
970
|
}
|
|
970
|
-
.
|
|
971
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .title .icon {
|
|
971
972
|
display: inline-flex;
|
|
972
973
|
align-items: center;
|
|
973
974
|
gap: 4px;
|
|
@@ -977,18 +978,18 @@ html {
|
|
|
977
978
|
background: var(--background-color);
|
|
978
979
|
padding: 0 8px;
|
|
979
980
|
}
|
|
980
|
-
.
|
|
981
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .code {
|
|
981
982
|
font-size: 12px;
|
|
982
983
|
}
|
|
983
|
-
.
|
|
984
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .code .ant-typography {
|
|
984
985
|
color: var(--text-color);
|
|
985
986
|
text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
|
|
986
987
|
margin: 0;
|
|
987
988
|
}
|
|
988
|
-
.
|
|
989
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .code .ant-typography .ant-typography-copy {
|
|
989
990
|
color: inherit;
|
|
990
991
|
}
|
|
991
|
-
.
|
|
992
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .expand {
|
|
992
993
|
display: flex;
|
|
993
994
|
flex-wrap: wrap;
|
|
994
995
|
gap: 16px;
|
|
@@ -997,15 +998,15 @@ html {
|
|
|
997
998
|
text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
|
|
998
999
|
padding: 6px 0 2px;
|
|
999
1000
|
}
|
|
1000
|
-
.
|
|
1001
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .expand > div {
|
|
1001
1002
|
padding: 2px 0;
|
|
1002
1003
|
}
|
|
1003
|
-
.
|
|
1004
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_center {
|
|
1004
1005
|
display: flex;
|
|
1005
1006
|
align-items: center;
|
|
1006
1007
|
flex: 1;
|
|
1007
1008
|
}
|
|
1008
|
-
.
|
|
1009
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list {
|
|
1009
1010
|
display: flex;
|
|
1010
1011
|
align-items: center;
|
|
1011
1012
|
justify-content: space-between;
|
|
@@ -1013,31 +1014,31 @@ html {
|
|
|
1013
1014
|
width: 100%;
|
|
1014
1015
|
margin: auto 0;
|
|
1015
1016
|
}
|
|
1016
|
-
.
|
|
1017
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list .item {
|
|
1017
1018
|
display: inline-flex;
|
|
1018
1019
|
align-items: center;
|
|
1019
1020
|
gap: 4px;
|
|
1020
1021
|
line-height: 1;
|
|
1021
1022
|
}
|
|
1022
|
-
.
|
|
1023
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list .item .num {
|
|
1023
1024
|
font-size: 20px;
|
|
1024
1025
|
font-weight: 500;
|
|
1025
1026
|
color: var(--font-color);
|
|
1026
1027
|
}
|
|
1027
|
-
.
|
|
1028
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list .item .text {
|
|
1028
1029
|
font-size: 12px;
|
|
1029
1030
|
color: var(--text-color);
|
|
1030
1031
|
}
|
|
1031
|
-
.
|
|
1032
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_footer {
|
|
1032
1033
|
display: flex;
|
|
1033
1034
|
align-items: center;
|
|
1034
1035
|
height: 40px;
|
|
1035
1036
|
background: #F7F7F7;
|
|
1036
1037
|
}
|
|
1037
|
-
.
|
|
1038
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_footer > * {
|
|
1038
1039
|
flex: 1;
|
|
1039
1040
|
}
|
|
1040
|
-
.
|
|
1041
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_footer > *::after {
|
|
1041
1042
|
content: '';
|
|
1042
1043
|
position: absolute;
|
|
1043
1044
|
right: 0;
|
|
@@ -1047,23 +1048,23 @@ html {
|
|
|
1047
1048
|
width: 1px;
|
|
1048
1049
|
background-color: #E8E8E8;
|
|
1049
1050
|
}
|
|
1050
|
-
.
|
|
1051
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_footer button:last-child {
|
|
1051
1052
|
border: none;
|
|
1052
1053
|
}
|
|
1053
|
-
.
|
|
1054
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_footer button:last-child::after {
|
|
1054
1055
|
display: none;
|
|
1055
1056
|
}
|
|
1056
|
-
.
|
|
1057
|
+
.lm_pro_component_img_table .lm_card_cell_content .card_cell_footer .footer_expand {
|
|
1057
1058
|
font-size: 16px;
|
|
1058
1059
|
text-align: center;
|
|
1059
1060
|
border: none;
|
|
1060
1061
|
}
|
|
1061
|
-
.
|
|
1062
|
-
.
|
|
1062
|
+
.lm_pro_component_img_table .lm_card_cell_content.checked,
|
|
1063
|
+
.lm_pro_component_img_table .lm_card_cell_content:hover {
|
|
1063
1064
|
border-color: var(--primary-color);
|
|
1064
1065
|
}
|
|
1065
|
-
.
|
|
1066
|
-
.
|
|
1066
|
+
.lm_pro_component_img_table .lm_card_cell_content.checked .card_cell_body .card_cell_checkbox,
|
|
1067
|
+
.lm_pro_component_img_table .lm_card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
1067
1068
|
opacity: 1;
|
|
1068
1069
|
}
|
|
1069
1070
|
.lm_customCheck {
|
package/lib/Radio/index.js
CHANGED
|
@@ -32,14 +32,16 @@ var LMRadio = function LMRadio(props) {
|
|
|
32
32
|
|
|
33
33
|
LMRadio.Group = function (props) {
|
|
34
34
|
var children = props.children,
|
|
35
|
-
size = props.size,
|
|
35
|
+
_props$size = props.size,
|
|
36
|
+
size = _props$size === void 0 ? 'middle' : _props$size,
|
|
36
37
|
buttonStyle = props.buttonStyle,
|
|
37
38
|
_props$direction = props.direction,
|
|
38
39
|
direction = _props$direction === void 0 ? 'row' : _props$direction,
|
|
39
40
|
restProps = (0, _objectWithoutProperties2.default)(props, _excluded2);
|
|
40
41
|
console.log(children, 'rrr');
|
|
41
42
|
return /*#__PURE__*/_react.default.createElement(_radio.default.Group, (0, _extends2.default)({
|
|
42
|
-
className: (0, _classnames.default)('lm-radio-group', "lm-radio-group-".concat(direction))
|
|
43
|
+
className: (0, _classnames.default)('lm-radio-group', "lm-radio-group-".concat(direction)),
|
|
44
|
+
size: size
|
|
43
45
|
}, restProps), children);
|
|
44
46
|
};
|
|
45
47
|
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
}
|
|
29
29
|
.lm-radio-group .ant-radio-button-wrapper {
|
|
30
30
|
font-size: 12px;
|
|
31
|
-
line-height:
|
|
32
|
-
height:
|
|
31
|
+
line-height: 30px;
|
|
32
|
+
height: 32px;
|
|
33
33
|
padding: 1px 8px;
|
|
34
34
|
color: var(--font-color);
|
|
35
35
|
vertical-align: middle;
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
.lm-radio-group .ant-radio-button-wrapper > span:last-child {
|
|
45
45
|
display: inline-block;
|
|
46
46
|
font-size: 12px;
|
|
47
|
-
line-height:
|
|
47
|
+
line-height: 30px;
|
|
48
48
|
max-width: 96px;
|
|
49
49
|
overflow: hidden;
|
|
50
50
|
white-space: nowrap;
|
|
@@ -63,6 +63,20 @@
|
|
|
63
63
|
color: var(--primary-hover-color);
|
|
64
64
|
border-color: var(--primary-hover-color);
|
|
65
65
|
}
|
|
66
|
+
.lm-radio-group.ant-radio-group-large .ant-radio-button-wrapper {
|
|
67
|
+
line-height: 38px;
|
|
68
|
+
height: 40px;
|
|
69
|
+
}
|
|
70
|
+
.lm-radio-group.ant-radio-group-large .ant-radio-button-wrapper > span:last-child {
|
|
71
|
+
line-height: 38px;
|
|
72
|
+
}
|
|
73
|
+
.lm-radio-group.ant-radio-group-small .ant-radio-button-wrapper {
|
|
74
|
+
line-height: 22px;
|
|
75
|
+
height: 24px;
|
|
76
|
+
}
|
|
77
|
+
.lm-radio-group.ant-radio-group-small .ant-radio-button-wrapper > span:last-child {
|
|
78
|
+
line-height: 22px;
|
|
79
|
+
}
|
|
66
80
|
.lm-radio-group .ant-radio-wrapper {
|
|
67
81
|
font-size: 12px;
|
|
68
82
|
line-height: 20px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "linkmore-design",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.29",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "nowthen",
|
|
6
6
|
"email": "rnlvwyx@gmail.com"
|
|
@@ -53,6 +53,9 @@
|
|
|
53
53
|
"@typescript-eslint/eslint-plugin": "^5.28.0",
|
|
54
54
|
"@typescript-eslint/parser": "^5.28.0",
|
|
55
55
|
"antd": "^4.20.7",
|
|
56
|
+
"@dnd-kit/core": "^5.0.3",
|
|
57
|
+
"@dnd-kit/modifiers": "^5.0.0",
|
|
58
|
+
"@dnd-kit/sortable": "^6.0.1",
|
|
56
59
|
"axios": "^0.21.0",
|
|
57
60
|
"classnames": "^2.3.1",
|
|
58
61
|
"dayjs": "^1.9.7",
|
|
@@ -83,9 +86,6 @@
|
|
|
83
86
|
"@babel/preset-typescript": "^7.17.12",
|
|
84
87
|
"@commitlint/cli": "^11.0.0",
|
|
85
88
|
"@commitlint/config-conventional": "^11.0.0",
|
|
86
|
-
"@dnd-kit/core": "^5.0.3",
|
|
87
|
-
"@dnd-kit/modifiers": "^5.0.0",
|
|
88
|
-
"@dnd-kit/sortable": "^6.0.1",
|
|
89
89
|
"@types/react": "17.0.1",
|
|
90
90
|
"@types/react-dom": "17.0.1",
|
|
91
91
|
"autoprefixer": "^9.0.0",
|