@atlaskit/icon-file-type 6.3.6 → 6.3.7

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,11 @@
1
1
  # @atlaskit/icon-file-type
2
2
 
3
+ ## 6.3.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ea9ecef219f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea9ecef219f) - Updated Icon File Type documentation with new tab structure
8
+
3
9
  ## 6.3.6
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-file-type",
3
- "version": "6.3.6",
3
+ "version": "6.3.7",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-file-type",
3
- "version": "6.3.6",
3
+ "version": "6.3.7",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-file-type",
3
- "version": "6.3.6",
3
+ "version": "6.3.7",
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.7",
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/"
@@ -41,11 +41,12 @@
41
41
  "@af/icon-build-process": "^0.3.0",
42
42
  "@atlaskit/button": "^16.5.0",
43
43
  "@atlaskit/docs": "*",
44
+ "@atlaskit/media-test-helpers": "^30.1.0",
44
45
  "@atlaskit/modal-dialog": "^12.4.0",
45
46
  "@atlaskit/ssr": "*",
46
47
  "@atlaskit/textfield": "^5.3.0",
47
48
  "@atlaskit/theme": "^12.2.0",
48
- "@atlaskit/tokens": "^0.11.1",
49
+ "@atlaskit/tokens": "^0.13.0",
49
50
  "@atlaskit/tooltip": "^17.6.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",
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