@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 +6 -0
- package/__tests__/visual-regression/__image_snapshots__/{icon-object-snapshots-test-ts-icon-priority-snapshots-should-match-dark-mode-icons-1-snap.png → icon-object-snapshots-test-tsx-icon-priority-snapshots-should-match-dark-mode-icons-1-snap.png} +0 -0
- package/__tests__/visual-regression/__image_snapshots__/{icon-object-snapshots-test-ts-icon-priority-snapshots-should-match-light-mode-icons-1-snap.png → icon-object-snapshots-test-tsx-icon-priority-snapshots-should-match-light-mode-icons-1-snap.png} +0 -0
- package/__tests__/visual-regression/{icon-object-snapshots.test.ts → icon-object-snapshots.test.tsx} +0 -0
- package/build/index.tsx +45 -0
- package/codemods/{6.1.0-metadata-entry.ts → 6.1.0-metadata-entry.tsx} +0 -0
- package/codemods/__tests__/{6.1.0-metadata-entry.ts → 6.1.0-metadata-entry.tsx} +0 -0
- package/constellation/index/props.mdx +2 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/metadata/package.json +1 -0
- package/package.json +12 -9
- package/report.api.md +11 -0
package/CHANGELOG.md
CHANGED
|
File without changes
|
|
File without changes
|
package/__tests__/visual-regression/{icon-object-snapshots.test.ts → icon-object-snapshots.test.tsx}
RENAMED
|
File without changes
|
package/build/index.tsx
ADDED
|
@@ -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
|
+
});
|
|
File without changes
|
|
File without changes
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/metadata/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon-object",
|
|
3
|
-
"version": "6.2.
|
|
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.
|
|
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.
|
|
27
|
+
"./metadata": "./src/entry-points/metadata.tsx",
|
|
27
28
|
"./glyph": "./glyph",
|
|
28
|
-
".": "./src/index.
|
|
29
|
+
".": "./src/index.tsx"
|
|
29
30
|
},
|
|
30
31
|
"scripts": {
|
|
31
|
-
"build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.
|
|
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.
|
|
43
|
-
"@atlaskit/button": "^16.
|
|
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
|
+
```
|