@veracity/vui 2.22.2 → 2.22.3-beta.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veracity/vui",
3
- "version": "2.22.2",
3
+ "version": "2.22.3-beta.0",
4
4
  "description": "Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.",
5
5
  "module": "./dist/esm/index.js",
6
6
  "main": "./dist/cjs/index.js",
@@ -128,6 +128,7 @@ export const Input = vui<'div', InputProps>((props, ref) => {
128
128
  })
129
129
 
130
130
  useEffect(() => {
131
+ if (value === undefined && defaultValue !== undefined) return
131
132
  setValueInternal(value ?? '')
132
133
  setCount(value?.toString()?.length ? `${value}`.length : 0)
133
134
  }, [value])
@@ -178,7 +179,6 @@ export const Input = vui<'div', InputProps>((props, ref) => {
178
179
  {...{
179
180
  autoFocus,
180
181
  ariaLabel,
181
- defaultValue,
182
182
  disabled,
183
183
  id,
184
184
  max,