@faasjs/ant-design 8.0.0-beta.35 → 8.0.0-beta.36
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/dist/index.d.ts +13 -13
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ type LoadingProps = {
|
|
|
51
51
|
* }
|
|
52
52
|
* ```
|
|
53
53
|
*/
|
|
54
|
-
declare function Loading(props: LoadingProps): import("react
|
|
54
|
+
declare function Loading(props: LoadingProps): import("react").JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/FaasDataWrapper/index.d.ts
|
|
57
57
|
/**
|
|
@@ -322,7 +322,7 @@ declare const ConfigContext: import("react").Context<ConfigContextValue>;
|
|
|
322
322
|
* }
|
|
323
323
|
* ```
|
|
324
324
|
*/
|
|
325
|
-
declare function ConfigProvider(props: ConfigProviderProps): import("react
|
|
325
|
+
declare function ConfigProvider(props: ConfigProviderProps): import("react").JSX.Element | null;
|
|
326
326
|
/**
|
|
327
327
|
* Read the current `@faasjs/ant-design` config context.
|
|
328
328
|
*
|
|
@@ -381,7 +381,7 @@ declare function useConfigContext(): ConfigContextValue;
|
|
|
381
381
|
* }
|
|
382
382
|
* ```
|
|
383
383
|
*/
|
|
384
|
-
declare function ErrorBoundary(props: ErrorBoundaryProps): import("react
|
|
384
|
+
declare function ErrorBoundary(props: ErrorBoundaryProps): import("react").JSX.Element;
|
|
385
385
|
//#endregion
|
|
386
386
|
//#region src/App/index.d.ts
|
|
387
387
|
/**
|
|
@@ -450,7 +450,7 @@ declare function createOnErrorHandler(messageApi: {
|
|
|
450
450
|
* }
|
|
451
451
|
* ```
|
|
452
452
|
*/
|
|
453
|
-
declare function App(props: AppProps): import("react
|
|
453
|
+
declare function App(props: AppProps): import("react").JSX.Element;
|
|
454
454
|
//#endregion
|
|
455
455
|
//#region src/Blank/index.d.ts
|
|
456
456
|
/**
|
|
@@ -934,7 +934,7 @@ type setDrawerProps = Dispatch<SetStateAction<DrawerProps>>;
|
|
|
934
934
|
* ```
|
|
935
935
|
*/
|
|
936
936
|
declare function useDrawer(init?: DrawerProps): {
|
|
937
|
-
drawer:
|
|
937
|
+
drawer: JSX.Element;
|
|
938
938
|
drawerProps: DrawerProps;
|
|
939
939
|
setDrawerProps: setDrawerProps;
|
|
940
940
|
};
|
|
@@ -1031,7 +1031,7 @@ declare function cloneUnionFaasItemElement(element: UnionFaasItemElement, props:
|
|
|
1031
1031
|
* }
|
|
1032
1032
|
* ```
|
|
1033
1033
|
*/
|
|
1034
|
-
declare function FormItem<T = any>(props: FormItemProps<T>): import("react
|
|
1034
|
+
declare function FormItem<T = any>(props: FormItemProps<T>): import("react").JSX.Element | null;
|
|
1035
1035
|
declare namespace FormItem {
|
|
1036
1036
|
var useStatus: () => {
|
|
1037
1037
|
status?: import("antd/es/form/FormItem").ValidateStatus;
|
|
@@ -1236,7 +1236,7 @@ interface LinkProps {
|
|
|
1236
1236
|
* }
|
|
1237
1237
|
* ```
|
|
1238
1238
|
*/
|
|
1239
|
-
declare function Link(props: LinkProps): import("react
|
|
1239
|
+
declare function Link(props: LinkProps): import("react").JSX.Element;
|
|
1240
1240
|
//#endregion
|
|
1241
1241
|
//#region src/Modal/index.d.ts
|
|
1242
1242
|
/**
|
|
@@ -1279,7 +1279,7 @@ type setModalProps = Dispatch<SetStateAction<ModalProps>>;
|
|
|
1279
1279
|
* ```
|
|
1280
1280
|
*/
|
|
1281
1281
|
declare function useModal(init?: ModalProps): {
|
|
1282
|
-
modal:
|
|
1282
|
+
modal: JSX.Element;
|
|
1283
1283
|
modalProps: ModalProps;
|
|
1284
1284
|
setModalProps: setModalProps;
|
|
1285
1285
|
};
|
|
@@ -1302,7 +1302,7 @@ declare function useModal(init?: ModalProps): {
|
|
|
1302
1302
|
* }
|
|
1303
1303
|
* ```
|
|
1304
1304
|
*/
|
|
1305
|
-
declare function PageNotFound():
|
|
1305
|
+
declare function PageNotFound(): JSX.Element;
|
|
1306
1306
|
/**
|
|
1307
1307
|
* Props for the lazy-loading {@link Routes} wrapper.
|
|
1308
1308
|
*/
|
|
@@ -1336,7 +1336,7 @@ interface RoutesProps {
|
|
|
1336
1336
|
* routes={[
|
|
1337
1337
|
* {
|
|
1338
1338
|
* path: '/',
|
|
1339
|
-
* page: lazy(() => import('./
|
|
1339
|
+
* page: lazy(() => import('./features/home')),
|
|
1340
1340
|
* },
|
|
1341
1341
|
* ]}
|
|
1342
1342
|
* />
|
|
@@ -1345,7 +1345,7 @@ interface RoutesProps {
|
|
|
1345
1345
|
* }
|
|
1346
1346
|
* ```
|
|
1347
1347
|
*/
|
|
1348
|
-
declare function Routes(props: RoutesProps):
|
|
1348
|
+
declare function Routes(props: RoutesProps): JSX.Element;
|
|
1349
1349
|
//#endregion
|
|
1350
1350
|
//#region src/Table/table.d.ts
|
|
1351
1351
|
/**
|
|
@@ -1383,7 +1383,7 @@ declare function Routes(props: RoutesProps): import("react/jsx-runtime").JSX.Ele
|
|
|
1383
1383
|
* }
|
|
1384
1384
|
* ```
|
|
1385
1385
|
*/
|
|
1386
|
-
declare function Table<T extends Record<string, any>, ExtendTypes = any>(props: TableProps<T, ExtendTypes>): import("react
|
|
1386
|
+
declare function Table<T extends Record<string, any>, ExtendTypes = any>(props: TableProps<T, ExtendTypes>): import("react").JSX.Element;
|
|
1387
1387
|
//#endregion
|
|
1388
1388
|
//#region src/Tabs/index.d.ts
|
|
1389
1389
|
/**
|
|
@@ -1433,7 +1433,7 @@ interface TabsProps extends Omit<TabsProps$1, 'items'> {
|
|
|
1433
1433
|
* }
|
|
1434
1434
|
* ```
|
|
1435
1435
|
*/
|
|
1436
|
-
declare function Tabs(props: TabsProps): import("react
|
|
1436
|
+
declare function Tabs(props: TabsProps): import("react").JSX.Element;
|
|
1437
1437
|
//#endregion
|
|
1438
1438
|
//#region src/Title/index.d.ts
|
|
1439
1439
|
/**
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faasjs/ant-design",
|
|
3
|
-
"version": "8.0.0-beta.
|
|
3
|
+
"version": "8.0.0-beta.36",
|
|
4
4
|
"homepage": "https://faasjs.com/doc/ant-design",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/faasjs/faasjs/issues"
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@ant-design/icons": "*",
|
|
30
|
-
"@faasjs/react": ">=8.0.0-beta.
|
|
31
|
-
"@faasjs/types": ">=8.0.0-beta.
|
|
32
|
-
"@faasjs/utils": ">=8.0.0-beta.
|
|
30
|
+
"@faasjs/react": ">=8.0.0-beta.36",
|
|
31
|
+
"@faasjs/types": ">=8.0.0-beta.36",
|
|
32
|
+
"@faasjs/utils": ">=8.0.0-beta.36",
|
|
33
33
|
"@types/lodash-es": "*",
|
|
34
34
|
"@types/react": "^19.0.0",
|
|
35
35
|
"@types/react-dom": "^19.0.0",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@ant-design/icons": "*",
|
|
44
|
-
"@faasjs/react": ">=8.0.0-beta.
|
|
45
|
-
"@faasjs/types": ">=8.0.0-beta.
|
|
46
|
-
"@faasjs/utils": ">=8.0.0-beta.
|
|
44
|
+
"@faasjs/react": ">=8.0.0-beta.36",
|
|
45
|
+
"@faasjs/types": ">=8.0.0-beta.36",
|
|
46
|
+
"@faasjs/utils": ">=8.0.0-beta.36",
|
|
47
47
|
"antd": "^6.0.0",
|
|
48
48
|
"lodash-es": "*",
|
|
49
49
|
"react": "^19.0.0",
|