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.
Files changed (81) hide show
  1. package/dist/index.umd.js +3501 -243
  2. package/dist/index.umd.min.js +6 -6
  3. package/es/Button/style/style.css +32 -31
  4. package/es/ButtonTags/style/style.css +3 -0
  5. package/es/Card/index.d.ts +2 -0
  6. package/es/Card/index.js +17 -0
  7. package/es/Card/style/index.css +495 -0
  8. package/es/Card/style/index.d.ts +1 -0
  9. package/es/Card/style/index.js +1 -0
  10. package/es/{CheckBox → Checkbox}/index.js +0 -0
  11. package/es/{CheckBox → Checkbox}/style/index.js +0 -0
  12. package/es/{CheckBox → Checkbox}/style/style.css +0 -0
  13. package/es/CkFilter/style/style.css +3 -0
  14. package/es/CustomerService/style/style.css +3 -0
  15. package/es/Drawer/style/index.css +6 -0
  16. package/es/Dropdown/style/index.css +3 -0
  17. package/es/EditTable/style/style.css +3 -0
  18. package/es/Filter/style/style.css +3 -0
  19. package/es/IconFont/index.js +1 -1
  20. package/es/IconSelect/iconJson.json +2935 -0
  21. package/es/IconSelect/index.js +115 -0
  22. package/{lib/CheckBox → es/IconSelect}/style/index.js +0 -0
  23. package/es/IconSelect/style/style.css +25 -0
  24. package/es/Input/style/style.css +3 -0
  25. package/es/InputNumber/style/index.css +3 -0
  26. package/es/LeftTable/style/style.css +3 -0
  27. package/es/Modal/style/index.css +7 -0
  28. package/es/Notification/index.d.ts +7 -0
  29. package/es/Notification/index.js +12 -0
  30. package/es/Notification/style/index.css +495 -0
  31. package/es/Notification/style/index.d.ts +1 -0
  32. package/es/Notification/style/index.js +1 -0
  33. package/es/Pagination/style/index.css +3 -0
  34. package/es/PopTable/style/style.css +3 -0
  35. package/es/ProTable/style/style.css +3 -0
  36. package/es/Select/index.d.ts +1 -1
  37. package/es/Select/style/index.css +3 -0
  38. package/es/Space/style/index.css +3 -0
  39. package/es/index.js +22 -6
  40. package/es/styles/main.css +3 -0
  41. package/es/styles/resetAntd.css +3 -0
  42. package/lib/Button/style/style.css +32 -31
  43. package/lib/ButtonTags/style/style.css +3 -0
  44. package/lib/Card/index.d.ts +2 -0
  45. package/lib/Card/index.js +29 -0
  46. package/lib/Card/style/index.css +495 -0
  47. package/lib/Card/style/index.d.ts +1 -0
  48. package/lib/Card/style/index.js +3 -0
  49. package/lib/{CheckBox → Checkbox}/index.js +0 -0
  50. package/lib/Checkbox/style/index.js +3 -0
  51. package/lib/{CheckBox → Checkbox}/style/style.css +0 -0
  52. package/lib/CkFilter/style/style.css +3 -0
  53. package/lib/CustomerService/style/style.css +3 -0
  54. package/lib/Drawer/style/index.css +6 -0
  55. package/lib/Dropdown/style/index.css +3 -0
  56. package/lib/EditTable/style/style.css +3 -0
  57. package/lib/Filter/style/style.css +3 -0
  58. package/lib/IconFont/index.js +1 -1
  59. package/lib/IconSelect/iconJson.json +2935 -0
  60. package/lib/IconSelect/index.js +115 -0
  61. package/lib/IconSelect/style/index.js +3 -0
  62. package/lib/IconSelect/style/style.css +25 -0
  63. package/lib/Input/style/style.css +3 -0
  64. package/lib/InputNumber/style/index.css +3 -0
  65. package/lib/LeftTable/style/style.css +3 -0
  66. package/lib/Modal/style/index.css +7 -0
  67. package/lib/Notification/index.d.ts +7 -0
  68. package/lib/Notification/index.js +25 -0
  69. package/lib/Notification/style/index.css +495 -0
  70. package/lib/Notification/style/index.d.ts +1 -0
  71. package/lib/Notification/style/index.js +3 -0
  72. package/lib/Pagination/style/index.css +3 -0
  73. package/lib/PopTable/style/style.css +3 -0
  74. package/lib/ProTable/style/style.css +3 -0
  75. package/lib/Select/index.d.ts +1 -1
  76. package/lib/Select/style/index.css +3 -0
  77. package/lib/Space/style/index.css +3 -0
  78. package/lib/index.js +22 -6
  79. package/lib/styles/main.css +3 -0
  80. package/lib/styles/resetAntd.css +3 -0
  81. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ import "./index.css";
@@ -71,6 +71,9 @@
71
71
  padding: var(--gap);
72
72
  line-height: 1;
73
73
  }
74
+ .ant-notification-notice .ant-notification-notice-content .ant-notification-notice-message {
75
+ font-weight: 500;
76
+ }
74
77
  @font-face {
75
78
  font-family: 'iconfont';
76
79
  /* Project id 2966019 */
@@ -71,6 +71,9 @@
71
71
  padding: var(--gap);
72
72
  line-height: 1;
73
73
  }
74
+ .ant-notification-notice .ant-notification-notice-content .ant-notification-notice-message {
75
+ font-weight: 500;
76
+ }
74
77
  @font-face {
75
78
  font-family: 'iconfont';
76
79
  /* Project id 2966019 */
@@ -71,6 +71,9 @@
71
71
  padding: var(--gap);
72
72
  line-height: 1;
73
73
  }
74
+ .ant-notification-notice .ant-notification-notice-content .ant-notification-notice-message {
75
+ font-weight: 500;
76
+ }
74
77
  @font-face {
75
78
  font-family: 'iconfont';
76
79
  /* Project id 2966019 */
@@ -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("rc-select").BaseSelectRef>;
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;
@@ -71,6 +71,9 @@
71
71
  padding: var(--gap);
72
72
  line-height: 1;
73
73
  }
74
+ .ant-notification-notice .ant-notification-notice-content .ant-notification-notice-message {
75
+ font-weight: 500;
76
+ }
74
77
  @font-face {
75
78
  font-family: 'iconfont';
76
79
  /* Project id 2966019 */
@@ -71,6 +71,9 @@
71
71
  padding: var(--gap);
72
72
  line-height: 1;
73
73
  }
74
+ .ant-notification-notice .ant-notification-notice-content .ant-notification-notice-message {
75
+ font-weight: 500;
76
+ }
74
77
  @font-face {
75
78
  font-family: 'iconfont';
76
79
  /* Project id 2966019 */
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 _CheckBox.default;
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 _CheckBox = _interopRequireDefault(require("./CheckBox"));
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 _LoadingPage = _interopRequireDefault(require("./LoadingPage"));
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 _Dropdown = _interopRequireDefault(require("./Dropdown"));
230
-
231
- var _Select = _interopRequireDefault(require("./Select"));
247
+ var _IconSelect = _interopRequireDefault(require("./IconSelect"));
@@ -71,6 +71,9 @@
71
71
  padding: var(--gap);
72
72
  line-height: 1;
73
73
  }
74
+ .ant-notification-notice .ant-notification-notice-content .ant-notification-notice-message {
75
+ font-weight: 500;
76
+ }
74
77
  @font-face {
75
78
  font-family: 'iconfont';
76
79
  /* Project id 2966019 */
@@ -71,3 +71,6 @@
71
71
  padding: var(--gap);
72
72
  line-height: 1;
73
73
  }
74
+ .ant-notification-notice .ant-notification-notice-content .ant-notification-notice-message {
75
+ font-weight: 500;
76
+ }
@@ -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:last-child {
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-color: var(--disabled-bg-color) !important;
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:last-child {
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-color: var(--primary-color);
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-color: var(--primary-hover-color);
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-color: var(--primary-loading-color);
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-color: transparent !important;
97
+ background: transparent !important;
97
98
  }
@@ -71,6 +71,9 @@
71
71
  padding: var(--gap);
72
72
  line-height: 1;
73
73
  }
74
+ .ant-notification-notice .ant-notification-notice-content .ant-notification-notice-message {
75
+ font-weight: 500;
76
+ }
74
77
  @font-face {
75
78
  font-family: 'iconfont';
76
79
  /* Project id 2966019 */
@@ -0,0 +1,2 @@
1
+ import { Card } from 'antd';
2
+ export default Card;
@@ -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;