@coopdigital/react 0.41.0 → 0.41.1

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.
@@ -1,6 +1,6 @@
1
1
  import type { InputHTMLAttributes, JSX } from "react";
2
2
  import { FormFieldError, StandardSizes } from "../../../src/types";
3
- export interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> {
3
+ export interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "prefix" | "size" | "type"> {
4
4
  /** **(Optional)** Specify additional CSS classes to be applied to the component. */
5
5
  className?: string;
6
6
  /** **(Optional)** Specify whether the TextInput should be disabled. Refer to Experience Library guidance on disabled form controls and accessibility. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@coopdigital/react",
3
3
  "type": "module",
4
- "version": "0.41.0",
4
+ "version": "0.41.1",
5
5
  "private": false,
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -57,10 +57,10 @@
57
57
  "devDependencies": {
58
58
  "@axe-core/playwright": "^4.11.0",
59
59
  "@playwright/test": "^1.56.1",
60
- "@storybook/addon-a11y": "^9.1.13",
61
- "@storybook/addon-docs": "^9.1.13",
62
- "@storybook/addon-onboarding": "^9.1.13",
63
- "@storybook/react-vite": "^9.1.13",
60
+ "@storybook/addon-a11y": "^10.0.3",
61
+ "@storybook/addon-docs": "^10.0.3",
62
+ "@storybook/addon-onboarding": "^10.0.3",
63
+ "@storybook/react-vite": "^10.0.3",
64
64
  "@testing-library/jest-dom": "^6.9.1",
65
65
  "@testing-library/react": "^16.3.0",
66
66
  "@types/react": "^19.2.2",
@@ -68,7 +68,7 @@
68
68
  "react": "^19.2.0",
69
69
  "react-dom": "^19.2.0",
70
70
  "serve": "^14.2.5",
71
- "storybook": "^9.1.13"
71
+ "storybook": "^10.0.3"
72
72
  },
73
73
  "peerDependencies": {
74
74
  "react": "^19.1.0",
@@ -81,5 +81,5 @@
81
81
  "@coopdigital/styles": "^0.36.0",
82
82
  "clsx": "^2.1.1"
83
83
  },
84
- "gitHead": "b8ae0361154729b858c7c62e965cc188ca7f34eb"
84
+ "gitHead": "32143908f0d9ebc5555ac7ec4c1e57eb3f81a35f"
85
85
  }
@@ -9,7 +9,7 @@ import { FieldHint } from "../FieldHint"
9
9
  import { FieldLabel } from "../FieldLabel"
10
10
 
11
11
  export interface TextInputProps
12
- extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> {
12
+ extends Omit<InputHTMLAttributes<HTMLInputElement>, "prefix" | "size" | "type"> {
13
13
  /** **(Optional)** Specify additional CSS classes to be applied to the component. */
14
14
  className?: string
15
15
  /** **(Optional)** Specify whether the TextInput should be disabled. Refer to Experience Library guidance on disabled form controls and accessibility. */