48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{
|
|
"id": "calendar-popover",
|
|
"name": "CalendarPopover",
|
|
"kind": "component",
|
|
"status": "stable-reference",
|
|
"summary": "Date picker popover based on Task Manager DateDropdown and nodedc-calendar-shell styling.",
|
|
"sourceRefs": [
|
|
{
|
|
"project": "nodedc_taskmanager",
|
|
"file": "plane-src/apps/web/core/components/dropdowns/date.tsx",
|
|
"exports": ["DateDropdown"]
|
|
},
|
|
{
|
|
"project": "nodedc_taskmanager",
|
|
"file": "plane-src/apps/web/styles/globals.css",
|
|
"classes": ["nodedc-calendar-shell"]
|
|
},
|
|
{
|
|
"project": "nodedc_launcher",
|
|
"file": "src/widgets/admin-overlay/AdminOverlay.tsx",
|
|
"functions": ["DateField"]
|
|
}
|
|
],
|
|
"anatomy": [
|
|
"date trigger button",
|
|
"portal dropdown surface",
|
|
"calendar shell",
|
|
"month/year controls",
|
|
"day buttons",
|
|
"single or range mode"
|
|
],
|
|
"visualContract": {
|
|
"surface": "DropdownSurface",
|
|
"calendarRadius": "1.1rem",
|
|
"dayButtonRadius": "999px",
|
|
"selectedRangeFill": "accentRgb with high contrast dark text",
|
|
"outsideDays": "muted"
|
|
},
|
|
"behaviorContract": [
|
|
"Default placement bottom-start.",
|
|
"Render through portal.",
|
|
"Support minDate, maxDate, clearable value, start-of-week preference.",
|
|
"Close on select when closeOnSelect is true."
|
|
],
|
|
"nextImplementationStep": "Replace launcher native input date fallback with this shared calendar component."
|
|
}
|
|
|