@synerise/ds-condition 0.21.0 → 0.21.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,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.21.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.21.0...@synerise/ds-condition@0.21.1) (2024-01-15)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **filter:** fixed zindex issues ([71ce5bc](https://github.com/Synerise/synerise-design/commit/71ce5bcf25f2107fd1b43969d2c255e18c112b47))
12
+
13
+
14
+
15
+
16
+
6
17
  # [0.21.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@0.20.65...@synerise/ds-condition@0.21.0) (2023-12-14)
7
18
 
8
19
 
@@ -132,10 +132,8 @@ export var ConditionConnections = styled.span.withConfig({
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:", ";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
- }, function (props) {
138
- return 10000 - props.index;
139
137
  }, ConditionConnections, function (props) {
140
138
  return props.withError ? 'auto' : '32px';
141
139
  }, function (props) {
@@ -5,6 +5,7 @@ import Operators from '@synerise/ds-operators';
5
5
  import Tooltip from '@synerise/ds-tooltip';
6
6
  import Icon, { CloseS } from '@synerise/ds-icon';
7
7
  import { theme } from '@synerise/ds-core';
8
+ import { getPopupContainer } from '@synerise/ds-utils';
8
9
  import * as React from 'react';
9
10
  import { FACTOR, OPERATOR, PARAMETER } from '../../Condition';
10
11
  import * as S from '../../Condition.style';
@@ -68,7 +69,7 @@ export var ConditionRow = function ConditionRow(_ref) {
68
69
  readOnly: readOnly
69
70
  }), /*#__PURE__*/React.createElement(S.ConditionRowLine, null, /*#__PURE__*/React.createElement(S.ConditionRowDefinition, null, /*#__PURE__*/React.createElement(S.ConditionWrapper, null, conditionParameter && /*#__PURE__*/React.createElement(Factors, _extends({}, conditionParameter, {
70
71
  inputProps: inputProps,
71
- getPopupContainerOverride: getPopupContainerOverride,
72
+ getPopupContainerOverride: getPopupContainerOverride || getPopupContainer,
72
73
  onActivate: function onActivate() {
73
74
  return _onActivate && _onActivate(PARAMETER);
74
75
  },
@@ -80,7 +81,7 @@ export var ConditionRow = function ConditionRow(_ref) {
80
81
  readOnly: readOnly,
81
82
  error: Boolean(conditionParameter.errorText)
82
83
  }))), (!conditionParameter || (conditionParameter == null ? void 0 : conditionParameter.value) && (conditionParameter == null ? void 0 : conditionParameter.value).name !== '') && conditionOperator && /*#__PURE__*/React.createElement(S.ConditionWrapper, null, /*#__PURE__*/React.createElement(Operators, _extends({}, conditionOperator, {
83
- getPopupContainerOverride: getPopupContainerOverride,
84
+ getPopupContainerOverride: getPopupContainerOverride || getPopupContainer,
84
85
  onActivate: function onActivate() {
85
86
  return _onActivate && _onActivate(OPERATOR);
86
87
  },
@@ -95,7 +96,7 @@ export var ConditionRow = function ConditionRow(_ref) {
95
96
  fullWidth: true
96
97
  }, (conditionFactor == null ? void 0 : conditionFactor.withCustomFactor) || /*#__PURE__*/React.createElement(Factors, _extends({}, conditionFactor, {
97
98
  inputProps: inputProps,
98
- getPopupContainerOverride: getPopupContainerOverride,
99
+ getPopupContainerOverride: getPopupContainerOverride || getPopupContainer,
99
100
  onActivate: function onActivate() {
100
101
  return _onActivate && _onActivate(FACTOR);
101
102
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-condition",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
4
4
  "description": "Condition UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -33,16 +33,16 @@
33
33
  ],
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
- "@synerise/ds-button": "^0.18.9",
37
- "@synerise/ds-context-selector": "^0.19.23",
36
+ "@synerise/ds-button": "^0.18.10",
37
+ "@synerise/ds-context-selector": "^0.19.24",
38
38
  "@synerise/ds-core": "^0.40.9",
39
- "@synerise/ds-cruds": "^0.4.0",
40
- "@synerise/ds-factors": "^0.20.16",
41
- "@synerise/ds-icon": "^0.58.9",
42
- "@synerise/ds-inline-edit": "^0.6.91",
43
- "@synerise/ds-operators": "^0.10.50",
44
- "@synerise/ds-subject": "^0.9.78",
45
- "@synerise/ds-tooltip": "^0.14.13",
39
+ "@synerise/ds-cruds": "^0.4.1",
40
+ "@synerise/ds-factors": "^0.20.17",
41
+ "@synerise/ds-icon": "^0.59.0",
42
+ "@synerise/ds-inline-edit": "^0.6.92",
43
+ "@synerise/ds-operators": "^0.10.51",
44
+ "@synerise/ds-subject": "^0.9.79",
45
+ "@synerise/ds-tooltip": "^0.14.14",
46
46
  "@synerise/ds-utils": "^0.24.23",
47
47
  "lodash": "^4.17.19",
48
48
  "react-intl": "3.12.0",
@@ -59,5 +59,5 @@
59
59
  "@testing-library/react": "10.0.1",
60
60
  "uuid": "^8.3.2"
61
61
  },
62
- "gitHead": "0a23e5f431033a6180383d3e0e19e885b5a66778"
62
+ "gitHead": "ba51e38beff83b8adba409f09311131f429ada01"
63
63
  }