diff --git a/docs-ui/src/components/PageTitle/index.tsx b/docs-ui/src/components/PageTitle/index.tsx
index aef3d75d70..c43ff75fc7 100644
--- a/docs-ui/src/components/PageTitle/index.tsx
+++ b/docs-ui/src/components/PageTitle/index.tsx
@@ -5,10 +5,8 @@ import styles from './PageTitle.module.css';
export const PageTitle = ({
title,
description,
- type = 'component',
}: {
title: string;
- type?: string;
description: string;
}) => {
return (
diff --git a/docs-ui/src/components/StickyHeader/StickyHeader.module.css b/docs-ui/src/components/StickyHeader/StickyHeader.module.css
deleted file mode 100644
index 7cfc197f83..0000000000
--- a/docs-ui/src/components/StickyHeader/StickyHeader.module.css
+++ /dev/null
@@ -1,98 +0,0 @@
-.stickyHeader {
- position: fixed;
- top: 0px;
- left: 32px;
- right: 32px;
- z-index: 99999;
- background-color: var(--background);
- padding: 16px 20px 16px 40px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- backdrop-filter: blur(10px);
- pointer-events: auto;
- isolation: isolate;
- transform: translateZ(0);
- opacity: 0;
- width: calc(100% - 64px);
- mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
- -webkit-mask-image: linear-gradient(
- to bottom,
- black 0%,
- black 80%,
- transparent 100%
- );
-}
-
-@media (max-width: 768px) {
- .stickyHeader {
- display: none;
- }
-}
-
-.right {
- display: flex;
- align-items: center;
- gap: 24px;
-}
-
-.name {
- font-size: 24px;
- color: var(--text-primary);
- font-weight: 400;
-}
-
-.version {
- font-size: 14px;
- color: var(--text-secondary);
- font-weight: 500;
-}
-
-.actions {
- display: flex;
- align-items: center;
- gap: 16px;
-}
-
-.versionLinks {
- display: flex;
- align-items: center;
-
- a {
- width: 48px;
- height: 48px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: var(--secondary);
- transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
- border-radius: 48px;
-
- &:hover {
- color: var(--primary);
- background-color: var(--action);
- }
- }
-}
-
-@media (max-width: 768px) {
- .stickyHeader {
- padding: 12px 16px;
- }
-
- .right {
- gap: 16px;
- }
-
- .version {
- font-size: 12px;
- }
-}
-
-@media (min-width: 768px) {
- .stickyHeader {
- width: calc(100% - 332px - 40px);
- left: 332px;
- right: 40px;
- }
-}
diff --git a/docs-ui/src/components/StickyHeader/StickyHeader.tsx b/docs-ui/src/components/StickyHeader/StickyHeader.tsx
deleted file mode 100644
index 804d759715..0000000000
--- a/docs-ui/src/components/StickyHeader/StickyHeader.tsx
+++ /dev/null
@@ -1,50 +0,0 @@
-'use client';
-
-import { motion, useScroll, useTransform, circOut } from 'framer-motion';
-import { RiGithubLine, RiNpmjsLine } from '@remixicon/react';
-import { ThemeSelector } from '../Toolbar/theme';
-import { ThemeNameSelector } from '../Toolbar/theme-name';
-import { useCurrentPage } from '@/hooks/useCurrentPage';
-import styles from './StickyHeader.module.css';
-
-export const StickyHeader = () => {
- const { scrollY } = useScroll();
- const currentPage = useCurrentPage();
-
- // Transform scroll position to opacity only
- const opacity = useTransform(scrollY, [100, 200], [0, 1], {
- clamp: false,
- });
-
- const yPos = useTransform(scrollY, [200, 500], [-60, 0], {
- clamp: true,
- ease: circOut,
- });
-
- return (
-
- {currentPage || 'Backstage UI'}
-
-
- );
-};
diff --git a/docs-ui/src/components/Toolbar/Toolbar.tsx b/docs-ui/src/components/Toolbar/Toolbar.tsx
index f0399797ea..3ba8b76739 100644
--- a/docs-ui/src/components/Toolbar/Toolbar.tsx
+++ b/docs-ui/src/components/Toolbar/Toolbar.tsx
@@ -18,7 +18,6 @@ import {
ToggleButtonGroup,
} from 'react-aria-components';
import styles from './Toolbar.module.css';
-import { Tabs } from '@base-ui-components/react/tabs';
import { usePlayground } from '@/utils/playground-context';
import { usePathname } from 'next/navigation';
import Link from 'next/link';
diff --git a/docs-ui/src/mdx-components.tsx b/docs-ui/src/mdx-components.tsx
index 3e3efbe1ee..bae798bf7c 100644
--- a/docs-ui/src/mdx-components.tsx
+++ b/docs-ui/src/mdx-components.tsx
@@ -8,7 +8,7 @@ import styles from './css/mdx.module.css';
function slugify(text: string): string {
return text
.toString()
- .toLowerCase()
+ .toLocaleLowerCase('en-US')
.trim()
.replace(/\s+/g, '-')
.replace(/[^\w\-]+/g, '')
diff --git a/docs-ui/src/utils/playground-context.tsx b/docs-ui/src/utils/playground-context.tsx
index 401b079966..a1cee6ecba 100644
--- a/docs-ui/src/utils/playground-context.tsx
+++ b/docs-ui/src/utils/playground-context.tsx
@@ -4,7 +4,6 @@ import {
ReactNode,
useState,
useEffect,
- Key,
} from 'react';
import { components } from './data';
diff --git a/docs-ui/yarn.lock b/docs-ui/yarn.lock
index 7c27ea11dd..5e4be18156 100644
--- a/docs-ui/yarn.lock
+++ b/docs-ui/yarn.lock
@@ -23,7 +23,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/runtime@npm:^7.18.6, @babel/runtime@npm:^7.21.0":
+"@babel/runtime@npm:^7.18.6":
version: 7.28.3
resolution: "@babel/runtime@npm:7.28.3"
checksum: 10/f2415e4dbface7496f6fc561d640b44be203071fb0dfb63fbe338c7d2d2047419cb054ef13d1ebb8fc11e35d2b55aa3045def4b985e8b82aea5d7e58e1133e52
@@ -1990,7 +1990,7 @@ __metadata:
languageName: node
linkType: hard
-"chalk@npm:^4.0.0, chalk@npm:^4.1.2":
+"chalk@npm:^4.0.0":
version: 4.1.2
resolution: "chalk@npm:4.1.2"
dependencies:
@@ -2061,17 +2061,6 @@ __metadata:
languageName: node
linkType: hard
-"cliui@npm:^8.0.1":
- version: 8.0.1
- resolution: "cliui@npm:8.0.1"
- dependencies:
- string-width: "npm:^4.2.0"
- strip-ansi: "npm:^6.0.1"
- wrap-ansi: "npm:^7.0.0"
- checksum: 10/eaa5561aeb3135c2cddf7a3b3f562fc4238ff3b3fc666869ef2adf264be0f372136702f16add9299087fb1907c2e4ec5dbfe83bd24bce815c70a80c6c1a2e950
- languageName: node
- linkType: hard
-
"clsx@npm:^2.1.1":
version: 2.1.1
resolution: "clsx@npm:2.1.1"
@@ -2151,26 +2140,6 @@ __metadata:
languageName: node
linkType: hard
-"concurrently@npm:^8.2.2":
- version: 8.2.2
- resolution: "concurrently@npm:8.2.2"
- dependencies:
- chalk: "npm:^4.1.2"
- date-fns: "npm:^2.30.0"
- lodash: "npm:^4.17.21"
- rxjs: "npm:^7.8.1"
- shell-quote: "npm:^1.8.1"
- spawn-command: "npm:0.0.2"
- supports-color: "npm:^8.1.1"
- tree-kill: "npm:^1.2.2"
- yargs: "npm:^17.7.2"
- bin:
- conc: dist/bin/concurrently.js
- concurrently: dist/bin/concurrently.js
- checksum: 10/dcb1aa69d9c611a7bda9d4fc0fe1e388f971d1744acec7e0d52dffa2ef55743f1266ec9292f414c5789b9f61734b3fce772bd005d4de9564a949fb121b97bae1
- languageName: node
- linkType: hard
-
"crelt@npm:^1.0.5, crelt@npm:^1.0.6":
version: 1.0.6
resolution: "crelt@npm:1.0.6"
@@ -2236,15 +2205,6 @@ __metadata:
languageName: node
linkType: hard
-"date-fns@npm:^2.30.0":
- version: 2.30.0
- resolution: "date-fns@npm:2.30.0"
- dependencies:
- "@babel/runtime": "npm:^7.21.0"
- checksum: 10/70b3e8ea7aaaaeaa2cd80bd889622a4bcb5d8028b4de9162cbcda359db06e16ff6e9309e54eead5341e71031818497f19aaf9839c87d1aba1e27bb4796e758a9
- languageName: node
- linkType: hard
-
"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4, debug@npm:^4.4.0":
version: 4.4.1
resolution: "debug@npm:4.4.1"
@@ -2355,7 +2315,6 @@ __metadata:
"@uiw/react-codemirror": "npm:^4.23.7"
chokidar: "npm:^3.6.0"
clsx: "npm:^2.1.1"
- concurrently: "npm:^8.2.2"
eslint: "npm:^8"
eslint-config-next: "npm:15.3.4"
html-react-parser: "npm:^5.2.5"
@@ -2762,13 +2721,6 @@ __metadata:
languageName: node
linkType: hard
-"escalade@npm:^3.1.1":
- version: 3.2.0
- resolution: "escalade@npm:3.2.0"
- checksum: 10/9d7169e3965b2f9ae46971afa392f6e5a25545ea30f2e2dd99c9b0a95a3f52b5653681a84f5b2911a413ddad2d7a93d3514165072f349b5ffc59c75a899970d6
- languageName: node
- linkType: hard
-
"escape-string-regexp@npm:^4.0.0":
version: 4.0.0
resolution: "escape-string-regexp@npm:4.0.0"
@@ -3363,13 +3315,6 @@ __metadata:
languageName: node
linkType: hard
-"get-caller-file@npm:^2.0.5":
- version: 2.0.5
- resolution: "get-caller-file@npm:2.0.5"
- checksum: 10/b9769a836d2a98c3ee734a88ba712e62703f1df31b94b784762c433c27a386dd6029ff55c2a920c392e33657d80191edbf18c61487e198844844516f843496b9
- languageName: node
- linkType: hard
-
"get-intrinsic@npm:^1.2.4, get-intrinsic@npm:^1.2.5, get-intrinsic@npm:^1.2.6, get-intrinsic@npm:^1.2.7, get-intrinsic@npm:^1.3.0":
version: 1.3.0
resolution: "get-intrinsic@npm:1.3.0"
@@ -4409,13 +4354,6 @@ __metadata:
languageName: node
linkType: hard
-"lodash@npm:^4.17.21":
- version: 4.17.21
- resolution: "lodash@npm:4.17.21"
- checksum: 10/c08619c038846ea6ac754abd6dd29d2568aa705feb69339e836dfa8d8b09abbb2f859371e86863eda41848221f9af43714491467b5b0299122431e202bb0c532
- languageName: node
- linkType: hard
-
"longest-streak@npm:^3.0.0":
version: 3.1.0
resolution: "longest-streak@npm:3.1.0"
@@ -5829,13 +5767,6 @@ __metadata:
languageName: node
linkType: hard
-"require-directory@npm:^2.1.1":
- version: 2.1.1
- resolution: "require-directory@npm:2.1.1"
- checksum: 10/a72468e2589270d91f06c7d36ec97a88db53ae5d6fe3787fadc943f0b0276b10347f89b363b2a82285f650bdcc135ad4a257c61bdd4d00d6df1fa24875b0ddaf
- languageName: node
- linkType: hard
-
"resolve-from@npm:^4.0.0":
version: 4.0.0
resolution: "resolve-from@npm:4.0.0"
@@ -5936,15 +5867,6 @@ __metadata:
languageName: node
linkType: hard
-"rxjs@npm:^7.8.1":
- version: 7.8.2
- resolution: "rxjs@npm:7.8.2"
- dependencies:
- tslib: "npm:^2.1.0"
- checksum: 10/03dff09191356b2b87d94fbc1e97c4e9eb3c09d4452399dddd451b09c2f1ba8d56925a40af114282d7bc0c6fe7514a2236ca09f903cf70e4bbf156650dddb49d
- languageName: node
- linkType: hard
-
"safe-array-concat@npm:^1.1.3":
version: 1.1.3
resolution: "safe-array-concat@npm:1.1.3"
@@ -6151,13 +6073,6 @@ __metadata:
languageName: node
linkType: hard
-"shell-quote@npm:^1.8.1":
- version: 1.8.3
- resolution: "shell-quote@npm:1.8.3"
- checksum: 10/5473e354637c2bd698911224129c9a8961697486cff1fb221f234d71c153fc377674029b0223d1d3c953a68d451d79366abfe53d1a0b46ee1f28eb9ade928f4c
- languageName: node
- linkType: hard
-
"shiki@npm:^3.13.0":
version: 3.13.0
resolution: "shiki@npm:3.13.0"
@@ -6294,13 +6209,6 @@ __metadata:
languageName: node
linkType: hard
-"spawn-command@npm:0.0.2":
- version: 0.0.2
- resolution: "spawn-command@npm:0.0.2"
- checksum: 10/f13e8c3c63abd4a0b52fb567eba5f7940d480c5ed3ec61781d38a1850f179b1196c39e6efa2bbd301f82c1bf1cd7807abc8fbd8fc8e44bcaa3975a124c0d1657
- languageName: node
- linkType: hard
-
"ssri@npm:^12.0.0":
version: 12.0.0
resolution: "ssri@npm:12.0.0"
@@ -6345,7 +6253,7 @@ __metadata:
languageName: node
linkType: hard
-"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3":
+"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^4.1.0":
version: 4.2.3
resolution: "string-width@npm:4.2.3"
dependencies:
@@ -6539,15 +6447,6 @@ __metadata:
languageName: node
linkType: hard
-"supports-color@npm:^8.1.1":
- version: 8.1.1
- resolution: "supports-color@npm:8.1.1"
- dependencies:
- has-flag: "npm:^4.0.0"
- checksum: 10/157b534df88e39c5518c5e78c35580c1eca848d7dbaf31bbe06cdfc048e22c7ff1a9d046ae17b25691128f631a51d9ec373c1b740c12ae4f0de6e292037e4282
- languageName: node
- linkType: hard
-
"supports-preserve-symlinks-flag@npm:^1.0.0":
version: 1.0.0
resolution: "supports-preserve-symlinks-flag@npm:1.0.0"
@@ -6602,15 +6501,6 @@ __metadata:
languageName: node
linkType: hard
-"tree-kill@npm:^1.2.2":
- version: 1.2.2
- resolution: "tree-kill@npm:1.2.2"
- bin:
- tree-kill: cli.js
- checksum: 10/49117f5f410d19c84b0464d29afb9642c863bc5ba40fcb9a245d474c6d5cc64d1b177a6e6713129eb346b40aebb9d4631d967517f9fbe8251c35b21b13cd96c7
- languageName: node
- linkType: hard
-
"trim-lines@npm:^3.0.0":
version: 3.0.1
resolution: "trim-lines@npm:3.0.1"
@@ -6646,7 +6536,7 @@ __metadata:
languageName: node
linkType: hard
-"tslib@npm:^2.0.1, tslib@npm:^2.1.0, tslib@npm:^2.4.0, tslib@npm:^2.8.0":
+"tslib@npm:^2.0.1, tslib@npm:^2.4.0, tslib@npm:^2.8.0":
version: 2.8.1
resolution: "tslib@npm:2.8.1"
checksum: 10/3e2e043d5c2316461cb54e5c7fe02c30ef6dccb3384717ca22ae5c6b5bc95232a6241df19c622d9c73b809bea33b187f6dbc73030963e29950c2141bc32a79f7
@@ -7085,7 +6975,7 @@ __metadata:
languageName: node
linkType: hard
-"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0, wrap-ansi@npm:^7.0.0":
+"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
version: 7.0.0
resolution: "wrap-ansi@npm:7.0.0"
dependencies:
@@ -7129,13 +7019,6 @@ __metadata:
languageName: node
linkType: hard
-"y18n@npm:^5.0.5":
- version: 5.0.8
- resolution: "y18n@npm:5.0.8"
- checksum: 10/5f1b5f95e3775de4514edbb142398a2c37849ccfaf04a015be5d75521e9629d3be29bd4432d23c57f37e5b61ade592fb0197022e9993f81a06a5afbdcda9346d
- languageName: node
- linkType: hard
-
"yallist@npm:^4.0.0":
version: 4.0.0
resolution: "yallist@npm:4.0.0"
@@ -7159,28 +7042,6 @@ __metadata:
languageName: node
linkType: hard
-"yargs-parser@npm:^21.1.1":
- version: 21.1.1
- resolution: "yargs-parser@npm:21.1.1"
- checksum: 10/9dc2c217ea3bf8d858041252d43e074f7166b53f3d010a8c711275e09cd3d62a002969a39858b92bbda2a6a63a585c7127014534a560b9c69ed2d923d113406e
- languageName: node
- linkType: hard
-
-"yargs@npm:^17.7.2":
- version: 17.7.2
- resolution: "yargs@npm:17.7.2"
- dependencies:
- cliui: "npm:^8.0.1"
- escalade: "npm:^3.1.1"
- get-caller-file: "npm:^2.0.5"
- require-directory: "npm:^2.1.1"
- string-width: "npm:^4.2.3"
- y18n: "npm:^5.0.5"
- yargs-parser: "npm:^21.1.1"
- checksum: 10/abb3e37678d6e38ea85485ed86ebe0d1e3464c640d7d9069805ea0da12f69d5a32df8e5625e370f9c96dd1c2dc088ab2d0a4dd32af18222ef3c4224a19471576
- languageName: node
- linkType: hard
-
"yocto-queue@npm:^0.1.0":
version: 0.1.0
resolution: "yocto-queue@npm:0.1.0"