-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
NavigationList #1905
NavigationList #1905
Conversation
🦋 Changeset detectedLatest commit: 428d00f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@@ -157,98 +150,6 @@ | |||
} | |||
} | |||
|
|||
// collapsible item [aria-expanded] | |||
|
|||
// nesting (single level) |
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.
Moving all collapse logic down a level to -content
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.
Looks good 👍🏻
Addressing a11y feedback
This is a working PR to provide pre-release CSS for dotcom. We'll use
NavigationList
stories as a template for the View Component implementation.<button>
to manage collapsible groups (instead of handling it on the<li>
)Divider
markup including anh3
tag withid
referenced byarialabelledbyid
per groupBreaking changes
ActionList-sectionDivider-title
new class for title<h3>
.ActionList-item--hasActiveSubItem
ActionList-content--hasActiveSubItem
state
logic moved down one level to thebutton
akaActionList-content
button
overrides to remove default browser stylingStorybook changes
ActionList
and co to a new directory calledUI Patterns
which is intended to be used for private api (the building blocks of other components)ActionList
underComponents
to demonstrate a list of links scenarioNavigationList
andTreeView
as separate components underComponents
Review
Feel free to skip reviewing the
.stories.jsx
changes, it's purely organizational changes and refactoring to make sharing stories easier.ActionList--tree
variant