@pisell/date-picker 1.0.97 → 1.0.99
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/es/ActionBar/index.less +5 -0
- package/es/PisellDateRangePicker/index.js +0 -1
- package/es/internals/utils/date-fields-utils.d.ts +1 -1
- package/lib/ActionBar/index.less +5 -0
- package/lib/PisellDateRangePicker/index.js +0 -1
- package/lib/internals/utils/date-fields-utils.d.ts +1 -1
- package/package.json +1 -1
package/es/ActionBar/index.less
CHANGED
|
@@ -153,7 +153,6 @@ var PisellDateRangePicker = function PisellDateRangePicker(props) {
|
|
|
153
153
|
lastConfirmShortcut.current = currentShortcut;
|
|
154
154
|
};
|
|
155
155
|
var handleChange = function handleChange(val, type, shortcutValue) {
|
|
156
|
-
console.log(type, 'typeeee');
|
|
157
156
|
var newVal = val;
|
|
158
157
|
if (isString(shortcutValue) && type === 'shortcuts') {
|
|
159
158
|
setCurrentShortcut(shortcutValue);
|
|
@@ -5,7 +5,7 @@ export declare const splitDateRangeSections: (sections: RangeFieldSection[]) =>
|
|
|
5
5
|
};
|
|
6
6
|
export declare const removeLastSeparator: (dateSections: RangeFieldSection[]) => (RangeFieldSection | {
|
|
7
7
|
separator: null;
|
|
8
|
-
dateName: "
|
|
8
|
+
dateName: "start" | "end";
|
|
9
9
|
value: string;
|
|
10
10
|
format: string;
|
|
11
11
|
maxLength: number | null;
|
package/lib/ActionBar/index.less
CHANGED
|
@@ -154,7 +154,6 @@ var PisellDateRangePicker = (props) => {
|
|
|
154
154
|
lastConfirmShortcut.current = currentShortcut;
|
|
155
155
|
};
|
|
156
156
|
const handleChange = (val, type, shortcutValue) => {
|
|
157
|
-
console.log(type, "typeeee");
|
|
158
157
|
let newVal = val;
|
|
159
158
|
if ((0, import_utils.isString)(shortcutValue) && type === "shortcuts") {
|
|
160
159
|
setCurrentShortcut(shortcutValue);
|
|
@@ -5,7 +5,7 @@ export declare const splitDateRangeSections: (sections: RangeFieldSection[]) =>
|
|
|
5
5
|
};
|
|
6
6
|
export declare const removeLastSeparator: (dateSections: RangeFieldSection[]) => (RangeFieldSection | {
|
|
7
7
|
separator: null;
|
|
8
|
-
dateName: "
|
|
8
|
+
dateName: "start" | "end";
|
|
9
9
|
value: string;
|
|
10
10
|
format: string;
|
|
11
11
|
maxLength: number | null;
|