@atlaskit/radio 5.6.4 → 5.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/radio
2
2
 
3
+ ## 5.6.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
8
+
3
9
  ## 5.6.4
4
10
 
5
11
  ### Patch Changes
package/dist/cjs/radio.js CHANGED
@@ -19,7 +19,7 @@ var _styles = _interopRequireDefault(require("./styles"));
19
19
  var _excluded = ["ariaLabel", "isDisabled", "isRequired", "isInvalid", "isChecked", "label", "mode", "name", "onChange", "value", "testId", "analyticsContext"];
20
20
  /** @jsx jsx */
21
21
  var packageName = "@atlaskit/radio";
22
- var packageVersion = "5.6.4";
22
+ var packageVersion = "5.6.5";
23
23
  var fontFamily = (0, _constants.fontFamily)();
24
24
  var noop = _noop.default;
25
25
  var labelPaddingStyles = (0, _react2.css)({
@@ -64,7 +64,7 @@ var radioStyles = (0, _react2.css)({
64
64
  /* Border should multiply by 24/14 to offset scale, a scale of 12 / 7 is to fix a Chrome bug that makes the circle become an oval and the
65
65
  inner circle not be centred at various zoom levels */
66
66
  border: "".concat((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-checkbox_nyoiu') ? '1px' : 'calc(2px * 12 / 7)', " solid var(--radio-border-color)"),
67
- borderRadius: '50%',
67
+ borderRadius: "var(--ds-border-radius-circle, 50%)",
68
68
  MozAppearance: 'none',
69
69
  outline: 'none',
70
70
  /*
@@ -87,7 +87,8 @@ var radioStyles = (0, _react2.css)({
87
87
  height: 'calc(4px * 12 / 7)',
88
88
  position: 'absolute',
89
89
  background: 'var(--radio-dot-color)',
90
- borderRadius: '50%',
90
+ // TODO Delete this comment after verifying spacing token -> previous value `'50%'`
91
+ borderRadius: "var(--ds-border-radius-circle, 50%)",
91
92
  content: "''",
92
93
  opacity: 'var(--radio-dot-opacity)',
93
94
  transition: 'background-color 0.2s ease-in-out, opacity 0.2s ease-in-out'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/radio",
3
- "version": "5.6.4",
3
+ "version": "5.6.5",
4
4
  "sideEffects": false
5
5
  }
@@ -10,7 +10,7 @@ import GlobalTheme from '@atlaskit/theme/components';
10
10
  import { fontFamily as getFontFamily } from '@atlaskit/theme/constants';
11
11
  import getRadioCustomProperties from './styles';
12
12
  const packageName = "@atlaskit/radio";
13
- const packageVersion = "5.6.4";
13
+ const packageVersion = "5.6.5";
14
14
  const fontFamily = getFontFamily();
15
15
  const noop = __noop;
16
16
  const labelPaddingStyles = css({
@@ -55,7 +55,7 @@ const radioStyles = css({
55
55
  /* Border should multiply by 24/14 to offset scale, a scale of 12 / 7 is to fix a Chrome bug that makes the circle become an oval and the
56
56
  inner circle not be centred at various zoom levels */
57
57
  border: `${getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? '1px' : 'calc(2px * 12 / 7)'} solid var(--radio-border-color)`,
58
- borderRadius: '50%',
58
+ borderRadius: "var(--ds-border-radius-circle, 50%)",
59
59
  MozAppearance: 'none',
60
60
  outline: 'none',
61
61
  /*
@@ -78,7 +78,8 @@ const radioStyles = css({
78
78
  height: 'calc(4px * 12 / 7)',
79
79
  position: 'absolute',
80
80
  background: 'var(--radio-dot-color)',
81
- borderRadius: '50%',
81
+ // TODO Delete this comment after verifying spacing token -> previous value `'50%'`
82
+ borderRadius: "var(--ds-border-radius-circle, 50%)",
82
83
  content: "''",
83
84
  opacity: 'var(--radio-dot-opacity)',
84
85
  transition: 'background-color 0.2s ease-in-out, opacity 0.2s ease-in-out'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/radio",
3
- "version": "5.6.4",
3
+ "version": "5.6.5",
4
4
  "sideEffects": false
5
5
  }
package/dist/esm/radio.js CHANGED
@@ -12,7 +12,7 @@ import GlobalTheme from '@atlaskit/theme/components';
12
12
  import { fontFamily as getFontFamily } from '@atlaskit/theme/constants';
13
13
  import getRadioCustomProperties from './styles';
14
14
  var packageName = "@atlaskit/radio";
15
- var packageVersion = "5.6.4";
15
+ var packageVersion = "5.6.5";
16
16
  var fontFamily = getFontFamily();
17
17
  var noop = __noop;
18
18
  var labelPaddingStyles = css({
@@ -57,7 +57,7 @@ var radioStyles = css({
57
57
  /* Border should multiply by 24/14 to offset scale, a scale of 12 / 7 is to fix a Chrome bug that makes the circle become an oval and the
58
58
  inner circle not be centred at various zoom levels */
59
59
  border: "".concat(getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? '1px' : 'calc(2px * 12 / 7)', " solid var(--radio-border-color)"),
60
- borderRadius: '50%',
60
+ borderRadius: "var(--ds-border-radius-circle, 50%)",
61
61
  MozAppearance: 'none',
62
62
  outline: 'none',
63
63
  /*
@@ -80,7 +80,8 @@ var radioStyles = css({
80
80
  height: 'calc(4px * 12 / 7)',
81
81
  position: 'absolute',
82
82
  background: 'var(--radio-dot-color)',
83
- borderRadius: '50%',
83
+ // TODO Delete this comment after verifying spacing token -> previous value `'50%'`
84
+ borderRadius: "var(--ds-border-radius-circle, 50%)",
84
85
  content: "''",
85
86
  opacity: 'var(--radio-dot-opacity)',
86
87
  transition: 'background-color 0.2s ease-in-out, opacity 0.2s ease-in-out'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/radio",
3
- "version": "5.6.4",
3
+ "version": "5.6.5",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/radio",
3
- "version": "5.6.4",
3
+ "version": "5.6.5",
4
4
  "description": "A radio input allows users to select only one option from a number of choices. Radio is generally displayed in a radio group.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -44,7 +44,7 @@
44
44
  "@atlaskit/ds-lib": "^2.2.0",
45
45
  "@atlaskit/platform-feature-flags": "^0.2.0",
46
46
  "@atlaskit/theme": "^12.5.0",
47
- "@atlaskit/tokens": "^1.8.0",
47
+ "@atlaskit/tokens": "^1.11.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/react": "^11.7.1"
50
50
  },
@@ -52,7 +52,7 @@
52
52
  "react": "^16.8.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@atlaskit/button": "^16.7.0",
55
+ "@atlaskit/button": "^16.8.0",
56
56
  "@atlaskit/checkbox": "^12.6.0",
57
57
  "@atlaskit/docs": "^9.1.0",
58
58
  "@atlaskit/form": "^8.11.0",
@@ -1,5 +0,0 @@
1
- import { ExtractReactTypeProps } from '../src/types';
2
-
3
- export default function RadioProps(props: ExtractReactTypeProps) {
4
- return null;
5
- }