feat(react-headless-components-preview): add headless Calendar - #36630
Draft
Dmytro Kirpa (dmytrokirpa) wants to merge 1 commit into
Draft
feat(react-headless-components-preview): add headless Calendar#36630Dmytro Kirpa (dmytrokirpa) wants to merge 1 commit into
Dmytro Kirpa (dmytrokirpa) wants to merge 1 commit into
Conversation
This was referenced Aug 25, 2026
|
Pull request demo site: URL |
Dmytro Kirpa (dmytrokirpa)
force-pushed
the
headless-calendar
branch
from
August 25, 2026 20:08
8c9219a to
9e62460
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This is PR 3 of 3 in a stack that splits up #36618 ("feat: add non-compat and headless versions for Calendar") into smaller, independently reviewable pieces:
@fluentui/react-calendar-previewpackageCalendarcomponent family inreact-calendar-previewCalendartoreact-headless-components-previewStack order:
master→calendar-preview-scaffold→calendar-preview-impl→headless-calendar. This PR is based on #36629 and only contains the diff on top of it (the headless module).What's in this PR
A new
calendarentry point (@fluentui/react-headless-components-preview/calendar) that re-exports the*Base_unstable/context-value hooks and types from@fluentui/react-calendar-preview(added in #36629), following the existing headless-components pattern used by other components in this package:library/src/calendar.tspublic entry point +library/src/components/Calendar/**re-exportslibrary/package.json— new@fluentui/react-calendar-previewdependency and./calendarexport map entryPrevious Behavior
N/A — new headless entry point, and
react-calendar-preview(added in #36629) had no headless consumer yet.New Behavior
Consumers can import unstyled Calendar base hooks from
@fluentui/react-headless-components-preview/calendarto build a fully custom-styled calendar, matching the pattern of the other headless components in this package.Related Issue(s)
Split from #36618.