@trackunit/react-form-components 0.0.444 → 0.0.447

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs.js CHANGED
@@ -1955,7 +1955,7 @@ const FormFieldSelectAdapter = React.forwardRef((_a, ref) => {
1955
1955
  htmlFor,
1956
1956
  className,
1957
1957
  dataTestId,
1958
- helpText,
1958
+ helpText: (renderAsInvalid && errorMessage) || helpText,
1959
1959
  helpAddon,
1960
1960
  tip,
1961
1961
  label,
package/index.esm.js CHANGED
@@ -1925,7 +1925,7 @@ const FormFieldSelectAdapter = forwardRef((_a, ref) => {
1925
1925
  htmlFor,
1926
1926
  className,
1927
1927
  dataTestId,
1928
- helpText,
1928
+ helpText: (renderAsInvalid && errorMessage) || helpText,
1929
1929
  helpAddon,
1930
1930
  tip,
1931
1931
  label,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-form-components",
3
- "version": "0.0.444",
3
+ "version": "0.0.447",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {