0.1.8 • Published 1 day ago

@fluentui/react-calendar-compat v0.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 day ago

@fluentui/react-calendar-compat

React Calendar component for Fluent UI React

The calendar control lets people select and view a single date or a range of dates in their calendar. It’s made up of 3 separate views: the month view, year view, and decade view.

Usage

To import Calendar:

import { Calendar } from '@fluentui/react-calendar-compat';

Examples

<Calendar />

Alternatively, run Storybook locally with:

yarn workspace @fluentui/react-calendar-compat start

Compat components

What makes a compat component?

A compat component is a component taken from v8 and partially updated with the v9 toolset while keeping its original functionality and most of the original API surface. The most noticeable change being the removal of all v8 dependencies and using only v9 dependencies. While this is a good first step, this is not the final v9 component. We are working on a fully fleshed v9 replacement that will follow all v9 patterns and conventions.

How publishing the package will be handled

Compat components are not added in the @fluentui/react-components package suite. Instead, these components should be imported from their respective package as shown above. In contrast with components that live in @fluentui/react-components, compat components are to be released as 0.x.1 and there won't be an unstable release (beta/alpha) before this release. This is due to the way we will handle versioning for changes, allowing for breaking changes when necessary.

Versioning for changes

We will take a similar approach as v0 where we will follow this pattern:

  • breaking change (major): Since this is a compat component, we will allow breaking changes if absolutely necessary. To accommodate for this, we will denote those changes as a minor version in semver, i.e. 0.(change will be reflected here).x.
  • minor and patch: These changes will be reflected in the patch version in semver as 0.x.(change will be reflected here).

Calendar compat Slots API special case

Due to time constraints, Calendar compat is a special case for compat components. We are not moving the API to our slots API. Calendar is extracted from DatePicker compat and moved to this package as is.

0.1.8

1 day ago

0.1.7

5 days ago

0.1.6

12 days ago

0.1.5

15 days ago

0.1.4

19 days ago

0.1.3

28 days ago

0.1.2

1 month ago

0.1.1

2 months ago

0.1.0

2 months ago

0.0.25

2 months ago

0.0.24

2 months ago

0.0.23

2 months ago

0.0.22

3 months ago

0.0.21

3 months ago

0.0.20

3 months ago

0.0.19

4 months ago

0.0.18

4 months ago

0.0.17

4 months ago

0.0.16

4 months ago

0.0.15

4 months ago

0.0.14

4 months ago

0.0.13

5 months ago

0.0.12

5 months ago

0.0.11

5 months ago

0.0.10

5 months ago

0.0.9

6 months ago

0.0.8

6 months ago

0.0.7

6 months ago

0.0.6

6 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago