diff --git a/docs/data/charts/bars/BarClick.js b/docs/data/charts/bars/BarClick.js index 11a02cc9fb9e1..f49a2c5dec940 100644 --- a/docs/data/charts/bars/BarClick.js +++ b/docs/data/charts/bars/BarClick.js @@ -7,7 +7,7 @@ import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { BarChart } from '@mui/x-charts/BarChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; const barChartsParams = { series: [ diff --git a/docs/data/charts/bars/BarClick.tsx b/docs/data/charts/bars/BarClick.tsx index 805f1e8b0be53..86de70f7607eb 100644 --- a/docs/data/charts/bars/BarClick.tsx +++ b/docs/data/charts/bars/BarClick.tsx @@ -7,7 +7,7 @@ import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { BarChart } from '@mui/x-charts/BarChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { BarItemIdentifier, ChartsAxisData } from '@mui/x-charts/models'; const barChartsParams = { diff --git a/docs/data/charts/bars/BorderRadius.js b/docs/data/charts/bars/BorderRadius.js index 65be0ca8a4430..14dd1fcdcaaa1 100644 --- a/docs/data/charts/bars/BorderRadius.js +++ b/docs/data/charts/bars/BorderRadius.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { BarChart } from '@mui/x-charts/BarChart'; import Stack from '@mui/material/Stack'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; import Slider from '@mui/material/Slider'; diff --git a/docs/data/charts/bars/BorderRadius.tsx b/docs/data/charts/bars/BorderRadius.tsx index 69410ac4d2d5d..2dc8d85eaf538 100644 --- a/docs/data/charts/bars/BorderRadius.tsx +++ b/docs/data/charts/bars/BorderRadius.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { BarChart, BarChartProps } from '@mui/x-charts/BarChart'; import Stack from '@mui/material/Stack'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; import Slider from '@mui/material/Slider'; diff --git a/docs/data/charts/bars/ColorScale.js b/docs/data/charts/bars/ColorScale.js index 90a0199ee409d..b661eed8be619 100644 --- a/docs/data/charts/bars/ColorScale.js +++ b/docs/data/charts/bars/ColorScale.js @@ -3,7 +3,7 @@ import { BarChart } from '@mui/x-charts/BarChart'; import Stack from '@mui/material/Stack'; import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; const series = [{ data: [-2, -9, 12, 11, 6, -4] }]; diff --git a/docs/data/charts/bars/ColorScale.tsx b/docs/data/charts/bars/ColorScale.tsx index cb3e9f22130c8..e6da10f7a1ad1 100644 --- a/docs/data/charts/bars/ColorScale.tsx +++ b/docs/data/charts/bars/ColorScale.tsx @@ -3,7 +3,7 @@ import { BarChart } from '@mui/x-charts/BarChart'; import Stack from '@mui/material/Stack'; import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; const series = [{ data: [-2, -9, 12, 11, 6, -4] }]; diff --git a/docs/data/charts/export/ExportChartToolbarCustomization.js b/docs/data/charts/export/ExportChartToolbarCustomization.js index 0da0f22b3126a..713d379f4103e 100644 --- a/docs/data/charts/export/ExportChartToolbarCustomization.js +++ b/docs/data/charts/export/ExportChartToolbarCustomization.js @@ -2,7 +2,7 @@ import * as React from 'react'; import Typography from '@mui/material/Typography'; import Stack from '@mui/material/Stack'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { ScatterChartPro } from '@mui/x-charts-pro/ScatterChartPro'; import { continents, countryData } from '../dataset/countryData'; diff --git a/docs/data/charts/export/ExportChartToolbarCustomization.tsx b/docs/data/charts/export/ExportChartToolbarCustomization.tsx index ae4f75437252c..8c19b38e7be8d 100644 --- a/docs/data/charts/export/ExportChartToolbarCustomization.tsx +++ b/docs/data/charts/export/ExportChartToolbarCustomization.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { ChartProApi } from '@mui/x-charts-pro/context'; import Typography from '@mui/material/Typography'; import Stack from '@mui/material/Stack'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { ScatterChartPro } from '@mui/x-charts-pro/ScatterChartPro'; import { ScatterValueType } from '@mui/x-charts/models'; import { continents, countryData } from '../dataset/countryData'; diff --git a/docs/data/charts/gauge/gauge.md b/docs/data/charts/gauge/gauge.md index 75b3f37665055..9823c839dfc0a 100644 --- a/docs/data/charts/gauge/gauge.md +++ b/docs/data/charts/gauge/gauge.md @@ -11,7 +11,7 @@ waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/meter/

Use gauge charts to show a numeric value within a defined range as an arc or meter.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Overview diff --git a/docs/data/charts/heatmap/HeatmapCellClick.js b/docs/data/charts/heatmap/HeatmapCellClick.js index eb57d9cde73eb..15ae841f878dc 100644 --- a/docs/data/charts/heatmap/HeatmapCellClick.js +++ b/docs/data/charts/heatmap/HeatmapCellClick.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import Stack from '@mui/material/Stack'; import Box from '@mui/material/Box'; import Typography from '@mui/material/Typography'; diff --git a/docs/data/charts/heatmap/HeatmapCellClick.tsx b/docs/data/charts/heatmap/HeatmapCellClick.tsx index 471230687d5e0..153e036d1529c 100644 --- a/docs/data/charts/heatmap/HeatmapCellClick.tsx +++ b/docs/data/charts/heatmap/HeatmapCellClick.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import Stack from '@mui/material/Stack'; import Box from '@mui/material/Box'; import Typography from '@mui/material/Typography'; diff --git a/docs/data/charts/legend/LegendClick.js b/docs/data/charts/legend/LegendClick.js index 0e193c9b570e2..3df7ce3bc9d5c 100644 --- a/docs/data/charts/legend/LegendClick.js +++ b/docs/data/charts/legend/LegendClick.js @@ -7,7 +7,7 @@ import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { ChartsLegend, PiecewiseColorLegend } from '@mui/x-charts/ChartsLegend'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { ChartsDataProvider } from '@mui/x-charts/ChartsDataProvider'; const pieSeries = [ diff --git a/docs/data/charts/legend/LegendClick.tsx b/docs/data/charts/legend/LegendClick.tsx index 2440ef3337e1e..7f6ef770d73f8 100644 --- a/docs/data/charts/legend/LegendClick.tsx +++ b/docs/data/charts/legend/LegendClick.tsx @@ -7,7 +7,7 @@ import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { ChartsLegend, PiecewiseColorLegend } from '@mui/x-charts/ChartsLegend'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { ChartsDataProvider } from '@mui/x-charts/ChartsDataProvider'; const pieSeries = [ diff --git a/docs/data/charts/lines/ColorScale.js b/docs/data/charts/lines/ColorScale.js index 63868d14f9b8b..c4d3adb68bc2f 100644 --- a/docs/data/charts/lines/ColorScale.js +++ b/docs/data/charts/lines/ColorScale.js @@ -3,7 +3,7 @@ import { LineChart } from '@mui/x-charts/LineChart'; import Stack from '@mui/material/Stack'; import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import FormControlLabel from '@mui/material/FormControlLabel'; import Checkbox from '@mui/material/Checkbox'; diff --git a/docs/data/charts/lines/ColorScale.tsx b/docs/data/charts/lines/ColorScale.tsx index 4424f5036a8fe..3a47a797ae972 100644 --- a/docs/data/charts/lines/ColorScale.tsx +++ b/docs/data/charts/lines/ColorScale.tsx @@ -3,7 +3,7 @@ import { LineChart } from '@mui/x-charts/LineChart'; import Stack from '@mui/material/Stack'; import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import FormControlLabel from '@mui/material/FormControlLabel'; import Checkbox from '@mui/material/Checkbox'; diff --git a/docs/data/charts/lines/InterpolationDemo.js b/docs/data/charts/lines/InterpolationDemo.js index 923723597bed4..062622dd1653c 100644 --- a/docs/data/charts/lines/InterpolationDemo.js +++ b/docs/data/charts/lines/InterpolationDemo.js @@ -4,7 +4,7 @@ import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; import { LineChart } from '@mui/x-charts/LineChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; const curveTypes = [ 'linear', diff --git a/docs/data/charts/lines/InterpolationDemo.tsx b/docs/data/charts/lines/InterpolationDemo.tsx index f7de83f060d84..9d2a7dea24a77 100644 --- a/docs/data/charts/lines/InterpolationDemo.tsx +++ b/docs/data/charts/lines/InterpolationDemo.tsx @@ -4,7 +4,7 @@ import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; import { LineChart } from '@mui/x-charts/LineChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { CurveType } from '@mui/x-charts/models'; const curveTypes: CurveType[] = [ diff --git a/docs/data/charts/lines/LineClick.js b/docs/data/charts/lines/LineClick.js index ed446514bd586..405655eab75d6 100644 --- a/docs/data/charts/lines/LineClick.js +++ b/docs/data/charts/lines/LineClick.js @@ -7,7 +7,7 @@ import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { LineChart } from '@mui/x-charts/LineChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; const lineChartsParams = { series: [ diff --git a/docs/data/charts/lines/LineClick.tsx b/docs/data/charts/lines/LineClick.tsx index 84daca08957bd..8eb4f74553ce1 100644 --- a/docs/data/charts/lines/LineClick.tsx +++ b/docs/data/charts/lines/LineClick.tsx @@ -7,7 +7,7 @@ import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { LineChart } from '@mui/x-charts/LineChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { ChartsAxisData, LineItemIdentifier } from '@mui/x-charts/models'; const lineChartsParams = { diff --git a/docs/data/charts/pie/PieClick.js b/docs/data/charts/pie/PieClick.js index dc745436eafc8..3bed46fd41e6b 100644 --- a/docs/data/charts/pie/PieClick.js +++ b/docs/data/charts/pie/PieClick.js @@ -5,7 +5,7 @@ import Typography from '@mui/material/Typography'; import IconButton from '@mui/material/IconButton'; import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { PieChart } from '@mui/x-charts/PieChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { mobileAndDesktopOS, platforms, valueFormatter } from './webUsageStats'; diff --git a/docs/data/charts/pie/PieClick.tsx b/docs/data/charts/pie/PieClick.tsx index 3b2bafc5ddf28..2bbead6ac70f8 100644 --- a/docs/data/charts/pie/PieClick.tsx +++ b/docs/data/charts/pie/PieClick.tsx @@ -5,7 +5,7 @@ import Typography from '@mui/material/Typography'; import IconButton from '@mui/material/IconButton'; import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { PieChart } from '@mui/x-charts/PieChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { PieItemIdentifier } from '@mui/x-charts/models'; import { mobileAndDesktopOS, platforms, valueFormatter } from './webUsageStats'; diff --git a/docs/data/charts/radar/RadarClick.js b/docs/data/charts/radar/RadarClick.js index 402b612025cba..2e9b4e3eeeaa7 100644 --- a/docs/data/charts/radar/RadarClick.js +++ b/docs/data/charts/radar/RadarClick.js @@ -8,7 +8,7 @@ import ToggleButton from '@mui/material/ToggleButton'; import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { RadarChart } from '@mui/x-charts/RadarChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; export default function RadarClick() { const [itemData, setItemData] = React.useState(); diff --git a/docs/data/charts/radar/RadarClick.tsx b/docs/data/charts/radar/RadarClick.tsx index 70bf86f43541b..3178cb530430a 100644 --- a/docs/data/charts/radar/RadarClick.tsx +++ b/docs/data/charts/radar/RadarClick.tsx @@ -12,7 +12,7 @@ import { RadarSeriesType, } from '@mui/x-charts/models'; import { RadarChart } from '@mui/x-charts/RadarChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; export default function RadarClick() { const [itemData, setItemData] = React.useState(); diff --git a/docs/data/charts/range-bar/RangeBarBorderRadius.js b/docs/data/charts/range-bar/RangeBarBorderRadius.js index 098b7e069f156..14e0d8638f761 100644 --- a/docs/data/charts/range-bar/RangeBarBorderRadius.js +++ b/docs/data/charts/range-bar/RangeBarBorderRadius.js @@ -1,6 +1,6 @@ import * as React from 'react'; import Stack from '@mui/material/Stack'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; import Slider from '@mui/material/Slider'; diff --git a/docs/data/charts/range-bar/RangeBarBorderRadius.tsx b/docs/data/charts/range-bar/RangeBarBorderRadius.tsx index 9e28b19602ea5..0884e65e9997c 100644 --- a/docs/data/charts/range-bar/RangeBarBorderRadius.tsx +++ b/docs/data/charts/range-bar/RangeBarBorderRadius.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import Stack from '@mui/material/Stack'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; import Slider from '@mui/material/Slider'; diff --git a/docs/data/charts/range-bar/RangeBarClick.js b/docs/data/charts/range-bar/RangeBarClick.js index 5edcb6e94616c..49db75387ac80 100644 --- a/docs/data/charts/range-bar/RangeBarClick.js +++ b/docs/data/charts/range-bar/RangeBarClick.js @@ -5,7 +5,7 @@ import Typography from '@mui/material/Typography'; import IconButton from '@mui/material/IconButton'; import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { BarChartPremium } from '@mui/x-charts-premium/BarChartPremium'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; const barChartsParams = { series: [ diff --git a/docs/data/charts/range-bar/RangeBarClick.tsx b/docs/data/charts/range-bar/RangeBarClick.tsx index fcf9b34e2e86a..fd992a5ff810f 100644 --- a/docs/data/charts/range-bar/RangeBarClick.tsx +++ b/docs/data/charts/range-bar/RangeBarClick.tsx @@ -8,7 +8,7 @@ import { BarChartPremium, RangeBarSeries, } from '@mui/x-charts-premium/BarChartPremium'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { BarItemIdentifier, ChartsAxisData } from '@mui/x-charts/models'; import { RangeBarItemIdentifier } from '@mui/x-charts-premium/models'; diff --git a/docs/data/charts/range-bar/RangeBarColorScale.js b/docs/data/charts/range-bar/RangeBarColorScale.js index 1a22b6820ee6b..03a237a3d29f4 100644 --- a/docs/data/charts/range-bar/RangeBarColorScale.js +++ b/docs/data/charts/range-bar/RangeBarColorScale.js @@ -2,7 +2,7 @@ import * as React from 'react'; import Stack from '@mui/material/Stack'; import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { BarChartPremium } from '@mui/x-charts-premium/BarChartPremium'; const series = [ diff --git a/docs/data/charts/range-bar/RangeBarColorScale.tsx b/docs/data/charts/range-bar/RangeBarColorScale.tsx index 083313e09439e..bbd6219bb666d 100644 --- a/docs/data/charts/range-bar/RangeBarColorScale.tsx +++ b/docs/data/charts/range-bar/RangeBarColorScale.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import Stack from '@mui/material/Stack'; import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { BarChartPremium, RangeBarSeries, diff --git a/docs/data/charts/sankey/SankeyClick.js b/docs/data/charts/sankey/SankeyClick.js index e93f5d95d2736..c64d7e470e5fd 100644 --- a/docs/data/charts/sankey/SankeyClick.js +++ b/docs/data/charts/sankey/SankeyClick.js @@ -5,7 +5,7 @@ import Typography from '@mui/material/Typography'; import IconButton from '@mui/material/IconButton'; import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { SankeyChart } from '@mui/x-charts-pro/SankeyChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; const getCircularReplacer = () => { const seen = new WeakSet(); diff --git a/docs/data/charts/sankey/SankeyClick.tsx b/docs/data/charts/sankey/SankeyClick.tsx index c05664d45740b..32d6bb11c0f3a 100644 --- a/docs/data/charts/sankey/SankeyClick.tsx +++ b/docs/data/charts/sankey/SankeyClick.tsx @@ -5,7 +5,7 @@ import Typography from '@mui/material/Typography'; import IconButton from '@mui/material/IconButton'; import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { SankeyChart, SankeyItemIdentifier } from '@mui/x-charts-pro/SankeyChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; const getCircularReplacer = () => { const seen = new WeakSet(); diff --git a/docs/data/charts/scatter/ColorScale.js b/docs/data/charts/scatter/ColorScale.js index a420d2e2f1f3b..df1906d012414 100644 --- a/docs/data/charts/scatter/ColorScale.js +++ b/docs/data/charts/scatter/ColorScale.js @@ -5,7 +5,7 @@ import Stack from '@mui/material/Stack'; import Typography from '@mui/material/Typography'; import ToggleButtonGroup from '@mui/material/ToggleButtonGroup'; import ToggleButton from '@mui/material/ToggleButton'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { Chance } from 'chance'; const POINTS_NUMBER = 50; diff --git a/docs/data/charts/scatter/ColorScale.tsx b/docs/data/charts/scatter/ColorScale.tsx index ea95dbb2f0754..c7ae7c10b8425 100644 --- a/docs/data/charts/scatter/ColorScale.tsx +++ b/docs/data/charts/scatter/ColorScale.tsx @@ -5,7 +5,7 @@ import Stack from '@mui/material/Stack'; import Typography from '@mui/material/Typography'; import ToggleButtonGroup from '@mui/material/ToggleButtonGroup'; import ToggleButton from '@mui/material/ToggleButton'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { Chance } from 'chance'; const POINTS_NUMBER = 50; diff --git a/docs/data/charts/scatter/ScatterClick.js b/docs/data/charts/scatter/ScatterClick.js index 3fe6cc989c3f0..7fbcba472303f 100644 --- a/docs/data/charts/scatter/ScatterClick.js +++ b/docs/data/charts/scatter/ScatterClick.js @@ -7,7 +7,7 @@ import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { ScatterChart } from '@mui/x-charts/ScatterChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; const scatterChartsParams = { series: [ diff --git a/docs/data/charts/scatter/ScatterClick.tsx b/docs/data/charts/scatter/ScatterClick.tsx index 1ad5e173868dd..759af4ff00618 100644 --- a/docs/data/charts/scatter/ScatterClick.tsx +++ b/docs/data/charts/scatter/ScatterClick.tsx @@ -7,7 +7,7 @@ import UndoOutlinedIcon from '@mui/icons-material/UndoOutlined'; import { ScatterChart } from '@mui/x-charts/ScatterChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { ScatterItemIdentifier } from '@mui/x-charts/models'; const scatterChartsParams = { diff --git a/docs/data/charts/tooltip/SortDemo.js b/docs/data/charts/tooltip/SortDemo.js index 8594683893b03..666b18d34d218 100644 --- a/docs/data/charts/tooltip/SortDemo.js +++ b/docs/data/charts/tooltip/SortDemo.js @@ -3,7 +3,7 @@ import Box from '@mui/material/Box'; import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; import { LineChart } from '@mui/x-charts/LineChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; const sortOptions = ['none', 'asc', 'desc']; diff --git a/docs/data/charts/tooltip/SortDemo.tsx b/docs/data/charts/tooltip/SortDemo.tsx index ca3ec0ff8c49b..64078e0c99a44 100644 --- a/docs/data/charts/tooltip/SortDemo.tsx +++ b/docs/data/charts/tooltip/SortDemo.tsx @@ -3,7 +3,7 @@ import Box from '@mui/material/Box'; import TextField from '@mui/material/TextField'; import MenuItem from '@mui/material/MenuItem'; import { LineChart } from '@mui/x-charts/LineChart'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; const sortOptions = ['none', 'asc', 'desc'] as const; diff --git a/docs/data/chartsApiPages.ts b/docs/data/chartsApiPages.ts index 93f10856269ff..22831fc077447 100644 --- a/docs/data/chartsApiPages.ts +++ b/docs/data/chartsApiPages.ts @@ -1,4 +1,4 @@ -import type { MuiPage } from '@mui/docs/MuiPage'; +import type { MuiPage } from '@mui/internal-core-docs/MuiPage'; const chartsApiPages: MuiPage[] = [ { diff --git a/docs/data/data-grid/events/CatalogOfEventsNoSnap.js b/docs/data/data-grid/events/CatalogOfEventsNoSnap.js index ac5913b3d52b3..bed4d4fdb2ce4 100644 --- a/docs/data/data-grid/events/CatalogOfEventsNoSnap.js +++ b/docs/data/data-grid/events/CatalogOfEventsNoSnap.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import Box from '@mui/material/Box'; import Typography from '@mui/material/Typography'; import { styled } from '@mui/material/styles'; diff --git a/docs/data/data-grid/overview/overview.md b/docs/data/data-grid/overview/overview.md index 3efb85260718a..7733e1b0b01a1 100644 --- a/docs/data/data-grid/overview/overview.md +++ b/docs/data/data-grid/overview/overview.md @@ -9,7 +9,7 @@ waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/grid/

A fast and extensible React data table and React data grid, with filtering, sorting, aggregation, and more.

-{{"component": "@mui/docs/ComponentLinkHeader"}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader"}} ## Overview diff --git a/docs/data/dataGridApiPages.ts b/docs/data/dataGridApiPages.ts index f00f50060e035..4d349d9cb1ee7 100644 --- a/docs/data/dataGridApiPages.ts +++ b/docs/data/dataGridApiPages.ts @@ -1,4 +1,4 @@ -import type { MuiPage } from '@mui/docs/MuiPage'; +import type { MuiPage } from '@mui/internal-core-docs/MuiPage'; const dataGridApiPages: MuiPage[] = [ { diff --git a/docs/data/date-pickers/base-concepts/ComponentExplorerNoSnap.js b/docs/data/date-pickers/base-concepts/ComponentExplorerNoSnap.js index c46c6e1ade84a..011f8b04eda50 100644 --- a/docs/data/date-pickers/base-concepts/ComponentExplorerNoSnap.js +++ b/docs/data/date-pickers/base-concepts/ComponentExplorerNoSnap.js @@ -1,6 +1,6 @@ import * as React from 'react'; // @ts-ignore -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { DemoContainer, DemoItem } from '@mui/x-date-pickers/internals/demo'; import Stack from '@mui/material/Stack'; import Box from '@mui/material/Box'; diff --git a/docs/data/date-pickers/base-concepts/ComponentExplorerNoSnap.tsx b/docs/data/date-pickers/base-concepts/ComponentExplorerNoSnap.tsx index 1d40f1cd2861e..b0b4162a736e2 100644 --- a/docs/data/date-pickers/base-concepts/ComponentExplorerNoSnap.tsx +++ b/docs/data/date-pickers/base-concepts/ComponentExplorerNoSnap.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; // @ts-ignore -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { DemoContainer, DemoItem } from '@mui/x-date-pickers/internals/demo'; import Stack from '@mui/material/Stack'; import Box from '@mui/material/Box'; diff --git a/docs/data/date-pickers/date-picker/CustomizationExamplesNoSnap.js b/docs/data/date-pickers/date-picker/CustomizationExamplesNoSnap.js index c61118d8584a6..731c76ff4fcea 100644 --- a/docs/data/date-pickers/date-picker/CustomizationExamplesNoSnap.js +++ b/docs/data/date-pickers/date-picker/CustomizationExamplesNoSnap.js @@ -4,7 +4,7 @@ import ToggleButton from '@mui/material/ToggleButton'; import ToggleButtonGroup from '@mui/material/ToggleButtonGroup'; import Stack from '@mui/material/Stack'; import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider'; -import { BrandingProvider } from '@mui/docs/branding'; +import { BrandingProvider } from '@mui/internal-core-docs/branding'; import CustomizationPlayground from 'docsx/src/modules/components/CustomizationPlayground'; import CircularProgress from '@mui/material/CircularProgress'; import { pickerExamples } from './examplesConfig.styling'; diff --git a/docs/data/datePickersApiPages.ts b/docs/data/datePickersApiPages.ts index 672007790fc68..4bebf9c19ff68 100644 --- a/docs/data/datePickersApiPages.ts +++ b/docs/data/datePickersApiPages.ts @@ -1,4 +1,4 @@ -import type { MuiPage } from '@mui/docs/MuiPage'; +import type { MuiPage } from '@mui/internal-core-docs/MuiPage'; const datePickersApiPages: MuiPage[] = [ { diff --git a/docs/data/pages.ts b/docs/data/pages.ts index 3b45e8d5c203d..45e1f233f5c8d 100644 --- a/docs/data/pages.ts +++ b/docs/data/pages.ts @@ -1,4 +1,4 @@ -import type { MuiPage } from '@mui/docs/MuiPage'; +import type { MuiPage } from '@mui/internal-core-docs/MuiPage'; import chartsComponentApi from './chartsApiPages'; import dataGridComponentApi from './dataGridApiPages'; import pickersComponentApi from './datePickersApiPages'; diff --git a/docs/data/scheduler/event-calendar/drag-interactions/drag-interactions.md b/docs/data/scheduler/event-calendar/drag-interactions/drag-interactions.md index 302b0d8a6c623..78a227d37f5c9 100644 --- a/docs/data/scheduler/event-calendar/drag-interactions/drag-interactions.md +++ b/docs/data/scheduler/event-calendar/drag-interactions/drag-interactions.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Re-schedule or resize your events using drag and drop.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} Events can be moved to a different time slot by dragging them, and resized by dragging their start or end edge. Both behaviors are enabled by default: diff --git a/docs/data/scheduler/event-calendar/editing/editing.md b/docs/data/scheduler/event-calendar/editing/editing.md index 30985f47a4ced..b358abb794691 100644 --- a/docs/data/scheduler/event-calendar/editing/editing.md +++ b/docs/data/scheduler/event-calendar/editing/editing.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Configure how events are created and edited.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Event creation diff --git a/docs/data/scheduler/event-calendar/events/events.md b/docs/data/scheduler/event-calendar/events/events.md index 9f22aa75d5d2d..0caff22b9a435 100644 --- a/docs/data/scheduler/event-calendar/events/events.md +++ b/docs/data/scheduler/event-calendar/events/events.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Define events for your Event Calendar.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Event properties diff --git a/docs/data/scheduler/event-calendar/filtering/filtering.md b/docs/data/scheduler/event-calendar/filtering/filtering.md index a95bb1a602e34..cb412d4fec7b1 100644 --- a/docs/data/scheduler/event-calendar/filtering/filtering.md +++ b/docs/data/scheduler/event-calendar/filtering/filtering.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Search and filter events in the Event Calendar.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Event search [](/x/introduction/licensing/#premium-plan 'Premium plan') 🚧 diff --git a/docs/data/scheduler/event-calendar/import-export/import-export.md b/docs/data/scheduler/event-calendar/import-export/import-export.md index 21e2eff921944..e205187fa983a 100644 --- a/docs/data/scheduler/event-calendar/import-export/import-export.md +++ b/docs/data/scheduler/event-calendar/import-export/import-export.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Import and export events from the Event Calendar.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## ICS import / export [](/x/introduction/licensing/#premium-plan 'Premium plan') 🚧 diff --git a/docs/data/scheduler/event-calendar/lazy-loading/lazy-loading.md b/docs/data/scheduler/event-calendar/lazy-loading/lazy-loading.md index e7648a6cb8fe3..7902d09d2b5ba 100644 --- a/docs/data/scheduler/event-calendar/lazy-loading/lazy-loading.md +++ b/docs/data/scheduler/event-calendar/lazy-loading/lazy-loading.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

The `dataSource` prop accepts a `getEvents()` method to lazily load events.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} Instead of loading all events upfront, you can use the `dataSource` prop to fetch events on demand as the user navigates between dates and views. The `dataSource.getEvents(start, end)` method is called whenever the visible date range changes, so only the events needed for the current view are fetched. diff --git a/docs/data/scheduler/event-calendar/localization/localization.md b/docs/data/scheduler/event-calendar/localization/localization.md index bd47da1ae1fd7..b829d8f24a672 100644 --- a/docs/data/scheduler/event-calendar/localization/localization.md +++ b/docs/data/scheduler/event-calendar/localization/localization.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

The Event Calendar's localization features provide the appropriate translations for users around the world.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} The default locale of MUI X is English (United States). To use other locales, follow the instructions below. diff --git a/docs/data/scheduler/event-calendar/navigation/navigation.md b/docs/data/scheduler/event-calendar/navigation/navigation.md index 92ca4bad6c3f2..175f7766bd569 100644 --- a/docs/data/scheduler/event-calendar/navigation/navigation.md +++ b/docs/data/scheduler/event-calendar/navigation/navigation.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Navigate in time to find the events you are looking for.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Default visible date diff --git a/docs/data/scheduler/event-calendar/preferences/preferences.md b/docs/data/scheduler/event-calendar/preferences/preferences.md index 9a5bbf06c995c..907ae2b127c0d 100644 --- a/docs/data/scheduler/event-calendar/preferences/preferences.md +++ b/docs/data/scheduler/event-calendar/preferences/preferences.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Let your user customize the component to their needs.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Initialize the preferences diff --git a/docs/data/scheduler/event-calendar/resources/resources.md b/docs/data/scheduler/event-calendar/resources/resources.md index 87ed52afdc638..c5afa5dae747b 100644 --- a/docs/data/scheduler/event-calendar/resources/resources.md +++ b/docs/data/scheduler/event-calendar/resources/resources.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Define the properties of your events.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Define resources diff --git a/docs/data/scheduler/event-calendar/views/views.md b/docs/data/scheduler/event-calendar/views/views.md index 95045b844d091..0822c99191a8c 100644 --- a/docs/data/scheduler/event-calendar/views/views.md +++ b/docs/data/scheduler/event-calendar/views/views.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Choose which views are available in the Event Calendar.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## All views diff --git a/docs/data/scheduler/event-timeline/drag-interactions/drag-interactions.md b/docs/data/scheduler/event-timeline/drag-interactions/drag-interactions.md index 35f7f5f236872..08af1723b5e96 100644 --- a/docs/data/scheduler/event-timeline/drag-interactions/drag-interactions.md +++ b/docs/data/scheduler/event-timeline/drag-interactions/drag-interactions.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Re-schedule or resize your events using drag and drop.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} Events can be moved to a different time slot by dragging them, and resized by dragging their start or end edge. Both behaviors are enabled by default: diff --git a/docs/data/scheduler/event-timeline/editing/editing.md b/docs/data/scheduler/event-timeline/editing/editing.md index 63fcab1dafd6c..fc33a052df09b 100644 --- a/docs/data/scheduler/event-timeline/editing/editing.md +++ b/docs/data/scheduler/event-timeline/editing/editing.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Configure how events are created and edited.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Event creation diff --git a/docs/data/scheduler/event-timeline/events/events.md b/docs/data/scheduler/event-timeline/events/events.md index eb3fbc4ad0c5d..a03612bee6df9 100644 --- a/docs/data/scheduler/event-timeline/events/events.md +++ b/docs/data/scheduler/event-timeline/events/events.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Define events for your Event Timeline.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Event properties diff --git a/docs/data/scheduler/event-timeline/filtering/filtering.md b/docs/data/scheduler/event-timeline/filtering/filtering.md index a788a9f1fe8c0..c22a559340860 100644 --- a/docs/data/scheduler/event-timeline/filtering/filtering.md +++ b/docs/data/scheduler/event-timeline/filtering/filtering.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Search and filter events in the Event Timeline.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Event search 🚧 diff --git a/docs/data/scheduler/event-timeline/import-export/import-export.md b/docs/data/scheduler/event-timeline/import-export/import-export.md index 9a870a12c3641..d73702ba586d3 100644 --- a/docs/data/scheduler/event-timeline/import-export/import-export.md +++ b/docs/data/scheduler/event-timeline/import-export/import-export.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Import and export events from the Event Timeline.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## ICS import / export 🚧 diff --git a/docs/data/scheduler/event-timeline/lazy-loading/lazy-loading.md b/docs/data/scheduler/event-timeline/lazy-loading/lazy-loading.md index c63aa6ccc3b33..5d6535ac3462b 100644 --- a/docs/data/scheduler/event-timeline/lazy-loading/lazy-loading.md +++ b/docs/data/scheduler/event-timeline/lazy-loading/lazy-loading.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Lazily load events for the Event Timeline.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} :::warning This feature isn't available yet, but it is planned — you can 👍 upvote [this GitHub issue](https://github.com/mui/mui-x/issues/21143) to help us prioritize it. diff --git a/docs/data/scheduler/event-timeline/localization/localization.md b/docs/data/scheduler/event-timeline/localization/localization.md index 227265860c16b..939b24b761aeb 100644 --- a/docs/data/scheduler/event-timeline/localization/localization.md +++ b/docs/data/scheduler/event-timeline/localization/localization.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

The Event Timeline's localization features provide the appropriate translations for users around the world.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} The default locale of MUI X is English (United States). To use other locales, follow the instructions below. diff --git a/docs/data/scheduler/event-timeline/navigation/navigation.md b/docs/data/scheduler/event-timeline/navigation/navigation.md index a934ac2a85381..5ee7d719803e2 100644 --- a/docs/data/scheduler/event-timeline/navigation/navigation.md +++ b/docs/data/scheduler/event-timeline/navigation/navigation.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Navigate in time to find the events you are looking for.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Default visible date diff --git a/docs/data/scheduler/event-timeline/preferences/preferences.md b/docs/data/scheduler/event-timeline/preferences/preferences.md index 7033590b1dea0..c2bcd21e2e665 100644 --- a/docs/data/scheduler/event-timeline/preferences/preferences.md +++ b/docs/data/scheduler/event-timeline/preferences/preferences.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Let your user customize the component to their needs.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Initialize the preferences diff --git a/docs/data/scheduler/event-timeline/resources/resources.md b/docs/data/scheduler/event-timeline/resources/resources.md index b386eb687a079..b246713d01867 100644 --- a/docs/data/scheduler/event-timeline/resources/resources.md +++ b/docs/data/scheduler/event-timeline/resources/resources.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Define the properties of your events.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Define resources diff --git a/docs/data/scheduler/event-timeline/views/views.md b/docs/data/scheduler/event-timeline/views/views.md index 998872da54a8b..57de74729f8ed 100644 --- a/docs/data/scheduler/event-timeline/views/views.md +++ b/docs/data/scheduler/event-timeline/views/views.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

The Event Timeline Premium supports several zoom levels to display events at different time scales.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Time view diff --git a/docs/data/scheduler/event-timeline/virtualization/virtualization.md b/docs/data/scheduler/event-timeline/virtualization/virtualization.md index 377bdc13f9f69..92be84747b304 100644 --- a/docs/data/scheduler/event-timeline/virtualization/virtualization.md +++ b/docs/data/scheduler/event-timeline/virtualization/virtualization.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Virtualize the Event Timeline for better performance with large datasets.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} :::warning This feature isn't available yet, but it is planned — you can 👍 upvote [this GitHub issue](https://github.com/mui/mui-x/issues/21458) to help us prioritize it. diff --git a/docs/data/scheduler/overview/overview.md b/docs/data/scheduler/overview/overview.md index d7be388d2795e..502b0629220a4 100644 --- a/docs/data/scheduler/overview/overview.md +++ b/docs/data/scheduler/overview/overview.md @@ -11,7 +11,7 @@ githubLabel: 'scope: scheduler'

A collection of React UI components to schedule your events.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} {{"component": "modules/components/overview/scheduler/mainDemo/MainDemo.tsx"}} {{"component": "modules/components/overview/scheduler/SchedulerFeaturesHighlight.tsx"}} diff --git a/docs/data/scheduler/recurring-events/recurring-events.md b/docs/data/scheduler/recurring-events/recurring-events.md index a6b467d213b83..c66530a9186ab 100644 --- a/docs/data/scheduler/recurring-events/recurring-events.md +++ b/docs/data/scheduler/recurring-events/recurring-events.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Define recurring events.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} You can use the `rrule` property on your event model to define its repeating pattern using the [RFC 5545 RRULE](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10) string format: diff --git a/docs/data/scheduler/timezone/timezone.md b/docs/data/scheduler/timezone/timezone.md index c6710e1594fa4..704cc791aeebd 100644 --- a/docs/data/scheduler/timezone/timezone.md +++ b/docs/data/scheduler/timezone/timezone.md @@ -9,7 +9,7 @@ githubLabel: 'scope: scheduler'

Display events correctly across different timezones.

-{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} +{{"component": "@mui/internal-core-docs/ComponentLinkHeader", "design": false}} ## Overview diff --git a/docs/data/treeViewApiPages.ts b/docs/data/treeViewApiPages.ts index 7ad78e775c003..d990881b6ccac 100644 --- a/docs/data/treeViewApiPages.ts +++ b/docs/data/treeViewApiPages.ts @@ -1,4 +1,4 @@ -import type { MuiPage } from '@mui/docs/MuiPage'; +import type { MuiPage } from '@mui/internal-core-docs/MuiPage'; const treeViewApiPages: MuiPage[] = [ { diff --git a/docs/docs-env.d.ts b/docs/docs-env.d.ts index 267be4b794ac2..d27f76c24414b 100644 --- a/docs/docs-env.d.ts +++ b/docs/docs-env.d.ts @@ -1 +1 @@ -import '@mui/docs/webpack'; +import '@mui/internal-core-docs/webpack'; diff --git a/docs/next.config.ts b/docs/next.config.ts index cb96ff2ee6485..cc370cb5c80a1 100644 --- a/docs/next.config.ts +++ b/docs/next.config.ts @@ -37,7 +37,7 @@ const require = createRequire(import.meta.url); const WORKSPACE_ROOT = path.resolve(currentDirectory, '../'); const MONOREPO_PATH = path.resolve(WORKSPACE_ROOT, './node_modules/@mui/monorepo'); const MONOREPO_ALIASES = { - '@mui/docs': path.resolve(MONOREPO_PATH, './packages/mui-docs/src'), + '@mui/internal-core-docs': path.resolve(MONOREPO_PATH, './packages-internal/core-docs/src'), }; function loadPkg(pkgPath: string): { version: string } { @@ -72,8 +72,8 @@ export default withDeploymentConfig({ }, transpilePackages: [ // TODO, those shouldn't be needed in the first place - '@mui/monorepo', // Migrate everything to @mui/docs until the @mui/monorepo dependency becomes obsolete - '@mui/docs', // needed to fix slashes in the generated links (https://github.com/mui/mui-x/pull/13713#issuecomment-2205591461, ) + '@mui/monorepo', // Migrate everything to @mui/internal-core-docs until the @mui/monorepo dependency becomes obsolete + '@mui/internal-core-docs', // needed to fix slashes in the generated links (https://github.com/mui/mui-x/pull/13713#issuecomment-2205591461, ) ], // Avoid conflicts with the other Next.js apps hosted under https://mui.com/ assetPrefix: process.env.DEPLOY_ENV === 'development' ? undefined : '/x', diff --git a/docs/pages/_app.tsx b/docs/pages/_app.tsx index 804e32abe81a9..19ca95ecbd95d 100644 --- a/docs/pages/_app.tsx +++ b/docs/pages/_app.tsx @@ -1,18 +1,18 @@ import 'docsx/src/bootstrap'; // --- Post bootstrap ----- import * as React from 'react'; -import type { DocsAppProps } from '@mui/docs/DocsApp'; +import type { DocsAppProps } from '@mui/internal-core-docs/DocsApp'; import { DocsApp, createGetInitialProps, printConsoleBanner, reportWebVitals, -} from '@mui/docs/DocsApp'; -import { ThemeProvider } from '@mui/docs/ThemeContext'; -import findActivePage from '@mui/docs/findActivePage'; -import getProductInfoFromUrl from '@mui/docs/getProductInfoFromUrl'; -import { pathnameToLanguage } from '@mui/docs/helpers'; -import { Translations } from '@mui/docs/i18n'; +} from '@mui/internal-core-docs/DocsApp'; +import { ThemeProvider } from '@mui/internal-core-docs/ThemeContext'; +import findActivePage from '@mui/internal-core-docs/findActivePage'; +import getProductInfoFromUrl from '@mui/internal-core-docs/getProductInfoFromUrl'; +import { pathnameToLanguage } from '@mui/internal-core-docs/helpers'; +import { Translations } from '@mui/internal-core-docs/i18n'; import { LicenseInfo } from '@mui/x-license'; import { muiXTelemetrySettings } from '@mui/x-telemetry'; import xPages from 'docsx/data/pages'; // DO NOT REMOVE @@ -22,7 +22,7 @@ import { useRouter } from 'next/router'; import * as config from '../config'; -export { fontClasses } from '@mui/docs/nextFonts'; +export { fontClasses } from '@mui/internal-core-docs/nextFonts'; // Enable telemetry for internal purposes muiXTelemetrySettings.enableTelemetry(); diff --git a/docs/pages/_document.tsx b/docs/pages/_document.tsx index 9b5249ed1e4c6..f7379ccd2cdb0 100644 --- a/docs/pages/_document.tsx +++ b/docs/pages/_document.tsx @@ -1,6 +1,6 @@ import NextDocument from 'next/document'; -import { Document, createGetInitialProps } from '@mui/docs/Document'; -import type { DocumentProps } from '@mui/docs/Document'; +import { Document, createGetInitialProps } from '@mui/internal-core-docs/Document'; +import type { DocumentProps } from '@mui/internal-core-docs/Document'; export default class MuiXDocument extends NextDocument { static getInitialProps = createGetInitialProps({ setupStyledComponents: false }); diff --git a/docs/scripts/api/utils.ts b/docs/scripts/api/utils.ts index 3f6c2dc9b15b0..6e38a5aa38f5a 100644 --- a/docs/scripts/api/utils.ts +++ b/docs/scripts/api/utils.ts @@ -8,9 +8,9 @@ import { getSymbolJSDocTags as getSymbolJSDocTagsBase, formatType, stringifySymbol as stringifySymbolBase, -} from '@mui/monorepo/packages/api-docs-builder/buildApiUtils'; +} from '@mui/monorepo/packages-internal/api-docs-builder/buildApiUtils'; // eslint-disable-next-line no-restricted-imports -import resolveExportSpecifierBase from '@mui/monorepo/packages/api-docs-builder/utils/resolveExportSpecifier'; +import resolveExportSpecifierBase from '@mui/monorepo/packages-internal/api-docs-builder/utils/resolveExportSpecifier'; import { XTypeScriptProject, XProjectNames } from '../createXTypeScriptProjects'; import { resolvePrettierConfigPath } from '../utils'; diff --git a/docs/scripts/i18n.js b/docs/scripts/i18n.js index 54e57b0bfc02e..9f8283c4f4ab8 100644 --- a/docs/scripts/i18n.js +++ b/docs/scripts/i18n.js @@ -1,7 +1,7 @@ /* eslint-disable no-console */ import path from 'path'; import fs from 'node:fs/promises'; -import { pageToTitle } from '@mui/docs/helpers'; +import { pageToTitle } from '@mui/internal-core-docs/helpers'; import pages from 'docs/data/docs/pages'; async function run() { diff --git a/docs/src/modules/components/ApiDocs.js b/docs/src/modules/components/ApiDocs.js index e640ef3645820..0c088c304c513 100644 --- a/docs/src/modules/components/ApiDocs.js +++ b/docs/src/modules/components/ApiDocs.js @@ -7,7 +7,7 @@ import AccordionDetails from '@mui/material/AccordionDetails'; import Typography from '@mui/material/Typography'; import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; import PropTypes from 'prop-types'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; const PrimaryHeading = styled(Typography)(({ theme }) => ({ fontSize: theme.typography.pxToRem(15), diff --git a/docs/src/modules/components/ChartComponentsGrid.js b/docs/src/modules/components/ChartComponentsGrid.js index 912df5962f3b2..1ebef57e60c7e 100644 --- a/docs/src/modules/components/ChartComponentsGrid.js +++ b/docs/src/modules/components/ChartComponentsGrid.js @@ -1,6 +1,6 @@ import Chip from '@mui/material/Chip'; import Stack from '@mui/material/Stack'; -import { Link } from '@mui/docs/Link'; +import { Link } from '@mui/internal-core-docs/Link'; import List from '@mui/material/List'; import ListItem from '@mui/material/ListItem'; import ListItemText from '@mui/material/ListItemText'; diff --git a/docs/src/modules/components/ChartComponentsUpcoming.js b/docs/src/modules/components/ChartComponentsUpcoming.js index 9fbbcf6b3e10c..327f2cf16b504 100644 --- a/docs/src/modules/components/ChartComponentsUpcoming.js +++ b/docs/src/modules/components/ChartComponentsUpcoming.js @@ -1,6 +1,6 @@ import Chip from '@mui/material/Chip'; import Stack from '@mui/material/Stack'; -import { Link } from '@mui/docs/Link'; +import { Link } from '@mui/internal-core-docs/Link'; import List from '@mui/material/List'; import ListItem from '@mui/material/ListItem'; import ListItemText from '@mui/material/ListItemText'; diff --git a/docs/src/modules/components/ChartFeaturesGrid.js b/docs/src/modules/components/ChartFeaturesGrid.js index 5822cb0fe5071..16d7cecd7b65a 100644 --- a/docs/src/modules/components/ChartFeaturesGrid.js +++ b/docs/src/modules/components/ChartFeaturesGrid.js @@ -1,5 +1,5 @@ import Grid from '@mui/material/Grid'; -import { InfoCard } from '@mui/docs/InfoCard'; +import { InfoCard } from '@mui/internal-core-docs/InfoCard'; import ChatBubbleRoundedIcon from '@mui/icons-material/ChatBubble'; import DashboardCustomizeRoundedIcon from '@mui/icons-material/DashboardCustomizeRounded'; import ExtensionRoundedIcon from '@mui/icons-material/Extension'; diff --git a/docs/src/modules/components/ChartsUsageDemo.tsx b/docs/src/modules/components/ChartsUsageDemo.tsx index acaefe0e3e230..1a3e8e97daaf2 100644 --- a/docs/src/modules/components/ChartsUsageDemo.tsx +++ b/docs/src/modules/components/ChartsUsageDemo.tsx @@ -1,8 +1,8 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import Box from '@mui/material/Box'; -import { BrandingProvider } from '@mui/docs/branding'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { BrandingProvider } from '@mui/internal-core-docs/branding'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import DemoPropsForm, { DataType, PropsFromData } from './DemoPropsForm'; export type ChartsUsageDemoProps, Props> = { diff --git a/docs/src/modules/components/CustomizationPlayground.tsx b/docs/src/modules/components/CustomizationPlayground.tsx index 2878ec7166d83..56bd45e9bccc8 100644 --- a/docs/src/modules/components/CustomizationPlayground.tsx +++ b/docs/src/modules/components/CustomizationPlayground.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; -import { BrandingProvider } from '@mui/docs/branding'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; +import { BrandingProvider } from '@mui/internal-core-docs/branding'; import { styled, Theme, alpha, useTheme } from '@mui/material/styles'; import useMediaQuery from '@mui/material/useMediaQuery'; import Tabs from '@mui/material/Tabs'; diff --git a/docs/src/modules/components/InstallationGrid.js b/docs/src/modules/components/InstallationGrid.js index 80a445e8d7920..fc50651b7251f 100644 --- a/docs/src/modules/components/InstallationGrid.js +++ b/docs/src/modules/components/InstallationGrid.js @@ -1,5 +1,5 @@ import Grid from '@mui/material/Grid'; -import { InfoCard } from '@mui/docs/InfoCard'; +import { InfoCard } from '@mui/internal-core-docs/InfoCard'; import AccountTreeRounded from '@mui/icons-material/AccountTreeRounded'; import PivotTableChartRoundedIcon from '@mui/icons-material/PivotTableChartRounded'; import CalendarMonthRoundedIcon from '@mui/icons-material/CalendarMonthRounded'; diff --git a/docs/src/modules/components/InstallationInstructions.tsx b/docs/src/modules/components/InstallationInstructions.tsx index 60c01700510fd..0134c508ace6d 100644 --- a/docs/src/modules/components/InstallationInstructions.tsx +++ b/docs/src/modules/components/InstallationInstructions.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import HighlightedCodeWithTabs from '@mui/docs/HighlightedCodeWithTabs'; +import HighlightedCodeWithTabs from '@mui/internal-core-docs/HighlightedCodeWithTabs'; import Box from '@mui/material/Box'; import ToggleOptions from './ToggleOptions'; diff --git a/docs/src/modules/components/InterfaceApiPage.tsx b/docs/src/modules/components/InterfaceApiPage.tsx index 95cf73fc06352..56f59990fc6d5 100644 --- a/docs/src/modules/components/InterfaceApiPage.tsx +++ b/docs/src/modules/components/InterfaceApiPage.tsx @@ -6,18 +6,18 @@ import Typography from '@mui/material/Typography'; import Alert from '@mui/material/Alert'; import VerifiedRoundedIcon from '@mui/icons-material/VerifiedRounded'; import { alpha } from '@mui/material/styles'; -import { Translate, useTranslate, useUserLanguage } from '@mui/docs/i18n'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; -import { MarkdownElement } from '@mui/docs/MarkdownElement'; -import { SectionTitle, SectionTitleProps } from '@mui/docs/SectionTitle'; -import AppLayoutDocs from 'docs/src/modules/components/AppLayoutDocs'; -import PropertiesSection from 'docs/src/modules/components/ApiPage/sections/PropertiesSection'; -import { PropertyDefinition } from 'docs/src/modules/components/ApiPage/definitions/properties'; -import { LayoutStorageKeys } from 'docs/src/modules/components/ApiPage'; +import { Translate, useTranslate, useUserLanguage } from '@mui/internal-core-docs/i18n'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; +import { MarkdownElement } from '@mui/internal-core-docs/MarkdownElement'; +import { LayoutStorageKeys } from '@mui/internal-core-docs/ApiPage'; import { + PropertiesSection, + PropertyDefinition, DEFAULT_API_LAYOUT_STORAGE_KEYS, - ApiDisplayOptions, -} from 'docs/src/modules/components/ApiPage/sections/ToggleDisplayOption'; + ApiDisplayLayout, +} from '@mui/internal-core-docs/ApiPage/private'; +import { SectionTitle, SectionTitleProps } from '@mui/internal-core-docs/SectionTitle'; +import AppLayoutDocs from 'docs/src/modules/components/AppLayoutDocs'; import { InterfaceApiTranslation, InterfaceApiContent, @@ -56,7 +56,7 @@ interface ApiPageProps { }; }; pageContent: InterfaceApiContent; - defaultLayout?: ApiDisplayOptions; + defaultLayout?: ApiDisplayLayout; /** * The localStorage key used to save the user layout for each section. * It's useful to dave different preferences on different pages. diff --git a/docs/src/modules/components/LocalizationTable.js b/docs/src/modules/components/LocalizationTable.js index 119b68ab3969e..9720aa114ef00 100644 --- a/docs/src/modules/components/LocalizationTable.js +++ b/docs/src/modules/components/LocalizationTable.js @@ -1,8 +1,8 @@ import PropTypes from 'prop-types'; import clsx from 'clsx'; import { styled } from '@mui/material/styles'; -import { Link } from '@mui/docs/Link'; -import { MarkdownElement } from '@mui/docs/MarkdownElement'; +import { Link } from '@mui/internal-core-docs/Link'; +import { MarkdownElement } from '@mui/internal-core-docs/MarkdownElement'; const Root = styled('div')(({ theme }) => ({ position: 'relative', diff --git a/docs/src/modules/components/PickersRenderingInstructions.js b/docs/src/modules/components/PickersRenderingInstructions.js index 6a79e5280e4ad..79aced3755416 100644 --- a/docs/src/modules/components/PickersRenderingInstructions.js +++ b/docs/src/modules/components/PickersRenderingInstructions.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import Stack from '@mui/material/Stack'; import ToggleOptions from './ToggleOptions'; diff --git a/docs/src/modules/components/SelectorsDocs.js b/docs/src/modules/components/SelectorsDocs.js index cc21c0444ba0b..e26d694d72855 100644 --- a/docs/src/modules/components/SelectorsDocs.js +++ b/docs/src/modules/components/SelectorsDocs.js @@ -7,8 +7,8 @@ import AccordionDetails from '@mui/material/AccordionDetails'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; -import { MarkdownElement } from '@mui/docs/MarkdownElement'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; +import { MarkdownElement } from '@mui/internal-core-docs/MarkdownElement'; import allSelectors from 'docsx/pages/x/api/data-grid/selectors.json'; const SelectorDetails = styled(AccordionDetails)({ diff --git a/docs/src/modules/components/overview/XLogo.tsx b/docs/src/modules/components/overview/XLogo.tsx index 17343ea59fac4..c07338617bfeb 100644 --- a/docs/src/modules/components/overview/XLogo.tsx +++ b/docs/src/modules/components/overview/XLogo.tsx @@ -1,5 +1,5 @@ import Typography from '@mui/material/Typography'; -import IconImage from '@mui/docs/IconImage'; +import IconImage from '@mui/internal-core-docs/IconImage'; export default function XLogo() { return ( diff --git a/docs/src/modules/components/overview/charts/ChartDemoNavigator.tsx b/docs/src/modules/components/overview/charts/ChartDemoNavigator.tsx index 5a3a3fc5a1212..434f1aba94836 100644 --- a/docs/src/modules/components/overview/charts/ChartDemoNavigator.tsx +++ b/docs/src/modules/components/overview/charts/ChartDemoNavigator.tsx @@ -5,7 +5,7 @@ import Box from '@mui/material/Box'; import { useTheme } from '@mui/material/styles'; import useMediaQuery from '@mui/material/useMediaQuery'; import Typography from '@mui/material/Typography'; -import SectionHeadline from '@mui/docs/SectionHeadline'; +import SectionHeadline from '@mui/internal-core-docs/SectionHeadline'; import InfoCard from '../InfoCard'; export interface DemoDescription { diff --git a/docs/src/modules/components/overview/charts/ChartDemoWrapper.tsx b/docs/src/modules/components/overview/charts/ChartDemoWrapper.tsx index 286866385a453..67e6d0b5510fe 100644 --- a/docs/src/modules/components/overview/charts/ChartDemoWrapper.tsx +++ b/docs/src/modules/components/overview/charts/ChartDemoWrapper.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import Stack from '@mui/material/Stack'; import Box from '@mui/material/Box'; import { createTheme, ThemeOptions, ThemeProvider, useTheme } from '@mui/material/styles'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import DemoWrapper from '../DemoWrapper'; import { getTheme } from './theme/getTheme'; diff --git a/docs/src/modules/components/overview/charts/featuresHighlight/FeaturesHighlight.tsx b/docs/src/modules/components/overview/charts/featuresHighlight/FeaturesHighlight.tsx index 89c0527e3147b..a78ee2cbb29d7 100644 --- a/docs/src/modules/components/overview/charts/featuresHighlight/FeaturesHighlight.tsx +++ b/docs/src/modules/components/overview/charts/featuresHighlight/FeaturesHighlight.tsx @@ -3,7 +3,7 @@ import Paper from '@mui/material/Paper'; import Stack from '@mui/material/Stack'; import Divider from '@mui/material/Divider'; import Typography from '@mui/material/Typography'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import ColorPaletteSequence from './ColorPaletteSequence'; import BarChartToggle from './BarChartToggle/BarChartToggle'; import ZoomAndPan from './ZoomAndPan/ZoomAndPan'; diff --git a/docs/src/modules/components/overview/pickers/DateLibraries.tsx b/docs/src/modules/components/overview/pickers/DateLibraries.tsx index ccb24d4605c8b..60bc37786e12f 100644 --- a/docs/src/modules/components/overview/pickers/DateLibraries.tsx +++ b/docs/src/modules/components/overview/pickers/DateLibraries.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; -import SectionHeadline from '@mui/docs/SectionHeadline'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import SectionHeadline from '@mui/internal-core-docs/SectionHeadline'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import Box from '@mui/material/Box'; import Button from '@mui/material/Button'; import Divider from '@mui/material/Divider'; diff --git a/docs/src/modules/components/overview/pickers/Internationalization.tsx b/docs/src/modules/components/overview/pickers/Internationalization.tsx index f11e59e82ecc3..bed8ca4ab8fce 100644 --- a/docs/src/modules/components/overview/pickers/Internationalization.tsx +++ b/docs/src/modules/components/overview/pickers/Internationalization.tsx @@ -5,7 +5,7 @@ import 'dayjs/locale/zh-cn'; import utc from 'dayjs/plugin/utc'; import timezone from 'dayjs/plugin/timezone'; import { createTheme, ThemeProvider, useTheme } from '@mui/material/styles'; -import SectionHeadline from '@mui/docs/SectionHeadline'; +import SectionHeadline from '@mui/internal-core-docs/SectionHeadline'; import Divider from '@mui/material/Divider'; import Paper from '@mui/material/Paper'; import Stack from '@mui/material/Stack'; diff --git a/docs/src/modules/components/overview/pickers/PickersKeyboard.tsx b/docs/src/modules/components/overview/pickers/PickersKeyboard.tsx index 5a765cceeffbc..6f0f9f9800742 100644 --- a/docs/src/modules/components/overview/pickers/PickersKeyboard.tsx +++ b/docs/src/modules/components/overview/pickers/PickersKeyboard.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import dayjs from 'dayjs'; -import SectionHeadline from '@mui/docs/SectionHeadline'; +import SectionHeadline from '@mui/internal-core-docs/SectionHeadline'; import Button from '@mui/material/Button'; import Divider from '@mui/material/Divider'; import Stack from '@mui/material/Stack'; diff --git a/docs/src/modules/components/overview/tree-view/advancedFeatures/AdvancedFeatures.tsx b/docs/src/modules/components/overview/tree-view/advancedFeatures/AdvancedFeatures.tsx index 2df56ce617548..30f9e24d78ee6 100644 --- a/docs/src/modules/components/overview/tree-view/advancedFeatures/AdvancedFeatures.tsx +++ b/docs/src/modules/components/overview/tree-view/advancedFeatures/AdvancedFeatures.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import Divider from '@mui/material/Divider'; import Stack from '@mui/material/Stack'; import Typography from '@mui/material/Typography'; -import SectionHeadline from '@mui/docs/SectionHeadline'; +import SectionHeadline from '@mui/internal-core-docs/SectionHeadline'; import InfoCard from '../../InfoCard'; import LabelEditingDemo from './LabelEditingDemo'; import DragAndDropDemo from './DragAndDropDemo'; diff --git a/docs/src/modules/components/overview/tree-view/advancedFeatures/DragAndDropDemo.tsx b/docs/src/modules/components/overview/tree-view/advancedFeatures/DragAndDropDemo.tsx index 50c65c8bc181a..bfdc223c2a8bd 100644 --- a/docs/src/modules/components/overview/tree-view/advancedFeatures/DragAndDropDemo.tsx +++ b/docs/src/modules/components/overview/tree-view/advancedFeatures/DragAndDropDemo.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { createTheme, ThemeProvider, useTheme } from '@mui/material/styles'; import Stack from '@mui/material/Stack'; import Box from '@mui/material/Box'; diff --git a/docs/src/modules/components/overview/tree-view/advancedFeatures/LabelEditingDemo.tsx b/docs/src/modules/components/overview/tree-view/advancedFeatures/LabelEditingDemo.tsx index e2ba8931f65fe..57b372b02fdd3 100644 --- a/docs/src/modules/components/overview/tree-view/advancedFeatures/LabelEditingDemo.tsx +++ b/docs/src/modules/components/overview/tree-view/advancedFeatures/LabelEditingDemo.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { createTheme, ThemeProvider, useTheme } from '@mui/material/styles'; import Box from '@mui/material/Box'; import Stack from '@mui/material/Stack'; diff --git a/docs/src/modules/components/overview/tree-view/advancedFeatures/LazyLoadingDemo.tsx b/docs/src/modules/components/overview/tree-view/advancedFeatures/LazyLoadingDemo.tsx index 5e28abae0f7f2..453c710203626 100644 --- a/docs/src/modules/components/overview/tree-view/advancedFeatures/LazyLoadingDemo.tsx +++ b/docs/src/modules/components/overview/tree-view/advancedFeatures/LazyLoadingDemo.tsx @@ -1,4 +1,4 @@ -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { createTheme, ThemeProvider, useTheme } from '@mui/material/styles'; import Stack from '@mui/material/Stack'; import Box from '@mui/material/Box'; diff --git a/docs/src/modules/components/overview/tree-view/mainDemo/github/GitHubFiles.tsx b/docs/src/modules/components/overview/tree-view/mainDemo/github/GitHubFiles.tsx index 47d6d7f804c44..e6d6b6d6afdc2 100644 --- a/docs/src/modules/components/overview/tree-view/mainDemo/github/GitHubFiles.tsx +++ b/docs/src/modules/components/overview/tree-view/mainDemo/github/GitHubFiles.tsx @@ -5,7 +5,7 @@ import Stack from '@mui/material/Stack'; import Typography from '@mui/material/Typography'; import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; import SquareRoundedIcon from '@mui/icons-material/SquareRounded'; -import { HighlightedCode } from '@mui/docs/HighlightedCode'; +import { HighlightedCode } from '@mui/internal-core-docs/HighlightedCode'; import { styled } from '@mui/material/styles'; import { leafItemGroups } from './items'; diff --git a/docs/src/modules/utils/mapApiPageTranslations.js b/docs/src/modules/utils/mapApiPageTranslations.js index 407cfbd2217ed..918fd365956f2 100644 --- a/docs/src/modules/utils/mapApiPageTranslations.js +++ b/docs/src/modules/utils/mapApiPageTranslations.js @@ -1,4 +1,4 @@ -import mapApiPageTranslationsBase from '@mui/docs/mapApiPageTranslations'; +import mapApiPageTranslationsBase from '@mui/internal-core-docs/mapApiPageTranslations'; import { LANGUAGES_IGNORE_PAGES } from 'docsx/config'; diff --git a/docs/src/pages/production-error/ErrorDecoder.js b/docs/src/pages/production-error/ErrorDecoder.js index f29581aa6db2b..42274fc232d65 100644 --- a/docs/src/pages/production-error/ErrorDecoder.js +++ b/docs/src/pages/production-error/ErrorDecoder.js @@ -4,7 +4,7 @@ import Link from '@mui/material/Link'; import Typography from '@mui/material/Typography'; import { styled } from '@mui/material/styles'; import { renderMarkdown } from '@mui/internal-markdown'; -import { MarkdownElement } from '@mui/docs/MarkdownElement'; +import { MarkdownElement } from '@mui/internal-core-docs/MarkdownElement'; const ErrorMessageSection = styled('div')({ // reset display: block from Demo diff --git a/package.json b/package.json index 7505e0e53cca3..54ea68ec1550f 100644 --- a/package.json +++ b/package.json @@ -75,11 +75,11 @@ "@mui/internal-babel-plugin-minify-errors": "2.0.8-canary.24", "@mui/internal-bundle-size-checker": "1.0.9-canary.70", "@mui/internal-code-infra": "0.0.4-canary.11", - "@mui/internal-markdown": "3.0.5", + "@mui/internal-markdown": "3.0.6", "@mui/internal-netlify-cache": "0.0.3-canary.2", "@mui/internal-test-utils": "catalog:", "@mui/material": "catalog:", - "@mui/monorepo": "github:mui/material-ui#ec3a25b839161415876cc204dad13698cbe68c46", + "@mui/monorepo": "github:mui/material-ui#db8c3c931801c792f14f50e36cb5636d564184ad", "@mui/utils": "catalog:", "@next/eslint-plugin-next": "16.2.1", "@octokit/plugin-retry": "8.0.3", diff --git a/patches/@mui__internal-markdown@3.0.6.patch b/patches/@mui__internal-markdown@3.0.6.patch new file mode 100644 index 0000000000000..7b54d4ec1d9bc --- /dev/null +++ b/patches/@mui__internal-markdown@3.0.6.patch @@ -0,0 +1,13 @@ +diff --git a/loader.mjs b/loader.mjs +index 5a68a3fb78e23ddb98a87750acd0ecd94be77171..1f979e818da87ad9681a0b43ef74940cefec5584 100644 +--- a/loader.mjs ++++ b/loader.mjs +@@ -660,7 +660,7 @@ export default async function demoLoader() { + ); + + componentNames.forEach((componentName) => { +- const moduleID = componentName.startsWith('@mui/docs/') ++ const moduleID = componentName.startsWith('@mui/internal-core-docs/') + ? componentName + : path.join(this.rootContext, 'src', componentName).replace(/\\/g, '/'); + diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6b754fd969fa6..e664da881248c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -214,6 +214,11 @@ catalogs: specifier: ^18.0.0 version: 18.0.0 +patchedDependencies: + '@mui/internal-markdown@3.0.6': + hash: e6b4bdb017520b516f5e1b190d01a814539f58eb320497ec6a3643ee6f46e64e + path: patches/@mui__internal-markdown@3.0.6.patch + importers: .: @@ -253,10 +258,10 @@ importers: version: 1.0.9-canary.70(@types/node@22.19.3)(esbuild@0.27.3)(rolldown@1.0.0-rc.11)(rollup@4.52.5)(terser@5.43.1)(tsx@4.21.0)(yaml@2.8.1) '@mui/internal-code-infra': specifier: 0.0.4-canary.11 - version: 0.0.4-canary.11(@next/eslint-plugin-next@16.2.1)(@types/node@22.19.3)(@typescript-eslint/parser@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.16.1(@typescript-eslint/utils@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint@9.39.2))(eslint@9.39.2)(postcss@8.5.8)(prettier@3.8.1)(stylelint@17.1.1(typescript@5.9.3))(typescript@5.9.3)(vitest@4.0.18) + version: 0.0.4-canary.11(@next/eslint-plugin-next@16.2.1)(@types/node@22.19.3)(@typescript-eslint/eslint-plugin@8.58.0(@typescript-eslint/parser@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3))(@typescript-eslint/parser@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.16.1(@typescript-eslint/utils@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint@9.39.2))(eslint@9.39.2)(postcss@8.5.8)(prettier@3.8.1)(stylelint@17.1.1(typescript@5.9.3))(typescript@5.9.3)(vitest@4.0.18) '@mui/internal-markdown': - specifier: 3.0.5 - version: 3.0.5 + specifier: 3.0.6 + version: 3.0.6(patch_hash=e6b4bdb017520b516f5e1b190d01a814539f58eb320497ec6a3643ee6f46e64e) '@mui/internal-netlify-cache': specifier: 0.0.3-canary.2 version: 0.0.3-canary.2 @@ -267,8 +272,8 @@ importers: specifier: 'catalog:' version: 7.3.9(@emotion/react@11.14.0(@types/react@19.2.14)(react@19.2.4))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@19.2.4))(@types/react@19.2.14)(react@19.2.4))(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) '@mui/monorepo': - specifier: github:mui/material-ui#ec3a25b839161415876cc204dad13698cbe68c46 - version: https://codeload.github.com/mui/material-ui/tar.gz/ec3a25b839161415876cc204dad13698cbe68c46(@babel/core@7.29.0)(@types/express@5.0.3)(eslint@9.39.2)(typescript@5.9.3)(vitest@4.0.18) + specifier: github:mui/material-ui#db8c3c931801c792f14f50e36cb5636d564184ad + version: https://codeload.github.com/mui/material-ui/tar.gz/db8c3c931801c792f14f50e36cb5636d564184ad(@babel/core@7.29.0)(@types/express@5.0.3)(@typescript-eslint/eslint-plugin@8.58.0(@typescript-eslint/parser@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3)(vitest@4.0.18) '@mui/utils': specifier: 'catalog:' version: 7.3.9(@types/react@19.2.14)(react@19.2.4) @@ -4288,6 +4293,7 @@ packages: '@lerna/create@9.0.4': resolution: {integrity: sha512-WxedGD98G8/a6HztCXNWquaM0x17oSvfvuqDsLxNNX1qXGyrzmMUmd1mQikF/47uy80X6qyWdaRtaAHlwkvEUA==} engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0} + deprecated: This package is an implementation detail of Lerna and is no longer published separately. '@mdn/browser-compat-data@5.7.6': resolution: {integrity: sha512-7xdrMX0Wk7grrTZQwAoy1GkvPMFoizStUoL+VmtUkAxegbCCec+3FKwOM6yc/uGU5+BEczQHXAlWiqvM8JeENg==} @@ -4378,8 +4384,8 @@ packages: '@mui/internal-docs-utils@2.0.6': resolution: {integrity: sha512-IeLb3ItTXl1DrAYKdI/LlmjlAGbUd3RaWvzs9yOipIestyvkmw0jxjarUQSSjVXJgcoDjzd+drr2k1ucH9Amkw==} - '@mui/internal-markdown@3.0.5': - resolution: {integrity: sha512-6tgrGkODQKRssufbJwUFacNiqHZjJ0q8iQj727SJIyihKIyzAK8w5CVtcP96wrb6mszDvXeNTx2n/TzfD/GQIg==} + '@mui/internal-markdown@3.0.6': + resolution: {integrity: sha512-7Vvojwd3VuHCKDXkRoMbCApHvd7PtTw6FusKc/OKw+/iNvCnQXKqPAF7KgJvZFtMdE2zUByJf/C2SQBA/9cZDw==} '@mui/internal-netlify-cache@0.0.3-canary.2': resolution: {integrity: sha512-RpHfVoqsIRqQ44UL/q9gSNOiHqZpri25SlnfWGmuvIUTSBWx+A1G7zhTKmasGel5bNBSnMEgBG5/MkW0mkrMRw==} @@ -4461,10 +4467,10 @@ packages: '@types/react': optional: true - '@mui/monorepo@https://codeload.github.com/mui/material-ui/tar.gz/ec3a25b839161415876cc204dad13698cbe68c46': - resolution: {tarball: https://codeload.github.com/mui/material-ui/tar.gz/ec3a25b839161415876cc204dad13698cbe68c46} - version: 9.0.0-alpha.3 - engines: {node: '>=22.18.0', pnpm: 10.30.3} + '@mui/monorepo@https://codeload.github.com/mui/material-ui/tar.gz/db8c3c931801c792f14f50e36cb5636d564184ad': + resolution: {tarball: https://codeload.github.com/mui/material-ui/tar.gz/db8c3c931801c792f14f50e36cb5636d564184ad} + version: 9.0.0-beta.1 + engines: {node: '>=22.18.0', pnpm: 10.33.0} '@mui/private-theming@7.3.9': resolution: {integrity: sha512-ErIyRQvsiQEq7Yvcvfw9UDHngaqjMy9P3JDPnRAaKG5qhpl2C4tX/W1S4zJvpu+feihmZJStjIyvnv6KDbIrlw==} @@ -4823,12 +4829,12 @@ packages: '@napi-rs/wasm-runtime@1.1.1': resolution: {integrity: sha512-p64ah1M1ld8xjWv3qbvFwHiFVWrq1yFvV4f7w+mzaqiR4IlSgkqhcRdHwsGgomwzBH51sRY4NEowLxnaBjcW/A==} - '@netlify/functions@5.1.2': - resolution: {integrity: sha512-tpPiLSkQatuexH8AdAZ8RlALvT7ixOE9VhvpkzQGNvihcms8hzmvUDuSxQa7UneTj/sHsdirnXmnJ+nmf+Nx/w==} + '@netlify/functions@5.1.5': + resolution: {integrity: sha512-mhTl6x3TWoRwNgz8HZ9zvSR9OHB/hDEA6VinBmWY5ubgycKNCerf6XyFaFnujH2Ygx3c32yg6QOOr1v9y8euug==} engines: {node: '>=18.0.0'} - '@netlify/types@2.3.0': - resolution: {integrity: sha512-5gxMWh/S7wr0uHKSTbMv4bjWmWSpwpeLYvErWeVNAPll5/QNFo9aWimMAUuh8ReLY3/fg92XAroVVu7+z27Snw==} + '@netlify/types@2.6.0': + resolution: {integrity: sha512-yD20EizHJDQxajJ66Vo8RTwLwR2jMNVxufPG8MHd2AScX8jW4z0VPnnJHArq2GYPFTFZRHmiAhDrXr5m8zof6w==} engines: {node: ^18.14.0 || >=20} '@next/env@16.2.2': @@ -6421,14 +6427,17 @@ packages: '@vitest/browser': optional: true - '@vitest/eslint-plugin@1.6.12': - resolution: {integrity: sha512-4kI47BJNFE+EQ5bmPbHzBF+ibNzx2Fj0Jo9xhWsTPxMddlHwIWl6YAxagefh461hrwx/W0QwBZpxGS404kBXyg==} + '@vitest/eslint-plugin@1.6.14': + resolution: {integrity: sha512-PXZ5ysw4eHU9h8nDtBvVcGC7Z2C/T9CFdheqSw1NNXFYqViojub0V9bgdYI67iBTOcra2mwD0EYldlY9bGPf2Q==} engines: {node: '>=18'} peerDependencies: + '@typescript-eslint/eslint-plugin': '*' eslint: '>=8.57.0' typescript: '>=5.0.0' vitest: '*' peerDependenciesMeta: + '@typescript-eslint/eslint-plugin': + optional: true typescript: optional: true vitest: @@ -14997,7 +15006,7 @@ snapshots: - tsx - yaml - '@mui/internal-code-infra@0.0.4-canary.11(@next/eslint-plugin-next@16.2.1)(@types/node@22.19.3)(@typescript-eslint/parser@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.16.1(@typescript-eslint/utils@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint@9.39.2))(eslint@9.39.2)(postcss@8.5.8)(prettier@3.8.1)(stylelint@17.1.1(typescript@5.9.3))(typescript@5.9.3)(vitest@4.0.18)': + '@mui/internal-code-infra@0.0.4-canary.11(@next/eslint-plugin-next@16.2.1)(@types/node@22.19.3)(@typescript-eslint/eslint-plugin@8.58.0(@typescript-eslint/parser@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3))(@typescript-eslint/parser@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.16.1(@typescript-eslint/utils@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint@9.39.2))(eslint@9.39.2)(postcss@8.5.8)(prettier@3.8.1)(stylelint@17.1.1(typescript@5.9.3))(typescript@5.9.3)(vitest@4.0.18)': dependencies: '@argos-ci/core': 5.2.0 '@babel/cli': 7.28.6(@babel/core@7.29.0) @@ -15024,7 +15033,7 @@ snapshots: '@pnpm/find-workspace-dir': 1000.1.5 '@typescript-eslint/types': 8.58.0 '@typescript-eslint/utils': 8.58.0(eslint@9.39.2)(typescript@5.9.3) - '@vitest/eslint-plugin': 1.6.12(eslint@9.39.2)(typescript@5.9.3)(vitest@4.0.18) + '@vitest/eslint-plugin': 1.6.14(@typescript-eslint/eslint-plugin@8.58.0(@typescript-eslint/parser@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3)(vitest@4.0.18) babel-plugin-optimize-clsx: 2.6.2 babel-plugin-react-compiler: 1.0.0 babel-plugin-transform-import-meta: 2.3.3(@babel/core@7.29.0) @@ -15073,6 +15082,7 @@ snapshots: typescript: 5.9.3 transitivePeerDependencies: - '@types/node' + - '@typescript-eslint/eslint-plugin' - '@typescript-eslint/parser' - eslint-import-resolver-node - eslint-import-resolver-webpack @@ -15128,7 +15138,7 @@ snapshots: rimraf: 6.1.3 typescript: 5.9.3 - '@mui/internal-markdown@3.0.5': + '@mui/internal-markdown@3.0.6(patch_hash=e6b4bdb017520b516f5e1b190d01a814539f58eb320497ec6a3643ee6f46e64e)': dependencies: '@babel/runtime': 7.29.2 es-toolkit: 1.45.1 @@ -15255,16 +15265,17 @@ snapshots: '@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@19.2.4))(@types/react@19.2.14)(react@19.2.4) '@types/react': 19.2.14 - '@mui/monorepo@https://codeload.github.com/mui/material-ui/tar.gz/ec3a25b839161415876cc204dad13698cbe68c46(@babel/core@7.29.0)(@types/express@5.0.3)(eslint@9.39.2)(typescript@5.9.3)(vitest@4.0.18)': + '@mui/monorepo@https://codeload.github.com/mui/material-ui/tar.gz/db8c3c931801c792f14f50e36cb5636d564184ad(@babel/core@7.29.0)(@types/express@5.0.3)(@typescript-eslint/eslint-plugin@8.58.0(@typescript-eslint/parser@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3)(vitest@4.0.18)': dependencies: - '@netlify/functions': 5.1.2 + '@netlify/functions': 5.1.5 '@slack/bolt': 4.6.0(@types/express@5.0.3) - '@vitest/eslint-plugin': 1.6.12(eslint@9.39.2)(typescript@5.9.3)(vitest@4.0.18) + '@vitest/eslint-plugin': 1.6.14(@typescript-eslint/eslint-plugin@8.58.0(@typescript-eslint/parser@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3)(vitest@4.0.18) babel-plugin-transform-import-meta: 2.3.3(@babel/core@7.29.0) execa: 9.6.1 transitivePeerDependencies: - '@babel/core' - '@types/express' + - '@typescript-eslint/eslint-plugin' - bufferutil - debug - eslint @@ -15614,11 +15625,11 @@ snapshots: '@tybys/wasm-util': 0.10.1 optional: true - '@netlify/functions@5.1.2': + '@netlify/functions@5.1.5': dependencies: - '@netlify/types': 2.3.0 + '@netlify/types': 2.6.0 - '@netlify/types@2.3.0': {} + '@netlify/types@2.6.0': {} '@next/env@16.2.2': {} @@ -17390,12 +17401,13 @@ snapshots: optionalDependencies: '@vitest/browser': 4.0.18(vite@7.3.1(@types/node@22.19.3)(lightningcss@1.32.0)(terser@5.43.1)(tsx@4.21.0)(yaml@2.8.1))(vitest@4.0.18) - '@vitest/eslint-plugin@1.6.12(eslint@9.39.2)(typescript@5.9.3)(vitest@4.0.18)': + '@vitest/eslint-plugin@1.6.14(@typescript-eslint/eslint-plugin@8.58.0(@typescript-eslint/parser@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3)(vitest@4.0.18)': dependencies: '@typescript-eslint/scope-manager': 8.58.0 '@typescript-eslint/utils': 8.58.0(eslint@9.39.2)(typescript@5.9.3) eslint: 9.39.2 optionalDependencies: + '@typescript-eslint/eslint-plugin': 8.58.0(@typescript-eslint/parser@8.58.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3) typescript: 5.9.3 vitest: 4.0.18(@opentelemetry/api@1.9.0)(@types/node@22.19.3)(@vitest/browser-playwright@4.0.18)(@vitest/ui@4.0.18)(jsdom@26.1.0)(lightningcss@1.32.0)(terser@5.43.1)(tsx@4.21.0)(yaml@2.8.1) transitivePeerDependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 24aebf113f58a..5a38a135a78ff 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -21,12 +21,11 @@ catalog: '@mui/icons-material': ^7.3.9 '@mui/internal-test-utils': 2.0.18-canary.18 '@mui/material': ^7.3.9 - '@mui/stylis-plugin-rtl': '9.0.0-alpha.4' + '@mui/stylis-plugin-rtl': 9.0.0-alpha.4 '@mui/system': ^7.3.9 '@mui/utils': ^7.3.9 '@mui/x-internal-exceljs-fork': 4.4.5 '@playwright/test': ^1.58.2 - 'playwright': ^1.58.2 '@react-spring/web': ^10.0.3 '@types/chance': ^1.1.7 '@types/luxon': ^3.7.1 @@ -51,10 +50,10 @@ catalog: clsx: ^2.1.1 cross-env: ^10.1.0 csstype: ^3.2.3 - es-toolkit: ^1.45.1 date-fns: ^4.1.0 date-fns-jalali: ^4.1.0-0 dayjs: ^1.11.20 + es-toolkit: ^1.45.1 jscodeshift: 17.3.0 luxon: ^3.7.2 moment: ^2.30.1 @@ -62,6 +61,7 @@ catalog: moment-jalaali: ^0.10.4 moment-timezone: ^0.6.0 motion: ^12.34.3 + playwright: ^1.58.2 prop-types: ^15.8.1 rasterizehtml: ^1.4.1 react: 19.2.4 @@ -93,3 +93,7 @@ onlyBuiltDependencies: - nx - sharp - unrs-resolver + +patchedDependencies: + # Temporary fix till next release of @mui/internal-markdown + '@mui/internal-markdown@3.0.6': patches/@mui__internal-markdown@3.0.6.patch diff --git a/scripts/buildApiDocs/chartsSettings/index.ts b/scripts/buildApiDocs/chartsSettings/index.ts index 535b983799ddc..5fd972a47c0f3 100644 --- a/scripts/buildApiDocs/chartsSettings/index.ts +++ b/scripts/buildApiDocs/chartsSettings/index.ts @@ -46,7 +46,7 @@ export const projectChartsSettings: ProjectSettings = { .filter((page): page is PageType => page !== null) .sort((a: PageType, b: PageType) => a.title.localeCompare(b.title)); - return `import type { MuiPage } from '@mui/docs/MuiPage'; + return `import type { MuiPage } from '@mui/internal-core-docs/MuiPage'; const chartsApiPages: MuiPage[] = ${JSON.stringify(pages, null, 2)}; export default chartsApiPages; diff --git a/scripts/buildApiDocs/gridSettings/index.ts b/scripts/buildApiDocs/gridSettings/index.ts index 0d2ecb94a643d..62b30b802b70e 100644 --- a/scripts/buildApiDocs/gridSettings/index.ts +++ b/scripts/buildApiDocs/gridSettings/index.ts @@ -78,7 +78,7 @@ export const projectGridSettings: ProjectSettings = { .filter((page): page is PageType => page !== null) .sort((a: PageType, b: PageType) => a.title.localeCompare(b.title)); - return `import type { MuiPage } from '@mui/docs/MuiPage'; + return `import type { MuiPage } from '@mui/internal-core-docs/MuiPage'; const dataGridApiPages: MuiPage[] = ${JSON.stringify(pages, null, 2)}; export default dataGridApiPages; diff --git a/scripts/buildApiDocs/pickersSettings/index.ts b/scripts/buildApiDocs/pickersSettings/index.ts index 239d0fa84394d..180f56f6aa10c 100644 --- a/scripts/buildApiDocs/pickersSettings/index.ts +++ b/scripts/buildApiDocs/pickersSettings/index.ts @@ -46,7 +46,7 @@ export const projectPickersSettings: ProjectSettings = { .filter((page): page is PageType => page !== null) .sort((a: PageType, b: PageType) => a.title.localeCompare(b.title)); - return `import type { MuiPage } from '@mui/docs/MuiPage'; + return `import type { MuiPage } from '@mui/internal-core-docs/MuiPage'; const datePickersApiPages: MuiPage[] = ${JSON.stringify(pages, null, 2)}; export default datePickersApiPages; diff --git a/scripts/buildApiDocs/treeViewSettings/index.ts b/scripts/buildApiDocs/treeViewSettings/index.ts index a4da8beadf887..4e5ed92a02ba9 100644 --- a/scripts/buildApiDocs/treeViewSettings/index.ts +++ b/scripts/buildApiDocs/treeViewSettings/index.ts @@ -46,7 +46,7 @@ export const projectTreeSettings: ProjectSettings = { .filter((page): page is PageType => page !== null) .sort((a: PageType, b: PageType) => a.title.localeCompare(b.title)); - return `import type { MuiPage } from '@mui/docs/MuiPage'; + return `import type { MuiPage } from '@mui/internal-core-docs/MuiPage'; const treeViewApiPages: MuiPage[] = ${JSON.stringify(pages, null, 2)}; export default treeViewApiPages; diff --git a/scripts/buildLlmsDocs/index.ts b/scripts/buildLlmsDocs/index.ts index 2dd782829df9b..5b2a7c5cf8c52 100644 --- a/scripts/buildLlmsDocs/index.ts +++ b/scripts/buildLlmsDocs/index.ts @@ -78,8 +78,8 @@ import { ComponentInfo, ProjectSettings } from '@mui-internal/api-docs-builder'; import { getHeaders } from '@mui/internal-markdown'; import findComponents from '@mui-internal/api-docs-builder/utils/findComponents'; import findPagesMarkdown from '@mui-internal/api-docs-builder/utils/findPagesMarkdown'; -import { pageToTitleI18n } from '@mui/docs/helpers'; -import type { MuiPage } from '@mui/docs/MuiPage'; +import { pageToTitleI18n } from '@mui/internal-core-docs/helpers'; +import type { MuiPage } from '@mui/internal-core-docs/MuiPage'; import pages from 'docsx/data/pages'; function processApiFile(filePath: string): string { diff --git a/test/regressions/vite.config.mts b/test/regressions/vite.config.mts index dbc43c202f0eb..d3f4081bd7375 100644 --- a/test/regressions/vite.config.mts +++ b/test/regressions/vite.config.mts @@ -14,10 +14,10 @@ export default defineConfig({ alias: [ ...alias, { - find: '@mui/docs', + find: '@mui/internal-core-docs', replacement: path.resolve( import.meta.dirname, - '../../node_modules/@mui/monorepo/packages/mui-docs/src', + '../../node_modules/@mui/monorepo/packages-internal/core-docs/src', ), }, { diff --git a/tsconfig.json b/tsconfig.json index e7af3226cca87..b07a0541160e8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -53,11 +53,15 @@ "@mui/x-telemetry/*": ["./packages/x-telemetry/src/*"], "@mui/x-virtualizer": ["./packages/x-virtualizer/src"], "@mui/x-virtualizer/*": ["./packages/x-virtualizer/src/*"], - "@mui/docs": ["./node_modules/@mui/monorepo/packages/mui-docs/src"], - "@mui/docs/*": ["./node_modules/@mui/monorepo/packages/mui-docs/src/*"], - "@mui-internal/api-docs-builder": ["./node_modules/@mui/monorepo/packages/api-docs-builder"], + "@mui/internal-core-docs": ["./node_modules/@mui/monorepo/packages-internal/core-docs/src"], + "@mui/internal-core-docs/*": [ + "./node_modules/@mui/monorepo/packages-internal/core-docs/src/*" + ], + "@mui-internal/api-docs-builder": [ + "./node_modules/@mui/monorepo/packages-internal/api-docs-builder" + ], "@mui-internal/api-docs-builder/*": [ - "./node_modules/@mui/monorepo/packages/api-docs-builder/*" + "./node_modules/@mui/monorepo/packages-internal/api-docs-builder/*" ], "@mui-internal-scripts/generate-llms-txt": [ "./node_modules/@mui/monorepo/packages-internal/scripts/generate-llms-txt/src" diff --git a/tsconfig.prod.json b/tsconfig.prod.json index 7e41447607224..a2a837741c075 100644 --- a/tsconfig.prod.json +++ b/tsconfig.prod.json @@ -34,8 +34,10 @@ "@mui/x-telemetry/*": ["./packages/x-telemetry/src/*"], "@mui/x-virtualizer": ["./packages/x-virtualizer/src"], "@mui/x-virtualizer/*": ["./packages/x-virtualizer/src/*"], - "@mui/docs": ["./node_modules/@mui/monorepo/packages/mui-docs/src"], - "@mui/docs/*": ["./node_modules/@mui/monorepo/packages/mui-docs/src/*"], + "@mui/internal-core-docs": ["./node_modules/@mui/monorepo/packages-internal/core-docs/src"], + "@mui/internal-core-docs/*": [ + "./node_modules/@mui/monorepo/packages-internal/core-docs/src/*" + ], "@mui-internal/api-docs-builder": ["./node_modules/@mui/monorepo/packages/api-docs-builder"], "@mui-internal/api-docs-builder/*": [ "./node_modules/@mui/monorepo/packages/api-docs-builder/*"