@useloops/design-system 1.4.46 → 1.4.47

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 { ReactElement, FunctionComponent, ChangeEvent, PropsWithChildren, ReactNode, MouseEvent, Dispatch, SetStateAction } from 'react';
2
+ import { ReactElement, FunctionComponent, ChangeEvent, PropsWithChildren, ReactNode, Dispatch, SetStateAction } from 'react';
3
3
  import * as _mui_material from '@mui/material';
4
4
  import { AvatarGroupProps as AvatarGroupProps$1, SxProps, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, FormControlLabelProps as FormControlLabelProps$1, Theme, Breakpoint, IconButtonProps as IconButtonProps$1, ButtonGroupProps, LinkProps as LinkProps$1, MenuItemProps, SelectProps as SelectProps$1, PaperProps, SwitchProps as SwitchProps$1, TextFieldProps as TextFieldProps$1, TypographyProps as TypographyProps$1, PaletteMode, Direction } from '@mui/material';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -9,7 +9,6 @@ import * as _mui_system from '@mui/system';
9
9
  import { SxProps as SxProps$1, Theme as Theme$2 } from '@mui/system';
10
10
  import * as _emotion_styled from '@emotion/styled';
11
11
  import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
12
- import { MenuItemProps as MenuItemProps$1 } from '@mui/material/MenuItem';
13
12
  import { SubmitHandler } from 'react-hook-form';
14
13
 
15
14
  interface ColorRange {
@@ -619,30 +618,6 @@ interface TooltipProps extends PropsWithChildren {
619
618
  }
620
619
  declare const Tooltip: FunctionComponent<TooltipProps>;
621
620
 
622
- interface DropdownMenuItemProps {
623
- icon?: ReactElement;
624
- text: string;
625
- onClick: () => void;
626
- menuItemProps?: MenuItemProps$1;
627
- }
628
- interface DropdownMenuProps {
629
- children?: ReactNode;
630
- handleClose: () => void;
631
- handleClick: (event: MouseEvent<HTMLElement>) => void;
632
- open: boolean;
633
- anchorElement: HTMLElement | null;
634
- sx?: SxProps<Theme>;
635
- items?: DropdownMenuItemProps[] | ReactNode | null;
636
- }
637
- declare const DropdownMenu: FunctionComponent<DropdownMenuProps>;
638
-
639
- declare const useDropDownMenu: () => {
640
- anchorElement: HTMLElement | null;
641
- open: boolean;
642
- handleClick: (event: MouseEvent<HTMLElement>) => void;
643
- handleClose: () => void;
644
- };
645
-
646
621
  interface FormGeneratorHandler {
647
622
  set: () => void;
648
623
  reset: () => void;
@@ -1145,4 +1120,4 @@ declare module '@mui/system' {
1145
1120
  }
1146
1121
  }
1147
1122
 
1148
- export { AnnualController, type AnnualControllerProps, AuthContainerSurface, type AuthContainerSurfaceProps, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, CheckboxGroup as CheckBoxGroup, Checkbox, type CheckboxGroupProps, type CheckboxProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, DEFAULT_MAX_INPUT_LENGTH, Differential, type DifferentialProps, DropdownMenu, type FieldType, type FieldTypes, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, GridOverlay, type GridOverlayProps, Icon, IconButton, IconButtonGroup, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, Pill, type PillProps, PlanFeatureTable, type PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, PlanTierCardScale, type PlanTierCardScaleProps, Portal, type PortalProps, PoweredByWatermarkLogo, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, Select, type SelectProps, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Textarea as TextArea, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, type TextareaProps, ThemeProvider, TickGroup, type TickGroupProps, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, chooseArticle, defaultInputValidation, emailValidation, passwordValidation, useDropDownMenu };
1123
+ export { AnnualController, type AnnualControllerProps, AuthContainerSurface, type AuthContainerSurfaceProps, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, CheckboxGroup as CheckBoxGroup, Checkbox, type CheckboxGroupProps, type CheckboxProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, DEFAULT_MAX_INPUT_LENGTH, Differential, type DifferentialProps, type FieldType, type FieldTypes, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, GridOverlay, type GridOverlayProps, Icon, IconButton, IconButtonGroup, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, Pill, type PillProps, PlanFeatureTable, type PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, PlanTierCardScale, type PlanTierCardScaleProps, Portal, type PortalProps, PoweredByWatermarkLogo, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, Select, type SelectProps, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Textarea as TextArea, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, type TextareaProps, ThemeProvider, TickGroup, type TickGroupProps, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, chooseArticle, defaultInputValidation, emailValidation, passwordValidation };