linkmore-design 1.0.28 → 1.0.31
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 +63 -14
- package/dist/index.umd.min.js +7 -7
- package/es/ButtonTags/style/style.css +3 -0
- package/es/Card/style/index.css +3 -0
- package/es/CkFilter/style/style.css +6 -1
- package/es/CustomerService/style/style.css +3 -0
- package/es/Drawer/style/index.css +3 -0
- package/es/Dropdown/style/index.css +3 -0
- package/es/EditTable/style/style.css +3 -0
- package/es/Empty/style/index.css +3 -0
- package/es/Filter/style/style.css +3 -0
- package/es/Input/index.js +3 -4
- package/es/Input/style/style.css +18 -4
- package/es/InputNumber/style/index.css +3 -0
- package/es/LeftTable/style/style.css +3 -0
- package/es/LmTable/style/style.css +3 -0
- package/es/Menu/style/index.css +3 -0
- package/es/Modal/style/index.css +3 -0
- package/es/Notification/style/index.css +3 -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.js +6 -7
- package/es/Select/style/index.css +3 -0
- package/es/Space/style/index.css +3 -0
- package/es/Tabs/index.d.ts +11 -0
- package/es/Tabs/index.js +31 -0
- package/es/Tabs/style/index.css +508 -0
- package/es/Tabs/style/index.d.ts +1 -0
- package/es/Tabs/style/index.js +1 -0
- package/es/Tag/index.d.ts +12 -0
- package/es/Tag/index.js +36 -0
- package/es/Tag/style/index.css +562 -0
- package/es/Tag/style/index.d.ts +1 -0
- package/es/Tag/style/index.js +1 -0
- package/es/Tree/index.d.ts +6 -1
- package/es/Tree/index.js +30 -1
- package/es/Tree/style/index.css +15 -0
- package/es/index.js +25 -1
- package/es/message/index.d.ts +7 -0
- package/es/message/index.js +12 -0
- package/es/message/style/index.css +509 -0
- package/es/message/style/index.d.ts +1 -0
- package/es/message/style/index.js +1 -0
- package/es/styles/main.css +3 -0
- package/lib/ButtonTags/style/style.css +3 -0
- package/lib/Card/style/index.css +3 -0
- package/lib/CkFilter/style/style.css +6 -1
- package/lib/CustomerService/style/style.css +3 -0
- package/lib/Drawer/style/index.css +3 -0
- package/lib/Dropdown/style/index.css +3 -0
- package/lib/EditTable/style/style.css +3 -0
- package/lib/Empty/style/index.css +3 -0
- package/lib/Filter/style/style.css +3 -0
- package/lib/Input/index.js +3 -4
- package/lib/Input/style/style.css +18 -4
- package/lib/InputNumber/style/index.css +3 -0
- package/lib/LeftTable/style/style.css +3 -0
- package/lib/LmTable/style/style.css +3 -0
- package/lib/Menu/style/index.css +3 -0
- package/lib/Modal/style/index.css +3 -0
- package/lib/Notification/style/index.css +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.js +8 -7
- package/lib/Select/style/index.css +3 -0
- package/lib/Space/style/index.css +3 -0
- package/lib/Tabs/index.d.ts +11 -0
- package/lib/Tabs/index.js +44 -0
- package/lib/Tabs/style/index.css +508 -0
- package/lib/Tabs/style/index.d.ts +1 -0
- package/lib/Tabs/style/index.js +3 -0
- package/lib/Tag/index.d.ts +12 -0
- package/lib/Tag/index.js +52 -0
- package/lib/Tag/style/index.css +562 -0
- package/lib/Tag/style/index.d.ts +1 -0
- package/lib/Tag/style/index.js +3 -0
- package/lib/Tree/index.d.ts +6 -1
- package/lib/Tree/index.js +33 -1
- package/lib/Tree/style/index.css +15 -0
- package/lib/index.js +25 -1
- package/lib/message/index.d.ts +7 -0
- package/lib/message/index.js +24 -0
- package/lib/message/style/index.css +509 -0
- package/lib/message/style/index.d.ts +1 -0
- package/lib/message/style/index.js +3 -0
- package/lib/styles/main.css +3 -0
- package/package.json +4 -4
|
@@ -205,7 +205,10 @@
|
|
|
205
205
|
--color-6: #f0f0f0;
|
|
206
206
|
--color-4: #f5f5f5;
|
|
207
207
|
--color-2: #fafafa;
|
|
208
|
+
/** tree */
|
|
209
|
+
--tree-select-bg: #EDF6FF;
|
|
208
210
|
}
|
|
211
|
+
/** tag */
|
|
209
212
|
:root[theme='dark'] {
|
|
210
213
|
--font-color: rgba(255, 255, 255, 0.85);
|
|
211
214
|
--text-color: rgba(255, 255, 255, 0.45);
|
|
@@ -559,12 +562,20 @@ html {
|
|
|
559
562
|
box-shadow: none !important;
|
|
560
563
|
}
|
|
561
564
|
.lm_input_search .ant-input-group-addon .ant-input-search-button {
|
|
562
|
-
width: 32px;
|
|
563
|
-
padding: 0;
|
|
565
|
+
min-width: 32px;
|
|
566
|
+
padding: 0 8px;
|
|
567
|
+
box-sizing: border-box;
|
|
568
|
+
display: flex;
|
|
569
|
+
align-items: center;
|
|
570
|
+
justify-content: center;
|
|
571
|
+
font-size: 12px;
|
|
572
|
+
line-height: 32px;
|
|
564
573
|
}
|
|
565
574
|
.lm_input_search .ant-input-group-addon .ant-input-search-button.ant-btn-sm {
|
|
566
|
-
width: 24px;
|
|
567
|
-
padding: 0;
|
|
575
|
+
min-width: 24px;
|
|
576
|
+
padding: 0 4px;
|
|
577
|
+
line-height: 24px;
|
|
578
|
+
box-sizing: border-box;
|
|
568
579
|
}
|
|
569
580
|
.lm_input_search .ant-input-group-addon .ant-input-search-button .anticon {
|
|
570
581
|
color: var(--color-85);
|
|
@@ -658,6 +669,9 @@ html {
|
|
|
658
669
|
.ant-input-group.ant-input-group-sm .lm_input {
|
|
659
670
|
height: 24px;
|
|
660
671
|
}
|
|
672
|
+
.ant-input-group .lm-button {
|
|
673
|
+
vertical-align: bottom;
|
|
674
|
+
}
|
|
661
675
|
.ant-input-suffix .anticon {
|
|
662
676
|
font-size: 14px;
|
|
663
677
|
color: var(--color-25);
|
|
@@ -205,7 +205,10 @@
|
|
|
205
205
|
--color-6: #f0f0f0;
|
|
206
206
|
--color-4: #f5f5f5;
|
|
207
207
|
--color-2: #fafafa;
|
|
208
|
+
/** tree */
|
|
209
|
+
--tree-select-bg: #EDF6FF;
|
|
208
210
|
}
|
|
211
|
+
/** tag */
|
|
209
212
|
:root[theme='dark'] {
|
|
210
213
|
--font-color: rgba(255, 255, 255, 0.85);
|
|
211
214
|
--text-color: rgba(255, 255, 255, 0.45);
|
|
@@ -205,7 +205,10 @@
|
|
|
205
205
|
--color-6: #f0f0f0;
|
|
206
206
|
--color-4: #f5f5f5;
|
|
207
207
|
--color-2: #fafafa;
|
|
208
|
+
/** tree */
|
|
209
|
+
--tree-select-bg: #EDF6FF;
|
|
208
210
|
}
|
|
211
|
+
/** tag */
|
|
209
212
|
:root[theme='dark'] {
|
|
210
213
|
--font-color: rgba(255, 255, 255, 0.85);
|
|
211
214
|
--text-color: rgba(255, 255, 255, 0.45);
|
|
@@ -205,7 +205,10 @@
|
|
|
205
205
|
--color-6: #f0f0f0;
|
|
206
206
|
--color-4: #f5f5f5;
|
|
207
207
|
--color-2: #fafafa;
|
|
208
|
+
/** tree */
|
|
209
|
+
--tree-select-bg: #EDF6FF;
|
|
208
210
|
}
|
|
211
|
+
/** tag */
|
|
209
212
|
:root[theme='dark'] {
|
|
210
213
|
--font-color: rgba(255, 255, 255, 0.85);
|
|
211
214
|
--text-color: rgba(255, 255, 255, 0.45);
|
package/lib/Menu/style/index.css
CHANGED
|
@@ -205,7 +205,10 @@
|
|
|
205
205
|
--color-6: #f0f0f0;
|
|
206
206
|
--color-4: #f5f5f5;
|
|
207
207
|
--color-2: #fafafa;
|
|
208
|
+
/** tree */
|
|
209
|
+
--tree-select-bg: #EDF6FF;
|
|
208
210
|
}
|
|
211
|
+
/** tag */
|
|
209
212
|
:root[theme='dark'] {
|
|
210
213
|
--font-color: rgba(255, 255, 255, 0.85);
|
|
211
214
|
--text-color: rgba(255, 255, 255, 0.45);
|
|
@@ -205,7 +205,10 @@
|
|
|
205
205
|
--color-6: #f0f0f0;
|
|
206
206
|
--color-4: #f5f5f5;
|
|
207
207
|
--color-2: #fafafa;
|
|
208
|
+
/** tree */
|
|
209
|
+
--tree-select-bg: #EDF6FF;
|
|
208
210
|
}
|
|
211
|
+
/** tag */
|
|
209
212
|
:root[theme='dark'] {
|
|
210
213
|
--font-color: rgba(255, 255, 255, 0.85);
|
|
211
214
|
--text-color: rgba(255, 255, 255, 0.45);
|
|
@@ -205,7 +205,10 @@
|
|
|
205
205
|
--color-6: #f0f0f0;
|
|
206
206
|
--color-4: #f5f5f5;
|
|
207
207
|
--color-2: #fafafa;
|
|
208
|
+
/** tree */
|
|
209
|
+
--tree-select-bg: #EDF6FF;
|
|
208
210
|
}
|
|
211
|
+
/** tag */
|
|
209
212
|
:root[theme='dark'] {
|
|
210
213
|
--font-color: rgba(255, 255, 255, 0.85);
|
|
211
214
|
--text-color: rgba(255, 255, 255, 0.45);
|
|
@@ -205,7 +205,10 @@
|
|
|
205
205
|
--color-6: #f0f0f0;
|
|
206
206
|
--color-4: #f5f5f5;
|
|
207
207
|
--color-2: #fafafa;
|
|
208
|
+
/** tree */
|
|
209
|
+
--tree-select-bg: #EDF6FF;
|
|
208
210
|
}
|
|
211
|
+
/** tag */
|
|
209
212
|
:root[theme='dark'] {
|
|
210
213
|
--font-color: rgba(255, 255, 255, 0.85);
|
|
211
214
|
--text-color: rgba(255, 255, 255, 0.45);
|
|
@@ -205,7 +205,10 @@
|
|
|
205
205
|
--color-6: #f0f0f0;
|
|
206
206
|
--color-4: #f5f5f5;
|
|
207
207
|
--color-2: #fafafa;
|
|
208
|
+
/** tree */
|
|
209
|
+
--tree-select-bg: #EDF6FF;
|
|
208
210
|
}
|
|
211
|
+
/** tag */
|
|
209
212
|
:root[theme='dark'] {
|
|
210
213
|
--font-color: rgba(255, 255, 255, 0.85);
|
|
211
214
|
--text-color: rgba(255, 255, 255, 0.45);
|
|
@@ -205,7 +205,10 @@
|
|
|
205
205
|
--color-6: #f0f0f0;
|
|
206
206
|
--color-4: #f5f5f5;
|
|
207
207
|
--color-2: #fafafa;
|
|
208
|
+
/** tree */
|
|
209
|
+
--tree-select-bg: #EDF6FF;
|
|
208
210
|
}
|
|
211
|
+
/** tag */
|
|
209
212
|
:root[theme='dark'] {
|
|
210
213
|
--font-color: rgba(255, 255, 255, 0.85);
|
|
211
214
|
--text-color: rgba(255, 255, 255, 0.45);
|
package/lib/Select/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
|
|
3
5
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
6
|
|
|
5
7
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11,7 +13,7 @@ require("antd/es/select/style");
|
|
|
11
13
|
|
|
12
14
|
var _select = _interopRequireDefault(require("antd/es/select"));
|
|
13
15
|
|
|
14
|
-
var _react =
|
|
16
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
15
17
|
|
|
16
18
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
17
19
|
|
|
@@ -29,23 +31,22 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
|
29
31
|
};
|
|
30
32
|
|
|
31
33
|
var prefixCls = 'lm_select';
|
|
32
|
-
|
|
33
|
-
var CLMSelect = function CLMSelect(props) {
|
|
34
|
+
var CLMSelect = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
34
35
|
var children = props.children,
|
|
35
36
|
className = props.className,
|
|
36
37
|
_props$size = props.size,
|
|
37
|
-
size = _props$size === void 0 ? '
|
|
38
|
+
size = _props$size === void 0 ? 'middle' : _props$size,
|
|
38
39
|
dropdownClassName = props.dropdownClassName,
|
|
39
40
|
others = __rest(props, ["children", "className", "size", "dropdownClassName"]);
|
|
40
41
|
|
|
41
42
|
return /*#__PURE__*/_react.default.createElement(_select.default, Object.assign({
|
|
42
43
|
className: (0, _classnames.default)(className, prefixCls),
|
|
43
|
-
size: size
|
|
44
|
+
size: size,
|
|
45
|
+
ref: ref
|
|
44
46
|
}, others, {
|
|
45
47
|
dropdownClassName: (0, _classnames.default)('lm_select_dropdown', dropdownClassName)
|
|
46
48
|
}), children);
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
+
});
|
|
49
50
|
var LMSelect = CLMSelect;
|
|
50
51
|
LMSelect.Option = _select.default.Option;
|
|
51
52
|
LMSelect.OptGroup = _select.default.OptGroup;
|
|
@@ -205,7 +205,10 @@
|
|
|
205
205
|
--color-6: #f0f0f0;
|
|
206
206
|
--color-4: #f5f5f5;
|
|
207
207
|
--color-2: #fafafa;
|
|
208
|
+
/** tree */
|
|
209
|
+
--tree-select-bg: #EDF6FF;
|
|
208
210
|
}
|
|
211
|
+
/** tag */
|
|
209
212
|
:root[theme='dark'] {
|
|
210
213
|
--font-color: rgba(255, 255, 255, 0.85);
|
|
211
214
|
--text-color: rgba(255, 255, 255, 0.45);
|
|
@@ -205,7 +205,10 @@
|
|
|
205
205
|
--color-6: #f0f0f0;
|
|
206
206
|
--color-4: #f5f5f5;
|
|
207
207
|
--color-2: #fafafa;
|
|
208
|
+
/** tree */
|
|
209
|
+
--tree-select-bg: #EDF6FF;
|
|
208
210
|
}
|
|
211
|
+
/** tag */
|
|
209
212
|
:root[theme='dark'] {
|
|
210
213
|
--font-color: rgba(255, 255, 255, 0.85);
|
|
211
214
|
--text-color: rgba(255, 255, 255, 0.45);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Tabs, TabsProps } from 'antd';
|
|
3
|
+
export interface ITabsProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
}
|
|
7
|
+
interface LmTabsInterface extends React.FC<TabsProps> {
|
|
8
|
+
TabPane?: typeof Tabs.TabPane;
|
|
9
|
+
}
|
|
10
|
+
declare const LMTabs: LmTabsInterface;
|
|
11
|
+
export default LMTabs;
|
|
@@ -0,0 +1,44 @@
|
|
|
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/tabs/style");
|
|
11
|
+
|
|
12
|
+
var _tabs = _interopRequireDefault(require("antd/es/tabs"));
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
|
15
|
+
|
|
16
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
17
|
+
|
|
18
|
+
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
19
|
+
var t = {};
|
|
20
|
+
|
|
21
|
+
for (var p in s) {
|
|
22
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
26
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
27
|
+
}
|
|
28
|
+
return t;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
var prefixCls = 'lm_tabs';
|
|
32
|
+
|
|
33
|
+
var LMTabs = function LMTabs(props) {
|
|
34
|
+
var className = props.className,
|
|
35
|
+
others = __rest(props, ["className"]);
|
|
36
|
+
|
|
37
|
+
return /*#__PURE__*/_react.default.createElement(_tabs.default, Object.assign({}, others, {
|
|
38
|
+
className: (0, _classnames.default)(className, prefixCls)
|
|
39
|
+
}));
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
LMTabs.TabPane = _tabs.default.TabPane;
|
|
43
|
+
var _default = LMTabs;
|
|
44
|
+
exports.default = _default;
|