react-toolkits 2.31.7 → 2.31.8
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/CHANGELOG.md +6 -0
- package/lib/index.d.ts +4 -1
- package/lib/index.js +826 -8504
- package/lib/index.js.map +1 -1
- package/locale/context.js +2 -1473
- package/locale/hooks.js +10 -3080
- package/locale/index.js +10 -3080
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonProps, SelectProps, FormInstance, DrawerProps, Button, FormProps, ModalProps } from 'antd';
|
|
2
|
-
import { FC, PropsWithChildren, Key, ReactNode, ReactElement, Ref, DetailedHTMLProps, ImgHTMLAttributes, ComponentProps } from 'react';
|
|
2
|
+
import { FC, PropsWithChildren, Key, ReactNode, ReactElement, CSSProperties, Ref, DetailedHTMLProps, ImgHTMLAttributes, ComponentProps } from 'react';
|
|
3
3
|
import { Hooks, Options, KyInstance } from 'ky';
|
|
4
4
|
import { ParagraphProps } from 'antd/es/typography/Paragraph';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -333,6 +333,8 @@ interface GameSelectConfig<T extends Game = Game> {
|
|
|
333
333
|
interface LayoutProps<T extends Game = Game> {
|
|
334
334
|
/** 应用标题(显示在侧边栏顶部) */
|
|
335
335
|
title?: string;
|
|
336
|
+
/** 应用标题样式 */
|
|
337
|
+
titleStyle?: CSSProperties;
|
|
336
338
|
/** 应用副标题(显示在标题下方) */
|
|
337
339
|
subtitle?: string;
|
|
338
340
|
/** 导航配置 */
|
|
@@ -1218,6 +1220,7 @@ declare const OperationLogList: FC;
|
|
|
1218
1220
|
interface SignInProps {
|
|
1219
1221
|
extra?: ReactNode;
|
|
1220
1222
|
title?: string;
|
|
1223
|
+
titleStyle?: CSSProperties;
|
|
1221
1224
|
}
|
|
1222
1225
|
declare const SignIn: FC<SignInProps>;
|
|
1223
1226
|
|