@useloops/design-system 1.4.453 → 1.4.454

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import react__default, { FunctionComponent, PropsWithChildren, ReactElement, ComponentProps, Dispatch, SetStateAction, ReactNode, ChangeEvent, FC } from 'react';
2
+ import react__default, { FunctionComponent, PropsWithChildren, ReactElement, MouseEventHandler, ComponentProps, Dispatch, SetStateAction, ReactNode, ChangeEvent, FC } from 'react';
3
3
  import * as _mui_material from '@mui/material';
4
4
  import { SxProps, Theme, CSSObject, ButtonProps as ButtonProps$1, TypographyProps as TypographyProps$1, BoxProps, PaperProps, PopperProps as PopperProps$1, ClickAwayListenerProps, FadeProps, SkeletonProps as SkeletonProps$1, AvatarProps as AvatarProps$1, AvatarGroupProps as AvatarGroupProps$1, LinkProps as LinkProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, FormControlLabelProps as FormControlLabelProps$1, IconButtonProps as IconButtonProps$1, TooltipProps as TooltipProps$1, ButtonGroupProps, TextFieldProps as TextFieldProps$1, LinearProgressProps, SelectProps as SelectProps$1, SelectChangeEvent, SwitchProps as SwitchProps$1, SvgIconProps, AccordionProps as AccordionProps$1, AccordionSummaryProps, AccordionDetailsProps, Breakpoint, PaletteMode, Direction } from '@mui/material';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -985,9 +985,13 @@ interface MenuItemProps {
985
985
  selected?: boolean;
986
986
  disabled?: boolean;
987
987
  closeOnClick?: boolean;
988
- onClick?: React.MouseEventHandler<HTMLButtonElement>;
988
+ onClick?: MouseEventHandler<HTMLButtonElement>;
989
989
  children?: MenuItemProps[];
990
990
  width?: number;
991
+ startIcon?: IconName;
992
+ slotProps?: {
993
+ startIcon?: Partial<Omit<IconProps, 'name'>>;
994
+ };
991
995
  }
992
996
 
993
997
  interface MenuProps extends PropsWithChildren {