@livetiles/reach-plugin-types 0.4.0-preview.893 → 0.4.0-preview.896
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/lib/index.d.ts +7 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3967,6 +3967,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3967
3967
|
showClearButton?: boolean;
|
|
3968
3968
|
onClear?: () => void;
|
|
3969
3969
|
useLightTheme?: boolean;
|
|
3970
|
+
shouldAutoFocus?: boolean;
|
|
3970
3971
|
}
|
|
3971
3972
|
export const Search: FC<SearchProps>;
|
|
3972
3973
|
export interface SearchBoxProps {
|
|
@@ -3974,6 +3975,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3974
3975
|
onExecuteSearch?: (text: string) => void;
|
|
3975
3976
|
searchText?: string;
|
|
3976
3977
|
showSearchBoxInput?: boolean;
|
|
3978
|
+
shouldAutoFocus?: boolean;
|
|
3977
3979
|
}
|
|
3978
3980
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3979
3981
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -6332,6 +6334,10 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6332
6334
|
className?: string;
|
|
6333
6335
|
}>;
|
|
6334
6336
|
}
|
|
6337
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
|
|
6338
|
+
import { FC } from 'react';
|
|
6339
|
+
export const GenerateApiKeyButton: FC;
|
|
6340
|
+
}
|
|
6335
6341
|
declare module "apps/reach-app/src/app/admin/users/UsersPage" {
|
|
6336
6342
|
import { FC } from 'react';
|
|
6337
6343
|
export const UsersPage: FC;
|
|
@@ -6706,7 +6712,7 @@ declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
|
6706
6712
|
onSearchChange: (text: string) => void;
|
|
6707
6713
|
onClearFilter: () => void;
|
|
6708
6714
|
}
|
|
6709
|
-
export function useFilter<TQueryString extends
|
|
6715
|
+
export function useFilter<TQueryString extends object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6710
6716
|
filter: Partial<IndexableFilterDefinition>;
|
|
6711
6717
|
hasFilter: boolean;
|
|
6712
6718
|
isSearchActive: boolean;
|