@descope-ui/descope-enriched-text 2.2.10 → 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/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [2.2.12](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.11...web-components-ui-2.2.12) (2025-12-18)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Do not check when link clicked in label ([#802](https://github.com/descope/web-components-ui/issues/802)) ([466cc5f](https://github.com/descope/web-components-ui/commit/466cc5fba5dd264c65a3f29e0ff3e76c148bf835))
11
+
12
+ ## [2.2.11](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.10...web-components-ui-2.2.11) (2025-12-02)
13
+
5
14
  ## [2.2.10](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.9...web-components-ui-2.2.10) (2025-11-10)
6
15
 
7
16
  ## [2.2.9](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.8...web-components-ui-2.2.9) (2025-11-09)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope-ui/descope-enriched-text",
3
- "version": "2.2.10",
3
+ "version": "2.2.12",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./src/component/index.js"
@@ -14,14 +14,14 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@playwright/test": "1.38.1",
17
- "e2e-utils": "2.2.10"
17
+ "e2e-utils": "2.2.12"
18
18
  },
19
19
  "dependencies": {
20
20
  "markdown-it": "14.1.0",
21
- "@descope-ui/common": "2.2.10",
22
- "@descope-ui/theme-globals": "2.2.10",
23
- "@descope-ui/descope-text": "2.2.10",
24
- "@descope-ui/descope-link": "2.2.10"
21
+ "@descope-ui/common": "2.2.12",
22
+ "@descope-ui/theme-globals": "2.2.12",
23
+ "@descope-ui/descope-text": "2.2.12",
24
+ "@descope-ui/descope-link": "2.2.12"
25
25
  },
26
26
  "publishConfig": {
27
27
  "link-workspace-packages": false
@@ -63,6 +63,13 @@ class EnrichedText extends createBaseClass({ componentName, baseSelector: ':host
63
63
  this.#initProcessor();
64
64
 
65
65
  observeChildren(this, this.#parseChildren.bind(this));
66
+
67
+ // Stop propagation on link clicks to prevent parent handlers from firing
68
+ this.contentNode?.addEventListener('click', (e) => {
69
+ if (e.target instanceof HTMLAnchorElement) {
70
+ e.stopPropagation();
71
+ }
72
+ });
66
73
  }
67
74
 
68
75
  static get observedAttributes() {