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.
- package/dist/index.umd.js +349 -451
- package/dist/index.umd.min.js +7 -7
- package/es/Button/index.js +1 -1
- package/es/Button/style/style.css +6 -0
- package/es/Checkbox/style/style.css +9 -0
- package/es/CkFilter/baseFilter/filterMenu.js +3 -2
- package/es/CkFilter/baseFilter/index.js +2 -1
- package/es/CkFilter/baseFilter/moreFilters.js +9 -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 +32 -17
- package/es/CkFilter/components/modal.js +36 -24
- package/es/CkFilter/context.js +2 -1
- package/es/CkFilter/customFilter/drawer.js +60 -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 +22 -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 +6 -0
- package/lib/Checkbox/style/style.css +9 -0
- package/lib/CkFilter/baseFilter/filterMenu.js +3 -2
- package/lib/CkFilter/baseFilter/index.js +2 -1
- package/lib/CkFilter/baseFilter/moreFilters.js +9 -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 +32 -17
- package/lib/CkFilter/components/modal.js +36 -24
- package/lib/CkFilter/context.js +2 -1
- package/lib/CkFilter/customFilter/drawer.js +60 -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 +22 -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 +1 -1
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;
|