@atlaskit/icon 29.0.2 → 29.2.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 +24 -0
- package/afm-cc/tsconfig.json +2 -1
- package/afm-jira/tsconfig.json +2 -1
- package/afm-products/tsconfig.json +2 -1
- package/dist/cjs/components/icon-tile/icon-tile-new.js +1 -1
- package/dist/cjs/components/icon-tile/index.js +2 -2
- package/dist/es2019/components/icon-tile/icon-tile-new.js +1 -1
- package/dist/es2019/components/icon-tile/index.js +2 -2
- package/dist/esm/components/icon-tile/icon-tile-new.js +1 -1
- package/dist/esm/components/icon-tile/index.js +2 -2
- package/package.json +17 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @atlaskit/icon
|
|
2
2
|
|
|
3
|
+
## 29.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`762b79e21f96a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/762b79e21f96a) -
|
|
8
|
+
Migrated and cleaned up legacy iconography usage.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 29.1.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- [`7df690ca5c497`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7df690ca5c497) -
|
|
19
|
+
We are expanding the testing of previous changes behind an additional feature flag to more apps.
|
|
20
|
+
If this change is successful, it will be available in a later release.
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- [`7df690ca5c497`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7df690ca5c497) -
|
|
25
|
+
Fixes a bug with the unreleased icon tile versions being dual-labelled.
|
|
26
|
+
|
|
3
27
|
## 29.0.2
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
package/afm-jira/tsconfig.json
CHANGED
|
@@ -52,10 +52,10 @@ function IconTile(_ref) {
|
|
|
52
52
|
if (LEGACY_fallbackComponent && !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons')) {
|
|
53
53
|
return LEGACY_fallbackComponent;
|
|
54
54
|
}
|
|
55
|
-
if (UNSAFE_circleReplacementComponent && shape === 'circle' && (0, _platformFeatureFlags.fg)('platform_dst_icon_tile_circle_replacement')) {
|
|
55
|
+
if (UNSAFE_circleReplacementComponent && shape === 'circle' && ((0, _platformFeatureFlags.fg)('platform_dst_icon_tile_circle_replacement') || (0, _platformFeatureFlags.fg)('platform_dst_icon_tile_circle_replacement_stage2'))) {
|
|
56
56
|
return UNSAFE_circleReplacementComponent;
|
|
57
57
|
}
|
|
58
|
-
if (shape !== 'circle' && (0, _platformFeatureFlags.fg)('platform_dst_new_icon_tile')) {
|
|
58
|
+
if (shape !== 'circle' && ((0, _platformFeatureFlags.fg)('platform_dst_new_icon_tile') || (0, _platformFeatureFlags.fg)('platform_dst_new_icon_tile_stage2'))) {
|
|
59
59
|
// Handle size 16 - render icon directly without Tile
|
|
60
60
|
if (size === '16') {
|
|
61
61
|
return /*#__PURE__*/_react.default.createElement(Icon, {
|
|
@@ -46,10 +46,10 @@ export default function IconTile({
|
|
|
46
46
|
if (LEGACY_fallbackComponent && !fg('platform-visual-refresh-icons')) {
|
|
47
47
|
return LEGACY_fallbackComponent;
|
|
48
48
|
}
|
|
49
|
-
if (UNSAFE_circleReplacementComponent && shape === 'circle' && fg('platform_dst_icon_tile_circle_replacement')) {
|
|
49
|
+
if (UNSAFE_circleReplacementComponent && shape === 'circle' && (fg('platform_dst_icon_tile_circle_replacement') || fg('platform_dst_icon_tile_circle_replacement_stage2'))) {
|
|
50
50
|
return UNSAFE_circleReplacementComponent;
|
|
51
51
|
}
|
|
52
|
-
if (shape !== 'circle' && fg('platform_dst_new_icon_tile')) {
|
|
52
|
+
if (shape !== 'circle' && (fg('platform_dst_new_icon_tile') || fg('platform_dst_new_icon_tile_stage2'))) {
|
|
53
53
|
// Handle size 16 - render icon directly without Tile
|
|
54
54
|
if (size === '16') {
|
|
55
55
|
return /*#__PURE__*/React.createElement(Icon, {
|
|
@@ -45,10 +45,10 @@ export default function IconTile(_ref) {
|
|
|
45
45
|
if (LEGACY_fallbackComponent && !fg('platform-visual-refresh-icons')) {
|
|
46
46
|
return LEGACY_fallbackComponent;
|
|
47
47
|
}
|
|
48
|
-
if (UNSAFE_circleReplacementComponent && shape === 'circle' && fg('platform_dst_icon_tile_circle_replacement')) {
|
|
48
|
+
if (UNSAFE_circleReplacementComponent && shape === 'circle' && (fg('platform_dst_icon_tile_circle_replacement') || fg('platform_dst_icon_tile_circle_replacement_stage2'))) {
|
|
49
49
|
return UNSAFE_circleReplacementComponent;
|
|
50
50
|
}
|
|
51
|
-
if (shape !== 'circle' && fg('platform_dst_new_icon_tile')) {
|
|
51
|
+
if (shape !== 'circle' && (fg('platform_dst_new_icon_tile') || fg('platform_dst_new_icon_tile_stage2'))) {
|
|
52
52
|
// Handle size 16 - render icon directly without Tile
|
|
53
53
|
if (size === '16') {
|
|
54
54
|
return /*#__PURE__*/React.createElement(Icon, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon",
|
|
3
|
-
"version": "29.0
|
|
3
|
+
"version": "29.2.0",
|
|
4
4
|
"description": "An icon is a symbol representing a command, device, directory, or common action.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
76
76
|
"@atlaskit/tile": "^1.0.0",
|
|
77
|
-
"@atlaskit/tokens": "^8.
|
|
77
|
+
"@atlaskit/tokens": "^8.6.0",
|
|
78
78
|
"@babel/runtime": "^7.0.0",
|
|
79
79
|
"@compiled/react": "^0.18.6"
|
|
80
80
|
},
|
|
@@ -86,23 +86,23 @@
|
|
|
86
86
|
"@af/icon-build-process": "workspace:^",
|
|
87
87
|
"@af/integration-testing": "workspace:^",
|
|
88
88
|
"@af/visual-regression": "workspace:^",
|
|
89
|
-
"@atlaskit/button": "^23.
|
|
90
|
-
"@atlaskit/code": "^17.
|
|
91
|
-
"@atlaskit/css": "^0.
|
|
89
|
+
"@atlaskit/button": "^23.8.0",
|
|
90
|
+
"@atlaskit/code": "^17.4.0",
|
|
91
|
+
"@atlaskit/css": "^0.18.0",
|
|
92
92
|
"@atlaskit/docs": "^11.2.0",
|
|
93
|
-
"@atlaskit/form": "^
|
|
93
|
+
"@atlaskit/form": "^15.0.0",
|
|
94
94
|
"@atlaskit/heading": "^5.2.0",
|
|
95
95
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
96
|
-
"@atlaskit/icon-object": "^7.
|
|
96
|
+
"@atlaskit/icon-object": "^7.4.0",
|
|
97
97
|
"@atlaskit/link": "^3.2.0",
|
|
98
98
|
"@atlaskit/logo": "^19.9.0",
|
|
99
99
|
"@atlaskit/menu": "^8.4.0",
|
|
100
|
-
"@atlaskit/modal-dialog": "^14.
|
|
100
|
+
"@atlaskit/modal-dialog": "^14.9.0",
|
|
101
101
|
"@atlaskit/primitives": "^16.4.0",
|
|
102
|
-
"@atlaskit/section-message": "^8.
|
|
103
|
-
"@atlaskit/textfield": "^8.
|
|
102
|
+
"@atlaskit/section-message": "^8.11.0",
|
|
103
|
+
"@atlaskit/textfield": "^8.2.0",
|
|
104
104
|
"@atlaskit/theme": "^21.0.0",
|
|
105
|
-
"@atlaskit/toggle": "^15.
|
|
105
|
+
"@atlaskit/toggle": "^15.2.0",
|
|
106
106
|
"@atlaskit/tooltip": "^20.11.0",
|
|
107
107
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
108
108
|
"@atlassian/ssr-tests": "workspace:^",
|
|
@@ -172,8 +172,14 @@
|
|
|
172
172
|
"platform_dst_new_icon_tile": {
|
|
173
173
|
"type": "boolean"
|
|
174
174
|
},
|
|
175
|
+
"platform_dst_new_icon_tile_stage2": {
|
|
176
|
+
"type": "boolean"
|
|
177
|
+
},
|
|
175
178
|
"platform_dst_icon_tile_circle_replacement": {
|
|
176
179
|
"type": "boolean"
|
|
180
|
+
},
|
|
181
|
+
"platform_dst_icon_tile_circle_replacement_stage2": {
|
|
182
|
+
"type": "boolean"
|
|
177
183
|
}
|
|
178
184
|
}
|
|
179
185
|
}
|