@atlaskit/icon-file-type 6.4.9 → 6.6.0
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 +206 -79
- package/__tests__/visual-regression/icon-file-type-snapshots.test.ts +7 -28
- package/afm-jira/tsconfig.json +24 -0
- package/afm-post-office/tsconfig.json +24 -0
- package/codemods/6.1.0-metadata-entry.ts +90 -97
- package/codemods/__tests__/6.1.0-metadata-entry.ts +63 -63
- package/dist/cjs/metadata.js +4 -5
- package/dist/es2019/metadata.js +4 -5
- package/dist/esm/metadata.js +4 -5
- package/dist/types/metadata.d.ts +4 -5
- package/dist/types-ts4.5/metadata.d.ts +4 -5
- package/docs/0-intro.tsx +7 -7
- package/docs/content/props-definition.tsx +22 -5
- package/docs/content/usage.tsx +4 -4
- package/glyph/archive/16.d.ts +1 -1
- package/glyph/archive/16.js +16 -22
- package/glyph/archive/24.d.ts +1 -1
- package/glyph/archive/24.js +16 -22
- package/glyph/archive/48.d.ts +1 -1
- package/glyph/archive/48.js +17 -23
- package/glyph/audio/16.d.ts +1 -1
- package/glyph/audio/16.js +16 -22
- package/glyph/audio/24.d.ts +1 -1
- package/glyph/audio/24.js +16 -22
- package/glyph/audio/48.d.ts +1 -1
- package/glyph/audio/48.js +17 -23
- package/glyph/document/16.d.ts +1 -1
- package/glyph/document/16.js +16 -22
- package/glyph/document/24.d.ts +1 -1
- package/glyph/document/24.js +16 -22
- package/glyph/document/48.d.ts +1 -1
- package/glyph/document/48.js +17 -23
- package/glyph/excel-spreadsheet/16.d.ts +1 -1
- package/glyph/excel-spreadsheet/16.js +16 -22
- package/glyph/excel-spreadsheet/24.d.ts +1 -1
- package/glyph/excel-spreadsheet/24.js +16 -22
- package/glyph/excel-spreadsheet/48.d.ts +1 -1
- package/glyph/excel-spreadsheet/48.js +17 -23
- package/glyph/executable/16.d.ts +1 -1
- package/glyph/executable/16.js +16 -22
- package/glyph/executable/24.d.ts +1 -1
- package/glyph/executable/24.js +16 -22
- package/glyph/executable/48.d.ts +1 -1
- package/glyph/executable/48.js +17 -23
- package/glyph/figma/16.d.ts +1 -1
- package/glyph/figma/16.js +16 -22
- package/glyph/figma/24.d.ts +1 -1
- package/glyph/figma/24.js +16 -22
- package/glyph/figma/48.d.ts +1 -1
- package/glyph/figma/48.js +17 -23
- package/glyph/folder/16.d.ts +1 -1
- package/glyph/folder/16.js +16 -22
- package/glyph/folder/24.d.ts +1 -1
- package/glyph/folder/24.js +16 -22
- package/glyph/folder/48.d.ts +1 -1
- package/glyph/folder/48.js +17 -23
- package/glyph/generic/16.d.ts +1 -1
- package/glyph/generic/16.js +16 -22
- package/glyph/generic/24.d.ts +1 -1
- package/glyph/generic/24.js +16 -22
- package/glyph/generic/48.d.ts +1 -1
- package/glyph/generic/48.js +17 -23
- package/glyph/gif/16.d.ts +1 -1
- package/glyph/gif/16.js +16 -22
- package/glyph/gif/24.d.ts +1 -1
- package/glyph/gif/24.js +16 -22
- package/glyph/gif/48.d.ts +1 -1
- package/glyph/gif/48.js +17 -23
- package/glyph/google-doc/16.d.ts +1 -1
- package/glyph/google-doc/16.js +16 -22
- package/glyph/google-doc/24.d.ts +1 -1
- package/glyph/google-doc/24.js +16 -22
- package/glyph/google-doc/48.d.ts +1 -1
- package/glyph/google-doc/48.js +17 -23
- package/glyph/google-form/16.d.ts +1 -1
- package/glyph/google-form/16.js +16 -22
- package/glyph/google-form/24.d.ts +1 -1
- package/glyph/google-form/24.js +16 -22
- package/glyph/google-form/48.d.ts +1 -1
- package/glyph/google-form/48.js +17 -23
- package/glyph/google-sheet/16.d.ts +1 -1
- package/glyph/google-sheet/16.js +16 -22
- package/glyph/google-sheet/24.d.ts +1 -1
- package/glyph/google-sheet/24.js +16 -22
- package/glyph/google-sheet/48.d.ts +1 -1
- package/glyph/google-sheet/48.js +17 -23
- package/glyph/google-slide/16.d.ts +1 -1
- package/glyph/google-slide/16.js +16 -22
- package/glyph/google-slide/24.d.ts +1 -1
- package/glyph/google-slide/24.js +16 -22
- package/glyph/google-slide/48.d.ts +1 -1
- package/glyph/google-slide/48.js +17 -23
- package/glyph/image/16.d.ts +1 -1
- package/glyph/image/16.js +16 -22
- package/glyph/image/24.d.ts +1 -1
- package/glyph/image/24.js +16 -22
- package/glyph/image/48.d.ts +1 -1
- package/glyph/image/48.js +17 -23
- package/glyph/pdf-document/16.d.ts +1 -1
- package/glyph/pdf-document/16.js +16 -22
- package/glyph/pdf-document/24.d.ts +1 -1
- package/glyph/pdf-document/24.js +16 -22
- package/glyph/pdf-document/48.d.ts +1 -1
- package/glyph/pdf-document/48.js +17 -23
- package/glyph/powerpoint-presentation/16.d.ts +1 -1
- package/glyph/powerpoint-presentation/16.js +16 -22
- package/glyph/powerpoint-presentation/24.d.ts +1 -1
- package/glyph/powerpoint-presentation/24.js +16 -22
- package/glyph/powerpoint-presentation/48.d.ts +1 -1
- package/glyph/powerpoint-presentation/48.js +17 -23
- package/glyph/presentation/16.d.ts +1 -1
- package/glyph/presentation/16.js +16 -22
- package/glyph/presentation/24.d.ts +1 -1
- package/glyph/presentation/24.js +16 -22
- package/glyph/presentation/48.d.ts +1 -1
- package/glyph/presentation/48.js +17 -23
- package/glyph/sketch/16.d.ts +1 -1
- package/glyph/sketch/16.js +16 -22
- package/glyph/sketch/24.d.ts +1 -1
- package/glyph/sketch/24.js +16 -22
- package/glyph/sketch/48.d.ts +1 -1
- package/glyph/sketch/48.js +17 -23
- package/glyph/source-code/16.d.ts +1 -1
- package/glyph/source-code/16.js +16 -22
- package/glyph/source-code/24.d.ts +1 -1
- package/glyph/source-code/24.js +16 -22
- package/glyph/source-code/48.d.ts +1 -1
- package/glyph/source-code/48.js +17 -23
- package/glyph/spreadsheet/16.d.ts +1 -1
- package/glyph/spreadsheet/16.js +16 -22
- package/glyph/spreadsheet/24.d.ts +1 -1
- package/glyph/spreadsheet/24.js +16 -22
- package/glyph/spreadsheet/48.d.ts +1 -1
- package/glyph/spreadsheet/48.js +17 -23
- package/glyph/video/16.d.ts +1 -1
- package/glyph/video/16.js +16 -22
- package/glyph/video/24.d.ts +1 -1
- package/glyph/video/24.js +16 -22
- package/glyph/video/48.d.ts +1 -1
- package/glyph/video/48.js +17 -23
- package/glyph/word-document/16.d.ts +1 -1
- package/glyph/word-document/16.js +16 -22
- package/glyph/word-document/24.d.ts +1 -1
- package/glyph/word-document/24.js +16 -22
- package/glyph/word-document/48.d.ts +1 -1
- package/glyph/word-document/48.js +17 -23
- package/package.json +69 -75
- package/report.api.md +3 -2
- package/svgs/archive/16.svg +1 -1
- package/svgs/archive/24.svg +1 -1
- package/svgs/archive/48.svg +1 -1
- package/svgs/audio/16.svg +1 -1
- package/svgs/audio/24.svg +1 -1
- package/svgs/audio/48.svg +1 -1
- package/svgs/document/16.svg +1 -1
- package/svgs/document/24.svg +1 -1
- package/svgs/document/48.svg +1 -1
- package/svgs/excel-spreadsheet/16.svg +1 -1
- package/svgs/excel-spreadsheet/24.svg +1 -1
- package/svgs/excel-spreadsheet/48.svg +1 -1
- package/svgs/executable/16.svg +1 -1
- package/svgs/executable/24.svg +1 -1
- package/svgs/executable/48.svg +1 -1
- package/svgs/figma/16.svg +1 -1
- package/svgs/figma/24.svg +1 -1
- package/svgs/figma/48.svg +1 -1
- package/svgs/folder/16.svg +1 -1
- package/svgs/folder/24.svg +1 -1
- package/svgs/folder/48.svg +1 -1
- package/svgs/generic/16.svg +1 -1
- package/svgs/generic/24.svg +1 -0
- package/svgs/generic/48.svg +1 -1
- package/svgs/gif/16.svg +1 -1
- package/svgs/gif/24.svg +1 -1
- package/svgs/gif/48.svg +1 -1
- package/svgs/google-doc/16.svg +1 -1
- package/svgs/google-doc/24.svg +1 -1
- package/svgs/google-doc/48.svg +1 -1
- package/svgs/google-form/16.svg +1 -1
- package/svgs/google-form/24.svg +1 -1
- package/svgs/google-form/48.svg +1 -1
- package/svgs/google-sheet/16.svg +1 -1
- package/svgs/google-sheet/24.svg +1 -1
- package/svgs/google-sheet/48.svg +1 -1
- package/svgs/google-slide/16.svg +1 -1
- package/svgs/google-slide/24.svg +1 -1
- package/svgs/google-slide/48.svg +1 -1
- package/svgs/image/16.svg +1 -1
- package/svgs/image/24.svg +1 -1
- package/svgs/image/48.svg +1 -1
- package/svgs/pdf-document/16.svg +1 -1
- package/svgs/pdf-document/24.svg +1 -1
- package/svgs/pdf-document/48.svg +1 -1
- package/svgs/powerpoint-presentation/16.svg +1 -1
- package/svgs/powerpoint-presentation/24.svg +1 -1
- package/svgs/powerpoint-presentation/48.svg +1 -1
- package/svgs/presentation/16.svg +1 -1
- package/svgs/presentation/24.svg +1 -1
- package/svgs/presentation/48.svg +1 -1
- package/svgs/sketch/16.svg +1 -1
- package/svgs/sketch/24.svg +1 -1
- package/svgs/sketch/48.svg +1 -1
- package/svgs/source-code/16.svg +1 -1
- package/svgs/source-code/24.svg +1 -1
- package/svgs/source-code/48.svg +1 -1
- package/svgs/spreadsheet/16.svg +1 -1
- package/svgs/spreadsheet/24.svg +1 -1
- package/svgs/spreadsheet/48.svg +1 -1
- package/svgs/video/16.svg +1 -1
- package/svgs/video/24.svg +1 -1
- package/svgs/video/48.svg +1 -1
- package/svgs/word-document/16.svg +1 -1
- package/svgs/word-document/24.svg +1 -1
- package/svgs/word-document/48.svg +1 -1
- package/__tests__/visual-regression/__image_snapshots__/icon-file-type-snapshots-test-ts-icon-file-type-snapshots-should-match-dark-mode-icons-1-snap.png +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,22 +1,48 @@
|
|
|
1
1
|
# @atlaskit/icon-file-type
|
|
2
2
|
|
|
3
|
+
## 6.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#154636](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/154636)
|
|
8
|
+
[`6bd3aebdb9761`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6bd3aebdb9761) -
|
|
9
|
+
Run build-glyphs in icon packages.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 6.5.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [#132147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/132147)
|
|
20
|
+
[`580c0e6f55a69`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/580c0e6f55a69) -
|
|
21
|
+
Updates to support React 18
|
|
22
|
+
|
|
3
23
|
## 6.4.9
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
6
26
|
|
|
7
|
-
- [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
|
|
27
|
+
- [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
|
|
28
|
+
[`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) -
|
|
29
|
+
Migrated to the new button component
|
|
8
30
|
|
|
9
31
|
## 6.4.8
|
|
10
32
|
|
|
11
33
|
### Patch Changes
|
|
12
34
|
|
|
13
|
-
- [#80509](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80509)
|
|
35
|
+
- [#80509](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80509)
|
|
36
|
+
[`fcf7481f594f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fcf7481f594f) -
|
|
37
|
+
Upgrade dependency of `@emotion/styled` to version 11
|
|
14
38
|
|
|
15
39
|
## 6.4.7
|
|
16
40
|
|
|
17
41
|
### Patch Changes
|
|
18
42
|
|
|
19
|
-
- [#64934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64934)
|
|
43
|
+
- [#64934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64934)
|
|
44
|
+
[`532734a858a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/532734a858a1) -
|
|
45
|
+
Update to internal metadata order, following update of @atlaskit/icon-build-process
|
|
20
46
|
|
|
21
47
|
## 6.4.6
|
|
22
48
|
|
|
@@ -28,37 +54,50 @@
|
|
|
28
54
|
|
|
29
55
|
### Patch Changes
|
|
30
56
|
|
|
31
|
-
- [#42577](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42577)
|
|
57
|
+
- [#42577](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42577)
|
|
58
|
+
[`d51b45b02fb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d51b45b02fb) - Add
|
|
59
|
+
component to push model consumption in JFE
|
|
32
60
|
|
|
33
61
|
## 6.4.4
|
|
34
62
|
|
|
35
63
|
### Patch Changes
|
|
36
64
|
|
|
37
|
-
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
65
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
66
|
+
[`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
|
|
67
|
+
version.json
|
|
38
68
|
|
|
39
69
|
## 6.4.3
|
|
40
70
|
|
|
41
71
|
### Patch Changes
|
|
42
72
|
|
|
43
|
-
- [#33728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33728)
|
|
73
|
+
- [#33728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33728)
|
|
74
|
+
[`48e4a655534`](https://bitbucket.org/atlassian/atlassian-frontend/commits/48e4a655534) - Internal
|
|
75
|
+
change to enforce token usage for spacing properties. There is no expected visual or behaviour
|
|
76
|
+
change.
|
|
44
77
|
|
|
45
78
|
## 6.4.2
|
|
46
79
|
|
|
47
80
|
### Patch Changes
|
|
48
81
|
|
|
49
|
-
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
82
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
83
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
84
|
+
legacy types are published for TS 4.5-4.8
|
|
50
85
|
|
|
51
86
|
## 6.4.1
|
|
52
87
|
|
|
53
88
|
### Patch Changes
|
|
54
89
|
|
|
55
|
-
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
90
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
91
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
92
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
56
93
|
|
|
57
94
|
## 6.4.0
|
|
58
95
|
|
|
59
96
|
### Minor Changes
|
|
60
97
|
|
|
61
|
-
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
98
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
99
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
100
|
+
minor dependency bump
|
|
62
101
|
|
|
63
102
|
### Patch Changes
|
|
64
103
|
|
|
@@ -68,19 +107,26 @@
|
|
|
68
107
|
|
|
69
108
|
### Patch Changes
|
|
70
109
|
|
|
71
|
-
- [#32171](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32171)
|
|
110
|
+
- [#32171](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32171)
|
|
111
|
+
[`daefffa7e1a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/daefffa7e1a) - Migrated
|
|
112
|
+
use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
72
113
|
|
|
73
114
|
## 6.3.7
|
|
74
115
|
|
|
75
116
|
### Patch Changes
|
|
76
117
|
|
|
77
|
-
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
|
|
118
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
|
|
119
|
+
[`ea9ecef219f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea9ecef219f) - Updated
|
|
120
|
+
Icon File Type documentation with new tab structure
|
|
78
121
|
|
|
79
122
|
## 6.3.6
|
|
80
123
|
|
|
81
124
|
### Patch Changes
|
|
82
125
|
|
|
83
|
-
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
|
|
126
|
+
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
|
|
127
|
+
[`d2f7ffb6b78`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2f7ffb6b78) - [ux]
|
|
128
|
+
Updated the fill color of the following file icons to use new colors from the new color palette to
|
|
129
|
+
avoid contrast issue in dark mode:
|
|
84
130
|
|
|
85
131
|
- archive
|
|
86
132
|
- excel-spreadsheet
|
|
@@ -95,90 +141,126 @@
|
|
|
95
141
|
|
|
96
142
|
### Patch Changes
|
|
97
143
|
|
|
98
|
-
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
144
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
145
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
146
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
99
147
|
|
|
100
148
|
## 6.3.4
|
|
101
149
|
|
|
102
150
|
### Patch Changes
|
|
103
151
|
|
|
104
|
-
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
152
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
153
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
154
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
105
155
|
|
|
106
156
|
## 6.3.3
|
|
107
157
|
|
|
108
158
|
### Patch Changes
|
|
109
159
|
|
|
110
|
-
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649)
|
|
160
|
+
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649)
|
|
161
|
+
[`df2bb5891ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df2bb5891ef) - Use
|
|
162
|
+
named export of base icon in all icon-\* glyphs
|
|
111
163
|
|
|
112
164
|
## 6.3.2
|
|
113
165
|
|
|
114
166
|
### Patch Changes
|
|
115
167
|
|
|
116
|
-
- [#10522](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10522)
|
|
168
|
+
- [#10522](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10522)
|
|
169
|
+
[`72ef8bafec9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/72ef8bafec9) - Add
|
|
170
|
+
"./glyph" entry point.
|
|
117
171
|
|
|
118
172
|
## 6.3.1
|
|
119
173
|
|
|
120
174
|
### Patch Changes
|
|
121
175
|
|
|
122
|
-
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510)
|
|
176
|
+
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510)
|
|
177
|
+
[`877e9e0b9f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/877e9e0b9f6) - Icon
|
|
178
|
+
package dependency now uses carat range.
|
|
123
179
|
|
|
124
180
|
## 6.3.0
|
|
125
181
|
|
|
126
182
|
### Minor Changes
|
|
127
183
|
|
|
128
|
-
- [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
|
|
184
|
+
- [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
|
|
185
|
+
[`62968ed79be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62968ed79be) - Icon
|
|
186
|
+
file type now utilises the base icon from `@atlaskit/icon`.
|
|
129
187
|
|
|
130
188
|
### Patch Changes
|
|
131
189
|
|
|
132
|
-
- [`469f36d9629`](https://bitbucket.org/atlassian/atlassian-frontend/commits/469f36d9629) - Icon
|
|
133
|
-
|
|
134
|
-
- [`
|
|
135
|
-
|
|
190
|
+
- [`469f36d9629`](https://bitbucket.org/atlassian/atlassian-frontend/commits/469f36d9629) - Icon
|
|
191
|
+
build tooling has been updated.
|
|
192
|
+
- [`3de10e7652e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3de10e7652e) -
|
|
193
|
+
Documentation updates and fixes to types for all icon packages.
|
|
194
|
+
- [`d98f1bb1169`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d98f1bb1169) - Local
|
|
195
|
+
build tooling improvements.
|
|
196
|
+
- [`3f36b048938`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f36b048938) - The
|
|
197
|
+
color props have been removed from the TypeScript type definitions. The behavior has never worked
|
|
198
|
+
with the glyphs but was included in the type definitions incorrectly.
|
|
136
199
|
- Updated dependencies
|
|
137
200
|
|
|
138
201
|
## 6.2.0
|
|
139
202
|
|
|
140
203
|
### Minor Changes
|
|
141
204
|
|
|
142
|
-
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
|
|
205
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
|
|
206
|
+
[`6967b72747c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6967b72747c) - Icon
|
|
207
|
+
file type now ships with cjs, esm, and es2019 bundles for exported components and utils. Glyphs
|
|
208
|
+
unfortunately aren't included and still only export cjs bundles.
|
|
143
209
|
|
|
144
210
|
### Patch Changes
|
|
145
211
|
|
|
146
|
-
- [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
|
|
147
|
-
|
|
212
|
+
- [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
|
|
213
|
+
injected package name and version for analytics instead of version.json.
|
|
214
|
+
- [`f922302ad53`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f922302ad53) - Icons no
|
|
215
|
+
longer ship with the `focusable` attribute in their glyph exports. This attribute was only
|
|
216
|
+
required for IE11 support. This is purely a build change and has no effect on user API.
|
|
148
217
|
|
|
149
218
|
## 6.1.4
|
|
150
219
|
|
|
151
220
|
### Patch Changes
|
|
152
221
|
|
|
153
|
-
- [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178)
|
|
154
|
-
|
|
222
|
+
- [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178)
|
|
223
|
+
[`0741b1556f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0741b1556f6) - All icon
|
|
224
|
+
glpyhs are now built without inline extends helpers, reducing their bundlesize.
|
|
225
|
+
- [`8d6c79b9055`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d6c79b9055) - Typedefs
|
|
226
|
+
of glyphs have been updated to reflect an API change that occured in version 15. For context,
|
|
227
|
+
`onClick` was removed as a functional prop but it was still supported by the types. This may have
|
|
228
|
+
resulted in a confusing developer experience although the fundamental behaviour has been
|
|
229
|
+
consistent since version 15.
|
|
155
230
|
|
|
156
231
|
## 6.1.3
|
|
157
232
|
|
|
158
233
|
### Patch Changes
|
|
159
234
|
|
|
160
|
-
- [#7425](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7425)
|
|
235
|
+
- [#7425](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7425)
|
|
236
|
+
[`b9f0d16300`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9f0d16300) -
|
|
237
|
+
Re-generated icons using a newer version of the build process
|
|
161
238
|
|
|
162
239
|
## 6.1.2
|
|
163
240
|
|
|
164
241
|
### Patch Changes
|
|
165
242
|
|
|
166
|
-
- [#7589](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7589)
|
|
243
|
+
- [#7589](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7589)
|
|
244
|
+
[`c65f28c058`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c65f28c058) - Change
|
|
245
|
+
codemod to return raw source if it is not transforming a file.
|
|
167
246
|
|
|
168
|
-
Otherwise it would run prettier which can lead to some invalid syntax outputted
|
|
169
|
-
|
|
247
|
+
Otherwise it would run prettier which can lead to some invalid syntax outputted in edge cases.
|
|
248
|
+
This is likely due to an issue in either `codemod-cli` or `jscodeshift`.
|
|
170
249
|
|
|
171
250
|
## 6.1.1
|
|
172
251
|
|
|
173
252
|
### Patch Changes
|
|
174
253
|
|
|
175
|
-
- [#7458](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7458)
|
|
254
|
+
- [#7458](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7458)
|
|
255
|
+
[`8990bf36a9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8990bf36a9) - Add a
|
|
256
|
+
missing codemod for the entrypoint change in 6.1.0
|
|
176
257
|
|
|
177
258
|
***
|
|
178
259
|
|
|
179
260
|
**Running the codemod cli**
|
|
180
261
|
|
|
181
|
-
To run the codemod: **You first need to have the latest version installed before you can run the
|
|
262
|
+
To run the codemod: **You first need to have the latest version installed before you can run the
|
|
263
|
+
codemod**
|
|
182
264
|
|
|
183
265
|
`yarn upgrade @atlaskit/PACKAGE@^VERSION`
|
|
184
266
|
|
|
@@ -186,22 +268,29 @@
|
|
|
186
268
|
|
|
187
269
|
`npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
|
|
188
270
|
|
|
189
|
-
Or run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
190
|
-
|
|
271
|
+
Or run `npx @atlaskit/codemod-cli -h` for more details on usage. For Atlassians, refer to
|
|
272
|
+
[this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details
|
|
273
|
+
on the codemod CLI.
|
|
191
274
|
|
|
192
275
|
## 6.1.0
|
|
193
276
|
|
|
194
277
|
### Minor Changes
|
|
195
278
|
|
|
196
|
-
- [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
|
|
279
|
+
- [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
|
|
280
|
+
[`fbdf356800`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fbdf356800) - Remove
|
|
281
|
+
undocumented metadata export from main entry point. To import metadata instead do it from the
|
|
282
|
+
/metadata entrypoint.
|
|
197
283
|
|
|
198
284
|
## 6.0.6
|
|
199
285
|
|
|
200
286
|
### Patch Changes
|
|
201
287
|
|
|
202
|
-
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
203
|
-
|
|
204
|
-
|
|
288
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
289
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
290
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
291
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
292
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
293
|
+
`devDependencies` to denote version that the package was built with.
|
|
205
294
|
|
|
206
295
|
## 6.0.5
|
|
207
296
|
|
|
@@ -213,35 +302,46 @@
|
|
|
213
302
|
|
|
214
303
|
### Patch Changes
|
|
215
304
|
|
|
216
|
-
- [#4649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4649)
|
|
305
|
+
- [#4649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4649)
|
|
306
|
+
[`d6ff4c7dce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6ff4c7dce) - Removes
|
|
307
|
+
unused (and incorrect) es2019 key in package.json
|
|
217
308
|
|
|
218
309
|
## 6.0.3
|
|
219
310
|
|
|
220
311
|
### Patch Changes
|
|
221
312
|
|
|
222
|
-
- [#4682](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4682)
|
|
313
|
+
- [#4682](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4682)
|
|
314
|
+
[`f51e6ff443`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f51e6ff443) - License
|
|
315
|
+
updated to Apache 2.0 (previously under the ADG license)
|
|
223
316
|
|
|
224
317
|
## 6.0.2
|
|
225
318
|
|
|
226
319
|
### Patch Changes
|
|
227
320
|
|
|
228
|
-
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
321
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
322
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
323
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
229
324
|
|
|
230
|
-
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
231
|
-
to prevent duplicates of tslib being bundled.
|
|
325
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
326
|
+
upgrade to prevent duplicates of tslib being bundled.
|
|
232
327
|
|
|
233
328
|
## 6.0.1
|
|
234
329
|
|
|
235
330
|
### Patch Changes
|
|
236
331
|
|
|
237
|
-
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
332
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
333
|
+
[`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all
|
|
334
|
+
the theme imports to be tree-shakable
|
|
238
335
|
|
|
239
336
|
## 6.0.0
|
|
240
337
|
|
|
241
338
|
### Major Changes
|
|
242
339
|
|
|
243
|
-
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
244
|
-
|
|
340
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
341
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
|
|
342
|
+
dropping IE11 support, from this version onwards there are no warranties of the package working in
|
|
343
|
+
IE11. For more information see:
|
|
344
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
245
345
|
|
|
246
346
|
### Patch Changes
|
|
247
347
|
|
|
@@ -253,13 +353,19 @@
|
|
|
253
353
|
|
|
254
354
|
- [patch][aff1210e19](https://bitbucket.org/atlassian/atlassian-frontend/commits/aff1210e19):
|
|
255
355
|
|
|
256
|
-
Figma file type icon added.- Updated dependencies
|
|
356
|
+
Figma file type icon added.- Updated dependencies
|
|
357
|
+
[168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
|
|
257
358
|
|
|
258
|
-
- Updated dependencies
|
|
259
|
-
|
|
260
|
-
- Updated dependencies
|
|
261
|
-
|
|
262
|
-
- Updated dependencies
|
|
359
|
+
- Updated dependencies
|
|
360
|
+
[f5b654c328](https://bitbucket.org/atlassian/atlassian-frontend/commits/f5b654c328):
|
|
361
|
+
- Updated dependencies
|
|
362
|
+
[0c270847cb](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c270847cb):
|
|
363
|
+
- Updated dependencies
|
|
364
|
+
[109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
|
|
365
|
+
- Updated dependencies
|
|
366
|
+
[b9903e773a](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9903e773a):
|
|
367
|
+
- Updated dependencies
|
|
368
|
+
[89bf723567](https://bitbucket.org/atlassian/atlassian-frontend/commits/89bf723567):
|
|
263
369
|
- @atlaskit/docs@8.5.1
|
|
264
370
|
- @atlaskit/modal-dialog@10.5.6
|
|
265
371
|
- @atlaskit/theme@9.5.3
|
|
@@ -274,9 +380,12 @@
|
|
|
274
380
|
Corrects accessibility behavior for wrapping span. It now will now:
|
|
275
381
|
|
|
276
382
|
- conditionally set the `aria-label` if `label` is defined
|
|
277
|
-
- conditionally set the `role` to either `img` if `label` is defined, or `presentation` if it is
|
|
383
|
+
- conditionally set the `role` to either `img` if `label` is defined, or `presentation` if it is
|
|
384
|
+
not defined- Updated dependencies
|
|
385
|
+
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
|
|
278
386
|
|
|
279
|
-
- Updated dependencies
|
|
387
|
+
- Updated dependencies
|
|
388
|
+
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
|
|
280
389
|
- @atlaskit/docs@8.4.0
|
|
281
390
|
- @atlaskit/button@13.3.9
|
|
282
391
|
- @atlaskit/modal-dialog@10.5.4
|
|
@@ -289,7 +398,8 @@
|
|
|
289
398
|
|
|
290
399
|
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
291
400
|
|
|
292
|
-
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
401
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
402
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
293
403
|
|
|
294
404
|
- @atlaskit/docs@8.3.2
|
|
295
405
|
- @atlaskit/button@13.3.7
|
|
@@ -304,7 +414,8 @@
|
|
|
304
414
|
|
|
305
415
|
- [patch][65c8aab025](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c8aab025):
|
|
306
416
|
|
|
307
|
-
Fix main/module fields in package.json pointing to the wrong place- Updated dependencies
|
|
417
|
+
Fix main/module fields in package.json pointing to the wrong place- Updated dependencies
|
|
418
|
+
[ccbd1b390b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ccbd1b390b):
|
|
308
419
|
|
|
309
420
|
- @atlaskit/build-utils@2.6.0
|
|
310
421
|
|
|
@@ -314,7 +425,8 @@
|
|
|
314
425
|
|
|
315
426
|
- [major][f9b5e24662](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f9b5e24662):
|
|
316
427
|
|
|
317
|
-
@atlaskit/icon-file-type and @atlaskit/icon-object have been converted to TypeScript to provide
|
|
428
|
+
@atlaskit/icon-file-type and @atlaskit/icon-object have been converted to TypeScript to provide
|
|
429
|
+
static typing. Flow types are no longer provided. No API or bahavioural changes.
|
|
318
430
|
|
|
319
431
|
## 4.0.10
|
|
320
432
|
|
|
@@ -330,7 +442,8 @@
|
|
|
330
442
|
|
|
331
443
|
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
332
444
|
|
|
333
|
-
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
445
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
446
|
+
non-relative imports as relative imports
|
|
334
447
|
|
|
335
448
|
## 4.0.8
|
|
336
449
|
|
|
@@ -374,29 +487,34 @@
|
|
|
374
487
|
|
|
375
488
|
## 4.0.3
|
|
376
489
|
|
|
377
|
-
- Updated dependencies
|
|
490
|
+
- Updated dependencies
|
|
491
|
+
[67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
|
|
378
492
|
- @atlaskit/tooltip@15.0.0
|
|
379
493
|
|
|
380
494
|
## 4.0.2
|
|
381
495
|
|
|
382
496
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
383
497
|
|
|
384
|
-
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
498
|
+
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
499
|
+
Request #5942 for details
|
|
385
500
|
|
|
386
501
|
## 4.0.1
|
|
387
502
|
|
|
388
|
-
- Updated dependencies
|
|
503
|
+
- Updated dependencies
|
|
504
|
+
[06c5cccf9d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06c5cccf9d):
|
|
389
505
|
- @atlaskit/modal-dialog@10.0.0
|
|
390
506
|
|
|
391
507
|
## 4.0.0
|
|
392
508
|
|
|
393
509
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
394
510
|
|
|
395
|
-
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
511
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
512
|
+
this package, please ensure you use at least this version of react and react-dom.
|
|
396
513
|
|
|
397
514
|
## 3.0.8
|
|
398
515
|
|
|
399
|
-
- Updated dependencies
|
|
516
|
+
- Updated dependencies
|
|
517
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
400
518
|
- @atlaskit/docs@7.0.3
|
|
401
519
|
- @atlaskit/button@12.0.3
|
|
402
520
|
- @atlaskit/field-text@8.0.3
|
|
@@ -406,7 +524,8 @@
|
|
|
406
524
|
|
|
407
525
|
## 3.0.7
|
|
408
526
|
|
|
409
|
-
- Updated dependencies
|
|
527
|
+
- Updated dependencies
|
|
528
|
+
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
|
|
410
529
|
- @atlaskit/docs@7.0.2
|
|
411
530
|
- @atlaskit/field-text@8.0.2
|
|
412
531
|
- @atlaskit/modal-dialog@8.0.6
|
|
@@ -422,7 +541,8 @@
|
|
|
422
541
|
|
|
423
542
|
## 3.0.5
|
|
424
543
|
|
|
425
|
-
- Updated dependencies
|
|
544
|
+
- Updated dependencies
|
|
545
|
+
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
426
546
|
- @atlaskit/docs@7.0.1
|
|
427
547
|
- @atlaskit/field-text@8.0.1
|
|
428
548
|
- @atlaskit/modal-dialog@8.0.2
|
|
@@ -432,7 +552,8 @@
|
|
|
432
552
|
|
|
433
553
|
## 3.0.4
|
|
434
554
|
|
|
435
|
-
- Updated dependencies
|
|
555
|
+
- Updated dependencies
|
|
556
|
+
[76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
436
557
|
- @atlaskit/button@10.1.3
|
|
437
558
|
- @atlaskit/docs@7.0.0
|
|
438
559
|
- @atlaskit/field-text@8.0.0
|
|
@@ -470,7 +591,8 @@
|
|
|
470
591
|
|
|
471
592
|
- [major][ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c):
|
|
472
593
|
|
|
473
|
-
- Remove onClick props as icon is only a presentational placeholder. Please wrap icon into a
|
|
594
|
+
- Remove onClick props as icon is only a presentational placeholder. Please wrap icon into a
|
|
595
|
+
Button or a Link component.
|
|
474
596
|
|
|
475
597
|
## 2.0.1
|
|
476
598
|
|
|
@@ -488,9 +610,9 @@
|
|
|
488
610
|
|
|
489
611
|
- Simplify the icons build process
|
|
490
612
|
|
|
491
|
-
Icons no longer need a custom `build` step to be accurate on npm. This
|
|
492
|
-
|
|
493
|
-
|
|
613
|
+
Icons no longer need a custom `build` step to be accurate on npm. This has come about by renaming
|
|
614
|
+
the `es5` folder to `cjs`. If you weren't reaching into our package's internals, you shouldn't
|
|
615
|
+
notice.
|
|
494
616
|
|
|
495
617
|
- [major][80304f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80304f0):
|
|
496
618
|
|
|
@@ -498,9 +620,9 @@
|
|
|
498
620
|
|
|
499
621
|
- Rename `iconsInfo` to `metadata` to more accurately reflect its role
|
|
500
622
|
|
|
501
|
-
This change comes with rethinking what is exported from this object,
|
|
502
|
-
|
|
503
|
-
|
|
623
|
+
This change comes with rethinking what is exported from this object, which no longer includes
|
|
624
|
+
copies of the icons. If you need to rely on the metadata to get the packages, each should be
|
|
625
|
+
required by your own code.
|
|
504
626
|
|
|
505
627
|
The `icon-explorer` has an example of how to do this.
|
|
506
628
|
|
|
@@ -509,20 +631,25 @@
|
|
|
509
631
|
|
|
510
632
|
## 1.0.4
|
|
511
633
|
|
|
512
|
-
- [patch] Update to use babel-7 for build processes
|
|
634
|
+
- [patch] Update to use babel-7 for build processes
|
|
635
|
+
[e7bb74d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7bb74d)
|
|
513
636
|
|
|
514
637
|
## 1.0.3
|
|
515
638
|
|
|
516
|
-
- [patch] Adds missing implicit @babel/runtime dependency
|
|
639
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
640
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
517
641
|
|
|
518
642
|
## 1.0.2
|
|
519
643
|
|
|
520
|
-
- [patch] Publish utils folder
|
|
644
|
+
- [patch] Publish utils folder
|
|
645
|
+
[272208b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/272208b)
|
|
521
646
|
|
|
522
647
|
## 1.0.1
|
|
523
648
|
|
|
524
|
-
- [patch] icon-file-type and icon-object publish glyphs, svgs, and es5 instead of just dist
|
|
649
|
+
- [patch] icon-file-type and icon-object publish glyphs, svgs, and es5 instead of just dist
|
|
650
|
+
[0823d35](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0823d35)
|
|
525
651
|
|
|
526
652
|
## 1.0.0
|
|
527
653
|
|
|
528
|
-
- [major] Release icon-object and icon-file-type
|
|
654
|
+
- [major] Release icon-object and icon-file-type
|
|
655
|
+
[709b239](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/709b239)
|
|
@@ -1,35 +1,14 @@
|
|
|
1
1
|
import { getExampleUrl, loadPage } from '@atlaskit/visual-regression/helper';
|
|
2
2
|
|
|
3
3
|
describe('icon file type snapshots', () => {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
'media',
|
|
8
|
-
'icon-file-type',
|
|
9
|
-
'icon-examples',
|
|
10
|
-
__BASEURL__,
|
|
11
|
-
);
|
|
4
|
+
it('should match light mode icons', async () => {
|
|
5
|
+
const { __BASEURL__, page } = global as any;
|
|
6
|
+
const url = getExampleUrl('media', 'icon-file-type', 'icon-examples', __BASEURL__);
|
|
12
7
|
|
|
13
|
-
|
|
8
|
+
await loadPage(page, url);
|
|
14
9
|
|
|
15
|
-
|
|
10
|
+
const element = await page.$('[data-testid="light-root"]');
|
|
16
11
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
it('should match dark mode icons', async () => {
|
|
21
|
-
const { __BASEURL__, page } = global as any;
|
|
22
|
-
const url = getExampleUrl(
|
|
23
|
-
'media',
|
|
24
|
-
'icon-file-type',
|
|
25
|
-
'icon-examples',
|
|
26
|
-
__BASEURL__,
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
await loadPage(page, url);
|
|
30
|
-
|
|
31
|
-
const element = await page.$('[data-testid="dark-root"]');
|
|
32
|
-
|
|
33
|
-
expect(await element?.screenshot()).toMatchProdImageSnapshot();
|
|
34
|
-
});
|
|
12
|
+
expect(await element?.screenshot()).toMatchProdImageSnapshot();
|
|
13
|
+
});
|
|
35
14
|
});
|