@sfxcode/nuxt-ui-formkit 1.3.2 → 1.3.4
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.
- package/dist/module.json +1 -1
- package/dist/runtime/components/inputs/FUSelect.vue +2 -1
- package/dist/runtime/components/inputs/FUSelectMenu.vue +2 -1
- package/dist/runtime/components/inputs/FUSlider.vue +3 -0
- package/dist/runtime/components/output/FUIcon.d.vue.ts +1 -1
- package/dist/runtime/components/output/FUIcon.vue.d.ts +1 -1
- package/dist/runtime/plugin.d.ts +1 -1
- package/package.json +21 -21
package/dist/module.json
CHANGED
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
required: true
|
|
7
7
|
}
|
|
8
8
|
});
|
|
9
|
-
const { handleInput, handleChange, isInvalid, color, styleClass, modelValue, items, validSlotNames, ui } = useFormKitInput(props.context);
|
|
9
|
+
const { handleInput, handleChange, handleBlur, isInvalid, color, styleClass, modelValue, items, validSlotNames, ui } = useFormKitInput(props.context);
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<template>
|
|
@@ -54,6 +54,7 @@ const { handleInput, handleChange, isInvalid, color, styleClass, modelValue, ite
|
|
|
54
54
|
:ui="ui"
|
|
55
55
|
@change="handleChange"
|
|
56
56
|
@update:model-value="handleInput"
|
|
57
|
+
@blur="handleBlur"
|
|
57
58
|
>
|
|
58
59
|
<template
|
|
59
60
|
v-for="slotName in validSlotNames"
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
required: true
|
|
7
7
|
}
|
|
8
8
|
});
|
|
9
|
-
const { handleInput, handleChange, isInvalid, styleClass, color, modelValue, items, validSlotNames, ui } = useFormKitInput(props.context);
|
|
9
|
+
const { handleInput, handleChange, handleBlur, isInvalid, styleClass, color, modelValue, items, validSlotNames, ui } = useFormKitInput(props.context);
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<template>
|
|
@@ -66,6 +66,7 @@ const { handleInput, handleChange, isInvalid, styleClass, color, modelValue, ite
|
|
|
66
66
|
:ui="ui"
|
|
67
67
|
@change="handleChange"
|
|
68
68
|
@update:model-value="handleInput"
|
|
69
|
+
@blur="handleBlur"
|
|
69
70
|
>
|
|
70
71
|
<template
|
|
71
72
|
v-for="slotName in validSlotNames"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { useFormKitInput } from "../../utils/useFormKitInput";
|
|
3
|
+
import { createContainerBlurHandler } from "../../utils/useFormKitContainerBlur";
|
|
3
4
|
const props = defineProps({
|
|
4
5
|
context: {
|
|
5
6
|
type: Object,
|
|
@@ -7,6 +8,7 @@ const props = defineProps({
|
|
|
7
8
|
}
|
|
8
9
|
});
|
|
9
10
|
const { handleInput, handleChange, styleClass, color, modelValue, ui } = useFormKitInput(props.context);
|
|
11
|
+
const handleContainerBlur = createContainerBlurHandler(props.context);
|
|
10
12
|
</script>
|
|
11
13
|
|
|
12
14
|
<template>
|
|
@@ -32,5 +34,6 @@ const { handleInput, handleChange, styleClass, color, modelValue, ui } = useForm
|
|
|
32
34
|
:ui="ui"
|
|
33
35
|
@change="handleChange"
|
|
34
36
|
@update:model-value="handleInput"
|
|
37
|
+
@focusout="handleContainerBlur"
|
|
35
38
|
/>
|
|
36
39
|
</template>
|
|
@@ -42,8 +42,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
42
42
|
};
|
|
43
43
|
}>> & Readonly<{}>, {
|
|
44
44
|
onClick: () => void;
|
|
45
|
-
iconClass: string;
|
|
46
45
|
tooltip: FUIconTooltip;
|
|
46
|
+
iconClass: string;
|
|
47
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
48
48
|
declare const _default: typeof __VLS_export;
|
|
49
49
|
export default _default;
|
|
@@ -42,8 +42,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
42
42
|
};
|
|
43
43
|
}>> & Readonly<{}>, {
|
|
44
44
|
onClick: () => void;
|
|
45
|
-
iconClass: string;
|
|
46
45
|
tooltip: FUIconTooltip;
|
|
46
|
+
iconClass: string;
|
|
47
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
48
48
|
declare const _default: typeof __VLS_export;
|
|
49
49
|
export default _default;
|
package/dist/runtime/plugin.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sfxcode/nuxt-ui-formkit",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "FormKit integration for Nuxt UI - Seamlessly connect FormKit form handling with Nuxt UI components",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Tom",
|
|
@@ -90,43 +90,43 @@
|
|
|
90
90
|
"dependencies": {
|
|
91
91
|
"@formkit/addons": "^2.1.2",
|
|
92
92
|
"@formkit/nuxt": "^2.1.2",
|
|
93
|
-
"@nuxt/ui": "^4.11.
|
|
93
|
+
"@nuxt/ui": "^4.11.3",
|
|
94
94
|
"@standard-schema/spec": "^1.1.0",
|
|
95
|
-
"@vue/compiler-dom": "^3.5.
|
|
95
|
+
"@vue/compiler-dom": "^3.5.43"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@codemirror/lang-json": "^6.0.2",
|
|
99
|
-
"@codemirror/state": "^6.7.
|
|
99
|
+
"@codemirror/state": "^6.7.6",
|
|
100
100
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
101
|
-
"@codemirror/view": "^6.43.
|
|
101
|
+
"@codemirror/view": "^6.43.13",
|
|
102
102
|
"@iconify-json/heroicons": "^1.2.3",
|
|
103
|
-
"@iconify-json/lucide": "^1.2.
|
|
104
|
-
"@iconify-json/simple-icons": "^1.2.
|
|
105
|
-
"@nuxt/devtools": "4.0.0-
|
|
103
|
+
"@iconify-json/lucide": "^1.2.139",
|
|
104
|
+
"@iconify-json/simple-icons": "^1.2.98",
|
|
105
|
+
"@nuxt/devtools": "4.0.0-beta.3",
|
|
106
106
|
"@nuxt/eslint-config": "^1.17.0",
|
|
107
107
|
"@nuxt/kit": "^4.5.2",
|
|
108
108
|
"@nuxt/module-builder": "^1.0.3",
|
|
109
109
|
"@nuxt/schema": "^4.5.2",
|
|
110
|
-
"@nuxt/test-utils": "^4.
|
|
110
|
+
"@nuxt/test-utils": "^4.3.3",
|
|
111
111
|
"@types/node": "latest",
|
|
112
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
113
|
-
"@vue/test-utils": "^2.5.
|
|
112
|
+
"@vitejs/plugin-vue": "^6.0.9",
|
|
113
|
+
"@vue/test-utils": "^2.5.1",
|
|
114
114
|
"changelogen": "^0.6.2",
|
|
115
115
|
"codemirror": "^6.0.2",
|
|
116
|
-
"eslint": "^10.
|
|
117
|
-
"jsdom": "^30.
|
|
116
|
+
"eslint": "^10.12.0",
|
|
117
|
+
"jsdom": "^30.1.2",
|
|
118
118
|
"mkdist": "^2.4.1",
|
|
119
119
|
"nuxt": "^4.5.2",
|
|
120
|
-
"sass-embedded": "^1.
|
|
120
|
+
"sass-embedded": "^1.105.1",
|
|
121
121
|
"typescript": "~6.0.3",
|
|
122
122
|
"unbuild": "^3.6.1",
|
|
123
|
-
"valibot": "^1.
|
|
124
|
-
"vitepress": "2.0.0-alpha.
|
|
125
|
-
"vitest": "^
|
|
126
|
-
"vue": "^3.5.
|
|
127
|
-
"vue-i18n": "^11.4.
|
|
128
|
-
"vue-tsc": "^3.3.
|
|
129
|
-
"zod": "^4.5
|
|
123
|
+
"valibot": "^1.5.0",
|
|
124
|
+
"vitepress": "2.0.0-alpha.20",
|
|
125
|
+
"vitest": "^5.0.3",
|
|
126
|
+
"vue": "^3.5.43",
|
|
127
|
+
"vue-i18n": "^11.4.13",
|
|
128
|
+
"vue-tsc": "^3.3.12",
|
|
129
|
+
"zod": "^4.6.5"
|
|
130
130
|
},
|
|
131
131
|
"packageManager": "pnpm@11.17.0+sha512.cca3cea332ad254bb84145f966d19f4879615210346fc92c79a047f23a0d7b3cca3c3792f0076ba1f1831d277efbcf0a9119b31a9a60eca7fb3d6231f331ef72"
|
|
132
132
|
}
|