@project-jade-garden/reka-ui
Version:
Reka UI anatomy slots for headless design
35 lines (34 loc) • 1.19 kB
TypeScript
import { SVATraits } from 'jade-garden';
/**
* **Stepper**
* @description A set of steps that are used to indicate progress through a multi-step process.
* @see [source](https://reka-ui.com/docs/components/stepper#anatomy)
*/
export declare const slots: readonly ["root", "item", "trigger", "description", "title", "indicator", "separator"];
/**
* **Stepper**
* @description A set of steps that are used to indicate progress through a multi-step process.
* @see [source](https://reka-ui.com/docs/components/stepper#anatomy)
*/
export type Slots = (typeof slots)[number];
/**
* **Stepper**
* @description A set of steps that are used to indicate progress through a multi-step process.
* @see [source](https://reka-ui.com/docs/components/stepper#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {
orientation: "vertical" | "horizontal";
linear: "";
};
item: {
state: "active" | "inactive" | "completed";
disabled: "";
orientation: "vertical" | "horizontal";
};
trigger: {
state: "active" | "inactive" | "completed";
disabled: "";
orientation: "vertical" | "horizontal";
};
}>;