@atlaskit/smart-card 43.26.3 → 43.26.4

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 (30) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/messages.js +15 -10
  3. package/dist/cjs/utils/analytics/analytics.js +1 -1
  4. package/dist/cjs/view/FlexibleCard/components/actions/copy-link-action/index.js +2 -1
  5. package/dist/cjs/view/FlexibleCard/components/actions/preview-action/index.js +3 -2
  6. package/dist/cjs/view/FlexibleCard/components/actions/rovo-chat-action/html-to-adf.js +180 -0
  7. package/dist/cjs/view/FlexibleCard/components/actions/rovo-chat-action/index.js +25 -11
  8. package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +2 -1
  9. package/dist/cjs/view/LinkUrl/index.js +1 -1
  10. package/dist/es2019/messages.js +15 -10
  11. package/dist/es2019/utils/analytics/analytics.js +1 -1
  12. package/dist/es2019/view/FlexibleCard/components/actions/copy-link-action/index.js +2 -1
  13. package/dist/es2019/view/FlexibleCard/components/actions/preview-action/index.js +3 -2
  14. package/dist/es2019/view/FlexibleCard/components/actions/rovo-chat-action/html-to-adf.js +161 -0
  15. package/dist/es2019/view/FlexibleCard/components/actions/rovo-chat-action/index.js +23 -29
  16. package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +2 -1
  17. package/dist/es2019/view/LinkUrl/index.js +1 -1
  18. package/dist/esm/messages.js +15 -10
  19. package/dist/esm/utils/analytics/analytics.js +1 -1
  20. package/dist/esm/view/FlexibleCard/components/actions/copy-link-action/index.js +2 -1
  21. package/dist/esm/view/FlexibleCard/components/actions/preview-action/index.js +3 -2
  22. package/dist/esm/view/FlexibleCard/components/actions/rovo-chat-action/html-to-adf.js +172 -0
  23. package/dist/esm/view/FlexibleCard/components/actions/rovo-chat-action/index.js +25 -11
  24. package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +2 -1
  25. package/dist/esm/view/LinkUrl/index.js +1 -1
  26. package/dist/types/messages.d.ts +1 -1
  27. package/dist/types/view/FlexibleCard/components/actions/rovo-chat-action/html-to-adf.d.ts +8 -0
  28. package/dist/types-ts4.5/messages.d.ts +1 -1
  29. package/dist/types-ts4.5/view/FlexibleCard/components/actions/rovo-chat-action/html-to-adf.d.ts +8 -0
  30. package/package.json +6 -2
@@ -11,6 +11,7 @@ import AiChapterIcon from '../../../assets/ai-chapter-icon';
11
11
  import AIEditIcon from '../../../assets/ai-edit-icon';
12
12
  import AISearchIcon from '../../../assets/ai-search-icon';
13
13
  import Action from '../action';
14
+ import htmlToAdf from './html-to-adf';
14
15
  export var RovoChatPromptKey = /*#__PURE__*/function (RovoChatPromptKey) {
15
16
  RovoChatPromptKey["RECOMMEND_OTHER_SOURCES"] = "recommend-other-sources";
16
17
  RovoChatPromptKey["SHOW_OTHER_MENTIONS"] = "show-other-mentions";
@@ -23,7 +24,6 @@ var getContext = function getContext(intl, product) {
23
24
  case 'CONFLUENCE':
24
25
  return {
25
26
  contextLong: intl.formatMessage(messages.rovo_prompt_context_confluence_page),
26
- contextLongPlural: intl.formatMessage(messages.rovo_prompt_context_confluence_page_plural),
27
27
  contextShort: intl.formatMessage(messages.rovo_prompt_context_confluence_page_short)
28
28
  };
29
29
  case 'JSW':
@@ -32,24 +32,29 @@ var getContext = function getContext(intl, product) {
32
32
  case 'JPD':
33
33
  return {
34
34
  contextLong: intl.formatMessage(messages.rovo_prompt_context_jira_work_item),
35
- contextLongPlural: intl.formatMessage(messages.rovo_prompt_context_jira_work_item_plural),
36
35
  contextShort: intl.formatMessage(messages.rovo_prompt_context_jira_work_item_short)
37
36
  };
38
37
  }
39
38
  };
40
- var getPromptAction = function getPromptAction(promptKey, intl, url, product) {
39
+ var getPromptAction = function getPromptAction(promptKey, intl) {
41
40
  var _getContext;
41
+ var url = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
42
+ var product = arguments.length > 3 ? arguments[3] : undefined;
42
43
  var _ref = (_getContext = getContext(intl, product)) !== null && _getContext !== void 0 ? _getContext : {
43
44
  contextLong: intl.formatMessage(messages.rovo_prompt_context_generic),
44
- contextLongPlural: intl.formatMessage(messages.rovo_prompt_context_generic_plural),
45
45
  contextShort: intl.formatMessage(messages.rovo_prompt_context_generic)
46
46
  },
47
47
  contextLong = _ref.contextLong,
48
- contextLongPlural = _ref.contextLongPlural,
49
48
  contextShort = _ref.contextShort;
50
49
  switch (promptKey) {
51
50
  case RovoChatPromptKey.RECOMMEND_OTHER_SOURCES:
52
51
  var label_recommend = intl.formatMessage(messages.rovo_prompt_button_recommend_other_sources);
52
+ var html_recommend = intl.formatMessage(messages.rovo_prompt_message_recommend_other_sources, {
53
+ context: contextLong,
54
+ url: url
55
+ }, {
56
+ ignoreTag: true
57
+ });
53
58
  return {
54
59
  icon: /*#__PURE__*/React.createElement(AIEditIcon, null),
55
60
  content: label_recommend,
@@ -57,12 +62,17 @@ var getPromptAction = function getPromptAction(promptKey, intl, url, product) {
57
62
  data: {
58
63
  name: label_recommend,
59
64
  dialogues: [],
60
- // NAVX-3581: To be translated and converted to ADF
61
- prompt: "From this ".concat(url, " and the ").concat(contextLong, " I\u2019m viewing now as context:\n- Search across all sources I can access for items that discuss similar concepts, themes, or problems, or that reference similar or closely related sources (including links to the same or related pages, issues, or docs).\n- Return the results as a list or table with columns: Item, Type, Short summary, and Why it\u2019s similar.\n- For each result, give a one\u2011sentence Short summary of what the item is about.\n- In Why it\u2019s similar, briefly explain (in a phrase or short sentence) what makes it related to this Smart Link and/or the item I\u2019m viewing (for example: same project, similar decision, shared requirements, overlapping stakeholders, similar metrics, or referencing related docs).\n- Order the list from most to least relevant based on Rovo\u2019s assessment of semantic similarity to both the Smart Link target and the current item. Prioritize items that I do not own or have not contributed to.\n- If there are more than 5 results, show the 5 most relevant and state how many additional items you found.")
65
+ prompt: htmlToAdf(html_recommend)
62
66
  }
63
67
  };
64
68
  case RovoChatPromptKey.SHOW_OTHER_MENTIONS:
65
69
  var label_other_mentions = intl.formatMessage(messages.rovo_prompt_button_show_other_mentions);
70
+ var html_other_mentions = intl.formatMessage(messages.rovo_prompt_message_show_other_mentions, {
71
+ context: contextLong,
72
+ url: url
73
+ }, {
74
+ ignoreTag: true
75
+ });
66
76
  return {
67
77
  icon: /*#__PURE__*/React.createElement(AiChapterIcon, null),
68
78
  content: label_other_mentions,
@@ -70,14 +80,19 @@ var getPromptAction = function getPromptAction(promptKey, intl, url, product) {
70
80
  data: {
71
81
  name: label_other_mentions,
72
82
  dialogues: [],
73
- // NAVX-3581: To be translated and converted to ADF
74
- prompt: "From this ".concat(url, " and the ").concat(contextLong, " I\u2019m viewing now:\n- Search across all ").concat(contextLongPlural, " I can access for other items that contain this exact Smart Link (same underlying URL/resource).\n- List all matching items in a table with columns: Item, Type, Short summary, How this item uses the link, and Relevance to current item.\n- For Short summary, give a one\u2011sentence description of what the page/issue is about.\n- For How this item uses the link, briefly explain the role this link plays there (e.g., decision doc, background context, implementation details, status update).\n- For Relevance to current item, compare each item to the page/issue I\u2019m viewing now and label it High, Medium, or Low relevance, with a short reason (a phrase or single clause).\n- If there are more than 15 matches, show the 15 most relevant and tell me how many additional matches exist.")
83
+ prompt: htmlToAdf(html_other_mentions)
75
84
  }
76
85
  };
77
86
  case RovoChatPromptKey.SUGGEST_IMPROVEMENT:
78
87
  var label_improvement = intl.formatMessage(messages.rovo_prompt_button_suggest_improvement, {
79
88
  context: contextShort
80
89
  });
90
+ var html_improvement = intl.formatMessage(messages.rovo_prompt_message_suggest_improvement, {
91
+ context: contextLong,
92
+ url: url
93
+ }, {
94
+ ignoreTag: true
95
+ });
81
96
  return {
82
97
  icon: /*#__PURE__*/React.createElement(AISearchIcon, null),
83
98
  content: label_improvement,
@@ -85,8 +100,7 @@ var getPromptAction = function getPromptAction(promptKey, intl, url, product) {
85
100
  data: {
86
101
  name: label_improvement,
87
102
  dialogues: [],
88
- // NAVX-3581: To be translated and converted to ADF
89
- prompt: "Using the ".concat(contextLong, " I\u2019m viewing now, plus all files and links referenced in it (including this ").concat(url, "):\n- Identify unclear reasoning, missing context, or contradictions between the item and its linked files.\n- Call out any places where assumptions are not backed up by data or prior docs.\n- Stay concise: summarize your findings in no more than three short paragraphs of content listed as bullets of no more than a couple of sentences long focused only on the two points above.\n- After presenting that summary, ask me explicitly if I want you to go deeper. Only if I say yes, then:\n- Suggest concrete rewrites (bullets or short paragraphs) to make the argument clearer, more concise, and better aligned with the supporting files.\n- Propose 3\u20135 follow\u2011up edits or additions that would make this item and its linked docs \u201Cshare\u2011ready\u201D for stakeholders.")
103
+ prompt: htmlToAdf(html_improvement)
90
104
  }
91
105
  };
92
106
  }
@@ -1,10 +1,11 @@
1
1
  import React from 'react';
2
2
  import ClockIcon from '@atlaskit/icon/core/clock';
3
+ import { fg } from '@atlaskit/platform-feature-flags';
3
4
  var RelatedLinksActionIcon = function RelatedLinksActionIcon() {
4
5
  return /*#__PURE__*/React.createElement(ClockIcon, {
5
6
  color: "currentColor",
6
7
  spacing: "spacious",
7
- label: "View related links..."
8
+ label: fg('navx-3698-flexible-card-a11y-fix') ? '' : 'View related links...'
8
9
  });
9
10
  };
10
11
  export default RelatedLinksActionIcon;
@@ -15,7 +15,7 @@ import LinkWarningModal from './LinkWarningModal';
15
15
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
16
16
  var PACKAGE_DATA = {
17
17
  packageName: "@atlaskit/smart-card",
18
- packageVersion: "43.26.2",
18
+ packageVersion: "43.26.3",
19
19
  componentName: 'linkUrl'
20
20
  };
21
21
  var Anchor = withLinkClickedEvent('a');
@@ -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 RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_confluence_page_plural' | 'rovo_prompt_context_confluence_page_short' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_context_jira_work_item_plural' | 'rovo_prompt_context_jira_work_item_short' | 'rovo_prompt_button_recommend_other_sources' | 'rovo_prompt_button_show_other_mentions' | 'rovo_prompt_button_suggest_improvement';
3
+ export type RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_confluence_page_short' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_context_jira_work_item_short' | 'rovo_prompt_button_recommend_other_sources' | 'rovo_prompt_message_recommend_other_sources' | 'rovo_prompt_button_show_other_mentions' | 'rovo_prompt_message_show_other_mentions' | 'rovo_prompt_button_suggest_improvement' | 'rovo_prompt_message_suggest_improvement';
4
4
  export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | '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_descriptionGalaxia' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | '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_modal' | 'preview_panel' | '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_descriptionGalaxia' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | '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_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_experiment_shorter' | 'learn_more_about_connecting_account_appify' | 'rovo_summary_loading' | 'ai_disclaimer' | RovoChatActionMessageKey;
5
5
  type Messages = {
6
6
  [K in MessageKey]: MessageDescriptor;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Convert HTML string to ADF format
3
+ *
4
+ * This is a simplified version specific for RovoChatAction prompt message
5
+ * and does not support all ADF offered via @atlaskit/adf-utils
6
+ */
7
+ declare const htmlToAdf: (html: string) => string | import("packages/editor/adf-schema/dist/types").DocNode;
8
+ export default htmlToAdf;
@@ -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 RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_confluence_page_plural' | 'rovo_prompt_context_confluence_page_short' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_context_jira_work_item_plural' | 'rovo_prompt_context_jira_work_item_short' | 'rovo_prompt_button_recommend_other_sources' | 'rovo_prompt_button_show_other_mentions' | 'rovo_prompt_button_suggest_improvement';
3
+ export type RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_confluence_page_short' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_context_jira_work_item_short' | 'rovo_prompt_button_recommend_other_sources' | 'rovo_prompt_message_recommend_other_sources' | 'rovo_prompt_button_show_other_mentions' | 'rovo_prompt_message_show_other_mentions' | 'rovo_prompt_button_suggest_improvement' | 'rovo_prompt_message_suggest_improvement';
4
4
  export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | '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_descriptionGalaxia' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | '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_modal' | 'preview_panel' | '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_descriptionGalaxia' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | '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_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_experiment_shorter' | 'learn_more_about_connecting_account_appify' | 'rovo_summary_loading' | 'ai_disclaimer' | RovoChatActionMessageKey;
5
5
  type Messages = {
6
6
  [K in MessageKey]: MessageDescriptor;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Convert HTML string to ADF format
3
+ *
4
+ * This is a simplified version specific for RovoChatAction prompt message
5
+ * and does not support all ADF offered via @atlaskit/adf-utils
6
+ */
7
+ declare const htmlToAdf: (html: string) => string | import("packages/editor/adf-schema/dist/types").DocNode;
8
+ export default htmlToAdf;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "43.26.3",
3
+ "version": "43.26.4",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,6 +27,7 @@
27
27
  "ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.{svg,png}"
28
28
  },
29
29
  "dependencies": {
30
+ "@atlaskit/adf-utils": "^19.27.0",
30
31
  "@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.6.0",
31
32
  "@atlaskit/analytics-gas-types": "^5.1.0",
32
33
  "@atlaskit/analytics-next": "^11.1.0",
@@ -73,7 +74,7 @@
73
74
  "@atlaskit/textfield": "^8.2.0",
74
75
  "@atlaskit/theme": "^22.0.0",
75
76
  "@atlaskit/tile": "^1.0.0",
76
- "@atlaskit/tmp-editor-statsig": "^37.0.0",
77
+ "@atlaskit/tmp-editor-statsig": "^38.0.0",
77
78
  "@atlaskit/tokens": "^11.1.0",
78
79
  "@atlaskit/tooltip": "^20.14.0",
79
80
  "@atlaskit/ufo": "^0.4.0",
@@ -193,6 +194,9 @@
193
194
  "navx-1895-new-logo-design": {
194
195
  "type": "boolean"
195
196
  },
197
+ "navx-3698-flexible-card-a11y-fix": {
198
+ "type": "boolean"
199
+ },
196
200
  "jfp-magma-platform-lozenge-jump-fix": {
197
201
  "type": "boolean"
198
202
  },