@atlaskit/radio 6.1.2 → 6.1.3
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 +7 -1
- package/dist/cjs/radio.js +2 -4
- package/dist/es2019/radio.js +2 -4
- package/dist/esm/radio.js +2 -4
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/radio
|
|
2
2
|
|
|
3
|
+
## 6.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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.
|
|
8
|
+
|
|
3
9
|
## 6.1.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -26,7 +32,7 @@
|
|
|
26
32
|
|
|
27
33
|
### Patch Changes
|
|
28
34
|
|
|
29
|
-
- [#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]
|
|
35
|
+
- [#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.
|
|
30
36
|
|
|
31
37
|
## 6.0.2
|
|
32
38
|
|
package/dist/cjs/radio.js
CHANGED
|
@@ -13,12 +13,10 @@ var _usePlatformLeafEventHandler = require("@atlaskit/analytics-next/usePlatform
|
|
|
13
13
|
var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop"));
|
|
14
14
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
15
|
var _colors = require("@atlaskit/theme/colors");
|
|
16
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
17
16
|
var _excluded = ["ariaLabel", "isDisabled", "isRequired", "isInvalid", "isChecked", "label", "name", "onChange", "value", "testId", "analyticsContext"];
|
|
18
17
|
/** @jsx jsx */
|
|
19
18
|
var packageName = "@atlaskit/radio";
|
|
20
|
-
var packageVersion = "6.1.
|
|
21
|
-
var fontFamily = (0, _constants.fontFamily)();
|
|
19
|
+
var packageVersion = "6.1.3";
|
|
22
20
|
var noop = _noop.default;
|
|
23
21
|
var labelPaddingStyles = (0, _react2.css)({
|
|
24
22
|
padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)")
|
|
@@ -29,7 +27,7 @@ var labelStyles = (0, _react2.css)({
|
|
|
29
27
|
position: 'relative',
|
|
30
28
|
alignItems: 'flex-start',
|
|
31
29
|
color: "var(--ds-text, ".concat(_colors.N900, ")"),
|
|
32
|
-
|
|
30
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
33
31
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
34
32
|
'&[data-disabled]': {
|
|
35
33
|
color: "var(--ds-text-disabled, ".concat(_colors.N80, ")"),
|
package/dist/es2019/radio.js
CHANGED
|
@@ -6,10 +6,8 @@ import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next/usePlatfor
|
|
|
6
6
|
import __noop from '@atlaskit/ds-lib/noop';
|
|
7
7
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
8
8
|
import { B200, B300, B400, B50, N10, N100, N20, N30, N40, N70, N80, N900, R300 } from '@atlaskit/theme/colors';
|
|
9
|
-
import { fontFamily as getFontFamily } from '@atlaskit/theme/constants';
|
|
10
9
|
const packageName = "@atlaskit/radio";
|
|
11
|
-
const packageVersion = "6.1.
|
|
12
|
-
const fontFamily = getFontFamily();
|
|
10
|
+
const packageVersion = "6.1.3";
|
|
13
11
|
const noop = __noop;
|
|
14
12
|
const labelPaddingStyles = css({
|
|
15
13
|
padding: `${"var(--ds-space-025, 2px)"} ${"var(--ds-space-050, 4px)"}`
|
|
@@ -20,7 +18,7 @@ const labelStyles = css({
|
|
|
20
18
|
position: 'relative',
|
|
21
19
|
alignItems: 'flex-start',
|
|
22
20
|
color: `var(--ds-text, ${N900})`,
|
|
23
|
-
|
|
21
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
24
22
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
25
23
|
'&[data-disabled]': {
|
|
26
24
|
color: `var(--ds-text-disabled, ${N80})`,
|
package/dist/esm/radio.js
CHANGED
|
@@ -8,10 +8,8 @@ import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next/usePlatfor
|
|
|
8
8
|
import __noop from '@atlaskit/ds-lib/noop';
|
|
9
9
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
10
10
|
import { B200, B300, B400, B50, N10, N100, N20, N30, N40, N70, N80, N900, R300 } from '@atlaskit/theme/colors';
|
|
11
|
-
import { fontFamily as getFontFamily } from '@atlaskit/theme/constants';
|
|
12
11
|
var packageName = "@atlaskit/radio";
|
|
13
|
-
var packageVersion = "6.1.
|
|
14
|
-
var fontFamily = getFontFamily();
|
|
12
|
+
var packageVersion = "6.1.3";
|
|
15
13
|
var noop = __noop;
|
|
16
14
|
var labelPaddingStyles = css({
|
|
17
15
|
padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)")
|
|
@@ -22,7 +20,7 @@ var labelStyles = css({
|
|
|
22
20
|
position: 'relative',
|
|
23
21
|
alignItems: 'flex-start',
|
|
24
22
|
color: "var(--ds-text, ".concat(N900, ")"),
|
|
25
|
-
|
|
23
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
26
24
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
27
25
|
'&[data-disabled]': {
|
|
28
26
|
color: "var(--ds-text-disabled, ".concat(N80, ")"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/radio",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.3",
|
|
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/"
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@atlaskit/analytics-next": "^9.2.0",
|
|
44
|
-
"@atlaskit/ds-lib": "^2.
|
|
44
|
+
"@atlaskit/ds-lib": "^2.3.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
46
|
-
"@atlaskit/theme": "^12.
|
|
47
|
-
"@atlaskit/tokens": "^1.
|
|
46
|
+
"@atlaskit/theme": "^12.7.0",
|
|
47
|
+
"@atlaskit/tokens": "^1.43.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@emotion/react": "^11.7.1"
|
|
50
50
|
},
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@af/accessibility-testing": "*",
|
|
56
56
|
"@af/integration-testing": "*",
|
|
57
|
+
"@atlaskit/checkbox": "*",
|
|
57
58
|
"@atlaskit/ssr": "*",
|
|
58
59
|
"@atlaskit/visual-regression": "*",
|
|
59
60
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|