@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 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
 
@@ -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" | "onClose" | "onOk" | "request" | "extraBtn" | "requestFieldNames" | "preventRequestHandle"> & {
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>;
@@ -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;
@@ -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;
@@ -51,6 +51,7 @@
51
51
  border-bottom: 0 !important;
52
52
  }
53
53
  }
54
+
54
55
  &-tabs {
55
56
  background-color: #fff;
56
57
 
@@ -33,8 +33,9 @@
33
33
  padding: 12px 16px;
34
34
  text-align: right;
35
35
  }
36
+
36
37
  .ccs-pl {
37
- flex: auto;
38
+ // flex: auto;
38
39
  display: flex;
39
40
  flex-direction: column;
40
41
 
@@ -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: (table === null || table === void 0 || (_table$scroll2 = table.scroll) === null || _table$scroll2 === void 0 ? void 0 : _table$scroll2.y) === 'auto' ? 'hidden' : 'unset'
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "2.3.6-alpha-18",
3
+ "version": "2.3.6-alpha-20",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": {
File without changes