@ultraviolet/form 3.14.0 → 3.14.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.
@@ -5,7 +5,7 @@ import type { BaseFieldProps } from '../../types';
5
5
  type SelectableCardOptionGroupFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = ComponentProps<typeof SelectableCardOptionGroup> & BaseFieldProps<TFieldValues, TFieldName> & Omit<BaseFieldProps<TFieldValues, TFieldName>, 'label'>;
6
6
  export declare const SelectableCardOptionGroupField: {
7
7
  <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ className, legend, control, name, onChange, onChangeOption, required, children, label, error: customError, helper, columns, shouldUnregister, validate, }: SelectableCardOptionGroupFieldProps<TFieldValues, TFieldName>): JSX.Element;
8
- Option: ({ value, label, labelDescription, "aria-label": ariaLabel, children, className, options, image, disabled, id, }: Omit<import("node_modules/@ultraviolet/ui/dist/components/SelectableCard").SelectableCardProps & import("react").RefAttributes<HTMLDivElement>, "onChange"> & {
8
+ Option: ({ value, label, labelDescription, "aria-label": ariaLabel, children, className, options, image, disabled, id, "data-testid": dataTestId, }: Omit<import("node_modules/@ultraviolet/ui/dist/components/SelectableCard").SelectableCardProps & import("react").RefAttributes<HTMLDivElement>, "onChange"> & {
9
9
  value: string;
10
10
  className?: string;
11
11
  children?: import("react").ReactNode;
@@ -14,6 +14,7 @@ export declare const SelectableCardOptionGroupField: {
14
14
  image?: import("react").ReactNode;
15
15
  labelDescription?: ComponentProps<typeof import("@ultraviolet/ui").Label>["labelDescription"];
16
16
  id?: string;
17
+ "data-testid"?: string;
17
18
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
18
19
  };
19
20
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/form",
3
- "version": "3.14.0",
3
+ "version": "3.14.2",
4
4
  "description": "Ultraviolet Form",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -72,7 +72,7 @@
72
72
  "react-hook-form": "7.54.2",
73
73
  "react-select": "5.10.0",
74
74
  "@ultraviolet/themes": "1.16.0",
75
- "@ultraviolet/ui": "1.89.0"
75
+ "@ultraviolet/ui": "1.89.2"
76
76
  },
77
77
  "scripts": {
78
78
  "build:profile": "npx vite-bundle-visualizer -c vite.config.ts",