Replace @konveyor/lib-ui
with @migtools/lib-ui
#1471
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
@konveyor/lib-ui
package has been migrated from thekonveyor
org to themigtools
org as part of Konveyor being donated to the CNCF Sandbox. The npm package has been renamed to@migtools/lib-ui
starting with the8.4.1
release (see migtools/lib-ui#111).Upgrading lib-ui from 5.1.2 -> 8.4.1 involves the following breaking changes:
!field.isValid
to show errors will now show validation errors on all required fields as soon as the form first renders. Consumers should replace the!field.isValid
condition withfield.shouldShowError
or!field.isValid && field.isTouched
.None of these changes affect this repo because it is not using
useFormState
orValidatedTextInput
, so renaming imports is the only source change necessary here.See also:
@konveyor/lib-ui
with@migtools/lib-ui
kubev2v/forklift-ui#984@konveyor/lib-ui
with@migtools/lib-ui
kubev2v/forklift-console-plugin#27@konveyor/lib-ui
with@migtools/lib-ui
crane-ui-plugin#134@konveyor/lib-ui
with@migtools/lib-ui
and upgrade peer dependencies konveyor/tackle2-ui#375