@atlaskit/icon-priority
Advanced tools
Comparing version
# @atlaskit/icon-priority | ||
## 6.2.4 | ||
### Patch Changes | ||
- [`df2bb5891ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df2bb5891ef) - Use named export of base icon in all icon-\* glyphs | ||
## 6.2.3 | ||
@@ -4,0 +10,0 @@ |
@@ -61,3 +61,3 @@ import core, { | ||
.find(j.ImportDeclaration) | ||
.filter(path => path.node.source.value === importPath).length; | ||
.filter((path) => path.node.source.value === importPath).length; | ||
} | ||
@@ -79,3 +79,3 @@ | ||
.find(j.ImportDeclaration) | ||
.filter(path => path.value.source.value === packageName).length > 0; | ||
.filter((path) => path.value.source.value === packageName).length > 0; | ||
@@ -88,3 +88,3 @@ if (exists) { | ||
.find(j.ImportDeclaration) | ||
.filter(path => path.value.source.value === relativeToPackage) | ||
.filter((path) => path.value.source.value === relativeToPackage) | ||
.insertBefore(j.importDeclaration([], j.literal(packageName))); | ||
@@ -106,4 +106,4 @@ } | ||
.find(j.ImportDeclaration) | ||
.filter(path => path.value.source.value === packageName) | ||
.replaceWith(declaration => { | ||
.filter((path) => path.value.source.value === packageName) | ||
.replaceWith((declaration) => { | ||
return j.importDeclaration( | ||
@@ -115,3 +115,3 @@ [ | ||
...(declaration.value.specifiers || []).filter( | ||
item => item.type === 'ImportSpecifier' && item.imported != null, | ||
(item) => item.type === 'ImportSpecifier' && item.imported != null, | ||
), | ||
@@ -118,0 +118,0 @@ importSpecifier, |
{ | ||
"name": "@atlaskit/icon-priority", | ||
"version": "6.2.3", | ||
"version": "6.2.4", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/icon-priority", | ||
"version": "6.2.3", | ||
"version": "6.2.4", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/icon-priority", | ||
"version": "6.2.3", | ||
"version": "6.2.4", | ||
"sideEffects": false | ||
} |
@@ -10,7 +10,7 @@ "use strict"; | ||
var _base = _interopRequireDefault(require("@atlaskit/icon/base")); | ||
var _base = require("@atlaskit/icon/base"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const PriorityBlockerIcon = props => /*#__PURE__*/_react.default.createElement(_base.default, Object.assign({ | ||
const PriorityBlockerIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({ | ||
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zM6 11a1 1 0 000 2h12a1 1 0 000-2H6z" fill="#FF5630"/></svg>` | ||
@@ -17,0 +17,0 @@ }, props)); |
@@ -10,7 +10,7 @@ "use strict"; | ||
var _base = _interopRequireDefault(require("@atlaskit/icon/base")); | ||
var _base = require("@atlaskit/icon/base"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const PriorityCriticalIcon = props => /*#__PURE__*/_react.default.createElement(_base.default, Object.assign({ | ||
const PriorityCriticalIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({ | ||
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path d="M4.671 7.165l6.643-3.946a1.372 1.372 0 011.403.002l6.614 3.944c.415.247.669.695.669 1.178v11.253a1.372 1.372 0 01-2.074 1.179l-5.91-3.52-5.944 3.526A1.372 1.372 0 014 19.6V8.345c0-.484.255-.933.671-1.18z" fill="#FF5630"/></svg>` | ||
@@ -17,0 +17,0 @@ }, props)); |
@@ -10,7 +10,7 @@ "use strict"; | ||
var _base = _interopRequireDefault(require("@atlaskit/icon/base")); | ||
var _base = require("@atlaskit/icon/base"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const PriorityHighIcon = props => /*#__PURE__*/_react.default.createElement(_base.default, Object.assign({ | ||
const PriorityHighIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({ | ||
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path d="M12.017 11.182l-6.454 3.865a1 1 0 11-1.027-1.716l6.97-4.174a1 1 0 011.03.003l6.906 4.173a1 1 0 01-1.035 1.712l-6.39-3.863z" fill="#FF5630"/></svg>` | ||
@@ -17,0 +17,0 @@ }, props)); |
@@ -10,7 +10,7 @@ "use strict"; | ||
var _base = _interopRequireDefault(require("@atlaskit/icon/base")); | ||
var _base = require("@atlaskit/icon/base"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const PriorityHighestIcon = props => /*#__PURE__*/_react.default.createElement(_base.default, Object.assign({ | ||
const PriorityHighestIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({ | ||
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path d="M12.005 8.187l-6.453 3.865a1 1 0 01-1.028-1.716l6.97-4.174a1 1 0 011.031.002l6.906 4.174a1 1 0 11-1.035 1.712l-6.39-3.863z" fill="#FF5630"/><path d="M5.552 18.054a1 1 0 11-1.028-1.715l6.97-4.174a1 1 0 011.031.002l6.906 4.174a1 1 0 11-1.035 1.711l-6.39-3.862-6.454 3.864z" fill="#FF7452"/></svg>` | ||
@@ -17,0 +17,0 @@ }, props)); |
@@ -10,7 +10,7 @@ "use strict"; | ||
var _base = _interopRequireDefault(require("@atlaskit/icon/base")); | ||
var _base = require("@atlaskit/icon/base"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const PriorityLowIcon = props => /*#__PURE__*/_react.default.createElement(_base.default, Object.assign({ | ||
const PriorityLowIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({ | ||
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path d="M11.996 13.861l6.454-3.865a1 1 0 111.027 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.57 11.71A1 1 0 015.606 10l6.39 3.862z" fill="#0065FF"/></svg>` | ||
@@ -17,0 +17,0 @@ }, props)); |
@@ -10,7 +10,7 @@ "use strict"; | ||
var _base = _interopRequireDefault(require("@atlaskit/icon/base")); | ||
var _base = require("@atlaskit/icon/base"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const PriorityLowestIcon = props => /*#__PURE__*/_react.default.createElement(_base.default, Object.assign({ | ||
const PriorityLowestIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({ | ||
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path d="M18.46 11.936a1 1 0 111.028 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.581 13.65a1 1 0 011.034-1.711l6.391 3.862 6.454-3.865z" fill="#0065FF"/><path d="M12.007 9.798l6.454-3.864a1 1 0 011.027 1.716l-6.97 4.173a1 1 0 01-1.03-.002L4.581 7.648a1 1 0 011.034-1.712l6.391 3.862z" fill="#2684FF"/></svg>` | ||
@@ -17,0 +17,0 @@ }, props)); |
@@ -10,7 +10,7 @@ "use strict"; | ||
var _base = _interopRequireDefault(require("@atlaskit/icon/base")); | ||
var _base = require("@atlaskit/icon/base"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const PriorityMajorIcon = props => /*#__PURE__*/_react.default.createElement(_base.default, Object.assign({ | ||
const PriorityMajorIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({ | ||
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path d="M12.02 5.187L5.567 9.05A1 1 0 114.54 7.335l6.97-4.173a1 1 0 011.03.002l6.906 4.173A1 1 0 1118.41 9.05l-6.39-3.862z" fill="#FF5630"/><path d="M5.567 15.054a1 1 0 11-1.027-1.716l6.97-4.174a1 1 0 011.03.002l6.906 4.174a1 1 0 11-1.035 1.712l-6.39-3.863-6.454 3.865z" fill="#FF7452"/><path d="M5.567 21.068a1 1 0 11-1.027-1.716l6.97-4.174a1 1 0 011.03.002l6.906 4.174a1 1 0 11-1.035 1.712l-6.39-3.863-6.454 3.865z" fill="#FF8F73"/></svg>` | ||
@@ -17,0 +17,0 @@ }, props)); |
@@ -10,7 +10,7 @@ "use strict"; | ||
var _base = _interopRequireDefault(require("@atlaskit/icon/base")); | ||
var _base = require("@atlaskit/icon/base"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const PriorityMediumIcon = props => /*#__PURE__*/_react.default.createElement(_base.default, Object.assign({ | ||
const PriorityMediumIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({ | ||
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path d="M5 8h14a1 1 0 010 2H5a1 1 0 110-2zm0 6h14a1 1 0 010 2H5a1 1 0 010-2z" fill="#FFAB00"/></svg>` | ||
@@ -17,0 +17,0 @@ }, props)); |
@@ -10,7 +10,7 @@ "use strict"; | ||
var _base = _interopRequireDefault(require("@atlaskit/icon/base")); | ||
var _base = require("@atlaskit/icon/base"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const PriorityMinorIcon = props => /*#__PURE__*/_react.default.createElement(_base.default, Object.assign({ | ||
const PriorityMinorIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({ | ||
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path d="M18.449 14.975a1 1 0 011.027 1.716l-6.97 4.173a1 1 0 01-1.03-.002L4.57 16.69a1 1 0 011.034-1.712l6.391 3.862 6.454-3.864z" fill="#0065FF"/><path d="M11.995 12.837l6.454-3.865a1 1 0 011.027 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.57 10.686a1 1 0 011.034-1.712l6.391 3.863z" fill="#2684FF"/><path d="M11.995 6.823l6.454-3.865a1 1 0 111.027 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.57 4.672A1 1 0 015.604 2.96l6.391 3.863z" fill="#4C9AFF"/></svg>` | ||
@@ -17,0 +17,0 @@ }, props)); |
@@ -10,7 +10,7 @@ "use strict"; | ||
var _base = _interopRequireDefault(require("@atlaskit/icon/base")); | ||
var _base = require("@atlaskit/icon/base"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const PriorityTrivialIcon = props => /*#__PURE__*/_react.default.createElement(_base.default, Object.assign({ | ||
const PriorityTrivialIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({ | ||
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path d="M12 20a8 8 0 100-16 8 8 0 000 16zm0 2C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10z" fill="#7A8699"/></svg>` | ||
@@ -17,0 +17,0 @@ }, props)); |
{ | ||
"name": "@atlaskit/icon-priority", | ||
"version": "6.2.3", | ||
"version": "6.2.4", | ||
"description": "A priority icon is used in Jira to determine relative importance.", | ||
@@ -45,3 +45,3 @@ "publishConfig": { | ||
"@atlaskit/docs": "*", | ||
"@atlaskit/modal-dialog": "^11.2.0", | ||
"@atlaskit/modal-dialog": "^11.7.0", | ||
"@atlaskit/ssr": "*", | ||
@@ -52,3 +52,3 @@ "@atlaskit/textfield": "^5.0.0", | ||
"@atlaskit/visual-regression": "*", | ||
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0", | ||
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1", | ||
"@emotion/styled": "^10.0.7", | ||
@@ -60,3 +60,3 @@ "enzyme": "^3.10.0", | ||
"react-dom": "^16.8.0", | ||
"ts-node": "^6.1.1", | ||
"ts-node": "^10.0.0", | ||
"wait-for-expect": "^1.2.0" | ||
@@ -68,3 +68,3 @@ }, | ||
], | ||
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0" | ||
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1" | ||
} |
59218
-0.14%