@up42/up-components 0.20.0 → 0.20.2
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/cjs/index.js +1 -1
- package/dist/cjs/types/components/TabGroup/TabGroup.d.ts +1 -0
- package/dist/cjs/types/utils/hooks/useRemotePagination.d.ts +3 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/components/TabGroup/TabGroup.d.ts +1 -0
- package/dist/esm/types/utils/hooks/useRemotePagination.d.ts +3 -1
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
|
@@ -30,5 +30,7 @@ export declare const useRemotePagination: (fetchingHook: ({ params }: {
|
|
|
30
30
|
isLoading: boolean;
|
|
31
31
|
refetch: () => Promise<any>;
|
|
32
32
|
isRefetching: boolean;
|
|
33
|
-
}, columns: any[],
|
|
33
|
+
}, columns: any[], searchParams?: {
|
|
34
|
+
[paramName: string]: string;
|
|
35
|
+
} | undefined) => UseRemotePaginationResponse;
|
|
34
36
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -367,6 +367,7 @@ declare const Tab: ({ children, ...props }: TabProps) => JSX.Element;
|
|
|
367
367
|
declare type TabData = {
|
|
368
368
|
label: string | ReactNode;
|
|
369
369
|
content: string | ReactNode;
|
|
370
|
+
hidden?: boolean;
|
|
370
371
|
};
|
|
371
372
|
declare type TabGroupProps = {
|
|
372
373
|
tabs: TabData[];
|
|
@@ -2216,7 +2217,9 @@ declare const useRemotePagination: (fetchingHook: ({ params }: {
|
|
|
2216
2217
|
isLoading: boolean;
|
|
2217
2218
|
refetch: () => Promise<any>;
|
|
2218
2219
|
isRefetching: boolean;
|
|
2219
|
-
}, columns: any[],
|
|
2220
|
+
}, columns: any[], searchParams?: {
|
|
2221
|
+
[paramName: string]: string;
|
|
2222
|
+
} | undefined) => UseRemotePaginationResponse;
|
|
2220
2223
|
|
|
2221
2224
|
declare type CreateAlertProps = {
|
|
2222
2225
|
title?: string;
|