dcp-design-react 1.12.10 → 1.12.12
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/README.md +4 -4
- package/lib/_utils/types.d.ts +1 -1
- package/lib/config-provider/context.d.ts +2 -2
- package/lib/config-provider/src/config-provider.d.ts +2 -6
- package/lib/hooks/useLocale.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/search-tree/src/search-tree.d.ts +2 -0
- package/lib/table/src/filter/context.d.ts +0 -1
- package/lib/table/src/hooks/useTableState.d.ts +2 -2
- package/lib/table/src/table/props.d.ts +1 -0
- package/lib/table/src/table/types.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## QmDesign - A React UI library
|
|
2
|
-
|
|
3
|
-
- 💪 React 17.0.2
|
|
4
|
-
- 🔥 TypeScript
|
|
1
|
+
## QmDesign - A React UI library
|
|
2
|
+
|
|
3
|
+
- 💪 React 17.0.2
|
|
4
|
+
- 🔥 TypeScript
|
package/lib/_utils/types.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import type { AnyObject, ComponentSize, Locale } from '../_utils/types';
|
|
3
3
|
export type IConfig = {
|
|
4
4
|
locale: Locale;
|
|
5
5
|
size: ComponentSize;
|
|
6
6
|
theme?: string;
|
|
7
|
-
global?:
|
|
7
|
+
global?: AnyObject<any>;
|
|
8
8
|
};
|
|
9
9
|
declare const ConfigContext: import("react").Context<IConfig>;
|
|
10
10
|
export default ConfigContext;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type
|
|
3
|
-
type IProps = {
|
|
4
|
-
locale: IConfig['locale'];
|
|
5
|
-
size: IConfig['size'];
|
|
6
|
-
theme?: string;
|
|
7
|
-
global?: IConfig['global'];
|
|
2
|
+
import { type IConfig } from '../context';
|
|
3
|
+
type IProps = IConfig & {
|
|
8
4
|
children?: React.ReactNode;
|
|
9
5
|
};
|
|
10
6
|
export type ConfigProviderProps = IProps;
|
package/lib/hooks/useLocale.d.ts
CHANGED