@atlaskit/icon 22.8.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.
Files changed (84) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/core/app-switcher-legacy.d.ts +9 -0
  3. package/core/app-switcher-legacy.js +26 -0
  4. package/core/app-switcher.d.ts +9 -0
  5. package/core/app-switcher.js +26 -0
  6. package/core/menu.d.ts +9 -0
  7. package/core/{migration/edit--editor-add.js → menu.js} +7 -10
  8. package/core/migration/{edit--editor-add.d.ts → add--editor-add.d.ts} +2 -2
  9. package/core/migration/add--editor-add.js +29 -0
  10. package/core/migration/angle-brackets--bitbucket-repos.d.ts +9 -0
  11. package/core/migration/angle-brackets--bitbucket-repos.js +29 -0
  12. package/core/migration/app-switcher--switcher.d.ts +9 -0
  13. package/core/migration/app-switcher--switcher.js +29 -0
  14. package/core/migration/app-switcher.d.ts +9 -0
  15. package/core/migration/app-switcher.js +29 -0
  16. package/core/migration/download.d.ts +9 -0
  17. package/core/migration/download.js +29 -0
  18. package/core/migration/{audio--vid-audio-on.d.ts → emoji--emoji-people.d.ts} +2 -2
  19. package/core/migration/emoji--emoji-people.js +29 -0
  20. package/core/migration/flag--emoji-flags.d.ts +9 -0
  21. package/core/migration/flag--emoji-flags.js +29 -0
  22. package/core/migration/grid--editor-table.d.ts +9 -0
  23. package/core/migration/grid--editor-table.js +29 -0
  24. package/core/migration/lightbulb--lightbulb-filled.d.ts +9 -0
  25. package/core/migration/lightbulb--lightbulb-filled.js +29 -0
  26. package/core/migration/link--link-filled.d.ts +9 -0
  27. package/core/migration/link--link-filled.js +29 -0
  28. package/core/migration/menu--menu-expand.d.ts +9 -0
  29. package/core/migration/menu--menu-expand.js +29 -0
  30. package/core/migration/menu.d.ts +9 -0
  31. package/core/migration/menu.js +29 -0
  32. package/core/migration/microphone--vid-audio-on.d.ts +9 -0
  33. package/core/migration/{audio--vid-audio-on.js → microphone--vid-audio-on.js} +8 -7
  34. package/core/migration/minimize--media-services-fit-to-page.d.ts +9 -0
  35. package/core/migration/minimize--media-services-fit-to-page.js +29 -0
  36. package/core/migration/minimize--vid-full-screen-off.d.ts +9 -0
  37. package/core/migration/minimize--vid-full-screen-off.js +29 -0
  38. package/core/migration/notification--notification-direct.d.ts +9 -0
  39. package/core/migration/notification--notification-direct.js +29 -0
  40. package/core/migration/notification.d.ts +9 -0
  41. package/core/migration/notification.js +29 -0
  42. package/core/migration/upload--export.d.ts +9 -0
  43. package/core/migration/upload--export.js +29 -0
  44. package/core/notification.d.ts +9 -0
  45. package/core/notification.js +26 -0
  46. package/dist/cjs/entry-points/migration-map.js +10 -2
  47. package/dist/cjs/metadata-core.js +56 -8
  48. package/dist/cjs/metadata-utility.js +1 -1
  49. package/dist/cjs/migration-map.js +178 -89
  50. package/dist/es2019/entry-points/migration-map.js +1 -1
  51. package/dist/es2019/metadata-core.js +56 -8
  52. package/dist/es2019/metadata-utility.js +1 -1
  53. package/dist/es2019/migration-map.js +177 -88
  54. package/dist/esm/entry-points/migration-map.js +1 -1
  55. package/dist/esm/metadata-core.js +56 -8
  56. package/dist/esm/metadata-utility.js +1 -1
  57. package/dist/esm/migration-map.js +177 -88
  58. package/dist/types/entry-points/migration-map.d.ts +2 -1
  59. package/dist/types/migration-map.d.ts +2 -1
  60. package/dist/types/types.d.ts +19 -3
  61. package/dist/types-ts4.5/entry-points/migration-map.d.ts +2 -1
  62. package/dist/types-ts4.5/migration-map.d.ts +2 -1
  63. package/dist/types-ts4.5/types.d.ts +19 -3
  64. package/glyph/app-switcher.js +4 -1
  65. package/glyph/bitbucket/repos.js +4 -1
  66. package/glyph/download.js +4 -1
  67. package/glyph/editor/add.js +2 -2
  68. package/glyph/editor/table.js +4 -1
  69. package/glyph/emoji/flags.js +4 -1
  70. package/glyph/emoji/people.js +4 -1
  71. package/glyph/export.js +4 -1
  72. package/glyph/lightbulb-filled.js +4 -1
  73. package/glyph/link-filled.js +4 -1
  74. package/glyph/media-services/fit-to-page.js +4 -1
  75. package/glyph/menu-expand.js +4 -1
  76. package/glyph/menu.js +4 -1
  77. package/glyph/notification-direct.js +4 -1
  78. package/glyph/notification.js +4 -1
  79. package/glyph/switcher.js +4 -1
  80. package/glyph/vid-audio-on.js +2 -2
  81. package/glyph/vid-full-screen-off.js +2 -2
  82. package/package.json +2 -3
  83. package/utility/migration/add--editor-add.d.ts +9 -0
  84. package/utility/migration/add--editor-add.js +29 -0
@@ -1,3 +1,19 @@
1
+ export var migrationOutcomeDescriptionMap = {
2
+ swap: 'Swap icon',
3
+ 'swap-slight-visual-change': 'Swap icon for an equivalent in the new set; there will be some slight visual change.',
4
+ 'swap-visual-change': 'Swap icon for an equivalent in the new set; there will be a noticeable visual change.',
5
+ 'swap-size-shift-utility': 'Swap icon for a 12px utility icon; expect some size shift.',
6
+ 'no-larger-size': 'This icon should not be used with a larger size; please shift to a smaller size.',
7
+ 'not-recommended': 'No equivalent icon in new set. This icon is not recommended.',
8
+ 'product-icon': 'Product icons are not supported; please use the custom SVG component from `@atlaskit/icon/svg`.',
9
+ 'icon-lab': 'Find an alternative icon, or create an updated icon in the new style, and contribute it to `@atlassian/icon-lab`.',
10
+ 'top-nav': 'This icon is only for use for top navigation; please choose a different icon if used elsewhere.',
11
+ 'icon-tile': 'Switch to Icon Tile, use a smaller size or remove.',
12
+ '16-icon-tile': "This icon can be re-created using an Icon tile with size='16'.",
13
+ '24-icon-tile': "This icon can be re-created using an Icon tile with size='24'.",
14
+ '32-icon-tile': "This icon can be re-created using an Icon tile with size='32'.",
15
+ '48-icon-tile': "This icon can be re-created using an Icon tile with size='48'."
16
+ };
1
17
  var migrationMap = {
2
18
  activity: {
3
19
  newIcon: {
@@ -116,15 +132,19 @@ var migrationMap = {
116
132
  xlarge: 'icon-tile'
117
133
  }
118
134
  },
119
- // 'app-switcher': {
120
- // newIcon: { name: 'app-switcher', type: 'core', package: '@atlaskit/icon' },
121
- // sizeGuidance: {
122
- // small: 'top-nav',
123
- // medium: 'top-nav',
124
- // large: 'top-nav',
125
- // xlarge: 'top-nav',
126
- // },
127
- // },
135
+ 'app-switcher': {
136
+ newIcon: {
137
+ name: 'app-switcher',
138
+ type: 'core',
139
+ package: '@atlaskit/icon'
140
+ },
141
+ sizeGuidance: {
142
+ small: 'top-nav',
143
+ medium: 'top-nav',
144
+ large: 'top-nav',
145
+ xlarge: 'top-nav'
146
+ }
147
+ },
128
148
  archive: {
129
149
  newIcon: {
130
150
  name: 'archive-box',
@@ -411,11 +431,16 @@ var migrationMap = {
411
431
  }
412
432
  },
413
433
  'bitbucket/repos': {
434
+ newIcon: {
435
+ name: 'angle-brackets',
436
+ type: 'core',
437
+ package: '@atlaskit/icon'
438
+ },
414
439
  sizeGuidance: {
415
- small: 'icon-lab',
416
- medium: 'icon-lab',
417
- large: 'icon-lab',
418
- xlarge: 'icon-lab'
440
+ small: 'swap-visual-change',
441
+ medium: 'swap-visual-change',
442
+ large: '32-icon-tile',
443
+ xlarge: '48-icon-tile'
419
444
  }
420
445
  },
421
446
  'bitbucket/snippets': {
@@ -1033,15 +1058,19 @@ var migrationMap = {
1033
1058
  xlarge: 'icon-tile'
1034
1059
  }
1035
1060
  },
1036
- // download: {
1037
- // newIcon: { name: 'cloud-arrow-down', type: 'core', package: '@atlaskit/icon' },
1038
- // sizeGuidance: {
1039
- // small: 'swap',
1040
- // medium: 'swap',
1041
- // large: 'icon-tile',
1042
- // xlarge: 'icon-tile',
1043
- // },
1044
- // },
1061
+ download: {
1062
+ newIcon: {
1063
+ name: 'download',
1064
+ type: 'core',
1065
+ package: '@atlaskit/icon'
1066
+ },
1067
+ sizeGuidance: {
1068
+ small: 'swap-visual-change',
1069
+ medium: 'swap-visual-change',
1070
+ large: 'icon-tile',
1071
+ xlarge: 'icon-tile'
1072
+ }
1073
+ },
1045
1074
  'drag-handler': {
1046
1075
  newIcon: {
1047
1076
  name: 'drag-handle',
@@ -1091,7 +1120,7 @@ var migrationMap = {
1091
1120
  },
1092
1121
  'editor/add': {
1093
1122
  newIcon: {
1094
- name: 'edit',
1123
+ name: 'add',
1095
1124
  type: 'core',
1096
1125
  package: '@atlaskit/icon'
1097
1126
  },
@@ -1759,11 +1788,16 @@ var migrationMap = {
1759
1788
  }
1760
1789
  },
1761
1790
  'editor/table': {
1791
+ newIcon: {
1792
+ name: 'grid',
1793
+ type: 'core',
1794
+ package: '@atlaskit/icon'
1795
+ },
1762
1796
  sizeGuidance: {
1763
- small: 'icon-lab',
1764
- medium: 'icon-lab',
1765
- large: 'icon-lab',
1766
- xlarge: 'icon-lab'
1797
+ small: 'swap',
1798
+ medium: 'swap',
1799
+ large: 'icon-tile',
1800
+ xlarge: 'icon-tile'
1767
1801
  }
1768
1802
  },
1769
1803
  'editor/task': {
@@ -1916,6 +1950,11 @@ var migrationMap = {
1916
1950
  }
1917
1951
  },
1918
1952
  'emoji/flags': {
1953
+ newIcon: {
1954
+ name: 'flag',
1955
+ type: 'core',
1956
+ package: '@atlaskit/icon'
1957
+ },
1919
1958
  sizeGuidance: {
1920
1959
  small: 'icon-lab',
1921
1960
  medium: 'icon-lab',
@@ -1992,6 +2031,11 @@ var migrationMap = {
1992
2031
  }
1993
2032
  },
1994
2033
  'emoji/people': {
2034
+ newIcon: {
2035
+ name: 'emoji',
2036
+ type: 'core',
2037
+ package: '@atlaskit/icon'
2038
+ },
1995
2039
  sizeGuidance: {
1996
2040
  small: 'icon-lab',
1997
2041
  medium: 'icon-lab',
@@ -2042,6 +2086,11 @@ var migrationMap = {
2042
2086
  }
2043
2087
  },
2044
2088
  export: {
2089
+ newIcon: {
2090
+ name: 'upload',
2091
+ type: 'core',
2092
+ package: '@atlaskit/icon'
2093
+ },
2045
2094
  sizeGuidance: {
2046
2095
  small: 'icon-lab',
2047
2096
  medium: 'icon-lab',
@@ -2364,11 +2413,16 @@ var migrationMap = {
2364
2413
  }
2365
2414
  },
2366
2415
  'lightbulb-filled': {
2416
+ newIcon: {
2417
+ name: 'lightbulb',
2418
+ type: 'core',
2419
+ package: '@atlaskit/icon'
2420
+ },
2367
2421
  sizeGuidance: {
2368
- small: 'icon-lab',
2369
- medium: 'icon-lab',
2370
- large: 'icon-lab',
2371
- xlarge: 'icon-lab'
2422
+ small: 'swap-visual-change',
2423
+ medium: 'swap-visual-change',
2424
+ large: 'icon-tile',
2425
+ xlarge: 'icon-tile'
2372
2426
  }
2373
2427
  },
2374
2428
  lightbulb: {
@@ -2398,9 +2452,14 @@ var migrationMap = {
2398
2452
  }
2399
2453
  },
2400
2454
  'link-filled': {
2455
+ newIcon: {
2456
+ name: 'link',
2457
+ type: 'core',
2458
+ package: '@atlaskit/icon'
2459
+ },
2401
2460
  sizeGuidance: {
2402
- small: '16-icon-tile',
2403
- medium: '24-icon-tile',
2461
+ small: 'swap-visual-change',
2462
+ medium: 'swap-visual-change',
2404
2463
  large: '32-icon-tile',
2405
2464
  xlarge: '48-icon-tile'
2406
2465
  }
@@ -2472,10 +2531,10 @@ var migrationMap = {
2472
2531
  package: '@atlaskit/icon'
2473
2532
  },
2474
2533
  sizeGuidance: {
2475
- small: 'icon-lab',
2476
- medium: 'icon-lab',
2477
- large: 'icon-lab',
2478
- xlarge: 'icon-lab'
2534
+ small: '16-icon-tile',
2535
+ medium: '24-icon-tile',
2536
+ large: '32-icon-tile',
2537
+ xlarge: '48-icon-tile'
2479
2538
  }
2480
2539
  },
2481
2540
  lock: {
@@ -2631,11 +2690,16 @@ var migrationMap = {
2631
2690
  }
2632
2691
  },
2633
2692
  'media-services/fit-to-page': {
2693
+ newIcon: {
2694
+ name: 'minimize',
2695
+ type: 'core',
2696
+ package: '@atlaskit/icon'
2697
+ },
2634
2698
  sizeGuidance: {
2635
- small: 'icon-lab',
2636
- medium: 'icon-lab',
2637
- large: 'icon-lab',
2638
- xlarge: 'icon-lab'
2699
+ small: 'swap',
2700
+ medium: 'swap',
2701
+ large: 'icon-tile',
2702
+ xlarge: 'icon-tile'
2639
2703
  }
2640
2704
  },
2641
2705
  'media-services/full-screen': {
@@ -2864,24 +2928,32 @@ var migrationMap = {
2864
2928
  xlarge: 'icon-lab'
2865
2929
  }
2866
2930
  },
2867
- // 'menu-expand': {
2868
- // newIcon: { name: 'menu', type: 'core', package: '@atlaskit/icon' },
2869
- // sizeGuidance: {
2870
- // small: 'swap',
2871
- // medium: 'swap',
2872
- // large: 'icon-tile',
2873
- // xlarge: 'icon-tile',
2874
- // },
2875
- // },
2876
- // menu: {
2877
- // newIcon: { name: 'menu', type: 'core', package: '@atlaskit/icon' },
2878
- // sizeGuidance: {
2879
- // small: 'swap',
2880
- // medium: 'swap',
2881
- // large: 'icon-tile',
2882
- // xlarge: 'icon-tile',
2883
- // },
2884
- // },
2931
+ 'menu-expand': {
2932
+ newIcon: {
2933
+ name: 'menu',
2934
+ type: 'core',
2935
+ package: '@atlaskit/icon'
2936
+ },
2937
+ sizeGuidance: {
2938
+ small: 'swap',
2939
+ medium: 'swap',
2940
+ large: 'icon-tile',
2941
+ xlarge: 'icon-tile'
2942
+ }
2943
+ },
2944
+ menu: {
2945
+ newIcon: {
2946
+ name: 'menu',
2947
+ type: 'core',
2948
+ package: '@atlaskit/icon'
2949
+ },
2950
+ sizeGuidance: {
2951
+ small: 'swap',
2952
+ medium: 'swap',
2953
+ large: 'icon-tile',
2954
+ xlarge: 'icon-tile'
2955
+ }
2956
+ },
2885
2957
  mobile: {
2886
2958
  newIcon: {
2887
2959
  name: 'device-mobile',
@@ -2929,24 +3001,32 @@ var migrationMap = {
2929
3001
  xlarge: 'icon-lab'
2930
3002
  }
2931
3003
  },
2932
- // 'notification-direct': {
2933
- // newIcon: { name: 'notification', type: 'core', package: '@atlaskit/icon' },
2934
- // sizeGuidance: {
2935
- // small: 'swap-slight-visual-change',
2936
- // medium: 'swap-slight-visual-change',
2937
- // large: 'icon-tile',
2938
- // xlarge: 'icon-tile',
2939
- // },
2940
- // },
2941
- // notification: {
2942
- // newIcon: { name: 'notification', type: 'core', package: '@atlaskit/icon' },
2943
- // sizeGuidance: {
2944
- // small: 'swap-visual-change',
2945
- // medium: 'swap-visual-change',
2946
- // large: 'icon-tile',
2947
- // xlarge: 'icon-tile',
2948
- // },
2949
- // },
3004
+ 'notification-direct': {
3005
+ newIcon: {
3006
+ name: 'notification',
3007
+ type: 'core',
3008
+ package: '@atlaskit/icon'
3009
+ },
3010
+ sizeGuidance: {
3011
+ small: 'swap-slight-visual-change',
3012
+ medium: 'swap-slight-visual-change',
3013
+ large: 'icon-tile',
3014
+ xlarge: 'icon-tile'
3015
+ }
3016
+ },
3017
+ notification: {
3018
+ newIcon: {
3019
+ name: 'notification',
3020
+ type: 'core',
3021
+ package: '@atlaskit/icon'
3022
+ },
3023
+ sizeGuidance: {
3024
+ small: 'swap-visual-change',
3025
+ medium: 'swap-visual-change',
3026
+ large: 'icon-tile',
3027
+ xlarge: 'icon-tile'
3028
+ }
3029
+ },
2950
3030
  'office-building-filled': {
2951
3031
  newIcon: {
2952
3032
  name: 'office-building',
@@ -3574,15 +3654,19 @@ var migrationMap = {
3574
3654
  xlarge: 'icon-tile'
3575
3655
  }
3576
3656
  },
3577
- // switcher: {
3578
- // newIcon: { name: 'app-switcher', type: 'core', package: '@atlaskit/icon' },
3579
- // sizeGuidance: {
3580
- // small: 'swap-visual-change',
3581
- // medium: 'swap-visual-change',
3582
- // large: 'not-recommended',
3583
- // xlarge: 'not-recommended',
3584
- // },
3585
- // },
3657
+ switcher: {
3658
+ newIcon: {
3659
+ name: 'app-switcher',
3660
+ type: 'core',
3661
+ package: '@atlaskit/icon'
3662
+ },
3663
+ sizeGuidance: {
3664
+ small: 'swap-visual-change',
3665
+ medium: 'swap-visual-change',
3666
+ large: 'not-recommended',
3667
+ xlarge: 'not-recommended'
3668
+ }
3669
+ },
3586
3670
  table: {
3587
3671
  newIcon: {
3588
3672
  name: 'grid',
@@ -3749,7 +3833,7 @@ var migrationMap = {
3749
3833
  },
3750
3834
  'vid-audio-on': {
3751
3835
  newIcon: {
3752
- name: 'audio',
3836
+ name: 'microphone',
3753
3837
  type: 'core',
3754
3838
  package: '@atlaskit/icon'
3755
3839
  },
@@ -3833,10 +3917,15 @@ var migrationMap = {
3833
3917
  },
3834
3918
  'vid-full-screen-off': {
3835
3919
  newIcon: {
3836
- name: 'fullscreen-exit',
3920
+ name: 'minimize',
3837
3921
  type: 'core',
3838
3922
  package: '@atlaskit/icon'
3839
3923
  },
3924
+ additionalIcons: [{
3925
+ name: 'fullscreen-exit',
3926
+ type: 'core',
3927
+ package: '@atlaskit/icon'
3928
+ }],
3840
3929
  sizeGuidance: {
3841
3930
  small: 'swap-visual-change',
3842
3931
  medium: 'swap-visual-change',
@@ -1 +1,2 @@
1
- export { default } from '../../src/migration-map';
1
+ export { default, migrationOutcomeDescriptionMap } from '../../src/migration-map';
2
+ export type { IconMigrationMap, IconMigrationSizeGuidance } from '../types';
@@ -1,3 +1,4 @@
1
- import type { IconMigrationMap } from './types';
1
+ import type { IconMigrationMap, IconMigrationSizeGuidance } from './types';
2
+ export declare const migrationOutcomeDescriptionMap: Record<IconMigrationSizeGuidance, string>;
2
3
  declare const migrationMap: IconMigrationMap;
3
4
  export default migrationMap;
@@ -161,11 +161,27 @@ export interface SVGProps extends GlyphProps {
161
161
  * The migration outcome for a given legacy icon
162
162
  */
163
163
  type IconMigrationResult = {
164
+ /**
165
+ * The recommended new icon that the legacy icon should be migrated to
166
+ */
164
167
  newIcon?: {
165
- name?: string;
166
- type?: string;
167
- package?: string;
168
+ name: string;
169
+ type: string;
170
+ package: string;
168
171
  };
172
+ /**
173
+ * Alternative new icon that the legacy icon can be migrated to
174
+ * Primarily used to maintain migration guidance for icons that have since had a
175
+ * change to the recommended migration path in "newIcon"
176
+ */
177
+ additionalIcons?: {
178
+ name: string;
179
+ type: string;
180
+ package: string;
181
+ }[];
182
+ /**
183
+ * For each size the legacy icon can take, the per-size migration guidance
184
+ */
169
185
  sizeGuidance: Record<Size, IconMigrationSizeGuidance>;
170
186
  };
171
187
  export type IconMigrationSizeGuidance = '16-icon-tile' | '24-icon-tile' | '32-icon-tile' | '48-icon-tile' | 'swap' | 'swap-slight-visual-change' | 'swap-visual-change' | 'swap-size-shift-utility' | 'product-icon' | 'not-recommended' | 'icon-tile' | 'top-nav' | 'icon-lab' | 'no-larger-size';
@@ -1 +1,2 @@
1
- export { default } from '../../src/migration-map';
1
+ export { default, migrationOutcomeDescriptionMap } from '../../src/migration-map';
2
+ export type { IconMigrationMap, IconMigrationSizeGuidance } from '../types';
@@ -1,3 +1,4 @@
1
- import type { IconMigrationMap } from './types';
1
+ import type { IconMigrationMap, IconMigrationSizeGuidance } from './types';
2
+ export declare const migrationOutcomeDescriptionMap: Record<IconMigrationSizeGuidance, string>;
2
3
  declare const migrationMap: IconMigrationMap;
3
4
  export default migrationMap;
@@ -161,11 +161,27 @@ export interface SVGProps extends GlyphProps {
161
161
  * The migration outcome for a given legacy icon
162
162
  */
163
163
  type IconMigrationResult = {
164
+ /**
165
+ * The recommended new icon that the legacy icon should be migrated to
166
+ */
164
167
  newIcon?: {
165
- name?: string;
166
- type?: string;
167
- package?: string;
168
+ name: string;
169
+ type: string;
170
+ package: string;
168
171
  };
172
+ /**
173
+ * Alternative new icon that the legacy icon can be migrated to
174
+ * Primarily used to maintain migration guidance for icons that have since had a
175
+ * change to the recommended migration path in "newIcon"
176
+ */
177
+ additionalIcons?: {
178
+ name: string;
179
+ type: string;
180
+ package: string;
181
+ }[];
182
+ /**
183
+ * For each size the legacy icon can take, the per-size migration guidance
184
+ */
169
185
  sizeGuidance: Record<Size, IconMigrationSizeGuidance>;
170
186
  };
171
187
  export type IconMigrationSizeGuidance = '16-icon-tile' | '24-icon-tile' | '32-icon-tile' | '48-icon-tile' | 'swap' | 'swap-slight-visual-change' | 'swap-visual-change' | 'swap-size-shift-utility' | 'product-icon' | 'not-recommended' | 'icon-tile' | 'top-nav' | 'icon-lab' | 'no-larger-size';
@@ -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 _appSwitcher = _interopRequireDefault(require("@atlaskit/icon/core/app-switcher"));
9
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
11
  const AppSwitcherIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
11
12
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentColor" fill-rule="evenodd" d="M4 5.01C4 4.451 4.443 4 5.01 4h1.98C7.549 4 8 4.443 8 5.01v1.98C8 7.549 7.557 8 6.99 8H5.01C4.451 8 4 7.557 4 6.99zm0 6c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98C8 13.549 7.557 14 6.99 14H5.01C4.451 14 4 13.557 4 12.99zm6-6c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98C14 7.549 13.557 8 12.99 8h-1.98C10.451 8 10 7.557 10 6.99zm0 6c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98c0 .558-.443 1.01-1.01 1.01h-1.98c-.558 0-1.01-.443-1.01-1.01zm6-6c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98C20 7.549 19.557 8 18.99 8h-1.98C16.451 8 16 7.557 16 6.99zm0 6c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98c0 .558-.443 1.01-1.01 1.01h-1.98c-.558 0-1.01-.443-1.01-1.01zm-12 6c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98C8 19.549 7.557 20 6.99 20H5.01C4.451 20 4 19.557 4 18.99zm6 0c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98c0 .558-.443 1.01-1.01 1.01h-1.98c-.558 0-1.01-.443-1.01-1.01zm6 0c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98c0 .558-.443 1.01-1.01 1.01h-1.98c-.558 0-1.01-.443-1.01-1.01z"/></svg>`
12
- }, props));
13
+ }, props, {
14
+ newIcon: _appSwitcher.default
15
+ }));
13
16
  AppSwitcherIcon.displayName = 'AppSwitcherIcon';
14
17
  var _default = exports.default = AppSwitcherIcon;
@@ -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 _angleBrackets = _interopRequireDefault(require("@atlaskit/icon/core/angle-brackets"));
9
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
11
  const BitbucketReposIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
11
12
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M5 5v14h14V5zm0-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2"/><path d="M9.23 8.31 6.3 11.26a1.06 1.06 0 0 0 0 1.48l2.93 2.96a1.03 1.03 0 0 0 1.47 0 1.05 1.05 0 0 0 0-1.48L8.5 12l2.2-2.22a1.05 1.05 0 0 0 0-1.48 1.02 1.02 0 0 0-.73-.3c-.27 0-.53.1-.73.31m4.06 0a1.05 1.05 0 0 0 0 1.48L15.5 12l-2.2 2.22a1.05 1.05 0 0 0 0 1.48c.4.41 1.06.41 1.46 0l2.93-2.95a1.05 1.05 0 0 0 0-1.48l-2.93-2.96a1.03 1.03 0 0 0-1.46 0"/></g></svg>`
12
- }, props));
13
+ }, props, {
14
+ newIcon: _angleBrackets.default
15
+ }));
13
16
  BitbucketReposIcon.displayName = 'BitbucketReposIcon';
14
17
  var _default = exports.default = BitbucketReposIcon;
package/glyph/download.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 _download = _interopRequireDefault(require("@atlaskit/icon/core/download"));
9
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
11
  const DownloadIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
11
12
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M10.687 17.292a.983.983 0 0 0-1.397 0 1 1 0 0 0 0 1.407l1.964 1.98a1.08 1.08 0 0 0 1.538 0l1.919-1.933a1 1 0 0 0 0-1.408.983.983 0 0 0-1.398 0l-1.29 1.3z"/><path fill-rule="nonzero" d="M13.001 19.993 13 10.006C13 9.451 12.552 9 12 9s-1 .45-1 1.007l.001 9.987c0 .555.448 1.006 1 1.006s1-.45 1-1.007"/><path d="M7.938 5.48a5 5 0 0 0-.777-.062C4.356 5.418 2 7.62 2 10.498 2 13.409 4.385 16 7.1 16h2.881v-1.993H7.1c-1.657 0-3.115-1.663-3.115-3.508 0-1.778 1.469-3.087 3.104-3.087h.012c.389 0 .686.05.97.15l.17.063c.605.248.875-.246.875-.246l.15-.267c.73-1.347 2.201-2.096 3.716-2.12a4.14 4.14 0 0 1 4.069 3.645l.046.34s.071.525.665.525c.013 0 .012.005.023.005h.254c1.136 0 1.976.959 1.976 2.158 0 1.207-.987 2.342-2.07 2.342h-3.964V16h3.964C20.105 16 22 13.955 22 11.665c0-2-1.312-3.663-3.138-4.074-.707-2.707-3.053-4.552-5.886-4.591-1.975.02-3.901.9-5.038 2.48"/></g></svg>`
12
- }, props));
13
+ }, props, {
14
+ newIcon: _download.default
15
+ }));
13
16
  DownloadIcon.displayName = 'DownloadIcon';
14
17
  var _default = exports.default = DownloadIcon;
@@ -6,12 +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 _edit = _interopRequireDefault(require("@atlaskit/icon/core/edit"));
9
+ var _add = _interopRequireDefault(require("@atlaskit/icon/core/add"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
  const EditorAddIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
12
12
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentColor" fill-rule="evenodd" d="M13 11V7a1 1 0 0 0-2 0v4H7a1 1 0 0 0 0 2h4v4a1 1 0 0 0 2 0v-4h4a1 1 0 0 0 0-2z"/></svg>`
13
13
  }, props, {
14
- newIcon: _edit.default
14
+ newIcon: _add.default
15
15
  }));
16
16
  EditorAddIcon.displayName = 'EditorAddIcon';
17
17
  var _default = exports.default = EditorAddIcon;
@@ -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 _grid = _interopRequireDefault(require("@atlaskit/icon/core/grid"));
9
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
11
  const EditorTableIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
11
12
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentColor" fill-rule="evenodd" d="M8 6h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2m0 2v3h3V8zm5 0v3h3V8zm-5 5v3h3v-3zm5 0v3h3v-3z"/></svg>`
12
- }, props));
13
+ }, props, {
14
+ newIcon: _grid.default
15
+ }));
13
16
  EditorTableIcon.displayName = 'EditorTableIcon';
14
17
  var _default = exports.default = EditorTableIcon;
@@ -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 _flag = _interopRequireDefault(require("@atlaskit/icon/core/flag"));
9
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
11
  const EmojiFlagsIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
11
12
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentColor" fill-rule="evenodd" d="M6 12.235v6.446c0 .537.45.977 1 .977s1-.44 1-.977v-5.778c1.17-.341 2.389-.045 3.768.29.982.238 2.036.495 3.13.495a5.7 5.7 0 0 0 2.547-.567 1 1 0 0 0 .563-.9V5.466a.998.998 0 0 0-1.437-.9c-1.345.654-2.731.317-4.331-.071-1.729-.42-3.687-.895-5.678.072A1 1 0 0 0 6 5.466zm3.111-1.48c1.094 0 2.148.256 3.129.495 1.381.335 2.6.63 3.768.289V6.836c-1.488.27-2.93-.08-4.24-.398-1.379-.335-2.598-.632-3.768-.29v4.704a6 6 0 0 1 1.111-.097"/></svg>`
12
- }, props));
13
+ }, props, {
14
+ newIcon: _flag.default
15
+ }));
13
16
  EmojiFlagsIcon.displayName = 'EmojiFlagsIcon';
14
17
  var _default = exports.default = EmojiFlagsIcon;
@@ -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 _emoji = _interopRequireDefault(require("@atlaskit/icon/core/emoji"));
9
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
11
  const EmojiPeopleIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
11
12
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentColor" fill-rule="evenodd" d="M12 4c-4.412 0-8 3.588-8 8s3.588 8 8 8 8-3.588 8-8-3.588-8-8-8m0 14.222A6.23 6.23 0 0 1 5.778 12 6.23 6.23 0 0 1 12 5.778 6.23 6.23 0 0 1 18.222 12 6.23 6.23 0 0 1 12 18.222M14.83 14a3.001 3.001 0 0 1-5.66 0zM14 11a1 1 0 1 0 0-2 1 1 0 0 0 0 2m-4 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/></svg>`
12
- }, props));
13
+ }, props, {
14
+ newIcon: _emoji.default
15
+ }));
13
16
  EmojiPeopleIcon.displayName = 'EmojiPeopleIcon';
14
17
  var _default = exports.default = EmojiPeopleIcon;
package/glyph/export.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 _upload = _interopRequireDefault(require("@atlaskit/icon/core/upload"));
9
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
11
  const ExportIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
11
12
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentColor" d="M13 6.491V16a1 1 0 0 1-2 0V6.491L9.784 7.697a1.05 1.05 0 0 1-1.478 0 1.03 1.03 0 0 1 0-1.465l2.955-2.929a1.05 1.05 0 0 1 1.478 0l2.955 2.93c.408.404.408 1.06 0 1.464a1.05 1.05 0 0 1-1.478 0zM9 9v2H7c-.002 0 0 7.991 0 7.991 0 .004 9.994.009 9.994.009.003 0 .006-7.991.006-7.991 0-.006-2-.009-2-.009V9h2c1.105 0 2 .902 2 2.009v7.982c0 1.11-.897 2.009-2.006 2.009H7.006A2.01 2.01 0 0 1 5 18.991V11.01A2 2 0 0 1 7 9z"/></svg>`
12
- }, props));
13
+ }, props, {
14
+ newIcon: _upload.default
15
+ }));
13
16
  ExportIcon.displayName = 'ExportIcon';
14
17
  var _default = exports.default = ExportIcon;
@@ -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 _lightbulb = _interopRequireDefault(require("@atlaskit/icon/core/lightbulb"));
9
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
11
  const LightbulbFilledIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
11
12
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentColor" fill-rule="evenodd" d="M11.998 4A5.997 5.997 0 0 0 6 9.998c0 2.218 2.288 4.484 2.288 4.484.39.387.71 1.112.71 1.611s.45.907 1 .907h4c.55 0 1-.408 1-.907s.32-1.224.71-1.611c0 0 2.288-2.266 2.288-4.484A5.997 5.997 0 0 0 11.998 4m2.965 15c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v.003c0 .55.45 1 1 1h4c.55 0 1-.45 1-1z"/></svg>`
12
- }, props));
13
+ }, props, {
14
+ newIcon: _lightbulb.default
15
+ }));
13
16
  LightbulbFilledIcon.displayName = 'LightbulbFilledIcon';
14
17
  var _default = exports.default = LightbulbFilledIcon;
@@ -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 _link = _interopRequireDefault(require("@atlaskit/icon/core/link"));
9
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
11
  const LinkFilledIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
11
12
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill-rule="evenodd"><circle cx="12" cy="12" r="10" fill="currentColor"/><path fill="inherit" d="m11.75 16.15.548-.537a.585.585 0 0 0 0-.838.61.61 0 0 0-.854 0l-.574.564c-.564.553-1.483.662-2.101.168a1.482 1.482 0 0 1-.119-2.223l1.694-1.663a1.543 1.543 0 0 1 2.156 0l.647.635.853-.839-.646-.635a2.775 2.775 0 0 0-3.863 0l-1.694 1.664a2.66 2.66 0 0 0 .208 3.979c1.104.884 2.738.715 3.746-.275"/><path fill="inherit" d="m12.25 7.85-.547.537a.585.585 0 0 0 0 .838.61.61 0 0 0 .853 0l.574-.564c.564-.553 1.483-.662 2.101-.168.71.57.75 1.603.119 2.223l-1.694 1.663a1.543 1.543 0 0 1-2.156 0l-.647-.635-.853.839.646.635a2.775 2.775 0 0 0 3.863 0l1.695-1.664a2.66 2.66 0 0 0-.209-3.979c-1.104-.884-2.738-.715-3.746.275"/></g></svg>`
12
- }, props));
13
+ }, props, {
14
+ newIcon: _link.default
15
+ }));
13
16
  LinkFilledIcon.displayName = 'LinkFilledIcon';
14
17
  var _default = exports.default = LinkFilledIcon;