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