@atlaskit/icon-object 7.2.3 → 7.3.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 +19 -0
- package/afm-adminhub/tsconfig.json +39 -0
- package/build/utils.tsx +32 -5
- package/dist/cjs/all-icons.js +1 -1
- package/dist/cjs/artifacts/glyph/issue/16.js +3 -3
- package/dist/cjs/artifacts/glyph/issue/24.js +3 -3
- package/dist/es2019/all-icons.js +2 -1
- package/dist/es2019/artifacts/glyph/issue/16.js +2 -2
- package/dist/es2019/artifacts/glyph/issue/24.js +2 -2
- package/dist/esm/all-icons.js +2 -1
- package/dist/esm/artifacts/glyph/issue/16.js +2 -2
- package/dist/esm/artifacts/glyph/issue/24.js +2 -2
- package/dist/types/all-icons.d.ts +7 -1
- package/dist/types/artifacts/glyph/issue/16.d.ts +1 -1
- package/dist/types/artifacts/glyph/issue/24.d.ts +1 -1
- package/dist/types-ts4.5/all-icons.d.ts +7 -1
- package/dist/types-ts4.5/artifacts/glyph/issue/16.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/glyph/issue/24.d.ts +1 -1
- package/package.json +10 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/icon-object
|
|
2
2
|
|
|
3
|
+
## 7.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`e1c9823b0b420`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e1c9823b0b420) - ##
|
|
8
|
+
Deprecated
|
|
9
|
+
|
|
10
|
+
Icon object has been marked as deprecated, and has been replaced by Object (`@atlaskit/object`).
|
|
11
|
+
|
|
12
|
+
To migrate automatically, use the codemod:
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npx @atlaskit/codemod-cli -n migrate-icon-object-to-object --extensions tsx,ts,js --parser tsx <your-path>
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 7.2.3
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.adminhub.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../adminhub/tsDist/@atlaskit__icon-object/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
24
|
+
],
|
|
25
|
+
"references": [
|
|
26
|
+
{
|
|
27
|
+
"path": "../../icon/afm-adminhub/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../icon-lab/afm-adminhub/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../object/afm-adminhub/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../platform/feature-flags/afm-adminhub/tsconfig.json"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
package/build/utils.tsx
CHANGED
|
@@ -1,106 +1,126 @@
|
|
|
1
1
|
export const iconObjectMapping: Record<
|
|
2
2
|
string,
|
|
3
|
-
{ icon: string; appearance: string; packageName: string }
|
|
3
|
+
{ icon: string; appearance: string; packageName: string; objectName: string }
|
|
4
4
|
> = {
|
|
5
5
|
blog: {
|
|
6
6
|
icon: 'quotation-mark',
|
|
7
7
|
appearance: 'blueBold',
|
|
8
8
|
packageName: 'icon',
|
|
9
|
+
objectName: 'blog',
|
|
9
10
|
},
|
|
10
11
|
branch: {
|
|
11
12
|
icon: 'branch',
|
|
12
13
|
appearance: 'blueBold',
|
|
13
14
|
packageName: 'icon',
|
|
15
|
+
objectName: 'branch',
|
|
14
16
|
},
|
|
15
17
|
bug: {
|
|
16
18
|
icon: 'bug',
|
|
17
19
|
appearance: 'redBold',
|
|
18
20
|
packageName: 'icon',
|
|
21
|
+
objectName: 'bug',
|
|
19
22
|
},
|
|
20
23
|
calendar: {
|
|
21
24
|
icon: 'calendar',
|
|
22
25
|
appearance: 'redBold',
|
|
23
26
|
packageName: 'icon',
|
|
27
|
+
objectName: 'calendar',
|
|
24
28
|
},
|
|
25
29
|
changes: {
|
|
26
30
|
icon: 'changes',
|
|
27
31
|
appearance: 'orangeBold',
|
|
28
32
|
packageName: 'icon',
|
|
33
|
+
objectName: 'changes',
|
|
29
34
|
},
|
|
30
35
|
code: {
|
|
31
36
|
icon: 'angle-brackets',
|
|
32
37
|
appearance: 'purpleBold',
|
|
33
38
|
packageName: 'icon',
|
|
39
|
+
objectName: 'code',
|
|
34
40
|
},
|
|
35
41
|
commit: {
|
|
36
42
|
icon: 'commit',
|
|
37
43
|
appearance: 'orangeBold',
|
|
38
44
|
packageName: 'icon',
|
|
45
|
+
objectName: 'commit',
|
|
39
46
|
},
|
|
40
47
|
epic: {
|
|
41
48
|
icon: 'epic',
|
|
42
49
|
appearance: 'purpleBold',
|
|
43
50
|
packageName: 'icon',
|
|
51
|
+
objectName: 'epic',
|
|
44
52
|
},
|
|
45
53
|
improvement: {
|
|
46
54
|
icon: 'arrow-up',
|
|
47
55
|
appearance: 'greenBold',
|
|
48
56
|
packageName: 'icon',
|
|
57
|
+
objectName: 'improvement',
|
|
49
58
|
},
|
|
50
59
|
incident: {
|
|
51
60
|
icon: 'incident',
|
|
52
61
|
appearance: 'redBold',
|
|
53
62
|
packageName: 'icon',
|
|
63
|
+
objectName: 'incident',
|
|
54
64
|
},
|
|
55
65
|
issue: {
|
|
56
66
|
icon: 'work-item',
|
|
57
67
|
appearance: 'blueBold',
|
|
58
68
|
packageName: 'icon',
|
|
69
|
+
objectName: 'work-item',
|
|
59
70
|
},
|
|
60
71
|
'new-feature': {
|
|
61
72
|
icon: 'add',
|
|
62
73
|
appearance: 'greenBold',
|
|
63
74
|
packageName: 'icon',
|
|
75
|
+
objectName: 'new-feature',
|
|
64
76
|
},
|
|
65
77
|
page: {
|
|
66
78
|
icon: 'page',
|
|
67
79
|
appearance: 'blueBold',
|
|
68
80
|
packageName: 'icon',
|
|
81
|
+
objectName: 'page',
|
|
69
82
|
},
|
|
70
83
|
problem: {
|
|
71
84
|
icon: 'problem',
|
|
72
85
|
appearance: 'redBold',
|
|
73
86
|
packageName: 'icon',
|
|
87
|
+
objectName: 'problem',
|
|
74
88
|
},
|
|
75
89
|
'pull-request': {
|
|
76
90
|
icon: 'pull-request',
|
|
77
91
|
appearance: 'greenBold',
|
|
78
92
|
packageName: 'icon',
|
|
93
|
+
objectName: 'pull-request',
|
|
79
94
|
},
|
|
80
95
|
question: {
|
|
81
96
|
icon: 'question-circle',
|
|
82
97
|
appearance: 'purpleBold',
|
|
83
98
|
packageName: 'icon',
|
|
99
|
+
objectName: 'question',
|
|
84
100
|
},
|
|
85
101
|
story: {
|
|
86
102
|
icon: 'story',
|
|
87
103
|
appearance: 'greenBold',
|
|
88
104
|
packageName: 'icon',
|
|
105
|
+
objectName: 'story',
|
|
89
106
|
},
|
|
90
107
|
subtask: {
|
|
91
108
|
icon: 'subtasks',
|
|
92
109
|
appearance: 'blueBold',
|
|
93
110
|
packageName: 'icon',
|
|
111
|
+
objectName: 'subtask',
|
|
94
112
|
},
|
|
95
113
|
task: {
|
|
96
114
|
icon: 'task',
|
|
97
115
|
appearance: 'blueBold',
|
|
98
116
|
packageName: 'icon',
|
|
117
|
+
objectName: 'task',
|
|
99
118
|
},
|
|
100
119
|
'page-live-doc': {
|
|
101
120
|
icon: 'page-live-doc',
|
|
102
121
|
appearance: 'magentaBold',
|
|
103
122
|
packageName: 'icon-lab',
|
|
123
|
+
objectName: 'page-live-doc',
|
|
104
124
|
},
|
|
105
125
|
};
|
|
106
126
|
|
|
@@ -117,9 +137,11 @@ export const getIconObjectJSX = (
|
|
|
117
137
|
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
|
118
138
|
.join('')}${size}Icon`;
|
|
119
139
|
|
|
120
|
-
|
|
140
|
+
const objectName = iconObjectMapping[name].objectName;
|
|
141
|
+
|
|
142
|
+
// Determine the new component import path based on size using objectName
|
|
121
143
|
const newComponentPath =
|
|
122
|
-
size === '16' ? `@atlaskit/object/${
|
|
144
|
+
size === '16' ? `@atlaskit/object/${objectName}` : `@atlaskit/object/tile/${objectName}`;
|
|
123
145
|
|
|
124
146
|
return `import React from 'react';
|
|
125
147
|
|
|
@@ -203,9 +225,14 @@ export const createAllIconsFile = (iconNames: string[]) => {
|
|
|
203
225
|
// Generate export array with all icons in the same order as imports
|
|
204
226
|
const iconExports = allImports.map((item) => item.componentName).join(',\n\t');
|
|
205
227
|
|
|
206
|
-
return
|
|
228
|
+
return `import type { GlyphProps } from '@atlaskit/icon/types';
|
|
229
|
+
|
|
230
|
+
${imports}
|
|
207
231
|
|
|
208
|
-
export const allIcons
|
|
232
|
+
export const allIcons: {
|
|
233
|
+
({ label, testId, }: Omit<GlyphProps, "primaryColor" | "secondaryColor" | "size">): React.JSX.Element;
|
|
234
|
+
displayName: string;
|
|
235
|
+
}[] = [
|
|
209
236
|
${iconExports},
|
|
210
237
|
];
|
|
211
238
|
`;
|
package/dist/cjs/all-icons.js
CHANGED
|
@@ -47,7 +47,7 @@ var _37 = _interopRequireDefault(require("./artifacts/glyph/task/16"));
|
|
|
47
47
|
var _38 = _interopRequireDefault(require("./artifacts/glyph/task/24"));
|
|
48
48
|
/**
|
|
49
49
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
50
|
-
* @codegen <<SignedSource::
|
|
50
|
+
* @codegen <<SignedSource::e0abf3368ad5be663b0ed03636d95962>>
|
|
51
51
|
* @codegenCommand yarn build:icon-glyphs
|
|
52
52
|
*/
|
|
53
53
|
|
|
@@ -8,12 +8,12 @@ exports.default = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _icon = require("@atlaskit/icon");
|
|
10
10
|
var _workItem = _interopRequireDefault(require("@atlaskit/icon/core/work-item"));
|
|
11
|
-
var
|
|
11
|
+
var _workItem2 = _interopRequireDefault(require("@atlaskit/object/work-item"));
|
|
12
12
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
13
|
var _ = _interopRequireDefault(require("../../glyph-legacy/issue/16"));
|
|
14
14
|
/**
|
|
15
15
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
16
|
-
* @codegen <<SignedSource::
|
|
16
|
+
* @codegen <<SignedSource::bca06c5d0b322c69c2d7dabe129b3860>>
|
|
17
17
|
* @codegenCommand yarn build:icon-glyphs
|
|
18
18
|
*/
|
|
19
19
|
|
|
@@ -30,7 +30,7 @@ var Issue16Icon = function Issue16Icon(_ref) {
|
|
|
30
30
|
// Feature flag to migrate to new object package
|
|
31
31
|
if ((0, _platformFeatureFlags.fg)('platform_dst_icon_object_to_object')) {
|
|
32
32
|
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
33
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
33
|
+
return /*#__PURE__*/_react.default.createElement(_workItem2.default, {
|
|
34
34
|
label: label,
|
|
35
35
|
testId: testId,
|
|
36
36
|
size: "medium"
|
|
@@ -8,12 +8,12 @@ exports.default = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _icon = require("@atlaskit/icon");
|
|
10
10
|
var _workItem = _interopRequireDefault(require("@atlaskit/icon/core/work-item"));
|
|
11
|
-
var
|
|
11
|
+
var _workItem2 = _interopRequireDefault(require("@atlaskit/object/tile/work-item"));
|
|
12
12
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
13
|
var _ = _interopRequireDefault(require("../../glyph-legacy/issue/24"));
|
|
14
14
|
/**
|
|
15
15
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
16
|
-
* @codegen <<SignedSource::
|
|
16
|
+
* @codegen <<SignedSource::844c8577e3943d6d7d8c1a6302edc692>>
|
|
17
17
|
* @codegenCommand yarn build:icon-glyphs
|
|
18
18
|
*/
|
|
19
19
|
|
|
@@ -30,7 +30,7 @@ var Issue24Icon = function Issue24Icon(_ref) {
|
|
|
30
30
|
// Feature flag to migrate to new object package
|
|
31
31
|
if ((0, _platformFeatureFlags.fg)('platform_dst_icon_object_to_object')) {
|
|
32
32
|
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
33
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
33
|
+
return /*#__PURE__*/_react.default.createElement(_workItem2.default, {
|
|
34
34
|
label: label,
|
|
35
35
|
testId: testId,
|
|
36
36
|
size: "small"
|
package/dist/es2019/all-icons.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::e0abf3368ad5be663b0ed03636d95962>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
|
+
|
|
6
7
|
import Blog16Icon from './artifacts/glyph/blog/16';
|
|
7
8
|
import Blog24Icon from './artifacts/glyph/blog/24';
|
|
8
9
|
import Branch16Icon from './artifacts/glyph/branch/16';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::bca06c5d0b322c69c2d7dabe129b3860>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/work-item';
|
|
9
|
-
import NewObjectComponent from '@atlaskit/object/
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/work-item';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
11
|
import IconObjectOld from '../../glyph-legacy/issue/16';
|
|
12
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::844c8577e3943d6d7d8c1a6302edc692>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/work-item';
|
|
9
|
-
import NewObjectComponent from '@atlaskit/object/tile/
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/tile/work-item';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
11
|
import IconObjectOld from '../../glyph-legacy/issue/24';
|
|
12
12
|
|
package/dist/esm/all-icons.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::e0abf3368ad5be663b0ed03636d95962>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
|
+
|
|
6
7
|
import Blog16Icon from './artifacts/glyph/blog/16';
|
|
7
8
|
import Blog24Icon from './artifacts/glyph/blog/24';
|
|
8
9
|
import Branch16Icon from './artifacts/glyph/branch/16';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::bca06c5d0b322c69c2d7dabe129b3860>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/work-item';
|
|
9
|
-
import NewObjectComponent from '@atlaskit/object/
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/work-item';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
11
|
import IconObjectOld from '../../glyph-legacy/issue/16';
|
|
12
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::844c8577e3943d6d7d8c1a6302edc692>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/work-item';
|
|
9
|
-
import NewObjectComponent from '@atlaskit/object/tile/
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/tile/work-item';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
11
|
import IconObjectOld from '../../glyph-legacy/issue/24';
|
|
12
12
|
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::e0abf3368ad5be663b0ed03636d95962>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
import type { GlyphProps } from '@atlaskit/icon/types';
|
|
1
7
|
export declare const allIcons: {
|
|
2
|
-
({ label, testId, }: Omit<
|
|
8
|
+
({ label, testId, }: Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>): React.JSX.Element;
|
|
3
9
|
displayName: string;
|
|
4
10
|
}[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::bca06c5d0b322c69c2d7dabe129b3860>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::844c8577e3943d6d7d8c1a6302edc692>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::e0abf3368ad5be663b0ed03636d95962>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
import type { GlyphProps } from '@atlaskit/icon/types';
|
|
1
7
|
export declare const allIcons: {
|
|
2
|
-
({ label, testId, }: Omit<
|
|
8
|
+
({ label, testId, }: Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>): React.JSX.Element;
|
|
3
9
|
displayName: string;
|
|
4
10
|
}[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::bca06c5d0b322c69c2d7dabe129b3860>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::844c8577e3943d6d7d8c1a6302edc692>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon-object",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"description": "An object icon is used to represent an Atlassian-specific content type.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,15 +29,19 @@
|
|
|
29
29
|
"team": "Design System Team",
|
|
30
30
|
"website": {
|
|
31
31
|
"name": "Icon object",
|
|
32
|
-
"category": "Images and icons"
|
|
32
|
+
"category": "Images and icons",
|
|
33
|
+
"status": {
|
|
34
|
+
"type": "deprecated",
|
|
35
|
+
"description": "This package is deprecated.\n\nUse [object](https://atlassian.design/components/object/examples) instead."
|
|
36
|
+
}
|
|
33
37
|
}
|
|
34
38
|
},
|
|
35
39
|
"scripts": {
|
|
36
40
|
"build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
|
|
37
41
|
},
|
|
38
42
|
"dependencies": {
|
|
39
|
-
"@atlaskit/icon": "^28.
|
|
40
|
-
"@atlaskit/icon-lab": "^5.
|
|
43
|
+
"@atlaskit/icon": "^28.5.0",
|
|
44
|
+
"@atlaskit/icon-lab": "^5.10.0",
|
|
41
45
|
"@atlaskit/object": "^0.2.0",
|
|
42
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
47
|
"@babel/runtime": "^7.0.0"
|
|
@@ -49,9 +53,9 @@
|
|
|
49
53
|
"@af/formatting": "workspace:^",
|
|
50
54
|
"@af/icon-build-process": "workspace:^",
|
|
51
55
|
"@af/visual-regression": "workspace:^",
|
|
52
|
-
"@atlaskit/css": "^0.
|
|
56
|
+
"@atlaskit/css": "^0.15.0",
|
|
53
57
|
"@atlaskit/textfield": "^8.0.0",
|
|
54
|
-
"@atlaskit/tooltip": "^20.
|
|
58
|
+
"@atlaskit/tooltip": "^20.5.0",
|
|
55
59
|
"@atlassian/codegen": "^0.1.0",
|
|
56
60
|
"fs-extra": "^4.0.2",
|
|
57
61
|
"pkg-dir": "^4.2.0",
|