@project-jade-garden/reka-ui
Version:
Reka UI anatomy slots for headless design
45 lines (44 loc) • 1.32 kB
TypeScript
import { SVATraits } from 'jade-garden';
/**
* **Calendar**
* @description Displays dates and days of the week, facilitating date-related interactions.
* @see [source](https://reka-ui.com/docs/components/calendar#anatomy)
*/
export declare const slots: readonly ["root", "header", "heading", "grid", "cell", "headCell", "next", "prev", "gridHead", "gridBody", "gridRow", "cellTrigger"];
/**
* **Calendar**
* @description Displays dates and days of the week, facilitating date-related interactions.
* @see [source](https://reka-ui.com/docs/components/calendar#anatomy)
*/
export type Slots = (typeof slots)[number];
/**
* **Calendar**
* @description Displays dates and days of the week, facilitating date-related interactions.
* @see [source](https://reka-ui.com/docs/components/calendar#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {
readonly: "";
invalid: "";
};
heading: {
disabled: "";
};
grid: {
readonly: "";
disabled: "";
};
cell: {
disabled: "";
};
cellTrigger: {
selected: "";
value: "The ISO string value of the date.";
disabled: "";
unavailable: "";
today: "";
"outside-view": "";
"outside-visible-view": "";
focused: "";
};
}>;