From b480de9f1e0302b6fb4f635c4687551c28a5c8fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Dudak?=
Date: Fri, 9 Aug 2024 10:39:17 +0200
Subject: [PATCH 001/149] Create MDX loading infra
---
docs/next.config.mjs | 70 +-
docs/package.json | 7 +-
docs/pages/_app.js | 141 +-
docs/pages/_document.js | 200 +--
.../pages/base-ui-react/components/[slug].tsx | 61 +
.../base-ui-react/getting-started/[slug].tsx | 61 +
docs/pages/global.css | 3 -
docs/pages/index.tsx | 14 +
docs/src/layout/MasterLayout.module.css | 5 +
docs/src/layout/MasterLayout.tsx | 19 +
docs/src/modules/common/AppBar.tsx | 130 ++
docs/src/modules/common/Box.tsx | 5 +
.../common/GoogleAnalyticsScriptLoader.tsx | 38 +
docs/src/modules/common/Navigation.module.css | 9 +
docs/src/modules/common/Navigation.tsx | 131 ++
docs/src/modules/common/TableOfContents.tsx | 125 ++
.../components/InstallationInstructions.tsx | 18 +
docs/src/styles/components/app-bar.css | 12 +
docs/src/styles/components/badge.css | 14 +
docs/src/styles/components/button.css | 43 +
docs/src/styles/components/callout.css | 12 +
docs/src/styles/components/code.css | 19 +
docs/src/styles/components/dialog.css | 29 +
.../src/styles/components/growing-chevron.css | 44 +
docs/src/styles/components/icon-button.css | 43 +
docs/src/styles/components/icon.css | 5 +
docs/src/styles/components/kbd.css | 17 +
docs/src/styles/components/link-block.css | 36 +
docs/src/styles/components/link.css | 41 +
docs/src/styles/components/list.css | 6 +
docs/src/styles/components/pre.css | 12 +
docs/src/styles/components/search-button.css | 35 +
docs/src/styles/components/select.css | 60 +
docs/src/styles/components/separator.css | 8 +
docs/src/styles/components/table.css | 47 +
docs/src/styles/components/text.css | 74 +
docs/src/styles/components/textarea.css | 27 +
docs/src/styles/components/toggle.css | 49 +
docs/src/styles/mdx.css | 27 +
docs/src/styles/reset.css | 9 +
docs/src/styles/style.css | 37 +
docs/src/styles/theme.css | 63 +
docs/src/styles/utilities/align-items.css | 19 +
docs/src/styles/utilities/align-self.css | 19 +
docs/src/styles/utilities/display.css | 31 +
docs/src/styles/utilities/flex-direction.css | 15 +
docs/src/styles/utilities/gap.css | 35 +
docs/src/styles/utilities/height.css | 35 +
docs/src/styles/utilities/justify-content.css | 23 +
docs/src/styles/utilities/margin.css | 299 ++++
docs/src/styles/utilities/padding.css | 299 ++++
docs/src/styles/utilities/position.css | 15 +
docs/src/utils/getMdxPage.ts | 58 +
docs/tsconfig.json | 4 +-
pnpm-lock.yaml | 1380 ++++++++++++++++-
55 files changed, 3651 insertions(+), 387 deletions(-)
create mode 100644 docs/pages/base-ui-react/components/[slug].tsx
create mode 100644 docs/pages/base-ui-react/getting-started/[slug].tsx
delete mode 100644 docs/pages/global.css
create mode 100644 docs/pages/index.tsx
create mode 100644 docs/src/layout/MasterLayout.module.css
create mode 100644 docs/src/layout/MasterLayout.tsx
create mode 100644 docs/src/modules/common/AppBar.tsx
create mode 100644 docs/src/modules/common/Box.tsx
create mode 100644 docs/src/modules/common/GoogleAnalyticsScriptLoader.tsx
create mode 100644 docs/src/modules/common/Navigation.module.css
create mode 100644 docs/src/modules/common/Navigation.tsx
create mode 100644 docs/src/modules/common/TableOfContents.tsx
create mode 100644 docs/src/modules/components/InstallationInstructions.tsx
create mode 100644 docs/src/styles/components/app-bar.css
create mode 100644 docs/src/styles/components/badge.css
create mode 100644 docs/src/styles/components/button.css
create mode 100644 docs/src/styles/components/callout.css
create mode 100644 docs/src/styles/components/code.css
create mode 100644 docs/src/styles/components/dialog.css
create mode 100644 docs/src/styles/components/growing-chevron.css
create mode 100644 docs/src/styles/components/icon-button.css
create mode 100644 docs/src/styles/components/icon.css
create mode 100644 docs/src/styles/components/kbd.css
create mode 100644 docs/src/styles/components/link-block.css
create mode 100644 docs/src/styles/components/link.css
create mode 100644 docs/src/styles/components/list.css
create mode 100644 docs/src/styles/components/pre.css
create mode 100644 docs/src/styles/components/search-button.css
create mode 100644 docs/src/styles/components/select.css
create mode 100644 docs/src/styles/components/separator.css
create mode 100644 docs/src/styles/components/table.css
create mode 100644 docs/src/styles/components/text.css
create mode 100644 docs/src/styles/components/textarea.css
create mode 100644 docs/src/styles/components/toggle.css
create mode 100644 docs/src/styles/mdx.css
create mode 100644 docs/src/styles/reset.css
create mode 100644 docs/src/styles/style.css
create mode 100644 docs/src/styles/theme.css
create mode 100644 docs/src/styles/utilities/align-items.css
create mode 100644 docs/src/styles/utilities/align-self.css
create mode 100644 docs/src/styles/utilities/display.css
create mode 100644 docs/src/styles/utilities/flex-direction.css
create mode 100644 docs/src/styles/utilities/gap.css
create mode 100644 docs/src/styles/utilities/height.css
create mode 100644 docs/src/styles/utilities/justify-content.css
create mode 100644 docs/src/styles/utilities/margin.css
create mode 100644 docs/src/styles/utilities/padding.css
create mode 100644 docs/src/styles/utilities/position.css
create mode 100644 docs/src/utils/getMdxPage.ts
diff --git a/docs/next.config.mjs b/docs/next.config.mjs
index 7c81ba4718..21b1bb41c8 100644
--- a/docs/next.config.mjs
+++ b/docs/next.config.mjs
@@ -4,13 +4,7 @@ import * as url from 'url';
import * as fs from 'fs';
// eslint-disable-next-line no-restricted-imports
import withDocsInfra from '@mui/monorepo/docs/nextConfigDocsInfra.js';
-import { findPages } from './src/utils/findPages.mjs';
-import {
- LANGUAGES,
- LANGUAGES_SSR,
- LANGUAGES_IGNORE_PAGES,
- LANGUAGES_IN_PROGRESS,
-} from './config.js';
+import { LANGUAGES, LANGUAGES_IGNORE_PAGES, LANGUAGES_IN_PROGRESS } from './config.js';
const currentDirectory = url.fileURLToPath(new URL('.', import.meta.url));
const workspaceRoot = path.resolve(currentDirectory, '../');
@@ -27,8 +21,6 @@ const rootPackage = loadPackageJson();
/** @type {import('next').NextConfig} */
const nextConfig = {
- // Avoid conflicts with the other Next.js apps hosted under https://mui.com/
- assetPrefix: process.env.DEPLOY_ENV === 'development' ? undefined : '/base-ui/',
env: {
// docs-infra
LIB_VERSION: rootPackage.version,
@@ -89,9 +81,6 @@ const nextConfig = {
};
},
distDir: 'export',
- // Next.js provides a `defaultPathMap` argument, we could simplify the logic.
- // However, we don't in order to prevent any regression in the `findPages()` method.
- exportPathMap,
transpilePackages: ['@mui/docs', '@mui/monorepo'],
...(process.env.NODE_ENV === 'production'
? {
@@ -105,64 +94,7 @@ const nextConfig = {
];
},
// redirects only take effect in the development, not production (because of `next export`).
- redirects: async () => [
- {
- source: '/',
- destination: '/base-ui/getting-started/',
- permanent: false,
- },
- ],
}),
};
-function exportPathMap() {
- const allPages = findPages();
- /**
- * @type {Record}
- */
- const map = {};
-
- /**
- * @param {import('./src/utils/findPages.mjs').NextJSPage[]} pages
- * @param {string} userLanguage
- */
- function traverse(pages, userLanguage) {
- const prefix = userLanguage === 'en' ? '' : `/${userLanguage}`;
-
- pages.forEach((page) => {
- // The experiments pages are only meant for experiments, they shouldn't leak to production.
- if (page.pathname.includes('/experiments/') && process.env.DEPLOY_ENV === 'production') {
- return;
- }
-
- if (!page.children) {
- map[`${prefix}${page.pathname.replace(/^\/api-docs\/(.*)/, '/api/$1')}`] = {
- page: page.pathname,
- query: {
- userLanguage,
- },
- };
- return;
- }
-
- traverse(page.children, userLanguage);
- });
- }
-
- // We want to speed-up the build of pull requests.
- if (process.env.PULL_REQUEST === 'true') {
- // eslint-disable-next-line no-console
- console.log('Considering only English for SSR');
- traverse(allPages, 'en');
- } else {
- // eslint-disable-next-line no-console
- console.log('Considering various locales for SSR');
- LANGUAGES_SSR.forEach((userLanguage) => {
- traverse(allPages, userLanguage);
- });
- }
-
- return map;
-}
-
export default withDocsInfra(nextConfig);
diff --git a/docs/package.json b/docs/package.json
index 22429c67e7..04f84de3db 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -5,9 +5,8 @@
"author": "MUI Team",
"license": "MIT",
"scripts": {
- "build": "rimraf ./export && cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=8192 next build --profile && pnpm build-sw",
+ "build": "rimraf ./export && cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=8192 next build --profile",
"build:clean": "rimraf .next && pnpm build",
- "build-sw": "node ./scripts/buildServiceWorker.js",
"dev": "next dev --port 3005",
"deploy": "git push -f material-ui-docs master:latest",
"serve": "serve ./export -l 3010",
@@ -46,13 +45,17 @@
"clsx": "^2.1.1",
"core-js": "^3.37.1",
"cross-env": "^7.0.3",
+ "esbuild": "^0.23.0",
"fg-loadcss": "^3.1.0",
"fs-extra": "^11.2.0",
+ "glob": "^11.0.0",
+ "gray-matter": "^4.0.3",
"jss": "^10.10.0",
"jss-plugin-template": "^10.10.0",
"jss-rtl": "^0.3.0",
"lodash": "^4.17.21",
"lz-string": "^1.5.0",
+ "mdx-bundler": "^10.0.2",
"next": "^14.2.5",
"nprogress": "^0.2.0",
"postcss": "^8.4.40",
diff --git a/docs/pages/_app.js b/docs/pages/_app.js
index 0b89a05434..71b88b1bd3 100644
--- a/docs/pages/_app.js
+++ b/docs/pages/_app.js
@@ -15,87 +15,19 @@ import { CodeStylingProvider } from 'docs/src/modules/utils/codeStylingSolution'
import DocsStyledEngineProvider from 'docs/src/modules/utils/StyledEngineProvider';
import createEmotionCache from 'docs/src/createEmotionCache';
import findActivePage from 'docs/src/modules/utils/findActivePage';
-import { pathnameToLanguage } from 'docs/src/modules/utils/helpers';
import getProductInfoFromUrl from 'docs/src/modules/utils/getProductInfoFromUrl';
import { CodeCopyProvider } from '@mui/docs/CodeCopy';
import { DocsProvider } from '@mui/docs/DocsProvider';
import configureSandboxDependencies from 'docs-base/src/utils/configureSandboxDependencies';
-import './global.css';
-import '../public/static/components-gallery/base-theme.css';
+import { mapTranslations } from '@mui/docs/i18n';
import config from '../config';
+import '../src/styles/style.css';
// Client-side cache, shared for the whole session of the user in the browser.
const clientSideEmotionCache = createEmotionCache();
configureSandboxDependencies();
-let reloadInterval;
-
-// Avoid infinite loop when "Upload on reload" is set in the Chrome sw dev tools.
-function lazyReload() {
- clearInterval(reloadInterval);
- reloadInterval = setInterval(() => {
- if (document.hasFocus()) {
- window.location.reload();
- }
- }, 100);
-}
-
-// Inspired by
-// https://developers.google.com/web/tools/workbox/guides/advanced-recipes#offer_a_page_reload_for_users
-function forcePageReload(registration) {
- // console.log('already controlled?', Boolean(navigator.serviceWorker.controller));
-
- if (!navigator.serviceWorker.controller) {
- // The window client isn't currently controlled so it's a new service
- // worker that will activate immediately.
- return;
- }
-
- // console.log('registration waiting?', Boolean(registration.waiting));
- if (registration.waiting) {
- // SW is waiting to activate. Can occur if multiple clients open and
- // one of the clients is refreshed.
- registration.waiting.postMessage('skipWaiting');
- return;
- }
-
- function listenInstalledStateChange() {
- registration.installing.addEventListener('statechange', (event) => {
- // console.log('statechange', event.target.state);
- if (event.target.state === 'installed' && registration.waiting) {
- // A new service worker is available, inform the user
- registration.waiting.postMessage('skipWaiting');
- } else if (event.target.state === 'activated') {
- // Force the control of the page by the activated service worker.
- lazyReload();
- }
- });
- }
-
- if (registration.installing) {
- listenInstalledStateChange();
- return;
- }
-
- // We are currently controlled so a new SW may be found...
- // Add a listener in case a new SW is found,
- registration.addEventListener('updatefound', listenInstalledStateChange);
-}
-
-async function registerServiceWorker() {
- if (
- 'serviceWorker' in navigator &&
- process.env.NODE_ENV === 'production' &&
- window.location.host.indexOf('mui.com') !== -1
- ) {
- // register() automatically attempts to refresh the sw.js.
- const registration = await navigator.serviceWorker.register('/sw.js');
- // Force the page reload for users.
- forcePageReload(registration);
- }
-}
-
let dependenciesLoaded = false;
function loadDependencies() {
@@ -111,23 +43,12 @@ function loadDependencies() {
);
}
-if (typeof window !== 'undefined' && process.env.NODE_ENV === 'production') {
- // eslint-disable-next-line no-console
- console.log(
- `%c
-
-███╗ ███╗ ██╗ ██╗ ██████╗
-████╗ ████║ ██║ ██║ ██╔═╝
-██╔████╔██║ ██║ ██║ ██║
-██║╚██╔╝██║ ██║ ██║ ██║
-██║ ╚═╝ ██║ ╚██████╔╝ ██████╗
-╚═╝ ╚═╝ ╚═════╝ ╚═════╝
+const PRODUCT_IDENTIFIER = {
+ metadata: 'Base UI',
+ name: 'Base UI',
+ versions: [{ text: `v${basePkgJson.version}`, current: true }],
+};
-Tip: you can access the documentation \`theme\` object directly in the console.
-`,
- 'font-family:monospace;color:#1976d2;font-size:12px;',
- );
-}
function AppWrapper(props) {
const { children, emotionCache, pageProps } = props;
@@ -139,7 +60,6 @@ function AppWrapper(props) {
React.useEffect(() => {
loadDependencies();
- registerServiceWorker();
// Remove the server-side injected CSS.
const jssStyles = document.querySelector('#jss-server-side');
@@ -148,18 +68,6 @@ function AppWrapper(props) {
}
}, []);
- const productIdentifier = React.useMemo(() => {
- if (productId === 'base-ui') {
- return {
- metadata: 'MUI Core',
- name: 'Base UI',
- versions: [{ text: `v${basePkgJson.version}`, current: true }],
- };
- }
-
- return null;
- }, [productId]);
-
const pageContextValue = React.useMemo(() => {
const pages = basePages;
const { activePage, activePageParents } = findActivePage(pages, router.pathname);
@@ -168,30 +76,25 @@ function AppWrapper(props) {
activePage,
activePageParents,
pages,
- productIdentifier,
+ PRODUCT_IDENTIFIER,
productId,
productCategoryId,
};
- }, [productId, productCategoryId, productIdentifier, router.pathname]);
-
- let fonts = [];
- if (pathnameToLanguage(router.asPath).canonicalAs.match(/onepirate/)) {
- fonts = [
- 'https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&family=Work+Sans:wght@300;400&display=swap',
- ];
- }
+ }, [productId, productCategoryId, router.pathname]);
return (
- {fonts.map((font) => (
-
- ))}
-
-
+
+
-
+
@@ -217,7 +120,7 @@ AppWrapper.propTypes = {
pageProps: PropTypes.object.isRequired,
};
-export default function MyApp(props) {
+export default function BaseUIDocsApp(props) {
const { Component, emotionCache = clientSideEmotionCache, pageProps } = props;
const getLayout = Component.getLayout ?? ((page) => page);
@@ -227,15 +130,18 @@ export default function MyApp(props) {
);
}
-MyApp.propTypes = {
+BaseUIDocsApp.propTypes = {
Component: PropTypes.elementType.isRequired,
emotionCache: PropTypes.object,
pageProps: PropTypes.object.isRequired,
};
-MyApp.getInitialProps = async ({ ctx, Component }) => {
+BaseUIDocsApp.getInitialProps = async ({ ctx, Component }) => {
let pageProps = {};
+ const req = require.context('docs/translations', false, /\.\/translations.*\.json$/);
+ const translations = mapTranslations(req);
+
if (Component.getInitialProps) {
pageProps = await Component.getInitialProps(ctx);
}
@@ -243,6 +149,7 @@ MyApp.getInitialProps = async ({ ctx, Component }) => {
return {
pageProps: {
userLanguage: ctx.query.userLanguage || 'en',
+ translations,
...pageProps,
},
};
diff --git a/docs/pages/_document.js b/docs/pages/_document.js
index 498ccf25d6..3b0d507030 100644
--- a/docs/pages/_document.js
+++ b/docs/pages/_document.js
@@ -1,19 +1,14 @@
import * as React from 'react';
-import Script from 'next/script';
-import { documentGetInitialProps } from '@mui/material-nextjs/v13-pagesRouter';
-import { ServerStyleSheet } from 'styled-components';
import Document, { Html, Head, Main, NextScript } from 'next/document';
-import GlobalStyles from '@mui/material/GlobalStyles';
-import { getInitColorSchemeScript as getMuiInitColorSchemeScript } from '@mui/material/styles';
-import { pathnameToLanguage } from 'docs/src/modules/utils/helpers';
-import createEmotionCache from 'docs/src/createEmotionCache';
-import { getMetaThemeColor } from '@mui/docs/branding';
+import { GoogleAnalyticsScriptLoader } from 'docs-base/src/modules/common/GoogleAnalyticsScriptLoader';
const PRODUCTION_GA =
process.env.DEPLOY_ENV === 'production' || process.env.DEPLOY_ENV === 'staging';
const GOOGLE_ANALYTICS_ID_V4 = PRODUCTION_GA ? 'G-5NXDQLC2ZK' : 'G-XJ83JQEK7J';
+const ROOT_ADDRESS = 'https://base-ui.dev';
+
export default class MyDocument extends Document {
render() {
const { canonicalAsServer, userLanguage } = this.props;
@@ -21,206 +16,23 @@ export default class MyDocument extends Document {
return (
- {/*
- manifest.json provides metadata used when your web app is added to the
- homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
- */}
- {/* PWA primary color */}
-
-
- {/* iOS Icon */}
- {/* SEO */}
-
- {/*
- Preconnect allows the browser to setup early connections before an HTTP request
- is actually sent to the server.
- This includes DNS lookups, TLS negotiations, TCP handshakes.
- */}
-
-
-
- {/* ========== Font preload (prevent font flash) ============= */}
- 6kb)
- href="/static/fonts/GeneralSans-Semibold-subset.woff2"
- as="font"
- type="font/woff2"
- crossOrigin="anonymous"
- />
-
+
+
+ Subscribe
+
+
+
+ Subscribe
+
+ Are you sure you want to subscribe?
+
+
+
+
);
}
diff --git a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/index.tsx b/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/index.tsx
index ca4104ba32..2259dd6762 100644
--- a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/index.tsx
+++ b/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/index.tsx
@@ -2,118 +2,25 @@
import * as React from 'react';
import * as AlertDialog from '@base_ui/react/AlertDialog';
-import { useTheme } from '@mui/system';
+import classes from './styles.module.css';
export default function AlertDialogIntroduction() {
return (
-
-
- Subscribe
-
-
- Subscribe
-
- Are you sure you want to subscribe?
-
-
-
-
-
-
- );
-}
-
-function useIsDarkMode() {
- const theme = useTheme();
- return theme.palette.mode === 'dark';
-}
-
-const grey = {
- 900: '#0f172a',
- 800: '#1e293b',
- 700: '#334155',
- 500: '#64748b',
- 300: '#cbd5e1',
- 200: '#e2e8f0',
- 100: '#f1f5f9',
- 50: '#f8fafc',
-};
-
-function Styles() {
- // Replace this with your app logic for determining dark mode
- const isDarkMode = useIsDarkMode();
-
- return (
-
+
+
+ Subscribe
+
+
+
+ Subscribe
+
+ Are you sure you want to subscribe?
+
+
+
+
);
}
diff --git a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/index.tsx.preview b/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/index.tsx.preview
new file mode 100644
index 0000000000..984f99bace
--- /dev/null
+++ b/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/index.tsx.preview
@@ -0,0 +1,16 @@
+
+
+ Subscribe
+
+
+
+ Subscribe
+
+ Are you sure you want to subscribe?
+
+
+
+
\ No newline at end of file
diff --git a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/styles.module.css b/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/styles.module.css
new file mode 100644
index 0000000000..4b81e9b745
--- /dev/null
+++ b/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/styles.module.css
@@ -0,0 +1,93 @@
+.popup {
+ background: #f8fafc;
+ border: 1px solid #f1f5f9;
+ min-width: 400px;
+ border-radius: 4px;
+ box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
+ position: fixed;
+ top: 50%;
+ left: 50%;
+ font-family: IBM Plex Sans;
+ transform: translate(-50%, -50%);
+ padding: 16px;
+ z-index: 2100;
+
+ :global(.dark) & {
+ color: #0f172a;
+ border-color: #334155;
+ }
+}
+
+.trigger {
+ background-color: #0f172a;
+ color: #f8fafc;
+ padding: 8px 16px;
+ border-radius: 4px;
+ border: none;
+ font-family:
+ IBM Plex Sans,
+ sans-serif;
+
+ &:hover {
+ background-color: #334155;
+
+ :global(.dark) & {
+ background-color: #e2e8f0;
+ }
+ }
+
+ :global(.dark) & {
+ background-color: #f8fafc;
+ color: #0f172a;
+ }
+}
+
+.close {
+ background-color: transparent;
+ border: 1px solid #64748b;
+ color: #0f172a;
+ padding: 8px 16px;
+ border-radius: 4px;
+ font-family:
+ IBM Plex Sans,
+ sans-serif;
+ min-width: 80px;
+
+ &:hover {
+ background-color: #e2e8f0;
+
+ :global(.dark) & {
+ background-color: #334155;
+ }
+ }
+
+ :global(.dark) & {
+ border-color: #cbd5e1;
+ color: #f8fafc;
+ }
+}
+
+.controls {
+ display: flex;
+ flex-direction: row-reverse;
+ background: #f1f5f9;
+ gap: 8px;
+ padding: 16px;
+ margin: 32px -16px -16px;
+
+ :global(.dark) & {
+ background: #1e293b;
+ }
+}
+
+.title {
+ font-size: 1.25rem;
+}
+
+.backdrop {
+ background: rgba(0, 0, 0, 0.35);
+ position: fixed;
+ inset: 0;
+ backdrop-filter: blur(4px);
+ z-index: 2000;
+}
diff --git a/docs/src/utils/loadDemo.ts b/docs/src/utils/loadDemo.ts
index 401722fc79..16a58fb159 100644
--- a/docs/src/utils/loadDemo.ts
+++ b/docs/src/utils/loadDemo.ts
@@ -108,6 +108,8 @@ async function loadSimpleDemo(path: string, variantName: string): Promise
Date: Mon, 19 Aug 2024 12:12:34 +0200
Subject: [PATCH 060/149] Callout component
---
docs/app/(content)/styles.module.css | 266 +++++++++---------
.../click-away-listener.mdx | 9 +-
docs/data/base/components/dialog/dialog.mdx | 7 +-
.../base/components/focus-trap/focus-trap.mdx | 5 +-
docs/data/base/components/no-ssr/no-ssr.mdx | 7 +-
.../components/number-field/number-field.mdx | 7 +-
docs/data/base/components/popover/popover.mdx | 7 +-
docs/data/base/components/portal/portal.mdx | 13 +-
.../toggle-button-group.mdx | 7 +-
.../getting-started/overview/overview.mdx | 5 +-
.../getting-started/quickstart/quickstart.mdx | 7 +-
.../base/getting-started/support/support.mdx | 7 +-
.../data/base/getting-started/usage/usage.mdx | 4 +-
.../next-js-app-router/next-js-app-router.md | 4 +-
docs/src/modules/common/Callout.module.css | 31 ++
docs/src/modules/common/Callout.tsx | 13 +
docs/src/modules/common/MDXComponents.tsx | 2 +
17 files changed, 230 insertions(+), 171 deletions(-)
create mode 100644 docs/src/modules/common/Callout.module.css
create mode 100644 docs/src/modules/common/Callout.tsx
diff --git a/docs/app/(content)/styles.module.css b/docs/app/(content)/styles.module.css
index 97f42c284c..f1e95aca29 100644
--- a/docs/app/(content)/styles.module.css
+++ b/docs/app/(content)/styles.module.css
@@ -1,150 +1,152 @@
-.content {
- max-width: 714px;
- padding-top: var(--space-9);
- padding-left: var(--space-6);
- padding-right: var(--space-6);
- margin-left: auto;
- margin-right: auto;
+@layer mdx {
+ .content {
+ max-width: 714px;
+ padding-top: var(--space-9);
+ padding-left: var(--space-6);
+ padding-right: var(--space-6);
+ margin-left: auto;
+ margin-right: auto;
- p {
- margin: 0;
- margin-bottom: var(--space-4);
- font-size: var(--fs-4);
- line-height: 23px;
- font-family: var(--ff-sans);
- font-weight: var(--fw-1);
- color: var(--gray-text-2);
- scroll-margin-top: 80px;
- }
+ p {
+ margin: 0;
+ margin-bottom: var(--space-4);
+ font-size: var(--fs-4);
+ line-height: 23px;
+ font-family: var(--ff-sans);
+ font-weight: var(--fw-1);
+ color: var(--gray-text-2);
+ scroll-margin-top: 80px;
+ }
- ul {
- margin: 0;
- margin-bottom: var(--space-4);
- font-size: var(--fs-4);
- line-height: 23px;
- font-family: var(--ff-sans);
- font-weight: var(--fw-1);
- color: var(--gray-text-2);
- scroll-margin-top: 80px;
- }
+ ul {
+ margin: 0;
+ margin-bottom: var(--space-4);
+ font-size: var(--fs-4);
+ line-height: 23px;
+ font-family: var(--ff-sans);
+ font-weight: var(--fw-1);
+ color: var(--gray-text-2);
+ scroll-margin-top: 80px;
+ }
- ul p {
- margin-bottom: 0;
- }
+ ul p {
+ margin-bottom: 0;
+ }
- h1 {
- margin: 0;
- font-family: var(--ff-sans);
- color: var(--gray-text-2);
- scroll-margin-top: 80px;
- font-size: var(--fs-8);
- line-height: 37px;
- font-weight: var(--fw-2);
- letter-spacing: -0.042em;
- text-indent: -1.1px;
- margin-bottom: var(--space-2);
- }
+ h1 {
+ margin: 0;
+ font-family: var(--ff-sans);
+ color: var(--gray-text-2);
+ scroll-margin-top: 80px;
+ font-size: var(--fs-8);
+ line-height: 37px;
+ font-weight: var(--fw-2);
+ letter-spacing: -0.042em;
+ text-indent: -1.1px;
+ margin-bottom: var(--space-2);
+ }
- h2 {
- margin: 0;
- font-family: var(--ff-sans);
- color: var(--gray-text-2);
- scroll-margin-top: 80px;
- margin-top: var(--space-7);
- margin-bottom: var(--space-3);
- font-size: var(--fs-6);
- line-height: 24px;
- font-weight: 500;
- letter-spacing: -0.018em;
- }
+ h2 {
+ margin: 0;
+ font-family: var(--ff-sans);
+ color: var(--gray-text-2);
+ scroll-margin-top: 80px;
+ margin-top: var(--space-7);
+ margin-bottom: var(--space-3);
+ font-size: var(--fs-6);
+ line-height: 24px;
+ font-weight: 500;
+ letter-spacing: -0.018em;
+ }
- h3 {
- margin: 0;
- font-family: var(--ff-sans);
- color: var(--gray-text-2);
- scroll-margin-top: 80px;
- margin-top: var(--space-7);
- margin-bottom: var(--space-2);
- font-size: var(--fs-5);
- line-height: 23px;
- font-weight: var(--fw-2);
- letter-spacing: -0.012em;
- }
+ h3 {
+ margin: 0;
+ font-family: var(--ff-sans);
+ color: var(--gray-text-2);
+ scroll-margin-top: 80px;
+ margin-top: var(--space-7);
+ margin-bottom: var(--space-2);
+ font-size: var(--fs-5);
+ line-height: 23px;
+ font-weight: var(--fw-2);
+ letter-spacing: -0.012em;
+ }
- code {
- font-family: var(--ff-code);
- }
+ code {
+ font-family: var(--ff-code);
+ }
- :not(pre) > code {
- margin-left: 1px;
- margin-right: 1px;
- box-sizing: border-box;
- font-family: var(--ff-code);
- color: var(--gray-text-2);
- font-size: 0.89em;
- padding-right: var(--space-1);
- padding-bottom: 2px;
- padding-left: var(--space-1);
- white-space: break-spaces;
- border: 1px solid var(--gray-outline-1);
- border-radius: 6px;
- position: relative;
- top: -0.5px;
- }
+ :not(pre) > code {
+ margin-left: 1px;
+ margin-right: 1px;
+ box-sizing: border-box;
+ font-family: var(--ff-code);
+ color: var(--gray-text-2);
+ font-size: 0.89em;
+ padding-right: var(--space-1);
+ padding-bottom: 2px;
+ padding-left: var(--space-1);
+ white-space: break-spaces;
+ border: 1px solid var(--gray-outline-1);
+ border-radius: 6px;
+ position: relative;
+ top: -0.5px;
+ }
- figure {
- box-sizing: border-box;
- margin-left: 0;
- margin-right: 0;
- margin-top: var(--space-5);
- margin-bottom: var(--space-5);
- }
+ figure {
+ box-sizing: border-box;
+ margin-left: 0;
+ margin-right: 0;
+ margin-top: var(--space-5);
+ margin-bottom: var(--space-5);
+ }
- pre {
- box-sizing: border-box;
- overflow: hidden;
- margin: 0;
- padding: var(--space-3) var(--space-4);
- font-family: var(--ff-code);
- font-size: var(--fs-2);
- line-height: 20px;
- white-space: pre;
- color: var(--gray-text-1);
- background: #fefcfb;
- border: 1px solid var(--gray-outline-2);
- border-radius: 12px;
- }
+ pre {
+ box-sizing: border-box;
+ overflow: hidden;
+ margin: 0;
+ padding: var(--space-3) var(--space-4);
+ font-family: var(--ff-code);
+ font-size: var(--fs-2);
+ line-height: 20px;
+ white-space: pre;
+ color: var(--gray-text-1);
+ background: #fefcfb;
+ border: 1px solid var(--gray-outline-2);
+ border-radius: 12px;
+ }
- strong {
- font-weight: var(--fw-2);
- }
+ strong {
+ font-weight: var(--fw-2);
+ }
- a {
- text-decoration-line: underline;
- text-decoration-style: solid;
- text-decoration-thickness: 1px;
- text-underline-offset: calc(0.1em + 3px);
- color: inherit;
- position: relative;
- z-index: 0;
- }
+ a {
+ text-decoration-line: underline;
+ text-decoration-style: solid;
+ text-decoration-thickness: 1px;
+ text-underline-offset: calc(0.1em + 3px);
+ color: inherit;
+ position: relative;
+ z-index: 0;
+ }
- @media screen and (hover: hover) {
- a:hover {
- text-decoration: none;
+ @media screen and (hover: hover) {
+ a:hover {
+ text-decoration: none;
+ }
}
- }
- @media screen and (hover: hover) {
- a:hover::after {
- content: '';
- width: calc(100% + 6px);
- height: calc(100% + 8px);
- top: -4px;
- left: -3px;
- position: absolute;
- background-color: var(--gray-container-1);
- z-index: -1;
+ @media screen and (hover: hover) {
+ a:hover::after {
+ content: '';
+ width: calc(100% + 6px);
+ height: calc(100% + 8px);
+ top: -4px;
+ left: -3px;
+ position: absolute;
+ background-color: var(--gray-container-1);
+ z-index: -1;
+ }
}
}
}
diff --git a/docs/data/base/components/click-away-listener/click-away-listener.mdx b/docs/data/base/components/click-away-listener/click-away-listener.mdx
index 75a4e22d78..dad2b9c859 100644
--- a/docs/data/base/components/click-away-listener/click-away-listener.mdx
+++ b/docs/data/base/components/click-away-listener/click-away-listener.mdx
@@ -9,7 +9,7 @@ githubLabel: 'component: ClickAwayListener'
{
- The Click-Away Listener component detects when a click event happens outside of its child element.
+ 'The Click-Away Listener component detects when a click event happens outside of its child element.'
}
@@ -50,9 +50,10 @@ You can set the component to listen for **leading events** (the start of a click
-:::warning
-When the component is set to listen for leading events, interactions with the scrollbar are ignored.
-:::
+
+ When the component is set to listen for leading events, interactions with the scrollbar are
+ ignored.
+
## Accessibility
diff --git a/docs/data/base/components/dialog/dialog.mdx b/docs/data/base/components/dialog/dialog.mdx
index 156fc444aa..007c7a6762 100644
--- a/docs/data/base/components/dialog/dialog.mdx
+++ b/docs/data/base/components/dialog/dialog.mdx
@@ -83,9 +83,10 @@ By default Dialogs are modal.
{/* ... */}
```
-:::warning
-To make the Dialog fully modal, you must have a Backdrop component and style it so it covers the entire viewport, blocking pointer interaction with other elements on the page.
-:::
+
+ To make the Dialog fully modal, you must have a Backdrop component and style it so it covers the
+ entire viewport, blocking pointer interaction with other elements on the page.
+
## Closing the dialog
diff --git a/docs/data/base/components/focus-trap/focus-trap.mdx b/docs/data/base/components/focus-trap/focus-trap.mdx
index 630cdca591..966a086426 100644
--- a/docs/data/base/components/focus-trap/focus-trap.mdx
+++ b/docs/data/base/components/focus-trap/focus-trap.mdx
@@ -41,13 +41,14 @@ Press the **Open** button and then use the Tab key to mov
-:::error
+
Because the Focus Trap component blocks interaction with the rest of the app by default, the demo above also behaves this way.
If you leave the Box open in the demo, you won't be able to click on other buttons in this document.
Click **Close** in the demo to resolve this.
The next section explains how to change this default behavior.
-:::
+
+
## Customization
diff --git a/docs/data/base/components/no-ssr/no-ssr.mdx b/docs/data/base/components/no-ssr/no-ssr.mdx
index bdb3d27623..563a5b69cb 100644
--- a/docs/data/base/components/no-ssr/no-ssr.mdx
+++ b/docs/data/base/components/no-ssr/no-ssr.mdx
@@ -46,6 +46,7 @@ The following demo shows how to use the `defer` prop to prioritize rendering the
-:::warning
-When using No-SSR in this way, React applies [two commits](https://react.dev/learn/render-and-commit) instead of one.
-:::
+
+ When using No-SSR in this way, React applies [two
+ commits](https://react.dev/learn/render-and-commit) instead of one.
+
diff --git a/docs/data/base/components/number-field/number-field.mdx b/docs/data/base/components/number-field/number-field.mdx
index e7893f46f2..10cc0a1f1f 100644
--- a/docs/data/base/components/number-field/number-field.mdx
+++ b/docs/data/base/components/number-field/number-field.mdx
@@ -194,9 +194,10 @@ The pointer is locked while scrubbing, allowing the user to scrub infinitely wit
In your CSS, ensure any `
);
}
diff --git a/docs/src/utils/getMarkdownPage.ts b/docs/src/utils/getMarkdownPage.ts
index 7021f743d3..8440db9ed2 100644
--- a/docs/src/utils/getMarkdownPage.ts
+++ b/docs/src/utils/getMarkdownPage.ts
@@ -9,11 +9,14 @@ import remarkMdxFrontmatter from 'remark-mdx-frontmatter';
import rehypeSlug from 'rehype-slug';
import extractToc, { type Toc } from '@stefanprobst/rehype-extract-toc';
import exportToc from '@stefanprobst/rehype-extract-toc/mdx';
+import { read as readVFile } from 'to-vfile';
+import { matter } from 'vfile-matter';
export const DATA_PATH = path.join(process.cwd(), 'data/base');
export interface PageMetadata {
title: string;
+ description: string;
components?: string;
githubLabel?: string;
waiAria?: string;
@@ -61,3 +64,23 @@ export const getMarkdownPage = async (basePath: string, slug: string) => {
MDXContent,
};
};
+
+export const getMarkdownPageMetadata = async (basePath: string, slug: string) => {
+ const mdxFilePath = path.join(DATA_PATH, basePath, `/${slug}/${slug}.mdx`);
+ const mdFilePath = path.join(DATA_PATH, basePath, `/${slug}/${slug}.md`);
+
+ let filePath: string;
+
+ if (fs.existsSync(mdxFilePath)) {
+ filePath = mdxFilePath;
+ } else if (fs.existsSync(mdFilePath)) {
+ filePath = mdFilePath;
+ } else {
+ throw new Error(`No MD(X) file found for ${basePath}/${slug}`);
+ }
+
+ const file = await readVFile(filePath);
+ matter(file);
+
+ return file.data.matter as PageMetadata;
+};
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index a4baab8d24..a25ed6806c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -451,6 +451,12 @@ importers:
shiki:
specifier: ^1.12.1
version: 1.12.1
+ to-vfile:
+ specifier: ^8.0.0
+ version: 8.0.0
+ vfile-matter:
+ specifier: ^5.0.0
+ version: 5.0.0
devDependencies:
'@babel/plugin-transform-react-constant-elements':
specifier: ^7.25.1
@@ -8138,6 +8144,9 @@ packages:
resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
engines: {node: '>=8.0'}
+ to-vfile@8.0.0:
+ resolution: {integrity: sha512-IcmH1xB5576MJc9qcfEC/m/nQCFt3fzMHz45sSlgJyTWjRbKW1HAkJpuf3DgE57YzIlZcwcBZA5ENQbBo4aLkg==}
+
toidentifier@1.0.1:
resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}
engines: {node: '>=0.6'}
@@ -8477,6 +8486,9 @@ packages:
vfile-location@5.0.3:
resolution: {integrity: sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==}
+ vfile-matter@5.0.0:
+ resolution: {integrity: sha512-jhPSqlj8hTSkTXOqyxbUeZAFFVq/iwu/jukcApEqc/7DOidaAth6rDc0Zgg0vWpzUnWkwFP7aK28l6nBmxMqdQ==}
+
vfile-message@2.0.4:
resolution: {integrity: sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==}
@@ -18026,6 +18038,10 @@ snapshots:
dependencies:
is-number: 7.0.0
+ to-vfile@8.0.0:
+ dependencies:
+ vfile: 6.0.2
+
toidentifier@1.0.1: {}
toml@3.0.0: {}
@@ -18370,6 +18386,11 @@ snapshots:
'@types/unist': 3.0.2
vfile: 6.0.2
+ vfile-matter@5.0.0:
+ dependencies:
+ vfile: 6.0.2
+ yaml: 2.4.1
+
vfile-message@2.0.4:
dependencies:
'@types/unist': 2.0.10
From 572b5d72175fac923f1c37c80ec68e2e01145e5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Dudak?=
Date: Tue, 20 Aug 2024 19:01:04 +0200
Subject: [PATCH 068/149] Home page SEO description
---
docs/app/page.tsx | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/docs/app/page.tsx b/docs/app/page.tsx
index 4bdab1ccef..b8eceb7534 100644
--- a/docs/app/page.tsx
+++ b/docs/app/page.tsx
@@ -1,4 +1,5 @@
import * as React from 'react';
+import { Metadata } from 'next';
import Link from 'next/link';
import { BaseUIIcon } from 'docs-base/src/icons/BaseUI';
@@ -32,3 +33,15 @@ export default function Home() {
);
}
+
+const description = 'Unstyled UI components for building accessible web apps and design systems.';
+
+export const metadata: Metadata = {
+ description,
+ twitter: {
+ description,
+ },
+ openGraph: {
+ description,
+ },
+};
From 1ff9f55608ce69228060ed80d08c3c8bb2e754fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Dudak?=
Date: Wed, 21 Aug 2024 12:16:33 +0200
Subject: [PATCH 069/149] Remove the 'base' subdirectory of docs/data
---
docs/app/(content)/components/[slug]/page.tsx | 2 +-
.../(content)/getting-started/[slug]/page.tsx | 2 +-
docs/app/(content)/guides/[slug]/page.tsx | 2 +-
.../{base => }/api/alert-dialog-backdrop.json | 2 +-
.../{base => }/api/alert-dialog-close.json | 2 +-
.../api/alert-dialog-description.json | 2 +-
.../{base => }/api/alert-dialog-popup.json | 2 +-
.../{base => }/api/alert-dialog-root.json | 2 +-
.../{base => }/api/alert-dialog-title.json | 2 +-
.../{base => }/api/alert-dialog-trigger.json | 2 +-
.../{base => }/api/checkbox-indicator.json | 2 +-
docs/data/{base => }/api/checkbox-root.json | 2 +-
.../{base => }/api/click-away-listener.json | 2 +-
docs/data/{base => }/api/dialog-backdrop.json | 2 +-
docs/data/{base => }/api/dialog-close.json | 2 +-
.../{base => }/api/dialog-description.json | 2 +-
docs/data/{base => }/api/dialog-popup.json | 2 +-
docs/data/{base => }/api/dialog-root.json | 2 +-
docs/data/{base => }/api/dialog-title.json | 2 +-
docs/data/{base => }/api/dialog-trigger.json | 2 +-
docs/data/{base => }/api/field-control.json | 2 +-
.../{base => }/api/field-description.json | 2 +-
docs/data/{base => }/api/field-error.json | 2 +-
docs/data/{base => }/api/field-label.json | 2 +-
docs/data/{base => }/api/field-root.json | 2 +-
docs/data/{base => }/api/field-validity.json | 2 +-
docs/data/{base => }/api/fieldset-legend.json | 2 +-
docs/data/{base => }/api/fieldset-root.json | 2 +-
docs/data/{base => }/api/focus-trap.json | 2 +-
docs/data/{base => }/api/form-control.json | 2 +-
docs/data/{base => }/api/menu-arrow.json | 2 +-
docs/data/{base => }/api/menu-item.json | 2 +-
docs/data/{base => }/api/menu-popup.json | 2 +-
docs/data/{base => }/api/menu-positioner.json | 2 +-
docs/data/{base => }/api/menu-root.json | 2 +-
docs/data/{base => }/api/menu-trigger.json | 2 +-
docs/data/{base => }/api/no-ssr.json | 2 +-
.../api/number-field-decrement.json | 2 +-
.../{base => }/api/number-field-group.json | 2 +-
.../api/number-field-increment.json | 2 +-
.../{base => }/api/number-field-input.json | 2 +-
.../{base => }/api/number-field-root.json | 2 +-
.../api/number-field-scrub-area-cursor.json | 2 +-
.../api/number-field-scrub-area.json | 2 +-
docs/data/{base => }/api/option-group.json | 2 +-
docs/data/{base => }/api/option.json | 2 +-
docs/data/{base => }/api/popover-arrow.json | 2 +-
.../data/{base => }/api/popover-backdrop.json | 2 +-
docs/data/{base => }/api/popover-close.json | 2 +-
.../{base => }/api/popover-description.json | 2 +-
docs/data/{base => }/api/popover-popup.json | 2 +-
.../{base => }/api/popover-positioner.json | 2 +-
docs/data/{base => }/api/popover-root.json | 2 +-
docs/data/{base => }/api/popover-title.json | 2 +-
docs/data/{base => }/api/popover-trigger.json | 2 +-
docs/data/{base => }/api/popup.json | 2 +-
docs/data/{base => }/api/portal.json | 2 +-
.../{base => }/api/preview-card-arrow.json | 2 +-
.../{base => }/api/preview-card-backdrop.json | 2 +-
.../{base => }/api/preview-card-popup.json | 2 +-
.../api/preview-card-positioner.json | 2 +-
.../{base => }/api/preview-card-root.json | 2 +-
.../{base => }/api/preview-card-trigger.json | 2 +-
.../{base => }/api/progress-indicator.json | 2 +-
docs/data/{base => }/api/progress-root.json | 2 +-
docs/data/{base => }/api/progress-track.json | 2 +-
docs/data/{base => }/api/select.json | 2 +-
docs/data/{base => }/api/slider-control.json | 2 +-
.../data/{base => }/api/slider-indicator.json | 2 +-
docs/data/{base => }/api/slider-output.json | 2 +-
docs/data/{base => }/api/slider-root.json | 2 +-
docs/data/{base => }/api/slider-thumb.json | 2 +-
docs/data/{base => }/api/slider-track.json | 2 +-
docs/data/{base => }/api/snackbar.json | 2 +-
docs/data/{base => }/api/submenu-trigger.json | 2 +-
docs/data/{base => }/api/switch-root.json | 2 +-
docs/data/{base => }/api/switch-thumb.json | 2 +-
docs/data/{base => }/api/tab-indicator.json | 2 +-
docs/data/{base => }/api/tab-panel.json | 2 +-
docs/data/{base => }/api/tab.json | 2 +-
.../data/{base => }/api/table-pagination.json | 2 +-
docs/data/{base => }/api/tabs-list.json | 2 +-
docs/data/{base => }/api/tabs-root.json | 2 +-
.../{base => }/api/textarea-autosize.json | 2 +-
docs/data/{base => }/api/tooltip-arrow.json | 2 +-
docs/data/{base => }/api/tooltip-popup.json | 2 +-
.../{base => }/api/tooltip-positioner.json | 2 +-
.../data/{base => }/api/tooltip-provider.json | 2 +-
docs/data/{base => }/api/tooltip-root.json | 2 +-
docs/data/{base => }/api/tooltip-trigger.json | 2 +-
docs/data/base/api/use-autocomplete.json | 8 -
docs/data/base/api/use-checkbox-root.json | 52 ------
docs/data/base/api/use-dialog-backdrop.json | 8 -
docs/data/base/api/use-dialog-close.json | 22 ---
docs/data/base/api/use-dialog-popup.json | 58 -------
docs/data/base/api/use-dialog-root.json | 82 ---------
docs/data/base/api/use-dialog-trigger.json | 26 ---
.../api/use-field-control-validation.json | 8 -
docs/data/base/api/use-field-control.json | 8 -
docs/data/base/api/use-field-description.json | 8 -
docs/data/base/api/use-field-error.json | 8 -
docs/data/base/api/use-field-label.json | 8 -
docs/data/base/api/use-fieldset-legend.json | 8 -
docs/data/base/api/use-fieldset-root.json | 8 -
.../base/api/use-form-control-context.json | 8 -
docs/data/base/api/use-menu-arrow.json | 8 -
docs/data/base/api/use-menu-item.json | 8 -
docs/data/base/api/use-menu-popup.json | 8 -
docs/data/base/api/use-menu-positioner.json | 8 -
docs/data/base/api/use-menu-root.json | 8 -
docs/data/base/api/use-menu-trigger.json | 8 -
docs/data/base/api/use-number-field-root.json | 113 -------------
.../api/use-option-context-stabilizer.json | 8 -
docs/data/base/api/use-option.json | 8 -
docs/data/base/api/use-popover-arrow.json | 8 -
docs/data/base/api/use-popover-backdrop.json | 8 -
docs/data/base/api/use-popover-close.json | 8 -
.../base/api/use-popover-description.json | 8 -
docs/data/base/api/use-popover-popup.json | 8 -
.../data/base/api/use-popover-positioner.json | 8 -
docs/data/base/api/use-popover-root.json | 8 -
docs/data/base/api/use-popover-title.json | 8 -
.../data/base/api/use-preview-card-arrow.json | 8 -
.../base/api/use-preview-card-backdrop.json | 8 -
.../data/base/api/use-preview-card-popup.json | 8 -
.../base/api/use-preview-card-positioner.json | 8 -
docs/data/base/api/use-preview-card-root.json | 8 -
.../data/base/api/use-progress-indicator.json | 27 ---
docs/data/base/api/use-progress-root.json | 57 -------
docs/data/base/api/use-scroll-lock.json | 8 -
docs/data/base/api/use-select.json | 8 -
docs/data/base/api/use-slider-control.json | 97 -----------
docs/data/base/api/use-slider-indicator.json | 32 ----
docs/data/base/api/use-slider-output.json | 30 ----
docs/data/base/api/use-slider-root.json | 8 -
docs/data/base/api/use-slider-thumb.json | 105 ------------
docs/data/base/api/use-snackbar.json | 8 -
docs/data/base/api/use-submenu-trigger.json | 8 -
docs/data/base/api/use-switch-root.json | 44 -----
docs/data/base/api/use-tab-indicator.json | 32 ----
docs/data/base/api/use-tab-panel.json | 45 -----
docs/data/base/api/use-tab.json | 40 -----
docs/data/base/api/use-tabs-list.json | 64 --------
docs/data/base/api/use-tabs-root.json | 8 -
docs/data/base/api/use-tooltip-arrow.json | 8 -
docs/data/base/api/use-tooltip-popup.json | 8 -
.../data/base/api/use-tooltip-positioner.json | 8 -
docs/data/base/api/use-tooltip-root.json | 8 -
.../use-autocomplete/use-autocomplete.json | 1 -
.../use-checkbox-root/use-checkbox-root.json | 25 ---
.../use-dialog-backdrop.json | 1 -
.../use-dialog-close/use-dialog-close.json | 12 --
.../use-dialog-popup/use-dialog-popup.json | 34 ----
.../use-dialog-root/use-dialog-root.json | 44 -----
.../use-dialog-trigger.json | 13 --
.../use-field-control-validation.json | 1 -
.../use-field-control/use-field-control.json | 1 -
.../use-field-description.json | 1 -
.../use-field-error/use-field-error.json | 1 -
.../use-field-label/use-field-label.json | 1 -
.../use-fieldset-legend.json | 1 -
.../use-fieldset-root/use-fieldset-root.json | 1 -
.../use-form-control-context.json | 1 -
.../use-menu-arrow/use-menu-arrow.json | 1 -
.../api-docs/use-menu-item/use-menu-item.json | 1 -
.../use-menu-popup/use-menu-popup.json | 1 -
.../use-menu-positioner.json | 1 -
.../api-docs/use-menu-root/use-menu-root.json | 1 -
.../use-menu-trigger/use-menu-trigger.json | 1 -
.../use-number-field-root.json | 33 ----
.../use-option-context-stabilizer.json | 5 -
.../api-docs/use-option/use-option.json | 1 -
.../use-popover-arrow/use-popover-arrow.json | 1 -
.../use-popover-backdrop.json | 1 -
.../use-popover-close/use-popover-close.json | 1 -
.../use-popover-description.json | 1 -
.../use-popover-popup/use-popover-popup.json | 1 -
.../use-popover-positioner.json | 1 -
.../use-popover-root/use-popover-root.json | 1 -
.../use-popover-title/use-popover-title.json | 1 -
.../use-preview-card-arrow.json | 1 -
.../use-preview-card-backdrop.json | 1 -
.../use-preview-card-popup.json | 1 -
.../use-preview-card-positioner.json | 1 -
.../use-preview-card-root.json | 5 -
.../use-progress-indicator.json | 12 --
.../use-progress-root/use-progress-root.json | 30 ----
.../use-scroll-lock/use-scroll-lock.json | 5 -
.../api-docs/use-select/use-select.json | 1 -
.../use-slider-control.json | 20 ---
.../use-slider-indicator.json | 9 -
.../use-slider-output/use-slider-output.json | 9 -
.../use-slider-root/use-slider-root.json | 1 -
.../use-slider-thumb/use-slider-thumb.json | 34 ----
.../api-docs/use-snackbar/use-snackbar.json | 5 -
.../use-submenu-trigger.json | 1 -
.../use-switch-root/use-switch-root.json | 27 ---
.../use-tab-indicator/use-tab-indicator.json | 1 -
.../api-docs/use-tab-panel/use-tab-panel.json | 16 --
.../api-docs/use-tab/use-tab.json | 23 ---
.../api-docs/use-tabs-list/use-tabs-list.json | 27 ---
.../api-docs/use-tabs-root/use-tabs-root.json | 1 -
.../use-tooltip-arrow/use-tooltip-arrow.json | 1 -
.../use-tooltip-popup/use-tooltip-popup.json | 1 -
.../use-tooltip-positioner.json | 1 -
.../use-tooltip-root/use-tooltip-root.json | 5 -
.../AlertDialogIntroduction/css/index.js | 0
.../AlertDialogIntroduction/css/index.tsx | 0
.../css/index.tsx.preview | 0
.../css/styles.module.css | 0
.../AlertDialogIntroduction/system/index.js | 0
.../AlertDialogIntroduction/system/index.tsx | 0
.../system/index.tsx.preview | 0
.../AlertDialogIntroduction/tailwind/index.js | 0
.../tailwind/index.tsx | 0
.../tailwind/index.tsx.preview | 0
.../AlertDialogWithTransitions.js | 0
.../AlertDialogWithTransitions.tsx | 0
.../AlertDialogWithTransitions.tsx.preview | 0
.../alert-dialog/NestedAlertDialogs.js | 0
.../alert-dialog/NestedAlertDialogs.tsx | 0
.../components/alert-dialog/alert-dialog.mdx | 0
.../components/autocomplete/autocomplete.mdx | 0
.../checkbox/UnstyledCheckboxIndeterminate.js | 0
.../UnstyledCheckboxIndeterminate.tsx | 0
.../UnstyledCheckboxIndeterminate.tsx.preview | 0
.../UnstyledCheckboxIndeterminateGroup.js | 0
.../UnstyledCheckboxIndeterminateGroup.tsx | 0
.../UnstyledCheckboxIntroduction/css/index.js | 0
.../css/index.tsx | 0
.../system/index.js | 0
.../system/index.tsx | 0
.../tailwind/index.js | 0
.../tailwind/index.tsx | 0
.../tailwind/index.tsx.preview | 0
.../components/checkbox/checkbox.mdx | 0
.../click-away-listener/ClickAway.js | 0
.../click-away-listener/ClickAway.tsx | 0
.../click-away-listener/ClickAway.tsx.preview | 0
.../click-away-listener/LeadingClickAway.js | 0
.../click-away-listener/LeadingClickAway.tsx | 0
.../LeadingClickAway.tsx.preview | 0
.../click-away-listener/PortalClickAway.js | 0
.../click-away-listener/PortalClickAway.tsx | 0
.../PortalClickAway.tsx.preview | 0
.../click-away-listener.mdx | 0
.../dialog/DialogWithTransitions.js | 0
.../dialog/DialogWithTransitions.tsx | 0
.../dialog/DialogWithTransitions.tsx.preview | 0
.../components/dialog/NestedDialogs.js | 0
.../components/dialog/NestedDialogs.tsx | 0
.../UnstyledDialogIntroduction/css/index.js | 0
.../UnstyledDialogIntroduction/css/index.tsx | 0
.../css/styles.module.css | 0
.../system/index.js | 0
.../system/index.tsx | 0
.../tailwind/index.js | 0
.../tailwind/index.tsx | 0
.../{base => }/components/dialog/dialog.mdx | 0
.../components/field/UnstyledFieldAsync.js | 0
.../components/field/UnstyledFieldAsync.tsx | 0
.../UnstyledFieldIntroduction/system/index.js | 0
.../system/index.tsx | 0
.../components/field/UnstyledFieldPassword.js | 0
.../field/UnstyledFieldPassword.tsx | 0
.../field/UnstyledFieldPassword.tsx.preview | 0
.../field/UnstyledFieldServerError.js | 0
.../field/UnstyledFieldServerError.tsx | 0
.../{base => }/components/field/field.mdx | 0
.../system/index.js | 0
.../system/index.tsx | 0
.../system/index.tsx.preview | 0
.../components/fieldset/fieldset.mdx | 0
.../components/focus-trap/BasicFocusTrap.js | 0
.../components/focus-trap/BasicFocusTrap.tsx | 0
.../focus-trap/BasicFocusTrap.tsx.preview | 0
.../focus-trap/ContainedToggleTrappedFocus.js | 0
.../ContainedToggleTrappedFocus.tsx | 0
.../ContainedToggleTrappedFocus.tsx.preview | 0
.../focus-trap/DisableEnforceFocus.js | 0
.../focus-trap/DisableEnforceFocus.tsx | 0
.../DisableEnforceFocus.tsx.preview | 0
.../components/focus-trap/LazyFocusTrap.js | 0
.../components/focus-trap/LazyFocusTrap.tsx | 0
.../focus-trap/LazyFocusTrap.tsx.preview | 0
.../components/focus-trap/PortalFocusTrap.js | 0
.../components/focus-trap/PortalFocusTrap.tsx | 0
.../components/focus-trap/focus-trap.mdx | 0
.../components/form-control/form-control.mdx | 0
.../menu/MenuIntroduction/css/index.js | 0
.../menu/MenuIntroduction/css/index.tsx | 0
.../menu/MenuIntroduction/system/index.js | 0
.../menu/MenuIntroduction/system/index.tsx | 0
.../MenuIntroduction/system/index.tsx.preview | 0
.../menu/MenuIntroduction/tailwind/index.js | 0
.../menu/MenuIntroduction/tailwind/index.tsx | 0
.../tailwind/index.tsx.preview | 0
.../{base => }/components/menu/NestedMenu.js | 0
.../{base => }/components/menu/NestedMenu.tsx | 0
docs/data/{base => }/components/menu/menu.mdx | 0
.../components/no-ssr/FrameDeferring.js | 0
.../components/no-ssr/FrameDeferring.tsx | 0
.../components/no-ssr/SimpleNoSsr.js | 0
.../components/no-ssr/SimpleNoSsr.tsx | 0
.../components/no-ssr/SimpleNoSsr.tsx.preview | 0
.../{base => }/components/no-ssr/no-ssr.mdx | 0
.../number-field/UnstyledNumberFieldFormat.js | 0
.../UnstyledNumberFieldFormat.tsx | 0
.../UnstyledNumberFieldFormat.tsx.preview | 0
.../css/index.js | 0
.../css/index.tsx | 0
.../system/index.js | 0
.../system/index.tsx | 0
.../tailwind/index.js | 0
.../tailwind/index.tsx | 0
.../number-field/UnstyledNumberFieldScrub.js | 0
.../number-field/UnstyledNumberFieldScrub.tsx | 0
.../UnstyledNumberFieldScrub.tsx.preview | 0
.../UnstyledNumberFieldWheelScrub.js | 0
.../UnstyledNumberFieldWheelScrub.tsx | 0
.../UnstyledNumberFieldWheelScrub.tsx.preview | 0
.../components/number-field/number-field.mdx | 0
.../system/index.js | 0
.../system/index.tsx | 0
.../system/index.tsx.preview | 0
.../popover/UnstyledPopoverTransition.js | 0
.../popover/UnstyledPopoverTransition.tsx | 0
.../UnstyledPopoverTransition.tsx.preview | 0
.../{base => }/components/popover/popover.mdx | 0
.../{base => }/components/popup/popup.mdx | 0
.../components/portal/SimplePortal.js | 0
.../components/portal/SimplePortal.tsx | 0
.../portal/SimplePortal.tsx.preview | 0
.../{base => }/components/portal/portal.mdx | 0
.../system/index.js | 0
.../system/index.tsx | 0
.../UnstyledPreviewCardTransition.js | 0
.../UnstyledPreviewCardTransition.tsx | 0
.../components/preview-card/preview-card.mdx | 0
.../progress/IndeterminateProgress.js | 0
.../progress/IndeterminateProgress.tsx | 0
.../IndeterminateProgress.tsx.preview | 0
.../components/progress/RtlProgress.js | 0
.../components/progress/RtlProgress.tsx | 0
.../progress/RtlProgress.tsx.preview | 0
.../UnstyledProgressIntroduction/css/index.js | 0
.../css/index.tsx | 0
.../css/index.tsx.preview | 0
.../system/index.js | 0
.../system/index.tsx | 0
.../system/index.tsx.preview | 0
.../tailwind/index.js | 0
.../tailwind/index.tsx | 0
.../tailwind/index.tsx.preview | 0
.../components/progress/progress.mdx | 0
.../{base => }/components/select/select.mdx | 0
.../components/slider/RangeSlider.js | 0
.../components/slider/RangeSlider.tsx | 0
.../{base => }/components/slider/RtlSlider.js | 0
.../components/slider/RtlSlider.tsx | 0
.../components/slider/RtlSlider.tsx.preview | 0
.../UnstyledSliderIntroduction/css/index.js | 0
.../UnstyledSliderIntroduction/css/index.tsx | 0
.../system/index.js | 0
.../system/index.tsx | 0
.../system/index.tsx.preview | 0
.../tailwind/index.js | 0
.../tailwind/index.tsx | 0
.../tailwind/index.tsx.preview | 0
.../components/slider/VerticalSlider.js | 0
.../components/slider/VerticalSlider.tsx | 0
.../{base => }/components/slider/slider.mdx | 0
.../components/snackbar/snackbar.mdx | 0
.../UnstyledSwitchIntroduction/css/index.js | 0
.../UnstyledSwitchIntroduction/css/index.tsx | 0
.../system/index.js | 0
.../system/index.tsx | 0
.../system/index.tsx.preview | 0
.../tailwind/index.js | 0
.../tailwind/index.tsx | 0
.../tailwind/index.tsx.preview | 0
.../{base => }/components/switch/switch.mdx | 0
.../table-pagination/table-pagination.mdx | 0
.../components/tabs/IndicatorBubble.js | 0
.../components/tabs/IndicatorBubble.tsx | 0
.../tabs/IndicatorBubble.tsx.preview | 0
.../components/tabs/IndicatorUnderline.js | 0
.../components/tabs/IndicatorUnderline.tsx | 0
.../tabs/IndicatorUnderline.tsx.preview | 0
.../components/tabs/KeyboardNavigation.js | 0
.../components/tabs/KeyboardNavigation.tsx | 0
.../UnstyledTabsIntroduction/css/index.js | 0
.../UnstyledTabsIntroduction/css/index.tsx | 0
.../UnstyledTabsIntroduction/system/index.js | 0
.../UnstyledTabsIntroduction/system/index.tsx | 0
.../system/index.tsx.preview | 0
.../tailwind/index.js | 0
.../tailwind/index.tsx | 0
.../tailwind/index.tsx.preview | 0
.../components/tabs/UnstyledTabsRouting.js | 0
.../components/tabs/UnstyledTabsRouting.tsx | 0
.../tabs/UnstyledTabsRouting.tsx.preview | 0
docs/data/{base => }/components/tabs/tabs.mdx | 0
.../textarea-autosize/textarea-autosize.mdx | 0
.../toggle-button-group.mdx | 0
.../tooltip/UnstyledTooltipDelayGroup.js | 0
.../tooltip/UnstyledTooltipDelayGroup.tsx | 0
.../UnstyledTooltipDelayGroup.tsx.preview | 0
.../tooltip/UnstyledTooltipFollowCursor.js | 0
.../tooltip/UnstyledTooltipFollowCursor.tsx | 0
.../UnstyledTooltipFollowCursor.tsx.preview | 0
.../system/index.js | 0
.../system/index.tsx | 0
.../tooltip/UnstyledTooltipTransition.js | 0
.../tooltip/UnstyledTooltipTransition.tsx | 0
.../UnstyledTooltipTransition.tsx.preview | 0
.../{base => }/components/tooltip/tooltip.mdx | 0
.../accessibility/ColorContrast.js | 0
.../accessibility/ColorContrast.tsx | 0
.../accessibility/ColorContrast.tsx.preview | 0
.../accessibility/FocusRing.js | 0
.../accessibility/FocusRing.tsx | 0
.../accessibility/FocusRing.tsx.preview | 0
.../accessibility/KeyboardNavigation.js | 0
.../accessibility/KeyboardNavigation.tsx | 0
.../accessibility/accessibility.mdx | 0
.../getting-started/overview/overview.mdx | 0
.../getting-started/quickstart/quickstart.mdx | 0
.../getting-started/support/support.mdx | 0
.../getting-started/usage/usage.mdx | 0
.../next-js-app-router/next-js-app-router.mdx | 0
docs/data/{base => }/pages.ts | 0
.../alert-dialog-backdrop.json | 0
.../alert-dialog-close.json | 0
.../alert-dialog-description.json | 0
.../alert-dialog-popup.json | 0
.../alert-dialog-root/alert-dialog-root.json | 0
.../alert-dialog-title.json | 0
.../alert-dialog-trigger.json | 0
.../checkbox-indicator.json | 0
.../api-docs/checkbox-root/checkbox-root.json | 0
.../click-away-listener.json | 0
.../dialog-backdrop/dialog-backdrop.json | 0
.../api-docs/dialog-close/dialog-close.json | 0
.../dialog-description.json | 0
.../api-docs/dialog-popup/dialog-popup.json | 0
.../api-docs/dialog-root/dialog-root.json | 0
.../api-docs/dialog-title/dialog-title.json | 0
.../dialog-trigger/dialog-trigger.json | 0
.../api-docs/field-control/field-control.json | 0
.../field-description/field-description.json | 0
.../api-docs/field-error/field-error.json | 0
.../api-docs/field-label/field-label.json | 0
.../api-docs/field-root/field-root.json | 0
.../field-validity/field-validity.json | 0
.../fieldset-legend/fieldset-legend.json | 0
.../api-docs/fieldset-root/fieldset-root.json | 0
.../api-docs/focus-trap/focus-trap.json | 0
.../api-docs/form-control/form-control.json | 0
.../api-docs/menu-arrow/menu-arrow.json | 0
.../api-docs/menu-item/menu-item.json | 0
.../api-docs/menu-popup/menu-popup.json | 0
.../menu-positioner/menu-positioner.json | 0
.../api-docs/menu-root/menu-root.json | 0
.../api-docs/menu-trigger/menu-trigger.json | 0
.../translations/api-docs/no-ssr/no-ssr.json | 0
.../number-field-decrement.json | 0
.../number-field-group.json | 0
.../number-field-increment.json | 0
.../number-field-input.json | 0
.../number-field-root/number-field-root.json | 0
.../number-field-scrub-area-cursor.json | 0
.../number-field-scrub-area.json | 0
.../api-docs/option-group/option-group.json | 0
.../translations/api-docs/option/option.json | 0
.../api-docs/popover-arrow/popover-arrow.json | 0
.../popover-backdrop/popover-backdrop.json | 0
.../api-docs/popover-close/popover-close.json | 0
.../popover-description.json | 0
.../api-docs/popover-popup/popover-popup.json | 0
.../popover-positioner.json | 0
.../api-docs/popover-root/popover-root.json | 0
.../api-docs/popover-title/popover-title.json | 0
.../popover-trigger/popover-trigger.json | 0
.../translations/api-docs/popup/popup.json | 0
.../translations/api-docs/portal/portal.json | 0
.../preview-card-arrow.json | 0
.../preview-card-backdrop.json | 0
.../preview-card-popup.json | 0
.../preview-card-positioner.json | 0
.../preview-card-root/preview-card-root.json | 0
.../preview-card-trigger.json | 0
.../progress-indicator.json | 0
.../api-docs/progress-root/progress-root.json | 0
.../progress-track/progress-track.json | 0
.../translations/api-docs/select/select.json | 0
.../slider-control/slider-control.json | 0
.../slider-indicator/slider-indicator.json | 0
.../api-docs/slider-output/slider-output.json | 0
.../api-docs/slider-root/slider-root.json | 0
.../api-docs/slider-thumb/slider-thumb.json | 0
.../api-docs/slider-track/slider-track.json | 0
.../api-docs/snackbar/snackbar.json | 0
.../submenu-trigger/submenu-trigger.json | 0
.../api-docs/switch-root/switch-root.json | 0
.../api-docs/switch-thumb/switch-thumb.json | 0
.../api-docs/tab-indicator/tab-indicator.json | 0
.../api-docs/tab-panel/tab-panel.json | 0
.../translations/api-docs/tab/tab.json | 0
.../table-pagination/table-pagination.json | 0
.../api-docs/tabs-list/tabs-list.json | 0
.../api-docs/tabs-root/tabs-root.json | 0
.../textarea-autosize/textarea-autosize.json | 0
.../api-docs/tooltip-arrow/tooltip-arrow.json | 0
.../api-docs/tooltip-popup/tooltip-popup.json | 0
.../tooltip-positioner.json | 0
.../tooltip-provider/tooltip-provider.json | 0
.../api-docs/tooltip-root/tooltip-root.json | 0
.../tooltip-trigger/tooltip-trigger.json | 0
docs/src/modules/common/Navigation.tsx | 2 +-
docs/src/utils/getApiReferenceData.ts | 4 +-
docs/src/utils/getMarkdownPage.ts | 2 +-
docs/src/utils/loadDemo.ts | 8 +-
.../Backdrop/AlertDialogBackdrop.tsx | 10 ++
.../AlertDialog/Close/AlertDialogClose.tsx | 10 ++
.../Description/AlertDialogDescription.tsx | 10 ++
.../AlertDialog/Popup/AlertDialogPopup.tsx | 10 ++
.../src/AlertDialog/Root/AlertDialogRoot.tsx | 10 ++
.../AlertDialog/Title/AlertDialogTitle.tsx | 10 ++
.../Trigger/AlertDialogTrigger.tsx | 10 ++
.../Checkbox/Indicator/CheckboxIndicator.tsx | 4 +-
.../src/Checkbox/Root/CheckboxRoot.tsx | 4 +-
.../src/Checkbox/Root/useCheckboxRoot.ts | 11 --
.../src/Dialog/Backdrop/DialogBackdrop.tsx | 10 ++
.../src/Dialog/Backdrop/useDialogBackdrop.ts | 6 -
.../mui-base/src/Dialog/Close/DialogClose.tsx | 10 ++
.../src/Dialog/Close/useDialogClose.ts | 11 +-
.../Dialog/Description/DialogDescription.tsx | 10 ++
.../mui-base/src/Dialog/Popup/DialogPopup.tsx | 10 ++
.../src/Dialog/Popup/useDialogPopup.tsx | 10 --
.../mui-base/src/Dialog/Root/DialogRoot.tsx | 10 ++
.../mui-base/src/Dialog/Root/useDialogRoot.ts | 10 --
.../mui-base/src/Dialog/Title/DialogTitle.tsx | 10 ++
.../src/Dialog/Trigger/DialogTrigger.tsx | 10 ++
.../src/Dialog/Trigger/useDialogTrigger.ts | 10 --
.../src/Field/Control/FieldControl.tsx | 4 +-
.../src/Field/Control/useFieldControl.ts | 6 -
.../Control/useFieldControlValidation.ts | 6 -
.../Field/Description/FieldDescription.tsx | 4 +-
.../Field/Description/useFieldDescription.ts | 6 -
.../mui-base/src/Field/Error/FieldError.tsx | 4 +-
.../mui-base/src/Field/Error/useFieldError.ts | 6 -
.../mui-base/src/Field/Label/FieldLabel.tsx | 4 +-
.../mui-base/src/Field/Label/useFieldLabel.ts | 6 -
.../mui-base/src/Field/Root/FieldRoot.tsx | 4 +-
.../src/Field/Validity/FieldValidity.tsx | 4 +-
.../src/Fieldset/Legend/FieldsetLegend.tsx | 4 +-
.../src/Fieldset/Legend/useFieldsetLegend.ts | 6 -
.../src/Fieldset/Root/FieldsetRoot.tsx | 4 +-
.../src/Fieldset/Root/useFieldsetRoot.ts | 7 +-
.../mui-base/src/Menu/Arrow/MenuArrow.tsx | 4 +-
.../mui-base/src/Menu/Arrow/useMenuArrow.ts | 6 -
packages/mui-base/src/Menu/Item/MenuItem.tsx | 4 +-
.../mui-base/src/Menu/Item/useMenuItem.ts | 6 -
.../mui-base/src/Menu/Popup/MenuPopup.tsx | 10 ++
.../mui-base/src/Menu/Popup/useMenuPopup.ts | 6 -
.../src/Menu/Positioner/MenuPositioner.tsx | 4 +-
.../src/Menu/Positioner/useMenuPositioner.ts | 6 -
packages/mui-base/src/Menu/Root/MenuRoot.tsx | 10 ++
.../mui-base/src/Menu/Root/useMenuRoot.ts | 6 -
.../Menu/SubmenuTrigger/SubmenuTrigger.tsx | 10 ++
.../Menu/SubmenuTrigger/useSubmenuTrigger.ts | 6 -
.../mui-base/src/Menu/Trigger/MenuTrigger.tsx | 10 ++
.../src/Menu/Trigger/useMenuTrigger.ts | 6 -
.../Decrement/NumberFieldDecrement.tsx | 4 +-
.../NumberField/Group/NumberFieldGroup.tsx | 4 +-
.../Increment/NumberFieldIncrement.tsx | 4 +-
.../NumberField/Input/NumberFieldInput.tsx | 4 +-
.../src/NumberField/Root/NumberFieldRoot.tsx | 4 +-
.../NumberField/Root/useNumberFieldRoot.ts | 11 --
.../ScrubArea/NumberFieldScrubArea.tsx | 5 +-
.../NumberFieldScrubAreaCursor.tsx | 5 +-
.../src/Popover/Arrow/PopoverArrow.tsx | 4 +-
.../src/Popover/Arrow/usePopoverArrow.ts | 6 -
.../src/Popover/Backdrop/PopoverBackdrop.tsx | 4 +-
.../Popover/Backdrop/usePopoverBackdrop.ts | 6 -
.../src/Popover/Close/PopoverClose.tsx | 4 +-
.../src/Popover/Close/usePopoverClose.ts | 6 -
.../Description/PopoverDescription.tsx | 4 +-
.../Description/usePopoverDescription.ts | 6 -
.../src/Popover/Popup/PopoverPopup.tsx | 4 +-
.../src/Popover/Popup/usePopoverPopup.ts | 6 -
.../Popover/Positioner/PopoverPositioner.tsx | 4 +-
.../Positioner/usePopoverPositioner.tsx | 6 -
.../mui-base/src/Popover/Root/PopoverRoot.tsx | 4 +-
.../src/Popover/Root/usePopoverRoot.ts | 6 -
.../src/Popover/Title/PopoverTitle.tsx | 4 +-
.../src/Popover/Title/usePopoverTitle.ts | 6 -
.../src/Popover/Trigger/PopoverTrigger.tsx | 4 +-
.../PreviewCard/Arrow/PreviewCardArrow.tsx | 10 ++
.../PreviewCard/Arrow/usePreviewCardArrow.ts | 6 -
.../Backdrop/PreviewCardBackdrop.tsx | 10 ++
.../Backdrop/usePreviewCardBackdrop.ts | 6 -
.../PreviewCard/Popup/PreviewCardPopup.tsx | 10 ++
.../PreviewCard/Popup/usePreviewCardPopup.ts | 6 -
.../Positioner/PreviewCardPositioner.tsx | 10 ++
.../Positioner/usePreviewCardPositioner.ts | 6 -
.../src/PreviewCard/Root/PreviewCardRoot.tsx | 10 ++
.../PreviewCard/Root/usePreviewCardRoot.ts | 7 -
.../Trigger/PreviewCardTrigger.tsx | 10 ++
.../Progress/Indicator/ProgressIndicator.tsx | 10 ++
.../Indicator/useProgressIndicator.ts | 11 +-
.../src/Progress/Root/ProgressRoot.tsx | 10 ++
.../src/Progress/Root/useProgressRoot.ts | 12 +-
.../src/Progress/Track/ProgressTrack.tsx | 10 ++
.../src/Slider/Control/SliderControl.tsx | 10 ++
.../src/Slider/Control/useSliderControl.ts | 11 +-
.../src/Slider/Indicator/SliderIndicator.tsx | 10 ++
.../Slider/Indicator/useSliderIndicator.ts | 11 +-
.../src/Slider/Output/SliderOutput.tsx | 10 ++
.../src/Slider/Output/useSliderOutput.ts | 11 +-
.../mui-base/src/Slider/Root/SliderRoot.tsx | 10 ++
.../mui-base/src/Slider/Root/useSliderRoot.ts | 10 --
.../mui-base/src/Slider/Thumb/SliderThumb.tsx | 10 ++
.../src/Slider/Thumb/useSliderThumb.ts | 11 +-
.../mui-base/src/Slider/Track/SliderTrack.tsx | 10 ++
.../mui-base/src/Switch/Root/SwitchRoot.tsx | 4 +-
.../mui-base/src/Switch/Root/useSwitchRoot.ts | 11 --
.../mui-base/src/Switch/Thumb/SwitchThumb.tsx | 10 ++
packages/mui-base/src/Tabs/Root/TabsRoot.tsx | 4 +-
.../mui-base/src/Tabs/Root/useTabsRoot.ts | 10 --
packages/mui-base/src/Tabs/Tab/Tab.tsx | 4 +-
packages/mui-base/src/Tabs/Tab/useTab.ts | 10 --
.../src/Tabs/TabIndicator/TabIndicator.tsx | 10 ++
.../src/Tabs/TabIndicator/useTabIndicator.ts | 10 --
.../mui-base/src/Tabs/TabPanel/TabPanel.tsx | 4 +-
.../mui-base/src/Tabs/TabPanel/useTabPanel.ts | 10 --
.../mui-base/src/Tabs/TabsList/TabsList.tsx | 4 +-
.../mui-base/src/Tabs/TabsList/useTabsList.ts | 10 --
.../src/Tooltip/Arrow/TooltipArrow.tsx | 4 +-
.../src/Tooltip/Arrow/useTooltipArrow.ts | 6 -
.../src/Tooltip/Popup/TooltipPopup.tsx | 4 +-
.../src/Tooltip/Popup/useTooltipPopup.ts | 6 -
.../Tooltip/Positioner/TooltipPositioner.tsx | 4 +-
.../Positioner/useTooltipPositioner.ts | 6 -
.../src/Tooltip/Provider/TooltipProvider.tsx | 4 +-
.../mui-base/src/Tooltip/Root/TooltipRoot.tsx | 4 +-
.../src/Tooltip/Root/useTooltipRoot.ts | 7 -
.../src/Tooltip/Trigger/TooltipTrigger.tsx | 4 +-
.../ClickAwayListener/ClickAwayListener.tsx | 4 +-
.../src/legacy/FocusTrap/FocusTrap.tsx | 4 +-
.../src/legacy/FormControl/FormControl.tsx | 9 +-
.../FormControl/useFormControlContext.ts | 11 +-
packages/mui-base/src/legacy/NoSsr/NoSsr.tsx | 4 +-
.../mui-base/src/legacy/Option/Option.tsx | 4 +-
.../src/legacy/OptionGroup/OptionGroup.tsx | 4 +-
.../mui-base/src/legacy/Portal/Portal.tsx | 4 +-
.../mui-base/src/legacy/Select/Select.tsx | 4 +-
.../mui-base/src/legacy/Snackbar/Snackbar.tsx | 7 +-
.../TablePagination/TablePagination.tsx | 4 +-
.../TextareaAutosize/TextareaAutosize.tsx | 5 +-
.../src/legacy/Unstable_Popup/Popup.tsx | 4 +-
.../legacy/useAutocomplete/useAutocomplete.ts | 10 --
.../src/legacy/useOption/useOption.ts | 10 --
.../useOption/useOptionContextStabilizer.ts | 8 -
.../src/legacy/useSelect/useSelect.ts | 10 --
.../src/legacy/useSnackbar/useSnackbar.ts | 11 --
.../mui-base/src/utils/useAnimatedElement.ts | 1 +
packages/mui-base/src/utils/useScrollLock.ts | 4 -
.../config/generateBaseUiApiPages.ts | 155 ------------------
.../config/getBaseUiComponentInfo.ts | 50 +++---
.../buildApiDocs/config/getBaseUiHookInfo.ts | 69 --------
.../buildApiDocs/config/projectSettings.ts | 14 +-
673 files changed, 600 insertions(+), 2598 deletions(-)
rename docs/data/{base => }/api/alert-dialog-backdrop.json (88%)
rename docs/data/{base => }/api/alert-dialog-close.json (87%)
rename docs/data/{base => }/api/alert-dialog-description.json (87%)
rename docs/data/{base => }/api/alert-dialog-popup.json (89%)
rename docs/data/{base => }/api/alert-dialog-root.json (86%)
rename docs/data/{base => }/api/alert-dialog-title.json (87%)
rename docs/data/{base => }/api/alert-dialog-trigger.json (87%)
rename docs/data/{base => }/api/checkbox-indicator.json (89%)
rename docs/data/{base => }/api/checkbox-root.json (94%)
rename docs/data/{base => }/api/click-away-listener.json (91%)
rename docs/data/{base => }/api/dialog-backdrop.json (89%)
rename docs/data/{base => }/api/dialog-close.json (87%)
rename docs/data/{base => }/api/dialog-description.json (88%)
rename docs/data/{base => }/api/dialog-popup.json (90%)
rename docs/data/{base => }/api/dialog-root.json (89%)
rename docs/data/{base => }/api/dialog-title.json (87%)
rename docs/data/{base => }/api/dialog-trigger.json (88%)
rename docs/data/{base => }/api/field-control.json (88%)
rename docs/data/{base => }/api/field-description.json (88%)
rename docs/data/{base => }/api/field-error.json (92%)
rename docs/data/{base => }/api/field-label.json (87%)
rename docs/data/{base => }/api/field-root.json (91%)
rename docs/data/{base => }/api/field-validity.json (82%)
rename docs/data/{base => }/api/fieldset-legend.json (87%)
rename docs/data/{base => }/api/fieldset-root.json (87%)
rename docs/data/{base => }/api/focus-trap.json (91%)
rename docs/data/{base => }/api/form-control.json (92%)
rename docs/data/{base => }/api/menu-arrow.json (89%)
rename docs/data/{base => }/api/menu-item.json (89%)
rename docs/data/{base => }/api/menu-popup.json (88%)
rename docs/data/{base => }/api/menu-positioner.json (96%)
rename docs/data/{base => }/api/menu-root.json (93%)
rename docs/data/{base => }/api/menu-trigger.json (90%)
rename docs/data/{base => }/api/no-ssr.json (85%)
rename docs/data/{base => }/api/number-field-decrement.json (87%)
rename docs/data/{base => }/api/number-field-group.json (87%)
rename docs/data/{base => }/api/number-field-increment.json (87%)
rename docs/data/{base => }/api/number-field-input.json (87%)
rename docs/data/{base => }/api/number-field-root.json (96%)
rename docs/data/{base => }/api/number-field-scrub-area-cursor.json (88%)
rename docs/data/{base => }/api/number-field-scrub-area.json (90%)
rename docs/data/{base => }/api/option-group.json (91%)
rename docs/data/{base => }/api/option.json (90%)
rename docs/data/{base => }/api/popover-arrow.json (89%)
rename docs/data/{base => }/api/popover-backdrop.json (90%)
rename docs/data/{base => }/api/popover-close.json (87%)
rename docs/data/{base => }/api/popover-description.json (88%)
rename docs/data/{base => }/api/popover-popup.json (87%)
rename docs/data/{base => }/api/popover-positioner.json (96%)
rename docs/data/{base => }/api/popover-root.json (92%)
rename docs/data/{base => }/api/popover-title.json (87%)
rename docs/data/{base => }/api/popover-trigger.json (88%)
rename docs/data/{base => }/api/popup.json (96%)
rename docs/data/{base => }/api/portal.json (86%)
rename docs/data/{base => }/api/preview-card-arrow.json (88%)
rename docs/data/{base => }/api/preview-card-backdrop.json (89%)
rename docs/data/{base => }/api/preview-card-popup.json (87%)
rename docs/data/{base => }/api/preview-card-positioner.json (96%)
rename docs/data/{base => }/api/preview-card-root.json (90%)
rename docs/data/{base => }/api/preview-card-trigger.json (87%)
rename docs/data/{base => }/api/progress-indicator.json (88%)
rename docs/data/{base => }/api/progress-root.json (94%)
rename docs/data/{base => }/api/progress-track.json (87%)
rename docs/data/{base => }/api/select.json (95%)
rename docs/data/{base => }/api/slider-control.json (88%)
rename docs/data/{base => }/api/slider-indicator.json (88%)
rename docs/data/{base => }/api/slider-output.json (88%)
rename docs/data/{base => }/api/slider-root.json (96%)
rename docs/data/{base => }/api/slider-thumb.json (92%)
rename docs/data/{base => }/api/slider-track.json (87%)
rename docs/data/{base => }/api/snackbar.json (94%)
rename docs/data/{base => }/api/submenu-trigger.json (89%)
rename docs/data/{base => }/api/switch-root.json (94%)
rename docs/data/{base => }/api/switch-thumb.json (87%)
rename docs/data/{base => }/api/tab-indicator.json (89%)
rename docs/data/{base => }/api/tab-panel.json (89%)
rename docs/data/{base => }/api/tab.json (88%)
rename docs/data/{base => }/api/table-pagination.json (96%)
rename docs/data/{base => }/api/tabs-list.json (90%)
rename docs/data/{base => }/api/tabs-root.json (92%)
rename docs/data/{base => }/api/textarea-autosize.json (85%)
rename docs/data/{base => }/api/tooltip-arrow.json (88%)
rename docs/data/{base => }/api/tooltip-popup.json (87%)
rename docs/data/{base => }/api/tooltip-positioner.json (96%)
rename docs/data/{base => }/api/tooltip-provider.json (87%)
rename docs/data/{base => }/api/tooltip-root.json (93%)
rename docs/data/{base => }/api/tooltip-trigger.json (88%)
delete mode 100644 docs/data/base/api/use-autocomplete.json
delete mode 100644 docs/data/base/api/use-checkbox-root.json
delete mode 100644 docs/data/base/api/use-dialog-backdrop.json
delete mode 100644 docs/data/base/api/use-dialog-close.json
delete mode 100644 docs/data/base/api/use-dialog-popup.json
delete mode 100644 docs/data/base/api/use-dialog-root.json
delete mode 100644 docs/data/base/api/use-dialog-trigger.json
delete mode 100644 docs/data/base/api/use-field-control-validation.json
delete mode 100644 docs/data/base/api/use-field-control.json
delete mode 100644 docs/data/base/api/use-field-description.json
delete mode 100644 docs/data/base/api/use-field-error.json
delete mode 100644 docs/data/base/api/use-field-label.json
delete mode 100644 docs/data/base/api/use-fieldset-legend.json
delete mode 100644 docs/data/base/api/use-fieldset-root.json
delete mode 100644 docs/data/base/api/use-form-control-context.json
delete mode 100644 docs/data/base/api/use-menu-arrow.json
delete mode 100644 docs/data/base/api/use-menu-item.json
delete mode 100644 docs/data/base/api/use-menu-popup.json
delete mode 100644 docs/data/base/api/use-menu-positioner.json
delete mode 100644 docs/data/base/api/use-menu-root.json
delete mode 100644 docs/data/base/api/use-menu-trigger.json
delete mode 100644 docs/data/base/api/use-number-field-root.json
delete mode 100644 docs/data/base/api/use-option-context-stabilizer.json
delete mode 100644 docs/data/base/api/use-option.json
delete mode 100644 docs/data/base/api/use-popover-arrow.json
delete mode 100644 docs/data/base/api/use-popover-backdrop.json
delete mode 100644 docs/data/base/api/use-popover-close.json
delete mode 100644 docs/data/base/api/use-popover-description.json
delete mode 100644 docs/data/base/api/use-popover-popup.json
delete mode 100644 docs/data/base/api/use-popover-positioner.json
delete mode 100644 docs/data/base/api/use-popover-root.json
delete mode 100644 docs/data/base/api/use-popover-title.json
delete mode 100644 docs/data/base/api/use-preview-card-arrow.json
delete mode 100644 docs/data/base/api/use-preview-card-backdrop.json
delete mode 100644 docs/data/base/api/use-preview-card-popup.json
delete mode 100644 docs/data/base/api/use-preview-card-positioner.json
delete mode 100644 docs/data/base/api/use-preview-card-root.json
delete mode 100644 docs/data/base/api/use-progress-indicator.json
delete mode 100644 docs/data/base/api/use-progress-root.json
delete mode 100644 docs/data/base/api/use-scroll-lock.json
delete mode 100644 docs/data/base/api/use-select.json
delete mode 100644 docs/data/base/api/use-slider-control.json
delete mode 100644 docs/data/base/api/use-slider-indicator.json
delete mode 100644 docs/data/base/api/use-slider-output.json
delete mode 100644 docs/data/base/api/use-slider-root.json
delete mode 100644 docs/data/base/api/use-slider-thumb.json
delete mode 100644 docs/data/base/api/use-snackbar.json
delete mode 100644 docs/data/base/api/use-submenu-trigger.json
delete mode 100644 docs/data/base/api/use-switch-root.json
delete mode 100644 docs/data/base/api/use-tab-indicator.json
delete mode 100644 docs/data/base/api/use-tab-panel.json
delete mode 100644 docs/data/base/api/use-tab.json
delete mode 100644 docs/data/base/api/use-tabs-list.json
delete mode 100644 docs/data/base/api/use-tabs-root.json
delete mode 100644 docs/data/base/api/use-tooltip-arrow.json
delete mode 100644 docs/data/base/api/use-tooltip-popup.json
delete mode 100644 docs/data/base/api/use-tooltip-positioner.json
delete mode 100644 docs/data/base/api/use-tooltip-root.json
delete mode 100644 docs/data/base/translations/api-docs/use-autocomplete/use-autocomplete.json
delete mode 100644 docs/data/base/translations/api-docs/use-checkbox-root/use-checkbox-root.json
delete mode 100644 docs/data/base/translations/api-docs/use-dialog-backdrop/use-dialog-backdrop.json
delete mode 100644 docs/data/base/translations/api-docs/use-dialog-close/use-dialog-close.json
delete mode 100644 docs/data/base/translations/api-docs/use-dialog-popup/use-dialog-popup.json
delete mode 100644 docs/data/base/translations/api-docs/use-dialog-root/use-dialog-root.json
delete mode 100644 docs/data/base/translations/api-docs/use-dialog-trigger/use-dialog-trigger.json
delete mode 100644 docs/data/base/translations/api-docs/use-field-control-validation/use-field-control-validation.json
delete mode 100644 docs/data/base/translations/api-docs/use-field-control/use-field-control.json
delete mode 100644 docs/data/base/translations/api-docs/use-field-description/use-field-description.json
delete mode 100644 docs/data/base/translations/api-docs/use-field-error/use-field-error.json
delete mode 100644 docs/data/base/translations/api-docs/use-field-label/use-field-label.json
delete mode 100644 docs/data/base/translations/api-docs/use-fieldset-legend/use-fieldset-legend.json
delete mode 100644 docs/data/base/translations/api-docs/use-fieldset-root/use-fieldset-root.json
delete mode 100644 docs/data/base/translations/api-docs/use-form-control-context/use-form-control-context.json
delete mode 100644 docs/data/base/translations/api-docs/use-menu-arrow/use-menu-arrow.json
delete mode 100644 docs/data/base/translations/api-docs/use-menu-item/use-menu-item.json
delete mode 100644 docs/data/base/translations/api-docs/use-menu-popup/use-menu-popup.json
delete mode 100644 docs/data/base/translations/api-docs/use-menu-positioner/use-menu-positioner.json
delete mode 100644 docs/data/base/translations/api-docs/use-menu-root/use-menu-root.json
delete mode 100644 docs/data/base/translations/api-docs/use-menu-trigger/use-menu-trigger.json
delete mode 100644 docs/data/base/translations/api-docs/use-number-field-root/use-number-field-root.json
delete mode 100644 docs/data/base/translations/api-docs/use-option-context-stabilizer/use-option-context-stabilizer.json
delete mode 100644 docs/data/base/translations/api-docs/use-option/use-option.json
delete mode 100644 docs/data/base/translations/api-docs/use-popover-arrow/use-popover-arrow.json
delete mode 100644 docs/data/base/translations/api-docs/use-popover-backdrop/use-popover-backdrop.json
delete mode 100644 docs/data/base/translations/api-docs/use-popover-close/use-popover-close.json
delete mode 100644 docs/data/base/translations/api-docs/use-popover-description/use-popover-description.json
delete mode 100644 docs/data/base/translations/api-docs/use-popover-popup/use-popover-popup.json
delete mode 100644 docs/data/base/translations/api-docs/use-popover-positioner/use-popover-positioner.json
delete mode 100644 docs/data/base/translations/api-docs/use-popover-root/use-popover-root.json
delete mode 100644 docs/data/base/translations/api-docs/use-popover-title/use-popover-title.json
delete mode 100644 docs/data/base/translations/api-docs/use-preview-card-arrow/use-preview-card-arrow.json
delete mode 100644 docs/data/base/translations/api-docs/use-preview-card-backdrop/use-preview-card-backdrop.json
delete mode 100644 docs/data/base/translations/api-docs/use-preview-card-popup/use-preview-card-popup.json
delete mode 100644 docs/data/base/translations/api-docs/use-preview-card-positioner/use-preview-card-positioner.json
delete mode 100644 docs/data/base/translations/api-docs/use-preview-card-root/use-preview-card-root.json
delete mode 100644 docs/data/base/translations/api-docs/use-progress-indicator/use-progress-indicator.json
delete mode 100644 docs/data/base/translations/api-docs/use-progress-root/use-progress-root.json
delete mode 100644 docs/data/base/translations/api-docs/use-scroll-lock/use-scroll-lock.json
delete mode 100644 docs/data/base/translations/api-docs/use-select/use-select.json
delete mode 100644 docs/data/base/translations/api-docs/use-slider-control/use-slider-control.json
delete mode 100644 docs/data/base/translations/api-docs/use-slider-indicator/use-slider-indicator.json
delete mode 100644 docs/data/base/translations/api-docs/use-slider-output/use-slider-output.json
delete mode 100644 docs/data/base/translations/api-docs/use-slider-root/use-slider-root.json
delete mode 100644 docs/data/base/translations/api-docs/use-slider-thumb/use-slider-thumb.json
delete mode 100644 docs/data/base/translations/api-docs/use-snackbar/use-snackbar.json
delete mode 100644 docs/data/base/translations/api-docs/use-submenu-trigger/use-submenu-trigger.json
delete mode 100644 docs/data/base/translations/api-docs/use-switch-root/use-switch-root.json
delete mode 100644 docs/data/base/translations/api-docs/use-tab-indicator/use-tab-indicator.json
delete mode 100644 docs/data/base/translations/api-docs/use-tab-panel/use-tab-panel.json
delete mode 100644 docs/data/base/translations/api-docs/use-tab/use-tab.json
delete mode 100644 docs/data/base/translations/api-docs/use-tabs-list/use-tabs-list.json
delete mode 100644 docs/data/base/translations/api-docs/use-tabs-root/use-tabs-root.json
delete mode 100644 docs/data/base/translations/api-docs/use-tooltip-arrow/use-tooltip-arrow.json
delete mode 100644 docs/data/base/translations/api-docs/use-tooltip-popup/use-tooltip-popup.json
delete mode 100644 docs/data/base/translations/api-docs/use-tooltip-positioner/use-tooltip-positioner.json
delete mode 100644 docs/data/base/translations/api-docs/use-tooltip-root/use-tooltip-root.json
rename docs/data/{base => }/components/alert-dialog/AlertDialogIntroduction/css/index.js (100%)
rename docs/data/{base => }/components/alert-dialog/AlertDialogIntroduction/css/index.tsx (100%)
rename docs/data/{base => }/components/alert-dialog/AlertDialogIntroduction/css/index.tsx.preview (100%)
rename docs/data/{base => }/components/alert-dialog/AlertDialogIntroduction/css/styles.module.css (100%)
rename docs/data/{base => }/components/alert-dialog/AlertDialogIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/alert-dialog/AlertDialogIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/alert-dialog/AlertDialogIntroduction/system/index.tsx.preview (100%)
rename docs/data/{base => }/components/alert-dialog/AlertDialogIntroduction/tailwind/index.js (100%)
rename docs/data/{base => }/components/alert-dialog/AlertDialogIntroduction/tailwind/index.tsx (100%)
rename docs/data/{base => }/components/alert-dialog/AlertDialogIntroduction/tailwind/index.tsx.preview (100%)
rename docs/data/{base => }/components/alert-dialog/AlertDialogWithTransitions.js (100%)
rename docs/data/{base => }/components/alert-dialog/AlertDialogWithTransitions.tsx (100%)
rename docs/data/{base => }/components/alert-dialog/AlertDialogWithTransitions.tsx.preview (100%)
rename docs/data/{base => }/components/alert-dialog/NestedAlertDialogs.js (100%)
rename docs/data/{base => }/components/alert-dialog/NestedAlertDialogs.tsx (100%)
rename docs/data/{base => }/components/alert-dialog/alert-dialog.mdx (100%)
rename docs/data/{base => }/components/autocomplete/autocomplete.mdx (100%)
rename docs/data/{base => }/components/checkbox/UnstyledCheckboxIndeterminate.js (100%)
rename docs/data/{base => }/components/checkbox/UnstyledCheckboxIndeterminate.tsx (100%)
rename docs/data/{base => }/components/checkbox/UnstyledCheckboxIndeterminate.tsx.preview (100%)
rename docs/data/{base => }/components/checkbox/UnstyledCheckboxIndeterminateGroup.js (100%)
rename docs/data/{base => }/components/checkbox/UnstyledCheckboxIndeterminateGroup.tsx (100%)
rename docs/data/{base => }/components/checkbox/UnstyledCheckboxIntroduction/css/index.js (100%)
rename docs/data/{base => }/components/checkbox/UnstyledCheckboxIntroduction/css/index.tsx (100%)
rename docs/data/{base => }/components/checkbox/UnstyledCheckboxIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/checkbox/UnstyledCheckboxIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.js (100%)
rename docs/data/{base => }/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.tsx (100%)
rename docs/data/{base => }/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.tsx.preview (100%)
rename docs/data/{base => }/components/checkbox/checkbox.mdx (100%)
rename docs/data/{base => }/components/click-away-listener/ClickAway.js (100%)
rename docs/data/{base => }/components/click-away-listener/ClickAway.tsx (100%)
rename docs/data/{base => }/components/click-away-listener/ClickAway.tsx.preview (100%)
rename docs/data/{base => }/components/click-away-listener/LeadingClickAway.js (100%)
rename docs/data/{base => }/components/click-away-listener/LeadingClickAway.tsx (100%)
rename docs/data/{base => }/components/click-away-listener/LeadingClickAway.tsx.preview (100%)
rename docs/data/{base => }/components/click-away-listener/PortalClickAway.js (100%)
rename docs/data/{base => }/components/click-away-listener/PortalClickAway.tsx (100%)
rename docs/data/{base => }/components/click-away-listener/PortalClickAway.tsx.preview (100%)
rename docs/data/{base => }/components/click-away-listener/click-away-listener.mdx (100%)
rename docs/data/{base => }/components/dialog/DialogWithTransitions.js (100%)
rename docs/data/{base => }/components/dialog/DialogWithTransitions.tsx (100%)
rename docs/data/{base => }/components/dialog/DialogWithTransitions.tsx.preview (100%)
rename docs/data/{base => }/components/dialog/NestedDialogs.js (100%)
rename docs/data/{base => }/components/dialog/NestedDialogs.tsx (100%)
rename docs/data/{base => }/components/dialog/UnstyledDialogIntroduction/css/index.js (100%)
rename docs/data/{base => }/components/dialog/UnstyledDialogIntroduction/css/index.tsx (100%)
rename docs/data/{base => }/components/dialog/UnstyledDialogIntroduction/css/styles.module.css (100%)
rename docs/data/{base => }/components/dialog/UnstyledDialogIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/dialog/UnstyledDialogIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/dialog/UnstyledDialogIntroduction/tailwind/index.js (100%)
rename docs/data/{base => }/components/dialog/UnstyledDialogIntroduction/tailwind/index.tsx (100%)
rename docs/data/{base => }/components/dialog/dialog.mdx (100%)
rename docs/data/{base => }/components/field/UnstyledFieldAsync.js (100%)
rename docs/data/{base => }/components/field/UnstyledFieldAsync.tsx (100%)
rename docs/data/{base => }/components/field/UnstyledFieldIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/field/UnstyledFieldIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/field/UnstyledFieldPassword.js (100%)
rename docs/data/{base => }/components/field/UnstyledFieldPassword.tsx (100%)
rename docs/data/{base => }/components/field/UnstyledFieldPassword.tsx.preview (100%)
rename docs/data/{base => }/components/field/UnstyledFieldServerError.js (100%)
rename docs/data/{base => }/components/field/UnstyledFieldServerError.tsx (100%)
rename docs/data/{base => }/components/field/field.mdx (100%)
rename docs/data/{base => }/components/fieldset/UnstyledFieldsetIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/fieldset/UnstyledFieldsetIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/fieldset/UnstyledFieldsetIntroduction/system/index.tsx.preview (100%)
rename docs/data/{base => }/components/fieldset/fieldset.mdx (100%)
rename docs/data/{base => }/components/focus-trap/BasicFocusTrap.js (100%)
rename docs/data/{base => }/components/focus-trap/BasicFocusTrap.tsx (100%)
rename docs/data/{base => }/components/focus-trap/BasicFocusTrap.tsx.preview (100%)
rename docs/data/{base => }/components/focus-trap/ContainedToggleTrappedFocus.js (100%)
rename docs/data/{base => }/components/focus-trap/ContainedToggleTrappedFocus.tsx (100%)
rename docs/data/{base => }/components/focus-trap/ContainedToggleTrappedFocus.tsx.preview (100%)
rename docs/data/{base => }/components/focus-trap/DisableEnforceFocus.js (100%)
rename docs/data/{base => }/components/focus-trap/DisableEnforceFocus.tsx (100%)
rename docs/data/{base => }/components/focus-trap/DisableEnforceFocus.tsx.preview (100%)
rename docs/data/{base => }/components/focus-trap/LazyFocusTrap.js (100%)
rename docs/data/{base => }/components/focus-trap/LazyFocusTrap.tsx (100%)
rename docs/data/{base => }/components/focus-trap/LazyFocusTrap.tsx.preview (100%)
rename docs/data/{base => }/components/focus-trap/PortalFocusTrap.js (100%)
rename docs/data/{base => }/components/focus-trap/PortalFocusTrap.tsx (100%)
rename docs/data/{base => }/components/focus-trap/focus-trap.mdx (100%)
rename docs/data/{base => }/components/form-control/form-control.mdx (100%)
rename docs/data/{base => }/components/menu/MenuIntroduction/css/index.js (100%)
rename docs/data/{base => }/components/menu/MenuIntroduction/css/index.tsx (100%)
rename docs/data/{base => }/components/menu/MenuIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/menu/MenuIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/menu/MenuIntroduction/system/index.tsx.preview (100%)
rename docs/data/{base => }/components/menu/MenuIntroduction/tailwind/index.js (100%)
rename docs/data/{base => }/components/menu/MenuIntroduction/tailwind/index.tsx (100%)
rename docs/data/{base => }/components/menu/MenuIntroduction/tailwind/index.tsx.preview (100%)
rename docs/data/{base => }/components/menu/NestedMenu.js (100%)
rename docs/data/{base => }/components/menu/NestedMenu.tsx (100%)
rename docs/data/{base => }/components/menu/menu.mdx (100%)
rename docs/data/{base => }/components/no-ssr/FrameDeferring.js (100%)
rename docs/data/{base => }/components/no-ssr/FrameDeferring.tsx (100%)
rename docs/data/{base => }/components/no-ssr/SimpleNoSsr.js (100%)
rename docs/data/{base => }/components/no-ssr/SimpleNoSsr.tsx (100%)
rename docs/data/{base => }/components/no-ssr/SimpleNoSsr.tsx.preview (100%)
rename docs/data/{base => }/components/no-ssr/no-ssr.mdx (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldFormat.js (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldFormat.tsx (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldFormat.tsx.preview (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldIntroduction/css/index.js (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldIntroduction/css/index.tsx (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldIntroduction/tailwind/index.js (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldIntroduction/tailwind/index.tsx (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldScrub.js (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldScrub.tsx (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldScrub.tsx.preview (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldWheelScrub.js (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldWheelScrub.tsx (100%)
rename docs/data/{base => }/components/number-field/UnstyledNumberFieldWheelScrub.tsx.preview (100%)
rename docs/data/{base => }/components/number-field/number-field.mdx (100%)
rename docs/data/{base => }/components/popover/UnstyledPopoverIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/popover/UnstyledPopoverIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/popover/UnstyledPopoverIntroduction/system/index.tsx.preview (100%)
rename docs/data/{base => }/components/popover/UnstyledPopoverTransition.js (100%)
rename docs/data/{base => }/components/popover/UnstyledPopoverTransition.tsx (100%)
rename docs/data/{base => }/components/popover/UnstyledPopoverTransition.tsx.preview (100%)
rename docs/data/{base => }/components/popover/popover.mdx (100%)
rename docs/data/{base => }/components/popup/popup.mdx (100%)
rename docs/data/{base => }/components/portal/SimplePortal.js (100%)
rename docs/data/{base => }/components/portal/SimplePortal.tsx (100%)
rename docs/data/{base => }/components/portal/SimplePortal.tsx.preview (100%)
rename docs/data/{base => }/components/portal/portal.mdx (100%)
rename docs/data/{base => }/components/preview-card/UnstyledPreviewCardIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/preview-card/UnstyledPreviewCardIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/preview-card/UnstyledPreviewCardTransition.js (100%)
rename docs/data/{base => }/components/preview-card/UnstyledPreviewCardTransition.tsx (100%)
rename docs/data/{base => }/components/preview-card/preview-card.mdx (100%)
rename docs/data/{base => }/components/progress/IndeterminateProgress.js (100%)
rename docs/data/{base => }/components/progress/IndeterminateProgress.tsx (100%)
rename docs/data/{base => }/components/progress/IndeterminateProgress.tsx.preview (100%)
rename docs/data/{base => }/components/progress/RtlProgress.js (100%)
rename docs/data/{base => }/components/progress/RtlProgress.tsx (100%)
rename docs/data/{base => }/components/progress/RtlProgress.tsx.preview (100%)
rename docs/data/{base => }/components/progress/UnstyledProgressIntroduction/css/index.js (100%)
rename docs/data/{base => }/components/progress/UnstyledProgressIntroduction/css/index.tsx (100%)
rename docs/data/{base => }/components/progress/UnstyledProgressIntroduction/css/index.tsx.preview (100%)
rename docs/data/{base => }/components/progress/UnstyledProgressIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/progress/UnstyledProgressIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/progress/UnstyledProgressIntroduction/system/index.tsx.preview (100%)
rename docs/data/{base => }/components/progress/UnstyledProgressIntroduction/tailwind/index.js (100%)
rename docs/data/{base => }/components/progress/UnstyledProgressIntroduction/tailwind/index.tsx (100%)
rename docs/data/{base => }/components/progress/UnstyledProgressIntroduction/tailwind/index.tsx.preview (100%)
rename docs/data/{base => }/components/progress/progress.mdx (100%)
rename docs/data/{base => }/components/select/select.mdx (100%)
rename docs/data/{base => }/components/slider/RangeSlider.js (100%)
rename docs/data/{base => }/components/slider/RangeSlider.tsx (100%)
rename docs/data/{base => }/components/slider/RtlSlider.js (100%)
rename docs/data/{base => }/components/slider/RtlSlider.tsx (100%)
rename docs/data/{base => }/components/slider/RtlSlider.tsx.preview (100%)
rename docs/data/{base => }/components/slider/UnstyledSliderIntroduction/css/index.js (100%)
rename docs/data/{base => }/components/slider/UnstyledSliderIntroduction/css/index.tsx (100%)
rename docs/data/{base => }/components/slider/UnstyledSliderIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/slider/UnstyledSliderIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/slider/UnstyledSliderIntroduction/system/index.tsx.preview (100%)
rename docs/data/{base => }/components/slider/UnstyledSliderIntroduction/tailwind/index.js (100%)
rename docs/data/{base => }/components/slider/UnstyledSliderIntroduction/tailwind/index.tsx (100%)
rename docs/data/{base => }/components/slider/UnstyledSliderIntroduction/tailwind/index.tsx.preview (100%)
rename docs/data/{base => }/components/slider/VerticalSlider.js (100%)
rename docs/data/{base => }/components/slider/VerticalSlider.tsx (100%)
rename docs/data/{base => }/components/slider/slider.mdx (100%)
rename docs/data/{base => }/components/snackbar/snackbar.mdx (100%)
rename docs/data/{base => }/components/switch/UnstyledSwitchIntroduction/css/index.js (100%)
rename docs/data/{base => }/components/switch/UnstyledSwitchIntroduction/css/index.tsx (100%)
rename docs/data/{base => }/components/switch/UnstyledSwitchIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/switch/UnstyledSwitchIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/switch/UnstyledSwitchIntroduction/system/index.tsx.preview (100%)
rename docs/data/{base => }/components/switch/UnstyledSwitchIntroduction/tailwind/index.js (100%)
rename docs/data/{base => }/components/switch/UnstyledSwitchIntroduction/tailwind/index.tsx (100%)
rename docs/data/{base => }/components/switch/UnstyledSwitchIntroduction/tailwind/index.tsx.preview (100%)
rename docs/data/{base => }/components/switch/switch.mdx (100%)
rename docs/data/{base => }/components/table-pagination/table-pagination.mdx (100%)
rename docs/data/{base => }/components/tabs/IndicatorBubble.js (100%)
rename docs/data/{base => }/components/tabs/IndicatorBubble.tsx (100%)
rename docs/data/{base => }/components/tabs/IndicatorBubble.tsx.preview (100%)
rename docs/data/{base => }/components/tabs/IndicatorUnderline.js (100%)
rename docs/data/{base => }/components/tabs/IndicatorUnderline.tsx (100%)
rename docs/data/{base => }/components/tabs/IndicatorUnderline.tsx.preview (100%)
rename docs/data/{base => }/components/tabs/KeyboardNavigation.js (100%)
rename docs/data/{base => }/components/tabs/KeyboardNavigation.tsx (100%)
rename docs/data/{base => }/components/tabs/UnstyledTabsIntroduction/css/index.js (100%)
rename docs/data/{base => }/components/tabs/UnstyledTabsIntroduction/css/index.tsx (100%)
rename docs/data/{base => }/components/tabs/UnstyledTabsIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/tabs/UnstyledTabsIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/tabs/UnstyledTabsIntroduction/system/index.tsx.preview (100%)
rename docs/data/{base => }/components/tabs/UnstyledTabsIntroduction/tailwind/index.js (100%)
rename docs/data/{base => }/components/tabs/UnstyledTabsIntroduction/tailwind/index.tsx (100%)
rename docs/data/{base => }/components/tabs/UnstyledTabsIntroduction/tailwind/index.tsx.preview (100%)
rename docs/data/{base => }/components/tabs/UnstyledTabsRouting.js (100%)
rename docs/data/{base => }/components/tabs/UnstyledTabsRouting.tsx (100%)
rename docs/data/{base => }/components/tabs/UnstyledTabsRouting.tsx.preview (100%)
rename docs/data/{base => }/components/tabs/tabs.mdx (100%)
rename docs/data/{base => }/components/textarea-autosize/textarea-autosize.mdx (100%)
rename docs/data/{base => }/components/toggle-button-group/toggle-button-group.mdx (100%)
rename docs/data/{base => }/components/tooltip/UnstyledTooltipDelayGroup.js (100%)
rename docs/data/{base => }/components/tooltip/UnstyledTooltipDelayGroup.tsx (100%)
rename docs/data/{base => }/components/tooltip/UnstyledTooltipDelayGroup.tsx.preview (100%)
rename docs/data/{base => }/components/tooltip/UnstyledTooltipFollowCursor.js (100%)
rename docs/data/{base => }/components/tooltip/UnstyledTooltipFollowCursor.tsx (100%)
rename docs/data/{base => }/components/tooltip/UnstyledTooltipFollowCursor.tsx.preview (100%)
rename docs/data/{base => }/components/tooltip/UnstyledTooltipIntroduction/system/index.js (100%)
rename docs/data/{base => }/components/tooltip/UnstyledTooltipIntroduction/system/index.tsx (100%)
rename docs/data/{base => }/components/tooltip/UnstyledTooltipTransition.js (100%)
rename docs/data/{base => }/components/tooltip/UnstyledTooltipTransition.tsx (100%)
rename docs/data/{base => }/components/tooltip/UnstyledTooltipTransition.tsx.preview (100%)
rename docs/data/{base => }/components/tooltip/tooltip.mdx (100%)
rename docs/data/{base => }/getting-started/accessibility/ColorContrast.js (100%)
rename docs/data/{base => }/getting-started/accessibility/ColorContrast.tsx (100%)
rename docs/data/{base => }/getting-started/accessibility/ColorContrast.tsx.preview (100%)
rename docs/data/{base => }/getting-started/accessibility/FocusRing.js (100%)
rename docs/data/{base => }/getting-started/accessibility/FocusRing.tsx (100%)
rename docs/data/{base => }/getting-started/accessibility/FocusRing.tsx.preview (100%)
rename docs/data/{base => }/getting-started/accessibility/KeyboardNavigation.js (100%)
rename docs/data/{base => }/getting-started/accessibility/KeyboardNavigation.tsx (100%)
rename docs/data/{base => }/getting-started/accessibility/accessibility.mdx (100%)
rename docs/data/{base => }/getting-started/overview/overview.mdx (100%)
rename docs/data/{base => }/getting-started/quickstart/quickstart.mdx (100%)
rename docs/data/{base => }/getting-started/support/support.mdx (100%)
rename docs/data/{base => }/getting-started/usage/usage.mdx (100%)
rename docs/data/{base => }/guides/next-js-app-router/next-js-app-router.mdx (100%)
rename docs/data/{base => }/pages.ts (100%)
rename docs/data/{base => }/translations/api-docs/alert-dialog-backdrop/alert-dialog-backdrop.json (100%)
rename docs/data/{base => }/translations/api-docs/alert-dialog-close/alert-dialog-close.json (100%)
rename docs/data/{base => }/translations/api-docs/alert-dialog-description/alert-dialog-description.json (100%)
rename docs/data/{base => }/translations/api-docs/alert-dialog-popup/alert-dialog-popup.json (100%)
rename docs/data/{base => }/translations/api-docs/alert-dialog-root/alert-dialog-root.json (100%)
rename docs/data/{base => }/translations/api-docs/alert-dialog-title/alert-dialog-title.json (100%)
rename docs/data/{base => }/translations/api-docs/alert-dialog-trigger/alert-dialog-trigger.json (100%)
rename docs/data/{base => }/translations/api-docs/checkbox-indicator/checkbox-indicator.json (100%)
rename docs/data/{base => }/translations/api-docs/checkbox-root/checkbox-root.json (100%)
rename docs/data/{base => }/translations/api-docs/click-away-listener/click-away-listener.json (100%)
rename docs/data/{base => }/translations/api-docs/dialog-backdrop/dialog-backdrop.json (100%)
rename docs/data/{base => }/translations/api-docs/dialog-close/dialog-close.json (100%)
rename docs/data/{base => }/translations/api-docs/dialog-description/dialog-description.json (100%)
rename docs/data/{base => }/translations/api-docs/dialog-popup/dialog-popup.json (100%)
rename docs/data/{base => }/translations/api-docs/dialog-root/dialog-root.json (100%)
rename docs/data/{base => }/translations/api-docs/dialog-title/dialog-title.json (100%)
rename docs/data/{base => }/translations/api-docs/dialog-trigger/dialog-trigger.json (100%)
rename docs/data/{base => }/translations/api-docs/field-control/field-control.json (100%)
rename docs/data/{base => }/translations/api-docs/field-description/field-description.json (100%)
rename docs/data/{base => }/translations/api-docs/field-error/field-error.json (100%)
rename docs/data/{base => }/translations/api-docs/field-label/field-label.json (100%)
rename docs/data/{base => }/translations/api-docs/field-root/field-root.json (100%)
rename docs/data/{base => }/translations/api-docs/field-validity/field-validity.json (100%)
rename docs/data/{base => }/translations/api-docs/fieldset-legend/fieldset-legend.json (100%)
rename docs/data/{base => }/translations/api-docs/fieldset-root/fieldset-root.json (100%)
rename docs/data/{base => }/translations/api-docs/focus-trap/focus-trap.json (100%)
rename docs/data/{base => }/translations/api-docs/form-control/form-control.json (100%)
rename docs/data/{base => }/translations/api-docs/menu-arrow/menu-arrow.json (100%)
rename docs/data/{base => }/translations/api-docs/menu-item/menu-item.json (100%)
rename docs/data/{base => }/translations/api-docs/menu-popup/menu-popup.json (100%)
rename docs/data/{base => }/translations/api-docs/menu-positioner/menu-positioner.json (100%)
rename docs/data/{base => }/translations/api-docs/menu-root/menu-root.json (100%)
rename docs/data/{base => }/translations/api-docs/menu-trigger/menu-trigger.json (100%)
rename docs/data/{base => }/translations/api-docs/no-ssr/no-ssr.json (100%)
rename docs/data/{base => }/translations/api-docs/number-field-decrement/number-field-decrement.json (100%)
rename docs/data/{base => }/translations/api-docs/number-field-group/number-field-group.json (100%)
rename docs/data/{base => }/translations/api-docs/number-field-increment/number-field-increment.json (100%)
rename docs/data/{base => }/translations/api-docs/number-field-input/number-field-input.json (100%)
rename docs/data/{base => }/translations/api-docs/number-field-root/number-field-root.json (100%)
rename docs/data/{base => }/translations/api-docs/number-field-scrub-area-cursor/number-field-scrub-area-cursor.json (100%)
rename docs/data/{base => }/translations/api-docs/number-field-scrub-area/number-field-scrub-area.json (100%)
rename docs/data/{base => }/translations/api-docs/option-group/option-group.json (100%)
rename docs/data/{base => }/translations/api-docs/option/option.json (100%)
rename docs/data/{base => }/translations/api-docs/popover-arrow/popover-arrow.json (100%)
rename docs/data/{base => }/translations/api-docs/popover-backdrop/popover-backdrop.json (100%)
rename docs/data/{base => }/translations/api-docs/popover-close/popover-close.json (100%)
rename docs/data/{base => }/translations/api-docs/popover-description/popover-description.json (100%)
rename docs/data/{base => }/translations/api-docs/popover-popup/popover-popup.json (100%)
rename docs/data/{base => }/translations/api-docs/popover-positioner/popover-positioner.json (100%)
rename docs/data/{base => }/translations/api-docs/popover-root/popover-root.json (100%)
rename docs/data/{base => }/translations/api-docs/popover-title/popover-title.json (100%)
rename docs/data/{base => }/translations/api-docs/popover-trigger/popover-trigger.json (100%)
rename docs/data/{base => }/translations/api-docs/popup/popup.json (100%)
rename docs/data/{base => }/translations/api-docs/portal/portal.json (100%)
rename docs/data/{base => }/translations/api-docs/preview-card-arrow/preview-card-arrow.json (100%)
rename docs/data/{base => }/translations/api-docs/preview-card-backdrop/preview-card-backdrop.json (100%)
rename docs/data/{base => }/translations/api-docs/preview-card-popup/preview-card-popup.json (100%)
rename docs/data/{base => }/translations/api-docs/preview-card-positioner/preview-card-positioner.json (100%)
rename docs/data/{base => }/translations/api-docs/preview-card-root/preview-card-root.json (100%)
rename docs/data/{base => }/translations/api-docs/preview-card-trigger/preview-card-trigger.json (100%)
rename docs/data/{base => }/translations/api-docs/progress-indicator/progress-indicator.json (100%)
rename docs/data/{base => }/translations/api-docs/progress-root/progress-root.json (100%)
rename docs/data/{base => }/translations/api-docs/progress-track/progress-track.json (100%)
rename docs/data/{base => }/translations/api-docs/select/select.json (100%)
rename docs/data/{base => }/translations/api-docs/slider-control/slider-control.json (100%)
rename docs/data/{base => }/translations/api-docs/slider-indicator/slider-indicator.json (100%)
rename docs/data/{base => }/translations/api-docs/slider-output/slider-output.json (100%)
rename docs/data/{base => }/translations/api-docs/slider-root/slider-root.json (100%)
rename docs/data/{base => }/translations/api-docs/slider-thumb/slider-thumb.json (100%)
rename docs/data/{base => }/translations/api-docs/slider-track/slider-track.json (100%)
rename docs/data/{base => }/translations/api-docs/snackbar/snackbar.json (100%)
rename docs/data/{base => }/translations/api-docs/submenu-trigger/submenu-trigger.json (100%)
rename docs/data/{base => }/translations/api-docs/switch-root/switch-root.json (100%)
rename docs/data/{base => }/translations/api-docs/switch-thumb/switch-thumb.json (100%)
rename docs/data/{base => }/translations/api-docs/tab-indicator/tab-indicator.json (100%)
rename docs/data/{base => }/translations/api-docs/tab-panel/tab-panel.json (100%)
rename docs/data/{base => }/translations/api-docs/tab/tab.json (100%)
rename docs/data/{base => }/translations/api-docs/table-pagination/table-pagination.json (100%)
rename docs/data/{base => }/translations/api-docs/tabs-list/tabs-list.json (100%)
rename docs/data/{base => }/translations/api-docs/tabs-root/tabs-root.json (100%)
rename docs/data/{base => }/translations/api-docs/textarea-autosize/textarea-autosize.json (100%)
rename docs/data/{base => }/translations/api-docs/tooltip-arrow/tooltip-arrow.json (100%)
rename docs/data/{base => }/translations/api-docs/tooltip-popup/tooltip-popup.json (100%)
rename docs/data/{base => }/translations/api-docs/tooltip-positioner/tooltip-positioner.json (100%)
rename docs/data/{base => }/translations/api-docs/tooltip-provider/tooltip-provider.json (100%)
rename docs/data/{base => }/translations/api-docs/tooltip-root/tooltip-root.json (100%)
rename docs/data/{base => }/translations/api-docs/tooltip-trigger/tooltip-trigger.json (100%)
delete mode 100644 scripts/buildApiDocs/config/generateBaseUiApiPages.ts
delete mode 100644 scripts/buildApiDocs/config/getBaseUiHookInfo.ts
diff --git a/docs/app/(content)/components/[slug]/page.tsx b/docs/app/(content)/components/[slug]/page.tsx
index 1028f60904..b285200431 100644
--- a/docs/app/(content)/components/[slug]/page.tsx
+++ b/docs/app/(content)/components/[slug]/page.tsx
@@ -4,7 +4,7 @@ import { components } from 'docs-base/src/modules/common/MDXComponents';
import { getMarkdownPage, getMarkdownPageMetadata } from 'docs-base/src/utils/getMarkdownPage';
import { Description } from 'docs-base/src/modules/components';
import { TableOfContents } from 'docs-base/src/modules/common/TableOfContents';
-import routes, { getSlugs } from 'docs-base/data/base/pages';
+import routes, { getSlugs } from 'docs-base/data/pages';
import { AppBar } from 'docs-base/src/modules/common/AppBar';
import { Navigation } from 'docs-base/src/modules/common/Navigation';
import {
diff --git a/docs/app/(content)/getting-started/[slug]/page.tsx b/docs/app/(content)/getting-started/[slug]/page.tsx
index 337153567f..9043075ca4 100644
--- a/docs/app/(content)/getting-started/[slug]/page.tsx
+++ b/docs/app/(content)/getting-started/[slug]/page.tsx
@@ -3,7 +3,7 @@ import { Metadata } from 'next';
import { components } from 'docs-base/src/modules/common/MDXComponents';
import { getMarkdownPage, getMarkdownPageMetadata } from 'docs-base/src/utils/getMarkdownPage';
import { TableOfContents } from 'docs-base/src/modules/common/TableOfContents';
-import routes, { getSlugs } from 'docs-base/data/base/pages';
+import routes, { getSlugs } from 'docs-base/data/pages';
import { AppBar } from 'docs-base/src/modules/common/AppBar';
import { Navigation } from 'docs-base/src/modules/common/Navigation';
import classes from '../../styles.module.css';
diff --git a/docs/app/(content)/guides/[slug]/page.tsx b/docs/app/(content)/guides/[slug]/page.tsx
index 61590de94b..7b07b9a1cf 100644
--- a/docs/app/(content)/guides/[slug]/page.tsx
+++ b/docs/app/(content)/guides/[slug]/page.tsx
@@ -3,7 +3,7 @@ import { Metadata } from 'next';
import { components } from 'docs-base/src/modules/common/MDXComponents';
import { getMarkdownPage, getMarkdownPageMetadata } from 'docs-base/src/utils/getMarkdownPage';
import { TableOfContents } from 'docs-base/src/modules/common/TableOfContents';
-import routes, { getSlugs } from 'docs-base/data/base/pages';
+import routes, { getSlugs } from 'docs-base/data/pages';
import { AppBar } from 'docs-base/src/modules/common/AppBar';
import { Navigation } from 'docs-base/src/modules/common/Navigation';
import classes from '../../styles.module.css';
diff --git a/docs/data/base/api/alert-dialog-backdrop.json b/docs/data/api/alert-dialog-backdrop.json
similarity index 88%
rename from docs/data/base/api/alert-dialog-backdrop.json
rename to docs/data/api/alert-dialog-backdrop.json
index ced30b97d5..e4c113258d 100644
--- a/docs/data/base/api/alert-dialog-backdrop.json
+++ b/docs/data/api/alert-dialog-backdrop.json
@@ -15,6 +15,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/AlertDialog/Backdrop/AlertDialogBackdrop.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/alert-dialog-close.json b/docs/data/api/alert-dialog-close.json
similarity index 87%
rename from docs/data/base/api/alert-dialog-close.json
rename to docs/data/api/alert-dialog-close.json
index 3ae0ccd4b4..ed0de8e5c0 100644
--- a/docs/data/base/api/alert-dialog-close.json
+++ b/docs/data/api/alert-dialog-close.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/AlertDialog/Close/AlertDialogClose.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/alert-dialog-description.json b/docs/data/api/alert-dialog-description.json
similarity index 87%
rename from docs/data/base/api/alert-dialog-description.json
rename to docs/data/api/alert-dialog-description.json
index 2875bcc0a9..4004c33a33 100644
--- a/docs/data/base/api/alert-dialog-description.json
+++ b/docs/data/api/alert-dialog-description.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLParagraphElement",
"filename": "/packages/mui-base/src/AlertDialog/Description/AlertDialogDescription.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/alert-dialog-popup.json b/docs/data/api/alert-dialog-popup.json
similarity index 89%
rename from docs/data/base/api/alert-dialog-popup.json
rename to docs/data/api/alert-dialog-popup.json
index ea9878c52a..4e06422802 100644
--- a/docs/data/base/api/alert-dialog-popup.json
+++ b/docs/data/api/alert-dialog-popup.json
@@ -16,6 +16,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/AlertDialog/Popup/AlertDialogPopup.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/alert-dialog-root.json b/docs/data/api/alert-dialog-root.json
similarity index 86%
rename from docs/data/base/api/alert-dialog-root.json
rename to docs/data/api/alert-dialog-root.json
index a733c1d74f..dddc81760d 100644
--- a/docs/data/base/api/alert-dialog-root.json
+++ b/docs/data/api/alert-dialog-root.json
@@ -15,6 +15,6 @@
"muiName": "AlertDialogRoot",
"filename": "/packages/mui-base/src/AlertDialog/Root/AlertDialogRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/alert-dialog-title.json b/docs/data/api/alert-dialog-title.json
similarity index 87%
rename from docs/data/base/api/alert-dialog-title.json
rename to docs/data/api/alert-dialog-title.json
index cbea492a58..7d11d2f33c 100644
--- a/docs/data/base/api/alert-dialog-title.json
+++ b/docs/data/api/alert-dialog-title.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLHeadingElement",
"filename": "/packages/mui-base/src/AlertDialog/Title/AlertDialogTitle.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/alert-dialog-trigger.json b/docs/data/api/alert-dialog-trigger.json
similarity index 87%
rename from docs/data/base/api/alert-dialog-trigger.json
rename to docs/data/api/alert-dialog-trigger.json
index a2ba533cf7..e785893339 100644
--- a/docs/data/base/api/alert-dialog-trigger.json
+++ b/docs/data/api/alert-dialog-trigger.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/AlertDialog/Trigger/AlertDialogTrigger.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/checkbox-indicator.json b/docs/data/api/checkbox-indicator.json
similarity index 89%
rename from docs/data/base/api/checkbox-indicator.json
rename to docs/data/api/checkbox-indicator.json
index 85eddfd6e5..b4d7a04f53 100644
--- a/docs/data/base/api/checkbox-indicator.json
+++ b/docs/data/api/checkbox-indicator.json
@@ -15,6 +15,6 @@
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-base/src/Checkbox/Indicator/CheckboxIndicator.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/checkbox-root.json b/docs/data/api/checkbox-root.json
similarity index 94%
rename from docs/data/base/api/checkbox-root.json
rename to docs/data/api/checkbox-root.json
index 1c781a51cb..410ddfc1f0 100644
--- a/docs/data/base/api/checkbox-root.json
+++ b/docs/data/api/checkbox-root.json
@@ -33,6 +33,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/Checkbox/Root/CheckboxRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/click-away-listener.json b/docs/data/api/click-away-listener.json
similarity index 91%
rename from docs/data/base/api/click-away-listener.json
rename to docs/data/api/click-away-listener.json
index a9198e004b..b8fdec663b 100644
--- a/docs/data/base/api/click-away-listener.json
+++ b/docs/data/api/click-away-listener.json
@@ -26,6 +26,6 @@
"muiName": "ClickAwayListener",
"filename": "/packages/mui-base/src/legacy/ClickAwayListener/ClickAwayListener.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/dialog-backdrop.json b/docs/data/api/dialog-backdrop.json
similarity index 89%
rename from docs/data/base/api/dialog-backdrop.json
rename to docs/data/api/dialog-backdrop.json
index 1256870dac..041757b2b5 100644
--- a/docs/data/base/api/dialog-backdrop.json
+++ b/docs/data/api/dialog-backdrop.json
@@ -15,6 +15,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Dialog/Backdrop/DialogBackdrop.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/dialog-close.json b/docs/data/api/dialog-close.json
similarity index 87%
rename from docs/data/base/api/dialog-close.json
rename to docs/data/api/dialog-close.json
index 0f0791e752..f3c98f9ce0 100644
--- a/docs/data/base/api/dialog-close.json
+++ b/docs/data/api/dialog-close.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/Dialog/Close/DialogClose.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/dialog-description.json b/docs/data/api/dialog-description.json
similarity index 88%
rename from docs/data/base/api/dialog-description.json
rename to docs/data/api/dialog-description.json
index 995ec0670b..8733b10c70 100644
--- a/docs/data/base/api/dialog-description.json
+++ b/docs/data/api/dialog-description.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLParagraphElement",
"filename": "/packages/mui-base/src/Dialog/Description/DialogDescription.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/dialog-popup.json b/docs/data/api/dialog-popup.json
similarity index 90%
rename from docs/data/base/api/dialog-popup.json
rename to docs/data/api/dialog-popup.json
index 6cb5afbd1f..3072b9ff3c 100644
--- a/docs/data/base/api/dialog-popup.json
+++ b/docs/data/api/dialog-popup.json
@@ -16,6 +16,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Dialog/Popup/DialogPopup.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/dialog-root.json b/docs/data/api/dialog-root.json
similarity index 89%
rename from docs/data/base/api/dialog-root.json
rename to docs/data/api/dialog-root.json
index 478fe8acbe..20a26cb4fc 100644
--- a/docs/data/base/api/dialog-root.json
+++ b/docs/data/api/dialog-root.json
@@ -15,6 +15,6 @@
"muiName": "DialogRoot",
"filename": "/packages/mui-base/src/Dialog/Root/DialogRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/dialog-title.json b/docs/data/api/dialog-title.json
similarity index 87%
rename from docs/data/base/api/dialog-title.json
rename to docs/data/api/dialog-title.json
index c686160ca8..5a9cfb7e43 100644
--- a/docs/data/base/api/dialog-title.json
+++ b/docs/data/api/dialog-title.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLHeadingElement",
"filename": "/packages/mui-base/src/Dialog/Title/DialogTitle.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/dialog-trigger.json b/docs/data/api/dialog-trigger.json
similarity index 88%
rename from docs/data/base/api/dialog-trigger.json
rename to docs/data/api/dialog-trigger.json
index 04cc9b2212..08ba0d1edb 100644
--- a/docs/data/base/api/dialog-trigger.json
+++ b/docs/data/api/dialog-trigger.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/Dialog/Trigger/DialogTrigger.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/field-control.json b/docs/data/api/field-control.json
similarity index 88%
rename from docs/data/base/api/field-control.json
rename to docs/data/api/field-control.json
index edd786dac8..c6db9e9aa2 100644
--- a/docs/data/base/api/field-control.json
+++ b/docs/data/api/field-control.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLInputElement",
"filename": "/packages/mui-base/src/Field/Control/FieldControl.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/field-description.json b/docs/data/api/field-description.json
similarity index 88%
rename from docs/data/base/api/field-description.json
rename to docs/data/api/field-description.json
index 10f4d3e666..4654b11ac8 100644
--- a/docs/data/base/api/field-description.json
+++ b/docs/data/api/field-description.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLParagraphElement",
"filename": "/packages/mui-base/src/Field/Description/FieldDescription.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/field-error.json b/docs/data/api/field-error.json
similarity index 92%
rename from docs/data/base/api/field-error.json
rename to docs/data/api/field-error.json
index b6ebc23de9..970c3f775e 100644
--- a/docs/data/base/api/field-error.json
+++ b/docs/data/api/field-error.json
@@ -19,6 +19,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Field/Error/FieldError.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/field-label.json b/docs/data/api/field-label.json
similarity index 87%
rename from docs/data/base/api/field-label.json
rename to docs/data/api/field-label.json
index b965b8fac8..feebb4e277 100644
--- a/docs/data/base/api/field-label.json
+++ b/docs/data/api/field-label.json
@@ -12,6 +12,6 @@
"forwardsRefTo": "HTMLLabelElement",
"filename": "/packages/mui-base/src/Field/Label/FieldLabel.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/field-root.json b/docs/data/api/field-root.json
similarity index 91%
rename from docs/data/base/api/field-root.json
rename to docs/data/api/field-root.json
index cdb93b639a..8d1c6a0893 100644
--- a/docs/data/base/api/field-root.json
+++ b/docs/data/api/field-root.json
@@ -16,6 +16,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Field/Root/FieldRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/field-validity.json b/docs/data/api/field-validity.json
similarity index 82%
rename from docs/data/base/api/field-validity.json
rename to docs/data/api/field-validity.json
index 8ae6d577a7..39bbdadb2d 100644
--- a/docs/data/base/api/field-validity.json
+++ b/docs/data/api/field-validity.json
@@ -10,6 +10,6 @@
"muiName": "FieldValidity",
"filename": "/packages/mui-base/src/Field/Validity/FieldValidity.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/fieldset-legend.json b/docs/data/api/fieldset-legend.json
similarity index 87%
rename from docs/data/base/api/fieldset-legend.json
rename to docs/data/api/fieldset-legend.json
index 676f46fe0d..08643190ff 100644
--- a/docs/data/base/api/fieldset-legend.json
+++ b/docs/data/api/fieldset-legend.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-base/src/Fieldset/Legend/FieldsetLegend.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/fieldset-root.json b/docs/data/api/fieldset-root.json
similarity index 87%
rename from docs/data/base/api/fieldset-root.json
rename to docs/data/api/fieldset-root.json
index 52faf80619..cd34d7cfc4 100644
--- a/docs/data/base/api/fieldset-root.json
+++ b/docs/data/api/fieldset-root.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLFieldSetElement",
"filename": "/packages/mui-base/src/Fieldset/Root/FieldsetRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/focus-trap.json b/docs/data/api/focus-trap.json
similarity index 91%
rename from docs/data/base/api/focus-trap.json
rename to docs/data/api/focus-trap.json
index 89493cb807..1ebc33fa86 100644
--- a/docs/data/base/api/focus-trap.json
+++ b/docs/data/api/focus-trap.json
@@ -22,6 +22,6 @@
"muiName": "FocusTrap",
"filename": "/packages/mui-base/src/legacy/FocusTrap/FocusTrap.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/form-control.json b/docs/data/api/form-control.json
similarity index 92%
rename from docs/data/base/api/form-control.json
rename to docs/data/api/form-control.json
index 15e8de9e67..b799c1adc6 100644
--- a/docs/data/base/api/form-control.json
+++ b/docs/data/api/form-control.json
@@ -25,6 +25,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/legacy/FormControl/FormControl.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/menu-arrow.json b/docs/data/api/menu-arrow.json
similarity index 89%
rename from docs/data/base/api/menu-arrow.json
rename to docs/data/api/menu-arrow.json
index e03d97c5e5..026e242c14 100644
--- a/docs/data/base/api/menu-arrow.json
+++ b/docs/data/api/menu-arrow.json
@@ -13,6 +13,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Menu/Arrow/MenuArrow.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/menu-item.json b/docs/data/api/menu-item.json
similarity index 89%
rename from docs/data/base/api/menu-item.json
rename to docs/data/api/menu-item.json
index 33242a8ebd..639cb25160 100644
--- a/docs/data/base/api/menu-item.json
+++ b/docs/data/api/menu-item.json
@@ -15,6 +15,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Menu/Item/MenuItem.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/menu-popup.json b/docs/data/api/menu-popup.json
similarity index 88%
rename from docs/data/base/api/menu-popup.json
rename to docs/data/api/menu-popup.json
index b9877029ee..49cc98f616 100644
--- a/docs/data/base/api/menu-popup.json
+++ b/docs/data/api/menu-popup.json
@@ -13,6 +13,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Menu/Popup/MenuPopup.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/menu-positioner.json b/docs/data/api/menu-positioner.json
similarity index 96%
rename from docs/data/base/api/menu-positioner.json
rename to docs/data/api/menu-positioner.json
index 3a18b00470..f57d2e57bf 100644
--- a/docs/data/base/api/menu-positioner.json
+++ b/docs/data/api/menu-positioner.json
@@ -59,6 +59,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Menu/Positioner/MenuPositioner.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/menu-root.json b/docs/data/api/menu-root.json
similarity index 93%
rename from docs/data/base/api/menu-root.json
rename to docs/data/api/menu-root.json
index d09796e5eb..ead206e2b2 100644
--- a/docs/data/base/api/menu-root.json
+++ b/docs/data/api/menu-root.json
@@ -26,6 +26,6 @@
"muiName": "MenuRoot",
"filename": "/packages/mui-base/src/Menu/Root/MenuRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/menu-trigger.json b/docs/data/api/menu-trigger.json
similarity index 90%
rename from docs/data/base/api/menu-trigger.json
rename to docs/data/api/menu-trigger.json
index 231b072df3..05e73a2a82 100644
--- a/docs/data/base/api/menu-trigger.json
+++ b/docs/data/api/menu-trigger.json
@@ -15,6 +15,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/Menu/Trigger/MenuTrigger.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/no-ssr.json b/docs/data/api/no-ssr.json
similarity index 85%
rename from docs/data/base/api/no-ssr.json
rename to docs/data/api/no-ssr.json
index bce849fae7..17ef9a515e 100644
--- a/docs/data/base/api/no-ssr.json
+++ b/docs/data/api/no-ssr.json
@@ -12,6 +12,6 @@
"muiName": "NoSsr",
"filename": "/packages/mui-base/src/legacy/NoSsr/NoSsr.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/number-field-decrement.json b/docs/data/api/number-field-decrement.json
similarity index 87%
rename from docs/data/base/api/number-field-decrement.json
rename to docs/data/api/number-field-decrement.json
index 1da65c97bc..cd1e3cea37 100644
--- a/docs/data/base/api/number-field-decrement.json
+++ b/docs/data/api/number-field-decrement.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/NumberField/Decrement/NumberFieldDecrement.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/number-field-group.json b/docs/data/api/number-field-group.json
similarity index 87%
rename from docs/data/base/api/number-field-group.json
rename to docs/data/api/number-field-group.json
index 9d95b0598b..fc0aa6bafd 100644
--- a/docs/data/base/api/number-field-group.json
+++ b/docs/data/api/number-field-group.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/NumberField/Group/NumberFieldGroup.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/number-field-increment.json b/docs/data/api/number-field-increment.json
similarity index 87%
rename from docs/data/base/api/number-field-increment.json
rename to docs/data/api/number-field-increment.json
index 2add3d46d3..ccf741caea 100644
--- a/docs/data/base/api/number-field-increment.json
+++ b/docs/data/api/number-field-increment.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/NumberField/Increment/NumberFieldIncrement.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/number-field-input.json b/docs/data/api/number-field-input.json
similarity index 87%
rename from docs/data/base/api/number-field-input.json
rename to docs/data/api/number-field-input.json
index 3e1e864f78..e2252d7710 100644
--- a/docs/data/base/api/number-field-input.json
+++ b/docs/data/api/number-field-input.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLInputElement",
"filename": "/packages/mui-base/src/NumberField/Input/NumberFieldInput.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/number-field-root.json b/docs/data/api/number-field-root.json
similarity index 96%
rename from docs/data/base/api/number-field-root.json
rename to docs/data/api/number-field-root.json
index ae6a422bc8..e512204e11 100644
--- a/docs/data/base/api/number-field-root.json
+++ b/docs/data/api/number-field-root.json
@@ -42,6 +42,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/NumberField/Root/NumberFieldRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/number-field-scrub-area-cursor.json b/docs/data/api/number-field-scrub-area-cursor.json
similarity index 88%
rename from docs/data/base/api/number-field-scrub-area-cursor.json
rename to docs/data/api/number-field-scrub-area-cursor.json
index 35a61c44fc..095efebcb8 100644
--- a/docs/data/base/api/number-field-scrub-area-cursor.json
+++ b/docs/data/api/number-field-scrub-area-cursor.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-base/src/NumberField/ScrubAreaCursor/NumberFieldScrubAreaCursor.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/number-field-scrub-area.json b/docs/data/api/number-field-scrub-area.json
similarity index 90%
rename from docs/data/base/api/number-field-scrub-area.json
rename to docs/data/api/number-field-scrub-area.json
index 303673a875..f4c83c1085 100644
--- a/docs/data/base/api/number-field-scrub-area.json
+++ b/docs/data/api/number-field-scrub-area.json
@@ -20,6 +20,6 @@
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-base/src/NumberField/ScrubArea/NumberFieldScrubArea.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/option-group.json b/docs/data/api/option-group.json
similarity index 91%
rename from docs/data/base/api/option-group.json
rename to docs/data/api/option-group.json
index 43a30ea13c..0d1bafd8fd 100644
--- a/docs/data/base/api/option-group.json
+++ b/docs/data/api/option-group.json
@@ -26,6 +26,6 @@
"forwardsRefTo": "HTMLLIElement",
"filename": "/packages/mui-base/src/legacy/OptionGroup/OptionGroup.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/option.json b/docs/data/api/option.json
similarity index 90%
rename from docs/data/base/api/option.json
rename to docs/data/api/option.json
index b76fea09fb..10af8958f2 100644
--- a/docs/data/base/api/option.json
+++ b/docs/data/api/option.json
@@ -21,6 +21,6 @@
"forwardsRefTo": "HTMLLIElement",
"filename": "/packages/mui-base/src/legacy/Option/Option.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/popover-arrow.json b/docs/data/api/popover-arrow.json
similarity index 89%
rename from docs/data/base/api/popover-arrow.json
rename to docs/data/api/popover-arrow.json
index 48b5ba258f..278c8cfd65 100644
--- a/docs/data/base/api/popover-arrow.json
+++ b/docs/data/api/popover-arrow.json
@@ -15,6 +15,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Popover/Arrow/PopoverArrow.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/popover-backdrop.json b/docs/data/api/popover-backdrop.json
similarity index 90%
rename from docs/data/base/api/popover-backdrop.json
rename to docs/data/api/popover-backdrop.json
index 14ea5ffa0e..c2c9ea7605 100644
--- a/docs/data/base/api/popover-backdrop.json
+++ b/docs/data/api/popover-backdrop.json
@@ -19,6 +19,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Popover/Backdrop/PopoverBackdrop.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/popover-close.json b/docs/data/api/popover-close.json
similarity index 87%
rename from docs/data/base/api/popover-close.json
rename to docs/data/api/popover-close.json
index 4a61ef621f..31957848c9 100644
--- a/docs/data/base/api/popover-close.json
+++ b/docs/data/api/popover-close.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/Popover/Close/PopoverClose.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/popover-description.json b/docs/data/api/popover-description.json
similarity index 88%
rename from docs/data/base/api/popover-description.json
rename to docs/data/api/popover-description.json
index ac05beda57..b3eeb77f99 100644
--- a/docs/data/base/api/popover-description.json
+++ b/docs/data/api/popover-description.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLParagraphElement",
"filename": "/packages/mui-base/src/Popover/Description/PopoverDescription.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/popover-popup.json b/docs/data/api/popover-popup.json
similarity index 87%
rename from docs/data/base/api/popover-popup.json
rename to docs/data/api/popover-popup.json
index 74937e72b3..06a36805b0 100644
--- a/docs/data/base/api/popover-popup.json
+++ b/docs/data/api/popover-popup.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Popover/Popup/PopoverPopup.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/popover-positioner.json b/docs/data/api/popover-positioner.json
similarity index 96%
rename from docs/data/base/api/popover-positioner.json
rename to docs/data/api/popover-positioner.json
index 73e00c6d06..e40a2886ea 100644
--- a/docs/data/base/api/popover-positioner.json
+++ b/docs/data/api/popover-positioner.json
@@ -59,6 +59,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Popover/Positioner/PopoverPositioner.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/popover-root.json b/docs/data/api/popover-root.json
similarity index 92%
rename from docs/data/base/api/popover-root.json
rename to docs/data/api/popover-root.json
index 786ee24dce..7235da5dcb 100644
--- a/docs/data/base/api/popover-root.json
+++ b/docs/data/api/popover-root.json
@@ -26,6 +26,6 @@
"muiName": "PopoverRoot",
"filename": "/packages/mui-base/src/Popover/Root/PopoverRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/popover-title.json b/docs/data/api/popover-title.json
similarity index 87%
rename from docs/data/base/api/popover-title.json
rename to docs/data/api/popover-title.json
index 4b527795e4..239fcf2910 100644
--- a/docs/data/base/api/popover-title.json
+++ b/docs/data/api/popover-title.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLHeadingElement",
"filename": "/packages/mui-base/src/Popover/Title/PopoverTitle.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/popover-trigger.json b/docs/data/api/popover-trigger.json
similarity index 88%
rename from docs/data/base/api/popover-trigger.json
rename to docs/data/api/popover-trigger.json
index 48b6895388..cd6204789f 100644
--- a/docs/data/base/api/popover-trigger.json
+++ b/docs/data/api/popover-trigger.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/Popover/Trigger/PopoverTrigger.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/popup.json b/docs/data/api/popup.json
similarity index 96%
rename from docs/data/base/api/popup.json
rename to docs/data/api/popup.json
index b3945c372d..45bade2d94 100644
--- a/docs/data/base/api/popup.json
+++ b/docs/data/api/popup.json
@@ -52,6 +52,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/legacy/Unstable_Popup/Popup.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/portal.json b/docs/data/api/portal.json
similarity index 86%
rename from docs/data/base/api/portal.json
rename to docs/data/api/portal.json
index 8f99df400f..8ae3526537 100644
--- a/docs/data/base/api/portal.json
+++ b/docs/data/api/portal.json
@@ -12,6 +12,6 @@
"muiName": "Portal",
"filename": "/packages/mui-base/src/legacy/Portal/Portal.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/preview-card-arrow.json b/docs/data/api/preview-card-arrow.json
similarity index 88%
rename from docs/data/base/api/preview-card-arrow.json
rename to docs/data/api/preview-card-arrow.json
index 55330f1db5..a37473e607 100644
--- a/docs/data/base/api/preview-card-arrow.json
+++ b/docs/data/api/preview-card-arrow.json
@@ -15,6 +15,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/PreviewCard/Arrow/PreviewCardArrow.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/preview-card-backdrop.json b/docs/data/api/preview-card-backdrop.json
similarity index 89%
rename from docs/data/base/api/preview-card-backdrop.json
rename to docs/data/api/preview-card-backdrop.json
index 92809a18ee..ef40f420f1 100644
--- a/docs/data/base/api/preview-card-backdrop.json
+++ b/docs/data/api/preview-card-backdrop.json
@@ -16,6 +16,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/PreviewCard/Backdrop/PreviewCardBackdrop.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/preview-card-popup.json b/docs/data/api/preview-card-popup.json
similarity index 87%
rename from docs/data/base/api/preview-card-popup.json
rename to docs/data/api/preview-card-popup.json
index 3175bd3af0..3d1b7e10a0 100644
--- a/docs/data/base/api/preview-card-popup.json
+++ b/docs/data/api/preview-card-popup.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/PreviewCard/Popup/PreviewCardPopup.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/preview-card-positioner.json b/docs/data/api/preview-card-positioner.json
similarity index 96%
rename from docs/data/base/api/preview-card-positioner.json
rename to docs/data/api/preview-card-positioner.json
index b3364857d9..84141a8efb 100644
--- a/docs/data/base/api/preview-card-positioner.json
+++ b/docs/data/api/preview-card-positioner.json
@@ -59,6 +59,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/PreviewCard/Positioner/PreviewCardPositioner.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/preview-card-root.json b/docs/data/api/preview-card-root.json
similarity index 90%
rename from docs/data/base/api/preview-card-root.json
rename to docs/data/api/preview-card-root.json
index 0768357b05..02a5916f07 100644
--- a/docs/data/base/api/preview-card-root.json
+++ b/docs/data/api/preview-card-root.json
@@ -21,6 +21,6 @@
"muiName": "PreviewCardRoot",
"filename": "/packages/mui-base/src/PreviewCard/Root/PreviewCardRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/preview-card-trigger.json b/docs/data/api/preview-card-trigger.json
similarity index 87%
rename from docs/data/base/api/preview-card-trigger.json
rename to docs/data/api/preview-card-trigger.json
index 8f6e03f893..4fa0b2fa94 100644
--- a/docs/data/base/api/preview-card-trigger.json
+++ b/docs/data/api/preview-card-trigger.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLAnchorElement",
"filename": "/packages/mui-base/src/PreviewCard/Trigger/PreviewCardTrigger.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/progress-indicator.json b/docs/data/api/progress-indicator.json
similarity index 88%
rename from docs/data/base/api/progress-indicator.json
rename to docs/data/api/progress-indicator.json
index aa7e0347eb..533523f185 100644
--- a/docs/data/base/api/progress-indicator.json
+++ b/docs/data/api/progress-indicator.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-base/src/Progress/Indicator/ProgressIndicator.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/progress-root.json b/docs/data/api/progress-root.json
similarity index 94%
rename from docs/data/base/api/progress-root.json
rename to docs/data/api/progress-root.json
index 3f19432036..125c799f7f 100644
--- a/docs/data/base/api/progress-root.json
+++ b/docs/data/api/progress-root.json
@@ -38,6 +38,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Progress/Root/ProgressRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/progress-track.json b/docs/data/api/progress-track.json
similarity index 87%
rename from docs/data/base/api/progress-track.json
rename to docs/data/api/progress-track.json
index d3c67ca359..22ed962223 100644
--- a/docs/data/base/api/progress-track.json
+++ b/docs/data/api/progress-track.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-base/src/Progress/Track/ProgressTrack.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/select.json b/docs/data/api/select.json
similarity index 95%
rename from docs/data/base/api/select.json
rename to docs/data/api/select.json
index fb03ad00ec..a15215c7b8 100644
--- a/docs/data/base/api/select.json
+++ b/docs/data/api/select.json
@@ -42,6 +42,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/legacy/Select/Select.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/slider-control.json b/docs/data/api/slider-control.json
similarity index 88%
rename from docs/data/base/api/slider-control.json
rename to docs/data/api/slider-control.json
index 4afaf710f5..a5a029fd21 100644
--- a/docs/data/base/api/slider-control.json
+++ b/docs/data/api/slider-control.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-base/src/Slider/Control/SliderControl.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/slider-indicator.json b/docs/data/api/slider-indicator.json
similarity index 88%
rename from docs/data/base/api/slider-indicator.json
rename to docs/data/api/slider-indicator.json
index 2a5f48b7f0..f56dec0339 100644
--- a/docs/data/base/api/slider-indicator.json
+++ b/docs/data/api/slider-indicator.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-base/src/Slider/Indicator/SliderIndicator.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/slider-output.json b/docs/data/api/slider-output.json
similarity index 88%
rename from docs/data/base/api/slider-output.json
rename to docs/data/api/slider-output.json
index df302bc721..674878e398 100644
--- a/docs/data/base/api/slider-output.json
+++ b/docs/data/api/slider-output.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLOutputElement",
"filename": "/packages/mui-base/src/Slider/Output/SliderOutput.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/slider-root.json b/docs/data/api/slider-root.json
similarity index 96%
rename from docs/data/base/api/slider-root.json
rename to docs/data/api/slider-root.json
index 15286acf93..6c83045dcb 100644
--- a/docs/data/base/api/slider-root.json
+++ b/docs/data/api/slider-root.json
@@ -50,6 +50,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Slider/Root/SliderRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/slider-thumb.json b/docs/data/api/slider-thumb.json
similarity index 92%
rename from docs/data/base/api/slider-thumb.json
rename to docs/data/api/slider-thumb.json
index 23f15b78cb..17027ffd04 100644
--- a/docs/data/base/api/slider-thumb.json
+++ b/docs/data/api/slider-thumb.json
@@ -27,6 +27,6 @@
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-base/src/Slider/Thumb/SliderThumb.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/slider-track.json b/docs/data/api/slider-track.json
similarity index 87%
rename from docs/data/base/api/slider-track.json
rename to docs/data/api/slider-track.json
index 1ab887f9f7..e226d779a8 100644
--- a/docs/data/base/api/slider-track.json
+++ b/docs/data/api/slider-track.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-base/src/Slider/Track/SliderTrack.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/snackbar.json b/docs/data/api/snackbar.json
similarity index 94%
rename from docs/data/base/api/snackbar.json
rename to docs/data/api/snackbar.json
index 181f2297e7..fb31bbec7b 100644
--- a/docs/data/base/api/snackbar.json
+++ b/docs/data/api/snackbar.json
@@ -33,6 +33,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/legacy/Snackbar/Snackbar.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/submenu-trigger.json b/docs/data/api/submenu-trigger.json
similarity index 89%
rename from docs/data/base/api/submenu-trigger.json
rename to docs/data/api/submenu-trigger.json
index fc5a0e413f..1213f13295 100644
--- a/docs/data/base/api/submenu-trigger.json
+++ b/docs/data/api/submenu-trigger.json
@@ -12,6 +12,6 @@
"muiName": "SubmenuTrigger",
"filename": "/packages/mui-base/src/Menu/SubmenuTrigger/SubmenuTrigger.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/switch-root.json b/docs/data/api/switch-root.json
similarity index 94%
rename from docs/data/base/api/switch-root.json
rename to docs/data/api/switch-root.json
index 8fcc52fab4..b63432c278 100644
--- a/docs/data/base/api/switch-root.json
+++ b/docs/data/api/switch-root.json
@@ -27,6 +27,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/Switch/Root/SwitchRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/switch-thumb.json b/docs/data/api/switch-thumb.json
similarity index 87%
rename from docs/data/base/api/switch-thumb.json
rename to docs/data/api/switch-thumb.json
index a15a88fb8e..7da6d60ff7 100644
--- a/docs/data/base/api/switch-thumb.json
+++ b/docs/data/api/switch-thumb.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-base/src/Switch/Thumb/SwitchThumb.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/tab-indicator.json b/docs/data/api/tab-indicator.json
similarity index 89%
rename from docs/data/base/api/tab-indicator.json
rename to docs/data/api/tab-indicator.json
index decc72522d..e6661a7748 100644
--- a/docs/data/base/api/tab-indicator.json
+++ b/docs/data/api/tab-indicator.json
@@ -13,6 +13,6 @@
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-base/src/Tabs/TabIndicator/TabIndicator.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/tab-panel.json b/docs/data/api/tab-panel.json
similarity index 89%
rename from docs/data/base/api/tab-panel.json
rename to docs/data/api/tab-panel.json
index ceb7029362..dc09c16d64 100644
--- a/docs/data/base/api/tab-panel.json
+++ b/docs/data/api/tab-panel.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Tabs/TabPanel/TabPanel.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/tab.json b/docs/data/api/tab.json
similarity index 88%
rename from docs/data/base/api/tab.json
rename to docs/data/api/tab.json
index 9c202d603f..02c7d764cb 100644
--- a/docs/data/base/api/tab.json
+++ b/docs/data/api/tab.json
@@ -13,6 +13,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/Tabs/Tab/Tab.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/table-pagination.json b/docs/data/api/table-pagination.json
similarity index 96%
rename from docs/data/base/api/table-pagination.json
rename to docs/data/api/table-pagination.json
index 296aca8e6e..59eed69839 100644
--- a/docs/data/base/api/table-pagination.json
+++ b/docs/data/api/table-pagination.json
@@ -61,6 +61,6 @@
"forwardsRefTo": "HTMLTableCellElement",
"filename": "/packages/mui-base/src/legacy/TablePagination/TablePagination.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/tabs-list.json b/docs/data/api/tabs-list.json
similarity index 90%
rename from docs/data/base/api/tabs-list.json
rename to docs/data/api/tabs-list.json
index c54a616290..c6f0fd0e78 100644
--- a/docs/data/base/api/tabs-list.json
+++ b/docs/data/api/tabs-list.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Tabs/TabsList/TabsList.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/tabs-root.json b/docs/data/api/tabs-root.json
similarity index 92%
rename from docs/data/base/api/tabs-root.json
rename to docs/data/api/tabs-root.json
index 46d508e65e..1560c4cc23 100644
--- a/docs/data/base/api/tabs-root.json
+++ b/docs/data/api/tabs-root.json
@@ -23,6 +23,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Tabs/Root/TabsRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/textarea-autosize.json b/docs/data/api/textarea-autosize.json
similarity index 85%
rename from docs/data/base/api/textarea-autosize.json
rename to docs/data/api/textarea-autosize.json
index c82eae2b44..1d68ffac62 100644
--- a/docs/data/base/api/textarea-autosize.json
+++ b/docs/data/api/textarea-autosize.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLTextAreaElement",
"filename": "/packages/mui-base/src/legacy/TextareaAutosize/TextareaAutosize.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/tooltip-arrow.json b/docs/data/api/tooltip-arrow.json
similarity index 88%
rename from docs/data/base/api/tooltip-arrow.json
rename to docs/data/api/tooltip-arrow.json
index 61b36f53ef..b0c2e7756b 100644
--- a/docs/data/base/api/tooltip-arrow.json
+++ b/docs/data/api/tooltip-arrow.json
@@ -15,6 +15,6 @@
"forwardsRefTo": "Element",
"filename": "/packages/mui-base/src/Tooltip/Arrow/TooltipArrow.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/tooltip-popup.json b/docs/data/api/tooltip-popup.json
similarity index 87%
rename from docs/data/base/api/tooltip-popup.json
rename to docs/data/api/tooltip-popup.json
index df09d08b10..d9fb393ef9 100644
--- a/docs/data/base/api/tooltip-popup.json
+++ b/docs/data/api/tooltip-popup.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Tooltip/Popup/TooltipPopup.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/tooltip-positioner.json b/docs/data/api/tooltip-positioner.json
similarity index 96%
rename from docs/data/base/api/tooltip-positioner.json
rename to docs/data/api/tooltip-positioner.json
index 08dd615d30..d670049eb7 100644
--- a/docs/data/base/api/tooltip-positioner.json
+++ b/docs/data/api/tooltip-positioner.json
@@ -59,6 +59,6 @@
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/Tooltip/Positioner/TooltipPositioner.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/tooltip-provider.json b/docs/data/api/tooltip-provider.json
similarity index 87%
rename from docs/data/base/api/tooltip-provider.json
rename to docs/data/api/tooltip-provider.json
index 07c1024aba..aecb4bf44b 100644
--- a/docs/data/base/api/tooltip-provider.json
+++ b/docs/data/api/tooltip-provider.json
@@ -14,6 +14,6 @@
"muiName": "TooltipProvider",
"filename": "/packages/mui-base/src/Tooltip/Provider/TooltipProvider.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/tooltip-root.json b/docs/data/api/tooltip-root.json
similarity index 93%
rename from docs/data/base/api/tooltip-root.json
rename to docs/data/api/tooltip-root.json
index 98f3a278fe..f18183291c 100644
--- a/docs/data/base/api/tooltip-root.json
+++ b/docs/data/api/tooltip-root.json
@@ -29,6 +29,6 @@
"muiName": "TooltipRoot",
"filename": "/packages/mui-base/src/Tooltip/Root/TooltipRoot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/tooltip-trigger.json b/docs/data/api/tooltip-trigger.json
similarity index 88%
rename from docs/data/base/api/tooltip-trigger.json
rename to docs/data/api/tooltip-trigger.json
index bdb850291e..d7727ec84b 100644
--- a/docs/data/base/api/tooltip-trigger.json
+++ b/docs/data/api/tooltip-trigger.json
@@ -14,6 +14,6 @@
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-base/src/Tooltip/Trigger/TooltipTrigger.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/data/base/api/use-autocomplete.json b/docs/data/base/api/use-autocomplete.json
deleted file mode 100644
index 50aae6a5ca..0000000000
--- a/docs/data/base/api/use-autocomplete.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useAutocomplete",
- "filename": "/packages/mui-base/src/legacy/useAutocomplete/useAutocomplete.ts",
- "imports": ["import { useAutocomplete } from '@base_ui/react/legacy/useAutocomplete';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-checkbox-root.json b/docs/data/base/api/use-checkbox-root.json
deleted file mode 100644
index 6eef9e5384..0000000000
--- a/docs/data/base/api/use-checkbox-root.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "parameters": {
- "autoFocus": { "type": { "name": "boolean", "description": "boolean" }, "default": "false" },
- "checked": { "type": { "name": "boolean", "description": "boolean" }, "default": "undefined" },
- "defaultChecked": {
- "type": { "name": "boolean", "description": "boolean" },
- "default": "false"
- },
- "disabled": { "type": { "name": "boolean", "description": "boolean" }, "default": "false" },
- "id": { "type": { "name": "string", "description": "string" } },
- "indeterminate": {
- "type": { "name": "boolean", "description": "boolean" },
- "default": "false"
- },
- "inputRef": {
- "type": {
- "name": "React.Ref<HTMLInputElement>",
- "description": "React.Ref<HTMLInputElement>"
- }
- },
- "name": { "type": { "name": "string", "description": "string" }, "default": "undefined" },
- "onCheckedChange": {
- "type": {
- "name": "(checked: boolean, event: React.ChangeEvent<HTMLInputElement>) => void",
- "description": "(checked: boolean, event: React.ChangeEvent<HTMLInputElement>) => void"
- }
- },
- "readOnly": { "type": { "name": "boolean", "description": "boolean" }, "default": "false" },
- "required": { "type": { "name": "boolean", "description": "boolean" }, "default": "false" }
- },
- "returnValue": {
- "checked": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "getButtonProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'button'>) => React.ComponentPropsWithRef<'button'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'button'>) => React.ComponentPropsWithRef<'button'>"
- },
- "required": true
- },
- "getInputProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'input'>) => React.ComponentPropsWithRef<'input'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'input'>) => React.ComponentPropsWithRef<'input'>"
- },
- "required": true
- }
- },
- "name": "useCheckboxRoot",
- "filename": "/packages/mui-base/src/Checkbox/Root/useCheckboxRoot.ts",
- "imports": ["import { useCheckboxRoot } from '@base_ui/react/Checkbox';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-dialog-backdrop.json b/docs/data/base/api/use-dialog-backdrop.json
deleted file mode 100644
index 586c0c6532..0000000000
--- a/docs/data/base/api/use-dialog-backdrop.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useDialogBackdrop",
- "filename": "/packages/mui-base/src/Dialog/Backdrop/useDialogBackdrop.ts",
- "imports": ["import { useDialogBackdrop } from '@base_ui/react/Dialog';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-dialog-close.json b/docs/data/base/api/use-dialog-close.json
deleted file mode 100644
index e211a103dc..0000000000
--- a/docs/data/base/api/use-dialog-close.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "parameters": {
- "onOpenChange": {
- "type": { "name": "(open: boolean) => void", "description": "(open: boolean) => void" },
- "required": true
- },
- "open": { "type": { "name": "boolean", "description": "boolean" }, "required": true }
- },
- "returnValue": {
- "getRootProps": {
- "type": {
- "name": "(externalProps: React.HTMLAttributes<any>) => React.HTMLAttributes<any>",
- "description": "(externalProps: React.HTMLAttributes<any>) => React.HTMLAttributes<any>"
- },
- "required": true
- }
- },
- "name": "useDialogClose",
- "filename": "/packages/mui-base/src/Dialog/Close/useDialogClose.ts",
- "imports": ["import { useDialogClose } from '@base_ui/react/Dialog';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-dialog-popup.json b/docs/data/base/api/use-dialog-popup.json
deleted file mode 100644
index de4a07c643..0000000000
--- a/docs/data/base/api/use-dialog-popup.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "parameters": {
- "animated": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "descriptionElementId": {
- "type": { "name": "string | undefined", "description": "string | undefined" },
- "required": true
- },
- "isTopmost": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "modal": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "onOpenChange": {
- "type": { "name": "(open: boolean) => void", "description": "(open: boolean) => void" },
- "required": true
- },
- "open": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "ref": {
- "type": {
- "name": "React.Ref<HTMLElement>",
- "description": "React.Ref<HTMLElement>"
- },
- "required": true
- },
- "setPopupElementId": {
- "type": {
- "name": "(id: string | undefined) => void",
- "description": "(id: string | undefined) => void"
- },
- "required": true
- },
- "titleElementId": {
- "type": { "name": "string | undefined", "description": "string | undefined" },
- "required": true
- },
- "dismissible": { "type": { "name": "boolean", "description": "boolean" }, "default": "true" },
- "id": { "type": { "name": "string", "description": "string" } }
- },
- "returnValue": {
- "floatingContext": {
- "type": { "name": "FloatingContext", "description": "FloatingContext" },
- "required": true
- },
- "getRootProps": {
- "type": {
- "name": "(externalProps: React.ComponentPropsWithRef<'div'>) => React.ComponentPropsWithRef<'div'>",
- "description": "(externalProps: React.ComponentPropsWithRef<'div'>) => React.ComponentPropsWithRef<'div'>"
- },
- "required": true
- },
- "mounted": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "transitionStatus": {
- "type": { "name": "TransitionStatus", "description": "TransitionStatus" },
- "required": true
- }
- },
- "name": "useDialogPopup",
- "filename": "/packages/mui-base/src/Dialog/Popup/useDialogPopup.tsx",
- "imports": ["import { useDialogPopup } from '@base_ui/react/Dialog';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-dialog-root.json b/docs/data/base/api/use-dialog-root.json
deleted file mode 100644
index 322d329f22..0000000000
--- a/docs/data/base/api/use-dialog-root.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "parameters": {
- "animated": { "type": { "name": "boolean", "description": "boolean" }, "default": "true" },
- "defaultOpen": { "type": { "name": "boolean", "description": "boolean" } },
- "dismissible": { "type": { "name": "boolean", "description": "boolean" }, "default": "true" },
- "modal": { "type": { "name": "boolean", "description": "boolean" }, "default": "true" },
- "onNestedDialogClose": { "type": { "name": "() => void", "description": "() => void" } },
- "onNestedDialogOpen": {
- "type": {
- "name": "(ownChildrenCount: number) => void",
- "description": "(ownChildrenCount: number) => void"
- }
- },
- "onOpenChange": {
- "type": { "name": "(open: boolean) => void", "description": "(open: boolean) => void" }
- },
- "open": { "type": { "name": "boolean", "description": "boolean" } }
- },
- "returnValue": {
- "descriptionElementId": {
- "type": { "name": "string | undefined", "description": "string | undefined" },
- "required": true
- },
- "modal": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "nestedOpenDialogCount": {
- "type": { "name": "number", "description": "number" },
- "required": true
- },
- "onOpenChange": {
- "type": { "name": "(open: boolean) => void", "description": "(open: boolean) => void" },
- "required": true
- },
- "open": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "popupElementId": {
- "type": { "name": "string | undefined", "description": "string | undefined" },
- "required": true
- },
- "setBackdropPresent": {
- "type": {
- "name": "(present: boolean) => void",
- "description": "(present: boolean) => void"
- },
- "required": true
- },
- "setDescriptionElementId": {
- "type": {
- "name": "(elementId: string | undefined) => void",
- "description": "(elementId: string | undefined) => void"
- },
- "required": true
- },
- "setPopupElementId": {
- "type": {
- "name": "(elementId: string | undefined) => void",
- "description": "(elementId: string | undefined) => void"
- },
- "required": true
- },
- "setTitleElementId": {
- "type": {
- "name": "(elementId: string | undefined) => void",
- "description": "(elementId: string | undefined) => void"
- },
- "required": true
- },
- "titleElementId": {
- "type": { "name": "string | undefined", "description": "string | undefined" },
- "required": true
- },
- "onNestedDialogClose": { "type": { "name": "() => void", "description": "() => void" } },
- "onNestedDialogOpen": {
- "type": {
- "name": "(ownChildrenCount: number) => void",
- "description": "(ownChildrenCount: number) => void"
- }
- }
- },
- "name": "useDialogRoot",
- "filename": "/packages/mui-base/src/Dialog/Root/useDialogRoot.ts",
- "imports": ["import { useDialogRoot } from '@base_ui/react/Dialog';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-dialog-trigger.json b/docs/data/base/api/use-dialog-trigger.json
deleted file mode 100644
index db4e01530d..0000000000
--- a/docs/data/base/api/use-dialog-trigger.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "parameters": {
- "onOpenChange": {
- "type": { "name": "(open: boolean) => void", "description": "(open: boolean) => void" },
- "required": true
- },
- "open": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "popupElementId": {
- "type": { "name": "string | undefined", "description": "string | undefined" },
- "required": true
- }
- },
- "returnValue": {
- "getRootProps": {
- "type": {
- "name": "(externalProps?: React.HTMLAttributes<any>) => React.HTMLAttributes<any>",
- "description": "(externalProps?: React.HTMLAttributes<any>) => React.HTMLAttributes<any>"
- },
- "required": true
- }
- },
- "name": "useDialogTrigger",
- "filename": "/packages/mui-base/src/Dialog/Trigger/useDialogTrigger.ts",
- "imports": ["import { useDialogTrigger } from '@base_ui/react/Dialog';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-field-control-validation.json b/docs/data/base/api/use-field-control-validation.json
deleted file mode 100644
index cdec2d0960..0000000000
--- a/docs/data/base/api/use-field-control-validation.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useFieldControlValidation",
- "filename": "/packages/mui-base/src/Field/Control/useFieldControlValidation.ts",
- "imports": ["import { useFieldControlValidation } from '@base_ui/react/Field';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-field-control.json b/docs/data/base/api/use-field-control.json
deleted file mode 100644
index 046107b516..0000000000
--- a/docs/data/base/api/use-field-control.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useFieldControl",
- "filename": "/packages/mui-base/src/Field/Control/useFieldControl.ts",
- "imports": ["import { useFieldControl } from '@base_ui/react/Field';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-field-description.json b/docs/data/base/api/use-field-description.json
deleted file mode 100644
index 2ffa339b2c..0000000000
--- a/docs/data/base/api/use-field-description.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useFieldDescription",
- "filename": "/packages/mui-base/src/Field/Description/useFieldDescription.ts",
- "imports": ["import { useFieldDescription } from '@base_ui/react/Field';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-field-error.json b/docs/data/base/api/use-field-error.json
deleted file mode 100644
index bb6ef91797..0000000000
--- a/docs/data/base/api/use-field-error.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useFieldError",
- "filename": "/packages/mui-base/src/Field/Error/useFieldError.ts",
- "imports": ["import { useFieldError } from '@base_ui/react/Field';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-field-label.json b/docs/data/base/api/use-field-label.json
deleted file mode 100644
index d9fb21e0d4..0000000000
--- a/docs/data/base/api/use-field-label.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useFieldLabel",
- "filename": "/packages/mui-base/src/Field/Label/useFieldLabel.ts",
- "imports": ["import { useFieldLabel } from '@base_ui/react/Field';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-fieldset-legend.json b/docs/data/base/api/use-fieldset-legend.json
deleted file mode 100644
index a85481c3a9..0000000000
--- a/docs/data/base/api/use-fieldset-legend.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useFieldsetLegend",
- "filename": "/packages/mui-base/src/Fieldset/Legend/useFieldsetLegend.ts",
- "imports": ["import { useFieldsetLegend } from '@base_ui/react/Fieldset';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-fieldset-root.json b/docs/data/base/api/use-fieldset-root.json
deleted file mode 100644
index 348053d7e5..0000000000
--- a/docs/data/base/api/use-fieldset-root.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useFieldsetRoot",
- "filename": "/packages/mui-base/src/Fieldset/Root/useFieldsetRoot.ts",
- "imports": ["import { useFieldsetRoot } from '@base_ui/react/Fieldset';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-form-control-context.json b/docs/data/base/api/use-form-control-context.json
deleted file mode 100644
index 9b7fc07c13..0000000000
--- a/docs/data/base/api/use-form-control-context.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useFormControlContext",
- "filename": "/packages/mui-base/src/legacy/FormControl/useFormControlContext.ts",
- "imports": ["import { useFormControlContext } from '@base_ui/react/legacy/FormControl';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-menu-arrow.json b/docs/data/base/api/use-menu-arrow.json
deleted file mode 100644
index 2caebb442c..0000000000
--- a/docs/data/base/api/use-menu-arrow.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useMenuArrow",
- "filename": "/packages/mui-base/src/Menu/Arrow/useMenuArrow.ts",
- "imports": ["import { useMenuArrow } from '@base_ui/react/Menu';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-menu-item.json b/docs/data/base/api/use-menu-item.json
deleted file mode 100644
index 447e11f141..0000000000
--- a/docs/data/base/api/use-menu-item.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useMenuItem",
- "filename": "/packages/mui-base/src/Menu/Item/useMenuItem.ts",
- "imports": ["import { useMenuItem } from '@base_ui/react/Menu';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-menu-popup.json b/docs/data/base/api/use-menu-popup.json
deleted file mode 100644
index d0a0a34d06..0000000000
--- a/docs/data/base/api/use-menu-popup.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useMenuPopup",
- "filename": "/packages/mui-base/src/Menu/Popup/useMenuPopup.ts",
- "imports": ["import { useMenuPopup } from '@base_ui/react/Menu';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-menu-positioner.json b/docs/data/base/api/use-menu-positioner.json
deleted file mode 100644
index 307a3ac646..0000000000
--- a/docs/data/base/api/use-menu-positioner.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useMenuPositioner",
- "filename": "/packages/mui-base/src/Menu/Positioner/useMenuPositioner.ts",
- "imports": ["import { useMenuPositioner } from '@base_ui/react/Menu';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-menu-root.json b/docs/data/base/api/use-menu-root.json
deleted file mode 100644
index e93c096533..0000000000
--- a/docs/data/base/api/use-menu-root.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useMenuRoot",
- "filename": "/packages/mui-base/src/Menu/Root/useMenuRoot.ts",
- "imports": ["import { useMenuRoot } from '@base_ui/react/Menu';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-menu-trigger.json b/docs/data/base/api/use-menu-trigger.json
deleted file mode 100644
index f83b4b083e..0000000000
--- a/docs/data/base/api/use-menu-trigger.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useMenuTrigger",
- "filename": "/packages/mui-base/src/Menu/Trigger/useMenuTrigger.ts",
- "imports": ["import { useMenuTrigger } from '@base_ui/react/Menu';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-number-field-root.json b/docs/data/base/api/use-number-field-root.json
deleted file mode 100644
index c99b9646e7..0000000000
--- a/docs/data/base/api/use-number-field-root.json
+++ /dev/null
@@ -1,113 +0,0 @@
-{
- "parameters": {
- "allowWheelScrub": {
- "type": { "name": "boolean", "description": "boolean" },
- "default": "false"
- },
- "autoFocus": { "type": { "name": "boolean", "description": "boolean" }, "default": "false" },
- "defaultValue": { "type": { "name": "number", "description": "number" } },
- "disabled": { "type": { "name": "boolean", "description": "boolean" }, "default": "false" },
- "format": {
- "type": { "name": "Intl.NumberFormatOptions", "description": "Intl.NumberFormatOptions" }
- },
- "id": { "type": { "name": "string", "description": "string" } },
- "invalid": { "type": { "name": "boolean", "description": "boolean" }, "default": "false" },
- "largeStep": { "type": { "name": "number", "description": "number" }, "default": "10" },
- "max": { "type": { "name": "number", "description": "number" } },
- "min": { "type": { "name": "number", "description": "number" } },
- "name": { "type": { "name": "string", "description": "string" } },
- "onValueChange": {
- "type": {
- "name": "(value: number | null, event?: Event) => void",
- "description": "(value: number | null, event?: Event) => void"
- }
- },
- "readOnly": { "type": { "name": "boolean", "description": "boolean" }, "default": "false" },
- "required": { "type": { "name": "boolean", "description": "boolean" }, "default": "false" },
- "smallStep": { "type": { "name": "number", "description": "number" }, "default": "0.1" },
- "step": { "type": { "name": "number", "description": "number" } },
- "value": { "type": { "name": "number | null", "description": "number | null" } }
- },
- "returnValue": {
- "getDecrementButtonProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'button'>) => React.ComponentPropsWithRef<'button'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'button'>) => React.ComponentPropsWithRef<'button'>"
- },
- "required": true
- },
- "getGroupProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'div'>) => React.ComponentPropsWithRef<'div'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'div'>) => React.ComponentPropsWithRef<'div'>"
- },
- "required": true
- },
- "getIncrementButtonProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'button'>) => React.ComponentPropsWithRef<'button'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'button'>) => React.ComponentPropsWithRef<'button'>"
- },
- "required": true
- },
- "getInputProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'input'>) => React.ComponentPropsWithRef<'input'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'input'>) => React.ComponentPropsWithRef<'input'>"
- },
- "required": true
- },
- "getScrubAreaCursorProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'span'>) => React.ComponentPropsWithRef<'span'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'span'>) => React.ComponentPropsWithRef<'span'>"
- },
- "required": true
- },
- "getScrubAreaProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'span'>) => React.ComponentPropsWithRef<'span'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'span'>) => React.ComponentPropsWithRef<'span'>"
- },
- "required": true
- },
- "inputRef": {
- "type": {
- "name": "((instance: HTMLInputElement | null) => void) | null",
- "description": "((instance: HTMLInputElement | null) => void) | null"
- },
- "required": true
- },
- "inputValue": { "type": { "name": "string", "description": "string" }, "required": true },
- "isScrubbing": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "scrubAreaCursorRef": {
- "type": {
- "name": "React.RefObject<HTMLSpanElement>",
- "description": "React.RefObject<HTMLSpanElement>"
- },
- "required": true
- },
- "scrubAreaRef": {
- "type": {
- "name": "React.RefObject<HTMLSpanElement>",
- "description": "React.RefObject<HTMLSpanElement>"
- },
- "required": true
- },
- "scrubHandleRef": {
- "type": {
- "name": "React.RefObject<ScrubHandle | null>",
- "description": "React.RefObject<ScrubHandle | null>"
- },
- "required": true
- },
- "value": {
- "type": { "name": "number | null", "description": "number | null" },
- "required": true
- }
- },
- "name": "useNumberFieldRoot",
- "filename": "/packages/mui-base/src/NumberField/Root/useNumberFieldRoot.ts",
- "imports": ["import { useNumberFieldRoot } from '@base_ui/react/NumberField';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-option-context-stabilizer.json b/docs/data/base/api/use-option-context-stabilizer.json
deleted file mode 100644
index d127d575a4..0000000000
--- a/docs/data/base/api/use-option-context-stabilizer.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useOptionContextStabilizer",
- "filename": "/packages/mui-base/src/legacy/useOption/useOptionContextStabilizer.ts",
- "imports": ["import { useOptionContextStabilizer } from '@base_ui/react/legacy/useOption';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-option.json b/docs/data/base/api/use-option.json
deleted file mode 100644
index ea2b7e7e2d..0000000000
--- a/docs/data/base/api/use-option.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useOption",
- "filename": "/packages/mui-base/src/legacy/useOption/useOption.ts",
- "imports": ["import { useOption } from '@base_ui/react/legacy/useOption';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-popover-arrow.json b/docs/data/base/api/use-popover-arrow.json
deleted file mode 100644
index f6339c1bc9..0000000000
--- a/docs/data/base/api/use-popover-arrow.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "usePopoverArrow",
- "filename": "/packages/mui-base/src/Popover/Arrow/usePopoverArrow.ts",
- "imports": ["import { usePopoverArrow } from '@base_ui/react/Popover';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-popover-backdrop.json b/docs/data/base/api/use-popover-backdrop.json
deleted file mode 100644
index 7b16a95e78..0000000000
--- a/docs/data/base/api/use-popover-backdrop.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "usePopoverBackdrop",
- "filename": "/packages/mui-base/src/Popover/Backdrop/usePopoverBackdrop.ts",
- "imports": ["import { usePopoverBackdrop } from '@base_ui/react/Popover';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-popover-close.json b/docs/data/base/api/use-popover-close.json
deleted file mode 100644
index 5e80531969..0000000000
--- a/docs/data/base/api/use-popover-close.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "usePopoverClose",
- "filename": "/packages/mui-base/src/Popover/Close/usePopoverClose.ts",
- "imports": ["import { usePopoverClose } from '@base_ui/react/Popover';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-popover-description.json b/docs/data/base/api/use-popover-description.json
deleted file mode 100644
index e7c00b2ec3..0000000000
--- a/docs/data/base/api/use-popover-description.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "usePopoverDescription",
- "filename": "/packages/mui-base/src/Popover/Description/usePopoverDescription.ts",
- "imports": ["import { usePopoverDescription } from '@base_ui/react/Popover';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-popover-popup.json b/docs/data/base/api/use-popover-popup.json
deleted file mode 100644
index e7d47cf59a..0000000000
--- a/docs/data/base/api/use-popover-popup.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "usePopoverPopup",
- "filename": "/packages/mui-base/src/Popover/Popup/usePopoverPopup.ts",
- "imports": ["import { usePopoverPopup } from '@base_ui/react/Popover';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-popover-positioner.json b/docs/data/base/api/use-popover-positioner.json
deleted file mode 100644
index f490684f55..0000000000
--- a/docs/data/base/api/use-popover-positioner.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "usePopoverPositioner",
- "filename": "/packages/mui-base/src/Popover/Positioner/usePopoverPositioner.tsx",
- "imports": ["import { usePopoverPositioner } from '@base_ui/react/Popover';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-popover-root.json b/docs/data/base/api/use-popover-root.json
deleted file mode 100644
index b10a4c5b77..0000000000
--- a/docs/data/base/api/use-popover-root.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "usePopoverRoot",
- "filename": "/packages/mui-base/src/Popover/Root/usePopoverRoot.ts",
- "imports": ["import { usePopoverRoot } from '@base_ui/react/Popover';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-popover-title.json b/docs/data/base/api/use-popover-title.json
deleted file mode 100644
index dbabcbde0c..0000000000
--- a/docs/data/base/api/use-popover-title.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "usePopoverTitle",
- "filename": "/packages/mui-base/src/Popover/Title/usePopoverTitle.ts",
- "imports": ["import { usePopoverTitle } from '@base_ui/react/Popover';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-preview-card-arrow.json b/docs/data/base/api/use-preview-card-arrow.json
deleted file mode 100644
index 1c6eae5075..0000000000
--- a/docs/data/base/api/use-preview-card-arrow.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "usePreviewCardArrow",
- "filename": "/packages/mui-base/src/PreviewCard/Arrow/usePreviewCardArrow.ts",
- "imports": ["import { usePreviewCardArrow } from '@base_ui/react/PreviewCard';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-preview-card-backdrop.json b/docs/data/base/api/use-preview-card-backdrop.json
deleted file mode 100644
index 48d7cac434..0000000000
--- a/docs/data/base/api/use-preview-card-backdrop.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "usePreviewCardBackdrop",
- "filename": "/packages/mui-base/src/PreviewCard/Backdrop/usePreviewCardBackdrop.ts",
- "imports": ["import { usePreviewCardBackdrop } from '@base_ui/react/PreviewCard';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-preview-card-popup.json b/docs/data/base/api/use-preview-card-popup.json
deleted file mode 100644
index eb047dc18d..0000000000
--- a/docs/data/base/api/use-preview-card-popup.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "usePreviewCardPopup",
- "filename": "/packages/mui-base/src/PreviewCard/Popup/usePreviewCardPopup.ts",
- "imports": ["import { usePreviewCardPopup } from '@base_ui/react/PreviewCard';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-preview-card-positioner.json b/docs/data/base/api/use-preview-card-positioner.json
deleted file mode 100644
index 00554df224..0000000000
--- a/docs/data/base/api/use-preview-card-positioner.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "usePreviewCardPositioner",
- "filename": "/packages/mui-base/src/PreviewCard/Positioner/usePreviewCardPositioner.ts",
- "imports": ["import { usePreviewCardPositioner } from '@base_ui/react/PreviewCard';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-preview-card-root.json b/docs/data/base/api/use-preview-card-root.json
deleted file mode 100644
index 116a1eccd4..0000000000
--- a/docs/data/base/api/use-preview-card-root.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "usePreviewCardRoot",
- "filename": "/packages/mui-base/src/PreviewCard/Root/usePreviewCardRoot.ts",
- "imports": ["import { usePreviewCardRoot } from '@base_ui/react/PreviewCard';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-progress-indicator.json b/docs/data/base/api/use-progress-indicator.json
deleted file mode 100644
index 7d06812894..0000000000
--- a/docs/data/base/api/use-progress-indicator.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "parameters": {
- "value": {
- "type": { "name": "number | null", "description": "number | null" },
- "required": true
- },
- "direction": {
- "type": { "name": "ProgressDirection", "description": "ProgressDirection" },
- "default": "'ltr'"
- },
- "max": { "type": { "name": "number", "description": "number" }, "default": "100" },
- "min": { "type": { "name": "number", "description": "number" }, "default": "0" }
- },
- "returnValue": {
- "getRootProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'span'>) => React.ComponentPropsWithRef<'span'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'span'>) => React.ComponentPropsWithRef<'span'>"
- },
- "required": true
- }
- },
- "name": "useProgressIndicator",
- "filename": "/packages/mui-base/src/Progress/Indicator/useProgressIndicator.ts",
- "imports": ["import { useProgressIndicator } from '@base_ui/react/Progress';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-progress-root.json b/docs/data/base/api/use-progress-root.json
deleted file mode 100644
index bd60ccd8f7..0000000000
--- a/docs/data/base/api/use-progress-root.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "parameters": {
- "value": {
- "type": { "name": "number | null", "description": "number | null" },
- "default": "null",
- "required": true
- },
- "aria-label": { "type": { "name": "string", "description": "string" } },
- "aria-labelledby": { "type": { "name": "string", "description": "string" } },
- "aria-valuetext": { "type": { "name": "string", "description": "string" } },
- "direction": {
- "type": { "name": "ProgressDirection", "description": "ProgressDirection" },
- "default": "'ltr'"
- },
- "getAriaLabel": {
- "type": {
- "name": "(index: number | null) => string",
- "description": "(index: number | null) => string"
- }
- },
- "getAriaValueText": {
- "type": {
- "name": "(value: number | null) => string",
- "description": "(value: number | null) => string"
- }
- },
- "max": { "type": { "name": "number", "description": "number" }, "default": "100" },
- "min": { "type": { "name": "number", "description": "number" }, "default": "0" }
- },
- "returnValue": {
- "direction": {
- "type": { "name": "ProgressDirection", "description": "ProgressDirection" },
- "required": true
- },
- "getRootProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'div'>) => React.ComponentPropsWithRef<'div'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'div'>) => React.ComponentPropsWithRef<'div'>"
- },
- "required": true
- },
- "max": { "type": { "name": "number", "description": "number" }, "required": true },
- "min": { "type": { "name": "number", "description": "number" }, "required": true },
- "state": {
- "type": { "name": "ProgressStatus", "description": "ProgressStatus" },
- "required": true
- },
- "value": {
- "type": { "name": "number | null", "description": "number | null" },
- "required": true
- }
- },
- "name": "useProgressRoot",
- "filename": "/packages/mui-base/src/Progress/Root/useProgressRoot.ts",
- "imports": ["import { useProgressRoot } from '@base_ui/react/Progress';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-scroll-lock.json b/docs/data/base/api/use-scroll-lock.json
deleted file mode 100644
index fd34aaa559..0000000000
--- a/docs/data/base/api/use-scroll-lock.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useScrollLock",
- "filename": "/packages/mui-base/src/utils/useScrollLock.ts",
- "imports": ["import { useScrollLock } from '@base_ui/react/utils';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-select.json b/docs/data/base/api/use-select.json
deleted file mode 100644
index b311036ee7..0000000000
--- a/docs/data/base/api/use-select.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useSelect",
- "filename": "/packages/mui-base/src/legacy/useSelect/useSelect.ts",
- "imports": ["import { useSelect } from '@base_ui/react/legacy/useSelect';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-slider-control.json b/docs/data/base/api/use-slider-control.json
deleted file mode 100644
index 09f6c294a3..0000000000
--- a/docs/data/base/api/use-slider-control.json
+++ /dev/null
@@ -1,97 +0,0 @@
-{
- "parameters": {
- "areValuesEqual": {
- "type": {
- "name": "(newValue: number | ReadonlyArray<number>) => boolean",
- "description": "(newValue: number | ReadonlyArray<number>) => boolean"
- },
- "required": true
- },
- "disabled": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "dragging": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "getFingerNewValue": {
- "type": {
- "name": "(args: { finger: { x: number; y: number }; move?: boolean; offset?: number; activeIndex?: number }) => { newValue: number | number[]; activeIndex: number; newPercentageValue: number } | null",
- "description": "(args: { finger: { x: number; y: number }; move?: boolean; offset?: number; activeIndex?: number }) => { newValue: number | number[]; activeIndex: number; newPercentageValue: number } | null"
- },
- "required": true
- },
- "handleValueChange": {
- "type": {
- "name": "(value: number | number[], activeThumb: number, event: React.SyntheticEvent | Event) => void",
- "description": "(value: number | number[], activeThumb: number, event: React.SyntheticEvent | Event) => void"
- },
- "required": true
- },
- "minStepsBetweenValues": {
- "type": { "name": "number", "description": "number" },
- "required": true
- },
- "percentageValues": {
- "type": { "name": "readonly number[]", "description": "readonly number[]" },
- "required": true
- },
- "registerSliderControl": {
- "type": {
- "name": "(element: HTMLElement | null) => void",
- "description": "(element: HTMLElement | null) => void"
- },
- "required": true
- },
- "setActive": {
- "type": {
- "name": "(activeIndex: number) => void",
- "description": "(activeIndex: number) => void"
- },
- "required": true
- },
- "setDragging": {
- "type": {
- "name": "(isDragging: boolean) => void",
- "description": "(isDragging: boolean) => void"
- },
- "required": true
- },
- "setValueState": {
- "type": {
- "name": "(newValue: number | number[]) => void",
- "description": "(newValue: number | number[]) => void"
- },
- "required": true
- },
- "step": {
- "type": { "name": "number", "description": "number" },
- "default": "1",
- "required": true
- },
- "subitems": {
- "type": {
- "name": "Map<string, SliderThumbMetadata>",
- "description": "Map<string, SliderThumbMetadata>"
- },
- "required": true
- },
- "onValueCommitted": {
- "type": {
- "name": "(value: number | number[], event: Event) => void",
- "description": "(value: number | number[], event: Event) => void"
- }
- },
- "rootRef": {
- "type": { "name": "React.Ref<Element>", "description": "React.Ref<Element>" }
- }
- },
- "returnValue": {
- "getRootProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'span'>) => React.ComponentPropsWithRef<'span'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'span'>) => React.ComponentPropsWithRef<'span'>"
- },
- "required": true
- }
- },
- "name": "useSliderControl",
- "filename": "/packages/mui-base/src/Slider/Control/useSliderControl.ts",
- "imports": ["import { useSliderControl } from '@base_ui/react/Slider';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-slider-indicator.json b/docs/data/base/api/use-slider-indicator.json
deleted file mode 100644
index 99804a863e..0000000000
--- a/docs/data/base/api/use-slider-indicator.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "parameters": {
- "axis": { "type": { "name": "Axis", "description": "Axis" }, "required": true },
- "direction": {
- "type": { "name": "SliderDirection", "description": "SliderDirection" },
- "required": true
- },
- "disabled": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "orientation": {
- "type": { "name": "SliderOrientation", "description": "SliderOrientation" },
- "default": "'horizontal'",
- "required": true
- },
- "percentageValues": {
- "type": { "name": "readonly number[]", "description": "readonly number[]" },
- "required": true
- }
- },
- "returnValue": {
- "getRootProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'span'>) => React.ComponentPropsWithRef<'span'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'span'>) => React.ComponentPropsWithRef<'span'>"
- },
- "required": true
- }
- },
- "name": "useSliderIndicator",
- "filename": "/packages/mui-base/src/Slider/Indicator/useSliderIndicator.ts",
- "imports": ["import { useSliderIndicator } from '@base_ui/react/Slider';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-slider-output.json b/docs/data/base/api/use-slider-output.json
deleted file mode 100644
index 3ce082ab3c..0000000000
--- a/docs/data/base/api/use-slider-output.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "parameters": {
- "subitems": {
- "type": {
- "name": "Map<string, SliderThumbMetadata>",
- "description": "Map<string, SliderThumbMetadata>"
- },
- "required": true
- },
- "aria-live": {
- "type": {
- "name": "React.AriaAttributes['aria-live']",
- "description": "React.AriaAttributes['aria-live']"
- }
- }
- },
- "returnValue": {
- "getRootProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'output'>) => React.ComponentPropsWithRef<'output'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'output'>) => React.ComponentPropsWithRef<'output'>"
- },
- "required": true
- }
- },
- "name": "useSliderOutput",
- "filename": "/packages/mui-base/src/Slider/Output/useSliderOutput.ts",
- "imports": ["import { useSliderOutput } from '@base_ui/react/Slider';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-slider-root.json b/docs/data/base/api/use-slider-root.json
deleted file mode 100644
index 041d861a32..0000000000
--- a/docs/data/base/api/use-slider-root.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useSliderRoot",
- "filename": "/packages/mui-base/src/Slider/Root/useSliderRoot.ts",
- "imports": ["import { useSliderRoot } from '@base_ui/react/Slider';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-slider-thumb.json b/docs/data/base/api/use-slider-thumb.json
deleted file mode 100644
index 9dce5cfb6b..0000000000
--- a/docs/data/base/api/use-slider-thumb.json
+++ /dev/null
@@ -1,105 +0,0 @@
-{
- "parameters": {
- "active": { "type": { "name": "number", "description": "number" }, "required": true },
- "axis": { "type": { "name": "Axis", "description": "Axis" }, "required": true },
- "changeValue": {
- "type": {
- "name": "(valueInput: number, index: number, event: React.KeyboardEvent | React.ChangeEvent) => void",
- "description": "(valueInput: number, index: number, event: React.KeyboardEvent | React.ChangeEvent) => void"
- },
- "required": true
- },
- "direction": {
- "type": { "name": "SliderDirection", "description": "SliderDirection" },
- "required": true
- },
- "largeStep": {
- "type": { "name": "number", "description": "number" },
- "default": "10",
- "required": true
- },
- "max": { "type": { "name": "number", "description": "number" }, "required": true },
- "min": { "type": { "name": "number", "description": "number" }, "required": true },
- "minStepsBetweenValues": {
- "type": { "name": "number", "description": "number" },
- "required": true
- },
- "orientation": {
- "type": { "name": "SliderOrientation", "description": "SliderOrientation" },
- "default": "'horizontal'",
- "required": true
- },
- "percentageValues": {
- "type": { "name": "readonly number[]", "description": "readonly number[]" },
- "required": true
- },
- "step": {
- "type": { "name": "number", "description": "number" },
- "default": "1",
- "required": true
- },
- "values": {
- "type": { "name": "readonly number[]", "description": "readonly number[]" },
- "required": true
- },
- "aria-label": { "type": { "name": "string", "description": "string" } },
- "aria-labelledby": { "type": { "name": "string", "description": "string" } },
- "aria-valuetext": { "type": { "name": "string", "description": "string" } },
- "disabled": { "type": { "name": "boolean", "description": "boolean" } },
- "getAriaLabel": {
- "type": {
- "name": "(index: number) => string",
- "description": "(index: number) => string"
- }
- },
- "getAriaValueText": {
- "type": {
- "name": "(value: number, index: number) => string",
- "description": "(value: number, index: number) => string"
- }
- },
- "id": { "type": { "name": "string", "description": "string" } },
- "name": { "type": { "name": "string", "description": "string" } },
- "onBlur": {
- "type": { "name": "React.FocusEventHandler", "description": "React.FocusEventHandler" }
- },
- "onFocus": {
- "type": { "name": "React.FocusEventHandler", "description": "React.FocusEventHandler" }
- },
- "onKeyDown": {
- "type": { "name": "React.KeyboardEventHandler", "description": "React.KeyboardEventHandler" }
- },
- "rootRef": {
- "type": { "name": "React.Ref<Element>", "description": "React.Ref<Element>" }
- },
- "tabIndex": { "type": { "name": "number", "description": "number" } }
- },
- "returnValue": {
- "getRootProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<React.ElementType>) => React.ComponentPropsWithRef<React.ElementType>",
- "description": "(externalProps?: React.ComponentPropsWithRef<React.ElementType>) => React.ComponentPropsWithRef<React.ElementType>"
- },
- "required": true
- },
- "getThumbInputProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'input'>) => React.ComponentPropsWithRef<'input'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'input'>) => React.ComponentPropsWithRef<'input'>"
- },
- "required": true
- },
- "getThumbStyle": {
- "type": {
- "name": "(index: number) => Record<string, unknown>",
- "description": "(index: number) => Record<string, unknown>"
- },
- "required": true
- },
- "index": { "type": { "name": "number", "description": "number" }, "required": true }
- },
- "name": "useSliderThumb",
- "filename": "/packages/mui-base/src/Slider/Thumb/useSliderThumb.ts",
- "imports": ["import { useSliderThumb } from '@base_ui/react/Slider';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-snackbar.json b/docs/data/base/api/use-snackbar.json
deleted file mode 100644
index e3e903574a..0000000000
--- a/docs/data/base/api/use-snackbar.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useSnackbar",
- "filename": "/packages/mui-base/src/legacy/useSnackbar/useSnackbar.ts",
- "imports": ["import { useSnackbar } from '@base_ui/react/legacy/useSnackbar';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-submenu-trigger.json b/docs/data/base/api/use-submenu-trigger.json
deleted file mode 100644
index 11e7831041..0000000000
--- a/docs/data/base/api/use-submenu-trigger.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useSubmenuTrigger",
- "filename": "/packages/mui-base/src/Menu/SubmenuTrigger/useSubmenuTrigger.ts",
- "imports": ["import { useSubmenuTrigger } from '@base_ui/react/Menu';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-switch-root.json b/docs/data/base/api/use-switch-root.json
deleted file mode 100644
index 14a74b1a4d..0000000000
--- a/docs/data/base/api/use-switch-root.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "parameters": {
- "checked": { "type": { "name": "boolean", "description": "boolean" } },
- "defaultChecked": { "type": { "name": "boolean", "description": "boolean" } },
- "disabled": { "type": { "name": "boolean", "description": "boolean" }, "default": "false" },
- "id": { "type": { "name": "string", "description": "string" } },
- "inputRef": {
- "type": {
- "name": "React.Ref<HTMLInputElement>",
- "description": "React.Ref<HTMLInputElement>"
- }
- },
- "name": { "type": { "name": "string", "description": "string" } },
- "onCheckedChange": {
- "type": {
- "name": "(checked: boolean, event: React.ChangeEvent<HTMLInputElement>) => void",
- "description": "(checked: boolean, event: React.ChangeEvent<HTMLInputElement>) => void"
- }
- },
- "readOnly": { "type": { "name": "boolean", "description": "boolean" }, "default": "false" },
- "required": { "type": { "name": "boolean", "description": "boolean" }, "default": "false" }
- },
- "returnValue": {
- "checked": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "getButtonProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'button'>) => React.ComponentPropsWithRef<'button'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'button'>) => React.ComponentPropsWithRef<'button'>"
- },
- "required": true
- },
- "getInputProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'input'>) => React.ComponentPropsWithRef<'input'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'input'>) => React.ComponentPropsWithRef<'input'>"
- },
- "required": true
- }
- },
- "name": "useSwitchRoot",
- "filename": "/packages/mui-base/src/Switch/Root/useSwitchRoot.ts",
- "imports": ["import { useSwitchRoot } from '@base_ui/react/Switch';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-tab-indicator.json b/docs/data/base/api/use-tab-indicator.json
deleted file mode 100644
index a6bf1cb0ed..0000000000
--- a/docs/data/base/api/use-tab-indicator.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "parameters": {},
- "returnValue": {
- "activeTabPosition": {
- "type": { "name": "ActiveTabPosition | null", "description": "ActiveTabPosition | null" },
- "required": true
- },
- "direction": {
- "type": { "name": "TabsDirection", "description": "TabsDirection" },
- "required": true
- },
- "getRootProps": {
- "type": {
- "name": "(otherProps?: React.ComponentPropsWithRef<'span'>) => React.ComponentPropsWithRef<'span'>",
- "description": "(otherProps?: React.ComponentPropsWithRef<'span'>) => React.ComponentPropsWithRef<'span'>"
- },
- "required": true
- },
- "orientation": {
- "type": { "name": "TabsOrientation", "description": "TabsOrientation" },
- "required": true
- },
- "tabActivationDirection": {
- "type": { "name": "TabActivationDirection", "description": "TabActivationDirection" },
- "required": true
- }
- },
- "name": "useTabIndicator",
- "filename": "/packages/mui-base/src/Tabs/TabIndicator/useTabIndicator.ts",
- "imports": ["import { useTabIndicator } from '@base_ui/react/Tabs';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-tab-panel.json b/docs/data/base/api/use-tab-panel.json
deleted file mode 100644
index a1baadaed3..0000000000
--- a/docs/data/base/api/use-tab-panel.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "parameters": {
- "id": { "type": { "name": "string", "description": "string" } },
- "rootRef": {
- "type": {
- "name": "React.Ref<HTMLElement>",
- "description": "React.Ref<HTMLElement>"
- }
- },
- "value": { "type": { "name": "any", "description": "any" } }
- },
- "returnValue": {
- "direction": {
- "type": { "name": "TabsDirection", "description": "TabsDirection" },
- "required": true
- },
- "getRootProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'div'>) => React.ComponentPropsWithRef<'div'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'div'>) => React.ComponentPropsWithRef<'div'>"
- },
- "required": true
- },
- "hidden": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "orientation": {
- "type": { "name": "TabsOrientation", "description": "TabsOrientation" },
- "required": true
- },
- "rootRef": {
- "type": {
- "name": "React.RefCallback<HTMLElement> | null",
- "description": "React.RefCallback<HTMLElement> | null"
- },
- "required": true
- },
- "tabActivationDirection": {
- "type": { "name": "TabActivationDirection", "description": "TabActivationDirection" },
- "required": true
- }
- },
- "name": "useTabPanel",
- "filename": "/packages/mui-base/src/Tabs/TabPanel/useTabPanel.ts",
- "imports": ["import { useTabPanel } from '@base_ui/react/Tabs';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-tab.json b/docs/data/base/api/use-tab.json
deleted file mode 100644
index ed893eff0c..0000000000
--- a/docs/data/base/api/use-tab.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "parameters": {
- "disabled": { "type": { "name": "boolean", "description": "boolean" } },
- "id": { "type": { "name": "string", "description": "string" } },
- "onClick": {
- "type": { "name": "React.MouseEventHandler", "description": "React.MouseEventHandler" }
- },
- "rootRef": {
- "type": { "name": "React.Ref<Element>", "description": "React.Ref<Element>" }
- },
- "value": { "type": { "name": "any", "description": "any" } }
- },
- "returnValue": {
- "getRootProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'button'>) => React.ComponentPropsWithRef<'button'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'button'>) => React.ComponentPropsWithRef<'button'>"
- },
- "required": true
- },
- "index": { "type": { "name": "number", "description": "number" }, "required": true },
- "orientation": {
- "type": { "name": "TabsOrientation", "description": "TabsOrientation" },
- "required": true
- },
- "rootRef": {
- "type": {
- "name": "React.RefCallback<Element> | null",
- "description": "React.RefCallback<Element> | null"
- },
- "required": true
- },
- "selected": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "totalTabsCount": { "type": { "name": "number", "description": "number" }, "required": true }
- },
- "name": "useTab",
- "filename": "/packages/mui-base/src/Tabs/Tab/useTab.ts",
- "imports": ["import { useTab } from '@base_ui/react/Tabs';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-tabs-list.json b/docs/data/base/api/use-tabs-list.json
deleted file mode 100644
index 2ab61c9913..0000000000
--- a/docs/data/base/api/use-tabs-list.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "parameters": {
- "activateOnFocus": {
- "type": { "name": "boolean", "description": "boolean" },
- "required": true
- },
- "loop": { "type": { "name": "boolean", "description": "boolean" }, "required": true },
- "rootRef": {
- "type": { "name": "React.Ref<Element>", "description": "React.Ref<Element>" },
- "required": true
- }
- },
- "returnValue": {
- "contextValue": {
- "type": { "name": "TabsListProviderValue", "description": "TabsListProviderValue" },
- "required": true
- },
- "direction": {
- "type": { "name": "TabsDirection", "description": "TabsDirection" },
- "required": true
- },
- "dispatch": {
- "type": {
- "name": "(action: ListAction<any>) => void",
- "description": "(action: ListAction<any>) => void"
- },
- "required": true
- },
- "getRootProps": {
- "type": {
- "name": "(externalProps?: React.ComponentPropsWithRef<'div'>) => React.ComponentPropsWithRef<'div'>",
- "description": "(externalProps?: React.ComponentPropsWithRef<'div'>) => React.ComponentPropsWithRef<'div'>"
- },
- "required": true
- },
- "highlightedValue": {
- "type": { "name": "any | null", "description": "any | null" },
- "required": true
- },
- "orientation": {
- "type": { "name": "TabsOrientation", "description": "TabsOrientation" },
- "required": true
- },
- "rootRef": {
- "type": {
- "name": "React.RefCallback<Element> | null",
- "description": "React.RefCallback<Element> | null"
- },
- "required": true
- },
- "selectedValue": {
- "type": { "name": "any | null", "description": "any | null" },
- "required": true
- },
- "tabActivationDirection": {
- "type": { "name": "TabActivationDirection", "description": "TabActivationDirection" },
- "required": true
- }
- },
- "name": "useTabsList",
- "filename": "/packages/mui-base/src/Tabs/TabsList/useTabsList.ts",
- "imports": ["import { useTabsList } from '@base_ui/react/Tabs';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-tabs-root.json b/docs/data/base/api/use-tabs-root.json
deleted file mode 100644
index 9156cafeb7..0000000000
--- a/docs/data/base/api/use-tabs-root.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useTabsRoot",
- "filename": "/packages/mui-base/src/Tabs/Root/useTabsRoot.ts",
- "imports": ["import { useTabsRoot } from '@base_ui/react/Tabs';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-tooltip-arrow.json b/docs/data/base/api/use-tooltip-arrow.json
deleted file mode 100644
index 91881b70dc..0000000000
--- a/docs/data/base/api/use-tooltip-arrow.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useTooltipArrow",
- "filename": "/packages/mui-base/src/Tooltip/Arrow/useTooltipArrow.ts",
- "imports": ["import { useTooltipArrow } from '@base_ui/react/Tooltip';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-tooltip-popup.json b/docs/data/base/api/use-tooltip-popup.json
deleted file mode 100644
index 8ed2576252..0000000000
--- a/docs/data/base/api/use-tooltip-popup.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useTooltipPopup",
- "filename": "/packages/mui-base/src/Tooltip/Popup/useTooltipPopup.ts",
- "imports": ["import { useTooltipPopup } from '@base_ui/react/Tooltip';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-tooltip-positioner.json b/docs/data/base/api/use-tooltip-positioner.json
deleted file mode 100644
index 53577dfb3b..0000000000
--- a/docs/data/base/api/use-tooltip-positioner.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useTooltipPositioner",
- "filename": "/packages/mui-base/src/Tooltip/Positioner/useTooltipPositioner.ts",
- "imports": ["import { useTooltipPositioner } from '@base_ui/react/Tooltip';"],
- "demos": ""
-}
diff --git a/docs/data/base/api/use-tooltip-root.json b/docs/data/base/api/use-tooltip-root.json
deleted file mode 100644
index 9765b08b53..0000000000
--- a/docs/data/base/api/use-tooltip-root.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "parameters": {},
- "returnValue": {},
- "name": "useTooltipRoot",
- "filename": "/packages/mui-base/src/Tooltip/Root/useTooltipRoot.ts",
- "imports": ["import { useTooltipRoot } from '@base_ui/react/Tooltip';"],
- "demos": ""
-}
diff --git a/docs/data/base/translations/api-docs/use-autocomplete/use-autocomplete.json b/docs/data/base/translations/api-docs/use-autocomplete/use-autocomplete.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-autocomplete/use-autocomplete.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-checkbox-root/use-checkbox-root.json b/docs/data/base/translations/api-docs/use-checkbox-root/use-checkbox-root.json
deleted file mode 100644
index 5cc0725600..0000000000
--- a/docs/data/base/translations/api-docs/use-checkbox-root/use-checkbox-root.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "hookDescription": "The basic building block for creating custom checkboxes.",
- "parametersDescriptions": {
- "autoFocus": { "description": "If true
, the checkbox is focused on mount." },
- "checked": { "description": "If true
, the component is checked." },
- "defaultChecked": {
- "description": "The default checked state. Use when the component is not controlled."
- },
- "disabled": { "description": "If true
, the component is disabled." },
- "id": { "description": "The id of the input element." },
- "indeterminate": { "description": "If true
, the checkbox will be indeterminate." },
- "inputRef": { "description": "The ref to the input element." },
- "name": { "description": "Name of the underlying input element." },
- "onCheckedChange": { "description": "Callback fired when the checked state is changed." },
- "readOnly": { "description": "If true
, the component is read only." },
- "required": {
- "description": "If true
, the input
element is required."
- }
- },
- "returnValueDescriptions": {
- "checked": { "description": "If true
, the checkbox is checked." },
- "getButtonProps": { "description": "Resolver for the button element's props." },
- "getInputProps": { "description": "Resolver for the input element's props." }
- }
-}
diff --git a/docs/data/base/translations/api-docs/use-dialog-backdrop/use-dialog-backdrop.json b/docs/data/base/translations/api-docs/use-dialog-backdrop/use-dialog-backdrop.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-dialog-backdrop/use-dialog-backdrop.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-dialog-close/use-dialog-close.json b/docs/data/base/translations/api-docs/use-dialog-close/use-dialog-close.json
deleted file mode 100644
index 7525dba558..0000000000
--- a/docs/data/base/translations/api-docs/use-dialog-close/use-dialog-close.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "hookDescription": "",
- "parametersDescriptions": {
- "onOpenChange": {
- "description": "Callback invoked when the dialog is being opened or closed."
- },
- "open": { "description": "Determines whether the dialog is open." }
- },
- "returnValueDescriptions": {
- "getRootProps": { "description": "Resolver for the root element props." }
- }
-}
diff --git a/docs/data/base/translations/api-docs/use-dialog-popup/use-dialog-popup.json b/docs/data/base/translations/api-docs/use-dialog-popup/use-dialog-popup.json
deleted file mode 100644
index 0e9d471422..0000000000
--- a/docs/data/base/translations/api-docs/use-dialog-popup/use-dialog-popup.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "hookDescription": "",
- "parametersDescriptions": {
- "animated": {
- "description": "If true
, the dialog supports CSS-based animations and transitions. It is kept in the DOM until the animation completes."
- },
- "descriptionElementId": {
- "description": "The id of the description element associated with the dialog."
- },
- "dismissible": {
- "description": "Determines whether the dialog should close when clicking outside of it."
- },
- "id": { "description": "The id of the dialog element." },
- "isTopmost": { "description": "Determines if the dialog is the top-most one." },
- "modal": { "description": "Determines if the dialog is modal." },
- "onOpenChange": {
- "description": "Callback fired when the dialog is requested to be opened or closed."
- },
- "open": { "description": "Determines if the dialog is open." },
- "ref": { "description": "The ref to the dialog element." },
- "setPopupElementId": { "description": "Callback to set the id of the popup element." },
- "titleElementId": { "description": "The id of the title element associated with the dialog." }
- },
- "returnValueDescriptions": {
- "floatingContext": {
- "description": "Floating UI context for the dialog's FloatingFocusManager."
- },
- "getRootProps": { "description": "Resolver for the root element props." },
- "mounted": {
- "description": "Determines if the dialog should be mounted even if closed (as the exit animation is still in progress)."
- },
- "transitionStatus": { "description": "The current transition status of the dialog." }
- }
-}
diff --git a/docs/data/base/translations/api-docs/use-dialog-root/use-dialog-root.json b/docs/data/base/translations/api-docs/use-dialog-root/use-dialog-root.json
deleted file mode 100644
index 2307cb1169..0000000000
--- a/docs/data/base/translations/api-docs/use-dialog-root/use-dialog-root.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "hookDescription": "",
- "parametersDescriptions": {
- "animated": {
- "description": "If true
, the dialog supports CSS-based animations and transitions. It is kept in the DOM until the animation completes."
- },
- "defaultOpen": {
- "description": "Determines whether the dialog is initally open. This is an uncontrolled equivalent of the open
prop."
- },
- "dismissible": {
- "description": "Determines whether the dialog should close when clicking outside of it."
- },
- "modal": { "description": "Determines whether the dialog is modal." },
- "onNestedDialogClose": { "description": "Callback to invoke when a nested dialog is closed." },
- "onNestedDialogOpen": { "description": "Callback to invoke when a nested dialog is opened." },
- "onOpenChange": {
- "description": "Callback invoked when the dialog is being opened or closed."
- },
- "open": { "description": "Determines whether the dialog is open." }
- },
- "returnValueDescriptions": {
- "descriptionElementId": {
- "description": "The id of the description element associated with the dialog."
- },
- "modal": { "description": "Determines if the dialog is modal." },
- "nestedOpenDialogCount": { "description": "Number of nested dialogs that are currently open." },
- "onNestedDialogClose": { "description": "Callback to invoke when a nested dialog is closed." },
- "onNestedDialogOpen": { "description": "Callback to invoke when a nested dialog is opened." },
- "onOpenChange": {
- "description": "Callback to fire when the dialog is requested to be opened or closed."
- },
- "open": { "description": "Determines if the dialog is open." },
- "popupElementId": { "description": "The id of the popup element." },
- "setBackdropPresent": {
- "description": "Callback to notify the dialog that the backdrop is present."
- },
- "setDescriptionElementId": {
- "description": "Callback to set the id of the description element associated with the dialog."
- },
- "setPopupElementId": { "description": "Callback to set the id of the popup element." },
- "setTitleElementId": { "description": "Callback to set the id of the title element." },
- "titleElementId": { "description": "The id of the title element associated with the dialog." }
- }
-}
diff --git a/docs/data/base/translations/api-docs/use-dialog-trigger/use-dialog-trigger.json b/docs/data/base/translations/api-docs/use-dialog-trigger/use-dialog-trigger.json
deleted file mode 100644
index 88b38c9d8e..0000000000
--- a/docs/data/base/translations/api-docs/use-dialog-trigger/use-dialog-trigger.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "hookDescription": "",
- "parametersDescriptions": {
- "onOpenChange": {
- "description": "Callback to fire when the dialog is requested to be opened or closed."
- },
- "open": { "description": "Determines if the dialog is open." },
- "popupElementId": { "description": "The id of the popup element." }
- },
- "returnValueDescriptions": {
- "getRootProps": { "description": "Resolver for the root element props." }
- }
-}
diff --git a/docs/data/base/translations/api-docs/use-field-control-validation/use-field-control-validation.json b/docs/data/base/translations/api-docs/use-field-control-validation/use-field-control-validation.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-field-control-validation/use-field-control-validation.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-field-control/use-field-control.json b/docs/data/base/translations/api-docs/use-field-control/use-field-control.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-field-control/use-field-control.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-field-description/use-field-description.json b/docs/data/base/translations/api-docs/use-field-description/use-field-description.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-field-description/use-field-description.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-field-error/use-field-error.json b/docs/data/base/translations/api-docs/use-field-error/use-field-error.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-field-error/use-field-error.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-field-label/use-field-label.json b/docs/data/base/translations/api-docs/use-field-label/use-field-label.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-field-label/use-field-label.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-fieldset-legend/use-fieldset-legend.json b/docs/data/base/translations/api-docs/use-fieldset-legend/use-fieldset-legend.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-fieldset-legend/use-fieldset-legend.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-fieldset-root/use-fieldset-root.json b/docs/data/base/translations/api-docs/use-fieldset-root/use-fieldset-root.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-fieldset-root/use-fieldset-root.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-form-control-context/use-form-control-context.json b/docs/data/base/translations/api-docs/use-form-control-context/use-form-control-context.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-form-control-context/use-form-control-context.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-menu-arrow/use-menu-arrow.json b/docs/data/base/translations/api-docs/use-menu-arrow/use-menu-arrow.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-menu-arrow/use-menu-arrow.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-menu-item/use-menu-item.json b/docs/data/base/translations/api-docs/use-menu-item/use-menu-item.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-menu-item/use-menu-item.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-menu-popup/use-menu-popup.json b/docs/data/base/translations/api-docs/use-menu-popup/use-menu-popup.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-menu-popup/use-menu-popup.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-menu-positioner/use-menu-positioner.json b/docs/data/base/translations/api-docs/use-menu-positioner/use-menu-positioner.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-menu-positioner/use-menu-positioner.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-menu-root/use-menu-root.json b/docs/data/base/translations/api-docs/use-menu-root/use-menu-root.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-menu-root/use-menu-root.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-menu-trigger/use-menu-trigger.json b/docs/data/base/translations/api-docs/use-menu-trigger/use-menu-trigger.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-menu-trigger/use-menu-trigger.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-number-field-root/use-number-field-root.json b/docs/data/base/translations/api-docs/use-number-field-root/use-number-field-root.json
deleted file mode 100644
index 446035d5f3..0000000000
--- a/docs/data/base/translations/api-docs/use-number-field-root/use-number-field-root.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "hookDescription": "The basic building block for creating custom number fields.",
- "parametersDescriptions": {
- "allowWheelScrub": {
- "description": "Whether to allow the user to scrub the input value with the mouse wheel while focused and hovering over the input."
- },
- "autoFocus": { "description": "If true
, the input element is focused on mount." },
- "defaultValue": {
- "description": "The default value of the input element. Use when the component is not controlled."
- },
- "disabled": { "description": "If true
, the input element is disabled." },
- "format": { "description": "Options to format the input value." },
- "id": { "description": "The id of the input element." },
- "invalid": { "description": "If true
, the input element is invalid." },
- "largeStep": {
- "description": "The large step value of the input element when incrementing while the shift key is held. Snaps to multiples of this value."
- },
- "max": { "description": "The maximum value of the input element." },
- "min": { "description": "The minimum value of the input element." },
- "name": { "description": "The name of the input element." },
- "onValueChange": { "description": "Callback fired when the number value changes." },
- "readOnly": { "description": "If true
, the input element is read only." },
- "required": { "description": "If true
, the input element is required." },
- "smallStep": {
- "description": "The small step value of the input element when incrementing while the meta key is held. Snaps to multiples of this value."
- },
- "step": {
- "description": "The step value of the input element when incrementing, decrementing, or scrubbing. It will snap to multiples of this value. When unspecified, decimal values are allowed, but the stepper buttons will increment or decrement by 1
."
- },
- "value": { "description": "The raw number value of the input element." }
- },
- "returnValueDescriptions": {}
-}
diff --git a/docs/data/base/translations/api-docs/use-option-context-stabilizer/use-option-context-stabilizer.json b/docs/data/base/translations/api-docs/use-option-context-stabilizer/use-option-context-stabilizer.json
deleted file mode 100644
index 9a29af8997..0000000000
--- a/docs/data/base/translations/api-docs/use-option-context-stabilizer/use-option-context-stabilizer.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "hookDescription": "Stabilizes the ListContext value for the Option component, so it doesn't change when sibling Options update.",
- "parametersDescriptions": {},
- "returnValueDescriptions": {}
-}
diff --git a/docs/data/base/translations/api-docs/use-option/use-option.json b/docs/data/base/translations/api-docs/use-option/use-option.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-option/use-option.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-popover-arrow/use-popover-arrow.json b/docs/data/base/translations/api-docs/use-popover-arrow/use-popover-arrow.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-popover-arrow/use-popover-arrow.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-popover-backdrop/use-popover-backdrop.json b/docs/data/base/translations/api-docs/use-popover-backdrop/use-popover-backdrop.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-popover-backdrop/use-popover-backdrop.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-popover-close/use-popover-close.json b/docs/data/base/translations/api-docs/use-popover-close/use-popover-close.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-popover-close/use-popover-close.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-popover-description/use-popover-description.json b/docs/data/base/translations/api-docs/use-popover-description/use-popover-description.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-popover-description/use-popover-description.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-popover-popup/use-popover-popup.json b/docs/data/base/translations/api-docs/use-popover-popup/use-popover-popup.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-popover-popup/use-popover-popup.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-popover-positioner/use-popover-positioner.json b/docs/data/base/translations/api-docs/use-popover-positioner/use-popover-positioner.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-popover-positioner/use-popover-positioner.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-popover-root/use-popover-root.json b/docs/data/base/translations/api-docs/use-popover-root/use-popover-root.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-popover-root/use-popover-root.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-popover-title/use-popover-title.json b/docs/data/base/translations/api-docs/use-popover-title/use-popover-title.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-popover-title/use-popover-title.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-preview-card-arrow/use-preview-card-arrow.json b/docs/data/base/translations/api-docs/use-preview-card-arrow/use-preview-card-arrow.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-preview-card-arrow/use-preview-card-arrow.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-preview-card-backdrop/use-preview-card-backdrop.json b/docs/data/base/translations/api-docs/use-preview-card-backdrop/use-preview-card-backdrop.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-preview-card-backdrop/use-preview-card-backdrop.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-preview-card-popup/use-preview-card-popup.json b/docs/data/base/translations/api-docs/use-preview-card-popup/use-preview-card-popup.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-preview-card-popup/use-preview-card-popup.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-preview-card-positioner/use-preview-card-positioner.json b/docs/data/base/translations/api-docs/use-preview-card-positioner/use-preview-card-positioner.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-preview-card-positioner/use-preview-card-positioner.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-preview-card-root/use-preview-card-root.json b/docs/data/base/translations/api-docs/use-preview-card-root/use-preview-card-root.json
deleted file mode 100644
index 7de4c6a75b..0000000000
--- a/docs/data/base/translations/api-docs/use-preview-card-root/use-preview-card-root.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "hookDescription": "Manages the root state for a preview card.",
- "parametersDescriptions": {},
- "returnValueDescriptions": {}
-}
diff --git a/docs/data/base/translations/api-docs/use-progress-indicator/use-progress-indicator.json b/docs/data/base/translations/api-docs/use-progress-indicator/use-progress-indicator.json
deleted file mode 100644
index 3c787fafc5..0000000000
--- a/docs/data/base/translations/api-docs/use-progress-indicator/use-progress-indicator.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "hookDescription": "",
- "parametersDescriptions": {
- "direction": { "description": "The direction that progress bars fill in" },
- "max": { "description": "The maximum value" },
- "min": { "description": "The minimum value" },
- "value": {
- "description": "The current value. The component is indeterminate when value is null
."
- }
- },
- "returnValueDescriptions": {}
-}
diff --git a/docs/data/base/translations/api-docs/use-progress-root/use-progress-root.json b/docs/data/base/translations/api-docs/use-progress-root/use-progress-root.json
deleted file mode 100644
index a9fdd3927f..0000000000
--- a/docs/data/base/translations/api-docs/use-progress-root/use-progress-root.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "hookDescription": "",
- "parametersDescriptions": {
- "aria-label": { "description": "The label for the Indicator component." },
- "aria-labelledby": {
- "description": "An id or space-separated list of ids of elements that label the Indicator component."
- },
- "aria-valuetext": {
- "description": "A string value that provides a human-readable text alternative for the current value of the progress indicator."
- },
- "direction": { "description": "The direction that progress bars fill in" },
- "getAriaLabel": {
- "description": "Accepts a function which returns a string value that provides an accessible name for the Indicator component"
- },
- "getAriaValueText": {
- "description": "Accepts a function which returns a string value that provides a human-readable text alternative for the current value of the progress indicator."
- },
- "max": { "description": "The maximum value" },
- "min": { "description": "The minimum value" },
- "value": {
- "description": "The current value. The component is indeterminate when value is null
."
- }
- },
- "returnValueDescriptions": {
- "direction": { "description": "The direction that progress bars fill in" },
- "max": { "description": "The maximum value" },
- "min": { "description": "The minimum value" },
- "value": { "description": "Value of the component" }
- }
-}
diff --git a/docs/data/base/translations/api-docs/use-scroll-lock/use-scroll-lock.json b/docs/data/base/translations/api-docs/use-scroll-lock/use-scroll-lock.json
deleted file mode 100644
index fbdab840bd..0000000000
--- a/docs/data/base/translations/api-docs/use-scroll-lock/use-scroll-lock.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "hookDescription": "Locks the scroll of the document when enabled.",
- "parametersDescriptions": {},
- "returnValueDescriptions": {}
-}
diff --git a/docs/data/base/translations/api-docs/use-select/use-select.json b/docs/data/base/translations/api-docs/use-select/use-select.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-select/use-select.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-slider-control/use-slider-control.json b/docs/data/base/translations/api-docs/use-slider-control/use-slider-control.json
deleted file mode 100644
index 39b3910c11..0000000000
--- a/docs/data/base/translations/api-docs/use-slider-control/use-slider-control.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "hookDescription": "",
- "parametersDescriptions": {
- "areValuesEqual": {
- "description": "A function that compares a new value with the internal value of the slider. The internal value is potentially unsorted, e.g. to support frozen arrays: https://github.com/mui/material-ui/pull/28472"
- },
- "minStepsBetweenValues": {
- "description": "The minimum steps between values in a range slider."
- },
- "percentageValues": { "description": "The value(s) of the slider as percentages" },
- "rootRef": { "description": "The ref attached to the control area of the Slider." },
- "step": {
- "description": "The step increment of the slider when incrementing or decrementing. It will snap to multiples of this value. Decimal values are supported."
- },
- "subitems": {
- "description": "A map containing all the Thumb components registered to the slider"
- }
- },
- "returnValueDescriptions": {}
-}
diff --git a/docs/data/base/translations/api-docs/use-slider-indicator/use-slider-indicator.json b/docs/data/base/translations/api-docs/use-slider-indicator/use-slider-indicator.json
deleted file mode 100644
index 281a51aaac..0000000000
--- a/docs/data/base/translations/api-docs/use-slider-indicator/use-slider-indicator.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "hookDescription": "",
- "parametersDescriptions": {
- "axis": { "description": "The orientation of the slider." },
- "orientation": { "description": "The component orientation." },
- "percentageValues": { "description": "The value(s) of the slider as percentages" }
- },
- "returnValueDescriptions": {}
-}
diff --git a/docs/data/base/translations/api-docs/use-slider-output/use-slider-output.json b/docs/data/base/translations/api-docs/use-slider-output/use-slider-output.json
deleted file mode 100644
index b08c73fb3b..0000000000
--- a/docs/data/base/translations/api-docs/use-slider-output/use-slider-output.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "hookDescription": "",
- "parametersDescriptions": {
- "subitems": {
- "description": "A map containing all the Thumb components registered to the slider"
- }
- },
- "returnValueDescriptions": {}
-}
diff --git a/docs/data/base/translations/api-docs/use-slider-root/use-slider-root.json b/docs/data/base/translations/api-docs/use-slider-root/use-slider-root.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-slider-root/use-slider-root.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-slider-thumb/use-slider-thumb.json b/docs/data/base/translations/api-docs/use-slider-thumb/use-slider-thumb.json
deleted file mode 100644
index dc299a5ed2..0000000000
--- a/docs/data/base/translations/api-docs/use-slider-thumb/use-slider-thumb.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "hookDescription": "",
- "parametersDescriptions": {
- "active": { "description": "The index of the active thumb." },
- "aria-label": { "description": "The label for the input element." },
- "aria-valuetext": {
- "description": "A string value that provides a user-friendly name for the current value of the slider."
- },
- "axis": { "description": "The orientation of the slider." },
- "getAriaLabel": {
- "description": "Accepts a function which returns a string value that provides a user-friendly name for the input associated with the thumb"
- },
- "getAriaValueText": {
- "description": "Accepts a function which returns a string value that provides a user-friendly name for the current value of the slider. This is important for screen reader users."
- },
- "largeStep": {
- "description": "The large step value of the slider when incrementing or decrementing while the shift key is held, or when using Page-Up or Page-Down keys. Snaps to multiples of this value."
- },
- "max": { "description": "The maximum allowed value of the slider." },
- "min": { "description": "The minimum allowed value of the slider." },
- "minStepsBetweenValues": {
- "description": "The minimum steps between values in a range slider."
- },
- "orientation": { "description": "The component orientation." },
- "percentageValues": { "description": "The value(s) of the slider as percentages" },
- "step": {
- "description": "The step increment of the slider when incrementing or decrementing. It will snap to multiples of this value. Decimal values are supported."
- },
- "values": { "description": "The value(s) of the slider" }
- },
- "returnValueDescriptions": {
- "getThumbStyle": { "description": "Resolver for the thumb slot's style prop." }
- }
-}
diff --git a/docs/data/base/translations/api-docs/use-snackbar/use-snackbar.json b/docs/data/base/translations/api-docs/use-snackbar/use-snackbar.json
deleted file mode 100644
index 3e597e6c05..0000000000
--- a/docs/data/base/translations/api-docs/use-snackbar/use-snackbar.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "hookDescription": "The basic building block for creating custom snackbar.",
- "parametersDescriptions": {},
- "returnValueDescriptions": {}
-}
diff --git a/docs/data/base/translations/api-docs/use-submenu-trigger/use-submenu-trigger.json b/docs/data/base/translations/api-docs/use-submenu-trigger/use-submenu-trigger.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-submenu-trigger/use-submenu-trigger.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-switch-root/use-switch-root.json b/docs/data/base/translations/api-docs/use-switch-root/use-switch-root.json
deleted file mode 100644
index 0c08c114d9..0000000000
--- a/docs/data/base/translations/api-docs/use-switch-root/use-switch-root.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "hookDescription": "The basic building block for creating custom switches.",
- "parametersDescriptions": {
- "checked": { "description": "If true
, the switch is checked." },
- "defaultChecked": {
- "description": "The default checked state. Use when the component is not controlled."
- },
- "disabled": {
- "description": "If true
, the component is disabled and can't be interacted with."
- },
- "id": { "description": "The id of the switch element." },
- "inputRef": { "description": "Ref to the underlying input element." },
- "name": { "description": "Name of the underlying input element." },
- "onCheckedChange": { "description": "Callback fired when the checked state is changed." },
- "readOnly": {
- "description": "If true
, the component is read-only. Functionally, this is equivalent to being disabled, but the assistive technologies will announce this differently."
- },
- "required": {
- "description": "If true
, the switch must be checked for the browser validation to pass."
- }
- },
- "returnValueDescriptions": {
- "checked": { "description": "If true
, the component will be checked." },
- "getButtonProps": { "description": "Resolver for the button element's props." },
- "getInputProps": { "description": "Resolver for the input element's props." }
- }
-}
diff --git a/docs/data/base/translations/api-docs/use-tab-indicator/use-tab-indicator.json b/docs/data/base/translations/api-docs/use-tab-indicator/use-tab-indicator.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-tab-indicator/use-tab-indicator.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-tab-panel/use-tab-panel.json b/docs/data/base/translations/api-docs/use-tab-panel/use-tab-panel.json
deleted file mode 100644
index 7f1a725f5f..0000000000
--- a/docs/data/base/translations/api-docs/use-tab-panel/use-tab-panel.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "hookDescription": "",
- "parametersDescriptions": {
- "id": { "description": "The id of the TabPanel." },
- "rootRef": { "description": "The ref of the TabPanel." },
- "value": {
- "description": "The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected."
- }
- },
- "returnValueDescriptions": {
- "getRootProps": { "description": "Resolver for the root slot's props." },
- "hidden": {
- "description": "If true
, it indicates that the tab panel will be hidden."
- }
- }
-}
diff --git a/docs/data/base/translations/api-docs/use-tab/use-tab.json b/docs/data/base/translations/api-docs/use-tab/use-tab.json
deleted file mode 100644
index 7fe4455aee..0000000000
--- a/docs/data/base/translations/api-docs/use-tab/use-tab.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "hookDescription": "",
- "parametersDescriptions": {
- "disabled": { "description": "If true
, the tab will be disabled." },
- "id": {
- "description": "The id of the tab. If not provided, it will be automatically generated."
- },
- "onClick": { "description": "Callback fired when the tab is clicked." },
- "rootRef": { "description": "Ref to the root slot's DOM element." },
- "value": {
- "description": "The value of the tab. It's used to associate the tab with a tab panel(s) with the same value. If the value is not provided, it falls back to the position index."
- }
- },
- "returnValueDescriptions": {
- "getRootProps": { "description": "Resolver for the root slot's props." },
- "index": { "description": "0-based index of the tab in the list of tabs." },
- "rootRef": { "description": "Ref to the root slot's DOM element." },
- "selected": { "description": "If true
, the tab is selected." },
- "totalTabsCount": {
- "description": "Total number of tabs in the nearest parent TabsList. This can be used to determine if the tab is the last one to style it accordingly."
- }
- }
-}
diff --git a/docs/data/base/translations/api-docs/use-tabs-list/use-tabs-list.json b/docs/data/base/translations/api-docs/use-tabs-list/use-tabs-list.json
deleted file mode 100644
index c90309f7b3..0000000000
--- a/docs/data/base/translations/api-docs/use-tabs-list/use-tabs-list.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "hookDescription": "",
- "parametersDescriptions": {
- "activateOnFocus": {
- "description": "If true
, the tab will be activated whenever it is focused. Otherwise, it has to be activated by clicking or pressing the Enter or Space key."
- },
- "loop": {
- "description": "If true
, using keyboard navigation will wrap focus to the other end of the list once the end is reached."
- },
- "rootRef": { "description": "Ref to the root element." }
- },
- "returnValueDescriptions": {
- "contextValue": {
- "description": "The value to be passed to the TabListProvider above all the tabs."
- },
- "direction": {
- "description": "If true
, it will indicate that the text's direction in right-to-left."
- },
- "dispatch": {
- "description": "Action dispatcher for the tabs list component. Allows to programmatically control the tabs list."
- },
- "getRootProps": { "description": "Resolver for the root slot's props." },
- "highlightedValue": { "description": "The value of the currently highlighted tab." },
- "orientation": { "description": "The component orientation (layout flow direction)." },
- "selectedValue": { "description": "The value of the currently selected tab." }
- }
-}
diff --git a/docs/data/base/translations/api-docs/use-tabs-root/use-tabs-root.json b/docs/data/base/translations/api-docs/use-tabs-root/use-tabs-root.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-tabs-root/use-tabs-root.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-tooltip-arrow/use-tooltip-arrow.json b/docs/data/base/translations/api-docs/use-tooltip-arrow/use-tooltip-arrow.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-tooltip-arrow/use-tooltip-arrow.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-tooltip-popup/use-tooltip-popup.json b/docs/data/base/translations/api-docs/use-tooltip-popup/use-tooltip-popup.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-tooltip-popup/use-tooltip-popup.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-tooltip-positioner/use-tooltip-positioner.json b/docs/data/base/translations/api-docs/use-tooltip-positioner/use-tooltip-positioner.json
deleted file mode 100644
index e3eb65c6e4..0000000000
--- a/docs/data/base/translations/api-docs/use-tooltip-positioner/use-tooltip-positioner.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "hookDescription": "", "parametersDescriptions": {}, "returnValueDescriptions": {} }
diff --git a/docs/data/base/translations/api-docs/use-tooltip-root/use-tooltip-root.json b/docs/data/base/translations/api-docs/use-tooltip-root/use-tooltip-root.json
deleted file mode 100644
index d8d3b4a3ed..0000000000
--- a/docs/data/base/translations/api-docs/use-tooltip-root/use-tooltip-root.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "hookDescription": "Manages the root state for a tooltip.",
- "parametersDescriptions": {},
- "returnValueDescriptions": {}
-}
diff --git a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/index.js b/docs/data/components/alert-dialog/AlertDialogIntroduction/css/index.js
similarity index 100%
rename from docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/index.js
rename to docs/data/components/alert-dialog/AlertDialogIntroduction/css/index.js
diff --git a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/index.tsx b/docs/data/components/alert-dialog/AlertDialogIntroduction/css/index.tsx
similarity index 100%
rename from docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/index.tsx
rename to docs/data/components/alert-dialog/AlertDialogIntroduction/css/index.tsx
diff --git a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/index.tsx.preview b/docs/data/components/alert-dialog/AlertDialogIntroduction/css/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/index.tsx.preview
rename to docs/data/components/alert-dialog/AlertDialogIntroduction/css/index.tsx.preview
diff --git a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/styles.module.css b/docs/data/components/alert-dialog/AlertDialogIntroduction/css/styles.module.css
similarity index 100%
rename from docs/data/base/components/alert-dialog/AlertDialogIntroduction/css/styles.module.css
rename to docs/data/components/alert-dialog/AlertDialogIntroduction/css/styles.module.css
diff --git a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/system/index.js b/docs/data/components/alert-dialog/AlertDialogIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/alert-dialog/AlertDialogIntroduction/system/index.js
rename to docs/data/components/alert-dialog/AlertDialogIntroduction/system/index.js
diff --git a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/system/index.tsx b/docs/data/components/alert-dialog/AlertDialogIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/alert-dialog/AlertDialogIntroduction/system/index.tsx
rename to docs/data/components/alert-dialog/AlertDialogIntroduction/system/index.tsx
diff --git a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/system/index.tsx.preview b/docs/data/components/alert-dialog/AlertDialogIntroduction/system/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/alert-dialog/AlertDialogIntroduction/system/index.tsx.preview
rename to docs/data/components/alert-dialog/AlertDialogIntroduction/system/index.tsx.preview
diff --git a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/tailwind/index.js b/docs/data/components/alert-dialog/AlertDialogIntroduction/tailwind/index.js
similarity index 100%
rename from docs/data/base/components/alert-dialog/AlertDialogIntroduction/tailwind/index.js
rename to docs/data/components/alert-dialog/AlertDialogIntroduction/tailwind/index.js
diff --git a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/tailwind/index.tsx b/docs/data/components/alert-dialog/AlertDialogIntroduction/tailwind/index.tsx
similarity index 100%
rename from docs/data/base/components/alert-dialog/AlertDialogIntroduction/tailwind/index.tsx
rename to docs/data/components/alert-dialog/AlertDialogIntroduction/tailwind/index.tsx
diff --git a/docs/data/base/components/alert-dialog/AlertDialogIntroduction/tailwind/index.tsx.preview b/docs/data/components/alert-dialog/AlertDialogIntroduction/tailwind/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/alert-dialog/AlertDialogIntroduction/tailwind/index.tsx.preview
rename to docs/data/components/alert-dialog/AlertDialogIntroduction/tailwind/index.tsx.preview
diff --git a/docs/data/base/components/alert-dialog/AlertDialogWithTransitions.js b/docs/data/components/alert-dialog/AlertDialogWithTransitions.js
similarity index 100%
rename from docs/data/base/components/alert-dialog/AlertDialogWithTransitions.js
rename to docs/data/components/alert-dialog/AlertDialogWithTransitions.js
diff --git a/docs/data/base/components/alert-dialog/AlertDialogWithTransitions.tsx b/docs/data/components/alert-dialog/AlertDialogWithTransitions.tsx
similarity index 100%
rename from docs/data/base/components/alert-dialog/AlertDialogWithTransitions.tsx
rename to docs/data/components/alert-dialog/AlertDialogWithTransitions.tsx
diff --git a/docs/data/base/components/alert-dialog/AlertDialogWithTransitions.tsx.preview b/docs/data/components/alert-dialog/AlertDialogWithTransitions.tsx.preview
similarity index 100%
rename from docs/data/base/components/alert-dialog/AlertDialogWithTransitions.tsx.preview
rename to docs/data/components/alert-dialog/AlertDialogWithTransitions.tsx.preview
diff --git a/docs/data/base/components/alert-dialog/NestedAlertDialogs.js b/docs/data/components/alert-dialog/NestedAlertDialogs.js
similarity index 100%
rename from docs/data/base/components/alert-dialog/NestedAlertDialogs.js
rename to docs/data/components/alert-dialog/NestedAlertDialogs.js
diff --git a/docs/data/base/components/alert-dialog/NestedAlertDialogs.tsx b/docs/data/components/alert-dialog/NestedAlertDialogs.tsx
similarity index 100%
rename from docs/data/base/components/alert-dialog/NestedAlertDialogs.tsx
rename to docs/data/components/alert-dialog/NestedAlertDialogs.tsx
diff --git a/docs/data/base/components/alert-dialog/alert-dialog.mdx b/docs/data/components/alert-dialog/alert-dialog.mdx
similarity index 100%
rename from docs/data/base/components/alert-dialog/alert-dialog.mdx
rename to docs/data/components/alert-dialog/alert-dialog.mdx
diff --git a/docs/data/base/components/autocomplete/autocomplete.mdx b/docs/data/components/autocomplete/autocomplete.mdx
similarity index 100%
rename from docs/data/base/components/autocomplete/autocomplete.mdx
rename to docs/data/components/autocomplete/autocomplete.mdx
diff --git a/docs/data/base/components/checkbox/UnstyledCheckboxIndeterminate.js b/docs/data/components/checkbox/UnstyledCheckboxIndeterminate.js
similarity index 100%
rename from docs/data/base/components/checkbox/UnstyledCheckboxIndeterminate.js
rename to docs/data/components/checkbox/UnstyledCheckboxIndeterminate.js
diff --git a/docs/data/base/components/checkbox/UnstyledCheckboxIndeterminate.tsx b/docs/data/components/checkbox/UnstyledCheckboxIndeterminate.tsx
similarity index 100%
rename from docs/data/base/components/checkbox/UnstyledCheckboxIndeterminate.tsx
rename to docs/data/components/checkbox/UnstyledCheckboxIndeterminate.tsx
diff --git a/docs/data/base/components/checkbox/UnstyledCheckboxIndeterminate.tsx.preview b/docs/data/components/checkbox/UnstyledCheckboxIndeterminate.tsx.preview
similarity index 100%
rename from docs/data/base/components/checkbox/UnstyledCheckboxIndeterminate.tsx.preview
rename to docs/data/components/checkbox/UnstyledCheckboxIndeterminate.tsx.preview
diff --git a/docs/data/base/components/checkbox/UnstyledCheckboxIndeterminateGroup.js b/docs/data/components/checkbox/UnstyledCheckboxIndeterminateGroup.js
similarity index 100%
rename from docs/data/base/components/checkbox/UnstyledCheckboxIndeterminateGroup.js
rename to docs/data/components/checkbox/UnstyledCheckboxIndeterminateGroup.js
diff --git a/docs/data/base/components/checkbox/UnstyledCheckboxIndeterminateGroup.tsx b/docs/data/components/checkbox/UnstyledCheckboxIndeterminateGroup.tsx
similarity index 100%
rename from docs/data/base/components/checkbox/UnstyledCheckboxIndeterminateGroup.tsx
rename to docs/data/components/checkbox/UnstyledCheckboxIndeterminateGroup.tsx
diff --git a/docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/css/index.js b/docs/data/components/checkbox/UnstyledCheckboxIntroduction/css/index.js
similarity index 100%
rename from docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/css/index.js
rename to docs/data/components/checkbox/UnstyledCheckboxIntroduction/css/index.js
diff --git a/docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/css/index.tsx b/docs/data/components/checkbox/UnstyledCheckboxIntroduction/css/index.tsx
similarity index 100%
rename from docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/css/index.tsx
rename to docs/data/components/checkbox/UnstyledCheckboxIntroduction/css/index.tsx
diff --git a/docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/system/index.js b/docs/data/components/checkbox/UnstyledCheckboxIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/system/index.js
rename to docs/data/components/checkbox/UnstyledCheckboxIntroduction/system/index.js
diff --git a/docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/system/index.tsx b/docs/data/components/checkbox/UnstyledCheckboxIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/system/index.tsx
rename to docs/data/components/checkbox/UnstyledCheckboxIntroduction/system/index.tsx
diff --git a/docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.js b/docs/data/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.js
similarity index 100%
rename from docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.js
rename to docs/data/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.js
diff --git a/docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.tsx b/docs/data/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.tsx
similarity index 100%
rename from docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.tsx
rename to docs/data/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.tsx
diff --git a/docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.tsx.preview b/docs/data/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.tsx.preview
rename to docs/data/components/checkbox/UnstyledCheckboxIntroduction/tailwind/index.tsx.preview
diff --git a/docs/data/base/components/checkbox/checkbox.mdx b/docs/data/components/checkbox/checkbox.mdx
similarity index 100%
rename from docs/data/base/components/checkbox/checkbox.mdx
rename to docs/data/components/checkbox/checkbox.mdx
diff --git a/docs/data/base/components/click-away-listener/ClickAway.js b/docs/data/components/click-away-listener/ClickAway.js
similarity index 100%
rename from docs/data/base/components/click-away-listener/ClickAway.js
rename to docs/data/components/click-away-listener/ClickAway.js
diff --git a/docs/data/base/components/click-away-listener/ClickAway.tsx b/docs/data/components/click-away-listener/ClickAway.tsx
similarity index 100%
rename from docs/data/base/components/click-away-listener/ClickAway.tsx
rename to docs/data/components/click-away-listener/ClickAway.tsx
diff --git a/docs/data/base/components/click-away-listener/ClickAway.tsx.preview b/docs/data/components/click-away-listener/ClickAway.tsx.preview
similarity index 100%
rename from docs/data/base/components/click-away-listener/ClickAway.tsx.preview
rename to docs/data/components/click-away-listener/ClickAway.tsx.preview
diff --git a/docs/data/base/components/click-away-listener/LeadingClickAway.js b/docs/data/components/click-away-listener/LeadingClickAway.js
similarity index 100%
rename from docs/data/base/components/click-away-listener/LeadingClickAway.js
rename to docs/data/components/click-away-listener/LeadingClickAway.js
diff --git a/docs/data/base/components/click-away-listener/LeadingClickAway.tsx b/docs/data/components/click-away-listener/LeadingClickAway.tsx
similarity index 100%
rename from docs/data/base/components/click-away-listener/LeadingClickAway.tsx
rename to docs/data/components/click-away-listener/LeadingClickAway.tsx
diff --git a/docs/data/base/components/click-away-listener/LeadingClickAway.tsx.preview b/docs/data/components/click-away-listener/LeadingClickAway.tsx.preview
similarity index 100%
rename from docs/data/base/components/click-away-listener/LeadingClickAway.tsx.preview
rename to docs/data/components/click-away-listener/LeadingClickAway.tsx.preview
diff --git a/docs/data/base/components/click-away-listener/PortalClickAway.js b/docs/data/components/click-away-listener/PortalClickAway.js
similarity index 100%
rename from docs/data/base/components/click-away-listener/PortalClickAway.js
rename to docs/data/components/click-away-listener/PortalClickAway.js
diff --git a/docs/data/base/components/click-away-listener/PortalClickAway.tsx b/docs/data/components/click-away-listener/PortalClickAway.tsx
similarity index 100%
rename from docs/data/base/components/click-away-listener/PortalClickAway.tsx
rename to docs/data/components/click-away-listener/PortalClickAway.tsx
diff --git a/docs/data/base/components/click-away-listener/PortalClickAway.tsx.preview b/docs/data/components/click-away-listener/PortalClickAway.tsx.preview
similarity index 100%
rename from docs/data/base/components/click-away-listener/PortalClickAway.tsx.preview
rename to docs/data/components/click-away-listener/PortalClickAway.tsx.preview
diff --git a/docs/data/base/components/click-away-listener/click-away-listener.mdx b/docs/data/components/click-away-listener/click-away-listener.mdx
similarity index 100%
rename from docs/data/base/components/click-away-listener/click-away-listener.mdx
rename to docs/data/components/click-away-listener/click-away-listener.mdx
diff --git a/docs/data/base/components/dialog/DialogWithTransitions.js b/docs/data/components/dialog/DialogWithTransitions.js
similarity index 100%
rename from docs/data/base/components/dialog/DialogWithTransitions.js
rename to docs/data/components/dialog/DialogWithTransitions.js
diff --git a/docs/data/base/components/dialog/DialogWithTransitions.tsx b/docs/data/components/dialog/DialogWithTransitions.tsx
similarity index 100%
rename from docs/data/base/components/dialog/DialogWithTransitions.tsx
rename to docs/data/components/dialog/DialogWithTransitions.tsx
diff --git a/docs/data/base/components/dialog/DialogWithTransitions.tsx.preview b/docs/data/components/dialog/DialogWithTransitions.tsx.preview
similarity index 100%
rename from docs/data/base/components/dialog/DialogWithTransitions.tsx.preview
rename to docs/data/components/dialog/DialogWithTransitions.tsx.preview
diff --git a/docs/data/base/components/dialog/NestedDialogs.js b/docs/data/components/dialog/NestedDialogs.js
similarity index 100%
rename from docs/data/base/components/dialog/NestedDialogs.js
rename to docs/data/components/dialog/NestedDialogs.js
diff --git a/docs/data/base/components/dialog/NestedDialogs.tsx b/docs/data/components/dialog/NestedDialogs.tsx
similarity index 100%
rename from docs/data/base/components/dialog/NestedDialogs.tsx
rename to docs/data/components/dialog/NestedDialogs.tsx
diff --git a/docs/data/base/components/dialog/UnstyledDialogIntroduction/css/index.js b/docs/data/components/dialog/UnstyledDialogIntroduction/css/index.js
similarity index 100%
rename from docs/data/base/components/dialog/UnstyledDialogIntroduction/css/index.js
rename to docs/data/components/dialog/UnstyledDialogIntroduction/css/index.js
diff --git a/docs/data/base/components/dialog/UnstyledDialogIntroduction/css/index.tsx b/docs/data/components/dialog/UnstyledDialogIntroduction/css/index.tsx
similarity index 100%
rename from docs/data/base/components/dialog/UnstyledDialogIntroduction/css/index.tsx
rename to docs/data/components/dialog/UnstyledDialogIntroduction/css/index.tsx
diff --git a/docs/data/base/components/dialog/UnstyledDialogIntroduction/css/styles.module.css b/docs/data/components/dialog/UnstyledDialogIntroduction/css/styles.module.css
similarity index 100%
rename from docs/data/base/components/dialog/UnstyledDialogIntroduction/css/styles.module.css
rename to docs/data/components/dialog/UnstyledDialogIntroduction/css/styles.module.css
diff --git a/docs/data/base/components/dialog/UnstyledDialogIntroduction/system/index.js b/docs/data/components/dialog/UnstyledDialogIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/dialog/UnstyledDialogIntroduction/system/index.js
rename to docs/data/components/dialog/UnstyledDialogIntroduction/system/index.js
diff --git a/docs/data/base/components/dialog/UnstyledDialogIntroduction/system/index.tsx b/docs/data/components/dialog/UnstyledDialogIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/dialog/UnstyledDialogIntroduction/system/index.tsx
rename to docs/data/components/dialog/UnstyledDialogIntroduction/system/index.tsx
diff --git a/docs/data/base/components/dialog/UnstyledDialogIntroduction/tailwind/index.js b/docs/data/components/dialog/UnstyledDialogIntroduction/tailwind/index.js
similarity index 100%
rename from docs/data/base/components/dialog/UnstyledDialogIntroduction/tailwind/index.js
rename to docs/data/components/dialog/UnstyledDialogIntroduction/tailwind/index.js
diff --git a/docs/data/base/components/dialog/UnstyledDialogIntroduction/tailwind/index.tsx b/docs/data/components/dialog/UnstyledDialogIntroduction/tailwind/index.tsx
similarity index 100%
rename from docs/data/base/components/dialog/UnstyledDialogIntroduction/tailwind/index.tsx
rename to docs/data/components/dialog/UnstyledDialogIntroduction/tailwind/index.tsx
diff --git a/docs/data/base/components/dialog/dialog.mdx b/docs/data/components/dialog/dialog.mdx
similarity index 100%
rename from docs/data/base/components/dialog/dialog.mdx
rename to docs/data/components/dialog/dialog.mdx
diff --git a/docs/data/base/components/field/UnstyledFieldAsync.js b/docs/data/components/field/UnstyledFieldAsync.js
similarity index 100%
rename from docs/data/base/components/field/UnstyledFieldAsync.js
rename to docs/data/components/field/UnstyledFieldAsync.js
diff --git a/docs/data/base/components/field/UnstyledFieldAsync.tsx b/docs/data/components/field/UnstyledFieldAsync.tsx
similarity index 100%
rename from docs/data/base/components/field/UnstyledFieldAsync.tsx
rename to docs/data/components/field/UnstyledFieldAsync.tsx
diff --git a/docs/data/base/components/field/UnstyledFieldIntroduction/system/index.js b/docs/data/components/field/UnstyledFieldIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/field/UnstyledFieldIntroduction/system/index.js
rename to docs/data/components/field/UnstyledFieldIntroduction/system/index.js
diff --git a/docs/data/base/components/field/UnstyledFieldIntroduction/system/index.tsx b/docs/data/components/field/UnstyledFieldIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/field/UnstyledFieldIntroduction/system/index.tsx
rename to docs/data/components/field/UnstyledFieldIntroduction/system/index.tsx
diff --git a/docs/data/base/components/field/UnstyledFieldPassword.js b/docs/data/components/field/UnstyledFieldPassword.js
similarity index 100%
rename from docs/data/base/components/field/UnstyledFieldPassword.js
rename to docs/data/components/field/UnstyledFieldPassword.js
diff --git a/docs/data/base/components/field/UnstyledFieldPassword.tsx b/docs/data/components/field/UnstyledFieldPassword.tsx
similarity index 100%
rename from docs/data/base/components/field/UnstyledFieldPassword.tsx
rename to docs/data/components/field/UnstyledFieldPassword.tsx
diff --git a/docs/data/base/components/field/UnstyledFieldPassword.tsx.preview b/docs/data/components/field/UnstyledFieldPassword.tsx.preview
similarity index 100%
rename from docs/data/base/components/field/UnstyledFieldPassword.tsx.preview
rename to docs/data/components/field/UnstyledFieldPassword.tsx.preview
diff --git a/docs/data/base/components/field/UnstyledFieldServerError.js b/docs/data/components/field/UnstyledFieldServerError.js
similarity index 100%
rename from docs/data/base/components/field/UnstyledFieldServerError.js
rename to docs/data/components/field/UnstyledFieldServerError.js
diff --git a/docs/data/base/components/field/UnstyledFieldServerError.tsx b/docs/data/components/field/UnstyledFieldServerError.tsx
similarity index 100%
rename from docs/data/base/components/field/UnstyledFieldServerError.tsx
rename to docs/data/components/field/UnstyledFieldServerError.tsx
diff --git a/docs/data/base/components/field/field.mdx b/docs/data/components/field/field.mdx
similarity index 100%
rename from docs/data/base/components/field/field.mdx
rename to docs/data/components/field/field.mdx
diff --git a/docs/data/base/components/fieldset/UnstyledFieldsetIntroduction/system/index.js b/docs/data/components/fieldset/UnstyledFieldsetIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/fieldset/UnstyledFieldsetIntroduction/system/index.js
rename to docs/data/components/fieldset/UnstyledFieldsetIntroduction/system/index.js
diff --git a/docs/data/base/components/fieldset/UnstyledFieldsetIntroduction/system/index.tsx b/docs/data/components/fieldset/UnstyledFieldsetIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/fieldset/UnstyledFieldsetIntroduction/system/index.tsx
rename to docs/data/components/fieldset/UnstyledFieldsetIntroduction/system/index.tsx
diff --git a/docs/data/base/components/fieldset/UnstyledFieldsetIntroduction/system/index.tsx.preview b/docs/data/components/fieldset/UnstyledFieldsetIntroduction/system/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/fieldset/UnstyledFieldsetIntroduction/system/index.tsx.preview
rename to docs/data/components/fieldset/UnstyledFieldsetIntroduction/system/index.tsx.preview
diff --git a/docs/data/base/components/fieldset/fieldset.mdx b/docs/data/components/fieldset/fieldset.mdx
similarity index 100%
rename from docs/data/base/components/fieldset/fieldset.mdx
rename to docs/data/components/fieldset/fieldset.mdx
diff --git a/docs/data/base/components/focus-trap/BasicFocusTrap.js b/docs/data/components/focus-trap/BasicFocusTrap.js
similarity index 100%
rename from docs/data/base/components/focus-trap/BasicFocusTrap.js
rename to docs/data/components/focus-trap/BasicFocusTrap.js
diff --git a/docs/data/base/components/focus-trap/BasicFocusTrap.tsx b/docs/data/components/focus-trap/BasicFocusTrap.tsx
similarity index 100%
rename from docs/data/base/components/focus-trap/BasicFocusTrap.tsx
rename to docs/data/components/focus-trap/BasicFocusTrap.tsx
diff --git a/docs/data/base/components/focus-trap/BasicFocusTrap.tsx.preview b/docs/data/components/focus-trap/BasicFocusTrap.tsx.preview
similarity index 100%
rename from docs/data/base/components/focus-trap/BasicFocusTrap.tsx.preview
rename to docs/data/components/focus-trap/BasicFocusTrap.tsx.preview
diff --git a/docs/data/base/components/focus-trap/ContainedToggleTrappedFocus.js b/docs/data/components/focus-trap/ContainedToggleTrappedFocus.js
similarity index 100%
rename from docs/data/base/components/focus-trap/ContainedToggleTrappedFocus.js
rename to docs/data/components/focus-trap/ContainedToggleTrappedFocus.js
diff --git a/docs/data/base/components/focus-trap/ContainedToggleTrappedFocus.tsx b/docs/data/components/focus-trap/ContainedToggleTrappedFocus.tsx
similarity index 100%
rename from docs/data/base/components/focus-trap/ContainedToggleTrappedFocus.tsx
rename to docs/data/components/focus-trap/ContainedToggleTrappedFocus.tsx
diff --git a/docs/data/base/components/focus-trap/ContainedToggleTrappedFocus.tsx.preview b/docs/data/components/focus-trap/ContainedToggleTrappedFocus.tsx.preview
similarity index 100%
rename from docs/data/base/components/focus-trap/ContainedToggleTrappedFocus.tsx.preview
rename to docs/data/components/focus-trap/ContainedToggleTrappedFocus.tsx.preview
diff --git a/docs/data/base/components/focus-trap/DisableEnforceFocus.js b/docs/data/components/focus-trap/DisableEnforceFocus.js
similarity index 100%
rename from docs/data/base/components/focus-trap/DisableEnforceFocus.js
rename to docs/data/components/focus-trap/DisableEnforceFocus.js
diff --git a/docs/data/base/components/focus-trap/DisableEnforceFocus.tsx b/docs/data/components/focus-trap/DisableEnforceFocus.tsx
similarity index 100%
rename from docs/data/base/components/focus-trap/DisableEnforceFocus.tsx
rename to docs/data/components/focus-trap/DisableEnforceFocus.tsx
diff --git a/docs/data/base/components/focus-trap/DisableEnforceFocus.tsx.preview b/docs/data/components/focus-trap/DisableEnforceFocus.tsx.preview
similarity index 100%
rename from docs/data/base/components/focus-trap/DisableEnforceFocus.tsx.preview
rename to docs/data/components/focus-trap/DisableEnforceFocus.tsx.preview
diff --git a/docs/data/base/components/focus-trap/LazyFocusTrap.js b/docs/data/components/focus-trap/LazyFocusTrap.js
similarity index 100%
rename from docs/data/base/components/focus-trap/LazyFocusTrap.js
rename to docs/data/components/focus-trap/LazyFocusTrap.js
diff --git a/docs/data/base/components/focus-trap/LazyFocusTrap.tsx b/docs/data/components/focus-trap/LazyFocusTrap.tsx
similarity index 100%
rename from docs/data/base/components/focus-trap/LazyFocusTrap.tsx
rename to docs/data/components/focus-trap/LazyFocusTrap.tsx
diff --git a/docs/data/base/components/focus-trap/LazyFocusTrap.tsx.preview b/docs/data/components/focus-trap/LazyFocusTrap.tsx.preview
similarity index 100%
rename from docs/data/base/components/focus-trap/LazyFocusTrap.tsx.preview
rename to docs/data/components/focus-trap/LazyFocusTrap.tsx.preview
diff --git a/docs/data/base/components/focus-trap/PortalFocusTrap.js b/docs/data/components/focus-trap/PortalFocusTrap.js
similarity index 100%
rename from docs/data/base/components/focus-trap/PortalFocusTrap.js
rename to docs/data/components/focus-trap/PortalFocusTrap.js
diff --git a/docs/data/base/components/focus-trap/PortalFocusTrap.tsx b/docs/data/components/focus-trap/PortalFocusTrap.tsx
similarity index 100%
rename from docs/data/base/components/focus-trap/PortalFocusTrap.tsx
rename to docs/data/components/focus-trap/PortalFocusTrap.tsx
diff --git a/docs/data/base/components/focus-trap/focus-trap.mdx b/docs/data/components/focus-trap/focus-trap.mdx
similarity index 100%
rename from docs/data/base/components/focus-trap/focus-trap.mdx
rename to docs/data/components/focus-trap/focus-trap.mdx
diff --git a/docs/data/base/components/form-control/form-control.mdx b/docs/data/components/form-control/form-control.mdx
similarity index 100%
rename from docs/data/base/components/form-control/form-control.mdx
rename to docs/data/components/form-control/form-control.mdx
diff --git a/docs/data/base/components/menu/MenuIntroduction/css/index.js b/docs/data/components/menu/MenuIntroduction/css/index.js
similarity index 100%
rename from docs/data/base/components/menu/MenuIntroduction/css/index.js
rename to docs/data/components/menu/MenuIntroduction/css/index.js
diff --git a/docs/data/base/components/menu/MenuIntroduction/css/index.tsx b/docs/data/components/menu/MenuIntroduction/css/index.tsx
similarity index 100%
rename from docs/data/base/components/menu/MenuIntroduction/css/index.tsx
rename to docs/data/components/menu/MenuIntroduction/css/index.tsx
diff --git a/docs/data/base/components/menu/MenuIntroduction/system/index.js b/docs/data/components/menu/MenuIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/menu/MenuIntroduction/system/index.js
rename to docs/data/components/menu/MenuIntroduction/system/index.js
diff --git a/docs/data/base/components/menu/MenuIntroduction/system/index.tsx b/docs/data/components/menu/MenuIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/menu/MenuIntroduction/system/index.tsx
rename to docs/data/components/menu/MenuIntroduction/system/index.tsx
diff --git a/docs/data/base/components/menu/MenuIntroduction/system/index.tsx.preview b/docs/data/components/menu/MenuIntroduction/system/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/menu/MenuIntroduction/system/index.tsx.preview
rename to docs/data/components/menu/MenuIntroduction/system/index.tsx.preview
diff --git a/docs/data/base/components/menu/MenuIntroduction/tailwind/index.js b/docs/data/components/menu/MenuIntroduction/tailwind/index.js
similarity index 100%
rename from docs/data/base/components/menu/MenuIntroduction/tailwind/index.js
rename to docs/data/components/menu/MenuIntroduction/tailwind/index.js
diff --git a/docs/data/base/components/menu/MenuIntroduction/tailwind/index.tsx b/docs/data/components/menu/MenuIntroduction/tailwind/index.tsx
similarity index 100%
rename from docs/data/base/components/menu/MenuIntroduction/tailwind/index.tsx
rename to docs/data/components/menu/MenuIntroduction/tailwind/index.tsx
diff --git a/docs/data/base/components/menu/MenuIntroduction/tailwind/index.tsx.preview b/docs/data/components/menu/MenuIntroduction/tailwind/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/menu/MenuIntroduction/tailwind/index.tsx.preview
rename to docs/data/components/menu/MenuIntroduction/tailwind/index.tsx.preview
diff --git a/docs/data/base/components/menu/NestedMenu.js b/docs/data/components/menu/NestedMenu.js
similarity index 100%
rename from docs/data/base/components/menu/NestedMenu.js
rename to docs/data/components/menu/NestedMenu.js
diff --git a/docs/data/base/components/menu/NestedMenu.tsx b/docs/data/components/menu/NestedMenu.tsx
similarity index 100%
rename from docs/data/base/components/menu/NestedMenu.tsx
rename to docs/data/components/menu/NestedMenu.tsx
diff --git a/docs/data/base/components/menu/menu.mdx b/docs/data/components/menu/menu.mdx
similarity index 100%
rename from docs/data/base/components/menu/menu.mdx
rename to docs/data/components/menu/menu.mdx
diff --git a/docs/data/base/components/no-ssr/FrameDeferring.js b/docs/data/components/no-ssr/FrameDeferring.js
similarity index 100%
rename from docs/data/base/components/no-ssr/FrameDeferring.js
rename to docs/data/components/no-ssr/FrameDeferring.js
diff --git a/docs/data/base/components/no-ssr/FrameDeferring.tsx b/docs/data/components/no-ssr/FrameDeferring.tsx
similarity index 100%
rename from docs/data/base/components/no-ssr/FrameDeferring.tsx
rename to docs/data/components/no-ssr/FrameDeferring.tsx
diff --git a/docs/data/base/components/no-ssr/SimpleNoSsr.js b/docs/data/components/no-ssr/SimpleNoSsr.js
similarity index 100%
rename from docs/data/base/components/no-ssr/SimpleNoSsr.js
rename to docs/data/components/no-ssr/SimpleNoSsr.js
diff --git a/docs/data/base/components/no-ssr/SimpleNoSsr.tsx b/docs/data/components/no-ssr/SimpleNoSsr.tsx
similarity index 100%
rename from docs/data/base/components/no-ssr/SimpleNoSsr.tsx
rename to docs/data/components/no-ssr/SimpleNoSsr.tsx
diff --git a/docs/data/base/components/no-ssr/SimpleNoSsr.tsx.preview b/docs/data/components/no-ssr/SimpleNoSsr.tsx.preview
similarity index 100%
rename from docs/data/base/components/no-ssr/SimpleNoSsr.tsx.preview
rename to docs/data/components/no-ssr/SimpleNoSsr.tsx.preview
diff --git a/docs/data/base/components/no-ssr/no-ssr.mdx b/docs/data/components/no-ssr/no-ssr.mdx
similarity index 100%
rename from docs/data/base/components/no-ssr/no-ssr.mdx
rename to docs/data/components/no-ssr/no-ssr.mdx
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldFormat.js b/docs/data/components/number-field/UnstyledNumberFieldFormat.js
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldFormat.js
rename to docs/data/components/number-field/UnstyledNumberFieldFormat.js
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldFormat.tsx b/docs/data/components/number-field/UnstyledNumberFieldFormat.tsx
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldFormat.tsx
rename to docs/data/components/number-field/UnstyledNumberFieldFormat.tsx
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldFormat.tsx.preview b/docs/data/components/number-field/UnstyledNumberFieldFormat.tsx.preview
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldFormat.tsx.preview
rename to docs/data/components/number-field/UnstyledNumberFieldFormat.tsx.preview
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldIntroduction/css/index.js b/docs/data/components/number-field/UnstyledNumberFieldIntroduction/css/index.js
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldIntroduction/css/index.js
rename to docs/data/components/number-field/UnstyledNumberFieldIntroduction/css/index.js
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldIntroduction/css/index.tsx b/docs/data/components/number-field/UnstyledNumberFieldIntroduction/css/index.tsx
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldIntroduction/css/index.tsx
rename to docs/data/components/number-field/UnstyledNumberFieldIntroduction/css/index.tsx
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldIntroduction/system/index.js b/docs/data/components/number-field/UnstyledNumberFieldIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldIntroduction/system/index.js
rename to docs/data/components/number-field/UnstyledNumberFieldIntroduction/system/index.js
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldIntroduction/system/index.tsx b/docs/data/components/number-field/UnstyledNumberFieldIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldIntroduction/system/index.tsx
rename to docs/data/components/number-field/UnstyledNumberFieldIntroduction/system/index.tsx
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldIntroduction/tailwind/index.js b/docs/data/components/number-field/UnstyledNumberFieldIntroduction/tailwind/index.js
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldIntroduction/tailwind/index.js
rename to docs/data/components/number-field/UnstyledNumberFieldIntroduction/tailwind/index.js
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldIntroduction/tailwind/index.tsx b/docs/data/components/number-field/UnstyledNumberFieldIntroduction/tailwind/index.tsx
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldIntroduction/tailwind/index.tsx
rename to docs/data/components/number-field/UnstyledNumberFieldIntroduction/tailwind/index.tsx
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldScrub.js b/docs/data/components/number-field/UnstyledNumberFieldScrub.js
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldScrub.js
rename to docs/data/components/number-field/UnstyledNumberFieldScrub.js
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldScrub.tsx b/docs/data/components/number-field/UnstyledNumberFieldScrub.tsx
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldScrub.tsx
rename to docs/data/components/number-field/UnstyledNumberFieldScrub.tsx
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldScrub.tsx.preview b/docs/data/components/number-field/UnstyledNumberFieldScrub.tsx.preview
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldScrub.tsx.preview
rename to docs/data/components/number-field/UnstyledNumberFieldScrub.tsx.preview
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldWheelScrub.js b/docs/data/components/number-field/UnstyledNumberFieldWheelScrub.js
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldWheelScrub.js
rename to docs/data/components/number-field/UnstyledNumberFieldWheelScrub.js
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldWheelScrub.tsx b/docs/data/components/number-field/UnstyledNumberFieldWheelScrub.tsx
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldWheelScrub.tsx
rename to docs/data/components/number-field/UnstyledNumberFieldWheelScrub.tsx
diff --git a/docs/data/base/components/number-field/UnstyledNumberFieldWheelScrub.tsx.preview b/docs/data/components/number-field/UnstyledNumberFieldWheelScrub.tsx.preview
similarity index 100%
rename from docs/data/base/components/number-field/UnstyledNumberFieldWheelScrub.tsx.preview
rename to docs/data/components/number-field/UnstyledNumberFieldWheelScrub.tsx.preview
diff --git a/docs/data/base/components/number-field/number-field.mdx b/docs/data/components/number-field/number-field.mdx
similarity index 100%
rename from docs/data/base/components/number-field/number-field.mdx
rename to docs/data/components/number-field/number-field.mdx
diff --git a/docs/data/base/components/popover/UnstyledPopoverIntroduction/system/index.js b/docs/data/components/popover/UnstyledPopoverIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/popover/UnstyledPopoverIntroduction/system/index.js
rename to docs/data/components/popover/UnstyledPopoverIntroduction/system/index.js
diff --git a/docs/data/base/components/popover/UnstyledPopoverIntroduction/system/index.tsx b/docs/data/components/popover/UnstyledPopoverIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/popover/UnstyledPopoverIntroduction/system/index.tsx
rename to docs/data/components/popover/UnstyledPopoverIntroduction/system/index.tsx
diff --git a/docs/data/base/components/popover/UnstyledPopoverIntroduction/system/index.tsx.preview b/docs/data/components/popover/UnstyledPopoverIntroduction/system/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/popover/UnstyledPopoverIntroduction/system/index.tsx.preview
rename to docs/data/components/popover/UnstyledPopoverIntroduction/system/index.tsx.preview
diff --git a/docs/data/base/components/popover/UnstyledPopoverTransition.js b/docs/data/components/popover/UnstyledPopoverTransition.js
similarity index 100%
rename from docs/data/base/components/popover/UnstyledPopoverTransition.js
rename to docs/data/components/popover/UnstyledPopoverTransition.js
diff --git a/docs/data/base/components/popover/UnstyledPopoverTransition.tsx b/docs/data/components/popover/UnstyledPopoverTransition.tsx
similarity index 100%
rename from docs/data/base/components/popover/UnstyledPopoverTransition.tsx
rename to docs/data/components/popover/UnstyledPopoverTransition.tsx
diff --git a/docs/data/base/components/popover/UnstyledPopoverTransition.tsx.preview b/docs/data/components/popover/UnstyledPopoverTransition.tsx.preview
similarity index 100%
rename from docs/data/base/components/popover/UnstyledPopoverTransition.tsx.preview
rename to docs/data/components/popover/UnstyledPopoverTransition.tsx.preview
diff --git a/docs/data/base/components/popover/popover.mdx b/docs/data/components/popover/popover.mdx
similarity index 100%
rename from docs/data/base/components/popover/popover.mdx
rename to docs/data/components/popover/popover.mdx
diff --git a/docs/data/base/components/popup/popup.mdx b/docs/data/components/popup/popup.mdx
similarity index 100%
rename from docs/data/base/components/popup/popup.mdx
rename to docs/data/components/popup/popup.mdx
diff --git a/docs/data/base/components/portal/SimplePortal.js b/docs/data/components/portal/SimplePortal.js
similarity index 100%
rename from docs/data/base/components/portal/SimplePortal.js
rename to docs/data/components/portal/SimplePortal.js
diff --git a/docs/data/base/components/portal/SimplePortal.tsx b/docs/data/components/portal/SimplePortal.tsx
similarity index 100%
rename from docs/data/base/components/portal/SimplePortal.tsx
rename to docs/data/components/portal/SimplePortal.tsx
diff --git a/docs/data/base/components/portal/SimplePortal.tsx.preview b/docs/data/components/portal/SimplePortal.tsx.preview
similarity index 100%
rename from docs/data/base/components/portal/SimplePortal.tsx.preview
rename to docs/data/components/portal/SimplePortal.tsx.preview
diff --git a/docs/data/base/components/portal/portal.mdx b/docs/data/components/portal/portal.mdx
similarity index 100%
rename from docs/data/base/components/portal/portal.mdx
rename to docs/data/components/portal/portal.mdx
diff --git a/docs/data/base/components/preview-card/UnstyledPreviewCardIntroduction/system/index.js b/docs/data/components/preview-card/UnstyledPreviewCardIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/preview-card/UnstyledPreviewCardIntroduction/system/index.js
rename to docs/data/components/preview-card/UnstyledPreviewCardIntroduction/system/index.js
diff --git a/docs/data/base/components/preview-card/UnstyledPreviewCardIntroduction/system/index.tsx b/docs/data/components/preview-card/UnstyledPreviewCardIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/preview-card/UnstyledPreviewCardIntroduction/system/index.tsx
rename to docs/data/components/preview-card/UnstyledPreviewCardIntroduction/system/index.tsx
diff --git a/docs/data/base/components/preview-card/UnstyledPreviewCardTransition.js b/docs/data/components/preview-card/UnstyledPreviewCardTransition.js
similarity index 100%
rename from docs/data/base/components/preview-card/UnstyledPreviewCardTransition.js
rename to docs/data/components/preview-card/UnstyledPreviewCardTransition.js
diff --git a/docs/data/base/components/preview-card/UnstyledPreviewCardTransition.tsx b/docs/data/components/preview-card/UnstyledPreviewCardTransition.tsx
similarity index 100%
rename from docs/data/base/components/preview-card/UnstyledPreviewCardTransition.tsx
rename to docs/data/components/preview-card/UnstyledPreviewCardTransition.tsx
diff --git a/docs/data/base/components/preview-card/preview-card.mdx b/docs/data/components/preview-card/preview-card.mdx
similarity index 100%
rename from docs/data/base/components/preview-card/preview-card.mdx
rename to docs/data/components/preview-card/preview-card.mdx
diff --git a/docs/data/base/components/progress/IndeterminateProgress.js b/docs/data/components/progress/IndeterminateProgress.js
similarity index 100%
rename from docs/data/base/components/progress/IndeterminateProgress.js
rename to docs/data/components/progress/IndeterminateProgress.js
diff --git a/docs/data/base/components/progress/IndeterminateProgress.tsx b/docs/data/components/progress/IndeterminateProgress.tsx
similarity index 100%
rename from docs/data/base/components/progress/IndeterminateProgress.tsx
rename to docs/data/components/progress/IndeterminateProgress.tsx
diff --git a/docs/data/base/components/progress/IndeterminateProgress.tsx.preview b/docs/data/components/progress/IndeterminateProgress.tsx.preview
similarity index 100%
rename from docs/data/base/components/progress/IndeterminateProgress.tsx.preview
rename to docs/data/components/progress/IndeterminateProgress.tsx.preview
diff --git a/docs/data/base/components/progress/RtlProgress.js b/docs/data/components/progress/RtlProgress.js
similarity index 100%
rename from docs/data/base/components/progress/RtlProgress.js
rename to docs/data/components/progress/RtlProgress.js
diff --git a/docs/data/base/components/progress/RtlProgress.tsx b/docs/data/components/progress/RtlProgress.tsx
similarity index 100%
rename from docs/data/base/components/progress/RtlProgress.tsx
rename to docs/data/components/progress/RtlProgress.tsx
diff --git a/docs/data/base/components/progress/RtlProgress.tsx.preview b/docs/data/components/progress/RtlProgress.tsx.preview
similarity index 100%
rename from docs/data/base/components/progress/RtlProgress.tsx.preview
rename to docs/data/components/progress/RtlProgress.tsx.preview
diff --git a/docs/data/base/components/progress/UnstyledProgressIntroduction/css/index.js b/docs/data/components/progress/UnstyledProgressIntroduction/css/index.js
similarity index 100%
rename from docs/data/base/components/progress/UnstyledProgressIntroduction/css/index.js
rename to docs/data/components/progress/UnstyledProgressIntroduction/css/index.js
diff --git a/docs/data/base/components/progress/UnstyledProgressIntroduction/css/index.tsx b/docs/data/components/progress/UnstyledProgressIntroduction/css/index.tsx
similarity index 100%
rename from docs/data/base/components/progress/UnstyledProgressIntroduction/css/index.tsx
rename to docs/data/components/progress/UnstyledProgressIntroduction/css/index.tsx
diff --git a/docs/data/base/components/progress/UnstyledProgressIntroduction/css/index.tsx.preview b/docs/data/components/progress/UnstyledProgressIntroduction/css/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/progress/UnstyledProgressIntroduction/css/index.tsx.preview
rename to docs/data/components/progress/UnstyledProgressIntroduction/css/index.tsx.preview
diff --git a/docs/data/base/components/progress/UnstyledProgressIntroduction/system/index.js b/docs/data/components/progress/UnstyledProgressIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/progress/UnstyledProgressIntroduction/system/index.js
rename to docs/data/components/progress/UnstyledProgressIntroduction/system/index.js
diff --git a/docs/data/base/components/progress/UnstyledProgressIntroduction/system/index.tsx b/docs/data/components/progress/UnstyledProgressIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/progress/UnstyledProgressIntroduction/system/index.tsx
rename to docs/data/components/progress/UnstyledProgressIntroduction/system/index.tsx
diff --git a/docs/data/base/components/progress/UnstyledProgressIntroduction/system/index.tsx.preview b/docs/data/components/progress/UnstyledProgressIntroduction/system/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/progress/UnstyledProgressIntroduction/system/index.tsx.preview
rename to docs/data/components/progress/UnstyledProgressIntroduction/system/index.tsx.preview
diff --git a/docs/data/base/components/progress/UnstyledProgressIntroduction/tailwind/index.js b/docs/data/components/progress/UnstyledProgressIntroduction/tailwind/index.js
similarity index 100%
rename from docs/data/base/components/progress/UnstyledProgressIntroduction/tailwind/index.js
rename to docs/data/components/progress/UnstyledProgressIntroduction/tailwind/index.js
diff --git a/docs/data/base/components/progress/UnstyledProgressIntroduction/tailwind/index.tsx b/docs/data/components/progress/UnstyledProgressIntroduction/tailwind/index.tsx
similarity index 100%
rename from docs/data/base/components/progress/UnstyledProgressIntroduction/tailwind/index.tsx
rename to docs/data/components/progress/UnstyledProgressIntroduction/tailwind/index.tsx
diff --git a/docs/data/base/components/progress/UnstyledProgressIntroduction/tailwind/index.tsx.preview b/docs/data/components/progress/UnstyledProgressIntroduction/tailwind/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/progress/UnstyledProgressIntroduction/tailwind/index.tsx.preview
rename to docs/data/components/progress/UnstyledProgressIntroduction/tailwind/index.tsx.preview
diff --git a/docs/data/base/components/progress/progress.mdx b/docs/data/components/progress/progress.mdx
similarity index 100%
rename from docs/data/base/components/progress/progress.mdx
rename to docs/data/components/progress/progress.mdx
diff --git a/docs/data/base/components/select/select.mdx b/docs/data/components/select/select.mdx
similarity index 100%
rename from docs/data/base/components/select/select.mdx
rename to docs/data/components/select/select.mdx
diff --git a/docs/data/base/components/slider/RangeSlider.js b/docs/data/components/slider/RangeSlider.js
similarity index 100%
rename from docs/data/base/components/slider/RangeSlider.js
rename to docs/data/components/slider/RangeSlider.js
diff --git a/docs/data/base/components/slider/RangeSlider.tsx b/docs/data/components/slider/RangeSlider.tsx
similarity index 100%
rename from docs/data/base/components/slider/RangeSlider.tsx
rename to docs/data/components/slider/RangeSlider.tsx
diff --git a/docs/data/base/components/slider/RtlSlider.js b/docs/data/components/slider/RtlSlider.js
similarity index 100%
rename from docs/data/base/components/slider/RtlSlider.js
rename to docs/data/components/slider/RtlSlider.js
diff --git a/docs/data/base/components/slider/RtlSlider.tsx b/docs/data/components/slider/RtlSlider.tsx
similarity index 100%
rename from docs/data/base/components/slider/RtlSlider.tsx
rename to docs/data/components/slider/RtlSlider.tsx
diff --git a/docs/data/base/components/slider/RtlSlider.tsx.preview b/docs/data/components/slider/RtlSlider.tsx.preview
similarity index 100%
rename from docs/data/base/components/slider/RtlSlider.tsx.preview
rename to docs/data/components/slider/RtlSlider.tsx.preview
diff --git a/docs/data/base/components/slider/UnstyledSliderIntroduction/css/index.js b/docs/data/components/slider/UnstyledSliderIntroduction/css/index.js
similarity index 100%
rename from docs/data/base/components/slider/UnstyledSliderIntroduction/css/index.js
rename to docs/data/components/slider/UnstyledSliderIntroduction/css/index.js
diff --git a/docs/data/base/components/slider/UnstyledSliderIntroduction/css/index.tsx b/docs/data/components/slider/UnstyledSliderIntroduction/css/index.tsx
similarity index 100%
rename from docs/data/base/components/slider/UnstyledSliderIntroduction/css/index.tsx
rename to docs/data/components/slider/UnstyledSliderIntroduction/css/index.tsx
diff --git a/docs/data/base/components/slider/UnstyledSliderIntroduction/system/index.js b/docs/data/components/slider/UnstyledSliderIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/slider/UnstyledSliderIntroduction/system/index.js
rename to docs/data/components/slider/UnstyledSliderIntroduction/system/index.js
diff --git a/docs/data/base/components/slider/UnstyledSliderIntroduction/system/index.tsx b/docs/data/components/slider/UnstyledSliderIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/slider/UnstyledSliderIntroduction/system/index.tsx
rename to docs/data/components/slider/UnstyledSliderIntroduction/system/index.tsx
diff --git a/docs/data/base/components/slider/UnstyledSliderIntroduction/system/index.tsx.preview b/docs/data/components/slider/UnstyledSliderIntroduction/system/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/slider/UnstyledSliderIntroduction/system/index.tsx.preview
rename to docs/data/components/slider/UnstyledSliderIntroduction/system/index.tsx.preview
diff --git a/docs/data/base/components/slider/UnstyledSliderIntroduction/tailwind/index.js b/docs/data/components/slider/UnstyledSliderIntroduction/tailwind/index.js
similarity index 100%
rename from docs/data/base/components/slider/UnstyledSliderIntroduction/tailwind/index.js
rename to docs/data/components/slider/UnstyledSliderIntroduction/tailwind/index.js
diff --git a/docs/data/base/components/slider/UnstyledSliderIntroduction/tailwind/index.tsx b/docs/data/components/slider/UnstyledSliderIntroduction/tailwind/index.tsx
similarity index 100%
rename from docs/data/base/components/slider/UnstyledSliderIntroduction/tailwind/index.tsx
rename to docs/data/components/slider/UnstyledSliderIntroduction/tailwind/index.tsx
diff --git a/docs/data/base/components/slider/UnstyledSliderIntroduction/tailwind/index.tsx.preview b/docs/data/components/slider/UnstyledSliderIntroduction/tailwind/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/slider/UnstyledSliderIntroduction/tailwind/index.tsx.preview
rename to docs/data/components/slider/UnstyledSliderIntroduction/tailwind/index.tsx.preview
diff --git a/docs/data/base/components/slider/VerticalSlider.js b/docs/data/components/slider/VerticalSlider.js
similarity index 100%
rename from docs/data/base/components/slider/VerticalSlider.js
rename to docs/data/components/slider/VerticalSlider.js
diff --git a/docs/data/base/components/slider/VerticalSlider.tsx b/docs/data/components/slider/VerticalSlider.tsx
similarity index 100%
rename from docs/data/base/components/slider/VerticalSlider.tsx
rename to docs/data/components/slider/VerticalSlider.tsx
diff --git a/docs/data/base/components/slider/slider.mdx b/docs/data/components/slider/slider.mdx
similarity index 100%
rename from docs/data/base/components/slider/slider.mdx
rename to docs/data/components/slider/slider.mdx
diff --git a/docs/data/base/components/snackbar/snackbar.mdx b/docs/data/components/snackbar/snackbar.mdx
similarity index 100%
rename from docs/data/base/components/snackbar/snackbar.mdx
rename to docs/data/components/snackbar/snackbar.mdx
diff --git a/docs/data/base/components/switch/UnstyledSwitchIntroduction/css/index.js b/docs/data/components/switch/UnstyledSwitchIntroduction/css/index.js
similarity index 100%
rename from docs/data/base/components/switch/UnstyledSwitchIntroduction/css/index.js
rename to docs/data/components/switch/UnstyledSwitchIntroduction/css/index.js
diff --git a/docs/data/base/components/switch/UnstyledSwitchIntroduction/css/index.tsx b/docs/data/components/switch/UnstyledSwitchIntroduction/css/index.tsx
similarity index 100%
rename from docs/data/base/components/switch/UnstyledSwitchIntroduction/css/index.tsx
rename to docs/data/components/switch/UnstyledSwitchIntroduction/css/index.tsx
diff --git a/docs/data/base/components/switch/UnstyledSwitchIntroduction/system/index.js b/docs/data/components/switch/UnstyledSwitchIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/switch/UnstyledSwitchIntroduction/system/index.js
rename to docs/data/components/switch/UnstyledSwitchIntroduction/system/index.js
diff --git a/docs/data/base/components/switch/UnstyledSwitchIntroduction/system/index.tsx b/docs/data/components/switch/UnstyledSwitchIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/switch/UnstyledSwitchIntroduction/system/index.tsx
rename to docs/data/components/switch/UnstyledSwitchIntroduction/system/index.tsx
diff --git a/docs/data/base/components/switch/UnstyledSwitchIntroduction/system/index.tsx.preview b/docs/data/components/switch/UnstyledSwitchIntroduction/system/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/switch/UnstyledSwitchIntroduction/system/index.tsx.preview
rename to docs/data/components/switch/UnstyledSwitchIntroduction/system/index.tsx.preview
diff --git a/docs/data/base/components/switch/UnstyledSwitchIntroduction/tailwind/index.js b/docs/data/components/switch/UnstyledSwitchIntroduction/tailwind/index.js
similarity index 100%
rename from docs/data/base/components/switch/UnstyledSwitchIntroduction/tailwind/index.js
rename to docs/data/components/switch/UnstyledSwitchIntroduction/tailwind/index.js
diff --git a/docs/data/base/components/switch/UnstyledSwitchIntroduction/tailwind/index.tsx b/docs/data/components/switch/UnstyledSwitchIntroduction/tailwind/index.tsx
similarity index 100%
rename from docs/data/base/components/switch/UnstyledSwitchIntroduction/tailwind/index.tsx
rename to docs/data/components/switch/UnstyledSwitchIntroduction/tailwind/index.tsx
diff --git a/docs/data/base/components/switch/UnstyledSwitchIntroduction/tailwind/index.tsx.preview b/docs/data/components/switch/UnstyledSwitchIntroduction/tailwind/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/switch/UnstyledSwitchIntroduction/tailwind/index.tsx.preview
rename to docs/data/components/switch/UnstyledSwitchIntroduction/tailwind/index.tsx.preview
diff --git a/docs/data/base/components/switch/switch.mdx b/docs/data/components/switch/switch.mdx
similarity index 100%
rename from docs/data/base/components/switch/switch.mdx
rename to docs/data/components/switch/switch.mdx
diff --git a/docs/data/base/components/table-pagination/table-pagination.mdx b/docs/data/components/table-pagination/table-pagination.mdx
similarity index 100%
rename from docs/data/base/components/table-pagination/table-pagination.mdx
rename to docs/data/components/table-pagination/table-pagination.mdx
diff --git a/docs/data/base/components/tabs/IndicatorBubble.js b/docs/data/components/tabs/IndicatorBubble.js
similarity index 100%
rename from docs/data/base/components/tabs/IndicatorBubble.js
rename to docs/data/components/tabs/IndicatorBubble.js
diff --git a/docs/data/base/components/tabs/IndicatorBubble.tsx b/docs/data/components/tabs/IndicatorBubble.tsx
similarity index 100%
rename from docs/data/base/components/tabs/IndicatorBubble.tsx
rename to docs/data/components/tabs/IndicatorBubble.tsx
diff --git a/docs/data/base/components/tabs/IndicatorBubble.tsx.preview b/docs/data/components/tabs/IndicatorBubble.tsx.preview
similarity index 100%
rename from docs/data/base/components/tabs/IndicatorBubble.tsx.preview
rename to docs/data/components/tabs/IndicatorBubble.tsx.preview
diff --git a/docs/data/base/components/tabs/IndicatorUnderline.js b/docs/data/components/tabs/IndicatorUnderline.js
similarity index 100%
rename from docs/data/base/components/tabs/IndicatorUnderline.js
rename to docs/data/components/tabs/IndicatorUnderline.js
diff --git a/docs/data/base/components/tabs/IndicatorUnderline.tsx b/docs/data/components/tabs/IndicatorUnderline.tsx
similarity index 100%
rename from docs/data/base/components/tabs/IndicatorUnderline.tsx
rename to docs/data/components/tabs/IndicatorUnderline.tsx
diff --git a/docs/data/base/components/tabs/IndicatorUnderline.tsx.preview b/docs/data/components/tabs/IndicatorUnderline.tsx.preview
similarity index 100%
rename from docs/data/base/components/tabs/IndicatorUnderline.tsx.preview
rename to docs/data/components/tabs/IndicatorUnderline.tsx.preview
diff --git a/docs/data/base/components/tabs/KeyboardNavigation.js b/docs/data/components/tabs/KeyboardNavigation.js
similarity index 100%
rename from docs/data/base/components/tabs/KeyboardNavigation.js
rename to docs/data/components/tabs/KeyboardNavigation.js
diff --git a/docs/data/base/components/tabs/KeyboardNavigation.tsx b/docs/data/components/tabs/KeyboardNavigation.tsx
similarity index 100%
rename from docs/data/base/components/tabs/KeyboardNavigation.tsx
rename to docs/data/components/tabs/KeyboardNavigation.tsx
diff --git a/docs/data/base/components/tabs/UnstyledTabsIntroduction/css/index.js b/docs/data/components/tabs/UnstyledTabsIntroduction/css/index.js
similarity index 100%
rename from docs/data/base/components/tabs/UnstyledTabsIntroduction/css/index.js
rename to docs/data/components/tabs/UnstyledTabsIntroduction/css/index.js
diff --git a/docs/data/base/components/tabs/UnstyledTabsIntroduction/css/index.tsx b/docs/data/components/tabs/UnstyledTabsIntroduction/css/index.tsx
similarity index 100%
rename from docs/data/base/components/tabs/UnstyledTabsIntroduction/css/index.tsx
rename to docs/data/components/tabs/UnstyledTabsIntroduction/css/index.tsx
diff --git a/docs/data/base/components/tabs/UnstyledTabsIntroduction/system/index.js b/docs/data/components/tabs/UnstyledTabsIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/tabs/UnstyledTabsIntroduction/system/index.js
rename to docs/data/components/tabs/UnstyledTabsIntroduction/system/index.js
diff --git a/docs/data/base/components/tabs/UnstyledTabsIntroduction/system/index.tsx b/docs/data/components/tabs/UnstyledTabsIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/tabs/UnstyledTabsIntroduction/system/index.tsx
rename to docs/data/components/tabs/UnstyledTabsIntroduction/system/index.tsx
diff --git a/docs/data/base/components/tabs/UnstyledTabsIntroduction/system/index.tsx.preview b/docs/data/components/tabs/UnstyledTabsIntroduction/system/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/tabs/UnstyledTabsIntroduction/system/index.tsx.preview
rename to docs/data/components/tabs/UnstyledTabsIntroduction/system/index.tsx.preview
diff --git a/docs/data/base/components/tabs/UnstyledTabsIntroduction/tailwind/index.js b/docs/data/components/tabs/UnstyledTabsIntroduction/tailwind/index.js
similarity index 100%
rename from docs/data/base/components/tabs/UnstyledTabsIntroduction/tailwind/index.js
rename to docs/data/components/tabs/UnstyledTabsIntroduction/tailwind/index.js
diff --git a/docs/data/base/components/tabs/UnstyledTabsIntroduction/tailwind/index.tsx b/docs/data/components/tabs/UnstyledTabsIntroduction/tailwind/index.tsx
similarity index 100%
rename from docs/data/base/components/tabs/UnstyledTabsIntroduction/tailwind/index.tsx
rename to docs/data/components/tabs/UnstyledTabsIntroduction/tailwind/index.tsx
diff --git a/docs/data/base/components/tabs/UnstyledTabsIntroduction/tailwind/index.tsx.preview b/docs/data/components/tabs/UnstyledTabsIntroduction/tailwind/index.tsx.preview
similarity index 100%
rename from docs/data/base/components/tabs/UnstyledTabsIntroduction/tailwind/index.tsx.preview
rename to docs/data/components/tabs/UnstyledTabsIntroduction/tailwind/index.tsx.preview
diff --git a/docs/data/base/components/tabs/UnstyledTabsRouting.js b/docs/data/components/tabs/UnstyledTabsRouting.js
similarity index 100%
rename from docs/data/base/components/tabs/UnstyledTabsRouting.js
rename to docs/data/components/tabs/UnstyledTabsRouting.js
diff --git a/docs/data/base/components/tabs/UnstyledTabsRouting.tsx b/docs/data/components/tabs/UnstyledTabsRouting.tsx
similarity index 100%
rename from docs/data/base/components/tabs/UnstyledTabsRouting.tsx
rename to docs/data/components/tabs/UnstyledTabsRouting.tsx
diff --git a/docs/data/base/components/tabs/UnstyledTabsRouting.tsx.preview b/docs/data/components/tabs/UnstyledTabsRouting.tsx.preview
similarity index 100%
rename from docs/data/base/components/tabs/UnstyledTabsRouting.tsx.preview
rename to docs/data/components/tabs/UnstyledTabsRouting.tsx.preview
diff --git a/docs/data/base/components/tabs/tabs.mdx b/docs/data/components/tabs/tabs.mdx
similarity index 100%
rename from docs/data/base/components/tabs/tabs.mdx
rename to docs/data/components/tabs/tabs.mdx
diff --git a/docs/data/base/components/textarea-autosize/textarea-autosize.mdx b/docs/data/components/textarea-autosize/textarea-autosize.mdx
similarity index 100%
rename from docs/data/base/components/textarea-autosize/textarea-autosize.mdx
rename to docs/data/components/textarea-autosize/textarea-autosize.mdx
diff --git a/docs/data/base/components/toggle-button-group/toggle-button-group.mdx b/docs/data/components/toggle-button-group/toggle-button-group.mdx
similarity index 100%
rename from docs/data/base/components/toggle-button-group/toggle-button-group.mdx
rename to docs/data/components/toggle-button-group/toggle-button-group.mdx
diff --git a/docs/data/base/components/tooltip/UnstyledTooltipDelayGroup.js b/docs/data/components/tooltip/UnstyledTooltipDelayGroup.js
similarity index 100%
rename from docs/data/base/components/tooltip/UnstyledTooltipDelayGroup.js
rename to docs/data/components/tooltip/UnstyledTooltipDelayGroup.js
diff --git a/docs/data/base/components/tooltip/UnstyledTooltipDelayGroup.tsx b/docs/data/components/tooltip/UnstyledTooltipDelayGroup.tsx
similarity index 100%
rename from docs/data/base/components/tooltip/UnstyledTooltipDelayGroup.tsx
rename to docs/data/components/tooltip/UnstyledTooltipDelayGroup.tsx
diff --git a/docs/data/base/components/tooltip/UnstyledTooltipDelayGroup.tsx.preview b/docs/data/components/tooltip/UnstyledTooltipDelayGroup.tsx.preview
similarity index 100%
rename from docs/data/base/components/tooltip/UnstyledTooltipDelayGroup.tsx.preview
rename to docs/data/components/tooltip/UnstyledTooltipDelayGroup.tsx.preview
diff --git a/docs/data/base/components/tooltip/UnstyledTooltipFollowCursor.js b/docs/data/components/tooltip/UnstyledTooltipFollowCursor.js
similarity index 100%
rename from docs/data/base/components/tooltip/UnstyledTooltipFollowCursor.js
rename to docs/data/components/tooltip/UnstyledTooltipFollowCursor.js
diff --git a/docs/data/base/components/tooltip/UnstyledTooltipFollowCursor.tsx b/docs/data/components/tooltip/UnstyledTooltipFollowCursor.tsx
similarity index 100%
rename from docs/data/base/components/tooltip/UnstyledTooltipFollowCursor.tsx
rename to docs/data/components/tooltip/UnstyledTooltipFollowCursor.tsx
diff --git a/docs/data/base/components/tooltip/UnstyledTooltipFollowCursor.tsx.preview b/docs/data/components/tooltip/UnstyledTooltipFollowCursor.tsx.preview
similarity index 100%
rename from docs/data/base/components/tooltip/UnstyledTooltipFollowCursor.tsx.preview
rename to docs/data/components/tooltip/UnstyledTooltipFollowCursor.tsx.preview
diff --git a/docs/data/base/components/tooltip/UnstyledTooltipIntroduction/system/index.js b/docs/data/components/tooltip/UnstyledTooltipIntroduction/system/index.js
similarity index 100%
rename from docs/data/base/components/tooltip/UnstyledTooltipIntroduction/system/index.js
rename to docs/data/components/tooltip/UnstyledTooltipIntroduction/system/index.js
diff --git a/docs/data/base/components/tooltip/UnstyledTooltipIntroduction/system/index.tsx b/docs/data/components/tooltip/UnstyledTooltipIntroduction/system/index.tsx
similarity index 100%
rename from docs/data/base/components/tooltip/UnstyledTooltipIntroduction/system/index.tsx
rename to docs/data/components/tooltip/UnstyledTooltipIntroduction/system/index.tsx
diff --git a/docs/data/base/components/tooltip/UnstyledTooltipTransition.js b/docs/data/components/tooltip/UnstyledTooltipTransition.js
similarity index 100%
rename from docs/data/base/components/tooltip/UnstyledTooltipTransition.js
rename to docs/data/components/tooltip/UnstyledTooltipTransition.js
diff --git a/docs/data/base/components/tooltip/UnstyledTooltipTransition.tsx b/docs/data/components/tooltip/UnstyledTooltipTransition.tsx
similarity index 100%
rename from docs/data/base/components/tooltip/UnstyledTooltipTransition.tsx
rename to docs/data/components/tooltip/UnstyledTooltipTransition.tsx
diff --git a/docs/data/base/components/tooltip/UnstyledTooltipTransition.tsx.preview b/docs/data/components/tooltip/UnstyledTooltipTransition.tsx.preview
similarity index 100%
rename from docs/data/base/components/tooltip/UnstyledTooltipTransition.tsx.preview
rename to docs/data/components/tooltip/UnstyledTooltipTransition.tsx.preview
diff --git a/docs/data/base/components/tooltip/tooltip.mdx b/docs/data/components/tooltip/tooltip.mdx
similarity index 100%
rename from docs/data/base/components/tooltip/tooltip.mdx
rename to docs/data/components/tooltip/tooltip.mdx
diff --git a/docs/data/base/getting-started/accessibility/ColorContrast.js b/docs/data/getting-started/accessibility/ColorContrast.js
similarity index 100%
rename from docs/data/base/getting-started/accessibility/ColorContrast.js
rename to docs/data/getting-started/accessibility/ColorContrast.js
diff --git a/docs/data/base/getting-started/accessibility/ColorContrast.tsx b/docs/data/getting-started/accessibility/ColorContrast.tsx
similarity index 100%
rename from docs/data/base/getting-started/accessibility/ColorContrast.tsx
rename to docs/data/getting-started/accessibility/ColorContrast.tsx
diff --git a/docs/data/base/getting-started/accessibility/ColorContrast.tsx.preview b/docs/data/getting-started/accessibility/ColorContrast.tsx.preview
similarity index 100%
rename from docs/data/base/getting-started/accessibility/ColorContrast.tsx.preview
rename to docs/data/getting-started/accessibility/ColorContrast.tsx.preview
diff --git a/docs/data/base/getting-started/accessibility/FocusRing.js b/docs/data/getting-started/accessibility/FocusRing.js
similarity index 100%
rename from docs/data/base/getting-started/accessibility/FocusRing.js
rename to docs/data/getting-started/accessibility/FocusRing.js
diff --git a/docs/data/base/getting-started/accessibility/FocusRing.tsx b/docs/data/getting-started/accessibility/FocusRing.tsx
similarity index 100%
rename from docs/data/base/getting-started/accessibility/FocusRing.tsx
rename to docs/data/getting-started/accessibility/FocusRing.tsx
diff --git a/docs/data/base/getting-started/accessibility/FocusRing.tsx.preview b/docs/data/getting-started/accessibility/FocusRing.tsx.preview
similarity index 100%
rename from docs/data/base/getting-started/accessibility/FocusRing.tsx.preview
rename to docs/data/getting-started/accessibility/FocusRing.tsx.preview
diff --git a/docs/data/base/getting-started/accessibility/KeyboardNavigation.js b/docs/data/getting-started/accessibility/KeyboardNavigation.js
similarity index 100%
rename from docs/data/base/getting-started/accessibility/KeyboardNavigation.js
rename to docs/data/getting-started/accessibility/KeyboardNavigation.js
diff --git a/docs/data/base/getting-started/accessibility/KeyboardNavigation.tsx b/docs/data/getting-started/accessibility/KeyboardNavigation.tsx
similarity index 100%
rename from docs/data/base/getting-started/accessibility/KeyboardNavigation.tsx
rename to docs/data/getting-started/accessibility/KeyboardNavigation.tsx
diff --git a/docs/data/base/getting-started/accessibility/accessibility.mdx b/docs/data/getting-started/accessibility/accessibility.mdx
similarity index 100%
rename from docs/data/base/getting-started/accessibility/accessibility.mdx
rename to docs/data/getting-started/accessibility/accessibility.mdx
diff --git a/docs/data/base/getting-started/overview/overview.mdx b/docs/data/getting-started/overview/overview.mdx
similarity index 100%
rename from docs/data/base/getting-started/overview/overview.mdx
rename to docs/data/getting-started/overview/overview.mdx
diff --git a/docs/data/base/getting-started/quickstart/quickstart.mdx b/docs/data/getting-started/quickstart/quickstart.mdx
similarity index 100%
rename from docs/data/base/getting-started/quickstart/quickstart.mdx
rename to docs/data/getting-started/quickstart/quickstart.mdx
diff --git a/docs/data/base/getting-started/support/support.mdx b/docs/data/getting-started/support/support.mdx
similarity index 100%
rename from docs/data/base/getting-started/support/support.mdx
rename to docs/data/getting-started/support/support.mdx
diff --git a/docs/data/base/getting-started/usage/usage.mdx b/docs/data/getting-started/usage/usage.mdx
similarity index 100%
rename from docs/data/base/getting-started/usage/usage.mdx
rename to docs/data/getting-started/usage/usage.mdx
diff --git a/docs/data/base/guides/next-js-app-router/next-js-app-router.mdx b/docs/data/guides/next-js-app-router/next-js-app-router.mdx
similarity index 100%
rename from docs/data/base/guides/next-js-app-router/next-js-app-router.mdx
rename to docs/data/guides/next-js-app-router/next-js-app-router.mdx
diff --git a/docs/data/base/pages.ts b/docs/data/pages.ts
similarity index 100%
rename from docs/data/base/pages.ts
rename to docs/data/pages.ts
diff --git a/docs/data/base/translations/api-docs/alert-dialog-backdrop/alert-dialog-backdrop.json b/docs/data/translations/api-docs/alert-dialog-backdrop/alert-dialog-backdrop.json
similarity index 100%
rename from docs/data/base/translations/api-docs/alert-dialog-backdrop/alert-dialog-backdrop.json
rename to docs/data/translations/api-docs/alert-dialog-backdrop/alert-dialog-backdrop.json
diff --git a/docs/data/base/translations/api-docs/alert-dialog-close/alert-dialog-close.json b/docs/data/translations/api-docs/alert-dialog-close/alert-dialog-close.json
similarity index 100%
rename from docs/data/base/translations/api-docs/alert-dialog-close/alert-dialog-close.json
rename to docs/data/translations/api-docs/alert-dialog-close/alert-dialog-close.json
diff --git a/docs/data/base/translations/api-docs/alert-dialog-description/alert-dialog-description.json b/docs/data/translations/api-docs/alert-dialog-description/alert-dialog-description.json
similarity index 100%
rename from docs/data/base/translations/api-docs/alert-dialog-description/alert-dialog-description.json
rename to docs/data/translations/api-docs/alert-dialog-description/alert-dialog-description.json
diff --git a/docs/data/base/translations/api-docs/alert-dialog-popup/alert-dialog-popup.json b/docs/data/translations/api-docs/alert-dialog-popup/alert-dialog-popup.json
similarity index 100%
rename from docs/data/base/translations/api-docs/alert-dialog-popup/alert-dialog-popup.json
rename to docs/data/translations/api-docs/alert-dialog-popup/alert-dialog-popup.json
diff --git a/docs/data/base/translations/api-docs/alert-dialog-root/alert-dialog-root.json b/docs/data/translations/api-docs/alert-dialog-root/alert-dialog-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/alert-dialog-root/alert-dialog-root.json
rename to docs/data/translations/api-docs/alert-dialog-root/alert-dialog-root.json
diff --git a/docs/data/base/translations/api-docs/alert-dialog-title/alert-dialog-title.json b/docs/data/translations/api-docs/alert-dialog-title/alert-dialog-title.json
similarity index 100%
rename from docs/data/base/translations/api-docs/alert-dialog-title/alert-dialog-title.json
rename to docs/data/translations/api-docs/alert-dialog-title/alert-dialog-title.json
diff --git a/docs/data/base/translations/api-docs/alert-dialog-trigger/alert-dialog-trigger.json b/docs/data/translations/api-docs/alert-dialog-trigger/alert-dialog-trigger.json
similarity index 100%
rename from docs/data/base/translations/api-docs/alert-dialog-trigger/alert-dialog-trigger.json
rename to docs/data/translations/api-docs/alert-dialog-trigger/alert-dialog-trigger.json
diff --git a/docs/data/base/translations/api-docs/checkbox-indicator/checkbox-indicator.json b/docs/data/translations/api-docs/checkbox-indicator/checkbox-indicator.json
similarity index 100%
rename from docs/data/base/translations/api-docs/checkbox-indicator/checkbox-indicator.json
rename to docs/data/translations/api-docs/checkbox-indicator/checkbox-indicator.json
diff --git a/docs/data/base/translations/api-docs/checkbox-root/checkbox-root.json b/docs/data/translations/api-docs/checkbox-root/checkbox-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/checkbox-root/checkbox-root.json
rename to docs/data/translations/api-docs/checkbox-root/checkbox-root.json
diff --git a/docs/data/base/translations/api-docs/click-away-listener/click-away-listener.json b/docs/data/translations/api-docs/click-away-listener/click-away-listener.json
similarity index 100%
rename from docs/data/base/translations/api-docs/click-away-listener/click-away-listener.json
rename to docs/data/translations/api-docs/click-away-listener/click-away-listener.json
diff --git a/docs/data/base/translations/api-docs/dialog-backdrop/dialog-backdrop.json b/docs/data/translations/api-docs/dialog-backdrop/dialog-backdrop.json
similarity index 100%
rename from docs/data/base/translations/api-docs/dialog-backdrop/dialog-backdrop.json
rename to docs/data/translations/api-docs/dialog-backdrop/dialog-backdrop.json
diff --git a/docs/data/base/translations/api-docs/dialog-close/dialog-close.json b/docs/data/translations/api-docs/dialog-close/dialog-close.json
similarity index 100%
rename from docs/data/base/translations/api-docs/dialog-close/dialog-close.json
rename to docs/data/translations/api-docs/dialog-close/dialog-close.json
diff --git a/docs/data/base/translations/api-docs/dialog-description/dialog-description.json b/docs/data/translations/api-docs/dialog-description/dialog-description.json
similarity index 100%
rename from docs/data/base/translations/api-docs/dialog-description/dialog-description.json
rename to docs/data/translations/api-docs/dialog-description/dialog-description.json
diff --git a/docs/data/base/translations/api-docs/dialog-popup/dialog-popup.json b/docs/data/translations/api-docs/dialog-popup/dialog-popup.json
similarity index 100%
rename from docs/data/base/translations/api-docs/dialog-popup/dialog-popup.json
rename to docs/data/translations/api-docs/dialog-popup/dialog-popup.json
diff --git a/docs/data/base/translations/api-docs/dialog-root/dialog-root.json b/docs/data/translations/api-docs/dialog-root/dialog-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/dialog-root/dialog-root.json
rename to docs/data/translations/api-docs/dialog-root/dialog-root.json
diff --git a/docs/data/base/translations/api-docs/dialog-title/dialog-title.json b/docs/data/translations/api-docs/dialog-title/dialog-title.json
similarity index 100%
rename from docs/data/base/translations/api-docs/dialog-title/dialog-title.json
rename to docs/data/translations/api-docs/dialog-title/dialog-title.json
diff --git a/docs/data/base/translations/api-docs/dialog-trigger/dialog-trigger.json b/docs/data/translations/api-docs/dialog-trigger/dialog-trigger.json
similarity index 100%
rename from docs/data/base/translations/api-docs/dialog-trigger/dialog-trigger.json
rename to docs/data/translations/api-docs/dialog-trigger/dialog-trigger.json
diff --git a/docs/data/base/translations/api-docs/field-control/field-control.json b/docs/data/translations/api-docs/field-control/field-control.json
similarity index 100%
rename from docs/data/base/translations/api-docs/field-control/field-control.json
rename to docs/data/translations/api-docs/field-control/field-control.json
diff --git a/docs/data/base/translations/api-docs/field-description/field-description.json b/docs/data/translations/api-docs/field-description/field-description.json
similarity index 100%
rename from docs/data/base/translations/api-docs/field-description/field-description.json
rename to docs/data/translations/api-docs/field-description/field-description.json
diff --git a/docs/data/base/translations/api-docs/field-error/field-error.json b/docs/data/translations/api-docs/field-error/field-error.json
similarity index 100%
rename from docs/data/base/translations/api-docs/field-error/field-error.json
rename to docs/data/translations/api-docs/field-error/field-error.json
diff --git a/docs/data/base/translations/api-docs/field-label/field-label.json b/docs/data/translations/api-docs/field-label/field-label.json
similarity index 100%
rename from docs/data/base/translations/api-docs/field-label/field-label.json
rename to docs/data/translations/api-docs/field-label/field-label.json
diff --git a/docs/data/base/translations/api-docs/field-root/field-root.json b/docs/data/translations/api-docs/field-root/field-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/field-root/field-root.json
rename to docs/data/translations/api-docs/field-root/field-root.json
diff --git a/docs/data/base/translations/api-docs/field-validity/field-validity.json b/docs/data/translations/api-docs/field-validity/field-validity.json
similarity index 100%
rename from docs/data/base/translations/api-docs/field-validity/field-validity.json
rename to docs/data/translations/api-docs/field-validity/field-validity.json
diff --git a/docs/data/base/translations/api-docs/fieldset-legend/fieldset-legend.json b/docs/data/translations/api-docs/fieldset-legend/fieldset-legend.json
similarity index 100%
rename from docs/data/base/translations/api-docs/fieldset-legend/fieldset-legend.json
rename to docs/data/translations/api-docs/fieldset-legend/fieldset-legend.json
diff --git a/docs/data/base/translations/api-docs/fieldset-root/fieldset-root.json b/docs/data/translations/api-docs/fieldset-root/fieldset-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/fieldset-root/fieldset-root.json
rename to docs/data/translations/api-docs/fieldset-root/fieldset-root.json
diff --git a/docs/data/base/translations/api-docs/focus-trap/focus-trap.json b/docs/data/translations/api-docs/focus-trap/focus-trap.json
similarity index 100%
rename from docs/data/base/translations/api-docs/focus-trap/focus-trap.json
rename to docs/data/translations/api-docs/focus-trap/focus-trap.json
diff --git a/docs/data/base/translations/api-docs/form-control/form-control.json b/docs/data/translations/api-docs/form-control/form-control.json
similarity index 100%
rename from docs/data/base/translations/api-docs/form-control/form-control.json
rename to docs/data/translations/api-docs/form-control/form-control.json
diff --git a/docs/data/base/translations/api-docs/menu-arrow/menu-arrow.json b/docs/data/translations/api-docs/menu-arrow/menu-arrow.json
similarity index 100%
rename from docs/data/base/translations/api-docs/menu-arrow/menu-arrow.json
rename to docs/data/translations/api-docs/menu-arrow/menu-arrow.json
diff --git a/docs/data/base/translations/api-docs/menu-item/menu-item.json b/docs/data/translations/api-docs/menu-item/menu-item.json
similarity index 100%
rename from docs/data/base/translations/api-docs/menu-item/menu-item.json
rename to docs/data/translations/api-docs/menu-item/menu-item.json
diff --git a/docs/data/base/translations/api-docs/menu-popup/menu-popup.json b/docs/data/translations/api-docs/menu-popup/menu-popup.json
similarity index 100%
rename from docs/data/base/translations/api-docs/menu-popup/menu-popup.json
rename to docs/data/translations/api-docs/menu-popup/menu-popup.json
diff --git a/docs/data/base/translations/api-docs/menu-positioner/menu-positioner.json b/docs/data/translations/api-docs/menu-positioner/menu-positioner.json
similarity index 100%
rename from docs/data/base/translations/api-docs/menu-positioner/menu-positioner.json
rename to docs/data/translations/api-docs/menu-positioner/menu-positioner.json
diff --git a/docs/data/base/translations/api-docs/menu-root/menu-root.json b/docs/data/translations/api-docs/menu-root/menu-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/menu-root/menu-root.json
rename to docs/data/translations/api-docs/menu-root/menu-root.json
diff --git a/docs/data/base/translations/api-docs/menu-trigger/menu-trigger.json b/docs/data/translations/api-docs/menu-trigger/menu-trigger.json
similarity index 100%
rename from docs/data/base/translations/api-docs/menu-trigger/menu-trigger.json
rename to docs/data/translations/api-docs/menu-trigger/menu-trigger.json
diff --git a/docs/data/base/translations/api-docs/no-ssr/no-ssr.json b/docs/data/translations/api-docs/no-ssr/no-ssr.json
similarity index 100%
rename from docs/data/base/translations/api-docs/no-ssr/no-ssr.json
rename to docs/data/translations/api-docs/no-ssr/no-ssr.json
diff --git a/docs/data/base/translations/api-docs/number-field-decrement/number-field-decrement.json b/docs/data/translations/api-docs/number-field-decrement/number-field-decrement.json
similarity index 100%
rename from docs/data/base/translations/api-docs/number-field-decrement/number-field-decrement.json
rename to docs/data/translations/api-docs/number-field-decrement/number-field-decrement.json
diff --git a/docs/data/base/translations/api-docs/number-field-group/number-field-group.json b/docs/data/translations/api-docs/number-field-group/number-field-group.json
similarity index 100%
rename from docs/data/base/translations/api-docs/number-field-group/number-field-group.json
rename to docs/data/translations/api-docs/number-field-group/number-field-group.json
diff --git a/docs/data/base/translations/api-docs/number-field-increment/number-field-increment.json b/docs/data/translations/api-docs/number-field-increment/number-field-increment.json
similarity index 100%
rename from docs/data/base/translations/api-docs/number-field-increment/number-field-increment.json
rename to docs/data/translations/api-docs/number-field-increment/number-field-increment.json
diff --git a/docs/data/base/translations/api-docs/number-field-input/number-field-input.json b/docs/data/translations/api-docs/number-field-input/number-field-input.json
similarity index 100%
rename from docs/data/base/translations/api-docs/number-field-input/number-field-input.json
rename to docs/data/translations/api-docs/number-field-input/number-field-input.json
diff --git a/docs/data/base/translations/api-docs/number-field-root/number-field-root.json b/docs/data/translations/api-docs/number-field-root/number-field-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/number-field-root/number-field-root.json
rename to docs/data/translations/api-docs/number-field-root/number-field-root.json
diff --git a/docs/data/base/translations/api-docs/number-field-scrub-area-cursor/number-field-scrub-area-cursor.json b/docs/data/translations/api-docs/number-field-scrub-area-cursor/number-field-scrub-area-cursor.json
similarity index 100%
rename from docs/data/base/translations/api-docs/number-field-scrub-area-cursor/number-field-scrub-area-cursor.json
rename to docs/data/translations/api-docs/number-field-scrub-area-cursor/number-field-scrub-area-cursor.json
diff --git a/docs/data/base/translations/api-docs/number-field-scrub-area/number-field-scrub-area.json b/docs/data/translations/api-docs/number-field-scrub-area/number-field-scrub-area.json
similarity index 100%
rename from docs/data/base/translations/api-docs/number-field-scrub-area/number-field-scrub-area.json
rename to docs/data/translations/api-docs/number-field-scrub-area/number-field-scrub-area.json
diff --git a/docs/data/base/translations/api-docs/option-group/option-group.json b/docs/data/translations/api-docs/option-group/option-group.json
similarity index 100%
rename from docs/data/base/translations/api-docs/option-group/option-group.json
rename to docs/data/translations/api-docs/option-group/option-group.json
diff --git a/docs/data/base/translations/api-docs/option/option.json b/docs/data/translations/api-docs/option/option.json
similarity index 100%
rename from docs/data/base/translations/api-docs/option/option.json
rename to docs/data/translations/api-docs/option/option.json
diff --git a/docs/data/base/translations/api-docs/popover-arrow/popover-arrow.json b/docs/data/translations/api-docs/popover-arrow/popover-arrow.json
similarity index 100%
rename from docs/data/base/translations/api-docs/popover-arrow/popover-arrow.json
rename to docs/data/translations/api-docs/popover-arrow/popover-arrow.json
diff --git a/docs/data/base/translations/api-docs/popover-backdrop/popover-backdrop.json b/docs/data/translations/api-docs/popover-backdrop/popover-backdrop.json
similarity index 100%
rename from docs/data/base/translations/api-docs/popover-backdrop/popover-backdrop.json
rename to docs/data/translations/api-docs/popover-backdrop/popover-backdrop.json
diff --git a/docs/data/base/translations/api-docs/popover-close/popover-close.json b/docs/data/translations/api-docs/popover-close/popover-close.json
similarity index 100%
rename from docs/data/base/translations/api-docs/popover-close/popover-close.json
rename to docs/data/translations/api-docs/popover-close/popover-close.json
diff --git a/docs/data/base/translations/api-docs/popover-description/popover-description.json b/docs/data/translations/api-docs/popover-description/popover-description.json
similarity index 100%
rename from docs/data/base/translations/api-docs/popover-description/popover-description.json
rename to docs/data/translations/api-docs/popover-description/popover-description.json
diff --git a/docs/data/base/translations/api-docs/popover-popup/popover-popup.json b/docs/data/translations/api-docs/popover-popup/popover-popup.json
similarity index 100%
rename from docs/data/base/translations/api-docs/popover-popup/popover-popup.json
rename to docs/data/translations/api-docs/popover-popup/popover-popup.json
diff --git a/docs/data/base/translations/api-docs/popover-positioner/popover-positioner.json b/docs/data/translations/api-docs/popover-positioner/popover-positioner.json
similarity index 100%
rename from docs/data/base/translations/api-docs/popover-positioner/popover-positioner.json
rename to docs/data/translations/api-docs/popover-positioner/popover-positioner.json
diff --git a/docs/data/base/translations/api-docs/popover-root/popover-root.json b/docs/data/translations/api-docs/popover-root/popover-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/popover-root/popover-root.json
rename to docs/data/translations/api-docs/popover-root/popover-root.json
diff --git a/docs/data/base/translations/api-docs/popover-title/popover-title.json b/docs/data/translations/api-docs/popover-title/popover-title.json
similarity index 100%
rename from docs/data/base/translations/api-docs/popover-title/popover-title.json
rename to docs/data/translations/api-docs/popover-title/popover-title.json
diff --git a/docs/data/base/translations/api-docs/popover-trigger/popover-trigger.json b/docs/data/translations/api-docs/popover-trigger/popover-trigger.json
similarity index 100%
rename from docs/data/base/translations/api-docs/popover-trigger/popover-trigger.json
rename to docs/data/translations/api-docs/popover-trigger/popover-trigger.json
diff --git a/docs/data/base/translations/api-docs/popup/popup.json b/docs/data/translations/api-docs/popup/popup.json
similarity index 100%
rename from docs/data/base/translations/api-docs/popup/popup.json
rename to docs/data/translations/api-docs/popup/popup.json
diff --git a/docs/data/base/translations/api-docs/portal/portal.json b/docs/data/translations/api-docs/portal/portal.json
similarity index 100%
rename from docs/data/base/translations/api-docs/portal/portal.json
rename to docs/data/translations/api-docs/portal/portal.json
diff --git a/docs/data/base/translations/api-docs/preview-card-arrow/preview-card-arrow.json b/docs/data/translations/api-docs/preview-card-arrow/preview-card-arrow.json
similarity index 100%
rename from docs/data/base/translations/api-docs/preview-card-arrow/preview-card-arrow.json
rename to docs/data/translations/api-docs/preview-card-arrow/preview-card-arrow.json
diff --git a/docs/data/base/translations/api-docs/preview-card-backdrop/preview-card-backdrop.json b/docs/data/translations/api-docs/preview-card-backdrop/preview-card-backdrop.json
similarity index 100%
rename from docs/data/base/translations/api-docs/preview-card-backdrop/preview-card-backdrop.json
rename to docs/data/translations/api-docs/preview-card-backdrop/preview-card-backdrop.json
diff --git a/docs/data/base/translations/api-docs/preview-card-popup/preview-card-popup.json b/docs/data/translations/api-docs/preview-card-popup/preview-card-popup.json
similarity index 100%
rename from docs/data/base/translations/api-docs/preview-card-popup/preview-card-popup.json
rename to docs/data/translations/api-docs/preview-card-popup/preview-card-popup.json
diff --git a/docs/data/base/translations/api-docs/preview-card-positioner/preview-card-positioner.json b/docs/data/translations/api-docs/preview-card-positioner/preview-card-positioner.json
similarity index 100%
rename from docs/data/base/translations/api-docs/preview-card-positioner/preview-card-positioner.json
rename to docs/data/translations/api-docs/preview-card-positioner/preview-card-positioner.json
diff --git a/docs/data/base/translations/api-docs/preview-card-root/preview-card-root.json b/docs/data/translations/api-docs/preview-card-root/preview-card-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/preview-card-root/preview-card-root.json
rename to docs/data/translations/api-docs/preview-card-root/preview-card-root.json
diff --git a/docs/data/base/translations/api-docs/preview-card-trigger/preview-card-trigger.json b/docs/data/translations/api-docs/preview-card-trigger/preview-card-trigger.json
similarity index 100%
rename from docs/data/base/translations/api-docs/preview-card-trigger/preview-card-trigger.json
rename to docs/data/translations/api-docs/preview-card-trigger/preview-card-trigger.json
diff --git a/docs/data/base/translations/api-docs/progress-indicator/progress-indicator.json b/docs/data/translations/api-docs/progress-indicator/progress-indicator.json
similarity index 100%
rename from docs/data/base/translations/api-docs/progress-indicator/progress-indicator.json
rename to docs/data/translations/api-docs/progress-indicator/progress-indicator.json
diff --git a/docs/data/base/translations/api-docs/progress-root/progress-root.json b/docs/data/translations/api-docs/progress-root/progress-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/progress-root/progress-root.json
rename to docs/data/translations/api-docs/progress-root/progress-root.json
diff --git a/docs/data/base/translations/api-docs/progress-track/progress-track.json b/docs/data/translations/api-docs/progress-track/progress-track.json
similarity index 100%
rename from docs/data/base/translations/api-docs/progress-track/progress-track.json
rename to docs/data/translations/api-docs/progress-track/progress-track.json
diff --git a/docs/data/base/translations/api-docs/select/select.json b/docs/data/translations/api-docs/select/select.json
similarity index 100%
rename from docs/data/base/translations/api-docs/select/select.json
rename to docs/data/translations/api-docs/select/select.json
diff --git a/docs/data/base/translations/api-docs/slider-control/slider-control.json b/docs/data/translations/api-docs/slider-control/slider-control.json
similarity index 100%
rename from docs/data/base/translations/api-docs/slider-control/slider-control.json
rename to docs/data/translations/api-docs/slider-control/slider-control.json
diff --git a/docs/data/base/translations/api-docs/slider-indicator/slider-indicator.json b/docs/data/translations/api-docs/slider-indicator/slider-indicator.json
similarity index 100%
rename from docs/data/base/translations/api-docs/slider-indicator/slider-indicator.json
rename to docs/data/translations/api-docs/slider-indicator/slider-indicator.json
diff --git a/docs/data/base/translations/api-docs/slider-output/slider-output.json b/docs/data/translations/api-docs/slider-output/slider-output.json
similarity index 100%
rename from docs/data/base/translations/api-docs/slider-output/slider-output.json
rename to docs/data/translations/api-docs/slider-output/slider-output.json
diff --git a/docs/data/base/translations/api-docs/slider-root/slider-root.json b/docs/data/translations/api-docs/slider-root/slider-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/slider-root/slider-root.json
rename to docs/data/translations/api-docs/slider-root/slider-root.json
diff --git a/docs/data/base/translations/api-docs/slider-thumb/slider-thumb.json b/docs/data/translations/api-docs/slider-thumb/slider-thumb.json
similarity index 100%
rename from docs/data/base/translations/api-docs/slider-thumb/slider-thumb.json
rename to docs/data/translations/api-docs/slider-thumb/slider-thumb.json
diff --git a/docs/data/base/translations/api-docs/slider-track/slider-track.json b/docs/data/translations/api-docs/slider-track/slider-track.json
similarity index 100%
rename from docs/data/base/translations/api-docs/slider-track/slider-track.json
rename to docs/data/translations/api-docs/slider-track/slider-track.json
diff --git a/docs/data/base/translations/api-docs/snackbar/snackbar.json b/docs/data/translations/api-docs/snackbar/snackbar.json
similarity index 100%
rename from docs/data/base/translations/api-docs/snackbar/snackbar.json
rename to docs/data/translations/api-docs/snackbar/snackbar.json
diff --git a/docs/data/base/translations/api-docs/submenu-trigger/submenu-trigger.json b/docs/data/translations/api-docs/submenu-trigger/submenu-trigger.json
similarity index 100%
rename from docs/data/base/translations/api-docs/submenu-trigger/submenu-trigger.json
rename to docs/data/translations/api-docs/submenu-trigger/submenu-trigger.json
diff --git a/docs/data/base/translations/api-docs/switch-root/switch-root.json b/docs/data/translations/api-docs/switch-root/switch-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/switch-root/switch-root.json
rename to docs/data/translations/api-docs/switch-root/switch-root.json
diff --git a/docs/data/base/translations/api-docs/switch-thumb/switch-thumb.json b/docs/data/translations/api-docs/switch-thumb/switch-thumb.json
similarity index 100%
rename from docs/data/base/translations/api-docs/switch-thumb/switch-thumb.json
rename to docs/data/translations/api-docs/switch-thumb/switch-thumb.json
diff --git a/docs/data/base/translations/api-docs/tab-indicator/tab-indicator.json b/docs/data/translations/api-docs/tab-indicator/tab-indicator.json
similarity index 100%
rename from docs/data/base/translations/api-docs/tab-indicator/tab-indicator.json
rename to docs/data/translations/api-docs/tab-indicator/tab-indicator.json
diff --git a/docs/data/base/translations/api-docs/tab-panel/tab-panel.json b/docs/data/translations/api-docs/tab-panel/tab-panel.json
similarity index 100%
rename from docs/data/base/translations/api-docs/tab-panel/tab-panel.json
rename to docs/data/translations/api-docs/tab-panel/tab-panel.json
diff --git a/docs/data/base/translations/api-docs/tab/tab.json b/docs/data/translations/api-docs/tab/tab.json
similarity index 100%
rename from docs/data/base/translations/api-docs/tab/tab.json
rename to docs/data/translations/api-docs/tab/tab.json
diff --git a/docs/data/base/translations/api-docs/table-pagination/table-pagination.json b/docs/data/translations/api-docs/table-pagination/table-pagination.json
similarity index 100%
rename from docs/data/base/translations/api-docs/table-pagination/table-pagination.json
rename to docs/data/translations/api-docs/table-pagination/table-pagination.json
diff --git a/docs/data/base/translations/api-docs/tabs-list/tabs-list.json b/docs/data/translations/api-docs/tabs-list/tabs-list.json
similarity index 100%
rename from docs/data/base/translations/api-docs/tabs-list/tabs-list.json
rename to docs/data/translations/api-docs/tabs-list/tabs-list.json
diff --git a/docs/data/base/translations/api-docs/tabs-root/tabs-root.json b/docs/data/translations/api-docs/tabs-root/tabs-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/tabs-root/tabs-root.json
rename to docs/data/translations/api-docs/tabs-root/tabs-root.json
diff --git a/docs/data/base/translations/api-docs/textarea-autosize/textarea-autosize.json b/docs/data/translations/api-docs/textarea-autosize/textarea-autosize.json
similarity index 100%
rename from docs/data/base/translations/api-docs/textarea-autosize/textarea-autosize.json
rename to docs/data/translations/api-docs/textarea-autosize/textarea-autosize.json
diff --git a/docs/data/base/translations/api-docs/tooltip-arrow/tooltip-arrow.json b/docs/data/translations/api-docs/tooltip-arrow/tooltip-arrow.json
similarity index 100%
rename from docs/data/base/translations/api-docs/tooltip-arrow/tooltip-arrow.json
rename to docs/data/translations/api-docs/tooltip-arrow/tooltip-arrow.json
diff --git a/docs/data/base/translations/api-docs/tooltip-popup/tooltip-popup.json b/docs/data/translations/api-docs/tooltip-popup/tooltip-popup.json
similarity index 100%
rename from docs/data/base/translations/api-docs/tooltip-popup/tooltip-popup.json
rename to docs/data/translations/api-docs/tooltip-popup/tooltip-popup.json
diff --git a/docs/data/base/translations/api-docs/tooltip-positioner/tooltip-positioner.json b/docs/data/translations/api-docs/tooltip-positioner/tooltip-positioner.json
similarity index 100%
rename from docs/data/base/translations/api-docs/tooltip-positioner/tooltip-positioner.json
rename to docs/data/translations/api-docs/tooltip-positioner/tooltip-positioner.json
diff --git a/docs/data/base/translations/api-docs/tooltip-provider/tooltip-provider.json b/docs/data/translations/api-docs/tooltip-provider/tooltip-provider.json
similarity index 100%
rename from docs/data/base/translations/api-docs/tooltip-provider/tooltip-provider.json
rename to docs/data/translations/api-docs/tooltip-provider/tooltip-provider.json
diff --git a/docs/data/base/translations/api-docs/tooltip-root/tooltip-root.json b/docs/data/translations/api-docs/tooltip-root/tooltip-root.json
similarity index 100%
rename from docs/data/base/translations/api-docs/tooltip-root/tooltip-root.json
rename to docs/data/translations/api-docs/tooltip-root/tooltip-root.json
diff --git a/docs/data/base/translations/api-docs/tooltip-trigger/tooltip-trigger.json b/docs/data/translations/api-docs/tooltip-trigger/tooltip-trigger.json
similarity index 100%
rename from docs/data/base/translations/api-docs/tooltip-trigger/tooltip-trigger.json
rename to docs/data/translations/api-docs/tooltip-trigger/tooltip-trigger.json
diff --git a/docs/src/modules/common/Navigation.tsx b/docs/src/modules/common/Navigation.tsx
index 67d1455270..cc3533863d 100644
--- a/docs/src/modules/common/Navigation.tsx
+++ b/docs/src/modules/common/Navigation.tsx
@@ -1,6 +1,6 @@
import * as React from 'react';
import Link from 'next/link';
-import { RouteMetadata } from 'docs-base/data/base/pages';
+import { RouteMetadata } from 'docs-base/data/pages';
import classes from './Navigation.module.css';
interface NavigationProps {
diff --git a/docs/src/utils/getApiReferenceData.ts b/docs/src/utils/getApiReferenceData.ts
index 69b7bcf142..77c500d4d9 100644
--- a/docs/src/utils/getApiReferenceData.ts
+++ b/docs/src/utils/getApiReferenceData.ts
@@ -6,8 +6,8 @@ export function getApiReferenceData(componentNames: string[]): Promise {
const kebabedComponentName = kebabCase(componentName);
- const apiDescriptionFilePath = `data/base/api/${kebabedComponentName}.json`;
- const translationsFilePath = `data/base/translations/api-docs/${kebabedComponentName}/${kebabedComponentName}.json`;
+ const apiDescriptionFilePath = `data/api/${kebabedComponentName}.json`;
+ const translationsFilePath = `data/translations/api-docs/${kebabedComponentName}/${kebabedComponentName}.json`;
const apiDescription = JSON.parse(await readFile(apiDescriptionFilePath, 'utf-8'));
const translations = JSON.parse(await readFile(translationsFilePath, 'utf-8'));
diff --git a/docs/src/utils/getMarkdownPage.ts b/docs/src/utils/getMarkdownPage.ts
index 8440db9ed2..d2124d071b 100644
--- a/docs/src/utils/getMarkdownPage.ts
+++ b/docs/src/utils/getMarkdownPage.ts
@@ -12,7 +12,7 @@ import exportToc from '@stefanprobst/rehype-extract-toc/mdx';
import { read as readVFile } from 'to-vfile';
import { matter } from 'vfile-matter';
-export const DATA_PATH = path.join(process.cwd(), 'data/base');
+export const DATA_PATH = path.join(process.cwd(), 'data');
export interface PageMetadata {
title: string;
diff --git a/docs/src/utils/loadDemo.ts b/docs/src/utils/loadDemo.ts
index 16a58fb159..190b9a51ce 100644
--- a/docs/src/utils/loadDemo.ts
+++ b/docs/src/utils/loadDemo.ts
@@ -4,19 +4,19 @@ import { basename, dirname, extname } from 'node:path';
import { codeToHtml } from 'shiki';
import { DemoFile, DemoVariant } from '../blocks/Demo/types';
-const COMPONENTS_BASE_PATH = 'data/base/components';
+const COMPONENTS_BASE_PATH = 'data/components';
/**
* Loads a demo for a component.
* The demo can be a single file or a directory with multiple variants (such as plain CSS, Tailwind CSS, etc.).
- * The function will look for the demo in the `data/base/components` directory.
+ * The function will look for the demo in the `data/components` directory.
* If the `demoName` is a directory, the loader will look for an `index.tsx` file in each subdirectory.
*
* If the entry point is a .ts(x) file, the loader will also look for a .js file with the same name.
*
* Note: this function is webpack-specific and will not work in other bundlers.
*
- * @param componentName Name of the component to load the demo for. Must match the directory name in the `data/base/components` directory.
+ * @param componentName Name of the component to load the demo for. Must match the directory name in the `data/components` directory.
* @param demoName Name of the demo to load. Must match the file name (without extension) or directory name in the component demos directory.
*/
export async function loadDemo(componentName: string, demoName: string): Promise {
@@ -68,7 +68,7 @@ async function loadSimpleDemo(path: string, variantName: string): Promise,
diff --git a/packages/mui-base/src/AlertDialog/Close/AlertDialogClose.tsx b/packages/mui-base/src/AlertDialog/Close/AlertDialogClose.tsx
index ef72b256aa..612c21b5e0 100644
--- a/packages/mui-base/src/AlertDialog/Close/AlertDialogClose.tsx
+++ b/packages/mui-base/src/AlertDialog/Close/AlertDialogClose.tsx
@@ -5,6 +5,16 @@ import { useAlertDialogRootContext } from '../Root/AlertDialogRootContext';
import { useDialogClose } from '../../Dialog/Close/useDialogClose';
import { useComponentRenderer } from '../../utils/useComponentRenderer';
+/**
+ *
+ * Demos:
+ *
+ * - [Alert Dialog](https://base-ui.netlify.app/components/react-alert-dialog/)
+ *
+ * API:
+ *
+ * - [AlertDialogClose API](https://base-ui.netlify.app/components/react-alert-dialog/#api-reference-AlertDialogClose)
+ */
const AlertDialogClose = React.forwardRef(function AlertDialogClose(
props: AlertDialogCloseProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/AlertDialog/Description/AlertDialogDescription.tsx b/packages/mui-base/src/AlertDialog/Description/AlertDialogDescription.tsx
index 8c97ef167e..466acccecb 100644
--- a/packages/mui-base/src/AlertDialog/Description/AlertDialogDescription.tsx
+++ b/packages/mui-base/src/AlertDialog/Description/AlertDialogDescription.tsx
@@ -9,6 +9,16 @@ import { useComponentRenderer } from '../../utils/useComponentRenderer';
import { useEnhancedEffect } from '../../utils/useEnhancedEffect';
import { useId } from '../../utils/useId';
+/**
+ *
+ * Demos:
+ *
+ * - [Alert Dialog](https://base-ui.netlify.app/components/react-alert-dialog/)
+ *
+ * API:
+ *
+ * - [AlertDialogDescription API](https://base-ui.netlify.app/components/react-alert-dialog/#api-reference-AlertDialogDescription)
+ */
const AlertDialogDescription = React.forwardRef(function AlertDialogDescription(
props: AlertDialogDescriptionProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/AlertDialog/Popup/AlertDialogPopup.tsx b/packages/mui-base/src/AlertDialog/Popup/AlertDialogPopup.tsx
index a68aa4f8d9..64371acf90 100644
--- a/packages/mui-base/src/AlertDialog/Popup/AlertDialogPopup.tsx
+++ b/packages/mui-base/src/AlertDialog/Popup/AlertDialogPopup.tsx
@@ -7,6 +7,16 @@ import { useAlertDialogRootContext } from '../Root/AlertDialogRootContext';
import { useComponentRenderer } from '../../utils/useComponentRenderer';
import { refType, HTMLElementType } from '../../utils/proptypes';
+/**
+ *
+ * Demos:
+ *
+ * - [Alert Dialog](https://base-ui.netlify.app/components/react-alert-dialog/)
+ *
+ * API:
+ *
+ * - [AlertDialogPopup API](https://base-ui.netlify.app/components/react-alert-dialog/#api-reference-AlertDialogPopup)
+ */
const AlertDialogPopup = React.forwardRef(function AlertDialogPopup(
props: AlertDialogPopupProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/AlertDialog/Root/AlertDialogRoot.tsx b/packages/mui-base/src/AlertDialog/Root/AlertDialogRoot.tsx
index 4e0fffc9d9..8b2121c2c9 100644
--- a/packages/mui-base/src/AlertDialog/Root/AlertDialogRoot.tsx
+++ b/packages/mui-base/src/AlertDialog/Root/AlertDialogRoot.tsx
@@ -4,6 +4,16 @@ import { AlertDialogRootProps } from './AlertDialogRoot.types';
import { AlertDialogRootContext } from './AlertDialogRootContext';
import { useDialogRoot } from '../../Dialog/Root/useDialogRoot';
+/**
+ *
+ * Demos:
+ *
+ * - [Alert Dialog](https://base-ui.netlify.app/components/react-alert-dialog/)
+ *
+ * API:
+ *
+ * - [AlertDialogRoot API](https://base-ui.netlify.app/components/react-alert-dialog/#api-reference-AlertDialogRoot)
+ */
function AlertDialogRoot(props: AlertDialogRootProps) {
const { children, defaultOpen, onOpenChange, open: openProp, animated = true } = props;
diff --git a/packages/mui-base/src/AlertDialog/Title/AlertDialogTitle.tsx b/packages/mui-base/src/AlertDialog/Title/AlertDialogTitle.tsx
index e5301b06c1..71a57b1a86 100644
--- a/packages/mui-base/src/AlertDialog/Title/AlertDialogTitle.tsx
+++ b/packages/mui-base/src/AlertDialog/Title/AlertDialogTitle.tsx
@@ -6,6 +6,16 @@ import { useComponentRenderer } from '../../utils/useComponentRenderer';
import { useEnhancedEffect } from '../../utils/useEnhancedEffect';
import { useId } from '../../utils/useId';
+/**
+ *
+ * Demos:
+ *
+ * - [Alert Dialog](https://base-ui.netlify.app/components/react-alert-dialog/)
+ *
+ * API:
+ *
+ * - [AlertDialogTitle API](https://base-ui.netlify.app/components/react-alert-dialog/#api-reference-AlertDialogTitle)
+ */
const AlertDialogTitle = React.forwardRef(function AlertDialogTitle(
props: AlertDialogTitleProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/AlertDialog/Trigger/AlertDialogTrigger.tsx b/packages/mui-base/src/AlertDialog/Trigger/AlertDialogTrigger.tsx
index 80b76094b6..61e3a6a151 100644
--- a/packages/mui-base/src/AlertDialog/Trigger/AlertDialogTrigger.tsx
+++ b/packages/mui-base/src/AlertDialog/Trigger/AlertDialogTrigger.tsx
@@ -8,6 +8,16 @@ import type {
import { useAlertDialogRootContext } from '../Root/AlertDialogRootContext';
import { useComponentRenderer } from '../../utils/useComponentRenderer';
+/**
+ *
+ * Demos:
+ *
+ * - [Alert Dialog](https://base-ui.netlify.app/components/react-alert-dialog/)
+ *
+ * API:
+ *
+ * - [AlertDialogTrigger API](https://base-ui.netlify.app/components/react-alert-dialog/#api-reference-AlertDialogTrigger)
+ */
const AlertDialogTrigger = React.forwardRef(function AlertDialogTrigger(
props: AlertDialogTriggerProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Checkbox/Indicator/CheckboxIndicator.tsx b/packages/mui-base/src/Checkbox/Indicator/CheckboxIndicator.tsx
index 99dc347c52..e7b97ffe98 100644
--- a/packages/mui-base/src/Checkbox/Indicator/CheckboxIndicator.tsx
+++ b/packages/mui-base/src/Checkbox/Indicator/CheckboxIndicator.tsx
@@ -17,11 +17,11 @@ function defaultRender(props: React.ComponentPropsWithRef<'span'>) {
*
* Demos:
*
- * - [Checkbox](https://mui.com/base-ui/react-checkbox/)
+ * - [Checkbox](https://base-ui.netlify.app/components/react-checkbox/)
*
* API:
*
- * - [CheckboxIndicator API](https://mui.com/base-ui/react-checkbox/components-api/#checkbox-indicator)
+ * - [CheckboxIndicator API](https://base-ui.netlify.app/components/react-checkbox/#api-reference-CheckboxIndicator)
*/
const CheckboxIndicator = React.forwardRef(function CheckboxIndicator(
props: CheckboxIndicatorProps,
diff --git a/packages/mui-base/src/Checkbox/Root/CheckboxRoot.tsx b/packages/mui-base/src/Checkbox/Root/CheckboxRoot.tsx
index 2deb7fa1c0..e2cd4be08d 100644
--- a/packages/mui-base/src/Checkbox/Root/CheckboxRoot.tsx
+++ b/packages/mui-base/src/Checkbox/Root/CheckboxRoot.tsx
@@ -15,11 +15,11 @@ import { useFieldRootContext } from '../../Field/Root/FieldRootContext';
*
* Demos:
*
- * - [Checkbox](https://mui.com/base-ui/react-checkbox/)
+ * - [Checkbox](https://base-ui.netlify.app/components/react-checkbox/)
*
* API:
*
- * - [Checkbox API](https://mui.com/base-ui/react-checkbox/components-api/#checkbox)
+ * - [CheckboxRoot API](https://base-ui.netlify.app/components/react-checkbox/#api-reference-CheckboxRoot)
*/
const CheckboxRoot = React.forwardRef(function CheckboxRoot(
props: CheckboxRootProps,
diff --git a/packages/mui-base/src/Checkbox/Root/useCheckboxRoot.ts b/packages/mui-base/src/Checkbox/Root/useCheckboxRoot.ts
index 0454f14da0..ab55556ade 100644
--- a/packages/mui-base/src/Checkbox/Root/useCheckboxRoot.ts
+++ b/packages/mui-base/src/Checkbox/Root/useCheckboxRoot.ts
@@ -10,17 +10,6 @@ import { useEnhancedEffect } from '../../utils/useEnhancedEffect';
import { useFieldRootContext } from '../../Field/Root/FieldRootContext';
import { useFieldControlValidation } from '../../Field/Control/useFieldControlValidation';
-/**
- * The basic building block for creating custom checkboxes.
- *
- * Demos:
- *
- * - [Checkbox](https://mui.com/base-ui/react-checkbox/#hook)
- *
- * API:
- *
- * - [useCheckboxRoot API](https://mui.com/base-ui/react-checkbox/hooks-api/#use-checkbox-root)
- */
export function useCheckboxRoot(params: UseCheckboxRootParameters): UseCheckboxRootReturnValue {
const {
id: idProp,
diff --git a/packages/mui-base/src/Dialog/Backdrop/DialogBackdrop.tsx b/packages/mui-base/src/Dialog/Backdrop/DialogBackdrop.tsx
index f9689a7605..9c6d2c80bc 100644
--- a/packages/mui-base/src/Dialog/Backdrop/DialogBackdrop.tsx
+++ b/packages/mui-base/src/Dialog/Backdrop/DialogBackdrop.tsx
@@ -6,6 +6,16 @@ import { useDialogBackdrop } from './useDialogBackdrop';
import { useDialogRootContext } from '../Root/DialogRootContext';
import { useComponentRenderer } from '../../utils/useComponentRenderer';
+/**
+ *
+ * Demos:
+ *
+ * - [Dialog](https://base-ui.netlify.app/components/react-dialog/)
+ *
+ * API:
+ *
+ * - [DialogBackdrop API](https://base-ui.netlify.app/components/react-dialog/#api-reference-DialogBackdrop)
+ */
const DialogBackdrop = React.forwardRef(function DialogBackdrop(
props: DialogBackdropProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Dialog/Backdrop/useDialogBackdrop.ts b/packages/mui-base/src/Dialog/Backdrop/useDialogBackdrop.ts
index 36fe16375d..0fcce6fea7 100644
--- a/packages/mui-base/src/Dialog/Backdrop/useDialogBackdrop.ts
+++ b/packages/mui-base/src/Dialog/Backdrop/useDialogBackdrop.ts
@@ -6,12 +6,6 @@ import { useForkRef } from '../../utils/useForkRef';
import { useEventCallback } from '../../utils/useEventCallback';
import { useEnhancedEffect } from '../../utils/useEnhancedEffect';
-/**
- *
- * API:
- *
- * - [useDialogBackdrop API](https://mui.com/base-ui/api/use-dialog-backdrop/)
- */
export function useDialogBackdrop(params: UseDialogBackdropParams): UseDialogBackdropReturnValue {
const { animated, open, ref, onMount: onMountParam, onUnmount: onUnmountParam } = params;
diff --git a/packages/mui-base/src/Dialog/Close/DialogClose.tsx b/packages/mui-base/src/Dialog/Close/DialogClose.tsx
index 19cae98dca..befa2e758c 100644
--- a/packages/mui-base/src/Dialog/Close/DialogClose.tsx
+++ b/packages/mui-base/src/Dialog/Close/DialogClose.tsx
@@ -5,6 +5,16 @@ import { useDialogClose } from './useDialogClose';
import { useDialogRootContext } from '../Root/DialogRootContext';
import { useComponentRenderer } from '../../utils/useComponentRenderer';
+/**
+ *
+ * Demos:
+ *
+ * - [Dialog](https://base-ui.netlify.app/components/react-dialog/)
+ *
+ * API:
+ *
+ * - [DialogClose API](https://base-ui.netlify.app/components/react-dialog/#api-reference-DialogClose)
+ */
const DialogClose = React.forwardRef(function DialogClose(
props: DialogCloseProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Dialog/Close/useDialogClose.ts b/packages/mui-base/src/Dialog/Close/useDialogClose.ts
index 589b4700a6..576f1a1b6c 100644
--- a/packages/mui-base/src/Dialog/Close/useDialogClose.ts
+++ b/packages/mui-base/src/Dialog/Close/useDialogClose.ts
@@ -1,16 +1,7 @@
import * as React from 'react';
import { mergeReactProps } from '../../utils/mergeReactProps';
import type { UseDialogCloseParameters, UseDialogCloseReturnValue } from './DialogClose.types';
-/**
- *
- * Demos:
- *
- * - [Dialog](https://mui.com/base-ui/react-dialog/#hooks)
- *
- * API:
- *
- * - [useDialogClose API](https://mui.com/base-ui/react-dialog/hooks-api/#use-dialog-close)
- */
+
export function useDialogClose(params: UseDialogCloseParameters): UseDialogCloseReturnValue {
const { open, onOpenChange } = params;
const handleClick = React.useCallback(() => {
diff --git a/packages/mui-base/src/Dialog/Description/DialogDescription.tsx b/packages/mui-base/src/Dialog/Description/DialogDescription.tsx
index e556681f69..d11bbdef63 100644
--- a/packages/mui-base/src/Dialog/Description/DialogDescription.tsx
+++ b/packages/mui-base/src/Dialog/Description/DialogDescription.tsx
@@ -6,6 +6,16 @@ import { useComponentRenderer } from '../../utils/useComponentRenderer';
import { useEnhancedEffect } from '../../utils/useEnhancedEffect';
import { useId } from '../../utils/useId';
+/**
+ *
+ * Demos:
+ *
+ * - [Dialog](https://base-ui.netlify.app/components/react-dialog/)
+ *
+ * API:
+ *
+ * - [DialogDescription API](https://base-ui.netlify.app/components/react-dialog/#api-reference-DialogDescription)
+ */
const DialogDescription = React.forwardRef(function DialogDescription(
props: DialogDescriptionProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Dialog/Popup/DialogPopup.tsx b/packages/mui-base/src/Dialog/Popup/DialogPopup.tsx
index da4212a7af..8aeac3942d 100644
--- a/packages/mui-base/src/Dialog/Popup/DialogPopup.tsx
+++ b/packages/mui-base/src/Dialog/Popup/DialogPopup.tsx
@@ -7,6 +7,16 @@ import { useDialogRootContext } from '../Root/DialogRootContext';
import { useComponentRenderer } from '../../utils/useComponentRenderer';
import { refType, HTMLElementType } from '../../utils/proptypes';
+/**
+ *
+ * Demos:
+ *
+ * - [Dialog](https://base-ui.netlify.app/components/react-dialog/)
+ *
+ * API:
+ *
+ * - [DialogPopup API](https://base-ui.netlify.app/components/react-dialog/#api-reference-DialogPopup)
+ */
const DialogPopup = React.forwardRef(function DialogPopup(
props: DialogPopupProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Dialog/Popup/useDialogPopup.tsx b/packages/mui-base/src/Dialog/Popup/useDialogPopup.tsx
index e629a38615..25075bcdf5 100644
--- a/packages/mui-base/src/Dialog/Popup/useDialogPopup.tsx
+++ b/packages/mui-base/src/Dialog/Popup/useDialogPopup.tsx
@@ -8,16 +8,6 @@ import { useAnimatedElement } from '../../utils/useAnimatedElement';
import { useScrollLock } from '../../utils/useScrollLock';
import { useEnhancedEffect } from '../../utils/useEnhancedEffect';
-/**
- *
- * Demos:
- *
- * - [Dialog](https://mui.com/base-ui/react-dialog/#hooks)
- *
- * API:
- *
- * - [useDialogPopup API](https://mui.com/base-ui/react-dialog/hooks-api/#use-dialog-popup)
- */
export function useDialogPopup(parameters: UseDialogPopupParameters): UseDialogPopupReturnValue {
const {
animated,
diff --git a/packages/mui-base/src/Dialog/Root/DialogRoot.tsx b/packages/mui-base/src/Dialog/Root/DialogRoot.tsx
index 9798f86c41..4a901deeec 100644
--- a/packages/mui-base/src/Dialog/Root/DialogRoot.tsx
+++ b/packages/mui-base/src/Dialog/Root/DialogRoot.tsx
@@ -4,6 +4,16 @@ import { DialogRootProps } from './DialogRoot.types';
import { DialogRootContext } from './DialogRootContext';
import { useDialogRoot } from './useDialogRoot';
+/**
+ *
+ * Demos:
+ *
+ * - [Dialog](https://base-ui.netlify.app/components/react-dialog/)
+ *
+ * API:
+ *
+ * - [DialogRoot API](https://base-ui.netlify.app/components/react-dialog/#api-reference-DialogRoot)
+ */
const DialogRoot = function DialogRoot(props: DialogRootProps) {
const {
children,
diff --git a/packages/mui-base/src/Dialog/Root/useDialogRoot.ts b/packages/mui-base/src/Dialog/Root/useDialogRoot.ts
index ce8c094932..4dd192d67c 100644
--- a/packages/mui-base/src/Dialog/Root/useDialogRoot.ts
+++ b/packages/mui-base/src/Dialog/Root/useDialogRoot.ts
@@ -2,16 +2,6 @@ import * as React from 'react';
import type { UseDialogRootParameters, UseDialogRootReturnValue } from './DialogRoot.types';
import { useControlled } from '../../utils/useControlled';
-/**
- *
- * Demos:
- *
- * - [Dialog](https://mui.com/base-ui/react-dialog/#hooks)
- *
- * API:
- *
- * - [useDialogRoot API](https://mui.com/base-ui/react-dialog/hooks-api/#use-dialog-root)
- */
export function useDialogRoot(parameters: UseDialogRootParameters): UseDialogRootReturnValue {
const {
open: openParam,
diff --git a/packages/mui-base/src/Dialog/Title/DialogTitle.tsx b/packages/mui-base/src/Dialog/Title/DialogTitle.tsx
index c6714698bc..9f762c1bbe 100644
--- a/packages/mui-base/src/Dialog/Title/DialogTitle.tsx
+++ b/packages/mui-base/src/Dialog/Title/DialogTitle.tsx
@@ -6,6 +6,16 @@ import { useComponentRenderer } from '../../utils/useComponentRenderer';
import { useEnhancedEffect } from '../../utils/useEnhancedEffect';
import { useId } from '../../utils/useId';
+/**
+ *
+ * Demos:
+ *
+ * - [Dialog](https://base-ui.netlify.app/components/react-dialog/)
+ *
+ * API:
+ *
+ * - [DialogTitle API](https://base-ui.netlify.app/components/react-dialog/#api-reference-DialogTitle)
+ */
const DialogTitle = React.forwardRef(function DialogTitle(
props: DialogTitleProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Dialog/Trigger/DialogTrigger.tsx b/packages/mui-base/src/Dialog/Trigger/DialogTrigger.tsx
index d91c6364a1..fe46ed0a02 100644
--- a/packages/mui-base/src/Dialog/Trigger/DialogTrigger.tsx
+++ b/packages/mui-base/src/Dialog/Trigger/DialogTrigger.tsx
@@ -5,6 +5,16 @@ import type { DialogTriggerOwnerState, DialogTriggerProps } from './DialogTrigge
import { useDialogRootContext } from '../Root/DialogRootContext';
import { useComponentRenderer } from '../../utils/useComponentRenderer';
+/**
+ *
+ * Demos:
+ *
+ * - [Dialog](https://base-ui.netlify.app/components/react-dialog/)
+ *
+ * API:
+ *
+ * - [DialogTrigger API](https://base-ui.netlify.app/components/react-dialog/#api-reference-DialogTrigger)
+ */
const DialogTrigger = React.forwardRef(function DialogTrigger(
props: DialogTriggerProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Dialog/Trigger/useDialogTrigger.ts b/packages/mui-base/src/Dialog/Trigger/useDialogTrigger.ts
index e20ebc9e61..56944a26d7 100644
--- a/packages/mui-base/src/Dialog/Trigger/useDialogTrigger.ts
+++ b/packages/mui-base/src/Dialog/Trigger/useDialogTrigger.ts
@@ -5,16 +5,6 @@ import type {
UseDialogTriggerReturnValue,
} from './DialogTrigger.types';
-/**
- *
- * Demos:
- *
- * - [Dialog](https://mui.com/base-ui/react-dialog/#hooks)
- *
- * API:
- *
- * - [useDialogTrigger API](https://mui.com/base-ui/react-dialog/hooks-api/#use-dialog-trigger)
- */
export function useDialogTrigger(params: UseDialogTriggerParameters): UseDialogTriggerReturnValue {
const { open, onOpenChange, popupElementId } = params;
diff --git a/packages/mui-base/src/Field/Control/FieldControl.tsx b/packages/mui-base/src/Field/Control/FieldControl.tsx
index 288b7b049a..55e11ff144 100644
--- a/packages/mui-base/src/Field/Control/FieldControl.tsx
+++ b/packages/mui-base/src/Field/Control/FieldControl.tsx
@@ -14,11 +14,11 @@ import { useEnhancedEffect } from '../../utils/useEnhancedEffect';
*
* Demos:
*
- * - [Field](https://mui.com/base-ui/react-field/)
+ * - [Field](https://base-ui.netlify.app/components/react-field/)
*
* API:
*
- * - [FieldControl API](https://mui.com/base-ui/react-field/components-api/#field-control)
+ * - [FieldControl API](https://base-ui.netlify.app/components/react-field/#api-reference-FieldControl)
*/
const FieldControl = React.forwardRef(function FieldControl(
props: FieldControlProps,
diff --git a/packages/mui-base/src/Field/Control/useFieldControl.ts b/packages/mui-base/src/Field/Control/useFieldControl.ts
index 3d842b4229..c4dc323478 100644
--- a/packages/mui-base/src/Field/Control/useFieldControl.ts
+++ b/packages/mui-base/src/Field/Control/useFieldControl.ts
@@ -12,12 +12,6 @@ interface UseFieldControlParameters {
value: string | number | readonly string[];
}
-/**
- *
- * API:
- *
- * - [useFieldControl API](https://mui.com/base-ui/api/use-field-control/)
- */
export function useFieldControl(params: UseFieldControlParameters) {
const { id: idProp, name, value } = params;
diff --git a/packages/mui-base/src/Field/Control/useFieldControlValidation.ts b/packages/mui-base/src/Field/Control/useFieldControlValidation.ts
index 18ddc1503d..ce26b82ca4 100644
--- a/packages/mui-base/src/Field/Control/useFieldControlValidation.ts
+++ b/packages/mui-base/src/Field/Control/useFieldControlValidation.ts
@@ -7,12 +7,6 @@ import { DEFAULT_VALIDITY_STATE } from '../utils/constants';
const validityKeys = Object.keys(DEFAULT_VALIDITY_STATE) as Array;
-/**
- *
- * API:
- *
- * - [useFieldControlValidation API](https://mui.com/base-ui/api/use-field-control-validation/)
- */
export function useFieldControlValidation() {
const {
setValidityData,
diff --git a/packages/mui-base/src/Field/Description/FieldDescription.tsx b/packages/mui-base/src/Field/Description/FieldDescription.tsx
index 75b81f62cb..e7c91c84d5 100644
--- a/packages/mui-base/src/Field/Description/FieldDescription.tsx
+++ b/packages/mui-base/src/Field/Description/FieldDescription.tsx
@@ -12,11 +12,11 @@ import { STYLE_HOOK_MAPPING } from '../utils/constants';
*
* Demos:
*
- * - [Field](https://mui.com/base-ui/react-field/)
+ * - [Field](https://base-ui.netlify.app/components/react-field/)
*
* API:
*
- * - [FieldDescription API](https://mui.com/base-ui/react-field/components-api/#field-description)
+ * - [FieldDescription API](https://base-ui.netlify.app/components/react-field/#api-reference-FieldDescription)
*/
const FieldDescription = React.forwardRef(function FieldDescription(
props: FieldDescriptionProps,
diff --git a/packages/mui-base/src/Field/Description/useFieldDescription.ts b/packages/mui-base/src/Field/Description/useFieldDescription.ts
index aef1e5c1d5..8a0705d7ec 100644
--- a/packages/mui-base/src/Field/Description/useFieldDescription.ts
+++ b/packages/mui-base/src/Field/Description/useFieldDescription.ts
@@ -9,12 +9,6 @@ interface UseFieldDescriptionParameters {
id: string | undefined;
}
-/**
- *
- * API:
- *
- * - [useFieldDescription API](https://mui.com/base-ui/api/use-field-description/)
- */
export function useFieldDescription(params: UseFieldDescriptionParameters) {
const { id: idProp } = params;
diff --git a/packages/mui-base/src/Field/Error/FieldError.tsx b/packages/mui-base/src/Field/Error/FieldError.tsx
index d2912e204d..73ad6371a2 100644
--- a/packages/mui-base/src/Field/Error/FieldError.tsx
+++ b/packages/mui-base/src/Field/Error/FieldError.tsx
@@ -12,11 +12,11 @@ import { STYLE_HOOK_MAPPING } from '../utils/constants';
*
* Demos:
*
- * - [Field](https://mui.com/base-ui/react-field/)
+ * - [Field](https://base-ui.netlify.app/components/react-field/)
*
* API:
*
- * - [FieldError API](https://mui.com/base-ui/react-field/components-api/#field-error)
+ * - [FieldError API](https://base-ui.netlify.app/components/react-field/#api-reference-FieldError)
*/
const FieldError = React.forwardRef(function FieldError(
props: FieldErrorProps,
diff --git a/packages/mui-base/src/Field/Error/useFieldError.ts b/packages/mui-base/src/Field/Error/useFieldError.ts
index 48023d2f6b..42ab5b2c6e 100644
--- a/packages/mui-base/src/Field/Error/useFieldError.ts
+++ b/packages/mui-base/src/Field/Error/useFieldError.ts
@@ -10,12 +10,6 @@ interface UseFieldErrorParameters {
rendered: boolean;
}
-/**
- *
- * API:
- *
- * - [useFieldError API](https://mui.com/base-ui/api/use-field-error/)
- */
export function useFieldError(params: UseFieldErrorParameters) {
const { id: idProp, rendered } = params;
diff --git a/packages/mui-base/src/Field/Label/FieldLabel.tsx b/packages/mui-base/src/Field/Label/FieldLabel.tsx
index b2dbcafed3..e721a74f97 100644
--- a/packages/mui-base/src/Field/Label/FieldLabel.tsx
+++ b/packages/mui-base/src/Field/Label/FieldLabel.tsx
@@ -14,11 +14,11 @@ import { useEnhancedEffect } from '../../utils/useEnhancedEffect';
*
* Demos:
*
- * - [Field](https://mui.com/base-ui/react-field/)
+ * - [Field](https://base-ui.netlify.app/components/react-field/)
*
* API:
*
- * - [FieldLabel API](https://mui.com/base-ui/react-field/components-api/#field-label)
+ * - [FieldLabel API](https://base-ui.netlify.app/components/react-field/#api-reference-FieldLabel)
*/
const FieldLabel = React.forwardRef(function FieldLabel(
props: FieldLabelProps,
diff --git a/packages/mui-base/src/Field/Label/useFieldLabel.ts b/packages/mui-base/src/Field/Label/useFieldLabel.ts
index e334073f0f..e0d44c4464 100644
--- a/packages/mui-base/src/Field/Label/useFieldLabel.ts
+++ b/packages/mui-base/src/Field/Label/useFieldLabel.ts
@@ -7,12 +7,6 @@ interface UseFieldLabelParameters {
customTag: boolean;
}
-/**
- *
- * API:
- *
- * - [useFieldLabel API](https://mui.com/base-ui/api/use-field-label/)
- */
export function useFieldLabel(params: UseFieldLabelParameters) {
const { customTag } = params;
diff --git a/packages/mui-base/src/Field/Root/FieldRoot.tsx b/packages/mui-base/src/Field/Root/FieldRoot.tsx
index f51759bad1..c6a2bb89e3 100644
--- a/packages/mui-base/src/Field/Root/FieldRoot.tsx
+++ b/packages/mui-base/src/Field/Root/FieldRoot.tsx
@@ -13,11 +13,11 @@ import { useEventCallback } from '../../utils/useEventCallback';
*
* Demos:
*
- * - [Field](https://mui.com/base-ui/react-field/)
+ * - [Field](https://base-ui.netlify.app/components/react-field/)
*
* API:
*
- * - [FieldRoot API](https://mui.com/base-ui/react-field/components-api/#field-root)
+ * - [FieldRoot API](https://base-ui.netlify.app/components/react-field/#api-reference-FieldRoot)
*/
const FieldRoot = React.forwardRef(function FieldRoot(
props: FieldRootProps,
diff --git a/packages/mui-base/src/Field/Validity/FieldValidity.tsx b/packages/mui-base/src/Field/Validity/FieldValidity.tsx
index 4532c9ebaa..cc7146aad8 100644
--- a/packages/mui-base/src/Field/Validity/FieldValidity.tsx
+++ b/packages/mui-base/src/Field/Validity/FieldValidity.tsx
@@ -9,11 +9,11 @@ import type { FieldValidityProps } from './FieldValidity.types';
*
* Demos:
*
- * - [Field](https://mui.com/base-ui/react-field/)
+ * - [Field](https://base-ui.netlify.app/components/react-field/)
*
* API:
*
- * - [FieldValidity API](https://mui.com/base-ui/react-field/components-api/#field-validity)
+ * - [FieldValidity API](https://base-ui.netlify.app/components/react-field/#api-reference-FieldValidity)
*/
function FieldValidity(props: FieldValidityProps) {
const { validityData } = useFieldRootContext(false);
diff --git a/packages/mui-base/src/Fieldset/Legend/FieldsetLegend.tsx b/packages/mui-base/src/Fieldset/Legend/FieldsetLegend.tsx
index ebe296fa63..3671ee60d1 100644
--- a/packages/mui-base/src/Fieldset/Legend/FieldsetLegend.tsx
+++ b/packages/mui-base/src/Fieldset/Legend/FieldsetLegend.tsx
@@ -11,11 +11,11 @@ import { useFieldsetRootContext } from '../Root/FieldsetRootContext';
*
* Demos:
*
- * - [Fieldset](https://mui.com/base-ui/react-fieldset/)
+ * - [Fieldset](https://base-ui.netlify.app/components/react-fieldset/)
*
* API:
*
- * - [FieldsetLegend API](https://mui.com/base-ui/react-field/components-api/#fieldset-root)
+ * - [FieldsetLegend API](https://base-ui.netlify.app/components/react-fieldset/#api-reference-FieldsetLegend)
*/
const FieldsetLegend = React.forwardRef(function FieldsetLegend(
props: FieldsetLegendProps,
diff --git a/packages/mui-base/src/Fieldset/Legend/useFieldsetLegend.ts b/packages/mui-base/src/Fieldset/Legend/useFieldsetLegend.ts
index 6df86442ac..d5b444cfd7 100644
--- a/packages/mui-base/src/Fieldset/Legend/useFieldsetLegend.ts
+++ b/packages/mui-base/src/Fieldset/Legend/useFieldsetLegend.ts
@@ -8,12 +8,6 @@ interface UseFieldsetLegendParameters {
id?: string;
}
-/**
- *
- * API:
- *
- * - [useFieldsetLegend API](https://mui.com/base-ui/api/use-fieldset-legend/)
- */
export function useFieldsetLegend(params: UseFieldsetLegendParameters) {
const { id: idProp } = params;
diff --git a/packages/mui-base/src/Fieldset/Root/FieldsetRoot.tsx b/packages/mui-base/src/Fieldset/Root/FieldsetRoot.tsx
index 37ca49489a..ba657b9e3a 100644
--- a/packages/mui-base/src/Fieldset/Root/FieldsetRoot.tsx
+++ b/packages/mui-base/src/Fieldset/Root/FieldsetRoot.tsx
@@ -11,11 +11,11 @@ import { useFieldsetRoot } from './useFieldsetRoot';
*
* Demos:
*
- * - [Fieldset](https://mui.com/base-ui/react-fieldset/)
+ * - [Fieldset](https://base-ui.netlify.app/components/react-fieldset/)
*
* API:
*
- * - [FieldsetRoot API](https://mui.com/base-ui/react-field/components-api/#fieldset-root)
+ * - [FieldsetRoot API](https://base-ui.netlify.app/components/react-fieldset/#api-reference-FieldsetRoot)
*/
const FieldsetRoot = React.forwardRef(function FieldsetRoot(
props: FieldsetRootProps,
diff --git a/packages/mui-base/src/Fieldset/Root/useFieldsetRoot.ts b/packages/mui-base/src/Fieldset/Root/useFieldsetRoot.ts
index e06bf08103..054c51f09d 100644
--- a/packages/mui-base/src/Fieldset/Root/useFieldsetRoot.ts
+++ b/packages/mui-base/src/Fieldset/Root/useFieldsetRoot.ts
@@ -1,11 +1,6 @@
import * as React from 'react';
import { mergeReactProps } from '../../utils/mergeReactProps';
-/**
- *
- * API:
- *
- * - [useFieldsetRoot API](https://mui.com/base-ui/api/use-fieldset-root/)
- */
+
export function useFieldsetRoot() {
const [legendId, setLegendId] = React.useState(undefined);
diff --git a/packages/mui-base/src/Menu/Arrow/MenuArrow.tsx b/packages/mui-base/src/Menu/Arrow/MenuArrow.tsx
index dcf8bb5719..0baa22e8d7 100644
--- a/packages/mui-base/src/Menu/Arrow/MenuArrow.tsx
+++ b/packages/mui-base/src/Menu/Arrow/MenuArrow.tsx
@@ -15,11 +15,11 @@ import type { BaseUIComponentProps } from '../../utils/types';
*
* Demos:
*
- * - [Menu](https://mui.com/base-ui/react-menu/)
+ * - [Menu](https://base-ui.netlify.app/components/react-menu/)
*
* API:
*
- * - [MenuArrow API](https://mui.com/base-ui/react-menu/components-api/#menu-arrow)
+ * - [MenuArrow API](https://base-ui.netlify.app/components/react-menu/#api-reference-MenuArrow)
*/
const MenuArrow = React.forwardRef(function MenuArrow(
props: MenuArrow.Props,
diff --git a/packages/mui-base/src/Menu/Arrow/useMenuArrow.ts b/packages/mui-base/src/Menu/Arrow/useMenuArrow.ts
index becddbf0ba..96cb5fef32 100644
--- a/packages/mui-base/src/Menu/Arrow/useMenuArrow.ts
+++ b/packages/mui-base/src/Menu/Arrow/useMenuArrow.ts
@@ -3,12 +3,6 @@ import * as React from 'react';
import { mergeReactProps } from '../../utils/mergeReactProps';
import type { GenericHTMLProps } from '../../utils/types';
-/**
- *
- * API:
- *
- * - [useMenuArrow API](https://mui.com/base-ui/api/use-menu-arrow/)
- */
export function useMenuArrow(params: useMenuArrow.Parameters): useMenuArrow.ReturnValue {
const { arrowStyles } = params;
diff --git a/packages/mui-base/src/Menu/Item/MenuItem.tsx b/packages/mui-base/src/Menu/Item/MenuItem.tsx
index e758a7d14f..a9654bf081 100644
--- a/packages/mui-base/src/Menu/Item/MenuItem.tsx
+++ b/packages/mui-base/src/Menu/Item/MenuItem.tsx
@@ -56,11 +56,11 @@ const InnerMenuItem = React.memo(
*
* Demos:
*
- * - [Menu](https://mui.com/base-ui/react-menu/)
+ * - [Menu](https://base-ui.netlify.app/components/react-menu/)
*
* API:
*
- * - [MenuItem API](https://mui.com/base-ui/react-menu/components-api/#menu-item)
+ * - [MenuItem API](https://base-ui.netlify.app/components/react-menu/#api-reference-MenuItem)
*/
const MenuItem = React.forwardRef(function MenuItem(
props: MenuItem.Props,
diff --git a/packages/mui-base/src/Menu/Item/useMenuItem.ts b/packages/mui-base/src/Menu/Item/useMenuItem.ts
index ee72abddbb..6d03b19773 100644
--- a/packages/mui-base/src/Menu/Item/useMenuItem.ts
+++ b/packages/mui-base/src/Menu/Item/useMenuItem.ts
@@ -5,12 +5,6 @@ import { useButton } from '../../useButton';
import { mergeReactProps } from '../../utils/mergeReactProps';
import { GenericHTMLProps } from '../../utils/types';
-/**
- *
- * API:
- *
- * - [useMenuItem API](https://mui.com/base-ui/api/use-menu-item/)
- */
export function useMenuItem(params: useMenuItem.Parameters): useMenuItem.ReturnValue {
const {
closeOnClick,
diff --git a/packages/mui-base/src/Menu/Popup/MenuPopup.tsx b/packages/mui-base/src/Menu/Popup/MenuPopup.tsx
index ad77be5a40..e8563436ef 100644
--- a/packages/mui-base/src/Menu/Popup/MenuPopup.tsx
+++ b/packages/mui-base/src/Menu/Popup/MenuPopup.tsx
@@ -21,6 +21,16 @@ const customStyleHookMapping: CustomStyleHookMapping = {
},
};
+/**
+ *
+ * Demos:
+ *
+ * - [Menu](https://base-ui.netlify.app/components/react-menu/)
+ *
+ * API:
+ *
+ * - [MenuPopup API](https://base-ui.netlify.app/components/react-menu/#api-reference-MenuPopup)
+ */
const MenuPopup = React.forwardRef(function MenuPopup(
props: MenuPopup.Props,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Menu/Popup/useMenuPopup.ts b/packages/mui-base/src/Menu/Popup/useMenuPopup.ts
index a7e200919a..7a02b912fb 100644
--- a/packages/mui-base/src/Menu/Popup/useMenuPopup.ts
+++ b/packages/mui-base/src/Menu/Popup/useMenuPopup.ts
@@ -2,12 +2,6 @@
import * as React from 'react';
import { FloatingEvents } from '@floating-ui/react';
-/**
- *
- * API:
- *
- * - [useMenuPopup API](https://mui.com/base-ui/api/use-menu-popup/)
- */
export function useMenuPopup(parameters: useMenuPopup.Parameters): useMenuPopup.ReturnValue {
const { menuEvents, setOpen } = parameters;
diff --git a/packages/mui-base/src/Menu/Positioner/MenuPositioner.tsx b/packages/mui-base/src/Menu/Positioner/MenuPositioner.tsx
index 48baa4ce14..b271067355 100644
--- a/packages/mui-base/src/Menu/Positioner/MenuPositioner.tsx
+++ b/packages/mui-base/src/Menu/Positioner/MenuPositioner.tsx
@@ -23,11 +23,11 @@ import { BaseUIComponentProps, GenericHTMLProps } from '../../utils/types';
*
* Demos:
*
- * - [Menu](https://mui.com/base-ui/react-Menu/)
+ * - [Menu](https://base-ui.netlify.app/components/react-menu/)
*
* API:
*
- * - [MenuPositioner API](https://mui.com/base-ui/react-Menu/components-api/#Menu-positioner)
+ * - [MenuPositioner API](https://base-ui.netlify.app/components/react-menu/#api-reference-MenuPositioner)
*/
const MenuPositioner = React.forwardRef(function MenuPositioner(
props: MenuPositioner.Props,
diff --git a/packages/mui-base/src/Menu/Positioner/useMenuPositioner.ts b/packages/mui-base/src/Menu/Positioner/useMenuPositioner.ts
index 781b27c83f..a8d1337706 100644
--- a/packages/mui-base/src/Menu/Positioner/useMenuPositioner.ts
+++ b/packages/mui-base/src/Menu/Positioner/useMenuPositioner.ts
@@ -12,12 +12,6 @@ import { mergeReactProps } from '../../utils/mergeReactProps';
import { useAnchorPositioning } from '../../utils/useAnchorPositioning';
import type { GenericHTMLProps } from '../../utils/types';
-/**
- *
- * API:
- *
- * - [useMenuPositioner API](https://mui.com/base-ui/api/use-menu-positioner/)
- */
export function useMenuPositioner(
params: useMenuPositioner.Parameters,
): useMenuPositioner.ReturnValue {
diff --git a/packages/mui-base/src/Menu/Root/MenuRoot.tsx b/packages/mui-base/src/Menu/Root/MenuRoot.tsx
index e487da8a1a..15f8ed2ce0 100644
--- a/packages/mui-base/src/Menu/Root/MenuRoot.tsx
+++ b/packages/mui-base/src/Menu/Root/MenuRoot.tsx
@@ -5,6 +5,16 @@ import { FloatingTree } from '@floating-ui/react';
import { MenuRootContext, useMenuRootContext } from './MenuRootContext';
import { MenuDirection, MenuOrientation, useMenuRoot } from './useMenuRoot';
+/**
+ *
+ * Demos:
+ *
+ * - [Menu](https://base-ui.netlify.app/components/react-menu/)
+ *
+ * API:
+ *
+ * - [MenuRoot API](https://base-ui.netlify.app/components/react-menu/#api-reference-MenuRoot)
+ */
function MenuRoot(props: MenuRoot.Props) {
const {
animated = true,
diff --git a/packages/mui-base/src/Menu/Root/useMenuRoot.ts b/packages/mui-base/src/Menu/Root/useMenuRoot.ts
index 954d5cc71e..92b37da9ca 100644
--- a/packages/mui-base/src/Menu/Root/useMenuRoot.ts
+++ b/packages/mui-base/src/Menu/Root/useMenuRoot.ts
@@ -21,12 +21,6 @@ import { useControlled } from '../../utils/useControlled';
const EMPTY_ARRAY: never[] = [];
-/**
- *
- * API:
- *
- * - [useMenuRoot API](https://mui.com/base-ui/api/use-menu-root/)
- */
export function useMenuRoot(parameters: useMenuRoot.Parameters): useMenuRoot.ReturnValue {
const {
animated,
diff --git a/packages/mui-base/src/Menu/SubmenuTrigger/SubmenuTrigger.tsx b/packages/mui-base/src/Menu/SubmenuTrigger/SubmenuTrigger.tsx
index a2160de2af..c83ea1d1a9 100644
--- a/packages/mui-base/src/Menu/SubmenuTrigger/SubmenuTrigger.tsx
+++ b/packages/mui-base/src/Menu/SubmenuTrigger/SubmenuTrigger.tsx
@@ -9,6 +9,16 @@ import { useComponentRenderer } from '../../utils/useComponentRenderer';
import { useSubmenuTrigger } from './useSubmenuTrigger';
import { useForkRef } from '../../utils/useForkRef';
+/**
+ *
+ * Demos:
+ *
+ * - [Menu](https://base-ui.netlify.app/components/react-menu/)
+ *
+ * API:
+ *
+ * - [SubmenuTrigger API](https://base-ui.netlify.app/components/react-menu/#api-reference-SubmenuTrigger)
+ */
const SubmenuTrigger = React.forwardRef(function SubmenuTriggerComponent(
props: SubmenuTrigger.Props,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Menu/SubmenuTrigger/useSubmenuTrigger.ts b/packages/mui-base/src/Menu/SubmenuTrigger/useSubmenuTrigger.ts
index 5ecb534017..d5b4d4a7ab 100644
--- a/packages/mui-base/src/Menu/SubmenuTrigger/useSubmenuTrigger.ts
+++ b/packages/mui-base/src/Menu/SubmenuTrigger/useSubmenuTrigger.ts
@@ -4,12 +4,6 @@ import { useMenuItem } from '../Item/useMenuItem';
import { useForkRef } from '../../utils/useForkRef';
import { GenericHTMLProps } from '../../utils/types';
-/**
- *
- * API:
- *
- * - [useSubmenuTrigger API](https://mui.com/base-ui/api/use-submenu-trigger/)
- */
export function useSubmenuTrigger(
parameters: useSubmenuTrigger.Parameters,
): useSubmenuTrigger.ReturnValue {
diff --git a/packages/mui-base/src/Menu/Trigger/MenuTrigger.tsx b/packages/mui-base/src/Menu/Trigger/MenuTrigger.tsx
index a73a95d25c..4e977f9f86 100644
--- a/packages/mui-base/src/Menu/Trigger/MenuTrigger.tsx
+++ b/packages/mui-base/src/Menu/Trigger/MenuTrigger.tsx
@@ -8,6 +8,16 @@ import { commonStyleHooks } from '../utils/commonStyleHooks';
import { useComponentRenderer } from '../../utils/useComponentRenderer';
import { BaseUIComponentProps } from '../../utils/types';
+/**
+ *
+ * Demos:
+ *
+ * - [Menu](https://base-ui.netlify.app/components/react-menu/)
+ *
+ * API:
+ *
+ * - [MenuTrigger API](https://base-ui.netlify.app/components/react-menu/#api-reference-MenuTrigger)
+ */
const MenuTrigger = React.forwardRef(function MenuTrigger(
props: MenuTrigger.Props,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Menu/Trigger/useMenuTrigger.ts b/packages/mui-base/src/Menu/Trigger/useMenuTrigger.ts
index 90c3045892..4d2e4f9fb9 100644
--- a/packages/mui-base/src/Menu/Trigger/useMenuTrigger.ts
+++ b/packages/mui-base/src/Menu/Trigger/useMenuTrigger.ts
@@ -7,12 +7,6 @@ import { GenericHTMLProps } from '../../utils/types';
import { mergeReactProps } from '../../utils/mergeReactProps';
import { ownerDocument } from '../../utils/owner';
-/**
- *
- * API:
- *
- * - [useMenuTrigger API](https://mui.com/base-ui/api/use-menu-trigger/)
- */
export function useMenuTrigger(parameters: useMenuTrigger.Parameters): useMenuTrigger.ReturnValue {
const {
disabled = false,
diff --git a/packages/mui-base/src/NumberField/Decrement/NumberFieldDecrement.tsx b/packages/mui-base/src/NumberField/Decrement/NumberFieldDecrement.tsx
index fd2dc84ef2..9efa6dd2bc 100644
--- a/packages/mui-base/src/NumberField/Decrement/NumberFieldDecrement.tsx
+++ b/packages/mui-base/src/NumberField/Decrement/NumberFieldDecrement.tsx
@@ -15,11 +15,11 @@ function defaultRender(props: React.ComponentPropsWithRef<'button'>) {
*
* Demos:
*
- * - [NumberField](https://mui.com/base-ui/react-number-field/)
+ * - [Number Field](https://base-ui.netlify.app/components/react-number-field/)
*
* API:
*
- * - [NumberFieldDecrement API](https://mui.com/base-ui/react-number-field/components-api/#number-field-decrement)
+ * - [NumberFieldDecrement API](https://base-ui.netlify.app/components/react-number-field/#api-reference-NumberFieldDecrement)
*/
const NumberFieldDecrement = React.forwardRef(function NumberFieldDecrement(
props: NumberFieldDecrementProps,
diff --git a/packages/mui-base/src/NumberField/Group/NumberFieldGroup.tsx b/packages/mui-base/src/NumberField/Group/NumberFieldGroup.tsx
index d7a366b82f..0a70e45bdd 100644
--- a/packages/mui-base/src/NumberField/Group/NumberFieldGroup.tsx
+++ b/packages/mui-base/src/NumberField/Group/NumberFieldGroup.tsx
@@ -15,11 +15,11 @@ function defaultRender(props: React.ComponentPropsWithRef<'div'>) {
*
* Demos:
*
- * - [NumberField](https://mui.com/base-ui/react-number-field/)
+ * - [Number Field](https://base-ui.netlify.app/components/react-number-field/)
*
* API:
*
- * - [NumberFieldGroup API](https://mui.com/base-ui/react-number-field/components-api/#number-field-group)
+ * - [NumberFieldGroup API](https://base-ui.netlify.app/components/react-number-field/#api-reference-NumberFieldGroup)
*/
const NumberFieldGroup = React.forwardRef(function NumberFieldGroup(
props: NumberFieldGroupProps,
diff --git a/packages/mui-base/src/NumberField/Increment/NumberFieldIncrement.tsx b/packages/mui-base/src/NumberField/Increment/NumberFieldIncrement.tsx
index 7c1918d6b6..ca8b62cd72 100644
--- a/packages/mui-base/src/NumberField/Increment/NumberFieldIncrement.tsx
+++ b/packages/mui-base/src/NumberField/Increment/NumberFieldIncrement.tsx
@@ -15,11 +15,11 @@ function defaultRender(props: React.ComponentPropsWithRef<'button'>) {
*
* Demos:
*
- * - [NumberField](https://mui.com/base-ui/react-number-field/)
+ * - [Number Field](https://base-ui.netlify.app/components/react-number-field/)
*
* API:
*
- * - [NumberFieldIncrement API](https://mui.com/base-ui/react-number-field/components-api/#number-field-increment)
+ * - [NumberFieldIncrement API](https://base-ui.netlify.app/components/react-number-field/#api-reference-NumberFieldIncrement)
*/
const NumberFieldIncrement = React.forwardRef(function NumberFieldIncrement(
props: NumberFieldIncrementProps,
diff --git a/packages/mui-base/src/NumberField/Input/NumberFieldInput.tsx b/packages/mui-base/src/NumberField/Input/NumberFieldInput.tsx
index 8d81052dcf..296660d089 100644
--- a/packages/mui-base/src/NumberField/Input/NumberFieldInput.tsx
+++ b/packages/mui-base/src/NumberField/Input/NumberFieldInput.tsx
@@ -10,11 +10,11 @@ import { useForkRef } from '../../utils/useForkRef';
*
* Demos:
*
- * - [NumberField](https://mui.com/base-ui/react-number-field/)
+ * - [Number Field](https://base-ui.netlify.app/components/react-number-field/)
*
* API:
*
- * - [NumberFieldInput API](https://mui.com/base-ui/react-number-field/components-api/#number-field-input)
+ * - [NumberFieldInput API](https://base-ui.netlify.app/components/react-number-field/#api-reference-NumberFieldInput)
*/
const NumberFieldInput = React.forwardRef(function NumberFieldInput(
props: NumberFieldInputProps,
diff --git a/packages/mui-base/src/NumberField/Root/NumberFieldRoot.tsx b/packages/mui-base/src/NumberField/Root/NumberFieldRoot.tsx
index 7a5496fb92..3d517acb50 100644
--- a/packages/mui-base/src/NumberField/Root/NumberFieldRoot.tsx
+++ b/packages/mui-base/src/NumberField/Root/NumberFieldRoot.tsx
@@ -17,11 +17,11 @@ function defaultRender(props: React.ComponentPropsWithRef<'div'>) {
*
* Demos:
*
- * - [NumberField](https://mui.com/base-ui/react-number-field/)
+ * - [Number Field](https://base-ui.netlify.app/components/react-number-field/)
*
* API:
*
- * - [NumberField API](https://mui.com/base-ui/react-number-field/components-api/#number-field)
+ * - [NumberFieldRoot API](https://base-ui.netlify.app/components/react-number-field/#api-reference-NumberFieldRoot)
*/
const NumberFieldRoot = React.forwardRef(function NumberFieldRoot(
props: NumberFieldRootProps,
diff --git a/packages/mui-base/src/NumberField/Root/useNumberFieldRoot.ts b/packages/mui-base/src/NumberField/Root/useNumberFieldRoot.ts
index 05bc911e95..0eb0a8de61 100644
--- a/packages/mui-base/src/NumberField/Root/useNumberFieldRoot.ts
+++ b/packages/mui-base/src/NumberField/Root/useNumberFieldRoot.ts
@@ -34,17 +34,6 @@ import { useFieldRootContext } from '../../Field/Root/FieldRootContext';
import { useFieldControlValidation } from '../../Field/Control/useFieldControlValidation';
import { useForkRef } from '../../utils/useForkRef';
-/**
- * The basic building block for creating custom number fields.
- *
- * Demos:
- *
- * - [Number Field](https://mui.com/base-ui/react-number-field/#hook)
- *
- * API:
- *
- * - [useNumberFieldRoot API](https://mui.com/base-ui/react-number-field/hooks-api/#use-number-field-root)
- */
export function useNumberFieldRoot(
params: UseNumberFieldRootParameters,
): UseNumberFieldRootReturnValue {
diff --git a/packages/mui-base/src/NumberField/ScrubArea/NumberFieldScrubArea.tsx b/packages/mui-base/src/NumberField/ScrubArea/NumberFieldScrubArea.tsx
index 94a9b904ee..237ad47e72 100644
--- a/packages/mui-base/src/NumberField/ScrubArea/NumberFieldScrubArea.tsx
+++ b/packages/mui-base/src/NumberField/ScrubArea/NumberFieldScrubArea.tsx
@@ -11,16 +11,15 @@ function defaultRender(props: React.ComponentPropsWithRef<'span'>) {
}
/**
- *
* The scrub area element.
*
* Demos:
*
- * - [NumberField](https://mui.com/base-ui/react-number-field/)
+ * - [Number Field](https://base-ui.netlify.app/components/react-number-field/)
*
* API:
*
- * - [NumberFieldScrubArea API](https://mui.com/base-ui/react-number-field/components-api/#number-field-scrub-area)
+ * - [NumberFieldScrubArea API](https://base-ui.netlify.app/components/react-number-field/#api-reference-NumberFieldScrubArea)
*/
const NumberFieldScrubArea = React.forwardRef(function NumberFieldScrubArea(
props: NumberFieldScrubAreaProps,
diff --git a/packages/mui-base/src/NumberField/ScrubAreaCursor/NumberFieldScrubAreaCursor.tsx b/packages/mui-base/src/NumberField/ScrubAreaCursor/NumberFieldScrubAreaCursor.tsx
index 16c8062c58..9e87edfd3c 100644
--- a/packages/mui-base/src/NumberField/ScrubAreaCursor/NumberFieldScrubAreaCursor.tsx
+++ b/packages/mui-base/src/NumberField/ScrubAreaCursor/NumberFieldScrubAreaCursor.tsx
@@ -13,16 +13,15 @@ function defaultRender(props: React.ComponentPropsWithRef<'span'>) {
}
/**
- *
* The scrub area cursor element.
*
* Demos:
*
- * - [NumberField](https://mui.com/base-ui/react-number-field/)
+ * - [Number Field](https://base-ui.netlify.app/components/react-number-field/)
*
* API:
*
- * - [NumberFieldScrubAreaCursor API](https://mui.com/base-ui/react-number-field/components-api/#number-field-scrub-area-cursor)
+ * - [NumberFieldScrubAreaCursor API](https://base-ui.netlify.app/components/react-number-field/#api-reference-NumberFieldScrubAreaCursor)
*/
const NumberFieldScrubAreaCursor = React.forwardRef(function NumberFieldScrubAreaCursor(
props: NumberFieldScrubAreaCursorProps,
diff --git a/packages/mui-base/src/Popover/Arrow/PopoverArrow.tsx b/packages/mui-base/src/Popover/Arrow/PopoverArrow.tsx
index 6079e7b378..1f759fc75f 100644
--- a/packages/mui-base/src/Popover/Arrow/PopoverArrow.tsx
+++ b/packages/mui-base/src/Popover/Arrow/PopoverArrow.tsx
@@ -13,11 +13,11 @@ import { usePopoverArrow } from './usePopoverArrow';
*
* Demos:
*
- * - [Popover](https://mui.com/base-ui/react-popover/)
+ * - [Popover](https://base-ui.netlify.app/components/react-popover/)
*
* API:
*
- * - [PopoverArrow API](https://mui.com/base-ui/react-popover/components-api/#popover-arrow)
+ * - [PopoverArrow API](https://base-ui.netlify.app/components/react-popover/#api-reference-PopoverArrow)
*/
const PopoverArrow = React.forwardRef(function PopoverArrow(
props: PopoverArrowProps,
diff --git a/packages/mui-base/src/Popover/Arrow/usePopoverArrow.ts b/packages/mui-base/src/Popover/Arrow/usePopoverArrow.ts
index 1cf40918c9..49c56f2f7d 100644
--- a/packages/mui-base/src/Popover/Arrow/usePopoverArrow.ts
+++ b/packages/mui-base/src/Popover/Arrow/usePopoverArrow.ts
@@ -6,12 +6,6 @@ import type {
UsePopoverArrowReturnValue,
} from './usePopoverArrow.types';
-/**
- *
- * API:
- *
- * - [usePopoverArrow API](https://mui.com/base-ui/api/use-popover-arrow/)
- */
export function usePopoverArrow(params: UsePopoverArrowParameters): UsePopoverArrowReturnValue {
const { arrowStyles } = params;
diff --git a/packages/mui-base/src/Popover/Backdrop/PopoverBackdrop.tsx b/packages/mui-base/src/Popover/Backdrop/PopoverBackdrop.tsx
index 5f503ac52f..a1ca2ecfad 100644
--- a/packages/mui-base/src/Popover/Backdrop/PopoverBackdrop.tsx
+++ b/packages/mui-base/src/Popover/Backdrop/PopoverBackdrop.tsx
@@ -13,11 +13,11 @@ import { usePopoverBackdrop } from './usePopoverBackdrop';
*
* Demos:
*
- * - [Popover](https://mui.com/base-ui/react-popover/)
+ * - [Popover](https://base-ui.netlify.app/components/react-popover/)
*
* API:
*
- * - [PopoverBackdrop API](https://mui.com/base-ui/react-popover/components-api/#popover-backdrop)
+ * - [PopoverBackdrop API](https://base-ui.netlify.app/components/react-popover/#api-reference-PopoverBackdrop)
*/
const PopoverBackdrop = React.forwardRef(function PopoverBackdrop(
props: PopoverBackdropProps,
diff --git a/packages/mui-base/src/Popover/Backdrop/usePopoverBackdrop.ts b/packages/mui-base/src/Popover/Backdrop/usePopoverBackdrop.ts
index 655d89032f..41d0d8f756 100644
--- a/packages/mui-base/src/Popover/Backdrop/usePopoverBackdrop.ts
+++ b/packages/mui-base/src/Popover/Backdrop/usePopoverBackdrop.ts
@@ -3,12 +3,6 @@ import * as React from 'react';
import { mergeReactProps } from '../../utils/mergeReactProps';
import type { UsePopoverBackdropReturnValue } from './usePopoverBackdrop.types';
-/**
- *
- * API:
- *
- * - [usePopoverBackdrop API](https://mui.com/base-ui/api/use-popover-backdrop/)
- */
export function usePopoverBackdrop(): UsePopoverBackdropReturnValue {
const getBackdropProps = React.useCallback((externalProps = {}) => {
return mergeReactProps<'div'>(externalProps, {
diff --git a/packages/mui-base/src/Popover/Close/PopoverClose.tsx b/packages/mui-base/src/Popover/Close/PopoverClose.tsx
index 35d494c6bc..d3f85f8636 100644
--- a/packages/mui-base/src/Popover/Close/PopoverClose.tsx
+++ b/packages/mui-base/src/Popover/Close/PopoverClose.tsx
@@ -11,11 +11,11 @@ import { usePopoverClose } from './usePopoverClose';
*
* Demos:
*
- * - [Popover](https://mui.com/base-ui/react-popover/)
+ * - [Popover](https://base-ui.netlify.app/components/react-popover/)
*
* API:
*
- * - [PopoverClose API](https://mui.com/base-ui/react-popover/components-api/#popover-close)
+ * - [PopoverClose API](https://base-ui.netlify.app/components/react-popover/#api-reference-PopoverClose)
*/
const PopoverClose = React.forwardRef(function PopoverClose(
props: PopoverCloseProps,
diff --git a/packages/mui-base/src/Popover/Close/usePopoverClose.ts b/packages/mui-base/src/Popover/Close/usePopoverClose.ts
index b345aff8ac..ffd009017f 100644
--- a/packages/mui-base/src/Popover/Close/usePopoverClose.ts
+++ b/packages/mui-base/src/Popover/Close/usePopoverClose.ts
@@ -7,12 +7,6 @@ import type {
} from './usePopoverClose.types';
import { useEventCallback } from '../../utils/useEventCallback';
-/**
- *
- * API:
- *
- * - [usePopoverClose API](https://mui.com/base-ui/api/use-popover-close/)
- */
export function usePopoverClose(params: UsePopoverCloseParameters): UsePopoverCloseReturnValue {
const { onClose } = params;
diff --git a/packages/mui-base/src/Popover/Description/PopoverDescription.tsx b/packages/mui-base/src/Popover/Description/PopoverDescription.tsx
index 3b3b6a2bd4..2df52e3857 100644
--- a/packages/mui-base/src/Popover/Description/PopoverDescription.tsx
+++ b/packages/mui-base/src/Popover/Description/PopoverDescription.tsx
@@ -11,11 +11,11 @@ import { usePopoverDescription } from './usePopoverDescription';
*
* Demos:
*
- * - [Popover](https://mui.com/base-ui/react-popover/)
+ * - [Popover](https://base-ui.netlify.app/components/react-popover/)
*
* API:
*
- * - [PopoverDescription API](https://mui.com/base-ui/react-popover/components-api/#popover-description)
+ * - [PopoverDescription API](https://base-ui.netlify.app/components/react-popover/#api-reference-PopoverDescription)
*/
const PopoverDescription = React.forwardRef(function PopoverDescription(
props: PopoverDescriptionProps,
diff --git a/packages/mui-base/src/Popover/Description/usePopoverDescription.ts b/packages/mui-base/src/Popover/Description/usePopoverDescription.ts
index f9c274f6de..15a911e645 100644
--- a/packages/mui-base/src/Popover/Description/usePopoverDescription.ts
+++ b/packages/mui-base/src/Popover/Description/usePopoverDescription.ts
@@ -8,12 +8,6 @@ import type {
} from './usePopoverDescription.types';
import { useId } from '../../utils/useId';
-/**
- *
- * API:
- *
- * - [usePopoverDescription API](https://mui.com/base-ui/api/use-popover-description/)
- */
export function usePopoverDescription(
params: UsePopoverDescriptionParameters,
): UsePopoverDescriptionReturnValue {
diff --git a/packages/mui-base/src/Popover/Popup/PopoverPopup.tsx b/packages/mui-base/src/Popover/Popup/PopoverPopup.tsx
index 114c04b000..29f5d1c044 100644
--- a/packages/mui-base/src/Popover/Popup/PopoverPopup.tsx
+++ b/packages/mui-base/src/Popover/Popup/PopoverPopup.tsx
@@ -13,11 +13,11 @@ import { useForkRef } from '../../utils/useForkRef';
*
* Demos:
*
- * - [Popover](https://mui.com/base-ui/react-popover/)
+ * - [Popover](https://base-ui.netlify.app/components/react-popover/)
*
* API:
*
- * - [PopoverPopup API](https://mui.com/base-ui/react-popover/components-api/#popover-popup)
+ * - [PopoverPopup API](https://base-ui.netlify.app/components/react-popover/#api-reference-PopoverPopup)
*/
const PopoverPopup = React.forwardRef(function PopoverPopup(
props: PopoverPopupProps,
diff --git a/packages/mui-base/src/Popover/Popup/usePopoverPopup.ts b/packages/mui-base/src/Popover/Popup/usePopoverPopup.ts
index 108c2c11a7..a100d96830 100644
--- a/packages/mui-base/src/Popover/Popup/usePopoverPopup.ts
+++ b/packages/mui-base/src/Popover/Popup/usePopoverPopup.ts
@@ -6,12 +6,6 @@ import type {
UsePopoverPopupReturnValue,
} from './usePopoverPopup.types';
-/**
- *
- * API:
- *
- * - [usePopoverPopup API](https://mui.com/base-ui/api/use-popover-popup/)
- */
export function usePopoverPopup(params: UsePopoverPopupParameters): UsePopoverPopupReturnValue {
const { getProps, titleId, descriptionId } = params;
diff --git a/packages/mui-base/src/Popover/Positioner/PopoverPositioner.tsx b/packages/mui-base/src/Popover/Positioner/PopoverPositioner.tsx
index 076499bf85..6f60bfe1a4 100644
--- a/packages/mui-base/src/Popover/Positioner/PopoverPositioner.tsx
+++ b/packages/mui-base/src/Popover/Positioner/PopoverPositioner.tsx
@@ -19,11 +19,11 @@ import { HTMLElementType } from '../../utils/proptypes';
*
* Demos:
*
- * - [Popover](https://mui.com/base-ui/react-popover/)
+ * - [Popover](https://base-ui.netlify.app/components/react-popover/)
*
* API:
*
- * - [PopoverPositioner API](https://mui.com/base-ui/react-popover/components-api/#popover-positioner)
+ * - [PopoverPositioner API](https://base-ui.netlify.app/components/react-popover/#api-reference-PopoverPositioner)
*/
const PopoverPositioner = React.forwardRef(function PopoverPositioner(
props: PopoverPositionerProps,
diff --git a/packages/mui-base/src/Popover/Positioner/usePopoverPositioner.tsx b/packages/mui-base/src/Popover/Positioner/usePopoverPositioner.tsx
index 74eec88dfe..8b4ef430f7 100644
--- a/packages/mui-base/src/Popover/Positioner/usePopoverPositioner.tsx
+++ b/packages/mui-base/src/Popover/Positioner/usePopoverPositioner.tsx
@@ -7,12 +7,6 @@ import type {
import { mergeReactProps } from '../../utils/mergeReactProps';
import { useAnchorPositioning } from '../../utils/useAnchorPositioning';
-/**
- *
- * API:
- *
- * - [usePopoverPositioner API](https://mui.com/base-ui/api/use-popover-positioner/)
- */
export function usePopoverPositioner(
params: UsePopoverPositionerParameters,
): UsePopoverPositionerReturnValue {
diff --git a/packages/mui-base/src/Popover/Root/PopoverRoot.tsx b/packages/mui-base/src/Popover/Root/PopoverRoot.tsx
index 9f5fda3e11..fee501a001 100644
--- a/packages/mui-base/src/Popover/Root/PopoverRoot.tsx
+++ b/packages/mui-base/src/Popover/Root/PopoverRoot.tsx
@@ -11,11 +11,11 @@ import { OPEN_DELAY } from '../utils/constants';
*
* Demos:
*
- * - [Popover](https://mui.com/base-ui/react-popover/)
+ * - [Popover](https://base-ui.netlify.app/components/react-popover/)
*
* API:
*
- * - [PopoverRoot API](https://mui.com/base-ui/react-popover/components-api/#popover-root)
+ * - [PopoverRoot API](https://base-ui.netlify.app/components/react-popover/#api-reference-PopoverRoot)
*/
function PopoverRoot(props: PopoverRootProps) {
const { openOnHover = false, delayType = 'rest', delay, closeDelay = 0, animated = true } = props;
diff --git a/packages/mui-base/src/Popover/Root/usePopoverRoot.ts b/packages/mui-base/src/Popover/Root/usePopoverRoot.ts
index 0cc2ceb93b..890f52dbae 100644
--- a/packages/mui-base/src/Popover/Root/usePopoverRoot.ts
+++ b/packages/mui-base/src/Popover/Root/usePopoverRoot.ts
@@ -18,12 +18,6 @@ import { useTransitionStatus } from '../../utils/useTransitionStatus';
import { useAnimationsFinished } from '../../utils/useAnimationsFinished';
import { OPEN_DELAY } from '../utils/constants';
-/**
- *
- * API:
- *
- * - [usePopoverRoot API](https://mui.com/base-ui/api/use-popover-root/)
- */
export function usePopoverRoot(params: UsePopoverRootParameters): UsePopoverRootReturnValue {
const {
open: externalOpen,
diff --git a/packages/mui-base/src/Popover/Title/PopoverTitle.tsx b/packages/mui-base/src/Popover/Title/PopoverTitle.tsx
index 697d5ca69c..eb00058e1b 100644
--- a/packages/mui-base/src/Popover/Title/PopoverTitle.tsx
+++ b/packages/mui-base/src/Popover/Title/PopoverTitle.tsx
@@ -11,11 +11,11 @@ import { usePopoverTitle } from './usePopoverTitle';
*
* Demos:
*
- * - [Popover](https://mui.com/base-ui/react-popover/)
+ * - [Popover](https://base-ui.netlify.app/components/react-popover/)
*
* API:
*
- * - [PopoverTitle API](https://mui.com/base-ui/react-popover/components-api/#popover-title)
+ * - [PopoverTitle API](https://base-ui.netlify.app/components/react-popover/#api-reference-PopoverTitle)
*/
const PopoverTitle = React.forwardRef(function PopoverTitle(
props: PopoverTitleProps,
diff --git a/packages/mui-base/src/Popover/Title/usePopoverTitle.ts b/packages/mui-base/src/Popover/Title/usePopoverTitle.ts
index 58a1fea77f..f98af1b00e 100644
--- a/packages/mui-base/src/Popover/Title/usePopoverTitle.ts
+++ b/packages/mui-base/src/Popover/Title/usePopoverTitle.ts
@@ -8,12 +8,6 @@ import type {
} from './usePopoverTitle.types';
import { useId } from '../../utils/useId';
-/**
- *
- * API:
- *
- * - [usePopoverTitle API](https://mui.com/base-ui/api/use-popover-title/)
- */
export function usePopoverTitle(params: UsePopoverTitleParameters): UsePopoverTitleReturnValue {
const { titleId, setTitleId } = params;
diff --git a/packages/mui-base/src/Popover/Trigger/PopoverTrigger.tsx b/packages/mui-base/src/Popover/Trigger/PopoverTrigger.tsx
index 72df5dfe32..eb114c2031 100644
--- a/packages/mui-base/src/Popover/Trigger/PopoverTrigger.tsx
+++ b/packages/mui-base/src/Popover/Trigger/PopoverTrigger.tsx
@@ -11,11 +11,11 @@ import { useForkRef } from '../../utils/useForkRef';
*
* Demos:
*
- * - [Popover](https://mui.com/base-ui/react-popover/)
+ * - [Popover](https://base-ui.netlify.app/components/react-popover/)
*
* API:
*
- * - [PopoverTrigger API](https://mui.com/base-ui/react-popover/components-api/#popover-trigger)
+ * - [PopoverTrigger API](https://base-ui.netlify.app/components/react-popover/#api-reference-PopoverTrigger)
*/
const PopoverTrigger = React.forwardRef(function PopoverTrigger(
props: PopoverTriggerProps,
diff --git a/packages/mui-base/src/PreviewCard/Arrow/PreviewCardArrow.tsx b/packages/mui-base/src/PreviewCard/Arrow/PreviewCardArrow.tsx
index 49d7bb82cf..45f6a52023 100644
--- a/packages/mui-base/src/PreviewCard/Arrow/PreviewCardArrow.tsx
+++ b/packages/mui-base/src/PreviewCard/Arrow/PreviewCardArrow.tsx
@@ -8,6 +8,16 @@ import { usePreviewCardArrow } from './usePreviewCardArrow';
import { useForkRef } from '../../utils/useForkRef';
import { usePreviewCardRootContext } from '../Root/PreviewCardContext';
+/**
+ *
+ * Demos:
+ *
+ * - [Preview Card](https://base-ui.netlify.app/components/react-preview-card/)
+ *
+ * API:
+ *
+ * - [PreviewCardArrow API](https://base-ui.netlify.app/components/react-preview-card/#api-reference-PreviewCardArrow)
+ */
const PreviewCardArrow = React.forwardRef(function PreviewCardArrow(
props: PreviewCardArrowProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/PreviewCard/Arrow/usePreviewCardArrow.ts b/packages/mui-base/src/PreviewCard/Arrow/usePreviewCardArrow.ts
index 9fa7b18b43..86412aec5f 100644
--- a/packages/mui-base/src/PreviewCard/Arrow/usePreviewCardArrow.ts
+++ b/packages/mui-base/src/PreviewCard/Arrow/usePreviewCardArrow.ts
@@ -6,12 +6,6 @@ import type {
UsePreviewCardArrowReturnValue,
} from './usePreviewCardArrow.types';
-/**
- *
- * API:
- *
- * - [usePreviewCardArrow API](https://mui.com/base-ui/api/use-preview-card-arrow/)
- */
export function usePreviewCardArrow(
params: UsePreviewCardArrowParameters,
): UsePreviewCardArrowReturnValue {
diff --git a/packages/mui-base/src/PreviewCard/Backdrop/PreviewCardBackdrop.tsx b/packages/mui-base/src/PreviewCard/Backdrop/PreviewCardBackdrop.tsx
index 88cb4217c4..a53034d040 100644
--- a/packages/mui-base/src/PreviewCard/Backdrop/PreviewCardBackdrop.tsx
+++ b/packages/mui-base/src/PreviewCard/Backdrop/PreviewCardBackdrop.tsx
@@ -11,6 +11,16 @@ import { usePreviewCardRootContext } from '../Root/PreviewCardContext';
import { usePreviewCardBackdrop } from './usePreviewCardBackdrop';
import { HTMLElementType } from '../../utils/proptypes';
+/**
+ *
+ * Demos:
+ *
+ * - [Preview Card](https://base-ui.netlify.app/components/react-preview-card/)
+ *
+ * API:
+ *
+ * - [PreviewCardBackdrop API](https://base-ui.netlify.app/components/react-preview-card/#api-reference-PreviewCardBackdrop)
+ */
const PreviewCardBackdrop = React.forwardRef(function PreviewCardBackdrop(
props: PreviewCardBackdropProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/PreviewCard/Backdrop/usePreviewCardBackdrop.ts b/packages/mui-base/src/PreviewCard/Backdrop/usePreviewCardBackdrop.ts
index cdb0850d7e..378dfc52c4 100644
--- a/packages/mui-base/src/PreviewCard/Backdrop/usePreviewCardBackdrop.ts
+++ b/packages/mui-base/src/PreviewCard/Backdrop/usePreviewCardBackdrop.ts
@@ -3,12 +3,6 @@ import * as React from 'react';
import { mergeReactProps } from '../../utils/mergeReactProps';
import type { UsePreviewCardBackdropReturnValue } from './usePreviewCardBackdrop.types';
-/**
- *
- * API:
- *
- * - [usePreviewCardBackdrop API](https://mui.com/base-ui/api/use-preview-card-backdrop/)
- */
export function usePreviewCardBackdrop(): UsePreviewCardBackdropReturnValue {
const getBackdropProps = React.useCallback((externalProps = {}) => {
return mergeReactProps<'div'>(externalProps, {
diff --git a/packages/mui-base/src/PreviewCard/Popup/PreviewCardPopup.tsx b/packages/mui-base/src/PreviewCard/Popup/PreviewCardPopup.tsx
index 586fa1321f..109203184c 100644
--- a/packages/mui-base/src/PreviewCard/Popup/PreviewCardPopup.tsx
+++ b/packages/mui-base/src/PreviewCard/Popup/PreviewCardPopup.tsx
@@ -23,6 +23,16 @@ const customStyleHookMapping: CustomStyleHookMapping
},
};
+/**
+ *
+ * Demos:
+ *
+ * - [Preview Card](https://base-ui.netlify.app/components/react-preview-card/)
+ *
+ * API:
+ *
+ * - [PreviewCardPopup API](https://base-ui.netlify.app/components/react-preview-card/#api-reference-PreviewCardPopup)
+ */
const PreviewCardPopup = React.forwardRef(function PreviewCardPopup(
props: PreviewCardPopupProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/PreviewCard/Popup/usePreviewCardPopup.ts b/packages/mui-base/src/PreviewCard/Popup/usePreviewCardPopup.ts
index 4aeeccd7a0..1cb256fbe2 100644
--- a/packages/mui-base/src/PreviewCard/Popup/usePreviewCardPopup.ts
+++ b/packages/mui-base/src/PreviewCard/Popup/usePreviewCardPopup.ts
@@ -6,12 +6,6 @@ import type {
UsePreviewCardPopupReturnValue,
} from './usePreviewCardPopup.types';
-/**
- *
- * API:
- *
- * - [usePreviewCardPopup API](https://mui.com/base-ui/api/use-preview-card-popup/)
- */
export function usePreviewCardPopup(
params: UsePreviewCardPopupParameters,
): UsePreviewCardPopupReturnValue {
diff --git a/packages/mui-base/src/PreviewCard/Positioner/PreviewCardPositioner.tsx b/packages/mui-base/src/PreviewCard/Positioner/PreviewCardPositioner.tsx
index c52116ed55..eebba1e555 100644
--- a/packages/mui-base/src/PreviewCard/Positioner/PreviewCardPositioner.tsx
+++ b/packages/mui-base/src/PreviewCard/Positioner/PreviewCardPositioner.tsx
@@ -14,6 +14,16 @@ import { PreviewCardPositionerContext } from './PreviewCardPositionerContext';
import { useForkRef } from '../../utils/useForkRef';
import { HTMLElementType } from '../../utils/proptypes';
+/**
+ *
+ * Demos:
+ *
+ * - [Preview Card](https://base-ui.netlify.app/components/react-preview-card/)
+ *
+ * API:
+ *
+ * - [PreviewCardPositioner API](https://base-ui.netlify.app/components/react-preview-card/#api-reference-PreviewCardPositioner)
+ */
const PreviewCardPositioner = React.forwardRef(function PreviewCardPositioner(
props: PreviewCardPositionerProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/PreviewCard/Positioner/usePreviewCardPositioner.ts b/packages/mui-base/src/PreviewCard/Positioner/usePreviewCardPositioner.ts
index b1a71fda4d..22e551c19a 100644
--- a/packages/mui-base/src/PreviewCard/Positioner/usePreviewCardPositioner.ts
+++ b/packages/mui-base/src/PreviewCard/Positioner/usePreviewCardPositioner.ts
@@ -7,12 +7,6 @@ import type {
import { mergeReactProps } from '../../utils/mergeReactProps';
import { useAnchorPositioning } from '../../utils/useAnchorPositioning';
-/**
- *
- * API:
- *
- * - [usePreviewCardPositioner API](https://mui.com/base-ui/api/use-preview-card-positioner/)
- */
export function usePreviewCardPositioner(
params: UsePreviewCardPositionerParameters,
): UsePreviewCardPositionerReturnValue {
diff --git a/packages/mui-base/src/PreviewCard/Root/PreviewCardRoot.tsx b/packages/mui-base/src/PreviewCard/Root/PreviewCardRoot.tsx
index c0b9101ce1..93c10e7df1 100644
--- a/packages/mui-base/src/PreviewCard/Root/PreviewCardRoot.tsx
+++ b/packages/mui-base/src/PreviewCard/Root/PreviewCardRoot.tsx
@@ -6,6 +6,16 @@ import { PreviewCardRootContext } from './PreviewCardContext';
import { usePreviewCardRoot } from './usePreviewCardRoot';
import { CLOSE_DELAY, OPEN_DELAY } from '../utils/constants';
+/**
+ *
+ * Demos:
+ *
+ * - [Preview Card](https://base-ui.netlify.app/components/react-preview-card/)
+ *
+ * API:
+ *
+ * - [PreviewCardRoot API](https://base-ui.netlify.app/components/react-preview-card/#api-reference-PreviewCardRoot)
+ */
function PreviewCardRoot(props: PreviewCardRootProps) {
const { delayType = 'rest', delay, closeDelay, animated = true } = props;
diff --git a/packages/mui-base/src/PreviewCard/Root/usePreviewCardRoot.ts b/packages/mui-base/src/PreviewCard/Root/usePreviewCardRoot.ts
index 0453d9ba46..f5b8fb1a65 100644
--- a/packages/mui-base/src/PreviewCard/Root/usePreviewCardRoot.ts
+++ b/packages/mui-base/src/PreviewCard/Root/usePreviewCardRoot.ts
@@ -20,13 +20,6 @@ import { useEventCallback } from '../../utils/useEventCallback';
import { useFocusExtended } from '../utils/useFocusExtended';
import { OPEN_DELAY, CLOSE_DELAY } from '../utils/constants';
-/**
- * Manages the root state for a preview card.
- *
- * API:
- *
- * - [usePreviewCardRoot API](https://mui.com/base-ui/api/use-preview-card-root/)
- */
export function usePreviewCardRoot(
params: UsePreviewCardRootParameters,
): UsePreviewCardRootReturnValue {
diff --git a/packages/mui-base/src/PreviewCard/Trigger/PreviewCardTrigger.tsx b/packages/mui-base/src/PreviewCard/Trigger/PreviewCardTrigger.tsx
index 33ccbdbafb..dbbeefe9ab 100644
--- a/packages/mui-base/src/PreviewCard/Trigger/PreviewCardTrigger.tsx
+++ b/packages/mui-base/src/PreviewCard/Trigger/PreviewCardTrigger.tsx
@@ -9,6 +9,16 @@ import type {
import { usePreviewCardRootContext } from '../Root/PreviewCardContext';
import { useForkRef } from '../../utils/useForkRef';
+/**
+ *
+ * Demos:
+ *
+ * - [Preview Card](https://base-ui.netlify.app/components/react-preview-card/)
+ *
+ * API:
+ *
+ * - [PreviewCardTrigger API](https://base-ui.netlify.app/components/react-preview-card/#api-reference-PreviewCardTrigger)
+ */
const PreviewCardTrigger = React.forwardRef(function PreviewCardTrigger(
props: PreviewCardTriggerProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Progress/Indicator/ProgressIndicator.tsx b/packages/mui-base/src/Progress/Indicator/ProgressIndicator.tsx
index 180072c34c..7e13c3022d 100644
--- a/packages/mui-base/src/Progress/Indicator/ProgressIndicator.tsx
+++ b/packages/mui-base/src/Progress/Indicator/ProgressIndicator.tsx
@@ -7,6 +7,16 @@ import { useProgressContext } from '../Root/ProgressContext';
import { progressStyleHookMapping } from '../Root/styleHooks';
import { ProgressIndicatorProps } from './ProgressIndicator.types';
+/**
+ *
+ * Demos:
+ *
+ * - [Progress](https://base-ui.netlify.app/components/react-progress/)
+ *
+ * API:
+ *
+ * - [ProgressIndicator API](https://base-ui.netlify.app/components/react-progress/#api-reference-ProgressIndicator)
+ */
const ProgressIndicator = React.forwardRef(function ProgressIndicator(
props: ProgressIndicatorProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Progress/Indicator/useProgressIndicator.ts b/packages/mui-base/src/Progress/Indicator/useProgressIndicator.ts
index 883501567a..4c2e49333d 100644
--- a/packages/mui-base/src/Progress/Indicator/useProgressIndicator.ts
+++ b/packages/mui-base/src/Progress/Indicator/useProgressIndicator.ts
@@ -9,16 +9,7 @@ import {
function valueToPercent(value: number, min: number, max: number) {
return ((value - min) * 100) / (max - min);
}
-/**
- *
- * Demos:
- *
- * - [Progress](https://mui.com/base-ui/react-progress/#hooks)
- *
- * API:
- *
- * - [useProgressIndicator API](https://mui.com/base-ui/react-progress/hooks-api/#use-progress-indicator)
- */
+
function useProgressIndicator(
parameters: UseProgressIndicatorParameters,
): UseProgressIndicatorReturnValue {
diff --git a/packages/mui-base/src/Progress/Root/ProgressRoot.tsx b/packages/mui-base/src/Progress/Root/ProgressRoot.tsx
index 6e3787d3ba..1164fd4fa7 100644
--- a/packages/mui-base/src/Progress/Root/ProgressRoot.tsx
+++ b/packages/mui-base/src/Progress/Root/ProgressRoot.tsx
@@ -11,6 +11,16 @@ import {
ProgressRootProps,
} from './ProgressRoot.types';
+/**
+ *
+ * Demos:
+ *
+ * - [Progress](https://base-ui.netlify.app/components/react-progress/)
+ *
+ * API:
+ *
+ * - [ProgressRoot API](https://base-ui.netlify.app/components/react-progress/#api-reference-ProgressRoot)
+ */
const ProgressRoot = React.forwardRef(function ProgressRoot(
props: ProgressRootProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Progress/Root/useProgressRoot.ts b/packages/mui-base/src/Progress/Root/useProgressRoot.ts
index 6019ad2a2f..9d125ff943 100644
--- a/packages/mui-base/src/Progress/Root/useProgressRoot.ts
+++ b/packages/mui-base/src/Progress/Root/useProgressRoot.ts
@@ -13,16 +13,8 @@ function getDefaultAriaValueText(value: number | null) {
}
return `${value}%`;
-} /**
- *
- * Demos:
- *
- * - [Progress](https://mui.com/base-ui/react-progress/#hooks)
- *
- * API:
- *
- * - [useProgressRoot API](https://mui.com/base-ui/react-progress/hooks-api/#use-progress-root)
- */
+}
+
function useProgressRoot(parameters: UseProgressRootParameters): UseProgressRootReturnValue {
const {
'aria-label': ariaLabel,
diff --git a/packages/mui-base/src/Progress/Track/ProgressTrack.tsx b/packages/mui-base/src/Progress/Track/ProgressTrack.tsx
index c18036eae8..3311400375 100644
--- a/packages/mui-base/src/Progress/Track/ProgressTrack.tsx
+++ b/packages/mui-base/src/Progress/Track/ProgressTrack.tsx
@@ -6,6 +6,16 @@ import { useProgressContext } from '../Root/ProgressContext';
import { progressStyleHookMapping } from '../Root/styleHooks';
import { ProgressTrackProps } from './ProgressTrack.types';
+/**
+ *
+ * Demos:
+ *
+ * - [Progress](https://base-ui.netlify.app/components/react-progress/)
+ *
+ * API:
+ *
+ * - [ProgressTrack API](https://base-ui.netlify.app/components/react-progress/#api-reference-ProgressTrack)
+ */
const ProgressTrack = React.forwardRef(function ProgressTrack(
props: ProgressTrackProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Slider/Control/SliderControl.tsx b/packages/mui-base/src/Slider/Control/SliderControl.tsx
index b16b8bca60..a2e6cac4d7 100644
--- a/packages/mui-base/src/Slider/Control/SliderControl.tsx
+++ b/packages/mui-base/src/Slider/Control/SliderControl.tsx
@@ -7,6 +7,16 @@ import { sliderStyleHookMapping } from '../Root/styleHooks';
import { SliderControlProps } from './SliderControl.types';
import { useSliderControl } from './useSliderControl';
+/**
+ *
+ * Demos:
+ *
+ * - [Slider](https://base-ui.netlify.app/components/react-slider/)
+ *
+ * API:
+ *
+ * - [SliderControl API](https://base-ui.netlify.app/components/react-slider/#api-reference-SliderControl)
+ */
const SliderControl = React.forwardRef(function SliderControl(
props: SliderControlProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Slider/Control/useSliderControl.ts b/packages/mui-base/src/Slider/Control/useSliderControl.ts
index 5937fbbed4..652d95eece 100644
--- a/packages/mui-base/src/Slider/Control/useSliderControl.ts
+++ b/packages/mui-base/src/Slider/Control/useSliderControl.ts
@@ -8,16 +8,7 @@ import { UseSliderControlParameters, UseSliderControlReturnValue } from './Slide
import { useFieldControlValidation } from '../../Field/Control/useFieldControlValidation';
const INTENTIONAL_DRAG_COUNT_THRESHOLD = 2;
-/**
- *
- * Demos:
- *
- * - [Slider](https://mui.com/base-ui/react-slider/#hooks)
- *
- * API:
- *
- * - [useSliderControl API](https://mui.com/base-ui/react-slider/hooks-api/#use-slider-control)
- */
+
export function useSliderControl(
parameters: UseSliderControlParameters,
): UseSliderControlReturnValue {
diff --git a/packages/mui-base/src/Slider/Indicator/SliderIndicator.tsx b/packages/mui-base/src/Slider/Indicator/SliderIndicator.tsx
index ee5e59e736..60b85841b8 100644
--- a/packages/mui-base/src/Slider/Indicator/SliderIndicator.tsx
+++ b/packages/mui-base/src/Slider/Indicator/SliderIndicator.tsx
@@ -7,6 +7,16 @@ import { sliderStyleHookMapping } from '../Root/styleHooks';
import { SliderIndicatorProps } from './SliderIndicator.types';
import { useSliderIndicator } from './useSliderIndicator';
+/**
+ *
+ * Demos:
+ *
+ * - [Slider](https://base-ui.netlify.app/components/react-slider/)
+ *
+ * API:
+ *
+ * - [SliderIndicator API](https://base-ui.netlify.app/components/react-slider/#api-reference-SliderIndicator)
+ */
const SliderIndicator = React.forwardRef(function SliderIndicator(
props: SliderIndicatorProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Slider/Indicator/useSliderIndicator.ts b/packages/mui-base/src/Slider/Indicator/useSliderIndicator.ts
index 7909c9f0b6..a7322e43be 100644
--- a/packages/mui-base/src/Slider/Indicator/useSliderIndicator.ts
+++ b/packages/mui-base/src/Slider/Indicator/useSliderIndicator.ts
@@ -20,16 +20,7 @@ const axisProps = {
leap: (percent: number) => ({ height: `${percent}%`, width: 'inherit' }),
},
};
-/**
- *
- * Demos:
- *
- * - [Slider](https://mui.com/base-ui/react-slider/#hooks)
- *
- * API:
- *
- * - [useSliderIndicator API](https://mui.com/base-ui/react-slider/hooks-api/#use-slider-indicator)
- */
+
function useSliderIndicator(
parameters: UseSliderIndicatorParameters,
): UseSliderIndicatorReturnValue {
diff --git a/packages/mui-base/src/Slider/Output/SliderOutput.tsx b/packages/mui-base/src/Slider/Output/SliderOutput.tsx
index 3919e035df..0f69309611 100644
--- a/packages/mui-base/src/Slider/Output/SliderOutput.tsx
+++ b/packages/mui-base/src/Slider/Output/SliderOutput.tsx
@@ -7,6 +7,16 @@ import { sliderStyleHookMapping } from '../Root/styleHooks';
import { SliderOutputProps } from './SliderOutput.types';
import { useSliderOutput } from './useSliderOutput';
+/**
+ *
+ * Demos:
+ *
+ * - [Slider](https://base-ui.netlify.app/components/react-slider/)
+ *
+ * API:
+ *
+ * - [SliderOutput API](https://base-ui.netlify.app/components/react-slider/#api-reference-SliderOutput)
+ */
const SliderOutput = React.forwardRef(function SliderOutput(
props: SliderOutputProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Slider/Output/useSliderOutput.ts b/packages/mui-base/src/Slider/Output/useSliderOutput.ts
index 111b7e0473..7ad3534ec9 100644
--- a/packages/mui-base/src/Slider/Output/useSliderOutput.ts
+++ b/packages/mui-base/src/Slider/Output/useSliderOutput.ts
@@ -2,16 +2,7 @@
import * as React from 'react';
import { mergeReactProps } from '../../utils/mergeReactProps';
import { UseSliderOutputParameters, UseSliderOutputReturnValue } from './SliderOutput.types';
-/**
- *
- * Demos:
- *
- * - [Slider](https://mui.com/base-ui/react-slider/#hooks)
- *
- * API:
- *
- * - [useSliderOutput API](https://mui.com/base-ui/react-slider/hooks-api/#use-slider-output)
- */
+
function useSliderOutput(parameters: UseSliderOutputParameters): UseSliderOutputReturnValue {
const { 'aria-live': ariaLive = 'off', subitems } = parameters;
diff --git a/packages/mui-base/src/Slider/Root/SliderRoot.tsx b/packages/mui-base/src/Slider/Root/SliderRoot.tsx
index eece890d48..da75649129 100644
--- a/packages/mui-base/src/Slider/Root/SliderRoot.tsx
+++ b/packages/mui-base/src/Slider/Root/SliderRoot.tsx
@@ -8,6 +8,16 @@ import { SliderProvider } from './SliderProvider';
import { SliderRootProps, SliderRootOwnerState } from './SliderRoot.types';
import { useFieldRootContext } from '../../Field/Root/FieldRootContext';
+/**
+ *
+ * Demos:
+ *
+ * - [Slider](https://base-ui.netlify.app/components/react-slider/)
+ *
+ * API:
+ *
+ * - [SliderRoot API](https://base-ui.netlify.app/components/react-slider/#api-reference-SliderRoot)
+ */
const SliderRoot = React.forwardRef(function SliderRoot(
props: SliderRootProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Slider/Root/useSliderRoot.ts b/packages/mui-base/src/Slider/Root/useSliderRoot.ts
index d295ce8040..288c863398 100644
--- a/packages/mui-base/src/Slider/Root/useSliderRoot.ts
+++ b/packages/mui-base/src/Slider/Root/useSliderRoot.ts
@@ -108,16 +108,6 @@ export function trackFinger(
};
}
-/**
- *
- * Demos:
- *
- * - [Slider](https://mui.com/base-ui/react-slider/#hooks)
- *
- * API:
- *
- * - [useSliderRoot API](https://mui.com/base-ui/react-slider/hooks-api/#use-slider-root)
- */
function useSliderRoot(parameters: UseSliderParameters): UseSliderReturnValue {
const {
'aria-labelledby': ariaLabelledby,
diff --git a/packages/mui-base/src/Slider/Thumb/SliderThumb.tsx b/packages/mui-base/src/Slider/Thumb/SliderThumb.tsx
index 76e1381878..867db5bdd8 100644
--- a/packages/mui-base/src/Slider/Thumb/SliderThumb.tsx
+++ b/packages/mui-base/src/Slider/Thumb/SliderThumb.tsx
@@ -22,6 +22,16 @@ function defaultRender(
);
}
+/**
+ *
+ * Demos:
+ *
+ * - [Slider](https://base-ui.netlify.app/components/react-slider/)
+ *
+ * API:
+ *
+ * - [SliderThumb API](https://base-ui.netlify.app/components/react-slider/#api-reference-SliderThumb)
+ */
const SliderThumb = React.forwardRef(function SliderThumb(
props: SliderThumbProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Slider/Thumb/useSliderThumb.ts b/packages/mui-base/src/Slider/Thumb/useSliderThumb.ts
index adb78e5c63..374a7d390b 100644
--- a/packages/mui-base/src/Slider/Thumb/useSliderThumb.ts
+++ b/packages/mui-base/src/Slider/Thumb/useSliderThumb.ts
@@ -39,16 +39,7 @@ function getDefaultAriaValueText(values: readonly number[], index: number): stri
return undefined;
}
-/**
- *
- * Demos:
- *
- * - [Slider](https://mui.com/base-ui/react-slider/#hooks)
- *
- * API:
- *
- * - [useSliderThumb API](https://mui.com/base-ui/react-slider/hooks-api/#use-slider-thumb)
- */
+
export function useSliderThumb(parameters: UseSliderThumbParameters) {
const {
active: activeIndex,
diff --git a/packages/mui-base/src/Slider/Track/SliderTrack.tsx b/packages/mui-base/src/Slider/Track/SliderTrack.tsx
index 969adfee2e..33726a84a3 100644
--- a/packages/mui-base/src/Slider/Track/SliderTrack.tsx
+++ b/packages/mui-base/src/Slider/Track/SliderTrack.tsx
@@ -6,6 +6,16 @@ import { useSliderContext } from '../Root/SliderProvider';
import { sliderStyleHookMapping } from '../Root/styleHooks';
import { SliderTrackProps } from './SliderTrack.types';
+/**
+ *
+ * Demos:
+ *
+ * - [Slider](https://base-ui.netlify.app/components/react-slider/)
+ *
+ * API:
+ *
+ * - [SliderTrack API](https://base-ui.netlify.app/components/react-slider/#api-reference-SliderTrack)
+ */
const SliderTrack = React.forwardRef(function SliderTrack(
props: SliderTrackProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Switch/Root/SwitchRoot.tsx b/packages/mui-base/src/Switch/Root/SwitchRoot.tsx
index 14fc96f096..f467e55059 100644
--- a/packages/mui-base/src/Switch/Root/SwitchRoot.tsx
+++ b/packages/mui-base/src/Switch/Root/SwitchRoot.tsx
@@ -20,11 +20,11 @@ function defaultRender(props: React.ComponentPropsWithRef<'button'>) {
*
* Demos:
*
- * - [Switch](https://mui.com/base-ui/react-switch/)
+ * - [Switch](https://base-ui.netlify.app/components/react-switch/)
*
* API:
*
- * - [Switch API](https://mui.com/base-ui/react-switch/components-api/#switch)
+ * - [SwitchRoot API](https://base-ui.netlify.app/components/react-switch/#api-reference-SwitchRoot)
*/
const SwitchRoot = React.forwardRef(function SwitchRoot(
props: SwitchRootProps,
diff --git a/packages/mui-base/src/Switch/Root/useSwitchRoot.ts b/packages/mui-base/src/Switch/Root/useSwitchRoot.ts
index 60ecf82407..4d0a78da01 100644
--- a/packages/mui-base/src/Switch/Root/useSwitchRoot.ts
+++ b/packages/mui-base/src/Switch/Root/useSwitchRoot.ts
@@ -11,17 +11,6 @@ import { useId } from '../../utils/useId';
import { useEnhancedEffect } from '../../utils/useEnhancedEffect';
import { useFieldControlValidation } from '../../Field/Control/useFieldControlValidation';
-/**
- * The basic building block for creating custom switches.
- *
- * Demos:
- *
- * - [Switch](https://mui.com/base-ui/react-switch/#hook)
- *
- * API:
- *
- * - [useSwitchRoot API](https://mui.com/base-ui/react-switch/hooks-api/#use-switch-root)
- */
export function useSwitchRoot(params: UseSwitchRootParameters): UseSwitchRootReturnValue {
const {
id: idProp,
diff --git a/packages/mui-base/src/Switch/Thumb/SwitchThumb.tsx b/packages/mui-base/src/Switch/Thumb/SwitchThumb.tsx
index 5fe9c280f5..9fba3dbd58 100644
--- a/packages/mui-base/src/Switch/Thumb/SwitchThumb.tsx
+++ b/packages/mui-base/src/Switch/Thumb/SwitchThumb.tsx
@@ -12,6 +12,16 @@ function defaultRender(props: React.ComponentPropsWithRef<'span'>) {
return ;
}
+/**
+ *
+ * Demos:
+ *
+ * - [Switch](https://base-ui.netlify.app/components/react-switch/)
+ *
+ * API:
+ *
+ * - [SwitchThumb API](https://base-ui.netlify.app/components/react-switch/#api-reference-SwitchThumb)
+ */
const SwitchThumb = React.forwardRef(function SwitchThumb(
props: SwitchThumbProps,
forwardedRef: React.ForwardedRef,
diff --git a/packages/mui-base/src/Tabs/Root/TabsRoot.tsx b/packages/mui-base/src/Tabs/Root/TabsRoot.tsx
index 82473bc322..48ac80b66a 100644
--- a/packages/mui-base/src/Tabs/Root/TabsRoot.tsx
+++ b/packages/mui-base/src/Tabs/Root/TabsRoot.tsx
@@ -11,11 +11,11 @@ import { useComponentRenderer } from '../../utils/useComponentRenderer';
*
* Demos:
*
- * - [Tabs](https://mui.com/base-ui/react-tabs/)
+ * - [Tabs](https://base-ui.netlify.app/components/react-tabs/)
*
* API:
*
- * - [Tabs API](https://mui.com/base-ui/react-tabs/components-api/#tabs)
+ * - [TabsRoot API](https://base-ui.netlify.app/components/react-tabs/#api-reference-TabsRoot)
*/
const TabsRoot = React.forwardRef(function TabsRoot(
props: TabsRootProps,
diff --git a/packages/mui-base/src/Tabs/Root/useTabsRoot.ts b/packages/mui-base/src/Tabs/Root/useTabsRoot.ts
index fb1e39a8a5..eef11ee315 100644
--- a/packages/mui-base/src/Tabs/Root/useTabsRoot.ts
+++ b/packages/mui-base/src/Tabs/Root/useTabsRoot.ts
@@ -18,16 +18,6 @@ export interface TabMetadata {
type IdLookupFunction = (id: any) => string | undefined;
-/**
- *
- * Demos:
- *
- * - [Tabs](https://mui.com/base-ui/react-tabs/#hooks)
- *
- * API:
- *
- * - [useTabsRoot API](https://mui.com/base-ui/react-tabs/hooks-api/#use-tabs-root)
- */
function useTabsRoot(parameters: UseTabsParameters): UseTabsReturnValue {
const {
value: valueProp,
diff --git a/packages/mui-base/src/Tabs/Tab/Tab.tsx b/packages/mui-base/src/Tabs/Tab/Tab.tsx
index 06d1a31aae..7cef93ed05 100644
--- a/packages/mui-base/src/Tabs/Tab/Tab.tsx
+++ b/packages/mui-base/src/Tabs/Tab/Tab.tsx
@@ -9,11 +9,11 @@ import { useComponentRenderer } from '../../utils/useComponentRenderer';
*
* Demos:
*
- * - [Tabs](https://mui.com/base-ui/react-tabs/)
+ * - [Tabs](https://base-ui.netlify.app/components/react-tabs/)
*
* API:
*
- * - [Tab API](https://mui.com/base-ui/react-tabs/components-api/#tab)
+ * - [Tab API](https://base-ui.netlify.app/components/react-tabs/#api-reference-Tab)
*/
const Tab = React.forwardRef(function Tab(
props: TabProps,
diff --git a/packages/mui-base/src/Tabs/Tab/useTab.ts b/packages/mui-base/src/Tabs/Tab/useTab.ts
index e86fa82e48..3a1c1d04fc 100644
--- a/packages/mui-base/src/Tabs/Tab/useTab.ts
+++ b/packages/mui-base/src/Tabs/Tab/useTab.ts
@@ -14,16 +14,6 @@ function tabValueGenerator(otherTabValues: Set) {
return otherTabValues.size;
}
-/**
- *
- * Demos:
- *
- * - [Tabs](https://mui.com/base-ui/react-tabs/#hooks)
- *
- * API:
- *
- * - [useTab API](https://mui.com/base-ui/react-tabs/hooks-api/#use-tab)
- */
function useTab(parameters: UseTabParameters): UseTabReturnValue {
const { value: valueParam, rootRef: externalRef, disabled = false, id: idParam } = parameters;
diff --git a/packages/mui-base/src/Tabs/TabIndicator/TabIndicator.tsx b/packages/mui-base/src/Tabs/TabIndicator/TabIndicator.tsx
index d22e30a8ae..1ad3466f81 100644
--- a/packages/mui-base/src/Tabs/TabIndicator/TabIndicator.tsx
+++ b/packages/mui-base/src/Tabs/TabIndicator/TabIndicator.tsx
@@ -10,6 +10,16 @@ import { useComponentRenderer } from '../../utils/useComponentRenderer';
const noop = () => null;
+/**
+ *
+ * Demos:
+ *
+ * - [Tabs](https://base-ui.netlify.app/components/react-tabs/)
+ *
+ * API:
+ *
+ * - [TabIndicator API](https://base-ui.netlify.app/components/react-tabs/#api-reference-TabIndicator)
+ */
const TabIndicator = React.forwardRef(
function TabIndicator(props, forwardedRef) {
const { className, render, renderBeforeHydration = false, ...other } = props;
diff --git a/packages/mui-base/src/Tabs/TabIndicator/useTabIndicator.ts b/packages/mui-base/src/Tabs/TabIndicator/useTabIndicator.ts
index faae74df1e..6991388e36 100644
--- a/packages/mui-base/src/Tabs/TabIndicator/useTabIndicator.ts
+++ b/packages/mui-base/src/Tabs/TabIndicator/useTabIndicator.ts
@@ -10,16 +10,6 @@ function round(value: number) {
return Math.round(value * 100) * 0.01;
}
-/**
- *
- * Demos:
- *
- * - [Tabs](https://mui.com/base-ui/react-tabs/#hooks)
- *
- * API:
- *
- * - [useTabIndicator API](https://mui.com/base-ui/react-tabs/hooks-api/#use-tab-indicator)
- */
export function useTabIndicator(): UseTabIndicatorReturnValue {
const { tabsListRef, getTabElement } = useTabsListContext();
const { orientation, direction, value, tabActivationDirection } = useTabsContext();
diff --git a/packages/mui-base/src/Tabs/TabPanel/TabPanel.tsx b/packages/mui-base/src/Tabs/TabPanel/TabPanel.tsx
index b2516b945e..4d26218618 100644
--- a/packages/mui-base/src/Tabs/TabPanel/TabPanel.tsx
+++ b/packages/mui-base/src/Tabs/TabPanel/TabPanel.tsx
@@ -10,11 +10,11 @@ import { useComponentRenderer } from '../../utils/useComponentRenderer';
*
* Demos:
*
- * - [Tabs](https://mui.com/base-ui/react-tabs/)
+ * - [Tabs](https://base-ui.netlify.app/components/react-tabs/)
*
* API:
*
- * - [TabPanel API](https://mui.com/base-ui/react-tabs/components-api/#tab-panel)
+ * - [TabPanel API](https://base-ui.netlify.app/components/react-tabs/#api-reference-TabPanel)
*/
const TabPanel = React.forwardRef(function TabPanel(
props: TabPanelProps,
diff --git a/packages/mui-base/src/Tabs/TabPanel/useTabPanel.ts b/packages/mui-base/src/Tabs/TabPanel/useTabPanel.ts
index ee111a13bd..4c6ca3790b 100644
--- a/packages/mui-base/src/Tabs/TabPanel/useTabPanel.ts
+++ b/packages/mui-base/src/Tabs/TabPanel/useTabPanel.ts
@@ -11,16 +11,6 @@ function tabPanelValueGenerator(otherTabPanelValues: Set) {
return otherTabPanelValues.size;
}
-/**
- *
- * Demos:
- *
- * - [Tabs](https://mui.com/base-ui/react-tabs/#hooks)
- *
- * API:
- *
- * - [useTabPanel API](https://mui.com/base-ui/react-tabs/hooks-api/#use-tab-panel)
- */
function useTabPanel(parameters: UseTabPanelParameters): UseTabPanelReturnValue {
const { value: valueParam, id: idParam, rootRef: externalRef } = parameters;
const {
diff --git a/packages/mui-base/src/Tabs/TabsList/TabsList.tsx b/packages/mui-base/src/Tabs/TabsList/TabsList.tsx
index 8fdd47649d..7cc96d2771 100644
--- a/packages/mui-base/src/Tabs/TabsList/TabsList.tsx
+++ b/packages/mui-base/src/Tabs/TabsList/TabsList.tsx
@@ -11,11 +11,11 @@ import { useComponentRenderer } from '../../utils/useComponentRenderer';
*
* Demos:
*
- * - [Tabs](https://mui.com/base-ui/react-tabs/)
+ * - [Tabs](https://base-ui.netlify.app/components/react-tabs/)
*
* API:
*
- * - [TabsList API](https://mui.com/base-ui/react-tabs/components-api/#tabs-list)
+ * - [TabsList API](https://base-ui.netlify.app/components/react-tabs/#api-reference-TabsList)
*/
const TabsList = React.forwardRef(function TabsList(
props: TabsListProps,
diff --git a/packages/mui-base/src/Tabs/TabsList/useTabsList.ts b/packages/mui-base/src/Tabs/TabsList/useTabsList.ts
index 504733363f..cabec225fc 100644
--- a/packages/mui-base/src/Tabs/TabsList/useTabsList.ts
+++ b/packages/mui-base/src/Tabs/TabsList/useTabsList.ts
@@ -16,16 +16,6 @@ import { useForkRef } from '../../utils/useForkRef';
import { mergeReactProps } from '../../utils/mergeReactProps';
import { useEnhancedEffect } from '../../utils/useEnhancedEffect';
-/**
- *
- * Demos:
- *
- * - [Tabs](https://mui.com/base-ui/react-tabs/#hooks)
- *
- * API:
- *
- * - [useTabsList API](https://mui.com/base-ui/react-tabs/hooks-api/#use-tabs-list)
- */
function useTabsList(parameters: UseTabsListParameters): UseTabsListReturnValue {
const { rootRef: externalRef, loop, activateOnFocus } = parameters;
diff --git a/packages/mui-base/src/Tooltip/Arrow/TooltipArrow.tsx b/packages/mui-base/src/Tooltip/Arrow/TooltipArrow.tsx
index 6e5dba8305..b70c1e86e4 100644
--- a/packages/mui-base/src/Tooltip/Arrow/TooltipArrow.tsx
+++ b/packages/mui-base/src/Tooltip/Arrow/TooltipArrow.tsx
@@ -12,11 +12,11 @@ import { useTooltipArrow } from './useTooltipArrow';
*
* Demos:
*
- * - [Tooltip](https://mui.com/base-ui/react-tooltip/)
+ * - [Tooltip](https://base-ui.netlify.app/components/react-tooltip/)
*
* API:
*
- * - [TooltipArrow API](https://mui.com/base-ui/react-tooltip/components-api/#tooltip-arrow)
+ * - [TooltipArrow API](https://base-ui.netlify.app/components/react-tooltip/#api-reference-TooltipArrow)
*/
const TooltipArrow = React.forwardRef(function TooltipArrow(
props: TooltipArrowProps,
diff --git a/packages/mui-base/src/Tooltip/Arrow/useTooltipArrow.ts b/packages/mui-base/src/Tooltip/Arrow/useTooltipArrow.ts
index ca2462409b..937001b4fc 100644
--- a/packages/mui-base/src/Tooltip/Arrow/useTooltipArrow.ts
+++ b/packages/mui-base/src/Tooltip/Arrow/useTooltipArrow.ts
@@ -6,12 +6,6 @@ import type {
UseTooltipArrowReturnValue,
} from './useTooltipArrow.types';
-/**
- *
- * API:
- *
- * - [useTooltipArrow API](https://mui.com/base-ui/api/use-tooltip-arrow/)
- */
export function useTooltipArrow(params: UseTooltipArrowParameters): UseTooltipArrowReturnValue {
const { arrowStyles } = params;
diff --git a/packages/mui-base/src/Tooltip/Popup/TooltipPopup.tsx b/packages/mui-base/src/Tooltip/Popup/TooltipPopup.tsx
index f3bc1e440e..f3fde617de 100644
--- a/packages/mui-base/src/Tooltip/Popup/TooltipPopup.tsx
+++ b/packages/mui-base/src/Tooltip/Popup/TooltipPopup.tsx
@@ -13,11 +13,11 @@ import { useForkRef } from '../../utils/useForkRef';
*
* Demos:
*
- * - [Tooltip](https://mui.com/base-ui/react-tooltip/)
+ * - [Tooltip](https://base-ui.netlify.app/components/react-tooltip/)
*
* API:
*
- * - [TooltipPopup API](https://mui.com/base-ui/react-tooltip/components-api/#tooltip-popup)
+ * - [TooltipPopup API](https://base-ui.netlify.app/components/react-tooltip/#api-reference-TooltipPopup)
*/
const TooltipPopup = React.forwardRef(function TooltipPopup(
props: TooltipPopupProps,
diff --git a/packages/mui-base/src/Tooltip/Popup/useTooltipPopup.ts b/packages/mui-base/src/Tooltip/Popup/useTooltipPopup.ts
index 42606a18f7..cba55f5864 100644
--- a/packages/mui-base/src/Tooltip/Popup/useTooltipPopup.ts
+++ b/packages/mui-base/src/Tooltip/Popup/useTooltipPopup.ts
@@ -6,12 +6,6 @@ import type {
UseTooltipPopupReturnValue,
} from './useTooltipPopup.types';
-/**
- *
- * API:
- *
- * - [useTooltipPopup API](https://mui.com/base-ui/api/use-tooltip-popup/)
- */
export function useTooltipPopup(params: UseTooltipPopupParameters): UseTooltipPopupReturnValue {
const { getProps } = params;
diff --git a/packages/mui-base/src/Tooltip/Positioner/TooltipPositioner.tsx b/packages/mui-base/src/Tooltip/Positioner/TooltipPositioner.tsx
index 359b61a1df..8da7cd9de9 100644
--- a/packages/mui-base/src/Tooltip/Positioner/TooltipPositioner.tsx
+++ b/packages/mui-base/src/Tooltip/Positioner/TooltipPositioner.tsx
@@ -19,11 +19,11 @@ import { TooltipPositionerContext } from './TooltipPositionerContext';
*
* Demos:
*
- * - [Tooltip](https://mui.com/base-ui/react-tooltip/)
+ * - [Tooltip](https://base-ui.netlify.app/components/react-tooltip/)
*
* API:
*
- * - [TooltipPositioner API](https://mui.com/base-ui/react-tooltip/components-api/#tooltip-positioner)
+ * - [TooltipPositioner API](https://base-ui.netlify.app/components/react-tooltip/#api-reference-TooltipPositioner)
*/
const TooltipPositioner = React.forwardRef(function TooltipPositioner(
props: TooltipPositionerProps,
diff --git a/packages/mui-base/src/Tooltip/Positioner/useTooltipPositioner.ts b/packages/mui-base/src/Tooltip/Positioner/useTooltipPositioner.ts
index 0ba700b14b..1834ebd134 100644
--- a/packages/mui-base/src/Tooltip/Positioner/useTooltipPositioner.ts
+++ b/packages/mui-base/src/Tooltip/Positioner/useTooltipPositioner.ts
@@ -7,12 +7,6 @@ import type {
import { mergeReactProps } from '../../utils/mergeReactProps';
import { useAnchorPositioning } from '../../utils/useAnchorPositioning';
-/**
- *
- * API:
- *
- * - [useTooltipPositioner API](https://mui.com/base-ui/api/use-tooltip-positioner/)
- */
export function useTooltipPositioner(
params: UseTooltipPositionerParameters,
): UseTooltipPositionerReturnValue {
diff --git a/packages/mui-base/src/Tooltip/Provider/TooltipProvider.tsx b/packages/mui-base/src/Tooltip/Provider/TooltipProvider.tsx
index 4a94d89c93..2a52ee32a7 100644
--- a/packages/mui-base/src/Tooltip/Provider/TooltipProvider.tsx
+++ b/packages/mui-base/src/Tooltip/Provider/TooltipProvider.tsx
@@ -10,11 +10,11 @@ import type { TooltipProviderProps } from './TooltipProvider.types';
*
* Demos:
*
- * - [Tooltip](https://mui.com/base-ui/react-tooltip/)
+ * - [Tooltip](https://base-ui.netlify.app/components/react-tooltip/)
*
* API:
*
- * - [TooltipProvider API](https://mui.com/base-ui/react-tooltip/components-api/#tooltip-provider)
+ * - [TooltipProvider API](https://base-ui.netlify.app/components/react-tooltip/#api-reference-TooltipProvider)
*/
function TooltipProvider(props: TooltipProviderProps) {
const { delay, closeDelay, timeout = 400 } = props;
diff --git a/packages/mui-base/src/Tooltip/Root/TooltipRoot.tsx b/packages/mui-base/src/Tooltip/Root/TooltipRoot.tsx
index 7097f08448..6a886b73db 100644
--- a/packages/mui-base/src/Tooltip/Root/TooltipRoot.tsx
+++ b/packages/mui-base/src/Tooltip/Root/TooltipRoot.tsx
@@ -11,11 +11,11 @@ import { OPEN_DELAY } from '../utils/constants';
*
* Demos:
*
- * - [Tooltip](https://mui.com/base-ui/react-tooltip/)
+ * - [Tooltip](https://base-ui.netlify.app/components/react-tooltip/)
*
* API:
*
- * - [TooltipRoot API](https://mui.com/base-ui/react-tooltip/components-api/#tooltip-root)
+ * - [TooltipRoot API](https://base-ui.netlify.app/components/react-tooltip/#api-reference-TooltipRoot)
*/
function TooltipRoot(props: TooltipRootProps) {
const {
diff --git a/packages/mui-base/src/Tooltip/Root/useTooltipRoot.ts b/packages/mui-base/src/Tooltip/Root/useTooltipRoot.ts
index 27b70dd7ce..a3a283dfab 100644
--- a/packages/mui-base/src/Tooltip/Root/useTooltipRoot.ts
+++ b/packages/mui-base/src/Tooltip/Root/useTooltipRoot.ts
@@ -19,13 +19,6 @@ import { useAnimationsFinished } from '../../utils/useAnimationsFinished';
import { useEventCallback } from '../../utils/useEventCallback';
import { OPEN_DELAY } from '../utils/constants';
-/**
- * Manages the root state for a tooltip.
- *
- * API:
- *
- * - [useTooltipRoot API](https://mui.com/base-ui/api/use-tooltip-root/)
- */
export function useTooltipRoot(params: UseTooltipRootParameters): UseTooltipRootReturnValue {
const {
open: externalOpen,
diff --git a/packages/mui-base/src/Tooltip/Trigger/TooltipTrigger.tsx b/packages/mui-base/src/Tooltip/Trigger/TooltipTrigger.tsx
index bbc43f72fe..4f549c4d73 100644
--- a/packages/mui-base/src/Tooltip/Trigger/TooltipTrigger.tsx
+++ b/packages/mui-base/src/Tooltip/Trigger/TooltipTrigger.tsx
@@ -11,11 +11,11 @@ import { useForkRef } from '../../utils/useForkRef';
*
* Demos:
*
- * - [Tooltip](https://mui.com/base-ui/react-tooltip/)
+ * - [Tooltip](https://base-ui.netlify.app/components/react-tooltip/)
*
* API:
*
- * - [TooltipTrigger API](https://mui.com/base-ui/react-tooltip/components-api/#tooltip-trigger)
+ * - [TooltipTrigger API](https://base-ui.netlify.app/components/react-tooltip/#api-reference-TooltipTrigger)
*/
const TooltipTrigger = React.forwardRef(function TooltipTrigger(
props: TooltipTriggerProps,
diff --git a/packages/mui-base/src/legacy/ClickAwayListener/ClickAwayListener.tsx b/packages/mui-base/src/legacy/ClickAwayListener/ClickAwayListener.tsx
index dbdfcee7f0..e32f0a192c 100644
--- a/packages/mui-base/src/legacy/ClickAwayListener/ClickAwayListener.tsx
+++ b/packages/mui-base/src/legacy/ClickAwayListener/ClickAwayListener.tsx
@@ -64,11 +64,11 @@ export interface ClickAwayListenerProps {
*
* Demos:
*
- * - [Click-Away Listener](https://mui.com/base-ui/react-click-away-listener/)
+ * - [Click-Away Listener](https://base-ui.netlify.app/components/react-click-away-listener/)
*
* API:
*
- * - [ClickAwayListener API](https://mui.com/base-ui/react-click-away-listener/components-api/#click-away-listener)
+ * - [ClickAwayListener API](https://base-ui.netlify.app/components/react-click-away-listener/#api-reference-ClickAwayListener)
*/
function ClickAwayListener(props: ClickAwayListenerProps): JSX.Element {
const {
diff --git a/packages/mui-base/src/legacy/FocusTrap/FocusTrap.tsx b/packages/mui-base/src/legacy/FocusTrap/FocusTrap.tsx
index bd52658ac9..739aa67f0e 100644
--- a/packages/mui-base/src/legacy/FocusTrap/FocusTrap.tsx
+++ b/packages/mui-base/src/legacy/FocusTrap/FocusTrap.tsx
@@ -126,11 +126,11 @@ function defaultIsEnabled(): boolean {
*
* Demos:
*
- * - [Focus Trap](https://mui.com/base-ui/react-focus-trap/)
+ * - [Focus Trap](https://base-ui.netlify.app/components/react-focus-trap/)
*
* API:
*
- * - [FocusTrap API](https://mui.com/base-ui/react-focus-trap/components-api/#focus-trap)
+ * - [FocusTrap API](https://base-ui.netlify.app/components/react-focus-trap/#api-reference-FocusTrap)
*/
function FocusTrap(props: FocusTrapProps): JSX.Element {
const {
diff --git a/packages/mui-base/src/legacy/FormControl/FormControl.tsx b/packages/mui-base/src/legacy/FormControl/FormControl.tsx
index 54dd993c7c..638479a086 100644
--- a/packages/mui-base/src/legacy/FormControl/FormControl.tsx
+++ b/packages/mui-base/src/legacy/FormControl/FormControl.tsx
@@ -65,16 +65,11 @@ function useUtilityClasses(ownerState: FormControlOwnerState) {
*
* Demos:
*
- * - [Form Control](https://mui.com/base-ui/react-form-control/)
- * - [Input](https://mui.com/joy-ui/react-input/)
- * - [Checkbox](https://mui.com/material-ui/react-checkbox/)
- * - [Radio Group](https://mui.com/material-ui/react-radio-button/)
- * - [Switch](https://mui.com/material-ui/react-switch/)
- * - [Text Field](https://mui.com/material-ui/react-text-field/)
+ * - [Form Control](https://base-ui.netlify.app/components/react-form-control/)
*
* API:
*
- * - [FormControl API](https://mui.com/base-ui/react-form-control/components-api/#form-control)
+ * - [FormControl API](https://base-ui.netlify.app/components/react-form-control/#api-reference-FormControl)
*/
const FormControl = React.forwardRef(function FormControl<
RootComponentType extends React.ElementType,
diff --git a/packages/mui-base/src/legacy/FormControl/useFormControlContext.ts b/packages/mui-base/src/legacy/FormControl/useFormControlContext.ts
index 19457e8168..026b73a488 100644
--- a/packages/mui-base/src/legacy/FormControl/useFormControlContext.ts
+++ b/packages/mui-base/src/legacy/FormControl/useFormControlContext.ts
@@ -2,16 +2,7 @@
import * as React from 'react';
import { UseFormControlContextReturnValue } from './FormControl.types';
import { FormControlContext } from './FormControlContext';
-/**
- *
- * Demos:
- *
- * - [Form Control](https://mui.com/base-ui/react-form-control/#hook)
- *
- * API:
- *
- * - [useFormControlContext API](https://mui.com/base-ui/react-form-control/hooks-api/#use-form-control-context)
- */
+
export function useFormControlContext(): UseFormControlContextReturnValue | undefined {
return React.useContext(FormControlContext);
}
diff --git a/packages/mui-base/src/legacy/NoSsr/NoSsr.tsx b/packages/mui-base/src/legacy/NoSsr/NoSsr.tsx
index e2abe25adf..50e936efb3 100644
--- a/packages/mui-base/src/legacy/NoSsr/NoSsr.tsx
+++ b/packages/mui-base/src/legacy/NoSsr/NoSsr.tsx
@@ -16,11 +16,11 @@ import { NoSsrProps } from './NoSsr.types';
*
* Demos:
*
- * - [No SSR](https://mui.com/base-ui/react-no-ssr/)
+ * - [No SSR](https://base-ui.netlify.app/components/react-no-ssr/)
*
* API:
*
- * - [NoSsr API](https://mui.com/base-ui/react-no-ssr/components-api/#no-ssr)
+ * - [NoSsr API](https://base-ui.netlify.app/components/react-no-ssr/#api-reference-NoSsr)
*/
function NoSsr(props: NoSsrProps): JSX.Element {
const { children, defer = false, fallback = null } = props;
diff --git a/packages/mui-base/src/legacy/Option/Option.tsx b/packages/mui-base/src/legacy/Option/Option.tsx
index 57c9ce7a8f..fe0eb3cc8f 100644
--- a/packages/mui-base/src/legacy/Option/Option.tsx
+++ b/packages/mui-base/src/legacy/Option/Option.tsx
@@ -81,11 +81,11 @@ const InnerOption = React.memo(
*
* Demos:
*
- * - [Select](https://mui.com/base-ui/react-select/)
+ * - [Select](https://base-ui.netlify.app/components/react-select/)
*
* API:
*
- * - [Option API](https://mui.com/base-ui/react-select/components-api/#option)
+ * - [Option API](https://base-ui.netlify.app/components/react-select/#api-reference-Option)
*/
const Option = React.forwardRef(function Option(
props: OptionProps,
diff --git a/packages/mui-base/src/legacy/OptionGroup/OptionGroup.tsx b/packages/mui-base/src/legacy/OptionGroup/OptionGroup.tsx
index 17a5b58445..05b7c86808 100644
--- a/packages/mui-base/src/legacy/OptionGroup/OptionGroup.tsx
+++ b/packages/mui-base/src/legacy/OptionGroup/OptionGroup.tsx
@@ -30,11 +30,11 @@ function useUtilityClasses(disabled: boolean) {
*
* Demos:
*
- * - [Select](https://mui.com/base-ui/react-select/)
+ * - [Select](https://base-ui.netlify.app/components/react-select/)
*
* API:
*
- * - [OptionGroup API](https://mui.com/base-ui/react-select/components-api/#option-group)
+ * - [OptionGroup API](https://base-ui.netlify.app/components/react-select/#api-reference-OptionGroup)
*/
const OptionGroup = React.forwardRef(function OptionGroup<
RootComponentType extends React.ElementType,
diff --git a/packages/mui-base/src/legacy/Portal/Portal.tsx b/packages/mui-base/src/legacy/Portal/Portal.tsx
index c7b5c403de..e077786ec4 100644
--- a/packages/mui-base/src/legacy/Portal/Portal.tsx
+++ b/packages/mui-base/src/legacy/Portal/Portal.tsx
@@ -21,11 +21,11 @@ function getContainer(container: PortalProps['container']) {
*
* Demos:
*
- * - [Portal](https://mui.com/base-ui/react-portal/)
+ * - [Portal](https://base-ui.netlify.app/components/react-portal/)
*
* API:
*
- * - [Portal API](https://mui.com/base-ui/react-portal/components-api/#portal)
+ * - [Portal API](https://base-ui.netlify.app/components/react-portal/#api-reference-Portal)
*/
const Portal = React.forwardRef(function Portal(
props: PortalProps,
diff --git a/packages/mui-base/src/legacy/Select/Select.tsx b/packages/mui-base/src/legacy/Select/Select.tsx
index 12f292fce7..176931266e 100644
--- a/packages/mui-base/src/legacy/Select/Select.tsx
+++ b/packages/mui-base/src/legacy/Select/Select.tsx
@@ -56,11 +56,11 @@ function useUtilityClasses(
*
* Demos:
*
- * - [Select](https://mui.com/base-ui/react-select/)
+ * - [Select](https://base-ui.netlify.app/components/react-select/)
*
* API:
*
- * - [Select API](https://mui.com/base-ui/react-select/components-api/#select)
+ * - [Select API](https://base-ui.netlify.app/components/react-select/#api-reference-Select)
*/
const Select = React.forwardRef(function Select<
OptionValue extends {},
diff --git a/packages/mui-base/src/legacy/Snackbar/Snackbar.tsx b/packages/mui-base/src/legacy/Snackbar/Snackbar.tsx
index ae1457dd51..1041f6a5e9 100644
--- a/packages/mui-base/src/legacy/Snackbar/Snackbar.tsx
+++ b/packages/mui-base/src/legacy/Snackbar/Snackbar.tsx
@@ -24,17 +24,16 @@ const useUtilityClasses = () => {
return composeClasses(slots, useClassNamesOverride(getSnackbarUtilityClass));
};
+
/**
*
* Demos:
*
- * - [Snackbar](https://mui.com/base-ui/react-snackbar/)
- * - [Snackbar](https://mui.com/joy-ui/react-snackbar/)
- * - [Snackbar](https://mui.com/material-ui/react-snackbar/)
+ * - [Snackbar](https://base-ui.netlify.app/components/react-snackbar/)
*
* API:
*
- * - [Snackbar API](https://mui.com/base-ui/react-snackbar/components-api/#snackbar)
+ * - [Snackbar API](https://base-ui.netlify.app/components/react-snackbar/#api-reference-Snackbar)
*/
const Snackbar = React.forwardRef(function Snackbar(
props: SnackbarProps,
diff --git a/packages/mui-base/src/legacy/TablePagination/TablePagination.tsx b/packages/mui-base/src/legacy/TablePagination/TablePagination.tsx
index 11671bafa6..b3867048ae 100644
--- a/packages/mui-base/src/legacy/TablePagination/TablePagination.tsx
+++ b/packages/mui-base/src/legacy/TablePagination/TablePagination.tsx
@@ -55,11 +55,11 @@ const useUtilityClasses = () => {
*
* Demos:
*
- * - [Table Pagination](https://mui.com/base-ui/react-table-pagination/)
+ * - [Table Pagination](https://base-ui.netlify.app/components/react-table-pagination/)
*
* API:
*
- * - [TablePagination API](https://mui.com/base-ui/react-table-pagination/components-api/#table-pagination)
+ * - [TablePagination API](https://base-ui.netlify.app/components/react-table-pagination/#api-reference-TablePagination)
*/
const TablePagination = React.forwardRef(function TablePagination<
RootComponentType extends React.ElementType,
diff --git a/packages/mui-base/src/legacy/TextareaAutosize/TextareaAutosize.tsx b/packages/mui-base/src/legacy/TextareaAutosize/TextareaAutosize.tsx
index 7bc5aaae99..e223e86601 100644
--- a/packages/mui-base/src/legacy/TextareaAutosize/TextareaAutosize.tsx
+++ b/packages/mui-base/src/legacy/TextareaAutosize/TextareaAutosize.tsx
@@ -49,12 +49,11 @@ function isEmpty(obj: TextareaStyles) {
*
* Demos:
*
- * - [Textarea Autosize](https://mui.com/base-ui/react-textarea-autosize/)
- * - [Textarea Autosize](https://mui.com/material-ui/react-textarea-autosize/)
+ * - [Textarea Autosize](https://base-ui.netlify.app/components/react-textarea-autosize/)
*
* API:
*
- * - [TextareaAutosize API](https://mui.com/base-ui/react-textarea-autosize/components-api/#textarea-autosize)
+ * - [TextareaAutosize API](https://base-ui.netlify.app/components/react-textarea-autosize/#api-reference-TextareaAutosize)
*/
const TextareaAutosize = React.forwardRef(function TextareaAutosize(
props: TextareaAutosizeProps,
diff --git a/packages/mui-base/src/legacy/Unstable_Popup/Popup.tsx b/packages/mui-base/src/legacy/Unstable_Popup/Popup.tsx
index 138c151178..565ef69e78 100644
--- a/packages/mui-base/src/legacy/Unstable_Popup/Popup.tsx
+++ b/packages/mui-base/src/legacy/Unstable_Popup/Popup.tsx
@@ -50,11 +50,11 @@ function resolveAnchor(
*
* Demos:
*
- * - [Popup](https://mui.com/base-ui/react-popup/)
+ * - [Popup](https://base-ui.netlify.app/components/react-popup/)
*
* API:
*
- * - [Popup API](https://mui.com/base-ui/react-popup/components-api/#popup)
+ * - [Popup API](https://base-ui.netlify.app/components/react-popup/#api-reference-Popup)
*/
const Popup = React.forwardRef(function Popup(
props: PopupProps,
diff --git a/packages/mui-base/src/legacy/useAutocomplete/useAutocomplete.ts b/packages/mui-base/src/legacy/useAutocomplete/useAutocomplete.ts
index d6cb9cc157..dc9493649b 100644
--- a/packages/mui-base/src/legacy/useAutocomplete/useAutocomplete.ts
+++ b/packages/mui-base/src/legacy/useAutocomplete/useAutocomplete.ts
@@ -84,16 +84,6 @@ const pageSize = 5;
const defaultIsActiveElementInListbox = (listboxRef) =>
listboxRef.current !== null && listboxRef.current.parentElement?.contains(document.activeElement);
-/**
- *
- * Demos:
- *
- * - [Autocomplete](https://mui.com/base-ui/react-autocomplete/#hook)
- *
- * API:
- *
- * - [useAutocomplete API](https://mui.com/base-ui/react-autocomplete/hooks-api/#use-autocomplete)
- */
export function useAutocomplete<
Value,
Multiple extends boolean | undefined = false,
diff --git a/packages/mui-base/src/legacy/useOption/useOption.ts b/packages/mui-base/src/legacy/useOption/useOption.ts
index 999cb79ee5..44f5b168cf 100644
--- a/packages/mui-base/src/legacy/useOption/useOption.ts
+++ b/packages/mui-base/src/legacy/useOption/useOption.ts
@@ -10,16 +10,6 @@ import { combineHooksSlotProps } from '../utils/combineHooksSlotProps';
import { MuiCancellableEvent } from '../../utils/MuiCancellableEvent';
import { EventHandlers } from '../../utils/types';
-/**
- *
- * Demos:
- *
- * - [Select](https://mui.com/base-ui/react-select/#hooks)
- *
- * API:
- *
- * - [useOption API](https://mui.com/base-ui/react-select/hooks-api/#use-option)
- */
export function useOption(params: UseOptionParameters): UseOptionReturnValue {
const { value, label, disabled, rootRef: optionRefParam, id: idParam } = params;
diff --git a/packages/mui-base/src/legacy/useOption/useOptionContextStabilizer.ts b/packages/mui-base/src/legacy/useOption/useOptionContextStabilizer.ts
index f607ea9349..853042cb95 100644
--- a/packages/mui-base/src/legacy/useOption/useOptionContextStabilizer.ts
+++ b/packages/mui-base/src/legacy/useOption/useOptionContextStabilizer.ts
@@ -5,14 +5,6 @@ import { ListContext, ListContextValue } from '../../useList';
/**
* Stabilizes the ListContext value for the Option component, so it doesn't change when sibling Options update.
*
- * Demos:
- *
- * - [Select](https://mui.com/base-ui/react-select/#hooks)
- *
- * API:
- *
- * - [useOptionContextStabilizer API](https://mui.com/base-ui/react-select/hooks-api/#use-option-context-stabilizer)
- *
* @param value - The value of the Option.
* @returns The stable ListContext value.
*/
diff --git a/packages/mui-base/src/legacy/useSelect/useSelect.ts b/packages/mui-base/src/legacy/useSelect/useSelect.ts
index 89e072e06e..865b3e85ea 100644
--- a/packages/mui-base/src/legacy/useSelect/useSelect.ts
+++ b/packages/mui-base/src/legacy/useSelect/useSelect.ts
@@ -52,16 +52,6 @@ function defaultFormValueProvider(
return JSON.stringify(selectedOption.value);
}
-/**
- *
- * Demos:
- *
- * - [Select](https://mui.com/base-ui/react-select/#hooks)
- *
- * API:
- *
- * - [useSelect API](https://mui.com/base-ui/react-select/hooks-api/#use-select)
- */
function useSelect(
props: UseSelectParameters,
): UseSelectReturnValue {
diff --git a/packages/mui-base/src/legacy/useSnackbar/useSnackbar.ts b/packages/mui-base/src/legacy/useSnackbar/useSnackbar.ts
index 14f97623da..a7cdfe2708 100644
--- a/packages/mui-base/src/legacy/useSnackbar/useSnackbar.ts
+++ b/packages/mui-base/src/legacy/useSnackbar/useSnackbar.ts
@@ -12,17 +12,6 @@ import {
import { extractEventHandlers } from '../../utils/extractEventHandlers';
import { EventHandlers } from '../../utils/types';
-/**
- * The basic building block for creating custom snackbar.
- *
- * Demos:
- *
- * - [Snackbar](https://mui.com/base-ui/react-snackbar/#hook)
- *
- * API:
- *
- * - [useSnackbar API](https://mui.com/base-ui/react-snackbar/hooks-api/#use-snackbar)
- */
export function useSnackbar(parameters: UseSnackbarParameters = {}): UseSnackbarReturnValue {
const {
autoHideDuration = null,
diff --git a/packages/mui-base/src/utils/useAnimatedElement.ts b/packages/mui-base/src/utils/useAnimatedElement.ts
index 6b4f399c61..e8609c7d6b 100644
--- a/packages/mui-base/src/utils/useAnimatedElement.ts
+++ b/packages/mui-base/src/utils/useAnimatedElement.ts
@@ -7,6 +7,7 @@ interface UseAnimatedElementParameters {
ref: React.RefObject;
enabled: boolean;
}
+
/**
* @ignore - internal hook.
*/
diff --git a/packages/mui-base/src/utils/useScrollLock.ts b/packages/mui-base/src/utils/useScrollLock.ts
index 8f270c8c35..674e27eba0 100644
--- a/packages/mui-base/src/utils/useScrollLock.ts
+++ b/packages/mui-base/src/utils/useScrollLock.ts
@@ -7,10 +7,6 @@ const activeLocks = new Set();
/**
* Locks the scroll of the document when enabled.
*
- * API:
- *
- * - [useScrollLock API](https://mui.com/base-ui/api/use-scroll-lock/)
- *
* @param enabled - Whether to enable the scroll lock.
*/
export function useScrollLock(enabled: boolean = true) {
diff --git a/scripts/buildApiDocs/config/generateBaseUiApiPages.ts b/scripts/buildApiDocs/config/generateBaseUiApiPages.ts
deleted file mode 100644
index d828f3a77c..0000000000
--- a/scripts/buildApiDocs/config/generateBaseUiApiPages.ts
+++ /dev/null
@@ -1,155 +0,0 @@
-import fs from 'fs';
-import path from 'path';
-import kebabCase from 'lodash/kebabCase';
-import { getHeaders } from '@mui/internal-markdown';
-import findPagesMarkdown from '@mui-internal/api-docs-builder/utils/findPagesMarkdown';
-import { writePrettifiedFile } from '@mui-internal/api-docs-builder/buildApiUtils';
-
-const REPO_ROOT = path.resolve(__dirname, '../../..');
-
-export async function generateBaseUIApiPages() {
- await Promise.all(
- findPagesMarkdown(path.join(REPO_ROOT, 'docs/data')).map(async (markdown) => {
- const markdownContent = fs.readFileSync(markdown.filename, 'utf8');
- const markdownHeaders = getHeaders(markdownContent) as any;
- const pathnameTokens = markdown.pathname.split('/');
- const productName = pathnameTokens[1];
- const componentName = pathnameTokens[3];
-
- // TODO: fix `productName` should be called `productId` and include the full name,
- // for example base-ui below.
- if (
- productName === 'base' &&
- (markdown.filename.indexOf('\\components\\') >= 0 ||
- markdown.filename.indexOf('/components/') >= 0)
- ) {
- const { components, hooks } = markdownHeaders;
-
- const tokens = markdown.pathname.split('/');
- const name = tokens[tokens.length - 1];
- const importStatement = `docs-base/data${markdown.pathname}/${name}.md`;
- const demosSource = `
-import * as React from 'react';
-import MarkdownDocs from 'docs/src/modules/components/MarkdownDocsV2';
-import AppFrame from 'docs/src/modules/components/AppFrame';
-import * as pageProps from '${importStatement}?@mui/markdown';
-
-export default function Page(props) {
- const { userLanguage, ...other } = props;
- return ;
-}
-
-Page.getLayout = (page) => {
- return {page};
-};
- `;
-
- const componentPageDirectory = `docs/pages/${productName}-ui/react-${componentName}/`;
- if (!fs.existsSync(componentPageDirectory)) {
- fs.mkdirSync(componentPageDirectory, { recursive: true });
- }
- await writePrettifiedFile(
- path.join(process.cwd(), `${componentPageDirectory}/index.js`),
- demosSource,
- );
-
- if ((!components || components.length === 0) && (!hooks || hooks.length === 0)) {
- // Early return if it's a markdown file without components/hooks.
- return;
- }
-
- let apiTabImportStatements = '';
- let staticProps = 'export const getStaticProps = () => {';
- let componentsApiDescriptions = '';
- let componentsPageContents = '';
- let hooksApiDescriptions = '';
- let hooksPageContents = '';
-
- if (components && components.length > 0) {
- components.forEach((component: string) => {
- const componentNameKebabCase = kebabCase(component);
- apiTabImportStatements += `import ${component}ApiJsonPageContent from '../../api/${componentNameKebabCase}.json';`;
- staticProps += `
- const ${component}ApiReq = require.context(
- 'docs-base/data/base/translations/api-docs/${componentNameKebabCase}',
- false,
- /\\.\\/${componentNameKebabCase}.*.json$/,
- );
- const ${component}ApiDescriptions = mapApiPageTranslations(${component}ApiReq);
- `;
- componentsApiDescriptions += `${component} : ${component}ApiDescriptions ,`;
- componentsPageContents += `${component} : ${component}ApiJsonPageContent ,`;
- });
- }
-
- if (hooks && hooks.length > 0) {
- hooks.forEach((hook: string) => {
- const hookNameKebabCase = kebabCase(hook);
- apiTabImportStatements += `import ${hook}ApiJsonPageContent from '../../api/${hookNameKebabCase}.json';`;
- staticProps += `
- const ${hook}ApiReq = require.context(
- 'docs-base/data/base/translations/api-docs/${hookNameKebabCase}',
- false,
- /\\.\\/${hookNameKebabCase}.*.json$/,
- );
- const ${hook}ApiDescriptions = mapApiPageTranslations(${hook}ApiReq);
- `;
- hooksApiDescriptions += `${hook} : ${hook}ApiDescriptions ,`;
- hooksPageContents += `${hook} : ${hook}ApiJsonPageContent ,`;
- });
- }
-
- staticProps += `
- return { props: { componentsApiDescriptions: {`;
- staticProps += componentsApiDescriptions;
-
- staticProps += '}, componentsApiPageContents: { ';
- staticProps += componentsPageContents;
-
- staticProps += '}, hooksApiDescriptions: {';
- staticProps += hooksApiDescriptions;
-
- staticProps += '}, hooksApiPageContents: {';
- staticProps += hooksPageContents;
-
- staticProps += ` },},};};`;
-
- const tabsApiSource = `
-import * as React from 'react';
-import MarkdownDocs from 'docs/src/modules/components/MarkdownDocsV2';
-import AppFrame from 'docs/src/modules/components/AppFrame';
-import * as pageProps from '${importStatement}?@mui/markdown';
-import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
-${apiTabImportStatements}
-
-export default function Page(props) {
- const { userLanguage, ...other } = props;
- return ;
-}
-
-Page.getLayout = (page) => {
- return {page};
-};
-
-export const getStaticPaths = () => {
- return {
- paths: [{ params: { docsTab: 'components-api' } }, { params: { docsTab: 'hooks-api' } }],
- fallback: false, // can also be true or 'blocking'
- };
-};
-
-${staticProps}
- `;
-
- const docsTabsPagesDirectory = `${componentPageDirectory}/[docsTab]`;
- if (!fs.existsSync(docsTabsPagesDirectory)) {
- fs.mkdirSync(docsTabsPagesDirectory, { recursive: true });
- }
- await writePrettifiedFile(
- path.join(process.cwd(), `${docsTabsPagesDirectory}/index.js`),
- tabsApiSource,
- );
- }
- }),
- );
-}
diff --git a/scripts/buildApiDocs/config/getBaseUiComponentInfo.ts b/scripts/buildApiDocs/config/getBaseUiComponentInfo.ts
index 9cdf4719b8..387c929896 100644
--- a/scripts/buildApiDocs/config/getBaseUiComponentInfo.ts
+++ b/scripts/buildApiDocs/config/getBaseUiComponentInfo.ts
@@ -4,39 +4,48 @@ import { getHeaders, getTitle } from '@mui/internal-markdown';
import {
ComponentInfo,
extractPackageFile,
- fixPathname,
- getApiPath,
parseFile,
} from '@mui-internal/api-docs-builder/buildApiUtils';
import findPagesMarkdown from '@mui-internal/api-docs-builder/utils/findPagesMarkdown';
const REPO_ROOT = path.resolve(__dirname, '../../..');
-export function getBaseUiDemos(name: string) {
- // resolve demos, so that we can getch the API url
- const allMarkdowns = findPagesMarkdown(path.join(REPO_ROOT, 'docs/data'))
- .filter((markdown) => {
- return markdown.filename.match(/[\\/]data[\\/]base[\\/]/);
- })
- .map((markdown) => {
- const markdownContent = fs.readFileSync(markdown.filename, 'utf8');
- const markdownHeaders = getHeaders(markdownContent) as any;
+function getDemosPath(pagePath: string) {
+ return `${pagePath.replace('/components/', '/components/react-')}/`;
+}
+
+const allMarkdowns = findPagesMarkdown(path.join(REPO_ROOT, 'docs/data/components')).map(
+ (markdown) => {
+ const markdownContent = fs.readFileSync(markdown.filename, 'utf8');
+ const markdownHeaders = getHeaders(markdownContent) as any;
- return {
- ...markdown,
- markdownContent,
- components: markdownHeaders.components as string[],
- };
- });
+ return {
+ ...markdown,
+ markdownContent,
+ components: markdownHeaders.components as string[],
+ };
+ },
+);
+export function getBaseUiDemos(name: string) {
return allMarkdowns
.filter((page) => page.components.includes(name))
.map((page) => ({
demoPageTitle: getTitle(page.markdownContent),
- demoPathname: fixPathname(page.pathname),
+ demoPathname: getDemosPath(page.pathname),
}));
}
+function getApiPath(demos: Array<{ demoPageTitle: string; demoPathname: string }>, name: string) {
+ let apiPath = null;
+
+ if (demos && demos.length > 0) {
+ apiPath = `${demos[0].demoPathname}#api-reference-${name}`;
+ }
+
+ return apiPath;
+}
+
export function getBaseUiComponentInfo(filename: string): ComponentInfo {
const { name } = extractPackageFile(filename);
let srcInfo: null | ReturnType = null;
@@ -45,14 +54,13 @@ export function getBaseUiComponentInfo(filename: string): ComponentInfo {
}
const demos = getBaseUiDemos(name);
- const apiPath = getApiPath(demos, name) || '';
return {
filename,
name,
muiName: name,
- apiPathname: apiPath,
- apiPagesDirectory: path.join(process.cwd(), `docs/data/base/api`),
+ apiPathname: getApiPath(demos, name) ?? '',
+ apiPagesDirectory: path.join(process.cwd(), `docs/data/api`),
isSystemComponent: false,
readFile: () => {
srcInfo = parseFile(filename);
diff --git a/scripts/buildApiDocs/config/getBaseUiHookInfo.ts b/scripts/buildApiDocs/config/getBaseUiHookInfo.ts
deleted file mode 100644
index 848d28d0dc..0000000000
--- a/scripts/buildApiDocs/config/getBaseUiHookInfo.ts
+++ /dev/null
@@ -1,69 +0,0 @@
-import fs from 'fs';
-import path from 'path';
-import kebabCase from 'lodash/kebabCase';
-import { getHeaders, getTitle } from '@mui/internal-markdown';
-import {
- ComponentInfo,
- HookInfo,
- extractPackageFile,
- fixPathname,
- getApiPath,
- parseFile,
-} from '@mui-internal/api-docs-builder/buildApiUtils';
-import findPagesMarkdown from '@mui-internal/api-docs-builder/utils/findPagesMarkdown';
-
-const REPO_ROOT = path.resolve(__dirname, '../../..');
-
-export function getBaseUiHookInfo(filename: string): HookInfo {
- const { name } = extractPackageFile(filename);
- let srcInfo: null | ReturnType = null;
- if (!name) {
- throw new Error(`Could not find the hook name from: ${filename}`);
- }
-
- const allMarkdowns = findPagesMarkdown(path.join(REPO_ROOT, 'docs/data'))
- .filter((markdown) => {
- return markdown.filename.match(/[\\/]data[\\/]base[\\/]/);
- })
- .map((markdown) => {
- const markdownContent = fs.readFileSync(markdown.filename, 'utf8');
- const markdownHeaders = getHeaders(markdownContent) as any;
-
- return {
- ...markdown,
- markdownContent,
- hooks: markdownHeaders.hooks as string[],
- };
- });
-
- const demos = findBaseHooksDemos(name, allMarkdowns);
- const apiPath = getApiPath(demos, name);
-
- return {
- filename,
- name,
- apiPathname: apiPath ?? `/base-ui/api/${kebabCase(name)}/`,
- apiPagesDirectory: path.join(process.cwd(), `docs/data/base/api`),
- readFile: () => {
- srcInfo = parseFile(filename);
- return srcInfo;
- },
- getDemos: () => demos,
- };
-}
-
-function findBaseHooksDemos(
- hookName: string,
- pagesMarkdown: ReadonlyArray<{
- pathname: string;
- hooks: readonly string[];
- markdownContent: string;
- }>,
-) {
- return pagesMarkdown
- .filter((page) => page.hooks && page.hooks.includes(hookName))
- .map((page) => ({
- demoPageTitle: getTitle(page.markdownContent),
- demoPathname: `${fixPathname(page.pathname)}#hook${page.hooks?.length > 1 ? 's' : ''}`,
- }));
-}
diff --git a/scripts/buildApiDocs/config/projectSettings.ts b/scripts/buildApiDocs/config/projectSettings.ts
index 1124a4d609..d3729c82b8 100644
--- a/scripts/buildApiDocs/config/projectSettings.ts
+++ b/scripts/buildApiDocs/config/projectSettings.ts
@@ -2,12 +2,11 @@ import path from 'path';
import { ProjectSettings } from '@mui-internal/api-docs-builder';
import findApiPages from '@mui-internal/api-docs-builder/utils/findApiPages';
import { getBaseUiComponentInfo } from './getBaseUiComponentInfo';
-import { getBaseUiHookInfo } from './getBaseUiHookInfo';
import { getComponentImports } from './getComponentImports';
export const projectSettings: ProjectSettings = {
output: {
- apiManifestPath: path.join(process.cwd(), 'docs/data/base/pagesApi.js'),
+ apiManifestPath: path.join(process.cwd(), 'docs/data/pagesApi.js'),
writeApiManifest: false,
},
typeScriptProjects: [
@@ -18,17 +17,18 @@ export const projectSettings: ProjectSettings = {
tsConfigPath: 'tsconfig.build.json',
},
],
- getApiPages: () => findApiPages('docs/data/base/api'),
+ // TODO: Update when we have the domain set up
+ baseApiUrl: 'https://base-ui.netlify.app',
+ getApiPages: () => findApiPages('docs/data/api'),
getComponentInfo: getBaseUiComponentInfo,
getComponentImports,
- getHookInfo: getBaseUiHookInfo,
- getHookImports: getComponentImports,
translationLanguages: ['en'],
skipComponent: () => false,
- skipAnnotatingComponentDefinition: true,
+ skipHook: () => true,
+ skipAnnotatingComponentDefinition: false,
skipSlotsAndClasses: true,
generateJsonFileOnly: true,
- translationPagesDirectory: 'docs/data/base/translations/api-docs',
+ translationPagesDirectory: 'docs/data/translations/api-docs',
generateClassName: () => '',
isGlobalClassName: () => false,
};
From a1213342a9cab5c80f781ffe34ca63c4a9e0d696 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Dudak?=
Date: Wed, 21 Aug 2024 13:20:51 +0200
Subject: [PATCH 070/149] Enable Tailwind CSS on demos
---
docs/src/styles/style.css | 4 ++
docs/tailwind.config.js | 101 --------------------------------------
docs/tailwind.config.ts | 21 ++++++++
3 files changed, 25 insertions(+), 101 deletions(-)
delete mode 100644 docs/tailwind.config.js
create mode 100644 docs/tailwind.config.ts
diff --git a/docs/src/styles/style.css b/docs/src/styles/style.css
index 55c5d4a13f..f9141c77bd 100644
--- a/docs/src/styles/style.css
+++ b/docs/src/styles/style.css
@@ -35,3 +35,7 @@
@import 'utilities/margin.css';
@import 'utilities/padding.css';
@import 'utilities/position.css';
+
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
diff --git a/docs/tailwind.config.js b/docs/tailwind.config.js
deleted file mode 100644
index 1e8c284d84..0000000000
--- a/docs/tailwind.config.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/** @type {import('tailwindcss/plugin')} */
-// eslint-disable-next-line import/no-import-module-exports
-import plugin from 'tailwindcss/plugin';
-
-const defaultTheme = require('tailwindcss/defaultTheme');
-
-/** @type {import('tailwindcss').Config} */
-module.exports = {
- darkMode: ['class', '[data-mui-color-scheme="dark"]'],
- content: [
- './data/**/*.{js,ts,jsx,tsx,mdx}',
- './pages/**/*.{js,ts,jsx,tsx,mdx}',
- './src/**/*.{js,ts,jsx,tsx,mdx}',
- ],
- theme: {
- extend: {
- animation: {
- appear: 'in-right 200ms',
- },
- border: {
- 3: '3px',
- },
- boxShadow: {
- 'outline-purple': '0 0 0 4px rgba(192, 132, 252, 0.25)',
- 'outline-purple-light': '0 0 0 4px rgba(245, 208, 254, 0.25)',
- 'outline-purple-xs': '0 0 0 1px rgba(192, 132, 252, 0.25)',
- 'outline-switch': '0 0 1px 3px rgba(168, 85, 247, 0.35)',
- },
- cursor: {
- inherit: 'inherit',
- },
- fontFamily: {
- sans: ['IBM Plex Sans', ...defaultTheme.fontFamily.sans],
- },
- keyframes: {
- 'in-right': {
- from: { transform: 'translateX(100%)' },
- to: { transform: 'translateX(0)' },
- },
- },
- lineHeight: {
- 5.5: '1.375rem',
- },
- maxWidth: {
- snackbar: '560px',
- },
- minHeight: {
- badge: '22px',
- },
- minWidth: {
- badge: '22px',
- listbox: '200px',
- snackbar: '300px',
- 'tabs-list': '400px',
- },
- },
- },
- corePlugins: {
- // Remove the Tailwind CSS preflight styles so it can use Material UI's preflight instead (CssBaseline).
- preflight: false,
- },
- plugins: [
- plugin(({ addVariant }) => {
- [
- 'active',
- 'checked',
- 'completed',
- 'disabled',
- 'readOnly',
- 'error',
- 'expanded',
- 'focused',
- 'required',
- 'selected',
- ].forEach((state) => {
- addVariant(`ui-${state}`, [
- `&[class~="Mui-${state}"]`,
- `&[class~="base--${state}"]`,
- `&[data-${state}="true"]`,
- ]);
- addVariant(`ui-not-${state}`, [
- `&:not([class~="Mui-${state}"])`,
- `&:not([class~="base--${state}"])`,
- `&:not([data-${state}="true"])`,
- ]);
- });
-
- // for focus-visible, use the same selector as headlessui
- // https://github.com/tailwindlabs/headlessui/blob/main/packages/%40headlessui-tailwindcss/src/index.ts#LL35C11-L35C11
- addVariant(`ui-focus-visible`, [
- `&[class~="Mui-focusVisible"]`,
- `&[class~="base--focusVisible"]`,
- `&:focus-visible`,
- ]);
- addVariant(`ui-not-focus-visible`, [
- `&:not([class~="Mui-focusVisible"])`,
- `&:not([class~="base--focusVisible"])`,
- ]);
- }),
- ],
-};
diff --git a/docs/tailwind.config.ts b/docs/tailwind.config.ts
new file mode 100644
index 0000000000..92ec837978
--- /dev/null
+++ b/docs/tailwind.config.ts
@@ -0,0 +1,21 @@
+import type { Config } from 'tailwindcss';
+import defaultTheme from 'tailwindcss/defaultTheme';
+
+export default {
+ darkMode: ['class', '[data-color-scheme="dark"]'],
+ content: [
+ // Apply only to demos
+ './data/**/*.{js,ts,jsx,tsx}',
+ ],
+ theme: {
+ extend: {
+ fontFamily: {
+ sans: ['Graphik', ...defaultTheme.fontFamily.sans],
+ },
+ },
+ },
+ corePlugins: {
+ // Remove the Tailwind CSS preflight styles as they would apply to the whole site.
+ preflight: false,
+ },
+} satisfies Config;
From 6a5566a0191a497b64f88c62d8d1bcbfd4f5eed4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Dudak?=
Date: Wed, 21 Aug 2024 13:23:05 +0200
Subject: [PATCH 071/149] Enable Tailwind CSS on regression tests
---
package.json | 3 +++
pnpm-lock.yaml | 34 ++++++++++++++++++++++++++++++
test/regressions/index.js | 1 +
test/regressions/tailwind.css | 3 +++
test/regressions/webpack.config.js | 25 ++++++++++++++++++++++
5 files changed, 66 insertions(+)
create mode 100644 test/regressions/tailwind.css
diff --git a/package.json b/package.json
index d76d9cf426..d98f721e37 100644
--- a/package.json
+++ b/package.json
@@ -143,6 +143,8 @@
"nx": "^18.3.5",
"nyc": "^15.1.0",
"piscina": "^4.4.0",
+ "postcss": "^8.4.40",
+ "postcss-loader": "^8.1.1",
"postcss-styled-syntax": "^0.6.4",
"prettier": "^3.2.5",
"pretty-quick": "^4.0.0",
@@ -155,6 +157,7 @@
"style-loader": "^4.0.0",
"stylelint": "^16.4.0",
"stylelint-config-standard": "^36.0.1",
+ "tailwindcss": "^3.4.3",
"terser": "^5.31.0",
"terser-webpack-plugin": "^5.3.10",
"tsx": "^4.8.2",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1a9e894d25..27b80e27bb 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -256,6 +256,12 @@ importers:
piscina:
specifier: ^4.4.0
version: 4.4.0
+ postcss:
+ specifier: ^8.4.40
+ version: 8.4.40
+ postcss-loader:
+ specifier: ^8.1.1
+ version: 8.1.1(postcss@8.4.40)(typescript@5.4.5)(webpack@5.91.0(webpack-cli@5.1.4))
postcss-styled-syntax:
specifier: ^0.6.4
version: 0.6.4(postcss@8.4.40)
@@ -292,6 +298,9 @@ importers:
stylelint-config-standard:
specifier: ^36.0.1
version: 36.0.1(stylelint@16.4.0(typescript@5.4.5))
+ tailwindcss:
+ specifier: ^3.4.3
+ version: 3.4.3
terser:
specifier: ^5.31.0
version: 5.31.0
@@ -7062,6 +7071,19 @@ packages:
ts-node:
optional: true
+ postcss-loader@8.1.1:
+ resolution: {integrity: sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ==}
+ engines: {node: '>= 18.12.0'}
+ peerDependencies:
+ '@rspack/core': 0.x || 1.x
+ postcss: ^7.0.0 || ^8.0.1
+ webpack: ^5.0.0
+ peerDependenciesMeta:
+ '@rspack/core':
+ optional: true
+ webpack:
+ optional: true
+
postcss-modules-extract-imports@3.1.0:
resolution: {integrity: sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==}
engines: {node: ^10 || ^12 || >= 14}
@@ -7254,6 +7276,7 @@ packages:
engines: {node: '>=0.6.0', teleport: '>=0.2.0'}
deprecated: |-
You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
+
(For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
qjobs@1.2.0:
@@ -16716,6 +16739,17 @@ snapshots:
optionalDependencies:
postcss: 8.4.40
+ postcss-loader@8.1.1(postcss@8.4.40)(typescript@5.4.5)(webpack@5.91.0(webpack-cli@5.1.4)):
+ dependencies:
+ cosmiconfig: 9.0.0(typescript@5.4.5)
+ jiti: 1.21.0
+ postcss: 8.4.40
+ semver: 7.6.0
+ optionalDependencies:
+ webpack: 5.91.0(webpack-cli@5.1.4)
+ transitivePeerDependencies:
+ - typescript
+
postcss-modules-extract-imports@3.1.0(postcss@8.4.40):
dependencies:
postcss: 8.4.40
diff --git a/test/regressions/index.js b/test/regressions/index.js
index 26bb7af771..c3a8c3a804 100644
--- a/test/regressions/index.js
+++ b/test/regressions/index.js
@@ -5,6 +5,7 @@ import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom';
import webfontloader from 'webfontloader';
import TestViewer from './TestViewer';
import 'docs-base/src/styles/demo-colors.css';
+import './tailwind.css';
// Get all the fixtures specifically written for preventing visual regressions.
const importRegressionFixtures = require.context('./fixtures', true, /\.(js|ts|tsx)$/, 'lazy');
diff --git a/test/regressions/tailwind.css b/test/regressions/tailwind.css
new file mode 100644
index 0000000000..b5c61c9567
--- /dev/null
+++ b/test/regressions/tailwind.css
@@ -0,0 +1,3 @@
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
diff --git a/test/regressions/webpack.config.js b/test/regressions/webpack.config.js
index 6700dea220..bd1a973ab4 100644
--- a/test/regressions/webpack.config.js
+++ b/test/regressions/webpack.config.js
@@ -65,6 +65,31 @@ module.exports = {
},
},
},
+ {
+ loader: 'postcss-loader',
+ options: {
+ postcssOptions: {
+ config: false,
+ plugins: {
+ tailwindcss: {
+ content: ['docs/data/**/*.{js,tsx}'],
+ darkMode: ['class', '[data-color-scheme="dark"]'],
+ theme: {
+ extend: {
+ fontFamily: {
+ sans: ['Graphik'],
+ },
+ },
+ },
+ corePlugins: {
+ // Remove the Tailwind CSS preflight styles as they would apply to the whole site.
+ preflight: false,
+ },
+ },
+ },
+ },
+ },
+ },
],
},
],
From 253f11b717113652d9f260c0070017f6e8af8764 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Dudak?=
Date: Wed, 21 Aug 2024 13:28:34 +0200
Subject: [PATCH 072/149] Disable custom font in regression tests
---
test/regressions/webpack.config.js | 7 -------
1 file changed, 7 deletions(-)
diff --git a/test/regressions/webpack.config.js b/test/regressions/webpack.config.js
index bd1a973ab4..5be826e340 100644
--- a/test/regressions/webpack.config.js
+++ b/test/regressions/webpack.config.js
@@ -74,13 +74,6 @@ module.exports = {
tailwindcss: {
content: ['docs/data/**/*.{js,tsx}'],
darkMode: ['class', '[data-color-scheme="dark"]'],
- theme: {
- extend: {
- fontFamily: {
- sans: ['Graphik'],
- },
- },
- },
corePlugins: {
// Remove the Tailwind CSS preflight styles as they would apply to the whole site.
preflight: false,
From 2a916259370394531ebf2b8622c033bcb7700eb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Dudak?=
Date: Wed, 21 Aug 2024 14:11:09 +0200
Subject: [PATCH 073/149] ComponentLinkHeader
---
docs/app/(content)/components/[slug]/page.tsx | 6 ++-
.../components/ComponentLinkHeader.module.css | 22 ++++++++
.../components/ComponentLinkHeader.tsx | 52 +++++++++++++++++--
.../modules/components/Description.module.css | 2 +-
4 files changed, 77 insertions(+), 5 deletions(-)
diff --git a/docs/app/(content)/components/[slug]/page.tsx b/docs/app/(content)/components/[slug]/page.tsx
index b285200431..7227ff21a8 100644
--- a/docs/app/(content)/components/[slug]/page.tsx
+++ b/docs/app/(content)/components/[slug]/page.tsx
@@ -2,7 +2,7 @@ import * as React from 'react';
import { Metadata } from 'next';
import { components } from 'docs-base/src/modules/common/MDXComponents';
import { getMarkdownPage, getMarkdownPageMetadata } from 'docs-base/src/utils/getMarkdownPage';
-import { Description } from 'docs-base/src/modules/components';
+import { ComponentLinkHeader, Description } from 'docs-base/src/modules/components';
import { TableOfContents } from 'docs-base/src/modules/common/TableOfContents';
import routes, { getSlugs } from 'docs-base/data/pages';
import { AppBar } from 'docs-base/src/modules/common/AppBar';
@@ -53,6 +53,10 @@ export default async function ComponentPage(props: Props) {
),
// eslint-disable-next-line react/no-unstable-nested-components
Description: () => ,
+ // eslint-disable-next-line react/no-unstable-nested-components
+ ComponentLinkHeader: () => (
+
+ ),
};
return (
diff --git a/docs/src/modules/components/ComponentLinkHeader.module.css b/docs/src/modules/components/ComponentLinkHeader.module.css
index e69de29bb2..e363305d2a 100644
--- a/docs/src/modules/components/ComponentLinkHeader.module.css
+++ b/docs/src/modules/components/ComponentLinkHeader.module.css
@@ -0,0 +1,22 @@
+.root {
+ display: flex;
+ gap: var(--space-2);
+ margin-bottom: var(--space-7);
+ font-size: var(--fs-1);
+
+ & > a {
+ padding: var(--space-1) var(--space-2);
+ color: var(--gray-text-1);
+ text-decoration: none;
+ border: 1px solid var(--gray-outline-2);
+ border-radius: 8px;
+
+ &:hover {
+ &::after {
+ content: none;
+ }
+
+ background: var(--gray-container-1);
+ }
+ }
+}
diff --git a/docs/src/modules/components/ComponentLinkHeader.tsx b/docs/src/modules/components/ComponentLinkHeader.tsx
index bb8895eaf0..18d99f2aef 100644
--- a/docs/src/modules/components/ComponentLinkHeader.tsx
+++ b/docs/src/modules/components/ComponentLinkHeader.tsx
@@ -1,7 +1,53 @@
import * as React from 'react';
-import clsx from 'clsx';
import classes from './ComponentLinkHeader.module.css';
-export function ComponentLinkHeader(props: React.ComponentProps<'div'>) {
- return ;
+export interface ComponentLinkHeaderProps {
+ githubLabel?: string;
+ ariaSpecUrl?: string;
+}
+
+export function ComponentLinkHeader(props: ComponentLinkHeaderProps) {
+ const { githubLabel, ariaSpecUrl } = props;
+
+ return (
+
+ );
}
diff --git a/docs/src/modules/components/Description.module.css b/docs/src/modules/components/Description.module.css
index a6d1bed058..2323389100 100644
--- a/docs/src/modules/components/Description.module.css
+++ b/docs/src/modules/components/Description.module.css
@@ -1,4 +1,4 @@
.root {
scroll-margin-top: 80px;
- margin-bottom: var(--space-7) !important;
+ margin-bottom: var(--space-7);
}
From d3d72b573b64a54830db84eed3dc7dde7c37a081 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Dudak?=
Date: Wed, 21 Aug 2024 15:01:10 +0200
Subject: [PATCH 074/149] Support demos with transitive dependencies
---
.../menu/MenuIntroduction/css/Menu.js | 32 ++++
.../menu/MenuIntroduction/css/Menu.module.css | 128 +++++++++++++
.../menu/MenuIntroduction/css/Menu.tsx | 34 ++++
.../menu/MenuIntroduction/css/index.js | 174 ++----------------
.../menu/MenuIntroduction/css/index.tsx | 174 ++----------------
.../MenuIntroduction/css/index.tsx.preview | 11 ++
docs/src/styles/demo-colors.css | 11 ++
docs/src/utils/loadDemo.ts | 68 +++++--
8 files changed, 290 insertions(+), 342 deletions(-)
create mode 100644 docs/data/components/menu/MenuIntroduction/css/Menu.js
create mode 100644 docs/data/components/menu/MenuIntroduction/css/Menu.module.css
create mode 100644 docs/data/components/menu/MenuIntroduction/css/Menu.tsx
create mode 100644 docs/data/components/menu/MenuIntroduction/css/index.tsx.preview
diff --git a/docs/data/components/menu/MenuIntroduction/css/Menu.js b/docs/data/components/menu/MenuIntroduction/css/Menu.js
new file mode 100644
index 0000000000..cc7277595e
--- /dev/null
+++ b/docs/data/components/menu/MenuIntroduction/css/Menu.js
@@ -0,0 +1,32 @@
+'use client';
+
+import * as React from 'react';
+import PropTypes from 'prop-types';
+import * as BaseMenu from '@base_ui/react/Menu';
+import classes from './Menu.module.css';
+
+export const Menu = function Menu(props) {
+ return ;
+};
+
+const MenuItems = React.forwardRef(function MenuItems(props, ref) {
+ return (
+
+ {props.children}
+
+ );
+});
+
+MenuItems.propTypes = {
+ children: PropTypes.node,
+};
+
+export { MenuItems };
+
+export const MenuItem = React.forwardRef(function MenuItem(props, ref) {
+ return ;
+});
+
+export const MenuTrigger = React.forwardRef(function MenuTrigger(props, ref) {
+ return ;
+});
diff --git a/docs/data/components/menu/MenuIntroduction/css/Menu.module.css b/docs/data/components/menu/MenuIntroduction/css/Menu.module.css
new file mode 100644
index 0000000000..bcf30c6e82
--- /dev/null
+++ b/docs/data/components/menu/MenuIntroduction/css/Menu.module.css
@@ -0,0 +1,128 @@
+.positioner {
+ z-index: 1;
+
+ &:focus-visible {
+ outline: 0;
+ }
+
+ &[data-state='closed'] {
+ pointer-events: none;
+ }
+}
+
+.popup {
+ font-family: 'IBM Plex Sans', sans-serif;
+ font-size: 0.875rem;
+ box-sizing: border-box;
+ padding: 6px;
+ margin: 12px 0;
+ min-width: 200px;
+ border-radius: 12px;
+ overflow: auto;
+ outline: 0;
+ background: #fff;
+ border: 1px solid var(--gray-200);
+ color: var(--gray-300);
+ box-shadow: 0px 4px 30px var(--gray-200);
+ transform-origin: var(--transform-origin);
+
+ :global(.dark) & {
+ background: var(--gray-900);
+ border: 1px solid var(--gray-700);
+ color: var(--gray-300);
+ box-shadow: 0px 4px 30px var(--gray-900);
+ }
+
+ &[data-state='closed'] {
+ opacity: 0;
+ transform: scale(0.95, 0.8);
+ transition:
+ opacity 200ms ease-in,
+ transform 200ms ease-in;
+ }
+
+ &[data-state='open'] {
+ opacity: 1;
+ transform: scale(1, 1);
+ transition:
+ opacity 100ms ease-out,
+ transform 100ms cubic-bezier(0.43, 0.29, 0.37, 1.48);
+ }
+}
+
+.trigger {
+ font-family: 'IBM Plex Sans', sans-serif;
+ font-weight: 600;
+ font-size: 0.875rem;
+ line-height: 1.5;
+ padding: 8px 16px;
+ border-radius: 8px;
+ color: white;
+ transition: all 150ms ease;
+ cursor: pointer;
+ background: #fff;
+ border: 1px solid var(--gray-200);
+ color: var(--gray-900);
+ box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
+
+ :global(.dark) & {
+ background: var(--gray-900);
+ border-color: var(--gray-200);
+ color: var(--gray-200);
+ }
+
+ &:hover {
+ background: var(--gray-50);
+ border-color: var(--gray-300);
+
+ :global(.dark) & {
+ background: var(--gray-800);
+ border-color: var(--gray-600);
+ }
+ }
+
+ &:active {
+ background: var(--gray-100);
+
+ :global(.dark) & {
+ background: var(--gray-700);
+ }
+ }
+
+ &:focus-visible {
+ box-shadow: 0 0 0 4px var(--cyan-300);
+ outline: none;
+ }
+}
+
+.item {
+ list-style: none;
+ padding: 8px;
+ border-radius: 8px;
+ cursor: default;
+ user-select: none;
+
+ &:last-of-type {
+ border-bottom: none;
+ }
+
+ &[data-disabled] {
+ color: var(--gray-400);
+
+ :global(.dark) & {
+ color: var(--gray-700);
+ }
+ }
+
+ &:focus {
+ outline: 3px solid var(--cyan-200);
+ background-color: var(--gray-100);
+ color: var(--gray-900);
+
+ :global(.dark) & {
+ outline: 3px solid var(--cyan-600);
+ background-color: var(--gray-800);
+ color: var(--gray-300);
+ }
+ }
+}
diff --git a/docs/data/components/menu/MenuIntroduction/css/Menu.tsx b/docs/data/components/menu/MenuIntroduction/css/Menu.tsx
new file mode 100644
index 0000000000..d3044768fb
--- /dev/null
+++ b/docs/data/components/menu/MenuIntroduction/css/Menu.tsx
@@ -0,0 +1,34 @@
+'use client';
+
+import * as React from 'react';
+import * as BaseMenu from '@base_ui/react/Menu';
+import classes from './Menu.module.css';
+
+export const Menu = function Menu(props: BaseMenu.Root.Props) {
+ return ;
+};
+
+export const MenuItems = React.forwardRef(function MenuItems(
+ props: React.PropsWithChildren<{}>,
+ ref: React.ForwardedRef,
+) {
+ return (
+
+ {props.children}
+
+ );
+});
+
+export const MenuItem = React.forwardRef(function MenuItem(
+ props: BaseMenu.Item.Props,
+ ref: React.ForwardedRef,
+) {
+ return ;
+});
+
+export const MenuTrigger = React.forwardRef(function MenuTrigger(
+ props: BaseMenu.Trigger.Props,
+ ref: React.ForwardedRef,
+) {
+ return ;
+});
diff --git a/docs/data/components/menu/MenuIntroduction/css/index.js b/docs/data/components/menu/MenuIntroduction/css/index.js
index afb7709c40..172271f624 100644
--- a/docs/data/components/menu/MenuIntroduction/css/index.js
+++ b/docs/data/components/menu/MenuIntroduction/css/index.js
@@ -1,8 +1,7 @@
'use client';
import * as React from 'react';
-import * as Menu from '@base_ui/react/Menu';
-import { useTheme } from '@mui/system';
+import { Menu, MenuItems, MenuItem, MenuTrigger } from './Menu';
export default function MenuIntroduction() {
const createHandleMenuClick = (menuItem) => {
@@ -12,165 +11,16 @@ export default function MenuIntroduction() {
};
return (
-
- My account
-
-
-
-
- Profile
-
-
- Language settings
-
-
- Log out
-
-
-
-
-
- );
-}
-
-const cyan = {
- 50: '#E9F8FC',
- 100: '#BDEBF4',
- 200: '#99D8E5',
- 300: '#66BACC',
- 400: '#1F94AD',
- 500: '#0D5463',
- 600: '#094855',
- 700: '#063C47',
- 800: '#043039',
- 900: '#022127',
-};
-
-const grey = {
- 50: '#F3F6F9',
- 100: '#E5EAF2',
- 200: '#DAE2ED',
- 300: '#C7D0DD',
- 400: '#B0B8C4',
- 500: '#9DA8B7',
- 600: '#6B7A90',
- 700: '#434D5B',
- 800: '#303740',
- 900: '#1C2025',
-};
-
-function useIsDarkMode() {
- const theme = useTheme();
- return theme.palette.mode === 'dark';
-}
-
-function Styles() {
- // Replace this with your app logic for determining dark mode
- const isDarkMode = useIsDarkMode();
-
- return (
-
+
);
}
diff --git a/docs/data/components/menu/MenuIntroduction/css/index.tsx b/docs/data/components/menu/MenuIntroduction/css/index.tsx
index 63c2422b90..533c546c9f 100644
--- a/docs/data/components/menu/MenuIntroduction/css/index.tsx
+++ b/docs/data/components/menu/MenuIntroduction/css/index.tsx
@@ -1,8 +1,7 @@
'use client';
import * as React from 'react';
-import * as Menu from '@base_ui/react/Menu';
-import { useTheme } from '@mui/system';
+import { Menu, MenuItems, MenuItem, MenuTrigger } from './Menu';
export default function MenuIntroduction() {
const createHandleMenuClick = (menuItem: string) => {
@@ -12,165 +11,16 @@ export default function MenuIntroduction() {
};
return (
-
- My account
-
-
-
-
- Profile
-
-
- Language settings
-
-
- Log out
-
-
-
-
-
- );
-}
-
-const cyan = {
- 50: '#E9F8FC',
- 100: '#BDEBF4',
- 200: '#99D8E5',
- 300: '#66BACC',
- 400: '#1F94AD',
- 500: '#0D5463',
- 600: '#094855',
- 700: '#063C47',
- 800: '#043039',
- 900: '#022127',
-};
-
-const grey = {
- 50: '#F3F6F9',
- 100: '#E5EAF2',
- 200: '#DAE2ED',
- 300: '#C7D0DD',
- 400: '#B0B8C4',
- 500: '#9DA8B7',
- 600: '#6B7A90',
- 700: '#434D5B',
- 800: '#303740',
- 900: '#1C2025',
-};
-
-function useIsDarkMode() {
- const theme = useTheme();
- return theme.palette.mode === 'dark';
-}
-
-function Styles() {
- // Replace this with your app logic for determining dark mode
- const isDarkMode = useIsDarkMode();
-
- return (
-
+
);
}
diff --git a/docs/data/components/menu/MenuIntroduction/css/index.tsx.preview b/docs/data/components/menu/MenuIntroduction/css/index.tsx.preview
new file mode 100644
index 0000000000..581532a6cc
--- /dev/null
+++ b/docs/data/components/menu/MenuIntroduction/css/index.tsx.preview
@@ -0,0 +1,11 @@
+
\ No newline at end of file
diff --git a/docs/src/styles/demo-colors.css b/docs/src/styles/demo-colors.css
index 1df07cc223..fb1f7284dd 100644
--- a/docs/src/styles/demo-colors.css
+++ b/docs/src/styles/demo-colors.css
@@ -10,4 +10,15 @@
--gray-200: #e2e8f0;
--gray-100: #f1f5f9;
--gray-50: #f8fafc;
+
+ --cyan-900: #022127;
+ --cyan-800: #043039;
+ --cyan-700: #063c47;
+ --cyan-600: #094855;
+ --cyan-500: #0d5463;
+ --cyan-400: #1f94ad;
+ --cyan-300: #66bacc;
+ --cyan-200: #99d8e5;
+ --cyan-100: #bdebf4;
+ --cyan-50: #e9f8fc;
}
diff --git a/docs/src/utils/loadDemo.ts b/docs/src/utils/loadDemo.ts
index 190b9a51ce..822a6bc754 100644
--- a/docs/src/utils/loadDemo.ts
+++ b/docs/src/utils/loadDemo.ts
@@ -1,6 +1,6 @@
import { existsSync, statSync } from 'node:fs';
import { readFile, readdir } from 'node:fs/promises';
-import { basename, dirname, extname } from 'node:path';
+import { basename, dirname, extname, resolve } from 'node:path';
import { codeToHtml } from 'shiki';
import { DemoFile, DemoVariant } from '../blocks/Demo/types';
@@ -80,7 +80,7 @@ async function loadSimpleDemo(path: string, variantName: string): Promise match.slice(6, -1)) ?? [];
+function getLocalImports(content: string, baseDemoDirectory: string): string[] {
+ return (
+ content.match(/from ['"]\.\.?\/[^'"]+['"]/g)?.map((match) => match.slice(6, -1)) ?? []
+ ).map((file) => resolve(baseDemoDirectory, file));
}
-function getDependencyFiles(paths: string[], demoDirectory: string): Promise {
+function getDependencyFiles(paths: string[], preferTs: boolean): Promise {
return Promise.all(
paths.map(async (path) => {
- const fullPath = `${demoDirectory}/${path}`;
- const extension = extname(fullPath);
+ let extension = extname(path);
+
+ if (extension === '') {
+ path = resolveExtensionlessFile(path, preferTs);
+ extension = extname(path);
+ }
+
let type: string;
if (extension === '.ts' || extension === '.tsx') {
type = 'ts';
@@ -148,19 +155,44 @@ function getDependencyFiles(paths: string[], demoDirectory: string): Promise files.flat());
+}
+
+function resolveExtensionlessFile(filePath: string, preferTs: boolean): string {
+ const extensions = preferTs
+ ? ['.tsx', '.ts', '.jsx', '.js', '.json']
+ : ['.jsx', '.js', '.tsx', '.ts', '.json'];
+
+ for (const extension of extensions) {
+ const fullPath = `${filePath}${extension}`;
+ if (existsSync(fullPath)) {
+ return fullPath;
+ }
+ }
+
+ throw new Error(
+ `Could not find the file ${filePath} with any of the supported extensions: ${extensions.join(', ')}.`,
);
}
From 11cd02d4d70c105c7153c1fb003cedb94e40b633 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Dudak?=
Date: Wed, 21 Aug 2024 20:28:22 +0200
Subject: [PATCH 075/149] Fix React errors
---
docs/src/modules/components/ComponentLinkHeader.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/src/modules/components/ComponentLinkHeader.tsx b/docs/src/modules/components/ComponentLinkHeader.tsx
index 18d99f2aef..d27fb31633 100644
--- a/docs/src/modules/components/ComponentLinkHeader.tsx
+++ b/docs/src/modules/components/ComponentLinkHeader.tsx
@@ -10,7 +10,7 @@ export function ComponentLinkHeader(props: ComponentLinkHeaderProps) {
const { githubLabel, ariaSpecUrl } = props;
return (
-
+
{githubLabel && (
Date: Thu, 22 Aug 2024 09:25:55 +0200
Subject: [PATCH 076/149] ToggleButtonGroup component
---
.../ToggleButtonGroup.module.css | 48 ++++++++++++++++
docs/src/design-system/ToggleButtonGroup.tsx | 50 +++++++++++++++++
.../modules/common/PackageManagerSnippet.tsx | 35 ++++++------
docs/src/modules/components/Demo.module.css | 4 +-
.../components/DemoVariantSelector.module.css | 55 +++++++++++++++++++
.../components/DemoVariantSelector.tsx | 43 ++++++++++-----
6 files changed, 203 insertions(+), 32 deletions(-)
create mode 100644 docs/src/design-system/ToggleButtonGroup.module.css
create mode 100644 docs/src/design-system/ToggleButtonGroup.tsx
create mode 100644 docs/src/modules/components/DemoVariantSelector.module.css
diff --git a/docs/src/design-system/ToggleButtonGroup.module.css b/docs/src/design-system/ToggleButtonGroup.module.css
new file mode 100644
index 0000000000..f6d7c50117
--- /dev/null
+++ b/docs/src/design-system/ToggleButtonGroup.module.css
@@ -0,0 +1,48 @@
+.root {
+ box-sizing: border-box;
+ background-color: var(--gray-container-1);
+ border-radius: var(--br-pill);
+ display: inline-flex;
+ height: var(--space-7);
+ padding: 1px;
+ flex-shrink: 0;
+}
+
+.button {
+ all: unset;
+ line-height: 1;
+ vertical-align: middle;
+ background-clip: padding-box;
+ box-sizing: border-box;
+ flex-shrink: 0;
+ user-select: none;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ height: 100%;
+ padding-left: var(--space-3);
+ padding-right: var(--space-3);
+ font-family: var(--ff-sans);
+ font-weight: 500;
+ border-radius: var(--br-pill);
+ font-size: var(--fs-2);
+ color: var(--gray-text-2);
+ letter-spacing: 0.18px;
+ cursor: pointer;
+ border: 1px solid transparent;
+
+ &[data-selected='true'] {
+ background-color: white;
+ box-shadow:
+ 0 1px 2px rgba(0, 0, 0, 0.05),
+ 0 2px 4px -1px rgba(0, 0, 0, 0.05),
+ 0 4px 8px -2px rgba(0, 0, 0, 0.05);
+ border: 1px solid hsl(0deg 0% 0% / 5%);
+ }
+
+ @media (hover: hover) {
+ &[data-selected='false']:hover {
+ background-color: var(--gray-container-3);
+ }
+ }
+}
diff --git a/docs/src/design-system/ToggleButtonGroup.tsx b/docs/src/design-system/ToggleButtonGroup.tsx
new file mode 100644
index 0000000000..cf3a1eab00
--- /dev/null
+++ b/docs/src/design-system/ToggleButtonGroup.tsx
@@ -0,0 +1,50 @@
+import * as React from 'react';
+import clsx from 'clsx';
+// eslint-disable-next-line no-restricted-imports
+import { useControlled } from '@base_ui/react/utils/useControlled';
+import classes from './ToggleButtonGroup.module.css';
+
+export interface ToggleButtonGroupProps