@synerise/ds-condition 0.25.7 → 0.26.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.26.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.25.7...@synerise/ds-condition@0.26.0) (2024-12-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **condition:** Add missing data-testid to Condition component ([4cd6638](https://github.com/Synerise/synerise-design/commit/4cd6638eaecf9e85fd2288a974c3216ae6fafa15))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [0.25.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.25.6...@synerise/ds-condition@0.25.7) (2024-12-09)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @synerise/ds-condition
|
|
@@ -21,7 +21,9 @@ export declare const Step: import("styled-components").StyledComponent<"div", an
|
|
|
21
21
|
singleStepCondition?: boolean | undefined;
|
|
22
22
|
}, never>;
|
|
23
23
|
export declare const Subject: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
24
|
-
export declare const RemoveIconWrapper: import("styled-components").StyledComponent<"span", any, {
|
|
24
|
+
export declare const RemoveIconWrapper: import("styled-components").StyledComponent<"span", any, {
|
|
25
|
+
'data-testid': string;
|
|
26
|
+
}, "data-testid">;
|
|
25
27
|
export declare const ConditionWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
26
28
|
withRemoveTrigger?: boolean | undefined;
|
|
27
29
|
}, never>;
|
package/dist/Condition.style.js
CHANGED
|
@@ -88,7 +88,9 @@ export var Subject = styled.div.withConfig({
|
|
|
88
88
|
displayName: "Conditionstyle__Subject",
|
|
89
89
|
componentId: "sc-1lk06p3-14"
|
|
90
90
|
})([""]);
|
|
91
|
-
export var RemoveIconWrapper = styled.span.
|
|
91
|
+
export var RemoveIconWrapper = styled.span.attrs({
|
|
92
|
+
'data-testid': 'ds-conditions-remove-row'
|
|
93
|
+
}).withConfig({
|
|
92
94
|
displayName: "Conditionstyle__RemoveIconWrapper",
|
|
93
95
|
componentId: "sc-1lk06p3-15"
|
|
94
96
|
})(["visibility:hidden;pointer-events:none;opacity:0;transition:all 0.3s ease;width:24px;height:32px;display:flex;align-items:center;justify-content:center;margin-left:8px;"]);
|
|
@@ -130,6 +130,7 @@ export var ConditionStep = function ConditionStep(_ref) {
|
|
|
130
130
|
errorText: step.addConditionErrorText,
|
|
131
131
|
texts: text,
|
|
132
132
|
stepId: step.id,
|
|
133
|
+
"data-testid": "ds-add-condition-button",
|
|
133
134
|
addCondition: onAddCondition,
|
|
134
135
|
conditionsNumber: step.conditions.length,
|
|
135
136
|
isDisabled: !((_step$subject = step.subject) != null && _step$subject.selectedItem) && !((_step$context = step.context) != null && _step$context.selectedItem) || showActionAttribute && !((_step$actionAttribute = step.actionAttribute) != null && _step$actionAttribute.value)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-condition",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"description": "Condition UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@synerise/ds-button": "^0.22.0",
|
|
38
|
-
"@synerise/ds-context-selector": "^0.25.
|
|
38
|
+
"@synerise/ds-context-selector": "^0.25.21",
|
|
39
39
|
"@synerise/ds-cruds": "^0.5.32",
|
|
40
|
-
"@synerise/ds-factors": "^0.27.
|
|
40
|
+
"@synerise/ds-factors": "^0.27.8",
|
|
41
41
|
"@synerise/ds-icon": "^0.68.0",
|
|
42
42
|
"@synerise/ds-inline-edit": "^0.9.4",
|
|
43
43
|
"@synerise/ds-input": "^0.24.17",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
56
56
|
"styled-components": "5.0.1"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "05aa1b6f2038d83cc94b2270fd495c8df2c09dd5"
|
|
59
59
|
}
|