@atlaskit/icon-lab 1.0.2 → 1.2.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 CHANGED
@@ -1,5 +1,46 @@
1
1
  # @atlaskit/icon-lab
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#168599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168599)
8
+ [`48b86e5124c23`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/48b86e5124c23) -
9
+ This release adds a supplementary set of icons to `@atlaskit/icon-lab`.
10
+
11
+ ### Added:
12
+
13
+ **`@atlaskit/icon-lab/core`**
14
+
15
+ - `assets-data-manager`
16
+ - `assets-schema`
17
+ - `initiative`
18
+ - `qr-code`
19
+
20
+ ### Updated:
21
+
22
+ **`@atlaskit/icon-lab/core`**
23
+
24
+ - `vulnerability`
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies
29
+
30
+ ## 1.1.0
31
+
32
+ ### Minor Changes
33
+
34
+ - [#162725](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/162725)
35
+ [`b2449424247a3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b2449424247a3) -
36
+ New deprecation endpoint to identify icons that have been deprecated. Used with the
37
+ `no-deprecated-imports` lint rule to assist with displaying errors and auto-fixing those icons
38
+ with a defined replacement.
39
+
40
+ ### Patch Changes
41
+
42
+ - Updated dependencies
43
+
3
44
  ## 1.0.2
4
45
 
5
46
  ### Patch Changes
package/build/index.tsx CHANGED
@@ -3,10 +3,14 @@ import path from 'path';
3
3
  import fs from 'fs-extra';
4
4
  import pkgDir from 'pkg-dir';
5
5
 
6
- import { UNSAFE_buildNew as buildIcons, UNSAFE_createIconDocsNew } from '@af/icon-build-process';
7
- import type { UNSAFE_NewIconBuildConfig } from '@af/icon-build-process';
8
-
9
- import iconMetadata from '../icons_raw/metadata-core';
6
+ import {
7
+ UNSAFE_buildNew as buildIcons,
8
+ UNSAFE_createDeprecatedIconDocs,
9
+ UNSAFE_createIconDocsNew,
10
+ type UNSAFE_NewIconBuildConfig,
11
+ } from '@af/icon-build-process';
12
+
13
+ import coreIconMetadata from '../icons_raw/metadata-core';
10
14
  import migrationMap from '../src/migration-map';
11
15
 
12
16
  const root = pkgDir.sync();
@@ -28,7 +32,7 @@ const config: UNSAFE_NewIconBuildConfig = {
28
32
  iconType: 'core',
29
33
  packageName: '@atlaskit/icon-lab',
30
34
  baseIconEntryPoint: '@atlaskit/icon/UNSAFE_base-new',
31
- metadata: iconMetadata,
35
+ metadata: coreIconMetadata,
32
36
  migrationMap: migrationMap,
33
37
  };
34
38
 
@@ -39,9 +43,19 @@ buildIcons(config).then((icons) => {
39
43
  'core',
40
44
  {},
41
45
  ['icon', 'icon-lab', 'core'],
42
- iconMetadata,
46
+ coreIconMetadata,
47
+ migrationMap,
48
+ );
49
+
50
+ fs.outputFile(path.resolve(root, 'src/metadata-core.tsx'), iconDocs);
51
+
52
+ const deprecatedDocs = UNSAFE_createDeprecatedIconDocs(
53
+ icons,
54
+ '@atlaskit/icon-lab',
55
+ 'core',
56
+ coreIconMetadata,
43
57
  migrationMap,
44
58
  );
45
59
 
46
- return fs.outputFile(path.resolve(root, 'src/metadata-core.tsx'), iconDocs);
60
+ fs.outputFile(path.resolve(root, 'src/deprecated-core.tsx'), deprecatedDocs);
47
61
  });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::b0d12b78e98b02c03d6f88d8e7c4b37f>>
4
+ * @codegenCommand yarn build:icon-glyphs
5
+ */
6
+
7
+ import type React from 'react';
8
+ import type { NewCoreIconProps } from '@atlaskit/icon/UNSAFE_base-new';
9
+ import type Icon from '@atlaskit/icon/UNSAFE_base-new';
10
+
11
+ declare const AssetsDataManagerIcon: {
12
+ (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
13
+ displayName: string;
14
+ };
15
+ export default AssetsDataManagerIcon;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::8e8309941a55e150ec8706982dd52081>>
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 _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
+ /**
16
+ * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
17
+ * Please reach out in #icon-contributions before using these in production.
18
+ *
19
+ * Icon: "AssetsDataManager".
20
+ * Category: single-purpose
21
+ * Location: @atlaskit/icon-lab
22
+ * Usage guidance: Reserved for JSM Assets.
23
+ * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
+ * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
+ */
26
+ const AssetsDataManagerIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
27
+ dangerouslySetGlyph: `<path stroke="currentcolor" stroke-width="1.5" d="M4.75 3.25a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 0H6.5c.69 0 1.25.56 1.25 1.25v7c0 .69-.56 1.25-1.25 1.25H4.75M11.25 8a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Zm0 0h-3.5m-3 4.75a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"/>`
28
+ // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
+ }, props));
30
+ AssetsDataManagerIcon.displayName = 'AssetsDataManagerIcon';
31
+ var _default = exports.default = AssetsDataManagerIcon;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::7bc65f3802f3befad1e5eeaf3a838725>>
4
+ * @codegenCommand yarn build:icon-glyphs
5
+ */
6
+
7
+ import type React from 'react';
8
+ import type { NewCoreIconProps } from '@atlaskit/icon/UNSAFE_base-new';
9
+ import type Icon from '@atlaskit/icon/UNSAFE_base-new';
10
+
11
+ declare const AssetsSchemaIcon: {
12
+ (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
13
+ displayName: string;
14
+ };
15
+ export default AssetsSchemaIcon;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::e2bd8083521be198be16ef76ab425e57>>
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 _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
+ /**
16
+ * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
17
+ * Please reach out in #icon-contributions before using these in production.
18
+ *
19
+ * Icon: "AssetsSchema".
20
+ * Category: single-purpose
21
+ * Location: @atlaskit/icon-lab
22
+ * Usage guidance: Reserved for JSM Assets.
23
+ * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
+ * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
+ */
26
+ const AssetsSchemaIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
27
+ dangerouslySetGlyph: `<path stroke="currentcolor" stroke-width="1.5" d="M10.25 7.25a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Zm0 0h-6m0-2.625v7c0 .69.56 1.25 1.25 1.25h4.75M5.75 3.25a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm7.5 9.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"/>`
28
+ // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
+ }, props));
30
+ AssetsSchemaIcon.displayName = 'AssetsSchemaIcon';
31
+ var _default = exports.default = AssetsSchemaIcon;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::21d795805994a9966df2b0fa1c940e63>>
4
+ * @codegenCommand yarn build:icon-glyphs
5
+ */
6
+
7
+ import type React from 'react';
8
+ import type { NewCoreIconProps } from '@atlaskit/icon/UNSAFE_base-new';
9
+ import type Icon from '@atlaskit/icon/UNSAFE_base-new';
10
+
11
+ declare const InitiativeIcon: {
12
+ (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
13
+ displayName: string;
14
+ };
15
+ export default InitiativeIcon;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::9d0f09cff4edaa70495d0f9416055f01>>
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 _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
+ /**
16
+ * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
17
+ * Please reach out in #icon-contributions before using these in production.
18
+ *
19
+ * Icon: "Initiative".
20
+ * Category: single-purpose
21
+ * Location: @atlaskit/icon-lab
22
+ * Usage guidance: Representing Jira Initiatives
23
+ * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
+ * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
+ */
26
+ const InitiativeIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
27
+ dangerouslySetGlyph: `<path fill="#fff" d="M3.479 13.064a1.19 1.19 0 0 1 1.128-.814h6.786c.512 0 .966.328 1.128.813l.729 2.187H2.75z"/><path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M4.607 12.25a6.25 6.25 0 1 1 6.785 0m-6.785 0a1.19 1.19 0 0 0-1.128.813L2.75 15.25h10.5l-.729-2.187a1.19 1.19 0 0 0-1.129-.813m-6.785 0h6.786M4.75 7A3.25 3.25 0 0 1 8 3.75"/>`
28
+ // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
+ }, props));
30
+ InitiativeIcon.displayName = 'InitiativeIcon';
31
+ var _default = exports.default = InitiativeIcon;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::f4696c327c074bc97c1e13f0f4052e35>>
4
+ * @codegenCommand yarn build:icon-glyphs
5
+ */
6
+
7
+ import type React from 'react';
8
+ import type { NewCoreIconProps } from '@atlaskit/icon/UNSAFE_base-new';
9
+ import type Icon from '@atlaskit/icon/UNSAFE_base-new';
10
+
11
+ declare const QrCodeIcon: {
12
+ (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
13
+ displayName: string;
14
+ };
15
+ export default QrCodeIcon;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::f37257e54ce85fe21b75a747cf9e863b>>
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 _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
+ /**
16
+ * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
17
+ * Please reach out in #icon-contributions before using these in production.
18
+ *
19
+ * Icon: "QrCode".
20
+ * Category: single-purpose
21
+ * Location: @atlaskit/icon-lab
22
+ * Usage guidance: Reserved for QR code experiences.
23
+ * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
+ * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
+ */
26
+ const QrCodeIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
27
+ dangerouslySetGlyph: `<path fill="currentcolor" d="M9.5 10H12v2.5H9.5z"/><path stroke="currentcolor" stroke-width="1.5" d="M1.75 5.25v-3.5h3.5m9 3.5v-3.5h-3.5m-9 9v3.5h3.5m9-3.5v3.5h-3.5m-7-2.75H8M11.25 4v3.25M4.5 4.5h4.25v4.25H4.5z"/>`
28
+ // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
+ }, props));
30
+ QrCodeIcon.displayName = 'QrCodeIcon';
31
+ var _default = exports.default = QrCodeIcon;
@@ -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::372db08492db251cd930b2f09abab97e>>
3
+ * @codegen <<SignedSource::486b374ab88744ed607944b9762178ec>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  "use strict";
@@ -24,7 +24,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
24
24
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
25
  */
26
26
  const VulnerabilityIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
27
- dangerouslySetGlyph: `<path fill="currentcolor" fill-rule="evenodd" d="M13 2.5h-3V1h3a2 2 0 0 1 2 2v3h-1.5V3a.5.5 0 0 0-.5-.5m-10 0a.5.5 0 0 0-.5.5v3H1V3a2 2 0 0 1 2-2h3v1.5zM2.5 10v3a.5.5 0 0 0 .5.5h3V15H3a2 2 0 0 1-2-2v-3zm11 3v-3H15v3a2 2 0 0 1-2 2h-3v-1.5h3a.5.5 0 0 0 .5-.5M7.25 8.5V4h1.5v4.5zM8 12a1 1 0 1 0 0-2 1 1 0 0 0 0 2" clip-rule="evenodd"/>`
27
+ dangerouslySetGlyph: `<path fill="currentcolor" fill-rule="evenodd" d="M10 2.5h3a.5.5 0 0 1 .5.5v3H15V3a2 2 0 0 0-2-2h-3zM2.5 3a.5.5 0 0 1 .5-.5h3V1H3a2 2 0 0 0-2 2v3h1.5zm4.75 1v4.5h1.5V4zM2.5 13v-3H1v3a2 2 0 0 0 2 2h3v-1.5H3a.5.5 0 0 1-.5-.5m11-3v3a.5.5 0 0 1-.5.5h-3V15h3a2 2 0 0 0 2-2v-3zM8 12a1 1 0 1 0 0-2 1 1 0 0 0 0 2" clip-rule="evenodd"/>`
28
28
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
29
  }, props));
30
30
  VulnerabilityIcon.displayName = 'VulnerabilityIcon';
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/icon-lab/deprecated-map",
3
+ "main": "../dist/cjs/entry-points/deprecated-map.js",
4
+ "module": "../dist/esm/entry-points/deprecated-map.js",
5
+ "module:es2019": "../dist/es2019/entry-points/deprecated-map.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/deprecated-map.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.4": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/deprecated-map.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -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 `UNSAFE_createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
11
+ *
12
+ * @codegen <<SignedSource::bdbeb289627e24a55c8fe9daf29c6b55>>
13
+ * @codegenCommand yarn build:icon-glyphs
14
+ */
15
+ var deprecatedIcons = {};
16
+ var _default = exports.default = deprecatedIcons;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "deprecatedCore", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _deprecatedCore.default;
11
+ }
12
+ });
13
+ var _deprecatedCore = _interopRequireDefault(require("../deprecated-core"));
@@ -9,11 +9,29 @@ exports.default = void 0;
9
9
  *
10
10
  * To change the format of this file, modify `UNSAFE_createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
11
11
  *
12
- * @codegen <<SignedSource::fb64e80f33776bd1206895e95a86eaa6>>
12
+ * @codegen <<SignedSource::8f87948f3b7bd2da3ce6d53f84f07265>>
13
13
  * @codegenCommand yarn build:icon-glyphs
14
14
  */
15
15
 
16
16
  var metadata = {
17
+ 'assets-data-manager': {
18
+ keywords: ['assets-data-manager', 'assetsdatamanager', 'icon', 'icon-lab', 'core', 'data manager', 'assets', 'CMDB', 'configuration management database'],
19
+ componentName: 'AssetsDataManagerIcon',
20
+ package: '@atlaskit/icon-lab/core/assets-data-manager',
21
+ type: 'core',
22
+ categorization: 'single-purpose',
23
+ usage: 'Reserved for JSM Assets.',
24
+ team: 'Assets'
25
+ },
26
+ 'assets-schema': {
27
+ keywords: ['assets-schema', 'assetsschema', 'icon', 'icon-lab', 'core', 'assets', 'CMDB', 'configuration management database'],
28
+ componentName: 'AssetsSchemaIcon',
29
+ package: '@atlaskit/icon-lab/core/assets-schema',
30
+ type: 'core',
31
+ categorization: 'single-purpose',
32
+ usage: 'Reserved for JSM Assets.',
33
+ team: 'Assets'
34
+ },
17
35
  'book-open': {
18
36
  keywords: ['book-open', 'bookopen', 'icon', 'icon-lab', 'core', 'book', 'knowledgebase article'],
19
37
  componentName: 'BookOpenIcon',
@@ -59,6 +77,15 @@ var metadata = {
59
77
  usage: 'Multi purpose',
60
78
  team: 'Design System Team'
61
79
  },
80
+ initiative: {
81
+ keywords: ['initiative', 'icon', 'icon-lab', 'core', 'fortune teller', 'crystal ball', 'future', 'issue type', 'system object', 'work collection'],
82
+ componentName: 'InitiativeIcon',
83
+ package: '@atlaskit/icon-lab/core/initiative',
84
+ type: 'core',
85
+ categorization: 'single-purpose',
86
+ usage: 'Representing Jira Initiatives',
87
+ team: 'Jira Enterprise'
88
+ },
62
89
  lozenge: {
63
90
  keywords: ['lozenge', 'icon', 'icon-lab', 'core', 'insert', 'status', 'badge'],
64
91
  componentName: 'LozengeIcon',
@@ -86,6 +113,15 @@ var metadata = {
86
113
  usage: 'Multi purpose',
87
114
  team: 'Design System Team'
88
115
  },
116
+ 'qr-code': {
117
+ keywords: ['qr-code', 'qrcode', 'icon', 'icon-lab', 'core', 'QR code', 'barcode'],
118
+ componentName: 'QrCodeIcon',
119
+ package: '@atlaskit/icon-lab/core/qr-code',
120
+ type: 'core',
121
+ categorization: 'single-purpose',
122
+ usage: 'Reserved for QR code experiences.',
123
+ team: 'Assets'
124
+ },
89
125
  'roadmaps-plan': {
90
126
  keywords: ['roadmaps-plan', 'roadmapsplan', 'icon', 'icon-lab', 'core', 'roadmaps', 'roadmap', 'plan'],
91
127
  componentName: 'RoadmapsPlanIcon',
@@ -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 `UNSAFE_createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
5
+ *
6
+ * @codegen <<SignedSource::bdbeb289627e24a55c8fe9daf29c6b55>>
7
+ * @codegenCommand yarn build:icon-glyphs
8
+ */
9
+ const deprecatedIcons = {};
10
+ export default deprecatedIcons;
@@ -0,0 +1 @@
1
+ export { default as deprecatedCore } from '../deprecated-core';
@@ -3,11 +3,29 @@
3
3
  *
4
4
  * To change the format of this file, modify `UNSAFE_createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
5
5
  *
6
- * @codegen <<SignedSource::fb64e80f33776bd1206895e95a86eaa6>>
6
+ * @codegen <<SignedSource::8f87948f3b7bd2da3ce6d53f84f07265>>
7
7
  * @codegenCommand yarn build:icon-glyphs
8
8
  */
9
9
 
10
10
  const metadata = {
11
+ 'assets-data-manager': {
12
+ keywords: ['assets-data-manager', 'assetsdatamanager', 'icon', 'icon-lab', 'core', 'data manager', 'assets', 'CMDB', 'configuration management database'],
13
+ componentName: 'AssetsDataManagerIcon',
14
+ package: '@atlaskit/icon-lab/core/assets-data-manager',
15
+ type: 'core',
16
+ categorization: 'single-purpose',
17
+ usage: 'Reserved for JSM Assets.',
18
+ team: 'Assets'
19
+ },
20
+ 'assets-schema': {
21
+ keywords: ['assets-schema', 'assetsschema', 'icon', 'icon-lab', 'core', 'assets', 'CMDB', 'configuration management database'],
22
+ componentName: 'AssetsSchemaIcon',
23
+ package: '@atlaskit/icon-lab/core/assets-schema',
24
+ type: 'core',
25
+ categorization: 'single-purpose',
26
+ usage: 'Reserved for JSM Assets.',
27
+ team: 'Assets'
28
+ },
11
29
  'book-open': {
12
30
  keywords: ['book-open', 'bookopen', 'icon', 'icon-lab', 'core', 'book', 'knowledgebase article'],
13
31
  componentName: 'BookOpenIcon',
@@ -53,6 +71,15 @@ const metadata = {
53
71
  usage: 'Multi purpose',
54
72
  team: 'Design System Team'
55
73
  },
74
+ initiative: {
75
+ keywords: ['initiative', 'icon', 'icon-lab', 'core', 'fortune teller', 'crystal ball', 'future', 'issue type', 'system object', 'work collection'],
76
+ componentName: 'InitiativeIcon',
77
+ package: '@atlaskit/icon-lab/core/initiative',
78
+ type: 'core',
79
+ categorization: 'single-purpose',
80
+ usage: 'Representing Jira Initiatives',
81
+ team: 'Jira Enterprise'
82
+ },
56
83
  lozenge: {
57
84
  keywords: ['lozenge', 'icon', 'icon-lab', 'core', 'insert', 'status', 'badge'],
58
85
  componentName: 'LozengeIcon',
@@ -80,6 +107,15 @@ const metadata = {
80
107
  usage: 'Multi purpose',
81
108
  team: 'Design System Team'
82
109
  },
110
+ 'qr-code': {
111
+ keywords: ['qr-code', 'qrcode', 'icon', 'icon-lab', 'core', 'QR code', 'barcode'],
112
+ componentName: 'QrCodeIcon',
113
+ package: '@atlaskit/icon-lab/core/qr-code',
114
+ type: 'core',
115
+ categorization: 'single-purpose',
116
+ usage: 'Reserved for QR code experiences.',
117
+ team: 'Assets'
118
+ },
83
119
  'roadmaps-plan': {
84
120
  keywords: ['roadmaps-plan', 'roadmapsplan', 'icon', 'icon-lab', 'core', 'roadmaps', 'roadmap', 'plan'],
85
121
  componentName: 'RoadmapsPlanIcon',
@@ -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 `UNSAFE_createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
5
+ *
6
+ * @codegen <<SignedSource::bdbeb289627e24a55c8fe9daf29c6b55>>
7
+ * @codegenCommand yarn build:icon-glyphs
8
+ */
9
+ var deprecatedIcons = {};
10
+ export default deprecatedIcons;
@@ -0,0 +1 @@
1
+ export { default as deprecatedCore } from '../deprecated-core';
@@ -3,11 +3,29 @@
3
3
  *
4
4
  * To change the format of this file, modify `UNSAFE_createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
5
5
  *
6
- * @codegen <<SignedSource::fb64e80f33776bd1206895e95a86eaa6>>
6
+ * @codegen <<SignedSource::8f87948f3b7bd2da3ce6d53f84f07265>>
7
7
  * @codegenCommand yarn build:icon-glyphs
8
8
  */
9
9
 
10
10
  var metadata = {
11
+ 'assets-data-manager': {
12
+ keywords: ['assets-data-manager', 'assetsdatamanager', 'icon', 'icon-lab', 'core', 'data manager', 'assets', 'CMDB', 'configuration management database'],
13
+ componentName: 'AssetsDataManagerIcon',
14
+ package: '@atlaskit/icon-lab/core/assets-data-manager',
15
+ type: 'core',
16
+ categorization: 'single-purpose',
17
+ usage: 'Reserved for JSM Assets.',
18
+ team: 'Assets'
19
+ },
20
+ 'assets-schema': {
21
+ keywords: ['assets-schema', 'assetsschema', 'icon', 'icon-lab', 'core', 'assets', 'CMDB', 'configuration management database'],
22
+ componentName: 'AssetsSchemaIcon',
23
+ package: '@atlaskit/icon-lab/core/assets-schema',
24
+ type: 'core',
25
+ categorization: 'single-purpose',
26
+ usage: 'Reserved for JSM Assets.',
27
+ team: 'Assets'
28
+ },
11
29
  'book-open': {
12
30
  keywords: ['book-open', 'bookopen', 'icon', 'icon-lab', 'core', 'book', 'knowledgebase article'],
13
31
  componentName: 'BookOpenIcon',
@@ -53,6 +71,15 @@ var metadata = {
53
71
  usage: 'Multi purpose',
54
72
  team: 'Design System Team'
55
73
  },
74
+ initiative: {
75
+ keywords: ['initiative', 'icon', 'icon-lab', 'core', 'fortune teller', 'crystal ball', 'future', 'issue type', 'system object', 'work collection'],
76
+ componentName: 'InitiativeIcon',
77
+ package: '@atlaskit/icon-lab/core/initiative',
78
+ type: 'core',
79
+ categorization: 'single-purpose',
80
+ usage: 'Representing Jira Initiatives',
81
+ team: 'Jira Enterprise'
82
+ },
56
83
  lozenge: {
57
84
  keywords: ['lozenge', 'icon', 'icon-lab', 'core', 'insert', 'status', 'badge'],
58
85
  componentName: 'LozengeIcon',
@@ -80,6 +107,15 @@ var metadata = {
80
107
  usage: 'Multi purpose',
81
108
  team: 'Design System Team'
82
109
  },
110
+ 'qr-code': {
111
+ keywords: ['qr-code', 'qrcode', 'icon', 'icon-lab', 'core', 'QR code', 'barcode'],
112
+ componentName: 'QrCodeIcon',
113
+ package: '@atlaskit/icon-lab/core/qr-code',
114
+ type: 'core',
115
+ categorization: 'single-purpose',
116
+ usage: 'Reserved for QR code experiences.',
117
+ team: 'Assets'
118
+ },
83
119
  'roadmaps-plan': {
84
120
  keywords: ['roadmaps-plan', 'roadmapsplan', 'icon', 'icon-lab', 'core', 'roadmaps', 'roadmap', 'plan'],
85
121
  componentName: 'RoadmapsPlanIcon',
@@ -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 `UNSAFE_createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
5
+ *
6
+ * @codegen <<SignedSource::bdbeb289627e24a55c8fe9daf29c6b55>>
7
+ * @codegenCommand yarn build:icon-glyphs
8
+ */
9
+ declare const deprecatedIcons: Record<string, {
10
+ message: string;
11
+ unfixable?: boolean;
12
+ }>;
13
+ export default deprecatedIcons;
@@ -0,0 +1 @@
1
+ export { default as deprecatedCore } from '../deprecated-core';
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * To change the format of this file, modify `UNSAFE_createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
5
5
  *
6
- * @codegen <<SignedSource::fb64e80f33776bd1206895e95a86eaa6>>
6
+ * @codegen <<SignedSource::8f87948f3b7bd2da3ce6d53f84f07265>>
7
7
  * @codegenCommand yarn build:icon-glyphs
8
8
  */
9
9
  interface metadata {
@@ -38,6 +38,10 @@ interface metadata {
38
38
  * The name of the team owning the icon
39
39
  */
40
40
  team: string;
41
+ /**
42
+ * The status of the icon
43
+ */
44
+ status?: 'draft' | 'ready-to-publish' | 'published' | 'modified' | 'deprecated';
41
45
  /**
42
46
  * Contact slack channel for the team owning the icon
43
47
  */
@@ -46,6 +50,14 @@ interface metadata {
46
50
  * A list of keys for old icons that have been replaced by this icon
47
51
  */
48
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
+ };
49
61
  }
50
62
  declare const metadata: Record<string, metadata>;
51
63
  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 `UNSAFE_createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
5
+ *
6
+ * @codegen <<SignedSource::bdbeb289627e24a55c8fe9daf29c6b55>>
7
+ * @codegenCommand yarn build:icon-glyphs
8
+ */
9
+ declare const deprecatedIcons: Record<string, {
10
+ message: string;
11
+ unfixable?: boolean;
12
+ }>;
13
+ export default deprecatedIcons;
@@ -0,0 +1 @@
1
+ export { default as deprecatedCore } from '../deprecated-core';
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * To change the format of this file, modify `UNSAFE_createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
5
5
  *
6
- * @codegen <<SignedSource::fb64e80f33776bd1206895e95a86eaa6>>
6
+ * @codegen <<SignedSource::8f87948f3b7bd2da3ce6d53f84f07265>>
7
7
  * @codegenCommand yarn build:icon-glyphs
8
8
  */
9
9
  interface metadata {
@@ -38,6 +38,10 @@ interface metadata {
38
38
  * The name of the team owning the icon
39
39
  */
40
40
  team: string;
41
+ /**
42
+ * The status of the icon
43
+ */
44
+ status?: 'draft' | 'ready-to-publish' | 'published' | 'modified' | 'deprecated';
41
45
  /**
42
46
  * Contact slack channel for the team owning the icon
43
47
  */
@@ -46,6 +50,14 @@ interface metadata {
46
50
  * A list of keys for old icons that have been replaced by this icon
47
51
  */
48
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
+ };
49
61
  }
50
62
  declare const metadata: Record<string, metadata>;
51
63
  export default metadata;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-lab",
3
- "version": "1.0.2",
3
+ "version": "1.2.0",
4
4
  "description": "An icon package for public icon contributions",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -24,7 +24,7 @@
24
24
  "releaseModel": "continuous",
25
25
  "website": {
26
26
  "name": "Icon",
27
- "category": "Components"
27
+ "category": "Images and icons"
28
28
  },
29
29
  "runReact18": true
30
30
  },
@@ -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": "^22.24.0",
35
+ "@atlaskit/icon": "^22.26.0",
36
36
  "@babel/runtime": "^7.0.0"
37
37
  },
38
38
  "peerDependencies": {
@@ -82,6 +82,7 @@
82
82
  }
83
83
  },
84
84
  "af:exports": {
85
+ "./deprecated-map": "./src/entry-points/deprecated-map.tsx",
85
86
  "./metadata": "./src/entry-points/metadata.tsx",
86
87
  "./UNSAFE_migration-map": "./src/migration-map.tsx",
87
88
  "./core": "./core",