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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # react-toolkits
2
2
 
3
+ ## 2.31.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 0a9101a: refactor: add titleStyle prop to Layout and LayoutHeader components
8
+
3
9
  ## 2.31.7
4
10
 
5
11
  ### Patch Changes
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