@atlaskit/icon-file-type 7.0.6 → 7.0.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
+ ## 7.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 7.0.7
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 7.0.6
4
16
 
5
17
  ### Patch Changes
@@ -228,7 +240,6 @@
228
240
  [`d2f7ffb6b78`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2f7ffb6b78) - [ux]
229
241
  Updated the fill color of the following file icons to use new colors from the new color palette to
230
242
  avoid contrast issue in dark mode:
231
-
232
243
  - archive
233
244
  - excel-spreadsheet
234
245
  - executable
@@ -479,7 +490,6 @@
479
490
  - [patch][fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
480
491
 
481
492
  Corrects accessibility behavior for wrapping span. It now will now:
482
-
483
493
  - conditionally set the `aria-label` if `label` is defined
484
494
  - conditionally set the `role` to either `img` if `label` is defined, or `presentation` if it is
485
495
  not defined- Updated dependencies
@@ -501,7 +511,6 @@
501
511
 
502
512
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
503
513
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
504
-
505
514
  - @atlaskit/docs@8.3.2
506
515
  - @atlaskit/button@13.3.7
507
516
  - @atlaskit/modal-dialog@10.5.2
@@ -517,7 +526,6 @@
517
526
 
518
527
  Fix main/module fields in package.json pointing to the wrong place- Updated dependencies
519
528
  [ccbd1b390b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ccbd1b390b):
520
-
521
529
  - @atlaskit/build-utils@2.6.0
522
530
 
523
531
  ## 5.0.0
@@ -595,7 +603,6 @@
595
603
  ## 4.0.2
596
604
 
597
605
  - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
598
-
599
606
  - This is just a safety release in case anything strange happened in in the previous one. See Pull
600
607
  Request #5942 for details
601
608
 
@@ -608,7 +615,6 @@
608
615
  ## 4.0.0
609
616
 
610
617
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
611
-
612
618
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
613
619
  this package, please ensure you use at least this version of react and react-dom.
614
620
 
@@ -637,7 +643,6 @@
637
643
  ## 3.0.6
638
644
 
639
645
  - [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
640
-
641
646
  - Removes duplicate babel-runtime dependency
642
647
 
643
648
  ## 3.0.5
@@ -665,7 +670,6 @@
665
670
  ## 3.0.3
666
671
 
667
672
  - [patch][1d1f6d1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1d1f6d1):
668
-
669
673
  - Make icon glyphs not import metadata
670
674
 
671
675
  ## 3.0.2
@@ -691,7 +695,6 @@
691
695
  ## 3.0.0
692
696
 
693
697
  - [major][ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c):
694
-
695
698
  - Remove onClick props as icon is only a presentational placeholder. Please wrap icon into a
696
699
  Button or a Link component.
697
700
 
@@ -708,7 +711,6 @@
708
711
  ## 2.0.0
709
712
 
710
713
  - [patch][29b160f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/29b160f):
711
-
712
714
  - Simplify the icons build process
713
715
 
714
716
  Icons no longer need a custom `build` step to be accurate on npm. This has come about by renaming
@@ -718,7 +720,6 @@
718
720
  - [major][80304f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80304f0):
719
721
 
720
722
  **NOTE** Unless you are using the `iconsInfo` export, this change is not breaking.
721
-
722
723
  - Rename `iconsInfo` to `metadata` to more accurately reflect its role
723
724
 
724
725
  This change comes with rethinking what is exported from this object, which no longer includes
@@ -1,11 +1,12 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.confluence.json",
2
+ "extends": "../../../../tsconfig.local-consumption.json",
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
6
6
  "outDir": "../../../../../confluence/tsDist/@atlaskit__icon-file-type",
7
7
  "rootDir": "../",
8
- "composite": true
8
+ "composite": true,
9
+ "noCheck": true
9
10
  },
10
11
  "include": [
11
12
  "../src/**/*.ts",
@@ -1,11 +1,12 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.jira.json",
2
+ "extends": "../../../../tsconfig.local-consumption.json",
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
6
- "outDir": "../../../../../tsDist/@atlaskit__icon-file-type/app",
6
+ "outDir": "../../../../../jira/tsDist/@atlaskit__icon-file-type/app",
7
7
  "rootDir": "../",
8
- "composite": true
8
+ "composite": true,
9
+ "noCheck": true
9
10
  },
10
11
  "include": [
11
12
  "../src/**/*.ts",
@@ -1,11 +1,12 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.dev-agents.json",
2
+ "extends": "../../../../tsconfig.local-consumption.json",
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
6
- "outDir": "../../../../../dev-agents/tsDist/@atlaskit__icon-file-type/app",
6
+ "outDir": "../../../../../tsDist/@atlaskit__icon-file-type/app",
7
7
  "rootDir": "../",
8
- "composite": true
8
+ "composite": true,
9
+ "noCheck": true
9
10
  },
10
11
  "include": [
11
12
  "../src/**/*.ts",
@@ -24,7 +25,7 @@
24
25
  ],
25
26
  "references": [
26
27
  {
27
- "path": "../../../design-system/icon/afm-dev-agents/tsconfig.json"
28
+ "path": "../../../design-system/icon/afm-products/tsconfig.json"
28
29
  }
29
30
  ]
30
31
  }
@@ -15,7 +15,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
15
15
  *
16
16
  * To change the format of this file, modify `createIconDocs` in icon-build-process/src/create-icon-docs.tsx.
17
17
  *
18
- * @codegen <<SignedSource::e5916f3c6ad8cdc12dce7fd1c83f24dc>>
18
+ * @codegen <<SignedSource::9401f2095f9a07ef23d14733664d75fe>>
19
19
  * @codegenCommand yarn build:icon-glyphs
20
20
  */
21
21
  /* eslint-disable import/no-extraneous-dependencies -- This import is within the same package, hence self-referential. */
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * To change the format of this file, modify `createIconDocs` in icon-build-process/src/create-icon-docs.tsx.
5
5
  *
6
- * @codegen <<SignedSource::e5916f3c6ad8cdc12dce7fd1c83f24dc>>
6
+ * @codegen <<SignedSource::9401f2095f9a07ef23d14733664d75fe>>
7
7
  * @codegenCommand yarn build:icon-glyphs
8
8
  */
9
9
  /* eslint-disable import/no-extraneous-dependencies -- This import is within the same package, hence self-referential. */
@@ -6,7 +6,7 @@ var _excluded = ["packageLoader"];
6
6
  *
7
7
  * To change the format of this file, modify `createIconDocs` in icon-build-process/src/create-icon-docs.tsx.
8
8
  *
9
- * @codegen <<SignedSource::e5916f3c6ad8cdc12dce7fd1c83f24dc>>
9
+ * @codegen <<SignedSource::9401f2095f9a07ef23d14733664d75fe>>
10
10
  * @codegenCommand yarn build:icon-glyphs
11
11
  */
12
12
  /* eslint-disable import/no-extraneous-dependencies -- This import is within the same package, hence self-referential. */
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * To change the format of this file, modify `createIconDocs` in icon-build-process/src/create-icon-docs.tsx.
5
5
  *
6
- * @codegen <<SignedSource::e5916f3c6ad8cdc12dce7fd1c83f24dc>>
6
+ * @codegen <<SignedSource::9401f2095f9a07ef23d14733664d75fe>>
7
7
  * @codegenCommand yarn build:icon-glyphs
8
8
  */
9
9
  interface Data {
@@ -15,11 +15,5 @@ interface Data {
15
15
  }>;
16
16
  }
17
17
  export declare const metaDataWithPackageLoader: Record<string, Data>;
18
- declare const metaData: {
19
- [k: string]: {
20
- keywords: string[];
21
- componentName: string;
22
- package: string;
23
- };
24
- };
18
+ declare const metaData: Record<string, Omit<Data, 'packageLoader'>>;
25
19
  export default metaData;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * To change the format of this file, modify `createIconDocs` in icon-build-process/src/create-icon-docs.tsx.
5
5
  *
6
- * @codegen <<SignedSource::e5916f3c6ad8cdc12dce7fd1c83f24dc>>
6
+ * @codegen <<SignedSource::9401f2095f9a07ef23d14733664d75fe>>
7
7
  * @codegenCommand yarn build:icon-glyphs
8
8
  */
9
9
  interface Data {
@@ -15,11 +15,5 @@ interface Data {
15
15
  }>;
16
16
  }
17
17
  export declare const metaDataWithPackageLoader: Record<string, Data>;
18
- declare const metaData: {
19
- [k: string]: {
20
- keywords: string[];
21
- componentName: string;
22
- package: string;
23
- };
24
- };
18
+ declare const metaData: Record<string, Omit<Data, 'packageLoader'>>;
25
19
  export default metaData;
package/docs/0-intro.tsx CHANGED
@@ -4,7 +4,7 @@ import { DocsContentTabs } from '@atlaskit/media-test-helpers';
4
4
  import UsageTab from './content/usage';
5
5
  import PropsDefinitionTab from './content/props-definition';
6
6
 
7
- export default md`
7
+ const _default_1: any = md`
8
8
  ### Description
9
9
  This package provides the collections of icons for the different types of content used across Atlassian products.
10
10
 
@@ -17,3 +17,4 @@ This package provides the collections of icons for the different types of conten
17
17
  />
18
18
  )}
19
19
  `;
20
+ export default _default_1;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { md, PropsTable } from '@atlaskit/docs';
3
3
 
4
- export default md`
4
+ const _default_1: any = md`
5
5
  # Props
6
6
 
7
7
  This package utilizes the \`@atlaskit/icon\` component and accepts the following props:
@@ -26,3 +26,4 @@ This package utilizes the \`@atlaskit/icon\` component and accepts the following
26
26
  )}
27
27
 
28
28
  `;
29
+ export default _default_1;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { md } from '@atlaskit/docs';
3
3
  import IconExplorer from '../../examples/icon-explorer';
4
4
 
5
- export default md`
5
+ const _default_1: any = md`
6
6
  ##
7
7
  ## Icon Explorer
8
8
  ${
@@ -15,3 +15,4 @@ export default md`
15
15
  }
16
16
 
17
17
  `;
18
+ export default _default_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-file-type",
3
- "version": "7.0.6",
3
+ "version": "7.0.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/"
@@ -28,16 +28,11 @@
28
28
  "name": "Icon File Type"
29
29
  }
30
30
  },
31
- "af:exports": {
32
- "./metadata": "./src/entry-points/metadata.ts",
33
- "./glyph": "./glyph",
34
- ".": "./src/index.ts"
35
- },
36
31
  "scripts": {
37
32
  "build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.ts"
38
33
  },
39
34
  "dependencies": {
40
- "@atlaskit/icon": "^28.1.0",
35
+ "@atlaskit/icon": "^30.0.0",
41
36
  "@babel/runtime": "^7.0.0"
42
37
  },
43
38
  "peerDependencies": {
@@ -1,30 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.passionfruit.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../passionfruit/tsDist/@atlaskit__icon-file-type/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../design-system/icon/afm-passionfruit/tsconfig.json"
28
- }
29
- ]
30
- }
@@ -1,30 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.post-office.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../post-office/tsDist/@atlaskit__icon-file-type/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../design-system/icon/afm-post-office/tsconfig.json"
28
- }
29
- ]
30
- }
@@ -1,30 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.rovo-extension.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../rovo-extension/tsDist/@atlaskit__icon-file-type/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../design-system/icon/afm-rovo-extension/tsconfig.json"
28
- }
29
- ]
30
- }
@@ -1,30 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.townsquare.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../townsquare/tsDist/@atlaskit__icon-file-type/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../design-system/icon/afm-townsquare/tsconfig.json"
28
- }
29
- ]
30
- }
@@ -1,30 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.volt.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../volt/tsDist/@atlaskit__icon-file-type/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../design-system/icon/afm-volt/tsconfig.json"
28
- }
29
- ]
30
- }
@@ -1,23 +0,0 @@
1
- {
2
- "extends": "../tsconfig",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "paths": {}
7
- },
8
- "include": [
9
- "../src/**/*.ts",
10
- "../src/**/*.tsx"
11
- ],
12
- "exclude": [
13
- "../src/**/__tests__/*",
14
- "../src/**/*.test.*",
15
- "../src/**/test.*",
16
- "../src/**/examples.*",
17
- "../src/**/examples/*",
18
- "../src/**/examples/**/*",
19
- "../src/**/*.stories.*",
20
- "../src/**/stories/*",
21
- "../src/**/stories/**/*"
22
- ]
23
- }