Skip to content

Commit

Permalink
[core] Export @mui/toolpad/internals (#3873)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot authored Aug 1, 2024
1 parent 0398ffd commit c521721
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { useDemoRouter } from '@toolpad/core/internals/demo';
import { useDemoRouter } from '@toolpad/core/internals';
import { PageContainer, PageContainerToolbar } from '@toolpad/core/PageContainer';
import { AppProvider } from '@toolpad/core/AppProvider';
import { LocalizationProvider } from '@mui/x-date-pickers-pro/LocalizationProvider';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { useDemoRouter } from '@toolpad/core/internals/demo';
import { useDemoRouter } from '@toolpad/core/internals';
import { PageContainer, PageContainerToolbar } from '@toolpad/core/PageContainer';
import { AppProvider } from '@toolpad/core/AppProvider';
import { LocalizationProvider } from '@mui/x-date-pickers-pro/LocalizationProvider';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { PageContainer } from '@toolpad/core/PageContainer';
import { AppProvider } from '@toolpad/core/AppProvider';
import { useDemoRouter } from '@toolpad/core/internals/demo';
import { useDemoRouter } from '@toolpad/core/internals';
import { Paper, useTheme } from '@mui/material';

const NAVIGATION = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { PageContainer } from '@toolpad/core/PageContainer';
import { AppProvider } from '@toolpad/core/AppProvider';
import { useDemoRouter } from '@toolpad/core/internals/demo';
import { useDemoRouter } from '@toolpad/core/internals';
import { Paper, useTheme } from '@mui/material';

const NAVIGATION = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { PageContainer } from '@toolpad/core/PageContainer';
import { AppProvider } from '@toolpad/core/AppProvider';
import { useDemoRouter } from '@toolpad/core/internals/demo';
import { useDemoRouter } from '@toolpad/core/internals';
import { Paper, useTheme } from '@mui/material';

const NAVIGATION = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { PageContainer } from '@toolpad/core/PageContainer';
import { AppProvider } from '@toolpad/core/AppProvider';
import { useDemoRouter } from '@toolpad/core/internals/demo';
import { useDemoRouter } from '@toolpad/core/internals';
import { Paper, useTheme } from '@mui/material';

const NAVIGATION = [
Expand Down
2 changes: 1 addition & 1 deletion docs/data/toolpad/core/introduction/TutorialDefault.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import DashboardIcon from '@mui/icons-material/Dashboard';
import { AppProvider } from '@toolpad/core/AppProvider';
import { DashboardLayout } from '@toolpad/core/DashboardLayout';
import { PageContainer } from '@toolpad/core/PageContainer';
import { useDemoRouter } from '@toolpad/core/internals/demo';
import { useDemoRouter } from '@toolpad/core/internals';

const NAVIGATION = [
{
Expand Down
2 changes: 1 addition & 1 deletion docs/data/toolpad/core/introduction/TutorialDefault.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import DashboardIcon from '@mui/icons-material/Dashboard';
import { AppProvider, Navigation } from '@toolpad/core/AppProvider';
import { DashboardLayout } from '@toolpad/core/DashboardLayout';
import { PageContainer } from '@toolpad/core/PageContainer';
import { useDemoRouter } from '@toolpad/core/internals/demo';
import { useDemoRouter } from '@toolpad/core/internals';

const NAVIGATION: Navigation = [
{
Expand Down
2 changes: 1 addition & 1 deletion docs/data/toolpad/core/introduction/TutorialPages.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import DashboardIcon from '@mui/icons-material/Dashboard';
import TimelineIcon from '@mui/icons-material/Timeline';
import { AppProvider } from '@toolpad/core/AppProvider';
import { DashboardLayout } from '@toolpad/core/DashboardLayout';
import { useDemoRouter } from '@toolpad/core/internals/demo';
import { useDemoRouter } from '@toolpad/core/internals';
import { PageContainer } from '@toolpad/core/PageContainer';
import { Typography } from '@mui/material';

Expand Down
2 changes: 1 addition & 1 deletion docs/data/toolpad/core/introduction/TutorialPages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import DashboardIcon from '@mui/icons-material/Dashboard';
import TimelineIcon from '@mui/icons-material/Timeline';
import { AppProvider, Navigation } from '@toolpad/core/AppProvider';
import { DashboardLayout } from '@toolpad/core/DashboardLayout';
import { useDemoRouter } from '@toolpad/core/internals/demo';
import { useDemoRouter } from '@toolpad/core/internals';
import { PageContainer } from '@toolpad/core/PageContainer';
import { Typography } from '@mui/material';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Paper from '@mui/material/Paper';
import { HighlightedCode } from '@mui/docs/HighlightedCode';
import { AppProvider } from '@toolpad/core/AppProvider';
import { PageContainer } from '@toolpad/core/PageContainer';
import { useDemoRouter } from '@toolpad/core/internals/demo';
import { useDemoRouter } from '@toolpad/core/internals';

const code = `
<PageContainer>
Expand Down
1 change: 1 addition & 0 deletions packages/toolpad-core/src/internals/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './demo';

0 comments on commit c521721

Please sign in to comment.