@atlaskit/object 0.2.2 → 0.2.4

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/constellation/index/examples.mdx +41 -0
  3. package/constellation/index/images/do-donts/object-colors-do.png +0 -0
  4. package/constellation/index/images/do-donts/object-colors-dont.png +0 -0
  5. package/constellation/index/images/do-donts/object-larger-do.png +0 -0
  6. package/constellation/index/images/do-donts/object-larger-dont.png +0 -0
  7. package/constellation/index/images/object-size-dark.png +0 -0
  8. package/constellation/index/images/object-size-light.png +0 -0
  9. package/constellation/index/object-explorer.mdx +13 -0
  10. package/constellation/index/props.mdx +11 -0
  11. package/constellation/index/usage.mdx +102 -0
  12. package/constellation/object-tile/code.mdx +13 -0
  13. package/constellation/object-tile/examples.mdx +59 -0
  14. package/constellation/object-tile/images/do-donts/object-tile-colors-do.png +0 -0
  15. package/constellation/object-tile/images/do-donts/object-tile-colors-dont.png +0 -0
  16. package/constellation/object-tile/images/do-donts/object-tile-smaller-do.png +0 -0
  17. package/constellation/object-tile/images/do-donts/object-tile-smaller-dont.png +0 -0
  18. package/constellation/object-tile/images/object-tile-anatomy-dark.png +0 -0
  19. package/constellation/object-tile/images/object-tile-anatomy-light.png +0 -0
  20. package/constellation/object-tile/images/object-tile-size-dark.png +0 -0
  21. package/constellation/object-tile/images/object-tile-size-light.png +0 -0
  22. package/constellation/object-tile/object-tile-explorer.mdx +15 -0
  23. package/constellation/object-tile/usage.mdx +112 -0
  24. package/dist/cjs/components/object/components/{issue.js → work-item.js} +4 -4
  25. package/dist/cjs/components/object-tile/components/{issue.js → work-item.js} +4 -4
  26. package/dist/cjs/metadata.js +615 -0
  27. package/dist/cjs/types.js +1 -0
  28. package/dist/es2019/components/object/components/{issue.js → work-item.js} +3 -3
  29. package/dist/es2019/components/object-tile/components/{issue.js → work-item.js} +3 -3
  30. package/dist/es2019/metadata.js +422 -0
  31. package/dist/es2019/types.js +0 -0
  32. package/dist/esm/components/object/components/{issue.js → work-item.js} +3 -3
  33. package/dist/esm/components/object-tile/components/{issue.js → work-item.js} +3 -3
  34. package/dist/esm/metadata.js +514 -0
  35. package/dist/esm/types.js +0 -0
  36. package/dist/types/components/object/components/{issue.d.ts → work-item.d.ts} +2 -2
  37. package/dist/{types-ts4.5/components/object-tile/components/issue.d.ts → types/components/object-tile/components/work-item.d.ts} +2 -2
  38. package/dist/types/metadata.d.ts +22 -0
  39. package/dist/types/types.d.ts +2 -0
  40. package/dist/types-ts4.5/components/object/components/{issue.d.ts → work-item.d.ts} +2 -2
  41. package/dist/{types/components/object-tile/components/issue.d.ts → types-ts4.5/components/object-tile/components/work-item.d.ts} +2 -2
  42. package/dist/types-ts4.5/metadata.d.ts +22 -0
  43. package/dist/types-ts4.5/types.d.ts +2 -0
  44. package/metadata/package.json +17 -0
  45. package/package.json +8 -11
  46. package/tile/work-item/package.json +17 -0
  47. package/types/package.json +17 -0
  48. package/work-item/package.json +17 -0
  49. package/issue/package.json +0 -17
  50. package/tile/issue/package.json +0 -17
@@ -0,0 +1,514 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::c873348ffc71e78274a37c55639f426a>>
4
+ * @codegenCommand yarn build-glyphs
5
+ */
6
+
7
+ export var metadata = {
8
+ blog: {
9
+ keywords: ['blog', 'blue'],
10
+ color: 'blue',
11
+ icon: 'quotation-mark',
12
+ iconPackage: 'icon',
13
+ object: {
14
+ componentName: 'BlogObject',
15
+ package: '@atlaskit/object/blog',
16
+ packageLoader: function packageLoader() {
17
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
18
+ './components/object/components/blog');
19
+ }
20
+ },
21
+ tile: {
22
+ componentName: 'BlogObjectTile',
23
+ package: '@atlaskit/object/tile/blog',
24
+ packageLoader: function packageLoader() {
25
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
26
+ './components/object-tile/components/blog');
27
+ }
28
+ }
29
+ },
30
+ branch: {
31
+ keywords: ['branch', 'blue'],
32
+ color: 'blue',
33
+ icon: 'branch',
34
+ iconPackage: 'icon',
35
+ object: {
36
+ componentName: 'BranchObject',
37
+ package: '@atlaskit/object/branch',
38
+ packageLoader: function packageLoader() {
39
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
40
+ './components/object/components/branch');
41
+ }
42
+ },
43
+ tile: {
44
+ componentName: 'BranchObjectTile',
45
+ package: '@atlaskit/object/tile/branch',
46
+ packageLoader: function packageLoader() {
47
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
48
+ './components/object-tile/components/branch');
49
+ }
50
+ }
51
+ },
52
+ bug: {
53
+ keywords: ['bug', 'red'],
54
+ color: 'red',
55
+ icon: 'bug',
56
+ iconPackage: 'icon',
57
+ object: {
58
+ componentName: 'BugObject',
59
+ package: '@atlaskit/object/bug',
60
+ packageLoader: function packageLoader() {
61
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
62
+ './components/object/components/bug');
63
+ }
64
+ },
65
+ tile: {
66
+ componentName: 'BugObjectTile',
67
+ package: '@atlaskit/object/tile/bug',
68
+ packageLoader: function packageLoader() {
69
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
70
+ './components/object-tile/components/bug');
71
+ }
72
+ }
73
+ },
74
+ calendar: {
75
+ keywords: ['calendar', 'red'],
76
+ color: 'red',
77
+ icon: 'calendar',
78
+ iconPackage: 'icon',
79
+ object: {
80
+ componentName: 'CalendarObject',
81
+ package: '@atlaskit/object/calendar',
82
+ packageLoader: function packageLoader() {
83
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
84
+ './components/object/components/calendar');
85
+ }
86
+ },
87
+ tile: {
88
+ componentName: 'CalendarObjectTile',
89
+ package: '@atlaskit/object/tile/calendar',
90
+ packageLoader: function packageLoader() {
91
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
92
+ './components/object-tile/components/calendar');
93
+ }
94
+ }
95
+ },
96
+ changes: {
97
+ keywords: ['changes', 'yellow'],
98
+ color: 'yellow',
99
+ icon: 'changes',
100
+ iconPackage: 'icon',
101
+ object: {
102
+ componentName: 'ChangesObject',
103
+ package: '@atlaskit/object/changes',
104
+ packageLoader: function packageLoader() {
105
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
106
+ './components/object/components/changes');
107
+ }
108
+ },
109
+ tile: {
110
+ componentName: 'ChangesObjectTile',
111
+ package: '@atlaskit/object/tile/changes',
112
+ packageLoader: function packageLoader() {
113
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
114
+ './components/object-tile/components/changes');
115
+ }
116
+ }
117
+ },
118
+ code: {
119
+ keywords: ['code', 'purple'],
120
+ color: 'purple',
121
+ icon: 'angle-brackets',
122
+ iconPackage: 'icon',
123
+ object: {
124
+ componentName: 'CodeObject',
125
+ package: '@atlaskit/object/code',
126
+ packageLoader: function packageLoader() {
127
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
128
+ './components/object/components/code');
129
+ }
130
+ },
131
+ tile: {
132
+ componentName: 'CodeObjectTile',
133
+ package: '@atlaskit/object/tile/code',
134
+ packageLoader: function packageLoader() {
135
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
136
+ './components/object-tile/components/code');
137
+ }
138
+ }
139
+ },
140
+ commit: {
141
+ keywords: ['commit', 'yellow'],
142
+ color: 'yellow',
143
+ icon: 'commit',
144
+ iconPackage: 'icon',
145
+ object: {
146
+ componentName: 'CommitObject',
147
+ package: '@atlaskit/object/commit',
148
+ packageLoader: function packageLoader() {
149
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
150
+ './components/object/components/commit');
151
+ }
152
+ },
153
+ tile: {
154
+ componentName: 'CommitObjectTile',
155
+ package: '@atlaskit/object/tile/commit',
156
+ packageLoader: function packageLoader() {
157
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
158
+ './components/object-tile/components/commit');
159
+ }
160
+ }
161
+ },
162
+ database: {
163
+ keywords: ['database', 'purple'],
164
+ color: 'purple',
165
+ icon: 'database',
166
+ iconPackage: 'icon',
167
+ object: {
168
+ componentName: 'DatabaseObject',
169
+ package: '@atlaskit/object/database',
170
+ packageLoader: function packageLoader() {
171
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
172
+ './components/object/components/database');
173
+ }
174
+ },
175
+ tile: {
176
+ componentName: 'DatabaseObjectTile',
177
+ package: '@atlaskit/object/tile/database',
178
+ packageLoader: function packageLoader() {
179
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
180
+ './components/object-tile/components/database');
181
+ }
182
+ }
183
+ },
184
+ epic: {
185
+ keywords: ['epic', 'purple'],
186
+ color: 'purple',
187
+ icon: 'epic',
188
+ iconPackage: 'icon',
189
+ object: {
190
+ componentName: 'EpicObject',
191
+ package: '@atlaskit/object/epic',
192
+ packageLoader: function packageLoader() {
193
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
194
+ './components/object/components/epic');
195
+ }
196
+ },
197
+ tile: {
198
+ componentName: 'EpicObjectTile',
199
+ package: '@atlaskit/object/tile/epic',
200
+ packageLoader: function packageLoader() {
201
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
202
+ './components/object-tile/components/epic');
203
+ }
204
+ }
205
+ },
206
+ idea: {
207
+ keywords: ['idea', 'yellow'],
208
+ color: 'yellow',
209
+ icon: 'lightbulb',
210
+ iconPackage: 'icon',
211
+ object: {
212
+ componentName: 'IdeaObject',
213
+ package: '@atlaskit/object/idea',
214
+ packageLoader: function packageLoader() {
215
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
216
+ './components/object/components/idea');
217
+ }
218
+ },
219
+ tile: {
220
+ componentName: 'IdeaObjectTile',
221
+ package: '@atlaskit/object/tile/idea',
222
+ packageLoader: function packageLoader() {
223
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
224
+ './components/object-tile/components/idea');
225
+ }
226
+ }
227
+ },
228
+ improvement: {
229
+ keywords: ['improvement', 'green'],
230
+ color: 'green',
231
+ icon: 'arrow-up',
232
+ iconPackage: 'icon',
233
+ object: {
234
+ componentName: 'ImprovementObject',
235
+ package: '@atlaskit/object/improvement',
236
+ packageLoader: function packageLoader() {
237
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
238
+ './components/object/components/improvement');
239
+ }
240
+ },
241
+ tile: {
242
+ componentName: 'ImprovementObjectTile',
243
+ package: '@atlaskit/object/tile/improvement',
244
+ packageLoader: function packageLoader() {
245
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
246
+ './components/object-tile/components/improvement');
247
+ }
248
+ }
249
+ },
250
+ incident: {
251
+ keywords: ['incident', 'red'],
252
+ color: 'red',
253
+ icon: 'incident',
254
+ iconPackage: 'icon',
255
+ object: {
256
+ componentName: 'IncidentObject',
257
+ package: '@atlaskit/object/incident',
258
+ packageLoader: function packageLoader() {
259
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
260
+ './components/object/components/incident');
261
+ }
262
+ },
263
+ tile: {
264
+ componentName: 'IncidentObjectTile',
265
+ package: '@atlaskit/object/tile/incident',
266
+ packageLoader: function packageLoader() {
267
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
268
+ './components/object-tile/components/incident');
269
+ }
270
+ }
271
+ },
272
+ 'new-feature': {
273
+ keywords: ['new-feature', 'new feature', 'green'],
274
+ color: 'green',
275
+ icon: 'add',
276
+ iconPackage: 'icon',
277
+ object: {
278
+ componentName: 'NewFeatureObject',
279
+ package: '@atlaskit/object/new-feature',
280
+ packageLoader: function packageLoader() {
281
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
282
+ './components/object/components/new-feature');
283
+ }
284
+ },
285
+ tile: {
286
+ componentName: 'NewFeatureObjectTile',
287
+ package: '@atlaskit/object/tile/new-feature',
288
+ packageLoader: function packageLoader() {
289
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
290
+ './components/object-tile/components/new-feature');
291
+ }
292
+ }
293
+ },
294
+ page: {
295
+ keywords: ['page', 'blue'],
296
+ color: 'blue',
297
+ icon: 'page',
298
+ iconPackage: 'icon',
299
+ object: {
300
+ componentName: 'PageObject',
301
+ package: '@atlaskit/object/page',
302
+ packageLoader: function packageLoader() {
303
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
304
+ './components/object/components/page');
305
+ }
306
+ },
307
+ tile: {
308
+ componentName: 'PageObjectTile',
309
+ package: '@atlaskit/object/tile/page',
310
+ packageLoader: function packageLoader() {
311
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
312
+ './components/object-tile/components/page');
313
+ }
314
+ }
315
+ },
316
+ 'page-live-doc': {
317
+ keywords: ['page-live-doc', 'page live doc', 'magenta'],
318
+ color: 'magenta',
319
+ icon: 'page-live-doc',
320
+ iconPackage: 'icon-lab',
321
+ object: {
322
+ componentName: 'PageLiveDocObject',
323
+ package: '@atlaskit/object/page-live-doc',
324
+ packageLoader: function packageLoader() {
325
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
326
+ './components/object/components/page-live-doc');
327
+ }
328
+ },
329
+ tile: {
330
+ componentName: 'PageLiveDocObjectTile',
331
+ package: '@atlaskit/object/tile/page-live-doc',
332
+ packageLoader: function packageLoader() {
333
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
334
+ './components/object-tile/components/page-live-doc');
335
+ }
336
+ }
337
+ },
338
+ problem: {
339
+ keywords: ['problem', 'red'],
340
+ color: 'red',
341
+ icon: 'problem',
342
+ iconPackage: 'icon',
343
+ object: {
344
+ componentName: 'ProblemObject',
345
+ package: '@atlaskit/object/problem',
346
+ packageLoader: function packageLoader() {
347
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
348
+ './components/object/components/problem');
349
+ }
350
+ },
351
+ tile: {
352
+ componentName: 'ProblemObjectTile',
353
+ package: '@atlaskit/object/tile/problem',
354
+ packageLoader: function packageLoader() {
355
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
356
+ './components/object-tile/components/problem');
357
+ }
358
+ }
359
+ },
360
+ 'pull-request': {
361
+ keywords: ['pull-request', 'pull request', 'green'],
362
+ color: 'green',
363
+ icon: 'pull-request',
364
+ iconPackage: 'icon',
365
+ object: {
366
+ componentName: 'PullRequestObject',
367
+ package: '@atlaskit/object/pull-request',
368
+ packageLoader: function packageLoader() {
369
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
370
+ './components/object/components/pull-request');
371
+ }
372
+ },
373
+ tile: {
374
+ componentName: 'PullRequestObjectTile',
375
+ package: '@atlaskit/object/tile/pull-request',
376
+ packageLoader: function packageLoader() {
377
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
378
+ './components/object-tile/components/pull-request');
379
+ }
380
+ }
381
+ },
382
+ question: {
383
+ keywords: ['question', 'purple'],
384
+ color: 'purple',
385
+ icon: 'question-circle',
386
+ iconPackage: 'icon',
387
+ object: {
388
+ componentName: 'QuestionObject',
389
+ package: '@atlaskit/object/question',
390
+ packageLoader: function packageLoader() {
391
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
392
+ './components/object/components/question');
393
+ }
394
+ },
395
+ tile: {
396
+ componentName: 'QuestionObjectTile',
397
+ package: '@atlaskit/object/tile/question',
398
+ packageLoader: function packageLoader() {
399
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
400
+ './components/object-tile/components/question');
401
+ }
402
+ }
403
+ },
404
+ story: {
405
+ keywords: ['story', 'green'],
406
+ color: 'green',
407
+ icon: 'story',
408
+ iconPackage: 'icon',
409
+ object: {
410
+ componentName: 'StoryObject',
411
+ package: '@atlaskit/object/story',
412
+ packageLoader: function packageLoader() {
413
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
414
+ './components/object/components/story');
415
+ }
416
+ },
417
+ tile: {
418
+ componentName: 'StoryObjectTile',
419
+ package: '@atlaskit/object/tile/story',
420
+ packageLoader: function packageLoader() {
421
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
422
+ './components/object-tile/components/story');
423
+ }
424
+ }
425
+ },
426
+ subtask: {
427
+ keywords: ['subtask', 'blue'],
428
+ color: 'blue',
429
+ icon: 'subtasks',
430
+ iconPackage: 'icon',
431
+ object: {
432
+ componentName: 'SubtaskObject',
433
+ package: '@atlaskit/object/subtask',
434
+ packageLoader: function packageLoader() {
435
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
436
+ './components/object/components/subtask');
437
+ }
438
+ },
439
+ tile: {
440
+ componentName: 'SubtaskObjectTile',
441
+ package: '@atlaskit/object/tile/subtask',
442
+ packageLoader: function packageLoader() {
443
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
444
+ './components/object-tile/components/subtask');
445
+ }
446
+ }
447
+ },
448
+ task: {
449
+ keywords: ['task', 'blue'],
450
+ color: 'blue',
451
+ icon: 'task',
452
+ iconPackage: 'icon',
453
+ object: {
454
+ componentName: 'TaskObject',
455
+ package: '@atlaskit/object/task',
456
+ packageLoader: function packageLoader() {
457
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
458
+ './components/object/components/task');
459
+ }
460
+ },
461
+ tile: {
462
+ componentName: 'TaskObjectTile',
463
+ package: '@atlaskit/object/tile/task',
464
+ packageLoader: function packageLoader() {
465
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
466
+ './components/object-tile/components/task');
467
+ }
468
+ }
469
+ },
470
+ whiteboard: {
471
+ keywords: ['whiteboard', 'teal'],
472
+ color: 'teal',
473
+ icon: 'whiteboard',
474
+ iconPackage: 'icon',
475
+ object: {
476
+ componentName: 'WhiteboardObject',
477
+ package: '@atlaskit/object/whiteboard',
478
+ packageLoader: function packageLoader() {
479
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
480
+ './components/object/components/whiteboard');
481
+ }
482
+ },
483
+ tile: {
484
+ componentName: 'WhiteboardObjectTile',
485
+ package: '@atlaskit/object/tile/whiteboard',
486
+ packageLoader: function packageLoader() {
487
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
488
+ './components/object-tile/components/whiteboard');
489
+ }
490
+ }
491
+ },
492
+ 'work-item': {
493
+ keywords: ['work-item', 'work item', 'blue'],
494
+ color: 'blue',
495
+ icon: 'work-item',
496
+ iconPackage: 'icon',
497
+ object: {
498
+ componentName: 'WorkItemObject',
499
+ package: '@atlaskit/object/work-item',
500
+ packageLoader: function packageLoader() {
501
+ return import( /* webpackChunkName: "@atlaskit-internal_object" */
502
+ './components/object/components/work-item');
503
+ }
504
+ },
505
+ tile: {
506
+ componentName: 'WorkItemObjectTile',
507
+ package: '@atlaskit/object/tile/work-item',
508
+ packageLoader: function packageLoader() {
509
+ return import( /* webpackChunkName: "@atlaskit-internal_object-tile" */
510
+ './components/object-tile/components/work-item');
511
+ }
512
+ }
513
+ }
514
+ };
File without changes
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::9f066b78a852692916f23328f565a5fa>>
3
+ * @codegen <<SignedSource::9d7811e9ce600b90f94930755b99d471>>
4
4
  * @codegenCommand yarn build-glyphs
5
5
  */
6
6
  import React from 'react';
7
7
  import type { ObjectProps } from '../types';
8
- export default function IssueObject({ label, size, testId, }: ObjectProps): React.JSX.Element;
8
+ export default function WorkItemObject({ label, size, testId, }: ObjectProps): React.JSX.Element;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::3364016e20db618c1b623e7c48e1d366>>
3
+ * @codegen <<SignedSource::30f3baace5bcd49b8a2c522228cf7a06>>
4
4
  * @codegenCommand yarn build-glyphs
5
5
  */
6
6
  import React from 'react';
7
7
  import type { ObjectTileProps } from '../types';
8
- export default function IssueObjectTile({ label, size, testId, isBold, }: ObjectTileProps): React.JSX.Element;
8
+ export default function WorkItemObjectTile({ label, size, testId, isBold, }: ObjectTileProps): React.JSX.Element;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::c873348ffc71e78274a37c55639f426a>>
4
+ * @codegenCommand yarn build-glyphs
5
+ */
6
+ interface ComponentMetadata {
7
+ componentName: string;
8
+ package: string;
9
+ packageLoader: () => Promise<{
10
+ default: React.ComponentType<any>;
11
+ }>;
12
+ }
13
+ interface ObjectMetadata {
14
+ keywords: string[];
15
+ color: string;
16
+ icon: string;
17
+ iconPackage: string;
18
+ object: ComponentMetadata;
19
+ tile: ComponentMetadata;
20
+ }
21
+ export declare const metadata: Record<string, ObjectMetadata>;
22
+ export {};
@@ -0,0 +1,2 @@
1
+ export type { ObjectProps } from './components/object/types';
2
+ export type { ObjectTileProps } from './components/object-tile/types';
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::9f066b78a852692916f23328f565a5fa>>
3
+ * @codegen <<SignedSource::9d7811e9ce600b90f94930755b99d471>>
4
4
  * @codegenCommand yarn build-glyphs
5
5
  */
6
6
  import React from 'react';
7
7
  import type { ObjectProps } from '../types';
8
- export default function IssueObject({ label, size, testId, }: ObjectProps): React.JSX.Element;
8
+ export default function WorkItemObject({ label, size, testId, }: ObjectProps): React.JSX.Element;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::3364016e20db618c1b623e7c48e1d366>>
3
+ * @codegen <<SignedSource::30f3baace5bcd49b8a2c522228cf7a06>>
4
4
  * @codegenCommand yarn build-glyphs
5
5
  */
6
6
  import React from 'react';
7
7
  import type { ObjectTileProps } from '../types';
8
- export default function IssueObjectTile({ label, size, testId, isBold, }: ObjectTileProps): React.JSX.Element;
8
+ export default function WorkItemObjectTile({ label, size, testId, isBold, }: ObjectTileProps): React.JSX.Element;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::c873348ffc71e78274a37c55639f426a>>
4
+ * @codegenCommand yarn build-glyphs
5
+ */
6
+ interface ComponentMetadata {
7
+ componentName: string;
8
+ package: string;
9
+ packageLoader: () => Promise<{
10
+ default: React.ComponentType<any>;
11
+ }>;
12
+ }
13
+ interface ObjectMetadata {
14
+ keywords: string[];
15
+ color: string;
16
+ icon: string;
17
+ iconPackage: string;
18
+ object: ComponentMetadata;
19
+ tile: ComponentMetadata;
20
+ }
21
+ export declare const metadata: Record<string, ObjectMetadata>;
22
+ export {};
@@ -0,0 +1,2 @@
1
+ export type { ObjectProps } from './components/object/types';
2
+ export type { ObjectTileProps } from './components/object-tile/types';
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/object/metadata",
3
+ "main": "../dist/cjs/metadata.js",
4
+ "module": "../dist/esm/metadata.js",
5
+ "module:es2019": "../dist/es2019/metadata.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/metadata.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/metadata.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
package/package.json CHANGED
@@ -3,10 +3,7 @@
3
3
  "team": "Design System Team",
4
4
  "website": {
5
5
  "name": "Object",
6
- "category": "Images and icons",
7
- "status": {
8
- "type": "alpha"
9
- }
6
+ "category": "Images and icons"
10
7
  }
11
8
  },
12
9
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
@@ -28,14 +25,14 @@
28
25
  ],
29
26
  "atlaskit:src": "src/index.tsx",
30
27
  "dependencies": {
31
- "@atlaskit/css": "^0.14.0",
28
+ "@atlaskit/css": "^0.15.0",
32
29
  "@atlaskit/icon": "^28.5.0",
33
30
  "@atlaskit/icon-lab": "^5.10.0",
34
- "@atlaskit/primitives": "^14.15.0",
31
+ "@atlaskit/primitives": "^15.0.0",
35
32
  "@atlaskit/tile": "^0.2.0",
36
- "@atlaskit/tokens": "^6.4.0",
33
+ "@atlaskit/tokens": "^7.0.0",
37
34
  "@babel/runtime": "^7.0.0",
38
- "@compiled/react": "^0.18.3",
35
+ "@compiled/react": "^0.18.6",
39
36
  "tiny-invariant": "^1.2.0"
40
37
  },
41
38
  "peerDependencies": {
@@ -49,7 +46,7 @@
49
46
  "@atlaskit/ds-lib": "^5.1.0",
50
47
  "@atlaskit/ssr": "workspace:^",
51
48
  "@atlassian/codegen": "^0.1.0",
52
- "@testing-library/react": "^13.4.0",
49
+ "@atlassian/testing-library": "^0.4.0",
53
50
  "fs-extra": "^4.0.2",
54
51
  "lodash": "^4.17.21",
55
52
  "pkg-dir": "^4.2.0",
@@ -94,8 +91,8 @@
94
91
  }
95
92
  },
96
93
  "name": "@atlaskit/object",
97
- "version": "0.2.2",
98
- "description": "An object represents an Atlassian-specific content type.",
94
+ "version": "0.2.4",
95
+ "description": "An object is an icon that represents an Atlassian-specific content type.",
99
96
  "author": "Atlassian Pty Ltd",
100
97
  "license": "Apache-2.0",
101
98
  "publishConfig": {