@descope/flow-components 2.2.56 → 2.2.57

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": "2.2.56",
8
+ "buildVersion": "2.2.57",
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": "2.2.56",
8
+ "buildVersion": "2.2.57",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
package/dist/index.cjs.js CHANGED
@@ -88035,7 +88035,13 @@ descope-enriched-text {
88035
88035
  }
88036
88036
 
88037
88037
  isValueMatch() {
88038
- return this.baseElement.items.some(val => val.getAttribute('data-id') === this.baseElement.querySelector('input').value);
88038
+ const val = this.baseElement.querySelector('input').value;
88039
+
88040
+ if (val) {
88041
+ return this.baseElement.items.some(item => item.dataset.name === val || item.dataset.id === val);
88042
+ }
88043
+
88044
+ return true;
88039
88045
  }
88040
88046
 
88041
88047
  init() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "2.2.56",
3
+ "version": "2.2.57",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -96,7 +96,7 @@
96
96
  "webpack-dev-server": "5.2.3"
97
97
  },
98
98
  "dependencies": {
99
- "@descope/web-components-ui": "2.2.56"
99
+ "@descope/web-components-ui": "2.2.57"
100
100
  },
101
101
  "peerDependencies": {
102
102
  "react": ">= 18"