@atlaskit/smart-card 19.1.8 → 19.1.11
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 +19 -0
- package/dist/cjs/extractors/common/context/extractAccessContext.js +1 -1
- package/dist/cjs/i18n/cs.js +127 -5
- package/dist/cjs/i18n/da.js +126 -5
- package/dist/cjs/i18n/de.js +127 -5
- package/dist/cjs/i18n/en.js +127 -5
- package/dist/cjs/i18n/en_GB.js +127 -5
- package/dist/cjs/i18n/en_ZZ.js +127 -5
- package/dist/cjs/i18n/es.js +127 -5
- package/dist/cjs/i18n/et.js +87 -1
- package/dist/cjs/i18n/fi.js +127 -5
- package/dist/cjs/i18n/fr.js +127 -5
- package/dist/cjs/i18n/hu.js +127 -5
- package/dist/cjs/i18n/index.js +239 -0
- package/dist/cjs/i18n/is.js +77 -0
- package/dist/cjs/i18n/it.js +127 -5
- package/dist/cjs/i18n/ja.js +127 -5
- package/dist/cjs/i18n/ko.js +127 -5
- package/dist/cjs/i18n/languages.js +33 -0
- package/dist/cjs/i18n/nb.js +127 -5
- package/dist/cjs/i18n/nl.js +127 -5
- package/dist/cjs/i18n/pl.js +127 -5
- package/dist/cjs/i18n/pt_BR.js +127 -5
- package/dist/cjs/i18n/pt_PT.js +87 -1
- package/dist/cjs/i18n/ro.js +77 -0
- package/dist/cjs/i18n/ru.js +127 -5
- package/dist/cjs/i18n/sk.js +87 -1
- package/dist/cjs/i18n/sv.js +127 -5
- package/dist/cjs/i18n/th.js +127 -5
- package/dist/cjs/i18n/tr.js +127 -5
- package/dist/cjs/i18n/uk.js +127 -5
- package/dist/cjs/i18n/vi.js +127 -5
- package/dist/cjs/i18n/zh.js +127 -5
- package/dist/cjs/i18n/zh_TW.js +127 -5
- package/dist/cjs/messages.js +167 -2
- package/dist/cjs/utils/index.js +8 -2
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/view/BlockCard/actions/AuthorizeAction.js +1 -1
- package/dist/cjs/view/BlockCard/actions/DownloadAction.js +1 -1
- package/dist/cjs/view/BlockCard/actions/ForbiddenAction.js +1 -1
- package/dist/cjs/view/BlockCard/actions/PreviewAction.js +1 -1
- package/dist/cjs/view/BlockCard/actions/RetryAction.js +1 -1
- package/dist/cjs/view/BlockCard/actions/ViewAction.js +1 -1
- package/dist/cjs/view/BlockCard/views/ErroredView.js +1 -1
- package/dist/cjs/view/BlockCard/views/ForbiddenView.js +1 -1
- package/dist/cjs/view/BlockCard/views/NotFoundView.js +1 -1
- package/dist/cjs/view/BlockCard/views/ResolvingView.js +1 -1
- package/dist/cjs/view/BlockCard/views/UnauthorizedView.js +1 -1
- package/dist/cjs/view/CardWithUrl/component-lazy/index.js +3 -3
- package/dist/cjs/view/EmbedCard/components/styled.js +29 -13
- package/dist/cjs/view/EmbedCard/views/ErroredView.js +1 -1
- package/dist/cjs/view/EmbedCard/views/UnresolvedView.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/media/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/utils.js +2 -2
- package/dist/cjs/view/InlineCard/ErroredView/index.js +1 -1
- package/dist/cjs/view/InlineCard/ForbiddenView/index.js +1 -1
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +1 -1
- package/dist/cjs/view/common/ModalHeader.js +1 -1
- package/dist/es2019/extractors/common/context/extractAccessContext.js +1 -1
- package/dist/es2019/i18n/cs.js +127 -5
- package/dist/es2019/i18n/da.js +126 -5
- package/dist/es2019/i18n/de.js +127 -5
- package/dist/es2019/i18n/en.js +127 -5
- package/dist/es2019/i18n/en_GB.js +127 -5
- package/dist/es2019/i18n/en_ZZ.js +127 -5
- package/dist/es2019/i18n/es.js +127 -5
- package/dist/es2019/i18n/et.js +87 -1
- package/dist/es2019/i18n/fi.js +127 -5
- package/dist/es2019/i18n/fr.js +127 -5
- package/dist/es2019/i18n/hu.js +127 -5
- package/dist/es2019/i18n/index.js +35 -0
- package/dist/es2019/i18n/is.js +70 -0
- package/dist/es2019/i18n/it.js +127 -5
- package/dist/es2019/i18n/ja.js +127 -5
- package/dist/es2019/i18n/ko.js +127 -5
- package/dist/es2019/i18n/languages.js +26 -0
- package/dist/es2019/i18n/nb.js +127 -5
- package/dist/es2019/i18n/nl.js +127 -5
- package/dist/es2019/i18n/pl.js +127 -5
- package/dist/es2019/i18n/pt_BR.js +127 -5
- package/dist/es2019/i18n/pt_PT.js +87 -1
- package/dist/es2019/i18n/ro.js +70 -0
- package/dist/es2019/i18n/ru.js +127 -5
- package/dist/es2019/i18n/sk.js +87 -1
- package/dist/es2019/i18n/sv.js +127 -5
- package/dist/es2019/i18n/th.js +127 -5
- package/dist/es2019/i18n/tr.js +127 -5
- package/dist/es2019/i18n/uk.js +127 -5
- package/dist/es2019/i18n/vi.js +127 -5
- package/dist/es2019/i18n/zh.js +127 -5
- package/dist/es2019/i18n/zh_TW.js +127 -5
- package/dist/es2019/messages.js +167 -2
- package/dist/es2019/utils/index.js +2 -1
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/view/BlockCard/actions/AuthorizeAction.js +1 -1
- package/dist/es2019/view/BlockCard/actions/DownloadAction.js +1 -1
- package/dist/es2019/view/BlockCard/actions/ForbiddenAction.js +1 -1
- package/dist/es2019/view/BlockCard/actions/PreviewAction.js +1 -1
- package/dist/es2019/view/BlockCard/actions/RetryAction.js +1 -1
- package/dist/es2019/view/BlockCard/actions/ViewAction.js +1 -1
- package/dist/es2019/view/BlockCard/views/ErroredView.js +1 -1
- package/dist/es2019/view/BlockCard/views/ForbiddenView.js +1 -1
- package/dist/es2019/view/BlockCard/views/NotFoundView.js +1 -1
- package/dist/es2019/view/BlockCard/views/ResolvingView.js +1 -1
- package/dist/es2019/view/BlockCard/views/UnauthorizedView.js +1 -1
- package/dist/es2019/view/CardWithUrl/component-lazy/index.js +1 -1
- package/dist/es2019/view/EmbedCard/components/styled.js +22 -4
- package/dist/es2019/view/EmbedCard/views/ErroredView.js +1 -1
- package/dist/es2019/view/EmbedCard/views/UnresolvedView.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/media/index.js +1 -0
- package/dist/es2019/view/FlexibleCard/utils.js +2 -2
- package/dist/es2019/view/InlineCard/ErroredView/index.js +1 -1
- package/dist/es2019/view/InlineCard/ForbiddenView/index.js +1 -1
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +1 -1
- package/dist/es2019/view/common/ModalHeader.js +1 -1
- package/dist/esm/extractors/common/context/extractAccessContext.js +1 -1
- package/dist/esm/i18n/cs.js +127 -5
- package/dist/esm/i18n/da.js +126 -5
- package/dist/esm/i18n/de.js +127 -5
- package/dist/esm/i18n/en.js +127 -5
- package/dist/esm/i18n/en_GB.js +127 -5
- package/dist/esm/i18n/en_ZZ.js +127 -5
- package/dist/esm/i18n/es.js +127 -5
- package/dist/esm/i18n/et.js +87 -1
- package/dist/esm/i18n/fi.js +127 -5
- package/dist/esm/i18n/fr.js +127 -5
- package/dist/esm/i18n/hu.js +127 -5
- package/dist/esm/i18n/index.js +35 -0
- package/dist/esm/i18n/is.js +70 -0
- package/dist/esm/i18n/it.js +127 -5
- package/dist/esm/i18n/ja.js +127 -5
- package/dist/esm/i18n/ko.js +127 -5
- package/dist/esm/i18n/languages.js +26 -0
- package/dist/esm/i18n/nb.js +127 -5
- package/dist/esm/i18n/nl.js +127 -5
- package/dist/esm/i18n/pl.js +127 -5
- package/dist/esm/i18n/pt_BR.js +127 -5
- package/dist/esm/i18n/pt_PT.js +87 -1
- package/dist/esm/i18n/ro.js +70 -0
- package/dist/esm/i18n/ru.js +127 -5
- package/dist/esm/i18n/sk.js +87 -1
- package/dist/esm/i18n/sv.js +127 -5
- package/dist/esm/i18n/th.js +127 -5
- package/dist/esm/i18n/tr.js +127 -5
- package/dist/esm/i18n/uk.js +127 -5
- package/dist/esm/i18n/vi.js +127 -5
- package/dist/esm/i18n/zh.js +127 -5
- package/dist/esm/i18n/zh_TW.js +127 -5
- package/dist/esm/messages.js +167 -2
- package/dist/esm/state/actions/index.js +1 -1
- package/dist/esm/state/hooks/usePrefetch.js +1 -1
- package/dist/esm/utils/index.js +3 -0
- package/dist/esm/utils/mocks.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/esm/view/BlockCard/actions/AuthorizeAction.js +1 -1
- package/dist/esm/view/BlockCard/actions/DownloadAction.js +2 -2
- package/dist/esm/view/BlockCard/actions/ForbiddenAction.js +1 -1
- package/dist/esm/view/BlockCard/actions/PreviewAction.js +2 -2
- package/dist/esm/view/BlockCard/actions/RetryAction.js +2 -2
- package/dist/esm/view/BlockCard/actions/ViewAction.js +2 -2
- package/dist/esm/view/BlockCard/views/ErroredView.js +1 -1
- package/dist/esm/view/BlockCard/views/ForbiddenView.js +1 -1
- package/dist/esm/view/BlockCard/views/NotFoundView.js +1 -1
- package/dist/esm/view/BlockCard/views/ResolvingView.js +1 -1
- package/dist/esm/view/BlockCard/views/UnauthorizedView.js +1 -1
- package/dist/esm/view/CardWithUrl/component-lazy/index.js +1 -1
- package/dist/esm/view/EmbedCard/components/styled.js +14 -4
- package/dist/esm/view/EmbedCard/views/ErroredView.js +1 -1
- package/dist/esm/view/EmbedCard/views/UnresolvedView.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/media/index.js +1 -1
- package/dist/esm/view/FlexibleCard/utils.js +2 -2
- package/dist/esm/view/InlineCard/ErroredView/index.js +1 -1
- package/dist/esm/view/InlineCard/ForbiddenView/index.js +1 -1
- package/dist/esm/view/InlineCard/UnauthorisedView/index.js +1 -1
- package/dist/esm/view/common/ModalHeader.js +1 -1
- package/dist/types/i18n/cs.d.ts +126 -4
- package/dist/types/i18n/da.d.ts +125 -4
- package/dist/types/i18n/de.d.ts +126 -4
- package/dist/types/i18n/en.d.ts +126 -4
- package/dist/types/i18n/en_GB.d.ts +126 -4
- package/dist/types/i18n/en_ZZ.d.ts +126 -4
- package/dist/types/i18n/es.d.ts +126 -4
- package/dist/types/i18n/et.d.ts +87 -1
- package/dist/types/i18n/fi.d.ts +126 -4
- package/dist/types/i18n/fr.d.ts +126 -4
- package/dist/types/i18n/hu.d.ts +126 -4
- package/dist/types/i18n/index.d.ts +35 -0
- package/dist/types/i18n/is.d.ts +70 -0
- package/dist/types/i18n/it.d.ts +126 -4
- package/dist/types/i18n/ja.d.ts +126 -4
- package/dist/types/i18n/ko.d.ts +126 -4
- package/dist/types/i18n/languages.d.ts +27 -0
- package/dist/types/i18n/nb.d.ts +126 -4
- package/dist/types/i18n/nl.d.ts +126 -4
- package/dist/types/i18n/pl.d.ts +126 -4
- package/dist/types/i18n/pt_BR.d.ts +126 -4
- package/dist/types/i18n/pt_PT.d.ts +87 -1
- package/dist/types/i18n/ro.d.ts +70 -0
- package/dist/types/i18n/ru.d.ts +126 -4
- package/dist/types/i18n/sk.d.ts +87 -1
- package/dist/types/i18n/sv.d.ts +126 -4
- package/dist/types/i18n/th.d.ts +126 -4
- package/dist/types/i18n/tr.d.ts +126 -4
- package/dist/types/i18n/uk.d.ts +126 -4
- package/dist/types/i18n/vi.d.ts +126 -4
- package/dist/types/i18n/zh.d.ts +126 -4
- package/dist/types/i18n/zh_TW.d.ts +126 -4
- package/dist/types/messages.d.ts +2 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/view/EmbedCard/components/styled.d.ts +3 -0
- package/dist/types/view/EmbedCard/types.d.ts +1 -1
- package/dist/types/view/EmbedCard/views/UnresolvedView.d.ts +1 -1
- package/dist/types/view/__mocks__/intersection-observer.mock.d.ts +12 -0
- package/dist/types/view/types.d.ts +1 -1
- package/package.json +1 -2
package/dist/esm/messages.js
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
2
|
export var messages = defineMessages({
|
|
3
|
+
actions: {
|
|
4
|
+
id: 'fabric.linking.actions',
|
|
5
|
+
defaultMessage: 'Actions',
|
|
6
|
+
description: ''
|
|
7
|
+
},
|
|
8
|
+
add_account: {
|
|
9
|
+
id: 'fabric.linking.add_account',
|
|
10
|
+
defaultMessage: 'Add account',
|
|
11
|
+
description: 'Allows to add a new account'
|
|
12
|
+
},
|
|
13
|
+
cancel: {
|
|
14
|
+
id: 'fabric.linking.cancel',
|
|
15
|
+
defaultMessage: 'Cancel',
|
|
16
|
+
description: 'cancel'
|
|
17
|
+
},
|
|
3
18
|
cannot_connect: {
|
|
4
19
|
id: 'fabric.linking.cannot_connect',
|
|
5
20
|
defaultMessage: "Can't connect, try again",
|
|
@@ -12,14 +27,54 @@ export var messages = defineMessages({
|
|
|
12
27
|
},
|
|
13
28
|
click_to_join: {
|
|
14
29
|
id: 'fabric.linking.click_to_join',
|
|
15
|
-
defaultMessage: 'Join {context}
|
|
30
|
+
defaultMessage: 'Join {context}',
|
|
16
31
|
description: 'Allows the user join the product or service immediately'
|
|
17
32
|
},
|
|
33
|
+
click_to_join_description: {
|
|
34
|
+
id: 'fabric.linking.click_to_join_description',
|
|
35
|
+
defaultMessage: "You've been approved, so you can join {context} right away.",
|
|
36
|
+
description: 'Informs the user that they have access to this product, and can sign up or join right away.'
|
|
37
|
+
},
|
|
38
|
+
close: {
|
|
39
|
+
id: 'fabric.linking.close',
|
|
40
|
+
defaultMessage: 'Close',
|
|
41
|
+
description: ''
|
|
42
|
+
},
|
|
43
|
+
connect_to: {
|
|
44
|
+
id: 'fabric.linking.connect_to',
|
|
45
|
+
defaultMessage: 'Connect to {name}',
|
|
46
|
+
description: 'Allows the user to connect with different types of external services'
|
|
47
|
+
},
|
|
48
|
+
connect_account_description: {
|
|
49
|
+
id: 'fabric.linking.connect_account_description',
|
|
50
|
+
defaultMessage: "We'll open a new page to help you connect your {name} account",
|
|
51
|
+
description: 'Explains what will happen when the users connects to a new account'
|
|
52
|
+
},
|
|
18
53
|
connect_link_account: {
|
|
19
54
|
id: 'fabric.linking.connect_link_account',
|
|
20
55
|
defaultMessage: 'Connect to preview',
|
|
21
56
|
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link.'
|
|
22
57
|
},
|
|
58
|
+
connect_link_account_card: {
|
|
59
|
+
id: 'fabric.linking.connect_link_account_card_view',
|
|
60
|
+
defaultMessage: 'Connect',
|
|
61
|
+
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view.'
|
|
62
|
+
},
|
|
63
|
+
connect_link_account_card_name: {
|
|
64
|
+
id: 'fabric.linking.connect_link_account_card_view_name',
|
|
65
|
+
defaultMessage: 'Connect your {context} account',
|
|
66
|
+
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view. Displayed in title.'
|
|
67
|
+
},
|
|
68
|
+
connect_link_account_card_description: {
|
|
69
|
+
id: 'fabric.linking.connect_link_account_card_view_description',
|
|
70
|
+
defaultMessage: 'To show a preview of this link, connect your {context} account.',
|
|
71
|
+
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view. Displayed in byline.'
|
|
72
|
+
},
|
|
73
|
+
could_not_load_link: {
|
|
74
|
+
id: 'fabric.linking.couldnt_load_link',
|
|
75
|
+
defaultMessage: "We couldn't load this link for an unknown reason.",
|
|
76
|
+
description: 'Error case for card view - link could not be loaded.'
|
|
77
|
+
},
|
|
23
78
|
created_by: {
|
|
24
79
|
id: 'fabric.linking.created_by',
|
|
25
80
|
defaultMessage: 'Created by {context}',
|
|
@@ -40,11 +95,41 @@ export var messages = defineMessages({
|
|
|
40
95
|
defaultMessage: 'Delete',
|
|
41
96
|
description: 'Allow a user to delete a link'
|
|
42
97
|
},
|
|
98
|
+
download: {
|
|
99
|
+
id: 'fabric.linking.download',
|
|
100
|
+
defaultMessage: 'Download',
|
|
101
|
+
description: ''
|
|
102
|
+
},
|
|
43
103
|
edit: {
|
|
44
104
|
id: 'fabric.linking.edit',
|
|
45
105
|
defaultMessage: 'Edit',
|
|
46
106
|
description: 'Allow a user to edit a link'
|
|
47
107
|
},
|
|
108
|
+
forbidden_description: {
|
|
109
|
+
id: 'fabric.linking.forbidden_description',
|
|
110
|
+
defaultMessage: 'You don’t have access to this preview. Contact the site admin if you need access.',
|
|
111
|
+
description: 'Informs the user that they cannot view this content.'
|
|
112
|
+
},
|
|
113
|
+
invalid_permissions: {
|
|
114
|
+
id: 'fabric.linking.invalid_permissions',
|
|
115
|
+
defaultMessage: 'Restricted link',
|
|
116
|
+
description: 'Message shown when a user does not have permissions to view an item'
|
|
117
|
+
},
|
|
118
|
+
invalid_permissions_description: {
|
|
119
|
+
id: 'fabric.linking.invalid_permissions_description',
|
|
120
|
+
defaultMessage: "You'll need to request access or try a different account to view this preview.",
|
|
121
|
+
description: 'Message shown when a user does not have permissions to view an item. Displayed as description.'
|
|
122
|
+
},
|
|
123
|
+
join_to_view: {
|
|
124
|
+
id: 'fabric.linking.join_to_view',
|
|
125
|
+
defaultMessage: 'Join {context} to view this issue',
|
|
126
|
+
description: 'Allows the user join the product or service immediately'
|
|
127
|
+
},
|
|
128
|
+
loading: {
|
|
129
|
+
id: 'fabric.linking.loading',
|
|
130
|
+
defaultMessage: 'Loading...',
|
|
131
|
+
description: 'Indicates an element on a page is loading.'
|
|
132
|
+
},
|
|
48
133
|
modified_by: {
|
|
49
134
|
id: 'fabric.linking.updated_by',
|
|
50
135
|
defaultMessage: 'Modified by {context}',
|
|
@@ -65,6 +150,21 @@ export var messages = defineMessages({
|
|
|
65
150
|
defaultMessage: 'More actions',
|
|
66
151
|
description: 'Allows the users to see more link actions'
|
|
67
152
|
},
|
|
153
|
+
not_found_description: {
|
|
154
|
+
id: 'fabric.linking.not_found_description',
|
|
155
|
+
defaultMessage: "We couldn't find the link. Check the url and try editing or paste again.",
|
|
156
|
+
description: 'Error case for when a provided item is not found within the list of items'
|
|
157
|
+
},
|
|
158
|
+
not_found_title: {
|
|
159
|
+
id: 'fabric.linking.not_found_title',
|
|
160
|
+
defaultMessage: "Uh oh. We can't find this link!",
|
|
161
|
+
description: 'Error case for when a provided link is not found'
|
|
162
|
+
},
|
|
163
|
+
preview: {
|
|
164
|
+
id: 'fabric.linking.preview',
|
|
165
|
+
defaultMessage: 'Preview',
|
|
166
|
+
description: 'Click to view a richer view of your content, without needing to navigate to it.'
|
|
167
|
+
},
|
|
68
168
|
priority_blocker: {
|
|
69
169
|
id: 'fabric.linking.priority_blocker',
|
|
70
170
|
defaultMessage: 'Blocker',
|
|
@@ -131,12 +231,32 @@ export var messages = defineMessages({
|
|
|
131
231
|
description: 'Shown when a user has requested an access but status is pending.'
|
|
132
232
|
},
|
|
133
233
|
restricted_link: {
|
|
134
|
-
id: 'fabric.linking.
|
|
234
|
+
id: 'fabric.linking.restricted_link',
|
|
135
235
|
defaultMessage: 'Restricted link, try another account',
|
|
136
236
|
description: 'Message shown when a user does not have permissions to view an item'
|
|
137
237
|
},
|
|
138
238
|
request_access: {
|
|
139
239
|
id: 'fabric.linking.request_access',
|
|
240
|
+
defaultMessage: 'Request access',
|
|
241
|
+
description: 'Allows the user to request access to a product or service'
|
|
242
|
+
},
|
|
243
|
+
request_access_description: {
|
|
244
|
+
id: 'fabric.linking.request_access_description',
|
|
245
|
+
defaultMessage: 'Request access to {context} view this preview.',
|
|
246
|
+
description: 'Allows the user to request access to a product'
|
|
247
|
+
},
|
|
248
|
+
request_access_pending: {
|
|
249
|
+
id: 'fabric.linking.request_access_pending',
|
|
250
|
+
defaultMessage: 'Access pending',
|
|
251
|
+
description: 'Allows the user to try an action again with their current account'
|
|
252
|
+
},
|
|
253
|
+
request_access_pending_description: {
|
|
254
|
+
id: 'fabric.linking.request_access_pending_description',
|
|
255
|
+
defaultMessage: 'Your access request is pending.',
|
|
256
|
+
description: 'Informs the user that their request to view this content is pending'
|
|
257
|
+
},
|
|
258
|
+
request_access_to_view: {
|
|
259
|
+
id: 'fabric.linking.request_access_to_view',
|
|
140
260
|
defaultMessage: 'Request access to {context} to view this issue',
|
|
141
261
|
description: 'Allows the user to request access to a product or service'
|
|
142
262
|
},
|
|
@@ -144,5 +264,50 @@ export var messages = defineMessages({
|
|
|
144
264
|
id: 'fabric.linking.request_denied',
|
|
145
265
|
defaultMessage: 'Your access request was denied',
|
|
146
266
|
description: 'The user had request access but the request was denied by a product or service'
|
|
267
|
+
},
|
|
268
|
+
request_denied_description: {
|
|
269
|
+
id: 'fabric.linking.request_denied_description',
|
|
270
|
+
defaultMessage: 'Your access request was denied. Contact the site admin if you still need access.',
|
|
271
|
+
description: 'Informs the user that their request to view this content was denied'
|
|
272
|
+
},
|
|
273
|
+
retry: {
|
|
274
|
+
id: 'fabric.linking.retry',
|
|
275
|
+
defaultMessage: 'Retry',
|
|
276
|
+
description: 'Allows user to perform an action again'
|
|
277
|
+
},
|
|
278
|
+
save: {
|
|
279
|
+
id: 'fabric.linking.save',
|
|
280
|
+
defaultMessage: 'Save',
|
|
281
|
+
description: 'Just the "save" word'
|
|
282
|
+
},
|
|
283
|
+
try_again: {
|
|
284
|
+
id: 'fabric.linking.try_again',
|
|
285
|
+
defaultMessage: 'Try again',
|
|
286
|
+
description: 'Allow the user to try an action again'
|
|
287
|
+
},
|
|
288
|
+
try_another_account: {
|
|
289
|
+
id: 'fabric.linking.try_another_account',
|
|
290
|
+
defaultMessage: 'Try another account',
|
|
291
|
+
description: 'Allows the user to try an action again with a different account'
|
|
292
|
+
},
|
|
293
|
+
unlink_account: {
|
|
294
|
+
id: 'fabric.linking.unlink_account',
|
|
295
|
+
defaultMessage: 'Unlink Account',
|
|
296
|
+
description: 'Allows to remove a connected account from the user'
|
|
297
|
+
},
|
|
298
|
+
view: {
|
|
299
|
+
id: 'fabric.linking.view',
|
|
300
|
+
defaultMessage: 'View',
|
|
301
|
+
description: 'Go through to a piece of content to view it in its original context.'
|
|
302
|
+
},
|
|
303
|
+
viewIn: {
|
|
304
|
+
id: 'fabric.linking.srclink',
|
|
305
|
+
defaultMessage: 'View in',
|
|
306
|
+
description: 'We have a link in our preview modals to the original document. This text goes before the provider name'
|
|
307
|
+
},
|
|
308
|
+
viewOriginal: {
|
|
309
|
+
id: 'fabric.linking.srclinkunknown',
|
|
310
|
+
defaultMessage: 'View Original',
|
|
311
|
+
description: "We have a link in our preview modals to the original document. This is for when we don't know the provider name"
|
|
147
312
|
}
|
|
148
313
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
1
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
3
|
import { useMemo, useCallback } from 'react';
|
|
4
4
|
import { auth } from '@atlaskit/outbound-auth-flow-client';
|
|
5
5
|
import { APIError } from '@atlaskit/linking-common';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
1
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
3
|
import { useCallback } from 'react';
|
|
4
4
|
import { useSmartLinkContext } from '@atlaskit/link-provider';
|
|
5
5
|
export function usePrefetch(url) {
|
package/dist/esm/utils/index.js
CHANGED
|
@@ -224,4 +224,7 @@ export var handleOnClick = function handleOnClick(handler) {
|
|
|
224
224
|
e.stopPropagation();
|
|
225
225
|
handler();
|
|
226
226
|
};
|
|
227
|
+
};
|
|
228
|
+
export var isIntersectionObserverSupported = function isIntersectionObserverSupported() {
|
|
229
|
+
return typeof IntersectionObserver !== 'undefined';
|
|
227
230
|
};
|
package/dist/esm/utils/mocks.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
1
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
5
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
5
6
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
6
7
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
8
8
|
|
|
9
9
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
10
10
|
|
package/dist/esm/version.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FormattedMessage } from 'react-intl-next';
|
|
3
|
-
import { messages } from '
|
|
3
|
+
import { messages } from '../../../messages';
|
|
4
4
|
export var AuthorizeAction = function AuthorizeAction(handler) {
|
|
5
5
|
return {
|
|
6
6
|
id: 'connect-account',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
1
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
5
|
import { downloadUrl } from '@atlaskit/media-common';
|
|
6
|
-
import { messages } from '
|
|
6
|
+
import { messages } from '../../../messages';
|
|
7
7
|
export function downloadFunction(_x) {
|
|
8
8
|
return _downloadFunction.apply(this, arguments);
|
|
9
9
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { FormattedMessage } from 'react-intl-next';
|
|
4
|
-
import { messages } from '
|
|
4
|
+
import { messages } from '../../../messages';
|
|
5
5
|
export var ForbiddenAction = function ForbiddenAction(handler) {
|
|
6
6
|
var id = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'connect-other-account';
|
|
7
7
|
var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : messages.try_another_account;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
4
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
5
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
5
6
|
var _excluded = ["popupMountPointId", "onClose"],
|
|
6
7
|
_excluded2 = ["details"];
|
|
7
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
8
8
|
|
|
9
9
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10
10
|
|
|
@@ -13,7 +13,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import ReactDOM from 'react-dom';
|
|
15
15
|
import { IntlProvider, FormattedMessage } from 'react-intl-next';
|
|
16
|
-
import { messages } from '
|
|
16
|
+
import { messages } from '../../../messages';
|
|
17
17
|
|
|
18
18
|
/*
|
|
19
19
|
Explanatory note:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
1
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
|
-
import { messages } from '
|
|
5
|
+
import { messages } from '../../../messages';
|
|
6
6
|
export var RetryAction = function RetryAction(handler) {
|
|
7
7
|
return {
|
|
8
8
|
id: 'try-again',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
1
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
|
-
import { messages } from '
|
|
5
|
+
import { messages } from '../../../messages';
|
|
6
6
|
export function viewFunction(_x) {
|
|
7
7
|
return _viewFunction.apply(this, arguments);
|
|
8
8
|
}
|
|
@@ -14,7 +14,7 @@ import { Frame } from '../components/Frame';
|
|
|
14
14
|
import { Byline } from '../../common/Byline';
|
|
15
15
|
import { ActionList } from '../components/ActionList';
|
|
16
16
|
import { Content } from '../components/Content';
|
|
17
|
-
import { messages } from '
|
|
17
|
+
import { messages } from '../../../messages';
|
|
18
18
|
import { ContentFooter } from '../components/ContentFooter';
|
|
19
19
|
import { ContentHeader } from '../components/ContentHeader';
|
|
20
20
|
import { handleClickCommon } from '../utils/handlers';
|
|
@@ -12,7 +12,7 @@ import { Provider } from '../components/Provider';
|
|
|
12
12
|
import { Byline } from '../../common/Byline';
|
|
13
13
|
import { ActionList } from '../components/ActionList';
|
|
14
14
|
import { Content } from '../components/Content';
|
|
15
|
-
import { messages } from '
|
|
15
|
+
import { messages } from '../../../messages';
|
|
16
16
|
import { ContentFooter } from '../components/ContentFooter';
|
|
17
17
|
import { ContentHeader } from '../components/ContentHeader';
|
|
18
18
|
import { handleClickCommon } from '../utils/handlers';
|
|
@@ -14,7 +14,7 @@ import { Frame } from '../components/Frame';
|
|
|
14
14
|
import { Provider } from '../components/Provider';
|
|
15
15
|
import { Byline } from '../../common/Byline';
|
|
16
16
|
import { Content } from '../components/Content';
|
|
17
|
-
import { messages } from '
|
|
17
|
+
import { messages } from '../../../messages';
|
|
18
18
|
import { ContentFooter } from '../components/ContentFooter';
|
|
19
19
|
import { ContentHeader } from '../components/ContentHeader';
|
|
20
20
|
import { Link } from '../components/Link';
|
|
@@ -7,7 +7,7 @@ import { token } from '@atlaskit/tokens';
|
|
|
7
7
|
import { Frame } from '../components/Frame';
|
|
8
8
|
import { gs } from '../../common/utils';
|
|
9
9
|
import { FormattedMessage } from 'react-intl-next';
|
|
10
|
-
import { messages } from '
|
|
10
|
+
import { messages } from '../../../messages';
|
|
11
11
|
export var blockCardResolvingViewClassName = 'block-card-resolving-view';
|
|
12
12
|
export var ResolvingView = function ResolvingView(_ref) {
|
|
13
13
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -13,7 +13,7 @@ import { Provider } from '../components/Provider';
|
|
|
13
13
|
import { Byline } from '../../common/Byline';
|
|
14
14
|
import { ActionList } from '../components/ActionList';
|
|
15
15
|
import { Content } from '../components/Content';
|
|
16
|
-
import { messages } from '
|
|
16
|
+
import { messages } from '../../../messages';
|
|
17
17
|
import { ContentHeader } from '../components/ContentHeader';
|
|
18
18
|
import { ContentFooter } from '../components/ContentFooter';
|
|
19
19
|
import { handleClickCommon } from '../utils/handlers';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { isIntersectionObserverSupported } from '@atlaskit/media-ui';
|
|
3
2
|
import { LazyLazilyRenderCard } from './LazyLazilyRenderCard';
|
|
4
3
|
import { LazyIntersectionObserverCard } from './LazyIntersectionObserverCard';
|
|
4
|
+
import { isIntersectionObserverSupported } from '../../../utils';
|
|
5
5
|
export default function LazyCardWithUrlContent(props) {
|
|
6
6
|
if (isIntersectionObserverSupported()) {
|
|
7
7
|
return /*#__PURE__*/React.createElement(LazyIntersectionObserverCard, props);
|
|
@@ -3,13 +3,23 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
|
3
3
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
|
|
4
4
|
|
|
5
5
|
import styled from '@emotion/styled';
|
|
6
|
-
import {
|
|
7
|
-
import { fontFamily } from '@atlaskit/theme/constants';
|
|
6
|
+
import { borderRadius as akBorderRadius, fontFamily } from '@atlaskit/theme/constants';
|
|
8
7
|
import * as colors from '@atlaskit/theme/colors';
|
|
9
8
|
import { token } from '@atlaskit/tokens';
|
|
10
9
|
import { gs as gridSize } from '../../common/utils';
|
|
11
10
|
export var className = 'media-card-frame';
|
|
12
11
|
export var cardShadow = "";
|
|
12
|
+
export var borderRadius = "\n border-radius: ".concat(akBorderRadius(), "px;\n");
|
|
13
|
+
export var ellipsis = function ellipsis() {
|
|
14
|
+
var maxWidth = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '100%';
|
|
15
|
+
var unit = typeof maxWidth === 'number' ? 'px' : '';
|
|
16
|
+
return "\n max-width: ".concat(maxWidth).concat(unit, ";\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n ");
|
|
17
|
+
};
|
|
18
|
+
export var csssize = function csssize() {
|
|
19
|
+
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '100%';
|
|
20
|
+
var unit = typeof value === 'number' ? 'px' : '';
|
|
21
|
+
return "\n width: ".concat(value).concat(unit, ";\n height: ").concat(value).concat(unit, ";\n ");
|
|
22
|
+
};
|
|
13
23
|
|
|
14
24
|
function minWidth(_ref) {
|
|
15
25
|
var minWidth = _ref.minWidth;
|
|
@@ -68,7 +78,7 @@ export var Wrapper = styled.div(_templateObject2 || (_templateObject2 = _taggedT
|
|
|
68
78
|
});
|
|
69
79
|
export var embedHeaderHeight = 32;
|
|
70
80
|
export var Header = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n height: ", "px;\n position: absolute;\n z-index: 1;\n width: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n opacity: 0;\n transition: 300ms opacity cubic-bezier(0.15, 1, 0.3, 1);\n"])), embedHeaderHeight, token('color.icon', colors.N300));
|
|
71
|
-
export var IconWrapper = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n ", "\n ", "\n ", " margin-right: 4px;\n"])), borderRadius,
|
|
81
|
+
export var IconWrapper = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n ", "\n ", "\n ", " margin-right: 4px;\n"])), borderRadius, csssize(16), function (_ref7) {
|
|
72
82
|
var isPlaceholder = _ref7.isPlaceholder;
|
|
73
83
|
|
|
74
84
|
if (isPlaceholder) {
|
|
@@ -108,7 +118,7 @@ export var Title = styled.div(_templateObject9 || (_templateObject9 = _taggedTem
|
|
|
108
118
|
export var Byline = styled.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n margin-top: 4px;\n color: ", ";\n font-size: 12px;\n font-weight: normal;\n line-height: ", ";\n ", ";\n"])), token('color.text.subtlest', colors.N300), 16 / 12, ellipsis('100%'));
|
|
109
119
|
export var Description = styled.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n margin-top: 7px;\n color: ", ";\n font-size: 12px;\n font-weight: normal;\n line-height: ", ";\n max-height: ", "px;\n overflow: hidden;\n"])), token('color.text', colors.N800), 18 / 12, 18 * 3);
|
|
110
120
|
export var ResolvedViewIconWrapper = styled.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n margin-top: 4px;\n"])));
|
|
111
|
-
export var Thumbnail = styled.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n ", "\n ", "\n float: right;\n margin: 4px 0 12px 12px;\n background-color: ", ";\n background-image: url(", ");\n background-size: cover;\n"])), borderRadius,
|
|
121
|
+
export var Thumbnail = styled.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n ", "\n ", "\n float: right;\n margin: 4px 0 12px 12px;\n background-color: ", ";\n background-image: url(", ");\n background-size: cover;\n"])), borderRadius, csssize(48), token('color.skeleton', colors.N30), function (_ref11) {
|
|
112
122
|
var src = _ref11.src;
|
|
113
123
|
return src;
|
|
114
124
|
});
|
|
@@ -7,7 +7,7 @@ import { R300 } from '@atlaskit/theme/colors';
|
|
|
7
7
|
import { token } from '@atlaskit/tokens';
|
|
8
8
|
import { Frame } from '../../BlockCard/components/Frame';
|
|
9
9
|
import { FormattedMessage } from 'react-intl-next';
|
|
10
|
-
import { messages } from '
|
|
10
|
+
import { messages } from '../../../messages';
|
|
11
11
|
import { gs } from '../../common/utils';
|
|
12
12
|
export var EmbedCardErroredView = function EmbedCardErroredView(_ref) {
|
|
13
13
|
var onRetry = _ref.onRetry,
|
|
@@ -5,7 +5,7 @@ import { jsx } from '@emotion/core';
|
|
|
5
5
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
6
6
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
7
7
|
import { FormattedMessage } from 'react-intl-next';
|
|
8
|
-
import { messages } from '
|
|
8
|
+
import { messages } from '../../../messages';
|
|
9
9
|
import { gs as gridSize } from '../../common/utils';
|
|
10
10
|
export var EmbedCardUnresolvedView = function EmbedCardUnresolvedView(_ref) {
|
|
11
11
|
var image = _ref.image,
|
|
@@ -17,7 +17,7 @@ import ImageIcon from '../../common/image-icon';
|
|
|
17
17
|
* [object-position] Center alignment of the selected replaced element's
|
|
18
18
|
* contents within the element's box.
|
|
19
19
|
*/
|
|
20
|
-
var styles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n aspect-ratio: 16 / 9;\n display: flex;\n width: 100%;\n\n // fallback\n @supports not (aspect-ratio: auto) {\n padding-top: 56.25%; // 16:9 ratio (9 / 16 = 0.5625)\n height: 0;\n position: relative;\n overflow: hidden;\n }\n\n > img {\n min-height: 100%;\n min-width: 100%;\n max-height: 100%;\n max-width: 100%;\n object-fit: cover;\n object-position: center center;\n\n // fallback\n @supports not (aspect-ratio: auto) {\n position: absolute;\n transform: translate(-50%, -50%);\n left: 50%;\n top: 50%;\n width: auto;\n height: auto;\n }\n }\n"])));
|
|
20
|
+
var styles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n aspect-ratio: 16 / 9;\n display: flex;\n width: 100%;\n height: fit-content; // Fix Safari height not respecting aspect-ratio\n\n // fallback\n @supports not (aspect-ratio: auto) {\n padding-top: 56.25%; // 16:9 ratio (9 / 16 = 0.5625)\n height: 0;\n position: relative;\n overflow: hidden;\n }\n\n > img {\n min-height: 100%;\n min-width: 100%;\n max-height: 100%;\n max-width: 100%;\n object-fit: cover;\n object-position: center center;\n\n // fallback\n @supports not (aspect-ratio: auto) {\n position: absolute;\n transform: translate(-50%, -50%);\n left: 50%;\n top: 50%;\n width: auto;\n height: auto;\n }\n }\n"])));
|
|
21
21
|
/**
|
|
22
22
|
* A base element that displays a Media.
|
|
23
23
|
* @internal
|
|
@@ -39,10 +39,10 @@ var getForbiddenMessageKey = function getForbiddenMessageKey(meta) {
|
|
|
39
39
|
|
|
40
40
|
switch (accessType) {
|
|
41
41
|
case 'DIRECT_ACCESS':
|
|
42
|
-
return '
|
|
42
|
+
return 'join_to_view';
|
|
43
43
|
|
|
44
44
|
case 'REQUEST_ACCESS':
|
|
45
|
-
return '
|
|
45
|
+
return 'request_access_to_view';
|
|
46
46
|
|
|
47
47
|
case 'PENDING_REQUEST_EXISTS':
|
|
48
48
|
return 'pending_request';
|
|
@@ -18,7 +18,7 @@ import Button from '@atlaskit/button/custom-theme-button';
|
|
|
18
18
|
import { Frame } from '../Frame';
|
|
19
19
|
import { IconAndTitleLayout } from '../IconAndTitleLayout';
|
|
20
20
|
import { AKIconWrapper } from '../Icon';
|
|
21
|
-
import { messages } from '
|
|
21
|
+
import { messages } from '../../../messages';
|
|
22
22
|
import { FormattedMessage } from 'react-intl-next';
|
|
23
23
|
import { LinkAppearance, IconStyledButton, LowercaseAppearance, NoLinkAppearance } from '../styled';
|
|
24
24
|
export var InlineCardErroredView = /*#__PURE__*/function (_React$Component) {
|
|
@@ -19,7 +19,7 @@ import Button from '@atlaskit/button/custom-theme-button';
|
|
|
19
19
|
import { Frame } from '../Frame';
|
|
20
20
|
import { IconAndTitleLayout } from '../IconAndTitleLayout';
|
|
21
21
|
import { AKIconWrapper } from '../Icon';
|
|
22
|
-
import { messages } from '
|
|
22
|
+
import { messages } from '../../../messages';
|
|
23
23
|
import { FormattedMessage } from 'react-intl-next';
|
|
24
24
|
import { IconStyledButton, LowercaseAppearance, LinkAppearance } from '../styled';
|
|
25
25
|
var FallbackForbiddenIcon = /*#__PURE__*/React.createElement(AKIconWrapper, null, /*#__PURE__*/React.createElement(LockIcon, {
|
|
@@ -16,7 +16,7 @@ import { N500, R400 } from '@atlaskit/theme/colors';
|
|
|
16
16
|
import { token } from '@atlaskit/tokens';
|
|
17
17
|
import React from 'react';
|
|
18
18
|
import { FormattedMessage } from 'react-intl-next';
|
|
19
|
-
import { messages } from '
|
|
19
|
+
import { messages } from '../../../messages';
|
|
20
20
|
import { Frame } from '../Frame';
|
|
21
21
|
import { AKIconWrapper } from '../Icon';
|
|
22
22
|
import { IconAndTitleLayout } from '../IconAndTitleLayout';
|
|
@@ -12,7 +12,7 @@ import { gs } from './utils';
|
|
|
12
12
|
import { Icon } from './Icon';
|
|
13
13
|
import { MetadataList } from './MetadataList';
|
|
14
14
|
import { Byline } from './Byline';
|
|
15
|
-
import { messages } from '
|
|
15
|
+
import { messages } from '../../messages';
|
|
16
16
|
export var Header = function Header(_ref) {
|
|
17
17
|
var title = _ref.title,
|
|
18
18
|
label = _ref.label,
|