From 750e45539add46bbb83c1977f7948c81dcab010e Mon Sep 17 00:00:00 2001 From: Carlos Esteban Lopez Date: Wed, 1 Mar 2023 17:03:39 -0500 Subject: [PATCH] chore(search): Add changeset & update API reports Signed-off-by: Carlos Esteban Lopez --- .changeset/mighty-bears-glow.md | 6 ++++++ plugins/scaffolder/api-report.md | 2 ++ plugins/search-react/api-report.md | 5 +++-- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .changeset/mighty-bears-glow.md diff --git a/.changeset/mighty-bears-glow.md b/.changeset/mighty-bears-glow.md new file mode 100644 index 0000000000..125feb73c6 --- /dev/null +++ b/.changeset/mighty-bears-glow.md @@ -0,0 +1,6 @@ +--- +'@backstage/plugin-search-react': patch +'@backstage/plugin-search': patch +--- + +Add close button & improve search input. diff --git a/plugins/scaffolder/api-report.md b/plugins/scaffolder/api-report.md index 3495522310..642afe5bf4 100644 --- a/plugins/scaffolder/api-report.md +++ b/plugins/scaffolder/api-report.md @@ -140,6 +140,7 @@ export const EntityTagsPickerFieldExtension: FieldExtensionComponent_2< kinds?: string[] | undefined; showCounts?: boolean | undefined; helperText?: string | undefined; + kinds?: string[] | undefined; } >; @@ -150,6 +151,7 @@ export const EntityTagsPickerFieldSchema: FieldSchema< kinds?: string[] | undefined; showCounts?: boolean | undefined; helperText?: string | undefined; + kinds?: string[] | undefined; } >; diff --git a/plugins/search-react/api-report.md b/plugins/search-react/api-report.md index 30b5d4b581..e39e91de72 100644 --- a/plugins/search-react/api-report.md +++ b/plugins/search-react/api-report.md @@ -10,7 +10,6 @@ import { AsyncState } from 'react-use/lib/useAsync'; import { AutocompleteProps } from '@material-ui/lab'; import { Extension } from '@backstage/core-plugin-api'; import { ForwardRefExoticComponent } from 'react'; -import { InputBaseProps } from '@material-ui/core'; import { JsonObject } from '@backstage/types'; import { JsonValue } from '@backstage/types'; import { LinkProps } from '@backstage/core-components'; @@ -26,6 +25,7 @@ import { SearchDocument } from '@backstage/plugin-search-common'; import { SearchQuery } from '@backstage/plugin-search-common'; import { SearchResult as SearchResult_2 } from '@backstage/plugin-search-common'; import { SearchResultSet } from '@backstage/plugin-search-common'; +import { TextFieldProps } from '@material-ui/core/TextField'; import { TypographyProps } from '@material-ui/core'; // @public (undocumented) @@ -136,12 +136,13 @@ export const SearchBar: ForwardRefExoticComponent; export const SearchBarBase: ForwardRefExoticComponent; // @public -export type SearchBarBaseProps = Omit & { +export type SearchBarBaseProps = Omit & { debounceTime?: number; clearButton?: boolean; onClear?: () => void; onSubmit?: () => void; onChange: (value: string) => void; + endAdornment?: React_2.ReactNode; }; // @public