@moderneinc/design-system-components 7.7.0-next.6ace41 → 7.7.0-next.b2d255
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/dist/ActivityHeader/ActivityHeader.d.ts +1 -1
- package/dist/ActivityIndicatorCell/ActivityIndicatorCell.d.ts +1 -1
- package/dist/Alert/Alert.d.ts +1 -1
- package/dist/Badge/Badge.d.ts +1 -1
- package/dist/Banner/Banner.d.ts +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/dist/Button/Button.d.ts +1 -1
- package/dist/ButtonTab/ButtonTab.d.ts +1 -1
- package/dist/ButtonTabGroup/ButtonTabGroup.d.ts +1 -1
- package/dist/CanceledIcon/CanceledIcon.d.ts +1 -1
- package/dist/Card/Card.d.ts +1 -1
- package/dist/Checkbox/Checkbox.d.ts +1 -1
- package/dist/CheckboxWithText/CheckboxWithText.d.ts +1 -1
- package/dist/CodeSnippet/CodeSnippet.d.ts +1 -1
- package/dist/DataGrid/DataGrid.d.ts +1 -1
- package/dist/DataGridCell/DataGridCell.d.ts +4 -4
- package/dist/DataGridColumnsButton/DataGridColumnsButton.d.ts +1 -1
- package/dist/DataGridColumnsPanel/DataGridColumnsPanel.d.ts +1 -1
- package/dist/DataGridFilterPanel/DataGridFilterPanel.d.ts +4 -4
- package/dist/DataGridFiltersButton/DataGridFiltersButton.d.ts +1 -1
- package/dist/DataGridHeaderCell/DataGridHeaderCell.d.ts +3 -3
- package/dist/DataGridHeaderLabel/DataGridHeaderLabel.d.ts +1 -1
- package/dist/DatePicker/DatePicker.d.ts +1 -1
- package/dist/DateTimeCell/DateTimeCell.d.ts +1 -1
- package/dist/Divider/Divider.d.ts +1 -1
- package/dist/Dot/Dot.d.ts +1 -1
- package/dist/DownloadToast/DownloadToast.d.ts +1 -1
- package/dist/DropdownInputField/DropdownInputField.d.ts +1 -1
- package/dist/EmptyState/EmptyState.d.ts +1 -1
- package/dist/FilledStatusIcons/FilledStatusIcons.d.ts +7 -7
- package/dist/FilterChip/FilterChip.d.ts +1 -1
- package/dist/Footer/Footer.d.ts +1 -1
- package/dist/GeneralAvatar/GeneralAvatar.d.ts +1 -1
- package/dist/IconButton/IconButton.d.ts +1 -1
- package/dist/IconWrapper/IconWrapper.d.ts +1 -1
- package/dist/InfiniteScrollGrid/InfiniteScrollGrid.d.ts +1 -1
- package/dist/InputField/InputField.d.ts +1 -1
- package/dist/LinkCell/LinkCell.d.ts +1 -1
- package/dist/ListItem/ListItem.d.ts +1 -1
- package/dist/ListItemButton/ListItemButton.d.ts +1 -1
- package/dist/LoadingSpinner/LoadingSpinner.d.ts +1 -1
- package/dist/Menu/Menu.d.ts +1 -1
- package/dist/MenuItem/MenuItem.d.ts +1 -1
- package/dist/ModActionsCell/ModActionsCell.d.ts +1 -1
- package/dist/ModAvatarCell/ModAvatarCell.d.ts +1 -1
- package/dist/ModIconCell/ModIconCell.d.ts +1 -1
- package/dist/ModLogoCell/ModLogoCell.d.ts +1 -1
- package/dist/ModProgressCell/ModProgressCell.d.ts +1 -1
- package/dist/ModStatusCell/ModStatusCell.d.ts +1 -1
- package/dist/Modal/Modal.d.ts +4 -4
- package/dist/NavIconButton/NavIconButton.d.ts +1 -1
- package/dist/NavigationAvatar/NavigationAvatar.d.ts +1 -1
- package/dist/NavigationItem/NavigationItem.d.ts +1 -1
- package/dist/PageContent/PageContent.d.ts +1 -1
- package/dist/PaginatedGrid/PaginatedGrid.d.ts +1 -1
- package/dist/ProgressSpinner/ProgressSpinner.d.ts +1 -1
- package/dist/Progressbar/Progressbar.d.ts +1 -1
- package/dist/QuickFilter/QuickFilter.d.ts +1 -1
- package/dist/Radio/Radio.d.ts +1 -1
- package/dist/SearchChip/SearchChip.d.ts +1 -1
- package/dist/Select/Select.d.ts +1 -1
- package/dist/SelectField/SelectField.d.ts +1 -1
- package/dist/SideNav/SideNav.d.ts +1 -1
- package/dist/Skeleton/Skeleton.d.ts +1 -1
- package/dist/TabPanel/TabPanel.d.ts +1 -1
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Tabs/Tabs.d.ts +1 -1
- package/dist/Tag/Tag.d.ts +1 -1
- package/dist/Toast/Toast.d.ts +2 -2
- package/dist/Toggle/Toggle.d.ts +1 -1
- package/dist/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/dist/Toolbar/Toolbar.d.ts +1 -1
- package/dist/Tooltip/Tooltip.d.ts +1 -1
- package/dist/Tree/Tree.d.ts +1 -1
- package/dist/TypologyControl/TypologyControl.d.ts +1 -1
- package/dist/index.d.ts +95 -96
- package/dist/index.esm.js +9 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import react__default, { ReactNode, ElementType, HTMLAttributes, ComponentPropsWithoutRef, ComponentType, FunctionComponent } from 'react';
|
|
2
3
|
import { GridColumnsPanelProps, GridDensity as GridDensity$1, DataGridProProps, GridSlots } from '@mui/x-data-grid-pro';
|
|
3
|
-
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { ReactNode, ElementType, HTMLAttributes, ComponentPropsWithoutRef, ComponentType, FunctionComponent } from 'react';
|
|
5
4
|
import { GridDensity, GridFilterPanel, GridSlotsComponent, GridSlotProps, GridRenderCellParams, ToolbarProps } from '@mui/x-data-grid';
|
|
6
5
|
import { AlertProps } from '@mui/material/Alert';
|
|
7
6
|
import Chip, { ChipProps } from '@mui/material/Chip';
|
|
@@ -69,7 +68,7 @@ interface ModDataGridColumnsPanelProps extends GridColumnsPanelProps {
|
|
|
69
68
|
showSearch?: boolean;
|
|
70
69
|
}
|
|
71
70
|
declare const ModDataGridColumnsPanel: {
|
|
72
|
-
({ showSearch, sx: _sx, theme: _theme, ...props }: ModDataGridColumnsPanelProps):
|
|
71
|
+
({ showSearch, sx: _sx, theme: _theme, ...props }: ModDataGridColumnsPanelProps): react.JSX.Element;
|
|
73
72
|
displayName: string;
|
|
74
73
|
};
|
|
75
74
|
|
|
@@ -180,7 +179,7 @@ interface ModFooterProps {
|
|
|
180
179
|
* />
|
|
181
180
|
*/
|
|
182
181
|
declare const ModFooter: {
|
|
183
|
-
({ variant, showShadow, loading, resultCount, onLoadMore, hasMore, paginationInfo, onPreviousPage, onNextPage, hasPreviousPage, hasNextPage, showSelected, children, }: ModFooterProps):
|
|
182
|
+
({ variant, showShadow, loading, resultCount, onLoadMore, hasMore, paginationInfo, onPreviousPage, onNextPage, hasPreviousPage, hasNextPage, showSelected, children, }: ModFooterProps): react.JSX.Element;
|
|
184
183
|
displayName: string;
|
|
185
184
|
};
|
|
186
185
|
|
|
@@ -238,7 +237,7 @@ interface ModActivityHeaderProps {
|
|
|
238
237
|
* }
|
|
239
238
|
*/
|
|
240
239
|
declare const ModActivityHeader: {
|
|
241
|
-
({ size, color, }: ModActivityHeaderProps):
|
|
240
|
+
({ size, color, }: ModActivityHeaderProps): react.JSX.Element;
|
|
242
241
|
displayName: string;
|
|
243
242
|
};
|
|
244
243
|
|
|
@@ -304,7 +303,7 @@ interface ModActivityIndicatorCellProps {
|
|
|
304
303
|
* }
|
|
305
304
|
*/
|
|
306
305
|
declare const ModActivityIndicatorCell: {
|
|
307
|
-
({ event, secondaryEvent, scene, showDot, }: ModActivityIndicatorCellProps):
|
|
306
|
+
({ event, secondaryEvent, scene, showDot, }: ModActivityIndicatorCellProps): react.JSX.Element | null;
|
|
308
307
|
displayName: string;
|
|
309
308
|
};
|
|
310
309
|
|
|
@@ -358,7 +357,7 @@ interface ModAlertProps extends Omit<AlertProps, 'severity' | 'variant' | 'color
|
|
|
358
357
|
* ModAlert - Alert component for displaying contextual status messages
|
|
359
358
|
*/
|
|
360
359
|
declare const ModAlert: {
|
|
361
|
-
({ intent, type, size, title, description, icon, action, children, ...props }: ModAlertProps):
|
|
360
|
+
({ intent, type, size, title, description, icon, action, children, ...props }: ModAlertProps): react.JSX.Element;
|
|
362
361
|
displayName: string;
|
|
363
362
|
};
|
|
364
363
|
|
|
@@ -397,7 +396,7 @@ interface ModBadgeProps extends Omit<ChipProps, 'variant' | 'size'> {
|
|
|
397
396
|
* is also set.
|
|
398
397
|
*/
|
|
399
398
|
declare const ModBadge: {
|
|
400
|
-
({ size, variant, shape, ...props }: ModBadgeProps):
|
|
399
|
+
({ size, variant, shape, ...props }: ModBadgeProps): react.JSX.Element;
|
|
401
400
|
displayName: string;
|
|
402
401
|
};
|
|
403
402
|
|
|
@@ -447,7 +446,7 @@ interface ModBannerProps extends Omit<AlertProps, 'variant' | 'severity' | 'colo
|
|
|
447
446
|
onLinkClick?: () => void;
|
|
448
447
|
}
|
|
449
448
|
declare const ModBanner: {
|
|
450
|
-
({ intent, type, message, messagePosition, linkText, showClose, icon, onClose, onLinkClick, ...props }: ModBannerProps):
|
|
449
|
+
({ intent, type, message, messagePosition, linkText, showClose, icon, onClose, onLinkClick, ...props }: ModBannerProps): react.JSX.Element | null;
|
|
451
450
|
displayName: string;
|
|
452
451
|
};
|
|
453
452
|
|
|
@@ -483,7 +482,7 @@ interface ModBreadcrumbLinkProps extends Omit<LinkProps, 'color'> {
|
|
|
483
482
|
* </ModBreadcrumbs>
|
|
484
483
|
* ```
|
|
485
484
|
*/
|
|
486
|
-
declare function ModBreadcrumbLink({ current, children, component, ...props }: ModBreadcrumbLinkProps):
|
|
485
|
+
declare function ModBreadcrumbLink({ current, children, component, ...props }: ModBreadcrumbLinkProps): react.JSX.Element;
|
|
487
486
|
/**
|
|
488
487
|
* ModBreadcrumbs - Navigation breadcrumb component
|
|
489
488
|
*
|
|
@@ -499,7 +498,7 @@ declare function ModBreadcrumbLink({ current, children, component, ...props }: M
|
|
|
499
498
|
* </ModBreadcrumbs>
|
|
500
499
|
* ```
|
|
501
500
|
*/
|
|
502
|
-
declare function ModBreadcrumbs({ children, className }: ModBreadcrumbsProps):
|
|
501
|
+
declare function ModBreadcrumbs({ children, className }: ModBreadcrumbsProps): react.JSX.Element;
|
|
503
502
|
|
|
504
503
|
declare module '@mui/material/ButtonBase' {
|
|
505
504
|
interface ButtonBasePropsVariantOverrides {
|
|
@@ -545,13 +544,13 @@ type ModButtonOwnProps = {
|
|
|
545
544
|
*/
|
|
546
545
|
endIcon?: ReactNode;
|
|
547
546
|
};
|
|
548
|
-
type ModButtonProps<C extends ElementType = typeof ButtonBase> = ModButtonOwnProps & Omit<
|
|
547
|
+
type ModButtonProps<C extends ElementType = typeof ButtonBase> = ModButtonOwnProps & Omit<react__default.ComponentPropsWithoutRef<C>, keyof ModButtonOwnProps> & {
|
|
549
548
|
component?: C;
|
|
550
549
|
};
|
|
551
550
|
/**
|
|
552
551
|
* ModButton - Text button component based on MUI Button
|
|
553
552
|
*/
|
|
554
|
-
declare function ModButton<C extends ElementType = typeof ButtonBase>({ variant, size, loading, children, startIcon, endIcon, ...rest }: ModButtonProps<C>):
|
|
553
|
+
declare function ModButton<C extends ElementType = typeof ButtonBase>({ variant, size, loading, children, startIcon, endIcon, ...rest }: ModButtonProps<C>): react__default.JSX.Element;
|
|
555
554
|
declare namespace ModButton {
|
|
556
555
|
var displayName: string;
|
|
557
556
|
}
|
|
@@ -568,7 +567,7 @@ interface ModButtonTabProps extends Omit<ToggleButtonProps, 'color'> {
|
|
|
568
567
|
* ModButtonTab - A tab-style toggle button for use within ModButtonGroup
|
|
569
568
|
*/
|
|
570
569
|
declare const ModButtonTab: {
|
|
571
|
-
({ children, ...props }: ModButtonTabProps):
|
|
570
|
+
({ children, ...props }: ModButtonTabProps): react.JSX.Element;
|
|
572
571
|
displayName: string;
|
|
573
572
|
};
|
|
574
573
|
|
|
@@ -598,7 +597,7 @@ interface ModButtonTabGroupProps extends Omit<ToggleButtonGroupProps, 'orientati
|
|
|
598
597
|
* ```
|
|
599
598
|
*/
|
|
600
599
|
declare const ModButtonTabGroup: {
|
|
601
|
-
({ size, exclusive, ...props }: ModButtonTabGroupProps):
|
|
600
|
+
({ size, exclusive, ...props }: ModButtonTabGroupProps): react.JSX.Element;
|
|
602
601
|
displayName: string;
|
|
603
602
|
};
|
|
604
603
|
|
|
@@ -609,7 +608,7 @@ declare const ModButtonTabGroup: {
|
|
|
609
608
|
* a 10% fill tint); set it via the `color`/`sx` prop or a parent.
|
|
610
609
|
*/
|
|
611
610
|
declare const ModCanceledIcon: {
|
|
612
|
-
(props: SvgIconProps):
|
|
611
|
+
(props: SvgIconProps): react.JSX.Element;
|
|
613
612
|
displayName: string;
|
|
614
613
|
};
|
|
615
614
|
|
|
@@ -640,7 +639,7 @@ interface ModCardLargeProps extends Omit<CardProps, 'children' | 'title'> {
|
|
|
640
639
|
}
|
|
641
640
|
type ModCardProps = ModCardSmallProps | ModCardLargeProps;
|
|
642
641
|
declare const ModCard: {
|
|
643
|
-
(props: ModCardProps):
|
|
642
|
+
(props: ModCardProps): react.JSX.Element;
|
|
644
643
|
displayName: string;
|
|
645
644
|
};
|
|
646
645
|
|
|
@@ -769,7 +768,7 @@ interface ModCheckboxProps extends Omit<CheckboxProps, 'size'> {
|
|
|
769
768
|
* <ModCheckbox indeterminate={true} label="Select all" />
|
|
770
769
|
*/
|
|
771
770
|
declare const ModCheckbox: {
|
|
772
|
-
({ size, label, helperText, disabled, icon, checkedIcon, indeterminateIcon, className, ...props }: ModCheckboxProps):
|
|
771
|
+
({ size, label, helperText, disabled, icon, checkedIcon, indeterminateIcon, className, ...props }: ModCheckboxProps): react.JSX.Element;
|
|
773
772
|
displayName: string;
|
|
774
773
|
};
|
|
775
774
|
|
|
@@ -799,7 +798,7 @@ interface ModCheckboxWithTextProps extends Omit<ModCheckboxProps, 'size'> {
|
|
|
799
798
|
* component to the existing ModCheckbox with label + helperText.
|
|
800
799
|
*/
|
|
801
800
|
declare const ModCheckboxWithText: {
|
|
802
|
-
({ size, ...props }: ModCheckboxWithTextProps):
|
|
801
|
+
({ size, ...props }: ModCheckboxWithTextProps): react.JSX.Element;
|
|
803
802
|
displayName: string;
|
|
804
803
|
};
|
|
805
804
|
|
|
@@ -835,7 +834,7 @@ interface ModCodeSnippetProps extends Omit<ButtonBaseProps, 'children'> {
|
|
|
835
834
|
* ModCodeSnippet - Inline code snippet component based on MUI ButtonBase
|
|
836
835
|
*/
|
|
837
836
|
declare const ModCodeSnippet: {
|
|
838
|
-
({ variant, size, endIcon, children, ...props }: ModCodeSnippetProps):
|
|
837
|
+
({ variant, size, endIcon, children, ...props }: ModCodeSnippetProps): react.JSX.Element;
|
|
839
838
|
displayName: string;
|
|
840
839
|
};
|
|
841
840
|
|
|
@@ -891,7 +890,7 @@ interface ModDataGridProps extends Omit<DataGridProProps, 'slots'> {
|
|
|
891
890
|
* footerOffsetSelector="#page-footer"
|
|
892
891
|
* />
|
|
893
892
|
*/
|
|
894
|
-
declare function ModDataGrid({ autoHeight, toolbar, slots, sx, density, slotProps: userSlotProps, ...props }: ModDataGridProps):
|
|
893
|
+
declare function ModDataGrid({ autoHeight, toolbar, slots, sx, density, slotProps: userSlotProps, ...props }: ModDataGridProps): react.JSX.Element;
|
|
895
894
|
declare namespace ModDataGrid {
|
|
896
895
|
var displayName: string;
|
|
897
896
|
}
|
|
@@ -947,7 +946,7 @@ interface ModDataGridCellContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
947
946
|
* )
|
|
948
947
|
*/
|
|
949
948
|
declare const ModDataGridCellContent: {
|
|
950
|
-
({ children, ...props }: ModDataGridCellContentProps):
|
|
949
|
+
({ children, ...props }: ModDataGridCellContentProps): react.JSX.Element;
|
|
951
950
|
displayName: string;
|
|
952
951
|
};
|
|
953
952
|
/**
|
|
@@ -977,7 +976,7 @@ interface ModStatusBadgeCellProps {
|
|
|
977
976
|
colorMap?: Record<string, 'default' | 'error' | 'info' | 'success' | 'warning'>;
|
|
978
977
|
}
|
|
979
978
|
declare const ModStatusBadgeCell: {
|
|
980
|
-
({ status, colorMap }: ModStatusBadgeCellProps):
|
|
979
|
+
({ status, colorMap }: ModStatusBadgeCellProps): react.JSX.Element;
|
|
981
980
|
displayName: string;
|
|
982
981
|
};
|
|
983
982
|
/**
|
|
@@ -997,7 +996,7 @@ interface ModUserAvatarCellProps {
|
|
|
997
996
|
size?: 'small' | 'medium';
|
|
998
997
|
}
|
|
999
998
|
declare const ModUserAvatarCell: {
|
|
1000
|
-
({ name, avatarUrl, size }: ModUserAvatarCellProps):
|
|
999
|
+
({ name, avatarUrl, size }: ModUserAvatarCellProps): react.JSX.Element;
|
|
1001
1000
|
displayName: string;
|
|
1002
1001
|
};
|
|
1003
1002
|
/**
|
|
@@ -1022,7 +1021,7 @@ interface ModMultiBadgesCellProps {
|
|
|
1022
1021
|
}>;
|
|
1023
1022
|
}
|
|
1024
1023
|
declare const ModMultiBadgesCell: {
|
|
1025
|
-
({ badges }: ModMultiBadgesCellProps):
|
|
1024
|
+
({ badges }: ModMultiBadgesCellProps): react.JSX.Element;
|
|
1026
1025
|
displayName: string;
|
|
1027
1026
|
};
|
|
1028
1027
|
|
|
@@ -1037,7 +1036,7 @@ declare const ModMultiBadgesCell: {
|
|
|
1037
1036
|
* <ModDataGridColumnsButton />
|
|
1038
1037
|
* ```
|
|
1039
1038
|
*/
|
|
1040
|
-
declare function ModDataGridColumnsButton():
|
|
1039
|
+
declare function ModDataGridColumnsButton(): react.JSX.Element;
|
|
1041
1040
|
declare namespace ModDataGridColumnsButton {
|
|
1042
1041
|
var displayName: string;
|
|
1043
1042
|
}
|
|
@@ -1047,15 +1046,15 @@ declare namespace ModDataGridColumnsButton {
|
|
|
1047
1046
|
* These must be passed to the DataGrid's slots prop
|
|
1048
1047
|
*/
|
|
1049
1048
|
declare const ModDataGridFilterPanelAddIcon: {
|
|
1050
|
-
():
|
|
1049
|
+
(): react__default.JSX.Element;
|
|
1051
1050
|
displayName: string;
|
|
1052
1051
|
};
|
|
1053
1052
|
declare const ModDataGridFilterPanelDeleteIcon: {
|
|
1054
|
-
():
|
|
1053
|
+
(): react__default.JSX.Element;
|
|
1055
1054
|
displayName: string;
|
|
1056
1055
|
};
|
|
1057
1056
|
declare const ModDataGridFilterPanelRemoveAllIcon: {
|
|
1058
|
-
():
|
|
1057
|
+
(): react__default.JSX.Element;
|
|
1059
1058
|
displayName: string;
|
|
1060
1059
|
};
|
|
1061
1060
|
type ModDataGridSelectProps = GridSlotProps['baseSelect'];
|
|
@@ -1102,7 +1101,7 @@ declare const ModDataGridSelect: GridSlotsComponent['baseSelect'];
|
|
|
1102
1101
|
* ```
|
|
1103
1102
|
*/
|
|
1104
1103
|
declare const ModDataGridFilterPanel: {
|
|
1105
|
-
(props:
|
|
1104
|
+
(props: react__default.ComponentProps<typeof GridFilterPanel>): react__default.JSX.Element;
|
|
1106
1105
|
displayName: string;
|
|
1107
1106
|
};
|
|
1108
1107
|
|
|
@@ -1118,7 +1117,7 @@ declare const ModDataGridFilterPanel: {
|
|
|
1118
1117
|
* <ModDataGridFiltersButton />
|
|
1119
1118
|
* ```
|
|
1120
1119
|
*/
|
|
1121
|
-
declare function ModDataGridFiltersButton():
|
|
1120
|
+
declare function ModDataGridFiltersButton(): react.JSX.Element;
|
|
1122
1121
|
declare namespace ModDataGridFiltersButton {
|
|
1123
1122
|
var displayName: string;
|
|
1124
1123
|
}
|
|
@@ -1128,9 +1127,9 @@ declare namespace ModDataGridFiltersButton {
|
|
|
1128
1127
|
*
|
|
1129
1128
|
* Use these with DataGrid's slots API to replace default sort indicators.
|
|
1130
1129
|
*/
|
|
1131
|
-
declare function SortedDescendingIcon():
|
|
1132
|
-
declare function SortedAscendingIcon():
|
|
1133
|
-
declare function UnsortedIcon():
|
|
1130
|
+
declare function SortedDescendingIcon(): react.JSX.Element;
|
|
1131
|
+
declare function SortedAscendingIcon(): react.JSX.Element;
|
|
1132
|
+
declare function UnsortedIcon(): react.JSX.Element;
|
|
1134
1133
|
|
|
1135
1134
|
interface ModDataGridHeaderLabelProps {
|
|
1136
1135
|
/**
|
|
@@ -1147,7 +1146,7 @@ interface ModDataGridHeaderLabelProps {
|
|
|
1147
1146
|
*/
|
|
1148
1147
|
className?: string;
|
|
1149
1148
|
}
|
|
1150
|
-
declare function ModDataGridHeaderLabel({ children, helpTooltip, className, }: ModDataGridHeaderLabelProps):
|
|
1149
|
+
declare function ModDataGridHeaderLabel({ children, helpTooltip, className, }: ModDataGridHeaderLabelProps): react.JSX.Element;
|
|
1151
1150
|
|
|
1152
1151
|
type DatePickerType = 'single' | 'range';
|
|
1153
1152
|
/**
|
|
@@ -1238,7 +1237,7 @@ interface ModDatePickerProps {
|
|
|
1238
1237
|
* - borderRadius: borderRadius.l (20px)
|
|
1239
1238
|
*/
|
|
1240
1239
|
declare const ModDatePicker: {
|
|
1241
|
-
({ type, open, label, value, rangeValue, onChange, onRangeChange, onOpen, onClose, placeholder, showShortcuts, shortcuts, singleShortcuts, calendars, datePickerProps, dateRangePickerProps, }: ModDatePickerProps):
|
|
1240
|
+
({ type, open, label, value, rangeValue, onChange, onRangeChange, onOpen, onClose, placeholder, showShortcuts, shortcuts, singleShortcuts, calendars, datePickerProps, dateRangePickerProps, }: ModDatePickerProps): react.JSX.Element;
|
|
1242
1241
|
displayName: string;
|
|
1243
1242
|
};
|
|
1244
1243
|
|
|
@@ -1268,7 +1267,7 @@ interface ModDividerProps extends DividerProps {
|
|
|
1268
1267
|
* ```
|
|
1269
1268
|
*/
|
|
1270
1269
|
declare const ModDivider: {
|
|
1271
|
-
(props: ModDividerProps):
|
|
1270
|
+
(props: ModDividerProps): react.JSX.Element;
|
|
1272
1271
|
displayName: string;
|
|
1273
1272
|
};
|
|
1274
1273
|
|
|
@@ -1303,7 +1302,7 @@ interface ModDotProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'>
|
|
|
1303
1302
|
* ModDot - Status indicator dot.
|
|
1304
1303
|
*/
|
|
1305
1304
|
declare const ModDot: {
|
|
1306
|
-
({ size, variant, color, children, ...props }: ModDotProps):
|
|
1305
|
+
({ size, variant, color, children, ...props }: ModDotProps): react.JSX.Element;
|
|
1307
1306
|
displayName: string;
|
|
1308
1307
|
};
|
|
1309
1308
|
|
|
@@ -1347,7 +1346,7 @@ interface ModDownloadToastProps extends Omit<PaperProps, 'title'> {
|
|
|
1347
1346
|
* ModDownloadToast - Standalone download progress toast notification
|
|
1348
1347
|
*/
|
|
1349
1348
|
declare const ModDownloadToast: {
|
|
1350
|
-
({ title, fileName, progress, showClose, showPause, onClose, onPause, actions, ...props }: ModDownloadToastProps):
|
|
1349
|
+
({ title, fileName, progress, showClose, showPause, onClose, onPause, actions, ...props }: ModDownloadToastProps): react.JSX.Element;
|
|
1351
1350
|
displayName: string;
|
|
1352
1351
|
};
|
|
1353
1352
|
|
|
@@ -1364,31 +1363,31 @@ declare const ModDownloadToast: {
|
|
|
1364
1363
|
*/
|
|
1365
1364
|
type ModFilledStatusIconProps = Omit<SvgIconProps, 'color' | 'htmlColor'>;
|
|
1366
1365
|
declare const ModFilledSuccess: {
|
|
1367
|
-
(props: ModFilledStatusIconProps):
|
|
1366
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1368
1367
|
displayName: string;
|
|
1369
1368
|
};
|
|
1370
1369
|
declare const ModFilledQueued: {
|
|
1371
|
-
(props: ModFilledStatusIconProps):
|
|
1370
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1372
1371
|
displayName: string;
|
|
1373
1372
|
};
|
|
1374
1373
|
declare const ModFilledInfo: {
|
|
1375
|
-
(props: ModFilledStatusIconProps):
|
|
1374
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1376
1375
|
displayName: string;
|
|
1377
1376
|
};
|
|
1378
1377
|
declare const ModFilledWarning: {
|
|
1379
|
-
(props: ModFilledStatusIconProps):
|
|
1378
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1380
1379
|
displayName: string;
|
|
1381
1380
|
};
|
|
1382
1381
|
declare const ModFilledError: {
|
|
1383
|
-
(props: ModFilledStatusIconProps):
|
|
1382
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1384
1383
|
displayName: string;
|
|
1385
1384
|
};
|
|
1386
1385
|
declare const ModFilledNeutral: {
|
|
1387
|
-
(props: ModFilledStatusIconProps):
|
|
1386
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1388
1387
|
displayName: string;
|
|
1389
1388
|
};
|
|
1390
1389
|
declare const ModFilledCanceled: {
|
|
1391
|
-
(props: ModFilledStatusIconProps):
|
|
1390
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1392
1391
|
displayName: string;
|
|
1393
1392
|
};
|
|
1394
1393
|
|
|
@@ -1428,7 +1427,7 @@ interface ModFilterChipProps extends Omit<ChipProps, 'variant' | 'color' | 'labe
|
|
|
1428
1427
|
* <ModFilterChip label="Status" selected selectedLabel="Active, Pending" count={2} onClear={handleClear} />
|
|
1429
1428
|
*/
|
|
1430
1429
|
declare const ModFilterChip: {
|
|
1431
|
-
({ label, selected, expanded, selectedLabel, count, onClear, onClick, ...props }: ModFilterChipProps):
|
|
1430
|
+
({ label, selected, expanded, selectedLabel, count, onClear, onClick, ...props }: ModFilterChipProps): react.JSX.Element;
|
|
1432
1431
|
displayName: string;
|
|
1433
1432
|
};
|
|
1434
1433
|
|
|
@@ -1451,7 +1450,7 @@ interface ModGeneralAvatarProps extends Omit<AvatarProps, 'variant'> {
|
|
|
1451
1450
|
* ModGeneralAvatar - Avatar with image or colored initials display
|
|
1452
1451
|
*/
|
|
1453
1452
|
declare const ModGeneralAvatar: {
|
|
1454
|
-
({ size, colorIndex, alt, src, children, ...props }: ModGeneralAvatarProps):
|
|
1453
|
+
({ size, colorIndex, alt, src, children, ...props }: ModGeneralAvatarProps): react.JSX.Element;
|
|
1455
1454
|
displayName: string;
|
|
1456
1455
|
};
|
|
1457
1456
|
|
|
@@ -1491,7 +1490,7 @@ interface ModIconButtonProps extends Omit<ButtonBaseProps, 'children' | 'size'>
|
|
|
1491
1490
|
* icon-only sizing. For the `nav` variant, uses a standalone MUI IconButton with custom styling.
|
|
1492
1491
|
*/
|
|
1493
1492
|
declare const ModIconButton: {
|
|
1494
|
-
({ size, variant, active, loading, children, ...props }: ModIconButtonProps):
|
|
1493
|
+
({ size, variant, active, loading, children, ...props }: ModIconButtonProps): react.JSX.Element;
|
|
1495
1494
|
displayName: string;
|
|
1496
1495
|
};
|
|
1497
1496
|
|
|
@@ -1511,7 +1510,7 @@ interface ModIconWrapperProps extends Omit<HTMLAttributes<HTMLDivElement>, 'colo
|
|
|
1511
1510
|
* ModIconWrapper - Flex-centered container that sizes icons
|
|
1512
1511
|
*/
|
|
1513
1512
|
declare const ModIconWrapper: {
|
|
1514
|
-
({ size, children, ...props }: ModIconWrapperProps):
|
|
1513
|
+
({ size, children, ...props }: ModIconWrapperProps): react.JSX.Element;
|
|
1515
1514
|
displayName: string;
|
|
1516
1515
|
};
|
|
1517
1516
|
|
|
@@ -1553,7 +1552,7 @@ interface ModInfiniteScrollGridProps extends Omit<ModDataGridProps, 'slots'> {
|
|
|
1553
1552
|
* loading={isLoading}
|
|
1554
1553
|
* />
|
|
1555
1554
|
*/
|
|
1556
|
-
declare function ModInfiniteScrollGrid({ onLoadMore, hasNextPage, loadMoreAtScrollPercent, slots, slotProps: userSlotProps, sx: userSx, ...props }: ModInfiniteScrollGridProps):
|
|
1555
|
+
declare function ModInfiniteScrollGrid({ onLoadMore, hasNextPage, loadMoreAtScrollPercent, slots, slotProps: userSlotProps, sx: userSx, ...props }: ModInfiniteScrollGridProps): react.JSX.Element;
|
|
1557
1556
|
declare namespace ModInfiniteScrollGrid {
|
|
1558
1557
|
var displayName: string;
|
|
1559
1558
|
}
|
|
@@ -1607,7 +1606,7 @@ interface ModInputFieldProps extends Omit<InputBaseProps, 'size'> {
|
|
|
1607
1606
|
* ModInputField - Form input field component using MUI FormControl composition
|
|
1608
1607
|
*/
|
|
1609
1608
|
declare const ModInputField: {
|
|
1610
|
-
({ size, destructive, label, required, infoIcon, helperText, errorMessage, startIcon, endIcon, disabled, id, ...props }: ModInputFieldProps):
|
|
1609
|
+
({ size, destructive, label, required, infoIcon, helperText, errorMessage, startIcon, endIcon, disabled, id, ...props }: ModInputFieldProps): react.JSX.Element;
|
|
1611
1610
|
displayName: string;
|
|
1612
1611
|
};
|
|
1613
1612
|
|
|
@@ -1685,7 +1684,7 @@ interface ModListItemProps extends Omit<ListItemButtonProps, 'children' | 'size'
|
|
|
1685
1684
|
* - semanticColors.buttons.tertiary.disabled (disabled text color)
|
|
1686
1685
|
*/
|
|
1687
1686
|
declare const ModListItem: {
|
|
1688
|
-
({ size, primaryText, secondaryText, badge, icon, isLink, trailingElement, component, ...props }: ModListItemProps):
|
|
1687
|
+
({ size, primaryText, secondaryText, badge, icon, isLink, trailingElement, component, ...props }: ModListItemProps): react.JSX.Element;
|
|
1689
1688
|
displayName: string;
|
|
1690
1689
|
};
|
|
1691
1690
|
|
|
@@ -1748,7 +1747,7 @@ interface ModListItemButtonProps extends ListItemButtonProps {
|
|
|
1748
1747
|
* - semanticColors.surface.sunken - Disabled background
|
|
1749
1748
|
*/
|
|
1750
1749
|
declare const ModListItemButton: {
|
|
1751
|
-
({ children, selected, disabled, variant, ...props }: ModListItemButtonProps):
|
|
1750
|
+
({ children, selected, disabled, variant, ...props }: ModListItemButtonProps): react.JSX.Element;
|
|
1752
1751
|
displayName: string;
|
|
1753
1752
|
};
|
|
1754
1753
|
|
|
@@ -1777,7 +1776,7 @@ interface ModLoadingSpinnerProps {
|
|
|
1777
1776
|
* <ModLoadingSpinner size={32} color="#ff0000" />
|
|
1778
1777
|
*/
|
|
1779
1778
|
declare const ModLoadingSpinner: {
|
|
1780
|
-
({ size, color, }: ModLoadingSpinnerProps):
|
|
1779
|
+
({ size, color, }: ModLoadingSpinnerProps): react.JSX.Element;
|
|
1781
1780
|
displayName: string;
|
|
1782
1781
|
};
|
|
1783
1782
|
|
|
@@ -1807,7 +1806,7 @@ interface ModMenuProps extends MenuProps {
|
|
|
1807
1806
|
* ```
|
|
1808
1807
|
*/
|
|
1809
1808
|
declare const ModMenu: {
|
|
1810
|
-
({ children, ...props }: ModMenuProps):
|
|
1809
|
+
({ children, ...props }: ModMenuProps): react.JSX.Element;
|
|
1811
1810
|
displayName: string;
|
|
1812
1811
|
};
|
|
1813
1812
|
|
|
@@ -1896,7 +1895,7 @@ type ModMenuItemProps<C extends ElementType = typeof MenuItem> = ModMenuItemOwnP
|
|
|
1896
1895
|
* <ModMenuItem component={NextLink} href="/api-explorer">API explorer</ModMenuItem>
|
|
1897
1896
|
* ```
|
|
1898
1897
|
*/
|
|
1899
|
-
declare function ModMenuItem<C extends ElementType = typeof MenuItem>({ icon, shortcut, secondaryText, children, component, href, ...rest }: ModMenuItemProps<C>):
|
|
1898
|
+
declare function ModMenuItem<C extends ElementType = typeof MenuItem>({ icon, shortcut, secondaryText, children, component, href, ...rest }: ModMenuItemProps<C>): react.JSX.Element;
|
|
1900
1899
|
declare namespace ModMenuItem {
|
|
1901
1900
|
var displayName: string;
|
|
1902
1901
|
}
|
|
@@ -1907,7 +1906,7 @@ interface ModActionsCellProps extends Omit<GridRenderCellParams, 'api'> {
|
|
|
1907
1906
|
position?: 'bottom-end' | 'bottom-start' | 'top-end' | 'top-start';
|
|
1908
1907
|
suppressChildrenValidation?: boolean;
|
|
1909
1908
|
}
|
|
1910
|
-
declare function ModActionsCell(props: ModActionsCellProps):
|
|
1909
|
+
declare function ModActionsCell(props: ModActionsCellProps): react.JSX.Element;
|
|
1911
1910
|
|
|
1912
1911
|
type ModAvatarCellBase = {
|
|
1913
1912
|
disabled?: boolean;
|
|
@@ -1929,7 +1928,7 @@ type ModAvatarCellProps = ModAvatarCellEmpty | ModAvatarCellContent;
|
|
|
1929
1928
|
* ModAvatarCell — DataGrid cell displaying a user avatar with optional label.
|
|
1930
1929
|
*/
|
|
1931
1930
|
declare const ModAvatarCell: {
|
|
1932
|
-
({ name, src, label, disabled, empty, }: ModAvatarCellProps):
|
|
1931
|
+
({ name, src, label, disabled, empty, }: ModAvatarCellProps): react.JSX.Element;
|
|
1933
1932
|
displayName: string;
|
|
1934
1933
|
};
|
|
1935
1934
|
|
|
@@ -1960,7 +1959,7 @@ interface ModModalProps extends Omit<DialogProps, 'children'> {
|
|
|
1960
1959
|
* </ModModal>
|
|
1961
1960
|
*/
|
|
1962
1961
|
declare const ModModal: {
|
|
1963
|
-
({ children, ...props }: ModModalProps):
|
|
1962
|
+
({ children, ...props }: ModModalProps): react.JSX.Element;
|
|
1964
1963
|
displayName: string;
|
|
1965
1964
|
};
|
|
1966
1965
|
interface ModModalHeaderProps {
|
|
@@ -2003,7 +2002,7 @@ interface ModModalHeaderProps {
|
|
|
2003
2002
|
* ModModalHeader - Header section with title, optional subtitle, and close button
|
|
2004
2003
|
*/
|
|
2005
2004
|
declare const ModModalHeader: {
|
|
2006
|
-
({ title, subtitle, href, LinkComponent, onClose, hideCloseButton, children, }: ModModalHeaderProps):
|
|
2005
|
+
({ title, subtitle, href, LinkComponent, onClose, hideCloseButton, children, }: ModModalHeaderProps): react.JSX.Element;
|
|
2007
2006
|
displayName: string;
|
|
2008
2007
|
};
|
|
2009
2008
|
interface ModModalContentProps {
|
|
@@ -2016,7 +2015,7 @@ interface ModModalContentProps {
|
|
|
2016
2015
|
* ModModalContent - Main content area of the modal
|
|
2017
2016
|
*/
|
|
2018
2017
|
declare const ModModalContent: {
|
|
2019
|
-
({ children }: ModModalContentProps):
|
|
2018
|
+
({ children }: ModModalContentProps): react.JSX.Element;
|
|
2020
2019
|
displayName: string;
|
|
2021
2020
|
};
|
|
2022
2021
|
interface ModModalFooterProps {
|
|
@@ -2033,7 +2032,7 @@ interface ModModalFooterProps {
|
|
|
2033
2032
|
* ModModalFooter - Footer section with optional leading content and action buttons
|
|
2034
2033
|
*/
|
|
2035
2034
|
declare const ModModalFooter: {
|
|
2036
|
-
({ leadingContent, children }: ModModalFooterProps):
|
|
2035
|
+
({ leadingContent, children }: ModModalFooterProps): react.JSX.Element;
|
|
2037
2036
|
displayName: string;
|
|
2038
2037
|
};
|
|
2039
2038
|
|
|
@@ -2046,7 +2045,7 @@ interface ModIconCellProps {
|
|
|
2046
2045
|
* ModIconCell — Icon cell for DataGrid. Renders an icon centered in the cell.
|
|
2047
2046
|
*/
|
|
2048
2047
|
declare const ModIconCell: {
|
|
2049
|
-
({ icon, ariaLabel, disabled }: ModIconCellProps):
|
|
2048
|
+
({ icon, ariaLabel, disabled }: ModIconCellProps): react.JSX.Element | null;
|
|
2050
2049
|
displayName: string;
|
|
2051
2050
|
};
|
|
2052
2051
|
|
|
@@ -2069,7 +2068,7 @@ type ModLogoCellProps = ModLogoCellNoSrc | ModLogoCellWithSrc;
|
|
|
2069
2068
|
* - ModLogoCell: raster or SVG image URLs (img tag)
|
|
2070
2069
|
*/
|
|
2071
2070
|
declare const ModLogoCell: {
|
|
2072
|
-
({ src, alt, disabled }: ModLogoCellProps):
|
|
2071
|
+
({ src, alt, disabled }: ModLogoCellProps): react.JSX.Element;
|
|
2073
2072
|
displayName: string;
|
|
2074
2073
|
};
|
|
2075
2074
|
|
|
@@ -2089,7 +2088,7 @@ type ModProgressCellProps = ModProgressCellEmpty | ModProgressCellContent;
|
|
|
2089
2088
|
* ModProgressCell — DataGrid cell displaying a linear progress indicator.
|
|
2090
2089
|
*/
|
|
2091
2090
|
declare const ModProgressCell: {
|
|
2092
|
-
({ value, disabled, empty, }: ModProgressCellProps):
|
|
2091
|
+
({ value, disabled, empty, }: ModProgressCellProps): react.JSX.Element;
|
|
2093
2092
|
displayName: string;
|
|
2094
2093
|
};
|
|
2095
2094
|
|
|
@@ -2117,7 +2116,7 @@ type ModStatusCellProps = ModStatusCellEmpty | ModStatusCellContent;
|
|
|
2117
2116
|
* ModStatusCell — DataGrid cell displaying an icon + label chip with optional error tooltip.
|
|
2118
2117
|
*/
|
|
2119
2118
|
declare const ModStatusCell: {
|
|
2120
|
-
({ icon, label, details, disabled, variant, empty, }: ModStatusCellProps):
|
|
2119
|
+
({ icon, label, details, disabled, variant, empty, }: ModStatusCellProps): react.JSX.Element;
|
|
2121
2120
|
displayName: string;
|
|
2122
2121
|
};
|
|
2123
2122
|
|
|
@@ -2130,7 +2129,7 @@ interface ModNavigationAvatarProps extends Omit<ModGeneralAvatarProps, 'size'> {
|
|
|
2130
2129
|
* providing an interactive area for navigation UI.
|
|
2131
2130
|
*/
|
|
2132
2131
|
declare const ModNavigationAvatar: {
|
|
2133
|
-
({ children, ...props }: ModNavigationAvatarProps):
|
|
2132
|
+
({ children, ...props }: ModNavigationAvatarProps): react.JSX.Element;
|
|
2134
2133
|
displayName: string;
|
|
2135
2134
|
};
|
|
2136
2135
|
|
|
@@ -2178,7 +2177,7 @@ type ModTagProps<C extends ElementType = typeof Chip> = ModTagOwnProps & Omit<Ch
|
|
|
2178
2177
|
/**
|
|
2179
2178
|
* ModTag - Small label component based on MUI Chip
|
|
2180
2179
|
*/
|
|
2181
|
-
declare function ModTag<C extends ElementType = typeof Chip>({ size, variant, intent, shape, ...props }: ModTagProps<C>):
|
|
2180
|
+
declare function ModTag<C extends ElementType = typeof Chip>({ size, variant, intent, shape, ...props }: ModTagProps<C>): react.JSX.Element;
|
|
2182
2181
|
declare namespace ModTag {
|
|
2183
2182
|
var displayName: string;
|
|
2184
2183
|
}
|
|
@@ -2230,7 +2229,7 @@ type ModNavigationItemProps<C extends ElementType = typeof ButtonBase> = ModNavi
|
|
|
2230
2229
|
/**
|
|
2231
2230
|
* ModNavigationItem - Vertical navigation item with icon, label, and optional tag
|
|
2232
2231
|
*/
|
|
2233
|
-
declare function ModNavigationItem<C extends ElementType = typeof ButtonBase>({ icon, label, selected, tag, tooltip, slotProps, children, ...props }: ModNavigationItemProps<C>):
|
|
2232
|
+
declare function ModNavigationItem<C extends ElementType = typeof ButtonBase>({ icon, label, selected, tag, tooltip, slotProps, children, ...props }: ModNavigationItemProps<C>): react.JSX.Element;
|
|
2234
2233
|
declare namespace ModNavigationItem {
|
|
2235
2234
|
var displayName: string;
|
|
2236
2235
|
}
|
|
@@ -2378,7 +2377,7 @@ interface ModPageContentProps extends BoxProps {
|
|
|
2378
2377
|
* </ModPageContent>
|
|
2379
2378
|
* ```
|
|
2380
2379
|
*/
|
|
2381
|
-
declare function ModPageContent({ pageTitle, subtitle, breadcrumbs, action, sticky, contentMaxWidth: contentMaxWidthProp, centerContent, disableGutters: disableGuttersProp, isLoading, showBackToTop, layout, children, sx, ...boxProps }: ModPageContentProps):
|
|
2380
|
+
declare function ModPageContent({ pageTitle, subtitle, breadcrumbs, action, sticky, contentMaxWidth: contentMaxWidthProp, centerContent, disableGutters: disableGuttersProp, isLoading, showBackToTop, layout, children, sx, ...boxProps }: ModPageContentProps): react.JSX.Element;
|
|
2382
2381
|
declare namespace ModPageContent {
|
|
2383
2382
|
var displayName: string;
|
|
2384
2383
|
}
|
|
@@ -2409,7 +2408,7 @@ interface ModPaginatedGridProps extends Omit<ModDataGridProps, 'slots'> {
|
|
|
2409
2408
|
* rowCount={100}
|
|
2410
2409
|
* />
|
|
2411
2410
|
*/
|
|
2412
|
-
declare function ModPaginatedGrid({ slots, pageSizeOptions, slotProps: userSlotProps, ...props }: ModPaginatedGridProps):
|
|
2411
|
+
declare function ModPaginatedGrid({ slots, pageSizeOptions, slotProps: userSlotProps, ...props }: ModPaginatedGridProps): react.JSX.Element;
|
|
2413
2412
|
declare namespace ModPaginatedGrid {
|
|
2414
2413
|
var displayName: string;
|
|
2415
2414
|
}
|
|
@@ -2445,7 +2444,7 @@ interface ModProgressbarProps extends Omit<LinearProgressProps, 'variant'> {
|
|
|
2445
2444
|
* - Cancelled State: Separate variant prop (variant='cancelled') alongside value prop
|
|
2446
2445
|
*/
|
|
2447
2446
|
declare const ModProgressbar: {
|
|
2448
|
-
({ value, labelPosition, variant, labelText, ...props }: ModProgressbarProps):
|
|
2447
|
+
({ value, labelPosition, variant, labelText, ...props }: ModProgressbarProps): react.JSX.Element;
|
|
2449
2448
|
displayName: string;
|
|
2450
2449
|
};
|
|
2451
2450
|
|
|
@@ -2488,7 +2487,7 @@ interface ModQuickFilterProps {
|
|
|
2488
2487
|
* />
|
|
2489
2488
|
*/
|
|
2490
2489
|
declare const ModQuickFilter: {
|
|
2491
|
-
({ placeholder, onKeyDown, autoFocus, }: ModQuickFilterProps):
|
|
2490
|
+
({ placeholder, onKeyDown, autoFocus, }: ModQuickFilterProps): react.JSX.Element;
|
|
2492
2491
|
displayName: string;
|
|
2493
2492
|
};
|
|
2494
2493
|
|
|
@@ -2545,7 +2544,7 @@ interface ModRadioProps extends Omit<RadioProps, 'size'> {
|
|
|
2545
2544
|
* </RadioGroup>
|
|
2546
2545
|
*/
|
|
2547
2546
|
declare const ModRadio: {
|
|
2548
|
-
({ size, label, helperText, disabled, ...props }: ModRadioProps):
|
|
2547
|
+
({ size, label, helperText, disabled, ...props }: ModRadioProps): react.JSX.Element;
|
|
2549
2548
|
displayName: string;
|
|
2550
2549
|
};
|
|
2551
2550
|
|
|
@@ -2583,7 +2582,7 @@ interface ModSearchChipProps extends Omit<InputBaseProps, 'startAdornment' | 'en
|
|
|
2583
2582
|
* <ModSearchChip size="small" placeholder="Search titles" value={query} onChange={handleChange} />
|
|
2584
2583
|
*/
|
|
2585
2584
|
declare const ModSearchChip: {
|
|
2586
|
-
({ onClear, value, ...props }: ModSearchChipProps):
|
|
2585
|
+
({ onClear, value, ...props }: ModSearchChipProps): react.JSX.Element;
|
|
2587
2586
|
displayName: string;
|
|
2588
2587
|
};
|
|
2589
2588
|
|
|
@@ -2605,7 +2604,7 @@ type ModSelectProps = SelectProps;
|
|
|
2605
2604
|
* ```
|
|
2606
2605
|
*/
|
|
2607
2606
|
declare const ModSelect: {
|
|
2608
|
-
(props: ModSelectProps):
|
|
2607
|
+
(props: ModSelectProps): react.JSX.Element;
|
|
2609
2608
|
displayName: string;
|
|
2610
2609
|
};
|
|
2611
2610
|
|
|
@@ -2664,7 +2663,7 @@ interface ModSelectFieldProps extends Omit<SelectProps, 'size' | 'variant' | 'er
|
|
|
2664
2663
|
* />
|
|
2665
2664
|
*/
|
|
2666
2665
|
declare const ModSelectField: {
|
|
2667
|
-
({ size, destructive, label, required, infoIcon, helperText, errorMessage, options, children, disabled, id, ...selectProps }: ModSelectFieldProps):
|
|
2666
|
+
({ size, destructive, label, required, infoIcon, helperText, errorMessage, options, children, disabled, id, ...selectProps }: ModSelectFieldProps): react.JSX.Element;
|
|
2668
2667
|
displayName: string;
|
|
2669
2668
|
};
|
|
2670
2669
|
|
|
@@ -2698,7 +2697,7 @@ type ModSideNavProps = {
|
|
|
2698
2697
|
* and pass it in — see the `AutoCollapseOnResize` Storybook story for the
|
|
2699
2698
|
* pattern.
|
|
2700
2699
|
*/
|
|
2701
|
-
declare function ModSideNav({ collapsed, onCollapsedChange, header, footer, children, className, id, 'aria-label': ariaLabel, }: ModSideNavProps):
|
|
2700
|
+
declare function ModSideNav({ collapsed, onCollapsedChange, header, footer, children, className, id, 'aria-label': ariaLabel, }: ModSideNavProps): react.JSX.Element;
|
|
2702
2701
|
declare namespace ModSideNav {
|
|
2703
2702
|
var displayName: string;
|
|
2704
2703
|
}
|
|
@@ -2728,7 +2727,7 @@ interface ModSkeletonProps extends Omit<SkeletonProps, 'variant' | 'animation'>
|
|
|
2728
2727
|
* ```
|
|
2729
2728
|
*/
|
|
2730
2729
|
declare const ModSkeleton: {
|
|
2731
|
-
({ colorTheme, position, ...props }: ModSkeletonProps):
|
|
2730
|
+
({ colorTheme, position, ...props }: ModSkeletonProps): react.JSX.Element;
|
|
2732
2731
|
displayName: string;
|
|
2733
2732
|
};
|
|
2734
2733
|
|
|
@@ -2790,7 +2789,7 @@ interface ModTableProps extends Omit<TableProps, 'size'> {
|
|
|
2790
2789
|
* />
|
|
2791
2790
|
*/
|
|
2792
2791
|
declare const ModTable: {
|
|
2793
|
-
({ columns, rows, size, variant, ariaLabel, ...tableProps }: ModTableProps):
|
|
2792
|
+
({ columns, rows, size, variant, ariaLabel, ...tableProps }: ModTableProps): react.JSX.Element;
|
|
2794
2793
|
displayName: string;
|
|
2795
2794
|
};
|
|
2796
2795
|
|
|
@@ -2835,14 +2834,14 @@ interface ModTabPanelProps extends Omit<BoxProps, 'role'> {
|
|
|
2835
2834
|
* )
|
|
2836
2835
|
*/
|
|
2837
2836
|
declare const ModTabPanel: {
|
|
2838
|
-
({ value, currentValue, variant, children, ...boxProps }: ModTabPanelProps):
|
|
2837
|
+
({ value, currentValue, variant, children, ...boxProps }: ModTabPanelProps): react.JSX.Element;
|
|
2839
2838
|
displayName: string;
|
|
2840
2839
|
};
|
|
2841
2840
|
|
|
2842
2841
|
/**
|
|
2843
2842
|
* ModTabs - Tabs container component based on MUI Tabs
|
|
2844
2843
|
*/
|
|
2845
|
-
declare const ModTabs: StyledComponent<_mui_material.TabsOwnProps & _mui_material_OverridableComponent.CommonProps & Omit<
|
|
2844
|
+
declare const ModTabs: StyledComponent<_mui_material.TabsOwnProps & _mui_material_OverridableComponent.CommonProps & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "classes" | "slots" | "slotProps" | "className" | "action" | "children" | "sx" | "value" | "aria-label" | "aria-labelledby" | "onChange" | "orientation" | "variant" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "scrollButtons" | "selectionFollowsFocus" | "textColor" | "visibleScrollbar"> & _mui_system.MUIStyledCommonProps<_mui_material.Theme>, {}, {}>;
|
|
2846
2845
|
interface ModTabProps extends Omit<TabProps, 'label'> {
|
|
2847
2846
|
/**
|
|
2848
2847
|
* The label for the tab
|
|
@@ -2862,7 +2861,7 @@ interface ModTabProps extends Omit<TabProps, 'label'> {
|
|
|
2862
2861
|
* ModTab - Individual tab button component based on MUI Tab
|
|
2863
2862
|
*/
|
|
2864
2863
|
declare const ModTab: {
|
|
2865
|
-
({ label, count, ...props }: ModTabProps):
|
|
2864
|
+
({ label, count, ...props }: ModTabProps): react.JSX.Element;
|
|
2866
2865
|
displayName: string;
|
|
2867
2866
|
};
|
|
2868
2867
|
|
|
@@ -2910,7 +2909,7 @@ interface ModToastProps extends Omit<AlertProps, 'variant' | 'severity' | 'color
|
|
|
2910
2909
|
* ModToast - Notification/Toast component based on MUI Alert
|
|
2911
2910
|
*/
|
|
2912
2911
|
declare const ModToast: {
|
|
2913
|
-
({ intent, type: _type, title, message, showClose, actions, onClose, ...props }: ModToastProps):
|
|
2912
|
+
({ intent, type: _type, title, message, showClose, actions, onClose, ...props }: ModToastProps): react.JSX.Element;
|
|
2914
2913
|
displayName: string;
|
|
2915
2914
|
};
|
|
2916
2915
|
/**
|
|
@@ -2925,7 +2924,7 @@ declare const ModToastButton: {
|
|
|
2925
2924
|
*/
|
|
2926
2925
|
type?: ToastType;
|
|
2927
2926
|
children: ReactNode;
|
|
2928
|
-
} & Omit<React.ComponentProps<typeof Button>, "variant" | "type">):
|
|
2927
|
+
} & Omit<React.ComponentProps<typeof Button>, "variant" | "type">): react.JSX.Element;
|
|
2929
2928
|
displayName: string;
|
|
2930
2929
|
};
|
|
2931
2930
|
|
|
@@ -2975,7 +2974,7 @@ interface ModToggleProps extends Omit<SwitchProps, 'size'> {
|
|
|
2975
2974
|
* <ModToggle checked={isChecked} onChange={handleChange} label="Remember me" />
|
|
2976
2975
|
*/
|
|
2977
2976
|
declare const ModToggle: {
|
|
2978
|
-
({ size, label, helperText, disabled, ...props }: ModToggleProps):
|
|
2977
|
+
({ size, label, helperText, disabled, ...props }: ModToggleProps): react.JSX.Element;
|
|
2979
2978
|
displayName: string;
|
|
2980
2979
|
};
|
|
2981
2980
|
|
|
@@ -3008,7 +3007,7 @@ interface ModToggleButtonProps extends Omit<ToggleButtonProps, 'color' | 'size'>
|
|
|
3008
3007
|
* ("Table" / "Raw"). For page-level tabs, prefer ModButtonTab.
|
|
3009
3008
|
*/
|
|
3010
3009
|
declare const ModToggleButton: {
|
|
3011
|
-
({ children, size, variant, ...props }: ModToggleButtonProps):
|
|
3010
|
+
({ children, size, variant, ...props }: ModToggleButtonProps): react.JSX.Element;
|
|
3012
3011
|
displayName: string;
|
|
3013
3012
|
};
|
|
3014
3013
|
|
|
@@ -3039,7 +3038,7 @@ interface ModToggleButtonGroupProps extends Omit<ToggleButtonGroupProps, 'orient
|
|
|
3039
3038
|
* </ModToggleButtonGroup>
|
|
3040
3039
|
*/
|
|
3041
3040
|
declare const ModToggleButtonGroup: {
|
|
3042
|
-
({ size, variant, children, ...props }: ModToggleButtonGroupProps):
|
|
3041
|
+
({ size, variant, children, ...props }: ModToggleButtonGroupProps): react.JSX.Element;
|
|
3043
3042
|
displayName: string;
|
|
3044
3043
|
};
|
|
3045
3044
|
|
|
@@ -3089,7 +3088,7 @@ interface ModToolbarProps extends ToolbarProps {
|
|
|
3089
3088
|
* </ModToolbar>
|
|
3090
3089
|
*/
|
|
3091
3090
|
declare const ModToolbar: {
|
|
3092
|
-
({ children, ...props }: ModToolbarProps):
|
|
3091
|
+
({ children, ...props }: ModToolbarProps): react.JSX.Element;
|
|
3093
3092
|
displayName: string;
|
|
3094
3093
|
};
|
|
3095
3094
|
|
|
@@ -3132,7 +3131,7 @@ interface ModTooltipProps extends Omit<TooltipProps, 'title' | 'variant'> {
|
|
|
3132
3131
|
* - Typography: semanticTypography.tooltip (12px/1.5 line-height), fontWeight.semiBold (600) for the title
|
|
3133
3132
|
*/
|
|
3134
3133
|
declare const ModTooltip: {
|
|
3135
|
-
({ variant, title, description, children, arrow, placement, ...props }: ModTooltipProps):
|
|
3134
|
+
({ variant, title, description, children, arrow, placement, ...props }: ModTooltipProps): react.JSX.Element;
|
|
3136
3135
|
displayName: string;
|
|
3137
3136
|
};
|
|
3138
3137
|
|
|
@@ -3157,7 +3156,7 @@ type ModTreeItemProps = TreeItemProps;
|
|
|
3157
3156
|
*
|
|
3158
3157
|
* Slot data is read from the item model (passed via `items` on ModTreeView).
|
|
3159
3158
|
*/
|
|
3160
|
-
declare const ModTreeItem:
|
|
3159
|
+
declare const ModTreeItem: react.ForwardRefExoticComponent<TreeItemProps & react.RefAttributes<HTMLLIElement>>;
|
|
3161
3160
|
interface ModTreeViewProps extends Omit<RichTreeViewProProps<ModTreeItemData, false>, 'slots'> {
|
|
3162
3161
|
slots?: RichTreeViewProProps<ModTreeItemData, false>['slots'];
|
|
3163
3162
|
}
|
|
@@ -3168,11 +3167,11 @@ interface ModTreeViewProps extends Omit<RichTreeViewProProps<ModTreeItemData, fa
|
|
|
3168
3167
|
* and ModTreeItem as the default item slot.
|
|
3169
3168
|
*/
|
|
3170
3169
|
declare const ModTreeView: {
|
|
3171
|
-
({ slots, ...props }: ModTreeViewProps):
|
|
3170
|
+
({ slots, ...props }: ModTreeViewProps): react.JSX.Element;
|
|
3172
3171
|
displayName: string;
|
|
3173
3172
|
};
|
|
3174
3173
|
|
|
3175
|
-
declare const StyledToggleButton: StyledComponent<_mui_material.ToggleButtonOwnProps & Omit<_mui_material.ButtonBaseOwnProps, keyof _mui_material.ToggleButtonOwnProps> & Omit<_mui_material.ButtonBaseOwnProps, "type" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | keyof _mui_material.ToggleButtonOwnProps> & _mui_material_OverridableComponent.CommonProps & Omit<
|
|
3174
|
+
declare const StyledToggleButton: StyledComponent<_mui_material.ToggleButtonOwnProps & Omit<_mui_material.ButtonBaseOwnProps, keyof _mui_material.ToggleButtonOwnProps> & Omit<_mui_material.ButtonBaseOwnProps, "type" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | keyof _mui_material.ToggleButtonOwnProps> & _mui_material_OverridableComponent.CommonProps & Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "color" | "disabled" | "size" | "classes" | "type" | "className" | "action" | "centerRipple" | "children" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "value" | "onChange" | "onClick" | "disableFocusRipple" | "fullWidth" | "selected"> & _mui_system.MUIStyledCommonProps<_mui_material.Theme>, {}, {}>;
|
|
3176
3175
|
interface ModTypologyControlProps extends Omit<ToggleButtonGroupProps, 'orientation'> {
|
|
3177
3176
|
}
|
|
3178
3177
|
/**
|
|
@@ -3186,7 +3185,7 @@ interface ModTypologyControlProps extends Omit<ToggleButtonGroupProps, 'orientat
|
|
|
3186
3185
|
* - borderRadius.m - container border radius
|
|
3187
3186
|
*/
|
|
3188
3187
|
declare const ModTypologyControl: {
|
|
3189
|
-
({ children, ...props }: ModTypologyControlProps):
|
|
3188
|
+
({ children, ...props }: ModTypologyControlProps): react.JSX.Element;
|
|
3190
3189
|
displayName: string;
|
|
3191
3190
|
};
|
|
3192
3191
|
|