@bjj/nuxt-layer-shadcn-ui 0.12.9 → 0.12.11
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.
|
@@ -712,11 +712,11 @@ async function onDrop (e: DragEvent) {
|
|
|
712
712
|
<style scoped>
|
|
713
713
|
@keyframes upload-progress-anim {
|
|
714
714
|
0% { transform: translateX(-100%); }
|
|
715
|
-
100% { transform: translateX(
|
|
715
|
+
100% { transform: translateX(200%); }
|
|
716
716
|
}
|
|
717
717
|
|
|
718
718
|
.upload-progress {
|
|
719
|
-
width:
|
|
719
|
+
width: 50%;
|
|
720
720
|
animation: upload-progress-anim 1.2s ease-in-out infinite;
|
|
721
721
|
}
|
|
722
722
|
</style>
|
|
@@ -18,8 +18,6 @@ const localePath = useLocalePath()
|
|
|
18
18
|
|
|
19
19
|
const isExternal = computed(() => props.href ? isUrl(props.href) : false)
|
|
20
20
|
|
|
21
|
-
const showExternalIcon = computed(() => props.externalIcon && isExternal.value)
|
|
22
|
-
|
|
23
21
|
// Compute the final destination (supports both href string and to route object)
|
|
24
22
|
const finalTo = computed<RouteLocationRaw | undefined>(() => {
|
|
25
23
|
if (props.to) return props.to
|
|
@@ -39,6 +37,8 @@ const finalRel = computed(() => {
|
|
|
39
37
|
return finalTarget.value === '_blank' ? 'noopener noreferrer' : undefined
|
|
40
38
|
})
|
|
41
39
|
|
|
40
|
+
const showExternalIcon = computed(() => props.externalIcon && finalTarget.value === '_blank')
|
|
41
|
+
|
|
42
42
|
// Merge default class with external class
|
|
43
43
|
const mergedClass = computed(() => {
|
|
44
44
|
if (props.unstyled) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bjj/nuxt-layer-shadcn-ui",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.11",
|
|
4
4
|
"description": "Nuxt layer providing shadcn-vue based UI components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./nuxt.config.ts",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"vue-i18n": "^11",
|
|
43
43
|
"vue-router": "^4 || ^5"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "a102b65a6b8cd7b1311ed98b513dccf164faa169"
|
|
46
46
|
}
|