@ccs-ui/rc-pro 1.1.24-beta-8 → 1.1.24-beta-9

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.
@@ -2,7 +2,7 @@
2
2
  import { FormProps } from 'antd';
3
3
  import { DialogFormRef } from './form';
4
4
  import { CcsDialogModal, CcsDialogModalProps } from './hook';
5
- export declare const DialogSelfButton: ({ auth, formRef, formInitialValues, request, onCancel, onRequestBefore, }: Pick<CcsDialogModalProps, "auth" | "request" | "onRequestBefore" | "onCancel"> & {
5
+ export declare const DialogSelfButton: ({ auth, formRef, formInitialValues, request, onCancel, onRequestBefore, }: Pick<CcsDialogModalProps, "auth" | "request" | "onCancel" | "onRequestBefore"> & {
6
6
  formRef: React.RefObject<DialogFormRef>;
7
7
  formInitialValues: FormProps['initialValues'];
8
8
  }) => import("react/jsx-runtime").JSX.Element;
@@ -193,9 +193,7 @@ var HookModal = function HookModal(_ref3, ref) {
193
193
  }, styles),
194
194
  className: classNames('ccs-dialog-modal', className),
195
195
  footer: request ? /*#__PURE__*/_jsx("div", {
196
- style: {
197
- padding: '8px 16px'
198
- },
196
+ className: "ccs-dialog-footer",
199
197
  children: /*#__PURE__*/_jsx(DialogSelfButton, {
200
198
  auth: auth,
201
199
  request: request,
@@ -78,9 +78,7 @@ export default function CcsDialogButtons(_ref) {
78
78
  });
79
79
  if (buttonType === 'modal') {
80
80
  btns = /*#__PURE__*/_jsx("div", {
81
- style: {
82
- padding: '8px 16px'
83
- },
81
+ className: "ccs-dialog-footer",
84
82
  children: btns
85
83
  });
86
84
  }
@@ -20,3 +20,11 @@
20
20
  padding: 0;
21
21
  }
22
22
  }
23
+
24
+ .ccs-dialog-footer {
25
+ padding: 8px 16px;
26
+
27
+ > .ant-btn + .ant-btn {
28
+ margin-inline-start: 8px;
29
+ }
30
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "1.1.24-beta-8",
4
- "description": "修复table双滚动条问题;",
3
+ "version": "1.1.24-beta-9",
4
+ "description": "修复table双滚动条问题;修复modal按钮无间距问题;",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Hong",