@zealicsolutions/web-ui 0.2.87 → 0.2.89

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.
Files changed (56) hide show
  1. package/dist/cjs/index.js +19 -18
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/src/atoms/Input/Input.d.ts +2 -2
  4. package/dist/cjs/src/atoms/Select/Select.d.ts +29 -2
  5. package/dist/cjs/src/atoms/Select/Select.stories.d.ts +4 -4
  6. package/dist/cjs/src/atoms/Select/styles.d.ts +5 -1
  7. package/dist/cjs/src/containers/Container.d.ts +1 -1
  8. package/dist/cjs/src/containers/Container.stories.d.ts +6 -9
  9. package/dist/cjs/src/containers/FormContainer.d.ts +6 -0
  10. package/dist/cjs/src/containers/MoleculeItem.d.ts +1 -1
  11. package/dist/cjs/src/containers/mock-data.d.ts +64 -0
  12. package/dist/cjs/src/containers/styles.d.ts +4 -0
  13. package/dist/cjs/src/containers/types/moleculeTypes.d.ts +45 -12
  14. package/dist/cjs/src/containers/types/types.d.ts +11 -3
  15. package/dist/cjs/src/fieldsConfiguration/types.d.ts +5 -8
  16. package/dist/cjs/src/molecules/Button/Button.d.ts +3 -1
  17. package/dist/cjs/src/molecules/Button/Button.stories.d.ts +1 -1
  18. package/dist/cjs/src/molecules/FieldLabels/FieldLabels.d.ts +3 -2
  19. package/dist/cjs/src/molecules/FieldLabels/FieldLabels.stories.d.ts +1 -1
  20. package/dist/cjs/src/molecules/FieldLabels/helpers.d.ts +8 -0
  21. package/dist/cjs/src/molecules/InputField/InputField.d.ts +10 -10
  22. package/dist/cjs/src/molecules/InputField/InputField.stories.d.ts +28 -1
  23. package/dist/cjs/src/molecules/SelectField/SelectField.d.ts +10 -10
  24. package/dist/cjs/src/molecules/SelectField/SelectField.stories.d.ts +31 -4
  25. package/dist/cjs/src/organisms/SubscribePanel/SubscribePanel.stories.d.ts +6 -4
  26. package/dist/cjs/src/organisms/SubscribePanel/organism-data.d.ts +2 -0
  27. package/dist/esm/index.js +20 -19
  28. package/dist/esm/index.js.map +1 -1
  29. package/dist/esm/src/atoms/Input/Input.d.ts +2 -2
  30. package/dist/esm/src/atoms/Select/Select.d.ts +29 -2
  31. package/dist/esm/src/atoms/Select/Select.stories.d.ts +4 -4
  32. package/dist/esm/src/atoms/Select/styles.d.ts +5 -1
  33. package/dist/esm/src/containers/Container.d.ts +1 -1
  34. package/dist/esm/src/containers/Container.stories.d.ts +6 -9
  35. package/dist/esm/src/containers/FormContainer.d.ts +6 -0
  36. package/dist/esm/src/containers/MoleculeItem.d.ts +1 -1
  37. package/dist/esm/src/containers/mock-data.d.ts +64 -0
  38. package/dist/esm/src/containers/styles.d.ts +4 -0
  39. package/dist/esm/src/containers/types/moleculeTypes.d.ts +45 -12
  40. package/dist/esm/src/containers/types/types.d.ts +11 -3
  41. package/dist/esm/src/fieldsConfiguration/types.d.ts +5 -8
  42. package/dist/esm/src/molecules/Button/Button.d.ts +3 -1
  43. package/dist/esm/src/molecules/Button/Button.stories.d.ts +1 -1
  44. package/dist/esm/src/molecules/FieldLabels/FieldLabels.d.ts +3 -2
  45. package/dist/esm/src/molecules/FieldLabels/FieldLabels.stories.d.ts +1 -1
  46. package/dist/esm/src/molecules/FieldLabels/helpers.d.ts +8 -0
  47. package/dist/esm/src/molecules/InputField/InputField.d.ts +10 -10
  48. package/dist/esm/src/molecules/InputField/InputField.stories.d.ts +28 -1
  49. package/dist/esm/src/molecules/SelectField/SelectField.d.ts +10 -10
  50. package/dist/esm/src/molecules/SelectField/SelectField.stories.d.ts +31 -4
  51. package/dist/esm/src/organisms/SubscribePanel/SubscribePanel.stories.d.ts +6 -4
  52. package/dist/esm/src/organisms/SubscribePanel/organism-data.d.ts +2 -0
  53. package/dist/index.d.ts +150 -96
  54. package/package.json +1 -1
  55. package/dist/cjs/src/atoms/Select/types.d.ts +0 -14
  56. package/dist/esm/src/atoms/Select/types.d.ts +0 -14
package/dist/index.d.ts CHANGED
@@ -3,16 +3,16 @@ import * as React$1 from 'react';
3
3
  import React__default, { PropsWithChildren, ReactNode, Dispatch, SetStateAction, CSSProperties as CSSProperties$1, ComponentType } from 'react';
4
4
  import * as styled_components from 'styled-components';
5
5
  import { CSSProperties, DefaultTheme } from 'styled-components';
6
+ import { ThemeColors as ThemeColors$1, SizesTypes as SizesTypes$1, FontSizesTypes as FontSizesTypes$2 } from 'theme';
7
+ import { StylesType, Callback as Callback$1, OverrideStyles, Nullable, StrictUnion } from 'typescript';
6
8
  import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
7
9
  import { InputFieldTypes as InputFieldTypes$1, FieldTypes as FieldTypes$1, UIFields as UIFields$2 } from 'fieldsConfiguration/types';
8
- import { ThemeColors as ThemeColors$1, FontSizesTypes as FontSizesTypes$1, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
9
- import { StylesType, Callback as Callback$1, OverrideStyles, Nullable, StrictUnion } from 'typescript';
10
- import { ThemeColors as ThemeColors$2, SizesTypes as SizesTypes$1, FontSizesTypes as FontSizesTypes$2 } from 'theme';
11
- import { BaseButtonProps as BaseButtonProps$1, MenuItem as MenuItem$1, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, ButtonProps as ButtonProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1, FieldLabelsProps as FieldLabelsProps$1, FieldSectionProps as FieldSectionProps$1, MenuItemsProps as MenuItemsProps$1, InputFieldProps as InputFieldProps$1, ImageProps as ImageProps$1 } from 'molecules';
10
+ import { ThemeColors as ThemeColors$2, FontSizesTypes as FontSizesTypes$1, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
11
+ import { BaseButtonProps as BaseButtonProps$1, MenuItem as MenuItem$1, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, ButtonProps as ButtonProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1, InputFieldProps as InputFieldProps$1, SelectFieldProps as SelectFieldProps$1, FieldSectionProps as FieldSectionProps$1, MenuItemsProps as MenuItemsProps$1, ImageProps as ImageProps$1 } from 'molecules';
12
12
  import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
13
13
  import { WithGoogleMapProps } from 'react-google-maps/lib/withGoogleMap';
14
14
  import { WithScriptjsProps } from 'react-google-maps/lib/withScriptjs';
15
- import { TextProps as TextProps$1, IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, AvatarProps as AvatarProps$1, TabProps as TabProps$1, RadioButtonsProps as RadioButtonsProps$1, InputProps as InputProps$1, CheckBoxProps as CheckBoxProps$1, RegularImageProps as RegularImageProps$1, TextButtonProps as TextButtonProps$1, TabTheme as TabTheme$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1 } from 'atoms';
15
+ import { TextProps as TextProps$1, IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, AvatarProps as AvatarProps$1, TabProps as TabProps$1, RadioButtonsProps as RadioButtonsProps$1, SelectOption as SelectOption$1, InputProps as InputProps$1, CheckBoxProps as CheckBoxProps$1, RegularImageProps as RegularImageProps$1, TextButtonProps as TextButtonProps$1, TabTheme as TabTheme$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1 } from 'atoms';
16
16
  import { UIFields as UIFields$1, UIField as UIField$1 } from 'fieldsConfiguration';
17
17
  import { MaxRuleValidation, MinRuleValidation, SetPasswordFields } from 'organisms/SetPasswordForm/types';
18
18
  import { ConsentProps as ConsentProps$1, FilteredFeedContentType as FilteredFeedContentType$1, HeroSliderProps as HeroSliderProps$1, ProcessTrackerProps as ProcessTrackerProps$1, ProcessTrackerStatus as ProcessTrackerStatus$1 } from 'organisms';
@@ -26,9 +26,9 @@ import { SubscribePanelProps as SubscribePanelProps$1 } from 'organisms/Subscrib
26
26
  import { ISIAProps } from 'organisms/ISI/ISIA';
27
27
  import { HeaderAProps as HeaderAProps$1 } from 'organisms/Header/HeaderA';
28
28
  import { FeedContentProps as FeedContentProps$1, FeedContentTemplateTypes as FeedContentTemplateTypes$1 } from 'organisms/FeedContent/types';
29
- import { Control, ControllerProps, DeepPartial, FieldValues, FormState } from 'react-hook-form';
29
+ import * as react_hook_form from 'react-hook-form';
30
+ import { Control, ControllerProps, DeepPartial, FieldValues, FormState, UseFormReturn, ValidationMode } from 'react-hook-form';
30
31
  import { AlertProps as AlertProps$2 } from 'molecules/Alert/Alert';
31
- import { SelectOption as SelectOption$1 } from 'atoms/Select/types';
32
32
  import { LoginFields as LoginFields$1 } from 'organisms/LoginForm/types';
33
33
  import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewerContext/types';
34
34
  import * as contexts_MlrRichTextViewerContext_MlrRichTextViewerContext from 'contexts/MlrRichTextViewerContext/MlrRichTextViewerContext';
@@ -65,6 +65,16 @@ declare type SelectOption = {
65
65
  id: string;
66
66
  label: string;
67
67
  };
68
+ declare type SelectInternalConfigurationOptions = {
69
+ placeholderTextColor: ThemeColors$1 | string;
70
+ placeholderTextFontSize: number;
71
+ selectedTextColor: ThemeColors$1 | string;
72
+ selectedTextFontSize: number;
73
+ verticalPadding: number;
74
+ horizontalPadding: number;
75
+ wrapperStyles: StylesType;
76
+ styles: StylesType;
77
+ };
68
78
  declare type SelectProps = {
69
79
  value?: string;
70
80
  optionsPresentation?: boolean;
@@ -74,20 +84,21 @@ declare type SelectProps = {
74
84
  options?: SelectOption[];
75
85
  isError?: boolean;
76
86
  isEditMode?: boolean;
87
+ selectInternalConfig?: SelectInternalConfigurationOptions;
88
+ isRichText?: boolean;
77
89
  };
90
+ declare const Select: ({ onChange, value, placeholder, options, disabled, optionsPresentation, isError, selectInternalConfig, isRichText, }: SelectProps) => JSX.Element;
78
91
 
79
- declare const Select: ({ onChange, value, placeholder, options, disabled, optionsPresentation, isError, }: SelectProps) => JSX.Element;
80
-
81
- declare type InputFieldInternalConfigProps = {
82
- textColor: ThemeColors$1 | string;
92
+ declare type InputFieldInternalConfigProps = Partial<{
93
+ textColor: ThemeColors$2 | string;
83
94
  textFontSize: number;
84
- placeholderTextColor: ThemeColors$1 | string;
95
+ placeholderTextColor: ThemeColors$2 | string;
85
96
  placeholderTextFontSize: number;
86
97
  verticalPadding: number;
87
98
  horizontalPadding: number;
88
99
  styles: StylesType;
89
100
  wrapperStyles: StylesType;
90
- };
101
+ }>;
91
102
  declare type InputIconProps = {
92
103
  name: IconNames$1;
93
104
  onClick?: Callback$1;
@@ -117,7 +128,7 @@ declare type TextProps = {
117
128
  layout?: 'div' | 'span';
118
129
  type?: TextTypes;
119
130
  styles?: StylesType;
120
- color?: ThemeColors$1 | string;
131
+ color?: ThemeColors$2 | string;
121
132
  numberOfLines?: number;
122
133
  textAlign?: TextAlign;
123
134
  behaveAs?: 'text' | 'button';
@@ -129,8 +140,8 @@ declare const TextWrapper: ({ children, seoTag, ...textProps }: TextWrapperProps
129
140
  declare type IconProps = {
130
141
  name: IconNames;
131
142
  size?: number;
132
- color?: ThemeColors$2 | string;
133
- fill?: ThemeColors$2 | string;
143
+ color?: ThemeColors$1 | string;
144
+ fill?: ThemeColors$1 | string;
134
145
  pointerEvents?: 'auto' | 'none';
135
146
  style?: CSSProperties;
136
147
  };
@@ -170,7 +181,7 @@ declare type SpacerProps = {
170
181
  declare const Spacer: styled_components.StyledComponent<"div", styled_components.DefaultTheme, SpacerProps, never>;
171
182
 
172
183
  declare const Spinner: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
173
- color?: ThemeColors$1 | undefined;
184
+ color?: ThemeColors$2 | undefined;
174
185
  size?: SizesTypes$2 | undefined;
175
186
  }, never>;
176
187
 
@@ -249,9 +260,9 @@ declare type AvatarProps = {
249
260
  size?: SizesTypes$1 | number;
250
261
  withShadow?: boolean;
251
262
  label?: string;
252
- backgroundColor?: ThemeColors$2;
263
+ backgroundColor?: ThemeColors$1;
253
264
  textConfig?: {
254
- color?: ThemeColors$2;
265
+ color?: ThemeColors$1;
255
266
  font?: FontSizesTypes$2;
256
267
  };
257
268
  content: {
@@ -271,7 +282,7 @@ declare const VerticalPadding: styled_components.StyledComponent<"div", styled_c
271
282
 
272
283
  declare type DividerProps = {
273
284
  type?: 'horizontal' | 'vertical';
274
- color?: ThemeColors$2 | string;
285
+ color?: ThemeColors$1 | string;
275
286
  marginVertical?: SizesTypes$1 | number;
276
287
  marginHorizontal?: SizesTypes$1 | number;
277
288
  weight?: number;
@@ -297,7 +308,7 @@ declare const COMMUNICATION_LINK_DATA_TEXT = "communication-link-text";
297
308
  declare type RichTextEditorProps = Partial<{
298
309
  value: string;
299
310
  font: FontSizesTypes$2;
300
- color: ThemeColors$2 | string;
311
+ color: ThemeColors$1 | string;
301
312
  textStyles: StylesType;
302
313
  numberOfLines?: number;
303
314
  extraTextProps?: TextProps$1;
@@ -330,8 +341,8 @@ declare const Circle: ({ index, type }: CircleBoxProps) => JSX.Element;
330
341
 
331
342
  declare type CircularIndicatorProps = {
332
343
  active: boolean;
333
- activeColor?: ThemeColors$2 | string;
334
- inactiveColor?: ThemeColors$2 | string;
344
+ activeColor?: ThemeColors$1 | string;
345
+ inactiveColor?: ThemeColors$1 | string;
335
346
  };
336
347
  declare const CircularIndicator: ({ activeColor, inactiveColor, ...props }: CircularIndicatorProps) => JSX.Element;
337
348
  declare const CircularIndicatorStyledComponent: styled_components.StyledComponent<"span", styled_components.DefaultTheme, CircularIndicatorProps, never>;
@@ -340,8 +351,8 @@ declare type IconButtonProps = {
340
351
  name: IconNames$2;
341
352
  size?: number;
342
353
  onClick: Callback$1;
343
- color?: ThemeColors$2 | string;
344
- fill?: ThemeColors$2 | string;
354
+ color?: ThemeColors$1 | string;
355
+ fill?: ThemeColors$1 | string;
345
356
  pointerEvents?: 'auto' | 'none';
346
357
  };
347
358
  declare const IconButton: ({ name, color, onClick, disabled, activeOpacity, withoutOpacityEffect, ...props }: IconButtonProps & TouchableOpacityProps$1) => JSX.Element;
@@ -369,9 +380,9 @@ declare type TabProps<T = string, K = string> = {
369
380
  tabFont: FontSizesTypes$2;
370
381
  textSize: number;
371
382
  tabPadding: SizesTypes$1 | number;
372
- defaultTabTextColor: ThemeColors$2 | string;
373
- selectedTabTextColor: ThemeColors$2 | string;
374
- selectedTabIndicatorColor: ThemeColors$2 | string;
383
+ defaultTabTextColor: ThemeColors$1 | string;
384
+ selectedTabTextColor: ThemeColors$1 | string;
385
+ selectedTabIndicatorColor: ThemeColors$1 | string;
375
386
  styles: StylesType;
376
387
  }>;
377
388
  declare const ZealTab: <T extends string, K extends string>({ options, onClick, text, tabKey, vertical, onOptionClick, tabTheme, tabFont, tabPadding, selectedTabIndicatorColor, textSize, defaultTabTextColor, ...tabProps }: TabProps<T, K>, ref: React__default.ForwardedRef<TabElement>) => JSX.Element;
@@ -390,9 +401,9 @@ declare const Tab: <T, K>(props: {
390
401
  tabFont: FontSizesTypes$2;
391
402
  textSize: number;
392
403
  tabPadding: SizesTypes$1 | number;
393
- defaultTabTextColor: ThemeColors$2 | string;
394
- selectedTabTextColor: ThemeColors$2 | string;
395
- selectedTabIndicatorColor: ThemeColors$2 | string;
404
+ defaultTabTextColor: ThemeColors$1 | string;
405
+ selectedTabTextColor: ThemeColors$1 | string;
406
+ selectedTabIndicatorColor: ThemeColors$1 | string;
396
407
  styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
397
408
  }> & {
398
409
  ref?: React__default.ForwardedRef<TabElement> | undefined;
@@ -748,7 +759,7 @@ declare const useMediaQuery: (breakpointSize: BreakpointSizesTypes$1) => boolean
748
759
 
749
760
  declare const getFieldPlaceholder: (type: FieldTypes$1, title?: string) => string;
750
761
 
751
- declare type InputFieldTypes = 'phoneNumber' | 'text' | 'email' | 'password' | 'number' | 'any';
762
+ declare type InputFieldTypes = 'phone-number' | 'text' | 'email' | 'password' | 'numerical' | 'any';
752
763
  declare type FieldTypes = 'input' | 'select' | 'checkbox';
753
764
  declare type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
754
765
  name: T;
@@ -765,12 +776,10 @@ declare type UIInputField = {
765
776
  inputType?: InputFieldTypes;
766
777
  maxLength?: number;
767
778
  onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
768
- inputProps?: InputProps$1;
769
- labelsProps?: FieldLabelsProps$1;
770
- };
779
+ } & InputFieldProps$1;
771
780
  declare type UISelectField = {
772
781
  options?: SelectOption$1[];
773
- };
782
+ } & SelectFieldProps$1;
774
783
  declare type UICheckboxField = {
775
784
  checkboxLabel?: string;
776
785
  };
@@ -822,14 +831,14 @@ declare type LabelInternalConfig = {
822
831
  fontVariant: FontSizesTypes$2;
823
832
  fontSize: number;
824
833
  fontWeight: string | number;
825
- color: ThemeColors$2 | string;
834
+ color: ThemeColors$1 | string;
826
835
  padding: string;
827
836
  styles: StylesType;
828
837
  wrapperStyles: StylesType;
829
838
  };
830
839
  declare type RuleLabelInternalConfig = {
831
- requiredTextColor: ThemeColors$2 | string;
832
- optionalTextColor: ThemeColors$2 | string;
840
+ requiredTextColor: ThemeColors$1 | string;
841
+ optionalTextColor: ThemeColors$1 | string;
833
842
  padding: string;
834
843
  fontSize: number;
835
844
  styles: StylesType;
@@ -838,15 +847,15 @@ declare type TooltipInternalConfig = {
838
847
  fontVariant: FontSizesTypes$2;
839
848
  fontSize: number;
840
849
  fontWeight: string | number;
841
- color: ThemeColors$2 | string;
850
+ color: ThemeColors$1 | string;
842
851
  padding: string;
843
- backgroundColor: ThemeColors$2 | string;
844
- iconColor: ThemeColors$2 | string;
852
+ backgroundColor: ThemeColors$1 | string;
853
+ iconColor: ThemeColors$1 | string;
845
854
  styles: StylesType;
846
855
  wrapperStyles: StylesType;
847
856
  };
848
857
  declare type FieldLabelsProps = {
849
- label: string;
858
+ label?: string;
850
859
  tooltipText?: string;
851
860
  isError?: boolean;
852
861
  isTooltipVisible?: boolean;
@@ -854,20 +863,21 @@ declare type FieldLabelsProps = {
854
863
  labelInternalConfig?: LabelInternalConfig;
855
864
  ruleLabelInternalConfig?: RuleLabelInternalConfig;
856
865
  tooltipInternalConfig?: TooltipInternalConfig;
866
+ isRichText?: boolean;
857
867
  };
858
- declare const FieldLabels: ({ label, isTooltipVisible, isError, ruleLabel, tooltipText, labelInternalConfig, ruleLabelInternalConfig, tooltipInternalConfig, }: FieldLabelsProps) => JSX.Element;
868
+ declare const FieldLabels: ({ label, isTooltipVisible, isError, ruleLabel, tooltipText, labelInternalConfig, ruleLabelInternalConfig, tooltipInternalConfig, isRichText, }: FieldLabelsProps) => JSX.Element;
859
869
 
860
- declare type InputFieldProps = {
870
+ declare type InputFieldProps = Partial<{
861
871
  name: string;
862
- control?: Control$1<any>;
863
- rules?: ControllerProps$1['rules'];
864
- required?: boolean;
865
- optional?: boolean;
866
- defaultValue?: string;
872
+ control: Control$1<any>;
873
+ rules: ControllerProps$1['rules'];
874
+ required: boolean;
875
+ optional: boolean;
876
+ defaultValue: string;
867
877
  inputProps: InputProps$1;
868
- styles?: StylesType;
869
- labelsProps?: FieldLabelsProps;
870
- };
878
+ styles: StylesType;
879
+ labelsProps: FieldLabelsProps;
880
+ }>;
871
881
  declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, }: InputFieldProps) => JSX.Element;
872
882
 
873
883
  declare type FieldMapperProps<T extends object> = {
@@ -889,17 +899,17 @@ declare type CheckboxFieldProps = {
889
899
  };
890
900
  declare const CheckboxField: ({ control, name, checkboxProps, defaultValue, }: CheckboxFieldProps) => JSX.Element;
891
901
 
892
- declare type SelectFieldProps = {
902
+ declare type SelectFieldProps = Partial<{
893
903
  selectProps: SelectProps;
894
- labelsProps?: FieldLabelsProps;
904
+ labelsProps: FieldLabelsProps;
895
905
  name: string;
896
- rules?: ControllerProps$1['rules'];
897
- control?: Control$1<any>;
898
- required?: boolean;
899
- optional?: boolean;
900
- defaultValue?: string;
901
- styles?: StylesType;
902
- };
906
+ rules: ControllerProps$1['rules'];
907
+ control: Control$1<any>;
908
+ required: boolean;
909
+ optional: boolean;
910
+ defaultValue: string;
911
+ styles: StylesType;
912
+ }>;
903
913
  declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, }: SelectFieldProps) => JSX.Element;
904
914
 
905
915
  declare type CustomValidationRule<T = string> = {
@@ -952,7 +962,7 @@ declare type DrawerProps = DrawerProps$1 & {
952
962
  padding?: SizesTypes$2 | number;
953
963
  height?: number | string;
954
964
  width?: number | string;
955
- closeIconColor?: ThemeColors$1 | string;
965
+ closeIconColor?: ThemeColors$2 | string;
956
966
  };
957
967
 
958
968
  declare const Drawer: ({ children, closeIconColor, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
@@ -1008,9 +1018,9 @@ declare type TabGroupProps<T = string, K = string> = {
1008
1018
  textSize?: number;
1009
1019
  tabPadding?: SizesTypes$2 | number;
1010
1020
  tabSpacing?: SizesTypes$2;
1011
- defaultTabTextColor?: ThemeColors$1 | string;
1012
- selectedTabTextColor?: ThemeColors$1 | string;
1013
- selectedTabIndicatorColor?: ThemeColors$1 | string;
1021
+ defaultTabTextColor?: ThemeColors$2 | string;
1022
+ selectedTabTextColor?: ThemeColors$2 | string;
1023
+ selectedTabIndicatorColor?: ThemeColors$2 | string;
1014
1024
  wide?: AdditionalTabContainerProps;
1015
1025
  compact?: AdditionalTabContainerProps;
1016
1026
  };
@@ -1063,7 +1073,7 @@ declare type AlertProps = {
1063
1073
  withCloseIcon?: {
1064
1074
  onClose: Callback$1;
1065
1075
  };
1066
- fontColor?: ThemeColors$2;
1076
+ fontColor?: ThemeColors$1;
1067
1077
  destinationLink?: string;
1068
1078
  onDestinationHandler?: Callback$1;
1069
1079
  containerStyles?: CSSProperties;
@@ -1086,12 +1096,12 @@ declare type PdfDocumentProps = {
1086
1096
  source: string;
1087
1097
  isMobile?: boolean;
1088
1098
  customDocumentStyles?: Partial<{
1089
- wrapperBackgroundColor: ThemeColors$2 | string;
1090
- pageNumberColor: ThemeColors$2 | string;
1099
+ wrapperBackgroundColor: ThemeColors$1 | string;
1100
+ pageNumberColor: ThemeColors$1 | string;
1091
1101
  pageWidth: number;
1092
1102
  pageHeight: number;
1093
- paginationArrowColor: ThemeColors$2 | string;
1094
- disabledPaginationArrowColor: ThemeColors$2 | string;
1103
+ paginationArrowColor: ThemeColors$1 | string;
1104
+ disabledPaginationArrowColor: ThemeColors$1 | string;
1095
1105
  }>;
1096
1106
  };
1097
1107
  declare const PdfDocument: ({ source, isMobile, customDocumentStyles, }: PdfDocumentProps) => JSX.Element;
@@ -1172,7 +1182,7 @@ declare type TextMoleculeProps = Partial<{
1172
1182
  variant: 'base' | 'custom';
1173
1183
  fontVariant: FontSizesTypes$2;
1174
1184
  textSize: number;
1175
- textColor: ThemeColors$2 | string;
1185
+ textColor: ThemeColors$1 | string;
1176
1186
  letterSpacing: number;
1177
1187
  lineHeight: number;
1178
1188
  fontWeight: string | number;
@@ -1187,21 +1197,22 @@ declare type BaseButtonProps = PropsWithChildren<{
1187
1197
  onClick?: Callback$1;
1188
1198
  variant?: ButtonVariant;
1189
1199
  disabled?: boolean;
1200
+ state?: 'disabled' | 'enabled';
1190
1201
  fullWidth?: boolean;
1191
1202
  size?: 'medium' | 'small';
1192
1203
  buttonFont?: FontSizesTypes$2;
1193
- textColor?: ThemeColors$2 | string;
1204
+ textColor?: ThemeColors$1 | string;
1194
1205
  textSize?: number;
1195
1206
  horizontalPadding?: SizesTypes$1;
1196
1207
  verticalPadding?: SizesTypes$1;
1197
- buttonColor?: ThemeColors$2 | string;
1198
- buttonStroke?: ThemeColors$2 | string;
1208
+ buttonColor?: ThemeColors$1 | string;
1209
+ buttonStroke?: ThemeColors$1 | string;
1199
1210
  cornerRadius?: SizesTypes$1 | number;
1200
- hoverButtonColor?: ThemeColors$2 | string;
1201
- hoverStrokeColor?: ThemeColors$2 | string;
1202
- inactiveButtonColor?: ThemeColors$2 | string;
1203
- inactiveStrokeColor?: ThemeColors$2 | string;
1204
- inactiveTextColor?: ThemeColors$2 | string;
1211
+ hoverButtonColor?: ThemeColors$1 | string;
1212
+ hoverStrokeColor?: ThemeColors$1 | string;
1213
+ inactiveButtonColor?: ThemeColors$1 | string;
1214
+ inactiveStrokeColor?: ThemeColors$1 | string;
1215
+ inactiveTextColor?: ThemeColors$1 | string;
1205
1216
  styles?: StylesType;
1206
1217
  colorTheme?: 'light' | 'dark';
1207
1218
  href?: string;
@@ -1215,10 +1226,11 @@ declare type ButtonProps = BaseButtonProps & {
1215
1226
  isRichText?: boolean;
1216
1227
  containerStyle?: CSSProperties;
1217
1228
  buttonStyle?: CSSProperties;
1229
+ type?: 'button' | 'submit' | 'reset';
1218
1230
  };
1219
- declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, ...props }: ButtonProps) => JSX.Element | null;
1231
+ declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, type, state, ...props }: ButtonProps) => JSX.Element | null;
1220
1232
 
1221
- declare const Container: ({ children, wide, compact, type, ...props }: ContainerProps$1) => JSX.Element;
1233
+ declare const Container: ({ children, wide, compact, type, props }: ContainerProps$1) => JSX.Element;
1222
1234
  declare const ContainerComponent: ({ type, items, config, tabsProps }: ContainerComponentProps$1) => JSX.Element | null;
1223
1235
 
1224
1236
  declare type ImageAttributes = {
@@ -1235,8 +1247,8 @@ interface VideoAttributes {
1235
1247
  videoSource: string;
1236
1248
  }
1237
1249
  interface LinkAttributes {
1238
- attributeType: 'link';
1239
1250
  id: string;
1251
+ attributeType: 'link';
1240
1252
  type: 'internalLink' | 'externalLink';
1241
1253
  internalLink: Nullable<string>;
1242
1254
  externalLink: Nullable<string>;
@@ -1251,7 +1263,11 @@ interface BooleanAttributes {
1251
1263
  attributeType: 'boolean';
1252
1264
  value: boolean;
1253
1265
  }
1254
- declare type MoleculeTypes = 'image' | 'text' | 'button' | 'video' | 'header_tab_group';
1266
+ interface IterableAttributes {
1267
+ attributeType: 'iterable';
1268
+ options: SelectOption$1[];
1269
+ }
1270
+ declare type MoleculeTypes = 'image' | 'text' | 'button' | 'video' | 'header_tab_group' | 'input_field' | 'select_field';
1255
1271
  interface BaseMolecule {
1256
1272
  id: string;
1257
1273
  instance: 'molecule';
@@ -1275,15 +1291,15 @@ interface TextMoleculeType extends BaseMolecule {
1275
1291
  seoStyle: SelectAttributes;
1276
1292
  };
1277
1293
  config: {
1278
- props: {
1294
+ props: Partial<{
1279
1295
  fontVariant: FontSizesTypes$2;
1280
1296
  textSize: number;
1281
- textColor: ThemeColors$2 | string;
1297
+ textColor: ThemeColors$1 | string;
1282
1298
  letterSpacing: number;
1283
1299
  lineHeight: number;
1284
1300
  isRichText: boolean;
1285
- styles: CSSProperties;
1286
- };
1301
+ styles: StylesType;
1302
+ }>;
1287
1303
  };
1288
1304
  }
1289
1305
  interface ButtonMolecule extends BaseMolecule {
@@ -1293,7 +1309,7 @@ interface ButtonMolecule extends BaseMolecule {
1293
1309
  buttonLink: LinkAttributes;
1294
1310
  };
1295
1311
  config: {
1296
- props: Omit<ButtonProps$1, 'disabled' | 'children' | 'link' | 'text' | 'onClick' | 'elementId'>;
1312
+ props: Partial<Omit<ButtonProps$1, 'disabled' | 'children' | 'link' | 'text' | 'onClick' | 'elementId'>>;
1297
1313
  };
1298
1314
  }
1299
1315
  interface VideoMolecule extends BaseMolecule {
@@ -1306,10 +1322,10 @@ interface VideoMolecule extends BaseMolecule {
1306
1322
  coverImage: ImageAttributes;
1307
1323
  };
1308
1324
  config: {
1309
- props: {
1325
+ props: Partial<{
1310
1326
  width: number;
1311
1327
  styles: CSSProperties;
1312
- };
1328
+ }>;
1313
1329
  };
1314
1330
  }
1315
1331
  interface TabGroupMolecule extends BaseMolecule {
@@ -1326,15 +1342,47 @@ interface TabGroupMolecule extends BaseMolecule {
1326
1342
  };
1327
1343
  };
1328
1344
  }
1329
- declare type Molecule = StrictUnion<ImageMolecule | TextMoleculeType | ButtonMolecule | VideoMolecule | TabGroupMolecule>;
1345
+ interface TextInputMolecule extends BaseMolecule {
1346
+ type: 'input_field';
1347
+ attributes: {
1348
+ label: TextAttributes;
1349
+ required: BooleanAttributes;
1350
+ inputType: SelectAttributes;
1351
+ };
1352
+ config: {
1353
+ props: Partial<{
1354
+ state: 'default' | 'error';
1355
+ } & InputFieldProps$1>;
1356
+ };
1357
+ }
1358
+ interface SelectFieldMolecule extends BaseMolecule {
1359
+ type: 'select_field';
1360
+ attributes: {
1361
+ label: TextAttributes;
1362
+ required: BooleanAttributes;
1363
+ options: IterableAttributes;
1364
+ };
1365
+ config: {
1366
+ props: Partial<{
1367
+ state: 'default' | 'error';
1368
+ } & SelectFieldProps$1>;
1369
+ };
1370
+ }
1371
+ declare type Molecule = StrictUnion<ImageMolecule | TextMoleculeType | ButtonMolecule | VideoMolecule | TabGroupMolecule | TextInputMolecule | SelectFieldMolecule> & {
1372
+ form?: UseFormReturn<any>;
1373
+ };
1330
1374
 
1331
- declare type ContainerType = 'row' | 'column' | 'slider';
1375
+ declare type ContainerType = 'row' | 'column' | 'slider' | 'form';
1332
1376
  declare type ContainerPositionType = 'fixed' | 'sticky' | 'static';
1333
1377
  declare type ContainerScrollBehaviourType = 'vertical' | 'horizontal' | 'auto' | 'none';
1334
1378
  declare type ContainerPropsType = Partial<{
1335
1379
  position: ContainerPositionType;
1336
1380
  scrollBehaviour: ContainerScrollBehaviourType;
1337
1381
  cornerRadius: number;
1382
+ styles: StylesType;
1383
+ formProps: {
1384
+ mode: keyof ValidationMode;
1385
+ };
1338
1386
  }>;
1339
1387
  declare type AdditionalContainerProps = Partial<{
1340
1388
  containerStyle: CSSProperties;
@@ -1344,14 +1392,16 @@ declare type ContainerProps = PropsWithChildren<Partial<{
1344
1392
  type: ContainerType;
1345
1393
  wide: AdditionalContainerProps;
1346
1394
  compact: AdditionalContainerProps;
1395
+ props: ContainerPropsType;
1347
1396
  }>>;
1348
1397
  declare type ContainerComponentProps = {
1349
1398
  id: string;
1350
1399
  instance: 'container';
1351
1400
  type: ContainerType;
1352
1401
  config: {
1353
- wide: AdditionalContainerProps;
1354
- compact: AdditionalContainerProps;
1402
+ wide?: AdditionalContainerProps;
1403
+ compact?: AdditionalContainerProps;
1404
+ props?: ContainerPropsType;
1355
1405
  };
1356
1406
  items: (ContainerComponentProps | Molecule)[];
1357
1407
  tabsProps?: Pick<TabGroupProps$1, 'tabs' | 'activeTabKey' | 'onTabChange'>;
@@ -1362,6 +1412,10 @@ declare const ContainerWrapper: styled_components.StyledComponent<"div", styled_
1362
1412
  position: containers_types_types.ContainerPositionType;
1363
1413
  scrollBehaviour: containers_types_types.ContainerScrollBehaviourType;
1364
1414
  cornerRadius: number;
1415
+ styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1416
+ formProps: {
1417
+ mode: keyof react_hook_form.ValidationMode;
1418
+ };
1365
1419
  }> | undefined;
1366
1420
  }, never>;
1367
1421
 
@@ -1370,4 +1424,4 @@ declare const OrganismItem: ({ item, tabsProps, }: {
1370
1424
  tabsProps?: Pick<TabGroupProps$1<string, string>, "tabs" | "activeTabKey" | "onTabChange"> | undefined;
1371
1425
  }) => JSX.Element | null;
1372
1426
 
1373
- export { AcquisitionForm, AcquisitionFormProps, AdditionalContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonMolecule, ButtonProps, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, Circle, CircleBoxProps, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, Container, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerType, ContainerWrapper, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, LabelInternalConfig, LinkAttributes, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismItem, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldProps, RadioButtonType, RadioButtons, RadioButtonsProps, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, Select, SelectAttributes, SelectField, SelectFieldProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Slide, SlidesWrapper, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextMolecule, TextMoleculeProps, TextMoleculeType, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipInternalConfig, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, Wrapper, ZealTheme, ZealThemeProvider, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
1427
+ export { AcquisitionForm, AcquisitionFormProps, AdditionalContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonMolecule, ButtonProps, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, Circle, CircleBoxProps, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, Container, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerType, ContainerWrapper, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, IterableAttributes, LabelInternalConfig, LinkAttributes, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismItem, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldProps, RadioButtonType, RadioButtons, RadioButtonsProps, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, Select, SelectAttributes, SelectField, SelectFieldMolecule, SelectFieldProps, SelectInternalConfigurationOptions, SelectOption, SelectProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Slide, SlidesWrapper, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextInputMolecule, TextMolecule, TextMoleculeProps, TextMoleculeType, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipInternalConfig, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, Wrapper, ZealTheme, ZealThemeProvider, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.2.87",
3
+ "version": "0.2.89",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"
@@ -1,14 +0,0 @@
1
- export declare type SelectOption = {
2
- id: string;
3
- label: string;
4
- };
5
- export declare type SelectProps = {
6
- value?: string;
7
- optionsPresentation?: boolean;
8
- onChange?: (value: string) => void;
9
- placeholder?: string;
10
- disabled?: boolean;
11
- options?: SelectOption[];
12
- isError?: boolean;
13
- isEditMode?: boolean;
14
- };
@@ -1,14 +0,0 @@
1
- export declare type SelectOption = {
2
- id: string;
3
- label: string;
4
- };
5
- export declare type SelectProps = {
6
- value?: string;
7
- optionsPresentation?: boolean;
8
- onChange?: (value: string) => void;
9
- placeholder?: string;
10
- disabled?: boolean;
11
- options?: SelectOption[];
12
- isError?: boolean;
13
- isEditMode?: boolean;
14
- };