@atlaskit/icon-object 7.2.1 → 7.2.2
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 +8 -0
- package/afm-cc/tsconfig.json +6 -3
- package/package.json +3 -48
- package/__tests__/visual-regression/__image_snapshots__/icon-object-snapshots-test-tsx-icon-priority-snapshots-should-match-light-mode-icons-1-snap.png +0 -3
- package/__tests__/visual-regression/icon-object-snapshots.test.tsx +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/icon-object
|
|
2
2
|
|
|
3
|
+
## 7.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`23bcc5bbc9cee`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/23bcc5bbc9cee) -
|
|
8
|
+
Internal changes to how border radius is applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 7.2.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"declaration": true,
|
|
5
5
|
"target": "es5",
|
|
6
|
-
"composite": true,
|
|
7
6
|
"outDir": "../../../../../confluence/tsDist/@atlaskit__icon-object",
|
|
8
|
-
"rootDir": "../"
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
9
|
},
|
|
10
|
-
"include": [
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
11
14
|
"exclude": [
|
|
12
15
|
"../src/**/__tests__/*",
|
|
13
16
|
"../src/**/*.test.*",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon-object",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.2",
|
|
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/"
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/icon": "^28.
|
|
40
|
-
"@atlaskit/icon-lab": "^5.
|
|
39
|
+
"@atlaskit/icon": "^28.1.0",
|
|
40
|
+
"@atlaskit/icon-lab": "^5.7.0",
|
|
41
41
|
"@babel/runtime": "^7.0.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
"@atlaskit/css": "^0.12.0",
|
|
50
50
|
"@atlaskit/textfield": "^8.0.0",
|
|
51
51
|
"@atlaskit/tooltip": "^20.4.0",
|
|
52
|
-
"@atlaskit/visual-regression": "workspace:^",
|
|
53
52
|
"@atlassian/codegen": "^0.1.0",
|
|
54
53
|
"fs-extra": "^4.0.2",
|
|
55
54
|
"pkg-dir": "^4.2.0",
|
|
@@ -73,49 +72,5 @@
|
|
|
73
72
|
],
|
|
74
73
|
"deprecation": "no-deprecated-imports"
|
|
75
74
|
}
|
|
76
|
-
},
|
|
77
|
-
"af:exports": {
|
|
78
|
-
"./metadata": "./src/entry-points/metadata.tsx",
|
|
79
|
-
"./glyph/blog/16": "./src/artifacts/glyph/blog/16.tsx",
|
|
80
|
-
"./glyph/blog/24": "./src/artifacts/glyph/blog/24.tsx",
|
|
81
|
-
"./glyph/branch/16": "./src/artifacts/glyph/branch/16.tsx",
|
|
82
|
-
"./glyph/branch/24": "./src/artifacts/glyph/branch/24.tsx",
|
|
83
|
-
"./glyph/bug/16": "./src/artifacts/glyph/bug/16.tsx",
|
|
84
|
-
"./glyph/bug/24": "./src/artifacts/glyph/bug/24.tsx",
|
|
85
|
-
"./glyph/calendar/16": "./src/artifacts/glyph/calendar/16.tsx",
|
|
86
|
-
"./glyph/calendar/24": "./src/artifacts/glyph/calendar/24.tsx",
|
|
87
|
-
"./glyph/changes/16": "./src/artifacts/glyph/changes/16.tsx",
|
|
88
|
-
"./glyph/changes/24": "./src/artifacts/glyph/changes/24.tsx",
|
|
89
|
-
"./glyph/code/16": "./src/artifacts/glyph/code/16.tsx",
|
|
90
|
-
"./glyph/code/24": "./src/artifacts/glyph/code/24.tsx",
|
|
91
|
-
"./glyph/commit/16": "./src/artifacts/glyph/commit/16.tsx",
|
|
92
|
-
"./glyph/commit/24": "./src/artifacts/glyph/commit/24.tsx",
|
|
93
|
-
"./glyph/epic/16": "./src/artifacts/glyph/epic/16.tsx",
|
|
94
|
-
"./glyph/epic/24": "./src/artifacts/glyph/epic/24.tsx",
|
|
95
|
-
"./glyph/improvement/16": "./src/artifacts/glyph/improvement/16.tsx",
|
|
96
|
-
"./glyph/improvement/24": "./src/artifacts/glyph/improvement/24.tsx",
|
|
97
|
-
"./glyph/incident/16": "./src/artifacts/glyph/incident/16.tsx",
|
|
98
|
-
"./glyph/incident/24": "./src/artifacts/glyph/incident/24.tsx",
|
|
99
|
-
"./glyph/issue/16": "./src/artifacts/glyph/issue/16.tsx",
|
|
100
|
-
"./glyph/issue/24": "./src/artifacts/glyph/issue/24.tsx",
|
|
101
|
-
"./glyph/new-feature/16": "./src/artifacts/glyph/new-feature/16.tsx",
|
|
102
|
-
"./glyph/new-feature/24": "./src/artifacts/glyph/new-feature/24.tsx",
|
|
103
|
-
"./glyph/page/16": "./src/artifacts/glyph/page/16.tsx",
|
|
104
|
-
"./glyph/page/24": "./src/artifacts/glyph/page/24.tsx",
|
|
105
|
-
"./glyph/page-live-doc/16": "./src/artifacts/glyph/page-live-doc/16.tsx",
|
|
106
|
-
"./glyph/page-live-doc/24": "./src/artifacts/glyph/page-live-doc/24.tsx",
|
|
107
|
-
"./glyph/problem/16": "./src/artifacts/glyph/problem/16.tsx",
|
|
108
|
-
"./glyph/problem/24": "./src/artifacts/glyph/problem/24.tsx",
|
|
109
|
-
"./glyph/pull-request/16": "./src/artifacts/glyph/pull-request/16.tsx",
|
|
110
|
-
"./glyph/pull-request/24": "./src/artifacts/glyph/pull-request/24.tsx",
|
|
111
|
-
"./glyph/question/16": "./src/artifacts/glyph/question/16.tsx",
|
|
112
|
-
"./glyph/question/24": "./src/artifacts/glyph/question/24.tsx",
|
|
113
|
-
"./glyph/story/16": "./src/artifacts/glyph/story/16.tsx",
|
|
114
|
-
"./glyph/story/24": "./src/artifacts/glyph/story/24.tsx",
|
|
115
|
-
"./glyph/subtask/16": "./src/artifacts/glyph/subtask/16.tsx",
|
|
116
|
-
"./glyph/subtask/24": "./src/artifacts/glyph/subtask/24.tsx",
|
|
117
|
-
"./glyph/task/16": "./src/artifacts/glyph/task/16.tsx",
|
|
118
|
-
"./glyph/task/24": "./src/artifacts/glyph/task/24.tsx",
|
|
119
|
-
".": "./src/index.tsx"
|
|
120
75
|
}
|
|
121
76
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { getExampleUrl, loadPage } from '@atlaskit/visual-regression/helper';
|
|
2
|
-
|
|
3
|
-
describe('icon priority snapshots', () => {
|
|
4
|
-
it('should match light mode icons', async () => {
|
|
5
|
-
const { __BASEURL__, page } = global as any;
|
|
6
|
-
|
|
7
|
-
const url = getExampleUrl('design-system', 'icon-object', 'icon-examples', __BASEURL__);
|
|
8
|
-
|
|
9
|
-
await loadPage(page, url);
|
|
10
|
-
|
|
11
|
-
const element = await page.$('[data-testid="light-root"]');
|
|
12
|
-
|
|
13
|
-
expect(await element?.screenshot()).toMatchProdImageSnapshot();
|
|
14
|
-
});
|
|
15
|
-
});
|