-
Notifications
You must be signed in to change notification settings - Fork 13.4k
refactor(select): remove legacy property and styling #29019 #29025
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
Conversation
/// @prop - Padding top of the select | ||
$select-ios-padding-top: $item-ios-padding-top !default; | ||
|
||
/// @prop - Padding end of the select | ||
$select-ios-padding-end: ($item-ios-padding-end * 0.5) !default; | ||
|
||
/// @prop - Padding bottom of the select | ||
$select-ios-padding-bottom: $item-ios-padding-bottom !default; | ||
|
||
/// @prop - Padding start of the select | ||
$select-ios-padding-start: $item-ios-padding-start !default; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These variables were only used by the legacy select
/// @prop - Padding top of the select | ||
$select-md-padding-top: $item-md-padding-top !default; | ||
|
||
/// @prop - Padding end of the select | ||
$select-md-padding-end: 0 !default; | ||
|
||
/// @prop - Padding bottom of the select | ||
$select-md-padding-bottom: $select-md-padding-top !default; | ||
|
||
/// @prop - Padding start of the select | ||
$select-md-padding-start: $item-md-padding-start !default; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These variables were only used by the legacy select
); | ||
} | ||
|
||
render() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't change the renderSelect()
function but I moved it down in the file to where the render()
function was which is why there is a larger diff
This pull request includes the changes to remove the legacy property for the select as part of #29024. That pull request specifically focuses on updating tests to remove any legacy select usage. The internal ticket suggested separating these changes into individual pull requests. Please refer to the mentioned pull request for a detailed description of the combined changes from both pull requests. This will be merged into that pull request upon approval.