@synerise/ds-radio 1.1.0 → 1.1.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.
- package/CHANGELOG.md +8 -0
- package/README.md +12 -10
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.1.2](https://github.com/synerise/synerise-design/compare/@synerise/ds-radio@1.1.1...@synerise/ds-radio@1.1.2) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-radio
|
|
9
|
+
|
|
10
|
+
## [1.1.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-radio@1.1.0...@synerise/ds-radio@1.1.1) (2026-03-09)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-radio
|
|
13
|
+
|
|
6
14
|
# [1.1.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-radio@1.0.43...@synerise/ds-radio@1.1.0) (2026-02-26)
|
|
7
15
|
|
|
8
16
|
### Features
|
package/README.md
CHANGED
|
@@ -28,16 +28,18 @@ Radio UI Component
|
|
|
28
28
|
|
|
29
29
|
#### RadioGroup
|
|
30
30
|
|
|
31
|
-
| Property | Description
|
|
32
|
-
| ------------ |
|
|
33
|
-
| defaultValue | Default selected value
|
|
34
|
-
| disabled | Disable all radio buttons
|
|
35
|
-
|
|
|
36
|
-
|
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
|
|
|
40
|
-
|
|
|
31
|
+
| Property | Description | Type | Default |
|
|
32
|
+
| ------------ | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------- |
|
|
33
|
+
| defaultValue | Default selected value | any | - |
|
|
34
|
+
| disabled | Disable all radio buttons | boolean | `false` |
|
|
35
|
+
| fullWidth | Makes the group `display: flex; width: 100%` with each button taking equal space | boolean | - |
|
|
36
|
+
| big | When combined with `fullWidth`, sets button height to `48px` instead of `32px` | boolean | - |
|
|
37
|
+
| name | The name property of all input[type="radio"] children | string | - |
|
|
38
|
+
| options | Set children optional | string[] / `Array<{ label: string value: string disabled?: boolean }>` | - |
|
|
39
|
+
| size | Size for radio button style | `large` / `default` / `small` | `default` |
|
|
40
|
+
| value | Used for setting the currently selected value | any | - |
|
|
41
|
+
| onChange | The callback function that is triggered when the state changes | (e:Event) => void | - |
|
|
42
|
+
| buttonStyle | Style type of radio button | `outline` / `solid` | `outline` |
|
|
41
43
|
|
|
42
44
|
### Methods
|
|
43
45
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-radio",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Radio UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-form-field": "^1.3.
|
|
39
|
-
"@synerise/ds-typography": "^1.1.
|
|
38
|
+
"@synerise/ds-form-field": "^1.3.9",
|
|
39
|
+
"@synerise/ds-typography": "^1.1.12"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@synerise/ds-core": "*",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"react": ">=16.9.0 <= 18.3.1",
|
|
45
45
|
"styled-components": "^5.3.3"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
48
48
|
}
|