@atlaskit/progress-tracker 8.4.2 → 8.4.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,12 @@
1
1
  # @atlaskit/progress-tracker
2
2
 
3
+ ## 8.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are no visual or behaviour changes.
8
+ - Updated dependencies
9
+
3
10
  ## 8.4.2
4
11
 
5
12
  ### Patch Changes
@@ -22,9 +22,9 @@ var varMarkerColor = '--ds--pt--mc';
22
22
  exports.varMarkerColor = varMarkerColor;
23
23
  var varBackgroundColor = '--ds--pt--bg';
24
24
  exports.varBackgroundColor = varBackgroundColor;
25
- var SEMI_BOLD_FONT_WEIGHT = '600';
25
+ var SEMI_BOLD_FONT_WEIGHT = 'semibold';
26
26
  exports.SEMI_BOLD_FONT_WEIGHT = SEMI_BOLD_FONT_WEIGHT;
27
- var REGULAR_FONT_WEIGHT = '400';
27
+ var REGULAR_FONT_WEIGHT = 'regular';
28
28
  exports.REGULAR_FONT_WEIGHT = REGULAR_FONT_WEIGHT;
29
29
  var HALF_GRID_SIZE = "var(--ds-scale-050, 4px)";
30
30
  exports.HALF_GRID_SIZE = HALF_GRID_SIZE;
@@ -161,8 +161,8 @@ var ProgressTrackerStage = /*#__PURE__*/function (_PureComponent) {
161
161
  }, (0, _react2.jsx)("div", {
162
162
  css: titleStyles
163
163
  }, (0, _react2.jsx)(_text.default, {
164
- fontSize: "14px",
165
- lineHeight: "16px",
164
+ fontSize: "size.100",
165
+ lineHeight: "lineHeight.100",
166
166
  testId: testId && "".concat(testId, "-title"),
167
167
  color: (0, _utils.getTextColor)(item.status),
168
168
  fontWeight: (0, _utils.getFontWeight)(item.status)
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-tracker",
3
- "version": "8.4.2",
3
+ "version": "8.4.3",
4
4
  "sideEffects": false
5
5
  }
@@ -7,8 +7,8 @@ export const varTransitionDelay = '--ds--pt--td';
7
7
  export const varTransitionEasing = '--ds--pt--te';
8
8
  export const varMarkerColor = '--ds--pt--mc';
9
9
  export const varBackgroundColor = '--ds--pt--bg';
10
- export const SEMI_BOLD_FONT_WEIGHT = '600';
11
- export const REGULAR_FONT_WEIGHT = '400';
10
+ export const SEMI_BOLD_FONT_WEIGHT = 'semibold';
11
+ export const REGULAR_FONT_WEIGHT = 'regular';
12
12
  export const HALF_GRID_SIZE = "var(--ds-scale-050, 4px)";
13
13
  export const PROGRESS_BAR_HEIGHT = "var(--ds-scale-100, 8px)"; // Labels sit 16px from bottom of progress bar i.e. 8 + 16
14
14
 
@@ -119,8 +119,8 @@ export default class ProgressTrackerStage extends PureComponent {
119
119
  }, jsx("div", {
120
120
  css: titleStyles
121
121
  }, jsx(Text, {
122
- fontSize: "14px",
123
- lineHeight: "16px",
122
+ fontSize: "size.100",
123
+ lineHeight: "lineHeight.100",
124
124
  testId: testId && `${testId}-title`,
125
125
  color: getTextColor(item.status),
126
126
  fontWeight: getFontWeight(item.status)
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-tracker",
3
- "version": "8.4.2",
3
+ "version": "8.4.3",
4
4
  "sideEffects": false
5
5
  }
@@ -7,8 +7,8 @@ export var varTransitionDelay = '--ds--pt--td';
7
7
  export var varTransitionEasing = '--ds--pt--te';
8
8
  export var varMarkerColor = '--ds--pt--mc';
9
9
  export var varBackgroundColor = '--ds--pt--bg';
10
- export var SEMI_BOLD_FONT_WEIGHT = '600';
11
- export var REGULAR_FONT_WEIGHT = '400';
10
+ export var SEMI_BOLD_FONT_WEIGHT = 'semibold';
11
+ export var REGULAR_FONT_WEIGHT = 'regular';
12
12
  export var HALF_GRID_SIZE = "var(--ds-scale-050, 4px)";
13
13
  export var PROGRESS_BAR_HEIGHT = "var(--ds-scale-100, 8px)"; // Labels sit 16px from bottom of progress bar i.e. 8 + 16
14
14
 
@@ -143,8 +143,8 @@ var ProgressTrackerStage = /*#__PURE__*/function (_PureComponent) {
143
143
  }, jsx("div", {
144
144
  css: titleStyles
145
145
  }, jsx(Text, {
146
- fontSize: "14px",
147
- lineHeight: "16px",
146
+ fontSize: "size.100",
147
+ lineHeight: "lineHeight.100",
148
148
  testId: testId && "".concat(testId, "-title"),
149
149
  color: getTextColor(item.status),
150
150
  fontWeight: getFontWeight(item.status)
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-tracker",
3
- "version": "8.4.2",
3
+ "version": "8.4.3",
4
4
  "sideEffects": false
5
5
  }
@@ -7,8 +7,8 @@ export declare const varTransitionDelay = "--ds--pt--td";
7
7
  export declare const varTransitionEasing = "--ds--pt--te";
8
8
  export declare const varMarkerColor = "--ds--pt--mc";
9
9
  export declare const varBackgroundColor = "--ds--pt--bg";
10
- export declare const SEMI_BOLD_FONT_WEIGHT = "600";
11
- export declare const REGULAR_FONT_WEIGHT = "400";
10
+ export declare const SEMI_BOLD_FONT_WEIGHT = "semibold";
11
+ export declare const REGULAR_FONT_WEIGHT = "regular";
12
12
  export declare const HALF_GRID_SIZE: "var(--ds-scale-050)";
13
13
  export declare const PROGRESS_BAR_HEIGHT: "var(--ds-scale-100)";
14
14
  export declare const LABEL_TOP_SPACING: "var(--ds-scale-300)";
@@ -2,4 +2,4 @@ import { TextColor } from '@atlaskit/ds-explorations/text';
2
2
  import type { Status } from '../types';
3
3
  export declare const getMarkerColor: (status: Status) => "var(--ds-icon-subtle)" | "var(--ds-icon-brand)" | undefined;
4
4
  export declare const getTextColor: (status: Status) => TextColor | undefined;
5
- export declare const getFontWeight: (status: Status) => "600" | "400" | undefined;
5
+ export declare const getFontWeight: (status: Status) => "semibold" | "regular" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-tracker",
3
- "version": "8.4.2",
3
+ "version": "8.4.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/"
@@ -24,7 +24,7 @@
24
24
  }
25
25
  },
26
26
  "dependencies": {
27
- "@atlaskit/ds-explorations": "^1.6.0",
27
+ "@atlaskit/ds-explorations": "^2.0.0",
28
28
  "@atlaskit/theme": "^12.2.0",
29
29
  "@atlaskit/tokens": "^0.13.0",
30
30
  "@babel/runtime": "^7.0.0",
package/report.api.md CHANGED
@@ -1,4 +1,4 @@
1
- <!-- API Report Version: 2.2 -->
1
+ <!-- API Report Version: 2.3 -->
2
2
 
3
3
  ## API Report File for "@atlaskit/progress-tracker"
4
4