Closed bheston closed 6 months ago
Text/Number/Search field inputs don't track width of parent component in samples -
I tested the width issue in Storybook by manually adding width: 500px
to each host element and found no issues. Hopefully that was the problem, either way there shouldn't be an issue with the underlying components, potentially only the local Storybook sample styling.
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 https://github.com/microsoft/fast/pull/6286 and standardizes Number field, Search, Switch, Text area, and Text field.
Before on the left, update on the right. "C" = class, "P" = part, "R" = role, "S" = slot. đź’” = potentially style-breaking.
Number field
Search
Switch
class
andpart
Text area
Text field
👩‍💻 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
$ yarn change
Component-specific