@synerise/ds-field-set 1.2.0 → 1.2.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 +13 -11
- package/package.json +6 -6
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.2.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-field-set@1.2.1...@synerise/ds-field-set@1.2.2) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-field-set
|
|
9
|
+
|
|
10
|
+
## [1.2.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-field-set@1.2.0...@synerise/ds-field-set@1.2.1) (2026-03-09)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-field-set
|
|
13
|
+
|
|
6
14
|
# [1.2.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-field-set@1.1.20...@synerise/ds-field-set@1.2.0) (2026-02-26)
|
|
7
15
|
|
|
8
16
|
### Features
|
package/README.md
CHANGED
|
@@ -28,14 +28,16 @@ import FieldSet from '@synerise/ds-field-set'
|
|
|
28
28
|
|
|
29
29
|
## API
|
|
30
30
|
|
|
31
|
-
| Property
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
|
|
|
35
|
-
|
|
|
36
|
-
|
|
|
37
|
-
| prefix
|
|
38
|
-
|
|
|
39
|
-
|
|
|
40
|
-
|
|
|
41
|
-
|
|
|
31
|
+
| Property | Description | Type | Default |
|
|
32
|
+
| --------------- | ------------------------------------------------------ | ------------------------------------------ | ------------ |
|
|
33
|
+
| title | Header title | `ReactNode` | - |
|
|
34
|
+
| description | Subtitle rendered below title | `ReactNode` | - |
|
|
35
|
+
| component | Main content inside the collapsible area | `ReactNode` | - |
|
|
36
|
+
| button | Action node at the bottom of the collapsible area | `ReactNode` | - |
|
|
37
|
+
| prefix | Custom prefix in the header (ignored when `expandable`)| `ReactNode` | - |
|
|
38
|
+
| onTitleClick | Click handler for the title element | `(ev: MouseEvent<HTMLElement>) => void` | - |
|
|
39
|
+
| divider | Show a full-width divider between header and content | `boolean` | `true` |
|
|
40
|
+
| expandable | Enable expand/collapse of component and button | `boolean` | - |
|
|
41
|
+
| triggerType | Trigger shown when `expandable` is true | `'expander' \| 'switch'` | `'expander'` |
|
|
42
|
+
| defaultExpanded | Initial expanded state; re-syncs if prop changes | `boolean` | - |
|
|
43
|
+
| onExpandChange | Callback fired after expand/collapse toggle | `(expanded: boolean) => void` | - |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-field-set",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "FieldSet UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-button": "^1.5.
|
|
39
|
-
"@synerise/ds-divider": "^1.
|
|
40
|
-
"@synerise/ds-switch": "^1.2.
|
|
41
|
-
"@synerise/ds-utils": "^1.
|
|
38
|
+
"@synerise/ds-button": "^1.5.17",
|
|
39
|
+
"@synerise/ds-divider": "^1.3.1",
|
|
40
|
+
"@synerise/ds-switch": "^1.2.19",
|
|
41
|
+
"@synerise/ds-utils": "^1.7.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@synerise/ds-core": "*",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": ">=16.9.0 <= 18.3.1",
|
|
47
47
|
"styled-components": "^5.3.3"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
50
50
|
}
|