@synerise/ds-field-set 0.2.26 → 0.2.27
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +11 -0
- package/dist/FieldSet.js +2 -2
- package/dist/FieldSet.styles.js +4 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,17 @@
|
|
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
|
+
## [0.2.27](https://github.com/Synerise/synerise-design/compare/@synerise/ds-field-set@0.2.26...@synerise/ds-field-set@0.2.27) (2024-06-21)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* **field-set:** fix display in wrapper component ([fe04b8c](https://github.com/Synerise/synerise-design/commit/fe04b8c2c43c843dbfd6e85d24ae138262f8c661))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
6
17
|
## [0.2.26](https://github.com/Synerise/synerise-design/compare/@synerise/ds-field-set@0.2.25...@synerise/ds-field-set@0.2.26) (2024-05-29)
|
7
18
|
|
8
19
|
**Note:** Version bump only for package @synerise/ds-field-set
|
package/dist/FieldSet.js
CHANGED
@@ -12,7 +12,7 @@ var FieldSet = function FieldSet(_ref) {
|
|
12
12
|
onTitleClick = _ref.onTitleClick;
|
13
13
|
return /*#__PURE__*/React.createElement(S.ContainerWrapper, {
|
14
14
|
className: "ds-field-set " + className
|
15
|
-
}, /*#__PURE__*/React.createElement(S.HeaderWrapper, null, /*#__PURE__*/React.createElement(S.ButtonWrapper, null, prefix), /*#__PURE__*/React.createElement(S.FieldSetTitle, {
|
15
|
+
}, /*#__PURE__*/React.createElement(S.HeaderWrapper, null, prefix && /*#__PURE__*/React.createElement(S.ButtonWrapper, null, prefix), /*#__PURE__*/React.createElement(S.FieldSetTitle, {
|
16
16
|
description: Boolean(description)
|
17
17
|
}, /*#__PURE__*/React.createElement(S.Title, {
|
18
18
|
onClick: onTitleClick,
|
@@ -20,7 +20,7 @@ var FieldSet = function FieldSet(_ref) {
|
|
20
20
|
description: Boolean(description)
|
21
21
|
}, title), /*#__PURE__*/React.createElement(S.Description, {
|
22
22
|
description: Boolean(description)
|
23
|
-
}, description))), /*#__PURE__*/React.createElement(Divider, null), /*#__PURE__*/React.createElement(S.ComponentWrapper, null, component), /*#__PURE__*/React.createElement(S.ActionButton, null, button));
|
23
|
+
}, description))), /*#__PURE__*/React.createElement(Divider, null), component && /*#__PURE__*/React.createElement(S.ComponentWrapper, null, component), button && /*#__PURE__*/React.createElement(S.ActionButton, null, button));
|
24
24
|
};
|
25
25
|
|
26
26
|
export default FieldSet;
|
package/dist/FieldSet.styles.js
CHANGED
@@ -3,7 +3,7 @@ export var Title = styled.div.withConfig({
|
|
3
3
|
displayName: "FieldSetstyles__Title",
|
4
4
|
componentId: "sc-1hezedi-0"
|
5
5
|
})(["display:flex;line-height:16px;padding-bottom:", ";max-width:800px;font-size:16px;font-weight:500;word-wrap:break-word;align-items:center;color:", ";cursor:", ";"], function (props) {
|
6
|
-
return props.description ? '8px' : '
|
6
|
+
return props.description ? '8px' : '0';
|
7
7
|
}, function (props) {
|
8
8
|
return props.theme.palette['grey-800'];
|
9
9
|
}, function (props) {
|
@@ -12,7 +12,7 @@ export var Title = styled.div.withConfig({
|
|
12
12
|
export var ContainerWrapper = styled.div.withConfig({
|
13
13
|
displayName: "FieldSetstyles__ContainerWrapper",
|
14
14
|
componentId: "sc-1hezedi-1"
|
15
|
-
})([""]);
|
15
|
+
})(["display:flex;flex-direction:column;gap:16px;"]);
|
16
16
|
export var HeaderWrapper = styled.div.withConfig({
|
17
17
|
displayName: "FieldSetstyles__HeaderWrapper",
|
18
18
|
componentId: "sc-1hezedi-2"
|
@@ -42,10 +42,8 @@ export var FieldSetTitle = styled.div.withConfig({
|
|
42
42
|
export var ComponentWrapper = styled.div.withConfig({
|
43
43
|
displayName: "FieldSetstyles__ComponentWrapper",
|
44
44
|
componentId: "sc-1hezedi-7"
|
45
|
-
})(["display:flex;
|
45
|
+
})(["display:flex;flex-direction:column;"]);
|
46
46
|
export var Description = styled.div.withConfig({
|
47
47
|
displayName: "FieldSetstyles__Description",
|
48
48
|
componentId: "sc-1hezedi-8"
|
49
|
-
})(["display:flex;line-height:16px;
|
50
|
-
return props.description ? '16px' : '0';
|
51
|
-
});
|
49
|
+
})(["display:flex;line-height:16px;font-size:12px;word-wrap:break-word;text-align:center;"]);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@synerise/ds-field-set",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.27",
|
4
4
|
"description": "FieldSet UI Component for the Synerise Design System",
|
5
5
|
"license": "ISC",
|
6
6
|
"repository": "Synerise/synerise-design",
|
@@ -46,5 +46,5 @@
|
|
46
46
|
"@testing-library/react": "10.0.1",
|
47
47
|
"@testing-library/user-event": "^10.3.1"
|
48
48
|
},
|
49
|
-
"gitHead": "
|
49
|
+
"gitHead": "ef835e848d4f02cca258130baa6c9f44dfa15dd0"
|
50
50
|
}
|