@atlaskit/logo 19.8.0 → 19.8.2

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/logo
2
2
 
3
+ ## 19.8.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5f025f8437a46`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5f025f8437a46) -
8
+ Internal changes to support updates to `chat`, `search` and `studio` logos. These changes are
9
+ being tested behind a feature flag, and will be available in a future release.
10
+ - Updated dependencies
11
+
12
+ ## 19.8.1
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 19.8.0
4
19
 
5
20
  ### Minor Changes
@@ -190,6 +190,12 @@ Object.defineProperty(exports, "rawIcons", {
190
190
  return _rawIcons.default;
191
191
  }
192
192
  });
193
+ Object.defineProperty(exports, "rovoDevAgentIcon", {
194
+ enumerable: true,
195
+ get: function get() {
196
+ return _rawIcons.rovoDevAgentIcon;
197
+ }
198
+ });
193
199
  Object.defineProperty(exports, "rovoIcon", {
194
200
  enumerable: true,
195
201
  get: function get() {
package/dist/cjs/index.js CHANGED
@@ -87,6 +87,7 @@ var _bamboo = require("@atlaskit/temp-nav-app-icons/bamboo");
87
87
  var _bitbucket = require("@atlaskit/temp-nav-app-icons/bitbucket");
88
88
  var _bitbucketDataCenter = require("@atlaskit/temp-nav-app-icons/bitbucket-data-center");
89
89
  var _chat = require("@atlaskit/temp-nav-app-icons/chat");
90
+ var _chatNew = require("@atlaskit/temp-nav-app-icons/chat-new");
90
91
  var _compass = require("@atlaskit/temp-nav-app-icons/compass");
91
92
  var _confluence = require("@atlaskit/temp-nav-app-icons/confluence");
92
93
  var _confluenceDataCenter = require("@atlaskit/temp-nav-app-icons/confluence-data-center");
@@ -111,8 +112,10 @@ var _rovo = require("@atlaskit/temp-nav-app-icons/rovo");
111
112
  var _rovoDev = require("@atlaskit/temp-nav-app-icons/rovo-dev");
112
113
  var _rovoDevAgent = require("@atlaskit/temp-nav-app-icons/rovo-dev-agent");
113
114
  var _search = require("@atlaskit/temp-nav-app-icons/search");
115
+ var _searchNew = require("@atlaskit/temp-nav-app-icons/search-new");
114
116
  var _statuspage = require("@atlaskit/temp-nav-app-icons/statuspage");
115
117
  var _studio = require("@atlaskit/temp-nav-app-icons/studio");
118
+ var _studioNew = require("@atlaskit/temp-nav-app-icons/studio-new");
116
119
  var _talent = require("@atlaskit/temp-nav-app-icons/talent");
117
120
  var _teams = require("@atlaskit/temp-nav-app-icons/teams");
118
121
  var _trello = require("@atlaskit/temp-nav-app-icons/trello");
@@ -212,7 +215,7 @@ var AssetsLogo = exports.AssetsLogo = (0, _logoConfig.tempSizeWrapper)(_assets.A
212
215
  * - [Code](https://atlassian.design/components/logo/code)
213
216
  * - [Usage](https://atlassian.design/components/logo/usage)
214
217
  */
215
- var ChatIcon = exports.ChatIcon = (0, _logoConfig.tempSizeWrapper)(_chat.ChatIcon);
218
+ var ChatIcon = exports.ChatIcon = (0, _logoConfig.teamEUFlaggedIcon)(_chat.ChatIcon, _chatNew.ChatNewIcon);
216
219
  /**
217
220
  * __Chat logo__
218
221
  *
@@ -222,7 +225,7 @@ var ChatIcon = exports.ChatIcon = (0, _logoConfig.tempSizeWrapper)(_chat.ChatIco
222
225
  * - [Code](https://atlassian.design/components/logo/code)
223
226
  * - [Usage](https://atlassian.design/components/logo/usage)
224
227
  */
225
- var ChatLogo = exports.ChatLogo = (0, _logoConfig.tempSizeWrapper)(_chat.ChatLogoCS);
228
+ var ChatLogo = exports.ChatLogo = (0, _logoConfig.teamEUFlaggedIcon)(_chat.ChatLogoCS, _chatNew.ChatNewLogoCS);
226
229
  /**
227
230
  * __Customer Service Management icon__
228
231
  *
@@ -372,7 +375,7 @@ var RovoDevAgentLogo = exports.RovoDevAgentLogo = (0, _logoConfig.tempSizeWrappe
372
375
  * - [Code](https://atlassian.design/components/logo/code)
373
376
  * - [Usage](https://atlassian.design/components/logo/usage)
374
377
  */
375
- var SearchIcon = exports.SearchIcon = (0, _logoConfig.tempSizeWrapper)(_search.SearchIcon);
378
+ var SearchIcon = exports.SearchIcon = (0, _logoConfig.teamEUFlaggedIcon)(_search.SearchIcon, _searchNew.SearchNewIcon);
376
379
  /**
377
380
  * __Search logo__
378
381
  *
@@ -382,7 +385,7 @@ var SearchIcon = exports.SearchIcon = (0, _logoConfig.tempSizeWrapper)(_search.S
382
385
  * - [Code](https://atlassian.design/components/logo/code)
383
386
  * - [Usage](https://atlassian.design/components/logo/usage)
384
387
  */
385
- var SearchLogo = exports.SearchLogo = (0, _logoConfig.tempSizeWrapper)(_search.SearchLogoCS);
388
+ var SearchLogo = exports.SearchLogo = (0, _logoConfig.teamEUFlaggedIcon)(_search.SearchLogoCS, _searchNew.SearchNewLogoCS);
386
389
  /**
387
390
  * __Studio icon__
388
391
  *
@@ -392,7 +395,7 @@ var SearchLogo = exports.SearchLogo = (0, _logoConfig.tempSizeWrapper)(_search.S
392
395
  * - [Code](https://atlassian.design/components/logo/code)
393
396
  * - [Usage](https://atlassian.design/components/logo/usage)
394
397
  */
395
- var StudioIcon = exports.StudioIcon = (0, _logoConfig.tempSizeWrapper)(_studio.StudioIcon);
398
+ var StudioIcon = exports.StudioIcon = (0, _logoConfig.teamEUFlaggedIcon)(_studio.StudioIcon, _studioNew.StudioNewIcon);
396
399
  /**
397
400
  * __Studio logo__
398
401
  *
@@ -402,7 +405,7 @@ var StudioIcon = exports.StudioIcon = (0, _logoConfig.tempSizeWrapper)(_studio.S
402
405
  * - [Code](https://atlassian.design/components/logo/code)
403
406
  * - [Usage](https://atlassian.design/components/logo/usage)
404
407
  */
405
- var StudioLogo = exports.StudioLogo = (0, _logoConfig.tempSizeWrapper)(_studio.StudioLogoCS);
408
+ var StudioLogo = exports.StudioLogo = (0, _logoConfig.teamEUFlaggedIcon)(_studio.StudioLogoCS, _studioNew.StudioNewLogoCS);
406
409
  /**
407
410
  * __Talent icon__
408
411
  *
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.tempSizeWrapper = exports.logoDocsSchema = exports.createFeatureFlaggedServiceCollectionComponent = exports.createFeatureFlaggedComponent = exports.SHARED_LOGOS = exports.PROGRAM_LOGO_DOCS_ORDER = exports.NEW_ONLY_LOGOS = exports.LEGACY_ONLY_LOGOS = exports.APP_LOGO_DOCS_ORDER = exports.AGENT_LOGO_DOCS_ORDER = void 0;
7
+ exports.tempSizeWrapper = exports.teamEUFlaggedIcon = exports.logoDocsSchema = exports.createFeatureFlaggedServiceCollectionComponent = exports.createFeatureFlaggedComponent = exports.SHARED_LOGOS = exports.PROGRAM_LOGO_DOCS_ORDER = exports.NEW_ONLY_LOGOS = exports.LEGACY_ONLY_LOGOS = exports.APP_LOGO_DOCS_ORDER = exports.AGENT_LOGO_DOCS_ORDER = void 0;
8
8
  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"));
@@ -80,6 +80,12 @@ var tempSizeWrapper = exports.tempSizeWrapper = function tempSizeWrapper(NewComp
80
80
  }, props));
81
81
  };
82
82
  };
83
+ var teamEUFlaggedIcon = exports.teamEUFlaggedIcon = function teamEUFlaggedIcon(LegacyComponent, NewComponent) {
84
+ return function (props) {
85
+ var Logo = (0, _platformFeatureFlags.fg)('platform-logo-rebrand-team-eu') ? tempSizeWrapper(NewComponent) : tempSizeWrapper(LegacyComponent);
86
+ return /*#__PURE__*/_react.default.createElement(Logo, props);
87
+ };
88
+ };
83
89
  var logoDocsSchema = exports.logoDocsSchema = [
84
90
  // Program logos
85
91
  {
@@ -1 +1 @@
1
- export { default as rawIcons, adminIcon, alignIcon, analyticsIcon, assetsIcon, bambooIcon, bitbucketDataCenterIcon, bitbucketIcon, chatIcon, companyHubIcon, compassIcon, confluenceDataCenterIcon, confluenceIcon, crowdIcon, customLinkIcon, customerServiceManagementIcon, focusIcon, goalsIcon, guardDetectIcon, guardIcon, homeIcon, hubIcon, jiraDataCenterIcon, jiraProductDiscoveryIcon, jiraServiceManagementIcon, jiraIcon, loomInternalIcon, loomIcon, moreAtlassianAppsIcon, opsgenieIcon, projectsIcon, rovoIcon, searchIcon, statuspageIcon, studioIcon, talentIcon, teamsIcon, trelloIcon } from '@atlaskit/temp-nav-app-icons/raw-icons';
1
+ export { default as rawIcons, adminIcon, alignIcon, analyticsIcon, assetsIcon, bambooIcon, bitbucketDataCenterIcon, bitbucketIcon, chatIcon, companyHubIcon, compassIcon, confluenceDataCenterIcon, confluenceIcon, crowdIcon, customLinkIcon, customerServiceManagementIcon, focusIcon, goalsIcon, guardDetectIcon, guardIcon, homeIcon, hubIcon, jiraDataCenterIcon, jiraProductDiscoveryIcon, jiraServiceManagementIcon, jiraIcon, loomInternalIcon, loomIcon, moreAtlassianAppsIcon, opsgenieIcon, projectsIcon, rovoDevAgentIcon, rovoIcon, searchIcon, statuspageIcon, studioIcon, talentIcon, teamsIcon, trelloIcon } from '@atlaskit/temp-nav-app-icons/raw-icons';
@@ -5,7 +5,8 @@ import { AssetsIcon as NewAssetsIcon, AssetsLogoCS as NewAssetsLogo } from '@atl
5
5
  import { BambooIcon as NewBambooIcon, BambooLogoCS as NewBambooLogo } from '@atlaskit/temp-nav-app-icons/bamboo';
6
6
  import { BitbucketIcon as NewBitbucketIcon, BitbucketLogoCS as NewBitbucketLogo } from '@atlaskit/temp-nav-app-icons/bitbucket';
7
7
  import { BitbucketDataCenterIcon as NewBitbucketDataCenterIcon, BitbucketDataCenterLogoCS as NewBitbucketDataCenterLogo } from '@atlaskit/temp-nav-app-icons/bitbucket-data-center';
8
- import { ChatIcon as NewChatIcon, ChatLogoCS as NewChatLogo } from '@atlaskit/temp-nav-app-icons/chat';
8
+ import { ChatIcon as OldChatIcon, ChatLogoCS as OldChatLogo } from '@atlaskit/temp-nav-app-icons/chat';
9
+ import { ChatNewIcon, ChatNewLogoCS } from '@atlaskit/temp-nav-app-icons/chat-new';
9
10
  import { CompassIcon as NewCompassIcon, CompassLogoCS as NewCompassLogo } from '@atlaskit/temp-nav-app-icons/compass';
10
11
  import { ConfluenceIcon as NewConfluenceIcon, ConfluenceLogoCS as NewConfluenceLogo } from '@atlaskit/temp-nav-app-icons/confluence';
11
12
  import { ConfluenceDataCenterIcon as NewConfluenceDataCenterIcon, ConfluenceDataCenterLogoCS as NewConfluenceDataCenterLogo } from '@atlaskit/temp-nav-app-icons/confluence-data-center';
@@ -29,9 +30,11 @@ import { ProjectsIcon as NewProjectsIcon, ProjectsLogoCS as NewProjectsLogo } fr
29
30
  import { RovoIcon as NewRovoIcon, RovoLogoCS as NewRovoLogo } from '@atlaskit/temp-nav-app-icons/rovo';
30
31
  import { RovoDevIcon as NewRovoDevIcon, RovoDevLogoCS as NewRovoDevLogo } from '@atlaskit/temp-nav-app-icons/rovo-dev';
31
32
  import { RovoDevAgentIcon as NewRovoDevAgentIcon, RovoDevAgentLogoCS as NewRovoDevAgentLogo } from '@atlaskit/temp-nav-app-icons/rovo-dev-agent';
32
- import { SearchIcon as NewSearchIcon, SearchLogoCS as NewSearchLogo } from '@atlaskit/temp-nav-app-icons/search';
33
+ import { SearchIcon as OldSearchIcon, SearchLogoCS as OldSearchLogo } from '@atlaskit/temp-nav-app-icons/search';
34
+ import { SearchNewIcon, SearchNewLogoCS } from '@atlaskit/temp-nav-app-icons/search-new';
33
35
  import { StatuspageIcon as NewStatuspageIcon, StatuspageLogoCS as NewStatuspageLogo } from '@atlaskit/temp-nav-app-icons/statuspage';
34
- import { StudioIcon as NewStudioIcon, StudioLogoCS as NewStudioLogo } from '@atlaskit/temp-nav-app-icons/studio';
36
+ import { StudioIcon as OldStudioIcon, StudioLogoCS as OldStudioLogo } from '@atlaskit/temp-nav-app-icons/studio';
37
+ import { StudioNewIcon, StudioNewLogoCS } from '@atlaskit/temp-nav-app-icons/studio-new';
35
38
  import { TalentIcon as NewTalentIcon, TalentLogoCS as NewTalentLogo } from '@atlaskit/temp-nav-app-icons/talent';
36
39
  import { TeamsIcon as NewTeamsIcon, TeamsLogoCS as NewTeamsLogo } from '@atlaskit/temp-nav-app-icons/teams';
37
40
  import { TrelloIcon as NewTrelloIcon, TrelloLogoCS as NewTrelloLogo } from '@atlaskit/temp-nav-app-icons/trello';
@@ -59,7 +62,7 @@ export { AtlassianAccessIcon, AtlassianAccessLogo } from './legacy-logos/atlassi
59
62
  export { JiraWorkManagementLogo, JiraWorkManagementIcon } from './legacy-logos/jira-work-management';
60
63
  export { AtlassianIcon, AtlassianLogo } from './legacy-logos/atlassian';
61
64
  export { JiraSoftwareIcon, JiraSoftwareLogo } from './legacy-logos/jira-software';
62
- import { createFeatureFlaggedComponent, createFeatureFlaggedServiceCollectionComponent, tempSizeWrapper } from './logo-config';
65
+ import { createFeatureFlaggedComponent, createFeatureFlaggedServiceCollectionComponent, teamEUFlaggedIcon, tempSizeWrapper } from './logo-config';
63
66
 
64
67
  /**
65
68
  * __Admin icon__
@@ -132,7 +135,7 @@ export const AssetsLogo = tempSizeWrapper(NewAssetsLogo);
132
135
  * - [Code](https://atlassian.design/components/logo/code)
133
136
  * - [Usage](https://atlassian.design/components/logo/usage)
134
137
  */
135
- export const ChatIcon = tempSizeWrapper(NewChatIcon);
138
+ export const ChatIcon = teamEUFlaggedIcon(OldChatIcon, ChatNewIcon);
136
139
  /**
137
140
  * __Chat logo__
138
141
  *
@@ -142,7 +145,7 @@ export const ChatIcon = tempSizeWrapper(NewChatIcon);
142
145
  * - [Code](https://atlassian.design/components/logo/code)
143
146
  * - [Usage](https://atlassian.design/components/logo/usage)
144
147
  */
145
- export const ChatLogo = tempSizeWrapper(NewChatLogo);
148
+ export const ChatLogo = teamEUFlaggedIcon(OldChatLogo, ChatNewLogoCS);
146
149
  /**
147
150
  * __Customer Service Management icon__
148
151
  *
@@ -292,7 +295,7 @@ export const RovoDevAgentLogo = tempSizeWrapper(NewRovoDevAgentLogo);
292
295
  * - [Code](https://atlassian.design/components/logo/code)
293
296
  * - [Usage](https://atlassian.design/components/logo/usage)
294
297
  */
295
- export const SearchIcon = tempSizeWrapper(NewSearchIcon);
298
+ export const SearchIcon = teamEUFlaggedIcon(OldSearchIcon, SearchNewIcon);
296
299
  /**
297
300
  * __Search logo__
298
301
  *
@@ -302,7 +305,7 @@ export const SearchIcon = tempSizeWrapper(NewSearchIcon);
302
305
  * - [Code](https://atlassian.design/components/logo/code)
303
306
  * - [Usage](https://atlassian.design/components/logo/usage)
304
307
  */
305
- export const SearchLogo = tempSizeWrapper(NewSearchLogo);
308
+ export const SearchLogo = teamEUFlaggedIcon(OldSearchLogo, SearchNewLogoCS);
306
309
  /**
307
310
  * __Studio icon__
308
311
  *
@@ -312,7 +315,7 @@ export const SearchLogo = tempSizeWrapper(NewSearchLogo);
312
315
  * - [Code](https://atlassian.design/components/logo/code)
313
316
  * - [Usage](https://atlassian.design/components/logo/usage)
314
317
  */
315
- export const StudioIcon = tempSizeWrapper(NewStudioIcon);
318
+ export const StudioIcon = teamEUFlaggedIcon(OldStudioIcon, StudioNewIcon);
316
319
  /**
317
320
  * __Studio logo__
318
321
  *
@@ -322,7 +325,7 @@ export const StudioIcon = tempSizeWrapper(NewStudioIcon);
322
325
  * - [Code](https://atlassian.design/components/logo/code)
323
326
  * - [Usage](https://atlassian.design/components/logo/usage)
324
327
  */
325
- export const StudioLogo = tempSizeWrapper(NewStudioLogo);
328
+ export const StudioLogo = teamEUFlaggedIcon(OldStudioLogo, StudioNewLogoCS);
326
329
  /**
327
330
  * __Talent icon__
328
331
  *
@@ -72,6 +72,12 @@ export const tempSizeWrapper = NewComponent => {
72
72
  }, props));
73
73
  };
74
74
  };
75
+ export const teamEUFlaggedIcon = (LegacyComponent, NewComponent) => {
76
+ return props => {
77
+ const Logo = fg('platform-logo-rebrand-team-eu') ? tempSizeWrapper(NewComponent) : tempSizeWrapper(LegacyComponent);
78
+ return /*#__PURE__*/React.createElement(Logo, props);
79
+ };
80
+ };
75
81
  export const logoDocsSchema = [
76
82
  // Program logos
77
83
  {
@@ -1 +1 @@
1
- export { default as rawIcons, adminIcon, alignIcon, analyticsIcon, assetsIcon, bambooIcon, bitbucketDataCenterIcon, bitbucketIcon, chatIcon, companyHubIcon, compassIcon, confluenceDataCenterIcon, confluenceIcon, crowdIcon, customLinkIcon, customerServiceManagementIcon, focusIcon, goalsIcon, guardDetectIcon, guardIcon, homeIcon, hubIcon, jiraDataCenterIcon, jiraProductDiscoveryIcon, jiraServiceManagementIcon, jiraIcon, loomInternalIcon, loomIcon, moreAtlassianAppsIcon, opsgenieIcon, projectsIcon, rovoIcon, searchIcon, statuspageIcon, studioIcon, talentIcon, teamsIcon, trelloIcon } from '@atlaskit/temp-nav-app-icons/raw-icons';
1
+ export { default as rawIcons, adminIcon, alignIcon, analyticsIcon, assetsIcon, bambooIcon, bitbucketDataCenterIcon, bitbucketIcon, chatIcon, companyHubIcon, compassIcon, confluenceDataCenterIcon, confluenceIcon, crowdIcon, customLinkIcon, customerServiceManagementIcon, focusIcon, goalsIcon, guardDetectIcon, guardIcon, homeIcon, hubIcon, jiraDataCenterIcon, jiraProductDiscoveryIcon, jiraServiceManagementIcon, jiraIcon, loomInternalIcon, loomIcon, moreAtlassianAppsIcon, opsgenieIcon, projectsIcon, rovoDevAgentIcon, rovoIcon, searchIcon, statuspageIcon, studioIcon, talentIcon, teamsIcon, trelloIcon } from '@atlaskit/temp-nav-app-icons/raw-icons';
package/dist/esm/index.js CHANGED
@@ -5,7 +5,8 @@ import { AssetsIcon as NewAssetsIcon, AssetsLogoCS as NewAssetsLogo } from '@atl
5
5
  import { BambooIcon as NewBambooIcon, BambooLogoCS as NewBambooLogo } from '@atlaskit/temp-nav-app-icons/bamboo';
6
6
  import { BitbucketIcon as NewBitbucketIcon, BitbucketLogoCS as NewBitbucketLogo } from '@atlaskit/temp-nav-app-icons/bitbucket';
7
7
  import { BitbucketDataCenterIcon as NewBitbucketDataCenterIcon, BitbucketDataCenterLogoCS as NewBitbucketDataCenterLogo } from '@atlaskit/temp-nav-app-icons/bitbucket-data-center';
8
- import { ChatIcon as NewChatIcon, ChatLogoCS as NewChatLogo } from '@atlaskit/temp-nav-app-icons/chat';
8
+ import { ChatIcon as OldChatIcon, ChatLogoCS as OldChatLogo } from '@atlaskit/temp-nav-app-icons/chat';
9
+ import { ChatNewIcon, ChatNewLogoCS } from '@atlaskit/temp-nav-app-icons/chat-new';
9
10
  import { CompassIcon as NewCompassIcon, CompassLogoCS as NewCompassLogo } from '@atlaskit/temp-nav-app-icons/compass';
10
11
  import { ConfluenceIcon as NewConfluenceIcon, ConfluenceLogoCS as NewConfluenceLogo } from '@atlaskit/temp-nav-app-icons/confluence';
11
12
  import { ConfluenceDataCenterIcon as NewConfluenceDataCenterIcon, ConfluenceDataCenterLogoCS as NewConfluenceDataCenterLogo } from '@atlaskit/temp-nav-app-icons/confluence-data-center';
@@ -29,9 +30,11 @@ import { ProjectsIcon as NewProjectsIcon, ProjectsLogoCS as NewProjectsLogo } fr
29
30
  import { RovoIcon as NewRovoIcon, RovoLogoCS as NewRovoLogo } from '@atlaskit/temp-nav-app-icons/rovo';
30
31
  import { RovoDevIcon as NewRovoDevIcon, RovoDevLogoCS as NewRovoDevLogo } from '@atlaskit/temp-nav-app-icons/rovo-dev';
31
32
  import { RovoDevAgentIcon as NewRovoDevAgentIcon, RovoDevAgentLogoCS as NewRovoDevAgentLogo } from '@atlaskit/temp-nav-app-icons/rovo-dev-agent';
32
- import { SearchIcon as NewSearchIcon, SearchLogoCS as NewSearchLogo } from '@atlaskit/temp-nav-app-icons/search';
33
+ import { SearchIcon as OldSearchIcon, SearchLogoCS as OldSearchLogo } from '@atlaskit/temp-nav-app-icons/search';
34
+ import { SearchNewIcon, SearchNewLogoCS } from '@atlaskit/temp-nav-app-icons/search-new';
33
35
  import { StatuspageIcon as NewStatuspageIcon, StatuspageLogoCS as NewStatuspageLogo } from '@atlaskit/temp-nav-app-icons/statuspage';
34
- import { StudioIcon as NewStudioIcon, StudioLogoCS as NewStudioLogo } from '@atlaskit/temp-nav-app-icons/studio';
36
+ import { StudioIcon as OldStudioIcon, StudioLogoCS as OldStudioLogo } from '@atlaskit/temp-nav-app-icons/studio';
37
+ import { StudioNewIcon, StudioNewLogoCS } from '@atlaskit/temp-nav-app-icons/studio-new';
35
38
  import { TalentIcon as NewTalentIcon, TalentLogoCS as NewTalentLogo } from '@atlaskit/temp-nav-app-icons/talent';
36
39
  import { TeamsIcon as NewTeamsIcon, TeamsLogoCS as NewTeamsLogo } from '@atlaskit/temp-nav-app-icons/teams';
37
40
  import { TrelloIcon as NewTrelloIcon, TrelloLogoCS as NewTrelloLogo } from '@atlaskit/temp-nav-app-icons/trello';
@@ -59,7 +62,7 @@ export { AtlassianAccessIcon, AtlassianAccessLogo } from './legacy-logos/atlassi
59
62
  export { JiraWorkManagementLogo, JiraWorkManagementIcon } from './legacy-logos/jira-work-management';
60
63
  export { AtlassianIcon, AtlassianLogo } from './legacy-logos/atlassian';
61
64
  export { JiraSoftwareIcon, JiraSoftwareLogo } from './legacy-logos/jira-software';
62
- import { createFeatureFlaggedComponent, createFeatureFlaggedServiceCollectionComponent, tempSizeWrapper } from './logo-config';
65
+ import { createFeatureFlaggedComponent, createFeatureFlaggedServiceCollectionComponent, teamEUFlaggedIcon, tempSizeWrapper } from './logo-config';
63
66
 
64
67
  /**
65
68
  * __Admin icon__
@@ -132,7 +135,7 @@ export var AssetsLogo = tempSizeWrapper(NewAssetsLogo);
132
135
  * - [Code](https://atlassian.design/components/logo/code)
133
136
  * - [Usage](https://atlassian.design/components/logo/usage)
134
137
  */
135
- export var ChatIcon = tempSizeWrapper(NewChatIcon);
138
+ export var ChatIcon = teamEUFlaggedIcon(OldChatIcon, ChatNewIcon);
136
139
  /**
137
140
  * __Chat logo__
138
141
  *
@@ -142,7 +145,7 @@ export var ChatIcon = tempSizeWrapper(NewChatIcon);
142
145
  * - [Code](https://atlassian.design/components/logo/code)
143
146
  * - [Usage](https://atlassian.design/components/logo/usage)
144
147
  */
145
- export var ChatLogo = tempSizeWrapper(NewChatLogo);
148
+ export var ChatLogo = teamEUFlaggedIcon(OldChatLogo, ChatNewLogoCS);
146
149
  /**
147
150
  * __Customer Service Management icon__
148
151
  *
@@ -292,7 +295,7 @@ export var RovoDevAgentLogo = tempSizeWrapper(NewRovoDevAgentLogo);
292
295
  * - [Code](https://atlassian.design/components/logo/code)
293
296
  * - [Usage](https://atlassian.design/components/logo/usage)
294
297
  */
295
- export var SearchIcon = tempSizeWrapper(NewSearchIcon);
298
+ export var SearchIcon = teamEUFlaggedIcon(OldSearchIcon, SearchNewIcon);
296
299
  /**
297
300
  * __Search logo__
298
301
  *
@@ -302,7 +305,7 @@ export var SearchIcon = tempSizeWrapper(NewSearchIcon);
302
305
  * - [Code](https://atlassian.design/components/logo/code)
303
306
  * - [Usage](https://atlassian.design/components/logo/usage)
304
307
  */
305
- export var SearchLogo = tempSizeWrapper(NewSearchLogo);
308
+ export var SearchLogo = teamEUFlaggedIcon(OldSearchLogo, SearchNewLogoCS);
306
309
  /**
307
310
  * __Studio icon__
308
311
  *
@@ -312,7 +315,7 @@ export var SearchLogo = tempSizeWrapper(NewSearchLogo);
312
315
  * - [Code](https://atlassian.design/components/logo/code)
313
316
  * - [Usage](https://atlassian.design/components/logo/usage)
314
317
  */
315
- export var StudioIcon = tempSizeWrapper(NewStudioIcon);
318
+ export var StudioIcon = teamEUFlaggedIcon(OldStudioIcon, StudioNewIcon);
316
319
  /**
317
320
  * __Studio logo__
318
321
  *
@@ -322,7 +325,7 @@ export var StudioIcon = tempSizeWrapper(NewStudioIcon);
322
325
  * - [Code](https://atlassian.design/components/logo/code)
323
326
  * - [Usage](https://atlassian.design/components/logo/usage)
324
327
  */
325
- export var StudioLogo = tempSizeWrapper(NewStudioLogo);
328
+ export var StudioLogo = teamEUFlaggedIcon(OldStudioLogo, StudioNewLogoCS);
326
329
  /**
327
330
  * __Talent icon__
328
331
  *
@@ -73,6 +73,12 @@ export var tempSizeWrapper = function tempSizeWrapper(NewComponent) {
73
73
  }, props));
74
74
  };
75
75
  };
76
+ export var teamEUFlaggedIcon = function teamEUFlaggedIcon(LegacyComponent, NewComponent) {
77
+ return function (props) {
78
+ var Logo = fg('platform-logo-rebrand-team-eu') ? tempSizeWrapper(NewComponent) : tempSizeWrapper(LegacyComponent);
79
+ return /*#__PURE__*/React.createElement(Logo, props);
80
+ };
81
+ };
76
82
  export var logoDocsSchema = [
77
83
  // Program logos
78
84
  {
@@ -1 +1 @@
1
- export { default as rawIcons, adminIcon, alignIcon, analyticsIcon, assetsIcon, bambooIcon, bitbucketDataCenterIcon, bitbucketIcon, chatIcon, companyHubIcon, compassIcon, confluenceDataCenterIcon, confluenceIcon, crowdIcon, customLinkIcon, customerServiceManagementIcon, focusIcon, goalsIcon, guardDetectIcon, guardIcon, homeIcon, hubIcon, jiraDataCenterIcon, jiraProductDiscoveryIcon, jiraServiceManagementIcon, jiraIcon, loomInternalIcon, loomIcon, moreAtlassianAppsIcon, opsgenieIcon, projectsIcon, rovoIcon, searchIcon, statuspageIcon, studioIcon, talentIcon, teamsIcon, trelloIcon, } from '@atlaskit/temp-nav-app-icons/raw-icons';
1
+ export { default as rawIcons, adminIcon, alignIcon, analyticsIcon, assetsIcon, bambooIcon, bitbucketDataCenterIcon, bitbucketIcon, chatIcon, companyHubIcon, compassIcon, confluenceDataCenterIcon, confluenceIcon, crowdIcon, customLinkIcon, customerServiceManagementIcon, focusIcon, goalsIcon, guardDetectIcon, guardIcon, homeIcon, hubIcon, jiraDataCenterIcon, jiraProductDiscoveryIcon, jiraServiceManagementIcon, jiraIcon, loomInternalIcon, loomIcon, moreAtlassianAppsIcon, opsgenieIcon, projectsIcon, rovoDevAgentIcon, rovoIcon, searchIcon, statuspageIcon, studioIcon, talentIcon, teamsIcon, trelloIcon, } from '@atlaskit/temp-nav-app-icons/raw-icons';
@@ -73,7 +73,7 @@ export declare const AssetsLogo: ({ size, ...props }: import("./types").LogoProp
73
73
  * - [Code](https://atlassian.design/components/logo/code)
74
74
  * - [Usage](https://atlassian.design/components/logo/usage)
75
75
  */
76
- export declare const ChatIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
76
+ export declare const ChatIcon: (props: import("./types").LogoProps) => import("react").JSX.Element;
77
77
  /**
78
78
  * __Chat logo__
79
79
  *
@@ -83,7 +83,7 @@ export declare const ChatIcon: ({ size, ...props }: import("./types").LogoProps)
83
83
  * - [Code](https://atlassian.design/components/logo/code)
84
84
  * - [Usage](https://atlassian.design/components/logo/usage)
85
85
  */
86
- export declare const ChatLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
86
+ export declare const ChatLogo: (props: import("./types").LogoProps) => import("react").JSX.Element;
87
87
  /**
88
88
  * __Customer Service Management icon__
89
89
  *
@@ -233,7 +233,7 @@ export declare const RovoDevAgentLogo: ({ size, ...props }: import("./types").Lo
233
233
  * - [Code](https://atlassian.design/components/logo/code)
234
234
  * - [Usage](https://atlassian.design/components/logo/usage)
235
235
  */
236
- export declare const SearchIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
236
+ export declare const SearchIcon: (props: import("./types").LogoProps) => import("react").JSX.Element;
237
237
  /**
238
238
  * __Search logo__
239
239
  *
@@ -243,7 +243,7 @@ export declare const SearchIcon: ({ size, ...props }: import("./types").LogoProp
243
243
  * - [Code](https://atlassian.design/components/logo/code)
244
244
  * - [Usage](https://atlassian.design/components/logo/usage)
245
245
  */
246
- export declare const SearchLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
246
+ export declare const SearchLogo: (props: import("./types").LogoProps) => import("react").JSX.Element;
247
247
  /**
248
248
  * __Studio icon__
249
249
  *
@@ -253,7 +253,7 @@ export declare const SearchLogo: ({ size, ...props }: import("./types").LogoProp
253
253
  * - [Code](https://atlassian.design/components/logo/code)
254
254
  * - [Usage](https://atlassian.design/components/logo/usage)
255
255
  */
256
- export declare const StudioIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
256
+ export declare const StudioIcon: (props: import("./types").LogoProps) => import("react").JSX.Element;
257
257
  /**
258
258
  * __Studio logo__
259
259
  *
@@ -263,7 +263,7 @@ export declare const StudioIcon: ({ size, ...props }: import("./types").LogoProp
263
263
  * - [Code](https://atlassian.design/components/logo/code)
264
264
  * - [Usage](https://atlassian.design/components/logo/usage)
265
265
  */
266
- export declare const StudioLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
266
+ export declare const StudioLogo: (props: import("./types").LogoProps) => import("react").JSX.Element;
267
267
  /**
268
268
  * __Talent icon__
269
269
  *
@@ -25,6 +25,7 @@ export declare const createFeatureFlaggedServiceCollectionComponent: (LegacyComp
25
25
  * @param NewComponent - The new logo or icon component.
26
26
  */
27
27
  export declare const tempSizeWrapper: (NewComponent: React.ComponentType<TempLogoProps> | React.ComponentType<TempIconProps>) => ({ size, ...props }: LogoProps) => React.JSX.Element;
28
+ export declare const teamEUFlaggedIcon: (LegacyComponent: React.ComponentType<TempIconProps> | React.ComponentType<TempLogoProps>, NewComponent: React.ComponentType<TempIconProps> | React.ComponentType<TempLogoProps>) => (props: LogoProps) => React.JSX.Element;
28
29
  type LogoDocsSchema = {
29
30
  name: string;
30
31
  type: 'legacy' | 'migration' | 'new';
@@ -1 +1 @@
1
- export { default as rawIcons, adminIcon, alignIcon, analyticsIcon, assetsIcon, bambooIcon, bitbucketDataCenterIcon, bitbucketIcon, chatIcon, companyHubIcon, compassIcon, confluenceDataCenterIcon, confluenceIcon, crowdIcon, customLinkIcon, customerServiceManagementIcon, focusIcon, goalsIcon, guardDetectIcon, guardIcon, homeIcon, hubIcon, jiraDataCenterIcon, jiraProductDiscoveryIcon, jiraServiceManagementIcon, jiraIcon, loomInternalIcon, loomIcon, moreAtlassianAppsIcon, opsgenieIcon, projectsIcon, rovoIcon, searchIcon, statuspageIcon, studioIcon, talentIcon, teamsIcon, trelloIcon, } from '@atlaskit/temp-nav-app-icons/raw-icons';
1
+ export { default as rawIcons, adminIcon, alignIcon, analyticsIcon, assetsIcon, bambooIcon, bitbucketDataCenterIcon, bitbucketIcon, chatIcon, companyHubIcon, compassIcon, confluenceDataCenterIcon, confluenceIcon, crowdIcon, customLinkIcon, customerServiceManagementIcon, focusIcon, goalsIcon, guardDetectIcon, guardIcon, homeIcon, hubIcon, jiraDataCenterIcon, jiraProductDiscoveryIcon, jiraServiceManagementIcon, jiraIcon, loomInternalIcon, loomIcon, moreAtlassianAppsIcon, opsgenieIcon, projectsIcon, rovoDevAgentIcon, rovoIcon, searchIcon, statuspageIcon, studioIcon, talentIcon, teamsIcon, trelloIcon, } from '@atlaskit/temp-nav-app-icons/raw-icons';
@@ -73,7 +73,7 @@ export declare const AssetsLogo: ({ size, ...props }: import("./types").LogoProp
73
73
  * - [Code](https://atlassian.design/components/logo/code)
74
74
  * - [Usage](https://atlassian.design/components/logo/usage)
75
75
  */
76
- export declare const ChatIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
76
+ export declare const ChatIcon: (props: import("./types").LogoProps) => import("react").JSX.Element;
77
77
  /**
78
78
  * __Chat logo__
79
79
  *
@@ -83,7 +83,7 @@ export declare const ChatIcon: ({ size, ...props }: import("./types").LogoProps)
83
83
  * - [Code](https://atlassian.design/components/logo/code)
84
84
  * - [Usage](https://atlassian.design/components/logo/usage)
85
85
  */
86
- export declare const ChatLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
86
+ export declare const ChatLogo: (props: import("./types").LogoProps) => import("react").JSX.Element;
87
87
  /**
88
88
  * __Customer Service Management icon__
89
89
  *
@@ -233,7 +233,7 @@ export declare const RovoDevAgentLogo: ({ size, ...props }: import("./types").Lo
233
233
  * - [Code](https://atlassian.design/components/logo/code)
234
234
  * - [Usage](https://atlassian.design/components/logo/usage)
235
235
  */
236
- export declare const SearchIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
236
+ export declare const SearchIcon: (props: import("./types").LogoProps) => import("react").JSX.Element;
237
237
  /**
238
238
  * __Search logo__
239
239
  *
@@ -243,7 +243,7 @@ export declare const SearchIcon: ({ size, ...props }: import("./types").LogoProp
243
243
  * - [Code](https://atlassian.design/components/logo/code)
244
244
  * - [Usage](https://atlassian.design/components/logo/usage)
245
245
  */
246
- export declare const SearchLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
246
+ export declare const SearchLogo: (props: import("./types").LogoProps) => import("react").JSX.Element;
247
247
  /**
248
248
  * __Studio icon__
249
249
  *
@@ -253,7 +253,7 @@ export declare const SearchLogo: ({ size, ...props }: import("./types").LogoProp
253
253
  * - [Code](https://atlassian.design/components/logo/code)
254
254
  * - [Usage](https://atlassian.design/components/logo/usage)
255
255
  */
256
- export declare const StudioIcon: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
256
+ export declare const StudioIcon: (props: import("./types").LogoProps) => import("react").JSX.Element;
257
257
  /**
258
258
  * __Studio logo__
259
259
  *
@@ -263,7 +263,7 @@ export declare const StudioIcon: ({ size, ...props }: import("./types").LogoProp
263
263
  * - [Code](https://atlassian.design/components/logo/code)
264
264
  * - [Usage](https://atlassian.design/components/logo/usage)
265
265
  */
266
- export declare const StudioLogo: ({ size, ...props }: import("./types").LogoProps) => import("react").JSX.Element;
266
+ export declare const StudioLogo: (props: import("./types").LogoProps) => import("react").JSX.Element;
267
267
  /**
268
268
  * __Talent icon__
269
269
  *
@@ -25,6 +25,7 @@ export declare const createFeatureFlaggedServiceCollectionComponent: (LegacyComp
25
25
  * @param NewComponent - The new logo or icon component.
26
26
  */
27
27
  export declare const tempSizeWrapper: (NewComponent: React.ComponentType<TempLogoProps> | React.ComponentType<TempIconProps>) => ({ size, ...props }: LogoProps) => React.JSX.Element;
28
+ export declare const teamEUFlaggedIcon: (LegacyComponent: React.ComponentType<TempIconProps> | React.ComponentType<TempLogoProps>, NewComponent: React.ComponentType<TempIconProps> | React.ComponentType<TempLogoProps>) => (props: LogoProps) => React.JSX.Element;
28
29
  type LogoDocsSchema = {
29
30
  name: string;
30
31
  type: 'legacy' | 'migration' | 'new';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/logo",
3
- "version": "19.8.0",
3
+ "version": "19.8.2",
4
4
  "description": "A logo is a visual representation of a brand or app. It can be a word, an image, or a combination of both.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "@atlaskit/ds-lib": "^5.1.0",
31
31
  "@atlaskit/platform-feature-flags": "^1.1.0",
32
- "@atlaskit/temp-nav-app-icons": "^0.11.0",
32
+ "@atlaskit/temp-nav-app-icons": "^0.13.0",
33
33
  "@atlaskit/theme": "^21.0.0",
34
34
  "@atlaskit/tokens": "^6.4.0",
35
35
  "@babel/runtime": "^7.0.0",
@@ -97,6 +97,9 @@
97
97
  },
98
98
  "platform-logo-rebrand-servco": {
99
99
  "type": "boolean"
100
+ },
101
+ "platform-logo-rebrand-team-eu": {
102
+ "type": "boolean"
100
103
  }
101
104
  },
102
105
  "homepage": "https://atlassian.design/components/logo/"