@astral/ui 1.28.9 → 1.30.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/Alert/Alert.d.ts +2 -1
- package/Autocomplete/Autocomplete.d.ts +2 -1
- package/Autocomplete/Autocomplete.js +4 -1
- package/Badge/styled.d.ts +2 -2
- package/Badge/types.d.ts +2 -1
- package/Button/Button.d.ts +1 -1
- package/Button/styles.d.ts +3 -3
- package/Button/types.d.ts +2 -1
- package/ButtonBase/ButtonBase.d.ts +1 -1
- package/ButtonBase/styles.d.ts +1 -1
- package/ButtonBase/types.d.ts +2 -1
- package/Checkbox/Checkbox.d.ts +1 -1
- package/Checkbox/types.d.ts +2 -1
- package/Chevron/Chevron.d.ts +2 -1
- package/Chevron/styles.d.ts +2 -2
- package/CircularProgress/CircularProgress.d.ts +1 -1
- package/CircularProgress/CircularProgressStory.d.ts +2 -2
- package/Collapse/Collapse.d.ts +5 -3
- package/Collapse/Collapse.js +3 -1
- package/DashboardLayout/DashboardLayoutStory.d.ts +2 -2
- package/DashboardLayout/Header/Header.d.ts +2 -2
- package/DashboardLayout/Header/Header.js +1 -4
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +1 -1
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +1 -1
- package/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +1 -1
- package/DataGrid/DataGridBody/styles.d.ts +1 -8
- package/DataGrid/DataGridHeadColumn/styles.d.ts +3 -8
- package/DataGrid/DataGridLoader/styles.d.ts +1 -13
- package/DataGrid/DataGridNoData/styles.d.ts +4 -3
- package/DataGrid/styles.d.ts +5 -5
- package/DataGridPagination/styles.d.ts +1 -6
- package/DatePicker/DateCalendar/DateCalendarBtn/DateCalendarBtn.d.ts +1 -1
- 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/DateCalendarGridBtn/styles.d.ts +2 -2
- package/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +2 -7
- package/DatePicker/DatePickerInput/DatePickerInput.d.ts +1 -1
- package/DatePicker/DatePickerInput/styles.d.ts +1 -1
- package/DatePicker/DatePickerPopper/DatePickerPopper.d.ts +2 -2
- package/DatePicker/DatePickerPopper/styles.d.ts +1 -1
- package/Dialog/types.d.ts +2 -1
- package/DialogActions/DialogActions.d.ts +3 -1
- package/DialogContent/DialogContent.d.ts +5 -1
- package/DialogContent/DialogContent.js +4 -2
- package/DialogContentText/DialogContentText.d.ts +5 -1
- package/DialogContentText/DialogContentText.js +4 -2
- package/DialogTitle/DialogTitle.d.ts +2 -1
- package/Divider/Divider.d.ts +5 -3
- package/Divider/Divider.js +3 -1
- package/DropdownButton/DropdownButton.d.ts +1 -1
- package/Fab/Fab.d.ts +3 -2
- package/Fab/styles.d.ts +3 -3
- package/Fade/Fade.d.ts +3 -3
- package/Fade/Fade.js +1 -1
- package/FormControl/FormControl.d.ts +5 -0
- package/FormControl/FormControl.js +7 -0
- package/FormControl/index.d.ts +1 -2
- package/FormControl/index.js +15 -3
- package/FormControlLabel/FormControlLabel.d.ts +1 -1
- package/FormControlLabel/FormControlLabel.js +1 -13
- package/FormControlLabel/styled.d.ts +2 -1
- package/FormControlLabel/types.d.ts +2 -1
- package/FormHelperText/FormHelperText.d.ts +4 -3
- package/FormHelperText/FormHelperTextContent/FormHelperTextContent.d.ts +1 -1
- package/FormHelperText/FormHelperTextContent/styles.d.ts +4 -4
- package/Grid/styled.d.ts +5 -3
- package/IconButton/IconButton.d.ts +1 -1
- package/IconButton/styles.d.ts +2 -2
- package/IconDropdownButton/IconDropdownButton.d.ts +1 -1
- package/List/List.d.ts +2 -1
- package/ListItem/styles.d.ts +4 -15
- package/ListItem/types.d.ts +2 -1
- package/ListItemAvatar/ListItemAvatar.d.ts +5 -3
- package/ListItemAvatar/ListItemAvatar.js +3 -1
- package/ListItemButton/ListItemButton.d.ts +3 -2
- package/ListItemIcon/ListItemIcon.d.ts +5 -2
- package/ListItemIcon/styled.d.ts +1 -2
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +5 -3
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +3 -1
- package/ListItemText/ListItemText.d.ts +2 -1
- package/ListSubheader/ListSubheader.d.ts +5 -3
- package/ListSubheader/ListSubheader.js +3 -1
- package/MaskField/MaskField.d.ts +1 -1
- package/Menu/Menu.d.ts +5 -3
- package/Menu/Menu.js +3 -1
- package/Menu/index.d.ts +0 -1
- package/Menu/index.js +0 -1
- package/MenuGroup/stories/styled.d.ts +2 -34
- package/MenuGroup/styled.d.ts +1 -6
- package/MenuItem/styled.d.ts +4 -3
- package/MenuItem/types.d.ts +3 -1
- package/MenuList/styled.d.ts +4 -3
- package/MenuList/types.d.ts +2 -1
- package/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +264 -5
- package/Notification/NotificationContainer/NotificationContainer.d.ts +2 -2
- package/Notification/NotificationTemplate/NotificationTemplate.d.ts +2 -2
- package/Notification/NotificationTemplate/styled.d.ts +4 -9
- package/Notification/styled.d.ts +8 -8
- package/OverflowTypography/styles.d.ts +1 -6
- package/Pagination/types.d.ts +2 -1
- package/Placeholder/styles.d.ts +2 -12
- package/Product/Product.d.ts +1 -1
- package/Product/types.d.ts +2 -2
- package/ProductSwitcher/ProductSwitcherContent/styles.d.ts +1 -28
- package/ProductSwitcher/styles.d.ts +1 -1
- package/Profile/styled.d.ts +1 -1
- package/Profile/types.d.ts +3 -2
- package/Radio/Radio.d.ts +1 -1
- package/Radio/types.d.ts +2 -1
- package/RadioGroup/RadioGroup.d.ts +5 -2
- package/RadioGroup/RadioGroup.js +4 -2
- package/Select/Select.d.ts +2 -1
- package/Select/styles.d.ts +1 -28
- package/SideDialog/styled.d.ts +2 -1
- package/SideDialog/types.d.ts +2 -1
- package/SideDialogActions/index.d.ts +1 -0
- package/SideDialogActions/index.js +1 -0
- package/SideDialogActions/types.d.ts +3 -1
- package/SideDialogContent/types.d.ts +3 -1
- package/SideDialogContentText/types.d.ts +3 -1
- package/SideDialogTitle/types.d.ts +3 -1
- package/Slide/Slide.d.ts +5 -3
- package/Slide/Slide.js +3 -1
- package/SwipeableDrawer/SwipeableDrawer.d.ts +2 -1
- package/SwipeableDrawer/styles.d.ts +12 -2
- package/Tab/Tab.d.ts +5 -3
- package/Tab/Tab.js +3 -1
- package/Table/Table.d.ts +3 -1
- package/Table/TableBody/TableBody.d.ts +5 -3
- package/Table/TableBody/TableBody.js +3 -1
- package/Table/TableCell/TableCell.d.ts +5 -3
- package/Table/TableCell/TableCell.js +3 -1
- package/Table/TableContainer/TableContainer.d.ts +5 -3
- package/Table/TableContainer/TableContainer.js +3 -1
- package/Table/TableFooter/TableFooter.d.ts +5 -3
- package/Table/TableFooter/TableFooter.js +3 -1
- package/Table/TableHead/TableHead.d.ts +5 -3
- package/Table/TableHead/TableHead.js +3 -1
- package/Table/TableRow/TableRow.d.ts +5 -3
- package/Table/TableRow/TableRow.js +3 -1
- package/Table/TableSortLabel/TableSortLabel.d.ts +5 -3
- package/Table/TableSortLabel/TableSortLabel.js +3 -1
- package/Tabs/Tabs.d.ts +5 -3
- package/Tabs/Tabs.js +3 -1
- package/Tag/Tag.d.ts +1 -1
- package/Tag/styled.d.ts +2 -2
- package/Tag/types.d.ts +2 -1
- package/TextArea/TextArea.d.ts +1 -1
- package/TextField/TextField.d.ts +1 -1
- package/TextField/types.d.ts +2 -1
- package/ThemeProvider/ThemeProvider.d.ts +2 -2
- package/Typography/Typography.d.ts +4 -3
- package/Zoom/Zoom.d.ts +3 -3
- package/Zoom/Zoom.js +1 -1
- package/esm/Alert/Alert.d.ts +2 -1
- package/esm/Autocomplete/Autocomplete.d.ts +2 -1
- package/esm/Autocomplete/Autocomplete.js +4 -1
- package/esm/Badge/styled.d.ts +2 -2
- package/esm/Badge/types.d.ts +2 -1
- package/esm/Button/Button.d.ts +1 -1
- package/esm/Button/styles.d.ts +3 -3
- package/esm/Button/types.d.ts +2 -1
- package/esm/ButtonBase/ButtonBase.d.ts +1 -1
- package/esm/ButtonBase/styles.d.ts +1 -1
- package/esm/ButtonBase/types.d.ts +2 -1
- package/esm/Checkbox/Checkbox.d.ts +1 -1
- package/esm/Checkbox/types.d.ts +2 -1
- package/esm/Chevron/Chevron.d.ts +2 -1
- package/esm/Chevron/styles.d.ts +2 -2
- package/esm/CircularProgress/CircularProgress.d.ts +1 -1
- package/esm/CircularProgress/CircularProgressStory.d.ts +2 -2
- package/esm/Collapse/Collapse.d.ts +5 -3
- package/esm/Collapse/Collapse.js +3 -2
- package/esm/DashboardLayout/DashboardLayoutStory.d.ts +2 -2
- package/esm/DashboardLayout/Header/Header.d.ts +2 -2
- package/esm/DashboardLayout/Header/Header.js +1 -4
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +1 -1
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +1 -1
- package/esm/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +1 -1
- package/esm/DataGrid/DataGridBody/styles.d.ts +1 -8
- package/esm/DataGrid/DataGridHeadColumn/styles.d.ts +3 -8
- package/esm/DataGrid/DataGridLoader/styles.d.ts +1 -13
- package/esm/DataGrid/DataGridNoData/styles.d.ts +4 -3
- package/esm/DataGrid/styles.d.ts +5 -5
- package/esm/DataGridPagination/styles.d.ts +1 -6
- package/esm/DatePicker/DateCalendar/DateCalendarBtn/DateCalendarBtn.d.ts +1 -1
- 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/DateCalendarGridBtn/styles.d.ts +2 -2
- package/esm/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +2 -7
- package/esm/DatePicker/DatePickerInput/DatePickerInput.d.ts +1 -1
- package/esm/DatePicker/DatePickerInput/styles.d.ts +1 -1
- package/esm/DatePicker/DatePickerPopper/DatePickerPopper.d.ts +2 -2
- package/esm/DatePicker/DatePickerPopper/styles.d.ts +1 -1
- package/esm/Dialog/types.d.ts +2 -1
- package/esm/DialogActions/DialogActions.d.ts +3 -1
- package/esm/DialogContent/DialogContent.d.ts +5 -1
- package/esm/DialogContent/DialogContent.js +3 -1
- package/esm/DialogContentText/DialogContentText.d.ts +5 -1
- package/esm/DialogContentText/DialogContentText.js +3 -1
- package/esm/DialogTitle/DialogTitle.d.ts +2 -1
- package/esm/Divider/Divider.d.ts +5 -3
- package/esm/Divider/Divider.js +3 -2
- package/esm/DropdownButton/DropdownButton.d.ts +1 -1
- package/esm/Fab/Fab.d.ts +3 -2
- package/esm/Fab/styles.d.ts +3 -3
- package/esm/Fade/Fade.d.ts +3 -3
- package/esm/Fade/Fade.js +2 -2
- package/esm/FormControl/FormControl.d.ts +5 -0
- package/esm/FormControl/FormControl.js +3 -0
- package/esm/FormControl/index.d.ts +1 -2
- package/esm/FormControl/index.js +1 -1
- package/esm/FormControlLabel/FormControlLabel.d.ts +1 -1
- package/esm/FormControlLabel/FormControlLabel.js +1 -13
- package/esm/FormControlLabel/styled.d.ts +2 -1
- package/esm/FormControlLabel/types.d.ts +2 -1
- package/esm/FormHelperText/FormHelperText.d.ts +4 -3
- package/esm/FormHelperText/FormHelperTextContent/FormHelperTextContent.d.ts +1 -1
- package/esm/FormHelperText/FormHelperTextContent/styles.d.ts +4 -4
- package/esm/Grid/styled.d.ts +5 -3
- package/esm/IconButton/IconButton.d.ts +1 -1
- package/esm/IconButton/styles.d.ts +2 -2
- package/esm/IconDropdownButton/IconDropdownButton.d.ts +1 -1
- package/esm/List/List.d.ts +2 -1
- package/esm/ListItem/styles.d.ts +4 -15
- package/esm/ListItem/types.d.ts +2 -1
- package/esm/ListItemAvatar/ListItemAvatar.d.ts +5 -3
- package/esm/ListItemAvatar/ListItemAvatar.js +3 -2
- package/esm/ListItemButton/ListItemButton.d.ts +3 -2
- package/esm/ListItemIcon/ListItemIcon.d.ts +5 -2
- package/esm/ListItemIcon/styled.d.ts +1 -2
- package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +5 -3
- package/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +3 -2
- package/esm/ListItemText/ListItemText.d.ts +2 -1
- package/esm/ListSubheader/ListSubheader.d.ts +5 -3
- package/esm/ListSubheader/ListSubheader.js +3 -2
- package/esm/MaskField/MaskField.d.ts +1 -1
- package/esm/Menu/Menu.d.ts +5 -3
- package/esm/Menu/Menu.js +3 -2
- package/esm/Menu/index.d.ts +0 -1
- package/esm/Menu/index.js +0 -1
- package/esm/MenuGroup/stories/styled.d.ts +2 -34
- package/esm/MenuGroup/styled.d.ts +1 -6
- package/esm/MenuItem/styled.d.ts +4 -3
- package/esm/MenuItem/types.d.ts +3 -1
- package/esm/MenuList/styled.d.ts +4 -3
- package/esm/MenuList/types.d.ts +2 -1
- package/esm/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +264 -5
- package/esm/Notification/NotificationContainer/NotificationContainer.d.ts +2 -2
- package/esm/Notification/NotificationTemplate/NotificationTemplate.d.ts +2 -2
- package/esm/Notification/NotificationTemplate/styled.d.ts +4 -9
- package/esm/Notification/styled.d.ts +8 -8
- package/esm/OverflowTypography/styles.d.ts +1 -6
- package/esm/Pagination/types.d.ts +2 -1
- package/esm/Placeholder/styles.d.ts +2 -12
- package/esm/Product/Product.d.ts +1 -1
- package/esm/Product/types.d.ts +2 -2
- package/esm/ProductSwitcher/ProductSwitcherContent/styles.d.ts +1 -28
- package/esm/ProductSwitcher/styles.d.ts +1 -1
- package/esm/Profile/styled.d.ts +1 -1
- package/esm/Profile/types.d.ts +3 -2
- package/esm/Radio/Radio.d.ts +1 -1
- package/esm/Radio/types.d.ts +2 -1
- package/esm/RadioGroup/RadioGroup.d.ts +5 -2
- package/esm/RadioGroup/RadioGroup.js +3 -1
- package/esm/Select/Select.d.ts +2 -1
- package/esm/Select/styles.d.ts +1 -28
- package/esm/SideDialog/styled.d.ts +2 -1
- package/esm/SideDialog/types.d.ts +2 -1
- package/esm/SideDialogActions/index.d.ts +1 -0
- package/esm/SideDialogActions/index.js +1 -0
- package/esm/SideDialogActions/types.d.ts +3 -1
- package/esm/SideDialogContent/types.d.ts +3 -1
- package/esm/SideDialogContentText/types.d.ts +3 -1
- package/esm/SideDialogTitle/types.d.ts +3 -1
- package/esm/Slide/Slide.d.ts +5 -3
- package/esm/Slide/Slide.js +3 -2
- package/esm/SwipeableDrawer/SwipeableDrawer.d.ts +2 -1
- package/esm/SwipeableDrawer/styles.d.ts +12 -2
- package/esm/Tab/Tab.d.ts +5 -3
- package/esm/Tab/Tab.js +3 -2
- package/esm/Table/Table.d.ts +3 -1
- package/esm/Table/TableBody/TableBody.d.ts +5 -3
- package/esm/Table/TableBody/TableBody.js +3 -2
- package/esm/Table/TableCell/TableCell.d.ts +5 -3
- package/esm/Table/TableCell/TableCell.js +3 -2
- package/esm/Table/TableContainer/TableContainer.d.ts +5 -3
- package/esm/Table/TableContainer/TableContainer.js +3 -2
- package/esm/Table/TableFooter/TableFooter.d.ts +5 -3
- package/esm/Table/TableFooter/TableFooter.js +3 -2
- package/esm/Table/TableHead/TableHead.d.ts +5 -3
- package/esm/Table/TableHead/TableHead.js +3 -2
- package/esm/Table/TableRow/TableRow.d.ts +5 -3
- package/esm/Table/TableRow/TableRow.js +3 -2
- package/esm/Table/TableSortLabel/TableSortLabel.d.ts +5 -3
- package/esm/Table/TableSortLabel/TableSortLabel.js +3 -2
- package/esm/Tabs/Tabs.d.ts +5 -3
- package/esm/Tabs/Tabs.js +3 -2
- package/esm/Tag/Tag.d.ts +1 -1
- package/esm/Tag/styled.d.ts +2 -2
- package/esm/Tag/types.d.ts +2 -1
- package/esm/TextArea/TextArea.d.ts +1 -1
- package/esm/TextField/TextField.d.ts +1 -1
- package/esm/TextField/types.d.ts +2 -1
- package/esm/ThemeProvider/ThemeProvider.d.ts +2 -2
- package/esm/Typography/Typography.d.ts +4 -3
- package/esm/Zoom/Zoom.d.ts +3 -3
- package/esm/Zoom/Zoom.js +2 -2
- package/package.json +2 -2
- package/Menu/types.d.ts +0 -1
- package/Menu/types.js +0 -2
- package/esm/Menu/types.d.ts +0 -1
- package/esm/Menu/types.js +0 -1
package/TextField/TextField.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TextFieldProps } from './types';
|
|
3
|
-
export declare const TextField: import("react").ForwardRefExoticComponent<Pick<TextFieldProps, "disabled" | "color" | "translate" | "margin" | "error" | "success" | "tabIndex" | "type" | "children" | "className" | "label" | "slot" | "select" | "style" | "title" | "key" | "
|
|
3
|
+
export declare const TextField: import("react").ForwardRefExoticComponent<Pick<TextFieldProps, "disabled" | "color" | "translate" | "margin" | "error" | "success" | "tabIndex" | "type" | "children" | "className" | "label" | "slot" | "select" | "style" | "title" | "key" | "autoFocus" | "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" | "variant" | "size" | "classes" | "fullWidth" | "focused" | "required" | "autoComplete" | "inputProps" | "inputRef" | "multiline" | "rows" | "maxRows" | "minRows" | "hiddenLabel" | "SelectProps" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export default TextField;
|
package/TextField/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TextFieldProps as MuiTextFieldProps } from '@mui/material/TextField';
|
|
2
|
-
|
|
2
|
+
import { WithoutEmotionSpecific } from '../types';
|
|
3
|
+
export declare type TextFieldProps = Omit<WithoutEmotionSpecific<MuiTextFieldProps>, 'variant' | 'color'> & {
|
|
3
4
|
variant?: never;
|
|
4
5
|
color?: never;
|
|
5
6
|
success?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { Theme } from '../theme';
|
|
3
3
|
export declare type ThemeProviderProps = {
|
|
4
4
|
theme: Theme;
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
};
|
|
7
|
-
export declare const ThemeProvider:
|
|
7
|
+
export declare const ThemeProvider: (props: PropsWithChildren<ThemeProviderProps>) => JSX.Element;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { TypographyPropsVariantOverrides, TypographyTypeMap } from '@mui/material';
|
|
2
2
|
import { OverrideProps } from '@mui/material/OverridableComponent';
|
|
3
3
|
import { Variant } from '@mui/material/styles/createTypography';
|
|
4
|
-
import
|
|
4
|
+
import { PropsWithChildren } from 'react';
|
|
5
5
|
import { Theme } from '../theme';
|
|
6
|
+
import { WithoutEmotionSpecific } from '../types';
|
|
6
7
|
import { TypographyColors } from './enums';
|
|
7
8
|
declare type Intensity = '900' | '800' | '700' | '600' | '500' | '400' | '300' | '200' | '100';
|
|
8
9
|
export declare type TypographyColor = keyof typeof TypographyColors;
|
|
9
|
-
export declare type TypographyProps = Omit<OverrideProps<TypographyTypeMap
|
|
10
|
+
export declare type TypographyProps = Omit<OverrideProps<WithoutEmotionSpecific<TypographyTypeMap>, React.ElementType>, 'variant' | 'color'> & {
|
|
10
11
|
variant?: Variant | keyof TypographyPropsVariantOverrides;
|
|
11
12
|
component?: React.ElementType;
|
|
12
13
|
color?: TypographyColor | ((theme: Theme) => string);
|
|
@@ -31,5 +32,5 @@ declare module '@mui/material/Typography' {
|
|
|
31
32
|
div: true;
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
|
-
export declare const Typography:
|
|
35
|
+
export declare const Typography: import("react").ForwardRefExoticComponent<Pick<PropsWithChildren<TypographyProps>, string | number | symbol> & import("react").RefAttributes<HTMLElement>>;
|
|
35
36
|
export default Typography;
|
package/Zoom/Zoom.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Zoom, ZoomProps } from '@mui/material';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
import { Zoom as MuiZoom, ZoomProps as MuiZoomProps } from '@mui/material';
|
|
2
|
+
export declare type ZoomProps = MuiZoomProps;
|
|
3
|
+
export declare const Zoom: typeof MuiZoom;
|
package/Zoom/Zoom.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Zoom = void 0;
|
|
4
4
|
const material_1 = require("@mui/material");
|
|
5
|
-
|
|
5
|
+
exports.Zoom = material_1.Zoom;
|
package/esm/Alert/Alert.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AlertProps as MuiAlertProps } from '@mui/material';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
|
|
3
|
+
import { WithoutEmotionSpecific } from '../types';
|
|
4
|
+
export declare type AlertProps = Omit<WithoutEmotionSpecific<MuiAlertProps>, 'variant' | 'action' | 'color' | 'iconMapping'> & {
|
|
4
5
|
/**
|
|
5
6
|
* @example <Alert title="Заголовок">Сообщение</Alert>
|
|
6
7
|
* Заголовок
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
import { AutocompleteProps as MuiAutocompleteProps } from '@mui/material';
|
|
3
3
|
import { TextFieldProps } from '../TextField';
|
|
4
4
|
import { OverflowedElementProps } from '../OverflowTypography';
|
|
5
|
+
import { WithoutEmotionSpecific } from '../types';
|
|
5
6
|
import { AutocompleteSizes } from './constants';
|
|
6
7
|
export declare type AutocompleteSize = `${AutocompleteSizes}`;
|
|
7
|
-
export declare type AutocompleteProps<AutocompleteValueProps, Multiple extends boolean, DisableClearable extends boolean, FreeSolo extends boolean> = Omit<MuiAutocompleteProps<AutocompleteValueProps, Multiple, DisableClearable, FreeSolo
|
|
8
|
+
export declare type AutocompleteProps<AutocompleteValueProps, Multiple extends boolean, DisableClearable extends boolean, FreeSolo extends boolean> = Omit<WithoutEmotionSpecific<MuiAutocompleteProps<AutocompleteValueProps, Multiple, DisableClearable, FreeSolo>>, 'size' | 'renderInput'> & Pick<TextFieldProps, 'error' | 'success' | 'helperText' | 'label'> & {
|
|
8
9
|
size?: AutocompleteSize;
|
|
9
10
|
overflowOption?: OverflowedElementProps;
|
|
10
11
|
};
|
|
@@ -28,6 +28,9 @@ export const Autocomplete = (props) => {
|
|
|
28
28
|
return (_jsx(Tag, Object.assign({ deleteIcon: _jsx(CrossSmOutlineSm, {}), color: "grey", label: title }, getTagProps({ index }))));
|
|
29
29
|
});
|
|
30
30
|
}, [getOptionLabel]);
|
|
31
|
+
const isOptionEqualToValue = useCallback((option, value) => {
|
|
32
|
+
return JSON.stringify(option) === JSON.stringify(value);
|
|
33
|
+
}, []);
|
|
31
34
|
const renderInput = useCallback((inputParams) => (_jsx(TextField, Object.assign({}, inputParams, { placeholder: placeholder, label: label, success: success, error: error, helperText: helperText, size: size }))), [placeholder, label, success, error, helperText, size]);
|
|
32
35
|
const renderOption = useCallback((optionProps, option, optionState) => {
|
|
33
36
|
if (externalRenderOption) {
|
|
@@ -38,5 +41,5 @@ export const Autocomplete = (props) => {
|
|
|
38
41
|
multiple && (_jsx(ListItemIcon, { children: _jsx(Checkbox, { checked: selected }) })),
|
|
39
42
|
_jsx(OverflowTypography, Object.assign({ rowsCount: DEFAULT_AUTOCOMPLETE_ELEMENT_ROWS_COUNT }, overflowOption, { children: optionProps.key }))));
|
|
40
43
|
}, [multiple, externalRenderOption]);
|
|
41
|
-
return (_jsx(MuiAutocomplete, Object.assign({}, restProps, { size: size, multiple: multiple, getOptionLabel: getOptionLabel, disableCloseOnSelect: multiple, renderTags: renderTags, renderInput: renderInput, renderOption: renderOption, popupIcon: _jsx(ChevronDOutlineMd, {}), clearIcon: _jsx(CrossSmOutlineSm, {}), componentsProps: { clearIndicator: { disableRipple: true } }, noOptionsText: "\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445" })));
|
|
44
|
+
return (_jsx(MuiAutocomplete, Object.assign({}, restProps, { size: size, multiple: multiple, getOptionLabel: getOptionLabel, disableCloseOnSelect: multiple, renderTags: renderTags, renderInput: renderInput, renderOption: renderOption, popupIcon: _jsx(ChevronDOutlineMd, {}), clearIcon: _jsx(CrossSmOutlineSm, {}), isOptionEqualToValue: isOptionEqualToValue, componentsProps: { clearIndicator: { disableRipple: true } }, noOptionsText: "\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445" })));
|
|
42
45
|
};
|
package/esm/Badge/styled.d.ts
CHANGED
|
@@ -8,9 +8,9 @@ export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
|
|
|
8
8
|
overlap?: "circular" | "rectangular" | undefined;
|
|
9
9
|
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
10
10
|
variant?: "standard" | "dot" | undefined;
|
|
11
|
-
} & import("@mui/base").BadgeUnstyledOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "
|
|
11
|
+
} & import("@mui/base").BadgeUnstyledOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "css" | "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
|
|
12
12
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
13
|
-
}, "color" | "variant" | keyof import("@mui/material/OverridableComponent").CommonProps | "
|
|
13
|
+
}, "color" | "sx" | "variant" | keyof import("@mui/material/OverridableComponent").CommonProps | "anchorOrigin" | "overlap" | keyof import("@mui/base").BadgeUnstyledOwnProps> & {
|
|
14
14
|
theme?: import("@emotion/react").Theme | undefined;
|
|
15
15
|
} & Omit<BadgeProps, "color"> & {
|
|
16
16
|
customColor: BadgeColor;
|
package/esm/Badge/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BadgeProps as MuiBadgeProps } from '@mui/material/Badge/Badge';
|
|
2
|
+
import { WithoutEmotionSpecific } from '../types';
|
|
2
3
|
export declare type BadgeColor = 'primary' | 'grey' | 'white' | 'errorLight' | 'error' | 'success';
|
|
3
|
-
export declare type BadgeProps = Omit<MuiBadgeProps
|
|
4
|
+
export declare type BadgeProps = Omit<WithoutEmotionSpecific<MuiBadgeProps>, 'color'> & {
|
|
4
5
|
color: BadgeColor;
|
|
5
6
|
};
|
package/esm/Button/Button.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ButtonProps } from './types';
|
|
3
|
-
export declare const Button: import("react").ForwardRefExoticComponent<Pick<ButtonProps, "disabled" | "action" | "color" | "translate" | "href" | "onFocusVisible" | "tabIndex" | "type" | "children" | "form" | "slot" | "title" | "key" | "
|
|
3
|
+
export declare const Button: import("react").ForwardRefExoticComponent<Pick<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>>;
|
|
4
4
|
export default Button;
|
package/esm/Button/styles.d.ts
CHANGED
|
@@ -60,11 +60,11 @@ export declare const LoadingButtonWrapper: import("@emotion/styled").StyledCompo
|
|
|
60
60
|
tabIndex?: number | undefined;
|
|
61
61
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
62
62
|
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
63
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "
|
|
63
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "css" | "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
64
64
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
65
|
-
}, "disabled" | "action" | "color" | "href" | "onFocusVisible" | "tabIndex" | "children" | "variant" | "size" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "
|
|
65
|
+
}, "disabled" | "action" | "color" | "sx" | "href" | "onFocusVisible" | "tabIndex" | "children" | "variant" | "size" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loading" | "loadingIndicator" | "loadingPosition"> & {
|
|
66
66
|
theme?: import("@emotion/react").Theme | undefined;
|
|
67
|
-
} & Omit<import("@mui/lab").LoadingButtonProps<"button", {}
|
|
67
|
+
} & Omit<import("../types").WithoutEmotionSpecific<import("@mui/lab").LoadingButtonProps<"button", {}>>, "color" | "variant"> & {
|
|
68
68
|
variant?: "link" | "light" | "text" | "contained" | undefined;
|
|
69
69
|
color?: "primary" | "error" | "warning" | "success" | undefined;
|
|
70
70
|
component?: import("react").ElementType<any> | undefined;
|
package/esm/Button/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
2
|
import { LoadingButtonProps } from '@mui/lab';
|
|
3
|
+
import { WithoutEmotionSpecific } from '../types';
|
|
3
4
|
declare module '@mui/material/Button' {
|
|
4
5
|
interface ButtonPropsVariantOverrides {
|
|
5
6
|
contained: true;
|
|
@@ -14,7 +15,7 @@ declare module '@mui/material/Button' {
|
|
|
14
15
|
error: true;
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
|
-
export declare type ButtonProps = Omit<LoadingButtonProps
|
|
18
|
+
export declare type ButtonProps = Omit<WithoutEmotionSpecific<LoadingButtonProps>, 'variant' | 'color'> & {
|
|
18
19
|
variant?: 'contained' | 'light' | 'text' | 'link';
|
|
19
20
|
color?: 'primary' | 'success' | 'warning' | 'error';
|
|
20
21
|
component?: ElementType;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BaseButtonProps } from './types';
|
|
3
|
-
export declare const ButtonBase: import("react").ForwardRefExoticComponent<Pick<BaseButtonProps, "color" | "translate" | keyof import("@mui/base").ButtonUnstyledOwnProps | "form" | "slot" | "style" | "title" | "key" | "
|
|
3
|
+
export declare const ButtonBase: import("react").ForwardRefExoticComponent<Pick<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" | "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"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -24,7 +24,7 @@ export declare const getButtonPadding: ({ size, theme, }: ButtonBaseWrapperTheme
|
|
|
24
24
|
export declare const getDisabledBgColor: ({ theme, customVariant, }: ButtonBaseWrapperThemeProps) => string;
|
|
25
25
|
export declare const getButtonPaddingMobile: ({ size, theme, variant, }: ButtonBaseWrapperThemeProps) => string;
|
|
26
26
|
export declare const getButtonHeightMobile: ({ size, }: ButtonBaseWrapperThemeProps) => string;
|
|
27
|
-
export declare const ButtonBaseWrapper: import("@emotion/styled").StyledComponent<import("@mui/base/ButtonUnstyled").ButtonUnstyledOwnProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "
|
|
27
|
+
export declare const ButtonBaseWrapper: import("@emotion/styled").StyledComponent<import("@mui/base/ButtonUnstyled").ButtonUnstyledOwnProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "css" | "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
28
28
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
29
29
|
}, keyof import("@mui/base/ButtonUnstyled").ButtonUnstyledOwnProps> & {
|
|
30
30
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ButtonUnstyledProps } from '@mui/base/ButtonUnstyled';
|
|
2
|
+
import { WithoutEmotionSpecific } from '../types';
|
|
2
3
|
import { ButtonColors, ButtonSizes, ButtonStates, ButtonVariants } from './enums';
|
|
3
4
|
export declare type ButtonColor = `${ButtonColors}`;
|
|
4
5
|
export declare type ButtonVariant = `${ButtonVariants}`;
|
|
5
6
|
export declare type ButtonSize = `${ButtonSizes}`;
|
|
6
7
|
export declare type ButtonState = `${ButtonStates}`;
|
|
7
|
-
export declare type BaseButtonProps = Omit<ButtonUnstyledProps
|
|
8
|
+
export declare type BaseButtonProps = Omit<WithoutEmotionSpecific<ButtonUnstyledProps>, 'color' | 'variant' | 'size'> & {
|
|
8
9
|
color?: ButtonColor;
|
|
9
10
|
variant?: ButtonVariant;
|
|
10
11
|
size?: ButtonSize;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CheckboxProps } from './types';
|
|
3
|
-
export declare const Checkbox: import("react").ForwardRefExoticComponent<Pick<CheckboxProps, "disabled" | "icon" | "action" | "translate" | "onFocusVisible" | "tabIndex" | "className" | "form" | "slot" | "style" | "title" | "key" | "
|
|
3
|
+
export declare const Checkbox: import("react").ForwardRefExoticComponent<Pick<CheckboxProps, "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" | "indeterminate" | "checkedIcon" | "checked" | "edge" | "indeterminateIcon"> & import("react").RefAttributes<HTMLButtonElement>>;
|
package/esm/Checkbox/types.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { CheckboxProps as MuiCheckboxProps } from '@mui/material';
|
|
2
|
-
|
|
2
|
+
import { WithoutEmotionSpecific } from '../types';
|
|
3
|
+
export declare type CheckboxProps = Omit<WithoutEmotionSpecific<MuiCheckboxProps>, 'size' | 'color'>;
|
package/esm/Chevron/Chevron.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SvgIconProps } from '@mui/material';
|
|
3
|
+
import { WithoutEmotionSpecific } from '../types';
|
|
3
4
|
export declare const Chevron: (props: ChevronProps) => JSX.Element;
|
|
4
5
|
export declare type ChevronProps = {
|
|
5
6
|
isActive?: boolean;
|
|
6
7
|
className?: string;
|
|
7
|
-
} & Omit<SvgIconProps
|
|
8
|
+
} & Omit<WithoutEmotionSpecific<SvgIconProps>, 'children' | 'classes' | 'ref'>;
|
package/esm/Chevron/styles.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ export declare const ChevronWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
11
11
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
12
12
|
titleAccess?: string | undefined;
|
|
13
13
|
viewBox?: string | undefined;
|
|
14
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "clipPath" | "color" | "cursor" | "direction" | "display" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "mask" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "elevation" | "spacing" | "mode" | "href" | "tabIndex" | "to" | "type" | "children" | "className" | "style" | "path" | "key" | "
|
|
14
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "clipPath" | "color" | "cursor" | "direction" | "display" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "mask" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "elevation" | "spacing" | "mode" | "css" | "href" | "tabIndex" | "to" | "type" | "children" | "className" | "style" | "path" | "key" | "name" | "id" | "lang" | "role" | "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" | "values" | "local" | "in" | "end" | "max" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
15
15
|
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
16
|
-
}, "fontSize" | "color" | "shapeRendering" | "children" | keyof import("@mui/material/OverridableComponent").CommonProps | "
|
|
16
|
+
}, "fontSize" | "color" | "shapeRendering" | "sx" | "children" | keyof import("@mui/material/OverridableComponent").CommonProps | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
|
|
17
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
18
18
|
} & Pick<ChevronProps, "isActive">, {}, {}>;
|
|
@@ -7,7 +7,7 @@ declare module '@mui/material/CircularProgress' {
|
|
|
7
7
|
inverted: true;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
export declare type CircularProgressProps = WithoutEmotionSpecific<Omit<MuiCircularProgressProps
|
|
10
|
+
export declare type CircularProgressProps = WithoutEmotionSpecific<Omit<WithoutEmotionSpecific<MuiCircularProgressProps>, 'color' | 'size'>> & {
|
|
11
11
|
/**
|
|
12
12
|
* Цвет лоадера
|
|
13
13
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { CircularProgressProps } from '../CircularProgress';
|
|
3
3
|
export declare type CircularProgressStoryProps = CircularProgressProps;
|
|
4
|
-
export declare const CircularProgressStory:
|
|
4
|
+
export declare const CircularProgressStory: (props: CircularProgressStoryProps) => JSX.Element;
|
|
5
5
|
export default CircularProgressStory;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CollapseProps as MuiCollapseProps } from '@mui/material';
|
|
3
|
+
import { WithoutEmotionSpecific } from '../types';
|
|
4
|
+
export declare type CollapseProps = WithoutEmotionSpecific<MuiCollapseProps>;
|
|
5
|
+
export declare const Collapse: (props: CollapseProps) => JSX.Element;
|
package/esm/Collapse/Collapse.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Collapse as MuiCollapse, } from '@mui/material';
|
|
3
|
+
export const Collapse = (props) => _jsx(MuiCollapse, Object.assign({}, props));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { HeaderProps } from './Header';
|
|
3
3
|
import { SidebarProps } from './Sidebar';
|
|
4
4
|
export declare type DashboardLayoutStoryProps = {
|
|
5
5
|
header: HeaderProps;
|
|
6
6
|
sidebar: SidebarProps;
|
|
7
7
|
};
|
|
8
|
-
export declare const DashboardLayoutStory:
|
|
8
|
+
export declare const DashboardLayoutStory: (props: DashboardLayoutStoryProps) => JSX.Element;
|
|
9
9
|
export default DashboardLayoutStory;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { ProductProps } from '../../Product';
|
|
3
3
|
import { ProfileProps } from '../../Profile';
|
|
4
4
|
export declare type HeaderProps = {
|
|
5
5
|
product: ProductProps;
|
|
6
|
-
productSwitcher?:
|
|
6
|
+
productSwitcher?: (props: PropsWithChildren<{}>) => JSX.Element;
|
|
7
7
|
profile?: ProfileProps;
|
|
8
8
|
};
|
|
9
9
|
export declare const Header: import("react").ForwardRefExoticComponent<HeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from 'react';
|
|
3
|
-
// import { MenuListProps } from '../../MenuList';
|
|
4
3
|
import { Product } from '../../Product';
|
|
5
4
|
import { Profile } from '../../Profile';
|
|
6
5
|
import { HeaderNav, HeaderRoot } from './styles';
|
|
7
6
|
export const Header = forwardRef((props, ref) => {
|
|
8
|
-
const { productSwitcher: ProductSwitcher, product,
|
|
9
|
-
// menu: Menu,
|
|
10
|
-
profile, } = props;
|
|
7
|
+
const { productSwitcher: ProductSwitcher, product, profile } = props;
|
|
11
8
|
return (_jsxs(HeaderRoot, Object.assign({ ref: ref }, { children: [_jsxs(HeaderNav, { children: [ProductSwitcher && _jsx(ProductSwitcher, {}), _jsx(Product, Object.assign({}, product))] }), profile && _jsx(Profile, Object.assign({}, profile))] })));
|
|
12
9
|
});
|
|
13
10
|
export default Header;
|
package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ import { ButtonProps } from '../../../../Button';
|
|
|
3
3
|
export declare type SidebarTogglerButtonProps = ButtonProps & {
|
|
4
4
|
collapsedIn: boolean;
|
|
5
5
|
};
|
|
6
|
-
export declare const SidebarTogglerButton: import("react").ForwardRefExoticComponent<Pick<SidebarTogglerButtonProps, "disabled" | "action" | "color" | "translate" | "href" | "onFocusVisible" | "tabIndex" | "type" | "children" | "form" | "slot" | "title" | "key" | "
|
|
6
|
+
export declare const SidebarTogglerButton: import("react").ForwardRefExoticComponent<Pick<SidebarTogglerButtonProps, "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" | "collapsedIn"> & import("react").RefAttributes<HTMLButtonElement>>;
|