@atlaskit/logo 19.0.0 → 19.1.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 +17 -0
- package/dist/cjs/logo-config.js +6 -5
- package/dist/es2019/logo-config.js +5 -4
- package/dist/esm/logo-config.js +6 -5
- package/dist/types/index.d.ts +30 -30
- package/dist/types/logo-config.d.ts +1 -1
- package/dist/types/types.d.ts +4 -0
- package/dist/types-ts4.5/index.d.ts +30 -30
- package/dist/types-ts4.5/logo-config.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +4 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/logo
|
|
2
2
|
|
|
3
|
+
## 19.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#169522](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/169522)
|
|
8
|
+
[`e55cd122d35de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e55cd122d35de) -
|
|
9
|
+
Added a new prop, shouldUseNewLogoDesign, to allow new logo designs to be enabled ahead of feature
|
|
10
|
+
flag roll-out
|
|
11
|
+
|
|
12
|
+
## 19.0.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#164618](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/164618)
|
|
17
|
+
[`6085f82218cd6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6085f82218cd6) -
|
|
18
|
+
Fixed headings not appearing correctly on atlassian.design docs
|
|
19
|
+
|
|
3
20
|
## 19.0.0
|
|
4
21
|
|
|
5
22
|
### Major Changes
|
package/dist/cjs/logo-config.js
CHANGED
|
@@ -9,7 +9,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
|
-
var _excluded = ["size"],
|
|
12
|
+
var _excluded = ["size", "shouldUseNewLogoDesign"],
|
|
13
13
|
_excluded2 = ["size"];
|
|
14
14
|
/**
|
|
15
15
|
* Creates a feature flagged component that renders the legacy logo or the new logo
|
|
@@ -24,8 +24,9 @@ var createFeatureFlaggedComponent = exports.createFeatureFlaggedComponent = func
|
|
|
24
24
|
// These props will be deprecated in the future
|
|
25
25
|
return function (_ref) {
|
|
26
26
|
var size = _ref.size,
|
|
27
|
+
shouldUseNewLogoDesign = _ref.shouldUseNewLogoDesign,
|
|
27
28
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
28
|
-
if ((0, _platformFeatureFlags.fg)('platform-logo-rebrand')) {
|
|
29
|
+
if ((0, _platformFeatureFlags.fg)('platform-logo-rebrand') || shouldUseNewLogoDesign) {
|
|
29
30
|
// Size defaults need to be set, as the temp library had different defaults
|
|
30
31
|
return /*#__PURE__*/_react.default.createElement(NewComponent, (0, _extends2.default)({
|
|
31
32
|
size: size || 'medium'
|
|
@@ -53,10 +54,10 @@ var tempSizeWrapper = exports.tempSizeWrapper = function tempSizeWrapper(NewComp
|
|
|
53
54
|
};
|
|
54
55
|
|
|
55
56
|
// Logos that only exist in @atlaskit/logo
|
|
56
|
-
var LEGACY_ONLY_LOGOS = exports.LEGACY_ONLY_LOGOS = ['atlassian', '
|
|
57
|
+
var LEGACY_ONLY_LOGOS = exports.LEGACY_ONLY_LOGOS = ['atlassian', 'atlas', 'atlassian-marketplace', 'atlassian-access', 'atlassian-administration', 'atlassian-admin', 'jira-software', 'jira-work-management', 'loom-attribution'];
|
|
57
58
|
|
|
58
59
|
// Logos that exist in both packages
|
|
59
|
-
var SHARED_LOGOS = exports.SHARED_LOGOS = ['bitbucket', 'compass', 'confluence', 'jira', 'jira-product-discovery', 'jira-service-management', 'loom', 'opsgenie', 'statuspage', 'trello', 'rovo', 'guard', 'focus'];
|
|
60
|
+
var SHARED_LOGOS = exports.SHARED_LOGOS = ['atlassian-analytics', 'bitbucket', 'compass', 'confluence', 'jira', 'jira-align', 'jira-product-discovery', 'jira-service-management', 'loom', 'opsgenie', 'statuspage', 'trello', 'rovo', 'guard', 'focus'];
|
|
60
61
|
|
|
61
62
|
// Logos that only exist in @atlaskit/temp-nav-app-icons
|
|
62
|
-
var NEW_ONLY_LOGOS = exports.NEW_ONLY_LOGOS = ['assets', 'chat', 'goals', 'home', 'projects', 'search', 'studio', 'talent', 'teams'];
|
|
63
|
+
var NEW_ONLY_LOGOS = exports.NEW_ONLY_LOGOS = ['assets', 'chat', 'customer-service-management', 'goals', 'home', 'hub', 'projects', 'search', 'studio', 'talent', 'teams'];
|
|
@@ -14,9 +14,10 @@ export const createFeatureFlaggedComponent = (LegacyComponent, NewComponent) =>
|
|
|
14
14
|
// These props will be deprecated in the future
|
|
15
15
|
return ({
|
|
16
16
|
size,
|
|
17
|
+
shouldUseNewLogoDesign,
|
|
17
18
|
...props
|
|
18
19
|
}) => {
|
|
19
|
-
if (fg('platform-logo-rebrand')) {
|
|
20
|
+
if (fg('platform-logo-rebrand') || shouldUseNewLogoDesign) {
|
|
20
21
|
// Size defaults need to be set, as the temp library had different defaults
|
|
21
22
|
return /*#__PURE__*/React.createElement(NewComponent, _extends({
|
|
22
23
|
size: size || 'medium'
|
|
@@ -45,10 +46,10 @@ export const tempSizeWrapper = NewComponent => {
|
|
|
45
46
|
};
|
|
46
47
|
|
|
47
48
|
// Logos that only exist in @atlaskit/logo
|
|
48
|
-
export const LEGACY_ONLY_LOGOS = ['atlassian', '
|
|
49
|
+
export const LEGACY_ONLY_LOGOS = ['atlassian', 'atlas', 'atlassian-marketplace', 'atlassian-access', 'atlassian-administration', 'atlassian-admin', 'jira-software', 'jira-work-management', 'loom-attribution'];
|
|
49
50
|
|
|
50
51
|
// Logos that exist in both packages
|
|
51
|
-
export const SHARED_LOGOS = ['bitbucket', 'compass', 'confluence', 'jira', 'jira-product-discovery', 'jira-service-management', 'loom', 'opsgenie', 'statuspage', 'trello', 'rovo', 'guard', 'focus'];
|
|
52
|
+
export const SHARED_LOGOS = ['atlassian-analytics', 'bitbucket', 'compass', 'confluence', 'jira', 'jira-align', 'jira-product-discovery', 'jira-service-management', 'loom', 'opsgenie', 'statuspage', 'trello', 'rovo', 'guard', 'focus'];
|
|
52
53
|
|
|
53
54
|
// Logos that only exist in @atlaskit/temp-nav-app-icons
|
|
54
|
-
export const NEW_ONLY_LOGOS = ['assets', 'chat', 'goals', 'home', 'projects', 'search', 'studio', 'talent', 'teams'];
|
|
55
|
+
export const NEW_ONLY_LOGOS = ['assets', 'chat', 'customer-service-management', 'goals', 'home', 'hub', 'projects', 'search', 'studio', 'talent', 'teams'];
|
package/dist/esm/logo-config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["size"],
|
|
3
|
+
var _excluded = ["size", "shouldUseNewLogoDesign"],
|
|
4
4
|
_excluded2 = ["size"];
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -17,8 +17,9 @@ export var createFeatureFlaggedComponent = function createFeatureFlaggedComponen
|
|
|
17
17
|
// These props will be deprecated in the future
|
|
18
18
|
return function (_ref) {
|
|
19
19
|
var size = _ref.size,
|
|
20
|
+
shouldUseNewLogoDesign = _ref.shouldUseNewLogoDesign,
|
|
20
21
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
21
|
-
if (fg('platform-logo-rebrand')) {
|
|
22
|
+
if (fg('platform-logo-rebrand') || shouldUseNewLogoDesign) {
|
|
22
23
|
// Size defaults need to be set, as the temp library had different defaults
|
|
23
24
|
return /*#__PURE__*/React.createElement(NewComponent, _extends({
|
|
24
25
|
size: size || 'medium'
|
|
@@ -46,10 +47,10 @@ export var tempSizeWrapper = function tempSizeWrapper(NewComponent) {
|
|
|
46
47
|
};
|
|
47
48
|
|
|
48
49
|
// Logos that only exist in @atlaskit/logo
|
|
49
|
-
export var LEGACY_ONLY_LOGOS = ['atlassian', '
|
|
50
|
+
export var LEGACY_ONLY_LOGOS = ['atlassian', 'atlas', 'atlassian-marketplace', 'atlassian-access', 'atlassian-administration', 'atlassian-admin', 'jira-software', 'jira-work-management', 'loom-attribution'];
|
|
50
51
|
|
|
51
52
|
// Logos that exist in both packages
|
|
52
|
-
export var SHARED_LOGOS = ['bitbucket', 'compass', 'confluence', 'jira', 'jira-product-discovery', 'jira-service-management', 'loom', 'opsgenie', 'statuspage', 'trello', 'rovo', 'guard', 'focus'];
|
|
53
|
+
export var SHARED_LOGOS = ['atlassian-analytics', 'bitbucket', 'compass', 'confluence', 'jira', 'jira-align', 'jira-product-discovery', 'jira-service-management', 'loom', 'opsgenie', 'statuspage', 'trello', 'rovo', 'guard', 'focus'];
|
|
53
54
|
|
|
54
55
|
// Logos that only exist in @atlaskit/temp-nav-app-icons
|
|
55
|
-
export var NEW_ONLY_LOGOS = ['assets', 'chat', 'goals', 'home', 'projects', 'search', 'studio', 'talent', 'teams'];
|
|
56
|
+
export var NEW_ONLY_LOGOS = ['assets', 'chat', 'customer-service-management', 'goals', 'home', 'hub', 'projects', 'search', 'studio', 'talent', 'teams'];
|
package/dist/types/index.d.ts
CHANGED
|
@@ -237,7 +237,7 @@ export declare const TeamsLogo: ({ size, ...props }: import("./types").LogoProps
|
|
|
237
237
|
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
238
238
|
* - [Usage](https://atlassian.design/components/{packageName}/usage)
|
|
239
239
|
*/
|
|
240
|
-
export declare const AtlassianAnalyticsIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
240
|
+
export declare const AtlassianAnalyticsIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
241
241
|
/**
|
|
242
242
|
* __Analytics logo__
|
|
243
243
|
*
|
|
@@ -247,7 +247,7 @@ export declare const AtlassianAnalyticsIcon: ({ size, ...props }: import("./type
|
|
|
247
247
|
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
248
248
|
* - [Usage](https://atlassian.design/components/{packageName}/usage)
|
|
249
249
|
*/
|
|
250
|
-
export declare const AtlassianAnalyticsLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
250
|
+
export declare const AtlassianAnalyticsLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
251
251
|
/**
|
|
252
252
|
* __Bitbucket icon__
|
|
253
253
|
*
|
|
@@ -257,7 +257,7 @@ export declare const AtlassianAnalyticsLogo: ({ size, ...props }: import("./type
|
|
|
257
257
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
258
258
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
259
259
|
*/
|
|
260
|
-
export declare const BitbucketIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
260
|
+
export declare const BitbucketIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
261
261
|
/**
|
|
262
262
|
* __Bitbucket logo__
|
|
263
263
|
*
|
|
@@ -267,7 +267,7 @@ export declare const BitbucketIcon: ({ size, ...props }: import("./types").LogoP
|
|
|
267
267
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
268
268
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
269
269
|
*/
|
|
270
|
-
export declare const BitbucketLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
270
|
+
export declare const BitbucketLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
271
271
|
/**
|
|
272
272
|
* __Compass icon__
|
|
273
273
|
*
|
|
@@ -277,7 +277,7 @@ export declare const BitbucketLogo: ({ size, ...props }: import("./types").LogoP
|
|
|
277
277
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
278
278
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
279
279
|
*/
|
|
280
|
-
export declare const CompassIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
280
|
+
export declare const CompassIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
281
281
|
/**
|
|
282
282
|
* __Compass logo__
|
|
283
283
|
*
|
|
@@ -287,7 +287,7 @@ export declare const CompassIcon: ({ size, ...props }: import("./types").LogoPro
|
|
|
287
287
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
288
288
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
289
289
|
*/
|
|
290
|
-
export declare const CompassLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
290
|
+
export declare const CompassLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
291
291
|
/**
|
|
292
292
|
* __Confluence icon__
|
|
293
293
|
*
|
|
@@ -297,7 +297,7 @@ export declare const CompassLogo: ({ size, ...props }: import("./types").LogoPro
|
|
|
297
297
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
298
298
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
299
299
|
*/
|
|
300
|
-
export declare const ConfluenceIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
300
|
+
export declare const ConfluenceIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
301
301
|
/**
|
|
302
302
|
* __Confluence logo__
|
|
303
303
|
*
|
|
@@ -307,7 +307,7 @@ export declare const ConfluenceIcon: ({ size, ...props }: import("./types").Logo
|
|
|
307
307
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
308
308
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
309
309
|
*/
|
|
310
|
-
export declare const ConfluenceLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
310
|
+
export declare const ConfluenceLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
311
311
|
/**
|
|
312
312
|
* __Align icon__
|
|
313
313
|
*
|
|
@@ -317,7 +317,7 @@ export declare const ConfluenceLogo: ({ size, ...props }: import("./types").Logo
|
|
|
317
317
|
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
318
318
|
* - [Usage](https://atlassian.design/components/{packageName}/usage)
|
|
319
319
|
*/
|
|
320
|
-
export declare const JiraAlignIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
320
|
+
export declare const JiraAlignIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
321
321
|
/**
|
|
322
322
|
* __Align logo__
|
|
323
323
|
*
|
|
@@ -327,7 +327,7 @@ export declare const JiraAlignIcon: ({ size, ...props }: import("./types").LogoP
|
|
|
327
327
|
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
328
328
|
* - [Usage](https://atlassian.design/components/{packageName}/usage)
|
|
329
329
|
*/
|
|
330
|
-
export declare const JiraAlignLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
330
|
+
export declare const JiraAlignLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
331
331
|
/**
|
|
332
332
|
* __Jira icon__
|
|
333
333
|
*
|
|
@@ -337,7 +337,7 @@ export declare const JiraAlignLogo: ({ size, ...props }: import("./types").LogoP
|
|
|
337
337
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
338
338
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
339
339
|
*/
|
|
340
|
-
export declare const JiraIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
340
|
+
export declare const JiraIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
341
341
|
/**
|
|
342
342
|
* __Jira logo__
|
|
343
343
|
*
|
|
@@ -347,7 +347,7 @@ export declare const JiraIcon: ({ size, ...props }: import("./types").LogoProps)
|
|
|
347
347
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
348
348
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
349
349
|
*/
|
|
350
|
-
export declare const JiraLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
350
|
+
export declare const JiraLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
351
351
|
/**
|
|
352
352
|
* __Jira product discovery icon__
|
|
353
353
|
*
|
|
@@ -357,7 +357,7 @@ export declare const JiraLogo: ({ size, ...props }: import("./types").LogoProps)
|
|
|
357
357
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
358
358
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
359
359
|
*/
|
|
360
|
-
export declare const JiraProductDiscoveryIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
360
|
+
export declare const JiraProductDiscoveryIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
361
361
|
/**
|
|
362
362
|
* __Jira product discovery logo__
|
|
363
363
|
*
|
|
@@ -367,7 +367,7 @@ export declare const JiraProductDiscoveryIcon: ({ size, ...props }: import("./ty
|
|
|
367
367
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
368
368
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
369
369
|
*/
|
|
370
|
-
export declare const JiraProductDiscoveryLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
370
|
+
export declare const JiraProductDiscoveryLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
371
371
|
/**
|
|
372
372
|
* __Jira service management icon__
|
|
373
373
|
*
|
|
@@ -377,7 +377,7 @@ export declare const JiraProductDiscoveryLogo: ({ size, ...props }: import("./ty
|
|
|
377
377
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
378
378
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
379
379
|
*/
|
|
380
|
-
export declare const JiraServiceManagementIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
380
|
+
export declare const JiraServiceManagementIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
381
381
|
/**
|
|
382
382
|
* __Jira service management logo__
|
|
383
383
|
*
|
|
@@ -387,7 +387,7 @@ export declare const JiraServiceManagementIcon: ({ size, ...props }: import("./t
|
|
|
387
387
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
388
388
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
389
389
|
*/
|
|
390
|
-
export declare const JiraServiceManagementLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
390
|
+
export declare const JiraServiceManagementLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
391
391
|
/**
|
|
392
392
|
* __Loom icon__
|
|
393
393
|
*
|
|
@@ -397,7 +397,7 @@ export declare const JiraServiceManagementLogo: ({ size, ...props }: import("./t
|
|
|
397
397
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
398
398
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
399
399
|
*/
|
|
400
|
-
export declare const LoomIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
400
|
+
export declare const LoomIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
401
401
|
/**
|
|
402
402
|
* __Loom logo__
|
|
403
403
|
*
|
|
@@ -407,7 +407,7 @@ export declare const LoomIcon: ({ size, ...props }: import("./types").LogoProps)
|
|
|
407
407
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
408
408
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
409
409
|
*/
|
|
410
|
-
export declare const LoomLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
410
|
+
export declare const LoomLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
411
411
|
/**
|
|
412
412
|
* __Opsgenie icon__
|
|
413
413
|
*
|
|
@@ -417,7 +417,7 @@ export declare const LoomLogo: ({ size, ...props }: import("./types").LogoProps)
|
|
|
417
417
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
418
418
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
419
419
|
*/
|
|
420
|
-
export declare const OpsgenieIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
420
|
+
export declare const OpsgenieIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
421
421
|
/**
|
|
422
422
|
* __Opsgenie logo__
|
|
423
423
|
*
|
|
@@ -427,7 +427,7 @@ export declare const OpsgenieIcon: ({ size, ...props }: import("./types").LogoPr
|
|
|
427
427
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
428
428
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
429
429
|
*/
|
|
430
|
-
export declare const OpsgenieLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
430
|
+
export declare const OpsgenieLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
431
431
|
/**
|
|
432
432
|
* __Statuspage icon__
|
|
433
433
|
*
|
|
@@ -437,7 +437,7 @@ export declare const OpsgenieLogo: ({ size, ...props }: import("./types").LogoPr
|
|
|
437
437
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
438
438
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
439
439
|
*/
|
|
440
|
-
export declare const StatuspageIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
440
|
+
export declare const StatuspageIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
441
441
|
/**
|
|
442
442
|
* __Statuspage logo__
|
|
443
443
|
*
|
|
@@ -447,7 +447,7 @@ export declare const StatuspageIcon: ({ size, ...props }: import("./types").Logo
|
|
|
447
447
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
448
448
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
449
449
|
*/
|
|
450
|
-
export declare const StatuspageLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
450
|
+
export declare const StatuspageLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
451
451
|
/**
|
|
452
452
|
* __Trello icon__
|
|
453
453
|
*
|
|
@@ -457,7 +457,7 @@ export declare const StatuspageLogo: ({ size, ...props }: import("./types").Logo
|
|
|
457
457
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
458
458
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
459
459
|
*/
|
|
460
|
-
export declare const TrelloIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
460
|
+
export declare const TrelloIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
461
461
|
/**
|
|
462
462
|
* __Trello logo__
|
|
463
463
|
*
|
|
@@ -467,7 +467,7 @@ export declare const TrelloIcon: ({ size, ...props }: import("./types").LogoProp
|
|
|
467
467
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
468
468
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
469
469
|
*/
|
|
470
|
-
export declare const TrelloLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
470
|
+
export declare const TrelloLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
471
471
|
/**
|
|
472
472
|
* __Rovo icon__
|
|
473
473
|
*
|
|
@@ -477,7 +477,7 @@ export declare const TrelloLogo: ({ size, ...props }: import("./types").LogoProp
|
|
|
477
477
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
478
478
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
479
479
|
*/
|
|
480
|
-
export declare const RovoIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
480
|
+
export declare const RovoIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
481
481
|
/**
|
|
482
482
|
* __Rovo logo__
|
|
483
483
|
*
|
|
@@ -487,7 +487,7 @@ export declare const RovoIcon: ({ size, ...props }: import("./types").LogoProps)
|
|
|
487
487
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
488
488
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
489
489
|
*/
|
|
490
|
-
export declare const RovoLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
490
|
+
export declare const RovoLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
491
491
|
/**
|
|
492
492
|
* __Guard icon__
|
|
493
493
|
*
|
|
@@ -497,7 +497,7 @@ export declare const RovoLogo: ({ size, ...props }: import("./types").LogoProps)
|
|
|
497
497
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
498
498
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
499
499
|
*/
|
|
500
|
-
export declare const GuardIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
500
|
+
export declare const GuardIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
501
501
|
/**
|
|
502
502
|
* __Guard logo__
|
|
503
503
|
*
|
|
@@ -507,7 +507,7 @@ export declare const GuardIcon: ({ size, ...props }: import("./types").LogoProps
|
|
|
507
507
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
508
508
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
509
509
|
*/
|
|
510
|
-
export declare const GuardLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
510
|
+
export declare const GuardLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
511
511
|
/**
|
|
512
512
|
* __Focus icon__
|
|
513
513
|
*
|
|
@@ -517,7 +517,7 @@ export declare const GuardLogo: ({ size, ...props }: import("./types").LogoProps
|
|
|
517
517
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
518
518
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
519
519
|
*/
|
|
520
|
-
export declare const FocusIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
520
|
+
export declare const FocusIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
521
521
|
/**
|
|
522
522
|
* __Focus logo__
|
|
523
523
|
*
|
|
@@ -527,5 +527,5 @@ export declare const FocusIcon: ({ size, ...props }: import("./types").LogoProps
|
|
|
527
527
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
528
528
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
529
529
|
*/
|
|
530
|
-
export declare const FocusLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
530
|
+
export declare const FocusLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
531
531
|
export type { LogoProps } from './types';
|
|
@@ -9,7 +9,7 @@ import { type LogoProps } from './types';
|
|
|
9
9
|
* @param NewComponent - The new logo component.
|
|
10
10
|
* @returns A feature flagged component that renders the legacy logo or the new logo.
|
|
11
11
|
*/
|
|
12
|
-
export declare const createFeatureFlaggedComponent: (LegacyComponent: React.ComponentType<LogoProps>, NewComponent: React.ComponentType<TempLogoProps> | React.ComponentType<TempIconProps>) => ({ size, ...props }: LogoProps) => React.JSX.Element;
|
|
12
|
+
export declare const createFeatureFlaggedComponent: (LegacyComponent: React.ComponentType<LogoProps>, NewComponent: React.ComponentType<TempLogoProps> | React.ComponentType<TempIconProps>) => ({ size, shouldUseNewLogoDesign, ...props }: LogoProps) => React.JSX.Element;
|
|
13
13
|
/**
|
|
14
14
|
* Creates a wrapper around the new logo or icon component to ensure it receives the correct default (medium) size prop.
|
|
15
15
|
*
|
package/dist/types/types.d.ts
CHANGED
|
@@ -26,6 +26,10 @@ type BaseLogoProps = {
|
|
|
26
26
|
* - `{testId}--wrapper` to access the svg element's wrapper
|
|
27
27
|
*/
|
|
28
28
|
testId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* For logos that support it, enables the new logo design ahead of an upcoming feature flag roll-out.
|
|
31
|
+
*/
|
|
32
|
+
shouldUseNewLogoDesign?: boolean;
|
|
29
33
|
};
|
|
30
34
|
export type LogoProps = BaseLogoProps;
|
|
31
35
|
/**
|
|
@@ -237,7 +237,7 @@ export declare const TeamsLogo: ({ size, ...props }: import("./types").LogoProps
|
|
|
237
237
|
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
238
238
|
* - [Usage](https://atlassian.design/components/{packageName}/usage)
|
|
239
239
|
*/
|
|
240
|
-
export declare const AtlassianAnalyticsIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
240
|
+
export declare const AtlassianAnalyticsIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
241
241
|
/**
|
|
242
242
|
* __Analytics logo__
|
|
243
243
|
*
|
|
@@ -247,7 +247,7 @@ export declare const AtlassianAnalyticsIcon: ({ size, ...props }: import("./type
|
|
|
247
247
|
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
248
248
|
* - [Usage](https://atlassian.design/components/{packageName}/usage)
|
|
249
249
|
*/
|
|
250
|
-
export declare const AtlassianAnalyticsLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
250
|
+
export declare const AtlassianAnalyticsLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
251
251
|
/**
|
|
252
252
|
* __Bitbucket icon__
|
|
253
253
|
*
|
|
@@ -257,7 +257,7 @@ export declare const AtlassianAnalyticsLogo: ({ size, ...props }: import("./type
|
|
|
257
257
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
258
258
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
259
259
|
*/
|
|
260
|
-
export declare const BitbucketIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
260
|
+
export declare const BitbucketIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
261
261
|
/**
|
|
262
262
|
* __Bitbucket logo__
|
|
263
263
|
*
|
|
@@ -267,7 +267,7 @@ export declare const BitbucketIcon: ({ size, ...props }: import("./types").LogoP
|
|
|
267
267
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
268
268
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
269
269
|
*/
|
|
270
|
-
export declare const BitbucketLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
270
|
+
export declare const BitbucketLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
271
271
|
/**
|
|
272
272
|
* __Compass icon__
|
|
273
273
|
*
|
|
@@ -277,7 +277,7 @@ export declare const BitbucketLogo: ({ size, ...props }: import("./types").LogoP
|
|
|
277
277
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
278
278
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
279
279
|
*/
|
|
280
|
-
export declare const CompassIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
280
|
+
export declare const CompassIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
281
281
|
/**
|
|
282
282
|
* __Compass logo__
|
|
283
283
|
*
|
|
@@ -287,7 +287,7 @@ export declare const CompassIcon: ({ size, ...props }: import("./types").LogoPro
|
|
|
287
287
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
288
288
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
289
289
|
*/
|
|
290
|
-
export declare const CompassLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
290
|
+
export declare const CompassLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
291
291
|
/**
|
|
292
292
|
* __Confluence icon__
|
|
293
293
|
*
|
|
@@ -297,7 +297,7 @@ export declare const CompassLogo: ({ size, ...props }: import("./types").LogoPro
|
|
|
297
297
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
298
298
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
299
299
|
*/
|
|
300
|
-
export declare const ConfluenceIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
300
|
+
export declare const ConfluenceIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
301
301
|
/**
|
|
302
302
|
* __Confluence logo__
|
|
303
303
|
*
|
|
@@ -307,7 +307,7 @@ export declare const ConfluenceIcon: ({ size, ...props }: import("./types").Logo
|
|
|
307
307
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
308
308
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
309
309
|
*/
|
|
310
|
-
export declare const ConfluenceLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
310
|
+
export declare const ConfluenceLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
311
311
|
/**
|
|
312
312
|
* __Align icon__
|
|
313
313
|
*
|
|
@@ -317,7 +317,7 @@ export declare const ConfluenceLogo: ({ size, ...props }: import("./types").Logo
|
|
|
317
317
|
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
318
318
|
* - [Usage](https://atlassian.design/components/{packageName}/usage)
|
|
319
319
|
*/
|
|
320
|
-
export declare const JiraAlignIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
320
|
+
export declare const JiraAlignIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
321
321
|
/**
|
|
322
322
|
* __Align logo__
|
|
323
323
|
*
|
|
@@ -327,7 +327,7 @@ export declare const JiraAlignIcon: ({ size, ...props }: import("./types").LogoP
|
|
|
327
327
|
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
328
328
|
* - [Usage](https://atlassian.design/components/{packageName}/usage)
|
|
329
329
|
*/
|
|
330
|
-
export declare const JiraAlignLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
330
|
+
export declare const JiraAlignLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
331
331
|
/**
|
|
332
332
|
* __Jira icon__
|
|
333
333
|
*
|
|
@@ -337,7 +337,7 @@ export declare const JiraAlignLogo: ({ size, ...props }: import("./types").LogoP
|
|
|
337
337
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
338
338
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
339
339
|
*/
|
|
340
|
-
export declare const JiraIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
340
|
+
export declare const JiraIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
341
341
|
/**
|
|
342
342
|
* __Jira logo__
|
|
343
343
|
*
|
|
@@ -347,7 +347,7 @@ export declare const JiraIcon: ({ size, ...props }: import("./types").LogoProps)
|
|
|
347
347
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
348
348
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
349
349
|
*/
|
|
350
|
-
export declare const JiraLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
350
|
+
export declare const JiraLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
351
351
|
/**
|
|
352
352
|
* __Jira product discovery icon__
|
|
353
353
|
*
|
|
@@ -357,7 +357,7 @@ export declare const JiraLogo: ({ size, ...props }: import("./types").LogoProps)
|
|
|
357
357
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
358
358
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
359
359
|
*/
|
|
360
|
-
export declare const JiraProductDiscoveryIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
360
|
+
export declare const JiraProductDiscoveryIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
361
361
|
/**
|
|
362
362
|
* __Jira product discovery logo__
|
|
363
363
|
*
|
|
@@ -367,7 +367,7 @@ export declare const JiraProductDiscoveryIcon: ({ size, ...props }: import("./ty
|
|
|
367
367
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
368
368
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
369
369
|
*/
|
|
370
|
-
export declare const JiraProductDiscoveryLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
370
|
+
export declare const JiraProductDiscoveryLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
371
371
|
/**
|
|
372
372
|
* __Jira service management icon__
|
|
373
373
|
*
|
|
@@ -377,7 +377,7 @@ export declare const JiraProductDiscoveryLogo: ({ size, ...props }: import("./ty
|
|
|
377
377
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
378
378
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
379
379
|
*/
|
|
380
|
-
export declare const JiraServiceManagementIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
380
|
+
export declare const JiraServiceManagementIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
381
381
|
/**
|
|
382
382
|
* __Jira service management logo__
|
|
383
383
|
*
|
|
@@ -387,7 +387,7 @@ export declare const JiraServiceManagementIcon: ({ size, ...props }: import("./t
|
|
|
387
387
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
388
388
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
389
389
|
*/
|
|
390
|
-
export declare const JiraServiceManagementLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
390
|
+
export declare const JiraServiceManagementLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
391
391
|
/**
|
|
392
392
|
* __Loom icon__
|
|
393
393
|
*
|
|
@@ -397,7 +397,7 @@ export declare const JiraServiceManagementLogo: ({ size, ...props }: import("./t
|
|
|
397
397
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
398
398
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
399
399
|
*/
|
|
400
|
-
export declare const LoomIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
400
|
+
export declare const LoomIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
401
401
|
/**
|
|
402
402
|
* __Loom logo__
|
|
403
403
|
*
|
|
@@ -407,7 +407,7 @@ export declare const LoomIcon: ({ size, ...props }: import("./types").LogoProps)
|
|
|
407
407
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
408
408
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
409
409
|
*/
|
|
410
|
-
export declare const LoomLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
410
|
+
export declare const LoomLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
411
411
|
/**
|
|
412
412
|
* __Opsgenie icon__
|
|
413
413
|
*
|
|
@@ -417,7 +417,7 @@ export declare const LoomLogo: ({ size, ...props }: import("./types").LogoProps)
|
|
|
417
417
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
418
418
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
419
419
|
*/
|
|
420
|
-
export declare const OpsgenieIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
420
|
+
export declare const OpsgenieIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
421
421
|
/**
|
|
422
422
|
* __Opsgenie logo__
|
|
423
423
|
*
|
|
@@ -427,7 +427,7 @@ export declare const OpsgenieIcon: ({ size, ...props }: import("./types").LogoPr
|
|
|
427
427
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
428
428
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
429
429
|
*/
|
|
430
|
-
export declare const OpsgenieLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
430
|
+
export declare const OpsgenieLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
431
431
|
/**
|
|
432
432
|
* __Statuspage icon__
|
|
433
433
|
*
|
|
@@ -437,7 +437,7 @@ export declare const OpsgenieLogo: ({ size, ...props }: import("./types").LogoPr
|
|
|
437
437
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
438
438
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
439
439
|
*/
|
|
440
|
-
export declare const StatuspageIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
440
|
+
export declare const StatuspageIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
441
441
|
/**
|
|
442
442
|
* __Statuspage logo__
|
|
443
443
|
*
|
|
@@ -447,7 +447,7 @@ export declare const StatuspageIcon: ({ size, ...props }: import("./types").Logo
|
|
|
447
447
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
448
448
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
449
449
|
*/
|
|
450
|
-
export declare const StatuspageLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
450
|
+
export declare const StatuspageLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
451
451
|
/**
|
|
452
452
|
* __Trello icon__
|
|
453
453
|
*
|
|
@@ -457,7 +457,7 @@ export declare const StatuspageLogo: ({ size, ...props }: import("./types").Logo
|
|
|
457
457
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
458
458
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
459
459
|
*/
|
|
460
|
-
export declare const TrelloIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
460
|
+
export declare const TrelloIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
461
461
|
/**
|
|
462
462
|
* __Trello logo__
|
|
463
463
|
*
|
|
@@ -467,7 +467,7 @@ export declare const TrelloIcon: ({ size, ...props }: import("./types").LogoProp
|
|
|
467
467
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
468
468
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
469
469
|
*/
|
|
470
|
-
export declare const TrelloLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
470
|
+
export declare const TrelloLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
471
471
|
/**
|
|
472
472
|
* __Rovo icon__
|
|
473
473
|
*
|
|
@@ -477,7 +477,7 @@ export declare const TrelloLogo: ({ size, ...props }: import("./types").LogoProp
|
|
|
477
477
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
478
478
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
479
479
|
*/
|
|
480
|
-
export declare const RovoIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
480
|
+
export declare const RovoIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
481
481
|
/**
|
|
482
482
|
* __Rovo logo__
|
|
483
483
|
*
|
|
@@ -487,7 +487,7 @@ export declare const RovoIcon: ({ size, ...props }: import("./types").LogoProps)
|
|
|
487
487
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
488
488
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
489
489
|
*/
|
|
490
|
-
export declare const RovoLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
490
|
+
export declare const RovoLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
491
491
|
/**
|
|
492
492
|
* __Guard icon__
|
|
493
493
|
*
|
|
@@ -497,7 +497,7 @@ export declare const RovoLogo: ({ size, ...props }: import("./types").LogoProps)
|
|
|
497
497
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
498
498
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
499
499
|
*/
|
|
500
|
-
export declare const GuardIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
500
|
+
export declare const GuardIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
501
501
|
/**
|
|
502
502
|
* __Guard logo__
|
|
503
503
|
*
|
|
@@ -507,7 +507,7 @@ export declare const GuardIcon: ({ size, ...props }: import("./types").LogoProps
|
|
|
507
507
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
508
508
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
509
509
|
*/
|
|
510
|
-
export declare const GuardLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
510
|
+
export declare const GuardLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
511
511
|
/**
|
|
512
512
|
* __Focus icon__
|
|
513
513
|
*
|
|
@@ -517,7 +517,7 @@ export declare const GuardLogo: ({ size, ...props }: import("./types").LogoProps
|
|
|
517
517
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
518
518
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
519
519
|
*/
|
|
520
|
-
export declare const FocusIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
520
|
+
export declare const FocusIcon: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
521
521
|
/**
|
|
522
522
|
* __Focus logo__
|
|
523
523
|
*
|
|
@@ -527,5 +527,5 @@ export declare const FocusIcon: ({ size, ...props }: import("./types").LogoProps
|
|
|
527
527
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
528
528
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
529
529
|
*/
|
|
530
|
-
export declare const FocusLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
530
|
+
export declare const FocusLogo: ({ size, shouldUseNewLogoDesign, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
|
|
531
531
|
export type { LogoProps } from './types';
|
|
@@ -9,7 +9,7 @@ import { type LogoProps } from './types';
|
|
|
9
9
|
* @param NewComponent - The new logo component.
|
|
10
10
|
* @returns A feature flagged component that renders the legacy logo or the new logo.
|
|
11
11
|
*/
|
|
12
|
-
export declare const createFeatureFlaggedComponent: (LegacyComponent: React.ComponentType<LogoProps>, NewComponent: React.ComponentType<TempLogoProps> | React.ComponentType<TempIconProps>) => ({ size, ...props }: LogoProps) => React.JSX.Element;
|
|
12
|
+
export declare const createFeatureFlaggedComponent: (LegacyComponent: React.ComponentType<LogoProps>, NewComponent: React.ComponentType<TempLogoProps> | React.ComponentType<TempIconProps>) => ({ size, shouldUseNewLogoDesign, ...props }: LogoProps) => React.JSX.Element;
|
|
13
13
|
/**
|
|
14
14
|
* Creates a wrapper around the new logo or icon component to ensure it receives the correct default (medium) size prop.
|
|
15
15
|
*
|
|
@@ -26,6 +26,10 @@ type BaseLogoProps = {
|
|
|
26
26
|
* - `{testId}--wrapper` to access the svg element's wrapper
|
|
27
27
|
*/
|
|
28
28
|
testId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* For logos that support it, enables the new logo design ahead of an upcoming feature flag roll-out.
|
|
31
|
+
*/
|
|
32
|
+
shouldUseNewLogoDesign?: boolean;
|
|
29
33
|
};
|
|
30
34
|
export type LogoProps = BaseLogoProps;
|
|
31
35
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/logo",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.1.0",
|
|
4
4
|
"description": "A logo is a visual representation of a brand or product. It can be a word or an image, or a combination of both.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
33
33
|
"@atlaskit/temp-nav-app-icons": "^0.8.0",
|
|
34
34
|
"@atlaskit/theme": "^18.0.0",
|
|
35
|
-
"@atlaskit/tokens": "^5.
|
|
35
|
+
"@atlaskit/tokens": "^5.2.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0",
|
|
37
37
|
"@compiled/react": "^0.18.3"
|
|
38
38
|
},
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"@af/integration-testing": "workspace:^",
|
|
46
46
|
"@af/visual-regression": "workspace:^",
|
|
47
47
|
"@atlaskit/code": "^17.2.0",
|
|
48
|
-
"@atlaskit/docs": "^
|
|
48
|
+
"@atlaskit/docs": "^11.0.0",
|
|
49
49
|
"@atlaskit/form": "^12.0.0",
|
|
50
50
|
"@atlaskit/link": "^3.2.0",
|
|
51
|
-
"@atlaskit/lozenge": "^
|
|
51
|
+
"@atlaskit/lozenge": "^13.0.0",
|
|
52
52
|
"@atlaskit/primitives": "^14.8.0",
|
|
53
53
|
"@atlaskit/section-message": "^8.2.0",
|
|
54
|
-
"@atlaskit/select": "^20.
|
|
54
|
+
"@atlaskit/select": "^20.7.0",
|
|
55
55
|
"@atlaskit/ssr": "workspace:^",
|
|
56
56
|
"@atlassian/codegen": "^0.1.0",
|
|
57
57
|
"@atlassian/ssr-tests": "^0.2.0",
|