@mui/lab 5.0.0-alpha.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AdapterDateFns/AdapterDateFns.d.ts +3 -0
- package/AdapterDateFns/AdapterDateFns.js +16 -0
- package/AdapterDateFns/index.d.ts +1 -0
- package/AdapterDateFns/index.js +1 -0
- package/AdapterDateFns/package.json +6 -0
- package/AdapterDayjs/AdapterDayjs.d.ts +3 -0
- package/AdapterDayjs/AdapterDayjs.js +16 -0
- package/AdapterDayjs/index.d.ts +1 -0
- package/AdapterDayjs/index.js +1 -0
- package/AdapterDayjs/package.json +6 -0
- package/AdapterLuxon/AdapterLuxon.d.ts +3 -0
- package/AdapterLuxon/AdapterLuxon.js +16 -0
- package/AdapterLuxon/index.d.ts +1 -0
- package/AdapterLuxon/index.js +1 -0
- package/AdapterLuxon/package.json +6 -0
- package/AdapterMoment/AdapterMoment.d.ts +3 -0
- package/AdapterMoment/AdapterMoment.js +16 -0
- package/AdapterMoment/index.d.ts +1 -0
- package/AdapterMoment/index.js +1 -0
- package/AdapterMoment/package.json +6 -0
- package/Alert/Alert.d.ts +2 -0
- package/Alert/Alert.js +19 -0
- package/Alert/index.d.ts +2 -0
- package/Alert/index.js +1 -0
- package/Alert/package.json +6 -0
- package/AlertTitle/AlertTitle.d.ts +2 -0
- package/AlertTitle/AlertTitle.js +19 -0
- package/AlertTitle/index.d.ts +2 -0
- package/AlertTitle/index.js +1 -0
- package/AlertTitle/package.json +6 -0
- package/Autocomplete/Autocomplete.d.ts +1 -0
- package/Autocomplete/Autocomplete.js +19 -0
- package/Autocomplete/index.d.ts +2 -0
- package/Autocomplete/index.js +1 -0
- package/Autocomplete/package.json +6 -0
- package/AvatarGroup/AvatarGroup.d.ts +2 -0
- package/AvatarGroup/AvatarGroup.js +19 -0
- package/AvatarGroup/index.d.ts +2 -0
- package/AvatarGroup/index.js +1 -0
- package/AvatarGroup/package.json +6 -0
- package/CHANGELOG.md +9458 -0
- package/CalendarPicker/CalendarPicker.d.ts +14 -0
- package/CalendarPicker/CalendarPicker.js +20 -0
- package/CalendarPicker/index.d.ts +2 -0
- package/CalendarPicker/index.js +2 -0
- package/CalendarPicker/package.json +6 -0
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +13 -0
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +24 -0
- package/CalendarPickerSkeleton/index.d.ts +2 -0
- package/CalendarPickerSkeleton/index.js +2 -0
- package/CalendarPickerSkeleton/package.json +6 -0
- package/ClockPicker/ClockPicker.d.ts +14 -0
- package/ClockPicker/ClockPicker.js +20 -0
- package/ClockPicker/index.d.ts +2 -0
- package/ClockPicker/index.js +2 -0
- package/ClockPicker/package.json +6 -0
- package/DatePicker/DatePicker.d.ts +10 -0
- package/DatePicker/DatePicker.js +19 -0
- package/DatePicker/index.d.ts +2 -0
- package/DatePicker/index.js +2 -0
- package/DatePicker/package.json +6 -0
- package/DateRangePicker/DateRangePicker.d.ts +11 -0
- package/DateRangePicker/DateRangePicker.js +19 -0
- package/DateRangePicker/index.d.ts +2 -0
- package/DateRangePicker/index.js +2 -0
- package/DateRangePicker/package.json +6 -0
- package/DateRangePickerDay/DateRangePickerDay.d.ts +13 -0
- package/DateRangePickerDay/DateRangePickerDay.js +23 -0
- package/DateRangePickerDay/index.d.ts +2 -0
- package/DateRangePickerDay/index.js +2 -0
- package/DateRangePickerDay/package.json +6 -0
- package/DateTimePicker/DateTimePicker.d.ts +10 -0
- package/DateTimePicker/DateTimePicker.js +19 -0
- package/DateTimePicker/index.d.ts +2 -0
- package/DateTimePicker/index.js +2 -0
- package/DateTimePicker/package.json +6 -0
- package/DesktopDatePicker/DesktopDatePicker.d.ts +10 -0
- package/DesktopDatePicker/DesktopDatePicker.js +19 -0
- package/DesktopDatePicker/index.d.ts +2 -0
- package/DesktopDatePicker/index.js +2 -0
- package/DesktopDatePicker/package.json +6 -0
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +10 -0
- package/DesktopDateRangePicker/DesktopDateRangePicker.js +19 -0
- package/DesktopDateRangePicker/index.d.ts +2 -0
- package/DesktopDateRangePicker/index.js +2 -0
- package/DesktopDateRangePicker/package.json +6 -0
- package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +10 -0
- package/DesktopDateTimePicker/DesktopDateTimePicker.js +19 -0
- package/DesktopDateTimePicker/index.d.ts +2 -0
- package/DesktopDateTimePicker/index.js +2 -0
- package/DesktopDateTimePicker/package.json +6 -0
- package/DesktopTimePicker/DesktopTimePicker.d.ts +10 -0
- package/DesktopTimePicker/DesktopTimePicker.js +19 -0
- package/DesktopTimePicker/index.d.ts +2 -0
- package/DesktopTimePicker/index.js +2 -0
- package/DesktopTimePicker/package.json +6 -0
- package/LICENSE +21 -0
- package/LoadingButton/LoadingButton.d.ts +75 -0
- package/LoadingButton/LoadingButton.js +236 -0
- package/LoadingButton/index.d.ts +5 -0
- package/LoadingButton/index.js +3 -0
- package/LoadingButton/loadingButtonClasses.d.ts +22 -0
- package/LoadingButton/loadingButtonClasses.js +6 -0
- package/LoadingButton/package.json +6 -0
- package/LocalizationProvider/LocalizationProvider.d.ts +10 -0
- package/LocalizationProvider/LocalizationProvider.js +18 -0
- package/LocalizationProvider/index.d.ts +2 -0
- package/LocalizationProvider/index.js +2 -0
- package/LocalizationProvider/package.json +6 -0
- package/Masonry/Masonry.d.ts +62 -0
- package/Masonry/Masonry.js +347 -0
- package/Masonry/index.d.ts +5 -0
- package/Masonry/index.js +3 -0
- package/Masonry/masonryClasses.d.ts +8 -0
- package/Masonry/masonryClasses.js +6 -0
- package/Masonry/package.json +6 -0
- package/MobileDatePicker/MobileDatePicker.d.ts +10 -0
- package/MobileDatePicker/MobileDatePicker.js +19 -0
- package/MobileDatePicker/index.d.ts +2 -0
- package/MobileDatePicker/index.js +2 -0
- package/MobileDatePicker/package.json +6 -0
- package/MobileDateRangePicker/MobileDateRangePicker.d.ts +10 -0
- package/MobileDateRangePicker/MobileDateRangePicker.js +19 -0
- package/MobileDateRangePicker/index.d.ts +2 -0
- package/MobileDateRangePicker/index.js +2 -0
- package/MobileDateRangePicker/package.json +6 -0
- package/MobileDateTimePicker/MobileDateTimePicker.d.ts +10 -0
- package/MobileDateTimePicker/MobileDateTimePicker.js +19 -0
- package/MobileDateTimePicker/index.d.ts +2 -0
- package/MobileDateTimePicker/index.js +2 -0
- package/MobileDateTimePicker/package.json +6 -0
- package/MobileTimePicker/MobileTimePicker.d.ts +10 -0
- package/MobileTimePicker/MobileTimePicker.js +19 -0
- package/MobileTimePicker/index.d.ts +2 -0
- package/MobileTimePicker/index.js +2 -0
- package/MobileTimePicker/package.json +6 -0
- package/MonthPicker/MonthPicker.d.ts +13 -0
- package/MonthPicker/MonthPicker.js +24 -0
- package/MonthPicker/index.d.ts +2 -0
- package/MonthPicker/index.js +2 -0
- package/MonthPicker/package.json +6 -0
- package/Pagination/Pagination.d.ts +2 -0
- package/Pagination/Pagination.js +19 -0
- package/Pagination/index.d.ts +4 -0
- package/Pagination/index.js +2 -0
- package/Pagination/package.json +6 -0
- package/Pagination/usePagination.d.ts +2 -0
- package/Pagination/usePagination.js +1 -0
- package/PaginationItem/PaginationItem.d.ts +2 -0
- package/PaginationItem/PaginationItem.js +19 -0
- package/PaginationItem/index.d.ts +2 -0
- package/PaginationItem/index.js +1 -0
- package/PaginationItem/package.json +6 -0
- package/PickersDay/PickersDay.d.ts +13 -0
- package/PickersDay/PickersDay.js +24 -0
- package/PickersDay/index.d.ts +2 -0
- package/PickersDay/index.js +2 -0
- package/PickersDay/package.json +6 -0
- package/README.md +36 -0
- package/Rating/Rating.d.ts +2 -0
- package/Rating/Rating.js +19 -0
- package/Rating/index.d.ts +2 -0
- package/Rating/index.js +1 -0
- package/Rating/package.json +6 -0
- package/Skeleton/Skeleton.d.ts +2 -0
- package/Skeleton/Skeleton.js +19 -0
- package/Skeleton/index.d.ts +2 -0
- package/Skeleton/index.js +1 -0
- package/Skeleton/package.json +6 -0
- package/SpeedDial/SpeedDial.d.ts +2 -0
- package/SpeedDial/SpeedDial.js +19 -0
- package/SpeedDial/index.d.ts +2 -0
- package/SpeedDial/index.js +1 -0
- package/SpeedDial/package.json +6 -0
- package/SpeedDialAction/SpeedDialAction.d.ts +2 -0
- package/SpeedDialAction/SpeedDialAction.js +19 -0
- package/SpeedDialAction/index.d.ts +2 -0
- package/SpeedDialAction/index.js +1 -0
- package/SpeedDialAction/package.json +6 -0
- package/SpeedDialIcon/SpeedDialIcon.d.ts +2 -0
- package/SpeedDialIcon/SpeedDialIcon.js +19 -0
- package/SpeedDialIcon/index.d.ts +2 -0
- package/SpeedDialIcon/index.js +1 -0
- package/SpeedDialIcon/package.json +6 -0
- package/StaticDatePicker/StaticDatePicker.d.ts +10 -0
- package/StaticDatePicker/StaticDatePicker.js +19 -0
- package/StaticDatePicker/index.d.ts +2 -0
- package/StaticDatePicker/index.js +2 -0
- package/StaticDatePicker/package.json +6 -0
- package/StaticDateRangePicker/StaticDateRangePicker.d.ts +10 -0
- package/StaticDateRangePicker/StaticDateRangePicker.js +19 -0
- package/StaticDateRangePicker/index.d.ts +2 -0
- package/StaticDateRangePicker/index.js +2 -0
- package/StaticDateRangePicker/package.json +6 -0
- package/StaticDateTimePicker/StaticDateTimePicker.d.ts +10 -0
- package/StaticDateTimePicker/StaticDateTimePicker.js +19 -0
- package/StaticDateTimePicker/index.d.ts +2 -0
- package/StaticDateTimePicker/index.js +2 -0
- package/StaticDateTimePicker/package.json +6 -0
- package/StaticTimePicker/StaticTimePicker.d.ts +10 -0
- package/StaticTimePicker/StaticTimePicker.js +19 -0
- package/StaticTimePicker/index.d.ts +2 -0
- package/StaticTimePicker/index.js +2 -0
- package/StaticTimePicker/package.json +6 -0
- package/TabContext/TabContext.d.ts +31 -0
- package/TabContext/TabContext.js +85 -0
- package/TabContext/index.d.ts +2 -0
- package/TabContext/index.js +2 -0
- package/TabContext/package.json +6 -0
- package/TabList/TabList.d.ts +39 -0
- package/TabList/TabList.js +51 -0
- package/TabList/index.d.ts +2 -0
- package/TabList/index.js +1 -0
- package/TabList/package.json +6 -0
- package/TabPanel/TabPanel.d.ts +37 -0
- package/TabPanel/TabPanel.js +102 -0
- package/TabPanel/index.d.ts +5 -0
- package/TabPanel/index.js +3 -0
- package/TabPanel/package.json +6 -0
- package/TabPanel/tabPanelClasses.d.ts +8 -0
- package/TabPanel/tabPanelClasses.js +6 -0
- package/TimePicker/TimePicker.d.ts +10 -0
- package/TimePicker/TimePicker.js +19 -0
- package/TimePicker/index.d.ts +2 -0
- package/TimePicker/index.js +2 -0
- package/TimePicker/package.json +6 -0
- package/Timeline/Timeline.d.ts +59 -0
- package/Timeline/Timeline.js +125 -0
- package/Timeline/TimelineContext.d.ts +6 -0
- package/Timeline/TimelineContext.js +12 -0
- package/Timeline/index.d.ts +5 -0
- package/Timeline/index.js +3 -0
- package/Timeline/package.json +6 -0
- package/Timeline/timelineClasses.d.ts +3 -0
- package/Timeline/timelineClasses.js +6 -0
- package/TimelineConnector/TimelineConnector.d.ts +33 -0
- package/TimelineConnector/TimelineConnector.js +82 -0
- package/TimelineConnector/index.d.ts +5 -0
- package/TimelineConnector/index.js +3 -0
- package/TimelineConnector/package.json +6 -0
- package/TimelineConnector/timelineConnectorClasses.d.ts +8 -0
- package/TimelineConnector/timelineConnectorClasses.js +6 -0
- package/TimelineContent/TimelineContent.d.ts +33 -0
- package/TimelineContent/TimelineContent.js +99 -0
- package/TimelineContent/index.d.ts +5 -0
- package/TimelineContent/index.js +3 -0
- package/TimelineContent/package.json +6 -0
- package/TimelineContent/timelineContentClasses.d.ts +14 -0
- package/TimelineContent/timelineContentClasses.js +6 -0
- package/TimelineDot/TimelineDot.d.ts +50 -0
- package/TimelineDot/TimelineDot.js +131 -0
- package/TimelineDot/index.d.ts +5 -0
- package/TimelineDot/index.js +3 -0
- package/TimelineDot/package.json +6 -0
- package/TimelineDot/timelineDotClasses.d.ts +24 -0
- package/TimelineDot/timelineDotClasses.js +6 -0
- package/TimelineItem/TimelineItem.d.ts +36 -0
- package/TimelineItem/TimelineItem.js +135 -0
- package/TimelineItem/index.d.ts +5 -0
- package/TimelineItem/index.js +3 -0
- package/TimelineItem/package.json +6 -0
- package/TimelineItem/timelineItemClasses.d.ts +16 -0
- package/TimelineItem/timelineItemClasses.js +6 -0
- package/TimelineOppositeContent/TimelineOppositeContent.d.ts +37 -0
- package/TimelineOppositeContent/TimelineOppositeContent.js +101 -0
- package/TimelineOppositeContent/index.d.ts +5 -0
- package/TimelineOppositeContent/index.js +3 -0
- package/TimelineOppositeContent/package.json +6 -0
- package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -0
- package/TimelineOppositeContent/timelineOppositeContentClasses.js +6 -0
- package/TimelineSeparator/TimelineSeparator.d.ts +33 -0
- package/TimelineSeparator/TimelineSeparator.js +79 -0
- package/TimelineSeparator/index.d.ts +5 -0
- package/TimelineSeparator/index.js +3 -0
- package/TimelineSeparator/package.json +6 -0
- package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -0
- package/TimelineSeparator/timelineSeparatorClasses.js +6 -0
- package/ToggleButton/ToggleButton.d.ts +2 -0
- package/ToggleButton/ToggleButton.js +19 -0
- package/ToggleButton/index.d.ts +2 -0
- package/ToggleButton/index.js +1 -0
- package/ToggleButton/package.json +6 -0
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -0
- package/ToggleButtonGroup/ToggleButtonGroup.js +19 -0
- package/ToggleButtonGroup/index.d.ts +2 -0
- package/ToggleButtonGroup/index.js +1 -0
- package/ToggleButtonGroup/package.json +6 -0
- package/TreeItem/TreeItem.d.ts +87 -0
- package/TreeItem/TreeItem.js +423 -0
- package/TreeItem/TreeItemContent.d.ts +50 -0
- package/TreeItem/TreeItemContent.js +128 -0
- package/TreeItem/index.d.ts +7 -0
- package/TreeItem/index.js +4 -0
- package/TreeItem/package.json +6 -0
- package/TreeItem/treeItemClasses.d.ts +24 -0
- package/TreeItem/treeItemClasses.js +6 -0
- package/TreeItem/useTreeItem.d.ts +11 -0
- package/TreeItem/useTreeItem.js +74 -0
- package/TreeView/TreeView.d.ts +144 -0
- package/TreeView/TreeView.js +982 -0
- package/TreeView/TreeViewContext.js +12 -0
- package/TreeView/descendants.js +198 -0
- package/TreeView/index.d.ts +5 -0
- package/TreeView/index.js +3 -0
- package/TreeView/package.json +6 -0
- package/TreeView/treeViewClasses.d.ts +8 -0
- package/TreeView/treeViewClasses.js +6 -0
- package/YearPicker/YearPicker.d.ts +14 -0
- package/YearPicker/YearPicker.js +24 -0
- package/YearPicker/index.d.ts +2 -0
- package/YearPicker/index.js +2 -0
- package/YearPicker/package.json +6 -0
- package/index.d.ts +155 -0
- package/index.js +110 -0
- package/internal/svg-icons/ArrowDropDown.d.ts +7 -0
- package/internal/svg-icons/ArrowDropDown.js +10 -0
- package/internal/svg-icons/ArrowLeft.d.ts +7 -0
- package/internal/svg-icons/ArrowLeft.js +10 -0
- package/internal/svg-icons/ArrowRight.d.ts +7 -0
- package/internal/svg-icons/ArrowRight.js +10 -0
- package/internal/svg-icons/Calendar.d.ts +7 -0
- package/internal/svg-icons/Calendar.js +10 -0
- package/internal/svg-icons/Clock.d.ts +7 -0
- package/internal/svg-icons/Clock.js +15 -0
- package/internal/svg-icons/DateRange.d.ts +7 -0
- package/internal/svg-icons/DateRange.js +10 -0
- package/internal/svg-icons/Pen.d.ts +7 -0
- package/internal/svg-icons/Pen.js +10 -0
- package/internal/svg-icons/Time.d.ts +7 -0
- package/internal/svg-icons/Time.js +15 -0
- package/legacy/AdapterDateFns/AdapterDateFns.js +19 -0
- package/legacy/AdapterDateFns/index.js +1 -0
- package/legacy/AdapterDayjs/AdapterDayjs.js +19 -0
- package/legacy/AdapterDayjs/index.js +1 -0
- package/legacy/AdapterLuxon/AdapterLuxon.js +19 -0
- package/legacy/AdapterLuxon/index.js +1 -0
- package/legacy/AdapterMoment/AdapterMoment.js +19 -0
- package/legacy/AdapterMoment/index.js +1 -0
- package/legacy/Alert/Alert.js +19 -0
- package/legacy/Alert/index.js +1 -0
- package/legacy/AlertTitle/AlertTitle.js +19 -0
- package/legacy/AlertTitle/index.js +1 -0
- package/legacy/Autocomplete/Autocomplete.js +19 -0
- package/legacy/Autocomplete/index.js +1 -0
- package/legacy/AvatarGroup/AvatarGroup.js +19 -0
- package/legacy/AvatarGroup/index.js +1 -0
- package/legacy/CalendarPicker/CalendarPicker.js +20 -0
- package/legacy/CalendarPicker/index.js +2 -0
- package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +24 -0
- package/legacy/CalendarPickerSkeleton/index.js +2 -0
- package/legacy/ClockPicker/ClockPicker.js +20 -0
- package/legacy/ClockPicker/index.js +2 -0
- package/legacy/DatePicker/DatePicker.js +19 -0
- package/legacy/DatePicker/index.js +2 -0
- package/legacy/DateRangePicker/DateRangePicker.js +19 -0
- package/legacy/DateRangePicker/index.js +2 -0
- package/legacy/DateRangePickerDay/DateRangePickerDay.js +23 -0
- package/legacy/DateRangePickerDay/index.js +2 -0
- package/legacy/DateTimePicker/DateTimePicker.js +19 -0
- package/legacy/DateTimePicker/index.js +2 -0
- package/legacy/DesktopDatePicker/DesktopDatePicker.js +19 -0
- package/legacy/DesktopDatePicker/index.js +2 -0
- package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +19 -0
- package/legacy/DesktopDateRangePicker/index.js +2 -0
- package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +19 -0
- package/legacy/DesktopDateTimePicker/index.js +2 -0
- package/legacy/DesktopTimePicker/DesktopTimePicker.js +19 -0
- package/legacy/DesktopTimePicker/index.js +2 -0
- package/legacy/LoadingButton/LoadingButton.js +229 -0
- package/legacy/LoadingButton/index.js +3 -0
- package/legacy/LoadingButton/loadingButtonClasses.js +6 -0
- package/legacy/LocalizationProvider/LocalizationProvider.js +18 -0
- package/legacy/LocalizationProvider/index.js +2 -0
- package/legacy/Masonry/Masonry.js +357 -0
- package/legacy/Masonry/index.js +3 -0
- package/legacy/Masonry/masonryClasses.js +6 -0
- package/legacy/MobileDatePicker/MobileDatePicker.js +19 -0
- package/legacy/MobileDatePicker/index.js +2 -0
- package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +19 -0
- package/legacy/MobileDateRangePicker/index.js +2 -0
- package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +19 -0
- package/legacy/MobileDateTimePicker/index.js +2 -0
- package/legacy/MobileTimePicker/MobileTimePicker.js +19 -0
- package/legacy/MobileTimePicker/index.js +2 -0
- package/legacy/MonthPicker/MonthPicker.js +24 -0
- package/legacy/MonthPicker/index.js +2 -0
- package/legacy/Pagination/Pagination.js +19 -0
- package/legacy/Pagination/index.js +2 -0
- package/legacy/Pagination/usePagination.js +1 -0
- package/legacy/PaginationItem/PaginationItem.js +19 -0
- package/legacy/PaginationItem/index.js +1 -0
- package/legacy/PickersDay/PickersDay.js +24 -0
- package/legacy/PickersDay/index.js +2 -0
- package/legacy/Rating/Rating.js +19 -0
- package/legacy/Rating/index.js +1 -0
- package/legacy/Skeleton/Skeleton.js +19 -0
- package/legacy/Skeleton/index.js +1 -0
- package/legacy/SpeedDial/SpeedDial.js +19 -0
- package/legacy/SpeedDial/index.js +1 -0
- package/legacy/SpeedDialAction/SpeedDialAction.js +19 -0
- package/legacy/SpeedDialAction/index.js +1 -0
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +19 -0
- package/legacy/SpeedDialIcon/index.js +1 -0
- package/legacy/StaticDatePicker/StaticDatePicker.js +19 -0
- package/legacy/StaticDatePicker/index.js +2 -0
- package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +19 -0
- package/legacy/StaticDateRangePicker/index.js +2 -0
- package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +19 -0
- package/legacy/StaticDateTimePicker/index.js +2 -0
- package/legacy/StaticTimePicker/StaticTimePicker.js +19 -0
- package/legacy/StaticTimePicker/index.js +2 -0
- package/legacy/TabContext/TabContext.js +82 -0
- package/legacy/TabContext/index.js +2 -0
- package/legacy/TabList/TabList.js +48 -0
- package/legacy/TabList/index.js +1 -0
- package/legacy/TabPanel/TabPanel.js +100 -0
- package/legacy/TabPanel/index.js +3 -0
- package/legacy/TabPanel/tabPanelClasses.js +6 -0
- package/legacy/TimePicker/TimePicker.js +19 -0
- package/legacy/TimePicker/index.js +2 -0
- package/legacy/Timeline/Timeline.js +119 -0
- package/legacy/Timeline/TimelineContext.js +12 -0
- package/legacy/Timeline/index.js +3 -0
- package/legacy/Timeline/timelineClasses.js +6 -0
- package/legacy/TimelineConnector/TimelineConnector.js +78 -0
- package/legacy/TimelineConnector/index.js +3 -0
- package/legacy/TimelineConnector/timelineConnectorClasses.js +6 -0
- package/legacy/TimelineContent/TimelineContent.js +92 -0
- package/legacy/TimelineContent/index.js +3 -0
- package/legacy/TimelineContent/timelineContentClasses.js +6 -0
- package/legacy/TimelineDot/TimelineDot.js +127 -0
- package/legacy/TimelineDot/index.js +3 -0
- package/legacy/TimelineDot/timelineDotClasses.js +6 -0
- package/legacy/TimelineItem/TimelineItem.js +130 -0
- package/legacy/TimelineItem/index.js +3 -0
- package/legacy/TimelineItem/timelineItemClasses.js +6 -0
- package/legacy/TimelineOppositeContent/TimelineOppositeContent.js +94 -0
- package/legacy/TimelineOppositeContent/index.js +3 -0
- package/legacy/TimelineOppositeContent/timelineOppositeContentClasses.js +6 -0
- package/legacy/TimelineSeparator/TimelineSeparator.js +76 -0
- package/legacy/TimelineSeparator/index.js +3 -0
- package/legacy/TimelineSeparator/timelineSeparatorClasses.js +6 -0
- package/legacy/ToggleButton/ToggleButton.js +19 -0
- package/legacy/ToggleButton/index.js +1 -0
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +19 -0
- package/legacy/ToggleButtonGroup/index.js +1 -0
- package/legacy/TreeItem/TreeItem.js +425 -0
- package/legacy/TreeItem/TreeItemContent.js +125 -0
- package/legacy/TreeItem/index.js +4 -0
- package/legacy/TreeItem/treeItemClasses.js +6 -0
- package/legacy/TreeItem/useTreeItem.js +74 -0
- package/legacy/TreeView/TreeView.js +1045 -0
- package/legacy/TreeView/TreeViewContext.js +12 -0
- package/legacy/TreeView/descendants.js +211 -0
- package/legacy/TreeView/index.js +3 -0
- package/legacy/TreeView/treeViewClasses.js +6 -0
- package/legacy/YearPicker/YearPicker.js +24 -0
- package/legacy/YearPicker/index.js +2 -0
- package/legacy/index.js +110 -0
- package/legacy/internal/svg-icons/ArrowDropDown.js +10 -0
- package/legacy/internal/svg-icons/ArrowLeft.js +10 -0
- package/legacy/internal/svg-icons/ArrowRight.js +10 -0
- package/legacy/internal/svg-icons/Calendar.js +10 -0
- package/legacy/internal/svg-icons/Clock.js +15 -0
- package/legacy/internal/svg-icons/DateRange.js +10 -0
- package/legacy/internal/svg-icons/Pen.js +10 -0
- package/legacy/internal/svg-icons/Time.js +15 -0
- package/legacy/themeAugmentation/index.js +1 -0
- package/legacy/useAutocomplete/index.js +1 -0
- package/modern/AdapterDateFns/AdapterDateFns.js +16 -0
- package/modern/AdapterDateFns/index.js +1 -0
- package/modern/AdapterDayjs/AdapterDayjs.js +16 -0
- package/modern/AdapterDayjs/index.js +1 -0
- package/modern/AdapterLuxon/AdapterLuxon.js +16 -0
- package/modern/AdapterLuxon/index.js +1 -0
- package/modern/AdapterMoment/AdapterMoment.js +16 -0
- package/modern/AdapterMoment/index.js +1 -0
- package/modern/Alert/Alert.js +19 -0
- package/modern/Alert/index.js +1 -0
- package/modern/AlertTitle/AlertTitle.js +19 -0
- package/modern/AlertTitle/index.js +1 -0
- package/modern/Autocomplete/Autocomplete.js +19 -0
- package/modern/Autocomplete/index.js +1 -0
- package/modern/AvatarGroup/AvatarGroup.js +19 -0
- package/modern/AvatarGroup/index.js +1 -0
- package/modern/CalendarPicker/CalendarPicker.js +20 -0
- package/modern/CalendarPicker/index.js +2 -0
- package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +24 -0
- package/modern/CalendarPickerSkeleton/index.js +2 -0
- package/modern/ClockPicker/ClockPicker.js +20 -0
- package/modern/ClockPicker/index.js +2 -0
- package/modern/DatePicker/DatePicker.js +19 -0
- package/modern/DatePicker/index.js +2 -0
- package/modern/DateRangePicker/DateRangePicker.js +19 -0
- package/modern/DateRangePicker/index.js +2 -0
- package/modern/DateRangePickerDay/DateRangePickerDay.js +23 -0
- package/modern/DateRangePickerDay/index.js +2 -0
- package/modern/DateTimePicker/DateTimePicker.js +19 -0
- package/modern/DateTimePicker/index.js +2 -0
- package/modern/DesktopDatePicker/DesktopDatePicker.js +19 -0
- package/modern/DesktopDatePicker/index.js +2 -0
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +19 -0
- package/modern/DesktopDateRangePicker/index.js +2 -0
- package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +19 -0
- package/modern/DesktopDateTimePicker/index.js +2 -0
- package/modern/DesktopTimePicker/DesktopTimePicker.js +19 -0
- package/modern/DesktopTimePicker/index.js +2 -0
- package/modern/LoadingButton/LoadingButton.js +237 -0
- package/modern/LoadingButton/index.js +3 -0
- package/modern/LoadingButton/loadingButtonClasses.js +6 -0
- package/modern/LocalizationProvider/LocalizationProvider.js +18 -0
- package/modern/LocalizationProvider/index.js +2 -0
- package/modern/Masonry/Masonry.js +347 -0
- package/modern/Masonry/index.js +3 -0
- package/modern/Masonry/masonryClasses.js +6 -0
- package/modern/MobileDatePicker/MobileDatePicker.js +19 -0
- package/modern/MobileDatePicker/index.js +2 -0
- package/modern/MobileDateRangePicker/MobileDateRangePicker.js +19 -0
- package/modern/MobileDateRangePicker/index.js +2 -0
- package/modern/MobileDateTimePicker/MobileDateTimePicker.js +19 -0
- package/modern/MobileDateTimePicker/index.js +2 -0
- package/modern/MobileTimePicker/MobileTimePicker.js +19 -0
- package/modern/MobileTimePicker/index.js +2 -0
- package/modern/MonthPicker/MonthPicker.js +24 -0
- package/modern/MonthPicker/index.js +2 -0
- package/modern/Pagination/Pagination.js +19 -0
- package/modern/Pagination/index.js +2 -0
- package/modern/Pagination/usePagination.js +1 -0
- package/modern/PaginationItem/PaginationItem.js +19 -0
- package/modern/PaginationItem/index.js +1 -0
- package/modern/PickersDay/PickersDay.js +24 -0
- package/modern/PickersDay/index.js +2 -0
- package/modern/Rating/Rating.js +19 -0
- package/modern/Rating/index.js +1 -0
- package/modern/Skeleton/Skeleton.js +19 -0
- package/modern/Skeleton/index.js +1 -0
- package/modern/SpeedDial/SpeedDial.js +19 -0
- package/modern/SpeedDial/index.js +1 -0
- package/modern/SpeedDialAction/SpeedDialAction.js +19 -0
- package/modern/SpeedDialAction/index.js +1 -0
- package/modern/SpeedDialIcon/SpeedDialIcon.js +19 -0
- package/modern/SpeedDialIcon/index.js +1 -0
- package/modern/StaticDatePicker/StaticDatePicker.js +19 -0
- package/modern/StaticDatePicker/index.js +2 -0
- package/modern/StaticDateRangePicker/StaticDateRangePicker.js +19 -0
- package/modern/StaticDateRangePicker/index.js +2 -0
- package/modern/StaticDateTimePicker/StaticDateTimePicker.js +19 -0
- package/modern/StaticDateTimePicker/index.js +2 -0
- package/modern/StaticTimePicker/StaticTimePicker.js +19 -0
- package/modern/StaticTimePicker/index.js +2 -0
- package/modern/TabContext/TabContext.js +85 -0
- package/modern/TabContext/index.js +2 -0
- package/modern/TabList/TabList.js +51 -0
- package/modern/TabList/index.js +1 -0
- package/modern/TabPanel/TabPanel.js +102 -0
- package/modern/TabPanel/index.js +3 -0
- package/modern/TabPanel/tabPanelClasses.js +6 -0
- package/modern/TimePicker/TimePicker.js +19 -0
- package/modern/TimePicker/index.js +2 -0
- package/modern/Timeline/Timeline.js +125 -0
- package/modern/Timeline/TimelineContext.js +12 -0
- package/modern/Timeline/index.js +3 -0
- package/modern/Timeline/timelineClasses.js +6 -0
- package/modern/TimelineConnector/TimelineConnector.js +82 -0
- package/modern/TimelineConnector/index.js +3 -0
- package/modern/TimelineConnector/timelineConnectorClasses.js +6 -0
- package/modern/TimelineContent/TimelineContent.js +99 -0
- package/modern/TimelineContent/index.js +3 -0
- package/modern/TimelineContent/timelineContentClasses.js +6 -0
- package/modern/TimelineDot/TimelineDot.js +131 -0
- package/modern/TimelineDot/index.js +3 -0
- package/modern/TimelineDot/timelineDotClasses.js +6 -0
- package/modern/TimelineItem/TimelineItem.js +135 -0
- package/modern/TimelineItem/index.js +3 -0
- package/modern/TimelineItem/timelineItemClasses.js +6 -0
- package/modern/TimelineOppositeContent/TimelineOppositeContent.js +101 -0
- package/modern/TimelineOppositeContent/index.js +3 -0
- package/modern/TimelineOppositeContent/timelineOppositeContentClasses.js +6 -0
- package/modern/TimelineSeparator/TimelineSeparator.js +79 -0
- package/modern/TimelineSeparator/index.js +3 -0
- package/modern/TimelineSeparator/timelineSeparatorClasses.js +6 -0
- package/modern/ToggleButton/ToggleButton.js +19 -0
- package/modern/ToggleButton/index.js +1 -0
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +19 -0
- package/modern/ToggleButtonGroup/index.js +1 -0
- package/modern/TreeItem/TreeItem.js +423 -0
- package/modern/TreeItem/TreeItemContent.js +128 -0
- package/modern/TreeItem/index.js +4 -0
- package/modern/TreeItem/treeItemClasses.js +6 -0
- package/modern/TreeItem/useTreeItem.js +74 -0
- package/modern/TreeView/TreeView.js +982 -0
- package/modern/TreeView/TreeViewContext.js +12 -0
- package/modern/TreeView/descendants.js +198 -0
- package/modern/TreeView/index.js +3 -0
- package/modern/TreeView/treeViewClasses.js +6 -0
- package/modern/YearPicker/YearPicker.js +24 -0
- package/modern/YearPicker/index.js +2 -0
- package/modern/index.js +110 -0
- package/modern/internal/svg-icons/ArrowDropDown.js +10 -0
- package/modern/internal/svg-icons/ArrowLeft.js +10 -0
- package/modern/internal/svg-icons/ArrowRight.js +10 -0
- package/modern/internal/svg-icons/Calendar.js +10 -0
- package/modern/internal/svg-icons/Clock.js +15 -0
- package/modern/internal/svg-icons/DateRange.js +10 -0
- package/modern/internal/svg-icons/Pen.js +10 -0
- package/modern/internal/svg-icons/Time.js +15 -0
- package/modern/themeAugmentation/index.js +1 -0
- package/modern/useAutocomplete/index.js +1 -0
- package/node/AdapterDateFns/AdapterDateFns.js +24 -0
- package/node/AdapterDateFns/index.js +15 -0
- package/node/AdapterDayjs/AdapterDayjs.js +24 -0
- package/node/AdapterDayjs/index.js +15 -0
- package/node/AdapterLuxon/AdapterLuxon.js +24 -0
- package/node/AdapterLuxon/index.js +15 -0
- package/node/AdapterMoment/AdapterMoment.js +24 -0
- package/node/AdapterMoment/index.js +15 -0
- package/node/Alert/Alert.js +38 -0
- package/node/Alert/index.js +15 -0
- package/node/AlertTitle/AlertTitle.js +38 -0
- package/node/AlertTitle/index.js +15 -0
- package/node/Autocomplete/Autocomplete.js +38 -0
- package/node/Autocomplete/index.js +15 -0
- package/node/AvatarGroup/AvatarGroup.js +38 -0
- package/node/AvatarGroup/index.js +15 -0
- package/node/CalendarPicker/CalendarPicker.js +34 -0
- package/node/CalendarPicker/index.js +30 -0
- package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +41 -0
- package/node/CalendarPickerSkeleton/index.js +30 -0
- package/node/ClockPicker/ClockPicker.js +34 -0
- package/node/ClockPicker/index.js +30 -0
- package/node/DatePicker/DatePicker.js +32 -0
- package/node/DatePicker/index.js +30 -0
- package/node/DateRangePicker/DateRangePicker.js +32 -0
- package/node/DateRangePicker/index.js +30 -0
- package/node/DateRangePickerDay/DateRangePickerDay.js +39 -0
- package/node/DateRangePickerDay/index.js +30 -0
- package/node/DateTimePicker/DateTimePicker.js +32 -0
- package/node/DateTimePicker/index.js +30 -0
- package/node/DesktopDatePicker/DesktopDatePicker.js +32 -0
- package/node/DesktopDatePicker/index.js +30 -0
- package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +32 -0
- package/node/DesktopDateRangePicker/index.js +30 -0
- package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +32 -0
- package/node/DesktopDateTimePicker/index.js +30 -0
- package/node/DesktopTimePicker/DesktopTimePicker.js +32 -0
- package/node/DesktopTimePicker/index.js +30 -0
- package/node/LoadingButton/LoadingButton.js +257 -0
- package/node/LoadingButton/index.js +42 -0
- package/node/LoadingButton/loadingButtonClasses.js +17 -0
- package/node/LocalizationProvider/LocalizationProvider.js +31 -0
- package/node/LocalizationProvider/index.js +30 -0
- package/node/Masonry/Masonry.js +373 -0
- package/node/Masonry/index.js +42 -0
- package/node/Masonry/masonryClasses.js +17 -0
- package/node/MobileDatePicker/MobileDatePicker.js +32 -0
- package/node/MobileDatePicker/index.js +30 -0
- package/node/MobileDateRangePicker/MobileDateRangePicker.js +32 -0
- package/node/MobileDateRangePicker/index.js +30 -0
- package/node/MobileDateTimePicker/MobileDateTimePicker.js +32 -0
- package/node/MobileDateTimePicker/index.js +30 -0
- package/node/MobileTimePicker/MobileTimePicker.js +32 -0
- package/node/MobileTimePicker/index.js +30 -0
- package/node/MonthPicker/MonthPicker.js +41 -0
- package/node/MonthPicker/index.js +30 -0
- package/node/Pagination/Pagination.js +38 -0
- package/node/Pagination/index.js +23 -0
- package/node/Pagination/usePagination.js +15 -0
- package/node/PaginationItem/PaginationItem.js +38 -0
- package/node/PaginationItem/index.js +15 -0
- package/node/PickersDay/PickersDay.js +41 -0
- package/node/PickersDay/index.js +30 -0
- package/node/Rating/Rating.js +38 -0
- package/node/Rating/index.js +15 -0
- package/node/Skeleton/Skeleton.js +38 -0
- package/node/Skeleton/index.js +15 -0
- package/node/SpeedDial/SpeedDial.js +38 -0
- package/node/SpeedDial/index.js +15 -0
- package/node/SpeedDialAction/SpeedDialAction.js +38 -0
- package/node/SpeedDialAction/index.js +15 -0
- package/node/SpeedDialIcon/SpeedDialIcon.js +38 -0
- package/node/SpeedDialIcon/index.js +15 -0
- package/node/StaticDatePicker/StaticDatePicker.js +32 -0
- package/node/StaticDatePicker/index.js +30 -0
- package/node/StaticDateRangePicker/StaticDateRangePicker.js +32 -0
- package/node/StaticDateRangePicker/index.js +30 -0
- package/node/StaticDateTimePicker/StaticDateTimePicker.js +32 -0
- package/node/StaticDateTimePicker/index.js +30 -0
- package/node/StaticTimePicker/StaticTimePicker.js +32 -0
- package/node/StaticTimePicker/index.js +30 -0
- package/node/TabContext/TabContext.js +106 -0
- package/node/TabContext/index.js +30 -0
- package/node/TabList/TabList.js +72 -0
- package/node/TabList/index.js +15 -0
- package/node/TabPanel/TabPanel.js +123 -0
- package/node/TabPanel/index.js +42 -0
- package/node/TabPanel/tabPanelClasses.js +17 -0
- package/node/TimePicker/TimePicker.js +32 -0
- package/node/TimePicker/index.js +30 -0
- package/node/Timeline/Timeline.js +147 -0
- package/node/Timeline/TimelineContext.js +24 -0
- package/node/Timeline/index.js +42 -0
- package/node/Timeline/timelineClasses.js +17 -0
- package/node/TimelineConnector/TimelineConnector.js +103 -0
- package/node/TimelineConnector/index.js +42 -0
- package/node/TimelineConnector/timelineConnectorClasses.js +17 -0
- package/node/TimelineContent/TimelineContent.js +121 -0
- package/node/TimelineContent/index.js +42 -0
- package/node/TimelineContent/timelineContentClasses.js +17 -0
- package/node/TimelineDot/TimelineDot.js +152 -0
- package/node/TimelineDot/index.js +42 -0
- package/node/TimelineDot/timelineDotClasses.js +17 -0
- package/node/TimelineItem/TimelineItem.js +158 -0
- package/node/TimelineItem/index.js +42 -0
- package/node/TimelineItem/timelineItemClasses.js +17 -0
- package/node/TimelineOppositeContent/TimelineOppositeContent.js +123 -0
- package/node/TimelineOppositeContent/index.js +42 -0
- package/node/TimelineOppositeContent/timelineOppositeContentClasses.js +17 -0
- package/node/TimelineSeparator/TimelineSeparator.js +100 -0
- package/node/TimelineSeparator/index.js +42 -0
- package/node/TimelineSeparator/timelineSeparatorClasses.js +17 -0
- package/node/ToggleButton/ToggleButton.js +38 -0
- package/node/ToggleButton/index.js +15 -0
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +38 -0
- package/node/ToggleButtonGroup/index.js +15 -0
- package/node/TreeItem/TreeItem.js +447 -0
- package/node/TreeItem/TreeItemContent.js +147 -0
- package/node/TreeItem/index.js +51 -0
- package/node/TreeItem/treeItemClasses.js +17 -0
- package/node/TreeItem/useTreeItem.js +89 -0
- package/node/TreeView/TreeView.js +1002 -0
- package/node/TreeView/TreeViewContext.js +24 -0
- package/node/TreeView/descendants.js +217 -0
- package/node/TreeView/index.js +42 -0
- package/node/TreeView/treeViewClasses.js +17 -0
- package/node/YearPicker/YearPicker.js +36 -0
- package/node/YearPicker/index.js +30 -0
- package/node/index.js +1098 -0
- package/node/internal/svg-icons/ArrowDropDown.js +25 -0
- package/node/internal/svg-icons/ArrowLeft.js +25 -0
- package/node/internal/svg-icons/ArrowRight.js +25 -0
- package/node/internal/svg-icons/Calendar.js +25 -0
- package/node/internal/svg-icons/Clock.js +29 -0
- package/node/internal/svg-icons/DateRange.js +25 -0
- package/node/internal/svg-icons/Pen.js +25 -0
- package/node/internal/svg-icons/Time.js +29 -0
- package/node/themeAugmentation/index.js +2 -0
- package/node/useAutocomplete/index.js +19 -0
- package/package.json +67 -0
- package/themeAugmentation/components.d.ts +78 -0
- package/themeAugmentation/index.d.ts +3 -0
- package/themeAugmentation/index.js +1 -0
- package/themeAugmentation/overrides.d.ts +35 -0
- package/themeAugmentation/package.json +6 -0
- package/themeAugmentation/props.d.ts +36 -0
- package/useAutocomplete/index.d.ts +1 -0
- package/useAutocomplete/index.js +1 -0
- package/useAutocomplete/package.json +6 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
var warnedOnce = false;
|
|
4
|
+
|
|
5
|
+
var warn = function warn() {
|
|
6
|
+
if (!warnedOnce) {
|
|
7
|
+
console.warn(['MUI: The MobileDateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { MobileDateTimePicker } from '@mui/x-date-pickers'`", "or `import { MobileDateTimePicker } from '@mui/x-date-pickers/MobileDateTimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
8
|
+
warnedOnce = true;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @ignore - do not document.
|
|
14
|
+
*/
|
|
15
|
+
var MobileDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileDateTimePicker() {
|
|
16
|
+
warn();
|
|
17
|
+
return null;
|
|
18
|
+
});
|
|
19
|
+
export default MobileDateTimePicker;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
var warnedOnce = false;
|
|
4
|
+
|
|
5
|
+
var warn = function warn() {
|
|
6
|
+
if (!warnedOnce) {
|
|
7
|
+
console.warn(['MUI: The MobileTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { MobileTimePicker } from '@mui/x-date-pickers'`", "or `import { MobileTimePicker } from '@mui/x-date-pickers/MobileTimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
8
|
+
warnedOnce = true;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @ignore - do not document.
|
|
14
|
+
*/
|
|
15
|
+
var MobileTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileTimePicker() {
|
|
16
|
+
warn();
|
|
17
|
+
return null;
|
|
18
|
+
});
|
|
19
|
+
export default MobileTimePicker;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
var warnedOnce = false;
|
|
4
|
+
|
|
5
|
+
var warn = function warn() {
|
|
6
|
+
if (!warnedOnce) {
|
|
7
|
+
console.warn(['MUI: The MonthPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { MonthPicker } from '@mui/x-date-pickers'`", "or `import { MonthPicker } from '@mui/x-date-pickers/MonthPicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
8
|
+
warnedOnce = true;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @ignore - do not document.
|
|
14
|
+
*/
|
|
15
|
+
var MonthPicker = /*#__PURE__*/React.forwardRef(function DeprecatedMonthPicker() {
|
|
16
|
+
warn();
|
|
17
|
+
return null;
|
|
18
|
+
});
|
|
19
|
+
export default MonthPicker;
|
|
20
|
+
export var monthPickerClasses = {};
|
|
21
|
+
export var getMonthPickerUtilityClass = function getMonthPickerUtilityClass(slot) {
|
|
22
|
+
warn();
|
|
23
|
+
return '';
|
|
24
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import Pagination from '@mui/material/Pagination';
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
var warnedOnce = false;
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export default /*#__PURE__*/React.forwardRef(function DeprecatedPagination(props, ref) {
|
|
11
|
+
if (!warnedOnce) {
|
|
12
|
+
console.warn(['MUI: The Pagination component was moved from the lab to the core.', '', "You should use `import { Pagination } from '@mui/material'`", "or `import Pagination from '@mui/material/Pagination'`"].join('\n'));
|
|
13
|
+
warnedOnce = true;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return /*#__PURE__*/_jsx(Pagination, _extends({
|
|
17
|
+
ref: ref
|
|
18
|
+
}, props));
|
|
19
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@mui/material/usePagination';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import PaginationItem from '@mui/material/PaginationItem';
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
var warnedOnce = false;
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export default /*#__PURE__*/React.forwardRef(function DeprecatedPaginationItem(props, ref) {
|
|
11
|
+
if (!warnedOnce) {
|
|
12
|
+
console.warn(['MUI: The PaginationItem component was moved from the lab to the core.', '', "You should use `import { PaginationItem } from '@mui/material'`", "or `import PaginationItem from '@mui/material/PaginationItem'`"].join('\n'));
|
|
13
|
+
warnedOnce = true;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return /*#__PURE__*/_jsx(PaginationItem, _extends({
|
|
17
|
+
ref: ref
|
|
18
|
+
}, props));
|
|
19
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './PaginationItem';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
var warnedOnce = false;
|
|
4
|
+
|
|
5
|
+
var warn = function warn() {
|
|
6
|
+
if (!warnedOnce) {
|
|
7
|
+
console.warn(['MUI: The PickersDay component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { PickersDay } from '@mui/x-date-pickers'`", "or `import { PickersDay } from '@mui/x-date-pickers/PickersDay'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
8
|
+
warnedOnce = true;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @ignore - do not document.
|
|
14
|
+
*/
|
|
15
|
+
var PickersDay = /*#__PURE__*/React.forwardRef(function DeprecatedPickersDay() {
|
|
16
|
+
warn();
|
|
17
|
+
return null;
|
|
18
|
+
});
|
|
19
|
+
export default PickersDay;
|
|
20
|
+
export var pickersDayClasses = {};
|
|
21
|
+
export var getPickersDayUtilityClass = function getPickersDayUtilityClass(slot) {
|
|
22
|
+
warn();
|
|
23
|
+
return '';
|
|
24
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import Rating from '@mui/material/Rating';
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
var warnedOnce = false;
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export default /*#__PURE__*/React.forwardRef(function DeprecatedRating(props, ref) {
|
|
11
|
+
if (!warnedOnce) {
|
|
12
|
+
console.warn(['MUI: The Rating component was moved from the lab to the core.', '', "You should use `import { Rating } from '@mui/material'`", "or `import Rating from '@mui/material/Rating'`"].join('\n'));
|
|
13
|
+
warnedOnce = true;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return /*#__PURE__*/_jsx(Rating, _extends({
|
|
17
|
+
ref: ref
|
|
18
|
+
}, props));
|
|
19
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Rating';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import Skeleton from '@mui/material/Skeleton';
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
var warnedOnce = false;
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export default /*#__PURE__*/React.forwardRef(function DeprecatedSkeleton(props, ref) {
|
|
11
|
+
if (!warnedOnce) {
|
|
12
|
+
console.warn(['MUI: The Skeleton component was moved from the lab to the core.', '', "You should use `import { Skeleton } from '@mui/material'`", "or `import Skeleton from '@mui/material/Skeleton'`"].join('\n'));
|
|
13
|
+
warnedOnce = true;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return /*#__PURE__*/_jsx(Skeleton, _extends({
|
|
17
|
+
ref: ref
|
|
18
|
+
}, props));
|
|
19
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Skeleton';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import SpeedDial from '@mui/material/SpeedDial';
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
var warnedOnce = false;
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export default /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDial(props, ref) {
|
|
11
|
+
if (!warnedOnce) {
|
|
12
|
+
console.warn(['MUI: The SpeedDial component was moved from the lab to the core.', '', "You should use `import { SpeedDial } from '@mui/material'`", "or `import SpeedDial from '@mui/material/SpeedDial'`"].join('\n'));
|
|
13
|
+
warnedOnce = true;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return /*#__PURE__*/_jsx(SpeedDial, _extends({
|
|
17
|
+
ref: ref
|
|
18
|
+
}, props));
|
|
19
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './SpeedDial';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import SpeedDialAction from '@mui/material/SpeedDialAction';
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
var warnedOnce = false;
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export default /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDialAction(props, ref) {
|
|
11
|
+
if (!warnedOnce) {
|
|
12
|
+
console.warn(['MUI: The SpeedDialAction component was moved from the lab to the core.', '', "You should use `import { SpeedDialAction } from '@mui/material'`", "or `import SpeedDialAction from '@mui/material/SpeedDialAction'`"].join('\n'));
|
|
13
|
+
warnedOnce = true;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return /*#__PURE__*/_jsx(SpeedDialAction, _extends({
|
|
17
|
+
ref: ref
|
|
18
|
+
}, props));
|
|
19
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './SpeedDialAction';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import SpeedDialIcon from '@mui/material/SpeedDialIcon';
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
var warnedOnce = false;
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export default /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDialIcon(props, ref) {
|
|
11
|
+
if (!warnedOnce) {
|
|
12
|
+
console.warn(['MUI: The SpeedDialIcon component was moved from the lab to the core.', '', "You should use `import { SpeedDialIcon } from '@mui/material'`", "or `import SpeedDialIcon from '@mui/material/SpeedDialIcon'`"].join('\n'));
|
|
13
|
+
warnedOnce = true;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return /*#__PURE__*/_jsx(SpeedDialIcon, _extends({
|
|
17
|
+
ref: ref
|
|
18
|
+
}, props));
|
|
19
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './SpeedDialIcon';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
var warnedOnce = false;
|
|
4
|
+
|
|
5
|
+
var warn = function warn() {
|
|
6
|
+
if (!warnedOnce) {
|
|
7
|
+
console.warn(['MUI: The StaticDatePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { StaticDatePicker } from '@mui/x-date-pickers'`", "or `import { StaticDatePicker } from '@mui/x-date-pickers/StaticDatePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
8
|
+
warnedOnce = true;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @ignore - do not document.
|
|
14
|
+
*/
|
|
15
|
+
var StaticDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticDatePicker() {
|
|
16
|
+
warn();
|
|
17
|
+
return null;
|
|
18
|
+
});
|
|
19
|
+
export default StaticDatePicker;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
var warnedOnce = false;
|
|
4
|
+
|
|
5
|
+
var warn = function warn() {
|
|
6
|
+
if (!warnedOnce) {
|
|
7
|
+
console.warn(['MUI: The StaticDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { StaticDateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { StaticDateRangePicker } from '@mui/x-date-pickers-pro/StaticDateRangePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
8
|
+
warnedOnce = true;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @ignore - do not document.
|
|
14
|
+
*/
|
|
15
|
+
var StaticDateRangePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticDateRangePicker() {
|
|
16
|
+
warn();
|
|
17
|
+
return null;
|
|
18
|
+
});
|
|
19
|
+
export default StaticDateRangePicker;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
var warnedOnce = false;
|
|
4
|
+
|
|
5
|
+
var warn = function warn() {
|
|
6
|
+
if (!warnedOnce) {
|
|
7
|
+
console.warn(['MUI: The StaticDateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { StaticDateTimePicker } from '@mui/x-date-pickers'`", "or `import { StaticDateTimePicker } from '@mui/x-date-pickers/StaticDateTimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
8
|
+
warnedOnce = true;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @ignore - do not document.
|
|
14
|
+
*/
|
|
15
|
+
var StaticDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticDateTimePicker() {
|
|
16
|
+
warn();
|
|
17
|
+
return null;
|
|
18
|
+
});
|
|
19
|
+
export default StaticDateTimePicker;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
var warnedOnce = false;
|
|
4
|
+
|
|
5
|
+
var warn = function warn() {
|
|
6
|
+
if (!warnedOnce) {
|
|
7
|
+
console.warn(['MUI: The StaticTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { StaticTimePicker } from '@mui/x-date-pickers'`", "or `import { StaticTimePicker } from '@mui/x-date-pickers/StaticTimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
8
|
+
warnedOnce = true;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @ignore - do not document.
|
|
14
|
+
*/
|
|
15
|
+
var StaticTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticTimePicker() {
|
|
16
|
+
warn();
|
|
17
|
+
return null;
|
|
18
|
+
});
|
|
19
|
+
export default StaticTimePicker;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
/**
|
|
4
|
+
* @type {React.Context<{ idPrefix: string; value: string } | null>}
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
var Context = /*#__PURE__*/React.createContext(null);
|
|
9
|
+
|
|
10
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
11
|
+
Context.displayName = 'TabContext';
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function useUniquePrefix() {
|
|
15
|
+
var _React$useState = React.useState(null),
|
|
16
|
+
id = _React$useState[0],
|
|
17
|
+
setId = _React$useState[1];
|
|
18
|
+
|
|
19
|
+
React.useEffect(function () {
|
|
20
|
+
setId("mui-p-".concat(Math.round(Math.random() * 1e5)));
|
|
21
|
+
}, []);
|
|
22
|
+
return id;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export default function TabContext(props) {
|
|
26
|
+
var children = props.children,
|
|
27
|
+
value = props.value;
|
|
28
|
+
var idPrefix = useUniquePrefix();
|
|
29
|
+
var context = React.useMemo(function () {
|
|
30
|
+
return {
|
|
31
|
+
idPrefix: idPrefix,
|
|
32
|
+
value: value
|
|
33
|
+
};
|
|
34
|
+
}, [idPrefix, value]);
|
|
35
|
+
return /*#__PURE__*/_jsx(Context.Provider, {
|
|
36
|
+
value: context,
|
|
37
|
+
children: children
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
process.env.NODE_ENV !== "production" ? TabContext.propTypes
|
|
41
|
+
/* remove-proptypes */
|
|
42
|
+
= {
|
|
43
|
+
// ----------------------------- Warning --------------------------------
|
|
44
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
45
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
46
|
+
// ----------------------------------------------------------------------
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* The content of the component.
|
|
50
|
+
*/
|
|
51
|
+
children: PropTypes.node,
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* The value of the currently selected `Tab`.
|
|
55
|
+
*/
|
|
56
|
+
value: PropTypes.string.isRequired
|
|
57
|
+
} : void 0;
|
|
58
|
+
/**
|
|
59
|
+
* @returns {unknown}
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
export function useTabContext() {
|
|
63
|
+
return React.useContext(Context);
|
|
64
|
+
}
|
|
65
|
+
export function getPanelId(context, value) {
|
|
66
|
+
var idPrefix = context.idPrefix;
|
|
67
|
+
|
|
68
|
+
if (idPrefix === null) {
|
|
69
|
+
return null;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
return "".concat(context.idPrefix, "-P-").concat(value);
|
|
73
|
+
}
|
|
74
|
+
export function getTabId(context, value) {
|
|
75
|
+
var idPrefix = context.idPrefix;
|
|
76
|
+
|
|
77
|
+
if (idPrefix === null) {
|
|
78
|
+
return null;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return "".concat(context.idPrefix, "-T-").concat(value);
|
|
82
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import PropTypes from 'prop-types';
|
|
5
|
+
import Tabs from '@mui/material/Tabs';
|
|
6
|
+
import { useTabContext, getTabId, getPanelId } from '../TabContext';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
var TabList = /*#__PURE__*/React.forwardRef(function TabList(props, ref) {
|
|
9
|
+
var childrenProp = props.children,
|
|
10
|
+
other = _objectWithoutProperties(props, ["children"]);
|
|
11
|
+
|
|
12
|
+
var context = useTabContext();
|
|
13
|
+
|
|
14
|
+
if (context === null) {
|
|
15
|
+
throw new TypeError('No TabContext provided');
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
var children = React.Children.map(childrenProp, function (child) {
|
|
19
|
+
if (! /*#__PURE__*/React.isValidElement(child)) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
return /*#__PURE__*/React.cloneElement(child, {
|
|
24
|
+
// SOMEDAY: `Tabs` will set those themselves
|
|
25
|
+
'aria-controls': getPanelId(context, child.props.value),
|
|
26
|
+
id: getTabId(context, child.props.value)
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
return /*#__PURE__*/_jsx(Tabs, _extends({}, other, {
|
|
30
|
+
ref: ref,
|
|
31
|
+
value: context.value,
|
|
32
|
+
children: children
|
|
33
|
+
}));
|
|
34
|
+
});
|
|
35
|
+
process.env.NODE_ENV !== "production" ? TabList.propTypes
|
|
36
|
+
/* remove-proptypes */
|
|
37
|
+
= {
|
|
38
|
+
// ----------------------------- Warning --------------------------------
|
|
39
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
40
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
41
|
+
// ----------------------------------------------------------------------
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* A list of `<Tab />` elements.
|
|
45
|
+
*/
|
|
46
|
+
children: PropTypes.node
|
|
47
|
+
} : void 0;
|
|
48
|
+
export default TabList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './TabList';
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import PropTypes from 'prop-types';
|
|
5
|
+
import clsx from 'clsx';
|
|
6
|
+
import { styled, useThemeProps } from '@mui/material/styles';
|
|
7
|
+
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
8
|
+
import { getTabPanelUtilityClass } from './tabPanelClasses';
|
|
9
|
+
import { getPanelId, getTabId, useTabContext } from '../TabContext';
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
|
|
12
|
+
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
13
|
+
var classes = ownerState.classes;
|
|
14
|
+
var slots = {
|
|
15
|
+
root: ['root']
|
|
16
|
+
};
|
|
17
|
+
return composeClasses(slots, getTabPanelUtilityClass, classes);
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var TabPanelRoot = styled('div', {
|
|
21
|
+
name: 'MuiTabPanel',
|
|
22
|
+
slot: 'Root',
|
|
23
|
+
overridesResolver: function overridesResolver(props, styles) {
|
|
24
|
+
return styles.root;
|
|
25
|
+
}
|
|
26
|
+
})(function (_ref) {
|
|
27
|
+
var theme = _ref.theme;
|
|
28
|
+
return {
|
|
29
|
+
padding: theme.spacing(3)
|
|
30
|
+
};
|
|
31
|
+
});
|
|
32
|
+
var TabPanel = /*#__PURE__*/React.forwardRef(function TabPanel(inProps, ref) {
|
|
33
|
+
var props = useThemeProps({
|
|
34
|
+
props: inProps,
|
|
35
|
+
name: 'MuiTabPanel'
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
var children = props.children,
|
|
39
|
+
className = props.className,
|
|
40
|
+
value = props.value,
|
|
41
|
+
other = _objectWithoutProperties(props, ["children", "className", "value"]);
|
|
42
|
+
|
|
43
|
+
var ownerState = _extends({}, props);
|
|
44
|
+
|
|
45
|
+
var classes = useUtilityClasses(ownerState);
|
|
46
|
+
var context = useTabContext();
|
|
47
|
+
|
|
48
|
+
if (context === null) {
|
|
49
|
+
throw new TypeError('No TabContext provided');
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
var id = getPanelId(context, value);
|
|
53
|
+
var tabId = getTabId(context, value);
|
|
54
|
+
return /*#__PURE__*/_jsx(TabPanelRoot, _extends({
|
|
55
|
+
"aria-labelledby": tabId,
|
|
56
|
+
className: clsx(classes.root, className),
|
|
57
|
+
hidden: value !== context.value,
|
|
58
|
+
id: id,
|
|
59
|
+
ref: ref,
|
|
60
|
+
role: "tabpanel",
|
|
61
|
+
ownerState: ownerState
|
|
62
|
+
}, other, {
|
|
63
|
+
children: value === context.value && children
|
|
64
|
+
}));
|
|
65
|
+
});
|
|
66
|
+
process.env.NODE_ENV !== "production" ? TabPanel.propTypes
|
|
67
|
+
/* remove-proptypes */
|
|
68
|
+
= {
|
|
69
|
+
// ----------------------------- Warning --------------------------------
|
|
70
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
71
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
72
|
+
// ----------------------------------------------------------------------
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* The content of the component.
|
|
76
|
+
*/
|
|
77
|
+
children: PropTypes.node,
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Override or extend the styles applied to the component.
|
|
81
|
+
*/
|
|
82
|
+
classes: PropTypes.object,
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @ignore
|
|
86
|
+
*/
|
|
87
|
+
className: PropTypes.string,
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
91
|
+
*/
|
|
92
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* The `value` of the corresponding `Tab`. Must use the index of the `Tab` when
|
|
96
|
+
* no `value` was passed to `Tab`.
|
|
97
|
+
*/
|
|
98
|
+
value: PropTypes.string.isRequired
|
|
99
|
+
} : void 0;
|
|
100
|
+
export default TabPanel;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
|
|
2
|
+
export function getTabPanelUtilityClass(slot) {
|
|
3
|
+
return generateUtilityClass('MuiTabPanel', slot);
|
|
4
|
+
}
|
|
5
|
+
var tabPanelClasses = generateUtilityClasses('MuiTabPanel', ['root']);
|
|
6
|
+
export default tabPanelClasses;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
var warnedOnce = false;
|
|
4
|
+
|
|
5
|
+
var warn = function warn() {
|
|
6
|
+
if (!warnedOnce) {
|
|
7
|
+
console.warn(['MUI: The TimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { TimePicker } from '@mui/x-date-pickers'`", "or `import { TimePicker } from '@mui/x-date-pickers/TimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
8
|
+
warnedOnce = true;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @ignore - do not document.
|
|
14
|
+
*/
|
|
15
|
+
var TimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedTimePicker() {
|
|
16
|
+
warn();
|
|
17
|
+
return null;
|
|
18
|
+
});
|
|
19
|
+
export default TimePicker;
|