@synerise/ds-condition 0.10.2 → 0.11.0
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.11.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.10.2...@synerise/ds-condition@0.11.0) (2021-11-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **condition:** add custom factor component ([d1205bc](https://github.com/Synerise/synerise-design/commit/d1205bce20f4154e7596bcd33ad127557bc0ad99))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [0.10.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.10.0...@synerise/ds-condition@0.10.2) (2021-10-26)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -46,7 +46,7 @@ export var ConditionRow = function ConditionRow(_ref) {
|
|
|
46
46
|
return selectOperator(stepId, conditionId, value);
|
|
47
47
|
},
|
|
48
48
|
opened: stepId === currentStepId && conditionId === currentConditionId && currentField === OPERATOR
|
|
49
|
-
}))), (conditionOperator === null || conditionOperator === void 0 ? void 0 : conditionOperator.value) && React.createElement(S.ConditionWrapper, null, conditionFactor
|
|
49
|
+
}))), (conditionOperator === null || conditionOperator === void 0 ? void 0 : conditionOperator.value) && React.createElement(S.ConditionWrapper, null, React.createElement(React.Fragment, null, (conditionFactor === null || conditionFactor === void 0 ? void 0 : conditionFactor.withCustomFactor) || React.createElement(Factors, _extends({}, conditionFactor, {
|
|
50
50
|
setSelectedFactorType: function setSelectedFactorType(factorType) {
|
|
51
51
|
return setStepConditionFactorType(stepId, conditionId, factorType);
|
|
52
52
|
},
|
|
@@ -55,7 +55,7 @@ export var ConditionRow = function ConditionRow(_ref) {
|
|
|
55
55
|
},
|
|
56
56
|
factorKey: conditionId,
|
|
57
57
|
opened: stepId === currentStepId && conditionId === currentConditionId && currentField === FACTOR
|
|
58
|
-
}))), removeCondition && conditionsNumber > minConditionLength && React.createElement(S.RemoveIconWrapper, {
|
|
58
|
+
})))), removeCondition && conditionsNumber > minConditionLength && React.createElement(S.RemoveIconWrapper, {
|
|
59
59
|
onClick: function onClick() {
|
|
60
60
|
return removeCondition(stepId, conditionId);
|
|
61
61
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-condition",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
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.7.2",
|
|
37
37
|
"@synerise/ds-core": "^0.30.14",
|
|
38
38
|
"@synerise/ds-cruds": "^0.2.49",
|
|
39
|
-
"@synerise/ds-factors": "^0.
|
|
39
|
+
"@synerise/ds-factors": "^0.9.0",
|
|
40
40
|
"@synerise/ds-icon": "^0.36.0",
|
|
41
41
|
"@synerise/ds-inline-edit": "^0.4.38",
|
|
42
42
|
"@synerise/ds-operators": "^0.5.2",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"@synerise/ds-core": "*",
|
|
50
50
|
"react": ">=16.9.0 < 17.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "1c362e630aa782b5a781724f0cb4f32a4a2b55bf"
|
|
53
53
|
}
|