@atlaskit/progress-tracker 8.3.1 → 8.3.3

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,17 @@
1
1
  # @atlaskit/progress-tracker
2
2
 
3
+ ## 8.3.3
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
+
9
+ ## 8.3.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
14
+
3
15
  ## 8.3.1
4
16
 
5
17
  ### Patch Changes
@@ -50,12 +50,15 @@ var containerStyles = (0, _react2.css)({
50
50
  position: 'relative'
51
51
  });
52
52
  var listItemStyles = (0, _react2.css)({
53
- margin: 0,
53
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
54
+ margin: "var(--ds-scale-0, 0px)",
54
55
  overflowWrap: 'break-word'
55
56
  });
56
57
  var titleStyles = (0, _react2.css)({
57
58
  marginTop: _constants2.LABEL_TOP_SPACING,
59
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
58
60
  marginRight: 'auto',
61
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
59
62
  marginLeft: 'auto',
60
63
  fontSize: (0, _constants.fontSize)(),
61
64
  lineHeight: '16px',
@@ -44,12 +44,16 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
44
44
  var containerStyles = (0, _react2.css)({
45
45
  display: 'grid',
46
46
  width: '100%',
47
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
47
48
  margin: '0 auto',
48
- padding: 0,
49
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
50
+ padding: "var(--ds-scale-0, 0px)",
51
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
49
52
  gap: "var(".concat(_constants2.varSpacing, ")"),
50
53
  listStyleType: 'none',
51
54
  '&&': {
52
- marginTop: 40
55
+ // TODO Delete this comment after verifying spacing token -> previous value `40`
56
+ marginTop: "var(--ds-scale-500, 40px)"
53
57
  }
54
58
  });
55
59
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-tracker",
3
- "version": "8.3.1",
3
+ "version": "8.3.3",
4
4
  "sideEffects": false
5
5
  }
@@ -16,12 +16,15 @@ const containerStyles = css({
16
16
  position: 'relative'
17
17
  });
18
18
  const listItemStyles = 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
  overflowWrap: 'break-word'
21
22
  });
22
23
  const titleStyles = css({
23
24
  marginTop: LABEL_TOP_SPACING,
25
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
24
26
  marginRight: 'auto',
27
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
25
28
  marginLeft: 'auto',
26
29
  fontSize: fontSize(),
27
30
  lineHeight: '16px',
@@ -12,12 +12,16 @@ import Stage from './internal/stage';
12
12
  const containerStyles = css({
13
13
  display: 'grid',
14
14
  width: '100%',
15
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
15
16
  margin: '0 auto',
16
- padding: 0,
17
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
18
+ padding: "var(--ds-scale-0, 0px)",
19
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
17
20
  gap: `var(${varSpacing})`,
18
21
  listStyleType: 'none',
19
22
  '&&': {
20
- marginTop: 40
23
+ // TODO Delete this comment after verifying spacing token -> previous value `40`
24
+ marginTop: "var(--ds-scale-500, 40px)"
21
25
  }
22
26
  });
23
27
  export default class ProgressTracker extends PureComponent {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-tracker",
3
- "version": "8.3.1",
3
+ "version": "8.3.3",
4
4
  "sideEffects": false
5
5
  }
@@ -30,12 +30,15 @@ var containerStyles = css({
30
30
  position: 'relative'
31
31
  });
32
32
  var listItemStyles = css({
33
- margin: 0,
33
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
34
+ margin: "var(--ds-scale-0, 0px)",
34
35
  overflowWrap: 'break-word'
35
36
  });
36
37
  var titleStyles = css({
37
38
  marginTop: LABEL_TOP_SPACING,
39
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
38
40
  marginRight: 'auto',
41
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
39
42
  marginLeft: 'auto',
40
43
  fontSize: fontSize(),
41
44
  lineHeight: '16px',
@@ -26,12 +26,16 @@ import Stage from './internal/stage';
26
26
  var containerStyles = css({
27
27
  display: 'grid',
28
28
  width: '100%',
29
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
29
30
  margin: '0 auto',
30
- padding: 0,
31
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
32
+ padding: "var(--ds-scale-0, 0px)",
33
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
31
34
  gap: "var(".concat(varSpacing, ")"),
32
35
  listStyleType: 'none',
33
36
  '&&': {
34
- marginTop: 40
37
+ // TODO Delete this comment after verifying spacing token -> previous value `40`
38
+ marginTop: "var(--ds-scale-500, 40px)"
35
39
  }
36
40
  });
37
41
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-tracker",
3
- "version": "8.3.1",
3
+ "version": "8.3.3",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-tracker",
3
- "version": "8.3.1",
3
+ "version": "8.3.3",
4
4
  "description": "A progress tracker displays the steps and progress through a journey.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -15,13 +15,15 @@
15
15
  "typesVersions": {
16
16
  ">=4.0 <4.5": {
17
17
  "*": [
18
- "dist/types-ts4.0/*"
18
+ "dist/types-ts4.0/*",
19
+ "dist/types-ts4.0/index.d.ts"
19
20
  ]
20
21
  }
21
22
  },
22
23
  "sideEffects": false,
23
24
  "atlaskit:src": "src/index.tsx",
24
25
  "atlassian": {
26
+ "disableProductCI": true,
25
27
  "team": "Design System Team",
26
28
  "releaseModel": "scheduled",
27
29
  "website": {
@@ -43,8 +45,8 @@
43
45
  "@atlaskit/button": "^16.3.0",
44
46
  "@atlaskit/docs": "*",
45
47
  "@atlaskit/ds-lib": "^2.0.1",
46
- "@atlaskit/icon": "^21.10.0",
47
- "@atlaskit/section-message": "^6.2.0",
48
+ "@atlaskit/icon": "^21.11.0",
49
+ "@atlaskit/section-message": "^6.3.0",
48
50
  "@atlaskit/ssr": "*",
49
51
  "@atlaskit/visual-regression": "*",
50
52
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
@@ -62,6 +64,7 @@
62
64
  "@repo/internal": {
63
65
  "dom-events": "use-bind-event-listener",
64
66
  "design-system": "v1",
67
+ "design-tokens": "spacing",
65
68
  "theming": "tokens",
66
69
  "styling": [
67
70
  "static",
package/report.api.md CHANGED
@@ -1,10 +1,13 @@
1
- ## API Report File for "@atlaskit/progress-tracker"
1
+ ## API Report File for "@atlaskit/progress-tracker".
2
2
 
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
3
+ > Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
4
6
 
5
7
  ```ts
6
8
  /// <reference types="react" />
7
9
 
10
+ import { jsx } from '@emotion/react';
8
11
  import { PureComponent } from 'react';
9
12
 
10
13
  declare interface LinkComponentProps {
@@ -19,7 +22,7 @@ export declare class ProgressTracker extends PureComponent<
19
22
  items: never[];
20
23
  spacing: string;
21
24
  render: {
22
- link: ({ item }: LinkComponentProps) => JSX.Element;
25
+ link: ({ item }: LinkComponentProps) => jsx.JSX.Element;
23
26
  };
24
27
  animated: boolean;
25
28
  label: string;
@@ -36,7 +39,7 @@ export declare class ProgressTracker extends PureComponent<
36
39
  }[];
37
40
  };
38
41
  UNSAFE_componentWillReceiveProps(nextProps: ProgressTrackerProps): void;
39
- render(): JSX.Element;
42
+ render(): jsx.JSX.Element;
40
43
  }
41
44
 
42
45
  export declare interface ProgressTrackerProps {