@synerise/ds-condition 1.4.26 → 1.5.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,28 @@
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
+ # [1.5.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@1.4.27...@synerise/ds-condition@1.5.0) (2025-11-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **dropdown:** dropdownMenu component ([f0ec827](https://github.com/Synerise/synerise-design/commit/f0ec82792cdcb021fa9a454912f6e7a892e53895))
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.4.27](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@1.4.26...@synerise/ds-condition@1.4.27) (2025-10-31)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **sortable:** prevent rendering drop label when id is undef ([81898e8](https://github.com/Synerise/synerise-design/commit/81898e87348199cc540ac188b26ea0dd5e621f62))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [1.4.26](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@1.4.25...@synerise/ds-condition@1.4.26) (2025-10-22)
7
29
 
8
30
  **Note:** Version bump only for package @synerise/ds-condition
package/dist/Condition.js CHANGED
@@ -241,7 +241,7 @@ var Condition = function Condition(props) {
241
241
  return /*#__PURE__*/React.createElement(ConditionStep, {
242
242
  key: "step-id-" + step.id,
243
243
  step: step,
244
- isDragged: (draggedStep == null ? void 0 : draggedStep.id) === step.id,
244
+ isDragged: draggedStep && (draggedStep == null ? void 0 : draggedStep.id) === step.id,
245
245
  isLast: index === steps.length - 1,
246
246
  texts: allTexts,
247
247
  index: index,
@@ -1,5 +1,5 @@
1
1
  export declare const ErrorWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const DragIcon: import("styled-components").StyledComponent<({ name, component, className, ...rest }: import("@synerise/ds-icon").IconProps) => React.JSX.Element, any, {}, never>;
2
+ export declare const DragIcon: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@synerise/ds-icon").BaseIconProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, keyof import("@synerise/ds-icon").BaseIconProps> & import("@synerise/ds-utils").DataAttributes & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
3
3
  export declare const StepConditionCruds: import("styled-components").StyledComponent<import("react").FC<import("@synerise/ds-cruds/dist/Cruds.types").CrudsProps> & import("@synerise/ds-cruds/dist/Cruds.types").CrudsSubComponents, any, {}, never>;
4
4
  export declare const StepConditions: import("styled-components").StyledComponent<"div", any, {
5
5
  withCruds?: boolean;
@@ -116,7 +116,7 @@ export var ConditionRow = function ConditionRow(_ref) {
116
116
  inputProps: inputProps,
117
117
  getPopupContainerOverride: getPopupContainerOverride || getPopupContainer,
118
118
  onActivate: function onActivate() {
119
- return _onActivate && _onActivate(PARAMETER);
119
+ _onActivate && _onActivate(PARAMETER);
120
120
  },
121
121
  onDeactivate: onDeactivate,
122
122
  onChangeValue: function onChangeValue(value) {
@@ -134,7 +134,7 @@ export var ConditionRow = function ConditionRow(_ref) {
134
134
  }, conditionOperator, {
135
135
  getPopupContainerOverride: getPopupContainerOverride || getPopupContainer,
136
136
  onActivate: function onActivate() {
137
- return _onActivate && _onActivate(OPERATOR);
137
+ _onActivate && _onActivate(OPERATOR);
138
138
  },
139
139
  onDeactivate: onDeactivate,
140
140
  onChange: function onChange(value) {
@@ -163,7 +163,7 @@ export var ConditionRow = function ConditionRow(_ref) {
163
163
  inputProps: inputProps,
164
164
  getPopupContainerOverride: getPopupContainerOverride || getPopupContainer,
165
165
  onActivate: function onActivate() {
166
- return _onActivate && _onActivate(FACTOR);
166
+ _onActivate && _onActivate(FACTOR);
167
167
  },
168
168
  onDeactivate: onDeactivate,
169
169
  setSelectedFactorType: function setSelectedFactorType(factorType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-condition",
3
- "version": "1.4.26",
3
+ "version": "1.5.0",
4
4
  "description": "Condition UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -35,18 +35,18 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-button": "^1.4.16",
39
- "@synerise/ds-context-selector": "^1.1.43",
40
- "@synerise/ds-cruds": "^1.0.21",
41
- "@synerise/ds-factors": "^1.5.20",
42
- "@synerise/ds-icon": "^1.7.3",
43
- "@synerise/ds-inline-edit": "^1.0.37",
44
- "@synerise/ds-input": "^1.4.1",
45
- "@synerise/ds-operators": "^1.0.37",
46
- "@synerise/ds-sortable": "^1.3.6",
47
- "@synerise/ds-subject": "^1.0.38",
48
- "@synerise/ds-tooltip": "^1.2.1",
49
- "@synerise/ds-typography": "^1.0.22",
38
+ "@synerise/ds-button": "^1.5.0",
39
+ "@synerise/ds-context-selector": "^1.2.0",
40
+ "@synerise/ds-cruds": "^1.0.22",
41
+ "@synerise/ds-factors": "^1.6.0",
42
+ "@synerise/ds-icon": "^1.8.0",
43
+ "@synerise/ds-inline-edit": "^1.1.0",
44
+ "@synerise/ds-input": "^1.5.0",
45
+ "@synerise/ds-operators": "^1.1.0",
46
+ "@synerise/ds-sortable": "^1.3.7",
47
+ "@synerise/ds-subject": "^1.1.0",
48
+ "@synerise/ds-tooltip": "^1.3.0",
49
+ "@synerise/ds-typography": "^1.0.23",
50
50
  "@synerise/ds-utils": "^1.5.0",
51
51
  "lodash": "^4.17.19"
52
52
  },
@@ -56,5 +56,5 @@
56
56
  "react-intl": ">=3.12.0 <= 6.8",
57
57
  "styled-components": "^5.3.3"
58
58
  },
59
- "gitHead": "a40fca2cc78eda64afa96d18dc4d177538a22404"
59
+ "gitHead": "cbbb7d9f155735bcc4035d8fd8a7813878d6e051"
60
60
  }