@atlaskit/icon 22.23.0 → 22.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/afm-cc/tsconfig.json +1 -2
- package/core/migration/content-wrap-left--editor-media-wrap-left.d.ts +15 -0
- package/core/migration/content-wrap-left--editor-media-wrap-left.js +33 -0
- package/core/migration/content-wrap-right--editor-media-wrap-right.d.ts +15 -0
- package/core/migration/content-wrap-right--editor-media-wrap-right.js +33 -0
- package/core/migration/discovery--editor-note.d.ts +15 -0
- package/core/migration/discovery--editor-note.js +33 -0
- package/core/migration/file--document-filled.d.ts +15 -0
- package/core/migration/file--document-filled.js +33 -0
- package/core/migration/file--document.d.ts +15 -0
- package/core/migration/file--document.js +33 -0
- package/core/migration/files--documents.d.ts +15 -0
- package/core/migration/files--documents.js +33 -0
- package/core/migration/minus--editor-divider.d.ts +15 -0
- package/core/migration/minus--editor-divider.js +33 -0
- package/dist/cjs/metadata-core.js +7 -3
- package/dist/cjs/metadata.js +2518 -360
- package/dist/cjs/migration-map.js +39 -4
- package/dist/es2019/metadata-core.js +7 -3
- package/dist/es2019/metadata.js +1078 -359
- package/dist/es2019/migration-map.js +39 -4
- package/dist/esm/metadata-core.js +7 -3
- package/dist/esm/metadata.js +1799 -359
- package/dist/esm/migration-map.js +39 -4
- package/dist/types/metadata-core.d.ts +1 -1
- package/dist/types/metadata.d.ts +13 -2
- package/dist/types/types.d.ts +9 -0
- package/dist/types-ts4.5/metadata-core.d.ts +1 -1
- package/dist/types-ts4.5/metadata.d.ts +13 -2
- package/dist/types-ts4.5/types.d.ts +9 -0
- package/glyph/document-filled.js +2 -2
- package/glyph/document.js +2 -2
- package/glyph/documents.js +2 -2
- package/glyph/editor/divider.js +4 -1
- package/glyph/editor/media-wrap-left.js +4 -1
- package/glyph/editor/media-wrap-right.js +4 -1
- package/glyph/editor/note.js +2 -2
- package/package.json +3 -3
|
@@ -1046,10 +1046,15 @@ const migrationMap = {
|
|
|
1046
1046
|
},
|
|
1047
1047
|
'document-filled': {
|
|
1048
1048
|
newIcon: {
|
|
1049
|
-
name: '
|
|
1049
|
+
name: 'file',
|
|
1050
1050
|
type: 'core',
|
|
1051
1051
|
package: '@atlaskit/icon'
|
|
1052
1052
|
},
|
|
1053
|
+
additionalIcons: [{
|
|
1054
|
+
name: 'page',
|
|
1055
|
+
type: 'core',
|
|
1056
|
+
package: '@atlaskit/icon'
|
|
1057
|
+
}],
|
|
1053
1058
|
sizeGuidance: {
|
|
1054
1059
|
small: 'swap-slight-visual-change',
|
|
1055
1060
|
medium: 'swap-slight-visual-change',
|
|
@@ -1059,10 +1064,15 @@ const migrationMap = {
|
|
|
1059
1064
|
},
|
|
1060
1065
|
document: {
|
|
1061
1066
|
newIcon: {
|
|
1062
|
-
name: '
|
|
1067
|
+
name: 'file',
|
|
1063
1068
|
type: 'core',
|
|
1064
1069
|
package: '@atlaskit/icon'
|
|
1065
1070
|
},
|
|
1071
|
+
additionalIcons: [{
|
|
1072
|
+
name: 'page',
|
|
1073
|
+
type: 'core',
|
|
1074
|
+
package: '@atlaskit/icon'
|
|
1075
|
+
}],
|
|
1066
1076
|
sizeGuidance: {
|
|
1067
1077
|
small: 'swap-slight-visual-change',
|
|
1068
1078
|
medium: 'swap-slight-visual-change',
|
|
@@ -1072,10 +1082,15 @@ const migrationMap = {
|
|
|
1072
1082
|
},
|
|
1073
1083
|
documents: {
|
|
1074
1084
|
newIcon: {
|
|
1075
|
-
name: '
|
|
1085
|
+
name: 'files',
|
|
1076
1086
|
type: 'core',
|
|
1077
1087
|
package: '@atlaskit/icon'
|
|
1078
1088
|
},
|
|
1089
|
+
additionalIcons: [{
|
|
1090
|
+
name: 'pages',
|
|
1091
|
+
type: 'core',
|
|
1092
|
+
package: '@atlaskit/icon'
|
|
1093
|
+
}],
|
|
1079
1094
|
sizeGuidance: {
|
|
1080
1095
|
small: 'swap-slight-visual-change',
|
|
1081
1096
|
medium: 'swap-slight-visual-change',
|
|
@@ -1344,6 +1359,11 @@ const migrationMap = {
|
|
|
1344
1359
|
}
|
|
1345
1360
|
},
|
|
1346
1361
|
'editor/divider': {
|
|
1362
|
+
newIcon: {
|
|
1363
|
+
name: 'minus',
|
|
1364
|
+
type: 'core',
|
|
1365
|
+
package: '@atlaskit/icon'
|
|
1366
|
+
},
|
|
1347
1367
|
sizeGuidance: {
|
|
1348
1368
|
small: 'icon-lab',
|
|
1349
1369
|
medium: 'icon-lab',
|
|
@@ -1708,6 +1728,11 @@ const migrationMap = {
|
|
|
1708
1728
|
}
|
|
1709
1729
|
},
|
|
1710
1730
|
'editor/media-wrap-left': {
|
|
1731
|
+
newIcon: {
|
|
1732
|
+
name: 'content-wrap-left',
|
|
1733
|
+
type: 'core',
|
|
1734
|
+
package: '@atlaskit/icon'
|
|
1735
|
+
},
|
|
1711
1736
|
sizeGuidance: {
|
|
1712
1737
|
small: 'icon-lab',
|
|
1713
1738
|
medium: 'icon-lab',
|
|
@@ -1716,6 +1741,11 @@ const migrationMap = {
|
|
|
1716
1741
|
}
|
|
1717
1742
|
},
|
|
1718
1743
|
'editor/media-wrap-right': {
|
|
1744
|
+
newIcon: {
|
|
1745
|
+
name: 'content-wrap-right',
|
|
1746
|
+
type: 'core',
|
|
1747
|
+
package: '@atlaskit/icon'
|
|
1748
|
+
},
|
|
1719
1749
|
sizeGuidance: {
|
|
1720
1750
|
small: 'icon-lab',
|
|
1721
1751
|
medium: 'icon-lab',
|
|
@@ -1751,10 +1781,15 @@ const migrationMap = {
|
|
|
1751
1781
|
},
|
|
1752
1782
|
'editor/note': {
|
|
1753
1783
|
newIcon: {
|
|
1754
|
-
name: '
|
|
1784
|
+
name: 'discovery',
|
|
1755
1785
|
type: 'core',
|
|
1756
1786
|
package: '@atlaskit/icon'
|
|
1757
1787
|
},
|
|
1788
|
+
additionalIcons: [{
|
|
1789
|
+
name: 'page',
|
|
1790
|
+
type: 'core',
|
|
1791
|
+
package: '@atlaskit/icon'
|
|
1792
|
+
}],
|
|
1758
1793
|
sizeGuidance: {
|
|
1759
1794
|
small: 'swap-slight-visual-change',
|
|
1760
1795
|
medium: 'swap-slight-visual-change',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `UNSAFE_createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ac7f367e690af67950a58d9f31ed30f7>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -737,6 +737,7 @@ var metadata = {
|
|
|
737
737
|
keywords: ['content-wrap-left', 'contentwrapleft', 'icon', 'core', 'content', 'media', 'image', 'alignment', 'left', 'inline', 'wrap'],
|
|
738
738
|
componentName: 'ContentWrapLeftIcon',
|
|
739
739
|
package: '@atlaskit/icon/core/content-wrap-left',
|
|
740
|
+
oldName: ['editor/media-wrap-left'],
|
|
740
741
|
type: 'core',
|
|
741
742
|
categorization: 'single-purpose',
|
|
742
743
|
usage: 'Single purpose - Reserved for left aligning media and content with wrapping enabled.',
|
|
@@ -746,6 +747,7 @@ var metadata = {
|
|
|
746
747
|
keywords: ['content-wrap-right', 'contentwrapright', 'icon', 'core', 'content', 'media', 'image', 'alignment', 'right', 'inline', 'wrap'],
|
|
747
748
|
componentName: 'ContentWrapRightIcon',
|
|
748
749
|
package: '@atlaskit/icon/core/content-wrap-right',
|
|
750
|
+
oldName: ['editor/media-wrap-right'],
|
|
749
751
|
type: 'core',
|
|
750
752
|
categorization: 'single-purpose',
|
|
751
753
|
usage: 'Single purpose - Reserved for right aligning media and content with wrapping enabled.',
|
|
@@ -908,6 +910,7 @@ var metadata = {
|
|
|
908
910
|
keywords: ['discovery', 'icon', 'core', 'discovery', 'note', 'filled'],
|
|
909
911
|
componentName: 'DiscoveryIcon',
|
|
910
912
|
package: '@atlaskit/icon/core/discovery',
|
|
913
|
+
oldName: ['editor/note'],
|
|
911
914
|
type: 'core',
|
|
912
915
|
categorization: 'single-purpose',
|
|
913
916
|
usage: 'Single purpose - Reserved for representing discovery. Used for Note info panel variant in Editor.',
|
|
@@ -1154,7 +1157,7 @@ var metadata = {
|
|
|
1154
1157
|
keywords: ['file', 'document', 'paper', 'page', 'sheet', 'icon', 'core', 'document', 'file', 'paper'],
|
|
1155
1158
|
componentName: 'FileIcon',
|
|
1156
1159
|
package: '@atlaskit/icon/core/file',
|
|
1157
|
-
oldName: ['editor/file', 'file'],
|
|
1160
|
+
oldName: ['document-filled', 'document', 'editor/file', 'file'],
|
|
1158
1161
|
type: 'core',
|
|
1159
1162
|
categorization: 'multi-purpose',
|
|
1160
1163
|
usage: "Multi purpose - Known uses: document, file. Do not use to represent a page — use the dedicated 'Page' icon instead.",
|
|
@@ -1164,6 +1167,7 @@ var metadata = {
|
|
|
1164
1167
|
keywords: ['files', 'icon', 'core', 'documents', 'files', 'papers'],
|
|
1165
1168
|
componentName: 'FilesIcon',
|
|
1166
1169
|
package: '@atlaskit/icon/core/files',
|
|
1170
|
+
oldName: ['documents'],
|
|
1167
1171
|
type: 'core',
|
|
1168
1172
|
categorization: 'multi-purpose',
|
|
1169
1173
|
usage: "Multi purpose - Known uses: documents, files. Do not use to represent pages — use the dedicated 'Pages' icon instead.",
|
|
@@ -1773,7 +1777,7 @@ var metadata = {
|
|
|
1773
1777
|
keywords: ['minus', 'icon', 'core', 'rule', 'horizontal line', 'divider', 'minus', 'subtract'],
|
|
1774
1778
|
componentName: 'MinusIcon',
|
|
1775
1779
|
package: '@atlaskit/icon/core/minus',
|
|
1776
|
-
oldName: ['editor/horizontal-rule'],
|
|
1780
|
+
oldName: ['editor/divider', 'editor/horizontal-rule'],
|
|
1777
1781
|
type: 'core',
|
|
1778
1782
|
categorization: 'multi-purpose',
|
|
1779
1783
|
usage: 'Multi purpose - Known uses: horizontal rule in Editor.',
|