@wise/dynamic-flow-client-internal 4.21.0-experimental-d108035 → 4.21.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/build/main.js CHANGED
@@ -862,11 +862,14 @@ function AddressValidationButtonComponent(props) {
862
862
  {
863
863
  v2: true,
864
864
  block: true,
865
- disabled: stepLoadingState !== "idle" || disabled,
865
+ disabled,
866
866
  priority: "primary",
867
867
  size: "md",
868
868
  loading: spinny,
869
- onClick,
869
+ onClick: () => {
870
+ setSpinny(true);
871
+ onClick();
872
+ },
870
873
  children: title
871
874
  }
872
875
  ),
@@ -948,7 +951,7 @@ function ButtonComponent(props) {
948
951
  {
949
952
  block: true,
950
953
  className: getMargin(margin),
951
- disabled: stepLoadingState !== "idle" || disabled,
954
+ disabled,
952
955
  priority,
953
956
  size: mapSize(size),
954
957
  loading: spinny,
@@ -3592,7 +3595,7 @@ var getWiseRenderers = () => [
3592
3595
  // src/dynamicFlow/telemetry/app-version.ts
3593
3596
  var appVersion = (
3594
3597
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
3595
- typeof process !== "undefined" ? "4.20.3" : "0.0.0"
3598
+ typeof process !== "undefined" ? "4.21.0" : "0.0.0"
3596
3599
  );
3597
3600
 
3598
3601
  // src/dynamicFlow/telemetry/getLogEvent.ts
package/build/main.mjs CHANGED
@@ -828,11 +828,14 @@ function AddressValidationButtonComponent(props) {
828
828
  {
829
829
  v2: true,
830
830
  block: true,
831
- disabled: stepLoadingState !== "idle" || disabled,
831
+ disabled,
832
832
  priority: "primary",
833
833
  size: "md",
834
834
  loading: spinny,
835
- onClick,
835
+ onClick: () => {
836
+ setSpinny(true);
837
+ onClick();
838
+ },
836
839
  children: title
837
840
  }
838
841
  ),
@@ -914,7 +917,7 @@ function ButtonComponent(props) {
914
917
  {
915
918
  block: true,
916
919
  className: getMargin(margin),
917
- disabled: stepLoadingState !== "idle" || disabled,
920
+ disabled,
918
921
  priority,
919
922
  size: mapSize(size),
920
923
  loading: spinny,
@@ -3568,7 +3571,7 @@ var getWiseRenderers = () => [
3568
3571
  // src/dynamicFlow/telemetry/app-version.ts
3569
3572
  var appVersion = (
3570
3573
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
3571
- typeof process !== "undefined" ? "4.20.3" : "0.0.0"
3574
+ typeof process !== "undefined" ? "4.21.0" : "0.0.0"
3572
3575
  );
3573
3576
 
3574
3577
  // src/dynamicFlow/telemetry/getLogEvent.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client-internal",
3
- "version": "4.21.0-experimental-d108035",
3
+ "version": "4.21.0",
4
4
  "description": "Dynamic Flow web client for Wise",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -74,9 +74,9 @@
74
74
  "stylelint-value-no-unknown-custom-properties": "6.0.1",
75
75
  "tsx": "4.20.3",
76
76
  "typescript": "5.9.2",
77
- "@wise/dynamic-flow-types": "3.10.0-experimental-d108035",
78
77
  "@wise/dynamic-flow-renderers": "0.0.0",
79
- "@wise/dynamic-flow-fixtures": "0.0.1"
78
+ "@wise/dynamic-flow-fixtures": "0.0.1",
79
+ "@wise/dynamic-flow-types": "3.10.0"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "@transferwise/components": "^46.92.0",
@@ -91,8 +91,8 @@
91
91
  },
92
92
  "dependencies": {
93
93
  "classnames": "2.5.1",
94
- "@wise/dynamic-flow-client": "4.12.0-experimental-d108035",
95
- "@wise/dynamic-flow-types": "3.10.0-experimental-d108035"
94
+ "@wise/dynamic-flow-client": "4.12.0",
95
+ "@wise/dynamic-flow-types": "3.10.0"
96
96
  },
97
97
  "scripts": {
98
98
  "dev": "pnpm build:visual-tests && storybook dev -p 3005",