@atlaskit/progress-tracker 9.0.2 → 9.0.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,13 @@
1
1
  # @atlaskit/progress-tracker
2
2
 
3
+ ## 9.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#102501](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102501)
8
+ [`02cb9c9836baf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/02cb9c9836baf) -
9
+ Internal change only. Cleaning up orphaned code.
10
+
3
11
  ## 9.0.2
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-tracker",
3
- "version": "9.0.2",
3
+ "version": "9.0.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/"
@@ -1,45 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getTextColor = exports.getMarkerColor = exports.getFontWeight = void 0;
7
- var _colors = require("@atlaskit/theme/colors");
8
- var getMarkerColor = exports.getMarkerColor = function getMarkerColor(status) {
9
- switch (status) {
10
- case 'unvisited':
11
- return "var(--ds-icon-subtle, ".concat(_colors.N70, ")");
12
- case 'current':
13
- case 'visited':
14
- case 'disabled':
15
- return "var(--ds-icon-brand, ".concat(_colors.B300, ")");
16
- default:
17
- return;
18
- }
19
- };
20
- var getTextColor = exports.getTextColor = function getTextColor(status) {
21
- switch (status) {
22
- case 'unvisited':
23
- return "var(--ds-text-subtlest, #626F86)";
24
- case 'current':
25
- return "var(--ds-text-brand, #0C66E4)";
26
- case 'visited':
27
- return "var(--ds-text, #172B4D)";
28
- case 'disabled':
29
- return "var(--ds-text-disabled, #091E424F)";
30
- default:
31
- return;
32
- }
33
- };
34
- var getFontWeight = exports.getFontWeight = function getFontWeight(status) {
35
- switch (status) {
36
- case 'unvisited':
37
- return "var(--ds-font-weight-regular, 400)";
38
- case 'current':
39
- case 'visited':
40
- case 'disabled':
41
- return "var(--ds-font-weight-bold, 700)";
42
- default:
43
- return undefined;
44
- }
45
- };
@@ -1,39 +0,0 @@
1
- import { B300, N70 } from '@atlaskit/theme/colors';
2
- export const getMarkerColor = status => {
3
- switch (status) {
4
- case 'unvisited':
5
- return `var(--ds-icon-subtle, ${N70})`;
6
- case 'current':
7
- case 'visited':
8
- case 'disabled':
9
- return `var(--ds-icon-brand, ${B300})`;
10
- default:
11
- return;
12
- }
13
- };
14
- export const getTextColor = status => {
15
- switch (status) {
16
- case 'unvisited':
17
- return "var(--ds-text-subtlest, #626F86)";
18
- case 'current':
19
- return "var(--ds-text-brand, #0C66E4)";
20
- case 'visited':
21
- return "var(--ds-text, #172B4D)";
22
- case 'disabled':
23
- return "var(--ds-text-disabled, #091E424F)";
24
- default:
25
- return;
26
- }
27
- };
28
- export const getFontWeight = status => {
29
- switch (status) {
30
- case 'unvisited':
31
- return "var(--ds-font-weight-regular, 400)";
32
- case 'current':
33
- case 'visited':
34
- case 'disabled':
35
- return "var(--ds-font-weight-bold, 700)";
36
- default:
37
- return undefined;
38
- }
39
- };
@@ -1,39 +0,0 @@
1
- import { B300, N70 } from '@atlaskit/theme/colors';
2
- export var getMarkerColor = function getMarkerColor(status) {
3
- switch (status) {
4
- case 'unvisited':
5
- return "var(--ds-icon-subtle, ".concat(N70, ")");
6
- case 'current':
7
- case 'visited':
8
- case 'disabled':
9
- return "var(--ds-icon-brand, ".concat(B300, ")");
10
- default:
11
- return;
12
- }
13
- };
14
- export var getTextColor = function getTextColor(status) {
15
- switch (status) {
16
- case 'unvisited':
17
- return "var(--ds-text-subtlest, #626F86)";
18
- case 'current':
19
- return "var(--ds-text-brand, #0C66E4)";
20
- case 'visited':
21
- return "var(--ds-text, #172B4D)";
22
- case 'disabled':
23
- return "var(--ds-text-disabled, #091E424F)";
24
- default:
25
- return;
26
- }
27
- };
28
- export var getFontWeight = function getFontWeight(status) {
29
- switch (status) {
30
- case 'unvisited':
31
- return "var(--ds-font-weight-regular, 400)";
32
- case 'current':
33
- case 'visited':
34
- case 'disabled':
35
- return "var(--ds-font-weight-bold, 700)";
36
- default:
37
- return undefined;
38
- }
39
- };
@@ -1,4 +0,0 @@
1
- import type { Status } from '../types';
2
- export declare const getMarkerColor: (status: Status) => "var(--ds-icon-brand)" | "var(--ds-icon-subtle)" | undefined;
3
- export declare const getTextColor: (status: Status) => "var(--ds-text)" | "var(--ds-text-disabled)" | "var(--ds-text-brand)" | "var(--ds-text-subtlest)" | undefined;
4
- export declare const getFontWeight: (status: Status) => "var(--ds-font-weight-regular)" | "var(--ds-font-weight-bold)" | undefined;
@@ -1,4 +0,0 @@
1
- import type { Status } from '../types';
2
- export declare const getMarkerColor: (status: Status) => "var(--ds-icon-brand)" | "var(--ds-icon-subtle)" | undefined;
3
- export declare const getTextColor: (status: Status) => "var(--ds-text)" | "var(--ds-text-disabled)" | "var(--ds-text-brand)" | "var(--ds-text-subtlest)" | undefined;
4
- export declare const getFontWeight: (status: Status) => "var(--ds-font-weight-regular)" | "var(--ds-font-weight-bold)" | undefined;