@atlaskit/smart-card 27.8.1 → 27.8.3
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 +20 -0
- package/dist/cjs/extractors/flexible/actions/extract-view-related-links-action.js +3 -3
- package/dist/cjs/i18n/cs.js +4 -0
- package/dist/cjs/i18n/da.js +6 -0
- package/dist/cjs/i18n/de.js +6 -0
- package/dist/cjs/i18n/es.js +6 -0
- package/dist/cjs/i18n/fi.js +6 -0
- package/dist/cjs/i18n/fr.js +4 -0
- package/dist/cjs/i18n/hu.js +6 -0
- package/dist/cjs/i18n/it.js +7 -1
- package/dist/cjs/i18n/ja.js +6 -0
- package/dist/cjs/i18n/ko.js +6 -0
- package/dist/cjs/i18n/nb.js +4 -0
- package/dist/cjs/i18n/nl.js +6 -0
- package/dist/cjs/i18n/pl.js +6 -0
- package/dist/cjs/i18n/pt_BR.js +6 -0
- package/dist/cjs/i18n/ru.js +4 -0
- package/dist/cjs/i18n/sv.js +6 -0
- package/dist/cjs/i18n/th.js +6 -0
- package/dist/cjs/i18n/tr.js +6 -0
- package/dist/cjs/i18n/uk.js +4 -0
- package/dist/cjs/i18n/vi.js +6 -0
- package/dist/cjs/i18n/zh.js +6 -0
- package/dist/cjs/i18n/zh_TW.js +4 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/EmbedCard/components/ExpandedFrame.js +1 -1
- package/dist/cjs/view/EmbedCard/views/forbidden-view/forbidden-svg/index.js +59 -0
- package/dist/cjs/view/EmbedCard/views/forbidden-view/index.js +2 -3
- package/dist/cjs/view/EmbedCard/views/not-found-view/index.js +2 -3
- package/dist/cjs/view/EmbedCard/views/not-found-view/not-found-svg/index.js +116 -0
- package/dist/cjs/view/EmbedCard/views/unauthorized-view/index.js +2 -3
- package/dist/cjs/view/EmbedCard/views/unauthorized-view/unauthorized-svg/index.js +445 -0
- package/dist/cjs/view/EmbedCard/views/unresolved-view/index.js +54 -11
- package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/index.js +4 -4
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/index.js +1 -1
- package/dist/es2019/extractors/flexible/actions/extract-view-related-links-action.js +4 -4
- package/dist/es2019/i18n/cs.js +4 -0
- package/dist/es2019/i18n/da.js +6 -0
- package/dist/es2019/i18n/de.js +6 -0
- package/dist/es2019/i18n/es.js +6 -0
- package/dist/es2019/i18n/fi.js +6 -0
- package/dist/es2019/i18n/fr.js +4 -0
- package/dist/es2019/i18n/hu.js +6 -0
- package/dist/es2019/i18n/it.js +7 -1
- package/dist/es2019/i18n/ja.js +6 -0
- package/dist/es2019/i18n/ko.js +6 -0
- package/dist/es2019/i18n/nb.js +4 -0
- package/dist/es2019/i18n/nl.js +6 -0
- package/dist/es2019/i18n/pl.js +6 -0
- package/dist/es2019/i18n/pt_BR.js +6 -0
- package/dist/es2019/i18n/ru.js +4 -0
- package/dist/es2019/i18n/sv.js +6 -0
- package/dist/es2019/i18n/th.js +6 -0
- package/dist/es2019/i18n/tr.js +6 -0
- package/dist/es2019/i18n/uk.js +4 -0
- package/dist/es2019/i18n/vi.js +6 -0
- package/dist/es2019/i18n/zh.js +6 -0
- package/dist/es2019/i18n/zh_TW.js +4 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/EmbedCard/components/ExpandedFrame.js +1 -1
- package/dist/es2019/view/EmbedCard/views/forbidden-view/forbidden-svg/index.js +50 -0
- package/dist/es2019/view/EmbedCard/views/forbidden-view/index.js +2 -3
- package/dist/es2019/view/EmbedCard/views/not-found-view/index.js +2 -3
- package/dist/es2019/view/EmbedCard/views/not-found-view/not-found-svg/index.js +107 -0
- package/dist/es2019/view/EmbedCard/views/unauthorized-view/index.js +2 -3
- package/dist/es2019/view/EmbedCard/views/unauthorized-view/unauthorized-svg/index.js +436 -0
- package/dist/es2019/view/EmbedCard/views/unresolved-view/index.js +51 -8
- package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/index.js +4 -4
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/index.js +1 -1
- package/dist/esm/extractors/flexible/actions/extract-view-related-links-action.js +4 -4
- package/dist/esm/i18n/cs.js +4 -0
- package/dist/esm/i18n/da.js +6 -0
- package/dist/esm/i18n/de.js +6 -0
- package/dist/esm/i18n/es.js +6 -0
- package/dist/esm/i18n/fi.js +6 -0
- package/dist/esm/i18n/fr.js +4 -0
- package/dist/esm/i18n/hu.js +6 -0
- package/dist/esm/i18n/it.js +7 -1
- package/dist/esm/i18n/ja.js +6 -0
- package/dist/esm/i18n/ko.js +6 -0
- package/dist/esm/i18n/nb.js +4 -0
- package/dist/esm/i18n/nl.js +6 -0
- package/dist/esm/i18n/pl.js +6 -0
- package/dist/esm/i18n/pt_BR.js +6 -0
- package/dist/esm/i18n/ru.js +4 -0
- package/dist/esm/i18n/sv.js +6 -0
- package/dist/esm/i18n/th.js +6 -0
- package/dist/esm/i18n/tr.js +6 -0
- package/dist/esm/i18n/uk.js +4 -0
- package/dist/esm/i18n/vi.js +6 -0
- package/dist/esm/i18n/zh.js +6 -0
- package/dist/esm/i18n/zh_TW.js +4 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/EmbedCard/components/ExpandedFrame.js +1 -1
- package/dist/esm/view/EmbedCard/views/forbidden-view/forbidden-svg/index.js +52 -0
- package/dist/esm/view/EmbedCard/views/forbidden-view/index.js +2 -3
- package/dist/esm/view/EmbedCard/views/not-found-view/index.js +2 -3
- package/dist/esm/view/EmbedCard/views/not-found-view/not-found-svg/index.js +109 -0
- package/dist/esm/view/EmbedCard/views/unauthorized-view/index.js +2 -3
- package/dist/esm/view/EmbedCard/views/unauthorized-view/unauthorized-svg/index.js +438 -0
- package/dist/esm/view/EmbedCard/views/unresolved-view/index.js +51 -8
- package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/index.js +4 -4
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/index.js +1 -1
- package/dist/types/i18n/cs.d.ts +4 -0
- package/dist/types/i18n/da.d.ts +6 -0
- package/dist/types/i18n/de.d.ts +6 -0
- package/dist/types/i18n/es.d.ts +6 -0
- package/dist/types/i18n/fi.d.ts +6 -0
- package/dist/types/i18n/fr.d.ts +4 -0
- package/dist/types/i18n/hu.d.ts +6 -0
- package/dist/types/i18n/it.d.ts +6 -0
- package/dist/types/i18n/ja.d.ts +6 -0
- package/dist/types/i18n/ko.d.ts +6 -0
- package/dist/types/i18n/nb.d.ts +4 -0
- package/dist/types/i18n/nl.d.ts +6 -0
- package/dist/types/i18n/pl.d.ts +6 -0
- package/dist/types/i18n/pt_BR.d.ts +6 -0
- package/dist/types/i18n/ru.d.ts +4 -0
- package/dist/types/i18n/sv.d.ts +6 -0
- package/dist/types/i18n/th.d.ts +6 -0
- package/dist/types/i18n/tr.d.ts +6 -0
- package/dist/types/i18n/uk.d.ts +4 -0
- package/dist/types/i18n/vi.d.ts +6 -0
- package/dist/types/i18n/zh.d.ts +6 -0
- package/dist/types/i18n/zh_TW.d.ts +4 -0
- package/dist/types/state/flexible-ui-context/types.d.ts +1 -1
- package/dist/types/view/EmbedCard/views/forbidden-view/forbidden-svg/index.d.ts +2 -0
- package/dist/types/view/EmbedCard/views/not-found-view/not-found-svg/index.d.ts +2 -0
- package/dist/types/view/EmbedCard/views/unauthorized-view/unauthorized-svg/index.d.ts +2 -0
- package/dist/types/view/EmbedCard/views/unresolved-view/types.d.ts +1 -1
- package/dist/types/view/RelatedLinksModal/components/types.d.ts +19 -0
- package/dist/types/view/RelatedLinksModal/index.d.ts +1 -1
- package/dist/types/view/RelatedLinksModal/types.d.ts +10 -1
- package/dist/types/view/RelatedLinksModal/views/resolved/types.d.ts +6 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +4 -0
- package/dist/types-ts4.5/i18n/da.d.ts +6 -0
- package/dist/types-ts4.5/i18n/de.d.ts +6 -0
- package/dist/types-ts4.5/i18n/es.d.ts +6 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +6 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +4 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +6 -0
- package/dist/types-ts4.5/i18n/it.d.ts +6 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +6 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +6 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +4 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +6 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +6 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +6 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +4 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +6 -0
- package/dist/types-ts4.5/i18n/th.d.ts +6 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +6 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +4 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +6 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +6 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +4 -0
- package/dist/types-ts4.5/state/flexible-ui-context/types.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/forbidden-svg/index.d.ts +2 -0
- package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/not-found-svg/index.d.ts +2 -0
- package/dist/types-ts4.5/view/EmbedCard/views/unauthorized-view/unauthorized-svg/index.d.ts +2 -0
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/types.d.ts +1 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/components/types.d.ts +19 -0
- package/dist/types-ts4.5/view/RelatedLinksModal/index.d.ts +1 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/types.d.ts +10 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/views/resolved/types.d.ts +6 -0
- package/package.json +2 -5
- package/dist/cjs/view/EmbedCard/constants.js +0 -10
- package/dist/cjs/view/EmbedCard/utils.js +0 -17
- package/dist/cjs/view/EmbedCard/views/unresolved-view/styled.js +0 -49
- package/dist/es2019/view/EmbedCard/constants.js +0 -4
- package/dist/es2019/view/EmbedCard/utils.js +0 -11
- package/dist/es2019/view/EmbedCard/views/unresolved-view/styled.js +0 -43
- package/dist/esm/view/EmbedCard/constants.js +0 -4
- package/dist/esm/view/EmbedCard/utils.js +0 -11
- package/dist/esm/view/EmbedCard/views/unresolved-view/styled.js +0 -43
- package/dist/types/view/EmbedCard/constants.d.ts +0 -3
- package/dist/types/view/EmbedCard/utils.d.ts +0 -1
- package/dist/types/view/EmbedCard/views/unresolved-view/styled.d.ts +0 -5
- package/dist/types-ts4.5/view/EmbedCard/constants.d.ts +0 -3
- package/dist/types-ts4.5/view/EmbedCard/utils.d.ts +0 -1
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/styled.d.ts +0 -5
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
'automation-menu.modal.footer.get-started-button': string;
|
|
17
17
|
'automation-menu.modal.footer.ok-button': string;
|
|
18
18
|
'automation-menu.modal.header.icon.label': string;
|
|
19
|
+
'automation-menu.success-state.message': string;
|
|
19
20
|
'fabric.linking.access_exists_description': string;
|
|
20
21
|
'fabric.linking.actions': string;
|
|
21
22
|
'fabric.linking.add_account': string;
|
|
@@ -122,8 +123,13 @@ declare const _default: {
|
|
|
122
123
|
'fabric.linking.related': string;
|
|
123
124
|
'fabric.linking.related_links_found_in': string;
|
|
124
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
125
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
126
131
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
+
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
127
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
128
134
|
'fabric.linking.request_access': string;
|
|
129
135
|
'fabric.linking.request_access_description': string;
|
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
'automation-menu.modal.footer.get-started-button': string;
|
|
17
17
|
'automation-menu.modal.footer.ok-button': string;
|
|
18
18
|
'automation-menu.modal.header.icon.label': string;
|
|
19
|
+
'automation-menu.success-state.message': string;
|
|
19
20
|
'fabric.linking.access_exists_description': string;
|
|
20
21
|
'fabric.linking.actions': string;
|
|
21
22
|
'fabric.linking.add_account': string;
|
|
@@ -122,8 +123,13 @@ declare const _default: {
|
|
|
122
123
|
'fabric.linking.related': string;
|
|
123
124
|
'fabric.linking.related_links_found_in': string;
|
|
124
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
125
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
126
131
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
+
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
127
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
128
134
|
'fabric.linking.request_access': string;
|
|
129
135
|
'fabric.linking.request_access_description': string;
|
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
'automation-menu.modal.footer.get-started-button': string;
|
|
17
17
|
'automation-menu.modal.footer.ok-button': string;
|
|
18
18
|
'automation-menu.modal.header.icon.label': string;
|
|
19
|
+
'automation-menu.success-state.message': string;
|
|
19
20
|
'fabric.linking.access_exists_description': string;
|
|
20
21
|
'fabric.linking.actions': string;
|
|
21
22
|
'fabric.linking.add_account': string;
|
|
@@ -122,8 +123,13 @@ declare const _default: {
|
|
|
122
123
|
'fabric.linking.related': string;
|
|
123
124
|
'fabric.linking.related_links_found_in': string;
|
|
124
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
125
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
126
131
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
+
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
127
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
128
134
|
'fabric.linking.request_access': string;
|
|
129
135
|
'fabric.linking.request_access_description': string;
|
|
@@ -123,7 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.related': string;
|
|
124
124
|
'fabric.linking.related_links_found_in': string;
|
|
125
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
126
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
127
131
|
'fabric.linking.related_links_not_found': string;
|
|
128
132
|
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
129
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
'automation-menu.modal.footer.get-started-button': string;
|
|
17
17
|
'automation-menu.modal.footer.ok-button': string;
|
|
18
18
|
'automation-menu.modal.header.icon.label': string;
|
|
19
|
+
'automation-menu.success-state.message': string;
|
|
19
20
|
'fabric.linking.access_exists_description': string;
|
|
20
21
|
'fabric.linking.actions': string;
|
|
21
22
|
'fabric.linking.add_account': string;
|
|
@@ -122,8 +123,13 @@ declare const _default: {
|
|
|
122
123
|
'fabric.linking.related': string;
|
|
123
124
|
'fabric.linking.related_links_found_in': string;
|
|
124
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
125
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
126
131
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
+
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
127
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
128
134
|
'fabric.linking.request_access': string;
|
|
129
135
|
'fabric.linking.request_access_description': string;
|
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
'automation-menu.modal.footer.get-started-button': string;
|
|
17
17
|
'automation-menu.modal.footer.ok-button': string;
|
|
18
18
|
'automation-menu.modal.header.icon.label': string;
|
|
19
|
+
'automation-menu.success-state.message': string;
|
|
19
20
|
'fabric.linking.access_exists_description': string;
|
|
20
21
|
'fabric.linking.actions': string;
|
|
21
22
|
'fabric.linking.add_account': string;
|
|
@@ -122,8 +123,13 @@ declare const _default: {
|
|
|
122
123
|
'fabric.linking.related': string;
|
|
123
124
|
'fabric.linking.related_links_found_in': string;
|
|
124
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
125
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
126
131
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
+
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
127
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
128
134
|
'fabric.linking.request_access': string;
|
|
129
135
|
'fabric.linking.request_access_description': string;
|
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
'automation-menu.modal.footer.get-started-button': string;
|
|
17
17
|
'automation-menu.modal.footer.ok-button': string;
|
|
18
18
|
'automation-menu.modal.header.icon.label': string;
|
|
19
|
+
'automation-menu.success-state.message': string;
|
|
19
20
|
'fabric.linking.access_exists_description': string;
|
|
20
21
|
'fabric.linking.actions': string;
|
|
21
22
|
'fabric.linking.add_account': string;
|
|
@@ -122,8 +123,13 @@ declare const _default: {
|
|
|
122
123
|
'fabric.linking.related': string;
|
|
123
124
|
'fabric.linking.related_links_found_in': string;
|
|
124
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
125
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
126
131
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
+
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
127
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
128
134
|
'fabric.linking.request_access': string;
|
|
129
135
|
'fabric.linking.request_access_description': string;
|
|
@@ -123,7 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.related': string;
|
|
124
124
|
'fabric.linking.related_links_found_in': string;
|
|
125
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
126
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
127
131
|
'fabric.linking.related_links_not_found': string;
|
|
128
132
|
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
129
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
'automation-menu.modal.footer.get-started-button': string;
|
|
17
17
|
'automation-menu.modal.footer.ok-button': string;
|
|
18
18
|
'automation-menu.modal.header.icon.label': string;
|
|
19
|
+
'automation-menu.success-state.message': string;
|
|
19
20
|
'fabric.linking.access_exists_description': string;
|
|
20
21
|
'fabric.linking.actions': string;
|
|
21
22
|
'fabric.linking.add_account': string;
|
|
@@ -122,8 +123,13 @@ declare const _default: {
|
|
|
122
123
|
'fabric.linking.related': string;
|
|
123
124
|
'fabric.linking.related_links_found_in': string;
|
|
124
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
125
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
126
131
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
+
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
127
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
128
134
|
'fabric.linking.request_access': string;
|
|
129
135
|
'fabric.linking.request_access_description': string;
|
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
'automation-menu.modal.footer.get-started-button': string;
|
|
17
17
|
'automation-menu.modal.footer.ok-button': string;
|
|
18
18
|
'automation-menu.modal.header.icon.label': string;
|
|
19
|
+
'automation-menu.success-state.message': string;
|
|
19
20
|
'fabric.linking.access_exists_description': string;
|
|
20
21
|
'fabric.linking.actions': string;
|
|
21
22
|
'fabric.linking.add_account': string;
|
|
@@ -122,8 +123,13 @@ declare const _default: {
|
|
|
122
123
|
'fabric.linking.related': string;
|
|
123
124
|
'fabric.linking.related_links_found_in': string;
|
|
124
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
125
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
126
131
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
+
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
127
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
128
134
|
'fabric.linking.request_access': string;
|
|
129
135
|
'fabric.linking.request_access_description': string;
|
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
'automation-menu.modal.footer.get-started-button': string;
|
|
17
17
|
'automation-menu.modal.footer.ok-button': string;
|
|
18
18
|
'automation-menu.modal.header.icon.label': string;
|
|
19
|
+
'automation-menu.success-state.message': string;
|
|
19
20
|
'fabric.linking.access_exists_description': string;
|
|
20
21
|
'fabric.linking.actions': string;
|
|
21
22
|
'fabric.linking.add_account': string;
|
|
@@ -122,8 +123,13 @@ declare const _default: {
|
|
|
122
123
|
'fabric.linking.related': string;
|
|
123
124
|
'fabric.linking.related_links_found_in': string;
|
|
124
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
125
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
126
131
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
+
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
127
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
128
134
|
'fabric.linking.request_access': string;
|
|
129
135
|
'fabric.linking.request_access_description': string;
|
|
@@ -123,7 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.related': string;
|
|
124
124
|
'fabric.linking.related_links_found_in': string;
|
|
125
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
126
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
127
131
|
'fabric.linking.related_links_not_found': string;
|
|
128
132
|
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
129
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
'automation-menu.modal.footer.get-started-button': string;
|
|
17
17
|
'automation-menu.modal.footer.ok-button': string;
|
|
18
18
|
'automation-menu.modal.header.icon.label': string;
|
|
19
|
+
'automation-menu.success-state.message': string;
|
|
19
20
|
'fabric.linking.access_exists_description': string;
|
|
20
21
|
'fabric.linking.actions': string;
|
|
21
22
|
'fabric.linking.add_account': string;
|
|
@@ -122,8 +123,13 @@ declare const _default: {
|
|
|
122
123
|
'fabric.linking.related': string;
|
|
123
124
|
'fabric.linking.related_links_found_in': string;
|
|
124
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
125
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
126
131
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
+
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
127
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
128
134
|
'fabric.linking.request_access': string;
|
|
129
135
|
'fabric.linking.request_access_description': string;
|
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
'automation-menu.modal.footer.get-started-button': string;
|
|
17
17
|
'automation-menu.modal.footer.ok-button': string;
|
|
18
18
|
'automation-menu.modal.header.icon.label': string;
|
|
19
|
+
'automation-menu.success-state.message': string;
|
|
19
20
|
'fabric.linking.access_exists_description': string;
|
|
20
21
|
'fabric.linking.actions': string;
|
|
21
22
|
'fabric.linking.add_account': string;
|
|
@@ -122,8 +123,13 @@ declare const _default: {
|
|
|
122
123
|
'fabric.linking.related': string;
|
|
123
124
|
'fabric.linking.related_links_found_in': string;
|
|
124
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
125
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
126
131
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
+
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
127
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
128
134
|
'fabric.linking.request_access': string;
|
|
129
135
|
'fabric.linking.request_access_description': string;
|
|
@@ -123,7 +123,11 @@ declare const _default: {
|
|
|
123
123
|
'fabric.linking.related': string;
|
|
124
124
|
'fabric.linking.related_links_found_in': string;
|
|
125
125
|
'fabric.linking.related_links_includes_links_to': string;
|
|
126
|
+
'fabric.linking.related_links_modal_error_header': string;
|
|
127
|
+
'fabric.linking.related_links_modal_error_message': string;
|
|
126
128
|
'fabric.linking.related_links_modal_title': string;
|
|
129
|
+
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
|
+
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
127
131
|
'fabric.linking.related_links_not_found': string;
|
|
128
132
|
'fabric.linking.related_links_view_related_urls.nonfinal': string;
|
|
129
133
|
'fabric.linking.related_work_items_not_found': string;
|
|
@@ -281,7 +281,7 @@ export type AutomationActionData = {
|
|
|
281
281
|
objectName?: string;
|
|
282
282
|
};
|
|
283
283
|
export type ViewRelatedLinksActionData = {
|
|
284
|
-
|
|
284
|
+
ari: string;
|
|
285
285
|
};
|
|
286
286
|
export type FlexibleAnalyticsContextType = AnalyticsFacade & {
|
|
287
287
|
display?: CardInnerAppearance;
|
|
@@ -10,7 +10,7 @@ export type UnresolvedViewProps = UnresolvedViewCardProps & {
|
|
|
10
10
|
/** A link icon displayed on embed frame */
|
|
11
11
|
icon: string | ReactNode;
|
|
12
12
|
/** A provider or visual aids for the unresolved link */
|
|
13
|
-
image: string;
|
|
13
|
+
image: string | ReactNode;
|
|
14
14
|
/** A link text displayed on embed frame */
|
|
15
15
|
text?: string;
|
|
16
16
|
/** A title for the unresolved link */
|
|
@@ -1,16 +1,35 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl-next';
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
export type RelatedLinkItemProp = {
|
|
4
|
+
/**
|
|
5
|
+
* the url link of the resource to be resolved and shown
|
|
6
|
+
*/
|
|
4
7
|
url: string;
|
|
5
8
|
testId?: string;
|
|
6
9
|
};
|
|
7
10
|
export type RelatedLinksListProp = {
|
|
11
|
+
/**
|
|
12
|
+
* the title heading of the list
|
|
13
|
+
*/
|
|
8
14
|
title: MessageDescriptor;
|
|
15
|
+
/**
|
|
16
|
+
* the array of urls to be listed in the component
|
|
17
|
+
* the urls will be resolved by smart card using the store
|
|
18
|
+
*/
|
|
9
19
|
urls: string[];
|
|
10
20
|
testId?: string;
|
|
11
21
|
};
|
|
12
22
|
export type RelatedLinksBaseModalProps = {
|
|
23
|
+
/**
|
|
24
|
+
* Function to be called when the modal is closed
|
|
25
|
+
*/
|
|
13
26
|
onClose: () => void;
|
|
27
|
+
/**
|
|
28
|
+
* Prop which controls whether the modal is shown
|
|
29
|
+
*/
|
|
14
30
|
showModal: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Children of modal dialog
|
|
33
|
+
*/
|
|
15
34
|
children: React.ReactNode;
|
|
16
35
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type RelatedLinksModalProps } from './types';
|
|
3
|
-
declare const RelatedLinksModal: ({ onClose, showModal,
|
|
3
|
+
declare const RelatedLinksModal: ({ onClose, showModal, ari }: RelatedLinksModalProps) => JSX.Element;
|
|
4
4
|
export default RelatedLinksModal;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
export type RelatedLinksModalProps = {
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* ari for which the related links will be derived from
|
|
4
|
+
*/
|
|
5
|
+
ari: string;
|
|
6
|
+
/**
|
|
7
|
+
* Function to be called when the modal is closed
|
|
8
|
+
*/
|
|
3
9
|
onClose: () => void;
|
|
10
|
+
/**
|
|
11
|
+
* Prop which controls whether the modal is shown
|
|
12
|
+
*/
|
|
4
13
|
showModal: boolean;
|
|
5
14
|
};
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
export type RelatedLinksProps = {
|
|
2
|
+
/**
|
|
3
|
+
* a list of links that are incoming from the resource, renders underneath `Found In` heading
|
|
4
|
+
*/
|
|
2
5
|
incomingLinks?: string[];
|
|
6
|
+
/**
|
|
7
|
+
* a list of links that are outgoing from the resource, renders underneath `Includes Links To` heading
|
|
8
|
+
*/
|
|
3
9
|
outgoingLinks?: string[];
|
|
4
10
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "27.8.
|
|
3
|
+
"version": "27.8.3",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/modal-dialog": "^12.14.0",
|
|
55
55
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
56
56
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
57
|
-
"@atlaskit/popup": "^1.
|
|
57
|
+
"@atlaskit/popup": "^1.20.0",
|
|
58
58
|
"@atlaskit/primitives": "^10.0.0",
|
|
59
59
|
"@atlaskit/section-message": "^6.5.0",
|
|
60
60
|
"@atlaskit/select": "^17.11.0",
|
|
@@ -187,9 +187,6 @@
|
|
|
187
187
|
},
|
|
188
188
|
"platform.linking-platform.smart-card.enable-view-related-urls-action": {
|
|
189
189
|
"type": "boolean"
|
|
190
|
-
},
|
|
191
|
-
"platform.editor.card.fix-embed-card-select-all": {
|
|
192
|
-
"type": "boolean"
|
|
193
190
|
}
|
|
194
191
|
}
|
|
195
192
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.UnauthorisedImage = exports.NotFoundImage = exports.LockImage = void 0;
|
|
7
|
-
var CDN_BASE_URL = 'https://smart-links-cdn.us-east-1.prod.public.atl-paas.net';
|
|
8
|
-
var LockImage = exports.LockImage = "".concat(CDN_BASE_URL, "/lock.svg");
|
|
9
|
-
var NotFoundImage = exports.NotFoundImage = "".concat(CDN_BASE_URL, "/not_found.svg");
|
|
10
|
-
var UnauthorisedImage = exports.UnauthorisedImage = "".concat(CDN_BASE_URL, "/unauth.svg");
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getUnresolvedEmbedCardImage = void 0;
|
|
7
|
-
var _constants = require("./constants");
|
|
8
|
-
var getUnresolvedEmbedCardImage = exports.getUnresolvedEmbedCardImage = function getUnresolvedEmbedCardImage(status) {
|
|
9
|
-
switch (status) {
|
|
10
|
-
case 'forbidden':
|
|
11
|
-
return _constants.LockImage;
|
|
12
|
-
case 'unauthorized':
|
|
13
|
-
return _constants.UnauthorisedImage;
|
|
14
|
-
case 'notFound':
|
|
15
|
-
return _constants.NotFoundImage;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.titleStyles = exports.imageStyles = exports.descriptionStyles = exports.contentStyles = exports.containerStyles = void 0;
|
|
7
|
-
var _react = require("@emotion/react");
|
|
8
|
-
var _utils = require("../../../common/utils");
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
|
-
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
12
|
-
var containerStyles = exports.containerStyles = (0, _react.css)({
|
|
13
|
-
display: 'grid',
|
|
14
|
-
height: 'inherit'
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
18
|
-
var contentStyles = exports.contentStyles = (0, _react.css)({
|
|
19
|
-
display: 'flex',
|
|
20
|
-
flexDirection: 'column',
|
|
21
|
-
justifyContent: 'center',
|
|
22
|
-
alignItems: 'center',
|
|
23
|
-
margin: 'auto',
|
|
24
|
-
padding: "var(--ds-space-200, 16px)",
|
|
25
|
-
gap: "var(--ds-space-250, 20px)",
|
|
26
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
27
|
-
maxWidth: (0, _utils.gs)(50)
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
31
|
-
var imageStyles = exports.imageStyles = (0, _react.css)({
|
|
32
|
-
height: '120px',
|
|
33
|
-
width: '180px',
|
|
34
|
-
objectFit: 'contain',
|
|
35
|
-
objectPosition: 'center center'
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
39
|
-
var titleStyles = exports.titleStyles = (0, _react.css)({
|
|
40
|
-
textAlign: 'center',
|
|
41
|
-
margin: 0,
|
|
42
|
-
padding: 0
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
46
|
-
var descriptionStyles = exports.descriptionStyles = (0, _react.css)({
|
|
47
|
-
fontSize: '1em',
|
|
48
|
-
textAlign: 'center'
|
|
49
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { LockImage, NotFoundImage, UnauthorisedImage } from './constants';
|
|
2
|
-
export const getUnresolvedEmbedCardImage = status => {
|
|
3
|
-
switch (status) {
|
|
4
|
-
case 'forbidden':
|
|
5
|
-
return LockImage;
|
|
6
|
-
case 'unauthorized':
|
|
7
|
-
return UnauthorisedImage;
|
|
8
|
-
case 'notFound':
|
|
9
|
-
return NotFoundImage;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
-
import { css } from '@emotion/react';
|
|
3
|
-
import { gs } from '../../../common/utils';
|
|
4
|
-
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
6
|
-
export const containerStyles = css({
|
|
7
|
-
display: 'grid',
|
|
8
|
-
height: 'inherit'
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
12
|
-
export const contentStyles = css({
|
|
13
|
-
display: 'flex',
|
|
14
|
-
flexDirection: 'column',
|
|
15
|
-
justifyContent: 'center',
|
|
16
|
-
alignItems: 'center',
|
|
17
|
-
margin: 'auto',
|
|
18
|
-
padding: "var(--ds-space-200, 16px)",
|
|
19
|
-
gap: "var(--ds-space-250, 20px)",
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
21
|
-
maxWidth: gs(50)
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
25
|
-
export const imageStyles = css({
|
|
26
|
-
height: '120px',
|
|
27
|
-
width: '180px',
|
|
28
|
-
objectFit: 'contain',
|
|
29
|
-
objectPosition: 'center center'
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
33
|
-
export const titleStyles = css({
|
|
34
|
-
textAlign: 'center',
|
|
35
|
-
margin: 0,
|
|
36
|
-
padding: 0
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
40
|
-
export const descriptionStyles = css({
|
|
41
|
-
fontSize: '1em',
|
|
42
|
-
textAlign: 'center'
|
|
43
|
-
});
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var CDN_BASE_URL = 'https://smart-links-cdn.us-east-1.prod.public.atl-paas.net';
|
|
2
|
-
export var LockImage = "".concat(CDN_BASE_URL, "/lock.svg");
|
|
3
|
-
export var NotFoundImage = "".concat(CDN_BASE_URL, "/not_found.svg");
|
|
4
|
-
export var UnauthorisedImage = "".concat(CDN_BASE_URL, "/unauth.svg");
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { LockImage, NotFoundImage, UnauthorisedImage } from './constants';
|
|
2
|
-
export var getUnresolvedEmbedCardImage = function getUnresolvedEmbedCardImage(status) {
|
|
3
|
-
switch (status) {
|
|
4
|
-
case 'forbidden':
|
|
5
|
-
return LockImage;
|
|
6
|
-
case 'unauthorized':
|
|
7
|
-
return UnauthorisedImage;
|
|
8
|
-
case 'notFound':
|
|
9
|
-
return NotFoundImage;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
-
import { css } from '@emotion/react';
|
|
3
|
-
import { gs } from '../../../common/utils';
|
|
4
|
-
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
6
|
-
export var containerStyles = css({
|
|
7
|
-
display: 'grid',
|
|
8
|
-
height: 'inherit'
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
12
|
-
export var contentStyles = css({
|
|
13
|
-
display: 'flex',
|
|
14
|
-
flexDirection: 'column',
|
|
15
|
-
justifyContent: 'center',
|
|
16
|
-
alignItems: 'center',
|
|
17
|
-
margin: 'auto',
|
|
18
|
-
padding: "var(--ds-space-200, 16px)",
|
|
19
|
-
gap: "var(--ds-space-250, 20px)",
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
21
|
-
maxWidth: gs(50)
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
25
|
-
export var imageStyles = css({
|
|
26
|
-
height: '120px',
|
|
27
|
-
width: '180px',
|
|
28
|
-
objectFit: 'contain',
|
|
29
|
-
objectPosition: 'center center'
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
33
|
-
export var titleStyles = css({
|
|
34
|
-
textAlign: 'center',
|
|
35
|
-
margin: 0,
|
|
36
|
-
padding: 0
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
40
|
-
export var descriptionStyles = css({
|
|
41
|
-
fontSize: '1em',
|
|
42
|
-
textAlign: 'center'
|
|
43
|
-
});
|