@ccs-ui/rc-pro 1.1.23-beta-1 → 1.1.23-beta-3

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/ccs.d.ts CHANGED
@@ -181,7 +181,7 @@ type GlobalConfig = {
181
181
  /** 项目名称 */
182
182
  AppName: string;
183
183
  /** 主题 */
184
- AppTheme: 'default' | 'dark' | 'colorful';
184
+ AppTheme: 'light' | 'dark' | 'colorful';
185
185
  /** ant组件配置 */
186
186
  AppThemeConfig: ThemeConfig;
187
187
  /** 菜单展开模式 */
@@ -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" | "onCancel" | "onRequestBefore"> & {
5
+ export declare const DialogSelfButton: ({ auth, formRef, formInitialValues, request, onCancel, onRequestBefore, }: Pick<CcsDialogModalProps, "auth" | "request" | "onRequestBefore" | "onCancel"> & {
6
6
  formRef: React.RefObject<DialogFormRef>;
7
7
  formInitialValues: FormProps['initialValues'];
8
8
  }) => import("react/jsx-runtime").JSX.Element;
package/es/theme.js CHANGED
@@ -41,7 +41,7 @@ export default function AppTheme(_ref) {
41
41
  }, []);
42
42
 
43
43
  // 主题
44
- var appTheme = theme === 'default' ? defaultTheme : darkTheme;
44
+ var appTheme = theme === 'dark' ? darkTheme : defaultTheme;
45
45
 
46
46
  // 合并token
47
47
  var token = _objectSpread(_objectSpread(_objectSpread({}, appTheme.token), themeConfig === null || themeConfig === void 0 ? void 0 : themeConfig.token), {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "1.1.23-beta-1",
3
+ "version": "1.1.23-beta-3",
4
4
  "description": "删除IsTabsPage参数;添加colorful主题;",
5
5
  "license": "MIT",
6
6
  "author": {