@bitrise/bitkit 13.48.1-alpha.0 → 13.48.1-alpha.1
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
|
@@ -337,7 +337,7 @@ const Dropdown = forwardRef<Element, DropdownProps<string | null>>(
|
|
|
337
337
|
<DropdownProvider context={dropdownCtx} styles={dropdownStyles}>
|
|
338
338
|
<FormControl {...props} isDisabled={disabled} isInvalid={isError}>
|
|
339
339
|
{label && (
|
|
340
|
-
<FormLabel htmlFor={
|
|
340
|
+
<FormLabel htmlFor={buttonId} marginBlockEnd="4">
|
|
341
341
|
{label}
|
|
342
342
|
</FormLabel>
|
|
343
343
|
)}
|
|
@@ -91,7 +91,11 @@ const DateInput = forwardRef<DateInputProps, 'div'>((props, ref) => {
|
|
|
91
91
|
return (
|
|
92
92
|
<DatePicker
|
|
93
93
|
mode="day"
|
|
94
|
-
onApply={(day) =>
|
|
94
|
+
onApply={(day) => {
|
|
95
|
+
const newVal = day?.toFormat(dateInputDateFormat) || '';
|
|
96
|
+
onChange?.(newVal);
|
|
97
|
+
setValue(newVal);
|
|
98
|
+
}}
|
|
95
99
|
onClose={() => setIsDatePickerVisible(false)}
|
|
96
100
|
selectable={selectable}
|
|
97
101
|
selected={currentDate}
|