@ultraviolet/form 3.13.0 → 3.13.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.
@@ -17,7 +17,7 @@ export declare const CheckboxGroupField: {
17
17
  required?: boolean;
18
18
  'data-testid'?: string;
19
19
  tooltip?: string;
20
- } & (Pick<import("react").InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "onBlur" | "name" | "onFocus" | "autoFocus" | "id" | "tabIndex"> & ({
20
+ } & (Pick<import("react").InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "onBlur" | "name" | "autoFocus" | "id" | "onClick" | "onFocus" | "tabIndex"> & ({
21
21
  children: import("react").ReactNode;
22
22
  'aria-label'?: never;
23
23
  } | {
@@ -7,13 +7,12 @@ export declare const RadioGroupField: {
7
7
  <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ control, name, onChange, required, children, label, error: customError, shouldUnregister, validate, legend, ...props }: RadioGroupFieldProps<TFieldValues, TFieldName>): JSX.Element;
8
8
  Radio: ({ onFocus, onBlur, disabled, error, name, value, label, helper, className, autoFocus, onKeyDown, tooltip, "data-testid": dataTestId, }: Omit<({
9
9
  error?: import("react").ReactNode;
10
- checked?: boolean;
11
10
  value: string | number;
12
11
  helper?: import("react").ReactNode;
13
12
  className?: string;
14
13
  'data-testid'?: string;
15
14
  tooltip?: string;
16
- } & Required<Pick<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange">> & (Pick<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "onBlur" | "disabled" | "name" | "onFocus" | "autoFocus" | "id" | "tabIndex" | "onKeyDown"> & import("node_modules/@ultraviolet/ui/dist/types").LabelProp)) & import("react").RefAttributes<HTMLInputElement>, "required" | "onChange" | "checked"> & {
15
+ } & Required<Pick<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange">> & (Pick<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "onBlur" | "disabled" | "name" | "autoFocus" | "id" | "onFocus" | "tabIndex" | "checked" | "onKeyDown"> & import("node_modules/@ultraviolet/ui/dist/types").LabelProp)) & import("react").RefAttributes<HTMLInputElement>, "required" | "onChange" | "checked"> & {
17
16
  name?: string;
18
17
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
19
18
  };
@@ -75,6 +75,9 @@ export type SelectInputFieldProps<TFieldValues extends FieldValues, TFieldName e
75
75
  maxLength?: number;
76
76
  minLength?: number;
77
77
  };
78
+ /**
79
+ * @deprecated use SelectInputFieldV2 component instead
80
+ */
78
81
  export declare const SelectInputField: {
79
82
  <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ animation, animationDuration, animationOnChange, children, className, disabled, format: formatProp, id, inputId, isClearable, isLoading, isSearchable, label, maxLength, menuPortalTarget, minLength, multiple, name, onBlur, onChange, onFocus, options: optionsProp, parse: parseProp, placeholder, readOnly, required, noTopLabel, emptyState, customStyle, shouldUnregister, "data-testid": dataTestId, validate, }: SelectInputFieldProps<TFieldValues, TFieldName>): import("@emotion/react/jsx-runtime").JSX.Element;
80
83
  Option: (props: Partial<OptionProps<import("@ultraviolet/ui").SelectOption> & import("@ultraviolet/ui").SelectOption>) => import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/form",
3
- "version": "3.13.0",
3
+ "version": "3.13.2",
4
4
  "description": "Ultraviolet Form",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -61,18 +61,18 @@
61
61
  "@emotion/react": "11.14.0",
62
62
  "@emotion/styled": "11.14.0",
63
63
  "@types/final-form-focus": "1.1.7",
64
- "@types/react": "19.0.0",
65
- "@types/react-dom": "19.0.0",
64
+ "@types/react": "19.0.2",
65
+ "@types/react-dom": "19.0.2",
66
66
  "react": "19.0.0",
67
67
  "react-dom": "19.0.0",
68
68
  "@utils/test": "0.0.1"
69
69
  },
70
70
  "dependencies": {
71
71
  "@babel/runtime": "7.26.0",
72
- "react-hook-form": "7.53.2",
72
+ "react-hook-form": "7.54.2",
73
73
  "react-select": "5.8.3",
74
- "@ultraviolet/themes": "1.15.0",
75
- "@ultraviolet/ui": "1.82.0"
74
+ "@ultraviolet/ui": "1.82.2",
75
+ "@ultraviolet/themes": "1.15.0"
76
76
  },
77
77
  "scripts": {
78
78
  "build:profile": "npx vite-bundle-visualizer -c vite.config.ts",