Closed dlabrecq closed 1 year ago
This also effects the text input used as our toolbar filter.
Before
After
More examples
Before
After
Apparently, the codemods replaced InputGroupText
with InputGroupItem isBox
.
@thatblindgeye do you know if the code mod was updated after the last updated to inputGroup?
The codemod should be up to date with the latest updates made to InputGroup.
Our test file for the codemod shows that InputGroupText doesn't get wrapped in InputGroupItem anymore, and running the --fix flag on our test.tsx
file ends up with InputGroupText not being wrapped as well for me. The only way I'm able to get the Item wrapper around the Text is if I omit the InputGroupText import, but even then the isBox
prop isn't applied.
@gitdallas are you able to reproduce the above issue where InputGroupText is wrapped inside of <InputGroupItem isBox>
?
@thatblindgeye - it appears that dan was using an old version of codemods - likely the npx cached in the ide.
codemods as of about 6 days ago should not have this issue, and i didn't when running it on koku a few days ago with @latest
While testing the Cost management UI, we encountered the
InputGroupItem
layout / padding.Before
After
Code
HTML