@useloops/design-system 1.4.75 → 1.4.77

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
@@ -7,9 +7,12 @@ 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
9
  import { UniqueIdentifier } from '@dnd-kit/core';
10
+ import { InputFieldBaseProps as InputFieldBaseProps$1 } from 'WebCore/InputFieldBase';
10
11
  import * as _emotion_styled from '@emotion/styled';
11
12
  import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
13
+ import { NumberFieldProps as NumberFieldProps$1 } from 'WebCore/NumberField/NumberField';
12
14
  import { SubmitHandler } from 'react-hook-form';
15
+ import { RichTextFieldProps as RichTextFieldProps$1 } from 'systems/WebCore/RichTextField';
13
16
 
14
17
  interface ColorRange {
15
18
  0: string;
@@ -540,6 +543,14 @@ interface RankProps extends Omit<SortableListProps<any>, 'renderItem'> {
540
543
  }
541
544
  declare const Rank: FunctionComponent<RankProps>;
542
545
 
546
+ type RichTextFieldProps = InputFieldBaseProps$1 & {
547
+ internalChange?: () => void;
548
+ minHeight?: number;
549
+ minWidth?: number;
550
+ maxHeight?: number;
551
+ };
552
+ declare const RichTextField: FunctionComponent<RichTextFieldProps>;
553
+
543
554
  type SelectOption = {
544
555
  label: string;
545
556
  value: string;
@@ -697,6 +708,7 @@ interface FormGeneratorConfig {
697
708
  };
698
709
  }
699
710
  type TextFieldType = BaseField & TextFieldProps;
711
+ type NumberFieldType = BaseField & NumberFieldProps$1;
700
712
  type SelectType = BaseField & SelectProps;
701
713
  type CheckboxType = BaseField & CheckboxProps;
702
714
  type CheckboxGroupType = BaseField & CheckboxGroupProps;
@@ -705,9 +717,10 @@ type DifferentialType = BaseField & DifferentialProps;
705
717
  type LikertType = BaseField & LikertProps;
706
718
  type RadioGroupType = BaseField & RadioGroupProps;
707
719
  type DragAndDropRankingType = BaseField & RankProps;
708
- type DynamicFieldType = 'textfield' | 'numberfield' | 'textarea' | 'select' | 'checkbox' | 'checkboxGroup' | 'slider' | 'differential' | 'likert' | 'starRating' | 'radioGroup' | 'ranking';
720
+ type RichTextFieldType = BaseField & RichTextFieldProps$1;
721
+ type DynamicFieldType = 'textfield' | 'numberfield' | 'textarea' | 'select' | 'checkbox' | 'checkboxGroup' | 'slider' | 'differential' | 'likert' | 'starRating' | 'radioGroup' | 'ranking' | 'richTextfield';
709
722
  type FieldType = DynamicFieldType | 'html';
710
- type FieldTypes = CheckboxType | CheckboxGroupType | SelectType | TextFieldType | SliderType | DifferentialType | LikertType | RadioGroupType | DragAndDropRankingType;
723
+ type FieldTypes = CheckboxType | CheckboxGroupType | SelectType | TextFieldType | SliderType | DifferentialType | RichTextFieldType | LikertType | RadioGroupType | DragAndDropRankingType | NumberFieldType;
711
724
  interface BaseField {
712
725
  name: string;
713
726
  ref?: any;
@@ -1169,4 +1182,4 @@ declare module '@mui/system' {
1169
1182
  }
1170
1183
  }
1171
1184
 
1172
- 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, 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, 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 };
1185
+ 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, 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 };