@useloops/design-system 1.4.98 → 1.4.100

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
@@ -8,12 +8,9 @@ import * as _mui_system from '@mui/system';
8
8
  import { SxProps as SxProps$1, Theme as Theme$2 } from '@mui/system';
9
9
  import { UniqueIdentifier } from '@dnd-kit/core';
10
10
  import { Content } from '@tiptap/core/src/types';
11
- import { InputFieldBaseProps as InputFieldBaseProps$1 } from 'WebCore/InputFieldBase';
12
11
  import * as _emotion_styled from '@emotion/styled';
13
12
  import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
14
- import { NumberFieldProps as NumberFieldProps$1 } from 'WebCore/NumberField/NumberField';
15
13
  import { SubmitHandler } from 'react-hook-form';
16
- import { RichTextFieldProps as RichTextFieldProps$1 } from 'systems/WebCore/RichTextField';
17
14
 
18
15
  interface ColorRange {
19
16
  0: string;
@@ -592,7 +589,7 @@ interface RankProps extends Omit<SortableListProps<any>, 'renderItem' | 'items'>
592
589
  }
593
590
  declare const Rank: FunctionComponent<RankProps>;
594
591
 
595
- type RichTextFieldProps = Omit<InputFieldBaseProps$1, 'value'> & {
592
+ type RichTextFieldProps = Omit<InputFieldBaseProps, 'value'> & {
596
593
  internalChange?: () => void;
597
594
  minHeight?: number;
598
595
  minWidth?: number;
@@ -726,7 +723,7 @@ type TextFieldType = {
726
723
  } & BaseField & Omit<TextFieldProps, 'value' | 'onChange' | 'name'>;
727
724
  type NumberFieldType = {
728
725
  fieldType: 'numberfield';
729
- } & BaseField & Omit<NumberFieldProps$1, 'value' | 'onChange' | 'name'>;
726
+ } & BaseField & Omit<NumberFieldProps, 'value' | 'onChange' | 'name'>;
730
727
  type TextareaType = {
731
728
  fieldType: 'textarea';
732
729
  } & BaseField & Omit<TextareaProps, 'value' | 'onChange' | 'name'>;
@@ -764,8 +761,8 @@ type DragAndDropRankingType = {
764
761
  } & BaseField & Omit<RankProps, 'value' | 'onChange' | 'name'>;
765
762
  type RichTextFieldType = {
766
763
  fieldType: 'richTextfield';
767
- defaultValue?: RichTextFieldProps$1['value'];
768
- } & BaseField & Omit<RichTextFieldProps$1, 'value' | 'onChange' | 'name'>;
764
+ defaultValue?: RichTextFieldProps['value'];
765
+ } & BaseField & Omit<RichTextFieldProps, 'value' | 'onChange' | 'name'>;
769
766
  type StarRatingType = {
770
767
  fieldType: 'starRating';
771
768
  defaultValue?: StarRatingProps['value'];
@@ -830,11 +827,6 @@ declare const passwordValidation: (min?: number) => {
830
827
  };
831
828
  };
832
829
 
833
- interface AuthContainerSurfaceProps extends SurfaceProps {
834
- headContent?: ReactNode;
835
- }
836
- declare const AuthContainerSurface: FunctionComponent<AuthContainerSurfaceProps>;
837
-
838
830
  type SupportedCurrency = 'gbp' | 'eur' | 'usd';
839
831
  type SupportedFrequency = 'monthly' | 'annual';
840
832
  interface AnnualControllerProps {
@@ -1047,7 +1039,7 @@ declare module '@mui/material/styles' {
1047
1039
  xl: true;
1048
1040
  xxl: true;
1049
1041
  }
1050
- interface TypographyVariants extends TypographyVariants {
1042
+ interface TypographyVariants {
1051
1043
  xxxl: React.CSSProperties;
1052
1044
  xxl: React.CSSProperties;
1053
1045
  xl: React.CSSProperties;
@@ -1056,7 +1048,7 @@ declare module '@mui/material/styles' {
1056
1048
  sm: React.CSSProperties;
1057
1049
  xs: React.CSSProperties;
1058
1050
  }
1059
- interface TypographyVariantsOptions extends TypographyVariantsOptions {
1051
+ interface TypographyVariantsOptions {
1060
1052
  xxxl?: React.CSSProperties;
1061
1053
  xxl?: React.CSSProperties;
1062
1054
  xl?: React.CSSProperties;
@@ -1065,7 +1057,7 @@ declare module '@mui/material/styles' {
1065
1057
  sm?: React.CSSProperties;
1066
1058
  xs?: React.CSSProperties;
1067
1059
  }
1068
- interface ThemeOptions extends ThemeOptions {
1060
+ interface ThemeOptions {
1069
1061
  custom?: {
1070
1062
  palette?: {
1071
1063
  black?: string;
@@ -1186,7 +1178,7 @@ declare module '@mui/material/styles' {
1186
1178
  };
1187
1179
  };
1188
1180
  }
1189
- interface Theme extends Theme {
1181
+ interface Theme {
1190
1182
  custom: CustomTheme;
1191
1183
  margin: {
1192
1184
  0: number;
@@ -1218,7 +1210,7 @@ declare module '@mui/material/styles' {
1218
1210
  }
1219
1211
  }
1220
1212
  declare module '@mui/material/Typography' {
1221
- interface TypographyPropsVariantOverrides extends TypographyPropsVariantOverrides {
1213
+ interface TypographyPropsVariantOverrides {
1222
1214
  xxxl: true;
1223
1215
  xxl: true;
1224
1216
  xl: true;
@@ -1237,4 +1229,4 @@ declare module '@mui/system' {
1237
1229
  }
1238
1230
  }
1239
1231
 
1240
- 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, Html, type HtmlProps, Icon, IconButton, IconButtonGroup, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, NumberField, type NumberFieldProps, 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, RichTextField, type RichTextFieldProps, 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, backgroundCreator, chooseArticle, defaultInputValidation, emailValidation, passwordValidation, useDropdownMenu };
1232
+ export { AnnualController, type AnnualControllerProps, 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, Html, type HtmlProps, Icon, IconButton, IconButtonGroup, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, NumberField, type NumberFieldProps, 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, RichTextField, type RichTextFieldProps, 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, backgroundCreator, chooseArticle, defaultInputValidation, emailValidation, passwordValidation, useDropdownMenu };