@atlaskit/logo 13.10.3 → 13.10.5
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 +12 -0
- package/dist/cjs/atlassian-logo/icon.js +20 -30
- package/dist/cjs/atlassian-logo/index.js +0 -3
- package/dist/cjs/atlassian-logo/logo.js +21 -31
- package/dist/cjs/atlassian-logo/wordmark.js +10 -19
- package/dist/cjs/atlassian-start-logo/index.js +0 -1
- package/dist/cjs/atlassian-start-logo/logo.js +21 -31
- package/dist/cjs/bitbucket-logo/icon.js +20 -30
- package/dist/cjs/bitbucket-logo/index.js +0 -3
- package/dist/cjs/bitbucket-logo/logo.js +21 -31
- package/dist/cjs/bitbucket-logo/wordmark.js +10 -19
- package/dist/cjs/compass-logo/icon.js +20 -30
- package/dist/cjs/compass-logo/index.js +0 -3
- package/dist/cjs/compass-logo/logo.js +21 -31
- package/dist/cjs/compass-logo/wordmark.js +10 -19
- package/dist/cjs/confluence-logo/icon.js +20 -30
- package/dist/cjs/confluence-logo/index.js +0 -3
- package/dist/cjs/confluence-logo/logo.js +21 -31
- package/dist/cjs/confluence-logo/wordmark.js +10 -19
- package/dist/cjs/constants.js +2 -4
- package/dist/cjs/halp-logo/icon.js +20 -30
- package/dist/cjs/halp-logo/index.js +0 -3
- package/dist/cjs/halp-logo/logo.js +21 -31
- package/dist/cjs/halp-logo/wordmark.js +10 -19
- package/dist/cjs/hipchat-logo/icon.js +15 -25
- package/dist/cjs/hipchat-logo/index.js +0 -3
- package/dist/cjs/hipchat-logo/logo.js +15 -25
- package/dist/cjs/hipchat-logo/wordmark.js +14 -23
- package/dist/cjs/index.js +0 -18
- package/dist/cjs/jira-align-logo/icon.js +21 -31
- package/dist/cjs/jira-align-logo/index.js +0 -3
- package/dist/cjs/jira-align-logo/logo.js +21 -31
- package/dist/cjs/jira-align-logo/wordmark.js +10 -19
- package/dist/cjs/jira-core-logo/icon.js +16 -26
- package/dist/cjs/jira-core-logo/index.js +0 -3
- package/dist/cjs/jira-core-logo/logo.js +15 -25
- package/dist/cjs/jira-core-logo/wordmark.js +14 -23
- package/dist/cjs/jira-logo/icon.js +21 -31
- package/dist/cjs/jira-logo/index.js +0 -3
- package/dist/cjs/jira-logo/logo.js +23 -33
- package/dist/cjs/jira-logo/wordmark.js +10 -19
- package/dist/cjs/jira-service-desk-logo/icon.js +16 -26
- package/dist/cjs/jira-service-desk-logo/index.js +0 -3
- package/dist/cjs/jira-service-desk-logo/logo.js +16 -26
- package/dist/cjs/jira-service-desk-logo/wordmark.js +14 -22
- package/dist/cjs/jira-service-management-logo/icon.js +21 -31
- package/dist/cjs/jira-service-management-logo/index.js +0 -3
- package/dist/cjs/jira-service-management-logo/logo.js +21 -31
- package/dist/cjs/jira-service-management-logo/wordmark.js +10 -19
- package/dist/cjs/jira-software-logo/icon.js +20 -30
- package/dist/cjs/jira-software-logo/index.js +0 -3
- package/dist/cjs/jira-software-logo/logo.js +21 -31
- package/dist/cjs/jira-software-logo/wordmark.js +16 -25
- package/dist/cjs/jira-work-management-logo/icon.js +20 -30
- package/dist/cjs/jira-work-management-logo/index.js +0 -3
- package/dist/cjs/jira-work-management-logo/logo.js +21 -31
- package/dist/cjs/jira-work-management-logo/wordmark.js +16 -25
- package/dist/cjs/opsgenie-logo/index.js +0 -6
- package/dist/cjs/opsgenie-logo/new-icon.js +21 -31
- package/dist/cjs/opsgenie-logo/new-logo.js +22 -32
- package/dist/cjs/opsgenie-logo/new-wordmark.js +14 -23
- package/dist/cjs/opsgenie-logo/old-icon.js +14 -25
- package/dist/cjs/opsgenie-logo/old-logo.js +14 -24
- package/dist/cjs/opsgenie-logo/old-wordmark.js +12 -21
- package/dist/cjs/statuspage-logo/icon.js +20 -30
- package/dist/cjs/statuspage-logo/index.js +0 -3
- package/dist/cjs/statuspage-logo/logo.js +21 -31
- package/dist/cjs/statuspage-logo/wordmark.js +16 -25
- package/dist/cjs/stride-logo/icon.js +13 -23
- package/dist/cjs/stride-logo/index.js +0 -3
- package/dist/cjs/stride-logo/logo.js +13 -23
- package/dist/cjs/stride-logo/wordmark.js +12 -21
- package/dist/cjs/trello-logo/icon.js +19 -29
- package/dist/cjs/trello-logo/index.js +0 -3
- package/dist/cjs/trello-logo/logo.js +20 -30
- package/dist/cjs/trello-logo/wordmark.js +16 -25
- package/dist/cjs/utils.js +3 -8
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/wrapper.js +14 -25
- package/dist/es2019/atlassian-logo/icon.js +3 -7
- package/dist/es2019/atlassian-logo/logo.js +3 -7
- package/dist/es2019/atlassian-logo/wordmark.js +1 -5
- package/dist/es2019/atlassian-start-logo/logo.js +3 -7
- package/dist/es2019/bitbucket-logo/icon.js +3 -7
- package/dist/es2019/bitbucket-logo/logo.js +3 -7
- package/dist/es2019/bitbucket-logo/wordmark.js +1 -5
- package/dist/es2019/compass-logo/icon.js +3 -7
- package/dist/es2019/compass-logo/logo.js +3 -7
- package/dist/es2019/compass-logo/wordmark.js +1 -5
- package/dist/es2019/confluence-logo/icon.js +3 -7
- package/dist/es2019/confluence-logo/logo.js +3 -7
- package/dist/es2019/confluence-logo/wordmark.js +1 -5
- package/dist/es2019/constants.js +2 -0
- package/dist/es2019/halp-logo/icon.js +3 -7
- package/dist/es2019/halp-logo/logo.js +3 -7
- package/dist/es2019/halp-logo/wordmark.js +1 -5
- package/dist/es2019/hipchat-logo/icon.js +1 -4
- package/dist/es2019/hipchat-logo/logo.js +1 -4
- package/dist/es2019/hipchat-logo/wordmark.js +1 -4
- package/dist/es2019/jira-align-logo/icon.js +3 -7
- package/dist/es2019/jira-align-logo/logo.js +3 -7
- package/dist/es2019/jira-align-logo/wordmark.js +1 -5
- package/dist/es2019/jira-core-logo/icon.js +1 -4
- package/dist/es2019/jira-core-logo/logo.js +1 -4
- package/dist/es2019/jira-core-logo/wordmark.js +1 -4
- package/dist/es2019/jira-logo/icon.js +3 -7
- package/dist/es2019/jira-logo/logo.js +3 -7
- package/dist/es2019/jira-logo/wordmark.js +1 -5
- package/dist/es2019/jira-service-desk-logo/icon.js +1 -4
- package/dist/es2019/jira-service-desk-logo/logo.js +1 -4
- package/dist/es2019/jira-service-desk-logo/wordmark.js +1 -2
- package/dist/es2019/jira-service-management-logo/icon.js +3 -7
- package/dist/es2019/jira-service-management-logo/logo.js +3 -7
- package/dist/es2019/jira-service-management-logo/wordmark.js +1 -5
- package/dist/es2019/jira-software-logo/icon.js +3 -7
- package/dist/es2019/jira-software-logo/logo.js +3 -7
- package/dist/es2019/jira-software-logo/wordmark.js +1 -5
- package/dist/es2019/jira-work-management-logo/icon.js +3 -7
- package/dist/es2019/jira-work-management-logo/logo.js +3 -7
- package/dist/es2019/jira-work-management-logo/wordmark.js +1 -5
- package/dist/es2019/opsgenie-logo/new-icon.js +3 -7
- package/dist/es2019/opsgenie-logo/new-logo.js +3 -7
- package/dist/es2019/opsgenie-logo/new-wordmark.js +1 -5
- package/dist/es2019/opsgenie-logo/old-icon.js +1 -5
- package/dist/es2019/opsgenie-logo/old-logo.js +1 -4
- package/dist/es2019/opsgenie-logo/old-wordmark.js +1 -4
- package/dist/es2019/statuspage-logo/icon.js +3 -7
- package/dist/es2019/statuspage-logo/logo.js +3 -7
- package/dist/es2019/statuspage-logo/wordmark.js +1 -5
- package/dist/es2019/stride-logo/icon.js +1 -4
- package/dist/es2019/stride-logo/logo.js +1 -4
- package/dist/es2019/stride-logo/wordmark.js +1 -4
- package/dist/es2019/trello-logo/icon.js +3 -7
- package/dist/es2019/trello-logo/logo.js +3 -7
- package/dist/es2019/trello-logo/wordmark.js +1 -5
- package/dist/es2019/utils.js +3 -6
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/wrapper.js +4 -5
- package/dist/esm/atlassian-logo/icon.js +19 -23
- package/dist/esm/atlassian-logo/logo.js +20 -24
- package/dist/esm/atlassian-logo/wordmark.js +9 -13
- package/dist/esm/atlassian-start-logo/logo.js +20 -24
- package/dist/esm/bitbucket-logo/icon.js +19 -23
- package/dist/esm/bitbucket-logo/logo.js +20 -24
- package/dist/esm/bitbucket-logo/wordmark.js +9 -13
- package/dist/esm/compass-logo/icon.js +19 -23
- package/dist/esm/compass-logo/logo.js +20 -24
- package/dist/esm/compass-logo/wordmark.js +9 -13
- package/dist/esm/confluence-logo/icon.js +19 -23
- package/dist/esm/confluence-logo/logo.js +20 -24
- package/dist/esm/confluence-logo/wordmark.js +9 -13
- package/dist/esm/constants.js +2 -0
- package/dist/esm/halp-logo/icon.js +19 -23
- package/dist/esm/halp-logo/logo.js +20 -24
- package/dist/esm/halp-logo/wordmark.js +9 -13
- package/dist/esm/hipchat-logo/icon.js +14 -18
- package/dist/esm/hipchat-logo/logo.js +14 -18
- package/dist/esm/hipchat-logo/wordmark.js +13 -17
- package/dist/esm/jira-align-logo/icon.js +20 -24
- package/dist/esm/jira-align-logo/logo.js +20 -24
- package/dist/esm/jira-align-logo/wordmark.js +9 -13
- package/dist/esm/jira-core-logo/icon.js +15 -19
- package/dist/esm/jira-core-logo/logo.js +14 -18
- package/dist/esm/jira-core-logo/wordmark.js +13 -17
- package/dist/esm/jira-logo/icon.js +20 -24
- package/dist/esm/jira-logo/logo.js +22 -26
- package/dist/esm/jira-logo/wordmark.js +9 -13
- package/dist/esm/jira-service-desk-logo/icon.js +15 -19
- package/dist/esm/jira-service-desk-logo/logo.js +15 -19
- package/dist/esm/jira-service-desk-logo/wordmark.js +13 -15
- package/dist/esm/jira-service-management-logo/icon.js +20 -24
- package/dist/esm/jira-service-management-logo/logo.js +20 -24
- package/dist/esm/jira-service-management-logo/wordmark.js +9 -13
- package/dist/esm/jira-software-logo/icon.js +19 -23
- package/dist/esm/jira-software-logo/logo.js +20 -24
- package/dist/esm/jira-software-logo/wordmark.js +15 -19
- package/dist/esm/jira-work-management-logo/icon.js +19 -23
- package/dist/esm/jira-work-management-logo/logo.js +20 -24
- package/dist/esm/jira-work-management-logo/wordmark.js +15 -19
- package/dist/esm/opsgenie-logo/new-icon.js +20 -24
- package/dist/esm/opsgenie-logo/new-logo.js +21 -25
- package/dist/esm/opsgenie-logo/new-wordmark.js +13 -17
- package/dist/esm/opsgenie-logo/old-icon.js +13 -18
- package/dist/esm/opsgenie-logo/old-logo.js +13 -17
- package/dist/esm/opsgenie-logo/old-wordmark.js +11 -15
- package/dist/esm/statuspage-logo/icon.js +19 -23
- package/dist/esm/statuspage-logo/logo.js +20 -24
- package/dist/esm/statuspage-logo/wordmark.js +15 -19
- package/dist/esm/stride-logo/icon.js +12 -16
- package/dist/esm/stride-logo/logo.js +12 -16
- package/dist/esm/stride-logo/wordmark.js +11 -15
- package/dist/esm/trello-logo/icon.js +18 -22
- package/dist/esm/trello-logo/logo.js +19 -23
- package/dist/esm/trello-logo/wordmark.js +15 -19
- package/dist/esm/utils.js +3 -6
- package/dist/esm/version.json +1 -1
- package/dist/esm/wrapper.js +15 -19
- package/package.json +7 -4
- package/report.api.md +14 -1
|
@@ -4,7 +4,6 @@ import { uid } from 'react-uid';
|
|
|
4
4
|
import { defaultLogoParams } from '../constants';
|
|
5
5
|
import { getColorsFromAppearance } from '../utils';
|
|
6
6
|
import Wrapper from '../wrapper';
|
|
7
|
-
|
|
8
7
|
const svg = ({
|
|
9
8
|
appearance,
|
|
10
9
|
size,
|
|
@@ -16,19 +15,17 @@ const svg = ({
|
|
|
16
15
|
iconGradientStart,
|
|
17
16
|
iconGradientStop,
|
|
18
17
|
iconColor
|
|
19
|
-
};
|
|
18
|
+
};
|
|
19
|
+
// Will be fixed upon removal of deprecated iconGradientStart and
|
|
20
20
|
// iconGradientStop props, or with React 18's useId() hook when we update.
|
|
21
21
|
// eslint-disable-next-line @repo/internal/react/disallow-unstable-values
|
|
22
|
-
|
|
23
22
|
let id = uid({
|
|
24
23
|
iconGradientStart: iconGradientStop
|
|
25
24
|
});
|
|
26
|
-
|
|
27
25
|
if (appearance) {
|
|
28
26
|
colors = getColorsFromAppearance(appearance);
|
|
29
27
|
id = `jsmIcon-${appearance}`;
|
|
30
28
|
}
|
|
31
|
-
|
|
32
29
|
return `
|
|
33
30
|
<svg viewBox="0 0 32 32" height="32" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true">
|
|
34
31
|
<defs>
|
|
@@ -43,6 +40,7 @@ const svg = ({
|
|
|
43
40
|
</g>
|
|
44
41
|
</svg>`;
|
|
45
42
|
};
|
|
43
|
+
|
|
46
44
|
/**
|
|
47
45
|
* __Jira Service Management icon__
|
|
48
46
|
*
|
|
@@ -52,8 +50,6 @@ const svg = ({
|
|
|
52
50
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
53
51
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
54
52
|
*/
|
|
55
|
-
|
|
56
|
-
|
|
57
53
|
export const JiraServiceManagementIcon = ({
|
|
58
54
|
appearance,
|
|
59
55
|
label = 'Jira Service Management',
|
|
@@ -4,7 +4,6 @@ import { uid } from 'react-uid';
|
|
|
4
4
|
import { defaultLogoParams } from '../constants';
|
|
5
5
|
import { getColorsFromAppearance } from '../utils';
|
|
6
6
|
import Wrapper from '../wrapper';
|
|
7
|
-
|
|
8
7
|
const svg = ({
|
|
9
8
|
appearance,
|
|
10
9
|
iconGradientStart,
|
|
@@ -17,19 +16,17 @@ const svg = ({
|
|
|
17
16
|
iconGradientStop,
|
|
18
17
|
iconColor,
|
|
19
18
|
textColor
|
|
20
|
-
};
|
|
19
|
+
};
|
|
20
|
+
// Will be fixed upon removal of deprecated iconGradientStart and
|
|
21
21
|
// iconGradientStop props, or with React 18's useId() hook when we update.
|
|
22
22
|
// eslint-disable-next-line @repo/internal/react/disallow-unstable-values
|
|
23
|
-
|
|
24
23
|
let id = uid({
|
|
25
24
|
iconGradientStart: iconGradientStop
|
|
26
25
|
});
|
|
27
|
-
|
|
28
26
|
if (appearance) {
|
|
29
27
|
colors = getColorsFromAppearance(appearance);
|
|
30
28
|
id = `jsmLogo-${appearance}`;
|
|
31
29
|
}
|
|
32
|
-
|
|
33
30
|
return `
|
|
34
31
|
<svg viewBox="0 0 305 32" height="32" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true">
|
|
35
32
|
<defs>
|
|
@@ -45,6 +42,7 @@ const svg = ({
|
|
|
45
42
|
</g>
|
|
46
43
|
</svg>`;
|
|
47
44
|
};
|
|
45
|
+
|
|
48
46
|
/**
|
|
49
47
|
* __Jira Service Management logo__
|
|
50
48
|
*
|
|
@@ -54,8 +52,6 @@ const svg = ({
|
|
|
54
52
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
55
53
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
56
54
|
*/
|
|
57
|
-
|
|
58
|
-
|
|
59
55
|
export const JiraServiceManagementLogo = ({
|
|
60
56
|
appearance,
|
|
61
57
|
label = 'Jira Service Management',
|
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
import { defaultLogoParams } from '../constants';
|
|
4
4
|
import { getColorsFromAppearance } from '../utils';
|
|
5
5
|
import Wrapper from '../wrapper';
|
|
6
|
-
|
|
7
6
|
const svg = ({
|
|
8
7
|
appearance,
|
|
9
8
|
textColor
|
|
@@ -11,17 +10,16 @@ const svg = ({
|
|
|
11
10
|
let colors = {
|
|
12
11
|
textColor
|
|
13
12
|
};
|
|
14
|
-
|
|
15
13
|
if (appearance) {
|
|
16
14
|
colors = getColorsFromAppearance(appearance);
|
|
17
15
|
}
|
|
18
|
-
|
|
19
16
|
return `
|
|
20
17
|
<svg xmlns="http://www.w3.org/2000/svg" height="32" fill="none" viewBox="0 0 278 32">
|
|
21
18
|
<path fill="${colors.textColor}" fill-rule="evenodd" d="M11.565 6.004a1.443 1.443 0 011.546 1.545 1.545 1.545 0 11-3.091 0 1.448 1.448 0 011.545-1.545zm-1.133 4.944h2.216v12.88h-2.216v-12.88zM5.023 6.905h2.318v11.77c0 3.118-1.364 5.27-4.557 5.27A8.253 8.253 0 010 23.504v-2.254a6.496 6.496 0 002.397.44c1.959 0 2.635-1.186 2.635-2.86L5.023 6.904zm10.974 16.922h2.163v-7.599c0-2.728 1.727-3.589 4.56-3.296V10.77c-2.526-.155-3.813.928-4.56 2.447v-2.268h-2.163v12.879zM33.1 21.509c-.822 1.7-2.368 2.576-4.352 2.576-3.425 0-5.152-2.91-5.152-6.698 0-3.63 1.803-6.697 5.41-6.697 1.878 0 3.322.852 4.097 2.526v-2.268h2.216v12.88h-2.216l-.003-2.32zm-3.761.515c1.985 0 3.761-1.262 3.761-4.121v-1.03c0-2.858-1.621-4.122-3.512-4.122-2.497 0-3.785 1.65-3.785 4.636.009 3.089 1.244 4.637 3.536 4.637zm12.985.75c1.311.667 2.83 1.311 6.103 1.311 4.197 0 5.95-1.982 5.986-4.918 0-3.053-2.011-4.2-5.591-5.102-2.989-.746-4.069-1.443-4.069-2.833 0-1.546 1.3-2.318 3.513-2.318a10.4 10.4 0 015.269 1.288V7.883c-1.16-.65-2.728-1.235-5.175-1.235-3.943 0-5.951 1.95-5.951 4.584 0 2.784 1.706 4.095 5.511 5.023 3.22.773 4.148 1.569 4.148 3.065 0 1.495-.963 2.5-3.512 2.5-2.243 0-4.663-.592-6.232-1.417v2.37zm20.94 1.311c-4.818 0-6.928-2.78-6.928-6.733 0-3.89 2.163-6.673 6.077-6.673 3.966 0 5.561 2.757 5.561 6.673v1.016h-9.399c.31 2.19 1.727 3.607 4.766 3.607 1.336-.001 2.662-.237 3.916-.697v2.049c-1.056.553-2.678.758-3.992.758zm-4.715-7.61h7.189c-.129-2.398-1.212-3.762-3.428-3.762-2.344-.012-3.527 1.507-3.761 3.75v.011zm12.057 7.352h2.163v-7.599c0-2.728 1.727-3.589 4.56-3.296V10.77c-2.526-.155-3.813.928-4.56 2.447v-2.268h-2.163v12.879zm12.183 0l-4.997-12.879h2.318l4.172 10.991 4.147-11h2.319L85.75 23.82l-2.962.009zM94.397 6.091a1.443 1.443 0 00-.608-.087 1.446 1.446 0 00-1.546 1.545 1.547 1.547 0 002.66 1.136 1.546 1.546 0 00.429-1.136 1.444 1.444 0 00-.935-1.458zm.472 4.857h-2.216v12.88h2.216v-12.88zm12.441 12.546c-.773.412-1.956.585-3.141.585-4.584 0-6.733-2.78-6.733-6.733 0-3.89 2.14-6.673 6.733-6.673a6.777 6.777 0 013.064.62v2.05a6.49 6.49 0 00-2.909-.621c-3.349 0-4.716 2.113-4.716 4.613 0 2.5 1.393 4.61 4.766 4.61a8.102 8.102 0 002.927-.465l.009 2.014zm1.762-6.142c0 3.952 2.11 6.733 6.928 6.733 1.306 0 2.927-.205 3.999-.758v-2.05c-1.255.46-2.581.697-3.917.697-3.038 0-4.455-1.416-4.765-3.606h9.396v-1.015c0-3.917-1.595-6.674-5.562-6.674-3.916 0-6.079 2.783-6.079 6.673zm9.402-.878h-7.187l-.008-.011c.231-2.243 1.416-3.762 3.767-3.75 2.216 0 3.299 1.364 3.428 3.761zm12.302-8.178v15.531h-2.318V6.905h4.019l3.838 9.71 1.572 4.663 1.571-4.663 3.861-9.71h3.735v16.922h-2.318V8.474l-1.982 6.106-3.735 9.247h-2.236l-3.688-9.247-2.319-6.284zm24.369 15.789c1.982 0 3.527-.875 4.353-2.576v2.318h2.218v-12.88h-2.215v2.27c-.776-1.675-2.219-2.527-4.098-2.527-3.607 0-5.41 3.068-5.41 6.697 0 3.788 1.724 6.698 5.152 6.698zm4.353-6.182c0 2.86-1.777 4.121-3.762 4.121-2.292 0-3.527-1.548-3.536-4.637 0-2.985 1.288-4.636 3.785-4.636 1.891 0 3.513 1.264 3.513 4.121v1.03zm16.509 5.924h-2.216V16.05c0-2.319-.928-3.349-3.038-3.349-2.049 0-3.478 1.364-3.478 3.966v7.16h-2.216v-12.88h2.216v2.114a4.513 4.513 0 014.069-2.37c2.962 0 4.663 2.048 4.663 5.59v7.546zm7.473.258c1.982 0 3.527-.875 4.353-2.576v2.318h2.224v-12.88h-2.221v2.27c-.776-1.675-2.219-2.527-4.098-2.527-3.607 0-5.41 3.068-5.41 6.697 0 3.788 1.724 6.698 5.152 6.698zm4.353-6.182c0 2.86-1.777 4.121-3.762 4.121-2.292 0-3.527-1.548-3.536-4.637 0-2.985 1.288-4.636 3.785-4.636 1.888 0 3.513 1.264 3.513 4.121v1.03zm14.243 3.606c-.822 1.7-2.368 2.576-4.353 2.576-3.398 0-5.099-2.91-5.099-6.698 0-3.63 1.777-6.697 5.357-6.697 1.882 0 3.322.852 4.098 2.526v-2.268h2.163v11.708c0 3.788-1.777 6.338-6.387 6.338a12.944 12.944 0 01-4.578-.685v-2.164c1.44.496 2.95.756 4.473.77 3.22 0 4.326-1.724 4.326-4.121v-1.285zm-3.758.515c1.981 0 3.758-1.262 3.758-4.121v-1.03c0-2.858-1.622-4.122-3.512-4.122-2.5 0-3.788 1.65-3.788 4.636.011 3.089 1.247 4.637 3.542 4.637zm8.5-4.672c0 3.952 2.111 6.733 6.929 6.733 1.311 0 2.947-.205 3.992-.758v-2.05a11.41 11.41 0 01-3.916.697c-3.039 0-4.455-1.416-4.766-3.606h9.399v-1.015c0-3.917-1.595-6.674-5.561-6.674-3.914 0-6.077 2.783-6.077 6.673zm9.399-.878h-7.186v-.011c.231-2.243 1.417-3.762 3.761-3.75 2.216 0 3.296 1.364 3.425 3.761zm15.819 7.353h-2.216V16.05c0-2.319-.928-3.349-3.042-3.349-2.049 0-3.477 1.364-3.477 3.966v7.16h-2.216v-12.88h2.213v2.114a4.521 4.521 0 014.072-2.37c2.189 0 3.682 1.109 4.326 3.143.72-1.985 2.447-3.144 4.587-3.144 2.883 0 4.481 1.959 4.481 5.591v7.546h-2.216V16.67c0-2.652-.927-3.966-3.041-3.966-2.049 0-3.474 1.364-3.474 3.966l.003 7.157zm11.05-6.475c0 3.952 2.11 6.733 6.928 6.733 1.314 0 2.936-.205 3.993-.758v-2.05a11.4 11.4 0 01-3.917.697c-3.038 0-4.455-1.416-4.765-3.606h9.402v-1.015c0-3.917-1.595-6.674-5.562-6.674-3.916 0-6.079 2.783-6.079 6.673zm9.402-.878h-7.19v-.011c.235-2.243 1.417-3.762 3.762-3.75 2.216 0 3.299 1.364 3.428 3.761zm15.815 7.353h-2.216V16.05c0-2.319-.928-3.349-3.041-3.349-2.049 0-3.475 1.364-3.475 3.966v7.16h-2.216v-12.88h2.216v2.114a4.513 4.513 0 014.069-2.37c2.962 0 4.663 2.048 4.663 5.59v7.546zm9.581-2.265a7.12 7.12 0 01-1.391.181c-1.364 0-2.034-.773-2.046-1.908v-6.838h3.425v-2.05h-3.399V8.22h-2.163v2.74h-2.104v2.049h2.087v6.875c0 2.395 1.34 4.02 4.098 4.02a5.213 5.213 0 001.493-.208v-2.134z" clip-rule="evenodd"/>
|
|
22
19
|
</svg>
|
|
23
20
|
`;
|
|
24
21
|
};
|
|
22
|
+
|
|
25
23
|
/**
|
|
26
24
|
* __Jira Service Management wordmark__
|
|
27
25
|
*
|
|
@@ -31,8 +29,6 @@ const svg = ({
|
|
|
31
29
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
32
30
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
33
31
|
*/
|
|
34
|
-
|
|
35
|
-
|
|
36
32
|
export const JiraServiceManagementWordmark = ({
|
|
37
33
|
appearance,
|
|
38
34
|
label = 'Jira Service Management',
|
|
@@ -4,7 +4,6 @@ import { uid } from 'react-uid';
|
|
|
4
4
|
import { defaultLogoParams } from '../constants';
|
|
5
5
|
import { getColorsFromAppearance } from '../utils';
|
|
6
6
|
import Wrapper from '../wrapper';
|
|
7
|
-
|
|
8
7
|
const svg = ({
|
|
9
8
|
appearance,
|
|
10
9
|
iconGradientStart,
|
|
@@ -15,19 +14,17 @@ const svg = ({
|
|
|
15
14
|
iconGradientStart,
|
|
16
15
|
iconGradientStop,
|
|
17
16
|
iconColor
|
|
18
|
-
};
|
|
17
|
+
};
|
|
18
|
+
// Will be fixed upon removal of deprecated iconGradientStart and
|
|
19
19
|
// iconGradientStop props, or with React 18's useId() hook when we update.
|
|
20
20
|
// eslint-disable-next-line @repo/internal/react/disallow-unstable-values
|
|
21
|
-
|
|
22
21
|
let id = uid({
|
|
23
22
|
iconGradientStart: iconGradientStop
|
|
24
23
|
});
|
|
25
|
-
|
|
26
24
|
if (appearance) {
|
|
27
25
|
colors = getColorsFromAppearance(appearance);
|
|
28
26
|
id = `jiraSoftwareIcon-${appearance}`;
|
|
29
27
|
}
|
|
30
|
-
|
|
31
28
|
return `
|
|
32
29
|
<svg viewBox="0 0 32 32" height="32" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true">
|
|
33
30
|
<defs>
|
|
@@ -47,6 +44,7 @@ const svg = ({
|
|
|
47
44
|
</g>
|
|
48
45
|
</svg>`;
|
|
49
46
|
};
|
|
47
|
+
|
|
50
48
|
/**
|
|
51
49
|
* __Jira software icon__
|
|
52
50
|
*
|
|
@@ -56,8 +54,6 @@ const svg = ({
|
|
|
56
54
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
57
55
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
58
56
|
*/
|
|
59
|
-
|
|
60
|
-
|
|
61
57
|
export const JiraSoftwareIcon = ({
|
|
62
58
|
appearance,
|
|
63
59
|
label = 'Jira Software',
|
|
@@ -4,7 +4,6 @@ import { uid } from 'react-uid';
|
|
|
4
4
|
import { defaultLogoParams } from '../constants';
|
|
5
5
|
import { getColorsFromAppearance } from '../utils';
|
|
6
6
|
import Wrapper from '../wrapper';
|
|
7
|
-
|
|
8
7
|
const svg = ({
|
|
9
8
|
appearance,
|
|
10
9
|
iconGradientStart,
|
|
@@ -17,19 +16,17 @@ const svg = ({
|
|
|
17
16
|
iconGradientStop,
|
|
18
17
|
iconColor,
|
|
19
18
|
textColor
|
|
20
|
-
};
|
|
19
|
+
};
|
|
20
|
+
// Will be fixed upon removal of deprecated iconGradientStart and
|
|
21
21
|
// iconGradientStop props, or with React 18's useId() hook when we update.
|
|
22
22
|
// eslint-disable-next-line @repo/internal/react/disallow-unstable-values
|
|
23
|
-
|
|
24
23
|
let id = uid({
|
|
25
24
|
iconGradientStart: iconGradientStop
|
|
26
25
|
});
|
|
27
|
-
|
|
28
26
|
if (appearance) {
|
|
29
27
|
colors = getColorsFromAppearance(appearance);
|
|
30
28
|
id = `jiraSoftwareLogo-${appearance}`;
|
|
31
29
|
}
|
|
32
|
-
|
|
33
30
|
return `
|
|
34
31
|
<svg viewBox="0 0 179 32" height="32" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true">
|
|
35
32
|
<defs>
|
|
@@ -51,6 +48,7 @@ const svg = ({
|
|
|
51
48
|
</g>
|
|
52
49
|
</svg>`;
|
|
53
50
|
};
|
|
51
|
+
|
|
54
52
|
/**
|
|
55
53
|
* __Jira Software logo__
|
|
56
54
|
*
|
|
@@ -60,8 +58,6 @@ const svg = ({
|
|
|
60
58
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
61
59
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
62
60
|
*/
|
|
63
|
-
|
|
64
|
-
|
|
65
61
|
export const JiraSoftwareLogo = ({
|
|
66
62
|
appearance,
|
|
67
63
|
label = 'Jira Software',
|
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
import { defaultLogoParams } from '../constants';
|
|
4
4
|
import { getColorsFromAppearance } from '../utils';
|
|
5
5
|
import Wrapper from '../wrapper';
|
|
6
|
-
|
|
7
6
|
const svg = ({
|
|
8
7
|
appearance,
|
|
9
8
|
textColor
|
|
@@ -11,11 +10,9 @@ const svg = ({
|
|
|
11
10
|
let colors = {
|
|
12
11
|
textColor
|
|
13
12
|
};
|
|
14
|
-
|
|
15
13
|
if (appearance) {
|
|
16
14
|
colors = getColorsFromAppearance(appearance);
|
|
17
15
|
}
|
|
18
|
-
|
|
19
16
|
return `
|
|
20
17
|
<svg viewBox="0 0 148 32" height="32" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true">
|
|
21
18
|
<g stroke="none" stroke-width="1" fill-rule="evenodd" fill="${colors.textColor}">
|
|
@@ -23,6 +20,7 @@ const svg = ({
|
|
|
23
20
|
</g>
|
|
24
21
|
</svg>`;
|
|
25
22
|
};
|
|
23
|
+
|
|
26
24
|
/**
|
|
27
25
|
* __Jira Software wordmark__
|
|
28
26
|
*
|
|
@@ -32,8 +30,6 @@ const svg = ({
|
|
|
32
30
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
33
31
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
34
32
|
*/
|
|
35
|
-
|
|
36
|
-
|
|
37
33
|
export const JiraSoftwareWordmark = ({
|
|
38
34
|
appearance,
|
|
39
35
|
label = 'Jira Software',
|
|
@@ -4,7 +4,6 @@ import { uid } from 'react-uid';
|
|
|
4
4
|
import { defaultLogoParams } from '../constants';
|
|
5
5
|
import { getColorsFromAppearance } from '../utils';
|
|
6
6
|
import Wrapper from '../wrapper';
|
|
7
|
-
|
|
8
7
|
const svg = ({
|
|
9
8
|
appearance,
|
|
10
9
|
iconGradientStart,
|
|
@@ -15,19 +14,17 @@ const svg = ({
|
|
|
15
14
|
iconGradientStart,
|
|
16
15
|
iconGradientStop,
|
|
17
16
|
iconColor
|
|
18
|
-
};
|
|
17
|
+
};
|
|
18
|
+
// Will be fixed upon removal of deprecated iconGradientStart and
|
|
19
19
|
// iconGradientStop props, or with React 18's useId() hook when we update.
|
|
20
20
|
// eslint-disable-next-line @repo/internal/react/disallow-unstable-values
|
|
21
|
-
|
|
22
21
|
let id = uid({
|
|
23
22
|
iconGradientStart: iconGradientStop
|
|
24
23
|
});
|
|
25
|
-
|
|
26
24
|
if (appearance) {
|
|
27
25
|
colors = getColorsFromAppearance(appearance);
|
|
28
26
|
id = `jwmIcon-${appearance}`;
|
|
29
27
|
}
|
|
30
|
-
|
|
31
28
|
return `
|
|
32
29
|
<svg
|
|
33
30
|
fill="none"
|
|
@@ -56,6 +53,7 @@ const svg = ({
|
|
|
56
53
|
/>
|
|
57
54
|
</svg>`;
|
|
58
55
|
};
|
|
56
|
+
|
|
59
57
|
/**
|
|
60
58
|
* __Jira Work Management icon__
|
|
61
59
|
*
|
|
@@ -65,8 +63,6 @@ const svg = ({
|
|
|
65
63
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
66
64
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
67
65
|
*/
|
|
68
|
-
|
|
69
|
-
|
|
70
66
|
export const JiraWorkManagementIcon = ({
|
|
71
67
|
appearance,
|
|
72
68
|
label = 'Jira Work Management',
|
|
@@ -4,7 +4,6 @@ import { uid } from 'react-uid';
|
|
|
4
4
|
import { defaultLogoParams } from '../constants';
|
|
5
5
|
import { getColorsFromAppearance } from '../utils';
|
|
6
6
|
import Wrapper from '../wrapper';
|
|
7
|
-
|
|
8
7
|
const svg = ({
|
|
9
8
|
appearance,
|
|
10
9
|
iconGradientStart,
|
|
@@ -17,19 +16,17 @@ const svg = ({
|
|
|
17
16
|
iconGradientStop,
|
|
18
17
|
iconColor,
|
|
19
18
|
textColor
|
|
20
|
-
};
|
|
19
|
+
};
|
|
20
|
+
// Will be fixed upon removal of deprecated iconGradientStart and
|
|
21
21
|
// iconGradientStop props, or with React 18's useId() hook when we update.
|
|
22
22
|
// eslint-disable-next-line @repo/internal/react/disallow-unstable-values
|
|
23
|
-
|
|
24
23
|
let id = uid({
|
|
25
24
|
iconGradientStart: iconGradientStop
|
|
26
25
|
});
|
|
27
|
-
|
|
28
26
|
if (appearance) {
|
|
29
27
|
colors = getColorsFromAppearance(appearance);
|
|
30
28
|
id = `jwmLogo-${appearance}`;
|
|
31
29
|
}
|
|
32
|
-
|
|
33
30
|
return `
|
|
34
31
|
<svg
|
|
35
32
|
fill="none"
|
|
@@ -62,6 +59,7 @@ const svg = ({
|
|
|
62
59
|
</g>
|
|
63
60
|
</svg>`;
|
|
64
61
|
};
|
|
62
|
+
|
|
65
63
|
/**
|
|
66
64
|
* __Jira Work Management logo__
|
|
67
65
|
*
|
|
@@ -71,8 +69,6 @@ const svg = ({
|
|
|
71
69
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
72
70
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
73
71
|
*/
|
|
74
|
-
|
|
75
|
-
|
|
76
72
|
export const JiraWorkManagementLogo = ({
|
|
77
73
|
appearance,
|
|
78
74
|
label = 'Jira Work Management',
|
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
import { defaultLogoParams } from '../constants';
|
|
4
4
|
import { getColorsFromAppearance } from '../utils';
|
|
5
5
|
import Wrapper from '../wrapper';
|
|
6
|
-
|
|
7
6
|
const svg = ({
|
|
8
7
|
appearance,
|
|
9
8
|
textColor
|
|
@@ -11,11 +10,9 @@ const svg = ({
|
|
|
11
10
|
let colors = {
|
|
12
11
|
textColor
|
|
13
12
|
};
|
|
14
|
-
|
|
15
13
|
if (appearance) {
|
|
16
14
|
colors = getColorsFromAppearance(appearance);
|
|
17
15
|
}
|
|
18
|
-
|
|
19
16
|
return `
|
|
20
17
|
<svg
|
|
21
18
|
height="32"
|
|
@@ -30,6 +27,7 @@ const svg = ({
|
|
|
30
27
|
/>
|
|
31
28
|
</svg>`;
|
|
32
29
|
};
|
|
30
|
+
|
|
33
31
|
/**
|
|
34
32
|
* __Jira Work Management wordmark__
|
|
35
33
|
*
|
|
@@ -39,8 +37,6 @@ const svg = ({
|
|
|
39
37
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
40
38
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
41
39
|
*/
|
|
42
|
-
|
|
43
|
-
|
|
44
40
|
export const JiraWorkManagementWordmark = ({
|
|
45
41
|
appearance,
|
|
46
42
|
label = 'Jira Work Management',
|
|
@@ -4,7 +4,6 @@ import { uid } from 'react-uid';
|
|
|
4
4
|
import { defaultLogoParams } from '../constants';
|
|
5
5
|
import { getColorsFromAppearance } from '../utils';
|
|
6
6
|
import Wrapper from '../wrapper';
|
|
7
|
-
|
|
8
7
|
const svg = ({
|
|
9
8
|
appearance,
|
|
10
9
|
size,
|
|
@@ -16,19 +15,17 @@ const svg = ({
|
|
|
16
15
|
iconGradientStart,
|
|
17
16
|
iconGradientStop,
|
|
18
17
|
iconColor
|
|
19
|
-
};
|
|
18
|
+
};
|
|
19
|
+
// Will be fixed upon removal of deprecated iconGradientStart and
|
|
20
20
|
// iconGradientStop props, or with React 18's useId() hook when we update.
|
|
21
21
|
// eslint-disable-next-line @repo/internal/react/disallow-unstable-values
|
|
22
|
-
|
|
23
22
|
let id = uid({
|
|
24
23
|
iconGradientStart: iconGradientStop
|
|
25
24
|
});
|
|
26
|
-
|
|
27
25
|
if (appearance) {
|
|
28
26
|
colors = getColorsFromAppearance(appearance);
|
|
29
27
|
id = `opsgenieIcon-${appearance}`;
|
|
30
28
|
}
|
|
31
|
-
|
|
32
29
|
return `
|
|
33
30
|
<svg viewBox="0 0 32 32" height="32" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true">
|
|
34
31
|
<defs>
|
|
@@ -62,6 +59,7 @@ const svg = ({
|
|
|
62
59
|
</g>
|
|
63
60
|
</svg>`;
|
|
64
61
|
};
|
|
62
|
+
|
|
65
63
|
/**
|
|
66
64
|
* __Opsgenie icon__
|
|
67
65
|
*
|
|
@@ -71,8 +69,6 @@ const svg = ({
|
|
|
71
69
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
72
70
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
73
71
|
*/
|
|
74
|
-
|
|
75
|
-
|
|
76
72
|
export const OpsgenieIcon = ({
|
|
77
73
|
appearance,
|
|
78
74
|
label = 'Opsgenie',
|
|
@@ -4,7 +4,6 @@ import { uid } from 'react-uid';
|
|
|
4
4
|
import { defaultLogoParams } from '../constants';
|
|
5
5
|
import { getColorsFromAppearance } from '../utils';
|
|
6
6
|
import Wrapper from '../wrapper';
|
|
7
|
-
|
|
8
7
|
const svg = ({
|
|
9
8
|
appearance,
|
|
10
9
|
size,
|
|
@@ -18,19 +17,17 @@ const svg = ({
|
|
|
18
17
|
iconGradientStop,
|
|
19
18
|
iconColor,
|
|
20
19
|
textColor
|
|
21
|
-
};
|
|
20
|
+
};
|
|
21
|
+
// Will be fixed upon removal of deprecated iconGradientStart and
|
|
22
22
|
// iconGradientStop props, or with React 18's useId() hook when we update.
|
|
23
23
|
// eslint-disable-next-line @repo/internal/react/disallow-unstable-values
|
|
24
|
-
|
|
25
24
|
let id = uid({
|
|
26
25
|
iconGradientStart: iconGradientStop
|
|
27
26
|
});
|
|
28
|
-
|
|
29
27
|
if (appearance) {
|
|
30
28
|
colors = getColorsFromAppearance(appearance);
|
|
31
29
|
id = `opsgenieLogo-${appearance}`;
|
|
32
30
|
}
|
|
33
|
-
|
|
34
31
|
return `
|
|
35
32
|
<svg viewBox="0 0 133 32" height="32" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true">
|
|
36
33
|
<defs>
|
|
@@ -65,6 +62,7 @@ const svg = ({
|
|
|
65
62
|
</g>
|
|
66
63
|
</svg>`;
|
|
67
64
|
};
|
|
65
|
+
|
|
68
66
|
/**
|
|
69
67
|
* __Opsgenie logo__
|
|
70
68
|
*
|
|
@@ -74,8 +72,6 @@ const svg = ({
|
|
|
74
72
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
75
73
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
76
74
|
*/
|
|
77
|
-
|
|
78
|
-
|
|
79
75
|
export const OpsgenieLogo = ({
|
|
80
76
|
appearance,
|
|
81
77
|
label = 'Opsgenie',
|
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
import { defaultLogoParams } from '../constants';
|
|
4
4
|
import { getColorsFromAppearance } from '../utils';
|
|
5
5
|
import Wrapper from '../wrapper';
|
|
6
|
-
|
|
7
6
|
const svg = ({
|
|
8
7
|
appearance,
|
|
9
8
|
textColor
|
|
@@ -11,11 +10,9 @@ const svg = ({
|
|
|
11
10
|
let colors = {
|
|
12
11
|
textColor
|
|
13
12
|
};
|
|
14
|
-
|
|
15
13
|
if (appearance) {
|
|
16
14
|
colors = getColorsFromAppearance(appearance);
|
|
17
15
|
}
|
|
18
|
-
|
|
19
16
|
return `
|
|
20
17
|
<svg viewBox="0 0 148 32" height="32" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true">
|
|
21
18
|
<g fill-rule="evenodd" fill="${colors.textColor}">
|
|
@@ -23,6 +20,7 @@ const svg = ({
|
|
|
23
20
|
</g>
|
|
24
21
|
</svg>`;
|
|
25
22
|
};
|
|
23
|
+
|
|
26
24
|
/**
|
|
27
25
|
* __Opsgenie wordmark__
|
|
28
26
|
*
|
|
@@ -32,8 +30,6 @@ const svg = ({
|
|
|
32
30
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
33
31
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
34
32
|
*/
|
|
35
|
-
|
|
36
|
-
|
|
37
33
|
export const OpsgenieWordmark = ({
|
|
38
34
|
appearance,
|
|
39
35
|
size = defaultLogoParams.size,
|
|
@@ -4,7 +4,6 @@ import { uid } from 'react-uid';
|
|
|
4
4
|
import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
5
5
|
import { defaultLogoParams } from '../constants';
|
|
6
6
|
import Wrapper from '../wrapper';
|
|
7
|
-
|
|
8
7
|
const svg = ({
|
|
9
8
|
iconGradientStart,
|
|
10
9
|
iconGradientStop,
|
|
@@ -49,16 +48,14 @@ const svg = ({
|
|
|
49
48
|
</g>
|
|
50
49
|
</svg>`;
|
|
51
50
|
};
|
|
51
|
+
|
|
52
52
|
/**
|
|
53
53
|
* This is the old OpsGenieIcon that was meant to be deprecated but was never removed.
|
|
54
54
|
* This is because it casing it incorrect, it should be Opsgenie, not OpsGenie.
|
|
55
55
|
*/
|
|
56
|
-
|
|
57
56
|
/**
|
|
58
57
|
* @deprecated OpsGenieIcon is incorrectly cased and will be removed from atlaskit/logo in the next major release. Please use OpsgenieIcon (no capital 'g') instead.
|
|
59
58
|
*/
|
|
60
|
-
|
|
61
|
-
|
|
62
59
|
export const OpsGenieIcon = ({
|
|
63
60
|
iconColor = defaultLogoParams.iconColor,
|
|
64
61
|
iconGradientStart = defaultLogoParams.iconGradientStart,
|
|
@@ -70,7 +67,6 @@ export const OpsGenieIcon = ({
|
|
|
70
67
|
if (process.env.NODE_ENV !== 'production') {
|
|
71
68
|
warnOnce('OpsGenieIcon will be renamed to OpsgenieIcon in the next major release. Please use OpsgenieIcon instead.');
|
|
72
69
|
}
|
|
73
|
-
|
|
74
70
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
75
71
|
svg: svg({
|
|
76
72
|
iconGradientStart,
|
|
@@ -4,7 +4,6 @@ import { uid } from 'react-uid';
|
|
|
4
4
|
import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
5
5
|
import { defaultLogoParams } from '../constants';
|
|
6
6
|
import Wrapper from '../wrapper';
|
|
7
|
-
|
|
8
7
|
const svg = ({
|
|
9
8
|
iconGradientStart,
|
|
10
9
|
iconGradientStop,
|
|
@@ -50,11 +49,10 @@ const svg = ({
|
|
|
50
49
|
</g>
|
|
51
50
|
</svg>`;
|
|
52
51
|
};
|
|
52
|
+
|
|
53
53
|
/**
|
|
54
54
|
* @deprecated OpsGenieLogo is incorrectly cased and will be removed from atlaskit/logo in the next major release. Please use OpsgenieLogo (no capital 'g') instead.
|
|
55
55
|
*/
|
|
56
|
-
|
|
57
|
-
|
|
58
56
|
export const OpsGenieLogo = ({
|
|
59
57
|
iconColor = defaultLogoParams.iconColor,
|
|
60
58
|
iconGradientStart = defaultLogoParams.iconGradientStart,
|
|
@@ -66,7 +64,6 @@ export const OpsGenieLogo = ({
|
|
|
66
64
|
if (process.env.NODE_ENV !== 'production') {
|
|
67
65
|
warnOnce('OpsGenieLogo will be renamed to OpsgenieLogo in the next major release. Please use OpsgenieLogo instead.');
|
|
68
66
|
}
|
|
69
|
-
|
|
70
67
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
71
68
|
iconColor: iconColor,
|
|
72
69
|
iconGradientStart: iconGradientStart,
|
|
@@ -3,18 +3,16 @@ import React from 'react';
|
|
|
3
3
|
import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
4
4
|
import { defaultLogoParams } from '../constants';
|
|
5
5
|
import Wrapper from '../wrapper';
|
|
6
|
-
|
|
7
6
|
const svg = () => `
|
|
8
7
|
<svg viewBox="0 0 148 32" height="32" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true">
|
|
9
8
|
<g fill-rule="evenodd" fill="inherit">
|
|
10
9
|
<path d="M0 14.996c0-5.155 2.958-8.772 8.248-8.772 5.291 0 8.24 3.62 8.24 8.772 0 5.203-2.957 8.846-8.225 8.846C2.996 23.842 0 20.196 0 14.996zm2.342 0c0 3.617 1.692 6.61 5.915 6.61 4.224 0 5.865-2.993 5.865-6.61 0-3.549-1.692-6.533-5.882-6.533-4.191 0-5.898 2.993-5.898 6.533zm19.363 6.297v7.364h-2.239V10.572h2.24v2.342c.83-1.718 2.395-2.602 4.397-2.602 3.46 0 5.205 2.94 5.205 6.763 0 3.67-1.822 6.767-5.465 6.767-1.9 0-3.357-.857-4.138-2.55zm3.8-8.9c-2.005 0-3.8 1.275-3.8 4.165v1.04c0 2.887 1.639 4.162 3.55 4.162 2.522 0 3.823-1.665 3.823-4.685-.009-3.12-1.257-4.681-3.573-4.681zm12.493 11.45a10.056 10.056 0 0 1-4.53-.962v-2.366A10.189 10.189 0 0 0 38.1 21.79c1.719 0 2.603-.701 2.603-1.719 0-1.017-.754-1.561-3.227-2.159-2.889-.703-4.113-1.821-4.113-3.954 0-2.265 1.744-3.643 4.71-3.643a9.248 9.248 0 0 1 4.192.934v2.319c-1.562-.78-2.837-1.183-4.218-1.183-1.638 0-2.523.57-2.523 1.588 0 .91.625 1.479 3.02 2.055 2.887.701 4.345 1.775 4.345 4.035 0 2.14-1.405 3.78-4.892 3.78zm16.76-2.603c-.834 1.718-2.395 2.602-4.4 2.602-3.434 0-5.153-2.94-5.153-6.767 0-3.667 1.796-6.763 5.416-6.763 1.898 0 3.356.857 4.14 2.549v-2.29h2.186v11.83c0 3.828-1.796 6.404-6.457 6.404a13.17 13.17 0 0 1-4.631-.701v-2.189c1.456.504 2.984.77 4.525.787 3.253 0 4.374-1.742 4.374-4.164V21.24zm-3.8.52c2.002 0 3.8-1.275 3.8-4.161v-1.041c0-2.89-1.641-4.164-3.549-4.164-2.526 0-3.827 1.665-3.827 4.681.009 3.12 1.26 4.685 3.576 4.685zm15.589 2.082c-4.868 0-7-2.81-7-6.802 0-3.93 2.185-6.74 6.142-6.74 4.007 0 5.62 2.783 5.62 6.74v1.026h-9.5c.313 2.212 1.745 3.644 4.815 3.644 1.35-.001 2.69-.24 3.957-.704v2.07c-1.068.56-2.706.766-4.034.766zm-4.762-7.69h7.26c-.13-2.421-1.224-3.8-3.462-3.8-2.366-.012-3.55 1.523-3.798 3.789v.012zm23.24 7.43h-2.239v-7.858c0-2.342-.937-3.384-3.07-3.384-2.07 0-3.513 1.379-3.513 4.008v7.234h-2.239V10.569h2.239V12.7a4.558 4.558 0 0 1 4.11-2.392c2.994 0 4.712 2.07 4.712 5.646v7.627zm4.268-18.008a1.461 1.461 0 0 1 1.561 1.561 1.562 1.562 0 1 1-3.123 0 1.461 1.461 0 0 1 1.562-1.561zm-1.145 4.998h2.24v13.013h-2.24V10.572zm12.363 13.27c-4.868 0-7-2.81-7-6.802 0-3.93 2.185-6.74 6.139-6.74 4.007 0 5.62 2.783 5.62 6.74v1.026h-9.497c.313 2.212 1.745 3.644 4.815 3.644 1.35-.001 2.69-.24 3.957-.704v2.07c-1.068.56-2.706.766-4.034.766zm-4.762-7.701h7.264c-.13-2.422-1.225-3.8-3.464-3.8-2.371 0-3.566 1.534-3.8 3.8z" />
|
|
11
10
|
</g>
|
|
12
11
|
</svg>`;
|
|
12
|
+
|
|
13
13
|
/**
|
|
14
14
|
* @deprecated OpsGenieWordmark is incorrectly cased and will be removed from atlaskit/logo in the next major release. Please use OpsgenieLogo (no capital 'g') instead.
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
18
16
|
export const OpsGenieWordmark = ({
|
|
19
17
|
iconColor = defaultLogoParams.iconColor,
|
|
20
18
|
iconGradientStart = defaultLogoParams.iconGradientStart,
|
|
@@ -26,7 +24,6 @@ export const OpsGenieWordmark = ({
|
|
|
26
24
|
if (process.env.NODE_ENV !== 'production') {
|
|
27
25
|
warnOnce('OpsGenieWordmark will be renamed to OpsgenieWordmark in the next major release. Please use OpsgenieWordmark instead.');
|
|
28
26
|
}
|
|
29
|
-
|
|
30
27
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
31
28
|
svg: svg(),
|
|
32
29
|
iconColor: iconColor,
|
|
@@ -4,7 +4,6 @@ import { uid } from 'react-uid';
|
|
|
4
4
|
import { defaultLogoParams } from '../constants';
|
|
5
5
|
import { getColorsFromAppearance } from '../utils';
|
|
6
6
|
import Wrapper from '../wrapper';
|
|
7
|
-
|
|
8
7
|
const svg = ({
|
|
9
8
|
appearance,
|
|
10
9
|
iconGradientStart,
|
|
@@ -15,19 +14,17 @@ const svg = ({
|
|
|
15
14
|
iconGradientStart,
|
|
16
15
|
iconGradientStop,
|
|
17
16
|
iconColor
|
|
18
|
-
};
|
|
17
|
+
};
|
|
18
|
+
// Will be fixed upon removal of deprecated iconGradientStart and
|
|
19
19
|
// iconGradientStop props, or with React 18's useId() hook when we update.
|
|
20
20
|
// eslint-disable-next-line @repo/internal/react/disallow-unstable-values
|
|
21
|
-
|
|
22
21
|
let id = uid({
|
|
23
22
|
iconGradientStart: iconGradientStop
|
|
24
23
|
});
|
|
25
|
-
|
|
26
24
|
if (appearance) {
|
|
27
25
|
colors = getColorsFromAppearance(appearance);
|
|
28
26
|
id = `statuspageIcon-${appearance}`;
|
|
29
27
|
}
|
|
30
|
-
|
|
31
28
|
return `
|
|
32
29
|
<svg viewBox="0 0 32 32" height="32" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true">
|
|
33
30
|
<defs>
|
|
@@ -42,6 +39,7 @@ const svg = ({
|
|
|
42
39
|
</g>
|
|
43
40
|
</svg>`;
|
|
44
41
|
};
|
|
42
|
+
|
|
45
43
|
/**
|
|
46
44
|
* __Statuspage icon__
|
|
47
45
|
*
|
|
@@ -51,8 +49,6 @@ const svg = ({
|
|
|
51
49
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
52
50
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
53
51
|
*/
|
|
54
|
-
|
|
55
|
-
|
|
56
52
|
export const StatuspageIcon = ({
|
|
57
53
|
appearance,
|
|
58
54
|
label = 'Statuspage',
|