@atlaskit/icon-lab 4.12.1 → 4.14.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 +26 -0
- package/build/index.tsx +128 -54
- package/core/spaces.d.ts +13 -0
- package/core/spaces.js +30 -0
- package/dist/cjs/deprecated-utility.js +16 -0
- package/dist/cjs/entry-points/deprecated-map.js +8 -1
- package/dist/cjs/metadata-core.js +12 -1
- package/dist/cjs/metadata-utility.js +17 -0
- package/dist/es2019/deprecated-utility.js +10 -0
- package/dist/es2019/entry-points/deprecated-map.js +2 -1
- package/dist/es2019/metadata-core.js +12 -1
- package/dist/es2019/metadata-utility.js +11 -0
- package/dist/esm/deprecated-utility.js +10 -0
- package/dist/esm/entry-points/deprecated-map.js +2 -1
- package/dist/esm/metadata-core.js +12 -1
- package/dist/esm/metadata-utility.js +11 -0
- package/dist/types/deprecated-utility.d.ts +13 -0
- package/dist/types/entry-points/deprecated-map.d.ts +1 -0
- package/dist/types/metadata-core.d.ts +5 -1
- package/dist/types/metadata-utility.d.ts +67 -0
- package/dist/types-ts4.5/deprecated-utility.d.ts +13 -0
- package/dist/types-ts4.5/entry-points/deprecated-map.d.ts +1 -0
- package/dist/types-ts4.5/metadata-core.d.ts +5 -1
- package/dist/types-ts4.5/metadata-utility.d.ts +67 -0
- package/package.json +7 -7
- package/svgs/core/spaces.svg +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @atlaskit/icon-lab
|
|
2
2
|
|
|
3
|
+
## 4.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#158911](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/158911)
|
|
8
|
+
[`1f9bc8b04ac0a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1f9bc8b04ac0a) -
|
|
9
|
+
This release adds icons in `@atlaskit/icon-lab`.
|
|
10
|
+
|
|
11
|
+
### Added:
|
|
12
|
+
|
|
13
|
+
**`@atlaskit/icon-lab/core`**
|
|
14
|
+
|
|
15
|
+
- `spaces`
|
|
16
|
+
|
|
17
|
+
## 4.13.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- [#149822](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149822)
|
|
22
|
+
[`f9ab0e846ae21`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f9ab0e846ae21) -
|
|
23
|
+
Updated to support `size` prop for new icons from `@atlaskit/icon`.
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
|
|
3
29
|
## 4.12.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/build/index.tsx
CHANGED
|
@@ -4,7 +4,7 @@ import fs from 'fs-extra';
|
|
|
4
4
|
import pkgDir from 'pkg-dir';
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
|
-
buildNew as
|
|
7
|
+
buildNew as buildIconsNew,
|
|
8
8
|
createDeprecatedIconDocs,
|
|
9
9
|
createIconDocsNew,
|
|
10
10
|
createVRTest,
|
|
@@ -12,62 +12,136 @@ import {
|
|
|
12
12
|
} from '@af/icon-build-process';
|
|
13
13
|
|
|
14
14
|
import coreIconMetadata from '../icons_raw/metadata-core';
|
|
15
|
+
import utilityIconMetadata from '../icons_raw/metadata-utility';
|
|
15
16
|
import migrationMap from '../src/migration-map';
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
async function main() {
|
|
19
|
+
const root = pkgDir.sync();
|
|
18
20
|
|
|
19
|
-
if (!root) {
|
|
20
|
-
|
|
21
|
+
if (!root) {
|
|
22
|
+
throw new Error('Root directory was not found');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* The updated icon build process for the new icons under `@atlaskit/icon/core/*`
|
|
27
|
+
*/
|
|
28
|
+
const configCore: NewIconBuildConfig = {
|
|
29
|
+
srcDir: path.resolve(root, 'icons_raw/core'),
|
|
30
|
+
processedDir: path.resolve(root, 'svgs/core'),
|
|
31
|
+
destDir: path.resolve(root, 'core'),
|
|
32
|
+
maxWidth: 24,
|
|
33
|
+
maxHeight: 24,
|
|
34
|
+
glob: '**/*.svg',
|
|
35
|
+
iconType: 'core',
|
|
36
|
+
packageName: '@atlaskit/icon-lab',
|
|
37
|
+
baseIconEntryPoint: '@atlaskit/icon/base-new',
|
|
38
|
+
metadata: coreIconMetadata,
|
|
39
|
+
migrationMap: migrationMap,
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
await buildIconsNew(configCore).then((icons) => {
|
|
43
|
+
const iconDocs = createIconDocsNew(
|
|
44
|
+
icons,
|
|
45
|
+
'@atlaskit/icon-lab',
|
|
46
|
+
'core',
|
|
47
|
+
{},
|
|
48
|
+
['icon', 'icon-lab', 'core'],
|
|
49
|
+
coreIconMetadata,
|
|
50
|
+
migrationMap,
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
fs.outputFile(path.resolve(root, 'src/metadata-core.tsx'), iconDocs);
|
|
54
|
+
|
|
55
|
+
const deprecatedDocs = createDeprecatedIconDocs(
|
|
56
|
+
icons,
|
|
57
|
+
'@atlaskit/icon-lab',
|
|
58
|
+
'core',
|
|
59
|
+
coreIconMetadata,
|
|
60
|
+
migrationMap,
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
fs.outputFile(path.resolve(root, 'src/deprecated-core.tsx'), deprecatedDocs);
|
|
64
|
+
|
|
65
|
+
// Generate VR tests
|
|
66
|
+
const [vrExampleCore, vrTestCore] = createVRTest(
|
|
67
|
+
coreIconMetadata,
|
|
68
|
+
'../../../..',
|
|
69
|
+
20,
|
|
70
|
+
'core',
|
|
71
|
+
true,
|
|
72
|
+
);
|
|
73
|
+
fs.outputFile(
|
|
74
|
+
path.resolve(root, 'src/__tests__/vr-tests/examples/all-core-icons.tsx'),
|
|
75
|
+
vrExampleCore,
|
|
76
|
+
);
|
|
77
|
+
fs.outputFile(
|
|
78
|
+
path.resolve(root, 'src/__tests__/vr-tests/all-core-icons.test.vr.tsx'),
|
|
79
|
+
vrTestCore,
|
|
80
|
+
);
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* The updated icon build process for the new icons under `@atlaskit/icon/core/*`
|
|
85
|
+
*/
|
|
86
|
+
const configUtility: NewIconBuildConfig = {
|
|
87
|
+
srcDir: path.resolve(root, 'icons_raw/utility'),
|
|
88
|
+
processedDir: path.resolve(root, 'svgs/utility'),
|
|
89
|
+
destDir: path.resolve(root, 'utility'),
|
|
90
|
+
maxWidth: 24,
|
|
91
|
+
maxHeight: 24,
|
|
92
|
+
glob: '**/*.svg',
|
|
93
|
+
iconType: 'utility',
|
|
94
|
+
packageName: '@atlaskit/icon-lab',
|
|
95
|
+
baseIconEntryPoint: '@atlaskit/icon/base-new',
|
|
96
|
+
metadata: utilityIconMetadata,
|
|
97
|
+
migrationMap: migrationMap,
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
await buildIconsNew(configUtility).then((icons) => {
|
|
101
|
+
const iconDocs = createIconDocsNew(
|
|
102
|
+
icons,
|
|
103
|
+
'@atlaskit/icon-lab',
|
|
104
|
+
'utility',
|
|
105
|
+
{},
|
|
106
|
+
['icon', 'icon-lab', 'utility'],
|
|
107
|
+
utilityIconMetadata,
|
|
108
|
+
migrationMap,
|
|
109
|
+
);
|
|
110
|
+
|
|
111
|
+
fs.outputFile(path.resolve(root, 'src/metadata-utility.tsx'), iconDocs);
|
|
112
|
+
|
|
113
|
+
const deprecatedDocs = createDeprecatedIconDocs(
|
|
114
|
+
icons,
|
|
115
|
+
'@atlaskit/icon-lab',
|
|
116
|
+
'utility',
|
|
117
|
+
utilityIconMetadata,
|
|
118
|
+
migrationMap,
|
|
119
|
+
);
|
|
120
|
+
|
|
121
|
+
fs.outputFile(path.resolve(root, 'src/deprecated-utility.tsx'), deprecatedDocs);
|
|
122
|
+
|
|
123
|
+
// Generate VR tests
|
|
124
|
+
if (Object.entries(utilityIconMetadata).length > 0) {
|
|
125
|
+
const [vrExampleUtility, vrTestUtility] = createVRTest(
|
|
126
|
+
utilityIconMetadata,
|
|
127
|
+
'../../../..',
|
|
128
|
+
20,
|
|
129
|
+
'utility',
|
|
130
|
+
true,
|
|
131
|
+
);
|
|
132
|
+
fs.outputFile(
|
|
133
|
+
path.resolve(root, 'src/__tests__/vr-tests/examples/all-utility-icons.tsx'),
|
|
134
|
+
vrExampleUtility,
|
|
135
|
+
);
|
|
136
|
+
fs.outputFile(
|
|
137
|
+
path.resolve(root, 'src/__tests__/vr-tests/all-utility-icons.test.vr.tsx'),
|
|
138
|
+
vrTestUtility,
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
});
|
|
21
142
|
}
|
|
22
143
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const config: NewIconBuildConfig = {
|
|
27
|
-
srcDir: path.resolve(root, 'icons_raw/core'),
|
|
28
|
-
processedDir: path.resolve(root, 'svgs/core'),
|
|
29
|
-
destDir: path.resolve(root, 'core'),
|
|
30
|
-
maxWidth: 24,
|
|
31
|
-
maxHeight: 24,
|
|
32
|
-
glob: '**/*.svg',
|
|
33
|
-
iconType: 'core',
|
|
34
|
-
packageName: '@atlaskit/icon-lab',
|
|
35
|
-
baseIconEntryPoint: '@atlaskit/icon/base-new',
|
|
36
|
-
metadata: coreIconMetadata,
|
|
37
|
-
migrationMap: migrationMap,
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
buildIcons(config).then((icons) => {
|
|
41
|
-
const iconDocs = createIconDocsNew(
|
|
42
|
-
icons,
|
|
43
|
-
'@atlaskit/icon-lab',
|
|
44
|
-
'core',
|
|
45
|
-
{},
|
|
46
|
-
['icon', 'icon-lab', 'core'],
|
|
47
|
-
coreIconMetadata,
|
|
48
|
-
migrationMap,
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
fs.outputFile(path.resolve(root, 'src/metadata-core.tsx'), iconDocs);
|
|
52
|
-
|
|
53
|
-
const deprecatedDocs = createDeprecatedIconDocs(
|
|
54
|
-
icons,
|
|
55
|
-
'@atlaskit/icon-lab',
|
|
56
|
-
'core',
|
|
57
|
-
coreIconMetadata,
|
|
58
|
-
migrationMap,
|
|
59
|
-
);
|
|
60
|
-
|
|
61
|
-
fs.outputFile(path.resolve(root, 'src/deprecated-core.tsx'), deprecatedDocs);
|
|
62
|
-
|
|
63
|
-
// Generate VR tests
|
|
64
|
-
const [vrExampleCore, vrTestCore] = createVRTest(coreIconMetadata, '../../../..', 20, 'core');
|
|
65
|
-
fs.outputFile(
|
|
66
|
-
path.resolve(root, 'src/__tests__/vr-tests/examples/all-core-icons.tsx'),
|
|
67
|
-
vrExampleCore,
|
|
68
|
-
);
|
|
69
|
-
fs.outputFile(
|
|
70
|
-
path.resolve(root, 'src/__tests__/vr-tests/all-core-icons.test.vr.tsx'),
|
|
71
|
-
vrTestCore,
|
|
72
|
-
);
|
|
144
|
+
main().catch((error) => {
|
|
145
|
+
console.error(error);
|
|
146
|
+
process.exit(1);
|
|
73
147
|
});
|
package/core/spaces.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::8a1672651758d886f8a088b1bc179ac7>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
|
|
8
|
+
|
|
9
|
+
declare const SpacesIcon: {
|
|
10
|
+
(props: NewCoreIconProps): JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
export default SpacesIcon;
|
package/core/spaces.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::d1a06dfffd5103612dfe32ec4704a410>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
"use strict";
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "__esModule", {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
exports.default = void 0;
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
/**
|
|
16
|
+
* Icon: "Spaces".
|
|
17
|
+
* Category: single-purpose
|
|
18
|
+
* Location: @atlaskit/icon-lab
|
|
19
|
+
* Usage guidance: Reserved for use for Jira Projects for now. This will replace the Jira rocket.
|
|
20
|
+
|
|
21
|
+
More context: Later, it will eventually replace the Confluence Spaces icon later when Jira Projects -> Jira Spaces. This is a planned phased rollout.
|
|
22
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
23
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
24
|
+
*/
|
|
25
|
+
const SpacesIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
|
|
26
|
+
dangerouslySetGlyph: `<path fill="currentcolor" d="M13.809 9.496a5.98 5.98 0 0 1-2.809 3.7 5.98 5.98 0 0 1-4.608.584 29.4 29.4 0 0 0 3.858-1.882 29.4 29.4 0 0 0 3.559-2.402"/><path fill="currentcolor" fill-rule="evenodd" d="M5 2.804a6 6 0 0 1 6.515.333c.859-.264 1.65-.424 2.308-.447.377-.013.751.017 1.083.126.338.11.678.32.888.684.354.613.152 1.297-.107 1.8-.276.539-.736 1.113-1.306 1.689q-.197.195-.413.396c-.444.413-.954.837-1.517 1.263a29 29 0 0 1-2.951 1.95 29 29 0 0 1-3.165 1.581 20 20 0 0 1-1.85.683l-.003-.001q-.28.087-.548.159c-.783.206-1.511.318-2.116.288-.505-.025-1.114-.162-1.49-.63l-.052-.068-.07-.11-.07-.138a1.6 1.6 0 0 1-.078-.973c.071-.342.231-.681.431-1.001.35-.559.883-1.164 1.541-1.775A6 6 0 0 1 5 2.804m-2.541 7.499c-.302.324-.536.62-.698.879-.147.235-.213.407-.236.516l-.004.045c.048.022.155.056.37.067.329.016.78-.036 1.343-.165a6 6 0 0 1-.775-1.342m8.429-5.756A4.502 4.502 0 0 0 3.52 8.435l.045.34c.089.504.265 1.004.538 1.475.198.344.435.652.702.921 1.181-.43 2.542-1.062 3.945-1.872s2.63-1.672 3.593-2.48a4.5 4.5 0 0 0-1.31-2.146zm2.987-.36c-.306.011-.68.067-1.111.166q.233.306.432.647.196.341.342.696c.394-.424.665-.79.816-1.081.098-.192.121-.302.127-.355q-.016-.009-.041-.018c-.106-.035-.288-.064-.565-.054" clip-rule="evenodd"/>`
|
|
27
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
28
|
+
}, props));
|
|
29
|
+
SpacesIcon.displayName = 'SpacesIcon';
|
|
30
|
+
var _default = exports.default = SpacesIcon;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
+
*
|
|
10
|
+
* To change the format of this file, modify `createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
|
|
11
|
+
*
|
|
12
|
+
* @codegen <<SignedSource::8445ed95dffea52ddea417fc5752ff90>>
|
|
13
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
14
|
+
*/
|
|
15
|
+
var deprecatedIcons = {};
|
|
16
|
+
var _default = exports.default = deprecatedIcons;
|
|
@@ -10,4 +10,11 @@ Object.defineProperty(exports, "deprecatedCore", {
|
|
|
10
10
|
return _deprecatedCore.default;
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
|
-
|
|
13
|
+
Object.defineProperty(exports, "deprecatedUtility", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function get() {
|
|
16
|
+
return _deprecatedUtility.default;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
var _deprecatedCore = _interopRequireDefault(require("../deprecated-core"));
|
|
20
|
+
var _deprecatedUtility = _interopRequireDefault(require("../deprecated-utility"));
|
|
@@ -9,7 +9,7 @@ exports.default = void 0;
|
|
|
9
9
|
*
|
|
10
10
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
11
11
|
*
|
|
12
|
-
* @codegen <<SignedSource::
|
|
12
|
+
* @codegen <<SignedSource::a4efd214c6f1d8cddb68a15f5d6525cf>>
|
|
13
13
|
* @codegenCommand yarn build:icon-glyphs
|
|
14
14
|
*/
|
|
15
15
|
|
|
@@ -1394,6 +1394,17 @@ var metadata = {
|
|
|
1394
1394
|
status: 'published',
|
|
1395
1395
|
slackChannel: '#jira-design-system-figma-libraries'
|
|
1396
1396
|
},
|
|
1397
|
+
spaces: {
|
|
1398
|
+
keywords: ['spaces', 'icon', 'icon-lab', 'core', 'space', 'spaces', 'projects'],
|
|
1399
|
+
componentName: 'SpacesIcon',
|
|
1400
|
+
package: '@atlaskit/icon-lab/core/spaces',
|
|
1401
|
+
type: 'core',
|
|
1402
|
+
categorization: 'single-purpose',
|
|
1403
|
+
usage: 'Reserved for use for Jira Projects for now. This will replace the Jira rocket. More context: Later, it will eventually replace the Confluence Spaces icon later when Jira Projects -> Jira Spaces. This is a planned phased rollout.',
|
|
1404
|
+
team: 'Jira',
|
|
1405
|
+
status: 'published',
|
|
1406
|
+
slackChannel: '#jira-design-system-figma-libraries'
|
|
1407
|
+
},
|
|
1397
1408
|
speedometer: {
|
|
1398
1409
|
keywords: ['speedometer', 'icon', 'icon-lab', 'core', 'speed', 'performance', 'dial', 'fast'],
|
|
1399
1410
|
componentName: 'SpeedometerIcon',
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
+
*
|
|
10
|
+
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
11
|
+
*
|
|
12
|
+
* @codegen <<SignedSource::04af6dfad1ade5135739e980e9e566f4>>
|
|
13
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
var metadata = {};
|
|
17
|
+
var _default = exports.default = metadata;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* To change the format of this file, modify `createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::8445ed95dffea52ddea417fc5752ff90>>
|
|
7
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
8
|
+
*/
|
|
9
|
+
const deprecatedIcons = {};
|
|
10
|
+
export default deprecatedIcons;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { default as deprecatedCore } from '../deprecated-core';
|
|
1
|
+
export { default as deprecatedCore } from '../deprecated-core';
|
|
2
|
+
export { default as deprecatedUtility } from '../deprecated-utility';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a4efd214c6f1d8cddb68a15f5d6525cf>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -1388,6 +1388,17 @@ const metadata = {
|
|
|
1388
1388
|
status: 'published',
|
|
1389
1389
|
slackChannel: '#jira-design-system-figma-libraries'
|
|
1390
1390
|
},
|
|
1391
|
+
spaces: {
|
|
1392
|
+
keywords: ['spaces', 'icon', 'icon-lab', 'core', 'space', 'spaces', 'projects'],
|
|
1393
|
+
componentName: 'SpacesIcon',
|
|
1394
|
+
package: '@atlaskit/icon-lab/core/spaces',
|
|
1395
|
+
type: 'core',
|
|
1396
|
+
categorization: 'single-purpose',
|
|
1397
|
+
usage: 'Reserved for use for Jira Projects for now. This will replace the Jira rocket. More context: Later, it will eventually replace the Confluence Spaces icon later when Jira Projects -> Jira Spaces. This is a planned phased rollout.',
|
|
1398
|
+
team: 'Jira',
|
|
1399
|
+
status: 'published',
|
|
1400
|
+
slackChannel: '#jira-design-system-figma-libraries'
|
|
1401
|
+
},
|
|
1391
1402
|
speedometer: {
|
|
1392
1403
|
keywords: ['speedometer', 'icon', 'icon-lab', 'core', 'speed', 'performance', 'dial', 'fast'],
|
|
1393
1404
|
componentName: 'SpeedometerIcon',
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::04af6dfad1ade5135739e980e9e566f4>>
|
|
7
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
const metadata = {};
|
|
11
|
+
export default metadata;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* To change the format of this file, modify `createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::8445ed95dffea52ddea417fc5752ff90>>
|
|
7
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
8
|
+
*/
|
|
9
|
+
var deprecatedIcons = {};
|
|
10
|
+
export default deprecatedIcons;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { default as deprecatedCore } from '../deprecated-core';
|
|
1
|
+
export { default as deprecatedCore } from '../deprecated-core';
|
|
2
|
+
export { default as deprecatedUtility } from '../deprecated-utility';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a4efd214c6f1d8cddb68a15f5d6525cf>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -1388,6 +1388,17 @@ var metadata = {
|
|
|
1388
1388
|
status: 'published',
|
|
1389
1389
|
slackChannel: '#jira-design-system-figma-libraries'
|
|
1390
1390
|
},
|
|
1391
|
+
spaces: {
|
|
1392
|
+
keywords: ['spaces', 'icon', 'icon-lab', 'core', 'space', 'spaces', 'projects'],
|
|
1393
|
+
componentName: 'SpacesIcon',
|
|
1394
|
+
package: '@atlaskit/icon-lab/core/spaces',
|
|
1395
|
+
type: 'core',
|
|
1396
|
+
categorization: 'single-purpose',
|
|
1397
|
+
usage: 'Reserved for use for Jira Projects for now. This will replace the Jira rocket. More context: Later, it will eventually replace the Confluence Spaces icon later when Jira Projects -> Jira Spaces. This is a planned phased rollout.',
|
|
1398
|
+
team: 'Jira',
|
|
1399
|
+
status: 'published',
|
|
1400
|
+
slackChannel: '#jira-design-system-figma-libraries'
|
|
1401
|
+
},
|
|
1391
1402
|
speedometer: {
|
|
1392
1403
|
keywords: ['speedometer', 'icon', 'icon-lab', 'core', 'speed', 'performance', 'dial', 'fast'],
|
|
1393
1404
|
componentName: 'SpeedometerIcon',
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::04af6dfad1ade5135739e980e9e566f4>>
|
|
7
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
var metadata = {};
|
|
11
|
+
export default metadata;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* To change the format of this file, modify `createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::8445ed95dffea52ddea417fc5752ff90>>
|
|
7
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
8
|
+
*/
|
|
9
|
+
declare const deprecatedIcons: Record<string, {
|
|
10
|
+
message: string;
|
|
11
|
+
unfixable?: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
export default deprecatedIcons;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a4efd214c6f1d8cddb68a15f5d6525cf>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
interface metadata {
|
|
@@ -58,6 +58,10 @@ interface metadata {
|
|
|
58
58
|
type: 'core' | 'utility';
|
|
59
59
|
location: '@atlaskit/icon' | '@atlaskit/icon-lab' | '@atlassian/icon-private';
|
|
60
60
|
};
|
|
61
|
+
/**
|
|
62
|
+
* Whether the icon should be recommended as a small icon
|
|
63
|
+
*/
|
|
64
|
+
shouldRecommendSmallIcon?: boolean;
|
|
61
65
|
}
|
|
62
66
|
declare const metadata: Record<string, metadata>;
|
|
63
67
|
export default metadata;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::04af6dfad1ade5135739e980e9e566f4>>
|
|
7
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
8
|
+
*/
|
|
9
|
+
interface metadata {
|
|
10
|
+
/**
|
|
11
|
+
* Default component name for the icon
|
|
12
|
+
*/
|
|
13
|
+
componentName: string;
|
|
14
|
+
/**
|
|
15
|
+
* Package path to the icon component
|
|
16
|
+
*/
|
|
17
|
+
package: string;
|
|
18
|
+
/**
|
|
19
|
+
* The category of the icon:
|
|
20
|
+
* - 'single-purpose' icons should only be used for the purposes listed in the 'usage' field
|
|
21
|
+
* - 'multi-purpose' icons are designed for various use cases and don't have the same usage restrictions
|
|
22
|
+
* - 'utility' icons are used for utility purposes
|
|
23
|
+
*/
|
|
24
|
+
categorization: 'single-purpose' | 'multi-purpose' | 'utility';
|
|
25
|
+
/**
|
|
26
|
+
* The type of the icon - either a 16px 'core' icon, or a 12px 'utility' icon
|
|
27
|
+
*/
|
|
28
|
+
type: 'core' | 'utility';
|
|
29
|
+
/**
|
|
30
|
+
* Usage guidelines for the icon. For single-purpose icons,
|
|
31
|
+
*/
|
|
32
|
+
usage?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Additional keywords used to assist in search/lookup of an icon
|
|
35
|
+
*/
|
|
36
|
+
keywords: string[];
|
|
37
|
+
/**
|
|
38
|
+
* The name of the team owning the icon
|
|
39
|
+
*/
|
|
40
|
+
team: string;
|
|
41
|
+
/**
|
|
42
|
+
* The status of the icon
|
|
43
|
+
*/
|
|
44
|
+
status?: 'draft' | 'ready-to-publish' | 'published' | 'modified' | 'deprecated';
|
|
45
|
+
/**
|
|
46
|
+
* Contact slack channel for the team owning the icon
|
|
47
|
+
*/
|
|
48
|
+
slackChannel?: string;
|
|
49
|
+
/**
|
|
50
|
+
* A list of keys for old icons that have been replaced by this icon
|
|
51
|
+
*/
|
|
52
|
+
oldName?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* A replacement icon if this icon has been deprecated
|
|
55
|
+
*/
|
|
56
|
+
replacement?: {
|
|
57
|
+
name: string;
|
|
58
|
+
type: 'core' | 'utility';
|
|
59
|
+
location: '@atlaskit/icon' | '@atlaskit/icon-lab' | '@atlassian/icon-private';
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Whether the icon should be recommended as a small icon
|
|
63
|
+
*/
|
|
64
|
+
shouldRecommendSmallIcon?: boolean;
|
|
65
|
+
}
|
|
66
|
+
declare const metadata: Record<string, metadata>;
|
|
67
|
+
export default metadata;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* To change the format of this file, modify `createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::8445ed95dffea52ddea417fc5752ff90>>
|
|
7
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
8
|
+
*/
|
|
9
|
+
declare const deprecatedIcons: Record<string, {
|
|
10
|
+
message: string;
|
|
11
|
+
unfixable?: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
export default deprecatedIcons;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a4efd214c6f1d8cddb68a15f5d6525cf>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
interface metadata {
|
|
@@ -58,6 +58,10 @@ interface metadata {
|
|
|
58
58
|
type: 'core' | 'utility';
|
|
59
59
|
location: '@atlaskit/icon' | '@atlaskit/icon-lab' | '@atlassian/icon-private';
|
|
60
60
|
};
|
|
61
|
+
/**
|
|
62
|
+
* Whether the icon should be recommended as a small icon
|
|
63
|
+
*/
|
|
64
|
+
shouldRecommendSmallIcon?: boolean;
|
|
61
65
|
}
|
|
62
66
|
declare const metadata: Record<string, metadata>;
|
|
63
67
|
export default metadata;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::04af6dfad1ade5135739e980e9e566f4>>
|
|
7
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
8
|
+
*/
|
|
9
|
+
interface metadata {
|
|
10
|
+
/**
|
|
11
|
+
* Default component name for the icon
|
|
12
|
+
*/
|
|
13
|
+
componentName: string;
|
|
14
|
+
/**
|
|
15
|
+
* Package path to the icon component
|
|
16
|
+
*/
|
|
17
|
+
package: string;
|
|
18
|
+
/**
|
|
19
|
+
* The category of the icon:
|
|
20
|
+
* - 'single-purpose' icons should only be used for the purposes listed in the 'usage' field
|
|
21
|
+
* - 'multi-purpose' icons are designed for various use cases and don't have the same usage restrictions
|
|
22
|
+
* - 'utility' icons are used for utility purposes
|
|
23
|
+
*/
|
|
24
|
+
categorization: 'single-purpose' | 'multi-purpose' | 'utility';
|
|
25
|
+
/**
|
|
26
|
+
* The type of the icon - either a 16px 'core' icon, or a 12px 'utility' icon
|
|
27
|
+
*/
|
|
28
|
+
type: 'core' | 'utility';
|
|
29
|
+
/**
|
|
30
|
+
* Usage guidelines for the icon. For single-purpose icons,
|
|
31
|
+
*/
|
|
32
|
+
usage?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Additional keywords used to assist in search/lookup of an icon
|
|
35
|
+
*/
|
|
36
|
+
keywords: string[];
|
|
37
|
+
/**
|
|
38
|
+
* The name of the team owning the icon
|
|
39
|
+
*/
|
|
40
|
+
team: string;
|
|
41
|
+
/**
|
|
42
|
+
* The status of the icon
|
|
43
|
+
*/
|
|
44
|
+
status?: 'draft' | 'ready-to-publish' | 'published' | 'modified' | 'deprecated';
|
|
45
|
+
/**
|
|
46
|
+
* Contact slack channel for the team owning the icon
|
|
47
|
+
*/
|
|
48
|
+
slackChannel?: string;
|
|
49
|
+
/**
|
|
50
|
+
* A list of keys for old icons that have been replaced by this icon
|
|
51
|
+
*/
|
|
52
|
+
oldName?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* A replacement icon if this icon has been deprecated
|
|
55
|
+
*/
|
|
56
|
+
replacement?: {
|
|
57
|
+
name: string;
|
|
58
|
+
type: 'core' | 'utility';
|
|
59
|
+
location: '@atlaskit/icon' | '@atlaskit/icon-lab' | '@atlassian/icon-private';
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Whether the icon should be recommended as a small icon
|
|
63
|
+
*/
|
|
64
|
+
shouldRecommendSmallIcon?: boolean;
|
|
65
|
+
}
|
|
66
|
+
declare const metadata: Record<string, metadata>;
|
|
67
|
+
export default metadata;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon-lab",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.0",
|
|
4
4
|
"description": "An icon package for public icon contributions",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/icon": "^26.
|
|
35
|
+
"@atlaskit/icon": "^26.1.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@af/icon-build-process": "workspace:^",
|
|
43
43
|
"@af/visual-regression": "workspace:^",
|
|
44
|
-
"@atlaskit/button": "^23.
|
|
45
|
-
"@atlaskit/code": "^17.
|
|
44
|
+
"@atlaskit/button": "^23.2.0",
|
|
45
|
+
"@atlaskit/code": "^17.2.0",
|
|
46
46
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
47
47
|
"@atlaskit/heading": "^5.2.0",
|
|
48
|
-
"@atlaskit/modal-dialog": "^14.
|
|
49
|
-
"@atlaskit/primitives": "^14.
|
|
48
|
+
"@atlaskit/modal-dialog": "^14.2.0",
|
|
49
|
+
"@atlaskit/primitives": "^14.8.0",
|
|
50
50
|
"@atlaskit/textfield": "^8.0.0",
|
|
51
|
-
"@atlaskit/tokens": "^4.
|
|
51
|
+
"@atlaskit/tokens": "^4.9.0",
|
|
52
52
|
"@atlaskit/tooltip": "^20.0.0",
|
|
53
53
|
"@atlassian/ssr-tests": "^0.2.0",
|
|
54
54
|
"@compiled/react": "^0.18.3",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" d="M13.809 9.496a5.98 5.98 0 0 1-2.809 3.7 5.98 5.98 0 0 1-4.608.584 29.4 29.4 0 0 0 3.858-1.882 29.4 29.4 0 0 0 3.559-2.402"/><path fill="currentcolor" fill-rule="evenodd" d="M5 2.804a6 6 0 0 1 6.515.333c.859-.264 1.65-.424 2.308-.447.377-.013.751.017 1.083.126.338.11.678.32.888.684.354.613.152 1.297-.107 1.8-.276.539-.736 1.113-1.306 1.689q-.197.195-.413.396c-.444.413-.954.837-1.517 1.263a29 29 0 0 1-2.951 1.95 29 29 0 0 1-3.165 1.581 20 20 0 0 1-1.85.683l-.003-.001q-.28.087-.548.159c-.783.206-1.511.318-2.116.288-.505-.025-1.114-.162-1.49-.63l-.052-.068-.07-.11-.07-.138a1.6 1.6 0 0 1-.078-.973c.071-.342.231-.681.431-1.001.35-.559.883-1.164 1.541-1.775A6 6 0 0 1 5 2.804m-2.541 7.499c-.302.324-.536.62-.698.879-.147.235-.213.407-.236.516l-.004.045c.048.022.155.056.37.067.329.016.78-.036 1.343-.165a6 6 0 0 1-.775-1.342m8.429-5.756A4.502 4.502 0 0 0 3.52 8.435l.045.34c.089.504.265 1.004.538 1.475.198.344.435.652.702.921 1.181-.43 2.542-1.062 3.945-1.872s2.63-1.672 3.593-2.48a4.5 4.5 0 0 0-1.31-2.146zm2.987-.36c-.306.011-.68.067-1.111.166q.233.306.432.647.196.341.342.696c.394-.424.665-.79.816-1.081.098-.192.121-.302.127-.355q-.016-.009-.041-.018c-.106-.035-.288-.064-.565-.054" clip-rule="evenodd"/></svg>
|