@atlaskit/icon-file-type 6.4.9 → 6.5.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 (143) hide show
  1. package/CHANGELOG.md +194 -79
  2. package/__tests__/visual-regression/icon-file-type-snapshots.test.ts +14 -24
  3. package/afm-jira/tsconfig.json +24 -0
  4. package/afm-post-office/tsconfig.json +24 -0
  5. package/codemods/6.1.0-metadata-entry.ts +90 -97
  6. package/codemods/__tests__/6.1.0-metadata-entry.ts +63 -63
  7. package/docs/0-intro.tsx +7 -7
  8. package/docs/content/props-definition.tsx +22 -5
  9. package/docs/content/usage.tsx +4 -4
  10. package/glyph/archive/16.d.ts +1 -1
  11. package/glyph/archive/16.js +14 -14
  12. package/glyph/archive/24.d.ts +1 -1
  13. package/glyph/archive/24.js +14 -14
  14. package/glyph/archive/48.d.ts +1 -1
  15. package/glyph/archive/48.js +15 -15
  16. package/glyph/audio/16.d.ts +1 -1
  17. package/glyph/audio/16.js +14 -14
  18. package/glyph/audio/24.d.ts +1 -1
  19. package/glyph/audio/24.js +14 -14
  20. package/glyph/audio/48.d.ts +1 -1
  21. package/glyph/audio/48.js +15 -15
  22. package/glyph/document/16.d.ts +1 -1
  23. package/glyph/document/16.js +14 -14
  24. package/glyph/document/24.d.ts +1 -1
  25. package/glyph/document/24.js +14 -14
  26. package/glyph/document/48.d.ts +1 -1
  27. package/glyph/document/48.js +15 -15
  28. package/glyph/excel-spreadsheet/16.d.ts +1 -1
  29. package/glyph/excel-spreadsheet/16.js +14 -14
  30. package/glyph/excel-spreadsheet/24.d.ts +1 -1
  31. package/glyph/excel-spreadsheet/24.js +14 -14
  32. package/glyph/excel-spreadsheet/48.d.ts +1 -1
  33. package/glyph/excel-spreadsheet/48.js +15 -15
  34. package/glyph/executable/16.d.ts +1 -1
  35. package/glyph/executable/16.js +14 -14
  36. package/glyph/executable/24.d.ts +1 -1
  37. package/glyph/executable/24.js +14 -14
  38. package/glyph/executable/48.d.ts +1 -1
  39. package/glyph/executable/48.js +15 -15
  40. package/glyph/figma/16.d.ts +1 -1
  41. package/glyph/figma/16.js +14 -14
  42. package/glyph/figma/24.d.ts +1 -1
  43. package/glyph/figma/24.js +14 -14
  44. package/glyph/figma/48.d.ts +1 -1
  45. package/glyph/figma/48.js +15 -15
  46. package/glyph/folder/16.d.ts +1 -1
  47. package/glyph/folder/16.js +14 -14
  48. package/glyph/folder/24.d.ts +1 -1
  49. package/glyph/folder/24.js +14 -14
  50. package/glyph/folder/48.d.ts +1 -1
  51. package/glyph/folder/48.js +15 -15
  52. package/glyph/generic/16.d.ts +1 -1
  53. package/glyph/generic/16.js +14 -14
  54. package/glyph/generic/24.d.ts +1 -1
  55. package/glyph/generic/24.js +14 -14
  56. package/glyph/generic/48.d.ts +1 -1
  57. package/glyph/generic/48.js +15 -15
  58. package/glyph/gif/16.d.ts +1 -1
  59. package/glyph/gif/16.js +14 -14
  60. package/glyph/gif/24.d.ts +1 -1
  61. package/glyph/gif/24.js +14 -14
  62. package/glyph/gif/48.d.ts +1 -1
  63. package/glyph/gif/48.js +15 -15
  64. package/glyph/google-doc/16.d.ts +1 -1
  65. package/glyph/google-doc/16.js +14 -14
  66. package/glyph/google-doc/24.d.ts +1 -1
  67. package/glyph/google-doc/24.js +14 -14
  68. package/glyph/google-doc/48.d.ts +1 -1
  69. package/glyph/google-doc/48.js +15 -15
  70. package/glyph/google-form/16.d.ts +1 -1
  71. package/glyph/google-form/16.js +14 -14
  72. package/glyph/google-form/24.d.ts +1 -1
  73. package/glyph/google-form/24.js +14 -14
  74. package/glyph/google-form/48.d.ts +1 -1
  75. package/glyph/google-form/48.js +15 -15
  76. package/glyph/google-sheet/16.d.ts +1 -1
  77. package/glyph/google-sheet/16.js +14 -14
  78. package/glyph/google-sheet/24.d.ts +1 -1
  79. package/glyph/google-sheet/24.js +14 -14
  80. package/glyph/google-sheet/48.d.ts +1 -1
  81. package/glyph/google-sheet/48.js +15 -15
  82. package/glyph/google-slide/16.d.ts +1 -1
  83. package/glyph/google-slide/16.js +14 -14
  84. package/glyph/google-slide/24.d.ts +1 -1
  85. package/glyph/google-slide/24.js +14 -14
  86. package/glyph/google-slide/48.d.ts +1 -1
  87. package/glyph/google-slide/48.js +15 -15
  88. package/glyph/image/16.d.ts +1 -1
  89. package/glyph/image/16.js +14 -14
  90. package/glyph/image/24.d.ts +1 -1
  91. package/glyph/image/24.js +14 -14
  92. package/glyph/image/48.d.ts +1 -1
  93. package/glyph/image/48.js +15 -15
  94. package/glyph/pdf-document/16.d.ts +1 -1
  95. package/glyph/pdf-document/16.js +14 -14
  96. package/glyph/pdf-document/24.d.ts +1 -1
  97. package/glyph/pdf-document/24.js +14 -14
  98. package/glyph/pdf-document/48.d.ts +1 -1
  99. package/glyph/pdf-document/48.js +15 -15
  100. package/glyph/powerpoint-presentation/16.d.ts +1 -1
  101. package/glyph/powerpoint-presentation/16.js +14 -14
  102. package/glyph/powerpoint-presentation/24.d.ts +1 -1
  103. package/glyph/powerpoint-presentation/24.js +14 -14
  104. package/glyph/powerpoint-presentation/48.d.ts +1 -1
  105. package/glyph/powerpoint-presentation/48.js +15 -15
  106. package/glyph/presentation/16.d.ts +1 -1
  107. package/glyph/presentation/16.js +14 -14
  108. package/glyph/presentation/24.d.ts +1 -1
  109. package/glyph/presentation/24.js +14 -14
  110. package/glyph/presentation/48.d.ts +1 -1
  111. package/glyph/presentation/48.js +15 -15
  112. package/glyph/sketch/16.d.ts +1 -1
  113. package/glyph/sketch/16.js +14 -14
  114. package/glyph/sketch/24.d.ts +1 -1
  115. package/glyph/sketch/24.js +14 -14
  116. package/glyph/sketch/48.d.ts +1 -1
  117. package/glyph/sketch/48.js +15 -15
  118. package/glyph/source-code/16.d.ts +1 -1
  119. package/glyph/source-code/16.js +14 -14
  120. package/glyph/source-code/24.d.ts +1 -1
  121. package/glyph/source-code/24.js +14 -14
  122. package/glyph/source-code/48.d.ts +1 -1
  123. package/glyph/source-code/48.js +15 -15
  124. package/glyph/spreadsheet/16.d.ts +1 -1
  125. package/glyph/spreadsheet/16.js +14 -14
  126. package/glyph/spreadsheet/24.d.ts +1 -1
  127. package/glyph/spreadsheet/24.js +14 -14
  128. package/glyph/spreadsheet/48.d.ts +1 -1
  129. package/glyph/spreadsheet/48.js +15 -15
  130. package/glyph/video/16.d.ts +1 -1
  131. package/glyph/video/16.js +14 -14
  132. package/glyph/video/24.d.ts +1 -1
  133. package/glyph/video/24.js +14 -14
  134. package/glyph/video/48.d.ts +1 -1
  135. package/glyph/video/48.js +15 -15
  136. package/glyph/word-document/16.d.ts +1 -1
  137. package/glyph/word-document/16.js +14 -14
  138. package/glyph/word-document/24.d.ts +1 -1
  139. package/glyph/word-document/24.js +14 -14
  140. package/glyph/word-document/48.d.ts +1 -1
  141. package/glyph/word-document/48.js +15 -15
  142. package/package.json +74 -75
  143. package/report.api.md +3 -2
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', {
4
- value: true,
4
+ value: true,
5
5
  });
6
6
  exports.default = void 0;
7
7
 
@@ -10,22 +10,22 @@ var _react = _interopRequireDefault(require('react'));
10
10
  var _base = require('@atlaskit/icon/base');
11
11
 
12
12
  function _interopRequireDefault(obj) {
13
- return obj && obj.__esModule ? obj : { default: obj };
13
+ return obj && obj.__esModule ? obj : { default: obj };
14
14
  }
15
15
 
16
16
  const Spreadsheet16Icon = (props) =>
17
- /*#__PURE__*/ _react.default.createElement(
18
- _base.Icon,
19
- Object.assign(
20
- {
21
- dangerouslySetGlyph: `<svg width="16" height="16" viewBox="0 0 16 16" role="presentation"><path fill="#36B37E" fill-rule="evenodd" d="M2 0h12a2 2 0 012 2v12a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm2 3a1 1 0 100 2h1a1 1 0 100-2H4zm0 4a1 1 0 100 2h1a1 1 0 100-2H4zm0 4a1 1 0 000 2h1a1 1 0 000-2H4zm5-8a1 1 0 100 2h3a1 1 0 000-2H9zm0 4a1 1 0 100 2h3a1 1 0 000-2H9zm0 4a1 1 0 000 2h3a1 1 0 000-2H9z"/></svg>`,
22
- },
23
- props,
24
- {
25
- size: 'small',
26
- },
27
- ),
28
- );
17
+ /*#__PURE__*/ _react.default.createElement(
18
+ _base.Icon,
19
+ Object.assign(
20
+ {
21
+ dangerouslySetGlyph: `<svg width="16" height="16" viewBox="0 0 16 16" role="presentation"><path fill="#36B37E" fill-rule="evenodd" d="M2 0h12a2 2 0 012 2v12a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm2 3a1 1 0 100 2h1a1 1 0 100-2H4zm0 4a1 1 0 100 2h1a1 1 0 100-2H4zm0 4a1 1 0 000 2h1a1 1 0 000-2H4zm5-8a1 1 0 100 2h3a1 1 0 000-2H9zm0 4a1 1 0 100 2h3a1 1 0 000-2H9zm0 4a1 1 0 000 2h3a1 1 0 000-2H9z"/></svg>`,
22
+ },
23
+ props,
24
+ {
25
+ size: 'small',
26
+ },
27
+ ),
28
+ );
29
29
 
30
30
  Spreadsheet16Icon.displayName = 'Spreadsheet16Icon';
31
31
  var _default = Spreadsheet16Icon;
@@ -2,5 +2,5 @@ import { PureComponent } from 'react';
2
2
  import type { GlyphProps } from '@atlaskit/icon/types';
3
3
 
4
4
  export default class extends PureComponent<
5
- Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
5
+ Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
6
6
  > {}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', {
4
- value: true,
4
+ value: true,
5
5
  });
6
6
  exports.default = void 0;
7
7
 
@@ -10,22 +10,22 @@ var _react = _interopRequireDefault(require('react'));
10
10
  var _base = require('@atlaskit/icon/base');
11
11
 
12
12
  function _interopRequireDefault(obj) {
13
- return obj && obj.__esModule ? obj : { default: obj };
13
+ return obj && obj.__esModule ? obj : { default: obj };
14
14
  }
15
15
 
16
16
  const Spreadsheet24Icon = (props) =>
17
- /*#__PURE__*/ _react.default.createElement(
18
- _base.Icon,
19
- Object.assign(
20
- {
21
- dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="#36B37E" fill-rule="evenodd" d="M3 0h18a3 3 0 013 3v18a3 3 0 01-3 3H3a3 3 0 01-3-3V3a3 3 0 013-3zm2 5a1 1 0 100 2h3a1 1 0 100-2H5zm0 4a1 1 0 100 2h3a1 1 0 000-2H5zm0 4a1 1 0 000 2h3a1 1 0 000-2H5zm0 4a1 1 0 000 2h3a1 1 0 000-2H5zm7-12a1 1 0 000 2h7a1 1 0 000-2h-7zm0 4a1 1 0 000 2h7a1 1 0 000-2h-7zm0 4a1 1 0 000 2h7a1 1 0 000-2h-7zm0 4a1 1 0 000 2h7a1 1 0 000-2h-7z"/></svg>`,
22
- },
23
- props,
24
- {
25
- size: 'medium',
26
- },
27
- ),
28
- );
17
+ /*#__PURE__*/ _react.default.createElement(
18
+ _base.Icon,
19
+ Object.assign(
20
+ {
21
+ dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="#36B37E" fill-rule="evenodd" d="M3 0h18a3 3 0 013 3v18a3 3 0 01-3 3H3a3 3 0 01-3-3V3a3 3 0 013-3zm2 5a1 1 0 100 2h3a1 1 0 100-2H5zm0 4a1 1 0 100 2h3a1 1 0 000-2H5zm0 4a1 1 0 000 2h3a1 1 0 000-2H5zm0 4a1 1 0 000 2h3a1 1 0 000-2H5zm7-12a1 1 0 000 2h7a1 1 0 000-2h-7zm0 4a1 1 0 000 2h7a1 1 0 000-2h-7zm0 4a1 1 0 000 2h7a1 1 0 000-2h-7zm0 4a1 1 0 000 2h7a1 1 0 000-2h-7z"/></svg>`,
22
+ },
23
+ props,
24
+ {
25
+ size: 'medium',
26
+ },
27
+ ),
28
+ );
29
29
 
30
30
  Spreadsheet24Icon.displayName = 'Spreadsheet24Icon';
31
31
  var _default = Spreadsheet24Icon;
@@ -2,5 +2,5 @@ import { PureComponent } from 'react';
2
2
  import type { GlyphProps } from '@atlaskit/icon/types';
3
3
 
4
4
  export default class extends PureComponent<
5
- Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
5
+ Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
6
6
  > {}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', {
4
- value: true,
4
+ value: true,
5
5
  });
6
6
  exports.default = void 0;
7
7
 
@@ -10,23 +10,23 @@ var _react = _interopRequireDefault(require('react'));
10
10
  var _base = require('@atlaskit/icon/base');
11
11
 
12
12
  function _interopRequireDefault(obj) {
13
- return obj && obj.__esModule ? obj : { default: obj };
13
+ return obj && obj.__esModule ? obj : { default: obj };
14
14
  }
15
15
 
16
16
  const Spreadsheet48Icon = (props) =>
17
- /*#__PURE__*/ _react.default.createElement(
18
- _base.Icon,
19
- Object.assign(
20
- {
21
- dangerouslySetGlyph: `<svg width="48" height="64" viewBox="0 0 48 64" role="presentation"><g fill-rule="evenodd"><path fill="#FFF" stroke="#091E42" stroke-opacity=".08" d="M4 .5h28.007a3.5 3.5 0 012.52 1.072l11.994 12.45a3.5 3.5 0 01.979 2.429V60a3.5 3.5 0 01-3.5 3.5H4A3.5 3.5 0 01.5 60V4A3.5 3.5 0 014 .5z"/><path fill="#36B37E" d="M15.833 23.833h3.5a1.167 1.167 0 010 2.334h-3.5a1.167 1.167 0 010-2.334zm0 4.667h3.5a1.167 1.167 0 010 2.333h-3.5a1.167 1.167 0 110-2.333zm0 4.667h3.5a1.167 1.167 0 110 2.333h-3.5a1.167 1.167 0 010-2.333zm0 4.666h3.5a1.167 1.167 0 010 2.334h-3.5a1.167 1.167 0 010-2.334zm8.167-14h8.167a1.167 1.167 0 010 2.334H24a1.167 1.167 0 010-2.334zm0 4.667h8.167a1.167 1.167 0 010 2.333H24a1.167 1.167 0 110-2.333zm0 4.667h8.167a1.167 1.167 0 110 2.333H24a1.167 1.167 0 010-2.333zm0 4.666h8.167a1.167 1.167 0 010 2.334H24a1.167 1.167 0 010-2.334z"/></g></svg>`,
22
- },
23
- props,
24
- {
25
- width: 48,
26
- height: 64,
27
- },
28
- ),
29
- );
17
+ /*#__PURE__*/ _react.default.createElement(
18
+ _base.Icon,
19
+ Object.assign(
20
+ {
21
+ dangerouslySetGlyph: `<svg width="48" height="64" viewBox="0 0 48 64" role="presentation"><g fill-rule="evenodd"><path fill="#FFF" stroke="#091E42" stroke-opacity=".08" d="M4 .5h28.007a3.5 3.5 0 012.52 1.072l11.994 12.45a3.5 3.5 0 01.979 2.429V60a3.5 3.5 0 01-3.5 3.5H4A3.5 3.5 0 01.5 60V4A3.5 3.5 0 014 .5z"/><path fill="#36B37E" d="M15.833 23.833h3.5a1.167 1.167 0 010 2.334h-3.5a1.167 1.167 0 010-2.334zm0 4.667h3.5a1.167 1.167 0 010 2.333h-3.5a1.167 1.167 0 110-2.333zm0 4.667h3.5a1.167 1.167 0 110 2.333h-3.5a1.167 1.167 0 010-2.333zm0 4.666h3.5a1.167 1.167 0 010 2.334h-3.5a1.167 1.167 0 010-2.334zm8.167-14h8.167a1.167 1.167 0 010 2.334H24a1.167 1.167 0 010-2.334zm0 4.667h8.167a1.167 1.167 0 010 2.333H24a1.167 1.167 0 110-2.333zm0 4.667h8.167a1.167 1.167 0 110 2.333H24a1.167 1.167 0 010-2.333zm0 4.666h8.167a1.167 1.167 0 010 2.334H24a1.167 1.167 0 010-2.334z"/></g></svg>`,
22
+ },
23
+ props,
24
+ {
25
+ width: 48,
26
+ height: 64,
27
+ },
28
+ ),
29
+ );
30
30
 
31
31
  Spreadsheet48Icon.displayName = 'Spreadsheet48Icon';
32
32
  var _default = Spreadsheet48Icon;
@@ -2,5 +2,5 @@ import { PureComponent } from 'react';
2
2
  import type { GlyphProps } from '@atlaskit/icon/types';
3
3
 
4
4
  export default class extends PureComponent<
5
- Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
5
+ Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
6
6
  > {}
package/glyph/video/16.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', {
4
- value: true,
4
+ value: true,
5
5
  });
6
6
  exports.default = void 0;
7
7
 
@@ -10,22 +10,22 @@ var _react = _interopRequireDefault(require('react'));
10
10
  var _base = require('@atlaskit/icon/base');
11
11
 
12
12
  function _interopRequireDefault(obj) {
13
- return obj && obj.__esModule ? obj : { default: obj };
13
+ return obj && obj.__esModule ? obj : { default: obj };
14
14
  }
15
15
 
16
16
  const Video16Icon = (props) =>
17
- /*#__PURE__*/ _react.default.createElement(
18
- _base.Icon,
19
- Object.assign(
20
- {
21
- dangerouslySetGlyph: `<svg width="16" height="16" viewBox="0 0 16 16" role="presentation"><path fill="#FF5630" fill-rule="evenodd" d="M2 0h12a2 2 0 012 2v12a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm11.37 10.954c.285.138.63-.05.63-.343V5.39c0-.293-.345-.481-.63-.343L11 6.194v3.613l2.37 1.147zM2 5.99v4.018c0 .54.449.991 1.003.991h4.994A.99.99 0 009 10.01V5.99C9 5.452 8.551 5 7.997 5H3.003A.99.99 0 002 5.99z"/></svg>`,
22
- },
23
- props,
24
- {
25
- size: 'small',
26
- },
27
- ),
28
- );
17
+ /*#__PURE__*/ _react.default.createElement(
18
+ _base.Icon,
19
+ Object.assign(
20
+ {
21
+ dangerouslySetGlyph: `<svg width="16" height="16" viewBox="0 0 16 16" role="presentation"><path fill="#FF5630" fill-rule="evenodd" d="M2 0h12a2 2 0 012 2v12a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm11.37 10.954c.285.138.63-.05.63-.343V5.39c0-.293-.345-.481-.63-.343L11 6.194v3.613l2.37 1.147zM2 5.99v4.018c0 .54.449.991 1.003.991h4.994A.99.99 0 009 10.01V5.99C9 5.452 8.551 5 7.997 5H3.003A.99.99 0 002 5.99z"/></svg>`,
22
+ },
23
+ props,
24
+ {
25
+ size: 'small',
26
+ },
27
+ ),
28
+ );
29
29
 
30
30
  Video16Icon.displayName = 'Video16Icon';
31
31
  var _default = Video16Icon;
@@ -2,5 +2,5 @@ import { PureComponent } from 'react';
2
2
  import type { GlyphProps } from '@atlaskit/icon/types';
3
3
 
4
4
  export default class extends PureComponent<
5
- Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
5
+ Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
6
6
  > {}
package/glyph/video/24.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', {
4
- value: true,
4
+ value: true,
5
5
  });
6
6
  exports.default = void 0;
7
7
 
@@ -10,22 +10,22 @@ var _react = _interopRequireDefault(require('react'));
10
10
  var _base = require('@atlaskit/icon/base');
11
11
 
12
12
  function _interopRequireDefault(obj) {
13
- return obj && obj.__esModule ? obj : { default: obj };
13
+ return obj && obj.__esModule ? obj : { default: obj };
14
14
  }
15
15
 
16
16
  const Video24Icon = (props) =>
17
- /*#__PURE__*/ _react.default.createElement(
18
- _base.Icon,
19
- Object.assign(
20
- {
21
- dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="#FF5630" fill-rule="evenodd" d="M3 0h18a3 3 0 013 3v18a3 3 0 01-3 3H3a3 3 0 01-3-3V3a3 3 0 013-3zm1 7.995v8.01c0 .54.446.995.995.995h8.01c.54 0 .995-.446.995-.995v-8.01c0-.54-.446-.995-.995-.995h-8.01C4.455 7 4 7.446 4 7.995zm15.16 7.943c.38.185.84-.066.84-.457V8.52c0-.39-.46-.642-.84-.457L16 9.592v4.817l3.16 1.53z"/></svg>`,
22
- },
23
- props,
24
- {
25
- size: 'medium',
26
- },
27
- ),
28
- );
17
+ /*#__PURE__*/ _react.default.createElement(
18
+ _base.Icon,
19
+ Object.assign(
20
+ {
21
+ dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="#FF5630" fill-rule="evenodd" d="M3 0h18a3 3 0 013 3v18a3 3 0 01-3 3H3a3 3 0 01-3-3V3a3 3 0 013-3zm1 7.995v8.01c0 .54.446.995.995.995h8.01c.54 0 .995-.446.995-.995v-8.01c0-.54-.446-.995-.995-.995h-8.01C4.455 7 4 7.446 4 7.995zm15.16 7.943c.38.185.84-.066.84-.457V8.52c0-.39-.46-.642-.84-.457L16 9.592v4.817l3.16 1.53z"/></svg>`,
22
+ },
23
+ props,
24
+ {
25
+ size: 'medium',
26
+ },
27
+ ),
28
+ );
29
29
 
30
30
  Video24Icon.displayName = 'Video24Icon';
31
31
  var _default = Video24Icon;
@@ -2,5 +2,5 @@ import { PureComponent } from 'react';
2
2
  import type { GlyphProps } from '@atlaskit/icon/types';
3
3
 
4
4
  export default class extends PureComponent<
5
- Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
5
+ Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
6
6
  > {}
package/glyph/video/48.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', {
4
- value: true,
4
+ value: true,
5
5
  });
6
6
  exports.default = void 0;
7
7
 
@@ -10,23 +10,23 @@ var _react = _interopRequireDefault(require('react'));
10
10
  var _base = require('@atlaskit/icon/base');
11
11
 
12
12
  function _interopRequireDefault(obj) {
13
- return obj && obj.__esModule ? obj : { default: obj };
13
+ return obj && obj.__esModule ? obj : { default: obj };
14
14
  }
15
15
 
16
16
  const Video48Icon = (props) =>
17
- /*#__PURE__*/ _react.default.createElement(
18
- _base.Icon,
19
- Object.assign(
20
- {
21
- dangerouslySetGlyph: `<svg width="48" height="64" viewBox="0 0 48 64" role="presentation"><g fill-rule="evenodd"><path fill="#FFF" stroke="#091E42" stroke-opacity=".08" d="M4 .5h28.007a3.5 3.5 0 012.52 1.072l11.994 12.45a3.5 3.5 0 01.979 2.429V60a3.5 3.5 0 01-3.5 3.5H4A3.5 3.5 0 01.5 60V4A3.5 3.5 0 014 .5z"/><path fill="#FF5630" d="M14.667 27.161c0-.549.443-.994.994-.994h9.678c.549 0 .994.443.994.994v9.678a.993.993 0 01-.994.994H15.66a.993.993 0 01-.994-.994V27.16zm17.686 9.434l-3.686-1.784v-5.62l3.686-1.786c.444-.215.98.078.98.533v8.124c0 .455-.536.748-.98.533z"/></g></svg>`,
22
- },
23
- props,
24
- {
25
- width: 48,
26
- height: 64,
27
- },
28
- ),
29
- );
17
+ /*#__PURE__*/ _react.default.createElement(
18
+ _base.Icon,
19
+ Object.assign(
20
+ {
21
+ dangerouslySetGlyph: `<svg width="48" height="64" viewBox="0 0 48 64" role="presentation"><g fill-rule="evenodd"><path fill="#FFF" stroke="#091E42" stroke-opacity=".08" d="M4 .5h28.007a3.5 3.5 0 012.52 1.072l11.994 12.45a3.5 3.5 0 01.979 2.429V60a3.5 3.5 0 01-3.5 3.5H4A3.5 3.5 0 01.5 60V4A3.5 3.5 0 014 .5z"/><path fill="#FF5630" d="M14.667 27.161c0-.549.443-.994.994-.994h9.678c.549 0 .994.443.994.994v9.678a.993.993 0 01-.994.994H15.66a.993.993 0 01-.994-.994V27.16zm17.686 9.434l-3.686-1.784v-5.62l3.686-1.786c.444-.215.98.078.98.533v8.124c0 .455-.536.748-.98.533z"/></g></svg>`,
22
+ },
23
+ props,
24
+ {
25
+ width: 48,
26
+ height: 64,
27
+ },
28
+ ),
29
+ );
30
30
 
31
31
  Video48Icon.displayName = 'Video48Icon';
32
32
  var _default = Video48Icon;
@@ -2,5 +2,5 @@ import { PureComponent } from 'react';
2
2
  import type { GlyphProps } from '@atlaskit/icon/types';
3
3
 
4
4
  export default class extends PureComponent<
5
- Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
5
+ Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
6
6
  > {}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', {
4
- value: true,
4
+ value: true,
5
5
  });
6
6
  exports.default = void 0;
7
7
 
@@ -10,22 +10,22 @@ var _react = _interopRequireDefault(require('react'));
10
10
  var _base = require('@atlaskit/icon/base');
11
11
 
12
12
  function _interopRequireDefault(obj) {
13
- return obj && obj.__esModule ? obj : { default: obj };
13
+ return obj && obj.__esModule ? obj : { default: obj };
14
14
  }
15
15
 
16
16
  const WordDocument16Icon = (props) =>
17
- /*#__PURE__*/ _react.default.createElement(
18
- _base.Icon,
19
- Object.assign(
20
- {
21
- dangerouslySetGlyph: `<svg width="16" height="16" viewBox="0 0 16 16" role="presentation"><path fill="#1D7AFC" fill-rule="evenodd" d="M2 0h12a2 2 0 012 2v12a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm1.235 4.258A.273.273 0 003 4.53v6.969c0 .136.1.252.236.27l6.953.962a.273.273 0 00.311-.271V3.542a.273.273 0 00-.312-.27l-6.953.986zm7.89.617v6.25h1.563c.172 0 .312-.14.312-.313V5.189a.312.312 0 00-.313-.313h-1.562zM6.803 7.602L6.012 10.4h-.835l-1.12-4.228h.92l.66 2.98h.047l.77-2.98h.747l.786 2.98h.046l.654-2.98H9.6L8.479 10.4h-.83l-.8-2.798h-.046z"/></svg>`,
22
- },
23
- props,
24
- {
25
- size: 'small',
26
- },
27
- ),
28
- );
17
+ /*#__PURE__*/ _react.default.createElement(
18
+ _base.Icon,
19
+ Object.assign(
20
+ {
21
+ dangerouslySetGlyph: `<svg width="16" height="16" viewBox="0 0 16 16" role="presentation"><path fill="#1D7AFC" fill-rule="evenodd" d="M2 0h12a2 2 0 012 2v12a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm1.235 4.258A.273.273 0 003 4.53v6.969c0 .136.1.252.236.27l6.953.962a.273.273 0 00.311-.271V3.542a.273.273 0 00-.312-.27l-6.953.986zm7.89.617v6.25h1.563c.172 0 .312-.14.312-.313V5.189a.312.312 0 00-.313-.313h-1.562zM6.803 7.602L6.012 10.4h-.835l-1.12-4.228h.92l.66 2.98h.047l.77-2.98h.747l.786 2.98h.046l.654-2.98H9.6L8.479 10.4h-.83l-.8-2.798h-.046z"/></svg>`,
22
+ },
23
+ props,
24
+ {
25
+ size: 'small',
26
+ },
27
+ ),
28
+ );
29
29
 
30
30
  WordDocument16Icon.displayName = 'WordDocument16Icon';
31
31
  var _default = WordDocument16Icon;
@@ -2,5 +2,5 @@ import { PureComponent } from 'react';
2
2
  import type { GlyphProps } from '@atlaskit/icon/types';
3
3
 
4
4
  export default class extends PureComponent<
5
- Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
5
+ Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
6
6
  > {}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', {
4
- value: true,
4
+ value: true,
5
5
  });
6
6
  exports.default = void 0;
7
7
 
@@ -10,22 +10,22 @@ var _react = _interopRequireDefault(require('react'));
10
10
  var _base = require('@atlaskit/icon/base');
11
11
 
12
12
  function _interopRequireDefault(obj) {
13
- return obj && obj.__esModule ? obj : { default: obj };
13
+ return obj && obj.__esModule ? obj : { default: obj };
14
14
  }
15
15
 
16
16
  const WordDocument24Icon = (props) =>
17
- /*#__PURE__*/ _react.default.createElement(
18
- _base.Icon,
19
- Object.assign(
20
- {
21
- dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="#1D7AFC" fill-rule="evenodd" d="M3 0h18a3 3 0 013 3v18a3 3 0 01-3 3H3a3 3 0 01-3-3V3a3 3 0 013-3zm1.376 6.013A.437.437 0 004 6.446v11.15c0 .219.161.404.378.434l11.125 1.538a.437.437 0 00.497-.434V4.868a.437.437 0 00-.499-.434L4.376 6.014zm5.629 5.324L8.687 16H7.295L5.43 8.954h1.533l1.099 4.966h.078l1.284-4.966h1.245l1.309 4.966h.078l1.089-4.966h1.523L12.798 16h-1.382l-1.333-4.663h-.078zM17 7v10h2.5a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H17z"/></svg>`,
22
- },
23
- props,
24
- {
25
- size: 'medium',
26
- },
27
- ),
28
- );
17
+ /*#__PURE__*/ _react.default.createElement(
18
+ _base.Icon,
19
+ Object.assign(
20
+ {
21
+ dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="#1D7AFC" fill-rule="evenodd" d="M3 0h18a3 3 0 013 3v18a3 3 0 01-3 3H3a3 3 0 01-3-3V3a3 3 0 013-3zm1.376 6.013A.437.437 0 004 6.446v11.15c0 .219.161.404.378.434l11.125 1.538a.437.437 0 00.497-.434V4.868a.437.437 0 00-.499-.434L4.376 6.014zm5.629 5.324L8.687 16H7.295L5.43 8.954h1.533l1.099 4.966h.078l1.284-4.966h1.245l1.309 4.966h.078l1.089-4.966h1.523L12.798 16h-1.382l-1.333-4.663h-.078zM17 7v10h2.5a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H17z"/></svg>`,
22
+ },
23
+ props,
24
+ {
25
+ size: 'medium',
26
+ },
27
+ ),
28
+ );
29
29
 
30
30
  WordDocument24Icon.displayName = 'WordDocument24Icon';
31
31
  var _default = WordDocument24Icon;
@@ -2,5 +2,5 @@ import { PureComponent } from 'react';
2
2
  import type { GlyphProps } from '@atlaskit/icon/types';
3
3
 
4
4
  export default class extends PureComponent<
5
- Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
5
+ Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>
6
6
  > {}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', {
4
- value: true,
4
+ value: true,
5
5
  });
6
6
  exports.default = void 0;
7
7
 
@@ -10,23 +10,23 @@ var _react = _interopRequireDefault(require('react'));
10
10
  var _base = require('@atlaskit/icon/base');
11
11
 
12
12
  function _interopRequireDefault(obj) {
13
- return obj && obj.__esModule ? obj : { default: obj };
13
+ return obj && obj.__esModule ? obj : { default: obj };
14
14
  }
15
15
 
16
16
  const WordDocument48Icon = (props) =>
17
- /*#__PURE__*/ _react.default.createElement(
18
- _base.Icon,
19
- Object.assign(
20
- {
21
- dangerouslySetGlyph: `<svg width="48" height="64" viewBox="0 0 48 64" role="presentation"><g fill-rule="evenodd"><path fill="#FFF" stroke="#091E42" stroke-opacity=".08" d="M4 .5h28.007a3.5 3.5 0 012.52 1.072l11.994 12.45a3.5 3.5 0 01.979 2.429V60a3.5 3.5 0 01-3.5 3.5H4A3.5 3.5 0 01.5 60V4A3.5 3.5 0 014 .5z"/><path fill="#1D7AFC" d="M15.043 25.024l13.125-1.862a.438.438 0 01.499.433v16.812a.438.438 0 01-.498.433l-13.125-1.814a.438.438 0 01-.377-.433V25.457c0-.217.16-.402.376-.433zm6.63 6.202h.09l1.556 5.44h1.612l2.182-8.22h-1.778l-1.27 5.794h-.091l-1.527-5.794h-1.453l-1.498 5.794h-.09l-1.283-5.794h-1.788l2.176 8.22h1.623l1.538-5.44zm8.16-5.06h3a.5.5 0 01.5.5v10.667a.5.5 0 01-.5.5h-3V26.167z"/></g></svg>`,
22
- },
23
- props,
24
- {
25
- width: 48,
26
- height: 64,
27
- },
28
- ),
29
- );
17
+ /*#__PURE__*/ _react.default.createElement(
18
+ _base.Icon,
19
+ Object.assign(
20
+ {
21
+ dangerouslySetGlyph: `<svg width="48" height="64" viewBox="0 0 48 64" role="presentation"><g fill-rule="evenodd"><path fill="#FFF" stroke="#091E42" stroke-opacity=".08" d="M4 .5h28.007a3.5 3.5 0 012.52 1.072l11.994 12.45a3.5 3.5 0 01.979 2.429V60a3.5 3.5 0 01-3.5 3.5H4A3.5 3.5 0 01.5 60V4A3.5 3.5 0 014 .5z"/><path fill="#1D7AFC" d="M15.043 25.024l13.125-1.862a.438.438 0 01.499.433v16.812a.438.438 0 01-.498.433l-13.125-1.814a.438.438 0 01-.377-.433V25.457c0-.217.16-.402.376-.433zm6.63 6.202h.09l1.556 5.44h1.612l2.182-8.22h-1.778l-1.27 5.794h-.091l-1.527-5.794h-1.453l-1.498 5.794h-.09l-1.283-5.794h-1.788l2.176 8.22h1.623l1.538-5.44zm8.16-5.06h3a.5.5 0 01.5.5v10.667a.5.5 0 01-.5.5h-3V26.167z"/></g></svg>`,
22
+ },
23
+ props,
24
+ {
25
+ width: 48,
26
+ height: 64,
27
+ },
28
+ ),
29
+ );
30
30
 
31
31
  WordDocument48Icon.displayName = 'WordDocument48Icon';
32
32
  var _default = WordDocument48Icon;
package/package.json CHANGED
@@ -1,76 +1,75 @@
1
1
  {
2
- "name": "@atlaskit/icon-file-type",
3
- "version": "6.4.9",
4
- "description": "A file type icon is used to represent specific types of content used across Atlassian products.",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "atlaskit:src": "src/index.ts",
12
- "main": "dist/cjs/index.js",
13
- "module": "dist/esm/index.js",
14
- "module:es2019": "dist/es2019/index.js",
15
- "types": "dist/types/index.d.ts",
16
- "typesVersions": {
17
- ">=4.5 <4.9": {
18
- "*": [
19
- "dist/types-ts4.5/*",
20
- "dist/types-ts4.5/index.d.ts"
21
- ]
22
- }
23
- },
24
- "sideEffects": false,
25
- "atlassian": {
26
- "team": "Media Experience",
27
- "inPublicMirror": true,
28
- "productPushConsumption": [
29
- "jira"
30
- ],
31
- "releaseModel": "continuous",
32
- "website": {
33
- "name": "Icon File Type"
34
- }
35
- },
36
- "af:exports": {
37
- "./metadata": "./src/entry-points/metadata.ts",
38
- "./glyph": "./glyph",
39
- ".": "./src/index.ts"
40
- },
41
- "scripts": {
42
- "build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.ts"
43
- },
44
- "dependencies": {
45
- "@atlaskit/icon": "^22.1.0",
46
- "@babel/runtime": "^7.0.0"
47
- },
48
- "peerDependencies": {
49
- "react": "^16.8.0"
50
- },
51
- "devDependencies": {
52
- "@af/icon-build-process": "^0.5.0",
53
- "@atlaskit/visual-regression": "*",
54
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
55
- "@emotion/styled": "^11.0.0",
56
- "enzyme": "^3.10.0",
57
- "fs-extra": "^4.0.2",
58
- "jscodeshift": "^0.13.0",
59
- "pkg-dir": "^4.2.0",
60
- "react-dom": "^16.8.0",
61
- "ts-node": "^10.9.1"
62
- },
63
- "keywords": [
64
- "atlaskit",
65
- "ui"
66
- ],
67
- "techstack": {
68
- "@repo/internal": {
69
- "design-tokens": [
70
- "color",
71
- "spacing"
72
- ]
73
- }
74
- },
75
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
76
- }
2
+ "name": "@atlaskit/icon-file-type",
3
+ "version": "6.5.0",
4
+ "description": "A file type icon is used to represent specific types of content used across Atlassian products.",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "atlaskit:src": "src/index.ts",
12
+ "main": "dist/cjs/index.js",
13
+ "module": "dist/esm/index.js",
14
+ "module:es2019": "dist/es2019/index.js",
15
+ "types": "dist/types/index.d.ts",
16
+ "typesVersions": {
17
+ ">=4.5 <4.9": {
18
+ "*": [
19
+ "dist/types-ts4.5/*",
20
+ "dist/types-ts4.5/index.d.ts"
21
+ ]
22
+ }
23
+ },
24
+ "sideEffects": false,
25
+ "atlassian": {
26
+ "team": "Media Experience",
27
+ "inPublicMirror": true,
28
+ "productPushConsumption": [
29
+ "jira"
30
+ ],
31
+ "releaseModel": "continuous",
32
+ "website": {
33
+ "name": "Icon File Type"
34
+ },
35
+ "runReact18": true
36
+ },
37
+ "af:exports": {
38
+ "./metadata": "./src/entry-points/metadata.ts",
39
+ "./glyph": "./glyph",
40
+ ".": "./src/index.ts"
41
+ },
42
+ "scripts": {
43
+ "build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.ts"
44
+ },
45
+ "dependencies": {
46
+ "@atlaskit/icon": "^22.14.0",
47
+ "@babel/runtime": "^7.0.0"
48
+ },
49
+ "peerDependencies": {
50
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
51
+ },
52
+ "devDependencies": {
53
+ "@af/icon-build-process": "^2.1.0",
54
+ "@atlaskit/visual-regression": "*",
55
+ "@emotion/styled": "^11.0.0",
56
+ "enzyme": "^3.10.0",
57
+ "fs-extra": "^4.0.2",
58
+ "jscodeshift": "^0.13.0",
59
+ "pkg-dir": "^4.2.0",
60
+ "react-dom": "^16.8.0",
61
+ "ts-node": "^10.9.1"
62
+ },
63
+ "keywords": [
64
+ "atlaskit",
65
+ "ui"
66
+ ],
67
+ "techstack": {
68
+ "@repo/internal": {
69
+ "design-tokens": [
70
+ "color",
71
+ "spacing"
72
+ ]
73
+ }
74
+ }
75
+ }