@atlaskit/radio
Advanced tools
Comparing version 6.1.3 to 6.2.0
1035
CHANGELOG.md
# @atlaskit/radio | ||
## 6.2.0 | ||
### Minor Changes | ||
- [#93965](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93965) | ||
[`9399fbaa016c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9399fbaa016c) - | ||
Add support for React 18. | ||
## 6.1.3 | ||
@@ -7,3 +15,5 @@ | ||
- [#90003](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90003) [`31fa4f46303a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/31fa4f46303a) - Internal changes to typography, no visual change. | ||
- [#90003](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90003) | ||
[`31fa4f46303a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/31fa4f46303a) - | ||
Internal changes to typography, no visual change. | ||
@@ -14,3 +24,5 @@ ## 6.1.2 | ||
- [#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` | ||
- [#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` | ||
@@ -21,3 +33,5 @@ ## 6.1.1 | ||
- [#81644](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81644) [`8ab7a816dca7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ab7a816dca7) - Revert input border change from the previous version | ||
- [#81644](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81644) | ||
[`8ab7a816dca7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ab7a816dca7) - | ||
Revert input border change from the previous version | ||
@@ -28,7 +42,10 @@ ## 6.1.0 | ||
- [#80805](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80805) [`427c2dd9e0d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/427c2dd9e0d6) - [ux] update border with from 2px to 1px with darker color to meet 3:1 color contrast for accessibility improvement | ||
- [#80805](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80805) | ||
[`427c2dd9e0d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/427c2dd9e0d6) - | ||
[ux] update border with from 2px to 1px with darker color to meet 3:1 color contrast for | ||
accessibility improvement | ||
### Patch Changes | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -39,3 +56,6 @@ ## 6.0.3 | ||
- [#78598](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78598) [`cabae83473c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cabae83473c3) - [ux] Improved visibility of focus styles by adding a gap between the radio and focus ring. This makes the focus ring easier to distinguish to a selected radio, which is also blue. | ||
- [#78598](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78598) | ||
[`cabae83473c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cabae83473c3) - | ||
[ux] Improved visibility of focus styles by adding a gap between the radio and focus ring. This | ||
makes the focus ring easier to distinguish to a selected radio, which is also blue. | ||
@@ -46,3 +66,5 @@ ## 6.0.2 | ||
- [#71177](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71177) [`a82da4c52cfb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a82da4c52cfb) - Fix type bug where 'crossOrigin' appeared as a required prop for Radio | ||
- [#71177](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71177) | ||
[`a82da4c52cfb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a82da4c52cfb) - | ||
Fix type bug where 'crossOrigin' appeared as a required prop for Radio | ||
@@ -53,3 +75,6 @@ ## 6.0.1 | ||
- [#61610](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61610) [`6b5d817a38e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b5d817a38e9) - Expose a `testId` on `RadioGroup`. This applies `data-testid` to the root level element, as well as propagates the value to `Radio` children. | ||
- [#61610](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61610) | ||
[`6b5d817a38e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b5d817a38e9) - | ||
Expose a `testId` on `RadioGroup`. This applies `data-testid` to the root level element, as well | ||
as propagates the value to `Radio` children. | ||
@@ -60,3 +85,6 @@ ## 6.0.0 | ||
- [#41866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41866) [`ed8b6957789`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed8b6957789) - Removes any usage of deprecated legacy theming APIs. These have been superseeded by design tokens. | ||
- [#41866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41866) | ||
[`ed8b6957789`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed8b6957789) - | ||
Removes any usage of deprecated legacy theming APIs. These have been superseeded by design | ||
tokens. | ||
@@ -67,3 +95,5 @@ ## 5.6.10 | ||
- [#39802](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39802) [`d6eab5e857c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6eab5e857c) - Fix loose inequality check in determining if a radio button is checked or not. | ||
- [#39802](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39802) | ||
[`d6eab5e857c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6eab5e857c) - Fix | ||
loose inequality check in determining if a radio button is checked or not. | ||
@@ -74,3 +104,5 @@ ## 5.6.9 | ||
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731) [`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete version.json | ||
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731) | ||
[`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete | ||
version.json | ||
@@ -81,3 +113,5 @@ ## 5.6.8 | ||
- [#37455](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37455) [`931210a5b65`](https://bitbucket.org/atlassian/atlassian-frontend/commits/931210a5b65) - use new feature flag for border contrast update | ||
- [#37455](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37455) | ||
[`931210a5b65`](https://bitbucket.org/atlassian/atlassian-frontend/commits/931210a5b65) - use | ||
new feature flag for border contrast update | ||
@@ -88,3 +122,6 @@ ## 5.6.7 | ||
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing. | ||
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) | ||
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use | ||
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility | ||
testing. | ||
@@ -95,3 +132,5 @@ ## 5.6.6 | ||
- [#36664](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36664) [`2e1fa43ac4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e1fa43ac4b) - update border width to use border spacing token | ||
- [#36664](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36664) | ||
[`2e1fa43ac4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e1fa43ac4b) - update | ||
border width to use border spacing token | ||
@@ -102,3 +141,5 @@ ## 5.6.5 | ||
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441) [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change. | ||
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441) | ||
[`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - | ||
Internal change to use shape tokens. There is no expected visual change. | ||
@@ -109,3 +150,5 @@ ## 5.6.4 | ||
- [#35111](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35111) [`8f436f0c301`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f436f0c301) - extend border contrast feature flag to support confluence | ||
- [#35111](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35111) | ||
[`8f436f0c301`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f436f0c301) - extend | ||
border contrast feature flag to support confluence | ||
@@ -116,3 +159,7 @@ ## 5.6.3 | ||
- [#35194](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35194) [`53ffecf71cb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/53ffecf71cb) - Updated selected radio to use `color.background.selected.bold` instead of `color.background.brand.bold`. There's no visual change as these tokens have same hex value in both light and dark mode. | ||
- [#35194](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35194) | ||
[`53ffecf71cb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/53ffecf71cb) - | ||
Updated selected radio to use `color.background.selected.bold` instead of | ||
`color.background.brand.bold`. There's no visual change as these tokens have same hex value in | ||
both light and dark mode. | ||
@@ -123,3 +170,6 @@ ## 5.6.2 | ||
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935) [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change. | ||
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935) | ||
[`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - | ||
Internal change to enforce token usage for spacing properties. There is no expected visual or | ||
behaviour change. | ||
@@ -130,3 +180,5 @@ ## 5.6.1 | ||
- [#34124](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34124) [`77766ad157d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/77766ad157d) - Enrol packages to push-model consumption in Jira. | ||
- [#34124](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34124) | ||
[`77766ad157d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/77766ad157d) - Enrol | ||
packages to push-model consumption in Jira. | ||
@@ -137,3 +189,5 @@ ## 5.6.0 | ||
- [#33476](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33476) [`b257978b66a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b257978b66a) - [ux] reduce the border from 2px to 1px | ||
- [#33476](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33476) | ||
[`b257978b66a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b257978b66a) - [ux] | ||
reduce the border from 2px to 1px | ||
@@ -144,3 +198,5 @@ ## 5.5.2 | ||
- [#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 | ||
- [#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 | ||
@@ -151,3 +207,5 @@ ## 5.5.1 | ||
- [#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` | ||
- [#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` | ||
@@ -158,7 +216,9 @@ ## 5.5.0 | ||
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump | ||
- [#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 | ||
- Updated dependencies | ||
@@ -169,3 +229,3 @@ ## 5.4.9 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -176,3 +236,3 @@ ## 5.4.8 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -183,3 +243,5 @@ ## 5.4.7 | ||
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390) [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change. | ||
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390) | ||
[`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - | ||
Internal change to update token references. There is no expected behaviour or visual change. | ||
@@ -190,4 +252,8 @@ ## 5.4.6 | ||
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`22d4be4674b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22d4be4674b) - Fixes issue where disabled radios were using the wrong background and border tokens | ||
- [`8e6acf8f038`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8e6acf8f038) - Updates tokens used for border and dot, improved tokens appearance when radio is both checked and disabled | ||
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) | ||
[`22d4be4674b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22d4be4674b) - Fixes | ||
issue where disabled radios were using the wrong background and border tokens | ||
- [`8e6acf8f038`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8e6acf8f038) - | ||
Updates tokens used for border and dot, improved tokens appearance when radio is both checked | ||
and disabled | ||
@@ -198,3 +264,3 @@ ## 5.4.5 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -205,3 +271,3 @@ ## 5.4.4 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -212,3 +278,3 @@ ## 5.4.3 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -219,3 +285,5 @@ ## 5.4.2 | ||
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303) [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components. | ||
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303) | ||
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op | ||
change to introduce spacing tokens to design system components. | ||
@@ -226,3 +294,5 @@ ## 5.4.1 | ||
- [#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` | ||
- [#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` | ||
@@ -233,7 +303,9 @@ ## 5.4.0 | ||
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`54a5b7576a6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a5b7576a6) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change. | ||
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) | ||
[`54a5b7576a6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a5b7576a6) - | ||
Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change. | ||
### Patch Changes | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -244,3 +316,5 @@ ## 5.3.13 | ||
- [#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`. | ||
- [#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`. | ||
@@ -251,5 +325,8 @@ ## 5.3.12 | ||
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`72cfbe1a536`](https://bitbucket.org/atlassian/atlassian-frontend/commits/72cfbe1a536) - Internal code change turning on new linting rules. | ||
- [`fe575d49d66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe575d49d66) - Updated styles to use new input design tokens | ||
- Updated dependencies | ||
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) | ||
[`72cfbe1a536`](https://bitbucket.org/atlassian/atlassian-frontend/commits/72cfbe1a536) - | ||
Internal code change turning on new linting rules. | ||
- [`fe575d49d66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe575d49d66) - | ||
Updated styles to use new input design tokens | ||
- Updated dependencies | ||
@@ -260,3 +337,3 @@ ## 5.3.11 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -267,3 +344,5 @@ ## 5.3.10 | ||
- [#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 | ||
- [#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 | ||
@@ -274,3 +353,3 @@ ## 5.3.9 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -281,3 +360,3 @@ ## 5.3.8 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -288,3 +367,3 @@ ## 5.3.7 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -295,5 +374,10 @@ ## 5.3.6 | ||
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids. | ||
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids. | ||
- Updated dependencies | ||
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) | ||
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The | ||
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when | ||
auto-fixing by correctly formatting token ids. | ||
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The | ||
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when | ||
auto-fixing by correctly formatting token ids. | ||
- Updated dependencies | ||
@@ -304,3 +388,3 @@ ## 5.3.5 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -311,4 +395,7 @@ ## 5.3.4 | ||
- [#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 | ||
- [#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 | ||
@@ -319,3 +406,3 @@ ## 5.3.3 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -326,3 +413,3 @@ ## 5.3.2 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -333,3 +420,3 @@ ## 5.3.1 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -340,12 +427,17 @@ ## 5.3.0 | ||
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`f276913fa2c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f276913fa2c) - Instrumented Radio with the new theming package, `@atlaskit/tokens`. | ||
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) | ||
[`f276913fa2c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f276913fa2c) - | ||
Instrumented Radio with the new theming package, `@atlaskit/tokens`. | ||
New 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. | ||
New 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 | ||
- [`af4bca32ad4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af4bca32ad4) - Internal changes to supress eslint rules. | ||
- [`2d7cc544696`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d7cc544696) - Updates token usage to match the latest token set | ||
- Updated dependencies | ||
- [`af4bca32ad4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af4bca32ad4) - | ||
Internal changes to supress eslint rules. | ||
- [`2d7cc544696`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d7cc544696) - | ||
Updates token usage to match the latest token set | ||
- Updated dependencies | ||
@@ -356,3 +448,5 @@ ## 5.2.1 | ||
- [#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`. | ||
- [#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`. | ||
@@ -363,3 +457,5 @@ ## 5.2.0 | ||
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649) [`5c4717067dd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c4717067dd) - [ux] Add aria-labelledby prop to RadioGroup | ||
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649) | ||
[`5c4717067dd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c4717067dd) - [ux] | ||
Add aria-labelledby prop to RadioGroup | ||
@@ -370,3 +466,5 @@ ## 5.1.1 | ||
- [#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` | ||
- [#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` | ||
@@ -377,3 +475,5 @@ ## 5.1.0 | ||
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) [`7af2427f3a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7af2427f3a8) - [ux] Update form field examples for validation and add a new prop to RadioGroup component | ||
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) | ||
[`7af2427f3a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7af2427f3a8) - [ux] | ||
Update form field examples for validation and add a new prop to RadioGroup component | ||
@@ -384,3 +484,5 @@ ## 5.0.4 | ||
- [#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. | ||
- [#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. | ||
@@ -391,3 +493,5 @@ ## 5.0.3 | ||
- [#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 | ||
- [#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 | ||
@@ -398,5 +502,8 @@ ## 5.0.2 | ||
- [#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. | ||
- [#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. | ||
@@ -407,3 +514,3 @@ ## 5.0.1 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -414,22 +521,43 @@ ## 5.0.0 | ||
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) [`44ef6437cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/44ef6437cd) - In this version, we made radio dramatically faster and lighter 😍 | ||
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) | ||
[`44ef6437cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/44ef6437cd) - In this | ||
version, we made radio dramatically faster and lighter 😍 | ||
### Changes | ||
### Changes | ||
In `5.0.0` we improved the performance of radio by making it more similar to a native radio input. | ||
In `5.0.0` we improved the performance of radio by making it more similar to a native radio | ||
input. | ||
- Previously we rendered a hidden input and an svg for the radio icon. This way we could get all the accessibility benefits of using a native radio input while being able to style the svg. We now use `appearance: none` on the input, enabling us to style the input and the `after` pseudo-element. This removes the need for an svg. | ||
- Previously all interaction styles were generated in JS using events, causing unnecessary and slow rerenders. Now all styles for the radio are applied using css selectors. | ||
- Because the input is now visible, we have changed the test id from `${testId}--hidden-radio` to `${testId}--radio-input` to provide less usage friction. We looked into product usage of the `testId` and we have reached out to the owners of any code that would be effected (there was only one). | ||
- Dropped the `peerDependency` on `styled-components@3` in favour of using `@emotion/core`. | ||
- Converted to function components. | ||
- Added the ability to forward a `ref` to a radio input. | ||
- Remove the `RadioIcon` export, you should just use the `Radio` without a label if you want this functionality. | ||
- Restricted types for `Radio` and `RadioGroup`. `RadioGroup` previously allowed you to pass any props so this has been restricted to only those used. The `isChecked` prop in the`options` prop for `RadioGroup` has been removed. You can only set a `Radio` as checked if the value of the `Radio` is the selected value in the `RadioGroup`. `Radio` used to explicitly define input attributes as props and now it extends `InputHTMLAttributes` allowing you to pass any input attribute as a prop. | ||
- There was a bug where all `onMouse` events were passed onto both the input element and the `Radio`, which means they would be called multiple times. Now they are only passed to the input element. | ||
- As `Radio` acts as a native radio input, the `name` prop on each `RadioGroup` needs to be unique or each `RadioGroup` with the same name needs to be inside a form element. This is because the `name` attribute on radio inputs is used to link the inputs so if you have two separate `RadioGroup`'s with the same name, the browser views them as one radio group. | ||
- Previously we rendered a hidden input and an svg for the radio icon. This way we could get | ||
all the accessibility benefits of using a native radio input while being able to style the | ||
svg. We now use `appearance: none` on the input, enabling us to style the input and the | ||
`after` pseudo-element. This removes the need for an svg. | ||
- Previously all interaction styles were generated in JS using events, causing unnecessary and | ||
slow rerenders. Now all styles for the radio are applied using css selectors. | ||
- Because the input is now visible, we have changed the test id from `${testId}--hidden-radio` | ||
to `${testId}--radio-input` to provide less usage friction. We looked into product usage of | ||
the `testId` and we have reached out to the owners of any code that would be effected (there | ||
was only one). | ||
- Dropped the `peerDependency` on `styled-components@3` in favour of using `@emotion/core`. | ||
- Converted to function components. | ||
- Added the ability to forward a `ref` to a radio input. | ||
- Remove the `RadioIcon` export, you should just use the `Radio` without a label if you want | ||
this functionality. | ||
- Restricted types for `Radio` and `RadioGroup`. `RadioGroup` previously allowed you to pass | ||
any props so this has been restricted to only those used. The `isChecked` prop in | ||
the`options` prop for `RadioGroup` has been removed. You can only set a `Radio` as checked | ||
if the value of the `Radio` is the selected value in the `RadioGroup`. `Radio` used to | ||
explicitly define input attributes as props and now it extends `InputHTMLAttributes` | ||
allowing you to pass any input attribute as a prop. | ||
- There was a bug where all `onMouse` events were passed onto both the input element and the | ||
`Radio`, which means they would be called multiple times. Now they are only passed to the | ||
input element. | ||
- As `Radio` acts as a native radio input, the `name` prop on each `RadioGroup` needs to be | ||
unique or each `RadioGroup` with the same name needs to be inside a form element. This is | ||
because the `name` attribute on radio inputs is used to link the inputs so if you have two | ||
separate `RadioGroup`'s with the same name, the browser views them as one radio group. | ||
### Patch Changes | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -440,3 +568,5 @@ ## 4.0.6 | ||
- [#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 | ||
- [#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 | ||
@@ -447,6 +577,8 @@ ## 4.0.5 | ||
- [#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 | ||
- [#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. | ||
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. | ||
@@ -457,3 +589,5 @@ ## 4.0.4 | ||
- [#4393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4393) [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release | ||
- [#4393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4393) | ||
[`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump | ||
required because of conflicts on wadmal release | ||
@@ -464,3 +598,5 @@ ## 4.0.3 | ||
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form elements now have a default font explicitly set | ||
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) | ||
[`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form | ||
elements now have a default font explicitly set | ||
@@ -471,3 +607,5 @@ ## 4.0.2 | ||
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293) [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme and package information has been updated to point to the new design system website. | ||
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293) | ||
[`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The | ||
readme and package information has been updated to point to the new design system website. | ||
@@ -478,3 +616,5 @@ ## 4.0.1 | ||
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable | ||
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) | ||
[`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update | ||
all the theme imports to be tree-shakable | ||
@@ -485,8 +625,11 @@ ## 4.0.0 | ||
- [#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 | ||
- [#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 | ||
- Updated dependencies | ||
@@ -497,3 +640,5 @@ ## 3.2.3 | ||
- [#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 | ||
- [#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 | ||
@@ -504,3 +649,3 @@ ## 3.2.2 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -511,3 +656,5 @@ ## 3.2.1 | ||
- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) [`966efe3f95`](https://bitbucket.org/atlassian/atlassian-frontend/commits/966efe3f95) - Change imports to comply with Atlassian conventions- Updated dependencies | ||
- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) | ||
[`966efe3f95`](https://bitbucket.org/atlassian/atlassian-frontend/commits/966efe3f95) - Change | ||
imports to comply with Atlassian conventions- Updated dependencies | ||
@@ -518,14 +665,17 @@ ## 3.2.0 | ||
- [minor][f0af33ead6](https://bitbucket.org/atlassian/atlassian-frontend/commits/f0af33ead6): | ||
- [minor][f0af33ead6](https://bitbucket.org/atlassian/atlassian-frontend/commits/f0af33ead6): | ||
Add name prop to RadioGroup | ||
Add name prop to RadioGroup | ||
### Patch Changes | ||
- Updated dependencies [294c05bcdf](https://bitbucket.org/atlassian/atlassian-frontend/commits/294c05bcdf): | ||
- Updated dependencies [dae900bf82](https://bitbucket.org/atlassian/atlassian-frontend/commits/dae900bf82): | ||
- Updated dependencies [8c9e4f1ec6](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c9e4f1ec6): | ||
- @atlaskit/form@7.2.0 | ||
- @atlaskit/build-utils@2.6.4 | ||
- @atlaskit/docs@8.5.0 | ||
- Updated dependencies | ||
[294c05bcdf](https://bitbucket.org/atlassian/atlassian-frontend/commits/294c05bcdf): | ||
- Updated dependencies | ||
[dae900bf82](https://bitbucket.org/atlassian/atlassian-frontend/commits/dae900bf82): | ||
- Updated dependencies | ||
[8c9e4f1ec6](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c9e4f1ec6): | ||
- @atlaskit/form@7.2.0 | ||
- @atlaskit/build-utils@2.6.4 | ||
- @atlaskit/docs@8.5.0 | ||
@@ -536,16 +686,24 @@ ## 3.1.11 | ||
- 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/checkbox@10.1.10 | ||
- @atlaskit/form@7.1.5 | ||
- 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/checkbox@10.1.10 | ||
- @atlaskit/form@7.1.5 | ||
@@ -556,7 +714,8 @@ ## 3.1.10 | ||
- Updated dependencies [e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd): | ||
- @atlaskit/webdriver-runner@0.2.0 | ||
- @atlaskit/button@13.3.8 | ||
- @atlaskit/checkbox@10.1.9 | ||
- @atlaskit/form@7.1.4 | ||
- Updated dependencies | ||
[e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd): | ||
- @atlaskit/webdriver-runner@0.2.0 | ||
- @atlaskit/button@13.3.8 | ||
- @atlaskit/checkbox@10.1.9 | ||
- @atlaskit/form@7.1.4 | ||
@@ -567,14 +726,15 @@ ## 3.1.9 | ||
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a): | ||
- [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): | ||
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/visual-regression@0.1.9 | ||
- @atlaskit/analytics-next@6.3.5 | ||
- @atlaskit/button@13.3.7 | ||
- @atlaskit/checkbox@10.1.7 | ||
- @atlaskit/form@7.1.2 | ||
- @atlaskit/icon@20.0.1 | ||
- @atlaskit/theme@9.5.1 | ||
- @atlaskit/docs@8.3.2 | ||
- @atlaskit/visual-regression@0.1.9 | ||
- @atlaskit/analytics-next@6.3.5 | ||
- @atlaskit/button@13.3.7 | ||
- @atlaskit/checkbox@10.1.7 | ||
- @atlaskit/form@7.1.2 | ||
- @atlaskit/icon@20.0.1 | ||
- @atlaskit/theme@9.5.1 | ||
@@ -585,8 +745,9 @@ ## 3.1.8 | ||
- Updated dependencies [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2): | ||
- @atlaskit/icon@20.0.0 | ||
- @atlaskit/form@7.1.1 | ||
- @atlaskit/docs@8.3.1 | ||
- @atlaskit/button@13.3.6 | ||
- @atlaskit/checkbox@10.1.6 | ||
- Updated dependencies | ||
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2): | ||
- @atlaskit/icon@20.0.0 | ||
- @atlaskit/form@7.1.1 | ||
- @atlaskit/docs@8.3.1 | ||
- @atlaskit/button@13.3.6 | ||
- @atlaskit/checkbox@10.1.6 | ||
@@ -597,8 +758,11 @@ ## 3.1.7 | ||
- [patch][e20d7996ca](https://bitbucket.org/atlassian/atlassian-frontend/commits/e20d7996ca): | ||
- [patch][e20d7996ca](https://bitbucket.org/atlassian/atlassian-frontend/commits/e20d7996ca): | ||
Fixes radio value from `string | number` to just `string` to match the current implementation.- Updated dependencies [ec76622d34](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec76622d34): | ||
Fixes radio value from `string | number` to just `string` to match the current implementation.- | ||
Updated dependencies | ||
[ec76622d34](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec76622d34): | ||
- Updated dependencies [d93de8e56e](https://bitbucket.org/atlassian/atlassian-frontend/commits/d93de8e56e): | ||
- @atlaskit/form@7.0.1 | ||
- Updated dependencies | ||
[d93de8e56e](https://bitbucket.org/atlassian/atlassian-frontend/commits/d93de8e56e): | ||
- @atlaskit/form@7.0.1 | ||
@@ -609,13 +773,18 @@ ## 3.1.6 | ||
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5): | ||
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5): | ||
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result- Updated dependencies [28f8f0e089](https://bitbucket.org/atlassian/atlassian-frontend/commits/28f8f0e089): | ||
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result- | ||
Updated dependencies | ||
[28f8f0e089](https://bitbucket.org/atlassian/atlassian-frontend/commits/28f8f0e089): | ||
- Updated dependencies [82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922): | ||
- Updated dependencies [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5): | ||
- Updated dependencies [6a8bc6f866](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a8bc6f866): | ||
- @atlaskit/icon@19.1.0 | ||
- @atlaskit/theme@9.5.0 | ||
- @atlaskit/button@13.3.5 | ||
- @atlaskit/checkbox@10.1.5 | ||
- Updated dependencies | ||
[82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922): | ||
- Updated dependencies | ||
[4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5): | ||
- Updated dependencies | ||
[6a8bc6f866](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a8bc6f866): | ||
- @atlaskit/icon@19.1.0 | ||
- @atlaskit/theme@9.5.0 | ||
- @atlaskit/button@13.3.5 | ||
- @atlaskit/checkbox@10.1.5 | ||
@@ -626,13 +795,19 @@ ## 3.1.5 | ||
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff): | ||
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff): | ||
Form has been converted to Typescript. TypeScript consumers will now get static type safety. Flow types are no longer provided. No API changes.- Updated dependencies [24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff): | ||
Form has been converted to Typescript. TypeScript consumers will now get static type safety. | ||
Flow types are no longer provided. No API changes.- Updated dependencies | ||
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff): | ||
- Updated dependencies [24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff): | ||
- Updated dependencies [24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff): | ||
- Updated dependencies [24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff): | ||
- Updated dependencies [24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff): | ||
- @atlaskit/analytics-next@6.3.3 | ||
- @atlaskit/form@7.0.0 | ||
- @atlaskit/checkbox@10.1.4 | ||
- Updated dependencies | ||
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff): | ||
- Updated dependencies | ||
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff): | ||
- Updated dependencies | ||
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff): | ||
- Updated dependencies | ||
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff): | ||
- @atlaskit/analytics-next@6.3.3 | ||
- @atlaskit/form@7.0.0 | ||
- @atlaskit/checkbox@10.1.4 | ||
@@ -643,58 +818,59 @@ ## 3.1.4 | ||
- [patch][d222c2b987](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d222c2b987): | ||
- [patch][d222c2b987](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d222c2b987): | ||
Theme has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. | ||
Theme has been converted to Typescript. Typescript consumers will now get static type safety. | ||
Flow types are no longer provided. | ||
### Breaking | ||
### Breaking | ||
** getTokens props changes ** | ||
When defining the value function passed into a ThemeProvider, the getTokens parameter cannot be called without props; if no props are provided an empty object `{}` must be passed in: | ||
** getTokens props changes ** When defining the value function passed into a ThemeProvider, the | ||
getTokens parameter cannot be called without props; if no props are provided an empty object | ||
`{}` must be passed in: | ||
```javascript | ||
<CustomTheme.Provider | ||
value={t => ({ ...t(), backgroundColor: '#333'})} | ||
> | ||
``` | ||
```javascript | ||
<CustomTheme.Provider | ||
value={t => ({ ...t(), backgroundColor: '#333'})} | ||
> | ||
``` | ||
becomes: | ||
becomes: | ||
```javascript | ||
<CustomTheme.Provider | ||
value={t => ({ ...t({}), backgroundColor: '#333'})} | ||
> | ||
``` | ||
```javascript | ||
<CustomTheme.Provider | ||
value={t => ({ ...t({}), backgroundColor: '#333'})} | ||
> | ||
``` | ||
** Color palette changes ** | ||
Color palettes have been moved into their own file. | ||
Users will need to update imports from this: | ||
** Color palette changes ** Color palettes have been moved into their own file. Users will need | ||
to update imports from this: | ||
```javascript | ||
import { colors } from '@atlaskit/theme'; | ||
```javascript | ||
import { colors } from '@atlaskit/theme'; | ||
colors.colorPalette('8'); | ||
``` | ||
colors.colorPalette('8'); | ||
``` | ||
to this: | ||
to this: | ||
```javascript | ||
import { colorPalette } from '@atlaskit/theme'; | ||
```javascript | ||
import { colorPalette } from '@atlaskit/theme'; | ||
colorPalette.colorPalette('8'); | ||
``` | ||
colorPalette.colorPalette('8'); | ||
``` | ||
or for multi entry-point users: | ||
or for multi entry-point users: | ||
```javascript | ||
import * as colors from '@atlaskit/theme/colors'; | ||
```javascript | ||
import * as colors from '@atlaskit/theme/colors'; | ||
colors.colorPalette('8'); | ||
``` | ||
colors.colorPalette('8'); | ||
``` | ||
to this: | ||
to this: | ||
```javascript | ||
import * as colorPalettes from '@atlaskit/theme/color-palette'; | ||
```javascript | ||
import * as colorPalettes from '@atlaskit/theme/color-palette'; | ||
colorPalettes.colorPalette('8'); | ||
``` | ||
colorPalettes.colorPalette('8'); | ||
``` | ||
@@ -705,5 +881,6 @@ ## 3.1.3 | ||
- [patch][70e57645f2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70e57645f2): | ||
- [patch][70e57645f2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70e57645f2): | ||
Updates controlled example to show better pattern for state duplication between RadioGroup and Form | ||
Updates controlled example to show better pattern for state duplication between RadioGroup and | ||
Form | ||
@@ -714,5 +891,5 @@ ## 3.1.2 | ||
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a): | ||
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a): | ||
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd. | ||
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd. | ||
@@ -723,5 +900,5 @@ ## 3.1.1 | ||
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716): | ||
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716): | ||
Updated version of analytics-next to fix potential incompatibilities with TS 3.6 | ||
Updated version of analytics-next to fix potential incompatibilities with TS 3.6 | ||
@@ -732,13 +909,15 @@ ## 3.1.0 | ||
- [minor][ff521a0e20](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ff521a0e20): | ||
- [minor][ff521a0e20](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ff521a0e20): | ||
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. | ||
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. | ||
## 3.0.18 | ||
- Updated dependencies [97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28): | ||
- @atlaskit/button@13.3.1 | ||
- @atlaskit/form@6.2.3 | ||
- @atlaskit/checkbox@10.0.0 | ||
- @atlaskit/docs@8.1.7 | ||
- Updated dependencies | ||
[97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28): | ||
- @atlaskit/button@13.3.1 | ||
- @atlaskit/form@6.2.3 | ||
- @atlaskit/checkbox@10.0.0 | ||
- @atlaskit/docs@8.1.7 | ||
@@ -749,5 +928,5 @@ ## 3.0.17 | ||
- [patch][7dc767eabb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7dc767eabb): | ||
- [patch][7dc767eabb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7dc767eabb): | ||
onChange is now marked as an optional prop | ||
onChange is now marked as an optional prop | ||
@@ -758,5 +937,6 @@ ## 3.0.16 | ||
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613): | ||
- [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 | ||
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving | ||
non-relative imports as relative imports | ||
@@ -767,5 +947,5 @@ ## 3.0.15 | ||
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb): | ||
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb): | ||
Upgraded Typescript to 3.3.x | ||
Upgraded Typescript to 3.3.x | ||
@@ -776,5 +956,5 @@ ## 3.0.14 | ||
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86): | ||
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86): | ||
Change all the imports to theme in Core to use multi entry points | ||
Change all the imports to theme in Core to use multi entry points | ||
@@ -785,5 +965,5 @@ ## 3.0.13 | ||
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67): | ||
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67): | ||
Updates component maintainers | ||
Updates component maintainers | ||
@@ -794,24 +974,30 @@ ## 3.0.12 | ||
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b): | ||
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b): | ||
Analytics-next has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No behavioural changes. | ||
Analytics-next has been converted to Typescript. Typescript consumers will now get static type | ||
safety. Flow types are no longer provided. No behavioural changes. | ||
**Breaking changes** | ||
**Breaking changes** | ||
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents` | ||
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext` | ||
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents` | ||
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext` | ||
**Breaking changes to TypeScript annotations** | ||
**Breaking changes to TypeScript annotations** | ||
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide props as a generic type. | ||
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide props as a generic type. | ||
- Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match source code | ||
- Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match source code | ||
- Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to match source code | ||
- Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload` | ||
- Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any` | ||
- Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent` | ||
- Type `AnalyticsEventInterface` has been removed, please use `AnalyticsEvent` | ||
- Type `CreateAndFireEventFunction` removed and should now be inferred by TypeScript | ||
- Type `AnalyticsEventUpdater` removed and should now be inferred by TypeScript | ||
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to | ||
provide props as a generic type. | ||
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to | ||
provide props as a generic type. | ||
- Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match | ||
source code | ||
- Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match | ||
source code | ||
- Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to | ||
match source code | ||
- Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload` | ||
- Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any` | ||
- Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent` | ||
- Type `AnalyticsEventInterface` has been removed, please use `AnalyticsEvent` | ||
- Type `CreateAndFireEventFunction` removed and should now be inferred by TypeScript | ||
- Type `AnalyticsEventUpdater` removed and should now be inferred by TypeScript | ||
@@ -822,5 +1008,5 @@ ## 3.0.11 | ||
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b): | ||
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b): | ||
Consume analytics-next ts type definitions as an ambient declaration. | ||
Consume analytics-next ts type definitions as an ambient declaration. | ||
@@ -831,5 +1017,5 @@ ## 3.0.10 | ||
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87): | ||
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87): | ||
Fixes bug, missing version.json file | ||
Fixes bug, missing version.json file | ||
@@ -840,12 +1026,14 @@ ## 3.0.9 | ||
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332): | ||
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332): | ||
In this PR, we are: | ||
In this PR, we are: | ||
- Re-introducing dist build folders | ||
- Adding back cjs | ||
- Replacing es5 by cjs and es2015 by esm | ||
- Creating folders at the root for entry-points | ||
- Removing the generation of the entry-points at the root | ||
Please see this [ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this [page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points) for further details | ||
- Re-introducing dist build folders | ||
- Adding back cjs | ||
- Replacing es5 by cjs and es2015 by esm | ||
- Creating folders at the root for entry-points | ||
- Removing the generation of the entry-points at the root Please see this | ||
[ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this | ||
[page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points) | ||
for further details | ||
@@ -856,33 +1044,37 @@ ## 3.0.8 | ||
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410): | ||
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410): | ||
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps of the returned component. | ||
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide | ||
props as a generic type. This is so that TypeScript can correctly calculate the props and | ||
defaultProps of the returned component. | ||
Before: | ||
Before: | ||
```typescript | ||
withAnalyticsEvents()(Button) as ComponentClass<Props>; | ||
``` | ||
```typescript | ||
withAnalyticsEvents()(Button) as ComponentClass<Props>; | ||
``` | ||
After: | ||
After: | ||
```typescript | ||
withAnalyticsEvents<Props>()(Button); | ||
``` | ||
```typescript | ||
withAnalyticsEvents<Props>()(Button); | ||
``` | ||
## 3.0.7 | ||
- Updated dependencies [87a2638655](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87a2638655): | ||
- @atlaskit/button@13.0.10 | ||
- @atlaskit/form@6.1.2 | ||
- @atlaskit/checkbox@9.0.0 | ||
- Updated dependencies | ||
[87a2638655](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87a2638655): | ||
- @atlaskit/button@13.0.10 | ||
- @atlaskit/form@6.1.2 | ||
- @atlaskit/checkbox@9.0.0 | ||
## 3.0.6 | ||
- Updated dependencies [06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7): | ||
- @atlaskit/docs@8.1.3 | ||
- @atlaskit/button@13.0.9 | ||
- @atlaskit/checkbox@8.0.5 | ||
- @atlaskit/form@6.1.1 | ||
- @atlaskit/icon@19.0.0 | ||
- Updated dependencies | ||
[06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7): | ||
- @atlaskit/docs@8.1.3 | ||
- @atlaskit/button@13.0.9 | ||
- @atlaskit/checkbox@8.0.5 | ||
- @atlaskit/form@6.1.1 | ||
- @atlaskit/icon@19.0.0 | ||
@@ -893,5 +1085,5 @@ ## 3.0.5 | ||
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434): | ||
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434): | ||
index.ts will now be ignored when publishing to npm | ||
index.ts will now be ignored when publishing to npm | ||
@@ -902,233 +1094,268 @@ ## 3.0.4 | ||
- [patch][93bcf314c6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93bcf314c6): | ||
- [patch][93bcf314c6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93bcf314c6): | ||
Added missing tslib dep | ||
Added missing tslib dep | ||
## 3.0.3 | ||
- Updated dependencies [cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3): | ||
- @atlaskit/docs@8.1.2 | ||
- @atlaskit/button@13.0.8 | ||
- @atlaskit/checkbox@8.0.2 | ||
- @atlaskit/form@6.0.5 | ||
- @atlaskit/icon@18.0.0 | ||
- Updated dependencies | ||
[cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3): | ||
- @atlaskit/docs@8.1.2 | ||
- @atlaskit/button@13.0.8 | ||
- @atlaskit/checkbox@8.0.2 | ||
- @atlaskit/form@6.0.5 | ||
- @atlaskit/icon@18.0.0 | ||
## 3.0.2 | ||
- Updated dependencies [70862830d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70862830d6): | ||
- @atlaskit/button@13.0.6 | ||
- @atlaskit/form@6.0.4 | ||
- @atlaskit/checkbox@8.0.0 | ||
- @atlaskit/icon@17.2.0 | ||
- @atlaskit/theme@9.1.0 | ||
- Updated dependencies | ||
[70862830d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70862830d6): | ||
- @atlaskit/button@13.0.6 | ||
- @atlaskit/form@6.0.4 | ||
- @atlaskit/checkbox@8.0.0 | ||
- @atlaskit/icon@17.2.0 | ||
- @atlaskit/theme@9.1.0 | ||
## 3.0.1 | ||
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685): | ||
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685): | ||
- This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details | ||
- This is just a safety release in case anything strange happened in in the previous one. See | ||
Pull Request #5942 for details | ||
## 3.0.0 | ||
- [major][1da5351f72](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1da5351f72): | ||
- [major][1da5351f72](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1da5351f72): | ||
- @atlaskit/radio has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes. | ||
- @atlaskit/radio has been converted to Typescript. Typescript consumers will now get static | ||
type safety. Flow types are no longer provided. No API or behavioural changes. | ||
## 2.0.0 | ||
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107): | ||
- [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. | ||
- 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. | ||
## 1.0.0 | ||
- [major][6c4e41ff36](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6c4e41ff36): | ||
- [major][6c4e41ff36](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6c4e41ff36): | ||
- This major release indicates that this package is no longer under dev preview but is ready for use | ||
- This major release indicates that this package is no longer under dev preview but is ready | ||
for use | ||
## 0.5.3 | ||
- Updated dependencies [9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be): | ||
- @atlaskit/docs@7.0.3 | ||
- @atlaskit/button@12.0.3 | ||
- @atlaskit/checkbox@6.0.4 | ||
- @atlaskit/form@5.2.7 | ||
- @atlaskit/icon@16.0.9 | ||
- @atlaskit/section-message@2.0.3 | ||
- @atlaskit/theme@8.1.7 | ||
- Updated dependencies | ||
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be): | ||
- @atlaskit/docs@7.0.3 | ||
- @atlaskit/button@12.0.3 | ||
- @atlaskit/checkbox@6.0.4 | ||
- @atlaskit/form@5.2.7 | ||
- @atlaskit/icon@16.0.9 | ||
- @atlaskit/section-message@2.0.3 | ||
- @atlaskit/theme@8.1.7 | ||
## 0.5.2 | ||
- Updated dependencies [1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966): | ||
- @atlaskit/docs@7.0.2 | ||
- @atlaskit/analytics-next@4.0.3 | ||
- @atlaskit/checkbox@6.0.3 | ||
- @atlaskit/form@5.2.5 | ||
- @atlaskit/icon@16.0.8 | ||
- @atlaskit/section-message@2.0.2 | ||
- @atlaskit/theme@8.1.6 | ||
- @atlaskit/button@12.0.0 | ||
- Updated dependencies | ||
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966): | ||
- @atlaskit/docs@7.0.2 | ||
- @atlaskit/analytics-next@4.0.3 | ||
- @atlaskit/checkbox@6.0.3 | ||
- @atlaskit/form@5.2.5 | ||
- @atlaskit/icon@16.0.8 | ||
- @atlaskit/section-message@2.0.2 | ||
- @atlaskit/theme@8.1.6 | ||
- @atlaskit/button@12.0.0 | ||
## 0.5.1 | ||
- Updated dependencies [9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394): | ||
- @atlaskit/docs@7.0.1 | ||
- @atlaskit/analytics-next@4.0.1 | ||
- @atlaskit/checkbox@6.0.1 | ||
- @atlaskit/form@5.2.1 | ||
- @atlaskit/icon@16.0.5 | ||
- @atlaskit/section-message@2.0.1 | ||
- @atlaskit/theme@8.0.1 | ||
- @atlaskit/button@11.0.0 | ||
- Updated dependencies | ||
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394): | ||
- @atlaskit/docs@7.0.1 | ||
- @atlaskit/analytics-next@4.0.1 | ||
- @atlaskit/checkbox@6.0.1 | ||
- @atlaskit/form@5.2.1 | ||
- @atlaskit/icon@16.0.5 | ||
- @atlaskit/section-message@2.0.1 | ||
- @atlaskit/theme@8.0.1 | ||
- @atlaskit/button@11.0.0 | ||
## 0.5.0 | ||
- [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6): | ||
- [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6): | ||
- Drop ES5 from all the flow modules | ||
- Drop ES5 from all the flow modules | ||
### Dropping CJS support in all @atlaskit packages | ||
### Dropping CJS support in all @atlaskit packages | ||
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only distribute esm. This means all distributed code will be transpiled, but will still contain `import` and | ||
`export` declarations. | ||
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only | ||
distribute esm. This means all distributed code will be transpiled, but will still contain | ||
`import` and `export` declarations. | ||
The major reason for doing this is to allow us to support multiple entry points in packages, e.g: | ||
The major reason for doing this is to allow us to support multiple entry points in packages, | ||
e.g: | ||
```js | ||
import colors from `@atlaskit/theme/colors`; | ||
``` | ||
```js | ||
import colors from `@atlaskit/theme/colors`; | ||
``` | ||
Previously this was sort of possible for consumers by doing something like: | ||
Previously this was sort of possible for consumers by doing something like: | ||
```js | ||
import colors from `@atlaskit/theme/dist/esm/colors`; | ||
``` | ||
```js | ||
import colors from `@atlaskit/theme/dist/esm/colors`; | ||
``` | ||
This has a couple of issues. 1, it treats the file system as API making internal refactors harder, we have to worry about how consumers might be using things that aren't _actually_ supposed to be used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads to lots of packages bundling all of theme, just to use a single color, especially in situations where tree shaking fails. | ||
This has a couple of issues. 1, it treats the file system as API making internal refactors | ||
harder, we have to worry about how consumers might be using things that aren't _actually_ | ||
supposed to be used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads | ||
to lots of packages bundling all of theme, just to use a single color, especially in situations | ||
where tree shaking fails. | ||
To support being able to use multiple entrypoints internally, we unfortunately cannot have multiple distributions as they would need to have very different imports from of their own internal dependencies. | ||
To support being able to use multiple entrypoints internally, we unfortunately cannot have | ||
multiple distributions as they would need to have very different imports from of their own | ||
internal dependencies. | ||
ES Modules are widely supported by all modern bundlers and can be worked around in node environments. | ||
ES Modules are widely supported by all modern bundlers and can be worked around in node | ||
environments. | ||
We may choose to revisit this solution in the future if we find any unintended condequences, but we see this as a pretty sane path forward which should lead to some major bundle size decreases, saner API's and simpler package architecture. | ||
We may choose to revisit this solution in the future if we find any unintended condequences, but | ||
we see this as a pretty sane path forward which should lead to some major bundle size decreases, | ||
saner API's and simpler package architecture. | ||
Please reach out to #fabric-build (if in Atlassian) or create an issue in [Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for external) if you have any questions or queries about this. | ||
Please reach out to #fabric-build (if in Atlassian) or create an issue in | ||
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for | ||
external) if you have any questions or queries about this. | ||
## 0.4.7 | ||
- [patch][942e0aec04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/942e0aec04): | ||
- [patch][942e0aec04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/942e0aec04): | ||
- Added test to make sure props are passed hidden input | ||
- Added test to make sure props are passed hidden input | ||
## 0.4.6 | ||
- Updated dependencies [d7ef59d432](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7ef59d432): | ||
- @atlaskit/docs@6.0.1 | ||
- @atlaskit/button@10.1.2 | ||
- @atlaskit/checkbox@5.0.11 | ||
- @atlaskit/form@5.1.2 | ||
- @atlaskit/section-message@1.0.16 | ||
- @atlaskit/icon@16.0.0 | ||
- Updated dependencies | ||
[d7ef59d432](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7ef59d432): | ||
- @atlaskit/docs@6.0.1 | ||
- @atlaskit/button@10.1.2 | ||
- @atlaskit/checkbox@5.0.11 | ||
- @atlaskit/form@5.1.2 | ||
- @atlaskit/section-message@1.0.16 | ||
- @atlaskit/icon@16.0.0 | ||
## 0.4.5 | ||
- [patch][a048a85](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a048a85): | ||
- [patch][a048a85](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a048a85): | ||
- Updated to be compatible with new Forms API | ||
- Updated to be compatible with new Forms API | ||
- Updated dependencies [647a46f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/647a46f): | ||
- @atlaskit/form@5.0.0 | ||
- Updated dependencies [647a46f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/647a46f): | ||
- @atlaskit/form@5.0.0 | ||
## 0.4.4 | ||
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa): | ||
- @atlaskit/analytics-next@3.1.2 | ||
- @atlaskit/button@10.1.1 | ||
- @atlaskit/checkbox@5.0.9 | ||
- @atlaskit/form@4.0.21 | ||
- @atlaskit/icon@15.0.2 | ||
- @atlaskit/section-message@1.0.14 | ||
- @atlaskit/theme@7.0.1 | ||
- @atlaskit/docs@6.0.0 | ||
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa): | ||
- @atlaskit/analytics-next@3.1.2 | ||
- @atlaskit/button@10.1.1 | ||
- @atlaskit/checkbox@5.0.9 | ||
- @atlaskit/form@4.0.21 | ||
- @atlaskit/icon@15.0.2 | ||
- @atlaskit/section-message@1.0.14 | ||
- @atlaskit/theme@7.0.1 | ||
- @atlaskit/docs@6.0.0 | ||
## 0.4.3 | ||
- Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d): | ||
- @atlaskit/docs@5.2.3 | ||
- @atlaskit/button@10.0.4 | ||
- @atlaskit/field-base@11.0.12 | ||
- @atlaskit/form@4.0.20 | ||
- @atlaskit/icon@15.0.1 | ||
- @atlaskit/section-message@1.0.13 | ||
- @atlaskit/theme@7.0.0 | ||
- Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d): | ||
- @atlaskit/docs@5.2.3 | ||
- @atlaskit/button@10.0.4 | ||
- @atlaskit/field-base@11.0.12 | ||
- @atlaskit/form@4.0.20 | ||
- @atlaskit/icon@15.0.1 | ||
- @atlaskit/section-message@1.0.13 | ||
- @atlaskit/theme@7.0.0 | ||
## 0.4.2 | ||
- Updated dependencies [ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c): | ||
- @atlaskit/docs@5.2.2 | ||
- @atlaskit/button@10.0.1 | ||
- @atlaskit/field-base@11.0.11 | ||
- @atlaskit/form@4.0.19 | ||
- @atlaskit/section-message@1.0.12 | ||
- @atlaskit/icon@15.0.0 | ||
- Updated dependencies [ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c): | ||
- @atlaskit/docs@5.2.2 | ||
- @atlaskit/button@10.0.1 | ||
- @atlaskit/field-base@11.0.11 | ||
- @atlaskit/form@4.0.19 | ||
- @atlaskit/section-message@1.0.12 | ||
- @atlaskit/icon@15.0.0 | ||
## 0.4.1 | ||
- Updated dependencies [6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11): | ||
- @atlaskit/docs@5.2.1 | ||
- @atlaskit/analytics-next@3.1.1 | ||
- @atlaskit/form@4.0.18 | ||
- @atlaskit/icon@14.6.1 | ||
- @atlaskit/section-message@1.0.11 | ||
- @atlaskit/theme@6.2.1 | ||
- @atlaskit/button@10.0.0 | ||
- Updated dependencies [6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11): | ||
- @atlaskit/docs@5.2.1 | ||
- @atlaskit/analytics-next@3.1.1 | ||
- @atlaskit/form@4.0.18 | ||
- @atlaskit/icon@14.6.1 | ||
- @atlaskit/section-message@1.0.11 | ||
- @atlaskit/theme@6.2.1 | ||
- @atlaskit/button@10.0.0 | ||
## 0.4.0 | ||
- [minor][b42680b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b42680b): | ||
- [minor][b42680b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b42680b): | ||
- Add isDisabled prop to RadioGroup, once set will set the isDisabled value for all Radio elements within the group | ||
- Add isDisabled prop to RadioGroup, once set will set the isDisabled value for all Radio | ||
elements within the group | ||
## 0.3.0 | ||
- [minor][8199088](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8199088): | ||
- [minor][8199088](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8199088): | ||
- BREAKING: defaultCheckedValue and checkedValue props in the RadioGroup component now changed to defaultValue and value respectively | ||
- BREAKING: defaultCheckedValue and checkedValue props in the RadioGroup component now changed | ||
to defaultValue and value respectively | ||
## 0.2.4 | ||
- [patch] Adds missing implicit @babel/runtime dependency [b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b) | ||
- [patch] Adds missing implicit @babel/runtime dependency | ||
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b) | ||
## 0.2.3 | ||
- [patch] Updated dependencies [65c6514](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c6514) | ||
- @atlaskit/docs@5.0.8 | ||
- @atlaskit/button@9.0.13 | ||
- @atlaskit/field-base@11.0.8 | ||
- @atlaskit/form@4.0.10 | ||
- @atlaskit/section-message@1.0.8 | ||
- @atlaskit/icon@14.0.0 | ||
- [patch] Updated dependencies | ||
[65c6514](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c6514) | ||
- @atlaskit/docs@5.0.8 | ||
- @atlaskit/button@9.0.13 | ||
- @atlaskit/field-base@11.0.8 | ||
- @atlaskit/form@4.0.10 | ||
- @atlaskit/section-message@1.0.8 | ||
- @atlaskit/icon@14.0.0 | ||
## 0.2.2 | ||
- [patch] Fixing analytics events for checkbox/radio/select [3e428e3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3e428e3) | ||
- [patch] Fixing analytics events for checkbox/radio/select | ||
[3e428e3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3e428e3) | ||
## 0.2.1 | ||
- [patch] Fixed radio indent styling [88520b2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/88520b2) | ||
- [patch] Fixed radio indent styling | ||
[88520b2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/88520b2) | ||
## 0.2.0 | ||
- [minor] Removed radioInput component, replaced Radio children prop with optional label prop to enable the use case facilitated by RadioInput. Added aria-label prop to Radio for accessibility. Wrapped Radio component in Analytics. [866a29b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/866a29b) | ||
- [minor] Removed radioInput component, replaced Radio children prop with optional label prop to | ||
enable the use case facilitated by RadioInput. Added aria-label prop to Radio for accessibility. | ||
Wrapped Radio component in Analytics. | ||
[866a29b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/866a29b) | ||
## 0.1.0 | ||
- [minor] Dev release of @atlaskit/radio [2b37611](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2b37611) | ||
- [minor] Dev release of @atlaskit/radio | ||
[2b37611](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2b37611) | ||
## 0.0.3 | ||
- [patch] Adds sideEffects: false to allow proper tree shaking [b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04) | ||
- [patch] Adds sideEffects: false to allow proper tree shaking | ||
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04) | ||
## 0.0.1 | ||
- [patch] Bump radio to include the new version of theme. [ea62d3d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ea62d3d) | ||
- [patch] Bump radio to include the new version of theme. | ||
[ea62d3d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ea62d3d) |
@@ -19,3 +19,3 @@ "use strict"; | ||
var packageName = "@atlaskit/radio"; | ||
var packageVersion = "6.1.3"; | ||
var packageVersion = "6.2.0"; | ||
var noop = _noop.default; | ||
@@ -22,0 +22,0 @@ var labelPaddingStyles = (0, _react2.css)({ |
@@ -10,3 +10,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
const packageName = "@atlaskit/radio"; | ||
const packageVersion = "6.1.3"; | ||
const packageVersion = "6.2.0"; | ||
const noop = __noop; | ||
@@ -13,0 +13,0 @@ const labelPaddingStyles = css({ |
@@ -12,3 +12,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
var packageName = "@atlaskit/radio"; | ||
var packageVersion = "6.1.3"; | ||
var packageVersion = "6.2.0"; | ||
var noop = __noop; | ||
@@ -15,0 +15,0 @@ var labelPaddingStyles = css({ |
{ | ||
"name": "@atlaskit/radio", | ||
"version": "6.1.3", | ||
"version": "6.2.0", | ||
"description": "A radio input allows users to select only one option from a number of choices. Radio is generally displayed in a radio group.", | ||
@@ -28,2 +28,3 @@ "publishConfig": { | ||
"releaseModel": "continuous", | ||
"runReact18": true, | ||
"productPushConsumption": [ | ||
@@ -44,7 +45,7 @@ "jira" | ||
"dependencies": { | ||
"@atlaskit/analytics-next": "^9.2.0", | ||
"@atlaskit/analytics-next": "^9.3.0", | ||
"@atlaskit/ds-lib": "^2.3.0", | ||
"@atlaskit/platform-feature-flags": "^0.2.0", | ||
"@atlaskit/theme": "^12.7.0", | ||
"@atlaskit/tokens": "^1.43.0", | ||
"@atlaskit/tokens": "^1.44.0", | ||
"@babel/runtime": "^7.0.0", | ||
@@ -54,3 +55,3 @@ "@emotion/react": "^11.7.1" | ||
"peerDependencies": { | ||
"react": "^16.8.0" | ||
"react": "^16.8.0 || ^17.0.0 || ~18.2.0" | ||
}, | ||
@@ -60,3 +61,3 @@ "devDependencies": { | ||
"@af/integration-testing": "*", | ||
"@atlaskit/checkbox": "*", | ||
"@atlaskit/checkbox": "^13.2.0", | ||
"@atlaskit/ssr": "*", | ||
@@ -63,0 +64,0 @@ "@atlaskit/visual-regression": "*", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
121884
+ Addedreact@18.2.0(transitive)
Updated@atlaskit/tokens@^1.44.0