@moderneinc/design-system-components 7.7.0-next.19b91c → 7.7.0-next.411072
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 +7 -5
- 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 +98 -98
- package/dist/index.esm.js +6099 -5876
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6099 -5875
- package/dist/index.js.map +1 -1
- package/package.json +16 -16
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 {
|
|
@@ -523,7 +522,8 @@ type ModButtonOwnProps = {
|
|
|
523
522
|
*/
|
|
524
523
|
size?: ButtonSize;
|
|
525
524
|
/**
|
|
526
|
-
* Show loading spinner
|
|
525
|
+
* Show a loading spinner in place of `startIcon` (or `endIcon`), or over the label when
|
|
526
|
+
* there is no icon. The button keeps its width either way.
|
|
527
527
|
* @default false
|
|
528
528
|
*/
|
|
529
529
|
loading?: boolean;
|
|
@@ -544,13 +544,13 @@ type ModButtonOwnProps = {
|
|
|
544
544
|
*/
|
|
545
545
|
endIcon?: ReactNode;
|
|
546
546
|
};
|
|
547
|
-
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> & {
|
|
548
548
|
component?: C;
|
|
549
549
|
};
|
|
550
550
|
/**
|
|
551
|
-
* ModButton - Text button component based on MUI
|
|
551
|
+
* ModButton - Text button component based on MUI Button
|
|
552
552
|
*/
|
|
553
|
-
declare function ModButton<C extends ElementType = typeof ButtonBase>({ variant, size, loading, children,
|
|
553
|
+
declare function ModButton<C extends ElementType = typeof ButtonBase>({ variant, size, loading, children, startIcon, endIcon, ...rest }: ModButtonProps<C>): react__default.JSX.Element;
|
|
554
554
|
declare namespace ModButton {
|
|
555
555
|
var displayName: string;
|
|
556
556
|
}
|
|
@@ -567,7 +567,7 @@ interface ModButtonTabProps extends Omit<ToggleButtonProps, 'color'> {
|
|
|
567
567
|
* ModButtonTab - A tab-style toggle button for use within ModButtonGroup
|
|
568
568
|
*/
|
|
569
569
|
declare const ModButtonTab: {
|
|
570
|
-
({ children, ...props }: ModButtonTabProps):
|
|
570
|
+
({ children, ...props }: ModButtonTabProps): react.JSX.Element;
|
|
571
571
|
displayName: string;
|
|
572
572
|
};
|
|
573
573
|
|
|
@@ -597,7 +597,7 @@ interface ModButtonTabGroupProps extends Omit<ToggleButtonGroupProps, 'orientati
|
|
|
597
597
|
* ```
|
|
598
598
|
*/
|
|
599
599
|
declare const ModButtonTabGroup: {
|
|
600
|
-
({ size, exclusive, ...props }: ModButtonTabGroupProps):
|
|
600
|
+
({ size, exclusive, ...props }: ModButtonTabGroupProps): react.JSX.Element;
|
|
601
601
|
displayName: string;
|
|
602
602
|
};
|
|
603
603
|
|
|
@@ -608,7 +608,7 @@ declare const ModButtonTabGroup: {
|
|
|
608
608
|
* a 10% fill tint); set it via the `color`/`sx` prop or a parent.
|
|
609
609
|
*/
|
|
610
610
|
declare const ModCanceledIcon: {
|
|
611
|
-
(props: SvgIconProps):
|
|
611
|
+
(props: SvgIconProps): react.JSX.Element;
|
|
612
612
|
displayName: string;
|
|
613
613
|
};
|
|
614
614
|
|
|
@@ -639,7 +639,7 @@ interface ModCardLargeProps extends Omit<CardProps, 'children' | 'title'> {
|
|
|
639
639
|
}
|
|
640
640
|
type ModCardProps = ModCardSmallProps | ModCardLargeProps;
|
|
641
641
|
declare const ModCard: {
|
|
642
|
-
(props: ModCardProps):
|
|
642
|
+
(props: ModCardProps): react.JSX.Element;
|
|
643
643
|
displayName: string;
|
|
644
644
|
};
|
|
645
645
|
|
|
@@ -768,7 +768,7 @@ interface ModCheckboxProps extends Omit<CheckboxProps, 'size'> {
|
|
|
768
768
|
* <ModCheckbox indeterminate={true} label="Select all" />
|
|
769
769
|
*/
|
|
770
770
|
declare const ModCheckbox: {
|
|
771
|
-
({ size, label, helperText, disabled, icon, checkedIcon, indeterminateIcon, className, ...props }: ModCheckboxProps):
|
|
771
|
+
({ size, label, helperText, disabled, icon, checkedIcon, indeterminateIcon, className, ...props }: ModCheckboxProps): react.JSX.Element;
|
|
772
772
|
displayName: string;
|
|
773
773
|
};
|
|
774
774
|
|
|
@@ -798,7 +798,7 @@ interface ModCheckboxWithTextProps extends Omit<ModCheckboxProps, 'size'> {
|
|
|
798
798
|
* component to the existing ModCheckbox with label + helperText.
|
|
799
799
|
*/
|
|
800
800
|
declare const ModCheckboxWithText: {
|
|
801
|
-
({ size, ...props }: ModCheckboxWithTextProps):
|
|
801
|
+
({ size, ...props }: ModCheckboxWithTextProps): react.JSX.Element;
|
|
802
802
|
displayName: string;
|
|
803
803
|
};
|
|
804
804
|
|
|
@@ -834,7 +834,7 @@ interface ModCodeSnippetProps extends Omit<ButtonBaseProps, 'children'> {
|
|
|
834
834
|
* ModCodeSnippet - Inline code snippet component based on MUI ButtonBase
|
|
835
835
|
*/
|
|
836
836
|
declare const ModCodeSnippet: {
|
|
837
|
-
({ variant, size, endIcon, children, ...props }: ModCodeSnippetProps):
|
|
837
|
+
({ variant, size, endIcon, children, ...props }: ModCodeSnippetProps): react.JSX.Element;
|
|
838
838
|
displayName: string;
|
|
839
839
|
};
|
|
840
840
|
|
|
@@ -890,7 +890,7 @@ interface ModDataGridProps extends Omit<DataGridProProps, 'slots'> {
|
|
|
890
890
|
* footerOffsetSelector="#page-footer"
|
|
891
891
|
* />
|
|
892
892
|
*/
|
|
893
|
-
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;
|
|
894
894
|
declare namespace ModDataGrid {
|
|
895
895
|
var displayName: string;
|
|
896
896
|
}
|
|
@@ -946,7 +946,7 @@ interface ModDataGridCellContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
946
946
|
* )
|
|
947
947
|
*/
|
|
948
948
|
declare const ModDataGridCellContent: {
|
|
949
|
-
({ children, ...props }: ModDataGridCellContentProps):
|
|
949
|
+
({ children, ...props }: ModDataGridCellContentProps): react.JSX.Element;
|
|
950
950
|
displayName: string;
|
|
951
951
|
};
|
|
952
952
|
/**
|
|
@@ -976,7 +976,7 @@ interface ModStatusBadgeCellProps {
|
|
|
976
976
|
colorMap?: Record<string, 'default' | 'error' | 'info' | 'success' | 'warning'>;
|
|
977
977
|
}
|
|
978
978
|
declare const ModStatusBadgeCell: {
|
|
979
|
-
({ status, colorMap }: ModStatusBadgeCellProps):
|
|
979
|
+
({ status, colorMap }: ModStatusBadgeCellProps): react.JSX.Element;
|
|
980
980
|
displayName: string;
|
|
981
981
|
};
|
|
982
982
|
/**
|
|
@@ -996,7 +996,7 @@ interface ModUserAvatarCellProps {
|
|
|
996
996
|
size?: 'small' | 'medium';
|
|
997
997
|
}
|
|
998
998
|
declare const ModUserAvatarCell: {
|
|
999
|
-
({ name, avatarUrl, size }: ModUserAvatarCellProps):
|
|
999
|
+
({ name, avatarUrl, size }: ModUserAvatarCellProps): react.JSX.Element;
|
|
1000
1000
|
displayName: string;
|
|
1001
1001
|
};
|
|
1002
1002
|
/**
|
|
@@ -1021,7 +1021,7 @@ interface ModMultiBadgesCellProps {
|
|
|
1021
1021
|
}>;
|
|
1022
1022
|
}
|
|
1023
1023
|
declare const ModMultiBadgesCell: {
|
|
1024
|
-
({ badges }: ModMultiBadgesCellProps):
|
|
1024
|
+
({ badges }: ModMultiBadgesCellProps): react.JSX.Element;
|
|
1025
1025
|
displayName: string;
|
|
1026
1026
|
};
|
|
1027
1027
|
|
|
@@ -1036,7 +1036,7 @@ declare const ModMultiBadgesCell: {
|
|
|
1036
1036
|
* <ModDataGridColumnsButton />
|
|
1037
1037
|
* ```
|
|
1038
1038
|
*/
|
|
1039
|
-
declare function ModDataGridColumnsButton():
|
|
1039
|
+
declare function ModDataGridColumnsButton(): react.JSX.Element;
|
|
1040
1040
|
declare namespace ModDataGridColumnsButton {
|
|
1041
1041
|
var displayName: string;
|
|
1042
1042
|
}
|
|
@@ -1046,15 +1046,15 @@ declare namespace ModDataGridColumnsButton {
|
|
|
1046
1046
|
* These must be passed to the DataGrid's slots prop
|
|
1047
1047
|
*/
|
|
1048
1048
|
declare const ModDataGridFilterPanelAddIcon: {
|
|
1049
|
-
():
|
|
1049
|
+
(): react__default.JSX.Element;
|
|
1050
1050
|
displayName: string;
|
|
1051
1051
|
};
|
|
1052
1052
|
declare const ModDataGridFilterPanelDeleteIcon: {
|
|
1053
|
-
():
|
|
1053
|
+
(): react__default.JSX.Element;
|
|
1054
1054
|
displayName: string;
|
|
1055
1055
|
};
|
|
1056
1056
|
declare const ModDataGridFilterPanelRemoveAllIcon: {
|
|
1057
|
-
():
|
|
1057
|
+
(): react__default.JSX.Element;
|
|
1058
1058
|
displayName: string;
|
|
1059
1059
|
};
|
|
1060
1060
|
type ModDataGridSelectProps = GridSlotProps['baseSelect'];
|
|
@@ -1101,7 +1101,7 @@ declare const ModDataGridSelect: GridSlotsComponent['baseSelect'];
|
|
|
1101
1101
|
* ```
|
|
1102
1102
|
*/
|
|
1103
1103
|
declare const ModDataGridFilterPanel: {
|
|
1104
|
-
(props:
|
|
1104
|
+
(props: react__default.ComponentProps<typeof GridFilterPanel>): react__default.JSX.Element;
|
|
1105
1105
|
displayName: string;
|
|
1106
1106
|
};
|
|
1107
1107
|
|
|
@@ -1117,7 +1117,7 @@ declare const ModDataGridFilterPanel: {
|
|
|
1117
1117
|
* <ModDataGridFiltersButton />
|
|
1118
1118
|
* ```
|
|
1119
1119
|
*/
|
|
1120
|
-
declare function ModDataGridFiltersButton():
|
|
1120
|
+
declare function ModDataGridFiltersButton(): react.JSX.Element;
|
|
1121
1121
|
declare namespace ModDataGridFiltersButton {
|
|
1122
1122
|
var displayName: string;
|
|
1123
1123
|
}
|
|
@@ -1127,9 +1127,9 @@ declare namespace ModDataGridFiltersButton {
|
|
|
1127
1127
|
*
|
|
1128
1128
|
* Use these with DataGrid's slots API to replace default sort indicators.
|
|
1129
1129
|
*/
|
|
1130
|
-
declare function SortedDescendingIcon():
|
|
1131
|
-
declare function SortedAscendingIcon():
|
|
1132
|
-
declare function UnsortedIcon():
|
|
1130
|
+
declare function SortedDescendingIcon(): react.JSX.Element;
|
|
1131
|
+
declare function SortedAscendingIcon(): react.JSX.Element;
|
|
1132
|
+
declare function UnsortedIcon(): react.JSX.Element;
|
|
1133
1133
|
|
|
1134
1134
|
interface ModDataGridHeaderLabelProps {
|
|
1135
1135
|
/**
|
|
@@ -1146,7 +1146,7 @@ interface ModDataGridHeaderLabelProps {
|
|
|
1146
1146
|
*/
|
|
1147
1147
|
className?: string;
|
|
1148
1148
|
}
|
|
1149
|
-
declare function ModDataGridHeaderLabel({ children, helpTooltip, className, }: ModDataGridHeaderLabelProps):
|
|
1149
|
+
declare function ModDataGridHeaderLabel({ children, helpTooltip, className, }: ModDataGridHeaderLabelProps): react.JSX.Element;
|
|
1150
1150
|
|
|
1151
1151
|
type DatePickerType = 'single' | 'range';
|
|
1152
1152
|
/**
|
|
@@ -1237,7 +1237,7 @@ interface ModDatePickerProps {
|
|
|
1237
1237
|
* - borderRadius: borderRadius.l (20px)
|
|
1238
1238
|
*/
|
|
1239
1239
|
declare const ModDatePicker: {
|
|
1240
|
-
({ 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;
|
|
1241
1241
|
displayName: string;
|
|
1242
1242
|
};
|
|
1243
1243
|
|
|
@@ -1267,7 +1267,7 @@ interface ModDividerProps extends DividerProps {
|
|
|
1267
1267
|
* ```
|
|
1268
1268
|
*/
|
|
1269
1269
|
declare const ModDivider: {
|
|
1270
|
-
(props: ModDividerProps):
|
|
1270
|
+
(props: ModDividerProps): react.JSX.Element;
|
|
1271
1271
|
displayName: string;
|
|
1272
1272
|
};
|
|
1273
1273
|
|
|
@@ -1302,7 +1302,7 @@ interface ModDotProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'>
|
|
|
1302
1302
|
* ModDot - Status indicator dot.
|
|
1303
1303
|
*/
|
|
1304
1304
|
declare const ModDot: {
|
|
1305
|
-
({ size, variant, color, children, ...props }: ModDotProps):
|
|
1305
|
+
({ size, variant, color, children, ...props }: ModDotProps): react.JSX.Element;
|
|
1306
1306
|
displayName: string;
|
|
1307
1307
|
};
|
|
1308
1308
|
|
|
@@ -1346,7 +1346,7 @@ interface ModDownloadToastProps extends Omit<PaperProps, 'title'> {
|
|
|
1346
1346
|
* ModDownloadToast - Standalone download progress toast notification
|
|
1347
1347
|
*/
|
|
1348
1348
|
declare const ModDownloadToast: {
|
|
1349
|
-
({ title, fileName, progress, showClose, showPause, onClose, onPause, actions, ...props }: ModDownloadToastProps):
|
|
1349
|
+
({ title, fileName, progress, showClose, showPause, onClose, onPause, actions, ...props }: ModDownloadToastProps): react.JSX.Element;
|
|
1350
1350
|
displayName: string;
|
|
1351
1351
|
};
|
|
1352
1352
|
|
|
@@ -1363,31 +1363,31 @@ declare const ModDownloadToast: {
|
|
|
1363
1363
|
*/
|
|
1364
1364
|
type ModFilledStatusIconProps = Omit<SvgIconProps, 'color' | 'htmlColor'>;
|
|
1365
1365
|
declare const ModFilledSuccess: {
|
|
1366
|
-
(props: ModFilledStatusIconProps):
|
|
1366
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1367
1367
|
displayName: string;
|
|
1368
1368
|
};
|
|
1369
1369
|
declare const ModFilledQueued: {
|
|
1370
|
-
(props: ModFilledStatusIconProps):
|
|
1370
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1371
1371
|
displayName: string;
|
|
1372
1372
|
};
|
|
1373
1373
|
declare const ModFilledInfo: {
|
|
1374
|
-
(props: ModFilledStatusIconProps):
|
|
1374
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1375
1375
|
displayName: string;
|
|
1376
1376
|
};
|
|
1377
1377
|
declare const ModFilledWarning: {
|
|
1378
|
-
(props: ModFilledStatusIconProps):
|
|
1378
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1379
1379
|
displayName: string;
|
|
1380
1380
|
};
|
|
1381
1381
|
declare const ModFilledError: {
|
|
1382
|
-
(props: ModFilledStatusIconProps):
|
|
1382
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1383
1383
|
displayName: string;
|
|
1384
1384
|
};
|
|
1385
1385
|
declare const ModFilledNeutral: {
|
|
1386
|
-
(props: ModFilledStatusIconProps):
|
|
1386
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1387
1387
|
displayName: string;
|
|
1388
1388
|
};
|
|
1389
1389
|
declare const ModFilledCanceled: {
|
|
1390
|
-
(props: ModFilledStatusIconProps):
|
|
1390
|
+
(props: ModFilledStatusIconProps): react.JSX.Element;
|
|
1391
1391
|
displayName: string;
|
|
1392
1392
|
};
|
|
1393
1393
|
|
|
@@ -1427,7 +1427,7 @@ interface ModFilterChipProps extends Omit<ChipProps, 'variant' | 'color' | 'labe
|
|
|
1427
1427
|
* <ModFilterChip label="Status" selected selectedLabel="Active, Pending" count={2} onClear={handleClear} />
|
|
1428
1428
|
*/
|
|
1429
1429
|
declare const ModFilterChip: {
|
|
1430
|
-
({ label, selected, expanded, selectedLabel, count, onClear, onClick, ...props }: ModFilterChipProps):
|
|
1430
|
+
({ label, selected, expanded, selectedLabel, count, onClear, onClick, ...props }: ModFilterChipProps): react.JSX.Element;
|
|
1431
1431
|
displayName: string;
|
|
1432
1432
|
};
|
|
1433
1433
|
|
|
@@ -1450,7 +1450,7 @@ interface ModGeneralAvatarProps extends Omit<AvatarProps, 'variant'> {
|
|
|
1450
1450
|
* ModGeneralAvatar - Avatar with image or colored initials display
|
|
1451
1451
|
*/
|
|
1452
1452
|
declare const ModGeneralAvatar: {
|
|
1453
|
-
({ size, colorIndex, alt, src, children, ...props }: ModGeneralAvatarProps):
|
|
1453
|
+
({ size, colorIndex, alt, src, children, ...props }: ModGeneralAvatarProps): react.JSX.Element;
|
|
1454
1454
|
displayName: string;
|
|
1455
1455
|
};
|
|
1456
1456
|
|
|
@@ -1490,7 +1490,7 @@ interface ModIconButtonProps extends Omit<ButtonBaseProps, 'children' | 'size'>
|
|
|
1490
1490
|
* icon-only sizing. For the `nav` variant, uses a standalone MUI IconButton with custom styling.
|
|
1491
1491
|
*/
|
|
1492
1492
|
declare const ModIconButton: {
|
|
1493
|
-
({ size, variant, active, loading, children, ...props }: ModIconButtonProps):
|
|
1493
|
+
({ size, variant, active, loading, children, ...props }: ModIconButtonProps): react.JSX.Element;
|
|
1494
1494
|
displayName: string;
|
|
1495
1495
|
};
|
|
1496
1496
|
|
|
@@ -1510,7 +1510,7 @@ interface ModIconWrapperProps extends Omit<HTMLAttributes<HTMLDivElement>, 'colo
|
|
|
1510
1510
|
* ModIconWrapper - Flex-centered container that sizes icons
|
|
1511
1511
|
*/
|
|
1512
1512
|
declare const ModIconWrapper: {
|
|
1513
|
-
({ size, children, ...props }: ModIconWrapperProps):
|
|
1513
|
+
({ size, children, ...props }: ModIconWrapperProps): react.JSX.Element;
|
|
1514
1514
|
displayName: string;
|
|
1515
1515
|
};
|
|
1516
1516
|
|
|
@@ -1552,7 +1552,7 @@ interface ModInfiniteScrollGridProps extends Omit<ModDataGridProps, 'slots'> {
|
|
|
1552
1552
|
* loading={isLoading}
|
|
1553
1553
|
* />
|
|
1554
1554
|
*/
|
|
1555
|
-
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;
|
|
1556
1556
|
declare namespace ModInfiniteScrollGrid {
|
|
1557
1557
|
var displayName: string;
|
|
1558
1558
|
}
|
|
@@ -1606,7 +1606,7 @@ interface ModInputFieldProps extends Omit<InputBaseProps, 'size'> {
|
|
|
1606
1606
|
* ModInputField - Form input field component using MUI FormControl composition
|
|
1607
1607
|
*/
|
|
1608
1608
|
declare const ModInputField: {
|
|
1609
|
-
({ 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;
|
|
1610
1610
|
displayName: string;
|
|
1611
1611
|
};
|
|
1612
1612
|
|
|
@@ -1684,7 +1684,7 @@ interface ModListItemProps extends Omit<ListItemButtonProps, 'children' | 'size'
|
|
|
1684
1684
|
* - semanticColors.buttons.tertiary.disabled (disabled text color)
|
|
1685
1685
|
*/
|
|
1686
1686
|
declare const ModListItem: {
|
|
1687
|
-
({ size, primaryText, secondaryText, badge, icon, isLink, trailingElement, component, ...props }: ModListItemProps):
|
|
1687
|
+
({ size, primaryText, secondaryText, badge, icon, isLink, trailingElement, component, ...props }: ModListItemProps): react.JSX.Element;
|
|
1688
1688
|
displayName: string;
|
|
1689
1689
|
};
|
|
1690
1690
|
|
|
@@ -1747,7 +1747,7 @@ interface ModListItemButtonProps extends ListItemButtonProps {
|
|
|
1747
1747
|
* - semanticColors.surface.sunken - Disabled background
|
|
1748
1748
|
*/
|
|
1749
1749
|
declare const ModListItemButton: {
|
|
1750
|
-
({ children, selected, disabled, variant, ...props }: ModListItemButtonProps):
|
|
1750
|
+
({ children, selected, disabled, variant, ...props }: ModListItemButtonProps): react.JSX.Element;
|
|
1751
1751
|
displayName: string;
|
|
1752
1752
|
};
|
|
1753
1753
|
|
|
@@ -1776,7 +1776,7 @@ interface ModLoadingSpinnerProps {
|
|
|
1776
1776
|
* <ModLoadingSpinner size={32} color="#ff0000" />
|
|
1777
1777
|
*/
|
|
1778
1778
|
declare const ModLoadingSpinner: {
|
|
1779
|
-
({ size, color, }: ModLoadingSpinnerProps):
|
|
1779
|
+
({ size, color, }: ModLoadingSpinnerProps): react.JSX.Element;
|
|
1780
1780
|
displayName: string;
|
|
1781
1781
|
};
|
|
1782
1782
|
|
|
@@ -1806,7 +1806,7 @@ interface ModMenuProps extends MenuProps {
|
|
|
1806
1806
|
* ```
|
|
1807
1807
|
*/
|
|
1808
1808
|
declare const ModMenu: {
|
|
1809
|
-
({ children, ...props }: ModMenuProps):
|
|
1809
|
+
({ children, ...props }: ModMenuProps): react.JSX.Element;
|
|
1810
1810
|
displayName: string;
|
|
1811
1811
|
};
|
|
1812
1812
|
|
|
@@ -1895,7 +1895,7 @@ type ModMenuItemProps<C extends ElementType = typeof MenuItem> = ModMenuItemOwnP
|
|
|
1895
1895
|
* <ModMenuItem component={NextLink} href="/api-explorer">API explorer</ModMenuItem>
|
|
1896
1896
|
* ```
|
|
1897
1897
|
*/
|
|
1898
|
-
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;
|
|
1899
1899
|
declare namespace ModMenuItem {
|
|
1900
1900
|
var displayName: string;
|
|
1901
1901
|
}
|
|
@@ -1906,7 +1906,7 @@ interface ModActionsCellProps extends Omit<GridRenderCellParams, 'api'> {
|
|
|
1906
1906
|
position?: 'bottom-end' | 'bottom-start' | 'top-end' | 'top-start';
|
|
1907
1907
|
suppressChildrenValidation?: boolean;
|
|
1908
1908
|
}
|
|
1909
|
-
declare function ModActionsCell(props: ModActionsCellProps):
|
|
1909
|
+
declare function ModActionsCell(props: ModActionsCellProps): react.JSX.Element;
|
|
1910
1910
|
|
|
1911
1911
|
type ModAvatarCellBase = {
|
|
1912
1912
|
disabled?: boolean;
|
|
@@ -1928,7 +1928,7 @@ type ModAvatarCellProps = ModAvatarCellEmpty | ModAvatarCellContent;
|
|
|
1928
1928
|
* ModAvatarCell — DataGrid cell displaying a user avatar with optional label.
|
|
1929
1929
|
*/
|
|
1930
1930
|
declare const ModAvatarCell: {
|
|
1931
|
-
({ name, src, label, disabled, empty, }: ModAvatarCellProps):
|
|
1931
|
+
({ name, src, label, disabled, empty, }: ModAvatarCellProps): react.JSX.Element;
|
|
1932
1932
|
displayName: string;
|
|
1933
1933
|
};
|
|
1934
1934
|
|
|
@@ -1959,7 +1959,7 @@ interface ModModalProps extends Omit<DialogProps, 'children'> {
|
|
|
1959
1959
|
* </ModModal>
|
|
1960
1960
|
*/
|
|
1961
1961
|
declare const ModModal: {
|
|
1962
|
-
({ children, ...props }: ModModalProps):
|
|
1962
|
+
({ children, ...props }: ModModalProps): react.JSX.Element;
|
|
1963
1963
|
displayName: string;
|
|
1964
1964
|
};
|
|
1965
1965
|
interface ModModalHeaderProps {
|
|
@@ -2002,7 +2002,7 @@ interface ModModalHeaderProps {
|
|
|
2002
2002
|
* ModModalHeader - Header section with title, optional subtitle, and close button
|
|
2003
2003
|
*/
|
|
2004
2004
|
declare const ModModalHeader: {
|
|
2005
|
-
({ title, subtitle, href, LinkComponent, onClose, hideCloseButton, children, }: ModModalHeaderProps):
|
|
2005
|
+
({ title, subtitle, href, LinkComponent, onClose, hideCloseButton, children, }: ModModalHeaderProps): react.JSX.Element;
|
|
2006
2006
|
displayName: string;
|
|
2007
2007
|
};
|
|
2008
2008
|
interface ModModalContentProps {
|
|
@@ -2015,7 +2015,7 @@ interface ModModalContentProps {
|
|
|
2015
2015
|
* ModModalContent - Main content area of the modal
|
|
2016
2016
|
*/
|
|
2017
2017
|
declare const ModModalContent: {
|
|
2018
|
-
({ children }: ModModalContentProps):
|
|
2018
|
+
({ children }: ModModalContentProps): react.JSX.Element;
|
|
2019
2019
|
displayName: string;
|
|
2020
2020
|
};
|
|
2021
2021
|
interface ModModalFooterProps {
|
|
@@ -2032,7 +2032,7 @@ interface ModModalFooterProps {
|
|
|
2032
2032
|
* ModModalFooter - Footer section with optional leading content and action buttons
|
|
2033
2033
|
*/
|
|
2034
2034
|
declare const ModModalFooter: {
|
|
2035
|
-
({ leadingContent, children }: ModModalFooterProps):
|
|
2035
|
+
({ leadingContent, children }: ModModalFooterProps): react.JSX.Element;
|
|
2036
2036
|
displayName: string;
|
|
2037
2037
|
};
|
|
2038
2038
|
|
|
@@ -2045,7 +2045,7 @@ interface ModIconCellProps {
|
|
|
2045
2045
|
* ModIconCell — Icon cell for DataGrid. Renders an icon centered in the cell.
|
|
2046
2046
|
*/
|
|
2047
2047
|
declare const ModIconCell: {
|
|
2048
|
-
({ icon, ariaLabel, disabled }: ModIconCellProps):
|
|
2048
|
+
({ icon, ariaLabel, disabled }: ModIconCellProps): react.JSX.Element | null;
|
|
2049
2049
|
displayName: string;
|
|
2050
2050
|
};
|
|
2051
2051
|
|
|
@@ -2068,7 +2068,7 @@ type ModLogoCellProps = ModLogoCellNoSrc | ModLogoCellWithSrc;
|
|
|
2068
2068
|
* - ModLogoCell: raster or SVG image URLs (img tag)
|
|
2069
2069
|
*/
|
|
2070
2070
|
declare const ModLogoCell: {
|
|
2071
|
-
({ src, alt, disabled }: ModLogoCellProps):
|
|
2071
|
+
({ src, alt, disabled }: ModLogoCellProps): react.JSX.Element;
|
|
2072
2072
|
displayName: string;
|
|
2073
2073
|
};
|
|
2074
2074
|
|
|
@@ -2088,7 +2088,7 @@ type ModProgressCellProps = ModProgressCellEmpty | ModProgressCellContent;
|
|
|
2088
2088
|
* ModProgressCell — DataGrid cell displaying a linear progress indicator.
|
|
2089
2089
|
*/
|
|
2090
2090
|
declare const ModProgressCell: {
|
|
2091
|
-
({ value, disabled, empty, }: ModProgressCellProps):
|
|
2091
|
+
({ value, disabled, empty, }: ModProgressCellProps): react.JSX.Element;
|
|
2092
2092
|
displayName: string;
|
|
2093
2093
|
};
|
|
2094
2094
|
|
|
@@ -2116,7 +2116,7 @@ type ModStatusCellProps = ModStatusCellEmpty | ModStatusCellContent;
|
|
|
2116
2116
|
* ModStatusCell — DataGrid cell displaying an icon + label chip with optional error tooltip.
|
|
2117
2117
|
*/
|
|
2118
2118
|
declare const ModStatusCell: {
|
|
2119
|
-
({ icon, label, details, disabled, variant, empty, }: ModStatusCellProps):
|
|
2119
|
+
({ icon, label, details, disabled, variant, empty, }: ModStatusCellProps): react.JSX.Element;
|
|
2120
2120
|
displayName: string;
|
|
2121
2121
|
};
|
|
2122
2122
|
|
|
@@ -2129,7 +2129,7 @@ interface ModNavigationAvatarProps extends Omit<ModGeneralAvatarProps, 'size'> {
|
|
|
2129
2129
|
* providing an interactive area for navigation UI.
|
|
2130
2130
|
*/
|
|
2131
2131
|
declare const ModNavigationAvatar: {
|
|
2132
|
-
({ children, ...props }: ModNavigationAvatarProps):
|
|
2132
|
+
({ children, ...props }: ModNavigationAvatarProps): react.JSX.Element;
|
|
2133
2133
|
displayName: string;
|
|
2134
2134
|
};
|
|
2135
2135
|
|
|
@@ -2177,7 +2177,7 @@ type ModTagProps<C extends ElementType = typeof Chip> = ModTagOwnProps & Omit<Ch
|
|
|
2177
2177
|
/**
|
|
2178
2178
|
* ModTag - Small label component based on MUI Chip
|
|
2179
2179
|
*/
|
|
2180
|
-
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;
|
|
2181
2181
|
declare namespace ModTag {
|
|
2182
2182
|
var displayName: string;
|
|
2183
2183
|
}
|
|
@@ -2229,7 +2229,7 @@ type ModNavigationItemProps<C extends ElementType = typeof ButtonBase> = ModNavi
|
|
|
2229
2229
|
/**
|
|
2230
2230
|
* ModNavigationItem - Vertical navigation item with icon, label, and optional tag
|
|
2231
2231
|
*/
|
|
2232
|
-
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;
|
|
2233
2233
|
declare namespace ModNavigationItem {
|
|
2234
2234
|
var displayName: string;
|
|
2235
2235
|
}
|
|
@@ -2377,7 +2377,7 @@ interface ModPageContentProps extends BoxProps {
|
|
|
2377
2377
|
* </ModPageContent>
|
|
2378
2378
|
* ```
|
|
2379
2379
|
*/
|
|
2380
|
-
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;
|
|
2381
2381
|
declare namespace ModPageContent {
|
|
2382
2382
|
var displayName: string;
|
|
2383
2383
|
}
|
|
@@ -2408,7 +2408,7 @@ interface ModPaginatedGridProps extends Omit<ModDataGridProps, 'slots'> {
|
|
|
2408
2408
|
* rowCount={100}
|
|
2409
2409
|
* />
|
|
2410
2410
|
*/
|
|
2411
|
-
declare function ModPaginatedGrid({ slots, pageSizeOptions, slotProps: userSlotProps, ...props }: ModPaginatedGridProps):
|
|
2411
|
+
declare function ModPaginatedGrid({ slots, pageSizeOptions, slotProps: userSlotProps, ...props }: ModPaginatedGridProps): react.JSX.Element;
|
|
2412
2412
|
declare namespace ModPaginatedGrid {
|
|
2413
2413
|
var displayName: string;
|
|
2414
2414
|
}
|
|
@@ -2444,7 +2444,7 @@ interface ModProgressbarProps extends Omit<LinearProgressProps, 'variant'> {
|
|
|
2444
2444
|
* - Cancelled State: Separate variant prop (variant='cancelled') alongside value prop
|
|
2445
2445
|
*/
|
|
2446
2446
|
declare const ModProgressbar: {
|
|
2447
|
-
({ value, labelPosition, variant, labelText, ...props }: ModProgressbarProps):
|
|
2447
|
+
({ value, labelPosition, variant, labelText, ...props }: ModProgressbarProps): react.JSX.Element;
|
|
2448
2448
|
displayName: string;
|
|
2449
2449
|
};
|
|
2450
2450
|
|
|
@@ -2487,7 +2487,7 @@ interface ModQuickFilterProps {
|
|
|
2487
2487
|
* />
|
|
2488
2488
|
*/
|
|
2489
2489
|
declare const ModQuickFilter: {
|
|
2490
|
-
({ placeholder, onKeyDown, autoFocus, }: ModQuickFilterProps):
|
|
2490
|
+
({ placeholder, onKeyDown, autoFocus, }: ModQuickFilterProps): react.JSX.Element;
|
|
2491
2491
|
displayName: string;
|
|
2492
2492
|
};
|
|
2493
2493
|
|
|
@@ -2544,7 +2544,7 @@ interface ModRadioProps extends Omit<RadioProps, 'size'> {
|
|
|
2544
2544
|
* </RadioGroup>
|
|
2545
2545
|
*/
|
|
2546
2546
|
declare const ModRadio: {
|
|
2547
|
-
({ size, label, helperText, disabled, ...props }: ModRadioProps):
|
|
2547
|
+
({ size, label, helperText, disabled, ...props }: ModRadioProps): react.JSX.Element;
|
|
2548
2548
|
displayName: string;
|
|
2549
2549
|
};
|
|
2550
2550
|
|
|
@@ -2582,7 +2582,7 @@ interface ModSearchChipProps extends Omit<InputBaseProps, 'startAdornment' | 'en
|
|
|
2582
2582
|
* <ModSearchChip size="small" placeholder="Search titles" value={query} onChange={handleChange} />
|
|
2583
2583
|
*/
|
|
2584
2584
|
declare const ModSearchChip: {
|
|
2585
|
-
({ onClear, value, ...props }: ModSearchChipProps):
|
|
2585
|
+
({ onClear, value, ...props }: ModSearchChipProps): react.JSX.Element;
|
|
2586
2586
|
displayName: string;
|
|
2587
2587
|
};
|
|
2588
2588
|
|
|
@@ -2604,7 +2604,7 @@ type ModSelectProps = SelectProps;
|
|
|
2604
2604
|
* ```
|
|
2605
2605
|
*/
|
|
2606
2606
|
declare const ModSelect: {
|
|
2607
|
-
(props: ModSelectProps):
|
|
2607
|
+
(props: ModSelectProps): react.JSX.Element;
|
|
2608
2608
|
displayName: string;
|
|
2609
2609
|
};
|
|
2610
2610
|
|
|
@@ -2663,7 +2663,7 @@ interface ModSelectFieldProps extends Omit<SelectProps, 'size' | 'variant' | 'er
|
|
|
2663
2663
|
* />
|
|
2664
2664
|
*/
|
|
2665
2665
|
declare const ModSelectField: {
|
|
2666
|
-
({ 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;
|
|
2667
2667
|
displayName: string;
|
|
2668
2668
|
};
|
|
2669
2669
|
|
|
@@ -2697,7 +2697,7 @@ type ModSideNavProps = {
|
|
|
2697
2697
|
* and pass it in — see the `AutoCollapseOnResize` Storybook story for the
|
|
2698
2698
|
* pattern.
|
|
2699
2699
|
*/
|
|
2700
|
-
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;
|
|
2701
2701
|
declare namespace ModSideNav {
|
|
2702
2702
|
var displayName: string;
|
|
2703
2703
|
}
|
|
@@ -2727,7 +2727,7 @@ interface ModSkeletonProps extends Omit<SkeletonProps, 'variant' | 'animation'>
|
|
|
2727
2727
|
* ```
|
|
2728
2728
|
*/
|
|
2729
2729
|
declare const ModSkeleton: {
|
|
2730
|
-
({ colorTheme, position, ...props }: ModSkeletonProps):
|
|
2730
|
+
({ colorTheme, position, ...props }: ModSkeletonProps): react.JSX.Element;
|
|
2731
2731
|
displayName: string;
|
|
2732
2732
|
};
|
|
2733
2733
|
|
|
@@ -2789,7 +2789,7 @@ interface ModTableProps extends Omit<TableProps, 'size'> {
|
|
|
2789
2789
|
* />
|
|
2790
2790
|
*/
|
|
2791
2791
|
declare const ModTable: {
|
|
2792
|
-
({ columns, rows, size, variant, ariaLabel, ...tableProps }: ModTableProps):
|
|
2792
|
+
({ columns, rows, size, variant, ariaLabel, ...tableProps }: ModTableProps): react.JSX.Element;
|
|
2793
2793
|
displayName: string;
|
|
2794
2794
|
};
|
|
2795
2795
|
|
|
@@ -2834,14 +2834,14 @@ interface ModTabPanelProps extends Omit<BoxProps, 'role'> {
|
|
|
2834
2834
|
* )
|
|
2835
2835
|
*/
|
|
2836
2836
|
declare const ModTabPanel: {
|
|
2837
|
-
({ value, currentValue, variant, children, ...boxProps }: ModTabPanelProps):
|
|
2837
|
+
({ value, currentValue, variant, children, ...boxProps }: ModTabPanelProps): react.JSX.Element;
|
|
2838
2838
|
displayName: string;
|
|
2839
2839
|
};
|
|
2840
2840
|
|
|
2841
2841
|
/**
|
|
2842
2842
|
* ModTabs - Tabs container component based on MUI Tabs
|
|
2843
2843
|
*/
|
|
2844
|
-
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>, {}, {}>;
|
|
2845
2845
|
interface ModTabProps extends Omit<TabProps, 'label'> {
|
|
2846
2846
|
/**
|
|
2847
2847
|
* The label for the tab
|
|
@@ -2861,7 +2861,7 @@ interface ModTabProps extends Omit<TabProps, 'label'> {
|
|
|
2861
2861
|
* ModTab - Individual tab button component based on MUI Tab
|
|
2862
2862
|
*/
|
|
2863
2863
|
declare const ModTab: {
|
|
2864
|
-
({ label, count, ...props }: ModTabProps):
|
|
2864
|
+
({ label, count, ...props }: ModTabProps): react.JSX.Element;
|
|
2865
2865
|
displayName: string;
|
|
2866
2866
|
};
|
|
2867
2867
|
|
|
@@ -2909,7 +2909,7 @@ interface ModToastProps extends Omit<AlertProps, 'variant' | 'severity' | 'color
|
|
|
2909
2909
|
* ModToast - Notification/Toast component based on MUI Alert
|
|
2910
2910
|
*/
|
|
2911
2911
|
declare const ModToast: {
|
|
2912
|
-
({ intent, type: _type, title, message, showClose, actions, onClose, ...props }: ModToastProps):
|
|
2912
|
+
({ intent, type: _type, title, message, showClose, actions, onClose, ...props }: ModToastProps): react.JSX.Element;
|
|
2913
2913
|
displayName: string;
|
|
2914
2914
|
};
|
|
2915
2915
|
/**
|
|
@@ -2924,7 +2924,7 @@ declare const ModToastButton: {
|
|
|
2924
2924
|
*/
|
|
2925
2925
|
type?: ToastType;
|
|
2926
2926
|
children: ReactNode;
|
|
2927
|
-
} & Omit<React.ComponentProps<typeof Button>, "variant" | "type">):
|
|
2927
|
+
} & Omit<React.ComponentProps<typeof Button>, "variant" | "type">): react.JSX.Element;
|
|
2928
2928
|
displayName: string;
|
|
2929
2929
|
};
|
|
2930
2930
|
|
|
@@ -2974,7 +2974,7 @@ interface ModToggleProps extends Omit<SwitchProps, 'size'> {
|
|
|
2974
2974
|
* <ModToggle checked={isChecked} onChange={handleChange} label="Remember me" />
|
|
2975
2975
|
*/
|
|
2976
2976
|
declare const ModToggle: {
|
|
2977
|
-
({ size, label, helperText, disabled, ...props }: ModToggleProps):
|
|
2977
|
+
({ size, label, helperText, disabled, ...props }: ModToggleProps): react.JSX.Element;
|
|
2978
2978
|
displayName: string;
|
|
2979
2979
|
};
|
|
2980
2980
|
|
|
@@ -3007,7 +3007,7 @@ interface ModToggleButtonProps extends Omit<ToggleButtonProps, 'color' | 'size'>
|
|
|
3007
3007
|
* ("Table" / "Raw"). For page-level tabs, prefer ModButtonTab.
|
|
3008
3008
|
*/
|
|
3009
3009
|
declare const ModToggleButton: {
|
|
3010
|
-
({ children, size, variant, ...props }: ModToggleButtonProps):
|
|
3010
|
+
({ children, size, variant, ...props }: ModToggleButtonProps): react.JSX.Element;
|
|
3011
3011
|
displayName: string;
|
|
3012
3012
|
};
|
|
3013
3013
|
|
|
@@ -3038,7 +3038,7 @@ interface ModToggleButtonGroupProps extends Omit<ToggleButtonGroupProps, 'orient
|
|
|
3038
3038
|
* </ModToggleButtonGroup>
|
|
3039
3039
|
*/
|
|
3040
3040
|
declare const ModToggleButtonGroup: {
|
|
3041
|
-
({ size, variant, children, ...props }: ModToggleButtonGroupProps):
|
|
3041
|
+
({ size, variant, children, ...props }: ModToggleButtonGroupProps): react.JSX.Element;
|
|
3042
3042
|
displayName: string;
|
|
3043
3043
|
};
|
|
3044
3044
|
|
|
@@ -3088,7 +3088,7 @@ interface ModToolbarProps extends ToolbarProps {
|
|
|
3088
3088
|
* </ModToolbar>
|
|
3089
3089
|
*/
|
|
3090
3090
|
declare const ModToolbar: {
|
|
3091
|
-
({ children, ...props }: ModToolbarProps):
|
|
3091
|
+
({ children, ...props }: ModToolbarProps): react.JSX.Element;
|
|
3092
3092
|
displayName: string;
|
|
3093
3093
|
};
|
|
3094
3094
|
|
|
@@ -3131,7 +3131,7 @@ interface ModTooltipProps extends Omit<TooltipProps, 'title' | 'variant'> {
|
|
|
3131
3131
|
* - Typography: semanticTypography.tooltip (12px/1.5 line-height), fontWeight.semiBold (600) for the title
|
|
3132
3132
|
*/
|
|
3133
3133
|
declare const ModTooltip: {
|
|
3134
|
-
({ variant, title, description, children, arrow, placement, ...props }: ModTooltipProps):
|
|
3134
|
+
({ variant, title, description, children, arrow, placement, ...props }: ModTooltipProps): react.JSX.Element;
|
|
3135
3135
|
displayName: string;
|
|
3136
3136
|
};
|
|
3137
3137
|
|
|
@@ -3156,7 +3156,7 @@ type ModTreeItemProps = TreeItemProps;
|
|
|
3156
3156
|
*
|
|
3157
3157
|
* Slot data is read from the item model (passed via `items` on ModTreeView).
|
|
3158
3158
|
*/
|
|
3159
|
-
declare const ModTreeItem:
|
|
3159
|
+
declare const ModTreeItem: react.ForwardRefExoticComponent<TreeItemProps & react.RefAttributes<HTMLLIElement>>;
|
|
3160
3160
|
interface ModTreeViewProps extends Omit<RichTreeViewProProps<ModTreeItemData, false>, 'slots'> {
|
|
3161
3161
|
slots?: RichTreeViewProProps<ModTreeItemData, false>['slots'];
|
|
3162
3162
|
}
|
|
@@ -3167,11 +3167,11 @@ interface ModTreeViewProps extends Omit<RichTreeViewProProps<ModTreeItemData, fa
|
|
|
3167
3167
|
* and ModTreeItem as the default item slot.
|
|
3168
3168
|
*/
|
|
3169
3169
|
declare const ModTreeView: {
|
|
3170
|
-
({ slots, ...props }: ModTreeViewProps):
|
|
3170
|
+
({ slots, ...props }: ModTreeViewProps): react.JSX.Element;
|
|
3171
3171
|
displayName: string;
|
|
3172
3172
|
};
|
|
3173
3173
|
|
|
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<
|
|
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>, {}, {}>;
|
|
3175
3175
|
interface ModTypologyControlProps extends Omit<ToggleButtonGroupProps, 'orientation'> {
|
|
3176
3176
|
}
|
|
3177
3177
|
/**
|
|
@@ -3185,7 +3185,7 @@ interface ModTypologyControlProps extends Omit<ToggleButtonGroupProps, 'orientat
|
|
|
3185
3185
|
* - borderRadius.m - container border radius
|
|
3186
3186
|
*/
|
|
3187
3187
|
declare const ModTypologyControl: {
|
|
3188
|
-
({ children, ...props }: ModTypologyControlProps):
|
|
3188
|
+
({ children, ...props }: ModTypologyControlProps): react.JSX.Element;
|
|
3189
3189
|
displayName: string;
|
|
3190
3190
|
};
|
|
3191
3191
|
|