Is your feature request related to a problem? Please describe.
Currently, EuiDatePicker is one of the few (if not the only) components that doesn't offer a compressed size option. This presents consistency issues when attempting to add a simple date picker to a form that utilizes compressed form elements. Strangely enough, this does not apply to the the more complex EuiSuperDatePicker component, as it does offer a compressed size.
Describe the solution you'd like
Add a compressed size prop for the EuiDatePicker component.
Describe alternatives you've considered
We could likely achieve the compressed look with some CSS overrides, but given that all other EUI form components have the compressed option baked in as a prop, it would be good if this component did the same for consistency.
Desired timeline
This isn't a super urgent request, given that it only creates a minor visual inconsistency at worst. But given the simplicity of the request, hopefully it's something that can be completed in a reasonable timeframe and not booted to the end of the backlog.
Additional context
CCing @drewdaemon, as this was brought up during our review here: elastic/kibana#163346 (review)
Is your feature request related to a problem? Please describe.
Currently,
EuiDatePickeris one of the few (if not the only) components that doesn't offer acompressedsize option. This presents consistency issues when attempting to add a simple date picker to a form that utilizes compressed form elements. Strangely enough, this does not apply to the the more complexEuiSuperDatePickercomponent, as it does offer a compressed size.Describe the solution you'd like
Add a
compressedsize prop for theEuiDatePickercomponent.Describe alternatives you've considered
We could likely achieve the compressed look with some CSS overrides, but given that all other EUI form components have the compressed option baked in as a prop, it would be good if this component did the same for consistency.
Desired timeline
This isn't a super urgent request, given that it only creates a minor visual inconsistency at worst. But given the simplicity of the request, hopefully it's something that can be completed in a reasonable timeframe and not booted to the end of the backlog.
Additional context
CCing @drewdaemon, as this was brought up during our review here: elastic/kibana#163346 (review)