@atlaskit/progress-tracker
Advanced tools
Comparing version 8.0.4 to 8.1.0
# @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 @@ |
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
54
1538
79463
1
+ Added@emotion/core@^10.0.9
+ Added@emotion/cache@10.0.29(transitive)
+ Added@emotion/core@10.3.1(transitive)
+ Added@emotion/css@10.0.27(transitive)
+ Added@emotion/hash@0.8.0(transitive)
+ Added@emotion/memoize@0.7.4(transitive)
+ Added@emotion/serialize@0.11.16(transitive)
+ Added@emotion/sheet@0.9.4(transitive)
+ Added@emotion/stylis@0.8.5(transitive)
+ Added@emotion/unitless@0.7.5(transitive)
+ Added@emotion/utils@0.11.3(transitive)
+ Added@emotion/weak-memoize@0.2.5(transitive)
+ Addedbabel-plugin-emotion@10.2.2(transitive)
+ Addedbabel-plugin-macros@2.8.0(transitive)
+ Addedbabel-plugin-syntax-jsx@6.18.0(transitive)
+ Addedcosmiconfig@6.0.0(transitive)
+ Addedcsstype@2.6.21(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
- Removed@atlaskit/page@^12.0.0
- Removed@atlaskit/page@12.6.1(transitive)
- Removed@emotion/babel-plugin@11.13.5(transitive)
- Removed@emotion/cache@11.14.0(transitive)
- Removed@emotion/hash@0.9.2(transitive)
- Removed@emotion/memoize@0.9.0(transitive)
- Removed@emotion/react@11.14.0(transitive)
- Removed@emotion/serialize@1.3.3(transitive)
- Removed@emotion/sheet@1.4.0(transitive)
- Removed@emotion/unitless@0.10.0(transitive)
- Removed@emotion/use-insertion-effect-with-fallbacks@1.2.0(transitive)
- Removed@emotion/utils@1.4.2(transitive)
- Removed@emotion/weak-memoize@0.4.0(transitive)
- Removedasap@2.0.6(transitive)
- Removedbabel-plugin-macros@3.1.0(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedcamelize@1.0.1(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcosmiconfig@7.1.0(transitive)
- Removedcss-color-keywords@1.0.0(transitive)
- Removedcss-to-react-native@2.3.2(transitive)
- Removedencoding@0.1.13(transitive)
- Removedescape-string-regexp@4.0.0(transitive)
- Removedfbjs@0.8.18(transitive)
- Removedhas-flag@1.0.0(transitive)
- Removedhoist-non-react-statics@2.5.53.3.2(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedieee754@1.2.1(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedpostcss-value-parser@3.3.1(transitive)
- Removedpromise@7.3.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedstyled-components@3.4.10(transitive)
- Removedstylis@3.5.44.2.0(transitive)
- Removedstylis-rule-sheet@0.0.10(transitive)
- Removedsupports-color@3.2.3(transitive)
- Removedua-parser-js@0.7.40(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)