@ultraviolet/form 1.0.0 → 1.0.2

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.
@@ -39,6 +39,7 @@ const SelectInputField = _ref => {
39
39
  noTopLabel,
40
40
  noOptionsMessage,
41
41
  customStyle,
42
+ validate,
42
43
  'data-testid': dataTestId
43
44
  } = _ref;
44
45
  const {
@@ -85,7 +86,8 @@ const SelectInputField = _ref => {
85
86
  multiple,
86
87
  parse,
87
88
  required,
88
- value
89
+ value,
90
+ validate
89
91
  });
90
92
  const error = getError({
91
93
  errorProp,
package/dist/index.d.ts CHANGED
@@ -213,7 +213,7 @@ type SelectInputFieldProps<T extends SelectInputOptionOrGroup = SelectInputOptio
213
213
  name: string;
214
214
  };
215
215
  declare const SelectInputField: {
216
- <T extends (SelectOption | GroupBase<SelectOption>) & (SelectOption | GroupBase<SelectOption>) = (SelectOption | GroupBase<SelectOption>) & (SelectOption | GroupBase<SelectOption>)>({ animation, animationDuration, animationOnChange, children, className, disabled, error: errorProp, format: formatProp, formatOnBlur, id, inputId, isClearable, isLoading, isSearchable, label, maxLength, menuPortalTarget, minLength, multiple, name, onBlur, onChange, onFocus, options: optionsProp, parse: parseProp, placeholder, readOnly, required, value, noTopLabel, noOptionsMessage, customStyle, "data-testid": dataTestId, }: SelectInputFieldProps<T>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
216
+ <T extends (SelectOption | GroupBase<SelectOption>) & (SelectOption | GroupBase<SelectOption>) = (SelectOption | GroupBase<SelectOption>) & (SelectOption | GroupBase<SelectOption>)>({ animation, animationDuration, animationOnChange, children, className, disabled, error: errorProp, format: formatProp, formatOnBlur, id, inputId, isClearable, isLoading, isSearchable, label, maxLength, menuPortalTarget, minLength, multiple, name, onBlur, onChange, onFocus, options: optionsProp, parse: parseProp, placeholder, readOnly, required, value, noTopLabel, noOptionsMessage, customStyle, validate, "data-testid": dataTestId, }: SelectInputFieldProps<T>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
217
217
  Option: (props: Partial<OptionProps<{
218
218
  value: string;
219
219
  label: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/form",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Ultraviolet Form",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -50,11 +50,11 @@
50
50
  "@emotion/react": "11.11.1",
51
51
  "@emotion/styled": "11.11.0",
52
52
  "final-form": "4.20.9",
53
- "final-form-arrays": "3.0.2",
53
+ "final-form-arrays": "3.1.0",
54
54
  "final-form-focus": "1.1.2",
55
55
  "react-final-form": "6.5.9",
56
56
  "react-final-form-arrays": "3.1.4",
57
57
  "react-select": "5.7.3",
58
- "@ultraviolet/ui": "1.0.0"
58
+ "@ultraviolet/ui": "1.1.1"
59
59
  }
60
60
  }