diff --git a/apps/design-system/content/docs/components/scroll-area.mdx b/apps/design-system/content/docs/components/scroll-area.mdx
index 55d039eec5a..e7dd5236b6b 100644
--- a/apps/design-system/content/docs/components/scroll-area.mdx
+++ b/apps/design-system/content/docs/components/scroll-area.mdx
@@ -3,10 +3,9 @@ title: Scroll-area
description: Augments native scroll functionality for custom, cross-browser styling.
component: true
links:
- doc: https://www.radix-ui.com/docs/primitives/components/scroll-area
- api: https://www.radix-ui.com/docs/primitives/components/scroll-area#api-reference
+ doc: https://base-ui.com/react/components/scroll-area
+ api: https://base-ui.com/react/components/scroll-area#api-reference
source:
- radix: true
shadcn: true
---
@@ -35,7 +34,7 @@ npx shadcn-ui@latest add scroll-area
Install the following dependencies:
```bash
-npm install @radix-ui/react-scroll-area
+npm install @base-ui/react
```
Copy and paste the following code into your project.
diff --git a/apps/docs/features/SearchV2/SearchV2.telemetry.test.tsx b/apps/docs/features/SearchV2/SearchV2.telemetry.test.tsx
index cc5d0570da2..b66bbbc3647 100644
--- a/apps/docs/features/SearchV2/SearchV2.telemetry.test.tsx
+++ b/apps/docs/features/SearchV2/SearchV2.telemetry.test.tsx
@@ -57,14 +57,14 @@ const resultsState: DocsSearchV2State = {
query: 'auth',
}
-// cmdk and Radix lean on browser APIs jsdom doesn't ship
+// cmdk and Base UI lean on browser APIs jsdom doesn't ship
beforeEach(() => {
globalThis.ResizeObserver ??= class {
observe() {}
unobserve() {}
disconnect() {}
}
- Element.prototype.scrollIntoView ??= () => {}
+ Element.prototype.getAnimations ??= () => []
searchState = { status: 'initial', key: 0 }
aiMessages.length = 0
})
diff --git a/apps/docs/features/ui/CurvedScrollArea.tsx b/apps/docs/features/ui/CurvedScrollArea.tsx
index 12130dc9649..95053d938c6 100644
--- a/apps/docs/features/ui/CurvedScrollArea.tsx
+++ b/apps/docs/features/ui/CurvedScrollArea.tsx
@@ -1,6 +1,5 @@
'use client'
-import { ScrollArea as ScrollAreaPrimitive } from 'radix-ui'
import {
useCallback,
useId,
@@ -11,7 +10,7 @@ import {
type Ref,
type UIEvent,
} from 'react'
-import { cn } from 'ui'
+import { cn, ScrollBar, ScrollRoot, ScrollViewport } from 'ui'
interface CurvedScrollAreaProps {
children: ReactNode
@@ -88,24 +87,19 @@ export function CurvedScrollArea({
}
return (
-
-
{children}
-
-
-
-
+
+
-
+
)
}
diff --git a/apps/docs/styles/curved-scroll-area.css b/apps/docs/styles/curved-scroll-area.css
index 85431de1ab5..85b5653c81c 100644
--- a/apps/docs/styles/curved-scroll-area.css
+++ b/apps/docs/styles/curved-scroll-area.css
@@ -1,13 +1,7 @@
-.curved-scroll-area[data-scrolled] [data-radix-scroll-area-viewport] > * {
+.curved-scroll-area[data-scrolled] [data-slot='scroll-area-content'] {
filter: var(--curved-scroll-filter);
}
.curved-scroll-area-neutral {
flood-color: rgb(128 128 128);
}
-
-/* radix wraps the content in a display table, which grows to its widest line. a block keeps
- long lines inside the area. radix sets the table inline, so this needs important */
-.curved-scroll-area [data-radix-scroll-area-viewport] > div {
- display: block !important;
-}
diff --git a/apps/studio/components/interfaces/Account/AccessTokens/Scoped/Form/NewScopedTokenForm.tsx b/apps/studio/components/interfaces/Account/AccessTokens/Scoped/Form/NewScopedTokenForm.tsx
index eb3ec1291f8..699e40e98d3 100644
--- a/apps/studio/components/interfaces/Account/AccessTokens/Scoped/Form/NewScopedTokenForm.tsx
+++ b/apps/studio/components/interfaces/Account/AccessTokens/Scoped/Form/NewScopedTokenForm.tsx
@@ -166,7 +166,7 @@ export const NewScopedTokenForm = forwardRef<
return (
<>
-
+
{step === 'form' ? (
- {/* Radix wraps viewport children in an inline-styled display:table div that grows to fit
- the widest child, which would let one long endpoint path expand the sheet instead of
- clipping — force it back to block so widths are bounded and rows can truncate. */}
-
+