@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.
Files changed (39) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/afm-cc/tsconfig.json +1 -2
  3. package/core/migration/content-wrap-left--editor-media-wrap-left.d.ts +15 -0
  4. package/core/migration/content-wrap-left--editor-media-wrap-left.js +33 -0
  5. package/core/migration/content-wrap-right--editor-media-wrap-right.d.ts +15 -0
  6. package/core/migration/content-wrap-right--editor-media-wrap-right.js +33 -0
  7. package/core/migration/discovery--editor-note.d.ts +15 -0
  8. package/core/migration/discovery--editor-note.js +33 -0
  9. package/core/migration/file--document-filled.d.ts +15 -0
  10. package/core/migration/file--document-filled.js +33 -0
  11. package/core/migration/file--document.d.ts +15 -0
  12. package/core/migration/file--document.js +33 -0
  13. package/core/migration/files--documents.d.ts +15 -0
  14. package/core/migration/files--documents.js +33 -0
  15. package/core/migration/minus--editor-divider.d.ts +15 -0
  16. package/core/migration/minus--editor-divider.js +33 -0
  17. package/dist/cjs/metadata-core.js +7 -3
  18. package/dist/cjs/metadata.js +2518 -360
  19. package/dist/cjs/migration-map.js +39 -4
  20. package/dist/es2019/metadata-core.js +7 -3
  21. package/dist/es2019/metadata.js +1078 -359
  22. package/dist/es2019/migration-map.js +39 -4
  23. package/dist/esm/metadata-core.js +7 -3
  24. package/dist/esm/metadata.js +1799 -359
  25. package/dist/esm/migration-map.js +39 -4
  26. package/dist/types/metadata-core.d.ts +1 -1
  27. package/dist/types/metadata.d.ts +13 -2
  28. package/dist/types/types.d.ts +9 -0
  29. package/dist/types-ts4.5/metadata-core.d.ts +1 -1
  30. package/dist/types-ts4.5/metadata.d.ts +13 -2
  31. package/dist/types-ts4.5/types.d.ts +9 -0
  32. package/glyph/document-filled.js +2 -2
  33. package/glyph/document.js +2 -2
  34. package/glyph/documents.js +2 -2
  35. package/glyph/editor/divider.js +4 -1
  36. package/glyph/editor/media-wrap-left.js +4 -1
  37. package/glyph/editor/media-wrap-right.js +4 -1
  38. package/glyph/editor/note.js +2 -2
  39. package/package.json +3 -3
@@ -1052,10 +1052,15 @@ var migrationMap = {
1052
1052
  },
1053
1053
  'document-filled': {
1054
1054
  newIcon: {
1055
- name: 'page',
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: 'page',
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: 'pages',
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: 'page',
1790
+ name: 'discovery',
1761
1791
  type: 'core',
1762
1792
  package: '@atlaskit/icon'
1763
1793
  },
1794
+ additionalIcons: [{
1795
+ name: 'page',
1796
+ type: 'core',
1797
+ package: '@atlaskit/icon'
1798
+ }],
1764
1799
  sizeGuidance: {
1765
1800
  small: 'swap-slight-visual-change',
1766
1801
  medium: 'swap-slight-visual-change',
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * To change the format of this file, modify `UNSAFE_createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
5
5
  *
6
- * @codegen <<SignedSource::d76c32c1492b8dd1bef65149c573c900>>
6
+ * @codegen <<SignedSource::ac7f367e690af67950a58d9f31ed30f7>>
7
7
  * @codegenCommand yarn build:icon-glyphs
8
8
  */
9
9
 
@@ -737,6 +737,7 @@ const metadata = {
737
737
  keywords: ['content-wrap-left', 'contentwrapleft', 'icon', 'core', 'content', 'media', 'image', 'alignment', 'left', 'inline', 'wrap'],
738
738
  componentName: 'ContentWrapLeftIcon',
739
739
  package: '@atlaskit/icon/core/content-wrap-left',
740
+ oldName: ['editor/media-wrap-left'],
740
741
  type: 'core',
741
742
  categorization: 'single-purpose',
742
743
  usage: 'Single purpose - Reserved for left aligning media and content with wrapping enabled.',
@@ -746,6 +747,7 @@ const metadata = {
746
747
  keywords: ['content-wrap-right', 'contentwrapright', 'icon', 'core', 'content', 'media', 'image', 'alignment', 'right', 'inline', 'wrap'],
747
748
  componentName: 'ContentWrapRightIcon',
748
749
  package: '@atlaskit/icon/core/content-wrap-right',
750
+ oldName: ['editor/media-wrap-right'],
749
751
  type: 'core',
750
752
  categorization: 'single-purpose',
751
753
  usage: 'Single purpose - Reserved for right aligning media and content with wrapping enabled.',
@@ -908,6 +910,7 @@ const metadata = {
908
910
  keywords: ['discovery', 'icon', 'core', 'discovery', 'note', 'filled'],
909
911
  componentName: 'DiscoveryIcon',
910
912
  package: '@atlaskit/icon/core/discovery',
913
+ oldName: ['editor/note'],
911
914
  type: 'core',
912
915
  categorization: 'single-purpose',
913
916
  usage: 'Single purpose - Reserved for representing discovery. Used for Note info panel variant in Editor.',
@@ -1154,7 +1157,7 @@ const metadata = {
1154
1157
  keywords: ['file', 'document', 'paper', 'page', 'sheet', 'icon', 'core', 'document', 'file', 'paper'],
1155
1158
  componentName: 'FileIcon',
1156
1159
  package: '@atlaskit/icon/core/file',
1157
- oldName: ['editor/file', 'file'],
1160
+ oldName: ['document-filled', 'document', 'editor/file', 'file'],
1158
1161
  type: 'core',
1159
1162
  categorization: 'multi-purpose',
1160
1163
  usage: "Multi purpose - Known uses: document, file. Do not use to represent a page — use the dedicated 'Page' icon instead.",
@@ -1164,6 +1167,7 @@ const metadata = {
1164
1167
  keywords: ['files', 'icon', 'core', 'documents', 'files', 'papers'],
1165
1168
  componentName: 'FilesIcon',
1166
1169
  package: '@atlaskit/icon/core/files',
1170
+ oldName: ['documents'],
1167
1171
  type: 'core',
1168
1172
  categorization: 'multi-purpose',
1169
1173
  usage: "Multi purpose - Known uses: documents, files. Do not use to represent pages — use the dedicated 'Pages' icon instead.",
@@ -1773,7 +1777,7 @@ const metadata = {
1773
1777
  keywords: ['minus', 'icon', 'core', 'rule', 'horizontal line', 'divider', 'minus', 'subtract'],
1774
1778
  componentName: 'MinusIcon',
1775
1779
  package: '@atlaskit/icon/core/minus',
1776
- oldName: ['editor/horizontal-rule'],
1780
+ oldName: ['editor/divider', 'editor/horizontal-rule'],
1777
1781
  type: 'core',
1778
1782
  categorization: 'multi-purpose',
1779
1783
  usage: 'Multi purpose - Known uses: horizontal rule in Editor.',