Commit Graph

434 Commits

Author SHA1 Message Date
Patrik Oldsberg f1b1cedb70 Merge pull request #30967 from davidfestal/runtime-module-federation-enablement
Runtime module federation enablement
2026-02-13 01:13:25 +01:00
Charles de Dreuille 44877e4da6 Fixed foreground tokens
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-12 23:40:49 +00:00
Patrik Oldsberg 903a854ebc Merge branch 'master' into runtime-module-federation-enablement
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-12 23:46:00 +01:00
Charles de Dreuille 36d7cffd0a Update Header.tsx
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-12 22:23:15 +00:00
Charles de Dreuille 42e5c982ec Update Header.tsx
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-12 22:06:12 +00:00
Charles de Dreuille 15707fff59 Update Header.tsx
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-12 22:04:17 +00:00
Charles de Dreuille 644e30343f Add report + changeset
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-12 21:49:32 +00:00
Charles de Dreuille a8ac56ed04 Add new FullPage component
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-12 21:38:44 +00:00
Johan Persson ab25658d7b refactor(ui): remove never-typed ghost props from useDefinition ownProps
Replace the ChildrenProps intersection approach with ResolveBgProps,
which transforms the base type so that only the relevant children
variant exists in the final type. Provider components get
childrenWithBgProvider (with children Omit'd), non-providers pass
through unchanged — no more optional never properties showing up
in autocomplete.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-11 14:05:44 +01:00
Charles de Dreuille a420d67077 Merge pull request #32711 from backstage/bui-surfaces
BUI - Replace Surface system with Bg (neutral background) system
2026-02-11 10:49:55 +00:00
Charles de Dreuille 048d9c47d4 Cleanup
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-11 10:36:32 +00:00
Charles de Dreuille 0fe7bf12be Update report.api.md
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-11 10:17:50 +00:00
Charles de Dreuille 53df9549ee Update Flex.stories.tsx
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-11 10:07:08 +00:00
Charles de Dreuille c67fb17302 cleaned up bg props
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-11 09:58:39 +00:00
Charles de Dreuille 053ce04647 Merge branch 'master' into bui-surfaces 2026-02-10 16:55:14 +00:00
Charles de Dreuille b113fb9359 Refactor Bg providers
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-10 16:55:04 +00:00
github-actions[bot] 7c41134684 Version Packages (next) 2026-02-10 16:14:59 +00:00
Patrik Oldsberg 9848734ce6 Merge pull request #32761 from backstage/rugvip/css-exports-support
cli: add support for CSS exports in package build
2026-02-10 13:23:02 +01:00
Charles de Dreuille 46a9adc246 Improve docs + container props on Grid + Flex
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-10 11:08:06 +00:00
Patrik Oldsberg ae08712748 Fix repo fix to not add typesVersions for non-script exports
Only CSS and other non-script, non-JSON exports should be excluded from
typesVersions. The package.json export still needs to be included.

Also preserves field order when updating existing typesVersions.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-10 09:23:12 +01:00
Patrik Oldsberg 30053d9676 Remove invalid typesVersions entries for non-script exports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-09 23:51:54 +01:00
Patrik Oldsberg a51c633f35 Fix packages/ui/package.json exports configuration
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-09 20:16:10 +01:00
Charles de Dreuille 2899ed0241 Improve leaf props for background
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-09 18:34:11 +00:00
Charles de Dreuille 576d1d3902 Update report.api.md
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-09 14:46:38 +00:00
Gustaf Räntilä 5c76d13ada Allow ref on the Tag component
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2026-02-09 15:30:54 +01:00
Charles de Dreuille b5c487a701 Update after feedbacks
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-09 14:28:44 +00:00
Patrik Oldsberg 4f9d980943 cli: Add support for CSS exports in package build
This adds support for CSS entry points in package exports. When a package
declares a CSS file in its exports field, the CLI will now automatically
bundle it during `backstage-cli package build` and rewrite the export
path from src/ to dist/ at publish time.

The CSS bundling uses lightningcss to resolve @import statements and
preserves @layer declarations that would otherwise be stripped during
bundling.

This allows packages like @backstage/ui to use the standard build command
instead of custom build scripts for CSS bundling.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-09 13:53:05 +01:00
Charles de Dreuille 29bedb2810 Move logic from useDefinition to useBg
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-07 08:38:56 +00:00
Charles de Dreuille 09db540228 Migrate useSurface to useBg
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-06 18:46:26 +00:00
Gustaf Räntilä 7eda810329 Use the ResizableTableContainer only if a column has a width property, and don't set the table-layout CSS property, but leave it to the user
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2026-02-06 18:51:39 +01:00
Gustaf Räntilä a8b3395a55 Removed inner TableRoot styling and changed automatic column sizing API
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2026-02-06 18:51:39 +01:00
Gustaf Räntilä 8c3941214d Allow automatic column widths and styling TableRoot
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2026-02-06 18:51:39 +01:00
Charles de Dreuille 0bcd685427 Merge branch 'master' into bui-surfaces 2026-02-06 17:37:05 +00:00
Charles de Dreuille ce90e89d35 Migrate new tokens
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-06 14:45:45 +00:00
Charles de Dreuille 599f6687a2 Migrate all components to new tokens
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-06 13:48:08 +00:00
Charles de Dreuille f16694e97f Update CSS tokens
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-06 13:12:50 +00:00
Charles de Dreuille 7c966d34eb Update Card.stories.tsx
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-06 06:56:56 +00:00
Charles de Dreuille 03f1bbcc10 Add new surfaces to Card
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-06 06:52:29 +00:00
Patrik Oldsberg b584aaa4e0 Merge pull request #32685 from grantila/grantila/bui-allow-data-to-be-passed-inplace
[BUI] Allow a 'data' prop to be passed inplace to the useTable hook
2026-02-05 19:47:20 +01:00
Gustaf Räntilä a0fe1b2dd6 Fix dynamically changing columns crashing the table component
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2026-02-05 19:47:09 +01:00
Gustaf Räntilä e1198c440a return without undefined
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2026-02-05 18:18:11 +01:00
Gustaf Räntilä 593ff66772 Update packages/ui/src/components/Table/hooks/useCompletePagination.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2026-02-05 18:14:08 +01:00
Yash Oswal becf8516d7 fix(ui): export PasswordField component
Add the missing export for the PasswordField component in the main entry point of the UI package. This ensures the component is properly exposed and available for use by external consumers.

Signed-off-by: Yash Oswal <yoswal@redhat.com>
2026-02-05 13:33:41 +01:00
Samarthsinh vala c8ae765724 fix(ui): Fix nested Accordion icon state issue (#32488)
* fix(ui): Fix nested Accordion icon state issue

Signed-off-by: samarthsinh2660 <rajuvala80@gmail.com>

* Update packages/ui/src/components/Accordion/Accordion.module.css

Co-authored-by: Gabriel Dugny <gabriel@dugny.me>
Signed-off-by: Samarthsinh vala <143015496+samarthsinh2660@users.noreply.github.com>

* Update packages/ui/src/components/Accordion/Accordion.module.css

Co-authored-by: Gabriel Dugny <gabriel@dugny.me>
Signed-off-by: Samarthsinh vala <143015496+samarthsinh2660@users.noreply.github.com>

* chore(ui): Add affected components string to changeset.

Allows the changeset sync script for the UI docs to pick the component up automatically and include the change in the changelog on the component page.

Signed-off-by: Johan Persson <johanopersson@gmail.com>

---------

Signed-off-by: samarthsinh2660 <rajuvala80@gmail.com>
Signed-off-by: Samarthsinh vala <143015496+samarthsinh2660@users.noreply.github.com>
Signed-off-by: Johan Persson <johanopersson@gmail.com>
Co-authored-by: Gabriel Dugny <gabriel@dugny.me>
Co-authored-by: Johan Persson <johanopersson@gmail.com>
2026-02-05 11:20:57 +00:00
Gustaf Räntilä 741a98d10f Allow a 'data' prop to be passed inplace to the useTable hook for mode 'complete'
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2026-02-04 23:51:56 +01:00
Paul Schultz a7e0d506a2 feat: enable react router feature flags for v7
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2026-02-03 09:37:11 -06:00
github-actions[bot] 1ea737c1e2 Version Packages (next) 2026-02-03 14:24:29 +00:00
imgbot[bot] 21b60d8b5f [ImgBot] Optimize images (#32227)
*Total -- 517.71kb -> 473.87kb (8.47%)

/microsite/static/img/tech-radar.svg -- 1.03kb -> 0.56kb (45.5%)
/beps/0001-notifications-system/notifications-architecture.drawio.svg -- 44.41kb -> 32.82kb (26.11%)
/plugins/auth-backend/architecture.drawio.svg -- 22.74kb -> 16.81kb (26.09%)
/microsite/static/img/backstage-search-platform.svg -- 0.99kb -> 0.73kb (25.77%)
/beps/0003-auth-architecture-evolution/token-sequence-obo.drawio.svg -- 17.62kb -> 13.12kb (25.53%)
/beps/0003-auth-architecture-evolution/token-sequence-cookie.drawio.svg -- 18.01kb -> 13.55kb (24.77%)
/microsite/static/img/cyclops.svg -- 3.30kb -> 2.68kb (18.79%)
/packages/app-next/architecture.drawio.svg -- 69.32kb -> 56.49kb (18.51%)
/microsite/static/img/kiali.svg -- 1.32kb -> 1.08kb (18.26%)
/microsite/static/img/daytona.svg -- 1.23kb -> 1.01kb (18.1%)
/microsite/static/img/octopus-deploy.svg -- 0.94kb -> 0.79kb (15.9%)
/microsite/static/img/s3-bucket.svg -- 3.25kb -> 2.88kb (11.45%)
/microsite/static/img/tekton.svg -- 1.77kb -> 1.59kb (10.13%)
/microsite/static/img/terraform-logo.svg -- 0.44kb -> 0.40kb (9.07%)
/microsite/static/img/dynatrace.svg -- 3.60kb -> 3.37kb (6.43%)
/microsite/static/img/plugin-feedback-logo.svg -- 0.69kb -> 0.65kb (5.8%)
/microsite/static/img/codescene_logo.svg -- 4.64kb -> 4.42kb (4.84%)
/microsite/static/img/codacy-icon.svg -- 1.37kb -> 1.32kb (3.5%)
/microsite/static/img/entity-validation.svg -- 0.31kb -> 0.30kb (3.49%)
/microsite/static/img/bazaar.svg -- 1.44kb -> 1.39kb (3.25%)
/microsite/static/img/badges.svg -- 0.25kb -> 0.24kb (2.79%)
/microsite/static/img/shortcuts.svg -- 0.29kb -> 0.28kb (2.35%)
/microsite/static/img/catalog-graph.svg -- 0.30kb -> 0.29kb (2.3%)
/microsite/static/img/devtools.svg -- 0.34kb -> 0.33kb (2.03%)
/microsite/static/img/3scale.svg -- 6.74kb -> 6.64kb (1.55%)
/microsite/static/img/linguist.svg -- 0.44kb -> 0.44kb (1.55%)
/microsite/static/img/digital.ai-deploy.svg -- 0.70kb -> 0.69kb (1.53%)
/microsite/static/img/digital.ai-release.svg -- 1.28kb -> 1.27kb (1.44%)
/microsite/static/img/nexus-repository-manager.svg -- 7.81kb -> 7.71kb (1.35%)
/microsite/static/img/quay.svg -- 7.81kb -> 7.71kb (1.34%)
/microsite/static/img/jfrog-artifactory.svg -- 7.82kb -> 7.72kb (1.34%)
/microsite/static/img/keycloak.svg -- 8.04kb -> 7.93kb (1.3%)
/microsite/static/img/topology.svg -- 8.62kb -> 8.51kb (1.21%)
/microsite/static/img/ocm.svg -- 9.86kb -> 9.76kb (1.06%)
/microsite/static/img/cicd-statistics.svg -- 0.72kb -> 0.71kb (0.95%)
/microsite/static/img/github-pull-requests-board-logo.svg -- 3.92kb -> 3.88kb (0.92%)
/packages/ui/static/favicon.svg -- 0.69kb -> 0.68kb (0.85%)
/microsite/static/img/hcp-consul.svg -- 6.78kb -> 6.76kb (0.33%)
/microsite/static/img/nobl9.svg -- 1.60kb -> 1.59kb (0.31%)
/microsite/static/img/buildkite.svg -- 0.39kb -> 0.39kb (0.25%)
/microsite/blog/assets/2024-06-27/backstage-engineer-journey.svg -- 224.46kb -> 223.97kb (0.22%)
/docs-ui/src/app/icon.svg -- 4.61kb -> 4.60kb (0.06%)
/microsite/static/img/wheel-of-names.svg -- 9.51kb -> 9.50kb (0.05%)
/microsite/static/img/cncf-white.svg -- 6.32kb -> 6.32kb (0.02%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2026-02-03 15:08:27 +01:00
Charles de Dreuille c579441340 Update report.api.md
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-30 18:38:07 +00:00
Charles de Dreuille 6192f335b9 Update HeaderPage.tsx
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-30 18:26:59 +00:00