-
Notifications
You must be signed in to change notification settings - Fork 378
feat(accordion): Introduce accordion #1852
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
Conversation
|
PatternFly-React preview: https://1852-pr-patternfly-react-patternfly.surge.sh |
c92314c to
9545f9d
Compare
Codecov Report
@@ Coverage Diff @@
## master #1852 +/- ##
==========================================
- Coverage 82.84% 82.59% -0.25%
==========================================
Files 612 621 +9
Lines 6743 6844 +101
Branches 82 93 +11
==========================================
+ Hits 5586 5653 +67
- Misses 1126 1151 +25
- Partials 31 40 +9
Continue to review full report at Codecov.
|
dlabaj
left a comment
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.
Tests look like they are failing and dist not building
packages/patternfly-4/react-core/src/components/Accordion/AccordionToggle.js
Show resolved
Hide resolved
|
Looks good, @jessiehuff! I just have a couple of minor comments about things to remove. The section headings that are expand/collapse buttons have aria-label="Details". This attribute should not be there. This overrides the actual heading text that's specified, preventing that text from being announced. Related to this, the The examples include |
packages/patternfly-4/react-core/src/components/Accordion/AccordionContent.js
Outdated
Show resolved
Hide resolved
packages/patternfly-4/react-core/src/components/Accordion/AccordionContent.js
Outdated
Show resolved
Hide resolved
packages/patternfly-4/react-core/src/components/Accordion/AccordionContent.js
Outdated
Show resolved
Hide resolved
|
Looks Great Thanks @jessiehuff ! |
tlabaj
left a comment
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.
LGTM
jgiardino
left a comment
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.
Great job on this!
|
Error in import #1869 we can't upgrade :( node_modules/@patternfly/react-core/dist/js/components/Accordion/Accordion.d.ts import { Omit } from '../../typeUtils';Fix with import { Omit } from '../../helpers/typeUtils'; |

What: Resolves #1387
Additional issues: