@atlaskit/focus-ring 3.0.10 → 3.0.12
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 +16 -0
- package/dist/cjs/focus-ring.js +2 -2
- package/dist/es2019/focus-ring.js +2 -2
- package/dist/esm/focus-ring.js +2 -2
- package/package.json +13 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/focus-ring
|
|
2
2
|
|
|
3
|
+
## 3.0.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`02483200273ec`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/02483200273ec) -
|
|
8
|
+
Enrol all Design System UI packages into the React Compiler with platform gating via
|
|
9
|
+
isReactCompilerActivePlatform.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 3.0.11
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [`22bf79dbdcdca`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/22bf79dbdcdca) -
|
|
17
|
+
Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
|
|
18
|
+
|
|
3
19
|
## 3.0.10
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/cjs/focus-ring.js
CHANGED
|
@@ -15,11 +15,11 @@ var _react2 = require("@emotion/react");
|
|
|
15
15
|
|
|
16
16
|
var BORDER_WIDTH = 2;
|
|
17
17
|
var baseFocusOutsideStyles = (0, _react2.css)({
|
|
18
|
-
outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #
|
|
18
|
+
outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
19
19
|
outlineOffset: BORDER_WIDTH
|
|
20
20
|
});
|
|
21
21
|
var baseInsetStyles = (0, _react2.css)({
|
|
22
|
-
outlineColor: "var(--ds-border-focused, #
|
|
22
|
+
outlineColor: "var(--ds-border-focused, #4688EC)",
|
|
23
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
24
24
|
outlineOffset: -BORDER_WIDTH,
|
|
25
25
|
outlineStyle: 'solid',
|
|
@@ -8,11 +8,11 @@ import { Children, cloneElement, memo } from 'react';
|
|
|
8
8
|
import { ClassNames, css, jsx } from '@emotion/react';
|
|
9
9
|
const BORDER_WIDTH = 2;
|
|
10
10
|
const baseFocusOutsideStyles = css({
|
|
11
|
-
outline: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #
|
|
11
|
+
outline: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #4688EC)"}`,
|
|
12
12
|
outlineOffset: BORDER_WIDTH
|
|
13
13
|
});
|
|
14
14
|
const baseInsetStyles = css({
|
|
15
|
-
outlineColor: "var(--ds-border-focused, #
|
|
15
|
+
outlineColor: "var(--ds-border-focused, #4688EC)",
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
17
17
|
outlineOffset: -BORDER_WIDTH,
|
|
18
18
|
outlineStyle: 'solid',
|
package/dist/esm/focus-ring.js
CHANGED
|
@@ -8,11 +8,11 @@ import { Children, cloneElement, memo } from 'react';
|
|
|
8
8
|
import { ClassNames, css, jsx } from '@emotion/react';
|
|
9
9
|
var BORDER_WIDTH = 2;
|
|
10
10
|
var baseFocusOutsideStyles = css({
|
|
11
|
-
outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #
|
|
11
|
+
outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
12
12
|
outlineOffset: BORDER_WIDTH
|
|
13
13
|
});
|
|
14
14
|
var baseInsetStyles = css({
|
|
15
|
-
outlineColor: "var(--ds-border-focused, #
|
|
15
|
+
outlineColor: "var(--ds-border-focused, #4688EC)",
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
17
17
|
outlineOffset: -BORDER_WIDTH,
|
|
18
18
|
outlineStyle: 'solid',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/focus-ring",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.12",
|
|
4
4
|
"description": "A focus ring clearly indicates which item has keyboard focus.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -8,6 +8,13 @@
|
|
|
8
8
|
"registry": "https://registry.npmjs.org/"
|
|
9
9
|
},
|
|
10
10
|
"atlassian": {
|
|
11
|
+
"react-compiler": {
|
|
12
|
+
"enabled": true,
|
|
13
|
+
"gating": {
|
|
14
|
+
"source": "@atlassian/react-compiler-gating",
|
|
15
|
+
"importSpecifierName": "isReactCompilerActivePlatform"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
11
18
|
"team": "Design System Team",
|
|
12
19
|
"website": {
|
|
13
20
|
"name": "Focus ring",
|
|
@@ -42,7 +49,7 @@
|
|
|
42
49
|
],
|
|
43
50
|
"atlaskit:src": "src/index.tsx",
|
|
44
51
|
"dependencies": {
|
|
45
|
-
"@atlaskit/tokens": "^11.
|
|
52
|
+
"@atlaskit/tokens": "^11.4.0",
|
|
46
53
|
"@babel/runtime": "^7.0.0",
|
|
47
54
|
"@emotion/react": "^11.7.1"
|
|
48
55
|
},
|
|
@@ -53,10 +60,11 @@
|
|
|
53
60
|
"@af/accessibility-testing": "workspace:^",
|
|
54
61
|
"@af/integration-testing": "workspace:^",
|
|
55
62
|
"@af/visual-regression": "workspace:^",
|
|
56
|
-
"@atlaskit/button": "^23.
|
|
57
|
-
"@atlaskit/docs": "^11.
|
|
58
|
-
"@atlaskit/primitives": "^18.
|
|
63
|
+
"@atlaskit/button": "^23.10.0",
|
|
64
|
+
"@atlaskit/docs": "^11.7.0",
|
|
65
|
+
"@atlaskit/primitives": "^18.1.0",
|
|
59
66
|
"@atlaskit/textfield": "^8.2.0",
|
|
67
|
+
"@atlassian/react-compiler-gating": "workspace:^",
|
|
60
68
|
"@testing-library/react": "^16.3.0",
|
|
61
69
|
"react-dom": "^18.2.0"
|
|
62
70
|
},
|