feat: establish shared field and form foundation
This commit is contained in:
@@ -87,7 +87,7 @@ export type {
|
||||
export { tv, cn, type VariantProps } from "@heroui-vue/styles";
|
||||
|
||||
export { default as SwitchGroup } from "./components/switch/SwitchGroup.vue";
|
||||
export { default as FieldError } from "./components/switch/FieldError.vue";
|
||||
export { default as FieldError } from "./components/field/FieldError.vue";
|
||||
|
||||
export { default as Surface } from "./components/surface/Surface.vue";
|
||||
export {
|
||||
@@ -157,3 +157,27 @@ export {
|
||||
type AlertSlots,
|
||||
type AlertStatus,
|
||||
} from "./components/alert/context";
|
||||
|
||||
export { default as TextField } from "./components/textfield/TextField.vue";
|
||||
export { default as Form } from "./components/form/Form.vue";
|
||||
export {
|
||||
fieldContextKey,
|
||||
formContextKey,
|
||||
mergeIds,
|
||||
type FieldContext,
|
||||
type FormContext,
|
||||
type ValidationBehavior,
|
||||
type ValidationErrors,
|
||||
type ValidateResult,
|
||||
} from "./components/field/context";
|
||||
export {
|
||||
textFieldContextKey,
|
||||
type TextFieldContext,
|
||||
} from "./components/textfield/context";
|
||||
export { useFieldPart } from "./components/field/useFieldPart";
|
||||
export type {
|
||||
TextFieldProps,
|
||||
FormProps,
|
||||
DescriptionProps,
|
||||
FieldErrorProps,
|
||||
} from "./types";
|
||||
|
||||
Reference in New Issue
Block a user