@atlaskit/smart-card 43.19.0 → 43.20.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/utils/analytics/analytics.js +1 -1
- package/dist/cjs/utils/index.js +16 -16
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +0 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.js +0 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +0 -2
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/utils/index.js +16 -16
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +0 -2
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.js +1 -3
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +0 -2
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/utils/index.js +16 -16
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +0 -2
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.js +1 -3
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +0 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 43.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`87b12e64ff750`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87b12e64ff750) -
|
|
8
|
+
Removed usages of LEGACY icon props
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 43.19.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
|
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
11
11
|
var context = exports.context = {
|
|
12
12
|
componentName: 'smart-cards',
|
|
13
13
|
packageName: "@atlaskit/smart-card",
|
|
14
|
-
packageVersion: "43.
|
|
14
|
+
packageVersion: "43.20.0"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
package/dist/cjs/utils/index.js
CHANGED
|
@@ -143,31 +143,31 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
|
|
|
143
143
|
}), _constants.IconType.Project, {
|
|
144
144
|
default: function _default() {
|
|
145
145
|
return Promise.resolve().then(function () {
|
|
146
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphProject" */'@atlaskit/icon/core/
|
|
146
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphProject" */'@atlaskit/icon/core/people-group'));
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
149
|
}), _constants.IconType.Template, {
|
|
150
150
|
default: function _default() {
|
|
151
151
|
return Promise.resolve().then(function () {
|
|
152
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphTemplate" */'@atlaskit/icon/core/
|
|
152
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphTemplate" */'@atlaskit/icon/core/file'));
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
155
|
}), _constants.IconType.Forbidden, {
|
|
156
156
|
default: function _default() {
|
|
157
157
|
return Promise.resolve().then(function () {
|
|
158
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphForbidden" */'@atlaskit/icon/core/
|
|
158
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphForbidden" */'@atlaskit/icon/core/lock-locked'));
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
}), _constants.IconType.Default, {
|
|
162
162
|
default: function _default() {
|
|
163
163
|
return Promise.resolve().then(function () {
|
|
164
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/
|
|
164
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/link'));
|
|
165
165
|
});
|
|
166
166
|
}
|
|
167
167
|
}), _constants.IconType.Error, {
|
|
168
168
|
default: function _default() {
|
|
169
169
|
return Promise.resolve().then(function () {
|
|
170
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/
|
|
170
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/status-error'));
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
173
|
}), _constants.IconType.Archive, {
|
|
@@ -481,43 +481,43 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
|
|
|
481
481
|
}), _constants.IconType.Attachment, {
|
|
482
482
|
default: function _default() {
|
|
483
483
|
return Promise.resolve().then(function () {
|
|
484
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/
|
|
484
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/attachment'));
|
|
485
485
|
});
|
|
486
486
|
}
|
|
487
487
|
}), _constants.IconType.CheckItem, {
|
|
488
488
|
default: function _default() {
|
|
489
489
|
return Promise.resolve().then(function () {
|
|
490
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/
|
|
490
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/task'));
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
}), _constants.IconType.Component, {
|
|
494
494
|
default: function _default() {
|
|
495
495
|
return Promise.resolve().then(function () {
|
|
496
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphComponent" */'@atlaskit/icon/core/
|
|
496
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphComponent" */'@atlaskit/icon/core/component'));
|
|
497
497
|
});
|
|
498
498
|
}
|
|
499
499
|
}), _constants.IconType.Comment, {
|
|
500
500
|
default: function _default() {
|
|
501
501
|
return Promise.resolve().then(function () {
|
|
502
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/
|
|
502
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/comment'));
|
|
503
503
|
});
|
|
504
504
|
}
|
|
505
505
|
}), _constants.IconType.View, {
|
|
506
506
|
default: function _default() {
|
|
507
507
|
return Promise.resolve().then(function () {
|
|
508
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/
|
|
508
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/eye-open'));
|
|
509
509
|
});
|
|
510
510
|
}
|
|
511
511
|
}), _constants.IconType.React, {
|
|
512
512
|
default: function _default() {
|
|
513
513
|
return Promise.resolve().then(function () {
|
|
514
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/
|
|
514
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/thumbs-up'));
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
517
|
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref3, _constants.IconType.Vote, {
|
|
518
518
|
default: function _default() {
|
|
519
519
|
return Promise.resolve().then(function () {
|
|
520
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/
|
|
520
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/arrow-up'));
|
|
521
521
|
});
|
|
522
522
|
}
|
|
523
523
|
}), _constants.IconType.PriorityBlocker, {
|
|
@@ -583,25 +583,25 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
|
|
|
583
583
|
}), _constants.IconType.PriorityUndefined, {
|
|
584
584
|
default: function _default() {
|
|
585
585
|
return Promise.resolve().then(function () {
|
|
586
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphUndefined" */'@atlaskit/icon/core/
|
|
586
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphUndefined" */'@atlaskit/icon/core/question-circle'));
|
|
587
587
|
});
|
|
588
588
|
}
|
|
589
589
|
}), _constants.IconType.ProgrammingLanguage, {
|
|
590
590
|
default: function _default() {
|
|
591
591
|
return Promise.resolve().then(function () {
|
|
592
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphProgrammingLanguage" */'@atlaskit/icon/core/
|
|
592
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphProgrammingLanguage" */'@atlaskit/icon/core/angle-brackets'));
|
|
593
593
|
});
|
|
594
594
|
}
|
|
595
595
|
}), _constants.IconType.Subscriber, {
|
|
596
596
|
default: function _default() {
|
|
597
597
|
return Promise.resolve().then(function () {
|
|
598
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphSubscriber" */'@atlaskit/icon/core/
|
|
598
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphSubscriber" */'@atlaskit/icon/core/people-group'));
|
|
599
599
|
});
|
|
600
600
|
}
|
|
601
601
|
}), _constants.IconType.SubTasksProgress, {
|
|
602
602
|
default: function _default() {
|
|
603
603
|
return Promise.resolve().then(function () {
|
|
604
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphSubtaskProgress" */'@atlaskit/icon/core/
|
|
604
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphSubtaskProgress" */'@atlaskit/icon/core/subtasks'));
|
|
605
605
|
});
|
|
606
606
|
}
|
|
607
607
|
});
|
|
@@ -26,9 +26,7 @@ var getIcon = function getIcon(appearance) {
|
|
|
26
26
|
color: "var(--ds-icon-danger, #C9372C)",
|
|
27
27
|
spacing: "compact",
|
|
28
28
|
label: "Error",
|
|
29
|
-
LEGACY_size: "small",
|
|
30
29
|
testId: "action-error-icon",
|
|
31
|
-
LEGACY_margin: "0 ".concat("var(--ds-space-negative-025, -2px)"),
|
|
32
30
|
size: "small"
|
|
33
31
|
});
|
|
34
32
|
default:
|
|
@@ -54,9 +54,7 @@ var LozengeActionError = function LozengeActionError(_ref) {
|
|
|
54
54
|
className: (0, _runtime.ax)([styles.contentStyles])
|
|
55
55
|
}, /*#__PURE__*/React.createElement(_statusError.default, {
|
|
56
56
|
testId: "".concat(testId, "-icon"),
|
|
57
|
-
LEGACY_size: "medium",
|
|
58
57
|
color: "var(--ds-icon-danger, ".concat(_colors.R500, ")"),
|
|
59
|
-
LEGACY_secondaryColor: "var(--ds-background-danger, ".concat(_colors.R50, ")"),
|
|
60
58
|
label: 'error',
|
|
61
59
|
spacing: "spacious"
|
|
62
60
|
}), /*#__PURE__*/React.createElement("span", {
|
|
@@ -104,8 +104,6 @@ var LozengeActionTrigger = function LozengeActionTrigger(_ref) {
|
|
|
104
104
|
}, /*#__PURE__*/React.createElement(_chevronDown.default, {
|
|
105
105
|
color: "currentColor",
|
|
106
106
|
label: "options",
|
|
107
|
-
LEGACY_size: "medium",
|
|
108
|
-
LEGACY_margin: "-4px -8px -4px -7px",
|
|
109
107
|
size: "small",
|
|
110
108
|
"aria-hidden": true
|
|
111
109
|
})))));
|
|
@@ -22,7 +22,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
22
22
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
23
23
|
var PACKAGE_DATA = {
|
|
24
24
|
packageName: "@atlaskit/smart-card",
|
|
25
|
-
packageVersion: "43.
|
|
25
|
+
packageVersion: "43.20.0",
|
|
26
26
|
componentName: 'linkUrl'
|
|
27
27
|
};
|
|
28
28
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
2
2
|
export const context = {
|
|
3
3
|
componentName: 'smart-cards',
|
|
4
4
|
packageName: "@atlaskit/smart-card",
|
|
5
|
-
packageVersion: "43.
|
|
5
|
+
packageVersion: "43.20.0"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -81,19 +81,19 @@ export const getLazyIcons = () => {
|
|
|
81
81
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon')
|
|
82
82
|
},
|
|
83
83
|
[IconType.Project]: {
|
|
84
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphProject" */'@atlaskit/icon/core/
|
|
84
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphProject" */'@atlaskit/icon/core/people-group')
|
|
85
85
|
},
|
|
86
86
|
[IconType.Template]: {
|
|
87
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphTemplate" */'@atlaskit/icon/core/
|
|
87
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphTemplate" */'@atlaskit/icon/core/file')
|
|
88
88
|
},
|
|
89
89
|
[IconType.Forbidden]: {
|
|
90
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphForbidden" */'@atlaskit/icon/core/
|
|
90
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphForbidden" */'@atlaskit/icon/core/lock-locked')
|
|
91
91
|
},
|
|
92
92
|
[IconType.Default]: {
|
|
93
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/
|
|
93
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/link')
|
|
94
94
|
},
|
|
95
95
|
[IconType.Error]: {
|
|
96
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/
|
|
96
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/status-error')
|
|
97
97
|
},
|
|
98
98
|
[IconType.Archive]: {
|
|
99
99
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphArchive" */'@atlaskit/icon-file-type/glyph/archive/16'),
|
|
@@ -219,25 +219,25 @@ export const getLazyIcons = () => {
|
|
|
219
219
|
},
|
|
220
220
|
// Badge icons
|
|
221
221
|
[IconType.Attachment]: {
|
|
222
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/
|
|
222
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/attachment')
|
|
223
223
|
},
|
|
224
224
|
[IconType.CheckItem]: {
|
|
225
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/
|
|
225
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/task')
|
|
226
226
|
},
|
|
227
227
|
[IconType.Component]: {
|
|
228
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComponent" */'@atlaskit/icon/core/
|
|
228
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComponent" */'@atlaskit/icon/core/component')
|
|
229
229
|
},
|
|
230
230
|
[IconType.Comment]: {
|
|
231
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/
|
|
231
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/comment')
|
|
232
232
|
},
|
|
233
233
|
[IconType.View]: {
|
|
234
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/
|
|
234
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/eye-open')
|
|
235
235
|
},
|
|
236
236
|
[IconType.React]: {
|
|
237
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/
|
|
237
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/thumbs-up')
|
|
238
238
|
},
|
|
239
239
|
[IconType.Vote]: {
|
|
240
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/
|
|
240
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/arrow-up')
|
|
241
241
|
},
|
|
242
242
|
[IconType.PriorityBlocker]: {
|
|
243
243
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphBlocker" */'@atlaskit/icon-priority/glyph/priority-blocker')
|
|
@@ -270,16 +270,16 @@ export const getLazyIcons = () => {
|
|
|
270
270
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphTrivial" */'@atlaskit/icon-priority/glyph/priority-trivial')
|
|
271
271
|
},
|
|
272
272
|
[IconType.PriorityUndefined]: {
|
|
273
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphUndefined" */'@atlaskit/icon/core/
|
|
273
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphUndefined" */'@atlaskit/icon/core/question-circle')
|
|
274
274
|
},
|
|
275
275
|
[IconType.ProgrammingLanguage]: {
|
|
276
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphProgrammingLanguage" */'@atlaskit/icon/core/
|
|
276
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphProgrammingLanguage" */'@atlaskit/icon/core/angle-brackets')
|
|
277
277
|
},
|
|
278
278
|
[IconType.Subscriber]: {
|
|
279
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphSubscriber" */'@atlaskit/icon/core/
|
|
279
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphSubscriber" */'@atlaskit/icon/core/people-group')
|
|
280
280
|
},
|
|
281
281
|
[IconType.SubTasksProgress]: {
|
|
282
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphSubtaskProgress" */'@atlaskit/icon/core/
|
|
282
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphSubtaskProgress" */'@atlaskit/icon/core/subtasks')
|
|
283
283
|
}
|
|
284
284
|
};
|
|
285
285
|
};
|
|
@@ -17,9 +17,7 @@ const getIcon = appearance => {
|
|
|
17
17
|
color: "var(--ds-icon-danger, #C9372C)",
|
|
18
18
|
spacing: "compact",
|
|
19
19
|
label: "Error",
|
|
20
|
-
LEGACY_size: "small",
|
|
21
20
|
testId: "action-error-icon",
|
|
22
|
-
LEGACY_margin: `0 ${"var(--ds-space-negative-025, -2px)"}`,
|
|
23
21
|
size: "small"
|
|
24
22
|
});
|
|
25
23
|
default:
|
|
@@ -8,7 +8,7 @@ import { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
|
8
8
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
10
|
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
11
|
-
import { N800,
|
|
11
|
+
import { N800, R500 } from '@atlaskit/theme/colors';
|
|
12
12
|
import { useAnalyticsEvents } from '../../../../../../../../common/analytics/generated/use-analytics-events';
|
|
13
13
|
import { messages } from '../../../../../../../../messages';
|
|
14
14
|
import useInvokeClientAction from '../../../../../../../../state/hooks/use-invoke-client-action';
|
|
@@ -46,9 +46,7 @@ const LozengeActionError = ({
|
|
|
46
46
|
className: ax([styles.contentStyles])
|
|
47
47
|
}, /*#__PURE__*/React.createElement(ErrorIcon, {
|
|
48
48
|
testId: `${testId}-icon`,
|
|
49
|
-
LEGACY_size: "medium",
|
|
50
49
|
color: `var(--ds-icon-danger, ${R500})`,
|
|
51
|
-
LEGACY_secondaryColor: `var(--ds-background-danger, ${R50})`,
|
|
52
50
|
label: 'error',
|
|
53
51
|
spacing: "spacious"
|
|
54
52
|
}), /*#__PURE__*/React.createElement("span", {
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
const PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "43.
|
|
15
|
+
packageVersion: "43.20.0",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
const Anchor = withLinkClickedEvent('a');
|
|
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export var context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card",
|
|
7
|
-
packageVersion: "43.
|
|
7
|
+
packageVersion: "43.20.0"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
package/dist/esm/utils/index.js
CHANGED
|
@@ -111,23 +111,23 @@ export var getLazyIcons = function getLazyIcons() {
|
|
|
111
111
|
}
|
|
112
112
|
}), IconType.Project, {
|
|
113
113
|
default: function _default() {
|
|
114
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphProject" */'@atlaskit/icon/core/
|
|
114
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphProject" */'@atlaskit/icon/core/people-group');
|
|
115
115
|
}
|
|
116
116
|
}), IconType.Template, {
|
|
117
117
|
default: function _default() {
|
|
118
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphTemplate" */'@atlaskit/icon/core/
|
|
118
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphTemplate" */'@atlaskit/icon/core/file');
|
|
119
119
|
}
|
|
120
120
|
}), IconType.Forbidden, {
|
|
121
121
|
default: function _default() {
|
|
122
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphForbidden" */'@atlaskit/icon/core/
|
|
122
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphForbidden" */'@atlaskit/icon/core/lock-locked');
|
|
123
123
|
}
|
|
124
124
|
}), IconType.Default, {
|
|
125
125
|
default: function _default() {
|
|
126
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/
|
|
126
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/link');
|
|
127
127
|
}
|
|
128
128
|
}), IconType.Error, {
|
|
129
129
|
default: function _default() {
|
|
130
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/
|
|
130
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/status-error');
|
|
131
131
|
}
|
|
132
132
|
}), IconType.Archive, {
|
|
133
133
|
default: function _default() {
|
|
@@ -331,31 +331,31 @@ export var getLazyIcons = function getLazyIcons() {
|
|
|
331
331
|
}
|
|
332
332
|
}), IconType.Attachment, {
|
|
333
333
|
default: function _default() {
|
|
334
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/
|
|
334
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/attachment');
|
|
335
335
|
}
|
|
336
336
|
}), IconType.CheckItem, {
|
|
337
337
|
default: function _default() {
|
|
338
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/
|
|
338
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/task');
|
|
339
339
|
}
|
|
340
340
|
}), IconType.Component, {
|
|
341
341
|
default: function _default() {
|
|
342
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphComponent" */'@atlaskit/icon/core/
|
|
342
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphComponent" */'@atlaskit/icon/core/component');
|
|
343
343
|
}
|
|
344
344
|
}), IconType.Comment, {
|
|
345
345
|
default: function _default() {
|
|
346
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/
|
|
346
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/comment');
|
|
347
347
|
}
|
|
348
348
|
}), IconType.View, {
|
|
349
349
|
default: function _default() {
|
|
350
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/
|
|
350
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/eye-open');
|
|
351
351
|
}
|
|
352
352
|
}), IconType.React, {
|
|
353
353
|
default: function _default() {
|
|
354
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/
|
|
354
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/thumbs-up');
|
|
355
355
|
}
|
|
356
356
|
}), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, IconType.Vote, {
|
|
357
357
|
default: function _default() {
|
|
358
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/
|
|
358
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/arrow-up');
|
|
359
359
|
}
|
|
360
360
|
}), IconType.PriorityBlocker, {
|
|
361
361
|
default: function _default() {
|
|
@@ -399,19 +399,19 @@ export var getLazyIcons = function getLazyIcons() {
|
|
|
399
399
|
}
|
|
400
400
|
}), IconType.PriorityUndefined, {
|
|
401
401
|
default: function _default() {
|
|
402
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphUndefined" */'@atlaskit/icon/core/
|
|
402
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphUndefined" */'@atlaskit/icon/core/question-circle');
|
|
403
403
|
}
|
|
404
404
|
}), IconType.ProgrammingLanguage, {
|
|
405
405
|
default: function _default() {
|
|
406
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphProgrammingLanguage" */'@atlaskit/icon/core/
|
|
406
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphProgrammingLanguage" */'@atlaskit/icon/core/angle-brackets');
|
|
407
407
|
}
|
|
408
408
|
}), IconType.Subscriber, {
|
|
409
409
|
default: function _default() {
|
|
410
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphSubscriber" */'@atlaskit/icon/core/
|
|
410
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphSubscriber" */'@atlaskit/icon/core/people-group');
|
|
411
411
|
}
|
|
412
412
|
}), IconType.SubTasksProgress, {
|
|
413
413
|
default: function _default() {
|
|
414
|
-
return import( /* webpackChunkName: "@atlaskit-internal_glyphSubtaskProgress" */'@atlaskit/icon/core/
|
|
414
|
+
return import( /* webpackChunkName: "@atlaskit-internal_glyphSubtaskProgress" */'@atlaskit/icon/core/subtasks');
|
|
415
415
|
}
|
|
416
416
|
});
|
|
417
417
|
};
|
|
@@ -17,9 +17,7 @@ var getIcon = function getIcon(appearance) {
|
|
|
17
17
|
color: "var(--ds-icon-danger, #C9372C)",
|
|
18
18
|
spacing: "compact",
|
|
19
19
|
label: "Error",
|
|
20
|
-
LEGACY_size: "small",
|
|
21
20
|
testId: "action-error-icon",
|
|
22
|
-
LEGACY_margin: "0 ".concat("var(--ds-space-negative-025, -2px)"),
|
|
23
21
|
size: "small"
|
|
24
22
|
});
|
|
25
23
|
default:
|
|
@@ -8,7 +8,7 @@ import { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
|
8
8
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
10
|
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
11
|
-
import { N800,
|
|
11
|
+
import { N800, R500 } from '@atlaskit/theme/colors';
|
|
12
12
|
import { useAnalyticsEvents } from '../../../../../../../../common/analytics/generated/use-analytics-events';
|
|
13
13
|
import { messages } from '../../../../../../../../messages';
|
|
14
14
|
import useInvokeClientAction from '../../../../../../../../state/hooks/use-invoke-client-action';
|
|
@@ -45,9 +45,7 @@ var LozengeActionError = function LozengeActionError(_ref) {
|
|
|
45
45
|
className: ax([styles.contentStyles])
|
|
46
46
|
}, /*#__PURE__*/React.createElement(ErrorIcon, {
|
|
47
47
|
testId: "".concat(testId, "-icon"),
|
|
48
|
-
LEGACY_size: "medium",
|
|
49
48
|
color: "var(--ds-icon-danger, ".concat(R500, ")"),
|
|
50
|
-
LEGACY_secondaryColor: "var(--ds-background-danger, ".concat(R50, ")"),
|
|
51
49
|
label: 'error',
|
|
52
50
|
spacing: "spacious"
|
|
53
51
|
}), /*#__PURE__*/React.createElement("span", {
|
|
@@ -96,8 +96,6 @@ var LozengeActionTrigger = function LozengeActionTrigger(_ref) {
|
|
|
96
96
|
}, /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
97
97
|
color: "currentColor",
|
|
98
98
|
label: "options",
|
|
99
|
-
LEGACY_size: "medium",
|
|
100
|
-
LEGACY_margin: "-4px -8px -4px -7px",
|
|
101
99
|
size: "small",
|
|
102
100
|
"aria-hidden": true
|
|
103
101
|
})))));
|
|
@@ -15,7 +15,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
15
15
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
16
16
|
var PACKAGE_DATA = {
|
|
17
17
|
packageName: "@atlaskit/smart-card",
|
|
18
|
-
packageVersion: "43.
|
|
18
|
+
packageVersion: "43.20.0",
|
|
19
19
|
componentName: 'linkUrl'
|
|
20
20
|
};
|
|
21
21
|
var Anchor = withLinkClickedEvent('a');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "43.
|
|
3
|
+
"version": "43.20.0",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.6.0",
|
|
31
31
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
32
32
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
33
|
-
"@atlaskit/avatar": "^25.
|
|
33
|
+
"@atlaskit/avatar": "^25.7.0",
|
|
34
34
|
"@atlaskit/avatar-group": "^12.4.0",
|
|
35
35
|
"@atlaskit/badge": "^18.3.0",
|
|
36
36
|
"@atlaskit/button": "^23.9.0",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"@atlaskit/dropdown-menu": "^16.4.0",
|
|
40
40
|
"@atlaskit/embedded-confluence": "^4.3.0",
|
|
41
41
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
42
|
-
"@atlaskit/form": "^15.
|
|
42
|
+
"@atlaskit/form": "^15.3.0",
|
|
43
43
|
"@atlaskit/frontend-utilities": "^3.2.0",
|
|
44
44
|
"@atlaskit/heading": "^5.2.0",
|
|
45
|
-
"@atlaskit/icon": "^29.
|
|
45
|
+
"@atlaskit/icon": "^29.4.0",
|
|
46
46
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
47
47
|
"@atlaskit/icon-object": "^7.4.0",
|
|
48
48
|
"@atlaskit/icon-priority": "^6.3.0",
|
|
@@ -62,18 +62,18 @@
|
|
|
62
62
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
63
63
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
64
64
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
65
|
-
"@atlaskit/popup": "^4.
|
|
65
|
+
"@atlaskit/popup": "^4.13.0",
|
|
66
66
|
"@atlaskit/primitives": "^17.0.0",
|
|
67
|
-
"@atlaskit/section-message": "^8.
|
|
67
|
+
"@atlaskit/section-message": "^8.12.0",
|
|
68
68
|
"@atlaskit/select": "^21.6.0",
|
|
69
69
|
"@atlaskit/spinner": "^19.0.0",
|
|
70
70
|
"@atlaskit/textarea": "^8.2.0",
|
|
71
71
|
"@atlaskit/textfield": "^8.2.0",
|
|
72
72
|
"@atlaskit/theme": "^21.0.0",
|
|
73
73
|
"@atlaskit/tile": "^1.0.0",
|
|
74
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
74
|
+
"@atlaskit/tmp-editor-statsig": "^16.11.0",
|
|
75
75
|
"@atlaskit/tokens": "^9.1.0",
|
|
76
|
-
"@atlaskit/tooltip": "^20.
|
|
76
|
+
"@atlaskit/tooltip": "^20.12.0",
|
|
77
77
|
"@atlaskit/ufo": "^0.4.0",
|
|
78
78
|
"@babel/runtime": "^7.0.0",
|
|
79
79
|
"@compiled/react": "^0.18.6",
|