@wise/dynamic-flow-client 3.29.4 → 3.29.5

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/build/main.mjs CHANGED
@@ -13432,7 +13432,8 @@ var TextInputRenderer = {
13432
13432
  minLength,
13433
13433
  type,
13434
13434
  validationState,
13435
- value: initialValue
13435
+ value: initialValue,
13436
+ onChange
13436
13437
  } = _a, rest = __objRest(_a, [
13437
13438
  "id",
13438
13439
  "control",
@@ -13446,10 +13447,19 @@ var TextInputRenderer = {
13446
13447
  "minLength",
13447
13448
  "type",
13448
13449
  "validationState",
13449
- "value"
13450
+ "value",
13451
+ "onChange"
13450
13452
  ]);
13451
13453
  const value = initialValue != null ? initialValue : "";
13452
- const inputProps = __spreadProps(__spreadValues({}, rest), { value, id });
13454
+ const inputProps = __spreadProps(__spreadValues({}, rest), {
13455
+ value,
13456
+ id,
13457
+ onChange: (newValue) => {
13458
+ if ((value != null ? value : "") !== (newValue != null ? newValue : "")) {
13459
+ onChange(newValue);
13460
+ }
13461
+ }
13462
+ });
13453
13463
  return /* @__PURE__ */ jsx52(
13454
13464
  FieldInput_default,
13455
13465
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "3.29.4",
3
+ "version": "3.29.5",
4
4
  "description": "Dynamic Flow web client",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.min.js",