From 0d43a8efab458c95f78f92d884c975ccfa2a4208 Mon Sep 17 00:00:00 2001 From: gaelgoth Date: Tue, 21 Oct 2025 11:22:30 +0200 Subject: [PATCH] Update report Signed-off-by: gaelgoth --- packages/core-components/report-alpha.api.md | 2 +- packages/theme/report.api.md | 4 ++++ packages/theme/src/unified/UnifiedThemeProvider.tsx | 4 ++++ plugins/scaffolder/report-alpha.api.md | 4 ++-- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/core-components/report-alpha.api.md b/packages/core-components/report-alpha.api.md index 96ddebcd3a..c8a9457156 100644 --- a/packages/core-components/report-alpha.api.md +++ b/packages/core-components/report-alpha.api.md @@ -15,8 +15,8 @@ export const coreComponentsTranslationRef: TranslationRef< readonly 'table.body.emptyDataSourceMessage': 'No records to display'; readonly 'table.header.actions': 'Actions'; readonly 'table.toolbar.search': 'Filter'; - readonly 'table.pagination.firstTooltip': 'First Page'; readonly 'table.pagination.labelDisplayedRows': '{from}-{to} of {count}'; + readonly 'table.pagination.firstTooltip': 'First Page'; readonly 'table.pagination.labelRowsSelect': 'rows'; readonly 'table.pagination.lastTooltip': 'Last Page'; readonly 'table.pagination.nextTooltip': 'Next Page'; diff --git a/packages/theme/report.api.md b/packages/theme/report.api.md index 18ac96ecec..e083011ae1 100644 --- a/packages/theme/report.api.md +++ b/packages/theme/report.api.md @@ -4,6 +4,7 @@ ```ts import type { ComponentsProps } from '@material-ui/core/styles/props'; +import { Context } from 'react'; import { Overrides } from '@material-ui/core/styles/overrides'; import type { Palette } from '@material-ui/core/styles/createPalette'; import type { PaletteOptions } from '@material-ui/core/styles/createPalette'; @@ -18,6 +19,9 @@ import { ThemeOptions as ThemeOptions_2 } from '@material-ui/core/styles'; import type { ThemeOptions as ThemeOptions_3 } from '@material-ui/core/styles/createTheme'; import { UnifiedTheme as UnifiedTheme_2 } from '@backstage/theme'; +// @public +export const AppThemeIdContext: Context; + // @public @deprecated export type BackstagePalette = Palette & BackstagePaletteAdditions; diff --git a/packages/theme/src/unified/UnifiedThemeProvider.tsx b/packages/theme/src/unified/UnifiedThemeProvider.tsx index 74131ede20..49ac5bb69d 100644 --- a/packages/theme/src/unified/UnifiedThemeProvider.tsx +++ b/packages/theme/src/unified/UnifiedThemeProvider.tsx @@ -29,6 +29,10 @@ import { import { UnifiedTheme } from './types'; import { unstable_ClassNameGenerator as ClassNameGenerator } from '@mui/material/className'; +/** + * React context for the current application theme ID. + * @public + */ export const AppThemeIdContext = createContext(undefined); /** diff --git a/plugins/scaffolder/report-alpha.api.md b/plugins/scaffolder/report-alpha.api.md index a5dd2a22d1..1a0a19588d 100644 --- a/plugins/scaffolder/report-alpha.api.md +++ b/plugins/scaffolder/report-alpha.api.md @@ -543,8 +543,6 @@ export const scaffolderTranslationRef: TranslationRef< readonly 'renderSchema.tableCell.description': 'Description'; readonly 'templatingExtensions.content.values.title': 'Values'; readonly 'templatingExtensions.content.values.notAvailable': 'There are no global template values defined.'; - readonly 'templatingExtensions.content.emptyState.title': 'No information to display'; - readonly 'templatingExtensions.content.emptyState.description': 'There are no templating extensions available or there was an issue communicating with the backend.'; readonly 'templatingExtensions.content.filters.title': 'Filters'; readonly 'templatingExtensions.content.filters.schema.input': 'Input'; readonly 'templatingExtensions.content.filters.schema.output': 'Output'; @@ -552,6 +550,8 @@ export const scaffolderTranslationRef: TranslationRef< readonly 'templatingExtensions.content.filters.examples': 'Examples'; readonly 'templatingExtensions.content.filters.notAvailable': 'There are no template filters defined.'; readonly 'templatingExtensions.content.filters.metadataAbsent': 'Filter metadata unavailable'; + readonly 'templatingExtensions.content.emptyState.title': 'No information to display'; + readonly 'templatingExtensions.content.emptyState.description': 'There are no templating extensions available or there was an issue communicating with the backend.'; readonly 'templatingExtensions.content.searchFieldPlaceholder': 'Search for an extension'; readonly 'templatingExtensions.content.functions.title': 'Functions'; readonly 'templatingExtensions.content.functions.schema.output': 'Output';