-
Notifications
You must be signed in to change notification settings - Fork 21
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
fix(accordion): update tests correct functionality #2035
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: ab592a3 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 |
✅ Deploy Preview for red-hat-design-system ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for red-hat-design-system ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Size Change: +162 B (+0.08%) Total Size: 207 kB
ℹ️ View Unchanged
|
@bennypowers thoughts on the level of change here? |
What I did
expanded
andexpanded-index
attributes functionalityTodo
Does this actually change the expected API? Currently if you add
expanded
to a header it does not unless onfirstUpdated
update the accordions state. I felt like that was incorrect expectation and that the panel should belong wot the header and expand with it when the header is givenexpanded
. However even PFE accordion you need to addexpanded
to both the header and the panel in order for the pair to be expanded. Also you can now useexpanded-index
andexpanded
together now as both just feed theexpandedIndexSet
.Closes #2032
Closes #2019
Testing Instructions
Expanded Index Demo
Expanded Attribute Demo
Notes to Reviewers