@synerise/ds-condition 0.22.5 → 0.22.7

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.22.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.22.6...@synerise/ds-condition@0.22.7) (2024-04-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **condition:** child contexts readOnly without condition readOnly ([59304ba](https://github.com/Synerise/synerise-design/commit/59304ba115f8c778a732351bbe7c42cae377fca0))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.22.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.22.5...@synerise/ds-condition@0.22.6) (2024-04-02)
18
+
19
+ **Note:** Version bump only for package @synerise/ds-condition
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.22.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.22.4...@synerise/ds-condition@0.22.5) (2024-03-29)
7
26
 
8
27
  **Note:** Version bump only for package @synerise/ds-condition
@@ -212,7 +212,7 @@ export var ConditionStep = function ConditionStep(_ref) {
212
212
  onSelectItem: function onSelectItem(value) {
213
213
  return selectContext(value, step.id);
214
214
  },
215
- readOnly: readOnly
215
+ readOnly: step.context.readOnly || readOnly
216
216
  }))), /*#__PURE__*/React.createElement(S.ConditionRows, null, step.conditions.length > 0 && step.conditions.map(renderConditionRow), addConditionButton), !updateStepName && withCruds && /*#__PURE__*/React.createElement(S.StepConditionCruds, {
217
217
  onDuplicate: duplicateStep ? function () {
218
218
  return duplicateStep(step.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-condition",
3
- "version": "0.22.5",
3
+ "version": "0.22.7",
4
4
  "description": "Condition UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -33,17 +33,17 @@
33
33
  ],
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
- "@synerise/ds-button": "^0.19.5",
37
- "@synerise/ds-context-selector": "^0.21.4",
38
- "@synerise/ds-cruds": "^0.5.2",
39
- "@synerise/ds-factors": "^0.22.4",
40
- "@synerise/ds-icon": "^0.60.5",
41
- "@synerise/ds-inline-edit": "^0.6.102",
42
- "@synerise/ds-input": "^0.20.3",
43
- "@synerise/ds-operators": "^0.10.62",
44
- "@synerise/ds-subject": "^0.9.89",
45
- "@synerise/ds-tooltip": "^0.14.22",
46
- "@synerise/ds-utils": "^0.26.1",
36
+ "@synerise/ds-button": "^0.19.6",
37
+ "@synerise/ds-context-selector": "^0.21.6",
38
+ "@synerise/ds-cruds": "^0.5.3",
39
+ "@synerise/ds-factors": "^0.22.6",
40
+ "@synerise/ds-icon": "^0.60.6",
41
+ "@synerise/ds-inline-edit": "^0.6.103",
42
+ "@synerise/ds-input": "^0.20.4",
43
+ "@synerise/ds-operators": "^0.10.64",
44
+ "@synerise/ds-subject": "^0.9.90",
45
+ "@synerise/ds-tooltip": "^0.14.23",
46
+ "@synerise/ds-utils": "^0.26.2",
47
47
  "lodash": "^4.17.19",
48
48
  "react-intl": "3.12.0",
49
49
  "react-sortablejs": "^6.0.0",
@@ -58,5 +58,5 @@
58
58
  "@testing-library/jest-dom": "5.1.1",
59
59
  "@testing-library/react": "10.0.1"
60
60
  },
61
- "gitHead": "07304b7bf03826701df904c7be058d93588a9611"
61
+ "gitHead": "7506652551b234c2e30e3bb492d56ab822bdb5a1"
62
62
  }