@raspberrypifoundation/design-system-react 2.7.1 → 2.7.3
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.
- package/CHANGELOG.md +15 -3
- package/dist/design-system-react.js +676 -782
- package/dist/design-system-react.umd.cjs +9 -9
- package/dist/types/lib/main.d.ts +7 -0
- package/dist/types/lib/main.d.ts.map +1 -1
- package/dist/types/src/components/Form/CheckboxInput/CheckboxInput.types.d.ts +1 -11
- package/dist/types/src/components/Form/CheckboxInput/CheckboxInput.types.d.ts.map +1 -1
- package/dist/types/src/components/Form/CheckboxInput/index.d.ts +1 -1
- package/dist/types/src/components/Form/CheckboxInput/index.d.ts.map +1 -1
- package/dist/types/src/components/Form/Fieldset/FieldSet.types.d.ts +16 -0
- package/dist/types/src/components/Form/Fieldset/FieldSet.types.d.ts.map +1 -0
- package/dist/types/src/components/Form/Fieldset/Fieldset.spec.d.ts.map +1 -1
- package/dist/types/src/components/Form/Fieldset/index.d.ts +3 -19
- package/dist/types/src/components/Form/Fieldset/index.d.ts.map +1 -1
- package/dist/types/src/components/Form/InputField/InputField.types.d.ts +16 -0
- package/dist/types/src/components/Form/InputField/InputField.types.d.ts.map +1 -0
- package/dist/types/src/components/Form/InputField/index.d.ts +3 -19
- package/dist/types/src/components/Form/InputField/index.d.ts.map +1 -1
- package/dist/types/src/components/Form/InputLabel/InputLabel.spec.d.ts.map +1 -1
- package/dist/types/src/components/Form/InputLabel/InputLabel.types.d.ts +11 -0
- package/dist/types/src/components/Form/InputLabel/InputLabel.types.d.ts.map +1 -0
- package/dist/types/src/components/Form/InputLabel/index.d.ts +3 -15
- package/dist/types/src/components/Form/InputLabel/index.d.ts.map +1 -1
- package/dist/types/src/components/Form/RadioInput/RadioInput.spec.d.ts.map +1 -1
- package/dist/types/src/components/Form/RadioInput/RadioInput.types.d.ts +11 -0
- package/dist/types/src/components/Form/RadioInput/RadioInput.types.d.ts.map +1 -0
- package/dist/types/src/components/Form/RadioInput/index.d.ts +3 -23
- package/dist/types/src/components/Form/RadioInput/index.d.ts.map +1 -1
- package/dist/types/src/components/Form/SearchInput/SearchInput.types.d.ts +1 -1
- package/dist/types/src/components/Form/SearchInput/SearchInput.types.d.ts.map +1 -1
- package/dist/types/src/components/Form/SelectInput/SelectInput.spec.d.ts.map +1 -1
- package/dist/types/src/components/Form/SelectInput/SelectInput.types.d.ts +24 -0
- package/dist/types/src/components/Form/SelectInput/SelectInput.types.d.ts.map +1 -0
- package/dist/types/src/components/Form/SelectInput/index.d.ts +4 -29
- package/dist/types/src/components/Form/SelectInput/index.d.ts.map +1 -1
- package/dist/types/src/components/Form/TextInput/TextInput.spec.d.ts.map +1 -1
- package/dist/types/src/components/Form/TextInput/TextInput.types.d.ts +15 -0
- package/dist/types/src/components/Form/TextInput/TextInput.types.d.ts.map +1 -0
- package/dist/types/src/components/Form/TextInput/index.d.ts +4 -25
- package/dist/types/src/components/Form/TextInput/index.d.ts.map +1 -1
- package/dist/types/src/components/Form/TextareaInput/TextareaInput.spec.d.ts.map +1 -1
- package/dist/types/src/components/Form/TextareaInput/TextareaInput.types.d.ts +23 -0
- package/dist/types/src/components/Form/TextareaInput/TextareaInput.types.d.ts.map +1 -0
- package/dist/types/src/components/Form/TextareaInput/index.d.ts +3 -27
- package/dist/types/src/components/Form/TextareaInput/index.d.ts.map +1 -1
- package/dist/types/src/stories/forms/Fieldset.stories.d.ts +17 -55
- package/dist/types/src/stories/forms/Fieldset.stories.d.ts.map +1 -1
- package/dist/types/src/stories/forms/InputLabel.stories.d.ts +13 -24
- package/dist/types/src/stories/forms/InputLabel.stories.d.ts.map +1 -1
- package/dist/types/src/stories/forms/RadioInput.stories.d.ts +31 -49
- package/dist/types/src/stories/forms/RadioInput.stories.d.ts.map +1 -1
- package/dist/types/src/stories/forms/SelectInput.stories.d.ts +25 -51
- package/dist/types/src/stories/forms/SelectInput.stories.d.ts.map +1 -1
- package/dist/types/src/stories/forms/TextInput.stories.d.ts +21 -36
- package/dist/types/src/stories/forms/TextInput.stories.d.ts.map +1 -1
- package/dist/types/src/stories/forms/TextareaInput.stories.d.ts +25 -51
- package/dist/types/src/stories/forms/TextareaInput.stories.d.ts.map +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## 2.7.3 - 2025-12-05
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Allow form components to use native props in typed applications. (#172)
|
|
12
|
+
|
|
13
|
+
## 2.7.2 - 2025-11-28
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Fieldset, InputField, SelectInput, TextareaInput, TextInput, RadioInput and InputLabel have Typescript typing for props. (#169)
|
|
18
|
+
|
|
7
19
|
## 2.7.1 - 2025-11-13
|
|
8
20
|
|
|
9
21
|
### Changed
|
|
@@ -52,9 +64,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
52
64
|
### Changed
|
|
53
65
|
|
|
54
66
|
- Improved `SearchInput` accessibility:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
67
|
+
- Wrapped component in semantic `<search>` element and a `<form>` element
|
|
68
|
+
- Moved `onClick` handler to the `form` element
|
|
69
|
+
- Changed button type to `submit`
|
|
58
70
|
|
|
59
71
|
It should now be possible for users to submit their input using the keyboard 'enter' key without having to tab to the button.
|
|
60
72
|
|