@moderneinc/design-system-components 7.7.0-next.fc1a3c → 8.0.0-alpha.c3d9f8

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.
Files changed (86) hide show
  1. package/README.md +20 -0
  2. package/dist/ActivityHeader/ActivityHeader.d.ts +1 -1
  3. package/dist/ActivityIndicatorCell/ActivityIndicatorCell.d.ts +1 -1
  4. package/dist/Alert/Alert.d.ts +1 -1
  5. package/dist/Badge/Badge.d.ts +1 -1
  6. package/dist/Banner/Banner.d.ts +1 -1
  7. package/dist/Breadcrumbs/Breadcrumbs.d.ts +2 -2
  8. package/dist/Button/Button.d.ts +7 -5
  9. package/dist/ButtonTab/ButtonTab.d.ts +1 -1
  10. package/dist/ButtonTabGroup/ButtonTabGroup.d.ts +1 -1
  11. package/dist/CanceledIcon/CanceledIcon.d.ts +1 -1
  12. package/dist/Card/Card.d.ts +1 -1
  13. package/dist/Checkbox/Checkbox.d.ts +1 -1
  14. package/dist/CheckboxWithText/CheckboxWithText.d.ts +1 -1
  15. package/dist/CodeSnippet/CodeSnippet.d.ts +1 -1
  16. package/dist/DataGrid/DataGrid.d.ts +2 -2
  17. package/dist/DataGridCell/DataGridCell.d.ts +4 -4
  18. package/dist/DataGridColumnsButton/DataGridColumnsButton.d.ts +1 -1
  19. package/dist/DataGridColumnsPanel/DataGridColumnsPanel.d.ts +1 -1
  20. package/dist/DataGridFilterPanel/DataGridFilterPanel.d.ts +4 -4
  21. package/dist/DataGridFiltersButton/DataGridFiltersButton.d.ts +1 -1
  22. package/dist/DataGridHeaderCell/DataGridHeaderCell.d.ts +3 -3
  23. package/dist/DataGridHeaderLabel/DataGridHeaderLabel.d.ts +1 -1
  24. package/dist/DatePicker/DatePicker.d.ts +1 -1
  25. package/dist/DateTimeCell/DateTimeCell.d.ts +1 -1
  26. package/dist/Divider/Divider.d.ts +1 -1
  27. package/dist/Dot/Dot.d.ts +1 -1
  28. package/dist/DownloadToast/DownloadToast.d.ts +1 -1
  29. package/dist/DropdownInputField/DropdownInputField.d.ts +1 -1
  30. package/dist/EmptyState/EmptyState.d.ts +1 -1
  31. package/dist/FilledStatusIcons/FilledStatusIcons.d.ts +7 -7
  32. package/dist/FilterChip/FilterChip.d.ts +1 -1
  33. package/dist/Footer/Footer.d.ts +1 -1
  34. package/dist/GeneralAvatar/GeneralAvatar.d.ts +1 -1
  35. package/dist/IconButton/IconButton.d.ts +1 -1
  36. package/dist/IconWrapper/IconWrapper.d.ts +1 -1
  37. package/dist/InfiniteScrollGrid/InfiniteScrollGrid.d.ts +1 -1
  38. package/dist/InputField/InputField.d.ts +4 -4
  39. package/dist/LinkCell/LinkCell.d.ts +1 -1
  40. package/dist/ListItem/ListItem.d.ts +1 -1
  41. package/dist/ListItemButton/ListItemButton.d.ts +1 -1
  42. package/dist/LoadingSpinner/LoadingSpinner.d.ts +1 -1
  43. package/dist/Menu/Menu.d.ts +1 -1
  44. package/dist/MenuItem/MenuItem.d.ts +1 -1
  45. package/dist/ModActionsCell/ModActionsCell.d.ts +2 -2
  46. package/dist/ModAvatarCell/ModAvatarCell.d.ts +1 -1
  47. package/dist/ModIconCell/ModIconCell.d.ts +1 -1
  48. package/dist/ModLogoCell/ModLogoCell.d.ts +1 -1
  49. package/dist/ModProgressCell/ModProgressCell.d.ts +1 -1
  50. package/dist/ModStatusCell/ModStatusCell.d.ts +1 -1
  51. package/dist/Modal/Modal.d.ts +4 -4
  52. package/dist/NavIconButton/NavIconButton.d.ts +1 -1
  53. package/dist/NavigationAvatar/NavigationAvatar.d.ts +1 -1
  54. package/dist/NavigationItem/NavigationItem.d.ts +1 -1
  55. package/dist/PageContent/PageContent.d.ts +7 -1
  56. package/dist/PaginatedGrid/PaginatedGrid.d.ts +1 -1
  57. package/dist/ProgressSpinner/ProgressSpinner.d.ts +1 -1
  58. package/dist/Progressbar/Progressbar.d.ts +1 -1
  59. package/dist/QuickFilter/QuickFilter.d.ts +1 -1
  60. package/dist/Radio/Radio.d.ts +1 -1
  61. package/dist/SearchChip/SearchChip.d.ts +1 -1
  62. package/dist/Select/Select.d.ts +1 -1
  63. package/dist/SelectField/SelectField.d.ts +1 -1
  64. package/dist/SideNav/SideNav.d.ts +9 -1
  65. package/dist/Skeleton/Skeleton.d.ts +1 -1
  66. package/dist/TabPanel/TabPanel.d.ts +1 -1
  67. package/dist/Table/Table.d.ts +1 -1
  68. package/dist/Tabs/Tabs.d.ts +4 -3
  69. package/dist/Tag/Tag.d.ts +1 -1
  70. package/dist/Toast/Toast.d.ts +2 -2
  71. package/dist/Toggle/Toggle.d.ts +1 -1
  72. package/dist/ToggleButton/ToggleButton.d.ts +1 -1
  73. package/dist/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  74. package/dist/Toolbar/Toolbar.d.ts +7 -1
  75. package/dist/Tooltip/Tooltip.d.ts +2 -2
  76. package/dist/Tree/Tree.d.ts +12 -1
  77. package/dist/TypologyControl/TypologyControl.d.ts +2 -2
  78. package/dist/index.d.ts +142 -102
  79. package/dist/index.esm.js +6898 -5901
  80. package/dist/index.esm.js.map +1 -1
  81. package/dist/index.js +6897 -5898
  82. package/dist/index.js.map +1 -1
  83. package/dist/utils/OverflowActions.d.ts +14 -0
  84. package/dist/utils/formatCount.d.ts +3 -0
  85. package/dist/utils/responsive.d.ts +26 -0
  86. package/package.json +17 -17
@@ -17,7 +17,7 @@ export type ModLogoCellProps = ModLogoCellNoSrc | ModLogoCellWithSrc;
17
17
  * - ModLogoCell: raster or SVG image URLs (img tag)
18
18
  */
19
19
  export declare const ModLogoCell: {
20
- ({ src, alt, disabled }: ModLogoCellProps): import("react/jsx-runtime").JSX.Element;
20
+ ({ src, alt, disabled }: ModLogoCellProps): import("react").JSX.Element;
21
21
  displayName: string;
22
22
  };
23
23
  export {};
@@ -14,7 +14,7 @@ export type ModProgressCellProps = ModProgressCellEmpty | ModProgressCellContent
14
14
  * ModProgressCell — DataGrid cell displaying a linear progress indicator.
15
15
  */
16
16
  export declare const ModProgressCell: {
17
- ({ value, disabled, empty, }: ModProgressCellProps): import("react/jsx-runtime").JSX.Element;
17
+ ({ value, disabled, empty, }: ModProgressCellProps): import("react").JSX.Element;
18
18
  displayName: string;
19
19
  };
20
20
  export {};
@@ -23,7 +23,7 @@ export type ModStatusCellProps = ModStatusCellEmpty | ModStatusCellContent;
23
23
  * ModStatusCell — DataGrid cell displaying an icon + label chip with optional error tooltip.
24
24
  */
25
25
  export declare const ModStatusCell: {
26
- ({ icon, label, details, disabled, variant, empty, }: ModStatusCellProps): import("react/jsx-runtime").JSX.Element;
26
+ ({ icon, label, details, disabled, variant, empty, }: ModStatusCellProps): import("react").JSX.Element;
27
27
  displayName: string;
28
28
  };
29
29
  export {};
@@ -28,7 +28,7 @@ export interface ModModalProps extends Omit<DialogProps, 'children'> {
28
28
  * </ModModal>
29
29
  */
30
30
  export declare const ModModal: {
31
- ({ children, ...props }: ModModalProps): import("react/jsx-runtime").JSX.Element;
31
+ ({ children, ...props }: ModModalProps): import("react").JSX.Element;
32
32
  displayName: string;
33
33
  };
34
34
  export interface ModModalHeaderProps {
@@ -71,7 +71,7 @@ export interface ModModalHeaderProps {
71
71
  * ModModalHeader - Header section with title, optional subtitle, and close button
72
72
  */
73
73
  export declare const ModModalHeader: {
74
- ({ title, subtitle, href, LinkComponent, onClose, hideCloseButton, children, }: ModModalHeaderProps): import("react/jsx-runtime").JSX.Element;
74
+ ({ title, subtitle, href, LinkComponent, onClose, hideCloseButton, children, }: ModModalHeaderProps): import("react").JSX.Element;
75
75
  displayName: string;
76
76
  };
77
77
  export interface ModModalContentProps {
@@ -84,7 +84,7 @@ export interface ModModalContentProps {
84
84
  * ModModalContent - Main content area of the modal
85
85
  */
86
86
  export declare const ModModalContent: {
87
- ({ children }: ModModalContentProps): import("react/jsx-runtime").JSX.Element;
87
+ ({ children }: ModModalContentProps): import("react").JSX.Element;
88
88
  displayName: string;
89
89
  };
90
90
  export interface ModModalFooterProps {
@@ -101,6 +101,6 @@ export interface ModModalFooterProps {
101
101
  * ModModalFooter - Footer section with optional leading content and action buttons
102
102
  */
103
103
  export declare const ModModalFooter: {
104
- ({ leadingContent, children }: ModModalFooterProps): import("react/jsx-runtime").JSX.Element;
104
+ ({ leadingContent, children }: ModModalFooterProps): import("react").JSX.Element;
105
105
  displayName: string;
106
106
  };
@@ -12,6 +12,6 @@ export interface ModNavIconButtonProps {
12
12
  * ModNavIconButton — scaffold placeholder, not yet implemented.
13
13
  */
14
14
  export declare const ModNavIconButton: {
15
- ({ children, ...props }: ModNavIconButtonProps): import("react/jsx-runtime").JSX.Element;
15
+ ({ children, ...props }: ModNavIconButtonProps): import("react").JSX.Element;
16
16
  displayName: string;
17
17
  };
@@ -8,6 +8,6 @@ export interface ModNavigationAvatarProps extends Omit<ModGeneralAvatarProps, 's
8
8
  * providing an interactive area for navigation UI.
9
9
  */
10
10
  export declare const ModNavigationAvatar: {
11
- ({ children, ...props }: ModNavigationAvatarProps): import("react/jsx-runtime").JSX.Element;
11
+ ({ children, ...props }: ModNavigationAvatarProps): import("react").JSX.Element;
12
12
  displayName: string;
13
13
  };
@@ -48,7 +48,7 @@ export type ModNavigationItemProps<C extends ElementType = typeof ButtonBase> =
48
48
  /**
49
49
  * ModNavigationItem - Vertical navigation item with icon, label, and optional tag
50
50
  */
51
- export declare function ModNavigationItem<C extends ElementType = typeof ButtonBase>({ icon, label, selected, tag, tooltip, slotProps, children, ...props }: ModNavigationItemProps<C>): import("react/jsx-runtime").JSX.Element;
51
+ export declare function ModNavigationItem<C extends ElementType = typeof ButtonBase>({ icon, label, selected, tag, tooltip, slotProps, children, ...props }: ModNavigationItemProps<C>): import("react").JSX.Element;
52
52
  export declare namespace ModNavigationItem {
53
53
  var displayName: string;
54
54
  }
@@ -1,6 +1,7 @@
1
1
  import type { BoxProps } from '@mui/material/Box';
2
2
  import type { Breakpoint } from '@mui/material/styles';
3
3
  import type { ElementType, ReactNode } from 'react';
4
+ import { type ModAction } from '../utils/OverflowActions';
4
5
  /**
5
6
  * Breadcrumb item configuration
6
7
  */
@@ -49,6 +50,11 @@ export interface ModPageContentProps extends BoxProps {
49
50
  * Action button displayed in the top-right corner
50
51
  */
51
52
  action?: ReactNode;
53
+ /**
54
+ * Structured actions shown after `action`. Below `md`, all but the first move into a
55
+ * "More actions" menu.
56
+ */
57
+ actions?: ModAction[];
52
58
  /**
53
59
  * Make header sticky on scroll
54
60
  * @default false
@@ -144,7 +150,7 @@ export interface ModPageContentProps extends BoxProps {
144
150
  * </ModPageContent>
145
151
  * ```
146
152
  */
147
- export declare function ModPageContent({ pageTitle, subtitle, breadcrumbs, action, sticky, contentMaxWidth: contentMaxWidthProp, centerContent, disableGutters: disableGuttersProp, isLoading, showBackToTop, layout, children, sx, ...boxProps }: ModPageContentProps): import("react/jsx-runtime").JSX.Element;
153
+ export declare function ModPageContent({ pageTitle, subtitle, breadcrumbs, action, actions, sticky, contentMaxWidth: contentMaxWidthProp, centerContent, disableGutters: disableGuttersProp, isLoading, showBackToTop, layout, children, sx, ...boxProps }: ModPageContentProps): import("react").JSX.Element;
148
154
  export declare namespace ModPageContent {
149
155
  var displayName: string;
150
156
  }
@@ -26,7 +26,7 @@ export interface ModPaginatedGridProps extends Omit<ModDataGridProps, 'slots'> {
26
26
  * rowCount={100}
27
27
  * />
28
28
  */
29
- export declare function ModPaginatedGrid({ slots, pageSizeOptions, slotProps: userSlotProps, ...props }: ModPaginatedGridProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare function ModPaginatedGrid({ slots, pageSizeOptions, slotProps: userSlotProps, ...props }: ModPaginatedGridProps): import("react").JSX.Element;
30
30
  export declare namespace ModPaginatedGrid {
31
31
  var displayName: string;
32
32
  }
@@ -12,6 +12,6 @@ export interface ModProgressSpinnerProps {
12
12
  * ModProgressSpinner — scaffold placeholder, not yet implemented.
13
13
  */
14
14
  export declare const ModProgressSpinner: {
15
- ({ children, ...props }: ModProgressSpinnerProps): import("react/jsx-runtime").JSX.Element;
15
+ ({ children, ...props }: ModProgressSpinnerProps): import("react").JSX.Element;
16
16
  displayName: string;
17
17
  };
@@ -30,6 +30,6 @@ export interface ModProgressbarProps extends Omit<LinearProgressProps, 'variant'
30
30
  * - Cancelled State: Separate variant prop (variant='cancelled') alongside value prop
31
31
  */
32
32
  export declare const ModProgressbar: {
33
- ({ value, labelPosition, variant, labelText, ...props }: ModProgressbarProps): import("react/jsx-runtime").JSX.Element;
33
+ ({ value, labelPosition, variant, labelText, ...props }: ModProgressbarProps): import("react").JSX.Element;
34
34
  displayName: string;
35
35
  };
@@ -37,6 +37,6 @@ export interface ModQuickFilterProps {
37
37
  * />
38
38
  */
39
39
  export declare const ModQuickFilter: {
40
- ({ placeholder, onKeyDown, autoFocus, }: ModQuickFilterProps): import("react/jsx-runtime").JSX.Element;
40
+ ({ placeholder, onKeyDown, autoFocus, }: ModQuickFilterProps): import("react").JSX.Element;
41
41
  displayName: string;
42
42
  };
@@ -53,7 +53,7 @@ export interface ModRadioProps extends Omit<RadioProps, 'size'> {
53
53
  * </RadioGroup>
54
54
  */
55
55
  export declare const ModRadio: {
56
- ({ size, label, helperText, disabled, ...props }: ModRadioProps): import("react/jsx-runtime").JSX.Element;
56
+ ({ size, label, helperText, disabled, ...props }: ModRadioProps): import("react").JSX.Element;
57
57
  displayName: string;
58
58
  };
59
59
  export {};
@@ -22,7 +22,7 @@ export interface ModSearchChipProps extends Omit<InputBaseProps, 'startAdornment
22
22
  * <ModSearchChip size="small" placeholder="Search titles" value={query} onChange={handleChange} />
23
23
  */
24
24
  export declare const ModSearchChip: {
25
- ({ onClear, value, ...props }: ModSearchChipProps): import("react/jsx-runtime").JSX.Element;
25
+ ({ onClear, value, ...props }: ModSearchChipProps): import("react").JSX.Element;
26
26
  displayName: string;
27
27
  };
28
28
  export {};
@@ -18,7 +18,7 @@ export type ModSelectProps = MuiSelectProps;
18
18
  * ```
19
19
  */
20
20
  export declare const ModSelect: {
21
- (props: ModSelectProps): import("react/jsx-runtime").JSX.Element;
21
+ (props: ModSelectProps): import("react").JSX.Element;
22
22
  displayName: string;
23
23
  };
24
24
  export { ModMenuItem as ModSelectOption };
@@ -57,7 +57,7 @@ export interface ModSelectFieldProps extends Omit<SelectProps, 'size' | 'variant
57
57
  * />
58
58
  */
59
59
  export declare const ModSelectField: {
60
- ({ size, destructive, label, required, infoIcon, helperText, errorMessage, options, children, disabled, id, ...selectProps }: ModSelectFieldProps): import("react/jsx-runtime").JSX.Element;
60
+ ({ size, destructive, label, required, infoIcon, helperText, errorMessage, options, children, disabled, id, ...selectProps }: ModSelectFieldProps): import("react").JSX.Element;
61
61
  displayName: string;
62
62
  };
63
63
  export { ModSelectOption };
@@ -10,6 +10,14 @@ export type ModSideNavProps = {
10
10
  footer?: ReactNode;
11
11
  /** Scrolling content slot — the nav items. */
12
12
  children?: ReactNode;
13
+ /** Below `md` the rail renders as a temporary drawer; this controls whether it is open. */
14
+ mobileOpen?: boolean;
15
+ /**
16
+ * Called when the drawer asks to close (backdrop, Escape, a nav item or link was activated, or
17
+ * the window widened past `md`). Passing it enables the drawer below `md`; pass it on every
18
+ * render path, including desktop, so a drawer left open is closed when the window widens.
19
+ */
20
+ onMobileOpenChange?: (open: boolean) => void;
13
21
  } & Pick<ComponentPropsWithoutRef<'nav'>, 'className' | 'id' | 'aria-label'>;
14
22
  /**
15
23
  * ModSideNav
@@ -27,7 +35,7 @@ export type ModSideNavProps = {
27
35
  * and pass it in — see the `AutoCollapseOnResize` Storybook story for the
28
36
  * pattern.
29
37
  */
30
- export declare function ModSideNav({ collapsed, onCollapsedChange, header, footer, children, className, id, 'aria-label': ariaLabel, }: ModSideNavProps): import("react/jsx-runtime").JSX.Element;
38
+ export declare function ModSideNav({ collapsed, onCollapsedChange, header, footer, children, className, id, 'aria-label': ariaLabel, mobileOpen, onMobileOpenChange, }: ModSideNavProps): import("react").JSX.Element;
31
39
  export declare namespace ModSideNav {
32
40
  var displayName: string;
33
41
  }
@@ -24,6 +24,6 @@ export interface ModSkeletonProps extends Omit<SkeletonProps, 'variant' | 'anima
24
24
  * ```
25
25
  */
26
26
  export declare const ModSkeleton: {
27
- ({ colorTheme, position, ...props }: ModSkeletonProps): import("react/jsx-runtime").JSX.Element;
27
+ ({ colorTheme, position, ...props }: ModSkeletonProps): import("react").JSX.Element;
28
28
  displayName: string;
29
29
  };
@@ -41,7 +41,7 @@ export interface ModTabPanelProps extends Omit<BoxProps, 'role'> {
41
41
  * )
42
42
  */
43
43
  export declare const ModTabPanel: {
44
- ({ value, currentValue, variant, children, ...boxProps }: ModTabPanelProps): import("react/jsx-runtime").JSX.Element;
44
+ ({ value, currentValue, variant, children, ...boxProps }: ModTabPanelProps): import("react").JSX.Element;
45
45
  displayName: string;
46
46
  };
47
47
  export {};
@@ -58,7 +58,7 @@ export interface ModTableProps extends Omit<TableProps, 'size'> {
58
58
  * />
59
59
  */
60
60
  export declare const ModTable: {
61
- ({ columns, rows, size, variant, ariaLabel, ...tableProps }: ModTableProps): import("react/jsx-runtime").JSX.Element;
61
+ ({ columns, rows, size, variant, ariaLabel, ...tableProps }: ModTableProps): import("react").JSX.Element;
62
62
  displayName: string;
63
63
  };
64
64
  export {};
@@ -1,9 +1,10 @@
1
1
  import { type TabProps } from '@mui/material/Tab';
2
- import type { ReactNode } from 'react';
2
+ import { type TabsProps } from '@mui/material/Tabs';
3
+ import { type ReactNode } from 'react';
3
4
  /**
4
5
  * ModTabs - Tabs container component based on MUI Tabs
5
6
  */
6
- export declare const ModTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("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"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
7
+ export declare const ModTabs: import("react").ForwardRefExoticComponent<Omit<TabsProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
8
  export interface ModTabProps extends Omit<TabProps, 'label'> {
8
9
  /**
9
10
  * The label for the tab
@@ -23,6 +24,6 @@ export interface ModTabProps extends Omit<TabProps, 'label'> {
23
24
  * ModTab - Individual tab button component based on MUI Tab
24
25
  */
25
26
  export declare const ModTab: {
26
- ({ label, count, ...props }: ModTabProps): import("react/jsx-runtime").JSX.Element;
27
+ ({ label, count, ...props }: ModTabProps): import("react").JSX.Element;
27
28
  displayName: string;
28
29
  };
package/dist/Tag/Tag.d.ts CHANGED
@@ -44,7 +44,7 @@ export type ModTagProps<C extends ElementType = typeof Chip> = ModTagOwnProps &
44
44
  /**
45
45
  * ModTag - Small label component based on MUI Chip
46
46
  */
47
- export declare function ModTag<C extends ElementType = typeof Chip>({ size, variant, intent, shape, ...props }: ModTagProps<C>): import("react/jsx-runtime").JSX.Element;
47
+ export declare function ModTag<C extends ElementType = typeof Chip>({ size, variant, intent, shape, ...props }: ModTagProps<C>): import("react").JSX.Element;
48
48
  export declare namespace ModTag {
49
49
  var displayName: string;
50
50
  }
@@ -45,7 +45,7 @@ export interface ModToastProps extends Omit<AlertProps, 'variant' | 'severity' |
45
45
  * ModToast - Notification/Toast component based on MUI Alert
46
46
  */
47
47
  export declare const ModToast: {
48
- ({ intent, type: _type, title, message, showClose, actions, onClose, ...props }: ModToastProps): import("react/jsx-runtime").JSX.Element;
48
+ ({ intent, type: _type, title, message, showClose, actions, onClose, ...props }: ModToastProps): import("react").JSX.Element;
49
49
  displayName: string;
50
50
  };
51
51
  /**
@@ -60,7 +60,7 @@ export declare const ModToastButton: {
60
60
  */
61
61
  type?: ToastType;
62
62
  children: ReactNode;
63
- } & Omit<React.ComponentProps<typeof Button>, "variant" | "type">): import("react/jsx-runtime").JSX.Element;
63
+ } & Omit<React.ComponentProps<typeof Button>, "variant" | "type">): import("react").JSX.Element;
64
64
  displayName: string;
65
65
  };
66
66
  export {};
@@ -46,7 +46,7 @@ export interface ModToggleProps extends Omit<SwitchProps, 'size'> {
46
46
  * <ModToggle checked={isChecked} onChange={handleChange} label="Remember me" />
47
47
  */
48
48
  export declare const ModToggle: {
49
- ({ size, label, helperText, disabled, ...props }: ModToggleProps): import("react/jsx-runtime").JSX.Element;
49
+ ({ size, label, helperText, disabled, ...props }: ModToggleProps): import("react").JSX.Element;
50
50
  displayName: string;
51
51
  };
52
52
  export {};
@@ -28,7 +28,7 @@ export interface ModToggleButtonProps extends Omit<MuiToggleButtonProps, 'color'
28
28
  * ("Table" / "Raw"). For page-level tabs, prefer ModButtonTab.
29
29
  */
30
30
  export declare const ModToggleButton: {
31
- ({ children, size, variant, ...props }: ModToggleButtonProps): import("react/jsx-runtime").JSX.Element;
31
+ ({ children, size, variant, ...props }: ModToggleButtonProps): import("react").JSX.Element;
32
32
  displayName: string;
33
33
  };
34
34
  export {};
@@ -27,7 +27,7 @@ export interface ModToggleButtonGroupProps extends Omit<MuiToggleButtonGroupProp
27
27
  * </ModToggleButtonGroup>
28
28
  */
29
29
  export declare const ModToggleButtonGroup: {
30
- ({ size, variant, children, ...props }: ModToggleButtonGroupProps): import("react/jsx-runtime").JSX.Element;
30
+ ({ size, variant, children, ...props }: ModToggleButtonGroupProps): import("react").JSX.Element;
31
31
  displayName: string;
32
32
  };
33
33
  export {};
@@ -1,10 +1,16 @@
1
1
  import { type ToolbarProps } from '@mui/x-data-grid';
2
2
  import type { ReactNode } from 'react';
3
+ import { type ModAction } from '../utils/OverflowActions';
3
4
  export interface ModToolbarProps extends ToolbarProps {
4
5
  /**
5
6
  * Toolbar content (typically ModQuickFilter, ModButton, ModToggle, etc.)
6
7
  */
7
8
  children?: ReactNode;
9
+ /**
10
+ * Structured actions rendered after `children`. Below `md`, all but the first move into a
11
+ * "More actions" menu.
12
+ */
13
+ actions?: ModAction[];
8
14
  }
9
15
  /**
10
16
  * ModToolbar - Styled toolbar component for data grid controls
@@ -46,6 +52,6 @@ export interface ModToolbarProps extends ToolbarProps {
46
52
  * </ModToolbar>
47
53
  */
48
54
  export declare const ModToolbar: {
49
- ({ children, ...props }: ModToolbarProps): import("react/jsx-runtime").JSX.Element;
55
+ ({ children, actions, ...props }: ModToolbarProps): import("react").JSX.Element;
50
56
  displayName: string;
51
57
  };
@@ -1,5 +1,5 @@
1
1
  import { type TooltipProps } from '@mui/material/Tooltip';
2
- import type { ReactNode } from 'react';
2
+ import { type ReactNode } from 'react';
3
3
  /**
4
4
  * Variant type for ModTooltip
5
5
  */
@@ -39,7 +39,7 @@ export interface ModTooltipProps extends Omit<TooltipProps, 'title' | 'variant'>
39
39
  * - Typography: semanticTypography.tooltip (12px/1.5 line-height), fontWeight.semiBold (600) for the title
40
40
  */
41
41
  export declare const ModTooltip: {
42
- ({ variant, title, description, children, arrow, placement, ...props }: ModTooltipProps): import("react/jsx-runtime").JSX.Element;
42
+ ({ variant, title, description, children, arrow, placement, describeChild, slotProps, ...props }: ModTooltipProps): import("react").JSX.Element;
43
43
  displayName: string;
44
44
  };
45
45
  export {};
@@ -1,6 +1,11 @@
1
1
  import { type TreeItemProps } from '@mui/x-tree-view/TreeItem';
2
2
  import { type RichTreeViewProProps } from '@mui/x-tree-view-pro/RichTreeViewPro';
3
3
  import { type ReactNode } from 'react';
4
+ import type { ModAction } from '../utils/OverflowActions';
5
+ /** End actions render icon-only, so each needs an icon. */
6
+ type IconAction = ModAction & {
7
+ icon: ReactNode;
8
+ };
4
9
  /**
5
10
  * Extended item data that ModTreeItem can read from the items array.
6
11
  * Consumers pass these via the `items` prop on ModTreeView.
@@ -12,6 +17,11 @@ export interface ModTreeItemData {
12
17
  checkbox?: ReactNode;
13
18
  secondaryLabel?: ReactNode;
14
19
  endAction?: ReactNode;
20
+ /**
21
+ * Trailing actions, each an icon button labelled by `label`. Below `md` they collapse into one
22
+ * "More actions" menu so every row keeps a single full-size touch target.
23
+ */
24
+ endActions?: IconAction[];
15
25
  statusIcon?: ReactNode;
16
26
  children?: ModTreeItemData[];
17
27
  }
@@ -33,6 +43,7 @@ export interface ModTreeViewProps extends Omit<RichTreeViewProProps<ModTreeItemD
33
43
  * and ModTreeItem as the default item slot.
34
44
  */
35
45
  export declare const ModTreeView: {
36
- ({ slots, ...props }: ModTreeViewProps): import("react/jsx-runtime").JSX.Element;
46
+ ({ slots, ...props }: ModTreeViewProps): import("react").JSX.Element;
37
47
  displayName: string;
38
48
  };
49
+ export {};
@@ -1,5 +1,5 @@
1
1
  import { type ToggleButtonGroupProps } from '@mui/material/ToggleButtonGroup';
2
- declare const StyledToggleButton: import("@emotion/styled").StyledComponent<import("@mui/material").ToggleButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, keyof import("@mui/material").ToggleButtonOwnProps> & Omit<import("@mui/material").ButtonBaseOwnProps, "type" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | keyof import("@mui/material").ToggleButtonOwnProps> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("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"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
2
+ declare const StyledToggleButton: import("@emotion/styled").StyledComponent<import("@mui/material").ToggleButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, keyof import("@mui/material").ToggleButtonOwnProps> & Omit<import("@mui/material").ButtonBaseOwnProps, "type" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | keyof import("@mui/material").ToggleButtonOwnProps> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "style" | "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"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
3
3
  export interface ModTypologyControlProps extends Omit<ToggleButtonGroupProps, 'orientation'> {
4
4
  }
5
5
  /**
@@ -13,7 +13,7 @@ export interface ModTypologyControlProps extends Omit<ToggleButtonGroupProps, 'o
13
13
  * - borderRadius.m - container border radius
14
14
  */
15
15
  export declare const ModTypologyControl: {
16
- ({ children, ...props }: ModTypologyControlProps): import("react/jsx-runtime").JSX.Element;
16
+ ({ children, ...props }: ModTypologyControlProps): import("react").JSX.Element;
17
17
  displayName: string;
18
18
  };
19
19
  export { StyledToggleButton as ModTypologyButton };