linkmore-design 1.0.26 → 1.0.27

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 (57) hide show
  1. package/dist/index.umd.js +349 -451
  2. package/dist/index.umd.min.js +7 -7
  3. package/es/Button/index.js +1 -1
  4. package/es/Button/style/style.css +6 -0
  5. package/es/Checkbox/style/style.css +9 -0
  6. package/es/CkFilter/baseFilter/filterMenu.js +3 -2
  7. package/es/CkFilter/baseFilter/index.js +2 -1
  8. package/es/CkFilter/baseFilter/moreFilters.js +9 -5
  9. package/es/CkFilter/complexFilter/drawer.js +8 -9
  10. package/es/CkFilter/complexFilter/index.js +1 -1
  11. package/es/CkFilter/components/DragBox/index.js +0 -1
  12. package/es/CkFilter/components/DragBox/sortableItem.js +5 -1
  13. package/es/CkFilter/components/filterTypes.js +32 -17
  14. package/es/CkFilter/components/modal.js +36 -24
  15. package/es/CkFilter/context.js +2 -1
  16. package/es/CkFilter/customFilter/drawer.js +60 -13
  17. package/es/CkFilter/customFilter/index.js +4 -1
  18. package/es/CkFilter/customFilter/radioGroup.js +4 -3
  19. package/es/CkFilter/icon_placeholder.png +0 -0
  20. package/es/CkFilter/style/style.css +22 -5
  21. package/es/Dropdown/index.d.ts +2 -0
  22. package/es/Dropdown/index.js +9 -12
  23. package/es/Dropdown/style/index.css +12 -2
  24. package/es/Input/index.js +6 -5
  25. package/es/LmTable/ImgList/imgCell.js +3 -1
  26. package/es/LmTable/ImgList/imgTable.js +4 -4
  27. package/es/LmTable/style/style.css +62 -61
  28. package/es/Radio/index.js +4 -2
  29. package/es/Radio/style/style.css +17 -3
  30. package/lib/Button/index.js +1 -1
  31. package/lib/Button/style/style.css +6 -0
  32. package/lib/Checkbox/style/style.css +9 -0
  33. package/lib/CkFilter/baseFilter/filterMenu.js +3 -2
  34. package/lib/CkFilter/baseFilter/index.js +2 -1
  35. package/lib/CkFilter/baseFilter/moreFilters.js +9 -5
  36. package/lib/CkFilter/complexFilter/drawer.js +8 -9
  37. package/lib/CkFilter/complexFilter/index.js +1 -1
  38. package/lib/CkFilter/components/DragBox/index.js +0 -1
  39. package/lib/CkFilter/components/DragBox/sortableItem.js +5 -1
  40. package/lib/CkFilter/components/filterTypes.js +32 -17
  41. package/lib/CkFilter/components/modal.js +36 -24
  42. package/lib/CkFilter/context.js +2 -1
  43. package/lib/CkFilter/customFilter/drawer.js +60 -13
  44. package/lib/CkFilter/customFilter/index.js +4 -1
  45. package/lib/CkFilter/customFilter/radioGroup.js +4 -3
  46. package/lib/CkFilter/icon_placeholder.png +0 -0
  47. package/lib/CkFilter/style/style.css +22 -5
  48. package/lib/Dropdown/index.d.ts +2 -0
  49. package/lib/Dropdown/index.js +9 -12
  50. package/lib/Dropdown/style/index.css +12 -2
  51. package/lib/Input/index.js +6 -5
  52. package/lib/LmTable/ImgList/imgCell.js +3 -1
  53. package/lib/LmTable/ImgList/imgTable.js +4 -4
  54. package/lib/LmTable/style/style.css +62 -61
  55. package/lib/Radio/index.js +4 -2
  56. package/lib/Radio/style/style.css +17 -3
  57. package/package.json +1 -1
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkmore-design",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "author": {
5
5
  "name": "nowthen",
6
6
  "email": "rnlvwyx@gmail.com"