@dargmuesli/nuxt-vio 7.0.0 → 8.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,9 @@
1
+ <template>
2
+ <VioIconContainer>
3
+ <ArrowLeftIcon />
4
+ </VioIconContainer>
5
+ </template>
6
+
7
+ <script setup lang="ts">
8
+ import { ArrowLeftIcon } from '@heroicons/vue/24/outline'
9
+ </script>
@@ -7,9 +7,10 @@
7
7
  <script setup lang="ts">
8
8
  export interface Props {
9
9
  classes?: string
10
- title: string
10
+ title?: string
11
11
  }
12
12
  withDefaults(defineProps<Props>(), {
13
13
  classes: 'h-5 md:h-6 w-5 md:w-6 shrink-0',
14
+ title: undefined,
14
15
  })
15
16
  </script>
@@ -1,8 +1,16 @@
1
1
  <template>
2
- <div class="container mx-auto p-4 md:px-8">
3
- <main>
4
- <slot />
5
- </main>
2
+ <div class="container mx-auto md:px-8">
3
+ <div class="min-h-screen p-4">
4
+ <header v-if="$slots.header">
5
+ <slot name="header" />
6
+ </header>
7
+ <main>
8
+ <slot />
9
+ </main>
10
+ </div>
11
+ <footer v-if="$slots.footer" class="p-4">
12
+ <slot name="footer" />
13
+ </footer>
6
14
  <CookieControl :locale="locale" />
7
15
  </div>
8
16
  </template>
package/nuxt.config.ts CHANGED
@@ -126,7 +126,7 @@ export default defineNuxtConfig(
126
126
  locales: ['en', 'de'],
127
127
  },
128
128
  htmlValidator: {
129
- failOnError: false, // TODO: fix invalid html in nuxt html template (https://github.com/nuxt/nuxt/issues/22526)
129
+ failOnError: true,
130
130
  logLevel: 'warning',
131
131
  },
132
132
  i18n: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-vio",
3
- "version": "7.0.0",
3
+ "version": "8.1.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dargmuesli/vio.git"
@@ -67,9 +67,10 @@
67
67
  "dependencies": {
68
68
  "@axe-core/playwright": "4.7.3",
69
69
  "@dargmuesli/nuxt-cookie-control": "6.4.2",
70
+ "@heroicons/vue": "2.0.18",
70
71
  "@http-util/status-i18n": "0.8.1",
71
72
  "@intlify/eslint-plugin-vue-i18n": "3.0.0-next.3",
72
- "@nuxt/image": "1.0.0-rc.1",
73
+ "@nuxt/image": "1.0.0-rc.2",
73
74
  "@nuxtjs/color-mode": "3.3.0",
74
75
  "@nuxtjs/eslint-config-typescript": "12.1.0",
75
76
  "@nuxtjs/html-validator": "1.5.2",
@@ -112,7 +113,7 @@
112
113
  "stylelint-config-recommended-vue": "1.5.0",
113
114
  "stylelint-config-standard": "34.0.0",
114
115
  "stylelint-no-unsupported-browser-features": "7.0.0",
115
- "sweetalert2": "11.7.27",
116
+ "sweetalert2": "11.7.28",
116
117
  "tailwindcss": "3.3.3",
117
118
  "vue": "3.3.4",
118
119
  "vue-gtag": "2.0.1",