@commercetools-frontend-extensions/change-history 6.17.0 → 6.18.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
@@ -1,5 +1,11 @@
1
1
  # @commercetools-frontend-extensions/change-history
2
2
 
3
+ ## 6.18.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2244](https://github.com/commercetools/audit-log/pull/2244) [`3e1bb53`](https://github.com/commercetools/audit-log/commit/3e1bb53c0e3b629b88190563187101e9eff86c69) Thanks [@ByronDWall](https://github.com/ByronDWall)! - feat(date filter): change default filter from last 30days to last 24hrs"
8
+
3
9
  ## 6.17.0
4
10
 
5
11
  ### Minor Changes
@@ -181,7 +181,7 @@ var debounce__default$1 = /*#__PURE__*/_interopDefault(debounce$1);
181
181
  var _startsWithInstanceProperty__default = /*#__PURE__*/_interopDefault(_startsWithInstanceProperty);
182
182
 
183
183
  // NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
184
- var version = "6.17.0";
184
+ var version = "6.18.0";
185
185
 
186
186
  var ChangeHistoryContext = /*#__PURE__*/React.createContext({});
187
187
  var ChangeHistoryContextProvider = ChangeHistoryContext.Provider;
@@ -6016,7 +6016,11 @@ var SearchViewRouterStateContainer = /*#__PURE__*/function (_PureComponent) {
6016
6016
  }(React.PureComponent);
6017
6017
  SearchViewRouterStateContainer.displayName = 'SearchViewRouterStateContainer';
6018
6018
  SearchViewRouterStateContainer.defaultProps = {
6019
- version: 1,
6019
+ /**if you change the default version, it must match the default version set on:
6020
+ * line 48 ofcomponents/search/search-view-router-state-search.js
6021
+ * and line 107 of components/change-history-list/change-history-list.spec.js
6022
+ */
6023
+ version: 2,
6020
6024
  onChange: function onChange() {}
6021
6025
  };
6022
6026
  SearchViewRouterStateContainer.propTypes = process.env.NODE_ENV !== "production" ? {
@@ -6125,7 +6129,11 @@ var SearchViewRouterStateSearch = /*#__PURE__*/function (_Component) {
6125
6129
  }(React.Component);
6126
6130
  SearchViewRouterStateSearch.displayName = 'SearchViewRouterStateSearch';
6127
6131
  SearchViewRouterStateSearch.defaultProps = {
6128
- version: 1,
6132
+ /**If you change the version, it must match the default version set on:
6133
+ * line 60 ofcomponents/search/search-view-router-state-search.js
6134
+ * and line 107 of components/change-history-list/change-history-list.spec.js
6135
+ */
6136
+ version: 2,
6129
6137
  initialSearchQuery: {}
6130
6138
  };
6131
6139
  SearchViewRouterStateSearch.propTypes = process.env.NODE_ENV !== "production" ? {
@@ -7152,7 +7160,7 @@ function ChangeHistoryListConnector(props) {
7152
7160
  createdAt: [{
7153
7161
  hasHours: true,
7154
7162
  type: 'range',
7155
- selectedFilterType: quickFilterLast30Days
7163
+ selectedFilterType: quickFilterToday
7156
7164
  }]
7157
7165
  });
7158
7166
  var changeHistoryFilters = omitBy__default["default"]({
@@ -20239,7 +20247,7 @@ var ChangeHistoryList = function ChangeHistoryList(props) {
20239
20247
  createdAt: [{
20240
20248
  hasHours: true,
20241
20249
  type: 'range',
20242
- selectedFilterType: quickFilterLast30Days
20250
+ selectedFilterType: quickFilterToday
20243
20251
  }]
20244
20252
  },
20245
20253
  searchText: '',
@@ -181,7 +181,7 @@ var debounce__default$1 = /*#__PURE__*/_interopDefault(debounce$1);
181
181
  var _startsWithInstanceProperty__default = /*#__PURE__*/_interopDefault(_startsWithInstanceProperty);
182
182
 
183
183
  // NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
184
- var version = "6.17.0";
184
+ var version = "6.18.0";
185
185
 
186
186
  var ChangeHistoryContext = /*#__PURE__*/React.createContext({});
187
187
  var ChangeHistoryContextProvider = ChangeHistoryContext.Provider;
@@ -5717,7 +5717,11 @@ var SearchViewRouterStateContainer = /*#__PURE__*/function (_PureComponent) {
5717
5717
  }(React.PureComponent);
5718
5718
  SearchViewRouterStateContainer.displayName = 'SearchViewRouterStateContainer';
5719
5719
  SearchViewRouterStateContainer.defaultProps = {
5720
- version: 1,
5720
+ /**if you change the default version, it must match the default version set on:
5721
+ * line 48 ofcomponents/search/search-view-router-state-search.js
5722
+ * and line 107 of components/change-history-list/change-history-list.spec.js
5723
+ */
5724
+ version: 2,
5721
5725
  onChange: function onChange() {}
5722
5726
  };
5723
5727
  SearchViewRouterStateContainer.propTypes = {};
@@ -5803,7 +5807,11 @@ var SearchViewRouterStateSearch = /*#__PURE__*/function (_Component) {
5803
5807
  }(React.Component);
5804
5808
  SearchViewRouterStateSearch.displayName = 'SearchViewRouterStateSearch';
5805
5809
  SearchViewRouterStateSearch.defaultProps = {
5806
- version: 1,
5810
+ /**If you change the version, it must match the default version set on:
5811
+ * line 60 ofcomponents/search/search-view-router-state-search.js
5812
+ * and line 107 of components/change-history-list/change-history-list.spec.js
5813
+ */
5814
+ version: 2,
5807
5815
  initialSearchQuery: {}
5808
5816
  };
5809
5817
  SearchViewRouterStateSearch.propTypes = {};
@@ -6737,7 +6745,7 @@ function ChangeHistoryListConnector(props) {
6737
6745
  createdAt: [{
6738
6746
  hasHours: true,
6739
6747
  type: 'range',
6740
- selectedFilterType: quickFilterLast30Days
6748
+ selectedFilterType: quickFilterToday
6741
6749
  }]
6742
6750
  });
6743
6751
  var changeHistoryFilters = omitBy__default["default"]({
@@ -18806,7 +18814,7 @@ var ChangeHistoryList = function ChangeHistoryList(props) {
18806
18814
  createdAt: [{
18807
18815
  hasHours: true,
18808
18816
  type: 'range',
18809
- selectedFilterType: quickFilterLast30Days
18817
+ selectedFilterType: quickFilterToday
18810
18818
  }]
18811
18819
  },
18812
18820
  searchText: '',
@@ -98,7 +98,7 @@ import 'msw';
98
98
  import _startsWithInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/starts-with';
99
99
 
100
100
  // NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
101
- var version = "6.17.0";
101
+ var version = "6.18.0";
102
102
 
103
103
  var ChangeHistoryContext = /*#__PURE__*/createContext({});
104
104
  var ChangeHistoryContextProvider = ChangeHistoryContext.Provider;
@@ -5933,7 +5933,11 @@ var SearchViewRouterStateContainer = /*#__PURE__*/function (_PureComponent) {
5933
5933
  }(PureComponent);
5934
5934
  SearchViewRouterStateContainer.displayName = 'SearchViewRouterStateContainer';
5935
5935
  SearchViewRouterStateContainer.defaultProps = {
5936
- version: 1,
5936
+ /**if you change the default version, it must match the default version set on:
5937
+ * line 48 ofcomponents/search/search-view-router-state-search.js
5938
+ * and line 107 of components/change-history-list/change-history-list.spec.js
5939
+ */
5940
+ version: 2,
5937
5941
  onChange: function onChange() {}
5938
5942
  };
5939
5943
  SearchViewRouterStateContainer.propTypes = process.env.NODE_ENV !== "production" ? {
@@ -6042,7 +6046,11 @@ var SearchViewRouterStateSearch = /*#__PURE__*/function (_Component) {
6042
6046
  }(Component);
6043
6047
  SearchViewRouterStateSearch.displayName = 'SearchViewRouterStateSearch';
6044
6048
  SearchViewRouterStateSearch.defaultProps = {
6045
- version: 1,
6049
+ /**If you change the version, it must match the default version set on:
6050
+ * line 60 ofcomponents/search/search-view-router-state-search.js
6051
+ * and line 107 of components/change-history-list/change-history-list.spec.js
6052
+ */
6053
+ version: 2,
6046
6054
  initialSearchQuery: {}
6047
6055
  };
6048
6056
  SearchViewRouterStateSearch.propTypes = process.env.NODE_ENV !== "production" ? {
@@ -7069,7 +7077,7 @@ function ChangeHistoryListConnector(props) {
7069
7077
  createdAt: [{
7070
7078
  hasHours: true,
7071
7079
  type: 'range',
7072
- selectedFilterType: quickFilterLast30Days
7080
+ selectedFilterType: quickFilterToday
7073
7081
  }]
7074
7082
  });
7075
7083
  var changeHistoryFilters = omitBy({
@@ -20156,7 +20164,7 @@ var ChangeHistoryList = function ChangeHistoryList(props) {
20156
20164
  createdAt: [{
20157
20165
  hasHours: true,
20158
20166
  type: 'range',
20159
- selectedFilterType: quickFilterLast30Days
20167
+ selectedFilterType: quickFilterToday
20160
20168
  }]
20161
20169
  },
20162
20170
  searchText: '',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-frontend-extensions/change-history",
3
3
  "description": "Change history shared components and utilities",
4
- "version": "6.17.0",
4
+ "version": "6.18.0",
5
5
  "license": "BSD-3-Clause",
6
6
  "publishConfig": {
7
7
  "access": "public"