vueless 0.0.213 → 0.0.214
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/package.json +1 -1
- package/ui.button-link/index.vue +4 -4
- package/web-types.json +1 -1
package/package.json
CHANGED
package/ui.button-link/index.vue
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
:data-cy="dataCy"
|
|
13
13
|
v-bind="linkAttrs"
|
|
14
14
|
@blur="onBlur"
|
|
15
|
-
@click="onClick"
|
|
16
15
|
@focus="onFocus"
|
|
16
|
+
@click="onClick"
|
|
17
17
|
@keydown="onKeydown"
|
|
18
18
|
@mouseover="onMouseover"
|
|
19
19
|
>
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
v-bind="linkAttrs"
|
|
32
32
|
@blur="onBlur"
|
|
33
33
|
@focus="onFocus"
|
|
34
|
+
@click="onClick"
|
|
34
35
|
@keydown="onKeydown"
|
|
35
36
|
@mouseover="onMouseover"
|
|
36
|
-
@click.prevent="onClick"
|
|
37
37
|
>
|
|
38
38
|
<!-- @slot Use it replace the text. -->
|
|
39
39
|
<slot>
|
|
@@ -293,11 +293,11 @@ const href = computed(() => {
|
|
|
293
293
|
link: "",
|
|
294
294
|
};
|
|
295
295
|
|
|
296
|
-
return `${types[props.type]}${props.url}
|
|
296
|
+
return props.url ? `${types[props.type]}${props.url}` : null;
|
|
297
297
|
});
|
|
298
298
|
|
|
299
299
|
function onClick(event) {
|
|
300
|
-
|
|
300
|
+
emit("click", event);
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
function onMouseover(event) {
|