@atlaskit/heading 0.1.17 → 0.1.18

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/heading
2
2
 
3
+ ## 0.1.18
4
+
5
+ ### Patch Changes
6
+
7
+ - [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
8
+
3
9
  ## 0.1.17
4
10
 
5
11
  ### Patch Changes
@@ -26,7 +26,8 @@ var levelMap = {
26
26
  h100: 'div'
27
27
  };
28
28
  var headingResetStyles = (0, _react.css)({
29
- margin: 0
29
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
30
+ margin: "var(--ds-scale-0, 0px)"
30
31
  });
31
32
  var h900Styles = (0, _react.css)({
32
33
  fontSize: 35,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/heading",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "sideEffects": false
5
5
  }
@@ -16,7 +16,8 @@ const levelMap = {
16
16
  h100: 'div'
17
17
  };
18
18
  const headingResetStyles = css({
19
- margin: 0
19
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
20
+ margin: "var(--ds-scale-0, 0px)"
20
21
  });
21
22
  const h900Styles = css({
22
23
  fontSize: 35,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/heading",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "sideEffects": false
5
5
  }
@@ -16,7 +16,8 @@ var levelMap = {
16
16
  h100: 'div'
17
17
  };
18
18
  var headingResetStyles = css({
19
- margin: 0
19
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
20
+ margin: "var(--ds-scale-0, 0px)"
20
21
  });
21
22
  var h900Styles = css({
22
23
  fontSize: 35,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/heading",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/heading",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
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",
@@ -8,6 +8,7 @@
8
8
  "registry": "https://registry.npmjs.org/"
9
9
  },
10
10
  "atlassian": {
11
+ "disableProductCI": true,
11
12
  "team": "Design System Team",
12
13
  "releaseModel": "continuous",
13
14
  "website": {
@@ -23,7 +24,8 @@
23
24
  "typesVersions": {
24
25
  ">=4.0 <4.5": {
25
26
  "*": [
26
- "dist/types-ts4.0/*"
27
+ "dist/types-ts4.0/*",
28
+ "dist/types-ts4.0/index.d.ts"
27
29
  ]
28
30
  }
29
31
  },
@@ -68,6 +70,7 @@
68
70
  ],
69
71
  "ui-components": "lite-mode",
70
72
  "analytics": "analytics-next",
73
+ "design-tokens": "spacing",
71
74
  "theming": "tokens",
72
75
  "deprecation": "no-deprecated-imports"
73
76
  }
package/report.api.md CHANGED
@@ -1,12 +1,17 @@
1
+ <!-- API Report Version: 2.3 -->
2
+
1
3
  ## API Report File for "@atlaskit/heading"
2
4
 
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
6
+ > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
+
8
+ ### Table of contents
4
9
 
5
- <!--
6
- Generated API Report version: 2.0
7
- -->
10
+ - [Main Entry Types](#main-entry-types)
8
11
 
9
- [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
12
+ ### Main Entry Types
13
+
14
+ <!--SECTION START: Main Entry Types-->
10
15
 
11
16
  ```ts
12
17
  import { FC } from 'react';
@@ -21,19 +26,21 @@ export type HeadingProps = {
21
26
  testId?: string;
22
27
  children: ReactNode;
23
28
  level:
24
- | 'h900'
25
- | 'h800'
26
- | 'h700'
27
- | 'h600'
28
- | 'h500'
29
- | 'h400'
30
- | 'h300'
29
+ | 'h100'
31
30
  | 'h200'
32
- | 'h100';
31
+ | 'h300'
32
+ | 'h400'
33
+ | 'h500'
34
+ | 'h600'
35
+ | 'h700'
36
+ | 'h800'
37
+ | 'h900';
33
38
  id?: string;
34
- as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div' | 'span';
35
- color?: 'inverse' | 'default';
39
+ as?: 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span';
40
+ color?: 'default' | 'inverse';
36
41
  };
37
42
 
38
43
  // (No @packageDocumentation comment for this package)
39
44
  ```
45
+
46
+ <!--SECTION END: Main Entry Types-->
@@ -0,0 +1,26 @@
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
+ export type HeadingProps = {
16
+ testId?: string;
17
+ children: ReactNode;
18
+ level: 'h100' | 'h200' | 'h300' | 'h400' | 'h500' | 'h600' | 'h700' | 'h800' | 'h900';
19
+ id?: string;
20
+ as?: 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span';
21
+ color?: 'default' | 'inverse';
22
+ };
23
+
24
+ // (No @packageDocumentation comment for this package)
25
+
26
+ ```