@mailstep/design-system 0.7.30-beta.8 → 0.7.30
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/package.json +1 -1
- package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.js +0 -1
- package/ui/Blocks/CommonGrid/store/index.js +0 -1
- package/ui/Elements/DatePicker/index.d.ts +1 -1
- package/ui/Elements/DatePicker/index.js +1 -0
- package/ui/index.es.js +3118 -3117
- package/ui/index.umd.js +213 -213
- package/ui/utils/translations.js +1 -1
package/package.json
CHANGED
|
@@ -81,7 +81,6 @@ var DatePickerRange = function (props) {
|
|
|
81
81
|
onChange([]);
|
|
82
82
|
setStartRangeValue(undefined);
|
|
83
83
|
setEndRangeValue(undefined);
|
|
84
|
-
// setOthersValues(undefined)
|
|
85
84
|
}, [onChange]);
|
|
86
85
|
var isValidDateFrom = useCallback(function (current) { return !cleanValue[1] || DateTime.fromJSDate(cleanValue[1]) >= DateTime.fromJSDate(current); }, [cleanValue]);
|
|
87
86
|
var isValidDateTo = useCallback(function (current) { return !cleanValue[0] || DateTime.fromJSDate(current) >= DateTime.fromJSDate(cleanValue[0]); }, [cleanValue]);
|
|
@@ -98,7 +98,6 @@ export default (function (state, action) {
|
|
|
98
98
|
draft[gridName].filter = action.filters;
|
|
99
99
|
break;
|
|
100
100
|
case actionTypes.addFilter:
|
|
101
|
-
console.log(action);
|
|
102
101
|
var column = action.column, value = action.value, filterProps = action.filterProps, others = action.others;
|
|
103
102
|
var currentFilterState = (_b = {}, _b[column] = { value: value, filterProps: filterProps, others: others }, _b);
|
|
104
103
|
draft[gridName].filter = __assign(__assign({}, draft[gridName].filter), currentFilterState);
|