@synerise/ds-step-card 0.7.22 → 0.7.24

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
+ ## [0.7.24](https://github.com/Synerise/synerise-design/compare/@synerise/ds-step-card@0.7.23...@synerise/ds-step-card@0.7.24) (2022-11-30)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-step-card
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.7.23](https://github.com/Synerise/synerise-design/compare/@synerise/ds-step-card@0.7.22...@synerise/ds-step-card@0.7.23) (2022-11-23)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **filter:** filter props to hide step card header ([b117415](https://github.com/Synerise/synerise-design/commit/b11741522b60065e905bfac76e926b93f9d26568))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.7.22](https://github.com/Synerise/synerise-design/compare/@synerise/ds-step-card@0.7.21...@synerise/ds-step-card@0.7.22) (2022-11-22)
7
26
 
8
27
  **Note:** Version bump only for package @synerise/ds-step-card
package/dist/StepCard.js CHANGED
@@ -19,7 +19,9 @@ var StepCard = function StepCard(_ref) {
19
19
  footer = _ref.footer,
20
20
  matching = _ref.matching,
21
21
  onChangeMatching = _ref.onChangeMatching,
22
- texts = _ref.texts;
22
+ texts = _ref.texts,
23
+ _ref$isHeaderVisible = _ref.isHeaderVisible,
24
+ isHeaderVisible = _ref$isHeaderVisible === void 0 ? true : _ref$isHeaderVisible;
23
25
 
24
26
  var _useIntl = useIntl(),
25
27
  formatMessage = _useIntl.formatMessage;
@@ -52,7 +54,7 @@ var StepCard = function StepCard(_ref) {
52
54
  })
53
55
  }, texts);
54
56
  }, [formatMessage, texts]);
55
- return /*#__PURE__*/React.createElement(S.Container, null, /*#__PURE__*/React.createElement(S.Header, {
57
+ return /*#__PURE__*/React.createElement(S.Container, null, isHeaderVisible && /*#__PURE__*/React.createElement(S.Header, {
56
58
  className: "step-card-drag-handler"
57
59
  }, /*#__PURE__*/React.createElement(S.LeftSide, null, /*#__PURE__*/React.createElement(S.DragIcon, {
58
60
  component: /*#__PURE__*/React.createElement(DragHandleM, null)
@@ -18,4 +18,5 @@ export declare type StepCardProps = {
18
18
  onDelete: () => void;
19
19
  onDuplicate: () => void;
20
20
  texts?: StepCardTexts;
21
+ isHeaderVisible?: boolean;
21
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-step-card",
3
- "version": "0.7.22",
3
+ "version": "0.7.24",
4
4
  "description": "StepCard UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -34,12 +34,12 @@
34
34
  "dependencies": {
35
35
  "@synerise/ds-cruds": "^0.3.17",
36
36
  "@synerise/ds-icon": "^0.51.0",
37
- "@synerise/ds-inline-edit": "^0.6.39",
37
+ "@synerise/ds-inline-edit": "^0.6.40",
38
38
  "@synerise/ds-logic": "^0.7.8"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@synerise/ds-core": "*",
42
42
  "react": ">=16.9.0 < 17.0.0"
43
43
  },
44
- "gitHead": "6b0b6e27c72584c59317a83a8922a3fbf9aaf81f"
44
+ "gitHead": "515b60d89b64d98fbf5d750802314640715c5f99"
45
45
  }