-
Notifications
You must be signed in to change notification settings - Fork 26
[Docs] Add Layer content update #5843
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
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 | ||||
|---|---|---|---|---|---|---|
| @@ -1,5 +1,10 @@ | ||||||
| import { Button, Notification } from 'grommet'; | ||||||
| import { AccessibilitySection, BestPracticeGroup, Example, StyleTable } from '../../../layouts'; | ||||||
| import { | ||||||
| AccessibilitySection, | ||||||
| BestPracticeGroup, | ||||||
| Example, | ||||||
| StyleTable, | ||||||
| } from '../../../layouts'; | ||||||
| import { | ||||||
| ActionLabels, | ||||||
| ActionLabelTitle, | ||||||
|
|
@@ -29,9 +34,27 @@ import { Checkmark } from '@hpe-design/icons-grommet'; | |||||
| <LayerExample /> | ||||||
| </Example> | ||||||
|
|
||||||
| ## When to use | ||||||
| ## Use cases | ||||||
|
|
||||||
| ### Confirming next steps | ||||||
|
|
||||||
| [Placeholder for confirming next steps example] | ||||||
|
|
||||||
| ### Confirming destructive deletion | ||||||
|
|
||||||
| [Placeholder for confirming destructive deletion example] | ||||||
|
|
||||||
| ### Adding a new record | ||||||
|
|
||||||
| A layer should be used to present information or task flows to the user without navigating them away from their current context. | ||||||
| [Placeholder for adding a new record example] | ||||||
|
|
||||||
| ### Filtering data | ||||||
|
|
||||||
| [Placeholder for filtering data example] | ||||||
|
|
||||||
| ### Completing a multi‑step process | ||||||
|
||||||
| ### Completing a multi‑step process | |
| ### Completing a multi-step process |
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.
The new "Use cases" section currently renders multiple bracketed placeholder lines (e.g. "[Placeholder for …]") and also removes the prior introductory guidance about when Layers should be used. This will ship unfinished content to the docs; either replace these placeholders with real guidance/examples, or hide them (e.g. MDX comments) and keep a short introductory paragraph explaining intended usage until examples are ready.