@atlaskit/focus-ring 1.3.0 → 1.3.1

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/focus-ring
2
2
 
3
+ ## 1.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+
3
9
  ## 1.3.0
4
10
 
5
11
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/focus-ring",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/focus-ring",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/focus-ring",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "sideEffects": false
5
5
  }
@@ -3,7 +3,7 @@ export interface FocusEventHandlers {
3
3
  onFocus: FocusEventHandler;
4
4
  onBlur: FocusEventHandler;
5
5
  }
6
- export declare type FocusState = 'on' | 'off';
6
+ export type FocusState = 'on' | 'off';
7
7
  export interface FocusRingProps {
8
8
  /**
9
9
  * Makes the `FocusRing` a controlled component (opting out of native focus behavior). The focus ring
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/focus-ring",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "A focus ring is used to indicate the currently focused item.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -20,13 +20,21 @@
20
20
  "module": "dist/esm/index.js",
21
21
  "module:es2019": "dist/es2019/index.js",
22
22
  "types": "dist/types/index.d.ts",
23
+ "typesVersions": {
24
+ ">=4.5 <4.9": {
25
+ "*": [
26
+ "dist/types-ts4.5/*",
27
+ "dist/types-ts4.5/index.d.ts"
28
+ ]
29
+ }
30
+ },
23
31
  "sideEffects": false,
24
32
  "atlaskit:src": "src/index.tsx",
25
33
  "af:exports": {
26
34
  ".": "./src/index.tsx"
27
35
  },
28
36
  "dependencies": {
29
- "@atlaskit/tokens": "^1.3.0",
37
+ "@atlaskit/tokens": "^1.4.0",
30
38
  "@babel/runtime": "^7.0.0",
31
39
  "@emotion/react": "^11.7.1"
32
40
  },
@@ -46,7 +54,7 @@
46
54
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
47
55
  "@testing-library/react": "^12.1.5",
48
56
  "react-dom": "^16.8.0",
49
- "typescript": "4.5.5",
57
+ "typescript": "~4.9.5",
50
58
  "wait-for-expect": "^1.2.0"
51
59
  },
52
60
  "techstack": {