@descope/flow-components 3.23.1 → 3.23.2

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.
@@ -5,7 +5,7 @@
5
5
  "name": "flowComponents",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "3.23.1",
8
+ "buildVersion": "3.23.2",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
@@ -5,7 +5,7 @@
5
5
  "name": "flowComponents",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "3.23.1",
8
+ "buildVersion": "3.23.2",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
package/dist/index.cjs.js CHANGED
@@ -97676,7 +97676,7 @@ function requireIndex_cjs () {
97676
97676
  // Vaadin toggles visibility on Enter keydown but lets the event bubble,
97677
97677
  // and the SDK submits the form on any Enter that reaches the flow root.
97678
97678
  stopRevealButtonEnterPropagation() {
97679
- this.revealButton.addEventListener('keydown', (e) => {
97679
+ this.revealButton?.addEventListener('keydown', (e) => {
97680
97680
  if (e.key === 'Enter') e.stopPropagation();
97681
97681
  });
97682
97682
  }
@@ -97738,7 +97738,7 @@ function requireIndex_cjs () {
97738
97738
  handlePasswordVisibility(externalInput) {
97739
97739
  // disable vaadin's `__boundRevealButtonMouseDown` mouse-down event lisetener
97740
97740
  const origBoundRevealButtonMouseDown = this.baseElement.__boundRevealButtonMouseDown;
97741
- this.revealButton.removeEventListener('mousedown', origBoundRevealButtonMouseDown);
97741
+ this.revealButton?.removeEventListener('mousedown', origBoundRevealButtonMouseDown);
97742
97742
 
97743
97743
  // disable vaadin's `_passwordVisibleChanged` observer
97744
97744
  this.baseElement._passwordVisibleChanged = () => {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "3.23.1",
3
+ "version": "3.23.2",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -98,7 +98,7 @@
98
98
  "webpack-subresource-integrity": "5.2.0-rc.1"
99
99
  },
100
100
  "dependencies": {
101
- "@descope/web-components-ui": "3.23.1"
101
+ "@descope/web-components-ui": "3.23.2"
102
102
  },
103
103
  "peerDependencies": {
104
104
  "react": ">= 18"