@astral/ui 4.68.1 → 4.70.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/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +3 -2
- package/components/ActionGroup/MainActions/styles.d.ts +2 -1
- package/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +2 -1
- package/components/Alert/styles.d.ts +2 -1
- package/components/AutoSaveIndicator/ErrorState/styles.d.ts +2 -1
- package/components/AutoSaveIndicator/styles.d.ts +2 -1
- package/components/Button/Button.d.ts +2 -1
- package/components/Button/types.d.ts +4 -3
- package/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +2 -1
- package/components/CheckableTag/CheckableTag.d.ts +0 -1
- package/components/CheckableTag/CheckableTag.js +0 -1
- package/components/CollapsibleTypography/styles.d.ts +2 -1
- package/components/ConfirmDialog/styles.d.ts +2 -1
- package/components/DashboardAlert/styles.d.ts +2 -1
- package/components/DashboardLayout/Container/styles.js +1 -1
- package/components/DashboardLayout/DashboardLayout.d.ts +1 -1
- package/components/DashboardLayout/DashboardLayout.js +1 -1
- package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/DashboardSidebar.js +5 -5
- package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/constants.js +1 -1
- package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/constants.js +1 -1
- package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/styles.d.ts +6 -6
- package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/styles.js +8 -8
- package/{node/components → components/DashboardLayout}/DashboardSidebar/types.d.ts +1 -1
- package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/useCloseSidebarOnMobile.js +3 -3
- package/{node/components → components/DashboardLayout}/DashboardSidebar/useLogic/useLogic.d.ts +2 -2
- package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/useLogic.js +7 -7
- package/components/DashboardLayout/Header/styles.d.ts +2 -1
- package/components/DashboardLayout/Header/styles.js +1 -1
- package/components/DashboardLayout/index.d.ts +1 -0
- package/components/DashboardLayout/public.d.ts +1 -1
- package/components/DashboardSidebarButton/styles.d.ts +2 -1
- package/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +1 -1
- package/components/DataGrid/DataGrid.js +1 -2
- package/components/DataGrid/Row/NestedChildren/styles.d.ts +2 -1
- package/components/DataGrid/Row/Row.js +5 -2
- package/components/DataGrid/Row/constants.d.ts +1 -0
- package/components/DataGrid/Row/constants.js +1 -0
- package/components/DataGrid/Row/styles.d.ts +2 -1
- package/components/DataGrid/Row/styles.js +23 -11
- package/components/DataGrid/Row/useLogic/useLogic.d.ts +2 -1
- package/components/DataGrid/Row/useLogic/useLogic.js +3 -1
- package/components/DataGrid/types.d.ts +0 -3
- package/components/DataGridActionCell/DataGridMainActions/Action/MainIconButton/styles.d.ts +2 -1
- package/components/DataGridActionCell/DataGridMainActions/Action/MobileMainButton/styles.d.ts +2 -1
- package/components/DataGridActionCell/SecondaryActionsButton/styles.d.ts +2 -1
- package/components/DataGridInfinite/DataGridInfinite.js +2 -2
- package/components/DatePicker/styles.d.ts +2 -1
- package/components/FlowButton/styles.d.ts +2 -1
- package/components/IconButton/IconButton.d.ts +2 -1
- package/components/IconButton/styles.d.ts +2 -1
- package/components/LegacyNotification/NotificationTemplate/styles.d.ts +2 -1
- package/components/MenuOrganization/OrganizationButton/styles.d.ts +2 -1
- package/components/MenuOrganization/OrganizationItem/styles.d.ts +2 -1
- package/components/NewStepper/Step/styles.d.ts +2 -1
- package/components/Notification/NotificationStackContainer/NotificationStackContainer.js +1 -1
- package/components/Notification/NotificationStackContainer/styles.d.ts +2 -1
- package/components/Notification/NotificationTemplate/styles.d.ts +2 -1
- package/components/NotificationList/ListItem/ListItem.js +1 -1
- package/components/PageHeader/MobilePageActions/styles.d.ts +1 -1
- package/components/PageHeader/PageActions/PageActions.d.ts +1 -1
- package/components/PageHeader/PageActions/SecondaryActions/styles.d.ts +2 -1
- package/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +2 -1
- package/components/PageHeader/PageActions/styles.d.ts +2 -1
- package/components/PageHeader/Title/styles.d.ts +2 -1
- package/components/Pagination/PaginationItem/PaginationItem.js +1 -1
- package/components/Pagination/PaginationItem/styles.d.ts +2 -1
- package/components/PinButton/styles.d.ts +2 -1
- package/components/Product/styles.d.ts +2 -1
- package/components/Profile/styles.d.ts +2 -1
- package/components/SearchField/styles.d.ts +2 -1
- package/components/StaticCalendar/StaticCalendarButton/styles.d.ts +2 -1
- package/components/Tag/styles.d.ts +2 -1
- package/components/Tree/TreeItem/styles.d.ts +2 -1
- package/components/index.d.ts +1 -1
- package/hook-form/EditableText/EditingForm/styles.d.ts +2 -1
- package/hook-form/FormFilters/FormFiltersDialog/ResetButton/styles.d.ts +2 -1
- package/hook-form/FormPageLayout/FormPageFooter/SecondaryActions/styles.d.ts +4 -2
- package/hook-form/FormPageLayout/FormPageFooter/styles.d.ts +2 -1
- package/hook-form/FormPageLayoutBase/FormMobileActions/styles.d.ts +2 -1
- package/hook-form/FormWizard/Footer/styles.d.ts +2 -1
- package/hook-form/FormWizardPageLayout/FormWizardFooter/styles.d.ts +2 -1
- package/node/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +3 -2
- package/node/components/ActionGroup/MainActions/styles.d.ts +2 -1
- package/node/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +2 -1
- package/node/components/Alert/styles.d.ts +2 -1
- package/node/components/AutoSaveIndicator/ErrorState/styles.d.ts +2 -1
- package/node/components/AutoSaveIndicator/styles.d.ts +2 -1
- package/node/components/Button/Button.d.ts +2 -1
- package/node/components/Button/types.d.ts +4 -3
- package/node/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +2 -1
- package/node/components/CheckableTag/CheckableTag.d.ts +0 -1
- package/node/components/CheckableTag/CheckableTag.js +0 -1
- package/node/components/CollapsibleTypography/styles.d.ts +2 -1
- package/node/components/ConfirmDialog/styles.d.ts +2 -1
- package/node/components/DashboardAlert/styles.d.ts +2 -1
- package/node/components/DashboardLayout/Container/styles.js +6 -6
- package/node/components/DashboardLayout/DashboardLayout.d.ts +1 -1
- package/node/components/DashboardLayout/DashboardLayout.js +1 -1
- package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/DashboardSidebar.js +5 -5
- package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/constants.js +1 -1
- package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/constants.js +1 -1
- package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/styles.d.ts +1 -1
- package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/styles.js +12 -12
- package/{components → node/components/DashboardLayout}/DashboardSidebar/types.d.ts +1 -1
- package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/useCloseSidebarOnMobile.js +3 -3
- package/{components → node/components/DashboardLayout}/DashboardSidebar/useLogic/useLogic.d.ts +2 -2
- package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/useLogic.js +7 -7
- package/node/components/DashboardLayout/Header/styles.d.ts +2 -1
- package/node/components/DashboardLayout/Header/styles.js +20 -20
- package/node/components/DashboardLayout/index.d.ts +1 -0
- package/node/components/DashboardLayout/public.d.ts +1 -1
- package/node/components/DashboardSidebarButton/styles.d.ts +2 -1
- package/node/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +1 -1
- package/node/components/DataGrid/DataGrid.js +1 -2
- package/node/components/DataGrid/Row/NestedChildren/styles.d.ts +2 -1
- package/node/components/DataGrid/Row/Row.js +5 -2
- package/node/components/DataGrid/Row/constants.d.ts +1 -0
- package/node/components/DataGrid/Row/constants.js +1 -0
- package/node/components/DataGrid/Row/styles.d.ts +2 -1
- package/node/components/DataGrid/Row/styles.js +23 -11
- package/node/components/DataGrid/Row/useLogic/useLogic.d.ts +2 -1
- package/node/components/DataGrid/Row/useLogic/useLogic.js +3 -1
- package/node/components/DataGrid/types.d.ts +0 -3
- package/node/components/DataGridActionCell/DataGridMainActions/Action/MainIconButton/styles.d.ts +2 -1
- package/node/components/DataGridActionCell/DataGridMainActions/Action/MobileMainButton/styles.d.ts +2 -1
- package/node/components/DataGridActionCell/SecondaryActionsButton/styles.d.ts +2 -1
- package/node/components/DataGridInfinite/DataGridInfinite.js +2 -2
- package/node/components/DatePicker/styles.d.ts +2 -1
- package/node/components/FlowButton/styles.d.ts +2 -1
- package/node/components/IconButton/IconButton.d.ts +2 -1
- package/node/components/IconButton/styles.d.ts +2 -1
- package/node/components/LegacyNotification/NotificationTemplate/styles.d.ts +2 -1
- package/node/components/MenuOrganization/OrganizationButton/styles.d.ts +2 -1
- package/node/components/MenuOrganization/OrganizationItem/styles.d.ts +2 -1
- package/node/components/NewStepper/Step/styles.d.ts +2 -1
- package/node/components/Notification/NotificationStackContainer/NotificationStackContainer.js +1 -1
- package/node/components/Notification/NotificationStackContainer/styles.d.ts +2 -1
- package/node/components/Notification/NotificationTemplate/styles.d.ts +2 -1
- package/node/components/NotificationList/ListItem/ListItem.js +1 -1
- package/node/components/PageHeader/MobilePageActions/styles.d.ts +1 -1
- package/node/components/PageHeader/PageActions/PageActions.d.ts +1 -1
- package/node/components/PageHeader/PageActions/SecondaryActions/styles.d.ts +2 -1
- package/node/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +2 -1
- package/node/components/PageHeader/PageActions/styles.d.ts +2 -1
- package/node/components/PageHeader/Title/styles.d.ts +2 -1
- package/node/components/Pagination/PaginationItem/PaginationItem.js +1 -1
- package/node/components/Pagination/PaginationItem/styles.d.ts +2 -1
- package/node/components/PinButton/styles.d.ts +2 -1
- package/node/components/Product/styles.d.ts +2 -1
- package/node/components/Profile/styles.d.ts +2 -1
- package/node/components/SearchField/styles.d.ts +2 -1
- package/node/components/StaticCalendar/StaticCalendarButton/styles.d.ts +2 -1
- package/node/components/Tag/styles.d.ts +2 -1
- package/node/components/Tree/TreeItem/styles.d.ts +2 -1
- package/node/components/index.d.ts +1 -1
- package/node/hook-form/EditableText/EditingForm/styles.d.ts +2 -1
- package/node/hook-form/FormFilters/FormFiltersDialog/ResetButton/styles.d.ts +2 -1
- package/node/hook-form/FormPageLayout/FormPageFooter/SecondaryActions/styles.d.ts +4 -2
- package/node/hook-form/FormPageLayout/FormPageFooter/styles.d.ts +2 -1
- package/node/hook-form/FormPageLayoutBase/FormMobileActions/styles.d.ts +2 -1
- package/node/hook-form/FormWizard/Footer/styles.d.ts +2 -1
- package/node/hook-form/FormWizardPageLayout/FormWizardFooter/styles.d.ts +2 -1
- package/package.json +1 -1
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/DashboardSidebar.d.ts +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/SidebarNav.d.ts +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/SidebarNav.js +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/constants.d.ts +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/index.d.ts +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/index.js +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/constants.d.ts +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/index.d.ts +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/index.js +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/types.js +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/index.d.ts +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/index.js +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/index.d.ts +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/index.js +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/useCloseSidebarOnMobile.d.ts +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/index.d.ts +0 -0
- /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/index.js +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/DashboardSidebar.d.ts +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/SidebarNav.d.ts +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/SidebarNav.js +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/constants.d.ts +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/index.d.ts +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/index.js +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/constants.d.ts +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/index.d.ts +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/index.js +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/types.js +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/index.d.ts +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/index.js +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/index.d.ts +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/index.js +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/useCloseSidebarOnMobile.d.ts +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/index.d.ts +0 -0
- /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/index.js +0 -0
|
@@ -74,35 +74,47 @@ export const ContentWrapper = styled.div `
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
&.${dataGridRowContentClassnames.active} {
|
|
78
|
+
background-color: ${({ theme }) => theme.palette.primary[100]};
|
|
79
|
+
}
|
|
80
|
+
|
|
77
81
|
&:hover {
|
|
78
82
|
background-color: ${({ theme }) => theme.palette.background.elementHover};
|
|
79
|
-
&.${dataGridRowContentClassnames.hovered} {
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
}
|
|
82
83
|
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
&.${dataGridRowContentClassnames.active} {
|
|
85
|
+
background-color: ${({ theme }) => theme.palette.primary[100]};
|
|
86
|
+
}
|
|
85
87
|
|
|
86
|
-
|
|
88
|
+
&.${dataGridRowContentClassnames.hovered} {
|
|
89
|
+
cursor: pointer;
|
|
87
90
|
}
|
|
88
91
|
}
|
|
89
92
|
|
|
90
93
|
|
|
91
94
|
&.${dataGridRowClassnames.hover} {
|
|
92
95
|
background-color: ${({ theme }) => theme.palette.background.elementHover};
|
|
96
|
+
|
|
93
97
|
&.${dataGridRowContentClassnames.hovered} {
|
|
94
98
|
cursor: pointer;
|
|
95
99
|
}
|
|
100
|
+
}
|
|
96
101
|
|
|
97
|
-
|
|
98
|
-
|
|
102
|
+
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
103
|
+
grid-template-columns: 1fr;
|
|
99
104
|
|
|
105
|
+
&.${dataGridRowContentClassnames.active} {
|
|
100
106
|
background-color: transparent;
|
|
101
107
|
}
|
|
102
|
-
}
|
|
103
108
|
|
|
104
|
-
|
|
105
|
-
|
|
109
|
+
&:hover, &.${dataGridRowClassnames.hover} {
|
|
110
|
+
cursor: initial;
|
|
111
|
+
|
|
112
|
+
background-color: transparent;
|
|
113
|
+
|
|
114
|
+
&.${dataGridRowContentClassnames.active} {
|
|
115
|
+
background-color: transparent;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
106
118
|
}
|
|
107
119
|
`;
|
|
108
120
|
export const CellStyled = styled(Cell) `
|
|
@@ -2,7 +2,7 @@ import { type MouseEvent, type SyntheticEvent } from 'react';
|
|
|
2
2
|
import type { CellValue } from '../../types';
|
|
3
3
|
import type { RowProps } from '../types';
|
|
4
4
|
type UseLogicParams<TData extends Record<string, CellValue>> = RowProps<TData>;
|
|
5
|
-
export declare const useLogic: <TData extends Record<string, unknown>>({ keyId, columns, row, nestedChildren, level, variant, options, isInitialExpanded, expandedLevel, isSelectable, selectedRows, onSelectRow, onRowClick, isVisibleCollapseButton, registerRowElement, unregisterRowElement, style, }: UseLogicParams<TData>) => {
|
|
5
|
+
export declare const useLogic: <TData extends Record<string, unknown>>({ keyId, columns, row, nestedChildren, level, variant, options, isInitialExpanded, expandedLevel, isSelectable, selectedRows, onSelectRow, onRowClick, isVisibleCollapseButton, registerRowElement, unregisterRowElement, style, activeRowId, }: UseLogicParams<TData>) => {
|
|
6
6
|
disabledReasonText: string | undefined;
|
|
7
7
|
rowStyles: {
|
|
8
8
|
accentColor?: import("csstype").Property.AccentColor | undefined;
|
|
@@ -873,6 +873,7 @@ export declare const useLogic: <TData extends Record<string, unknown>>({ keyId,
|
|
|
873
873
|
isRenderCollapseButton: boolean;
|
|
874
874
|
handleToggle: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
875
875
|
isHovered: boolean;
|
|
876
|
+
isActive: boolean;
|
|
876
877
|
rowProps: {
|
|
877
878
|
onClick: () => void;
|
|
878
879
|
onMouseMove: (event: MouseEvent<HTMLElement>) => void;
|
|
@@ -6,7 +6,7 @@ import { DISABLE_ROW_ATTR } from '../constants';
|
|
|
6
6
|
import { RowContext } from '../RowContext';
|
|
7
7
|
import { useMobileLogic } from './hooks';
|
|
8
8
|
import { mergeColumnsOptions } from './utils';
|
|
9
|
-
export const useLogic = ({ keyId, columns, row, nestedChildren, level, variant, options, isInitialExpanded = false, expandedLevel, isSelectable, selectedRows, onSelectRow, onRowClick, isVisibleCollapseButton, registerRowElement, unregisterRowElement, style, }) => {
|
|
9
|
+
export const useLogic = ({ keyId, columns, row, nestedChildren, level, variant, options, isInitialExpanded = false, expandedLevel, isSelectable, selectedRows, onSelectRow, onRowClick, isVisibleCollapseButton, registerRowElement, unregisterRowElement, style, activeRowId, }) => {
|
|
10
10
|
const { isDrawerOpen, handleOpenDrawer, handleCloseDrawer } = useMobileLogic();
|
|
11
11
|
const isDefaultExpanded = isInitialExpanded && level <= expandedLevel - 1 && nestedChildren?.length;
|
|
12
12
|
const { checkIsOpened, toggleOpenItems } = useContext(DataGridContext);
|
|
@@ -75,6 +75,7 @@ export const useLogic = ({ keyId, columns, row, nestedChildren, level, variant,
|
|
|
75
75
|
...style,
|
|
76
76
|
}), [level, style]);
|
|
77
77
|
const isHovered = Boolean(!disabled && (onRowClick || href));
|
|
78
|
+
const isActive = activeRowId === rowId;
|
|
78
79
|
const disabledReasonText = externalDisabledReason || disabledReason;
|
|
79
80
|
return {
|
|
80
81
|
disabledReasonText,
|
|
@@ -88,6 +89,7 @@ export const useLogic = ({ keyId, columns, row, nestedChildren, level, variant,
|
|
|
88
89
|
isRenderCollapseButton,
|
|
89
90
|
handleToggle,
|
|
90
91
|
isHovered,
|
|
92
|
+
isActive,
|
|
91
93
|
rowProps: {
|
|
92
94
|
onClick: handleRowClick,
|
|
93
95
|
onMouseMove: handleMouseMove,
|
|
@@ -27,9 +27,6 @@ export type DataGridProps<TData extends Record<string, CellValue> = DataGridRow,
|
|
|
27
27
|
columns: DataGridColumns<TData>[];
|
|
28
28
|
/**
|
|
29
29
|
* Идентификатор активного элемента массива rows. Выделяет активную строку в таблице
|
|
30
|
-
*
|
|
31
|
-
* @deprecated Не поддерживается, параметр будет удален в следующей major версии пакета.
|
|
32
|
-
* Мотивация: Использование активного элемента не является типичным сценарием использования таблицы.
|
|
33
30
|
*/
|
|
34
31
|
activeRowId?: string;
|
|
35
32
|
/**
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledIconButton: import("../../../../styled").StyledComponent<Omit<import("../../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
2
|
+
export declare const StyledIconButton: import("../../../../styled").StyledComponent<Omit<import("../../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
3
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
6
6
|
component?: import("react").ElementType | undefined;
|
|
7
7
|
selected?: boolean | undefined;
|
|
8
|
+
size?: "large" | "medium" | undefined;
|
|
8
9
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
9
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
11
|
}, {}, {}>;
|
package/components/DataGridActionCell/DataGridMainActions/Action/MobileMainButton/styles.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledButton: import("../../../../styled").StyledComponent<Omit<import("../../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
2
|
+
export declare const StyledButton: import("../../../../styled").StyledComponent<Omit<import("../../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
3
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
6
6
|
component?: import("react").ElementType | undefined;
|
|
7
7
|
selected?: boolean | undefined;
|
|
8
|
+
size?: "large" | "medium" | undefined;
|
|
8
9
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
9
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
11
|
}, {}, {}>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledIconButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
2
|
+
export declare const StyledIconButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
3
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
6
6
|
component?: import("react").ElementType | undefined;
|
|
7
7
|
selected?: boolean | undefined;
|
|
8
|
+
size?: "large" | "medium" | undefined;
|
|
8
9
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
9
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
11
|
}, {}, {}>;
|
|
@@ -36,7 +36,7 @@ const dataGridInfiniteCva = cva(dataGridClassnames.root, {
|
|
|
36
36
|
export const DataGridInfinite = (props) => {
|
|
37
37
|
const { imagesMap, emptySymbol } = useContext(ConfigContext);
|
|
38
38
|
const { isNoData, isDataGridDisabled, treeRenderConfig, virtuosoProps, headProps, rowProps, scrollToTopButtonProps, isEndReached, isHideHead, containerCssVars, isMobile, mobileSkeletonProps, flattenColumns, hasGroupedColumns, gridViewMode, } = useLogic(props);
|
|
39
|
-
const { columns, rows = [], selectedRows = [], sorting, isLoading, isDisabled, keyId, emptyCellValue = emptySymbol, variant = Variant.Tree, subrows, className, isError, endOfScrollMsg, errorMsg, noDataPlaceholder, onRowClick, onSort, onRetry, headPreAddon, } = props;
|
|
39
|
+
const { columns, rows = [], selectedRows = [], sorting, isLoading, isDisabled, keyId, emptyCellValue = emptySymbol, variant = Variant.Tree, subrows, className, isError, endOfScrollMsg, errorMsg, noDataPlaceholder, onRowClick, onSort, onRetry, headPreAddon, activeRowId, } = props;
|
|
40
40
|
const { moreButtonColumnPosition = 1, isVisibleCollapseButton = true } = subrows || {};
|
|
41
41
|
const { isInitialExpanded = false, expandedLevel = EXPANDED_LEVEL_BY_DEFAULT, initialVisibleChildrenCount = INITIAL_OPENED_NESTED_CHILDREN_COUNT_BY_DEFAULT, } = treeRenderConfig || {};
|
|
42
42
|
const TableContainer = isDisabled ? DisabledDataGridWrapper : DataGridWrapper;
|
|
@@ -51,7 +51,7 @@ export const DataGridInfinite = (props) => {
|
|
|
51
51
|
List,
|
|
52
52
|
Item: ({ children, item, ...itemProps }) => {
|
|
53
53
|
const { children: nestedChildren, options, ...row } = item;
|
|
54
|
-
return (_jsx(RowContextProvider, { children: _jsx(Row, { ...rowProps, ...itemProps, row: row, columns: flattenColumns, selectedRows: selectedRows, options: options, keyId: keyId, variant: variant, level: INITIAL_LEVEL, nestedChildren: nestedChildren, isInitialExpanded: isInitialExpanded, expandedLevel: expandedLevel, initialVisibleChildrenCount: initialVisibleChildrenCount, moreButtonColumnPosition: moreButtonColumnPosition, isVisibleCollapseButton: isVisibleCollapseButton, emptyCellValue: emptyCellValue, onRowClick: onRowClick }) }));
|
|
54
|
+
return (_jsx(RowContextProvider, { children: _jsx(Row, { ...rowProps, ...itemProps, row: row, columns: flattenColumns, selectedRows: selectedRows, options: options, keyId: keyId, variant: variant, level: INITIAL_LEVEL, nestedChildren: nestedChildren, isInitialExpanded: isInitialExpanded, expandedLevel: expandedLevel, initialVisibleChildrenCount: initialVisibleChildrenCount, activeRowId: activeRowId, moreButtonColumnPosition: moreButtonColumnPosition, isVisibleCollapseButton: isVisibleCollapseButton, emptyCellValue: emptyCellValue, onRowClick: onRowClick }) }));
|
|
55
55
|
},
|
|
56
56
|
EmptyPlaceholder: () => _jsx(_Fragment, { children: noDataPlaceholder || _jsx(NoData, {}) }),
|
|
57
57
|
Footer: () => {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ConfirmButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
2
|
+
export declare const ConfirmButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
3
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
6
6
|
component?: import("react").ElementType | undefined;
|
|
7
7
|
selected?: boolean | undefined;
|
|
8
|
+
size?: "large" | "medium" | undefined;
|
|
8
9
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
9
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
11
|
}, {}, {}>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
2
|
+
export declare const StyledButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
3
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
6
6
|
component?: import("react").ElementType | undefined;
|
|
7
7
|
selected?: boolean | undefined;
|
|
8
|
+
size?: "large" | "medium" | undefined;
|
|
8
9
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
9
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
11
|
}, {}, {}>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { type ElementType } from 'react';
|
|
2
2
|
import { type ButtonProps } from '../Button';
|
|
3
3
|
export type IconButtonProps<TComponent extends ElementType = ElementType> = ButtonProps<TComponent>;
|
|
4
|
-
export declare const IconButton: <TComponent extends ElementType>(props: Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
4
|
+
export declare const IconButton: <TComponent extends ElementType>(props: Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
5
5
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
6
6
|
loading?: boolean | undefined;
|
|
7
7
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
8
8
|
component?: TComponent | undefined;
|
|
9
9
|
selected?: boolean | undefined;
|
|
10
|
+
size?: "large" | "medium" | undefined;
|
|
10
11
|
} & Omit<import("react").ComponentPropsWithRef<ElementType extends TComponent ? "button" : TComponent>, ""> & import("react").RefAttributes<HTMLButtonElement>) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
2
|
+
export declare const StyledButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
3
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
6
6
|
component?: import("react").ElementType | undefined;
|
|
7
7
|
selected?: boolean | undefined;
|
|
8
|
+
size?: "large" | "medium" | undefined;
|
|
8
9
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
9
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
11
|
}, {}, {}>;
|
|
@@ -36,12 +36,13 @@ export declare const Header: import("../../styled").StyledComponent<{
|
|
|
36
36
|
theme?: import("@emotion/react").Theme | undefined;
|
|
37
37
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
38
38
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
39
|
-
export declare const CloseButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
39
|
+
export declare const CloseButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
40
40
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
41
41
|
loading?: boolean | undefined;
|
|
42
42
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
43
43
|
component?: import("react").ElementType | undefined;
|
|
44
44
|
selected?: boolean | undefined;
|
|
45
|
+
size?: "large" | "medium" | undefined;
|
|
45
46
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
46
47
|
theme?: import("@emotion/react").Theme | undefined;
|
|
47
48
|
}, {}, {}>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledButton: import("../../styled/styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
2
|
+
export declare const StyledButton: import("../../styled/styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
3
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
6
6
|
component?: import("react").ElementType | undefined;
|
|
7
7
|
selected?: boolean | undefined;
|
|
8
|
+
size?: "large" | "medium" | undefined;
|
|
8
9
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
9
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
11
|
}, {}, {}>;
|
|
@@ -8,12 +8,13 @@ export declare const StyledMenuItem: import("../../styled").StyledComponent<impo
|
|
|
8
8
|
} & import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement> & import("react").RefAttributes<HTMLLIElement> & {
|
|
9
9
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
10
|
}, {}, {}>;
|
|
11
|
-
export declare const StyledButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
11
|
+
export declare const StyledButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
12
12
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
13
13
|
loading?: boolean | undefined;
|
|
14
14
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
15
15
|
component?: import("react").ElementType | undefined;
|
|
16
16
|
selected?: boolean | undefined;
|
|
17
|
+
size?: "large" | "medium" | undefined;
|
|
17
18
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
18
19
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
20
|
}, {}, {}>;
|
|
@@ -27,12 +27,13 @@ export declare const StepContentWrapper: import("../../styled").StyledComponent<
|
|
|
27
27
|
theme?: import("@emotion/react").Theme | undefined;
|
|
28
28
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
29
29
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
30
|
-
export declare const StyledButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
30
|
+
export declare const StyledButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
31
31
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
32
32
|
loading?: boolean | undefined;
|
|
33
33
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
34
34
|
component?: import("react").ElementType | undefined;
|
|
35
35
|
selected?: boolean | undefined;
|
|
36
|
+
size?: "large" | "medium" | undefined;
|
|
36
37
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
37
38
|
theme?: import("@emotion/react").Theme | undefined;
|
|
38
39
|
}, {}, {}>;
|
|
@@ -13,7 +13,7 @@ export const NotificationStackContainer = ({ containerId = NOTIFY_CONTAINER_ID,
|
|
|
13
13
|
});
|
|
14
14
|
return (_jsxs(Wrapper, { className: classNames({
|
|
15
15
|
[notifyClassnames.container]: isStackExpanded,
|
|
16
|
-
}), children: [_jsx("div", { className: notifyClassnames.stackHost, children: _jsx(Inner, { ...props, className: classNames(notifyClassnames.stack, props.className), ...{ stacked: true }, containerId: containerId, pauseOnFocusLoss: true, position: NOTIFY_POSITIONS.BOTTOM_RIGHT, newestOnTop: false, closeOnClick: false, draggable: false, rtl: false, closeButton: false, bodyClassName: `${notifyClassnames.body}`, toastClassName: notifyClassnames.root, progressClassName: `${notifyClassnames.progress}` }) }), isVisibleCloseButton && (_jsx(CloseButton, {
|
|
16
|
+
}), children: [_jsx("div", { className: notifyClassnames.stackHost, children: _jsx(Inner, { ...props, className: classNames(notifyClassnames.stack, props.className), ...{ stacked: true }, containerId: containerId, pauseOnFocusLoss: true, position: NOTIFY_POSITIONS.BOTTOM_RIGHT, newestOnTop: false, closeOnClick: false, draggable: false, rtl: false, closeButton: false, bodyClassName: `${notifyClassnames.body}`, toastClassName: notifyClassnames.root, progressClassName: `${notifyClassnames.progress}` }) }), isVisibleCloseButton && (_jsx(CloseButton, { variant: "light", color: "grey", className: classNames({
|
|
17
17
|
[notifyClassnames.closeButtonAnimationOut]: isStartedClosingNotify,
|
|
18
18
|
}), onClick: closeAll, children: "\u0421\u043A\u0440\u044B\u0442\u044C \u0432\u0441\u0435" })), _jsx(StaticInner, { containerId: staticContainerId, position: NOTIFY_POSITIONS.BOTTOM_RIGHT, newestOnTop: false, closeOnClick: false, draggable: false, rtl: false, closeButton: false, bodyClassName: `${notifyClassnames.body}`, toastClassName: notifyClassnames.root, progressClassName: `${notifyClassnames.progress}` }), bannerContainer] }));
|
|
19
19
|
};
|
|
@@ -9,12 +9,13 @@ export declare const Inner: import("../../styled").StyledComponent<import("react
|
|
|
9
9
|
export declare const StaticInner: import("../../styled").StyledComponent<import("react-toastify-next").ToastContainerProps & {
|
|
10
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
11
|
}, {}, {}>;
|
|
12
|
-
export declare const CloseButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
12
|
+
export declare const CloseButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
13
13
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
14
14
|
loading?: boolean | undefined;
|
|
15
15
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
16
16
|
component?: import("react").ElementType | undefined;
|
|
17
17
|
selected?: boolean | undefined;
|
|
18
|
+
size?: "large" | "medium" | undefined;
|
|
18
19
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
19
20
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
21
|
}, {}, {}>;
|
|
@@ -32,12 +32,13 @@ export declare const IconWrapper: import("../../styled").StyledComponent<{
|
|
|
32
32
|
theme?: import("@emotion/react").Theme | undefined;
|
|
33
33
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
34
34
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
35
|
-
export declare const CloseButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
35
|
+
export declare const CloseButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
36
36
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
37
37
|
loading?: boolean | undefined;
|
|
38
38
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
39
39
|
component?: import("react").ElementType | undefined;
|
|
40
40
|
selected?: boolean | undefined;
|
|
41
|
+
size?: "large" | "medium" | undefined;
|
|
41
42
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
42
43
|
theme?: import("@emotion/react").Theme | undefined;
|
|
43
44
|
}, {}, {}>;
|
|
@@ -21,5 +21,5 @@ export const ListItem = ({ id, title, date, text, priority = 'ordinary', actions
|
|
|
21
21
|
onViewNotification,
|
|
22
22
|
isUnread,
|
|
23
23
|
});
|
|
24
|
-
return (_jsxs(Wrapper, { ref: ref, className: rootCva({ hasCloseButton: isDeleteButtonVisible }), children: [_jsx(IconSlot, { children: _jsx(Priority, { priority: priority }) }), _jsxs(ListItemContent, { children: [_jsxs(TitleWrapper, { children: [_jsx(Title, { variant: isUnread ? 'h6' : 'body1', children: title }), _jsx(Typography, { colorIntensity: "600", color: "grey", children: getDateFormat(date) })] }), _jsx(Typography, { variant: "body1", color: "grey", colorIntensity: "800", children: text }), actions && _jsx(Actions, { children: actions })] }), isDeleteButtonVisible && (_jsx(IconButton, { onClick: handleDelete, variant: "text",
|
|
24
|
+
return (_jsxs(Wrapper, { ref: ref, className: rootCva({ hasCloseButton: isDeleteButtonVisible }), children: [_jsx(IconSlot, { children: _jsx(Priority, { priority: priority }) }), _jsxs(ListItemContent, { children: [_jsxs(TitleWrapper, { children: [_jsx(Title, { variant: isUnread ? 'h6' : 'body1', children: title }), _jsx(Typography, { colorIntensity: "600", color: "grey", children: getDateFormat(date) })] }), _jsx(Typography, { variant: "body1", color: "grey", colorIntensity: "800", children: text }), actions && _jsx(Actions, { children: actions })] }), isDeleteButtonVisible && (_jsx(IconButton, { onClick: handleDelete, variant: "text", color: "grey", children: _jsx(CrossOutlineMd, {}) }))] }));
|
|
25
25
|
};
|
|
@@ -20,7 +20,7 @@ export declare const SecondaryActionsWrapper: import("../../styled").StyledCompo
|
|
|
20
20
|
export declare const StyledMainActions: import("../../styled").StyledComponent<Omit<import("../../ActionGroup").MainActionsProps<import("react").ElementType>, "actions"> & {
|
|
21
21
|
actions?: import("../..").MainAction<import("react").ElementType>[] | undefined;
|
|
22
22
|
className?: string | undefined;
|
|
23
|
-
size: "
|
|
23
|
+
size: import("../..").ButtonSize;
|
|
24
24
|
spacing?: number | undefined;
|
|
25
25
|
} & {
|
|
26
26
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ElementType } from 'react';
|
|
2
2
|
export declare const PageActions: <TMainActionComponent extends ElementType = ElementType, TSecondaryActionComponent extends ElementType = ElementType>(props: import("../..").ActionGroupProps<TMainActionComponent, TSecondaryActionComponent> & {
|
|
3
3
|
isLoading?: boolean | undefined;
|
|
4
|
-
size?: "
|
|
4
|
+
size?: import("../..").ButtonSize | undefined;
|
|
5
5
|
spacing?: number | undefined;
|
|
6
6
|
withCollapseOnLaptop?: boolean | undefined;
|
|
7
7
|
} & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledMobileButton: import("../../../styled").StyledComponent<Omit<import("../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
2
|
+
export declare const StyledMobileButton: import("../../../styled").StyledComponent<Omit<import("../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
3
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
6
6
|
component?: import("react").ElementType | undefined;
|
|
7
7
|
selected?: boolean | undefined;
|
|
8
|
+
size?: "large" | "medium" | undefined;
|
|
8
9
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
9
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
11
|
}, {}, {}>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledMobileButton: import("../../../styled").StyledComponent<Omit<import("../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
2
|
+
export declare const StyledMobileButton: import("../../../styled").StyledComponent<Omit<import("../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
3
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
6
6
|
component?: import("react").ElementType | undefined;
|
|
7
7
|
selected?: boolean | undefined;
|
|
8
|
+
size?: "large" | "medium" | undefined;
|
|
8
9
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
9
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
11
|
}, {}, {}>;
|
|
@@ -25,12 +25,13 @@ export declare const ActionWrapper: import("../../styled").StyledComponent<{
|
|
|
25
25
|
} & {
|
|
26
26
|
$spacing: number;
|
|
27
27
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
28
|
-
export declare const FocusModeButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
28
|
+
export declare const FocusModeButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
29
29
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
30
30
|
loading?: boolean | undefined;
|
|
31
31
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
32
32
|
component?: import("react").ElementType | undefined;
|
|
33
33
|
selected?: boolean | undefined;
|
|
34
|
+
size?: "large" | "medium" | undefined;
|
|
34
35
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
35
36
|
theme?: import("@emotion/react").Theme | undefined;
|
|
36
37
|
}, {}, {}>;
|
|
@@ -12,12 +12,13 @@ export declare const TitleWrapper: import("../../styled").StyledComponent<import
|
|
|
12
12
|
$hasDescription?: boolean | undefined;
|
|
13
13
|
$hasBreadcrumbs?: boolean | undefined;
|
|
14
14
|
}, {}, {}>;
|
|
15
|
-
export declare const BackButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
15
|
+
export declare const BackButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
16
16
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
17
17
|
loading?: boolean | undefined;
|
|
18
18
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
19
19
|
component?: import("react").ElementType | undefined;
|
|
20
20
|
selected?: boolean | undefined;
|
|
21
|
+
size?: "large" | "medium" | undefined;
|
|
21
22
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
22
23
|
theme?: import("@emotion/react").Theme | undefined;
|
|
23
24
|
}, {}, {}>;
|
|
@@ -15,7 +15,7 @@ export const PaginationItem = ({ pageNumber, type, selected, disabled, onClick,
|
|
|
15
15
|
if (type === 'start-ellipsis' || type === 'end-ellipsis') {
|
|
16
16
|
return (_jsx(Ellipsis, { className: ellipsisCva({ disabled: restPropsDisabled }), children: "\u2026" }));
|
|
17
17
|
}
|
|
18
|
-
const PaginationButton = ({ children, ...rest }) => (_jsx(StyledButton, { variant: "text", color: "grey",
|
|
18
|
+
const PaginationButton = ({ children, ...rest }) => (_jsx(StyledButton, { variant: "text", color: "grey", selected: selected, disabled: disabled || restPropsDisabled, onClick: (e) => {
|
|
19
19
|
onItemClick(pageNumber, onClick, e);
|
|
20
20
|
}, ...rest, children: children }));
|
|
21
21
|
if (type === 'page') {
|
|
@@ -9,12 +9,13 @@ export declare const Ellipsis: import("../../styled").StyledComponent<import("..
|
|
|
9
9
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
|
|
10
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
11
|
}, {}, {}>;
|
|
12
|
-
export declare const StyledButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
12
|
+
export declare const StyledButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
13
13
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
14
14
|
loading?: boolean | undefined;
|
|
15
15
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
16
16
|
component?: import("react").ElementType | undefined;
|
|
17
17
|
selected?: boolean | undefined;
|
|
18
|
+
size?: "large" | "medium" | undefined;
|
|
18
19
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
19
20
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
21
|
}, {}, {}>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const TogglerButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
2
|
+
export declare const TogglerButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
3
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
6
6
|
component?: import("react").ElementType | undefined;
|
|
7
7
|
selected?: boolean | undefined;
|
|
8
|
+
size?: "large" | "medium" | undefined;
|
|
8
9
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
9
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
11
|
}, {}, {}>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
2
|
+
export declare const StyledButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
3
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
6
6
|
component?: import("react").ElementType | undefined;
|
|
7
7
|
selected?: boolean | undefined;
|
|
8
|
+
size?: "large" | "medium" | undefined;
|
|
8
9
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
9
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
11
|
}, {}, {}>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type AvatarProps } from '../Avatar';
|
|
3
|
-
export declare const ProfileRoot: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
|
+
export declare const ProfileRoot: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
4
4
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
5
5
|
loading?: boolean | undefined;
|
|
6
6
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
7
7
|
component?: import("react").ElementType | undefined;
|
|
8
8
|
selected?: boolean | undefined;
|
|
9
|
+
size?: "large" | "medium" | undefined;
|
|
9
10
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
10
11
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
12
|
}, {}, {}>;
|
|
@@ -7,12 +7,13 @@ export declare const SearchIcon: import("../styled").StyledComponent<{
|
|
|
7
7
|
} & import("react").SVGProps<SVGSVGElement> & {
|
|
8
8
|
theme?: import("@emotion/react").Theme | undefined;
|
|
9
9
|
}, {}, {}>;
|
|
10
|
-
export declare const StyledIconButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
10
|
+
export declare const StyledIconButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
11
11
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
12
12
|
loading?: boolean | undefined;
|
|
13
13
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
14
14
|
component?: import("react").ElementType | undefined;
|
|
15
15
|
selected?: boolean | undefined;
|
|
16
|
+
size?: "large" | "medium" | undefined;
|
|
16
17
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
17
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
18
19
|
} & {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const Wrapper: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
2
|
+
export declare const Wrapper: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
3
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
6
6
|
component?: import("react").ElementType | undefined;
|
|
7
7
|
selected?: boolean | undefined;
|
|
8
|
+
size?: "large" | "medium" | undefined;
|
|
8
9
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
9
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
11
|
}, {}, {}>;
|
|
@@ -28,12 +28,13 @@ export declare const IconWrapper: import("../styled").StyledComponent<{
|
|
|
28
28
|
theme?: import("@emotion/react").Theme | undefined;
|
|
29
29
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
30
30
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
31
|
-
export declare const StyledIconButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material/Button").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
31
|
+
export declare const StyledIconButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material/Button").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
32
32
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
33
33
|
loading?: boolean | undefined;
|
|
34
34
|
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
35
35
|
component?: import("react").ElementType | undefined;
|
|
36
36
|
selected?: boolean | undefined;
|
|
37
|
+
size?: "large" | "medium" | undefined;
|
|
37
38
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
38
39
|
theme?: import("@emotion/react").Theme | undefined;
|
|
39
40
|
} & {
|