@atlaskit/icon 22.9.0 → 22.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/core/migration/{edit--editor-add.d.ts → add--editor-add.d.ts} +2 -2
- package/core/migration/{edit--editor-add.js → add--editor-add.js} +9 -9
- package/core/migration/angle-brackets--bitbucket-repos.d.ts +9 -0
- package/core/migration/angle-brackets--bitbucket-repos.js +29 -0
- package/core/migration/download.d.ts +9 -0
- package/core/migration/download.js +29 -0
- package/core/migration/{audio--vid-audio-on.d.ts → emoji--emoji-people.d.ts} +2 -2
- package/core/migration/emoji--emoji-people.js +29 -0
- package/core/migration/flag--emoji-flags.d.ts +9 -0
- package/core/migration/flag--emoji-flags.js +29 -0
- package/core/migration/grid--editor-table.d.ts +9 -0
- package/core/migration/grid--editor-table.js +29 -0
- package/core/migration/lightbulb--lightbulb-filled.d.ts +9 -0
- package/core/migration/lightbulb--lightbulb-filled.js +29 -0
- package/core/migration/link--link-filled.d.ts +9 -0
- package/core/migration/link--link-filled.js +29 -0
- package/core/migration/microphone--vid-audio-on.d.ts +9 -0
- package/core/migration/{audio--vid-audio-on.js → microphone--vid-audio-on.js} +8 -7
- package/core/migration/minimize--media-services-fit-to-page.d.ts +9 -0
- package/core/migration/minimize--media-services-fit-to-page.js +29 -0
- package/core/migration/minimize--vid-full-screen-off.d.ts +9 -0
- package/core/migration/minimize--vid-full-screen-off.js +29 -0
- package/core/migration/upload--export.d.ts +9 -0
- package/core/migration/upload--export.js +29 -0
- package/dist/cjs/entry-points/migration-map.js +10 -2
- package/dist/cjs/metadata-core.js +13 -8
- package/dist/cjs/metadata-utility.js +1 -1
- package/dist/cjs/migration-map.js +100 -35
- package/dist/es2019/entry-points/migration-map.js +1 -1
- package/dist/es2019/metadata-core.js +13 -8
- package/dist/es2019/metadata-utility.js +1 -1
- package/dist/es2019/migration-map.js +99 -34
- package/dist/esm/entry-points/migration-map.js +1 -1
- package/dist/esm/metadata-core.js +13 -8
- package/dist/esm/metadata-utility.js +1 -1
- package/dist/esm/migration-map.js +99 -34
- package/dist/types/entry-points/migration-map.d.ts +2 -1
- package/dist/types/migration-map.d.ts +2 -1
- package/dist/types/types.d.ts +19 -3
- package/dist/types-ts4.5/entry-points/migration-map.d.ts +2 -1
- package/dist/types-ts4.5/migration-map.d.ts +2 -1
- package/dist/types-ts4.5/types.d.ts +19 -3
- package/glyph/bitbucket/repos.js +4 -1
- package/glyph/download.js +4 -1
- package/glyph/editor/add.js +2 -2
- package/glyph/editor/table.js +4 -1
- package/glyph/emoji/flags.js +4 -1
- package/glyph/emoji/people.js +4 -1
- package/glyph/export.js +4 -1
- package/glyph/lightbulb-filled.js +4 -1
- package/glyph/link-filled.js +4 -1
- package/glyph/media-services/fit-to-page.js +4 -1
- package/glyph/vid-audio-on.js +2 -2
- package/glyph/vid-full-screen-off.js +2 -2
- package/package.json +2 -3
- package/utility/migration/add--editor-add.d.ts +9 -0
- package/utility/migration/add--editor-add.js +29 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/icon
|
|
2
2
|
|
|
3
|
+
## 22.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#126553](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/126553)
|
|
8
|
+
[`a8d7e60d3b69d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a8d7e60d3b69d) -
|
|
9
|
+
Add new export, `migrationOutcomeDescriptionMap`, containing written migration guidance for use in
|
|
10
|
+
documentation and tooling
|
|
11
|
+
|
|
3
12
|
## 22.9.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
4
4
|
|
|
5
|
-
declare const
|
|
5
|
+
declare const AddIconMigration: {
|
|
6
6
|
(props: Omit<React.ComponentProps<typeof Icon>, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
9
|
-
export default
|
|
9
|
+
export default AddIconMigration;
|
|
@@ -5,25 +5,25 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var
|
|
9
|
-
var
|
|
8
|
+
var _add = _interopRequireDefault(require("@atlaskit/icon/core/add"));
|
|
9
|
+
var _add2 = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/add"));
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
11
|
/**
|
|
12
12
|
* ⚠️ EXPERIMENTAL ⚠️ - New icons are a work in progress and subject to change or removal in future minor or patch releases.
|
|
13
13
|
* Please reach out in #help-design-system before using these in production.
|
|
14
14
|
*
|
|
15
|
-
* Migration Icon component for
|
|
16
|
-
* This component is
|
|
15
|
+
* Migration Icon component for AddIcon.
|
|
16
|
+
* This component is AddIcon, with `UNSAFE_fallbackIcon` set to "EditorAddIcon".
|
|
17
17
|
*
|
|
18
18
|
* Category: Single-purpose
|
|
19
19
|
* Location: ADS
|
|
20
|
-
* Usage guidance: Reserved for
|
|
20
|
+
* Usage guidance: Reserved for creating and adding an object.
|
|
21
21
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
22
22
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
23
23
|
*/
|
|
24
|
-
const
|
|
25
|
-
LEGACY_fallbackIcon:
|
|
24
|
+
const AddIcon = props => /*#__PURE__*/_react.default.createElement(_add.default, Object.assign({
|
|
25
|
+
LEGACY_fallbackIcon: _add2.default
|
|
26
26
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
27
27
|
}, props));
|
|
28
|
-
|
|
29
|
-
var _default = exports.default =
|
|
28
|
+
AddIcon.Name = 'AddIconMigration';
|
|
29
|
+
var _default = exports.default = AddIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
4
|
+
|
|
5
|
+
declare const AngleBracketsIconMigration: {
|
|
6
|
+
(props: Omit<React.ComponentProps<typeof Icon>, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export default AngleBracketsIconMigration;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _angleBrackets = _interopRequireDefault(require("@atlaskit/icon/core/angle-brackets"));
|
|
9
|
+
var _repos = _interopRequireDefault(require("@atlaskit/icon/glyph/bitbucket/repos"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
/**
|
|
12
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are a work in progress and subject to change or removal in future minor or patch releases.
|
|
13
|
+
* Please reach out in #help-design-system before using these in production.
|
|
14
|
+
*
|
|
15
|
+
* Migration Icon component for AngleBracketsIcon.
|
|
16
|
+
* This component is AngleBracketsIcon, with `UNSAFE_fallbackIcon` set to "BitbucketReposIcon".
|
|
17
|
+
*
|
|
18
|
+
* Category: Multi-purpose
|
|
19
|
+
* Location: Icon contributions
|
|
20
|
+
* Usage guidance: Known uses: code or source code in Bitbucket and Jira.
|
|
21
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
22
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
23
|
+
*/
|
|
24
|
+
const AngleBracketsIcon = props => /*#__PURE__*/_react.default.createElement(_angleBrackets.default, Object.assign({
|
|
25
|
+
LEGACY_fallbackIcon: _repos.default
|
|
26
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
27
|
+
}, props));
|
|
28
|
+
AngleBracketsIcon.Name = 'AngleBracketsIconMigration';
|
|
29
|
+
var _default = exports.default = AngleBracketsIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
4
|
+
|
|
5
|
+
declare const DownloadIconMigration: {
|
|
6
|
+
(props: Omit<React.ComponentProps<typeof Icon>, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export default DownloadIconMigration;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _download = _interopRequireDefault(require("@atlaskit/icon/core/download"));
|
|
9
|
+
var _download2 = _interopRequireDefault(require("@atlaskit/icon/glyph/download"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
/**
|
|
12
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are a work in progress and subject to change or removal in future minor or patch releases.
|
|
13
|
+
* Please reach out in #help-design-system before using these in production.
|
|
14
|
+
*
|
|
15
|
+
* Migration Icon component for DownloadIcon.
|
|
16
|
+
* This component is DownloadIcon, with `UNSAFE_fallbackIcon` set to "DownloadIcon".
|
|
17
|
+
*
|
|
18
|
+
* Category: Single-purpose
|
|
19
|
+
* Location: ADS
|
|
20
|
+
* Usage guidance: Reserved for file downloads.
|
|
21
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
22
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
23
|
+
*/
|
|
24
|
+
const DownloadIcon = props => /*#__PURE__*/_react.default.createElement(_download.default, Object.assign({
|
|
25
|
+
LEGACY_fallbackIcon: _download2.default
|
|
26
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
27
|
+
}, props));
|
|
28
|
+
DownloadIcon.Name = 'DownloadIconMigration';
|
|
29
|
+
var _default = exports.default = DownloadIcon;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
4
4
|
|
|
5
|
-
declare const
|
|
5
|
+
declare const EmojiIconMigration: {
|
|
6
6
|
(props: Omit<React.ComponentProps<typeof Icon>, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
9
|
-
export default
|
|
9
|
+
export default EmojiIconMigration;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _emoji = _interopRequireDefault(require("@atlaskit/icon/core/emoji"));
|
|
9
|
+
var _people = _interopRequireDefault(require("@atlaskit/icon/glyph/emoji/people"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
/**
|
|
12
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are a work in progress and subject to change or removal in future minor or patch releases.
|
|
13
|
+
* Please reach out in #help-design-system before using these in production.
|
|
14
|
+
*
|
|
15
|
+
* Migration Icon component for EmojiIcon.
|
|
16
|
+
* This component is EmojiIcon, with `UNSAFE_fallbackIcon` set to "EmojiPeopleIcon".
|
|
17
|
+
*
|
|
18
|
+
* Category: Single-purpose
|
|
19
|
+
* Location: Icon contributions
|
|
20
|
+
* Usage guidance: Reserved for Editor as a category for Emoji's.
|
|
21
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
22
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
23
|
+
*/
|
|
24
|
+
const EmojiIcon = props => /*#__PURE__*/_react.default.createElement(_emoji.default, Object.assign({
|
|
25
|
+
LEGACY_fallbackIcon: _people.default
|
|
26
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
27
|
+
}, props));
|
|
28
|
+
EmojiIcon.Name = 'EmojiIconMigration';
|
|
29
|
+
var _default = exports.default = EmojiIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
4
|
+
|
|
5
|
+
declare const FlagIconMigration: {
|
|
6
|
+
(props: Omit<React.ComponentProps<typeof Icon>, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export default FlagIconMigration;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _flag = _interopRequireDefault(require("@atlaskit/icon/core/flag"));
|
|
9
|
+
var _flags = _interopRequireDefault(require("@atlaskit/icon/glyph/emoji/flags"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
/**
|
|
12
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are a work in progress and subject to change or removal in future minor or patch releases.
|
|
13
|
+
* Please reach out in #help-design-system before using these in production.
|
|
14
|
+
*
|
|
15
|
+
* Migration Icon component for FlagIcon.
|
|
16
|
+
* This component is FlagIcon, with `UNSAFE_fallbackIcon` set to "EmojiFlagsIcon".
|
|
17
|
+
*
|
|
18
|
+
* Category: Multi-purpose
|
|
19
|
+
* Location: Icon contributions
|
|
20
|
+
* Usage guidance: Known uses: flags in Editor, feature flags.
|
|
21
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
22
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
23
|
+
*/
|
|
24
|
+
const FlagIcon = props => /*#__PURE__*/_react.default.createElement(_flag.default, Object.assign({
|
|
25
|
+
LEGACY_fallbackIcon: _flags.default
|
|
26
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
27
|
+
}, props));
|
|
28
|
+
FlagIcon.Name = 'FlagIconMigration';
|
|
29
|
+
var _default = exports.default = FlagIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
4
|
+
|
|
5
|
+
declare const GridIconMigration: {
|
|
6
|
+
(props: Omit<React.ComponentProps<typeof Icon>, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export default GridIconMigration;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _grid = _interopRequireDefault(require("@atlaskit/icon/core/grid"));
|
|
9
|
+
var _table = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/table"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
/**
|
|
12
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are a work in progress and subject to change or removal in future minor or patch releases.
|
|
13
|
+
* Please reach out in #help-design-system before using these in production.
|
|
14
|
+
*
|
|
15
|
+
* Migration Icon component for GridIcon.
|
|
16
|
+
* This component is GridIcon, with `UNSAFE_fallbackIcon` set to "EditorTableIcon".
|
|
17
|
+
*
|
|
18
|
+
* Category: Multi-purpose
|
|
19
|
+
* Location: ADS
|
|
20
|
+
* Usage guidance: Known uses: spaces in Confluence, and grid view, all content in Confluence.
|
|
21
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
22
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
23
|
+
*/
|
|
24
|
+
const GridIcon = props => /*#__PURE__*/_react.default.createElement(_grid.default, Object.assign({
|
|
25
|
+
LEGACY_fallbackIcon: _table.default
|
|
26
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
27
|
+
}, props));
|
|
28
|
+
GridIcon.Name = 'GridIconMigration';
|
|
29
|
+
var _default = exports.default = GridIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
4
|
+
|
|
5
|
+
declare const LightbulbIconMigration: {
|
|
6
|
+
(props: Omit<React.ComponentProps<typeof Icon>, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export default LightbulbIconMigration;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _lightbulb = _interopRequireDefault(require("@atlaskit/icon/core/lightbulb"));
|
|
9
|
+
var _lightbulbFilled = _interopRequireDefault(require("@atlaskit/icon/glyph/lightbulb-filled"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
/**
|
|
12
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are a work in progress and subject to change or removal in future minor or patch releases.
|
|
13
|
+
* Please reach out in #help-design-system before using these in production.
|
|
14
|
+
*
|
|
15
|
+
* Migration Icon component for LightbulbIcon.
|
|
16
|
+
* This component is LightbulbIcon, with `UNSAFE_fallbackIcon` set to "LightbulbFilledIcon".
|
|
17
|
+
*
|
|
18
|
+
* Category: Multi-purpose
|
|
19
|
+
* Location: ADS
|
|
20
|
+
* Usage guidance: Known uses: learnings in Atlas, initiatives in Jira.
|
|
21
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
22
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
23
|
+
*/
|
|
24
|
+
const LightbulbIcon = props => /*#__PURE__*/_react.default.createElement(_lightbulb.default, Object.assign({
|
|
25
|
+
LEGACY_fallbackIcon: _lightbulbFilled.default
|
|
26
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
27
|
+
}, props));
|
|
28
|
+
LightbulbIcon.Name = 'LightbulbIconMigration';
|
|
29
|
+
var _default = exports.default = LightbulbIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
4
|
+
|
|
5
|
+
declare const LinkIconMigration: {
|
|
6
|
+
(props: Omit<React.ComponentProps<typeof Icon>, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export default LinkIconMigration;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _link = _interopRequireDefault(require("@atlaskit/icon/core/link"));
|
|
9
|
+
var _linkFilled = _interopRequireDefault(require("@atlaskit/icon/glyph/link-filled"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
/**
|
|
12
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are a work in progress and subject to change or removal in future minor or patch releases.
|
|
13
|
+
* Please reach out in #help-design-system before using these in production.
|
|
14
|
+
*
|
|
15
|
+
* Migration Icon component for LinkIcon.
|
|
16
|
+
* This component is LinkIcon, with `UNSAFE_fallbackIcon` set to "LinkFilledIcon".
|
|
17
|
+
*
|
|
18
|
+
* Category: Single-purpose
|
|
19
|
+
* Location: ADS
|
|
20
|
+
* Usage guidance: Reserved for links, urls, or copy link.
|
|
21
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
22
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
23
|
+
*/
|
|
24
|
+
const LinkIcon = props => /*#__PURE__*/_react.default.createElement(_link.default, Object.assign({
|
|
25
|
+
LEGACY_fallbackIcon: _linkFilled.default
|
|
26
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
27
|
+
}, props));
|
|
28
|
+
LinkIcon.Name = 'LinkIconMigration';
|
|
29
|
+
var _default = exports.default = LinkIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
4
|
+
|
|
5
|
+
declare const MicrophoneIconMigration: {
|
|
6
|
+
(props: Omit<React.ComponentProps<typeof Icon>, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export default MicrophoneIconMigration;
|
|
@@ -5,24 +5,25 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var
|
|
8
|
+
var _microphone = _interopRequireDefault(require("@atlaskit/icon/core/microphone"));
|
|
9
9
|
var _vidAudioOn = _interopRequireDefault(require("@atlaskit/icon/glyph/vid-audio-on"));
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
11
|
/**
|
|
12
12
|
* ⚠️ EXPERIMENTAL ⚠️ - New icons are a work in progress and subject to change or removal in future minor or patch releases.
|
|
13
13
|
* Please reach out in #help-design-system before using these in production.
|
|
14
14
|
*
|
|
15
|
-
* Migration Icon component for
|
|
16
|
-
* This component is
|
|
15
|
+
* Migration Icon component for MicrophoneIcon.
|
|
16
|
+
* This component is MicrophoneIcon, with `UNSAFE_fallbackIcon` set to "VidAudioOnIcon".
|
|
17
17
|
*
|
|
18
|
-
* Category:
|
|
18
|
+
* Category: Multi-purpose
|
|
19
19
|
* Location: Icon contributions
|
|
20
|
+
* Usage guidance: Known uses: record sounds in Trello.
|
|
20
21
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
21
22
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
22
23
|
*/
|
|
23
|
-
const
|
|
24
|
+
const MicrophoneIcon = props => /*#__PURE__*/_react.default.createElement(_microphone.default, Object.assign({
|
|
24
25
|
LEGACY_fallbackIcon: _vidAudioOn.default
|
|
25
26
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
26
27
|
}, props));
|
|
27
|
-
|
|
28
|
-
var _default = exports.default =
|
|
28
|
+
MicrophoneIcon.Name = 'MicrophoneIconMigration';
|
|
29
|
+
var _default = exports.default = MicrophoneIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
4
|
+
|
|
5
|
+
declare const MinimizeIconMigration: {
|
|
6
|
+
(props: Omit<React.ComponentProps<typeof Icon>, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export default MinimizeIconMigration;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _minimize = _interopRequireDefault(require("@atlaskit/icon/core/minimize"));
|
|
9
|
+
var _fitToPage = _interopRequireDefault(require("@atlaskit/icon/glyph/media-services/fit-to-page"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
/**
|
|
12
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are a work in progress and subject to change or removal in future minor or patch releases.
|
|
13
|
+
* Please reach out in #help-design-system before using these in production.
|
|
14
|
+
*
|
|
15
|
+
* Migration Icon component for MinimizeIcon.
|
|
16
|
+
* This component is MinimizeIcon, with `UNSAFE_fallbackIcon` set to "MediaServicesFitToPageIcon".
|
|
17
|
+
*
|
|
18
|
+
* Category: Single-purpose
|
|
19
|
+
* Location: ADS
|
|
20
|
+
* Usage guidance: Known uses: minimize modal window, minimize panel, minimize video screen.
|
|
21
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
22
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
23
|
+
*/
|
|
24
|
+
const MinimizeIcon = props => /*#__PURE__*/_react.default.createElement(_minimize.default, Object.assign({
|
|
25
|
+
LEGACY_fallbackIcon: _fitToPage.default
|
|
26
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
27
|
+
}, props));
|
|
28
|
+
MinimizeIcon.Name = 'MinimizeIconMigration';
|
|
29
|
+
var _default = exports.default = MinimizeIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
4
|
+
|
|
5
|
+
declare const MinimizeIconMigration: {
|
|
6
|
+
(props: Omit<React.ComponentProps<typeof Icon>, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export default MinimizeIconMigration;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _minimize = _interopRequireDefault(require("@atlaskit/icon/core/minimize"));
|
|
9
|
+
var _vidFullScreenOff = _interopRequireDefault(require("@atlaskit/icon/glyph/vid-full-screen-off"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
/**
|
|
12
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are a work in progress and subject to change or removal in future minor or patch releases.
|
|
13
|
+
* Please reach out in #help-design-system before using these in production.
|
|
14
|
+
*
|
|
15
|
+
* Migration Icon component for MinimizeIcon.
|
|
16
|
+
* This component is MinimizeIcon, with `UNSAFE_fallbackIcon` set to "VidFullScreenOffIcon".
|
|
17
|
+
*
|
|
18
|
+
* Category: Single-purpose
|
|
19
|
+
* Location: ADS
|
|
20
|
+
* Usage guidance: Known uses: minimize modal window, minimize panel, minimize video screen.
|
|
21
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
22
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
23
|
+
*/
|
|
24
|
+
const MinimizeIcon = props => /*#__PURE__*/_react.default.createElement(_minimize.default, Object.assign({
|
|
25
|
+
LEGACY_fallbackIcon: _vidFullScreenOff.default
|
|
26
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
27
|
+
}, props));
|
|
28
|
+
MinimizeIcon.Name = 'MinimizeIconMigration';
|
|
29
|
+
var _default = exports.default = MinimizeIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@atlaskit/icon/UNSAFE_base-new';
|
|
4
|
+
|
|
5
|
+
declare const UploadIconMigration: {
|
|
6
|
+
(props: Omit<React.ComponentProps<typeof Icon>, 'dangerouslySetGlyph' | 'type' | 'LEGACY_fallbackIcon'> ): JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export default UploadIconMigration;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _upload = _interopRequireDefault(require("@atlaskit/icon/core/upload"));
|
|
9
|
+
var _export = _interopRequireDefault(require("@atlaskit/icon/glyph/export"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
/**
|
|
12
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are a work in progress and subject to change or removal in future minor or patch releases.
|
|
13
|
+
* Please reach out in #help-design-system before using these in production.
|
|
14
|
+
*
|
|
15
|
+
* Migration Icon component for UploadIcon.
|
|
16
|
+
* This component is UploadIcon, with `UNSAFE_fallbackIcon` set to "ExportIcon".
|
|
17
|
+
*
|
|
18
|
+
* Category: Single-purpose
|
|
19
|
+
* Location: ADS
|
|
20
|
+
* Usage guidance: Reserved for upload in Editor.
|
|
21
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
22
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
23
|
+
*/
|
|
24
|
+
const UploadIcon = props => /*#__PURE__*/_react.default.createElement(_upload.default, Object.assign({
|
|
25
|
+
LEGACY_fallbackIcon: _export.default
|
|
26
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
27
|
+
}, props));
|
|
28
|
+
UploadIcon.Name = 'UploadIconMigration';
|
|
29
|
+
var _default = exports.default = UploadIcon;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -10,4 +10,12 @@ Object.defineProperty(exports, "default", {
|
|
|
10
10
|
return _migrationMap.default;
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
|
-
|
|
13
|
+
Object.defineProperty(exports, "migrationOutcomeDescriptionMap", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function get() {
|
|
16
|
+
return _migrationMap.migrationOutcomeDescriptionMap;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
var _migrationMap = _interopRequireWildcard(require("../../src/migration-map"));
|
|
20
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
21
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|