linkmore-design 1.0.11 → 1.0.12
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 +3501 -243
- package/dist/index.umd.min.js +6 -6
- package/es/Button/style/style.css +32 -31
- package/es/ButtonTags/style/style.css +3 -0
- package/es/Card/index.d.ts +2 -0
- package/es/Card/index.js +17 -0
- package/es/Card/style/index.css +495 -0
- package/es/Card/style/index.d.ts +1 -0
- package/es/Card/style/index.js +1 -0
- package/es/{CheckBox → Checkbox}/index.js +0 -0
- package/es/{CheckBox → Checkbox}/style/index.js +0 -0
- package/es/{CheckBox → Checkbox}/style/style.css +0 -0
- package/es/CkFilter/style/style.css +3 -0
- package/es/CustomerService/style/style.css +3 -0
- package/es/Drawer/style/index.css +6 -0
- package/es/Dropdown/style/index.css +3 -0
- package/es/EditTable/style/style.css +3 -0
- package/es/Filter/style/style.css +3 -0
- package/es/IconFont/index.js +1 -1
- package/es/IconSelect/iconJson.json +2935 -0
- package/es/IconSelect/index.js +115 -0
- package/{lib/CheckBox → es/IconSelect}/style/index.js +0 -0
- package/es/IconSelect/style/style.css +25 -0
- package/es/Input/style/style.css +3 -0
- package/es/InputNumber/style/index.css +3 -0
- package/es/LeftTable/style/style.css +3 -0
- package/es/Modal/style/index.css +7 -0
- package/es/Notification/index.d.ts +7 -0
- package/es/Notification/index.js +12 -0
- package/es/Notification/style/index.css +495 -0
- package/es/Notification/style/index.d.ts +1 -0
- package/es/Notification/style/index.js +1 -0
- package/es/Pagination/style/index.css +3 -0
- package/es/PopTable/style/style.css +3 -0
- package/es/ProTable/style/style.css +3 -0
- package/es/Select/index.d.ts +1 -1
- package/es/Select/style/index.css +3 -0
- package/es/Space/style/index.css +3 -0
- package/es/index.js +22 -6
- package/es/styles/main.css +3 -0
- package/es/styles/resetAntd.css +3 -0
- package/lib/Button/style/style.css +32 -31
- package/lib/ButtonTags/style/style.css +3 -0
- package/lib/Card/index.d.ts +2 -0
- package/lib/Card/index.js +29 -0
- package/lib/Card/style/index.css +495 -0
- package/lib/Card/style/index.d.ts +1 -0
- package/lib/Card/style/index.js +3 -0
- package/lib/{CheckBox → Checkbox}/index.js +0 -0
- package/lib/Checkbox/style/index.js +3 -0
- package/lib/{CheckBox → Checkbox}/style/style.css +0 -0
- package/lib/CkFilter/style/style.css +3 -0
- package/lib/CustomerService/style/style.css +3 -0
- package/lib/Drawer/style/index.css +6 -0
- package/lib/Dropdown/style/index.css +3 -0
- package/lib/EditTable/style/style.css +3 -0
- package/lib/Filter/style/style.css +3 -0
- package/lib/IconFont/index.js +1 -1
- package/lib/IconSelect/iconJson.json +2935 -0
- package/lib/IconSelect/index.js +115 -0
- package/lib/IconSelect/style/index.js +3 -0
- package/lib/IconSelect/style/style.css +25 -0
- package/lib/Input/style/style.css +3 -0
- package/lib/InputNumber/style/index.css +3 -0
- package/lib/LeftTable/style/style.css +3 -0
- package/lib/Modal/style/index.css +7 -0
- package/lib/Notification/index.d.ts +7 -0
- package/lib/Notification/index.js +25 -0
- package/lib/Notification/style/index.css +495 -0
- package/lib/Notification/style/index.d.ts +1 -0
- package/lib/Notification/style/index.js +3 -0
- package/lib/Pagination/style/index.css +3 -0
- package/lib/PopTable/style/style.css +3 -0
- package/lib/ProTable/style/style.css +3 -0
- package/lib/Select/index.d.ts +1 -1
- package/lib/Select/style/index.css +3 -0
- package/lib/Space/style/index.css +3 -0
- package/lib/index.js +22 -6
- package/lib/styles/main.css +3 -0
- package/lib/styles/resetAntd.css +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index.css";
|
package/es/Select/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface ISelectProps extends SelectProps {
|
|
|
9
9
|
declare const LMSelect: (<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: SelectProps<ValueType, OptionType> & {
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
} & {
|
|
12
|
-
ref?: React.Ref<import("
|
|
12
|
+
ref?: React.Ref<import("antd").RefSelectProps>;
|
|
13
13
|
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
|
|
14
14
|
SECRET_COMBOBOX_MODE_DO_NOT_USE: string;
|
|
15
15
|
Option: import("rc-select/lib/Option").OptionFC;
|
package/es/Space/style/index.css
CHANGED
package/es/index.js
CHANGED
|
@@ -20,7 +20,7 @@ Object.defineProperty(exports, "ButtonTags", {
|
|
|
20
20
|
Object.defineProperty(exports, "Checkbox", {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function get() {
|
|
23
|
-
return
|
|
23
|
+
return _Checkbox.default;
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "CkFilter", {
|
|
@@ -77,6 +77,12 @@ Object.defineProperty(exports, "IconFont", {
|
|
|
77
77
|
return _IconFont.default;
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
|
+
Object.defineProperty(exports, "IconSelect", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function get() {
|
|
83
|
+
return _IconSelect.default;
|
|
84
|
+
}
|
|
85
|
+
});
|
|
80
86
|
Object.defineProperty(exports, "Input", {
|
|
81
87
|
enumerable: true,
|
|
82
88
|
get: function get() {
|
|
@@ -173,12 +179,18 @@ Object.defineProperty(exports, "VirtualList", {
|
|
|
173
179
|
return _VirtualList.default;
|
|
174
180
|
}
|
|
175
181
|
});
|
|
182
|
+
Object.defineProperty(exports, "notification", {
|
|
183
|
+
enumerable: true,
|
|
184
|
+
get: function get() {
|
|
185
|
+
return _Notification.default;
|
|
186
|
+
}
|
|
187
|
+
});
|
|
176
188
|
|
|
177
189
|
var _Button = _interopRequireDefault(require("./Button"));
|
|
178
190
|
|
|
179
191
|
var _ButtonTags = _interopRequireDefault(require("./ButtonTags"));
|
|
180
192
|
|
|
181
|
-
var
|
|
193
|
+
var _Checkbox = _interopRequireDefault(require("./Checkbox"));
|
|
182
194
|
|
|
183
195
|
var _CkFilter = _interopRequireDefault(require("./CkFilter"));
|
|
184
196
|
|
|
@@ -186,6 +198,8 @@ var _CustomerService = _interopRequireDefault(require("./CustomerService"));
|
|
|
186
198
|
|
|
187
199
|
var _Drawer = _interopRequireDefault(require("./Drawer"));
|
|
188
200
|
|
|
201
|
+
var _Dropdown = _interopRequireDefault(require("./Dropdown"));
|
|
202
|
+
|
|
189
203
|
var _EditTable = _interopRequireDefault(require("./EditTable"));
|
|
190
204
|
|
|
191
205
|
var _EnlargeImg = _interopRequireDefault(require("./EnlargeImg"));
|
|
@@ -202,9 +216,11 @@ var _InputNumber = _interopRequireDefault(require("./InputNumber"));
|
|
|
202
216
|
|
|
203
217
|
var _LeftTable = _interopRequireDefault(require("./LeftTable"));
|
|
204
218
|
|
|
219
|
+
var _LoadingPage = _interopRequireDefault(require("./LoadingPage"));
|
|
220
|
+
|
|
205
221
|
var _Modal = _interopRequireDefault(require("./Modal"));
|
|
206
222
|
|
|
207
|
-
var
|
|
223
|
+
var _Notification = _interopRequireDefault(require("./Notification"));
|
|
208
224
|
|
|
209
225
|
var _OldModal = _interopRequireDefault(require("./OldModal"));
|
|
210
226
|
|
|
@@ -216,6 +232,8 @@ var _ProTable = _interopRequireDefault(require("./ProTable"));
|
|
|
216
232
|
|
|
217
233
|
var _Radio = _interopRequireDefault(require("./Radio"));
|
|
218
234
|
|
|
235
|
+
var _Select = _interopRequireDefault(require("./Select"));
|
|
236
|
+
|
|
219
237
|
var _Space = _interopRequireDefault(require("./Space"));
|
|
220
238
|
|
|
221
239
|
var _TabBar = _interopRequireDefault(require("./TabBar"));
|
|
@@ -226,6 +244,4 @@ var _UploadOss = _interopRequireDefault(require("./UploadOss"));
|
|
|
226
244
|
|
|
227
245
|
var _VirtualList = _interopRequireDefault(require("./VirtualList"));
|
|
228
246
|
|
|
229
|
-
var
|
|
230
|
-
|
|
231
|
-
var _Select = _interopRequireDefault(require("./Select"));
|
|
247
|
+
var _IconSelect = _interopRequireDefault(require("./IconSelect"));
|
package/es/styles/main.css
CHANGED
package/es/styles/resetAntd.css
CHANGED
|
@@ -1,97 +1,98 @@
|
|
|
1
|
-
.lm-button {
|
|
1
|
+
.ant-btn.lm-button {
|
|
2
2
|
border: 0;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
flex-direction: row;
|
|
5
5
|
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
6
7
|
vertical-align: middle;
|
|
7
8
|
}
|
|
8
|
-
.lm-button .anticon {
|
|
9
|
+
.ant-btn.lm-button .anticon {
|
|
9
10
|
font-size: 16px;
|
|
10
11
|
line-height: 0;
|
|
11
12
|
}
|
|
12
|
-
.lm-button .anticon + span {
|
|
13
|
+
.ant-btn.lm-button .anticon + span {
|
|
13
14
|
margin-left: 4px;
|
|
14
15
|
overflow: hidden;
|
|
15
16
|
white-space: nowrap;
|
|
16
17
|
}
|
|
17
|
-
.lm-button > span:
|
|
18
|
+
.ant-btn.lm-button > span:not(.anticon) {
|
|
18
19
|
display: inline-block;
|
|
19
20
|
overflow: hidden;
|
|
20
21
|
white-space: nowrap;
|
|
21
22
|
}
|
|
22
|
-
.lm-button::before {
|
|
23
|
+
.ant-btn.lm-button::before {
|
|
23
24
|
display: none !important;
|
|
24
25
|
}
|
|
25
|
-
.lm-button:disabled {
|
|
26
|
-
background
|
|
26
|
+
.ant-btn.lm-button:disabled {
|
|
27
|
+
background: var(--disabled-bg-color) !important;
|
|
27
28
|
border: 1px solid var(--disabled-border-color) !important;
|
|
28
29
|
color: var(--disabled-font-color) !important;
|
|
29
30
|
}
|
|
30
|
-
.lm-button > span:
|
|
31
|
+
.ant-btn.lm-button > span:not(.anticon) {
|
|
31
32
|
font-size: 12px;
|
|
32
33
|
line-height: 20px;
|
|
33
34
|
}
|
|
34
|
-
.lm-button-small {
|
|
35
|
+
.ant-btn.lm-button-small {
|
|
35
36
|
height: 24px;
|
|
36
37
|
padding: 2px 8px;
|
|
37
38
|
max-width: 112px;
|
|
38
39
|
font-size: 12px;
|
|
39
40
|
}
|
|
40
|
-
.lm-button-middle {
|
|
41
|
+
.ant-btn.lm-button-middle {
|
|
41
42
|
height: 32px;
|
|
42
43
|
padding: 6px 12px;
|
|
43
44
|
max-width: 120px;
|
|
44
45
|
}
|
|
45
|
-
.lm-button-default {
|
|
46
|
+
.ant-btn.lm-button-default {
|
|
46
47
|
border: 1px solid rgba(0, 0, 0, 0.25);
|
|
47
48
|
color: rgba(0, 0, 0, 0.85);
|
|
48
49
|
}
|
|
49
|
-
.lm-button-default-hover,
|
|
50
|
-
.lm-button-default:hover {
|
|
50
|
+
.ant-btn.lm-button-default-hover,
|
|
51
|
+
.ant-btn.lm-button-default:hover {
|
|
51
52
|
border: 1px solid var(--primary-hover-color);
|
|
52
53
|
color: var(--primary-hover-color);
|
|
53
54
|
}
|
|
54
|
-
.lm-button-default.ant-btn-loading {
|
|
55
|
+
.ant-btn.lm-button-default.ant-btn-loading {
|
|
55
56
|
border-color: rgba(0, 0, 0, 0.15);
|
|
56
57
|
color: rgba(0, 0, 0, 0.15);
|
|
57
58
|
}
|
|
58
|
-
.lm-button-primary {
|
|
59
|
-
background
|
|
59
|
+
.ant-btn.lm-button-primary {
|
|
60
|
+
background: var(--primary-color);
|
|
60
61
|
color: #fff;
|
|
61
62
|
}
|
|
62
|
-
.lm-button-primary-hover,
|
|
63
|
-
.lm-button-primary:hover {
|
|
64
|
-
background
|
|
63
|
+
.ant-btn.lm-button-primary-hover,
|
|
64
|
+
.ant-btn.lm-button-primary:hover {
|
|
65
|
+
background: var(--primary-hover-color);
|
|
65
66
|
}
|
|
66
|
-
.lm-button-primary.ant-btn-loading {
|
|
67
|
-
background
|
|
67
|
+
.ant-btn.lm-button-primary.ant-btn-loading {
|
|
68
|
+
background: var(--primary-loading-color);
|
|
68
69
|
}
|
|
69
|
-
.lm-button-danger {
|
|
70
|
+
.ant-btn.lm-button-danger {
|
|
70
71
|
border: 1px solid var(--error-color);
|
|
71
72
|
color: var(--error-color);
|
|
72
73
|
text-shadow: none;
|
|
73
74
|
box-shadow: none;
|
|
74
75
|
}
|
|
75
|
-
.lm-button-danger-hover,
|
|
76
|
-
.lm-button-danger:hover {
|
|
76
|
+
.ant-btn.lm-button-danger-hover,
|
|
77
|
+
.ant-btn.lm-button-danger:hover {
|
|
77
78
|
border-color: var(--error-hover-color);
|
|
78
79
|
color: var(--error-hover-color);
|
|
79
80
|
}
|
|
80
|
-
.lm-button-danger.ant-btn-loading {
|
|
81
|
+
.ant-btn.lm-button-danger.ant-btn-loading {
|
|
81
82
|
border-color: var(--error-loading-color);
|
|
82
83
|
color: var(--error-hover-color);
|
|
83
84
|
}
|
|
84
|
-
.lm-button-link {
|
|
85
|
+
.ant-btn.lm-button-link {
|
|
85
86
|
color: var(--primary-color);
|
|
86
87
|
}
|
|
87
|
-
.lm-button-link-hover,
|
|
88
|
-
.lm-button-link:hover {
|
|
88
|
+
.ant-btn.lm-button-link-hover,
|
|
89
|
+
.ant-btn.lm-button-link:hover {
|
|
89
90
|
color: var(--primary-hover-color);
|
|
90
91
|
}
|
|
91
|
-
.lm-button-link.ant-btn-loading {
|
|
92
|
+
.ant-btn.lm-button-link.ant-btn-loading {
|
|
92
93
|
color: var(--primary-loading-color);
|
|
93
94
|
}
|
|
94
|
-
.lm-button-link[disabled] {
|
|
95
|
+
.ant-btn.lm-button-link[disabled] {
|
|
95
96
|
border: 0 !important;
|
|
96
|
-
background
|
|
97
|
+
background: transparent !important;
|
|
97
98
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
require("antd/es/card/style");
|
|
11
|
+
|
|
12
|
+
var _card = _interopRequireDefault(require("antd/es/card"));
|
|
13
|
+
|
|
14
|
+
// import classNames from 'classnames'
|
|
15
|
+
// export interface ICardProps {
|
|
16
|
+
// className?: string
|
|
17
|
+
// style?: React.CSSProperties
|
|
18
|
+
// }
|
|
19
|
+
// const prefixCls = 'lm_card'
|
|
20
|
+
// const LMCard: React.FC<ICardProps> = (props) => {
|
|
21
|
+
// const { children, className, ...others } = props
|
|
22
|
+
// return (
|
|
23
|
+
// <Card className={classNames(className, prefixCls)} {...others}>
|
|
24
|
+
// {children}
|
|
25
|
+
// </Card>
|
|
26
|
+
// )
|
|
27
|
+
// }
|
|
28
|
+
var _default = _card.default;
|
|
29
|
+
exports.default = _default;
|