fast
fast copied to clipboard
Foundation: Update Accordion template element naming
Pull Request
๐ Description
As part of the next major release of fast-foundation, we wanted to do a complete review of the component templates and align the structure and naming as much as possible.
This PR is split from #6286 and applies to Accordion and Accordion Item.
Before on the left, update on the right. "C" = class, "P" = part, "R" = role, "S" = slot. ๐ = potentially style-breaking.
Accordion
- Remove unused
<template>wrapper

Accordion item
- ๐ Rename โiconโ to โexpand-collapse-iconโ
- ๐ Move โstartโ before โbuttonโ
- ๐ Rename "region" class and part to "panel"
๐ฉโ๐ป Reviewer Notes
Review the Storybook site, or the illustrations of the components before and after, compared to the changes in code.
๐ Test Plan
Tested via comparison against proposal and in Storybook.
โ Checklist
General
- [x] I have included a change request file using
$ yarn change - [ ] I have added tests for my changes.
- [x] I have tested my changes.
- [x] I have updated the project documentation to reflect my changes.
- [x] I have read the CONTRIBUTING documentation and followed the standards for this project.
Component-specific
- [ ] I have added a new component
- [x] I have modified an existing component
- [ ] I have updated the definition file
- [ ] I have updated the configuration file