-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pages Editor: design updates for internal test (#7129)
* pages-editor-pt26: remove Safari fix which kills other browsers * TasksPage design: Add New Task button only takes 50% width when workflow is empty * EditStepDialog design: Done button now has 33% min width * NewTaskDialog design: center-align new Tasks button * Design: replace light teal with darker teal * Tasks: add functionality to hide/show Help fields. Add Collapse/Expand Icons * Add collapsible Help field for Drawing and Question Tasks * Lab Workflows: set certain projects to use PagesEditor * Accessibility: hidden fields now use HTML hidden * Accessibility: show/hide Help field button indicates change of state Co-authored-by: Jim O'Donnell <[email protected]> * Accessibility: show/hide Help field button indicates change of state Co-authored-by: Jim O'Donnell <[email protected]> * Accessibility: show/hide Help field button indicates change of state Co-authored-by: Jim O'Donnell <[email protected]> * Tasks: restyle Help field label * Feedback: dynamically alter aria description of show/hide help field button --------- Co-authored-by: Jim O'Donnell <[email protected]>
- Loading branch information
1 parent
d7f9954
commit 4af77a2
Showing
11 changed files
with
130 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export default function CollapseIcon({ alt }) { | ||
return ( | ||
<span className="icon fa fa-angle-up" aria-label={alt} role={!!alt ? 'img' : undefined} /> | ||
); | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export default function ExpandIcon({ alt }) { | ||
return ( | ||
<span className="icon fa fa-angle-down" aria-label={alt} role={!!alt ? 'img' : undefined} /> | ||
); | ||
} |
This file contains 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
This file contains 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