shadcn-zod-formkit 3.11.1 → 3.12.0
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/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +28 -11
- package/dist/index.d.ts +28 -11
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/dist/shadcn-zod-formkit-3.12.0.tgz +0 -0
- package/package.json +1 -1
- package/dist/shadcn-zod-formkit-3.11.1.tgz +0 -0
package/dist/index.cjs
CHANGED
|
@@ -12112,7 +12112,12 @@ var useKeyboardStore = zustand.create((set, get) => ({
|
|
|
12112
12112
|
set({ children });
|
|
12113
12113
|
},
|
|
12114
12114
|
setOnEnter(onEnter) {
|
|
12115
|
-
set({
|
|
12115
|
+
set({
|
|
12116
|
+
onEnter: () => {
|
|
12117
|
+
onEnter?.();
|
|
12118
|
+
if (get().isCloseOnEnter) get().reset();
|
|
12119
|
+
}
|
|
12120
|
+
});
|
|
12116
12121
|
},
|
|
12117
12122
|
setCurrentInputField(inputField) {
|
|
12118
12123
|
set({ currentInputField: inputField, isInputRequired: inputField ? true : false });
|