@atlaskit/heading 3.1.0 → 4.0.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,26 @@
1
1
  # @atlaskit/heading
2
2
 
3
+ ## 4.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - [#171160](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171160)
14
+ [`0d474a7c26c0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0d474a7c26c0d) -
15
+ Migrated from `@emotion/react` to `@compiled/react` in order to improve performance, align with
16
+ the rest of the Atlaskit techstack, and support React 18 Streaming SSR.
17
+
18
+ Please note, in order to use this version of `@atlaskit/heading`, you will need to ensure that
19
+ your bundler is configured to handle `.css` imports correctly. Most bundlers come with built-in
20
+ support for `.css` imports, so you may not need to do anything. If you are using a different
21
+ bundler, please refer to the documentation for that bundler to understand how to handle `.css`
22
+ imports.
23
+
3
24
  ## 3.1.0
4
25
 
5
26
  ### Minor Changes
@@ -25,6 +25,7 @@ var sizeTagMap = {
25
25
  xxsmall: 'h6'
26
26
  };
27
27
  var headingResetStyles = (0, _react.css)({
28
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
28
29
  letterSpacing: 'normal',
29
30
  marginBlock: 0,
30
31
  textTransform: 'none'
@@ -17,6 +17,7 @@ const sizeTagMap = {
17
17
  xxsmall: 'h6'
18
18
  };
19
19
  const headingResetStyles = css({
20
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
20
21
  letterSpacing: 'normal',
21
22
  marginBlock: 0,
22
23
  textTransform: 'none'
@@ -18,6 +18,7 @@ var sizeTagMap = {
18
18
  xxsmall: 'h6'
19
19
  };
20
20
  var headingResetStyles = css({
21
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
21
22
  letterSpacing: 'normal',
22
23
  marginBlock: 0,
23
24
  textTransform: 'none'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/heading",
3
- "version": "3.1.0",
3
+ "version": "4.0.1",
4
4
  "description": "A heading is a typography component used to display text in different sizes and formats.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -20,7 +20,7 @@
20
20
  "team": "Design System Team",
21
21
  "website": {
22
22
  "name": "Heading",
23
- "category": "Components",
23
+ "category": "Text and data display",
24
24
  "status": {
25
25
  "type": "beta"
26
26
  }
@@ -31,8 +31,8 @@
31
31
  "codegen": "ts-node ./scripts/codegen.tsx"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/primitives": "^13.2.0",
35
- "@atlaskit/tokens": "^2.2.0",
34
+ "@atlaskit/primitives": "^13.3.0",
35
+ "@atlaskit/tokens": "^3.0.0",
36
36
  "@babel/runtime": "^7.0.0",
37
37
  "@emotion/react": "^11.7.1"
38
38
  },
@@ -43,9 +43,9 @@
43
43
  "@af/accessibility-testing": "*",
44
44
  "@af/formatting": "*",
45
45
  "@af/integration-testing": "*",
46
- "@atlaskit/ds-lib": "^3.2.0",
46
+ "@atlaskit/ds-lib": "^3.3.0",
47
47
  "@atlaskit/ssr": "*",
48
- "@atlaskit/toggle": "^13.4.0",
48
+ "@atlaskit/toggle": "^14.0.0",
49
49
  "@atlaskit/visual-regression": "*",
50
50
  "@atlassian/codegen": "^0.1.0",
51
51
  "@testing-library/react": "^12.1.5",