@synerise/ds-filter 0.17.3 → 0.18.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.18.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-filter@0.18.0...@synerise/ds-filter@0.18.1) (2024-03-09)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-filter
9
+
10
+
11
+
12
+
13
+
14
+ # [0.18.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-filter@0.17.3...@synerise/ds-filter@0.18.0) (2024-03-05)
15
+
16
+
17
+ ### Features
18
+
19
+ * **input:** support autoresize to stretch to parent ([329c866](https://github.com/Synerise/synerise-design/commit/329c866cb54921ad1260ae217cb8c471e43b986e))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.17.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-filter@0.17.2...@synerise/ds-filter@0.17.3) (2024-02-21)
7
26
 
8
27
  **Note:** Version bump only for package @synerise/ds-filter
package/dist/Filter.js CHANGED
@@ -291,6 +291,7 @@ var Filter = function Filter(_ref) {
291
291
  var Component = component[expression.type];
292
292
  var LogicComponent = expression.logic && component[expression.logic.type];
293
293
  return /*#__PURE__*/React.createElement(S.ExpressionWrapper, {
294
+ "data-testid": "condition-step",
294
295
  onTransitionEnd: handleTransitionEnd,
295
296
  ref: function ref(element) {
296
297
  return expressionRefs.current[expression.id] = element;
@@ -303,7 +304,9 @@ var Filter = function Filter(_ref) {
303
304
  }
304
305
  }, /*#__PURE__*/React.createElement(Component, _extends({}, expression.data, componentProps(expression, index), {
305
306
  readOnly: readOnly
306
- })), expression.logic && index + 1 < expressions.length && /*#__PURE__*/React.createElement(S.LogicWrapper, null, /*#__PURE__*/React.createElement(LogicComponent, _extends({}, expression.logic.data, componentProps(expression.logic, index), {
307
+ })), expression.logic && index + 1 < expressions.length && /*#__PURE__*/React.createElement(S.LogicWrapper, {
308
+ "data-testid": "condition-logic"
309
+ }, /*#__PURE__*/React.createElement(LogicComponent, _extends({}, expression.logic.data, componentProps(expression.logic, index), {
307
310
  readOnly: readOnly
308
311
  }))));
309
312
  }, [text.dropMeHere, componentProps, expressions.length, readOnly]);
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export { default } from './Filter';
2
+ export type { Expression, StepType, LogicType, FilterProps } from './Filter.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-filter",
3
- "version": "0.17.3",
3
+ "version": "0.18.1",
4
4
  "description": "Filter UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -33,10 +33,10 @@
33
33
  ],
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
- "@synerise/ds-button": "^0.19.2",
37
- "@synerise/ds-logic": "^0.8.24",
38
- "@synerise/ds-step-card": "^0.10.8",
39
- "@synerise/ds-utils": "^0.24.26",
36
+ "@synerise/ds-button": "^0.19.3",
37
+ "@synerise/ds-logic": "^0.8.25",
38
+ "@synerise/ds-step-card": "^0.11.1",
39
+ "@synerise/ds-utils": "^0.25.0",
40
40
  "react-intl": "3.12.0",
41
41
  "react-sortablejs": "^6.0.0",
42
42
  "sortablejs": "1.15.1"
@@ -51,5 +51,5 @@
51
51
  "@testing-library/dom": "^7.0.2",
52
52
  "@testing-library/jest-dom": "5.1.1"
53
53
  },
54
- "gitHead": "673df74b628304300c09f0d7e26279b5901cd925"
54
+ "gitHead": "a495036c17725dadd16ee6618d9ea254bbf57b80"
55
55
  }