Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Nov 4, 2024
1 parent 704c772 commit d38a91a
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react';

import { styled } from '@mui/material/styles';
import Typography from '@mui/material/Typography';
import IconButton from '@mui/material/IconButton';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react';
import { Dayjs } from 'dayjs';
import { styled } from '@mui/material/styles';
import Typography from '@mui/material/Typography';
import IconButton from '@mui/material/IconButton';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { styled } from '@mui/material/styles';
import Stack from '@mui/material/Stack';
import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';
import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';

import { DateRangePicker } from '@mui/x-date-pickers-pro/DateRangePicker';
import { unstable_useMultiInputDateRangeField as useMultiInputDateRangeField } from '@mui/x-date-pickers-pro/MultiInputDateRangeField';
import { Unstable_PickersSectionList as PickersSectionList } from '@mui/x-date-pickers/PickersSectionList';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import FormLabel from '@mui/joy/FormLabel';
import Typography from '@mui/joy/Typography';
import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';
import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';

import { DateRangePicker } from '@mui/x-date-pickers-pro/DateRangePicker';
import { unstable_useMultiInputDateRangeField as useMultiInputDateRangeField } from '@mui/x-date-pickers-pro/MultiInputDateRangeField';

Expand Down
1 change: 1 addition & 0 deletions docs/data/date-pickers/custom-layout/AddComponent.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as React from 'react';

import Box from '@mui/material/Box';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import * as React from 'react';
import dayjs from 'dayjs';
import { DemoContainer } from '@mui/x-date-pickers/internals/demo';
import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';

import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';
import { SingleInputTimeRangeField } from '@mui/x-date-pickers-pro/SingleInputTimeRangeField';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as React from 'react';

import Box from '@mui/material/Box';
import Stack from '@mui/material/Stack';
import IconButton from '@mui/material/IconButton';
Expand Down
1 change: 0 additions & 1 deletion packages/x-date-pickers/src/models/fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import type {
import { ExportedPickersSectionListProps, PickersSectionListRef } from '../PickersSectionList';
import type { UseFieldResponse } from '../internals/hooks/useField';
import type { PickersTextFieldProps } from '../PickersTextField';
import { PickerValidDate } from './pickers';

// Update PickersComponentAgnosticLocaleText -> viewNames when adding new entries
export type FieldSectionType =
Expand Down
1 change: 0 additions & 1 deletion scripts/x-date-pickers-pro.exports.json
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@
{ "name": "renderDigitalClockTimeView", "kind": "Variable" },
{ "name": "renderMultiSectionDigitalClockTimeView", "kind": "Variable" },
{ "name": "renderTimeViewClock", "kind": "Variable" },
{ "name": "SimpleValue", "kind": "TypeAlias" },
{ "name": "SingleInputDateRangeField", "kind": "Variable" },
{ "name": "SingleInputDateRangeFieldProps", "kind": "TypeAlias" },
{ "name": "SingleInputDateTimeRangeField", "kind": "Variable" },
Expand Down
1 change: 0 additions & 1 deletion scripts/x-date-pickers.exports.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@
{ "name": "renderDigitalClockTimeView", "kind": "Variable" },
{ "name": "renderMultiSectionDigitalClockTimeView", "kind": "Variable" },
{ "name": "renderTimeViewClock", "kind": "Variable" },
{ "name": "SimpleValue", "kind": "TypeAlias" },
{ "name": "StaticDatePicker", "kind": "Variable" },
{ "name": "StaticDatePickerProps", "kind": "Interface" },
{ "name": "StaticDatePickerSlotProps", "kind": "Interface" },
Expand Down

0 comments on commit d38a91a

Please sign in to comment.