@atlaskit/logo 13.6.0 → 13.7.0
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 +41 -0
- package/codemods/{14.0.0-rename-imports.ts → 13.6.0-rename-imports.tsx} +7 -5
- package/codemods/__tests__/13.6.0-rename-imports.test.tsx +233 -0
- package/dist/cjs/constants.js +8 -0
- package/dist/cjs/hipchat-logo/icon.js +4 -0
- package/dist/cjs/hipchat-logo/logo.js +4 -0
- package/dist/cjs/hipchat-logo/wordmark.js +3 -0
- package/dist/cjs/jira-core-logo/icon.js +5 -1
- package/dist/cjs/jira-core-logo/logo.js +5 -1
- package/dist/cjs/jira-core-logo/wordmark.js +4 -1
- package/dist/cjs/jira-service-desk-logo/icon.js +5 -1
- package/dist/cjs/jira-service-desk-logo/logo.js +5 -1
- package/dist/cjs/jira-service-desk-logo/wordmark.js +4 -1
- package/dist/cjs/opsgenie-logo/old-icon.js +5 -1
- package/dist/cjs/opsgenie-logo/old-logo.js +2 -3
- package/dist/cjs/opsgenie-logo/old-wordmark.js +4 -1
- package/dist/cjs/stride-logo/icon.js +5 -1
- package/dist/cjs/stride-logo/logo.js +5 -1
- package/dist/cjs/stride-logo/wordmark.js +4 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/constants.js +7 -0
- package/dist/es2019/hipchat-logo/icon.js +4 -0
- package/dist/es2019/hipchat-logo/logo.js +4 -0
- package/dist/es2019/hipchat-logo/wordmark.js +4 -0
- package/dist/es2019/jira-core-logo/icon.js +5 -1
- package/dist/es2019/jira-core-logo/logo.js +5 -1
- package/dist/es2019/jira-core-logo/wordmark.js +5 -1
- package/dist/es2019/jira-service-desk-logo/icon.js +5 -1
- package/dist/es2019/jira-service-desk-logo/logo.js +5 -1
- package/dist/es2019/jira-service-desk-logo/wordmark.js +5 -1
- package/dist/es2019/opsgenie-logo/old-icon.js +5 -1
- package/dist/es2019/opsgenie-logo/old-logo.js +2 -3
- package/dist/es2019/opsgenie-logo/old-wordmark.js +5 -1
- package/dist/es2019/stride-logo/icon.js +5 -1
- package/dist/es2019/stride-logo/logo.js +5 -1
- package/dist/es2019/stride-logo/wordmark.js +5 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/constants.js +7 -0
- package/dist/esm/hipchat-logo/icon.js +4 -0
- package/dist/esm/hipchat-logo/logo.js +4 -0
- package/dist/esm/hipchat-logo/wordmark.js +4 -0
- package/dist/esm/jira-core-logo/icon.js +5 -1
- package/dist/esm/jira-core-logo/logo.js +5 -1
- package/dist/esm/jira-core-logo/wordmark.js +5 -1
- package/dist/esm/jira-service-desk-logo/icon.js +5 -1
- package/dist/esm/jira-service-desk-logo/logo.js +5 -1
- package/dist/esm/jira-service-desk-logo/wordmark.js +5 -1
- package/dist/esm/opsgenie-logo/old-icon.js +5 -1
- package/dist/esm/opsgenie-logo/old-logo.js +2 -3
- package/dist/esm/opsgenie-logo/old-wordmark.js +5 -1
- package/dist/esm/stride-logo/icon.js +5 -1
- package/dist/esm/stride-logo/logo.js +5 -1
- package/dist/esm/stride-logo/wordmark.js +5 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/constants.d.ts +7 -0
- package/dist/types/hipchat-logo/icon.d.ts +3 -0
- package/dist/types/hipchat-logo/logo.d.ts +3 -0
- package/dist/types/hipchat-logo/wordmark.d.ts +3 -0
- package/dist/types/jira-core-logo/icon.d.ts +3 -0
- package/dist/types/jira-core-logo/logo.d.ts +3 -0
- package/dist/types/jira-core-logo/wordmark.d.ts +3 -0
- package/dist/types/jira-service-desk-logo/icon.d.ts +3 -0
- package/dist/types/jira-service-desk-logo/logo.d.ts +3 -0
- package/dist/types/jira-service-desk-logo/wordmark.d.ts +3 -0
- package/dist/types/opsgenie-logo/old-icon.d.ts +3 -0
- package/dist/types/opsgenie-logo/old-logo.d.ts +1 -2
- package/dist/types/opsgenie-logo/old-wordmark.d.ts +3 -0
- package/dist/types/stride-logo/icon.d.ts +3 -0
- package/dist/types/stride-logo/logo.d.ts +3 -0
- package/dist/types/stride-logo/wordmark.d.ts +3 -0
- package/package.json +3 -3
- package/codemods/__tests__/14.0.0-rename-imports.ts +0 -170
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# @atlaskit/logo
|
|
2
2
|
|
|
3
|
+
## 13.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`0793be315f4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0793be315f4) - [ux] This is an update to clearly mark all deprecated Logo exports as deprecated and slated for removal in the next major release. In the next verion we will be removing the following deprecated exports from the main entrypoint:
|
|
8
|
+
|
|
9
|
+
- `StrideIcon`, `StrideLogo`, `StrideWordmark`
|
|
10
|
+
- `HipchatIcon`, `HipchatLogo`, `HipchatWordmark`
|
|
11
|
+
- `JiraCoreIcon`, `JiraCoreLogo`, `JiraCoreWordmark` (use `JiraWorkManagement` + `Icon`|`Logo`|`Wordmark` instead)
|
|
12
|
+
- `JiraServiceDeskIcon`, `JiraServiceDeskLogo`, `JiraServiceDeskWordmark` (use `JiraServiceManagement` + `Icon`|`Logo`|`Wordmark` instead)
|
|
13
|
+
- `OpsGenieIcon`, `OpsGenieLogo`, `OpsGenieWordmark` (use `Opsgenie` with a lowercase 'g' + `Icon`|`Logo`|`Wordmark` instead)
|
|
14
|
+
|
|
15
|
+
We will also be removing the following deprecated exports from the `@atlaskit/logo/constants` entrypoint:
|
|
16
|
+
|
|
17
|
+
- `Props` (use `LogoProps` instead)
|
|
18
|
+
- `DefaultProps` (use `defaultLogoParams` instead)
|
|
19
|
+
|
|
20
|
+
## Codemod
|
|
21
|
+
|
|
22
|
+
To help with this migration, we have provided a codemod that you can run to automatically update your imports (it will leave a comment if you are using a logo with no alternative). This codemod has been around for a while, but we've updated it in this release.
|
|
23
|
+
|
|
24
|
+
Once you've upgraded `@atlaskit/logo`, use the Atlaskit codemod CLI. See [documentation on DAC](https://developer.atlassian.com/cloud/framework/atlassian-frontend/codemods/01-atlassian-codemods/) for general codemod guidance.
|
|
25
|
+
|
|
26
|
+
Without setting options in your terminal command, you can run the following and type to search for `logo` and select `@atlaskit/logo: 13.6.0-rename-imports` from the interactive CLI.
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
npx @atlaskit/codemod-cli [TARGET_PATH]`
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
For a TypeScript codebase, a more detailed command might look something like this.
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
npx @atlaskit/codemod-cli --ignore-pattern node_modules --parser tsx --extensions js,jsx,ts,tsx ./packages
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
For a Flow codebase, you will want to use `--parser babylon` instead of `--parser flow`.
|
|
39
|
+
|
|
40
|
+
## Design System ESLint Plugin
|
|
41
|
+
|
|
42
|
+
We've also updated `@atlaskit/eslint-plugin-design-system` to add new restrictions to these imports. If you haven't already, we recommend installing this plugin and enabling the rules in your ESLint config. For now, documentation for the plugin resides on [Bitbucket](https://bitbucket.org/atlassian/atlassian-frontend-mirror/src/master/design-system/eslint-plugin/).
|
|
43
|
+
|
|
3
44
|
## 13.6.0
|
|
4
45
|
|
|
5
46
|
### Minor Changes
|
|
@@ -10,6 +10,8 @@ import {
|
|
|
10
10
|
import { addCommentBefore } from './utils';
|
|
11
11
|
|
|
12
12
|
const replacementMapping: { [name: string]: string } = {
|
|
13
|
+
Props: 'LogoProps',
|
|
14
|
+
DefaultProps: 'defaultLogoParams',
|
|
13
15
|
JiraCoreIcon: 'JiraWorkManagementIcon',
|
|
14
16
|
JiraCoreLogo: 'JiraWorkManagementLogo',
|
|
15
17
|
JiraCoreWordmark: 'JiraWorkManagementWordmark',
|
|
@@ -35,10 +37,10 @@ export default function transform(
|
|
|
35
37
|
const source = j(file.source);
|
|
36
38
|
const target = source
|
|
37
39
|
.find(j.ImportDeclaration)
|
|
38
|
-
.filter(
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
);
|
|
40
|
+
.filter((path: ASTPath<ImportDeclaration>) => {
|
|
41
|
+
const value = path.node.source.value as string;
|
|
42
|
+
return value.includes('@atlaskit/logo');
|
|
43
|
+
});
|
|
42
44
|
const logoImports = target.find(j.ImportSpecifier);
|
|
43
45
|
|
|
44
46
|
if (!logoImports.length) {
|
|
@@ -60,7 +62,7 @@ export default function transform(
|
|
|
60
62
|
j,
|
|
61
63
|
target,
|
|
62
64
|
`This file uses the @atlaskit/logo \`${foundKey}\`
|
|
63
|
-
|
|
65
|
+
which will be removed with no alternative in the next major version.`,
|
|
64
66
|
);
|
|
65
67
|
return;
|
|
66
68
|
}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
jest.autoMockOff();
|
|
2
|
+
|
|
3
|
+
import transformer from '../13.6.0-rename-imports';
|
|
4
|
+
|
|
5
|
+
const defineInlineTest = require('jscodeshift/dist/testUtils').defineInlineTest;
|
|
6
|
+
|
|
7
|
+
describe('Rename Logo import code-mods', () => {
|
|
8
|
+
['tsx', 'babylon'].forEach((parser) => {
|
|
9
|
+
describe(`parser: ${parser}`, () => {
|
|
10
|
+
defineInlineTest(
|
|
11
|
+
{ default: transformer, parser },
|
|
12
|
+
{},
|
|
13
|
+
`
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import { JiraCoreLogo } from '@atlaskit/logo';
|
|
16
|
+
|
|
17
|
+
const Logo = () => (<JiraCoreLogo />);
|
|
18
|
+
`,
|
|
19
|
+
`
|
|
20
|
+
import React from 'react';
|
|
21
|
+
import { JiraWorkManagementLogo as JiraCoreLogo } from '@atlaskit/logo';
|
|
22
|
+
|
|
23
|
+
const Logo = () => (<JiraCoreLogo />);
|
|
24
|
+
`,
|
|
25
|
+
'should alias the import using alternative components',
|
|
26
|
+
);
|
|
27
|
+
defineInlineTest(
|
|
28
|
+
{ default: transformer, parser },
|
|
29
|
+
{},
|
|
30
|
+
`
|
|
31
|
+
import React from 'react';
|
|
32
|
+
import {
|
|
33
|
+
AtlassianIcon,
|
|
34
|
+
JiraCoreLogo
|
|
35
|
+
} from '@atlaskit/logo';
|
|
36
|
+
const getProductIcon = (productId: string) => {
|
|
37
|
+
switch (productId) {
|
|
38
|
+
case 'jira-core':
|
|
39
|
+
return JiraCoreIcon;
|
|
40
|
+
default:
|
|
41
|
+
return AtlassianIcon;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
const Logo = () => getProductIcon();
|
|
45
|
+
`,
|
|
46
|
+
`
|
|
47
|
+
import React from 'react';
|
|
48
|
+
import {
|
|
49
|
+
AtlassianIcon,
|
|
50
|
+
JiraWorkManagementLogo as JiraCoreLogo
|
|
51
|
+
} from '@atlaskit/logo';
|
|
52
|
+
const getProductIcon = (productId: string) => {
|
|
53
|
+
switch (productId) {
|
|
54
|
+
case 'jira-core':
|
|
55
|
+
return JiraCoreIcon;
|
|
56
|
+
default:
|
|
57
|
+
return AtlassianIcon;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
const Logo = () => getProductIcon();
|
|
61
|
+
`,
|
|
62
|
+
'should alias the import using alternative components, and keep other logo components unchanged',
|
|
63
|
+
);
|
|
64
|
+
defineInlineTest(
|
|
65
|
+
{ default: transformer, parser },
|
|
66
|
+
{},
|
|
67
|
+
`
|
|
68
|
+
import React from 'react';
|
|
69
|
+
import { JiraCoreLogo } from '@atlaskit/logo';
|
|
70
|
+
|
|
71
|
+
const Logo = ({textColor}) => (<JiraCoreLogo textColor={textColor} />);
|
|
72
|
+
`,
|
|
73
|
+
`
|
|
74
|
+
import React from 'react';
|
|
75
|
+
import { JiraWorkManagementLogo as JiraCoreLogo } from '@atlaskit/logo';
|
|
76
|
+
|
|
77
|
+
const Logo = ({textColor}) => (<JiraCoreLogo textColor={textColor} />);
|
|
78
|
+
`,
|
|
79
|
+
'should replace imports with alternative component with props unchanged',
|
|
80
|
+
);
|
|
81
|
+
defineInlineTest(
|
|
82
|
+
{ default: transformer, parser },
|
|
83
|
+
{},
|
|
84
|
+
`
|
|
85
|
+
import React from 'react';
|
|
86
|
+
import {
|
|
87
|
+
JiraCoreWordmark,
|
|
88
|
+
JiraCoreIcon
|
|
89
|
+
} from '@atlaskit/logo';
|
|
90
|
+
|
|
91
|
+
const Logo = () => (<><JiraCoreIcon /><JiraCoreWordmark /></>);
|
|
92
|
+
`,
|
|
93
|
+
`
|
|
94
|
+
import React from 'react';
|
|
95
|
+
import {
|
|
96
|
+
JiraWorkManagementWordmark as JiraCoreWordmark,
|
|
97
|
+
JiraWorkManagementIcon as JiraCoreIcon
|
|
98
|
+
} from '@atlaskit/logo';
|
|
99
|
+
|
|
100
|
+
const Logo = () => (<><JiraCoreIcon /><JiraCoreWordmark /></>);
|
|
101
|
+
`,
|
|
102
|
+
'should alias multiple imports using alternative components',
|
|
103
|
+
);
|
|
104
|
+
defineInlineTest(
|
|
105
|
+
{ default: transformer, parser },
|
|
106
|
+
{},
|
|
107
|
+
`
|
|
108
|
+
import React from 'react';
|
|
109
|
+
import { JiraCoreLogo as JCLogo } from '@atlaskit/logo';
|
|
110
|
+
|
|
111
|
+
const Logo = () => (<JCLogo />);
|
|
112
|
+
`,
|
|
113
|
+
`
|
|
114
|
+
import React from 'react';
|
|
115
|
+
import { JiraWorkManagementLogo as JCLogo } from '@atlaskit/logo';
|
|
116
|
+
|
|
117
|
+
const Logo = () => (<JCLogo />);
|
|
118
|
+
`,
|
|
119
|
+
'should replace aliased import and JSX element with alternative components',
|
|
120
|
+
);
|
|
121
|
+
defineInlineTest(
|
|
122
|
+
{ default: transformer, parser },
|
|
123
|
+
{},
|
|
124
|
+
`
|
|
125
|
+
import React from 'react';
|
|
126
|
+
import { StrideIcon } from '@atlaskit/logo';
|
|
127
|
+
|
|
128
|
+
const Logo = () => (<StrideIcon />);
|
|
129
|
+
`,
|
|
130
|
+
`
|
|
131
|
+
import React from 'react';
|
|
132
|
+
/* TODO: (from codemod) This file uses the @atlaskit/logo \`StrideIcon\`
|
|
133
|
+
which will be removed with no alternative in the next major version. */
|
|
134
|
+
import { StrideIcon } from '@atlaskit/logo';
|
|
135
|
+
|
|
136
|
+
const Logo = () => (<StrideIcon />);
|
|
137
|
+
`,
|
|
138
|
+
'should prompt user when using logo components with no alternatives',
|
|
139
|
+
);
|
|
140
|
+
defineInlineTest(
|
|
141
|
+
{ default: transformer, parser },
|
|
142
|
+
{},
|
|
143
|
+
`
|
|
144
|
+
import React from 'react';
|
|
145
|
+
import { JiraCoreIcon, HipchatIcon } from '@atlaskit/logo';
|
|
146
|
+
const Logo = () => (<><JiraCoreIcon /><HipchatIcon /></>);
|
|
147
|
+
`,
|
|
148
|
+
`
|
|
149
|
+
import React from 'react';
|
|
150
|
+
/* TODO: (from codemod) This file uses the @atlaskit/logo \`HipchatIcon\`
|
|
151
|
+
which will be removed with no alternative in the next major version. */
|
|
152
|
+
import { JiraWorkManagementIcon as JiraCoreIcon, HipchatIcon } from '@atlaskit/logo';
|
|
153
|
+
const Logo = () => (<><JiraCoreIcon /><HipchatIcon /></>);
|
|
154
|
+
`,
|
|
155
|
+
'should alias imports using alternative component and propt user when using logo compontns with no alternatives',
|
|
156
|
+
);
|
|
157
|
+
defineInlineTest(
|
|
158
|
+
{ default: transformer, parser },
|
|
159
|
+
{},
|
|
160
|
+
`
|
|
161
|
+
import React from 'react';
|
|
162
|
+
|
|
163
|
+
const MyComponent = () => (<div />);
|
|
164
|
+
`,
|
|
165
|
+
`
|
|
166
|
+
import React from 'react';
|
|
167
|
+
|
|
168
|
+
const MyComponent = () => (<div />);
|
|
169
|
+
`,
|
|
170
|
+
'should not modify files that are not using @atlaskit/logo',
|
|
171
|
+
);
|
|
172
|
+
});
|
|
173
|
+
describe(`parser: ${parser}`, () => {
|
|
174
|
+
defineInlineTest(
|
|
175
|
+
{ default: transformer, parser },
|
|
176
|
+
{},
|
|
177
|
+
`
|
|
178
|
+
import React from 'react';
|
|
179
|
+
import { Props } from '@atlaskit/logo/constants';
|
|
180
|
+
|
|
181
|
+
const ExampleLogoProps = Props;
|
|
182
|
+
`,
|
|
183
|
+
`
|
|
184
|
+
import React from 'react';
|
|
185
|
+
import { LogoProps as Props } from '@atlaskit/logo/constants';
|
|
186
|
+
|
|
187
|
+
const ExampleLogoProps = Props;
|
|
188
|
+
`,
|
|
189
|
+
'should alias the Props import using LogoProps',
|
|
190
|
+
);
|
|
191
|
+
});
|
|
192
|
+
describe(`parser: ${parser}`, () => {
|
|
193
|
+
defineInlineTest(
|
|
194
|
+
{ default: transformer, parser },
|
|
195
|
+
{},
|
|
196
|
+
`
|
|
197
|
+
import React from 'react';
|
|
198
|
+
import { DefaultProps } from '@atlaskit/logo/constants';
|
|
199
|
+
|
|
200
|
+
const ExampleLogoProps = DefaultProps;
|
|
201
|
+
`,
|
|
202
|
+
`
|
|
203
|
+
import React from 'react';
|
|
204
|
+
import { defaultLogoParams as DefaultProps } from '@atlaskit/logo/constants';
|
|
205
|
+
|
|
206
|
+
const ExampleLogoProps = DefaultProps;
|
|
207
|
+
`,
|
|
208
|
+
'should alias the DefaultProps import using defaultLogoParams',
|
|
209
|
+
);
|
|
210
|
+
});
|
|
211
|
+
describe(`parser: ${parser}`, () => {
|
|
212
|
+
defineInlineTest(
|
|
213
|
+
{ default: transformer, parser },
|
|
214
|
+
{},
|
|
215
|
+
`
|
|
216
|
+
import React from 'react';
|
|
217
|
+
import { JiraCoreIcon } from '@atlaskit/logo';
|
|
218
|
+
import { DefaultProps } from '@atlaskit/logo/constants';
|
|
219
|
+
|
|
220
|
+
const Logo = (DefaultProps) => (<JiraCoreIcon />);
|
|
221
|
+
`,
|
|
222
|
+
`
|
|
223
|
+
import React from 'react';
|
|
224
|
+
import { JiraWorkManagementIcon as JiraCoreIcon } from '@atlaskit/logo';
|
|
225
|
+
import { defaultLogoParams as DefaultProps } from '@atlaskit/logo/constants';
|
|
226
|
+
|
|
227
|
+
const Logo = (DefaultProps) => (<JiraCoreIcon />);
|
|
228
|
+
`,
|
|
229
|
+
'should alias imports from both @atlaskit/logo and the /constants entrypoint at the same time',
|
|
230
|
+
);
|
|
231
|
+
});
|
|
232
|
+
});
|
|
233
|
+
});
|
package/dist/cjs/constants.js
CHANGED
|
@@ -39,6 +39,14 @@ var sizes = {
|
|
|
39
39
|
*
|
|
40
40
|
*/
|
|
41
41
|
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated This has been renamed, please import `LogoProps` instead.
|
|
44
|
+
*/
|
|
45
|
+
|
|
42
46
|
exports.sizes = sizes;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @deprecated This has been renamed, please import `defaultLogoParams` instead.
|
|
50
|
+
*/
|
|
43
51
|
var DefaultProps = defaultLogoParams;
|
|
44
52
|
exports.DefaultProps = DefaultProps;
|
|
@@ -24,6 +24,10 @@ var svg = function svg(iconGradientStart, iconGradientStop) {
|
|
|
24
24
|
});
|
|
25
25
|
return "<canvas height=\"32\" width=\"32\" aria-hidden=\"true\"></canvas>\n <svg viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\">\n <defs>\n <linearGradient x1=\"50%\" x2=\"50%\" y1=\"109.344%\" y2=\"50%\" id=\"".concat(id, "\">\n <stop stop-color=\"").concat(iconGradientStart, "\" ").concat(iconGradientStart === 'inherit' ? 'stop-opacity="0.4"' : '', " offset=\"0%\"></stop>\n <stop stop-color=\"").concat(iconGradientStop, "\" offset=\"100%\"></stop>\n </linearGradient>\n </defs>\n <g stroke=\"none\" stroke-width=\"1\" fill-rule=\"nonzero\">\n <path d=\"M23.7345538,23.2663616 C23.7345538,23.2663616 23.8370709,23.1967963 24.005492,23.0649886 C26.4585812,21.1684211 28,18.415103 28,15.3505721 C28,9.63524027 22.6251716,5 15.9981693,5 C9.37116705,5 4,9.63524027 4,15.3505721 C4,21.0659039 9.37116705,25.7084668 15.9981693,25.7084668 C16.8443253,25.7085918 17.6887221,25.6313828 18.5208238,25.4778032 L18.780778,25.4302059 C20.4686499,26.5286041 22.9217391,27.421968 25.0672769,27.421968 C25.7372998,27.421968 26.0485126,26.8764302 25.6237986,26.3235698 C24.9757437,25.5034325 24.0823799,24.2475973 23.7345538,23.2663616 Z M22.2700229,18.7409611 C21.5560641,19.8100686 19.3409611,21.6297483 16.016476,21.6297483 L15.97254,21.6297483 C12.6443936,21.6297483 10.4292906,19.7990847 9.71899314,18.7409611 C9.57610016,18.5841129 9.48084942,18.3898014 9.44439359,18.180778 C9.43329033,18.0479311 9.4771359,17.9163408 9.56570231,17.8167036 C9.65426872,17.7170664 9.77981099,17.6580954 9.91304348,17.6535469 C10.030087,17.6573963 10.1434115,17.6955956 10.2389016,17.7633867 C11.8654801,19.0871958 13.8973189,19.8122986 15.994508,19.8173913 C18.1018351,19.8400381 20.1471166,19.1045684 21.7574371,17.7450801 C21.8437646,17.6671264 21.9559962,17.6240608 22.0723112,17.6242563 C22.3357824,17.6242486 22.5499338,17.8367653 22.5519451,18.1002288 C22.521169,18.3343594 22.4275401,18.5557793 22.2810069,18.7409611 L22.2700229,18.7409611 Z\" fill=\"url(#").concat(id, ")\"></path>\n </g>\n </svg>");
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated HipchatIcon will be removed from @atlaskit/logo in the next major release.
|
|
29
|
+
*/
|
|
30
|
+
|
|
27
31
|
|
|
28
32
|
var HipchatIcon = function HipchatIcon(_ref) {
|
|
29
33
|
var _ref$iconColor = _ref.iconColor,
|
|
@@ -24,6 +24,10 @@ var svg = function svg(iconGradientStart, iconGradientStop) {
|
|
|
24
24
|
});
|
|
25
25
|
return "<canvas height=\"32\" width=\"118\" aria-hidden=\"true\"></canvas>\n <svg viewBox=\"0 0 118 32\" xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\">\n <defs>\n <linearGradient x1=\"49.9923722%\" y1=\"107.31548%\" x2=\"49.9923722%\" y2=\"38.7491835%\" id=\"".concat(id, "\">\n <stop stop-color=\"").concat(iconGradientStart, "\" ").concat(iconGradientStart === 'inherit' ? 'stop-opacity="0.4"' : '', " offset=\"0%\"></stop>\n <stop stop-color=\"").concat(iconGradientStop, "\" offset=\"100%\"></stop>\n </linearGradient>\n </defs>\n <g stroke=\"none\" stroke-width=\"1\" fill-rule=\"nonzero\">\n <path d=\"M32,6.918 L32,24 L34.34,24 L34.34,16.616 L43.336,16.616 L43.336,24 L45.676,24 L45.676,6.918 L43.336,6.918 L43.336,14.38 L34.34,14.38 L34.34,6.918 L32,6.918 Z M49.524,7.568 C49.524,8.556 50.174,9.128 51.084,9.128 C51.994,9.128 52.644,8.556 52.644,7.568 C52.644,6.58 51.994,6.008 51.084,6.008 C50.174,6.008 49.524,6.58 49.524,7.568 Z M49.94,24 L52.176,24 L52.176,11 L49.94,11 L49.94,24 Z M61.926,24.26 C60.028,24.26 58.572,23.402 57.792,21.712 L57.792,29.07 L55.556,29.07 L55.556,11 L57.792,11 L57.792,13.34 C58.624,11.624 60.184,10.74 62.186,10.74 C65.644,10.74 67.386,13.678 67.386,17.5 C67.386,21.166 65.566,24.26 61.926,24.26 Z M65.15,17.5 C65.15,14.38 63.902,12.82 61.588,12.82 C59.586,12.82 57.792,14.094 57.792,16.98 L57.792,18.02 C57.792,20.906 59.43,22.18 61.328,22.18 C63.85,22.18 65.15,20.516 65.15,17.5 Z M79.164,21.66 C78.358,21.946 77.526,22.128 76.2,22.128 C72.794,22.128 71.39,19.996 71.39,17.474 C71.39,14.952 72.768,12.82 76.148,12.82 C77.37,12.82 78.254,13.054 79.086,13.444 L79.086,11.364 C78.072,10.896 77.162,10.74 75.992,10.74 C71.364,10.74 69.206,13.548 69.206,17.474 C69.206,21.452 71.364,24.26 75.992,24.26 C77.188,24.26 78.384,24.078 79.164,23.662 L79.164,21.66 Z M92.762,16.382 C92.762,12.716 91.15,10.74 88.238,10.74 C86.366,10.74 84.806,11.624 83.948,13.158 L83.948,5.566 L81.712,5.566 L81.712,24 L83.948,24 L83.948,16.772 C83.948,14.146 85.378,12.768 87.458,12.768 C89.59,12.768 90.526,14.094 90.526,16.772 L90.526,24 L92.762,24 L92.762,16.382 Z M104.722,24 L104.722,21.66 C103.89,23.376 102.33,24.26 100.328,24.26 C96.87,24.26 95.128,21.322 95.128,17.5 C95.128,13.834 96.948,10.74 100.588,10.74 C102.486,10.74 103.942,11.598 104.722,13.288 L104.722,11 L106.958,11 L106.958,24 L104.722,24 Z M97.364,17.5 C97.364,20.62 98.612,22.18 100.926,22.18 C102.928,22.18 104.722,20.906 104.722,18.02 L104.722,16.98 C104.722,14.094 103.084,12.82 101.186,12.82 C98.664,12.82 97.364,14.484 97.364,17.5 Z M113.432,19.892 L113.432,13.08 L116.89,13.08 L116.89,11 L113.432,11 L113.432,8.244 L111.248,8.244 L111.248,11 L109.142,11 L109.142,13.08 L111.248,13.08 L111.248,19.944 C111.248,22.362 112.6,24 115.382,24 C116.058,24 116.5,23.896 116.89,23.792 L116.89,21.634 C116.5,21.712 116.006,21.816 115.486,21.816 C114.108,21.816 113.432,21.036 113.432,19.892 Z\" fill=\"inherit\" fill-rule=\"evenodd\"></path>\n <path d=\"M19.6,22.7029032 C19.6,22.7029032 19.7018182,22.6354839 19.8690909,22.5077419 C22.3054545,20.6696774 23.8363636,18.0012903 23.8363636,15.0312903 C23.8363636,9.49225806 18.4981818,5 11.9163636,5 C5.33454545,5 0,9.49225806 0,15.0312903 C0,20.5703226 5.33454545,25.0696774 11.9163636,25.0696774 C12.7567504,25.0697985 13.5953899,24.9949712 14.4218182,24.846129 L14.68,24.8 C16.3563636,25.8645161 18.7927273,26.7303226 20.9236364,26.7303226 C21.5890909,26.7303226 21.8981818,26.2016129 21.4763636,25.6658065 C20.8327273,24.8709677 19.9454545,23.653871 19.6,22.7029032 Z M18.1454545,18.3170968 C17.4363636,19.3532258 15.2363636,21.1167742 11.9345455,21.1167742 L11.8909091,21.1167742 C8.58545455,21.1167742 6.38545455,19.3425806 5.68,18.3170968 C5.53808129,18.1650868 5.44347999,17.9767692 5.40727273,17.7741935 C5.39624517,17.6454445 5.43979179,17.5179134 5.52775434,17.4213496 C5.61571689,17.3247859 5.74040319,17.267634 5.87272727,17.2632258 C5.98897276,17.2669565 6.10152459,17.3039774 6.19636364,17.3696774 C7.81185179,18.6526513 9.82983722,19.355387 11.9127273,19.3603226 L11.9127273,19.3603226 C14.0056863,19.3822708 16.0370226,18.669488 17.6363636,17.3519355 C17.7221026,17.2763864 17.8335689,17.2346492 17.9490909,17.2348387 C18.2107657,17.2348313 18.423457,17.4407925 18.4254545,17.696129 C18.3948883,17.9230374 18.3018978,18.1376272 18.1563636,18.3170968 L18.1454545,18.3170968 Z\" fill=\"url(#").concat(id, ")\" fill-rule=\"nonzero\"></path>\n </g>\n </svg>");
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated HipchatLogo will be removed from @atlaskit/logo in the next major release.
|
|
29
|
+
*/
|
|
30
|
+
|
|
27
31
|
|
|
28
32
|
var HipchatLogo = function HipchatLogo(_ref) {
|
|
29
33
|
var _ref$iconColor = _ref.iconColor,
|
|
@@ -17,6 +17,9 @@ var _wrapper = _interopRequireDefault(require("../wrapper"));
|
|
|
17
17
|
|
|
18
18
|
/* eslint-disable max-len */
|
|
19
19
|
var svg = "<canvas height=\"32\" width=\"86\" aria-hidden=\"true\"></canvas>\n<svg viewBox=\"0 0 86 32\" xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\">\n <g stroke=\"none\" stroke-width=\"1\" fill-rule=\"evenodd\" fill=\"inherit\">\n <path d=\"M-6.88338275e-14,6.918 L-6.88338275e-14,24 L2.34,24 L2.34,16.616 L11.336,16.616 L11.336,24 L13.676,24 L13.676,6.918 L11.336,6.918 L11.336,14.38 L2.34,14.38 L2.34,6.918 L-6.88338275e-14,6.918 Z M17.524,7.568 C17.524,8.556 18.174,9.128 19.084,9.128 C19.994,9.128 20.644,8.556 20.644,7.568 C20.644,6.58 19.994,6.008 19.084,6.008 C18.174,6.008 17.524,6.58 17.524,7.568 Z M17.94,24 L20.176,24 L20.176,11 L17.94,11 L17.94,24 Z M29.926,24.26 C28.028,24.26 26.572,23.402 25.792,21.712 L25.792,29.07 L23.556,29.07 L23.556,11 L25.792,11 L25.792,13.34 C26.624,11.624 28.184,10.74 30.186,10.74 C33.644,10.74 35.386,13.678 35.386,17.5 C35.386,21.166 33.566,24.26 29.926,24.26 Z M33.15,17.5 C33.15,14.38 31.902,12.82 29.588,12.82 C27.586,12.82 25.792,14.094 25.792,16.98 L25.792,18.02 C25.792,20.906 27.43,22.18 29.328,22.18 C31.85,22.18 33.15,20.516 33.15,17.5 Z M47.164,21.66 C46.358,21.946 45.526,22.128 44.2,22.128 C40.794,22.128 39.39,19.996 39.39,17.474 C39.39,14.952 40.768,12.82 44.148,12.82 C45.37,12.82 46.254,13.054 47.086,13.444 L47.086,11.364 C46.072,10.896 45.162,10.74 43.992,10.74 C39.364,10.74 37.206,13.548 37.206,17.474 C37.206,21.452 39.364,24.26 43.992,24.26 C45.188,24.26 46.384,24.078 47.164,23.662 L47.164,21.66 Z M60.762,16.382 C60.762,12.716 59.15,10.74 56.238,10.74 C54.366,10.74 52.806,11.624 51.948,13.158 L51.948,5.566 L49.712,5.566 L49.712,24 L51.948,24 L51.948,16.772 C51.948,14.146 53.378,12.768 55.458,12.768 C57.59,12.768 58.526,14.094 58.526,16.772 L58.526,24 L60.762,24 L60.762,16.382 Z M72.722,24 L72.722,21.66 C71.89,23.376 70.33,24.26 68.328,24.26 C64.87,24.26 63.128,21.322 63.128,17.5 C63.128,13.834 64.948,10.74 68.588,10.74 C70.486,10.74 71.942,11.598 72.722,13.288 L72.722,11 L74.958,11 L74.958,24 L72.722,24 Z M65.364,17.5 C65.364,20.62 66.612,22.18 68.926,22.18 C70.928,22.18 72.722,20.906 72.722,18.02 L72.722,16.98 C72.722,14.094 71.084,12.82 69.186,12.82 C66.664,12.82 65.364,14.484 65.364,17.5 Z M81.432,19.892 L81.432,13.08 L84.89,13.08 L84.89,11 L81.432,11 L81.432,8.244 L79.248,8.244 L79.248,11 L77.142,11 L77.142,13.08 L79.248,13.08 L79.248,19.944 C79.248,22.362 80.6,24 83.382,24 C84.058,24 84.5,23.896 84.89,23.792 L84.89,21.634 C84.5,21.712 84.006,21.816 83.486,21.816 C82.108,21.816 81.432,21.036 81.432,19.892 Z\"></path>\n </g>\n</svg>";
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated HipchatWordmark will be removed from @atlaskit/logo in the next major release.
|
|
22
|
+
*/
|
|
20
23
|
|
|
21
24
|
var HipchatWordmark = function HipchatWordmark(_ref) {
|
|
22
25
|
var _ref$iconColor = _ref.iconColor,
|
|
@@ -24,6 +24,10 @@ var svg = function svg(iconGradientStart, iconGradientStop) {
|
|
|
24
24
|
});
|
|
25
25
|
return "<canvas height=\"32\" width=\"32\" aria-hidden=\"true\"></canvas>\n <svg viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\">\n <defs>\n <linearGradient x1=\"26.51%\" y1=\"20.831%\" y2=\"63.912%\" id=\"".concat(id, "\">\n <stop stop-color=\"").concat(iconGradientStart, "\" ").concat(iconGradientStart === 'inherit' ? 'stop-opacity="0.4"' : '', " offset=\"17%\"></stop>\n <stop stop-color=\"").concat(iconGradientStop, "\" offset=\"100%\"></stop>\n </linearGradient>\n </defs>\n <g stroke=\"none\" stroke-width=\"1\" fill-rule=\"nonzero\">\n <path d=\"M15.52,20.5269517 C15.52,25.2103264 19.3166253,29.0069517 24,29.0069517 L24,12.11 L15.52,17.9183271 L15.52,20.5269517 Z\" fill=\"url(#").concat(id, ")\"></path>\n <path d=\"M23.9969697,12.1078788 L23.9969697,4.26454545 C23.9961315,3.79791901 23.7375983,3.36992522 23.3249582,3.15205124 C22.912318,2.93417725 22.4130783,2.9620669 22.0272727,3.22454545 L2.35,16.6578788 C4.98320643,20.5274016 10.2540962,21.5307928 14.1248485,18.8993939 L23.9969697,12.1078788 Z\" fill=\"currentColor\"></path>\n </g>\n </svg>");
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated JiraCoreIcon will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementIcon instead.
|
|
29
|
+
*/
|
|
30
|
+
|
|
27
31
|
|
|
28
32
|
var JiraCoreIcon = function JiraCoreIcon(_ref) {
|
|
29
33
|
var _ref$iconColor = _ref.iconColor,
|
|
@@ -41,7 +45,7 @@ var JiraCoreIcon = function JiraCoreIcon(_ref) {
|
|
|
41
45
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
42
46
|
|
|
43
47
|
if (process.env.NODE_ENV !== 'production') {
|
|
44
|
-
(0, _warnOnce.default)('JiraCoreIcon has been deprecated and will be removed from @atlaskit/logo
|
|
48
|
+
(0, _warnOnce.default)('JiraCoreIcon has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementIcon instead.');
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -24,6 +24,10 @@ var svg = function svg(iconGradientStart, iconGradientStop) {
|
|
|
24
24
|
});
|
|
25
25
|
return "<canvas height=\"32\" width=\"123\" aria-hidden=\"true\"></canvas>\n <svg viewBox=\"0 0 123 32\" xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\">\n <defs>\n <linearGradient x1=\"17.1933086%\" y1=\"20.0326493%\" x2=\"88.2434944%\" y2=\"53.9179104%\" id=\"".concat(id, "\">\n <stop stop-color=\"").concat(iconGradientStart, "\" ").concat(iconGradientStart === 'inherit' ? 'stop-opacity="0.4"' : '', " offset=\"17%\"></stop>\n <stop stop-color=\"").concat(iconGradientStop, "\" offset=\"100%\"></stop>\n </linearGradient>\n </defs>\n <g stroke=\"none\" stroke-width=\"1\" fill-rule=\"evenodd\">\n <path d=\"M12.4602727,20.1745455 C12.4602727,24.4964247 16.0514375,28 20.4813636,28 L20.4813636,28 L20.4813636,12.4072727 L12.4602727,17.7672727 L12.4602727,20.1745455 Z\" fill=\"url(#").concat(id, ")\" fill-rule=\"nonzero\"></path>\n <path d=\"M20.4813636,12.4072727 L20.4813636,5.16727273 C20.4805706,4.73654063 20.2359584,4.34146943 19.8455373,4.14035499 C19.4551163,3.93924054 18.9827587,3.96498483 18.6177273,4.20727273 L0,16.6072727 C2.49141839,20.1791399 7.47849106,21.1053472 11.1408182,18.6763636 L20.4813636,12.4072727 Z\" fill=\"currentColor\" fill-rule=\"nonzero\"></path>\n <path d=\"M33.07,18.956 C33.07,20.646 32.394,21.842 30.418,21.842 C29.56,21.842 28.702,21.686 28,21.4 L28,23.662 C28.65,23.896 29.586,24.104 30.808,24.104 C34.032,24.104 35.41,21.946 35.41,18.8 L35.41,6.918 L33.07,6.918 L33.07,18.956 Z M38.894,7.568 C38.894,8.556 39.544,9.128 40.454,9.128 C41.364,9.128 42.014,8.556 42.014,7.568 C42.014,6.58 41.364,6.008 40.454,6.008 C39.544,6.008 38.894,6.58 38.894,7.568 Z M39.31,24 L41.546,24 L41.546,11 L39.31,11 L39.31,24 Z M44.926,24 L47.11,24 L47.11,16.33 C47.11,13.574 48.852,12.716 51.712,13.002 L51.712,10.818 C49.164,10.662 47.864,11.754 47.11,13.288 L47.11,11 L44.926,11 L44.926,24 Z M62.45,24 L62.45,21.66 C61.618,23.376 60.058,24.26 58.056,24.26 C54.598,24.26 52.856,21.322 52.856,17.5 C52.856,13.834 54.676,10.74 58.316,10.74 C60.214,10.74 61.67,11.598 62.45,13.288 L62.45,11 L64.686,11 L64.686,24 L62.45,24 Z M55.092,17.5 C55.092,20.62 56.34,22.18 58.654,22.18 C60.656,22.18 62.45,20.906 62.45,18.02 L62.45,16.98 C62.45,14.094 60.812,12.82 58.914,12.82 C56.392,12.82 55.092,14.484 55.092,17.5 Z M85.018,20.984 C83.77,21.608 82.366,22.024 80.572,22.024 C76.516,22.024 74.046,19.424 74.046,15.498 C74.046,11.572 76.438,8.92 80.442,8.92 C82.418,8.92 83.77,9.336 84.992,10.116 L84.992,7.854 C83.77,6.97 82.106,6.658 80.442,6.658 C74.878,6.658 71.706,10.298 71.706,15.498 C71.706,20.88 74.878,24.26 80.494,24.26 C82.262,24.26 83.952,23.948 85.018,23.246 L85.018,20.984 Z M93.624,24.26 C89.724,24.26 87.436,21.374 87.436,17.474 C87.436,13.574 89.724,10.74 93.624,10.74 C97.498,10.74 99.76,13.574 99.76,17.474 C99.76,21.374 97.498,24.26 93.624,24.26 Z M93.624,12.82 C90.842,12.82 89.62,15.004 89.62,17.474 C89.62,19.944 90.842,22.18 93.624,22.18 C96.38,22.18 97.576,19.944 97.576,17.474 C97.576,15.004 96.38,12.82 93.624,12.82 Z M102.36,24 L104.544,24 L104.544,16.33 C104.544,13.574 106.286,12.716 109.146,13.002 L109.146,10.818 C106.598,10.662 105.298,11.754 104.544,13.288 L104.544,11 L102.36,11 L102.36,24 Z M121.314,23.48 C120.248,24.052 118.61,24.26 117.284,24.26 C112.422,24.26 110.29,21.452 110.29,17.474 C110.29,13.548 112.474,10.74 116.426,10.74 C120.43,10.74 122.042,13.522 122.042,17.474 L122.042,18.488 L112.552,18.488 C112.864,20.698 114.294,22.128 117.362,22.128 C118.87,22.128 120.144,21.842 121.314,21.426 L121.314,23.48 Z M116.322,12.768 C113.956,12.768 112.76,14.302 112.526,16.564 L119.78,16.564 C119.65,14.146 118.558,12.768 116.322,12.768 Z\" fill=\"inherit\"></path>\n </g>\n </svg>");
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated JiraCoreLogo will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementLogo instead.
|
|
29
|
+
*/
|
|
30
|
+
|
|
27
31
|
|
|
28
32
|
var JiraCoreLogo = function JiraCoreLogo(_ref) {
|
|
29
33
|
var _ref$iconColor = _ref.iconColor,
|
|
@@ -41,7 +45,7 @@ var JiraCoreLogo = function JiraCoreLogo(_ref) {
|
|
|
41
45
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
42
46
|
|
|
43
47
|
if (process.env.NODE_ENV !== 'production') {
|
|
44
|
-
(0, _warnOnce.default)('JiraCoreLogo has been deprecated and will be removed from @atlaskit/logo
|
|
48
|
+
(0, _warnOnce.default)('JiraCoreLogo has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementLogo instead.');
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -17,6 +17,9 @@ var _wrapper = _interopRequireDefault(require("../wrapper"));
|
|
|
17
17
|
|
|
18
18
|
/* eslint-disable max-len */
|
|
19
19
|
var svg = "<canvas height=\"32\" width=\"95\" aria-hidden=\"true\"></canvas>\n<svg viewBox=\"0 0 95 32\" xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\">\n <g stroke=\"none\" stroke-width=\"1\" fill-rule=\"evenodd\" fill=\"inherit\">\n <path d=\"M5.07,18.956 C5.07,20.646 4.394,21.842 2.418,21.842 C1.56,21.842 0.702,21.686 9.1038288e-15,21.4 L9.1038288e-15,23.662 C0.65,23.896 1.586,24.104 2.808,24.104 C6.032,24.104 7.41,21.946 7.41,18.8 L7.41,6.918 L5.07,6.918 L5.07,18.956 Z M10.894,7.568 C10.894,8.556 11.544,9.128 12.454,9.128 C13.364,9.128 14.014,8.556 14.014,7.568 C14.014,6.58 13.364,6.008 12.454,6.008 C11.544,6.008 10.894,6.58 10.894,7.568 Z M11.31,24 L13.546,24 L13.546,11 L11.31,11 L11.31,24 Z M16.926,24 L19.11,24 L19.11,16.33 C19.11,13.574 20.852,12.716 23.712,13.002 L23.712,10.818 C21.164,10.662 19.864,11.754 19.11,13.288 L19.11,11 L16.926,11 L16.926,24 Z M34.45,24 L34.45,21.66 C33.618,23.376 32.058,24.26 30.056,24.26 C26.598,24.26 24.856,21.322 24.856,17.5 C24.856,13.834 26.676,10.74 30.316,10.74 C32.214,10.74 33.67,11.598 34.45,13.288 L34.45,11 L36.686,11 L36.686,24 L34.45,24 Z M27.092,17.5 C27.092,20.62 28.34,22.18 30.654,22.18 C32.656,22.18 34.45,20.906 34.45,18.02 L34.45,16.98 C34.45,14.094 32.812,12.82 30.914,12.82 C28.392,12.82 27.092,14.484 27.092,17.5 Z M57.018,20.984 C55.77,21.608 54.366,22.024 52.572,22.024 C48.516,22.024 46.046,19.424 46.046,15.498 C46.046,11.572 48.438,8.92 52.442,8.92 C54.418,8.92 55.77,9.336 56.992,10.116 L56.992,7.854 C55.77,6.97 54.106,6.658 52.442,6.658 C46.878,6.658 43.706,10.298 43.706,15.498 C43.706,20.88 46.878,24.26 52.494,24.26 C54.262,24.26 55.952,23.948 57.018,23.246 L57.018,20.984 Z M65.624,24.26 C61.724,24.26 59.436,21.374 59.436,17.474 C59.436,13.574 61.724,10.74 65.624,10.74 C69.498,10.74 71.76,13.574 71.76,17.474 C71.76,21.374 69.498,24.26 65.624,24.26 Z M65.624,12.82 C62.842,12.82 61.62,15.004 61.62,17.474 C61.62,19.944 62.842,22.18 65.624,22.18 C68.38,22.18 69.576,19.944 69.576,17.474 C69.576,15.004 68.38,12.82 65.624,12.82 Z M74.36,24 L76.544,24 L76.544,16.33 C76.544,13.574 78.286,12.716 81.146,13.002 L81.146,10.818 C78.598,10.662 77.298,11.754 76.544,13.288 L76.544,11 L74.36,11 L74.36,24 Z M93.314,23.48 C92.248,24.052 90.61,24.26 89.284,24.26 C84.422,24.26 82.29,21.452 82.29,17.474 C82.29,13.548 84.474,10.74 88.426,10.74 C92.43,10.74 94.042,13.522 94.042,17.474 L94.042,18.488 L84.552,18.488 C84.864,20.698 86.294,22.128 89.362,22.128 C90.87,22.128 92.144,21.842 93.314,21.426 L93.314,23.48 Z M88.322,12.768 C85.956,12.768 84.76,14.302 84.526,16.564 L91.78,16.564 C91.65,14.146 90.558,12.768 88.322,12.768 Z\"></path>\n </g>\n</svg>";
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated JiraCoreWordmark will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementWordmark instead.
|
|
22
|
+
*/
|
|
20
23
|
|
|
21
24
|
var JiraCoreWordmark = function JiraCoreWordmark(_ref) {
|
|
22
25
|
var _ref$iconColor = _ref.iconColor,
|
|
@@ -34,7 +37,7 @@ var JiraCoreWordmark = function JiraCoreWordmark(_ref) {
|
|
|
34
37
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
35
38
|
|
|
36
39
|
if (process.env.NODE_ENV !== 'production') {
|
|
37
|
-
(0, _warnOnce.default)('JiraCoreWordmark has been deprecated and will be removed from @atlaskit/logo
|
|
40
|
+
(0, _warnOnce.default)('JiraCoreWordmark has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraWorkManagementWordmark instead.');
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -24,6 +24,10 @@ var svg = function svg(iconGradientStart, iconGradientStop) {
|
|
|
24
24
|
});
|
|
25
25
|
return "<canvas height=\"32\" width=\"32\" aria-hidden=\"true\"></canvas>\n <svg viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\">\n <defs>\n <linearGradient x1=\"40.063%\" x2=\"69.955%\" y1=\"0%\" y2=\"50%\" id=\"".concat(id, "\">\n <stop stop-color=\"").concat(iconGradientStart, "\" ").concat(iconGradientStart === 'inherit' ? 'stop-opacity="0.4"' : '', " offset=\"0%\"></stop>\n <stop stop-color=\"").concat(iconGradientStop, "\" offset=\"100%\"></stop>\n </linearGradient>\n </defs>\n <g stroke=\"none\" stroke-width=\"1\" fill-rule=\"nonzero\">\n <path d=\"M18.4838727,13.07 L26.3504842,13.1005351 C26.8138769,13.102696 27.2364009,13.3661074 27.4423455,13.781227 C27.64829,14.1963467 27.6024124,14.6921363 27.3237913,15.0624169 L15.7128101,30.5666265 C13.9597489,29.2574035 12.7986975,27.3052951 12.485161,25.1398891 C12.1716246,22.974483 12.731296,20.7732253 14.041012,19.0205325 L18.4838727,13.07 Z\" fill=\"url(#").concat(id, ")\"></path>\n <path d=\"M14.0396053,19.0156579 L6.22105263,18.9660526 C5.75779361,18.9638923 5.33539149,18.700557 5.12950634,18.2855571 C4.92362119,17.8705572 4.96948557,17.3749106 5.24802632,17.0047368 L16.7411842,1.65 C18.4937397,2.9588453 19.6544561,4.91039056 19.9679021,7.0751719 C20.2813481,9.23995324 19.7218382,11.4405759 18.4125,13.1927632 L14.0396053,19.0156579 Z\" fill=\"currentColor\"></path>\n </g>\n </svg>");
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated JiraServiceDeskIcon will be removed from atlaskit/logo in the next major release. Please use JiraServiceManagementIcon instead.
|
|
29
|
+
*/
|
|
30
|
+
|
|
27
31
|
|
|
28
32
|
var JiraServiceDeskIcon = function JiraServiceDeskIcon(_ref) {
|
|
29
33
|
var _ref$iconColor = _ref.iconColor,
|
|
@@ -41,7 +45,7 @@ var JiraServiceDeskIcon = function JiraServiceDeskIcon(_ref) {
|
|
|
41
45
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
42
46
|
|
|
43
47
|
if (process.env.NODE_ENV !== 'production') {
|
|
44
|
-
(0, _warnOnce.default)('JiraServiceDeskIcon has been deprecated and will be removed from @atlaskit/logo
|
|
48
|
+
(0, _warnOnce.default)('JiraServiceDeskIcon has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraServiceManagementIcon instead.');
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -24,6 +24,10 @@ var svg = function svg(iconGradientStart, iconGradientStop) {
|
|
|
24
24
|
});
|
|
25
25
|
return "<canvas height=\"32\" width=\"211\" aria-hidden=\"true\"></canvas>\n <svg viewBox=\"0 0 211 32\" xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\">\n <defs>\n <linearGradient x1=\"38.0412357%\" y1=\"6.63683429%\" x2=\"59.8560262%\" y2=\"63.7778713%\" id=\"".concat(id, "\">\n <stop stop-color=\"").concat(iconGradientStart, "\" ").concat(iconGradientStart === 'inherit' ? 'stop-opacity="0.4"' : '', " offset=\"0%\"></stop>\n <stop stop-color=\"").concat(iconGradientStop, "\" offset=\"100%\"></stop>\n </linearGradient>\n </defs>\n <g stroke=\"none\" stroke-width=\"1\" fill-rule=\"nonzero\">\n <path d=\"M11.191,13.4484211 L17.7175,13.4736842 C18.1019517,13.475472 18.4524969,13.6934048 18.623358,14.0368529 C18.794219,14.3803011 18.7561568,14.7904914 18.525,15.0968421 L8.892,27.9242105 C7.43758041,26.8410282 6.47431921,25.2259563 6.21419504,23.4344131 C5.95407087,21.6428699 6.41839981,19.821665 7.505,18.3715789 L11.191,13.4484211 Z\" fill=\"url(#").concat(id, ")\"></path>\n <path d=\"M7.50183333,18.3715789 L1.01333333,18.3305263 C0.628881593,18.3287385 0.278336389,18.1108058 0.10747538,17.7673576 C-0.0633856302,17.4239094 -0.0253234719,17.0137191 0.205833333,16.7073684 L9.74383333,4 C11.1982529,5.08318232 12.1615141,6.69825426 12.4216383,8.48979744 C12.6817625,10.2813406 12.2174335,12.1025456 11.1308333,13.5526316 L7.50183333,18.3715789 Z\" fill=\"currentColor\"></path>\n <path d=\"M32.07,18.956 C32.07,20.646 31.394,21.842 29.418,21.842 C28.56,21.842 27.702,21.686 27,21.4 L27,23.662 C27.65,23.896 28.586,24.104 29.808,24.104 C33.032,24.104 34.41,21.946 34.41,18.8 L34.41,6.918 L32.07,6.918 L32.07,18.956 Z M37.894,7.568 C37.894,8.556 38.544,9.128 39.454,9.128 C40.364,9.128 41.014,8.556 41.014,7.568 C41.014,6.58 40.364,6.008 39.454,6.008 C38.544,6.008 37.894,6.58 37.894,7.568 Z M38.31,24 L40.546,24 L40.546,11 L38.31,11 L38.31,24 Z M43.926,24 L46.11,24 L46.11,16.33 C46.11,13.574 47.852,12.716 50.712,13.002 L50.712,10.818 C48.164,10.662 46.864,11.754 46.11,13.288 L46.11,11 L43.926,11 L43.926,24 Z M61.45,24 L61.45,21.66 C60.618,23.376 59.058,24.26 57.056,24.26 C53.598,24.26 51.856,21.322 51.856,17.5 C51.856,13.834 53.676,10.74 57.316,10.74 C59.214,10.74 60.67,11.598 61.45,13.288 L61.45,11 L63.686,11 L63.686,24 L61.45,24 Z M54.092,17.5 C54.092,20.62 55.34,22.18 57.654,22.18 C59.656,22.18 61.45,20.906 61.45,18.02 L61.45,16.98 C61.45,14.094 59.812,12.82 57.914,12.82 C55.392,12.82 54.092,14.484 54.092,17.5 Z M82.926,19.294 C82.926,16.226 80.898,15.056 77.284,14.146 C74.268,13.392 73.176,12.69 73.176,11.286 C73.176,9.726 74.502,8.946 76.738,8.946 C78.506,8.946 80.352,9.258 82.068,10.246 L82.068,7.906 C80.898,7.256 79.312,6.658 76.842,6.658 C72.864,6.658 70.836,8.634 70.836,11.286 C70.836,14.094 72.552,15.42 76.4,16.356 C79.65,17.136 80.586,17.942 80.586,19.45 C80.586,20.958 79.624,21.972 77.05,21.972 C74.788,21.972 72.344,21.374 70.758,20.542 L70.758,22.934 C72.084,23.61 73.618,24.26 76.92,24.26 C81.158,24.26 82.926,22.258 82.926,19.294 Z M95.926,23.48 C94.86,24.052 93.222,24.26 91.896,24.26 C87.034,24.26 84.902,21.452 84.902,17.474 C84.902,13.548 87.086,10.74 91.038,10.74 C95.042,10.74 96.654,13.522 96.654,17.474 L96.654,18.488 L87.164,18.488 C87.476,20.698 88.906,22.128 91.974,22.128 C93.482,22.128 94.756,21.842 95.926,21.426 L95.926,23.48 Z M90.934,12.768 C88.568,12.768 87.372,14.302 87.138,16.564 L94.392,16.564 C94.262,14.146 93.17,12.768 90.934,12.768 Z M99.306,24 L101.49,24 L101.49,16.33 C101.49,13.574 103.232,12.716 106.092,13.002 L106.092,10.818 C103.544,10.662 102.244,11.754 101.49,13.288 L101.49,11 L99.306,11 L99.306,24 Z M111.604,24 L114.594,24 L119.638,11 L117.298,11 L113.112,22.102 L108.9,11 L106.56,11 L111.604,24 Z M121.146,7.568 C121.146,8.556 121.796,9.128 122.706,9.128 C123.616,9.128 124.266,8.556 124.266,7.568 C124.266,6.58 123.616,6.008 122.706,6.008 C121.796,6.008 121.146,6.58 121.146,7.568 Z M121.562,24 L123.798,24 L123.798,11 L121.562,11 L121.562,24 Z M136.356,21.66 C135.55,21.946 134.718,22.128 133.392,22.128 C129.986,22.128 128.582,19.996 128.582,17.474 C128.582,14.952 129.96,12.82 133.34,12.82 C134.562,12.82 135.446,13.054 136.278,13.444 L136.278,11.364 C135.264,10.896 134.354,10.74 133.184,10.74 C128.556,10.74 126.398,13.548 126.398,17.474 C126.398,21.452 128.556,24.26 133.184,24.26 C134.38,24.26 135.576,24.078 136.356,23.662 L136.356,21.66 Z M149.148,23.48 C148.082,24.052 146.444,24.26 145.118,24.26 C140.256,24.26 138.124,21.452 138.124,17.474 C138.124,13.548 140.308,10.74 144.26,10.74 C148.264,10.74 149.876,13.522 149.876,17.474 L149.876,18.488 L140.386,18.488 C140.698,20.698 142.128,22.128 145.196,22.128 C146.704,22.128 147.978,21.842 149.148,21.426 L149.148,23.48 Z M144.156,12.768 C141.79,12.768 140.594,14.302 140.36,16.564 L147.614,16.564 C147.484,14.146 146.392,12.768 144.156,12.768 Z M157.572,6.918 L163.864,6.918 C169.402,6.918 172.08,10.376 172.08,15.498 C172.08,20.672 169.376,24 163.864,24 L157.572,24 L157.572,6.918 Z M163.76,9.154 L159.912,9.154 L159.912,21.764 L163.89,21.764 C167.79,21.764 169.74,19.71 169.74,15.576 C169.74,11.416 167.894,9.154 163.76,9.154 Z M185.054,23.48 C183.988,24.052 182.35,24.26 181.024,24.26 C176.162,24.26 174.03,21.452 174.03,17.474 C174.03,13.548 176.214,10.74 180.166,10.74 C184.17,10.74 185.782,13.522 185.782,17.474 L185.782,18.488 L176.292,18.488 C176.604,20.698 178.034,22.128 181.102,22.128 C182.61,22.128 183.884,21.842 185.054,21.426 L185.054,23.48 Z M180.062,12.768 C177.696,12.768 176.5,14.302 176.266,16.564 L183.52,16.564 C183.39,14.146 182.298,12.768 180.062,12.768 Z M197.404,20.464 C197.404,18.202 195.948,17.136 193.062,16.434 C190.67,15.862 190.046,15.29 190.046,14.38 C190.046,13.366 190.93,12.794 192.568,12.794 C193.946,12.794 195.22,13.21 196.78,13.99 L196.78,11.676 C195.818,11.156 194.284,10.74 192.594,10.74 C189.63,10.74 187.888,12.118 187.888,14.38 C187.888,16.512 189.11,17.63 191.996,18.332 C194.466,18.93 195.22,19.502 195.22,20.49 C195.22,21.504 194.336,22.206 192.62,22.206 C190.982,22.206 189.11,21.582 187.992,20.932 L187.992,23.298 C188.98,23.818 190.566,24.26 192.516,24.26 C196,24.26 197.404,22.622 197.404,20.464 Z M202.214,24 L202.214,17.916 L207.934,24 L210.976,24 L204.606,17.396 L210.716,11 L207.804,11 L202.214,17.084 L202.214,5.566 L199.978,5.566 L199.978,24 L202.214,24 Z\" fill=\"inherit\" fill-rule=\"evenodd\"></path>\n </g>\n </svg>");
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated JiraServiceDeskLogo will be removed from atlaskit/logo in the next major release. Please use JiraServiceManagementLogo instead.
|
|
29
|
+
*/
|
|
30
|
+
|
|
27
31
|
|
|
28
32
|
var JiraServiceDeskLogo = function JiraServiceDeskLogo(_ref) {
|
|
29
33
|
var _ref$iconColor = _ref.iconColor,
|
|
@@ -41,7 +45,7 @@ var JiraServiceDeskLogo = function JiraServiceDeskLogo(_ref) {
|
|
|
41
45
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
42
46
|
|
|
43
47
|
if (process.env.NODE_ENV !== 'production') {
|
|
44
|
-
(0, _warnOnce.default)('JiraServiceDeskLogo has been deprecated and will be removed from @atlaskit/logo
|
|
48
|
+
(0, _warnOnce.default)('JiraServiceDeskLogo has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraServiceManagementLogo instead.');
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -17,6 +17,9 @@ var _wrapper = _interopRequireDefault(require("../wrapper"));
|
|
|
17
17
|
|
|
18
18
|
/* eslint-disable max-len */
|
|
19
19
|
var svg = "<canvas height=\"32\" width=\"185\" aria-hidden=\"true\"></canvas>\n<svg viewBox=\"0 0 185 32\" xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\">\n <g stroke=\"none\" stroke-width=\"1\" fill-rule=\"evenodd\" fill=\"inherit\">\n <path d=\"M5.07,18.956 C5.07,20.646 4.394,21.842 2.418,21.842 C1.56,21.842 0.702,21.686 9.1038288e-15,21.4 L9.1038288e-15,23.662 C0.65,23.896 1.586,24.104 2.808,24.104 C6.032,24.104 7.41,21.946 7.41,18.8 L7.41,6.918 L5.07,6.918 L5.07,18.956 Z M10.894,7.568 C10.894,8.556 11.544,9.128 12.454,9.128 C13.364,9.128 14.014,8.556 14.014,7.568 C14.014,6.58 13.364,6.008 12.454,6.008 C11.544,6.008 10.894,6.58 10.894,7.568 Z M11.31,24 L13.546,24 L13.546,11 L11.31,11 L11.31,24 Z M16.926,24 L19.11,24 L19.11,16.33 C19.11,13.574 20.852,12.716 23.712,13.002 L23.712,10.818 C21.164,10.662 19.864,11.754 19.11,13.288 L19.11,11 L16.926,11 L16.926,24 Z M34.45,24 L34.45,21.66 C33.618,23.376 32.058,24.26 30.056,24.26 C26.598,24.26 24.856,21.322 24.856,17.5 C24.856,13.834 26.676,10.74 30.316,10.74 C32.214,10.74 33.67,11.598 34.45,13.288 L34.45,11 L36.686,11 L36.686,24 L34.45,24 Z M27.092,17.5 C27.092,20.62 28.34,22.18 30.654,22.18 C32.656,22.18 34.45,20.906 34.45,18.02 L34.45,16.98 C34.45,14.094 32.812,12.82 30.914,12.82 C28.392,12.82 27.092,14.484 27.092,17.5 Z M55.926,19.294 C55.926,16.226 53.898,15.056 50.284,14.146 C47.268,13.392 46.176,12.69 46.176,11.286 C46.176,9.726 47.502,8.946 49.738,8.946 C51.506,8.946 53.352,9.258 55.068,10.246 L55.068,7.906 C53.898,7.256 52.312,6.658 49.842,6.658 C45.864,6.658 43.836,8.634 43.836,11.286 C43.836,14.094 45.552,15.42 49.4,16.356 C52.65,17.136 53.586,17.942 53.586,19.45 C53.586,20.958 52.624,21.972 50.05,21.972 C47.788,21.972 45.344,21.374 43.758,20.542 L43.758,22.934 C45.084,23.61 46.618,24.26 49.92,24.26 C54.158,24.26 55.926,22.258 55.926,19.294 Z M68.926,23.48 C67.86,24.052 66.222,24.26 64.896,24.26 C60.034,24.26 57.902,21.452 57.902,17.474 C57.902,13.548 60.086,10.74 64.038,10.74 C68.042,10.74 69.654,13.522 69.654,17.474 L69.654,18.488 L60.164,18.488 C60.476,20.698 61.906,22.128 64.974,22.128 C66.482,22.128 67.756,21.842 68.926,21.426 L68.926,23.48 Z M63.934,12.768 C61.568,12.768 60.372,14.302 60.138,16.564 L67.392,16.564 C67.262,14.146 66.17,12.768 63.934,12.768 Z M72.306,24 L74.49,24 L74.49,16.33 C74.49,13.574 76.232,12.716 79.092,13.002 L79.092,10.818 C76.544,10.662 75.244,11.754 74.49,13.288 L74.49,11 L72.306,11 L72.306,24 Z M84.604,24 L87.594,24 L92.638,11 L90.298,11 L86.112,22.102 L81.9,11 L79.56,11 L84.604,24 Z M94.146,7.568 C94.146,8.556 94.796,9.128 95.706,9.128 C96.616,9.128 97.266,8.556 97.266,7.568 C97.266,6.58 96.616,6.008 95.706,6.008 C94.796,6.008 94.146,6.58 94.146,7.568 Z M94.562,24 L96.798,24 L96.798,11 L94.562,11 L94.562,24 Z M109.356,21.66 C108.55,21.946 107.718,22.128 106.392,22.128 C102.986,22.128 101.582,19.996 101.582,17.474 C101.582,14.952 102.96,12.82 106.34,12.82 C107.562,12.82 108.446,13.054 109.278,13.444 L109.278,11.364 C108.264,10.896 107.354,10.74 106.184,10.74 C101.556,10.74 99.398,13.548 99.398,17.474 C99.398,21.452 101.556,24.26 106.184,24.26 C107.38,24.26 108.576,24.078 109.356,23.662 L109.356,21.66 Z M122.148,23.48 C121.082,24.052 119.444,24.26 118.118,24.26 C113.256,24.26 111.124,21.452 111.124,17.474 C111.124,13.548 113.308,10.74 117.26,10.74 C121.264,10.74 122.876,13.522 122.876,17.474 L122.876,18.488 L113.386,18.488 C113.698,20.698 115.128,22.128 118.196,22.128 C119.704,22.128 120.978,21.842 122.148,21.426 L122.148,23.48 Z M117.156,12.768 C114.79,12.768 113.594,14.302 113.36,16.564 L120.614,16.564 C120.484,14.146 119.392,12.768 117.156,12.768 Z M130.572,6.918 L136.864,6.918 C142.402,6.918 145.08,10.376 145.08,15.498 C145.08,20.672 142.376,24 136.864,24 L130.572,24 L130.572,6.918 Z M136.76,9.154 L132.912,9.154 L132.912,21.764 L136.89,21.764 C140.79,21.764 142.74,19.71 142.74,15.576 C142.74,11.416 140.894,9.154 136.76,9.154 Z M158.054,23.48 C156.988,24.052 155.35,24.26 154.024,24.26 C149.162,24.26 147.03,21.452 147.03,17.474 C147.03,13.548 149.214,10.74 153.166,10.74 C157.17,10.74 158.782,13.522 158.782,17.474 L158.782,18.488 L149.292,18.488 C149.604,20.698 151.034,22.128 154.102,22.128 C155.61,22.128 156.884,21.842 158.054,21.426 L158.054,23.48 Z M153.062,12.768 C150.696,12.768 149.5,14.302 149.266,16.564 L156.52,16.564 C156.39,14.146 155.298,12.768 153.062,12.768 Z M170.404,20.464 C170.404,18.202 168.948,17.136 166.062,16.434 C163.67,15.862 163.046,15.29 163.046,14.38 C163.046,13.366 163.93,12.794 165.568,12.794 C166.946,12.794 168.22,13.21 169.78,13.99 L169.78,11.676 C168.818,11.156 167.284,10.74 165.594,10.74 C162.63,10.74 160.888,12.118 160.888,14.38 C160.888,16.512 162.11,17.63 164.996,18.332 C167.466,18.93 168.22,19.502 168.22,20.49 C168.22,21.504 167.336,22.206 165.62,22.206 C163.982,22.206 162.11,21.582 160.992,20.932 L160.992,23.298 C161.98,23.818 163.566,24.26 165.516,24.26 C169,24.26 170.404,22.622 170.404,20.464 Z M175.214,24 L175.214,17.916 L180.934,24 L183.976,24 L177.606,17.396 L183.716,11 L180.804,11 L175.214,17.084 L175.214,5.566 L172.978,5.566 L172.978,24 L175.214,24 Z\"></path>\n </g>\n</svg>";
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated JiraServiceDeskWordmark will be removed from atlaskit/logo in the next major release. Please use JiraServiceManagementWordmark instead.
|
|
22
|
+
*/
|
|
20
23
|
|
|
21
24
|
var JiraServiceDeskWordmark = function JiraServiceDeskWordmark(_ref) {
|
|
22
25
|
var _ref$iconColor = _ref.iconColor,
|
|
@@ -34,7 +37,7 @@ var JiraServiceDeskWordmark = function JiraServiceDeskWordmark(_ref) {
|
|
|
34
37
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
35
38
|
|
|
36
39
|
if (process.env.NODE_ENV !== 'production') {
|
|
37
|
-
(0, _warnOnce.default)('JiraServiceDeskWordmark has been deprecated and will be removed from @atlaskit/logo
|
|
40
|
+
(0, _warnOnce.default)('JiraServiceDeskWordmark has been deprecated and will be removed from @atlaskit/logo in the next major release. Please use JiraServiceManagementWordmark instead.');
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -29,6 +29,10 @@ var svg = function svg(iconGradientStart, iconGradientStop) {
|
|
|
29
29
|
* This is because it casing it incorrect, it should be Opsgenie, not OpsGenie.
|
|
30
30
|
*/
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated OpsGenieIcon is incorrectly cased and will be removed from atlaskit/logo in the next major release. Please use OpsgenieIcon (no capital 'g') instead.
|
|
34
|
+
*/
|
|
35
|
+
|
|
32
36
|
|
|
33
37
|
var OpsGenieIcon = function OpsGenieIcon(_ref) {
|
|
34
38
|
var _ref$iconColor = _ref.iconColor,
|
|
@@ -44,7 +48,7 @@ var OpsGenieIcon = function OpsGenieIcon(_ref) {
|
|
|
44
48
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
45
49
|
|
|
46
50
|
if (process.env.NODE_ENV !== 'production') {
|
|
47
|
-
(0, _warnOnce.default)('OpsGenieIcon will be renamed to OpsgenieIcon
|
|
51
|
+
(0, _warnOnce.default)('OpsGenieIcon will be renamed to OpsgenieIcon in the next major release. Please use OpsgenieIcon instead.');
|
|
48
52
|
}
|
|
49
53
|
|
|
50
54
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -25,8 +25,7 @@ var svg = function svg(iconGradientStart, iconGradientStop) {
|
|
|
25
25
|
return "<canvas height=\"32\" width=\"133\" aria-hidden=\"true\"></canvas>\n <svg viewBox=\"0 0 133 32\" xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\">\n <defs>\n <linearGradient id=\"".concat(id, "-1\" x1=\"50%\" x2=\"50%\" y1=\"0%\" y2=\"100%\">\n <stop\n offset=\"0%\"\n stop-color=\"").concat(iconGradientStop, "\"\n />\n <stop\n offset=\"82%\"\n stop-color=\"").concat(iconGradientStart, "\"\n ").concat(iconGradientStart === 'inherit' ? 'stop-opacity="0.4"' : '', "\n />\n </linearGradient>\n <linearGradient id=\"").concat(id, "-2\" x1=\"7.133%\" x2=\"50%\" y1=\"13.352%\" y2=\"58.228%\">\n <stop\n offset=\"0%\"\n stop-color=\"").concat(iconGradientStop, "\"\n />\n <stop\n stop-color=\"").concat(iconGradientStart, "\"\n ").concat(iconGradientStart === 'inherit' ? 'stop-opacity="0.4"' : '', "\n offset=\"100%\"\n />\n </linearGradient>\n </defs>\n <g fill-rule=\"evenodd\">\n <path fill=\"inherit\" fill-rule=\"nonzero\" d=\"M27,14.9963259 C27,9.84140338 29.9575,6.22438088 35.2484675,6.22438088 C40.539435,6.22438088 43.4880625,9.84436088 43.4880625,14.9963259 C43.4880625,20.1985684 40.5305625,23.8422084 35.263255,23.8422084 C29.9959475,23.8422084 27,20.1956109 27,14.9963259 Z M29.34234,14.9963259 C29.34234,18.6133484 31.03403,21.6063384 35.25734,21.6063384 C39.48065,21.6063384 41.1220625,18.6133484 41.1220625,14.9963259 C41.1220625,11.4473259 39.4303725,8.46320838 35.239595,8.46320838 C31.0488175,8.46320838 29.34234,11.4561984 29.34234,14.9963259 Z M48.7050925,21.2928434 L48.7050925,28.6570184 L46.466265,28.6570184 L46.466265,10.5719059 L48.7050925,10.5719059 L48.7050925,12.9142459 C49.53615,11.1959384 51.1006675,10.3116459 53.102895,10.3116459 C56.56317,10.3116459 58.308095,13.2514009 58.308095,17.0754484 C58.308095,20.7457059 56.486275,23.8422084 52.842635,23.8422084 C50.94392,23.8422084 49.4858725,22.9845334 48.7050925,21.2928434 Z M52.50548,12.3937259 C50.500295,12.3937259 48.7050925,13.6684084 48.7050925,16.5578859 L48.7050925,17.5989259 C48.7050925,20.4854459 50.3435475,21.7601284 52.2540925,21.7601284 C54.77684,21.7601284 56.07814,20.0950559 56.07814,17.0754484 C56.0692675,13.9552859 54.8212025,12.3937259 52.50548,12.3937259 Z M64.99796,23.8422084 C63.4334449,23.8787499 61.881995,23.5496237 60.46707,22.8810209 L60.46707,20.5150209 C61.8881071,21.303432 63.4771215,21.740487 65.1014725,21.7897034 C66.81978,21.7897034 67.7040725,21.0887759 67.7040725,20.0713959 C67.7040725,19.0540159 66.94991,18.5098359 64.47744,17.9124209 C61.5879625,17.2085359 60.3635575,16.0906009 60.3635575,13.9582434 C60.3635575,11.6927984 62.1084825,10.3146034 65.074855,10.3146034 C66.5257548,10.2930388 67.96137,10.6131901 69.2656325,11.2491734 L69.2656325,13.5678534 C67.7040725,12.7870734 66.42939,12.3848534 65.0482375,12.3848534 C63.4097825,12.3848534 62.52549,12.9556509 62.52549,13.9730309 C62.52549,14.8839409 63.1495225,15.4517809 65.5450975,16.0284934 C68.4316175,16.7294209 69.889665,17.8029934 69.889665,20.0625234 C69.889665,22.2037534 68.4848525,23.8422084 64.99796,23.8422084 Z M81.7581125,21.2396084 C80.9240975,22.9579159 79.3625375,23.8422084 77.3573525,23.8422084 C73.923695,23.8422084 72.2053875,20.9024534 72.2053875,17.0754484 C72.2053875,13.4081484 74.00059,10.3116459 77.62057,10.3116459 C79.519285,10.3116459 80.9773325,11.1693209 81.76107,12.8610109 L81.76107,10.5719059 L83.9466625,10.5719059 L83.9466625,22.4019059 C83.9466625,26.2289109 82.15146,28.8048934 77.49044,28.8048934 C75.9171438,28.849884 74.3485221,28.6124873 72.858995,28.1039659 L72.858995,25.9154159 C74.315222,26.4191931 75.8431618,26.6848349 77.38397,26.7021109 C80.63722,26.7021109 81.7581125,24.9601434 81.7581125,22.5379509 L81.7581125,21.2396084 Z M77.957725,21.7601284 C79.9599525,21.7601284 81.7581125,20.4854459 81.7581125,17.5989259 L81.7581125,16.5578859 C81.7581125,13.6684084 80.1167,12.3937259 78.2091125,12.3937259 C75.6834075,12.3937259 74.3821075,14.0587984 74.3821075,17.0754484 C74.39098,20.1956109 75.6420025,21.7601284 77.957725,21.7601284 Z M93.5467075,23.8422084 C88.6786625,23.8422084 86.546305,21.0325834 86.546305,17.0399584 C86.546305,13.1094409 88.7318975,10.2998159 92.6890325,10.2998159 C96.696445,10.2998159 98.308282,13.0828234 98.308282,17.0399584 L98.308282,18.0662109 L88.8087925,18.0662109 C89.1222875,20.2784209 90.5537175,21.7098509 93.6236025,21.7098509 C94.9737094,21.7089885 96.313149,21.4707325 97.580737,21.0059659 L97.580737,23.0762159 C96.51308,23.6351834 94.874625,23.8422084 93.5467075,23.8422084 Z M88.7851325,16.1527084 L96.045795,16.1527084 C95.915665,13.7305159 94.82139,12.3523209 92.5825625,12.3523209 C90.2165625,12.3404909 89.0335625,13.8754334 88.7851325,16.1408784 L88.7851325,16.1527084 Z M112.025168,23.5819484 L109.78634,23.5819484 L109.78634,15.7238709 C109.78634,13.3815309 108.848813,12.3404909 106.716455,12.3404909 C104.646205,12.3404909 103.202945,13.7186859 103.202945,16.3479034 L103.202945,23.5819484 L100.964118,23.5819484 L100.964118,10.5689484 L103.202945,10.5689484 L103.202945,12.7013059 C104.015399,11.1952365 105.603045,10.2712035 107.31387,10.3086884 C110.30686,10.3086884 112.025168,12.3789384 112.025168,15.9545559 L112.025168,23.5819484 Z M116.29284,5.57373088 C116.715541,5.54348282 117.130549,5.69826386 117.430208,5.99792296 C117.729867,6.29758207 117.884648,6.71258978 117.8544,7.13529088 C117.8544,7.99771665 117.155266,8.69685088 116.29284,8.69685088 C115.430414,8.69685088 114.73128,7.99771665 114.73128,7.13529088 C114.701032,6.71258978 114.855813,6.29758207 115.155472,5.99792296 C115.455131,5.69826386 115.870139,5.54348282 116.29284,5.57373088 Z M115.148287,10.5719059 L117.387115,10.5719059 L117.387115,23.5849059 L115.148287,23.5849059 L115.148287,10.5719059 Z M127.510637,23.8422084 C122.642592,23.8422084 120.510235,21.0325834 120.510235,17.0399584 C120.510235,13.1094409 122.695827,10.2998159 126.650005,10.2998159 C130.657417,10.2998159 132.269255,13.0828234 132.269255,17.0399584 L132.269255,18.0662109 L122.772722,18.0662109 C123.086217,20.2784209 124.517647,21.7098509 127.587532,21.7098509 C128.937639,21.7089885 130.277079,21.4707325 131.544667,21.0059659 L131.544667,23.0762159 C130.47701,23.6351834 128.838555,23.8422084 127.510637,23.8422084 Z M122.749062,16.1408784 L130.012682,16.1408784 C129.882552,13.7186859 128.788277,12.3404909 126.54945,12.3404909 C124.177535,12.3404909 122.982705,13.8754334 122.749062,16.1408784 Z\"/>\n <circle cx=\"10.055\" cy=\"10\" r=\"6\" fill=\"url(#").concat(id, "-1)\" fill-rule=\"nonzero\"/>\n <path fill=\"url(#").concat(id, "-2)\" fill-rule=\"nonzero\" d=\"M9.5466546,27.8535048 C5.6443752,25.3649677 2.39856217,21.9735337 0.0835689575,17.9658651 C-0.0952202525,17.6419027 0.0222963675,17.2343451 0.346122097,17.0553085 L0.374053287,17.0553085 L4.8989053,14.8208136 C5.2162202,14.6649408 5.6000426,14.7822878 5.7759446,15.088953 C8.0603155,18.9171632 11.4349681,21.9767185 15.4680659,23.876104 C13.9786912,25.3786979 12.3282342,26.7125519 10.5465911,27.8535048 C10.2398972,28.0418894 9.8533485,28.0418894 9.5466546,27.8535048 Z\"/>\n <path fill=\"currentColor\" fill-rule=\"nonzero\" d=\"M10.5633498,27.8535048 C14.4667513,25.3663345 17.7128569,21.9745949 20.0264354,17.9658651 C20.2034083,17.6413306 20.0894039,17.23488 19.7694685,17.0497222 L19.7359511,17.0497222 L15.2055128,14.8152274 C14.8898394,14.6599316 14.5078288,14.7774733 14.3340598,15.0833668 C12.0472876,18.9191667 8.663628,21.9817774 4.6195935,23.876104 C6.11093,25.3787865 7.7632469,26.7126296 9.5466546,27.8535048 C9.8574084,28.0488317 10.252596,28.0488317 10.5633498,27.8535048 Z\"/>\n </g>\n </svg>");
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
* @deprecated This has been deprecated as it is in the incorrect casing. It is meant to be Opsgenie logo.
|
|
28
|
+
* @deprecated OpsGenieLogo is incorrectly cased and will be removed from atlaskit/logo in the next major release. Please use OpsgenieLogo (no capital 'g') instead.
|
|
30
29
|
*/
|
|
31
30
|
|
|
32
31
|
|
|
@@ -44,7 +43,7 @@ var OpsGenieLogo = function OpsGenieLogo(_ref) {
|
|
|
44
43
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
45
44
|
|
|
46
45
|
if (process.env.NODE_ENV !== 'production') {
|
|
47
|
-
(0, _warnOnce.default)('OpsGenieLogo will be renamed to OpsgenieLogo
|
|
46
|
+
(0, _warnOnce.default)('OpsGenieLogo will be renamed to OpsgenieLogo in the next major release. Please use OpsgenieLogo instead.');
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|
|
@@ -17,6 +17,9 @@ var _wrapper = _interopRequireDefault(require("../wrapper"));
|
|
|
17
17
|
|
|
18
18
|
/* eslint-disable max-len */
|
|
19
19
|
var svg = "<canvas height=\"32\" width=\"148\" aria-hidden=\"true\"></canvas>\n<svg viewBox=\"0 0 148 32\" xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\">\n <g fill-rule=\"evenodd\" fill=\"inherit\">\n <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\" />\n </g>\n</svg>";
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated OpsGenieWordmark is incorrectly cased and will be removed from atlaskit/logo in the next major release. Please use OpsgenieLogo (no capital 'g') instead.
|
|
22
|
+
*/
|
|
20
23
|
|
|
21
24
|
var OpsGenieWordmark = function OpsGenieWordmark(_ref) {
|
|
22
25
|
var _ref$iconColor = _ref.iconColor,
|
|
@@ -32,7 +35,7 @@ var OpsGenieWordmark = function OpsGenieWordmark(_ref) {
|
|
|
32
35
|
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
|
|
33
36
|
|
|
34
37
|
if (process.env.NODE_ENV !== 'production') {
|
|
35
|
-
(0, _warnOnce.default)('OpsGenieWordmark will be renamed to OpsgenieWordmark
|
|
38
|
+
(0, _warnOnce.default)('OpsGenieWordmark will be renamed to OpsgenieWordmark in the next major release. Please use OpsgenieWordmark instead.');
|
|
36
39
|
}
|
|
37
40
|
|
|
38
41
|
return /*#__PURE__*/_react.default.createElement(_wrapper.default, {
|