@gisce/react-ooui 1.2.3 → 1.2.4-rc.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gisce/react-ooui",
3
- "version": "1.2.3",
3
+ "version": "1.2.4-rc.0",
4
4
  "files": [
5
5
  "dist",
6
6
  "src",
@@ -73,9 +73,6 @@ const DatePickerInput: React.FC<DatePickerInputProps> = (
73
73
  triggerChange(momentDate.format(DatePickerConfig[mode].dateInternalFormat));
74
74
  };
75
75
 
76
- const showTimeParms = showTime
77
- ? { defaultValue: dayjs("00:00:00", "HH:mm:ss") }
78
- : undefined;
79
76
  const dateValue = value
80
77
  ? dayjs(value, DatePickerConfig[mode].dateInternalFormat)
81
78
  : undefined;
@@ -91,7 +88,7 @@ const DatePickerInput: React.FC<DatePickerInputProps> = (
91
88
  disabled={readOnly}
92
89
  id={id}
93
90
  picker={"date"}
94
- showTime={showTimeParms}
91
+ showTime={showTime}
95
92
  format={DatePickerConfig[mode].dateDisplayFormat}
96
93
  value={dateValue}
97
94
  onChange={onValueStringChange}