@atlaskit/focus-ring 3.0.3 → 3.0.4
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 +8 -0
- package/dist/cjs/focus-ring.js +1 -1
- package/dist/es2019/focus-ring.js +1 -1
- package/dist/esm/focus-ring.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/focus-ring
|
|
2
2
|
|
|
3
|
+
## 3.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`f0662cd7a143e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f0662cd7a143e) -
|
|
8
|
+
Internal changes to how borders are applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 3.0.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/cjs/focus-ring.js
CHANGED
|
@@ -23,7 +23,7 @@ var baseInsetStyles = (0, _react2.css)({
|
|
|
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',
|
|
26
|
-
outlineWidth: "var(--ds-border-width-
|
|
26
|
+
outlineWidth: "var(--ds-border-width-focused, 2px)"
|
|
27
27
|
});
|
|
28
28
|
var focusRingStyles = (0, _react2.css)({
|
|
29
29
|
// Focus styles used when :focus-visible isn't supported
|
|
@@ -16,7 +16,7 @@ const baseInsetStyles = css({
|
|
|
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',
|
|
19
|
-
outlineWidth: "var(--ds-border-width-
|
|
19
|
+
outlineWidth: "var(--ds-border-width-focused, 2px)"
|
|
20
20
|
});
|
|
21
21
|
const focusRingStyles = css({
|
|
22
22
|
// Focus styles used when :focus-visible isn't supported
|
package/dist/esm/focus-ring.js
CHANGED
|
@@ -16,7 +16,7 @@ var baseInsetStyles = css({
|
|
|
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',
|
|
19
|
-
outlineWidth: "var(--ds-border-width-
|
|
19
|
+
outlineWidth: "var(--ds-border-width-focused, 2px)"
|
|
20
20
|
});
|
|
21
21
|
var focusRingStyles = css({
|
|
22
22
|
// Focus styles used when :focus-visible isn't supported
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/focus-ring",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
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",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
],
|
|
43
43
|
"atlaskit:src": "src/index.tsx",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@atlaskit/tokens": "^6.
|
|
45
|
+
"@atlaskit/tokens": "^6.3.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"@emotion/react": "^11.7.1"
|
|
48
48
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@af/visual-regression": "workspace:^",
|
|
56
56
|
"@atlaskit/button": "^23.4.0",
|
|
57
57
|
"@atlaskit/docs": "^11.0.0",
|
|
58
|
-
"@atlaskit/primitives": "^14.
|
|
58
|
+
"@atlaskit/primitives": "^14.14.0",
|
|
59
59
|
"@atlaskit/textfield": "^8.0.0",
|
|
60
60
|
"@testing-library/react": "^13.4.0",
|
|
61
61
|
"react-dom": "^18.2.0"
|