-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: Accordion/Disclosure fixes from testing #7218
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
Changes from all commits
71ab037
e776c12
10a0386
6f979ed
5073f5c
43689d1
64cbce6
7b1a284
de6de2f
015855c
2af1286
8455326
83ba6b4
e19b861
fd02fec
f0b6dbb
a694a7d
dc8877e
96771e0
d80763b
b5a412d
91c5127
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -13,6 +13,7 @@ export default Layout; | |||||
| import docs from 'docs:@react-spectrum/accordion'; | ||||||
| import {HeaderInfo, PropTable, TypeLink, PageDescription} from '@react-spectrum/docs'; | ||||||
| import packageData from '@react-spectrum/accordion/package.json'; | ||||||
| import ChevronRight from '@spectrum-icons/workflow/ChevronRight'; | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this needed?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh oops that's leftover from trying something else, i can follow-up on it |
||||||
|
|
||||||
| --- | ||||||
| category: Navigation | ||||||
|
|
@@ -90,7 +91,7 @@ function ControlledExpansion() { | |||||
| } | ||||||
| ``` | ||||||
|
|
||||||
| ## Expansion | ||||||
| ## Expanded | ||||||
|
|
||||||
| By default, only one disclosure will be expanded at a time. To expand multiple disclosures, apply the `allowsMultipleExpanded` prop to Accordion. | ||||||
|
|
||||||
|
|
@@ -112,8 +113,18 @@ By default, only one disclosure will be expanded at a time. To expand multiple d | |||||
| ``` | ||||||
| ## Props | ||||||
|
|
||||||
| ### Disclosure | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| <PropTable component={docs.exports.Accordion} links={docs.links} /> | ||||||
|
|
||||||
| ### Disclosure Panel | ||||||
|
|
||||||
| <PropTable component={docs.exports.DisclosurePanel} links={docs.links} /> | ||||||
|
|
||||||
| ### Disclosure Header | ||||||
|
|
||||||
| <PropTable component={docs.exports.DisclosureHeader} links={docs.links} /> | ||||||
|
|
||||||
| ## Visual Options | ||||||
|
|
||||||
| ### Disabled | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.