@atlaskit/smart-card 19.0.4 → 19.1.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 +11 -0
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +13 -2
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/view/FlexibleCard/components/common/atlaskit-icon/index.js +13 -2
- package/dist/esm/version.json +1 -1
- package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/index.js +13 -2
- package/package.json +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 19.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`6b7ba46a96b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b7ba46a96b) - [MEX-1456] Remove unused infinite scroll from Media-UI and Remove lodash from Media package
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [`7c926026ca3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c926026ca3) - Adds testId to FlexibleCard test.
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 19.0.4
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/dist/cjs/version.json
CHANGED
|
@@ -311,11 +311,22 @@ var AtlaskitIcon = function AtlaskitIcon(_ref3) {
|
|
|
311
311
|
|
|
312
312
|
switch (icon) {
|
|
313
313
|
case _constants.IconType.Confluence:
|
|
314
|
+
return /*#__PURE__*/_react.default.createElement(ImportedIcon, {
|
|
315
|
+
testId: testId,
|
|
316
|
+
textColor: (0, _tokens.token)('color.text.subtle', _colors.N700)
|
|
317
|
+
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
318
|
+
,
|
|
319
|
+
iconColor: _colors.B200,
|
|
320
|
+
iconGradientStart: _colors.B400,
|
|
321
|
+
iconGradientStop: _colors.B200
|
|
322
|
+
/* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
|
|
323
|
+
|
|
324
|
+
});
|
|
325
|
+
|
|
314
326
|
case _constants.IconType.Jira:
|
|
315
327
|
// Logo component has a different prop set from other icon components
|
|
316
328
|
return /*#__PURE__*/_react.default.createElement(ImportedIcon, {
|
|
317
|
-
|
|
318
|
-
,
|
|
329
|
+
testId: testId,
|
|
319
330
|
textColor: (0, _tokens.token)('color.text.subtle', _colors.N700)
|
|
320
331
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
321
332
|
,
|
package/dist/es2019/version.json
CHANGED
|
@@ -224,11 +224,22 @@ const AtlaskitIcon = ({
|
|
|
224
224
|
|
|
225
225
|
switch (icon) {
|
|
226
226
|
case IconType.Confluence:
|
|
227
|
+
return /*#__PURE__*/React.createElement(ImportedIcon, {
|
|
228
|
+
testId: testId,
|
|
229
|
+
textColor: token('color.text.subtle', N700)
|
|
230
|
+
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
231
|
+
,
|
|
232
|
+
iconColor: B200,
|
|
233
|
+
iconGradientStart: B400,
|
|
234
|
+
iconGradientStop: B200
|
|
235
|
+
/* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
|
|
236
|
+
|
|
237
|
+
});
|
|
238
|
+
|
|
227
239
|
case IconType.Jira:
|
|
228
240
|
// Logo component has a different prop set from other icon components
|
|
229
241
|
return /*#__PURE__*/React.createElement(ImportedIcon, {
|
|
230
|
-
|
|
231
|
-
,
|
|
242
|
+
testId: testId,
|
|
232
243
|
textColor: token('color.text.subtle', N700)
|
|
233
244
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
234
245
|
,
|
package/dist/esm/version.json
CHANGED
|
@@ -291,11 +291,22 @@ var AtlaskitIcon = function AtlaskitIcon(_ref3) {
|
|
|
291
291
|
|
|
292
292
|
switch (icon) {
|
|
293
293
|
case IconType.Confluence:
|
|
294
|
+
return /*#__PURE__*/React.createElement(ImportedIcon, {
|
|
295
|
+
testId: testId,
|
|
296
|
+
textColor: token('color.text.subtle', N700)
|
|
297
|
+
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
298
|
+
,
|
|
299
|
+
iconColor: B200,
|
|
300
|
+
iconGradientStart: B400,
|
|
301
|
+
iconGradientStop: B200
|
|
302
|
+
/* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
|
|
303
|
+
|
|
304
|
+
});
|
|
305
|
+
|
|
294
306
|
case IconType.Jira:
|
|
295
307
|
// Logo component has a different prop set from other icon components
|
|
296
308
|
return /*#__PURE__*/React.createElement(ImportedIcon, {
|
|
297
|
-
|
|
298
|
-
,
|
|
309
|
+
testId: testId,
|
|
299
310
|
textColor: token('color.text.subtle', N700)
|
|
300
311
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
301
312
|
,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "19.0
|
|
3
|
+
"version": "19.1.0",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"@atlaskit/icon-priority": "^6.3.0",
|
|
35
35
|
"@atlaskit/in-product-testing": "^0.1.0",
|
|
36
36
|
"@atlaskit/linking-common": "^1.1.0",
|
|
37
|
-
"@atlaskit/logo": "^13.
|
|
37
|
+
"@atlaskit/logo": "^13.6.0",
|
|
38
38
|
"@atlaskit/lozenge": "^11.1.0",
|
|
39
|
-
"@atlaskit/media-common": "^2.
|
|
40
|
-
"@atlaskit/media-ui": "^
|
|
39
|
+
"@atlaskit/media-common": "^2.13.0",
|
|
40
|
+
"@atlaskit/media-ui": "^22.0.0",
|
|
41
41
|
"@atlaskit/modal-dialog": "^12.2.0",
|
|
42
42
|
"@atlaskit/outbound-auth-flow-client": "^3.3.0",
|
|
43
43
|
"@atlaskit/popup": "^1.3.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@atlaskit/inline-message": "^11.2.0",
|
|
75
75
|
"@atlaskit/lozenge": "^11.1.0",
|
|
76
76
|
"@atlaskit/media-integration-test-helpers": "^2.6.0",
|
|
77
|
-
"@atlaskit/media-test-helpers": "^
|
|
77
|
+
"@atlaskit/media-test-helpers": "^30.0.0",
|
|
78
78
|
"@atlaskit/page": "^12.1.0",
|
|
79
79
|
"@atlaskit/radio": "^5.3.0",
|
|
80
80
|
"@atlaskit/range": "^6.0.0",
|
|
@@ -90,7 +90,6 @@
|
|
|
90
90
|
"@testing-library/react-hooks": "^1.0.4",
|
|
91
91
|
"@testing-library/user-event": "10.4.0",
|
|
92
92
|
"@types/enzyme": "^3.1.15",
|
|
93
|
-
"@types/lodash": "^4.14.157",
|
|
94
93
|
"@types/lorem-ipsum": "^1.0.2",
|
|
95
94
|
"@types/react": "^16.8.0",
|
|
96
95
|
"@types/react-loadable": "^5.4.1",
|