-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1041 from dpc-sdp/feature/update-nuxt
Update Nuxt to 3.11.2
- Loading branch information
Showing
56 changed files
with
9,693 additions
and
5,908 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<template> | ||
<h2 class="rpl-type-h2 docs-h2" :id="id"> | ||
<a v-if="id && generate" :href="`#${id}`"> | ||
<span class="docs-h2--hash">#</span> | ||
<slot /> | ||
</a> | ||
<slot v-else /> | ||
</h2> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { computed, useRuntimeConfig } from '#imports' | ||
const props = defineProps<{ id?: string }>() | ||
const { headings } = useRuntimeConfig().public.mdc | ||
const generate = computed(() => props.id && headings?.anchorLinks?.h2) | ||
</script> | ||
|
||
<style scoped> | ||
.docs-h2 a { | ||
text-decoration: none; | ||
color: var(--rpl-clr-black); | ||
position: relative; | ||
&:hover .docs-h2--hash { | ||
display: block; | ||
} | ||
} | ||
.docs-h2--hash { | ||
color: var(--rpl-clr-neutral-200); | ||
font-size: 0.75em; | ||
left: -1em; | ||
position: absolute; | ||
display: none; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<template> | ||
<h2 class="rpl-type-h3 docs-h3" :id="id"> | ||
<a v-if="id && generate" :href="`#${id}`"> | ||
<span class="docs-h3--hash">#</span> | ||
<slot /> | ||
</a> | ||
<slot v-else /> | ||
</h2> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { computed, useRuntimeConfig } from '#imports' | ||
const props = defineProps<{ id?: string }>() | ||
const { headings } = useRuntimeConfig().public.mdc | ||
const generate = computed(() => props.id && headings?.anchorLinks?.h2) | ||
</script> | ||
|
||
<style scoped> | ||
.docs-h3 a { | ||
text-decoration: none; | ||
color: var(--rpl-clr-black); | ||
position: relative; | ||
&:hover .docs-h3--hash { | ||
display: block; | ||
} | ||
} | ||
.docs-h3--hash { | ||
color: var(--rpl-clr-neutral-200); | ||
font-size: 0.75em; | ||
left: -1em; | ||
position: absolute; | ||
display: none; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template> | ||
<h4 class="rpl-type-h4 docs-h4" :id="id"> | ||
<slot /> | ||
</h4> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
defineProps<{ id?: string }>() | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.