@atlaskit/logo 13.12.0 → 13.12.1
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 +6 -0
- package/dist/cjs/hipchat-logo/icon.js +1 -1
- package/dist/cjs/hipchat-logo/logo.js +1 -1
- package/dist/cjs/hipchat-logo/wordmark.js +1 -1
- package/dist/cjs/jira-core-logo/icon.js +1 -1
- package/dist/cjs/jira-core-logo/logo.js +1 -1
- package/dist/cjs/jira-core-logo/wordmark.js +1 -1
- package/dist/cjs/jira-service-desk-logo/icon.js +1 -1
- package/dist/cjs/jira-service-desk-logo/logo.js +1 -1
- package/dist/cjs/jira-service-desk-logo/wordmark.js +1 -1
- package/dist/cjs/opsgenie-logo/old-icon.js +1 -1
- package/dist/cjs/opsgenie-logo/old-logo.js +1 -1
- package/dist/cjs/opsgenie-logo/old-wordmark.js +1 -1
- package/dist/cjs/stride-logo/icon.js +1 -1
- package/dist/cjs/stride-logo/logo.js +1 -1
- package/dist/cjs/stride-logo/wordmark.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/wrapper.js +1 -0
- package/dist/es2019/constants.js +0 -1
- package/dist/es2019/hipchat-logo/icon.js +1 -1
- package/dist/es2019/hipchat-logo/logo.js +1 -1
- package/dist/es2019/hipchat-logo/wordmark.js +1 -1
- package/dist/es2019/jira-core-logo/icon.js +1 -1
- package/dist/es2019/jira-core-logo/logo.js +1 -1
- package/dist/es2019/jira-core-logo/wordmark.js +1 -1
- package/dist/es2019/jira-service-desk-logo/icon.js +1 -1
- package/dist/es2019/jira-service-desk-logo/logo.js +1 -1
- package/dist/es2019/jira-service-desk-logo/wordmark.js +1 -1
- package/dist/es2019/opsgenie-logo/old-icon.js +1 -1
- package/dist/es2019/opsgenie-logo/old-logo.js +1 -1
- package/dist/es2019/opsgenie-logo/old-wordmark.js +1 -1
- package/dist/es2019/stride-logo/icon.js +1 -1
- package/dist/es2019/stride-logo/logo.js +1 -1
- package/dist/es2019/stride-logo/wordmark.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/constants.js +0 -1
- package/dist/esm/hipchat-logo/icon.js +1 -1
- package/dist/esm/hipchat-logo/logo.js +1 -1
- package/dist/esm/hipchat-logo/wordmark.js +1 -1
- package/dist/esm/jira-core-logo/icon.js +1 -1
- package/dist/esm/jira-core-logo/logo.js +1 -1
- package/dist/esm/jira-core-logo/wordmark.js +1 -1
- package/dist/esm/jira-service-desk-logo/icon.js +1 -1
- package/dist/esm/jira-service-desk-logo/logo.js +1 -1
- package/dist/esm/jira-service-desk-logo/wordmark.js +1 -1
- package/dist/esm/opsgenie-logo/old-icon.js +1 -1
- package/dist/esm/opsgenie-logo/old-logo.js +1 -1
- package/dist/esm/opsgenie-logo/old-wordmark.js +1 -1
- package/dist/esm/stride-logo/icon.js +1 -1
- package/dist/esm/stride-logo/logo.js +1 -1
- package/dist/esm/stride-logo/wordmark.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -41,7 +41,7 @@ var HipchatIcon = function HipchatIcon(_ref2) {
|
|
|
41
41
|
iconGradientStop = _ref2$iconGradientSto === void 0 ? _constants.defaultLogoParams.iconGradientStop : _ref2$iconGradientSto,
|
|
42
42
|
_ref2$textColor = _ref2.textColor,
|
|
43
43
|
textColor = _ref2$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref2$textColor;
|
|
44
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
44
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
45
45
|
(0, _warnOnce.default)('HipchatIcon has been deprecated and will be removed from @atlaskit/logo after June 30 2021.');
|
|
46
46
|
}
|
|
47
47
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -41,7 +41,7 @@ var HipchatLogo = function HipchatLogo(_ref2) {
|
|
|
41
41
|
testId = _ref2.testId,
|
|
42
42
|
_ref2$textColor = _ref2.textColor,
|
|
43
43
|
textColor = _ref2$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref2$textColor;
|
|
44
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
44
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
45
45
|
(0, _warnOnce.default)('HipchatLogo has been deprecated and will be removed from @atlaskit/logo after June 30 2021.');
|
|
46
46
|
}
|
|
47
47
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -32,7 +32,7 @@ var HipchatWordmark = function HipchatWordmark(_ref) {
|
|
|
32
32
|
testId = _ref.testId,
|
|
33
33
|
_ref$textColor = _ref.textColor,
|
|
34
34
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
35
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
35
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
36
36
|
(0, _warnOnce.default)('HipchatWordmark has been deprecated and will be removed from @atlaskit/logo after June 30 2021.');
|
|
37
37
|
}
|
|
38
38
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -42,7 +42,7 @@ var JiraCoreIcon = function JiraCoreIcon(_ref2) {
|
|
|
42
42
|
testId = _ref2.testId,
|
|
43
43
|
_ref2$textColor = _ref2.textColor,
|
|
44
44
|
textColor = _ref2$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref2$textColor;
|
|
45
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
45
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
46
46
|
(0, _warnOnce.default)('JiraCoreIcon has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementIcon instead.');
|
|
47
47
|
}
|
|
48
48
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -41,7 +41,7 @@ var JiraCoreLogo = function JiraCoreLogo(_ref2) {
|
|
|
41
41
|
testId = _ref2.testId,
|
|
42
42
|
_ref2$textColor = _ref2.textColor,
|
|
43
43
|
textColor = _ref2$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref2$textColor;
|
|
44
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
44
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
45
45
|
(0, _warnOnce.default)('JiraCoreLogo has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementLogo instead.');
|
|
46
46
|
}
|
|
47
47
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -32,7 +32,7 @@ var JiraCoreWordmark = function JiraCoreWordmark(_ref) {
|
|
|
32
32
|
testId = _ref.testId,
|
|
33
33
|
_ref$textColor = _ref.textColor,
|
|
34
34
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
35
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
35
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
36
36
|
(0, _warnOnce.default)('JiraCoreWordmark has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementWordmark instead.');
|
|
37
37
|
}
|
|
38
38
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -42,7 +42,7 @@ var JiraServiceDeskIcon = function JiraServiceDeskIcon(_ref2) {
|
|
|
42
42
|
testId = _ref2.testId,
|
|
43
43
|
_ref2$textColor = _ref2.textColor,
|
|
44
44
|
textColor = _ref2$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref2$textColor;
|
|
45
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
45
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
46
46
|
(0, _warnOnce.default)('JiraServiceDeskIcon has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraServiceManagementIcon instead.');
|
|
47
47
|
}
|
|
48
48
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -42,7 +42,7 @@ var JiraServiceDeskLogo = function JiraServiceDeskLogo(_ref2) {
|
|
|
42
42
|
testId = _ref2.testId,
|
|
43
43
|
_ref2$textColor = _ref2.textColor,
|
|
44
44
|
textColor = _ref2$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref2$textColor;
|
|
45
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
45
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
46
46
|
(0, _warnOnce.default)('JiraServiceDeskLogo has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraServiceManagementLogo instead.');
|
|
47
47
|
}
|
|
48
48
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -30,7 +30,7 @@ var JiraServiceDeskWordmark = function JiraServiceDeskWordmark(_ref) {
|
|
|
30
30
|
testId = _ref.testId,
|
|
31
31
|
_ref$textColor = _ref.textColor,
|
|
32
32
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
33
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
33
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
34
34
|
(0, _warnOnce.default)('JiraServiceDeskWordmark has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraServiceManagementWordmark instead.');
|
|
35
35
|
}
|
|
36
36
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -44,7 +44,7 @@ var OpsGenieIcon = function OpsGenieIcon(_ref2) {
|
|
|
44
44
|
testId = _ref2.testId,
|
|
45
45
|
_ref2$textColor = _ref2.textColor,
|
|
46
46
|
textColor = _ref2$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref2$textColor;
|
|
47
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
47
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
48
48
|
(0, _warnOnce.default)('OpsGenieIcon will be renamed to OpsgenieIcon in the next major release. Please use OpsgenieIcon instead.');
|
|
49
49
|
}
|
|
50
50
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -40,7 +40,7 @@ var OpsGenieLogo = function OpsGenieLogo(_ref2) {
|
|
|
40
40
|
testId = _ref2.testId,
|
|
41
41
|
_ref2$textColor = _ref2.textColor,
|
|
42
42
|
textColor = _ref2$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref2$textColor;
|
|
43
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
43
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
44
44
|
(0, _warnOnce.default)('OpsGenieLogo will be renamed to OpsgenieLogo in the next major release. Please use OpsgenieLogo instead.');
|
|
45
45
|
}
|
|
46
46
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -30,7 +30,7 @@ var OpsGenieWordmark = function OpsGenieWordmark(_ref) {
|
|
|
30
30
|
testId = _ref.testId,
|
|
31
31
|
_ref$textColor = _ref.textColor,
|
|
32
32
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
33
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
33
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
34
34
|
(0, _warnOnce.default)('OpsGenieWordmark will be renamed to OpsgenieWordmark in the next major release. Please use OpsgenieWordmark instead.');
|
|
35
35
|
}
|
|
36
36
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -39,7 +39,7 @@ var StrideIcon = function StrideIcon(_ref2) {
|
|
|
39
39
|
testId = _ref2.testId,
|
|
40
40
|
_ref2$textColor = _ref2.textColor,
|
|
41
41
|
textColor = _ref2$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref2$textColor;
|
|
42
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
42
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
43
43
|
(0, _warnOnce.default)('StrideIcon has been deprecated and will be removed from @atlaskit/logo in the next major release.');
|
|
44
44
|
}
|
|
45
45
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -39,7 +39,7 @@ var StrideLogo = function StrideLogo(_ref2) {
|
|
|
39
39
|
testId = _ref2.testId,
|
|
40
40
|
_ref2$textColor = _ref2.textColor,
|
|
41
41
|
textColor = _ref2$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref2$textColor;
|
|
42
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
42
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
43
43
|
(0, _warnOnce.default)('StrideLogo has been deprecated and will be removed from @atlaskit/logo in the next major release.');
|
|
44
44
|
}
|
|
45
45
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -30,7 +30,7 @@ var StrideWordmark = function StrideWordmark(_ref) {
|
|
|
30
30
|
testId = _ref.testId,
|
|
31
31
|
_ref$textColor = _ref.textColor,
|
|
32
32
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
33
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
33
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
34
34
|
(0, _warnOnce.default)('StrideWordmark has been deprecated and will be removed from @atlaskit/logo in the next major release.');
|
|
35
35
|
}
|
|
36
36
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
package/dist/cjs/version.json
CHANGED
package/dist/cjs/wrapper.js
CHANGED
|
@@ -12,6 +12,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
12
12
|
var _react = require("@emotion/react");
|
|
13
13
|
var _constants = require("./constants");
|
|
14
14
|
var _excluded = ["label", "svg", "size", "appearance", "iconGradientStart", "iconGradientStop", "iconColor", "textColor", "testId"];
|
|
15
|
+
/** @jsx jsx */
|
|
15
16
|
var CSS_VAR_COLOR = '--logo-color';
|
|
16
17
|
var CSS_VAR_FILL = '--logo-fill';
|
|
17
18
|
var baseWrapperStyles = (0, _react.css)({
|
package/dist/es2019/constants.js
CHANGED
|
@@ -37,7 +37,6 @@ export const sizes = {
|
|
|
37
37
|
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-175 Internal documentation for deprecation (no external access)} This has been renamed, please import `LogoProps` instead.
|
|
38
38
|
*/
|
|
39
39
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
40
|
-
|
|
41
40
|
/**
|
|
42
41
|
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-176 Internal documentation for deprecation (no external access)} This has been renamed, please import `defaultLogoParams` instead.
|
|
43
42
|
*/
|
|
@@ -40,7 +40,7 @@ export const HipchatIcon = ({
|
|
|
40
40
|
iconGradientStop = defaultLogoParams.iconGradientStop,
|
|
41
41
|
textColor = defaultLogoParams.textColor
|
|
42
42
|
}) => {
|
|
43
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
43
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
44
44
|
warnOnce('HipchatIcon has been deprecated and will be removed from @atlaskit/logo after June 30 2021.');
|
|
45
45
|
}
|
|
46
46
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -41,7 +41,7 @@ export const HipchatLogo = ({
|
|
|
41
41
|
testId,
|
|
42
42
|
textColor = defaultLogoParams.textColor
|
|
43
43
|
}) => {
|
|
44
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
44
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
45
45
|
warnOnce('HipchatLogo has been deprecated and will be removed from @atlaskit/logo after June 30 2021.');
|
|
46
46
|
}
|
|
47
47
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -22,7 +22,7 @@ export const HipchatWordmark = ({
|
|
|
22
22
|
testId,
|
|
23
23
|
textColor = defaultLogoParams.textColor
|
|
24
24
|
}) => {
|
|
25
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
25
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
26
26
|
warnOnce('HipchatWordmark has been deprecated and will be removed from @atlaskit/logo after June 30 2021.');
|
|
27
27
|
}
|
|
28
28
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -42,7 +42,7 @@ export const JiraCoreIcon = ({
|
|
|
42
42
|
testId,
|
|
43
43
|
textColor = defaultLogoParams.textColor
|
|
44
44
|
}) => {
|
|
45
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
45
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
46
46
|
warnOnce('JiraCoreIcon has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementIcon instead.');
|
|
47
47
|
}
|
|
48
48
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -42,7 +42,7 @@ export const JiraCoreLogo = ({
|
|
|
42
42
|
testId,
|
|
43
43
|
textColor = defaultLogoParams.textColor
|
|
44
44
|
}) => {
|
|
45
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
45
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
46
46
|
warnOnce('JiraCoreLogo has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementLogo instead.');
|
|
47
47
|
}
|
|
48
48
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -21,7 +21,7 @@ export const JiraCoreWordmark = ({
|
|
|
21
21
|
testId,
|
|
22
22
|
textColor = defaultLogoParams.textColor
|
|
23
23
|
}) => {
|
|
24
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
24
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
25
25
|
warnOnce('JiraCoreWordmark has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementWordmark instead.');
|
|
26
26
|
}
|
|
27
27
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -42,7 +42,7 @@ export const JiraServiceDeskIcon = ({
|
|
|
42
42
|
testId,
|
|
43
43
|
textColor = defaultLogoParams.textColor
|
|
44
44
|
}) => {
|
|
45
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
45
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
46
46
|
warnOnce('JiraServiceDeskIcon has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraServiceManagementIcon instead.');
|
|
47
47
|
}
|
|
48
48
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -43,7 +43,7 @@ export const JiraServiceDeskLogo = ({
|
|
|
43
43
|
testId,
|
|
44
44
|
textColor = defaultLogoParams.textColor
|
|
45
45
|
}) => {
|
|
46
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
46
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
47
47
|
warnOnce('JiraServiceDeskLogo has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraServiceManagementLogo instead.');
|
|
48
48
|
}
|
|
49
49
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -21,7 +21,7 @@ export const JiraServiceDeskWordmark = ({
|
|
|
21
21
|
testId,
|
|
22
22
|
textColor = defaultLogoParams.textColor
|
|
23
23
|
}) => {
|
|
24
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
24
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
25
25
|
warnOnce('JiraServiceDeskWordmark has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraServiceManagementWordmark instead.');
|
|
26
26
|
}
|
|
27
27
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -64,7 +64,7 @@ export const OpsGenieIcon = ({
|
|
|
64
64
|
testId,
|
|
65
65
|
textColor = defaultLogoParams.textColor
|
|
66
66
|
}) => {
|
|
67
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
67
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
68
68
|
warnOnce('OpsGenieIcon will be renamed to OpsgenieIcon in the next major release. Please use OpsgenieIcon instead.');
|
|
69
69
|
}
|
|
70
70
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -61,7 +61,7 @@ export const OpsGenieLogo = ({
|
|
|
61
61
|
testId,
|
|
62
62
|
textColor = defaultLogoParams.textColor
|
|
63
63
|
}) => {
|
|
64
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
64
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
65
65
|
warnOnce('OpsGenieLogo will be renamed to OpsgenieLogo in the next major release. Please use OpsgenieLogo instead.');
|
|
66
66
|
}
|
|
67
67
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -21,7 +21,7 @@ export const OpsGenieWordmark = ({
|
|
|
21
21
|
testId,
|
|
22
22
|
textColor = defaultLogoParams.textColor
|
|
23
23
|
}) => {
|
|
24
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
24
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
25
25
|
warnOnce('OpsGenieWordmark will be renamed to OpsgenieWordmark in the next major release. Please use OpsgenieWordmark instead.');
|
|
26
26
|
}
|
|
27
27
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -40,7 +40,7 @@ export const StrideIcon = ({
|
|
|
40
40
|
testId,
|
|
41
41
|
textColor = defaultLogoParams.textColor
|
|
42
42
|
}) => {
|
|
43
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
43
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
44
44
|
warnOnce('StrideIcon has been deprecated and will be removed from @atlaskit/logo in the next major release.');
|
|
45
45
|
}
|
|
46
46
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -41,7 +41,7 @@ export const StrideLogo = ({
|
|
|
41
41
|
testId,
|
|
42
42
|
textColor = defaultLogoParams.textColor
|
|
43
43
|
}) => {
|
|
44
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
44
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
45
45
|
warnOnce('StrideLogo has been deprecated and will be removed from @atlaskit/logo in the next major release.');
|
|
46
46
|
}
|
|
47
47
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -21,7 +21,7 @@ export const StrideWordmark = ({
|
|
|
21
21
|
testId,
|
|
22
22
|
textColor = defaultLogoParams.textColor
|
|
23
23
|
}) => {
|
|
24
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
24
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
25
25
|
warnOnce('StrideWordmark has been deprecated and will be removed from @atlaskit/logo in the next major release.');
|
|
26
26
|
}
|
|
27
27
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/constants.js
CHANGED
|
@@ -37,7 +37,6 @@ export var sizes = {
|
|
|
37
37
|
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-175 Internal documentation for deprecation (no external access)} This has been renamed, please import `LogoProps` instead.
|
|
38
38
|
*/
|
|
39
39
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
40
|
-
|
|
41
40
|
/**
|
|
42
41
|
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-176 Internal documentation for deprecation (no external access)} This has been renamed, please import `defaultLogoParams` instead.
|
|
43
42
|
*/
|
|
@@ -33,7 +33,7 @@ export var HipchatIcon = function HipchatIcon(_ref2) {
|
|
|
33
33
|
iconGradientStop = _ref2$iconGradientSto === void 0 ? defaultLogoParams.iconGradientStop : _ref2$iconGradientSto,
|
|
34
34
|
_ref2$textColor = _ref2.textColor,
|
|
35
35
|
textColor = _ref2$textColor === void 0 ? defaultLogoParams.textColor : _ref2$textColor;
|
|
36
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
36
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
37
37
|
warnOnce('HipchatIcon has been deprecated and will be removed from @atlaskit/logo after June 30 2021.');
|
|
38
38
|
}
|
|
39
39
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -33,7 +33,7 @@ export var HipchatLogo = function HipchatLogo(_ref2) {
|
|
|
33
33
|
testId = _ref2.testId,
|
|
34
34
|
_ref2$textColor = _ref2.textColor,
|
|
35
35
|
textColor = _ref2$textColor === void 0 ? defaultLogoParams.textColor : _ref2$textColor;
|
|
36
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
36
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
37
37
|
warnOnce('HipchatLogo has been deprecated and will be removed from @atlaskit/logo after June 30 2021.');
|
|
38
38
|
}
|
|
39
39
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -24,7 +24,7 @@ export var HipchatWordmark = function HipchatWordmark(_ref) {
|
|
|
24
24
|
testId = _ref.testId,
|
|
25
25
|
_ref$textColor = _ref.textColor,
|
|
26
26
|
textColor = _ref$textColor === void 0 ? defaultLogoParams.textColor : _ref$textColor;
|
|
27
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
27
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
28
28
|
warnOnce('HipchatWordmark has been deprecated and will be removed from @atlaskit/logo after June 30 2021.');
|
|
29
29
|
}
|
|
30
30
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -34,7 +34,7 @@ export var JiraCoreIcon = function JiraCoreIcon(_ref2) {
|
|
|
34
34
|
testId = _ref2.testId,
|
|
35
35
|
_ref2$textColor = _ref2.textColor,
|
|
36
36
|
textColor = _ref2$textColor === void 0 ? defaultLogoParams.textColor : _ref2$textColor;
|
|
37
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
37
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
38
38
|
warnOnce('JiraCoreIcon has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementIcon instead.');
|
|
39
39
|
}
|
|
40
40
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -33,7 +33,7 @@ export var JiraCoreLogo = function JiraCoreLogo(_ref2) {
|
|
|
33
33
|
testId = _ref2.testId,
|
|
34
34
|
_ref2$textColor = _ref2.textColor,
|
|
35
35
|
textColor = _ref2$textColor === void 0 ? defaultLogoParams.textColor : _ref2$textColor;
|
|
36
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
36
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
37
37
|
warnOnce('JiraCoreLogo has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementLogo instead.');
|
|
38
38
|
}
|
|
39
39
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -24,7 +24,7 @@ export var JiraCoreWordmark = function JiraCoreWordmark(_ref) {
|
|
|
24
24
|
testId = _ref.testId,
|
|
25
25
|
_ref$textColor = _ref.textColor,
|
|
26
26
|
textColor = _ref$textColor === void 0 ? defaultLogoParams.textColor : _ref$textColor;
|
|
27
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
27
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
28
28
|
warnOnce('JiraCoreWordmark has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementWordmark instead.');
|
|
29
29
|
}
|
|
30
30
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -34,7 +34,7 @@ export var JiraServiceDeskIcon = function JiraServiceDeskIcon(_ref2) {
|
|
|
34
34
|
testId = _ref2.testId,
|
|
35
35
|
_ref2$textColor = _ref2.textColor,
|
|
36
36
|
textColor = _ref2$textColor === void 0 ? defaultLogoParams.textColor : _ref2$textColor;
|
|
37
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
37
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
38
38
|
warnOnce('JiraServiceDeskIcon has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraServiceManagementIcon instead.');
|
|
39
39
|
}
|
|
40
40
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -34,7 +34,7 @@ export var JiraServiceDeskLogo = function JiraServiceDeskLogo(_ref2) {
|
|
|
34
34
|
testId = _ref2.testId,
|
|
35
35
|
_ref2$textColor = _ref2.textColor,
|
|
36
36
|
textColor = _ref2$textColor === void 0 ? defaultLogoParams.textColor : _ref2$textColor;
|
|
37
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
37
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
38
38
|
warnOnce('JiraServiceDeskLogo has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraServiceManagementLogo instead.');
|
|
39
39
|
}
|
|
40
40
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -22,7 +22,7 @@ export var JiraServiceDeskWordmark = function JiraServiceDeskWordmark(_ref) {
|
|
|
22
22
|
testId = _ref.testId,
|
|
23
23
|
_ref$textColor = _ref.textColor,
|
|
24
24
|
textColor = _ref$textColor === void 0 ? defaultLogoParams.textColor : _ref$textColor;
|
|
25
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
25
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
26
26
|
warnOnce('JiraServiceDeskWordmark has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraServiceManagementWordmark instead.');
|
|
27
27
|
}
|
|
28
28
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -36,7 +36,7 @@ export var OpsGenieIcon = function OpsGenieIcon(_ref2) {
|
|
|
36
36
|
testId = _ref2.testId,
|
|
37
37
|
_ref2$textColor = _ref2.textColor,
|
|
38
38
|
textColor = _ref2$textColor === void 0 ? defaultLogoParams.textColor : _ref2$textColor;
|
|
39
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
39
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
40
40
|
warnOnce('OpsGenieIcon will be renamed to OpsgenieIcon in the next major release. Please use OpsgenieIcon instead.');
|
|
41
41
|
}
|
|
42
42
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -32,7 +32,7 @@ export var OpsGenieLogo = function OpsGenieLogo(_ref2) {
|
|
|
32
32
|
testId = _ref2.testId,
|
|
33
33
|
_ref2$textColor = _ref2.textColor,
|
|
34
34
|
textColor = _ref2$textColor === void 0 ? defaultLogoParams.textColor : _ref2$textColor;
|
|
35
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
35
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
36
36
|
warnOnce('OpsGenieLogo will be renamed to OpsgenieLogo in the next major release. Please use OpsgenieLogo instead.');
|
|
37
37
|
}
|
|
38
38
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -22,7 +22,7 @@ export var OpsGenieWordmark = function OpsGenieWordmark(_ref) {
|
|
|
22
22
|
testId = _ref.testId,
|
|
23
23
|
_ref$textColor = _ref.textColor,
|
|
24
24
|
textColor = _ref$textColor === void 0 ? defaultLogoParams.textColor : _ref$textColor;
|
|
25
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
25
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
26
26
|
warnOnce('OpsGenieWordmark will be renamed to OpsgenieWordmark in the next major release. Please use OpsgenieWordmark instead.');
|
|
27
27
|
}
|
|
28
28
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -31,7 +31,7 @@ export var StrideIcon = function StrideIcon(_ref2) {
|
|
|
31
31
|
testId = _ref2.testId,
|
|
32
32
|
_ref2$textColor = _ref2.textColor,
|
|
33
33
|
textColor = _ref2$textColor === void 0 ? defaultLogoParams.textColor : _ref2$textColor;
|
|
34
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
34
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
35
35
|
warnOnce('StrideIcon has been deprecated and will be removed from @atlaskit/logo in the next major release.');
|
|
36
36
|
}
|
|
37
37
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -31,7 +31,7 @@ export var StrideLogo = function StrideLogo(_ref2) {
|
|
|
31
31
|
testId = _ref2.testId,
|
|
32
32
|
_ref2$textColor = _ref2.textColor,
|
|
33
33
|
textColor = _ref2$textColor === void 0 ? defaultLogoParams.textColor : _ref2$textColor;
|
|
34
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
34
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
35
35
|
warnOnce('StrideLogo has been deprecated and will be removed from @atlaskit/logo in the next major release.');
|
|
36
36
|
}
|
|
37
37
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
@@ -22,7 +22,7 @@ export var StrideWordmark = function StrideWordmark(_ref) {
|
|
|
22
22
|
testId = _ref.testId,
|
|
23
23
|
_ref$textColor = _ref.textColor,
|
|
24
24
|
textColor = _ref$textColor === void 0 ? defaultLogoParams.textColor : _ref$textColor;
|
|
25
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
25
|
+
if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
|
|
26
26
|
warnOnce('StrideWordmark has been deprecated and will be removed from @atlaskit/logo in the next major release.');
|
|
27
27
|
}
|
|
28
28
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/logo",
|
|
3
|
-
"version": "13.12.
|
|
3
|
+
"version": "13.12.1",
|
|
4
4
|
"description": "A logo is a visual representation of a brand or product. It can be a word or an image, or a combination of both.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@atlaskit/ds-lib": "^2.1.0",
|
|
46
|
-
"@atlaskit/theme": "^12.
|
|
46
|
+
"@atlaskit/theme": "^12.4.0",
|
|
47
47
|
"@atlaskit/tokens": "^1.2.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@emotion/react": "^11.7.1",
|