-
Notifications
You must be signed in to change notification settings - Fork 885
[BUG] Fix the EuiRange prepend prop CSS
#7678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
f26a11c
d36573f
70fb806
2c388d0
75e35e3
b620a63
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,7 +19,10 @@ import { euiRangeWrapperStyles } from './range_wrapper.styles'; | |
| export interface EuiRangeWrapperProps | ||
| extends CommonProps, | ||
| HTMLAttributes<HTMLDivElement>, | ||
| Pick<_SharedRangeInputProps, 'fullWidth' | 'compressed'> {} | ||
| Pick< | ||
| _SharedRangeInputProps, | ||
| 'fullWidth' | 'compressed' | 'disabled' | 'readOnly' | ||
| > {} | ||
|
|
||
| export const EuiRangeWrapper = forwardRef<HTMLDivElement, EuiRangeWrapperProps>( | ||
| (props, ref) => { | ||
|
|
@@ -29,6 +32,8 @@ export const EuiRangeWrapper = forwardRef<HTMLDivElement, EuiRangeWrapperProps>( | |
| className, | ||
| fullWidth = defaultFullWidth, | ||
| compressed, | ||
| disabled, | ||
| readOnly, | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only added this change to the single
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lol I'm honestly still so confused why our single ranges even support |
||
| ...rest | ||
| } = props; | ||
|
|
||
|
|
@@ -41,6 +46,8 @@ export const EuiRangeWrapper = forwardRef<HTMLDivElement, EuiRangeWrapperProps>( | |
| !compressed && styles.regular, | ||
| compressed && styles.compressed, | ||
| fullWidth && styles.fullWidth, | ||
| disabled && styles.disabled, | ||
| readOnly && styles.readOnly, | ||
| ]; | ||
|
|
||
| return ( | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.