@useloops/design-system 1.4.15 → 1.4.17

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,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { Dispatch, SetStateAction, FunctionComponent, ReactElement, ChangeEvent, PropsWithChildren, ReactNode } from 'react';
3
3
  import * as _mui_material from '@mui/material';
4
- import { AvatarProps as AvatarProps$1, AvatarGroupProps as AvatarGroupProps$1, ButtonProps as ButtonProps$1, FormControlLabelProps as FormControlLabelProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, Breakpoint, SxProps, IconButtonProps as IconButtonProps$1, ButtonGroupProps, InputLabelProps as InputLabelProps$1, LinkProps as LinkProps$1, RadioProps as RadioProps$1, RadioGroupProps as RadioGroupProps$1, SelectProps as SelectProps$1, MenuItemProps, SliderProps as SliderProps$1, RatingProps, PaperProps, Theme, SwitchProps as SwitchProps$1, TextFieldProps as TextFieldProps$1, TypographyProps as TypographyProps$1, PaletteMode } from '@mui/material';
4
+ import { AvatarProps as AvatarProps$1, AvatarGroupProps as AvatarGroupProps$1, ButtonProps as ButtonProps$1, FormControlLabelProps as FormControlLabelProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, Breakpoint, SxProps, IconButtonProps as IconButtonProps$1, ButtonGroupProps, InputLabelProps as InputLabelProps$1, LinkProps as LinkProps$1, RadioProps as RadioProps$1, RadioGroupProps as RadioGroupProps$1, SelectProps as SelectProps$1, MenuItemProps, SliderProps as SliderProps$1, RatingProps, PaperProps, Theme, 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';
6
6
  import { UniqueIdentifier } from '@dnd-kit/core';
7
7
  import * as _emotion_styled from '@emotion/styled';
@@ -604,7 +604,11 @@ interface RadioGroupProps extends Omit<RadioGroupProps$1, 'defaultValue' | 'sx'
604
604
  }
605
605
  declare const RadioGroup: FunctionComponent<RadioGroupProps>;
606
606
 
607
- type SelectProps = Pick<SelectProps$1, 'onChange' | 'id' | 'onBlur' | 'autoFocus' | 'disabled' | 'error' | 'fullWidth' | 'name' | 'placeholder' | 'readOnly' | 'required' | 'ref' | 'value' | 'inputRef' | 'MenuProps'> & {
607
+ type StyledSelectProps = SelectProps$1 & {
608
+ sizing?: 'lg' | 'md' | 'sm';
609
+ };
610
+
611
+ type SelectProps = Pick<StyledSelectProps, 'onChange' | 'id' | 'onBlur' | 'autoFocus' | 'disabled' | 'error' | 'fullWidth' | 'name' | 'placeholder' | 'readOnly' | 'required' | 'ref' | 'value' | 'inputRef' | 'MenuProps' | 'sizing'> & {
608
612
  selections: {
609
613
  value: string;
610
614
  label: string;
@@ -792,6 +796,7 @@ interface Props {
792
796
  children: any;
793
797
  mode?: PaletteMode;
794
798
  screenSize?: ScreenSize;
799
+ direction?: Direction;
795
800
  ignoreBaseline?: boolean;
796
801
  }
797
802
  declare const ThemeProvider: FunctionComponent<Props>;