@atlaskit/icon-object 6.2.6 → 6.2.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-object
2
2
 
3
+ ## 6.2.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f0be7593aa3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f0be7593aa3) - Internal code change turning on new linting rules.
8
+
3
9
  ## 6.2.6
4
10
 
5
11
  ### Patch Changes
@@ -0,0 +1,45 @@
1
+ import path from 'path';
2
+ import { build, createIconDocs, tidy } from '@af/icon-build-process';
3
+ import type { IconBuildConfig } from '@af/icon-build-process';
4
+ import pkgDir from 'pkg-dir';
5
+ import fs from 'fs-extra';
6
+
7
+ const root = pkgDir.sync();
8
+
9
+ const config16: IconBuildConfig = {
10
+ srcDir: path.resolve(root!, 'svgs_raw'),
11
+ processedDir: path.resolve(root!, 'svgs'),
12
+ destDir: path.resolve(root!, 'glyph'),
13
+ maxWidth: 16,
14
+ maxHeight: 16,
15
+ glob: '**/16.svg',
16
+ size: 'small',
17
+ baseIconEntryPoint: '@atlaskit/icon/base',
18
+ isColorsDisabled: true,
19
+ };
20
+
21
+ const config24: IconBuildConfig = {
22
+ srcDir: path.resolve(root!, 'svgs_raw'),
23
+ processedDir: path.resolve(root!, 'svgs'),
24
+ destDir: path.resolve(root!, 'glyph'),
25
+ maxWidth: 24,
26
+ maxHeight: 24,
27
+ glob: '**/24.svg',
28
+ size: 'medium',
29
+ baseIconEntryPoint: '@atlaskit/icon/base',
30
+ isColorsDisabled: true,
31
+ };
32
+
33
+ tidy(config16)
34
+ .then(() => Promise.all([build(config16), build(config24)]))
35
+ .then(([sixteen, twentyfour]) => {
36
+ const allIcons = [...sixteen, ...twentyfour];
37
+ const iconDocs = createIconDocs(allIcons, '@atlaskit/icon-object', {}, [
38
+ 'object',
39
+ 'icon-object',
40
+ ]);
41
+
42
+ console.log('@atlaskit-icon-object built');
43
+
44
+ return fs.outputFile(path.resolve(root!, 'src/metadata.ts'), iconDocs);
45
+ });
@@ -1,3 +1,5 @@
1
1
  import IconObjectProps from '!!extract-react-types-loader!../../../icon/src/extract-react-types/glyph-no-color-size.tsx';
2
2
 
3
+ ## Props
4
+
3
5
  <PropsTable heading="" props={IconObjectProps} />
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-object",
3
- "version": "6.2.6",
3
+ "version": "6.2.7",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-object",
3
- "version": "6.2.6",
3
+ "version": "6.2.7",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-object",
3
- "version": "6.2.6",
3
+ "version": "6.2.7",
4
4
  "sideEffects": false
5
5
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/entry-points/metadata.js",
4
4
  "module": "../dist/esm/entry-points/metadata.js",
5
5
  "module:es2019": "../dist/es2019/entry-points/metadata.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/entry-points/metadata.d.ts"
7
8
  }
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-object",
3
- "version": "6.2.6",
3
+ "version": "6.2.7",
4
4
  "description": "An object icon is used to represent an Atlassian-specific content type.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
7
7
  },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
9
  "homepage": "https://atlassian.design/components/icon-object/",
10
10
  "author": "Atlassian Pty Ltd",
11
11
  "license": "Apache-2.0",
12
- "atlaskit:src": "src/index.ts",
12
+ "atlaskit:src": "src/index.tsx",
13
13
  "main": "dist/cjs/index.js",
14
14
  "module": "dist/esm/index.js",
15
15
  "module:es2019": "dist/es2019/index.js",
@@ -19,16 +19,17 @@
19
19
  "team": "Design System Team",
20
20
  "releaseModel": "scheduled",
21
21
  "website": {
22
- "name": "Icon object"
22
+ "name": "Icon object",
23
+ "category": "Components"
23
24
  }
24
25
  },
25
26
  "af:exports": {
26
- "./metadata": "./src/entry-points/metadata.ts",
27
+ "./metadata": "./src/entry-points/metadata.tsx",
27
28
  "./glyph": "./glyph",
28
- ".": "./src/index.ts"
29
+ ".": "./src/index.tsx"
29
30
  },
30
31
  "scripts": {
31
- "build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.ts"
32
+ "build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
32
33
  },
33
34
  "dependencies": {
34
35
  "@atlaskit/icon": "^21.10.0",
@@ -39,8 +40,8 @@
39
40
  },
40
41
  "devDependencies": {
41
42
  "@af/icon-build-process": "^0.3.0",
42
- "@af/icon-explorer": "^0.0.2",
43
- "@atlaskit/button": "^16.2.0",
43
+ "@af/icon-explorer": "^0.0.5",
44
+ "@atlaskit/button": "^16.3.0",
44
45
  "@atlaskit/docs": "*",
45
46
  "@atlaskit/modal-dialog": "^12.2.0",
46
47
  "@atlaskit/section-message": "^6.1.0",
@@ -63,6 +64,8 @@
63
64
  ],
64
65
  "techstack": {
65
66
  "@repo/internal": {
67
+ "design-system": "v1",
68
+ "dom-events": "use-bind-event-listener",
66
69
  "theming": "tokens",
67
70
  "styling": [
68
71
  "static"
package/report.api.md ADDED
@@ -0,0 +1,11 @@
1
+ ## API Report File for "@atlaskit/icon-object"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+ import { default as default_2 } from '@atlaskit/icon/base';
7
+
8
+ export default default_2;
9
+
10
+ export {};
11
+ ```