@atlaskit/smart-card 45.10.2 → 45.10.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 +27 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-view-with-preview-cta-fg-off--default.png +3 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-view-with-preview-cta-fg-on---control--default.png +3 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-view-with-preview-cta-fg-on---treatment--default.png +3 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-with-social-proof-and-preview-cta--default.png +3 -0
- package/dist/cjs/messages.js +5 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +7 -4
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-view-with-preview-cta-fg-off--default.png +3 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-view-with-preview-cta-fg-on---control--default.png +3 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-view-with-preview-cta-fg-on---treatment--default.png +3 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-with-social-proof-and-preview-cta--default.png +3 -0
- package/dist/es2019/messages.js +5 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +7 -4
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-view-with-preview-cta-fg-off--default.png +3 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-view-with-preview-cta-fg-on---control--default.png +3 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-view-with-preview-cta-fg-on---treatment--default.png +3 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-with-social-proof-and-preview-cta--default.png +3 -0
- package/dist/esm/messages.js +5 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/InlineCard/UnauthorisedView/index.js +7 -4
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/messages.d.ts +1 -1
- package/package.json +9 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 45.10.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 45.10.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`feba1b79f0baf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/feba1b79f0baf) -
|
|
14
|
+
Add pre-auth inline Smart Link CTA 'Preview' experiment (ROVOGROWTH-635).
|
|
15
|
+
|
|
16
|
+
When the `rovogrowth-635-pre-auth-cta-preview-fg` feature gate is enabled and the user is in the
|
|
17
|
+
experiment treatment, the connect button on unauthorised inline Smart Links shows 'Preview'
|
|
18
|
+
instead of the provider-specific 'Connect your {provider} account' label.
|
|
19
|
+
|
|
20
|
+
Feature gate is off by default — safe to merge dark.
|
|
21
|
+
|
|
22
|
+
Consumers can check the new experiment config entry with `editorExperiments`:
|
|
23
|
+
|
|
24
|
+
```ts
|
|
25
|
+
editorExperiments('rovogrowth-635-pre-auth-cta-preview-exp', 'isEnabled');
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
|
|
3
30
|
## 45.10.2
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
package/dist/cjs/messages.js
CHANGED
|
@@ -161,6 +161,11 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
161
161
|
defaultMessage: 'Connect your {context} account',
|
|
162
162
|
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view. Displayed in title.'
|
|
163
163
|
},
|
|
164
|
+
connect_link_account_preview: {
|
|
165
|
+
id: 'fabric.linking.connect_link_account_preview-nonfinal',
|
|
166
|
+
defaultMessage: 'Preview',
|
|
167
|
+
description: 'Shown on the connect button for unauthorised inline Smart Links when the ROVOGROWTH-635 pre-auth CTA preview experiment is active.'
|
|
168
|
+
},
|
|
164
169
|
connect_link_account_card_description: {
|
|
165
170
|
id: 'fabric.linking.connect_link_account_card_view_description',
|
|
166
171
|
defaultMessage: 'To show a preview of this link, connect your {context} account.',
|
|
@@ -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.10.
|
|
14
|
+
packageVersion: "45.10.3" || ''
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -59,7 +59,8 @@ var UnauthorisedConnectWithSocialProof = function UnauthorisedConnectWithSocialP
|
|
|
59
59
|
var context = _ref.context,
|
|
60
60
|
extensionKey = _ref.extensionKey,
|
|
61
61
|
testId = _ref.testId,
|
|
62
|
-
onConnectClick = _ref.onConnectClick
|
|
62
|
+
onConnectClick = _ref.onConnectClick,
|
|
63
|
+
isPreviewCTATreatment = _ref.isPreviewCTATreatment;
|
|
63
64
|
var providerPctMap = (0, _personalization.getCachedProviderPctMapAndRefresh)(SOCIAL_PROOF_TRAIT_NAME);
|
|
64
65
|
|
|
65
66
|
// Will be false if this is the first render, when we fetch traits and store to local storage,
|
|
@@ -119,7 +120,7 @@ var UnauthorisedConnectWithSocialProof = function UnauthorisedConnectWithSocialP
|
|
|
119
120
|
viewType: "unauthorised",
|
|
120
121
|
testId: "button-connect-account",
|
|
121
122
|
isSlimDesign: showSocialProofPill
|
|
122
|
-
}, showSocialProofPill ? /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _messages.messages.connect_inline_social_proof) : /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _extends2.default)({}, _messages.messages.connect_link_account_card_name, {
|
|
123
|
+
}, isPreviewCTATreatment ? /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _messages.messages.connect_link_account_preview) : showSocialProofPill ? /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _messages.messages.connect_inline_social_proof) : /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _extends2.default)({}, _messages.messages.connect_link_account_card_name, {
|
|
123
124
|
values: {
|
|
124
125
|
context: context
|
|
125
126
|
}
|
|
@@ -161,11 +162,12 @@ var InlineCardUnauthorizedView = exports.InlineCardUnauthorizedView = function I
|
|
|
161
162
|
}
|
|
162
163
|
}, [fireEvent, onAuthorise]);
|
|
163
164
|
var renderActionButton = _react.default.useCallback(function () {
|
|
165
|
+
var isPreviewCTATreatment = (0, _platformFeatureFlags.fg)('rovogrowth-635-pre-auth-cta-preview-fg') && (0, _expValEquals.expValEquals)('rovogrowth-635-pre-auth-cta-preview-exp', 'isEnabled', true);
|
|
164
166
|
return /*#__PURE__*/_react.default.createElement(_actionButton.ActionButton, {
|
|
165
167
|
onClick: handleConnectAccount,
|
|
166
168
|
viewType: 'unauthorised',
|
|
167
169
|
testId: "button-connect-account"
|
|
168
|
-
}, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _extends2.default)({}, _messages.messages.connect_link_account_card_name, {
|
|
170
|
+
}, isPreviewCTATreatment ? /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _messages.messages.connect_link_account_preview) : /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _extends2.default)({}, _messages.messages.connect_link_account_card_name, {
|
|
169
171
|
values: {
|
|
170
172
|
context: context
|
|
171
173
|
}
|
|
@@ -187,7 +189,8 @@ var InlineCardUnauthorizedView = exports.InlineCardUnauthorizedView = function I
|
|
|
187
189
|
context: context,
|
|
188
190
|
extensionKey: extensionKey,
|
|
189
191
|
testId: testId,
|
|
190
|
-
onConnectClick: handleConnectAccount
|
|
192
|
+
onConnectClick: handleConnectAccount,
|
|
193
|
+
isPreviewCTATreatment: (0, _platformFeatureFlags.fg)('rovogrowth-635-pre-auth-cta-preview-fg') && (0, _expValEquals.expValEquals)('rovogrowth-635-pre-auth-cta-preview-exp', 'isEnabled', true)
|
|
191
194
|
}) : renderActionButton()));
|
|
192
195
|
if (onAuthorise && showHoverPreview) {
|
|
193
196
|
return /*#__PURE__*/_react.default.createElement(_HoverCard.HoverCard, {
|
|
@@ -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.10.
|
|
22
|
+
packageVersion: "45.10.3",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var LinkUrl = function LinkUrl(_ref) {
|
package/dist/es2019/messages.js
CHANGED
|
@@ -155,6 +155,11 @@ export const messages = defineMessages({
|
|
|
155
155
|
defaultMessage: 'Connect your {context} account',
|
|
156
156
|
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view. Displayed in title.'
|
|
157
157
|
},
|
|
158
|
+
connect_link_account_preview: {
|
|
159
|
+
id: 'fabric.linking.connect_link_account_preview-nonfinal',
|
|
160
|
+
defaultMessage: 'Preview',
|
|
161
|
+
description: 'Shown on the connect button for unauthorised inline Smart Links when the ROVOGROWTH-635 pre-auth CTA preview experiment is active.'
|
|
162
|
+
},
|
|
158
163
|
connect_link_account_card_description: {
|
|
159
164
|
id: 'fabric.linking.connect_link_account_card_view_description',
|
|
160
165
|
defaultMessage: 'To show a preview of this link, connect your {context} account.',
|
|
@@ -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.10.
|
|
5
|
+
packageVersion: "45.10.3" || ''
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -51,7 +51,8 @@ const UnauthorisedConnectWithSocialProof = ({
|
|
|
51
51
|
context,
|
|
52
52
|
extensionKey,
|
|
53
53
|
testId,
|
|
54
|
-
onConnectClick
|
|
54
|
+
onConnectClick,
|
|
55
|
+
isPreviewCTATreatment
|
|
55
56
|
}) => {
|
|
56
57
|
var _context$trim;
|
|
57
58
|
const providerPctMap = getCachedProviderPctMapAndRefresh(SOCIAL_PROOF_TRAIT_NAME);
|
|
@@ -111,7 +112,7 @@ const UnauthorisedConnectWithSocialProof = ({
|
|
|
111
112
|
viewType: "unauthorised",
|
|
112
113
|
testId: "button-connect-account",
|
|
113
114
|
isSlimDesign: showSocialProofPill
|
|
114
|
-
}, showSocialProofPill ? /*#__PURE__*/React.createElement(FormattedMessage, messages.connect_inline_social_proof) : /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.connect_link_account_card_name, {
|
|
115
|
+
}, isPreviewCTATreatment ? /*#__PURE__*/React.createElement(FormattedMessage, messages.connect_link_account_preview) : showSocialProofPill ? /*#__PURE__*/React.createElement(FormattedMessage, messages.connect_inline_social_proof) : /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.connect_link_account_card_name, {
|
|
115
116
|
values: {
|
|
116
117
|
context
|
|
117
118
|
}
|
|
@@ -153,11 +154,12 @@ export const InlineCardUnauthorizedView = ({
|
|
|
153
154
|
}
|
|
154
155
|
}, [fireEvent, onAuthorise]);
|
|
155
156
|
const renderActionButton = React.useCallback(() => {
|
|
157
|
+
const isPreviewCTATreatment = fg('rovogrowth-635-pre-auth-cta-preview-fg') && expValEquals('rovogrowth-635-pre-auth-cta-preview-exp', 'isEnabled', true);
|
|
156
158
|
return /*#__PURE__*/React.createElement(ActionButton, {
|
|
157
159
|
onClick: handleConnectAccount,
|
|
158
160
|
viewType: 'unauthorised',
|
|
159
161
|
testId: "button-connect-account"
|
|
160
|
-
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.connect_link_account_card_name, {
|
|
162
|
+
}, isPreviewCTATreatment ? /*#__PURE__*/React.createElement(FormattedMessage, messages.connect_link_account_preview) : /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.connect_link_account_card_name, {
|
|
161
163
|
values: {
|
|
162
164
|
context
|
|
163
165
|
}
|
|
@@ -179,7 +181,8 @@ export const InlineCardUnauthorizedView = ({
|
|
|
179
181
|
context: context,
|
|
180
182
|
extensionKey: extensionKey,
|
|
181
183
|
testId: testId,
|
|
182
|
-
onConnectClick: handleConnectAccount
|
|
184
|
+
onConnectClick: handleConnectAccount,
|
|
185
|
+
isPreviewCTATreatment: fg('rovogrowth-635-pre-auth-cta-preview-fg') && expValEquals('rovogrowth-635-pre-auth-cta-preview-exp', 'isEnabled', true)
|
|
183
186
|
}) : renderActionButton()));
|
|
184
187
|
if (onAuthorise && showHoverPreview) {
|
|
185
188
|
return /*#__PURE__*/React.createElement(HoverCard, {
|
|
@@ -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.10.
|
|
12
|
+
packageVersion: "45.10.3",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const LinkUrl = ({
|
package/dist/esm/messages.js
CHANGED
|
@@ -155,6 +155,11 @@ export var messages = defineMessages({
|
|
|
155
155
|
defaultMessage: 'Connect your {context} account',
|
|
156
156
|
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view. Displayed in title.'
|
|
157
157
|
},
|
|
158
|
+
connect_link_account_preview: {
|
|
159
|
+
id: 'fabric.linking.connect_link_account_preview-nonfinal',
|
|
160
|
+
defaultMessage: 'Preview',
|
|
161
|
+
description: 'Shown on the connect button for unauthorised inline Smart Links when the ROVOGROWTH-635 pre-auth CTA preview experiment is active.'
|
|
162
|
+
},
|
|
158
163
|
connect_link_account_card_description: {
|
|
159
164
|
id: 'fabric.linking.connect_link_account_card_view_description',
|
|
160
165
|
defaultMessage: 'To show a preview of this link, connect your {context} account.',
|
|
@@ -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.10.
|
|
7
|
+
packageVersion: "45.10.3" || ''
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -52,7 +52,8 @@ var UnauthorisedConnectWithSocialProof = function UnauthorisedConnectWithSocialP
|
|
|
52
52
|
var context = _ref.context,
|
|
53
53
|
extensionKey = _ref.extensionKey,
|
|
54
54
|
testId = _ref.testId,
|
|
55
|
-
onConnectClick = _ref.onConnectClick
|
|
55
|
+
onConnectClick = _ref.onConnectClick,
|
|
56
|
+
isPreviewCTATreatment = _ref.isPreviewCTATreatment;
|
|
56
57
|
var providerPctMap = getCachedProviderPctMapAndRefresh(SOCIAL_PROOF_TRAIT_NAME);
|
|
57
58
|
|
|
58
59
|
// Will be false if this is the first render, when we fetch traits and store to local storage,
|
|
@@ -112,7 +113,7 @@ var UnauthorisedConnectWithSocialProof = function UnauthorisedConnectWithSocialP
|
|
|
112
113
|
viewType: "unauthorised",
|
|
113
114
|
testId: "button-connect-account",
|
|
114
115
|
isSlimDesign: showSocialProofPill
|
|
115
|
-
}, showSocialProofPill ? /*#__PURE__*/React.createElement(FormattedMessage, messages.connect_inline_social_proof) : /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.connect_link_account_card_name, {
|
|
116
|
+
}, isPreviewCTATreatment ? /*#__PURE__*/React.createElement(FormattedMessage, messages.connect_link_account_preview) : showSocialProofPill ? /*#__PURE__*/React.createElement(FormattedMessage, messages.connect_inline_social_proof) : /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.connect_link_account_card_name, {
|
|
116
117
|
values: {
|
|
117
118
|
context: context
|
|
118
119
|
}
|
|
@@ -154,11 +155,12 @@ export var InlineCardUnauthorizedView = function InlineCardUnauthorizedView(_ref
|
|
|
154
155
|
}
|
|
155
156
|
}, [fireEvent, onAuthorise]);
|
|
156
157
|
var renderActionButton = React.useCallback(function () {
|
|
158
|
+
var isPreviewCTATreatment = fg('rovogrowth-635-pre-auth-cta-preview-fg') && expValEquals('rovogrowth-635-pre-auth-cta-preview-exp', 'isEnabled', true);
|
|
157
159
|
return /*#__PURE__*/React.createElement(ActionButton, {
|
|
158
160
|
onClick: handleConnectAccount,
|
|
159
161
|
viewType: 'unauthorised',
|
|
160
162
|
testId: "button-connect-account"
|
|
161
|
-
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.connect_link_account_card_name, {
|
|
163
|
+
}, isPreviewCTATreatment ? /*#__PURE__*/React.createElement(FormattedMessage, messages.connect_link_account_preview) : /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.connect_link_account_card_name, {
|
|
162
164
|
values: {
|
|
163
165
|
context: context
|
|
164
166
|
}
|
|
@@ -180,7 +182,8 @@ export var InlineCardUnauthorizedView = function InlineCardUnauthorizedView(_ref
|
|
|
180
182
|
context: context,
|
|
181
183
|
extensionKey: extensionKey,
|
|
182
184
|
testId: testId,
|
|
183
|
-
onConnectClick: handleConnectAccount
|
|
185
|
+
onConnectClick: handleConnectAccount,
|
|
186
|
+
isPreviewCTATreatment: fg('rovogrowth-635-pre-auth-cta-preview-fg') && expValEquals('rovogrowth-635-pre-auth-cta-preview-exp', 'isEnabled', true)
|
|
184
187
|
}) : renderActionButton()));
|
|
185
188
|
if (onAuthorise && showHoverPreview) {
|
|
186
189
|
return /*#__PURE__*/React.createElement(HoverCard, {
|
|
@@ -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.10.
|
|
15
|
+
packageVersion: "45.10.3",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
var LinkUrl = function LinkUrl(_ref) {
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl';
|
|
2
2
|
export type RequestAccessMessageKey = 'click_to_join' | 'click_to_join_description' | 'forbidden_description' | 'request_access' | 'request_access_description' | 'request_access_pending' | 'request_access_pending_title' | 'request_access_pending_description' | 'request_denied_description' | 'default_no_access_title' | 'direct_access_title' | 'direct_access_description' | 'direct_access' | 'access_exists_description' | 'not_found_description' | 'not_found_title';
|
|
3
3
|
export type RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_message_summarize' | 'rovo_prompt_button_ask_rovo_anything' | 'rovo_prompt_message_ask_rovo_anything' | 'rovo_prompt_button_highlight_relevant_content' | 'rovo_prompt_message_highlight_relevant_content' | 'rovo_prompt_button_identify_key_trends' | 'rovo_prompt_message_identify_key_trends' | 'rovo_prompt_button_identify_key_points' | 'rovo_prompt_message_identify_key_points' | 'rovo_prompt_button_find_open_questions' | 'rovo_prompt_message_find_open_questions' | 'rovo_prompt_button_key_highlights' | 'rovo_prompt_message_key_highlights' | 'rovo_prompt_message_summarize_document' | 'rovo_prompt_message_summarize_presentation' | 'rovo_prompt_button_explain_code' | 'rovo_prompt_message_explain_code' | 'rovo_prompt_button_catch_up' | 'rovo_prompt_message_catch_up' | 'rovo_prompt_button_salesforce_prep' | 'rovo_prompt_message_salesforce_prep';
|
|
4
|
-
export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summary_error_generic_rebrand' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action_rebrand' | 'ai_summary_action_description' | 'ai_summary_action_description_rebrand' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_link_account_embed_teaser_button_next' | 'connect_link_account_embed_teaser_dot_label' | 'connect_link_account_embed_teaser_dot_row_label' | 'connect_link_account_embed_teaser_slide_1_description' | 'connect_link_account_embed_teaser_slide_1_title' | 'connect_link_account_embed_teaser_slide_2_description' | 'connect_link_account_embed_teaser_slide_2_title' | 'connect_link_account_embed_teaser_slide_3_description' | 'connect_link_account_embed_teaser_slide_3_title' | 'connect_link_account_success_flag_description' | 'connect_link_account_success_flag_title' | 'connect_link_account_success_flag_title_default' | 'connect_unauthorised_account_action' | 'connect_inline_social_proof' | 'social_proof_inline_cta_tag_high_with_context' | 'social_proof_inline_cta_tag_high_no_context' | 'social_proof_inline_cta_tag_low_with_context' | 'social_proof_inline_cta_tag_low_no_context' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_modal' | 'preview_panel' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'rovo_actions_explore' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project_descriptionGalaxia' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewInProvider' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_experiment_shorter' | 'learn_more_about_connecting_account_appify' | 'rovo_summary_loading' | 'ai_disclaimer' | 'rovo_unauthorised_title' | 'rovo_unauthorised_title_no_provider' | 'rovo_unauthorised_feature_clear_link_names' | 'rovo_unauthorised_feature_understand_linked_docs' | 'rovo_unauthorised_feature_go_deeper_smart_suggestions' | 'rovo_unauthorised_connect_account' | 'rovo_unauthorised_not_now' | 'rovo_chat_action_section_header' | 'rovo_prompt_button_summarize_this' | 'rovo_prompt_button_ask_a_specific_question' | 'rovo_prompt_button_show_me_whats_relevant' | RovoChatActionMessageKey | 'pre_auth_block_social_proof_not_low' | 'pre_auth_block_social_proof_low';
|
|
4
|
+
export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summary_error_generic_rebrand' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action_rebrand' | 'ai_summary_action_description' | 'ai_summary_action_description_rebrand' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_preview' | 'connect_link_account_card_description' | 'connect_link_account_embed_teaser_button_next' | 'connect_link_account_embed_teaser_dot_label' | 'connect_link_account_embed_teaser_dot_row_label' | 'connect_link_account_embed_teaser_slide_1_description' | 'connect_link_account_embed_teaser_slide_1_title' | 'connect_link_account_embed_teaser_slide_2_description' | 'connect_link_account_embed_teaser_slide_2_title' | 'connect_link_account_embed_teaser_slide_3_description' | 'connect_link_account_embed_teaser_slide_3_title' | 'connect_link_account_success_flag_description' | 'connect_link_account_success_flag_title' | 'connect_link_account_success_flag_title_default' | 'connect_unauthorised_account_action' | 'connect_inline_social_proof' | 'social_proof_inline_cta_tag_high_with_context' | 'social_proof_inline_cta_tag_high_no_context' | 'social_proof_inline_cta_tag_low_with_context' | 'social_proof_inline_cta_tag_low_no_context' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_modal' | 'preview_panel' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'rovo_actions_explore' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project_descriptionGalaxia' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewInProvider' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_experiment_shorter' | 'learn_more_about_connecting_account_appify' | 'rovo_summary_loading' | 'ai_disclaimer' | 'rovo_unauthorised_title' | 'rovo_unauthorised_title_no_provider' | 'rovo_unauthorised_feature_clear_link_names' | 'rovo_unauthorised_feature_understand_linked_docs' | 'rovo_unauthorised_feature_go_deeper_smart_suggestions' | 'rovo_unauthorised_connect_account' | 'rovo_unauthorised_not_now' | 'rovo_chat_action_section_header' | 'rovo_prompt_button_summarize_this' | 'rovo_prompt_button_ask_a_specific_question' | 'rovo_prompt_button_show_me_whats_relevant' | RovoChatActionMessageKey | 'pre_auth_block_social_proof_not_low' | 'pre_auth_block_social_proof_low';
|
|
5
5
|
type Messages = {
|
|
6
6
|
[K in MessageKey]: MessageDescriptor;
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "45.10.
|
|
3
|
+
"version": "45.10.4",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@atlaskit/textfield": "^9.1.0",
|
|
89
89
|
"@atlaskit/theme": "^26.1.0",
|
|
90
90
|
"@atlaskit/tile": "^2.3.0",
|
|
91
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
91
|
+
"@atlaskit/tmp-editor-statsig": "^128.0.0",
|
|
92
92
|
"@atlaskit/tokens": "^16.0.0",
|
|
93
93
|
"@atlaskit/tooltip": "^23.1.0",
|
|
94
94
|
"@atlaskit/ufo": "^1.0.0",
|
|
@@ -201,6 +201,13 @@
|
|
|
201
201
|
"platform_smartlink_xpc_url_wrapping": {
|
|
202
202
|
"type": "boolean"
|
|
203
203
|
},
|
|
204
|
+
"rovogrowth-635-pre-auth-cta-preview-fg": {
|
|
205
|
+
"type": "boolean"
|
|
206
|
+
},
|
|
207
|
+
"rovogrowth-635-pre-auth-cta-preview-exp": {
|
|
208
|
+
"type": "boolean",
|
|
209
|
+
"referenceOnly": true
|
|
210
|
+
},
|
|
204
211
|
"navx-1895-new-logo-design": {
|
|
205
212
|
"type": "boolean"
|
|
206
213
|
},
|