Repository navigation
docs(migration): add the missing Dialog, FAB and TextInput notes - #5274
Merged
Merged
Conversation
Dialog: show the 5.x form in the Portal sample, say that the props replace
children, give the paths for Dialog.ScrollArea, the icon's color and size, the
actions row and parts used outside a Dialog, and list the layout changes.
FAB: document what visible={false} now does and how tests find a hidden FAB.
TextInput: a disabled field is always read-only, and alpha users get the
single disabled dim. Focus indicator: Appbar parts read the bar's theme from
context.
Part of #4991
|
Found potential problems with the pull request:
|
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
Fills the 6.x migration guide's gaps for breaks merged since 6.0.0-alpha.3. Dialog: the Portal sample shows the 5.x form, the guide says
childrenis gone, and it gives the paths forDialog.ScrollArea, the icon's color and size, the actions row and parts used outside aDialog, plus the layout changes. FAB: whatvisible={false}now does. TextInput: a disabled field is always read-only, and disabled text is dimmed once. Focus indicator: Appbar parts read the bar's theme from context.Related issue
Part of #4991
Screenshots / Videos
None: docs only.
Test plan
Run
yarn devindocsand open the 6.x migration guide. The new Dialog, FAB and TextInput sections render, and the links to#prop-based-api,#dialog-actionsand#parts-read-from-the-appbarland on their headings.