@atlaskit/icon-lab 1.2.0 → 2.0.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/build/index.tsx +8 -8
  3. package/core/assets-data-manager.d.ts +3 -5
  4. package/core/assets-data-manager.js +3 -3
  5. package/core/assets-schema.d.ts +3 -5
  6. package/core/assets-schema.js +3 -3
  7. package/core/book-open.d.ts +3 -5
  8. package/core/book-open.js +3 -3
  9. package/core/coins.d.ts +3 -5
  10. package/core/coins.js +3 -3
  11. package/core/cross-octagon.d.ts +3 -5
  12. package/core/cross-octagon.js +3 -3
  13. package/core/editions.d.ts +3 -5
  14. package/core/editions.js +3 -3
  15. package/core/field-text.d.ts +3 -5
  16. package/core/field-text.js +3 -3
  17. package/core/initiative.d.ts +3 -5
  18. package/core/initiative.js +3 -3
  19. package/core/lozenge.d.ts +3 -5
  20. package/core/lozenge.js +3 -3
  21. package/core/paint-brush.d.ts +3 -5
  22. package/core/paint-brush.js +3 -3
  23. package/core/paint-roller.d.ts +3 -5
  24. package/core/paint-roller.js +3 -3
  25. package/core/qr-code.d.ts +3 -5
  26. package/core/qr-code.js +3 -3
  27. package/core/roadmaps-plan.d.ts +3 -5
  28. package/core/roadmaps-plan.js +3 -3
  29. package/core/roadmaps-service.d.ts +3 -5
  30. package/core/roadmaps-service.js +3 -3
  31. package/core/speedometer.d.ts +3 -5
  32. package/core/speedometer.js +3 -3
  33. package/core/takeout-container.d.ts +3 -5
  34. package/core/takeout-container.js +3 -3
  35. package/core/ticket.d.ts +3 -5
  36. package/core/ticket.js +3 -3
  37. package/core/vehicle-train.d.ts +3 -5
  38. package/core/vehicle-train.js +3 -3
  39. package/core/vulnerability.d.ts +3 -5
  40. package/core/vulnerability.js +3 -3
  41. package/core/wallet.d.ts +3 -5
  42. package/core/wallet.js +3 -3
  43. package/core/wrench.d.ts +3 -5
  44. package/core/wrench.js +3 -3
  45. package/dist/cjs/deprecated-core.js +2 -2
  46. package/dist/cjs/metadata-core.js +2 -2
  47. package/dist/es2019/deprecated-core.js +2 -2
  48. package/dist/es2019/metadata-core.js +2 -2
  49. package/dist/esm/deprecated-core.js +2 -2
  50. package/dist/esm/metadata-core.js +2 -2
  51. package/dist/types/deprecated-core.d.ts +2 -2
  52. package/dist/types/metadata-core.d.ts +2 -2
  53. package/dist/types/migration-map.d.ts +2 -2
  54. package/dist/types-ts4.5/deprecated-core.d.ts +2 -2
  55. package/dist/types-ts4.5/metadata-core.d.ts +2 -2
  56. package/dist/types-ts4.5/migration-map.d.ts +2 -2
  57. package/{UNSAFE_migration-map → migration-map}/package.json +1 -1
  58. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/icon-lab
2
2
 
3
+ ## 2.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#171994](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171994)
8
+ [`be58e4bb2e387`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be58e4bb2e387) -
9
+ This release renames the UNSAFE migration map entrypoint. Also includes re-building the icons due
10
+ to UNSAFE types and entrypoints being renamed in the `@atlaskit/icon` package.
11
+
12
+ ### Renamed entrypoints:
13
+
14
+ - `@atlaskit/icon-lab/UNSAFE_migration-map` → `@atlaskit/icon-lab/migration-map`
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 1.2.0
4
21
 
5
22
  ### Minor Changes
package/build/index.tsx CHANGED
@@ -4,10 +4,10 @@ import fs from 'fs-extra';
4
4
  import pkgDir from 'pkg-dir';
5
5
 
6
6
  import {
7
- UNSAFE_buildNew as buildIcons,
8
- UNSAFE_createDeprecatedIconDocs,
9
- UNSAFE_createIconDocsNew,
10
- type UNSAFE_NewIconBuildConfig,
7
+ buildNew as buildIcons,
8
+ createDeprecatedIconDocs,
9
+ createIconDocsNew,
10
+ type NewIconBuildConfig,
11
11
  } from '@af/icon-build-process';
12
12
 
13
13
  import coreIconMetadata from '../icons_raw/metadata-core';
@@ -22,7 +22,7 @@ if (!root) {
22
22
  /**
23
23
  * The updated icon build process for the new icons under `@atlaskit/icon/core/*`
24
24
  */
25
- const config: UNSAFE_NewIconBuildConfig = {
25
+ const config: NewIconBuildConfig = {
26
26
  srcDir: path.resolve(root, 'icons_raw/core'),
27
27
  processedDir: path.resolve(root, 'icons_optimised/core'),
28
28
  destDir: path.resolve(root, 'core'),
@@ -31,13 +31,13 @@ const config: UNSAFE_NewIconBuildConfig = {
31
31
  glob: '**/*.svg',
32
32
  iconType: 'core',
33
33
  packageName: '@atlaskit/icon-lab',
34
- baseIconEntryPoint: '@atlaskit/icon/UNSAFE_base-new',
34
+ baseIconEntryPoint: '@atlaskit/icon/base-new',
35
35
  metadata: coreIconMetadata,
36
36
  migrationMap: migrationMap,
37
37
  };
38
38
 
39
39
  buildIcons(config).then((icons) => {
40
- const iconDocs = UNSAFE_createIconDocsNew(
40
+ const iconDocs = createIconDocsNew(
41
41
  icons,
42
42
  '@atlaskit/icon-lab',
43
43
  'core',
@@ -49,7 +49,7 @@ buildIcons(config).then((icons) => {
49
49
 
50
50
  fs.outputFile(path.resolve(root, 'src/metadata-core.tsx'), iconDocs);
51
51
 
52
- const deprecatedDocs = UNSAFE_createDeprecatedIconDocs(
52
+ const deprecatedDocs = createDeprecatedIconDocs(
53
53
  icons,
54
54
  '@atlaskit/icon-lab',
55
55
  'core',
@@ -1,15 +1,13 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::b0d12b78e98b02c03d6f88d8e7c4b37f>>
3
+ * @codegen <<SignedSource::c0e97abad8b4eb31cabc000ab10adaa5>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
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';
7
+ import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
10
8
 
11
9
  declare const AssetsDataManagerIcon: {
12
- (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
10
+ (props: NewCoreIconProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
13
  export default AssetsDataManagerIcon;
@@ -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::8e8309941a55e150ec8706982dd52081>>
3
+ * @codegen <<SignedSource::3f4564db0b569575d5d7ae3945006ae7>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  "use strict";
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", {
10
10
  });
11
11
  exports.default = void 0;
12
12
  var _react = _interopRequireDefault(require("react"));
13
- var _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
13
+ var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  /**
16
16
  * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
23
23
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
24
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
25
  */
26
- const AssetsDataManagerIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
26
+ const AssetsDataManagerIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
27
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
28
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
29
  }, props));
@@ -1,15 +1,13 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::7bc65f3802f3befad1e5eeaf3a838725>>
3
+ * @codegen <<SignedSource::ea6ef2e582069323b69809834a667a7b>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
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';
7
+ import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
10
8
 
11
9
  declare const AssetsSchemaIcon: {
12
- (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
10
+ (props: NewCoreIconProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
13
  export default AssetsSchemaIcon;
@@ -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::e2bd8083521be198be16ef76ab425e57>>
3
+ * @codegen <<SignedSource::c2cf6d0b083efc7534cda00bbb519961>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  "use strict";
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", {
10
10
  });
11
11
  exports.default = void 0;
12
12
  var _react = _interopRequireDefault(require("react"));
13
- var _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
13
+ var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  /**
16
16
  * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
23
23
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
24
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
25
  */
26
- const AssetsSchemaIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
26
+ const AssetsSchemaIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
27
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
28
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
29
  }, props));
@@ -1,15 +1,13 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::f8ff3f28efd3207deeae7a27cb123a7c>>
3
+ * @codegen <<SignedSource::37cacf2c7a0fa52874e37c6099a70112>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
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';
7
+ import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
10
8
 
11
9
  declare const BookOpenIcon: {
12
- (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
10
+ (props: NewCoreIconProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
13
  export default BookOpenIcon;
package/core/book-open.js CHANGED
@@ -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::ef42c13301a15ee2eb0ff2a43170429a>>
3
+ * @codegen <<SignedSource::465637393ca4634058418718d1cacdfa>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  "use strict";
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", {
10
10
  });
11
11
  exports.default = void 0;
12
12
  var _react = _interopRequireDefault(require("react"));
13
- var _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
13
+ var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  /**
16
16
  * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
23
23
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
24
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
25
  */
26
- const BookOpenIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
26
+ const BookOpenIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
27
27
  dangerouslySetGlyph: `<path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M8 15.5v-2.25m0-8.375v8.375m0-8.375C8 3.149 9.4 1.75 11.127 1.75h3.5c.346 0 .625.28.625.625v10.25c0 .345-.28.625-.625.625H8m0-8.375A3.124 3.124 0 0 0 4.876 1.75h-3.5a.625.625 0 0 0-.625.625v10.25c0 .345.28.625.625.625H8m2.5-8h2.75m-2.75 2.5h2.75"/>`
28
28
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
29
  }, props));
package/core/coins.d.ts CHANGED
@@ -1,15 +1,13 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c0f3045b04db52bc4ddd00a30edeadf0>>
3
+ * @codegen <<SignedSource::8bcc4fcbecec8f62109db64dca9d73b1>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
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';
7
+ import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
10
8
 
11
9
  declare const CoinsIcon: {
12
- (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
10
+ (props: NewCoreIconProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
13
  export default CoinsIcon;
package/core/coins.js CHANGED
@@ -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::a874ce8980c1f475633b3d5f4c53befa>>
3
+ * @codegen <<SignedSource::5d86bf2383bc81e775813c0ffe357bb7>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  "use strict";
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", {
10
10
  });
11
11
  exports.default = void 0;
12
12
  var _react = _interopRequireDefault(require("react"));
13
- var _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
13
+ var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  /**
16
16
  * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
23
23
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
24
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
25
  */
26
- const CoinsIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
26
+ const CoinsIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
27
27
  dangerouslySetGlyph: `<path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M12.477 9.454a4.25 4.25 0 1 0-5.931-5.931M10.25 10a4.25 4.25 0 1 1-8.5 0 4.25 4.25 0 0 1 8.5 0Z"/>`
28
28
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
29
  }, props));
@@ -1,15 +1,13 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c08bf193b8a3480a3d9f75bbc2271e54>>
3
+ * @codegen <<SignedSource::231243a30afd0ffb6dd6ae714d9f38c0>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
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';
7
+ import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
10
8
 
11
9
  declare const CrossOctagonIcon: {
12
- (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
10
+ (props: NewCoreIconProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
13
  export default CrossOctagonIcon;
@@ -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::1f74d3386eb42d074d46498e725f9daa>>
3
+ * @codegen <<SignedSource::f8a24881a9635fbd280b42e2158b4010>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  "use strict";
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", {
10
10
  });
11
11
  exports.default = void 0;
12
12
  var _react = _interopRequireDefault(require("react"));
13
- var _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
13
+ var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  /**
16
16
  * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
23
23
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
24
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
25
  */
26
- const CrossOctagonIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
26
+ const CrossOctagonIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
27
27
  dangerouslySetGlyph: `<path stroke="currentcolor" stroke-width="1.5" d="M3.582 3.582 1.75 5.414v5.172l1.832 1.832m0-8.836L5.414 1.75h5.172l1.832 1.832m-8.836 0L8 8m4.418 4.418 1.832-1.832V5.414l-1.832-1.832m0 8.836-1.832 1.832H5.414l-1.832-1.832m8.836 0L8 8m0 0 4.418-4.418M8 8l-4.418 4.418"/>`
28
28
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
29
  }, props));
@@ -1,15 +1,13 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::290745e7127db56e31e1b807255feb1e>>
3
+ * @codegen <<SignedSource::1cd7532aa08b850243b6462e13212206>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
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';
7
+ import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
10
8
 
11
9
  declare const EditionsIcon: {
12
- (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
10
+ (props: NewCoreIconProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
13
  export default EditionsIcon;
package/core/editions.js CHANGED
@@ -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::46d6bb71fdac68178ab8f549d07543d9>>
3
+ * @codegen <<SignedSource::afa1110716d7247ec25f8bd82a66f789>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  "use strict";
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", {
10
10
  });
11
11
  exports.default = void 0;
12
12
  var _react = _interopRequireDefault(require("react"));
13
- var _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
13
+ var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  /**
16
16
  * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
23
23
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
24
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
25
  */
26
- const EditionsIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
26
+ const EditionsIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
27
27
  dangerouslySetGlyph: `<path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="m5.25 5.75 1.25-4m-1.25 4h5.5m-5.5 0H1m4.25 0L7.92 14h.16l2.67-8.25m-4.25-4H3.25l-2.5 4L8 14.25l7.25-8.5-2.5-4H9.5m-3 0h3m1.25 4-1.25-4m1.25 4h4.125"/>`
28
28
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
29
  }, props));
@@ -1,15 +1,13 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c2177989d8c808d690151738af6d2559>>
3
+ * @codegen <<SignedSource::36920dbba4543a3fdf176f1d4c70f914>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
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';
7
+ import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
10
8
 
11
9
  declare const FieldTextIcon: {
12
- (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
10
+ (props: NewCoreIconProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
13
  export default FieldTextIcon;
@@ -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::cddf9d42850334b7932bd90cf51a8b1f>>
3
+ * @codegen <<SignedSource::fde52e6d65937d0d50a1082a4c29e7f9>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  "use strict";
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", {
10
10
  });
11
11
  exports.default = void 0;
12
12
  var _react = _interopRequireDefault(require("react"));
13
- var _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
13
+ var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  /**
16
16
  * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
23
23
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
24
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
25
  */
26
- const FieldTextIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
26
+ const FieldTextIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
27
27
  dangerouslySetGlyph: `<path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M8 1.75h2.5m2.5 0h-2.5m0 0v3.5m0 9H8m2.5 0H13m-2.5 0v-3.5m0-5.5H14c.69 0 1.25.56 1.25 1.25v3c0 .69-.56 1.25-1.25 1.25h-3.5m0-5.5v5.5M8 5.25H2c-.69 0-1.25.56-1.25 1.25v3c0 .69.56 1.25 1.25 1.25h6"/>`
28
28
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
29
  }, props));
@@ -1,15 +1,13 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::21d795805994a9966df2b0fa1c940e63>>
3
+ * @codegen <<SignedSource::988254ef1d2fd1ad987c693bcde3c9e3>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
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';
7
+ import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
10
8
 
11
9
  declare const InitiativeIcon: {
12
- (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
10
+ (props: NewCoreIconProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
13
  export default InitiativeIcon;
@@ -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::9d0f09cff4edaa70495d0f9416055f01>>
3
+ * @codegen <<SignedSource::07d6d5d6bccfb2d90827f3c8fa5f96fd>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  "use strict";
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", {
10
10
  });
11
11
  exports.default = void 0;
12
12
  var _react = _interopRequireDefault(require("react"));
13
- var _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
13
+ var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  /**
16
16
  * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
23
23
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
24
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
25
  */
26
- const InitiativeIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
26
+ const InitiativeIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
27
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
28
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
29
  }, props));
package/core/lozenge.d.ts CHANGED
@@ -1,15 +1,13 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::6b086bc8a8cf83c35314075a3c54aab0>>
3
+ * @codegen <<SignedSource::2c86b279b22e52d1b062d6721ef5fca4>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
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';
7
+ import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
10
8
 
11
9
  declare const LozengeIcon: {
12
- (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
10
+ (props: NewCoreIconProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
13
  export default LozengeIcon;
package/core/lozenge.js CHANGED
@@ -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::bad58b909cb020b76e214ca91cc8be6d>>
3
+ * @codegen <<SignedSource::fcd64d242ce4e2935c3b1af57465f1fc>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  "use strict";
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", {
10
10
  });
11
11
  exports.default = void 0;
12
12
  var _react = _interopRequireDefault(require("react"));
13
- var _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
13
+ var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  /**
16
16
  * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
23
23
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
24
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
25
  */
26
- const LozengeIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
26
+ const LozengeIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
27
27
  dangerouslySetGlyph: `<path stroke="currentcolor" stroke-width="1.5" d="M3 8h10M2 11.25h12c.69 0 1.25-.56 1.25-1.25V6c0-.69-.56-1.25-1.25-1.25H2C1.31 4.75.75 5.31.75 6v4c0 .69.56 1.25 1.25 1.25Z"/>`
28
28
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
29
  }, props));
@@ -1,15 +1,13 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::ca0486e4ac048c1ed530c8cdbc6c57ec>>
3
+ * @codegen <<SignedSource::7f535e6b114b33de8e1af500066f8146>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
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';
7
+ import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
10
8
 
11
9
  declare const PaintBrushIcon: {
12
- (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
10
+ (props: NewCoreIconProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
13
  export default PaintBrushIcon;
@@ -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::961308c63190c9a8a29f262c516ba936>>
3
+ * @codegen <<SignedSource::ac31504c730d825b34ede741ec5de080>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  "use strict";
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", {
10
10
  });
11
11
  exports.default = void 0;
12
12
  var _react = _interopRequireDefault(require("react"));
13
- var _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
13
+ var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  /**
16
16
  * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
23
23
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
24
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
25
  */
26
- const PaintBrushIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
26
+ const PaintBrushIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
27
27
  dangerouslySetGlyph: `<path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M6.75 10.25V14a1.25 1.25 0 1 0 2.5 0v-3.75m-2.5 0h2.5m-2.5 0H4.5c-.69 0-1.25-.56-1.25-1.25V7.25m6 3h2.25c.69 0 1.25-.56 1.25-1.25V7.25m-9.5 0V.75h3m-3 6.5h9.5m0 0V.75h-3m-3.5 0V3m0-2.25h3.5m0 0V4"/>`
28
28
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
29
  }, props));
@@ -1,15 +1,13 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::5f1a39ad637f3f75da35867e6c039936>>
3
+ * @codegen <<SignedSource::267570733b6f29c19ba16f0d9496e8cc>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
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';
7
+ import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
10
8
 
11
9
  declare const PaintRollerIcon: {
12
- (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
10
+ (props: NewCoreIconProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
13
  export default PaintRollerIcon;
@@ -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::6f5fa1e723e9aac092f6e2b74534be1b>>
3
+ * @codegen <<SignedSource::cf9edc79cd37971ecdd342b1e2fac634>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  "use strict";
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", {
10
10
  });
11
11
  exports.default = void 0;
12
12
  var _react = _interopRequireDefault(require("react"));
13
- var _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
13
+ var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  /**
16
16
  * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
23
23
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
24
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
25
  */
26
- const PaintRollerIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
26
+ const PaintRollerIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
27
27
  dangerouslySetGlyph: `<path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M11.75 2.5V.75h-10v3.5h10zm0 0h1.875c.345 0 .625.28.625.625V5.5c0 .69-.56 1.25-1.25 1.25H7.638A.64.64 0 0 0 7 7.388V9.75m0 0H5.75V14a1.25 1.25 0 1 0 2.5 0V9.75z"/>`
28
28
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
29
  }, props));
package/core/qr-code.d.ts CHANGED
@@ -1,15 +1,13 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::f4696c327c074bc97c1e13f0f4052e35>>
3
+ * @codegen <<SignedSource::b12846d40faacc6fa42a80add2234fda>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
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';
7
+ import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
10
8
 
11
9
  declare const QrCodeIcon: {
12
- (props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type'>): JSX.Element;
10
+ (props: NewCoreIconProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
13
  export default QrCodeIcon;
package/core/qr-code.js CHANGED
@@ -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::f37257e54ce85fe21b75a747cf9e863b>>
3
+ * @codegen <<SignedSource::9e355f66aa6e05a7badd15b68b56ee35>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  "use strict";
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", {
10
10
  });
11
11
  exports.default = void 0;
12
12
  var _react = _interopRequireDefault(require("react"));
13
- var _UNSAFE_baseNew = _interopRequireDefault(require("@atlaskit/icon/UNSAFE_base-new"));
13
+ var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  /**
16
16
  * ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
23
23
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
24
24
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
25
25
  */
26
- const QrCodeIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
26
+ const QrCodeIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
27
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
28
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
29
29
  }, props));