feat: complete public Form migration and validation focus contract

This commit is contained in:
maoyingjie
2026-10-27 18:28:13 +08:00
parent f424fa5597
commit 2c221e0995
22 changed files with 843 additions and 35 deletions
+7 -1
View File
@@ -170,7 +170,10 @@ export {
} from "./components/alert/context";
export { default as TextField } from "./components/textfield/TextField.vue";
export { default as Form } from "./components/form/Form.vue";
export {
default as Form,
default as FormRoot,
} from "./components/form/Form.vue";
export {
fieldContextKey,
formContextKey,
@@ -189,6 +192,9 @@ export { useFieldPart } from "./components/field/useFieldPart";
export type {
TextFieldProps,
FormProps,
FormRootProps,
FormSlots,
FormExpose,
DescriptionProps,
FieldErrorProps,
} from "./types";