@ccs-ui/rc-pro 1.0.7-rc.30 → 1.0.7-rc.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/es/auth/index.d.ts +8 -1
- package/es/pro-table/index.less +0 -14
- package/package.json +2 -2
package/es/auth/index.d.ts
CHANGED
|
@@ -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 }:
|
|
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;
|
package/es/pro-table/index.less
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "1.0.7-rc.31",
|
|
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": "
|
|
52
|
+
"antd": "5.6",
|
|
53
53
|
"antd-img-crop": "^4.12.2",
|
|
54
54
|
"classnames": "^2.3.2",
|
|
55
55
|
"dayjs": "^1.11.7",
|