@atlaskit/smart-card 45.19.2 → 45.19.4
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 +13 -0
- package/dist/cjs/extractors/flexible/actions/extract-rovo-chat-action.js +1 -11
- package/dist/cjs/state/hooks/{use-inline-tailored-action-experiment → use-inline-tailored-actions}/index.js +5 -9
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/EmbedCard/views/ResolvedView.js +1 -2
- package/dist/cjs/view/InlineCard/ResolvedView/InlineCardResolvedViewFunctional.js +5 -59
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/extractors/flexible/actions/extract-rovo-chat-action.js +1 -11
- package/dist/es2019/state/hooks/{use-inline-tailored-action-experiment → use-inline-tailored-actions}/index.js +5 -9
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/EmbedCard/views/ResolvedView.js +1 -2
- package/dist/es2019/view/InlineCard/ResolvedView/InlineCardResolvedViewFunctional.js +4 -54
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/extractors/flexible/actions/extract-rovo-chat-action.js +1 -11
- package/dist/esm/state/hooks/{use-inline-tailored-action-experiment → use-inline-tailored-actions}/index.js +5 -9
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/EmbedCard/views/ResolvedView.js +1 -2
- package/dist/esm/view/InlineCard/ResolvedView/InlineCardResolvedViewFunctional.js +4 -56
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/extractors/flexible/actions/extract-rovo-chat-action.d.ts +1 -1
- package/dist/types/state/hooks/{use-inline-tailored-action-experiment → use-inline-tailored-actions}/index.d.ts +5 -6
- package/dist/types/view/InlineCard/ResolvedView/InlineCardResolvedViewFunctional.d.ts +1 -3
- package/package.json +4 -26
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 45.19.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`f86cb2d5def61`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f86cb2d5def61) -
|
|
8
|
+
Cleaning up inline cta experiment
|
|
9
|
+
|
|
10
|
+
## 45.19.3
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 45.19.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -5,20 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _extractSmartLinkUrl = require("@atlaskit/link-extractors/extract-smart-link-url");
|
|
8
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
9
|
-
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
10
8
|
var _constants = require("../../../constants");
|
|
11
9
|
var _helpers = require("../../../state/helpers");
|
|
12
10
|
var _canShowAction = require("../../../utils/actions/can-show-action");
|
|
13
11
|
var _rovo = require("../../../utils/rovo");
|
|
14
|
-
// For block card experiment (NAVX-4814)
|
|
15
|
-
var ELIGIBLE_EXTENSION_KEYS = new Set(['slack-object-provider', 'google-object-provider', 'onedrive-object-provider', 'github-object-provider', 'ms-teams-object-provider', 'gitlab-object-provider', 'salesforce-object-provider']);
|
|
16
12
|
var extractRovoChatAction = function extractRovoChatAction(_ref) {
|
|
17
13
|
var _actionOptions$rovoCh;
|
|
18
14
|
var actionOptions = _ref.actionOptions,
|
|
19
15
|
appearance = _ref.appearance,
|
|
20
16
|
id = _ref.id,
|
|
21
|
-
isEmbedRovoActionsFooterExperimentEnabled = _ref.isEmbedRovoActionsFooterExperimentEnabled,
|
|
22
17
|
product = _ref.product,
|
|
23
18
|
response = _ref.response,
|
|
24
19
|
rovoConfig = _ref.rovoConfig;
|
|
@@ -30,13 +25,8 @@ var extractRovoChatAction = function extractRovoChatAction(_ref) {
|
|
|
30
25
|
return;
|
|
31
26
|
}
|
|
32
27
|
var extensionKey = (0, _helpers.getExtensionKey)(response);
|
|
33
|
-
var isInlineExperimentEnabled = (0, _fg.fg)('platform_sl_3p_auth_inline_tailored_cta_killswitch') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_sl_3p_auth_inline_tailored_cta', 'isEnabled', true);
|
|
34
|
-
var is3PBlockPostAuthActionsEnabled = extensionKey !== undefined && ELIGIBLE_EXTENSION_KEYS.has(extensionKey) && (rovoConfig === null || rovoConfig === void 0 ? void 0 : rovoConfig.product) === 'CONFLUENCE';
|
|
35
|
-
var is3PEmbedPostAuthActionsEnabled = isEmbedRovoActionsFooterExperimentEnabled === true;
|
|
36
|
-
var isSupportedFeature = is3PBlockPostAuthActionsEnabled || isInlineExperimentEnabled || is3PEmbedPostAuthActionsEnabled;
|
|
37
|
-
var isOptIn = (actionOptions === null || actionOptions === void 0 || (_actionOptions$rovoCh = actionOptions.rovoChatAction) === null || _actionOptions$rovoCh === void 0 ? void 0 : _actionOptions$rovoCh.optIn) === true;
|
|
38
28
|
var url = (0, _extractSmartLinkUrl.extractSmartLinkUrl)(response);
|
|
39
|
-
return
|
|
29
|
+
return actionOptions !== null && actionOptions !== void 0 && (_actionOptions$rovoCh = actionOptions.rovoChatAction) !== null && _actionOptions$rovoCh !== void 0 && _actionOptions$rovoCh.optIn ? {
|
|
40
30
|
invokeAction: {
|
|
41
31
|
actionSubjectId: 'rovoChatPrompt',
|
|
42
32
|
actionType: _constants.ActionName.RovoChatAction,
|
|
@@ -6,8 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
10
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
11
9
|
var _rovo = require("../../../utils/rovo");
|
|
12
10
|
var _helpers = require("../../helpers");
|
|
13
11
|
var _store = require("../../store");
|
|
@@ -18,20 +16,19 @@ var NOT_ENABLED_RESULT = {
|
|
|
18
16
|
};
|
|
19
17
|
|
|
20
18
|
/**
|
|
21
|
-
* Returns whether the
|
|
22
|
-
*
|
|
19
|
+
* Returns whether the tailored inline actions
|
|
20
|
+
* are enabled for the current user and link context.
|
|
23
21
|
*
|
|
24
22
|
* All eligibility criteria are consolidated here:
|
|
25
23
|
* 1. Rovo chat must be enabled for the tenant.
|
|
26
24
|
* 2. The consumer must have opted in via actionOptions.rovoChatAction.optIn.
|
|
27
25
|
* 3. The link must support the RovoActions feature.
|
|
28
26
|
* 4. The extension key must be one of the supported options.
|
|
29
|
-
* 5. The experiment value must be true (via tmp-editor-statsig).
|
|
30
27
|
*
|
|
31
28
|
* The extension key is derived from the card store via the resolved URL,
|
|
32
29
|
* so callers don't need to thread it as a prop.
|
|
33
30
|
*/
|
|
34
|
-
var
|
|
31
|
+
var useInlineTailoredAction = function useInlineTailoredAction(url, showHoverPreview, actionOptions) {
|
|
35
32
|
var _actionOptions$rovoCh, _actionOptions$rovoCh2;
|
|
36
33
|
var _useRovoConfig = (0, _useRovoConfig2.default)(),
|
|
37
34
|
rovoConfig = _useRovoConfig.rovoOptions;
|
|
@@ -46,10 +43,9 @@ var useInlineTailoredActionExperiment = function useInlineTailoredActionExperime
|
|
|
46
43
|
if (!extensionKey || !ELIGIBLE_EXTENSION_KEYS.has(extensionKey)) {
|
|
47
44
|
return NOT_ENABLED_RESULT;
|
|
48
45
|
}
|
|
49
|
-
var isEnabled = (0, _fg.fg)('platform_sl_3p_auth_inline_tailored_cta_killswitch') && (0, _expValEquals.expValEquals)('platform_sl_3p_auth_inline_tailored_cta', 'isEnabled', true);
|
|
50
46
|
return {
|
|
51
|
-
isEnabled:
|
|
47
|
+
isEnabled: true
|
|
52
48
|
};
|
|
53
49
|
}, [isRovoChatEnabled, extensionKey, showHoverPreview, url, isRovoChatActionOptedIn]);
|
|
54
50
|
};
|
|
55
|
-
var _default = exports.default =
|
|
51
|
+
var _default = exports.default = useInlineTailoredAction;
|
|
@@ -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: "45.19.
|
|
14
|
+
packageVersion: "45.19.3" || ''
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -65,8 +65,7 @@ var EmbedFrameWithRovoFooter = function EmbedFrameWithRovoFooter(_ref) {
|
|
|
65
65
|
},
|
|
66
66
|
product: product,
|
|
67
67
|
actionOptions: actionOptions,
|
|
68
|
-
appearance: _constants.CardDisplay.Embed
|
|
69
|
-
isEmbedRovoActionsFooterExperimentEnabled: isEmbedRovoActionsFooterEnabled
|
|
68
|
+
appearance: _constants.CardDisplay.Embed
|
|
70
69
|
}) : undefined;
|
|
71
70
|
}, [actionOptions, details, isEmbedRovoActionsFooterEnabled, product, rovoOptions]);
|
|
72
71
|
var prompts = _react.default.useMemo(function () {
|
|
@@ -4,18 +4,15 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.
|
|
8
|
-
exports.InlineCardResolvedViewFunctional = void 0;
|
|
9
|
-
exports.InlineCardResolvedViewFunctionalWithRovoActions = InlineCardResolvedViewFunctionalWithRovoActions;
|
|
7
|
+
exports.InlineCardResolvedViewFunctional = InlineCardResolvedViewFunctional;
|
|
10
8
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
var
|
|
12
|
-
var _useInlineTailoredActionExperiment = _interopRequireDefault(require("../../../state/hooks/use-inline-tailored-action-experiment"));
|
|
9
|
+
var _useInlineTailoredActions = _interopRequireDefault(require("../../../state/hooks/use-inline-tailored-actions"));
|
|
13
10
|
var _HoverCard = require("../../HoverCard");
|
|
14
11
|
var _rovoActionsCta = require("../common/rovo-actions-cta");
|
|
15
12
|
var _Frame = require("../Frame");
|
|
16
13
|
var _IconAndTitleLayout = require("../IconAndTitleLayout");
|
|
17
14
|
var _renderLozenge = require("./renderLozenge");
|
|
18
|
-
function
|
|
15
|
+
function InlineCardResolvedViewFunctional(_ref) {
|
|
19
16
|
var id = _ref.id,
|
|
20
17
|
_ref$title = _ref.title,
|
|
21
18
|
title = _ref$title === void 0 ? '' : _ref$title,
|
|
@@ -38,57 +35,7 @@ function InlineCardResolvedViewBase(_ref) {
|
|
|
38
35
|
type = _ref.type,
|
|
39
36
|
hideIconLoadingSkeleton = _ref.hideIconLoadingSkeleton,
|
|
40
37
|
lozenge = _ref.lozenge;
|
|
41
|
-
var
|
|
42
|
-
testId: testId,
|
|
43
|
-
link: link,
|
|
44
|
-
isSelected: isSelected,
|
|
45
|
-
isHovered: isHovered,
|
|
46
|
-
onClick: onClick,
|
|
47
|
-
onAuxClick: onAuxClick,
|
|
48
|
-
onContextMenu: onContextMenu,
|
|
49
|
-
truncateInline: truncateInline
|
|
50
|
-
}, /*#__PURE__*/_react.default.createElement(_IconAndTitleLayout.IconAndTitleLayout, {
|
|
51
|
-
emoji: titlePrefix,
|
|
52
|
-
icon: icon,
|
|
53
|
-
title: title,
|
|
54
|
-
titleTextColor: titleTextColor,
|
|
55
|
-
type: type,
|
|
56
|
-
hideIconLoadingSkeleton: hideIconLoadingSkeleton
|
|
57
|
-
}), (0, _renderLozenge.renderLozenge)(lozenge));
|
|
58
|
-
if (!showHoverPreview || !link) {
|
|
59
|
-
return frame;
|
|
60
|
-
}
|
|
61
|
-
return /*#__PURE__*/_react.default.createElement(_HoverCard.HoverCard, {
|
|
62
|
-
id: id,
|
|
63
|
-
url: link,
|
|
64
|
-
actionOptions: actionOptions,
|
|
65
|
-
hoverPreviewOptions: hoverPreviewOptions
|
|
66
|
-
}, frame);
|
|
67
|
-
}
|
|
68
|
-
function InlineCardResolvedViewFunctionalWithRovoActions(_ref2) {
|
|
69
|
-
var id = _ref2.id,
|
|
70
|
-
_ref2$title = _ref2.title,
|
|
71
|
-
title = _ref2$title === void 0 ? '' : _ref2$title,
|
|
72
|
-
isSelected = _ref2.isSelected,
|
|
73
|
-
isHovered = _ref2.isHovered,
|
|
74
|
-
onClick = _ref2.onClick,
|
|
75
|
-
onAuxClick = _ref2.onAuxClick,
|
|
76
|
-
onContextMenu = _ref2.onContextMenu,
|
|
77
|
-
icon = _ref2.icon,
|
|
78
|
-
link = _ref2.link,
|
|
79
|
-
_ref2$testId = _ref2.testId,
|
|
80
|
-
testId = _ref2$testId === void 0 ? 'inline-card-resolved-view' : _ref2$testId,
|
|
81
|
-
titleTextColor = _ref2.titleTextColor,
|
|
82
|
-
titlePrefix = _ref2.titlePrefix,
|
|
83
|
-
_ref2$showHoverPrevie = _ref2.showHoverPreview,
|
|
84
|
-
showHoverPreview = _ref2$showHoverPrevie === void 0 ? false : _ref2$showHoverPrevie,
|
|
85
|
-
hoverPreviewOptions = _ref2.hoverPreviewOptions,
|
|
86
|
-
actionOptions = _ref2.actionOptions,
|
|
87
|
-
truncateInline = _ref2.truncateInline,
|
|
88
|
-
type = _ref2.type,
|
|
89
|
-
hideIconLoadingSkeleton = _ref2.hideIconLoadingSkeleton,
|
|
90
|
-
lozenge = _ref2.lozenge;
|
|
91
|
-
var _useInlineTailoredAct = (0, _useInlineTailoredActionExperiment.default)(link, showHoverPreview, actionOptions),
|
|
38
|
+
var _useInlineTailoredAct = (0, _useInlineTailoredActions.default)(link, showHoverPreview, actionOptions),
|
|
92
39
|
isInlineTailoredRovoActionEnabled = _useInlineTailoredAct.isEnabled;
|
|
93
40
|
|
|
94
41
|
// TODO https://hello.jira.atlassian.cloud/browse/NAVX-4436: fire analytics with cohort
|
|
@@ -122,5 +69,4 @@ function InlineCardResolvedViewFunctionalWithRovoActions(_ref2) {
|
|
|
122
69
|
actionOptions: actionOptions,
|
|
123
70
|
hoverPreviewOptions: hoverPreviewOptions
|
|
124
71
|
}, frame);
|
|
125
|
-
}
|
|
126
|
-
var InlineCardResolvedViewFunctional = exports.InlineCardResolvedViewFunctional = (0, _componentWithFg.componentWithFG)('platform_sl_3p_auth_inline_tailored_cta_killswitch', InlineCardResolvedViewFunctionalWithRovoActions, InlineCardResolvedViewBase);
|
|
72
|
+
}
|
|
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
19
19
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
20
20
|
var PACKAGE_DATA = {
|
|
21
21
|
packageName: "@atlaskit/smart-card",
|
|
22
|
-
packageVersion: "45.19.
|
|
22
|
+
packageVersion: "45.19.3",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { extractSmartLinkUrl } from '@atlaskit/link-extractors/extract-smart-link-url';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
|
-
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
4
2
|
import { ActionName, CardAction } from '../../../constants';
|
|
5
3
|
import { getDefinitionId, getExtensionKey, getResourceType } from '../../../state/helpers';
|
|
6
4
|
import { canShowAction } from '../../../utils/actions/can-show-action';
|
|
7
5
|
import { getIsRovoChatEnabled } from '../../../utils/rovo';
|
|
8
|
-
// For block card experiment (NAVX-4814)
|
|
9
|
-
const ELIGIBLE_EXTENSION_KEYS = new Set(['slack-object-provider', 'google-object-provider', 'onedrive-object-provider', 'github-object-provider', 'ms-teams-object-provider', 'gitlab-object-provider', 'salesforce-object-provider']);
|
|
10
6
|
const extractRovoChatAction = ({
|
|
11
7
|
actionOptions,
|
|
12
8
|
appearance,
|
|
13
9
|
id,
|
|
14
|
-
isEmbedRovoActionsFooterExperimentEnabled,
|
|
15
10
|
product,
|
|
16
11
|
response,
|
|
17
12
|
rovoConfig
|
|
@@ -25,13 +20,8 @@ const extractRovoChatAction = ({
|
|
|
25
20
|
return;
|
|
26
21
|
}
|
|
27
22
|
const extensionKey = getExtensionKey(response);
|
|
28
|
-
const isInlineExperimentEnabled = fg('platform_sl_3p_auth_inline_tailored_cta_killswitch') && expValEqualsNoExposure('platform_sl_3p_auth_inline_tailored_cta', 'isEnabled', true);
|
|
29
|
-
const is3PBlockPostAuthActionsEnabled = extensionKey !== undefined && ELIGIBLE_EXTENSION_KEYS.has(extensionKey) && (rovoConfig === null || rovoConfig === void 0 ? void 0 : rovoConfig.product) === 'CONFLUENCE';
|
|
30
|
-
const is3PEmbedPostAuthActionsEnabled = isEmbedRovoActionsFooterExperimentEnabled === true;
|
|
31
|
-
const isSupportedFeature = is3PBlockPostAuthActionsEnabled || isInlineExperimentEnabled || is3PEmbedPostAuthActionsEnabled;
|
|
32
|
-
const isOptIn = (actionOptions === null || actionOptions === void 0 ? void 0 : (_actionOptions$rovoCh = actionOptions.rovoChatAction) === null || _actionOptions$rovoCh === void 0 ? void 0 : _actionOptions$rovoCh.optIn) === true;
|
|
33
23
|
const url = extractSmartLinkUrl(response);
|
|
34
|
-
return
|
|
24
|
+
return actionOptions !== null && actionOptions !== void 0 && (_actionOptions$rovoCh = actionOptions.rovoChatAction) !== null && _actionOptions$rovoCh !== void 0 && _actionOptions$rovoCh.optIn ? {
|
|
35
25
|
invokeAction: {
|
|
36
26
|
actionSubjectId: 'rovoChatPrompt',
|
|
37
27
|
actionType: ActionName.RovoChatAction,
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
4
2
|
import { getIsRovoChatEnabled } from '../../../utils/rovo';
|
|
5
3
|
import { getExtensionKey } from '../../helpers';
|
|
6
4
|
import { useSmartCardState } from '../../store';
|
|
@@ -11,20 +9,19 @@ const NOT_ENABLED_RESULT = {
|
|
|
11
9
|
};
|
|
12
10
|
|
|
13
11
|
/**
|
|
14
|
-
* Returns whether the
|
|
15
|
-
*
|
|
12
|
+
* Returns whether the tailored inline actions
|
|
13
|
+
* are enabled for the current user and link context.
|
|
16
14
|
*
|
|
17
15
|
* All eligibility criteria are consolidated here:
|
|
18
16
|
* 1. Rovo chat must be enabled for the tenant.
|
|
19
17
|
* 2. The consumer must have opted in via actionOptions.rovoChatAction.optIn.
|
|
20
18
|
* 3. The link must support the RovoActions feature.
|
|
21
19
|
* 4. The extension key must be one of the supported options.
|
|
22
|
-
* 5. The experiment value must be true (via tmp-editor-statsig).
|
|
23
20
|
*
|
|
24
21
|
* The extension key is derived from the card store via the resolved URL,
|
|
25
22
|
* so callers don't need to thread it as a prop.
|
|
26
23
|
*/
|
|
27
|
-
const
|
|
24
|
+
const useInlineTailoredAction = (url, showHoverPreview, actionOptions) => {
|
|
28
25
|
var _actionOptions$rovoCh, _actionOptions$rovoCh2;
|
|
29
26
|
const {
|
|
30
27
|
rovoOptions: rovoConfig
|
|
@@ -40,10 +37,9 @@ const useInlineTailoredActionExperiment = (url, showHoverPreview, actionOptions)
|
|
|
40
37
|
if (!extensionKey || !ELIGIBLE_EXTENSION_KEYS.has(extensionKey)) {
|
|
41
38
|
return NOT_ENABLED_RESULT;
|
|
42
39
|
}
|
|
43
|
-
const isEnabled = fg('platform_sl_3p_auth_inline_tailored_cta_killswitch') && expValEquals('platform_sl_3p_auth_inline_tailored_cta', 'isEnabled', true);
|
|
44
40
|
return {
|
|
45
|
-
isEnabled
|
|
41
|
+
isEnabled: true
|
|
46
42
|
};
|
|
47
43
|
}, [isRovoChatEnabled, extensionKey, showHoverPreview, url, isRovoChatActionOptedIn]);
|
|
48
44
|
};
|
|
49
|
-
export default
|
|
45
|
+
export default useInlineTailoredAction;
|
|
@@ -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: "45.19.
|
|
5
|
+
packageVersion: "45.19.3" || ''
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -49,8 +49,7 @@ const EmbedFrameWithRovoFooter = ({
|
|
|
49
49
|
},
|
|
50
50
|
product,
|
|
51
51
|
actionOptions,
|
|
52
|
-
appearance: CardDisplay.Embed
|
|
53
|
-
isEmbedRovoActionsFooterExperimentEnabled: isEmbedRovoActionsFooterEnabled
|
|
52
|
+
appearance: CardDisplay.Embed
|
|
54
53
|
}) : undefined, [actionOptions, details, isEmbedRovoActionsFooterEnabled, product, rovoOptions]);
|
|
55
54
|
const prompts = React.useMemo(() => {
|
|
56
55
|
if (!isEmbedRovoActionsFooterEnabled) {
|
|
@@ -1,60 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import useInlineTailoredActionExperiment from '../../../state/hooks/use-inline-tailored-action-experiment';
|
|
2
|
+
import useInlineTailoredAction from '../../../state/hooks/use-inline-tailored-actions';
|
|
4
3
|
import { HoverCard } from '../../HoverCard';
|
|
5
4
|
import { InlineRovoActionButton } from '../common/rovo-actions-cta';
|
|
6
5
|
import { Frame } from '../Frame';
|
|
7
6
|
import { IconAndTitleLayout } from '../IconAndTitleLayout';
|
|
8
7
|
import { renderLozenge } from './renderLozenge';
|
|
9
|
-
export function
|
|
10
|
-
id,
|
|
11
|
-
title = '',
|
|
12
|
-
isSelected,
|
|
13
|
-
isHovered,
|
|
14
|
-
onClick,
|
|
15
|
-
onAuxClick,
|
|
16
|
-
onContextMenu,
|
|
17
|
-
icon,
|
|
18
|
-
link,
|
|
19
|
-
testId = 'inline-card-resolved-view',
|
|
20
|
-
titleTextColor,
|
|
21
|
-
titlePrefix,
|
|
22
|
-
showHoverPreview = false,
|
|
23
|
-
hoverPreviewOptions,
|
|
24
|
-
actionOptions,
|
|
25
|
-
truncateInline,
|
|
26
|
-
type,
|
|
27
|
-
hideIconLoadingSkeleton,
|
|
28
|
-
lozenge
|
|
29
|
-
}) {
|
|
30
|
-
const frame = /*#__PURE__*/React.createElement(Frame, {
|
|
31
|
-
testId: testId,
|
|
32
|
-
link: link,
|
|
33
|
-
isSelected: isSelected,
|
|
34
|
-
isHovered: isHovered,
|
|
35
|
-
onClick: onClick,
|
|
36
|
-
onAuxClick: onAuxClick,
|
|
37
|
-
onContextMenu: onContextMenu,
|
|
38
|
-
truncateInline: truncateInline
|
|
39
|
-
}, /*#__PURE__*/React.createElement(IconAndTitleLayout, {
|
|
40
|
-
emoji: titlePrefix,
|
|
41
|
-
icon: icon,
|
|
42
|
-
title: title,
|
|
43
|
-
titleTextColor: titleTextColor,
|
|
44
|
-
type: type,
|
|
45
|
-
hideIconLoadingSkeleton: hideIconLoadingSkeleton
|
|
46
|
-
}), renderLozenge(lozenge));
|
|
47
|
-
if (!showHoverPreview || !link) {
|
|
48
|
-
return frame;
|
|
49
|
-
}
|
|
50
|
-
return /*#__PURE__*/React.createElement(HoverCard, {
|
|
51
|
-
id: id,
|
|
52
|
-
url: link,
|
|
53
|
-
actionOptions: actionOptions,
|
|
54
|
-
hoverPreviewOptions: hoverPreviewOptions
|
|
55
|
-
}, frame);
|
|
56
|
-
}
|
|
57
|
-
export function InlineCardResolvedViewFunctionalWithRovoActions({
|
|
8
|
+
export function InlineCardResolvedViewFunctional({
|
|
58
9
|
id,
|
|
59
10
|
title = '',
|
|
60
11
|
isSelected,
|
|
@@ -77,7 +28,7 @@ export function InlineCardResolvedViewFunctionalWithRovoActions({
|
|
|
77
28
|
}) {
|
|
78
29
|
const {
|
|
79
30
|
isEnabled: isInlineTailoredRovoActionEnabled
|
|
80
|
-
} =
|
|
31
|
+
} = useInlineTailoredAction(link, showHoverPreview, actionOptions);
|
|
81
32
|
|
|
82
33
|
// TODO https://hello.jira.atlassian.cloud/browse/NAVX-4436: fire analytics with cohort
|
|
83
34
|
const frame = /*#__PURE__*/React.createElement(Frame, {
|
|
@@ -110,5 +61,4 @@ export function InlineCardResolvedViewFunctionalWithRovoActions({
|
|
|
110
61
|
actionOptions: actionOptions,
|
|
111
62
|
hoverPreviewOptions: hoverPreviewOptions
|
|
112
63
|
}, frame);
|
|
113
|
-
}
|
|
114
|
-
export const InlineCardResolvedViewFunctional = componentWithFG('platform_sl_3p_auth_inline_tailored_cta_killswitch', InlineCardResolvedViewFunctionalWithRovoActions, InlineCardResolvedViewBase);
|
|
64
|
+
}
|
|
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
9
9
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
10
10
|
const PACKAGE_DATA = {
|
|
11
11
|
packageName: "@atlaskit/smart-card",
|
|
12
|
-
packageVersion: "45.19.
|
|
12
|
+
packageVersion: "45.19.3",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const LinkUrl = ({
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import { extractSmartLinkUrl } from '@atlaskit/link-extractors/extract-smart-link-url';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
|
-
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
4
2
|
import { ActionName, CardAction } from '../../../constants';
|
|
5
3
|
import { getDefinitionId, getExtensionKey, getResourceType } from '../../../state/helpers';
|
|
6
4
|
import { canShowAction } from '../../../utils/actions/can-show-action';
|
|
7
5
|
import { getIsRovoChatEnabled } from '../../../utils/rovo';
|
|
8
|
-
// For block card experiment (NAVX-4814)
|
|
9
|
-
var ELIGIBLE_EXTENSION_KEYS = new Set(['slack-object-provider', 'google-object-provider', 'onedrive-object-provider', 'github-object-provider', 'ms-teams-object-provider', 'gitlab-object-provider', 'salesforce-object-provider']);
|
|
10
6
|
var extractRovoChatAction = function extractRovoChatAction(_ref) {
|
|
11
7
|
var _actionOptions$rovoCh;
|
|
12
8
|
var actionOptions = _ref.actionOptions,
|
|
13
9
|
appearance = _ref.appearance,
|
|
14
10
|
id = _ref.id,
|
|
15
|
-
isEmbedRovoActionsFooterExperimentEnabled = _ref.isEmbedRovoActionsFooterExperimentEnabled,
|
|
16
11
|
product = _ref.product,
|
|
17
12
|
response = _ref.response,
|
|
18
13
|
rovoConfig = _ref.rovoConfig;
|
|
@@ -24,13 +19,8 @@ var extractRovoChatAction = function extractRovoChatAction(_ref) {
|
|
|
24
19
|
return;
|
|
25
20
|
}
|
|
26
21
|
var extensionKey = getExtensionKey(response);
|
|
27
|
-
var isInlineExperimentEnabled = fg('platform_sl_3p_auth_inline_tailored_cta_killswitch') && expValEqualsNoExposure('platform_sl_3p_auth_inline_tailored_cta', 'isEnabled', true);
|
|
28
|
-
var is3PBlockPostAuthActionsEnabled = extensionKey !== undefined && ELIGIBLE_EXTENSION_KEYS.has(extensionKey) && (rovoConfig === null || rovoConfig === void 0 ? void 0 : rovoConfig.product) === 'CONFLUENCE';
|
|
29
|
-
var is3PEmbedPostAuthActionsEnabled = isEmbedRovoActionsFooterExperimentEnabled === true;
|
|
30
|
-
var isSupportedFeature = is3PBlockPostAuthActionsEnabled || isInlineExperimentEnabled || is3PEmbedPostAuthActionsEnabled;
|
|
31
|
-
var isOptIn = (actionOptions === null || actionOptions === void 0 || (_actionOptions$rovoCh = actionOptions.rovoChatAction) === null || _actionOptions$rovoCh === void 0 ? void 0 : _actionOptions$rovoCh.optIn) === true;
|
|
32
22
|
var url = extractSmartLinkUrl(response);
|
|
33
|
-
return
|
|
23
|
+
return actionOptions !== null && actionOptions !== void 0 && (_actionOptions$rovoCh = actionOptions.rovoChatAction) !== null && _actionOptions$rovoCh !== void 0 && _actionOptions$rovoCh.optIn ? {
|
|
34
24
|
invokeAction: {
|
|
35
25
|
actionSubjectId: 'rovoChatPrompt',
|
|
36
26
|
actionType: ActionName.RovoChatAction,
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
4
2
|
import { getIsRovoChatEnabled } from '../../../utils/rovo';
|
|
5
3
|
import { getExtensionKey } from '../../helpers';
|
|
6
4
|
import { useSmartCardState } from '../../store';
|
|
@@ -11,20 +9,19 @@ var NOT_ENABLED_RESULT = {
|
|
|
11
9
|
};
|
|
12
10
|
|
|
13
11
|
/**
|
|
14
|
-
* Returns whether the
|
|
15
|
-
*
|
|
12
|
+
* Returns whether the tailored inline actions
|
|
13
|
+
* are enabled for the current user and link context.
|
|
16
14
|
*
|
|
17
15
|
* All eligibility criteria are consolidated here:
|
|
18
16
|
* 1. Rovo chat must be enabled for the tenant.
|
|
19
17
|
* 2. The consumer must have opted in via actionOptions.rovoChatAction.optIn.
|
|
20
18
|
* 3. The link must support the RovoActions feature.
|
|
21
19
|
* 4. The extension key must be one of the supported options.
|
|
22
|
-
* 5. The experiment value must be true (via tmp-editor-statsig).
|
|
23
20
|
*
|
|
24
21
|
* The extension key is derived from the card store via the resolved URL,
|
|
25
22
|
* so callers don't need to thread it as a prop.
|
|
26
23
|
*/
|
|
27
|
-
var
|
|
24
|
+
var useInlineTailoredAction = function useInlineTailoredAction(url, showHoverPreview, actionOptions) {
|
|
28
25
|
var _actionOptions$rovoCh, _actionOptions$rovoCh2;
|
|
29
26
|
var _useRovoConfig = useRovoConfig(),
|
|
30
27
|
rovoConfig = _useRovoConfig.rovoOptions;
|
|
@@ -39,10 +36,9 @@ var useInlineTailoredActionExperiment = function useInlineTailoredActionExperime
|
|
|
39
36
|
if (!extensionKey || !ELIGIBLE_EXTENSION_KEYS.has(extensionKey)) {
|
|
40
37
|
return NOT_ENABLED_RESULT;
|
|
41
38
|
}
|
|
42
|
-
var isEnabled = fg('platform_sl_3p_auth_inline_tailored_cta_killswitch') && expValEquals('platform_sl_3p_auth_inline_tailored_cta', 'isEnabled', true);
|
|
43
39
|
return {
|
|
44
|
-
isEnabled:
|
|
40
|
+
isEnabled: true
|
|
45
41
|
};
|
|
46
42
|
}, [isRovoChatEnabled, extensionKey, showHoverPreview, url, isRovoChatActionOptedIn]);
|
|
47
43
|
};
|
|
48
|
-
export default
|
|
44
|
+
export default useInlineTailoredAction;
|
|
@@ -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: "45.19.
|
|
7
|
+
packageVersion: "45.19.3" || ''
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -54,8 +54,7 @@ var EmbedFrameWithRovoFooter = function EmbedFrameWithRovoFooter(_ref) {
|
|
|
54
54
|
},
|
|
55
55
|
product: product,
|
|
56
56
|
actionOptions: actionOptions,
|
|
57
|
-
appearance: CardDisplay.Embed
|
|
58
|
-
isEmbedRovoActionsFooterExperimentEnabled: isEmbedRovoActionsFooterEnabled
|
|
57
|
+
appearance: CardDisplay.Embed
|
|
59
58
|
}) : undefined;
|
|
60
59
|
}, [actionOptions, details, isEmbedRovoActionsFooterEnabled, product, rovoOptions]);
|
|
61
60
|
var prompts = React.useMemo(function () {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import useInlineTailoredActionExperiment from '../../../state/hooks/use-inline-tailored-action-experiment';
|
|
2
|
+
import useInlineTailoredAction from '../../../state/hooks/use-inline-tailored-actions';
|
|
4
3
|
import { HoverCard } from '../../HoverCard';
|
|
5
4
|
import { InlineRovoActionButton } from '../common/rovo-actions-cta';
|
|
6
5
|
import { Frame } from '../Frame';
|
|
7
6
|
import { IconAndTitleLayout } from '../IconAndTitleLayout';
|
|
8
7
|
import { renderLozenge } from './renderLozenge';
|
|
9
|
-
export function
|
|
8
|
+
export function InlineCardResolvedViewFunctional(_ref) {
|
|
10
9
|
var id = _ref.id,
|
|
11
10
|
_ref$title = _ref.title,
|
|
12
11
|
title = _ref$title === void 0 ? '' : _ref$title,
|
|
@@ -29,57 +28,7 @@ export function InlineCardResolvedViewBase(_ref) {
|
|
|
29
28
|
type = _ref.type,
|
|
30
29
|
hideIconLoadingSkeleton = _ref.hideIconLoadingSkeleton,
|
|
31
30
|
lozenge = _ref.lozenge;
|
|
32
|
-
var
|
|
33
|
-
testId: testId,
|
|
34
|
-
link: link,
|
|
35
|
-
isSelected: isSelected,
|
|
36
|
-
isHovered: isHovered,
|
|
37
|
-
onClick: onClick,
|
|
38
|
-
onAuxClick: onAuxClick,
|
|
39
|
-
onContextMenu: onContextMenu,
|
|
40
|
-
truncateInline: truncateInline
|
|
41
|
-
}, /*#__PURE__*/React.createElement(IconAndTitleLayout, {
|
|
42
|
-
emoji: titlePrefix,
|
|
43
|
-
icon: icon,
|
|
44
|
-
title: title,
|
|
45
|
-
titleTextColor: titleTextColor,
|
|
46
|
-
type: type,
|
|
47
|
-
hideIconLoadingSkeleton: hideIconLoadingSkeleton
|
|
48
|
-
}), renderLozenge(lozenge));
|
|
49
|
-
if (!showHoverPreview || !link) {
|
|
50
|
-
return frame;
|
|
51
|
-
}
|
|
52
|
-
return /*#__PURE__*/React.createElement(HoverCard, {
|
|
53
|
-
id: id,
|
|
54
|
-
url: link,
|
|
55
|
-
actionOptions: actionOptions,
|
|
56
|
-
hoverPreviewOptions: hoverPreviewOptions
|
|
57
|
-
}, frame);
|
|
58
|
-
}
|
|
59
|
-
export function InlineCardResolvedViewFunctionalWithRovoActions(_ref2) {
|
|
60
|
-
var id = _ref2.id,
|
|
61
|
-
_ref2$title = _ref2.title,
|
|
62
|
-
title = _ref2$title === void 0 ? '' : _ref2$title,
|
|
63
|
-
isSelected = _ref2.isSelected,
|
|
64
|
-
isHovered = _ref2.isHovered,
|
|
65
|
-
onClick = _ref2.onClick,
|
|
66
|
-
onAuxClick = _ref2.onAuxClick,
|
|
67
|
-
onContextMenu = _ref2.onContextMenu,
|
|
68
|
-
icon = _ref2.icon,
|
|
69
|
-
link = _ref2.link,
|
|
70
|
-
_ref2$testId = _ref2.testId,
|
|
71
|
-
testId = _ref2$testId === void 0 ? 'inline-card-resolved-view' : _ref2$testId,
|
|
72
|
-
titleTextColor = _ref2.titleTextColor,
|
|
73
|
-
titlePrefix = _ref2.titlePrefix,
|
|
74
|
-
_ref2$showHoverPrevie = _ref2.showHoverPreview,
|
|
75
|
-
showHoverPreview = _ref2$showHoverPrevie === void 0 ? false : _ref2$showHoverPrevie,
|
|
76
|
-
hoverPreviewOptions = _ref2.hoverPreviewOptions,
|
|
77
|
-
actionOptions = _ref2.actionOptions,
|
|
78
|
-
truncateInline = _ref2.truncateInline,
|
|
79
|
-
type = _ref2.type,
|
|
80
|
-
hideIconLoadingSkeleton = _ref2.hideIconLoadingSkeleton,
|
|
81
|
-
lozenge = _ref2.lozenge;
|
|
82
|
-
var _useInlineTailoredAct = useInlineTailoredActionExperiment(link, showHoverPreview, actionOptions),
|
|
31
|
+
var _useInlineTailoredAct = useInlineTailoredAction(link, showHoverPreview, actionOptions),
|
|
83
32
|
isInlineTailoredRovoActionEnabled = _useInlineTailoredAct.isEnabled;
|
|
84
33
|
|
|
85
34
|
// TODO https://hello.jira.atlassian.cloud/browse/NAVX-4436: fire analytics with cohort
|
|
@@ -113,5 +62,4 @@ export function InlineCardResolvedViewFunctionalWithRovoActions(_ref2) {
|
|
|
113
62
|
actionOptions: actionOptions,
|
|
114
63
|
hoverPreviewOptions: hoverPreviewOptions
|
|
115
64
|
}, frame);
|
|
116
|
-
}
|
|
117
|
-
export var InlineCardResolvedViewFunctional = componentWithFG('platform_sl_3p_auth_inline_tailored_cta_killswitch', InlineCardResolvedViewFunctionalWithRovoActions, InlineCardResolvedViewBase);
|
|
65
|
+
}
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
var PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "45.19.
|
|
15
|
+
packageVersion: "45.19.3",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -13,5 +13,5 @@ type ExtractInvokeRovoChatActionParam = {
|
|
|
13
13
|
response: JsonLd.Response;
|
|
14
14
|
rovoConfig?: RovoConfig;
|
|
15
15
|
};
|
|
16
|
-
declare const extractRovoChatAction: ({ actionOptions, appearance, id,
|
|
16
|
+
declare const extractRovoChatAction: ({ actionOptions, appearance, id, product, response, rovoConfig, }: ExtractInvokeRovoChatActionParam) => RovoChatActionData | undefined;
|
|
17
17
|
export default extractRovoChatAction;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CardActionOptions } from '../../../view/Card/types';
|
|
2
|
-
export interface
|
|
2
|
+
export interface InlineTailoredAction {
|
|
3
3
|
/**
|
|
4
4
|
* True when the user is in the treatment cohort and should see the
|
|
5
5
|
* inline action button UI. All treatment surfaces should gate on this.
|
|
@@ -7,18 +7,17 @@ export interface InlineTailoredActionExperiment {
|
|
|
7
7
|
isEnabled: boolean;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Returns whether the
|
|
11
|
-
*
|
|
10
|
+
* Returns whether the tailored inline actions
|
|
11
|
+
* are enabled for the current user and link context.
|
|
12
12
|
*
|
|
13
13
|
* All eligibility criteria are consolidated here:
|
|
14
14
|
* 1. Rovo chat must be enabled for the tenant.
|
|
15
15
|
* 2. The consumer must have opted in via actionOptions.rovoChatAction.optIn.
|
|
16
16
|
* 3. The link must support the RovoActions feature.
|
|
17
17
|
* 4. The extension key must be one of the supported options.
|
|
18
|
-
* 5. The experiment value must be true (via tmp-editor-statsig).
|
|
19
18
|
*
|
|
20
19
|
* The extension key is derived from the card store via the resolved URL,
|
|
21
20
|
* so callers don't need to thread it as a prop.
|
|
22
21
|
*/
|
|
23
|
-
declare const
|
|
24
|
-
export default
|
|
22
|
+
declare const useInlineTailoredAction: (url?: string, showHoverPreview?: boolean, actionOptions?: CardActionOptions) => InlineTailoredAction;
|
|
23
|
+
export default useInlineTailoredAction;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type InlineCardResolvedViewFunctionalProps } from './types';
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function InlineCardResolvedViewFunctionalWithRovoActions({ id, title, isSelected, isHovered, onClick, onAuxClick, onContextMenu, icon, link, testId, titleTextColor, titlePrefix, showHoverPreview, hoverPreviewOptions, actionOptions, truncateInline, type, hideIconLoadingSkeleton, lozenge, }: InlineCardResolvedViewFunctionalProps): React.JSX.Element;
|
|
5
|
-
export declare const InlineCardResolvedViewFunctional: React.FC<InlineCardResolvedViewFunctionalProps>;
|
|
3
|
+
export declare function InlineCardResolvedViewFunctional({ id, title, isSelected, isHovered, onClick, onAuxClick, onContextMenu, icon, link, testId, titleTextColor, titlePrefix, showHoverPreview, hoverPreviewOptions, actionOptions, truncateInline, type, hideIconLoadingSkeleton, lozenge, }: InlineCardResolvedViewFunctionalProps): React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "45.19.
|
|
3
|
+
"version": "45.19.4",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@atlaskit/checkbox": "^19.2.0",
|
|
49
49
|
"@atlaskit/css": "^1.1.0",
|
|
50
50
|
"@atlaskit/dropdown-menu": "^18.3.0",
|
|
51
|
-
"@atlaskit/embedded-confluence": "^6.
|
|
51
|
+
"@atlaskit/embedded-confluence": "^6.4.0",
|
|
52
52
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
53
53
|
"@atlaskit/flag": "^18.5.0",
|
|
54
54
|
"@atlaskit/form": "^17.2.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@atlaskit/primitives": "^22.5.0",
|
|
81
81
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
82
82
|
"@atlaskit/react-ufo": "^7.7.0",
|
|
83
|
-
"@atlaskit/rovo-triggers": "^10.
|
|
83
|
+
"@atlaskit/rovo-triggers": "^10.24.0",
|
|
84
84
|
"@atlaskit/section-message": "^10.2.0",
|
|
85
85
|
"@atlaskit/select": "^22.11.0",
|
|
86
86
|
"@atlaskit/spinner": "^20.4.0",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@atlaskit/textfield": "^10.2.0",
|
|
91
91
|
"@atlaskit/theme": "^28.2.0",
|
|
92
92
|
"@atlaskit/tile": "^4.1.0",
|
|
93
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
93
|
+
"@atlaskit/tmp-editor-statsig": "^171.0.0",
|
|
94
94
|
"@atlaskit/tokens": "^16.11.0",
|
|
95
95
|
"@atlaskit/tooltip": "^24.3.0",
|
|
96
96
|
"@atlaskit/ufo": "^1.2.0",
|
|
@@ -159,25 +159,6 @@
|
|
|
159
159
|
"ts-jest": "^29.2.2",
|
|
160
160
|
"xhr-mock": "^2.4.0"
|
|
161
161
|
},
|
|
162
|
-
"techstack": {
|
|
163
|
-
"@repo/internal": {
|
|
164
|
-
"design-tokens": [
|
|
165
|
-
"color",
|
|
166
|
-
"spacing"
|
|
167
|
-
],
|
|
168
|
-
"styling": [
|
|
169
|
-
"compiled"
|
|
170
|
-
]
|
|
171
|
-
},
|
|
172
|
-
"@atlassian/frontend": {
|
|
173
|
-
"import-structure": [
|
|
174
|
-
"atlassian-conventions"
|
|
175
|
-
],
|
|
176
|
-
"circular-dependencies": [
|
|
177
|
-
"file-and-folder-level"
|
|
178
|
-
]
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
162
|
"platform-feature-flags": {
|
|
182
163
|
"platform_navx_3298_message_wrapper": {
|
|
183
164
|
"type": "boolean"
|
|
@@ -266,9 +247,6 @@
|
|
|
266
247
|
"platform_sl_3p_post_auth_chat_open_fg": {
|
|
267
248
|
"type": "boolean"
|
|
268
249
|
},
|
|
269
|
-
"platform_sl_3p_auth_inline_tailored_cta_killswitch": {
|
|
270
|
-
"type": "boolean"
|
|
271
|
-
},
|
|
272
250
|
"platform_smartlink_inline_resolve_optimization": {
|
|
273
251
|
"type": "boolean"
|
|
274
252
|
},
|