@producteca/producteca-ui-kit 1.25.0 → 1.26.0

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.
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { OptionProps, SingleValueProps } from 'react-select';
3
3
  import { ReduxFormInput } from '../../../hooks/useReduxFormField';
4
+ import { InputValue, Meta } from '../../../validators';
4
5
 
5
6
  export interface SelectOption {
6
7
  label: string;
@@ -29,6 +30,9 @@ export interface SelectFieldProps {
29
30
  defaultValue?: (string | number) | (string | number)[] | null | undefined;
30
31
  onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
31
32
  input?: ReduxFormInput;
33
+ meta?: Meta;
34
+ isValid?: (value: InputValue) => boolean;
35
+ noErrors?: boolean;
32
36
  }
33
37
  export declare const Option: (props: OptionProps<SelectOption>) => import("react/jsx-runtime").JSX.Element;
34
38
  export declare const SingleValue: (props: SingleValueProps<SelectOption>) => import("react/jsx-runtime").JSX.Element;
@@ -124,6 +124,7 @@ declare const _default: {
124
124
  error: {
125
125
  required: string;
126
126
  notValid: string;
127
+ requiredDescription: string;
127
128
  };
128
129
  copyButton: {
129
130
  copy: string;