-
Notifications
You must be signed in to change notification settings - Fork 860
[Inputs] Implement form element append/prepend design updates
#9305
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
Open
mgadewoll
wants to merge
13
commits into
elastic:feat/visual-refresh-append-prepend-updates
Choose a base branch
from
mgadewoll:inputs/496-append-prepend-design-update
base: feat/visual-refresh-append-prepend-updates
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[Inputs] Implement form element append/prepend design updates
#9305
mgadewoll
wants to merge
13
commits into
elastic:feat/visual-refresh-append-prepend-updates
from
mgadewoll:inputs/496-append-prepend-design-update
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ad10709 to
668534a
Compare
- updates append/prepend styling, border radius, background colors
…ton from the form layout context
… color on valid state & cleanup
- base and filled buttons don't have a transition anymore either, it seems logical to remove and align
- mainly due to the added wrapper element on append/prepend
668534a to
c275d28
Compare
- the entire layout wrapper has a background
- that's not the final proposal yet, just an update
68418c9 to
a7bbf0d
Compare
14 tasks
|
This PR contains breaking changes. The opener of this pull request is asked to perform the following due diligence steps below, to assist EUI in our next Kibana upgrade:
|
- we'll use the custom style version going forward
Collaborator
💚 Build SucceededHistory
cc @mgadewoll |
Collaborator
💚 Build Succeeded
History
cc @mgadewoll |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Important
This PR merges into a feature branch.
closes https://github.com/elastic/eui-private/issues/496
Changes
EuiFormAppend/EuiFormPrependstyling:EuiButtonEmptywith variantprimaryEuiFormAppend/EuiFormPrependto inheritisDisabledstate fromEuiFormControlLayoutEuiFormControlLayoutstyling:appendandprependcontent (that don't useEuiFormAppendPrepend)euiTheme.border.radius.smallinstead of0now)EuiFormControlButtonto inheritisDisabled,readOnlyandisInvalidstates fromEuiFormControlLayouticonSideprop onEuiDatePickerRangeEuiSuperDatePickerstyling:checkCircleicon on valid input dataEuiButtonEmpty(other button variants don't have a transition anymore either)Breaking changes
components.superDatePickerBackgroundSucceestokenWhy are we making this change?
✨ UI modernization: The design updates are part of the global UI modernization efforts.
Screenshots #
EuiFormControlLayoutappend/prepend - New API (usingEuiFormAppend/EuiFormPrepend)EuiFormControlLayoutappend/prepend - Custom (old) API (custom content)EuiFormControlLayoutDelimitedEuiFormControlButtoninsideEuiFormControlLayoutAutofill styles (Chrome)
EuiSuperDatePicker valid styles
EuiDatePickerRange
iconSide="right"+iconTypeImpact to users
components.superDatePickerBackgroundSucceestokenℹ️ The token is not in use but e.g. Kibana requires snapshot updates:
x-pack/platform/plugins/shared/security/public/authentication/login/components/login_form/__snapshots__/login_form.test.tsx.snapx-pack/platform/plugins/shared/security/public/management/roles/edit_role/collapsible_panel/__snapshots__/collapsible_panel.test.tsx.snapx-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snapQA
Review stories:
EuiFormAppend(PR, feature branch)EuiFormPrepend(PR, feature branch)EuiFormControlLayoutappend/prependwith old API to compare with current production (PR, production)EuiFormControlLayoutappend/prependwith new API (PR, feature branch)EuiFormControlLayoutappend/prependwith new & old API side by side (PR, feature branch)EuiFormControlLayoutwithEuiFormControlButton(PR)EuiFormControlLayoutDelimited(PR, feature branch, production)EuiSuperDatePicker(PR, feature branch, production)Review checks:
append/prependandEuiFormAppend/EuiFormPrependmatch design specsEuiFormControlLayoutEuiFormControlLayoutDelimitedEuiFieldTextandEuiFieldNumberEuiSuperDatePickerandEuiDatePickerRangeEuiSuperDatePickerrenders an icon and no background when a valid time span is selectedGeneral checklist
@defaultif default values are missing) and playground toggles