Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/progress-tracker

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/progress-tracker - npm Package Compare versions

Comparing version 8.0.4 to 8.1.0

dist/cjs/internal/bar.js

6

CHANGELOG.md
# @atlaskit/progress-tracker
## 8.1.0
### Minor Changes
- [`d2429272ffa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2429272ffa) - Migrates usage of `styled-components` to `@emotion`. Under the hood the component also no longer uses `@atlaskit/page/grid`, although still uses the same spacing scale.
## 8.0.4

@@ -4,0 +10,0 @@

6

dist/cjs/constants.js

@@ -11,3 +11,5 @@ "use strict";

var defaultGridSize = (0, _constants.gridSize)();
/** Ideally these are exported by @atlaskit/page */
/**
* Ideally these are exported by @atlaskit/page
*/

@@ -18,4 +20,4 @@ exports.defaultGridSize = defaultGridSize;

cosy: defaultGridSize * 2,
compact: defaultGridSize * 0.5
compact: defaultGridSize / 2
};
exports.spacing = spacing;

@@ -11,6 +11,6 @@ "use strict";

get: function get() {
return _ProgressTracker.default;
return _progressTracker.default;
}
});
var _ProgressTracker = _interopRequireDefault(require("./ProgressTracker"));
var _progressTracker = _interopRequireDefault(require("./progress-tracker"));
{
"name": "@atlaskit/progress-tracker",
"version": "8.0.4",
"version": "8.1.0",
"sideEffects": false
}

@@ -1,4 +0,6 @@

import { gridSize } from '@atlaskit/theme/constants';
export const defaultGridSize = gridSize();
/** Ideally these are exported by @atlaskit/page */
import { gridSize as getGridSize } from '@atlaskit/theme/constants';
export const defaultGridSize = getGridSize();
/**
* Ideally these are exported by @atlaskit/page
*/

@@ -8,3 +10,3 @@ export const spacing = {

cosy: defaultGridSize * 2,
compact: defaultGridSize * 0.5
compact: defaultGridSize / 2
};

@@ -1,1 +0,1 @@

export { default as ProgressTracker } from './ProgressTracker';
export { default as ProgressTracker } from './progress-tracker';
{
"name": "@atlaskit/progress-tracker",
"version": "8.0.4",
"version": "8.1.0",
"sideEffects": false
}

@@ -1,4 +0,6 @@

import { gridSize } from '@atlaskit/theme/constants';
export var defaultGridSize = gridSize();
/** Ideally these are exported by @atlaskit/page */
import { gridSize as getGridSize } from '@atlaskit/theme/constants';
export var defaultGridSize = getGridSize();
/**
* Ideally these are exported by @atlaskit/page
*/

@@ -8,3 +10,3 @@ export var spacing = {

cosy: defaultGridSize * 2,
compact: defaultGridSize * 0.5
compact: defaultGridSize / 2
};

@@ -1,1 +0,1 @@

export { default as ProgressTracker } from './ProgressTracker';
export { default as ProgressTracker } from './progress-tracker';
{
"name": "@atlaskit/progress-tracker",
"version": "8.0.4",
"version": "8.1.0",
"sideEffects": false
}
export declare const defaultGridSize: number;
/** Ideally these are exported by @atlaskit/page */
export declare const spacing: Record<string, number>;
/**
* Ideally these are exported by @atlaskit/page
*/
export declare const spacing: {
readonly comfortable: number;
readonly cosy: number;
readonly compact: number;
};
export declare type Spacing = keyof typeof spacing;

@@ -1,3 +0,3 @@

export { default as ProgressTracker } from './ProgressTracker';
export type { ProgressTrackerProps } from './ProgressTracker';
export { default as ProgressTracker } from './progress-tracker';
export type { ProgressTrackerProps } from './progress-tracker';
export type { Stages, Stage } from './types';

@@ -1,4 +0,10 @@

export declare type StatusType = 'unvisited' | 'visited' | 'current' | 'disabled';
/** Ideally these are exported by @atlaskit/page */
export declare type Spacing = 'comfortable' | 'cosy' | 'compact';
/**
* Ideally these are exported by @atlaskit/page
*/
export type { Spacing } from './constants';
export declare type Status = 'unvisited' | 'visited' | 'current' | 'disabled';
/**
* @deprecated
*/
export declare type StatusType = Status;
export interface Stage {

@@ -8,3 +14,3 @@ id: string;

percentageComplete: number;
status: StatusType;
status: Status;
noLink?: boolean;

@@ -11,0 +17,0 @@ href?: string;

{
"name": "@atlaskit/progress-tracker",
"version": "8.0.4",
"version": "8.1.0",
"description": "A progress tracker displays the steps and progress through a journey.",

@@ -16,6 +16,5 @@ "publishConfig": {

"sideEffects": false,
"atlaskit:src": "src/index.ts",
"atlaskit:src": "src/index.tsx",
"atlassian": {
"team": "Design System Team",
"deprecatedAutoEntryPoints": true,
"inPublicMirror": true,

@@ -28,10 +27,9 @@ "releaseModel": "scheduled",

"dependencies": {
"@atlaskit/page": "^12.0.0",
"@atlaskit/theme": "^12.0.0",
"@babel/runtime": "^7.0.0",
"@emotion/core": "^10.0.9",
"react-transition-group": "^4.4.1"
},
"peerDependencies": {
"react": "^16.8.0",
"styled-components": "^3.2.6"
"react": "^16.8.0"
},

@@ -57,6 +55,17 @@ "devDependencies": {

"import-structure": "atlassian-conventions"
},
"@repo/internal": {
"design-system": "v1",
"styling": "emotion",
"analytics": "analytics-next",
"deprecation": "no-deprecated-imports"
}
},
"af:exports": {
"./constants": "./src/constants.tsx",
"./types": "./src/types.tsx",
".": "./src/index.tsx"
},
"homepage": "https://atlassian.design/components/progress-tracker/",
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc