diff --git a/packages/x-date-pickers/src/DateField/DateFieldV8.tsx b/packages/x-date-pickers/src/DateField/DateFieldV8.tsx index 4bdf485b8134..ada7204ecab1 100644 --- a/packages/x-date-pickers/src/DateField/DateFieldV8.tsx +++ b/packages/x-date-pickers/src/DateField/DateFieldV8.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import * as Field from '@base_ui/react/Field'; -import * as PickersField from '../PickersField'; +import { PickersField } from '../PickersField'; import { PickerValidDate } from '../models/pickers'; import { getDateValueManager } from '../valueManagers'; import classes from './DateFieldV8.module.css'; diff --git a/packages/x-date-pickers/src/PickersField/index.barrel.ts b/packages/x-date-pickers/src/PickersField/index.barrel.ts deleted file mode 100644 index 125a0e487fe4..000000000000 --- a/packages/x-date-pickers/src/PickersField/index.barrel.ts +++ /dev/null @@ -1,5 +0,0 @@ -export { PickersFieldRoot } from './Root/PickersFieldRoot'; -export { PickersFieldContent } from './Content/PickersFieldContent'; -export { PickersFieldSection } from './Section/PickersFieldSection'; -export { PickersFieldSectionContent } from './SectionContent/PickersFieldSectionContent'; -export { PickersFieldSectionSeparator } from './SectionSeparator/PickersFieldSectionSeparator'; diff --git a/packages/x-date-pickers/src/PickersField/index.parts.ts b/packages/x-date-pickers/src/PickersField/index.parts.ts new file mode 100644 index 000000000000..04010e866acc --- /dev/null +++ b/packages/x-date-pickers/src/PickersField/index.parts.ts @@ -0,0 +1,5 @@ +export { PickersFieldRoot as Root } from './Root/PickersFieldRoot'; +export { PickersFieldContent as Content } from './Content/PickersFieldContent'; +export { PickersFieldSection as Section } from './Section/PickersFieldSection'; +export { PickersFieldSectionContent as SectionContent } from './SectionContent/PickersFieldSectionContent'; +export { PickersFieldSectionSeparator as SectionSeparator } from './SectionSeparator/PickersFieldSectionSeparator'; diff --git a/packages/x-date-pickers/src/PickersField/index.ts b/packages/x-date-pickers/src/PickersField/index.ts index 04010e866acc..c204f9696b75 100644 --- a/packages/x-date-pickers/src/PickersField/index.ts +++ b/packages/x-date-pickers/src/PickersField/index.ts @@ -1,5 +1 @@ -export { PickersFieldRoot as Root } from './Root/PickersFieldRoot'; -export { PickersFieldContent as Content } from './Content/PickersFieldContent'; -export { PickersFieldSection as Section } from './Section/PickersFieldSection'; -export { PickersFieldSectionContent as SectionContent } from './SectionContent/PickersFieldSectionContent'; -export { PickersFieldSectionSeparator as SectionSeparator } from './SectionSeparator/PickersFieldSectionSeparator'; +export * as PickersField from './index.parts';