Description
shadcn/ui exposes range selection as part of the Calendar component API instead of requiring a separate range calendar component for the common docs path.
Upstream citations:
Proposed outcome
- Allow
<Calendar mode="range" /> in shadcn-svelte.
- Preserve existing
<RangeCalendar /> usage for projects that already use it.
- Update docs so new range-calendar usage points to Calendar with the
mode prop.
- Keep generated registry output complete so installing Calendar includes the range implementation needed by
mode="range".
Related PR
#2732
Description
shadcn/ui exposes range selection as part of the Calendar component API instead of requiring a separate range calendar component for the common docs path.
Upstream citations:
mode="range"prop for range selection: https://github.com/shadcn-ui/ui/blob/main/apps/v4/content/docs/components/base/calendar.mdx#L148-L156Proposed outcome
<Calendar mode="range" />in shadcn-svelte.<RangeCalendar />usage for projects that already use it.modeprop.mode="range".Related PR
#2732