@descope/flow-components 3.18.2 → 3.18.3

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.18.2",
8
+ "buildVersion": "3.18.3",
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.18.2",
8
+ "buildVersion": "3.18.3",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
package/dist/index.cjs.js CHANGED
@@ -104176,6 +104176,14 @@ descope-enriched-text {
104176
104176
 
104177
104177
  this.inputElement = this.shadowRoot.querySelector(componentName$s);
104178
104178
 
104179
+ // the inner *-internal dispatches a non-bubbling, non-composed `change`,
104180
+ // which never reaches the flow runtime. Re-emit standard input/change from
104181
+ // the host (bubbling + composed) so flow real-time conditions fire.
104182
+ this.inputElement.addEventListener('change', () => {
104183
+ this.dispatchEvent(new Event('input', { bubbles: true, composed: true }));
104184
+ this.dispatchEvent(new Event('change', { bubbles: true, composed: true }));
104185
+ });
104186
+
104179
104187
  forwardAttrs$1(this, this.inputElement, {
104180
104188
  includeAttrs: ['size', 'default-value', 'allow-deselect'],
104181
104189
  });
@@ -104364,6 +104372,14 @@ descope-enriched-text {
104364
104372
 
104365
104373
  this.inputElement = this.shadowRoot.querySelector(componentName$q);
104366
104374
 
104375
+ // the inner *-internal dispatches a non-bubbling, non-composed `change`,
104376
+ // which never reaches the flow runtime. Re-emit standard input/change from
104377
+ // the host (bubbling + composed) so flow real-time conditions fire.
104378
+ this.inputElement.addEventListener('change', () => {
104379
+ this.dispatchEvent(new Event('input', { bubbles: true, composed: true }));
104380
+ this.dispatchEvent(new Event('change', { bubbles: true, composed: true }));
104381
+ });
104382
+
104367
104383
  forwardAttrs$1(this, this.inputElement, {
104368
104384
  includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
104369
104385
  });
@@ -107022,6 +107038,15 @@ descope-enriched-text {
107022
107038
 
107023
107039
  this.inputElement = this.baseElement;
107024
107040
 
107041
+ // vaadin-radio-group emits `value-changed` on selection but no native
107042
+ // input/change events. Re-emit standard input/change from the host
107043
+ // (bubbling + composed) so flow real-time conditions fire, matching how
107044
+ // proxyInputMixin bridges input/change for other fields.
107045
+ this.baseElement.addEventListener('value-changed', () => {
107046
+ this.dispatchEvent(new Event('input', { bubbles: true, composed: true }));
107047
+ this.dispatchEvent(new Event('change', { bubbles: true, composed: true }));
107048
+ });
107049
+
107025
107050
  this.renderItems();
107026
107051
 
107027
107052
  observeAttributes$1(this, this.renderItems.bind(this), { includeAttrs: ['data'] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "3.18.2",
3
+ "version": "3.18.3",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -97,7 +97,7 @@
97
97
  "webpack-subresource-integrity": "5.2.0-rc.1"
98
98
  },
99
99
  "dependencies": {
100
- "@descope/web-components-ui": "3.18.2"
100
+ "@descope/web-components-ui": "3.18.3"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "react": ">= 18"