@descope/web-components-ui 2.2.11 → 2.2.12
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 +7 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +7 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/9582.js +1 -1
- package/dist/umd/9582.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js.map +1 -1
- package/dist/umd/descope-alert-index-js.js +1 -1
- package/dist/umd/descope-alert-index-js.js.map +1 -1
- package/dist/umd/descope-enriched-text.js +1 -1
- package/dist/umd/descope-enriched-text.js.map +1 -1
- package/package.json +28 -28
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -6221,6 +6221,13 @@ class EnrichedText extends createBaseClass$1({ componentName: componentName$16,
|
|
|
6221
6221
|
this.#initProcessor();
|
|
6222
6222
|
|
|
6223
6223
|
observeChildren(this, this.#parseChildren.bind(this));
|
|
6224
|
+
|
|
6225
|
+
// Stop propagation on link clicks to prevent parent handlers from firing
|
|
6226
|
+
this.contentNode?.addEventListener('click', (e) => {
|
|
6227
|
+
if (e.target instanceof HTMLAnchorElement) {
|
|
6228
|
+
e.stopPropagation();
|
|
6229
|
+
}
|
|
6230
|
+
});
|
|
6224
6231
|
}
|
|
6225
6232
|
|
|
6226
6233
|
static get observedAttributes() {
|