diff --git a/docs/src/app/(private)/experiments/slider-change-committed-lag.tsx b/docs/src/app/(private)/experiments/slider-change-committed-lag.tsx deleted file mode 100644 index b8562483a8..0000000000 --- a/docs/src/app/(private)/experiments/slider-change-committed-lag.tsx +++ /dev/null @@ -1,38 +0,0 @@ -'use client'; -// https://github.com/mui/material-ui/issues/41739 -// to cross check whether this issue would still occur in the new API -import * as React from 'react'; -import { Slider } from '@base-ui-components/react/slider'; -import classes from './slider.module.css'; - -export default function App() { - const [val1, setVal1] = React.useState(80); - const [val2, setVal2] = React.useState(null); - - return ( -
- setVal1(newValue as number)} - onValueCommitted={(newValue) => setVal2(newValue as number)} - > - - - - - - - - - -
onValueChange value: {val1}
-
onValueCommitted value: {val2}
-
- ); -} diff --git a/docs/src/app/(private)/experiments/slider-format.tsx b/docs/src/app/(private)/experiments/slider-format.tsx deleted file mode 100644 index 26756bcee8..0000000000 --- a/docs/src/app/(private)/experiments/slider-format.tsx +++ /dev/null @@ -1,56 +0,0 @@ -'use client'; -import * as React from 'react'; -import { useTheme } from '@mui/system'; -import { Slider } from '@base-ui-components/react/slider'; -import c from './slider.module.css'; - -export default function UnstyledSliderIntroduction() { - // Replace this with your app logic for determining dark mode - const isDarkMode = useIsDarkMode(); - return ( -
- - - - {(_, values) => `$${values[0].toFixed(2)} - ${values[1].toFixed(2)} USD`} - - - - - - - - - -
- ); -} - -function Label(props: React.LabelHTMLAttributes) { - const { id, htmlFor, ...otherProps } = props; - - return