@ulu/frontend-vue 0.2.0-beta.1 → 0.2.0-beta.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UluCard.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/elements/UluCard.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UluCard.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/elements/UluCard.vue"],"names":[],"mappings":"wBA+qBqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AATzB;WAIkB,OAAO,IAAI;YADV,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;2OAGrC;;;;;;;;;;;;;;;;AA3TD,mEAA0C;AAtG1C;;;;;;;;;;;;;;;;;;;;EAoGG"}
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
import { ref, computed, useSlots } from 'vue';
|
|
83
83
|
import { RouterLink } from "vue-router";
|
|
84
84
|
import { useModifiers } from "../../composables/useModifiers.js";
|
|
85
|
+
import { refToElement } from '../../utils/dom.js';
|
|
85
86
|
|
|
86
87
|
const props = defineProps({
|
|
87
88
|
/**
|
|
@@ -241,7 +242,12 @@
|
|
|
241
242
|
const { mousedownDurationPrevent } = resolvedProxyOptions.value;
|
|
242
243
|
if (timeStamp - proxyStart.value < mousedownDurationPrevent) {
|
|
243
244
|
if (isTitleProxy.value) {
|
|
244
|
-
link.value
|
|
245
|
+
const linkEl = refToElement(link.value);
|
|
246
|
+
if (linkEl) {
|
|
247
|
+
linkEl.click();
|
|
248
|
+
} else {
|
|
249
|
+
console.warn("Unable to resolve title link ref");
|
|
250
|
+
}
|
|
245
251
|
} else if (isEventProxy.value) {
|
|
246
252
|
const proxyTarget = cardRoot.value?.querySelector('[data-ulu-card-proxy-target]');
|
|
247
253
|
if (proxyTarget) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ulu/frontend-vue",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.2",
|
|
4
4
|
"description": "A modular and tree-shakeable Vue 3 component library for the Ulu frontend",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@formkit/auto-animate": "^0.9.0",
|
|
54
54
|
"@headlessui/vue": "^1.7.23",
|
|
55
|
-
"@ulu/frontend": "^0.2.0-beta.
|
|
55
|
+
"@ulu/frontend": "^0.2.0-beta.4",
|
|
56
56
|
"@unhead/vue": "^2.0.11",
|
|
57
57
|
"vue": "^3.5.17",
|
|
58
58
|
"vue-router": "^4.5.1"
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@storybook/addon-essentials": "^9.0.0-alpha.12",
|
|
78
78
|
"@storybook/addon-links": "^9.1.1",
|
|
79
79
|
"@storybook/vue3-vite": "^9.1.1",
|
|
80
|
-
"@ulu/frontend": "^0.2.0-beta.
|
|
80
|
+
"@ulu/frontend": "^0.2.0-beta.4",
|
|
81
81
|
"@unhead/vue": "^2.0.11",
|
|
82
82
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
83
83
|
"ollama": "^0.5.16",
|