react-spectrum
66071082 - fix: Accordion/Disclosure fixes from testing (#7218)

Commit
1 year ago
fix: Accordion/Disclosure fixes from testing (#7218) * remove UNSTABLE_ prefix * add aria-hidden to collapsed disclosure panels * add controlled example to s2 docs * update S2 Accordion down state * fix v3 styles (HCM, border-radius, hover when open) * remove display: none in v3 * lint * fix imports * fix v3 focus/down styles * ignore repeat keydown events * fix acts * switch onKeyDown to onPressStart * add style props to v3 Disclosure, DisclosurePanel, and DisclosureHeader * fix bottom border on individual disclosures * lint * fix same disclosure border top issue in v3 * use default case * release keydown event * fix storybook code output * fix v3 quiet HCM * docs: follow-up on accordion docs from testing (#7232) * docs: follow-up on accordion docs from testing * updates svgs for mobile, follow up from reviews * prevent outline on header on android * fix examples in useDisclosure on mobile * update focus visible * add focusProps to disclosure group example * use merge props --------- Co-authored-by: Yihui Liao <44729383+yihuiliao@users.noreply.github.com>
Author
Parents
Loading