@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.
@@ -33,6 +33,11 @@
33
33
  border: 1px solid #D0D5DD;
34
34
  border-radius: 8px;
35
35
  height: 40px;
36
+ line-height: 40px;
37
+ width: 100%;
38
+ display: block;
39
+ min-width: 160px;
40
+ font-size: 16px;
36
41
  }
37
42
  .date-picker-action-time-item-label {
38
43
  color: var(--Gray-700, #344054);
@@ -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: "end" | "start";
8
+ dateName: "start" | "end";
9
9
  value: string;
10
10
  format: string;
11
11
  maxLength: number | null;
@@ -33,6 +33,11 @@
33
33
  border: 1px solid #D0D5DD;
34
34
  border-radius: 8px;
35
35
  height: 40px;
36
+ line-height: 40px;
37
+ width: 100%;
38
+ display: block;
39
+ min-width: 160px;
40
+ font-size: 16px;
36
41
  }
37
42
  .date-picker-action-time-item-label {
38
43
  color: var(--Gray-700, #344054);
@@ -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: "end" | "start";
8
+ dateName: "start" | "end";
9
9
  value: string;
10
10
  format: string;
11
11
  maxLength: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/date-picker",
3
- "version": "1.0.97",
3
+ "version": "1.0.99",
4
4
  "sideEffects": [
5
5
  "*.less"
6
6
  ],