@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.
@@ -4,6 +4,7 @@ import { BoxProps } from '../Box/Box';
4
4
  declare type TabData = {
5
5
  label: string | ReactNode;
6
6
  content: string | ReactNode;
7
+ hidden?: boolean;
7
8
  };
8
9
  export declare type TabGroupProps = {
9
10
  tabs: TabData[];
@@ -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[], term?: string | undefined) => UseRemotePaginationResponse;
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[], term?: string | undefined) => UseRemotePaginationResponse;
2220
+ }, columns: any[], searchParams?: {
2221
+ [paramName: string]: string;
2222
+ } | undefined) => UseRemotePaginationResponse;
2220
2223
 
2221
2224
  declare type CreateAlertProps = {
2222
2225
  title?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up42/up-components",
3
- "version": "0.20.0",
3
+ "version": "0.20.2",
4
4
  "description": "UP42 Component Library",
5
5
  "author": "Axel Fuhrmann axel.fuhrmann@up42.com",
6
6
  "license": "ISC",