@atlaskit/heading 1.3.6 → 1.3.7
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 +6 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +3 -6
- package/tmp/api-report-tmp.d.ts +0 -39
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/heading
|
|
2
2
|
|
|
3
|
+
## 1.3.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
8
|
+
|
|
3
9
|
## 1.3.6
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/heading",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
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",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
".": "./src/index.tsx"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@atlaskit/tokens": "^1.
|
|
40
|
+
"@atlaskit/tokens": "^1.11.0",
|
|
41
41
|
"@babel/runtime": "^7.0.0",
|
|
42
42
|
"@emotion/react": "^11.7.1"
|
|
43
43
|
},
|
|
@@ -45,12 +45,9 @@
|
|
|
45
45
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@
|
|
48
|
+
"@af/accessibility-testing": "*",
|
|
49
49
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
50
|
-
"@atlaskit/form": "^8.11.0",
|
|
51
|
-
"@atlaskit/primitives": "~0.12.0",
|
|
52
50
|
"@atlaskit/ssr": "*",
|
|
53
|
-
"@atlaskit/toggle": "^12.6.0",
|
|
54
51
|
"@atlaskit/visual-regression": "*",
|
|
55
52
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
56
53
|
"@testing-library/react": "^12.1.5",
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/heading"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { FC } from 'react';
|
|
8
|
-
import { ReactNode } from 'react';
|
|
9
|
-
|
|
10
|
-
// @public
|
|
11
|
-
const Heading: FC<HeadingProps>;
|
|
12
|
-
export default Heading;
|
|
13
|
-
|
|
14
|
-
// @public (undocumented)
|
|
15
|
-
interface HeadingContextProps {
|
|
16
|
-
// (undocumented)
|
|
17
|
-
children: ReactNode;
|
|
18
|
-
value?: HeadingElement;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// @public
|
|
22
|
-
export const HeadingContextProvider: FC<HeadingContextProps>;
|
|
23
|
-
|
|
24
|
-
// @public (undocumented)
|
|
25
|
-
type HeadingElement = 1 | 2 | 3 | 4 | 5 | 6;
|
|
26
|
-
|
|
27
|
-
// @public (undocumented)
|
|
28
|
-
export type HeadingProps = {
|
|
29
|
-
testId?: string;
|
|
30
|
-
children: ReactNode;
|
|
31
|
-
level: 'h100' | 'h200' | 'h300' | 'h400' | 'h500' | 'h600' | 'h700' | 'h800' | 'h900';
|
|
32
|
-
id?: string;
|
|
33
|
-
as?: 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span';
|
|
34
|
-
color?: 'default' | 'inverse';
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
// (No @packageDocumentation comment for this package)
|
|
38
|
-
|
|
39
|
-
```
|