diff --git a/packages/app-next-example-plugin/report.api.md b/packages/app-next-example-plugin/report.api.md index 7a680d8917..636d735914 100644 --- a/packages/app-next-example-plugin/report.api.md +++ b/packages/app-next-example-plugin/report.api.md @@ -7,7 +7,8 @@ import { AnyRouteRefParams } from '@backstage/frontend-plugin-api'; import { ConfigurableExtensionDataRef } from '@backstage/frontend-plugin-api'; import { ExtensionDefinition } from '@backstage/frontend-plugin-api'; import { FrontendPlugin } from '@backstage/frontend-plugin-api'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react'; +import { JSX as JSX_3 } from 'react/jsx-runtime'; import { RouteRef } from '@backstage/frontend-plugin-api'; // @public (undocumented) @@ -25,11 +26,7 @@ const examplePlugin: FrontendPlugin< path?: string | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< RouteRef, @@ -50,7 +47,7 @@ const examplePlugin: FrontendPlugin< export default examplePlugin; // @public (undocumented) -export const ExampleSidebarItem: () => React_2.JSX.Element; +export const ExampleSidebarItem: () => JSX_3.Element; // (No @packageDocumentation comment for this package) ``` diff --git a/packages/canon/report.api.md b/packages/canon/report.api.md index a2b86e57a4..0a16c2abcf 100644 --- a/packages/canon/report.api.md +++ b/packages/canon/report.api.md @@ -7,15 +7,18 @@ import { Breakpoint as Breakpoint_2 } from '@backstage/canon'; import { ChangeEvent } from 'react'; import { Context } from 'react'; import type { CSSProperties } from 'react'; +import { FC } from 'react'; import { FocusEvent as FocusEvent_2 } from 'react'; import { ForwardRefExoticComponent } from 'react'; +import { HTMLAttributes } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { Menu as Menu_2 } from '@base-ui-components/react/menu'; -import { default as React_2 } from 'react'; -import * as React_3 from 'react'; import { ReactNode } from 'react'; import { RefAttributes } from 'react'; import type { RemixiconComponentType } from '@remixicon/react'; import { ScrollArea as ScrollArea_2 } from '@base-ui-components/react/scroll-area'; +import { TdHTMLAttributes } from 'react'; +import { ThHTMLAttributes } from 'react'; import { Tooltip as Tooltip_2 } from '@base-ui-components/react/tooltip'; import type { useRender } from '@base-ui-components/react/use-render'; @@ -122,8 +125,8 @@ export type Breakpoint = 'initial' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'; export const breakpoints: Breakpoint[]; // @public (undocumented) -export const Button: React_2.ForwardRefExoticComponent< - ButtonProps & React_2.RefAttributes +export const Button: ForwardRefExoticComponent< + ButtonProps & RefAttributes >; // @public (undocumented) @@ -158,8 +161,8 @@ export interface ButtonProps } // @public (undocumented) -export const Checkbox: React_2.ForwardRefExoticComponent< - CheckboxProps & React_2.RefAttributes +export const Checkbox: ForwardRefExoticComponent< + CheckboxProps & RefAttributes >; // @public (undocumented) @@ -328,8 +331,8 @@ export type GetPropDefType = Def extends BooleanPropDef : string : Def extends ReactNodePropDef ? Def extends ResponsivePropDef - ? Responsive - : React_2.ReactNode + ? Responsive + : ReactNode : Def extends EnumOrStringPropDef ? Def extends ResponsivePropDef ? Responsive @@ -507,8 +510,8 @@ export interface GridProps extends SpaceProps { } // @public (undocumented) -export const Heading: React_2.ForwardRefExoticComponent< - HeadingProps & React_2.RefAttributes +export const Heading: ForwardRefExoticComponent< + HeadingProps & RefAttributes >; // @public (undocumented) @@ -563,11 +566,11 @@ export const heightPropDefs: { export type HeightProps = GetPropDefTypes; // @public (undocumented) -export const Icon: (props: IconProps) => React_2.JSX.Element | null; +export const Icon: (props: IconProps) => JSX_2.Element | null; // @public (undocumented) -export const IconButton: React_2.ForwardRefExoticComponent< - IconButtonProps & React_2.RefAttributes +export const IconButton: ForwardRefExoticComponent< + IconButtonProps & RefAttributes >; // @public (undocumented) @@ -677,7 +680,7 @@ export type IconProps = { }; // @public (undocumented) -export const IconProvider: (props: IconProviderProps) => React_2.JSX.Element; +export const IconProvider: (props: IconProviderProps) => JSX_2.Element; // @public (undocumented) export interface IconProviderProps { @@ -700,8 +703,8 @@ export type JustifyContent = | 'between'; // @public (undocumented) -export const Link: React_2.ForwardRefExoticComponent< - Omit & React_2.RefAttributes +export const Link: ForwardRefExoticComponent< + Omit & RefAttributes >; // @public (undocumented) @@ -887,7 +890,7 @@ export type PropDef = RegularPropDef | ResponsivePropDef; // @public (undocumented) export type ReactNodePropDef = { type: 'ReactNode'; - default?: React_2.ReactNode; + default?: ReactNode; required?: boolean; }; @@ -912,39 +915,27 @@ export type ResponsivePropDef = RegularPropDef & { // @public (undocumented) export const ScrollArea: { - Root: React_2.ForwardRefExoticComponent< - Omit< - ScrollArea_2.Root.Props & React_2.RefAttributes, - 'ref' - > & - React_2.RefAttributes + Root: ForwardRefExoticComponent< + Omit, 'ref'> & + RefAttributes >; - Viewport: React_2.ForwardRefExoticComponent< - Omit< - ScrollArea_2.Viewport.Props & React_2.RefAttributes, - 'ref' - > & - React_2.RefAttributes + Viewport: ForwardRefExoticComponent< + Omit, 'ref'> & + RefAttributes >; - Scrollbar: React_2.ForwardRefExoticComponent< - Omit< - ScrollArea_2.Scrollbar.Props & React_2.RefAttributes, - 'ref' - > & - React_2.RefAttributes + Scrollbar: ForwardRefExoticComponent< + Omit, 'ref'> & + RefAttributes >; - Thumb: React_2.ForwardRefExoticComponent< - Omit< - ScrollArea_2.Thumb.Props & React_2.RefAttributes, - 'ref' - > & - React_2.RefAttributes + Thumb: ForwardRefExoticComponent< + Omit, 'ref'> & + RefAttributes >; }; // @public (undocumented) -export const Select: React_2.ForwardRefExoticComponent< - SelectProps & React_2.RefAttributes +export const Select: ForwardRefExoticComponent< + SelectProps & RefAttributes >; // @public (undocumented) @@ -1038,56 +1029,52 @@ export type StylingPropDef = { }; // @public (undocumented) -export const Table: React_3.ForwardRefExoticComponent< - React_3.HTMLAttributes & - React_3.RefAttributes +export const Table: ForwardRefExoticComponent< + HTMLAttributes & RefAttributes >; // @public (undocumented) -export const TableBody: React_3.ForwardRefExoticComponent< - React_3.HTMLAttributes & - React_3.RefAttributes +export const TableBody: ForwardRefExoticComponent< + HTMLAttributes & + RefAttributes >; // @public (undocumented) -export const TableCell: React_3.ForwardRefExoticComponent< - React_3.TdHTMLAttributes & - React_3.RefAttributes +export const TableCell: ForwardRefExoticComponent< + TdHTMLAttributes & RefAttributes >; // @public (undocumented) -export const TableFooter: React_3.ForwardRefExoticComponent< - React_3.HTMLAttributes & - React_3.RefAttributes +export const TableFooter: ForwardRefExoticComponent< + HTMLAttributes & + RefAttributes >; // @public (undocumented) -export const TableHead: React_3.ForwardRefExoticComponent< - React_3.ThHTMLAttributes & - React_3.RefAttributes +export const TableHead: ForwardRefExoticComponent< + ThHTMLAttributes & RefAttributes >; // @public (undocumented) -export const TableHeader: React_3.ForwardRefExoticComponent< - React_3.HTMLAttributes & - React_3.RefAttributes +export const TableHeader: ForwardRefExoticComponent< + HTMLAttributes & + RefAttributes >; // @public (undocumented) -export const TableRow: React_3.ForwardRefExoticComponent< - React_3.HTMLAttributes & - React_3.RefAttributes +export const TableRow: ForwardRefExoticComponent< + HTMLAttributes & RefAttributes >; // @public (undocumented) -const Text_2: React_2.ForwardRefExoticComponent< - TextProps & React_2.RefAttributes +const Text_2: ForwardRefExoticComponent< + TextProps & RefAttributes >; export { Text_2 as Text }; // @public (undocumented) -export const TextField: React_2.ForwardRefExoticComponent< - TextFieldProps & React_2.RefAttributes +export const TextField: ForwardRefExoticComponent< + TextFieldProps & RefAttributes >; // @public (undocumented) @@ -1135,27 +1122,24 @@ export interface TextProps { // @public (undocumented) export const Tooltip: { - Provider: React_2.FC; - Root: React_2.FC; - Trigger: React_2.ForwardRefExoticComponent< - Omit, 'ref'> & - React_2.RefAttributes + Provider: FC; + Root: FC; + Trigger: ForwardRefExoticComponent< + Omit, 'ref'> & + RefAttributes >; Portal: typeof Tooltip_2.Portal; - Positioner: React_2.ForwardRefExoticComponent< - Omit< - Tooltip_2.Positioner.Props & React_2.RefAttributes, - 'ref' - > & - React_2.RefAttributes + Positioner: ForwardRefExoticComponent< + Omit, 'ref'> & + RefAttributes >; - Popup: React_2.ForwardRefExoticComponent< - Omit, 'ref'> & - React_2.RefAttributes + Popup: ForwardRefExoticComponent< + Omit, 'ref'> & + RefAttributes >; - Arrow: React_2.ForwardRefExoticComponent< - Omit, 'ref'> & - React_2.RefAttributes + Arrow: ForwardRefExoticComponent< + Omit, 'ref'> & + RefAttributes >; }; diff --git a/packages/canon/src/props/prop-def.ts b/packages/canon/src/props/prop-def.ts index eb721aa115..dc6c798d51 100644 --- a/packages/canon/src/props/prop-def.ts +++ b/packages/canon/src/props/prop-def.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import type React from 'react'; +import type { ReactNode } from 'react'; import type { Breakpoint, Responsive } from '../types'; /** @public */ @@ -37,7 +37,7 @@ export type StringPropDef = { /** @public */ export type ReactNodePropDef = { type: 'ReactNode'; - default?: React.ReactNode; + default?: ReactNode; required?: boolean; }; @@ -107,8 +107,8 @@ export type GetPropDefType = Def extends BooleanPropDef : string : Def extends ReactNodePropDef ? Def extends ResponsivePropDef - ? Responsive - : React.ReactNode + ? Responsive + : ReactNode : Def extends EnumOrStringPropDef ? Def extends ResponsivePropDef ? Responsive diff --git a/packages/core-app-api/report.api.md b/packages/core-app-api/report.api.md index b2a276e6d4..60f8cb8c1c 100644 --- a/packages/core-app-api/report.api.md +++ b/packages/core-app-api/report.api.md @@ -42,6 +42,7 @@ import { googleAuthApiRef } from '@backstage/core-plugin-api'; import { IconComponent } from '@backstage/core-plugin-api'; import { IdentityApi } from '@backstage/core-plugin-api'; import { JsonValue } from '@backstage/types'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { microsoftAuthApiRef } from '@backstage/core-plugin-api'; import { OAuthApi } from '@backstage/core-plugin-api'; import { OAuthRequestApi } from '@backstage/core-plugin-api'; @@ -56,7 +57,6 @@ import { ProfileInfo } from '@backstage/core-plugin-api'; import { ProfileInfoApi } from '@backstage/core-plugin-api'; import { PropsWithChildren } from 'react'; import PropTypes from 'prop-types'; -import { default as React_2 } from 'react'; import { ReactNode } from 'react'; import { RouteRef } from '@backstage/core-plugin-api'; import { SessionApi } from '@backstage/core-plugin-api'; @@ -115,7 +115,7 @@ export type ApiFactoryScope = 'default' | 'app' | 'static'; // @public export const ApiProvider: { - (props: PropsWithChildren): React_2.JSX.Element; + (props: PropsWithChildren): JSX_2.Element; propTypes: { apis: PropTypes.Validator< NonNullable< @@ -257,7 +257,7 @@ export type AppRouteBinder = < ) => void; // @public -export function AppRouter(props: AppRouterProps): React_2.JSX.Element; +export function AppRouter(props: AppRouterProps): JSX_2.Element; // @public export interface AppRouterProps { @@ -390,9 +390,7 @@ export type ErrorBoundaryFallbackProps = PropsWithChildren<{ }>; // @public -export const FeatureFlagged: ( - props: FeatureFlaggedProps, -) => React_2.JSX.Element; +export const FeatureFlagged: (props: FeatureFlaggedProps) => JSX_2.Element; // @public export type FeatureFlaggedProps = { diff --git a/packages/core-compat-api/report.api.md b/packages/core-compat-api/report.api.md index 125533c6d3..e1fb583f4e 100644 --- a/packages/core-compat-api/report.api.md +++ b/packages/core-compat-api/report.api.md @@ -20,7 +20,8 @@ import { FeatureFlag } from '@backstage/core-plugin-api'; import { FrontendModule } from '@backstage/frontend-plugin-api'; import { FrontendPlugin } from '@backstage/frontend-plugin-api'; import { IconComponent } from '@backstage/core-plugin-api'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react'; +import { JSX as JSX_3 } from 'react/jsx-runtime'; import { ReactNode } from 'react'; import { RouteRef } from '@backstage/core-plugin-api'; import { RouteRef as RouteRef_2 } from '@backstage/frontend-plugin-api'; @@ -28,17 +29,17 @@ import { SubRouteRef } from '@backstage/core-plugin-api'; import { SubRouteRef as SubRouteRef_2 } from '@backstage/frontend-plugin-api'; // @public -export function compatWrapper(element: ReactNode): React_2.JSX.Element; +export function compatWrapper(element: ReactNode): JSX_3.Element; // @public (undocumented) export function convertLegacyApp( - rootElement: React_2.JSX.Element, + rootElement: JSX_2.Element, options?: ConvertLegacyAppOptions, ): (FrontendPlugin | FrontendModule)[]; // @public (undocumented) export interface ConvertLegacyAppOptions { - entityPage?: React_2.JSX.Element; + entityPage?: JSX_2.Element; } // @public (undocumented) diff --git a/packages/core-components/report-alpha.api.md b/packages/core-components/report-alpha.api.md index 73b4194266..ce2c920748 100644 --- a/packages/core-components/report-alpha.api.md +++ b/packages/core-components/report-alpha.api.md @@ -10,16 +10,16 @@ export const coreComponentsTranslationRef: TranslationRef< 'core-components', { readonly 'table.filter.title': 'Filters'; - readonly 'table.filter.placeholder': 'All results'; readonly 'table.filter.clearAll': 'Clear all'; + readonly 'table.filter.placeholder': 'All results'; readonly 'table.body.emptyDataSourceMessage': 'No records to display'; - readonly 'table.toolbar.search': 'Filter'; readonly 'table.pagination.firstTooltip': 'First Page'; readonly 'table.pagination.labelDisplayedRows': '{from}-{to} of {count}'; readonly 'table.pagination.labelRowsSelect': 'rows'; readonly 'table.pagination.lastTooltip': 'Last Page'; readonly 'table.pagination.nextTooltip': 'Next Page'; readonly 'table.pagination.previousTooltip': 'Previous Page'; + readonly 'table.toolbar.search': 'Filter'; readonly 'signIn.title': 'Sign In'; readonly 'signIn.loginFailed': 'Login failed'; readonly 'signIn.customProvider.title': 'Custom User'; @@ -29,12 +29,12 @@ export const coreComponentsTranslationRef: TranslationRef< readonly 'signIn.customProvider.continue': 'Continue'; readonly 'signIn.customProvider.idToken': 'ID Token (optional)'; readonly 'signIn.guestProvider.title': 'Guest'; - readonly 'signIn.guestProvider.enter': 'Enter'; readonly 'signIn.guestProvider.subtitle': 'Enter as a Guest User.\n You will not have a verified identity, meaning some features might be unavailable.'; + readonly 'signIn.guestProvider.enter': 'Enter'; readonly skipToContent: 'Skip to content'; readonly 'copyTextButton.tooltipText': 'Text copied to clipboard'; - readonly 'simpleStepper.finish': 'Finish'; readonly 'simpleStepper.reset': 'Reset'; + readonly 'simpleStepper.finish': 'Finish'; readonly 'simpleStepper.next': 'Next'; readonly 'simpleStepper.skip': 'Skip'; readonly 'simpleStepper.back': 'Back'; @@ -53,8 +53,8 @@ export const coreComponentsTranslationRef: TranslationRef< readonly 'oauthRequestDialog.authRedirectTitle': 'This will trigger a http redirect to OAuth Login.'; readonly 'oauthRequestDialog.login': 'Log in'; readonly 'oauthRequestDialog.rejectAll': 'Reject All'; - readonly 'supportButton.title': 'Support'; readonly 'supportButton.close': 'Close'; + readonly 'supportButton.title': 'Support'; readonly 'alertDisplay.message_one': '({{ count }} newer message)'; readonly 'alertDisplay.message_other': '({{ count }} newer messages)'; readonly 'autoLogout.stillTherePrompt.title': 'Logging out due to inactivity'; diff --git a/packages/core-components/report.api.md b/packages/core-components/report.api.md index 2a845d7bfa..6e1057c5a3 100644 --- a/packages/core-components/report.api.md +++ b/packages/core-components/report.api.md @@ -10,10 +10,12 @@ import { BackstageUserIdentity } from '@backstage/core-plugin-api'; import { BottomNavigationActionProps } from '@material-ui/core/BottomNavigationAction'; import { ButtonProps as ButtonProps_2 } from '@material-ui/core/Button'; import { CardHeaderProps } from '@material-ui/core/CardHeader'; +import { ChangeEvent } from 'react'; import { Column } from '@material-table/core'; import { ComponentClass } from 'react'; import { ComponentProps } from 'react'; import { ComponentType } from 'react'; +import { Context } from 'react'; import { default as CSS_2 } from 'csstype'; import { CSSProperties } from 'react'; import { ElementType } from 'react'; @@ -22,12 +24,16 @@ import IconButton from '@material-ui/core/IconButton'; import { IconComponent } from '@backstage/core-plugin-api'; import { Icons } from '@material-table/core'; import { IdentityApi } from '@backstage/core-plugin-api'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { LinearProgressProps } from '@material-ui/core/LinearProgress'; import { LinkProps as LinkProps_2 } from '@material-ui/core/Link'; import { LinkProps as LinkProps_3 } from 'react-router-dom'; import { ListItemTextProps } from '@material-ui/core/ListItemText'; import MaterialBreadcrumbs from '@material-ui/core/Breadcrumbs'; import { MaterialTableProps } from '@material-table/core'; +import { MouseEvent as MouseEvent_2 } from 'react'; +import { MouseEventHandler } from 'react'; +import { MutableRefObject } from 'react'; import { NavLinkProps } from 'react-router-dom'; import { Options } from 'react-markdown'; import { Options as Options_2 } from '@material-table/core'; @@ -35,8 +41,6 @@ import { Overrides } from '@material-ui/core/styles/overrides'; import { ProfileInfo } from '@backstage/core-plugin-api'; import { ProfileInfoApi } from '@backstage/core-plugin-api'; import { PropsWithChildren } from 'react'; -import { default as React_2 } from 'react'; -import * as React_3 from 'react'; import { ReactElement } from 'react'; import { ReactNode } from 'react'; import { SessionApi } from '@backstage/core-plugin-api'; @@ -46,15 +50,14 @@ import { SparklinesProps } from 'react-sparklines'; import { StyledComponentProps } from '@material-ui/core/styles/withStyles'; import { StyleRules } from '@material-ui/styles'; import { StyleRules as StyleRules_2 } from '@material-ui/core/styles/withStyles'; +import { SVGProps } from 'react'; import { TabProps } from '@material-ui/core/Tab'; import { Theme } from '@material-ui/core/styles'; import { TooltipProps } from '@material-ui/core/Tooltip'; import { WithStyles } from '@material-ui/core/styles'; // @public -export function AlertDisplay( - props: AlertDisplayProps, -): React_2.JSX.Element | null; +export function AlertDisplay(props: AlertDisplayProps): JSX_2.Element | null; // @public export type AlertDisplayProps = { @@ -66,7 +69,7 @@ export type AlertDisplayProps = { }; // @public -export function AppIcon(props: AppIconProps): React_2.JSX.Element; +export function AppIcon(props: AppIconProps): JSX_2.Element; // @public export type AppIconProps = IconComponentProps & { @@ -87,7 +90,7 @@ export type AutoLogoutProps = { }; // @public -export function Avatar(props: AvatarProps): React_2.JSX.Element; +export function Avatar(props: AvatarProps): JSX_2.Element; // @public (undocumented) export type AvatarClassKey = 'avatar'; @@ -119,7 +122,7 @@ export type BackstageOverrides = Overrides & { export type BoldHeaderClassKey = 'root' | 'title' | 'subheader'; // @public -export function BottomLink(props: BottomLinkProps): React_2.JSX.Element; +export function BottomLink(props: BottomLinkProps): JSX_2.Element; // @public (undocumented) export type BottomLinkClassKey = 'root' | 'boxTitle' | 'arrow'; @@ -128,13 +131,13 @@ export type BottomLinkClassKey = 'root' | 'boxTitle' | 'arrow'; export type BottomLinkProps = { link: string; title: string; - onClick?: (event: React_2.MouseEvent) => void; + onClick?: (event: MouseEvent_2) => void; }; // Warning: (ae-forgotten-export) The symbol "Props_18" needs to be exported by the entry point index.d.ts // // @public -export function Breadcrumbs(props: Props_18): React_2.JSX.Element; +export function Breadcrumbs(props: Props_18): JSX_2.Element; // @public (undocumented) export type BreadcrumbsClickableTextClassKey = 'root'; @@ -146,7 +149,7 @@ export type BreadcrumbsCurrentPageClassKey = 'root'; export type BreadcrumbsStyledBoxClassKey = 'root'; // @public -export function BrokenImageIcon(props: IconComponentProps): React_2.JSX.Element; +export function BrokenImageIcon(props: IconComponentProps): JSX_2.Element; // @public @deprecated (undocumented) export const Button: (props: LinkButtonProps) => JSX.Element; @@ -160,24 +163,22 @@ export type CardActionsTopRightClassKey = 'root'; // Warning: (ae-forgotten-export) The symbol "CardTabProps" needs to be exported by the entry point index.d.ts // // @public -export function CardTab( - props: PropsWithChildren, -): React_2.JSX.Element; +export function CardTab(props: PropsWithChildren): JSX_2.Element; // @public (undocumented) export type CardTabClassKey = 'root' | 'selected'; // @public (undocumented) -export function CatalogIcon(props: IconComponentProps): React_2.JSX.Element; +export function CatalogIcon(props: IconComponentProps): JSX_2.Element; // @public (undocumented) -export function ChatIcon(props: IconComponentProps): React_2.JSX.Element; +export function ChatIcon(props: IconComponentProps): JSX_2.Element; // @public (undocumented) export type ClosedDropdownClassKey = 'icon'; // @public -export function CodeSnippet(props: CodeSnippetProps): React_2.JSX.Element; +export function CodeSnippet(props: CodeSnippetProps): JSX_2.Element; // @public export interface CodeSnippetProps { @@ -192,16 +193,14 @@ export interface CodeSnippetProps { // Warning: (ae-forgotten-export) The symbol "Props_12" needs to be exported by the entry point index.d.ts // // @public -export function Content( - props: PropsWithChildren, -): React_2.JSX.Element; +export function Content(props: PropsWithChildren): JSX_2.Element; // Warning: (ae-forgotten-export) The symbol "ContentHeaderProps" needs to be exported by the entry point index.d.ts // // @public export function ContentHeader( props: PropsWithChildren, -): React_2.JSX.Element; +): JSX_2.Element; // @public (undocumented) export type ContentHeaderClassKey = @@ -212,7 +211,7 @@ export type ContentHeaderClassKey = | 'title'; // @public -export function CopyTextButton(props: CopyTextButtonProps): React_2.JSX.Element; +export function CopyTextButton(props: CopyTextButtonProps): JSX_2.Element; // @public export interface CopyTextButtonProps { @@ -223,9 +222,7 @@ export interface CopyTextButtonProps { } // @public -export function CreateButton( - props: CreateButtonProps, -): React_2.JSX.Element | null; +export function CreateButton(props: CreateButtonProps): JSX_2.Element | null; // @public export type CreateButtonProps = { @@ -236,12 +233,12 @@ export type CreateButtonProps = { export type CustomProviderClassKey = 'form' | 'button'; // @public (undocumented) -export function DashboardIcon(props: IconComponentProps): React_2.JSX.Element; +export function DashboardIcon(props: IconComponentProps): JSX_2.Element; // @public export function DependencyGraph( props: DependencyGraphProps, -): React_2.JSX.Element; +): JSX_2.Element; // @public (undocumented) export type DependencyGraphDefaultLabelClassKey = 'text'; @@ -257,7 +254,7 @@ export type DependencyGraphNodeClassKey = 'node'; // @public export interface DependencyGraphProps - extends React_2.SVGProps { + extends SVGProps { acyclicer?: 'greedy'; align?: DependencyGraphTypes.Alignment; curve?: 'curveStepBefore' | 'curveMonotoneX'; @@ -319,13 +316,13 @@ export namespace DependencyGraphTypes { } export type RenderLabelFunction = ( props: RenderLabelProps, - ) => React_2.ReactNode; + ) => ReactNode; export type RenderLabelProps = { edge: DependencyEdge; }; export type RenderNodeFunction = ( props: RenderNodeProps, - ) => React_2.ReactNode; + ) => ReactNode; export type RenderNodeProps = { node: DependencyNode; }; @@ -334,7 +331,7 @@ export namespace DependencyGraphTypes { // Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export const DismissableBanner: (props: Props) => React_2.JSX.Element; +export const DismissableBanner: (props: Props) => JSX_2.Element; // @public (undocumented) export type DismissableBannerClassKey = @@ -350,15 +347,15 @@ export type DismissableBannerClassKey = export type DismissbleBannerClassKey = DismissableBannerClassKey; // @public (undocumented) -export function DocsIcon(props: IconComponentProps): React_2.JSX.Element; +export function DocsIcon(props: IconComponentProps): JSX_2.Element; // @public (undocumented) -export function EmailIcon(props: IconComponentProps): React_2.JSX.Element; +export function EmailIcon(props: IconComponentProps): JSX_2.Element; // Warning: (ae-forgotten-export) The symbol "Props_2" needs to be exported by the entry point index.d.ts // // @public -export function EmptyState(props: Props_2): React_2.JSX.Element; +export function EmptyState(props: Props_2): JSX_2.Element; // @public (undocumented) export type EmptyStateClassKey = 'root' | 'action' | 'imageContainer'; @@ -372,7 +369,7 @@ export type EmptyStateImageClassKey = 'generalImg'; export const ErrorBoundary: ComponentClass; // @public (undocumented) -export type ErrorBoundaryProps = React_2.PropsWithChildren<{ +export type ErrorBoundaryProps = PropsWithChildren<{ slackChannel?: string | SlackChannel; onError?: (error: Error, errorInfo: string) => null; }>; @@ -380,7 +377,7 @@ export type ErrorBoundaryProps = React_2.PropsWithChildren<{ // Warning: (ae-forgotten-export) The symbol "IErrorPageProps" needs to be exported by the entry point index.d.ts // // @public -export function ErrorPage(props: IErrorPageProps): React_2.JSX.Element; +export function ErrorPage(props: IErrorPageProps): JSX_2.Element; // @public (undocumented) export type ErrorPageClassKey = 'container' | 'title' | 'subtitle'; @@ -388,7 +385,7 @@ export type ErrorPageClassKey = 'container' | 'title' | 'subtitle'; // @public export function ErrorPanel( props: PropsWithChildren, -): React_2.JSX.Element; +): JSX_2.Element; // @public (undocumented) export type ErrorPanelClassKey = 'text' | 'divider'; @@ -409,12 +406,12 @@ export function FavoriteToggle( isFavorite: boolean; onToggle: (value: boolean) => void; }, -): React_2.JSX.Element; +): JSX_2.Element; // @public export function FavoriteToggleIcon(props: { isFavorite: boolean; -}): React_2.JSX.Element; +}): JSX_2.Element; // @public (undocumented) export type FavoriteToggleIconClassKey = 'icon' | 'iconBorder'; @@ -434,18 +431,18 @@ export type FeatureCalloutCircleClassKey = // @public export function FeatureCalloutCircular( props: PropsWithChildren, -): React_2.JSX.Element; +): JSX_2.Element; // @public (undocumented) export type FiltersContainerClassKey = 'root' | 'title'; // @public -export function Gauge(props: GaugeProps): React_2.JSX.Element; +export function Gauge(props: GaugeProps): JSX_2.Element; // Warning: (ae-forgotten-export) The symbol "Props_10" needs to be exported by the entry point index.d.ts // // @public -export function GaugeCard(props: Props_10): React_2.JSX.Element; +export function GaugeCard(props: Props_10): JSX_2.Element; // @public (undocumented) export type GaugeCardClassKey = 'root'; @@ -484,20 +481,18 @@ export type GaugePropsGetColorOptions = { }; // @public (undocumented) -export function GitHubIcon(props: IconComponentProps): React_2.JSX.Element; +export function GitHubIcon(props: IconComponentProps): JSX_2.Element; // @public (undocumented) -export function GroupIcon(props: IconComponentProps): React_2.JSX.Element; +export function GroupIcon(props: IconComponentProps): JSX_2.Element; // Warning: (ae-forgotten-export) The symbol "Props_13" needs to be exported by the entry point index.d.ts // // @public -export function Header(props: PropsWithChildren): React_2.JSX.Element; +export function Header(props: PropsWithChildren): JSX_2.Element; // @public (undocumented) -export function HeaderActionMenu( - props: HeaderActionMenuProps, -): React_2.JSX.Element; +export function HeaderActionMenu(props: HeaderActionMenuProps): JSX_2.Element; // @public (undocumented) export type HeaderActionMenuItem = { @@ -505,7 +500,7 @@ export type HeaderActionMenuItem = { secondaryLabel?: ListItemTextProps['secondary']; icon?: ReactElement; disabled?: boolean; - onClick?: (event: React_2.MouseEvent) => void; + onClick?: (event: MouseEvent_2) => void; }; // @public (undocumented) @@ -528,7 +523,7 @@ export type HeaderClassKey = // Warning: (ae-forgotten-export) The symbol "Props_5" needs to be exported by the entry point index.d.ts // // @public -export function HeaderIconLinkRow(props: Props_5): React_2.JSX.Element; +export function HeaderIconLinkRow(props: Props_5): JSX_2.Element; // @public (undocumented) export type HeaderIconLinkRowClassKey = 'links'; @@ -536,7 +531,7 @@ export type HeaderIconLinkRowClassKey = 'links'; // Warning: (ae-forgotten-export) The symbol "HeaderLabelProps" needs to be exported by the entry point index.d.ts // // @public -export function HeaderLabel(props: HeaderLabelProps): React_2.JSX.Element; +export function HeaderLabel(props: HeaderLabelProps): JSX_2.Element; // @public (undocumented) export type HeaderLabelClassKey = 'root' | 'label' | 'value'; @@ -544,7 +539,7 @@ export type HeaderLabelClassKey = 'root' | 'label' | 'value'; // Warning: (ae-forgotten-export) The symbol "HeaderTabsProps" needs to be exported by the entry point index.d.ts // // @public -export function HeaderTabs(props: HeaderTabsProps): React_2.JSX.Element; +export function HeaderTabs(props: HeaderTabsProps): JSX_2.Element; // @public (undocumented) export type HeaderTabsClassKey = @@ -554,14 +549,14 @@ export type HeaderTabsClassKey = | 'tabRoot'; // @public (undocumented) -export function HelpIcon(props: IconComponentProps): React_2.JSX.Element; +export function HelpIcon(props: IconComponentProps): JSX_2.Element; // Warning: (ae-forgotten-export) The symbol "Props_6" needs to be exported by the entry point index.d.ts // // @public export function HorizontalScrollGrid( props: PropsWithChildren, -): React_2.JSX.Element; +): JSX_2.Element; // @public (undocumented) export type HorizontalScrollGridClassKey = @@ -587,7 +582,7 @@ export function IconLinkVertical({ label, onClick, title, -}: IconLinkVerticalProps): React_2.JSX.Element; +}: IconLinkVerticalProps): JSX_2.Element; // @public (undocumented) export type IconLinkVerticalClassKey = @@ -604,9 +599,9 @@ export type IconLinkVerticalProps = { color?: 'primary' | 'secondary'; disabled?: boolean; href?: string; - icon?: React_2.ReactNode; + icon?: ReactNode; label: string; - onClick?: React_2.MouseEventHandler; + onClick?: MouseEventHandler; title?: string; }; @@ -635,10 +630,10 @@ export type InfoCardVariants = 'flex' | 'fullHeight' | 'gridItem'; // Warning: (ae-missing-release-tag) "ItemCard" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @deprecated -export function ItemCard(props: ItemCardProps): React_2.JSX.Element; +export function ItemCard(props: ItemCardProps): JSX_2.Element; // @public -export function ItemCardGrid(props: ItemCardGridProps): React_2.JSX.Element; +export function ItemCardGrid(props: ItemCardGridProps): JSX_2.Element; // @public (undocumented) export type ItemCardGridClassKey = 'root'; @@ -647,11 +642,11 @@ export type ItemCardGridClassKey = 'root'; // // @public (undocumented) export type ItemCardGridProps = Partial> & { - children?: React_2.ReactNode; + children?: ReactNode; }; // @public -export function ItemCardHeader(props: ItemCardHeaderProps): React_2.JSX.Element; +export function ItemCardHeader(props: ItemCardHeaderProps): JSX_2.Element; // @public (undocumented) export type ItemCardHeaderClassKey = 'root'; @@ -660,16 +655,16 @@ export type ItemCardHeaderClassKey = 'root'; // // @public (undocumented) export type ItemCardHeaderProps = Partial> & { - title?: React_2.ReactNode; - subtitle?: React_2.ReactNode; - children?: React_2.ReactNode; + title?: ReactNode; + subtitle?: ReactNode; + children?: ReactNode; }; // Warning: (ae-forgotten-export) The symbol "Props_7" needs to be exported by the entry point index.d.ts // Warning: (ae-missing-release-tag) "Lifecycle" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function Lifecycle(props: Props_7): React_2.JSX.Element; +export function Lifecycle(props: Props_7): JSX_2.Element; // Warning: (ae-missing-release-tag) "LifecycleClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -680,7 +675,7 @@ export type LifecycleClassKey = 'alpha' | 'beta'; // Warning: (ae-missing-release-tag) "LinearGauge" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function LinearGauge(props: Props_11): React_2.JSX.Element | null; +export function LinearGauge(props: Props_11): JSX_2.Element | null; // Warning: (ae-missing-release-tag) "Link" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -714,7 +709,7 @@ export type LinkProps = Omit & export type LoginRequestListItemClassKey = 'root'; // @public -export function LogViewer(props: LogViewerProps): React_2.JSX.Element; +export function LogViewer(props: LogViewerProps): JSX_2.Element; // @public export type LogViewerClassKey = @@ -761,7 +756,7 @@ export interface LogViewerProps { // Warning: (ae-missing-release-tag) "MarkdownContent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function MarkdownContent(props: Props_8): React_2.JSX.Element; +export function MarkdownContent(props: Props_8): JSX_2.Element; // Warning: (ae-missing-release-tag) "MarkdownContentClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -796,24 +791,20 @@ export type MicDropClassKey = 'micDrop'; // Warning: (ae-forgotten-export) The symbol "Props_3" needs to be exported by the entry point index.d.ts // // @public @deprecated (undocumented) -export function MissingAnnotationEmptyState( - props: Props_3, -): React_2.JSX.Element; +export function MissingAnnotationEmptyState(props: Props_3): JSX_2.Element; // @public -export const MobileSidebar: ( - props: MobileSidebarProps, -) => React_2.JSX.Element | null; +export const MobileSidebar: (props: MobileSidebarProps) => JSX_2.Element | null; // @public export type MobileSidebarProps = { - children?: React_2.ReactNode; + children?: ReactNode; }; // Warning: (ae-missing-release-tag) "OAuthRequestDialog" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function OAuthRequestDialog(_props: {}): React_2.JSX.Element; +export function OAuthRequestDialog(_props: {}): JSX_2.Element; // Warning: (ae-missing-release-tag) "OAuthRequestDialogClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -833,7 +824,7 @@ export type OpenedDropdownClassKey = 'icon'; // Warning: (ae-missing-release-tag) "OverflowTooltip" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function OverflowTooltip(props: Props_9): React_2.JSX.Element; +export function OverflowTooltip(props: Props_9): JSX_2.Element; // Warning: (ae-missing-release-tag) "OverflowTooltipClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -844,7 +835,7 @@ export type OverflowTooltipClassKey = 'container'; // Warning: (ae-missing-release-tag) "Page" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function Page(props: Props_15): React_2.JSX.Element; +export function Page(props: Props_15): JSX_2.Element; // Warning: (ae-missing-release-tag) "PageClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -857,19 +848,19 @@ export type PageClassKey = 'root'; // @public (undocumented) export function PageWithHeader( props: PropsWithChildren, -): React_2.JSX.Element; +): JSX_2.Element; // Warning: (ae-missing-release-tag) "Progress" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export function Progress( props: PropsWithChildren, -): React_2.JSX.Element; +): JSX_2.Element; // @public export const ProxiedSignInPage: ( props: ProxiedSignInPageProps, -) => React_2.JSX.Element | null; +) => JSX_2.Element | null; // @public export type ProxiedSignInPageProps = SignInPageProps & { @@ -883,7 +874,7 @@ export type ProxiedSignInPageProps = SignInPageProps & { // Warning: (ae-missing-release-tag) "ResponseErrorPanel" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function ResponseErrorPanel(props: ErrorPanelProps): React_2.JSX.Element; +export function ResponseErrorPanel(props: ErrorPanelProps): JSX_2.Element; // Warning: (ae-missing-release-tag) "ResponseErrorPanelClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -893,14 +884,12 @@ export type ResponseErrorPanelClassKey = 'text' | 'divider'; // Warning: (ae-missing-release-tag) "RoutedTabs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function RoutedTabs(props: { - routes: SubRoute_2[]; -}): React_2.JSX.Element; +export function RoutedTabs(props: { routes: SubRoute_2[] }): JSX_2.Element; // Warning: (ae-forgotten-export) The symbol "SelectProps" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export function Select(props: SelectProps): React_2.JSX.Element; +export function Select(props: SelectProps): JSX_2.Element; // @public (undocumented) export type SelectClassKey = @@ -924,7 +913,7 @@ export type SelectItem = { }; // @public -export const Sidebar: (props: SidebarProps) => React_2.JSX.Element; +export const Sidebar: (props: SidebarProps) => JSX_2.Element; // Warning: (ae-missing-release-tag) "SIDEBAR_INTRO_LOCAL_STORAGE" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -955,7 +944,7 @@ export const sidebarConfig: { }; // @public @deprecated -export const SidebarContext: React_2.Context; +export const SidebarContext: Context; // @public @deprecated export type SidebarContextType = { @@ -976,14 +965,14 @@ export const SidebarDivider: ComponentType< export type SidebarDividerClassKey = 'root'; // @public -export const SidebarExpandButton: () => React_2.JSX.Element | null; +export const SidebarExpandButton: () => JSX_2.Element | null; // @public -export const SidebarGroup: (props: SidebarGroupProps) => React_2.JSX.Element; +export const SidebarGroup: (props: SidebarGroupProps) => JSX_2.Element; // @public export interface SidebarGroupProps extends BottomNavigationActionProps { - children?: React_2.ReactNode; + children?: ReactNode; priority?: number; to?: string; } @@ -1025,7 +1014,7 @@ export type SidebarOpenState = { export function SidebarOpenStateProvider(props: { children: ReactNode; value: SidebarOpenState; -}): React_2.JSX.Element; +}): JSX_2.Element; // @public (undocumented) export type SidebarOptions = { @@ -1036,7 +1025,7 @@ export type SidebarOptions = { // Warning: (ae-missing-release-tag) "SidebarPage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function SidebarPage(props: SidebarPageProps): React_2.JSX.Element; +export function SidebarPage(props: SidebarPageProps): JSX_2.Element; // Warning: (ae-missing-release-tag) "SidebarPageClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1045,7 +1034,7 @@ export type SidebarPageClassKey = 'root'; // @public export type SidebarPageProps = { - children?: React_2.ReactNode; + children?: ReactNode; }; // @public @@ -1056,7 +1045,7 @@ export type SidebarPinState = { }; // @public @deprecated -export const SidebarPinStateContext: React_2.Context; +export const SidebarPinStateContext: Context; // @public @deprecated export type SidebarPinStateContextType = { @@ -1069,7 +1058,7 @@ export type SidebarPinStateContextType = { export function SidebarPinStateProvider(props: { children: ReactNode; value: SidebarPinStateContextType; -}): React_2.JSX.Element; +}): JSX_2.Element; // @public (undocumented) export type SidebarProps = { @@ -1078,7 +1067,7 @@ export type SidebarProps = { sidebarOptions?: SidebarOptions; submenuOptions?: SubmenuOptions; disableExpandOnHover?: boolean; - children?: React_2.ReactNode; + children?: ReactNode; }; // Warning: (ae-missing-release-tag) "SidebarScrollWrapper" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -1094,7 +1083,7 @@ export const SidebarScrollWrapper: ComponentType< // @public (undocumented) export function SidebarSearchField( props: SidebarSearchFieldProps, -): React_2.JSX.Element; +): JSX_2.Element; // Warning: (ae-missing-release-tag) "SidebarSpace" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1121,9 +1110,7 @@ export const SidebarSpacer: ComponentType< export type SidebarSpacerClassKey = 'root'; // @public -export const SidebarSubmenu: ( - props: SidebarSubmenuProps, -) => React_2.JSX.Element; +export const SidebarSubmenu: (props: SidebarSubmenuProps) => JSX_2.Element; // @public (undocumented) export type SidebarSubmenuClassKey = 'root' | 'drawer' | 'drawerOpen' | 'title'; @@ -1131,7 +1118,7 @@ export type SidebarSubmenuClassKey = 'root' | 'drawer' | 'drawerOpen' | 'title'; // @public export const SidebarSubmenuItem: ( props: SidebarSubmenuItemProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public (undocumented) export type SidebarSubmenuItemClassKey = @@ -1172,7 +1159,7 @@ export type SidebarSubmenuProps = { // Warning: (ae-missing-release-tag) "SignInPage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function SignInPage(props: Props_16): React_2.JSX.Element; +export function SignInPage(props: Props_16): JSX_2.Element; // Warning: (ae-missing-release-tag) "SignInPageClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1195,7 +1182,7 @@ export type SignInProviderConfig = { // @public (undocumented) export function SimpleStepper( props: PropsWithChildren, -): React_2.JSX.Element; +): JSX_2.Element; // Warning: (ae-missing-release-tag) "SimpleStepperFooterClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1208,7 +1195,7 @@ export type SimpleStepperFooterClassKey = 'root'; // @public (undocumented) export function SimpleStepperStep( props: PropsWithChildren, -): React_2.JSX.Element; +): JSX_2.Element; // Warning: (ae-missing-release-tag) "SimpleStepperStepClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1219,14 +1206,12 @@ export type SimpleStepperStepClassKey = 'end'; export type StackDetailsClassKey = 'title'; // @public (undocumented) -export function StarIcon(props: IconComponentProps): React_2.JSX.Element; +export function StarIcon(props: IconComponentProps): JSX_2.Element; // Warning: (ae-missing-release-tag) "StatusAborted" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function StatusAborted( - props: PropsWithChildren<{}>, -): React_2.JSX.Element; +export function StatusAborted(props: PropsWithChildren<{}>): JSX_2.Element; // Warning: (ae-missing-release-tag) "StatusClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1243,38 +1228,32 @@ export type StatusClassKey = // Warning: (ae-missing-release-tag) "StatusError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function StatusError(props: PropsWithChildren<{}>): React_2.JSX.Element; +export function StatusError(props: PropsWithChildren<{}>): JSX_2.Element; // Warning: (ae-missing-release-tag) "StatusOK" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function StatusOK(props: PropsWithChildren<{}>): React_2.JSX.Element; +export function StatusOK(props: PropsWithChildren<{}>): JSX_2.Element; // Warning: (ae-missing-release-tag) "StatusPending" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function StatusPending( - props: PropsWithChildren<{}>, -): React_2.JSX.Element; +export function StatusPending(props: PropsWithChildren<{}>): JSX_2.Element; // Warning: (ae-missing-release-tag) "StatusRunning" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function StatusRunning( - props: PropsWithChildren<{}>, -): React_2.JSX.Element; +export function StatusRunning(props: PropsWithChildren<{}>): JSX_2.Element; // Warning: (ae-missing-release-tag) "StatusWarning" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function StatusWarning( - props: PropsWithChildren<{}>, -): React_2.JSX.Element; +export function StatusWarning(props: PropsWithChildren<{}>): JSX_2.Element; // @public (undocumented) export function StructuredMetadataTable( props: StructuredMetadataTableProps, -): React_2.JSX.Element; +): JSX_2.Element; // Warning: (ae-missing-release-tag) "StructuredMetadataTableListClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1311,7 +1290,7 @@ export type SubmenuOptions = { // Warning: (ae-missing-release-tag) "SubvalueCell" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function SubvalueCell(props: SubvalueCellProps): React_2.JSX.Element; +export function SubvalueCell(props: SubvalueCellProps): JSX_2.Element; // Warning: (ae-missing-release-tag) "SubvalueCellClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1322,9 +1301,7 @@ export type SubvalueCellClassKey = 'value' | 'subvalue'; // Warning: (ae-missing-release-tag) "SupportButton" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function SupportButton( - props: SupportButtonProps, -): React_2.JSX.Element | null; +export function SupportButton(props: SupportButtonProps): JSX_2.Element | null; // Warning: (ae-missing-release-tag) "SupportButtonClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1363,9 +1340,9 @@ export type Tab = { id: string; label: string; tabProps?: TabProps< - React_2.ElementType, + ElementType, { - component?: React_2.ElementType; + component?: ElementType; } >; }; @@ -1374,9 +1351,7 @@ export type Tab = { // Warning: (ae-missing-release-tag) "TabbedCard" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export function TabbedCard( - props: PropsWithChildren, -): React_2.JSX.Element; +export function TabbedCard(props: PropsWithChildren): JSX_2.Element; // Warning: (ae-missing-release-tag) "TabbedCardClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1387,7 +1362,7 @@ export type TabbedCardClassKey = 'root' | 'indicator'; // Warning: (ae-missing-release-tag) "TabbedLayout" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function TabbedLayout(props: PropsWithChildren<{}>): React_2.JSX.Element; +export function TabbedLayout(props: PropsWithChildren<{}>): JSX_2.Element; // @public (undocumented) export namespace TabbedLayout { @@ -1402,7 +1377,7 @@ export namespace TabbedLayout { // @public (undocumented) export function Table( props: TableProps, -): React_2.JSX.Element; +): JSX_2.Element; // @public (undocumented) export namespace Table { @@ -1491,15 +1466,15 @@ export function TrendLine( Pick & { title?: string; }, -): React_2.JSX.Element | null; +): JSX_2.Element | null; // @public (undocumented) -export function UnstarredIcon(props: IconComponentProps): React_2.JSX.Element; +export function UnstarredIcon(props: IconComponentProps): JSX_2.Element; // @public export function useContent(): { focusContent: () => void; - contentRef: React_2.MutableRefObject | undefined; + contentRef: MutableRefObject | undefined; }; // Warning: (ae-forgotten-export) The symbol "SetQueryParams" needs to be exported by the entry point index.d.ts @@ -1512,7 +1487,7 @@ export function useQueryParamState( ): [T | undefined, SetQueryParams]; // @public (undocumented) -export function UserIcon(props: IconComponentProps): React_2.JSX.Element; +export function UserIcon(props: IconComponentProps): JSX_2.Element; // @public export class UserIdentity implements IdentityApi { @@ -1551,13 +1526,13 @@ export const useSidebarPinState: () => SidebarPinState; export function useSupportConfig(): SupportConfig; // @public (undocumented) -export function WarningIcon(props: IconComponentProps): React_2.JSX.Element; +export function WarningIcon(props: IconComponentProps): JSX_2.Element; // Warning: (ae-forgotten-export) The symbol "WarningProps" needs to be exported by the entry point index.d.ts // Warning: (ae-missing-release-tag) "WarningPanel" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public -export function WarningPanel(props: WarningProps): React_2.JSX.Element; +export function WarningPanel(props: WarningProps): JSX_2.Element; // Warning: (ae-missing-release-tag) "WarningPanelClassKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // @@ -1573,7 +1548,7 @@ export type WarningPanelClassKey = // // src/components/DependencyGraph/types.d.ts:22:9 - (ae-unresolved-link) The @link reference could not be resolved: The package "@backstage/core-components" does not have an export "DependencyNode" // src/components/DependencyGraph/types.d.ts:26:9 - (ae-unresolved-link) The @link reference could not be resolved: The package "@backstage/core-components" does not have an export "DependencyNode" -// src/components/TabbedLayout/RoutedTabs.d.ts:9:5 - (ae-forgotten-export) The symbol "SubRoute_2" needs to be exported by the entry point index.d.ts +// src/components/TabbedLayout/RoutedTabs.d.ts:8:5 - (ae-forgotten-export) The symbol "SubRoute_2" needs to be exported by the entry point index.d.ts // src/components/Table/Table.d.ts:20:5 - (ae-forgotten-export) The symbol "SelectedFilters" needs to be exported by the entry point index.d.ts // src/layout/ErrorBoundary/ErrorBoundary.d.ts:8:5 - (ae-forgotten-export) The symbol "SlackChannel" needs to be exported by the entry point index.d.ts ``` diff --git a/packages/core-plugin-api/report.api.md b/packages/core-plugin-api/report.api.md index 762d07ff36..d29c611abb 100644 --- a/packages/core-plugin-api/report.api.md +++ b/packages/core-plugin-api/report.api.md @@ -9,9 +9,9 @@ import { Config } from '@backstage/config'; import { IconComponent as IconComponent_2 } from '@backstage/core-plugin-api'; import { IdentityApi as IdentityApi_2 } from '@backstage/core-plugin-api'; import { JsonValue } from '@backstage/types'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { Observable } from '@backstage/types'; import { PropsWithChildren } from 'react'; -import { default as React_2 } from 'react'; import { ReactElement } from 'react'; import { ReactNode } from 'react'; @@ -43,7 +43,7 @@ export const analyticsApiRef: ApiRef; export const AnalyticsContext: (options: { attributes: Partial; children: ReactNode; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public export type AnalyticsContextValue = CommonAnalyticsContext & { @@ -787,9 +787,9 @@ export const vmwareCloudAuthApiRef: ApiRef< export function withApis( apis: TypesToApiRefs, ): ( - WrappedComponent: React_2.ComponentType, + WrappedComponent: ComponentType, ) => { - (props: PropsWithChildren>): React_2.JSX.Element; + (props: PropsWithChildren>): JSX_2.Element; displayName: string; }; ``` diff --git a/packages/dev-utils/report.api.md b/packages/dev-utils/report.api.md index 6a92e2bcbc..4750c157d2 100644 --- a/packages/dev-utils/report.api.md +++ b/packages/dev-utils/report.api.md @@ -10,8 +10,8 @@ import { ComponentType } from 'react'; import { Entity } from '@backstage/catalog-model'; import { GridProps } from '@material-ui/core/Grid'; import { IconComponent } from '@backstage/core-plugin-api'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { PropsWithChildren } from 'react'; -import { default as React_2 } from 'react'; import { ReactNode } from 'react'; import { SignInProviderConfig } from '@backstage/core-components'; import { TranslationResource } from '@backstage/core-plugin-api/alpha'; @@ -58,11 +58,11 @@ export const EntityGridItem: ( ) => JSX.Element; // @public (undocumented) -export const SidebarLanguageSwitcher: () => React_2.JSX.Element | null; +export const SidebarLanguageSwitcher: () => JSX_2.Element | null; // @public export const SidebarSignOutButton: (props: { icon?: IconComponent; text?: string; -}) => React_2.JSX.Element; +}) => JSX_2.Element; ``` diff --git a/packages/frontend-defaults/report.api.md b/packages/frontend-defaults/report.api.md index 8bfe2ee017..e9bcd99920 100644 --- a/packages/frontend-defaults/report.api.md +++ b/packages/frontend-defaults/report.api.md @@ -10,7 +10,6 @@ import { ExtensionFactoryMiddleware } from '@backstage/frontend-plugin-api'; import { FrontendFeature } from '@backstage/frontend-plugin-api'; import { FrontendFeatureLoader } from '@backstage/frontend-plugin-api'; import { JSX as JSX_2 } from 'react'; -import { default as React_2 } from 'react'; import { ReactNode } from 'react'; // @public @@ -49,7 +48,7 @@ export interface CreateAppOptions { // @public export function createPublicSignInApp(options?: CreateAppOptions): { - createRoot(): React_2.JSX.Element; + createRoot(): JSX_2; }; // @public (undocumented) diff --git a/packages/frontend-plugin-api/report.api.md b/packages/frontend-plugin-api/report.api.md index a8b5937af1..0d29eec03f 100644 --- a/packages/frontend-plugin-api/report.api.md +++ b/packages/frontend-plugin-api/report.api.md @@ -52,7 +52,8 @@ import { IconComponent as IconComponent_2 } from '@backstage/core-plugin-api'; import { IdentityApi } from '@backstage/core-plugin-api'; import { identityApiRef } from '@backstage/core-plugin-api'; import { JsonObject } from '@backstage/types'; -import { JSX as JSX_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; +import { JSX as JSX_3 } from 'react'; import { microsoftAuthApiRef } from '@backstage/core-plugin-api'; import { OAuthApi } from '@backstage/core-plugin-api'; import { OAuthRequestApi } from '@backstage/core-plugin-api'; @@ -67,7 +68,6 @@ import { PendingOAuthRequest } from '@backstage/core-plugin-api'; import { ProfileInfo } from '@backstage/core-plugin-api'; import { ProfileInfoApi } from '@backstage/core-plugin-api'; import { PropsWithChildren } from 'react'; -import { default as React_2 } from 'react'; import { ReactNode } from 'react'; import { SessionApi } from '@backstage/core-plugin-api'; import { SessionState } from '@backstage/core-plugin-api'; @@ -107,7 +107,7 @@ export const analyticsApiRef: ApiRef; export const AnalyticsContext: (options: { attributes: Partial; children: ReactNode; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public export type AnalyticsContextValue = CommonAnalyticsContext & { @@ -245,7 +245,7 @@ export const AppRootElementBlueprint: ExtensionBlueprint<{ params: { element: JSX.Element | (() => JSX.Element); }; - output: ConfigurableExtensionDataRef; + output: ConfigurableExtensionDataRef; inputs: {}; config: {}; configInput: {}; @@ -260,8 +260,8 @@ export const AppRootWrapperBlueprint: ExtensionBlueprint<{ Component: ComponentType>; }; output: ConfigurableExtensionDataRef< - React_2.ComponentType<{ - children?: React_2.ReactNode | undefined; + ComponentType<{ + children?: ReactNode | undefined; }>, 'app.root.wrapper', {} @@ -271,8 +271,8 @@ export const AppRootWrapperBlueprint: ExtensionBlueprint<{ configInput: {}; dataRefs: { component: ConfigurableExtensionDataRef< - React_2.ComponentType<{ - children?: React_2.ReactNode | undefined; + ComponentType<{ + children?: ReactNode | undefined; }>, 'app.root.wrapper', {} @@ -384,7 +384,7 @@ export type CoreErrorBoundaryFallbackProps = { // @public (undocumented) export const coreExtensionData: { reactElement: ConfigurableExtensionDataRef< - JSX_2.Element, + JSX_3.Element, 'core.reactElement', {} >; @@ -1009,9 +1009,7 @@ export type ExtensionBlueprintParameters = { }; // @public (undocumented) -export function ExtensionBoundary( - props: ExtensionBoundaryProps, -): React_2.JSX.Element; +export function ExtensionBoundary(props: ExtensionBoundaryProps): JSX_2.Element; // @public (undocumented) export namespace ExtensionBoundary { @@ -1462,7 +1460,7 @@ export const PageBlueprint: ExtensionBlueprint<{ routeRef?: RouteRef; }; output: - | ConfigurableExtensionDataRef + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< RouteRef, @@ -1678,7 +1676,7 @@ export const SignInPageBlueprint: ExtensionBlueprint<{ loader: () => Promise>; }; output: ConfigurableExtensionDataRef< - React_2.ComponentType, + ComponentType, 'core.sign-in-page.component', {} >; @@ -1687,7 +1685,7 @@ export const SignInPageBlueprint: ExtensionBlueprint<{ configInput: {}; dataRefs: { component: ConfigurableExtensionDataRef< - React_2.ComponentType, + ComponentType, 'core.sign-in-page.component', {} >; diff --git a/packages/integration-react/report.api.md b/packages/integration-react/report.api.md index 8d02c46010..78da2eb5fa 100644 --- a/packages/integration-react/report.api.md +++ b/packages/integration-react/report.api.md @@ -8,10 +8,10 @@ import { ApiRef } from '@backstage/core-plugin-api'; import { AuthRequestOptions } from '@backstage/core-plugin-api'; import { BackstageIdentityApi } from '@backstage/core-plugin-api'; import { Config } from '@backstage/config'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { OAuthApi } from '@backstage/core-plugin-api'; import { OpenIdConnectApi } from '@backstage/core-plugin-api'; import { ProfileInfoApi } from '@backstage/core-plugin-api'; -import { default as React_2 } from 'react'; import { ScmIntegrationRegistry } from '@backstage/integration'; import { SessionApi } from '@backstage/core-plugin-api'; @@ -121,7 +121,7 @@ export interface ScmAuthTokenResponse { // @public export const ScmIntegrationIcon: ( props: ScmIntegrationIconProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export type ScmIntegrationIconProps = { diff --git a/packages/test-utils/report.api.md b/packages/test-utils/report.api.md index 3fbd2a9c91..b3cf84b5ae 100644 --- a/packages/test-utils/report.api.md +++ b/packages/test-utils/report.api.md @@ -27,11 +27,11 @@ import { IconComponent } from '@backstage/core-plugin-api'; import { IdentityApi } from '@backstage/core-plugin-api'; import { JsonObject } from '@backstage/types'; import { JsonValue } from '@backstage/types'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { MatcherFunction } from '@testing-library/react'; import { Observable } from '@backstage/types'; import { PermissionApi } from '@backstage/plugin-permission-react'; import { PropsWithChildren } from 'react'; -import { default as React_2 } from 'react'; import { ReactElement } from 'react'; import { ReactNode } from 'react'; import { RenderOptions } from '@testing-library/react'; @@ -342,7 +342,7 @@ export type SyncLogCollector = () => void; // @public export const TestApiProvider: ( props: TestApiProviderProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export type TestApiProviderProps = { diff --git a/plugins/api-docs-module-protoc-gen-doc/report.api.md b/plugins/api-docs-module-protoc-gen-doc/report.api.md index 836f8313d8..3e0f57d544 100644 --- a/plugins/api-docs-module-protoc-gen-doc/report.api.md +++ b/plugins/api-docs-module-protoc-gen-doc/report.api.md @@ -3,12 +3,12 @@ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; // @public (undocumented) export const grpcDocsApiWidget: { type: string; title: string; - component: (definition: string) => React_2.JSX.Element; + component: (definition: string) => JSX_2.Element; }; ``` diff --git a/plugins/api-docs/report-alpha.api.md b/plugins/api-docs/report-alpha.api.md index 25fda584e1..4c00eb2d0c 100644 --- a/plugins/api-docs/report-alpha.api.md +++ b/plugins/api-docs/report-alpha.api.md @@ -16,7 +16,7 @@ import { ExtensionInput } from '@backstage/frontend-plugin-api'; import { ExternalRouteRef } from '@backstage/frontend-plugin-api'; import { FrontendPlugin } from '@backstage/frontend-plugin-api'; import { IconComponent } from '@backstage/core-plugin-api'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react'; import { RouteRef } from '@backstage/frontend-plugin-api'; // @public (undocumented) @@ -48,18 +48,14 @@ const _default: FrontendPlugin< name: 'consumed-apis'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< (entity: Entity) => boolean, 'catalog.entity-filter-function', @@ -93,18 +89,14 @@ const _default: FrontendPlugin< name: 'consuming-components'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< (entity: Entity) => boolean, 'catalog.entity-filter-function', @@ -138,18 +130,14 @@ const _default: FrontendPlugin< name: 'definition'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< (entity: Entity) => boolean, 'catalog.entity-filter-function', @@ -183,18 +171,14 @@ const _default: FrontendPlugin< name: 'has-apis'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< (entity: Entity) => boolean, 'catalog.entity-filter-function', @@ -228,18 +212,14 @@ const _default: FrontendPlugin< name: 'provided-apis'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< (entity: Entity) => boolean, 'catalog.entity-filter-function', @@ -273,18 +253,14 @@ const _default: FrontendPlugin< name: 'providing-components'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< (entity: Entity) => boolean, 'catalog.entity-filter-function', @@ -329,11 +305,7 @@ const _default: FrontendPlugin< group?: string | false | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< RouteRef, @@ -394,11 +366,7 @@ const _default: FrontendPlugin< group?: string | false | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< RouteRef, @@ -476,11 +444,7 @@ const _default: FrontendPlugin< path?: string | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< RouteRef, diff --git a/plugins/api-docs/report.api.md b/plugins/api-docs/report.api.md index 68b5fd0df9..fb37b2b33b 100644 --- a/plugins/api-docs/report.api.md +++ b/plugins/api-docs/report.api.md @@ -12,8 +12,8 @@ import { EntityListPagination } from '@backstage/plugin-catalog-react'; import { EntityOwnerPickerProps } from '@backstage/plugin-catalog-react'; import { ExternalRouteRef } from '@backstage/core-plugin-api'; import { InfoCardVariants } from '@backstage/core-components'; -import { JSX as JSX_2 } from 'react'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; +import { ReactElement } from 'react'; import { RouteRef } from '@backstage/core-plugin-api'; import { TableColumn } from '@backstage/core-components'; import { TableOptions } from '@backstage/core-components'; @@ -21,20 +21,20 @@ import { TableProps } from '@backstage/core-components'; import { UserListFilterKind } from '@backstage/plugin-catalog-react'; // @public (undocumented) -export const ApiDefinitionCard: () => React_2.JSX.Element; +export const ApiDefinitionCard: () => JSX_2.Element; // @public export function ApiDefinitionDialog(props: { open: boolean; entity: ApiEntity; onClose: () => void; -}): React_2.JSX.Element; +}): JSX_2.Element; // @public (undocumented) export type ApiDefinitionWidget = { type: string; title: string; - component: (definition: string) => React_2.ReactElement; + component: (definition: string) => ReactElement; rawLanguage?: string; }; @@ -64,7 +64,7 @@ export { apiDocsPlugin as plugin }; // @public export const ApiExplorerIndexPage: ( props: DefaultApiExplorerPageProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public (undocumented) export const ApiExplorerPage: ( @@ -72,14 +72,12 @@ export const ApiExplorerPage: ( ) => JSX_2.Element; // @public (undocumented) -export const ApiTypeTitle: (props: { - apiEntity: ApiEntity; -}) => React_2.JSX.Element; +export const ApiTypeTitle: (props: { apiEntity: ApiEntity }) => JSX_2.Element; // @public (undocumented) export const AsyncApiDefinitionWidget: ( props: AsyncApiDefinitionWidgetProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public (undocumented) export type AsyncApiDefinitionWidgetProps = { @@ -101,18 +99,18 @@ export const ConsumedApisCard: (props: { title?: string; columns?: TableColumn[]; tableOptions?: TableOptions; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public (undocumented) export const ConsumingComponentsCard: (props: { variant?: InfoCardVariants; columns?: TableColumn[]; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public export const DefaultApiExplorerPage: ( props: DefaultApiExplorerPageProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export type DefaultApiExplorerPageProps = { @@ -168,7 +166,7 @@ export const EntityProvidingComponentsCard: (props: { // @public (undocumented) export const GraphQlDefinitionWidget: ( props: GraphQlDefinitionWidgetProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public (undocumented) export type GraphQlDefinitionWidgetProps = { @@ -181,12 +179,12 @@ export const HasApisCard: (props: { title?: string; columns?: TableColumn[]; tableOptions?: TableOptions; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public (undocumented) export const OpenApiDefinitionWidget: ( props: OpenApiDefinitionWidgetProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public (undocumented) export type OpenApiDefinitionWidgetProps = { @@ -198,7 +196,7 @@ export type OpenApiDefinitionWidgetProps = { // @public (undocumented) export const PlainApiDefinitionWidget: ( props: PlainApiDefinitionWidgetProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public (undocumented) export type PlainApiDefinitionWidgetProps = { @@ -212,18 +210,18 @@ export const ProvidedApisCard: (props: { title?: string; columns?: TableColumn[]; tableOptions?: TableOptions; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public (undocumented) export const ProvidingComponentsCard: (props: { variant?: InfoCardVariants; columns?: TableColumn[]; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public (undocumented) export const TrpcApiDefinitionWidget: ( props: TrpcApiDefinitionWidgetProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public (undocumented) export type TrpcApiDefinitionWidgetProps = { diff --git a/plugins/app-visualizer/report.api.md b/plugins/app-visualizer/report.api.md index 00470e6044..370647afc9 100644 --- a/plugins/app-visualizer/report.api.md +++ b/plugins/app-visualizer/report.api.md @@ -8,7 +8,7 @@ import { ConfigurableExtensionDataRef } from '@backstage/frontend-plugin-api'; import { ExtensionDefinition } from '@backstage/frontend-plugin-api'; import { FrontendPlugin } from '@backstage/frontend-plugin-api'; import { IconComponent } from '@backstage/core-plugin-api'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react'; import { RouteRef } from '@backstage/frontend-plugin-api'; // @public (undocumented) @@ -47,11 +47,7 @@ const visualizerPlugin: FrontendPlugin< path?: string | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< RouteRef, diff --git a/plugins/app/report.api.md b/plugins/app/report.api.md index 3654a3965a..addbc8dce2 100644 --- a/plugins/app/report.api.md +++ b/plugins/app/report.api.md @@ -678,15 +678,15 @@ const appPlugin: FrontendPlugin< config: { transientTimeoutMs: number; anchorOrigin: { - horizontal: 'center' | 'left' | 'right'; vertical: 'top' | 'bottom'; + horizontal: 'center' | 'left' | 'right'; }; }; configInput: { anchorOrigin?: | { - horizontal?: 'center' | 'left' | 'right' | undefined; vertical?: 'top' | 'bottom' | undefined; + horizontal?: 'center' | 'left' | 'right' | undefined; } | undefined; transientTimeoutMs?: number | undefined; diff --git a/plugins/auth-react/report.api.md b/plugins/auth-react/report.api.md index d5206261d2..dbbdeb86e3 100644 --- a/plugins/auth-react/report.api.md +++ b/plugins/auth-react/report.api.md @@ -3,11 +3,11 @@ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { ReactNode } from 'react'; // @public -export function CookieAuthRedirect(): React_2.JSX.Element | null; +export function CookieAuthRedirect(): JSX_2.Element | null; // @public export function CookieAuthRefreshProvider( diff --git a/plugins/catalog-graph/report-alpha.api.md b/plugins/catalog-graph/report-alpha.api.md index 0687efce05..873aaee1bd 100644 --- a/plugins/catalog-graph/report-alpha.api.md +++ b/plugins/catalog-graph/report-alpha.api.md @@ -14,7 +14,7 @@ import { ExtensionDefinition } from '@backstage/frontend-plugin-api'; import { ExtensionInput } from '@backstage/frontend-plugin-api'; import { ExternalRouteRef } from '@backstage/frontend-plugin-api'; import { FrontendPlugin } from '@backstage/frontend-plugin-api'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react'; import { RouteRef } from '@backstage/frontend-plugin-api'; // @public (undocumented) @@ -24,8 +24,8 @@ const _default: FrontendPlugin< }, { catalogEntity: ExternalRouteRef<{ - name: string; kind: string; + name: string; namespace: string; }>; }, @@ -45,15 +45,15 @@ const _default: FrontendPlugin< height: number | undefined; } & { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { + relations?: string[] | undefined; + title?: string | undefined; height?: number | undefined; - curve?: 'curveStepBefore' | 'curveMonotoneX' | undefined; direction?: Direction | undefined; zoom?: 'disabled' | 'enabled' | 'enable-on-click' | undefined; - title?: string | undefined; - relations?: string[] | undefined; + curve?: 'curveStepBefore' | 'curveMonotoneX' | undefined; maxDepth?: number | undefined; kinds?: string[] | undefined; unidirectional?: boolean | undefined; @@ -61,14 +61,10 @@ const _default: FrontendPlugin< relationPairs?: [string, string][] | undefined; } & { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< (entity: Entity) => boolean, 'catalog.entity-filter-function', @@ -126,10 +122,10 @@ const _default: FrontendPlugin< path: string | undefined; }; configInput: { - curve?: 'curveStepBefore' | 'curveMonotoneX' | undefined; + relations?: string[] | undefined; direction?: Direction | undefined; zoom?: 'disabled' | 'enabled' | 'enable-on-click' | undefined; - relations?: string[] | undefined; + curve?: 'curveStepBefore' | 'curveMonotoneX' | undefined; rootEntityRefs?: string[] | undefined; maxDepth?: number | undefined; kinds?: string[] | undefined; @@ -143,11 +139,7 @@ const _default: FrontendPlugin< path?: string | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< RouteRef, diff --git a/plugins/catalog-graph/report.api.md b/plugins/catalog-graph/report.api.md index 925b95e6d4..20ec9d56a0 100644 --- a/plugins/catalog-graph/report.api.md +++ b/plugins/catalog-graph/report.api.md @@ -10,10 +10,9 @@ import { Entity } from '@backstage/catalog-model'; import { ExternalRouteRef } from '@backstage/core-plugin-api'; import { InfoCardVariants } from '@backstage/core-components'; import { JsonObject } from '@backstage/types'; -import { JSX as JSX_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { MouseEvent as MouseEvent_2 } from 'react'; import { MouseEventHandler } from 'react'; -import { default as React_2 } from 'react'; import { ReactNode } from 'react'; import { RouteRef } from '@backstage/core-plugin-api'; @@ -45,8 +44,8 @@ export const catalogGraphPlugin: BackstagePlugin< { catalogEntity: ExternalRouteRef< { - name: string; kind: string; + name: string; namespace: string; }, true @@ -109,7 +108,7 @@ export type EntityNodeData = { // @public export const EntityRelationsGraph: ( props: EntityRelationsGraphProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public (undocumented) export type EntityRelationsGraphClassKey = 'progress' | 'container' | 'graph'; diff --git a/plugins/catalog-import/report-alpha.api.md b/plugins/catalog-import/report-alpha.api.md index 4cbcc8e7c1..24789a42e4 100644 --- a/plugins/catalog-import/report-alpha.api.md +++ b/plugins/catalog-import/report-alpha.api.md @@ -8,7 +8,7 @@ import { AnyRouteRefParams } from '@backstage/frontend-plugin-api'; import { ConfigurableExtensionDataRef } from '@backstage/frontend-plugin-api'; import { ExtensionDefinition } from '@backstage/frontend-plugin-api'; import { FrontendPlugin } from '@backstage/frontend-plugin-api'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react'; import { RouteRef } from '@backstage/frontend-plugin-api'; import { TranslationRef } from '@backstage/core-plugin-api/alpha'; @@ -53,11 +53,7 @@ const _default: FrontendPlugin< path?: string | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< RouteRef, diff --git a/plugins/catalog-import/report.api.md b/plugins/catalog-import/report.api.md index 66a39e8b90..9bc71a4296 100644 --- a/plugins/catalog-import/report.api.md +++ b/plugins/catalog-import/report.api.md @@ -6,6 +6,7 @@ import { ApiRef } from '@backstage/core-plugin-api'; import { BackstagePlugin } from '@backstage/core-plugin-api'; import { CatalogApi } from '@backstage/catalog-client'; +import { ComponentProps } from 'react'; import { CompoundEntityRef } from '@backstage/catalog-model'; import { ConfigApi } from '@backstage/core-plugin-api'; import { Controller } from 'react-hook-form'; @@ -14,9 +15,10 @@ import { Entity } from '@backstage/catalog-model'; import { FetchApi } from '@backstage/core-plugin-api'; import { FieldErrors } from 'react-hook-form'; import { InfoCardVariants } from '@backstage/core-components'; -import { JSX as JSX_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { NestedValue } from 'react-hook-form'; -import { default as React_2 } from 'react'; +import { ReactElement } from 'react'; +import { ReactNode } from 'react'; import { RouteRef } from '@backstage/core-plugin-api'; import { ScmAuthApi } from '@backstage/integration-react'; import { ScmIntegrationRegistry } from '@backstage/integration'; @@ -45,7 +47,7 @@ export type AnalyzeResult = // @public export const AutocompleteTextField: ( props: AutocompleteTextFieldProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export interface AutocompleteTextFieldProps { @@ -54,7 +56,7 @@ export interface AutocompleteTextFieldProps { // (undocumented) errors?: FieldErrors; // (undocumented) - helperText?: React_2.ReactNode; + helperText?: ReactNode; // (undocumented) loading?: boolean; // (undocumented) @@ -66,7 +68,7 @@ export interface AutocompleteTextFieldProps { // (undocumented) required?: boolean; // (undocumented) - rules?: React_2.ComponentProps['rules']; + rules?: ComponentProps['rules']; // (undocumented) textFieldProps?: Omit; } @@ -146,21 +148,21 @@ export function defaultGenerateStepper( ): StepperProvider; // @public -export const DefaultImportPage: () => React_2.JSX.Element; +export const DefaultImportPage: () => JSX_2.Element; // @public export const EntityListComponent: ( props: EntityListComponentProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export interface EntityListComponentProps { // (undocumented) collapsed?: boolean; // (undocumented) - firstListItem?: React_2.ReactElement; + firstListItem?: ReactElement; // (undocumented) - locationListItemIcon: (target: string) => React_2.ReactElement; + locationListItemIcon: (target: string) => ReactElement; // (undocumented) locations: Array<{ target: string; @@ -180,9 +182,7 @@ export type ImportFlows = | 'no-location'; // @public -export const ImportInfoCard: ( - props: ImportInfoCardProps, -) => React_2.JSX.Element; +export const ImportInfoCard: (props: ImportInfoCardProps) => JSX_2.Element; // @public export interface ImportInfoCardProps { @@ -205,7 +205,7 @@ export type ImportState = State & { }; // @public -export const ImportStepper: (props: ImportStepperProps) => React_2.JSX.Element; +export const ImportStepper: (props: ImportStepperProps) => JSX_2.Element; // @public export interface ImportStepperProps { @@ -223,7 +223,7 @@ export interface ImportStepperProps { // @public export const PreparePullRequestForm: >( props: PreparePullRequestFormProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export type PreparePullRequestFormProps< @@ -237,7 +237,7 @@ export type PreparePullRequestFormProps< > & { values: TFieldValues; }, - ) => React_2.ReactNode; + ) => ReactNode; }; // @public @@ -266,7 +266,7 @@ export type PrepareResult = // @public export const PreviewCatalogInfoComponent: ( props: PreviewCatalogInfoComponentProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export interface PreviewCatalogInfoComponentProps { @@ -284,7 +284,7 @@ export interface PreviewCatalogInfoComponentProps { // @public export const PreviewPullRequestComponent: ( props: PreviewPullRequestComponentProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export interface PreviewPullRequestComponentProps { @@ -302,7 +302,7 @@ export interface PreviewPullRequestComponentProps { // @public export const StepInitAnalyzeUrl: ( props: StepInitAnalyzeUrlProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export interface StepInitAnalyzeUrlProps { @@ -326,7 +326,7 @@ export interface StepInitAnalyzeUrlProps { // @public export const StepPrepareCreatePullRequest: ( props: StepPrepareCreatePullRequestProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export interface StepPrepareCreatePullRequestProps { @@ -358,7 +358,7 @@ export interface StepPrepareCreatePullRequestProps { groups: string[]; groupsLoading: boolean; }, - ) => React_2.ReactNode; + ) => ReactNode; } // @public @deprecated diff --git a/plugins/catalog-react/report-alpha.api.md b/plugins/catalog-react/report-alpha.api.md index f3aaf6af9a..0dcc48fc35 100644 --- a/plugins/catalog-react/report-alpha.api.md +++ b/plugins/catalog-react/report-alpha.api.md @@ -11,7 +11,6 @@ import { ExtensionBlueprint } from '@backstage/frontend-plugin-api'; import { ExtensionDefinition } from '@backstage/frontend-plugin-api'; import { JsonValue } from '@backstage/types'; import { JSX as JSX_2 } from 'react'; -import { default as React_2 } from 'react'; import { ResourcePermission } from '@backstage/plugin-permission-common'; import { RouteRef } from '@backstage/frontend-plugin-api'; import { TranslationRef } from '@backstage/core-plugin-api/alpha'; @@ -56,15 +55,15 @@ export const catalogReactTranslationRef: TranslationRef< readonly 'inspectEntityDialog.title': 'Entity Inspector'; readonly 'inspectEntityDialog.closeButtonTitle': 'Close'; readonly 'inspectEntityDialog.ancestryPage.title': 'Ancestry'; - readonly 'inspectEntityDialog.colocatedPage.title': 'Colocated'; readonly 'inspectEntityDialog.colocatedPage.description': 'These are the entities that are colocated with this entity - as in, they originated from the same data source (e.g. came from the same YAML file), or from the same origin (e.g. the originally registered URL).'; + readonly 'inspectEntityDialog.colocatedPage.title': 'Colocated'; readonly 'inspectEntityDialog.colocatedPage.alertNoLocation': 'Entity had no location information.'; readonly 'inspectEntityDialog.colocatedPage.alertNoEntity': 'There were no other entities on this location.'; - readonly 'inspectEntityDialog.jsonPage.title': 'Entity as JSON'; readonly 'inspectEntityDialog.jsonPage.description': 'This is the raw entity data as received from the catalog, on JSON form.'; + readonly 'inspectEntityDialog.jsonPage.title': 'Entity as JSON'; readonly 'inspectEntityDialog.overviewPage.title': 'Overview'; - readonly 'inspectEntityDialog.yamlPage.title': 'Entity as YAML'; readonly 'inspectEntityDialog.yamlPage.description': 'This is the raw entity data as received from the catalog, on YAML form.'; + readonly 'inspectEntityDialog.yamlPage.title': 'Entity as YAML'; readonly 'unregisterEntityDialog.title': 'Are you sure you want to unregister this entity?'; readonly 'unregisterEntityDialog.cancelButtonTitle': 'Cancel'; readonly 'unregisterEntityDialog.deleteButtonTitle': 'Delete Entity'; @@ -74,8 +73,8 @@ export const catalogReactTranslationRef: TranslationRef< readonly 'unregisterEntityDialog.bootstrapState.title': 'You cannot unregister this entity, since it originates from a protected Backstage configuration (location "{{location}}"). If you believe this is in error, please contact the {{appTitle}} integrator.'; readonly 'unregisterEntityDialog.bootstrapState.advancedDescription': 'You have the option to delete the entity itself from the catalog. Note that this should only be done if you know that the catalog file has been deleted at, or moved from, its origin location. If that is not the case, the entity will reappear shortly as the next refresh round is performed by the catalog.'; readonly 'unregisterEntityDialog.bootstrapState.advancedOptions': 'Advanced Options'; - readonly 'unregisterEntityDialog.unregisterState.title': 'This action will unregister the following entities:'; readonly 'unregisterEntityDialog.unregisterState.description': 'To undo, just re-register the entity in {{appTitle}}.'; + readonly 'unregisterEntityDialog.unregisterState.title': 'This action will unregister the following entities:'; readonly 'unregisterEntityDialog.unregisterState.subTitle': 'Located at the following location:'; readonly 'unregisterEntityDialog.unregisterState.advancedDescription': 'You also have the option to delete the entity itself from the catalog. Note that this should only be done if you know that the catalog file has been deleted at, or moved from, its origin location. If that is not the case, the entity will reappear shortly as the next refresh round is performed by the catalog.'; readonly 'unregisterEntityDialog.unregisterState.advancedOptions': 'Advanced Options'; @@ -152,11 +151,11 @@ export const EntityCardBlueprint: ExtensionBlueprint<{ inputs: {}; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; dataRefs: { filterFunction: ConfigurableExtensionDataRef< @@ -267,9 +266,7 @@ export const EntityContentLayoutBlueprint: ExtensionBlueprint<{ name: undefined; params: { filter?: string | EntityPredicate | ((entity: Entity) => boolean); - loader: () => Promise< - (props: EntityContentLayoutProps) => React_2.JSX.Element - >; + loader: () => Promise<(props: EntityContentLayoutProps) => JSX_2.Element>; }; output: | ConfigurableExtensionDataRef< @@ -287,7 +284,7 @@ export const EntityContentLayoutBlueprint: ExtensionBlueprint<{ } > | ConfigurableExtensionDataRef< - (props: EntityContentLayoutProps) => React_2.JSX.Element, + (props: EntityContentLayoutProps) => React.JSX.Element, 'catalog.entity-content-layout.component', {} >; @@ -312,7 +309,7 @@ export const EntityContentLayoutBlueprint: ExtensionBlueprint<{ {} >; component: ConfigurableExtensionDataRef< - (props: EntityContentLayoutProps) => React_2.JSX.Element, + (props: EntityContentLayoutProps) => React.JSX.Element, 'catalog.entity-content-layout.component', {} >; @@ -324,7 +321,7 @@ export interface EntityContentLayoutProps { // (undocumented) cards: Array<{ type?: EntityCardType; - element: React_2.JSX.Element; + element: JSX_2.Element; }>; } diff --git a/plugins/catalog-react/report-testUtils.api.md b/plugins/catalog-react/report-testUtils.api.md index 331ef45988..a613a388d4 100644 --- a/plugins/catalog-react/report-testUtils.api.md +++ b/plugins/catalog-react/report-testUtils.api.md @@ -9,8 +9,8 @@ import { CatalogApi } from '@backstage/catalog-client'; import { DefaultEntityFilters } from '@backstage/plugin-catalog-react'; import { Entity } from '@backstage/catalog-model'; import { EntityListContextProps } from '@backstage/plugin-catalog-react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { PropsWithChildren } from 'react'; -import { default as React_2 } from 'react'; // @public export function catalogApiMock(options?: { entities?: Entity[] }): CatalogApi; @@ -32,5 +32,5 @@ export function MockEntityListContextProvider< props: PropsWithChildren<{ value?: Partial>; }>, -): React_2.JSX.Element; +): JSX_2.Element; ``` diff --git a/plugins/catalog-react/report.api.md b/plugins/catalog-react/report.api.md index a0e2d22141..a3cc259d00 100644 --- a/plugins/catalog-react/report.api.md +++ b/plugins/catalog-react/report.api.md @@ -10,16 +10,17 @@ import { CatalogApi } from '@backstage/catalog-client'; import { ComponentEntity } from '@backstage/catalog-model'; import { ComponentProps } from 'react'; import { CompoundEntityRef } from '@backstage/catalog-model'; +import { Context } from 'react'; import { Entity } from '@backstage/catalog-model'; import IconButton from '@material-ui/core/IconButton'; import { IconComponent } from '@backstage/core-plugin-api'; import { InfoCardVariants } from '@backstage/core-components'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { LinkProps } from '@backstage/core-components'; import { Observable } from '@backstage/types'; import { OutlinedTextFieldProps } from '@material-ui/core/TextField'; import { Overrides } from '@material-ui/core/styles/overrides'; import { PropsWithChildren } from 'react'; -import { default as React_2 } from 'react'; import { ReactNode } from 'react'; import { RouteRef } from '@backstage/core-plugin-api'; import { scmIntegrationsApiRef } from '@backstage/integration-react'; @@ -42,7 +43,7 @@ export type AllowedEntityFilters = { // @public export const AsyncEntityProvider: ( props: AsyncEntityProviderProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export interface AsyncEntityProviderProps { @@ -80,7 +81,7 @@ export function CatalogAutocomplete< FreeSolo extends boolean | undefined = undefined, >( props: CatalogAutocompleteProps, -): React_2.JSX.Element; +): JSX_2.Element; // @public export type CatalogAutocompleteProps< @@ -106,15 +107,15 @@ export type CatalogAutocompleteProps< // @public (undocumented) export const CatalogFilterLayout: { - (props: { children: React_2.ReactNode }): React_2.JSX.Element; + (props: { children: ReactNode }): JSX_2.Element; Filters: (props: { - children: React_2.ReactNode; + children: ReactNode; options?: { drawerBreakpoint?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number; drawerAnchor?: 'left' | 'right' | 'top' | 'bottom'; }; - }) => React_2.JSX.Element; - Content: (props: { children: React_2.ReactNode }) => React_2.JSX.Element; + }) => JSX_2.Element; + Content: (props: { children: ReactNode }) => JSX_2.Element; }; // @public (undocumented) @@ -208,9 +209,7 @@ export function defaultEntityPresentation( ): EntityRefPresentationSnapshot; // @public (undocumented) -export const DefaultFilters: ( - props: DefaultFiltersProps, -) => React_2.JSX.Element; +export const DefaultFilters: (props: DefaultFiltersProps) => JSX_2.Element; // @public export type DefaultFiltersProps = { @@ -224,7 +223,7 @@ export type DefaultFiltersProps = { export function EntityAutocompletePicker< T extends DefaultEntityFilters = DefaultEntityFilters, Name extends AllowedEntityFilters = AllowedEntityFilters, ->(props: EntityAutocompletePickerProps): React_2.JSX.Element | null; +>(props: EntityAutocompletePickerProps): JSX_2.Element | null; // @public (undocumented) export type EntityAutocompletePickerProps< @@ -291,7 +290,7 @@ export class EntityKindFilter implements EntityFilter { // @public (undocumented) export const EntityKindPicker: ( props: EntityKindPickerProps, -) => React_2.JSX.Element | null; +) => JSX_2.Element | null; // @public export interface EntityKindPickerProps { @@ -318,10 +317,10 @@ export class EntityLifecycleFilter implements EntityFilter { // @public (undocumented) export const EntityLifecyclePicker: (props: { initialFilter?: string[]; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public -export const EntityListContext: React_2.Context< +export const EntityListContext: Context< EntityListContextProps | undefined >; @@ -368,7 +367,7 @@ export type EntityListPagination = // @public export const EntityListProvider: ( props: EntityListProviderProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public (undocumented) export type EntityListProviderProps = PropsWithChildren<{ @@ -399,7 +398,7 @@ export class EntityNamespaceFilter implements EntityFilter { // @public (undocumented) export const EntityNamespacePicker: ( props: EntityNamespacePickerProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export interface EntityNamespacePickerProps { @@ -433,7 +432,7 @@ export class EntityOwnerFilter implements EntityFilter { // @public (undocumented) export const EntityOwnerPicker: ( props?: EntityOwnerPickerProps, -) => React_2.JSX.Element | null; +) => JSX_2.Element | null; // @public (undocumented) export type EntityOwnerPickerProps = { @@ -443,7 +442,7 @@ export type EntityOwnerPickerProps = { // @public export const EntityPeekAheadPopover: ( props: EntityPeekAheadPopoverProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export type EntityPeekAheadPopoverProps = PropsWithChildren<{ @@ -466,12 +465,10 @@ export interface EntityPresentationApi { export const entityPresentationApiRef: ApiRef; // @public (undocumented) -export const EntityProcessingStatusPicker: () => React_2.JSX.Element; +export const EntityProcessingStatusPicker: () => JSX_2.Element; // @public -export const EntityProvider: ( - props: EntityProviderProps, -) => React_2.JSX.Element; +export const EntityProvider: (props: EntityProviderProps) => JSX_2.Element; // @public export interface EntityProviderProps { @@ -490,7 +487,7 @@ export type EntityRefLinkProps = { defaultKind?: string; defaultNamespace?: string; title?: string; - children?: React_2.ReactNode; + children?: ReactNode; hideIcon?: boolean; disableTooltip?: boolean; } & Omit; @@ -498,7 +495,7 @@ export type EntityRefLinkProps = { // @public export function EntityRefLinks< TRef extends string | CompoundEntityRef | Entity, ->(props: EntityRefLinksProps): React_2.JSX.Element; +>(props: EntityRefLinksProps): JSX_2.Element; // @public export type EntityRefLinksProps< @@ -535,13 +532,13 @@ export function entityRouteParams(entity: Entity): { // @public export const entityRouteRef: RouteRef<{ - name: string; kind: string; + name: string; namespace: string; }>; // @public -export const EntitySearchBar: () => React_2.JSX.Element; +export const EntitySearchBar: () => JSX_2.Element; // @public (undocumented) export type EntitySourceLocation = { @@ -551,7 +548,7 @@ export type EntitySourceLocation = { // @public export const EntityTable: { - (props: EntityTableProps): React_2.JSX.Element; + (props: EntityTableProps): JSX_2.Element; columns: Readonly<{ createEntityRefColumn(options: { defaultKind?: string; @@ -605,9 +602,7 @@ export class EntityTagFilter implements EntityFilter { } // @public (undocumented) -export const EntityTagPicker: ( - props: EntityTagPickerProps, -) => React_2.JSX.Element; +export const EntityTagPicker: (props: EntityTagPickerProps) => JSX_2.Element; // @public (undocumented) export type EntityTagPickerProps = { @@ -648,7 +643,7 @@ export class EntityTypeFilter implements EntityFilter { // @public (undocumented) export const EntityTypePicker: ( props: EntityTypePickerProps, -) => React_2.JSX.Element | null; +) => JSX_2.Element | null; // @public export interface EntityTypePickerProps { @@ -679,9 +674,7 @@ export class EntityUserFilter implements EntityFilter { } // @public -export const FavoriteEntity: ( - props: FavoriteEntityProps, -) => React_2.JSX.Element; +export const FavoriteEntity: (props: FavoriteEntityProps) => JSX_2.Element; // @public (undocumented) export type FavoriteEntityProps = ComponentProps & { @@ -722,13 +715,13 @@ export function InspectEntityDialog(props: { initialTab?: 'overview' | 'ancestry' | 'colocated' | 'json' | 'yaml'; onClose: () => void; onSelect?: (tab: string) => void; -}): React_2.JSX.Element | null; +}): JSX_2.Element | null; // @public export function MissingAnnotationEmptyState(props: { annotation: string | string[]; readMoreUrl?: string; -}): React_2.JSX.Element; +}): JSX_2.Element; // @public (undocumented) export type MissingAnnotationEmptyStateClassKey = 'code'; @@ -740,7 +733,7 @@ export function MockEntityListContextProvider< props: PropsWithChildren<{ value?: Partial>; }>, -): React_2.JSX.Element; +): JSX_2.Element; // @public export class MockStarredEntitiesApi implements StarredEntitiesApi { @@ -765,7 +758,7 @@ export const starredEntitiesApiRef: ApiRef; // @public (undocumented) export const UnregisterEntityDialog: ( props: UnregisterEntityDialogProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public (undocumented) export type UnregisterEntityDialogProps = { @@ -852,7 +845,7 @@ export type UserListFilterKind = 'owned' | 'starred' | 'all'; // @public (undocumented) export const UserListPicker: ( props: UserListPickerProps, -) => React_2.JSX.Element | null; +) => JSX_2.Element | null; // @public (undocumented) export type UserListPickerProps = { diff --git a/plugins/catalog-unprocessed-entities/report-alpha.api.md b/plugins/catalog-unprocessed-entities/report-alpha.api.md index b5b9938801..8b53bcb8ae 100644 --- a/plugins/catalog-unprocessed-entities/report-alpha.api.md +++ b/plugins/catalog-unprocessed-entities/report-alpha.api.md @@ -9,7 +9,7 @@ import { ConfigurableExtensionDataRef } from '@backstage/frontend-plugin-api'; import { ExtensionDefinition } from '@backstage/frontend-plugin-api'; import { FrontendPlugin } from '@backstage/frontend-plugin-api'; import { IconComponent } from '@backstage/core-plugin-api'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react'; import { RouteRef } from '@backstage/frontend-plugin-api'; // @alpha (undocumented) @@ -65,11 +65,7 @@ const _default: FrontendPlugin< path?: string | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< RouteRef, diff --git a/plugins/catalog-unprocessed-entities/report.api.md b/plugins/catalog-unprocessed-entities/report.api.md index 4de30d2cb6..adaf7af643 100644 --- a/plugins/catalog-unprocessed-entities/report.api.md +++ b/plugins/catalog-unprocessed-entities/report.api.md @@ -6,8 +6,7 @@ import { ApiRef } from '@backstage/core-plugin-api'; import { BackstagePlugin } from '@backstage/core-plugin-api'; import { Entity } from '@backstage/catalog-model'; -import { JSX as JSX_2 } from 'react'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { RouteRef } from '@backstage/core-plugin-api'; // @public @@ -37,7 +36,7 @@ export const catalogUnprocessedEntitiesPlugin: BackstagePlugin< >; // @public (undocumented) -export const UnprocessedEntitiesContent: () => React_2.JSX.Element; +export const UnprocessedEntitiesContent: () => JSX_2.Element; // @public export type UnprocessedEntity = { diff --git a/plugins/catalog/report-alpha.api.md b/plugins/catalog/report-alpha.api.md index c63f0f4fce..71e72b501f 100644 --- a/plugins/catalog/report-alpha.api.md +++ b/plugins/catalog/report-alpha.api.md @@ -85,8 +85,8 @@ export const catalogTranslationRef: TranslationRef< readonly 'entityLinksCard.title': 'Links'; readonly 'entityLinksCard.emptyDescription': 'No links defined for this entity. You can add links to your entity YAML as shown in the highlighted example below:'; readonly 'entityLinksCard.readMoreButtonTitle': 'Read more'; - readonly 'entityNotFound.title': 'Entity was not found'; readonly 'entityNotFound.description': 'Want to help us build this? Check out our Getting Started documentation.'; + readonly 'entityNotFound.title': 'Entity was not found'; readonly 'entityNotFound.docButtonTitle': 'DOCS'; readonly entityProcessingErrorsDescription: 'The error below originates from'; readonly entityRelationWarningDescription: "This entity has relations to other entities, which can't be found in the catalog.\n Entities not found are: "; @@ -101,8 +101,8 @@ export const catalogTranslationRef: TranslationRef< readonly 'hasSystemsCard.title': 'Has systems'; readonly 'hasSystemsCard.emptyMessage': 'No system is part of this domain'; readonly 'relatedEntitiesCard.emptyHelpLinkTitle': 'Learn how to change this'; - readonly 'systemDiagramCard.title': 'System Diagram'; readonly 'systemDiagramCard.description': 'Use pinch & zoom to move around the diagram.'; + readonly 'systemDiagramCard.title': 'System Diagram'; readonly 'systemDiagramCard.edgeLabels.dependsOn': 'depends on'; readonly 'systemDiagramCard.edgeLabels.partOf': 'part of'; readonly 'systemDiagramCard.edgeLabels.provides': 'provides'; @@ -114,15 +114,15 @@ const _default: FrontendPlugin< { catalogIndex: RouteRef; catalogEntity: RouteRef<{ - name: string; kind: string; + name: string; namespace: string; }>; }, { viewTechDoc: ExternalRouteRef<{ - name: string; kind: string; + name: string; namespace: string; }>; createComponent: ExternalRouteRef; @@ -339,11 +339,11 @@ const _default: FrontendPlugin< name: 'about'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: | ConfigurableExtensionDataRef @@ -380,11 +380,11 @@ const _default: FrontendPlugin< name: 'depends-on-components'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: | ConfigurableExtensionDataRef @@ -421,11 +421,11 @@ const _default: FrontendPlugin< name: 'depends-on-resources'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: | ConfigurableExtensionDataRef @@ -462,11 +462,11 @@ const _default: FrontendPlugin< name: 'has-components'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: | ConfigurableExtensionDataRef @@ -503,11 +503,11 @@ const _default: FrontendPlugin< name: 'has-resources'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: | ConfigurableExtensionDataRef @@ -544,11 +544,11 @@ const _default: FrontendPlugin< name: 'has-subcomponents'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: | ConfigurableExtensionDataRef @@ -585,11 +585,11 @@ const _default: FrontendPlugin< name: 'has-subdomains'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: | ConfigurableExtensionDataRef @@ -626,11 +626,11 @@ const _default: FrontendPlugin< name: 'has-systems'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: | ConfigurableExtensionDataRef @@ -667,11 +667,11 @@ const _default: FrontendPlugin< name: 'labels'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: | ConfigurableExtensionDataRef @@ -708,11 +708,11 @@ const _default: FrontendPlugin< name: 'links'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: | ConfigurableExtensionDataRef diff --git a/plugins/catalog/report.api.md b/plugins/catalog/report.api.md index e0e5ff72d6..741a68dbab 100644 --- a/plugins/catalog/report.api.md +++ b/plugins/catalog/report.api.md @@ -9,6 +9,7 @@ import { CatalogApi } from '@backstage/plugin-catalog-react'; import { ComponentEntity } from '@backstage/catalog-model'; import { CompoundEntityRef } from '@backstage/catalog-model'; import { DomainEntity } from '@backstage/catalog-model'; +import { ElementType } from 'react'; import { Entity } from '@backstage/catalog-model'; import { EntityListContextProps } from '@backstage/plugin-catalog-react'; import { EntityListPagination } from '@backstage/plugin-catalog-react'; @@ -21,10 +22,9 @@ import { HumanDuration } from '@backstage/types'; import { IconComponent } from '@backstage/core-plugin-api'; import { IndexableDocument } from '@backstage/plugin-search-common'; import { InfoCardVariants } from '@backstage/core-components'; -import { JSX as JSX_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { Observable } from '@backstage/types'; import { Overrides } from '@material-ui/core/styles/overrides'; -import { default as React_2 } from 'react'; import { ReactNode } from 'react'; import { ResourceEntity } from '@backstage/catalog-model'; import { ResultHighlight } from '@backstage/plugin-search-common'; @@ -47,7 +47,7 @@ export interface AboutCardProps { } // @public (undocumented) -export function AboutContent(props: AboutContentProps): React_2.JSX.Element; +export function AboutContent(props: AboutContentProps): JSX_2.Element; // @public export interface AboutContentProps { @@ -56,12 +56,12 @@ export interface AboutContentProps { } // @public (undocumented) -export function AboutField(props: AboutFieldProps): React_2.JSX.Element; +export function AboutField(props: AboutFieldProps): JSX_2.Element; // @public export interface AboutFieldProps { // (undocumented) - children?: React_2.ReactNode; + children?: ReactNode; // (undocumented) className?: string; // (undocumented) @@ -89,9 +89,7 @@ export const CatalogEntityPage: () => JSX.Element; export const CatalogIndexPage: (props: DefaultCatalogPageProps) => JSX.Element; // @public @deprecated (undocumented) -export function CatalogKindHeader( - props: CatalogKindHeaderProps, -): React_2.JSX.Element; +export function CatalogKindHeader(props: CatalogKindHeaderProps): JSX_2.Element; // @public export interface CatalogKindHeaderProps { @@ -104,8 +102,8 @@ export const catalogPlugin: BackstagePlugin< { catalogIndex: RouteRef; catalogEntity: RouteRef<{ - name: string; kind: string; + name: string; namespace: string; }>; }, @@ -113,8 +111,8 @@ export const catalogPlugin: BackstagePlugin< createComponent: ExternalRouteRef; viewTechDoc: ExternalRouteRef< { - name: string; kind: string; + name: string; namespace: string; }, true @@ -157,7 +155,7 @@ export interface CatalogSearchResultListItemProps { // @public export const CatalogTable: { - (props: CatalogTableProps): React_2.JSX.Element; + (props: CatalogTableProps): JSX_2.Element; columns: Readonly<{ createNameColumn(options?: { defaultKind?: string; @@ -396,16 +394,16 @@ export type EntityLabelsEmptyStateClassKey = 'code'; // @public export const EntityLayout: { - (props: EntityLayoutProps): React_2.JSX.Element; + (props: EntityLayoutProps): JSX_2.Element; Route: (props: EntityLayoutRouteProps) => null; }; // @public (undocumented) export interface EntityLayoutProps { // (undocumented) - children?: React_2.ReactNode; + children?: ReactNode; // (undocumented) - NotFoundComponent?: React_2.ReactNode; + NotFoundComponent?: ReactNode; parentEntityRelations?: string[]; // Warning: (ae-forgotten-export) The symbol "EntityContextMenuOptions" needs to be exported by the entry point index.d.ts // @@ -424,9 +422,9 @@ export type EntityLayoutRouteProps = { children: JSX.Element; if?: (entity: Entity) => boolean; tabProps?: TabProps< - React_2.ElementType, + ElementType, { - component?: React_2.ElementType; + component?: ElementType; } >; }; @@ -447,11 +445,11 @@ export type EntityLinksEmptyStateClassKey = 'code'; // @public @deprecated (undocumented) export const EntityListContainer: (props: { - children: React.ReactNode; + children: ReactNode; }) => JSX_2.Element; // @public -export function EntityOrphanWarning(): React_2.JSX.Element; +export function EntityOrphanWarning(): JSX_2.Element; // @public (undocumented) export interface EntityPredicates { @@ -462,14 +460,14 @@ export interface EntityPredicates { } // @public -export function EntityProcessingErrorsPanel(): React_2.JSX.Element | null; +export function EntityProcessingErrorsPanel(): JSX_2.Element | null; // @public -export function EntityRelationWarning(): React_2.JSX.Element | null; +export function EntityRelationWarning(): JSX_2.Element | null; // @public (undocumented) export const EntitySwitch: { - (props: EntitySwitchProps): React_2.JSX.Element; + (props: EntitySwitchProps): JSX_2.Element; Case: (_props: EntitySwitchCaseProps) => null; }; @@ -496,7 +494,7 @@ export interface EntitySwitchProps { // @public @deprecated (undocumented) export const FilterContainer: (props: { - children: React.ReactNode; + children: ReactNode; options?: { drawerBreakpoint?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number; drawerAnchor?: 'left' | 'right' | 'top' | 'bottom'; diff --git a/plugins/config-schema/report.api.md b/plugins/config-schema/report.api.md index 1491f3cb89..c78e56aa0e 100644 --- a/plugins/config-schema/report.api.md +++ b/plugins/config-schema/report.api.md @@ -5,7 +5,7 @@ ```ts import { ApiRef } from '@backstage/core-plugin-api'; import { BackstagePlugin } from '@backstage/core-plugin-api'; -import { JSX as JSX_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { Observable } from '@backstage/types'; import { RouteRef } from '@backstage/core-plugin-api'; import { Schema } from 'jsonschema'; diff --git a/plugins/devtools/report-alpha.api.md b/plugins/devtools/report-alpha.api.md index 23167bb42c..663c4be34d 100644 --- a/plugins/devtools/report-alpha.api.md +++ b/plugins/devtools/report-alpha.api.md @@ -9,7 +9,7 @@ import { ConfigurableExtensionDataRef } from '@backstage/frontend-plugin-api'; import { ExtensionDefinition } from '@backstage/frontend-plugin-api'; import { FrontendPlugin } from '@backstage/frontend-plugin-api'; import { IconComponent } from '@backstage/core-plugin-api'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react'; import { RouteRef } from '@backstage/frontend-plugin-api'; // @alpha (undocumented) @@ -65,11 +65,7 @@ const _default: FrontendPlugin< path?: string | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< RouteRef, diff --git a/plugins/devtools/report.api.md b/plugins/devtools/report.api.md index ae81aa123b..e7a42f4377 100644 --- a/plugins/devtools/report.api.md +++ b/plugins/devtools/report.api.md @@ -4,18 +4,18 @@ ```ts import { BackstagePlugin } from '@backstage/core-plugin-api'; -import { default as default_2 } from 'react'; -import { JSX as JSX_2 } from 'react'; -import { default as React_2 } from 'react'; +import { ElementType } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; +import { ReactNode } from 'react'; import { RouteRef } from '@backstage/core-plugin-api'; import { TabProps } from '@material-ui/core/Tab'; // @public (undocumented) -export const ConfigContent: () => React_2.JSX.Element; +export const ConfigContent: () => JSX_2.Element; // @public export const DevToolsLayout: { - ({ children, title, subtitle }: DevToolsLayoutProps): default_2.JSX.Element; + ({ children, title, subtitle }: DevToolsLayoutProps): JSX_2.Element; Route: (props: SubRoute) => null; }; @@ -23,7 +23,7 @@ export const DevToolsLayout: { export type DevToolsLayoutProps = { title?: string; subtitle?: string; - children?: default_2.ReactNode; + children?: ReactNode; }; // @public (undocumented) @@ -38,10 +38,10 @@ export const devToolsPlugin: BackstagePlugin< >; // @public (undocumented) -export const ExternalDependenciesContent: () => React_2.JSX.Element; +export const ExternalDependenciesContent: () => JSX_2.Element; // @public (undocumented) -export const InfoContent: () => React_2.JSX.Element; +export const InfoContent: () => JSX_2.Element; // @public (undocumented) export type SubRoute = { @@ -49,9 +49,9 @@ export type SubRoute = { title: string; children: JSX.Element; tabProps?: TabProps< - default_2.ElementType, + ElementType, { - component?: default_2.ElementType; + component?: ElementType; } >; }; diff --git a/plugins/example-todo-list/report.api.md b/plugins/example-todo-list/report.api.md index 699712c062..89c48cc76a 100644 --- a/plugins/example-todo-list/report.api.md +++ b/plugins/example-todo-list/report.api.md @@ -4,7 +4,7 @@ ```ts import { BackstagePlugin } from '@backstage/core-plugin-api'; -import { JSX as JSX_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { RouteRef } from '@backstage/core-plugin-api'; // @public diff --git a/plugins/home-react/report.api.md b/plugins/home-react/report.api.md index 268f598a63..c7e847fb36 100644 --- a/plugins/home-react/report.api.md +++ b/plugins/home-react/report.api.md @@ -4,7 +4,7 @@ ```ts import { Extension } from '@backstage/core-plugin-api'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { RJSFSchema } from '@rjsf/utils'; import { UiSchema } from '@rjsf/utils'; @@ -60,7 +60,7 @@ export function createCardExtension(options: { description?: string; layout?: CardLayout; settings?: CardSettings; -}): Extension<(props: CardExtensionProps) => React_2.JSX.Element>; +}): Extension<(props: CardExtensionProps) => JSX_2.Element>; // @public (undocumented) export type RendererProps = { @@ -73,5 +73,5 @@ export const SettingsModal: (props: { close: Function; componentName?: string; children: JSX.Element; -}) => React_2.JSX.Element; +}) => JSX_2.Element; ``` diff --git a/plugins/home/report-alpha.api.md b/plugins/home/report-alpha.api.md index 7787c96ff0..6033cb47f8 100644 --- a/plugins/home/report-alpha.api.md +++ b/plugins/home/report-alpha.api.md @@ -8,7 +8,7 @@ import { ConfigurableExtensionDataRef } from '@backstage/frontend-plugin-api'; import { ExtensionDefinition } from '@backstage/frontend-plugin-api'; import { ExtensionInput } from '@backstage/frontend-plugin-api'; import { FrontendPlugin } from '@backstage/frontend-plugin-api'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react'; import { RouteRef } from '@backstage/frontend-plugin-api'; // @alpha (undocumented) @@ -24,11 +24,7 @@ const _default: FrontendPlugin< path?: string | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< RouteRef, @@ -40,7 +36,7 @@ const _default: FrontendPlugin< inputs: { props: ExtensionInput< | ConfigurableExtensionDataRef< - React_2.JSX.Element, + JSX_2.Element, 'core.reactElement', { optional: true; diff --git a/plugins/home/report.api.md b/plugins/home/report.api.md index ef5a0d5a7a..7c7f55fd47 100644 --- a/plugins/home/report.api.md +++ b/plugins/home/report.api.md @@ -12,11 +12,12 @@ import { CardSettings as CardSettings_2 } from '@backstage/plugin-home-react'; import { ComponentParts as ComponentParts_2 } from '@backstage/plugin-home-react'; import { ComponentRenderer as ComponentRenderer_2 } from '@backstage/plugin-home-react'; import { createCardExtension as createCardExtension_2 } from '@backstage/plugin-home-react'; +import { CSSProperties } from 'react'; import { EntityFilterQuery } from '@backstage/catalog-client'; import { ErrorApi } from '@backstage/core-plugin-api'; import { IdentityApi } from '@backstage/core-plugin-api'; -import { JSX as JSX_2 } from 'react'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; +import { JSX as JSX_3 } from 'react'; import { ReactElement } from 'react'; import { ReactNode } from 'react'; import { RendererProps as RendererProps_2 } from '@backstage/plugin-home-react'; @@ -50,8 +51,7 @@ export const ComponentAccordion: (props: { expanded?: boolean; Content: () => JSX.Element; Actions?: () => JSX.Element; - Settings?: () => JSX./** @public */ - Element; + Settings?: () => JSX.Element; ContextProvider?: (props: any) => JSX.Element; }) => JSX_2.Element; @@ -83,7 +83,7 @@ export const createCardExtension: typeof createCardExtension_2; // @public export const CustomHomepageGrid: ( props: CustomHomepageGridProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export type CustomHomepageGridProps = { @@ -95,7 +95,7 @@ export type CustomHomepageGridProps = { containerPadding?: [number, number] | Record; containerMargin?: [number, number] | Record; maxRows?: number; - style?: React_2.CSSProperties; + style?: CSSProperties; compactType?: 'vertical' | 'horizontal' | null; allowOverlap?: boolean; preventCollision?: boolean; @@ -109,7 +109,7 @@ export const FeaturedDocsCard: ( // @public export type FeaturedDocsCardProps = { filter: EntityFilterQuery; - emptyState?: React_2.JSX.Element; + emptyState?: JSX_3.Element; linkDestination?: string; responseLimit?: number; subLinkText?: string; @@ -123,7 +123,7 @@ export const HeaderWorldClock: (props: { // @public export const HomePageCompanyLogo: (props: { - logo?: React.ReactNode; + logo?: ReactNode; className?: string; }) => JSX_2.Element; @@ -193,13 +193,13 @@ export const QuickStartCard: ( // @public export type QuickStartCardProps = { - modalTitle?: string | React_2.JSX.Element; + modalTitle?: string | JSX_3.Element; docsLinkTitle?: string; docsLink?: string; - video?: React_2.JSX.Element; - image: React_2.JSX.Element; + video?: JSX_3.Element; + image: JSX_3.Element; cardDescription?: string; - downloadImage?: React_2.JSX.Element; + downloadImage?: JSX_3.Element; }; // @public @deprecated (undocumented) @@ -215,7 +215,7 @@ export const SettingsModal: (props: { // @public export type StarredEntitiesProps = { - noStarredEntitiesMessage?: React_2.ReactNode | undefined; + noStarredEntitiesMessage?: ReactNode | undefined; groupByKind?: boolean; }; @@ -225,16 +225,16 @@ export const TemplateBackstageLogo: (props: { svg: string; path: string; }; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public (undocumented) -export const TemplateBackstageLogoIcon: () => React_2.JSX.Element; +export const TemplateBackstageLogoIcon: () => JSX_2.Element; // @public (undocumented) export type Tool = { label: string; url: string; - icon: React_2.ReactNode; + icon: ReactNode; }; // @public @@ -270,7 +270,7 @@ export const VisitListener: ({ toEntityRef, visitName, }: { - children?: React_2.ReactNode; + children?: ReactNode; toEntityRef?: ({ pathname }: { pathname: string }) => string | undefined; visitName?: ({ pathname }: { pathname: string }) => string; }) => JSX.Element; diff --git a/plugins/home/src/assets/TemplateBackstageLogo.tsx b/plugins/home/src/assets/TemplateBackstageLogo.tsx index 0da79c0564..2f718bae12 100644 --- a/plugins/home/src/assets/TemplateBackstageLogo.tsx +++ b/plugins/home/src/assets/TemplateBackstageLogo.tsx @@ -14,6 +14,7 @@ * limitations under the License. */ +/** @public */ export const TemplateBackstageLogo = (props: { classes: { svg: string; diff --git a/plugins/kubernetes-cluster/report.api.md b/plugins/kubernetes-cluster/report.api.md index 1fd607295a..2c9a4c93ef 100644 --- a/plugins/kubernetes-cluster/report.api.md +++ b/plugins/kubernetes-cluster/report.api.md @@ -4,7 +4,7 @@ ```ts import { Entity } from '@backstage/catalog-model'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; // @public export const EntityKubernetesClusterContent: ( @@ -18,5 +18,5 @@ export type EntityKubernetesClusterContentProps = {}; export const isKubernetesClusterAvailable: (entity: Entity) => boolean; // @public (undocumented) -export const Router: () => React_2.JSX.Element; +export const Router: () => JSX_2.Element; ``` diff --git a/plugins/kubernetes-react/report.api.md b/plugins/kubernetes-react/report.api.md index 454302f632..3097d6ad22 100644 --- a/plugins/kubernetes-react/report.api.md +++ b/plugins/kubernetes-react/report.api.md @@ -9,6 +9,7 @@ import { ClientContainerStatus } from '@backstage/plugin-kubernetes-common'; import { ClientPodStatus } from '@backstage/plugin-kubernetes-common'; import { ClusterAttributes } from '@backstage/plugin-kubernetes-common'; import { ClusterObjects } from '@backstage/plugin-kubernetes-common'; +import { Context } from 'react'; import { CustomObjectsByEntityRequest } from '@backstage/plugin-kubernetes-common'; import { CustomResourceMatcher } from '@backstage/plugin-kubernetes-common'; import { DetectedError } from '@backstage/plugin-kubernetes-common'; @@ -16,6 +17,7 @@ import { DetectedErrorsByCluster } from '@backstage/plugin-kubernetes-common'; import { DiscoveryApi } from '@backstage/core-plugin-api'; import { Entity } from '@backstage/catalog-model'; import { Event as Event_2 } from 'kubernetes-models/v1'; +import { FC } from 'react'; import { FetchApi } from '@backstage/core-plugin-api'; import { GroupedResponses } from '@backstage/plugin-kubernetes-common'; import { IContainer } from 'kubernetes-models/v1'; @@ -23,6 +25,7 @@ import { IContainerStatus } from 'kubernetes-models/v1'; import { IIoK8sApimachineryPkgApisMetaV1ObjectMeta } from '@kubernetes-models/apimachinery/apis/meta/v1/ObjectMeta'; import { IObjectMeta } from '@kubernetes-models/apimachinery/apis/meta/v1/ObjectMeta'; import { JsonObject } from '@backstage/types'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { KubernetesRequestBody } from '@backstage/plugin-kubernetes-common'; import { OAuthApi } from '@backstage/core-plugin-api'; import { ObjectsByEntityResponse } from '@backstage/plugin-kubernetes-common'; @@ -30,8 +33,7 @@ import { OpenIdConnectApi } from '@backstage/core-plugin-api'; import { Pod } from 'kubernetes-models/v1'; import { Pod as Pod_2 } from 'kubernetes-models/v1/Pod'; import { ProfileInfoApi } from '@backstage/core-plugin-api'; -import { default as React_2 } from 'react'; -import * as React_3 from 'react'; +import { ReactNode } from 'react'; import { TypeMeta } from '@kubernetes-models/base'; import { V1Job } from '@kubernetes/client-node'; import { V1ObjectMeta } from '@kubernetes/client-node'; @@ -62,10 +64,10 @@ export class AksKubernetesAuthProvider implements KubernetesAuthProvider { export const Cluster: ({ clusterObjects, podsWithErrors, -}: ClusterProps) => React_2.JSX.Element; +}: ClusterProps) => JSX_2.Element; // @public (undocumented) -export const ClusterContext: React_2.Context; +export const ClusterContext: Context; // @public (undocumented) export interface ClusterLinksFormatter { @@ -89,11 +91,11 @@ export interface ClusterLinksFormatterOptions { export type ClusterProps = { clusterObjects: ClusterObjects; podsWithErrors: Set; - children?: React_2.ReactNode; + children?: ReactNode; }; // @public -export const ContainerCard: React_2.FC; +export const ContainerCard: FC; // @public export interface ContainerCardProps { @@ -114,27 +116,27 @@ export interface ContainerScope extends PodScope { } // @public (undocumented) -export const CronJobsAccordions: ({}: CronJobsAccordionsProps) => React_2.JSX.Element; +export const CronJobsAccordions: ({}: CronJobsAccordionsProps) => JSX_2.Element; // @public (undocumented) export type CronJobsAccordionsProps = { - children?: React_2.ReactNode; + children?: ReactNode; }; // @public (undocumented) -export const CustomResources: ({}: CustomResourcesProps) => React_2.JSX.Element; +export const CustomResources: ({}: CustomResourcesProps) => JSX_2.Element; // @public (undocumented) export interface CustomResourcesProps { // (undocumented) - children?: React_2.ReactNode; + children?: ReactNode; } // @public (undocumented) export const DEFAULT_FORMATTER_NAME = 'standard'; // @public -export const DetectedErrorsContext: React_2.Context; +export const DetectedErrorsContext: Context; // @public (undocumented) export class EksClusterLinksFormatter implements ClusterLinksFormatter { @@ -143,9 +145,7 @@ export class EksClusterLinksFormatter implements ClusterLinksFormatter { } // @public -export const ErrorList: ({ - podAndErrors, -}: ErrorListProps) => React_2.JSX.Element; +export const ErrorList: ({ podAndErrors }: ErrorListProps) => JSX_2.Element; // @public export interface ErrorListProps { @@ -163,21 +163,21 @@ export const ErrorPanel: ({ entityName, errorMessage, clustersWithErrors, -}: ErrorPanelProps) => React_2.JSX.Element; +}: ErrorPanelProps) => JSX_2.Element; // @public (undocumented) export type ErrorPanelProps = { entityName: string; errorMessage?: string; clustersWithErrors?: ClusterObjects[]; - children?: React_2.ReactNode; + children?: ReactNode; }; // @public (undocumented) export const ErrorReporting: ({ detectedErrors, clusters, -}: ErrorReportingProps) => React_3.JSX.Element; +}: ErrorReportingProps) => JSX_2.Element; // @public (undocumented) export type ErrorReportingProps = { @@ -191,13 +191,13 @@ export const Events: ({ namespace, clusterName, warningEventsOnly, -}: EventsProps) => React_2.JSX.Element; +}: EventsProps) => JSX_2.Element; // @public export const EventsContent: ({ events, warningEventsOnly, -}: EventsContentProps) => React_2.JSX.Element; +}: EventsContentProps) => JSX_2.Element; // @public export interface EventsContentProps { @@ -230,7 +230,7 @@ export interface EventsProps { } // @public -export const FixDialog: React_2.FC; +export const FixDialog: FC; // @public export interface FixDialogProps { @@ -281,30 +281,28 @@ export class GoogleKubernetesAuthProvider implements KubernetesAuthProvider { } // @public (undocumented) -export const GroupedResponsesContext: React_2.Context; +export const GroupedResponsesContext: Context; // @public (undocumented) export const HorizontalPodAutoscalerDrawer: (props: { hpa: V2HorizontalPodAutoscaler; expanded?: boolean; - children?: React_2.ReactNode; -}) => React_2.JSX.Element; + children?: ReactNode; +}) => JSX_2.Element; // @public (undocumented) -export const IngressesAccordions: ({}: IngressesAccordionsProps) => React_2.JSX.Element; +export const IngressesAccordions: ({}: IngressesAccordionsProps) => JSX_2.Element; // @public (undocumented) export type IngressesAccordionsProps = {}; // @public (undocumented) -export const JobsAccordions: ({ - jobs, -}: JobsAccordionsProps) => React_2.JSX.Element; +export const JobsAccordions: ({ jobs }: JobsAccordionsProps) => JSX_2.Element; // @public (undocumented) export type JobsAccordionsProps = { jobs: V1Job[]; - children?: React_2.ReactNode; + children?: ReactNode; }; // @public (undocumented) @@ -470,7 +468,7 @@ export const KubernetesDrawer: ({ drawerContentsHeader, kubernetesObject, children, -}: KubernetesDrawerProps) => React_2.JSX.Element; +}: KubernetesDrawerProps) => JSX_2.Element; // @public (undocumented) export interface KubernetesDrawerable { @@ -481,13 +479,13 @@ export interface KubernetesDrawerable { // @public export interface KubernetesDrawerProps { // (undocumented) - children?: React_2.ReactNode; + children?: ReactNode; // (undocumented) - drawerContentsHeader?: React_2.ReactNode; + drawerContentsHeader?: ReactNode; // (undocumented) kubernetesObject: KubernetesObject; // (undocumented) - label: React_2.ReactNode; + label: ReactNode; // (undocumented) open?: boolean; } @@ -594,7 +592,7 @@ export const KubernetesStructuredMetadataTableDrawer: < buttonVariant, expanded, children, -}: KubernetesStructuredMetadataTableDrawerProps) => React_2.JSX.Element; +}: KubernetesStructuredMetadataTableDrawerProps) => JSX_2.Element; // @public (undocumented) export interface KubernetesStructuredMetadataTableDrawerProps< @@ -603,7 +601,7 @@ export interface KubernetesStructuredMetadataTableDrawerProps< // (undocumented) buttonVariant?: 'h5' | 'subtitle2'; // (undocumented) - children?: React_2.ReactNode; + children?: ReactNode; // (undocumented) expanded?: boolean; // (undocumented) @@ -618,19 +616,17 @@ export interface KubernetesStructuredMetadataTableDrawerProps< export const LinkErrorPanel: ({ cluster, errorMessage, -}: LinkErrorPanelProps) => React_2.JSX.Element; +}: LinkErrorPanelProps) => JSX_2.Element; // @public (undocumented) export type LinkErrorPanelProps = { cluster: ClusterAttributes; errorMessage?: string; - children?: React_2.ReactNode; + children?: ReactNode; }; // @public -export const ManifestYaml: ({ - object, -}: ManifestYamlProps) => React_2.JSX.Element; +export const ManifestYaml: ({ object }: ManifestYamlProps) => JSX_2.Element; // @public export interface ManifestYamlProps { @@ -664,7 +660,7 @@ export class OpenshiftClusterLinksFormatter { // @public export const PendingPodContent: ({ pod, -}: PendingPodContentProps) => React_2.JSX.Element; +}: PendingPodContentProps) => JSX_2.Element; // @public export interface PendingPodContentProps { @@ -689,7 +685,7 @@ export type PodColumns = 'READY' | 'RESOURCE'; export const PodDrawer: ({ podAndErrors, open, -}: PodDrawerProps) => React_2.JSX.Element; +}: PodDrawerProps) => JSX_2.Element; // @public export interface PodDrawerProps { @@ -700,14 +696,12 @@ export interface PodDrawerProps { } // @public -export const PodExecTerminal: ( - props: PodExecTerminalProps, -) => React_2.JSX.Element; +export const PodExecTerminal: (props: PodExecTerminalProps) => JSX_2.Element; // @public export const PodExecTerminalDialog: ( props: PodExecTerminalProps, -) => false | React_2.JSX.Element | undefined; +) => false | JSX_2.Element | undefined; // @public export interface PodExecTerminalProps { @@ -722,12 +716,12 @@ export interface PodExecTerminalProps { } // @public -export const PodLogs: React_2.FC; +export const PodLogs: FC; // @public export const PodLogsDialog: ({ containerScope, -}: PodLogsDialogProps) => React_2.JSX.Element; +}: PodLogsDialogProps) => JSX_2.Element; // @public export interface PodLogsDialogProps { @@ -752,7 +746,7 @@ export interface PodLogsProps { } // @public -export const PodMetricsContext: React_2.Context>; +export const PodMetricsContext: Context>; // @public (undocumented) export type PodMetricsMatcher = { @@ -760,12 +754,10 @@ export type PodMetricsMatcher = { }; // @public (undocumented) -export const PodNamesWithErrorsContext: React_2.Context>; +export const PodNamesWithErrorsContext: Context>; // @public (undocumented) -export const PodNamesWithMetricsContext: React_2.Context< - Map ->; +export const PodNamesWithMetricsContext: Context>; // @public export interface PodScope { @@ -781,13 +773,13 @@ export interface PodScope { export const PodsTable: ({ pods, extraColumns, -}: PodsTablesProps) => React_2.JSX.Element; +}: PodsTablesProps) => JSX_2.Element; // @public (undocumented) export type PodsTablesProps = { pods: Pod_2 | V1Pod[]; extraColumns?: PodColumns[]; - children?: React_2.ReactNode; + children?: ReactNode; }; // @public (undocumented) @@ -809,7 +801,7 @@ export const ResourceUtilization: ({ usage, total, totalFormatted, -}: ResourceUtilizationProps) => React_2.JSX.Element; +}: ResourceUtilizationProps) => JSX_2.Element; // @public export interface ResourceUtilizationProps { @@ -838,7 +830,7 @@ export class ServerSideKubernetesAuthProvider } // @public (undocumented) -export const ServicesAccordions: ({}: ServicesAccordionsProps) => React_2.JSX.Element; +export const ServicesAccordions: ({}: ServicesAccordionsProps) => JSX_2.Element; // @public (undocumented) export type ServicesAccordionsProps = {}; diff --git a/plugins/kubernetes/report.api.md b/plugins/kubernetes/report.api.md index 5eb1b456a7..b9450e650d 100644 --- a/plugins/kubernetes/report.api.md +++ b/plugins/kubernetes/report.api.md @@ -5,7 +5,7 @@ ```ts import { BackstagePlugin } from '@backstage/core-plugin-api'; import { Entity } from '@backstage/catalog-model'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { RouteRef } from '@backstage/core-plugin-api'; // Warning: (ae-missing-release-tag) "EntityKubernetesContent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -40,9 +40,7 @@ export { kubernetesPlugin as plugin }; // Warning: (ae-missing-release-tag) "Router" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export const Router: (props: { - refreshIntervalMs?: number; -}) => React_2.JSX.Element; +export const Router: (props: { refreshIntervalMs?: number }) => JSX_2.Element; export * from '@backstage/plugin-kubernetes-react'; ``` diff --git a/plugins/notifications/report-alpha.api.md b/plugins/notifications/report-alpha.api.md index a14cb89f3f..734dd0a201 100644 --- a/plugins/notifications/report-alpha.api.md +++ b/plugins/notifications/report-alpha.api.md @@ -8,7 +8,7 @@ import { AnyRouteRefParams } from '@backstage/frontend-plugin-api'; import { ConfigurableExtensionDataRef } from '@backstage/frontend-plugin-api'; import { ExtensionDefinition } from '@backstage/frontend-plugin-api'; import { FrontendPlugin } from '@backstage/frontend-plugin-api'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react'; import { RouteRef } from '@backstage/frontend-plugin-api'; // @alpha (undocumented) @@ -43,11 +43,7 @@ const _default: FrontendPlugin< path?: string | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< RouteRef, diff --git a/plugins/notifications/report.api.md b/plugins/notifications/report.api.md index aacee54329..cdf6d9d319 100644 --- a/plugins/notifications/report.api.md +++ b/plugins/notifications/report.api.md @@ -8,12 +8,11 @@ import { BackstagePlugin } from '@backstage/core-plugin-api'; import { DiscoveryApi } from '@backstage/core-plugin-api'; import { FetchApi } from '@backstage/core-plugin-api'; import { IconComponent } from '@backstage/core-plugin-api'; -import { JSX as JSX_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { Notification as Notification_2 } from '@backstage/plugin-notifications-common'; import { NotificationSettings } from '@backstage/plugin-notifications-common'; import { NotificationSeverity } from '@backstage/plugin-notifications-common'; import { NotificationStatus } from '@backstage/plugin-notifications-common'; -import { default as React_2 } from 'react'; import { RouteRef } from '@backstage/core-plugin-api'; import { TableProps } from '@backstage/core-components'; @@ -136,7 +135,7 @@ export const NotificationsSidebarItem: (props?: { text?: string; disableHighlight?: boolean; noTrack?: boolean; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public (undocumented) export const NotificationsTable: ({ @@ -152,7 +151,7 @@ export const NotificationsTable: ({ page, pageSize, totalCount, -}: NotificationsTableProps) => React_2.JSX.Element; +}: NotificationsTableProps) => JSX_2.Element; // @public (undocumented) export type NotificationsTableProps = Pick< @@ -208,7 +207,7 @@ export function useNotificationsApi( // @public (undocumented) export const UserNotificationSettingsCard: (props: { originNames?: Record; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // (No @packageDocumentation comment for this package) ``` diff --git a/plugins/org-react/report.api.md b/plugins/org-react/report.api.md index 5cfe5ca90a..c90ef93b13 100644 --- a/plugins/org-react/report.api.md +++ b/plugins/org-react/report.api.md @@ -4,12 +4,10 @@ ```ts import { GroupEntity } from '@backstage/catalog-model'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; // @public (undocumented) -export const GroupListPicker: ( - props: GroupListPickerProps, -) => React_2.JSX.Element; +export const GroupListPicker: (props: GroupListPickerProps) => JSX_2.Element; // @public export type GroupListPickerProps = { diff --git a/plugins/org/report-alpha.api.md b/plugins/org/report-alpha.api.md index f6a79a968a..371befd4b8 100644 --- a/plugins/org/report-alpha.api.md +++ b/plugins/org/report-alpha.api.md @@ -10,7 +10,7 @@ import { EntityPredicate } from '@backstage/plugin-catalog-react/alpha'; import { ExtensionDefinition } from '@backstage/frontend-plugin-api'; import { ExternalRouteRef } from '@backstage/frontend-plugin-api'; import { FrontendPlugin } from '@backstage/frontend-plugin-api'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react'; // @alpha (undocumented) const _default: FrontendPlugin< @@ -24,18 +24,14 @@ const _default: FrontendPlugin< name: 'group-profile'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< (entity: Entity) => boolean, 'catalog.entity-filter-function', @@ -69,18 +65,14 @@ const _default: FrontendPlugin< name: 'members-list'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< (entity: Entity) => boolean, 'catalog.entity-filter-function', @@ -114,18 +106,14 @@ const _default: FrontendPlugin< name: 'ownership'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< (entity: Entity) => boolean, 'catalog.entity-filter-function', @@ -159,18 +147,14 @@ const _default: FrontendPlugin< name: 'user-profile'; config: { filter: EntityPredicate | undefined; - type: 'content' | 'summary' | 'info' | undefined; + type: 'info' | 'summary' | 'content' | undefined; }; configInput: { filter?: EntityPredicate | undefined; - type?: 'content' | 'summary' | 'info' | undefined; + type?: 'info' | 'summary' | 'content' | undefined; }; output: - | ConfigurableExtensionDataRef< - React_2.JSX.Element, - 'core.reactElement', - {} - > + | ConfigurableExtensionDataRef | ConfigurableExtensionDataRef< (entity: Entity) => boolean, 'catalog.entity-filter-function', diff --git a/plugins/org/report.api.md b/plugins/org/report.api.md index bbe4a36b8f..d3e82478f7 100644 --- a/plugins/org/report.api.md +++ b/plugins/org/report.api.md @@ -7,8 +7,7 @@ import { BackstagePlugin } from '@backstage/core-plugin-api'; import { ExternalRouteRef } from '@backstage/core-plugin-api'; import { IconComponent } from '@backstage/core-plugin-api'; import { InfoCardVariants } from '@backstage/core-components'; -import { JSX as JSX_2 } from 'react'; -import { default as React_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; // @public (undocumented) export const EntityGroupProfileCard: (props: { @@ -49,7 +48,7 @@ export const EntityUserProfileCard: (props: { export const GroupProfileCard: (props: { variant?: InfoCardVariants; showLinks?: boolean; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public (undocumented) export type MemberComponentClassKey = 'card' | 'avatar'; @@ -62,7 +61,7 @@ export const MembersListCard: (props: { relationType?: string; relationsType?: EntityRelationAggregation; relationAggregation?: EntityRelationAggregation; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public (undocumented) export type MembersListCardClassKey = 'root' | 'cardContent' | 'memberList'; @@ -73,7 +72,7 @@ export const MyGroupsSidebarItem: (props: { pluralTitle: string; icon: IconComponent; filter?: Record; -}) => React_2.JSX.Element | null; +}) => JSX_2.Element | null; // @public (undocumented) const orgPlugin: BackstagePlugin< @@ -93,11 +92,11 @@ export const OwnershipCard: (props: { relationsType?: EntityRelationAggregation; relationAggregation?: EntityRelationAggregation; entityLimit?: number; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public (undocumented) export const UserProfileCard: (props: { variant?: InfoCardVariants; showLinks?: boolean; -}) => React_2.JSX.Element; +}) => JSX_2.Element; ``` diff --git a/plugins/permission-react/report.api.md b/plugins/permission-react/report.api.md index 4c51d16b80..e0c5f4772c 100644 --- a/plugins/permission-react/report.api.md +++ b/plugins/permission-react/report.api.md @@ -11,8 +11,8 @@ import { DiscoveryApi } from '@backstage/core-plugin-api'; import { EvaluatePermissionRequest } from '@backstage/plugin-permission-common'; import { EvaluatePermissionResponse } from '@backstage/plugin-permission-common'; import { IdentityApi } from '@backstage/core-plugin-api'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { Permission } from '@backstage/plugin-permission-common'; -import { default as React_2 } from 'react'; import { ReactElement } from 'react'; import { ReactNode } from 'react'; import { ResourcePermission } from '@backstage/plugin-permission-common'; @@ -66,7 +66,7 @@ export const PermissionedRoute: ( resourceRef: string | undefined; } ), -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export function RequirePermission( diff --git a/plugins/scaffolder-backend-module-gitlab/report.api.md b/plugins/scaffolder-backend-module-gitlab/report.api.md index cdb6065a3b..16b3ca5f54 100644 --- a/plugins/scaffolder-backend-module-gitlab/report.api.md +++ b/plugins/scaffolder-backend-module-gitlab/report.api.md @@ -38,17 +38,17 @@ export const createGitlabIssueAction: (options: { title: string; repoUrl: string; projectId: number; - labels?: string | undefined; description?: string | undefined; - weight?: number | undefined; token?: string | undefined; - assignees?: number[] | undefined; + weight?: number | undefined; + labels?: string | undefined; createdAt?: string | undefined; - confidential?: boolean | undefined; + assignees?: number[] | undefined; milestoneId?: number | undefined; - epicId?: number | undefined; dueDate?: string | undefined; + confidential?: boolean | undefined; discussionToResolve?: string | undefined; + epicId?: number | undefined; issueType?: IssueType | undefined; mergeRequestToResolveDiscussionsOf?: number | undefined; }, @@ -68,8 +68,8 @@ export const createGitlabProjectAccessTokenAction: (options: { repoUrl: string; projectId: string | number; name?: string | undefined; - token?: string | undefined; scopes?: string[] | undefined; + token?: string | undefined; expiresAt?: string | undefined; accessLevel?: number | undefined; }, @@ -88,8 +88,8 @@ export const createGitlabProjectDeployTokenAction: (options: { scopes: string[]; repoUrl: string; projectId: string | number; - username?: string | undefined; token?: string | undefined; + username?: string | undefined; }, { user: string; @@ -108,8 +108,8 @@ export const createGitlabProjectVariableAction: (options: { repoUrl: string; projectId: string | number; variableType: string; - raw?: boolean | undefined; token?: string | undefined; + raw?: boolean | undefined; masked?: boolean | undefined; environmentScope?: string | undefined; variableProtected?: boolean | undefined; @@ -237,26 +237,26 @@ export const editGitlabIssueAction: (options: { repoUrl: string; projectId: number; issueIid: number; - title?: string | undefined; - labels?: string | undefined; description?: string | undefined; - weight?: number | undefined; + title?: string | undefined; token?: string | undefined; - assignees?: number[] | undefined; + weight?: number | undefined; + labels?: string | undefined; addLabels?: string | undefined; - confidential?: boolean | undefined; + assignees?: number[] | undefined; milestoneId?: number | undefined; - removeLabels?: string | undefined; - stateEvent?: IssueStateEvent | undefined; - discussionLocked?: boolean | undefined; - epicId?: number | undefined; dueDate?: string | undefined; + stateEvent?: IssueStateEvent | undefined; + confidential?: boolean | undefined; updatedAt?: string | undefined; + epicId?: number | undefined; issueType?: IssueType | undefined; + discussionLocked?: boolean | undefined; + removeLabels?: string | undefined; }, { - state: string; title: string; + state: string; projectId: number; updatedAt: string; issueUrl: string; diff --git a/plugins/scaffolder-backend/report.api.md b/plugins/scaffolder-backend/report.api.md index c3100d8259..e0000ed194 100644 --- a/plugins/scaffolder-backend/report.api.md +++ b/plugins/scaffolder-backend/report.api.md @@ -244,8 +244,8 @@ export const createFilesystemDeleteAction: () => TemplateAction_2< // @public export const createFilesystemReadDirAction: () => TemplateAction_2< { - recursive: boolean; paths: string[]; + recursive: boolean; }, { files: { diff --git a/plugins/scaffolder-react/report-alpha.api.md b/plugins/scaffolder-react/report-alpha.api.md index fbd539f96e..0508261c7a 100644 --- a/plugins/scaffolder-react/report-alpha.api.md +++ b/plugins/scaffolder-react/report-alpha.api.md @@ -23,10 +23,10 @@ import { FormProps } from '@backstage/plugin-scaffolder-react'; import { IconComponent } from '@backstage/core-plugin-api'; import { JsonObject } from '@backstage/types'; import { JsonValue } from '@backstage/types'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { LayoutOptions } from '@backstage/plugin-scaffolder-react'; import { Overrides } from '@material-ui/core/styles/overrides'; import { PropsWithChildren } from 'react'; -import { default as React_2 } from 'react'; import { ReactElement } from 'react'; import { ReactNode } from 'react'; import { ReviewStepProps } from '@backstage/plugin-scaffolder-react'; @@ -115,10 +115,10 @@ export function createScaffolderFormDecorator< // @alpha export const DefaultTemplateOutputs: (props: { output?: ScaffolderTaskOutput; -}) => React_2.JSX.Element | null; +}) => JSX_2.Element | null; // @alpha (undocumented) -export const EmbeddableWorkflow: (props: WorkflowProps) => React_2.JSX.Element; +export const EmbeddableWorkflow: (props: WorkflowProps) => JSX_2.Element; // @alpha export const extractSchemaFromStep: (inputStep: JsonObject) => { @@ -129,7 +129,7 @@ export const extractSchemaFromStep: (inputStep: JsonObject) => { // @alpha export const Form: ( props: PropsWithChildren, -) => React_2.JSX.Element; +) => JSX_2.Element; // @alpha export const FormDecoratorBlueprint: ExtensionBlueprint<{ @@ -246,7 +246,7 @@ export interface ParsedTemplateSchema { } // @alpha -export const ReviewState: (props: ReviewStateProps) => React_2.JSX.Element; +export const ReviewState: (props: ReviewStateProps) => JSX_2.Element; // @alpha export type ReviewStateProps = { @@ -257,7 +257,7 @@ export type ReviewStateProps = { // @alpha export const ScaffolderField: ( props: PropsWithChildren, -) => React_2.JSX.Element; +) => JSX_2.Element; // @alpha export interface ScaffolderFieldProps { @@ -309,7 +309,7 @@ export interface ScaffolderFormFieldsApi { // @alpha (undocumented) export function ScaffolderPageContextMenu( props: ScaffolderPageContextMenuProps, -): React_2.JSX.Element | null; +): JSX_2.Element | null; // @alpha (undocumented) export type ScaffolderPageContextMenuProps = { @@ -334,8 +334,8 @@ export const scaffolderReactTranslationRef: TranslationRef< { readonly 'workflow.noDescription': 'No description'; readonly 'passwordWidget.content': 'This widget is insecure. Please use [`ui:field: Secret`](https://backstage.io/docs/features/software-templates/writing-templates/#using-secrets) instead of `ui:widget: password`'; - readonly 'scaffolderPageContextMenu.createLabel': 'Create'; readonly 'scaffolderPageContextMenu.moreLabel': 'more'; + readonly 'scaffolderPageContextMenu.createLabel': 'Create'; readonly 'scaffolderPageContextMenu.editorLabel': 'Manage Templates'; readonly 'scaffolderPageContextMenu.actionsLabel': 'Installed Actions'; readonly 'scaffolderPageContextMenu.tasksLabel': 'Task List'; @@ -358,10 +358,10 @@ export const SecretWidget: ( WidgetProps, 'name' | 'onChange' | 'schema' | 'required' | 'disabled' >, -) => React_2.JSX.Element; +) => JSX_2.Element; // @alpha -export const Stepper: (stepperProps: StepperProps) => React_2.JSX.Element; +export const Stepper: (stepperProps: StepperProps) => JSX_2.Element; // @alpha export type StepperProps = { @@ -386,10 +386,10 @@ export const TaskLogStream: (props: { logs: { [k: string]: string[]; }; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @alpha -export const TaskSteps: (props: TaskStepsProps) => React_2.JSX.Element; +export const TaskSteps: (props: TaskStepsProps) => JSX_2.Element; // @alpha export interface TaskStepsProps { @@ -404,7 +404,7 @@ export interface TaskStepsProps { } // @alpha -export const TemplateCard: (props: TemplateCardProps) => React_2.JSX.Element; +export const TemplateCard: (props: TemplateCardProps) => JSX_2.Element; // @alpha export interface TemplateCardProps { @@ -421,18 +421,16 @@ export interface TemplateCardProps { } // @alpha -export const TemplateCategoryPicker: () => React_2.JSX.Element | null; +export const TemplateCategoryPicker: () => JSX_2.Element | null; // @alpha -export const TemplateGroup: ( - props: TemplateGroupProps, -) => React_2.JSX.Element | null; +export const TemplateGroup: (props: TemplateGroupProps) => JSX_2.Element | null; // @alpha export interface TemplateGroupProps { // (undocumented) components?: { - CardComponent?: React_2.ComponentType; + CardComponent?: ComponentType; }; // (undocumented) onSelected: (template: TemplateEntityV1beta3) => void; @@ -446,13 +444,13 @@ export interface TemplateGroupProps { }[]; }[]; // (undocumented) - title: React_2.ReactNode; + title: ReactNode; } // @alpha (undocumented) export const TemplateGroups: ( props: TemplateGroupsProps, -) => React_2.JSX.Element | null; +) => JSX_2.Element | null; // @alpha (undocumented) export interface TemplateGroupsProps { @@ -467,7 +465,7 @@ export interface TemplateGroupsProps { // (undocumented) onTemplateSelected?: (template: TemplateEntityV1beta3) => void; // (undocumented) - TemplateCardComponent?: React_2.ComponentType<{ + TemplateCardComponent?: ComponentType<{ template: TemplateEntityV1beta3; }>; // (undocumented) @@ -507,7 +505,7 @@ export type WorkflowProps = { namespace: string; templateName: string; components?: { - ReviewStepComponent?: React_2.ComponentType; + ReviewStepComponent?: ComponentType; }; onError(error: Error | undefined): JSX.Element | null; } & Pick< diff --git a/plugins/scaffolder-react/report.api.md b/plugins/scaffolder-react/report.api.md index 23a8a5975d..cd8711b18f 100644 --- a/plugins/scaffolder-react/report.api.md +++ b/plugins/scaffolder-react/report.api.md @@ -24,9 +24,9 @@ import { IdSchema } from '@rjsf/utils'; import { JsonObject } from '@backstage/types'; import { JSONSchema7 } from 'json-schema'; import { JsonValue } from '@backstage/types'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { Observable } from '@backstage/types'; import { PropsWithChildren } from 'react'; -import { default as React_2 } from 'react'; import { ReactNode } from 'react'; import { Ref } from 'react'; import { Registry } from '@rjsf/utils'; @@ -312,9 +312,7 @@ export interface ScaffolderGetIntegrationsListResponse { } // @public -export const ScaffolderLayouts: React_2.ComponentType< - React_2.PropsWithChildren<{}> ->; +export const ScaffolderLayouts: ComponentType>; // @public (undocumented) export type ScaffolderOutputLink = { @@ -519,7 +517,7 @@ export const SecretsContextProvider: ( props: PropsWithChildren<{ initialSecrets?: Record; }>, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export type TaskStream = { diff --git a/plugins/scaffolder/report-alpha.api.md b/plugins/scaffolder/report-alpha.api.md index 4eb17b411d..c03bbbe339 100644 --- a/plugins/scaffolder/report-alpha.api.md +++ b/plugins/scaffolder/report-alpha.api.md @@ -6,6 +6,7 @@ import { AnyApiFactory } from '@backstage/frontend-plugin-api'; import { AnyRouteRefParams } from '@backstage/frontend-plugin-api'; import { ApiRef } from '@backstage/frontend-plugin-api'; +import { ComponentType } from 'react'; import { ConfigurableExtensionDataRef } from '@backstage/frontend-plugin-api'; import { ExtensionDefinition } from '@backstage/frontend-plugin-api'; import { ExtensionInput } from '@backstage/frontend-plugin-api'; @@ -20,7 +21,6 @@ import { IconComponent } from '@backstage/core-plugin-api'; import { JSX as JSX_2 } from 'react'; import { LayoutOptions } from '@backstage/plugin-scaffolder-react'; import { PathParams } from '@backstage/core-plugin-api'; -import { default as React_2 } from 'react'; import { ReviewStepProps } from '@backstage/plugin-scaffolder-react'; import { RouteRef } from '@backstage/frontend-plugin-api'; import { ScaffolderFormDecorator } from '@backstage/plugin-scaffolder-react/alpha'; @@ -45,8 +45,8 @@ const _default: FrontendPlugin< { registerComponent: ExternalRouteRef; viewTechDoc: ExternalRouteRef<{ - name: string; kind: string; + name: string; namespace: string; }>; }, @@ -282,70 +282,71 @@ export type ScaffolderTemplateFormPreviewerClassKey = export const scaffolderTranslationRef: TranslationRef< 'scaffolder', { - readonly 'fields.entityNamePicker.title': 'Name'; readonly 'fields.entityNamePicker.description': 'Unique name of the component'; - readonly 'fields.entityPicker.title': 'Entity'; + readonly 'fields.entityNamePicker.title': 'Name'; readonly 'fields.entityPicker.description': 'An entity from the catalog'; - readonly 'fields.entityTagsPicker.title': 'Tags'; + readonly 'fields.entityPicker.title': 'Entity'; readonly 'fields.entityTagsPicker.description': "Add any relevant tags, hit 'Enter' to add new tags. Valid format: [a-z0-9+#] separated by [-], at most 63 characters"; - readonly 'fields.myGroupsPicker.title': 'Entity'; + readonly 'fields.entityTagsPicker.title': 'Tags'; readonly 'fields.myGroupsPicker.description': 'An entity from the catalog'; - readonly 'fields.ownedEntityPicker.title': 'Entity'; + readonly 'fields.myGroupsPicker.title': 'Entity'; readonly 'fields.ownedEntityPicker.description': 'An entity from the catalog'; - readonly 'fields.ownerPicker.title': 'Owner'; + readonly 'fields.ownedEntityPicker.title': 'Entity'; readonly 'fields.ownerPicker.description': 'The owner of the component'; - readonly 'fields.azureRepoPicker.organization.title': 'Organization'; + readonly 'fields.ownerPicker.title': 'Owner'; readonly 'fields.azureRepoPicker.organization.description': 'The Organization that this repo will belong to'; - readonly 'fields.azureRepoPicker.project.title': 'Project'; + readonly 'fields.azureRepoPicker.organization.title': 'Organization'; readonly 'fields.azureRepoPicker.project.description': 'The Project that this repo will belong to'; - readonly 'fields.bitbucketRepoPicker.project.title': 'Allowed Projects'; + readonly 'fields.azureRepoPicker.project.title': 'Project'; readonly 'fields.bitbucketRepoPicker.project.description': 'The Project that this repo will belong to'; + readonly 'fields.bitbucketRepoPicker.project.title': 'Allowed Projects'; readonly 'fields.bitbucketRepoPicker.project.inputTitle': 'Projects'; - readonly 'fields.bitbucketRepoPicker.workspaces.title': 'Allowed Workspaces'; readonly 'fields.bitbucketRepoPicker.workspaces.description': 'The Workspace that this repo will belong to'; + readonly 'fields.bitbucketRepoPicker.workspaces.title': 'Allowed Workspaces'; readonly 'fields.bitbucketRepoPicker.workspaces.inputTitle': 'Workspaces'; - readonly 'fields.gerritRepoPicker.parent.title': 'Parent'; - readonly 'fields.gerritRepoPicker.parent.description': 'The project parent that the repo will belong to'; - readonly 'fields.gerritRepoPicker.owner.title': 'Owner'; readonly 'fields.gerritRepoPicker.owner.description': 'The owner of the project (optional)'; - readonly 'fields.giteaRepoPicker.owner.title': 'Owner Available'; + readonly 'fields.gerritRepoPicker.owner.title': 'Owner'; + readonly 'fields.gerritRepoPicker.parent.description': 'The project parent that the repo will belong to'; + readonly 'fields.gerritRepoPicker.parent.title': 'Parent'; readonly 'fields.giteaRepoPicker.owner.description': 'Gitea namespace where this repository will belong to. It can be the name of organization, group, subgroup, user, or the project.'; + readonly 'fields.giteaRepoPicker.owner.title': 'Owner Available'; readonly 'fields.giteaRepoPicker.owner.inputTitle': 'Owner'; - readonly 'fields.githubRepoPicker.owner.title': 'Owner Available'; readonly 'fields.githubRepoPicker.owner.description': 'The organization, user or project that this repo will belong to'; + readonly 'fields.githubRepoPicker.owner.title': 'Owner Available'; readonly 'fields.githubRepoPicker.owner.inputTitle': 'Owner'; - readonly 'fields.gitlabRepoPicker.owner.title': 'Owner Available'; readonly 'fields.gitlabRepoPicker.owner.description': 'GitLab namespace where this repository will belong to. It can be the name of organization, group, subgroup, user, or the project.'; + readonly 'fields.gitlabRepoPicker.owner.title': 'Owner Available'; readonly 'fields.gitlabRepoPicker.owner.inputTitle': 'Owner'; - readonly 'fields.repoUrlPicker.host.title': 'Host'; readonly 'fields.repoUrlPicker.host.description': 'The host where the repository will be created'; - readonly 'fields.repoUrlPicker.repository.title': 'Repositories Available'; + readonly 'fields.repoUrlPicker.host.title': 'Host'; readonly 'fields.repoUrlPicker.repository.description': 'The name of the repository'; + readonly 'fields.repoUrlPicker.repository.title': 'Repositories Available'; readonly 'fields.repoUrlPicker.repository.inputTitle': 'Repository'; - readonly 'actionsPage.content.emptyState.title': 'No information to display'; - readonly 'actionsPage.content.emptyState.description': 'There are no actions installed or there was an issue communicating with backend.'; - readonly 'actionsPage.content.searchFieldPlaceholder': 'Search for an action'; - readonly 'actionsPage.title': 'Installed actions'; + readonly 'actionsPage.action.examples': 'Examples'; readonly 'actionsPage.action.input': 'Input'; readonly 'actionsPage.action.output': 'Output'; - readonly 'actionsPage.action.examples': 'Examples'; + readonly 'actionsPage.title': 'Installed actions'; + readonly 'actionsPage.content.emptyState.description': 'There are no actions installed or there was an issue communicating with backend.'; + readonly 'actionsPage.content.emptyState.title': 'No information to display'; + readonly 'actionsPage.content.searchFieldPlaceholder': 'Search for an action'; readonly 'actionsPage.subtitle': 'This is the collection of all installed actions'; readonly 'actionsPage.pageTitle': 'Create a New Component'; - readonly 'listTaskPage.content.emptyState.title': 'No information to display'; - readonly 'listTaskPage.content.emptyState.description': 'There are no tasks or there was an issue communicating with backend.'; - readonly 'listTaskPage.content.tableCell.template': 'Template'; - readonly 'listTaskPage.content.tableCell.status': 'Status'; - readonly 'listTaskPage.content.tableCell.owner': 'Owner'; - readonly 'listTaskPage.content.tableCell.created': 'Created'; - readonly 'listTaskPage.content.tableCell.taskID': 'Task ID'; - readonly 'listTaskPage.content.tableTitle': 'Tasks'; readonly 'listTaskPage.title': 'List template tasks'; + readonly 'listTaskPage.content.emptyState.description': 'There are no tasks or there was an issue communicating with backend.'; + readonly 'listTaskPage.content.emptyState.title': 'No information to display'; + readonly 'listTaskPage.content.tableTitle': 'Tasks'; + readonly 'listTaskPage.content.tableCell.owner': 'Owner'; + readonly 'listTaskPage.content.tableCell.status': 'Status'; + readonly 'listTaskPage.content.tableCell.template': 'Template'; + readonly 'listTaskPage.content.tableCell.taskID': 'Task ID'; + readonly 'listTaskPage.content.tableCell.created': 'Created'; readonly 'listTaskPage.subtitle': 'All tasks that have been started'; readonly 'listTaskPage.pageTitle': 'Templates Tasks'; readonly 'ownerListPicker.title': 'Task Owner'; readonly 'ownerListPicker.options.all': 'All'; readonly 'ownerListPicker.options.owned': 'Owned'; readonly 'ongoingTask.title': 'Run of'; + readonly 'ongoingTask.subtitle': 'Task {{taskId}}'; readonly 'ongoingTask.contextMenu.cancel': 'Cancel'; readonly 'ongoingTask.contextMenu.startOver': 'Start Over'; readonly 'ongoingTask.contextMenu.retry': 'Retry'; @@ -353,7 +354,6 @@ export const scaffolderTranslationRef: TranslationRef< readonly 'ongoingTask.contextMenu.showLogs': 'Show Logs'; readonly 'ongoingTask.contextMenu.hideButtonBar': 'Hide Button Bar'; readonly 'ongoingTask.contextMenu.showButtonBar': 'Show Button Bar'; - readonly 'ongoingTask.subtitle': 'Task {{taskId}}'; readonly 'ongoingTask.pageTitle.hasTemplateName': 'Run of {{templateName}}'; readonly 'ongoingTask.pageTitle.noTemplateName': 'Scaffolder Run'; readonly 'ongoingTask.cancelButtonTitle': 'Cancel'; @@ -365,8 +365,8 @@ export const scaffolderTranslationRef: TranslationRef< readonly 'renderSchema.undefined': 'No schema defined'; readonly 'renderSchema.tableCell.name': 'Name'; readonly 'renderSchema.tableCell.type': 'Type'; - readonly 'renderSchema.tableCell.title': 'Title'; readonly 'renderSchema.tableCell.description': 'Description'; + readonly 'renderSchema.tableCell.title': 'Title'; readonly 'templateTypePicker.title': 'Categories'; readonly 'templateIntroPage.title': 'Manage Templates'; readonly 'templateIntroPage.subtitle': 'Edit, preview, and try out templates, forms, and custom fields'; @@ -380,8 +380,8 @@ export const scaffolderTranslationRef: TranslationRef< readonly 'templateEditorPage.dryRunResultsList.title': 'Result {{resultId}}'; readonly 'templateEditorPage.dryRunResultsList.deleteButtonTitle': 'Delete result'; readonly 'templateEditorPage.dryRunResultsList.downloadButtonTitle': 'Download as .zip'; - readonly 'templateEditorPage.dryRunResultsView.tab.output': 'Output'; readonly 'templateEditorPage.dryRunResultsView.tab.log': 'Log'; + readonly 'templateEditorPage.dryRunResultsView.tab.output': 'Output'; readonly 'templateEditorPage.dryRunResultsView.tab.files': 'Files'; readonly 'templateEditorPage.taskStatusStepper.skippedStepTitle': 'Skipped'; readonly 'templateEditorPage.customFieldExplorer.preview.title': 'Template Spec'; @@ -394,16 +394,16 @@ export const scaffolderTranslationRef: TranslationRef< readonly 'templateEditorPage.templateEditorBrowser.reloadIconTooltip': 'Reload directory'; readonly 'templateEditorPage.templateEditorBrowser.closeIconTooltip': 'Close directory'; readonly 'templateEditorPage.templateEditorIntro.title': 'Get started by choosing one of the options below'; - readonly 'templateEditorPage.templateEditorIntro.loadLocal.title': 'Load Template Directory'; readonly 'templateEditorPage.templateEditorIntro.loadLocal.description': 'Load a local template directory, allowing you to both edit and try executing your own template.'; + readonly 'templateEditorPage.templateEditorIntro.loadLocal.title': 'Load Template Directory'; readonly 'templateEditorPage.templateEditorIntro.loadLocal.unsupportedTooltip': 'Only supported in some Chromium-based browsers with the page loaded over HTTPS'; - readonly 'templateEditorPage.templateEditorIntro.createLocal.title': 'Create New Template'; readonly 'templateEditorPage.templateEditorIntro.createLocal.description': 'Create a local template directory, allowing you to both edit and try executing your own template.'; + readonly 'templateEditorPage.templateEditorIntro.createLocal.title': 'Create New Template'; readonly 'templateEditorPage.templateEditorIntro.createLocal.unsupportedTooltip': 'Only supported in some Chromium-based browsers with the page loaded over HTTPS'; - readonly 'templateEditorPage.templateEditorIntro.formEditor.title': 'Template Form Playground'; readonly 'templateEditorPage.templateEditorIntro.formEditor.description': 'Preview and edit a template form, either using a sample template or by loading a template from the catalog.'; - readonly 'templateEditorPage.templateEditorIntro.fieldExplorer.title': 'Custom Field Explorer'; + readonly 'templateEditorPage.templateEditorIntro.formEditor.title': 'Template Form Playground'; readonly 'templateEditorPage.templateEditorIntro.fieldExplorer.description': 'View and play around with available installed custom field extensions.'; + readonly 'templateEditorPage.templateEditorIntro.fieldExplorer.title': 'Custom Field Explorer'; readonly 'templateEditorPage.templateEditorTextArea.saveIconTooltip': 'Save file'; readonly 'templateEditorPage.templateEditorTextArea.refreshIconTooltip': 'Reload file'; readonly 'templateEditorPage.templateEditorTextArea.emptyStateParagraph': 'Please select an action on the file menu.'; @@ -426,19 +426,19 @@ export const scaffolderTranslationRef: TranslationRef< readonly 'templateEditorToolbar.addToCatalogDialogTitle': 'Publish changes'; readonly 'templateEditorToolbar.addToCatalogDialogContent.stepsIntroduction': 'Follow the instructions below to create or update a template:'; readonly 'templateEditorToolbar.addToCatalogDialogContent.stepsListItems': 'Save the template files in a local directory\nCreate a pull request to a new or existing git repository\nIf the template already exists, the changes will be reflected in the software catalog once the pull request gets merged\nBut if you are creating a new template, follow the documentation linked below to register the new template repository in software catalog'; - readonly 'templateEditorToolbar.addToCatalogDialogActions.documentationUrl': 'https://backstage.io/docs/features/software-templates/adding-templates/'; readonly 'templateEditorToolbar.addToCatalogDialogActions.documentationButton': 'Go to the documentation'; - readonly 'templateEditorToolbarFileMenu.button': 'File'; + readonly 'templateEditorToolbar.addToCatalogDialogActions.documentationUrl': 'https://backstage.io/docs/features/software-templates/adding-templates/'; readonly 'templateEditorToolbarFileMenu.options.openDirectory': 'Open template directory'; readonly 'templateEditorToolbarFileMenu.options.createDirectory': 'Create template directory'; readonly 'templateEditorToolbarFileMenu.options.closeEditor': 'Close template editor'; + readonly 'templateEditorToolbarFileMenu.button': 'File'; readonly 'templateEditorToolbarTemplatesMenu.button': 'Templates'; } >; // @alpha (undocumented) export type TemplateListPageProps = { - TemplateCardComponent?: React_2.ComponentType<{ + TemplateCardComponent?: ComponentType<{ template: TemplateEntityV1beta3; }>; groups?: TemplateGroupFilter[]; @@ -459,7 +459,7 @@ export type TemplateListPageProps = { export type TemplateWizardPageProps = { customFieldExtensions: FieldExtensionOptions[]; components?: { - ReviewStepComponent?: React_2.ComponentType; + ReviewStepComponent?: ComponentType; }; layouts?: LayoutOptions[]; formProps?: FormProps_3; diff --git a/plugins/scaffolder/report.api.md b/plugins/scaffolder/report.api.md index 379e6a98b9..8b696330f1 100644 --- a/plugins/scaffolder/report.api.md +++ b/plugins/scaffolder/report.api.md @@ -21,7 +21,7 @@ import { FieldSchema as FieldSchema_2 } from '@backstage/plugin-scaffolder-react import { FieldValidation } from '@rjsf/utils'; import { FormProps } from '@backstage/plugin-scaffolder-react'; import { IdentityApi } from '@backstage/core-plugin-api'; -import { JSX as JSX_2 } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { LayoutOptions as LayoutOptions_2 } from '@backstage/plugin-scaffolder-react'; import { LayoutTemplate as LayoutTemplate_2 } from '@backstage/plugin-scaffolder-react'; import { ListActionsResponse as ListActionsResponse_2 } from '@backstage/plugin-scaffolder-react'; @@ -30,7 +30,6 @@ import { LogEvent as LogEvent_2 } from '@backstage/plugin-scaffolder-react'; import { Observable } from '@backstage/types'; import { PathParams } from '@backstage/core-plugin-api'; import { PropsWithChildren } from 'react'; -import { default as React_2 } from 'react'; import { ReactNode } from 'react'; import { ReviewStepProps } from '@backstage/plugin-scaffolder-react'; import { RouteRef } from '@backstage/core-plugin-api'; @@ -235,8 +234,8 @@ export const MultiEntityPickerFieldExtension: FieldExtensionComponent_2< export const MyGroupsPickerFieldExtension: FieldExtensionComponent_2< string, { - title?: string | undefined; description?: string | undefined; + title?: string | undefined; } >; @@ -244,8 +243,8 @@ export const MyGroupsPickerFieldExtension: FieldExtensionComponent_2< export const MyGroupsPickerFieldSchema: FieldSchema< string, { - title?: string | undefined; description?: string | undefined; + title?: string | undefined; } >; @@ -386,10 +385,10 @@ export const RepoBranchPickerFieldExtension: FieldExtensionComponent_2< secretsKey: string; additionalScopes?: | { - azure?: string[] | undefined; github?: string[] | undefined; gitlab?: string[] | undefined; bitbucket?: string[] | undefined; + azure?: string[] | undefined; gerrit?: string[] | undefined; gitea?: string[] | undefined; } @@ -422,10 +421,10 @@ export const RepoUrlPickerFieldExtension: FieldExtensionComponent_2< secretsKey: string; additionalScopes?: | { - azure?: string[] | undefined; github?: string[] | undefined; gitlab?: string[] | undefined; bitbucket?: string[] | undefined; + azure?: string[] | undefined; gerrit?: string[] | undefined; gitea?: string[] | undefined; } @@ -449,10 +448,10 @@ export const RepoUrlPickerFieldSchema: FieldSchema_2< secretsKey: string; additionalScopes?: | { - azure?: string[] | undefined; github?: string[] | undefined; gitlab?: string[] | undefined; bitbucket?: string[] | undefined; + azure?: string[] | undefined; gerrit?: string[] | undefined; gitea?: string[] | undefined; } @@ -474,16 +473,16 @@ export const rootRouteRef: RouteRef; // @public export type RouterProps = { components?: { - ReviewStepComponent?: React_2.ComponentType; - TemplateCardComponent?: React_2.ComponentType<{ + ReviewStepComponent?: ComponentType; + TemplateCardComponent?: ComponentType<{ template: TemplateEntityV1beta3; }>; - TaskPageComponent?: React_2.ComponentType>; - EXPERIMENTAL_TemplateOutputsComponent?: React_2.ComponentType<{ + TaskPageComponent?: ComponentType>; + EXPERIMENTAL_TemplateOutputsComponent?: ComponentType<{ output?: ScaffolderTaskOutput_2; }>; - EXPERIMENTAL_TemplateListPageComponent?: React_2.ComponentType; - EXPERIMENTAL_TemplateWizardPageComponent?: React_2.ComponentType; + EXPERIMENTAL_TemplateListPageComponent?: ComponentType; + EXPERIMENTAL_TemplateWizardPageComponent?: ComponentType; }; groups?: TemplateGroupFilter[]; templateFilter?: (entity: TemplateEntityV1beta3) => boolean; @@ -624,8 +623,8 @@ export const scaffolderPlugin: BackstagePlugin< registerComponent: ExternalRouteRef; viewTechDoc: ExternalRouteRef< { - name: string; kind: string; + name: string; namespace: string; }, true @@ -656,10 +655,10 @@ export type ScaffolderUseTemplateSecrets = ScaffolderUseTemplateSecrets_2; // @public (undocumented) export const TaskPage: (props: { - TemplateOutputsComponent?: React_2.ComponentType<{ + TemplateOutputsComponent?: ComponentType<{ output?: ScaffolderTaskOutput_2; }>; -}) => React_2.JSX.Element; +}) => JSX_2.Element; // @public @deprecated export type TaskPageProps = { @@ -670,7 +669,7 @@ export type TaskPageProps = { export type TemplateParameterSchema = TemplateParameterSchema_2; // @public -export const TemplateTypePicker: () => React_2.JSX.Element | null; +export const TemplateTypePicker: () => JSX_2.Element | null; // @public @deprecated (undocumented) export const useTemplateSecrets: () => ScaffolderUseTemplateSecrets_2; diff --git a/plugins/search-backend-module-elasticsearch/report.api.md b/plugins/search-backend-module-elasticsearch/report.api.md index 9250cfda31..080351958d 100644 --- a/plugins/search-backend-module-elasticsearch/report.api.md +++ b/plugins/search-backend-module-elasticsearch/report.api.md @@ -7,8 +7,8 @@ import { ApiResponse } from '@opensearch-project/opensearch'; import { ApiResponse as ApiResponse_2 } from '@elastic/elasticsearch'; import { BackendFeature } from '@backstage/backend-plugin-api'; import { BatchSearchEngineIndexer } from '@backstage/plugin-search-backend-node'; -import { BulkHelper } from '@elastic/elasticsearch/lib/Helpers'; -import { BulkStats } from '@elastic/elasticsearch/lib/Helpers'; +import { BulkHelper } from '@opensearch-project/opensearch/lib/Helpers'; +import { BulkStats } from '@opensearch-project/opensearch/lib/Helpers'; import { Config } from '@backstage/config'; import type { ConnectionOptions } from 'tls'; import { ElasticSearchQueryTranslator as ElasticSearchQueryTranslator_2 } from '@backstage/plugin-search-backend-module-elasticsearch'; diff --git a/plugins/search-react/report.api.md b/plugins/search-react/report.api.md index ce80b8a363..1e74e16132 100644 --- a/plugins/search-react/report.api.md +++ b/plugins/search-react/report.api.md @@ -6,34 +6,39 @@ import { ApiRef } from '@backstage/core-plugin-api'; import { AsyncState } from 'react-use/esm/useAsync'; import { AutocompleteProps } from '@material-ui/lab/Autocomplete'; +import { Dispatch } from 'react'; +import { DispatchWithoutAction } from 'react'; import { Extension } from '@backstage/core-plugin-api'; +import { ForwardRefExoticComponent } from 'react'; import { JsonObject } from '@backstage/types'; import { JsonValue } from '@backstage/types'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; import { LinkProps } from '@backstage/core-components'; import { ListItemProps } from '@material-ui/core/ListItem'; import { ListItemTextProps } from '@material-ui/core/ListItemText'; import { ListProps } from '@material-ui/core/List'; import { PropsWithChildren } from 'react'; -import { default as React_2 } from 'react'; import { ReactElement } from 'react'; import { ReactNode } from 'react'; +import { RefAttributes } from 'react'; import { ResultHighlight } from '@backstage/plugin-search-common'; 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 { SetStateAction } from 'react'; import { TextFieldProps } from '@material-ui/core/TextField'; import { TypographyProps } from '@material-ui/core/Typography'; // @public (undocumented) export const AutocompleteFilter: ( props: SearchAutocompleteFilterProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public (undocumented) export const CheckboxFilter: ( props: SearchFilterComponentProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export const createSearchResultListItemExtension: < @@ -45,7 +50,7 @@ export const createSearchResultListItemExtension: < // @public (undocumented) export const DefaultResultListItem: ( props: DefaultResultListItemProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public export type DefaultResultListItemProps = { @@ -61,7 +66,7 @@ export type DefaultResultListItemProps = { // @public (undocumented) export const HighlightedSearchResultText: ( props: HighlightedSearchResultTextProps, -) => React_2.JSX.Element; +) => JSX_2.Element; // @public (undocumented) export type HighlightedSearchResultTextClassKey = 'highlight'; @@ -102,7 +107,7 @@ export type SearchAutocompleteComponent =