@synerise/ds-condition 0.20.58 → 0.20.59

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.59](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.20.58...@synerise/ds-condition@0.20.59) (2023-10-19)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **condition:** fixed connecting line for conditions in filter ([902cf86](https://github.com/Synerise/synerise-design/commit/902cf869705208f12d657bda624934a9a625cea2))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.20.58](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.20.57...@synerise/ds-condition@0.20.58) (2023-10-18)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-condition
@@ -40,5 +40,6 @@ export declare const ConditionRow: import("styled-components").StyledComponent<"
40
40
  withError: boolean;
41
41
  index: number;
42
42
  stepType: ConditionRowProps['stepType'];
43
+ last?: boolean | undefined;
43
44
  }, never>;
44
45
  export declare const AddStepButton: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -125,19 +125,23 @@ export var ConditionConnections = styled.span.withConfig({
125
125
  }, function (props) {
126
126
  return props.first ? '16px' : '0';
127
127
  }, function (props) {
128
- return props.last ? '16px' : '-16px';
128
+ return props.last ? '16px' : '-100%';
129
129
  }, function (props) {
130
130
  return props.theme.palette['grey-300'];
131
131
  });
132
132
  export var ConditionRow = styled.div.withConfig({
133
133
  displayName: "Conditionstyle__ConditionRow",
134
134
  componentId: "sc-1lk06p3-22"
135
- })(["padding-bottom:", ";z-index:", ";display:flex;", "{height:", ";}", "{margin-right:8px;&:last-of-type{margin-right:0;}}&:hover{", "{opacity:1;visibility:visible;pointer-events:all;cursor:pointer;}}"], function (props) {
135
+ })(["padding-bottom:", ";z-index:", ";display:flex;", "{height:", ";", "}}", "{margin-right:8px;&:last-of-type{margin-right:0;}}&:hover{", "{opacity:1;visibility:visible;pointer-events:all;cursor:pointer;}}"], function (props) {
136
136
  return props.stepType === 'event' ? '16px' : '0';
137
137
  }, function (props) {
138
138
  return 10000 - props.index;
139
139
  }, ConditionConnections, function (props) {
140
140
  return props.withError ? 'auto' : '32px';
141
+ }, function (props) {
142
+ return props.withError && css(["&:after{bottom:", ";"], function () {
143
+ return props.last ? '16px' : 'calc(-100% + 24px)';
144
+ });
141
145
  }, ConditionWrapper, RemoveIconWrapper);
142
146
  export var AddStepButton = styled.div.withConfig({
143
147
  displayName: "Conditionstyle__AddStepButton",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-condition",
3
- "version": "0.20.58",
3
+ "version": "0.20.59",
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.18.5",
37
- "@synerise/ds-context-selector": "^0.19.15",
38
- "@synerise/ds-core": "^0.40.5",
39
- "@synerise/ds-cruds": "^0.3.37",
40
- "@synerise/ds-factors": "^0.20.8",
41
- "@synerise/ds-icon": "^0.58.5",
42
- "@synerise/ds-inline-edit": "^0.6.84",
43
- "@synerise/ds-operators": "^0.10.43",
44
- "@synerise/ds-subject": "^0.9.71",
45
- "@synerise/ds-tooltip": "^0.14.7",
46
- "@synerise/ds-utils": "^0.24.19",
36
+ "@synerise/ds-button": "^0.18.6",
37
+ "@synerise/ds-context-selector": "^0.19.16",
38
+ "@synerise/ds-core": "^0.40.6",
39
+ "@synerise/ds-cruds": "^0.3.38",
40
+ "@synerise/ds-factors": "^0.20.9",
41
+ "@synerise/ds-icon": "^0.58.6",
42
+ "@synerise/ds-inline-edit": "^0.6.85",
43
+ "@synerise/ds-operators": "^0.10.44",
44
+ "@synerise/ds-subject": "^0.9.72",
45
+ "@synerise/ds-tooltip": "^0.14.8",
46
+ "@synerise/ds-utils": "^0.24.20",
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/react": "10.0.1",
59
59
  "uuid": "^8.3.2"
60
60
  },
61
- "gitHead": "1b2696001dd88b4c11413977e38b541b0c78733d"
61
+ "gitHead": "0f860580d5e53dd24a5474aaead7c6d89f8674da"
62
62
  }