@atlaskit/logo 19.3.0 → 19.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,12 +45,248 @@ export var tempSizeWrapper = function tempSizeWrapper(NewComponent) {
45
45
  }, props));
46
46
  };
47
47
  };
48
-
49
- // Logos that only exist in @atlaskit/logo
50
- export var LEGACY_ONLY_LOGOS = ['atlassian', 'atlas', 'atlassian-marketplace', 'atlassian-access', 'jira-software', 'jira-work-management', 'loom-attribution'];
51
-
52
- // Logos that exist in both packages
53
- export var SHARED_LOGOS = ['atlassian-administration', 'atlassian-admin', 'atlassian-analytics', 'bitbucket', 'compass', 'confluence', 'jira', 'jira-align', 'jira-product-discovery', 'jira-service-management', 'loom', 'opsgenie', 'statuspage', 'trello', 'rovo', 'guard', 'focus'];
54
-
55
- // Logos that only exist in @atlaskit/temp-nav-app-icons
56
- export var NEW_ONLY_LOGOS = ['admin', 'analytics', 'align', 'assets', 'chat', 'customer-service-management', 'goals', 'home', 'hub', 'projects', 'search', 'studio', 'talent', 'teams'];
48
+ export var logoDocsSchema = [
49
+ // Program logos
50
+ {
51
+ name: 'atlassian',
52
+ type: 'legacy',
53
+ category: "program",
54
+ deprecated: false
55
+ }, {
56
+ name: 'atlassian-access',
57
+ type: 'legacy',
58
+ category: "program",
59
+ deprecated: false
60
+ }, {
61
+ name: 'atlassian-marketplace',
62
+ type: 'legacy',
63
+ category: "program",
64
+ deprecated: false
65
+ },
66
+ // Home collection
67
+ {
68
+ name: 'home',
69
+ type: 'new',
70
+ category: "app",
71
+ deprecated: false
72
+ }, {
73
+ name: 'hub',
74
+ type: 'new',
75
+ category: "app",
76
+ deprecated: false
77
+ },
78
+ // Teamwork collection
79
+ {
80
+ name: 'confluence',
81
+ type: 'migration',
82
+ category: "app",
83
+ deprecated: false
84
+ }, {
85
+ name: 'jira',
86
+ type: 'migration',
87
+ category: "app",
88
+ deprecated: false
89
+ }, {
90
+ name: 'loom',
91
+ type: 'migration',
92
+ category: "app",
93
+ deprecated: false
94
+ }, {
95
+ name: 'loom-attribution',
96
+ type: 'migration',
97
+ category: "app",
98
+ deprecated: false
99
+ }, {
100
+ name: 'rovo',
101
+ type: 'migration',
102
+ category: "app",
103
+ deprecated: false
104
+ },
105
+ // Strategy collection
106
+ {
107
+ name: 'align',
108
+ type: 'new',
109
+ category: "app",
110
+ deprecated: false
111
+ }, {
112
+ name: 'focus',
113
+ type: 'migration',
114
+ category: "app",
115
+ deprecated: false
116
+ }, {
117
+ name: 'talent',
118
+ type: 'new',
119
+ category: "app",
120
+ deprecated: false
121
+ },
122
+ // Product collection
123
+ {
124
+ name: 'jira-product-discovery',
125
+ type: 'migration',
126
+ category: "app",
127
+ deprecated: false
128
+ },
129
+ // Dev collection
130
+ {
131
+ name: 'bitbucket',
132
+ type: 'migration',
133
+ category: "app",
134
+ deprecated: false
135
+ }, {
136
+ name: 'compass',
137
+ type: 'migration',
138
+ category: "app",
139
+ deprecated: false
140
+ },
141
+ // Customer collection
142
+ {
143
+ name: 'jira-service-management',
144
+ type: 'migration',
145
+ category: "app",
146
+ deprecated: false
147
+ }, {
148
+ name: 'assets',
149
+ type: 'new',
150
+ category: "app",
151
+ deprecated: false
152
+ }, {
153
+ name: 'customer-service-management',
154
+ type: 'new',
155
+ category: "app",
156
+ deprecated: false
157
+ }, {
158
+ name: 'opsgenie',
159
+ type: 'migration',
160
+ category: "app",
161
+ deprecated: false
162
+ }, {
163
+ name: 'statuspage',
164
+ type: 'migration',
165
+ category: "app",
166
+ deprecated: false
167
+ }, {
168
+ name: 'trello',
169
+ type: 'migration',
170
+ category: "app",
171
+ deprecated: false
172
+ },
173
+ // Platform Collection
174
+ {
175
+ name: 'admin',
176
+ type: 'new',
177
+ category: "app",
178
+ deprecated: false
179
+ }, {
180
+ name: 'analytics',
181
+ type: 'new',
182
+ category: "app",
183
+ deprecated: false
184
+ }, {
185
+ name: 'chat',
186
+ type: 'new',
187
+ category: "app",
188
+ deprecated: false
189
+ }, {
190
+ name: 'goals',
191
+ type: 'new',
192
+ category: "app",
193
+ deprecated: false
194
+ }, {
195
+ name: 'guard',
196
+ type: 'migration',
197
+ category: "app",
198
+ deprecated: false
199
+ }, {
200
+ name: 'projects',
201
+ type: 'new',
202
+ category: "app",
203
+ deprecated: false
204
+ }, {
205
+ name: 'search',
206
+ type: 'new',
207
+ category: "app",
208
+ deprecated: false
209
+ }, {
210
+ name: 'studio',
211
+ type: 'new',
212
+ category: "app",
213
+ deprecated: false
214
+ }, {
215
+ name: 'teams',
216
+ type: 'new',
217
+ category: "app",
218
+ deprecated: false
219
+ },
220
+ // Data Center
221
+ {
222
+ name: 'jira-data-center',
223
+ type: 'new',
224
+ category: "app",
225
+ deprecated: false
226
+ }, {
227
+ name: 'confluence-data-center',
228
+ type: 'new',
229
+ category: "app",
230
+ deprecated: false
231
+ }, {
232
+ name: 'bitbucket-data-center',
233
+ type: 'new',
234
+ category: 'app',
235
+ deprecated: false
236
+ },
237
+ // Deprecated
238
+ {
239
+ name: 'atlassian-administration',
240
+ type: 'legacy',
241
+ category: "app",
242
+ deprecated: true
243
+ }, {
244
+ name: 'atlassian-admin',
245
+ type: 'legacy',
246
+ category: "app",
247
+ deprecated: true
248
+ }, {
249
+ name: 'atlassian-analytics',
250
+ type: 'legacy',
251
+ category: "app",
252
+ deprecated: true
253
+ }, {
254
+ name: 'atlas',
255
+ type: 'legacy',
256
+ category: "app",
257
+ deprecated: true
258
+ }, {
259
+ name: 'jira-align',
260
+ type: 'legacy',
261
+ category: "app",
262
+ deprecated: true
263
+ }, {
264
+ name: 'jira-software',
265
+ type: 'legacy',
266
+ category: "app",
267
+ deprecated: true
268
+ }, {
269
+ name: 'jira-work-management',
270
+ type: 'legacy',
271
+ category: "app",
272
+ deprecated: true
273
+ }];
274
+ export var PROGRAM_LOGO_DOCS_ORDER = logoDocsSchema.filter(function (logo) {
275
+ return logo.category === 'program' && !logo.deprecated;
276
+ }).map(function (logo) {
277
+ return logo.name;
278
+ });
279
+ export var APP_LOGO_DOCS_ORDER = logoDocsSchema.filter(function (logo) {
280
+ return logo.category === 'app' && !logo.deprecated;
281
+ }).map(function (logo) {
282
+ return logo.name;
283
+ });
284
+ export var LEGACY_ONLY_LOGOS = logoDocsSchema.filter(function (logo) {
285
+ return logo.type === 'legacy';
286
+ });
287
+ export var SHARED_LOGOS = logoDocsSchema.filter(function (logo) {
288
+ return logo.type === 'migration';
289
+ });
290
+ export var NEW_ONLY_LOGOS = logoDocsSchema.filter(function (logo) {
291
+ return logo.type === 'new';
292
+ });