@atlaskit/heading 1.2.1 → 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,21 @@
1
1
  # @atlaskit/heading
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
+
9
+ ## 1.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 1.2.1
4
20
 
5
21
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/heading",
3
- "version": "1.2.1",
3
+ "version": "1.3.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/heading",
3
- "version": "1.2.1",
3
+ "version": "1.3.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/heading",
3
- "version": "1.2.1",
3
+ "version": "1.3.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode } from 'react';
2
- declare type HeadingElement = 1 | 2 | 3 | 4 | 5 | 6;
2
+ type HeadingElement = 1 | 2 | 3 | 4 | 5 | 6;
3
3
  export declare const useHeadingElement: () => HeadingElement;
4
4
  export interface HeadingContextProps {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- export declare type HeadingProps = {
2
+ export type HeadingProps = {
3
3
  /**
4
4
  * A `testId` prop is provided for specified elements, which is a unique
5
5
  * string that appears as a data attribute `data-testid` in the rendered code,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/heading",
3
- "version": "1.2.1",
3
+ "version": "1.3.1",
4
4
  "description": "A heading is a typography component used to display text in different sizes and formats.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,13 +23,21 @@
23
23
  "module": "dist/esm/index.js",
24
24
  "module:es2019": "dist/es2019/index.js",
25
25
  "types": "dist/types/index.d.ts",
26
+ "typesVersions": {
27
+ ">=4.5 <4.9": {
28
+ "*": [
29
+ "dist/types-ts4.5/*",
30
+ "dist/types-ts4.5/index.d.ts"
31
+ ]
32
+ }
33
+ },
26
34
  "sideEffects": false,
27
35
  "atlaskit:src": "src/index.tsx",
28
36
  "af:exports": {
29
37
  ".": "./src/index.tsx"
30
38
  },
31
39
  "dependencies": {
32
- "@atlaskit/tokens": "^1.2.0",
40
+ "@atlaskit/tokens": "^1.4.0",
33
41
  "@babel/runtime": "^7.0.0",
34
42
  "@emotion/react": "^11.7.1"
35
43
  },
@@ -37,20 +45,20 @@
37
45
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
38
46
  },
39
47
  "devDependencies": {
40
- "@atlaskit/button": "^16.6.0",
48
+ "@atlaskit/button": "^16.7.0",
41
49
  "@atlaskit/docs": "*",
42
50
  "@atlaskit/ds-explorations": "*",
43
- "@atlaskit/ds-lib": "^2.0.1",
44
- "@atlaskit/form": "^8.8.0",
51
+ "@atlaskit/ds-lib": "^2.2.0",
52
+ "@atlaskit/form": "^8.11.0",
45
53
  "@atlaskit/primitives": "*",
46
54
  "@atlaskit/ssr": "*",
47
- "@atlaskit/toggle": "^12.5.0",
55
+ "@atlaskit/toggle": "^12.6.0",
48
56
  "@atlaskit/visual-regression": "*",
49
57
  "@atlaskit/webdriver-runner": "*",
50
58
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
51
59
  "@testing-library/react": "^12.1.5",
52
60
  "react-dom": "^16.8.0",
53
- "typescript": "4.5.5",
61
+ "typescript": "~4.9.5",
54
62
  "wait-for-expect": "^1.2.0"
55
63
  },
56
64
  "techstack": {