UNPKG

4.57 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { Steps as ArkSteps } from "@ark-ui/react/steps";
3import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
4declare const useStepsStyles: () => Record<string, import("../..").SystemStyleObject>;
5export { useStepsStyles };
6export interface StepsRootProviderBaseProps extends Assign<ArkSteps.RootProviderBaseProps, SlotRecipeProps<"steps">>, UnstyledProp {
7}
8export interface StepsRootProviderProps extends HTMLChakraProps<"div", StepsRootProviderBaseProps> {
9}
10export declare const StepsRootProvider: import("react").ForwardRefExoticComponent<StepsRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
11export interface StepsRootBaseProps extends Assign<ArkSteps.RootBaseProps, SlotRecipeProps<"steps">>, UnstyledProp {
12}
13export interface StepsRootProps extends HTMLChakraProps<"div", StepsRootBaseProps> {
14}
15export declare const StepsRoot: import("react").ForwardRefExoticComponent<StepsRootProps & import("react").RefAttributes<HTMLDivElement>>;
16export declare const StepsPropsProvider: React.Provider<StepsRootBaseProps>;
17export interface StepsListProps extends HTMLChakraProps<"div", ArkSteps.ListBaseProps> {
18}
19export declare const StepsList: import("react").ForwardRefExoticComponent<StepsListProps & import("react").RefAttributes<HTMLDivElement>>;
20export interface StepsItemProps extends HTMLChakraProps<"div", ArkSteps.ItemBaseProps> {
21}
22export declare const StepsItem: import("react").ForwardRefExoticComponent<StepsItemProps & import("react").RefAttributes<HTMLDivElement>>;
23export interface StepsTriggerProps extends HTMLChakraProps<"button", ArkSteps.TriggerBaseProps> {
24}
25export declare const StepsTrigger: import("react").ForwardRefExoticComponent<StepsTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
26export interface StepsContentProps extends HTMLChakraProps<"div", ArkSteps.ContentBaseProps> {
27}
28export declare const StepsContent: import("react").ForwardRefExoticComponent<StepsContentProps & import("react").RefAttributes<HTMLDivElement>>;
29export interface StepsCompletedContentProps extends HTMLChakraProps<"div"> {
30}
31export declare const StepsCompletedContent: import("react").ForwardRefExoticComponent<StepsCompletedContentProps & import("react").RefAttributes<HTMLDivElement>>;
32export interface StepsNumberProps extends HTMLChakraProps<"div"> {
33}
34export declare const StepsNumber: import("react").ForwardRefExoticComponent<StepsNumberProps & import("react").RefAttributes<HTMLDivElement>>;
35export interface StepsTitleProps extends HTMLChakraProps<"div"> {
36}
37export declare const StepsTitle: import("react").ForwardRefExoticComponent<StepsTitleProps & import("react").RefAttributes<HTMLDivElement>>;
38export interface StepsDescriptionProps extends HTMLChakraProps<"div"> {
39}
40export declare const StepsDescription: import("react").ForwardRefExoticComponent<StepsDescriptionProps & import("react").RefAttributes<HTMLDivElement>>;
41export interface StepsSeparatorProps extends HTMLChakraProps<"div", ArkSteps.SeparatorBaseProps> {
42}
43export declare const StepsSeparator: import("react").ForwardRefExoticComponent<StepsSeparatorProps & import("react").RefAttributes<HTMLDivElement>>;
44export interface StepsStatusProps {
45 complete: React.ReactNode;
46 incomplete: React.ReactNode;
47 current?: React.ReactNode;
48}
49export declare const StepsStatus: (props: StepsStatusProps) => import("react/jsx-runtime").JSX.Element;
50export interface StepsIndicatorProps extends HTMLChakraProps<"div", ArkSteps.IndicatorBaseProps> {
51}
52export declare const StepsIndicator: import("react").ForwardRefExoticComponent<StepsIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
53export interface StepsNextTriggerProps extends HTMLChakraProps<"button", ArkSteps.NextTriggerBaseProps> {
54}
55export declare const StepsNextTrigger: import("react").ForwardRefExoticComponent<StepsNextTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
56export interface StepsPrevTriggerProps extends HTMLChakraProps<"button", ArkSteps.PrevTriggerBaseProps> {
57}
58export declare const StepsPrevTrigger: import("react").ForwardRefExoticComponent<StepsPrevTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
59export declare const StepsContext: {
60 (props: ArkSteps.ContextProps): import("react").ReactNode;
61 displayName: string;
62};
63export declare const StepsItemContext: {
64 (props: ArkSteps.ItemContextProps): import("react").ReactNode;
65 displayName: string;
66};
67export interface StepsChangeDetails extends ArkSteps.ChangeDetails {
68}