@atlaskit/smart-card 43.19.0 → 43.20.1
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 +18 -0
- package/dist/cjs/extractors/common/icon/extractIcon.js +0 -1
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/utils/index.js +16 -16
- package/dist/cjs/view/BlockCard/views/ErroredView.js +0 -1
- package/dist/cjs/view/EmbedCard/views/ErroredView.js +0 -1
- package/dist/cjs/view/EmbedCard/views/ResolvedView.js +0 -2
- package/dist/cjs/view/EmbedCard/views/unresolved-view/index.js +0 -1
- package/dist/cjs/view/EmbedModal/components/link-info/index.js +6 -2
- package/dist/cjs/view/EmbedModal/components/link-info/link-info-button/index.js +8 -3
- package/dist/cjs/view/FlexibleCard/components/actions/copy-link-action/index.js +0 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +0 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +0 -1
- package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/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/InlineCard/ErroredView/index.js +0 -1
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +0 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/common/Icon.js +0 -1
- package/dist/es2019/extractors/common/icon/extractIcon.js +0 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/utils/index.js +16 -16
- package/dist/es2019/view/BlockCard/views/ErroredView.js +0 -1
- package/dist/es2019/view/EmbedCard/views/ErroredView.js +0 -1
- package/dist/es2019/view/EmbedCard/views/ResolvedView.js +0 -2
- package/dist/es2019/view/EmbedCard/views/unresolved-view/index.js +0 -1
- package/dist/es2019/view/EmbedModal/components/link-info/index.js +6 -2
- package/dist/es2019/view/EmbedModal/components/link-info/link-info-button/index.js +8 -3
- package/dist/es2019/view/FlexibleCard/components/actions/copy-link-action/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +0 -2
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/common/atlaskit-icon/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/InlineCard/ErroredView/index.js +0 -1
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +0 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/common/Icon.js +0 -1
- package/dist/esm/extractors/common/icon/extractIcon.js +0 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/utils/index.js +16 -16
- package/dist/esm/view/BlockCard/views/ErroredView.js +0 -1
- package/dist/esm/view/EmbedCard/views/ErroredView.js +0 -1
- package/dist/esm/view/EmbedCard/views/ResolvedView.js +0 -2
- package/dist/esm/view/EmbedCard/views/unresolved-view/index.js +0 -1
- package/dist/esm/view/EmbedModal/components/link-info/index.js +6 -2
- package/dist/esm/view/EmbedModal/components/link-info/link-info-button/index.js +8 -3
- package/dist/esm/view/FlexibleCard/components/actions/copy-link-action/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +0 -2
- package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +0 -1
- package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/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/InlineCard/ErroredView/index.js +0 -1
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +0 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/common/Icon.js +0 -1
- package/dist/types/view/EmbedModal/components/link-info/link-info-button/index.d.ts +2 -1
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/index.d.ts +2 -1
- package/package.json +12 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 43.20.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`aac6485a45d73`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/aac6485a45d73) -
|
|
8
|
+
NAVX-2815 adding correct role for icon button in preview modal
|
|
9
|
+
|
|
10
|
+
## 43.20.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`87b12e64ff750`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87b12e64ff750) -
|
|
15
|
+
Removed usages of LEGACY icon props
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 43.19.0
|
|
4
22
|
|
|
5
23
|
### 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
|
});
|
|
@@ -36,7 +36,6 @@ var ErroredView = function ErroredView(_ref) {
|
|
|
36
36
|
}), /*#__PURE__*/_react.default.createElement(_statusWarning.default, {
|
|
37
37
|
label: "errored-warning-icon",
|
|
38
38
|
color: "var(--ds-icon-warning, #E06C00)",
|
|
39
|
-
LEGACY_size: "small",
|
|
40
39
|
testId: "".concat(testId, "-warning-icon")
|
|
41
40
|
}), /*#__PURE__*/_react.default.createElement(_baseTextElement.default, {
|
|
42
41
|
maxLines: 3,
|
|
@@ -34,7 +34,6 @@ var EmbedCardErroredView = exports.EmbedCardErroredView = function EmbedCardErro
|
|
|
34
34
|
isSelected: isSelected,
|
|
35
35
|
testId: testId
|
|
36
36
|
}, /*#__PURE__*/React.createElement(_statusError.default, {
|
|
37
|
-
LEGACY_size: "small",
|
|
38
37
|
color: "var(--ds-icon-danger, ".concat(_colors.R300, ")"),
|
|
39
38
|
label: "error-icon"
|
|
40
39
|
}), /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
@@ -41,7 +41,6 @@ var EmbedCardResolvedViewOld = /*#__PURE__*/_react.default.forwardRef(function (
|
|
|
41
41
|
var linkGlyph = _react.default.useMemo(function () {
|
|
42
42
|
return /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
43
43
|
label: "icon",
|
|
44
|
-
LEGACY_size: "small",
|
|
45
44
|
testId: "embed-card-fallback-icon",
|
|
46
45
|
color: "currentColor"
|
|
47
46
|
});
|
|
@@ -115,7 +114,6 @@ var EmbedCardResolvedViewUpdated = /*#__PURE__*/_react.default.forwardRef(functi
|
|
|
115
114
|
var linkGlyph = _react.default.useMemo(function () {
|
|
116
115
|
return /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
117
116
|
label: "icon",
|
|
118
|
-
LEGACY_size: "small",
|
|
119
117
|
testId: "embed-card-fallback-icon",
|
|
120
118
|
color: "currentColor"
|
|
121
119
|
});
|
|
@@ -40,7 +40,6 @@ var UnresolvedView = function UnresolvedView(_ref) {
|
|
|
40
40
|
src: typeof iconUrlOrElement === 'string' ? iconUrlOrElement : undefined,
|
|
41
41
|
default: /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
42
42
|
label: "icon",
|
|
43
|
-
LEGACY_size: "small",
|
|
44
43
|
testId: "embed-card-fallback-icon",
|
|
45
44
|
color: "currentColor"
|
|
46
45
|
})
|
|
@@ -81,7 +81,9 @@ var LinkInfo = function LinkInfo(_ref) {
|
|
|
81
81
|
},
|
|
82
82
|
label: _messages.messages.viewOriginal,
|
|
83
83
|
onClick: onViewButtonClick,
|
|
84
|
-
testId: "".concat(testId, "-url")
|
|
84
|
+
testId: "".concat(testId, "-url"),
|
|
85
|
+
role: (0, _platformFeatureFlags.fg)('navx-2185-smart-link-preview-modal-icon-role') ? 'link' : '',
|
|
86
|
+
"aria-label": (0, _platformFeatureFlags.fg)('navx-2185-smart-link-preview-modal-icon-role') ? _messages.messages.viewOriginal : ''
|
|
85
87
|
});
|
|
86
88
|
}
|
|
87
89
|
}, [onViewButtonClick, providerName, testId]);
|
|
@@ -188,7 +190,9 @@ var LinkInfoNew = function LinkInfoNew(_ref2) {
|
|
|
188
190
|
},
|
|
189
191
|
label: _messages.messages.viewOriginal,
|
|
190
192
|
onClick: onViewButtonClick,
|
|
191
|
-
testId: "".concat(testId, "-url")
|
|
193
|
+
testId: "".concat(testId, "-url"),
|
|
194
|
+
role: (0, _platformFeatureFlags.fg)('navx-2185-smart-link-preview-modal-icon-role') ? 'link' : '',
|
|
195
|
+
"aria-label": (0, _platformFeatureFlags.fg)('navx-2185-smart-link-preview-modal-icon-role') ? _messages.messages.viewOriginal : ''
|
|
192
196
|
});
|
|
193
197
|
}
|
|
194
198
|
}, [onViewButtonClick, providerName, testId]);
|
|
@@ -5,9 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
8
9
|
var _react = _interopRequireDefault(require("react"));
|
|
9
10
|
var _reactIntlNext = require("react-intl-next");
|
|
10
11
|
var _new = require("@atlaskit/button/new");
|
|
12
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
11
13
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
12
14
|
var _useLinkClicked = require("../../../../../state/analytics/useLinkClicked");
|
|
13
15
|
var LinkInfoButton = function LinkInfoButton(_ref) {
|
|
@@ -15,7 +17,8 @@ var LinkInfoButton = function LinkInfoButton(_ref) {
|
|
|
15
17
|
icon = _ref.icon,
|
|
16
18
|
label = _ref.label,
|
|
17
19
|
onClick = _ref.onClick,
|
|
18
|
-
testId = _ref.testId
|
|
20
|
+
testId = _ref.testId,
|
|
21
|
+
role = _ref.role;
|
|
19
22
|
var onMouseDown = (0, _useLinkClicked.useMouseDownEvent)();
|
|
20
23
|
var _useIntl = (0, _reactIntlNext.useIntl)(),
|
|
21
24
|
formatMessage = _useIntl.formatMessage;
|
|
@@ -24,13 +27,15 @@ var LinkInfoButton = function LinkInfoButton(_ref) {
|
|
|
24
27
|
hideTooltipOnClick: true,
|
|
25
28
|
tag: "span",
|
|
26
29
|
testId: "".concat(testId, "-tooltip")
|
|
27
|
-
}, /*#__PURE__*/_react.default.createElement(_new.IconButton, {
|
|
30
|
+
}, /*#__PURE__*/_react.default.createElement(_new.IconButton, (0, _extends2.default)({
|
|
28
31
|
appearance: "subtle",
|
|
29
32
|
icon: icon,
|
|
30
33
|
label: formatMessage(label),
|
|
31
34
|
onClick: onClick,
|
|
32
35
|
onMouseDown: onMouseDown,
|
|
33
36
|
testId: "".concat(testId, "-button")
|
|
34
|
-
}))
|
|
37
|
+
}, (0, _platformFeatureFlags.fg)('navx-2185-smart-link-preview-modal-icon-role') ? {
|
|
38
|
+
role: role
|
|
39
|
+
} : {})));
|
|
35
40
|
};
|
|
36
41
|
var _default = exports.default = LinkInfoButton;
|
|
@@ -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:
|
package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js
CHANGED
|
@@ -33,7 +33,6 @@ var AIFooterMetadata = exports.AIFooterMetadata = function AIFooterMetadata(_ref
|
|
|
33
33
|
}, function (tooltipProps) {
|
|
34
34
|
return /*#__PURE__*/_react.default.createElement(_compiled.Box, tooltipProps, /*#__PURE__*/_react.default.createElement(_info.InfoIcon, {
|
|
35
35
|
label: "Information",
|
|
36
|
-
LEGACY_size: "small",
|
|
37
36
|
color: "var(--ds-icon-subtle, #505258)"
|
|
38
37
|
}));
|
|
39
38
|
}), /*#__PURE__*/_react.default.createElement(_atlassianIntelligence.default, {
|
|
@@ -88,14 +88,12 @@ var AtlaskitIcon = function AtlaskitIcon(_ref) {
|
|
|
88
88
|
return /*#__PURE__*/_react.default.createElement(ImportedIcon, {
|
|
89
89
|
label: label,
|
|
90
90
|
testId: testId,
|
|
91
|
-
LEGACY_size: size === _constants.SmartLinkSize.Large || size === _constants.SmartLinkSize.XLarge ? 'medium' : 'small',
|
|
92
91
|
color: "var(--ds-icon-danger, #C9372C)"
|
|
93
92
|
});
|
|
94
93
|
default:
|
|
95
94
|
return /*#__PURE__*/_react.default.createElement(ImportedIcon, {
|
|
96
95
|
label: label,
|
|
97
96
|
testId: testId,
|
|
98
|
-
LEGACY_size: size === _constants.SmartLinkSize.Large || size === _constants.SmartLinkSize.XLarge ? 'medium' : 'small',
|
|
99
97
|
size: size
|
|
100
98
|
});
|
|
101
99
|
}
|
|
@@ -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
|
})))));
|
|
@@ -111,7 +111,6 @@ var IconAndTitleLayout = exports.IconAndTitleLayout = function IconAndTitleLayou
|
|
|
111
111
|
var renderIconPlaceholder = _react.default.useCallback(function (testId) {
|
|
112
112
|
return defaultIcon || /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
113
113
|
label: "link",
|
|
114
|
-
LEGACY_size: "small",
|
|
115
114
|
testId: "".concat(testId, "-default"),
|
|
116
115
|
color: "currentColor"
|
|
117
116
|
});
|
|
@@ -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');
|
|
@@ -30,7 +30,6 @@ var Icon = exports.Icon = function Icon(_ref) {
|
|
|
30
30
|
isFlexibleUi = _ref$isFlexibleUi === void 0 ? false : _ref$isFlexibleUi;
|
|
31
31
|
var placeholder = defaultIcon || /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
32
32
|
label: "link",
|
|
33
|
-
LEGACY_size: "small",
|
|
34
33
|
testId: "".concat(testId, "-default"),
|
|
35
34
|
color: "currentColor"
|
|
36
35
|
});
|
|
@@ -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
|
};
|
|
@@ -24,7 +24,6 @@ const ErroredView = ({
|
|
|
24
24
|
}), /*#__PURE__*/React.createElement(WarningIcon, {
|
|
25
25
|
label: "errored-warning-icon",
|
|
26
26
|
color: "var(--ds-icon-warning, #E06C00)",
|
|
27
|
-
LEGACY_size: "small",
|
|
28
27
|
testId: `${testId}-warning-icon`
|
|
29
28
|
}), /*#__PURE__*/React.createElement(Text, {
|
|
30
29
|
maxLines: 3,
|
|
@@ -23,7 +23,6 @@ export const EmbedCardErroredView = ({
|
|
|
23
23
|
isSelected: isSelected,
|
|
24
24
|
testId: testId
|
|
25
25
|
}, /*#__PURE__*/React.createElement(ErrorIcon, {
|
|
26
|
-
LEGACY_size: "small",
|
|
27
26
|
color: `var(--ds-icon-danger, ${R300})`,
|
|
28
27
|
label: "error-icon"
|
|
29
28
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
@@ -32,7 +32,6 @@ const EmbedCardResolvedViewOld = /*#__PURE__*/React.forwardRef(({
|
|
|
32
32
|
const text = title || (context === null || context === void 0 ? void 0 : context.text);
|
|
33
33
|
const linkGlyph = React.useMemo(() => /*#__PURE__*/React.createElement(LinkGlyph, {
|
|
34
34
|
label: "icon",
|
|
35
|
-
LEGACY_size: "small",
|
|
36
35
|
testId: "embed-card-fallback-icon",
|
|
37
36
|
color: "currentColor"
|
|
38
37
|
}), []);
|
|
@@ -104,7 +103,6 @@ const EmbedCardResolvedViewUpdated = /*#__PURE__*/React.forwardRef(({
|
|
|
104
103
|
const text = title || (context === null || context === void 0 ? void 0 : context.text);
|
|
105
104
|
const linkGlyph = React.useMemo(() => /*#__PURE__*/React.createElement(LinkGlyph, {
|
|
106
105
|
label: "icon",
|
|
107
|
-
LEGACY_size: "small",
|
|
108
106
|
testId: "embed-card-fallback-icon",
|
|
109
107
|
color: "currentColor"
|
|
110
108
|
}), []);
|
|
@@ -32,7 +32,6 @@ const UnresolvedView = ({
|
|
|
32
32
|
src: typeof iconUrlOrElement === 'string' ? iconUrlOrElement : undefined,
|
|
33
33
|
default: /*#__PURE__*/React.createElement(LinkGlyph, {
|
|
34
34
|
label: "icon",
|
|
35
|
-
LEGACY_size: "small",
|
|
36
35
|
testId: "embed-card-fallback-icon",
|
|
37
36
|
color: "currentColor"
|
|
38
37
|
})
|
|
@@ -71,7 +71,9 @@ const LinkInfo = ({
|
|
|
71
71
|
}),
|
|
72
72
|
label: messages.viewOriginal,
|
|
73
73
|
onClick: onViewButtonClick,
|
|
74
|
-
testId: `${testId}-url
|
|
74
|
+
testId: `${testId}-url`,
|
|
75
|
+
role: fg('navx-2185-smart-link-preview-modal-icon-role') ? 'link' : '',
|
|
76
|
+
"aria-label": fg('navx-2185-smart-link-preview-modal-icon-role') ? messages.viewOriginal : ''
|
|
75
77
|
});
|
|
76
78
|
}
|
|
77
79
|
}, [onViewButtonClick, providerName, testId]);
|
|
@@ -173,7 +175,9 @@ const LinkInfoNew = ({
|
|
|
173
175
|
}),
|
|
174
176
|
label: messages.viewOriginal,
|
|
175
177
|
onClick: onViewButtonClick,
|
|
176
|
-
testId: `${testId}-url
|
|
178
|
+
testId: `${testId}-url`,
|
|
179
|
+
role: fg('navx-2185-smart-link-preview-modal-icon-role') ? 'link' : '',
|
|
180
|
+
"aria-label": fg('navx-2185-smart-link-preview-modal-icon-role') ? messages.viewOriginal : ''
|
|
177
181
|
});
|
|
178
182
|
}
|
|
179
183
|
}, [onViewButtonClick, providerName, testId]);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import { useIntl } from 'react-intl-next';
|
|
3
4
|
import { IconButton } from '@atlaskit/button/new';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
6
|
import Tooltip from '@atlaskit/tooltip';
|
|
5
7
|
import { useMouseDownEvent } from '../../../../../state/analytics/useLinkClicked';
|
|
6
8
|
const LinkInfoButton = ({
|
|
@@ -8,7 +10,8 @@ const LinkInfoButton = ({
|
|
|
8
10
|
icon,
|
|
9
11
|
label,
|
|
10
12
|
onClick,
|
|
11
|
-
testId
|
|
13
|
+
testId,
|
|
14
|
+
role
|
|
12
15
|
}) => {
|
|
13
16
|
const onMouseDown = useMouseDownEvent();
|
|
14
17
|
const {
|
|
@@ -19,13 +22,15 @@ const LinkInfoButton = ({
|
|
|
19
22
|
hideTooltipOnClick: true,
|
|
20
23
|
tag: "span",
|
|
21
24
|
testId: `${testId}-tooltip`
|
|
22
|
-
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
25
|
+
}, /*#__PURE__*/React.createElement(IconButton, _extends({
|
|
23
26
|
appearance: "subtle",
|
|
24
27
|
icon: icon,
|
|
25
28
|
label: formatMessage(label),
|
|
26
29
|
onClick: onClick,
|
|
27
30
|
onMouseDown: onMouseDown,
|
|
28
31
|
testId: `${testId}-button`
|
|
29
|
-
})
|
|
32
|
+
}, fg('navx-2185-smart-link-preview-modal-icon-role') ? {
|
|
33
|
+
role
|
|
34
|
+
} : {})));
|
|
30
35
|
};
|
|
31
36
|
export default LinkInfoButton;
|
|
@@ -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:
|
|
@@ -29,7 +29,6 @@ export const AIFooterMetadata = ({
|
|
|
29
29
|
position: "bottom"
|
|
30
30
|
}, tooltipProps => /*#__PURE__*/React.createElement(Box, tooltipProps, /*#__PURE__*/React.createElement(InfoIcon, {
|
|
31
31
|
label: "Information",
|
|
32
|
-
LEGACY_size: "small",
|
|
33
32
|
color: "var(--ds-icon-subtle, #505258)"
|
|
34
33
|
}))), /*#__PURE__*/React.createElement(AIIcon, {
|
|
35
34
|
label: "AI",
|
|
@@ -75,14 +75,12 @@ const AtlaskitIcon = ({
|
|
|
75
75
|
return /*#__PURE__*/React.createElement(ImportedIcon, {
|
|
76
76
|
label: label,
|
|
77
77
|
testId: testId,
|
|
78
|
-
LEGACY_size: size === SmartLinkSize.Large || size === SmartLinkSize.XLarge ? 'medium' : 'small',
|
|
79
78
|
color: "var(--ds-icon-danger, #C9372C)"
|
|
80
79
|
});
|
|
81
80
|
default:
|
|
82
81
|
return /*#__PURE__*/React.createElement(ImportedIcon, {
|
|
83
82
|
label: label,
|
|
84
83
|
testId: testId,
|
|
85
|
-
LEGACY_size: size === SmartLinkSize.Large || size === SmartLinkSize.XLarge ? 'medium' : 'small',
|
|
86
84
|
size: size
|
|
87
85
|
});
|
|
88
86
|
}
|
|
@@ -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", {
|
|
@@ -95,7 +95,6 @@ export const IconAndTitleLayout = ({
|
|
|
95
95
|
const renderIconPlaceholder = React.useCallback(testId => {
|
|
96
96
|
return defaultIcon || /*#__PURE__*/React.createElement(LinkIcon, {
|
|
97
97
|
label: "link",
|
|
98
|
-
LEGACY_size: "small",
|
|
99
98
|
testId: `${testId}-default`,
|
|
100
99
|
color: "currentColor"
|
|
101
100
|
});
|
|
@@ -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
|
};
|
|
@@ -28,7 +28,6 @@ var ErroredView = function ErroredView(_ref) {
|
|
|
28
28
|
}), /*#__PURE__*/React.createElement(WarningIcon, {
|
|
29
29
|
label: "errored-warning-icon",
|
|
30
30
|
color: "var(--ds-icon-warning, #E06C00)",
|
|
31
|
-
LEGACY_size: "small",
|
|
32
31
|
testId: "".concat(testId, "-warning-icon")
|
|
33
32
|
}), /*#__PURE__*/React.createElement(Text, {
|
|
34
33
|
maxLines: 3,
|
|
@@ -25,7 +25,6 @@ export var EmbedCardErroredView = function EmbedCardErroredView(_ref) {
|
|
|
25
25
|
isSelected: isSelected,
|
|
26
26
|
testId: testId
|
|
27
27
|
}, /*#__PURE__*/React.createElement(ErrorIcon, {
|
|
28
|
-
LEGACY_size: "small",
|
|
29
28
|
color: "var(--ds-icon-danger, ".concat(R300, ")"),
|
|
30
29
|
label: "error-icon"
|
|
31
30
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
@@ -34,7 +34,6 @@ var EmbedCardResolvedViewOld = /*#__PURE__*/React.forwardRef(function (_ref, emb
|
|
|
34
34
|
var linkGlyph = React.useMemo(function () {
|
|
35
35
|
return /*#__PURE__*/React.createElement(LinkGlyph, {
|
|
36
36
|
label: "icon",
|
|
37
|
-
LEGACY_size: "small",
|
|
38
37
|
testId: "embed-card-fallback-icon",
|
|
39
38
|
color: "currentColor"
|
|
40
39
|
});
|
|
@@ -108,7 +107,6 @@ var EmbedCardResolvedViewUpdated = /*#__PURE__*/React.forwardRef(function (_ref2
|
|
|
108
107
|
var linkGlyph = React.useMemo(function () {
|
|
109
108
|
return /*#__PURE__*/React.createElement(LinkGlyph, {
|
|
110
109
|
label: "icon",
|
|
111
|
-
LEGACY_size: "small",
|
|
112
110
|
testId: "embed-card-fallback-icon",
|
|
113
111
|
color: "currentColor"
|
|
114
112
|
});
|
|
@@ -31,7 +31,6 @@ var UnresolvedView = function UnresolvedView(_ref) {
|
|
|
31
31
|
src: typeof iconUrlOrElement === 'string' ? iconUrlOrElement : undefined,
|
|
32
32
|
default: /*#__PURE__*/React.createElement(LinkGlyph, {
|
|
33
33
|
label: "icon",
|
|
34
|
-
LEGACY_size: "small",
|
|
35
34
|
testId: "embed-card-fallback-icon",
|
|
36
35
|
color: "currentColor"
|
|
37
36
|
})
|
|
@@ -72,7 +72,9 @@ var LinkInfo = function LinkInfo(_ref) {
|
|
|
72
72
|
},
|
|
73
73
|
label: messages.viewOriginal,
|
|
74
74
|
onClick: onViewButtonClick,
|
|
75
|
-
testId: "".concat(testId, "-url")
|
|
75
|
+
testId: "".concat(testId, "-url"),
|
|
76
|
+
role: fg('navx-2185-smart-link-preview-modal-icon-role') ? 'link' : '',
|
|
77
|
+
"aria-label": fg('navx-2185-smart-link-preview-modal-icon-role') ? messages.viewOriginal : ''
|
|
76
78
|
});
|
|
77
79
|
}
|
|
78
80
|
}, [onViewButtonClick, providerName, testId]);
|
|
@@ -179,7 +181,9 @@ var LinkInfoNew = function LinkInfoNew(_ref2) {
|
|
|
179
181
|
},
|
|
180
182
|
label: messages.viewOriginal,
|
|
181
183
|
onClick: onViewButtonClick,
|
|
182
|
-
testId: "".concat(testId, "-url")
|
|
184
|
+
testId: "".concat(testId, "-url"),
|
|
185
|
+
role: fg('navx-2185-smart-link-preview-modal-icon-role') ? 'link' : '',
|
|
186
|
+
"aria-label": fg('navx-2185-smart-link-preview-modal-icon-role') ? messages.viewOriginal : ''
|
|
183
187
|
});
|
|
184
188
|
}
|
|
185
189
|
}, [onViewButtonClick, providerName, testId]);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import { useIntl } from 'react-intl-next';
|
|
3
4
|
import { IconButton } from '@atlaskit/button/new';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
6
|
import Tooltip from '@atlaskit/tooltip';
|
|
5
7
|
import { useMouseDownEvent } from '../../../../../state/analytics/useLinkClicked';
|
|
6
8
|
var LinkInfoButton = function LinkInfoButton(_ref) {
|
|
@@ -8,7 +10,8 @@ var LinkInfoButton = function LinkInfoButton(_ref) {
|
|
|
8
10
|
icon = _ref.icon,
|
|
9
11
|
label = _ref.label,
|
|
10
12
|
onClick = _ref.onClick,
|
|
11
|
-
testId = _ref.testId
|
|
13
|
+
testId = _ref.testId,
|
|
14
|
+
role = _ref.role;
|
|
12
15
|
var onMouseDown = useMouseDownEvent();
|
|
13
16
|
var _useIntl = useIntl(),
|
|
14
17
|
formatMessage = _useIntl.formatMessage;
|
|
@@ -17,13 +20,15 @@ var LinkInfoButton = function LinkInfoButton(_ref) {
|
|
|
17
20
|
hideTooltipOnClick: true,
|
|
18
21
|
tag: "span",
|
|
19
22
|
testId: "".concat(testId, "-tooltip")
|
|
20
|
-
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
23
|
+
}, /*#__PURE__*/React.createElement(IconButton, _extends({
|
|
21
24
|
appearance: "subtle",
|
|
22
25
|
icon: icon,
|
|
23
26
|
label: formatMessage(label),
|
|
24
27
|
onClick: onClick,
|
|
25
28
|
onMouseDown: onMouseDown,
|
|
26
29
|
testId: "".concat(testId, "-button")
|
|
27
|
-
})
|
|
30
|
+
}, fg('navx-2185-smart-link-preview-modal-icon-role') ? {
|
|
31
|
+
role: role
|
|
32
|
+
} : {})));
|
|
28
33
|
};
|
|
29
34
|
export default LinkInfoButton;
|
|
@@ -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:
|
package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js
CHANGED
|
@@ -26,7 +26,6 @@ export var AIFooterMetadata = function AIFooterMetadata(_ref) {
|
|
|
26
26
|
}, function (tooltipProps) {
|
|
27
27
|
return /*#__PURE__*/React.createElement(Box, tooltipProps, /*#__PURE__*/React.createElement(InfoIcon, {
|
|
28
28
|
label: "Information",
|
|
29
|
-
LEGACY_size: "small",
|
|
30
29
|
color: "var(--ds-icon-subtle, #505258)"
|
|
31
30
|
}));
|
|
32
31
|
}), /*#__PURE__*/React.createElement(AIIcon, {
|
|
@@ -81,14 +81,12 @@ var AtlaskitIcon = function AtlaskitIcon(_ref) {
|
|
|
81
81
|
return /*#__PURE__*/React.createElement(ImportedIcon, {
|
|
82
82
|
label: label,
|
|
83
83
|
testId: testId,
|
|
84
|
-
LEGACY_size: size === SmartLinkSize.Large || size === SmartLinkSize.XLarge ? 'medium' : 'small',
|
|
85
84
|
color: "var(--ds-icon-danger, #C9372C)"
|
|
86
85
|
});
|
|
87
86
|
default:
|
|
88
87
|
return /*#__PURE__*/React.createElement(ImportedIcon, {
|
|
89
88
|
label: label,
|
|
90
89
|
testId: testId,
|
|
91
|
-
LEGACY_size: size === SmartLinkSize.Large || size === SmartLinkSize.XLarge ? 'medium' : 'small',
|
|
92
90
|
size: size
|
|
93
91
|
});
|
|
94
92
|
}
|
|
@@ -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
|
})))));
|
|
@@ -103,7 +103,6 @@ export var IconAndTitleLayout = function IconAndTitleLayout(_ref2) {
|
|
|
103
103
|
var renderIconPlaceholder = React.useCallback(function (testId) {
|
|
104
104
|
return defaultIcon || /*#__PURE__*/React.createElement(LinkIcon, {
|
|
105
105
|
label: "link",
|
|
106
|
-
LEGACY_size: "small",
|
|
107
106
|
testId: "".concat(testId, "-default"),
|
|
108
107
|
color: "currentColor"
|
|
109
108
|
});
|
|
@@ -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');
|
|
@@ -23,7 +23,6 @@ export var Icon = function Icon(_ref) {
|
|
|
23
23
|
isFlexibleUi = _ref$isFlexibleUi === void 0 ? false : _ref$isFlexibleUi;
|
|
24
24
|
var placeholder = defaultIcon || /*#__PURE__*/React.createElement(LinkIcon, {
|
|
25
25
|
label: "link",
|
|
26
|
-
LEGACY_size: "small",
|
|
27
26
|
testId: "".concat(testId, "-default"),
|
|
28
27
|
color: "currentColor"
|
|
29
28
|
});
|
|
@@ -6,7 +6,8 @@ export type LinkInfoButtonProps = {
|
|
|
6
6
|
icon: IconProp;
|
|
7
7
|
label: MessageDescriptor;
|
|
8
8
|
onClick?: () => void;
|
|
9
|
+
role?: string;
|
|
9
10
|
testId?: string;
|
|
10
11
|
};
|
|
11
|
-
declare const LinkInfoButton: ({ content, icon, label, onClick, testId, }: LinkInfoButtonProps) => React.JSX.Element;
|
|
12
|
+
declare const LinkInfoButton: ({ content, icon, label, onClick, testId, role, }: LinkInfoButtonProps) => React.JSX.Element;
|
|
12
13
|
export default LinkInfoButton;
|
|
@@ -6,7 +6,8 @@ export type LinkInfoButtonProps = {
|
|
|
6
6
|
icon: IconProp;
|
|
7
7
|
label: MessageDescriptor;
|
|
8
8
|
onClick?: () => void;
|
|
9
|
+
role?: string;
|
|
9
10
|
testId?: string;
|
|
10
11
|
};
|
|
11
|
-
declare const LinkInfoButton: ({ content, icon, label, onClick, testId, }: LinkInfoButtonProps) => React.JSX.Element;
|
|
12
|
+
declare const LinkInfoButton: ({ content, icon, label, onClick, testId, role, }: LinkInfoButtonProps) => React.JSX.Element;
|
|
12
13
|
export default LinkInfoButton;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "43.
|
|
3
|
+
"version": "43.20.1",
|
|
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.12.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",
|
|
@@ -103,6 +103,7 @@
|
|
|
103
103
|
"@atlaskit/media-test-helpers": "^39.0.0",
|
|
104
104
|
"@atlaskit/react-ufo": "^4.16.0",
|
|
105
105
|
"@atlaskit/ssr": "workspace:^",
|
|
106
|
+
"@atlassian/a11y-jest-testing": "^0.6.0",
|
|
106
107
|
"@atlassian/analytics-tooling": "workspace:^",
|
|
107
108
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
108
109
|
"@atlassian/gemini": "^1.28.0",
|
|
@@ -238,6 +239,9 @@
|
|
|
238
239
|
},
|
|
239
240
|
"navx-2816-a11y-fix-smart-links-headings": {
|
|
240
241
|
"type": "boolean"
|
|
242
|
+
},
|
|
243
|
+
"navx-2185-smart-link-preview-modal-icon-role": {
|
|
244
|
+
"type": "boolean"
|
|
241
245
|
}
|
|
242
246
|
},
|
|
243
247
|
"compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/f74ef1bc-7240-4aac-9dc8-9dc43b502089"
|