1 | import type { Assign } from "@ark-ui/react";
|
2 | import { Field as ArkField } from "@ark-ui/react/field";
|
3 | import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
|
4 | declare const useFieldStyles: () => Record<string, import("../..").SystemStyleObject>;
|
5 | export { useFieldStyles };
|
6 | export interface FieldRootBaseProps extends Assign<ArkField.RootBaseProps, SlotRecipeProps<"field">>, UnstyledProp {
|
7 | }
|
8 | export interface FieldRootProps extends HTMLChakraProps<"div", FieldRootBaseProps> {
|
9 | }
|
10 | export declare const FieldRoot: import("react").ForwardRefExoticComponent<FieldRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
11 | export declare const FieldPropsProvider: React.Provider<FieldRootBaseProps>;
|
12 | export interface FieldLabelProps extends HTMLChakraProps<"label", ArkField.LabelBaseProps> {
|
13 | }
|
14 | export declare const FieldLabel: import("react").ForwardRefExoticComponent<FieldLabelProps & import("react").RefAttributes<HTMLLabelElement>>;
|
15 | export interface FieldHelperTextProps extends HTMLChakraProps<"div", ArkField.HelperTextBaseProps> {
|
16 | }
|
17 | export declare const FieldHelperText: import("react").ForwardRefExoticComponent<FieldHelperTextProps & import("react").RefAttributes<HTMLDivElement>>;
|
18 | export interface FieldErrorTextProps extends HTMLChakraProps<"div", ArkField.ErrorTextBaseProps> {
|
19 | }
|
20 | export declare const FieldErrorText: import("react").ForwardRefExoticComponent<FieldErrorTextProps & import("react").RefAttributes<HTMLDivElement>>;
|
21 | export interface FieldErrorIconProps extends HTMLChakraProps<"svg"> {
|
22 | }
|
23 | export declare const FieldErrorIcon: import("react").ForwardRefExoticComponent<import("..").IconProps & import("react").RefAttributes<SVGSVGElement>>;
|
24 | export interface FieldRequiredIndicatorProps extends HTMLChakraProps<"span"> {
|
25 | fallback?: React.ReactNode;
|
26 | }
|
27 | export declare const FieldRequiredIndicator: import("react").ForwardRefExoticComponent<FieldRequiredIndicatorProps & import("react").RefAttributes<HTMLSpanElement>>;
|