linkmore-design 1.0.25 → 1.0.28

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 (71) hide show
  1. package/dist/index.umd.js +4875 -915
  2. package/dist/index.umd.min.js +7 -7
  3. package/es/Button/index.js +1 -1
  4. package/es/Button/style/style.css +9 -0
  5. package/es/Checkbox/style/style.css +9 -0
  6. package/es/CkFilter/baseFilter/NestedFilter.js +137 -0
  7. package/es/CkFilter/baseFilter/filterMenu.js +17 -11
  8. package/es/CkFilter/baseFilter/index.js +5 -2
  9. package/es/CkFilter/baseFilter/moreFilters.js +21 -2
  10. package/es/CkFilter/complexFilter/drawer.js +35 -20
  11. package/es/CkFilter/complexFilter/index.js +1 -1
  12. package/es/CkFilter/components/Controls.js +8 -0
  13. package/es/CkFilter/components/DragBox/DndContainer.js +49 -0
  14. package/es/CkFilter/components/DragBox/index.js +63 -0
  15. package/es/CkFilter/components/DragBox/sortableBox.js +24 -0
  16. package/es/CkFilter/components/DragBox/sortableItem.js +111 -0
  17. package/es/CkFilter/components/Nested.js +90 -0
  18. package/es/CkFilter/components/filterTypes.js +60 -95
  19. package/es/CkFilter/components/modal.js +105 -38
  20. package/es/CkFilter/context.js +16 -3
  21. package/es/CkFilter/customFilter/drawer.js +62 -15
  22. package/es/CkFilter/customFilter/index.js +4 -1
  23. package/es/CkFilter/customFilter/radioGroup.js +4 -3
  24. package/es/CkFilter/icon_placeholder.png +0 -0
  25. package/es/CkFilter/style/style.css +46 -5
  26. package/es/Dropdown/index.d.ts +2 -0
  27. package/es/Dropdown/index.js +9 -12
  28. package/es/Dropdown/style/index.css +12 -2
  29. package/es/Input/index.js +6 -5
  30. package/es/LmTable/ImgList/imgCell.js +3 -1
  31. package/es/LmTable/ImgList/imgTable.js +4 -4
  32. package/es/LmTable/style/style.css +62 -61
  33. package/es/Modal/index.js +1 -1
  34. package/es/Radio/index.js +4 -2
  35. package/es/Radio/style/style.css +17 -3
  36. package/es/TabBar/index.js +1 -1
  37. package/lib/Button/index.js +1 -1
  38. package/lib/Button/style/style.css +9 -0
  39. package/lib/Checkbox/style/style.css +9 -0
  40. package/lib/CkFilter/baseFilter/NestedFilter.js +137 -0
  41. package/lib/CkFilter/baseFilter/filterMenu.js +17 -11
  42. package/lib/CkFilter/baseFilter/index.js +5 -2
  43. package/lib/CkFilter/baseFilter/moreFilters.js +21 -2
  44. package/lib/CkFilter/complexFilter/drawer.js +35 -20
  45. package/lib/CkFilter/complexFilter/index.js +1 -1
  46. package/lib/CkFilter/components/Controls.js +8 -0
  47. package/lib/CkFilter/components/DragBox/DndContainer.js +49 -0
  48. package/lib/CkFilter/components/DragBox/index.js +63 -0
  49. package/lib/CkFilter/components/DragBox/sortableBox.js +24 -0
  50. package/lib/CkFilter/components/DragBox/sortableItem.js +111 -0
  51. package/lib/CkFilter/components/Nested.js +90 -0
  52. package/lib/CkFilter/components/filterTypes.js +60 -95
  53. package/lib/CkFilter/components/modal.js +105 -38
  54. package/lib/CkFilter/context.js +16 -3
  55. package/lib/CkFilter/customFilter/drawer.js +62 -15
  56. package/lib/CkFilter/customFilter/index.js +4 -1
  57. package/lib/CkFilter/customFilter/radioGroup.js +4 -3
  58. package/lib/CkFilter/icon_placeholder.png +0 -0
  59. package/lib/CkFilter/style/style.css +46 -5
  60. package/lib/Dropdown/index.d.ts +2 -0
  61. package/lib/Dropdown/index.js +9 -12
  62. package/lib/Dropdown/style/index.css +12 -2
  63. package/lib/Input/index.js +6 -5
  64. package/lib/LmTable/ImgList/imgCell.js +3 -1
  65. package/lib/LmTable/ImgList/imgTable.js +4 -4
  66. package/lib/LmTable/style/style.css +62 -61
  67. package/lib/Modal/index.js +3 -3
  68. package/lib/Radio/index.js +4 -2
  69. package/lib/Radio/style/style.css +17 -3
  70. package/lib/TabBar/index.js +5 -5
  71. package/package.json +4 -1
@@ -25,7 +25,9 @@ var CLMDropdown = function CLMDropdown(props) {
25
25
  overlayClassName = props.overlayClassName,
26
26
  _props$dropdownmatchw = props.dropdownmatchwidth,
27
27
  dropdownmatchwidth = _props$dropdownmatchw === void 0 ? false : _props$dropdownmatchw,
28
- others = __rest(props, ["children", "className", "overlayClassName", "dropdownmatchwidth"]);
28
+ _props$onlyIcon = props.onlyIcon,
29
+ onlyIcon = _props$onlyIcon === void 0 ? false : _props$onlyIcon,
30
+ others = __rest(props, ["children", "className", "overlayClassName", "dropdownmatchwidth", "onlyIcon"]);
29
31
 
30
32
  var dropdownRef = useRef(null);
31
33
 
@@ -35,21 +37,20 @@ var CLMDropdown = function CLMDropdown(props) {
35
37
  setMinWidth = _useState2[1];
36
38
 
37
39
  useEffect(function () {
38
- var _a, _b, _c;
40
+ var _a, _b;
39
41
 
40
42
  if (dropdownmatchwidth) {
41
43
  var dropdown_dom = (_a = dropdownRef.current.getElementsByClassName("lm_dropdown")) === null || _a === void 0 ? void 0 : _a[0];
42
44
 
43
45
  if (dropdown_dom) {
44
- console.log((_b = dropdown_dom.getBoundingClientRect()) === null || _b === void 0 ? void 0 : _b.width);
45
- setMinWidth(((_c = dropdown_dom.getBoundingClientRect()) === null || _c === void 0 ? void 0 : _c.width) || '');
46
+ setMinWidth(((_b = dropdown_dom.getBoundingClientRect()) === null || _b === void 0 ? void 0 : _b.width) || '');
46
47
  }
47
48
  }
48
49
  }, []);
49
50
 
50
51
  if (!dropdownmatchwidth) {
51
52
  return /*#__PURE__*/React.createElement(_Dropdown, Object.assign({
52
- className: classNames(className, prefixCls)
53
+ className: classNames(className, prefixCls, onlyIcon && 'only_icon')
53
54
  }, others, {
54
55
  overlayClassName: classNames(overlayClassName, 'lm_dropdown_overlay')
55
56
  }), children);
@@ -58,7 +59,7 @@ var CLMDropdown = function CLMDropdown(props) {
58
59
  return /*#__PURE__*/React.createElement("div", {
59
60
  ref: dropdownRef
60
61
  }, /*#__PURE__*/React.createElement(_Dropdown, Object.assign({
61
- className: classNames(className, prefixCls)
62
+ className: classNames(className, prefixCls, onlyIcon && 'only_icon')
62
63
  }, others, {
63
64
  overlayClassName: classNames(overlayClassName, 'lm_dropdown_overlay'),
64
65
  overlayStyle: minwidth ? Object.assign({
@@ -92,9 +93,7 @@ LMDropdown.Button = function (props) {
92
93
  }, []);
93
94
 
94
95
  if (!dropdownmatchwidth) {
95
- return /*#__PURE__*/React.createElement(_Dropdown.Button, Object.assign({
96
- size: 'small'
97
- }, props, {
96
+ return /*#__PURE__*/React.createElement(_Dropdown.Button, Object.assign({}, props, {
98
97
  overlayClassName: classNames(props.overlayClassName, 'lm_dropdown_overlay'),
99
98
  className: classNames(props.className, 'lm_dropdown_button', props.disabled ? 'disabled' : '')
100
99
  }));
@@ -102,9 +101,7 @@ LMDropdown.Button = function (props) {
102
101
 
103
102
  return /*#__PURE__*/React.createElement("div", {
104
103
  ref: dropdownRef
105
- }, /*#__PURE__*/React.createElement(_Dropdown.Button, Object.assign({
106
- size: 'small'
107
- }, props, {
104
+ }, /*#__PURE__*/React.createElement(_Dropdown.Button, Object.assign({}, props, {
108
105
  overlayClassName: classNames(props.overlayClassName, 'lm_dropdown_overlay'),
109
106
  overlayStyle: minwidth ? Object.assign({
110
107
  minWidth: minwidth
@@ -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: 22px;
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/es/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/esm/exten
15
17
 
16
18
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
17
19
 
18
- var _react = _interopRequireDefault(require("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)(Context),
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/esm/objectSpread2"));
17
17
 
18
- var _react = _interopRequireWildcard(require("react"));
19
-
20
18
  var _classnames = _interopRequireDefault(require("classnames"));
21
19
 
22
- var _context = _interopRequireDefault(require("./context"));
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: "lm_img_table",
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
- .lm_img_table {
778
+ .lm_pro_component_img_table {
779
779
  display: flex;
780
780
  flex-flow: column;
781
781
  height: 100%;
782
782
  }
783
- .lm_img_table .lm_img_body {
783
+ .lm_pro_component_img_table .lm_img_body {
784
784
  flex: 1;
785
785
  height: calc(100% - 36px);
786
786
  }
787
- .lm_img_table .lm_img_body.hasChecked .lm_imgList .img_cell_wrap .checkBox,
788
- .lm_img_table .lm_img_body.hasChecked .lm_imgList .img_cell_wrap .card_cell_checkbox {
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
- .lm_img_table .lm_img_footer {
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
- .lm_img_table .lm_imgList {
796
+ .lm_pro_component_img_table .lm_imgList {
797
797
  font-size: 0;
798
798
  }
799
- .lm_img_table .lm_imgList .img_cell_wrap {
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
- .lm_img_table .lm_imgList .img_cell_wrap.first_row {
805
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap.first_row {
806
806
  padding-top: 0;
807
807
  }
808
- .lm_img_table .lm_imgList .img_cell_wrap.last_row {
808
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap.last_row {
809
809
  padding-bottom: 0;
810
810
  }
811
- .lm_img_table .lm_imgList .img_cell_wrap.first_column {
811
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap.first_column {
812
812
  padding-left: 0;
813
813
  }
814
- .lm_img_table .lm_imgList .img_cell_wrap.last_column {
814
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap.last_column {
815
815
  padding-right: 0;
816
816
  }
817
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body {
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 8px 8px 8px;
823
+ padding: 16px;
824
824
  overflow: hidden;
825
825
  border: 1px solid transparent;
826
826
  transition: 0.3s;
827
827
  }
828
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body:hover {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .ant-checkbox {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .checkBox {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .more {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .more .more_btn {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum img {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum:hover .checkBox,
875
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum:hover .more {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .title {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code .ant-typography {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code .ant-typography .ant-typography-copy {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code .ant-typography .ant-typography-copy-success {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_tags {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_tags button.ant-btn-sm {
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
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body.checked {
919
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body.checked {
919
920
  border-color: #2593f9;
920
921
  }
921
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body.checked .checkBox,
922
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body.checked .more {
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
- .lm_img_table .lm_card_cell_content {
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
- .lm_img_table .lm_card_cell_content .card_cell_body {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_checkbox {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_checkbox .ant-checkbox {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .title {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .title .label {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .title .icon {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .code {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .code .ant-typography {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .code .ant-typography .ant-typography-copy {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .expand {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .expand > div {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_center {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list .item {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list .item .num {
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
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list .item .text {
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
- .lm_img_table .lm_card_cell_content .card_cell_footer {
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
- .lm_img_table .lm_card_cell_content .card_cell_footer > * {
1038
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_footer > * {
1038
1039
  flex: 1;
1039
1040
  }
1040
- .lm_img_table .lm_card_cell_content .card_cell_footer > *::after {
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
- .lm_img_table .lm_card_cell_content .card_cell_footer button:last-child {
1051
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_footer button:last-child {
1051
1052
  border: none;
1052
1053
  }
1053
- .lm_img_table .lm_card_cell_content .card_cell_footer button:last-child::after {
1054
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_footer button:last-child::after {
1054
1055
  display: none;
1055
1056
  }
1056
- .lm_img_table .lm_card_cell_content .card_cell_footer .footer_expand {
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
- .lm_img_table .lm_card_cell_content.checked,
1062
- .lm_img_table .lm_card_cell_content:hover {
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
- .lm_img_table .lm_card_cell_content.checked .card_cell_body .card_cell_checkbox,
1066
- .lm_img_table .lm_card_cell_content:hover .card_cell_body .card_cell_checkbox {
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/es/Modal/index.js CHANGED
@@ -15,7 +15,7 @@ var __rest = this && this.__rest || function (s, e) {
15
15
  };
16
16
 
17
17
  import React from 'react';
18
- import { Button } from 'linkmore-design';
18
+ import Button from '../Button';
19
19
  import classNames from 'classnames';
20
20
  var prefixCls = 'lm_modal';
21
21
 
package/es/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: 20px;
32
- height: 24px;
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: 20px;
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;
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable prettier/prettier */
2
2
  import React from 'react';
3
- import { IconFont } from 'linkmore-design';
3
+ import IconFont from '../IconFont';
4
4
  import cls from 'classnames';
5
5
 
6
6
  var LMTabBar = function LMTabBar(props) {
@@ -34,7 +34,7 @@ var LMButton = function LMButton(props) {
34
34
  var children = props.children,
35
35
  className = props.className,
36
36
  _props$size = props.size,
37
- size = _props$size === void 0 ? 'small' : _props$size,
37
+ size = _props$size === void 0 ? 'middle' : _props$size,
38
38
  _props$type = props.type,
39
39
  type = _props$type === void 0 ? 'default' : _props$type,
40
40
  _props$hover = props.hover,
@@ -38,11 +38,17 @@
38
38
  max-width: 112px;
39
39
  font-size: 12px;
40
40
  }
41
+ .ant-btn.lm-button-small.lm-button-icon-only .anticon {
42
+ font-size: 16px;
43
+ }
41
44
  .ant-btn.lm-button-middle {
42
45
  height: 32px;
43
46
  padding: 6px 12px;
44
47
  max-width: 120px;
45
48
  }
49
+ .ant-btn.lm-button-middle .anticon {
50
+ font-size: 16px;
51
+ }
46
52
  .ant-btn.lm-button-default {
47
53
  border: 1px solid var(--stroke-color);
48
54
  color: var(--font-color);
@@ -82,6 +88,9 @@
82
88
  border-color: var(--error-loading-color);
83
89
  color: var(--error-hover-color);
84
90
  }
91
+ .ant-btn.lm-button-dashed {
92
+ border: 1px dashed var(--color-15);
93
+ }
85
94
  .ant-btn.lm-button-link {
86
95
  color: var(--primary-color);
87
96
  }