@synerise/ds-condition 0.25.7 → 0.26.1

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.26.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.26.0...@synerise/ds-condition@0.26.1) (2024-12-13)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-condition
9
+
10
+
11
+
12
+
13
+
14
+ # [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)
15
+
16
+
17
+ ### Features
18
+
19
+ * **condition:** Add missing data-testid to Condition component ([4cd6638](https://github.com/Synerise/synerise-design/commit/4cd6638eaecf9e85fd2288a974c3216ae6fafa15))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [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
26
 
8
27
  **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, {}, never>;
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>;
@@ -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.withConfig({
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.25.7",
3
+ "version": "0.26.1",
4
4
  "description": "Condition UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -35,14 +35,14 @@
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.20",
38
+ "@synerise/ds-context-selector": "^0.25.22",
39
39
  "@synerise/ds-cruds": "^0.5.32",
40
- "@synerise/ds-factors": "^0.27.7",
40
+ "@synerise/ds-factors": "^0.27.9",
41
41
  "@synerise/ds-icon": "^0.68.0",
42
- "@synerise/ds-inline-edit": "^0.9.4",
43
- "@synerise/ds-input": "^0.24.17",
44
- "@synerise/ds-operators": "^0.14.5",
45
- "@synerise/ds-subject": "^0.10.27",
42
+ "@synerise/ds-inline-edit": "^0.9.5",
43
+ "@synerise/ds-input": "^0.24.18",
44
+ "@synerise/ds-operators": "^0.14.6",
45
+ "@synerise/ds-subject": "^0.10.28",
46
46
  "@synerise/ds-tooltip": "^0.14.52",
47
47
  "@synerise/ds-utils": "^0.31.2",
48
48
  "lodash": "^4.17.19",
@@ -55,5 +55,5 @@
55
55
  "react-intl": ">=3.12.0 <= 6.8",
56
56
  "styled-components": "5.0.1"
57
57
  },
58
- "gitHead": "b9c11172ec3c38d4df4c4c5304b99c6811bdd2b3"
58
+ "gitHead": "f10ff573f65d5e70b13c695abded40a3289f792f"
59
59
  }