@atlaskit/smart-card 38.20.2 → 39.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/cjs/i18n/cs.js +2 -0
  3. package/dist/cjs/i18n/da.js +2 -0
  4. package/dist/cjs/i18n/de.js +2 -0
  5. package/dist/cjs/i18n/en.js +1 -0
  6. package/dist/cjs/i18n/en_GB.js +1 -0
  7. package/dist/cjs/i18n/en_ZZ.js +1 -0
  8. package/dist/cjs/i18n/es.js +2 -0
  9. package/dist/cjs/i18n/fi.js +2 -0
  10. package/dist/cjs/i18n/fr.js +2 -0
  11. package/dist/cjs/i18n/hr.js +2 -0
  12. package/dist/cjs/i18n/hu.js +2 -0
  13. package/dist/cjs/i18n/it.js +2 -0
  14. package/dist/cjs/i18n/ja.js +2 -0
  15. package/dist/cjs/i18n/ko.js +2 -0
  16. package/dist/cjs/i18n/nb.js +2 -0
  17. package/dist/cjs/i18n/nl.js +2 -0
  18. package/dist/cjs/i18n/pl.js +2 -0
  19. package/dist/cjs/i18n/pt_BR.js +2 -0
  20. package/dist/cjs/i18n/ru.js +2 -0
  21. package/dist/cjs/i18n/sl.js +2 -0
  22. package/dist/cjs/i18n/sr_RS.js +2 -0
  23. package/dist/cjs/i18n/sr_YR.js +2 -0
  24. package/dist/cjs/i18n/sv.js +2 -0
  25. package/dist/cjs/i18n/th.js +2 -0
  26. package/dist/cjs/i18n/tr.js +2 -0
  27. package/dist/cjs/i18n/uk.js +2 -0
  28. package/dist/cjs/i18n/vi.js +2 -0
  29. package/dist/cjs/i18n/zh.js +2 -0
  30. package/dist/cjs/i18n/zh_TW.js +2 -0
  31. package/dist/cjs/messages.js +5 -0
  32. package/dist/cjs/state/hooks/use-ai-summary/ai-summary-service/index.js +1 -1
  33. package/dist/cjs/utils/analytics/analytics.js +1 -1
  34. package/dist/cjs/view/FlexibleCard/components/elements/owned-by-element/index.js +5 -8
  35. package/dist/cjs/view/FlexibleCard/external.js +2 -1
  36. package/dist/cjs/view/LinkUrl/index.js +1 -1
  37. package/dist/es2019/extractors/flexible/extract-preview.js +1 -1
  38. package/dist/es2019/i18n/cs.js +2 -0
  39. package/dist/es2019/i18n/da.js +2 -0
  40. package/dist/es2019/i18n/de.js +2 -0
  41. package/dist/es2019/i18n/en.js +1 -0
  42. package/dist/es2019/i18n/en_GB.js +1 -0
  43. package/dist/es2019/i18n/en_ZZ.js +1 -0
  44. package/dist/es2019/i18n/es.js +2 -0
  45. package/dist/es2019/i18n/fi.js +2 -0
  46. package/dist/es2019/i18n/fr.js +2 -0
  47. package/dist/es2019/i18n/hr.js +2 -0
  48. package/dist/es2019/i18n/hu.js +2 -0
  49. package/dist/es2019/i18n/it.js +2 -0
  50. package/dist/es2019/i18n/ja.js +2 -0
  51. package/dist/es2019/i18n/ko.js +2 -0
  52. package/dist/es2019/i18n/nb.js +2 -0
  53. package/dist/es2019/i18n/nl.js +2 -0
  54. package/dist/es2019/i18n/pl.js +2 -0
  55. package/dist/es2019/i18n/pt_BR.js +2 -0
  56. package/dist/es2019/i18n/ru.js +2 -0
  57. package/dist/es2019/i18n/sl.js +2 -0
  58. package/dist/es2019/i18n/sr_RS.js +2 -0
  59. package/dist/es2019/i18n/sr_YR.js +2 -0
  60. package/dist/es2019/i18n/sv.js +2 -0
  61. package/dist/es2019/i18n/th.js +2 -0
  62. package/dist/es2019/i18n/tr.js +2 -0
  63. package/dist/es2019/i18n/uk.js +2 -0
  64. package/dist/es2019/i18n/vi.js +2 -0
  65. package/dist/es2019/i18n/zh.js +2 -0
  66. package/dist/es2019/i18n/zh_TW.js +2 -0
  67. package/dist/es2019/messages.js +5 -0
  68. package/dist/es2019/state/hooks/use-ai-summary/ai-summary-service/index.js +1 -1
  69. package/dist/es2019/utils/analytics/analytics.js +1 -1
  70. package/dist/es2019/view/FlexibleCard/components/elements/owned-by-element/index.js +3 -7
  71. package/dist/es2019/view/FlexibleCard/external.js +2 -1
  72. package/dist/es2019/view/LinkUrl/index.js +1 -1
  73. package/dist/esm/extractors/flexible/extract-preview.js +1 -1
  74. package/dist/esm/i18n/cs.js +2 -0
  75. package/dist/esm/i18n/da.js +2 -0
  76. package/dist/esm/i18n/de.js +2 -0
  77. package/dist/esm/i18n/en.js +1 -0
  78. package/dist/esm/i18n/en_GB.js +1 -0
  79. package/dist/esm/i18n/en_ZZ.js +1 -0
  80. package/dist/esm/i18n/es.js +2 -0
  81. package/dist/esm/i18n/fi.js +2 -0
  82. package/dist/esm/i18n/fr.js +2 -0
  83. package/dist/esm/i18n/hr.js +2 -0
  84. package/dist/esm/i18n/hu.js +2 -0
  85. package/dist/esm/i18n/it.js +2 -0
  86. package/dist/esm/i18n/ja.js +2 -0
  87. package/dist/esm/i18n/ko.js +2 -0
  88. package/dist/esm/i18n/nb.js +2 -0
  89. package/dist/esm/i18n/nl.js +2 -0
  90. package/dist/esm/i18n/pl.js +2 -0
  91. package/dist/esm/i18n/pt_BR.js +2 -0
  92. package/dist/esm/i18n/ru.js +2 -0
  93. package/dist/esm/i18n/sl.js +2 -0
  94. package/dist/esm/i18n/sr_RS.js +2 -0
  95. package/dist/esm/i18n/sr_YR.js +2 -0
  96. package/dist/esm/i18n/sv.js +2 -0
  97. package/dist/esm/i18n/th.js +2 -0
  98. package/dist/esm/i18n/tr.js +2 -0
  99. package/dist/esm/i18n/uk.js +2 -0
  100. package/dist/esm/i18n/vi.js +2 -0
  101. package/dist/esm/i18n/zh.js +2 -0
  102. package/dist/esm/i18n/zh_TW.js +2 -0
  103. package/dist/esm/messages.js +5 -0
  104. package/dist/esm/state/hooks/use-ai-summary/ai-summary-service/index.js +1 -1
  105. package/dist/esm/utils/analytics/analytics.js +1 -1
  106. package/dist/esm/view/FlexibleCard/components/elements/owned-by-element/index.js +5 -8
  107. package/dist/esm/view/FlexibleCard/external.js +2 -1
  108. package/dist/esm/view/LinkUrl/index.js +1 -1
  109. package/dist/types/i18n/cs.d.ts +2 -0
  110. package/dist/types/i18n/da.d.ts +2 -0
  111. package/dist/types/i18n/de.d.ts +2 -0
  112. package/dist/types/i18n/en.d.ts +1 -0
  113. package/dist/types/i18n/en_GB.d.ts +1 -0
  114. package/dist/types/i18n/en_ZZ.d.ts +1 -0
  115. package/dist/types/i18n/es.d.ts +2 -0
  116. package/dist/types/i18n/fi.d.ts +2 -0
  117. package/dist/types/i18n/fr.d.ts +2 -0
  118. package/dist/types/i18n/hr.d.ts +2 -0
  119. package/dist/types/i18n/hu.d.ts +2 -0
  120. package/dist/types/i18n/it.d.ts +2 -0
  121. package/dist/types/i18n/ja.d.ts +2 -0
  122. package/dist/types/i18n/ko.d.ts +2 -0
  123. package/dist/types/i18n/nb.d.ts +2 -0
  124. package/dist/types/i18n/nl.d.ts +2 -0
  125. package/dist/types/i18n/pl.d.ts +2 -0
  126. package/dist/types/i18n/pt_BR.d.ts +2 -0
  127. package/dist/types/i18n/ru.d.ts +2 -0
  128. package/dist/types/i18n/sl.d.ts +2 -0
  129. package/dist/types/i18n/sr_RS.d.ts +2 -0
  130. package/dist/types/i18n/sr_YR.d.ts +2 -0
  131. package/dist/types/i18n/sv.d.ts +2 -0
  132. package/dist/types/i18n/th.d.ts +2 -0
  133. package/dist/types/i18n/tr.d.ts +2 -0
  134. package/dist/types/i18n/uk.d.ts +2 -0
  135. package/dist/types/i18n/vi.d.ts +2 -0
  136. package/dist/types/i18n/zh.d.ts +2 -0
  137. package/dist/types/i18n/zh_TW.d.ts +2 -0
  138. package/dist/types/messages.d.ts +1 -1
  139. package/dist/types/state/hooks/use-ai-summary/ai-summary-service/types.d.ts +1 -0
  140. package/dist/types/view/FlexibleCard/components/blocks/types.d.ts +3 -0
  141. package/dist/types/view/FlexibleCard/components/elements/custom-by-access-type-element/index.d.ts +2 -2
  142. package/dist/types/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +2 -5
  143. package/dist/types/view/FlexibleCard/external.d.ts +2 -2
  144. package/dist/types-ts4.5/i18n/cs.d.ts +2 -0
  145. package/dist/types-ts4.5/i18n/da.d.ts +2 -0
  146. package/dist/types-ts4.5/i18n/de.d.ts +2 -0
  147. package/dist/types-ts4.5/i18n/en.d.ts +1 -0
  148. package/dist/types-ts4.5/i18n/en_GB.d.ts +1 -0
  149. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -0
  150. package/dist/types-ts4.5/i18n/es.d.ts +2 -0
  151. package/dist/types-ts4.5/i18n/fi.d.ts +2 -0
  152. package/dist/types-ts4.5/i18n/fr.d.ts +2 -0
  153. package/dist/types-ts4.5/i18n/hr.d.ts +2 -0
  154. package/dist/types-ts4.5/i18n/hu.d.ts +2 -0
  155. package/dist/types-ts4.5/i18n/it.d.ts +2 -0
  156. package/dist/types-ts4.5/i18n/ja.d.ts +2 -0
  157. package/dist/types-ts4.5/i18n/ko.d.ts +2 -0
  158. package/dist/types-ts4.5/i18n/nb.d.ts +2 -0
  159. package/dist/types-ts4.5/i18n/nl.d.ts +2 -0
  160. package/dist/types-ts4.5/i18n/pl.d.ts +2 -0
  161. package/dist/types-ts4.5/i18n/pt_BR.d.ts +2 -0
  162. package/dist/types-ts4.5/i18n/ru.d.ts +2 -0
  163. package/dist/types-ts4.5/i18n/sl.d.ts +2 -0
  164. package/dist/types-ts4.5/i18n/sr_RS.d.ts +2 -0
  165. package/dist/types-ts4.5/i18n/sr_YR.d.ts +2 -0
  166. package/dist/types-ts4.5/i18n/sv.d.ts +2 -0
  167. package/dist/types-ts4.5/i18n/th.d.ts +2 -0
  168. package/dist/types-ts4.5/i18n/tr.d.ts +2 -0
  169. package/dist/types-ts4.5/i18n/uk.d.ts +2 -0
  170. package/dist/types-ts4.5/i18n/vi.d.ts +2 -0
  171. package/dist/types-ts4.5/i18n/zh.d.ts +2 -0
  172. package/dist/types-ts4.5/i18n/zh_TW.d.ts +2 -0
  173. package/dist/types-ts4.5/messages.d.ts +1 -1
  174. package/dist/types-ts4.5/state/hooks/use-ai-summary/ai-summary-service/types.d.ts +1 -0
  175. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/types.d.ts +3 -0
  176. package/dist/types-ts4.5/view/FlexibleCard/components/elements/custom-by-access-type-element/index.d.ts +2 -2
  177. package/dist/types-ts4.5/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +2 -5
  178. package/dist/types-ts4.5/view/FlexibleCard/external.d.ts +2 -2
  179. package/package.json +3 -3
@@ -159,6 +159,7 @@ declare const _default: {
159
159
  'fabric.linking.status_change_permission_error': string;
160
160
  'fabric.linking.status_change_permission_error-issue-term-refresh': string;
161
161
  'fabric.linking.status_change_update_error': string;
162
+ 'fabric.linking.team_members_count': string;
162
163
  'fabric.linking.try_again': string;
163
164
  'fabric.linking.try_another_account': string;
164
165
  'fabric.linking.unassigned': string;
@@ -175,6 +176,7 @@ declare const _default: {
175
176
  'fabric.linking.unfollow_project_error': string;
176
177
  'fabric.linking.unlink_account': string;
177
178
  'fabric.linking.updated_by': string;
179
+ 'fabric.linking.user_attributes': string;
178
180
  'fabric.linking.view': string;
179
181
  };
180
182
  export default _default;
@@ -159,6 +159,7 @@ declare const _default: {
159
159
  'fabric.linking.status_change_permission_error': string;
160
160
  'fabric.linking.status_change_permission_error-issue-term-refresh': string;
161
161
  'fabric.linking.status_change_update_error': string;
162
+ 'fabric.linking.team_members_count': string;
162
163
  'fabric.linking.try_again': string;
163
164
  'fabric.linking.try_another_account': string;
164
165
  'fabric.linking.unassigned': string;
@@ -175,6 +176,7 @@ declare const _default: {
175
176
  'fabric.linking.unfollow_project_error': string;
176
177
  'fabric.linking.unlink_account': string;
177
178
  'fabric.linking.updated_by': string;
179
+ 'fabric.linking.user_attributes': string;
178
180
  'fabric.linking.view': string;
179
181
  };
180
182
  export default _default;
@@ -159,6 +159,7 @@ declare const _default: {
159
159
  'fabric.linking.status_change_permission_error': string;
160
160
  'fabric.linking.status_change_permission_error-issue-term-refresh': string;
161
161
  'fabric.linking.status_change_update_error': string;
162
+ 'fabric.linking.team_members_count': string;
162
163
  'fabric.linking.try_again': string;
163
164
  'fabric.linking.try_another_account': string;
164
165
  'fabric.linking.unassigned': string;
@@ -175,6 +176,7 @@ declare const _default: {
175
176
  'fabric.linking.unfollow_project_error': string;
176
177
  'fabric.linking.unlink_account': string;
177
178
  'fabric.linking.updated_by': string;
179
+ 'fabric.linking.user_attributes': string;
178
180
  'fabric.linking.view': string;
179
181
  };
180
182
  export default _default;
@@ -151,6 +151,7 @@ declare const _default: {
151
151
  'fabric.linking.status_change_permission_error': string;
152
152
  'fabric.linking.status_change_permission_error-issue-term-refresh': string;
153
153
  'fabric.linking.status_change_update_error': string;
154
+ 'fabric.linking.team_members_count': string;
154
155
  'fabric.linking.try_again': string;
155
156
  'fabric.linking.try_another_account': string;
156
157
  'fabric.linking.unassigned': string;
@@ -167,6 +168,7 @@ declare const _default: {
167
168
  'fabric.linking.unfollow_project_error': string;
168
169
  'fabric.linking.unlink_account': string;
169
170
  'fabric.linking.updated_by': string;
171
+ 'fabric.linking.user_attributes': string;
170
172
  'fabric.linking.view': string;
171
173
  };
172
174
  export default _default;
@@ -151,6 +151,7 @@ declare const _default: {
151
151
  'fabric.linking.status_change_permission_error': string;
152
152
  'fabric.linking.status_change_permission_error-issue-term-refresh': string;
153
153
  'fabric.linking.status_change_update_error': string;
154
+ 'fabric.linking.team_members_count': string;
154
155
  'fabric.linking.try_again': string;
155
156
  'fabric.linking.try_another_account': string;
156
157
  'fabric.linking.unassigned': string;
@@ -167,6 +168,7 @@ declare const _default: {
167
168
  'fabric.linking.unfollow_project_error': string;
168
169
  'fabric.linking.unlink_account': string;
169
170
  'fabric.linking.updated_by': string;
171
+ 'fabric.linking.user_attributes': string;
170
172
  'fabric.linking.view': string;
171
173
  };
172
174
  export default _default;
@@ -151,6 +151,7 @@ declare const _default: {
151
151
  'fabric.linking.status_change_permission_error': string;
152
152
  'fabric.linking.status_change_permission_error-issue-term-refresh': string;
153
153
  'fabric.linking.status_change_update_error': string;
154
+ 'fabric.linking.team_members_count': string;
154
155
  'fabric.linking.try_again': string;
155
156
  'fabric.linking.try_another_account': string;
156
157
  'fabric.linking.unassigned': string;
@@ -167,6 +168,7 @@ declare const _default: {
167
168
  'fabric.linking.unfollow_project_error': string;
168
169
  'fabric.linking.unlink_account': string;
169
170
  'fabric.linking.updated_by': string;
171
+ 'fabric.linking.user_attributes': string;
170
172
  'fabric.linking.view': string;
171
173
  };
172
174
  export default _default;
@@ -159,6 +159,7 @@ declare const _default: {
159
159
  'fabric.linking.status_change_permission_error': string;
160
160
  'fabric.linking.status_change_permission_error-issue-term-refresh': string;
161
161
  'fabric.linking.status_change_update_error': string;
162
+ 'fabric.linking.team_members_count': string;
162
163
  'fabric.linking.try_again': string;
163
164
  'fabric.linking.try_another_account': string;
164
165
  'fabric.linking.unassigned': string;
@@ -175,6 +176,7 @@ declare const _default: {
175
176
  'fabric.linking.unfollow_project_error': string;
176
177
  'fabric.linking.unlink_account': string;
177
178
  'fabric.linking.updated_by': string;
179
+ 'fabric.linking.user_attributes': string;
178
180
  'fabric.linking.view': string;
179
181
  };
180
182
  export default _default;
@@ -159,6 +159,7 @@ declare const _default: {
159
159
  'fabric.linking.status_change_permission_error': string;
160
160
  'fabric.linking.status_change_permission_error-issue-term-refresh': string;
161
161
  'fabric.linking.status_change_update_error': string;
162
+ 'fabric.linking.team_members_count': string;
162
163
  'fabric.linking.try_again': string;
163
164
  'fabric.linking.try_another_account': string;
164
165
  'fabric.linking.unassigned': string;
@@ -175,6 +176,7 @@ declare const _default: {
175
176
  'fabric.linking.unfollow_project_error': string;
176
177
  'fabric.linking.unlink_account': string;
177
178
  'fabric.linking.updated_by': string;
179
+ 'fabric.linking.user_attributes': string;
178
180
  'fabric.linking.view': string;
179
181
  };
180
182
  export default _default;
@@ -159,6 +159,7 @@ declare const _default: {
159
159
  'fabric.linking.status_change_permission_error': string;
160
160
  'fabric.linking.status_change_permission_error-issue-term-refresh': string;
161
161
  'fabric.linking.status_change_update_error': string;
162
+ 'fabric.linking.team_members_count': string;
162
163
  'fabric.linking.try_again': string;
163
164
  'fabric.linking.try_another_account': string;
164
165
  'fabric.linking.unassigned': string;
@@ -175,6 +176,7 @@ declare const _default: {
175
176
  'fabric.linking.unfollow_project_error': string;
176
177
  'fabric.linking.unlink_account': string;
177
178
  'fabric.linking.updated_by': string;
179
+ 'fabric.linking.user_attributes': string;
178
180
  'fabric.linking.view': string;
179
181
  };
180
182
  export default _default;
@@ -159,6 +159,7 @@ declare const _default: {
159
159
  'fabric.linking.status_change_permission_error': string;
160
160
  'fabric.linking.status_change_permission_error-issue-term-refresh': string;
161
161
  'fabric.linking.status_change_update_error': string;
162
+ 'fabric.linking.team_members_count': string;
162
163
  'fabric.linking.try_again': string;
163
164
  'fabric.linking.try_another_account': string;
164
165
  'fabric.linking.unassigned': string;
@@ -175,6 +176,7 @@ declare const _default: {
175
176
  'fabric.linking.unfollow_project_error': string;
176
177
  'fabric.linking.unlink_account': string;
177
178
  'fabric.linking.updated_by': string;
179
+ 'fabric.linking.user_attributes': string;
178
180
  'fabric.linking.view': string;
179
181
  };
180
182
  export default _default;
@@ -159,6 +159,7 @@ declare const _default: {
159
159
  'fabric.linking.status_change_permission_error': string;
160
160
  'fabric.linking.status_change_permission_error-issue-term-refresh': string;
161
161
  'fabric.linking.status_change_update_error': string;
162
+ 'fabric.linking.team_members_count': string;
162
163
  'fabric.linking.try_again': string;
163
164
  'fabric.linking.try_another_account': string;
164
165
  'fabric.linking.unassigned': string;
@@ -175,6 +176,7 @@ declare const _default: {
175
176
  'fabric.linking.unfollow_project_error': string;
176
177
  'fabric.linking.unlink_account': string;
177
178
  'fabric.linking.updated_by': string;
179
+ 'fabric.linking.user_attributes': string;
178
180
  'fabric.linking.view': string;
179
181
  };
180
182
  export default _default;
@@ -159,6 +159,7 @@ declare const _default: {
159
159
  'fabric.linking.status_change_permission_error': string;
160
160
  'fabric.linking.status_change_permission_error-issue-term-refresh': string;
161
161
  'fabric.linking.status_change_update_error': string;
162
+ 'fabric.linking.team_members_count': string;
162
163
  'fabric.linking.try_again': string;
163
164
  'fabric.linking.try_another_account': string;
164
165
  'fabric.linking.unassigned': string;
@@ -175,6 +176,7 @@ declare const _default: {
175
176
  'fabric.linking.unfollow_project_error': string;
176
177
  'fabric.linking.unlink_account': string;
177
178
  'fabric.linking.updated_by': string;
179
+ 'fabric.linking.user_attributes': string;
178
180
  'fabric.linking.view': string;
179
181
  };
180
182
  export default _default;
@@ -159,6 +159,7 @@ declare const _default: {
159
159
  'fabric.linking.status_change_permission_error': string;
160
160
  'fabric.linking.status_change_permission_error-issue-term-refresh': string;
161
161
  'fabric.linking.status_change_update_error': string;
162
+ 'fabric.linking.team_members_count': string;
162
163
  'fabric.linking.try_again': string;
163
164
  'fabric.linking.try_another_account': string;
164
165
  'fabric.linking.unassigned': string;
@@ -175,6 +176,7 @@ declare const _default: {
175
176
  'fabric.linking.unfollow_project_error': string;
176
177
  'fabric.linking.unlink_account': string;
177
178
  'fabric.linking.updated_by': string;
179
+ 'fabric.linking.user_attributes': string;
178
180
  'fabric.linking.view': string;
179
181
  };
180
182
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { type MessageDescriptor } from 'react-intl-next';
2
2
  export type RequestAccessMessageKey = 'click_to_join' | 'click_to_join_description' | 'forbidden_description' | 'request_access' | 'request_access_description' | 'request_access_pending' | 'request_access_pending_title' | 'request_access_pending_description' | 'request_denied_description' | 'default_no_access_title' | 'direct_access_title' | 'direct_access_description' | 'direct_access' | 'access_exists_description' | 'not_found_description' | 'not_found_title';
3
- export type MessageKey = 'assigned_to' | 'ai_summarize' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action' | 'ai_summary_action_description' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'preview_description' | 'preview_improved' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_header' | 'related_links_modal_error_title' | 'related_links_modal_error_message' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_header' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_message' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_modal_title_v2' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_found_in_v2' | 'related_links_includes_links_to' | 'related_links_includes_links_to_v2' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh';
3
+ export type MessageKey = 'assigned_to' | 'ai_summarize' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action' | 'ai_summary_action_description' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_header' | 'related_links_modal_error_title' | 'related_links_modal_error_message' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_header' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_message' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_modal_title_v2' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_found_in_v2' | 'related_links_includes_links_to' | 'related_links_includes_links_to_v2' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh';
4
4
  type Messages = {
5
5
  [K in MessageKey]: MessageDescriptor;
6
6
  };
@@ -74,6 +74,7 @@ export type StreamResponse = {
74
74
  type: 'FINAL_RESPONSE';
75
75
  message: {
76
76
  message: Message;
77
+ content: string;
77
78
  };
78
79
  millisOffset?: number;
79
80
  metadata?: {
@@ -1,5 +1,6 @@
1
1
  import { type ReactNode, type Ref } from 'react';
2
2
  import { type ActionName, type ElementName, type SmartLinkDirection, type SmartLinkSize, type SmartLinkStatus } from '../../../../constants';
3
+ import { type OwnedByElementProps } from '../../external';
3
4
  import { type ActionProps } from '../actions/action/types';
4
5
  export type BlockProps = {
5
6
  /**
@@ -287,6 +288,8 @@ export type CreatedBy = {
287
288
  */
288
289
  export type OwnedBy = {
289
290
  name: ElementName.OwnedBy;
291
+ textPrefix?: OwnedByElementProps['textPrefix'];
292
+ hideFormat?: OwnedByElementProps['hideFormat'];
290
293
  };
291
294
  /**
292
295
  * Represents the props available for an CreatedOn element.
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Prettify } from '@atlaskit/linking-common';
3
- import type { ElementProps } from '../index';
3
+ import { type BaseTextElementProps } from '../common';
4
4
  type AccessType = 'DIRECT_ACCESS' | 'REQUEST_ACCESS' | 'PENDING_REQUEST_EXISTS' | 'FORBIDDEN' | 'DENIED_REQUEST_EXISTS';
5
- export type CustomElementByAccessTypeProps = Prettify<Pick<ElementProps, 'className' | 'testId'> & Partial<Record<AccessType | 'fallback', string>>>;
5
+ export type CustomElementByAccessTypeProps = Prettify<Pick<BaseTextElementProps, 'className' | 'testId' | 'color'> & Partial<Record<AccessType | 'fallback', string>>>;
6
6
  declare const CustomElementByAccessType: ({ className, testId, ...props }: CustomElementByAccessTypeProps) => JSX.Element | null;
7
7
  export default CustomElementByAccessType;
@@ -1,11 +1,8 @@
1
1
  /// <reference types="react" />
2
+ import { messages } from '../../../../../messages';
2
3
  import { type BaseTextElementProps } from '../common';
3
4
  export type OwnedByElementProps = BaseTextElementProps & {
4
- /**
5
- * The text prefix to display before the owned by text.
6
- * Best used when hideFormat is enabled
7
- */
8
- textPrefix?: string;
5
+ textPrefix?: keyof Pick<typeof messages, 'owned_by' | 'owned_by_override'>;
9
6
  onRender?: (hasData: boolean) => void;
10
7
  };
11
8
  declare const OwnedByElement: (props: OwnedByElementProps) => JSX.Element | null;
@@ -29,7 +29,7 @@ export declare const LocationElement: () => React.JSX.Element;
29
29
  export declare const ModifiedByElement: () => React.JSX.Element;
30
30
  type ModifiedOnElementProps = Pick<React.ComponentProps<typeof ModifiedOn>, 'hideDatePrefix' | 'color' | 'onRender' | 'fontSize'>;
31
31
  export declare const ModifiedOnElement: (props?: ModifiedOnElementProps) => React.JSX.Element;
32
- type OwnedByElementProps = Pick<React.ComponentProps<typeof OwnedBy>, 'hideFormat' | 'color' | 'onRender' | 'textPrefix' | 'fontSize'>;
32
+ export type OwnedByElementProps = Pick<React.ComponentProps<typeof OwnedBy>, 'hideFormat' | 'color' | 'onRender' | 'textPrefix' | 'fontSize'>;
33
33
  export declare const OwnedByElement: (props?: OwnedByElementProps) => React.JSX.Element;
34
34
  type OwnedByGroupElementProps = Pick<React.ComponentProps<typeof OwnedByGroup>, 'onRender'>;
35
35
  export declare const OwnedByGroupElement: (props?: OwnedByGroupElementProps) => React.JSX.Element;
@@ -54,7 +54,7 @@ export declare const StoryPointsElement: () => React.JSX.Element;
54
54
  export declare const SubscriberCountElement: () => React.JSX.Element;
55
55
  export declare const SubTasksProgressElement: () => React.JSX.Element;
56
56
  export declare const TargetBranchElement: () => React.JSX.Element;
57
- export type TitleElementProps = Pick<React.ComponentProps<typeof Title>, 'hideTooltip' | 'maxLines' | 'target' | 'text' | 'theme' | 'size'>;
57
+ export type TitleElementProps = Pick<React.ComponentProps<typeof Title>, 'hideTooltip' | 'maxLines' | 'target' | 'text' | 'theme' | 'size' | 'testId'>;
58
58
  export declare const TitleElement: (props?: TitleElementProps) => React.JSX.Element;
59
59
  export declare const ViewCountElement: () => React.JSX.Element;
60
60
  export declare const VoteCountElement: () => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "38.20.2",
3
+ "version": "39.0.0",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,7 +29,7 @@
29
29
  "@atlaskit/analytics-gas-types": "^5.1.0",
30
30
  "@atlaskit/analytics-next": "^11.1.0",
31
31
  "@atlaskit/avatar": "^25.1.0",
32
- "@atlaskit/avatar-group": "^12.0.0",
32
+ "@atlaskit/avatar-group": "^12.1.0",
33
33
  "@atlaskit/badge": "^18.1.0",
34
34
  "@atlaskit/button": "^23.2.0",
35
35
  "@atlaskit/checkbox": "^17.1.0",
@@ -50,7 +50,7 @@
50
50
  "@atlaskit/link-analytics": "^10.0.0",
51
51
  "@atlaskit/link-client-extension": "^5.0.0",
52
52
  "@atlaskit/link-extractors": "^2.4.0",
53
- "@atlaskit/link-test-helpers": "^8.1.0",
53
+ "@atlaskit/link-test-helpers": "^8.2.0",
54
54
  "@atlaskit/linking-common": "^9.1.0",
55
55
  "@atlaskit/linking-types": "^13.0.0",
56
56
  "@atlaskit/logo": "^19.5.0",