@atlaskit/smart-card 26.5.1 → 26.5.2
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 +6 -0
- package/dist/cjs/extractors/flexible/extract-state.js +4 -3
- package/dist/cjs/extractors/flexible/index.js +1 -1
- package/dist/cjs/i18n/cs.js +1 -0
- package/dist/cjs/i18n/da.js +1 -0
- package/dist/cjs/i18n/de.js +1 -0
- package/dist/cjs/i18n/en.js +1 -0
- package/dist/cjs/i18n/en_GB.js +1 -0
- package/dist/cjs/i18n/en_ZZ.js +1 -0
- package/dist/cjs/i18n/es.js +1 -0
- package/dist/cjs/i18n/fi.js +1 -0
- package/dist/cjs/i18n/fr.js +1 -0
- package/dist/cjs/i18n/hu.js +1 -0
- package/dist/cjs/i18n/it.js +1 -0
- package/dist/cjs/i18n/ja.js +1 -0
- package/dist/cjs/i18n/ko.js +1 -0
- package/dist/cjs/i18n/nb.js +1 -0
- package/dist/cjs/i18n/nl.js +1 -0
- package/dist/cjs/i18n/pl.js +1 -0
- package/dist/cjs/i18n/pt_BR.js +1 -0
- package/dist/cjs/i18n/ru.js +1 -0
- package/dist/cjs/i18n/sv.js +1 -0
- package/dist/cjs/i18n/th.js +1 -0
- package/dist/cjs/i18n/tr.js +1 -0
- package/dist/cjs/i18n/uk.js +1 -0
- package/dist/cjs/i18n/vi.js +1 -0
- package/dist/cjs/i18n/zh.js +1 -0
- package/dist/cjs/i18n/zh_TW.js +1 -0
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/view/FlexibleCard/components/common/lozenge-action/feature-discovery/index.js +50 -0
- package/dist/cjs/view/FlexibleCard/components/common/lozenge-action/feature-discovery/styled.js +32 -0
- package/dist/cjs/view/FlexibleCard/components/common/lozenge-action/feature-discovery/types.js +5 -0
- package/dist/cjs/view/FlexibleCard/components/common/lozenge-action/index.js +2 -1
- package/dist/cjs/view/FlexibleCard/components/common/lozenge-action/lozenge-action-trigger/index.js +17 -9
- package/dist/cjs/view/FlexibleCard/components/container/index.js +6 -2
- package/dist/cjs/view/HoverCard/components/HoverCardContent.js +5 -1
- package/dist/es2019/extractors/flexible/extract-state.js +4 -3
- package/dist/es2019/extractors/flexible/index.js +1 -1
- package/dist/es2019/i18n/cs.js +1 -0
- package/dist/es2019/i18n/da.js +1 -0
- package/dist/es2019/i18n/de.js +1 -0
- package/dist/es2019/i18n/en.js +1 -0
- package/dist/es2019/i18n/en_GB.js +1 -0
- package/dist/es2019/i18n/en_ZZ.js +1 -0
- package/dist/es2019/i18n/es.js +1 -0
- package/dist/es2019/i18n/fi.js +1 -0
- package/dist/es2019/i18n/fr.js +1 -0
- package/dist/es2019/i18n/hu.js +1 -0
- package/dist/es2019/i18n/it.js +1 -0
- package/dist/es2019/i18n/ja.js +1 -0
- package/dist/es2019/i18n/ko.js +1 -0
- package/dist/es2019/i18n/nb.js +1 -0
- package/dist/es2019/i18n/nl.js +1 -0
- package/dist/es2019/i18n/pl.js +1 -0
- package/dist/es2019/i18n/pt_BR.js +1 -0
- package/dist/es2019/i18n/ru.js +1 -0
- package/dist/es2019/i18n/sv.js +1 -0
- package/dist/es2019/i18n/th.js +1 -0
- package/dist/es2019/i18n/tr.js +1 -0
- package/dist/es2019/i18n/uk.js +1 -0
- package/dist/es2019/i18n/vi.js +1 -0
- package/dist/es2019/i18n/zh.js +1 -0
- package/dist/es2019/i18n/zh_TW.js +1 -0
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/view/FlexibleCard/components/common/lozenge-action/feature-discovery/index.js +41 -0
- package/dist/es2019/view/FlexibleCard/components/common/lozenge-action/feature-discovery/styled.js +29 -0
- package/dist/es2019/view/FlexibleCard/components/common/lozenge-action/feature-discovery/types.js +1 -0
- package/dist/es2019/view/FlexibleCard/components/common/lozenge-action/index.js +2 -1
- package/dist/es2019/view/FlexibleCard/components/common/lozenge-action/lozenge-action-trigger/index.js +15 -9
- package/dist/es2019/view/FlexibleCard/components/container/index.js +6 -2
- package/dist/es2019/view/HoverCard/components/HoverCardContent.js +5 -1
- package/dist/esm/extractors/flexible/extract-state.js +4 -3
- package/dist/esm/extractors/flexible/index.js +1 -1
- package/dist/esm/i18n/cs.js +1 -0
- package/dist/esm/i18n/da.js +1 -0
- package/dist/esm/i18n/de.js +1 -0
- package/dist/esm/i18n/en.js +1 -0
- package/dist/esm/i18n/en_GB.js +1 -0
- package/dist/esm/i18n/en_ZZ.js +1 -0
- package/dist/esm/i18n/es.js +1 -0
- package/dist/esm/i18n/fi.js +1 -0
- package/dist/esm/i18n/fr.js +1 -0
- package/dist/esm/i18n/hu.js +1 -0
- package/dist/esm/i18n/it.js +1 -0
- package/dist/esm/i18n/ja.js +1 -0
- package/dist/esm/i18n/ko.js +1 -0
- package/dist/esm/i18n/nb.js +1 -0
- package/dist/esm/i18n/nl.js +1 -0
- package/dist/esm/i18n/pl.js +1 -0
- package/dist/esm/i18n/pt_BR.js +1 -0
- package/dist/esm/i18n/ru.js +1 -0
- package/dist/esm/i18n/sv.js +1 -0
- package/dist/esm/i18n/th.js +1 -0
- package/dist/esm/i18n/tr.js +1 -0
- package/dist/esm/i18n/uk.js +1 -0
- package/dist/esm/i18n/vi.js +1 -0
- package/dist/esm/i18n/zh.js +1 -0
- package/dist/esm/i18n/zh_TW.js +1 -0
- package/dist/esm/version.json +1 -1
- package/dist/esm/view/FlexibleCard/components/common/lozenge-action/feature-discovery/index.js +42 -0
- package/dist/esm/view/FlexibleCard/components/common/lozenge-action/feature-discovery/styled.js +24 -0
- package/dist/esm/view/FlexibleCard/components/common/lozenge-action/feature-discovery/types.js +1 -0
- package/dist/esm/view/FlexibleCard/components/common/lozenge-action/index.js +2 -1
- package/dist/esm/view/FlexibleCard/components/common/lozenge-action/lozenge-action-trigger/index.js +18 -10
- package/dist/esm/view/FlexibleCard/components/container/index.js +6 -2
- package/dist/esm/view/HoverCard/components/HoverCardContent.js +5 -1
- package/dist/types/extractors/common/lozenge/types.d.ts +4 -1
- package/dist/types/extractors/flexible/extract-state.d.ts +2 -1
- package/dist/types/i18n/cs.d.ts +1 -0
- package/dist/types/i18n/da.d.ts +1 -0
- package/dist/types/i18n/de.d.ts +1 -0
- package/dist/types/i18n/en.d.ts +1 -0
- package/dist/types/i18n/en_GB.d.ts +1 -0
- package/dist/types/i18n/en_ZZ.d.ts +1 -0
- package/dist/types/i18n/es.d.ts +1 -0
- package/dist/types/i18n/fi.d.ts +1 -0
- package/dist/types/i18n/fr.d.ts +1 -0
- package/dist/types/i18n/hu.d.ts +1 -0
- package/dist/types/i18n/it.d.ts +1 -0
- package/dist/types/i18n/ja.d.ts +1 -0
- package/dist/types/i18n/ko.d.ts +1 -0
- package/dist/types/i18n/nb.d.ts +1 -0
- package/dist/types/i18n/nl.d.ts +1 -0
- package/dist/types/i18n/pl.d.ts +1 -0
- package/dist/types/i18n/pt_BR.d.ts +1 -0
- package/dist/types/i18n/ru.d.ts +1 -0
- package/dist/types/i18n/sv.d.ts +1 -0
- package/dist/types/i18n/th.d.ts +1 -0
- package/dist/types/i18n/tr.d.ts +1 -0
- package/dist/types/i18n/uk.d.ts +1 -0
- package/dist/types/i18n/vi.d.ts +1 -0
- package/dist/types/i18n/zh.d.ts +1 -0
- package/dist/types/i18n/zh_TW.d.ts +1 -0
- package/dist/types/view/FlexibleCard/components/common/lozenge-action/feature-discovery/index.d.ts +10 -0
- package/dist/types/view/FlexibleCard/components/common/lozenge-action/feature-discovery/styled.d.ts +2 -0
- package/dist/types/view/FlexibleCard/components/common/lozenge-action/feature-discovery/types.d.ts +7 -0
- package/dist/types/view/FlexibleCard/components/common/lozenge-action/lozenge-action-trigger/type.d.ts +1 -0
- package/dist/types/view/FlexibleCard/components/common/lozenge-action/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/lozenge/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/types.d.ts +23 -1
- package/dist/types-ts4.5/extractors/common/lozenge/types.d.ts +4 -1
- package/dist/types-ts4.5/extractors/flexible/extract-state.d.ts +2 -1
- package/dist/types-ts4.5/i18n/cs.d.ts +1 -0
- package/dist/types-ts4.5/i18n/da.d.ts +1 -0
- package/dist/types-ts4.5/i18n/de.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -0
- package/dist/types-ts4.5/i18n/es.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +1 -0
- package/dist/types-ts4.5/i18n/it.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +1 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +1 -0
- package/dist/types-ts4.5/i18n/th.d.ts +1 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +1 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +1 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/common/lozenge-action/feature-discovery/index.d.ts +10 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/common/lozenge-action/feature-discovery/styled.d.ts +2 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/common/lozenge-action/feature-discovery/types.d.ts +7 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/common/lozenge-action/lozenge-action-trigger/type.d.ts +1 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/common/lozenge-action/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +23 -1
- package/package.json +6 -5
package/dist/esm/version.json
CHANGED
package/dist/esm/view/FlexibleCard/components/common/lozenge-action/feature-discovery/index.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
|
+
import { useEffect, useMemo } from 'react';
|
|
4
|
+
import { StorageClient } from '@atlaskit/frontend-utilities/storage-client';
|
|
5
|
+
import { getPulseStyles } from './styled';
|
|
6
|
+
var LOCAL_STORAGE_CLIENT_KEY = '@atlaskit/smart-card';
|
|
7
|
+
var LOCAL_STORAGE_DISCOVERY_KEY = 'action-discovery-status';
|
|
8
|
+
var LOCAL_STORAGE_DISCOVERY_EXPIRY_IN_MS = 15552000000; // 180 days
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* This is a hacky solution to help with the feature discovery.
|
|
12
|
+
* This implementation must be removed once the experiment is completed.
|
|
13
|
+
* Cleanup on https://product-fabric.atlassian.net/browse/EDM-5795
|
|
14
|
+
* @see https://team.atlassian.com/project/ATLAS-13099/about
|
|
15
|
+
*/
|
|
16
|
+
var FeatureDiscovery = function FeatureDiscovery(_ref) {
|
|
17
|
+
var appearance = _ref.appearance,
|
|
18
|
+
children = _ref.children,
|
|
19
|
+
testId = _ref.testId;
|
|
20
|
+
var storageClient = useMemo(function () {
|
|
21
|
+
return new StorageClient(LOCAL_STORAGE_CLIENT_KEY);
|
|
22
|
+
}, []);
|
|
23
|
+
var discovered = useMemo(function () {
|
|
24
|
+
var _storageClient$getIte;
|
|
25
|
+
return (_storageClient$getIte = storageClient.getItem(LOCAL_STORAGE_DISCOVERY_KEY)) !== null && _storageClient$getIte !== void 0 ? _storageClient$getIte : false;
|
|
26
|
+
}, [storageClient]);
|
|
27
|
+
useEffect(function () {
|
|
28
|
+
if (!discovered) {
|
|
29
|
+
storageClient.setItemWithExpiry(LOCAL_STORAGE_DISCOVERY_KEY, true, LOCAL_STORAGE_DISCOVERY_EXPIRY_IN_MS);
|
|
30
|
+
}
|
|
31
|
+
}, [storageClient, discovered]);
|
|
32
|
+
var component = useMemo(function () {
|
|
33
|
+
if (!discovered) {
|
|
34
|
+
return jsx("span", {
|
|
35
|
+
css: getPulseStyles(appearance),
|
|
36
|
+
"data-testid": "".concat(testId, "-discovery")
|
|
37
|
+
}, children);
|
|
38
|
+
}
|
|
39
|
+
}, [appearance, children, discovered, testId]);
|
|
40
|
+
return component !== null && component !== void 0 ? component : children;
|
|
41
|
+
};
|
|
42
|
+
export default FeatureDiscovery;
|
package/dist/esm/view/FlexibleCard/components/common/lozenge-action/feature-discovery/styled.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
|
+
var _templateObject, _templateObject2;
|
|
3
|
+
import { css, keyframes } from '@emotion/react';
|
|
4
|
+
var pulseKeyframes = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n to {\n box-shadow: 0 0 0 7px rgba(0, 0, 0, 0);\n }\n"])));
|
|
5
|
+
var getPulseColor = function getPulseColor(appearance) {
|
|
6
|
+
switch (appearance) {
|
|
7
|
+
case 'inprogress':
|
|
8
|
+
return "var(--ds-background-information-bold, #0052CC)";
|
|
9
|
+
case 'moved':
|
|
10
|
+
return "var(--ds-background-warning-bold, #FFAB00)";
|
|
11
|
+
case 'new':
|
|
12
|
+
return "var(--ds-background-discovery-bold, #5243AA)";
|
|
13
|
+
case 'removed':
|
|
14
|
+
return "var(--ds-background-danger-bold, #DE350B)";
|
|
15
|
+
case 'success':
|
|
16
|
+
return "var(--ds-background-success-bold, #00875A)";
|
|
17
|
+
case 'default':
|
|
18
|
+
default:
|
|
19
|
+
return "var(--ds-background-neutral-bold, #42526E)";
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
export var getPulseStyles = function getPulseStyles(appearance) {
|
|
23
|
+
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: inline-flex;\n border-radius: 3px;\n box-shadow: 0 0 0 0 ", ";\n animation: ", " 1.45s cubic-bezier(0.5, 0, 0, 1) 3;\n"])), getPulseColor(appearance), pulseKeyframes);
|
|
24
|
+
};
|
package/dist/esm/view/FlexibleCard/components/common/lozenge-action/feature-discovery/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -140,10 +140,11 @@ var LozengeAction = function LozengeAction(_ref) {
|
|
|
140
140
|
var trigger = useCallback(function (props) {
|
|
141
141
|
return jsx(LozengeActionTrigger, _extends({}, props, {
|
|
142
142
|
appearance: selected.appearance,
|
|
143
|
+
showFeatureDiscovery: action === null || action === void 0 ? void 0 : action.showFeatureDiscovery,
|
|
143
144
|
testId: testId,
|
|
144
145
|
text: selected.text
|
|
145
146
|
}));
|
|
146
|
-
}, [
|
|
147
|
+
}, [selected.appearance, selected.text, action === null || action === void 0 ? void 0 : action.showFeatureDiscovery, testId]);
|
|
147
148
|
var handleItemClick = useCallback( /*#__PURE__*/function () {
|
|
148
149
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(id, text, appearance) {
|
|
149
150
|
var updateAction, request;
|
package/dist/esm/view/FlexibleCard/components/common/lozenge-action/lozenge-action-trigger/index.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
|
-
var _excluded = ["appearance", "testId", "text", "triggerRef"];
|
|
4
|
+
var _excluded = ["appearance", "showFeatureDiscovery", "testId", "text", "triggerRef"];
|
|
5
5
|
/** @jsx jsx */
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
|
-
import { useCallback, useState } from 'react';
|
|
7
|
+
import { useCallback, useMemo, useState } from 'react';
|
|
8
8
|
import Lozenge from '@atlaskit/lozenge';
|
|
9
9
|
import ChevronDownIcon from '@atlaskit/icon/glyph/chevron-down';
|
|
10
10
|
import { triggerButtonStyles, triggerLozengeStyles } from '../styled';
|
|
11
|
+
import FeatureDiscovery from '../feature-discovery';
|
|
11
12
|
var LozengeActionTrigger = function LozengeActionTrigger(_ref) {
|
|
12
13
|
var appearance = _ref.appearance,
|
|
14
|
+
showFeatureDiscovery = _ref.showFeatureDiscovery,
|
|
13
15
|
testId = _ref.testId,
|
|
14
16
|
text = _ref.text,
|
|
15
17
|
triggerRef = _ref.triggerRef,
|
|
@@ -24,6 +26,17 @@ var LozengeActionTrigger = function LozengeActionTrigger(_ref) {
|
|
|
24
26
|
var onMouseLeave = useCallback(function () {
|
|
25
27
|
return setIsBold(false);
|
|
26
28
|
}, []);
|
|
29
|
+
var lozenge = useMemo(function () {
|
|
30
|
+
return jsx(Lozenge, {
|
|
31
|
+
appearance: appearance,
|
|
32
|
+
isBold: isBold
|
|
33
|
+
}, jsx("span", {
|
|
34
|
+
css: triggerLozengeStyles
|
|
35
|
+
}, jsx("span", null, text), jsx(ChevronDownIcon, {
|
|
36
|
+
label: "options",
|
|
37
|
+
size: "medium"
|
|
38
|
+
})));
|
|
39
|
+
}, [appearance, isBold, text]);
|
|
27
40
|
return jsx("button", _extends({
|
|
28
41
|
type: "button"
|
|
29
42
|
}, props, {
|
|
@@ -32,14 +45,9 @@ var LozengeActionTrigger = function LozengeActionTrigger(_ref) {
|
|
|
32
45
|
onMouseEnter: onMouseEnter,
|
|
33
46
|
onMouseLeave: onMouseLeave,
|
|
34
47
|
ref: triggerRef
|
|
35
|
-
}), jsx(
|
|
48
|
+
}), showFeatureDiscovery ? jsx(FeatureDiscovery, {
|
|
36
49
|
appearance: appearance,
|
|
37
|
-
|
|
38
|
-
},
|
|
39
|
-
css: triggerLozengeStyles
|
|
40
|
-
}, jsx("span", null, text), jsx(ChevronDownIcon, {
|
|
41
|
-
label: "options",
|
|
42
|
-
size: "medium"
|
|
43
|
-
}))));
|
|
50
|
+
testId: testId
|
|
51
|
+
}, lozenge) : lozenge);
|
|
44
52
|
};
|
|
45
53
|
export default LozengeActionTrigger;
|
|
@@ -177,8 +177,12 @@ var Container = function Container(_ref3) {
|
|
|
177
177
|
url: context === null || context === void 0 ? void 0 : context.url,
|
|
178
178
|
canOpen: hoverCardCanOpen,
|
|
179
179
|
closeOnChildClick: true,
|
|
180
|
-
hidePreviewButton: hideHoverCardPreviewButton
|
|
181
|
-
showServerActions
|
|
180
|
+
hidePreviewButton: hideHoverCardPreviewButton
|
|
181
|
+
// EDM-6709 extends the internal prop for showServerActions type to be
|
|
182
|
+
// an object. If we decide to use expose the type for hover preview
|
|
183
|
+
// remove the Boolean() conversion here.
|
|
184
|
+
,
|
|
185
|
+
showServerActions: Boolean(showServerActions)
|
|
182
186
|
}, containerContent);
|
|
183
187
|
}
|
|
184
188
|
return containerContent;
|
|
@@ -22,6 +22,7 @@ import { messages } from '../../../messages';
|
|
|
22
22
|
import { useSmartCardActions } from '../../../state/actions';
|
|
23
23
|
import { fireLinkClickedEvent } from '../../../utils/analytics/click';
|
|
24
24
|
import { useSmartCardState } from '../../../state/store';
|
|
25
|
+
import { useFeatureFlag } from '@atlaskit/link-provider';
|
|
25
26
|
export var hoverCardClassName = 'smart-links-hover-preview';
|
|
26
27
|
export var getOpenAction = function getOpenAction(url, analytics, onActionClick) {
|
|
27
28
|
return {
|
|
@@ -91,6 +92,7 @@ var HoverCardContent = function HoverCardContent(_ref) {
|
|
|
91
92
|
onMouseEnter = _ref.onMouseEnter,
|
|
92
93
|
onMouseLeave = _ref.onMouseLeave,
|
|
93
94
|
showServerActions = _ref.showServerActions;
|
|
95
|
+
var useLozengeAction = useFeatureFlag('useLozengeAction');
|
|
94
96
|
var _useAnalyticsEvents = useAnalyticsEvents(),
|
|
95
97
|
createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
|
|
96
98
|
var defaultAnalytics = useSmartLinkAnalytics(url, undefined, id);
|
|
@@ -170,7 +172,9 @@ var HoverCardContent = function HoverCardContent(_ref) {
|
|
|
170
172
|
onClick: onClick,
|
|
171
173
|
onResolve: onResolve,
|
|
172
174
|
renderers: renderers,
|
|
173
|
-
showServerActions: showServerActions
|
|
175
|
+
showServerActions: useLozengeAction === 'experiment' || showServerActions ? {
|
|
176
|
+
showStateActionFeatureDiscovery: true
|
|
177
|
+
} : false,
|
|
174
178
|
ui: flexibleUiOptions,
|
|
175
179
|
url: url,
|
|
176
180
|
children: {},
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { InvokeActions } from '../../../state/hooks/use-invoke/types';
|
|
2
2
|
export type LinkLozengeColor = 'default' | 'success' | 'removed' | 'inprogress' | 'new' | 'moved';
|
|
3
|
+
export type LinkLozengeInvokeActions = InvokeActions & {
|
|
4
|
+
showFeatureDiscovery?: boolean;
|
|
5
|
+
};
|
|
3
6
|
export interface LinkLozenge {
|
|
4
|
-
action?:
|
|
7
|
+
action?: LinkLozengeInvokeActions;
|
|
5
8
|
text: string;
|
|
6
9
|
appearance?: LinkLozengeColor;
|
|
7
10
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { JsonLd } from 'json-ld-types';
|
|
2
2
|
import type { LinkLozenge } from '../common/lozenge/types';
|
|
3
|
-
|
|
3
|
+
import { ServerActionOptions } from '../../view/FlexibleCard/types';
|
|
4
|
+
declare const extractState: (response?: JsonLd.Response, showServerActions?: boolean | ServerActionOptions, id?: string) => LinkLozenge | undefined;
|
|
4
5
|
export default extractState;
|
package/dist/types/i18n/cs.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/da.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/de.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/es.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/fi.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/fr.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/hu.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/it.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/ja.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/ko.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/nb.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/nl.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/pl.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/ru.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/sv.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/th.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/tr.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/uk.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/vi.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/i18n/zh.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
package/dist/types/view/FlexibleCard/components/common/lozenge-action/feature-discovery/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import type { FeatureDiscoveryProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* This is a hacky solution to help with the feature discovery.
|
|
5
|
+
* This implementation must be removed once the experiment is completed.
|
|
6
|
+
* Cleanup on https://product-fabric.atlassian.net/browse/EDM-5795
|
|
7
|
+
* @see https://team.atlassian.com/project/ATLAS-13099/about
|
|
8
|
+
*/
|
|
9
|
+
declare const FeatureDiscovery: FC<FeatureDiscoveryProps>;
|
|
10
|
+
export default FeatureDiscovery;
|
|
@@ -3,6 +3,7 @@ import type { ThemeAppearance } from '@atlaskit/lozenge';
|
|
|
3
3
|
import type { CustomTriggerProps } from '@atlaskit/dropdown-menu';
|
|
4
4
|
export type LozengeActionTriggerProps = {
|
|
5
5
|
appearance?: ThemeAppearance;
|
|
6
|
+
showFeatureDiscovery?: boolean;
|
|
6
7
|
testId?: string;
|
|
7
8
|
text: string | React.ReactNode;
|
|
8
9
|
} & CustomTriggerProps<HTMLButtonElement>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ThemeAppearance } from '@atlaskit/lozenge';
|
|
3
|
-
import type {
|
|
3
|
+
import type { LinkLozengeInvokeActions } from '../../../../../extractors/common/lozenge/types';
|
|
4
4
|
export type LozengeItem = {
|
|
5
5
|
appearance?: ThemeAppearance;
|
|
6
6
|
id: string;
|
|
7
7
|
text: string;
|
|
8
8
|
};
|
|
9
9
|
export type LozengeActionProps = {
|
|
10
|
-
action:
|
|
10
|
+
action: LinkLozengeInvokeActions;
|
|
11
11
|
appearance?: ThemeAppearance;
|
|
12
12
|
testId?: string;
|
|
13
13
|
text: string | React.ReactNode;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ElementProps } from '../types';
|
|
3
|
-
import {
|
|
3
|
+
import type { LinkLozengeInvokeActions } from '../../../../../extractors/common/lozenge/types';
|
|
4
4
|
export type LozengeAppearance = 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
|
|
5
5
|
export type LozengeProps = ElementProps & {
|
|
6
6
|
/**
|
|
7
7
|
* Action that can be performed on the element
|
|
8
8
|
*/
|
|
9
|
-
action?:
|
|
9
|
+
action?: LinkLozengeInvokeActions;
|
|
10
10
|
/**
|
|
11
11
|
* Determines the appearance of the Atlaskit lozenge.
|
|
12
12
|
*/
|
|
@@ -60,7 +60,7 @@ export type FlexibleCardProps = {
|
|
|
60
60
|
/**
|
|
61
61
|
* Determines whether to show available server actions.
|
|
62
62
|
*/
|
|
63
|
-
showServerActions?: boolean;
|
|
63
|
+
showServerActions?: boolean | ServerActionOptions;
|
|
64
64
|
/**
|
|
65
65
|
* A `testId` prop is provided for specified elements, which is a unique
|
|
66
66
|
* string that appears as a data attribute `data-testid` in the rendered code,
|
|
@@ -120,6 +120,28 @@ export type FlexibleUiOptions = {
|
|
|
120
120
|
*/
|
|
121
121
|
zIndex?: number;
|
|
122
122
|
};
|
|
123
|
+
/**
|
|
124
|
+
* Server action options to control action behaviour.
|
|
125
|
+
*
|
|
126
|
+
* If the type is applied to exported component (<Card />, <HoverCard />)
|
|
127
|
+
* please verify with the team if the deprecated prop can be removed prior.
|
|
128
|
+
*
|
|
129
|
+
* In the case that it is being exposed in HoverCard, please remove
|
|
130
|
+
* boolean conversion `Boolean(showServerActions)` in
|
|
131
|
+
* /src/view/FlexibleCard/components/container/index.tsx line 287
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
export type ServerActionOptions = {
|
|
135
|
+
/**
|
|
136
|
+
* DO NOT USE: This prop is part of an experiment. It will be removed once
|
|
137
|
+
* the experiment is completed. To be cleaned up on
|
|
138
|
+
* https://product-fabric.atlassian.net/browse/EDM-5795
|
|
139
|
+
* @see https://team.atlassian.com/project/ATLAS-13099/about
|
|
140
|
+
* @internal
|
|
141
|
+
* @deprecated
|
|
142
|
+
*/
|
|
143
|
+
showStateActionFeatureDiscovery?: boolean;
|
|
144
|
+
};
|
|
123
145
|
/**
|
|
124
146
|
* Retry options used if Smart Link resolves to an errored state.
|
|
125
147
|
*/
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { InvokeActions } from '../../../state/hooks/use-invoke/types';
|
|
2
2
|
export type LinkLozengeColor = 'default' | 'success' | 'removed' | 'inprogress' | 'new' | 'moved';
|
|
3
|
+
export type LinkLozengeInvokeActions = InvokeActions & {
|
|
4
|
+
showFeatureDiscovery?: boolean;
|
|
5
|
+
};
|
|
3
6
|
export interface LinkLozenge {
|
|
4
|
-
action?:
|
|
7
|
+
action?: LinkLozengeInvokeActions;
|
|
5
8
|
text: string;
|
|
6
9
|
appearance?: LinkLozengeColor;
|
|
7
10
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { JsonLd } from 'json-ld-types';
|
|
2
2
|
import type { LinkLozenge } from '../common/lozenge/types';
|
|
3
|
-
|
|
3
|
+
import { ServerActionOptions } from '../../view/FlexibleCard/types';
|
|
4
|
+
declare const extractState: (response?: JsonLd.Response, showServerActions?: boolean | ServerActionOptions, id?: string) => LinkLozenge | undefined;
|
|
4
5
|
export default extractState;
|
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|
|
@@ -51,6 +51,7 @@ declare const _default: {
|
|
|
51
51
|
'fabric.linking.pending_request': string;
|
|
52
52
|
'fabric.linking.preview': string;
|
|
53
53
|
'fabric.linking.preview_close': string;
|
|
54
|
+
'fabric.linking.preview_improved': string;
|
|
54
55
|
'fabric.linking.preview_max_size': string;
|
|
55
56
|
'fabric.linking.preview_min_size': string;
|
|
56
57
|
'fabric.linking.priority_blocker': string;
|