99 KiB
@backstage/ui
0.14.0-next.2
Minor Changes
-
b4a1875: BREAKING: Tabhrefvalues in the Header component are now resolved through the router context instead of being passed raw to the<a>tag. This means relativehrefvalues (e.g.sub3,./sub4,../catalog) are now resolved against the current route, and absolutehrefvalues may be affected by the router'sbasenameconfiguration.Migration:
Tab navigation should work the same for absolute
hrefvalues in most setups. If you use relativehrefvalues in tabs, verify they resolve as expected. If your app configures a routerbasename, check that absolute tabhrefvalues still navigate correctly.Affected components: Header
Patch Changes
-
4032ad7: Added newBadgecomponent for non-interactive labeling and categorization of content. It shares the visual appearance ofTagbut renders as a plain DOM element with no interactive states.Affected components: Badge
-
b4a1875: Added automatic active tab detection to the Header component. WhenactiveTabIdis omitted, the active tab is now auto-detected from the current route usingmatchRoutes. Pass an explicitactiveTabIdto override, ornullfor no active tab.Affected components: Header
-
aa47a37: Add an initial CheckboxGroup component implementation and docs coverage. -
386972f: Fixed the Tabs active indicator not hiding when no tab matches the current route.Affected components: Tabs
0.14.0-next.1
Patch Changes
-
2e5c5f8: Bumpedglobdependency from v7/v8/v11 to v13 to address security vulnerabilities in older versions. Bumpedrollupfrom v4.27 to v4.59+ to fix a high severity path traversal vulnerability (GHSA-mw96-cpmx-2vgc). -
8d79835: Added RangeSlider component for selecting numeric ranges.Affected components: RangeSlider
-
5081bcc: FixedAvatarbecoming elliptical in flex layouts by preventing it from shrinking.Affected components: Avatar
-
d840ba9: Fixed relativehrefresolution for BUI link components. Relative paths like../otherare now correctly turned into absolute paths before reaching the React Aria layer, ensuring client-side navigation goes to the right place.Affected components: ButtonLink, Card, CellProfile, CellText, Link, ListRow, MenuItem, MenuListBoxItem, Row, SearchAutocompleteItem, Tab, Tag
-
3bc23a5: Added support for disabling pagination inuseTablecomplete mode by settingpaginationOptions: { type: 'none' }. This skips data slicing and producespagination: { type: 'none' }intableProps, removing the need for consumers to manually override the pagination prop onTable. Also fixed complete mode not reacting to dynamic changes inpaginationOptions.pageSize.Affected components:
useTable -
c368cf3: Updated dependency@types/use-sync-external-storeto^1.0.0. -
d0f055f: AddedshowPaginationLabelprop toTablePaginationanduseTablepagination options. When set tofalse, the pagination label (e.g., "1 - 20 of 150") is hidden while navigation controls remain visible. Defaults totrue.Affected components:
TablePagination,useTable -
feaf3d1: Fixed HeaderNav hover indicator covering tab text when theme uses opaque background colors. Also fixed an incorrect CSS variable reference (--bui-font-family→--bui-font-regular).Affected components: Header
0.14.0-next.0
Minor Changes
-
8659f33: BREAKING: TheHeadercomponent'stabsprop now usesHeaderNavTabItem[]instead ofHeaderTab[]. Tabs render as a<nav>element with links and optional dropdown menus instead ofrole="tablist". A newactiveTabIdprop controls which tab is highlighted.Migration:
- import { Header, type HeaderTab } from '@backstage/ui'; + import { Header, type HeaderNavTabItem } from '@backstage/ui'; // Tabs no longer support matchStrategy — active state is controlled via activeTabId - const tabs: HeaderTab[] = [ - { id: 'overview', label: 'Overview', href: '/overview', matchStrategy: 'prefix' }, + const tabs: HeaderNavTabItem[] = [ + { id: 'overview', label: 'Overview', href: '/overview' }, ]; - <Header title="My Page" tabs={tabs} /> + <Header title="My Page" tabs={tabs} activeTabId="overview" />Affected components: Header
-
bed3307: BREAKING: Dropped support for React 17. The minimum supported React version is now 18. -
49ffe8a: BREAKING: Removed thetoolbarWrapperelement fromPluginHeaderand droppedtoolbarWrapperfromPluginHeaderDefinition.classNames. Toolbar layout styles now live ontoolbar(.bui-PluginHeaderToolbar).Migration: Update custom CSS that targeted
.bui-PluginHeaderToolbarWrapperto use.bui-PluginHeaderToolbarinstead.Affected components: PluginHeader
Patch Changes
-
bcbb6eb: MadeSearchAutocompletebackground-aware. The input now adapts its background color based on its parent container's background level.Affected components: SearchAutocomplete
-
8c2e24e: Addedaria-hiddento thePluginHeadericon to prevent screen readers from announcing decorative plugin icons.Affected components: PluginHeader
-
3d67aeb: Addedprefers-reduced-motionsupport to Tab indicator animations. Users with reduced motion preferences will no longer see sliding transitions on the active and hover indicators.Affected components: Tabs
-
cc4a682: Fixed the ButtonIcon's loading spinner animationAffected components: ButtonIcon
-
adcdd2f: Simplified theMenucomponent's item structure by removing the inner wrapper element and applying styles directly to the menu item, improving DOM clarity.Affected components: Menu
-
0257ada: Addedreact-aria,react-stately,@react-aria/interactions,@react-stately/layout, and@react-stately/overlaysas dependencies. -
Updated dependencies
- @backstage/version-bridge@1.0.12
0.13.0
Minor Changes
-
768f09d: BREAKING: Simplified the neutral background prop API for container components. The explicitneutral-1,neutral-2,neutral-3, andneutral-autovalues have been removed fromProviderBg. They are replaced by a single'neutral'value that always auto-increments from the parent context, making it impossible to skip or pin to an explicit neutral level.Migration:
Replace any explicit
bg="neutral-1",bg="neutral-2",bg="neutral-3", orbg="neutral-auto"props withbg="neutral". To achieve a specific neutral level in stories or tests, use nested containers — each additionalbg="neutral"wrapper increments by one level.// Before <Box bg="neutral-2">...</Box> // After <Box bg="neutral"> <Box bg="neutral">...</Box> </Box>Affected components: Box, Flex, Grid, Card, Accordion, Popover, Tooltip, Dialog, Menu
-
b42fcdc: BREAKING: Removed--bui-bg-popoverCSS token. Popover, Tooltip, Menu, and Dialog now use--bui-bg-appfor their outer shell andBox bg="neutral-1"for content areas, providing better theme consistency and eliminating a redundant token.Migration:
Replace any usage of
--bui-bg-popoverwith--bui-bg-neutral-1(for content surfaces) or--bui-bg-app(for outer shells):- background: var(--bui-bg-popover); + background: var(--bui-bg-neutral-1);Affected components: Popover, Tooltip, Menu, Dialog
-
bd3a76e: BREAKING: Data attributes rendered by components are now always lowercase. This affects CSS selectors targeting camelCase data attributes.Migration:
Update any custom CSS selectors that target camelCase data attributes to use lowercase instead:
- [data-startCollapsed='true'] { ... } + [data-startcollapsed='true'] { ... }Affected components: SearchField
-
95702ab: BREAKING: Removed deprecated typesComponentDefinition,ClassNamesMap,DataAttributeValues, andDataAttributesMapfrom the public API. These were internal styling infrastructure types that have been replaced by thedefineComponentsystem.Migration:
Remove any direct usage of these types. Component definitions now use
defineComponent()and their shapes are not part of the public API contract.- import type { ComponentDefinition, ClassNamesMap } from '@backstage/ui';If you were reading
definition.dataAttributes, usedefinition.propDefsinstead — props withdataAttribute: trueinpropDefsare the equivalent. -
42f8c9b: BREAKING: Centralized client-side routing inBUIProvider. Components like Link, ButtonLink, Tabs, Menu, TagGroup, and Table now require aBUIProviderrendered inside a React Router context for client-side navigation to work.Migration:
This change requires updating
@backstage/plugin-appand@backstage/core-app-apialongside@backstage/ui. If you only upgrade@backstage/ui, BUI components will fall back to full-page navigation.If you cannot upgrade all packages together, or if you have a custom app shell, add a
BUIProviderinside your Router:+ import { BUIProvider } from '@backstage/ui'; <BrowserRouter> + <BUIProvider> <AppContent /> + </BUIProvider> </BrowserRouter>Affected components: Link, ButtonLink, Tabs, Menu, TagGroup, Table
-
17d6398: BREAKING: Renamed internal CSS classes to match theHeadercomponent name.Migration:: If you are targeting these classes directly in your styles, update the following:
bui-HeaderPage→bui-Headerbui-HeaderPageContent→bui-HeaderContentbui-HeaderPageBreadcrumbs→bui-HeaderBreadcrumbsbui-HeaderPageTabsWrapper→bui-HeaderTabsWrapperbui-HeaderPageControls→bui-HeaderControls
Affected components:: Header
-
9d5f3ba: Removed redundantselectedandindeterminateprops from theCheckboxcomponent. Use theisSelectedandisIndeterminateprops instead, which are the standard React Aria props and already handle both the checkbox behaviour and the corresponding CSS data attributes.Migration: Replace any usage of the
selectedandindeterminateprops onCheckboxwith theisSelectedandisIndeterminateprops. Note that the checked state and related CSS data attributes (such asdata-selectedanddata-indeterminate) are now driven by React Aria, so any custom logic that previously inspected or set these via the old props should instead rely on the React Aria-managed state and attributes exposed through the new props.Affected components: Checkbox
Patch Changes
-
04d9d8d: AddedListandListRowcomponents. These provide a standalone, accessible list of interactive rows built on top of React Aria'sGridListandGridListItemprimitives. Rows support icons, descriptions, actions, menus, and single or multiple selection modes.Affected components: List, ListRow
-
a1f4bee: Made Accordion abgprovider so nested components like Button auto-increment their background level. UpdateduseDefinitionto resolvebgpropDefdefaults for provider components. -
db92751: Added interactive support to theCardcomponent. PassonPressto make the entire card surface pressable, orhrefto make it navigate to a URL. A transparent overlay handles the interaction while nested buttons and links remain independently clickable. -
12d8afe: Added analytics capabilities to the component library. Components with navigation behavior (Link, ButtonLink, Tab, MenuItem, Tag, Row) now fire analytics events on click when aBUIProvideris present.New exports:
BUIProvider,useAnalytics,getNodeText, and associated types (AnalyticsTracker,UseAnalyticsFn,BUIProviderProps,AnalyticsEventAttributes).Components with analytics support now accept a
noTrackprop to suppress event firing.Affected components: Link, ButtonLink, Tab, MenuItem, Tag, Row
-
b838cc9: Added aloadingprop anddata-loadingdata attribute toTableRoot, allowing consumers to distinguish between stale data and initial loading states. Bothstaleandloadingsetaria-busyon the table.Affected components: TableRoot
-
690786f: Improved theTablecomponent loading state to show a skeleton UI with visible headers instead of plain "Loading..." text. The table now renders its full structure during loading, with animated skeleton rows in place of data. The loading state includes proper accessibility support witharia-busyon the table and screen reader announcements.Affected components: Table
-
58224d3: Fixed neutral-1 hover & pressed state in light mode. -
95702ab: Migrated all components fromuseStylestouseDefinitionhook. ExportedOwnPropstypes for each component, enabling better type composition for consumers.Affected components: Avatar, Checkbox, Container, Dialog, FieldError, FieldLabel, Flex, FullPage, Grid, HeaderPage, Link, Menu, PasswordField, PluginHeader, Popover, RadioGroup, SearchField, Select, Skeleton, Switch, Table, TablePagination, Tabs, TagGroup, Text, TextField, ToggleButton, ToggleButtonGroup, Tooltip, VisuallyHidden
-
430d5ed: Fixed interactive cards so that CardBody can scroll when the card has a constrained height. Previously, the overlay element blocked scroll events.Affected components: Card
-
4c2c350: Removed thetransitiononContainerpadding to prevent an unwanted animation when the viewport is resized.Affected components: Container
-
e0b7eb0: Fixed --bui-fg-success token in light mode to be more accessible. -
ad7c883: Deprecated theHeaderPagecomponent name in favor ofHeader. The oldHeaderPage,HeaderPageProps,HeaderPageOwnProps,HeaderPageBreadcrumb, andHeaderPageDefinitionexports are still available as deprecated aliases. -
0ebde15: Added documentation for the table cell wrapper requirement to TSDoc comments forCell,CellText,CellProfile,ColumnConfig, andRowRenderFn. -
d9d2dd6: AddedSearchAutocompleteandSearchAutocompleteItemcomponents for building accessible search-with-results patterns. Built on React Aria's Autocomplete with keyboard navigation and screen reader support. Designed for async/external search results with a configurable popover width.Affected components: SearchAutocomplete, SearchAutocompleteItem
-
a6b84e1: Made Checkboxchildrenoptional and added a dev warning when neither a visible label,aria-label, noraria-labelledbyis provided. The label wrapper div is no longer rendered when there are no children, removing the unnecessary gap.Affected components: Checkbox
-
b99f6d5: FixedDialogcontent overflowing when noheightprop is set. The dialog now grows with its content and scrolls when content exceeds the viewport height.Affected components: Dialog
-
2f581de: Fixed focus ring styles to use React Aria's[data-focus-visible]data attribute instead of the native CSS:focus-visiblepseudo-class. This ensures keyboard focus rings render reliably when focus is managed programmatically by React Aria (e.g. inside a GridList, Menu, or Select).Affected components: Accordion, Button, ButtonIcon, ButtonLink, Card, List, Menu, Select, ToggleButtonGroup
-
17d6398: Fixed incorrect bottom spacing caused byContainerusingpadding-bottomfor its default bottom spacing. Changed tomargin-bottomand prevented it from applying whenContaineris used as theHeaderroot element.Affected components: Container, Header
-
2e5c651: FixedPluginHeaderto avoid triggeringResizeObserver loop completed with undelivered notificationswarnings when used in layouts that react to the header height, such as pages that useFullPage.Affected components: PluginHeader
-
d4fa5b4: Fixed tabmatchStrategymatching to ignore query parameters and hash fragments in tabhrefvalues. Previously, tabs with query params in theirhref(e.g.,/page?group=foo) would never show as active since matching compared the fullhrefstring againstlocation.pathnamewhich never includes query params.Affected components: Tabs, PluginHeader
-
bc42b60: Fixed Table component to use current--bui-bg-neutral-1tokens instead of the removed--bui-bg-tinttokens, restoring row hover, selected, pressed, and disabled background colors. -
9314ff5: Fixed a bug in theuseTablehook where the loading skeleton was never shown forcompletemode when usinggetData. The initial data state was an empty array instead ofundefined, causing theTablecomponent to skip the loading state. -
f42f4cc: Fixed Table column headers overflowing and wrapping when there is not enough space. Headers now truncate with ellipsis instead.Affected components: Table
-
1f9682b: Fixed Table row hover, selected, pressed, and disabled background states to use the correct neutral token level based on the container background.Affected components: Table
-
fbd5c5a: Fixed Table rows showing a pointer cursor when not interactive. Rows now only showcursor: pointerwhen they have anhref, are selectable, or are pressable.Affected components: Table
-
612c217: FixedTablerows with externalhrefvalues to open in a new tab by automatically applyingtarget="_blank"andrel="noopener noreferrer".Affected components: Table
-
545129a: Updated Table selection checkboxes to usearia-labelinstead of empty fragment children, improving accessibility and removing the unnecessary label gap in the selection cells.Affected components: Table
-
36987db: Fixed handling of thestyleprop onButton,ButtonIcon, andButtonLinkso that it is now correctly forwarded to the underlying element instead of being silently dropped.Affected components: Button, ButtonIcon, ButtonLink
-
95702ab: Fixed Link variant default from'body'to'body-medium'to match actual CSS selectors. The previous default did not correspond to a valid variant value.Affected components: Link
-
9027b10: Fixed scroll overflow in Menu and Select popover content when constrained by viewport height.Affected components: Menu, Select
-
7960d54: Added support for native HTML div attributes on theFlex,Grid, andGrid.Itemcomponents.Affected components: Flex, Grid, Grid.Item
-
0559408: Addedvirtualizedprop toTablecomponent for virtualized rendering of large datasets. Acceptstruefor default row height,{ rowHeight: number }for fixed height, or{ estimatedRowHeight: number }for variable height rows. -
8909359: Fixed focus-visible outline styles for Menu and Select components.Affected components: Menu, Select
-
12d8afe: Fixed MenuItemonActionprop ordering so user-providedonActionhandlers are chained rather than silently overwritten. -
aa29b50: Pages created withPageBlueprintnow render the plugin header by default in the new frontend system. -
bb66b86: TheSelecttrigger now automatically adapts its background colour based on the parent background context.Affected components: Select
-
4105a78: Merged the internalPluginHeaderToolbarcomponent intoPluginHeader, removing the separate component and its associated types (PluginHeaderToolbarOwnProps,PluginHeaderToolbarProps) and definition (PluginHeaderToolbarDefinition). This is an internal refactor with no changes to the public API ofPluginHeader.Affected components: PluginHeader
-
9599697: Updated dependencyglobalsto^17.0.0. -
0f462f8: Improved type safety inuseDefinitionby centralizing prop resolution and strengthening theBgPropsConstraintto require thatbgprovider components declarechildrenas a required prop in their OwnProps type. -
8909359: Added proper cursor styles for RadioGroup items.Affected components: RadioGroup
-
fcaac3b: FixedCardinteractive cards not firing theonPresshandler when clicking the card surface.Affected components: Card
-
b303857: FixedisRequiredprop not being passed to the underlying React Aria field components in TextField, SearchField, and PasswordField. Previously,isRequiredwas consumed locally for the secondary label text but never forwarded, which meant the input elements lackedaria-required="true"and React Aria's built-in required validation was not activated.Affected components: TextField, SearchField, PasswordField
-
934ac03:SearchFieldandTextFieldnow automatically adapt their background color based on the parent bg context, stepping up one neutral level (e.g. neutral-1 → neutral-2) when placed on a neutral background.TextFieldalso gains a focus ring using the--bui-ringtoken.Affected components: SearchField, TextField
-
cd3cb0f: ImproveduseBreakpointperformance by sharing a single set ofmatchMedialisteners across all component instances instead of creating independent listeners per hook call. -
36987db: ExtendedAlertProps,ContainerProps,DialogBodyProps, andFieldLabelPropswith native div element props to allow passing attributes likearia-*anddata-*.Affected components: Alert, Container, DialogBody, FieldLabel
0.13.0-next.2
Patch Changes
-
db92751: Added interactive support to theCardcomponent. PassonPressto make the entire card surface pressable, orhrefto make it navigate to a URL. A transparent overlay handles the interaction while nested buttons and links remain independently clickable. -
12d8afe: Added analytics capabilities to the component library. Components with navigation behavior (Link, ButtonLink, Tab, MenuItem, Tag, Row) now fire analytics events on click when aBUIProvideris present.New exports:
BUIProvider,useAnalytics,getNodeText, and associated types (AnalyticsTracker,UseAnalyticsFn,BUIProviderProps,AnalyticsEventAttributes).Components with analytics support now accept a
noTrackprop to suppress event firing.Affected components: Link, ButtonLink, Tab, MenuItem, Tag, Row
-
430d5ed: Fixed interactive cards so that CardBody can scroll when the card has a constrained height. Previously, the overlay element blocked scroll events.Affected components: Card
-
ad7c883: Deprecated theHeaderPagecomponent name in favor ofHeader. The oldHeaderPage,HeaderPageProps,HeaderPageOwnProps,HeaderPageBreadcrumb, andHeaderPageDefinitionexports are still available as deprecated aliases. -
f42f4cc: Fixed Table column headers overflowing and wrapping when there is not enough space. Headers now truncate with ellipsis instead.Affected components: Table
-
fbd5c5a: Fixed Table rows showing a pointer cursor when not interactive. Rows now only showcursor: pointerwhen they have anhref, are selectable, or are pressable.Affected components: Table
-
7960d54: Added support for native HTML div attributes on theFlex,Grid, andGrid.Itemcomponents.Affected components: Flex, Grid, Grid.Item
-
12d8afe: Fixed MenuItemonActionprop ordering so user-providedonActionhandlers are chained rather than silently overwritten. -
bb66b86: TheSelecttrigger now automatically adapts its background colour based on the parent background context.Affected components: Select
-
934ac03:SearchFieldandTextFieldnow automatically adapt their background color based on the parent bg context, stepping up one neutral level (e.g. neutral-1 → neutral-2) when placed on a neutral background.TextFieldalso gains a focus ring using the--bui-ringtoken.Affected components: SearchField, TextField
0.13.0-next.1
Minor Changes
-
768f09d: BREAKING: Simplified the neutral background prop API for container components. The explicitneutral-1,neutral-2,neutral-3, andneutral-autovalues have been removed fromProviderBg. They are replaced by a single'neutral'value that always auto-increments from the parent context, making it impossible to skip or pin to an explicit neutral level.Migration:
Replace any explicit
bg="neutral-1",bg="neutral-2",bg="neutral-3", orbg="neutral-auto"props withbg="neutral". To achieve a specific neutral level in stories or tests, use nested containers — each additionalbg="neutral"wrapper increments by one level.// Before <Box bg="neutral-2">...</Box> // After <Box bg="neutral"> <Box bg="neutral">...</Box> </Box>Affected components: Box, Flex, Grid, Card, Accordion, Popover, Tooltip, Dialog, Menu
-
b42fcdc: BREAKING: Removed--bui-bg-popoverCSS token. Popover, Tooltip, Menu, and Dialog now use--bui-bg-appfor their outer shell andBox bg="neutral-1"for content areas, providing better theme consistency and eliminating a redundant token.Migration:
Replace any usage of
--bui-bg-popoverwith--bui-bg-neutral-1(for content surfaces) or--bui-bg-app(for outer shells):- background: var(--bui-bg-popover); + background: var(--bui-bg-neutral-1);Affected components: Popover, Tooltip, Menu, Dialog
-
bd3a76e: BREAKING: Data attributes rendered by components are now always lowercase. This affects CSS selectors targeting camelCase data attributes.Migration:
Update any custom CSS selectors that target camelCase data attributes to use lowercase instead:
- [data-startCollapsed='true'] { ... } + [data-startcollapsed='true'] { ... }Affected components: SearchField
-
95702ab: BREAKING: Removed deprecated typesComponentDefinition,ClassNamesMap,DataAttributeValues, andDataAttributesMapfrom the public API. These were internal styling infrastructure types that have been replaced by thedefineComponentsystem.Migration:
Remove any direct usage of these types. Component definitions now use
defineComponent()and their shapes are not part of the public API contract.- import type { ComponentDefinition, ClassNamesMap } from '@backstage/ui';If you were reading
definition.dataAttributes, usedefinition.propDefsinstead — props withdataAttribute: trueinpropDefsare the equivalent.
Patch Changes
-
58224d3: Fixed neutral-1 hover & pressed state in light mode. -
95702ab: Migrated all components fromuseStylestouseDefinitionhook. ExportedOwnPropstypes for each component, enabling better type composition for consumers.Affected components: Avatar, Checkbox, Container, Dialog, FieldError, FieldLabel, Flex, FullPage, Grid, HeaderPage, Link, Menu, PasswordField, PluginHeader, Popover, RadioGroup, SearchField, Select, Skeleton, Switch, Table, TablePagination, Tabs, TagGroup, Text, TextField, ToggleButton, ToggleButtonGroup, Tooltip, VisuallyHidden
-
4c2c350: Removed thetransitiononContainerpadding to prevent an unwanted animation when the viewport is resized.Affected components: Container
-
d4fa5b4: Fixed tabmatchStrategymatching to ignore query parameters and hash fragments in tabhrefvalues. Previously, tabs with query params in theirhref(e.g.,/page?group=foo) would never show as active since matching compared the fullhrefstring againstlocation.pathnamewhich never includes query params.Affected components: Tabs, PluginHeader
-
36987db: Fixed handling of thestyleprop onButton,ButtonIcon, andButtonLinkso that it is now correctly forwarded to the underlying element instead of being silently dropped.Affected components: Button, ButtonIcon, ButtonLink
-
95702ab: Fixed Link variant default from'body'to'body-medium'to match actual CSS selectors. The previous default did not correspond to a valid variant value.Affected components: Link
-
9027b10: Fixed scroll overflow in Menu and Select popover content when constrained by viewport height.Affected components: Menu, Select
-
4105a78: Merged the internalPluginHeaderToolbarcomponent intoPluginHeader, removing the separate component and its associated types (PluginHeaderToolbarOwnProps,PluginHeaderToolbarProps) and definition (PluginHeaderToolbarDefinition). This is an internal refactor with no changes to the public API ofPluginHeader.Affected components: PluginHeader
-
b303857: FixedisRequiredprop not being passed to the underlying React Aria field components in TextField, SearchField, and PasswordField. Previously,isRequiredwas consumed locally for the secondary label text but never forwarded, which meant the input elements lackedaria-required="true"and React Aria's built-in required validation was not activated.Affected components: TextField, SearchField, PasswordField
-
cd3cb0f: ImproveduseBreakpointperformance by sharing a single set ofmatchMedialisteners across all component instances instead of creating independent listeners per hook call. -
36987db: ExtendedAlertProps,ContainerProps,DialogBodyProps, andFieldLabelPropswith native div element props to allow passing attributes likearia-*anddata-*.Affected components: Alert, Container, DialogBody, FieldLabel
-
Updated dependencies
- @backstage/version-bridge@1.0.12
0.12.1-next.0
Patch Changes
-
a1f4bee: Made Accordion abgprovider so nested components like Button auto-increment their background level. UpdateduseDefinitionto resolvebgpropDefdefaults for provider components. -
8909359: Fixed focus-visible outline styles for Menu and Select components.Affected components: Menu, Select
-
0f462f8: Improved type safety inuseDefinitionby centralizing prop resolution and strengthening theBgPropsConstraintto require thatbgprovider components declarechildrenas a required prop in their OwnProps type. -
8909359: Added proper cursor styles for RadioGroup items.Affected components: RadioGroup
-
Updated dependencies
- @backstage/version-bridge@1.0.12
0.12.0
Minor Changes
-
46a9adc: BREAKING: Alert no longer accepts asurfacepropThe Alert component's background is now driven entirely by its
statusprop. Thesurfaceprop has been removed.- <Alert surface="1" status="info" /> + <Alert status="info" />Affected components: Alert
-
b63c25b: BREAKING: Removed gray scale tokens and renamed background surface tokens to neutral tokensThe
--bui-gray-1through--bui-gray-8tokens have been removed. The--bui-bg-surface-*and--bui-bg-neutral-on-surface-*tokens have been replaced by a unified--bui-bg-neutral-*scale.Migration:
Replace surface tokens directly:
- background: var(--bui-bg-surface-0); + background: var(--bui-bg-neutral-0);Replace on-surface tokens shifted by +1:
- background: var(--bui-bg-neutral-on-surface-0); + background: var(--bui-bg-neutral-1);Replace gray tokens 1-4 with neutral equivalents (
--bui-gray-5through--bui-gray-8have no direct replacement):- background: var(--bui-gray-1); + background: var(--bui-bg-neutral-1); -
7898df0: BREAKING: ReplacedSurface/onSurfacesystem with new provider/consumer background systemThe old
Surfacetype ('0'–'3','auto') and its associated props (surface,onSurface) have been replaced by a provider/consumerbgarchitecture.Types:
ContainerBg—'neutral-1'|'neutral-2'|'neutral-3'|'danger'|'warning'|'success'ProviderBg—ContainerBg | 'neutral-auto'
Consumer components (e.g. Button) inherit the parent's
bgviadata-on-bg, and CSS handles the visual step-up. See "Neutral level capping" below for details on how levels are bounded.Hooks:
useBgProvider(bg?)— for provider components. Returns{ bg: undefined }when nobgis given (transparent). Supports'neutral-auto'to auto-increment from the parent context.useBgConsumer()— for consumer components. Returns the parent container'sbgunchanged.
Component roles:
- Provider-only (Box, Flex, Grid): set
data-bg, wrap children inBgProvider. Transparent by default — they do not auto-increment; passbg="neutral-auto"explicitly if you want automatic neutral stepping. - Consumer-only (Button, ButtonIcon, ButtonLink): set
data-on-bg, inherit the parent container'sbgunchanged. - Provider + Consumer (Card): sets both
data-bganddata-on-bg, wraps children. Card passesbg="neutral-auto"to its inner Box, so it auto-increments from the parent context.
Neutral level capping:
Provider components cap at
neutral-3. There is noneutral-4prop value. Theneutral-4level exists only in consumer component CSS — for example, a Button sitting on aneutral-3surface usesneutral-4tokens internally viadata-on-bg.Migration:
Rename the
surfaceprop tobgon provider components and update values:- <Box surface="1"> + <Box bg="neutral-1"> - <Card surface="2"> + <Card bg="neutral-2"> - <Flex surface="0"> + <Flex bg="neutral-1"> - <Grid.Root surface="1"> + <Grid.Root bg="neutral-1">Remove
onSurfacefrom consumer components — they now always inherit from the parent container:- <Button onSurface="1" variant="secondary"> + <Button variant="secondary"> - <ButtonIcon onSurface="2" variant="secondary" /> + <ButtonIcon variant="secondary" /> - <ToggleButton onSurface="1"> + <ToggleButton>Update type imports:
- import type { Surface, LeafSurfaceProps, ContainerSurfaceProps } from '@backstage/ui'; + import type { ContainerBg, ProviderBg } from '@backstage/ui';Replace hook usage in custom components:
- import { useSurface, SurfaceProvider } from '@backstage/ui'; + import { useBgProvider, useBgConsumer, BgProvider } from '@backstage/ui'; - const { surface } = useSurface({ surface: props.surface }); + const { bg } = useBgProvider(props.bg); - const { surface } = useSurface({ onSurface: props.onSurface }); + const { bg } = useBgConsumer();Update CSS selectors targeting surface data attributes:
- [data-surface='1'] { ... } + [data-bg='neutral-1'] { ... } - [data-on-surface='1'] { ... } + [data-on-bg='neutral-1'] { ... }Note: Provider components use
data-bg(values:neutral-1throughneutral-3, plus intent values). Consumer components usedata-on-bg, which reflects the parent container'sbgdirectly. Theneutral-4level never appears as a prop ordata-bgvalue — it is used only in consumer CSS.Affected components: Box, Button, ButtonIcon, ButtonLink, ToggleButton, Card, Flex, Grid
-
4137a43: BREAKING: Renamed, added, and removed CSS tokens.- Renamed
--bui-bg-neutral-0to--bui-bg-app. - Renamed
--bui-borderto--bui-border-2. - Added
--bui-border-1for subtle, low-contrast borders. - Added
--bui-bg-popoverfor the background color of popovers, tooltips, menus, and dialogs. - Removed
--bui-border-hover,--bui-border-pressed, and--bui-border-disabled.
Migration:
- var(--bui-bg-neutral-0) + var(--bui-bg-app) - var(--bui-border) + var(--bui-border-2)Remove any references to
--bui-border-hover,--bui-border-pressed, and--bui-border-disabledas these tokens no longer exist. - Renamed
-
b1f723b: BREAKING: Changed CSS selectors forButtonIconandButtonLinkcomponents. Custom styles targeting.bui-Buttonto style these components must be updated to use.bui-ButtonIconor.bui-ButtonLinkrespectively.-/* This no longer styles ButtonIcon or ButtonLink */ -.bui-Button[data-variant="primary"] { ... } +/* Use component-specific selectors */ +.bui-ButtonIcon[data-variant="primary"] { ... } +.bui-ButtonLink[data-variant="primary"] { ... }Affected components: ButtonIcon, ButtonLink
-
caeb9ad: BREAKING: Thecellandheaderproperties inColumnConfignow returnReactElementinstead ofReactNode.This fixes an issue where React Aria's Collection component would inject an
idprop into Fragment wrappers, causing "Invalid propidsupplied toReact.Fragment" errors on render.Migration:
const columns: ColumnConfig<MyItem>[] = [ { id: 'name', label: 'Name', - cell: (item) => item.name, + cell: (item) => <CellText title={item.name} />, - header: () => 'Name', + header: () => <Column>Name</Column>, }, ]; -
0ec3c0e: BREAKING: Renamed theHeadercomponent toPluginHeaderfor clarity.The following exports have been renamed:
Header→PluginHeaderHeaderProps→PluginHeaderPropsHeaderDefinition→PluginHeaderDefinition
The
HeaderTabtype is unchanged as it is shared withHeaderPage.CSS class names have been updated from
bui-Header*tobui-PluginHeader*.Migration:
-import { Header, HeaderDefinition } from '@backstage/ui'; +import { PluginHeader, PluginHeaderDefinition } from '@backstage/ui'; -<Header title="My plugin" /> +<PluginHeader title="My plugin" />Affected components: plugin-header
-
058ffd9: BREAKING: Removedlargesize variant from Button component as it was never implemented.Migration:
- <Button size="large">Click me</Button> + <Button size="medium">Click me</Button>Affected components: Button
-
110fec0: BREAKING: Removed link and tint color tokens, added new status foreground tokens, and improved Link component stylingThe following color tokens have been removed:
--bui-fg-link(and all related tokens:-hover,-pressed,-disabled)--bui-fg-tint(and all related tokens:-hover,-pressed,-disabled)--bui-bg-tint(and all related tokens:-hover,-pressed,-disabled)--bui-border-tint(and all related tokens)
New Status Tokens:
Added dedicated tokens for status colors that distinguish between usage on status backgrounds vs. standalone usage:
--bui-fg-danger-on-bg/--bui-fg-danger--bui-fg-warning-on-bg/--bui-fg-warning--bui-fg-success-on-bg/--bui-fg-success--bui-fg-info-on-bg/--bui-fg-info
The
-on-bgvariants are designed for text on colored backgrounds, while the base variants are for standalone status indicators with improved visibility and contrast.Migration:
For link colors, migrate to one of the following alternatives:
.custom-link { - color: var(--bui-fg-link); + color: var(--bui-fg-info); /* For informational links */ + /* or */ + color: var(--bui-fg-primary); /* For standard text links */ }For tint colors (backgrounds, foregrounds, borders), migrate to appropriate status or neutral colors:
.info-section { - background: var(--bui-bg-tint); + background: var(--bui-bg-info); /* For informational sections */ + /* or */ + background: var(--bui-bg-neutral-1); /* For neutral emphasis */ }If you're using status foreground colors on colored backgrounds, update to the new
-on-bgtokens:.error-badge { - color: var(--bui-fg-danger); + color: var(--bui-fg-danger-on-bg); background: var(--bui-bg-danger); }Affected components: Link
Patch Changes
-
644e303: Added a newFullPagecomponent that fills the remaining viewport height below thePluginHeader.<PluginHeader title="My Plugin" tabs={tabs} /> <FullPage> {/* content fills remaining height */} </FullPage>Affected components: FullPage
-
44877e4: Fixed dark theme--bui-fg-secondaryand--bui-fg-disabledtokens using black-basedoklch(0% ...)instead of white-basedoklch(100% ...), making secondary and disabled text visible on dark backgrounds. -
350c948: Fixed Box component to forward HTML attributes to the underlying div element.Affected components: Box
-
7455dae: Use node prefix on native imports -
c8ae765: Fixed nested Accordion icon state issue where the inner accordion's arrow icon would incorrectly show as expanded when only the outer accordion was expanded. The CSS selector now uses a direct parent selector to ensure the icon only responds to its own accordion's expanded state.Affected components: Accordion
-
4d1b7f4: Fixed CSS Module syntax to comply with Next.js 16 Turbopack validation by flattening nested dark theme selectors.Affected components: Popover, Tooltip
-
2c219b9: Addeddestructiveprop to Button for dangerous actions like delete or remove. Works with all variants (primary, secondary, tertiary).Affected components: Button
-
5af9e14: FixeduseDefinitionhook adding literal "undefined" class name when no className prop was passed. -
5c76d13: Allowrefas a prop on theTagcomponentAffected components: Tag
-
ab25658: Cleaned upuseDefinitionownPropstypes to remove never-typed ghost properties from autocomplete. -
741a98d: Allow data to be passed directly to theuseTablehook using the propertydatainstead ofgetData()for mode"complete".This simplifies usage as data changes, rather than having to perform a
useEffectwhen data changes, and then reloading the data. It also happens immediately, so stale data won't remain until a rerender (with an internal async state change), so less flickering.Affected components: Table
-
a0fe1b2: Fixed changing columns after first render from crashing. It now renders the table with the new column layout as columns change.Affected components: Table
-
508bd1a: Added newAlertcomponent with support for status variants (info, success, warning, danger), icons, loading states, and custom actions.Updated status color tokens for improved contrast and consistency across light and dark themes:
- Added new
--bui-bg-infoand--bui-fg-infotokens for info status - Updated
--bui-bg-danger,--bui-fg-dangertokens - Updated
--bui-bg-warning,--bui-fg-warningtokens - Updated
--bui-bg-success,--bui-fg-successtokens
Affected components: Alert
- Added new
-
da30862: Fixed client-side navigation for container components by wrapping the container (not individual items) in RouterProvider. Components now conditionally provide routing context only when children have internal links, removing the Router context requirement when not needed. This also removes the need to wrap these components in MemoryRouter during tests when they are not using thehrefprop.Additionally, when multiple tabs match the current URL via prefix matching, the tab with the most specific path (highest segment count) is now selected. For example, with URL
/catalog/users/john, a tab with path/catalog/usersis now selected over a tab with path/catalog.Affected components: Tabs, Tab, TagGroup, Tag, Menu, MenuItem, MenuAutocomplete
-
092c453: Fixed an infinite render loop in Tabs when navigating to a URL that doesn't match any tabhref. -
becf851: export PasswordField component -
becee36: Migrated Accordion components to useuseDefinitioninstead ofuseStyles, and added automatic background adaptation based on parent container context. -
5320aa8: Fixed components to not require a Router context when rendering without internal links.Affected components: Link, ButtonLink, Row
-
a7e0d50: Updatedreact-router-dompeer dependency to^6.30.2and explicitly disabled v7 future flags to suppress deprecation warnings. -
8c39412: The Table component now wraps the react-aria-componentsTablewith aResizableTableContaineronly if any column has a width property set. This means that column widths can adapt to the content otherwise (if no width is explicitly set).Affected components: Table
-
cb090b4: Bump react-aria-components to v1.14.0 -
c429101: Fixed React 17 compatibility by usinguseIdfromreact-ariainstead of the built-in React hook which is only available in React 18+. -
74c5a76: Fixed Switch component disabled state styling to shownot-allowedcursor and disabled text color.Affected components: Switch
-
20131c5: Migrated to use the standardbackstage-cli package buildfor CSS bundling instead of a custom build script. -
Updated dependencies
- @backstage/version-bridge@1.0.12
0.12.0-next.2
Minor Changes
-
b63c25b: BREAKING: Removed gray scale tokens and renamed background surface tokens to neutral tokensThe
--bui-gray-1through--bui-gray-8tokens have been removed. The--bui-bg-surface-*and--bui-bg-neutral-on-surface-*tokens have been replaced by a unified--bui-bg-neutral-*scale.Migration:
Replace surface tokens directly:
- background: var(--bui-bg-surface-0); + background: var(--bui-bg-app);Replace on-surface tokens shifted by +1:
- background: var(--bui-bg-neutral-on-surface-0); + background: var(--bui-bg-neutral-1);Replace gray tokens 1-4 with neutral equivalents (
--bui-gray-5through--bui-gray-8have no direct replacement):- background: var(--bui-gray-1); + background: var(--bui-bg-neutral-1);
Patch Changes
-
c8ae765: Fixed nested Accordion icon state issue where the inner accordion's arrow icon would incorrectly show as expanded when only the outer accordion was expanded. The CSS selector now uses a direct parent selector to ensure the icon only responds to its own accordion's expanded state.Affected components: Accordion
-
5c76d13: Allowrefas a prop on theTagcomponentAffected components: Tag
-
741a98d: Allow data to be passed directly to theuseTablehook using the propertydatainstead ofgetData()for mode"complete".This simplifies usage as data changes, rather than having to perform a
useEffectwhen data changes, and then reloading the data. It also happens immediately, so stale data won't remain until a rerender (with an internal async state change), so less flickering.Affected components: Table
-
a0fe1b2: Fixed changing columns after first render from crashing. It now renders the table with the new column layout as columns change.Affected components: Table
-
becf851: export PasswordField component -
a7e0d50: Prepare for React Router v7 migration by updating to v6.30.2 across all NFS packages and enabling v7 future flags. Convert routes from splat paths to parent/child structure with Outlet components. -
8c39412: The Table component now wraps the react-aria-componentsTablewith aResizableTableContaineronly if any column has a width property set. This means that column widths can adapt to the content otherwise (if no width is explicitly set).Affected components: Table
-
20131c5: Migrated to use the standardbackstage-cli package buildfor CSS bundling instead of a custom build script. -
Updated dependencies
- @backstage/version-bridge@1.0.12-next.0
0.12.0-next.1
Minor Changes
-
058ffd9: BREAKING: Removedlargesize variant from Button component as it was never implemented.Migration:
- <Button size="large">Click me</Button> + <Button size="medium">Click me</Button>Affected components: Button
-
110fec0: BREAKING: Removed link and tint color tokens, added new status foreground tokens, and improved Link component stylingThe following color tokens have been removed:
--bui-fg-link(and all related tokens:-hover,-pressed,-disabled)--bui-fg-tint(and all related tokens:-hover,-pressed,-disabled)--bui-bg-tint(and all related tokens:-hover,-pressed,-disabled)--bui-border-tint(and all related tokens)
New Status Tokens:
Added dedicated tokens for status colors that distinguish between usage on status backgrounds vs. standalone usage:
--bui-fg-danger-on-bg/--bui-fg-danger--bui-fg-warning-on-bg/--bui-fg-warning--bui-fg-success-on-bg/--bui-fg-success--bui-fg-info-on-bg/--bui-fg-info
The
-on-bgvariants are designed for text on colored backgrounds, while the base variants are for standalone status indicators with improved visibility and contrast.Migration:
For link colors, migrate to one of the following alternatives:
.custom-link { - color: var(--bui-fg-link); + color: var(--bui-fg-info); /* For informational links */ + /* or */ + color: var(--bui-fg-primary); /* For standard text links */ }For tint colors (backgrounds, foregrounds, borders), migrate to appropriate status or neutral colors:
.info-section { - background: var(--bui-bg-tint); + background: var(--bui-bg-info); /* For informational sections */ + /* or */ + background: var(--bui-bg-neutral-on-surface-0); /* For neutral emphasis */ }If you're using status foreground colors on colored backgrounds, update to the new
-on-bgtokens:.error-badge { - color: var(--bui-fg-danger); + color: var(--bui-fg-danger-on-bg); background: var(--bui-bg-danger); }Affected components: Link
Patch Changes
-
4d1b7f4: Fixed CSS Module syntax to comply with Next.js 16 Turbopack validation by flattening nested dark theme selectors.Affected components: Popover, Tooltip
-
2c219b9: Addeddestructiveprop to Button for dangerous actions like delete or remove. Works with all variants (primary, secondary, tertiary).Affected components: Button
-
5af9e14: FixeduseDefinitionhook adding literal "undefined" class name when no className prop was passed. -
74c5a76: Fixed Switch component disabled state styling to shownot-allowedcursor and disabled text color.Affected components: Switch
0.12.0-next.0
Minor Changes
-
b1f723b: BREAKING: Changed CSS selectors forButtonIconandButtonLinkcomponents. Custom styles targeting.bui-Buttonto style these components must be updated to use.bui-ButtonIconor.bui-ButtonLinkrespectively.-/* This no longer styles ButtonIcon or ButtonLink */ -.bui-Button[data-variant="primary"] { ... } +/* Use component-specific selectors */ +.bui-ButtonIcon[data-variant="primary"] { ... } +.bui-ButtonLink[data-variant="primary"] { ... }Affected components: ButtonIcon, ButtonLink
-
caeb9ad: BREAKING: Thecellandheaderproperties inColumnConfignow returnReactElementinstead ofReactNode.This fixes an issue where React Aria's Collection component would inject an
idprop into Fragment wrappers, causing "Invalid propidsupplied toReact.Fragment" errors on render.Migration:
const columns: ColumnConfig<MyItem>[] = [ { id: 'name', label: 'Name', - cell: (item) => item.name, + cell: (item) => <CellText title={item.name} />, - header: () => 'Name', + header: () => <Column>Name</Column>, }, ];
Patch Changes
-
350c948: Fixed Box component to forward HTML attributes to the underlying div element.Affected components: Box
-
7455dae: Use node prefix on native imports -
508bd1a: Added newAlertcomponent with support for status variants (info, success, warning, danger), icons, loading states, and custom actions.Updated status color tokens for improved contrast and consistency across light and dark themes:
- Added new
--bui-bg-infoand--bui-fg-infotokens for info status - Updated
--bui-bg-danger,--bui-fg-dangertokens - Updated
--bui-bg-warning,--bui-fg-warningtokens - Updated
--bui-bg-success,--bui-fg-successtokens
Affected components: Alert
- Added new
-
da30862: Fixed client-side navigation for container components by wrapping the container (not individual items) in RouterProvider. Components now conditionally provide routing context only when children have internal links, removing the Router context requirement when not needed. This also removes the need to wrap these components in MemoryRouter during tests when they are not using thehrefprop.Additionally, when multiple tabs match the current URL via prefix matching, the tab with the most specific path (highest segment count) is now selected. For example, with URL
/catalog/users/john, a tab with path/catalog/usersis now selected over a tab with path/catalog.Affected components: Tabs, Tab, TagGroup, Tag, Menu, MenuItem, MenuAutocomplete
-
092c453: Fixed an infinite render loop in Tabs when navigating to a URL that doesn't match any tabhref. -
5320aa8: Fixed components to not require a Router context when rendering without internal links.Affected components: Link, ButtonLink, Row
-
cb090b4: Bump react-aria-components to v1.14.0 -
c429101: Fixed React 17 compatibility by usinguseIdfromreact-ariainstead of the built-in React hook which is only available in React 18+. -
Updated dependencies
- @backstage/version-bridge@1.0.11
0.11.0
Minor Changes
-
243e5e7: BREAKING: Redesigned Table component with newuseTablehook API.- The
Tablecomponent (React Aria wrapper) is renamed toTableRoot - New high-level
Tablecomponent that handles data display, pagination, sorting, and selection - The
useTablehook is completely redesigned with a new API supporting three pagination modes (complete, offset, cursor) - New types:
ColumnConfig,TableProps,TableItem,UseTableOptions,UseTableResult
New features include unified pagination modes, debounced query changes, stale data preservation during reloads, and row selection with toggle/replace behaviors.
Migration:
- Update imports and use the new
useTablehook:
-import { Table, useTable } from '@backstage/ui'; -const { data, paginationProps } = useTable({ data: items, pagination: {...} }); +import { Table, useTable, type ColumnConfig } from '@backstage/ui'; +const { tableProps } = useTable({ + mode: 'complete', + getData: () => items, +});- Define columns and render with the new Table API:
-<Table aria-label="My table"> - <TableHeader>...</TableHeader> - <TableBody items={data}>...</TableBody> -</Table> -<TablePagination {...paginationProps} /> +const columns: ColumnConfig<Item>[] = [ + { id: 'name', label: 'Name', isRowHeader: true, cell: item => <CellText title={item.name} /> }, + { id: 'type', label: 'Type', cell: item => <CellText title={item.type} /> }, +]; + +<Table columnConfig={columns} {...tableProps} />Affected components: Table, TableRoot, TablePagination
- The
-
95246eb: BREAKING: Updating color tokens to match the new neutral style on different surfaces.Migration:
There's no direct replacement for the old tint tokens but you can use the new neutral set of color tokens on surface 0 or 1 as a replacement.
--bui-bg-tintcan be replaced by--bui-bg-neutral-on-surface-0--bui-bg-tint-hovercan be replaced by--bui-bg-neutral-on-surface-0-hover--bui-bg-tint-pressedcan be replaced by--bui-bg-neutral-on-surface-0-pressed--bui-bg-tint-disabledcan be replaced by--bui-bg-neutral-on-surface-0-disabled
-
ea0c6d8: BREAKING: Introduce newToggleButton&ToggleButtonGroupcomponents in Backstage UIAffected components: ToggleButton, ToggleButtonGroup
-
4ea1d15: BREAKING: Renamed CSS variable--bui-bgto--bui-bg-surface-0for consistency.
Patch Changes
-
1880402: Fixes app background color on dark mode.Affected components: Box
-
d2fdded: Added indeterminate state support to the Checkbox component for handling partial selection scenarios like table header checkboxes.Affected components: Checkbox
-
4fb15d2: Added missingaria-labelattributes toSearchFieldcomponents inSelect,MenuAutocomplete, andMenuAutocompleteListboxto fix accessibility warnings.Affected components: Select, MenuAutocomplete, MenuAutocompleteListbox
-
21c87cc: Fixes disabled state in primary and secondary buttons in Backstage UI.Affected components: Button
-
9c76682: build(deps-dev): bumpstorybookfrom 10.1.9 to 10.1.10 -
de80336: Fixed disabled tertiary buttons incorrectly showing hover effects on surfaces.Affected components: Button
-
133d5c6: Added new Popover component for Backstage UI with automatic overflow handling, and full placement support. Also introduced--bui-shadowtoken for consistent elevation styling across overlay components (Popover, Tooltip, Menu).Affected components: Popover
-
973c839: Fixed Table sorting indicator not being visible when a column is actively sorted.Affected components: Table, Column
-
df40cfc: Fixed Menu component trigger button not toggling correctly. Removed custom click-outside handler that was interfering with React Aria's built-in state management, allowing the menu to properly open and close when clicking the trigger button.Affected components: Menu
-
b01ab96: Added support for column width configuration in Table component. Columns now acceptwidth,defaultWidth,minWidth, andmaxWidthprops for responsive layout control.Affected components: Table, Column
-
b4a4911: Fixed SearchFieldstartCollapsedprop not working correctly in Backstage UI. The field now properly starts in a collapsed state, expands when clicked and focused, and collapses back when unfocused with no input. Also fixed CSS logic to work correctly in all layout contexts (flex row, flex column, and regular containers).Affected components: SearchField
-
b3253b6: FixedLinkcomponent causing hard page refreshes for internal routes. The component now properly uses React Router's navigation instead of full page reloads. -
fe7fe69: Added support for custom pagination options inuseTablehook andTablecomponent. You can now configurepageSizeOptionsto customize the page size dropdown, and hook into pagination events viaonPageSizeChange,onNextPage, andonPreviousPagecallbacks. WhenpageSizedoesn't match any option, the first option is used and a warning is logged.Affected components: Table, TablePagination
-
cfac8a4: Fixed missing border styles on table selection cells in multi-select mode.Affected components: Table
-
2532d2a: AddedclassNameandstyleprops to theTablecomponent.Affected components: Table
0.11.0-next.1
Minor Changes
-
243e5e7: BREAKING: Redesigned Table component with newuseTablehook API.- The
Tablecomponent (React Aria wrapper) is renamed toTableRoot - New high-level
Tablecomponent that handles data display, pagination, sorting, and selection - The
useTablehook is completely redesigned with a new API supporting three pagination modes (complete, offset, cursor) - New types:
ColumnConfig,TableProps,TableItem,UseTableOptions,UseTableResult
New features include unified pagination modes, debounced query changes, stale data preservation during reloads, and row selection with toggle/replace behaviors.
Migration:
- Update imports and use the new
useTablehook:
-import { Table, useTable } from '@backstage/ui'; -const { data, paginationProps } = useTable({ data: items, pagination: {...} }); +import { Table, useTable, type ColumnConfig } from '@backstage/ui'; +const { tableProps } = useTable({ + mode: 'complete', + getData: () => items, +});- Define columns and render with the new Table API:
-<Table aria-label="My table"> - <TableHeader>...</TableHeader> - <TableBody items={data}>...</TableBody> -</Table> -<TablePagination {...paginationProps} /> +const columns: ColumnConfig<Item>[] = [ + { id: 'name', label: 'Name', isRowHeader: true, cell: item => <CellText title={item.name} /> }, + { id: 'type', label: 'Type', cell: item => <CellText title={item.type} /> }, +]; + +<Table columnConfig={columns} {...tableProps} />Affected components: Table, TableRoot, TablePagination
- The
-
95246eb: BREAKING: Updating color tokens to match the new neutral style on different surfaces.Migration:
There's no direct replacement for the old tint tokens but you can use the new neutral set of color tokens on surface 0 or 1 as a replacement.
--bui-bg-tintcan be replaced by--bui-bg-neutral-on-surface-0--bui-bg-tint-hovercan be replaced by--bui-bg-neutral-on-surface-0-hover--bui-bg-tint-pressedcan be replaced by--bui-bg-neutral-on-surface-0-pressed--bui-bg-tint-disabledcan be replaced by--bui-bg-neutral-on-surface-0-disabled
-
ea0c6d8: Introduce newToggleButton&ToggleButtonGroupcomponents in Backstage UI
Patch Changes
21c87cc: Fixes disabled state in primary and secondary buttons in Backstage UI.b3253b6: FixedLinkcomponent causing hard page refreshes for internal routes. The component now properly uses React Router's navigation instead of full page reloads.
0.11.0-next.0
Minor Changes
4ea1d15: BREAKING: Renamed CSS variable--bui-bgto--bui-bg-surface-0for consistency.
Patch Changes
-
1880402: Fixes app background color on dark mode. -
9c76682: build(deps-dev): bumpstorybookfrom 10.1.9 to 10.1.10 -
b4a4911: Fixed SearchFieldstartCollapsedprop not working correctly in Backstage UI. The field now properly starts in a collapsed state, expands when clicked and focused, and collapses back when unfocused with no input. Also fixed CSS logic to work correctly in all layout contexts (flex row, flex column, and regular containers).Affected components: SearchField
0.10.0
Minor Changes
-
16543fa: BREAKING: TheCellcomponent has been refactored to be a generic wrapper component that acceptschildrenfor custom cell content. The text-specific functionality (previously part ofCell) has been moved to a newCellTextcomponent.Migration:
If you were using
Cellwith text-specific props (title,description,leadingIcon,href), you need to update your code to useCellTextinstead:Before:
<Cell title="My Title" description="My description" leadingIcon={<Icon />} href="/path" />After:
<CellText title="My Title" description="My description" leadingIcon={<Icon />} href="/path" />For custom cell content, use the new generic
Cellcomponent:<Cell>{/* Your custom content */}</Cell>
Patch Changes
-
50b7927: Fixed Checkbox indicator showing checkmark color when unchecked.Affected components: Checkbox
-
5bacf55: FixedButtonIconincorrectly applyingclassNameto inner elements instead of only the root element.Affected components: ButtonIcon
-
b3ad928: Fixed Table Row component to correctly handle cases where nohrefis provided, preventing unnecessary router provider wrapping and fixing the cursor incorrectly showing as a pointer despite the element not being a link.Affected components: Row
-
a20d317: Added row selection support with visual state styling for hover, selected, and pressed states. Fixed checkbox rendering to only show for multi-select toggle mode.Affected components: Table, TableHeader, Row, Column
-
fe7c751: FixeduseTablehook to prioritizeprovidedRowCountover data length for accurate row count in server-side pagination scenarios. -
c145031: Fixed Table column sorting indicator to show up arrow when no sort is active, correctly indicating that clicking will sort ascending.Affected components: Column
0.10.0-next.1
Minor Changes
-
16543fa: BREAKING: TheCellcomponent has been refactored to be a generic wrapper component that acceptschildrenfor custom cell content. The text-specific functionality (previously part ofCell) has been moved to a newCellTextcomponent.Migration:
If you were using
Cellwith text-specific props (title,description,leadingIcon,href), you need to update your code to useCellTextinstead:Before:
<Cell title="My Title" description="My description" leadingIcon={<Icon />} href="/path" />After:
<CellText title="My Title" description="My description" leadingIcon={<Icon />} href="/path" />For custom cell content, use the new generic
Cellcomponent:<Cell>{/* Your custom content */}</Cell>
Patch Changes
-
50b7927: Fixed Checkbox indicator showing checkmark color when unchecked.Affected components: Checkbox
-
5bacf55: FixedButtonIconincorrectly applyingclassNameto inner elements instead of only the root element.Affected components: ButtonIcon
-
a20d317: Added row selection support with visual state styling for hover, selected, and pressed states. Fixed checkbox rendering to only show for multi-select toggle mode.Affected components: Table, TableHeader, Row, Column
0.9.1-next.0
Patch Changes
-
b3ad928: Fixed Table Row component to correctly handle cases where nohrefis provided, preventing unnecessary router provider wrapping and fixing the cursor incorrectly showing as a pointer despite the element not being a link.Affected components: Row
-
fe7c751: FixeduseTablehook to prioritizeprovidedRowCountover data length for accurate row count in server-side pagination scenarios. -
c145031: Fixed Table column sorting indicator to show up arrow when no sort is active, correctly indicating that clicking will sort ascending.Affected components: Column
0.9.0
Minor Changes
-
539cf26: BREAKING: Migrated Avatar component from Base UI to custom implementation with size changes:- Base UI-specific props are no longer supported
- Size values have been updated:
- New
x-smallsize added (1.25rem / 20px) smallsize unchanged (1.5rem / 24px)mediumsize unchanged (2rem / 32px, default)largesize changed from 3rem to 2.5rem (40px)- New
x-largesize added (3rem / 48px)
- New
Migration:
# Remove Base UI-specific props - <Avatar src="..." name="..." render={...} /> + <Avatar src="..." name="..." /> # Update large size usage to x-large for same visual size - <Avatar src="..." name="..." size="large" /> + <Avatar src="..." name="..." size="x-large" />Added
purposeprop for accessibility control ('informative'or'decoration').Affected components: Avatar
-
5c614ff: BREAKING: Migrated Checkbox component from Base UI to React Aria Components.API changes required:
checked→isSelecteddefaultChecked→defaultSelecteddisabled→isDisabledrequired→isRequiredlabelprop removed - usechildreninstead- CSS:
bui-CheckboxLabelclass removed - Data attribute:
data-checked→data-selected - Use without label is no longer supported
Migration:
Before:
<Checkbox label="Accept terms" checked={agreed} onChange={setAgreed} />After:
<Checkbox isSelected={agreed} onChange={setAgreed}> Accept terms </Checkbox>Before:
<Checkbox label="Option" disabled />After:
<Checkbox isDisabled>Option</Checkbox>Before:
<Checkbox />After:
<Checkbox> <VisuallyHidden>Accessible label</VisuallyHidden> </Checkbox> -
134151f: BREAKING: Fixing styles on SearchField in Backstage UI after migration to CSS modules.SearchFieldhas now its own set of class names. We previously used class names fromTextFieldbut this approach was creating some confusion so going forward in your theme you'll be able to themeTextFieldandSearchFieldseparately. -
a67670d: BREAKING: Removed centralcomponentDefinitionsobject and related type utilities (ComponentDefinitionName,ComponentClassNames).Component definitions are primarily intended for documenting the CSS class API for theming purposes, not for programmatic use in JavaScript/TypeScript.
Migration:
If you were using component definitions or class names to build custom components, we recommend migrating to either:
- Use Backstage UI components directly as building blocks, or
- Duplicate the component CSS in your own stylesheets instead of relying on internal class names
-
b78fc45: BREAKING: Changed className prop behavior to augment default styles instead of being ignored or overriding them.If you were passing custom className values to any of these components that relied on the previous behavior, you may need to adjust your styles to account for the default classes now being applied alongside your custom classes.
Affected components: Menu, MenuListBox, MenuAutocomplete, MenuAutocompleteListbox, MenuItem, MenuListBoxItem, MenuSection, MenuSeparator, Switch, Skeleton, FieldLabel, Header, HeaderToolbar, HeaderPage, Tabs, TabList, Tab, TabPanel
-
83c100e: BREAKING: RemovedCollapsiblecomponent. Migrate toAccordionor use React AriaDisclosure.Migration:
Path 1: Accordion (Opinionated Styled Component)
Accordion provides preset styling with a similar component structure.
- import { Collapsible } from '@backstage/ui'; + import { Accordion, AccordionTrigger, AccordionPanel } from '@backstage/ui'; - <Collapsible.Root> - <Collapsible.Trigger render={(props) => <Button {...props}>Toggle</Button>} /> - <Collapsible.Panel>Content</Collapsible.Panel> - </Collapsible.Root> + <Accordion> + <AccordionTrigger title="Toggle" /> + <AccordionPanel>Content</AccordionPanel> + </Accordion>CSS classes:
.bui-CollapsibleRoot→.bui-Accordion,.bui-CollapsibleTrigger→.bui-AccordionTrigger(now on heading element),.bui-CollapsiblePanel→.bui-AccordionPanelPath 2: React Aria Disclosure (Full Customization)
For custom styling without preset styles:
import { Disclosure, Button, DisclosurePanel } from 'react-aria-components'; <Disclosure> <Button slot="trigger">Toggle</Button> <DisclosurePanel>Content</DisclosurePanel> </Disclosure>; -
816af0f: BREAKING: TheSelectPropsinterface now accepts a generic type parameter for selection mode.Added searchable and multiple selection support to Select component. The component now accepts
searchable,selectionMode, andsearchPlaceholderprops to enable filtering and multi-selection modes.Migration:
If you're using
SelectPropstype directly, update fromSelectPropstoSelectProps<'single' | 'multiple'>. Component usage remains backward compatible.Affected components: Select
Patch Changes
-
d01de00: Fix broken external links in Backstage UI Header component.Affected components: Header
-
35a3614: Fixed CSS issues in Select component including popover width constraints, focus outline behavior, and overflow handling.Affected components: Select
-
01476f0: Improved visual consistency of PasswordField, SearchField, and MenuAutocomplete components.Affected components: PasswordField, SearchField, MenuAutocomplete
-
26c6a78: Fix default text color in Backstage UIAffected components: Text
-
deaa427: Fixed Text component to preventtruncateprop from being spread to the underlying DOM element.Affected components: Text
-
1059f95: Improved the Link component structure in Backstage UI.Affected components: Link
-
836b0c7: Fixed dialog backdrop appearance in dark mode.Affected components: Dialog
-
6874094: Migrated CellProfile component from Base UI Avatar to Backstage UI Avatar component.Affected components: Avatar
-
719d772: Avatar components in x-small and small sizes now display only one initial instead of two, improving readability at smaller dimensions.Affected components: Avatar
-
6d35a6b: Removed@base-ui-components/reactdependency as all components now use React Aria Components. -
dac851f: Fix the default font size in Backstage UI. -
3c0ea67: Fix CSS layer ordering in Backstage UI to make sure component styles are loaded after tokens and base declarations. -
3b18d80: Fixed RadioGroup radio button ellipse distortion by preventing flex shrink and grow.Affected components: RadioGroup
-
4eb455c: Fix font smoothing as default in Backstage UI. -
ff9f0c3: Enable tree-shaking of imports other than*.css. -
7839e7b: Addedloadingprop to Button and ButtonIcon components for displaying spinner during async operations.Affected components: Button, ButtonIcon
-
a00fb88: Fixed Table Row component to properly support opening links in new tabs via right-click or Cmd+Click when using thehrefprop.Affected components: Table
-
e16ece5: Set the color-scheme property depending on theme -
1ef3ca4: Added new VisuallyHidden component for hiding content visually while keeping it accessible to screen readers.Affected components: VisuallyHidden
-
00bfb83: Fix default font weight and font family in Backstage UI.
0.9.0-next.3
Minor Changes
-
83c100e: BREAKING: RemovedCollapsiblecomponent. Migrate toAccordionor use React AriaDisclosure.Migration:
Path 1: Accordion (Opinionated Styled Component)
Accordion provides preset styling with a similar component structure.
- import { Collapsible } from '@backstage/ui'; + import { Accordion, AccordionTrigger, AccordionPanel } from '@backstage/ui'; - <Collapsible.Root> - <Collapsible.Trigger render={(props) => <Button {...props}>Toggle</Button>} /> - <Collapsible.Panel>Content</Collapsible.Panel> - </Collapsible.Root> + <Accordion> + <AccordionTrigger title="Toggle" /> + <AccordionPanel>Content</AccordionPanel> + </Accordion>CSS classes:
.bui-CollapsibleRoot→.bui-Accordion,.bui-CollapsibleTrigger→.bui-AccordionTrigger(now on heading element),.bui-CollapsiblePanel→.bui-AccordionPanelPath 2: React Aria Disclosure (Full Customization)
For custom styling without preset styles:
import { Disclosure, Button, DisclosurePanel } from 'react-aria-components'; <Disclosure> <Button slot="trigger">Toggle</Button> <DisclosurePanel>Content</DisclosurePanel> </Disclosure>; -
816af0f: BREAKING: TheSelectPropsinterface now accepts a generic type parameter for selection mode.Added searchable and multiple selection support to Select component. The component now accepts
searchable,selectionMode, andsearchPlaceholderprops to enable filtering and multi-selection modes.Migration:
If you're using
SelectPropstype directly, update fromSelectPropstoSelectProps<'single' | 'multiple'>. Component usage remains backward compatible.
Patch Changes
35a3614: Fixed CSS issues in Select component including popover width constraints, focus outline behavior, and overflow handling.01476f0: Improved visual consistency of PasswordField, SearchField, and MenuAutocomplete components.836b0c7: Fixed dialog backdrop appearance in dark mode.6d35a6b: Removed@base-ui-components/reactdependency as all components now use React Aria Components.7839e7b: Addedloadingprop to Button and ButtonIcon components for displaying spinner during async operations.a00fb88: Fixed Table Row component to properly support opening links in new tabs via right-click or Cmd+Click when using the href prop.
0.9.0-next.2
Minor Changes
-
539cf26: BREAKING: Migrated Avatar component from Base UI to custom implementation with size changes:- Base UI-specific props are no longer supported
- Size values have been updated:
- New
x-smallsize added (1.25rem / 20px) smallsize unchanged (1.5rem / 24px)mediumsize unchanged (2rem / 32px, default)largesize changed from 3rem to 2.5rem (40px)- New
x-largesize added (3rem / 48px)
- New
Migration:
# Remove Base UI-specific props - <Avatar src="..." name="..." render={...} /> + <Avatar src="..." name="..." /> # Update large size usage to x-large for same visual size - <Avatar src="..." name="..." size="large" /> + <Avatar src="..." name="..." size="x-large" />Added
purposeprop for accessibility control ('informative'or'decoration'). -
134151f: BREAKING: Fixing styles on SearchField in Backstage UI after migration to CSS modules.SearchFieldhas now its own set of class names. We previously used class names fromTextFieldbut this approach was creating some confusion so going forward in your theme you'll be able to themeTextFieldandSearchFieldseparately.
Patch Changes
d01de00: Fix broken external links in Backstage UI Header component.deaa427: Fixed Text component to preventtruncateprop from being spread to the underlying DOM element.1059f95: Improved the Link component structure in Backstage UI.6874094: Migrated CellProfile component from Base UI Avatar to Backstage UI Avatar component.719d772: Avatar components in x-small and small sizes now display only one initial instead of two, improving readability at smaller dimensions.3b18d80: Fixed RadioGroup radio button ellipse distortion by preventing flex shrink and grow.e16ece5: Set the color-scheme property depending on theme
0.9.0-next.1
Minor Changes
-
5c614ff: BREAKING: Migrated Checkbox component from Base UI to React Aria Components.API changes required:
checked→isSelecteddefaultChecked→defaultSelecteddisabled→isDisabledrequired→isRequiredlabelprop removed - usechildreninstead- CSS:
bui-CheckboxLabelclass removed - Data attribute:
data-checked→data-selected - Use without label is no longer supported
Migration:
Before:
<Checkbox label="Accept terms" checked={agreed} onChange={setAgreed} />After:
<Checkbox isSelected={agreed} onChange={setAgreed}> Accept terms </Checkbox>Before:
<Checkbox label="Option" disabled />After:
<Checkbox isDisabled>Option</Checkbox>Before:
<Checkbox />After:
<Checkbox> <VisuallyHidden>Accessible label</VisuallyHidden> </Checkbox> -
b78fc45: BREAKING: Changed className prop behavior to augment default styles instead of being ignored or overriding them.If you were passing custom className values to any of these components that relied on the previous behavior, you may need to adjust your styles to account for the default classes now being applied alongside your custom classes.
Affected components: Menu, MenuListBox, MenuAutocomplete, MenuAutocompleteListbox, MenuItem, MenuListBoxItem, MenuSection, MenuSeparator, Switch, Skeleton, FieldLabel, Header, HeaderToolbar, HeaderPage, Tabs, TabList, Tab, TabPanel
Patch Changes
ff9f0c3: Enable tree-shaking of imports other than*.css.1ef3ca4: Added new VisuallyHidden component for hiding content visually while keeping it accessible to screen readers.
0.8.2-next.0
Patch Changes
26c6a78: Fix default text color in Backstage UIdac851f: Fix the default font size in Backstage UI.3c0ea67: Fix CSS layer ordering in Backstage UI to make sure component styles are loaded after tokens and base declarations.4eb455c: Fix font smoothing as default in Backstage UI.00bfb83: Fix default font weight and font family in Backstage UI.
0.8.0
Minor Changes
9acc1d6: BREAKING: Added a newPasswordFieldcomponent. As part of this change, thepasswordandsearchtypes have been removed fromTextField.b0d11b5: BREAKING Restructure Backstage UI component styling to use CSS Modules instead of pure CSS. We don't expect this to be an issue in practice but it is important to call out that all styles are now loaded through CSS modules with generated class names. We are still providing fixed class names for all components to allow anyone to style their Backstage instance.0c53517: BREAKING The ScrollArea component has been removed from Backstage UI because it did not meet our accessibility standards.7b319c5: BREAKING Remove Icon component in Backstage UI. This component was creating issue for tree-shaking. It is recommended to use icons from @remixicon/react until we found a better alternative in Backstage UI.
Patch Changes
2591b42: Adding a new Dialog component to Backstage UI.827340f: remove default selection of tab5dc17cc: Fix margin utility classes in Backstage UI.85faee0: Fix scroll jumping when opening menu in Backstage UI.3c921c5: Making href mandatory in tabs that are part of a Header componentdf7d2cf: Update react-aria-components to version 1.13.0507ee55: Fix table sorting icon position in Backstage UI.8b7c3c9: Add newvirtualized,maxWidthandmaxHeightprops toMenu,MenuListBox,MenuAutocompleteandMenuAutocompleteListBoxto allow for virtalization of long lists inside menus.b940062: Added support for data attributes in<Box />,<Container />,<Flex />, and<Grid />components, ensuring they are correctly applied to the rendered elements.206c801: Cleaning up Backstage UI props definitions as well as removing ScrollArea in Card to improve accessibility.5c21e45: Add react router for internal routing for ButtonLinks865bce8: Added a background color default on the bodyaf4d9b4: We are restructuring our CSS to have a better layer structure.9a47125: Improved SearchField component flex layout and animations. Fixed SearchField behavior in Header components by switching from width-based transitions to flex-basis transitions for better responsive behavior. Added new Storybook stories to test SearchField integration with Header component.9781815: Remove auto selection of tabs for tabs that all have href defined4adbb03: Avoid overriding onChange when spreading propsf6dff5b: Using react router for internal links in the Menu component
0.7.2-next.2
Patch Changes
3c921c5: Making href mandatory in tabs that are part of a Header component5c21e45: Add react router for internal routing for ButtonLinks9781815: Remove auto selection of tabs for tabs that all have href definedf6dff5b: Using react router for internal links in the Menu component
0.7.2-next.1
Patch Changes
a9b88be: Enable tooltips on disabled buttons with automatic wrapper4adbb03: Avoid overriding onChange when spreading props
0.7.2-next.0
Patch Changes
827340f: remove default selection of tab9a47125: Improved SearchField component flex layout and animations. Fixed SearchField behavior in Header components by switching from width-based transitions to flex-basis transitions for better responsive behavior. Added new Storybook stories to test SearchField integration with Header component.
0.7.1
Patch Changes
7307930: Add missing class for flex: baseline89da341: Fix Select component to properly attach aria-label and aria-labelledby props to the rendered element for improved accessibility.0ffa4c7: Removed the need to mockwindow.matchMediain tests, falling back to default breakpoint values instead.
0.7.1-next.0
Patch Changes
7307930: Add missing class for flex: baseline89da341: Fix Select component to properly attach aria-label and aria-labelledby props to the rendered element for improved accessibility.
0.7.0
Minor Changes
0615e54: BREAKING: We are moving our DataTable component to React Aria. We removed our DataTable to only use Table as a single and opinionated option for tables. This new structure is made possible by using React Aria under the hood.b245c9d: BREAKING: Backstage UI - HeaderPage - We are updating the breadcrumb to be more visible and accessible.800f593: BREAKING: We are updating the Menu component to use React Aria under the hood. The structure and all props are changing to follow React Aria's guidance.b0e47f3: BREAKING: We are upgrading ourTextcomponent to support all font sizes making theHeadingcomponent redundant. The newTextcomponent introduces 4 sizes for title and 4 sizes for body text. All of these work in multiple colors and font weights. We improved theasprop to include all possible values. TheLinkcomponent has also been updated to match the newTextcomponent.
Patch Changes
de89a3d: Fixes some styles on the Select component in BUI.a251b3e: Export CardHeader, CardBody and CardFooter from Card component indexf761306: Add new TagGroup component to Backstage UI.75fead9: Fixes a couple of small bugs in BUI including setting H1 and H2 correctly on the Header and HeaderPage.e7ff178: Update styling of Tooltip element230b410: BREAKING: Move breadcrumb to fit in theHeaderPageinstead of theHeaderin Backstage UI.2f9a084: We are motion away frommotionto usegsapinstead to make Backstage UI backward compatible with React 17.d4e603e: Updated Menu component in Backstage UI to use useId() from React Aria instead of React to support React 17.8bdc491: Remove stylesheet import from Select component.404b426: AddstartCollapsedprop on theSearchFieldcomponent in BUI.e0e886f: Adds onTabSelectionChange to ui header component.
0.7.0-next.3
Minor Changes
0615e54: BREAKING: We are moving our DataTable component to React Aria. We removed our DataTable to only use Table as a single and opinionated option for tables. This new structure is made possible by using React Aria under the hood.
Patch Changes
230b410: BREAKING: Move breadcrumb to fit in theHeaderPageinstead of theHeaderin Backstage UI.8bdc491: Remove stylesheet import from Select component.404b426: AddstartCollapsedprop on theSearchFieldcomponent in BUI.
0.7.0-next.2
Patch Changes
d4e603e: Updated Menu component in Backstage UI to use useId() from React Aria instead of React to support React 17.
0.7.0-next.1
Patch Changes
de89a3d: Fixes some styles on the Select component in BUI.75fead9: Fixes a couple of small bugs in BUI including setting H1 and H2 correctly on the Header and HeaderPage.2f9a084: We are motion away frommotionto usegsapinstead to make Backstage UI backward compatible with React 17.
0.7.0-next.0
Minor Changes
b0e47f3: BREAKING: We are upgrading ourTextcomponent to support all font sizes making theHeadingcomponent redundant. The newTextcomponent introduces 4 sizes for title and 4 sizes for body text. All of these work in multiple colors and font weights. We improved theasprop to include all possible values. TheLinkcomponent has also been updated to match the newTextcomponent.
Patch Changes
e7ff178: Update styling of Tooltip elemente0e886f: Adds onTabSelectionChange to ui header component.
0.6.0
Minor Changes
e92bb9b: BREAKING: Canon has been renamed to Backstage UI. This means that@backstage/canonhas been deprecated and replaced by@backstage/ui.
0.6.0-next.1
Minor Changes
2e30459: BREAKING: We are moving our Tooltip component to use React Aria under the hood. In doing so, the structure of the component and its prop are changing to follow the new underlying structure.
Patch Changes
76255b8: Add new Card component to Canon.b0a6c8e: Add new Header component to Canon.be76576: Improve Button, ButtonIcon and ButtonLink styling in Canon.17beb9b: Update return types for Heading & Text components for React 19.eac4a4c: Add new tertiary variant to Button, ButtonIcon and ButtonLink in Canon.8f2e82d: Add new Skeleton component in Canon
0.6.0-next.0
Minor Changes
-
4c6d891: BREAKING:We’re updating our Button component to provide better support for button links.
- We’re introducing a new
ButtonLinkcomponent, which replaces the previous render prop pattern. - To maintain naming consistency across components,
IconButtonis being renamed toButtonIcon. - Additionally, the render prop will be removed from all button-related components.
These changes aim to simplify usage and improve clarity in our component API.
- We’re introducing a new
Patch Changes
140f652: We are consolidating all css files into a single styles.css in Canon.8154fb9: Add new SearchField component in Canon6910892: Add newRadioGroup+Radiocomponent to Canona8a8514: We are transforming how we structure our class names and data attributes definitions for all components. They are now all set in the same place.667b951: Added placeholder prop to TextField component.e71333a: adding export for ButtonLink so it's importable
0.5.0
Minor Changes
- 621fac9: BREAKING: We are updating the default size of the Button component in Canon to be small instead of medium.
a842554: BREAKING: We set the default size for IconButton in Canon to be small instead of medium.35fd51d: BREAKING: Move TextField component to use react Aria under the hood. Introducing a new FieldLabel component to help build custom fields.78204a2: BREAKING: We are adding a new as prop on the Heading and Text component to make it easier to change the component tag. We are removing the render prop in favour of the as prop.c49e335: BREAKING: TextField in Canon now has multiple label sizes as well as the capacity to hide label and description but still make them available for screen readers.24b45ef: BREAKING: Fixes spacing props on layout components and aligned on naming for the Grid component. You should now call the Grid root component using<Grid.Root />instead of just<Grid />.
Patch Changes
44df879: Add min-width: 0; by default on every Flex components in Canon to help support truncated texts inside flex elements.ee6ffe6: Fix styling for the title4 prop on the Heading component in Canon.f2f814a: Added a render prop to the Button component in Canon to use it as a link.98f02a6: Add new Switch component in Canon.c94f8e0: The filter input in menu comboboxes should now always use the full width of the menu it's in.269316d: Remove leftover console.log from Container component.
0.5.0-next.2
Patch Changes
44df879: Add min-width: 0; by default on every Flex components in Canon to help support truncated texts inside flex elements.ee6ffe6: Fix styling for the title4 prop on the Heading component in Canon.f2f814a: Added a render prop to the Button component in Canon to use it as a link.
0.5.0-next.1
Minor Changes
- 621fac9: We are updating the default size of the Button component in Canon to be small instead of medium.
a842554: We set the default size for IconButton in Canon to be small instead of medium.
0.5.0-next.0
Minor Changes
24b45ef: Fixes spacing props on layout components and aligned on naming for the Grid component. You should now call the Grid root component using<Grid.Root />instead of just<Grid />.
Patch Changes
269316d: Remove leftover console.log from Container component.
0.4.0
Minor Changes
ea36f74: BREAKING: Icons on Button and IconButton now need to be imported and placed like this:<Button iconStart={<ChevronDownIcon />} />ccb1fc6: BREAKING: We are modifying the way we treat custom render using 'useRender()' under the hood from BaseUI.04a65c6: BREAKING: The icon prop in TextField now accept a ReactNode instead of an icon name. We also updated the icon sizes for each input sizes.
Patch Changes
c8f32db: Use correct colour token for TextField clear button icon, prevent layout shift whenever it is hidden or shown and properly size focus area around it. Also stop leading icon shrinking when used together with clear button.e996368: Fix Canon missing dependencies720033c: For improved a11y, clicking a Select component label now focuses the Select trigger element, and the TextField component's label is now styled to indicate it's interactive.6189bfd: Added new icon and onClear props to the TextField to make it easier to accessorize inputs.9510105: Add new Tabs component to Canon97b25a1: Pin version of @base-ui-components/react.206ffbe: Fixed an issue with Canon's DataTable.Pagination component showing the wrong number for the "to" count.72d019d: Removed various typos4551fb7: Update Menu component in Canon to make the UI more condensed. We are also adding a new Combobox option for nested navigation.185d3a8: Use the Field component from Base UI within the TextField.1ea1db0: Add new truncate prop to Text and Heading components in Canon.
0.4.0-next.3
Patch Changes
c8f32db: Use correct colour token for TextField clear button icon, prevent layout shift whenever it is hidden or shown and properly size focus area around it. Also stop leading icon shrinking when used together with clear button.
0.4.0-next.2
Patch Changes
6189bfd: Added new icon and onClear props to the TextField to make it easier to accessorize inputs.97b25a1: Pin version of @base-ui-components/react.185d3a8: Use the Field component from Base UI within the TextField.
0.4.0-next.1
Minor Changes
ea36f74: BREAKING: Icons on Button and IconButton now need to be imported and placed like this:<Button iconStart={<ChevronDownIcon />} />
Patch Changes
720033c: For improved a11y, clicking a Select component label now focuses the Select trigger element, and the TextField component's label is now styled to indicate it's interactive.206ffbe: Fixed an issue with Canon's DataTable.Pagination component showing the wrong number for the "to" count.72d019d: Removed various typos
0.3.2-next.0
Patch Changes
e996368: Fix Canon missing dependencies
0.3.0
Minor Changes
df4e292: BREAKING: Improve class name structure using data attributes instead of class names.f038613: BREAKING: Updated TextField and Select component to work with React Hook Form.1b0cf40: BREAKING: Add new Select component for Canon5074d61: BREAKING: Added a new TextField component to replace the Field and Input component. After feedback, it became clear that we needed to build a more opinionated version to avoid any problem in the future.
Patch Changes
-
6af7b16: Updated styles for the Menu component in Canon. -
bcbc593: Fix Checkbox styles on dark theme in Canon. -
e7efb7d: Add new breakpoint helpers up(), down() and current breakpoint to help you use our breakpoints in your React components. -
f7cb538: Internal refactor and fixes to the prop extraction logic for layout components. -
35b36ec: Add new Collapsible component for Canon. -
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
-
513477f: Add global CSS reset for anchor tags. -
24f0e08: Improved Container styles, changing our max-width to 120rem and improving padding on smaller screens. -
851779d: Add new Avatar component to Canon.
-
ec5ebd1: Add new TableCellProfile component for Table and DataTable in Canon. -
5e80f0b: Fix types on the Icon component. -
0e654bf: Add new DataTable component and update Table component styles. -
7ae28ba: Move styles to the root of the TextField component. -
4fe5b08: We added a render prop to the Link component to make sure it can work with React Router. -
74d463c: Fix Select styles on small sizes + with long option names in Canon. -
f25a5be: Added a new gray scale for Canon for both light and dark theme. -
5ee4fc2: Add support for column sizing in DataTable. -
05a5003: Fix the Icon component when the name is not found to return null instead of an empty SVG.
0.3.0-next.2
Minor Changes
f038613: Updated TextField and Select component to work with React Hook Form.1b0cf40: Add new Select component for Canon5074d61: BREAKING: Added a new TextField component to replace the Field and Input component. After feedback, it became clear that we needed to build a more opinionated version to avoid any problem in the future.
Patch Changes
-
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
-
24f0e08: Improved Container styles, changing our max-width to 120rem and improving padding on smaller screens. -
7ae28ba: Move styles to the root of the TextField component. -
4fe5b08: We added a render prop to the Link component to make sure it can work with React Router.
0.2.1-next.1
Patch Changes
f7cb538: Internal refactor and fixes to the prop extraction logic for layout components.5e80f0b: Fix types on the Icon component.
0.2.1-next.0
Patch Changes
6af7b16: Updated styles for the Menu component in Canon.513477f: Add global CSS reset for anchor tags.05a5003: Fix the Icon component when the name is not found to return null instead of an empty SVG.
0.2.0
Minor Changes
5a5db29: BREAKING: Fix CSS imports and move CSS outputs out of the dist folder.4557beb: BREAKING: Added a new Tooltip component to Canon.1e4dfdb: BREAKING: We added a new IconButton component with fixed sizes showcasing a single icon.e8d12f9: BREAKING: Added about 40 new icons to Canon.8689010: BREAKING: We are renaming CanonProvider to IconProvider to improve clarity on how to override icons.bf319b7: BREAKING: Added a new Menu component to Canon.cb7e99d: BREAKING: Updating styles for Text and Link components as well as global surface tokens.bd8520d: BREAKING: Added a new ScrollArea component for Canon.
Patch Changes
56850ca: Fix Button types that was preventing the use of native attributes like onClick.89e8686: To avoid conflicts with Backstage, we removed global styles and set font-family and font-weight for each components.05e9d41: Introducing Canon to Backstage. Canon styling system is based on pure CSS. We are adding our styles.css at the top of your Backstage instance.
0.2.0-next.1
Minor Changes
8689010: We are renaming CanonProvider to IconProvider to improve clarity on how to override icons.
Patch Changes
89e8686: To avoid conflicts with Backstage, we removed global styles and set font-family and font-weight for each components.
0.2.0-next.0
Minor Changes
5a5db29: Fix CSS imports and move CSS outputs out of the dist folder.
0.1.0
Minor Changes
72c9800: BREAKING: Merged the Stack and Inline component into a single component called Flex.65f4acc: BREAKING: This is the first alpha release for Canon. As part of this release we are introducing 5 layout components and 7 components. All theming is done through CSS variables.1e4ccce: BREAKING: Fixing css structure and making sure that props are applying the correct styles for all responsive values.8309bdb: BREAKING: Updated core CSS tokens and fixing the Button component accordingly.
Patch Changes
989af25: Removed client directive as they are not needed in React 18.f44e5cf: Fix spacing props not being applied for custom values.58ec9e7: Removed older versions of React packages as a preparatory step for upgrading to React 19. This commit does not introduce any functional changes, but removes dependencies on previous React versions, allowing for a cleaner upgrade path in subsequent commits.
0.1.0-next.2
Minor Changes
8309bdb: Updated core CSS tokens and fixing the Button component accordingly.
Patch Changes
f44e5cf: Fix spacing props not being applied for custom values.
0.1.0-next.1
Minor Changes
72c9800: BREAKING: Merged the Stack and Inline component into a single component called Flex.1e4ccce: BREAKING: Fixing css structure and making sure that props are applying the correct styles for all responsive values.
Patch Changes
989af25: Removed client directive as they are not needed in React 18.58ec9e7: Removed older versions of React packages as a preparatory step for upgrading to React 19. This commit does not introduce any functional changes, but removes dependencies on previous React versions, allowing for a cleaner upgrade path in subsequent commits.
0.1.0-next.0
Minor Changes
65f4acc: This is the first alpha release for Canon. As part of this release we are introducing 5 layout components and 7 components. All theming is done through CSS variables.