@atlaskit/icon-lab 4.13.0 → 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 +14 -0
- package/build/index.tsx +8 -1
- package/core/spaces.d.ts +13 -0
- package/core/spaces.js +30 -0
- package/dist/cjs/metadata-core.js +12 -1
- package/dist/cjs/metadata-utility.js +1 -1
- package/dist/es2019/metadata-core.js +12 -1
- package/dist/es2019/metadata-utility.js +1 -1
- package/dist/esm/metadata-core.js +12 -1
- package/dist/esm/metadata-utility.js +1 -1
- package/dist/types/metadata-core.d.ts +5 -1
- package/dist/types/metadata-utility.d.ts +5 -1
- package/dist/types-ts4.5/metadata-core.d.ts +5 -1
- package/dist/types-ts4.5/metadata-utility.d.ts +5 -1
- package/package.json +3 -3
- package/svgs/core/spaces.svg +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
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
|
+
|
|
3
17
|
## 4.13.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/build/index.tsx
CHANGED
|
@@ -63,7 +63,13 @@ async function main() {
|
|
|
63
63
|
fs.outputFile(path.resolve(root, 'src/deprecated-core.tsx'), deprecatedDocs);
|
|
64
64
|
|
|
65
65
|
// Generate VR tests
|
|
66
|
-
const [vrExampleCore, vrTestCore] = createVRTest(
|
|
66
|
+
const [vrExampleCore, vrTestCore] = createVRTest(
|
|
67
|
+
coreIconMetadata,
|
|
68
|
+
'../../../..',
|
|
69
|
+
20,
|
|
70
|
+
'core',
|
|
71
|
+
true,
|
|
72
|
+
);
|
|
67
73
|
fs.outputFile(
|
|
68
74
|
path.resolve(root, 'src/__tests__/vr-tests/examples/all-core-icons.tsx'),
|
|
69
75
|
vrExampleCore,
|
|
@@ -121,6 +127,7 @@ async function main() {
|
|
|
121
127
|
'../../../..',
|
|
122
128
|
20,
|
|
123
129
|
'utility',
|
|
130
|
+
true,
|
|
124
131
|
);
|
|
125
132
|
fs.outputFile(
|
|
126
133
|
path.resolve(root, 'src/__tests__/vr-tests/examples/all-utility-icons.tsx'),
|
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;
|
|
@@ -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',
|
|
@@ -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::04af6dfad1ade5135739e980e9e566f4>>
|
|
13
13
|
* @codegenCommand yarn build:icon-glyphs
|
|
14
14
|
*/
|
|
15
15
|
|
|
@@ -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',
|
|
@@ -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::04af6dfad1ade5135739e980e9e566f4>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -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',
|
|
@@ -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::04af6dfad1ade5135739e980e9e566f4>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -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;
|
|
@@ -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::04af6dfad1ade5135739e980e9e566f4>>
|
|
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;
|
|
@@ -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;
|
|
@@ -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::04af6dfad1ade5135739e980e9e566f4>>
|
|
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;
|
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/"
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@af/icon-build-process": "workspace:^",
|
|
43
43
|
"@af/visual-regression": "workspace:^",
|
|
44
|
-
"@atlaskit/button": "^23.
|
|
44
|
+
"@atlaskit/button": "^23.2.0",
|
|
45
45
|
"@atlaskit/code": "^17.2.0",
|
|
46
46
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
47
47
|
"@atlaskit/heading": "^5.2.0",
|
|
48
48
|
"@atlaskit/modal-dialog": "^14.2.0",
|
|
49
|
-
"@atlaskit/primitives": "^14.
|
|
49
|
+
"@atlaskit/primitives": "^14.8.0",
|
|
50
50
|
"@atlaskit/textfield": "^8.0.0",
|
|
51
51
|
"@atlaskit/tokens": "^4.9.0",
|
|
52
52
|
"@atlaskit/tooltip": "^20.0.0",
|
|
@@ -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>
|