The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
{/*
* _____ _
*|_ _|_ _____ _ __ | |_ _ _
* | | \ \ /\ / / _ \ '_ \| __| | | | Auto-generated file
* | | \ V V / __/ | | | |_| |_| | DO NOT EDIT - changes will be overwritten
* |_| \_/\_/ \___|_| |_|\__|\__, | Generated by: npx nx generate:ui twenty-docs
* |___/
*
* This file is generated from the documentation data in packages/twenty-ui/generated.
* To update it, edit the component prop types or design tokens in twenty-ui and run:
* npx nx generate:ui twenty-docs
*/}
<ParamField body="aria-label" type="string">
Accessible name of the calendar group.
</ParamField>
<ParamField body="aria-labelledby" type="string">
ID of the element that labels the calendar group.
</ParamField>
<ParamField body="className" type="string">
CSS class applied to the root element.
</ParamField>
<ParamField body="disabled" type="boolean" default="false">
Disables date selection and the default header controls.
</ParamField>
<ParamField body="highlightedRange" type="{ start: string; end: string; }">
Inclusive YYYY-MM-DD start and end dates to highlight. The application computes the range independently from the selected date.
</ParamField>
<ParamField body="isDateUnavailable" type="((date: string) => boolean)">
Returns whether a canonical YYYY-MM-DD date cannot be selected. The calendar engine handles unavailable-date presentation and navigation.
</ParamField>
<ParamField body="isGridHidden" type="boolean" default="false">
Hides weekday and date rows while retaining the header for a month-only navigator.
</ParamField>
<ParamField body="isKeyboardNavigationDisabled" type="boolean" default="false">
Disables keyboard date navigation in the calendar engine for compatibility with existing input wrappers. Header controls retain their native keyboard behavior.
</ParamField>
<ParamField body="loadingFallback" type="ReactNode" default="300px-high Skeleton">
Custom Suspense fallback while the calendar engine loads. Defaults to a 300px-high Skeleton.
</ParamField>
<ParamField body="locale" type="string" required>
Locale for the default month/year header and custom weekday titles. Engine day labels retain their existing locale behavior; values remain Gregorian date-only strings.
</ParamField>
<ParamField body="monthLabel" type="string" required>
Accessible name of the default month selector.
</ParamField>
<ParamField body="nextMonthLabel" type="string" required>
Accessible name of the default next-month button.
</ParamField>
<ParamField body="onNavigationOpenChange" type="((args: { open: boolean; control: "month" | "year"; }) => void)">
Reports { open, control } when a default month or year popup starts opening, and when it finishes closing or its selector unmounts. Header arrow actions do not call this callback.
</ParamField>
<ParamField body="onValueChange" type="(date: string) => void" required>
Called when choosing an available day changes the selected date. Month and year browsing does not select another date.
</ParamField>
<ParamField body="onValueSelect" type="((date: string) => void)">
Called with the selected YYYY-MM-DD date after choosing an available day, including the already-selected day. Use it to commit or close a product picker.
</ParamField>
<ParamField body="onViewedMonthChange" type="(month: string) => void" required>
Requests the month shown by calendar navigation without changing the selected date.
</ParamField>
<ParamField body="portalContainer" type="HTMLElement | ShadowRoot | RefObject<HTMLElement | ShadowRoot | null> | null">
Mount container for the default month and year selector popups. Accepts the shared Select portal container contract.
</ParamField>
<ParamField body="previousMonthLabel" type="string" required>
Accessible name of the default previous-month button.
</ParamField>
<ParamField body="readOnly" type="boolean" default="false">
Prevents date selection while allowing month and year browsing and displaying the selected date or highlighted range.
</ParamField>
<ParamField body="ref" type="Ref<HTMLDivElement>">
Ref to the root element.
</ParamField>
<ParamField body="render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, {}>">
Composes the root element while preserving its props and contents.
</ParamField>
<ParamField body="renderHeader" type="((props: DatePickerHeaderProps) => ReactNode)">
Renders a product header with the viewed month, previous/next actions, month numbers from 1 through 12, year change actions, and navigation-disabled states. Header actions only browse months.
</ParamField>
<ParamField body="role" type="AriaRole" default="group">
Root semantics. Defaults to a group; the caller supplies its accessible name.
</ParamField>
<ParamField body="style" type="CSSProperties">
Inline styles applied to the root element.
</ParamField>
<ParamField body="value" type="string | null" required>
Controlled selected Gregorian date in YYYY-MM-DD form, or null for no selection.
</ParamField>
<ParamField body="viewedMonth" type="string" required>
Controlled Gregorian month in YYYY-MM form. It is independent from the selected date.
</ParamField>
<ParamField body="weekdayLabels" type="readonly [string, string, string, string, string, string, string]">
Optional short weekday labels in Sunday-first order. The calendar engine supplies weekday names when omitted.
</ParamField>
<ParamField body="weekStart" type="0 | 1 | 2 | 3 | 4 | 5 | 6" required>
First weekday column: 0 for Sunday through 6 for Saturday.
</ParamField>
<ParamField body="yearLabel" type="string" required>
Accessible name of the default year selector.
</ParamField>