@atlaskit/smart-card 23.7.2 → 23.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/constants.js +14 -2
- package/dist/cjs/extractors/common/actions/extractPreviewAction.js +3 -1
- package/dist/cjs/i18n/cs.js +6 -1
- package/dist/cjs/i18n/da.js +7 -1
- package/dist/cjs/i18n/de.js +6 -1
- package/dist/cjs/i18n/en.js +8 -1
- package/dist/cjs/i18n/en_GB.js +8 -1
- package/dist/cjs/i18n/es.js +5 -1
- package/dist/cjs/i18n/fi.js +7 -1
- package/dist/cjs/i18n/fr.js +7 -1
- package/dist/cjs/i18n/hu.js +6 -1
- package/dist/cjs/i18n/it.js +7 -1
- package/dist/cjs/i18n/ja.js +11 -5
- package/dist/cjs/i18n/ko.js +7 -1
- package/dist/cjs/i18n/nb.js +6 -1
- package/dist/cjs/i18n/nl.js +7 -1
- package/dist/cjs/i18n/pl.js +6 -1
- package/dist/cjs/i18n/pt_BR.js +7 -1
- package/dist/cjs/i18n/ru.js +7 -1
- package/dist/cjs/i18n/sv.js +7 -1
- package/dist/cjs/i18n/th.js +7 -1
- package/dist/cjs/i18n/tr.js +6 -1
- package/dist/cjs/i18n/uk.js +6 -1
- package/dist/cjs/i18n/vi.js +7 -1
- package/dist/cjs/i18n/zh.js +6 -1
- package/dist/cjs/i18n/zh_TW.js +6 -1
- package/dist/cjs/state/analytics/useSmartLinkAnalytics.js +41 -13
- package/dist/cjs/utils/analytics/analytics.js +128 -96
- package/dist/cjs/utils/analytics/index.js +12 -0
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/view/BlockCard/components/flexible/footer/index.js +1 -1
- package/dist/cjs/view/BlockCard/index.js +4 -2
- package/dist/cjs/view/BlockCard/views/flexible/FlexibleNotFoundView.js +1 -1
- package/dist/cjs/view/BlockCard/views/flexible/FlexibleResolvedView.js +3 -3
- package/dist/cjs/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +17 -4
- package/dist/cjs/view/CardWithUrl/component.js +3 -1
- package/dist/cjs/view/EmbedCard/index.js +6 -2
- package/dist/cjs/view/EmbedCard/views/UnauthorisedView.js +21 -4
- package/dist/cjs/view/EmbedModal/components/analytics/index.js +4 -2
- package/dist/cjs/view/HoverCard/components/HoverCardComponent.js +11 -10
- package/dist/cjs/view/HoverCard/components/HoverCardContent.js +6 -4
- package/dist/cjs/view/HoverCard/components/views/resolved/index.js +1 -1
- package/dist/cjs/view/HoverCard/components/views/unauthorised/index.js +26 -7
- package/dist/cjs/view/HoverCard/index.js +6 -3
- package/dist/cjs/view/HoverCard/utils.js +1 -4
- package/dist/cjs/view/InlineCard/ErroredView/index.js +6 -11
- package/dist/cjs/view/InlineCard/ForbiddenView/index.js +17 -21
- package/dist/cjs/view/InlineCard/Frame/index.js +4 -4
- package/dist/cjs/view/InlineCard/Frame/styled.js +22 -34
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +52 -7
- package/dist/cjs/view/InlineCard/ResolvingView/index.js +3 -5
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +10 -12
- package/dist/cjs/view/InlineCard/index.js +2 -1
- package/dist/cjs/view/InlineCard/styled.js +2 -2
- package/dist/cjs/view/common/UnauthorisedViewContent.js +14 -3
- package/dist/es2019/constants.js +12 -1
- package/dist/es2019/extractors/common/actions/extractPreviewAction.js +2 -1
- package/dist/es2019/i18n/cs.js +6 -1
- package/dist/es2019/i18n/da.js +7 -1
- package/dist/es2019/i18n/de.js +6 -1
- package/dist/es2019/i18n/en.js +8 -1
- package/dist/es2019/i18n/en_GB.js +8 -1
- package/dist/es2019/i18n/es.js +5 -1
- package/dist/es2019/i18n/fi.js +7 -1
- package/dist/es2019/i18n/fr.js +7 -1
- package/dist/es2019/i18n/hu.js +6 -1
- package/dist/es2019/i18n/it.js +7 -1
- package/dist/es2019/i18n/ja.js +11 -5
- package/dist/es2019/i18n/ko.js +7 -1
- package/dist/es2019/i18n/nb.js +6 -1
- package/dist/es2019/i18n/nl.js +7 -1
- package/dist/es2019/i18n/pl.js +6 -1
- package/dist/es2019/i18n/pt_BR.js +7 -1
- package/dist/es2019/i18n/ru.js +7 -1
- package/dist/es2019/i18n/sv.js +7 -1
- package/dist/es2019/i18n/th.js +7 -1
- package/dist/es2019/i18n/tr.js +6 -1
- package/dist/es2019/i18n/uk.js +6 -1
- package/dist/es2019/i18n/vi.js +7 -1
- package/dist/es2019/i18n/zh.js +6 -1
- package/dist/es2019/i18n/zh_TW.js +6 -1
- package/dist/es2019/state/analytics/useSmartLinkAnalytics.js +33 -8
- package/dist/es2019/utils/analytics/analytics.js +28 -4
- package/dist/es2019/utils/analytics/index.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/view/BlockCard/components/flexible/footer/index.js +1 -1
- package/dist/es2019/view/BlockCard/index.js +4 -2
- package/dist/es2019/view/BlockCard/views/flexible/FlexibleNotFoundView.js +1 -1
- package/dist/es2019/view/BlockCard/views/flexible/FlexibleResolvedView.js +4 -4
- package/dist/es2019/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +15 -3
- package/dist/es2019/view/CardWithUrl/component.js +2 -1
- package/dist/es2019/view/EmbedCard/index.js +6 -2
- package/dist/es2019/view/EmbedCard/views/UnauthorisedView.js +14 -3
- package/dist/es2019/view/EmbedModal/components/analytics/index.js +3 -2
- package/dist/es2019/view/HoverCard/components/HoverCardComponent.js +11 -10
- package/dist/es2019/view/HoverCard/components/HoverCardContent.js +8 -6
- package/dist/es2019/view/HoverCard/components/views/resolved/index.js +3 -3
- package/dist/es2019/view/HoverCard/components/views/unauthorised/index.js +23 -7
- package/dist/es2019/view/HoverCard/index.js +6 -3
- package/dist/es2019/view/HoverCard/utils.js +0 -1
- package/dist/es2019/view/InlineCard/ErroredView/index.js +7 -9
- package/dist/es2019/view/InlineCard/ForbiddenView/index.js +8 -9
- package/dist/es2019/view/InlineCard/Frame/index.js +4 -4
- package/dist/es2019/view/InlineCard/Frame/styled.js +18 -31
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +47 -6
- package/dist/es2019/view/InlineCard/ResolvingView/index.js +3 -5
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +11 -11
- package/dist/es2019/view/InlineCard/index.js +2 -1
- package/dist/es2019/view/InlineCard/styled.js +1 -6
- package/dist/es2019/view/common/UnauthorisedViewContent.js +18 -11
- package/dist/esm/constants.js +12 -1
- package/dist/esm/extractors/common/actions/extractPreviewAction.js +2 -1
- package/dist/esm/i18n/cs.js +6 -1
- package/dist/esm/i18n/da.js +7 -1
- package/dist/esm/i18n/de.js +6 -1
- package/dist/esm/i18n/en.js +8 -1
- package/dist/esm/i18n/en_GB.js +8 -1
- package/dist/esm/i18n/es.js +5 -1
- package/dist/esm/i18n/fi.js +7 -1
- package/dist/esm/i18n/fr.js +7 -1
- package/dist/esm/i18n/hu.js +6 -1
- package/dist/esm/i18n/it.js +7 -1
- package/dist/esm/i18n/ja.js +11 -5
- package/dist/esm/i18n/ko.js +7 -1
- package/dist/esm/i18n/nb.js +6 -1
- package/dist/esm/i18n/nl.js +7 -1
- package/dist/esm/i18n/pl.js +6 -1
- package/dist/esm/i18n/pt_BR.js +7 -1
- package/dist/esm/i18n/ru.js +7 -1
- package/dist/esm/i18n/sv.js +7 -1
- package/dist/esm/i18n/th.js +7 -1
- package/dist/esm/i18n/tr.js +6 -1
- package/dist/esm/i18n/uk.js +6 -1
- package/dist/esm/i18n/vi.js +7 -1
- package/dist/esm/i18n/zh.js +6 -1
- package/dist/esm/i18n/zh_TW.js +6 -1
- package/dist/esm/state/analytics/useSmartLinkAnalytics.js +42 -14
- package/dist/esm/utils/analytics/analytics.js +118 -92
- package/dist/esm/utils/analytics/index.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/esm/view/BlockCard/components/flexible/footer/index.js +1 -1
- package/dist/esm/view/BlockCard/index.js +4 -2
- package/dist/esm/view/BlockCard/views/flexible/FlexibleNotFoundView.js +1 -1
- package/dist/esm/view/BlockCard/views/flexible/FlexibleResolvedView.js +4 -4
- package/dist/esm/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +18 -5
- package/dist/esm/view/CardWithUrl/component.js +2 -1
- package/dist/esm/view/EmbedCard/index.js +6 -2
- package/dist/esm/view/EmbedCard/views/UnauthorisedView.js +15 -4
- package/dist/esm/view/EmbedModal/components/analytics/index.js +3 -2
- package/dist/esm/view/HoverCard/components/HoverCardComponent.js +11 -10
- package/dist/esm/view/HoverCard/components/HoverCardContent.js +8 -6
- package/dist/esm/view/HoverCard/components/views/resolved/index.js +3 -3
- package/dist/esm/view/HoverCard/components/views/unauthorised/index.js +27 -9
- package/dist/esm/view/HoverCard/index.js +6 -3
- package/dist/esm/view/HoverCard/utils.js +0 -1
- package/dist/esm/view/InlineCard/ErroredView/index.js +7 -9
- package/dist/esm/view/InlineCard/ForbiddenView/index.js +18 -20
- package/dist/esm/view/InlineCard/Frame/index.js +4 -4
- package/dist/esm/view/InlineCard/Frame/styled.js +17 -31
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +49 -7
- package/dist/esm/view/InlineCard/ResolvingView/index.js +3 -5
- package/dist/esm/view/InlineCard/UnauthorisedView/index.js +11 -11
- package/dist/esm/view/InlineCard/index.js +2 -1
- package/dist/esm/view/InlineCard/styled.js +2 -2
- package/dist/esm/view/common/UnauthorisedViewContent.js +8 -3
- package/dist/types/constants.d.ts +8 -0
- package/dist/types/i18n/cs.d.ts +5 -0
- package/dist/types/i18n/da.d.ts +6 -0
- package/dist/types/i18n/de.d.ts +5 -0
- package/dist/types/i18n/en.d.ts +7 -0
- package/dist/types/i18n/en_GB.d.ts +7 -0
- package/dist/types/i18n/es.d.ts +4 -0
- package/dist/types/i18n/fi.d.ts +6 -0
- package/dist/types/i18n/fr.d.ts +6 -0
- package/dist/types/i18n/hu.d.ts +5 -0
- package/dist/types/i18n/it.d.ts +6 -0
- package/dist/types/i18n/ja.d.ts +6 -0
- package/dist/types/i18n/ko.d.ts +6 -0
- package/dist/types/i18n/nb.d.ts +5 -0
- package/dist/types/i18n/nl.d.ts +6 -0
- package/dist/types/i18n/pl.d.ts +5 -0
- package/dist/types/i18n/pt_BR.d.ts +6 -0
- package/dist/types/i18n/ru.d.ts +6 -0
- package/dist/types/i18n/sv.d.ts +6 -0
- package/dist/types/i18n/th.d.ts +6 -0
- package/dist/types/i18n/tr.d.ts +5 -0
- package/dist/types/i18n/uk.d.ts +5 -0
- package/dist/types/i18n/vi.d.ts +6 -0
- package/dist/types/i18n/zh.d.ts +5 -0
- package/dist/types/i18n/zh_TW.d.ts +5 -0
- package/dist/types/state/actions/index.d.ts +1 -2
- package/dist/types/state/analytics/useSmartLinkAnalytics.d.ts +17 -4
- package/dist/types/state/flexible-ui-context/index.d.ts +8 -4
- package/dist/types/state/hooks/useSmartLink.d.ts +5 -3
- package/dist/types/utils/analytics/analytics.d.ts +4 -2
- package/dist/types/utils/analytics/index.d.ts +1 -1
- package/dist/types/utils/analytics/types.d.ts +2 -0
- package/dist/types/utils/mocks.d.ts +4 -2
- package/dist/types/utils/types.d.ts +1 -1
- package/dist/types/view/BlockCard/components/flexible/footer/index.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/FlexibleUnauthorisedView.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/types.d.ts +17 -13
- package/dist/types/view/Card/types.d.ts +1 -1
- package/dist/types/view/EmbedCard/views/UnauthorisedView.d.ts +3 -0
- package/dist/types/view/HoverCard/components/views/unauthorised/types.d.ts +15 -4
- package/dist/types/view/HoverCard/types.d.ts +0 -2
- package/dist/types/view/HoverCard/utils.d.ts +0 -1
- package/dist/types/view/InlineCard/ErroredView/index.d.ts +1 -1
- package/dist/types/view/InlineCard/ForbiddenView/index.d.ts +1 -1
- package/dist/types/view/InlineCard/Frame/index.d.ts +0 -1
- package/dist/types/view/InlineCard/Frame/styled.d.ts +3 -2
- package/dist/types/view/InlineCard/IconAndTitleLayout/index.d.ts +5 -0
- package/dist/types/view/InlineCard/ResolvingView/index.d.ts +0 -1
- package/dist/types/view/InlineCard/UnauthorisedView/index.d.ts +3 -1
- package/dist/types/view/InlineCard/styled.d.ts +1 -1
- package/dist/types/view/common/UnauthorisedViewContent.d.ts +7 -1
- package/package.json +5 -5
- package/report.api.md +15 -1
- package/tmp/api-report-tmp.d.ts +8 -4
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.WrapperSpan = exports.WrapperAnchor = void 0;
|
|
9
9
|
|
|
10
10
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
11
11
|
|
|
@@ -19,9 +19,7 @@ var _components = require("@atlaskit/theme/components");
|
|
|
19
19
|
|
|
20
20
|
var _tokens = require("@atlaskit/tokens");
|
|
21
21
|
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
var _templateObject;
|
|
22
|
+
var _templateObject, _templateObject2;
|
|
25
23
|
|
|
26
24
|
var BACKGROUND_COLOR_DARK = '#262B31';
|
|
27
25
|
var selected = "\n cursor: pointer;\n box-shadow: 0 0 0 2px ".concat((0, _tokens.token)('color.border.selected', _colors.B100), ";\n outline: none;\n user-select: none;\n &, :hover, :focus, :active {\n text-decoration: none;\n }\n");
|
|
@@ -30,13 +28,13 @@ var isInteractive = function isInteractive(_ref) {
|
|
|
30
28
|
var isInteractive = _ref.isInteractive;
|
|
31
29
|
|
|
32
30
|
if (isInteractive) {
|
|
33
|
-
return "\n
|
|
31
|
+
return "\n :hover {\n background-color: ".concat((0, _components.themed)({
|
|
34
32
|
light: (0, _tokens.token)('color.background.neutral.subtle.hovered', _colors.N20),
|
|
35
33
|
dark: (0, _tokens.token)('color.background.neutral.subtle.hovered', BACKGROUND_COLOR_DARK)
|
|
36
|
-
}), ";\n
|
|
34
|
+
}), ";\n }\n :active {\n background-color: ").concat((0, _components.themed)({
|
|
37
35
|
light: (0, _tokens.token)('color.background.selected', _colors.B50),
|
|
38
36
|
dark: (0, _tokens.token)('color.background.selected', BACKGROUND_COLOR_DARK)
|
|
39
|
-
}), ";\n
|
|
37
|
+
}), ";\n }\n :focus {\n ").concat(selected, "\n }\n ");
|
|
40
38
|
} else {
|
|
41
39
|
return '';
|
|
42
40
|
}
|
|
@@ -51,11 +49,6 @@ var isSelected = function isSelected(_ref2) {
|
|
|
51
49
|
return 'user-select: text';
|
|
52
50
|
}
|
|
53
51
|
};
|
|
54
|
-
|
|
55
|
-
var withoutHover = function withoutHover(_ref3) {
|
|
56
|
-
var withoutHover = _ref3.withoutHover;
|
|
57
|
-
return withoutHover ? "\n &:hover {\n text-decoration: none;\n }\n " : '';
|
|
58
|
-
};
|
|
59
52
|
/*
|
|
60
53
|
Inline smart cards should have the following layout:
|
|
61
54
|
------------------------------------
|
|
@@ -70,30 +63,25 @@ var withoutHover = function withoutHover(_ref3) {
|
|
|
70
63
|
// NB: `box-decoration-break` required for retaining properties (border-radius) on wrap.
|
|
71
64
|
|
|
72
65
|
|
|
73
|
-
var
|
|
74
|
-
return props.withoutBackground ? "padding-left: 0; margin-left:-2px;" : ''
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}), function (props) {
|
|
79
|
-
return props.withoutBackground ? '' : (0, _components.themed)({
|
|
66
|
+
var baseWrapperStyle = function baseWrapperStyle(props) {
|
|
67
|
+
return "\n line-height: 16px;\n padding: 1px 0.24em 2px 0.24em;\n ".concat(props.withoutBackground ? "padding-left: 0; margin-left:-2px;" : '', "\n display: inline;\n box-decoration-break: clone;\n border-radius: ").concat((0, _constants.borderRadius)(), "px;\n color: ").concat((0, _components.themed)({
|
|
68
|
+
light: (0, _tokens.token)('color.link', _colors.B400),
|
|
69
|
+
dark: (0, _tokens.token)('color.link', '#4794FF')
|
|
70
|
+
})(props), ";\n background-color: ").concat(props.withoutBackground ? '' : (0, _components.themed)({
|
|
80
71
|
light: (0, _tokens.token)('elevation.surface.raised', 'white'),
|
|
81
72
|
dark: (0, _tokens.token)('elevation.surface.raised', BACKGROUND_COLOR_DARK)
|
|
82
|
-
})
|
|
83
|
-
}, function (props) {
|
|
84
|
-
return props.withoutBackground ? '' : (0, _components.themed)({
|
|
73
|
+
})(props), ";\n ").concat(props.withoutBackground ? '' : (0, _components.themed)({
|
|
85
74
|
light: "box-shadow: ".concat((0, _tokens.token)('elevation.shadow.raised', "0 1px 1px ".concat(_colors.N50A, ", 0 0 1px 1px ").concat(_colors.N40A)), ";"),
|
|
86
75
|
dark: "box-shadow: ".concat((0, _tokens.token)('elevation.shadow.raised', "0 1px 1px ".concat(_colors.DN50A, ", 0 0 1px 1px ").concat(_colors.DN40A)), ";")
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
return withoutHover ? 'none' : 'underline';
|
|
97
|
-
});
|
|
76
|
+
})(props), "\n ").concat(isSelected(props), ";\n transition: 0.1s all ease-in-out;\n -moz-user-select: none;\n");
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
var WrapperAnchor = _styled.default.a(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n ", "\n ", "\n"])), baseWrapperStyle, isInteractive);
|
|
80
|
+
|
|
81
|
+
exports.WrapperAnchor = WrapperAnchor;
|
|
82
|
+
WrapperAnchor.displayName = 'WrapperAnchor';
|
|
83
|
+
|
|
84
|
+
var WrapperSpan = _styled.default.span(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n ", "\n"])), baseWrapperStyle);
|
|
98
85
|
|
|
99
|
-
exports.
|
|
86
|
+
exports.WrapperSpan = WrapperSpan;
|
|
87
|
+
WrapperSpan.displayName = 'WrapperSpan';
|
|
@@ -11,12 +11,16 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
|
|
|
11
11
|
|
|
12
12
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
13
13
|
|
|
14
|
+
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
|
15
|
+
|
|
14
16
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
17
|
|
|
16
18
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
17
19
|
|
|
18
20
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
19
21
|
|
|
22
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
23
|
+
|
|
20
24
|
var _react = _interopRequireDefault(require("react"));
|
|
21
25
|
|
|
22
26
|
var _reactRenderImage = _interopRequireDefault(require("react-render-image"));
|
|
@@ -27,6 +31,8 @@ var _styled = require("./styled");
|
|
|
27
31
|
|
|
28
32
|
var _link = _interopRequireDefault(require("@atlaskit/icon/glyph/link"));
|
|
29
33
|
|
|
34
|
+
var _styled2 = require("../styled");
|
|
35
|
+
|
|
30
36
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
31
37
|
|
|
32
38
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
@@ -37,8 +43,38 @@ var IconAndTitleLayout = /*#__PURE__*/function (_React$Component) {
|
|
|
37
43
|
var _super = _createSuper(IconAndTitleLayout);
|
|
38
44
|
|
|
39
45
|
function IconAndTitleLayout() {
|
|
46
|
+
var _this;
|
|
47
|
+
|
|
40
48
|
(0, _classCallCheck2.default)(this, IconAndTitleLayout);
|
|
41
|
-
|
|
49
|
+
|
|
50
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
51
|
+
args[_key] = arguments[_key];
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
55
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleClick", function (event) {
|
|
56
|
+
var onClick = _this.props.onClick;
|
|
57
|
+
|
|
58
|
+
if (onClick) {
|
|
59
|
+
event.preventDefault();
|
|
60
|
+
event.stopPropagation();
|
|
61
|
+
onClick(event);
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleKeyPress", function (event) {
|
|
65
|
+
var onClick = _this.props.onClick;
|
|
66
|
+
|
|
67
|
+
if (event.key !== ' ' && event.key !== 'Enter') {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
if (onClick) {
|
|
72
|
+
event.preventDefault();
|
|
73
|
+
event.stopPropagation();
|
|
74
|
+
onClick(event);
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
return _this;
|
|
42
78
|
}
|
|
43
79
|
|
|
44
80
|
(0, _createClass2.default)(IconAndTitleLayout, [{
|
|
@@ -120,18 +156,27 @@ var IconAndTitleLayout = /*#__PURE__*/function (_React$Component) {
|
|
|
120
156
|
title = _this$props2.title,
|
|
121
157
|
titleColor = _this$props2.titleColor,
|
|
122
158
|
titleTextColor = _this$props2.titleTextColor,
|
|
159
|
+
link = _this$props2.link,
|
|
160
|
+
rightSide = _this$props2.rightSide,
|
|
123
161
|
_this$props2$testId = _this$props2.testId,
|
|
124
162
|
testId = _this$props2$testId === void 0 ? 'inline-card-icon-and-title' : _this$props2$testId;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
color: titleColor
|
|
128
|
-
}
|
|
129
|
-
}, /*#__PURE__*/_react.default.createElement(_styled.IconPositionWrapper, null, children || /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styled.IconEmptyWrapper, null), this.renderIcon(testId))), /*#__PURE__*/_react.default.createElement(_styled.TitleWrapper, {
|
|
163
|
+
|
|
164
|
+
var titlePart = /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styled.IconPositionWrapper, null, children || /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styled.IconEmptyWrapper, null), this.renderIcon(testId))), /*#__PURE__*/_react.default.createElement(_styled.TitleWrapper, {
|
|
130
165
|
style: {
|
|
131
166
|
color: titleTextColor
|
|
132
167
|
},
|
|
133
168
|
className: _styled.TitleWrapperClassName
|
|
134
|
-
}, title))
|
|
169
|
+
}, title));
|
|
170
|
+
|
|
171
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styled.IconTitleWrapper, {
|
|
172
|
+
style: {
|
|
173
|
+
color: titleColor
|
|
174
|
+
}
|
|
175
|
+
}, link ? /*#__PURE__*/_react.default.createElement(_styled2.LinkAppearance, {
|
|
176
|
+
href: link,
|
|
177
|
+
onClick: this.handleClick,
|
|
178
|
+
onKeyPress: this.handleKeyPress
|
|
179
|
+
}, titlePart) : titlePart, rightSide ? /*#__PURE__*/_react.default.createElement(_styled2.NoLinkAppearance, null, ' - ', rightSide) : null));
|
|
135
180
|
}
|
|
136
181
|
}]);
|
|
137
182
|
return IconAndTitleLayout;
|
|
@@ -53,13 +53,11 @@ var InlineCardResolvingView = /*#__PURE__*/function (_React$Component) {
|
|
|
53
53
|
inlinePreloaderStyle = _this$props.inlinePreloaderStyle,
|
|
54
54
|
_this$props$testId = _this$props.testId,
|
|
55
55
|
testId = _this$props$testId === void 0 ? 'inline-card-resolving-view' : _this$props$testId,
|
|
56
|
-
titleTextColor = _this$props.titleTextColor
|
|
57
|
-
withoutHover = _this$props.withoutHover;
|
|
56
|
+
titleTextColor = _this$props.titleTextColor;
|
|
58
57
|
|
|
59
58
|
if (inlinePreloaderStyle === 'on-right-without-skeleton') {
|
|
60
59
|
return /*#__PURE__*/_react.default.createElement(_Frame.Frame, {
|
|
61
60
|
withoutBackground: true,
|
|
62
|
-
withoutHover: withoutHover,
|
|
63
61
|
testId: testId,
|
|
64
62
|
onClick: onClick,
|
|
65
63
|
isSelected: isSelected
|
|
@@ -72,9 +70,9 @@ var InlineCardResolvingView = /*#__PURE__*/function (_React$Component) {
|
|
|
72
70
|
return /*#__PURE__*/_react.default.createElement(_Frame.Frame, {
|
|
73
71
|
testId: testId,
|
|
74
72
|
onClick: onClick,
|
|
75
|
-
isSelected: isSelected
|
|
76
|
-
withoutHover: withoutHover
|
|
73
|
+
isSelected: isSelected
|
|
77
74
|
}, /*#__PURE__*/_react.default.createElement(_IconAndTitleLayout.IconAndTitleLayout, {
|
|
75
|
+
link: url,
|
|
78
76
|
title: url,
|
|
79
77
|
titleTextColor: titleTextColor
|
|
80
78
|
}, /*#__PURE__*/_react.default.createElement(_styled.SpinnerWrapper, {
|
|
@@ -78,15 +78,11 @@ var InlineCardUnauthorizedView = /*#__PURE__*/function (_React$Component) {
|
|
|
78
78
|
event.stopPropagation();
|
|
79
79
|
return onAuthorise();
|
|
80
80
|
});
|
|
81
|
-
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "
|
|
81
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "renderRightSide", function () {
|
|
82
82
|
var _this$props = _this.props,
|
|
83
|
-
context = _this$props.context,
|
|
84
83
|
onAuthorise = _this$props.onAuthorise,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
var link = /*#__PURE__*/_react.default.createElement(_styled.LinkAppearance, null, url);
|
|
88
|
-
|
|
89
|
-
return !onAuthorise ? link : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, link, ' - ', /*#__PURE__*/_react.default.createElement(_customThemeButton.default, {
|
|
84
|
+
context = _this$props.context;
|
|
85
|
+
return onAuthorise ? /*#__PURE__*/_react.default.createElement(_customThemeButton.default, {
|
|
90
86
|
spacing: "none",
|
|
91
87
|
appearance: "subtle-link",
|
|
92
88
|
component: _styled.IconStyledButton,
|
|
@@ -96,7 +92,7 @@ var InlineCardUnauthorizedView = /*#__PURE__*/function (_React$Component) {
|
|
|
96
92
|
values: {
|
|
97
93
|
context: context
|
|
98
94
|
}
|
|
99
|
-
})))
|
|
95
|
+
}))) : undefined;
|
|
100
96
|
});
|
|
101
97
|
return _this;
|
|
102
98
|
}
|
|
@@ -116,19 +112,21 @@ var InlineCardUnauthorizedView = /*#__PURE__*/function (_React$Component) {
|
|
|
116
112
|
|
|
117
113
|
var inlineCardUnauthenticatedView = /*#__PURE__*/_react.default.createElement(_Frame.Frame, {
|
|
118
114
|
testId: testId,
|
|
119
|
-
link: url,
|
|
120
|
-
onClick: onClick,
|
|
121
115
|
isSelected: isSelected
|
|
122
116
|
}, /*#__PURE__*/_react.default.createElement(_IconAndTitleLayout.IconAndTitleLayout, {
|
|
123
117
|
icon: icon ? icon : FallbackUnauthorizedIcon,
|
|
124
|
-
title:
|
|
118
|
+
title: url,
|
|
119
|
+
link: url,
|
|
120
|
+
rightSide: this.renderRightSide(),
|
|
121
|
+
onClick: onClick,
|
|
125
122
|
titleColor: (0, _tokens.token)('color.text.subtle', _colors.N500)
|
|
126
123
|
}));
|
|
127
124
|
|
|
128
125
|
if (showAuthTooltip) {
|
|
129
126
|
return /*#__PURE__*/_react.default.createElement(_HoverCard.HoverCard, {
|
|
130
127
|
url: url,
|
|
131
|
-
onAuthorize: this.props.onAuthorise
|
|
128
|
+
onAuthorize: this.props.onAuthorise,
|
|
129
|
+
id: this.props.id
|
|
132
130
|
}, inlineCardUnauthenticatedView);
|
|
133
131
|
}
|
|
134
132
|
|
|
@@ -129,7 +129,8 @@ var InlineCard = function InlineCard(_ref) {
|
|
|
129
129
|
onClick: handleFrameClick,
|
|
130
130
|
onAuthorise: handleAuthorize,
|
|
131
131
|
testId: testIdWithStatus,
|
|
132
|
-
showAuthTooltip: showAuthTooltip
|
|
132
|
+
showAuthTooltip: showAuthTooltip,
|
|
133
|
+
id: id
|
|
133
134
|
});
|
|
134
135
|
|
|
135
136
|
case 'forbidden':
|
|
@@ -22,7 +22,7 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
|
22
22
|
var LINK_COLOR_DARK = '#4794FF'; // By default buttons will hide overflow and ellipsis content instead of wrapping.
|
|
23
23
|
// This basically turns the button back into inline content
|
|
24
24
|
|
|
25
|
-
var IconStyledButton = _styled.default.span(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n text-align: initial !important;\n display: inline !important;\n\n
|
|
25
|
+
var IconStyledButton = _styled.default.span(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n text-align: initial !important;\n display: inline !important;\n\n > span {\n display: inline;\n > span {\n overflow: initial;\n text-overflow: initial;\n white-space: initial;\n }\n }\n"])));
|
|
26
26
|
|
|
27
27
|
exports.IconStyledButton = IconStyledButton;
|
|
28
28
|
|
|
@@ -37,7 +37,7 @@ var LowercaseAppearance = _styled.default.span(_templateObject3 || (_templateObj
|
|
|
37
37
|
|
|
38
38
|
exports.LowercaseAppearance = LowercaseAppearance;
|
|
39
39
|
|
|
40
|
-
var LinkAppearance = _styled.default.
|
|
40
|
+
var LinkAppearance = _styled.default.a(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n color: ", ";\n"])), (0, _components.themed)({
|
|
41
41
|
light: (0, _tokens.token)('color.link', _colors.B400),
|
|
42
42
|
dark: (0, _tokens.token)('color.link', LINK_COLOR_DARK)
|
|
43
43
|
}));
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
5
7
|
Object.defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
@@ -9,7 +11,7 @@ exports.default = void 0;
|
|
|
9
11
|
|
|
10
12
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
13
|
|
|
12
|
-
var _react =
|
|
14
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
13
15
|
|
|
14
16
|
var _reactIntlNext = require("react-intl-next");
|
|
15
17
|
|
|
@@ -17,6 +19,10 @@ var _messages = require("../../messages");
|
|
|
17
19
|
|
|
18
20
|
var _constants = require("../../constants");
|
|
19
21
|
|
|
22
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
|
+
|
|
24
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
|
+
|
|
20
26
|
/**
|
|
21
27
|
* This component is used in unauthorized views of a smart link.
|
|
22
28
|
* It represents the main text that provides a user with information on how to connect their account
|
|
@@ -24,7 +30,11 @@ var _constants = require("../../constants");
|
|
|
24
30
|
var UnauthorisedViewContent = function UnauthorisedViewContent(_ref) {
|
|
25
31
|
var providerName = _ref.providerName,
|
|
26
32
|
_ref$testId = _ref.testId,
|
|
27
|
-
testId = _ref$testId === void 0 ? 'unauthorised-view-content' : _ref$testId
|
|
33
|
+
testId = _ref$testId === void 0 ? 'unauthorised-view-content' : _ref$testId,
|
|
34
|
+
analytics = _ref.analytics;
|
|
35
|
+
var handleLearnMoreClick = (0, _react.useCallback)(function () {
|
|
36
|
+
analytics === null || analytics === void 0 ? void 0 : analytics.ui.learnMoreClickedEvent();
|
|
37
|
+
}, [analytics === null || analytics === void 0 ? void 0 : analytics.ui]);
|
|
28
38
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, providerName ? /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages.messages.connect_unauthorised_account_description, {
|
|
29
39
|
values: {
|
|
30
40
|
context: providerName
|
|
@@ -32,7 +42,8 @@ var UnauthorisedViewContent = function UnauthorisedViewContent(_ref) {
|
|
|
32
42
|
})) : /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _messages.messages.connect_unauthorised_account_description_no_provider), ' ', /*#__PURE__*/_react.default.createElement("a", {
|
|
33
43
|
href: _constants.CONTENT_URL_SECURITY_AND_PERMISSIONS,
|
|
34
44
|
target: "_blank",
|
|
35
|
-
"data-testid": "".concat(testId, "-learn-more")
|
|
45
|
+
"data-testid": "".concat(testId, "-learn-more"),
|
|
46
|
+
onClick: handleLearnMoreClick
|
|
36
47
|
}, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _messages.messages.learn_more_about_smart_links)));
|
|
37
48
|
};
|
|
38
49
|
|
package/dist/es2019/constants.js
CHANGED
|
@@ -230,4 +230,15 @@ export let MediaPlacement;
|
|
|
230
230
|
(function (MediaPlacement) {
|
|
231
231
|
MediaPlacement["Left"] = "left";
|
|
232
232
|
MediaPlacement["Right"] = "right";
|
|
233
|
-
})(MediaPlacement || (MediaPlacement = {}));
|
|
233
|
+
})(MediaPlacement || (MediaPlacement = {}));
|
|
234
|
+
|
|
235
|
+
export let CardDisplay;
|
|
236
|
+
|
|
237
|
+
(function (CardDisplay) {
|
|
238
|
+
CardDisplay["Inline"] = "inline";
|
|
239
|
+
CardDisplay["Block"] = "block";
|
|
240
|
+
CardDisplay["Embed"] = "embed";
|
|
241
|
+
CardDisplay["EmbedPreview"] = "embedPreview";
|
|
242
|
+
CardDisplay["Flexible"] = "flexible";
|
|
243
|
+
CardDisplay["HoverCardPreview"] = "hoverCardPreview";
|
|
244
|
+
})(CardDisplay || (CardDisplay = {}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { extractDownloadUrl } from '../detail';
|
|
2
2
|
import { extractPreview, extractProvider } from '@atlaskit/linking-common/extractors';
|
|
3
3
|
import { PreviewAction } from '../../../view/BlockCard';
|
|
4
|
+
import { CardDisplay } from '../../../constants';
|
|
4
5
|
|
|
5
6
|
const getMetadataFromJsonLd = (jsonLd, platform) => {
|
|
6
7
|
const download = extractDownloadUrl(jsonLd);
|
|
@@ -31,7 +32,7 @@ const getInvokeOpts = (key, action, source) => ({
|
|
|
31
32
|
// the actions on the preview state are invoked from the
|
|
32
33
|
// preview card. Hence, we have a `source` for distinguishing
|
|
33
34
|
// between the two.
|
|
34
|
-
source: source ||
|
|
35
|
+
source: source || CardDisplay.EmbedPreview,
|
|
35
36
|
action: {
|
|
36
37
|
type: action,
|
|
37
38
|
promise: () => Promise.resolve()
|
package/dist/es2019/i18n/cs.js
CHANGED
|
@@ -20,6 +20,7 @@ export default {
|
|
|
20
20
|
'fabric.linking.connect_link_account_card_view_description': 'Pokud chcete zobrazit náhled tohoto odkazu, připojte svůj účet {context}.',
|
|
21
21
|
'fabric.linking.connect_link_account_card_view_name': 'Připojte svůj účet {context}',
|
|
22
22
|
'fabric.linking.connect_to': 'Připojit k {name}',
|
|
23
|
+
'fabric.linking.connect_unauthorised_account_action': 'Připojit k: {context}',
|
|
23
24
|
'fabric.linking.couldnt_load_link': 'Tento odkaz se z neznámého důvodu nepodařilo načíst.',
|
|
24
25
|
'fabric.linking.create_on_absolute': 'Vytvořeno: {context}',
|
|
25
26
|
'fabric.linking.create_on_relative': 'Vytvořeno: {context}',
|
|
@@ -38,8 +39,12 @@ export default {
|
|
|
38
39
|
'fabric.linking.more_actions': 'Další akce',
|
|
39
40
|
'fabric.linking.not_found_description': 'Odkaz se nepodařilo najít. Zkontrolujte adresu URL a zkuste ji upravit nebo vložit znovu.',
|
|
40
41
|
'fabric.linking.not_found_title': 'Jejda. Tento odkaz se nepodařilo najít.',
|
|
42
|
+
'fabric.linking.open_link_in_a_new_tab': 'Otevřít odkaz na nové kartě',
|
|
41
43
|
'fabric.linking.pending_request': 'Vaše žádost o přístup čeká na vyřízení.',
|
|
42
|
-
'fabric.linking.preview': '
|
|
44
|
+
'fabric.linking.preview': 'Zobrazení na celou obrazovku',
|
|
45
|
+
'fabric.linking.preview_close': 'Zavřít náhled',
|
|
46
|
+
'fabric.linking.preview_max_size': 'Zobrazit na celé obrazovce',
|
|
47
|
+
'fabric.linking.preview_min_size': 'Zavřít zobrazení na celé obrazovce',
|
|
43
48
|
'fabric.linking.priority_blocker': 'Blokující',
|
|
44
49
|
'fabric.linking.priority_critical': 'Kritická',
|
|
45
50
|
'fabric.linking.priority_high': 'Vysoká',
|
package/dist/es2019/i18n/da.js
CHANGED
|
@@ -20,6 +20,7 @@ export default {
|
|
|
20
20
|
'fabric.linking.connect_link_account_card_view_description': 'Tilknyt din {context}-konto, hvis du vil se en forhåndsvisning af dette link',
|
|
21
21
|
'fabric.linking.connect_link_account_card_view_name': 'Forbind din {context}-konto',
|
|
22
22
|
'fabric.linking.connect_to': 'Forbind til {name}',
|
|
23
|
+
'fabric.linking.connect_unauthorised_account_action': 'Forbind til {context}',
|
|
23
24
|
'fabric.linking.couldnt_load_link': 'Af en ukendt årsag kunne vi ikke indlæse dette link.',
|
|
24
25
|
'fabric.linking.create_on_absolute': 'Oprettet {context}',
|
|
25
26
|
'fabric.linking.create_on_relative': 'Oprettet: {context}',
|
|
@@ -32,14 +33,19 @@ export default {
|
|
|
32
33
|
'fabric.linking.invalid_permissions': 'Begrænset link',
|
|
33
34
|
'fabric.linking.invalid_permissions_description': 'Anmod om adgang, eller prøv med en anden konto for at se denne forhåndsvisning.',
|
|
34
35
|
'fabric.linking.join_to_view': 'Deltag i {context} for at se denne sag',
|
|
36
|
+
'fabric.linking.learn_more_about_smart_links_security': 'Få mere at vide om Smart Link-sikkerhed og -tilladelser.',
|
|
35
37
|
'fabric.linking.loading': 'Indlæser ...',
|
|
36
38
|
'fabric.linking.modified_on_absolute': 'Opdateret {context}',
|
|
37
39
|
'fabric.linking.modified_on_relative': 'Opdateret: {context}',
|
|
38
40
|
'fabric.linking.more_actions': 'Flere handlinger',
|
|
39
41
|
'fabric.linking.not_found_description': 'Vi kunne ikke finde linket. Kontrollér og rediger URL-adressen, eller indsæt den igen.',
|
|
40
42
|
'fabric.linking.not_found_title': 'Ups. Vi kan ikke finde dette link!',
|
|
43
|
+
'fabric.linking.open_link_in_a_new_tab': 'Åbn link i en ny fane',
|
|
41
44
|
'fabric.linking.pending_request': 'Din anmodning om adgang afventer behandling',
|
|
42
|
-
'fabric.linking.preview': '
|
|
45
|
+
'fabric.linking.preview': 'Fuldskærmsvisning',
|
|
46
|
+
'fabric.linking.preview_close': 'Luk forhåndsvisning',
|
|
47
|
+
'fabric.linking.preview_max_size': 'Vis fuld skærm',
|
|
48
|
+
'fabric.linking.preview_min_size': 'Luk fuld skærm',
|
|
43
49
|
'fabric.linking.priority_blocker': 'Blokering',
|
|
44
50
|
'fabric.linking.priority_critical': 'Kritisk',
|
|
45
51
|
'fabric.linking.priority_high': 'Høj',
|
package/dist/es2019/i18n/de.js
CHANGED
|
@@ -20,6 +20,7 @@ export default {
|
|
|
20
20
|
'fabric.linking.connect_link_account_card_view_description': 'Verbinden Sie Ihr {context}-Konto, um eine Vorschau dieses Links anzuzeigen.',
|
|
21
21
|
'fabric.linking.connect_link_account_card_view_name': 'Verbinden Sie Ihr {context}-Konto',
|
|
22
22
|
'fabric.linking.connect_to': 'Mit {name} verbinden',
|
|
23
|
+
'fabric.linking.connect_unauthorised_account_action': 'Mit {context} verbinden',
|
|
23
24
|
'fabric.linking.couldnt_load_link': 'Dieser Link konnte aus unbekannten Gründen nicht geladen werden.',
|
|
24
25
|
'fabric.linking.create_on_absolute': 'Erstellt am: {context}',
|
|
25
26
|
'fabric.linking.create_on_relative': 'Erstellt: {context}',
|
|
@@ -38,8 +39,12 @@ export default {
|
|
|
38
39
|
'fabric.linking.more_actions': 'Weitere Aktionen',
|
|
39
40
|
'fabric.linking.not_found_description': 'Der Link konnte nicht gefunden werden. Überprüfen Sie die URL und versuchen Sie die Bearbeitung oder das Einfügen erneut.',
|
|
40
41
|
'fabric.linking.not_found_title': 'Oh! Diese Verknüpfung konnte nicht gefunden werden!',
|
|
42
|
+
'fabric.linking.open_link_in_a_new_tab': 'Link in neuer Registerkarte öffnen',
|
|
41
43
|
'fabric.linking.pending_request': 'Ihre Zugriffsanfrage ist ausstehend.',
|
|
42
|
-
'fabric.linking.preview': '
|
|
44
|
+
'fabric.linking.preview': 'Vollbildansicht',
|
|
45
|
+
'fabric.linking.preview_close': 'Vorschau beenden',
|
|
46
|
+
'fabric.linking.preview_max_size': 'Vollbildansicht anzeigen',
|
|
47
|
+
'fabric.linking.preview_min_size': 'Vollbildansicht beenden',
|
|
43
48
|
'fabric.linking.priority_blocker': 'Blocker',
|
|
44
49
|
'fabric.linking.priority_critical': 'Kritisch',
|
|
45
50
|
'fabric.linking.priority_high': 'Hoch',
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -20,6 +20,8 @@ export default {
|
|
|
20
20
|
'fabric.linking.connect_link_account_card_view_description': 'To show a preview of this link, connect your {context} account.',
|
|
21
21
|
'fabric.linking.connect_link_account_card_view_name': 'Connect your {context} account',
|
|
22
22
|
'fabric.linking.connect_to': 'Connect to {name}',
|
|
23
|
+
'fabric.linking.connect_unauthorized_account_action': 'Connect to {context}',
|
|
24
|
+
'fabric.linking.connect_unauthorized_account_description': 'Connect to Atlassian to view more details from your work and collaboration from one place.',
|
|
23
25
|
'fabric.linking.couldnt_load_link': "We couldn't load this link for an unknown reason.",
|
|
24
26
|
'fabric.linking.create_on_absolute': 'Created on {context}',
|
|
25
27
|
'fabric.linking.create_on_relative': 'Created {context}',
|
|
@@ -32,14 +34,19 @@ export default {
|
|
|
32
34
|
'fabric.linking.invalid_permissions': 'Restricted link',
|
|
33
35
|
'fabric.linking.invalid_permissions_description': "You'll need to request access or try a different account to view this preview.",
|
|
34
36
|
'fabric.linking.join_to_view': 'Join {context} to view this issue',
|
|
37
|
+
'fabric.linking.learn_more_about_smart_links_security': 'Learn more about smart link security and permissions.',
|
|
35
38
|
'fabric.linking.loading': 'Loading...',
|
|
36
39
|
'fabric.linking.modified_on_absolute': 'Updated on {context}',
|
|
37
40
|
'fabric.linking.modified_on_relative': 'Updated {context}',
|
|
38
41
|
'fabric.linking.more_actions': 'More actions',
|
|
39
42
|
'fabric.linking.not_found_description': "We couldn't find the link. Check the url and try editing or paste again.",
|
|
40
43
|
'fabric.linking.not_found_title': "Uh oh. We can't find this link!",
|
|
44
|
+
'fabric.linking.open_link_in_a_new_tab': 'Open link in a new tab',
|
|
41
45
|
'fabric.linking.pending_request': 'Your access request is pending',
|
|
42
|
-
'fabric.linking.preview': '
|
|
46
|
+
'fabric.linking.preview': 'Full screen view',
|
|
47
|
+
'fabric.linking.preview_close': 'Close preview',
|
|
48
|
+
'fabric.linking.preview_max_size': 'View full screen',
|
|
49
|
+
'fabric.linking.preview_min_size': 'Close full screen',
|
|
43
50
|
'fabric.linking.priority_blocker': 'Blocker',
|
|
44
51
|
'fabric.linking.priority_critical': 'Critical',
|
|
45
52
|
'fabric.linking.priority_high': 'High',
|
|
@@ -20,6 +20,8 @@ export default {
|
|
|
20
20
|
'fabric.linking.connect_link_account_card_view_description': 'To show a preview of this link, connect your {context} account.',
|
|
21
21
|
'fabric.linking.connect_link_account_card_view_name': 'Connect your {context} account',
|
|
22
22
|
'fabric.linking.connect_to': 'Connect to {name}',
|
|
23
|
+
'fabric.linking.connect_unauthorised_account_action': 'Connect to {context}',
|
|
24
|
+
'fabric.linking.connect_unauthorised_account_description': 'Connect to Atlassian to view more details from your work and collaboration from one place.',
|
|
23
25
|
'fabric.linking.couldnt_load_link': "We couldn't load this link for an unknown reason.",
|
|
24
26
|
'fabric.linking.create_on_absolute': 'Created on {context}',
|
|
25
27
|
'fabric.linking.create_on_relative': 'Created {context}',
|
|
@@ -32,14 +34,19 @@ export default {
|
|
|
32
34
|
'fabric.linking.invalid_permissions': 'Restricted link',
|
|
33
35
|
'fabric.linking.invalid_permissions_description': "You'll need to request access or try a different account to view this preview.",
|
|
34
36
|
'fabric.linking.join_to_view': 'Join {context} to view this issue',
|
|
37
|
+
'fabric.linking.learn_more_about_smart_links_security': 'Learn more about smart link security and permissions.',
|
|
35
38
|
'fabric.linking.loading': 'Loading...',
|
|
36
39
|
'fabric.linking.modified_on_absolute': 'Updated on {context}',
|
|
37
40
|
'fabric.linking.modified_on_relative': 'Updated {context}',
|
|
38
41
|
'fabric.linking.more_actions': 'More actions',
|
|
39
42
|
'fabric.linking.not_found_description': "We couldn't find the link. Check the url and try editing or paste again.",
|
|
40
43
|
'fabric.linking.not_found_title': "Uh oh. We can't find this link!",
|
|
44
|
+
'fabric.linking.open_link_in_a_new_tab': 'Open link in a new tab',
|
|
41
45
|
'fabric.linking.pending_request': 'Your access request is pending',
|
|
42
|
-
'fabric.linking.preview': '
|
|
46
|
+
'fabric.linking.preview': 'Full screen view',
|
|
47
|
+
'fabric.linking.preview_close': 'Close preview',
|
|
48
|
+
'fabric.linking.preview_max_size': 'View full screen',
|
|
49
|
+
'fabric.linking.preview_min_size': 'Close full screen',
|
|
43
50
|
'fabric.linking.priority_blocker': 'Blocker',
|
|
44
51
|
'fabric.linking.priority_critical': 'Critical',
|
|
45
52
|
'fabric.linking.priority_high': 'High',
|
package/dist/es2019/i18n/es.js
CHANGED
|
@@ -20,6 +20,7 @@ export default {
|
|
|
20
20
|
'fabric.linking.connect_link_account_card_view_description': 'Para mostrar una vista previa de este enlace, conecta tu cuenta de {context}.',
|
|
21
21
|
'fabric.linking.connect_link_account_card_view_name': 'Conecta tu cuenta de {context}',
|
|
22
22
|
'fabric.linking.connect_to': 'Conectarse a {name}',
|
|
23
|
+
'fabric.linking.connect_unauthorised_account_action': 'Conectarse a {context}',
|
|
23
24
|
'fabric.linking.couldnt_load_link': 'Por algún motivo que desconocemos, no hemos podido cargar este enlace.',
|
|
24
25
|
'fabric.linking.create_on_absolute': 'Creación: {context}',
|
|
25
26
|
'fabric.linking.create_on_relative': 'Fecha de creación: {context}',
|
|
@@ -39,7 +40,10 @@ export default {
|
|
|
39
40
|
'fabric.linking.not_found_description': 'No hemos encontrado el enlace. Comprueba la URL y prueba a editarla, o pégala de nuevo.',
|
|
40
41
|
'fabric.linking.not_found_title': '¡Vaya! No encontramos este enlace',
|
|
41
42
|
'fabric.linking.pending_request': 'Tu solicitud de acceso está pendiente',
|
|
42
|
-
'fabric.linking.preview': 'Vista
|
|
43
|
+
'fabric.linking.preview': 'Vista de pantalla completa',
|
|
44
|
+
'fabric.linking.preview_close': 'Cerrar vista previa',
|
|
45
|
+
'fabric.linking.preview_max_size': 'Ver a pantalla completa',
|
|
46
|
+
'fabric.linking.preview_min_size': 'Cerrar pantalla completa',
|
|
43
47
|
'fabric.linking.priority_blocker': 'Impedimento',
|
|
44
48
|
'fabric.linking.priority_critical': 'Crítica',
|
|
45
49
|
'fabric.linking.priority_high': 'Alta',
|
package/dist/es2019/i18n/fi.js
CHANGED
|
@@ -20,6 +20,7 @@ export default {
|
|
|
20
20
|
'fabric.linking.connect_link_account_card_view_description': 'Jotta voit esikatsella tätä linkkiä, yhdistä {context}-tilisi.',
|
|
21
21
|
'fabric.linking.connect_link_account_card_view_name': 'Yhdistä {context}-tilisi',
|
|
22
22
|
'fabric.linking.connect_to': 'Yhdistä kohteeseen {name}',
|
|
23
|
+
'fabric.linking.connect_unauthorised_account_action': 'Yhdistä kohteeseen {context}',
|
|
23
24
|
'fabric.linking.couldnt_load_link': 'Tämän linkin lataaminen epäonnistui tuntemattomasta syystä.',
|
|
24
25
|
'fabric.linking.create_on_absolute': 'Luotiin {context}',
|
|
25
26
|
'fabric.linking.create_on_relative': 'Luotu {context}',
|
|
@@ -32,14 +33,19 @@ export default {
|
|
|
32
33
|
'fabric.linking.invalid_permissions': 'Rajoitettu linkki',
|
|
33
34
|
'fabric.linking.invalid_permissions_description': 'Pyydä käyttöoikeus tai käytä toista tiliä, jos haluat nähdä tämän esikatselun.',
|
|
34
35
|
'fabric.linking.join_to_view': 'Liity palveluun {context} niin voit tarkastella asiaa',
|
|
36
|
+
'fabric.linking.learn_more_about_smart_links_security': 'Lue lisää Smart Link -tietoturvasta ja käyttöoikeuksista.',
|
|
35
37
|
'fabric.linking.loading': 'Ladataan...',
|
|
36
38
|
'fabric.linking.modified_on_absolute': 'Päivitetty {context}',
|
|
37
39
|
'fabric.linking.modified_on_relative': 'Päivitetty {context}',
|
|
38
40
|
'fabric.linking.more_actions': 'Lisää toimintoja',
|
|
39
41
|
'fabric.linking.not_found_description': 'Linkkiä ei löytynyt. Tarkista URL-osoite ja muokkaa tai liitä uudelleen.',
|
|
40
42
|
'fabric.linking.not_found_title': 'Oho. Emme löydä tätä linkkiä!',
|
|
43
|
+
'fabric.linking.open_link_in_a_new_tab': 'Avaa linkki uudessa välilehdessä',
|
|
41
44
|
'fabric.linking.pending_request': 'Käyttöoikeuspyyntösi on vireillä',
|
|
42
|
-
'fabric.linking.preview': '
|
|
45
|
+
'fabric.linking.preview': 'Koko näytön näkymä',
|
|
46
|
+
'fabric.linking.preview_close': 'Sulje esikatselu',
|
|
47
|
+
'fabric.linking.preview_max_size': 'Näytä koko näytöllä',
|
|
48
|
+
'fabric.linking.preview_min_size': 'Sulje koko näytön tila',
|
|
43
49
|
'fabric.linking.priority_blocker': 'Esto',
|
|
44
50
|
'fabric.linking.priority_critical': 'Kriittinen',
|
|
45
51
|
'fabric.linking.priority_high': 'Korkea',
|
package/dist/es2019/i18n/fr.js
CHANGED
|
@@ -20,6 +20,7 @@ export default {
|
|
|
20
20
|
'fabric.linking.connect_link_account_card_view_description': 'Pour afficher un aperçu de ce lien, connectez votre compte {context}.',
|
|
21
21
|
'fabric.linking.connect_link_account_card_view_name': 'Connectez votre compte {context}',
|
|
22
22
|
'fabric.linking.connect_to': 'Se connecter à {name}',
|
|
23
|
+
'fabric.linking.connect_unauthorised_account_action': 'Se connecter à {context}',
|
|
23
24
|
'fabric.linking.couldnt_load_link': 'Impossible de charger ce lien pour une raison inconnue.',
|
|
24
25
|
'fabric.linking.create_on_absolute': 'Créé : {context}',
|
|
25
26
|
'fabric.linking.create_on_relative': 'Créé : {context}',
|
|
@@ -32,14 +33,19 @@ export default {
|
|
|
32
33
|
'fabric.linking.invalid_permissions': 'Lien restreint',
|
|
33
34
|
'fabric.linking.invalid_permissions_description': "Vous devrez demander l'accès ou essayer un autre compte pour afficher cet aperçu.",
|
|
34
35
|
'fabric.linking.join_to_view': 'Rejoignez {context} pour consulter ce ticket',
|
|
36
|
+
'fabric.linking.learn_more_about_smart_links_security': 'En savoir plus sur la sécurité et les autorisations des Smart Links',
|
|
35
37
|
'fabric.linking.loading': 'Chargement en cours…',
|
|
36
38
|
'fabric.linking.modified_on_absolute': 'Mise à jour : {context}',
|
|
37
39
|
'fabric.linking.modified_on_relative': 'Mise à jour : {context}',
|
|
38
40
|
'fabric.linking.more_actions': "Plus d'actions",
|
|
39
41
|
'fabric.linking.not_found_description': "Lien introuvable. Cliquez sur l'URL et essayez de la modifier, ou collez-la de nouveau.",
|
|
40
42
|
'fabric.linking.not_found_title': 'Oups, ce lien est introuvable !',
|
|
43
|
+
'fabric.linking.open_link_in_a_new_tab': 'Ouvrir le lien dans un nouvel onglet',
|
|
41
44
|
'fabric.linking.pending_request': "Votre demande d'accès est en attente",
|
|
42
|
-
'fabric.linking.preview': '
|
|
45
|
+
'fabric.linking.preview': 'Affichage plein écran',
|
|
46
|
+
'fabric.linking.preview_close': "Fermer l'aperçu",
|
|
47
|
+
'fabric.linking.preview_max_size': 'Afficher le mode Plein écran',
|
|
48
|
+
'fabric.linking.preview_min_size': 'Fermer le mode Plein écran',
|
|
43
49
|
'fabric.linking.priority_blocker': 'Bloqueur',
|
|
44
50
|
'fabric.linking.priority_critical': 'Critique',
|
|
45
51
|
'fabric.linking.priority_high': 'Élevée',
|