@atlaskit/icon 22.23.0 → 22.24.1
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 +39 -0
- package/afm-cc/tsconfig.json +1 -2
- package/core/migration/content-wrap-left--editor-media-wrap-left.d.ts +15 -0
- package/core/migration/content-wrap-left--editor-media-wrap-left.js +33 -0
- package/core/migration/content-wrap-right--editor-media-wrap-right.d.ts +15 -0
- package/core/migration/content-wrap-right--editor-media-wrap-right.js +33 -0
- package/core/migration/discovery--editor-note.d.ts +15 -0
- package/core/migration/discovery--editor-note.js +33 -0
- package/core/migration/file--document-filled.d.ts +15 -0
- package/core/migration/file--document-filled.js +33 -0
- package/core/migration/file--document.d.ts +15 -0
- package/core/migration/file--document.js +33 -0
- package/core/migration/files--documents.d.ts +15 -0
- package/core/migration/files--documents.js +33 -0
- package/core/migration/minus--editor-divider.d.ts +15 -0
- package/core/migration/minus--editor-divider.js +33 -0
- package/dist/cjs/metadata-core.js +7 -3
- package/dist/cjs/metadata.js +2518 -360
- package/dist/cjs/migration-map.js +39 -4
- package/dist/es2019/metadata-core.js +7 -3
- package/dist/es2019/metadata.js +1078 -359
- package/dist/es2019/migration-map.js +39 -4
- package/dist/esm/metadata-core.js +7 -3
- package/dist/esm/metadata.js +1799 -359
- package/dist/esm/migration-map.js +39 -4
- package/dist/types/metadata-core.d.ts +1 -1
- package/dist/types/metadata.d.ts +13 -2
- package/dist/types/types.d.ts +9 -0
- package/dist/types-ts4.5/metadata-core.d.ts +1 -1
- package/dist/types-ts4.5/metadata.d.ts +13 -2
- package/dist/types-ts4.5/types.d.ts +9 -0
- package/glyph/document-filled.js +2 -2
- package/glyph/document.js +2 -2
- package/glyph/documents.js +2 -2
- package/glyph/editor/divider.js +4 -1
- package/glyph/editor/media-wrap-left.js +4 -1
- package/glyph/editor/media-wrap-right.js +4 -1
- package/glyph/editor/note.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @atlaskit/icon
|
|
2
2
|
|
|
3
|
+
## 22.24.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#157955](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157955)
|
|
8
|
+
[`ea8ebc84a9079`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ea8ebc84a9079) -
|
|
9
|
+
Updated migration mapping for several icon entrypoints.
|
|
10
|
+
|
|
11
|
+
**`@atlaskit/icon/core/migration`**
|
|
12
|
+
|
|
13
|
+
- `content-wrap-left--editor-media-wrap-left`
|
|
14
|
+
- `content-wrap-right--editor-media-wrap-right`
|
|
15
|
+
- `discovery--editor-note`
|
|
16
|
+
- `file--document-filled`
|
|
17
|
+
- `file--document`
|
|
18
|
+
- `files--documents`
|
|
19
|
+
- `minus--editor-divider`
|
|
20
|
+
|
|
21
|
+
Updated legacy icons to map to new icons via the icon facade:
|
|
22
|
+
|
|
23
|
+
- document → file
|
|
24
|
+
- document-filled → file
|
|
25
|
+
- documents → files
|
|
26
|
+
- editor/divider → minus
|
|
27
|
+
- editor/media-wrap-left → content-wrap-left
|
|
28
|
+
- editor/media-wrap-right → content-wrap-right
|
|
29
|
+
- editor/note → discovery
|
|
30
|
+
|
|
31
|
+
## 22.24.0
|
|
32
|
+
|
|
33
|
+
### Minor Changes
|
|
34
|
+
|
|
35
|
+
- [#155379](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/155379)
|
|
36
|
+
[`d703fb68d3059`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d703fb68d3059) -
|
|
37
|
+
Run build-glyphs in icon packages.
|
|
38
|
+
- [#155379](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/155379)
|
|
39
|
+
[`d703fb68d3059`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d703fb68d3059) -
|
|
40
|
+
Add static imports for icon metadata.
|
|
41
|
+
|
|
3
42
|
## 22.23.0
|
|
4
43
|
|
|
5
44
|
### Minor Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::ed123c466ae8d0fca547a321571416d1>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import type { NewCoreIconProps } from '@atlaskit/icon/UNSAFE_base-new';
|
|
9
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
10
|
+
|
|
11
|
+
declare const ContentWrapLeftIconMigration: {
|
|
12
|
+
(props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
export default ContentWrapLeftIconMigration;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::aa78811470485bb3a924a1ffc7ba2346>>
|
|
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 _contentWrapLeft = _interopRequireDefault(require("@atlaskit/icon/core/content-wrap-left"));
|
|
14
|
+
var _mediaWrapLeft = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/media-wrap-left"));
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
/**
|
|
17
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
|
|
18
|
+
*
|
|
19
|
+
* Migration Icon component for ContentWrapLeftIcon.
|
|
20
|
+
* This component is ContentWrapLeftIcon, with `UNSAFE_fallbackIcon` set to "EditorMediaWrapLeftIcon".
|
|
21
|
+
*
|
|
22
|
+
* Category: single-purpose
|
|
23
|
+
* Location: @atlaskit/icon
|
|
24
|
+
* Usage guidance: Single purpose - Reserved for left aligning media and content with wrapping enabled.
|
|
25
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
26
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
27
|
+
*/
|
|
28
|
+
const ContentWrapLeftIcon = props => /*#__PURE__*/_react.default.createElement(_contentWrapLeft.default, Object.assign({
|
|
29
|
+
LEGACY_fallbackIcon: _mediaWrapLeft.default
|
|
30
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
31
|
+
}, props));
|
|
32
|
+
ContentWrapLeftIcon.Name = 'ContentWrapLeftIconMigration';
|
|
33
|
+
var _default = exports.default = ContentWrapLeftIcon;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::ad0c6c4b1a9194856d4378bd807d8750>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import type { NewCoreIconProps } from '@atlaskit/icon/UNSAFE_base-new';
|
|
9
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
10
|
+
|
|
11
|
+
declare const ContentWrapRightIconMigration: {
|
|
12
|
+
(props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
export default ContentWrapRightIconMigration;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::55a7f1c09c25653217ff074c79cc9853>>
|
|
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 _contentWrapRight = _interopRequireDefault(require("@atlaskit/icon/core/content-wrap-right"));
|
|
14
|
+
var _mediaWrapRight = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/media-wrap-right"));
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
/**
|
|
17
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
|
|
18
|
+
*
|
|
19
|
+
* Migration Icon component for ContentWrapRightIcon.
|
|
20
|
+
* This component is ContentWrapRightIcon, with `UNSAFE_fallbackIcon` set to "EditorMediaWrapRightIcon".
|
|
21
|
+
*
|
|
22
|
+
* Category: single-purpose
|
|
23
|
+
* Location: @atlaskit/icon
|
|
24
|
+
* Usage guidance: Single purpose - Reserved for right aligning media and content with wrapping enabled.
|
|
25
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
26
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
27
|
+
*/
|
|
28
|
+
const ContentWrapRightIcon = props => /*#__PURE__*/_react.default.createElement(_contentWrapRight.default, Object.assign({
|
|
29
|
+
LEGACY_fallbackIcon: _mediaWrapRight.default
|
|
30
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
31
|
+
}, props));
|
|
32
|
+
ContentWrapRightIcon.Name = 'ContentWrapRightIconMigration';
|
|
33
|
+
var _default = exports.default = ContentWrapRightIcon;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::7d66bdbe58cc695156fc227a0654ef06>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import type { NewCoreIconProps } from '@atlaskit/icon/UNSAFE_base-new';
|
|
9
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
10
|
+
|
|
11
|
+
declare const DiscoveryIconMigration: {
|
|
12
|
+
(props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
export default DiscoveryIconMigration;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::9af21fe67c79950014f02edbb68b85b0>>
|
|
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 _discovery = _interopRequireDefault(require("@atlaskit/icon/core/discovery"));
|
|
14
|
+
var _note = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/note"));
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
/**
|
|
17
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
|
|
18
|
+
*
|
|
19
|
+
* Migration Icon component for DiscoveryIcon.
|
|
20
|
+
* This component is DiscoveryIcon, with `UNSAFE_fallbackIcon` set to "EditorNoteIcon".
|
|
21
|
+
*
|
|
22
|
+
* Category: single-purpose
|
|
23
|
+
* Location: @atlaskit/icon
|
|
24
|
+
* Usage guidance: Single purpose - Reserved for representing discovery. Used for Note info panel variant in Editor.
|
|
25
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
26
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
27
|
+
*/
|
|
28
|
+
const DiscoveryIcon = props => /*#__PURE__*/_react.default.createElement(_discovery.default, Object.assign({
|
|
29
|
+
LEGACY_fallbackIcon: _note.default
|
|
30
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
31
|
+
}, props));
|
|
32
|
+
DiscoveryIcon.Name = 'DiscoveryIconMigration';
|
|
33
|
+
var _default = exports.default = DiscoveryIcon;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::fa14c6d08e368b33546e9c56821965d4>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import type { NewCoreIconProps } from '@atlaskit/icon/UNSAFE_base-new';
|
|
9
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
10
|
+
|
|
11
|
+
declare const FileIconMigration: {
|
|
12
|
+
(props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
export default FileIconMigration;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::4afbad9fc39f7f3368478b0974fa96af>>
|
|
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 _file = _interopRequireDefault(require("@atlaskit/icon/core/file"));
|
|
14
|
+
var _documentFilled = _interopRequireDefault(require("@atlaskit/icon/glyph/document-filled"));
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
/**
|
|
17
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
|
|
18
|
+
*
|
|
19
|
+
* Migration Icon component for FileIcon.
|
|
20
|
+
* This component is FileIcon, with `UNSAFE_fallbackIcon` set to "DocumentFilledIcon".
|
|
21
|
+
*
|
|
22
|
+
* Category: multi-purpose
|
|
23
|
+
* Location: @atlaskit/icon
|
|
24
|
+
* Usage guidance: Multi purpose - Known uses: document, file. Do not use to represent a page — use the dedicated 'Page' icon instead.
|
|
25
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
26
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
27
|
+
*/
|
|
28
|
+
const FileIcon = props => /*#__PURE__*/_react.default.createElement(_file.default, Object.assign({
|
|
29
|
+
LEGACY_fallbackIcon: _documentFilled.default
|
|
30
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
31
|
+
}, props));
|
|
32
|
+
FileIcon.Name = 'FileIconMigration';
|
|
33
|
+
var _default = exports.default = FileIcon;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::fa14c6d08e368b33546e9c56821965d4>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import type { NewCoreIconProps } from '@atlaskit/icon/UNSAFE_base-new';
|
|
9
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
10
|
+
|
|
11
|
+
declare const FileIconMigration: {
|
|
12
|
+
(props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
export default FileIconMigration;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::4f1cf86304d50bc1fd5a255b20c6e894>>
|
|
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 _file = _interopRequireDefault(require("@atlaskit/icon/core/file"));
|
|
14
|
+
var _document = _interopRequireDefault(require("@atlaskit/icon/glyph/document"));
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
/**
|
|
17
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
|
|
18
|
+
*
|
|
19
|
+
* Migration Icon component for FileIcon.
|
|
20
|
+
* This component is FileIcon, with `UNSAFE_fallbackIcon` set to "DocumentIcon".
|
|
21
|
+
*
|
|
22
|
+
* Category: multi-purpose
|
|
23
|
+
* Location: @atlaskit/icon
|
|
24
|
+
* Usage guidance: Multi purpose - Known uses: document, file. Do not use to represent a page — use the dedicated 'Page' icon instead.
|
|
25
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
26
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
27
|
+
*/
|
|
28
|
+
const FileIcon = props => /*#__PURE__*/_react.default.createElement(_file.default, Object.assign({
|
|
29
|
+
LEGACY_fallbackIcon: _document.default
|
|
30
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
31
|
+
}, props));
|
|
32
|
+
FileIcon.Name = 'FileIconMigration';
|
|
33
|
+
var _default = exports.default = FileIcon;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::1fa3fa8bdde7f161ef03648f6b07d507>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import type { NewCoreIconProps } from '@atlaskit/icon/UNSAFE_base-new';
|
|
9
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
10
|
+
|
|
11
|
+
declare const FilesIconMigration: {
|
|
12
|
+
(props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
export default FilesIconMigration;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::6dc1a5b1450546971bd4971237c7fcf0>>
|
|
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 _files = _interopRequireDefault(require("@atlaskit/icon/core/files"));
|
|
14
|
+
var _documents = _interopRequireDefault(require("@atlaskit/icon/glyph/documents"));
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
/**
|
|
17
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
|
|
18
|
+
*
|
|
19
|
+
* Migration Icon component for FilesIcon.
|
|
20
|
+
* This component is FilesIcon, with `UNSAFE_fallbackIcon` set to "DocumentsIcon".
|
|
21
|
+
*
|
|
22
|
+
* Category: multi-purpose
|
|
23
|
+
* Location: @atlaskit/icon
|
|
24
|
+
* Usage guidance: Multi purpose - Known uses: documents, files. Do not use to represent pages — use the dedicated 'Pages' icon instead.
|
|
25
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
26
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
27
|
+
*/
|
|
28
|
+
const FilesIcon = props => /*#__PURE__*/_react.default.createElement(_files.default, Object.assign({
|
|
29
|
+
LEGACY_fallbackIcon: _documents.default
|
|
30
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
31
|
+
}, props));
|
|
32
|
+
FilesIcon.Name = 'FilesIconMigration';
|
|
33
|
+
var _default = exports.default = FilesIcon;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::0695dd20fb5e5b1c65d4e21a9a397ff2>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import type { NewCoreIconProps } from '@atlaskit/icon/UNSAFE_base-new';
|
|
9
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
10
|
+
|
|
11
|
+
declare const MinusIconMigration: {
|
|
12
|
+
(props: Omit<NewCoreIconProps, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
export default MinusIconMigration;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::4672c42339fc6e042990bac4beef63a0>>
|
|
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 _minus = _interopRequireDefault(require("@atlaskit/icon/core/minus"));
|
|
14
|
+
var _divider = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/divider"));
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
/**
|
|
17
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
|
|
18
|
+
*
|
|
19
|
+
* Migration Icon component for MinusIcon.
|
|
20
|
+
* This component is MinusIcon, with `UNSAFE_fallbackIcon` set to "EditorDividerIcon".
|
|
21
|
+
*
|
|
22
|
+
* Category: multi-purpose
|
|
23
|
+
* Location: @atlaskit/icon
|
|
24
|
+
* Usage guidance: Multi purpose - Known uses: horizontal rule in Editor.
|
|
25
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
26
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
27
|
+
*/
|
|
28
|
+
const MinusIcon = props => /*#__PURE__*/_react.default.createElement(_minus.default, Object.assign({
|
|
29
|
+
LEGACY_fallbackIcon: _divider.default
|
|
30
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
31
|
+
}, props));
|
|
32
|
+
MinusIcon.Name = 'MinusIconMigration';
|
|
33
|
+
var _default = exports.default = MinusIcon;
|
|
@@ -9,7 +9,7 @@ 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::
|
|
12
|
+
* @codegen <<SignedSource::ac7f367e690af67950a58d9f31ed30f7>>
|
|
13
13
|
* @codegenCommand yarn build:icon-glyphs
|
|
14
14
|
*/
|
|
15
15
|
|
|
@@ -743,6 +743,7 @@ var metadata = {
|
|
|
743
743
|
keywords: ['content-wrap-left', 'contentwrapleft', 'icon', 'core', 'content', 'media', 'image', 'alignment', 'left', 'inline', 'wrap'],
|
|
744
744
|
componentName: 'ContentWrapLeftIcon',
|
|
745
745
|
package: '@atlaskit/icon/core/content-wrap-left',
|
|
746
|
+
oldName: ['editor/media-wrap-left'],
|
|
746
747
|
type: 'core',
|
|
747
748
|
categorization: 'single-purpose',
|
|
748
749
|
usage: 'Single purpose - Reserved for left aligning media and content with wrapping enabled.',
|
|
@@ -752,6 +753,7 @@ var metadata = {
|
|
|
752
753
|
keywords: ['content-wrap-right', 'contentwrapright', 'icon', 'core', 'content', 'media', 'image', 'alignment', 'right', 'inline', 'wrap'],
|
|
753
754
|
componentName: 'ContentWrapRightIcon',
|
|
754
755
|
package: '@atlaskit/icon/core/content-wrap-right',
|
|
756
|
+
oldName: ['editor/media-wrap-right'],
|
|
755
757
|
type: 'core',
|
|
756
758
|
categorization: 'single-purpose',
|
|
757
759
|
usage: 'Single purpose - Reserved for right aligning media and content with wrapping enabled.',
|
|
@@ -914,6 +916,7 @@ var metadata = {
|
|
|
914
916
|
keywords: ['discovery', 'icon', 'core', 'discovery', 'note', 'filled'],
|
|
915
917
|
componentName: 'DiscoveryIcon',
|
|
916
918
|
package: '@atlaskit/icon/core/discovery',
|
|
919
|
+
oldName: ['editor/note'],
|
|
917
920
|
type: 'core',
|
|
918
921
|
categorization: 'single-purpose',
|
|
919
922
|
usage: 'Single purpose - Reserved for representing discovery. Used for Note info panel variant in Editor.',
|
|
@@ -1160,7 +1163,7 @@ var metadata = {
|
|
|
1160
1163
|
keywords: ['file', 'document', 'paper', 'page', 'sheet', 'icon', 'core', 'document', 'file', 'paper'],
|
|
1161
1164
|
componentName: 'FileIcon',
|
|
1162
1165
|
package: '@atlaskit/icon/core/file',
|
|
1163
|
-
oldName: ['editor/file', 'file'],
|
|
1166
|
+
oldName: ['document-filled', 'document', 'editor/file', 'file'],
|
|
1164
1167
|
type: 'core',
|
|
1165
1168
|
categorization: 'multi-purpose',
|
|
1166
1169
|
usage: "Multi purpose - Known uses: document, file. Do not use to represent a page — use the dedicated 'Page' icon instead.",
|
|
@@ -1170,6 +1173,7 @@ var metadata = {
|
|
|
1170
1173
|
keywords: ['files', 'icon', 'core', 'documents', 'files', 'papers'],
|
|
1171
1174
|
componentName: 'FilesIcon',
|
|
1172
1175
|
package: '@atlaskit/icon/core/files',
|
|
1176
|
+
oldName: ['documents'],
|
|
1173
1177
|
type: 'core',
|
|
1174
1178
|
categorization: 'multi-purpose',
|
|
1175
1179
|
usage: "Multi purpose - Known uses: documents, files. Do not use to represent pages — use the dedicated 'Pages' icon instead.",
|
|
@@ -1779,7 +1783,7 @@ var metadata = {
|
|
|
1779
1783
|
keywords: ['minus', 'icon', 'core', 'rule', 'horizontal line', 'divider', 'minus', 'subtract'],
|
|
1780
1784
|
componentName: 'MinusIcon',
|
|
1781
1785
|
package: '@atlaskit/icon/core/minus',
|
|
1782
|
-
oldName: ['editor/horizontal-rule'],
|
|
1786
|
+
oldName: ['editor/divider', 'editor/horizontal-rule'],
|
|
1783
1787
|
type: 'core',
|
|
1784
1788
|
categorization: 'multi-purpose',
|
|
1785
1789
|
usage: 'Multi purpose - Known uses: horizontal rule in Editor.',
|