@atlaskit/icon 22.24.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 +28 -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/migration-map.js +39 -4
- package/dist/es2019/metadata-core.js +7 -3
- package/dist/es2019/migration-map.js +39 -4
- package/dist/esm/metadata-core.js +7 -3
- package/dist/esm/migration-map.js +39 -4
- package/dist/types/metadata-core.d.ts +1 -1
- package/dist/types-ts4.5/metadata-core.d.ts +1 -1
- 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 +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
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
|
+
|
|
3
31
|
## 22.24.0
|
|
4
32
|
|
|
5
33
|
### 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.',
|
|
@@ -1052,10 +1052,15 @@ var migrationMap = {
|
|
|
1052
1052
|
},
|
|
1053
1053
|
'document-filled': {
|
|
1054
1054
|
newIcon: {
|
|
1055
|
-
name: '
|
|
1055
|
+
name: 'file',
|
|
1056
1056
|
type: 'core',
|
|
1057
1057
|
package: '@atlaskit/icon'
|
|
1058
1058
|
},
|
|
1059
|
+
additionalIcons: [{
|
|
1060
|
+
name: 'page',
|
|
1061
|
+
type: 'core',
|
|
1062
|
+
package: '@atlaskit/icon'
|
|
1063
|
+
}],
|
|
1059
1064
|
sizeGuidance: {
|
|
1060
1065
|
small: 'swap-slight-visual-change',
|
|
1061
1066
|
medium: 'swap-slight-visual-change',
|
|
@@ -1065,10 +1070,15 @@ var migrationMap = {
|
|
|
1065
1070
|
},
|
|
1066
1071
|
document: {
|
|
1067
1072
|
newIcon: {
|
|
1068
|
-
name: '
|
|
1073
|
+
name: 'file',
|
|
1069
1074
|
type: 'core',
|
|
1070
1075
|
package: '@atlaskit/icon'
|
|
1071
1076
|
},
|
|
1077
|
+
additionalIcons: [{
|
|
1078
|
+
name: 'page',
|
|
1079
|
+
type: 'core',
|
|
1080
|
+
package: '@atlaskit/icon'
|
|
1081
|
+
}],
|
|
1072
1082
|
sizeGuidance: {
|
|
1073
1083
|
small: 'swap-slight-visual-change',
|
|
1074
1084
|
medium: 'swap-slight-visual-change',
|
|
@@ -1078,10 +1088,15 @@ var migrationMap = {
|
|
|
1078
1088
|
},
|
|
1079
1089
|
documents: {
|
|
1080
1090
|
newIcon: {
|
|
1081
|
-
name: '
|
|
1091
|
+
name: 'files',
|
|
1082
1092
|
type: 'core',
|
|
1083
1093
|
package: '@atlaskit/icon'
|
|
1084
1094
|
},
|
|
1095
|
+
additionalIcons: [{
|
|
1096
|
+
name: 'pages',
|
|
1097
|
+
type: 'core',
|
|
1098
|
+
package: '@atlaskit/icon'
|
|
1099
|
+
}],
|
|
1085
1100
|
sizeGuidance: {
|
|
1086
1101
|
small: 'swap-slight-visual-change',
|
|
1087
1102
|
medium: 'swap-slight-visual-change',
|
|
@@ -1350,6 +1365,11 @@ var migrationMap = {
|
|
|
1350
1365
|
}
|
|
1351
1366
|
},
|
|
1352
1367
|
'editor/divider': {
|
|
1368
|
+
newIcon: {
|
|
1369
|
+
name: 'minus',
|
|
1370
|
+
type: 'core',
|
|
1371
|
+
package: '@atlaskit/icon'
|
|
1372
|
+
},
|
|
1353
1373
|
sizeGuidance: {
|
|
1354
1374
|
small: 'icon-lab',
|
|
1355
1375
|
medium: 'icon-lab',
|
|
@@ -1714,6 +1734,11 @@ var migrationMap = {
|
|
|
1714
1734
|
}
|
|
1715
1735
|
},
|
|
1716
1736
|
'editor/media-wrap-left': {
|
|
1737
|
+
newIcon: {
|
|
1738
|
+
name: 'content-wrap-left',
|
|
1739
|
+
type: 'core',
|
|
1740
|
+
package: '@atlaskit/icon'
|
|
1741
|
+
},
|
|
1717
1742
|
sizeGuidance: {
|
|
1718
1743
|
small: 'icon-lab',
|
|
1719
1744
|
medium: 'icon-lab',
|
|
@@ -1722,6 +1747,11 @@ var migrationMap = {
|
|
|
1722
1747
|
}
|
|
1723
1748
|
},
|
|
1724
1749
|
'editor/media-wrap-right': {
|
|
1750
|
+
newIcon: {
|
|
1751
|
+
name: 'content-wrap-right',
|
|
1752
|
+
type: 'core',
|
|
1753
|
+
package: '@atlaskit/icon'
|
|
1754
|
+
},
|
|
1725
1755
|
sizeGuidance: {
|
|
1726
1756
|
small: 'icon-lab',
|
|
1727
1757
|
medium: 'icon-lab',
|
|
@@ -1757,10 +1787,15 @@ var migrationMap = {
|
|
|
1757
1787
|
},
|
|
1758
1788
|
'editor/note': {
|
|
1759
1789
|
newIcon: {
|
|
1760
|
-
name: '
|
|
1790
|
+
name: 'discovery',
|
|
1761
1791
|
type: 'core',
|
|
1762
1792
|
package: '@atlaskit/icon'
|
|
1763
1793
|
},
|
|
1794
|
+
additionalIcons: [{
|
|
1795
|
+
name: 'page',
|
|
1796
|
+
type: 'core',
|
|
1797
|
+
package: '@atlaskit/icon'
|
|
1798
|
+
}],
|
|
1764
1799
|
sizeGuidance: {
|
|
1765
1800
|
small: 'swap-slight-visual-change',
|
|
1766
1801
|
medium: 'swap-slight-visual-change',
|
|
@@ -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::
|
|
6
|
+
* @codegen <<SignedSource::ac7f367e690af67950a58d9f31ed30f7>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -737,6 +737,7 @@ const metadata = {
|
|
|
737
737
|
keywords: ['content-wrap-left', 'contentwrapleft', 'icon', 'core', 'content', 'media', 'image', 'alignment', 'left', 'inline', 'wrap'],
|
|
738
738
|
componentName: 'ContentWrapLeftIcon',
|
|
739
739
|
package: '@atlaskit/icon/core/content-wrap-left',
|
|
740
|
+
oldName: ['editor/media-wrap-left'],
|
|
740
741
|
type: 'core',
|
|
741
742
|
categorization: 'single-purpose',
|
|
742
743
|
usage: 'Single purpose - Reserved for left aligning media and content with wrapping enabled.',
|
|
@@ -746,6 +747,7 @@ const metadata = {
|
|
|
746
747
|
keywords: ['content-wrap-right', 'contentwrapright', 'icon', 'core', 'content', 'media', 'image', 'alignment', 'right', 'inline', 'wrap'],
|
|
747
748
|
componentName: 'ContentWrapRightIcon',
|
|
748
749
|
package: '@atlaskit/icon/core/content-wrap-right',
|
|
750
|
+
oldName: ['editor/media-wrap-right'],
|
|
749
751
|
type: 'core',
|
|
750
752
|
categorization: 'single-purpose',
|
|
751
753
|
usage: 'Single purpose - Reserved for right aligning media and content with wrapping enabled.',
|
|
@@ -908,6 +910,7 @@ const metadata = {
|
|
|
908
910
|
keywords: ['discovery', 'icon', 'core', 'discovery', 'note', 'filled'],
|
|
909
911
|
componentName: 'DiscoveryIcon',
|
|
910
912
|
package: '@atlaskit/icon/core/discovery',
|
|
913
|
+
oldName: ['editor/note'],
|
|
911
914
|
type: 'core',
|
|
912
915
|
categorization: 'single-purpose',
|
|
913
916
|
usage: 'Single purpose - Reserved for representing discovery. Used for Note info panel variant in Editor.',
|
|
@@ -1154,7 +1157,7 @@ const metadata = {
|
|
|
1154
1157
|
keywords: ['file', 'document', 'paper', 'page', 'sheet', 'icon', 'core', 'document', 'file', 'paper'],
|
|
1155
1158
|
componentName: 'FileIcon',
|
|
1156
1159
|
package: '@atlaskit/icon/core/file',
|
|
1157
|
-
oldName: ['editor/file', 'file'],
|
|
1160
|
+
oldName: ['document-filled', 'document', 'editor/file', 'file'],
|
|
1158
1161
|
type: 'core',
|
|
1159
1162
|
categorization: 'multi-purpose',
|
|
1160
1163
|
usage: "Multi purpose - Known uses: document, file. Do not use to represent a page — use the dedicated 'Page' icon instead.",
|
|
@@ -1164,6 +1167,7 @@ const metadata = {
|
|
|
1164
1167
|
keywords: ['files', 'icon', 'core', 'documents', 'files', 'papers'],
|
|
1165
1168
|
componentName: 'FilesIcon',
|
|
1166
1169
|
package: '@atlaskit/icon/core/files',
|
|
1170
|
+
oldName: ['documents'],
|
|
1167
1171
|
type: 'core',
|
|
1168
1172
|
categorization: 'multi-purpose',
|
|
1169
1173
|
usage: "Multi purpose - Known uses: documents, files. Do not use to represent pages — use the dedicated 'Pages' icon instead.",
|
|
@@ -1773,7 +1777,7 @@ const metadata = {
|
|
|
1773
1777
|
keywords: ['minus', 'icon', 'core', 'rule', 'horizontal line', 'divider', 'minus', 'subtract'],
|
|
1774
1778
|
componentName: 'MinusIcon',
|
|
1775
1779
|
package: '@atlaskit/icon/core/minus',
|
|
1776
|
-
oldName: ['editor/horizontal-rule'],
|
|
1780
|
+
oldName: ['editor/divider', 'editor/horizontal-rule'],
|
|
1777
1781
|
type: 'core',
|
|
1778
1782
|
categorization: 'multi-purpose',
|
|
1779
1783
|
usage: 'Multi purpose - Known uses: horizontal rule in Editor.',
|
|
@@ -1046,10 +1046,15 @@ const migrationMap = {
|
|
|
1046
1046
|
},
|
|
1047
1047
|
'document-filled': {
|
|
1048
1048
|
newIcon: {
|
|
1049
|
-
name: '
|
|
1049
|
+
name: 'file',
|
|
1050
1050
|
type: 'core',
|
|
1051
1051
|
package: '@atlaskit/icon'
|
|
1052
1052
|
},
|
|
1053
|
+
additionalIcons: [{
|
|
1054
|
+
name: 'page',
|
|
1055
|
+
type: 'core',
|
|
1056
|
+
package: '@atlaskit/icon'
|
|
1057
|
+
}],
|
|
1053
1058
|
sizeGuidance: {
|
|
1054
1059
|
small: 'swap-slight-visual-change',
|
|
1055
1060
|
medium: 'swap-slight-visual-change',
|
|
@@ -1059,10 +1064,15 @@ const migrationMap = {
|
|
|
1059
1064
|
},
|
|
1060
1065
|
document: {
|
|
1061
1066
|
newIcon: {
|
|
1062
|
-
name: '
|
|
1067
|
+
name: 'file',
|
|
1063
1068
|
type: 'core',
|
|
1064
1069
|
package: '@atlaskit/icon'
|
|
1065
1070
|
},
|
|
1071
|
+
additionalIcons: [{
|
|
1072
|
+
name: 'page',
|
|
1073
|
+
type: 'core',
|
|
1074
|
+
package: '@atlaskit/icon'
|
|
1075
|
+
}],
|
|
1066
1076
|
sizeGuidance: {
|
|
1067
1077
|
small: 'swap-slight-visual-change',
|
|
1068
1078
|
medium: 'swap-slight-visual-change',
|
|
@@ -1072,10 +1082,15 @@ const migrationMap = {
|
|
|
1072
1082
|
},
|
|
1073
1083
|
documents: {
|
|
1074
1084
|
newIcon: {
|
|
1075
|
-
name: '
|
|
1085
|
+
name: 'files',
|
|
1076
1086
|
type: 'core',
|
|
1077
1087
|
package: '@atlaskit/icon'
|
|
1078
1088
|
},
|
|
1089
|
+
additionalIcons: [{
|
|
1090
|
+
name: 'pages',
|
|
1091
|
+
type: 'core',
|
|
1092
|
+
package: '@atlaskit/icon'
|
|
1093
|
+
}],
|
|
1079
1094
|
sizeGuidance: {
|
|
1080
1095
|
small: 'swap-slight-visual-change',
|
|
1081
1096
|
medium: 'swap-slight-visual-change',
|
|
@@ -1344,6 +1359,11 @@ const migrationMap = {
|
|
|
1344
1359
|
}
|
|
1345
1360
|
},
|
|
1346
1361
|
'editor/divider': {
|
|
1362
|
+
newIcon: {
|
|
1363
|
+
name: 'minus',
|
|
1364
|
+
type: 'core',
|
|
1365
|
+
package: '@atlaskit/icon'
|
|
1366
|
+
},
|
|
1347
1367
|
sizeGuidance: {
|
|
1348
1368
|
small: 'icon-lab',
|
|
1349
1369
|
medium: 'icon-lab',
|
|
@@ -1708,6 +1728,11 @@ const migrationMap = {
|
|
|
1708
1728
|
}
|
|
1709
1729
|
},
|
|
1710
1730
|
'editor/media-wrap-left': {
|
|
1731
|
+
newIcon: {
|
|
1732
|
+
name: 'content-wrap-left',
|
|
1733
|
+
type: 'core',
|
|
1734
|
+
package: '@atlaskit/icon'
|
|
1735
|
+
},
|
|
1711
1736
|
sizeGuidance: {
|
|
1712
1737
|
small: 'icon-lab',
|
|
1713
1738
|
medium: 'icon-lab',
|
|
@@ -1716,6 +1741,11 @@ const migrationMap = {
|
|
|
1716
1741
|
}
|
|
1717
1742
|
},
|
|
1718
1743
|
'editor/media-wrap-right': {
|
|
1744
|
+
newIcon: {
|
|
1745
|
+
name: 'content-wrap-right',
|
|
1746
|
+
type: 'core',
|
|
1747
|
+
package: '@atlaskit/icon'
|
|
1748
|
+
},
|
|
1719
1749
|
sizeGuidance: {
|
|
1720
1750
|
small: 'icon-lab',
|
|
1721
1751
|
medium: 'icon-lab',
|
|
@@ -1751,10 +1781,15 @@ const migrationMap = {
|
|
|
1751
1781
|
},
|
|
1752
1782
|
'editor/note': {
|
|
1753
1783
|
newIcon: {
|
|
1754
|
-
name: '
|
|
1784
|
+
name: 'discovery',
|
|
1755
1785
|
type: 'core',
|
|
1756
1786
|
package: '@atlaskit/icon'
|
|
1757
1787
|
},
|
|
1788
|
+
additionalIcons: [{
|
|
1789
|
+
name: 'page',
|
|
1790
|
+
type: 'core',
|
|
1791
|
+
package: '@atlaskit/icon'
|
|
1792
|
+
}],
|
|
1758
1793
|
sizeGuidance: {
|
|
1759
1794
|
small: 'swap-slight-visual-change',
|
|
1760
1795
|
medium: 'swap-slight-visual-change',
|
|
@@ -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::
|
|
6
|
+
* @codegen <<SignedSource::ac7f367e690af67950a58d9f31ed30f7>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -737,6 +737,7 @@ var metadata = {
|
|
|
737
737
|
keywords: ['content-wrap-left', 'contentwrapleft', 'icon', 'core', 'content', 'media', 'image', 'alignment', 'left', 'inline', 'wrap'],
|
|
738
738
|
componentName: 'ContentWrapLeftIcon',
|
|
739
739
|
package: '@atlaskit/icon/core/content-wrap-left',
|
|
740
|
+
oldName: ['editor/media-wrap-left'],
|
|
740
741
|
type: 'core',
|
|
741
742
|
categorization: 'single-purpose',
|
|
742
743
|
usage: 'Single purpose - Reserved for left aligning media and content with wrapping enabled.',
|
|
@@ -746,6 +747,7 @@ var metadata = {
|
|
|
746
747
|
keywords: ['content-wrap-right', 'contentwrapright', 'icon', 'core', 'content', 'media', 'image', 'alignment', 'right', 'inline', 'wrap'],
|
|
747
748
|
componentName: 'ContentWrapRightIcon',
|
|
748
749
|
package: '@atlaskit/icon/core/content-wrap-right',
|
|
750
|
+
oldName: ['editor/media-wrap-right'],
|
|
749
751
|
type: 'core',
|
|
750
752
|
categorization: 'single-purpose',
|
|
751
753
|
usage: 'Single purpose - Reserved for right aligning media and content with wrapping enabled.',
|
|
@@ -908,6 +910,7 @@ var metadata = {
|
|
|
908
910
|
keywords: ['discovery', 'icon', 'core', 'discovery', 'note', 'filled'],
|
|
909
911
|
componentName: 'DiscoveryIcon',
|
|
910
912
|
package: '@atlaskit/icon/core/discovery',
|
|
913
|
+
oldName: ['editor/note'],
|
|
911
914
|
type: 'core',
|
|
912
915
|
categorization: 'single-purpose',
|
|
913
916
|
usage: 'Single purpose - Reserved for representing discovery. Used for Note info panel variant in Editor.',
|
|
@@ -1154,7 +1157,7 @@ var metadata = {
|
|
|
1154
1157
|
keywords: ['file', 'document', 'paper', 'page', 'sheet', 'icon', 'core', 'document', 'file', 'paper'],
|
|
1155
1158
|
componentName: 'FileIcon',
|
|
1156
1159
|
package: '@atlaskit/icon/core/file',
|
|
1157
|
-
oldName: ['editor/file', 'file'],
|
|
1160
|
+
oldName: ['document-filled', 'document', 'editor/file', 'file'],
|
|
1158
1161
|
type: 'core',
|
|
1159
1162
|
categorization: 'multi-purpose',
|
|
1160
1163
|
usage: "Multi purpose - Known uses: document, file. Do not use to represent a page — use the dedicated 'Page' icon instead.",
|
|
@@ -1164,6 +1167,7 @@ var metadata = {
|
|
|
1164
1167
|
keywords: ['files', 'icon', 'core', 'documents', 'files', 'papers'],
|
|
1165
1168
|
componentName: 'FilesIcon',
|
|
1166
1169
|
package: '@atlaskit/icon/core/files',
|
|
1170
|
+
oldName: ['documents'],
|
|
1167
1171
|
type: 'core',
|
|
1168
1172
|
categorization: 'multi-purpose',
|
|
1169
1173
|
usage: "Multi purpose - Known uses: documents, files. Do not use to represent pages — use the dedicated 'Pages' icon instead.",
|
|
@@ -1773,7 +1777,7 @@ var metadata = {
|
|
|
1773
1777
|
keywords: ['minus', 'icon', 'core', 'rule', 'horizontal line', 'divider', 'minus', 'subtract'],
|
|
1774
1778
|
componentName: 'MinusIcon',
|
|
1775
1779
|
package: '@atlaskit/icon/core/minus',
|
|
1776
|
-
oldName: ['editor/horizontal-rule'],
|
|
1780
|
+
oldName: ['editor/divider', 'editor/horizontal-rule'],
|
|
1777
1781
|
type: 'core',
|
|
1778
1782
|
categorization: 'multi-purpose',
|
|
1779
1783
|
usage: 'Multi purpose - Known uses: horizontal rule in Editor.',
|
|
@@ -1046,10 +1046,15 @@ var migrationMap = {
|
|
|
1046
1046
|
},
|
|
1047
1047
|
'document-filled': {
|
|
1048
1048
|
newIcon: {
|
|
1049
|
-
name: '
|
|
1049
|
+
name: 'file',
|
|
1050
1050
|
type: 'core',
|
|
1051
1051
|
package: '@atlaskit/icon'
|
|
1052
1052
|
},
|
|
1053
|
+
additionalIcons: [{
|
|
1054
|
+
name: 'page',
|
|
1055
|
+
type: 'core',
|
|
1056
|
+
package: '@atlaskit/icon'
|
|
1057
|
+
}],
|
|
1053
1058
|
sizeGuidance: {
|
|
1054
1059
|
small: 'swap-slight-visual-change',
|
|
1055
1060
|
medium: 'swap-slight-visual-change',
|
|
@@ -1059,10 +1064,15 @@ var migrationMap = {
|
|
|
1059
1064
|
},
|
|
1060
1065
|
document: {
|
|
1061
1066
|
newIcon: {
|
|
1062
|
-
name: '
|
|
1067
|
+
name: 'file',
|
|
1063
1068
|
type: 'core',
|
|
1064
1069
|
package: '@atlaskit/icon'
|
|
1065
1070
|
},
|
|
1071
|
+
additionalIcons: [{
|
|
1072
|
+
name: 'page',
|
|
1073
|
+
type: 'core',
|
|
1074
|
+
package: '@atlaskit/icon'
|
|
1075
|
+
}],
|
|
1066
1076
|
sizeGuidance: {
|
|
1067
1077
|
small: 'swap-slight-visual-change',
|
|
1068
1078
|
medium: 'swap-slight-visual-change',
|
|
@@ -1072,10 +1082,15 @@ var migrationMap = {
|
|
|
1072
1082
|
},
|
|
1073
1083
|
documents: {
|
|
1074
1084
|
newIcon: {
|
|
1075
|
-
name: '
|
|
1085
|
+
name: 'files',
|
|
1076
1086
|
type: 'core',
|
|
1077
1087
|
package: '@atlaskit/icon'
|
|
1078
1088
|
},
|
|
1089
|
+
additionalIcons: [{
|
|
1090
|
+
name: 'pages',
|
|
1091
|
+
type: 'core',
|
|
1092
|
+
package: '@atlaskit/icon'
|
|
1093
|
+
}],
|
|
1079
1094
|
sizeGuidance: {
|
|
1080
1095
|
small: 'swap-slight-visual-change',
|
|
1081
1096
|
medium: 'swap-slight-visual-change',
|
|
@@ -1344,6 +1359,11 @@ var migrationMap = {
|
|
|
1344
1359
|
}
|
|
1345
1360
|
},
|
|
1346
1361
|
'editor/divider': {
|
|
1362
|
+
newIcon: {
|
|
1363
|
+
name: 'minus',
|
|
1364
|
+
type: 'core',
|
|
1365
|
+
package: '@atlaskit/icon'
|
|
1366
|
+
},
|
|
1347
1367
|
sizeGuidance: {
|
|
1348
1368
|
small: 'icon-lab',
|
|
1349
1369
|
medium: 'icon-lab',
|
|
@@ -1708,6 +1728,11 @@ var migrationMap = {
|
|
|
1708
1728
|
}
|
|
1709
1729
|
},
|
|
1710
1730
|
'editor/media-wrap-left': {
|
|
1731
|
+
newIcon: {
|
|
1732
|
+
name: 'content-wrap-left',
|
|
1733
|
+
type: 'core',
|
|
1734
|
+
package: '@atlaskit/icon'
|
|
1735
|
+
},
|
|
1711
1736
|
sizeGuidance: {
|
|
1712
1737
|
small: 'icon-lab',
|
|
1713
1738
|
medium: 'icon-lab',
|
|
@@ -1716,6 +1741,11 @@ var migrationMap = {
|
|
|
1716
1741
|
}
|
|
1717
1742
|
},
|
|
1718
1743
|
'editor/media-wrap-right': {
|
|
1744
|
+
newIcon: {
|
|
1745
|
+
name: 'content-wrap-right',
|
|
1746
|
+
type: 'core',
|
|
1747
|
+
package: '@atlaskit/icon'
|
|
1748
|
+
},
|
|
1719
1749
|
sizeGuidance: {
|
|
1720
1750
|
small: 'icon-lab',
|
|
1721
1751
|
medium: 'icon-lab',
|
|
@@ -1751,10 +1781,15 @@ var migrationMap = {
|
|
|
1751
1781
|
},
|
|
1752
1782
|
'editor/note': {
|
|
1753
1783
|
newIcon: {
|
|
1754
|
-
name: '
|
|
1784
|
+
name: 'discovery',
|
|
1755
1785
|
type: 'core',
|
|
1756
1786
|
package: '@atlaskit/icon'
|
|
1757
1787
|
},
|
|
1788
|
+
additionalIcons: [{
|
|
1789
|
+
name: 'page',
|
|
1790
|
+
type: 'core',
|
|
1791
|
+
package: '@atlaskit/icon'
|
|
1792
|
+
}],
|
|
1758
1793
|
sizeGuidance: {
|
|
1759
1794
|
small: 'swap-slight-visual-change',
|
|
1760
1795
|
medium: 'swap-slight-visual-change',
|
|
@@ -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::
|
|
6
|
+
* @codegen <<SignedSource::ac7f367e690af67950a58d9f31ed30f7>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
interface metadata {
|
|
@@ -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::
|
|
6
|
+
* @codegen <<SignedSource::ac7f367e690af67950a58d9f31ed30f7>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
interface metadata {
|
package/glyph/document-filled.js
CHANGED
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _base = require("@atlaskit/icon/base");
|
|
9
|
-
var
|
|
9
|
+
var _file = _interopRequireDefault(require("@atlaskit/icon/core/file"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
const DocumentFilledIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
12
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" fill-rule="evenodd" d="m18.99 8.99.01 1.015V19a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.275c.469 0 .922.164 1.282.464L18.631 7.7c.227.19.359.471.359.768zM12.02 5 12 8.192a.99.99 0 0 0 .994.991h4z"/></svg>`
|
|
13
13
|
}, props, {
|
|
14
|
-
newIcon:
|
|
14
|
+
newIcon: _file.default
|
|
15
15
|
}));
|
|
16
16
|
DocumentFilledIcon.displayName = 'DocumentFilledIcon';
|
|
17
17
|
var _default = exports.default = DocumentFilledIcon;
|
package/glyph/document.js
CHANGED
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _base = require("@atlaskit/icon/base");
|
|
9
|
-
var
|
|
9
|
+
var _file = _interopRequireDefault(require("@atlaskit/icon/core/file"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
const DocumentIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
12
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" fill-rule="evenodd" d="M17 10.005V19H7V5h5.99v2.49a1.5 1.5 0 0 0 1.5 1.5h4.5v-.522c0-.297-.132-.578-.359-.768l-5.074-4.236c-.36-.3-.813-.464-1.282-.464H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8.995z"/></svg>`
|
|
13
13
|
}, props, {
|
|
14
|
-
newIcon:
|
|
14
|
+
newIcon: _file.default
|
|
15
15
|
}));
|
|
16
16
|
DocumentIcon.displayName = 'DocumentIcon';
|
|
17
17
|
var _default = exports.default = DocumentIcon;
|
package/glyph/documents.js
CHANGED
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _base = require("@atlaskit/icon/base");
|
|
9
|
-
var
|
|
9
|
+
var _files = _interopRequireDefault(require("@atlaskit/icon/core/files"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
const DocumentsIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
12
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" fill-rule="evenodd" d="M6 17H5V7h1V5H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h1zm13-6.99V19H9V5h5.99v2.49a1.5 1.5 0 0 0 1.5 1.5h4.5v-.52c0-.3-.13-.58-.36-.77l-5.07-4.24c-.36-.3-.81-.46-1.28-.46H9a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8.99z"/></svg>`
|
|
13
13
|
}, props, {
|
|
14
|
-
newIcon:
|
|
14
|
+
newIcon: _files.default
|
|
15
15
|
}));
|
|
16
16
|
DocumentsIcon.displayName = 'DocumentsIcon';
|
|
17
17
|
var _default = exports.default = DocumentsIcon;
|
package/glyph/editor/divider.js
CHANGED
|
@@ -6,9 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _base = require("@atlaskit/icon/base");
|
|
9
|
+
var _minus = _interopRequireDefault(require("@atlaskit/icon/core/minus"));
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
11
|
const EditorDividerIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
11
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><rect width="14" height="2" x="5" y="11" fill="currentcolor" fill-rule="evenodd" rx="1"/></svg>`
|
|
12
|
-
}, props
|
|
13
|
+
}, props, {
|
|
14
|
+
newIcon: _minus.default
|
|
15
|
+
}));
|
|
13
16
|
EditorDividerIcon.displayName = 'EditorDividerIcon';
|
|
14
17
|
var _default = exports.default = EditorDividerIcon;
|
|
@@ -6,9 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _base = require("@atlaskit/icon/base");
|
|
9
|
+
var _contentWrapLeft = _interopRequireDefault(require("@atlaskit/icon/core/content-wrap-left"));
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
11
|
const EditorMediaWrapLeftIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
11
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" fill-rule="evenodd" d="M6 17h12a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2m8-8h4a1 1 0 0 1 0 2h-4a1 1 0 0 1 0-2m0 4h4a1 1 0 0 1 0 2h-4a1 1 0 0 1 0-2M6 9h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1m0-4h12a1 1 0 0 1 0 2H6a1 1 0 1 1 0-2"/></svg>`
|
|
12
|
-
}, props
|
|
13
|
+
}, props, {
|
|
14
|
+
newIcon: _contentWrapLeft.default
|
|
15
|
+
}));
|
|
13
16
|
EditorMediaWrapLeftIcon.displayName = 'EditorMediaWrapLeftIcon';
|
|
14
17
|
var _default = exports.default = EditorMediaWrapLeftIcon;
|
|
@@ -6,9 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _base = require("@atlaskit/icon/base");
|
|
9
|
+
var _contentWrapRight = _interopRequireDefault(require("@atlaskit/icon/core/content-wrap-right"));
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
11
|
const EditorMediaWrapRightIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
11
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" fill-rule="evenodd" d="M6 17h12a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2m0-8h4a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2m0 4h4a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2m8-4h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1M6 5h12a1 1 0 0 1 0 2H6a1 1 0 1 1 0-2"/></svg>`
|
|
12
|
-
}, props
|
|
13
|
+
}, props, {
|
|
14
|
+
newIcon: _contentWrapRight.default
|
|
15
|
+
}));
|
|
13
16
|
EditorMediaWrapRightIcon.displayName = 'EditorMediaWrapRightIcon';
|
|
14
17
|
var _default = exports.default = EditorMediaWrapRightIcon;
|
package/glyph/editor/note.js
CHANGED
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _base = require("@atlaskit/icon/base");
|
|
9
|
-
var
|
|
9
|
+
var _discovery = _interopRequireDefault(require("@atlaskit/icon/core/discovery"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
const EditorNoteIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
12
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" fill-rule="evenodd" d="M8 4h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2m1.5 4a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm0 4a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5z"/></svg>`
|
|
13
13
|
}, props, {
|
|
14
|
-
newIcon:
|
|
14
|
+
newIcon: _discovery.default
|
|
15
15
|
}));
|
|
16
16
|
EditorNoteIcon.displayName = 'EditorNoteIcon';
|
|
17
17
|
var _default = exports.default = EditorNoteIcon;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon",
|
|
3
|
-
"version": "22.24.
|
|
3
|
+
"version": "22.24.1",
|
|
4
4
|
"description": "An icon is a visual representation of a command, device, directory, or common action.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/code": "^15.6.0",
|
|
42
42
|
"@atlaskit/ds-lib": "^3.1.0",
|
|
43
43
|
"@atlaskit/logo": "^14.3.0",
|
|
44
|
-
"@atlaskit/primitives": "^
|
|
44
|
+
"@atlaskit/primitives": "^13.0.0",
|
|
45
45
|
"@atlaskit/ssr": "*",
|
|
46
46
|
"@atlaskit/textfield": "^6.5.0",
|
|
47
47
|
"@atlaskit/theme": "^14.0.0",
|