@atlaskit/calendar
Version:
An interactive calendar for date selection experiences.
1,692 lines (1,058 loc) • 60.5 kB
Markdown
# @atlaskit/calendar
## 17.1.9
### Patch Changes
- Updated dependencies
## 17.1.8
### Patch Changes
- Updated dependencies
## 17.1.7
### Patch Changes
- Updated dependencies
## 17.1.6
### Patch Changes
- Updated dependencies
## 17.1.5
### Patch Changes
- Updated dependencies
## 17.1.4
### Patch Changes
- Updated dependencies
## 17.1.3
### Patch Changes
- [#129972](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/129972)
[`b2d69a39e6687`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b2d69a39e6687) -
Update `@compiled/react` dependency for improved type checking support.
- Updated dependencies
## 17.1.2
### Patch Changes
- Updated dependencies
## 17.1.1
### Patch Changes
- Updated dependencies
## 17.1.0
### Minor Changes
- [#114797](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/114797)
[`abf693fdd9167`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/abf693fdd9167) -
Add year buttons to calendar. This removes the feature flag related to this change.
## 17.0.0
### Major Changes
- [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
[`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
status of only supporting React 18 going forward. No explicit breaking change to React support has
been made in this release, but this is to signify going forward, breaking changes for React 16 or
React 17 may come via non-major semver releases.
Please refer this community post for more details:
https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
### Patch Changes
- Updated dependencies
## 16.4.0
### Minor Changes
- [#116138](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116138)
[`b50c5d5d65ae2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b50c5d5d65ae2) -
Bump to the latest version of @compiled/react
### Patch Changes
- Updated dependencies
## 16.3.3
### Patch Changes
- Updated dependencies
## 16.3.2
### Patch Changes
- [#114277](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114277)
[`f10877b44dc55`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f10877b44dc55) -
Update depdencies and remove old codemods.
## 16.3.1
### Patch Changes
- Updated dependencies
## 16.3.0
### Minor Changes
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
Update `React` from v16 to v18
### Patch Changes
- Updated dependencies
## 16.2.2
### Patch Changes
- [#105146](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105146)
[`c5f6c2695a300`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c5f6c2695a300) -
Update dev dependencies and clean up unused internal exports.
## 16.2.1
### Patch Changes
- [#103999](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103999)
[`9f62ecec4d422`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9f62ecec4d422) -
Update dependencies.
## 16.2.0
### Minor Changes
- [#102000](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102000)
[`3e1546043c1c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3e1546043c1c3) -
We are testing adding year buttons to the calendar behind a feature flag. If this fix is
successful it will be available in a later release.
## 16.1.1
### Patch Changes
- Updated dependencies
## 16.1.0
### Minor Changes
- [#176231](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/176231)
[`f5dff1c78dbb4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f5dff1c78dbb4) -
Migrated from primitives components to primitives/compiled components
## 16.0.0
### Major Changes
- [#177508](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/177508)
[`a58e08c43671b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a58e08c43671b) -
Migrated from `@emotion/react` to `@compiled/react` in order to improve performance, align with
the rest of the Atlaskit techstack, and support React 18 Streaming SSR.
Please note, in order to use this version of `@atlaskit/calendar`, you will need to ensure that
your bundler is configured to handle `.css` imports correctly. Most bundlers come with built-in
support for `.css` imports, so you may not need to do anything. If you are using a different
bundler, please refer to the documentation for that bundler to understand how to handle `.css`
imports.
For more information on the migration, please refer to
[RFC-73 Migrating our components to Compiled CSS-in-JS](https://community.developer.atlassian.com/t/rfc-73-migrating-our-components-to-compiled-css-in-js/85953).
## 15.1.3
### Patch Changes
- Updated dependencies
## 15.1.2
### Patch Changes
- Updated dependencies
## 15.1.1
### Patch Changes
- [#166026](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/166026)
[`962b5e77810fb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/962b5e77810fb) -
Adds side-effect config to support Compiled css extraction in third-party apps
- Updated dependencies
## 15.1.0
### Minor Changes
- [#157307](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157307)
[`a1e80ec0a5e4a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a1e80ec0a5e4a) -
Enable new icons behind a feature flag.
## 15.0.5
### Patch Changes
- Updated dependencies
## 15.0.4
### Patch Changes
- Updated dependencies
## 15.0.3
### Patch Changes
- Updated dependencies
## 15.0.2
### Patch Changes
- [#148281](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/148281)
[`3c4de48168ffe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3c4de48168ffe) -
Update the import path of `useId*` from `@atlaskit/ds-lib`
- Updated dependencies
## 15.0.1
### Patch Changes
- Updated dependencies
## 15.0.0
### Major Changes
- [#136647](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136647)
[`a3f810c087f5d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a3f810c087f5d) -
Remove `calendarRef` prop. This has been included as a legacy prop but is no longer in use within
Atlassian.
## 14.5.2
### Patch Changes
- Updated dependencies
## 14.5.1
### Patch Changes
- Updated dependencies
## 14.5.0
### Minor Changes
- [#127511](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/127511)
[`db30e29344013`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/db30e29344013) -
Widening range of `react` and `react-dom` peer dependencies from `^16.8.0 || ^17.0.0 || ~18.2.0`
to the wider range of ``^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).
This change has been done to enable usage of `react@18.3` as well as to have a consistent peer
dependency range for `react` and `react-dom` for `/platform` packages.
### Patch Changes
- Updated dependencies
## 14.4.2
### Patch Changes
- Updated dependencies
## 14.4.1
### Patch Changes
- Updated dependencies
## 14.4.0
### Minor Changes
- [`974d1508085ce`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/974d1508085ce) -
Add a new prop `shouldSetFocusOnCurrentDay` to automatically set the focus to the current day.
## 14.3.6
### Patch Changes
- Updated dependencies
## 14.3.5
### Patch Changes
- Updated dependencies
## 14.3.4
### Patch Changes
- Updated dependencies
## 14.3.3
### Patch Changes
- Updated dependencies
## 14.3.2
### Patch Changes
- Updated dependencies
## 14.3.1
### Patch Changes
- Updated dependencies
## 14.3.0
### Minor Changes
- [#111878](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111878)
[`223959ef57c80`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/223959ef57c80) -
Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
is implicitly set to automatic.
### Patch Changes
- Updated dependencies
## 14.2.2
### Patch Changes
- Updated dependencies
## 14.2.1
### Patch Changes
- Updated dependencies
## 14.2.0
### Minor Changes
- [#90213](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90213)
[`aa06d98a6384`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/aa06d98a6384) -
Add support for React 18 in non-strict mode.
## 14.1.0
### Minor Changes
- [#88752](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88752)
[`c164ec1faceb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c164ec1faceb) -
[ux] Internal changes to typography, small visual change to calendar week header text.
## 14.0.13
### Patch Changes
- [#84135](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84135)
[`87ddd92e0265`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/87ddd92e0265) -
[ux] Unnecessary tab stop for keyboard users removed.
## 14.0.12
### Patch Changes
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
Upgrade Typescript from `4.9.5` to `5.4.2`
## 14.0.11
### Patch Changes
- Updated dependencies
## 14.0.10
### Patch Changes
- Updated dependencies
## 14.0.9
### Patch Changes
- Updated dependencies
## 14.0.8
### Patch Changes
- [#72130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72130)
[`b037e5451037`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b037e5451037) -
Update new button text color fallback for default theme (non-token) to match that of old button
current text color
- Updated dependencies
## 14.0.7
### Patch Changes
- Updated dependencies
## 14.0.6
### Patch Changes
- [#65872](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65872)
[`42fb30840f3c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/42fb30840f3c) -
[ux] Migrate buttons in Calendar to consume new icon buttons.
- Updated dependencies
## 14.0.5
### Patch Changes
- [#63677](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63677)
[`f320c8ce5039`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f320c8ce5039) -
This package has been added to the Jira push model.
## 14.0.4
### Patch Changes
- Updated dependencies
## 14.0.3
### Patch Changes
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
## 14.0.2
### Patch Changes
- [#58458](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58458)
[`536478cdcf0b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/536478cdcf0b) -
Made some tiny tweaks to the weekday header so its height is now an integer.
## 14.0.1
### Patch Changes
- Updated dependencies
## 14.0.0
### Major Changes
- [#41791](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41791)
[`ec7c2a38247`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec7c2a38247) - Removed
all remaining legacy theming logic from the Calendar, Form, InlineDialog, InlineEdit and
InlineMessage components.
## 13.3.3
### Patch Changes
- [#42445](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42445)
[`5645b5a1132`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5645b5a1132) - Fix TS
errors for forge-ui in AFM
## 13.3.2
### Patch Changes
- Updated dependencies
## 13.3.1
### Patch Changes
- [#39443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39443)
[`75b9f4664c6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/75b9f4664c6) - [ux]
Hide weekday header row from assistive technologies.
## 13.3.0
### Minor Changes
- [#39246](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39246)
[`26825f14d51`](https://bitbucket.org/atlassian/atlassian-frontend/commits/26825f14d51) - [ux]
This adds greater keyboard accessibility to calendar, and removes the feature flag that gated this
change.
## 13.2.2
### Patch Changes
- [#38521](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38521)
[`ceedd1f27df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ceedd1f27df) - [ux]
Ensures month/year does not render as live region until it has changed or has otherwise been
interacted with for better usability. Part of feature flag for keyboard accessibility.
## 13.2.1
### Patch Changes
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
[`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
version.json
- Updated dependencies
## 13.2.0
### Minor Changes
- [#38403](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38403)
[`b5716b91b31`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b5716b91b31) - [ux] We
are testing adding keyboard accessibility for Calendar behind a feature flag. This will add more
affordances for users of assistive technologies to use the calendar, and updates the `tabIndex`
prop to only use recommended values. If this fix is successful it will be available in a later
release.
## 13.1.17
### Patch Changes
- [#37611](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37611)
[`0ed39bbcb73`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ed39bbcb73) - [ux]
correct fallback color of focused state to meet contrast requirement
## 13.1.16
### Patch Changes
- [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533)
[`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated
dependencies
## 13.1.15
### Patch Changes
- [#37278](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37278)
[`3fadbb8bf73`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fadbb8bf73) - Internal
changes.
## 13.1.14
### Patch Changes
- [#36412](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36412)
[`7e4085cd951`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e4085cd951) - Allow
caret version range in @atlaskit/primitives dependency.
## 13.1.13
### Patch Changes
- Updated dependencies
## 13.1.12
### Patch Changes
- Updated dependencies
## 13.1.11
### Patch Changes
- Updated dependencies
## 13.1.10
### Patch Changes
- [#35712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35712)
[`76d4d797a2d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76d4d797a2d) - Updates
calendar for primitives bump.
- Updated dependencies
## 13.1.9
### Patch Changes
- Updated dependencies
## 13.1.8
### Patch Changes
- [#35337](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35337)
[`529814693a1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/529814693a1) - Pin
version of @atlaskit/primitives so it resolves to correct version
## 13.1.7
### Patch Changes
- [#33833](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33833)
[`b8b41649492`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8b41649492) - Update
how certain background colors are referenced by name. Internal changes only.
- Updated dependencies
## 13.1.6
### Patch Changes
- [#34922](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34922)
[`779727e307a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/779727e307a) - Internal
change only. Replace all instances of Box with stable @atlaskit/primitives version.
## 13.1.5
### Patch Changes
- Updated dependencies
## 13.1.4
### Patch Changes
- [#34881](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34881)
[`774ed69ecef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/774ed69ecef) - Internal
changes to use space tokens for spacing values. There is no visual change.
## 13.1.3
### Patch Changes
- [#34727](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34727)
[`74fec133d99`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74fec133d99) - [ux] Add
proper grid roles to calendar.
## 13.1.2
### Patch Changes
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
legacy types are published for TS 4.5-4.8
## 13.1.1
### Patch Changes
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
Typescript from `4.5.5` to `4.9.5`
## 13.1.0
### Minor Changes
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
minor dependency bump
### Patch Changes
- Updated dependencies
## 13.0.14
### Patch Changes
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
remove before merging to master; dupe adf-schema via adf-utils
## 13.0.13
### Patch Changes
- Updated dependencies
## 13.0.12
### Patch Changes
- Updated dependencies
## 13.0.11
### Patch Changes
- [#31891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31891)
[`70922a6fcea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70922a6fcea) - [ux]
style(calendar): update icon fallback color from N70 to N700 to match tokens and fix color
contrast issue
- [`c0fb88b3af6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0fb88b3af6) - [ux]
style(calendar): update icon color token from text.subtlest to color.icon
## 13.0.10
### Patch Changes
- Updated dependencies
## 13.0.9
### Patch Changes
- Updated dependencies
## 13.0.8
### Patch Changes
- Updated dependencies
## 13.0.7
### Patch Changes
- [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242)
[`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal
change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
## 13.0.6
### Patch Changes
- [#31041](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31041)
[`842bb999a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/842bb999a85) - Internal
change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
## 13.0.5
### Patch Changes
- [#30882](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30882)
[`1fc7949b336`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1fc7949b336) - [ux]
Fixes a bug where the background for the calendar element was incorrectly set to
'elevation.surface'
## 13.0.4
### Patch Changes
- Updated dependencies
## 13.0.3
### Patch Changes
- [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634)
[`22b754d311f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22b754d311f) - Updates
usage of removed design token `utilities.UNSAFE_util.transparent` in favour of its replacement
`utilities.UNSAFE.transparent`
- Updated dependencies
## 13.0.2
### Patch Changes
- [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891)
[`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated
usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are
no visual or behaviour changes.
- Updated dependencies
## 13.0.1
### Patch Changes
- [#28064](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28064)
[`b0f6dd0bc35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0f6dd0bc35) - Updated
to use typography tokens. There is no expected behaviour or visual change.
## 13.0.0
### Major Changes
- [#28165](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28165)
[`642298a54dc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/642298a54dc) - Major
changes:
- Removing support for legacy dark mode.
Minor changes:
- Removal of row containers in day of month grid.
- Vertically center heading inside the calendar.
- Minor changes to visual layout to conform to design system tokens.
- Composition change of DOM elements in day of week header.
- Remove hardcoded `width: 289px`. Calendar now fills natural width of content.
### Patch Changes
- Updated dependencies
## 12.4.5
### Patch Changes
- Updated dependencies
## 12.4.4
### Patch Changes
- Updated dependencies
## 12.4.3
### Patch Changes
- Updated dependencies
## 12.4.2
### Patch Changes
- [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488)
[`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal
changes to apply spacing tokens. This should be a no-op change.
## 12.4.1
### Patch Changes
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
Typescript from `4.3.5` to `4.5.5`
## 12.4.0
### Minor Changes
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
[`764726e020b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/764726e020b) - Updates
`@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
### Patch Changes
- Updated dependencies
## 12.3.2
### Patch Changes
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
Typescript from `4.2.4` to `4.3.5`.
## 12.3.1
### Patch Changes
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
[`124a1b7532b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/124a1b7532b) - Remove
calendar's background when design tokens are provided, to allow calendar to match the color of any
surface in light or dark mode
- [`6bf81ead961`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6bf81ead961) - Internal
code change turning on new linting rules.
- Updated dependencies
## 12.3.0
### Minor Changes
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
[`e1e33cfe0db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e1e33cfe0db) - [ux]
Adds tabIndex prop for `@atlaskit/calendar`, useful when needing to disable calendar from
receiving focus by keyboard.
## 12.2.0
### Minor Changes
- [#22029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22029)
[`6f7a4353204`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6f7a4353204) - Added
ability to provide custom aria-labels for next- and previous-month buttons using `nextMonthLabel`
and `previousMonthLabel`
### Patch Changes
- Updated dependencies
## 12.1.14
### Patch Changes
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
[`c8c7eec9fb8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c8c7eec9fb8) - [ux]
Updates tokens used for selected hovered state
## 12.1.13
### Patch Changes
- Updated dependencies
## 12.1.12
### Patch Changes
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
to TypeScript 4.2.4
- Updated dependencies
## 12.1.11
### Patch Changes
- Updated dependencies
## 12.1.10
### Patch Changes
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
[`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates
all usage of brand tokens to either selected or information tokens. This change is purely for
semantic reasons, there are no visual or behavioural changes.
- Updated dependencies
## 12.1.9
### Patch Changes
- Updated dependencies
## 12.1.8
### Patch Changes
- Updated dependencies
## 12.1.7
### Patch Changes
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates
usage of deprecated token names so they're aligned with the latest naming conventions. No UI or
visual changes
- Updated dependencies
## 12.1.6
### Patch Changes
- Updated dependencies
## 12.1.5
### Patch Changes
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
for this package now pass through a tokens babel plugin, removing runtime invocations of the
tokens() function and improving bundle size.
- Updated dependencies
## 12.1.4
### Patch Changes
- Updated dependencies
## 12.1.3
### Patch Changes
- [#15531](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15531)
[`192d35cfdbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/192d35cfdbd) - Defaults
native button usage to type="button" to prevent unintended submittig of forms.
- [`f7d71a9ba09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7d71a9ba09) - Replaces
visually hidden styles in component to instead use '@atlaskit/visually-hidden'.
## 12.1.2
### Patch Changes
- Updated dependencies
## 12.1.1
### Patch Changes
- Updated dependencies
## 12.1.0
### Minor Changes
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
[`89c0316aa2c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/89c0316aa2c) -
Instrumented Calendar with the new theming package, `@atlaskit/tokens`. Tokens will be visible
only in applications configured to use the new Tokens API (currently in alpha).These changes are
intended to be interoperable with the legacy theme implementation. Legacy dark mode users should
expect no visual or breaking changes.
### Patch Changes
- [`2d7cc544696`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d7cc544696) - Updates
token usage to match the latest token set
- Updated dependencies
## 12.0.3
### Patch Changes
- Updated dependencies
## 12.0.2
### Patch Changes
- [#9328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9328)
[`414b6216adf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/414b6216adf) - Upgrade
date-fns to ^2.17
## 12.0.1
### Patch Changes
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
`@atlaskit/theme` to version `^11.3.0`.
## 12.0.0
### Major Changes
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328)
[`4ab5a7e9069`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ab5a7e9069) - ###
Major:
Removes `defaultDisabled` prop, a stateless/uncontrolled variant of the `disabled` prop. As a
stateless calendar would never change its disabled dates, this prop was unnecessary.
### New Features:
Adds three props to make disabling dates more practical, performant and expressive in
`@atlaskit/calendar`. These features are also available for DatePicker:
- `minDate` for the minimum valid date
- `maxDate` for the maximum valid date
- `disabledDateFilter`, a function that takes a date string, and returns whether or not it should
be disabled.
### Bugs
- Disabled dates that lie outside of the currently selected month now have correct hover styles
### Patch Changes
- Updated dependencies
## 11.1.1
### Patch Changes
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
[`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates
to development dependency `storybook-addon-performance`
## 11.1.0
### Minor Changes
- [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230)
[`d872280cff1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d872280cff1) - Calendar
now exports a `WeekDay` type. This is the type used by the `weekStartDay` prop.
### Patch Changes
- Updated dependencies
## 11.0.1
### Patch Changes
- [#9756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9756)
[`4eb2615652c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4eb2615652c) - Internal
refactor to use common utils.
- Updated dependencies
## 11.0.0
### Major Changes
- [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
[`8ed4c2efc42`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8ed4c2efc42) - In this
version we made calendar dramatically faster and lighter 🤩
- General performance improvements
- Moved from using tables to CSS grid to display the days
- Removed unnecessary DOM elements
- The `className` and `style` props have been added
- **BREAKING** The `innerProps` prop has been removed, generally consumers have only used this for
style props which are now available directly
**Running the codemod cli**
To run the codemod: **You first need to have the latest version installed**
```bash
yarn upgrade @atlaskit/calendar@^11.0.0
```
Once upgraded, use `@atlaskit/codemod-cli` via `npx`:
```bash
npx @atlaskit/codemod-cli --parser babel --extensions ts,tsx,js [relativePath]
```
The CLI will show a list of components and versions so select `@atlaskit/calendar@^11.0.0` and you
will automatically be upgraded. If your usage of calendar cannot be upgraded a comment will be
left that a manual change is required.
Run `npx @atlaskit/codemod-cli -h` for more details on usage. For Atlassians, refer to the
[documentation](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more
details on the codemod CLI.
### Patch Changes
- [`c119fdd32e7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c119fdd32e7) - Internal
change to update usage of the custom `glyph` prop in @atlaskit/icon.
- Updated dependencies
## 10.3.3
### Patch Changes
- [#9299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9299)
[`471e2431a7c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/471e2431a7c) -
Downgrade back to date-fns 1.30.1 We discovered big bundle size increases associated with the
date-fns upgrade. We're reverting the upgarde to investigate
## 10.3.2
### Patch Changes
- [#8291](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8291)
[`70f0701c2e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70f0701c2e6) - Upgrade
date-fns to 2.17
## 10.3.1
### Patch Changes
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
[`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
injected package name and version for analytics instead of version.json.
- [`42785088a12`](https://bitbucket.org/atlassian/atlassian-frontend/commits/42785088a12) - -
Migrate old entry points to new one. Calendar now has only following exports:
- **default export**. Can be imported like:
- `import Calendar from '@atlaskit/calendar'`
- **named type exports** (`CalendarProps`, `ChangeEvent`, `SelectEvent`). Can be imported like:
- `import { CalendarProps, ChangeEvent, SelectEvent } from '@atlaskit/calendar'`
- `import { CalendarProps, ChangeEvent, SelectEvent } from '@atlaskit/calendar/types'`.
**Internal change**
- Remove reference of private types and props from the documentation. Right now private type is
`CalendarInternalRef` and private prop is `calendarRef`.
- Rename calendar exported private ref type from `CalendarInternalRef` to `CalendarRef`.
- Rename calendar private prop from `internalRef` to `calendarRef`.
- [`f74ba30c53c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f74ba30c53c) -
**Internal change**
- We have improved re-rendering quite a bit by memoizing components, loops and rendered elements.
- Duplicate "pad-to-two" util has been removed.
- Refactored few variables/functions/types.
- Extracted out few components for readability purpose.
- Updated dependencies
## 10.3.0
### Minor Changes
- [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178)
[`d069f7834ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d069f7834ef) - Calendar
now accepts a `weekStartDay` prop that controls which day of the week should be used at the start.
This prop accepts the following values:
- `0` sunday (default value)
- `1` monday
- `2` tuesday
- `3` wednesday
- `4` thursday
- `5` friday
- `6` saturday
- [`ccde1b6b939`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ccde1b6b939) - Convert
all styles of Calendar from styled-components to emotion CSS and apply different styles via
data-attributes. Internally theme mode is now accessed via Global theme context and used to
generate colors.
- [`e20f4c2806e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e20f4c2806e) -
Improvement in internal analytics performance
**Dev changes**
- Migrated from `@atlaskit/analytics-next` React HOC to React hooks. This improved re-rendering
quite a bit.
### Patch Changes
- [`aedbf4ed383`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aedbf4ed383) -
**Internal change**
We have removed [calendar-base](https://www.npmjs.com/package/calendar-base) dependency which was
not maintained for quite sometime and moved its logic internally. This will help us fixing any
issue we might get or any new functionality we might want to support.
- Updated dependencies
## 10.2.0
### Minor Changes
- [#8029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8029)
[`4dae77b2678`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4dae77b2678) - Calendar
now accepts a `weekStartDay` prop that controls which day of the week should be used at the start.
This prop accepts the following values:
- `0` sunday (default value)
- `1` monday
- `2` tuesday
- `3` wednesday
- `4` thursday
- `5` friday
- `6` saturday
### Patch Changes
- Updated dependencies
## 10.1.0
### Minor Changes
- [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
[`985961ce983`](https://bitbucket.org/atlassian/atlassian-frontend/commits/985961ce983) - Internal
change from class to function components
- We have converted all the components from class to functional. This improved performance quite a
bit. Initial rendering, hydration, interaction, bundlesize and re-rendering; all have been
improved.
- We have made all the prop typings optional now. Earlier they were not aligned with the prop
values (which were all optional earlier).
- We have stopped exporting internal `CalendarClassType` and `ArrowKeys` types which were not
compatible with functional components. Instead we have exported `CalendarInternalRef` type
temporarily for backward compatibility and a new optional prop `internalRef` which consumers can
use to access internal api's. Right now only `@atlaskit/datetime-picker` uses `navigate()` api
for navigation which will be removed soon. This new type and prop are not recommended. So please
don't use them.
- We have also exported a new type `SelectEvent` along with already exported `ChangeEvent`, which
consumers can use with `onSelect` and `onChange` prop.
- We have also added `ref` support which points to the top level element. Earlier it was not
officially supported.
- Dev changes includes: folder restructuring and cleanup, lodash removal, memoizing components
etc.
## 10.0.10
### Patch Changes
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
packages using babel rather than tsc
## 10.0.9
### Patch Changes
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
`devDependencies` to denote version that the package was built with.
## 10.0.8
### Patch Changes
- Updated dependencies
## 10.0.7
### Patch Changes
- [#5164](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5164)
[`2ac834240e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ac834240e) - Undo
analytics-next file restructure to allow external ts definitions to continue working
## 10.0.6
### Patch Changes
- Updated dependencies
## 10.0.5
### Patch Changes
- [#4649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4649)
[`b284fba3d1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b284fba3d1) - Components
that had missing names are now fixed - this helps when looking for them using the React Dev Tools.
## 10.0.4
### Patch Changes
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707)
[`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable
integration tests for Edge browser
## 10.0.3
### Patch Changes
- [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424)
[`8598d0bd13`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8598d0bd13) - Remove
unnecessary code and tests for IE11.
- Updated dependencies
## 10.0.2
### Patch Changes
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
to TypeScript 3.9.6 and tslib to 2.0.0
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
upgrade to prevent duplicates of tslib being bundled.
## 10.0.1
### Patch Changes
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
[`6262f382de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6262f382de) - Use the
'lodash' package instead of single-function 'lodash.\*' packages
- Updated dependencies
## 10.0.0
### Major Changes
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
dropping IE11 support, from this version onwards there are no warranties of the package working in
IE11. For more information see:
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
### Patch Changes
- Updated dependencies
## 9.2.10
### Patch Changes
- [#2443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2443)
[`69643331c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/69643331c3) - Prevent
day names table header from wrapping into two line
## 9.2.9
### Patch Changes
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and
supporting files will no longer be published to npm
## 9.2.8
### Patch Changes
- Updated dependencies
## 9.2.7
### Patch Changes
- [patch][62390c4755](https://bitbucket.org/atlassian/atlassian-frontend/commits/62390c4755):
Change imports to comply with Atlassian conventions- Updated dependencies
[6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
- Updated dependencies
[449ef134b3](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ef134b3):
- Updated dependencies
[57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
- Updated dependencies
[6efb12e06d](https://bitbucket.org/atlassian/atlassian-frontend/commits/6efb12e06d):
- Updated dependencies
[fd41d77c29](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd41d77c29):
- @atlaskit/button@13.3.11
- @atlaskit/icon@20.1.1
- @atlaskit/select@11.0.10
- @atlaskit/webdriver-runner@0.3.4
## 9.2.6
### Patch Changes
- Updated dependencies
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
- Updated dependencies
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
- Updated dependencies
[64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
- Updated dependencies
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
- Updated dependencies
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
- Updated dependencies
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
- Updated dependencies
[109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
- Updated dependencies
[c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
- @atlaskit/docs@8.4.0
- @atlaskit/icon@20.1.0
- @atlaskit/webdriver-runner@0.3.0
- @atlaskit/button@13.3.9
- @atlaskit/select@11.0.9
## 9.2.5
### Patch Changes
- Updated dependencies
[e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
- @atlaskit/webdriver-runner@0.2.0
- @atlaskit/button@13.3.8
- @atlaskit/select@11.0.8
## 9.2.4
### Patch Changes
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
- @atlaskit/docs@8.3.2
- @atlaskit/analytics-next@6.3.5
- @atlaskit/button@13.3.7
- @atlaskit/icon@20.0.1
- @atlaskit/select@11.0.7
- @atlaskit/theme@9.5.1
- @atlaskit/locale@1.0.5
## 9.2.3
### Patch Changes
- Updated dependencies
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
- @atlaskit/icon@20.0.0
- @atlaskit/locale@1.0.4
- @atlaskit/docs@8.3.1
- @atlaskit/button@13.3.6
- @atlaskit/select@11.0.6
## 9.2.2
### Patch Changes
- [patch][36f6e99c5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36f6e99c5b):
Fix type errors caused when generating declaration files
## 9.2.1
- Updated dependencies
[30acc30979](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/30acc30979):
- @atlaskit/select@11.0.0
- @atlaskit/button@13.3.4
- @atlaskit/locale@1.0.2
## 9.2.0
### Minor Changes
- [minor][7fe4bcf86d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7fe4bcf86d):
Adding an optional prop `testId` that will set the attribute value `data-testid`. It will help
products to write better integration and end to end tests.
## 9.1.1
### Patch Changes
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
## 9.1.0
### Minor Changes
- [minor][cc42bbc6ad](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc42bbc6ad):
Exporting type of Calendar class and some components are relying on it
## 9.0.1
### Patch Changes
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
## 9.0.0
### Major Changes
- [major][8c725d46ec](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8c725d46ec):
@atlaskit/calendar has been converted to Typescript. Typescript consumers will now get static type
safety. Flow types are no longer provided. No API or behavioural changes.
## 8.1.0
### Minor Changes
- [minor][e3d466543f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e3d466543f):
Add locale support for Calendar/DateTimePicker/DatePicker/TimePicker:
- New prop `locale` enables localization for date/time format in `DatePicker`, `TimePicker` and
`DateTimePicker`, and months/days in `Calendar`.
- Deprecated `dateFormat`, `timeFormat` and `formatDisplayLabel` props. Please use `locale`
instead. If provided, these props will override `locale`.
- Default date/time placeholders now use `locale` to format the date.
- The default date parser for `DatePicker` has been changed from `date-fns.parse` to one based on
the `locale` prop and accept text in a format that matches the placeholder.
## 8.0.10
### Patch Changes
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
non-relative imports as relative imports
## 8.0.9
### Patch Changes
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
Upgraded Typescript to 3.3.x
## 8.0.8
### Patch Changes
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
Change all the imports to theme in Core to use multi entry points
## 8.0.7
### Patch Changes
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
Updates component maintainers
## 8.0.6
- Updated dependencies
[926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
- @atlaskit/analytics-next@6.0.0
- @atlaskit/button@13.1.2
## 8.0.5
### Patch Changes
- [patch][ebfeb03eb7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ebfeb03eb7):
popper has been converted to Typescript. Typescript consumers will now get static type safety.
Flow types are no longer provided. No API or behavioural changes.
## 8.0.4
### Patch Changes
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
Consume analytics-next ts type definitions as an ambient declaration.
## 8.0.3
- Updated dependencies
[06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7):
- @atlaskit/docs@8.1.3
- @atlaskit/button@13.0.9
- @atlaskit/icon@19.0.0
## 8.0.2
### Patch Changes
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
index.ts will now be ignored when publishing to npm
## 8.0.1
- Updated dependencies
[cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3):
- @atlaskit/docs@8.1.2
- @atlaskit/button@13.0.8
- @atlaskit/icon@18.0.0
## 8.0.0
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
this package, please ensure you use at least this version of react and react-dom.
## 7.0.22
- Updated dependencies
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
- @atlaskit/docs@7.0.3
- @atlaskit/button@12.0.3
- @atlaskit/icon@16.0.9
- @atlaskit/theme@8.1.7
## 7.0.21
- Updated dependencies
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
- @atlaskit/docs@7.0.2
- @atlaskit/analytics-next@4.0.3
- @atlaskit/icon@16.0.8
- @atlaskit/theme@8.1.6
- @atlaskit/button@12.0.0
## 7.0.20
- Updated dependencies
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
- @atlaskit/docs@7.0.1
- @atlaskit/analytics-next@4.0.1
- @atlaskit/icon@16.0.5
- @atlaskit/theme@8.0.1
- @atlaskit/button@11.0.0
## 7.0.19
- [patch][f8cf9e271e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f8cf9e271e):
- Internal changes only. Calendar is now ssr-friendly.
## 7.0.18
- Up