@useloops/design-system 1.4.108 → 1.4.110

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,15 +1,18 @@
1
1
  import * as react from 'react';
2
2
  import react__default, { ReactElement, FunctionComponent, ChangeEvent, PropsWithChildren, ReactNode, Dispatch, SetStateAction } from 'react';
3
3
  import * as _mui_material from '@mui/material';
4
- import { AvatarGroupProps as AvatarGroupProps$1, SxProps, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, MenuProps, MenuItemProps, FormControlLabelProps as FormControlLabelProps$1, Theme, Breakpoint, IconButtonProps as IconButtonProps$1, ButtonGroupProps, LinkProps as LinkProps$1, TextFieldProps as TextFieldProps$1, SelectProps as SelectProps$1, SelectChangeEvent, PaperProps, SwitchProps as SwitchProps$1, TypographyProps as TypographyProps$1, PaletteMode, Direction } from '@mui/material';
4
+ import { AvatarGroupProps as AvatarGroupProps$1, SxProps, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, MenuProps, MenuItemProps, FormControlLabelProps as FormControlLabelProps$1, Theme, Breakpoint, IconButtonProps as IconButtonProps$1, ButtonGroupProps, LinkProps as LinkProps$1, SelectProps as SelectProps$1, SelectChangeEvent, TextFieldProps as TextFieldProps$1, PaperProps, SwitchProps as SwitchProps$1, TypographyProps as TypographyProps$1, PaletteMode, Direction } from '@mui/material';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import { Theme as Theme$1 } from '@mui/material/styles';
7
7
  import * as _mui_system from '@mui/system';
8
8
  import { SxProps as SxProps$1, Theme as Theme$2 } from '@mui/system';
9
+ import { NumericFormatProps } from 'react-number-format';
10
+ import { InputFieldBaseProps as InputFieldBaseProps$1 } from 'WebCore/InputFieldBase';
9
11
  import { UniqueIdentifier } from '@dnd-kit/core';
10
12
  import * as _emotion_styled from '@emotion/styled';
11
13
  import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
12
14
  import { SubmitHandler } from 'react-hook-form';
15
+ import { SurfaceProps as SurfaceProps$1 } from 'WebCore/Surface';
13
16
 
14
17
  interface ColorRange {
15
18
  0: string;
@@ -443,14 +446,14 @@ declare const Loader: FunctionComponent<LoaderProps>;
443
446
 
444
447
  declare const Logo: FunctionComponent<React.SVGProps<SVGSVGElement>>;
445
448
 
446
- type InputFieldBaseProps = TextFieldProps$1;
447
-
448
- type NumberFieldProps = InputFieldBaseProps & {
449
- startAdornment?: ReactElement;
450
- endAdornment?: ReactElement;
451
- min?: number;
449
+ type NumberFieldProps = InputFieldBaseProps$1 & {
450
+ hideActionButtons?: boolean;
452
451
  max?: number;
453
- internalChange?: () => void;
452
+ min?: number;
453
+ numericFormatProps?: NumericFormatProps;
454
+ onChange?: (value: number | null) => void;
455
+ step?: number;
456
+ value?: number | null;
454
457
  };
455
458
  declare const NumberField: FunctionComponent<NumberFieldProps>;
456
459
 
@@ -588,6 +591,8 @@ interface RankProps extends Omit<SortableListProps<any>, 'renderItem' | 'items'>
588
591
  }
589
592
  declare const Rank: FunctionComponent<RankProps>;
590
593
 
594
+ type InputFieldBaseProps = TextFieldProps$1;
595
+
591
596
  type RichTextFieldProps = Omit<InputFieldBaseProps, 'value'> & {
592
597
  internalChange?: () => void;
593
598
  minHeight?: number;
@@ -826,7 +831,7 @@ declare const passwordValidation: (min?: number) => {
826
831
  };
827
832
  };
828
833
 
829
- interface AuthContainerSurfaceProps extends SurfaceProps {
834
+ interface AuthContainerSurfaceProps extends SurfaceProps$1 {
830
835
  headContent?: ReactNode;
831
836
  }
832
837
  declare const AuthContainerSurface: FunctionComponent<AuthContainerSurfaceProps>;