@descope/web-components-ui 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.
- package/dist/cjs/index.cjs.js +25 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +25 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js.map +1 -1
- package/dist/umd/descope-radio-group-index-js.js +1 -1
- package/dist/umd/descope-radio-group-index-js.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/package.json +42 -42
- package/src/components/button-selection-group-fields/descope-button-multi-selection-group/ButtonMultiSelectionGroupClass.js +8 -0
- package/src/components/button-selection-group-fields/descope-button-selection-group/ButtonSelectionGroupClass.js +8 -0
- package/src/components/descope-radio-group/RadioGroupClass.js +9 -0
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -24516,6 +24516,14 @@ const buttonSelectionGroupMixin = (superclass) =>
|
|
|
24516
24516
|
|
|
24517
24517
|
this.inputElement = this.shadowRoot.querySelector(componentName$s);
|
|
24518
24518
|
|
|
24519
|
+
// the inner *-internal dispatches a non-bubbling, non-composed `change`,
|
|
24520
|
+
// which never reaches the flow runtime. Re-emit standard input/change from
|
|
24521
|
+
// the host (bubbling + composed) so flow real-time conditions fire.
|
|
24522
|
+
this.inputElement.addEventListener('change', () => {
|
|
24523
|
+
this.dispatchEvent(new Event('input', { bubbles: true, composed: true }));
|
|
24524
|
+
this.dispatchEvent(new Event('change', { bubbles: true, composed: true }));
|
|
24525
|
+
});
|
|
24526
|
+
|
|
24519
24527
|
forwardAttrs$1(this, this.inputElement, {
|
|
24520
24528
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
|
24521
24529
|
});
|
|
@@ -24704,6 +24712,14 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
|
24704
24712
|
|
|
24705
24713
|
this.inputElement = this.shadowRoot.querySelector(componentName$q);
|
|
24706
24714
|
|
|
24715
|
+
// the inner *-internal dispatches a non-bubbling, non-composed `change`,
|
|
24716
|
+
// which never reaches the flow runtime. Re-emit standard input/change from
|
|
24717
|
+
// the host (bubbling + composed) so flow real-time conditions fire.
|
|
24718
|
+
this.inputElement.addEventListener('change', () => {
|
|
24719
|
+
this.dispatchEvent(new Event('input', { bubbles: true, composed: true }));
|
|
24720
|
+
this.dispatchEvent(new Event('change', { bubbles: true, composed: true }));
|
|
24721
|
+
});
|
|
24722
|
+
|
|
24707
24723
|
forwardAttrs$1(this, this.inputElement, {
|
|
24708
24724
|
includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
|
|
24709
24725
|
});
|
|
@@ -27362,6 +27378,15 @@ const RadioGroupMixin = (superclass) =>
|
|
|
27362
27378
|
|
|
27363
27379
|
this.inputElement = this.baseElement;
|
|
27364
27380
|
|
|
27381
|
+
// vaadin-radio-group emits `value-changed` on selection but no native
|
|
27382
|
+
// input/change events. Re-emit standard input/change from the host
|
|
27383
|
+
// (bubbling + composed) so flow real-time conditions fire, matching how
|
|
27384
|
+
// proxyInputMixin bridges input/change for other fields.
|
|
27385
|
+
this.baseElement.addEventListener('value-changed', () => {
|
|
27386
|
+
this.dispatchEvent(new Event('input', { bubbles: true, composed: true }));
|
|
27387
|
+
this.dispatchEvent(new Event('change', { bubbles: true, composed: true }));
|
|
27388
|
+
});
|
|
27389
|
+
|
|
27365
27390
|
this.renderItems();
|
|
27366
27391
|
|
|
27367
27392
|
observeAttributes$1(this, this.renderItems.bind(this), { includeAttrs: ['data'] });
|