@synerise/ds-condition 0.20.9 → 0.20.10

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,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.20.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.20.9...@synerise/ds-condition@0.20.10) (2023-03-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **condition:** hide step cruds when readonly ([a995840](https://github.com/Synerise/synerise-design/commit/a995840f9749c5a964b67f9df07d9e6ba5ed45fc))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.20.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.20.8...@synerise/ds-condition@0.20.9) (2023-03-28)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-condition
@@ -209,7 +209,7 @@ export var ConditionStep = function ConditionStep(_ref) {
209
209
  return selectContext(value, step.id);
210
210
  },
211
211
  readOnly: readOnly
212
- }))), /*#__PURE__*/React.createElement(S.ConditionRows, null, step.conditions.length > 0 && step.conditions.map(renderConditionRow), addConditionButton), !updateStepName && /*#__PURE__*/React.createElement(S.StepConditionCruds, {
212
+ }))), /*#__PURE__*/React.createElement(S.ConditionRows, null, step.conditions.length > 0 && step.conditions.map(renderConditionRow), addConditionButton), !updateStepName && !readOnly && /*#__PURE__*/React.createElement(S.StepConditionCruds, {
213
213
  onDuplicate: duplicateStep ? function () {
214
214
  return duplicateStep(step.id);
215
215
  } : undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-condition",
3
- "version": "0.20.9",
3
+ "version": "0.20.10",
4
4
  "description": "Condition UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -36,7 +36,7 @@
36
36
  "@synerise/ds-context-selector": "^0.16.7",
37
37
  "@synerise/ds-core": "^0.39.4",
38
38
  "@synerise/ds-cruds": "^0.3.22",
39
- "@synerise/ds-factors": "^0.17.9",
39
+ "@synerise/ds-factors": "^0.17.10",
40
40
  "@synerise/ds-icon": "^0.54.0",
41
41
  "@synerise/ds-inline-edit": "^0.6.56",
42
42
  "@synerise/ds-operators": "^0.10.14",
@@ -49,5 +49,5 @@
49
49
  "@synerise/ds-core": "*",
50
50
  "react": ">=16.9.0 < 17.0.0"
51
51
  },
52
- "gitHead": "68778b33000a395c36159c186b5e2a6392a1b375"
52
+ "gitHead": "0df1c9c765f7871c488f0700d2e476ecb83c6ded"
53
53
  }