@atlaskit/icon 22.24.0 → 22.24.2
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 +36 -0
- package/afm-cc/tsconfig.json +1 -2
- package/afm-jira/tsconfig.json +26 -26
- package/afm-post-office/tsconfig.json +26 -26
- package/core/arrow-down-right.js +2 -2
- package/core/arrow-up-left.js +2 -2
- package/core/bulleted-list.js +1 -1
- package/core/expand.js +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/core/migration/video--hipchat-sd-video.js +2 -2
- package/core/migration/video--media-services-video.js +2 -2
- package/core/migration/video--vid-camera-on.js +2 -2
- package/core/migration/video--video-circle.js +2 -2
- package/core/migration/video--video-filled.js +2 -2
- package/core/scales.js +2 -2
- package/core/screen-plus.js +2 -2
- package/core/send.js +2 -2
- package/core/smart-link.js +2 -2
- package/core/status-verified.js +2 -2
- package/core/video.js +2 -2
- package/dist/cjs/components/icon.js +5 -4
- package/dist/cjs/entry-points/metadata.js +15 -1
- package/dist/cjs/metadata-core.js +12 -8
- package/dist/cjs/migration-map.js +39 -4
- package/dist/es2019/components/icon.js +1 -3
- package/dist/es2019/entry-points/metadata.js +3 -1
- package/dist/es2019/metadata-core.js +12 -8
- package/dist/es2019/migration-map.js +39 -4
- package/dist/esm/components/icon.js +5 -4
- package/dist/esm/entry-points/metadata.js +3 -1
- package/dist/esm/metadata-core.js +12 -8
- package/dist/esm/migration-map.js +39 -4
- package/dist/types/entry-points/metadata.d.ts +2 -0
- package/dist/types/metadata-core.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/metadata.d.ts +2 -0
- 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 +45 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::b1e1a64477d8a2bd9bfaf4f0ba07f64c>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
"use strict";
|
|
@@ -21,7 +21,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
21
21
|
*
|
|
22
22
|
* Category: single-purpose
|
|
23
23
|
* Location: @atlaskit/icon
|
|
24
|
-
* Usage guidance: Single purpose - Reserved for video
|
|
24
|
+
* Usage guidance: Single purpose - Reserved for representing video content across Atlassian and Loom.
|
|
25
25
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
26
26
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
27
27
|
*/
|
package/core/scales.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::af2ad4668be05fb22a575cabc855c1bf>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
"use strict";
|
|
@@ -24,7 +24,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
24
24
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
25
25
|
*/
|
|
26
26
|
const ScalesIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
|
|
27
|
-
dangerouslySetGlyph: `<path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="
|
|
27
|
+
dangerouslySetGlyph: `<path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M8 1v2.998M.755 11.25h5.987m-2.99-6.247L6.75 11.25a3 3 0 1 1-6 0l3-6.25L8 4l4.25-1 3 6.25a3 3 0 1 1-6 0l3.002-6.248m2.996 6.248H9.253"/>`
|
|
28
28
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
29
29
|
}, props));
|
|
30
30
|
ScalesIcon.displayName = 'ScalesIcon';
|
package/core/screen-plus.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::2eb43807607ad0a201e95ad8a68ce873>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
"use strict";
|
|
@@ -19,7 +19,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
19
19
|
* Icon: "ScreenPlus".
|
|
20
20
|
* Category: multi-purpose
|
|
21
21
|
* Location: @atlaskit/icon
|
|
22
|
-
* Usage guidance:
|
|
22
|
+
* Usage guidance: Known uses: TBC
|
|
23
23
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
24
24
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
25
25
|
*/
|
package/core/send.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::578824dcb55b508774959facaa3d2955>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
"use strict";
|
|
@@ -24,7 +24,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
24
24
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
25
25
|
*/
|
|
26
26
|
const SendIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
|
|
27
|
-
dangerouslySetGlyph: `<path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="
|
|
27
|
+
dangerouslySetGlyph: `<path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M13.679 2.321 6.252 9.753M14.25 1.75l-13.5 5 5.5 3 3 5.5z"/>`
|
|
28
28
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
29
29
|
}, props));
|
|
30
30
|
SendIcon.displayName = 'SendIcon';
|
package/core/smart-link.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::1b2b3c2b0377d5fdfd2ef301d2ae1422>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
"use strict";
|
|
@@ -24,7 +24,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
24
24
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
25
25
|
*/
|
|
26
26
|
const SmartLinkIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
|
|
27
|
-
dangerouslySetGlyph: `<path stroke="currentcolor" stroke-width="1.5" d="M5 6.5 2.75 8.75a3.182 3.182 0 0 0 4.168 4.79M11 9.5l2.25-2.25a3.182 3.182 0 0 0-4.168-4.
|
|
27
|
+
dangerouslySetGlyph: `<path stroke="currentcolor" stroke-width="1.5" d="M5 6.5 2.75 8.75a3.182 3.182 0 0 0 4.168 4.79M11 9.5l2.25-2.25a3.182 3.182 0 0 0-4.168-4.789m0 0A1.5 1.5 0 1 0 6.919 4.54a1.5 1.5 0 0 0 2.163-2.078ZM6.918 13.54a1.5 1.5 0 1 0 2.163-2.078 1.5 1.5 0 0 0-2.163 2.078Z"/>`
|
|
28
28
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
29
29
|
}, props));
|
|
30
30
|
SmartLinkIcon.displayName = 'SmartLinkIcon';
|
package/core/status-verified.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::c79209527496ded28415bb6d06619cad>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
"use strict";
|
|
@@ -24,7 +24,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
24
24
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
25
25
|
*/
|
|
26
26
|
const StatusVerifiedIcon = props => /*#__PURE__*/_react.default.createElement(_UNSAFE_baseNew.default, Object.assign({
|
|
27
|
-
dangerouslySetGlyph: `<path fill="currentcolor" fill-rule="evenodd" d="M9.15
|
|
27
|
+
dangerouslySetGlyph: `<path fill="currentcolor" fill-rule="evenodd" d="M9.15.444a1.713 1.713 0 0 0-2.3 0L5.7 1.486a.2.2 0 0 1-.15.055L4 1.481a1.713 1.713 0 0 0-1.763 1.48l-.21 1.536a.2.2 0 0 1-.08.139l-1.226.95c-.696.54-.87 1.52-.4 2.266l.828 1.312c.03.047.04.104.027.159l-.328 1.515A1.713 1.713 0 0 0 2 12.831l1.477.474a.2.2 0 0 1 .123.103l.723 1.372c.41.78 1.346 1.12 2.162.787l1.436-.586a.2.2 0 0 1 .16 0l1.436.586a1.713 1.713 0 0 0 2.162-.787l.723-1.372a.2.2 0 0 1 .123-.103l1.477-.474a1.713 1.713 0 0 0 1.15-1.993l-.328-1.515a.2.2 0 0 1 .028-.159l.827-1.312a1.71 1.71 0 0 0-.4-2.266l-1.225-.95a.2.2 0 0 1-.08-.14l-.21-1.536A1.713 1.713 0 0 0 12 1.481l-1.55.06a.2.2 0 0 1-.15-.055zm3.176 5.036-1.152-.96L6.75 9.828 4.826 7.52l-1.152.96 2.5 3a.75.75 0 0 0 1.152 0z" clip-rule="evenodd"/>`
|
|
28
28
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
29
29
|
}, props));
|
|
30
30
|
StatusVerifiedIcon.displayName = 'StatusVerifiedIcon';
|
package/core/video.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::7fcdc9d81a6b006402cdc2c95922b799>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
"use strict";
|
|
@@ -19,7 +19,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
19
19
|
* Icon: "Video".
|
|
20
20
|
* Category: single-purpose
|
|
21
21
|
* Location: @atlaskit/icon
|
|
22
|
-
* Usage guidance: Single purpose - Reserved for video
|
|
22
|
+
* Usage guidance: Single purpose - Reserved for representing video content across Atlassian and Loom.
|
|
23
23
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
24
24
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
25
25
|
*/
|
|
@@ -111,13 +111,14 @@ var Icon = exports.Icon = /*#__PURE__*/(0, _react.memo)(function Icon(props) {
|
|
|
111
111
|
"aria-hidden": label ? undefined : true
|
|
112
112
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
113
113
|
,
|
|
114
|
-
style:
|
|
114
|
+
style: {
|
|
115
115
|
'--icon-primary-color': primaryColor,
|
|
116
116
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
117
|
-
'--icon-secondary-color': secondaryColor || (0, _utils.getBackground)()
|
|
118
|
-
|
|
117
|
+
'--icon-secondary-color': secondaryColor || (0, _utils.getBackground)(),
|
|
118
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
119
119
|
margin: UNSAFE_margin
|
|
120
|
-
|
|
120
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
121
|
+
}
|
|
121
122
|
}, glyphProps, {
|
|
122
123
|
css: [iconStyles, baseHcmStyles, primaryColor === secondaryColor && primaryEqualsSecondaryHcmStyles, secondaryColor === 'transparent' && secondaryTransparentHcmStyles,
|
|
123
124
|
// NB: This can be resolved if this component, composes base SVG / and/or skeleton
|
|
@@ -4,10 +4,24 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
+
Object.defineProperty(exports, "coreIconMetadata", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _metadataCore.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
7
13
|
Object.defineProperty(exports, "default", {
|
|
8
14
|
enumerable: true,
|
|
9
15
|
get: function get() {
|
|
10
16
|
return _metadata.default;
|
|
11
17
|
}
|
|
12
18
|
});
|
|
13
|
-
|
|
19
|
+
Object.defineProperty(exports, "utilityIconMetadata", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function get() {
|
|
22
|
+
return _metadataUtility.default;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
var _metadata = _interopRequireDefault(require("../metadata"));
|
|
26
|
+
var _metadataCore = _interopRequireDefault(require("../metadata-core"));
|
|
27
|
+
var _metadataUtility = _interopRequireDefault(require("../metadata-utility"));
|
|
@@ -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::c4b8aee35aca4112c22d6141c23cd08f>>
|
|
13
13
|
* @codegenCommand yarn build:icon-glyphs
|
|
14
14
|
*/
|
|
15
15
|
|
|
@@ -173,7 +173,7 @@ var metadata = {
|
|
|
173
173
|
package: '@atlaskit/icon/core/arrow-down-right',
|
|
174
174
|
type: 'core',
|
|
175
175
|
categorization: 'multi-purpose',
|
|
176
|
-
usage: '
|
|
176
|
+
usage: 'Known uses: TBC',
|
|
177
177
|
team: 'Design System Team'
|
|
178
178
|
},
|
|
179
179
|
'arrow-left': {
|
|
@@ -212,7 +212,7 @@ var metadata = {
|
|
|
212
212
|
package: '@atlaskit/icon/core/arrow-up-left',
|
|
213
213
|
type: 'core',
|
|
214
214
|
categorization: 'multi-purpose',
|
|
215
|
-
usage: '
|
|
215
|
+
usage: 'Known uses: TBC',
|
|
216
216
|
team: 'Design System Team'
|
|
217
217
|
},
|
|
218
218
|
'arrow-up-right': {
|
|
@@ -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.",
|
|
@@ -1359,7 +1363,7 @@ var metadata = {
|
|
|
1359
1363
|
team: 'Design System Team'
|
|
1360
1364
|
},
|
|
1361
1365
|
highlight: {
|
|
1362
|
-
keywords: ['highlight', 'icon', 'core', '
|
|
1366
|
+
keywords: ['highlight', 'icon', 'core', 'highlight', 'highlighter', 'stabilo', 'pen'],
|
|
1363
1367
|
componentName: 'HighlightIcon',
|
|
1364
1368
|
package: '@atlaskit/icon/core/highlight',
|
|
1365
1369
|
type: 'core',
|
|
@@ -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.',
|
|
@@ -2338,7 +2342,7 @@ var metadata = {
|
|
|
2338
2342
|
package: '@atlaskit/icon/core/screen-plus',
|
|
2339
2343
|
type: 'core',
|
|
2340
2344
|
categorization: 'multi-purpose',
|
|
2341
|
-
usage: '
|
|
2345
|
+
usage: 'Known uses: TBC',
|
|
2342
2346
|
team: 'Design System Team'
|
|
2343
2347
|
},
|
|
2344
2348
|
search: {
|
|
@@ -3073,7 +3077,7 @@ var metadata = {
|
|
|
3073
3077
|
oldName: ['media-services/video', 'hipchat/sd-video', 'vid-camera-on', 'video-circle', 'video-filled'],
|
|
3074
3078
|
type: 'core',
|
|
3075
3079
|
categorization: 'single-purpose',
|
|
3076
|
-
usage: 'Single purpose - Reserved for video
|
|
3080
|
+
usage: 'Single purpose - Reserved for representing video content across Atlassian and Loom.',
|
|
3077
3081
|
team: 'Design System Team'
|
|
3078
3082
|
},
|
|
3079
3083
|
'video-next': {
|
|
@@ -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',
|
|
@@ -112,9 +112,7 @@ export const Icon = /*#__PURE__*/memo(function Icon(props) {
|
|
|
112
112
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
113
113
|
'--icon-secondary-color': secondaryColor || getBackground(),
|
|
114
114
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
115
|
-
|
|
116
|
-
margin: UNSAFE_margin
|
|
117
|
-
} : {})
|
|
115
|
+
margin: UNSAFE_margin
|
|
118
116
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
119
117
|
}
|
|
120
118
|
}, glyphProps, {
|
|
@@ -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::c4b8aee35aca4112c22d6141c23cd08f>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -167,7 +167,7 @@ const metadata = {
|
|
|
167
167
|
package: '@atlaskit/icon/core/arrow-down-right',
|
|
168
168
|
type: 'core',
|
|
169
169
|
categorization: 'multi-purpose',
|
|
170
|
-
usage: '
|
|
170
|
+
usage: 'Known uses: TBC',
|
|
171
171
|
team: 'Design System Team'
|
|
172
172
|
},
|
|
173
173
|
'arrow-left': {
|
|
@@ -206,7 +206,7 @@ const metadata = {
|
|
|
206
206
|
package: '@atlaskit/icon/core/arrow-up-left',
|
|
207
207
|
type: 'core',
|
|
208
208
|
categorization: 'multi-purpose',
|
|
209
|
-
usage: '
|
|
209
|
+
usage: 'Known uses: TBC',
|
|
210
210
|
team: 'Design System Team'
|
|
211
211
|
},
|
|
212
212
|
'arrow-up-right': {
|
|
@@ -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.",
|
|
@@ -1353,7 +1357,7 @@ const metadata = {
|
|
|
1353
1357
|
team: 'Design System Team'
|
|
1354
1358
|
},
|
|
1355
1359
|
highlight: {
|
|
1356
|
-
keywords: ['highlight', 'icon', 'core', '
|
|
1360
|
+
keywords: ['highlight', 'icon', 'core', 'highlight', 'highlighter', 'stabilo', 'pen'],
|
|
1357
1361
|
componentName: 'HighlightIcon',
|
|
1358
1362
|
package: '@atlaskit/icon/core/highlight',
|
|
1359
1363
|
type: 'core',
|
|
@@ -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.',
|
|
@@ -2332,7 +2336,7 @@ const metadata = {
|
|
|
2332
2336
|
package: '@atlaskit/icon/core/screen-plus',
|
|
2333
2337
|
type: 'core',
|
|
2334
2338
|
categorization: 'multi-purpose',
|
|
2335
|
-
usage: '
|
|
2339
|
+
usage: 'Known uses: TBC',
|
|
2336
2340
|
team: 'Design System Team'
|
|
2337
2341
|
},
|
|
2338
2342
|
search: {
|
|
@@ -3067,7 +3071,7 @@ const metadata = {
|
|
|
3067
3071
|
oldName: ['media-services/video', 'hipchat/sd-video', 'vid-camera-on', 'video-circle', 'video-filled'],
|
|
3068
3072
|
type: 'core',
|
|
3069
3073
|
categorization: 'single-purpose',
|
|
3070
|
-
usage: 'Single purpose - Reserved for video
|
|
3074
|
+
usage: 'Single purpose - Reserved for representing video content across Atlassian and Loom.',
|
|
3071
3075
|
team: 'Design System Team'
|
|
3072
3076
|
},
|
|
3073
3077
|
'video-next': {
|
|
@@ -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',
|
|
@@ -108,13 +108,14 @@ export var Icon = /*#__PURE__*/memo(function Icon(props) {
|
|
|
108
108
|
"aria-hidden": label ? undefined : true
|
|
109
109
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
110
110
|
,
|
|
111
|
-
style:
|
|
111
|
+
style: {
|
|
112
112
|
'--icon-primary-color': primaryColor,
|
|
113
113
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
114
|
-
'--icon-secondary-color': secondaryColor || getBackground()
|
|
115
|
-
|
|
114
|
+
'--icon-secondary-color': secondaryColor || getBackground(),
|
|
115
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
116
116
|
margin: UNSAFE_margin
|
|
117
|
-
|
|
117
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
118
|
+
}
|
|
118
119
|
}, glyphProps, {
|
|
119
120
|
css: [iconStyles, baseHcmStyles, primaryColor === secondaryColor && primaryEqualsSecondaryHcmStyles, secondaryColor === 'transparent' && secondaryTransparentHcmStyles,
|
|
120
121
|
// NB: This can be resolved if this component, composes base SVG / and/or skeleton
|