@synerise/ds-field-set 1.0.29 → 1.1.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
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.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-field-set@1.1.0...@synerise/ds-field-set@1.1.1) (2025-10-16)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-field-set
9
+
10
+
11
+
12
+
13
+
14
+ # [1.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-field-set@1.0.29...@synerise/ds-field-set@1.1.0) (2025-10-10)
15
+
16
+
17
+ ### Features
18
+
19
+ * **list-item:** submenu and header ([71fa4bf](https://github.com/Synerise/synerise-design/commit/71fa4bfadd5fdb52d61dfe8fe87a9e47567e5d16))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [1.0.29](https://github.com/Synerise/synerise-design/compare/@synerise/ds-field-set@1.0.28...@synerise/ds-field-set@1.0.29) (2025-10-08)
7
26
 
8
27
  **Note:** Version bump only for package @synerise/ds-field-set
package/dist/FieldSet.js CHANGED
@@ -3,7 +3,6 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
3
3
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
5
5
  import Button from '@synerise/ds-button';
6
- import Divider from '@synerise/ds-divider';
7
6
  import { useResizeObserver } from '@synerise/ds-utils';
8
7
  import * as S from './FieldSet.styles';
9
8
  var FieldSet = function FieldSet(_ref) {
@@ -61,7 +60,7 @@ var FieldSet = function FieldSet(_ref) {
61
60
  onClick: handleTitleClick,
62
61
  isClickable: Boolean(onTitleClick || expandable),
63
62
  description: Boolean(description)
64
- }, title), description && /*#__PURE__*/React.createElement(S.Description, null, description))), divider && /*#__PURE__*/React.createElement(Divider, null), (component || button) && /*#__PURE__*/React.createElement(S.CollapsibleContent, {
63
+ }, title), description && /*#__PURE__*/React.createElement(S.Description, null, description))), divider && /*#__PURE__*/React.createElement(S.StyledDivider, null), (component || button) && /*#__PURE__*/React.createElement(S.CollapsibleContent, {
65
64
  "data-testid": "field-set-collapsible",
66
65
  ref: containerRef,
67
66
  expandable: expandable,
@@ -18,3 +18,4 @@ export declare const CollapsibleContent: import("styled-components").StyledCompo
18
18
  maxHeight?: number;
19
19
  }, never>;
20
20
  export declare const CollapsibleContentInner: import("styled-components").StyledComponent<"div", any, {}, never>;
21
+ export declare const StyledDivider: import("styled-components").StyledComponent<(props: import("@synerise/ds-divider").DividerProps) => React.JSX.Element, any, {}, never>;
@@ -1,4 +1,5 @@
1
1
  import styled, { css } from 'styled-components';
2
+ import Divider from '@synerise/ds-divider';
2
3
  export var Title = styled.div.withConfig({
3
4
  displayName: "FieldSetstyles__Title",
4
5
  componentId: "sc-1hezedi-0"
@@ -50,4 +51,8 @@ export var CollapsibleContent = styled.div.withConfig({
50
51
  export var CollapsibleContentInner = styled.div.withConfig({
51
52
  displayName: "FieldSetstyles__CollapsibleContentInner",
52
53
  componentId: "sc-1hezedi-10"
53
- })([""]);
54
+ })([""]);
55
+ export var StyledDivider = styled(Divider).withConfig({
56
+ displayName: "FieldSetstyles__StyledDivider",
57
+ componentId: "sc-1hezedi-11"
58
+ })(["width:100%;display:flex;"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-field-set",
3
- "version": "1.0.29",
3
+ "version": "1.1.1",
4
4
  "description": "FieldSet UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -35,9 +35,9 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-button": "^1.4.13",
39
- "@synerise/ds-divider": "^1.1.3",
40
- "@synerise/ds-utils": "^1.4.2"
38
+ "@synerise/ds-button": "^1.4.15",
39
+ "@synerise/ds-divider": "^1.2.0",
40
+ "@synerise/ds-utils": "^1.5.0"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@synerise/ds-core": "*",
@@ -45,5 +45,5 @@
45
45
  "react": ">=16.9.0 <= 18.3.1",
46
46
  "styled-components": "^5.3.3"
47
47
  },
48
- "gitHead": "b93cc50e96540d3174fcf1c673d424d0ff57c5ef"
48
+ "gitHead": "dff7f973bc9fb59e3eb88c658add8b6eb5a1b792"
49
49
  }