@atlaskit/smart-card 36.7.0 → 36.8.1
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 +24 -0
- package/dist/cjs/extractors/inline/index.js +31 -3
- package/dist/cjs/i18n/cs.js +8 -0
- package/dist/cjs/i18n/da.js +8 -0
- package/dist/cjs/i18n/de.js +7 -0
- package/dist/cjs/i18n/en.js +8 -0
- package/dist/cjs/i18n/en_GB.js +8 -0
- package/dist/cjs/i18n/en_ZZ.js +8 -0
- package/dist/cjs/i18n/es.js +8 -0
- package/dist/cjs/i18n/fi.js +8 -0
- package/dist/cjs/i18n/hu.js +8 -0
- package/dist/cjs/i18n/it.js +8 -0
- package/dist/cjs/i18n/ja.js +8 -0
- package/dist/cjs/i18n/ko.js +8 -0
- package/dist/cjs/i18n/nb.js +8 -0
- package/dist/cjs/i18n/nl.js +8 -0
- package/dist/cjs/i18n/pl.js +7 -0
- package/dist/cjs/i18n/pt_BR.js +8 -0
- package/dist/cjs/i18n/ru.js +7 -0
- package/dist/cjs/i18n/sv.js +8 -0
- package/dist/cjs/i18n/th.js +8 -0
- package/dist/cjs/i18n/tr.js +8 -0
- package/dist/cjs/i18n/uk.js +8 -0
- package/dist/cjs/i18n/vi.js +8 -0
- package/dist/cjs/i18n/zh.js +7 -0
- package/dist/cjs/i18n/zh_TW.js +7 -0
- package/dist/cjs/index.js +30 -0
- package/dist/cjs/state/hooks/use-resolve/index.js +3 -1
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/utils/mocks.js +38 -10
- package/dist/cjs/view/EmbedCard/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-button/index.js +13 -5
- package/dist/cjs/view/FlexibleCard/external.js +30 -1
- package/dist/cjs/view/InlineCard/index.js +5 -4
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/extractors/inline/index.js +41 -10
- package/dist/es2019/i18n/cs.js +8 -0
- package/dist/es2019/i18n/da.js +8 -0
- package/dist/es2019/i18n/de.js +7 -0
- package/dist/es2019/i18n/en.js +8 -0
- package/dist/es2019/i18n/en_GB.js +8 -0
- package/dist/es2019/i18n/en_ZZ.js +8 -0
- package/dist/es2019/i18n/es.js +8 -0
- package/dist/es2019/i18n/fi.js +8 -0
- package/dist/es2019/i18n/hu.js +8 -0
- package/dist/es2019/i18n/it.js +8 -0
- package/dist/es2019/i18n/ja.js +8 -0
- package/dist/es2019/i18n/ko.js +8 -0
- package/dist/es2019/i18n/nb.js +8 -0
- package/dist/es2019/i18n/nl.js +8 -0
- package/dist/es2019/i18n/pl.js +7 -0
- package/dist/es2019/i18n/pt_BR.js +8 -0
- package/dist/es2019/i18n/ru.js +7 -0
- package/dist/es2019/i18n/sv.js +8 -0
- package/dist/es2019/i18n/th.js +8 -0
- package/dist/es2019/i18n/tr.js +8 -0
- package/dist/es2019/i18n/uk.js +8 -0
- package/dist/es2019/i18n/vi.js +8 -0
- package/dist/es2019/i18n/zh.js +7 -0
- package/dist/es2019/i18n/zh_TW.js +7 -0
- package/dist/es2019/index.js +1 -0
- package/dist/es2019/state/hooks/use-resolve/index.js +3 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/utils/mocks.js +40 -7
- package/dist/es2019/view/EmbedCard/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-button/index.js +13 -5
- package/dist/es2019/view/FlexibleCard/external.js +20 -1
- package/dist/es2019/view/InlineCard/index.js +6 -5
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/extractors/inline/index.js +33 -3
- package/dist/esm/i18n/cs.js +8 -0
- package/dist/esm/i18n/da.js +8 -0
- package/dist/esm/i18n/de.js +7 -0
- package/dist/esm/i18n/en.js +8 -0
- package/dist/esm/i18n/en_GB.js +8 -0
- package/dist/esm/i18n/en_ZZ.js +8 -0
- package/dist/esm/i18n/es.js +8 -0
- package/dist/esm/i18n/fi.js +8 -0
- package/dist/esm/i18n/hu.js +8 -0
- package/dist/esm/i18n/it.js +8 -0
- package/dist/esm/i18n/ja.js +8 -0
- package/dist/esm/i18n/ko.js +8 -0
- package/dist/esm/i18n/nb.js +8 -0
- package/dist/esm/i18n/nl.js +8 -0
- package/dist/esm/i18n/pl.js +7 -0
- package/dist/esm/i18n/pt_BR.js +8 -0
- package/dist/esm/i18n/ru.js +7 -0
- package/dist/esm/i18n/sv.js +8 -0
- package/dist/esm/i18n/th.js +8 -0
- package/dist/esm/i18n/tr.js +8 -0
- package/dist/esm/i18n/uk.js +8 -0
- package/dist/esm/i18n/vi.js +8 -0
- package/dist/esm/i18n/zh.js +7 -0
- package/dist/esm/i18n/zh_TW.js +7 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/state/hooks/use-resolve/index.js +3 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/utils/mocks.js +38 -10
- package/dist/esm/view/EmbedCard/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/action/action-button/index.js +13 -5
- package/dist/esm/view/FlexibleCard/external.js +29 -0
- package/dist/esm/view/InlineCard/index.js +6 -5
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/extractors/inline/index.d.ts +2 -4
- package/dist/types/i18n/cs.d.ts +8 -0
- package/dist/types/i18n/da.d.ts +8 -0
- package/dist/types/i18n/de.d.ts +7 -0
- package/dist/types/i18n/en.d.ts +8 -0
- package/dist/types/i18n/en_GB.d.ts +8 -0
- package/dist/types/i18n/en_ZZ.d.ts +8 -0
- package/dist/types/i18n/es.d.ts +8 -0
- package/dist/types/i18n/fi.d.ts +8 -0
- package/dist/types/i18n/hu.d.ts +8 -0
- package/dist/types/i18n/it.d.ts +8 -0
- package/dist/types/i18n/ja.d.ts +8 -0
- package/dist/types/i18n/ko.d.ts +8 -0
- package/dist/types/i18n/nb.d.ts +8 -0
- package/dist/types/i18n/nl.d.ts +8 -0
- package/dist/types/i18n/pl.d.ts +7 -0
- package/dist/types/i18n/pt_BR.d.ts +8 -0
- package/dist/types/i18n/ru.d.ts +7 -0
- package/dist/types/i18n/sv.d.ts +8 -0
- package/dist/types/i18n/th.d.ts +8 -0
- package/dist/types/i18n/tr.d.ts +8 -0
- package/dist/types/i18n/uk.d.ts +8 -0
- package/dist/types/i18n/vi.d.ts +8 -0
- package/dist/types/i18n/zh.d.ts +7 -0
- package/dist/types/i18n/zh_TW.d.ts +7 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/mocks.d.ts +2 -0
- package/dist/types/view/FlexibleCard/external.d.ts +22 -1
- package/dist/types-ts4.5/extractors/inline/index.d.ts +2 -4
- package/dist/types-ts4.5/i18n/cs.d.ts +8 -0
- package/dist/types-ts4.5/i18n/da.d.ts +8 -0
- package/dist/types-ts4.5/i18n/de.d.ts +7 -0
- package/dist/types-ts4.5/i18n/en.d.ts +8 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +8 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +8 -0
- package/dist/types-ts4.5/i18n/es.d.ts +8 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +8 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +8 -0
- package/dist/types-ts4.5/i18n/it.d.ts +8 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +8 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +8 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +8 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +8 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +7 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +8 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +7 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +8 -0
- package/dist/types-ts4.5/i18n/th.d.ts +8 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +8 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +8 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +8 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +7 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +7 -0
- package/dist/types-ts4.5/index.d.ts +1 -0
- package/dist/types-ts4.5/utils/mocks.d.ts +2 -0
- package/dist/types-ts4.5/view/FlexibleCard/external.d.ts +22 -1
- package/package.json +11 -8
|
@@ -124,13 +124,21 @@ declare const _default: {
|
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
126
|
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_found_in_v2': string;
|
|
127
128
|
'fabric.linking.related_links_includes_links_to': string;
|
|
129
|
+
'fabric.linking.related_links_includes_links_to_v2': string;
|
|
130
|
+
'fabric.linking.related_links_modal_error_description': string;
|
|
128
131
|
'fabric.linking.related_links_modal_error_header': string;
|
|
129
132
|
'fabric.linking.related_links_modal_error_message': string;
|
|
133
|
+
'fabric.linking.related_links_modal_error_title': string;
|
|
130
134
|
'fabric.linking.related_links_modal_title': string;
|
|
135
|
+
'fabric.linking.related_links_modal_title_v2': string;
|
|
136
|
+
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
131
137
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
132
138
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
139
|
+
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
133
140
|
'fabric.linking.related_links_not_found': string;
|
|
141
|
+
'fabric.linking.related_links_view_related_links': string;
|
|
134
142
|
'fabric.linking.related_links_view_related_urls': string;
|
|
135
143
|
'fabric.linking.request_access': string;
|
|
136
144
|
'fabric.linking.request_access_description': string;
|
|
@@ -124,13 +124,21 @@ declare const _default: {
|
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
126
|
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_found_in_v2': string;
|
|
127
128
|
'fabric.linking.related_links_includes_links_to': string;
|
|
129
|
+
'fabric.linking.related_links_includes_links_to_v2': string;
|
|
130
|
+
'fabric.linking.related_links_modal_error_description': string;
|
|
128
131
|
'fabric.linking.related_links_modal_error_header': string;
|
|
129
132
|
'fabric.linking.related_links_modal_error_message': string;
|
|
133
|
+
'fabric.linking.related_links_modal_error_title': string;
|
|
130
134
|
'fabric.linking.related_links_modal_title': string;
|
|
135
|
+
'fabric.linking.related_links_modal_title_v2': string;
|
|
136
|
+
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
131
137
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
132
138
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
139
|
+
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
133
140
|
'fabric.linking.related_links_not_found': string;
|
|
141
|
+
'fabric.linking.related_links_view_related_links': string;
|
|
134
142
|
'fabric.linking.related_links_view_related_urls': string;
|
|
135
143
|
'fabric.linking.request_access': string;
|
|
136
144
|
'fabric.linking.request_access_description': string;
|
|
@@ -124,13 +124,21 @@ declare const _default: {
|
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
126
|
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_found_in_v2': string;
|
|
127
128
|
'fabric.linking.related_links_includes_links_to': string;
|
|
129
|
+
'fabric.linking.related_links_includes_links_to_v2': string;
|
|
130
|
+
'fabric.linking.related_links_modal_error_description': string;
|
|
128
131
|
'fabric.linking.related_links_modal_error_header': string;
|
|
129
132
|
'fabric.linking.related_links_modal_error_message': string;
|
|
133
|
+
'fabric.linking.related_links_modal_error_title': string;
|
|
130
134
|
'fabric.linking.related_links_modal_title': string;
|
|
135
|
+
'fabric.linking.related_links_modal_title_v2': string;
|
|
136
|
+
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
131
137
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
132
138
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
139
|
+
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
133
140
|
'fabric.linking.related_links_not_found': string;
|
|
141
|
+
'fabric.linking.related_links_view_related_links': string;
|
|
134
142
|
'fabric.linking.related_links_view_related_urls': string;
|
|
135
143
|
'fabric.linking.request_access': string;
|
|
136
144
|
'fabric.linking.request_access_description': string;
|
|
@@ -125,12 +125,19 @@ declare const _default: {
|
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
126
|
'fabric.linking.related_links_found_in': string;
|
|
127
127
|
'fabric.linking.related_links_includes_links_to': string;
|
|
128
|
+
'fabric.linking.related_links_includes_links_to_v2': string;
|
|
129
|
+
'fabric.linking.related_links_modal_error_description': string;
|
|
128
130
|
'fabric.linking.related_links_modal_error_header': string;
|
|
129
131
|
'fabric.linking.related_links_modal_error_message': string;
|
|
132
|
+
'fabric.linking.related_links_modal_error_title': string;
|
|
130
133
|
'fabric.linking.related_links_modal_title': string;
|
|
134
|
+
'fabric.linking.related_links_modal_title_v2': string;
|
|
135
|
+
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
131
136
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
132
137
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
138
|
+
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
133
139
|
'fabric.linking.related_links_not_found': string;
|
|
140
|
+
'fabric.linking.related_links_view_related_links': string;
|
|
134
141
|
'fabric.linking.related_links_view_related_urls': string;
|
|
135
142
|
'fabric.linking.request_access': string;
|
|
136
143
|
'fabric.linking.request_access_description': string;
|
|
@@ -124,13 +124,21 @@ declare const _default: {
|
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
126
|
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_found_in_v2': string;
|
|
127
128
|
'fabric.linking.related_links_includes_links_to': string;
|
|
129
|
+
'fabric.linking.related_links_includes_links_to_v2': string;
|
|
130
|
+
'fabric.linking.related_links_modal_error_description': string;
|
|
128
131
|
'fabric.linking.related_links_modal_error_header': string;
|
|
129
132
|
'fabric.linking.related_links_modal_error_message': string;
|
|
133
|
+
'fabric.linking.related_links_modal_error_title': string;
|
|
130
134
|
'fabric.linking.related_links_modal_title': string;
|
|
135
|
+
'fabric.linking.related_links_modal_title_v2': string;
|
|
136
|
+
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
131
137
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
132
138
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
139
|
+
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
133
140
|
'fabric.linking.related_links_not_found': string;
|
|
141
|
+
'fabric.linking.related_links_view_related_links': string;
|
|
134
142
|
'fabric.linking.related_links_view_related_urls': string;
|
|
135
143
|
'fabric.linking.request_access': string;
|
|
136
144
|
'fabric.linking.request_access_description': string;
|
|
@@ -125,12 +125,19 @@ declare const _default: {
|
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
126
|
'fabric.linking.related_links_found_in': string;
|
|
127
127
|
'fabric.linking.related_links_includes_links_to': string;
|
|
128
|
+
'fabric.linking.related_links_includes_links_to_v2': string;
|
|
129
|
+
'fabric.linking.related_links_modal_error_description': string;
|
|
128
130
|
'fabric.linking.related_links_modal_error_header': string;
|
|
129
131
|
'fabric.linking.related_links_modal_error_message': string;
|
|
132
|
+
'fabric.linking.related_links_modal_error_title': string;
|
|
130
133
|
'fabric.linking.related_links_modal_title': string;
|
|
134
|
+
'fabric.linking.related_links_modal_title_v2': string;
|
|
135
|
+
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
131
136
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
132
137
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
138
|
+
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
133
139
|
'fabric.linking.related_links_not_found': string;
|
|
140
|
+
'fabric.linking.related_links_view_related_links': string;
|
|
134
141
|
'fabric.linking.related_links_view_related_urls': string;
|
|
135
142
|
'fabric.linking.request_access': string;
|
|
136
143
|
'fabric.linking.request_access_description': string;
|
|
@@ -124,13 +124,21 @@ declare const _default: {
|
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
126
|
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_found_in_v2': string;
|
|
127
128
|
'fabric.linking.related_links_includes_links_to': string;
|
|
129
|
+
'fabric.linking.related_links_includes_links_to_v2': string;
|
|
130
|
+
'fabric.linking.related_links_modal_error_description': string;
|
|
128
131
|
'fabric.linking.related_links_modal_error_header': string;
|
|
129
132
|
'fabric.linking.related_links_modal_error_message': string;
|
|
133
|
+
'fabric.linking.related_links_modal_error_title': string;
|
|
130
134
|
'fabric.linking.related_links_modal_title': string;
|
|
135
|
+
'fabric.linking.related_links_modal_title_v2': string;
|
|
136
|
+
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
131
137
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
132
138
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
139
|
+
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
133
140
|
'fabric.linking.related_links_not_found': string;
|
|
141
|
+
'fabric.linking.related_links_view_related_links': string;
|
|
134
142
|
'fabric.linking.related_links_view_related_urls': string;
|
|
135
143
|
'fabric.linking.request_access': string;
|
|
136
144
|
'fabric.linking.request_access_description': string;
|
|
@@ -124,13 +124,21 @@ declare const _default: {
|
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
126
|
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_found_in_v2': string;
|
|
127
128
|
'fabric.linking.related_links_includes_links_to': string;
|
|
129
|
+
'fabric.linking.related_links_includes_links_to_v2': string;
|
|
130
|
+
'fabric.linking.related_links_modal_error_description': string;
|
|
128
131
|
'fabric.linking.related_links_modal_error_header': string;
|
|
129
132
|
'fabric.linking.related_links_modal_error_message': string;
|
|
133
|
+
'fabric.linking.related_links_modal_error_title': string;
|
|
130
134
|
'fabric.linking.related_links_modal_title': string;
|
|
135
|
+
'fabric.linking.related_links_modal_title_v2': string;
|
|
136
|
+
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
131
137
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
132
138
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
139
|
+
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
133
140
|
'fabric.linking.related_links_not_found': string;
|
|
141
|
+
'fabric.linking.related_links_view_related_links': string;
|
|
134
142
|
'fabric.linking.related_links_view_related_urls': string;
|
|
135
143
|
'fabric.linking.request_access': string;
|
|
136
144
|
'fabric.linking.request_access_description': string;
|
|
@@ -124,13 +124,21 @@ declare const _default: {
|
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
126
|
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_found_in_v2': string;
|
|
127
128
|
'fabric.linking.related_links_includes_links_to': string;
|
|
129
|
+
'fabric.linking.related_links_includes_links_to_v2': string;
|
|
130
|
+
'fabric.linking.related_links_modal_error_description': string;
|
|
128
131
|
'fabric.linking.related_links_modal_error_header': string;
|
|
129
132
|
'fabric.linking.related_links_modal_error_message': string;
|
|
133
|
+
'fabric.linking.related_links_modal_error_title': string;
|
|
130
134
|
'fabric.linking.related_links_modal_title': string;
|
|
135
|
+
'fabric.linking.related_links_modal_title_v2': string;
|
|
136
|
+
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
131
137
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
132
138
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
139
|
+
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
133
140
|
'fabric.linking.related_links_not_found': string;
|
|
141
|
+
'fabric.linking.related_links_view_related_links': string;
|
|
134
142
|
'fabric.linking.related_links_view_related_urls': string;
|
|
135
143
|
'fabric.linking.request_access': string;
|
|
136
144
|
'fabric.linking.request_access_description': string;
|
|
@@ -124,13 +124,21 @@ declare const _default: {
|
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
126
|
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_found_in_v2': string;
|
|
127
128
|
'fabric.linking.related_links_includes_links_to': string;
|
|
129
|
+
'fabric.linking.related_links_includes_links_to_v2': string;
|
|
130
|
+
'fabric.linking.related_links_modal_error_description': string;
|
|
128
131
|
'fabric.linking.related_links_modal_error_header': string;
|
|
129
132
|
'fabric.linking.related_links_modal_error_message': string;
|
|
133
|
+
'fabric.linking.related_links_modal_error_title': string;
|
|
130
134
|
'fabric.linking.related_links_modal_title': string;
|
|
135
|
+
'fabric.linking.related_links_modal_title_v2': string;
|
|
136
|
+
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
131
137
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
132
138
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
139
|
+
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
133
140
|
'fabric.linking.related_links_not_found': string;
|
|
141
|
+
'fabric.linking.related_links_view_related_links': string;
|
|
134
142
|
'fabric.linking.related_links_view_related_urls': string;
|
|
135
143
|
'fabric.linking.request_access': string;
|
|
136
144
|
'fabric.linking.request_access_description': string;
|
|
@@ -124,13 +124,21 @@ declare const _default: {
|
|
|
124
124
|
'fabric.linking.read_time': string;
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
126
|
'fabric.linking.related_links_found_in': string;
|
|
127
|
+
'fabric.linking.related_links_found_in_v2': string;
|
|
127
128
|
'fabric.linking.related_links_includes_links_to': string;
|
|
129
|
+
'fabric.linking.related_links_includes_links_to_v2': string;
|
|
130
|
+
'fabric.linking.related_links_modal_error_description': string;
|
|
128
131
|
'fabric.linking.related_links_modal_error_header': string;
|
|
129
132
|
'fabric.linking.related_links_modal_error_message': string;
|
|
133
|
+
'fabric.linking.related_links_modal_error_title': string;
|
|
130
134
|
'fabric.linking.related_links_modal_title': string;
|
|
135
|
+
'fabric.linking.related_links_modal_title_v2': string;
|
|
136
|
+
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
131
137
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
132
138
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
139
|
+
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
133
140
|
'fabric.linking.related_links_not_found': string;
|
|
141
|
+
'fabric.linking.related_links_view_related_links': string;
|
|
134
142
|
'fabric.linking.related_links_view_related_urls': string;
|
|
135
143
|
'fabric.linking.request_access': string;
|
|
136
144
|
'fabric.linking.request_access_description': string;
|
|
@@ -125,12 +125,19 @@ declare const _default: {
|
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
126
|
'fabric.linking.related_links_found_in': string;
|
|
127
127
|
'fabric.linking.related_links_includes_links_to': string;
|
|
128
|
+
'fabric.linking.related_links_includes_links_to_v2': string;
|
|
129
|
+
'fabric.linking.related_links_modal_error_description': string;
|
|
128
130
|
'fabric.linking.related_links_modal_error_header': string;
|
|
129
131
|
'fabric.linking.related_links_modal_error_message': string;
|
|
132
|
+
'fabric.linking.related_links_modal_error_title': string;
|
|
130
133
|
'fabric.linking.related_links_modal_title': string;
|
|
134
|
+
'fabric.linking.related_links_modal_title_v2': string;
|
|
135
|
+
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
131
136
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
132
137
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
138
|
+
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
133
139
|
'fabric.linking.related_links_not_found': string;
|
|
140
|
+
'fabric.linking.related_links_view_related_links': string;
|
|
134
141
|
'fabric.linking.related_links_view_related_urls': string;
|
|
135
142
|
'fabric.linking.request_access': string;
|
|
136
143
|
'fabric.linking.request_access_description': string;
|
|
@@ -125,12 +125,19 @@ declare const _default: {
|
|
|
125
125
|
'fabric.linking.related': string;
|
|
126
126
|
'fabric.linking.related_links_found_in': string;
|
|
127
127
|
'fabric.linking.related_links_includes_links_to': string;
|
|
128
|
+
'fabric.linking.related_links_includes_links_to_v2': string;
|
|
129
|
+
'fabric.linking.related_links_modal_error_description': string;
|
|
128
130
|
'fabric.linking.related_links_modal_error_header': string;
|
|
129
131
|
'fabric.linking.related_links_modal_error_message': string;
|
|
132
|
+
'fabric.linking.related_links_modal_error_title': string;
|
|
130
133
|
'fabric.linking.related_links_modal_title': string;
|
|
134
|
+
'fabric.linking.related_links_modal_title_v2': string;
|
|
135
|
+
'fabric.linking.related_links_modal_unavailable_description': string;
|
|
131
136
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
132
137
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
138
|
+
'fabric.linking.related_links_modal_unavailable_title': string;
|
|
133
139
|
'fabric.linking.related_links_not_found': string;
|
|
140
|
+
'fabric.linking.related_links_view_related_links': string;
|
|
134
141
|
'fabric.linking.related_links_view_related_urls': string;
|
|
135
142
|
'fabric.linking.request_access': string;
|
|
136
143
|
'fabric.linking.request_access_description': string;
|
|
@@ -11,6 +11,7 @@ export { loadingPlaceholderClassName } from './view/CardWithUrl/component-lazy/L
|
|
|
11
11
|
export { ActionName, ElementName, MediaPlacement, SmartLinkDirection, SmartLinkPosition, SmartLinkSize, SmartLinkTheme, } from './constants';
|
|
12
12
|
export { MetadataBlock, PreviewBlock, SnippetBlock, TitleBlock, FooterBlock, CustomBlock, } from './view/FlexibleCard/components/blocks';
|
|
13
13
|
export { AssignedToElement, AssignedToGroupElement, AttachmentCountElement, AuthorGroupElement, ChecklistProgressElement, CollaboratorGroupElement, CommentCountElement, CreatedOnElement, CreatedByElement, DueOnElement, LatestCommitElement, LinkIconElement, LocationElement, ModifiedByElement, ModifiedOnElement, OwnedByElement, OwnedByGroupElement, PreviewElement, PriorityElement, ProgrammingLanguageElement, ProviderElement, ReactCountElement, ReadTimeElement, SentOnElement, SnippetElement, SourceBranchElement, StateElement, StoryPointsElement, SubscriberCountElement, SubTasksProgressElement, TargetBranchElement, TitleElement, ViewCountElement, VoteCountElement, } from './view/FlexibleCard/external';
|
|
14
|
+
export { CopyLinkAction, CustomAction, DownloadAction, FollowAction, PreviewAction, } from './view/FlexibleCard/external';
|
|
14
15
|
export type { ActionItem, ElementItem, OnActionMenuOpenChangeOptions, } from './view/FlexibleCard/components/blocks/types';
|
|
15
16
|
export type { AnalyticsAction, AnalyticsActionSubject, AnalyticsPayload, AnalyticsHandler, } from './utils/types';
|
|
16
17
|
/** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-661 Internal documentation for deprecation (no external access)} */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type JsonLd } from '@atlaskit/json-ld-types';
|
|
2
|
+
import { SmartLinkResponse } from '@atlaskit/linking-types';
|
|
2
3
|
export declare const mockContext: {
|
|
3
4
|
readonly '@vocab': "https://www.w3.org/ns/activitystreams#";
|
|
4
5
|
readonly atlassian: "https://schema.atlassian.com/ns/vocabulary#";
|
|
@@ -12,6 +13,7 @@ export declare const mockGenerator: {
|
|
|
12
13
|
export declare const mockByUrl: (url: string) => JsonLd.Response<JsonLd.Data.BaseData>;
|
|
13
14
|
export declare const mocks: {
|
|
14
15
|
success: JsonLd.Response<JsonLd.Data.BaseData>;
|
|
16
|
+
nounDataSuccess: SmartLinkResponse;
|
|
15
17
|
notFound: JsonLd.Response<JsonLd.Data.BaseData>;
|
|
16
18
|
forbidden: JsonLd.Response<JsonLd.Data.BaseData>;
|
|
17
19
|
forbiddenWithNoAuth: JsonLd.Response<JsonLd.Data.BaseData>;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import { type LinkProps } from './components/elements/link/types';
|
|
11
|
-
import type
|
|
11
|
+
import { type TextProps } from './components/elements/text/types';
|
|
12
12
|
export declare const AssignedToElement: () => React.JSX.Element;
|
|
13
13
|
export declare const AssignedToGroupElement: () => React.JSX.Element;
|
|
14
14
|
export declare const AttachmentCountElement: () => React.JSX.Element;
|
|
@@ -47,3 +47,24 @@ export type TitleElementProps = Pick<LinkProps, 'hideTooltip' | 'maxLines' | 'ta
|
|
|
47
47
|
export declare const TitleElement: (props: TitleElementProps) => React.JSX.Element;
|
|
48
48
|
export declare const ViewCountElement: () => React.JSX.Element;
|
|
49
49
|
export declare const VoteCountElement: () => React.JSX.Element;
|
|
50
|
+
type BaseActionProps = {
|
|
51
|
+
appearance?: 'default' | 'subtle';
|
|
52
|
+
};
|
|
53
|
+
export declare const toActionProps: (props?: BaseActionProps) => {
|
|
54
|
+
appearance: "default" | "subtle";
|
|
55
|
+
icon: undefined;
|
|
56
|
+
};
|
|
57
|
+
export type CopyLinkActionProps = BaseActionProps;
|
|
58
|
+
export declare const CopyLinkAction: (props: CopyLinkActionProps) => React.JSX.Element;
|
|
59
|
+
export type CustomActionProps = BaseActionProps & {
|
|
60
|
+
children: React.ReactNode;
|
|
61
|
+
onClick: () => void;
|
|
62
|
+
};
|
|
63
|
+
export declare const CustomAction: (props: CustomActionProps) => React.JSX.Element;
|
|
64
|
+
export type DownloadActionProps = BaseActionProps;
|
|
65
|
+
export declare const DownloadAction: (props: DownloadActionProps) => React.JSX.Element;
|
|
66
|
+
export type FollowActionProps = BaseActionProps;
|
|
67
|
+
export declare const FollowAction: (props: FollowActionProps) => React.JSX.Element;
|
|
68
|
+
export type PreviewActionProps = BaseActionProps;
|
|
69
|
+
export declare const PreviewAction: (props: PreviewActionProps) => React.JSX.Element;
|
|
70
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "36.
|
|
3
|
+
"version": "36.8.1",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"@atlaskit/heading": "^5.2.0",
|
|
42
42
|
"@atlaskit/icon": "^25.6.0",
|
|
43
43
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
44
|
-
"@atlaskit/icon-lab": "^4.
|
|
45
|
-
"@atlaskit/icon-object": "^7.
|
|
44
|
+
"@atlaskit/icon-lab": "^4.9.0",
|
|
45
|
+
"@atlaskit/icon-object": "^7.1.0",
|
|
46
46
|
"@atlaskit/icon-priority": "^6.3.0",
|
|
47
47
|
"@atlaskit/image": "^3.0.0",
|
|
48
48
|
"@atlaskit/json-ld-types": "^1.1.0",
|
|
@@ -50,16 +50,16 @@
|
|
|
50
50
|
"@atlaskit/link": "^3.1.0",
|
|
51
51
|
"@atlaskit/link-analytics": "^9.1.0",
|
|
52
52
|
"@atlaskit/link-client-extension": "^4.0.0",
|
|
53
|
-
"@atlaskit/link-extractors": "^2.
|
|
53
|
+
"@atlaskit/link-extractors": "^2.2.0",
|
|
54
54
|
"@atlaskit/linking-common": "^8.0.0",
|
|
55
|
-
"@atlaskit/linking-types": "^9.
|
|
55
|
+
"@atlaskit/linking-types": "^9.9.0",
|
|
56
56
|
"@atlaskit/logo": "^16.0.0",
|
|
57
57
|
"@atlaskit/lozenge": "^12.2.0",
|
|
58
58
|
"@atlaskit/menu": "^3.2.0",
|
|
59
59
|
"@atlaskit/modal-dialog": "^14.1.0",
|
|
60
60
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
61
61
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
62
|
-
"@atlaskit/popup": "^4.
|
|
62
|
+
"@atlaskit/popup": "^4.1.0",
|
|
63
63
|
"@atlaskit/primitives": "^14.4.0",
|
|
64
64
|
"@atlaskit/section-message": "^8.2.0",
|
|
65
65
|
"@atlaskit/select": "^20.3.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@atlaskit/textarea": "^8.0.0",
|
|
68
68
|
"@atlaskit/textfield": "^8.0.0",
|
|
69
69
|
"@atlaskit/theme": "^18.0.0",
|
|
70
|
-
"@atlaskit/tokens": "^4.
|
|
70
|
+
"@atlaskit/tokens": "^4.8.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.0.0",
|
|
72
72
|
"@atlaskit/ufo": "^0.4.0",
|
|
73
73
|
"@babel/runtime": "^7.0.0",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"@atlaskit/css-reset": "^7.2.0",
|
|
98
98
|
"@atlaskit/link-test-helpers": "^8.0.0",
|
|
99
99
|
"@atlaskit/media-test-helpers": "^35.0.0",
|
|
100
|
-
"@atlaskit/react-ufo": "^3.
|
|
100
|
+
"@atlaskit/react-ufo": "^3.6.0",
|
|
101
101
|
"@atlaskit/ssr": "^0.4.0",
|
|
102
102
|
"@atlaskit/visual-regression": "^0.10.0",
|
|
103
103
|
"@atlassian/analytics-tooling": "^0.5.0",
|
|
@@ -223,6 +223,9 @@
|
|
|
223
223
|
},
|
|
224
224
|
"platform-linking-flexible-card-openness": {
|
|
225
225
|
"type": "boolean"
|
|
226
|
+
},
|
|
227
|
+
"smart_links_noun_support": {
|
|
228
|
+
"type": "boolean"
|
|
226
229
|
}
|
|
227
230
|
}
|
|
228
231
|
}
|