@ccs-ui/rc-pro 1.0.7-rc.30 → 1.0.7-rc.32

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.
@@ -38,7 +38,14 @@ export declare function ModalConfirm({ modalRef }: {
38
38
  declare function CcsAuth({ auth, children }: CcsAuthProps): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
39
39
  declare namespace CcsAuth {
40
40
  var Group: typeof AuthGroup;
41
- var Button: ({ auth, text, confirm, onClick, ...restProps }: ButtonProps & {
41
+ var Button: ({ auth, text, confirm, onClick, ...restProps }: Partial<{
42
+ href: string;
43
+ target?: React.HTMLAttributeAnchorTarget | undefined;
44
+ onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
45
+ } & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
46
+ htmlType?: "button" | "submit" | "reset" | undefined;
47
+ onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
48
+ } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & {
42
49
  auth: string;
43
50
  text?: string | undefined;
44
51
  confirm?: string | undefined;
@@ -160,6 +160,14 @@ var ProTable = function ProTable(props) {
160
160
  return f.onFormat;
161
161
  });
162
162
  }, []);
163
+ useEffect(function () {
164
+ try {
165
+ var localBusiness = require('@/components/business');
166
+ var localCommon = require('@/components/common');
167
+ console.log('localCommon', localCommon);
168
+ console.log('localBusiness', localBusiness);
169
+ } catch (e) {}
170
+ }, []);
163
171
 
164
172
  // 获取数据
165
173
  var onRequestTree = /*#__PURE__*/function () {
@@ -138,20 +138,6 @@
138
138
  white-space: nowrap;
139
139
  }
140
140
  }
141
-
142
- .ant-table-tbody > tr:nth-child(odd) {
143
- td {
144
- background: #e6f7ff;
145
- }
146
- }
147
-
148
- .ant-table-tbody > tr.ant-table-row-selected > td {
149
- background: #fff6e6;
150
- }
151
-
152
- .ant-table-tbody > tr.ant-table-row:hover > td {
153
- background: #fafafa;
154
- }
155
141
  }
156
142
 
157
143
  // modal drawer ccs-pl 中取消table content padding
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "1.0.7-rc.30",
3
+ "version": "1.0.7-rc.32",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "es/index.js",
@@ -49,7 +49,7 @@
49
49
  "dependencies": {
50
50
  "@ant-design/icons": "^5.1.4",
51
51
  "ahooks": "^3.7.7",
52
- "antd": "^5.5.2",
52
+ "antd": "5.6",
53
53
  "antd-img-crop": "^4.12.2",
54
54
  "classnames": "^2.3.2",
55
55
  "dayjs": "^1.11.7",