@symbo.ls/link 2.11.270 → 2.11.281

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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -30,7 +30,8 @@ export const RouterLink = {
30
30
  on: {
31
31
  click: (event, el) => {
32
32
  const { props, context: ctx } = el
33
- const { href, scrollToTop } = props
33
+ const { href, scrollToTop, stopPropagation } = props
34
+ if (stopPropagation) event.stopPropagation()
34
35
  if (!href) return
35
36
  const { utils, snippets, routerOptions } = ctx
36
37
  const root = el.__ref.__root
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/link",
3
- "version": "2.11.270",
3
+ "version": "2.11.281",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "4694cb8cc07ed7dd10624ad23e3ea5de7f45881a",
6
+ "gitHead": "ad7f8b95bf87b752026b0c402e032592e7747f72",
7
7
  "dependencies": {
8
8
  "@domql/router": "latest",
9
9
  "@symbo.ls/atoms": "latest"