@ultraviolet/form 1.10.5 → 1.11.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -8
  2. package/package.json +6 -6
package/dist/index.d.ts CHANGED
@@ -94,7 +94,7 @@ declare const CheckboxField: react.ForwardRefExoticComponent<BaseFieldProps<stri
94
94
  children?: undefined;
95
95
  } & {
96
96
  'aria-label': string;
97
- }))) & react.RefAttributes<HTMLInputElement>, "value" | "disabled" | "progress" | "onFocus" | "onBlur" | "onChange" | "size" | "data-testid" | "helper" | "tooltip">> & {
97
+ }))) & react.RefAttributes<HTMLInputElement>, "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "progress" | "size" | "data-testid" | "helper" | "tooltip">> & {
98
98
  name: string;
99
99
  label?: string | undefined;
100
100
  className?: string | undefined;
@@ -347,17 +347,17 @@ declare const TextInputField: react.ForwardRefExoticComponent<BaseFieldProps<Tex
347
347
  type?: react.HTMLInputTypeAttribute | undefined;
348
348
  children?: react.ReactNode;
349
349
  className?: string | undefined;
350
- form?: string | undefined;
351
- slot?: string | undefined;
352
- style?: react.CSSProperties | undefined;
353
- title?: string | undefined;
354
- pattern?: string | undefined;
355
350
  onFocus?: react.FocusEventHandler<HTMLInputElement> | undefined;
356
351
  onBlur?: react.FocusEventHandler<HTMLInputElement> | undefined;
357
352
  autoFocus?: boolean | undefined;
358
353
  id?: string | undefined;
359
354
  onChange?: react.ChangeEventHandler<HTMLInputElement> | undefined;
360
355
  "aria-label"?: string | undefined;
356
+ form?: string | undefined;
357
+ slot?: string | undefined;
358
+ style?: react.CSSProperties | undefined;
359
+ title?: string | undefined;
360
+ pattern?: string | undefined;
361
361
  size?: number | undefined;
362
362
  checked?: boolean | undefined;
363
363
  onSubmit?: react.FormEventHandler<HTMLInputElement> | undefined;
@@ -373,7 +373,6 @@ declare const TextInputField: react.ForwardRefExoticComponent<BaseFieldProps<Tex
373
373
  hidden?: boolean | undefined;
374
374
  lang?: string | undefined;
375
375
  nonce?: string | undefined;
376
- placeholder?: string | undefined;
377
376
  spellCheck?: (boolean | "false" | "true") | undefined;
378
377
  tabIndex?: number | undefined;
379
378
  translate?: "yes" | "no" | undefined;
@@ -617,6 +616,7 @@ declare const TextInputField: react.ForwardRefExoticComponent<BaseFieldProps<Tex
617
616
  onAnimationIterationCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
618
617
  onTransitionEnd?: react.TransitionEventHandler<HTMLInputElement> | undefined;
619
618
  onTransitionEndCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
619
+ placeholder?: string | undefined;
620
620
  height?: string | number | undefined;
621
621
  width?: string | number | undefined;
622
622
  readOnly?: boolean | undefined;
@@ -641,7 +641,7 @@ declare const TextInputField: react.ForwardRefExoticComponent<BaseFieldProps<Tex
641
641
  } | undefined;
642
642
  max?: string | number | undefined;
643
643
  min?: string | number | undefined;
644
- } & (Omit<react.InputHTMLAttributes<HTMLInputElement>, "onChange"> | Omit<react.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange">)) & react.RefAttributes<HTMLInputElement | HTMLTextAreaElement | null>, "valid" | "value" | "required" | "minLength" | "maxLength" | "disabled" | "type" | "label" | "onFocus" | "onBlur" | "autoFocus" | "id" | "onChange" | "size" | "data-testid" | "autoComplete" | "placeholder" | "autoCapitalize" | "autoCorrect" | "autoSave" | "onKeyDown" | "onKeyUp" | "noTopLabel" | "readOnly" | "cols" | "rows" | "fillAvailable" | "generated" | "multiline" | "notice" | "random" | "resizable" | "unit">> & {
644
+ } & (Omit<react.InputHTMLAttributes<HTMLInputElement>, "onChange"> | Omit<react.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange">)) & react.RefAttributes<HTMLInputElement | HTMLTextAreaElement | null>, "valid" | "value" | "required" | "minLength" | "maxLength" | "disabled" | "type" | "label" | "onFocus" | "onBlur" | "autoFocus" | "id" | "onChange" | "size" | "data-testid" | "autoComplete" | "autoCapitalize" | "autoCorrect" | "autoSave" | "onKeyDown" | "onKeyUp" | "placeholder" | "noTopLabel" | "readOnly" | "cols" | "rows" | "fillAvailable" | "generated" | "multiline" | "notice" | "random" | "resizable" | "unit">> & {
645
645
  name: string;
646
646
  className?: string | undefined;
647
647
  max?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/form",
3
- "version": "1.10.5",
3
+ "version": "1.11.0",
4
4
  "description": "Ultraviolet Form",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -38,15 +38,15 @@
38
38
  "react-dom": "18.x"
39
39
  },
40
40
  "devDependencies": {
41
- "@babel/core": "7.23.3",
41
+ "@babel/core": "7.23.5",
42
42
  "@types/final-form-focus": "1.1.7",
43
- "@types/react": "18.2.37",
44
- "@types/react-dom": "18.2.15",
43
+ "@types/react": "18.2.43",
44
+ "@types/react-dom": "18.2.17",
45
45
  "react": "18.2.0",
46
46
  "react-dom": "18.2.0"
47
47
  },
48
48
  "dependencies": {
49
- "@babel/runtime": "7.23.4",
49
+ "@babel/runtime": "7.23.5",
50
50
  "@emotion/babel-plugin": "11.11.0",
51
51
  "@emotion/react": "11.11.1",
52
52
  "@emotion/styled": "11.11.0",
@@ -55,7 +55,7 @@
55
55
  "react-final-form": "6.5.9",
56
56
  "react-final-form-arrays": "3.1.4",
57
57
  "react-select": "5.8.0",
58
- "@ultraviolet/ui": "1.27.2"
58
+ "@ultraviolet/ui": "1.28.0"
59
59
  },
60
60
  "scripts": {
61
61
  "build": "rollup -c ../../rollup.config.mjs"