@atlaskit/icon 23.6.1 → 23.7.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 +47 -0
- package/core/cloud-arrow-up.js +2 -2
- package/core/error.js +2 -2
- package/core/exclamation-square.d.ts +13 -0
- package/core/exclamation-square.js +31 -0
- package/core/field-radio-group.js +2 -2
- package/core/information-circle.d.ts +13 -0
- package/core/information-circle.js +31 -0
- package/core/migration/plus-square--issue-raise.d.ts +15 -0
- package/core/migration/plus-square--issue-raise.js +33 -0
- package/core/minus.js +2 -2
- package/core/operations.js +2 -2
- package/core/problem.js +2 -2
- package/core/text-heading.d.ts +13 -0
- package/core/text-heading.js +31 -0
- package/core/text-strikethrough.d.ts +13 -0
- package/core/text-strikethrough.js +31 -0
- package/core/text-underline.d.ts +13 -0
- package/core/text-underline.js +31 -0
- package/core/thumbs-down.js +2 -2
- package/core/thumbs-up.js +2 -2
- package/core/volume-high.js +2 -2
- package/core/volume-low.js +2 -2
- package/core/volume-muted.js +2 -2
- package/core/warning.js +2 -2
- package/dist/cjs/components/icon-facade.js +4 -5
- package/dist/cjs/metadata-core.js +54 -3
- package/dist/es2019/components/icon-facade.js +2 -3
- package/dist/es2019/metadata-core.js +54 -3
- package/dist/esm/components/icon-facade.js +2 -3
- package/dist/esm/metadata-core.js +54 -3
- package/dist/types/components/icon-facade.d.ts +0 -1
- package/dist/types/metadata-core.d.ts +1 -1
- package/dist/types/types.d.ts +10 -10
- package/dist/types-ts4.5/components/icon-facade.d.ts +0 -1
- package/dist/types-ts4.5/metadata-core.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +10 -10
- package/glyph/issue-raise.js +4 -1
- package/package.json +14 -5
|
@@ -9,7 +9,7 @@ exports.default = void 0;
|
|
|
9
9
|
*
|
|
10
10
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
11
11
|
*
|
|
12
|
-
* @codegen <<SignedSource::
|
|
12
|
+
* @codegen <<SignedSource::297cb37fa9fafef1e1b28e02fb2b1a3a>>
|
|
13
13
|
* @codegenCommand yarn build:icon-glyphs
|
|
14
14
|
*/
|
|
15
15
|
|
|
@@ -1008,7 +1008,7 @@ var metadata = {
|
|
|
1008
1008
|
team: 'Design System Team'
|
|
1009
1009
|
},
|
|
1010
1010
|
error: {
|
|
1011
|
-
keywords: ['error', 'warning', 'alert', 'icon', 'core', 'filled', 'status'],
|
|
1011
|
+
keywords: ['error', 'warning', 'alert', 'icon', 'core', 'filled', 'status', 'danger', 'exclamation', '!', 'stop'],
|
|
1012
1012
|
componentName: 'ErrorIcon',
|
|
1013
1013
|
package: '@atlaskit/icon/core/error',
|
|
1014
1014
|
oldName: ['error'],
|
|
@@ -1017,6 +1017,16 @@ var metadata = {
|
|
|
1017
1017
|
usage: 'Single purpose - Reserved for when there is an error.',
|
|
1018
1018
|
team: 'Design System Team'
|
|
1019
1019
|
},
|
|
1020
|
+
'exclamation-square': {
|
|
1021
|
+
keywords: ['exclamation-square', 'exclamationsquare', 'icon', 'core', '!', 'exclaimation', 'exclaim', 'issue type', 'square'],
|
|
1022
|
+
componentName: 'ExclamationSquareIcon',
|
|
1023
|
+
package: '@atlaskit/icon/core/exclamation-square',
|
|
1024
|
+
type: 'core',
|
|
1025
|
+
categorization: 'multi-purpose',
|
|
1026
|
+
usage: 'Known uses: Exclamation Jira issue type',
|
|
1027
|
+
team: 'Design System Team',
|
|
1028
|
+
slackChannel: '#icon-contributions'
|
|
1029
|
+
},
|
|
1020
1030
|
'expand-horizontal': {
|
|
1021
1031
|
keywords: ['expand-horizontal', 'expandhorizontal', 'icon', 'core', 'expand', 'width', 'horizontal arrows', 'maximum width', 'stretch', 'fit'],
|
|
1022
1032
|
componentName: 'ExpandHorizontalIcon',
|
|
@@ -1417,6 +1427,16 @@ var metadata = {
|
|
|
1417
1427
|
usage: 'Single purpose - Known uses: information state in section messages or inline messages.',
|
|
1418
1428
|
team: 'Design System Team'
|
|
1419
1429
|
},
|
|
1430
|
+
'information-circle': {
|
|
1431
|
+
keywords: ['information-circle', 'informationcircle', 'icon', 'core', 'information', 'circle', 'info'],
|
|
1432
|
+
componentName: 'InformationCircleIcon',
|
|
1433
|
+
package: '@atlaskit/icon/core/information-circle',
|
|
1434
|
+
type: 'core',
|
|
1435
|
+
categorization: 'multi-purpose',
|
|
1436
|
+
usage: 'Known uses: For highlighting information when less visual emphasis is needed within the UI compared to the filled information status icon.',
|
|
1437
|
+
team: 'Design System Team',
|
|
1438
|
+
slackChannel: '#icon-contributions'
|
|
1439
|
+
},
|
|
1420
1440
|
issue: {
|
|
1421
1441
|
keywords: ['issue', 'tick', 'check', 'confirm', 'task', 'icon', 'core', 'single issue', 'jira status', 'check mark', 'tick'],
|
|
1422
1442
|
componentName: 'IssueIcon',
|
|
@@ -2001,6 +2021,7 @@ var metadata = {
|
|
|
2001
2021
|
keywords: ['plus-square', 'plussquare', 'icon', 'core', 'square', 'plus', 'add'],
|
|
2002
2022
|
componentName: 'PlusSquareIcon',
|
|
2003
2023
|
package: '@atlaskit/icon/core/plus-square',
|
|
2024
|
+
oldName: ['issue-raise'],
|
|
2004
2025
|
type: 'core',
|
|
2005
2026
|
categorization: 'multi-purpose',
|
|
2006
2027
|
usage: "Multi purpose - Known usages: 'New feature' Jira issue status.",
|
|
@@ -2878,6 +2899,16 @@ var metadata = {
|
|
|
2878
2899
|
usage: 'Single purpose - Reserved for bolding text.',
|
|
2879
2900
|
team: 'Design System Team'
|
|
2880
2901
|
},
|
|
2902
|
+
'text-heading': {
|
|
2903
|
+
keywords: ['text-heading', 'textheading', 'icon', 'core', 'text', 'heading', 'H', 'editor', 'text style'],
|
|
2904
|
+
componentName: 'TextHeadingIcon',
|
|
2905
|
+
package: '@atlaskit/icon/core/text-heading',
|
|
2906
|
+
type: 'core',
|
|
2907
|
+
categorization: 'single-purpose',
|
|
2908
|
+
usage: 'Reserved for representing heading styles',
|
|
2909
|
+
team: 'Design System Team',
|
|
2910
|
+
slackChannel: '#icon-contributions'
|
|
2911
|
+
},
|
|
2881
2912
|
'text-indent-left': {
|
|
2882
2913
|
keywords: ['text-indent-left', 'textindentleft', 'icon', 'core', 'text', 'outdent', 'left', 'arrow'],
|
|
2883
2914
|
componentName: 'TextIndentLeftIcon',
|
|
@@ -2926,6 +2957,16 @@ var metadata = {
|
|
|
2926
2957
|
usage: 'Single purpose - Reserved for spellchecking.',
|
|
2927
2958
|
team: 'Design System Team'
|
|
2928
2959
|
},
|
|
2960
|
+
'text-strikethrough': {
|
|
2961
|
+
keywords: ['text-strikethrough', 'textstrikethrough', 'icon', 'core', 'text', 'strikethrough', 'editor', 'cross out'],
|
|
2962
|
+
componentName: 'TextStrikethroughIcon',
|
|
2963
|
+
package: '@atlaskit/icon/core/text-strikethrough',
|
|
2964
|
+
type: 'core',
|
|
2965
|
+
categorization: 'single-purpose',
|
|
2966
|
+
usage: 'Reserved for strikethrough text tool',
|
|
2967
|
+
team: 'Design System Team',
|
|
2968
|
+
slackChannel: '#icon-contributions'
|
|
2969
|
+
},
|
|
2929
2970
|
'text-style': {
|
|
2930
2971
|
keywords: ['text-style', 'textstyle', 'icon', 'core', 'characters', 'font', 'letters', 'type', 'typography'],
|
|
2931
2972
|
componentName: 'TextStyleIcon',
|
|
@@ -2936,6 +2977,16 @@ var metadata = {
|
|
|
2936
2977
|
usage: 'Single purpose - Reserved for text styles in Editor.',
|
|
2937
2978
|
team: 'Editor'
|
|
2938
2979
|
},
|
|
2980
|
+
'text-underline': {
|
|
2981
|
+
keywords: ['text-underline', 'textunderline', 'icon', 'core', 'text', 'underline', 'U', 'editor'],
|
|
2982
|
+
componentName: 'TextUnderlineIcon',
|
|
2983
|
+
package: '@atlaskit/icon/core/text-underline',
|
|
2984
|
+
type: 'core',
|
|
2985
|
+
categorization: 'single-purpose',
|
|
2986
|
+
usage: 'Reserved for underlined text tool',
|
|
2987
|
+
team: 'Design System Team',
|
|
2988
|
+
slackChannel: '#icon-contributions'
|
|
2989
|
+
},
|
|
2939
2990
|
'text-wrap': {
|
|
2940
2991
|
keywords: ['text-wrap', 'textwrap', 'icon', 'core', 'text', 'wrap', 'line wrap'],
|
|
2941
2992
|
componentName: 'TextWrapIcon',
|
|
@@ -3218,7 +3269,7 @@ var metadata = {
|
|
|
3218
3269
|
team: 'Design System Team'
|
|
3219
3270
|
},
|
|
3220
3271
|
warning: {
|
|
3221
|
-
keywords: ['warning', 'error', 'alert', 'icon', 'core', 'alert', '
|
|
3272
|
+
keywords: ['warning', 'error', 'alert', 'icon', 'core', 'alert', 'triangle', 'filled', 'exclamation', '!', 'warning'],
|
|
3222
3273
|
componentName: 'WarningIcon',
|
|
3223
3274
|
package: '@atlaskit/icon/core/warning',
|
|
3224
3275
|
oldName: ['editor/warning', 'warning'],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { memo } from 'react';
|
|
3
3
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
-
import LegacyIcon from './icon';
|
|
4
|
+
import { Icon as LegacyIcon } from './icon';
|
|
5
5
|
const sizeSpacingMap = {
|
|
6
6
|
utility: {
|
|
7
7
|
small: 'compact',
|
|
@@ -53,5 +53,4 @@ export const IconFacade = /*#__PURE__*/memo(function IconFacade({
|
|
|
53
53
|
return /*#__PURE__*/React.createElement(LegacyIcon, _extends({
|
|
54
54
|
dangerouslySetGlyph: dangerouslySetGlyph
|
|
55
55
|
}, props));
|
|
56
|
-
});
|
|
57
|
-
export default IconFacade;
|
|
56
|
+
});
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::297cb37fa9fafef1e1b28e02fb2b1a3a>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -1002,7 +1002,7 @@ const metadata = {
|
|
|
1002
1002
|
team: 'Design System Team'
|
|
1003
1003
|
},
|
|
1004
1004
|
error: {
|
|
1005
|
-
keywords: ['error', 'warning', 'alert', 'icon', 'core', 'filled', 'status'],
|
|
1005
|
+
keywords: ['error', 'warning', 'alert', 'icon', 'core', 'filled', 'status', 'danger', 'exclamation', '!', 'stop'],
|
|
1006
1006
|
componentName: 'ErrorIcon',
|
|
1007
1007
|
package: '@atlaskit/icon/core/error',
|
|
1008
1008
|
oldName: ['error'],
|
|
@@ -1011,6 +1011,16 @@ const metadata = {
|
|
|
1011
1011
|
usage: 'Single purpose - Reserved for when there is an error.',
|
|
1012
1012
|
team: 'Design System Team'
|
|
1013
1013
|
},
|
|
1014
|
+
'exclamation-square': {
|
|
1015
|
+
keywords: ['exclamation-square', 'exclamationsquare', 'icon', 'core', '!', 'exclaimation', 'exclaim', 'issue type', 'square'],
|
|
1016
|
+
componentName: 'ExclamationSquareIcon',
|
|
1017
|
+
package: '@atlaskit/icon/core/exclamation-square',
|
|
1018
|
+
type: 'core',
|
|
1019
|
+
categorization: 'multi-purpose',
|
|
1020
|
+
usage: 'Known uses: Exclamation Jira issue type',
|
|
1021
|
+
team: 'Design System Team',
|
|
1022
|
+
slackChannel: '#icon-contributions'
|
|
1023
|
+
},
|
|
1014
1024
|
'expand-horizontal': {
|
|
1015
1025
|
keywords: ['expand-horizontal', 'expandhorizontal', 'icon', 'core', 'expand', 'width', 'horizontal arrows', 'maximum width', 'stretch', 'fit'],
|
|
1016
1026
|
componentName: 'ExpandHorizontalIcon',
|
|
@@ -1411,6 +1421,16 @@ const metadata = {
|
|
|
1411
1421
|
usage: 'Single purpose - Known uses: information state in section messages or inline messages.',
|
|
1412
1422
|
team: 'Design System Team'
|
|
1413
1423
|
},
|
|
1424
|
+
'information-circle': {
|
|
1425
|
+
keywords: ['information-circle', 'informationcircle', 'icon', 'core', 'information', 'circle', 'info'],
|
|
1426
|
+
componentName: 'InformationCircleIcon',
|
|
1427
|
+
package: '@atlaskit/icon/core/information-circle',
|
|
1428
|
+
type: 'core',
|
|
1429
|
+
categorization: 'multi-purpose',
|
|
1430
|
+
usage: 'Known uses: For highlighting information when less visual emphasis is needed within the UI compared to the filled information status icon.',
|
|
1431
|
+
team: 'Design System Team',
|
|
1432
|
+
slackChannel: '#icon-contributions'
|
|
1433
|
+
},
|
|
1414
1434
|
issue: {
|
|
1415
1435
|
keywords: ['issue', 'tick', 'check', 'confirm', 'task', 'icon', 'core', 'single issue', 'jira status', 'check mark', 'tick'],
|
|
1416
1436
|
componentName: 'IssueIcon',
|
|
@@ -1995,6 +2015,7 @@ const metadata = {
|
|
|
1995
2015
|
keywords: ['plus-square', 'plussquare', 'icon', 'core', 'square', 'plus', 'add'],
|
|
1996
2016
|
componentName: 'PlusSquareIcon',
|
|
1997
2017
|
package: '@atlaskit/icon/core/plus-square',
|
|
2018
|
+
oldName: ['issue-raise'],
|
|
1998
2019
|
type: 'core',
|
|
1999
2020
|
categorization: 'multi-purpose',
|
|
2000
2021
|
usage: "Multi purpose - Known usages: 'New feature' Jira issue status.",
|
|
@@ -2872,6 +2893,16 @@ const metadata = {
|
|
|
2872
2893
|
usage: 'Single purpose - Reserved for bolding text.',
|
|
2873
2894
|
team: 'Design System Team'
|
|
2874
2895
|
},
|
|
2896
|
+
'text-heading': {
|
|
2897
|
+
keywords: ['text-heading', 'textheading', 'icon', 'core', 'text', 'heading', 'H', 'editor', 'text style'],
|
|
2898
|
+
componentName: 'TextHeadingIcon',
|
|
2899
|
+
package: '@atlaskit/icon/core/text-heading',
|
|
2900
|
+
type: 'core',
|
|
2901
|
+
categorization: 'single-purpose',
|
|
2902
|
+
usage: 'Reserved for representing heading styles',
|
|
2903
|
+
team: 'Design System Team',
|
|
2904
|
+
slackChannel: '#icon-contributions'
|
|
2905
|
+
},
|
|
2875
2906
|
'text-indent-left': {
|
|
2876
2907
|
keywords: ['text-indent-left', 'textindentleft', 'icon', 'core', 'text', 'outdent', 'left', 'arrow'],
|
|
2877
2908
|
componentName: 'TextIndentLeftIcon',
|
|
@@ -2920,6 +2951,16 @@ const metadata = {
|
|
|
2920
2951
|
usage: 'Single purpose - Reserved for spellchecking.',
|
|
2921
2952
|
team: 'Design System Team'
|
|
2922
2953
|
},
|
|
2954
|
+
'text-strikethrough': {
|
|
2955
|
+
keywords: ['text-strikethrough', 'textstrikethrough', 'icon', 'core', 'text', 'strikethrough', 'editor', 'cross out'],
|
|
2956
|
+
componentName: 'TextStrikethroughIcon',
|
|
2957
|
+
package: '@atlaskit/icon/core/text-strikethrough',
|
|
2958
|
+
type: 'core',
|
|
2959
|
+
categorization: 'single-purpose',
|
|
2960
|
+
usage: 'Reserved for strikethrough text tool',
|
|
2961
|
+
team: 'Design System Team',
|
|
2962
|
+
slackChannel: '#icon-contributions'
|
|
2963
|
+
},
|
|
2923
2964
|
'text-style': {
|
|
2924
2965
|
keywords: ['text-style', 'textstyle', 'icon', 'core', 'characters', 'font', 'letters', 'type', 'typography'],
|
|
2925
2966
|
componentName: 'TextStyleIcon',
|
|
@@ -2930,6 +2971,16 @@ const metadata = {
|
|
|
2930
2971
|
usage: 'Single purpose - Reserved for text styles in Editor.',
|
|
2931
2972
|
team: 'Editor'
|
|
2932
2973
|
},
|
|
2974
|
+
'text-underline': {
|
|
2975
|
+
keywords: ['text-underline', 'textunderline', 'icon', 'core', 'text', 'underline', 'U', 'editor'],
|
|
2976
|
+
componentName: 'TextUnderlineIcon',
|
|
2977
|
+
package: '@atlaskit/icon/core/text-underline',
|
|
2978
|
+
type: 'core',
|
|
2979
|
+
categorization: 'single-purpose',
|
|
2980
|
+
usage: 'Reserved for underlined text tool',
|
|
2981
|
+
team: 'Design System Team',
|
|
2982
|
+
slackChannel: '#icon-contributions'
|
|
2983
|
+
},
|
|
2933
2984
|
'text-wrap': {
|
|
2934
2985
|
keywords: ['text-wrap', 'textwrap', 'icon', 'core', 'text', 'wrap', 'line wrap'],
|
|
2935
2986
|
componentName: 'TextWrapIcon',
|
|
@@ -3212,7 +3263,7 @@ const metadata = {
|
|
|
3212
3263
|
team: 'Design System Team'
|
|
3213
3264
|
},
|
|
3214
3265
|
warning: {
|
|
3215
|
-
keywords: ['warning', 'error', 'alert', 'icon', 'core', 'alert', '
|
|
3266
|
+
keywords: ['warning', 'error', 'alert', 'icon', 'core', 'alert', 'triangle', 'filled', 'exclamation', '!', 'warning'],
|
|
3216
3267
|
componentName: 'WarningIcon',
|
|
3217
3268
|
package: '@atlaskit/icon/core/warning',
|
|
3218
3269
|
oldName: ['editor/warning', 'warning'],
|
|
@@ -3,7 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["dangerouslySetGlyph"];
|
|
4
4
|
import React, { memo } from 'react';
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
-
import LegacyIcon from './icon';
|
|
6
|
+
import { Icon as LegacyIcon } from './icon';
|
|
7
7
|
var sizeSpacingMap = {
|
|
8
8
|
utility: {
|
|
9
9
|
small: 'compact',
|
|
@@ -54,5 +54,4 @@ export var IconFacade = /*#__PURE__*/memo(function IconFacade(_ref) {
|
|
|
54
54
|
return /*#__PURE__*/React.createElement(LegacyIcon, _extends({
|
|
55
55
|
dangerouslySetGlyph: dangerouslySetGlyph
|
|
56
56
|
}, props));
|
|
57
|
-
});
|
|
58
|
-
export default IconFacade;
|
|
57
|
+
});
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::297cb37fa9fafef1e1b28e02fb2b1a3a>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -1002,7 +1002,7 @@ var metadata = {
|
|
|
1002
1002
|
team: 'Design System Team'
|
|
1003
1003
|
},
|
|
1004
1004
|
error: {
|
|
1005
|
-
keywords: ['error', 'warning', 'alert', 'icon', 'core', 'filled', 'status'],
|
|
1005
|
+
keywords: ['error', 'warning', 'alert', 'icon', 'core', 'filled', 'status', 'danger', 'exclamation', '!', 'stop'],
|
|
1006
1006
|
componentName: 'ErrorIcon',
|
|
1007
1007
|
package: '@atlaskit/icon/core/error',
|
|
1008
1008
|
oldName: ['error'],
|
|
@@ -1011,6 +1011,16 @@ var metadata = {
|
|
|
1011
1011
|
usage: 'Single purpose - Reserved for when there is an error.',
|
|
1012
1012
|
team: 'Design System Team'
|
|
1013
1013
|
},
|
|
1014
|
+
'exclamation-square': {
|
|
1015
|
+
keywords: ['exclamation-square', 'exclamationsquare', 'icon', 'core', '!', 'exclaimation', 'exclaim', 'issue type', 'square'],
|
|
1016
|
+
componentName: 'ExclamationSquareIcon',
|
|
1017
|
+
package: '@atlaskit/icon/core/exclamation-square',
|
|
1018
|
+
type: 'core',
|
|
1019
|
+
categorization: 'multi-purpose',
|
|
1020
|
+
usage: 'Known uses: Exclamation Jira issue type',
|
|
1021
|
+
team: 'Design System Team',
|
|
1022
|
+
slackChannel: '#icon-contributions'
|
|
1023
|
+
},
|
|
1014
1024
|
'expand-horizontal': {
|
|
1015
1025
|
keywords: ['expand-horizontal', 'expandhorizontal', 'icon', 'core', 'expand', 'width', 'horizontal arrows', 'maximum width', 'stretch', 'fit'],
|
|
1016
1026
|
componentName: 'ExpandHorizontalIcon',
|
|
@@ -1411,6 +1421,16 @@ var metadata = {
|
|
|
1411
1421
|
usage: 'Single purpose - Known uses: information state in section messages or inline messages.',
|
|
1412
1422
|
team: 'Design System Team'
|
|
1413
1423
|
},
|
|
1424
|
+
'information-circle': {
|
|
1425
|
+
keywords: ['information-circle', 'informationcircle', 'icon', 'core', 'information', 'circle', 'info'],
|
|
1426
|
+
componentName: 'InformationCircleIcon',
|
|
1427
|
+
package: '@atlaskit/icon/core/information-circle',
|
|
1428
|
+
type: 'core',
|
|
1429
|
+
categorization: 'multi-purpose',
|
|
1430
|
+
usage: 'Known uses: For highlighting information when less visual emphasis is needed within the UI compared to the filled information status icon.',
|
|
1431
|
+
team: 'Design System Team',
|
|
1432
|
+
slackChannel: '#icon-contributions'
|
|
1433
|
+
},
|
|
1414
1434
|
issue: {
|
|
1415
1435
|
keywords: ['issue', 'tick', 'check', 'confirm', 'task', 'icon', 'core', 'single issue', 'jira status', 'check mark', 'tick'],
|
|
1416
1436
|
componentName: 'IssueIcon',
|
|
@@ -1995,6 +2015,7 @@ var metadata = {
|
|
|
1995
2015
|
keywords: ['plus-square', 'plussquare', 'icon', 'core', 'square', 'plus', 'add'],
|
|
1996
2016
|
componentName: 'PlusSquareIcon',
|
|
1997
2017
|
package: '@atlaskit/icon/core/plus-square',
|
|
2018
|
+
oldName: ['issue-raise'],
|
|
1998
2019
|
type: 'core',
|
|
1999
2020
|
categorization: 'multi-purpose',
|
|
2000
2021
|
usage: "Multi purpose - Known usages: 'New feature' Jira issue status.",
|
|
@@ -2872,6 +2893,16 @@ var metadata = {
|
|
|
2872
2893
|
usage: 'Single purpose - Reserved for bolding text.',
|
|
2873
2894
|
team: 'Design System Team'
|
|
2874
2895
|
},
|
|
2896
|
+
'text-heading': {
|
|
2897
|
+
keywords: ['text-heading', 'textheading', 'icon', 'core', 'text', 'heading', 'H', 'editor', 'text style'],
|
|
2898
|
+
componentName: 'TextHeadingIcon',
|
|
2899
|
+
package: '@atlaskit/icon/core/text-heading',
|
|
2900
|
+
type: 'core',
|
|
2901
|
+
categorization: 'single-purpose',
|
|
2902
|
+
usage: 'Reserved for representing heading styles',
|
|
2903
|
+
team: 'Design System Team',
|
|
2904
|
+
slackChannel: '#icon-contributions'
|
|
2905
|
+
},
|
|
2875
2906
|
'text-indent-left': {
|
|
2876
2907
|
keywords: ['text-indent-left', 'textindentleft', 'icon', 'core', 'text', 'outdent', 'left', 'arrow'],
|
|
2877
2908
|
componentName: 'TextIndentLeftIcon',
|
|
@@ -2920,6 +2951,16 @@ var metadata = {
|
|
|
2920
2951
|
usage: 'Single purpose - Reserved for spellchecking.',
|
|
2921
2952
|
team: 'Design System Team'
|
|
2922
2953
|
},
|
|
2954
|
+
'text-strikethrough': {
|
|
2955
|
+
keywords: ['text-strikethrough', 'textstrikethrough', 'icon', 'core', 'text', 'strikethrough', 'editor', 'cross out'],
|
|
2956
|
+
componentName: 'TextStrikethroughIcon',
|
|
2957
|
+
package: '@atlaskit/icon/core/text-strikethrough',
|
|
2958
|
+
type: 'core',
|
|
2959
|
+
categorization: 'single-purpose',
|
|
2960
|
+
usage: 'Reserved for strikethrough text tool',
|
|
2961
|
+
team: 'Design System Team',
|
|
2962
|
+
slackChannel: '#icon-contributions'
|
|
2963
|
+
},
|
|
2923
2964
|
'text-style': {
|
|
2924
2965
|
keywords: ['text-style', 'textstyle', 'icon', 'core', 'characters', 'font', 'letters', 'type', 'typography'],
|
|
2925
2966
|
componentName: 'TextStyleIcon',
|
|
@@ -2930,6 +2971,16 @@ var metadata = {
|
|
|
2930
2971
|
usage: 'Single purpose - Reserved for text styles in Editor.',
|
|
2931
2972
|
team: 'Editor'
|
|
2932
2973
|
},
|
|
2974
|
+
'text-underline': {
|
|
2975
|
+
keywords: ['text-underline', 'textunderline', 'icon', 'core', 'text', 'underline', 'U', 'editor'],
|
|
2976
|
+
componentName: 'TextUnderlineIcon',
|
|
2977
|
+
package: '@atlaskit/icon/core/text-underline',
|
|
2978
|
+
type: 'core',
|
|
2979
|
+
categorization: 'single-purpose',
|
|
2980
|
+
usage: 'Reserved for underlined text tool',
|
|
2981
|
+
team: 'Design System Team',
|
|
2982
|
+
slackChannel: '#icon-contributions'
|
|
2983
|
+
},
|
|
2933
2984
|
'text-wrap': {
|
|
2934
2985
|
keywords: ['text-wrap', 'textwrap', 'icon', 'core', 'text', 'wrap', 'line wrap'],
|
|
2935
2986
|
componentName: 'TextWrapIcon',
|
|
@@ -3212,7 +3263,7 @@ var metadata = {
|
|
|
3212
3263
|
team: 'Design System Team'
|
|
3213
3264
|
},
|
|
3214
3265
|
warning: {
|
|
3215
|
-
keywords: ['warning', 'error', 'alert', 'icon', 'core', 'alert', '
|
|
3266
|
+
keywords: ['warning', 'error', 'alert', 'icon', 'core', 'alert', 'triangle', 'filled', 'exclamation', '!', 'warning'],
|
|
3216
3267
|
componentName: 'WarningIcon',
|
|
3217
3268
|
package: '@atlaskit/icon/core/warning',
|
|
3218
3269
|
oldName: ['editor/warning', 'warning'],
|
|
@@ -9,4 +9,3 @@ import type { IconFacadeProps } from '../types';
|
|
|
9
9
|
* @returns A React element representing either the new or legacy icon based on the feature flag and icon size.
|
|
10
10
|
*/
|
|
11
11
|
export declare const IconFacade: React.NamedExoticComponent<IconFacadeProps>;
|
|
12
|
-
export default IconFacade;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::297cb37fa9fafef1e1b28e02fb2b1a3a>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
interface metadata {
|
package/dist/types/types.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { ComponentType, ReactElement, ReactNode, SVGProps as ReactSVGProps
|
|
|
2
2
|
import type { IconColor, IconColorPressed, TextColor, TextColorPressed } from '@atlaskit/tokens/css-type-schema';
|
|
3
3
|
export type Size = 'small' | 'medium' | 'large' | 'xlarge';
|
|
4
4
|
export type IconSpacing = 'none' | 'spacious';
|
|
5
|
-
|
|
5
|
+
type UtilityIconSpacing = 'none' | 'spacious' | 'compact';
|
|
6
6
|
export interface CustomGlyphProps extends ReactSVGProps<SVGSVGElement> {
|
|
7
7
|
/**
|
|
8
8
|
* provided to a custom glyph
|
|
@@ -17,7 +17,7 @@ export interface CustomGlyphProps extends ReactSVGProps<SVGSVGElement> {
|
|
|
17
17
|
*/
|
|
18
18
|
className?: string;
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
interface GlyphColorProps {
|
|
21
21
|
/**
|
|
22
22
|
* Primary color for the icon.
|
|
23
23
|
* Inherits the current font color by default.
|
|
@@ -41,7 +41,7 @@ export interface NewGlyphColorProps {
|
|
|
41
41
|
*/
|
|
42
42
|
color?: IconColor | IconColorPressed | Exclude<TextColor, 'transparent'> | TextColorPressed | 'currentColor';
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
interface GlyphSizeProps {
|
|
45
45
|
/**
|
|
46
46
|
* There are three icon sizes – small (16px), medium (24px), and large (32px).
|
|
47
47
|
* This pixel size refers to the canvas the icon sits on,
|
|
@@ -49,7 +49,7 @@ export interface GlyphSizeProps {
|
|
|
49
49
|
*/
|
|
50
50
|
size?: Size;
|
|
51
51
|
}
|
|
52
|
-
|
|
52
|
+
interface NewCoreGlyphSpacingProps {
|
|
53
53
|
/**
|
|
54
54
|
* Core Icons have only one available size, but can be displayed with additional spacing.
|
|
55
55
|
* "none" is default, and allows the icon to be placed in buttons and allows the parent component to manage spacing.
|
|
@@ -57,7 +57,7 @@ export interface NewCoreGlyphSpacingProps {
|
|
|
57
57
|
*/
|
|
58
58
|
spacing?: IconSpacing;
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
interface NewUtilityGlyphSpacingProps {
|
|
61
61
|
/**
|
|
62
62
|
* Utility Icons have only one available size, but can be displayed with additional spacing.
|
|
63
63
|
* "none" is default, and allows the icon to be placed in buttons and allows the parent component to manage spacing.
|
|
@@ -66,7 +66,7 @@ export interface NewUtilityGlyphSpacingProps {
|
|
|
66
66
|
*/
|
|
67
67
|
spacing?: UtilityIconSpacing;
|
|
68
68
|
}
|
|
69
|
-
|
|
69
|
+
interface OtherGlyphProps {
|
|
70
70
|
/**
|
|
71
71
|
* Text used to describe what the icon is in context.
|
|
72
72
|
* A label is needed when there is no pairing visible text next to the icon.
|
|
@@ -83,7 +83,7 @@ export interface OtherGlyphProps {
|
|
|
83
83
|
/**
|
|
84
84
|
* Props for legacy icons –– including the children prop to resolve R18 type errors
|
|
85
85
|
*/
|
|
86
|
-
|
|
86
|
+
interface LegacyOtherGlyphProps {
|
|
87
87
|
/**
|
|
88
88
|
* Text used to describe what the icon is in context.
|
|
89
89
|
*/
|
|
@@ -115,9 +115,9 @@ interface IconInternalGlyphProps {
|
|
|
115
115
|
}
|
|
116
116
|
export interface GlyphProps extends LegacyOtherGlyphProps, GlyphSizeProps, GlyphColorProps {
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
interface NewCoreGlyphProps extends OtherGlyphProps, NewCoreGlyphSpacingProps, NewGlyphColorProps {
|
|
119
119
|
}
|
|
120
|
-
|
|
120
|
+
interface NewUtilityGlyphProps extends OtherGlyphProps, NewUtilityGlyphSpacingProps, NewGlyphColorProps {
|
|
121
121
|
}
|
|
122
122
|
export interface IconProps extends GlyphProps, IconInternalGlyphProps {
|
|
123
123
|
/**
|
|
@@ -126,7 +126,7 @@ export interface IconProps extends GlyphProps, IconInternalGlyphProps {
|
|
|
126
126
|
*/
|
|
127
127
|
glyph?: ComponentType<CustomGlyphProps>;
|
|
128
128
|
}
|
|
129
|
-
|
|
129
|
+
interface BaseNewIconProps {
|
|
130
130
|
/**
|
|
131
131
|
* Legacy icon component to render when the icon refresh feature flag is turned off.
|
|
132
132
|
* The legacy icon defaults to "medium" size, with `primaryColor` set to the value of the `color` prop.
|
|
@@ -9,4 +9,3 @@ import type { IconFacadeProps } from '../types';
|
|
|
9
9
|
* @returns A React element representing either the new or legacy icon based on the feature flag and icon size.
|
|
10
10
|
*/
|
|
11
11
|
export declare const IconFacade: React.NamedExoticComponent<IconFacadeProps>;
|
|
12
|
-
export default IconFacade;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::297cb37fa9fafef1e1b28e02fb2b1a3a>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
interface metadata {
|
|
@@ -2,7 +2,7 @@ import type { ComponentType, ReactElement, ReactNode, SVGProps as ReactSVGProps
|
|
|
2
2
|
import type { IconColor, IconColorPressed, TextColor, TextColorPressed } from '@atlaskit/tokens/css-type-schema';
|
|
3
3
|
export type Size = 'small' | 'medium' | 'large' | 'xlarge';
|
|
4
4
|
export type IconSpacing = 'none' | 'spacious';
|
|
5
|
-
|
|
5
|
+
type UtilityIconSpacing = 'none' | 'spacious' | 'compact';
|
|
6
6
|
export interface CustomGlyphProps extends ReactSVGProps<SVGSVGElement> {
|
|
7
7
|
/**
|
|
8
8
|
* provided to a custom glyph
|
|
@@ -17,7 +17,7 @@ export interface CustomGlyphProps extends ReactSVGProps<SVGSVGElement> {
|
|
|
17
17
|
*/
|
|
18
18
|
className?: string;
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
interface GlyphColorProps {
|
|
21
21
|
/**
|
|
22
22
|
* Primary color for the icon.
|
|
23
23
|
* Inherits the current font color by default.
|
|
@@ -41,7 +41,7 @@ export interface NewGlyphColorProps {
|
|
|
41
41
|
*/
|
|
42
42
|
color?: IconColor | IconColorPressed | Exclude<TextColor, 'transparent'> | TextColorPressed | 'currentColor';
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
interface GlyphSizeProps {
|
|
45
45
|
/**
|
|
46
46
|
* There are three icon sizes – small (16px), medium (24px), and large (32px).
|
|
47
47
|
* This pixel size refers to the canvas the icon sits on,
|
|
@@ -49,7 +49,7 @@ export interface GlyphSizeProps {
|
|
|
49
49
|
*/
|
|
50
50
|
size?: Size;
|
|
51
51
|
}
|
|
52
|
-
|
|
52
|
+
interface NewCoreGlyphSpacingProps {
|
|
53
53
|
/**
|
|
54
54
|
* Core Icons have only one available size, but can be displayed with additional spacing.
|
|
55
55
|
* "none" is default, and allows the icon to be placed in buttons and allows the parent component to manage spacing.
|
|
@@ -57,7 +57,7 @@ export interface NewCoreGlyphSpacingProps {
|
|
|
57
57
|
*/
|
|
58
58
|
spacing?: IconSpacing;
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
interface NewUtilityGlyphSpacingProps {
|
|
61
61
|
/**
|
|
62
62
|
* Utility Icons have only one available size, but can be displayed with additional spacing.
|
|
63
63
|
* "none" is default, and allows the icon to be placed in buttons and allows the parent component to manage spacing.
|
|
@@ -66,7 +66,7 @@ export interface NewUtilityGlyphSpacingProps {
|
|
|
66
66
|
*/
|
|
67
67
|
spacing?: UtilityIconSpacing;
|
|
68
68
|
}
|
|
69
|
-
|
|
69
|
+
interface OtherGlyphProps {
|
|
70
70
|
/**
|
|
71
71
|
* Text used to describe what the icon is in context.
|
|
72
72
|
* A label is needed when there is no pairing visible text next to the icon.
|
|
@@ -83,7 +83,7 @@ export interface OtherGlyphProps {
|
|
|
83
83
|
/**
|
|
84
84
|
* Props for legacy icons –– including the children prop to resolve R18 type errors
|
|
85
85
|
*/
|
|
86
|
-
|
|
86
|
+
interface LegacyOtherGlyphProps {
|
|
87
87
|
/**
|
|
88
88
|
* Text used to describe what the icon is in context.
|
|
89
89
|
*/
|
|
@@ -115,9 +115,9 @@ interface IconInternalGlyphProps {
|
|
|
115
115
|
}
|
|
116
116
|
export interface GlyphProps extends LegacyOtherGlyphProps, GlyphSizeProps, GlyphColorProps {
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
interface NewCoreGlyphProps extends OtherGlyphProps, NewCoreGlyphSpacingProps, NewGlyphColorProps {
|
|
119
119
|
}
|
|
120
|
-
|
|
120
|
+
interface NewUtilityGlyphProps extends OtherGlyphProps, NewUtilityGlyphSpacingProps, NewGlyphColorProps {
|
|
121
121
|
}
|
|
122
122
|
export interface IconProps extends GlyphProps, IconInternalGlyphProps {
|
|
123
123
|
/**
|
|
@@ -126,7 +126,7 @@ export interface IconProps extends GlyphProps, IconInternalGlyphProps {
|
|
|
126
126
|
*/
|
|
127
127
|
glyph?: ComponentType<CustomGlyphProps>;
|
|
128
128
|
}
|
|
129
|
-
|
|
129
|
+
interface BaseNewIconProps {
|
|
130
130
|
/**
|
|
131
131
|
* Legacy icon component to render when the icon refresh feature flag is turned off.
|
|
132
132
|
* The legacy icon defaults to "medium" size, with `primaryColor` set to the value of the `color` prop.
|
package/glyph/issue-raise.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 _plusSquare = _interopRequireDefault(require("@atlaskit/icon/core/plus-square"));
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
11
|
const IssueRaiseIcon = props => /*#__PURE__*/_react.default.createElement(_base.IconFacade, Object.assign({
|
|
11
12
|
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill="currentcolor" fill-rule="evenodd"><rect width="2" height="6" x="11" y="9" rx="1"/><path fill-rule="nonzero" d="M5 15.991c0 .007 14.005.009 14.005.009C18.999 16 19 8.009 19 8.009 19 8.002 4.995 8 4.995 8 5.001 8 5 15.991 5 15.991M3 8.01C3 6.899 3.893 6 4.995 6h14.01C20.107 6 21 6.902 21 8.009v7.982c0 1.11-.893 2.009-1.995 2.009H4.995A2.004 2.004 0 0 1 3 15.991z"/><rect width="6" height="2" x="9" y="11" rx="1"/></g></svg>`
|
|
12
|
-
}, props
|
|
13
|
+
}, props, {
|
|
14
|
+
newIcon: _plusSquare.default
|
|
15
|
+
}));
|
|
13
16
|
IssueRaiseIcon.displayName = 'IssueRaiseIcon';
|
|
14
17
|
var _default = exports.default = IssueRaiseIcon;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.7.1",
|
|
4
4
|
"description": "An icon is a symbol representing a command, device, directory, or common action.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -69,8 +69,11 @@
|
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@atlaskit/platform-feature-flags": "^1.0.0",
|
|
71
71
|
"@atlaskit/tokens": "^3.3.0",
|
|
72
|
+
"@babel/register": "^7.25.9",
|
|
72
73
|
"@babel/runtime": "^7.0.0",
|
|
73
|
-
"@emotion/react": "^11.7.1"
|
|
74
|
+
"@emotion/react": "^11.7.1",
|
|
75
|
+
"globby": "^6.1.0",
|
|
76
|
+
"puppeteer": "13.7.0"
|
|
74
77
|
},
|
|
75
78
|
"peerDependencies": {
|
|
76
79
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
@@ -80,14 +83,21 @@
|
|
|
80
83
|
"@af/icon-build-process": "^2.4.0",
|
|
81
84
|
"@af/integration-testing": "*",
|
|
82
85
|
"@af/visual-regression": "*",
|
|
86
|
+
"@atlaskit/button": "^20.3.12",
|
|
83
87
|
"@atlaskit/code": "^15.7.0",
|
|
84
88
|
"@atlaskit/css": "^0.8.0",
|
|
89
|
+
"@atlaskit/docs": "*",
|
|
85
90
|
"@atlaskit/ds-lib": "^3.5.0",
|
|
91
|
+
"@atlaskit/form": "^11.0.2",
|
|
86
92
|
"@atlaskit/heading": "^4.1.0",
|
|
93
|
+
"@atlaskit/icon-file-type": "^6.8.0",
|
|
94
|
+
"@atlaskit/icon-object": "^6.9.0",
|
|
87
95
|
"@atlaskit/link": "^2.1.0",
|
|
88
96
|
"@atlaskit/logo": "^15.2.0",
|
|
89
97
|
"@atlaskit/menu": "^2.14.0",
|
|
98
|
+
"@atlaskit/modal-dialog": "^12.19.3",
|
|
90
99
|
"@atlaskit/primitives": "^13.4.0",
|
|
100
|
+
"@atlaskit/section-message": "*",
|
|
91
101
|
"@atlaskit/ssr": "*",
|
|
92
102
|
"@atlaskit/textfield": "^6.8.0",
|
|
93
103
|
"@atlaskit/theme": "^14.1.0",
|
|
@@ -95,11 +105,10 @@
|
|
|
95
105
|
"@atlaskit/tooltip": "^19.1.0",
|
|
96
106
|
"@atlaskit/visual-regression": "*",
|
|
97
107
|
"@babel/core": "7.24.9",
|
|
98
|
-
"@
|
|
108
|
+
"@codeshift/utils": "^0.2.4",
|
|
109
|
+
"@compiled/react": "^0.18.1",
|
|
99
110
|
"@testing-library/react": "^13.4.0",
|
|
100
|
-
"classnames": "^2.2.5",
|
|
101
111
|
"fs-extra": "^4.0.2",
|
|
102
|
-
"jest-emotion": "^10.0.32",
|
|
103
112
|
"jscodeshift": "^0.13.0",
|
|
104
113
|
"lodash": "^4.17.21",
|
|
105
114
|
"nullthrows": "^1.1.1",
|