@atlaskit/progress-tracker
Advanced tools
Comparing version 8.1.0 to 8.2.0
# @atlaskit/progress-tracker | ||
## 8.2.0 | ||
### Minor Changes | ||
- [`4e96270c06e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e96270c06e) - [ux] Instrumented progress-tracker with the new theming package, `@atlaskit/tokens`. | ||
New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha). | ||
These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes. | ||
### Patch Changes | ||
- Updated dependencies | ||
## 8.1.0 | ||
@@ -4,0 +17,0 @@ |
@@ -21,3 +21,3 @@ "use strict"; | ||
left: '50%', | ||
backgroundColor: _colors.B300, | ||
backgroundColor: "var(--ds-background-brand-bold, ".concat(_colors.B300, ")"), | ||
borderBottomRightRadius: _constants2.PROGRESS_BAR_HEIGHT, | ||
@@ -24,0 +24,0 @@ borderTopRightRadius: _constants2.PROGRESS_BAR_HEIGHT, |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.LABEL_TOP_SPACING = exports.PROGRESS_BAR_HEIGHT = exports.HALF_GRID_SIZE = exports.REGULAR_FONT_WEIGHT = exports.SEMI_BOLD_FONT_WEIGHT = exports.varBackgroundColor = exports.varMarkerColor = exports.varTransitionEasing = exports.varTransitionDelay = exports.varTransitionSpeed = exports.varSpacing = exports.ANIMATION_EASE_OUT = exports.LINEAR_TRANSITION_SPEED = exports.TRANSITION_SPEED = void 0; | ||
exports.varTransitionSpeed = exports.varTransitionEasing = exports.varTransitionDelay = exports.varSpacing = exports.varMarkerColor = exports.varBackgroundColor = exports.TRANSITION_SPEED = exports.SEMI_BOLD_FONT_WEIGHT = exports.REGULAR_FONT_WEIGHT = exports.PROGRESS_BAR_HEIGHT = exports.LINEAR_TRANSITION_SPEED = exports.LABEL_TOP_SPACING = exports.HALF_GRID_SIZE = exports.ANIMATION_EASE_OUT = void 0; | ||
@@ -9,0 +9,0 @@ var _constants = require("../constants"); |
@@ -14,3 +14,3 @@ "use strict"; | ||
var linkStyles = (0, _core.css)({ | ||
color: _colors.N800, | ||
color: "var(--ds-text, ".concat(_colors.N800, ")"), | ||
cursor: 'pointer' | ||
@@ -17,0 +17,0 @@ }); |
@@ -40,5 +40,5 @@ "use strict"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | ||
@@ -45,0 +45,0 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.getFontWeight = exports.getTextColor = exports.getMarkerColor = void 0; | ||
exports.getTextColor = exports.getMarkerColor = exports.getFontWeight = void 0; | ||
@@ -16,3 +16,3 @@ var _colors = require("@atlaskit/theme/colors"); | ||
case 'unvisited': | ||
return _colors.N70; | ||
return "var(--ds-icon-subtle, ".concat(_colors.N70, ")"); | ||
@@ -22,3 +22,3 @@ case 'current': | ||
case 'disabled': | ||
return _colors.B300; | ||
return "var(--ds-icon-brand, ".concat(_colors.B300, ")"); | ||
@@ -35,12 +35,12 @@ default: | ||
case 'unvisited': | ||
return _colors.N300; | ||
return "var(--ds-text-subtlest, ".concat(_colors.N300, ")"); | ||
case 'current': | ||
return _colors.B300; | ||
return "var(--ds-text-brand, ".concat(_colors.B300, ")"); | ||
case 'visited': | ||
return _colors.N800; | ||
return "var(--ds-text, ".concat(_colors.N800, ")"); | ||
case 'disabled': | ||
return _colors.N70; | ||
return "var(--ds-text-disabled, ".concat(_colors.N70, ")"); | ||
@@ -47,0 +47,0 @@ default: |
@@ -36,5 +36,5 @@ "use strict"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | ||
@@ -41,0 +41,0 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } |
{ | ||
"name": "@atlaskit/progress-tracker", | ||
"version": "8.1.0", | ||
"version": "8.2.0", | ||
"sideEffects": false | ||
} |
@@ -10,3 +10,3 @@ /** @jsx jsx */ | ||
left: '50%', | ||
backgroundColor: B300, | ||
backgroundColor: `var(--ds-background-brand-bold, ${B300})`, | ||
borderBottomRightRadius: PROGRESS_BAR_HEIGHT, | ||
@@ -13,0 +13,0 @@ borderTopRightRadius: PROGRESS_BAR_HEIGHT, |
@@ -5,3 +5,3 @@ /** @jsx jsx */ | ||
const linkStyles = css({ | ||
color: N800, | ||
color: `var(--ds-text, ${N800})`, | ||
cursor: 'pointer' | ||
@@ -8,0 +8,0 @@ }); |
@@ -6,3 +6,3 @@ import { B300, N300, N70, N800 } from '@atlaskit/theme/colors'; | ||
case 'unvisited': | ||
return N70; | ||
return `var(--ds-icon-subtle, ${N70})`; | ||
@@ -12,3 +12,3 @@ case 'current': | ||
case 'disabled': | ||
return B300; | ||
return `var(--ds-icon-brand, ${B300})`; | ||
@@ -22,12 +22,12 @@ default: | ||
case 'unvisited': | ||
return N300; | ||
return `var(--ds-text-subtlest, ${N300})`; | ||
case 'current': | ||
return B300; | ||
return `var(--ds-text-brand, ${B300})`; | ||
case 'visited': | ||
return N800; | ||
return `var(--ds-text, ${N800})`; | ||
case 'disabled': | ||
return N70; | ||
return `var(--ds-text-disabled, ${N70})`; | ||
@@ -34,0 +34,0 @@ default: |
{ | ||
"name": "@atlaskit/progress-tracker", | ||
"version": "8.1.0", | ||
"version": "8.2.0", | ||
"sideEffects": false | ||
} |
@@ -10,3 +10,3 @@ /** @jsx jsx */ | ||
left: '50%', | ||
backgroundColor: B300, | ||
backgroundColor: "var(--ds-background-brand-bold, ".concat(B300, ")"), | ||
borderBottomRightRadius: PROGRESS_BAR_HEIGHT, | ||
@@ -13,0 +13,0 @@ borderTopRightRadius: PROGRESS_BAR_HEIGHT, |
@@ -5,3 +5,3 @@ /** @jsx jsx */ | ||
var linkStyles = css({ | ||
color: N800, | ||
color: "var(--ds-text, ".concat(N800, ")"), | ||
cursor: 'pointer' | ||
@@ -8,0 +8,0 @@ }); |
@@ -9,5 +9,5 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | ||
@@ -14,0 +14,0 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } |
@@ -6,3 +6,3 @@ import { B300, N300, N70, N800 } from '@atlaskit/theme/colors'; | ||
case 'unvisited': | ||
return N70; | ||
return "var(--ds-icon-subtle, ".concat(N70, ")"); | ||
@@ -12,3 +12,3 @@ case 'current': | ||
case 'disabled': | ||
return B300; | ||
return "var(--ds-icon-brand, ".concat(B300, ")"); | ||
@@ -22,12 +22,12 @@ default: | ||
case 'unvisited': | ||
return N300; | ||
return "var(--ds-text-subtlest, ".concat(N300, ")"); | ||
case 'current': | ||
return B300; | ||
return "var(--ds-text-brand, ".concat(B300, ")"); | ||
case 'visited': | ||
return N800; | ||
return "var(--ds-text, ".concat(N800, ")"); | ||
case 'disabled': | ||
return N70; | ||
return "var(--ds-text-disabled, ".concat(N70, ")"); | ||
@@ -34,0 +34,0 @@ default: |
@@ -9,5 +9,5 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | ||
@@ -14,0 +14,0 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } |
{ | ||
"name": "@atlaskit/progress-tracker", | ||
"version": "8.1.0", | ||
"version": "8.2.0", | ||
"sideEffects": false | ||
} |
@@ -0,1 +1,2 @@ | ||
/// <reference types="react" /> | ||
interface StageBarProps { | ||
@@ -2,0 +3,0 @@ testId?: string; |
import type { Status } from '../types'; | ||
export declare const getMarkerColor: (status: Status) => "#0065FF" | "#A5ADBA" | undefined; | ||
export declare const getTextColor: (status: Status) => "#172B4D" | "#0065FF" | "#A5ADBA" | "#5E6C84" | undefined; | ||
export declare const getMarkerColor: (status: Status) => "var(--ds-icon-subtle)" | "var(--ds-icon-brand)" | undefined; | ||
export declare const getTextColor: (status: Status) => "var(--ds-text)" | "var(--ds-text-subtlest)" | "var(--ds-text-brand)" | "var(--ds-text-disabled)" | undefined; | ||
export declare const getFontWeight: (status: Status) => "600" | "400" | undefined; |
@@ -0,1 +1,2 @@ | ||
/// <reference types="react" /> | ||
/** | ||
@@ -2,0 +3,0 @@ * Ideally these are exported by @atlaskit/page |
{ | ||
"name": "@atlaskit/progress-tracker", | ||
"version": "8.1.0", | ||
"version": "8.2.0", | ||
"description": "A progress tracker displays the steps and progress through a journey.", | ||
@@ -19,3 +19,2 @@ "publishConfig": { | ||
"team": "Design System Team", | ||
"inPublicMirror": true, | ||
"releaseModel": "scheduled", | ||
@@ -27,3 +26,4 @@ "website": { | ||
"dependencies": { | ||
"@atlaskit/theme": "^12.0.0", | ||
"@atlaskit/theme": "^12.1.0", | ||
"@atlaskit/tokens": "^0.7.0", | ||
"@babel/runtime": "^7.0.0", | ||
@@ -37,6 +37,5 @@ "@emotion/core": "^10.0.9", | ||
"devDependencies": { | ||
"@atlaskit/build-utils": "*", | ||
"@atlaskit/button": "^16.0.0", | ||
"@atlaskit/button": "^16.2.0", | ||
"@atlaskit/docs": "*", | ||
"@atlaskit/icon": "^21.9.0", | ||
"@atlaskit/icon": "^21.10.0", | ||
"@atlaskit/section-message": "^6.0.0", | ||
@@ -59,3 +58,7 @@ "@atlaskit/ssr": "*", | ||
"design-system": "v1", | ||
"styling": "emotion", | ||
"theming": "tokens", | ||
"styling": [ | ||
"static", | ||
"emotion" | ||
], | ||
"analytics": "analytics-next", | ||
@@ -62,0 +65,0 @@ "deprecation": "no-deprecated-imports" |
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
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
80855
13
1540
0
6
+ Added@atlaskit/tokens@^0.7.0
+ Added@atlaskit/ds-lib@1.4.2(transitive)
+ Added@atlaskit/tokens@0.7.3(transitive)
Updated@atlaskit/theme@^12.1.0