@mmb-digital/design-system-web 0.1.42 → 0.1.44

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
@@ -3,8 +3,12 @@ import { MessageDescriptor } from 'react-intl';
3
3
  import { PrimitiveType } from 'intl-messageformat';
4
4
  import { ReactDatePickerProps } from 'react-datepicker';
5
5
  import { Property } from 'csstype';
6
- import { FieldValues, Control, FieldPath } from 'react-hook-form';
6
+ import * as react_select_dist_declarations_src_components from 'react-select/dist/declarations/src/components';
7
+ import * as react_select_dist_declarations_src_useStateManager from 'react-select/dist/declarations/src/useStateManager';
8
+ import * as react_select_dist_declarations_src_Select from 'react-select/dist/declarations/src/Select';
9
+ import * as react_select from 'react-select';
7
10
  import { Options, Props, SelectComponentsConfig, PropsValue, SingleValue as SingleValue$1, GroupBase } from 'react-select';
11
+ import { FieldValues, Control, FieldPath } from 'react-hook-form';
8
12
 
9
13
  interface AccordionItemType {
10
14
  content: ReactNode;
@@ -246,6 +250,7 @@ declare enum IconSystemType {
246
250
  chevronUp = "chevronUp",
247
251
  close = "close",
248
252
  crosshair = "crosshair",
253
+ event = "event",
249
254
  map = "map",
250
255
  minus = "minus",
251
256
  pin = "pin",
@@ -470,6 +475,7 @@ declare const useFormatAmount: () => UseFormatAmountType;
470
475
 
471
476
  interface DatePickerProps extends Omit<ReactDatePickerProps, 'calendarContainer' | 'customInput' | 'onChange' | 'renderCustomHeader' | 'showTimeSelect'> {
472
477
  dateFormat?: string[] | string;
478
+ hasError?: boolean;
473
479
  locale?: string;
474
480
  maxDate?: Date;
475
481
  minDate?: Date;
@@ -734,7 +740,13 @@ interface SelectOption {
734
740
  }
735
741
  type SingleValue = SingleValue$1<SelectOption>;
736
742
 
737
- declare const SelectBase: FC<SelectBaseProps>;
743
+ declare const SelectBase: React.ForwardRefExoticComponent<Omit<react_select_dist_declarations_src_Select.PublicBaseSelectProps<SelectOption, false, react_select.GroupBase<SelectOption>>, "onChange" | "value" | "inputValue" | "menuIsOpen" | "onInputChange" | "onMenuOpen" | "onMenuClose"> & Partial<react_select_dist_declarations_src_Select.PublicBaseSelectProps<SelectOption, false, react_select.GroupBase<SelectOption>>> & react_select_dist_declarations_src_useStateManager.StateManagerAdditionalProps<SelectOption> & {
744
+ readonly customComponents?: Partial<react_select_dist_declarations_src_components.SelectComponents<SelectOption, false, Group>> | undefined;
745
+ readonly isError?: boolean | undefined;
746
+ readonly options?: react_select.Options<SelectOption> | undefined;
747
+ readonly type?: SelectType | undefined;
748
+ readonly value?: react_select.PropsValue<SelectOption> | undefined;
749
+ } & React.RefAttributes<any>>;
738
750
 
739
751
  declare const SelectField: <T extends FieldValues>(props: SelectFieldProps<T>) => React.JSX.Element;
740
752