@synerise/ds-field-set 1.2.1 → 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.
Files changed (3) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +13 -11
  3. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
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
+
6
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)
7
11
 
8
12
  **Note:** Version bump only for package @synerise/ds-field-set
package/README.md CHANGED
@@ -28,14 +28,16 @@ import FieldSet from '@synerise/ds-field-set'
28
28
 
29
29
  ## API
30
30
 
31
- | Property | Description | Type | Default |
32
- | ------------ | ------------------------- | ------------------------ | --------------- |
33
- | component | prop to set component | React.ReactNode | - |
34
- | title | text of title | string | - |
35
- | onTitleClick | onclick handler for title | () => void | - |
36
- | description | text of the description | string | - |
37
- | prefix | prop to set prefix item | React.ReactNode | - |
38
- | button | prop to set button | React.ReactNode | - |
39
- | expandable | prop to expand field-set | boolean | - |
40
- | typeTrigger | Trigger type prefix | `expander` / `switch` | `expander` |
41
- | divider | props to set divider | boolean | - |
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.1",
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.16",
39
- "@synerise/ds-divider": "^1.3.0",
40
- "@synerise/ds-switch": "^1.2.18",
41
- "@synerise/ds-utils": "^1.6.0"
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": "8dfafc5d7278f09d430f1e7499782d05c76b47c0"
49
+ "gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
50
50
  }