@ccs-ui/rc-pro 2.3.6-alpha-18 → 2.3.6-alpha-20
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/config.js +1 -1
- package/es/dialog/button.d.ts +1 -1
- package/es/dialog/index.d.ts +0 -1
- package/es/dialog/index.js +0 -1
- package/es/layout-keep-alive/index.less +1 -0
- package/es/pro-table/index.less +2 -1
- package/es/pro-table/table.js +4 -3
- package/package.json +1 -1
- package/es/dialog/index.less +0 -0
package/es/config.js
CHANGED
|
@@ -83,7 +83,7 @@ function AppConfig(_ref) {
|
|
|
83
83
|
return algorithms;
|
|
84
84
|
};
|
|
85
85
|
useEffect(function () {
|
|
86
|
-
var csss = [".ccs-tabs-auto-height > .".concat(prefixCls, "-tabs-content-holder,\n .ccs-tabs-auto-height > .").concat(prefixCls, "-tabs-content-holder > .").concat(prefixCls, "-tabs-content,\n .ccs-tabs-auto-height > .").concat(prefixCls, "-tabs-content-holder > .").concat(prefixCls, "-tabs-content > div,\n .ccs-tabs-auto-height> .").concat(prefixCls, "-tabs-content-holder> .").concat(prefixCls, "-tabs-content> div> .ccs-pl { height: 100%;}"), ".ccs-keep-alive-nav .".concat(prefixCls, "-tabs-tab {border: 0 !important;border-radius: 0 !important;}"), ".ccs-keep-alive-nav .".concat(prefixCls, "-tabs-tab-active {background-color: #f0f2f5 !important;}"), ".ccs-keep-alive .dark .ccs-keep-alive-nav .".concat(prefixCls, "-tabs-tab-active {background-color: #2b2c2c !important;} "), ".ccs-pl .".concat(prefixCls, "-table-title {padding:0} ")];
|
|
86
|
+
var csss = [".ccs-dialog-drawer .".concat(prefixCls, "-drawer-footer{padding:0 !important;}"), ".ccs-tabs-auto-height > .".concat(prefixCls, "-tabs-content-holder,\n .ccs-tabs-auto-height > .").concat(prefixCls, "-tabs-content-holder > .").concat(prefixCls, "-tabs-content,\n .ccs-tabs-auto-height > .").concat(prefixCls, "-tabs-content-holder > .").concat(prefixCls, "-tabs-content > div,\n .ccs-tabs-auto-height> .").concat(prefixCls, "-tabs-content-holder> .").concat(prefixCls, "-tabs-content> div> .ccs-pl { height: 100%;}"), ".ccs-keep-alive-nav .".concat(prefixCls, "-tabs-tab {border: 0 !important;border-radius: 0 !important;}"), ".ccs-keep-alive-nav .".concat(prefixCls, "-tabs-tab-active {background-color: #f0f2f5 !important;}"), ".ccs-keep-alive .dark .ccs-keep-alive-nav .".concat(prefixCls, "-tabs-tab-active {background-color: #2b2c2c !important;} "), ".ccs-pl .".concat(prefixCls, "-table-title {padding: 0 !important;} ")];
|
|
87
87
|
insertCss(csss.join(''));
|
|
88
88
|
}, []);
|
|
89
89
|
|
package/es/dialog/button.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export type DialogButtonsProps<T> = Pick<CcsDialogModalProps, 'okText' | 'onClos
|
|
|
16
16
|
export type DialogButtonRef = {
|
|
17
17
|
onSetButtons: (e: React.ReactElement) => void;
|
|
18
18
|
};
|
|
19
|
-
export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<CcsDialogModalProps<TParams, TData>, "auth" | "
|
|
19
|
+
export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<CcsDialogModalProps<TParams, TData>, "auth" | "request" | "onOk" | "onClose" | "extraBtn" | "requestFieldNames" | "preventRequestHandle"> & {
|
|
20
20
|
formRef: React.RefObject<DialogFormRef<TParams>>;
|
|
21
21
|
formInitialValues: FormProps['initialValues'];
|
|
22
22
|
buttonRef: RefObject<DialogButtonRef>;
|
package/es/dialog/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import CcsDialogFooter from './button';
|
|
|
3
3
|
import { useDialogContext } from './context';
|
|
4
4
|
import CcsDrawerFooter from './drawer-footer';
|
|
5
5
|
import useCcsDialog from './hook';
|
|
6
|
-
import './index.less';
|
|
7
6
|
type DialogInterface = {
|
|
8
7
|
/** 获取openModal,openDrawer方法 */
|
|
9
8
|
useDialog: typeof useCcsDialog;
|
package/es/dialog/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import CcsDialogFooter from "./button";
|
|
|
3
3
|
import { useDialogContext } from "./context";
|
|
4
4
|
import CcsDrawerFooter from "./drawer-footer";
|
|
5
5
|
import useCcsDialog from "./hook";
|
|
6
|
-
import "./index.less";
|
|
7
6
|
var CcsDialog = ThemeDialog;
|
|
8
7
|
CcsDialog.Buttons = CcsDialogFooter;
|
|
9
8
|
CcsDialog.useDialog = useCcsDialog;
|
package/es/pro-table/index.less
CHANGED
package/es/pro-table/table.js
CHANGED
|
@@ -639,9 +639,10 @@ var InternalProTable = function InternalProTable(props) {
|
|
|
639
639
|
onResize: onResize
|
|
640
640
|
}), /*#__PURE__*/_jsxs("div", {
|
|
641
641
|
className: classNames(classPrefix, className, _defineProperty({}, 'dark-table', isDark)),
|
|
642
|
-
style: _objectSpread(_objectSpread({}, rootStyle),
|
|
643
|
-
overflow:
|
|
644
|
-
|
|
642
|
+
style: _objectSpread(_objectSpread({}, rootStyle), (table === null || table === void 0 || (_table$scroll2 = table.scroll) === null || _table$scroll2 === void 0 ? void 0 : _table$scroll2.y) === 'auto' ? {
|
|
643
|
+
overflow: 'hidden',
|
|
644
|
+
height: '100%'
|
|
645
|
+
} : {}),
|
|
645
646
|
ref: containerRef,
|
|
646
647
|
children: [/*#__PURE__*/_jsx(Card, {
|
|
647
648
|
style: {
|
package/package.json
CHANGED
package/es/dialog/index.less
DELETED
|
File without changes
|