@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,32 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const PageHeaderWrapper: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
6
|
+
export declare const PageHeaderBreadcrumbs: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
children?: import("react").ReactNode;
|
|
8
|
+
classes?: Partial<import("@mui/material").BreadcrumbsClasses> | undefined;
|
|
9
|
+
expandText?: string | undefined;
|
|
10
|
+
itemsAfterCollapse?: number | undefined;
|
|
11
|
+
itemsBeforeCollapse?: number | undefined;
|
|
12
|
+
maxItems?: number | undefined;
|
|
13
|
+
separator?: import("react").ReactNode;
|
|
14
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
15
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "css" | "key" | keyof import("react").HTMLAttributes<HTMLElement>> & {
|
|
16
|
+
ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
|
|
17
|
+
}, "sx" | "children" | "separator" | keyof import("@mui/material/OverridableComponent").CommonProps | "expandText" | "itemsAfterCollapse" | "itemsBeforeCollapse" | "maxItems"> & {
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
}, {}, {}>;
|
|
20
|
+
export declare const PageHeaderBackButton: import("@emotion/styled").StyledComponent<Pick<import("..").BaseButtonProps, "color" | "translate" | keyof import("@mui/base").ButtonUnstyledOwnProps | "form" | "slot" | "style" | "title" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "component" | "variant" | "size" | "selected"> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
21
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
22
|
+
}, {}, {}>;
|
|
23
|
+
export declare const PageSubheader: import("@emotion/styled").StyledComponent<{
|
|
24
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
25
|
+
as?: import("react").ElementType<any> | undefined;
|
|
26
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
27
|
+
export declare const PageHeaderDescription: import("@emotion/styled").StyledComponent<Pick<import("react").PropsWithChildren<import("../Typography").TypographyProps>, string | number | symbol> & import("react").RefAttributes<HTMLElement> & {
|
|
28
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
29
|
+
}, {}, {}>;
|
|
30
|
+
export declare const PageHeaderTitle: import("@emotion/styled").StyledComponent<Pick<import("react").PropsWithChildren<import("../Typography").TypographyProps>, string | number | symbol> & import("react").RefAttributes<HTMLElement> & {
|
|
31
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
32
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageHeaderTitle = exports.PageHeaderDescription = exports.PageSubheader = exports.PageHeaderBackButton = exports.PageHeaderBreadcrumbs = exports.PageHeaderWrapper = void 0;
|
|
4
|
+
const styles_1 = require("../styles");
|
|
5
|
+
const IconButton_1 = require("../IconButton");
|
|
6
|
+
const Typography_1 = require("../Typography");
|
|
7
|
+
const Breadcrumbs_1 = require("../Breadcrumbs");
|
|
8
|
+
exports.PageHeaderWrapper = styles_1.styled.header `
|
|
9
|
+
display: grid;
|
|
10
|
+
grid-area: header;
|
|
11
|
+
grid-template:
|
|
12
|
+
'breadcrumbs breadcrumbs breadcrumbs'
|
|
13
|
+
'back-btn title actions'
|
|
14
|
+
'back-btn description description'
|
|
15
|
+
'sub-header sub-header sub-header' / min-content 1fr auto;
|
|
16
|
+
padding: ${({ theme }) => theme.spacing(0, 6)};
|
|
17
|
+
`;
|
|
18
|
+
exports.PageHeaderBreadcrumbs = (0, styles_1.styled)(Breadcrumbs_1.Breadcrumbs) `
|
|
19
|
+
grid-area: breadcrumbs;
|
|
20
|
+
margin-bottom: ${({ theme }) => theme.spacing(1)};
|
|
21
|
+
`;
|
|
22
|
+
exports.PageHeaderBackButton = (0, styles_1.styled)(IconButton_1.IconButton) `
|
|
23
|
+
grid-area: back-btn;
|
|
24
|
+
margin-right: ${({ theme }) => theme.spacing(2.5)};
|
|
25
|
+
`;
|
|
26
|
+
exports.PageSubheader = styles_1.styled.div `
|
|
27
|
+
grid-area: sub-header;
|
|
28
|
+
padding-top: ${({ theme }) => theme.spacing(6)};
|
|
29
|
+
`;
|
|
30
|
+
exports.PageHeaderDescription = (0, styles_1.styled)(Typography_1.Typography) `
|
|
31
|
+
grid-area: description;
|
|
32
|
+
padding-top: ${({ theme }) => theme.spacing(2)};
|
|
33
|
+
`;
|
|
34
|
+
exports.PageHeaderTitle = (0, styles_1.styled)(Typography_1.Typography) `
|
|
35
|
+
display: flex;
|
|
36
|
+
grid-area: title;
|
|
37
|
+
align-items: center;
|
|
38
|
+
`;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PageAsideProps } from '../PageAside';
|
|
3
|
+
import { PageContentProps } from '../PageContent';
|
|
4
|
+
import { PageHeaderProps } from '../PageHeader';
|
|
5
|
+
export type PageLayoutProps = {
|
|
6
|
+
/**
|
|
7
|
+
* @example <PageLayout header={{
|
|
8
|
+
* title: 'Заголовок страницы',
|
|
9
|
+
* description: 'Описание страницы',
|
|
10
|
+
* }} />
|
|
11
|
+
* Конфигурация PageHeader
|
|
12
|
+
*/
|
|
13
|
+
header: PageHeaderProps;
|
|
14
|
+
/**
|
|
15
|
+
* @example <PageLayout content={{
|
|
16
|
+
* children: 'Контент страницы',
|
|
17
|
+
* isPaddingDisabled: false,
|
|
18
|
+
* }} />
|
|
19
|
+
* Конфигурация PageContent
|
|
20
|
+
*/
|
|
21
|
+
content: Omit<PageContentProps, 'isSeparatorShown'>;
|
|
22
|
+
/**
|
|
23
|
+
* @example <PageLayout aside={{
|
|
24
|
+
* children: 'Боковая панель страницы',
|
|
25
|
+
* }} />
|
|
26
|
+
* Конфигурация PageAside
|
|
27
|
+
*/
|
|
28
|
+
aside?: PageAsideProps;
|
|
29
|
+
};
|
|
30
|
+
export declare const PageLayout: (props: PageLayoutProps) => JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageLayout = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const PageAside_1 = require("../PageAside");
|
|
6
|
+
const PageContent_1 = require("../PageContent");
|
|
7
|
+
const PageHeader_1 = require("../PageHeader");
|
|
8
|
+
const PageLayoutContainer_1 = require("../PageLayoutContainer");
|
|
9
|
+
const PageLayout = (props) => {
|
|
10
|
+
const { header, content, aside } = props;
|
|
11
|
+
const isSeparatorShown = Boolean(aside);
|
|
12
|
+
return ((0, jsx_runtime_1.jsxs)(PageLayoutContainer_1.PageLayoutContainer, { children: [(0, jsx_runtime_1.jsx)(PageHeader_1.PageHeader, Object.assign({}, header)), (0, jsx_runtime_1.jsx)(PageContent_1.PageContent, Object.assign({ isSeparatorShown: isSeparatorShown }, content)), aside && (0, jsx_runtime_1.jsx)(PageAside_1.PageAside, Object.assign({}, aside))] }));
|
|
13
|
+
};
|
|
14
|
+
exports.PageLayout = PageLayout;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PageLayout';
|
|
@@ -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("./PageLayout"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageLayoutContainer = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const styles_1 = require("./styles");
|
|
6
|
+
const PageLayoutContainer = ({ children }) => ((0, jsx_runtime_1.jsx)(styles_1.PageLayoutContainerWrapper, { children: children }));
|
|
7
|
+
exports.PageLayoutContainer = PageLayoutContainer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PageLayoutContainer';
|
|
@@ -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("./PageLayoutContainer"), exports);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const PageLayoutContainerWrapper: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageLayoutContainerWrapper = void 0;
|
|
4
|
+
const styles_1 = require("../styles");
|
|
5
|
+
exports.PageLayoutContainerWrapper = styles_1.styled.div `
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-row-gap: ${({ theme }) => theme.spacing(4)};
|
|
8
|
+
grid-template:
|
|
9
|
+
'header header' auto
|
|
10
|
+
'content aside' 1fr
|
|
11
|
+
/ 1fr min-content;
|
|
12
|
+
height: 100%;
|
|
13
|
+
padding-top: ${({ theme }) => theme.spacing(6)};
|
|
14
|
+
|
|
15
|
+
background-color: ${({ theme }) => theme.palette.common.white};
|
|
16
|
+
`;
|
package/Pagination/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PaginationProps as MuiPaginationProps } from '@mui/material';
|
|
2
2
|
import { WithoutEmotionSpecific } from '../types';
|
|
3
|
-
export
|
|
3
|
+
export type PaginationProps = Omit<WithoutEmotionSpecific<MuiPaginationProps>, 'shape'>;
|
package/Product/Product.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ProductProps } from './types';
|
|
3
|
-
export declare const Product: import("react").ForwardRefExoticComponent<Pick<ProductProps, "disabled" | "action" | "color" | "translate" | "href" | "onFocusVisible" | "tabIndex" | "type" | "children" | "form" | "slot" | "title" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "component" | "variant" | "size" | "selected" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loading" | "loadingIndicator" | "loadingPosition" | "logo"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
3
|
+
export declare const Product: import("react").ForwardRefExoticComponent<Pick<ProductProps, "disabled" | "action" | "color" | "translate" | "href" | "onFocusVisible" | "tabIndex" | "type" | "children" | "form" | "slot" | "title" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "component" | "variant" | "size" | "selected" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loading" | "loadingIndicator" | "loadingPosition" | "logo"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
4
4
|
export default Product;
|
package/Product/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WidgetProduct } from './types';
|
|
3
|
-
export
|
|
3
|
+
export type ProductSwitcherProps = {
|
|
4
4
|
getProducts: () => Promise<Array<WidgetProduct>>;
|
|
5
5
|
};
|
|
6
6
|
export declare const ProductSwitcher: ({ getProducts }: ProductSwitcherProps) => JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentMeta } from '@storybook/react';
|
|
3
|
+
import { WidgetProduct } from './types';
|
|
4
|
+
declare const _default: ComponentMeta<({ getProducts }: import("./ProductSwitcher").ProductSwitcherProps) => JSX.Element>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const handleReject: () => Promise<WidgetProduct[]>;
|
|
7
|
+
export declare const handleGetProducts: () => Promise<WidgetProduct[]>;
|
|
8
|
+
export declare const Default: () => JSX.Element;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Default = exports.handleGetProducts = exports.handleReject = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const material_1 = require("@mui/material");
|
|
6
|
+
const docs_1 = require("../docs");
|
|
7
|
+
const Typography_1 = require("../Typography");
|
|
8
|
+
const Grid_1 = require("../Grid");
|
|
9
|
+
const DashboardLayout_1 = require("../DashboardLayout");
|
|
10
|
+
const ProductSwitcher_1 = require("./ProductSwitcher");
|
|
11
|
+
exports.default = {
|
|
12
|
+
title: 'Components/ProductSwitcher',
|
|
13
|
+
component: ProductSwitcher_1.ProductSwitcher,
|
|
14
|
+
excludeStories: ['handleGetProducts', 'handleReject'],
|
|
15
|
+
};
|
|
16
|
+
const handleReject = () => {
|
|
17
|
+
return new Promise((_resolve, reject) => reject(''));
|
|
18
|
+
};
|
|
19
|
+
exports.handleReject = handleReject;
|
|
20
|
+
const handleGetProducts = () => {
|
|
21
|
+
return new Promise((resolve) => setTimeout(() => resolve([
|
|
22
|
+
{
|
|
23
|
+
url: '',
|
|
24
|
+
name: 'Астрал.Отчет',
|
|
25
|
+
logoUrl: 'https://identity.astral.ru/api/Files/06a5fb56-210c-4f08-bb7b-253a9103560f',
|
|
26
|
+
color: '#2d77ff',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
url: '',
|
|
30
|
+
name: 'Астрал.ЭДО',
|
|
31
|
+
logoUrl: 'https://identity.astral.ru/api/Files/b5b06b5a-2d0e-491b-9815-043d82f104aa',
|
|
32
|
+
color: 'rgb(117 90 253)',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
url: '',
|
|
36
|
+
name: 'Астрал.КЭДО',
|
|
37
|
+
logoUrl: 'https://identity.astral.ru/api/Files/f0519e97-7a50-4796-a8d2-877cd15c7668',
|
|
38
|
+
color: 'rgb(117 90 253)',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
url: '',
|
|
42
|
+
name: 'Астрал.ОФД',
|
|
43
|
+
logoUrl: 'https://identity.astral.ru/api/Files/f0519e97-7a50-4796-a8d2-877cd15c7668',
|
|
44
|
+
color: 'rgb(117 90 253)',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
url: '',
|
|
48
|
+
name: 'Астрал.ЭТ',
|
|
49
|
+
logoUrl: 'https://identity.astral.ru/api/Files/ac497150-1926-47be-9e5f-42e739e7279c',
|
|
50
|
+
color: 'rgb(55 103 152)',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
url: '',
|
|
54
|
+
name: 'Личный кабинет',
|
|
55
|
+
logoUrl: 'https://identity.astral.ru/api/Files/9d214f12-c518-44e2-a711-fa1bf2b89fdd',
|
|
56
|
+
color: 'rgb(10, 124, 255)',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
url: '',
|
|
60
|
+
name: 'Кабинет партнера',
|
|
61
|
+
logoUrl: 'https://identity.astral.ru/api/Files/f0519e97-7a50-4796-a8d2-877cd15c7668',
|
|
62
|
+
color: 'rgb(117 90 253)',
|
|
63
|
+
},
|
|
64
|
+
]), 1500));
|
|
65
|
+
};
|
|
66
|
+
exports.handleGetProducts = handleGetProducts;
|
|
67
|
+
const header = {
|
|
68
|
+
productSwitcher() {
|
|
69
|
+
return ((0, jsx_runtime_1.jsx)(material_1.Box, { children: (0, jsx_runtime_1.jsx)(ProductSwitcher_1.ProductSwitcher, { getProducts: exports.handleGetProducts }) }));
|
|
70
|
+
},
|
|
71
|
+
product: {
|
|
72
|
+
name: 'Астрал.ЭДО',
|
|
73
|
+
logo() {
|
|
74
|
+
return ((0, jsx_runtime_1.jsxs)("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M6.5 6.10352e-05C5.1195 6.10352e-05 4 1.11956 4 2.50006V3.00006H13.75C15.545 3.00006 17 4.45506 17 6.25006V11.2501C17 12.2166 16.2165 13.0001 15.25 13.0001H8.75C7.7835 13.0001 7 12.2166 7 11.2501V8.00006H5C4.4475 8.00006 4 8.44756 4 9.00006V13.5001C4 14.8806 5.1195 16.0001 6.5 16.0001H17.5C18.8805 16.0001 20 14.8806 20 13.5001V2.50006C20 1.11956 18.8805 6.10352e-05 17.5 6.10352e-05H6.5Z", fill: "#8566FF" }), (0, jsx_runtime_1.jsx)("path", { d: "M2.5 4.00006C1.1195 4.00006 0 5.11956 0 6.50006V17.5001C0 18.8806 1.1195 20.0001 2.5 20.0001H13.5C14.8805 20.0001 16 18.8806 16 17.5001V17.0001H6.25C4.455 17.0001 3 15.5451 3 13.7501V8.75006C3 7.78356 3.7835 7.00006 4.75 7.00006H11.25C12.2165 7.00006 13 7.78356 13 8.75006V12.0001H15C15.5525 12.0001 16 11.5526 16 11.0001V6.50006C16 5.11956 14.8805 4.00006 13.5 4.00006H2.5Z", fill: "#5D3FD4" })] })));
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
profile: {
|
|
78
|
+
displayName: 'Григорьев Виталий',
|
|
79
|
+
annotation: 'vitatiy_grig@mail.ru',
|
|
80
|
+
avatar: {
|
|
81
|
+
alt: 'Григорьев Виталий',
|
|
82
|
+
children: 'ГВ',
|
|
83
|
+
},
|
|
84
|
+
menu: () => null,
|
|
85
|
+
},
|
|
86
|
+
};
|
|
87
|
+
const Default = () => {
|
|
88
|
+
return ((0, jsx_runtime_1.jsxs)(docs_1.ExampleTemplate, { children: [(0, jsx_runtime_1.jsx)(Typography_1.Typography, Object.assign({ paragraph: true, variant: "h3" }, { children: "Product Switcher" })), (0, jsx_runtime_1.jsx)(Typography_1.Typography, Object.assign({ paragraph: true }, { children: "Product Switcher \u0434\u0430\u0435\u0442 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C \u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E \u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430 \u043A \u0434\u0440\u0443\u0433\u043E\u043C\u0443 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0443. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0432 \u0445\u044D\u0434\u0435\u0440\u0435 \u0441\u0438\u0441\u0442\u0435\u043C\u044B" })), (0, jsx_runtime_1.jsx)(Typography_1.Typography, Object.assign({ variant: "h4", paragraph: true }, { children: "\u0422\u0438\u043F\u044B \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430" })), (0, jsx_runtime_1.jsx)(docs_1.ExampleTemplate.Case, Object.assign({ title: "\u041F\u0435\u0440\u0435\u0445\u043E\u0434 \u043A \u0434\u0440\u0443\u0433\u043E\u043C\u0443 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0443", descriptionList: [''] }, { children: (0, jsx_runtime_1.jsxs)(Grid_1.Grid, Object.assign({ container: true, justifyContent: "center", autoFlow: "column", spacing: 4 }, { children: [(0, jsx_runtime_1.jsx)(ProductSwitcher_1.ProductSwitcher, { getProducts: exports.handleGetProducts }), (0, jsx_runtime_1.jsx)(ProductSwitcher_1.ProductSwitcher, { getProducts: exports.handleReject })] })) })), (0, jsx_runtime_1.jsx)(Typography_1.Typography, Object.assign({ variant: "h5", paragraph: true }, { children: "\u041F\u0440\u0438\u043C\u0435\u0440 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F" })), (0, jsx_runtime_1.jsx)(DashboardLayout_1.DashboardLayout, { children: (0, jsx_runtime_1.jsx)(DashboardLayout_1.DashboardLayout.Header, Object.assign({}, header)) })] }));
|
|
89
|
+
};
|
|
90
|
+
exports.Default = Default;
|
package/Profile/styled.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ProfileRoot: import("@emotion/styled").StyledComponent<Pick<import("../Button").ButtonProps, "disabled" | "action" | "color" | "translate" | "href" | "onFocusVisible" | "tabIndex" | "type" | "children" | "form" | "slot" | "title" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "component" | "variant" | "size" | "selected" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loading" | "loadingIndicator" | "loadingPosition"> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
2
|
+
export declare const ProfileRoot: import("@emotion/styled").StyledComponent<Pick<import("../Button").ButtonProps, "disabled" | "action" | "color" | "translate" | "href" | "onFocusVisible" | "tabIndex" | "type" | "children" | "form" | "slot" | "title" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "component" | "variant" | "size" | "selected" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loading" | "loadingIndicator" | "loadingPosition"> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
4
|
}, {}, {}>;
|
|
5
5
|
export declare const ProfileUser: import("@emotion/styled").StyledComponent<{
|
package/Profile/types.d.ts
CHANGED
package/Radio/Radio.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RadioProps } from './types';
|
|
3
|
-
export declare const Radio: React.ForwardRefExoticComponent<Pick<RadioProps, "disabled" | "icon" | "action" | "translate" | "onFocusVisible" | "tabIndex" | "className" | "form" | "slot" | "style" | "title" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "required" | "inputProps" | "inputRef" | "readOnly" | "checkedIcon" | "checked" | "edge"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3
|
+
export declare const Radio: React.ForwardRefExoticComponent<Pick<RadioProps, "disabled" | "icon" | "action" | "translate" | "onFocusVisible" | "tabIndex" | "className" | "form" | "slot" | "style" | "title" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "required" | "inputProps" | "inputRef" | "readOnly" | "checkedIcon" | "checked" | "edge"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
4
|
export default Radio;
|
package/Radio/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { RadioProps as MuiRadioProps } from '@mui/material';
|
|
2
2
|
import { WithoutEmotionSpecific } from '../types';
|
|
3
|
-
export
|
|
3
|
+
export type RadioProps = Omit<WithoutEmotionSpecific<MuiRadioProps>, 'size' | 'color'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { RadioGroupProps as MuiRadioGroupProps } from '@mui/material';
|
|
3
3
|
import { WithoutEmotionSpecific } from '../types';
|
|
4
|
-
export
|
|
4
|
+
export type RadioGroupProps = WithoutEmotionSpecific<MuiRadioGroupProps>;
|
|
5
5
|
export declare const RadioGroup: (props: RadioGroupProps) => JSX.Element;
|
package/Select/Select.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SelectProps as MuiSelectProps } from '@mui/material';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
3
|
import { WithoutEmotionSpecific } from '../types';
|
|
4
|
-
export
|
|
4
|
+
export type SelectProps<Value> = WithoutEmotionSpecific<MuiSelectProps<Value>> & {
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
getOptionLabel?: (value: string | number) => string | number;
|
|
8
|
-
helperText?:
|
|
8
|
+
helperText?: ReactNode;
|
|
9
9
|
success?: boolean;
|
|
10
10
|
error?: boolean;
|
|
11
11
|
label?: string;
|
package/SideDialog/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DrawerProps as MuiDrawerProps } from '@mui/material';
|
|
2
2
|
import { WithoutEmotionSpecific } from '../types';
|
|
3
|
-
export
|
|
3
|
+
export type SideDialogProps = WithoutEmotionSpecific<MuiDrawerProps> & {
|
|
4
4
|
title: string;
|
|
5
5
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DialogActionsProps as MuiDialogActionsProps } from '@mui/material';
|
|
2
2
|
import { WithoutEmotionSpecific } from '../types';
|
|
3
|
-
export
|
|
3
|
+
export type SideDialogActionsProps = WithoutEmotionSpecific<MuiDialogActionsProps>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DialogContentProps as MuiDialogContentProps } from '@mui/material';
|
|
2
2
|
import { WithoutEmotionSpecific } from '../types';
|
|
3
|
-
export
|
|
3
|
+
export type SideDialogContentProps = WithoutEmotionSpecific<MuiDialogContentProps>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DialogContentTextProps as MuiDialogContentTextProps } from '@mui/material';
|
|
2
2
|
import { WithoutEmotionSpecific } from '../types';
|
|
3
|
-
export
|
|
3
|
+
export type SideDialogContentTextProps = WithoutEmotionSpecific<MuiDialogContentTextProps>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DialogTitleProps as MuiDialogTitleProps } from '../DialogTitle';
|
|
2
2
|
import { WithoutEmotionSpecific } from '../types';
|
|
3
|
-
export
|
|
3
|
+
export type SideDialogTitleProps = WithoutEmotionSpecific<MuiDialogTitleProps>;
|
package/Slide/Slide.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SlideProps as MuiSlideProps } from '@mui/material';
|
|
3
3
|
import { WithoutEmotionSpecific } from '../types';
|
|
4
|
-
export
|
|
4
|
+
export type SlideProps = WithoutEmotionSpecific<MuiSlideProps>;
|
|
5
5
|
export declare const Slide: (props: SlideProps) => JSX.Element;
|