@synerise/ds-date-range-picker 0.20.5 → 0.20.6

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,18 @@
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.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-range-picker@0.20.5...@synerise/ds-date-range-picker@0.20.6) (2023-03-30)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **date-range-picker:** filter persistance test ([93b4a35](https://github.com/Synerise/synerise-design/commit/93b4a3576c9ec7c61f19dfe3bdf3b44c4a9d7912))
12
+ * **date-range-picker:** filters must persist through range change ([1fb7b43](https://github.com/Synerise/synerise-design/commit/1fb7b430fa8f8528d7487802e3df682b3a4fd4d9))
13
+
14
+
15
+
16
+
17
+
6
18
  ## [0.20.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-range-picker@0.20.4...@synerise/ds-date-range-picker@0.20.5) (2023-03-29)
7
19
 
8
20
 
@@ -35,7 +35,8 @@ export function defaultValueTransformer(value) {
35
35
 
36
36
  var id = value.id,
37
37
  timestamp = value.timestamp,
38
- translationKey = value.translationKey;
38
+ translationKey = value.translationKey,
39
+ filter = value.filter;
39
40
 
40
41
  var baseValue = _objectSpread({}, id ? {
41
42
  id: id
@@ -43,6 +44,8 @@ export function defaultValueTransformer(value) {
43
44
  timestamp: timestamp
44
45
  } : {}, {}, translationKey ? {
45
46
  translationKey: translationKey
47
+ } : {}, {}, filter ? {
48
+ filter: filter
46
49
  } : {});
47
50
 
48
51
  if (value.type === 'ABSOLUTE') {
@@ -62,9 +65,7 @@ export function defaultValueTransformer(value) {
62
65
  duration: value.duration,
63
66
  offset: value.offset,
64
67
  future: value.future
65
- }, value.filter ? {
66
- filter: value.filter
67
- } : {});
68
+ });
68
69
  }
69
70
 
70
71
  return value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-date-range-picker",
3
- "version": "0.20.5",
3
+ "version": "0.20.6",
4
4
  "description": "Date-Range-Picker UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -54,5 +54,5 @@
54
54
  "devDependencies": {
55
55
  "@types/ramda": "^0.27.14"
56
56
  },
57
- "gitHead": "0df1c9c765f7871c488f0700d2e476ecb83c6ded"
57
+ "gitHead": "18a77bf97174ef4eb611a5ecc1830c248b9a874e"
58
58
  }