UNPKG

3.6 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { NumberInput as ArkNumberInput } from "@ark-ui/react/number-input";
3import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
4declare const useNumberInputStyles: () => Record<string, import("../..").SystemStyleObject>;
5export { useNumberInputStyles };
6export interface NumberInputRootProviderBaseProps extends Assign<ArkNumberInput.RootProviderBaseProps, SlotRecipeProps<"numberInput">>, UnstyledProp {
7}
8export interface NumberInputRootProviderProps extends HTMLChakraProps<"div", NumberInputRootProviderBaseProps> {
9}
10export declare const NumberInputRootProvider: import("react").ForwardRefExoticComponent<NumberInputRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
11export interface NumberInputRootBaseProps extends Assign<ArkNumberInput.RootBaseProps, SlotRecipeProps<"numberInput">>, UnstyledProp {
12}
13export interface NumberInputRootProps extends HTMLChakraProps<"div", NumberInputRootBaseProps> {
14}
15export declare const NumberInputRoot: import("react").ForwardRefExoticComponent<NumberInputRootProps & import("react").RefAttributes<HTMLDivElement>>;
16export declare const NumberInputPropsProvider: React.Provider<NumberInputRootBaseProps>;
17export interface NumberInputControlProps extends HTMLChakraProps<"div", ArkNumberInput.ControlBaseProps> {
18}
19export declare const NumberInputControl: import("react").ForwardRefExoticComponent<NumberInputControlProps & import("react").RefAttributes<HTMLDivElement>>;
20export interface NumberInputLabelProps extends HTMLChakraProps<"label", ArkNumberInput.LabelBaseProps> {
21}
22export declare const NumberInputLabel: import("react").ForwardRefExoticComponent<NumberInputLabelProps & import("react").RefAttributes<HTMLLabelElement>>;
23export interface NumberInputInputProps extends HTMLChakraProps<"input", ArkNumberInput.InputBaseProps> {
24}
25export declare const NumberInputInput: import("react").ForwardRefExoticComponent<NumberInputInputProps & import("react").RefAttributes<HTMLInputElement>>;
26export interface NumberInputIncrementTriggerProps extends HTMLChakraProps<"button", ArkNumberInput.IncrementTriggerBaseProps> {
27}
28export declare const NumberInputIncrementTrigger: import("react").ForwardRefExoticComponent<NumberInputIncrementTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
29export interface NumberInputDecrementTriggerProps extends HTMLChakraProps<"button", ArkNumberInput.DecrementTriggerBaseProps> {
30}
31export declare const NumberInputDecrementTrigger: import("react").ForwardRefExoticComponent<NumberInputDecrementTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
32export interface NumberInputScrubberProps extends HTMLChakraProps<"div", ArkNumberInput.ScrubberBaseProps> {
33}
34export declare const NumberInputScrubber: import("react").ForwardRefExoticComponent<NumberInputScrubberProps & import("react").RefAttributes<HTMLDivElement>>;
35export interface NumberInputValueTextProps extends HTMLChakraProps<"span", ArkNumberInput.ValueTextBaseProps> {
36}
37export declare const NumberInputValueText: import("react").ForwardRefExoticComponent<NumberInputValueTextProps & import("react").RefAttributes<HTMLSpanElement>>;
38export declare const NumberInputContext: (props: ArkNumberInput.ContextProps) => import("react").ReactNode;
39export interface NumberInputValueChangeDetails extends ArkNumberInput.ValueChangeDetails {
40}
41export interface NumberInputFocusChangeDetails extends ArkNumberInput.FocusChangeDetails {
42}
43export interface NumberInputValueInvalidDetails extends ArkNumberInput.ValueInvalidDetails {
44}