@synerise/ds-condition 1.4.3 → 1.4.5

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,22 @@
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.4.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@1.4.4...@synerise/ds-condition@1.4.5) (2025-07-24)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-condition
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.4.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@1.4.3...@synerise/ds-condition@1.4.4) (2025-07-17)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-condition
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.4.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-condition@1.4.2...@synerise/ds-condition@1.4.3) (2025-07-15)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-condition
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  export declare const ErrorWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const DragIcon: import("styled-components").StyledComponent<({ name, component, className, ...rest }: import("@synerise/ds-icon").IconProps) => import("react").JSX.Element, 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>;
4
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>;
5
4
  export declare const StepConditions: import("styled-components").StyledComponent<"div", any, {
6
- withCruds?: boolean | undefined;
5
+ withCruds?: boolean;
7
6
  }, never>;
8
7
  export declare const StepName: import("styled-components").StyledComponent<"div", any, {}, never>;
9
8
  export declare const StepIndexWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
@@ -16,47 +15,47 @@ export declare const StepHeader: import("styled-components").StyledComponent<"di
16
15
  export declare const DraggedLabel: import("styled-components").StyledComponent<"span", any, {}, never>;
17
16
  export declare const Step: import("styled-components").StyledComponent<"div", any, {
18
17
  active: boolean;
19
- showSuffix?: boolean | undefined;
20
- hoverDisabled?: boolean | undefined;
21
- singleStepCondition?: boolean | undefined;
18
+ showSuffix?: boolean;
19
+ hoverDisabled?: boolean;
20
+ singleStepCondition?: boolean;
22
21
  }, never>;
23
22
  export declare const DropLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
24
23
  export declare const DragLabelPart: import("styled-components").StyledComponent<"div", any, {}, never>;
25
24
  export declare const DragLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
26
25
  export declare const StepWrapper: import("styled-components").StyledComponent<"div", any, {
27
- isDragOverlay?: boolean | undefined;
28
- isDragged?: boolean | undefined;
26
+ isDragOverlay?: boolean;
27
+ isDragged?: boolean;
29
28
  }, never>;
30
29
  export declare const Subject: import("styled-components").StyledComponent<"div", any, {}, never>;
31
30
  export declare const RemoveIconWrapper: import("styled-components").StyledComponent<"span", any, {
32
31
  'data-testid': string;
33
32
  }, "data-testid">;
34
33
  export declare const ConditionWrapper: import("styled-components").StyledComponent<"div", any, {
35
- withRemoveTrigger?: boolean | undefined;
34
+ withRemoveTrigger?: boolean;
36
35
  }, never>;
37
36
  export declare const ConditionParameterWrapper: import("styled-components").StyledComponent<"div", any, {
38
- withRemoveTrigger?: boolean | undefined;
37
+ withRemoveTrigger?: boolean;
39
38
  }, never>;
40
39
  export declare const ConditionOperatorWrapper: import("styled-components").StyledComponent<"div", any, {
41
- withRemoveTrigger?: boolean | undefined;
40
+ withRemoveTrigger?: boolean;
42
41
  }, never>;
43
42
  export declare const ConditionFactorWrapper: import("styled-components").StyledComponent<"div", any, {
44
- withRemoveTrigger?: boolean | undefined;
43
+ withRemoveTrigger?: boolean;
45
44
  }, never>;
46
45
  export declare const ConditionRows: import("styled-components").StyledComponent<"div", any, {}, never>;
47
46
  export declare const ConditionRowDefinition: import("styled-components").StyledComponent<"div", any, {}, never>;
48
47
  export declare const ConditionRowLine: import("styled-components").StyledComponent<"div", any, {}, never>;
49
48
  export declare const AddConditionRow: import("styled-components").StyledComponent<"div", any, {}, never>;
50
49
  export declare const ConditionConnections: import("styled-components").StyledComponent<"span", any, {
51
- first?: boolean | undefined;
52
- last?: boolean | undefined;
53
- readOnly?: boolean | undefined;
50
+ first?: boolean;
51
+ last?: boolean;
52
+ readOnly?: boolean;
54
53
  }, never>;
55
54
  export declare const ConditionRow: import("styled-components").StyledComponent<"div", any, {
56
55
  withError: boolean;
57
56
  index: number;
58
- onlyChild?: boolean | undefined;
59
- last?: boolean | undefined;
57
+ onlyChild?: boolean;
58
+ last?: boolean;
60
59
  }, never>;
61
60
  export declare const AddStepButton: import("styled-components").StyledComponent<"div", any, {}, never>;
62
61
  export declare const ActionAttribute: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -101,8 +101,8 @@ export var ConditionRow = function ConditionRow(_ref) {
101
101
  "data-testid": "condition-parameter-wrapper",
102
102
  withRemoveTrigger: lastConditionWrapper === 'parameter'
103
103
  }, /*#__PURE__*/React.createElement(Factors, _extends({
104
- selectedFactorType: "",
105
- defaultFactorType: "",
104
+ selectedFactorType: "parameter",
105
+ defaultFactorType: "parameter",
106
106
  value: "",
107
107
  customFactorValueComponents: parameterSelectorComponent && {
108
108
  parameter: {
@@ -147,8 +147,8 @@ export var ConditionRow = function ConditionRow(_ref) {
147
147
  "data-testid": "condition-factor-wrapper",
148
148
  withRemoveTrigger: lastConditionWrapper === 'factor'
149
149
  }, (conditionFactor == null ? void 0 : conditionFactor.withCustomFactor) || /*#__PURE__*/React.createElement(Factors, _extends({
150
- selectedFactorType: "",
151
- defaultFactorType: "",
150
+ selectedFactorType: "text",
151
+ defaultFactorType: "text",
152
152
  value: "",
153
153
  customFactorValueComponents: factorParameterSelectorComponent && {
154
154
  parameter: {
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  export declare const LabelWrapper: import("styled-components").StyledComponent<({ size, className, children, ellipsis, }: {
3
- size?: import("@synerise/ds-typography").TextSize | undefined;
4
- ellipsis?: import("@synerise/ds-typography/dist/Ellipsis").EllipsisProps | undefined;
2
+ size?: import("@synerise/ds-typography").TextSize;
3
+ ellipsis?: import("@synerise/ds-typography/dist/Ellipsis").EllipsisProps;
5
4
  children?: import("react").ReactNode;
6
- className?: string | undefined;
7
- }) => import("react").JSX.Element, any, {}, never>;
5
+ className?: string;
6
+ }) => React.JSX.Element, any, {}, never>;
8
7
  export declare const EmptyConditionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-condition",
3
- "version": "1.4.3",
3
+ "version": "1.4.5",
4
4
  "description": "Condition UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -34,19 +34,19 @@
34
34
  ],
35
35
  "types": "dist/index.d.ts",
36
36
  "dependencies": {
37
- "@synerise/ds-button": "^1.4.4",
38
- "@synerise/ds-context-selector": "^1.1.20",
39
- "@synerise/ds-cruds": "^1.0.14",
40
- "@synerise/ds-factors": "^1.4.3",
41
- "@synerise/ds-icon": "^1.6.0",
42
- "@synerise/ds-inline-edit": "^1.0.20",
43
- "@synerise/ds-input": "^1.3.4",
44
- "@synerise/ds-operators": "^1.0.19",
45
- "@synerise/ds-sortable": "^1.3.2",
46
- "@synerise/ds-subject": "^1.0.20",
47
- "@synerise/ds-tooltip": "^1.1.13",
48
- "@synerise/ds-typography": "^1.0.15",
49
- "@synerise/ds-utils": "^1.3.1",
37
+ "@synerise/ds-button": "^1.4.6",
38
+ "@synerise/ds-context-selector": "^1.1.22",
39
+ "@synerise/ds-cruds": "^1.0.16",
40
+ "@synerise/ds-factors": "^1.4.5",
41
+ "@synerise/ds-icon": "^1.6.2",
42
+ "@synerise/ds-inline-edit": "^1.0.22",
43
+ "@synerise/ds-input": "^1.3.6",
44
+ "@synerise/ds-operators": "^1.0.21",
45
+ "@synerise/ds-sortable": "^1.3.3",
46
+ "@synerise/ds-subject": "^1.0.22",
47
+ "@synerise/ds-tooltip": "^1.1.15",
48
+ "@synerise/ds-typography": "^1.0.17",
49
+ "@synerise/ds-utils": "^1.4.0",
50
50
  "lodash": "^4.17.19"
51
51
  },
52
52
  "peerDependencies": {
@@ -55,5 +55,5 @@
55
55
  "react-intl": ">=3.12.0 <= 6.8",
56
56
  "styled-components": "^5.3.3"
57
57
  },
58
- "gitHead": "f7c362a4f370d86b51df9aba9e91ac8f7fe4ed8f"
58
+ "gitHead": "b35b1875727156fe9f5b3bad55aed5ca447c8c8d"
59
59
  }