Commit Graph

269 Commits

Author SHA1 Message Date
Charles de Dreuille ed7b4ad052 docs-ui: replace CSS sync script with postcss-import
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-20 07:32:10 +01:00
dependabot[bot] b17c46b6b0 build(deps): bump tar from 7.5.7 to 7.5.9 in /docs-ui (#32902)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.7 to 7.5.9.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.7...v7.5.9)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-19 08:22:05 +01:00
renovate[bot] 647ebbf951 chore(deps): update dependency motion to v12.34.0 (#32889)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-19 08:21:02 +01:00
Patrik Oldsberg 0ec3c0e50e ui: rename Header to PluginHeader
Renamed the Header component to PluginHeader for clarity, along with
all associated exports (HeaderProps, HeaderDefinition) and CSS class
names. Updated docs-ui documentation to match.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-17 11:37:45 +01:00
renovate[bot] e1c5d1ec34 chore(deps): update dependency @codemirror/view to v6.39.14
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-15 11:28:35 +00:00
Charles de Dreuille e8670d00f1 Cleanup docs
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-13 14:01:13 +00:00
Charles de Dreuille 0bf7ff679a Cleanups
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-13 13:28:09 +00:00
Charles de Dreuille 4137a43a1b Rename and remove CSS design tokens
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-13 13:16:16 +00:00
Charles de Dreuille d1ce8ec3cc Cleanup
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-11 21:04:22 +00:00
Charles de Dreuille 0a3c572890 Cleanup
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-11 20:17:42 +00:00
Charles de Dreuille 9b75c76a9e Add new search - cmd + k
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-11 20:08:35 +00:00
Charles de Dreuille 13422d70aa Improving our get started page in BUI
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-11 19:44:11 +00:00
renovate[bot] 2000fc1a54 chore(deps): update dependency html-react-parser to v5.2.17
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-10 09:58:09 +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 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 b63c25bfca Small fixes
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-06 14:05:27 +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
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ä 6a31822388 Remove bold tags from docs-ui
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2026-02-05 18:16:58 +01:00
renovate[bot] c89a262274 chore(deps): update dependency motion to v12.30.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-05 16:23:12 +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
renovate[bot] ce15b26948 chore(deps): update shiki monorepo to v3.22.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-04 01:32:53 +00:00
renovate[bot] 7f84307f4c chore(deps): update dependency html-react-parser to v5.2.15
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-03 14:30:56 +00:00
Fredrik Adelöw ccdf24cf19 Merge pull request #32632 from backstage/renovate/codemirror
chore(deps): update dependency @codemirror/view to v6.39.12
2026-02-03 15:14:38 +01: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
Fredrik Adelöw 1f20b9f6a7 Merge pull request #32558 from backstage/dependabot/npm_and_yarn/docs-ui/tar-7.5.7
build(deps): bump tar from 7.5.6 to 7.5.7 in /docs-ui
2026-02-03 15:00:21 +01:00
Charles de Dreuille 9adcc572f6 Update Prettier
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-03 09:52:38 +00:00
Charles de Dreuille 967dd632e0 Merge branch 'master' into docs-ui-props-updates 2026-02-03 08:06:09 +00:00
renovate[bot] b6d6faabcb chore(deps): update dependency @codemirror/view to v6.39.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-02 15:57:13 +00:00
dependabot[bot] f60c85f414 build(deps): bump tar from 7.5.6 to 7.5.7 in /docs-ui
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.6 to 7.5.7.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.6...v7.5.7)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-02 15:41:10 +00:00
Charles de Dreuille 929a401880 Merge pull request #32608 from backstage/bui-links
BUI - Improve Link component styles
2026-01-31 09:05:55 +00:00
renovate[bot] c5f06791f8 chore(deps): update dependency motion to v12.29.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-30 21:04:40 +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
Charles de Dreuille b40cf332a2 Add new info to Text
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-30 18:15:19 +00:00
Charles de Dreuille a88c437e38 Updated docs
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-30 18:08:20 +00:00
Charles de Dreuille d07be1b41f Remove link + tint tokens
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-30 17:57:33 +00:00
Charles de Dreuille 110fec026b Improve Link component styles
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-30 17:49:06 +00:00
Charles de Dreuille ac514e97f1 Merge pull request #32575 from backstage/fix/nextjs16-css-modules
Fix CSS Module purity errors for Next.js 16 compatibility
2026-01-30 14:54:43 +00:00
Charles de Dreuille 9da3b29044 Improve custom theme hydration issues
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-30 13:44:41 +00:00
Charles de Dreuille 7108c158f2 Remove requestAnimationFrame hack and use proper ESLint disable
Replaced the requestAnimationFrame workaround with an explicit ESLint
disable comment. The setState call in this effect is intentional and
valid - it's syncing component state with localStorage when switching
to the custom theme, which is a legitimate use case for effects.

This is clearer and more maintainable than hiding the intent with
requestAnimationFrame.

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-30 13:31:09 +00:00
Charles de Dreuille 088ec1fa25 Prettier
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-29 15:30:01 +00:00
Charles de Dreuille 62a3add97f Fix some other issues
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-29 15:15:23 +00:00
Charles de Dreuille 29006ec722 Update sync-css script to output to src/css instead of public
Changed the CSS sync script to output theme files to src/css/ instead
of public/, matching the new location for theme CSS files.

Updated variable names from publicPath to outputPath for clarity and
updated log messages to reflect the correct output location.

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-29 15:14:03 +00:00
Charles de Dreuille 73b56cc9c4 Move theme CSS files from public to src and fix imports
Next.js cannot import CSS from the /public directory - it's for static
assets only. Moved theme-backstage.css and theme-spotify.css from
/public to /src/css and updated imports to use proper relative paths.

This fixes the @next/next/no-css-tags ESLint warnings and follows
Next.js best practices for CSS imports.

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-29 15:10:00 +00:00
Charles de Dreuille ad435e4344 Fix React hooks ESLint errors without disabling rules
Refactored components to avoid synchronous setState calls in effects
by using proper React patterns:

- TableOfContents: Use requestAnimationFrame to defer setState calls
  and useLayoutEffect for DOM measurements
- CustomTheme: Use lazy state initialization for isClient and defer
  theme loading with requestAnimationFrame
- PlaygroundContext: Use lazy initialization for localStorage hydration

These changes maintain functionality while satisfying the strict
react-hooks/set-state-in-effect ESLint rule.

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-29 15:01:12 +00:00
renovate[bot] 43a4c0e6b5 chore(deps): update dependency html-react-parser to v5.2.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-29 14:18:23 +00:00
Charles de Dreuille 2398c3d1d9 Update tsconfig.json
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-29 13:45:37 +00:00