@atlaskit/heading 2.4.3 → 2.4.5
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 +12 -0
- package/dist/cjs/heading.js +1 -1
- package/dist/cjs/heading.partial.js +2 -2
- package/dist/es2019/heading.js +1 -1
- package/dist/es2019/heading.partial.js +2 -2
- package/dist/esm/heading.js +1 -1
- package/dist/esm/heading.partial.js +2 -2
- package/dist/types/heading.d.ts +1 -1
- package/dist/types/heading.partial.d.ts +1 -1
- package/dist/types-ts4.5/heading.d.ts +1 -1
- package/dist/types-ts4.5/heading.partial.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/cjs/heading.js
CHANGED
|
@@ -15,8 +15,8 @@ var _excluded = ["level"];
|
|
|
15
15
|
/* eslint-disable @atlaskit/design-system/no-deprecated-design-token-usage */
|
|
16
16
|
/**
|
|
17
17
|
* @jsxRuntime classic
|
|
18
|
+
* @jsx jsx
|
|
18
19
|
*/
|
|
19
|
-
/** @jsx jsx */
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
21
|
// https://atlassian.design/foundations/typography
|
|
22
22
|
var levelMap = {
|
|
@@ -11,8 +11,8 @@ var _primitives = require("@atlaskit/primitives");
|
|
|
11
11
|
var _headingContext = require("./heading-context");
|
|
12
12
|
/**
|
|
13
13
|
* @jsxRuntime classic
|
|
14
|
+
* @jsx jsx
|
|
14
15
|
*/
|
|
15
|
-
/** @jsx jsx */
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
17
|
|
|
18
18
|
var sizeTagMap = {
|
|
@@ -82,7 +82,7 @@ var Heading = function Heading(_ref) {
|
|
|
82
82
|
}, children);
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
85
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
86
86
|
var headingColorStylesMap = exports.headingColorStylesMap = {
|
|
87
87
|
'color.text': (0, _react.css)({
|
|
88
88
|
color: "var(--ds-text, #172B4D)"
|
package/dist/es2019/heading.js
CHANGED
|
@@ -2,8 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
/* eslint-disable @atlaskit/design-system/no-deprecated-design-token-usage */
|
|
3
3
|
/**
|
|
4
4
|
* @jsxRuntime classic
|
|
5
|
+
* @jsx jsx
|
|
5
6
|
*/
|
|
6
|
-
/** @jsx jsx */
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { useHeading } from './heading-context';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
3
4
|
*/
|
|
4
|
-
/** @jsx jsx */
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
import { UNSAFE_inverseColorMap, UNSAFE_useSurface } from '@atlaskit/primitives';
|
|
@@ -71,7 +71,7 @@ const Heading = ({
|
|
|
71
71
|
}, children);
|
|
72
72
|
};
|
|
73
73
|
|
|
74
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
74
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
75
75
|
export const headingColorStylesMap = {
|
|
76
76
|
'color.text': css({
|
|
77
77
|
color: "var(--ds-text, #172B4D)"
|
package/dist/esm/heading.js
CHANGED
|
@@ -5,8 +5,8 @@ var _excluded = ["level"];
|
|
|
5
5
|
/* eslint-disable @atlaskit/design-system/no-deprecated-design-token-usage */
|
|
6
6
|
/**
|
|
7
7
|
* @jsxRuntime classic
|
|
8
|
+
* @jsx jsx
|
|
8
9
|
*/
|
|
9
|
-
/** @jsx jsx */
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
11
|
import { css, jsx } from '@emotion/react';
|
|
12
12
|
import { useHeading } from './heading-context';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
/**
|
|
3
3
|
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
4
5
|
*/
|
|
5
|
-
/** @jsx jsx */
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { UNSAFE_inverseColorMap, UNSAFE_useSurface } from '@atlaskit/primitives';
|
|
@@ -74,7 +74,7 @@ var Heading = function Heading(_ref) {
|
|
|
74
74
|
}, children);
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
77
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
78
78
|
export var headingColorStylesMap = {
|
|
79
79
|
'color.text': css({
|
|
80
80
|
color: "var(--ds-text, #172B4D)"
|
package/dist/types/heading.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/heading",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.5",
|
|
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/"
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"codegen": "ts-node ./scripts/codegen.tsx"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/primitives": "^
|
|
37
|
-
"@atlaskit/tokens": "^1.
|
|
36
|
+
"@atlaskit/primitives": "^12.0.0",
|
|
37
|
+
"@atlaskit/tokens": "^1.57.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0",
|
|
39
39
|
"@emotion/react": "^11.7.1"
|
|
40
40
|
},
|