@atlaskit/icon-file-type 6.3.6 → 6.3.8

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/icon-file-type
2
2
 
3
+ ## 6.3.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`daefffa7e1a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/daefffa7e1a) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
8
+
9
+ ## 6.3.7
10
+
11
+ ### Patch Changes
12
+
13
+ - [`ea9ecef219f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea9ecef219f) - Updated Icon File Type documentation with new tab structure
14
+
3
15
  ## 6.3.6
4
16
 
5
17
  ### Patch Changes
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
@@ -11,5 +10,4 @@ Object.defineProperty(exports, "default", {
11
10
  return _metadata.default;
12
11
  }
13
12
  });
14
-
15
13
  var _metadata = _interopRequireDefault(require("../metadata"));
package/dist/cjs/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
@@ -11,5 +10,4 @@ Object.defineProperty(exports, "default", {
11
10
  return _base.default;
12
11
  }
13
12
  });
14
-
15
13
  var _base = _interopRequireDefault(require("@atlaskit/icon/base"));
@@ -4,9 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  /* eslint-disable global-require */
9
-
10
8
  /**
11
9
  * NOTE:
12
10
  *
@@ -16,6 +14,7 @@ exports.default = void 0;
16
14
  * To change the format of this file, modify build/icon/createIconDocs.js.
17
15
  * Add synonyms in icon/icons/synonyms.js.
18
16
  */
17
+
19
18
  var metaData = {
20
19
  'archive/16': {
21
20
  keywords: ['archive/16', 'archive16', 'file-type', 'icon-file-type'],
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-file-type",
3
- "version": "6.3.6",
3
+ "version": "6.3.8",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,4 @@
1
1
  /* eslint-disable global-require */
2
-
3
2
  /**
4
3
  * NOTE:
5
4
  *
@@ -9,6 +8,7 @@
9
8
  * To change the format of this file, modify build/icon/createIconDocs.js.
10
9
  * Add synonyms in icon/icons/synonyms.js.
11
10
  */
11
+
12
12
  const metaData = {
13
13
  'archive/16': {
14
14
  keywords: ['archive/16', 'archive16', 'file-type', 'icon-file-type'],
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-file-type",
3
- "version": "6.3.6",
3
+ "version": "6.3.8",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,4 @@
1
1
  /* eslint-disable global-require */
2
-
3
2
  /**
4
3
  * NOTE:
5
4
  *
@@ -9,6 +8,7 @@
9
8
  * To change the format of this file, modify build/icon/createIconDocs.js.
10
9
  * Add synonyms in icon/icons/synonyms.js.
11
10
  */
11
+
12
12
  var metaData = {
13
13
  'archive/16': {
14
14
  keywords: ['archive/16', 'archive16', 'file-type', 'icon-file-type'],
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-file-type",
3
- "version": "6.3.6",
3
+ "version": "6.3.8",
4
4
  "sideEffects": false
5
5
  }
package/docs/0-intro.tsx CHANGED
@@ -1,22 +1,19 @@
1
1
  import React from 'react';
2
- import { md, Props } from '@atlaskit/docs';
3
- import IconExplorer from '../examples/icon-explorer';
2
+ import { md } from '@atlaskit/docs';
3
+ import { DocsContentTabs } from '@atlaskit/media-test-helpers';
4
+ import UsageTab from './content/usage';
5
+ import PropsDefinitionTab from './content/props-definition';
4
6
 
5
7
  export default md`
6
- ## Icon explorer
8
+ ### Description
9
+ This package provides the collections of icons for the different types of content used across Atlassian products.
7
10
 
8
11
  ${(
9
- <p>
10
- <IconExplorer />
11
- </p>
12
- )}
13
-
14
- ### Props
15
-
16
- ${(
17
- <Props
18
- heading=""
19
- props={require('!!extract-react-types-loader!../../../design-system/icon/src/extract-react-types/glyph-no-color-size')}
12
+ <DocsContentTabs
13
+ tabs={[
14
+ { name: 'Usage', content: UsageTab },
15
+ { name: 'Props Definition', content: PropsDefinitionTab },
16
+ ]}
20
17
  />
21
18
  )}
22
19
  `;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { md, PropsTable } from '@atlaskit/docs';
3
+
4
+ export default md`
5
+ ${(
6
+ <PropsTable
7
+ heading="Props"
8
+ props={require('!!extract-react-types-loader!../../../../design-system/icon/src/extract-react-types/glyph-no-color-size')}
9
+ />
10
+ )}
11
+ `;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { md } from '@atlaskit/docs';
3
+ import IconExplorer from '../../examples/icon-explorer';
4
+
5
+ export default md`
6
+ ##
7
+ ## Icon Explorer
8
+ ${(
9
+ <p>
10
+ <IconExplorer />
11
+ </p>
12
+ )}
13
+
14
+ `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-file-type",
3
- "version": "6.3.6",
3
+ "version": "6.3.8",
4
4
  "description": "A file type icon is used to represent specific types of content used across Atlassian products.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,14 +39,15 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@af/icon-build-process": "^0.3.0",
42
- "@atlaskit/button": "^16.5.0",
42
+ "@atlaskit/button": "^16.6.0",
43
43
  "@atlaskit/docs": "*",
44
+ "@atlaskit/media-test-helpers": "^31.0.0",
44
45
  "@atlaskit/modal-dialog": "^12.4.0",
45
46
  "@atlaskit/ssr": "*",
46
47
  "@atlaskit/textfield": "^5.3.0",
47
- "@atlaskit/theme": "^12.2.0",
48
- "@atlaskit/tokens": "^0.11.1",
49
- "@atlaskit/tooltip": "^17.6.0",
48
+ "@atlaskit/theme": "^12.3.0",
49
+ "@atlaskit/tokens": "^1.2.0",
50
+ "@atlaskit/tooltip": "^17.7.0",
50
51
  "@atlaskit/visual-regression": "*",
51
52
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
52
53
  "@emotion/styled": "^10.0.7",
@@ -63,7 +64,9 @@
63
64
  ],
64
65
  "techstack": {
65
66
  "@repo/internal": {
66
- "theming": "tokens"
67
+ "design-tokens": [
68
+ "color"
69
+ ]
67
70
  }
68
71
  },
69
72
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
package/report.api.md CHANGED
@@ -1,4 +1,4 @@
1
- <!-- API Report Version: 2.2 -->
1
+ <!-- API Report Version: 2.3 -->
2
2
 
3
3
  ## API Report File for "@atlaskit/icon-file-type"
4
4
 
@@ -8,6 +8,7 @@
8
8
  ### Table of contents
9
9
 
10
10
  - [Main Entry Types](#main-entry-types)
11
+ - [Peer Dependencies](#peer-dependencies)
11
12
 
12
13
  ### Main Entry Types
13
14
 
@@ -22,3 +23,15 @@ export default default_2;
22
23
  ```
23
24
 
24
25
  <!--SECTION END: Main Entry Types-->
26
+
27
+ ### Peer Dependencies
28
+
29
+ <!--SECTION START: Peer Dependencies-->
30
+
31
+ ```json
32
+ {
33
+ "react": "^16.8.0"
34
+ }
35
+ ```
36
+
37
+ <!--SECTION END: Peer Dependencies-->