@ultraviolet/form 3.4.0 → 3.6.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.
@@ -5,24 +5,17 @@ const ui = require("@ultraviolet/ui");
5
5
  const reactHookForm = require("react-hook-form");
6
6
  const index = require("../../providers/ErrorContext/index.cjs");
7
7
  const CheckboxField = ({
8
- id,
9
8
  control,
10
9
  name,
11
10
  label,
12
- size,
13
- progress,
14
11
  disabled,
15
12
  required,
16
- className,
17
13
  children,
18
14
  onChange,
19
15
  onBlur,
20
- onFocus,
21
- helper,
22
- tooltip,
23
- "data-testid": dataTestId,
24
16
  shouldUnregister = false,
25
- validate
17
+ validate,
18
+ ...props
26
19
  }) => {
27
20
  const {
28
21
  getError
@@ -42,14 +35,14 @@ const CheckboxField = ({
42
35
  validate
43
36
  }
44
37
  });
45
- return /* @__PURE__ */ jsxRuntime.jsx(ui.Checkbox, { id, name: field.name, onChange: (event) => {
38
+ return /* @__PURE__ */ jsxRuntime.jsx(ui.Checkbox, { ...props, name: field.name, onChange: (event) => {
46
39
  field.onChange(event.target.checked);
47
40
  onChange?.(event.target.checked);
48
41
  }, onBlur: (event) => {
49
42
  field.onBlur();
50
43
  onBlur?.(event);
51
- }, onFocus, size, progress, disabled: field.disabled, checked: !!field.value, error: getError({
44
+ }, disabled: field.disabled, checked: !!field.value, error: getError({
52
45
  label: label ?? ""
53
- }, error), ref: field.ref, className, required, "data-testid": dataTestId, helper, tooltip, children });
46
+ }, error), ref: field.ref, children });
54
47
  };
55
48
  exports.CheckboxField = CheckboxField;
@@ -2,9 +2,9 @@ import { Checkbox } from '@ultraviolet/ui';
2
2
  import type { ComponentProps, ReactNode } from 'react';
3
3
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
4
  import type { BaseFieldProps } from '../../types';
5
- type CheckboxFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = Omit<BaseFieldProps<TFieldValues, TFieldName>, 'value'> & Partial<Pick<ComponentProps<typeof Checkbox>, 'id' | 'disabled' | 'onBlur' | 'onFocus' | 'progress' | 'size' | 'data-testid' | 'helper' | 'tooltip'>> & {
5
+ type CheckboxFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = Omit<BaseFieldProps<TFieldValues, TFieldName>, 'value'> & Omit<ComponentProps<typeof Checkbox>, 'value' | 'onChange' | 'aria-label'> & {
6
6
  className?: string;
7
7
  children?: ReactNode;
8
8
  };
9
- export declare const CheckboxField: <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ id, control, name, label, size, progress, disabled, required, className, children, onChange, onBlur, onFocus, helper, tooltip, "data-testid": dataTestId, shouldUnregister, validate, }: CheckboxFieldProps<TFieldValues, TFieldName>) => import("@emotion/react/jsx-runtime").JSX.Element;
9
+ export declare const CheckboxField: <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ control, name, label, disabled, required, children, onChange, onBlur, shouldUnregister, validate, ...props }: CheckboxFieldProps<TFieldValues, TFieldName>) => import("@emotion/react/jsx-runtime").JSX.Element;
10
10
  export {};
@@ -3,24 +3,17 @@ import { Checkbox } from "@ultraviolet/ui";
3
3
  import { useController } from "react-hook-form";
4
4
  import { useErrors } from "../../providers/ErrorContext/index.js";
5
5
  const CheckboxField = ({
6
- id,
7
6
  control,
8
7
  name,
9
8
  label,
10
- size,
11
- progress,
12
9
  disabled,
13
10
  required,
14
- className,
15
11
  children,
16
12
  onChange,
17
13
  onBlur,
18
- onFocus,
19
- helper,
20
- tooltip,
21
- "data-testid": dataTestId,
22
14
  shouldUnregister = false,
23
- validate
15
+ validate,
16
+ ...props
24
17
  }) => {
25
18
  const {
26
19
  getError
@@ -40,15 +33,15 @@ const CheckboxField = ({
40
33
  validate
41
34
  }
42
35
  });
43
- return /* @__PURE__ */ jsx(Checkbox, { id, name: field.name, onChange: (event) => {
36
+ return /* @__PURE__ */ jsx(Checkbox, { ...props, name: field.name, onChange: (event) => {
44
37
  field.onChange(event.target.checked);
45
38
  onChange?.(event.target.checked);
46
39
  }, onBlur: (event) => {
47
40
  field.onBlur();
48
41
  onBlur?.(event);
49
- }, onFocus, size, progress, disabled: field.disabled, checked: !!field.value, error: getError({
42
+ }, disabled: field.disabled, checked: !!field.value, error: getError({
50
43
  label: label ?? ""
51
- }, error), ref: field.ref, className, required, "data-testid": dataTestId, helper, tooltip, children });
44
+ }, error), ref: field.ref, children });
52
45
  };
53
46
  export {
54
47
  CheckboxField
@@ -12,11 +12,7 @@ const arraysContainSameValues = (array1, array2) => {
12
12
  return array2.every((value) => array1.includes(value));
13
13
  };
14
14
  const CheckboxGroupField = ({
15
- legend,
16
- className,
17
15
  control,
18
- helper,
19
- direction,
20
16
  children,
21
17
  onChange,
22
18
  label = "",
@@ -24,7 +20,8 @@ const CheckboxGroupField = ({
24
20
  name,
25
21
  required = false,
26
22
  shouldUnregister = false,
27
- validate
23
+ validate,
24
+ ...props
28
25
  }) => {
29
26
  const {
30
27
  getError
@@ -63,7 +60,7 @@ const CheckboxGroupField = ({
63
60
  }
64
61
  }
65
62
  });
66
- return /* @__PURE__ */ jsxRuntime.jsx(ui.CheckboxGroup, { legend, name, value: field.value, onChange: (event) => {
63
+ return /* @__PURE__ */ jsxRuntime.jsx(ui.CheckboxGroup, { ...props, value: field.value, onChange: (event) => {
67
64
  const fieldValue = field.value;
68
65
  if (fieldValue?.includes(event.currentTarget.value)) {
69
66
  field.onChange(fieldValue?.filter((currentValue) => currentValue !== event.currentTarget.value));
@@ -73,7 +70,7 @@ const CheckboxGroupField = ({
73
70
  onChange?.(event.currentTarget.value);
74
71
  }, error: getError({
75
72
  label
76
- }, error) ?? customError, className, direction, helper, required, children });
73
+ }, error) ?? customError, name, children });
77
74
  };
78
75
  CheckboxGroupField.Checkbox = ui.CheckboxGroup.Checkbox;
79
76
  exports.CheckboxGroupField = CheckboxGroupField;
@@ -2,9 +2,9 @@ import { CheckboxGroup } from '@ultraviolet/ui';
2
2
  import type { ComponentProps } from 'react';
3
3
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
4
  import type { BaseFieldProps } from '../../types';
5
- type CheckboxGroupFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Partial<Pick<ComponentProps<typeof CheckboxGroup>, 'className' | 'helper' | 'required' | 'direction' | 'children' | 'error' | 'legend'>> & Required<Pick<ComponentProps<typeof CheckboxGroup>, 'legend'>>;
5
+ type CheckboxGroupFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof CheckboxGroup>, 'value' | 'onChange'>;
6
6
  export declare const CheckboxGroupField: {
7
- <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ legend, className, control, helper, direction, children, onChange, label, error: customError, name, required, shouldUnregister, validate, }: CheckboxGroupFieldProps<TFieldValues, TFieldName>): import("@emotion/react/jsx-runtime").JSX.Element;
7
+ <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ control, children, onChange, label, error: customError, name, required, shouldUnregister, validate, ...props }: CheckboxGroupFieldProps<TFieldValues, TFieldName>): import("@emotion/react/jsx-runtime").JSX.Element;
8
8
  Checkbox: ({ onFocus, onBlur, disabled, error, name, value, children, helper, className, autoFocus, "data-testid": dataTestId, required, }: Omit<({
9
9
  error?: string | import("react").ReactNode;
10
10
  size?: number;
@@ -10,11 +10,7 @@ const arraysContainSameValues = (array1, array2) => {
10
10
  return array2.every((value) => array1.includes(value));
11
11
  };
12
12
  const CheckboxGroupField = ({
13
- legend,
14
- className,
15
13
  control,
16
- helper,
17
- direction,
18
14
  children,
19
15
  onChange,
20
16
  label = "",
@@ -22,7 +18,8 @@ const CheckboxGroupField = ({
22
18
  name,
23
19
  required = false,
24
20
  shouldUnregister = false,
25
- validate
21
+ validate,
22
+ ...props
26
23
  }) => {
27
24
  const {
28
25
  getError
@@ -61,7 +58,7 @@ const CheckboxGroupField = ({
61
58
  }
62
59
  }
63
60
  });
64
- return /* @__PURE__ */ jsx(CheckboxGroup, { legend, name, value: field.value, onChange: (event) => {
61
+ return /* @__PURE__ */ jsx(CheckboxGroup, { ...props, value: field.value, onChange: (event) => {
65
62
  const fieldValue = field.value;
66
63
  if (fieldValue?.includes(event.currentTarget.value)) {
67
64
  field.onChange(fieldValue?.filter((currentValue) => currentValue !== event.currentTarget.value));
@@ -71,7 +68,7 @@ const CheckboxGroupField = ({
71
68
  onChange?.(event.currentTarget.value);
72
69
  }, error: getError({
73
70
  label
74
- }, error) ?? customError, className, direction, helper, required, children });
71
+ }, error) ?? customError, name, children });
75
72
  };
76
73
  CheckboxGroupField.Checkbox = CheckboxGroup.Checkbox;
77
74
  export {
@@ -27,7 +27,8 @@ const DateField = ({
27
27
  selectsRange,
28
28
  size,
29
29
  "data-testid": dataTestId,
30
- shouldUnregister = false
30
+ shouldUnregister = false,
31
+ showMonthYearPicker
31
32
  }) => {
32
33
  const {
33
34
  getError
@@ -71,6 +72,6 @@ const DateField = ({
71
72
  minDate: minDate$1,
72
73
  maxDate: maxDate$1,
73
74
  label
74
- }, error), disabled, autoFocus, excludeDates, selectsRange, "data-testid": dataTestId, startDate: selectsRange && Array.isArray(field.value) ? field.value[0] : void 0, endDate: selectsRange && Array.isArray(field.value) ? field.value[1] : void 0 });
75
+ }, error), disabled, autoFocus, excludeDates, selectsRange, showMonthYearPicker, "data-testid": dataTestId, startDate: selectsRange && Array.isArray(field.value) ? field.value[0] : void 0, endDate: selectsRange && Array.isArray(field.value) ? field.value[1] : void 0 });
75
76
  };
76
77
  exports.DateField = DateField;
@@ -12,5 +12,5 @@ type DateFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPa
12
12
  onFocus?: (value: FocusEvent<HTMLElement>) => void;
13
13
  autoFocus?: boolean;
14
14
  };
15
- export declare const DateField: <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ required, name, control, label, format, locale, maxDate, minDate, disabled, onChange, onBlur, onFocus, validate, autoFocus, excludeDates, selectsRange, size, "data-testid": dataTestId, shouldUnregister, }: DateFieldProps<TFieldValues, TFieldName>) => import("@emotion/react/jsx-runtime").JSX.Element;
15
+ export declare const DateField: <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ required, name, control, label, format, locale, maxDate, minDate, disabled, onChange, onBlur, onFocus, validate, autoFocus, excludeDates, selectsRange, size, "data-testid": dataTestId, shouldUnregister, showMonthYearPicker, }: DateFieldProps<TFieldValues, TFieldName>) => import("@emotion/react/jsx-runtime").JSX.Element;
16
16
  export {};
@@ -25,7 +25,8 @@ const DateField = ({
25
25
  selectsRange,
26
26
  size,
27
27
  "data-testid": dataTestId,
28
- shouldUnregister = false
28
+ shouldUnregister = false,
29
+ showMonthYearPicker
29
30
  }) => {
30
31
  const {
31
32
  getError
@@ -69,7 +70,7 @@ const DateField = ({
69
70
  minDate,
70
71
  maxDate,
71
72
  label
72
- }, error), disabled, autoFocus, excludeDates, selectsRange, "data-testid": dataTestId, startDate: selectsRange && Array.isArray(field.value) ? field.value[0] : void 0, endDate: selectsRange && Array.isArray(field.value) ? field.value[1] : void 0 });
73
+ }, error), disabled, autoFocus, excludeDates, selectsRange, showMonthYearPicker, "data-testid": dataTestId, startDate: selectsRange && Array.isArray(field.value) ? field.value[0] : void 0, endDate: selectsRange && Array.isArray(field.value) ? field.value[1] : void 0 });
73
74
  };
74
75
  export {
75
76
  DateField
@@ -5,11 +5,8 @@ const ui = require("@ultraviolet/ui");
5
5
  const reactHookForm = require("react-hook-form");
6
6
  const index = require("../../providers/ErrorContext/index.cjs");
7
7
  const RadioField = ({
8
- className,
9
8
  control,
10
- "data-testid": dataTestId,
11
9
  disabled,
12
- id,
13
10
  name,
14
11
  onBlur,
15
12
  label = "",
@@ -17,9 +14,9 @@ const RadioField = ({
17
14
  onFocus,
18
15
  required,
19
16
  value,
20
- tooltip,
21
17
  shouldUnregister = false,
22
- validate
18
+ validate,
19
+ ...props
23
20
  }) => {
24
21
  const {
25
22
  getError
@@ -38,14 +35,14 @@ const RadioField = ({
38
35
  validate
39
36
  }
40
37
  });
41
- return /* @__PURE__ */ jsxRuntime.jsx(ui.Radio, { name: field.name, checked: field.value === value, className, "data-testid": dataTestId, disabled, error: getError({
38
+ return /* @__PURE__ */ jsxRuntime.jsx(ui.Radio, { ...props, name: field.name, checked: field.value === value, disabled, error: getError({
42
39
  label: typeof label === "string" ? label : ""
43
- }, error), id, onChange: () => {
40
+ }, error), onChange: () => {
44
41
  field.onChange(value);
45
42
  onChange?.(value);
46
43
  }, onBlur: (event) => {
47
44
  field.onBlur();
48
45
  onBlur?.(event);
49
- }, onFocus, required, value: value ?? "", label, tooltip });
46
+ }, onFocus, required, value: value ?? "", label });
50
47
  };
51
48
  exports.RadioField = RadioField;
@@ -2,11 +2,9 @@ import { Radio } from '@ultraviolet/ui';
2
2
  import type { ComponentProps } from 'react';
3
3
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
4
  import type { BaseFieldProps } from '../../types';
5
- type RadioFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = Omit<BaseFieldProps<TFieldValues, TFieldName>, 'label'> & Partial<Pick<ComponentProps<typeof Radio>, 'disabled' | 'id' | 'onBlur' | 'onFocus' | 'data-testid' | 'tooltip' | 'label'>> & {
6
- className?: string;
7
- };
5
+ type RadioFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = Omit<BaseFieldProps<TFieldValues, TFieldName>, 'label'> & Omit<ComponentProps<typeof Radio>, 'value' | 'onChange' | 'aria-label'>;
8
6
  /**
9
7
  * @deprecated This component is deprecated, use `RadioGroupField` instead.
10
8
  */
11
- export declare const RadioField: <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ className, control, "data-testid": dataTestId, disabled, id, name, onBlur, label, onChange, onFocus, required, value, tooltip, shouldUnregister, validate, }: RadioFieldProps<TFieldValues, TFieldName>) => import("@emotion/react/jsx-runtime").JSX.Element;
9
+ export declare const RadioField: <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ control, disabled, name, onBlur, label, onChange, onFocus, required, value, shouldUnregister, validate, ...props }: RadioFieldProps<TFieldValues, TFieldName>) => import("@emotion/react/jsx-runtime").JSX.Element;
12
10
  export {};
@@ -3,11 +3,8 @@ import { Radio } from "@ultraviolet/ui";
3
3
  import { useController } from "react-hook-form";
4
4
  import { useErrors } from "../../providers/ErrorContext/index.js";
5
5
  const RadioField = ({
6
- className,
7
6
  control,
8
- "data-testid": dataTestId,
9
7
  disabled,
10
- id,
11
8
  name,
12
9
  onBlur,
13
10
  label = "",
@@ -15,9 +12,9 @@ const RadioField = ({
15
12
  onFocus,
16
13
  required,
17
14
  value,
18
- tooltip,
19
15
  shouldUnregister = false,
20
- validate
16
+ validate,
17
+ ...props
21
18
  }) => {
22
19
  const {
23
20
  getError
@@ -36,15 +33,15 @@ const RadioField = ({
36
33
  validate
37
34
  }
38
35
  });
39
- return /* @__PURE__ */ jsx(Radio, { name: field.name, checked: field.value === value, className, "data-testid": dataTestId, disabled, error: getError({
36
+ return /* @__PURE__ */ jsx(Radio, { ...props, name: field.name, checked: field.value === value, disabled, error: getError({
40
37
  label: typeof label === "string" ? label : ""
41
- }, error), id, onChange: () => {
38
+ }, error), onChange: () => {
42
39
  field.onChange(value);
43
40
  onChange?.(value);
44
41
  }, onBlur: (event) => {
45
42
  field.onBlur();
46
43
  onBlur?.(event);
47
- }, onFocus, required, value: value ?? "", label, tooltip });
44
+ }, onFocus, required, value: value ?? "", label });
48
45
  };
49
46
  export {
50
47
  RadioField
@@ -5,19 +5,17 @@ const ui = require("@ultraviolet/ui");
5
5
  const reactHookForm = require("react-hook-form");
6
6
  const index = require("../../providers/ErrorContext/index.cjs");
7
7
  const RadioGroupField = ({
8
- className,
9
8
  control,
10
- legend = "",
11
9
  name,
12
10
  onChange,
13
11
  required,
14
12
  children,
15
13
  label = "",
16
14
  error: customError,
17
- helper,
18
- direction,
19
15
  shouldUnregister = false,
20
- validate
16
+ validate,
17
+ legend,
18
+ ...props
21
19
  }) => {
22
20
  const {
23
21
  getError
@@ -36,12 +34,12 @@ const RadioGroupField = ({
36
34
  validate
37
35
  }
38
36
  });
39
- return /* @__PURE__ */ jsxRuntime.jsx(ui.RadioGroup, { className, name: field.name, onChange: (event) => {
37
+ return /* @__PURE__ */ jsxRuntime.jsx(ui.RadioGroup, { ...props, name: field.name, onChange: (event) => {
40
38
  field.onChange(event);
41
39
  onChange?.(event.target.value);
42
- }, required, value: field.value, legend, error: getError({
40
+ }, required, value: field.value, error: getError({
43
41
  label
44
- }, error) ?? customError, helper, direction, children });
42
+ }, error) ?? customError, legend: legend ?? "", children });
45
43
  };
46
44
  RadioGroupField.Radio = ui.RadioGroup.Radio;
47
45
  exports.RadioGroupField = RadioGroupField;
@@ -2,11 +2,9 @@ import { RadioGroup } from '@ultraviolet/ui';
2
2
  import type { ComponentProps, JSX } from 'react';
3
3
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
4
  import type { BaseFieldProps } from '../../types';
5
- type RadioGroupFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Partial<Pick<ComponentProps<typeof RadioGroup>, 'legend' | 'children' | 'error' | 'helper' | 'direction'>> & {
6
- className?: string;
7
- };
5
+ type RadioGroupFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof RadioGroup>, 'value' | 'onChange' | 'legend'> & Partial<Pick<ComponentProps<typeof RadioGroup>, 'legend'>>;
8
6
  export declare const RadioGroupField: {
9
- <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ className, control, legend, name, onChange, required, children, label, error: customError, helper, direction, shouldUnregister, validate, }: RadioGroupFieldProps<TFieldValues, TFieldName>): JSX.Element;
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;
10
8
  Radio: ({ onFocus, onBlur, disabled, error, name, value, label, helper, className, autoFocus, onKeyDown, tooltip, "data-testid": dataTestId, }: Omit<({
11
9
  error?: import("react").ReactNode;
12
10
  checked?: boolean;
@@ -3,19 +3,17 @@ import { RadioGroup } from "@ultraviolet/ui";
3
3
  import { useController } from "react-hook-form";
4
4
  import { useErrors } from "../../providers/ErrorContext/index.js";
5
5
  const RadioGroupField = ({
6
- className,
7
6
  control,
8
- legend = "",
9
7
  name,
10
8
  onChange,
11
9
  required,
12
10
  children,
13
11
  label = "",
14
12
  error: customError,
15
- helper,
16
- direction,
17
13
  shouldUnregister = false,
18
- validate
14
+ validate,
15
+ legend,
16
+ ...props
19
17
  }) => {
20
18
  const {
21
19
  getError
@@ -34,12 +32,12 @@ const RadioGroupField = ({
34
32
  validate
35
33
  }
36
34
  });
37
- return /* @__PURE__ */ jsx(RadioGroup, { className, name: field.name, onChange: (event) => {
35
+ return /* @__PURE__ */ jsx(RadioGroup, { ...props, name: field.name, onChange: (event) => {
38
36
  field.onChange(event);
39
37
  onChange?.(event.target.value);
40
- }, required, value: field.value, legend, error: getError({
38
+ }, required, value: field.value, error: getError({
41
39
  label
42
- }, error) ?? customError, helper, direction, children });
40
+ }, error) ?? customError, legend: legend ?? "", children });
43
41
  };
44
42
  RadioGroupField.Radio = RadioGroup.Radio;
45
43
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/form",
3
- "version": "3.4.0",
3
+ "version": "3.6.0",
4
4
  "description": "Ultraviolet Form",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -51,8 +51,8 @@
51
51
  }
52
52
  ],
53
53
  "peerDependencies": {
54
- "@emotion/react": "11.11.4",
55
- "@emotion/styled": "11.11.5",
54
+ "@emotion/react": "11.13.0",
55
+ "@emotion/styled": "11.13.0",
56
56
  "react": "18.x",
57
57
  "react-dom": "18.x",
58
58
  "react-hook-form": "7.52.1"
@@ -68,11 +68,11 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@babel/runtime": "7.24.8",
71
- "@emotion/react": "11.11.4",
72
- "@emotion/styled": "11.11.5",
71
+ "@emotion/react": "11.13.0",
72
+ "@emotion/styled": "11.13.0",
73
73
  "react-select": "5.8.0",
74
74
  "react-hook-form": "7.52.1",
75
- "@ultraviolet/ui": "1.63.0",
75
+ "@ultraviolet/ui": "1.65.0",
76
76
  "@ultraviolet/themes": "1.12.2"
77
77
  },
78
78
  "scripts": {