diff --git a/docs/data/pages.ts b/docs/data/pages.ts index 0845d95288698..3977bf50b95af 100644 --- a/docs/data/pages.ts +++ b/docs/data/pages.ts @@ -51,7 +51,7 @@ const pages: MuiPage[] = [ { pathname: '/x/react-data-grid/row-definition' }, { pathname: '/x/react-data-grid/row-updates' }, { pathname: '/x/react-data-grid/row-height' }, - { pathname: '/x/react-data-grid/row-spanning', title: 'Row spanning', planned: true }, + { pathname: '/x/react-data-grid/row-spanning', planned: true }, { pathname: '/x/react-data-grid/master-detail', plan: 'pro' }, { pathname: '/x/react-data-grid/row-ordering', plan: 'pro' }, { pathname: '/x/react-data-grid/row-pinning', plan: 'pro' }, @@ -108,13 +108,8 @@ const pages: MuiPage[] = [ children: [ { pathname: '/x/react-data-grid/tree-data', plan: 'pro' }, { pathname: '/x/react-data-grid/row-grouping', plan: 'premium' }, - { pathname: '/x/react-data-grid/aggregation', title: 'Aggregation', plan: 'premium' }, - { - pathname: '/x/react-data-grid/pivoting', - title: 'Pivoting', - plan: 'premium', - planned: true, - }, + { pathname: '/x/react-data-grid/aggregation', plan: 'premium' }, + { pathname: '/x/react-data-grid/pivoting', plan: 'premium', planned: true }, ], }, { @@ -125,38 +120,28 @@ const pages: MuiPage[] = [ { pathname: '/x/react-data-grid/server-side-data', title: 'Overview', planned: true }, { pathname: '/x/react-data-grid/server-side-data/lazy-loading', - title: 'Lazy loading', plan: 'pro', planned: true, }, { pathname: '/x/react-data-grid/server-side-data/infinite-loading', - title: 'Infinite loading', - plan: 'pro', - planned: true, - }, - { - pathname: '/x/react-data-grid/server-side-data/tree-data', - title: 'Tree data', plan: 'pro', planned: true, }, + { pathname: '/x/react-data-grid/server-side-data/tree-data', plan: 'pro', planned: true }, { pathname: '/x/react-data-grid/server-side-data/row-grouping', - title: 'Row grouping', plan: 'pro', planned: true, }, { pathname: '/x/react-data-grid/server-side-data/aggregation', - title: 'Aggregation', plan: 'premium', planned: true, }, ], }, { - title: 'Advanced', pathname: '/x/react-data-grid/advanced', children: [ { pathname: '/x/react-data-grid/api-object', title: 'API object' }, @@ -165,7 +150,6 @@ const pages: MuiPage[] = [ ], }, { - title: 'Recipes', pathname: '/x/react-data-grid/recipes', children: [ { pathname: '/x/react-data-grid/recipes-editing', title: 'Editing' }, @@ -312,7 +296,8 @@ const pages: MuiPage[] = [ children: [ { pathname: '/x/react-date-pickers/time-range-picker', - title: 'Time Range Picker 🚧', + title: 'Time Range Picker', + planned: true, }, { pathname: '/x/react-date-pickers/time-range-field', @@ -436,18 +421,18 @@ const pages: MuiPage[] = [ pathname: '/x/react-charts/sparkline', title: 'Sparkline', }, - { pathname: '/x/react-charts/gauge', title: 'Gauge' }, + { pathname: '/x/react-charts/gauge' }, { pathname: '/x/react-charts/common-features', subheader: 'Common features', children: [ - { pathname: '/x/react-charts/axis', title: 'Axis' }, + { pathname: '/x/react-charts/axis' }, { pathname: '/x/react-charts/components', title: 'Custom components' }, - { pathname: '/x/react-charts/composition', title: 'Composition' }, - { pathname: '/x/react-charts/label', title: 'Label' }, - { pathname: '/x/react-charts/legend', title: 'Legend' }, - { pathname: '/x/react-charts/stacking', title: 'Stacking' }, - { pathname: '/x/react-charts/styling', title: 'Styling' }, + { pathname: '/x/react-charts/composition' }, + { pathname: '/x/react-charts/label' }, + { pathname: '/x/react-charts/legend' }, + { pathname: '/x/react-charts/stacking' }, + { pathname: '/x/react-charts/styling' }, { pathname: '/x/react-charts/tooltip', title: 'Tooltip & Highlights' }, ], }, @@ -473,7 +458,7 @@ const pages: MuiPage[] = [ pathname: '/x/react-charts-future', subheader: 'Future components', children: [ - { pathname: '/x/react-charts/radar', title: 'Radar', planned: true }, + { pathname: '/x/react-charts/radar', planned: true }, { pathname: '/x/react-charts/tree-map', title: 'Treemap', planned: true }, { pathname: '/x/react-charts/heat-map', @@ -481,9 +466,9 @@ const pages: MuiPage[] = [ plan: 'pro', planned: true, }, - { pathname: '/x/react-charts/funnel', title: 'Funnel', plan: 'pro', planned: true }, - { pathname: '/x/react-charts/sankey', title: 'Sankey', plan: 'pro', planned: true }, - { pathname: '/x/react-charts/gantt', title: 'Gantt', plan: 'pro', planned: true }, + { pathname: '/x/react-charts/funnel', plan: 'pro', planned: true }, + { pathname: '/x/react-charts/sankey', plan: 'pro', planned: true }, + { pathname: '/x/react-charts/gantt', plan: 'pro', planned: true }, ], }, ], diff --git a/packages/x-tree-view/src/internals/useTreeView/useTreeViewModels.ts b/packages/x-tree-view/src/internals/useTreeView/useTreeViewModels.ts index 83b346ca9479f..4e785b9b08dac 100644 --- a/packages/x-tree-view/src/internals/useTreeView/useTreeViewModels.ts +++ b/packages/x-tree-view/src/internals/useTreeView/useTreeViewModels.ts @@ -8,7 +8,7 @@ import { /** * Implements the same behavior as `useControlled` but for several models. - * The controlled models are never stored in the state and the state is only updated if the model is not controlled. + * The controlled models are never stored in the state, and the state is only updated if the model is not controlled. */ export const useTreeViewModels = < TPlugins extends readonly TreeViewPlugin[],