@atlaskit/smart-card 40.5.3 → 40.5.5
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 +14 -0
- package/dist/cjs/i18n/cs.js +3 -0
- package/dist/cjs/i18n/fr.js +3 -0
- package/dist/cjs/i18n/hu.js +3 -0
- package/dist/cjs/i18n/it.js +3 -0
- package/dist/cjs/i18n/ja.js +3 -0
- package/dist/cjs/i18n/nl.js +3 -0
- package/dist/cjs/i18n/sv.js +3 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +1 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-text-element/index.js +1 -2
- package/dist/cjs/view/FlexibleCard/components/elements/owned-by-element/index.js +1 -2
- package/dist/cjs/view/FlexibleCard/external.js +5 -8
- package/dist/cjs/view/FlexibleCard/utils.js +3 -6
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/i18n/cs.js +3 -0
- package/dist/es2019/i18n/fr.js +3 -0
- package/dist/es2019/i18n/hu.js +3 -0
- package/dist/es2019/i18n/it.js +3 -0
- package/dist/es2019/i18n/ja.js +3 -0
- package/dist/es2019/i18n/nl.js +3 -0
- package/dist/es2019/i18n/sv.js +3 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +1 -2
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-text-element/index.js +1 -2
- package/dist/es2019/view/FlexibleCard/components/elements/owned-by-element/index.js +1 -2
- package/dist/es2019/view/FlexibleCard/external.js +5 -8
- package/dist/es2019/view/FlexibleCard/utils.js +3 -5
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/i18n/cs.js +3 -0
- package/dist/esm/i18n/fr.js +3 -0
- package/dist/esm/i18n/hu.js +3 -0
- package/dist/esm/i18n/it.js +3 -0
- package/dist/esm/i18n/ja.js +3 -0
- package/dist/esm/i18n/nl.js +3 -0
- package/dist/esm/i18n/sv.js +3 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +1 -2
- package/dist/esm/view/FlexibleCard/components/elements/common/base-text-element/index.js +1 -2
- package/dist/esm/view/FlexibleCard/components/elements/owned-by-element/index.js +1 -2
- package/dist/esm/view/FlexibleCard/external.js +5 -8
- package/dist/esm/view/FlexibleCard/utils.js +3 -6
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/i18n/cs.d.ts +3 -0
- package/dist/types/i18n/fr.d.ts +3 -0
- package/dist/types/i18n/hu.d.ts +3 -0
- package/dist/types/i18n/it.d.ts +3 -0
- package/dist/types/i18n/ja.d.ts +3 -0
- package/dist/types/i18n/nl.d.ts +3 -0
- package/dist/types/i18n/sv.d.ts +3 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +3 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +3 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +3 -0
- package/dist/types-ts4.5/i18n/it.d.ts +3 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +3 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +3 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +3 -0
- package/package.json +9 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 40.5.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#190445](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/190445)
|
|
8
|
+
[`c720eb26b262f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c720eb26b262f) -
|
|
9
|
+
Clean up FG bandicoots-smart-card-teamwork-context
|
|
10
|
+
|
|
11
|
+
## 40.5.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 40.5.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/i18n/cs.js
CHANGED
|
@@ -131,8 +131,11 @@ var _default = exports.default = {
|
|
|
131
131
|
'fabric.linking.priority_undefined': 'Nedefinováno',
|
|
132
132
|
'fabric.linking.read_time': '{context} min. čtení',
|
|
133
133
|
'fabric.linking.related': 'Souvisící',
|
|
134
|
+
'fabric.linking.related_links_found_in': 'Nalezeno v:',
|
|
135
|
+
'fabric.linking.related_links_includes_links_to': 'Zahrnuje odkazy na:',
|
|
134
136
|
'fabric.linking.related_links_modal_error_description': 'Zkontrolujte připojení nebo obnovte stránku a zkuste to znovu.',
|
|
135
137
|
'fabric.linking.related_links_modal_error_title': 'Při načítání souvisejících odkazů se vyskytly problémy',
|
|
138
|
+
'fabric.linking.related_links_modal_title': 'Související odkazy',
|
|
136
139
|
'fabric.linking.related_links_modal_unavailable_description': 'Neustále kontrolujeme a přidáváme související odkazy na aktualizované stránky nebo jiné typy obsahu.',
|
|
137
140
|
'fabric.linking.related_links_modal_unavailable_title': 'Nepodařilo se najít žádné související odkazy',
|
|
138
141
|
'fabric.linking.related_links_not_found': 'Nebyly nalezeny žádné odkazy, které bychom tu mohli zobrazit.',
|
package/dist/cjs/i18n/fr.js
CHANGED
|
@@ -131,8 +131,11 @@ var _default = exports.default = {
|
|
|
131
131
|
'fabric.linking.priority_undefined': 'Non définie',
|
|
132
132
|
'fabric.linking.read_time': '{context} min de lecture',
|
|
133
133
|
'fabric.linking.related': 'Associé',
|
|
134
|
+
'fabric.linking.related_links_found_in': 'Trouvées dans',
|
|
135
|
+
'fabric.linking.related_links_includes_links_to': 'Inclut des liens vers',
|
|
134
136
|
'fabric.linking.related_links_modal_error_description': 'Vérifiez votre connexion ou actualisez la page, puis réessayez',
|
|
135
137
|
'fabric.linking.related_links_modal_error_title': 'Nous ne parvenons pas à charger les liens associés',
|
|
138
|
+
'fabric.linking.related_links_modal_title': 'Liens associés',
|
|
136
139
|
'fabric.linking.related_links_modal_unavailable_description': "Nous vérifions et ajoutons en permanence des liens associés pour les pages mises à jour ou d'autres types de contenu",
|
|
137
140
|
'fabric.linking.related_links_modal_unavailable_title': "Nous n'avons trouvé aucun lien associé",
|
|
138
141
|
'fabric.linking.related_links_not_found': "Nous n'avons trouvé aucun lien à afficher ici.",
|
package/dist/cjs/i18n/hu.js
CHANGED
|
@@ -131,8 +131,11 @@ var _default = exports.default = {
|
|
|
131
131
|
'fabric.linking.priority_undefined': 'Nincs meghatározva',
|
|
132
132
|
'fabric.linking.read_time': '{context} perc olvasási idő',
|
|
133
133
|
'fabric.linking.related': 'Kapcsolódó',
|
|
134
|
+
'fabric.linking.related_links_found_in': 'Itt található:',
|
|
135
|
+
'fabric.linking.related_links_includes_links_to': 'A következőkre mutató linkeket tartalmaz:',
|
|
134
136
|
'fabric.linking.related_links_modal_error_description': 'Ellenőrizd a kapcsolatodat, frissítsd az oldalt, és próbálkozz újra',
|
|
135
137
|
'fabric.linking.related_links_modal_error_title': 'Probléma merült fel a kapcsolódó linkek betöltése során',
|
|
138
|
+
'fabric.linking.related_links_modal_title': 'Kapcsolódó linkek',
|
|
136
139
|
'fabric.linking.related_links_modal_unavailable_description': 'Folyamatosan ellenőrizzük és hozzáadjuk a kapcsolódó linkeket, hogy frissített oldalakat és más tartalomtípusokat kapj',
|
|
137
140
|
'fabric.linking.related_links_modal_unavailable_title': 'Nem találtunk kapcsolódó linkeket',
|
|
138
141
|
'fabric.linking.related_links_not_found': 'Nem találtunk itt megjeleníthető linkeket.',
|
package/dist/cjs/i18n/it.js
CHANGED
|
@@ -131,8 +131,11 @@ var _default = exports.default = {
|
|
|
131
131
|
'fabric.linking.priority_undefined': 'Non definita',
|
|
132
132
|
'fabric.linking.read_time': '{context} minuti di lettura',
|
|
133
133
|
'fabric.linking.related': 'Correlate',
|
|
134
|
+
'fabric.linking.related_links_found_in': 'Trovate in',
|
|
135
|
+
'fabric.linking.related_links_includes_links_to': 'Include link a',
|
|
134
136
|
'fabric.linking.related_links_modal_error_description': 'Controlla la connessione oppure aggiorna la pagina per riprovare',
|
|
135
137
|
'fabric.linking.related_links_modal_error_title': 'Stiamo riscontrando problemi nel caricamento dei link correlati',
|
|
138
|
+
'fabric.linking.related_links_modal_title': 'Link correlati',
|
|
136
139
|
'fabric.linking.related_links_modal_unavailable_description': 'Esaminiamo e aggiungiamo continuamente i link correlati per le pagine o altri tipi di contenuti aggiornati',
|
|
137
140
|
'fabric.linking.related_links_modal_unavailable_title': 'Non è stato possibile trovare link correlati',
|
|
138
141
|
'fabric.linking.related_links_not_found': 'Non sono stati trovati link da mostrare qui.',
|
package/dist/cjs/i18n/ja.js
CHANGED
|
@@ -131,8 +131,11 @@ var _default = exports.default = {
|
|
|
131
131
|
'fabric.linking.priority_undefined': '未定義',
|
|
132
132
|
'fabric.linking.read_time': '読了時間 {context} 分',
|
|
133
133
|
'fabric.linking.related': '関連',
|
|
134
|
+
'fabric.linking.related_links_found_in': 'ソース元',
|
|
135
|
+
'fabric.linking.related_links_includes_links_to': '次へのリンクが含まれています',
|
|
134
136
|
'fabric.linking.related_links_modal_error_description': '接続を確認するか、ページを更新してもう一度お試しください',
|
|
135
137
|
'fabric.linking.related_links_modal_error_title': '関連リンクの読み込み中に問題が発生しました',
|
|
138
|
+
'fabric.linking.related_links_modal_title': '関連リンク',
|
|
136
139
|
'fabric.linking.related_links_modal_unavailable_description': '更新されたページやその他のコンテンツ タイプについて継続的に確認し、関連リンクを追加していきます',
|
|
137
140
|
'fabric.linking.related_links_modal_unavailable_title': '関連リンクが見つかりませんでした',
|
|
138
141
|
'fabric.linking.related_links_not_found': 'ここに表示するリンクが見つかりませんでした。',
|
package/dist/cjs/i18n/nl.js
CHANGED
|
@@ -131,8 +131,11 @@ var _default = exports.default = {
|
|
|
131
131
|
'fabric.linking.priority_undefined': 'Niet gedefinieerd',
|
|
132
132
|
'fabric.linking.read_time': '{context} min. leestijd',
|
|
133
133
|
'fabric.linking.related': 'Gerelateerd',
|
|
134
|
+
'fabric.linking.related_links_found_in': 'Gevonden in',
|
|
135
|
+
'fabric.linking.related_links_includes_links_to': 'Inclusief links naar',
|
|
134
136
|
'fabric.linking.related_links_modal_error_description': 'Controleer je verbinding of vernieuw de pagina om het opnieuw te proberen',
|
|
135
137
|
'fabric.linking.related_links_modal_error_title': 'Er zijn wat problemen met het laden van gerelateerde links',
|
|
138
|
+
'fabric.linking.related_links_modal_title': 'Gerelateerde links',
|
|
136
139
|
'fabric.linking.related_links_modal_unavailable_description': "We beoordelen links voortdurend en voegen regelmatig gerelateerde links toe voor bijgewerkte pagina's of andere inhoudstypen",
|
|
137
140
|
'fabric.linking.related_links_modal_unavailable_title': 'Er zijn geen gerelateerde links gevonden',
|
|
138
141
|
'fabric.linking.related_links_not_found': 'We konden geen links vinden om hier weer te geven.',
|
package/dist/cjs/i18n/sv.js
CHANGED
|
@@ -131,8 +131,11 @@ var _default = exports.default = {
|
|
|
131
131
|
'fabric.linking.priority_undefined': 'Ej definierad',
|
|
132
132
|
'fabric.linking.read_time': '{context} minuters läsning',
|
|
133
133
|
'fabric.linking.related': 'Relaterat',
|
|
134
|
+
'fabric.linking.related_links_found_in': 'Hittades i',
|
|
135
|
+
'fabric.linking.related_links_includes_links_to': 'Inkluderar länkar till',
|
|
134
136
|
'fabric.linking.related_links_modal_error_description': 'Kontrollera din anslutning eller uppdatera sidan om du vill försöka igen',
|
|
135
137
|
'fabric.linking.related_links_modal_error_title': 'Vi har problem med att läsa in relaterade länkar',
|
|
138
|
+
'fabric.linking.related_links_modal_title': 'Relaterade länkar',
|
|
136
139
|
'fabric.linking.related_links_modal_unavailable_description': 'Vi granskar kontinuerligt och lägger till relaterade länkar för uppdaterade sidor eller andra innehållstyper',
|
|
137
140
|
'fabric.linking.related_links_modal_unavailable_title': 'Vi hittade inga relaterade länkar.',
|
|
138
141
|
'fabric.linking.related_links_not_found': 'Vi hittade inga länkar att visa här.',
|
|
@@ -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: "40.5.
|
|
14
|
+
packageVersion: "40.5.4"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
package/dist/cjs/view/FlexibleCard/components/elements/common/base-date-time-element/index.js
CHANGED
|
@@ -13,7 +13,6 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
13
13
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
14
|
var _intlUtils = require("@formatjs/intl-utils");
|
|
15
15
|
var _reactIntlNext = require("react-intl-next");
|
|
16
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
16
|
var _messages = require("../../../../../../messages");
|
|
18
17
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
18
|
var styles = null;
|
|
@@ -104,7 +103,7 @@ var BaseDateTimeElement = function BaseDateTimeElement(_ref) {
|
|
|
104
103
|
"data-testid": testId
|
|
105
104
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
106
105
|
,
|
|
107
|
-
className: (0, _runtime.ax)(["_11c81o8v _1reo15vq _18m915vq _syaz1gjq _1e0ccj1k _1ul9idpf _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _102k7vkz", fontSize !== undefined &&
|
|
106
|
+
className: (0, _runtime.ax)(["_11c81o8v _1reo15vq _18m915vq _syaz1gjq _1e0ccj1k _1ul9idpf _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _102k7vkz", fontSize !== undefined && fontOverrideStyleMap[fontSize], className])
|
|
108
107
|
}, content);
|
|
109
108
|
};
|
|
110
109
|
var _default = exports.default = BaseDateTimeElement;
|
|
@@ -9,7 +9,6 @@ exports.toTextProps = exports.toFormattedTextProps = exports.default = exports.B
|
|
|
9
9
|
require("./index.compiled.css");
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _runtime = require("@compiled/react/runtime");
|
|
12
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
12
|
var _utils = require("../../../utils");
|
|
14
13
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
15
14
|
var baseStyle = null;
|
|
@@ -50,7 +49,7 @@ var BaseTextElement = exports.BaseTextElement = function BaseTextElement(_ref) {
|
|
|
50
49
|
"data-testid": testId
|
|
51
50
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
52
51
|
,
|
|
53
|
-
className: (0, _runtime.ax)(["_11c81o8v _1reo15vq _18m915vq _syaz1gjq _o5724jg8 _1e0ccj1k _1ul9idpf _1bto1l2s _1nmz1hna _sudp1e54", fontSize !== undefined &&
|
|
52
|
+
className: (0, _runtime.ax)(["_11c81o8v _1reo15vq _18m915vq _syaz1gjq _o5724jg8 _1e0ccj1k _1ul9idpf _1bto1l2s _1nmz1hna _sudp1e54", fontSize !== undefined && fontOverrideStyleMap[fontSize], "_1yyjr31u _102klxil", className]),
|
|
54
53
|
style: {
|
|
55
54
|
color: color,
|
|
56
55
|
"--_1erfju8": (0, _runtime.ix)(maxLines),
|
|
@@ -9,7 +9,6 @@ exports.default = void 0;
|
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
12
|
var _constants = require("../../../../../constants");
|
|
14
13
|
var _messages = require("../../../../../messages");
|
|
15
14
|
var _flexibleUiContext = require("../../../../../state/flexible-ui-context");
|
|
@@ -23,7 +22,7 @@ var OwnedByElement = function OwnedByElement(props) {
|
|
|
23
22
|
_ref$textPrefix = _ref.textPrefix,
|
|
24
23
|
textPrefix = _ref$textPrefix === void 0 ? 'owned_by' : _ref$textPrefix,
|
|
25
24
|
restProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
26
|
-
var data = context ? (0, _common.toFormattedTextProps)(
|
|
25
|
+
var data = context ? (0, _common.toFormattedTextProps)(_messages.messages[textPrefix], context === null || context === void 0 ? void 0 : context.ownedBy) : null;
|
|
27
26
|
(0, _react.useEffect)(function () {
|
|
28
27
|
onRender === null || onRender === void 0 || onRender(!!data);
|
|
29
28
|
}, [data, onRender]);
|
|
@@ -26,7 +26,6 @@ Object.defineProperty(exports, "CustomUnresolvedAction", {
|
|
|
26
26
|
exports.toActionProps = exports.VoteCountElement = exports.ViewCountElement = exports.UnresolvedAction = exports.TitleElement = exports.TargetBranchElement = exports.SubscriberCountElement = exports.SubTasksProgressElement = exports.StoryPointsElement = exports.StateElement = exports.SourceBranchElement = exports.SnippetElement = exports.SentOnElement = exports.ReadTimeElement = exports.ReactCountElement = exports.ProviderElement = exports.ProgrammingLanguageElement = exports.PriorityElement = exports.PreviewElement = exports.PreviewAction = exports.OwnedByGroupElement = exports.OwnedByElement = exports.ModifiedOnElement = exports.ModifiedByElement = exports.LocationElement = exports.LinkIconElement = exports.LatestCommitElement = exports.FollowAction = exports.DueOnElement = exports.DownloadAction = void 0;
|
|
27
27
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
28
28
|
var _react = _interopRequireDefault(require("react"));
|
|
29
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
30
29
|
var _constants = require("../../constants");
|
|
31
30
|
var _actions = require("./components/actions");
|
|
32
31
|
var _elements = require("./components/elements");
|
|
@@ -97,14 +96,13 @@ var ModifiedOnElement = exports.ModifiedOnElement = function ModifiedOnElement(p
|
|
|
97
96
|
});
|
|
98
97
|
};
|
|
99
98
|
var OwnedByElement = exports.OwnedByElement = function OwnedByElement(props) {
|
|
100
|
-
return /*#__PURE__*/_react.default.createElement(_elements.OwnedBy,
|
|
99
|
+
return /*#__PURE__*/_react.default.createElement(_elements.OwnedBy, {
|
|
101
100
|
hideFormat: props === null || props === void 0 ? void 0 : props.hideFormat,
|
|
102
101
|
color: props === null || props === void 0 ? void 0 : props.color,
|
|
103
|
-
onRender: props === null || props === void 0 ? void 0 : props.onRender
|
|
104
|
-
}, (0, _platformFeatureFlags.fg)('bandicoots-smart-card-teamwork-context') ? {
|
|
102
|
+
onRender: props === null || props === void 0 ? void 0 : props.onRender,
|
|
105
103
|
textPrefix: props === null || props === void 0 ? void 0 : props.textPrefix,
|
|
106
104
|
fontSize: props === null || props === void 0 ? void 0 : props.fontSize
|
|
107
|
-
}
|
|
105
|
+
});
|
|
108
106
|
};
|
|
109
107
|
var OwnedByGroupElement = exports.OwnedByGroupElement = function OwnedByGroupElement(props) {
|
|
110
108
|
return /*#__PURE__*/_react.default.createElement(_elements.OwnedByGroup, {
|
|
@@ -165,12 +163,11 @@ var TitleElement = exports.TitleElement = function TitleElement(props) {
|
|
|
165
163
|
return /*#__PURE__*/_react.default.createElement(_elements.Title, (0, _extends2.default)({
|
|
166
164
|
hideTooltip: props === null || props === void 0 ? void 0 : props.hideTooltip,
|
|
167
165
|
maxLines: props === null || props === void 0 ? void 0 : props.maxLines,
|
|
168
|
-
target: props === null || props === void 0 ? void 0 : props.target
|
|
169
|
-
}, (0, _platformFeatureFlags.fg)('bandicoots-smart-card-teamwork-context') ? {
|
|
166
|
+
target: props === null || props === void 0 ? void 0 : props.target,
|
|
170
167
|
theme: props === null || props === void 0 ? void 0 : props.theme,
|
|
171
168
|
size: props === null || props === void 0 ? void 0 : props.size,
|
|
172
169
|
testId: props === null || props === void 0 ? void 0 : props.testId
|
|
173
|
-
}
|
|
170
|
+
}, props !== null && props !== void 0 && props.text ? {
|
|
174
171
|
text: props === null || props === void 0 ? void 0 : props.text
|
|
175
172
|
} : undefined));
|
|
176
173
|
};
|
|
@@ -18,8 +18,6 @@ var _extractProviderIcon = require("../../extractors/flexible/icon/extract-provi
|
|
|
18
18
|
var _messages = require("../../messages");
|
|
19
19
|
var _utils = require("../../utils");
|
|
20
20
|
var _jsonld = require("../../utils/jsonld");
|
|
21
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23
21
|
var getContextByStatus = exports.getContextByStatus = function getContextByStatus(params) {
|
|
24
22
|
var _response$meta;
|
|
25
23
|
var _ref = params !== null && params !== void 0 ? params : {},
|
|
@@ -42,18 +40,17 @@ var getContextByStatus = exports.getContextByStatus = function getContextByStatu
|
|
|
42
40
|
case _constants.SmartLinkStatus.Errored:
|
|
43
41
|
case _constants.SmartLinkStatus.Fallback:
|
|
44
42
|
default:
|
|
45
|
-
return
|
|
43
|
+
return {
|
|
46
44
|
url: url,
|
|
47
45
|
linkIcon: (0, _icon.extractErrorIcon)(response, status),
|
|
48
46
|
linkTitle: (0, _extractLinkTitle.default)(status, url, response, onClick),
|
|
49
47
|
preview: (0, _extractPreview.extractSmartLinkPreviewImage)(response),
|
|
50
48
|
provider: (0, _extractProviderIcon.extractSmartLinkProviderIcon)(response),
|
|
51
|
-
actions: (0, _defineProperty2.default)({}, _constants.InternalActionName.UnresolvedAction, getRetryOptions(url, status, response, params.onAuthorize))
|
|
52
|
-
}, (0, _platformFeatureFlags.fg)('bandicoots-smart-card-teamwork-context') ? {
|
|
49
|
+
actions: (0, _defineProperty2.default)({}, _constants.InternalActionName.UnresolvedAction, getRetryOptions(url, status, response, params.onAuthorize)),
|
|
53
50
|
meta: {
|
|
54
51
|
accessType: response === null || response === void 0 || (_response$meta = response.meta) === null || _response$meta === void 0 || (_response$meta = _response$meta.requestAccess) === null || _response$meta === void 0 ? void 0 : _response$meta.accessType
|
|
55
52
|
}
|
|
56
|
-
}
|
|
53
|
+
};
|
|
57
54
|
}
|
|
58
55
|
};
|
|
59
56
|
var getForbiddenMessageKey = function getForbiddenMessageKey(meta) {
|
|
@@ -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: "40.5.
|
|
22
|
+
packageVersion: "40.5.4",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
package/dist/es2019/i18n/cs.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': 'Nedefinováno',
|
|
126
126
|
'fabric.linking.read_time': '{context} min. čtení',
|
|
127
127
|
'fabric.linking.related': 'Souvisící',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'Nalezeno v:',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': 'Zahrnuje odkazy na:',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': 'Zkontrolujte připojení nebo obnovte stránku a zkuste to znovu.',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': 'Při načítání souvisejících odkazů se vyskytly problémy',
|
|
132
|
+
'fabric.linking.related_links_modal_title': 'Související odkazy',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': 'Neustále kontrolujeme a přidáváme související odkazy na aktualizované stránky nebo jiné typy obsahu.',
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': 'Nepodařilo se najít žádné související odkazy',
|
|
132
135
|
'fabric.linking.related_links_not_found': 'Nebyly nalezeny žádné odkazy, které bychom tu mohli zobrazit.',
|
package/dist/es2019/i18n/fr.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': 'Non définie',
|
|
126
126
|
'fabric.linking.read_time': '{context} min de lecture',
|
|
127
127
|
'fabric.linking.related': 'Associé',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'Trouvées dans',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': 'Inclut des liens vers',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': 'Vérifiez votre connexion ou actualisez la page, puis réessayez',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': 'Nous ne parvenons pas à charger les liens associés',
|
|
132
|
+
'fabric.linking.related_links_modal_title': 'Liens associés',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': "Nous vérifions et ajoutons en permanence des liens associés pour les pages mises à jour ou d'autres types de contenu",
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': "Nous n'avons trouvé aucun lien associé",
|
|
132
135
|
'fabric.linking.related_links_not_found': "Nous n'avons trouvé aucun lien à afficher ici.",
|
package/dist/es2019/i18n/hu.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': 'Nincs meghatározva',
|
|
126
126
|
'fabric.linking.read_time': '{context} perc olvasási idő',
|
|
127
127
|
'fabric.linking.related': 'Kapcsolódó',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'Itt található:',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': 'A következőkre mutató linkeket tartalmaz:',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': 'Ellenőrizd a kapcsolatodat, frissítsd az oldalt, és próbálkozz újra',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': 'Probléma merült fel a kapcsolódó linkek betöltése során',
|
|
132
|
+
'fabric.linking.related_links_modal_title': 'Kapcsolódó linkek',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': 'Folyamatosan ellenőrizzük és hozzáadjuk a kapcsolódó linkeket, hogy frissített oldalakat és más tartalomtípusokat kapj',
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': 'Nem találtunk kapcsolódó linkeket',
|
|
132
135
|
'fabric.linking.related_links_not_found': 'Nem találtunk itt megjeleníthető linkeket.',
|
package/dist/es2019/i18n/it.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': 'Non definita',
|
|
126
126
|
'fabric.linking.read_time': '{context} minuti di lettura',
|
|
127
127
|
'fabric.linking.related': 'Correlate',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'Trovate in',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': 'Include link a',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': 'Controlla la connessione oppure aggiorna la pagina per riprovare',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': 'Stiamo riscontrando problemi nel caricamento dei link correlati',
|
|
132
|
+
'fabric.linking.related_links_modal_title': 'Link correlati',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': 'Esaminiamo e aggiungiamo continuamente i link correlati per le pagine o altri tipi di contenuti aggiornati',
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': 'Non è stato possibile trovare link correlati',
|
|
132
135
|
'fabric.linking.related_links_not_found': 'Non sono stati trovati link da mostrare qui.',
|
package/dist/es2019/i18n/ja.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': '未定義',
|
|
126
126
|
'fabric.linking.read_time': '読了時間 {context} 分',
|
|
127
127
|
'fabric.linking.related': '関連',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'ソース元',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': '次へのリンクが含まれています',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': '接続を確認するか、ページを更新してもう一度お試しください',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': '関連リンクの読み込み中に問題が発生しました',
|
|
132
|
+
'fabric.linking.related_links_modal_title': '関連リンク',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': '更新されたページやその他のコンテンツ タイプについて継続的に確認し、関連リンクを追加していきます',
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': '関連リンクが見つかりませんでした',
|
|
132
135
|
'fabric.linking.related_links_not_found': 'ここに表示するリンクが見つかりませんでした。',
|
package/dist/es2019/i18n/nl.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': 'Niet gedefinieerd',
|
|
126
126
|
'fabric.linking.read_time': '{context} min. leestijd',
|
|
127
127
|
'fabric.linking.related': 'Gerelateerd',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'Gevonden in',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': 'Inclusief links naar',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': 'Controleer je verbinding of vernieuw de pagina om het opnieuw te proberen',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': 'Er zijn wat problemen met het laden van gerelateerde links',
|
|
132
|
+
'fabric.linking.related_links_modal_title': 'Gerelateerde links',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': "We beoordelen links voortdurend en voegen regelmatig gerelateerde links toe voor bijgewerkte pagina's of andere inhoudstypen",
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': 'Er zijn geen gerelateerde links gevonden',
|
|
132
135
|
'fabric.linking.related_links_not_found': 'We konden geen links vinden om hier weer te geven.',
|
package/dist/es2019/i18n/sv.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': 'Ej definierad',
|
|
126
126
|
'fabric.linking.read_time': '{context} minuters läsning',
|
|
127
127
|
'fabric.linking.related': 'Relaterat',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'Hittades i',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': 'Inkluderar länkar till',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': 'Kontrollera din anslutning eller uppdatera sidan om du vill försöka igen',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': 'Vi har problem med att läsa in relaterade länkar',
|
|
132
|
+
'fabric.linking.related_links_modal_title': 'Relaterade länkar',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': 'Vi granskar kontinuerligt och lägger till relaterade länkar för uppdaterade sidor eller andra innehållstyper',
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': 'Vi hittade inga relaterade länkar.',
|
|
132
135
|
'fabric.linking.related_links_not_found': 'Vi hittade inga länkar att visa här.',
|
|
@@ -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: "40.5.
|
|
5
|
+
packageVersion: "40.5.4"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
package/dist/es2019/view/FlexibleCard/components/elements/common/base-date-time-element/index.js
CHANGED
|
@@ -5,7 +5,6 @@ import * as React from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { selectUnit } from '@formatjs/intl-utils';
|
|
7
7
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { messages } from '../../../../../../messages';
|
|
10
9
|
const styles = null;
|
|
11
10
|
const typeToDescriptorMap = {
|
|
@@ -96,7 +95,7 @@ const BaseDateTimeElement = ({
|
|
|
96
95
|
"data-testid": testId
|
|
97
96
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
98
97
|
,
|
|
99
|
-
className: ax(["_11c81o8v _1reo15vq _18m915vq _syaz1gjq _1e0ccj1k _1ul9idpf _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _102k7vkz", fontSize !== undefined &&
|
|
98
|
+
className: ax(["_11c81o8v _1reo15vq _18m915vq _syaz1gjq _1e0ccj1k _1ul9idpf _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _102k7vkz", fontSize !== undefined && fontOverrideStyleMap[fontSize], className])
|
|
100
99
|
}, content);
|
|
101
100
|
};
|
|
102
101
|
export default BaseDateTimeElement;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { getFormattedMessage } from '../../../utils';
|
|
7
6
|
const baseStyle = null;
|
|
8
7
|
const fontOverrideStyleMap = {
|
|
@@ -40,7 +39,7 @@ export const BaseTextElement = ({
|
|
|
40
39
|
"data-testid": testId
|
|
41
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
42
41
|
,
|
|
43
|
-
className: ax(["_11c81o8v _1reo15vq _18m915vq _syaz1gjq _o5724jg8 _1e0ccj1k _1ul9idpf _1bto1l2s _1nmz1hna _sudp1e54", fontSize !== undefined &&
|
|
42
|
+
className: ax(["_11c81o8v _1reo15vq _18m915vq _syaz1gjq _o5724jg8 _1e0ccj1k _1ul9idpf _1bto1l2s _1nmz1hna _sudp1e54", fontSize !== undefined && fontOverrideStyleMap[fontSize], "_1yyjr31u _102k1dud", className]),
|
|
44
43
|
style: {
|
|
45
44
|
color,
|
|
46
45
|
"--_1erfju8": ix(maxLines)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useEffect } from 'react';
|
|
3
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
3
|
import { ElementName } from '../../../../../constants';
|
|
5
4
|
import { messages } from '../../../../../messages';
|
|
6
5
|
import { useFlexibleUiContext } from '../../../../../state/flexible-ui-context';
|
|
@@ -12,7 +11,7 @@ const OwnedByElement = props => {
|
|
|
12
11
|
textPrefix = 'owned_by',
|
|
13
12
|
...restProps
|
|
14
13
|
} = props || {};
|
|
15
|
-
const data = context ? toFormattedTextProps(
|
|
14
|
+
const data = context ? toFormattedTextProps(messages[textPrefix], context === null || context === void 0 ? void 0 : context.ownedBy) : null;
|
|
16
15
|
useEffect(() => {
|
|
17
16
|
onRender === null || onRender === void 0 ? void 0 : onRender(!!data);
|
|
18
17
|
}, [data, onRender]);
|
|
@@ -8,7 +8,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
8
8
|
* DO NOT add a new prop to these components until we are ready to support it externally.
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
11
|
import { SmartLinkSize } from '../../constants';
|
|
13
12
|
import { CopyLinkAction as CopyLinkActionComponent, CustomAction as CustomActionComponent, DownloadAction as DownloadActionComponent, FollowAction as FollowActionComponent, PreviewAction as PreviewActionComponent, UnresolvedAction as UnresolvedActionComponent } from './components/actions';
|
|
14
13
|
import { AssignedTo, AssignedToGroup, AttachmentCount, AuthorGroup, ChecklistProgress, CollaboratorGroup, CommentCount, CreatedBy, CreatedOn, DueOn, LatestCommit, LinkIcon, Location, ModifiedBy, ModifiedOn, OwnedBy, OwnedByGroup, Preview, Priority, ProgrammingLanguage, Provider, ReactCount, ReadTime, SentOn, Snippet, SourceBranch, State, StoryPoints, SubscriberCount, SubTasksProgress, TargetBranch, Title, ViewCount, VoteCount } from './components/elements';
|
|
@@ -47,14 +46,13 @@ export const ModifiedOnElement = props => {
|
|
|
47
46
|
});
|
|
48
47
|
};
|
|
49
48
|
export const OwnedByElement = props => {
|
|
50
|
-
return /*#__PURE__*/React.createElement(OwnedBy,
|
|
49
|
+
return /*#__PURE__*/React.createElement(OwnedBy, {
|
|
51
50
|
hideFormat: props === null || props === void 0 ? void 0 : props.hideFormat,
|
|
52
51
|
color: props === null || props === void 0 ? void 0 : props.color,
|
|
53
|
-
onRender: props === null || props === void 0 ? void 0 : props.onRender
|
|
54
|
-
}, fg('bandicoots-smart-card-teamwork-context') ? {
|
|
52
|
+
onRender: props === null || props === void 0 ? void 0 : props.onRender,
|
|
55
53
|
textPrefix: props === null || props === void 0 ? void 0 : props.textPrefix,
|
|
56
54
|
fontSize: props === null || props === void 0 ? void 0 : props.fontSize
|
|
57
|
-
}
|
|
55
|
+
});
|
|
58
56
|
};
|
|
59
57
|
export const OwnedByGroupElement = props => {
|
|
60
58
|
return /*#__PURE__*/React.createElement(OwnedByGroup, {
|
|
@@ -90,12 +88,11 @@ export const TargetBranchElement = () => /*#__PURE__*/React.createElement(Target
|
|
|
90
88
|
export const TitleElement = props => /*#__PURE__*/React.createElement(Title, _extends({
|
|
91
89
|
hideTooltip: props === null || props === void 0 ? void 0 : props.hideTooltip,
|
|
92
90
|
maxLines: props === null || props === void 0 ? void 0 : props.maxLines,
|
|
93
|
-
target: props === null || props === void 0 ? void 0 : props.target
|
|
94
|
-
}, fg('bandicoots-smart-card-teamwork-context') ? {
|
|
91
|
+
target: props === null || props === void 0 ? void 0 : props.target,
|
|
95
92
|
theme: props === null || props === void 0 ? void 0 : props.theme,
|
|
96
93
|
size: props === null || props === void 0 ? void 0 : props.size,
|
|
97
94
|
testId: props === null || props === void 0 ? void 0 : props.testId
|
|
98
|
-
}
|
|
95
|
+
}, props !== null && props !== void 0 && props.text ? {
|
|
99
96
|
text: props === null || props === void 0 ? void 0 : props.text
|
|
100
97
|
} : undefined));
|
|
101
98
|
export const ViewCountElement = () => /*#__PURE__*/React.createElement(ViewCount, null);
|
|
@@ -42,11 +42,9 @@ export const getContextByStatus = params => {
|
|
|
42
42
|
actions: {
|
|
43
43
|
[InternalActionName.UnresolvedAction]: getRetryOptions(url, status, response, params.onAuthorize)
|
|
44
44
|
},
|
|
45
|
-
|
|
46
|
-
meta:
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
} : undefined)
|
|
45
|
+
meta: {
|
|
46
|
+
accessType: response === null || response === void 0 ? void 0 : (_response$meta = response.meta) === null || _response$meta === void 0 ? void 0 : (_response$meta$reques = _response$meta.requestAccess) === null || _response$meta$reques === void 0 ? void 0 : _response$meta$reques.accessType
|
|
47
|
+
}
|
|
50
48
|
};
|
|
51
49
|
}
|
|
52
50
|
};
|
|
@@ -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: "40.5.
|
|
12
|
+
packageVersion: "40.5.4",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const Anchor = withLinkClickedEvent('a');
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': 'Nedefinováno',
|
|
126
126
|
'fabric.linking.read_time': '{context} min. čtení',
|
|
127
127
|
'fabric.linking.related': 'Souvisící',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'Nalezeno v:',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': 'Zahrnuje odkazy na:',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': 'Zkontrolujte připojení nebo obnovte stránku a zkuste to znovu.',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': 'Při načítání souvisejících odkazů se vyskytly problémy',
|
|
132
|
+
'fabric.linking.related_links_modal_title': 'Související odkazy',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': 'Neustále kontrolujeme a přidáváme související odkazy na aktualizované stránky nebo jiné typy obsahu.',
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': 'Nepodařilo se najít žádné související odkazy',
|
|
132
135
|
'fabric.linking.related_links_not_found': 'Nebyly nalezeny žádné odkazy, které bychom tu mohli zobrazit.',
|
package/dist/esm/i18n/fr.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': 'Non définie',
|
|
126
126
|
'fabric.linking.read_time': '{context} min de lecture',
|
|
127
127
|
'fabric.linking.related': 'Associé',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'Trouvées dans',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': 'Inclut des liens vers',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': 'Vérifiez votre connexion ou actualisez la page, puis réessayez',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': 'Nous ne parvenons pas à charger les liens associés',
|
|
132
|
+
'fabric.linking.related_links_modal_title': 'Liens associés',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': "Nous vérifions et ajoutons en permanence des liens associés pour les pages mises à jour ou d'autres types de contenu",
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': "Nous n'avons trouvé aucun lien associé",
|
|
132
135
|
'fabric.linking.related_links_not_found': "Nous n'avons trouvé aucun lien à afficher ici.",
|
package/dist/esm/i18n/hu.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': 'Nincs meghatározva',
|
|
126
126
|
'fabric.linking.read_time': '{context} perc olvasási idő',
|
|
127
127
|
'fabric.linking.related': 'Kapcsolódó',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'Itt található:',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': 'A következőkre mutató linkeket tartalmaz:',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': 'Ellenőrizd a kapcsolatodat, frissítsd az oldalt, és próbálkozz újra',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': 'Probléma merült fel a kapcsolódó linkek betöltése során',
|
|
132
|
+
'fabric.linking.related_links_modal_title': 'Kapcsolódó linkek',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': 'Folyamatosan ellenőrizzük és hozzáadjuk a kapcsolódó linkeket, hogy frissített oldalakat és más tartalomtípusokat kapj',
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': 'Nem találtunk kapcsolódó linkeket',
|
|
132
135
|
'fabric.linking.related_links_not_found': 'Nem találtunk itt megjeleníthető linkeket.',
|
package/dist/esm/i18n/it.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': 'Non definita',
|
|
126
126
|
'fabric.linking.read_time': '{context} minuti di lettura',
|
|
127
127
|
'fabric.linking.related': 'Correlate',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'Trovate in',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': 'Include link a',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': 'Controlla la connessione oppure aggiorna la pagina per riprovare',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': 'Stiamo riscontrando problemi nel caricamento dei link correlati',
|
|
132
|
+
'fabric.linking.related_links_modal_title': 'Link correlati',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': 'Esaminiamo e aggiungiamo continuamente i link correlati per le pagine o altri tipi di contenuti aggiornati',
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': 'Non è stato possibile trovare link correlati',
|
|
132
135
|
'fabric.linking.related_links_not_found': 'Non sono stati trovati link da mostrare qui.',
|
package/dist/esm/i18n/ja.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': '未定義',
|
|
126
126
|
'fabric.linking.read_time': '読了時間 {context} 分',
|
|
127
127
|
'fabric.linking.related': '関連',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'ソース元',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': '次へのリンクが含まれています',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': '接続を確認するか、ページを更新してもう一度お試しください',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': '関連リンクの読み込み中に問題が発生しました',
|
|
132
|
+
'fabric.linking.related_links_modal_title': '関連リンク',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': '更新されたページやその他のコンテンツ タイプについて継続的に確認し、関連リンクを追加していきます',
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': '関連リンクが見つかりませんでした',
|
|
132
135
|
'fabric.linking.related_links_not_found': 'ここに表示するリンクが見つかりませんでした。',
|
package/dist/esm/i18n/nl.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': 'Niet gedefinieerd',
|
|
126
126
|
'fabric.linking.read_time': '{context} min. leestijd',
|
|
127
127
|
'fabric.linking.related': 'Gerelateerd',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'Gevonden in',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': 'Inclusief links naar',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': 'Controleer je verbinding of vernieuw de pagina om het opnieuw te proberen',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': 'Er zijn wat problemen met het laden van gerelateerde links',
|
|
132
|
+
'fabric.linking.related_links_modal_title': 'Gerelateerde links',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': "We beoordelen links voortdurend en voegen regelmatig gerelateerde links toe voor bijgewerkte pagina's of andere inhoudstypen",
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': 'Er zijn geen gerelateerde links gevonden',
|
|
132
135
|
'fabric.linking.related_links_not_found': 'We konden geen links vinden om hier weer te geven.',
|
package/dist/esm/i18n/sv.js
CHANGED
|
@@ -125,8 +125,11 @@ export default {
|
|
|
125
125
|
'fabric.linking.priority_undefined': 'Ej definierad',
|
|
126
126
|
'fabric.linking.read_time': '{context} minuters läsning',
|
|
127
127
|
'fabric.linking.related': 'Relaterat',
|
|
128
|
+
'fabric.linking.related_links_found_in': 'Hittades i',
|
|
129
|
+
'fabric.linking.related_links_includes_links_to': 'Inkluderar länkar till',
|
|
128
130
|
'fabric.linking.related_links_modal_error_description': 'Kontrollera din anslutning eller uppdatera sidan om du vill försöka igen',
|
|
129
131
|
'fabric.linking.related_links_modal_error_title': 'Vi har problem med att läsa in relaterade länkar',
|
|
132
|
+
'fabric.linking.related_links_modal_title': 'Relaterade länkar',
|
|
130
133
|
'fabric.linking.related_links_modal_unavailable_description': 'Vi granskar kontinuerligt och lägger till relaterade länkar för uppdaterade sidor eller andra innehållstyper',
|
|
131
134
|
'fabric.linking.related_links_modal_unavailable_title': 'Vi hittade inga relaterade länkar.',
|
|
132
135
|
'fabric.linking.related_links_not_found': 'Vi hittade inga länkar att visa här.',
|
|
@@ -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: "40.5.
|
|
7
|
+
packageVersion: "40.5.4"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
package/dist/esm/view/FlexibleCard/components/elements/common/base-date-time-element/index.js
CHANGED
|
@@ -5,7 +5,6 @@ import * as React from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { selectUnit } from '@formatjs/intl-utils';
|
|
7
7
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { messages } from '../../../../../../messages';
|
|
10
9
|
var styles = null;
|
|
11
10
|
var typeToDescriptorMap = {
|
|
@@ -95,7 +94,7 @@ var BaseDateTimeElement = function BaseDateTimeElement(_ref) {
|
|
|
95
94
|
"data-testid": testId
|
|
96
95
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
97
96
|
,
|
|
98
|
-
className: ax(["_11c81o8v _1reo15vq _18m915vq _syaz1gjq _1e0ccj1k _1ul9idpf _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _102k7vkz", fontSize !== undefined &&
|
|
97
|
+
className: ax(["_11c81o8v _1reo15vq _18m915vq _syaz1gjq _1e0ccj1k _1ul9idpf _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _102k7vkz", fontSize !== undefined && fontOverrideStyleMap[fontSize], className])
|
|
99
98
|
}, content);
|
|
100
99
|
};
|
|
101
100
|
export default BaseDateTimeElement;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { getFormattedMessage } from '../../../utils';
|
|
7
6
|
var baseStyle = null;
|
|
8
7
|
var fontOverrideStyleMap = {
|
|
@@ -42,7 +41,7 @@ export var BaseTextElement = function BaseTextElement(_ref) {
|
|
|
42
41
|
"data-testid": testId
|
|
43
42
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
44
43
|
,
|
|
45
|
-
className: ax(["_11c81o8v _1reo15vq _18m915vq _syaz1gjq _o5724jg8 _1e0ccj1k _1ul9idpf _1bto1l2s _1nmz1hna _sudp1e54", fontSize !== undefined &&
|
|
44
|
+
className: ax(["_11c81o8v _1reo15vq _18m915vq _syaz1gjq _o5724jg8 _1e0ccj1k _1ul9idpf _1bto1l2s _1nmz1hna _sudp1e54", fontSize !== undefined && fontOverrideStyleMap[fontSize], "_1yyjr31u _102klxil", className]),
|
|
46
45
|
style: {
|
|
47
46
|
color: color,
|
|
48
47
|
"--_1erfju8": ix(maxLines),
|
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["onRender", "textPrefix"];
|
|
4
4
|
import React, { useEffect } from 'react';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { ElementName } from '../../../../../constants';
|
|
7
6
|
import { messages } from '../../../../../messages';
|
|
8
7
|
import { useFlexibleUiContext } from '../../../../../state/flexible-ui-context';
|
|
@@ -14,7 +13,7 @@ var OwnedByElement = function OwnedByElement(props) {
|
|
|
14
13
|
_ref$textPrefix = _ref.textPrefix,
|
|
15
14
|
textPrefix = _ref$textPrefix === void 0 ? 'owned_by' : _ref$textPrefix,
|
|
16
15
|
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
17
|
-
var data = context ? toFormattedTextProps(
|
|
16
|
+
var data = context ? toFormattedTextProps(messages[textPrefix], context === null || context === void 0 ? void 0 : context.ownedBy) : null;
|
|
18
17
|
useEffect(function () {
|
|
19
18
|
onRender === null || onRender === void 0 || onRender(!!data);
|
|
20
19
|
}, [data, onRender]);
|
|
@@ -8,7 +8,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
8
8
|
* DO NOT add a new prop to these components until we are ready to support it externally.
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
11
|
import { SmartLinkSize } from '../../constants';
|
|
13
12
|
import { CopyLinkAction as CopyLinkActionComponent, CustomAction as CustomActionComponent, DownloadAction as DownloadActionComponent, FollowAction as FollowActionComponent, PreviewAction as PreviewActionComponent, UnresolvedAction as UnresolvedActionComponent } from './components/actions';
|
|
14
13
|
import { AssignedTo, AssignedToGroup, AttachmentCount, AuthorGroup, ChecklistProgress, CollaboratorGroup, CommentCount, CreatedBy, CreatedOn, DueOn, LatestCommit, LinkIcon, Location, ModifiedBy, ModifiedOn, OwnedBy, OwnedByGroup, Preview, Priority, ProgrammingLanguage, Provider, ReactCount, ReadTime, SentOn, Snippet, SourceBranch, State, StoryPoints, SubscriberCount, SubTasksProgress, TargetBranch, Title, ViewCount, VoteCount } from './components/elements';
|
|
@@ -71,14 +70,13 @@ export var ModifiedOnElement = function ModifiedOnElement(props) {
|
|
|
71
70
|
});
|
|
72
71
|
};
|
|
73
72
|
export var OwnedByElement = function OwnedByElement(props) {
|
|
74
|
-
return /*#__PURE__*/React.createElement(OwnedBy,
|
|
73
|
+
return /*#__PURE__*/React.createElement(OwnedBy, {
|
|
75
74
|
hideFormat: props === null || props === void 0 ? void 0 : props.hideFormat,
|
|
76
75
|
color: props === null || props === void 0 ? void 0 : props.color,
|
|
77
|
-
onRender: props === null || props === void 0 ? void 0 : props.onRender
|
|
78
|
-
}, fg('bandicoots-smart-card-teamwork-context') ? {
|
|
76
|
+
onRender: props === null || props === void 0 ? void 0 : props.onRender,
|
|
79
77
|
textPrefix: props === null || props === void 0 ? void 0 : props.textPrefix,
|
|
80
78
|
fontSize: props === null || props === void 0 ? void 0 : props.fontSize
|
|
81
|
-
}
|
|
79
|
+
});
|
|
82
80
|
};
|
|
83
81
|
export var OwnedByGroupElement = function OwnedByGroupElement(props) {
|
|
84
82
|
return /*#__PURE__*/React.createElement(OwnedByGroup, {
|
|
@@ -139,12 +137,11 @@ export var TitleElement = function TitleElement(props) {
|
|
|
139
137
|
return /*#__PURE__*/React.createElement(Title, _extends({
|
|
140
138
|
hideTooltip: props === null || props === void 0 ? void 0 : props.hideTooltip,
|
|
141
139
|
maxLines: props === null || props === void 0 ? void 0 : props.maxLines,
|
|
142
|
-
target: props === null || props === void 0 ? void 0 : props.target
|
|
143
|
-
}, fg('bandicoots-smart-card-teamwork-context') ? {
|
|
140
|
+
target: props === null || props === void 0 ? void 0 : props.target,
|
|
144
141
|
theme: props === null || props === void 0 ? void 0 : props.theme,
|
|
145
142
|
size: props === null || props === void 0 ? void 0 : props.size,
|
|
146
143
|
testId: props === null || props === void 0 ? void 0 : props.testId
|
|
147
|
-
}
|
|
144
|
+
}, props !== null && props !== void 0 && props.text ? {
|
|
148
145
|
text: props === null || props === void 0 ? void 0 : props.text
|
|
149
146
|
} : undefined));
|
|
150
147
|
};
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
2
|
import { extractSmartLinkProvider } from '@atlaskit/link-extractors';
|
|
5
3
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
4
|
import { InternalActionName, SmartLinkStatus } from '../../constants';
|
|
@@ -35,18 +33,17 @@ export var getContextByStatus = function getContextByStatus(params) {
|
|
|
35
33
|
case SmartLinkStatus.Errored:
|
|
36
34
|
case SmartLinkStatus.Fallback:
|
|
37
35
|
default:
|
|
38
|
-
return
|
|
36
|
+
return {
|
|
39
37
|
url: url,
|
|
40
38
|
linkIcon: extractErrorIcon(response, status),
|
|
41
39
|
linkTitle: extractLinkTitle(status, url, response, onClick),
|
|
42
40
|
preview: extractSmartLinkPreviewImage(response),
|
|
43
41
|
provider: extractSmartLinkProviderIcon(response),
|
|
44
|
-
actions: _defineProperty({}, InternalActionName.UnresolvedAction, getRetryOptions(url, status, response, params.onAuthorize))
|
|
45
|
-
}, fg('bandicoots-smart-card-teamwork-context') ? {
|
|
42
|
+
actions: _defineProperty({}, InternalActionName.UnresolvedAction, getRetryOptions(url, status, response, params.onAuthorize)),
|
|
46
43
|
meta: {
|
|
47
44
|
accessType: response === null || response === void 0 || (_response$meta = response.meta) === null || _response$meta === void 0 || (_response$meta = _response$meta.requestAccess) === null || _response$meta === void 0 ? void 0 : _response$meta.accessType
|
|
48
45
|
}
|
|
49
|
-
}
|
|
46
|
+
};
|
|
50
47
|
}
|
|
51
48
|
};
|
|
52
49
|
var getForbiddenMessageKey = function getForbiddenMessageKey(meta) {
|
|
@@ -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: "40.5.
|
|
15
|
+
packageVersion: "40.5.4",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
var Anchor = withLinkClickedEvent('a');
|
package/dist/types/i18n/cs.d.ts
CHANGED
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
package/dist/types/i18n/fr.d.ts
CHANGED
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
package/dist/types/i18n/hu.d.ts
CHANGED
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
package/dist/types/i18n/it.d.ts
CHANGED
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
package/dist/types/i18n/ja.d.ts
CHANGED
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
package/dist/types/i18n/nl.d.ts
CHANGED
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
package/dist/types/i18n/sv.d.ts
CHANGED
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
|
@@ -123,8 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.priority_undefined': string;
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
|
+
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_includes_links_to': string;
|
|
126
128
|
'fabric.linking.related_links_modal_error_description': string;
|
|
127
129
|
'fabric.linking.related_links_modal_error_title': string;
|
|
130
|
+
'fabric.linking.related_links_modal_title': string;
|
|
128
131
|
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
129
132
|
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
130
133
|
'fabric.linking.related_links_not_found': string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "40.5.
|
|
3
|
+
"version": "40.5.5",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
],
|
|
18
18
|
"atlaskit:src": "src/index.ts",
|
|
19
19
|
"atlassian": {
|
|
20
|
-
"team": "Linking Platform",
|
|
20
|
+
"team": "Navigation Experiences - Linking Platform",
|
|
21
21
|
"website": {
|
|
22
22
|
"name": "Smart Card"
|
|
23
23
|
}
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@atlaskit/avatar": "^25.1.0",
|
|
32
32
|
"@atlaskit/avatar-group": "^12.1.0",
|
|
33
33
|
"@atlaskit/badge": "^18.1.0",
|
|
34
|
-
"@atlaskit/button": "^23.
|
|
34
|
+
"@atlaskit/button": "^23.3.0",
|
|
35
35
|
"@atlaskit/checkbox": "^17.1.0",
|
|
36
36
|
"@atlaskit/css": "^0.12.0",
|
|
37
37
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
@@ -50,25 +50,25 @@
|
|
|
50
50
|
"@atlaskit/link-analytics": "^10.0.0",
|
|
51
51
|
"@atlaskit/link-client-extension": "^5.0.0",
|
|
52
52
|
"@atlaskit/link-extractors": "^2.4.0",
|
|
53
|
-
"@atlaskit/link-test-helpers": "^8.
|
|
53
|
+
"@atlaskit/link-test-helpers": "^8.3.0",
|
|
54
54
|
"@atlaskit/linking-common": "^9.2.0",
|
|
55
55
|
"@atlaskit/linking-types": "^14.0.0",
|
|
56
|
-
"@atlaskit/logo": "^19.
|
|
56
|
+
"@atlaskit/logo": "^19.6.0",
|
|
57
57
|
"@atlaskit/lozenge": "^13.0.0",
|
|
58
|
-
"@atlaskit/menu": "^8.
|
|
58
|
+
"@atlaskit/menu": "^8.1.0",
|
|
59
59
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
60
60
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
61
61
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
62
62
|
"@atlaskit/popup": "^4.3.0",
|
|
63
63
|
"@atlaskit/primitives": "^14.10.0",
|
|
64
|
-
"@atlaskit/section-message": "^8.
|
|
64
|
+
"@atlaskit/section-message": "^8.5.0",
|
|
65
65
|
"@atlaskit/select": "^21.2.0",
|
|
66
|
-
"@atlaskit/spinner": "^
|
|
66
|
+
"@atlaskit/spinner": "^19.0.0",
|
|
67
67
|
"@atlaskit/textarea": "^8.0.0",
|
|
68
68
|
"@atlaskit/textfield": "^8.0.0",
|
|
69
69
|
"@atlaskit/theme": "^19.0.0",
|
|
70
70
|
"@atlaskit/tokens": "^5.6.0",
|
|
71
|
-
"@atlaskit/tooltip": "^20.
|
|
71
|
+
"@atlaskit/tooltip": "^20.4.0",
|
|
72
72
|
"@atlaskit/ufo": "^0.4.0",
|
|
73
73
|
"@babel/runtime": "^7.0.0",
|
|
74
74
|
"@compiled/react": "^0.18.3",
|
|
@@ -175,9 +175,6 @@
|
|
|
175
175
|
"platform-component-visual-refresh": {
|
|
176
176
|
"type": "boolean"
|
|
177
177
|
},
|
|
178
|
-
"bandicoots-smart-card-teamwork-context": {
|
|
179
|
-
"type": "boolean"
|
|
180
|
-
},
|
|
181
178
|
"platform_bandicoots-smartlink-unresolved-error-key": {
|
|
182
179
|
"type": "boolean"
|
|
183
180
|
},
|