This PR updates various components in react-forms to use transient props where appropriate. These changes are necessary in preparation for the upgrade to styled-components@6.x.x to ensure we avoid DOM violation errors after the transition.
Checklist
[ ] :ok_hand: design updates will be Garden Designer approved (add the designer as a reviewer)
[x] :globe_with_meridians: demo is up-to-date (npm start)
[ ] :arrow_left: renders as expected with reversed (RTL) direction
[ ] :black_circle: renders as expected in dark mode
[ ] :metal: renders as expected with Bedrock CSS (?bedrock)
[x] :guardsman: includes new unit tests. Maintain existing coverage (always >= 96%)
[ ] :wheelchair: tested for WCAG 2.1 AA accessibility compliance
[ ] :memo: tested in Chrome, Firefox, Safari, and Edge
coverage: 95.896% (+0.001%) from 95.895%
when pulling 46024ba291b39fab3df74d359a6f11fa291ecc48 on ze-flo/transient-props-forms
into 30e06b0ae8b41de67d70bad897390ff8409aaa29 on main.
Description
This PR updates various components in
react-forms
to use transient props where appropriate. These changes are necessary in preparation for the upgrade tostyled-components@6.x.x
to ensure we avoid DOM violation errors after the transition.Checklist
:ok_hand: design updates will be Garden Designer approved (add the designer as a reviewer)npm start
):arrow_left: renders as expected with reversed (RTL) direction:black_circle: renders as expected in dark mode:metal: renders as expected with Bedrock CSS (?bedrock
):wheelchair: tested for WCAG 2.1 AA accessibility compliance:memo: tested in Chrome, Firefox, Safari, and Edge