@project-jade-garden/reka-ui
Version:
Reka UI anatomy slots for headless design
50 lines (49 loc) • 1.43 kB
text/typescript
import { SVATraits } from 'jade-garden';
/**
* **Range Calendar**
* @description Presents a calendar view tailored for selecting date ranges.
* @see [source](https://reka-ui.com/docs/components/range-calendar#anatomy)
*/
export declare const slots: readonly ["root", "header", "heading", "grid", "cell", "headCell", "next", "prev", "gridHead", "gridBody", "gridRow", "cellTrigger"];
/**
* **Range Calendar**
* @description Presents a calendar view tailored for selecting date ranges.
* @see [source](https://reka-ui.com/docs/components/range-calendar#anatomy)
*/
export type Slots = (typeof slots)[number];
/**
* **Range Calendar**
* @description Presents a calendar view tailored for selecting date ranges.
* @see [source](https://reka-ui.com/docs/components/range-calendar#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {
readonly: "";
invalid: "";
};
heading: {
disabled: "";
};
grid: {
readonly: "";
disabled: "";
};
cell: {
disabled: "";
};
cellTrigger: {
selected: "";
value: "";
disabled: "";
unavailable: "";
today: "";
"outside-view": "";
"outside-visible-view": "";
"selection-start": "";
"selection-end": "";
highlighted: "";
"highlighted-start": "";
"highlighted-end": "";
focused: "";
};
}>;