@astral/ui 1.39.3 → 1.40.0
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/ActionCell/ActionCell.d.ts +6 -6
- package/Alert/Alert.d.ts +1 -1
- package/Autocomplete/Autocomplete.d.ts +3 -3
- package/Autocomplete/Autocomplete.js +1 -1
- package/Autocomplete/Autocomplete.test.d.ts +1 -0
- package/Autocomplete/Autocomplete.test.js +98 -0
- package/Autocomplete/constants.d.ts +0 -4
- package/Autocomplete/constants.js +1 -6
- package/Autocomplete/enums.d.ts +4 -0
- package/Autocomplete/enums.js +8 -0
- package/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.d.ts +3 -3
- package/BackdropStack/services/BackdropStackManager/BackdropStackManager.d.ts +1 -1
- package/Badge/types.d.ts +2 -2
- package/Breadcrumbs/index.d.ts +1 -0
- package/Breadcrumbs/index.js +5 -0
- package/Button/Button.d.ts +1 -1
- package/Button/Button.test.d.ts +1 -0
- package/Button/Button.test.js +35 -0
- package/Button/types.d.ts +1 -1
- package/ButtonBase/ButtonBase.d.ts +1 -1
- package/ButtonBase/styles.d.ts +2 -2
- package/ButtonBase/types.d.ts +5 -5
- package/Checkbox/Checkbox.d.ts +1 -1
- package/Checkbox/types.d.ts +1 -1
- package/Chevron/Chevron.d.ts +1 -1
- package/Chevron/styles.d.ts +1 -1
- package/CircularProgress/CircularProgress.d.ts +2 -2
- package/CircularProgress/CircularProgressStory.d.ts +1 -1
- package/Collapse/Collapse.d.ts +1 -1
- package/ConfigProvider/ConfigProvider.d.ts +3 -3
- package/ContentState/ContentState.d.ts +2 -2
- package/ContentState/types.d.ts +1 -1
- package/DashboardLayout/DashboardLayout.d.ts +1 -1
- package/DashboardLayout/DashboardLayoutStory.d.ts +1 -1
- package/DashboardLayout/Header/Header.d.ts +1 -1
- package/DashboardLayout/Main/Main.d.ts +1 -1
- package/DashboardLayout/Sidebar/Sidebar.d.ts +1 -1
- package/DashboardLayout/Sidebar/SidebarNav/SidebarNav.d.ts +1 -1
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +2 -2
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +1 -1
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggler.d.ts +1 -1
- package/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +1 -1
- package/DataGrid/DataGrid.d.ts +1 -1
- package/DataGrid/DataGrid.js +2 -1
- package/DataGrid/DataGrid.test.d.ts +1 -0
- package/DataGrid/DataGrid.test.js +117 -0
- package/DataGrid/DataGridBody/DataGridBody.d.ts +1 -1
- package/DataGrid/DataGridCell/DataGridCell.d.ts +1 -1
- package/DataGrid/DataGridHead/DataGridHead.d.ts +1 -1
- package/DataGrid/DataGridHead/DataGridHead.js +5 -5
- package/DataGrid/DataGridHeadColumn/DataGridHeadColumn.d.ts +1 -1
- package/DataGrid/DataGridHeadColumn/DataGridHeadColumn.js +3 -3
- package/DataGrid/DataGridLoader/DataGridLoader.d.ts +1 -1
- package/DataGrid/DataGridLoader/styles.d.ts +1 -1
- package/DataGrid/DataGridNoData/DataGridNoData.d.ts +1 -1
- package/DataGrid/{constants.d.ts → enums.d.ts} +0 -0
- package/DataGrid/{constants.js → enums.js} +0 -0
- package/DataGrid/types.d.ts +7 -7
- package/DataGridPagination/DataGridPagination.d.ts +1 -1
- package/DatePicker/DateCalendar/DateCalendarBtn/DateCalendarBtn.d.ts +2 -2
- package/DatePicker/DateCalendar/DateCalendarBtn/styles.d.ts +1 -1
- package/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarNextBtn/DateCalendarNextBtn.d.ts +1 -1
- package/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarNextBtn/styles.d.ts +1 -1
- package/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarPrevBtn/DateCalendarPrevBtn.d.ts +1 -1
- package/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarPrevBtn/styles.d.ts +1 -1
- package/DatePicker/DateCalendar/DateCalendarChevronBtn/styles.d.ts +1 -1
- package/DatePicker/DateCalendar/DateCalendarChevronBtn/types.d.ts +1 -1
- package/DatePicker/DateCalendar/DateCalendarGridBtn/styles.d.ts +3 -3
- package/DatePicker/DateCalendar/DateCalendarHead/DateCalendarHead.d.ts +2 -2
- package/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +1 -1
- package/DatePicker/DatePicker.d.ts +1 -1
- package/DatePicker/DatePickerClickAwayListener/DatePickerClickAwayListener.d.ts +1 -1
- package/DatePicker/DatePickerInput/DatePickerInput.d.ts +2 -2
- package/DatePicker/DatePickerInput/styles.d.ts +1 -1
- package/DatePicker/DatePickerPopper/DatePickerPopper.d.ts +1 -1
- package/DatePicker/DayPicker/DateDayPickerGridHead/DateDayPickerGridHead.d.ts +1 -1
- package/DatePicker/DayPicker/DayPicker.d.ts +3 -3
- package/DatePicker/DayPicker/hooks/useDaysGrid/useDaysGrid.d.ts +2 -2
- package/DatePicker/MonthPicker/MonthPicker.d.ts +2 -2
- package/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.d.ts +1 -1
- package/DatePicker/YearMonthDayPicker/YearMonthDayPicker.d.ts +2 -2
- package/DatePicker/YearPicker/YearPicker.d.ts +2 -2
- package/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.d.ts +1 -1
- package/DatePicker/hooks/useBaseDateInRange/useBaseDateInRange.d.ts +1 -1
- package/DatePicker/hooks/useCalendarNavigate/useCalendarNavigate.d.ts +1 -1
- package/DatePicker/hooks/useLocaleDateTimeFormat/useLocaleDateTimeFormat.d.ts +1 -1
- package/DatePicker/types/configTypes.d.ts +3 -3
- package/DatePicker/types/gridBuilder.d.ts +4 -4
- package/DatePicker/types/minMaxDate.d.ts +1 -1
- package/DatePicker/types/pickerProps.d.ts +1 -1
- package/DatePicker/utils/buildGridItem/buildGridResult.d.ts +1 -1
- package/DatePickerProvider/DatePickerProvider.d.ts +1 -1
- package/Description/Description.d.ts +1 -1
- package/Description/Name/Name.d.ts +1 -1
- package/Description/Value/Value.d.ts +1 -1
- package/Dialog/types.d.ts +1 -1
- package/DialogActions/DialogActions.d.ts +1 -1
- package/DialogContent/DialogContent.d.ts +1 -1
- package/DialogContentText/DialogContentText.d.ts +1 -1
- package/DialogTitle/DialogTitle.d.ts +1 -1
- package/Divider/Divider.d.ts +1 -1
- package/DropdownButton/DropdownButton.d.ts +2 -2
- package/ErrorBoundary/ErrorBoundary.d.ts +3 -3
- package/Fab/Fab.d.ts +2 -2
- package/Fab/types.d.ts +1 -1
- package/Fade/Fade.d.ts +1 -1
- package/FormControl/FormControl.d.ts +1 -1
- package/FormControlLabel/types.d.ts +1 -1
- package/FormHelperText/FormHelperText.d.ts +1 -1
- package/FormHelperText/FormHelperTextContent/FormHelperTextContent.d.ts +1 -1
- package/FormHelperText/FormHelperTextContent/styles.d.ts +3 -3
- package/Grid/types.d.ts +4 -4
- package/IconButton/IconButton.d.ts +1 -1
- package/IconButton/styles.d.ts +2 -2
- package/IconDropdownButton/IconDropdownButton.d.ts +2 -2
- package/List/List.d.ts +1 -1
- package/ListItem/styles.d.ts +8 -2
- package/ListItem/types.d.ts +1 -1
- package/ListItemAvatar/ListItemAvatar.d.ts +1 -1
- package/ListItemButton/ListItemButton.d.ts +2 -2
- package/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
- package/ListItemText/ListItemText.d.ts +1 -1
- package/ListSubheader/ListSubheader.d.ts +1 -1
- package/LocalizationProvider/LocalizationProvider.d.ts +1 -1
- package/MaskField/MaskField.d.ts +4 -4
- package/MaskField/types.d.ts +1 -1
- package/Menu/Menu.d.ts +1 -1
- package/MenuGroup/types.d.ts +1 -1
- package/MenuItem/types.d.ts +1 -1
- package/MenuList/types.d.ts +1 -1
- package/NavMenu/NavMenu.d.ts +1 -1
- package/NavMenu/NavMenuItem/NavMenuItem.d.ts +1 -1
- package/NavMenu/NavMenuItem/NavMenuItemButton/NavMenuItemButton.d.ts +1 -1
- package/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +8 -5
- package/NavMenu/NavMenuItem/NavMenuItemList/NavMenuItemList.d.ts +1 -1
- package/Notification/Notification.d.ts +1 -1
- package/Notification/NotificationTemplate/styled.d.ts +2 -2
- package/Notification/constants/notificationVariant.d.ts +1 -1
- package/Notification/styled.d.ts +4 -4
- package/Notification/types.d.ts +2 -2
- package/OverflowTypography/OverflowTypography.d.ts +5 -5
- package/PageAside/PageAside.d.ts +5 -0
- package/PageAside/PageAside.js +9 -0
- package/PageAside/index.d.ts +1 -0
- package/PageAside/index.js +17 -0
- package/PageAside/styles.d.ts +5 -0
- package/PageAside/styles.js +13 -0
- package/PageContent/PageContent.d.ts +17 -0
- package/PageContent/PageContent.js +10 -0
- package/PageContent/index.d.ts +1 -0
- package/PageContent/index.js +17 -0
- package/PageContent/styles.d.ts +10 -0
- package/PageContent/styles.js +11 -0
- package/PageHeader/ButtonGroup/ButtonGroup.d.ts +12 -0
- package/PageHeader/ButtonGroup/ButtonGroup.js +33 -0
- package/PageHeader/ButtonGroup/index.d.ts +1 -0
- package/PageHeader/ButtonGroup/index.js +17 -0
- package/PageHeader/ButtonGroup/styles.d.ts +5 -0
- package/PageHeader/ButtonGroup/styles.js +9 -0
- package/PageHeader/PageHeader.d.ts +55 -0
- package/PageHeader/PageHeader.js +12 -0
- package/PageHeader/PageHeaderDashboardStory.d.ts +2 -0
- package/PageHeader/PageHeaderDashboardStory.js +285 -0
- package/PageHeader/index.d.ts +1 -0
- package/PageHeader/index.js +17 -0
- package/PageHeader/styles.d.ts +32 -0
- package/PageHeader/styles.js +38 -0
- package/PageLayout/PageLayout.d.ts +30 -0
- package/PageLayout/PageLayout.js +14 -0
- package/PageLayout/index.d.ts +1 -0
- package/PageLayout/index.js +17 -0
- package/PageLayoutContainer/PageLayoutContainer.d.ts +5 -0
- package/PageLayoutContainer/PageLayoutContainer.js +7 -0
- package/PageLayoutContainer/index.d.ts +1 -0
- package/PageLayoutContainer/index.js +17 -0
- package/PageLayoutContainer/styles.d.ts +5 -0
- package/PageLayoutContainer/styles.js +16 -0
- package/Pagination/types.d.ts +1 -1
- package/Placeholder/Placeholder.d.ts +1 -1
- package/Product/Product.d.ts +1 -1
- package/Product/types.d.ts +1 -1
- package/ProductSwitcher/ProductSwitcher.d.ts +1 -1
- package/ProductSwitcher/ProductSwitcher.stories.d.ts +8 -0
- package/ProductSwitcher/ProductSwitcher.stories.js +90 -0
- package/ProductSwitcher/ProductSwitcherContent/ProductSwitcherContent.d.ts +1 -1
- package/ProductSwitcher/types.d.ts +1 -1
- package/Profile/styled.d.ts +1 -1
- package/Profile/types.d.ts +1 -1
- package/Radio/Radio.d.ts +1 -1
- package/Radio/types.d.ts +1 -1
- package/RadioGroup/RadioGroup.d.ts +1 -1
- package/Select/Select.d.ts +3 -3
- package/SideDialog/types.d.ts +1 -1
- package/SideDialogActions/types.d.ts +1 -1
- package/SideDialogContent/types.d.ts +1 -1
- package/SideDialogContentText/types.d.ts +1 -1
- package/SideDialogTitle/types.d.ts +1 -1
- package/Slide/Slide.d.ts +1 -1
- package/Stepper/ArrowConnector/ArrowConnector.d.ts +1 -1
- package/Stepper/StepConnector/index.d.ts +1 -1
- package/Stepper/StepIcon/styles.d.ts +3 -3
- package/Stepper/StepLabel/StepLabel.d.ts +1 -1
- package/Stepper/Stepper.d.ts +3 -3
- package/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
- package/SwipeableDrawer/styles.d.ts +2 -2
- package/Tab/Tab.d.ts +1 -1
- package/Table/Table.d.ts +1 -1
- package/Table/TableBody/TableBody.d.ts +1 -1
- package/Table/TableCell/TableCell.d.ts +1 -1
- package/Table/TableContainer/TableContainer.d.ts +1 -1
- package/Table/TableFooter/TableFooter.d.ts +1 -1
- package/Table/TableHead/TableHead.d.ts +1 -1
- package/Table/TableRow/TableRow.d.ts +1 -1
- package/Table/TableSortLabel/TableSortLabel.d.ts +1 -1
- package/Tabs/Tabs.d.ts +1 -1
- package/Tag/Tag.d.ts +1 -1
- package/Tag/types.d.ts +4 -4
- package/TextArea/TextArea.d.ts +1 -1
- package/TextArea/types.d.ts +1 -1
- package/TextField/TextField.d.ts +1 -1
- package/TextField/types.d.ts +1 -1
- package/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/Tooltip/Tooltip.d.ts +2 -2
- package/Tooltip/types.d.ts +1 -1
- package/Typography/Typography.d.ts +3 -3
- package/Zoom/Zoom.d.ts +1 -1
- package/docs/Case/Case.d.ts +9 -0
- package/docs/Case/Case.js +18 -0
- package/docs/Case/index.d.ts +1 -0
- package/docs/Case/index.js +17 -0
- package/docs/Case/styles.d.ts +13 -0
- package/docs/Case/styles.js +16 -0
- package/docs/ExampleTemplate/ExampleTemplate.d.ts +14 -0
- package/docs/ExampleTemplate/ExampleTemplate.js +8 -0
- package/docs/ExampleTemplate/index.d.ts +1 -0
- package/docs/ExampleTemplate/index.js +17 -0
- package/docs/index.d.ts +2 -0
- package/docs/index.js +18 -0
- package/esm/ActionCell/ActionCell.d.ts +6 -6
- package/esm/Alert/Alert.d.ts +1 -1
- package/esm/Autocomplete/Autocomplete.d.ts +3 -3
- package/esm/Autocomplete/Autocomplete.js +2 -2
- package/esm/Autocomplete/Autocomplete.test.d.ts +1 -0
- package/esm/Autocomplete/Autocomplete.test.js +96 -0
- package/esm/Autocomplete/constants.d.ts +0 -4
- package/esm/Autocomplete/constants.js +0 -5
- package/esm/Autocomplete/enums.d.ts +4 -0
- package/esm/Autocomplete/enums.js +5 -0
- package/esm/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.d.ts +3 -3
- package/esm/BackdropStack/services/BackdropStackManager/BackdropStackManager.d.ts +1 -1
- package/esm/Badge/types.d.ts +2 -2
- package/esm/Breadcrumbs/index.d.ts +1 -0
- package/esm/Breadcrumbs/index.js +1 -0
- package/esm/Button/Button.d.ts +1 -1
- package/esm/Button/Button.test.d.ts +1 -0
- package/esm/Button/Button.test.js +33 -0
- package/esm/Button/types.d.ts +1 -1
- package/esm/ButtonBase/ButtonBase.d.ts +1 -1
- package/esm/ButtonBase/styles.d.ts +2 -2
- package/esm/ButtonBase/types.d.ts +5 -5
- package/esm/Checkbox/Checkbox.d.ts +1 -1
- package/esm/Checkbox/types.d.ts +1 -1
- package/esm/Chevron/Chevron.d.ts +1 -1
- package/esm/Chevron/styles.d.ts +1 -1
- package/esm/CircularProgress/CircularProgress.d.ts +2 -2
- package/esm/CircularProgress/CircularProgressStory.d.ts +1 -1
- package/esm/Collapse/Collapse.d.ts +1 -1
- package/esm/ConfigProvider/ConfigProvider.d.ts +3 -3
- package/esm/ContentState/ContentState.d.ts +2 -2
- package/esm/ContentState/types.d.ts +1 -1
- package/esm/DashboardLayout/DashboardLayout.d.ts +1 -1
- package/esm/DashboardLayout/DashboardLayoutStory.d.ts +1 -1
- package/esm/DashboardLayout/Header/Header.d.ts +1 -1
- package/esm/DashboardLayout/Main/Main.d.ts +1 -1
- package/esm/DashboardLayout/Sidebar/Sidebar.d.ts +1 -1
- package/esm/DashboardLayout/Sidebar/SidebarNav/SidebarNav.d.ts +1 -1
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +2 -2
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +1 -1
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggler.d.ts +1 -1
- package/esm/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +1 -1
- package/esm/DataGrid/DataGrid.d.ts +1 -1
- package/esm/DataGrid/DataGrid.js +2 -1
- package/esm/DataGrid/DataGrid.test.d.ts +1 -0
- package/esm/DataGrid/DataGrid.test.js +115 -0
- package/esm/DataGrid/DataGridBody/DataGridBody.d.ts +1 -1
- package/esm/DataGrid/DataGridCell/DataGridCell.d.ts +1 -1
- package/esm/DataGrid/DataGridHead/DataGridHead.d.ts +1 -1
- package/esm/DataGrid/DataGridHead/DataGridHead.js +1 -1
- package/esm/DataGrid/DataGridHeadColumn/DataGridHeadColumn.d.ts +1 -1
- package/esm/DataGrid/DataGridHeadColumn/DataGridHeadColumn.js +1 -1
- package/esm/DataGrid/DataGridLoader/DataGridLoader.d.ts +1 -1
- package/esm/DataGrid/DataGridLoader/styles.d.ts +1 -1
- package/esm/DataGrid/DataGridNoData/DataGridNoData.d.ts +1 -1
- package/esm/DataGrid/{constants.d.ts → enums.d.ts} +0 -0
- package/esm/DataGrid/{constants.js → enums.js} +0 -0
- package/esm/DataGrid/types.d.ts +7 -7
- package/esm/DataGridPagination/DataGridPagination.d.ts +1 -1
- package/esm/DatePicker/DateCalendar/DateCalendarBtn/DateCalendarBtn.d.ts +2 -2
- package/esm/DatePicker/DateCalendar/DateCalendarBtn/styles.d.ts +1 -1
- package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarNextBtn/DateCalendarNextBtn.d.ts +1 -1
- package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarNextBtn/styles.d.ts +1 -1
- package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarPrevBtn/DateCalendarPrevBtn.d.ts +1 -1
- package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarPrevBtn/styles.d.ts +1 -1
- package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/styles.d.ts +1 -1
- package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/types.d.ts +1 -1
- package/esm/DatePicker/DateCalendar/DateCalendarGridBtn/styles.d.ts +3 -3
- package/esm/DatePicker/DateCalendar/DateCalendarHead/DateCalendarHead.d.ts +2 -2
- package/esm/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +1 -1
- package/esm/DatePicker/DatePicker.d.ts +1 -1
- package/esm/DatePicker/DatePickerClickAwayListener/DatePickerClickAwayListener.d.ts +1 -1
- package/esm/DatePicker/DatePickerInput/DatePickerInput.d.ts +2 -2
- package/esm/DatePicker/DatePickerInput/styles.d.ts +1 -1
- package/esm/DatePicker/DatePickerPopper/DatePickerPopper.d.ts +1 -1
- package/esm/DatePicker/DayPicker/DateDayPickerGridHead/DateDayPickerGridHead.d.ts +1 -1
- package/esm/DatePicker/DayPicker/DayPicker.d.ts +3 -3
- package/esm/DatePicker/DayPicker/hooks/useDaysGrid/useDaysGrid.d.ts +2 -2
- package/esm/DatePicker/MonthPicker/MonthPicker.d.ts +2 -2
- package/esm/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.d.ts +1 -1
- package/esm/DatePicker/YearMonthDayPicker/YearMonthDayPicker.d.ts +2 -2
- package/esm/DatePicker/YearPicker/YearPicker.d.ts +2 -2
- package/esm/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.d.ts +1 -1
- package/esm/DatePicker/hooks/useBaseDateInRange/useBaseDateInRange.d.ts +1 -1
- package/esm/DatePicker/hooks/useCalendarNavigate/useCalendarNavigate.d.ts +1 -1
- package/esm/DatePicker/hooks/useLocaleDateTimeFormat/useLocaleDateTimeFormat.d.ts +1 -1
- package/esm/DatePicker/types/configTypes.d.ts +3 -3
- package/esm/DatePicker/types/gridBuilder.d.ts +4 -4
- package/esm/DatePicker/types/minMaxDate.d.ts +1 -1
- package/esm/DatePicker/types/pickerProps.d.ts +1 -1
- package/esm/DatePicker/utils/buildGridItem/buildGridResult.d.ts +1 -1
- package/esm/DatePickerProvider/DatePickerProvider.d.ts +1 -1
- package/esm/Description/Description.d.ts +1 -1
- package/esm/Description/Name/Name.d.ts +1 -1
- package/esm/Description/Value/Value.d.ts +1 -1
- package/esm/Dialog/types.d.ts +1 -1
- package/esm/DialogActions/DialogActions.d.ts +1 -1
- package/esm/DialogContent/DialogContent.d.ts +1 -1
- package/esm/DialogContentText/DialogContentText.d.ts +1 -1
- package/esm/DialogTitle/DialogTitle.d.ts +1 -1
- package/esm/Divider/Divider.d.ts +1 -1
- package/esm/DropdownButton/DropdownButton.d.ts +2 -2
- package/esm/ErrorBoundary/ErrorBoundary.d.ts +3 -3
- package/esm/Fab/Fab.d.ts +2 -2
- package/esm/Fab/types.d.ts +1 -1
- package/esm/Fade/Fade.d.ts +1 -1
- package/esm/FormControl/FormControl.d.ts +1 -1
- package/esm/FormControlLabel/types.d.ts +1 -1
- package/esm/FormHelperText/FormHelperText.d.ts +1 -1
- package/esm/FormHelperText/FormHelperTextContent/FormHelperTextContent.d.ts +1 -1
- package/esm/FormHelperText/FormHelperTextContent/styles.d.ts +3 -3
- package/esm/Grid/types.d.ts +4 -4
- package/esm/IconButton/IconButton.d.ts +1 -1
- package/esm/IconButton/styles.d.ts +2 -2
- package/esm/IconDropdownButton/IconDropdownButton.d.ts +2 -2
- package/esm/List/List.d.ts +1 -1
- package/esm/ListItem/styles.d.ts +8 -2
- package/esm/ListItem/types.d.ts +1 -1
- package/esm/ListItemAvatar/ListItemAvatar.d.ts +1 -1
- package/esm/ListItemButton/ListItemButton.d.ts +2 -2
- package/esm/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
- package/esm/ListItemText/ListItemText.d.ts +1 -1
- package/esm/ListSubheader/ListSubheader.d.ts +1 -1
- package/esm/LocalizationProvider/LocalizationProvider.d.ts +1 -1
- package/esm/MaskField/MaskField.d.ts +4 -4
- package/esm/MaskField/types.d.ts +1 -1
- package/esm/Menu/Menu.d.ts +1 -1
- package/esm/MenuGroup/types.d.ts +1 -1
- package/esm/MenuItem/types.d.ts +1 -1
- package/esm/MenuList/types.d.ts +1 -1
- package/esm/NavMenu/NavMenu.d.ts +1 -1
- package/esm/NavMenu/NavMenuItem/NavMenuItem.d.ts +1 -1
- package/esm/NavMenu/NavMenuItem/NavMenuItemButton/NavMenuItemButton.d.ts +1 -1
- package/esm/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +8 -5
- package/esm/NavMenu/NavMenuItem/NavMenuItemList/NavMenuItemList.d.ts +1 -1
- package/esm/Notification/Notification.d.ts +1 -1
- package/esm/Notification/NotificationTemplate/styled.d.ts +2 -2
- package/esm/Notification/constants/notificationVariant.d.ts +1 -1
- package/esm/Notification/styled.d.ts +4 -4
- package/esm/Notification/types.d.ts +2 -2
- package/esm/OverflowTypography/OverflowTypography.d.ts +5 -5
- package/esm/PageAside/PageAside.d.ts +5 -0
- package/esm/PageAside/PageAside.js +5 -0
- package/esm/PageAside/index.d.ts +1 -0
- package/esm/PageAside/index.js +1 -0
- package/esm/PageAside/styles.d.ts +5 -0
- package/esm/PageAside/styles.js +10 -0
- package/esm/PageContent/PageContent.d.ts +17 -0
- package/esm/PageContent/PageContent.js +6 -0
- package/esm/PageContent/index.d.ts +1 -0
- package/esm/PageContent/index.js +1 -0
- package/esm/PageContent/styles.d.ts +10 -0
- package/esm/PageContent/styles.js +8 -0
- package/esm/PageHeader/ButtonGroup/ButtonGroup.d.ts +12 -0
- package/esm/PageHeader/ButtonGroup/ButtonGroup.js +29 -0
- package/esm/PageHeader/ButtonGroup/index.d.ts +1 -0
- package/esm/PageHeader/ButtonGroup/index.js +1 -0
- package/esm/PageHeader/ButtonGroup/styles.d.ts +5 -0
- package/esm/PageHeader/ButtonGroup/styles.js +6 -0
- package/esm/PageHeader/PageHeader.d.ts +55 -0
- package/esm/PageHeader/PageHeader.js +8 -0
- package/esm/PageHeader/PageHeaderDashboardStory.d.ts +2 -0
- package/esm/PageHeader/PageHeaderDashboardStory.js +281 -0
- package/esm/PageHeader/index.d.ts +1 -0
- package/esm/PageHeader/index.js +1 -0
- package/esm/PageHeader/styles.d.ts +32 -0
- package/esm/PageHeader/styles.js +35 -0
- package/esm/PageLayout/PageLayout.d.ts +30 -0
- package/esm/PageLayout/PageLayout.js +10 -0
- package/esm/PageLayout/index.d.ts +1 -0
- package/esm/PageLayout/index.js +1 -0
- package/esm/PageLayoutContainer/PageLayoutContainer.d.ts +5 -0
- package/esm/PageLayoutContainer/PageLayoutContainer.js +3 -0
- package/esm/PageLayoutContainer/index.d.ts +1 -0
- package/esm/PageLayoutContainer/index.js +1 -0
- package/esm/PageLayoutContainer/styles.d.ts +5 -0
- package/esm/PageLayoutContainer/styles.js +13 -0
- package/esm/Pagination/types.d.ts +1 -1
- package/esm/Placeholder/Placeholder.d.ts +1 -1
- package/esm/Product/Product.d.ts +1 -1
- package/esm/Product/types.d.ts +1 -1
- package/esm/ProductSwitcher/ProductSwitcher.d.ts +1 -1
- package/esm/ProductSwitcher/ProductSwitcher.stories.d.ts +8 -0
- package/esm/ProductSwitcher/ProductSwitcher.stories.js +84 -0
- package/esm/ProductSwitcher/ProductSwitcherContent/ProductSwitcherContent.d.ts +1 -1
- package/esm/ProductSwitcher/types.d.ts +1 -1
- package/esm/Profile/styled.d.ts +1 -1
- package/esm/Profile/types.d.ts +1 -1
- package/esm/Radio/Radio.d.ts +1 -1
- package/esm/Radio/types.d.ts +1 -1
- package/esm/RadioGroup/RadioGroup.d.ts +1 -1
- package/esm/Select/Select.d.ts +3 -3
- package/esm/SideDialog/types.d.ts +1 -1
- package/esm/SideDialogActions/types.d.ts +1 -1
- package/esm/SideDialogContent/types.d.ts +1 -1
- package/esm/SideDialogContentText/types.d.ts +1 -1
- package/esm/SideDialogTitle/types.d.ts +1 -1
- package/esm/Slide/Slide.d.ts +1 -1
- package/esm/Stepper/ArrowConnector/ArrowConnector.d.ts +1 -1
- package/esm/Stepper/StepConnector/index.d.ts +1 -1
- package/esm/Stepper/StepIcon/styles.d.ts +3 -3
- package/esm/Stepper/StepLabel/StepLabel.d.ts +1 -1
- package/esm/Stepper/Stepper.d.ts +3 -3
- package/esm/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
- package/esm/SwipeableDrawer/styles.d.ts +2 -2
- package/esm/Tab/Tab.d.ts +1 -1
- package/esm/Table/Table.d.ts +1 -1
- package/esm/Table/TableBody/TableBody.d.ts +1 -1
- package/esm/Table/TableCell/TableCell.d.ts +1 -1
- package/esm/Table/TableContainer/TableContainer.d.ts +1 -1
- package/esm/Table/TableFooter/TableFooter.d.ts +1 -1
- package/esm/Table/TableHead/TableHead.d.ts +1 -1
- package/esm/Table/TableRow/TableRow.d.ts +1 -1
- package/esm/Table/TableSortLabel/TableSortLabel.d.ts +1 -1
- package/esm/Tabs/Tabs.d.ts +1 -1
- package/esm/Tag/Tag.d.ts +1 -1
- package/esm/Tag/types.d.ts +4 -4
- package/esm/TextArea/TextArea.d.ts +1 -1
- package/esm/TextArea/types.d.ts +1 -1
- package/esm/TextField/TextField.d.ts +1 -1
- package/esm/TextField/types.d.ts +1 -1
- package/esm/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/esm/Tooltip/Tooltip.d.ts +2 -2
- package/esm/Tooltip/types.d.ts +1 -1
- package/esm/Typography/Typography.d.ts +3 -3
- package/esm/Zoom/Zoom.d.ts +1 -1
- package/esm/docs/Case/Case.d.ts +9 -0
- package/esm/docs/Case/Case.js +14 -0
- package/esm/docs/Case/index.d.ts +1 -0
- package/esm/docs/Case/index.js +1 -0
- package/esm/docs/Case/styles.d.ts +13 -0
- package/esm/docs/Case/styles.js +13 -0
- package/esm/docs/ExampleTemplate/ExampleTemplate.d.ts +14 -0
- package/esm/docs/ExampleTemplate/ExampleTemplate.js +4 -0
- package/esm/docs/ExampleTemplate/index.d.ts +1 -0
- package/esm/docs/ExampleTemplate/index.js +1 -0
- package/esm/docs/index.d.ts +2 -0
- package/esm/docs/index.js +2 -0
- package/esm/hooks/useEscapeClickEffect/useEscapeClickEffect.d.ts +1 -1
- package/esm/hooks/useEscapeClickEffect/useEscapeClickEffect.test.d.ts +1 -0
- package/esm/hooks/useEscapeClickEffect/useEscapeClickEffect.test.js +25 -0
- package/esm/hooks/useMenu/index.d.ts +1 -0
- package/esm/hooks/useMenu/index.js +1 -0
- package/esm/hooks/{useMenu.d.ts → useMenu/useMenu.d.ts} +1 -1
- package/esm/hooks/{useMenu.js → useMenu/useMenu.js} +0 -0
- package/esm/hooks/useToggle/useToggle.d.ts +6 -6
- package/esm/index.d.ts +5 -0
- package/esm/index.js +5 -0
- package/esm/theme/baseTheme/baseTheme.d.ts +3 -3
- package/esm/theme/components/MuiAutocomplete.js +1 -1
- package/esm/theme/components/MuiTypography.d.ts +1 -1
- package/esm/theme/components/components.d.ts +1 -1
- package/esm/theme/elevation.d.ts +1 -1
- package/esm/theme/palette/brandPalette.d.ts +1 -1
- package/esm/theme/palette/palette.d.ts +4 -4
- package/esm/theme/shape.d.ts +1 -1
- package/esm/theme/typography.d.ts +2 -2
- package/esm/types.d.ts +2 -2
- package/esm/utils/date/buildIsoDate/buildIsoDateString.d.ts +1 -1
- package/esm/utils/date/format/maskDate.d.ts +1 -1
- package/esm/utils/date/isDate/isDate.d.ts +1 -1
- package/esm/utils/date/isDateOutOfRange/isDateOutOfRange.d.ts +1 -1
- package/hooks/useEscapeClickEffect/useEscapeClickEffect.d.ts +1 -1
- package/hooks/useEscapeClickEffect/useEscapeClickEffect.test.d.ts +1 -0
- package/hooks/useEscapeClickEffect/useEscapeClickEffect.test.js +27 -0
- package/hooks/useMenu/index.d.ts +1 -0
- package/hooks/useMenu/index.js +17 -0
- package/hooks/{useMenu.d.ts → useMenu/useMenu.d.ts} +1 -1
- package/hooks/{useMenu.js → useMenu/useMenu.js} +0 -0
- package/hooks/useToggle/useToggle.d.ts +6 -6
- package/index.d.ts +5 -0
- package/index.js +5 -0
- package/package.json +2 -2
- package/theme/baseTheme/baseTheme.d.ts +3 -3
- package/theme/components/MuiAutocomplete.js +2 -2
- package/theme/components/MuiTypography.d.ts +1 -1
- package/theme/components/components.d.ts +1 -1
- package/theme/elevation.d.ts +1 -1
- package/theme/palette/brandPalette.d.ts +1 -1
- package/theme/palette/palette.d.ts +4 -4
- package/theme/shape.d.ts +1 -1
- package/theme/typography.d.ts +2 -2
- package/types.d.ts +2 -2
- package/utils/date/buildIsoDate/buildIsoDateString.d.ts +1 -1
- package/utils/date/format/maskDate.d.ts +1 -1
- package/utils/date/isDate/isDate.d.ts +1 -1
- package/utils/date/isDateOutOfRange/isDateOutOfRange.d.ts +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const tests_1 = require("@astral/tests");
|
|
13
|
+
const useEscapeClickEffect_1 = require("./useEscapeClickEffect");
|
|
14
|
+
describe('useEscapeClickEffect', () => {
|
|
15
|
+
it('Props:isActive=true: при нажатии esc вызывается onEscape', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
16
|
+
const onEscape = jest.fn();
|
|
17
|
+
(0, tests_1.renderHook)(() => (0, useEscapeClickEffect_1.useEscapeClickEffect)({ isActive: true, onEscape }));
|
|
18
|
+
yield tests_1.userEvents.keyboard('{Escape}');
|
|
19
|
+
expect(onEscape).toBeCalled();
|
|
20
|
+
}));
|
|
21
|
+
it('Props:isActive=false: при нажатии esc onEscape не вызывается', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
22
|
+
const onEscape = jest.fn();
|
|
23
|
+
(0, tests_1.renderHook)(() => (0, useEscapeClickEffect_1.useEscapeClickEffect)({ isActive: false, onEscape }));
|
|
24
|
+
yield tests_1.userEvents.keyboard('{Escape}');
|
|
25
|
+
expect(onEscape).not.toBeCalled();
|
|
26
|
+
}));
|
|
27
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useMenu';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./useMenu"), exports);
|
|
File without changes
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @description тип обозначающий какой угодно рест аргументов
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
type Arguments = unknown[];
|
|
5
5
|
/**
|
|
6
6
|
* @description хэндлер принимающий на вход неизвестное колличество аргументов, неизвестного вида
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
type Handler<Args extends Arguments> = (...a: Args) => void;
|
|
9
9
|
/**
|
|
10
10
|
* @description хэндлер на открытие с неизвестным колличеством аргументов, неизвестного вида
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
type OpenHandler<Args extends Arguments> = Handler<Args>;
|
|
13
13
|
/**
|
|
14
14
|
* @description хэндлер на закрытие с неизвестным колличеством аргументов, неизвестного вида
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
type CloseHandler<Args extends Arguments> = Handler<Args>;
|
|
17
|
+
type UseToggleResultTuple<CloseArgs extends Arguments, OpenArgs extends Arguments> = [
|
|
18
18
|
/**
|
|
19
19
|
* @description флаг активности состояния
|
|
20
20
|
*/
|
|
@@ -22,7 +22,7 @@ declare type UseToggleResultTuple<CloseArgs extends Arguments, OpenArgs extends
|
|
|
22
22
|
OpenHandler<OpenArgs>,
|
|
23
23
|
CloseHandler<CloseArgs>
|
|
24
24
|
];
|
|
25
|
-
|
|
25
|
+
type UseToggleOptions<CloseArgs extends Arguments, OpenArgs extends Arguments> = {
|
|
26
26
|
/**
|
|
27
27
|
* @description изначальное состояние активности
|
|
28
28
|
*/
|
package/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './Autocomplete';
|
|
|
4
4
|
export * from './BackdropStack';
|
|
5
5
|
export * from './Badge';
|
|
6
6
|
export * from './Button';
|
|
7
|
+
export * from './Breadcrumbs';
|
|
7
8
|
export * from './Collapse';
|
|
8
9
|
export * from './DatePickerProvider';
|
|
9
10
|
export * from './Description';
|
|
@@ -47,6 +48,10 @@ export * from './MenuItem';
|
|
|
47
48
|
export * from './MenuList';
|
|
48
49
|
export * from './MenuGroup';
|
|
49
50
|
export * from './OverflowTypography';
|
|
51
|
+
export * from './PageAside';
|
|
52
|
+
export * from './PageHeader';
|
|
53
|
+
export * from './PageLayout';
|
|
54
|
+
export * from './PageLayoutContainer';
|
|
50
55
|
export * from './Placeholder';
|
|
51
56
|
export * from './Product';
|
|
52
57
|
export * from './ProductSwitcher';
|
package/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./Autocomplete"), exports);
|
|
|
20
20
|
__exportStar(require("./BackdropStack"), exports);
|
|
21
21
|
__exportStar(require("./Badge"), exports);
|
|
22
22
|
__exportStar(require("./Button"), exports);
|
|
23
|
+
__exportStar(require("./Breadcrumbs"), exports);
|
|
23
24
|
__exportStar(require("./Collapse"), exports);
|
|
24
25
|
__exportStar(require("./DatePickerProvider"), exports);
|
|
25
26
|
__exportStar(require("./Description"), exports);
|
|
@@ -63,6 +64,10 @@ __exportStar(require("./MenuItem"), exports);
|
|
|
63
64
|
__exportStar(require("./MenuList"), exports);
|
|
64
65
|
__exportStar(require("./MenuGroup"), exports);
|
|
65
66
|
__exportStar(require("./OverflowTypography"), exports);
|
|
67
|
+
__exportStar(require("./PageAside"), exports);
|
|
68
|
+
__exportStar(require("./PageHeader"), exports);
|
|
69
|
+
__exportStar(require("./PageLayout"), exports);
|
|
70
|
+
__exportStar(require("./PageLayoutContainer"), exports);
|
|
66
71
|
__exportStar(require("./Placeholder"), exports);
|
|
67
72
|
__exportStar(require("./Product"), exports);
|
|
68
73
|
__exportStar(require("./ProductSwitcher"), exports);
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astral/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.40.0",
|
|
4
4
|
"browser": "./esm/index.js",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@astral/icons": "^1.
|
|
7
|
+
"@astral/icons": "^1.40.0",
|
|
8
8
|
"@emotion/cache": "11.7.1",
|
|
9
9
|
"@emotion/react": "11.9.0",
|
|
10
10
|
"@emotion/server": "11.4.0",
|
|
@@ -2,7 +2,7 @@ import { BreakpointsOptions, Palette as MuiPalette, Theme as MuiTheme, PaletteCo
|
|
|
2
2
|
import { Background, Color } from '../palette';
|
|
3
3
|
import { FontsUrls } from '../components';
|
|
4
4
|
import { Brand } from '../constants';
|
|
5
|
-
export
|
|
5
|
+
export type Palette = Omit<MuiPalette, 'grey' | 'background'> & {
|
|
6
6
|
red: Color;
|
|
7
7
|
green: Color;
|
|
8
8
|
yellow: Color;
|
|
@@ -10,8 +10,8 @@ export declare type Palette = Omit<MuiPalette, 'grey' | 'background'> & {
|
|
|
10
10
|
primary: PaletteColor & Color;
|
|
11
11
|
background: Background;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
14
|
-
|
|
13
|
+
export type Theme = MuiTheme;
|
|
14
|
+
type CreateThemeParams = {
|
|
15
15
|
brand: Brand;
|
|
16
16
|
options?: ThemeOptions;
|
|
17
17
|
fontsUrls: FontsUrls;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MuiAutocomplete = void 0;
|
|
4
|
-
const
|
|
4
|
+
const enums_1 = require("../../Autocomplete/enums");
|
|
5
5
|
exports.MuiAutocomplete = {
|
|
6
6
|
styleOverrides: {
|
|
7
7
|
inputRoot({ theme, ownerState: { size } }) {
|
|
@@ -9,7 +9,7 @@ exports.MuiAutocomplete = {
|
|
|
9
9
|
paddingTop: `${theme.spacing(1)} !important`,
|
|
10
10
|
paddingBottom: `${theme.spacing(1)} !important`,
|
|
11
11
|
paddingLeft: `${theme.spacing(1)} !important`,
|
|
12
|
-
minHeight: size ===
|
|
12
|
+
minHeight: size === enums_1.AutocompleteSizes.small ? '32px' : '40px',
|
|
13
13
|
};
|
|
14
14
|
},
|
|
15
15
|
input({ theme }) {
|
package/theme/elevation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PaletteOptions as MuiPaletteOptions, PaletteColorOptions } from '@mui/material';
|
|
2
2
|
import { TypeBackground } from '@mui/material/styles/createPalette';
|
|
3
3
|
import { Brand } from '../constants';
|
|
4
|
-
export
|
|
4
|
+
export type Color = {
|
|
5
5
|
900: string;
|
|
6
6
|
800: string;
|
|
7
7
|
700: string;
|
|
@@ -12,13 +12,13 @@ export declare type Color = {
|
|
|
12
12
|
200: string;
|
|
13
13
|
100: string;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
15
|
+
export type PrimaryColorOptions = PaletteColorOptions & Color;
|
|
16
|
+
export type Background = TypeBackground & {
|
|
17
17
|
element: string;
|
|
18
18
|
elementHover: string;
|
|
19
19
|
modalShadow: string;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
type PaletteOptions = MuiPaletteOptions & {
|
|
22
22
|
red: Color;
|
|
23
23
|
green: Color;
|
|
24
24
|
yellow: Color;
|
package/theme/shape.d.ts
CHANGED
package/theme/typography.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Typography } from '@mui/material/styles/createTypography';
|
|
2
2
|
import { CSSProperties } from 'react';
|
|
3
|
-
|
|
3
|
+
type CustomTypographyVariantStyle = {
|
|
4
4
|
fontSize: CSSProperties['fontSize'];
|
|
5
5
|
fontWeight: CSSProperties['fontWeight'];
|
|
6
6
|
lineHeight: CSSProperties['lineHeight'];
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type TypographyThemeOptions = Typography & {
|
|
9
9
|
h7: CustomTypographyVariantStyle;
|
|
10
10
|
h8: CustomTypographyVariantStyle;
|
|
11
11
|
h9: CustomTypographyVariantStyle;
|
package/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { AutocompleteCloseReason } from '@mui/base/AutocompleteUnstyled/useAutocomplete';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type WithoutEmotionSpecific<Props> = Omit<Props, 'sx' | 'css'>;
|
|
3
|
+
export type Reason = 'escapeKeyDown' | 'backdropClick' | 'toggleInput' | 'blur' | AutocompleteCloseReason | null;
|