@falcondev-oss/nuxt-layers-base 0.23.0 → 0.23.1
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.
|
@@ -10,7 +10,7 @@ type InputSlotProps<T, Nullable extends boolean> = {
|
|
|
10
10
|
'onBlur': () => void
|
|
11
11
|
'disabled': boolean
|
|
12
12
|
'loading': boolean
|
|
13
|
-
'modelModifiers': true extends Nullable ? { nullable: true } :
|
|
13
|
+
'modelModifiers': true extends Nullable ? { nullable: true } : undefined
|
|
14
14
|
'placeholder'?: string
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -65,7 +65,7 @@ const inputProps = computed(() => {
|
|
|
65
65
|
'loading': field.isPending,
|
|
66
66
|
'modelModifiers': (props.nullable === true
|
|
67
67
|
? { nullable: true }
|
|
68
|
-
: undefined) as true extends Nullable ? { nullable: true } :
|
|
68
|
+
: undefined) as true extends Nullable ? { nullable: true } : undefined,
|
|
69
69
|
placeholder,
|
|
70
70
|
} satisfies InputSlotProps<T, Nullable>
|
|
71
71
|
})
|
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.23.
|
|
4
|
+
"version": "0.23.1",
|
|
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",
|