@falcondev-oss/nuxt-layers-base 0.10.2 → 0.10.3

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.
@@ -13,6 +13,7 @@ import type {
13
13
  InferOutput,
14
14
  } from '@nuxt/ui'
15
15
  import type { Reactive } from 'vue'
16
+ import NuxtUIAuthForm from '@nuxt/ui/components/AuthForm.vue'
16
17
  import { useForwardProps } from 'reka-ui'
17
18
 
18
19
  const props = defineProps<
@@ -22,14 +23,14 @@ const props = defineProps<
22
23
  >()
23
24
  const slots = defineSlots<AuthFormSlots<Reactive<InferInput<T>>, F>>()
24
25
 
25
- const forwarded = useForwardProps(props)
26
+ const forwarded = useForwardProps(props) as ComputedRef<Omit<typeof props, 'onSubmit'>>
26
27
  </script>
27
28
 
28
29
  <template>
29
- <UAuthForm v-bind="forwarded">
30
+ <NuxtUIAuthForm v-bind="forwarded">
30
31
  <template v-for="(_, name) in slots" #[name]="slotData">
31
32
  <!-- @vue-ignore -->
32
33
  <slot :name="name" v-bind="slotData || {}" />
33
34
  </template>
34
- </UAuthForm>
35
+ </NuxtUIAuthForm>
35
36
  </template>
package/nuxt.config.ts CHANGED
@@ -10,6 +10,11 @@ export default defineNuxtConfig({
10
10
  // dev
11
11
  typescript: {
12
12
  strict: true,
13
+ tsConfig: {
14
+ compilerOptions: {
15
+ allowArbitraryExtensions: true,
16
+ },
17
+ },
13
18
  },
14
19
  nitro: {
15
20
  experimental: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@falcondev-oss/nuxt-layers-base",
3
3
  "type": "module",
4
- "version": "0.10.2",
4
+ "version": "0.10.3",
5
5
  "description": "Nuxt layer with lots of useful helpers and @nuxt/ui components",
6
6
  "license": "MIT",
7
7
  "repository": "github:falcondev-oss/nuxt-layers",