@astral/ui 0.39.0 → 0.40.1
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.js +7 -6
- package/ActionCell/index.js +5 -1
- package/Autocomplete/Autocomplete.js +4 -4
- package/Autocomplete/index.js +5 -1
- package/Badge/Badge.js +1 -1
- package/Badge/index.js +5 -1
- package/Badge/styled.d.ts +3 -3
- package/Badge/styled.js +24 -12
- package/Button/Button.d.ts +1 -1
- package/Button/Button.js +3 -2
- package/Button/index.js +5 -1
- package/ButtonBase/ButtonBase.d.ts +1 -1
- package/ButtonBase/ButtonBase.js +1 -1
- package/ButtonBase/index.js +5 -1
- package/ButtonBase/styled.js +9 -3
- package/Checkbox/Checkbox.js +2 -2
- package/Checkbox/icons.js +3 -3
- package/Checkbox/index.js +5 -1
- package/CircularProgress/CircularProgress.d.ts +1 -1
- package/CircularProgress/CircularProgress.js +1 -1
- package/CircularProgress/CircularProgressStory.js +1 -1
- package/CircularProgress/CircularProgressStoryTemplate.js +1 -1
- package/CircularProgress/index.js +5 -1
- package/Collapse/index.js +5 -1
- package/ContentState/ContentState.js +9 -8
- package/ContentState/index.js +5 -1
- package/ContentState/styles.js +1 -1
- package/DashboardLayout/DashboardLayout.js +1 -1
- package/DashboardLayout/DashboardLayoutStory.js +1 -1
- package/DashboardLayout/DashboardLayoutStoryTemplate.js +1 -1
- package/DashboardLayout/Header/Header.js +1 -1
- package/DashboardLayout/Header/index.js +5 -1
- package/DashboardLayout/Main/Main.js +1 -1
- package/DashboardLayout/Main/index.js +5 -1
- package/DashboardLayout/Sidebar/Sidebar.js +1 -1
- package/DashboardLayout/Sidebar/index.js +5 -1
- package/DashboardLayout/Sidebar/styled.d.ts +1 -1
- package/DashboardLayout/index.js +5 -1
- package/DataGrid/DataGrid.d.ts +73 -3
- package/DataGrid/DataGrid.js +7 -5
- package/DataGrid/DataGridBody/DataGridBody.d.ts +14 -3
- package/DataGrid/DataGridBody/DataGridBody.js +4 -4
- package/DataGrid/DataGridBody/index.js +5 -1
- package/DataGrid/DataGridBody/styled.d.ts +1 -1
- package/DataGrid/DataGridCell/DataGridCell.d.ts +8 -3
- package/DataGrid/DataGridCell/DataGridCell.js +7 -4
- package/DataGrid/DataGridCell/index.js +5 -1
- package/DataGrid/DataGridHead/DataGridHead.d.ts +12 -3
- package/DataGrid/DataGridHead/DataGridHead.js +4 -4
- package/DataGrid/DataGridHead/index.d.ts +0 -1
- package/DataGrid/DataGridHead/index.js +5 -2
- package/DataGrid/DataGridHeadColumn/DataGridHeadColumn.d.ts +13 -3
- package/DataGrid/DataGridHeadColumn/DataGridHeadColumn.js +11 -5
- package/DataGrid/DataGridHeadColumn/index.d.ts +0 -1
- package/DataGrid/DataGridHeadColumn/index.js +5 -2
- package/DataGrid/DataGridHeadColumn/styled.d.ts +1 -1
- package/DataGrid/DataGridLoader/DataGridLoader.d.ts +3 -1
- package/DataGrid/DataGridLoader/DataGridLoader.js +1 -1
- package/DataGrid/DataGridLoader/index.d.ts +0 -1
- package/DataGrid/DataGridLoader/index.js +5 -2
- package/DataGrid/DataGridLoader/styled.d.ts +3 -3
- package/DataGrid/index.js +5 -1
- package/DataGrid/styled.d.ts +1 -1
- package/DataGrid/types.d.ts +46 -23
- package/DataGridPagination/DataGridPagination.js +1 -1
- package/DataGridPagination/index.js +5 -1
- package/DataGridPagination/styled.d.ts +1 -1
- package/DatePicker/DatePicker.js +3 -3
- package/DatePicker/DatePickerDay/DatePickerDay.js +1 -1
- package/DatePicker/DatePickerDay/styled.d.ts +1 -1
- package/DatePicker/DatePickerHeader/DatePickerHeader.js +1 -1
- package/DatePicker/DatePickerHeader/styled.d.ts +1 -1
- package/DatePicker/index.js +5 -1
- package/DatePickerProvider/DatePickerProvider.js +1 -1
- package/DatePickerProvider/index.js +5 -1
- package/Dialog/Dialog.js +3 -2
- package/Dialog/index.js +5 -1
- package/DialogActions/DialogActions.js +1 -1
- package/DialogActions/index.js +5 -1
- package/DialogContent/index.js +5 -1
- package/DialogContentText/index.js +5 -1
- package/DialogTitle/DialogTitle.js +6 -3
- package/DialogTitle/index.js +5 -1
- package/Divider/index.js +5 -1
- package/DropdownButton/DropdownButton.d.ts +1 -1
- package/DropdownButton/DropdownButton.js +1 -1
- package/DropdownButton/index.js +5 -1
- package/DropdownButton/styles.d.ts +1 -1
- package/FormControlLabel/FormControlLabel.js +1 -1
- package/FormControlLabel/index.js +5 -1
- package/FormHelperText/FormHelperText.js +3 -3
- package/FormHelperText/index.js +5 -1
- package/FormHelperText/styled.d.ts +2 -6
- package/GlobalStyles/GlobalStyles.js +2 -2
- package/GlobalStyles/index.js +5 -1
- package/Grid/Grid.js +1 -1
- package/Grid/index.js +5 -1
- package/Grid/styled.d.ts +2 -2
- package/IconButton/IconButton.d.ts +1 -1
- package/IconButton/IconButton.js +1 -1
- package/IconButton/index.js +5 -1
- package/IconButton/styled.d.ts +1 -1
- package/IconButton/styled.js +2 -1
- package/IconDropdownButton/IconDropdownButton.d.ts +1 -1
- package/IconDropdownButton/IconDropdownButton.js +1 -1
- package/IconDropdownButton/index.js +5 -1
- package/List/List.js +1 -1
- package/List/index.js +5 -1
- package/List/styled.d.ts +2 -2
- package/ListItem/ListItem.js +1 -1
- package/ListItem/index.js +5 -1
- package/ListItem/styled.d.ts +6 -6
- package/ListItem/styled.js +8 -4
- package/ListItemAvatar/index.js +5 -1
- package/ListItemButton/ListItemButton.js +1 -1
- package/ListItemButton/index.js +5 -1
- package/ListItemButton/styled.d.ts +2 -2
- package/ListItemButton/styled.js +6 -3
- package/ListItemIcon/ListItemIcon.js +1 -1
- package/ListItemIcon/index.js +5 -1
- package/ListItemSecondaryAction/index.js +5 -1
- package/ListItemText/ListItemText.js +1 -1
- package/ListItemText/index.js +5 -1
- package/ListProvider/index.js +5 -1
- package/ListSubheader/index.js +5 -1
- package/LocalizationProvider/LocalizationProvider.js +1 -1
- package/LocalizationProvider/index.js +5 -1
- package/MaskField/MaskField.js +2 -2
- package/MaskField/index.js +5 -1
- package/Menu/index.js +5 -1
- package/MenuGroup/MenuGroup.js +1 -1
- package/MenuGroup/index.js +5 -1
- package/MenuGroup/stories/Icons.js +7 -7
- package/MenuGroup/stories/styled.d.ts +3 -3
- package/MenuGroup/styled.d.ts +1 -1
- package/MenuItem/MenuItem.js +1 -1
- package/MenuItem/index.js +5 -1
- package/MenuItem/styled.d.ts +2 -2
- package/MenuList/MenuList.js +1 -1
- package/MenuList/index.js +5 -1
- package/MenuList/styled.d.ts +2 -2
- package/Notification/NotificationContainer/NotificationContainer.js +1 -1
- package/Notification/NotificationContainer/index.js +5 -1
- package/Notification/NotificationTemplate/NotificationTemplate.js +3 -3
- package/Notification/NotificationTemplate/index.js +5 -1
- package/Notification/NotificationTemplate/styled.d.ts +3 -5
- package/Notification/NotificationTemplate/utils/getActionsDirection/index.js +5 -1
- package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.js +2 -1
- package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.js +5 -1
- package/Notification/NotificationTemplate/utils/index.js +5 -1
- package/Notification/constants/index.js +5 -1
- package/Notification/constants/notificationVariant.js +4 -4
- package/Notification/index.js +5 -1
- package/Notification/styled.d.ts +4 -12
- package/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.d.ts +1 -0
- package/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.js +4 -4
- package/Notification/utils/getNotificationIconByVariant/index.js +5 -1
- package/Notification/utils/index.js +5 -1
- package/Notification/utils/notificationTemplatePropsCreator/index.js +5 -1
- package/Pagination/Pagination.js +1 -1
- package/Pagination/index.js +5 -1
- package/Placeholder/Placeholder.js +1 -1
- package/Placeholder/index.js +5 -1
- package/Placeholder/styled.d.ts +2 -2
- package/Product/Product.d.ts +1 -1
- package/Product/Product.js +1 -1
- package/Product/index.js +5 -1
- package/Profile/Profile.js +1 -1
- package/Profile/index.js +5 -1
- package/Profile/styled.d.ts +2 -4
- package/Radio/Icon.js +2 -2
- package/Radio/Radio.d.ts +1 -1
- package/Radio/Radio.js +2 -2
- package/Radio/index.js +5 -1
- package/RadioGroup/index.js +5 -1
- package/Select/Select.js +2 -2
- package/Select/index.js +5 -1
- package/Select/styled.d.ts +2 -2
- package/SideDialog/SideDialog.js +1 -1
- package/SideDialog/index.js +5 -1
- package/SideDialogActions/index.js +5 -1
- package/SideDialogContent/index.js +5 -1
- package/SideDialogContentText/index.js +5 -1
- package/SideDialogTitle/index.js +5 -1
- package/Table/Table.js +1 -1
- package/Table/TableBody/index.js +5 -1
- package/Table/TableCell/index.js +5 -1
- package/Table/TableContainer/index.js +5 -1
- package/Table/TableFooter/index.js +5 -1
- package/Table/TableHead/index.js +5 -1
- package/Table/TableRow/index.js +5 -1
- package/Table/TableSortLabel/index.js +5 -1
- package/Table/index.js +5 -1
- package/Tag/Tag.js +1 -1
- package/Tag/index.js +5 -1
- package/Tag/styled.d.ts +3 -3
- package/Tag/styled.js +6 -3
- package/TextArea/TextArea.d.ts +1 -1
- package/TextArea/TextArea.js +1 -1
- package/TextArea/index.js +5 -1
- package/TextField/TextField.d.ts +1 -1
- package/TextField/TextField.js +6 -5
- package/TextField/index.js +5 -1
- package/ThemeProvider/ThemeProvider.js +1 -1
- package/ThemeProvider/index.js +5 -1
- package/Tooltip/Tooltip.d.ts +1 -1
- package/Tooltip/Tooltip.js +1 -1
- package/Tooltip/index.js +5 -1
- package/Tooltip/styled.js +1 -1
- package/Typography/index.js +5 -1
- package/esm/ActionCell/ActionCell.js +7 -6
- package/esm/Autocomplete/Autocomplete.js +4 -4
- package/esm/Badge/Badge.js +1 -1
- package/esm/Badge/styled.d.ts +3 -3
- package/esm/Badge/styled.js +24 -12
- package/esm/Button/Button.d.ts +1 -1
- package/esm/Button/Button.js +3 -2
- package/esm/ButtonBase/ButtonBase.d.ts +1 -1
- package/esm/ButtonBase/ButtonBase.js +1 -1
- package/esm/ButtonBase/styled.js +4 -2
- package/esm/Checkbox/Checkbox.js +2 -2
- package/esm/Checkbox/icons.js +3 -3
- package/esm/CircularProgress/CircularProgress.d.ts +1 -1
- package/esm/CircularProgress/CircularProgress.js +1 -1
- package/esm/CircularProgress/CircularProgressStory.js +1 -1
- package/esm/CircularProgress/CircularProgressStoryTemplate.js +1 -1
- package/esm/ContentState/ContentState.js +10 -9
- package/esm/ContentState/styles.js +1 -1
- package/esm/DashboardLayout/DashboardLayout.js +1 -1
- package/esm/DashboardLayout/DashboardLayoutStory.js +1 -1
- package/esm/DashboardLayout/DashboardLayoutStoryTemplate.js +1 -1
- package/esm/DashboardLayout/Header/Header.js +1 -1
- package/esm/DashboardLayout/Main/Main.js +1 -1
- package/esm/DashboardLayout/Sidebar/Sidebar.js +1 -1
- package/esm/DashboardLayout/Sidebar/styled.d.ts +1 -1
- package/esm/DataGrid/DataGrid.d.ts +73 -3
- package/esm/DataGrid/DataGrid.js +7 -5
- package/esm/DataGrid/DataGridBody/DataGridBody.d.ts +14 -3
- package/esm/DataGrid/DataGridBody/DataGridBody.js +4 -4
- package/esm/DataGrid/DataGridBody/styled.d.ts +1 -1
- package/esm/DataGrid/DataGridCell/DataGridCell.d.ts +8 -3
- package/esm/DataGrid/DataGridCell/DataGridCell.js +8 -5
- package/esm/DataGrid/DataGridHead/DataGridHead.d.ts +12 -3
- package/esm/DataGrid/DataGridHead/DataGridHead.js +4 -4
- package/esm/DataGrid/DataGridHead/index.d.ts +0 -1
- package/esm/DataGrid/DataGridHead/index.js +0 -1
- package/esm/DataGrid/DataGridHeadColumn/DataGridHeadColumn.d.ts +13 -3
- package/esm/DataGrid/DataGridHeadColumn/DataGridHeadColumn.js +11 -5
- package/esm/DataGrid/DataGridHeadColumn/index.d.ts +0 -1
- package/esm/DataGrid/DataGridHeadColumn/index.js +0 -1
- package/esm/DataGrid/DataGridHeadColumn/styled.d.ts +1 -1
- package/esm/DataGrid/DataGridLoader/DataGridLoader.d.ts +3 -1
- package/esm/DataGrid/DataGridLoader/DataGridLoader.js +1 -1
- package/esm/DataGrid/DataGridLoader/index.d.ts +0 -1
- package/esm/DataGrid/DataGridLoader/index.js +0 -1
- package/esm/DataGrid/DataGridLoader/styled.d.ts +3 -3
- package/esm/DataGrid/styled.d.ts +1 -1
- package/esm/DataGrid/types.d.ts +46 -23
- package/esm/DataGridPagination/DataGridPagination.js +1 -1
- package/esm/DataGridPagination/styled.d.ts +1 -1
- package/esm/DatePicker/DatePicker.js +3 -3
- package/esm/DatePicker/DatePickerDay/DatePickerDay.js +1 -1
- package/esm/DatePicker/DatePickerDay/styled.d.ts +1 -1
- package/esm/DatePicker/DatePickerHeader/DatePickerHeader.js +1 -1
- package/esm/DatePicker/DatePickerHeader/styled.d.ts +1 -1
- package/esm/DatePickerProvider/DatePickerProvider.js +1 -1
- package/esm/Dialog/Dialog.js +3 -2
- package/esm/DialogActions/DialogActions.js +1 -1
- package/esm/DialogTitle/DialogTitle.js +6 -3
- package/esm/DropdownButton/DropdownButton.d.ts +1 -1
- package/esm/DropdownButton/DropdownButton.js +1 -1
- package/esm/DropdownButton/styles.d.ts +1 -1
- package/esm/FormControlLabel/FormControlLabel.js +1 -1
- package/esm/FormHelperText/FormHelperText.js +5 -5
- package/esm/FormHelperText/styled.d.ts +2 -6
- package/esm/GlobalStyles/GlobalStyles.js +2 -2
- package/esm/Grid/Grid.js +1 -1
- package/esm/Grid/styled.d.ts +2 -2
- package/esm/IconButton/IconButton.d.ts +1 -1
- package/esm/IconButton/IconButton.js +1 -1
- package/esm/IconButton/styled.d.ts +1 -1
- package/esm/IconButton/styled.js +2 -1
- package/esm/IconDropdownButton/IconDropdownButton.d.ts +1 -1
- package/esm/IconDropdownButton/IconDropdownButton.js +1 -1
- package/esm/List/List.js +1 -1
- package/esm/List/styled.d.ts +2 -2
- package/esm/ListItem/ListItem.js +1 -1
- package/esm/ListItem/styled.d.ts +6 -6
- package/esm/ListItem/styled.js +8 -4
- package/esm/ListItemButton/ListItemButton.js +1 -1
- package/esm/ListItemButton/styled.d.ts +2 -2
- package/esm/ListItemButton/styled.js +6 -3
- package/esm/ListItemIcon/ListItemIcon.js +1 -1
- package/esm/ListItemText/ListItemText.js +1 -1
- package/esm/LocalizationProvider/LocalizationProvider.js +1 -1
- package/esm/MaskField/MaskField.js +2 -2
- package/esm/MenuGroup/MenuGroup.js +1 -1
- package/esm/MenuGroup/stories/Icons.js +7 -7
- package/esm/MenuGroup/stories/styled.d.ts +3 -3
- package/esm/MenuGroup/styled.d.ts +1 -1
- package/esm/MenuItem/MenuItem.js +1 -1
- package/esm/MenuItem/styled.d.ts +2 -2
- package/esm/MenuList/MenuList.js +1 -1
- package/esm/MenuList/styled.d.ts +2 -2
- package/esm/Notification/NotificationContainer/NotificationContainer.js +1 -1
- package/esm/Notification/NotificationTemplate/NotificationTemplate.js +3 -3
- package/esm/Notification/NotificationTemplate/styled.d.ts +3 -5
- package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.js +2 -1
- package/esm/Notification/constants/notificationVariant.js +4 -4
- package/esm/Notification/styled.d.ts +4 -12
- package/esm/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.d.ts +1 -0
- package/esm/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.js +4 -4
- package/esm/Pagination/Pagination.js +1 -1
- package/esm/Placeholder/Placeholder.js +1 -1
- package/esm/Placeholder/styled.d.ts +2 -2
- package/esm/Product/Product.d.ts +1 -1
- package/esm/Product/Product.js +1 -1
- package/esm/Profile/Profile.js +3 -3
- package/esm/Profile/styled.d.ts +2 -4
- package/esm/Radio/Icon.js +2 -2
- package/esm/Radio/Radio.d.ts +1 -1
- package/esm/Radio/Radio.js +2 -2
- package/esm/Select/Select.js +2 -2
- package/esm/Select/styled.d.ts +2 -2
- package/esm/SideDialog/SideDialog.js +1 -1
- package/esm/Table/Table.js +1 -1
- package/esm/Tag/Tag.js +1 -1
- package/esm/Tag/styled.d.ts +3 -3
- package/esm/Tag/styled.js +6 -3
- package/esm/TextArea/TextArea.d.ts +1 -1
- package/esm/TextArea/TextArea.js +1 -1
- package/esm/TextField/TextField.d.ts +1 -1
- package/esm/TextField/TextField.js +8 -7
- package/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/esm/Tooltip/Tooltip.d.ts +1 -1
- package/esm/Tooltip/Tooltip.js +1 -1
- package/esm/Tooltip/styled.js +1 -1
- package/esm/hooks/useMenu.js +2 -1
- package/esm/theme/components/components.js +0 -6
- package/hooks/index.js +5 -1
- package/hooks/useMenu.js +2 -1
- package/index.js +5 -1
- package/package.json +7 -7
- package/server/index.js +5 -1
- package/theme/components/components.js +0 -6
- package/theme/components/index.js +5 -1
- package/theme/hooks/index.js +5 -1
- package/theme/index.js +5 -1
- package/theme/palette/index.js +5 -1
- package/DataGrid/DataGridBody/types.d.ts +0 -12
- package/DataGrid/DataGridBody/types.js +0 -2
- package/DataGrid/DataGridCell/types.d.ts +0 -5
- package/DataGrid/DataGridCell/types.js +0 -2
- package/DataGrid/DataGridHead/types.d.ts +0 -11
- package/DataGrid/DataGridHead/types.js +0 -2
- package/DataGrid/DataGridHeadColumn/types.d.ts +0 -12
- package/DataGrid/DataGridHeadColumn/types.js +0 -2
- package/DataGrid/DataGridLoader/types.d.ts +0 -3
- package/DataGrid/DataGridLoader/types.js +0 -2
- package/esm/DataGrid/DataGridBody/types.d.ts +0 -12
- package/esm/DataGrid/DataGridBody/types.js +0 -1
- package/esm/DataGrid/DataGridCell/types.d.ts +0 -5
- package/esm/DataGrid/DataGridCell/types.js +0 -1
- package/esm/DataGrid/DataGridHead/types.d.ts +0 -11
- package/esm/DataGrid/DataGridHead/types.js +0 -1
- package/esm/DataGrid/DataGridHeadColumn/types.d.ts +0 -12
- package/esm/DataGrid/DataGridHeadColumn/types.js +0 -1
- package/esm/DataGrid/DataGridLoader/types.d.ts +0 -3
- package/esm/DataGrid/DataGridLoader/types.js +0 -1
- package/esm/theme/components/MuiCalendarPicker.d.ts +0 -2
- package/esm/theme/components/MuiCalendarPicker.js +0 -16
- package/esm/theme/components/MuiPickersDay.d.ts +0 -2
- package/esm/theme/components/MuiPickersDay.js +0 -46
- package/esm/theme/components/MuiYearPicker.d.ts +0 -2
- package/esm/theme/components/MuiYearPicker.js +0 -13
- package/theme/components/MuiCalendarPicker.d.ts +0 -2
- package/theme/components/MuiCalendarPicker.js +0 -19
- package/theme/components/MuiPickersDay.d.ts +0 -2
- package/theme/components/MuiPickersDay.js +0 -49
- package/theme/components/MuiYearPicker.d.ts +0 -2
- package/theme/components/MuiYearPicker.js +0 -16
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent } from 'react';
|
|
2
|
-
import { DataGridColumns, DataGridRow, DataGridSort } from '../types';
|
|
3
|
-
export declare type DataGridHeadProps<T = DataGridRow> = {
|
|
4
|
-
columns: DataGridColumns<T>[];
|
|
5
|
-
selectable: boolean;
|
|
6
|
-
onSelectAllRows: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
-
sorting: DataGridSort<T>[];
|
|
8
|
-
onSort: (sorting: DataGridSort<T>[]) => void;
|
|
9
|
-
uncheckedRowsCount: number;
|
|
10
|
-
rowsCount: number;
|
|
11
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TableCellProps } from '@mui/material';
|
|
2
|
-
import { CSSProperties } from 'react';
|
|
3
|
-
import { DataGridSort } from '../types';
|
|
4
|
-
export declare type DataGridHeadColumnProps<T> = {
|
|
5
|
-
onSort: (field: keyof T, sortable: boolean | undefined) => () => void;
|
|
6
|
-
sorting: DataGridSort<T>[];
|
|
7
|
-
label?: string;
|
|
8
|
-
sortable?: boolean;
|
|
9
|
-
align?: TableCellProps['align'];
|
|
10
|
-
field: keyof T;
|
|
11
|
-
width?: CSSProperties['width'];
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent } from 'react';
|
|
2
|
-
import { DataGridColumns, DataGridRow } from '../types';
|
|
3
|
-
export declare type DataGridBodyProps<T = DataGridRow> = {
|
|
4
|
-
columns: DataGridColumns<T>[];
|
|
5
|
-
keyId: keyof DataGridRow;
|
|
6
|
-
onRowClick?: (row: T) => void;
|
|
7
|
-
selectable?: boolean;
|
|
8
|
-
selectedRows?: Array<T>;
|
|
9
|
-
rows: T[];
|
|
10
|
-
onSelectRow: (row: T) => (event: ChangeEvent<HTMLInputElement>) => void;
|
|
11
|
-
minDisplayRows: number;
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent } from 'react';
|
|
2
|
-
import { DataGridColumns, DataGridRow, DataGridSort } from '../types';
|
|
3
|
-
export declare type DataGridHeadProps<T = DataGridRow> = {
|
|
4
|
-
columns: DataGridColumns<T>[];
|
|
5
|
-
selectable: boolean;
|
|
6
|
-
onSelectAllRows: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
-
sorting: DataGridSort<T>[];
|
|
8
|
-
onSort: (sorting: DataGridSort<T>[]) => void;
|
|
9
|
-
uncheckedRowsCount: number;
|
|
10
|
-
rowsCount: number;
|
|
11
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TableCellProps } from '@mui/material';
|
|
2
|
-
import { CSSProperties } from 'react';
|
|
3
|
-
import { DataGridSort } from '../types';
|
|
4
|
-
export declare type DataGridHeadColumnProps<T> = {
|
|
5
|
-
onSort: (field: keyof T, sortable: boolean | undefined) => () => void;
|
|
6
|
-
sorting: DataGridSort<T>[];
|
|
7
|
-
label?: string;
|
|
8
|
-
sortable?: boolean;
|
|
9
|
-
align?: TableCellProps['align'];
|
|
10
|
-
field: keyof T;
|
|
11
|
-
width?: CSSProperties['width'];
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export var MuiCalendarPicker = {
|
|
2
|
-
styleOverrides: {
|
|
3
|
-
viewTransitionContainer: function (_a) {
|
|
4
|
-
var theme = _a.theme;
|
|
5
|
-
return {
|
|
6
|
-
maxHeight: 260,
|
|
7
|
-
overflow: 'hidden',
|
|
8
|
-
'& span': {
|
|
9
|
-
color: theme.palette.grey[600],
|
|
10
|
-
width: 41,
|
|
11
|
-
margin: 0,
|
|
12
|
-
},
|
|
13
|
-
};
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export var MuiPickersDay = {
|
|
2
|
-
styleOverrides: {
|
|
3
|
-
root: function (_a) {
|
|
4
|
-
var theme = _a.theme;
|
|
5
|
-
return {
|
|
6
|
-
width: 41,
|
|
7
|
-
height: 32,
|
|
8
|
-
margin: 0,
|
|
9
|
-
color: theme.palette.grey[900],
|
|
10
|
-
fontSize: theme.typography.link.fontSize,
|
|
11
|
-
fontWeight: theme.typography.fontWeightRegular,
|
|
12
|
-
borderRadius: theme.shape.small,
|
|
13
|
-
'&.MuiPickersDay-today': {
|
|
14
|
-
border: 0,
|
|
15
|
-
fontWeight: theme.typography.fontWeightMedium,
|
|
16
|
-
'&:before': {
|
|
17
|
-
content: '""',
|
|
18
|
-
position: 'absolute',
|
|
19
|
-
height: 2,
|
|
20
|
-
width: 33,
|
|
21
|
-
background: theme.palette.primary[900],
|
|
22
|
-
bottom: theme.spacing(1),
|
|
23
|
-
},
|
|
24
|
-
'&.Mui-selected': {
|
|
25
|
-
'&:before': {
|
|
26
|
-
background: theme.palette.primary[200],
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
'&.Mui-selected': {
|
|
31
|
-
fontWeight: theme.typography.fontWeightRegular,
|
|
32
|
-
},
|
|
33
|
-
'&.Mui-focusVisible': {
|
|
34
|
-
background: theme.palette.primary[200],
|
|
35
|
-
},
|
|
36
|
-
'&.MuiPickersDay-dayOutsideMonth': {
|
|
37
|
-
color: theme.palette.grey[600],
|
|
38
|
-
},
|
|
39
|
-
'&.Mui-disabled': {
|
|
40
|
-
color: theme.palette.grey[300],
|
|
41
|
-
fontWeight: theme.typography.fontWeightRegular,
|
|
42
|
-
},
|
|
43
|
-
};
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export var MuiYearPicker = {
|
|
2
|
-
styleOverrides: {
|
|
3
|
-
root: function (_a) {
|
|
4
|
-
var theme = _a.theme;
|
|
5
|
-
return {
|
|
6
|
-
'& .PrivatePickersYear-yearButton': {
|
|
7
|
-
fontSize: theme.typography.link.fontSize,
|
|
8
|
-
borderRadius: theme.shape.small,
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MuiCalendarPicker = void 0;
|
|
4
|
-
exports.MuiCalendarPicker = {
|
|
5
|
-
styleOverrides: {
|
|
6
|
-
viewTransitionContainer: function (_a) {
|
|
7
|
-
var theme = _a.theme;
|
|
8
|
-
return {
|
|
9
|
-
maxHeight: 260,
|
|
10
|
-
overflow: 'hidden',
|
|
11
|
-
'& span': {
|
|
12
|
-
color: theme.palette.grey[600],
|
|
13
|
-
width: 41,
|
|
14
|
-
margin: 0,
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MuiPickersDay = void 0;
|
|
4
|
-
exports.MuiPickersDay = {
|
|
5
|
-
styleOverrides: {
|
|
6
|
-
root: function (_a) {
|
|
7
|
-
var theme = _a.theme;
|
|
8
|
-
return {
|
|
9
|
-
width: 41,
|
|
10
|
-
height: 32,
|
|
11
|
-
margin: 0,
|
|
12
|
-
color: theme.palette.grey[900],
|
|
13
|
-
fontSize: theme.typography.link.fontSize,
|
|
14
|
-
fontWeight: theme.typography.fontWeightRegular,
|
|
15
|
-
borderRadius: theme.shape.small,
|
|
16
|
-
'&.MuiPickersDay-today': {
|
|
17
|
-
border: 0,
|
|
18
|
-
fontWeight: theme.typography.fontWeightMedium,
|
|
19
|
-
'&:before': {
|
|
20
|
-
content: '""',
|
|
21
|
-
position: 'absolute',
|
|
22
|
-
height: 2,
|
|
23
|
-
width: 33,
|
|
24
|
-
background: theme.palette.primary[900],
|
|
25
|
-
bottom: theme.spacing(1),
|
|
26
|
-
},
|
|
27
|
-
'&.Mui-selected': {
|
|
28
|
-
'&:before': {
|
|
29
|
-
background: theme.palette.primary[200],
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
'&.Mui-selected': {
|
|
34
|
-
fontWeight: theme.typography.fontWeightRegular,
|
|
35
|
-
},
|
|
36
|
-
'&.Mui-focusVisible': {
|
|
37
|
-
background: theme.palette.primary[200],
|
|
38
|
-
},
|
|
39
|
-
'&.MuiPickersDay-dayOutsideMonth': {
|
|
40
|
-
color: theme.palette.grey[600],
|
|
41
|
-
},
|
|
42
|
-
'&.Mui-disabled': {
|
|
43
|
-
color: theme.palette.grey[300],
|
|
44
|
-
fontWeight: theme.typography.fontWeightRegular,
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MuiYearPicker = void 0;
|
|
4
|
-
exports.MuiYearPicker = {
|
|
5
|
-
styleOverrides: {
|
|
6
|
-
root: function (_a) {
|
|
7
|
-
var theme = _a.theme;
|
|
8
|
-
return {
|
|
9
|
-
'& .PrivatePickersYear-yearButton': {
|
|
10
|
-
fontSize: theme.typography.link.fontSize,
|
|
11
|
-
borderRadius: theme.shape.small,
|
|
12
|
-
},
|
|
13
|
-
};
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
};
|